diff --git a/readme.html b/readme.html index 7d27aa7..a989857 100644 --- a/readme.html +++ b/readme.html @@ -9,15 +9,15 @@

WordPress -
Version 4.3.1 +
Version 4.4

Semantic Personal Publishing Platform

-

First Things First

+

First Things First

Welcome. WordPress is a very special project to me. Every developer and contributor adds something unique to the mix, and together we create something beautiful that I’m proud to be a part of. Thousands of hours have gone into WordPress, and we’re dedicated to making it better every day. Thank you for making it part of your world.

— Matt Mullenweg

-

Installation: Famous 5-minute install

+

Installation: Famous 5-minute install

  1. Unzip the package in an empty directory and upload everything.
  2. Open wp-admin/install.php in your browser. It will take you through the process to set up a wp-config.php file with your database connection details. @@ -32,15 +32,15 @@
  3. The installer should then send you to the login page. Sign in with the username and password you chose during the installation. If a password was generated for you, you can then click on “Profile” to change the password.
-

Updating

-

Using the Automatic Updater

+

Updating

+

Using the Automatic Updater

If you are updating from version 2.7 or higher, you can use the automatic updater:

  1. Open wp-admin/update-core.php in your browser and follow the instructions.
  2. You wanted more, perhaps? That’s it!
-

Updating Manually

+

Updating Manually

  1. Before you update anything, make sure you have backup copies of any files you may have modified such as index.php.
  2. Delete your old WordPress files, saving ones you’ve modified.
  3. @@ -48,24 +48,24 @@
  4. Point your browser to /wp-admin/upgrade.php.
-

Migrating from other systems

+

Migrating from other systems

WordPress can import from a number of systems. First you need to get WordPress installed and working as described above, before using our import tools.

-

System Requirements

+

System Requirements

-

Recommendations

+

Recommendations

-

Online Resources

+

Online Resources

If you have any questions that aren’t addressed in this document, please take advantage of WordPress’ numerous online resources:

The WordPress Codex
@@ -80,18 +80,18 @@
There is an online chat channel that is used for discussion among people who use WordPress and occasionally support topics. The above wiki page should point you in the right direction. (irc.freenode.net #wordpress)
-

Final Notes

+

Final Notes

-

Share the Love

+

Share the Love

WordPress has no multi-million dollar marketing campaign or celebrity sponsors, but we do have something even better—you. If you enjoy WordPress please consider telling a friend, setting it up for someone less knowledgable than yourself, or writing the author of a media article that overlooks us.

WordPress is the official continuation of b2/cafélog, which came from Michel V. The work has been continued by the WordPress developers. If you would like to support WordPress, please consider donating.

-

License

+

License

WordPress is free software, and is released under the terms of the GPL version 2 or (at your option) any later version. See license.txt.

diff --git a/wp-activate.php b/wp-activate.php index a796cc5..ea6a1ad 100644 --- a/wp-activate.php +++ b/wp-activate.php @@ -14,7 +14,7 @@ require( dirname(__FILE__) . '/wp-load.php' ); require( dirname( __FILE__ ) . '/wp-blog-header.php' ); if ( !is_multisite() ) { - wp_redirect( site_url( '/wp-login.php?action=register' ) ); + wp_redirect( wp_registration_url() ); die(); } @@ -58,16 +58,17 @@ function wpmu_activate_stylesheet() { #submit, #key { width: 90%; font-size: 24px; } #language { margin-top: .5em; } .error { background: #f66; } - span.h3 { padding: 0 8px; font-size: 1.3em; font-family: "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif; font-weight: bold; color: #333; } + span.h3 { padding: 0 8px; font-size: 1.3em; font-weight: bold; } -
+
+

@@ -115,17 +116,22 @@ get_header();

- -

View your site or Log in'), $url, $url . 'wp-login.php' ); ?>

+ +

View your site or Log in' ), $url, esc_url( $login_url ) ); ?>

Log in or go back to the homepage.' ), network_site_url('wp-login.php', 'login'), network_home_url() ); ?>

+
- '' ) ); +if ( current_user_can( 'install_plugins' ) ) { + add_thickbox(); + wp_enqueue_script( 'plugin-install' ); +} + +$video_url = 'https://videopress.com/embed/J44FHXvg?hd=true'; +$locale = str_replace( '_', '-', get_locale() ); +list( $locale ) = explode( '-', $locale ); +if ( 'en' !== $locale ) { + $video_url = add_query_arg( 'defaultLangCode', $locale, $video_url ); +} + +wp_oembed_add_host_js(); + $title = __( 'About' ); list( $display_version ) = explode( '-', $wp_version ); include( ABSPATH . 'wp-admin/admin-header.php' ); - -$video_url = 'https://videopress.com/embed/T54Iy7Tw'; -$locale = str_replace( '_', '-', get_locale() ); -if ( 'en-AU' !== $locale ) { - list( $locale ) = explode( '-', $locale ); -} -if ( 'en' !== $locale ) { - $video_url = add_query_arg( 'defaultLangCode', $locale, $video_url ); -} - -$major_features = array( - array( - 'src' => array( - 'mp4' => '//s.w.org/images/core/4.3/formatting.mp4', - 'ogv' => '//s.w.org/images/core/4.3/formatting.ogv', - 'webm' => '//s.w.org/images/core/4.3/formatting.webm', - ), - 'heading' => __( 'Formatting Shortcuts' ), - /* Translators: 1: asterisks; 2: number sign; */ - 'description' => sprintf( __( 'Your writing flow just got faster with new formatting shortcuts in WordPress 4.3. Use asterisks to create lists and number signs to make a heading. No more breaking your flow; your text looks great with a %1$s and a %2$s.' ), '*', '#' ), - ), - array( - 'src' => '//s.w.org/images/core/4.3/menu-customizer.png', - 'heading' => __( 'Menus in the Customizer' ), - 'description' => __( 'Create your menu, update it, and assign it, all while live-previewing in the customizer. The streamlined customizer design provides a mobile-friendly and accessible interface. With every release, it becomes easier and faster to make your site just the way you want it.' ), - ), - array( - 'src' => '//s.w.org/images/core/4.3/better-passwords.png', - 'heading' => __( 'Better Passwords' ), - 'description' => __( 'Keep your site more secure with WordPress’ improved approach to passwords. Instead of receiving passwords via email, you’ll get a password reset link. When you add new users to your site or edit a user profile, WordPress will automatically generate a secure password.' ), - ), - array( - 'src' => '//s.w.org/images/core/4.3/site-icon-customizer.png', - 'heading' => __( 'Site Icons' ), - 'description' => __( 'Site icons represent your site in browser tabs, bookmark menus, and on the home screen of mobile devices. Add your unique site icon in the customizer; it will even stay in place when you switch themes. Make your whole site reflect your brand.' ), - ), -); -shuffle( $major_features ); - -$minor_features = array( - array( - 'src' => 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MDAgNDAwIj48cGF0aCBmaWxsPSIjMDBhMGQyIiBkPSJNNTAgMjE1aDI0MHYzMEg1MHpNNTAgMjc1aDI0MHYzMEg1MHpNNTAgMTU1aDI0MHYzMEg1MHpNNTAgOTVoMjQwdjMwSDUwek0zMTAuMSA5NWwxOS45IDMwIDIwLjEtMzAiLz48L3N2Zz4=', - 'heading' => __( 'A smoother admin experience' ), - 'description' => __( 'Refinements to the list view across the admin make your WordPress more accessible and easier to work with on any device.' ), - ), - array( - 'src' => 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAyMCI+PHBhdGggZmlsbD0iIzAwYTBkMiIgZD0iTTUgMmgxMHEuODIgMCAxLjQxLjU5VDE3IDR2OHEwIC44Mi0uNTkgMS40MVQxNSAxNGgtMmwtNSA1di01SDVxLS44MiAwLTEuNDEtLjU5VDMgMTJWNHEwLS44Mi41OS0xLjQxVDUgMnptOC41IDguNUwxMSA4bDIuNS0yLjUtMS0xTDEwIDcgNy41IDQuNWwtMSAxTDkgOGwtMi41IDIuNSAxIDFMMTAgOWwyLjUgMi41eiIvPjwvc3ZnPg==', - 'heading' => __( 'Comments turned off on pages' ), - 'description' => __( 'All new pages that you create will have comments turned off. Keep discussions to your blog, right where they’re supposed to happen.' ), - ), - array( - 'src' => 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZmlsbD0iIzAwYTBkMiIgZD0iTTI5LjMyOCA1LjcxMnEuMDQ4LS4xNDQuMDk2LS4zODR0LS4wNjQtLjgxNi0uNTI4LS45NzZxLS4zODQtLjM2OC0uODcyLS40NjR0LS43OTIgMGwtLjI4OC4wOHEtMS40NTYuNzItNS44OCAzLjczNnQtNi4zOTIgNS4xNzZxLS43MzYuODMyLTEuNDA4IDIuMzJ0LS44OCAzIC41NDQgMi4zOTJxLjgzMi43MzYgMi4zNDQuNTc2dDMuMDcyLS44MjQgMi4yNDgtMS4zNTJxMi4xNDQtMi4xNDQgNS4xNjgtNi42NTZ0My42MzItNS44MDh6TTIuMjQgMjguMjRxMS4wNTYtLjY4OCAxLjcxMi0xLjUyOHQuOTUyLTEuNjE2LjU0NC0xLjUyLjcyLTEuNDggMS4yNC0xLjI4cTEuMDg4LS44IDIuNTA0LS43MDR0Mi40MjQgMS4xNjhxLjgxNi44OC44MjQgMi42NHQtMS4wOCAyLjg5NnEtMS4yMTYgMS4xMi0yLjkwNCAxLjYyNHQtMy40MjQuNDI0LTMuNTEyLS42MjR6Ii8+PC9zdmc+', - 'heading' => __( 'Customize your site quickly' ), - 'description' => __( 'Wherever you are on the front-end, you can click the customize link in the toolbar to swiftly make changes to your site.' ), - ), -); - -$tech_features = array( - array( - 'heading' => __( 'Taxonomy Roadmap' ), - 'description' => __( 'Terms shared across multiple taxonomies are now split into separate terms.' ), - ), - array( - 'heading' => __( 'Template Hierarchy' ), - /* Translators: 1: singular.php; 2: single.php; 3:page.php */ - 'description' => sprintf( __( 'Added %1$s as a fallback for %2$s and %3$s' ), 'singular.php', 'single.php', 'page.php' ), - ), - array( - 'heading' => 'WP_List_Table', - 'description' => __( 'List tables can and should designate a primary column.' ), - ), -); - ?>

-
+
-
-

-

Version %1$s addressed some security issues and fixed %2$s bug.', - 'Version %1$s addressed some security issues and fixed %2$s bugs.', 26 ), '4.3.1', number_format_i18n( 26 ) ); ?> - the release notes.' ), 'http://codex.wordpress.org/Version_4.3.1' ); ?> -

-
-
-
+
+ +
+

+
+ +
+
+
+

+

+

+
+
+ +
+
+
+
+ +
+
+
+ +
-
- $feature['src']['mp4'], - 'ogv' => $feature['src']['ogv'], - 'webm' => $feature['src']['webm'], - 'loop' => true, - 'autoplay' => true, - 'width' => 500, - 'height' => 284 - ) ); - - // Image. - else: - ?> - - +
-

-

- -
- -
-
-
- -
-

-

+

+

-
+
+ +
+ +
+

+

+
+
+ +
+ +
+
+
+ +
+
+
+

+

+
+
+ +
+

-
- +
-

-

+

+
+

+

'plugin-information', + 'plugin' => 'rest-api', + 'TB_iframe' => true, + 'width' => 600, + 'height' => 550 + ); + + $plugin_link = 'WordPress REST API'; + } else { + $plugin_link = 'WordPress REST API'; + } + + /* translators: WordPress REST API plugin link */ + printf( __( 'Infrastructure is the first part of a multi-stage rollout for the REST API. Inclusion of core endpoints is targeted for an upcoming release. To get a sneak peek of the core endpoints, and for more information on extending the REST API, check out the official %s plugin.' ), $plugin_link ); + ?>

+
+
+
+ +
+
+

+

add_term_meta()', + 'get_term_meta()', + 'update_term_meta()' + ); + ?>

+
+
+

+

WP_Comment_Query' ); + ?>

+
+
+

+

WP_Term', + 'WP_Comment', + 'WP_Network' + ); + ?>

-
@@ -193,13 +201,19 @@ include( ABSPATH . 'wp-admin/admin-footer.php' ); // These are strings we may use to describe maintenance/security releases, where we aim for no new strings. return; -_n_noop( 'Maintenance Release', 'Maintenance Releases' ); -_n_noop( 'Security Release', 'Security Releases' ); -_n_noop( 'Maintenance and Security Release', 'Maintenance and Security Releases' ); +__( 'Maintenance Release' ); +__( 'Maintenance Releases' ); -/* translators: 1: WordPress version number. */ -_n_noop( 'Version %1$s addressed a security issue.', - 'Version %1$s addressed some security issues.' ); +__( 'Security Release' ); +__( 'Security Releases' ); + +__( 'Maintenance and Security Release' ); +__( 'Maintenance and Security Releases' ); + +/* translators: %s: WordPress version number */ +__( 'Version %s addressed one security issue.' ); +/* translators: %s: WordPress version number */ +__( 'Version %s addressed some security issues.' ); /* translators: 1: WordPress version number, 2: plural number of bugs. */ _n_noop( 'Version %1$s addressed %2$s bug.', @@ -213,4 +227,5 @@ _n_noop( 'Version %1$s addressed a security issue and fixed %2$ _n_noop( 'Version %1$s addressed some security issues and fixed %2$s bug.', 'Version %1$s addressed some security issues and fixed %2$s bugs.' ); +/* translators: %s: Codex URL */ __( 'For more information, see the release notes.' ); diff --git a/wp-admin/admin-ajax.php b/wp-admin/admin-ajax.php index 225272a..5597aec 100644 --- a/wp-admin/admin-ajax.php +++ b/wp-admin/admin-ajax.php @@ -56,13 +56,13 @@ $core_actions_post = array( 'hidden-columns', 'update-welcome-panel', 'menu-get-metabox', 'wp-link-ajax', 'menu-locations-save', 'menu-quick-search', 'meta-box-order', 'get-permalink', 'sample-permalink', 'inline-save', 'inline-save-tax', 'find_posts', 'widgets-order', - 'save-widget', 'set-post-thumbnail', 'date_format', 'time_format', + 'save-widget', 'delete-inactive-widgets', 'set-post-thumbnail', 'date_format', 'time_format', 'wp-remove-post-lock', 'dismiss-wp-pointer', 'upload-attachment', 'get-attachment', 'query-attachments', 'save-attachment', 'save-attachment-compat', 'send-link-to-editor', 'send-attachment-to-editor', 'save-attachment-order', 'heartbeat', 'get-revision-diffs', 'save-user-color-scheme', 'update-widget', 'query-themes', 'parse-embed', 'set-attachment-thumbnail', 'parse-media-shortcode', 'destroy-sessions', 'install-plugin', 'update-plugin', 'press-this-save-post', - 'press-this-add-category', 'crop-image', + 'press-this-add-category', 'crop-image', 'generate-password', 'save-wporg-username', ); // Deprecated diff --git a/wp-admin/admin.php b/wp-admin/admin.php index d3e58d2..184d5c2 100644 --- a/wp-admin/admin.php +++ b/wp-admin/admin.php @@ -84,7 +84,7 @@ require_once(ABSPATH . 'wp-admin/includes/admin.php'); auth_redirect(); // Schedule trash collection -if ( !wp_next_scheduled('wp_scheduled_delete') && !defined('WP_INSTALLING') ) +if ( ! wp_next_scheduled( 'wp_scheduled_delete' ) && ! wp_installing() ) wp_schedule_event(time(), 'daily', 'wp_scheduled_delete'); set_screen_options(); diff --git a/wp-admin/async-upload.php b/wp-admin/async-upload.php index 4a18aa1..371a65d 100644 --- a/wp-admin/async-upload.php +++ b/wp-admin/async-upload.php @@ -61,7 +61,10 @@ if ( isset($_REQUEST['attachment_id']) && ($id = intval($_REQUEST['attachment_id if ( $thumb_url = wp_get_attachment_image_src( $id, 'thumbnail', true ) ) echo ''; echo '' . _x( 'Edit', 'media item' ) . ''; - $title = $post->post_title ? $post->post_title : wp_basename( $post->guid ); // title shouldn't ever be empty, but use filename just in cas.e + + // Title shouldn't ever be empty, but use filename just in case. + $file = get_attached_file( $post->ID ); + $title = $post->post_title ? $post->post_title : wp_basename( $file ); echo '
' . esc_html( wp_html_excerpt( $title, 60, '…' ) ) . '
'; break; case 2 : @@ -89,7 +92,7 @@ $id = media_handle_upload( 'async-upload', $post_id ); if ( is_wp_error($id) ) { echo '
' . __('Dismiss') . ' - ' . sprintf(__('“%s” has failed to upload due to an error'), esc_html($_FILES['async-upload']['name']) ) . '
' . + ' . sprintf(__('“%s” has failed to upload.'), esc_html($_FILES['async-upload']['name']) ) . '
' . esc_html($id->get_error_message()) . '
'; exit; } diff --git a/wp-admin/comment.php b/wp-admin/comment.php index 7131a0c..939f77e 100644 --- a/wp-admin/comment.php +++ b/wp-admin/comment.php @@ -33,17 +33,6 @@ if ( isset( $_GET['dt'] ) ) { $action = 'trash'; } -/** - * Display error message at bottom of comments. - * - * @param string $msg Error Message. Assumed to contain HTML and be sanitized. - */ -function comment_footer_die( $msg ) { - echo "

$msg

"; - include( ABSPATH . 'wp-admin/admin-footer.php' ); - die; -} - switch( $action ) { case 'editcomment' : @@ -166,7 +155,7 @@ if ( $comment->comment_approved != '0' ) { // if not unapproved comment_author_email ) { ?> - + comment_author_email; ?> @@ -191,9 +180,13 @@ if ( $comment->comment_approved != '0' ) { // if not unapproved if ( $comment->comment_parent ) { $parent = get_comment( $comment->comment_parent ); - $parent_link = esc_url( get_comment_link( $comment->comment_parent ) ); - $name = get_comment_author( $parent->comment_ID ); - printf( ' | ' . __( 'In reply to %2$s.' ), $parent_link, $name ); + $parent_link = esc_url( get_comment_link( $parent ) ); + $name = get_comment_author( $parent ); + printf( + /* translators: %s: comment link */ + ' | ' . __( 'In reply to %s.' ), + '' . $name . '' + ); } ?> @@ -201,15 +194,14 @@ if ( $comment->comment_approved != '0' ) { // if not unapproved - %2$s at %3$s' ), - esc_url( get_comment_link( $comment->comment_ID ) ), - /* translators: comment date format. See http://php.net/date */ - get_comment_date( __( 'Y/m/d' ) ), - get_comment_date( get_option( 'time_format' ) ) - ); - ?> + @@ -269,31 +261,31 @@ case 'unapprovecomment' : switch ( $action ) { case 'deletecomment' : - wp_delete_comment( $comment_id ); + wp_delete_comment( $comment ); $redir = add_query_arg( array('deleted' => '1'), $redir ); break; case 'trashcomment' : - wp_trash_comment($comment_id); + wp_trash_comment( $comment ); $redir = add_query_arg( array('trashed' => '1', 'ids' => $comment_id), $redir ); break; case 'untrashcomment' : - wp_untrash_comment($comment_id); + wp_untrash_comment( $comment ); $redir = add_query_arg( array('untrashed' => '1'), $redir ); break; case 'spamcomment' : - wp_spam_comment($comment_id); + wp_spam_comment( $comment ); $redir = add_query_arg( array('spammed' => '1', 'ids' => $comment_id), $redir ); break; case 'unspamcomment' : - wp_unspam_comment($comment_id); + wp_unspam_comment( $comment ); $redir = add_query_arg( array('unspammed' => '1'), $redir ); break; case 'approvecomment' : - wp_set_comment_status( $comment_id, 'approve' ); + wp_set_comment_status( $comment, 'approve' ); $redir = add_query_arg( array( 'approved' => 1 ), $redir ); break; case 'unapprovecomment' : - wp_set_comment_status( $comment_id, 'hold' ); + wp_set_comment_status( $comment, 'hold' ); $redir = add_query_arg( array( 'unapproved' => 1 ), $redir ); break; } diff --git a/wp-admin/credits.php b/wp-admin/credits.php index 33ae708..61d0a5c 100644 --- a/wp-admin/credits.php +++ b/wp-admin/credits.php @@ -8,70 +8,10 @@ /** WordPress Administration Bootstrap */ require_once( dirname( __FILE__ ) . '/admin.php' ); +require_once( dirname( __FILE__ ) . '/includes/credits.php' ); $title = __( 'Credits' ); -/** - * Retrieve the contributor credits. - * - * @global string $wp_version The current WordPress version. - * - * @since 3.2.0 - * - * @return array|false A list of all of the contributors, or false on error. -*/ -function wp_credits() { - global $wp_version; - $locale = get_locale(); - - $results = get_site_transient( 'wordpress_credits_' . $locale ); - - if ( ! is_array( $results ) - || false !== strpos( $wp_version, '-' ) - || ( isset( $results['data']['version'] ) && strpos( $wp_version, $results['data']['version'] ) !== 0 ) - ) { - $response = wp_remote_get( "http://api.wordpress.org/core/credits/1.1/?version=$wp_version&locale=$locale" ); - - if ( is_wp_error( $response ) || 200 != wp_remote_retrieve_response_code( $response ) ) - return false; - - $results = json_decode( wp_remote_retrieve_body( $response ), true ); - - if ( ! is_array( $results ) ) - return false; - - set_site_transient( 'wordpress_credits_' . $locale, $results, DAY_IN_SECONDS ); - } - - return $results; -} - -/** - * Retrieve the link to a contributor's WordPress.org profile page. - * - * @access private - * @since 3.2.0 - * - * @param string &$display_name The contributor's display name, passed by reference. - * @param string $username The contributor's username. - * @param string $profiles URL to the contributor's WordPress.org profile page. - */ -function _wp_credits_add_profile_link( &$display_name, $username, $profiles ) { - $display_name = '' . esc_html( $display_name ) . ''; -} - -/** - * Retrieve the link to an external library used in WordPress. - * - * @access private - * @since 3.2.0 - * - * @param string &$data External library data, passed by reference. - */ -function _wp_credits_build_object_link( &$data ) { - $data = '' . esc_html( $data[0] ) . ''; -} - list( $display_version ) = explode( '-', $wp_version ); include( ABSPATH . 'wp-admin/admin-header.php' ); @@ -80,18 +20,14 @@ include( ABSPATH . 'wp-admin/admin-header.php' );

-
+
$group_data ) { $title = translate( $group_data['name'] ); } - echo '

' . esc_html( $title ) . "

\n"; + echo '

' . esc_html( $title ) . "

\n"; } if ( ! empty( $group_data['shuffle'] ) ) @@ -185,6 +121,7 @@ __( 'Core Committer' ); __( 'Guest Committer' ); __( 'Developer' ); __( 'Designer' ); +__( 'Docs Committer' ); __( 'XML-RPC' ); __( 'Internationalization' ); __( 'External Libraries' ); diff --git a/wp-admin/css/about-rtl.css b/wp-admin/css/about-rtl.css index d7ae1bc..be288e5 100644 --- a/wp-admin/css/about-rtl.css +++ b/wp-admin/css/about-rtl.css @@ -79,17 +79,10 @@ /* Tabs */ -.about-wrap h2.nav-tab-wrapper { - padding-right: 6px; -} - -.about-wrap h2 .nav-tab { - padding: 4px 15px 6px; - margin: 0 0 -1px 3px; +.about-wrap .nav-tab { + padding-left: 15px; + padding-right: 15px; font-size: 18px; - vertical-align: top; - border-width: 1px; - white-space: nowrap; } /* 1.1 - Typography */ @@ -148,6 +141,13 @@ margin-left: 4.799999999%; width: 47.6%; } +.about-wrap .feature-section.two-col .col { + display: inline-block; + float: none; + margin-left: 4.799999999%; + width: calc( 47.6% - 4px ); + vertical-align: middle; +} .about-wrap .three-col .col { margin-left: 4.999999999%; @@ -181,16 +181,20 @@ /* 2.1 - Typography */ .about-wrap .headline-feature h2 { - margin: 50px 0 30px; + margin: 30px 0 30px; font-size: 2.2em; font-weight: 300; line-height: 1.3; - text-align: right; + text-align: center; } .about-wrap .headline-feature h3 { - margin-top: 30px; - text-align: center; + margin-top: 0; + text-align: right; +} + +.about-wrap .feature-section.two-col h3 { + margin-top: 0; } .about-wrap .feature-list h2 { @@ -207,13 +211,27 @@ margin-top: 0.6em; } +.about-wrap .two-col-text { + -webkit-column-count: 2; + -moz-column-count: 2; + column-count: 2; + -webkit-column-gap: 40px; + -moz-column-gap: 40px; + column-gap: 40px; +} + +.about-wrap .two-col-text p:first-of-type { + margin-top: 0; +} + /* 2.2 - Structure */ -.about-wrap .feature-video { +.about-wrap .headline-feature.feature-video { position: relative; margin: 40px 0; - padding-bottom: 56.25%; /* video is 1280 x 720 */ + padding-bottom: 56.25%; width: 100%; + max-width: 100%; height: 0; text-align: center; } @@ -233,27 +251,46 @@ .about-wrap .feature-section { overflow: hidden; padding: 0 0 40px; - border-bottom: 1px solid rgba(0, 0, 0, 0.1); } -.about-wrap .headline-feature .feature-section { +.about-wrap .headline-feature { margin: 0 auto; - max-width: 95%; + max-width: 80%; } .about-wrap .feature-section .media-container { - border: 1px solid #ddd; overflow: hidden; } -.about-wrap .feature-section .svg-container { - padding: 50px 0; - text-align: center; - background-color: #e1e1e3; +.about-wrap .headline-feature .col { + width: 65.2%; } -.about-wrap .feature-section .svg-container img { - max-width: 150px; +.about-wrap .headline-feature .col.feature-image { + width: 30%; +} + +.about-wrap .headline-feature .vertical-screen { + float: left; + margin-right: 40px; + max-width: 100%; +} + +.about-wrap .headline-feature .horizontal-screen { + margin-top: 20px; + max-width: 100%; +} + +.about-wrap .embed-container { + text-align: center; +} + +.about-wrap .embed-container iframe { + max-width: 100%; +} + +.about-wrap .wp-embedded-content { + max-width: 100%; } .about-wrap .feature-section:not(.under-the-hood) .col { @@ -292,9 +329,10 @@ /* Credits */ -.about-wrap h4.wp-people-group { - margin-top: 2.6em; +.about-wrap h3.wp-people-group { + margin: 2.6em 0 1.33em; font-size: 16px; + line-height: inherit; } .about-wrap ul.wp-people-group { @@ -384,7 +422,47 @@ width: 100%; margin: 40px 0 0; padding: 0 0 40px; - border-bottom: 1px solid rgba(0, 0, 0, 0.1); + } + + .about-wrap .headline-feature { + position: relative; + } + + .about-wrap .headline-feature .col.feature-image { + position: absolute; + bottom: 0; + left: 0; + width: 40%; + } + + .about-wrap .headline-feature .horizontal-image { + position: relative; + } + + .about-wrap .headline-feature .horizontal-image:before { + display: block; + content: ""; + width: 100%; + padding-top: 80%; + } + + .about-wrap .headline-feature .horizontal-image > .content { + position: absolute; + top: 0; + right: 0; + left: 0; + bottom: 0; + } + + .about-wrap .headline-feature .horizontal-image img { + position: absolute; + bottom: 0; + } + + .about-wrap .two-col-text { + -webkit-column-count: 1; + -moz-column-count: 1; + column-count: 1; } .about-wrap .three-col img { @@ -428,27 +506,21 @@ width: 100%; } - .about-wrap h2.nav-tab-wrapper { - padding-right: 0; - border-bottom: 0; - } - - .about-wrap h2 .nav-tab { - margin-top: 10px; - margin-left: 10px; - border-bottom: 1px solid #ccc; - } - - .about-wrap .feature-section .svg-container { - padding-top: 20px; - padding-bottom: 20px; - } - + .about-wrap .feature-section.two-col .col, .about-wrap .three-col .col, .about-wrap .headline-feature .feature-section .col { width: 100% !important; float: none !important; } + + .about-wrap .feature-section.two-col .col:last-of-type { + margin-top: 0; + } + + .feature-section.under-the-hood.three-col .col, + .feature-section.under-the-hood.one-col .col { + padding-bottom: 0; + } } @media only screen and (max-width: 400px) { diff --git a/wp-admin/css/about.css b/wp-admin/css/about.css index b13442d..f466fd2 100644 --- a/wp-admin/css/about.css +++ b/wp-admin/css/about.css @@ -79,17 +79,10 @@ /* Tabs */ -.about-wrap h2.nav-tab-wrapper { - padding-left: 6px; -} - -.about-wrap h2 .nav-tab { - padding: 4px 15px 6px; - margin: 0 3px -1px 0; +.about-wrap .nav-tab { + padding-right: 15px; + padding-left: 15px; font-size: 18px; - vertical-align: top; - border-width: 1px; - white-space: nowrap; } /* 1.1 - Typography */ @@ -148,6 +141,13 @@ margin-right: 4.799999999%; width: 47.6%; } +.about-wrap .feature-section.two-col .col { + display: inline-block; + float: none; + margin-right: 4.799999999%; + width: calc( 47.6% - 4px ); + vertical-align: middle; +} .about-wrap .three-col .col { margin-right: 4.999999999%; @@ -181,16 +181,20 @@ /* 2.1 - Typography */ .about-wrap .headline-feature h2 { - margin: 50px 0 30px; + margin: 30px 0 30px; font-size: 2.2em; font-weight: 300; line-height: 1.3; - text-align: left; + text-align: center; } .about-wrap .headline-feature h3 { - margin-top: 30px; - text-align: center; + margin-top: 0; + text-align: left; +} + +.about-wrap .feature-section.two-col h3 { + margin-top: 0; } .about-wrap .feature-list h2 { @@ -207,13 +211,27 @@ margin-top: 0.6em; } +.about-wrap .two-col-text { + -webkit-column-count: 2; + -moz-column-count: 2; + column-count: 2; + -webkit-column-gap: 40px; + -moz-column-gap: 40px; + column-gap: 40px; +} + +.about-wrap .two-col-text p:first-of-type { + margin-top: 0; +} + /* 2.2 - Structure */ -.about-wrap .feature-video { +.about-wrap .headline-feature.feature-video { position: relative; margin: 40px 0; - padding-bottom: 56.25%; /* video is 1280 x 720 */ + padding-bottom: 56.25%; width: 100%; + max-width: 100%; height: 0; text-align: center; } @@ -233,27 +251,46 @@ .about-wrap .feature-section { overflow: hidden; padding: 0 0 40px; - border-bottom: 1px solid rgba(0, 0, 0, 0.1); } -.about-wrap .headline-feature .feature-section { +.about-wrap .headline-feature { margin: 0 auto; - max-width: 95%; + max-width: 80%; } .about-wrap .feature-section .media-container { - border: 1px solid #ddd; overflow: hidden; } -.about-wrap .feature-section .svg-container { - padding: 50px 0; - text-align: center; - background-color: #e1e1e3; +.about-wrap .headline-feature .col { + width: 65.2%; } -.about-wrap .feature-section .svg-container img { - max-width: 150px; +.about-wrap .headline-feature .col.feature-image { + width: 30%; +} + +.about-wrap .headline-feature .vertical-screen { + float: right; + margin-left: 40px; + max-width: 100%; +} + +.about-wrap .headline-feature .horizontal-screen { + margin-top: 20px; + max-width: 100%; +} + +.about-wrap .embed-container { + text-align: center; +} + +.about-wrap .embed-container iframe { + max-width: 100%; +} + +.about-wrap .wp-embedded-content { + max-width: 100%; } .about-wrap .feature-section:not(.under-the-hood) .col { @@ -292,9 +329,10 @@ /* Credits */ -.about-wrap h4.wp-people-group { - margin-top: 2.6em; +.about-wrap h3.wp-people-group { + margin: 2.6em 0 1.33em; font-size: 16px; + line-height: inherit; } .about-wrap ul.wp-people-group { @@ -384,7 +422,47 @@ width: 100%; margin: 40px 0 0; padding: 0 0 40px; - border-bottom: 1px solid rgba(0, 0, 0, 0.1); + } + + .about-wrap .headline-feature { + position: relative; + } + + .about-wrap .headline-feature .col.feature-image { + position: absolute; + bottom: 0; + right: 0; + width: 40%; + } + + .about-wrap .headline-feature .horizontal-image { + position: relative; + } + + .about-wrap .headline-feature .horizontal-image:before { + display: block; + content: ""; + width: 100%; + padding-top: 80%; + } + + .about-wrap .headline-feature .horizontal-image > .content { + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + } + + .about-wrap .headline-feature .horizontal-image img { + position: absolute; + bottom: 0; + } + + .about-wrap .two-col-text { + -webkit-column-count: 1; + -moz-column-count: 1; + column-count: 1; } .about-wrap .three-col img { @@ -428,27 +506,21 @@ width: 100%; } - .about-wrap h2.nav-tab-wrapper { - padding-left: 0; - border-bottom: 0; - } - - .about-wrap h2 .nav-tab { - margin-top: 10px; - margin-right: 10px; - border-bottom: 1px solid #ccc; - } - - .about-wrap .feature-section .svg-container { - padding-top: 20px; - padding-bottom: 20px; - } - + .about-wrap .feature-section.two-col .col, .about-wrap .three-col .col, .about-wrap .headline-feature .feature-section .col { width: 100% !important; float: none !important; } + + .about-wrap .feature-section.two-col .col:last-of-type { + margin-top: 0; + } + + .feature-section.under-the-hood.three-col .col, + .feature-section.under-the-hood.one-col .col { + padding-bottom: 0; + } } @media only screen and (max-width: 400px) { diff --git a/wp-admin/css/admin-menu-rtl.css b/wp-admin/css/admin-menu-rtl.css index ea3d49f..02878f6 100644 --- a/wp-admin/css/admin-menu-rtl.css +++ b/wp-admin/css/admin-menu-rtl.css @@ -39,7 +39,7 @@ .icon16:before { color: #999; - font: normal 20px/1 'dashicons'; + font: normal 20px/1 dashicons; speak: none; padding: 6px 0; height: 34px; @@ -52,56 +52,56 @@ } .icon16.icon-dashboard:before { - content: '\f226'; + content: "\f226"; } .icon16.icon-post:before { - content: '\f109'; + content: "\f109"; } .icon16.icon-media:before { - content: '\f104'; + content: "\f104"; } .icon16.icon-links:before { - content: '\f103'; + content: "\f103"; } .icon16.icon-page:before { - content: '\f105'; + content: "\f105"; } .icon16.icon-comments:before { - content: '\f101'; + content: "\f101"; margin-top: 1px; } .icon16.icon-appearance:before { - content: '\f100'; + content: "\f100"; } .icon16.icon-plugins:before { - content: '\f106'; + content: "\f106"; } .icon16.icon-users:before { - content: '\f110'; + content: "\f110"; } .icon16.icon-tools:before { - content: '\f107'; + content: "\f107"; } .icon16.icon-settings:before { - content: '\f108'; + content: "\f108"; } .icon16.icon-site:before { - content: '\f112' + content: "\f112"; } .icon16.icon-generic:before { - content: '\f111'; + content: "\f111"; } /* hide background-image for icons above */ @@ -586,14 +586,14 @@ ul#adminmenu > li.current > a.current:after { } #collapse-button div:after { - content: '\f148'; + content: "\f148"; display: block; line-height: 15px; right: -3px; top: -3px; color: #a0a5aa; color: rgba(240,245,250,0.6); - font: normal 20px/1 'dashicons' !important; + font: normal 20px/1 dashicons !important; speak: none; margin: 0 auto; padding: 0 !important; @@ -901,10 +901,10 @@ li#wp-admin-bar-menu-toggle { } #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before { - content: '\f228'; + content: "\f228"; display: inline-block; float: right; - font: normal 40px/45px 'Dashicons'; + font: normal 40px/45px dashicons; vertical-align: middle; outline: none; margin: 0; diff --git a/wp-admin/css/admin-menu.css b/wp-admin/css/admin-menu.css index 27ffc09..c6616a4 100644 --- a/wp-admin/css/admin-menu.css +++ b/wp-admin/css/admin-menu.css @@ -39,7 +39,7 @@ .icon16:before { color: #999; - font: normal 20px/1 'dashicons'; + font: normal 20px/1 dashicons; speak: none; padding: 6px 0; height: 34px; @@ -52,56 +52,56 @@ } .icon16.icon-dashboard:before { - content: '\f226'; + content: "\f226"; } .icon16.icon-post:before { - content: '\f109'; + content: "\f109"; } .icon16.icon-media:before { - content: '\f104'; + content: "\f104"; } .icon16.icon-links:before { - content: '\f103'; + content: "\f103"; } .icon16.icon-page:before { - content: '\f105'; + content: "\f105"; } .icon16.icon-comments:before { - content: '\f101'; + content: "\f101"; margin-top: 1px; } .icon16.icon-appearance:before { - content: '\f100'; + content: "\f100"; } .icon16.icon-plugins:before { - content: '\f106'; + content: "\f106"; } .icon16.icon-users:before { - content: '\f110'; + content: "\f110"; } .icon16.icon-tools:before { - content: '\f107'; + content: "\f107"; } .icon16.icon-settings:before { - content: '\f108'; + content: "\f108"; } .icon16.icon-site:before { - content: '\f112' + content: "\f112"; } .icon16.icon-generic:before { - content: '\f111'; + content: "\f111"; } /* hide background-image for icons above */ @@ -586,14 +586,14 @@ ul#adminmenu > li.current > a.current:after { } #collapse-button div:after { - content: '\f148'; + content: "\f148"; display: block; line-height: 15px; left: -3px; top: -3px; color: #a0a5aa; color: rgba(240,245,250,0.6); - font: normal 20px/1 'dashicons' !important; + font: normal 20px/1 dashicons !important; speak: none; margin: 0 auto; padding: 0 !important; @@ -901,10 +901,10 @@ li#wp-admin-bar-menu-toggle { } #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before { - content: '\f228'; + content: "\f228"; display: inline-block; float: left; - font: normal 40px/45px 'Dashicons'; + font: normal 40px/45px dashicons; vertical-align: middle; outline: none; margin: 0; diff --git a/wp-admin/css/color-picker-rtl.css b/wp-admin/css/color-picker-rtl.css index 954376e..f9bfbae 100644 --- a/wp-admin/css/color-picker-rtl.css +++ b/wp-admin/css/color-picker-rtl.css @@ -24,8 +24,8 @@ vertical-align: bottom; display: inline-block; padding-right: 30px; - -webkit-box-shadow: 0 1px 0 rgba(0,0,0,.08); - box-shadow: 0 1px 0 rgba(0,0,0,.08); + -webkit-box-shadow: 0 1px 0 #ccc; + box-shadow: 0 1px 0 #ccc; } .wp-color-result:after { @@ -43,8 +43,6 @@ left: 0; text-align: center; top: 0; - -webkit-box-shadow: inset 0 1px 0 #fff; - box-shadow: inset 0 1px 0 #fff; } .wp-color-result:hover, @@ -75,12 +73,9 @@ } .wp-color-result:focus { - -webkit-box-shadow: - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba( 30, 140, 190, 0.8 ); - box-shadow: - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba( 30, 140, 190, 0.8 ); + border-color: #5b9dd9; + -webkit-box-shadow: 0 0 3px rgba( 0, 115, 170, .8 ); + box-shadow: 0 0 3px rgba( 0, 115, 170, .8 ); } .wp-picker-open + .wp-picker-input-wrap { diff --git a/wp-admin/css/color-picker-rtl.min.css b/wp-admin/css/color-picker-rtl.min.css index a08ffc9..41e91ec 100644 --- a/wp-admin/css/color-picker-rtl.min.css +++ b/wp-admin/css/color-picker-rtl.min.css @@ -1 +1 @@ -.wp-color-picker{width:80px}.wp-picker-container .hidden{display:none}.wp-color-result{background-color:#f7f7f7;border:1px solid #ccc;-webkit-border-radius:3px;border-radius:3px;cursor:pointer;height:22px;margin:0 0 6px 6px;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:bottom;display:inline-block;padding-right:30px;-webkit-box-shadow:0 1px 0 rgba(0,0,0,.08);box-shadow:0 1px 0 rgba(0,0,0,.08);top:0}.wp-color-result:after{background:#f7f7f7;-webkit-border-radius:2px 0 0 2px;border-radius:2px 0 0 2px;border-right:1px solid #ccc;color:#555;content:attr(title);display:block;font-size:11px;line-height:22px;padding:0 6px;position:relative;left:0;text-align:center;top:0;-webkit-box-shadow:inset 0 1px 0 #fff;box-shadow:inset 0 1px 0 #fff}.wp-color-result:focus,.wp-color-result:hover{background:#fafafa;border-color:#999;color:#23282d}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#23282d;border-color:#a0a5aa;border-right:1px solid #999}.wp-color-result.wp-picker-open:after{content:attr(data-current)}.wp-picker-container,.wp-picker-container:active{display:inline-block;outline:0}.wp-color-result:focus{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-container .button{margin-right:6px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{-webkit-border-radius:0;border-radius:0;border-color:#dfdfdf;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:65px;font-size:12px;font-family:monospace;text-align:center;line-height:16px;margin:0}.wp-picker-container input[type=text].wp-color-picker:focus::-webkit-input-placeholder{color:transparent}.wp-picker-container input[type=text].wp-color-picker:-moz-placeholder{color:#999}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000} \ No newline at end of file +.wp-color-picker{width:80px}.wp-picker-container .hidden{display:none}.wp-color-result{background-color:#f7f7f7;border:1px solid #ccc;-webkit-border-radius:3px;border-radius:3px;cursor:pointer;height:22px;margin:0 0 6px 6px;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:bottom;display:inline-block;padding-right:30px;-webkit-box-shadow:0 1px 0 #ccc;box-shadow:0 1px 0 #ccc;top:0}.wp-color-result:after{background:#f7f7f7;-webkit-border-radius:2px 0 0 2px;border-radius:2px 0 0 2px;border-right:1px solid #ccc;color:#555;content:attr(title);display:block;font-size:11px;line-height:22px;padding:0 6px;position:relative;left:0;text-align:center;top:0}.wp-color-result:focus,.wp-color-result:hover{background:#fafafa;border-color:#999;color:#23282d}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#23282d;border-color:#a0a5aa;border-right:1px solid #999}.wp-color-result.wp-picker-open:after{content:attr(data-current)}.wp-picker-container,.wp-picker-container:active{display:inline-block;outline:0}.wp-color-result:focus{border-color:#5b9dd9;-webkit-box-shadow:0 0 3px rgba(0,115,170,.8);box-shadow:0 0 3px rgba(0,115,170,.8)}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-container .button{margin-right:6px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{-webkit-border-radius:0;border-radius:0;border-color:#dfdfdf;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:65px;font-size:12px;font-family:monospace;text-align:center;line-height:16px;margin:0}.wp-picker-container input[type=text].wp-color-picker:focus::-webkit-input-placeholder{color:transparent}.wp-picker-container input[type=text].wp-color-picker:-moz-placeholder{color:#999}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000} \ No newline at end of file diff --git a/wp-admin/css/color-picker.css b/wp-admin/css/color-picker.css index 24873a0..c8ddea7 100644 --- a/wp-admin/css/color-picker.css +++ b/wp-admin/css/color-picker.css @@ -24,8 +24,8 @@ vertical-align: bottom; display: inline-block; padding-left: 30px; - -webkit-box-shadow: 0 1px 0 rgba(0,0,0,.08); - box-shadow: 0 1px 0 rgba(0,0,0,.08); + -webkit-box-shadow: 0 1px 0 #ccc; + box-shadow: 0 1px 0 #ccc; } .wp-color-result:after { @@ -43,8 +43,6 @@ right: 0; text-align: center; top: 0; - -webkit-box-shadow: inset 0 1px 0 #fff; - box-shadow: inset 0 1px 0 #fff; } .wp-color-result:hover, @@ -75,12 +73,9 @@ } .wp-color-result:focus { - -webkit-box-shadow: - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba( 30, 140, 190, 0.8 ); - box-shadow: - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba( 30, 140, 190, 0.8 ); + border-color: #5b9dd9; + -webkit-box-shadow: 0 0 3px rgba( 0, 115, 170, .8 ); + box-shadow: 0 0 3px rgba( 0, 115, 170, .8 ); } .wp-picker-open + .wp-picker-input-wrap { diff --git a/wp-admin/css/color-picker.min.css b/wp-admin/css/color-picker.min.css index f3c178d..1e5f2d1 100644 --- a/wp-admin/css/color-picker.min.css +++ b/wp-admin/css/color-picker.min.css @@ -1 +1 @@ -.wp-color-picker{width:80px}.wp-picker-container .hidden{display:none}.wp-color-result{background-color:#f7f7f7;border:1px solid #ccc;-webkit-border-radius:3px;border-radius:3px;cursor:pointer;height:22px;margin:0 6px 6px 0;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:bottom;display:inline-block;padding-left:30px;-webkit-box-shadow:0 1px 0 rgba(0,0,0,.08);box-shadow:0 1px 0 rgba(0,0,0,.08);top:0}.wp-color-result:after{background:#f7f7f7;-webkit-border-radius:0 2px 2px 0;border-radius:0 2px 2px 0;border-left:1px solid #ccc;color:#555;content:attr(title);display:block;font-size:11px;line-height:22px;padding:0 6px;position:relative;right:0;text-align:center;top:0;-webkit-box-shadow:inset 0 1px 0 #fff;box-shadow:inset 0 1px 0 #fff}.wp-color-result:focus,.wp-color-result:hover{background:#fafafa;border-color:#999;color:#23282d}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#23282d;border-color:#a0a5aa;border-left:1px solid #999}.wp-color-result.wp-picker-open:after{content:attr(data-current)}.wp-picker-container,.wp-picker-container:active{display:inline-block;outline:0}.wp-color-result:focus{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-container .button{margin-left:6px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{-webkit-border-radius:0;border-radius:0;border-color:#dfdfdf;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:65px;font-size:12px;font-family:monospace;text-align:center;line-height:16px;margin:0}.wp-picker-container input[type=text].wp-color-picker:focus::-webkit-input-placeholder{color:transparent}.wp-picker-container input[type=text].wp-color-picker:-moz-placeholder{color:#999}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000} \ No newline at end of file +.wp-color-picker{width:80px}.wp-picker-container .hidden{display:none}.wp-color-result{background-color:#f7f7f7;border:1px solid #ccc;-webkit-border-radius:3px;border-radius:3px;cursor:pointer;height:22px;margin:0 6px 6px 0;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:bottom;display:inline-block;padding-left:30px;-webkit-box-shadow:0 1px 0 #ccc;box-shadow:0 1px 0 #ccc;top:0}.wp-color-result:after{background:#f7f7f7;-webkit-border-radius:0 2px 2px 0;border-radius:0 2px 2px 0;border-left:1px solid #ccc;color:#555;content:attr(title);display:block;font-size:11px;line-height:22px;padding:0 6px;position:relative;right:0;text-align:center;top:0}.wp-color-result:focus,.wp-color-result:hover{background:#fafafa;border-color:#999;color:#23282d}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#23282d;border-color:#a0a5aa;border-left:1px solid #999}.wp-color-result.wp-picker-open:after{content:attr(data-current)}.wp-picker-container,.wp-picker-container:active{display:inline-block;outline:0}.wp-color-result:focus{border-color:#5b9dd9;-webkit-box-shadow:0 0 3px rgba(0,115,170,.8);box-shadow:0 0 3px rgba(0,115,170,.8)}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-container .button{margin-left:6px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{-webkit-border-radius:0;border-radius:0;border-color:#dfdfdf;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:65px;font-size:12px;font-family:monospace;text-align:center;line-height:16px;margin:0}.wp-picker-container input[type=text].wp-color-picker:focus::-webkit-input-placeholder{color:transparent}.wp-picker-container input[type=text].wp-color-picker:-moz-placeholder{color:#999}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000} \ No newline at end of file diff --git a/wp-admin/css/colors/_admin.scss b/wp-admin/css/colors/_admin.scss index 6e39642..5953861 100644 --- a/wp-admin/css/colors/_admin.scss +++ b/wp-admin/css/colors/_admin.scss @@ -315,6 +315,7 @@ ul#adminmenu > li.current > a.current:after { #wpadminbar .quicklinks .menupop ul li a:focus, #wpadminbar .quicklinks .menupop ul li a:hover strong, #wpadminbar .quicklinks .menupop ul li a:focus strong, +#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a, #wpadminbar .quicklinks .menupop.hover ul li a:hover, #wpadminbar .quicklinks .menupop.hover ul li a:focus, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, @@ -331,6 +332,8 @@ ul#adminmenu > li.current > a.current:after { } #wpadminbar .quicklinks li a:hover .blavatar, +#wpadminbar .quicklinks li a:focus .blavatar, +#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar, #wpadminbar .menupop .menupop > .ab-item:hover:before, #wpadminbar.mobile .quicklinks .ab-icon:before, #wpadminbar.mobile .quicklinks .ab-item:before { @@ -484,16 +487,6 @@ body.more-filters-opened .more-filters:focus:before { color: $menu-highlight-text; } -/* jQuery UI Slider */ - -.wp-slider .ui-slider-handle, -.wp-slider .ui-slider-handle.ui-state-hover, -.wp-slider .ui-slider-handle.focus { - background: $button-color; - border-color: darken( $button-color, 10% ); - box-shadow: inset 0 1px 0 lighten( $button-color, 15% ), 0 1px 0 rgba(0,0,0,.15); -} - /* Responsive Component */ div#wp-responsive-toggle a:before { diff --git a/wp-admin/css/colors/_mixins.scss b/wp-admin/css/colors/_mixins.scss index 9c196e0..c8213c1 100644 --- a/wp-admin/css/colors/_mixins.scss +++ b/wp-admin/css/colors/_mixins.scss @@ -4,31 +4,31 @@ */ @mixin button( $button-color, $text-color: white ) { background: $button-color; - border-color: darken( $button-color, 10% ); + border-color: darken( $button-color, 10% ) darken( $button-color, 15% ) darken( $button-color, 15% ); color: $text-color; - box-shadow: inset 0 1px 0 lighten( $button-color, 15% ), 0 1px 0 rgba(0,0,0,.15); + box-shadow: 0 1px 0 darken( $button-color, 15% ); + text-shadow: 0 -1px 1px darken( $button-color, 15% ), + 1px 0 1px darken( $button-color, 15% ), + 0 1px 1px darken( $button-color, 15% ), + -1px 0 1px darken( $button-color, 15% ); &:hover, &:focus { - background: darken( $button-color, 5% ); + background: lighten( $button-color, 3% ); border-color: darken( $button-color, 15% ); color: $text-color; - box-shadow: inset 0 1px 0 lighten( $button-color, 10% ); + box-shadow: 0 1px 0 darken( $button-color, 15% ); } &:focus { - box-shadow: inset 0 1px 0 lighten( $button-color, 10% ), - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba( 30, 140, 190, .8 ); + box-shadow: inset 0 1px 0 darken( $button-color, 10% ), + 0 0 2px 1px #33b3db; } &:active { background: darken( $button-color, 10% ); border-color: darken( $button-color, 15% ); - color: $text-color; - box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ), - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba( 30, 140, 190, .8 ); + box-shadow: inset 0 2px 0 darken( $button-color, 15% ); } &[disabled], @@ -40,4 +40,12 @@ border-color: darken( $button-color, 15% ) !important; text-shadow: none !important; } + + &.button-hero { + box-shadow: 0 2px 0 darken( $button-color, 15% ) !important; + &:active { + box-shadow: inset 0 3px 0 darken( $button-color, 15% ) !important; + } + } + } diff --git a/wp-admin/css/colors/blue/colors-rtl.css b/wp-admin/css/colors/blue/colors-rtl.css index 97a77a0..737ba07 100644 --- a/wp-admin/css/colors/blue/colors-rtl.css +++ b/wp-admin/css/colors/blue/colors-rtl.css @@ -11,9 +11,7 @@ a { color: #0073aa; } -a:hover, -a:active, -a:focus { +a:hover, a:active, a:focus { color: #0096dd; } @@ -41,44 +39,50 @@ input[type=radio]:checked:before { /* Core UI */ .wp-core-ui .button-primary { background: #e1a948; - border-color: #d39323; + border-color: #d39323 #bd831f #bd831f; color: white; - -webkit-box-shadow: inset 0 1px 0 #ecc88a, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #ecc88a, 0 1px 0 rgba(0, 0, 0, 0.15); + -webkit-box-shadow: 0 1px 0 #bd831f; + box-shadow: 0 1px 0 #bd831f; + text-shadow: 0 -1px 1px #bd831f, -1px 0 1px #bd831f, 0 1px 1px #bd831f, 1px 0 1px #bd831f; } -.wp-core-ui .button-primary:hover, -.wp-core-ui .button-primary:focus { - background: #dd9f32; +.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { + background: #e3af55; border-color: #bd831f; color: white; - -webkit-box-shadow: inset 0 1px 0 #e8be74; - box-shadow: inset 0 1px 0 #e8be74; + -webkit-box-shadow: 0 1px 0 #bd831f; + box-shadow: 0 1px 0 #bd831f; } .wp-core-ui .button-primary:focus { - -webkit-box-shadow: inset 0 1px 0 #e8be74, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 1px 0 #e8be74, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); + -webkit-box-shadow: inset 0 1px 0 #d39323, 0 0 2px 1px #33b3db; + box-shadow: inset 0 1px 0 #d39323, 0 0 2px 1px #33b3db; } .wp-core-ui .button-primary:active { background: #d39323; border-color: #bd831f; - color: white; - -webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); + -webkit-box-shadow: inset 0 2px 0 #bd831f; + box-shadow: inset 0 2px 0 #bd831f; } -.wp-core-ui .button-primary[disabled], -.wp-core-ui .button-primary:disabled, -.wp-core-ui .button-primary.button-primary-disabled, -.wp-core-ui .button-primary.disabled { +.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled { color: #d1cdc7 !important; background: #db9925 !important; border-color: #bd831f !important; text-shadow: none !important; } +.wp-core-ui .button-primary.button-hero { + -webkit-box-shadow: 0 2px 0 #bd831f !important; + box-shadow: 0 2px 0 #bd831f !important; +} + +.wp-core-ui .button-primary.button-hero:active { + -webkit-box-shadow: inset 0 3px 0 #bd831f !important; + box-shadow: inset 0 3px 0 #bd831f !important; +} + .wp-core-ui .wp-ui-primary { color: #fff; background-color: #52accc; @@ -111,7 +115,8 @@ input[type=radio]:checked:before { } /* List tables */ -.wrap .add-new-h2:hover, .wrap .page-title-action:hover, +.wrap .add-new-h2:hover, +.wrap .page-title-action:hover, .tablenav .tablenav-pages a:hover, .tablenav .tablenav-pages a:focus { color: #fff; @@ -187,15 +192,15 @@ input[type=radio]:checked:before { color: #e2ecf1; } -#adminmenu .wp-submenu a:focus, -#adminmenu .wp-submenu a:hover, +#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, #adminmenu .wp-has-current-submenu .wp-submenu a:focus, #adminmenu .wp-has-current-submenu .wp-submenu a:hover, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { +#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, +#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { color: #fff; } @@ -206,11 +211,11 @@ input[type=radio]:checked:before { color: #fff; } -#adminmenu .wp-submenu li.current a:hover, -#adminmenu .wp-submenu li.current a:focus, +#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { +#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, +#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { color: #fff; } @@ -338,6 +343,7 @@ ul#adminmenu > li.current > a.current:after { #wpadminbar .quicklinks .menupop ul li a:focus, #wpadminbar .quicklinks .menupop ul li a:hover strong, #wpadminbar .quicklinks .menupop ul li a:focus strong, +#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a, #wpadminbar .quicklinks .menupop.hover ul li a:hover, #wpadminbar .quicklinks .menupop.hover ul li a:focus, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, @@ -354,6 +360,8 @@ ul#adminmenu > li.current > a.current:after { } #wpadminbar .quicklinks li a:hover .blavatar, +#wpadminbar .quicklinks li a:focus .blavatar, +#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar, #wpadminbar .menupop .menupop > .ab-item:hover:before, #wpadminbar.mobile .quicklinks .ab-icon:before, #wpadminbar.mobile .quicklinks .ab-item:before { @@ -506,16 +514,6 @@ body.more-filters-opened .more-filters:focus:before { color: #fff; } -/* jQuery UI Slider */ -.wp-slider .ui-slider-handle, -.wp-slider .ui-slider-handle.ui-state-hover, -.wp-slider .ui-slider-handle.focus { - background: #e1a948; - border-color: #d39323; - -webkit-box-shadow: inset 0 1px 0 #ecc88a, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #ecc88a, 0 1px 0 rgba(0, 0, 0, 0.15); -} - /* Responsive Component */ div#wp-responsive-toggle a:before { color: #e5f8ff; diff --git a/wp-admin/css/colors/blue/colors-rtl.min.css b/wp-admin/css/colors/blue/colors-rtl.min.css index 56d9e32..ff54a3a 100644 --- a/wp-admin/css/colors/blue/colors-rtl.min.css +++ b/wp-admin/css/colors/blue/colors-rtl.min.css @@ -1 +1 @@ -html{background:#f1f1f1}a{color:#0073aa}#media-upload a.del-link:hover,.subsubsub a.current:hover,.subsubsub a:hover,a:active,a:focus,a:hover,div.dashboard-widget-submit input:hover{color:#0096dd}input[type=checkbox]:checked:before{color:#096484}input[type=radio]:checked:before{background:#096484}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}.wp-core-ui .button-primary{background:#e1a948;border-color:#d39323;color:#fff;-webkit-box-shadow:inset 0 1px 0 #ecc88a,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #ecc88a,0 1px 0 rgba(0,0,0,.15)}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#dd9f32;border-color:#bd831f;color:#fff;-webkit-box-shadow:inset 0 1px 0 #e8be74;box-shadow:inset 0 1px 0 #e8be74}.wp-core-ui .button-primary:focus{-webkit-box-shadow:inset 0 1px 0 #e8be74,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 1px 0 #e8be74,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary:active{background:#d39323;border-color:#bd831f;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary.button-primary-disabled,.wp-core-ui .button-primary.disabled,.wp-core-ui .button-primary:disabled,.wp-core-ui .button-primary[disabled]{color:#d1cdc7!important;background:#db9925!important;border-color:#bd831f!important;text-shadow:none!important}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#52accc}.wp-core-ui .wp-ui-text-primary{color:#52accc}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#096484}.wp-core-ui .wp-ui-text-highlight{color:#096484}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#e1a948}.wp-core-ui .wp-ui-text-notification{color:#e1a948}.wp-core-ui .wp-ui-text-icon{color:#e5f8ff}.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover,.wrap .add-new-h2:hover,.wrap .page-title-action:hover{color:#fff;background-color:#52accc}.view-switch a.current:before{color:#52accc}.view-switch a:hover:before{color:#e1a948}#adminmenu,#adminmenuback,#adminmenuwrap{background:#52accc}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:#e5f8ff}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#096484}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap h2 .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#4796b3}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-left-color:#4796b3}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu .wp-submenu-head,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#e2ecf1}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu .wp-submenu li.current a,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#fff}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-left-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#096484}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before,.ie8 #adminmenu li.opensub div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#e1a948}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#4796b3}#collapse-button div:after,#collapse-menu{color:#e5f8ff}#collapse-menu:hover,#collapse-menu:hover #collapse-button div:after,#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar{color:#fff;background:#52accc}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#e5f8ff}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{color:#fff;background:#4796b3}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before,#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#fff}#wpadminbar .menupop .ab-sub-wrapper{background:#4796b3}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#74b6ce}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#e2ecf1}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#e5f8ff}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#fff}#wpadminbar #adminbarsearch:before,#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#e5f8ff}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#6eb9d4}#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder{color:#fff;opacity:.7}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#6eb9d4;background-color:#6eb9d4}#wpadminbar #wp-admin-bar-user-info .display-name,#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info .username{color:#e2ecf1}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after,.wp-pointer .wp-pointer-content h3:before{color:#096484}.wp-pointer .wp-pointer-content h3{background-color:#096484;border-color:#07526c}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#096484}.media-item .bar,.media-progress-bar div{background-color:#096484}.details.attachment{-webkit-box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #096484;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #096484}.attachment.details .check{background-color:#096484;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #096484;box-shadow:0 0 0 1px #fff,0 0 0 2px #096484}.media-selection .attachment.selection.details .thumbnail{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #096484;box-shadow:0 0 0 1px #fff,0 0 0 3px #096484}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#096484}.theme-filter.current,.theme-section.current{border-bottom-color:#52accc}body.more-filters-opened .more-filters{color:#fff;background-color:#52accc}#customize-theme-controls .widget-area-select .selected,.widgets-chooser li.widgets-chooser-selected,body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#096484;color:#fff}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before,div#wp-responsive-toggle a:before{color:#e5f8ff}.wp-slider .ui-slider-handle,.wp-slider .ui-slider-handle.focus,.wp-slider .ui-slider-handle.ui-state-hover{background:#e1a948;border-color:#d39323;-webkit-box-shadow:inset 0 1px 0 #ecc88a,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #ecc88a,0 1px 0 rgba(0,0,0,.15)}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#096484}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#4796b3}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#096484} \ No newline at end of file +html{background:#f1f1f1}a{color:#0073aa}a:active,a:focus,a:hover{color:#0096dd}#media-upload a.del-link:hover,.subsubsub a.current:hover,.subsubsub a:hover,div.dashboard-widget-submit input:hover{color:#0096dd}input[type=checkbox]:checked:before{color:#096484}input[type=radio]:checked:before{background:#096484}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}.wp-core-ui .button-primary{background:#e1a948;border-color:#d39323 #bd831f #bd831f;color:#fff;-webkit-box-shadow:0 1px 0 #bd831f;box-shadow:0 1px 0 #bd831f;text-shadow:0 -1px 1px #bd831f,-1px 0 1px #bd831f,0 1px 1px #bd831f,1px 0 1px #bd831f}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#e3af55;border-color:#bd831f;color:#fff;-webkit-box-shadow:0 1px 0 #bd831f;box-shadow:0 1px 0 #bd831f}.wp-core-ui .button-primary:focus{-webkit-box-shadow:inset 0 1px 0 #d39323,0 0 2px 1px #33b3db;box-shadow:inset 0 1px 0 #d39323,0 0 2px 1px #33b3db}.wp-core-ui .button-primary:active{background:#d39323;border-color:#bd831f;-webkit-box-shadow:inset 0 2px 0 #bd831f;box-shadow:inset 0 2px 0 #bd831f}.wp-core-ui .button-primary.button-primary-disabled,.wp-core-ui .button-primary.disabled,.wp-core-ui .button-primary:disabled,.wp-core-ui .button-primary[disabled]{color:#d1cdc7!important;background:#db9925!important;border-color:#bd831f!important;text-shadow:none!important}.wp-core-ui .button-primary.button-hero{-webkit-box-shadow:0 2px 0 #bd831f!important;box-shadow:0 2px 0 #bd831f!important}.wp-core-ui .button-primary.button-hero:active{-webkit-box-shadow:inset 0 3px 0 #bd831f!important;box-shadow:inset 0 3px 0 #bd831f!important}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#52accc}.wp-core-ui .wp-ui-text-primary{color:#52accc}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#096484}.wp-core-ui .wp-ui-text-highlight{color:#096484}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#e1a948}.wp-core-ui .wp-ui-text-notification{color:#e1a948}.wp-core-ui .wp-ui-text-icon{color:#e5f8ff}.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover,.wrap .add-new-h2:hover,.wrap .page-title-action:hover{color:#fff;background-color:#52accc}.view-switch a.current:before{color:#52accc}.view-switch a:hover:before{color:#e1a948}#adminmenu,#adminmenuback,#adminmenuwrap{background:#52accc}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:#e5f8ff}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#096484}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap h2 .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#4796b3}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-left-color:#4796b3}#adminmenu .wp-submenu .wp-submenu-head{color:#e2ecf1}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#e2ecf1}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#fff}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-left-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#096484}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before,.ie8 #adminmenu li.opensub div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#e1a948}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#4796b3}#collapse-menu{color:#e5f8ff}#collapse-menu:hover{color:#fff}#collapse-button div:after{color:#e5f8ff}#collapse-menu:hover #collapse-button div:after{color:#fff}#wpadminbar{color:#fff;background:#52accc}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#e5f8ff}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{color:#fff;background:#4796b3}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#fff}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#fff}#wpadminbar .menupop .ab-sub-wrapper{background:#4796b3}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#74b6ce}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#e2ecf1}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#e5f8ff}#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#fff}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before{color:#fff}#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#e5f8ff}#wpadminbar #adminbarsearch:before{color:#e5f8ff}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#6eb9d4}#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder{color:#fff;opacity:.7}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#6eb9d4;background-color:#6eb9d4}#wpadminbar #wp-admin-bar-user-info .display-name,#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info .username{color:#e2ecf1}.wp-pointer .wp-pointer-content h3{background-color:#096484;border-color:#07526c}.wp-pointer .wp-pointer-content h3:before{color:#096484}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#096484}.media-item .bar,.media-progress-bar div{background-color:#096484}.details.attachment{-webkit-box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #096484;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #096484}.attachment.details .check{background-color:#096484;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #096484;box-shadow:0 0 0 1px #fff,0 0 0 2px #096484}.media-selection .attachment.selection.details .thumbnail{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #096484;box-shadow:0 0 0 1px #fff,0 0 0 3px #096484}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#096484}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after{color:#096484}.theme-filter.current,.theme-section.current{border-bottom-color:#52accc}body.more-filters-opened .more-filters{color:#fff;background-color:#52accc}#customize-theme-controls .widget-area-select .selected,.widgets-chooser li.widgets-chooser-selected{background-color:#096484;color:#fff}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#096484;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}div#wp-responsive-toggle a:before{color:#e5f8ff}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#096484}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#4796b3}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:#e5f8ff}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#096484} \ No newline at end of file diff --git a/wp-admin/css/colors/blue/colors.css b/wp-admin/css/colors/blue/colors.css index 8fb3d61..7b0819a 100644 --- a/wp-admin/css/colors/blue/colors.css +++ b/wp-admin/css/colors/blue/colors.css @@ -11,9 +11,7 @@ a { color: #0073aa; } -a:hover, -a:active, -a:focus { +a:hover, a:active, a:focus { color: #0096dd; } @@ -41,44 +39,50 @@ input[type=radio]:checked:before { /* Core UI */ .wp-core-ui .button-primary { background: #e1a948; - border-color: #d39323; + border-color: #d39323 #bd831f #bd831f; color: white; - -webkit-box-shadow: inset 0 1px 0 #ecc88a, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #ecc88a, 0 1px 0 rgba(0, 0, 0, 0.15); + -webkit-box-shadow: 0 1px 0 #bd831f; + box-shadow: 0 1px 0 #bd831f; + text-shadow: 0 -1px 1px #bd831f, 1px 0 1px #bd831f, 0 1px 1px #bd831f, -1px 0 1px #bd831f; } -.wp-core-ui .button-primary:hover, -.wp-core-ui .button-primary:focus { - background: #dd9f32; +.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { + background: #e3af55; border-color: #bd831f; color: white; - -webkit-box-shadow: inset 0 1px 0 #e8be74; - box-shadow: inset 0 1px 0 #e8be74; + -webkit-box-shadow: 0 1px 0 #bd831f; + box-shadow: 0 1px 0 #bd831f; } .wp-core-ui .button-primary:focus { - -webkit-box-shadow: inset 0 1px 0 #e8be74, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 1px 0 #e8be74, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); + -webkit-box-shadow: inset 0 1px 0 #d39323, 0 0 2px 1px #33b3db; + box-shadow: inset 0 1px 0 #d39323, 0 0 2px 1px #33b3db; } .wp-core-ui .button-primary:active { background: #d39323; border-color: #bd831f; - color: white; - -webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); + -webkit-box-shadow: inset 0 2px 0 #bd831f; + box-shadow: inset 0 2px 0 #bd831f; } -.wp-core-ui .button-primary[disabled], -.wp-core-ui .button-primary:disabled, -.wp-core-ui .button-primary.button-primary-disabled, -.wp-core-ui .button-primary.disabled { +.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled { color: #d1cdc7 !important; background: #db9925 !important; border-color: #bd831f !important; text-shadow: none !important; } +.wp-core-ui .button-primary.button-hero { + -webkit-box-shadow: 0 2px 0 #bd831f !important; + box-shadow: 0 2px 0 #bd831f !important; +} + +.wp-core-ui .button-primary.button-hero:active { + -webkit-box-shadow: inset 0 3px 0 #bd831f !important; + box-shadow: inset 0 3px 0 #bd831f !important; +} + .wp-core-ui .wp-ui-primary { color: #fff; background-color: #52accc; @@ -111,7 +115,8 @@ input[type=radio]:checked:before { } /* List tables */ -.wrap .add-new-h2:hover, .wrap .page-title-action:hover, +.wrap .add-new-h2:hover, +.wrap .page-title-action:hover, .tablenav .tablenav-pages a:hover, .tablenav .tablenav-pages a:focus { color: #fff; @@ -187,15 +192,15 @@ input[type=radio]:checked:before { color: #e2ecf1; } -#adminmenu .wp-submenu a:focus, -#adminmenu .wp-submenu a:hover, +#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, #adminmenu .wp-has-current-submenu .wp-submenu a:focus, #adminmenu .wp-has-current-submenu .wp-submenu a:hover, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { +#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, +#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { color: #fff; } @@ -206,11 +211,11 @@ input[type=radio]:checked:before { color: #fff; } -#adminmenu .wp-submenu li.current a:hover, -#adminmenu .wp-submenu li.current a:focus, +#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { +#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, +#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { color: #fff; } @@ -338,6 +343,7 @@ ul#adminmenu > li.current > a.current:after { #wpadminbar .quicklinks .menupop ul li a:focus, #wpadminbar .quicklinks .menupop ul li a:hover strong, #wpadminbar .quicklinks .menupop ul li a:focus strong, +#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a, #wpadminbar .quicklinks .menupop.hover ul li a:hover, #wpadminbar .quicklinks .menupop.hover ul li a:focus, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, @@ -354,6 +360,8 @@ ul#adminmenu > li.current > a.current:after { } #wpadminbar .quicklinks li a:hover .blavatar, +#wpadminbar .quicklinks li a:focus .blavatar, +#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar, #wpadminbar .menupop .menupop > .ab-item:hover:before, #wpadminbar.mobile .quicklinks .ab-icon:before, #wpadminbar.mobile .quicklinks .ab-item:before { @@ -506,16 +514,6 @@ body.more-filters-opened .more-filters:focus:before { color: #fff; } -/* jQuery UI Slider */ -.wp-slider .ui-slider-handle, -.wp-slider .ui-slider-handle.ui-state-hover, -.wp-slider .ui-slider-handle.focus { - background: #e1a948; - border-color: #d39323; - -webkit-box-shadow: inset 0 1px 0 #ecc88a, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #ecc88a, 0 1px 0 rgba(0, 0, 0, 0.15); -} - /* Responsive Component */ div#wp-responsive-toggle a:before { color: #e5f8ff; diff --git a/wp-admin/css/colors/blue/colors.min.css b/wp-admin/css/colors/blue/colors.min.css index c5d45e3..eb10c9d 100644 --- a/wp-admin/css/colors/blue/colors.min.css +++ b/wp-admin/css/colors/blue/colors.min.css @@ -1 +1 @@ -html{background:#f1f1f1}a{color:#0073aa}#media-upload a.del-link:hover,.subsubsub a.current:hover,.subsubsub a:hover,a:active,a:focus,a:hover,div.dashboard-widget-submit input:hover{color:#0096dd}input[type=checkbox]:checked:before{color:#096484}input[type=radio]:checked:before{background:#096484}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}.wp-core-ui .button-primary{background:#e1a948;border-color:#d39323;color:#fff;-webkit-box-shadow:inset 0 1px 0 #ecc88a,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #ecc88a,0 1px 0 rgba(0,0,0,.15)}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#dd9f32;border-color:#bd831f;color:#fff;-webkit-box-shadow:inset 0 1px 0 #e8be74;box-shadow:inset 0 1px 0 #e8be74}.wp-core-ui .button-primary:focus{-webkit-box-shadow:inset 0 1px 0 #e8be74,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 1px 0 #e8be74,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary:active{background:#d39323;border-color:#bd831f;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary.button-primary-disabled,.wp-core-ui .button-primary.disabled,.wp-core-ui .button-primary:disabled,.wp-core-ui .button-primary[disabled]{color:#d1cdc7!important;background:#db9925!important;border-color:#bd831f!important;text-shadow:none!important}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#52accc}.wp-core-ui .wp-ui-text-primary{color:#52accc}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#096484}.wp-core-ui .wp-ui-text-highlight{color:#096484}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#e1a948}.wp-core-ui .wp-ui-text-notification{color:#e1a948}.wp-core-ui .wp-ui-text-icon{color:#e5f8ff}.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover,.wrap .add-new-h2:hover,.wrap .page-title-action:hover{color:#fff;background-color:#52accc}.view-switch a.current:before{color:#52accc}.view-switch a:hover:before{color:#e1a948}#adminmenu,#adminmenuback,#adminmenuwrap{background:#52accc}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:#e5f8ff}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#096484}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap h2 .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#4796b3}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-right-color:#4796b3}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu .wp-submenu-head,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#e2ecf1}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu .wp-submenu li.current a,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#fff}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#096484}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before,.ie8 #adminmenu li.opensub div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#e1a948}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#4796b3}#collapse-button div:after,#collapse-menu{color:#e5f8ff}#collapse-menu:hover,#collapse-menu:hover #collapse-button div:after,#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar{color:#fff;background:#52accc}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#e5f8ff}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{color:#fff;background:#4796b3}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before,#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#fff}#wpadminbar .menupop .ab-sub-wrapper{background:#4796b3}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#74b6ce}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#e2ecf1}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#e5f8ff}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#fff}#wpadminbar #adminbarsearch:before,#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#e5f8ff}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#6eb9d4}#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder{color:#fff;opacity:.7}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#6eb9d4;background-color:#6eb9d4}#wpadminbar #wp-admin-bar-user-info .display-name,#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info .username{color:#e2ecf1}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after,.wp-pointer .wp-pointer-content h3:before{color:#096484}.wp-pointer .wp-pointer-content h3{background-color:#096484;border-color:#07526c}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#096484}.media-item .bar,.media-progress-bar div{background-color:#096484}.details.attachment{-webkit-box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #096484;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #096484}.attachment.details .check{background-color:#096484;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #096484;box-shadow:0 0 0 1px #fff,0 0 0 2px #096484}.media-selection .attachment.selection.details .thumbnail{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #096484;box-shadow:0 0 0 1px #fff,0 0 0 3px #096484}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#096484}.theme-filter.current,.theme-section.current{border-bottom-color:#52accc}body.more-filters-opened .more-filters{color:#fff;background-color:#52accc}#customize-theme-controls .widget-area-select .selected,.widgets-chooser li.widgets-chooser-selected,body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#096484;color:#fff}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before,div#wp-responsive-toggle a:before{color:#e5f8ff}.wp-slider .ui-slider-handle,.wp-slider .ui-slider-handle.focus,.wp-slider .ui-slider-handle.ui-state-hover{background:#e1a948;border-color:#d39323;-webkit-box-shadow:inset 0 1px 0 #ecc88a,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #ecc88a,0 1px 0 rgba(0,0,0,.15)}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#096484}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#4796b3}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#096484} \ No newline at end of file +html{background:#f1f1f1}a{color:#0073aa}a:active,a:focus,a:hover{color:#0096dd}#media-upload a.del-link:hover,.subsubsub a.current:hover,.subsubsub a:hover,div.dashboard-widget-submit input:hover{color:#0096dd}input[type=checkbox]:checked:before{color:#096484}input[type=radio]:checked:before{background:#096484}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}.wp-core-ui .button-primary{background:#e1a948;border-color:#d39323 #bd831f #bd831f;color:#fff;-webkit-box-shadow:0 1px 0 #bd831f;box-shadow:0 1px 0 #bd831f;text-shadow:0 -1px 1px #bd831f,1px 0 1px #bd831f,0 1px 1px #bd831f,-1px 0 1px #bd831f}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#e3af55;border-color:#bd831f;color:#fff;-webkit-box-shadow:0 1px 0 #bd831f;box-shadow:0 1px 0 #bd831f}.wp-core-ui .button-primary:focus{-webkit-box-shadow:inset 0 1px 0 #d39323,0 0 2px 1px #33b3db;box-shadow:inset 0 1px 0 #d39323,0 0 2px 1px #33b3db}.wp-core-ui .button-primary:active{background:#d39323;border-color:#bd831f;-webkit-box-shadow:inset 0 2px 0 #bd831f;box-shadow:inset 0 2px 0 #bd831f}.wp-core-ui .button-primary.button-primary-disabled,.wp-core-ui .button-primary.disabled,.wp-core-ui .button-primary:disabled,.wp-core-ui .button-primary[disabled]{color:#d1cdc7!important;background:#db9925!important;border-color:#bd831f!important;text-shadow:none!important}.wp-core-ui .button-primary.button-hero{-webkit-box-shadow:0 2px 0 #bd831f!important;box-shadow:0 2px 0 #bd831f!important}.wp-core-ui .button-primary.button-hero:active{-webkit-box-shadow:inset 0 3px 0 #bd831f!important;box-shadow:inset 0 3px 0 #bd831f!important}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#52accc}.wp-core-ui .wp-ui-text-primary{color:#52accc}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#096484}.wp-core-ui .wp-ui-text-highlight{color:#096484}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#e1a948}.wp-core-ui .wp-ui-text-notification{color:#e1a948}.wp-core-ui .wp-ui-text-icon{color:#e5f8ff}.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover,.wrap .add-new-h2:hover,.wrap .page-title-action:hover{color:#fff;background-color:#52accc}.view-switch a.current:before{color:#52accc}.view-switch a:hover:before{color:#e1a948}#adminmenu,#adminmenuback,#adminmenuwrap{background:#52accc}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:#e5f8ff}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#096484}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap h2 .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#4796b3}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-right-color:#4796b3}#adminmenu .wp-submenu .wp-submenu-head{color:#e2ecf1}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#e2ecf1}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#fff}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#096484}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before,.ie8 #adminmenu li.opensub div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#e1a948}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#4796b3}#collapse-menu{color:#e5f8ff}#collapse-menu:hover{color:#fff}#collapse-button div:after{color:#e5f8ff}#collapse-menu:hover #collapse-button div:after{color:#fff}#wpadminbar{color:#fff;background:#52accc}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#e5f8ff}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{color:#fff;background:#4796b3}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#fff}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#fff}#wpadminbar .menupop .ab-sub-wrapper{background:#4796b3}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#74b6ce}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#e2ecf1}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#e5f8ff}#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#fff}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before{color:#fff}#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#e5f8ff}#wpadminbar #adminbarsearch:before{color:#e5f8ff}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#6eb9d4}#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder{color:#fff;opacity:.7}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#6eb9d4;background-color:#6eb9d4}#wpadminbar #wp-admin-bar-user-info .display-name,#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info .username{color:#e2ecf1}.wp-pointer .wp-pointer-content h3{background-color:#096484;border-color:#07526c}.wp-pointer .wp-pointer-content h3:before{color:#096484}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#096484}.media-item .bar,.media-progress-bar div{background-color:#096484}.details.attachment{-webkit-box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #096484;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #096484}.attachment.details .check{background-color:#096484;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #096484;box-shadow:0 0 0 1px #fff,0 0 0 2px #096484}.media-selection .attachment.selection.details .thumbnail{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #096484;box-shadow:0 0 0 1px #fff,0 0 0 3px #096484}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#096484}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after{color:#096484}.theme-filter.current,.theme-section.current{border-bottom-color:#52accc}body.more-filters-opened .more-filters{color:#fff;background-color:#52accc}#customize-theme-controls .widget-area-select .selected,.widgets-chooser li.widgets-chooser-selected{background-color:#096484;color:#fff}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#096484;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}div#wp-responsive-toggle a:before{color:#e5f8ff}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#096484}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#4796b3}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:#e5f8ff}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#096484} \ No newline at end of file diff --git a/wp-admin/css/colors/coffee/colors-rtl.css b/wp-admin/css/colors/coffee/colors-rtl.css index 23866fc..5af52fd 100644 --- a/wp-admin/css/colors/coffee/colors-rtl.css +++ b/wp-admin/css/colors/coffee/colors-rtl.css @@ -11,9 +11,7 @@ a { color: #0073aa; } -a:hover, -a:active, -a:focus { +a:hover, a:active, a:focus { color: #0096dd; } @@ -41,44 +39,50 @@ input[type=radio]:checked:before { /* Core UI */ .wp-core-ui .button-primary { background: #c7a589; - border-color: #b78b66; + border-color: #b78b66 #ae7d55 #ae7d55; color: white; - -webkit-box-shadow: inset 0 1px 0 #e0cdbd, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #e0cdbd, 0 1px 0 rgba(0, 0, 0, 0.15); + -webkit-box-shadow: 0 1px 0 #ae7d55; + box-shadow: 0 1px 0 #ae7d55; + text-shadow: 0 -1px 1px #ae7d55, -1px 0 1px #ae7d55, 0 1px 1px #ae7d55, 1px 0 1px #ae7d55; } -.wp-core-ui .button-primary:hover, -.wp-core-ui .button-primary:focus { - background: #bf9878; +.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { + background: #ccad93; border-color: #ae7d55; color: white; - -webkit-box-shadow: inset 0 1px 0 #d7bfac; - box-shadow: inset 0 1px 0 #d7bfac; + -webkit-box-shadow: 0 1px 0 #ae7d55; + box-shadow: 0 1px 0 #ae7d55; } .wp-core-ui .button-primary:focus { - -webkit-box-shadow: inset 0 1px 0 #d7bfac, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 1px 0 #d7bfac, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); + -webkit-box-shadow: inset 0 1px 0 #b78b66, 0 0 2px 1px #33b3db; + box-shadow: inset 0 1px 0 #b78b66, 0 0 2px 1px #33b3db; } .wp-core-ui .button-primary:active { background: #b78b66; border-color: #ae7d55; - color: white; - -webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); + -webkit-box-shadow: inset 0 2px 0 #ae7d55; + box-shadow: inset 0 2px 0 #ae7d55; } -.wp-core-ui .button-primary[disabled], -.wp-core-ui .button-primary:disabled, -.wp-core-ui .button-primary.button-primary-disabled, -.wp-core-ui .button-primary.disabled { +.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled { color: #d1ccc7 !important; background: #ba906d !important; border-color: #ae7d55 !important; text-shadow: none !important; } +.wp-core-ui .button-primary.button-hero { + -webkit-box-shadow: 0 2px 0 #ae7d55 !important; + box-shadow: 0 2px 0 #ae7d55 !important; +} + +.wp-core-ui .button-primary.button-hero:active { + -webkit-box-shadow: inset 0 3px 0 #ae7d55 !important; + box-shadow: inset 0 3px 0 #ae7d55 !important; +} + .wp-core-ui .wp-ui-primary { color: #fff; background-color: #59524c; @@ -111,7 +115,8 @@ input[type=radio]:checked:before { } /* List tables */ -.wrap .add-new-h2:hover, .wrap .page-title-action:hover, +.wrap .add-new-h2:hover, +.wrap .page-title-action:hover, .tablenav .tablenav-pages a:hover, .tablenav .tablenav-pages a:focus { color: #fff; @@ -187,15 +192,15 @@ input[type=radio]:checked:before { color: #cdcbc9; } -#adminmenu .wp-submenu a:focus, -#adminmenu .wp-submenu a:hover, +#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, #adminmenu .wp-has-current-submenu .wp-submenu a:focus, #adminmenu .wp-has-current-submenu .wp-submenu a:hover, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { +#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, +#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { color: #c7a589; } @@ -206,11 +211,11 @@ input[type=radio]:checked:before { color: #fff; } -#adminmenu .wp-submenu li.current a:hover, -#adminmenu .wp-submenu li.current a:focus, +#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { +#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, +#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { color: #c7a589; } @@ -338,6 +343,7 @@ ul#adminmenu > li.current > a.current:after { #wpadminbar .quicklinks .menupop ul li a:focus, #wpadminbar .quicklinks .menupop ul li a:hover strong, #wpadminbar .quicklinks .menupop ul li a:focus strong, +#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a, #wpadminbar .quicklinks .menupop.hover ul li a:hover, #wpadminbar .quicklinks .menupop.hover ul li a:focus, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, @@ -354,6 +360,8 @@ ul#adminmenu > li.current > a.current:after { } #wpadminbar .quicklinks li a:hover .blavatar, +#wpadminbar .quicklinks li a:focus .blavatar, +#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar, #wpadminbar .menupop .menupop > .ab-item:hover:before, #wpadminbar.mobile .quicklinks .ab-icon:before, #wpadminbar.mobile .quicklinks .ab-item:before { @@ -506,16 +514,6 @@ body.more-filters-opened .more-filters:focus:before { color: #fff; } -/* jQuery UI Slider */ -.wp-slider .ui-slider-handle, -.wp-slider .ui-slider-handle.ui-state-hover, -.wp-slider .ui-slider-handle.focus { - background: #c7a589; - border-color: #b78b66; - -webkit-box-shadow: inset 0 1px 0 #e0cdbd, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #e0cdbd, 0 1px 0 rgba(0, 0, 0, 0.15); -} - /* Responsive Component */ div#wp-responsive-toggle a:before { color: #f3f2f1; diff --git a/wp-admin/css/colors/coffee/colors-rtl.min.css b/wp-admin/css/colors/coffee/colors-rtl.min.css index 39921d5..930afef 100644 --- a/wp-admin/css/colors/coffee/colors-rtl.min.css +++ b/wp-admin/css/colors/coffee/colors-rtl.min.css @@ -1 +1 @@ -html{background:#f1f1f1}a{color:#0073aa}#media-upload a.del-link:hover,.subsubsub a.current:hover,.subsubsub a:hover,a:active,a:focus,a:hover,div.dashboard-widget-submit input:hover{color:#0096dd}input[type=checkbox]:checked:before{color:#59524c}input[type=radio]:checked:before{background:#59524c}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}.wp-core-ui .button-primary{background:#c7a589;border-color:#b78b66;color:#fff;-webkit-box-shadow:inset 0 1px 0 #e0cdbd,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #e0cdbd,0 1px 0 rgba(0,0,0,.15)}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#bf9878;border-color:#ae7d55;color:#fff;-webkit-box-shadow:inset 0 1px 0 #d7bfac;box-shadow:inset 0 1px 0 #d7bfac}.wp-core-ui .button-primary:focus{-webkit-box-shadow:inset 0 1px 0 #d7bfac,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 1px 0 #d7bfac,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary:active{background:#b78b66;border-color:#ae7d55;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary.button-primary-disabled,.wp-core-ui .button-primary.disabled,.wp-core-ui .button-primary:disabled,.wp-core-ui .button-primary[disabled]{color:#d1ccc7!important;background:#ba906d!important;border-color:#ae7d55!important;text-shadow:none!important}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#59524c}.wp-core-ui .wp-ui-text-primary{color:#59524c}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#c7a589}.wp-core-ui .wp-ui-text-highlight{color:#c7a589}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#9ea476}.wp-core-ui .wp-ui-text-notification{color:#9ea476}.wp-core-ui .wp-ui-text-icon{color:#f3f2f1}.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover,.wrap .add-new-h2:hover,.wrap .page-title-action:hover{color:#fff;background-color:#59524c}.view-switch a.current:before{color:#59524c}.view-switch a:hover:before{color:#9ea476}#adminmenu,#adminmenuback,#adminmenuwrap{background:#59524c}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:#f3f2f1}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#c7a589}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap h2 .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#46403c}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-left-color:#46403c}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu .wp-submenu-head,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#cdcbc9}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#c7a589}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#c7a589}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-left-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#c7a589}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before,.ie8 #adminmenu li.opensub div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#9ea476}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#46403c}#collapse-button div:after,#collapse-menu{color:#f3f2f1}#collapse-menu:hover,#collapse-menu:hover #collapse-button div:after,#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar{color:#fff;background:#59524c}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#f3f2f1}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{color:#c7a589;background:#46403c}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#c7a589}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#fff}#wpadminbar .menupop .ab-sub-wrapper{background:#46403c}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#656463}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#cdcbc9}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#f3f2f1}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#c7a589}#wpadminbar #adminbarsearch:before,#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#f3f2f1}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#6c645c}#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder{color:#fff;opacity:.7}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#6c645c;background-color:#6c645c}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#c7a589}#wpadminbar #wp-admin-bar-user-info .username{color:#cdcbc9}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after,.wp-pointer .wp-pointer-content h3:before{color:#c7a589}.wp-pointer .wp-pointer-content h3{background-color:#c7a589;border-color:#bf9878}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#c7a589}.media-item .bar,.media-progress-bar div{background-color:#c7a589}.details.attachment{-webkit-box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #c7a589;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #c7a589}.attachment.details .check{background-color:#c7a589;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #c7a589;box-shadow:0 0 0 1px #fff,0 0 0 2px #c7a589}.media-selection .attachment.selection.details .thumbnail{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #c7a589;box-shadow:0 0 0 1px #fff,0 0 0 3px #c7a589}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#c7a589}.theme-filter.current,.theme-section.current{border-bottom-color:#59524c}body.more-filters-opened .more-filters{color:#fff;background-color:#59524c}#customize-theme-controls .widget-area-select .selected,.widgets-chooser li.widgets-chooser-selected,body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#c7a589;color:#fff}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before,div#wp-responsive-toggle a:before{color:#f3f2f1}.wp-slider .ui-slider-handle,.wp-slider .ui-slider-handle.focus,.wp-slider .ui-slider-handle.ui-state-hover{background:#c7a589;border-color:#b78b66;-webkit-box-shadow:inset 0 1px 0 #e0cdbd,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #e0cdbd,0 1px 0 rgba(0,0,0,.15)}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#c7a589}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#46403c}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#c7a589} \ No newline at end of file +html{background:#f1f1f1}a{color:#0073aa}a:active,a:focus,a:hover{color:#0096dd}#media-upload a.del-link:hover,.subsubsub a.current:hover,.subsubsub a:hover,div.dashboard-widget-submit input:hover{color:#0096dd}input[type=checkbox]:checked:before{color:#59524c}input[type=radio]:checked:before{background:#59524c}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}.wp-core-ui .button-primary{background:#c7a589;border-color:#b78b66 #ae7d55 #ae7d55;color:#fff;-webkit-box-shadow:0 1px 0 #ae7d55;box-shadow:0 1px 0 #ae7d55;text-shadow:0 -1px 1px #ae7d55,-1px 0 1px #ae7d55,0 1px 1px #ae7d55,1px 0 1px #ae7d55}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#ccad93;border-color:#ae7d55;color:#fff;-webkit-box-shadow:0 1px 0 #ae7d55;box-shadow:0 1px 0 #ae7d55}.wp-core-ui .button-primary:focus{-webkit-box-shadow:inset 0 1px 0 #b78b66,0 0 2px 1px #33b3db;box-shadow:inset 0 1px 0 #b78b66,0 0 2px 1px #33b3db}.wp-core-ui .button-primary:active{background:#b78b66;border-color:#ae7d55;-webkit-box-shadow:inset 0 2px 0 #ae7d55;box-shadow:inset 0 2px 0 #ae7d55}.wp-core-ui .button-primary.button-primary-disabled,.wp-core-ui .button-primary.disabled,.wp-core-ui .button-primary:disabled,.wp-core-ui .button-primary[disabled]{color:#d1ccc7!important;background:#ba906d!important;border-color:#ae7d55!important;text-shadow:none!important}.wp-core-ui .button-primary.button-hero{-webkit-box-shadow:0 2px 0 #ae7d55!important;box-shadow:0 2px 0 #ae7d55!important}.wp-core-ui .button-primary.button-hero:active{-webkit-box-shadow:inset 0 3px 0 #ae7d55!important;box-shadow:inset 0 3px 0 #ae7d55!important}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#59524c}.wp-core-ui .wp-ui-text-primary{color:#59524c}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#c7a589}.wp-core-ui .wp-ui-text-highlight{color:#c7a589}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#9ea476}.wp-core-ui .wp-ui-text-notification{color:#9ea476}.wp-core-ui .wp-ui-text-icon{color:#f3f2f1}.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover,.wrap .add-new-h2:hover,.wrap .page-title-action:hover{color:#fff;background-color:#59524c}.view-switch a.current:before{color:#59524c}.view-switch a:hover:before{color:#9ea476}#adminmenu,#adminmenuback,#adminmenuwrap{background:#59524c}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:#f3f2f1}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#c7a589}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap h2 .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#46403c}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-left-color:#46403c}#adminmenu .wp-submenu .wp-submenu-head{color:#cdcbc9}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#cdcbc9}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#c7a589}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#c7a589}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-left-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#c7a589}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before,.ie8 #adminmenu li.opensub div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#9ea476}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#46403c}#collapse-menu{color:#f3f2f1}#collapse-menu:hover{color:#fff}#collapse-button div:after{color:#f3f2f1}#collapse-menu:hover #collapse-button div:after{color:#fff}#wpadminbar{color:#fff;background:#59524c}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#f3f2f1}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{color:#c7a589;background:#46403c}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#c7a589}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#fff}#wpadminbar .menupop .ab-sub-wrapper{background:#46403c}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#656463}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#cdcbc9}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#f3f2f1}#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#c7a589}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before{color:#c7a589}#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#f3f2f1}#wpadminbar #adminbarsearch:before{color:#f3f2f1}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#6c645c}#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder{color:#fff;opacity:.7}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#6c645c;background-color:#6c645c}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#c7a589}#wpadminbar #wp-admin-bar-user-info .username{color:#cdcbc9}.wp-pointer .wp-pointer-content h3{background-color:#c7a589;border-color:#bf9878}.wp-pointer .wp-pointer-content h3:before{color:#c7a589}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#c7a589}.media-item .bar,.media-progress-bar div{background-color:#c7a589}.details.attachment{-webkit-box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #c7a589;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #c7a589}.attachment.details .check{background-color:#c7a589;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #c7a589;box-shadow:0 0 0 1px #fff,0 0 0 2px #c7a589}.media-selection .attachment.selection.details .thumbnail{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #c7a589;box-shadow:0 0 0 1px #fff,0 0 0 3px #c7a589}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#c7a589}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after{color:#c7a589}.theme-filter.current,.theme-section.current{border-bottom-color:#59524c}body.more-filters-opened .more-filters{color:#fff;background-color:#59524c}#customize-theme-controls .widget-area-select .selected,.widgets-chooser li.widgets-chooser-selected{background-color:#c7a589;color:#fff}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#c7a589;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}div#wp-responsive-toggle a:before{color:#f3f2f1}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#c7a589}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#46403c}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:#f3f2f1}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#c7a589} \ No newline at end of file diff --git a/wp-admin/css/colors/coffee/colors.css b/wp-admin/css/colors/coffee/colors.css index 7d690f6..8050e39 100644 --- a/wp-admin/css/colors/coffee/colors.css +++ b/wp-admin/css/colors/coffee/colors.css @@ -11,9 +11,7 @@ a { color: #0073aa; } -a:hover, -a:active, -a:focus { +a:hover, a:active, a:focus { color: #0096dd; } @@ -41,44 +39,50 @@ input[type=radio]:checked:before { /* Core UI */ .wp-core-ui .button-primary { background: #c7a589; - border-color: #b78b66; + border-color: #b78b66 #ae7d55 #ae7d55; color: white; - -webkit-box-shadow: inset 0 1px 0 #e0cdbd, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #e0cdbd, 0 1px 0 rgba(0, 0, 0, 0.15); + -webkit-box-shadow: 0 1px 0 #ae7d55; + box-shadow: 0 1px 0 #ae7d55; + text-shadow: 0 -1px 1px #ae7d55, 1px 0 1px #ae7d55, 0 1px 1px #ae7d55, -1px 0 1px #ae7d55; } -.wp-core-ui .button-primary:hover, -.wp-core-ui .button-primary:focus { - background: #bf9878; +.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { + background: #ccad93; border-color: #ae7d55; color: white; - -webkit-box-shadow: inset 0 1px 0 #d7bfac; - box-shadow: inset 0 1px 0 #d7bfac; + -webkit-box-shadow: 0 1px 0 #ae7d55; + box-shadow: 0 1px 0 #ae7d55; } .wp-core-ui .button-primary:focus { - -webkit-box-shadow: inset 0 1px 0 #d7bfac, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 1px 0 #d7bfac, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); + -webkit-box-shadow: inset 0 1px 0 #b78b66, 0 0 2px 1px #33b3db; + box-shadow: inset 0 1px 0 #b78b66, 0 0 2px 1px #33b3db; } .wp-core-ui .button-primary:active { background: #b78b66; border-color: #ae7d55; - color: white; - -webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); + -webkit-box-shadow: inset 0 2px 0 #ae7d55; + box-shadow: inset 0 2px 0 #ae7d55; } -.wp-core-ui .button-primary[disabled], -.wp-core-ui .button-primary:disabled, -.wp-core-ui .button-primary.button-primary-disabled, -.wp-core-ui .button-primary.disabled { +.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled { color: #d1ccc7 !important; background: #ba906d !important; border-color: #ae7d55 !important; text-shadow: none !important; } +.wp-core-ui .button-primary.button-hero { + -webkit-box-shadow: 0 2px 0 #ae7d55 !important; + box-shadow: 0 2px 0 #ae7d55 !important; +} + +.wp-core-ui .button-primary.button-hero:active { + -webkit-box-shadow: inset 0 3px 0 #ae7d55 !important; + box-shadow: inset 0 3px 0 #ae7d55 !important; +} + .wp-core-ui .wp-ui-primary { color: #fff; background-color: #59524c; @@ -111,7 +115,8 @@ input[type=radio]:checked:before { } /* List tables */ -.wrap .add-new-h2:hover, .wrap .page-title-action:hover, +.wrap .add-new-h2:hover, +.wrap .page-title-action:hover, .tablenav .tablenav-pages a:hover, .tablenav .tablenav-pages a:focus { color: #fff; @@ -187,15 +192,15 @@ input[type=radio]:checked:before { color: #cdcbc9; } -#adminmenu .wp-submenu a:focus, -#adminmenu .wp-submenu a:hover, +#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, #adminmenu .wp-has-current-submenu .wp-submenu a:focus, #adminmenu .wp-has-current-submenu .wp-submenu a:hover, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { +#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, +#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { color: #c7a589; } @@ -206,11 +211,11 @@ input[type=radio]:checked:before { color: #fff; } -#adminmenu .wp-submenu li.current a:hover, -#adminmenu .wp-submenu li.current a:focus, +#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { +#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, +#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { color: #c7a589; } @@ -338,6 +343,7 @@ ul#adminmenu > li.current > a.current:after { #wpadminbar .quicklinks .menupop ul li a:focus, #wpadminbar .quicklinks .menupop ul li a:hover strong, #wpadminbar .quicklinks .menupop ul li a:focus strong, +#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a, #wpadminbar .quicklinks .menupop.hover ul li a:hover, #wpadminbar .quicklinks .menupop.hover ul li a:focus, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, @@ -354,6 +360,8 @@ ul#adminmenu > li.current > a.current:after { } #wpadminbar .quicklinks li a:hover .blavatar, +#wpadminbar .quicklinks li a:focus .blavatar, +#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar, #wpadminbar .menupop .menupop > .ab-item:hover:before, #wpadminbar.mobile .quicklinks .ab-icon:before, #wpadminbar.mobile .quicklinks .ab-item:before { @@ -506,16 +514,6 @@ body.more-filters-opened .more-filters:focus:before { color: #fff; } -/* jQuery UI Slider */ -.wp-slider .ui-slider-handle, -.wp-slider .ui-slider-handle.ui-state-hover, -.wp-slider .ui-slider-handle.focus { - background: #c7a589; - border-color: #b78b66; - -webkit-box-shadow: inset 0 1px 0 #e0cdbd, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #e0cdbd, 0 1px 0 rgba(0, 0, 0, 0.15); -} - /* Responsive Component */ div#wp-responsive-toggle a:before { color: #f3f2f1; diff --git a/wp-admin/css/colors/coffee/colors.min.css b/wp-admin/css/colors/coffee/colors.min.css index 6b46541..9f00ed6 100644 --- a/wp-admin/css/colors/coffee/colors.min.css +++ b/wp-admin/css/colors/coffee/colors.min.css @@ -1 +1 @@ -html{background:#f1f1f1}a{color:#0073aa}#media-upload a.del-link:hover,.subsubsub a.current:hover,.subsubsub a:hover,a:active,a:focus,a:hover,div.dashboard-widget-submit input:hover{color:#0096dd}input[type=checkbox]:checked:before{color:#59524c}input[type=radio]:checked:before{background:#59524c}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}.wp-core-ui .button-primary{background:#c7a589;border-color:#b78b66;color:#fff;-webkit-box-shadow:inset 0 1px 0 #e0cdbd,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #e0cdbd,0 1px 0 rgba(0,0,0,.15)}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#bf9878;border-color:#ae7d55;color:#fff;-webkit-box-shadow:inset 0 1px 0 #d7bfac;box-shadow:inset 0 1px 0 #d7bfac}.wp-core-ui .button-primary:focus{-webkit-box-shadow:inset 0 1px 0 #d7bfac,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 1px 0 #d7bfac,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary:active{background:#b78b66;border-color:#ae7d55;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary.button-primary-disabled,.wp-core-ui .button-primary.disabled,.wp-core-ui .button-primary:disabled,.wp-core-ui .button-primary[disabled]{color:#d1ccc7!important;background:#ba906d!important;border-color:#ae7d55!important;text-shadow:none!important}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#59524c}.wp-core-ui .wp-ui-text-primary{color:#59524c}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#c7a589}.wp-core-ui .wp-ui-text-highlight{color:#c7a589}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#9ea476}.wp-core-ui .wp-ui-text-notification{color:#9ea476}.wp-core-ui .wp-ui-text-icon{color:#f3f2f1}.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover,.wrap .add-new-h2:hover,.wrap .page-title-action:hover{color:#fff;background-color:#59524c}.view-switch a.current:before{color:#59524c}.view-switch a:hover:before{color:#9ea476}#adminmenu,#adminmenuback,#adminmenuwrap{background:#59524c}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:#f3f2f1}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#c7a589}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap h2 .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#46403c}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-right-color:#46403c}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu .wp-submenu-head,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#cdcbc9}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#c7a589}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#c7a589}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#c7a589}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before,.ie8 #adminmenu li.opensub div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#9ea476}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#46403c}#collapse-button div:after,#collapse-menu{color:#f3f2f1}#collapse-menu:hover,#collapse-menu:hover #collapse-button div:after,#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar{color:#fff;background:#59524c}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#f3f2f1}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{color:#c7a589;background:#46403c}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#c7a589}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#fff}#wpadminbar .menupop .ab-sub-wrapper{background:#46403c}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#656463}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#cdcbc9}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#f3f2f1}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#c7a589}#wpadminbar #adminbarsearch:before,#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#f3f2f1}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#6c645c}#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder{color:#fff;opacity:.7}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#6c645c;background-color:#6c645c}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#c7a589}#wpadminbar #wp-admin-bar-user-info .username{color:#cdcbc9}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after,.wp-pointer .wp-pointer-content h3:before{color:#c7a589}.wp-pointer .wp-pointer-content h3{background-color:#c7a589;border-color:#bf9878}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#c7a589}.media-item .bar,.media-progress-bar div{background-color:#c7a589}.details.attachment{-webkit-box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #c7a589;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #c7a589}.attachment.details .check{background-color:#c7a589;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #c7a589;box-shadow:0 0 0 1px #fff,0 0 0 2px #c7a589}.media-selection .attachment.selection.details .thumbnail{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #c7a589;box-shadow:0 0 0 1px #fff,0 0 0 3px #c7a589}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#c7a589}.theme-filter.current,.theme-section.current{border-bottom-color:#59524c}body.more-filters-opened .more-filters{color:#fff;background-color:#59524c}#customize-theme-controls .widget-area-select .selected,.widgets-chooser li.widgets-chooser-selected,body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#c7a589;color:#fff}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before,div#wp-responsive-toggle a:before{color:#f3f2f1}.wp-slider .ui-slider-handle,.wp-slider .ui-slider-handle.focus,.wp-slider .ui-slider-handle.ui-state-hover{background:#c7a589;border-color:#b78b66;-webkit-box-shadow:inset 0 1px 0 #e0cdbd,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #e0cdbd,0 1px 0 rgba(0,0,0,.15)}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#c7a589}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#46403c}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#c7a589} \ No newline at end of file +html{background:#f1f1f1}a{color:#0073aa}a:active,a:focus,a:hover{color:#0096dd}#media-upload a.del-link:hover,.subsubsub a.current:hover,.subsubsub a:hover,div.dashboard-widget-submit input:hover{color:#0096dd}input[type=checkbox]:checked:before{color:#59524c}input[type=radio]:checked:before{background:#59524c}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}.wp-core-ui .button-primary{background:#c7a589;border-color:#b78b66 #ae7d55 #ae7d55;color:#fff;-webkit-box-shadow:0 1px 0 #ae7d55;box-shadow:0 1px 0 #ae7d55;text-shadow:0 -1px 1px #ae7d55,1px 0 1px #ae7d55,0 1px 1px #ae7d55,-1px 0 1px #ae7d55}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#ccad93;border-color:#ae7d55;color:#fff;-webkit-box-shadow:0 1px 0 #ae7d55;box-shadow:0 1px 0 #ae7d55}.wp-core-ui .button-primary:focus{-webkit-box-shadow:inset 0 1px 0 #b78b66,0 0 2px 1px #33b3db;box-shadow:inset 0 1px 0 #b78b66,0 0 2px 1px #33b3db}.wp-core-ui .button-primary:active{background:#b78b66;border-color:#ae7d55;-webkit-box-shadow:inset 0 2px 0 #ae7d55;box-shadow:inset 0 2px 0 #ae7d55}.wp-core-ui .button-primary.button-primary-disabled,.wp-core-ui .button-primary.disabled,.wp-core-ui .button-primary:disabled,.wp-core-ui .button-primary[disabled]{color:#d1ccc7!important;background:#ba906d!important;border-color:#ae7d55!important;text-shadow:none!important}.wp-core-ui .button-primary.button-hero{-webkit-box-shadow:0 2px 0 #ae7d55!important;box-shadow:0 2px 0 #ae7d55!important}.wp-core-ui .button-primary.button-hero:active{-webkit-box-shadow:inset 0 3px 0 #ae7d55!important;box-shadow:inset 0 3px 0 #ae7d55!important}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#59524c}.wp-core-ui .wp-ui-text-primary{color:#59524c}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#c7a589}.wp-core-ui .wp-ui-text-highlight{color:#c7a589}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#9ea476}.wp-core-ui .wp-ui-text-notification{color:#9ea476}.wp-core-ui .wp-ui-text-icon{color:#f3f2f1}.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover,.wrap .add-new-h2:hover,.wrap .page-title-action:hover{color:#fff;background-color:#59524c}.view-switch a.current:before{color:#59524c}.view-switch a:hover:before{color:#9ea476}#adminmenu,#adminmenuback,#adminmenuwrap{background:#59524c}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:#f3f2f1}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#c7a589}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap h2 .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#46403c}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-right-color:#46403c}#adminmenu .wp-submenu .wp-submenu-head{color:#cdcbc9}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#cdcbc9}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#c7a589}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#c7a589}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#c7a589}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before,.ie8 #adminmenu li.opensub div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#9ea476}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#46403c}#collapse-menu{color:#f3f2f1}#collapse-menu:hover{color:#fff}#collapse-button div:after{color:#f3f2f1}#collapse-menu:hover #collapse-button div:after{color:#fff}#wpadminbar{color:#fff;background:#59524c}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#f3f2f1}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{color:#c7a589;background:#46403c}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#c7a589}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#fff}#wpadminbar .menupop .ab-sub-wrapper{background:#46403c}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#656463}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#cdcbc9}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#f3f2f1}#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#c7a589}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before{color:#c7a589}#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#f3f2f1}#wpadminbar #adminbarsearch:before{color:#f3f2f1}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#6c645c}#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder{color:#fff;opacity:.7}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#6c645c;background-color:#6c645c}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#c7a589}#wpadminbar #wp-admin-bar-user-info .username{color:#cdcbc9}.wp-pointer .wp-pointer-content h3{background-color:#c7a589;border-color:#bf9878}.wp-pointer .wp-pointer-content h3:before{color:#c7a589}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#c7a589}.media-item .bar,.media-progress-bar div{background-color:#c7a589}.details.attachment{-webkit-box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #c7a589;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #c7a589}.attachment.details .check{background-color:#c7a589;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #c7a589;box-shadow:0 0 0 1px #fff,0 0 0 2px #c7a589}.media-selection .attachment.selection.details .thumbnail{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #c7a589;box-shadow:0 0 0 1px #fff,0 0 0 3px #c7a589}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#c7a589}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after{color:#c7a589}.theme-filter.current,.theme-section.current{border-bottom-color:#59524c}body.more-filters-opened .more-filters{color:#fff;background-color:#59524c}#customize-theme-controls .widget-area-select .selected,.widgets-chooser li.widgets-chooser-selected{background-color:#c7a589;color:#fff}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#c7a589;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}div#wp-responsive-toggle a:before{color:#f3f2f1}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#c7a589}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#46403c}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:#f3f2f1}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#c7a589} \ No newline at end of file diff --git a/wp-admin/css/colors/ectoplasm/colors-rtl.css b/wp-admin/css/colors/ectoplasm/colors-rtl.css index 01f212f..5363651 100644 --- a/wp-admin/css/colors/ectoplasm/colors-rtl.css +++ b/wp-admin/css/colors/ectoplasm/colors-rtl.css @@ -11,9 +11,7 @@ a { color: #0073aa; } -a:hover, -a:active, -a:focus { +a:hover, a:active, a:focus { color: #0096dd; } @@ -41,44 +39,50 @@ input[type=radio]:checked:before { /* Core UI */ .wp-core-ui .button-primary { background: #a3b745; - border-color: #829237; + border-color: #829237 #727f30 #727f30; color: white; - -webkit-box-shadow: inset 0 1px 0 #bfcd7b, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #bfcd7b, 0 1px 0 rgba(0, 0, 0, 0.15); + -webkit-box-shadow: 0 1px 0 #727f30; + box-shadow: 0 1px 0 #727f30; + text-shadow: 0 -1px 1px #727f30, -1px 0 1px #727f30, 0 1px 1px #727f30, 1px 0 1px #727f30; } -.wp-core-ui .button-primary:hover, -.wp-core-ui .button-primary:focus { - background: #93a43e; +.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { + background: #a9bd4f; border-color: #727f30; color: white; - -webkit-box-shadow: inset 0 1px 0 #b6c669; - box-shadow: inset 0 1px 0 #b6c669; + -webkit-box-shadow: 0 1px 0 #727f30; + box-shadow: 0 1px 0 #727f30; } .wp-core-ui .button-primary:focus { - -webkit-box-shadow: inset 0 1px 0 #b6c669, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 1px 0 #b6c669, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); + -webkit-box-shadow: inset 0 1px 0 #829237, 0 0 2px 1px #33b3db; + box-shadow: inset 0 1px 0 #829237, 0 0 2px 1px #33b3db; } .wp-core-ui .button-primary:active { background: #829237; border-color: #727f30; - color: white; - -webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); + -webkit-box-shadow: inset 0 2px 0 #727f30; + box-shadow: inset 0 2px 0 #727f30; } -.wp-core-ui .button-primary[disabled], -.wp-core-ui .button-primary:disabled, -.wp-core-ui .button-primary.button-primary-disabled, -.wp-core-ui .button-primary.disabled { +.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled { color: #cfd1c7 !important; background: #89993a !important; border-color: #727f30 !important; text-shadow: none !important; } +.wp-core-ui .button-primary.button-hero { + -webkit-box-shadow: 0 2px 0 #727f30 !important; + box-shadow: 0 2px 0 #727f30 !important; +} + +.wp-core-ui .button-primary.button-hero:active { + -webkit-box-shadow: inset 0 3px 0 #727f30 !important; + box-shadow: inset 0 3px 0 #727f30 !important; +} + .wp-core-ui .wp-ui-primary { color: #fff; background-color: #523f6d; @@ -111,7 +115,8 @@ input[type=radio]:checked:before { } /* List tables */ -.wrap .add-new-h2:hover, .wrap .page-title-action:hover, +.wrap .add-new-h2:hover, +.wrap .page-title-action:hover, .tablenav .tablenav-pages a:hover, .tablenav .tablenav-pages a:focus { color: #fff; @@ -187,15 +192,15 @@ input[type=radio]:checked:before { color: #cbc5d3; } -#adminmenu .wp-submenu a:focus, -#adminmenu .wp-submenu a:hover, +#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, #adminmenu .wp-has-current-submenu .wp-submenu a:focus, #adminmenu .wp-has-current-submenu .wp-submenu a:hover, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { +#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, +#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { color: #a3b745; } @@ -206,11 +211,11 @@ input[type=radio]:checked:before { color: #fff; } -#adminmenu .wp-submenu li.current a:hover, -#adminmenu .wp-submenu li.current a:focus, +#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { +#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, +#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { color: #a3b745; } @@ -338,6 +343,7 @@ ul#adminmenu > li.current > a.current:after { #wpadminbar .quicklinks .menupop ul li a:focus, #wpadminbar .quicklinks .menupop ul li a:hover strong, #wpadminbar .quicklinks .menupop ul li a:focus strong, +#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a, #wpadminbar .quicklinks .menupop.hover ul li a:hover, #wpadminbar .quicklinks .menupop.hover ul li a:focus, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, @@ -354,6 +360,8 @@ ul#adminmenu > li.current > a.current:after { } #wpadminbar .quicklinks li a:hover .blavatar, +#wpadminbar .quicklinks li a:focus .blavatar, +#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar, #wpadminbar .menupop .menupop > .ab-item:hover:before, #wpadminbar.mobile .quicklinks .ab-icon:before, #wpadminbar.mobile .quicklinks .ab-item:before { @@ -506,16 +514,6 @@ body.more-filters-opened .more-filters:focus:before { color: #fff; } -/* jQuery UI Slider */ -.wp-slider .ui-slider-handle, -.wp-slider .ui-slider-handle.ui-state-hover, -.wp-slider .ui-slider-handle.focus { - background: #a3b745; - border-color: #829237; - -webkit-box-shadow: inset 0 1px 0 #bfcd7b, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #bfcd7b, 0 1px 0 rgba(0, 0, 0, 0.15); -} - /* Responsive Component */ div#wp-responsive-toggle a:before { color: #ece6f6; diff --git a/wp-admin/css/colors/ectoplasm/colors-rtl.min.css b/wp-admin/css/colors/ectoplasm/colors-rtl.min.css index eaaa3cd..c4afe76 100644 --- a/wp-admin/css/colors/ectoplasm/colors-rtl.min.css +++ b/wp-admin/css/colors/ectoplasm/colors-rtl.min.css @@ -1 +1 @@ -html{background:#f1f1f1}a{color:#0073aa}#media-upload a.del-link:hover,.subsubsub a.current:hover,.subsubsub a:hover,a:active,a:focus,a:hover,div.dashboard-widget-submit input:hover{color:#0096dd}input[type=checkbox]:checked:before{color:#523f6d}input[type=radio]:checked:before{background:#523f6d}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}.wp-core-ui .button-primary{background:#a3b745;border-color:#829237;color:#fff;-webkit-box-shadow:inset 0 1px 0 #bfcd7b,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #bfcd7b,0 1px 0 rgba(0,0,0,.15)}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#93a43e;border-color:#727f30;color:#fff;-webkit-box-shadow:inset 0 1px 0 #b6c669;box-shadow:inset 0 1px 0 #b6c669}.wp-core-ui .button-primary:focus{-webkit-box-shadow:inset 0 1px 0 #b6c669,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 1px 0 #b6c669,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary:active{background:#829237;border-color:#727f30;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary.button-primary-disabled,.wp-core-ui .button-primary.disabled,.wp-core-ui .button-primary:disabled,.wp-core-ui .button-primary[disabled]{color:#cfd1c7!important;background:#89993a!important;border-color:#727f30!important;text-shadow:none!important}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#523f6d}.wp-core-ui .wp-ui-text-primary{color:#523f6d}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#a3b745}.wp-core-ui .wp-ui-text-highlight{color:#a3b745}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#d46f15}.wp-core-ui .wp-ui-text-notification{color:#d46f15}.wp-core-ui .wp-ui-text-icon{color:#ece6f6}.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover,.wrap .add-new-h2:hover,.wrap .page-title-action:hover{color:#fff;background-color:#523f6d}.view-switch a.current:before{color:#523f6d}.view-switch a:hover:before{color:#d46f15}#adminmenu,#adminmenuback,#adminmenuwrap{background:#523f6d}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:#ece6f6}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#a3b745}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap h2 .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#413256}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-left-color:#413256}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu .wp-submenu-head,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#cbc5d3}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#a3b745}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#a3b745}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-left-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#a3b745}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before,.ie8 #adminmenu li.opensub div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#d46f15}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#413256}#collapse-button div:after,#collapse-menu{color:#ece6f6}#collapse-menu:hover,#collapse-menu:hover #collapse-button div:after,#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar{color:#fff;background:#523f6d}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#ece6f6}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{color:#a3b745;background:#413256}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#a3b745}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#fff}#wpadminbar .menupop .ab-sub-wrapper{background:#413256}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#64537c}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#cbc5d3}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#ece6f6}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#a3b745}#wpadminbar #adminbarsearch:before,#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#ece6f6}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#634c84}#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder{color:#fff;opacity:.7}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#634c84;background-color:#634c84}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#a3b745}#wpadminbar #wp-admin-bar-user-info .username{color:#cbc5d3}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after,.wp-pointer .wp-pointer-content h3:before{color:#a3b745}.wp-pointer .wp-pointer-content h3{background-color:#a3b745;border-color:#93a43e}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#a3b745}.media-item .bar,.media-progress-bar div{background-color:#a3b745}.details.attachment{-webkit-box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #a3b745;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #a3b745}.attachment.details .check{background-color:#a3b745;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #a3b745;box-shadow:0 0 0 1px #fff,0 0 0 2px #a3b745}.media-selection .attachment.selection.details .thumbnail{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #a3b745;box-shadow:0 0 0 1px #fff,0 0 0 3px #a3b745}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#a3b745}.theme-filter.current,.theme-section.current{border-bottom-color:#523f6d}body.more-filters-opened .more-filters{color:#fff;background-color:#523f6d}#customize-theme-controls .widget-area-select .selected,.widgets-chooser li.widgets-chooser-selected,body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#a3b745;color:#fff}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before,div#wp-responsive-toggle a:before{color:#ece6f6}.wp-slider .ui-slider-handle,.wp-slider .ui-slider-handle.focus,.wp-slider .ui-slider-handle.ui-state-hover{background:#a3b745;border-color:#829237;-webkit-box-shadow:inset 0 1px 0 #bfcd7b,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #bfcd7b,0 1px 0 rgba(0,0,0,.15)}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#a3b745}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#413256}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#a3b745} \ No newline at end of file +html{background:#f1f1f1}a{color:#0073aa}a:active,a:focus,a:hover{color:#0096dd}#media-upload a.del-link:hover,.subsubsub a.current:hover,.subsubsub a:hover,div.dashboard-widget-submit input:hover{color:#0096dd}input[type=checkbox]:checked:before{color:#523f6d}input[type=radio]:checked:before{background:#523f6d}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}.wp-core-ui .button-primary{background:#a3b745;border-color:#829237 #727f30 #727f30;color:#fff;-webkit-box-shadow:0 1px 0 #727f30;box-shadow:0 1px 0 #727f30;text-shadow:0 -1px 1px #727f30,-1px 0 1px #727f30,0 1px 1px #727f30,1px 0 1px #727f30}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#a9bd4f;border-color:#727f30;color:#fff;-webkit-box-shadow:0 1px 0 #727f30;box-shadow:0 1px 0 #727f30}.wp-core-ui .button-primary:focus{-webkit-box-shadow:inset 0 1px 0 #829237,0 0 2px 1px #33b3db;box-shadow:inset 0 1px 0 #829237,0 0 2px 1px #33b3db}.wp-core-ui .button-primary:active{background:#829237;border-color:#727f30;-webkit-box-shadow:inset 0 2px 0 #727f30;box-shadow:inset 0 2px 0 #727f30}.wp-core-ui .button-primary.button-primary-disabled,.wp-core-ui .button-primary.disabled,.wp-core-ui .button-primary:disabled,.wp-core-ui .button-primary[disabled]{color:#cfd1c7!important;background:#89993a!important;border-color:#727f30!important;text-shadow:none!important}.wp-core-ui .button-primary.button-hero{-webkit-box-shadow:0 2px 0 #727f30!important;box-shadow:0 2px 0 #727f30!important}.wp-core-ui .button-primary.button-hero:active{-webkit-box-shadow:inset 0 3px 0 #727f30!important;box-shadow:inset 0 3px 0 #727f30!important}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#523f6d}.wp-core-ui .wp-ui-text-primary{color:#523f6d}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#a3b745}.wp-core-ui .wp-ui-text-highlight{color:#a3b745}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#d46f15}.wp-core-ui .wp-ui-text-notification{color:#d46f15}.wp-core-ui .wp-ui-text-icon{color:#ece6f6}.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover,.wrap .add-new-h2:hover,.wrap .page-title-action:hover{color:#fff;background-color:#523f6d}.view-switch a.current:before{color:#523f6d}.view-switch a:hover:before{color:#d46f15}#adminmenu,#adminmenuback,#adminmenuwrap{background:#523f6d}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:#ece6f6}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#a3b745}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap h2 .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#413256}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-left-color:#413256}#adminmenu .wp-submenu .wp-submenu-head{color:#cbc5d3}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#cbc5d3}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#a3b745}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#a3b745}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-left-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#a3b745}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before,.ie8 #adminmenu li.opensub div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#d46f15}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#413256}#collapse-menu{color:#ece6f6}#collapse-menu:hover{color:#fff}#collapse-button div:after{color:#ece6f6}#collapse-menu:hover #collapse-button div:after{color:#fff}#wpadminbar{color:#fff;background:#523f6d}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#ece6f6}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{color:#a3b745;background:#413256}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#a3b745}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#fff}#wpadminbar .menupop .ab-sub-wrapper{background:#413256}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#64537c}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#cbc5d3}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#ece6f6}#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#a3b745}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before{color:#a3b745}#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#ece6f6}#wpadminbar #adminbarsearch:before{color:#ece6f6}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#634c84}#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder{color:#fff;opacity:.7}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#634c84;background-color:#634c84}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#a3b745}#wpadminbar #wp-admin-bar-user-info .username{color:#cbc5d3}.wp-pointer .wp-pointer-content h3{background-color:#a3b745;border-color:#93a43e}.wp-pointer .wp-pointer-content h3:before{color:#a3b745}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#a3b745}.media-item .bar,.media-progress-bar div{background-color:#a3b745}.details.attachment{-webkit-box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #a3b745;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #a3b745}.attachment.details .check{background-color:#a3b745;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #a3b745;box-shadow:0 0 0 1px #fff,0 0 0 2px #a3b745}.media-selection .attachment.selection.details .thumbnail{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #a3b745;box-shadow:0 0 0 1px #fff,0 0 0 3px #a3b745}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#a3b745}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after{color:#a3b745}.theme-filter.current,.theme-section.current{border-bottom-color:#523f6d}body.more-filters-opened .more-filters{color:#fff;background-color:#523f6d}#customize-theme-controls .widget-area-select .selected,.widgets-chooser li.widgets-chooser-selected{background-color:#a3b745;color:#fff}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#a3b745;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}div#wp-responsive-toggle a:before{color:#ece6f6}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#a3b745}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#413256}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:#ece6f6}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#a3b745} \ No newline at end of file diff --git a/wp-admin/css/colors/ectoplasm/colors.css b/wp-admin/css/colors/ectoplasm/colors.css index f98d460..053d469 100644 --- a/wp-admin/css/colors/ectoplasm/colors.css +++ b/wp-admin/css/colors/ectoplasm/colors.css @@ -11,9 +11,7 @@ a { color: #0073aa; } -a:hover, -a:active, -a:focus { +a:hover, a:active, a:focus { color: #0096dd; } @@ -41,44 +39,50 @@ input[type=radio]:checked:before { /* Core UI */ .wp-core-ui .button-primary { background: #a3b745; - border-color: #829237; + border-color: #829237 #727f30 #727f30; color: white; - -webkit-box-shadow: inset 0 1px 0 #bfcd7b, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #bfcd7b, 0 1px 0 rgba(0, 0, 0, 0.15); + -webkit-box-shadow: 0 1px 0 #727f30; + box-shadow: 0 1px 0 #727f30; + text-shadow: 0 -1px 1px #727f30, 1px 0 1px #727f30, 0 1px 1px #727f30, -1px 0 1px #727f30; } -.wp-core-ui .button-primary:hover, -.wp-core-ui .button-primary:focus { - background: #93a43e; +.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { + background: #a9bd4f; border-color: #727f30; color: white; - -webkit-box-shadow: inset 0 1px 0 #b6c669; - box-shadow: inset 0 1px 0 #b6c669; + -webkit-box-shadow: 0 1px 0 #727f30; + box-shadow: 0 1px 0 #727f30; } .wp-core-ui .button-primary:focus { - -webkit-box-shadow: inset 0 1px 0 #b6c669, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 1px 0 #b6c669, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); + -webkit-box-shadow: inset 0 1px 0 #829237, 0 0 2px 1px #33b3db; + box-shadow: inset 0 1px 0 #829237, 0 0 2px 1px #33b3db; } .wp-core-ui .button-primary:active { background: #829237; border-color: #727f30; - color: white; - -webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); + -webkit-box-shadow: inset 0 2px 0 #727f30; + box-shadow: inset 0 2px 0 #727f30; } -.wp-core-ui .button-primary[disabled], -.wp-core-ui .button-primary:disabled, -.wp-core-ui .button-primary.button-primary-disabled, -.wp-core-ui .button-primary.disabled { +.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled { color: #cfd1c7 !important; background: #89993a !important; border-color: #727f30 !important; text-shadow: none !important; } +.wp-core-ui .button-primary.button-hero { + -webkit-box-shadow: 0 2px 0 #727f30 !important; + box-shadow: 0 2px 0 #727f30 !important; +} + +.wp-core-ui .button-primary.button-hero:active { + -webkit-box-shadow: inset 0 3px 0 #727f30 !important; + box-shadow: inset 0 3px 0 #727f30 !important; +} + .wp-core-ui .wp-ui-primary { color: #fff; background-color: #523f6d; @@ -111,7 +115,8 @@ input[type=radio]:checked:before { } /* List tables */ -.wrap .add-new-h2:hover, .wrap .page-title-action:hover, +.wrap .add-new-h2:hover, +.wrap .page-title-action:hover, .tablenav .tablenav-pages a:hover, .tablenav .tablenav-pages a:focus { color: #fff; @@ -187,15 +192,15 @@ input[type=radio]:checked:before { color: #cbc5d3; } -#adminmenu .wp-submenu a:focus, -#adminmenu .wp-submenu a:hover, +#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, #adminmenu .wp-has-current-submenu .wp-submenu a:focus, #adminmenu .wp-has-current-submenu .wp-submenu a:hover, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { +#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, +#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { color: #a3b745; } @@ -206,11 +211,11 @@ input[type=radio]:checked:before { color: #fff; } -#adminmenu .wp-submenu li.current a:hover, -#adminmenu .wp-submenu li.current a:focus, +#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { +#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, +#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { color: #a3b745; } @@ -338,6 +343,7 @@ ul#adminmenu > li.current > a.current:after { #wpadminbar .quicklinks .menupop ul li a:focus, #wpadminbar .quicklinks .menupop ul li a:hover strong, #wpadminbar .quicklinks .menupop ul li a:focus strong, +#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a, #wpadminbar .quicklinks .menupop.hover ul li a:hover, #wpadminbar .quicklinks .menupop.hover ul li a:focus, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, @@ -354,6 +360,8 @@ ul#adminmenu > li.current > a.current:after { } #wpadminbar .quicklinks li a:hover .blavatar, +#wpadminbar .quicklinks li a:focus .blavatar, +#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar, #wpadminbar .menupop .menupop > .ab-item:hover:before, #wpadminbar.mobile .quicklinks .ab-icon:before, #wpadminbar.mobile .quicklinks .ab-item:before { @@ -506,16 +514,6 @@ body.more-filters-opened .more-filters:focus:before { color: #fff; } -/* jQuery UI Slider */ -.wp-slider .ui-slider-handle, -.wp-slider .ui-slider-handle.ui-state-hover, -.wp-slider .ui-slider-handle.focus { - background: #a3b745; - border-color: #829237; - -webkit-box-shadow: inset 0 1px 0 #bfcd7b, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #bfcd7b, 0 1px 0 rgba(0, 0, 0, 0.15); -} - /* Responsive Component */ div#wp-responsive-toggle a:before { color: #ece6f6; diff --git a/wp-admin/css/colors/ectoplasm/colors.min.css b/wp-admin/css/colors/ectoplasm/colors.min.css index e98bf7b..5f1f0c4 100644 --- a/wp-admin/css/colors/ectoplasm/colors.min.css +++ b/wp-admin/css/colors/ectoplasm/colors.min.css @@ -1 +1 @@ -html{background:#f1f1f1}a{color:#0073aa}#media-upload a.del-link:hover,.subsubsub a.current:hover,.subsubsub a:hover,a:active,a:focus,a:hover,div.dashboard-widget-submit input:hover{color:#0096dd}input[type=checkbox]:checked:before{color:#523f6d}input[type=radio]:checked:before{background:#523f6d}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}.wp-core-ui .button-primary{background:#a3b745;border-color:#829237;color:#fff;-webkit-box-shadow:inset 0 1px 0 #bfcd7b,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #bfcd7b,0 1px 0 rgba(0,0,0,.15)}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#93a43e;border-color:#727f30;color:#fff;-webkit-box-shadow:inset 0 1px 0 #b6c669;box-shadow:inset 0 1px 0 #b6c669}.wp-core-ui .button-primary:focus{-webkit-box-shadow:inset 0 1px 0 #b6c669,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 1px 0 #b6c669,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary:active{background:#829237;border-color:#727f30;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary.button-primary-disabled,.wp-core-ui .button-primary.disabled,.wp-core-ui .button-primary:disabled,.wp-core-ui .button-primary[disabled]{color:#cfd1c7!important;background:#89993a!important;border-color:#727f30!important;text-shadow:none!important}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#523f6d}.wp-core-ui .wp-ui-text-primary{color:#523f6d}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#a3b745}.wp-core-ui .wp-ui-text-highlight{color:#a3b745}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#d46f15}.wp-core-ui .wp-ui-text-notification{color:#d46f15}.wp-core-ui .wp-ui-text-icon{color:#ece6f6}.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover,.wrap .add-new-h2:hover,.wrap .page-title-action:hover{color:#fff;background-color:#523f6d}.view-switch a.current:before{color:#523f6d}.view-switch a:hover:before{color:#d46f15}#adminmenu,#adminmenuback,#adminmenuwrap{background:#523f6d}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:#ece6f6}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#a3b745}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap h2 .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#413256}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-right-color:#413256}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu .wp-submenu-head,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#cbc5d3}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#a3b745}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#a3b745}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#a3b745}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before,.ie8 #adminmenu li.opensub div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#d46f15}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#413256}#collapse-button div:after,#collapse-menu{color:#ece6f6}#collapse-menu:hover,#collapse-menu:hover #collapse-button div:after,#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar{color:#fff;background:#523f6d}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#ece6f6}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{color:#a3b745;background:#413256}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#a3b745}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#fff}#wpadminbar .menupop .ab-sub-wrapper{background:#413256}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#64537c}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#cbc5d3}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#ece6f6}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#a3b745}#wpadminbar #adminbarsearch:before,#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#ece6f6}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#634c84}#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder{color:#fff;opacity:.7}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#634c84;background-color:#634c84}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#a3b745}#wpadminbar #wp-admin-bar-user-info .username{color:#cbc5d3}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after,.wp-pointer .wp-pointer-content h3:before{color:#a3b745}.wp-pointer .wp-pointer-content h3{background-color:#a3b745;border-color:#93a43e}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#a3b745}.media-item .bar,.media-progress-bar div{background-color:#a3b745}.details.attachment{-webkit-box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #a3b745;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #a3b745}.attachment.details .check{background-color:#a3b745;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #a3b745;box-shadow:0 0 0 1px #fff,0 0 0 2px #a3b745}.media-selection .attachment.selection.details .thumbnail{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #a3b745;box-shadow:0 0 0 1px #fff,0 0 0 3px #a3b745}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#a3b745}.theme-filter.current,.theme-section.current{border-bottom-color:#523f6d}body.more-filters-opened .more-filters{color:#fff;background-color:#523f6d}#customize-theme-controls .widget-area-select .selected,.widgets-chooser li.widgets-chooser-selected,body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#a3b745;color:#fff}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before,div#wp-responsive-toggle a:before{color:#ece6f6}.wp-slider .ui-slider-handle,.wp-slider .ui-slider-handle.focus,.wp-slider .ui-slider-handle.ui-state-hover{background:#a3b745;border-color:#829237;-webkit-box-shadow:inset 0 1px 0 #bfcd7b,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #bfcd7b,0 1px 0 rgba(0,0,0,.15)}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#a3b745}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#413256}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#a3b745} \ No newline at end of file +html{background:#f1f1f1}a{color:#0073aa}a:active,a:focus,a:hover{color:#0096dd}#media-upload a.del-link:hover,.subsubsub a.current:hover,.subsubsub a:hover,div.dashboard-widget-submit input:hover{color:#0096dd}input[type=checkbox]:checked:before{color:#523f6d}input[type=radio]:checked:before{background:#523f6d}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}.wp-core-ui .button-primary{background:#a3b745;border-color:#829237 #727f30 #727f30;color:#fff;-webkit-box-shadow:0 1px 0 #727f30;box-shadow:0 1px 0 #727f30;text-shadow:0 -1px 1px #727f30,1px 0 1px #727f30,0 1px 1px #727f30,-1px 0 1px #727f30}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#a9bd4f;border-color:#727f30;color:#fff;-webkit-box-shadow:0 1px 0 #727f30;box-shadow:0 1px 0 #727f30}.wp-core-ui .button-primary:focus{-webkit-box-shadow:inset 0 1px 0 #829237,0 0 2px 1px #33b3db;box-shadow:inset 0 1px 0 #829237,0 0 2px 1px #33b3db}.wp-core-ui .button-primary:active{background:#829237;border-color:#727f30;-webkit-box-shadow:inset 0 2px 0 #727f30;box-shadow:inset 0 2px 0 #727f30}.wp-core-ui .button-primary.button-primary-disabled,.wp-core-ui .button-primary.disabled,.wp-core-ui .button-primary:disabled,.wp-core-ui .button-primary[disabled]{color:#cfd1c7!important;background:#89993a!important;border-color:#727f30!important;text-shadow:none!important}.wp-core-ui .button-primary.button-hero{-webkit-box-shadow:0 2px 0 #727f30!important;box-shadow:0 2px 0 #727f30!important}.wp-core-ui .button-primary.button-hero:active{-webkit-box-shadow:inset 0 3px 0 #727f30!important;box-shadow:inset 0 3px 0 #727f30!important}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#523f6d}.wp-core-ui .wp-ui-text-primary{color:#523f6d}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#a3b745}.wp-core-ui .wp-ui-text-highlight{color:#a3b745}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#d46f15}.wp-core-ui .wp-ui-text-notification{color:#d46f15}.wp-core-ui .wp-ui-text-icon{color:#ece6f6}.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover,.wrap .add-new-h2:hover,.wrap .page-title-action:hover{color:#fff;background-color:#523f6d}.view-switch a.current:before{color:#523f6d}.view-switch a:hover:before{color:#d46f15}#adminmenu,#adminmenuback,#adminmenuwrap{background:#523f6d}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:#ece6f6}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#a3b745}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap h2 .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#413256}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-right-color:#413256}#adminmenu .wp-submenu .wp-submenu-head{color:#cbc5d3}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#cbc5d3}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#a3b745}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#a3b745}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#a3b745}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before,.ie8 #adminmenu li.opensub div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#d46f15}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#413256}#collapse-menu{color:#ece6f6}#collapse-menu:hover{color:#fff}#collapse-button div:after{color:#ece6f6}#collapse-menu:hover #collapse-button div:after{color:#fff}#wpadminbar{color:#fff;background:#523f6d}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#ece6f6}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{color:#a3b745;background:#413256}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#a3b745}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#fff}#wpadminbar .menupop .ab-sub-wrapper{background:#413256}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#64537c}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#cbc5d3}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#ece6f6}#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#a3b745}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before{color:#a3b745}#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#ece6f6}#wpadminbar #adminbarsearch:before{color:#ece6f6}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#634c84}#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder{color:#fff;opacity:.7}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#634c84;background-color:#634c84}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#a3b745}#wpadminbar #wp-admin-bar-user-info .username{color:#cbc5d3}.wp-pointer .wp-pointer-content h3{background-color:#a3b745;border-color:#93a43e}.wp-pointer .wp-pointer-content h3:before{color:#a3b745}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#a3b745}.media-item .bar,.media-progress-bar div{background-color:#a3b745}.details.attachment{-webkit-box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #a3b745;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #a3b745}.attachment.details .check{background-color:#a3b745;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #a3b745;box-shadow:0 0 0 1px #fff,0 0 0 2px #a3b745}.media-selection .attachment.selection.details .thumbnail{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #a3b745;box-shadow:0 0 0 1px #fff,0 0 0 3px #a3b745}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#a3b745}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after{color:#a3b745}.theme-filter.current,.theme-section.current{border-bottom-color:#523f6d}body.more-filters-opened .more-filters{color:#fff;background-color:#523f6d}#customize-theme-controls .widget-area-select .selected,.widgets-chooser li.widgets-chooser-selected{background-color:#a3b745;color:#fff}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#a3b745;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}div#wp-responsive-toggle a:before{color:#ece6f6}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#a3b745}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#413256}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:#ece6f6}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#a3b745} \ No newline at end of file diff --git a/wp-admin/css/colors/light/colors-rtl.css b/wp-admin/css/colors/light/colors-rtl.css index c1ab81a..02fb1eb 100644 --- a/wp-admin/css/colors/light/colors-rtl.css +++ b/wp-admin/css/colors/light/colors-rtl.css @@ -11,9 +11,7 @@ a { color: #0073aa; } -a:hover, -a:active, -a:focus { +a:hover, a:active, a:focus { color: #0096dd; } @@ -41,44 +39,50 @@ input[type=radio]:checked:before { /* Core UI */ .wp-core-ui .button-primary { background: #04a4cc; - border-color: #037c9a; + border-color: #037c9a #036881 #036881; color: white; - -webkit-box-shadow: inset 0 1px 0 #22cffb, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #22cffb, 0 1px 0 rgba(0, 0, 0, 0.15); + -webkit-box-shadow: 0 1px 0 #036881; + box-shadow: 0 1px 0 #036881; + text-shadow: 0 -1px 1px #036881, -1px 0 1px #036881, 0 1px 1px #036881, 1px 0 1px #036881; } -.wp-core-ui .button-primary:hover, -.wp-core-ui .button-primary:focus { - background: #0490b3; +.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { + background: #04b0db; border-color: #036881; color: white; - -webkit-box-shadow: inset 0 1px 0 #09cafa; - box-shadow: inset 0 1px 0 #09cafa; + -webkit-box-shadow: 0 1px 0 #036881; + box-shadow: 0 1px 0 #036881; } .wp-core-ui .button-primary:focus { - -webkit-box-shadow: inset 0 1px 0 #09cafa, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 1px 0 #09cafa, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); + -webkit-box-shadow: inset 0 1px 0 #037c9a, 0 0 2px 1px #33b3db; + box-shadow: inset 0 1px 0 #037c9a, 0 0 2px 1px #33b3db; } .wp-core-ui .button-primary:active { background: #037c9a; border-color: #036881; - color: white; - -webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); + -webkit-box-shadow: inset 0 2px 0 #036881; + box-shadow: inset 0 2px 0 #036881; } -.wp-core-ui .button-primary[disabled], -.wp-core-ui .button-primary:disabled, -.wp-core-ui .button-primary.button-primary-disabled, -.wp-core-ui .button-primary.disabled { +.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled { color: #c7cfd1 !important; background: #0384a4 !important; border-color: #036881 !important; text-shadow: none !important; } +.wp-core-ui .button-primary.button-hero { + -webkit-box-shadow: 0 2px 0 #036881 !important; + box-shadow: 0 2px 0 #036881 !important; +} + +.wp-core-ui .button-primary.button-hero:active { + -webkit-box-shadow: inset 0 3px 0 #036881 !important; + box-shadow: inset 0 3px 0 #036881 !important; +} + .wp-core-ui .wp-ui-primary { color: #333; background-color: #e5e5e5; @@ -111,7 +115,8 @@ input[type=radio]:checked:before { } /* List tables */ -.wrap .add-new-h2:hover, .wrap .page-title-action:hover, +.wrap .add-new-h2:hover, +.wrap .page-title-action:hover, .tablenav .tablenav-pages a:hover, .tablenav .tablenav-pages a:focus { color: #333; @@ -187,15 +192,15 @@ input[type=radio]:checked:before { color: #686868; } -#adminmenu .wp-submenu a:focus, -#adminmenu .wp-submenu a:hover, +#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, #adminmenu .wp-has-current-submenu .wp-submenu a:focus, #adminmenu .wp-has-current-submenu .wp-submenu a:hover, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { +#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, +#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { color: #04a4cc; } @@ -206,11 +211,11 @@ input[type=radio]:checked:before { color: #333; } -#adminmenu .wp-submenu li.current a:hover, -#adminmenu .wp-submenu li.current a:focus, +#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { +#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, +#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { color: #04a4cc; } @@ -338,6 +343,7 @@ ul#adminmenu > li.current > a.current:after { #wpadminbar .quicklinks .menupop ul li a:focus, #wpadminbar .quicklinks .menupop ul li a:hover strong, #wpadminbar .quicklinks .menupop ul li a:focus strong, +#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a, #wpadminbar .quicklinks .menupop.hover ul li a:hover, #wpadminbar .quicklinks .menupop.hover ul li a:focus, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, @@ -354,6 +360,8 @@ ul#adminmenu > li.current > a.current:after { } #wpadminbar .quicklinks li a:hover .blavatar, +#wpadminbar .quicklinks li a:focus .blavatar, +#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar, #wpadminbar .menupop .menupop > .ab-item:hover:before, #wpadminbar.mobile .quicklinks .ab-icon:before, #wpadminbar.mobile .quicklinks .ab-item:before { @@ -506,16 +514,6 @@ body.more-filters-opened .more-filters:focus:before { color: #fff; } -/* jQuery UI Slider */ -.wp-slider .ui-slider-handle, -.wp-slider .ui-slider-handle.ui-state-hover, -.wp-slider .ui-slider-handle.focus { - background: #04a4cc; - border-color: #037c9a; - -webkit-box-shadow: inset 0 1px 0 #22cffb, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #22cffb, 0 1px 0 rgba(0, 0, 0, 0.15); -} - /* Responsive Component */ div#wp-responsive-toggle a:before { color: #999; diff --git a/wp-admin/css/colors/light/colors-rtl.min.css b/wp-admin/css/colors/light/colors-rtl.min.css index 8108994..a10da55 100644 --- a/wp-admin/css/colors/light/colors-rtl.min.css +++ b/wp-admin/css/colors/light/colors-rtl.min.css @@ -1 +1 @@ -html{background:#f5f5f5}a{color:#0073aa}#media-upload a.del-link:hover,.subsubsub a.current:hover,.subsubsub a:hover,a:active,a:focus,a:hover,div.dashboard-widget-submit input:hover{color:#0096dd}input[type=checkbox]:checked:before{color:#04a4cc}input[type=radio]:checked:before{background:#04a4cc}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}.wp-core-ui .button-primary{background:#04a4cc;border-color:#037c9a;color:#fff;-webkit-box-shadow:inset 0 1px 0 #22cffb,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #22cffb,0 1px 0 rgba(0,0,0,.15)}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#0490b3;border-color:#036881;color:#fff;-webkit-box-shadow:inset 0 1px 0 #09cafa;box-shadow:inset 0 1px 0 #09cafa}.wp-core-ui .button-primary:focus{-webkit-box-shadow:inset 0 1px 0 #09cafa,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 1px 0 #09cafa,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary:active{background:#037c9a;border-color:#036881;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary.button-primary-disabled,.wp-core-ui .button-primary.disabled,.wp-core-ui .button-primary:disabled,.wp-core-ui .button-primary[disabled]{color:#c7cfd1!important;background:#0384a4!important;border-color:#036881!important;text-shadow:none!important}.wp-core-ui .wp-ui-primary{color:#333;background-color:#e5e5e5}.wp-core-ui .wp-ui-text-primary{color:#e5e5e5}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#888}.wp-core-ui .wp-ui-text-highlight{color:#888}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#d64e07}.wp-core-ui .wp-ui-text-notification{color:#d64e07}.wp-core-ui .wp-ui-text-icon{color:#999}.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover,.wrap .add-new-h2:hover,.wrap .page-title-action:hover{color:#333;background-color:#e5e5e5}.view-switch a.current:before{color:#e5e5e5}.view-switch a:hover:before{color:#d64e07}#adminmenu,#adminmenuback,#adminmenuwrap{background:#e5e5e5}#adminmenu a{color:#333}#adminmenu div.wp-menu-image:before{color:#999}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#888}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#ccc}.about-wrap h2 .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f5f5f5;border-bottom-color:#f5f5f5}.theme-filter.current,.theme-section.current,.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#04a4cc}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#fff}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-left-color:#fff}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu .wp-submenu-head,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#686868}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#04a4cc}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#333}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#04a4cc}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-left-color:#f5f5f5}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#888}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before,.ie8 #adminmenu li.opensub div.wp-menu-image:before{color:#ccc}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#d64e07}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#333;background:#fff}#collapse-menu{color:#777}#collapse-menu:hover,#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#333}#collapse-button div:after{color:#999}#collapse-menu:hover #collapse-button div:after{color:#555}#wpadminbar{color:#333;background:#e5e5e5}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#999}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{color:#04a4cc;background:#fff}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#04a4cc}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#ccc}#wpadminbar .menupop .ab-sub-wrapper{background:#fff}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#f7f7f7}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#686868}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#999}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#04a4cc}#wpadminbar #adminbarsearch:before,#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#999}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#333;background:#f7f7f7}#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder{color:#333;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder{color:#333;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder{color:#333;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder{color:#333;opacity:.7}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#f7f7f7;background-color:#f7f7f7}#wpadminbar #wp-admin-bar-user-info .display-name{color:#333}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#04a4cc}#wpadminbar #wp-admin-bar-user-info .username{color:#686868}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after,.wp-pointer .wp-pointer-content h3:before{color:#04a4cc}.wp-pointer .wp-pointer-content h3{background-color:#04a4cc;border-color:#0490b3}.media-item .bar,.media-progress-bar div{background-color:#04a4cc}.details.attachment{-webkit-box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #04a4cc;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #04a4cc}.attachment.details .check{background-color:#04a4cc;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #04a4cc;box-shadow:0 0 0 1px #fff,0 0 0 2px #04a4cc}.media-selection .attachment.selection.details .thumbnail{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #04a4cc;box-shadow:0 0 0 1px #fff,0 0 0 3px #04a4cc}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#04a4cc}body.more-filters-opened .more-filters{color:#333;background-color:#e5e5e5}body.more-filters-opened .more-filters:before{color:#333}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#888;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected{background-color:#888;color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}#customize-theme-controls .widget-area-select .selected{background-color:#888;color:#fff}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before,div#wp-responsive-toggle a:before{color:#999}.wp-slider .ui-slider-handle,.wp-slider .ui-slider-handle.focus,.wp-slider .ui-slider-handle.ui-state-hover{background:#04a4cc;border-color:#037c9a;-webkit-box-shadow:inset 0 1px 0 #22cffb,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #22cffb,0 1px 0 rgba(0,0,0,.15)}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#888}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#fff}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#04a4cc}#wpadminbar .ab-top-menu>li.hover>.ab-item,#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar .ab-top-menu>li:hover>.ab-item,#wpadminbar .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar>#wp-toolbar>#wp-admin-bar-root-default li:hover span.ab-label,#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary li.hover span.ab-label{color:#333} \ No newline at end of file +html{background:#f5f5f5}a{color:#0073aa}a:active,a:focus,a:hover{color:#0096dd}#media-upload a.del-link:hover,.subsubsub a.current:hover,.subsubsub a:hover,div.dashboard-widget-submit input:hover{color:#0096dd}input[type=checkbox]:checked:before{color:#04a4cc}input[type=radio]:checked:before{background:#04a4cc}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}.wp-core-ui .button-primary{background:#04a4cc;border-color:#037c9a #036881 #036881;color:#fff;-webkit-box-shadow:0 1px 0 #036881;box-shadow:0 1px 0 #036881;text-shadow:0 -1px 1px #036881,-1px 0 1px #036881,0 1px 1px #036881,1px 0 1px #036881}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#04b0db;border-color:#036881;color:#fff;-webkit-box-shadow:0 1px 0 #036881;box-shadow:0 1px 0 #036881}.wp-core-ui .button-primary:focus{-webkit-box-shadow:inset 0 1px 0 #037c9a,0 0 2px 1px #33b3db;box-shadow:inset 0 1px 0 #037c9a,0 0 2px 1px #33b3db}.wp-core-ui .button-primary:active{background:#037c9a;border-color:#036881;-webkit-box-shadow:inset 0 2px 0 #036881;box-shadow:inset 0 2px 0 #036881}.wp-core-ui .button-primary.button-primary-disabled,.wp-core-ui .button-primary.disabled,.wp-core-ui .button-primary:disabled,.wp-core-ui .button-primary[disabled]{color:#c7cfd1!important;background:#0384a4!important;border-color:#036881!important;text-shadow:none!important}.wp-core-ui .button-primary.button-hero{-webkit-box-shadow:0 2px 0 #036881!important;box-shadow:0 2px 0 #036881!important}.wp-core-ui .button-primary.button-hero:active{-webkit-box-shadow:inset 0 3px 0 #036881!important;box-shadow:inset 0 3px 0 #036881!important}.wp-core-ui .wp-ui-primary{color:#333;background-color:#e5e5e5}.wp-core-ui .wp-ui-text-primary{color:#e5e5e5}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#888}.wp-core-ui .wp-ui-text-highlight{color:#888}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#d64e07}.wp-core-ui .wp-ui-text-notification{color:#d64e07}.wp-core-ui .wp-ui-text-icon{color:#999}.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover,.wrap .add-new-h2:hover,.wrap .page-title-action:hover{color:#333;background-color:#e5e5e5}.view-switch a.current:before{color:#e5e5e5}.view-switch a:hover:before{color:#d64e07}#adminmenu,#adminmenuback,#adminmenuwrap{background:#e5e5e5}#adminmenu a{color:#333}#adminmenu div.wp-menu-image:before{color:#999}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#888}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#ccc}.about-wrap h2 .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f5f5f5;border-bottom-color:#f5f5f5}.theme-filter.current,.theme-section.current,.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#04a4cc}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#fff}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-left-color:#fff}#adminmenu .wp-submenu .wp-submenu-head{color:#686868}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#686868}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#04a4cc}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#333}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#04a4cc}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-left-color:#f5f5f5}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#888}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before,.ie8 #adminmenu li.opensub div.wp-menu-image:before{color:#ccc}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#d64e07}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#333;background:#fff}#collapse-menu{color:#777}#collapse-menu:hover,#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#333}#collapse-button div:after{color:#999}#collapse-menu:hover #collapse-button div:after{color:#555}#wpadminbar{color:#333;background:#e5e5e5}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#999}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{color:#04a4cc;background:#fff}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#04a4cc}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#ccc}#wpadminbar .menupop .ab-sub-wrapper{background:#fff}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#f7f7f7}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#686868}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#999}#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#04a4cc}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before{color:#04a4cc}#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#999}#wpadminbar #adminbarsearch:before{color:#999}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#333;background:#f7f7f7}#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder{color:#333;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder{color:#333;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder{color:#333;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder{color:#333;opacity:.7}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#f7f7f7;background-color:#f7f7f7}#wpadminbar #wp-admin-bar-user-info .display-name{color:#333}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#04a4cc}#wpadminbar #wp-admin-bar-user-info .username{color:#686868}.wp-pointer .wp-pointer-content h3{background-color:#04a4cc;border-color:#0490b3}.wp-pointer .wp-pointer-content h3:before{color:#04a4cc}.media-item .bar,.media-progress-bar div{background-color:#04a4cc}.details.attachment{-webkit-box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #04a4cc;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #04a4cc}.attachment.details .check{background-color:#04a4cc;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #04a4cc;box-shadow:0 0 0 1px #fff,0 0 0 2px #04a4cc}.media-selection .attachment.selection.details .thumbnail{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #04a4cc;box-shadow:0 0 0 1px #fff,0 0 0 3px #04a4cc}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#04a4cc}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after{color:#04a4cc}body.more-filters-opened .more-filters{color:#333;background-color:#e5e5e5}body.more-filters-opened .more-filters:before{color:#333}#customize-theme-controls .widget-area-select .selected,.widgets-chooser li.widgets-chooser-selected{background-color:#888;color:#fff}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#888;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}div#wp-responsive-toggle a:before{color:#999}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#888}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#fff}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:#999}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#04a4cc}#wpadminbar .ab-top-menu>li.hover>.ab-item,#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar .ab-top-menu>li:hover>.ab-item,#wpadminbar .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar>#wp-toolbar>#wp-admin-bar-root-default li:hover span.ab-label,#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary li.hover span.ab-label{color:#333} \ No newline at end of file diff --git a/wp-admin/css/colors/light/colors.css b/wp-admin/css/colors/light/colors.css index 335e3f9..325a211 100644 --- a/wp-admin/css/colors/light/colors.css +++ b/wp-admin/css/colors/light/colors.css @@ -11,9 +11,7 @@ a { color: #0073aa; } -a:hover, -a:active, -a:focus { +a:hover, a:active, a:focus { color: #0096dd; } @@ -41,44 +39,50 @@ input[type=radio]:checked:before { /* Core UI */ .wp-core-ui .button-primary { background: #04a4cc; - border-color: #037c9a; + border-color: #037c9a #036881 #036881; color: white; - -webkit-box-shadow: inset 0 1px 0 #22cffb, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #22cffb, 0 1px 0 rgba(0, 0, 0, 0.15); + -webkit-box-shadow: 0 1px 0 #036881; + box-shadow: 0 1px 0 #036881; + text-shadow: 0 -1px 1px #036881, 1px 0 1px #036881, 0 1px 1px #036881, -1px 0 1px #036881; } -.wp-core-ui .button-primary:hover, -.wp-core-ui .button-primary:focus { - background: #0490b3; +.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { + background: #04b0db; border-color: #036881; color: white; - -webkit-box-shadow: inset 0 1px 0 #09cafa; - box-shadow: inset 0 1px 0 #09cafa; + -webkit-box-shadow: 0 1px 0 #036881; + box-shadow: 0 1px 0 #036881; } .wp-core-ui .button-primary:focus { - -webkit-box-shadow: inset 0 1px 0 #09cafa, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 1px 0 #09cafa, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); + -webkit-box-shadow: inset 0 1px 0 #037c9a, 0 0 2px 1px #33b3db; + box-shadow: inset 0 1px 0 #037c9a, 0 0 2px 1px #33b3db; } .wp-core-ui .button-primary:active { background: #037c9a; border-color: #036881; - color: white; - -webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); + -webkit-box-shadow: inset 0 2px 0 #036881; + box-shadow: inset 0 2px 0 #036881; } -.wp-core-ui .button-primary[disabled], -.wp-core-ui .button-primary:disabled, -.wp-core-ui .button-primary.button-primary-disabled, -.wp-core-ui .button-primary.disabled { +.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled { color: #c7cfd1 !important; background: #0384a4 !important; border-color: #036881 !important; text-shadow: none !important; } +.wp-core-ui .button-primary.button-hero { + -webkit-box-shadow: 0 2px 0 #036881 !important; + box-shadow: 0 2px 0 #036881 !important; +} + +.wp-core-ui .button-primary.button-hero:active { + -webkit-box-shadow: inset 0 3px 0 #036881 !important; + box-shadow: inset 0 3px 0 #036881 !important; +} + .wp-core-ui .wp-ui-primary { color: #333; background-color: #e5e5e5; @@ -111,7 +115,8 @@ input[type=radio]:checked:before { } /* List tables */ -.wrap .add-new-h2:hover, .wrap .page-title-action:hover, +.wrap .add-new-h2:hover, +.wrap .page-title-action:hover, .tablenav .tablenav-pages a:hover, .tablenav .tablenav-pages a:focus { color: #333; @@ -187,15 +192,15 @@ input[type=radio]:checked:before { color: #686868; } -#adminmenu .wp-submenu a:focus, -#adminmenu .wp-submenu a:hover, +#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, #adminmenu .wp-has-current-submenu .wp-submenu a:focus, #adminmenu .wp-has-current-submenu .wp-submenu a:hover, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { +#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, +#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { color: #04a4cc; } @@ -206,11 +211,11 @@ input[type=radio]:checked:before { color: #333; } -#adminmenu .wp-submenu li.current a:hover, -#adminmenu .wp-submenu li.current a:focus, +#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { +#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, +#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { color: #04a4cc; } @@ -338,6 +343,7 @@ ul#adminmenu > li.current > a.current:after { #wpadminbar .quicklinks .menupop ul li a:focus, #wpadminbar .quicklinks .menupop ul li a:hover strong, #wpadminbar .quicklinks .menupop ul li a:focus strong, +#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a, #wpadminbar .quicklinks .menupop.hover ul li a:hover, #wpadminbar .quicklinks .menupop.hover ul li a:focus, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, @@ -354,6 +360,8 @@ ul#adminmenu > li.current > a.current:after { } #wpadminbar .quicklinks li a:hover .blavatar, +#wpadminbar .quicklinks li a:focus .blavatar, +#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar, #wpadminbar .menupop .menupop > .ab-item:hover:before, #wpadminbar.mobile .quicklinks .ab-icon:before, #wpadminbar.mobile .quicklinks .ab-item:before { @@ -506,16 +514,6 @@ body.more-filters-opened .more-filters:focus:before { color: #fff; } -/* jQuery UI Slider */ -.wp-slider .ui-slider-handle, -.wp-slider .ui-slider-handle.ui-state-hover, -.wp-slider .ui-slider-handle.focus { - background: #04a4cc; - border-color: #037c9a; - -webkit-box-shadow: inset 0 1px 0 #22cffb, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #22cffb, 0 1px 0 rgba(0, 0, 0, 0.15); -} - /* Responsive Component */ div#wp-responsive-toggle a:before { color: #999; diff --git a/wp-admin/css/colors/light/colors.min.css b/wp-admin/css/colors/light/colors.min.css index 417b5b9..c14995c 100644 --- a/wp-admin/css/colors/light/colors.min.css +++ b/wp-admin/css/colors/light/colors.min.css @@ -1 +1 @@ -html{background:#f5f5f5}a{color:#0073aa}#media-upload a.del-link:hover,.subsubsub a.current:hover,.subsubsub a:hover,a:active,a:focus,a:hover,div.dashboard-widget-submit input:hover{color:#0096dd}input[type=checkbox]:checked:before{color:#04a4cc}input[type=radio]:checked:before{background:#04a4cc}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}.wp-core-ui .button-primary{background:#04a4cc;border-color:#037c9a;color:#fff;-webkit-box-shadow:inset 0 1px 0 #22cffb,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #22cffb,0 1px 0 rgba(0,0,0,.15)}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#0490b3;border-color:#036881;color:#fff;-webkit-box-shadow:inset 0 1px 0 #09cafa;box-shadow:inset 0 1px 0 #09cafa}.wp-core-ui .button-primary:focus{-webkit-box-shadow:inset 0 1px 0 #09cafa,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 1px 0 #09cafa,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary:active{background:#037c9a;border-color:#036881;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary.button-primary-disabled,.wp-core-ui .button-primary.disabled,.wp-core-ui .button-primary:disabled,.wp-core-ui .button-primary[disabled]{color:#c7cfd1!important;background:#0384a4!important;border-color:#036881!important;text-shadow:none!important}.wp-core-ui .wp-ui-primary{color:#333;background-color:#e5e5e5}.wp-core-ui .wp-ui-text-primary{color:#e5e5e5}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#888}.wp-core-ui .wp-ui-text-highlight{color:#888}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#d64e07}.wp-core-ui .wp-ui-text-notification{color:#d64e07}.wp-core-ui .wp-ui-text-icon{color:#999}.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover,.wrap .add-new-h2:hover,.wrap .page-title-action:hover{color:#333;background-color:#e5e5e5}.view-switch a.current:before{color:#e5e5e5}.view-switch a:hover:before{color:#d64e07}#adminmenu,#adminmenuback,#adminmenuwrap{background:#e5e5e5}#adminmenu a{color:#333}#adminmenu div.wp-menu-image:before{color:#999}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#888}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#ccc}.about-wrap h2 .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f5f5f5;border-bottom-color:#f5f5f5}.theme-filter.current,.theme-section.current,.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#04a4cc}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#fff}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-right-color:#fff}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu .wp-submenu-head,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#686868}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#04a4cc}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#333}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#04a4cc}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#f5f5f5}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#888}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before,.ie8 #adminmenu li.opensub div.wp-menu-image:before{color:#ccc}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#d64e07}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#333;background:#fff}#collapse-menu{color:#777}#collapse-menu:hover,#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#333}#collapse-button div:after{color:#999}#collapse-menu:hover #collapse-button div:after{color:#555}#wpadminbar{color:#333;background:#e5e5e5}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#999}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{color:#04a4cc;background:#fff}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#04a4cc}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#ccc}#wpadminbar .menupop .ab-sub-wrapper{background:#fff}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#f7f7f7}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#686868}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#999}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#04a4cc}#wpadminbar #adminbarsearch:before,#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#999}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#333;background:#f7f7f7}#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder{color:#333;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder{color:#333;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder{color:#333;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder{color:#333;opacity:.7}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#f7f7f7;background-color:#f7f7f7}#wpadminbar #wp-admin-bar-user-info .display-name{color:#333}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#04a4cc}#wpadminbar #wp-admin-bar-user-info .username{color:#686868}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after,.wp-pointer .wp-pointer-content h3:before{color:#04a4cc}.wp-pointer .wp-pointer-content h3{background-color:#04a4cc;border-color:#0490b3}.media-item .bar,.media-progress-bar div{background-color:#04a4cc}.details.attachment{-webkit-box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #04a4cc;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #04a4cc}.attachment.details .check{background-color:#04a4cc;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #04a4cc;box-shadow:0 0 0 1px #fff,0 0 0 2px #04a4cc}.media-selection .attachment.selection.details .thumbnail{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #04a4cc;box-shadow:0 0 0 1px #fff,0 0 0 3px #04a4cc}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#04a4cc}body.more-filters-opened .more-filters{color:#333;background-color:#e5e5e5}body.more-filters-opened .more-filters:before{color:#333}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#888;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected{background-color:#888;color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}#customize-theme-controls .widget-area-select .selected{background-color:#888;color:#fff}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before,div#wp-responsive-toggle a:before{color:#999}.wp-slider .ui-slider-handle,.wp-slider .ui-slider-handle.focus,.wp-slider .ui-slider-handle.ui-state-hover{background:#04a4cc;border-color:#037c9a;-webkit-box-shadow:inset 0 1px 0 #22cffb,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #22cffb,0 1px 0 rgba(0,0,0,.15)}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#888}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#fff}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#04a4cc}#wpadminbar .ab-top-menu>li.hover>.ab-item,#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar .ab-top-menu>li:hover>.ab-item,#wpadminbar .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar>#wp-toolbar>#wp-admin-bar-root-default li:hover span.ab-label,#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary li.hover span.ab-label{color:#333} \ No newline at end of file +html{background:#f5f5f5}a{color:#0073aa}a:active,a:focus,a:hover{color:#0096dd}#media-upload a.del-link:hover,.subsubsub a.current:hover,.subsubsub a:hover,div.dashboard-widget-submit input:hover{color:#0096dd}input[type=checkbox]:checked:before{color:#04a4cc}input[type=radio]:checked:before{background:#04a4cc}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}.wp-core-ui .button-primary{background:#04a4cc;border-color:#037c9a #036881 #036881;color:#fff;-webkit-box-shadow:0 1px 0 #036881;box-shadow:0 1px 0 #036881;text-shadow:0 -1px 1px #036881,1px 0 1px #036881,0 1px 1px #036881,-1px 0 1px #036881}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#04b0db;border-color:#036881;color:#fff;-webkit-box-shadow:0 1px 0 #036881;box-shadow:0 1px 0 #036881}.wp-core-ui .button-primary:focus{-webkit-box-shadow:inset 0 1px 0 #037c9a,0 0 2px 1px #33b3db;box-shadow:inset 0 1px 0 #037c9a,0 0 2px 1px #33b3db}.wp-core-ui .button-primary:active{background:#037c9a;border-color:#036881;-webkit-box-shadow:inset 0 2px 0 #036881;box-shadow:inset 0 2px 0 #036881}.wp-core-ui .button-primary.button-primary-disabled,.wp-core-ui .button-primary.disabled,.wp-core-ui .button-primary:disabled,.wp-core-ui .button-primary[disabled]{color:#c7cfd1!important;background:#0384a4!important;border-color:#036881!important;text-shadow:none!important}.wp-core-ui .button-primary.button-hero{-webkit-box-shadow:0 2px 0 #036881!important;box-shadow:0 2px 0 #036881!important}.wp-core-ui .button-primary.button-hero:active{-webkit-box-shadow:inset 0 3px 0 #036881!important;box-shadow:inset 0 3px 0 #036881!important}.wp-core-ui .wp-ui-primary{color:#333;background-color:#e5e5e5}.wp-core-ui .wp-ui-text-primary{color:#e5e5e5}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#888}.wp-core-ui .wp-ui-text-highlight{color:#888}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#d64e07}.wp-core-ui .wp-ui-text-notification{color:#d64e07}.wp-core-ui .wp-ui-text-icon{color:#999}.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover,.wrap .add-new-h2:hover,.wrap .page-title-action:hover{color:#333;background-color:#e5e5e5}.view-switch a.current:before{color:#e5e5e5}.view-switch a:hover:before{color:#d64e07}#adminmenu,#adminmenuback,#adminmenuwrap{background:#e5e5e5}#adminmenu a{color:#333}#adminmenu div.wp-menu-image:before{color:#999}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#888}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#ccc}.about-wrap h2 .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f5f5f5;border-bottom-color:#f5f5f5}.theme-filter.current,.theme-section.current,.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#04a4cc}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#fff}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-right-color:#fff}#adminmenu .wp-submenu .wp-submenu-head{color:#686868}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#686868}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#04a4cc}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#333}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#04a4cc}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#f5f5f5}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#888}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before,.ie8 #adminmenu li.opensub div.wp-menu-image:before{color:#ccc}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#d64e07}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#333;background:#fff}#collapse-menu{color:#777}#collapse-menu:hover,#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#333}#collapse-button div:after{color:#999}#collapse-menu:hover #collapse-button div:after{color:#555}#wpadminbar{color:#333;background:#e5e5e5}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#999}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{color:#04a4cc;background:#fff}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#04a4cc}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#ccc}#wpadminbar .menupop .ab-sub-wrapper{background:#fff}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#f7f7f7}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#686868}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#999}#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#04a4cc}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before{color:#04a4cc}#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#999}#wpadminbar #adminbarsearch:before{color:#999}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#333;background:#f7f7f7}#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder{color:#333;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder{color:#333;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder{color:#333;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder{color:#333;opacity:.7}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#f7f7f7;background-color:#f7f7f7}#wpadminbar #wp-admin-bar-user-info .display-name{color:#333}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#04a4cc}#wpadminbar #wp-admin-bar-user-info .username{color:#686868}.wp-pointer .wp-pointer-content h3{background-color:#04a4cc;border-color:#0490b3}.wp-pointer .wp-pointer-content h3:before{color:#04a4cc}.media-item .bar,.media-progress-bar div{background-color:#04a4cc}.details.attachment{-webkit-box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #04a4cc;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #04a4cc}.attachment.details .check{background-color:#04a4cc;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #04a4cc;box-shadow:0 0 0 1px #fff,0 0 0 2px #04a4cc}.media-selection .attachment.selection.details .thumbnail{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #04a4cc;box-shadow:0 0 0 1px #fff,0 0 0 3px #04a4cc}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#04a4cc}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after{color:#04a4cc}body.more-filters-opened .more-filters{color:#333;background-color:#e5e5e5}body.more-filters-opened .more-filters:before{color:#333}#customize-theme-controls .widget-area-select .selected,.widgets-chooser li.widgets-chooser-selected{background-color:#888;color:#fff}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#888;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}div#wp-responsive-toggle a:before{color:#999}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#888}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#fff}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:#999}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#04a4cc}#wpadminbar .ab-top-menu>li.hover>.ab-item,#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar .ab-top-menu>li:hover>.ab-item,#wpadminbar .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar>#wp-toolbar>#wp-admin-bar-root-default li:hover span.ab-label,#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary li.hover span.ab-label{color:#333} \ No newline at end of file diff --git a/wp-admin/css/colors/midnight/colors-rtl.css b/wp-admin/css/colors/midnight/colors-rtl.css index a54bf44..e7ce7f5 100644 --- a/wp-admin/css/colors/midnight/colors-rtl.css +++ b/wp-admin/css/colors/midnight/colors-rtl.css @@ -11,9 +11,7 @@ a { color: #0073aa; } -a:hover, -a:active, -a:focus { +a:hover, a:active, a:focus { color: #0096dd; } @@ -41,44 +39,50 @@ input[type=radio]:checked:before { /* Core UI */ .wp-core-ui .button-primary { background: #e14d43; - border-color: #d02c21; + border-color: #d02c21 #ba281e #ba281e; color: white; - -webkit-box-shadow: inset 0 1px 0 #ec8b85, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #ec8b85, 0 1px 0 rgba(0, 0, 0, 0.15); + -webkit-box-shadow: 0 1px 0 #ba281e; + box-shadow: 0 1px 0 #ba281e; + text-shadow: 0 -1px 1px #ba281e, -1px 0 1px #ba281e, 0 1px 1px #ba281e, 1px 0 1px #ba281e; } -.wp-core-ui .button-primary:hover, -.wp-core-ui .button-primary:focus { - background: #dd382d; +.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { + background: #e35950; border-color: #ba281e; color: white; - -webkit-box-shadow: inset 0 1px 0 #e8776f; - box-shadow: inset 0 1px 0 #e8776f; + -webkit-box-shadow: 0 1px 0 #ba281e; + box-shadow: 0 1px 0 #ba281e; } .wp-core-ui .button-primary:focus { - -webkit-box-shadow: inset 0 1px 0 #e8776f, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 1px 0 #e8776f, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); + -webkit-box-shadow: inset 0 1px 0 #d02c21, 0 0 2px 1px #33b3db; + box-shadow: inset 0 1px 0 #d02c21, 0 0 2px 1px #33b3db; } .wp-core-ui .button-primary:active { background: #d02c21; border-color: #ba281e; - color: white; - -webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); + -webkit-box-shadow: inset 0 2px 0 #ba281e; + box-shadow: inset 0 2px 0 #ba281e; } -.wp-core-ui .button-primary[disabled], -.wp-core-ui .button-primary:disabled, -.wp-core-ui .button-primary.button-primary-disabled, -.wp-core-ui .button-primary.disabled { +.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled { color: #d1c8c7 !important; background: #d92e23 !important; border-color: #ba281e !important; text-shadow: none !important; } +.wp-core-ui .button-primary.button-hero { + -webkit-box-shadow: 0 2px 0 #ba281e !important; + box-shadow: 0 2px 0 #ba281e !important; +} + +.wp-core-ui .button-primary.button-hero:active { + -webkit-box-shadow: inset 0 3px 0 #ba281e !important; + box-shadow: inset 0 3px 0 #ba281e !important; +} + .wp-core-ui .wp-ui-primary { color: #fff; background-color: #363b3f; @@ -111,7 +115,8 @@ input[type=radio]:checked:before { } /* List tables */ -.wrap .add-new-h2:hover, .wrap .page-title-action:hover, +.wrap .add-new-h2:hover, +.wrap .page-title-action:hover, .tablenav .tablenav-pages a:hover, .tablenav .tablenav-pages a:focus { color: #fff; @@ -187,15 +192,15 @@ input[type=radio]:checked:before { color: #c3c4c5; } -#adminmenu .wp-submenu a:focus, -#adminmenu .wp-submenu a:hover, +#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, #adminmenu .wp-has-current-submenu .wp-submenu a:focus, #adminmenu .wp-has-current-submenu .wp-submenu a:hover, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { +#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, +#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { color: #e14d43; } @@ -206,11 +211,11 @@ input[type=radio]:checked:before { color: #fff; } -#adminmenu .wp-submenu li.current a:hover, -#adminmenu .wp-submenu li.current a:focus, +#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { +#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, +#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { color: #e14d43; } @@ -338,6 +343,7 @@ ul#adminmenu > li.current > a.current:after { #wpadminbar .quicklinks .menupop ul li a:focus, #wpadminbar .quicklinks .menupop ul li a:hover strong, #wpadminbar .quicklinks .menupop ul li a:focus strong, +#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a, #wpadminbar .quicklinks .menupop.hover ul li a:hover, #wpadminbar .quicklinks .menupop.hover ul li a:focus, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, @@ -354,6 +360,8 @@ ul#adminmenu > li.current > a.current:after { } #wpadminbar .quicklinks li a:hover .blavatar, +#wpadminbar .quicklinks li a:focus .blavatar, +#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar, #wpadminbar .menupop .menupop > .ab-item:hover:before, #wpadminbar.mobile .quicklinks .ab-icon:before, #wpadminbar.mobile .quicklinks .ab-item:before { @@ -506,16 +514,6 @@ body.more-filters-opened .more-filters:focus:before { color: #fff; } -/* jQuery UI Slider */ -.wp-slider .ui-slider-handle, -.wp-slider .ui-slider-handle.ui-state-hover, -.wp-slider .ui-slider-handle.focus { - background: #e14d43; - border-color: #d02c21; - -webkit-box-shadow: inset 0 1px 0 #ec8b85, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #ec8b85, 0 1px 0 rgba(0, 0, 0, 0.15); -} - /* Responsive Component */ div#wp-responsive-toggle a:before { color: #f1f2f3; diff --git a/wp-admin/css/colors/midnight/colors-rtl.min.css b/wp-admin/css/colors/midnight/colors-rtl.min.css index b5acc56..7257291 100644 --- a/wp-admin/css/colors/midnight/colors-rtl.min.css +++ b/wp-admin/css/colors/midnight/colors-rtl.min.css @@ -1 +1 @@ -html{background:#f1f1f1}a{color:#0073aa}#media-upload a.del-link:hover,.subsubsub a.current:hover,.subsubsub a:hover,a:active,a:focus,a:hover,div.dashboard-widget-submit input:hover{color:#0096dd}input[type=checkbox]:checked:before{color:#e14d43}input[type=radio]:checked:before{background:#e14d43}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}.wp-core-ui .button-primary{background:#e14d43;border-color:#d02c21;color:#fff;-webkit-box-shadow:inset 0 1px 0 #ec8b85,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #ec8b85,0 1px 0 rgba(0,0,0,.15)}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#dd382d;border-color:#ba281e;color:#fff;-webkit-box-shadow:inset 0 1px 0 #e8776f;box-shadow:inset 0 1px 0 #e8776f}.wp-core-ui .button-primary:focus{-webkit-box-shadow:inset 0 1px 0 #e8776f,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 1px 0 #e8776f,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary:active{background:#d02c21;border-color:#ba281e;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary.button-primary-disabled,.wp-core-ui .button-primary.disabled,.wp-core-ui .button-primary:disabled,.wp-core-ui .button-primary[disabled]{color:#d1c8c7!important;background:#d92e23!important;border-color:#ba281e!important;text-shadow:none!important}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#363b3f}.wp-core-ui .wp-ui-text-primary{color:#363b3f}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#e14d43}.wp-core-ui .wp-ui-text-highlight{color:#e14d43}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#69a8bb}.wp-core-ui .wp-ui-text-notification{color:#69a8bb}.wp-core-ui .wp-ui-text-icon{color:#f1f2f3}.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover,.wrap .add-new-h2:hover,.wrap .page-title-action:hover{color:#fff;background-color:#363b3f}.view-switch a.current:before{color:#363b3f}.view-switch a:hover:before{color:#69a8bb}#adminmenu,#adminmenuback,#adminmenuwrap{background:#363b3f}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:#f1f2f3}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#e14d43}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap h2 .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#26292c}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-left-color:#26292c}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu .wp-submenu-head,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#c3c4c5}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#e14d43}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#e14d43}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-left-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#e14d43}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before,.ie8 #adminmenu li.opensub div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#69a8bb}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#26292c}#collapse-button div:after,#collapse-menu{color:#f1f2f3}#collapse-menu:hover,#collapse-menu:hover #collapse-button div:after,#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar{color:#fff;background:#363b3f}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#f1f2f3}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{color:#e14d43;background:#26292c}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#e14d43}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#fff}#wpadminbar .menupop .ab-sub-wrapper{background:#26292c}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#4c4c4d}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#c3c4c5}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#f1f2f3}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#e14d43}#wpadminbar #adminbarsearch:before,#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#f1f2f3}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#464d52}#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder{color:#fff;opacity:.7}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#464d52;background-color:#464d52}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#e14d43}#wpadminbar #wp-admin-bar-user-info .username{color:#c3c4c5}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after,.wp-pointer .wp-pointer-content h3:before{color:#e14d43}.wp-pointer .wp-pointer-content h3{background-color:#e14d43;border-color:#dd382d}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#e14d43}.media-item .bar,.media-progress-bar div{background-color:#e14d43}.details.attachment{-webkit-box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #e14d43;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #e14d43}.attachment.details .check{background-color:#e14d43;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #e14d43;box-shadow:0 0 0 1px #fff,0 0 0 2px #e14d43}.media-selection .attachment.selection.details .thumbnail{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #e14d43;box-shadow:0 0 0 1px #fff,0 0 0 3px #e14d43}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#e14d43}.theme-filter.current,.theme-section.current{border-bottom-color:#363b3f}body.more-filters-opened .more-filters{color:#fff;background-color:#363b3f}#customize-theme-controls .widget-area-select .selected,.widgets-chooser li.widgets-chooser-selected,body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#e14d43;color:#fff}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before,div#wp-responsive-toggle a:before{color:#f1f2f3}.wp-slider .ui-slider-handle,.wp-slider .ui-slider-handle.focus,.wp-slider .ui-slider-handle.ui-state-hover{background:#e14d43;border-color:#d02c21;-webkit-box-shadow:inset 0 1px 0 #ec8b85,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #ec8b85,0 1px 0 rgba(0,0,0,.15)}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#e14d43}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#26292c}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#e14d43} \ No newline at end of file +html{background:#f1f1f1}a{color:#0073aa}a:active,a:focus,a:hover{color:#0096dd}#media-upload a.del-link:hover,.subsubsub a.current:hover,.subsubsub a:hover,div.dashboard-widget-submit input:hover{color:#0096dd}input[type=checkbox]:checked:before{color:#e14d43}input[type=radio]:checked:before{background:#e14d43}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}.wp-core-ui .button-primary{background:#e14d43;border-color:#d02c21 #ba281e #ba281e;color:#fff;-webkit-box-shadow:0 1px 0 #ba281e;box-shadow:0 1px 0 #ba281e;text-shadow:0 -1px 1px #ba281e,-1px 0 1px #ba281e,0 1px 1px #ba281e,1px 0 1px #ba281e}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#e35950;border-color:#ba281e;color:#fff;-webkit-box-shadow:0 1px 0 #ba281e;box-shadow:0 1px 0 #ba281e}.wp-core-ui .button-primary:focus{-webkit-box-shadow:inset 0 1px 0 #d02c21,0 0 2px 1px #33b3db;box-shadow:inset 0 1px 0 #d02c21,0 0 2px 1px #33b3db}.wp-core-ui .button-primary:active{background:#d02c21;border-color:#ba281e;-webkit-box-shadow:inset 0 2px 0 #ba281e;box-shadow:inset 0 2px 0 #ba281e}.wp-core-ui .button-primary.button-primary-disabled,.wp-core-ui .button-primary.disabled,.wp-core-ui .button-primary:disabled,.wp-core-ui .button-primary[disabled]{color:#d1c8c7!important;background:#d92e23!important;border-color:#ba281e!important;text-shadow:none!important}.wp-core-ui .button-primary.button-hero{-webkit-box-shadow:0 2px 0 #ba281e!important;box-shadow:0 2px 0 #ba281e!important}.wp-core-ui .button-primary.button-hero:active{-webkit-box-shadow:inset 0 3px 0 #ba281e!important;box-shadow:inset 0 3px 0 #ba281e!important}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#363b3f}.wp-core-ui .wp-ui-text-primary{color:#363b3f}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#e14d43}.wp-core-ui .wp-ui-text-highlight{color:#e14d43}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#69a8bb}.wp-core-ui .wp-ui-text-notification{color:#69a8bb}.wp-core-ui .wp-ui-text-icon{color:#f1f2f3}.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover,.wrap .add-new-h2:hover,.wrap .page-title-action:hover{color:#fff;background-color:#363b3f}.view-switch a.current:before{color:#363b3f}.view-switch a:hover:before{color:#69a8bb}#adminmenu,#adminmenuback,#adminmenuwrap{background:#363b3f}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:#f1f2f3}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#e14d43}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap h2 .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#26292c}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-left-color:#26292c}#adminmenu .wp-submenu .wp-submenu-head{color:#c3c4c5}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#c3c4c5}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#e14d43}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#e14d43}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-left-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#e14d43}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before,.ie8 #adminmenu li.opensub div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#69a8bb}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#26292c}#collapse-menu{color:#f1f2f3}#collapse-menu:hover{color:#fff}#collapse-button div:after{color:#f1f2f3}#collapse-menu:hover #collapse-button div:after{color:#fff}#wpadminbar{color:#fff;background:#363b3f}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#f1f2f3}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{color:#e14d43;background:#26292c}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#e14d43}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#fff}#wpadminbar .menupop .ab-sub-wrapper{background:#26292c}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#4c4c4d}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#c3c4c5}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#f1f2f3}#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#e14d43}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before{color:#e14d43}#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#f1f2f3}#wpadminbar #adminbarsearch:before{color:#f1f2f3}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#464d52}#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder{color:#fff;opacity:.7}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#464d52;background-color:#464d52}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#e14d43}#wpadminbar #wp-admin-bar-user-info .username{color:#c3c4c5}.wp-pointer .wp-pointer-content h3{background-color:#e14d43;border-color:#dd382d}.wp-pointer .wp-pointer-content h3:before{color:#e14d43}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#e14d43}.media-item .bar,.media-progress-bar div{background-color:#e14d43}.details.attachment{-webkit-box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #e14d43;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #e14d43}.attachment.details .check{background-color:#e14d43;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #e14d43;box-shadow:0 0 0 1px #fff,0 0 0 2px #e14d43}.media-selection .attachment.selection.details .thumbnail{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #e14d43;box-shadow:0 0 0 1px #fff,0 0 0 3px #e14d43}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#e14d43}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after{color:#e14d43}.theme-filter.current,.theme-section.current{border-bottom-color:#363b3f}body.more-filters-opened .more-filters{color:#fff;background-color:#363b3f}#customize-theme-controls .widget-area-select .selected,.widgets-chooser li.widgets-chooser-selected{background-color:#e14d43;color:#fff}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#e14d43;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}div#wp-responsive-toggle a:before{color:#f1f2f3}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#e14d43}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#26292c}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:#f1f2f3}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#e14d43} \ No newline at end of file diff --git a/wp-admin/css/colors/midnight/colors.css b/wp-admin/css/colors/midnight/colors.css index c9a0b8e..03ecb6e 100644 --- a/wp-admin/css/colors/midnight/colors.css +++ b/wp-admin/css/colors/midnight/colors.css @@ -11,9 +11,7 @@ a { color: #0073aa; } -a:hover, -a:active, -a:focus { +a:hover, a:active, a:focus { color: #0096dd; } @@ -41,44 +39,50 @@ input[type=radio]:checked:before { /* Core UI */ .wp-core-ui .button-primary { background: #e14d43; - border-color: #d02c21; + border-color: #d02c21 #ba281e #ba281e; color: white; - -webkit-box-shadow: inset 0 1px 0 #ec8b85, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #ec8b85, 0 1px 0 rgba(0, 0, 0, 0.15); + -webkit-box-shadow: 0 1px 0 #ba281e; + box-shadow: 0 1px 0 #ba281e; + text-shadow: 0 -1px 1px #ba281e, 1px 0 1px #ba281e, 0 1px 1px #ba281e, -1px 0 1px #ba281e; } -.wp-core-ui .button-primary:hover, -.wp-core-ui .button-primary:focus { - background: #dd382d; +.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { + background: #e35950; border-color: #ba281e; color: white; - -webkit-box-shadow: inset 0 1px 0 #e8776f; - box-shadow: inset 0 1px 0 #e8776f; + -webkit-box-shadow: 0 1px 0 #ba281e; + box-shadow: 0 1px 0 #ba281e; } .wp-core-ui .button-primary:focus { - -webkit-box-shadow: inset 0 1px 0 #e8776f, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 1px 0 #e8776f, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); + -webkit-box-shadow: inset 0 1px 0 #d02c21, 0 0 2px 1px #33b3db; + box-shadow: inset 0 1px 0 #d02c21, 0 0 2px 1px #33b3db; } .wp-core-ui .button-primary:active { background: #d02c21; border-color: #ba281e; - color: white; - -webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); + -webkit-box-shadow: inset 0 2px 0 #ba281e; + box-shadow: inset 0 2px 0 #ba281e; } -.wp-core-ui .button-primary[disabled], -.wp-core-ui .button-primary:disabled, -.wp-core-ui .button-primary.button-primary-disabled, -.wp-core-ui .button-primary.disabled { +.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled { color: #d1c8c7 !important; background: #d92e23 !important; border-color: #ba281e !important; text-shadow: none !important; } +.wp-core-ui .button-primary.button-hero { + -webkit-box-shadow: 0 2px 0 #ba281e !important; + box-shadow: 0 2px 0 #ba281e !important; +} + +.wp-core-ui .button-primary.button-hero:active { + -webkit-box-shadow: inset 0 3px 0 #ba281e !important; + box-shadow: inset 0 3px 0 #ba281e !important; +} + .wp-core-ui .wp-ui-primary { color: #fff; background-color: #363b3f; @@ -111,7 +115,8 @@ input[type=radio]:checked:before { } /* List tables */ -.wrap .add-new-h2:hover, .wrap .page-title-action:hover, +.wrap .add-new-h2:hover, +.wrap .page-title-action:hover, .tablenav .tablenav-pages a:hover, .tablenav .tablenav-pages a:focus { color: #fff; @@ -187,15 +192,15 @@ input[type=radio]:checked:before { color: #c3c4c5; } -#adminmenu .wp-submenu a:focus, -#adminmenu .wp-submenu a:hover, +#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, #adminmenu .wp-has-current-submenu .wp-submenu a:focus, #adminmenu .wp-has-current-submenu .wp-submenu a:hover, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { +#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, +#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { color: #e14d43; } @@ -206,11 +211,11 @@ input[type=radio]:checked:before { color: #fff; } -#adminmenu .wp-submenu li.current a:hover, -#adminmenu .wp-submenu li.current a:focus, +#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { +#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, +#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { color: #e14d43; } @@ -338,6 +343,7 @@ ul#adminmenu > li.current > a.current:after { #wpadminbar .quicklinks .menupop ul li a:focus, #wpadminbar .quicklinks .menupop ul li a:hover strong, #wpadminbar .quicklinks .menupop ul li a:focus strong, +#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a, #wpadminbar .quicklinks .menupop.hover ul li a:hover, #wpadminbar .quicklinks .menupop.hover ul li a:focus, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, @@ -354,6 +360,8 @@ ul#adminmenu > li.current > a.current:after { } #wpadminbar .quicklinks li a:hover .blavatar, +#wpadminbar .quicklinks li a:focus .blavatar, +#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar, #wpadminbar .menupop .menupop > .ab-item:hover:before, #wpadminbar.mobile .quicklinks .ab-icon:before, #wpadminbar.mobile .quicklinks .ab-item:before { @@ -506,16 +514,6 @@ body.more-filters-opened .more-filters:focus:before { color: #fff; } -/* jQuery UI Slider */ -.wp-slider .ui-slider-handle, -.wp-slider .ui-slider-handle.ui-state-hover, -.wp-slider .ui-slider-handle.focus { - background: #e14d43; - border-color: #d02c21; - -webkit-box-shadow: inset 0 1px 0 #ec8b85, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #ec8b85, 0 1px 0 rgba(0, 0, 0, 0.15); -} - /* Responsive Component */ div#wp-responsive-toggle a:before { color: #f1f2f3; diff --git a/wp-admin/css/colors/midnight/colors.min.css b/wp-admin/css/colors/midnight/colors.min.css index 23dac64..c91d200 100644 --- a/wp-admin/css/colors/midnight/colors.min.css +++ b/wp-admin/css/colors/midnight/colors.min.css @@ -1 +1 @@ -html{background:#f1f1f1}a{color:#0073aa}#media-upload a.del-link:hover,.subsubsub a.current:hover,.subsubsub a:hover,a:active,a:focus,a:hover,div.dashboard-widget-submit input:hover{color:#0096dd}input[type=checkbox]:checked:before{color:#e14d43}input[type=radio]:checked:before{background:#e14d43}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}.wp-core-ui .button-primary{background:#e14d43;border-color:#d02c21;color:#fff;-webkit-box-shadow:inset 0 1px 0 #ec8b85,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #ec8b85,0 1px 0 rgba(0,0,0,.15)}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#dd382d;border-color:#ba281e;color:#fff;-webkit-box-shadow:inset 0 1px 0 #e8776f;box-shadow:inset 0 1px 0 #e8776f}.wp-core-ui .button-primary:focus{-webkit-box-shadow:inset 0 1px 0 #e8776f,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 1px 0 #e8776f,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary:active{background:#d02c21;border-color:#ba281e;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary.button-primary-disabled,.wp-core-ui .button-primary.disabled,.wp-core-ui .button-primary:disabled,.wp-core-ui .button-primary[disabled]{color:#d1c8c7!important;background:#d92e23!important;border-color:#ba281e!important;text-shadow:none!important}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#363b3f}.wp-core-ui .wp-ui-text-primary{color:#363b3f}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#e14d43}.wp-core-ui .wp-ui-text-highlight{color:#e14d43}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#69a8bb}.wp-core-ui .wp-ui-text-notification{color:#69a8bb}.wp-core-ui .wp-ui-text-icon{color:#f1f2f3}.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover,.wrap .add-new-h2:hover,.wrap .page-title-action:hover{color:#fff;background-color:#363b3f}.view-switch a.current:before{color:#363b3f}.view-switch a:hover:before{color:#69a8bb}#adminmenu,#adminmenuback,#adminmenuwrap{background:#363b3f}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:#f1f2f3}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#e14d43}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap h2 .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#26292c}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-right-color:#26292c}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu .wp-submenu-head,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#c3c4c5}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#e14d43}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#e14d43}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#e14d43}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before,.ie8 #adminmenu li.opensub div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#69a8bb}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#26292c}#collapse-button div:after,#collapse-menu{color:#f1f2f3}#collapse-menu:hover,#collapse-menu:hover #collapse-button div:after,#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar{color:#fff;background:#363b3f}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#f1f2f3}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{color:#e14d43;background:#26292c}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#e14d43}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#fff}#wpadminbar .menupop .ab-sub-wrapper{background:#26292c}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#4c4c4d}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#c3c4c5}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#f1f2f3}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#e14d43}#wpadminbar #adminbarsearch:before,#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#f1f2f3}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#464d52}#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder{color:#fff;opacity:.7}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#464d52;background-color:#464d52}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#e14d43}#wpadminbar #wp-admin-bar-user-info .username{color:#c3c4c5}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after,.wp-pointer .wp-pointer-content h3:before{color:#e14d43}.wp-pointer .wp-pointer-content h3{background-color:#e14d43;border-color:#dd382d}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#e14d43}.media-item .bar,.media-progress-bar div{background-color:#e14d43}.details.attachment{-webkit-box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #e14d43;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #e14d43}.attachment.details .check{background-color:#e14d43;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #e14d43;box-shadow:0 0 0 1px #fff,0 0 0 2px #e14d43}.media-selection .attachment.selection.details .thumbnail{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #e14d43;box-shadow:0 0 0 1px #fff,0 0 0 3px #e14d43}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#e14d43}.theme-filter.current,.theme-section.current{border-bottom-color:#363b3f}body.more-filters-opened .more-filters{color:#fff;background-color:#363b3f}#customize-theme-controls .widget-area-select .selected,.widgets-chooser li.widgets-chooser-selected,body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#e14d43;color:#fff}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before,div#wp-responsive-toggle a:before{color:#f1f2f3}.wp-slider .ui-slider-handle,.wp-slider .ui-slider-handle.focus,.wp-slider .ui-slider-handle.ui-state-hover{background:#e14d43;border-color:#d02c21;-webkit-box-shadow:inset 0 1px 0 #ec8b85,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #ec8b85,0 1px 0 rgba(0,0,0,.15)}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#e14d43}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#26292c}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#e14d43} \ No newline at end of file +html{background:#f1f1f1}a{color:#0073aa}a:active,a:focus,a:hover{color:#0096dd}#media-upload a.del-link:hover,.subsubsub a.current:hover,.subsubsub a:hover,div.dashboard-widget-submit input:hover{color:#0096dd}input[type=checkbox]:checked:before{color:#e14d43}input[type=radio]:checked:before{background:#e14d43}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}.wp-core-ui .button-primary{background:#e14d43;border-color:#d02c21 #ba281e #ba281e;color:#fff;-webkit-box-shadow:0 1px 0 #ba281e;box-shadow:0 1px 0 #ba281e;text-shadow:0 -1px 1px #ba281e,1px 0 1px #ba281e,0 1px 1px #ba281e,-1px 0 1px #ba281e}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#e35950;border-color:#ba281e;color:#fff;-webkit-box-shadow:0 1px 0 #ba281e;box-shadow:0 1px 0 #ba281e}.wp-core-ui .button-primary:focus{-webkit-box-shadow:inset 0 1px 0 #d02c21,0 0 2px 1px #33b3db;box-shadow:inset 0 1px 0 #d02c21,0 0 2px 1px #33b3db}.wp-core-ui .button-primary:active{background:#d02c21;border-color:#ba281e;-webkit-box-shadow:inset 0 2px 0 #ba281e;box-shadow:inset 0 2px 0 #ba281e}.wp-core-ui .button-primary.button-primary-disabled,.wp-core-ui .button-primary.disabled,.wp-core-ui .button-primary:disabled,.wp-core-ui .button-primary[disabled]{color:#d1c8c7!important;background:#d92e23!important;border-color:#ba281e!important;text-shadow:none!important}.wp-core-ui .button-primary.button-hero{-webkit-box-shadow:0 2px 0 #ba281e!important;box-shadow:0 2px 0 #ba281e!important}.wp-core-ui .button-primary.button-hero:active{-webkit-box-shadow:inset 0 3px 0 #ba281e!important;box-shadow:inset 0 3px 0 #ba281e!important}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#363b3f}.wp-core-ui .wp-ui-text-primary{color:#363b3f}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#e14d43}.wp-core-ui .wp-ui-text-highlight{color:#e14d43}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#69a8bb}.wp-core-ui .wp-ui-text-notification{color:#69a8bb}.wp-core-ui .wp-ui-text-icon{color:#f1f2f3}.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover,.wrap .add-new-h2:hover,.wrap .page-title-action:hover{color:#fff;background-color:#363b3f}.view-switch a.current:before{color:#363b3f}.view-switch a:hover:before{color:#69a8bb}#adminmenu,#adminmenuback,#adminmenuwrap{background:#363b3f}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:#f1f2f3}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#e14d43}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap h2 .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#26292c}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-right-color:#26292c}#adminmenu .wp-submenu .wp-submenu-head{color:#c3c4c5}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#c3c4c5}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#e14d43}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#e14d43}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#e14d43}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before,.ie8 #adminmenu li.opensub div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#69a8bb}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#26292c}#collapse-menu{color:#f1f2f3}#collapse-menu:hover{color:#fff}#collapse-button div:after{color:#f1f2f3}#collapse-menu:hover #collapse-button div:after{color:#fff}#wpadminbar{color:#fff;background:#363b3f}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#f1f2f3}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{color:#e14d43;background:#26292c}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#e14d43}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#fff}#wpadminbar .menupop .ab-sub-wrapper{background:#26292c}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#4c4c4d}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#c3c4c5}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#f1f2f3}#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#e14d43}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before{color:#e14d43}#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#f1f2f3}#wpadminbar #adminbarsearch:before{color:#f1f2f3}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#464d52}#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder{color:#fff;opacity:.7}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#464d52;background-color:#464d52}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#e14d43}#wpadminbar #wp-admin-bar-user-info .username{color:#c3c4c5}.wp-pointer .wp-pointer-content h3{background-color:#e14d43;border-color:#dd382d}.wp-pointer .wp-pointer-content h3:before{color:#e14d43}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#e14d43}.media-item .bar,.media-progress-bar div{background-color:#e14d43}.details.attachment{-webkit-box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #e14d43;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #e14d43}.attachment.details .check{background-color:#e14d43;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #e14d43;box-shadow:0 0 0 1px #fff,0 0 0 2px #e14d43}.media-selection .attachment.selection.details .thumbnail{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #e14d43;box-shadow:0 0 0 1px #fff,0 0 0 3px #e14d43}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#e14d43}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after{color:#e14d43}.theme-filter.current,.theme-section.current{border-bottom-color:#363b3f}body.more-filters-opened .more-filters{color:#fff;background-color:#363b3f}#customize-theme-controls .widget-area-select .selected,.widgets-chooser li.widgets-chooser-selected{background-color:#e14d43;color:#fff}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#e14d43;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}div#wp-responsive-toggle a:before{color:#f1f2f3}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#e14d43}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#26292c}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:#f1f2f3}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#e14d43} \ No newline at end of file diff --git a/wp-admin/css/colors/ocean/colors-rtl.css b/wp-admin/css/colors/ocean/colors-rtl.css index cd056da..d791028 100644 --- a/wp-admin/css/colors/ocean/colors-rtl.css +++ b/wp-admin/css/colors/ocean/colors-rtl.css @@ -11,9 +11,7 @@ a { color: #0073aa; } -a:hover, -a:active, -a:focus { +a:hover, a:active, a:focus { color: #0096dd; } @@ -41,44 +39,50 @@ input[type=radio]:checked:before { /* Core UI */ .wp-core-ui .button-primary { background: #9ebaa0; - border-color: #80a583; + border-color: #80a583 #719a74 #719a74; color: white; - -webkit-box-shadow: inset 0 1px 0 #cbdacc, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #cbdacc, 0 1px 0 rgba(0, 0, 0, 0.15); + -webkit-box-shadow: 0 1px 0 #719a74; + box-shadow: 0 1px 0 #719a74; + text-shadow: 0 -1px 1px #719a74, -1px 0 1px #719a74, 0 1px 1px #719a74, 1px 0 1px #719a74; } -.wp-core-ui .button-primary:hover, -.wp-core-ui .button-primary:focus { - background: #8faf91; +.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { + background: #a7c0a9; border-color: #719a74; color: white; - -webkit-box-shadow: inset 0 1px 0 #bccfbd; - box-shadow: inset 0 1px 0 #bccfbd; + -webkit-box-shadow: 0 1px 0 #719a74; + box-shadow: 0 1px 0 #719a74; } .wp-core-ui .button-primary:focus { - -webkit-box-shadow: inset 0 1px 0 #bccfbd, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 1px 0 #bccfbd, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); + -webkit-box-shadow: inset 0 1px 0 #80a583, 0 0 2px 1px #33b3db; + box-shadow: inset 0 1px 0 #80a583, 0 0 2px 1px #33b3db; } .wp-core-ui .button-primary:active { background: #80a583; border-color: #719a74; - color: white; - -webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); + -webkit-box-shadow: inset 0 2px 0 #719a74; + box-shadow: inset 0 2px 0 #719a74; } -.wp-core-ui .button-primary[disabled], -.wp-core-ui .button-primary:disabled, -.wp-core-ui .button-primary.button-primary-disabled, -.wp-core-ui .button-primary.disabled { +.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled { color: #c7d1c8 !important; background: #86a989 !important; border-color: #719a74 !important; text-shadow: none !important; } +.wp-core-ui .button-primary.button-hero { + -webkit-box-shadow: 0 2px 0 #719a74 !important; + box-shadow: 0 2px 0 #719a74 !important; +} + +.wp-core-ui .button-primary.button-hero:active { + -webkit-box-shadow: inset 0 3px 0 #719a74 !important; + box-shadow: inset 0 3px 0 #719a74 !important; +} + .wp-core-ui .wp-ui-primary { color: #fff; background-color: #738e96; @@ -111,7 +115,8 @@ input[type=radio]:checked:before { } /* List tables */ -.wrap .add-new-h2:hover, .wrap .page-title-action:hover, +.wrap .add-new-h2:hover, +.wrap .page-title-action:hover, .tablenav .tablenav-pages a:hover, .tablenav .tablenav-pages a:focus { color: #fff; @@ -187,15 +192,15 @@ input[type=radio]:checked:before { color: #d5dde0; } -#adminmenu .wp-submenu a:focus, -#adminmenu .wp-submenu a:hover, +#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, #adminmenu .wp-has-current-submenu .wp-submenu a:focus, #adminmenu .wp-has-current-submenu .wp-submenu a:hover, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { +#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, +#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { color: #9ebaa0; } @@ -206,11 +211,11 @@ input[type=radio]:checked:before { color: #fff; } -#adminmenu .wp-submenu li.current a:hover, -#adminmenu .wp-submenu li.current a:focus, +#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { +#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, +#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { color: #9ebaa0; } @@ -338,6 +343,7 @@ ul#adminmenu > li.current > a.current:after { #wpadminbar .quicklinks .menupop ul li a:focus, #wpadminbar .quicklinks .menupop ul li a:hover strong, #wpadminbar .quicklinks .menupop ul li a:focus strong, +#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a, #wpadminbar .quicklinks .menupop.hover ul li a:hover, #wpadminbar .quicklinks .menupop.hover ul li a:focus, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, @@ -354,6 +360,8 @@ ul#adminmenu > li.current > a.current:after { } #wpadminbar .quicklinks li a:hover .blavatar, +#wpadminbar .quicklinks li a:focus .blavatar, +#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar, #wpadminbar .menupop .menupop > .ab-item:hover:before, #wpadminbar.mobile .quicklinks .ab-icon:before, #wpadminbar.mobile .quicklinks .ab-item:before { @@ -506,16 +514,6 @@ body.more-filters-opened .more-filters:focus:before { color: #fff; } -/* jQuery UI Slider */ -.wp-slider .ui-slider-handle, -.wp-slider .ui-slider-handle.ui-state-hover, -.wp-slider .ui-slider-handle.focus { - background: #9ebaa0; - border-color: #80a583; - -webkit-box-shadow: inset 0 1px 0 #cbdacc, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #cbdacc, 0 1px 0 rgba(0, 0, 0, 0.15); -} - /* Responsive Component */ div#wp-responsive-toggle a:before { color: #f2fcff; diff --git a/wp-admin/css/colors/ocean/colors-rtl.min.css b/wp-admin/css/colors/ocean/colors-rtl.min.css index 223f6a6..28aaaee 100644 --- a/wp-admin/css/colors/ocean/colors-rtl.min.css +++ b/wp-admin/css/colors/ocean/colors-rtl.min.css @@ -1 +1 @@ -html{background:#f1f1f1}a{color:#0073aa}#media-upload a.del-link:hover,.subsubsub a.current:hover,.subsubsub a:hover,a:active,a:focus,a:hover,div.dashboard-widget-submit input:hover{color:#0096dd}input[type=checkbox]:checked:before{color:#738e96}input[type=radio]:checked:before{background:#738e96}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}.wp-core-ui .button-primary{background:#9ebaa0;border-color:#80a583;color:#fff;-webkit-box-shadow:inset 0 1px 0 #cbdacc,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #cbdacc,0 1px 0 rgba(0,0,0,.15)}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#8faf91;border-color:#719a74;color:#fff;-webkit-box-shadow:inset 0 1px 0 #bccfbd;box-shadow:inset 0 1px 0 #bccfbd}.wp-core-ui .button-primary:focus{-webkit-box-shadow:inset 0 1px 0 #bccfbd,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 1px 0 #bccfbd,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary:active{background:#80a583;border-color:#719a74;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary.button-primary-disabled,.wp-core-ui .button-primary.disabled,.wp-core-ui .button-primary:disabled,.wp-core-ui .button-primary[disabled]{color:#c7d1c8!important;background:#86a989!important;border-color:#719a74!important;text-shadow:none!important}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#738e96}.wp-core-ui .wp-ui-text-primary{color:#738e96}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#9ebaa0}.wp-core-ui .wp-ui-text-highlight{color:#9ebaa0}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#aa9d88}.wp-core-ui .wp-ui-text-notification{color:#aa9d88}.wp-core-ui .wp-ui-text-icon{color:#f2fcff}.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover,.wrap .add-new-h2:hover,.wrap .page-title-action:hover{color:#fff;background-color:#738e96}.view-switch a.current:before{color:#738e96}.view-switch a:hover:before{color:#aa9d88}#adminmenu,#adminmenuback,#adminmenuwrap{background:#738e96}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:#f2fcff}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#9ebaa0}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap h2 .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#627c83}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-left-color:#627c83}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu .wp-submenu-head,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#d5dde0}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#9ebaa0}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#9ebaa0}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-left-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#9ebaa0}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before,.ie8 #adminmenu li.opensub div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#aa9d88}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#627c83}#collapse-button div:after,#collapse-menu{color:#f2fcff}#collapse-menu:hover,#collapse-menu:hover #collapse-button div:after,#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar{color:#fff;background:#738e96}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#f2fcff}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{color:#9ebaa0;background:#627c83}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#9ebaa0}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#fff}#wpadminbar .menupop .ab-sub-wrapper{background:#627c83}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#8f9a9e}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#d5dde0}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#f2fcff}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#9ebaa0}#wpadminbar #adminbarsearch:before,#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#f2fcff}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#879ea5}#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder{color:#fff;opacity:.7}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#879ea5;background-color:#879ea5}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#9ebaa0}#wpadminbar #wp-admin-bar-user-info .username{color:#d5dde0}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after,.wp-pointer .wp-pointer-content h3:before{color:#9ebaa0}.wp-pointer .wp-pointer-content h3{background-color:#9ebaa0;border-color:#8faf91}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#9ebaa0}.media-item .bar,.media-progress-bar div{background-color:#9ebaa0}.details.attachment{-webkit-box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #9ebaa0;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #9ebaa0}.attachment.details .check{background-color:#9ebaa0;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #9ebaa0;box-shadow:0 0 0 1px #fff,0 0 0 2px #9ebaa0}.media-selection .attachment.selection.details .thumbnail{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #9ebaa0;box-shadow:0 0 0 1px #fff,0 0 0 3px #9ebaa0}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#9ebaa0}.theme-filter.current,.theme-section.current{border-bottom-color:#738e96}body.more-filters-opened .more-filters{color:#fff;background-color:#738e96}#customize-theme-controls .widget-area-select .selected,.widgets-chooser li.widgets-chooser-selected,body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#9ebaa0;color:#fff}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before,div#wp-responsive-toggle a:before{color:#f2fcff}.wp-slider .ui-slider-handle,.wp-slider .ui-slider-handle.focus,.wp-slider .ui-slider-handle.ui-state-hover{background:#9ebaa0;border-color:#80a583;-webkit-box-shadow:inset 0 1px 0 #cbdacc,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #cbdacc,0 1px 0 rgba(0,0,0,.15)}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#9ebaa0}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#627c83}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#9ebaa0} \ No newline at end of file +html{background:#f1f1f1}a{color:#0073aa}a:active,a:focus,a:hover{color:#0096dd}#media-upload a.del-link:hover,.subsubsub a.current:hover,.subsubsub a:hover,div.dashboard-widget-submit input:hover{color:#0096dd}input[type=checkbox]:checked:before{color:#738e96}input[type=radio]:checked:before{background:#738e96}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}.wp-core-ui .button-primary{background:#9ebaa0;border-color:#80a583 #719a74 #719a74;color:#fff;-webkit-box-shadow:0 1px 0 #719a74;box-shadow:0 1px 0 #719a74;text-shadow:0 -1px 1px #719a74,-1px 0 1px #719a74,0 1px 1px #719a74,1px 0 1px #719a74}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#a7c0a9;border-color:#719a74;color:#fff;-webkit-box-shadow:0 1px 0 #719a74;box-shadow:0 1px 0 #719a74}.wp-core-ui .button-primary:focus{-webkit-box-shadow:inset 0 1px 0 #80a583,0 0 2px 1px #33b3db;box-shadow:inset 0 1px 0 #80a583,0 0 2px 1px #33b3db}.wp-core-ui .button-primary:active{background:#80a583;border-color:#719a74;-webkit-box-shadow:inset 0 2px 0 #719a74;box-shadow:inset 0 2px 0 #719a74}.wp-core-ui .button-primary.button-primary-disabled,.wp-core-ui .button-primary.disabled,.wp-core-ui .button-primary:disabled,.wp-core-ui .button-primary[disabled]{color:#c7d1c8!important;background:#86a989!important;border-color:#719a74!important;text-shadow:none!important}.wp-core-ui .button-primary.button-hero{-webkit-box-shadow:0 2px 0 #719a74!important;box-shadow:0 2px 0 #719a74!important}.wp-core-ui .button-primary.button-hero:active{-webkit-box-shadow:inset 0 3px 0 #719a74!important;box-shadow:inset 0 3px 0 #719a74!important}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#738e96}.wp-core-ui .wp-ui-text-primary{color:#738e96}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#9ebaa0}.wp-core-ui .wp-ui-text-highlight{color:#9ebaa0}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#aa9d88}.wp-core-ui .wp-ui-text-notification{color:#aa9d88}.wp-core-ui .wp-ui-text-icon{color:#f2fcff}.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover,.wrap .add-new-h2:hover,.wrap .page-title-action:hover{color:#fff;background-color:#738e96}.view-switch a.current:before{color:#738e96}.view-switch a:hover:before{color:#aa9d88}#adminmenu,#adminmenuback,#adminmenuwrap{background:#738e96}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:#f2fcff}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#9ebaa0}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap h2 .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#627c83}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-left-color:#627c83}#adminmenu .wp-submenu .wp-submenu-head{color:#d5dde0}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#d5dde0}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#9ebaa0}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#9ebaa0}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-left-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#9ebaa0}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before,.ie8 #adminmenu li.opensub div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#aa9d88}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#627c83}#collapse-menu{color:#f2fcff}#collapse-menu:hover{color:#fff}#collapse-button div:after{color:#f2fcff}#collapse-menu:hover #collapse-button div:after{color:#fff}#wpadminbar{color:#fff;background:#738e96}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#f2fcff}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{color:#9ebaa0;background:#627c83}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#9ebaa0}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#fff}#wpadminbar .menupop .ab-sub-wrapper{background:#627c83}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#8f9a9e}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#d5dde0}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#f2fcff}#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#9ebaa0}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before{color:#9ebaa0}#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#f2fcff}#wpadminbar #adminbarsearch:before{color:#f2fcff}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#879ea5}#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder{color:#fff;opacity:.7}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#879ea5;background-color:#879ea5}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#9ebaa0}#wpadminbar #wp-admin-bar-user-info .username{color:#d5dde0}.wp-pointer .wp-pointer-content h3{background-color:#9ebaa0;border-color:#8faf91}.wp-pointer .wp-pointer-content h3:before{color:#9ebaa0}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#9ebaa0}.media-item .bar,.media-progress-bar div{background-color:#9ebaa0}.details.attachment{-webkit-box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #9ebaa0;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #9ebaa0}.attachment.details .check{background-color:#9ebaa0;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #9ebaa0;box-shadow:0 0 0 1px #fff,0 0 0 2px #9ebaa0}.media-selection .attachment.selection.details .thumbnail{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #9ebaa0;box-shadow:0 0 0 1px #fff,0 0 0 3px #9ebaa0}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#9ebaa0}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after{color:#9ebaa0}.theme-filter.current,.theme-section.current{border-bottom-color:#738e96}body.more-filters-opened .more-filters{color:#fff;background-color:#738e96}#customize-theme-controls .widget-area-select .selected,.widgets-chooser li.widgets-chooser-selected{background-color:#9ebaa0;color:#fff}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#9ebaa0;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}div#wp-responsive-toggle a:before{color:#f2fcff}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#9ebaa0}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#627c83}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:#f2fcff}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#9ebaa0} \ No newline at end of file diff --git a/wp-admin/css/colors/ocean/colors.css b/wp-admin/css/colors/ocean/colors.css index 0ab239d..30cf9ee 100644 --- a/wp-admin/css/colors/ocean/colors.css +++ b/wp-admin/css/colors/ocean/colors.css @@ -11,9 +11,7 @@ a { color: #0073aa; } -a:hover, -a:active, -a:focus { +a:hover, a:active, a:focus { color: #0096dd; } @@ -41,44 +39,50 @@ input[type=radio]:checked:before { /* Core UI */ .wp-core-ui .button-primary { background: #9ebaa0; - border-color: #80a583; + border-color: #80a583 #719a74 #719a74; color: white; - -webkit-box-shadow: inset 0 1px 0 #cbdacc, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #cbdacc, 0 1px 0 rgba(0, 0, 0, 0.15); + -webkit-box-shadow: 0 1px 0 #719a74; + box-shadow: 0 1px 0 #719a74; + text-shadow: 0 -1px 1px #719a74, 1px 0 1px #719a74, 0 1px 1px #719a74, -1px 0 1px #719a74; } -.wp-core-ui .button-primary:hover, -.wp-core-ui .button-primary:focus { - background: #8faf91; +.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { + background: #a7c0a9; border-color: #719a74; color: white; - -webkit-box-shadow: inset 0 1px 0 #bccfbd; - box-shadow: inset 0 1px 0 #bccfbd; + -webkit-box-shadow: 0 1px 0 #719a74; + box-shadow: 0 1px 0 #719a74; } .wp-core-ui .button-primary:focus { - -webkit-box-shadow: inset 0 1px 0 #bccfbd, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 1px 0 #bccfbd, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); + -webkit-box-shadow: inset 0 1px 0 #80a583, 0 0 2px 1px #33b3db; + box-shadow: inset 0 1px 0 #80a583, 0 0 2px 1px #33b3db; } .wp-core-ui .button-primary:active { background: #80a583; border-color: #719a74; - color: white; - -webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); + -webkit-box-shadow: inset 0 2px 0 #719a74; + box-shadow: inset 0 2px 0 #719a74; } -.wp-core-ui .button-primary[disabled], -.wp-core-ui .button-primary:disabled, -.wp-core-ui .button-primary.button-primary-disabled, -.wp-core-ui .button-primary.disabled { +.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled { color: #c7d1c8 !important; background: #86a989 !important; border-color: #719a74 !important; text-shadow: none !important; } +.wp-core-ui .button-primary.button-hero { + -webkit-box-shadow: 0 2px 0 #719a74 !important; + box-shadow: 0 2px 0 #719a74 !important; +} + +.wp-core-ui .button-primary.button-hero:active { + -webkit-box-shadow: inset 0 3px 0 #719a74 !important; + box-shadow: inset 0 3px 0 #719a74 !important; +} + .wp-core-ui .wp-ui-primary { color: #fff; background-color: #738e96; @@ -111,7 +115,8 @@ input[type=radio]:checked:before { } /* List tables */ -.wrap .add-new-h2:hover, .wrap .page-title-action:hover, +.wrap .add-new-h2:hover, +.wrap .page-title-action:hover, .tablenav .tablenav-pages a:hover, .tablenav .tablenav-pages a:focus { color: #fff; @@ -187,15 +192,15 @@ input[type=radio]:checked:before { color: #d5dde0; } -#adminmenu .wp-submenu a:focus, -#adminmenu .wp-submenu a:hover, +#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, #adminmenu .wp-has-current-submenu .wp-submenu a:focus, #adminmenu .wp-has-current-submenu .wp-submenu a:hover, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { +#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, +#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { color: #9ebaa0; } @@ -206,11 +211,11 @@ input[type=radio]:checked:before { color: #fff; } -#adminmenu .wp-submenu li.current a:hover, -#adminmenu .wp-submenu li.current a:focus, +#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { +#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, +#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { color: #9ebaa0; } @@ -338,6 +343,7 @@ ul#adminmenu > li.current > a.current:after { #wpadminbar .quicklinks .menupop ul li a:focus, #wpadminbar .quicklinks .menupop ul li a:hover strong, #wpadminbar .quicklinks .menupop ul li a:focus strong, +#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a, #wpadminbar .quicklinks .menupop.hover ul li a:hover, #wpadminbar .quicklinks .menupop.hover ul li a:focus, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, @@ -354,6 +360,8 @@ ul#adminmenu > li.current > a.current:after { } #wpadminbar .quicklinks li a:hover .blavatar, +#wpadminbar .quicklinks li a:focus .blavatar, +#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar, #wpadminbar .menupop .menupop > .ab-item:hover:before, #wpadminbar.mobile .quicklinks .ab-icon:before, #wpadminbar.mobile .quicklinks .ab-item:before { @@ -506,16 +514,6 @@ body.more-filters-opened .more-filters:focus:before { color: #fff; } -/* jQuery UI Slider */ -.wp-slider .ui-slider-handle, -.wp-slider .ui-slider-handle.ui-state-hover, -.wp-slider .ui-slider-handle.focus { - background: #9ebaa0; - border-color: #80a583; - -webkit-box-shadow: inset 0 1px 0 #cbdacc, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #cbdacc, 0 1px 0 rgba(0, 0, 0, 0.15); -} - /* Responsive Component */ div#wp-responsive-toggle a:before { color: #f2fcff; diff --git a/wp-admin/css/colors/ocean/colors.min.css b/wp-admin/css/colors/ocean/colors.min.css index c3d5eec..a280725 100644 --- a/wp-admin/css/colors/ocean/colors.min.css +++ b/wp-admin/css/colors/ocean/colors.min.css @@ -1 +1 @@ -html{background:#f1f1f1}a{color:#0073aa}#media-upload a.del-link:hover,.subsubsub a.current:hover,.subsubsub a:hover,a:active,a:focus,a:hover,div.dashboard-widget-submit input:hover{color:#0096dd}input[type=checkbox]:checked:before{color:#738e96}input[type=radio]:checked:before{background:#738e96}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}.wp-core-ui .button-primary{background:#9ebaa0;border-color:#80a583;color:#fff;-webkit-box-shadow:inset 0 1px 0 #cbdacc,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #cbdacc,0 1px 0 rgba(0,0,0,.15)}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#8faf91;border-color:#719a74;color:#fff;-webkit-box-shadow:inset 0 1px 0 #bccfbd;box-shadow:inset 0 1px 0 #bccfbd}.wp-core-ui .button-primary:focus{-webkit-box-shadow:inset 0 1px 0 #bccfbd,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 1px 0 #bccfbd,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary:active{background:#80a583;border-color:#719a74;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary.button-primary-disabled,.wp-core-ui .button-primary.disabled,.wp-core-ui .button-primary:disabled,.wp-core-ui .button-primary[disabled]{color:#c7d1c8!important;background:#86a989!important;border-color:#719a74!important;text-shadow:none!important}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#738e96}.wp-core-ui .wp-ui-text-primary{color:#738e96}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#9ebaa0}.wp-core-ui .wp-ui-text-highlight{color:#9ebaa0}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#aa9d88}.wp-core-ui .wp-ui-text-notification{color:#aa9d88}.wp-core-ui .wp-ui-text-icon{color:#f2fcff}.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover,.wrap .add-new-h2:hover,.wrap .page-title-action:hover{color:#fff;background-color:#738e96}.view-switch a.current:before{color:#738e96}.view-switch a:hover:before{color:#aa9d88}#adminmenu,#adminmenuback,#adminmenuwrap{background:#738e96}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:#f2fcff}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#9ebaa0}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap h2 .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#627c83}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-right-color:#627c83}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu .wp-submenu-head,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#d5dde0}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#9ebaa0}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#9ebaa0}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#9ebaa0}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before,.ie8 #adminmenu li.opensub div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#aa9d88}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#627c83}#collapse-button div:after,#collapse-menu{color:#f2fcff}#collapse-menu:hover,#collapse-menu:hover #collapse-button div:after,#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar{color:#fff;background:#738e96}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#f2fcff}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{color:#9ebaa0;background:#627c83}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#9ebaa0}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#fff}#wpadminbar .menupop .ab-sub-wrapper{background:#627c83}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#8f9a9e}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#d5dde0}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#f2fcff}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#9ebaa0}#wpadminbar #adminbarsearch:before,#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#f2fcff}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#879ea5}#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder{color:#fff;opacity:.7}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#879ea5;background-color:#879ea5}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#9ebaa0}#wpadminbar #wp-admin-bar-user-info .username{color:#d5dde0}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after,.wp-pointer .wp-pointer-content h3:before{color:#9ebaa0}.wp-pointer .wp-pointer-content h3{background-color:#9ebaa0;border-color:#8faf91}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#9ebaa0}.media-item .bar,.media-progress-bar div{background-color:#9ebaa0}.details.attachment{-webkit-box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #9ebaa0;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #9ebaa0}.attachment.details .check{background-color:#9ebaa0;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #9ebaa0;box-shadow:0 0 0 1px #fff,0 0 0 2px #9ebaa0}.media-selection .attachment.selection.details .thumbnail{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #9ebaa0;box-shadow:0 0 0 1px #fff,0 0 0 3px #9ebaa0}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#9ebaa0}.theme-filter.current,.theme-section.current{border-bottom-color:#738e96}body.more-filters-opened .more-filters{color:#fff;background-color:#738e96}#customize-theme-controls .widget-area-select .selected,.widgets-chooser li.widgets-chooser-selected,body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#9ebaa0;color:#fff}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before,div#wp-responsive-toggle a:before{color:#f2fcff}.wp-slider .ui-slider-handle,.wp-slider .ui-slider-handle.focus,.wp-slider .ui-slider-handle.ui-state-hover{background:#9ebaa0;border-color:#80a583;-webkit-box-shadow:inset 0 1px 0 #cbdacc,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #cbdacc,0 1px 0 rgba(0,0,0,.15)}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#9ebaa0}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#627c83}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#9ebaa0} \ No newline at end of file +html{background:#f1f1f1}a{color:#0073aa}a:active,a:focus,a:hover{color:#0096dd}#media-upload a.del-link:hover,.subsubsub a.current:hover,.subsubsub a:hover,div.dashboard-widget-submit input:hover{color:#0096dd}input[type=checkbox]:checked:before{color:#738e96}input[type=radio]:checked:before{background:#738e96}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}.wp-core-ui .button-primary{background:#9ebaa0;border-color:#80a583 #719a74 #719a74;color:#fff;-webkit-box-shadow:0 1px 0 #719a74;box-shadow:0 1px 0 #719a74;text-shadow:0 -1px 1px #719a74,1px 0 1px #719a74,0 1px 1px #719a74,-1px 0 1px #719a74}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#a7c0a9;border-color:#719a74;color:#fff;-webkit-box-shadow:0 1px 0 #719a74;box-shadow:0 1px 0 #719a74}.wp-core-ui .button-primary:focus{-webkit-box-shadow:inset 0 1px 0 #80a583,0 0 2px 1px #33b3db;box-shadow:inset 0 1px 0 #80a583,0 0 2px 1px #33b3db}.wp-core-ui .button-primary:active{background:#80a583;border-color:#719a74;-webkit-box-shadow:inset 0 2px 0 #719a74;box-shadow:inset 0 2px 0 #719a74}.wp-core-ui .button-primary.button-primary-disabled,.wp-core-ui .button-primary.disabled,.wp-core-ui .button-primary:disabled,.wp-core-ui .button-primary[disabled]{color:#c7d1c8!important;background:#86a989!important;border-color:#719a74!important;text-shadow:none!important}.wp-core-ui .button-primary.button-hero{-webkit-box-shadow:0 2px 0 #719a74!important;box-shadow:0 2px 0 #719a74!important}.wp-core-ui .button-primary.button-hero:active{-webkit-box-shadow:inset 0 3px 0 #719a74!important;box-shadow:inset 0 3px 0 #719a74!important}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#738e96}.wp-core-ui .wp-ui-text-primary{color:#738e96}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#9ebaa0}.wp-core-ui .wp-ui-text-highlight{color:#9ebaa0}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#aa9d88}.wp-core-ui .wp-ui-text-notification{color:#aa9d88}.wp-core-ui .wp-ui-text-icon{color:#f2fcff}.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover,.wrap .add-new-h2:hover,.wrap .page-title-action:hover{color:#fff;background-color:#738e96}.view-switch a.current:before{color:#738e96}.view-switch a:hover:before{color:#aa9d88}#adminmenu,#adminmenuback,#adminmenuwrap{background:#738e96}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:#f2fcff}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#9ebaa0}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap h2 .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#627c83}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-right-color:#627c83}#adminmenu .wp-submenu .wp-submenu-head{color:#d5dde0}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#d5dde0}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#9ebaa0}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#9ebaa0}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#9ebaa0}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before,.ie8 #adminmenu li.opensub div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#aa9d88}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#627c83}#collapse-menu{color:#f2fcff}#collapse-menu:hover{color:#fff}#collapse-button div:after{color:#f2fcff}#collapse-menu:hover #collapse-button div:after{color:#fff}#wpadminbar{color:#fff;background:#738e96}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#f2fcff}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{color:#9ebaa0;background:#627c83}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#9ebaa0}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#fff}#wpadminbar .menupop .ab-sub-wrapper{background:#627c83}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#8f9a9e}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#d5dde0}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#f2fcff}#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#9ebaa0}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before{color:#9ebaa0}#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#f2fcff}#wpadminbar #adminbarsearch:before{color:#f2fcff}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#879ea5}#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder{color:#fff;opacity:.7}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#879ea5;background-color:#879ea5}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#9ebaa0}#wpadminbar #wp-admin-bar-user-info .username{color:#d5dde0}.wp-pointer .wp-pointer-content h3{background-color:#9ebaa0;border-color:#8faf91}.wp-pointer .wp-pointer-content h3:before{color:#9ebaa0}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#9ebaa0}.media-item .bar,.media-progress-bar div{background-color:#9ebaa0}.details.attachment{-webkit-box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #9ebaa0;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #9ebaa0}.attachment.details .check{background-color:#9ebaa0;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #9ebaa0;box-shadow:0 0 0 1px #fff,0 0 0 2px #9ebaa0}.media-selection .attachment.selection.details .thumbnail{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #9ebaa0;box-shadow:0 0 0 1px #fff,0 0 0 3px #9ebaa0}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#9ebaa0}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after{color:#9ebaa0}.theme-filter.current,.theme-section.current{border-bottom-color:#738e96}body.more-filters-opened .more-filters{color:#fff;background-color:#738e96}#customize-theme-controls .widget-area-select .selected,.widgets-chooser li.widgets-chooser-selected{background-color:#9ebaa0;color:#fff}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#9ebaa0;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}div#wp-responsive-toggle a:before{color:#f2fcff}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#9ebaa0}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#627c83}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:#f2fcff}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#9ebaa0} \ No newline at end of file diff --git a/wp-admin/css/colors/sunrise/colors-rtl.css b/wp-admin/css/colors/sunrise/colors-rtl.css index cd774e3..64855f5 100644 --- a/wp-admin/css/colors/sunrise/colors-rtl.css +++ b/wp-admin/css/colors/sunrise/colors-rtl.css @@ -11,9 +11,7 @@ a { color: #0073aa; } -a:hover, -a:active, -a:focus { +a:hover, a:active, a:focus { color: #0096dd; } @@ -41,44 +39,50 @@ input[type=radio]:checked:before { /* Core UI */ .wp-core-ui .button-primary { background: #dd823b; - border-color: #c36922; + border-color: #c36922 #ad5d1e #ad5d1e; color: white; - -webkit-box-shadow: inset 0 1px 0 #e8ac7c, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #e8ac7c, 0 1px 0 rgba(0, 0, 0, 0.15); + -webkit-box-shadow: 0 1px 0 #ad5d1e; + box-shadow: 0 1px 0 #ad5d1e; + text-shadow: 0 -1px 1px #ad5d1e, -1px 0 1px #ad5d1e, 0 1px 1px #ad5d1e, 1px 0 1px #ad5d1e; } -.wp-core-ui .button-primary:hover, -.wp-core-ui .button-primary:focus { - background: #d97426; +.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { + background: #df8a48; border-color: #ad5d1e; color: white; - -webkit-box-shadow: inset 0 1px 0 #e59e66; - box-shadow: inset 0 1px 0 #e59e66; + -webkit-box-shadow: 0 1px 0 #ad5d1e; + box-shadow: 0 1px 0 #ad5d1e; } .wp-core-ui .button-primary:focus { - -webkit-box-shadow: inset 0 1px 0 #e59e66, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 1px 0 #e59e66, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); + -webkit-box-shadow: inset 0 1px 0 #c36922, 0 0 2px 1px #33b3db; + box-shadow: inset 0 1px 0 #c36922, 0 0 2px 1px #33b3db; } .wp-core-ui .button-primary:active { background: #c36922; border-color: #ad5d1e; - color: white; - -webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); + -webkit-box-shadow: inset 0 2px 0 #ad5d1e; + box-shadow: inset 0 2px 0 #ad5d1e; } -.wp-core-ui .button-primary[disabled], -.wp-core-ui .button-primary:disabled, -.wp-core-ui .button-primary.button-primary-disabled, -.wp-core-ui .button-primary.disabled { +.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled { color: #d1cbc7 !important; background: #cc6d23 !important; border-color: #ad5d1e !important; text-shadow: none !important; } +.wp-core-ui .button-primary.button-hero { + -webkit-box-shadow: 0 2px 0 #ad5d1e !important; + box-shadow: 0 2px 0 #ad5d1e !important; +} + +.wp-core-ui .button-primary.button-hero:active { + -webkit-box-shadow: inset 0 3px 0 #ad5d1e !important; + box-shadow: inset 0 3px 0 #ad5d1e !important; +} + .wp-core-ui .wp-ui-primary { color: #fff; background-color: #cf4944; @@ -111,7 +115,8 @@ input[type=radio]:checked:before { } /* List tables */ -.wrap .add-new-h2:hover, .wrap .page-title-action:hover, +.wrap .add-new-h2:hover, +.wrap .page-title-action:hover, .tablenav .tablenav-pages a:hover, .tablenav .tablenav-pages a:focus { color: #fff; @@ -187,15 +192,15 @@ input[type=radio]:checked:before { color: #f1c8c7; } -#adminmenu .wp-submenu a:focus, -#adminmenu .wp-submenu a:hover, +#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, #adminmenu .wp-has-current-submenu .wp-submenu a:focus, #adminmenu .wp-has-current-submenu .wp-submenu a:hover, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { +#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, +#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { color: #f7e3d3; } @@ -206,11 +211,11 @@ input[type=radio]:checked:before { color: #fff; } -#adminmenu .wp-submenu li.current a:hover, -#adminmenu .wp-submenu li.current a:focus, +#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { +#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, +#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { color: #f7e3d3; } @@ -338,6 +343,7 @@ ul#adminmenu > li.current > a.current:after { #wpadminbar .quicklinks .menupop ul li a:focus, #wpadminbar .quicklinks .menupop ul li a:hover strong, #wpadminbar .quicklinks .menupop ul li a:focus strong, +#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a, #wpadminbar .quicklinks .menupop.hover ul li a:hover, #wpadminbar .quicklinks .menupop.hover ul li a:focus, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, @@ -354,6 +360,8 @@ ul#adminmenu > li.current > a.current:after { } #wpadminbar .quicklinks li a:hover .blavatar, +#wpadminbar .quicklinks li a:focus .blavatar, +#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar, #wpadminbar .menupop .menupop > .ab-item:hover:before, #wpadminbar.mobile .quicklinks .ab-icon:before, #wpadminbar.mobile .quicklinks .ab-item:before { @@ -506,16 +514,6 @@ body.more-filters-opened .more-filters:focus:before { color: #fff; } -/* jQuery UI Slider */ -.wp-slider .ui-slider-handle, -.wp-slider .ui-slider-handle.ui-state-hover, -.wp-slider .ui-slider-handle.focus { - background: #dd823b; - border-color: #c36922; - -webkit-box-shadow: inset 0 1px 0 #e8ac7c, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #e8ac7c, 0 1px 0 rgba(0, 0, 0, 0.15); -} - /* Responsive Component */ div#wp-responsive-toggle a:before { color: #f3f1f1; diff --git a/wp-admin/css/colors/sunrise/colors-rtl.min.css b/wp-admin/css/colors/sunrise/colors-rtl.min.css index ab5d255..3096c91 100644 --- a/wp-admin/css/colors/sunrise/colors-rtl.min.css +++ b/wp-admin/css/colors/sunrise/colors-rtl.min.css @@ -1 +1 @@ -html{background:#f1f1f1}a{color:#0073aa}#media-upload a.del-link:hover,.subsubsub a.current:hover,.subsubsub a:hover,a:active,a:focus,a:hover,div.dashboard-widget-submit input:hover{color:#0096dd}input[type=checkbox]:checked:before{color:#dd823b}input[type=radio]:checked:before{background:#dd823b}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}.wp-core-ui .button-primary{background:#dd823b;border-color:#c36922;color:#fff;-webkit-box-shadow:inset 0 1px 0 #e8ac7c,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #e8ac7c,0 1px 0 rgba(0,0,0,.15)}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#d97426;border-color:#ad5d1e;color:#fff;-webkit-box-shadow:inset 0 1px 0 #e59e66;box-shadow:inset 0 1px 0 #e59e66}.wp-core-ui .button-primary:focus{-webkit-box-shadow:inset 0 1px 0 #e59e66,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 1px 0 #e59e66,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary:active{background:#c36922;border-color:#ad5d1e;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary.button-primary-disabled,.wp-core-ui .button-primary.disabled,.wp-core-ui .button-primary:disabled,.wp-core-ui .button-primary[disabled]{color:#d1cbc7!important;background:#cc6d23!important;border-color:#ad5d1e!important;text-shadow:none!important}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#cf4944}.wp-core-ui .wp-ui-text-primary{color:#cf4944}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#dd823b}.wp-core-ui .wp-ui-text-highlight{color:#dd823b}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#ccaf0b}.wp-core-ui .wp-ui-text-notification{color:#ccaf0b}.wp-core-ui .wp-ui-text-icon{color:#f3f1f1}.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover,.wrap .add-new-h2:hover,.wrap .page-title-action:hover{color:#fff;background-color:#cf4944}.view-switch a.current:before{color:#cf4944}.view-switch a:hover:before{color:#ccaf0b}#adminmenu,#adminmenuback,#adminmenuwrap{background:#cf4944}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:#f3f1f1}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#dd823b}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap h2 .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#be3631}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-left-color:#be3631}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu .wp-submenu-head,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#f1c8c7}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#f7e3d3}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#f7e3d3}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-left-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#dd823b}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before,.ie8 #adminmenu li.opensub div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#ccaf0b}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#be3631}#collapse-button div:after,#collapse-menu{color:#f3f1f1}#collapse-menu:hover,#collapse-menu:hover #collapse-button div:after,#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar{color:#fff;background:#cf4944}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#f3f1f1}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{color:#f7e3d3;background:#be3631}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#f7e3d3}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#fff}#wpadminbar .menupop .ab-sub-wrapper{background:#be3631}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#cf6b67}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#f1c8c7}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#f3f1f1}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#f7e3d3}#wpadminbar #adminbarsearch:before,#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#f3f1f1}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#d66560}#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder{color:#fff;opacity:.7}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#d66560;background-color:#d66560}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#f7e3d3}#wpadminbar #wp-admin-bar-user-info .username{color:#f1c8c7}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after,.wp-pointer .wp-pointer-content h3:before{color:#dd823b}.wp-pointer .wp-pointer-content h3{background-color:#dd823b;border-color:#d97426}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#dd823b}.media-item .bar,.media-progress-bar div{background-color:#dd823b}.details.attachment{-webkit-box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #dd823b;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #dd823b}.attachment.details .check{background-color:#dd823b;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #dd823b;box-shadow:0 0 0 1px #fff,0 0 0 2px #dd823b}.media-selection .attachment.selection.details .thumbnail{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #dd823b;box-shadow:0 0 0 1px #fff,0 0 0 3px #dd823b}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#dd823b}.theme-filter.current,.theme-section.current{border-bottom-color:#cf4944}body.more-filters-opened .more-filters{color:#fff;background-color:#cf4944}#customize-theme-controls .widget-area-select .selected,.widgets-chooser li.widgets-chooser-selected,body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#dd823b;color:#fff}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before,div#wp-responsive-toggle a:before{color:#f3f1f1}.wp-slider .ui-slider-handle,.wp-slider .ui-slider-handle.focus,.wp-slider .ui-slider-handle.ui-state-hover{background:#dd823b;border-color:#c36922;-webkit-box-shadow:inset 0 1px 0 #e8ac7c,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #e8ac7c,0 1px 0 rgba(0,0,0,.15)}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#dd823b}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#be3631}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#dd823b} \ No newline at end of file +html{background:#f1f1f1}a{color:#0073aa}a:active,a:focus,a:hover{color:#0096dd}#media-upload a.del-link:hover,.subsubsub a.current:hover,.subsubsub a:hover,div.dashboard-widget-submit input:hover{color:#0096dd}input[type=checkbox]:checked:before{color:#dd823b}input[type=radio]:checked:before{background:#dd823b}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}.wp-core-ui .button-primary{background:#dd823b;border-color:#c36922 #ad5d1e #ad5d1e;color:#fff;-webkit-box-shadow:0 1px 0 #ad5d1e;box-shadow:0 1px 0 #ad5d1e;text-shadow:0 -1px 1px #ad5d1e,-1px 0 1px #ad5d1e,0 1px 1px #ad5d1e,1px 0 1px #ad5d1e}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#df8a48;border-color:#ad5d1e;color:#fff;-webkit-box-shadow:0 1px 0 #ad5d1e;box-shadow:0 1px 0 #ad5d1e}.wp-core-ui .button-primary:focus{-webkit-box-shadow:inset 0 1px 0 #c36922,0 0 2px 1px #33b3db;box-shadow:inset 0 1px 0 #c36922,0 0 2px 1px #33b3db}.wp-core-ui .button-primary:active{background:#c36922;border-color:#ad5d1e;-webkit-box-shadow:inset 0 2px 0 #ad5d1e;box-shadow:inset 0 2px 0 #ad5d1e}.wp-core-ui .button-primary.button-primary-disabled,.wp-core-ui .button-primary.disabled,.wp-core-ui .button-primary:disabled,.wp-core-ui .button-primary[disabled]{color:#d1cbc7!important;background:#cc6d23!important;border-color:#ad5d1e!important;text-shadow:none!important}.wp-core-ui .button-primary.button-hero{-webkit-box-shadow:0 2px 0 #ad5d1e!important;box-shadow:0 2px 0 #ad5d1e!important}.wp-core-ui .button-primary.button-hero:active{-webkit-box-shadow:inset 0 3px 0 #ad5d1e!important;box-shadow:inset 0 3px 0 #ad5d1e!important}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#cf4944}.wp-core-ui .wp-ui-text-primary{color:#cf4944}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#dd823b}.wp-core-ui .wp-ui-text-highlight{color:#dd823b}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#ccaf0b}.wp-core-ui .wp-ui-text-notification{color:#ccaf0b}.wp-core-ui .wp-ui-text-icon{color:#f3f1f1}.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover,.wrap .add-new-h2:hover,.wrap .page-title-action:hover{color:#fff;background-color:#cf4944}.view-switch a.current:before{color:#cf4944}.view-switch a:hover:before{color:#ccaf0b}#adminmenu,#adminmenuback,#adminmenuwrap{background:#cf4944}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:#f3f1f1}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#dd823b}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap h2 .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#be3631}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-left-color:#be3631}#adminmenu .wp-submenu .wp-submenu-head{color:#f1c8c7}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#f1c8c7}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#f7e3d3}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#f7e3d3}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-left-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#dd823b}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before,.ie8 #adminmenu li.opensub div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#ccaf0b}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#be3631}#collapse-menu{color:#f3f1f1}#collapse-menu:hover{color:#fff}#collapse-button div:after{color:#f3f1f1}#collapse-menu:hover #collapse-button div:after{color:#fff}#wpadminbar{color:#fff;background:#cf4944}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#f3f1f1}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{color:#f7e3d3;background:#be3631}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#f7e3d3}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#fff}#wpadminbar .menupop .ab-sub-wrapper{background:#be3631}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#cf6b67}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#f1c8c7}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#f3f1f1}#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#f7e3d3}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before{color:#f7e3d3}#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#f3f1f1}#wpadminbar #adminbarsearch:before{color:#f3f1f1}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#d66560}#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder{color:#fff;opacity:.7}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#d66560;background-color:#d66560}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#f7e3d3}#wpadminbar #wp-admin-bar-user-info .username{color:#f1c8c7}.wp-pointer .wp-pointer-content h3{background-color:#dd823b;border-color:#d97426}.wp-pointer .wp-pointer-content h3:before{color:#dd823b}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#dd823b}.media-item .bar,.media-progress-bar div{background-color:#dd823b}.details.attachment{-webkit-box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #dd823b;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #dd823b}.attachment.details .check{background-color:#dd823b;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #dd823b;box-shadow:0 0 0 1px #fff,0 0 0 2px #dd823b}.media-selection .attachment.selection.details .thumbnail{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #dd823b;box-shadow:0 0 0 1px #fff,0 0 0 3px #dd823b}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#dd823b}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after{color:#dd823b}.theme-filter.current,.theme-section.current{border-bottom-color:#cf4944}body.more-filters-opened .more-filters{color:#fff;background-color:#cf4944}#customize-theme-controls .widget-area-select .selected,.widgets-chooser li.widgets-chooser-selected{background-color:#dd823b;color:#fff}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#dd823b;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}div#wp-responsive-toggle a:before{color:#f3f1f1}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#dd823b}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#be3631}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:#f3f1f1}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#dd823b} \ No newline at end of file diff --git a/wp-admin/css/colors/sunrise/colors.css b/wp-admin/css/colors/sunrise/colors.css index 6828a96..ad9661e 100644 --- a/wp-admin/css/colors/sunrise/colors.css +++ b/wp-admin/css/colors/sunrise/colors.css @@ -11,9 +11,7 @@ a { color: #0073aa; } -a:hover, -a:active, -a:focus { +a:hover, a:active, a:focus { color: #0096dd; } @@ -41,44 +39,50 @@ input[type=radio]:checked:before { /* Core UI */ .wp-core-ui .button-primary { background: #dd823b; - border-color: #c36922; + border-color: #c36922 #ad5d1e #ad5d1e; color: white; - -webkit-box-shadow: inset 0 1px 0 #e8ac7c, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #e8ac7c, 0 1px 0 rgba(0, 0, 0, 0.15); + -webkit-box-shadow: 0 1px 0 #ad5d1e; + box-shadow: 0 1px 0 #ad5d1e; + text-shadow: 0 -1px 1px #ad5d1e, 1px 0 1px #ad5d1e, 0 1px 1px #ad5d1e, -1px 0 1px #ad5d1e; } -.wp-core-ui .button-primary:hover, -.wp-core-ui .button-primary:focus { - background: #d97426; +.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { + background: #df8a48; border-color: #ad5d1e; color: white; - -webkit-box-shadow: inset 0 1px 0 #e59e66; - box-shadow: inset 0 1px 0 #e59e66; + -webkit-box-shadow: 0 1px 0 #ad5d1e; + box-shadow: 0 1px 0 #ad5d1e; } .wp-core-ui .button-primary:focus { - -webkit-box-shadow: inset 0 1px 0 #e59e66, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 1px 0 #e59e66, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); + -webkit-box-shadow: inset 0 1px 0 #c36922, 0 0 2px 1px #33b3db; + box-shadow: inset 0 1px 0 #c36922, 0 0 2px 1px #33b3db; } .wp-core-ui .button-primary:active { background: #c36922; border-color: #ad5d1e; - color: white; - -webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); - box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8); + -webkit-box-shadow: inset 0 2px 0 #ad5d1e; + box-shadow: inset 0 2px 0 #ad5d1e; } -.wp-core-ui .button-primary[disabled], -.wp-core-ui .button-primary:disabled, -.wp-core-ui .button-primary.button-primary-disabled, -.wp-core-ui .button-primary.disabled { +.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled { color: #d1cbc7 !important; background: #cc6d23 !important; border-color: #ad5d1e !important; text-shadow: none !important; } +.wp-core-ui .button-primary.button-hero { + -webkit-box-shadow: 0 2px 0 #ad5d1e !important; + box-shadow: 0 2px 0 #ad5d1e !important; +} + +.wp-core-ui .button-primary.button-hero:active { + -webkit-box-shadow: inset 0 3px 0 #ad5d1e !important; + box-shadow: inset 0 3px 0 #ad5d1e !important; +} + .wp-core-ui .wp-ui-primary { color: #fff; background-color: #cf4944; @@ -111,7 +115,8 @@ input[type=radio]:checked:before { } /* List tables */ -.wrap .add-new-h2:hover, .wrap .page-title-action:hover, +.wrap .add-new-h2:hover, +.wrap .page-title-action:hover, .tablenav .tablenav-pages a:hover, .tablenav .tablenav-pages a:focus { color: #fff; @@ -187,15 +192,15 @@ input[type=radio]:checked:before { color: #f1c8c7; } -#adminmenu .wp-submenu a:focus, -#adminmenu .wp-submenu a:hover, +#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, #adminmenu .wp-has-current-submenu .wp-submenu a:focus, #adminmenu .wp-has-current-submenu .wp-submenu a:hover, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus, .folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, #adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { +#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus, +#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover { color: #f7e3d3; } @@ -206,11 +211,11 @@ input[type=radio]:checked:before { color: #fff; } -#adminmenu .wp-submenu li.current a:hover, -#adminmenu .wp-submenu li.current a:focus, +#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus, -#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { +#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover, +#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus { color: #f7e3d3; } @@ -338,6 +343,7 @@ ul#adminmenu > li.current > a.current:after { #wpadminbar .quicklinks .menupop ul li a:focus, #wpadminbar .quicklinks .menupop ul li a:hover strong, #wpadminbar .quicklinks .menupop ul li a:focus strong, +#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a, #wpadminbar .quicklinks .menupop.hover ul li a:hover, #wpadminbar .quicklinks .menupop.hover ul li a:focus, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, @@ -354,6 +360,8 @@ ul#adminmenu > li.current > a.current:after { } #wpadminbar .quicklinks li a:hover .blavatar, +#wpadminbar .quicklinks li a:focus .blavatar, +#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar, #wpadminbar .menupop .menupop > .ab-item:hover:before, #wpadminbar.mobile .quicklinks .ab-icon:before, #wpadminbar.mobile .quicklinks .ab-item:before { @@ -506,16 +514,6 @@ body.more-filters-opened .more-filters:focus:before { color: #fff; } -/* jQuery UI Slider */ -.wp-slider .ui-slider-handle, -.wp-slider .ui-slider-handle.ui-state-hover, -.wp-slider .ui-slider-handle.focus { - background: #dd823b; - border-color: #c36922; - -webkit-box-shadow: inset 0 1px 0 #e8ac7c, 0 1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 1px 0 #e8ac7c, 0 1px 0 rgba(0, 0, 0, 0.15); -} - /* Responsive Component */ div#wp-responsive-toggle a:before { color: #f3f1f1; diff --git a/wp-admin/css/colors/sunrise/colors.min.css b/wp-admin/css/colors/sunrise/colors.min.css index 7f60455..3243756 100644 --- a/wp-admin/css/colors/sunrise/colors.min.css +++ b/wp-admin/css/colors/sunrise/colors.min.css @@ -1 +1 @@ -html{background:#f1f1f1}a{color:#0073aa}#media-upload a.del-link:hover,.subsubsub a.current:hover,.subsubsub a:hover,a:active,a:focus,a:hover,div.dashboard-widget-submit input:hover{color:#0096dd}input[type=checkbox]:checked:before{color:#dd823b}input[type=radio]:checked:before{background:#dd823b}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}.wp-core-ui .button-primary{background:#dd823b;border-color:#c36922;color:#fff;-webkit-box-shadow:inset 0 1px 0 #e8ac7c,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #e8ac7c,0 1px 0 rgba(0,0,0,.15)}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#d97426;border-color:#ad5d1e;color:#fff;-webkit-box-shadow:inset 0 1px 0 #e59e66;box-shadow:inset 0 1px 0 #e59e66}.wp-core-ui .button-primary:focus{-webkit-box-shadow:inset 0 1px 0 #e59e66,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 1px 0 #e59e66,0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary:active{background:#c36922;border-color:#ad5d1e;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-core-ui .button-primary.button-primary-disabled,.wp-core-ui .button-primary.disabled,.wp-core-ui .button-primary:disabled,.wp-core-ui .button-primary[disabled]{color:#d1cbc7!important;background:#cc6d23!important;border-color:#ad5d1e!important;text-shadow:none!important}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#cf4944}.wp-core-ui .wp-ui-text-primary{color:#cf4944}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#dd823b}.wp-core-ui .wp-ui-text-highlight{color:#dd823b}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#ccaf0b}.wp-core-ui .wp-ui-text-notification{color:#ccaf0b}.wp-core-ui .wp-ui-text-icon{color:#f3f1f1}.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover,.wrap .add-new-h2:hover,.wrap .page-title-action:hover{color:#fff;background-color:#cf4944}.view-switch a.current:before{color:#cf4944}.view-switch a:hover:before{color:#ccaf0b}#adminmenu,#adminmenuback,#adminmenuwrap{background:#cf4944}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:#f3f1f1}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#dd823b}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap h2 .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#be3631}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-right-color:#be3631}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu .wp-submenu-head,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#f1c8c7}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#f7e3d3}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#f7e3d3}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#dd823b}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before,.ie8 #adminmenu li.opensub div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#ccaf0b}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#be3631}#collapse-button div:after,#collapse-menu{color:#f3f1f1}#collapse-menu:hover,#collapse-menu:hover #collapse-button div:after,#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar{color:#fff;background:#cf4944}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#f3f1f1}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{color:#f7e3d3;background:#be3631}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#f7e3d3}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#fff}#wpadminbar .menupop .ab-sub-wrapper{background:#be3631}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#cf6b67}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#f1c8c7}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#f3f1f1}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#f7e3d3}#wpadminbar #adminbarsearch:before,#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#f3f1f1}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#d66560}#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder{color:#fff;opacity:.7}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#d66560;background-color:#d66560}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#f7e3d3}#wpadminbar #wp-admin-bar-user-info .username{color:#f1c8c7}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after,.wp-pointer .wp-pointer-content h3:before{color:#dd823b}.wp-pointer .wp-pointer-content h3{background-color:#dd823b;border-color:#d97426}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#dd823b}.media-item .bar,.media-progress-bar div{background-color:#dd823b}.details.attachment{-webkit-box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #dd823b;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #dd823b}.attachment.details .check{background-color:#dd823b;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #dd823b;box-shadow:0 0 0 1px #fff,0 0 0 2px #dd823b}.media-selection .attachment.selection.details .thumbnail{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #dd823b;box-shadow:0 0 0 1px #fff,0 0 0 3px #dd823b}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#dd823b}.theme-filter.current,.theme-section.current{border-bottom-color:#cf4944}body.more-filters-opened .more-filters{color:#fff;background-color:#cf4944}#customize-theme-controls .widget-area-select .selected,.widgets-chooser li.widgets-chooser-selected,body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#dd823b;color:#fff}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before,div#wp-responsive-toggle a:before{color:#f3f1f1}.wp-slider .ui-slider-handle,.wp-slider .ui-slider-handle.focus,.wp-slider .ui-slider-handle.ui-state-hover{background:#dd823b;border-color:#c36922;-webkit-box-shadow:inset 0 1px 0 #e8ac7c,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #e8ac7c,0 1px 0 rgba(0,0,0,.15)}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#dd823b}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#be3631}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#dd823b} \ No newline at end of file +html{background:#f1f1f1}a{color:#0073aa}a:active,a:focus,a:hover{color:#0096dd}#media-upload a.del-link:hover,.subsubsub a.current:hover,.subsubsub a:hover,div.dashboard-widget-submit input:hover{color:#0096dd}input[type=checkbox]:checked:before{color:#dd823b}input[type=radio]:checked:before{background:#dd823b}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#0096dd}.wp-core-ui .button-primary{background:#dd823b;border-color:#c36922 #ad5d1e #ad5d1e;color:#fff;-webkit-box-shadow:0 1px 0 #ad5d1e;box-shadow:0 1px 0 #ad5d1e;text-shadow:0 -1px 1px #ad5d1e,1px 0 1px #ad5d1e,0 1px 1px #ad5d1e,-1px 0 1px #ad5d1e}.wp-core-ui .button-primary:focus,.wp-core-ui .button-primary:hover{background:#df8a48;border-color:#ad5d1e;color:#fff;-webkit-box-shadow:0 1px 0 #ad5d1e;box-shadow:0 1px 0 #ad5d1e}.wp-core-ui .button-primary:focus{-webkit-box-shadow:inset 0 1px 0 #c36922,0 0 2px 1px #33b3db;box-shadow:inset 0 1px 0 #c36922,0 0 2px 1px #33b3db}.wp-core-ui .button-primary:active{background:#c36922;border-color:#ad5d1e;-webkit-box-shadow:inset 0 2px 0 #ad5d1e;box-shadow:inset 0 2px 0 #ad5d1e}.wp-core-ui .button-primary.button-primary-disabled,.wp-core-ui .button-primary.disabled,.wp-core-ui .button-primary:disabled,.wp-core-ui .button-primary[disabled]{color:#d1cbc7!important;background:#cc6d23!important;border-color:#ad5d1e!important;text-shadow:none!important}.wp-core-ui .button-primary.button-hero{-webkit-box-shadow:0 2px 0 #ad5d1e!important;box-shadow:0 2px 0 #ad5d1e!important}.wp-core-ui .button-primary.button-hero:active{-webkit-box-shadow:inset 0 3px 0 #ad5d1e!important;box-shadow:inset 0 3px 0 #ad5d1e!important}.wp-core-ui .wp-ui-primary{color:#fff;background-color:#cf4944}.wp-core-ui .wp-ui-text-primary{color:#cf4944}.wp-core-ui .wp-ui-highlight{color:#fff;background-color:#dd823b}.wp-core-ui .wp-ui-text-highlight{color:#dd823b}.wp-core-ui .wp-ui-notification{color:#fff;background-color:#ccaf0b}.wp-core-ui .wp-ui-text-notification{color:#ccaf0b}.wp-core-ui .wp-ui-text-icon{color:#f3f1f1}.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover,.wrap .add-new-h2:hover,.wrap .page-title-action:hover{color:#fff;background-color:#cf4944}.view-switch a.current:before{color:#cf4944}.view-switch a:hover:before{color:#ccaf0b}#adminmenu,#adminmenuback,#adminmenuwrap{background:#cf4944}#adminmenu a{color:#fff}#adminmenu div.wp-menu-image:before{color:#f3f1f1}#adminmenu a:hover,#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{color:#fff;background-color:#dd823b}#adminmenu li.menu-top:hover div.wp-menu-image:before,#adminmenu li.opensub>a.menu-top div.wp-menu-image:before{color:#fff}.about-wrap h2 .nav-tab-active,.nav-tab-active,.nav-tab-active:hover{background-color:#f1f1f1;border-bottom-color:#f1f1f1}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{background:#be3631}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-right-color:#be3631}#adminmenu .wp-submenu .wp-submenu-head{color:#f1c8c7}#adminmenu .wp-has-current-submenu .wp-submenu a,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a,#adminmenu .wp-submenu a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a,.folded #adminmenu .wp-has-current-submenu .wp-submenu a{color:#f1c8c7}#adminmenu .wp-has-current-submenu .wp-submenu a:focus,#adminmenu .wp-has-current-submenu .wp-submenu a:hover,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover,#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu a:hover,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover{color:#f7e3d3}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current a,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus,#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:focus,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a:hover{color:#f7e3d3}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{border-right-color:#f1f1f1}#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top{color:#fff;background:#dd823b}#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before,.ie8 #adminmenu li.opensub div.wp-menu-image:before{color:#fff}#adminmenu .awaiting-mod,#adminmenu .update-plugins{color:#fff;background:#ccaf0b}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod,#adminmenu li.menu-top:hover>a .update-plugins,#adminmenu li:hover a .awaiting-mod{color:#fff;background:#be3631}#collapse-menu{color:#f3f1f1}#collapse-menu:hover{color:#fff}#collapse-button div:after{color:#f3f1f1}#collapse-menu:hover #collapse-button div:after{color:#fff}#wpadminbar{color:#fff;background:#cf4944}#wpadminbar .ab-item,#wpadminbar a.ab-item,#wpadminbar>#wp-toolbar span.ab-label,#wpadminbar>#wp-toolbar span.noticon{color:#fff}#wpadminbar .ab-icon,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:after,#wpadminbar .ab-item:before{color:#f3f1f1}#wpadminbar .ab-top-menu>li.menupop.hover>.ab-item,#wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus,#wpadminbar.nojs .ab-top-menu>li.menupop:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item,#wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus{color:#f7e3d3;background:#be3631}#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li.hover span.ab-label,#wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label{color:#f7e3d3}#wpadminbar:not(.mobile) li:hover #adminbarsearch:before,#wpadminbar:not(.mobile) li:hover .ab-icon:before,#wpadminbar:not(.mobile) li:hover .ab-item:after,#wpadminbar:not(.mobile) li:hover .ab-item:before{color:#fff}#wpadminbar .menupop .ab-sub-wrapper{background:#be3631}#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu{background:#cf6b67}#wpadminbar .ab-submenu .ab-item,#wpadminbar .quicklinks .menupop ul li a,#wpadminbar .quicklinks .menupop.hover ul li a,#wpadminbar.nojs .quicklinks .menupop:hover ul li a{color:#f1c8c7}#wpadminbar .menupop .menupop>.ab-item:before,#wpadminbar .quicklinks li .blavatar{color:#f3f1f1}#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a,#wpadminbar .quicklinks .menupop ul li a:focus,#wpadminbar .quicklinks .menupop ul li a:focus strong,#wpadminbar .quicklinks .menupop ul li a:hover,#wpadminbar .quicklinks .menupop ul li a:hover strong,#wpadminbar .quicklinks .menupop.hover ul li a:focus,#wpadminbar .quicklinks .menupop.hover ul li a:hover,#wpadminbar li #adminbarsearch.adminbar-focused:before,#wpadminbar li .ab-item:focus:before,#wpadminbar li a:focus .ab-icon:before,#wpadminbar li.hover .ab-icon:before,#wpadminbar li.hover .ab-item:before,#wpadminbar li:hover #adminbarsearch:before,#wpadminbar li:hover .ab-icon:before,#wpadminbar li:hover .ab-item:before,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover{color:#f7e3d3}#wpadminbar .menupop .menupop>.ab-item:hover:before,#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a .blavatar,#wpadminbar .quicklinks li a:focus .blavatar,#wpadminbar .quicklinks li a:hover .blavatar,#wpadminbar.mobile .quicklinks .ab-icon:before,#wpadminbar.mobile .quicklinks .ab-item:before{color:#f7e3d3}#wpadminbar.mobile .quicklinks .hover .ab-icon:before,#wpadminbar.mobile .quicklinks .hover .ab-item:before{color:#f3f1f1}#wpadminbar #adminbarsearch:before{color:#f3f1f1}#wpadminbar>#wp-toolbar>#wp-admin-bar-top-secondary>#wp-admin-bar-search #adminbarsearch input.adminbar-input:focus{color:#fff;background:#d66560}#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder{color:#fff;opacity:.7}#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder{color:#fff;opacity:.7}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{border-color:#d66560;background-color:#d66560}#wpadminbar #wp-admin-bar-user-info .display-name{color:#fff}#wpadminbar #wp-admin-bar-user-info a:hover .display-name{color:#f7e3d3}#wpadminbar #wp-admin-bar-user-info .username{color:#f1c8c7}.wp-pointer .wp-pointer-content h3{background-color:#dd823b;border-color:#d97426}.wp-pointer .wp-pointer-content h3:before{color:#dd823b}.wp-pointer.wp-pointer-top .wp-pointer-arrow,.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner{border-bottom-color:#dd823b}.media-item .bar,.media-progress-bar div{background-color:#dd823b}.details.attachment{-webkit-box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #dd823b;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 7px #dd823b}.attachment.details .check{background-color:#dd823b;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #dd823b;box-shadow:0 0 0 1px #fff,0 0 0 2px #dd823b}.media-selection .attachment.selection.details .thumbnail{-webkit-box-shadow:0 0 0 1px #fff,0 0 0 3px #dd823b;box-shadow:0 0 0 1px #fff,0 0 0 3px #dd823b}.theme-browser .theme.active .theme-name,.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{background:#dd823b}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after{color:#dd823b}.theme-filter.current,.theme-section.current{border-bottom-color:#cf4944}body.more-filters-opened .more-filters{color:#fff;background-color:#cf4944}#customize-theme-controls .widget-area-select .selected,.widgets-chooser li.widgets-chooser-selected{background-color:#dd823b;color:#fff}body.more-filters-opened .more-filters:before{color:#fff}body.more-filters-opened .more-filters:focus,body.more-filters-opened .more-filters:hover{background-color:#dd823b;color:#fff}body.more-filters-opened .more-filters:focus:before,body.more-filters-opened .more-filters:hover:before{color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{color:#fff}div#wp-responsive-toggle a:before{color:#f3f1f1}.wp-responsive-open div#wp-responsive-toggle a{border-color:transparent;background:#dd823b}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#be3631}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:#f3f1f1}.mce-container.mce-menu .mce-menu-item-normal.mce-active,.mce-container.mce-menu .mce-menu-item-preview.mce-active,.mce-container.mce-menu .mce-menu-item.mce-selected,.mce-container.mce-menu .mce-menu-item:focus,.mce-container.mce-menu .mce-menu-item:hover{background:#dd823b} \ No newline at end of file diff --git a/wp-admin/css/common-rtl.css b/wp-admin/css/common-rtl.css index b009875..8d5302d 100644 --- a/wp-admin/css/common-rtl.css +++ b/wp-admin/css/common-rtl.css @@ -144,7 +144,7 @@ font-weight: 600; padding: 15px 23px 14px; background: #f1f1f1; - color: #21759b; + color: #0073aa; z-index: 100000; line-height: normal; -webkit-box-shadow: 0 0 2px 2px rgba(0,0,0,.6); @@ -295,7 +295,7 @@ blockquote:before, blockquote:after, q:before, q:after { - content: ''; + content: ""; content: none; } @@ -325,24 +325,20 @@ h6 { } h1 { + color: #23282d; font-size: 2em; margin: .67em 0; } -.wrap > h1, -h2 { - color: #23282d; - font-size: 1.5em; - margin: .83em 0; - font-weight: 400; -} - +h2, h3 { color: #23282d; font-size: 1.3em; margin: 1em 0; } +.update-php h2, +.update-core-php h2, h4 { font-size: 1em; margin: 1.33em 0; @@ -539,7 +535,8 @@ code { .widefat thead td.check-column, .widefat tfoot td.check-column { - padding-top: 10px; + padding-top: 4px; + vertical-align: middle; } .update-php div.updated, @@ -567,25 +564,23 @@ code { margin: 10px 2px 0 20px; } -.wrap h1, -.wrap h2, -.subtitle { - font-weight: normal; - margin: 0; -} - -.wrap h1, -.wrap h2 { +.wrap > h2:first-child, /* Back-compat for pre-4.4 */ +.wrap [class$="icon32"] + h2, /* Back-compat for pre-4.4 */ +.postbox .inside h2, /* Back-compat for pre-4.4 */ +.wrap h1 { font-size: 23px; font-weight: 400; + margin: 0; padding: 9px 0 4px 15px; line-height: 29px; } .subtitle { + margin: 0; + padding-right: 25px; color: #777; font-size: 14px; - padding-right: 25px; + font-weight: normal; } .wrap .add-new-h2, /* deprecated */ @@ -755,9 +750,9 @@ img.emoji { .notice-dismiss:before { background: none; color: #b4b9be; - content: '\f153'; + content: "\f153"; display: block; - font: normal 16px/20px 'dashicons'; + font: normal 16px/20px dashicons; speak: none; height: 20px; text-align: center; @@ -884,6 +879,10 @@ abbr.required, padding: 6px 10px 8px; } +.misc-pub-filename { + word-wrap: break-word; +} + #minor-publishing-actions { padding: 10px 10px 0 10px; text-align: left; @@ -1067,7 +1066,7 @@ th.action-links { color: #777; -webkit-transition: color .1s ease-in 0; transition: color .1s ease-in 0; - font-family: "dashicons"; + font-family: dashicons; font-size: 16px; line-height: 1; text-align: center; @@ -1086,6 +1085,20 @@ th.action-links { color: #fff; } +.wp-filter .favorites-form { + display: none; + margin: 0 -20px; + padding: 20px; + border-top: 1px solid #eee; + background: #fafafa; + overflow: hidden; + width: 100%; +} + +.show-favorites-form .wp-filter .favorites-form { + display: block; +} + .filter-drawer { display: none; margin: 0 -20px; @@ -1125,9 +1138,10 @@ th.action-links { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; + position: relative; float: right; margin: 0 0 0 1%; - padding: 10px; + padding: 20px 10px 10px; width: 24%; background: #fff; border: 1px solid #e5e5e5; @@ -1135,24 +1149,27 @@ th.action-links { box-shadow: 0 1px 1px rgba(0,0,0,0.04); } -.filter-group h4 { - position: relative; +.filter-group legend { + position: absolute; + top: 10px; + display: block; margin: 0; + padding: 0; + font-size: 1em; + font-weight: 600; } -.filter-drawer ol { - margin: 20px 0 0; +.filter-drawer .filter-group-feature { + margin: 28px 0 0; list-style-type: none; font-size: 12px; } -.filter-drawer li { +.filter-drawer .filter-group-feature input, +.filter-drawer .filter-group-feature label { display: inline-block; - vertical-align: top; - margin: 5px 0; - padding-left: 25px; - width: 160px; - list-style-type: none; + margin: 7px 0 7px 4px; + line-height: 16px; } .filter-drawer .buttons { @@ -1297,6 +1314,7 @@ div.error { } .notice p, +.notice-title, div.updated p, div.error p, .form-table td .notice p { @@ -1304,6 +1322,30 @@ div.error p, padding: 2px; } +.error a { + text-decoration: underline; +} + +.updated a { + padding-bottom: 2px; + text-decoration: none; +} + +.notice-alt { + -webkit-box-shadow: none; + box-shadow: none; +} + +.notice-large { + padding: 10px 20px; +} + +.notice-title { + display: inline-block; + color: #23282d; + font-size: 18px; +} + .wp-core-ui .notice.is-dismissible { padding-left: 38px; position: relative; @@ -1339,20 +1381,36 @@ div.error p, .notice-success, div.updated { - border-color: #7ad03a; + border-right-color: #46b450; +} + +.notice-success.notice-alt { + background-color: #ecf7ed; } .notice-warning { - border-color: #ffba00; + border-right-color: #ffb900; +} + +.notice-warning.notice-alt { + background-color: #fff8e5; } .notice-error, div.error { - border-color: #dd3d36; + border-right-color: #dc3232; +} + +.notice-error.notice-alt { + background-color: #fbeaea; } .notice-info { - border-color: #00a0d2; + border-right-color: #00a0d2; +} + +.notice-info.notice-alt { + background-color: #e5f5fa; } .wrap .notice, @@ -1491,10 +1549,18 @@ form.upgrade .hint { color: #32373c; } +#screen-meta-links .show-settings:active { + -webkit-box-shadow: none; + box-shadow: none; + -webkit-transform: none; + -ms-transform: none; + transform: none; +} + #screen-meta-links .show-settings:after { left: 0; - content: '\f140'; - font: normal 20px/1 'dashicons'; + content: "\f140"; + font: normal 20px/1 dashicons; speak: none; display: inline-block; padding: 0 0 0 5px; @@ -1508,7 +1574,7 @@ form.upgrade .hint { } #screen-meta-links .screen-meta-active:after { - content: '\f142'; + content: "\f142"; } /* end screen options and help tabs */ @@ -1526,10 +1592,17 @@ form.upgrade .hint { background-position: bottom left; } -#screen-options-wrap h5, +#screen-options-wrap h5, /* Back-compat for old plugins */ +#screen-options-wrap legend, #contextual-help-wrap h5 { - margin: 8px 0; - font-size: 13px; + margin: 0; + padding: 8px 0; + font-size: 13px; + font-weight: 600; +} + +.ie8 #screen-options-wrap legend { + color: inherit; } .metabox-prefs label { @@ -1538,27 +1611,30 @@ form.upgrade .hint { line-height: 30px; } -.metabox-prefs label input[type=checkbox] { - margin-top: -4px; +#number-of-columns { + display: inline-block; + vertical-align: middle; + line-height: 30px; +} + +.metabox-prefs input[type=checkbox] { + margin-top: 0; margin-left: 6px; } -.metabox-prefs label input { - margin: 0 2px 0 5px; +.metabox-prefs label input, +.metabox-prefs label input[type=checkbox] { + margin: -4px 0 0 5px; } .metabox-prefs .columns-prefs label input { - margin: 0 2px; + margin: -1px 0 0 2px; } .metabox-prefs label a { display: none; } -.metabox-prefs .screen-options { - padding-top: 10px; -} - .metabox-prefs .screen-options input, .metabox-prefs .screen-options label { margin-top: 0; @@ -1575,6 +1651,15 @@ form.upgrade .hint { padding-left: 0; } +.screen-options + .screen-options { + margin-top: 10px; +} + +.metabox-prefs .submit { + margin-top: 1em; + padding: 0; +} + /*------------------------------------------------------------------------------ 6.2 - Help Menu ------------------------------------------------------------------------------*/ @@ -1787,13 +1872,15 @@ html.wp-toolbar { } .postbox .handlediv { + display: none; float: left; - width: 27px; - height: 30px; + width: 36px; + height: 36px; + padding: 0; } .js .postbox .handlediv { - cursor: pointer; + display: block; } .sortable-placeholder { @@ -1854,7 +1941,7 @@ html.wp-toolbar { } .columns-prefs label { - padding: 0 5px; + padding: 0 0 0 10px; } /* @todo: what is this doing here */ @@ -1910,51 +1997,69 @@ html.wp-toolbar { ------------------------------------------------------------------------------*/ .nav-tab { + float: right; border: 1px solid #ccc; border-bottom: none; + margin-right: 0.5em; /* half the font size so set the font size properly */ + padding: 5px 10px; + font-size: 14px; + line-height: 24px; + font-weight: 600; background: #e4e4e4; color: #555; - font-size: 12px; - line-height: 16px; - display: inline-block; - padding: 4px 14px 6px; text-decoration: none; - margin: -4px 0 -1px 4px; + white-space: nowrap; } -.nav-tab:hover { +h3 .nav-tab, /* Back-compat for pre-4.4 */ +.nav-tab-small .nav-tab { + padding: 5px 14px; + font-size: 12px; + line-height: 16px; +} + +.nav-tab:hover, +.nav-tab:focus { background-color: #fff; color: #464646; } +.nav-tab-active, +.nav-tab:focus:active { + -webkit-box-shadow: none; + box-shadow: none; +} + .nav-tab-active { + margin-bottom: -1px; color: #464646; } .nav-tab-active, -.nav-tab-active:hover { +.nav-tab-active:hover, +.nav-tab-active:focus, +.nav-tab-active:focus:active { border-bottom: 1px solid #f1f1f1; background: #f1f1f1; color: #000; } -h1.nav-tab-wrapper, -h2.nav-tab-wrapper, +h1.nav-tab-wrapper, /* Back-compat for pre-4.4 */ +.wrap h2.nav-tab-wrapper, /* higher specificity to override .wrap > h2:first-child */ h3.nav-tab-wrapper { border-bottom: 1px solid #ccc; - padding-bottom: 0; - padding-right: 10px; + margin: 0; + padding: 9px 0 0 15px; + line-height: inherit; } -h1 .nav-tab, -h2 .nav-tab { - padding: 6px 10px; - font-weight: bold; - font-size: 15px; - line-height: 24px; +/* contain floats */ +.nav-tab-wrapper:after { + content: ""; + display: table; + clear: both; } - /*------------------------------------------------------------------------------ 26.0 - Misc ------------------------------------------------------------------------------*/ @@ -1982,13 +2087,22 @@ h2 .nav-tab { margin-left: 190px; } -.metabox-holder h3 { +.metabox-holder .stuffbox > h3, /* Back-compat for pre-4.4 */ +.metabox-holder .postbox > h3, /* Back-compat for pre-4.4 */ +.metabox-holder h3.hndle, /* Back-compat for pre-4.4 */ +.metabox-holder h2.hndle { font-size: 14px; padding: 8px 12px; margin: 0; line-height: 1.4; } +/* Back-compat for nav-menus screen */ +.nav-menus-php .metabox-holder h3 { + padding: 10px 14px 11px 10px; + line-height: 21px; +} + #templateside ul li a { text-decoration: none; } @@ -2051,7 +2165,8 @@ body.iframe { width: auto; } -#post-body #post-body-content #namediv h3 { +#post-body #post-body-content #namediv h3, /* Back-compat for pre-4.4 */ +#post-body #post-body-content #namediv h2 { margin-top: 0; } @@ -2063,7 +2178,8 @@ body.iframe { margin: 2px 9px 0 0; } -#namediv h3 label { +#namediv h3 label, /* Back-compat for pre-4.4 */ +#namediv h2 label { vertical-align: baseline; } @@ -2152,7 +2268,7 @@ div.star-holder .star-rating { -webkit-font-smoothing: antialiased; font-size: 20px; line-height: 1; - font-family: 'dashicons'; + font-family: dashicons; text-decoration: inherit; font-weight: normal; font-style: normal; @@ -2164,11 +2280,11 @@ div.star-holder .star-rating { } .star-rating .star-full:before { - content:'\f155'; + content: "\f155"; } .star-rating .star-half:before { - content:'\f459'; + content: "\f459"; } .rtl .star-rating .star-half { @@ -2178,7 +2294,7 @@ div.star-holder .star-rating { } .star-rating .star-empty:before { - content:'\f154'; + content: "\f154"; } div.action-links { @@ -2341,7 +2457,7 @@ div.action-links { right: 0; margin-left: 250px; /* FYI box */ padding: 10px 26px; - margin-bottom: -99930px; /* a bit less than the padding below to accommodate footer */ + margin-bottom: -99939px; /* 60px less than the padding below to accommodate footer */ padding-bottom: 99999px; /* equal height column trick */ } @@ -2350,13 +2466,12 @@ div.action-links { } #plugin-information .fyi { - display: block; float: left; position: relative; top: 0; left: 0; padding: 16px; - margin-bottom: -99930px; /* slightly less than the padding below to accommodate footer */ + margin-bottom: -99939px; /* 60px less than the padding below to accommodate footer */ padding-bottom: 99999px; /* equal height column trick */ width: 217px; border-right: 1px solid #ddd; @@ -2441,12 +2556,12 @@ div.action-links { } #plugin-information-footer { - padding: 15px 16px; + padding: 13px 16px; position: absolute; left: 0; bottom: 0; right: 0; - height: 28px; + height: 33px; /* 33+13+13+1=60 */ border-top: 1px solid #ddd; background: #f3f3f3; } @@ -2605,29 +2720,63 @@ div.action-links { } /* Thickbox for Plugin Install screen */ +body.about-php #TB_window, body.plugin-install-php #TB_window, body.import-php #TB_window, body.plugins-php #TB_window, body.update-core-php #TB_window, body.index-php #TB_window { - background: #fcfcfc url( ../images/spinner.gif ) no-repeat center; + background: #fcfcfc; +} + +/* IE 8 needs a change in the pseudo element content */ +.ie8 body.about-php #TB_window:before, +.ie8 body.plugin-install-php #TB_window:before, +.ie8 body.import-php #TB_window:before, +.ie8 body.plugins-php #TB_window:before, +.ie8 body.update-core-php #TB_window:before, +.ie8 body.index-php #TB_window:before { + content: " "; + background: none; +} + +body.about-php #TB_window.thickbox-loading:before, +body.plugin-install-php #TB_window.thickbox-loading:before, +body.import-php #TB_window.thickbox-loading:before, +body.plugins-php #TB_window.thickbox-loading:before, +body.update-core-php #TB_window.thickbox-loading:before, +body.index-php #TB_window.thickbox-loading:before { + content: ""; + display: block; + width: 20px; + height: 20px; + position: absolute; + right: 50%; + top: 50%; + z-index: -1; + margin: -10px -10px 0 0; + background: #fcfcfc url(../images/spinner.gif) no-repeat center; + -webkit-background-size: 20px 20px; + background-size: 20px 20px; + -webkit-transform: translateZ(0); + transform: translateZ(0); } @media print, (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { - body.plugin-install-php #TB_window, - body.import-php #TB_window, - body.plugins-php #TB_window, - body.update-core-php #TB_window, - body.index-php #TB_window { - background: #fcfcfc url( ../images/spinner-2x.gif ) no-repeat center; - -webkit-background-size: 20px 20px; - background-size: 20px 20px; + body.about-php #TB_window.thickbox-loading:before, + body.plugin-install-php #TB_window.thickbox-loading:before, + body.import-php #TB_window.thickbox-loading:before, + body.plugins-php #TB_window.thickbox-loading:before, + body.update-core-php #TB_window.thickbox-loading:before, + body.index-php #TB_window.thickbox-loading:before { + background-image: url(../images/spinner-2x.gif); } } +body.about-php #TB_title, body.plugin-install-php #TB_title, body.import-php #TB_title, body.plugins-php #TB_title, @@ -2637,6 +2786,7 @@ body.index-php #TB_title { height: 1px; } +body.about-php #TB_ajaxWindowTitle, body.plugin-install-php #TB_ajaxWindowTitle, body.import-php #TB_ajaxWindowTitle, body.plugins-php #TB_ajaxWindowTitle, @@ -2645,6 +2795,7 @@ body.index-php #TB_ajaxWindowTitle { display: none; } +body.about-php .tb-close-icon, body.plugin-install-php .tb-close-icon, body.import-php .tb-close-icon, body.plugins-php .tb-close-icon, @@ -2657,6 +2808,10 @@ body.index-php .tb-close-icon { transition: color .1s ease-in-out, background .1s ease-in-out; } +body.about-php #TB_closeWindowButton:focus, +body.about-php #TB_closeWindowButton:focus .tb-close-icon, +body.about-php .tb-close-icon:focus, +body.about-php .tb-close-icon:hover, body.plugin-install-php #TB_closeWindowButton:focus, body.plugin-install-php #TB_closeWindowButton:focus .tb-close-icon, body.plugin-install-php .tb-close-icon:focus, @@ -2683,6 +2838,7 @@ body.index-php .tb-close-icon:hover { box-shadow: none; } +body.about-php .tb-close-icon:before, body.plugin-install-php .tb-close-icon:before, body.import-php .tb-close-icon:before, body.plugins-php .tb-close-icon:before, @@ -2694,6 +2850,7 @@ body.index-php .tb-close-icon:before { /* move plugin install close icon to top on narrow screens */ @media screen and ( max-width: 830px ) { + body.about-php .tb-close-icon, body.plugin-install-php .tb-close-icon, body.import-php .tb-close-icon, body.plugins-php .tb-close-icon, @@ -2719,26 +2876,28 @@ img { color: #464646; } -/* @todo: these seem misplaced */ -.js .meta-box-sortables .postbox:hover .handlediv { - margin-left: 0 !important; -} - /* Metabox collapse arrow indicators */ .js .sidebar-name .sidebar-name-arrow:before, -.js .meta-box-sortables .postbox .handlediv:before { - left: 12px; - font: normal 20px/1 'dashicons'; - speak: none; +.js .meta-box-sortables .postbox .toggle-indicator:before { + content: "\f142"; display: inline-block; - padding: 8px 10px; - top: 0; - position: relative; + font: normal 20px/1 dashicons; + speak: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-decoration: none !important; } +.js .widgets-holder-wrap.closed .sidebar-name-arrow:before, +.js .meta-box-sortables .postbox.closed .handlediv .toggle-indicator:before { + content: "\f140"; +} + +.js .sidebar-name .sidebar-name-arrow:before { + padding: 10px; + right: 0; +} + .js #widgets-left .sidebar-name .sidebar-name-arrow { display: none; } @@ -2748,24 +2907,31 @@ img { display: block; } -/* Show the arrow only on hover */ -.js .sidebar-name .sidebar-name-arrow:before, -.js .meta-box-sortables .postbox .handlediv:before { - content: '\f142'; +.js .postbox .handlediv .toggle-indicator:before { + margin-top: 4px; + width: 20px; + -webkit-border-radius: 50%; + border-radius: 50%; + text-indent: -1px; /* account for the dashicon alignment */ } -.js .widgets-holder-wrap.closed .sidebar-name-arrow:before, -.js .meta-box-sortables .postbox.closed .handlediv:before { - content: '\f140'; +.rtl.js .postbox .handlediv .toggle-indicator:before { + text-indent: 1px; /* account for the dashicon alignment */ } -.error a { - text-decoration: underline; +.js .postbox .handlediv:focus { + -webkit-box-shadow: none; + box-shadow: none; + outline: none; } -.updated a { - text-decoration: none; - padding-bottom: 2px; +.js .postbox .handlediv:focus .toggle-indicator:before { + -webkit-box-shadow: + 0 0 0 1px #5b9dd9, + 0 0 2px 1px rgba(30, 140, 190, .8); + box-shadow: + 0 0 0 1px #5b9dd9, + 0 0 2px 1px rgba(30, 140, 190, .8); } /* @todo: appears to be Press This only and overridden */ @@ -2774,7 +2940,7 @@ img { } /* Theme/Plugin Editor */ -.alignleft h3 { +.alignleft h2 { margin: 0; } @@ -2802,7 +2968,7 @@ img { word-wrap: break-word; } -#templateside h3, +#templateside h2, #postcustomstuff p.submit { margin: 0; } @@ -2865,10 +3031,10 @@ img { .control-section .accordion-section-title:after, .accordion-section-title:after { left: 0; - content: '\f140'; + content: "\f140"; border: none; background: none; - font: normal 20px/1 'dashicons'; + font: normal 20px/1 dashicons; speak: none; display: block; padding: 0; @@ -2890,6 +3056,7 @@ img { .widget-action:hover, .handlediv:hover, +.handlediv:focus, .item-edit:hover, .sidebar-name:hover .sidebar-name-arrow, .accordion-section-title:hover:after { @@ -2897,16 +3064,20 @@ img { } .widget-top a.widget-action:after { - padding: 12px 12px 11px; + padding: 1px 0px 1px 2px; + margin-top: 10px; + margin-left: 10px; + -webkit-border-radius: 50%; + border-radius: 50%; } .widget-top a.widget-action:focus:after { - -webkit-box-shadow: 0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8); - box-shadow: 0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8); -} - -.nav-menus-php .item-edit:before { - line-height: 2.1; + -webkit-box-shadow: + 0 0 0 1px #5b9dd9, + 0 0 2px 1px rgba(30,140,190,.8); + box-shadow: + 0 0 0 1px #5b9dd9, + 0 0 2px 1px rgba(30,140,190,.8); } .control-section .accordion-section-title:after, @@ -2920,7 +3091,7 @@ img { #customize-info.open .accordion-section-title:after, .nav-menus-php .menu-item-edit-active .item-edit:before, .widget.open .widget-top a.widget-action:after { - content: '\f142'; + content: "\f142"; } /*! @@ -3358,7 +3529,10 @@ img { font-size: 14px; } - .metabox-holder h3 { + .metabox-holder h3.hndle, /* Back-compat for pre-4.4 */ + .metabox-holder .stuffbox > h3, /* Back-compat for pre-4.4 */ + .metabox-holder .postbox > h3, /* Back-compat for pre-4.4 */ + .metabox-holder h2 { padding: 12px; } @@ -3419,6 +3593,11 @@ img { .edit-comment-author { margin: 2px 0 0; } + + .filter-drawer .filter-group-feature input, + .filter-drawer .filter-group-feature label { + line-height: 25px; + } } /* Smartphone */ @@ -3441,6 +3620,21 @@ img { div#post-body.metabox-holder.columns-1 { overflow-x: hidden; } + + h1.nav-tab-wrapper, + .wrap h2.nav-tab-wrapper, + h3.nav-tab-wrapper { + padding-right: 0; + border-bottom: 0; + } + + h1 .nav-tab, + h2 .nav-tab, + h3 .nav-tab { + margin-top: 10px; + margin-left: 10px; + border-bottom: 1px solid #ccc; + } } @media screen and (max-width: 320px) { diff --git a/wp-admin/css/common.css b/wp-admin/css/common.css index d3765d9..e63b162 100644 --- a/wp-admin/css/common.css +++ b/wp-admin/css/common.css @@ -144,7 +144,7 @@ font-weight: 600; padding: 15px 23px 14px; background: #f1f1f1; - color: #21759b; + color: #0073aa; z-index: 100000; line-height: normal; -webkit-box-shadow: 0 0 2px 2px rgba(0,0,0,.6); @@ -295,7 +295,7 @@ blockquote:before, blockquote:after, q:before, q:after { - content: ''; + content: ""; content: none; } @@ -325,24 +325,20 @@ h6 { } h1 { + color: #23282d; font-size: 2em; margin: .67em 0; } -.wrap > h1, -h2 { - color: #23282d; - font-size: 1.5em; - margin: .83em 0; - font-weight: 400; -} - +h2, h3 { color: #23282d; font-size: 1.3em; margin: 1em 0; } +.update-php h2, +.update-core-php h2, h4 { font-size: 1em; margin: 1.33em 0; @@ -539,7 +535,8 @@ code { .widefat thead td.check-column, .widefat tfoot td.check-column { - padding-top: 10px; + padding-top: 4px; + vertical-align: middle; } .update-php div.updated, @@ -567,25 +564,23 @@ code { margin: 10px 20px 0 2px; } -.wrap h1, -.wrap h2, -.subtitle { - font-weight: normal; - margin: 0; -} - -.wrap h1, -.wrap h2 { +.wrap > h2:first-child, /* Back-compat for pre-4.4 */ +.wrap [class$="icon32"] + h2, /* Back-compat for pre-4.4 */ +.postbox .inside h2, /* Back-compat for pre-4.4 */ +.wrap h1 { font-size: 23px; font-weight: 400; + margin: 0; padding: 9px 15px 4px 0; line-height: 29px; } .subtitle { + margin: 0; + padding-left: 25px; color: #777; font-size: 14px; - padding-left: 25px; + font-weight: normal; } .wrap .add-new-h2, /* deprecated */ @@ -755,9 +750,9 @@ img.emoji { .notice-dismiss:before { background: none; color: #b4b9be; - content: '\f153'; + content: "\f153"; display: block; - font: normal 16px/20px 'dashicons'; + font: normal 16px/20px dashicons; speak: none; height: 20px; text-align: center; @@ -884,6 +879,10 @@ abbr.required, padding: 6px 10px 8px; } +.misc-pub-filename { + word-wrap: break-word; +} + #minor-publishing-actions { padding: 10px 10px 0 10px; text-align: right; @@ -1067,7 +1066,7 @@ th.action-links { color: #777; -webkit-transition: color .1s ease-in 0; transition: color .1s ease-in 0; - font-family: "dashicons"; + font-family: dashicons; font-size: 16px; line-height: 1; text-align: center; @@ -1086,6 +1085,20 @@ th.action-links { color: #fff; } +.wp-filter .favorites-form { + display: none; + margin: 0 -20px; + padding: 20px; + border-top: 1px solid #eee; + background: #fafafa; + overflow: hidden; + width: 100%; +} + +.show-favorites-form .wp-filter .favorites-form { + display: block; +} + .filter-drawer { display: none; margin: 0 -20px; @@ -1125,9 +1138,10 @@ th.action-links { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; + position: relative; float: left; margin: 0 1% 0 0; - padding: 10px; + padding: 20px 10px 10px; width: 24%; background: #fff; border: 1px solid #e5e5e5; @@ -1135,24 +1149,27 @@ th.action-links { box-shadow: 0 1px 1px rgba(0,0,0,0.04); } -.filter-group h4 { - position: relative; +.filter-group legend { + position: absolute; + top: 10px; + display: block; margin: 0; + padding: 0; + font-size: 1em; + font-weight: 600; } -.filter-drawer ol { - margin: 20px 0 0; +.filter-drawer .filter-group-feature { + margin: 28px 0 0; list-style-type: none; font-size: 12px; } -.filter-drawer li { +.filter-drawer .filter-group-feature input, +.filter-drawer .filter-group-feature label { display: inline-block; - vertical-align: top; - margin: 5px 0; - padding-right: 25px; - width: 160px; - list-style-type: none; + margin: 7px 4px 7px 0; + line-height: 16px; } .filter-drawer .buttons { @@ -1297,6 +1314,7 @@ div.error { } .notice p, +.notice-title, div.updated p, div.error p, .form-table td .notice p { @@ -1304,6 +1322,30 @@ div.error p, padding: 2px; } +.error a { + text-decoration: underline; +} + +.updated a { + padding-bottom: 2px; + text-decoration: none; +} + +.notice-alt { + -webkit-box-shadow: none; + box-shadow: none; +} + +.notice-large { + padding: 10px 20px; +} + +.notice-title { + display: inline-block; + color: #23282d; + font-size: 18px; +} + .wp-core-ui .notice.is-dismissible { padding-right: 38px; position: relative; @@ -1339,20 +1381,36 @@ div.error p, .notice-success, div.updated { - border-color: #7ad03a; + border-left-color: #46b450; +} + +.notice-success.notice-alt { + background-color: #ecf7ed; } .notice-warning { - border-color: #ffba00; + border-left-color: #ffb900; +} + +.notice-warning.notice-alt { + background-color: #fff8e5; } .notice-error, div.error { - border-color: #dd3d36; + border-left-color: #dc3232; +} + +.notice-error.notice-alt { + background-color: #fbeaea; } .notice-info { - border-color: #00a0d2; + border-left-color: #00a0d2; +} + +.notice-info.notice-alt { + background-color: #e5f5fa; } .wrap .notice, @@ -1491,10 +1549,18 @@ form.upgrade .hint { color: #32373c; } +#screen-meta-links .show-settings:active { + -webkit-box-shadow: none; + box-shadow: none; + -webkit-transform: none; + -ms-transform: none; + transform: none; +} + #screen-meta-links .show-settings:after { right: 0; - content: '\f140'; - font: normal 20px/1 'dashicons'; + content: "\f140"; + font: normal 20px/1 dashicons; speak: none; display: inline-block; padding: 0 5px 0 0; @@ -1508,7 +1574,7 @@ form.upgrade .hint { } #screen-meta-links .screen-meta-active:after { - content: '\f142'; + content: "\f142"; } /* end screen options and help tabs */ @@ -1526,10 +1592,17 @@ form.upgrade .hint { background-position: bottom left; } -#screen-options-wrap h5, +#screen-options-wrap h5, /* Back-compat for old plugins */ +#screen-options-wrap legend, #contextual-help-wrap h5 { - margin: 8px 0; - font-size: 13px; + margin: 0; + padding: 8px 0; + font-size: 13px; + font-weight: 600; +} + +.ie8 #screen-options-wrap legend { + color: inherit; } .metabox-prefs label { @@ -1538,27 +1611,30 @@ form.upgrade .hint { line-height: 30px; } -.metabox-prefs label input[type=checkbox] { - margin-top: -4px; +#number-of-columns { + display: inline-block; + vertical-align: middle; + line-height: 30px; +} + +.metabox-prefs input[type=checkbox] { + margin-top: 0; margin-right: 6px; } -.metabox-prefs label input { - margin: 0 5px 0 2px; +.metabox-prefs label input, +.metabox-prefs label input[type=checkbox] { + margin: -4px 5px 0 0; } .metabox-prefs .columns-prefs label input { - margin: 0 2px; + margin: -1px 2px 0 0; } .metabox-prefs label a { display: none; } -.metabox-prefs .screen-options { - padding-top: 10px; -} - .metabox-prefs .screen-options input, .metabox-prefs .screen-options label { margin-top: 0; @@ -1575,6 +1651,15 @@ form.upgrade .hint { padding-right: 0; } +.screen-options + .screen-options { + margin-top: 10px; +} + +.metabox-prefs .submit { + margin-top: 1em; + padding: 0; +} + /*------------------------------------------------------------------------------ 6.2 - Help Menu ------------------------------------------------------------------------------*/ @@ -1787,13 +1872,15 @@ html.wp-toolbar { } .postbox .handlediv { + display: none; float: right; - width: 27px; - height: 30px; + width: 36px; + height: 36px; + padding: 0; } .js .postbox .handlediv { - cursor: pointer; + display: block; } .sortable-placeholder { @@ -1854,7 +1941,7 @@ html.wp-toolbar { } .columns-prefs label { - padding: 0 5px; + padding: 0 10px 0 0; } /* @todo: what is this doing here */ @@ -1910,51 +1997,69 @@ html.wp-toolbar { ------------------------------------------------------------------------------*/ .nav-tab { + float: left; border: 1px solid #ccc; border-bottom: none; + margin-left: 0.5em; /* half the font size so set the font size properly */ + padding: 5px 10px; + font-size: 14px; + line-height: 24px; + font-weight: 600; background: #e4e4e4; color: #555; - font-size: 12px; - line-height: 16px; - display: inline-block; - padding: 4px 14px 6px; text-decoration: none; - margin: -4px 4px -1px 0; + white-space: nowrap; } -.nav-tab:hover { +h3 .nav-tab, /* Back-compat for pre-4.4 */ +.nav-tab-small .nav-tab { + padding: 5px 14px; + font-size: 12px; + line-height: 16px; +} + +.nav-tab:hover, +.nav-tab:focus { background-color: #fff; color: #464646; } +.nav-tab-active, +.nav-tab:focus:active { + -webkit-box-shadow: none; + box-shadow: none; +} + .nav-tab-active { + margin-bottom: -1px; color: #464646; } .nav-tab-active, -.nav-tab-active:hover { +.nav-tab-active:hover, +.nav-tab-active:focus, +.nav-tab-active:focus:active { border-bottom: 1px solid #f1f1f1; background: #f1f1f1; color: #000; } -h1.nav-tab-wrapper, -h2.nav-tab-wrapper, +h1.nav-tab-wrapper, /* Back-compat for pre-4.4 */ +.wrap h2.nav-tab-wrapper, /* higher specificity to override .wrap > h2:first-child */ h3.nav-tab-wrapper { border-bottom: 1px solid #ccc; - padding-bottom: 0; - padding-left: 10px; + margin: 0; + padding: 9px 15px 0 0; + line-height: inherit; } -h1 .nav-tab, -h2 .nav-tab { - padding: 6px 10px; - font-weight: bold; - font-size: 15px; - line-height: 24px; +/* contain floats */ +.nav-tab-wrapper:after { + content: ""; + display: table; + clear: both; } - /*------------------------------------------------------------------------------ 26.0 - Misc ------------------------------------------------------------------------------*/ @@ -1982,13 +2087,22 @@ h2 .nav-tab { margin-right: 190px; } -.metabox-holder h3 { +.metabox-holder .stuffbox > h3, /* Back-compat for pre-4.4 */ +.metabox-holder .postbox > h3, /* Back-compat for pre-4.4 */ +.metabox-holder h3.hndle, /* Back-compat for pre-4.4 */ +.metabox-holder h2.hndle { font-size: 14px; padding: 8px 12px; margin: 0; line-height: 1.4; } +/* Back-compat for nav-menus screen */ +.nav-menus-php .metabox-holder h3 { + padding: 10px 10px 11px 14px; + line-height: 21px; +} + #templateside ul li a { text-decoration: none; } @@ -2051,7 +2165,8 @@ body.iframe { width: auto; } -#post-body #post-body-content #namediv h3 { +#post-body #post-body-content #namediv h3, /* Back-compat for pre-4.4 */ +#post-body #post-body-content #namediv h2 { margin-top: 0; } @@ -2063,7 +2178,8 @@ body.iframe { margin: 2px 0 0 9px; } -#namediv h3 label { +#namediv h3 label, /* Back-compat for pre-4.4 */ +#namediv h2 label { vertical-align: baseline; } @@ -2152,7 +2268,7 @@ div.star-holder .star-rating { -webkit-font-smoothing: antialiased; font-size: 20px; line-height: 1; - font-family: 'dashicons'; + font-family: dashicons; text-decoration: inherit; font-weight: normal; font-style: normal; @@ -2164,11 +2280,11 @@ div.star-holder .star-rating { } .star-rating .star-full:before { - content:'\f155'; + content: "\f155"; } .star-rating .star-half:before { - content:'\f459'; + content: "\f459"; } .rtl .star-rating .star-half { @@ -2178,7 +2294,7 @@ div.star-holder .star-rating { } .star-rating .star-empty:before { - content:'\f154'; + content: "\f154"; } div.action-links { @@ -2341,7 +2457,7 @@ div.action-links { left: 0; margin-right: 250px; /* FYI box */ padding: 10px 26px; - margin-bottom: -99930px; /* a bit less than the padding below to accommodate footer */ + margin-bottom: -99939px; /* 60px less than the padding below to accommodate footer */ padding-bottom: 99999px; /* equal height column trick */ } @@ -2350,13 +2466,12 @@ div.action-links { } #plugin-information .fyi { - display: block; float: right; position: relative; top: 0; right: 0; padding: 16px; - margin-bottom: -99930px; /* slightly less than the padding below to accommodate footer */ + margin-bottom: -99939px; /* 60px less than the padding below to accommodate footer */ padding-bottom: 99999px; /* equal height column trick */ width: 217px; border-left: 1px solid #ddd; @@ -2441,12 +2556,12 @@ div.action-links { } #plugin-information-footer { - padding: 15px 16px; + padding: 13px 16px; position: absolute; right: 0; bottom: 0; left: 0; - height: 28px; + height: 33px; /* 33+13+13+1=60 */ border-top: 1px solid #ddd; background: #f3f3f3; } @@ -2605,29 +2720,63 @@ div.action-links { } /* Thickbox for Plugin Install screen */ +body.about-php #TB_window, body.plugin-install-php #TB_window, body.import-php #TB_window, body.plugins-php #TB_window, body.update-core-php #TB_window, body.index-php #TB_window { - background: #fcfcfc url( ../images/spinner.gif ) no-repeat center; + background: #fcfcfc; +} + +/* IE 8 needs a change in the pseudo element content */ +.ie8 body.about-php #TB_window:before, +.ie8 body.plugin-install-php #TB_window:before, +.ie8 body.import-php #TB_window:before, +.ie8 body.plugins-php #TB_window:before, +.ie8 body.update-core-php #TB_window:before, +.ie8 body.index-php #TB_window:before { + content: " "; + background: none; +} + +body.about-php #TB_window.thickbox-loading:before, +body.plugin-install-php #TB_window.thickbox-loading:before, +body.import-php #TB_window.thickbox-loading:before, +body.plugins-php #TB_window.thickbox-loading:before, +body.update-core-php #TB_window.thickbox-loading:before, +body.index-php #TB_window.thickbox-loading:before { + content: ""; + display: block; + width: 20px; + height: 20px; + position: absolute; + left: 50%; + top: 50%; + z-index: -1; + margin: -10px 0 0 -10px; + background: #fcfcfc url(../images/spinner.gif) no-repeat center; + -webkit-background-size: 20px 20px; + background-size: 20px 20px; + -webkit-transform: translateZ(0); + transform: translateZ(0); } @media print, (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { - body.plugin-install-php #TB_window, - body.import-php #TB_window, - body.plugins-php #TB_window, - body.update-core-php #TB_window, - body.index-php #TB_window { - background: #fcfcfc url( ../images/spinner-2x.gif ) no-repeat center; - -webkit-background-size: 20px 20px; - background-size: 20px 20px; + body.about-php #TB_window.thickbox-loading:before, + body.plugin-install-php #TB_window.thickbox-loading:before, + body.import-php #TB_window.thickbox-loading:before, + body.plugins-php #TB_window.thickbox-loading:before, + body.update-core-php #TB_window.thickbox-loading:before, + body.index-php #TB_window.thickbox-loading:before { + background-image: url(../images/spinner-2x.gif); } } +body.about-php #TB_title, body.plugin-install-php #TB_title, body.import-php #TB_title, body.plugins-php #TB_title, @@ -2637,6 +2786,7 @@ body.index-php #TB_title { height: 1px; } +body.about-php #TB_ajaxWindowTitle, body.plugin-install-php #TB_ajaxWindowTitle, body.import-php #TB_ajaxWindowTitle, body.plugins-php #TB_ajaxWindowTitle, @@ -2645,6 +2795,7 @@ body.index-php #TB_ajaxWindowTitle { display: none; } +body.about-php .tb-close-icon, body.plugin-install-php .tb-close-icon, body.import-php .tb-close-icon, body.plugins-php .tb-close-icon, @@ -2657,6 +2808,10 @@ body.index-php .tb-close-icon { transition: color .1s ease-in-out, background .1s ease-in-out; } +body.about-php #TB_closeWindowButton:focus, +body.about-php #TB_closeWindowButton:focus .tb-close-icon, +body.about-php .tb-close-icon:focus, +body.about-php .tb-close-icon:hover, body.plugin-install-php #TB_closeWindowButton:focus, body.plugin-install-php #TB_closeWindowButton:focus .tb-close-icon, body.plugin-install-php .tb-close-icon:focus, @@ -2683,6 +2838,7 @@ body.index-php .tb-close-icon:hover { box-shadow: none; } +body.about-php .tb-close-icon:before, body.plugin-install-php .tb-close-icon:before, body.import-php .tb-close-icon:before, body.plugins-php .tb-close-icon:before, @@ -2694,6 +2850,7 @@ body.index-php .tb-close-icon:before { /* move plugin install close icon to top on narrow screens */ @media screen and ( max-width: 830px ) { + body.about-php .tb-close-icon, body.plugin-install-php .tb-close-icon, body.import-php .tb-close-icon, body.plugins-php .tb-close-icon, @@ -2719,26 +2876,28 @@ img { color: #464646; } -/* @todo: these seem misplaced */ -.js .meta-box-sortables .postbox:hover .handlediv { - margin-right: 0 !important; -} - /* Metabox collapse arrow indicators */ .js .sidebar-name .sidebar-name-arrow:before, -.js .meta-box-sortables .postbox .handlediv:before { - right: 12px; - font: normal 20px/1 'dashicons'; - speak: none; +.js .meta-box-sortables .postbox .toggle-indicator:before { + content: "\f142"; display: inline-block; - padding: 8px 10px; - top: 0; - position: relative; + font: normal 20px/1 dashicons; + speak: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-decoration: none !important; } +.js .widgets-holder-wrap.closed .sidebar-name-arrow:before, +.js .meta-box-sortables .postbox.closed .handlediv .toggle-indicator:before { + content: "\f140"; +} + +.js .sidebar-name .sidebar-name-arrow:before { + padding: 10px; + left: 0; +} + .js #widgets-left .sidebar-name .sidebar-name-arrow { display: none; } @@ -2748,24 +2907,31 @@ img { display: block; } -/* Show the arrow only on hover */ -.js .sidebar-name .sidebar-name-arrow:before, -.js .meta-box-sortables .postbox .handlediv:before { - content: '\f142'; +.js .postbox .handlediv .toggle-indicator:before { + margin-top: 4px; + width: 20px; + -webkit-border-radius: 50%; + border-radius: 50%; + text-indent: -1px; /* account for the dashicon alignment */ } -.js .widgets-holder-wrap.closed .sidebar-name-arrow:before, -.js .meta-box-sortables .postbox.closed .handlediv:before { - content: '\f140'; +.rtl.js .postbox .handlediv .toggle-indicator:before { + text-indent: 1px; /* account for the dashicon alignment */ } -.error a { - text-decoration: underline; +.js .postbox .handlediv:focus { + -webkit-box-shadow: none; + box-shadow: none; + outline: none; } -.updated a { - text-decoration: none; - padding-bottom: 2px; +.js .postbox .handlediv:focus .toggle-indicator:before { + -webkit-box-shadow: + 0 0 0 1px #5b9dd9, + 0 0 2px 1px rgba(30, 140, 190, .8); + box-shadow: + 0 0 0 1px #5b9dd9, + 0 0 2px 1px rgba(30, 140, 190, .8); } /* @todo: appears to be Press This only and overridden */ @@ -2774,7 +2940,7 @@ img { } /* Theme/Plugin Editor */ -.alignleft h3 { +.alignleft h2 { margin: 0; } @@ -2802,7 +2968,7 @@ img { word-wrap: break-word; } -#templateside h3, +#templateside h2, #postcustomstuff p.submit { margin: 0; } @@ -2865,10 +3031,10 @@ img { .control-section .accordion-section-title:after, .accordion-section-title:after { right: 0; - content: '\f140'; + content: "\f140"; border: none; background: none; - font: normal 20px/1 'dashicons'; + font: normal 20px/1 dashicons; speak: none; display: block; padding: 0; @@ -2890,6 +3056,7 @@ img { .widget-action:hover, .handlediv:hover, +.handlediv:focus, .item-edit:hover, .sidebar-name:hover .sidebar-name-arrow, .accordion-section-title:hover:after { @@ -2897,16 +3064,20 @@ img { } .widget-top a.widget-action:after { - padding: 12px 12px 11px; + padding: 1px 2px 1px 0px; + margin-top: 10px; + margin-right: 10px; + -webkit-border-radius: 50%; + border-radius: 50%; } .widget-top a.widget-action:focus:after { - -webkit-box-shadow: 0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8); - box-shadow: 0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8); -} - -.nav-menus-php .item-edit:before { - line-height: 2.1; + -webkit-box-shadow: + 0 0 0 1px #5b9dd9, + 0 0 2px 1px rgba(30,140,190,.8); + box-shadow: + 0 0 0 1px #5b9dd9, + 0 0 2px 1px rgba(30,140,190,.8); } .control-section .accordion-section-title:after, @@ -2920,7 +3091,7 @@ img { #customize-info.open .accordion-section-title:after, .nav-menus-php .menu-item-edit-active .item-edit:before, .widget.open .widget-top a.widget-action:after { - content: '\f142'; + content: "\f142"; } /*! @@ -3358,7 +3529,10 @@ img { font-size: 14px; } - .metabox-holder h3 { + .metabox-holder h3.hndle, /* Back-compat for pre-4.4 */ + .metabox-holder .stuffbox > h3, /* Back-compat for pre-4.4 */ + .metabox-holder .postbox > h3, /* Back-compat for pre-4.4 */ + .metabox-holder h2 { padding: 12px; } @@ -3419,6 +3593,11 @@ img { .edit-comment-author { margin: 2px 0 0; } + + .filter-drawer .filter-group-feature input, + .filter-drawer .filter-group-feature label { + line-height: 25px; + } } /* Smartphone */ @@ -3441,6 +3620,21 @@ img { div#post-body.metabox-holder.columns-1 { overflow-x: hidden; } + + h1.nav-tab-wrapper, + .wrap h2.nav-tab-wrapper, + h3.nav-tab-wrapper { + padding-left: 0; + border-bottom: 0; + } + + h1 .nav-tab, + h2 .nav-tab, + h3 .nav-tab { + margin-top: 10px; + margin-right: 10px; + border-bottom: 1px solid #ccc; + } } @media screen and (max-width: 320px) { diff --git a/wp-admin/css/customize-controls-rtl.css b/wp-admin/css/customize-controls-rtl.css index 4b67787..28b020b 100644 --- a/wp-admin/css/customize-controls-rtl.css +++ b/wp-admin/css/customize-controls-rtl.css @@ -82,7 +82,7 @@ body { #customize-controls .customize-info .panel-title { font-size: 20px; font-weight: 200; - line-height: 24px; + line-height: 26px; display: block; overflow: hidden; white-space: nowrap; @@ -123,13 +123,17 @@ body { color: #0073aa; } -#customize-controls .customize-info .customize-panel-description { +#customize-controls .customize-info .customize-panel-description, +#customize-controls .no-widget-areas-rendered-notice { color: #555; display: none; background: #fff; padding: 12px 15px; border-top: 1px solid #ddd; } +#customize-controls .customize-info .customize-panel-description.open + .no-widget-areas-rendered-notice { + border-top: none; +} #customize-controls .customize-info .customize-panel-description p:first-child { margin-top: 0; @@ -207,7 +211,7 @@ body { right: 100%; width: 100%; margin: 0; - padding: 12px; + padding: 12px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; @@ -318,7 +322,7 @@ h3.customize-section-title { display: block; float: right; width: 48px; - height: 69px; + height: 71px; padding: 0 0 0 24px; margin: 0; background: #fff; @@ -332,7 +336,7 @@ h3.customize-section-title { } .customize-section-back { - height: 70px; + height: 74px; } .ios .customize-panel-back, @@ -391,7 +395,7 @@ h3.customize-section-title { .customize-panel-back:before, .customize-section-back:before { - font: normal 20px/69px dashicons; + font: normal 20px/72px dashicons; content: "\f345"; position: relative; right: 13px; @@ -530,13 +534,25 @@ p.customize-section-description { } .customize-control-color .color-picker, -.customize-control-checkbox label, .customize-control-upload div { line-height: 28px; } -.customize-control-checkbox input { - margin-left: 5px; +.customize-control-radio label, +.customize-control-checkbox label, +.customize-control-nav_menu_auto_add label { + line-height: 20px; + display: block; + margin-right: 24px; + padding-top: 6px; + padding-bottom: 6px; +} + +.customize-control-radio input, +.customize-control-checkbox input, +.customize-control-nav_menu_auto_add input { + margin-left: 4px; + margin-right: -24px; } .customize-control-radio { @@ -552,14 +568,6 @@ p.customize-section-description { margin-top: 7px; } -.customize-control-radio label { - line-height: 32px; -} - -.customize-control-radio input { - margin-left: 5px; -} - .customize-control .attachment-thumb.type-icon { float: right; margin: 10px; @@ -611,9 +619,10 @@ p.customize-section-description { /* Style for custom settings */ -/* +/** * Dropdowns */ + .accordion-section .dropdown { float: right; display: block; @@ -647,7 +656,7 @@ p.customize-section-description { .customize-control .dropdown-arrow:after { content: "\f140"; - font: normal 20px/1 'dashicons'; + font: normal 20px/1 dashicons; speak: none; display: block; padding: 0; @@ -694,6 +703,7 @@ p.customize-section-description { * iOS can't scroll iframes, * instead it expands the iframe size to match the size of the content */ + .ios .wp-full-overlay { position: relative; } @@ -706,7 +716,7 @@ p.customize-section-description { -webkit-overflow-scrolling: touch; } -/** Media controls **/ +/* Media controls */ .customize-control-media .current, .customize-control-upload .current, @@ -991,6 +1001,7 @@ p.customize-section-description { /** * Themes */ + @-webkit-keyframes customize-reload { 0% { opacity: 0; } 100% { opacity: 1; } @@ -1208,18 +1219,104 @@ body.cheatin { box-shadow: 0 1px 3px rgba(0,0,0,0.13); } +body.cheatin h1 { + border-bottom: 1px solid #dadada; + clear: both; + color: #666; + font: 24px "Open Sans", sans-serif; + margin: 30px 0 0 0; + padding: 0; + padding-bottom: 7px; +} + body.cheatin p { font-size: 14px; line-height: 1.5; margin: 25px 0 20px; } +/** + * Widgets and Menus common styles + */ + +/* higher specificity than .wp-core-ui .button-secondary */ +#customize-theme-controls .add-new-widget, +#customize-theme-controls .add-new-menu-item { + cursor: pointer; + float: left; + margin-right: 10px; + -webkit-transition: all 0.2s; + transition: all 0.2s; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + outline: none; +} + +.reordering .add-new-widget, +.reordering .add-new-menu-item { + opacity: 0.2; + pointer-events: none; + cursor: not-allowed; /* doesn't work in conjunction with pointer-events */ +} + +.add-new-widget:before, +.add-new-menu-item:before { + content: "\f132"; + display: inline-block; + position: relative; + right: -2px; + top: -1px; + font: normal 20px/1 dashicons; + vertical-align: middle; + -webkit-transition: all 0.2s; + transition: all 0.2s; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +/* Reordering */ +.reorder-toggle { + float: left; + padding: 5px 8px; + text-decoration: none; + cursor: pointer; + outline: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.reorder-toggle:focus { + outline: 1px dotted; +} + +.reorder, +.reordering .reorder-done { + display: block; + padding: 5px 8px; +} + +.reorder-done, +.reordering .reorder { + display: none; + color: #0073aa; +} + +.reorder-toggle:hover .reorder-done, +.reorder-toggle:active .reorder-done, +.reorder-toggle:focus .reorder-done { + color: #00a0d2; +} + /* Responsive */ .customize-controls-preview-toggle { display: none; } -@media only screen and (max-width: 780px) { +@media only screen and (max-width: 782px) { .wp-customizer .theme:not(.active):hover .theme-actions, .wp-customizer .theme:not(.active):focus .theme-actions { display: block; @@ -1228,6 +1325,23 @@ body.cheatin p { .wp-customizer .theme-browser .theme.active .theme-name span { display: inline; } + + .customize-control-radio label, + .customize-control-checkbox label, + .customize-control-nav_menu_auto_add label { + margin-right: 32px; + } + + .customize-control-radio input, + .customize-control-checkbox input, + .customize-control-nav_menu_auto_add input { + margin-right: -32px; + } + + .customize-control input[type="radio"] + label, + .customize-control input[type="checkbox"] + label { + line-height: 32px; + } } @media screen and ( max-width: 640px ) { diff --git a/wp-admin/css/customize-controls-rtl.min.css b/wp-admin/css/customize-controls-rtl.min.css index 5a935c3..1ececa0 100644 --- a/wp-admin/css/customize-controls-rtl.min.css +++ b/wp-admin/css/customize-controls-rtl.min.css @@ -1 +1 @@ -body{overflow:hidden;-webkit-text-size-adjust:100%}#customize-controls a{text-decoration:none}#customize-controls h3{font-size:14px}#customize-controls img{max-width:100%}#customize-controls .submit{text-align:center}#customize-controls .description{color:#555}#customize-header-actions .button-primary{float:left;margin-top:9px}#customize-header-actions .spinner{margin-top:13px;margin-left:4px}.saving #customize-header-actions .spinner{visibility:visible}#customize-header-actions{border-bottom:1px solid #ddd}#customize-controls .wp-full-overlay-sidebar-content{overflow-y:auto;overflow-x:hidden}#customize-controls .customize-info{border:none;border-top:1px solid #ddd;border-bottom:1px solid #ddd;margin-bottom:15px}#customize-controls .customize-info .accordion-section-title{background:#fff;color:#555;border-right:none;border-left:none;border-bottom:none;cursor:default}#customize-controls .customize-info .accordion-section-title:focus:after,#customize-controls .customize-info .accordion-section-title:hover:after,#customize-controls .customize-info.open .accordion-section-title:after{color:#333}#customize-controls .customize-info .accordion-section-title:after{display:none}#customize-controls .customize-info .preview-notice{font-size:13px;line-height:24px}#customize-controls .control-section .customize-section-title h3,#customize-controls .control-section h3.customize-section-title,#customize-controls .customize-info .panel-title{font-size:20px;font-weight:200;line-height:24px;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#customize-controls .customize-section-title span.customize-action{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#customize-controls .customize-info .customize-help-toggle{position:absolute;top:4px;left:1px;padding:20px 10px 10px 20px;width:20px;height:20px;cursor:pointer;-webkit-box-shadow:none;box-shadow:none;-webkit-appearance:none;background:0 0;color:#555;border:none}#customize-controls .customize-info .customize-help-toggle:before{position:absolute;top:5px;right:6px}#customize-controls .customize-info .customize-help-toggle:focus,#customize-controls .customize-info .customize-help-toggle:hover,#customize-controls .customize-info.open .customize-help-toggle{color:#0073aa}#customize-controls .customize-info .customize-panel-description{color:#555;display:none;background:#fff;padding:12px 15px;border-top:1px solid #ddd}#customize-controls .customize-info .customize-panel-description p:first-child{margin-top:0}#customize-controls .customize-info .customize-panel-description p:last-child{margin-bottom:0}#customize-controls .current-panel .control-section>h3.accordion-section-title{padding-left:30px}#customize-theme-controls .control-section{border:none}#customize-theme-controls .accordion-section-title{color:#555;background-color:#fff;border-bottom:1px solid #eee}#customize-theme-controls .accordion-section-title:after{content:"\f341"}#customize-theme-controls .accordion-section-content{color:#555;background:0 0;position:absolute;top:0;right:100%;width:100%;margin:0;padding:12px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#customize-controls .control-section .accordion-section-title:focus,#customize-controls .control-section .accordion-section-title:hover,#customize-controls .control-section.open .accordion-section-title,#customize-controls .control-section:hover>.accordion-section-title{color:#23282d;background:#f5f5f5}.js .control-section .accordion-section-title:focus,.js .control-section .accordion-section-title:hover,.js .control-section.open .accordion-section-title,.js .control-section:hover .accordion-section-title{background:#f5f5f5}#customize-theme-controls .control-section .accordion-section-title:focus:after,#customize-theme-controls .control-section .accordion-section-title:hover:after,#customize-theme-controls .control-section.open .accordion-section-title:after,#customize-theme-controls .control-section:hover>.accordion-section-title:after{color:#23282d}#customize-theme-controls .control-section.open{border-bottom:1px solid #eee}#customize-theme-controls .control-section.open .accordion-section-title{border-bottom-color:#eee!important}#customize-theme-controls .control-section:last-of-type.open,#customize-theme-controls .control-section:last-of-type>.accordion-section-title{border-bottom-color:#ddd}#customize-theme-controls>ul{margin:0}.customize-section-description-container{margin-bottom:15px}.customize-section-title{margin:-12px -12px 0;border-bottom:1px solid #ddd;background:#fff}div.customize-section-description{margin-top:22px}div.customize-section-description p:first-child{margin-top:0}div.customize-section-description p:last-child{margin-bottom:0}#customize-theme-controls .customize-themes-panel h3.customize-section-title:first-child{border-bottom:1px solid #ddd;padding:12px}.ios #customize-theme-controls .customize-themes-panel h3.customize-section-title:first-child{padding:12px 12px 13px}.customize-section-title h3,h3.customize-section-title{padding:10px 14px 12px 10px;margin:0;line-height:21px;color:#555}#customize-theme-controls{position:relative;right:0;-webkit-transition:.18s right ease-in-out;transition:.18s right ease-in-out}.ios #customize-theme-controls{-webkit-transition:right 0s;transition:right 0s}.section-open #customize-info,.section-open #customize-theme-controls{right:-100%}.accordion-sub-container.control-panel-content{display:none;position:absolute;right:300px;top:0;width:300px;-webkit-transition:right ease-in-out .18s;transition:right ease-in-out .18s}.ios .accordion-sub-container.control-panel-content{-webkit-transition:right 0s;transition:right 0s}.accordion-sub-container.control-panel-content.animating{display:block}.current-panel .accordion-sub-container.control-panel-content{width:100%}.customize-controls-close{display:block;position:absolute;top:0;right:0;width:45px;height:45px;padding:0 0 0 2px;background:#eee;border:none;border-left:1px solid #ddd;color:#444;text-align:right;cursor:pointer;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.customize-panel-back,.customize-section-back{display:block;float:right;width:48px;height:69px;padding:0 0 0 24px;margin:0;background:#fff;border:none;border-left:1px solid #ddd;-webkit-box-shadow:none;box-shadow:none;cursor:pointer;-webkit-transition:right .18s ease-in-out,color .1s ease-in-out,background .1s ease-in-out;transition:right .18s ease-in-out,color .1s ease-in-out,background .1s ease-in-out}.customize-section-back{height:70px}.ios .customize-panel-back,.ios .customize-section-back{-webkit-transition:right 0s;transition:right 0s}.ios .customize-panel-back{display:none}.ios .expanded.in-sub-panel .customize-panel-back{display:block}.panel-meta.customize-info .accordion-section-title{margin-right:48px}#customize-controls .panel-meta.customize-info .accordion-section-title:hover{background:#fff;color:#555}.customize-controls-close:focus,.customize-controls-close:hover,.customize-controls-preview-toggle:focus,.customize-controls-preview-toggle:hover{background:#ddd;border-color:#ccc;color:#000;outline:0;-webkit-box-shadow:none;box-shadow:none}.customize-panel-back:focus,.customize-panel-back:hover,.customize-section-back:focus,.customize-section-back:hover{color:#23282d;background:#f5f5f5;outline:0;-webkit-box-shadow:none;box-shadow:none}.customize-controls-close:before{font:400 22px/45px dashicons;content:"\f335";position:relative;top:1px;right:13px}.customize-panel-back:before,.customize-section-back:before{font:400 20px/69px dashicons;content:"\f345";position:relative;right:13px}.wp-full-overlay-sidebar .wp-full-overlay-header{-webkit-transition:padding ease-in-out .18s;transition:padding ease-in-out .18s}.in-sub-panel .wp-full-overlay-sidebar .wp-full-overlay-header{padding-right:62px}#customize-info,#customize-theme-controls>ul>.accordion-section{position:relative;right:0;-webkit-transition:right ease-in-out .18s;transition:right ease-in-out .18s}.ios #customize-info,.ios #customize-theme-controls>ul>.accordion-section{-webkit-transition:right 0s;transition:right 0s}.in-sub-panel #customize-info,.in-sub-panel #customize-theme-controls>ul>.accordion-section{right:-300px;width:300px}.in-sub-panel #customize-theme-controls .accordion-section.current-panel{width:100%}#customize-theme-controls .control-section.current-panel{padding:0}#customize-theme-controls .control-section>h3.accordion-section-title{position:relative;right:0}#customize-theme-controls .control-section.current-panel>h3.accordion-section-title{right:-354px;-webkit-transition:right ease-in-out .18s;transition:right ease-in-out .18s}.ios #customize-theme-controls .control-section.current-panel>h3.accordion-section-title{-webkit-transition:right 0s;transition:right 0s}.wp-full-overlay.section-open #customize-controls .wp-full-overlay-sidebar-content{visibility:hidden;overflow-y:hidden}.wp-full-overlay.section-open .wp-full-overlay-sidebar-content .accordion-section.open{visibility:visible}.wp-full-overlay.section-open .wp-full-overlay-sidebar-content .accordion-section.open .accordion-section-content{overflow-y:auto}p.customize-section-description{font-style:normal;margin-top:22px;margin-bottom:0}.customize-control{width:100%;float:right;clear:both;margin-bottom:12px}.customize-control input[type=radio],.customize-control input[type=checkbox],.customize-control select{line-height:28px}.customize-control input[type=tel],.customize-control input[type=url],.customize-control input[type=text],.customize-control input[type=password],.customize-control input[type=email],.customize-control input[type=number],.customize-control input[type=search]{width:98%;line-height:18px;margin:0}.customize-control-hidden{margin:0}.customize-control-checkbox input,.customize-control-radio input{margin-left:5px}.customize-control-textarea textarea{width:100%;resize:vertical}.customize-control select{min-width:50%;max-width:100%;height:28px;line-height:28px}.customize-control select[multiple]{height:auto}.customize-control-title{display:block;font-size:14px;line-height:24px;font-weight:600;margin-bottom:5px}.customize-control-description{display:block;font-style:italic;line-height:18px;margin-bottom:5px}.customize-control-checkbox label,.customize-control-color .color-picker,.customize-control-upload div{line-height:28px}.customize-control-radio{padding:5px 0 10px}.customize-control-radio .customize-control-title{margin-bottom:0;line-height:22px}.customize-control-radio .customize-control-title+.customize-control-description{margin-top:7px}.customize-control-radio label{line-height:32px}.customize-control .attachment-thumb.type-icon{float:right;margin:10px;width:auto}.customize-control .attachment-title{font-weight:700;margin:0;padding:5px 10px}.customize-control .attachment-meta{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0;padding:0 10px}.customize-control .attachment-meta-title{padding-top:7px}.customize-control .thumbnail-image{line-height:0}.customize-control .thumbnail-image img{cursor:pointer}#customize-controls .thumbnail-audio .thumbnail{max-width:64px;max-height:64px;margin:10px;float:right}#customize-preview iframe{width:100%;height:100%}.wp-full-overlay-sidebar{background:#eee;border-left:1px solid #ddd}.accordion-section .dropdown{float:right;display:block;position:relative;cursor:pointer}.accordion-section .dropdown-content{overflow:hidden;float:right;min-width:30px;height:16px;line-height:16px;margin-left:16px;padding:4px 5px;border:2px solid #eee;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.customize-control .dropdown-arrow{position:absolute;top:0;bottom:0;left:0;width:20px;background:#eee}.customize-control .dropdown-arrow:after{content:"\f140";font:400 20px/1 dashicons;speak:none;display:block;padding:0;text-indent:0;text-align:center;position:relative;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#32373c}.customize-control .dropdown-status{color:#32373c;background:#eee;display:none;max-width:112px}.customize-control-color .color-picker-hex{display:none}.customize-control-color.open .color-picker-hex,.customize-control-header button img{display:block}.customize-control-color .dropdown{margin-left:5px;margin-bottom:5px}.customize-control-color .dropdown .dropdown-content{background-color:#555;border:1px solid rgba(0,0,0,.15)}.customize-control-color .dropdown:hover .dropdown-content{border-color:rgba(0,0,0,.25)}.ios #customize-preview,.ios .wp-full-overlay{position:relative}.ios #customize-controls .wp-full-overlay-sidebar-content{-webkit-overflow-scrolling:touch}.customize-control-background .current,.customize-control-cropped_image .current,.customize-control-header .current,.customize-control-image .current,.customize-control-media .current,.customize-control-site_icon .current,.customize-control-upload .current{margin-bottom:8px}.customize-control-header .uploaded{margin-bottom:18px}.customize-control-header .default button:not(.random),.customize-control-header .uploaded button:not(.random){width:100%;padding:0;margin:0;background:0 0;border:none;color:inherit;cursor:pointer}.customize-control-background .default-button,.customize-control-background .remove-button,.customize-control-background .upload-button,.customize-control-cropped_image .default-button,.customize-control-cropped_image .remove-button,.customize-control-cropped_image .upload-button,.customize-control-header button.new,.customize-control-header button.remove,.customize-control-image .default-button,.customize-control-image .remove-button,.customize-control-image .upload-button,.customize-control-media .default-button,.customize-control-media .remove-button,.customize-control-media .upload-button,.customize-control-site_icon .default-button,.customize-control-site_icon .remove-button,.customize-control-site_icon .upload-button,.customize-control-upload .default-button,.customize-control-upload .remove-button,.customize-control-upload .upload-button{white-space:normal;width:48%;height:auto}.customize-control-background .current .container,.customize-control-cropped_image .current .container,.customize-control-header .current .container,.customize-control-image .current .container,.customize-control-media .current .container,.customize-control-site_icon .current .container,.customize-control-upload .current .container{overflow:hidden;border:1px solid #eee;-webkit-border-radius:2px;border-radius:2px}.customize-control-background .current .container,.customize-control-cropped_image .current .container,.customize-control-image .current .container,.customize-control-media .current .container,.customize-control-site_icon .current .container,.customize-control-upload .current .container{min-height:40px}.customize-control-background .placeholder,.customize-control-cropped_image .placeholder,.customize-control-header .placeholder,.customize-control-image .placeholder,.customize-control-media .placeholder,.customize-control-site_icon .placeholder,.customize-control-upload .placeholder{width:100%;position:relative;text-align:center;cursor:default}.customize-control-background .inner,.customize-control-cropped_image .inner,.customize-control-header .inner,.customize-control-image .inner,.customize-control-media .inner,.customize-control-site_icon .inner,.customize-control-upload .inner{display:none;position:absolute;width:100%;color:#555;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.customize-control-background .inner,.customize-control-cropped_image .inner,.customize-control-image .inner,.customize-control-media .inner,.customize-control-site_icon .inner,.customize-control-upload .inner{display:block;min-height:40px}.customize-control-background .inner,.customize-control-cropped_image .inner,.customize-control-header .inner,.customize-control-header .inner .dashicons,.customize-control-image .inner,.customize-control-media .inner,.customize-control-site_icon .inner,.customize-control-upload .inner{line-height:20px;top:10px}.customize-control-header .list .inner,.customize-control-header .list .inner .dashicons{top:9px}.customize-control-header .header-view{position:relative;width:100%;margin-bottom:5px}.customize-control-header .header-view:last-child{margin-bottom:0}.customize-control-header .header-view:after{border:0}.customize-control-header .header-view.selected:after{content:'';position:absolute;height:auto;top:0;right:0;bottom:0;left:0;border:4px solid #00a0d2;-webkit-border-radius:2px;border-radius:2px}.customize-control-header .header-view.button.selected{border:0}.customize-control-header .uploaded .header-view .close{font-size:20px;color:#fff;background:#555;background:rgba(0,0,0,.5);position:absolute;top:10px;left:-999px;z-index:1;width:26px;height:26px;cursor:pointer}.customize-control-header .header-view .close:focus,.customize-control-header .header-view:hover .close{left:10px}.customize-control-header .random.placeholder{cursor:pointer;-webkit-border-radius:2px;border-radius:2px;height:40px}.customize-control-header button.random{width:100%;height:auto;min-height:40px;white-space:normal}.customize-control-header button.random .dice{margin-top:4px}.customize-control-header .header-view:hover>button.random .dice,.customize-control-header .placeholder:hover .dice{-webkit-animation:dice-color-change 3s infinite;animation:dice-color-change 3s infinite}@-webkit-keyframes dice-color-change{0%,100%{color:#d4b146}50%{color:#ef54b0}75%{color:#7190d3}}@keyframes dice-color-change{0%,100%{color:#d4b146}50%{color:#ef54b0}75%{color:#7190d3}}.customize-control-background .actions,.customize-control-cropped_image .actions,.customize-control-header .actions,.customize-control-image .actions,.customize-control-media .actions,.customize-control-site_icon .actions,.customize-control-upload .actions{margin-bottom:32px}.customize-control-header .choice{position:relative;display:block;margin-bottom:9px}.customize-control-header .uploaded div:last-child>.choice{margin-bottom:0}.customize-control-background img,.customize-control-cropped_image img,.customize-control-header img,.customize-control-image img,.customize-control-media img,.customize-control-site_icon img,.customize-control-upload img{width:100%;-webkit-border-radius:2px;border-radius:2px}.customize-control-background .default-button,.customize-control-background .remove-button,.customize-control-cropped_image .default-button,.customize-control-cropped_image .remove-button,.customize-control-header .remove,.customize-control-image .default-button,.customize-control-image .remove-button,.customize-control-media .default-button,.customize-control-media .remove-button,.customize-control-site_icon .default-button,.customize-control-site_icon .remove-button,.customize-control-upload .default-button,.customize-control-upload .remove-button{float:right;margin-left:3px}.customize-control-background .upload-button,.customize-control-cropped_image .upload-button,.customize-control-header .new,.customize-control-image .upload-button,.customize-control-media .upload-button,.customize-control-site_icon .upload-button,.customize-control-upload .upload-button{float:left}@-webkit-keyframes customize-reload{0%{opacity:0}100%{opacity:1}}@keyframes customize-reload{0%{opacity:0}100%{opacity:1}}.wp-customizer .customize-loading #customize-container{display:block;-webkit-animation:customize-reload .75s;animation:customize-reload .75s}.control-section-themes .accordion-section-title{cursor:default;margin:15px 0;padding-left:100px}#customize-theme-controls .control-section-themes .accordion-section-title:focus,#customize-theme-controls .control-section-themes .accordion-section-title:hover{color:#555;background-color:#fff}.customize-themes-panel .accordion-section-title{margin:15px -8px}#customize-controls .customize-section-title span.customize-action,.control-section-themes .accordion-section-title span.customize-action{font-size:13px;display:block;font-weight:400}.control-section-themes .accordion-section-title .change-theme,.control-section-themes .accordion-section-title .customize-theme{position:absolute;left:10px;top:50%;margin-top:-14px;font-weight:400}.control-section-themes .accordion-section-title:before{display:none}.customize-themes-panel{display:none;padding:0 8px;background:#f1f1f1;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.customize-themes-panel .accordion-section-title:first-child{margin-top:0}#customize-controls .customize-themes-panel .accordion-section-title:nth-child(2){font-size:14px;font-weight:600}.customize-themes-panel>h2{padding:15px 8px 0}.control-section.open .customize-themes-panel{display:block}#customize-theme-controls .customize-themes-panel .accordion-section-content{background:0 0;display:block}#accordion-section-themes .accordion-section-title:after,.customize-controls-preview-toggle,.wp-customizer .theme-overlay{display:none}.customize-control.customize-control-theme{margin-bottom:8px}#customize-theme-controls .themes.accordion-section-content{position:relative;right:0;padding:0;width:100%}.wp-customizer .theme-browser .themes{padding-bottom:8px}.wp-customizer .theme-browser .theme{margin:0;width:100%}.wp-customizer .theme-browser .theme .theme-actions{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";opacity:1}#customize-controls h3.theme-name{font-size:15px}#customize-controls .theme-overlay .theme-name{font-size:32px}.wp-customizer #themes-filter{font-size:16px;font-weight:300;line-height:1.5;width:100%}#customize-theme-controls .control-section-themes.current-panel>h3.accordion-section-title{right:0}.customize-themes-panel.control-panel-content{position:absolute;right:-100%;top:0;width:100%;border-top:1px solid #ddd}.in-themes-panel #customize-info,.in-themes-panel #customize-theme-controls>ul>.accordion-section{right:100%}.wp-customizer.modal-open .theme-overlay{position:fixed;right:0;top:0;left:0;bottom:0;z-index:109}.wp-customizer .theme-overlay .theme-backdrop{background:rgba(238,238,238,.75);position:fixed;z-index:110}.wp-customizer .theme-overlay .theme-wrap{right:90px;left:90px;top:45px;bottom:45px;z-index:120;max-width:1740px}.wp-customizer .theme-overlay .theme-actions{text-align:left}.modal-open .in-themes-panel #customize-controls .wp-full-overlay-sidebar-content{overflow:visible}.ie8 .wp-customizer .theme-overlay .theme-about,.ie8 .wp-customizer .theme-overlay .theme-actions,.ie8 .wp-customizer .theme-overlay .theme-header{position:static}@media (max-width:850px),(max-height:472px){.wp-customizer .theme-overlay .theme-wrap{right:0;left:0;top:0;bottom:0}}body.cheatin{font-size:medium;height:auto;background:#fff;margin:50px auto 2em;padding:1em 2em;max-width:700px;min-width:0;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.13);box-shadow:0 1px 3px rgba(0,0,0,.13)}body.cheatin p{font-size:14px;line-height:1.5;margin:25px 0 20px}@media only screen and (max-width:780px){.wp-customizer .theme:not(.active):focus .theme-actions,.wp-customizer .theme:not(.active):hover .theme-actions{display:block}.wp-customizer .theme-browser .theme.active .theme-name span{display:inline}}@media screen and (max-width:640px){#customize-controls{width:100%}.wp-full-overlay.expanded{margin-right:0}.wp-full-overlay-sidebar .wp-full-overlay-sidebar-content{bottom:0}.customize-controls-preview-toggle{display:block;position:absolute;top:0;right:48px;line-height:45px;font-size:14px;padding:0 12px;margin:0;height:45px;background:#eee;border-left:1px solid #ddd;color:#444;cursor:pointer;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out}#customize-footer-actions,#customize-preview,.customize-controls-preview-toggle .controls,.preview-only .customize-controls-preview-toggle .preview,.preview-only .wp-full-overlay-sidebar-content{display:none}.customize-controls-preview-toggle .controls:before,.customize-controls-preview-toggle .preview:before{font:400 20px/1 dashicons;content:"\f177";position:relative;top:4px;margin-left:6px}.customize-controls-preview-toggle .controls:before{content:"\f540"}.preview-only #customize-controls{height:45px}.preview-only #customize-preview,.preview-only .customize-controls-preview-toggle .controls{display:block}#customize-preview{top:45px;bottom:0;height:auto}.wp-core-ui.wp-customizer .button{padding:6px 14px;line-height:normal;font-size:14px;vertical-align:middle;height:auto;margin-bottom:4px}#customize-header-actions .button-primary{margin-top:6px}} \ No newline at end of file +body{overflow:hidden;-webkit-text-size-adjust:100%}#customize-controls a{text-decoration:none}#customize-controls h3{font-size:14px}#customize-controls img{max-width:100%}#customize-controls .submit{text-align:center}#customize-controls .description{color:#555}#customize-header-actions .button-primary{float:left;margin-top:9px}#customize-header-actions .spinner{margin-top:13px;margin-left:4px}.saving #customize-header-actions .spinner{visibility:visible}#customize-header-actions{border-bottom:1px solid #ddd}#customize-controls .wp-full-overlay-sidebar-content{overflow-y:auto;overflow-x:hidden}#customize-controls .customize-info{border:none;border-top:1px solid #ddd;border-bottom:1px solid #ddd;margin-bottom:15px}#customize-controls .customize-info .accordion-section-title{background:#fff;color:#555;border-right:none;border-left:none;border-bottom:none;cursor:default}#customize-controls .customize-info .accordion-section-title:focus:after,#customize-controls .customize-info .accordion-section-title:hover:after,#customize-controls .customize-info.open .accordion-section-title:after{color:#333}#customize-controls .customize-info .accordion-section-title:after{display:none}#customize-controls .customize-info .preview-notice{font-size:13px;line-height:24px}#customize-controls .control-section .customize-section-title h3,#customize-controls .control-section h3.customize-section-title,#customize-controls .customize-info .panel-title{font-size:20px;font-weight:200;line-height:26px;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#customize-controls .customize-section-title span.customize-action{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#customize-controls .customize-info .customize-help-toggle{position:absolute;top:4px;left:1px;padding:20px 10px 10px 20px;width:20px;height:20px;cursor:pointer;-webkit-box-shadow:none;box-shadow:none;-webkit-appearance:none;background:0 0;color:#555;border:none}#customize-controls .customize-info .customize-help-toggle:before{position:absolute;top:5px;right:6px}#customize-controls .customize-info .customize-help-toggle:focus,#customize-controls .customize-info .customize-help-toggle:hover,#customize-controls .customize-info.open .customize-help-toggle{color:#0073aa}#customize-controls .customize-info .customize-panel-description,#customize-controls .no-widget-areas-rendered-notice{color:#555;display:none;background:#fff;padding:12px 15px;border-top:1px solid #ddd}#customize-controls .customize-info .customize-panel-description.open+.no-widget-areas-rendered-notice{border-top:none}#customize-controls .customize-info .customize-panel-description p:first-child{margin-top:0}#customize-controls .customize-info .customize-panel-description p:last-child{margin-bottom:0}#customize-controls .current-panel .control-section>h3.accordion-section-title{padding-left:30px}#customize-theme-controls .control-section{border:none}#customize-theme-controls .accordion-section-title{color:#555;background-color:#fff;border-bottom:1px solid #eee}#customize-theme-controls .accordion-section-title:after{content:"\f341"}#customize-theme-controls .accordion-section-content{color:#555;background:0 0;position:absolute;top:0;right:100%;width:100%;margin:0;padding:12px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#customize-controls .control-section .accordion-section-title:focus,#customize-controls .control-section .accordion-section-title:hover,#customize-controls .control-section.open .accordion-section-title,#customize-controls .control-section:hover>.accordion-section-title{color:#23282d;background:#f5f5f5}.js .control-section .accordion-section-title:focus,.js .control-section .accordion-section-title:hover,.js .control-section.open .accordion-section-title,.js .control-section:hover .accordion-section-title{background:#f5f5f5}#customize-theme-controls .control-section .accordion-section-title:focus:after,#customize-theme-controls .control-section .accordion-section-title:hover:after,#customize-theme-controls .control-section.open .accordion-section-title:after,#customize-theme-controls .control-section:hover>.accordion-section-title:after{color:#23282d}#customize-theme-controls .control-section.open{border-bottom:1px solid #eee}#customize-theme-controls .control-section.open .accordion-section-title{border-bottom-color:#eee!important}#customize-theme-controls .control-section:last-of-type.open,#customize-theme-controls .control-section:last-of-type>.accordion-section-title{border-bottom-color:#ddd}#customize-theme-controls>ul{margin:0}.customize-section-description-container{margin-bottom:15px}.customize-section-title{margin:-12px -12px 0;border-bottom:1px solid #ddd;background:#fff}div.customize-section-description{margin-top:22px}div.customize-section-description p:first-child{margin-top:0}div.customize-section-description p:last-child{margin-bottom:0}#customize-theme-controls .customize-themes-panel h3.customize-section-title:first-child{border-bottom:1px solid #ddd;padding:12px}.ios #customize-theme-controls .customize-themes-panel h3.customize-section-title:first-child{padding:12px 12px 13px}.customize-section-title h3,h3.customize-section-title{padding:10px 14px 12px 10px;margin:0;line-height:21px;color:#555}#customize-theme-controls{position:relative;right:0;-webkit-transition:.18s right ease-in-out;transition:.18s right ease-in-out}.ios #customize-theme-controls{-webkit-transition:right 0s;transition:right 0s}.section-open #customize-info,.section-open #customize-theme-controls{right:-100%}.accordion-sub-container.control-panel-content{display:none;position:absolute;right:300px;top:0;width:300px;-webkit-transition:right ease-in-out .18s;transition:right ease-in-out .18s}.ios .accordion-sub-container.control-panel-content{-webkit-transition:right 0s;transition:right 0s}.accordion-sub-container.control-panel-content.animating{display:block}.current-panel .accordion-sub-container.control-panel-content{width:100%}.customize-controls-close{display:block;position:absolute;top:0;right:0;width:45px;height:45px;padding:0 0 0 2px;background:#eee;border:none;border-left:1px solid #ddd;color:#444;text-align:right;cursor:pointer;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.customize-panel-back,.customize-section-back{display:block;float:right;width:48px;height:71px;padding:0 0 0 24px;margin:0;background:#fff;border:none;border-left:1px solid #ddd;-webkit-box-shadow:none;box-shadow:none;cursor:pointer;-webkit-transition:right .18s ease-in-out,color .1s ease-in-out,background .1s ease-in-out;transition:right .18s ease-in-out,color .1s ease-in-out,background .1s ease-in-out}.customize-section-back{height:74px}.ios .customize-panel-back,.ios .customize-section-back{-webkit-transition:right 0s;transition:right 0s}.ios .customize-panel-back{display:none}.ios .expanded.in-sub-panel .customize-panel-back{display:block}.panel-meta.customize-info .accordion-section-title{margin-right:48px}#customize-controls .panel-meta.customize-info .accordion-section-title:hover{background:#fff;color:#555}.customize-controls-close:focus,.customize-controls-close:hover,.customize-controls-preview-toggle:focus,.customize-controls-preview-toggle:hover{background:#ddd;border-color:#ccc;color:#000;outline:0;-webkit-box-shadow:none;box-shadow:none}.customize-panel-back:focus,.customize-panel-back:hover,.customize-section-back:focus,.customize-section-back:hover{color:#23282d;background:#f5f5f5;outline:0;-webkit-box-shadow:none;box-shadow:none}.customize-controls-close:before{font:400 22px/45px dashicons;content:"\f335";position:relative;top:1px;right:13px}.customize-panel-back:before,.customize-section-back:before{font:400 20px/72px dashicons;content:"\f345";position:relative;right:13px}.wp-full-overlay-sidebar .wp-full-overlay-header{-webkit-transition:padding ease-in-out .18s;transition:padding ease-in-out .18s}.in-sub-panel .wp-full-overlay-sidebar .wp-full-overlay-header{padding-right:62px}#customize-info,#customize-theme-controls>ul>.accordion-section{position:relative;right:0;-webkit-transition:right ease-in-out .18s;transition:right ease-in-out .18s}.ios #customize-info,.ios #customize-theme-controls>ul>.accordion-section{-webkit-transition:right 0s;transition:right 0s}.in-sub-panel #customize-info,.in-sub-panel #customize-theme-controls>ul>.accordion-section{right:-300px;width:300px}.in-sub-panel #customize-theme-controls .accordion-section.current-panel{width:100%}#customize-theme-controls .control-section.current-panel{padding:0}#customize-theme-controls .control-section>h3.accordion-section-title{position:relative;right:0}#customize-theme-controls .control-section.current-panel>h3.accordion-section-title{right:-354px;-webkit-transition:right ease-in-out .18s;transition:right ease-in-out .18s}.ios #customize-theme-controls .control-section.current-panel>h3.accordion-section-title{-webkit-transition:right 0s;transition:right 0s}.wp-full-overlay.section-open #customize-controls .wp-full-overlay-sidebar-content{visibility:hidden;overflow-y:hidden}.wp-full-overlay.section-open .wp-full-overlay-sidebar-content .accordion-section.open{visibility:visible}.wp-full-overlay.section-open .wp-full-overlay-sidebar-content .accordion-section.open .accordion-section-content{overflow-y:auto}p.customize-section-description{font-style:normal;margin-top:22px;margin-bottom:0}.customize-control{width:100%;float:right;clear:both;margin-bottom:12px}.customize-control input[type=radio],.customize-control input[type=checkbox],.customize-control select{line-height:28px}.customize-control input[type=tel],.customize-control input[type=url],.customize-control input[type=text],.customize-control input[type=password],.customize-control input[type=email],.customize-control input[type=number],.customize-control input[type=search]{width:98%;line-height:18px;margin:0}.customize-control-hidden{margin:0}.customize-control-textarea textarea{width:100%;resize:vertical}.customize-control select{min-width:50%;max-width:100%;height:28px;line-height:28px}.customize-control select[multiple]{height:auto}.customize-control-title{display:block;font-size:14px;line-height:24px;font-weight:600;margin-bottom:5px}.customize-control-description{display:block;font-style:italic;line-height:18px;margin-bottom:5px}.customize-control-color .color-picker,.customize-control-upload div{line-height:28px}.customize-control-checkbox label,.customize-control-nav_menu_auto_add label,.customize-control-radio label{line-height:20px;display:block;margin-right:24px;padding-top:6px;padding-bottom:6px}.customize-control-checkbox input,.customize-control-nav_menu_auto_add input,.customize-control-radio input{margin-left:4px;margin-right:-24px}.customize-control-radio{padding:5px 0 10px}.customize-control-radio .customize-control-title{margin-bottom:0;line-height:22px}.customize-control-radio .customize-control-title+.customize-control-description{margin-top:7px}.customize-control .attachment-thumb.type-icon{float:right;margin:10px;width:auto}.customize-control .attachment-title{font-weight:700;margin:0;padding:5px 10px}.customize-control .attachment-meta{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0;padding:0 10px}.customize-control .attachment-meta-title{padding-top:7px}.customize-control .thumbnail-image{line-height:0}.customize-control .thumbnail-image img{cursor:pointer}#customize-controls .thumbnail-audio .thumbnail{max-width:64px;max-height:64px;margin:10px;float:right}#customize-preview iframe{width:100%;height:100%}.wp-full-overlay-sidebar{background:#eee;border-left:1px solid #ddd}.accordion-section .dropdown{float:right;display:block;position:relative;cursor:pointer}.accordion-section .dropdown-content{overflow:hidden;float:right;min-width:30px;height:16px;line-height:16px;margin-left:16px;padding:4px 5px;border:2px solid #eee;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.customize-control .dropdown-arrow{position:absolute;top:0;bottom:0;left:0;width:20px;background:#eee}.customize-control .dropdown-arrow:after{content:"\f140";font:400 20px/1 dashicons;speak:none;display:block;padding:0;text-indent:0;text-align:center;position:relative;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#32373c}.customize-control .dropdown-status{color:#32373c;background:#eee;display:none;max-width:112px}.customize-control-color .color-picker-hex{display:none}.customize-control-color.open .color-picker-hex,.customize-control-header button img{display:block}.customize-control-color .dropdown{margin-left:5px;margin-bottom:5px}.customize-control-color .dropdown .dropdown-content{background-color:#555;border:1px solid rgba(0,0,0,.15)}.customize-control-color .dropdown:hover .dropdown-content{border-color:rgba(0,0,0,.25)}.ios #customize-preview,.ios .wp-full-overlay{position:relative}.ios #customize-controls .wp-full-overlay-sidebar-content{-webkit-overflow-scrolling:touch}.customize-control-background .current,.customize-control-cropped_image .current,.customize-control-header .current,.customize-control-image .current,.customize-control-media .current,.customize-control-site_icon .current,.customize-control-upload .current{margin-bottom:8px}.customize-control-header .uploaded{margin-bottom:18px}.customize-control-header .default button:not(.random),.customize-control-header .uploaded button:not(.random){width:100%;padding:0;margin:0;background:0 0;border:none;color:inherit;cursor:pointer}.customize-control-background .default-button,.customize-control-background .remove-button,.customize-control-background .upload-button,.customize-control-cropped_image .default-button,.customize-control-cropped_image .remove-button,.customize-control-cropped_image .upload-button,.customize-control-header button.new,.customize-control-header button.remove,.customize-control-image .default-button,.customize-control-image .remove-button,.customize-control-image .upload-button,.customize-control-media .default-button,.customize-control-media .remove-button,.customize-control-media .upload-button,.customize-control-site_icon .default-button,.customize-control-site_icon .remove-button,.customize-control-site_icon .upload-button,.customize-control-upload .default-button,.customize-control-upload .remove-button,.customize-control-upload .upload-button{white-space:normal;width:48%;height:auto}.customize-control-background .current .container,.customize-control-cropped_image .current .container,.customize-control-header .current .container,.customize-control-image .current .container,.customize-control-media .current .container,.customize-control-site_icon .current .container,.customize-control-upload .current .container{overflow:hidden;border:1px solid #eee;-webkit-border-radius:2px;border-radius:2px}.customize-control-background .current .container,.customize-control-cropped_image .current .container,.customize-control-image .current .container,.customize-control-media .current .container,.customize-control-site_icon .current .container,.customize-control-upload .current .container{min-height:40px}.customize-control-background .placeholder,.customize-control-cropped_image .placeholder,.customize-control-header .placeholder,.customize-control-image .placeholder,.customize-control-media .placeholder,.customize-control-site_icon .placeholder,.customize-control-upload .placeholder{width:100%;position:relative;text-align:center;cursor:default}.customize-control-background .inner,.customize-control-cropped_image .inner,.customize-control-header .inner,.customize-control-image .inner,.customize-control-media .inner,.customize-control-site_icon .inner,.customize-control-upload .inner{display:none;position:absolute;width:100%;color:#555;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.customize-control-background .inner,.customize-control-cropped_image .inner,.customize-control-image .inner,.customize-control-media .inner,.customize-control-site_icon .inner,.customize-control-upload .inner{display:block;min-height:40px}.customize-control-background .inner,.customize-control-cropped_image .inner,.customize-control-header .inner,.customize-control-header .inner .dashicons,.customize-control-image .inner,.customize-control-media .inner,.customize-control-site_icon .inner,.customize-control-upload .inner{line-height:20px;top:10px}.customize-control-header .list .inner,.customize-control-header .list .inner .dashicons{top:9px}.customize-control-header .header-view{position:relative;width:100%;margin-bottom:5px}.customize-control-header .header-view:last-child{margin-bottom:0}.customize-control-header .header-view:after{border:0}.customize-control-header .header-view.selected:after{content:'';position:absolute;height:auto;top:0;right:0;bottom:0;left:0;border:4px solid #00a0d2;-webkit-border-radius:2px;border-radius:2px}.customize-control-header .header-view.button.selected{border:0}.customize-control-header .uploaded .header-view .close{font-size:20px;color:#fff;background:#555;background:rgba(0,0,0,.5);position:absolute;top:10px;left:-999px;z-index:1;width:26px;height:26px;cursor:pointer}.customize-control-header .header-view .close:focus,.customize-control-header .header-view:hover .close{left:10px}.customize-control-header .random.placeholder{cursor:pointer;-webkit-border-radius:2px;border-radius:2px;height:40px}.customize-control-header button.random{width:100%;height:auto;min-height:40px;white-space:normal}.customize-control-header button.random .dice{margin-top:4px}.customize-control-header .header-view:hover>button.random .dice,.customize-control-header .placeholder:hover .dice{-webkit-animation:dice-color-change 3s infinite;animation:dice-color-change 3s infinite}@-webkit-keyframes dice-color-change{0%,100%{color:#d4b146}50%{color:#ef54b0}75%{color:#7190d3}}@keyframes dice-color-change{0%,100%{color:#d4b146}50%{color:#ef54b0}75%{color:#7190d3}}.customize-control-background .actions,.customize-control-cropped_image .actions,.customize-control-header .actions,.customize-control-image .actions,.customize-control-media .actions,.customize-control-site_icon .actions,.customize-control-upload .actions{margin-bottom:32px}.customize-control-header .choice{position:relative;display:block;margin-bottom:9px}.customize-control-header .uploaded div:last-child>.choice{margin-bottom:0}.customize-control-background img,.customize-control-cropped_image img,.customize-control-header img,.customize-control-image img,.customize-control-media img,.customize-control-site_icon img,.customize-control-upload img{width:100%;-webkit-border-radius:2px;border-radius:2px}.customize-control-background .default-button,.customize-control-background .remove-button,.customize-control-cropped_image .default-button,.customize-control-cropped_image .remove-button,.customize-control-header .remove,.customize-control-image .default-button,.customize-control-image .remove-button,.customize-control-media .default-button,.customize-control-media .remove-button,.customize-control-site_icon .default-button,.customize-control-site_icon .remove-button,.customize-control-upload .default-button,.customize-control-upload .remove-button{float:right;margin-left:3px}.customize-control-background .upload-button,.customize-control-cropped_image .upload-button,.customize-control-header .new,.customize-control-image .upload-button,.customize-control-media .upload-button,.customize-control-site_icon .upload-button,.customize-control-upload .upload-button{float:left}@-webkit-keyframes customize-reload{0%{opacity:0}100%{opacity:1}}@keyframes customize-reload{0%{opacity:0}100%{opacity:1}}.wp-customizer .customize-loading #customize-container{display:block;-webkit-animation:customize-reload .75s;animation:customize-reload .75s}.control-section-themes .accordion-section-title{cursor:default;margin:15px 0;padding-left:100px}#customize-theme-controls .control-section-themes .accordion-section-title:focus,#customize-theme-controls .control-section-themes .accordion-section-title:hover{color:#555;background-color:#fff}.customize-themes-panel .accordion-section-title{margin:15px -8px}#customize-controls .customize-section-title span.customize-action,.control-section-themes .accordion-section-title span.customize-action{font-size:13px;display:block;font-weight:400}.control-section-themes .accordion-section-title .change-theme,.control-section-themes .accordion-section-title .customize-theme{position:absolute;left:10px;top:50%;margin-top:-14px;font-weight:400}.control-section-themes .accordion-section-title:before{display:none}.customize-themes-panel{display:none;padding:0 8px;background:#f1f1f1;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.customize-themes-panel .accordion-section-title:first-child{margin-top:0}#customize-controls .customize-themes-panel .accordion-section-title:nth-child(2){font-size:14px;font-weight:600}.customize-themes-panel>h2{padding:15px 8px 0}.control-section.open .customize-themes-panel{display:block}#customize-theme-controls .customize-themes-panel .accordion-section-content{background:0 0;display:block}.customize-control.customize-control-theme{margin-bottom:8px}#customize-theme-controls .themes.accordion-section-content{position:relative;right:0;padding:0;width:100%}.wp-customizer .theme-browser .themes{padding-bottom:8px}.wp-customizer .theme-browser .theme{margin:0;width:100%}.wp-customizer .theme-browser .theme .theme-actions{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";opacity:1}#customize-controls h3.theme-name{font-size:15px}#customize-controls .theme-overlay .theme-name{font-size:32px}.wp-customizer #themes-filter{font-size:16px;font-weight:300;line-height:1.5;width:100%}#accordion-section-themes .accordion-section-title:after{display:none}#customize-theme-controls .control-section-themes.current-panel>h3.accordion-section-title{right:0}.customize-themes-panel.control-panel-content{position:absolute;right:-100%;top:0;width:100%;border-top:1px solid #ddd}.in-themes-panel #customize-info,.in-themes-panel #customize-theme-controls>ul>.accordion-section{right:100%}.wp-customizer .theme-overlay{display:none}.wp-customizer.modal-open .theme-overlay{position:fixed;right:0;top:0;left:0;bottom:0;z-index:109}.wp-customizer .theme-overlay .theme-backdrop{background:rgba(238,238,238,.75);position:fixed;z-index:110}.wp-customizer .theme-overlay .theme-wrap{right:90px;left:90px;top:45px;bottom:45px;z-index:120;max-width:1740px}.wp-customizer .theme-overlay .theme-actions{text-align:left}.modal-open .in-themes-panel #customize-controls .wp-full-overlay-sidebar-content{overflow:visible}.ie8 .wp-customizer .theme-overlay .theme-about,.ie8 .wp-customizer .theme-overlay .theme-actions,.ie8 .wp-customizer .theme-overlay .theme-header{position:static}@media (max-width:850px),(max-height:472px){.wp-customizer .theme-overlay .theme-wrap{right:0;left:0;top:0;bottom:0}}body.cheatin{font-size:medium;height:auto;background:#fff;margin:50px auto 2em;padding:1em 2em;max-width:700px;min-width:0;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.13);box-shadow:0 1px 3px rgba(0,0,0,.13)}body.cheatin h1{border-bottom:1px solid #dadada;clear:both;color:#666;font:24px "Open Sans",sans-serif;margin:30px 0 0;padding:0 0 7px}body.cheatin p{font-size:14px;line-height:1.5;margin:25px 0 20px}#customize-theme-controls .add-new-menu-item,#customize-theme-controls .add-new-widget{cursor:pointer;float:left;margin-right:10px;-webkit-transition:all .2s;transition:all .2s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:0}.reordering .add-new-menu-item,.reordering .add-new-widget{opacity:.2;pointer-events:none;cursor:not-allowed}.add-new-menu-item:before,.add-new-widget:before{content:"\f132";display:inline-block;position:relative;right:-2px;top:-1px;font:400 20px/1 dashicons;vertical-align:middle;-webkit-transition:all .2s;transition:all .2s;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.reorder-toggle{float:left;padding:5px 8px;text-decoration:none;cursor:pointer;outline:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.reorder-toggle:focus{outline:dotted 1px}.reorder,.reordering .reorder-done{display:block;padding:5px 8px}.reorder-done,.reordering .reorder{display:none;color:#0073aa}.reorder-toggle:active .reorder-done,.reorder-toggle:focus .reorder-done,.reorder-toggle:hover .reorder-done{color:#00a0d2}.customize-controls-preview-toggle{display:none}@media only screen and (max-width:782px){.wp-customizer .theme:not(.active):focus .theme-actions,.wp-customizer .theme:not(.active):hover .theme-actions{display:block}.wp-customizer .theme-browser .theme.active .theme-name span{display:inline}.customize-control-checkbox label,.customize-control-nav_menu_auto_add label,.customize-control-radio label{margin-right:32px}.customize-control-checkbox input,.customize-control-nav_menu_auto_add input,.customize-control-radio input{margin-right:-32px}.customize-control input[type=radio]+label,.customize-control input[type=checkbox]+label{line-height:32px}}@media screen and (max-width:640px){#customize-controls{width:100%}.wp-full-overlay.expanded{margin-right:0}.wp-full-overlay-sidebar .wp-full-overlay-sidebar-content{bottom:0}.customize-controls-preview-toggle{display:block;position:absolute;top:0;right:48px;line-height:45px;font-size:14px;padding:0 12px;margin:0;height:45px;background:#eee;border-left:1px solid #ddd;color:#444;cursor:pointer;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out}#customize-footer-actions,#customize-preview,.customize-controls-preview-toggle .controls,.preview-only .customize-controls-preview-toggle .preview,.preview-only .wp-full-overlay-sidebar-content{display:none}.customize-controls-preview-toggle .controls:before,.customize-controls-preview-toggle .preview:before{font:400 20px/1 dashicons;content:"\f177";position:relative;top:4px;margin-left:6px}.customize-controls-preview-toggle .controls:before{content:"\f540"}.preview-only #customize-controls{height:45px}.preview-only #customize-preview,.preview-only .customize-controls-preview-toggle .controls{display:block}#customize-preview{top:45px;bottom:0;height:auto}.wp-core-ui.wp-customizer .button{padding:6px 14px;line-height:normal;font-size:14px;vertical-align:middle;height:auto;margin-bottom:4px}#customize-header-actions .button-primary{margin-top:6px}} \ No newline at end of file diff --git a/wp-admin/css/customize-controls.css b/wp-admin/css/customize-controls.css index 46c4170..ced9735 100644 --- a/wp-admin/css/customize-controls.css +++ b/wp-admin/css/customize-controls.css @@ -82,7 +82,7 @@ body { #customize-controls .customize-info .panel-title { font-size: 20px; font-weight: 200; - line-height: 24px; + line-height: 26px; display: block; overflow: hidden; white-space: nowrap; @@ -123,13 +123,17 @@ body { color: #0073aa; } -#customize-controls .customize-info .customize-panel-description { +#customize-controls .customize-info .customize-panel-description, +#customize-controls .no-widget-areas-rendered-notice { color: #555; display: none; background: #fff; padding: 12px 15px; border-top: 1px solid #ddd; } +#customize-controls .customize-info .customize-panel-description.open + .no-widget-areas-rendered-notice { + border-top: none; +} #customize-controls .customize-info .customize-panel-description p:first-child { margin-top: 0; @@ -207,7 +211,7 @@ body { left: 100%; width: 100%; margin: 0; - padding: 12px; + padding: 12px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; @@ -318,7 +322,7 @@ h3.customize-section-title { display: block; float: left; width: 48px; - height: 69px; + height: 71px; padding: 0 24px 0 0; margin: 0; background: #fff; @@ -332,7 +336,7 @@ h3.customize-section-title { } .customize-section-back { - height: 70px; + height: 74px; } .ios .customize-panel-back, @@ -391,7 +395,7 @@ h3.customize-section-title { .customize-panel-back:before, .customize-section-back:before { - font: normal 20px/69px dashicons; + font: normal 20px/72px dashicons; content: "\f341"; position: relative; left: 13px; @@ -530,13 +534,25 @@ p.customize-section-description { } .customize-control-color .color-picker, -.customize-control-checkbox label, .customize-control-upload div { line-height: 28px; } -.customize-control-checkbox input { - margin-right: 5px; +.customize-control-radio label, +.customize-control-checkbox label, +.customize-control-nav_menu_auto_add label { + line-height: 20px; + display: block; + margin-left: 24px; + padding-top: 6px; + padding-bottom: 6px; +} + +.customize-control-radio input, +.customize-control-checkbox input, +.customize-control-nav_menu_auto_add input { + margin-right: 4px; + margin-left: -24px; } .customize-control-radio { @@ -552,14 +568,6 @@ p.customize-section-description { margin-top: 7px; } -.customize-control-radio label { - line-height: 32px; -} - -.customize-control-radio input { - margin-right: 5px; -} - .customize-control .attachment-thumb.type-icon { float: left; margin: 10px; @@ -611,9 +619,10 @@ p.customize-section-description { /* Style for custom settings */ -/* +/** * Dropdowns */ + .accordion-section .dropdown { float: left; display: block; @@ -647,7 +656,7 @@ p.customize-section-description { .customize-control .dropdown-arrow:after { content: "\f140"; - font: normal 20px/1 'dashicons'; + font: normal 20px/1 dashicons; speak: none; display: block; padding: 0; @@ -694,6 +703,7 @@ p.customize-section-description { * iOS can't scroll iframes, * instead it expands the iframe size to match the size of the content */ + .ios .wp-full-overlay { position: relative; } @@ -706,7 +716,7 @@ p.customize-section-description { -webkit-overflow-scrolling: touch; } -/** Media controls **/ +/* Media controls */ .customize-control-media .current, .customize-control-upload .current, @@ -991,6 +1001,7 @@ p.customize-section-description { /** * Themes */ + @-webkit-keyframes customize-reload { 0% { opacity: 0; } 100% { opacity: 1; } @@ -1208,18 +1219,104 @@ body.cheatin { box-shadow: 0 1px 3px rgba(0,0,0,0.13); } +body.cheatin h1 { + border-bottom: 1px solid #dadada; + clear: both; + color: #666; + font: 24px "Open Sans", sans-serif; + margin: 30px 0 0 0; + padding: 0; + padding-bottom: 7px; +} + body.cheatin p { font-size: 14px; line-height: 1.5; margin: 25px 0 20px; } +/** + * Widgets and Menus common styles + */ + +/* higher specificity than .wp-core-ui .button-secondary */ +#customize-theme-controls .add-new-widget, +#customize-theme-controls .add-new-menu-item { + cursor: pointer; + float: right; + margin-left: 10px; + -webkit-transition: all 0.2s; + transition: all 0.2s; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + outline: none; +} + +.reordering .add-new-widget, +.reordering .add-new-menu-item { + opacity: 0.2; + pointer-events: none; + cursor: not-allowed; /* doesn't work in conjunction with pointer-events */ +} + +.add-new-widget:before, +.add-new-menu-item:before { + content: "\f132"; + display: inline-block; + position: relative; + left: -2px; + top: -1px; + font: normal 20px/1 dashicons; + vertical-align: middle; + -webkit-transition: all 0.2s; + transition: all 0.2s; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +/* Reordering */ +.reorder-toggle { + float: right; + padding: 5px 8px; + text-decoration: none; + cursor: pointer; + outline: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.reorder-toggle:focus { + outline: 1px dotted; +} + +.reorder, +.reordering .reorder-done { + display: block; + padding: 5px 8px; +} + +.reorder-done, +.reordering .reorder { + display: none; + color: #0073aa; +} + +.reorder-toggle:hover .reorder-done, +.reorder-toggle:active .reorder-done, +.reorder-toggle:focus .reorder-done { + color: #00a0d2; +} + /* Responsive */ .customize-controls-preview-toggle { display: none; } -@media only screen and (max-width: 780px) { +@media only screen and (max-width: 782px) { .wp-customizer .theme:not(.active):hover .theme-actions, .wp-customizer .theme:not(.active):focus .theme-actions { display: block; @@ -1228,6 +1325,23 @@ body.cheatin p { .wp-customizer .theme-browser .theme.active .theme-name span { display: inline; } + + .customize-control-radio label, + .customize-control-checkbox label, + .customize-control-nav_menu_auto_add label { + margin-left: 32px; + } + + .customize-control-radio input, + .customize-control-checkbox input, + .customize-control-nav_menu_auto_add input { + margin-left: -32px; + } + + .customize-control input[type="radio"] + label, + .customize-control input[type="checkbox"] + label { + line-height: 32px; + } } @media screen and ( max-width: 640px ) { diff --git a/wp-admin/css/customize-controls.min.css b/wp-admin/css/customize-controls.min.css index 159987b..7e58fd1 100644 --- a/wp-admin/css/customize-controls.min.css +++ b/wp-admin/css/customize-controls.min.css @@ -1 +1 @@ -body{overflow:hidden;-webkit-text-size-adjust:100%}#customize-controls a{text-decoration:none}#customize-controls h3{font-size:14px}#customize-controls img{max-width:100%}#customize-controls .submit{text-align:center}#customize-controls .description{color:#555}#customize-header-actions .button-primary{float:right;margin-top:9px}#customize-header-actions .spinner{margin-top:13px;margin-right:4px}.saving #customize-header-actions .spinner{visibility:visible}#customize-header-actions{border-bottom:1px solid #ddd}#customize-controls .wp-full-overlay-sidebar-content{overflow-y:auto;overflow-x:hidden}#customize-controls .customize-info{border:none;border-top:1px solid #ddd;border-bottom:1px solid #ddd;margin-bottom:15px}#customize-controls .customize-info .accordion-section-title{background:#fff;color:#555;border-left:none;border-right:none;border-bottom:none;cursor:default}#customize-controls .customize-info .accordion-section-title:focus:after,#customize-controls .customize-info .accordion-section-title:hover:after,#customize-controls .customize-info.open .accordion-section-title:after{color:#333}#customize-controls .customize-info .accordion-section-title:after{display:none}#customize-controls .customize-info .preview-notice{font-size:13px;line-height:24px}#customize-controls .control-section .customize-section-title h3,#customize-controls .control-section h3.customize-section-title,#customize-controls .customize-info .panel-title{font-size:20px;font-weight:200;line-height:24px;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#customize-controls .customize-section-title span.customize-action{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#customize-controls .customize-info .customize-help-toggle{position:absolute;top:4px;right:1px;padding:20px 20px 10px 10px;width:20px;height:20px;cursor:pointer;-webkit-box-shadow:none;box-shadow:none;-webkit-appearance:none;background:0 0;color:#555;border:none}#customize-controls .customize-info .customize-help-toggle:before{position:absolute;top:5px;left:6px}#customize-controls .customize-info .customize-help-toggle:focus,#customize-controls .customize-info .customize-help-toggle:hover,#customize-controls .customize-info.open .customize-help-toggle{color:#0073aa}#customize-controls .customize-info .customize-panel-description{color:#555;display:none;background:#fff;padding:12px 15px;border-top:1px solid #ddd}#customize-controls .customize-info .customize-panel-description p:first-child{margin-top:0}#customize-controls .customize-info .customize-panel-description p:last-child{margin-bottom:0}#customize-controls .current-panel .control-section>h3.accordion-section-title{padding-right:30px}#customize-theme-controls .control-section{border:none}#customize-theme-controls .accordion-section-title{color:#555;background-color:#fff;border-bottom:1px solid #eee}#customize-theme-controls .accordion-section-title:after{content:"\f345"}#customize-theme-controls .accordion-section-content{color:#555;background:0 0;position:absolute;top:0;left:100%;width:100%;margin:0;padding:12px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#customize-controls .control-section .accordion-section-title:focus,#customize-controls .control-section .accordion-section-title:hover,#customize-controls .control-section.open .accordion-section-title,#customize-controls .control-section:hover>.accordion-section-title{color:#23282d;background:#f5f5f5}.js .control-section .accordion-section-title:focus,.js .control-section .accordion-section-title:hover,.js .control-section.open .accordion-section-title,.js .control-section:hover .accordion-section-title{background:#f5f5f5}#customize-theme-controls .control-section .accordion-section-title:focus:after,#customize-theme-controls .control-section .accordion-section-title:hover:after,#customize-theme-controls .control-section.open .accordion-section-title:after,#customize-theme-controls .control-section:hover>.accordion-section-title:after{color:#23282d}#customize-theme-controls .control-section.open{border-bottom:1px solid #eee}#customize-theme-controls .control-section.open .accordion-section-title{border-bottom-color:#eee!important}#customize-theme-controls .control-section:last-of-type.open,#customize-theme-controls .control-section:last-of-type>.accordion-section-title{border-bottom-color:#ddd}#customize-theme-controls>ul{margin:0}.customize-section-description-container{margin-bottom:15px}.customize-section-title{margin:-12px -12px 0;border-bottom:1px solid #ddd;background:#fff}div.customize-section-description{margin-top:22px}div.customize-section-description p:first-child{margin-top:0}div.customize-section-description p:last-child{margin-bottom:0}#customize-theme-controls .customize-themes-panel h3.customize-section-title:first-child{border-bottom:1px solid #ddd;padding:12px}.ios #customize-theme-controls .customize-themes-panel h3.customize-section-title:first-child{padding:12px 12px 13px}.customize-section-title h3,h3.customize-section-title{padding:10px 10px 12px 14px;margin:0;line-height:21px;color:#555}#customize-theme-controls{position:relative;left:0;-webkit-transition:.18s left ease-in-out;transition:.18s left ease-in-out}.ios #customize-theme-controls{-webkit-transition:left 0s;transition:left 0s}.section-open #customize-info,.section-open #customize-theme-controls{left:-100%}.accordion-sub-container.control-panel-content{display:none;position:absolute;left:300px;top:0;width:300px;-webkit-transition:left ease-in-out .18s;transition:left ease-in-out .18s}.ios .accordion-sub-container.control-panel-content{-webkit-transition:left 0s;transition:left 0s}.accordion-sub-container.control-panel-content.animating{display:block}.current-panel .accordion-sub-container.control-panel-content{width:100%}.customize-controls-close{display:block;position:absolute;top:0;left:0;width:45px;height:45px;padding:0 2px 0 0;background:#eee;border:none;border-right:1px solid #ddd;color:#444;text-align:left;cursor:pointer;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.customize-panel-back,.customize-section-back{display:block;float:left;width:48px;height:69px;padding:0 24px 0 0;margin:0;background:#fff;border:none;border-right:1px solid #ddd;-webkit-box-shadow:none;box-shadow:none;cursor:pointer;-webkit-transition:left .18s ease-in-out,color .1s ease-in-out,background .1s ease-in-out;transition:left .18s ease-in-out,color .1s ease-in-out,background .1s ease-in-out}.customize-section-back{height:70px}.ios .customize-panel-back,.ios .customize-section-back{-webkit-transition:left 0s;transition:left 0s}.ios .customize-panel-back{display:none}.ios .expanded.in-sub-panel .customize-panel-back{display:block}.panel-meta.customize-info .accordion-section-title{margin-left:48px}#customize-controls .panel-meta.customize-info .accordion-section-title:hover{background:#fff;color:#555}.customize-controls-close:focus,.customize-controls-close:hover,.customize-controls-preview-toggle:focus,.customize-controls-preview-toggle:hover{background:#ddd;border-color:#ccc;color:#000;outline:0;-webkit-box-shadow:none;box-shadow:none}.customize-panel-back:focus,.customize-panel-back:hover,.customize-section-back:focus,.customize-section-back:hover{color:#23282d;background:#f5f5f5;outline:0;-webkit-box-shadow:none;box-shadow:none}.customize-controls-close:before{font:400 22px/45px dashicons;content:"\f335";position:relative;top:1px;left:13px}.customize-panel-back:before,.customize-section-back:before{font:400 20px/69px dashicons;content:"\f341";position:relative;left:13px}.wp-full-overlay-sidebar .wp-full-overlay-header{-webkit-transition:padding ease-in-out .18s;transition:padding ease-in-out .18s}.in-sub-panel .wp-full-overlay-sidebar .wp-full-overlay-header{padding-left:62px}#customize-info,#customize-theme-controls>ul>.accordion-section{position:relative;left:0;-webkit-transition:left ease-in-out .18s;transition:left ease-in-out .18s}.ios #customize-info,.ios #customize-theme-controls>ul>.accordion-section{-webkit-transition:left 0s;transition:left 0s}.in-sub-panel #customize-info,.in-sub-panel #customize-theme-controls>ul>.accordion-section{left:-300px;width:300px}.in-sub-panel #customize-theme-controls .accordion-section.current-panel{width:100%}#customize-theme-controls .control-section.current-panel{padding:0}#customize-theme-controls .control-section>h3.accordion-section-title{position:relative;left:0}#customize-theme-controls .control-section.current-panel>h3.accordion-section-title{left:-354px;-webkit-transition:left ease-in-out .18s;transition:left ease-in-out .18s}.ios #customize-theme-controls .control-section.current-panel>h3.accordion-section-title{-webkit-transition:left 0s;transition:left 0s}.wp-full-overlay.section-open #customize-controls .wp-full-overlay-sidebar-content{visibility:hidden;overflow-y:hidden}.wp-full-overlay.section-open .wp-full-overlay-sidebar-content .accordion-section.open{visibility:visible}.wp-full-overlay.section-open .wp-full-overlay-sidebar-content .accordion-section.open .accordion-section-content{overflow-y:auto}p.customize-section-description{font-style:normal;margin-top:22px;margin-bottom:0}.customize-control{width:100%;float:left;clear:both;margin-bottom:12px}.customize-control input[type=radio],.customize-control input[type=checkbox],.customize-control select{line-height:28px}.customize-control input[type=tel],.customize-control input[type=url],.customize-control input[type=text],.customize-control input[type=password],.customize-control input[type=email],.customize-control input[type=number],.customize-control input[type=search]{width:98%;line-height:18px;margin:0}.customize-control-hidden{margin:0}.customize-control-checkbox input,.customize-control-radio input{margin-right:5px}.customize-control-textarea textarea{width:100%;resize:vertical}.customize-control select{min-width:50%;max-width:100%;height:28px;line-height:28px}.customize-control select[multiple]{height:auto}.customize-control-title{display:block;font-size:14px;line-height:24px;font-weight:600;margin-bottom:5px}.customize-control-description{display:block;font-style:italic;line-height:18px;margin-bottom:5px}.customize-control-checkbox label,.customize-control-color .color-picker,.customize-control-upload div{line-height:28px}.customize-control-radio{padding:5px 0 10px}.customize-control-radio .customize-control-title{margin-bottom:0;line-height:22px}.customize-control-radio .customize-control-title+.customize-control-description{margin-top:7px}.customize-control-radio label{line-height:32px}.customize-control .attachment-thumb.type-icon{float:left;margin:10px;width:auto}.customize-control .attachment-title{font-weight:700;margin:0;padding:5px 10px}.customize-control .attachment-meta{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0;padding:0 10px}.customize-control .attachment-meta-title{padding-top:7px}.customize-control .thumbnail-image{line-height:0}.customize-control .thumbnail-image img{cursor:pointer}#customize-controls .thumbnail-audio .thumbnail{max-width:64px;max-height:64px;margin:10px;float:left}#customize-preview iframe{width:100%;height:100%}.wp-full-overlay-sidebar{background:#eee;border-right:1px solid #ddd}.accordion-section .dropdown{float:left;display:block;position:relative;cursor:pointer}.accordion-section .dropdown-content{overflow:hidden;float:left;min-width:30px;height:16px;line-height:16px;margin-right:16px;padding:4px 5px;border:2px solid #eee;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.customize-control .dropdown-arrow{position:absolute;top:0;bottom:0;right:0;width:20px;background:#eee}.customize-control .dropdown-arrow:after{content:"\f140";font:400 20px/1 dashicons;speak:none;display:block;padding:0;text-indent:0;text-align:center;position:relative;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#32373c}.customize-control .dropdown-status{color:#32373c;background:#eee;display:none;max-width:112px}.customize-control-color .color-picker-hex{display:none}.customize-control-color.open .color-picker-hex,.customize-control-header button img{display:block}.customize-control-color .dropdown{margin-right:5px;margin-bottom:5px}.customize-control-color .dropdown .dropdown-content{background-color:#555;border:1px solid rgba(0,0,0,.15)}.customize-control-color .dropdown:hover .dropdown-content{border-color:rgba(0,0,0,.25)}.ios #customize-preview,.ios .wp-full-overlay{position:relative}.ios #customize-controls .wp-full-overlay-sidebar-content{-webkit-overflow-scrolling:touch}.customize-control-background .current,.customize-control-cropped_image .current,.customize-control-header .current,.customize-control-image .current,.customize-control-media .current,.customize-control-site_icon .current,.customize-control-upload .current{margin-bottom:8px}.customize-control-header .uploaded{margin-bottom:18px}.customize-control-header .default button:not(.random),.customize-control-header .uploaded button:not(.random){width:100%;padding:0;margin:0;background:0 0;border:none;color:inherit;cursor:pointer}.customize-control-background .default-button,.customize-control-background .remove-button,.customize-control-background .upload-button,.customize-control-cropped_image .default-button,.customize-control-cropped_image .remove-button,.customize-control-cropped_image .upload-button,.customize-control-header button.new,.customize-control-header button.remove,.customize-control-image .default-button,.customize-control-image .remove-button,.customize-control-image .upload-button,.customize-control-media .default-button,.customize-control-media .remove-button,.customize-control-media .upload-button,.customize-control-site_icon .default-button,.customize-control-site_icon .remove-button,.customize-control-site_icon .upload-button,.customize-control-upload .default-button,.customize-control-upload .remove-button,.customize-control-upload .upload-button{white-space:normal;width:48%;height:auto}.customize-control-background .current .container,.customize-control-cropped_image .current .container,.customize-control-header .current .container,.customize-control-image .current .container,.customize-control-media .current .container,.customize-control-site_icon .current .container,.customize-control-upload .current .container{overflow:hidden;border:1px solid #eee;-webkit-border-radius:2px;border-radius:2px}.customize-control-background .current .container,.customize-control-cropped_image .current .container,.customize-control-image .current .container,.customize-control-media .current .container,.customize-control-site_icon .current .container,.customize-control-upload .current .container{min-height:40px}.customize-control-background .placeholder,.customize-control-cropped_image .placeholder,.customize-control-header .placeholder,.customize-control-image .placeholder,.customize-control-media .placeholder,.customize-control-site_icon .placeholder,.customize-control-upload .placeholder{width:100%;position:relative;text-align:center;cursor:default}.customize-control-background .inner,.customize-control-cropped_image .inner,.customize-control-header .inner,.customize-control-image .inner,.customize-control-media .inner,.customize-control-site_icon .inner,.customize-control-upload .inner{display:none;position:absolute;width:100%;color:#555;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.customize-control-background .inner,.customize-control-cropped_image .inner,.customize-control-image .inner,.customize-control-media .inner,.customize-control-site_icon .inner,.customize-control-upload .inner{display:block;min-height:40px}.customize-control-background .inner,.customize-control-cropped_image .inner,.customize-control-header .inner,.customize-control-header .inner .dashicons,.customize-control-image .inner,.customize-control-media .inner,.customize-control-site_icon .inner,.customize-control-upload .inner{line-height:20px;top:10px}.customize-control-header .list .inner,.customize-control-header .list .inner .dashicons{top:9px}.customize-control-header .header-view{position:relative;width:100%;margin-bottom:5px}.customize-control-header .header-view:last-child{margin-bottom:0}.customize-control-header .header-view:after{border:0}.customize-control-header .header-view.selected:after{content:'';position:absolute;height:auto;top:0;left:0;bottom:0;right:0;border:4px solid #00a0d2;-webkit-border-radius:2px;border-radius:2px}.customize-control-header .header-view.button.selected{border:0}.customize-control-header .uploaded .header-view .close{font-size:20px;color:#fff;background:#555;background:rgba(0,0,0,.5);position:absolute;top:10px;right:-999px;z-index:1;width:26px;height:26px;cursor:pointer}.customize-control-header .header-view .close:focus,.customize-control-header .header-view:hover .close{right:10px}.customize-control-header .random.placeholder{cursor:pointer;-webkit-border-radius:2px;border-radius:2px;height:40px}.customize-control-header button.random{width:100%;height:auto;min-height:40px;white-space:normal}.customize-control-header button.random .dice{margin-top:4px}.customize-control-header .header-view:hover>button.random .dice,.customize-control-header .placeholder:hover .dice{-webkit-animation:dice-color-change 3s infinite;animation:dice-color-change 3s infinite}@-webkit-keyframes dice-color-change{0%,100%{color:#d4b146}50%{color:#ef54b0}75%{color:#7190d3}}@keyframes dice-color-change{0%,100%{color:#d4b146}50%{color:#ef54b0}75%{color:#7190d3}}.customize-control-background .actions,.customize-control-cropped_image .actions,.customize-control-header .actions,.customize-control-image .actions,.customize-control-media .actions,.customize-control-site_icon .actions,.customize-control-upload .actions{margin-bottom:32px}.customize-control-header .choice{position:relative;display:block;margin-bottom:9px}.customize-control-header .uploaded div:last-child>.choice{margin-bottom:0}.customize-control-background img,.customize-control-cropped_image img,.customize-control-header img,.customize-control-image img,.customize-control-media img,.customize-control-site_icon img,.customize-control-upload img{width:100%;-webkit-border-radius:2px;border-radius:2px}.customize-control-background .default-button,.customize-control-background .remove-button,.customize-control-cropped_image .default-button,.customize-control-cropped_image .remove-button,.customize-control-header .remove,.customize-control-image .default-button,.customize-control-image .remove-button,.customize-control-media .default-button,.customize-control-media .remove-button,.customize-control-site_icon .default-button,.customize-control-site_icon .remove-button,.customize-control-upload .default-button,.customize-control-upload .remove-button{float:left;margin-right:3px}.customize-control-background .upload-button,.customize-control-cropped_image .upload-button,.customize-control-header .new,.customize-control-image .upload-button,.customize-control-media .upload-button,.customize-control-site_icon .upload-button,.customize-control-upload .upload-button{float:right}@-webkit-keyframes customize-reload{0%{opacity:0}100%{opacity:1}}@keyframes customize-reload{0%{opacity:0}100%{opacity:1}}.wp-customizer .customize-loading #customize-container{display:block;-webkit-animation:customize-reload .75s;animation:customize-reload .75s}.control-section-themes .accordion-section-title{cursor:default;margin:15px 0;padding-right:100px}#customize-theme-controls .control-section-themes .accordion-section-title:focus,#customize-theme-controls .control-section-themes .accordion-section-title:hover{color:#555;background-color:#fff}.customize-themes-panel .accordion-section-title{margin:15px -8px}#customize-controls .customize-section-title span.customize-action,.control-section-themes .accordion-section-title span.customize-action{font-size:13px;display:block;font-weight:400}.control-section-themes .accordion-section-title .change-theme,.control-section-themes .accordion-section-title .customize-theme{position:absolute;right:10px;top:50%;margin-top:-14px;font-weight:400}.control-section-themes .accordion-section-title:before{display:none}.customize-themes-panel{display:none;padding:0 8px;background:#f1f1f1;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.customize-themes-panel .accordion-section-title:first-child{margin-top:0}#customize-controls .customize-themes-panel .accordion-section-title:nth-child(2){font-size:14px;font-weight:600}.customize-themes-panel>h2{padding:15px 8px 0}.control-section.open .customize-themes-panel{display:block}#customize-theme-controls .customize-themes-panel .accordion-section-content{background:0 0;display:block}#accordion-section-themes .accordion-section-title:after,.customize-controls-preview-toggle,.wp-customizer .theme-overlay{display:none}.customize-control.customize-control-theme{margin-bottom:8px}#customize-theme-controls .themes.accordion-section-content{position:relative;left:0;padding:0;width:100%}.wp-customizer .theme-browser .themes{padding-bottom:8px}.wp-customizer .theme-browser .theme{margin:0;width:100%}.wp-customizer .theme-browser .theme .theme-actions{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";opacity:1}#customize-controls h3.theme-name{font-size:15px}#customize-controls .theme-overlay .theme-name{font-size:32px}.wp-customizer #themes-filter{font-size:16px;font-weight:300;line-height:1.5;width:100%}#customize-theme-controls .control-section-themes.current-panel>h3.accordion-section-title{left:0}.customize-themes-panel.control-panel-content{position:absolute;left:-100%;top:0;width:100%;border-top:1px solid #ddd}.in-themes-panel #customize-info,.in-themes-panel #customize-theme-controls>ul>.accordion-section{left:100%}.wp-customizer.modal-open .theme-overlay{position:fixed;left:0;top:0;right:0;bottom:0;z-index:109}.wp-customizer .theme-overlay .theme-backdrop{background:rgba(238,238,238,.75);position:fixed;z-index:110}.wp-customizer .theme-overlay .theme-wrap{left:90px;right:90px;top:45px;bottom:45px;z-index:120;max-width:1740px}.wp-customizer .theme-overlay .theme-actions{text-align:right}.modal-open .in-themes-panel #customize-controls .wp-full-overlay-sidebar-content{overflow:visible}.ie8 .wp-customizer .theme-overlay .theme-about,.ie8 .wp-customizer .theme-overlay .theme-actions,.ie8 .wp-customizer .theme-overlay .theme-header{position:static}@media (max-width:850px),(max-height:472px){.wp-customizer .theme-overlay .theme-wrap{left:0;right:0;top:0;bottom:0}}body.cheatin{font-size:medium;height:auto;background:#fff;margin:50px auto 2em;padding:1em 2em;max-width:700px;min-width:0;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.13);box-shadow:0 1px 3px rgba(0,0,0,.13)}body.cheatin p{font-size:14px;line-height:1.5;margin:25px 0 20px}@media only screen and (max-width:780px){.wp-customizer .theme:not(.active):focus .theme-actions,.wp-customizer .theme:not(.active):hover .theme-actions{display:block}.wp-customizer .theme-browser .theme.active .theme-name span{display:inline}}@media screen and (max-width:640px){#customize-controls{width:100%}.wp-full-overlay.expanded{margin-left:0}.wp-full-overlay-sidebar .wp-full-overlay-sidebar-content{bottom:0}.customize-controls-preview-toggle{display:block;position:absolute;top:0;left:48px;line-height:45px;font-size:14px;padding:0 12px;margin:0;height:45px;background:#eee;border-right:1px solid #ddd;color:#444;cursor:pointer;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out}#customize-footer-actions,#customize-preview,.customize-controls-preview-toggle .controls,.preview-only .customize-controls-preview-toggle .preview,.preview-only .wp-full-overlay-sidebar-content{display:none}.customize-controls-preview-toggle .controls:before,.customize-controls-preview-toggle .preview:before{font:400 20px/1 dashicons;content:"\f177";position:relative;top:4px;margin-right:6px}.customize-controls-preview-toggle .controls:before{content:"\f540"}.preview-only #customize-controls{height:45px}.preview-only #customize-preview,.preview-only .customize-controls-preview-toggle .controls{display:block}#customize-preview{top:45px;bottom:0;height:auto}.wp-core-ui.wp-customizer .button{padding:6px 14px;line-height:normal;font-size:14px;vertical-align:middle;height:auto;margin-bottom:4px}#customize-header-actions .button-primary{margin-top:6px}} \ No newline at end of file +body{overflow:hidden;-webkit-text-size-adjust:100%}#customize-controls a{text-decoration:none}#customize-controls h3{font-size:14px}#customize-controls img{max-width:100%}#customize-controls .submit{text-align:center}#customize-controls .description{color:#555}#customize-header-actions .button-primary{float:right;margin-top:9px}#customize-header-actions .spinner{margin-top:13px;margin-right:4px}.saving #customize-header-actions .spinner{visibility:visible}#customize-header-actions{border-bottom:1px solid #ddd}#customize-controls .wp-full-overlay-sidebar-content{overflow-y:auto;overflow-x:hidden}#customize-controls .customize-info{border:none;border-top:1px solid #ddd;border-bottom:1px solid #ddd;margin-bottom:15px}#customize-controls .customize-info .accordion-section-title{background:#fff;color:#555;border-left:none;border-right:none;border-bottom:none;cursor:default}#customize-controls .customize-info .accordion-section-title:focus:after,#customize-controls .customize-info .accordion-section-title:hover:after,#customize-controls .customize-info.open .accordion-section-title:after{color:#333}#customize-controls .customize-info .accordion-section-title:after{display:none}#customize-controls .customize-info .preview-notice{font-size:13px;line-height:24px}#customize-controls .control-section .customize-section-title h3,#customize-controls .control-section h3.customize-section-title,#customize-controls .customize-info .panel-title{font-size:20px;font-weight:200;line-height:26px;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#customize-controls .customize-section-title span.customize-action{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#customize-controls .customize-info .customize-help-toggle{position:absolute;top:4px;right:1px;padding:20px 20px 10px 10px;width:20px;height:20px;cursor:pointer;-webkit-box-shadow:none;box-shadow:none;-webkit-appearance:none;background:0 0;color:#555;border:none}#customize-controls .customize-info .customize-help-toggle:before{position:absolute;top:5px;left:6px}#customize-controls .customize-info .customize-help-toggle:focus,#customize-controls .customize-info .customize-help-toggle:hover,#customize-controls .customize-info.open .customize-help-toggle{color:#0073aa}#customize-controls .customize-info .customize-panel-description,#customize-controls .no-widget-areas-rendered-notice{color:#555;display:none;background:#fff;padding:12px 15px;border-top:1px solid #ddd}#customize-controls .customize-info .customize-panel-description.open+.no-widget-areas-rendered-notice{border-top:none}#customize-controls .customize-info .customize-panel-description p:first-child{margin-top:0}#customize-controls .customize-info .customize-panel-description p:last-child{margin-bottom:0}#customize-controls .current-panel .control-section>h3.accordion-section-title{padding-right:30px}#customize-theme-controls .control-section{border:none}#customize-theme-controls .accordion-section-title{color:#555;background-color:#fff;border-bottom:1px solid #eee}#customize-theme-controls .accordion-section-title:after{content:"\f345"}#customize-theme-controls .accordion-section-content{color:#555;background:0 0;position:absolute;top:0;left:100%;width:100%;margin:0;padding:12px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#customize-controls .control-section .accordion-section-title:focus,#customize-controls .control-section .accordion-section-title:hover,#customize-controls .control-section.open .accordion-section-title,#customize-controls .control-section:hover>.accordion-section-title{color:#23282d;background:#f5f5f5}.js .control-section .accordion-section-title:focus,.js .control-section .accordion-section-title:hover,.js .control-section.open .accordion-section-title,.js .control-section:hover .accordion-section-title{background:#f5f5f5}#customize-theme-controls .control-section .accordion-section-title:focus:after,#customize-theme-controls .control-section .accordion-section-title:hover:after,#customize-theme-controls .control-section.open .accordion-section-title:after,#customize-theme-controls .control-section:hover>.accordion-section-title:after{color:#23282d}#customize-theme-controls .control-section.open{border-bottom:1px solid #eee}#customize-theme-controls .control-section.open .accordion-section-title{border-bottom-color:#eee!important}#customize-theme-controls .control-section:last-of-type.open,#customize-theme-controls .control-section:last-of-type>.accordion-section-title{border-bottom-color:#ddd}#customize-theme-controls>ul{margin:0}.customize-section-description-container{margin-bottom:15px}.customize-section-title{margin:-12px -12px 0;border-bottom:1px solid #ddd;background:#fff}div.customize-section-description{margin-top:22px}div.customize-section-description p:first-child{margin-top:0}div.customize-section-description p:last-child{margin-bottom:0}#customize-theme-controls .customize-themes-panel h3.customize-section-title:first-child{border-bottom:1px solid #ddd;padding:12px}.ios #customize-theme-controls .customize-themes-panel h3.customize-section-title:first-child{padding:12px 12px 13px}.customize-section-title h3,h3.customize-section-title{padding:10px 10px 12px 14px;margin:0;line-height:21px;color:#555}#customize-theme-controls{position:relative;left:0;-webkit-transition:.18s left ease-in-out;transition:.18s left ease-in-out}.ios #customize-theme-controls{-webkit-transition:left 0s;transition:left 0s}.section-open #customize-info,.section-open #customize-theme-controls{left:-100%}.accordion-sub-container.control-panel-content{display:none;position:absolute;left:300px;top:0;width:300px;-webkit-transition:left ease-in-out .18s;transition:left ease-in-out .18s}.ios .accordion-sub-container.control-panel-content{-webkit-transition:left 0s;transition:left 0s}.accordion-sub-container.control-panel-content.animating{display:block}.current-panel .accordion-sub-container.control-panel-content{width:100%}.customize-controls-close{display:block;position:absolute;top:0;left:0;width:45px;height:45px;padding:0 2px 0 0;background:#eee;border:none;border-right:1px solid #ddd;color:#444;text-align:left;cursor:pointer;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.customize-panel-back,.customize-section-back{display:block;float:left;width:48px;height:71px;padding:0 24px 0 0;margin:0;background:#fff;border:none;border-right:1px solid #ddd;-webkit-box-shadow:none;box-shadow:none;cursor:pointer;-webkit-transition:left .18s ease-in-out,color .1s ease-in-out,background .1s ease-in-out;transition:left .18s ease-in-out,color .1s ease-in-out,background .1s ease-in-out}.customize-section-back{height:74px}.ios .customize-panel-back,.ios .customize-section-back{-webkit-transition:left 0s;transition:left 0s}.ios .customize-panel-back{display:none}.ios .expanded.in-sub-panel .customize-panel-back{display:block}.panel-meta.customize-info .accordion-section-title{margin-left:48px}#customize-controls .panel-meta.customize-info .accordion-section-title:hover{background:#fff;color:#555}.customize-controls-close:focus,.customize-controls-close:hover,.customize-controls-preview-toggle:focus,.customize-controls-preview-toggle:hover{background:#ddd;border-color:#ccc;color:#000;outline:0;-webkit-box-shadow:none;box-shadow:none}.customize-panel-back:focus,.customize-panel-back:hover,.customize-section-back:focus,.customize-section-back:hover{color:#23282d;background:#f5f5f5;outline:0;-webkit-box-shadow:none;box-shadow:none}.customize-controls-close:before{font:400 22px/45px dashicons;content:"\f335";position:relative;top:1px;left:13px}.customize-panel-back:before,.customize-section-back:before{font:400 20px/72px dashicons;content:"\f341";position:relative;left:13px}.wp-full-overlay-sidebar .wp-full-overlay-header{-webkit-transition:padding ease-in-out .18s;transition:padding ease-in-out .18s}.in-sub-panel .wp-full-overlay-sidebar .wp-full-overlay-header{padding-left:62px}#customize-info,#customize-theme-controls>ul>.accordion-section{position:relative;left:0;-webkit-transition:left ease-in-out .18s;transition:left ease-in-out .18s}.ios #customize-info,.ios #customize-theme-controls>ul>.accordion-section{-webkit-transition:left 0s;transition:left 0s}.in-sub-panel #customize-info,.in-sub-panel #customize-theme-controls>ul>.accordion-section{left:-300px;width:300px}.in-sub-panel #customize-theme-controls .accordion-section.current-panel{width:100%}#customize-theme-controls .control-section.current-panel{padding:0}#customize-theme-controls .control-section>h3.accordion-section-title{position:relative;left:0}#customize-theme-controls .control-section.current-panel>h3.accordion-section-title{left:-354px;-webkit-transition:left ease-in-out .18s;transition:left ease-in-out .18s}.ios #customize-theme-controls .control-section.current-panel>h3.accordion-section-title{-webkit-transition:left 0s;transition:left 0s}.wp-full-overlay.section-open #customize-controls .wp-full-overlay-sidebar-content{visibility:hidden;overflow-y:hidden}.wp-full-overlay.section-open .wp-full-overlay-sidebar-content .accordion-section.open{visibility:visible}.wp-full-overlay.section-open .wp-full-overlay-sidebar-content .accordion-section.open .accordion-section-content{overflow-y:auto}p.customize-section-description{font-style:normal;margin-top:22px;margin-bottom:0}.customize-control{width:100%;float:left;clear:both;margin-bottom:12px}.customize-control input[type=radio],.customize-control input[type=checkbox],.customize-control select{line-height:28px}.customize-control input[type=tel],.customize-control input[type=url],.customize-control input[type=text],.customize-control input[type=password],.customize-control input[type=email],.customize-control input[type=number],.customize-control input[type=search]{width:98%;line-height:18px;margin:0}.customize-control-hidden{margin:0}.customize-control-textarea textarea{width:100%;resize:vertical}.customize-control select{min-width:50%;max-width:100%;height:28px;line-height:28px}.customize-control select[multiple]{height:auto}.customize-control-title{display:block;font-size:14px;line-height:24px;font-weight:600;margin-bottom:5px}.customize-control-description{display:block;font-style:italic;line-height:18px;margin-bottom:5px}.customize-control-color .color-picker,.customize-control-upload div{line-height:28px}.customize-control-checkbox label,.customize-control-nav_menu_auto_add label,.customize-control-radio label{line-height:20px;display:block;margin-left:24px;padding-top:6px;padding-bottom:6px}.customize-control-checkbox input,.customize-control-nav_menu_auto_add input,.customize-control-radio input{margin-right:4px;margin-left:-24px}.customize-control-radio{padding:5px 0 10px}.customize-control-radio .customize-control-title{margin-bottom:0;line-height:22px}.customize-control-radio .customize-control-title+.customize-control-description{margin-top:7px}.customize-control .attachment-thumb.type-icon{float:left;margin:10px;width:auto}.customize-control .attachment-title{font-weight:700;margin:0;padding:5px 10px}.customize-control .attachment-meta{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0;padding:0 10px}.customize-control .attachment-meta-title{padding-top:7px}.customize-control .thumbnail-image{line-height:0}.customize-control .thumbnail-image img{cursor:pointer}#customize-controls .thumbnail-audio .thumbnail{max-width:64px;max-height:64px;margin:10px;float:left}#customize-preview iframe{width:100%;height:100%}.wp-full-overlay-sidebar{background:#eee;border-right:1px solid #ddd}.accordion-section .dropdown{float:left;display:block;position:relative;cursor:pointer}.accordion-section .dropdown-content{overflow:hidden;float:left;min-width:30px;height:16px;line-height:16px;margin-right:16px;padding:4px 5px;border:2px solid #eee;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.customize-control .dropdown-arrow{position:absolute;top:0;bottom:0;right:0;width:20px;background:#eee}.customize-control .dropdown-arrow:after{content:"\f140";font:400 20px/1 dashicons;speak:none;display:block;padding:0;text-indent:0;text-align:center;position:relative;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#32373c}.customize-control .dropdown-status{color:#32373c;background:#eee;display:none;max-width:112px}.customize-control-color .color-picker-hex{display:none}.customize-control-color.open .color-picker-hex,.customize-control-header button img{display:block}.customize-control-color .dropdown{margin-right:5px;margin-bottom:5px}.customize-control-color .dropdown .dropdown-content{background-color:#555;border:1px solid rgba(0,0,0,.15)}.customize-control-color .dropdown:hover .dropdown-content{border-color:rgba(0,0,0,.25)}.ios #customize-preview,.ios .wp-full-overlay{position:relative}.ios #customize-controls .wp-full-overlay-sidebar-content{-webkit-overflow-scrolling:touch}.customize-control-background .current,.customize-control-cropped_image .current,.customize-control-header .current,.customize-control-image .current,.customize-control-media .current,.customize-control-site_icon .current,.customize-control-upload .current{margin-bottom:8px}.customize-control-header .uploaded{margin-bottom:18px}.customize-control-header .default button:not(.random),.customize-control-header .uploaded button:not(.random){width:100%;padding:0;margin:0;background:0 0;border:none;color:inherit;cursor:pointer}.customize-control-background .default-button,.customize-control-background .remove-button,.customize-control-background .upload-button,.customize-control-cropped_image .default-button,.customize-control-cropped_image .remove-button,.customize-control-cropped_image .upload-button,.customize-control-header button.new,.customize-control-header button.remove,.customize-control-image .default-button,.customize-control-image .remove-button,.customize-control-image .upload-button,.customize-control-media .default-button,.customize-control-media .remove-button,.customize-control-media .upload-button,.customize-control-site_icon .default-button,.customize-control-site_icon .remove-button,.customize-control-site_icon .upload-button,.customize-control-upload .default-button,.customize-control-upload .remove-button,.customize-control-upload .upload-button{white-space:normal;width:48%;height:auto}.customize-control-background .current .container,.customize-control-cropped_image .current .container,.customize-control-header .current .container,.customize-control-image .current .container,.customize-control-media .current .container,.customize-control-site_icon .current .container,.customize-control-upload .current .container{overflow:hidden;border:1px solid #eee;-webkit-border-radius:2px;border-radius:2px}.customize-control-background .current .container,.customize-control-cropped_image .current .container,.customize-control-image .current .container,.customize-control-media .current .container,.customize-control-site_icon .current .container,.customize-control-upload .current .container{min-height:40px}.customize-control-background .placeholder,.customize-control-cropped_image .placeholder,.customize-control-header .placeholder,.customize-control-image .placeholder,.customize-control-media .placeholder,.customize-control-site_icon .placeholder,.customize-control-upload .placeholder{width:100%;position:relative;text-align:center;cursor:default}.customize-control-background .inner,.customize-control-cropped_image .inner,.customize-control-header .inner,.customize-control-image .inner,.customize-control-media .inner,.customize-control-site_icon .inner,.customize-control-upload .inner{display:none;position:absolute;width:100%;color:#555;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.customize-control-background .inner,.customize-control-cropped_image .inner,.customize-control-image .inner,.customize-control-media .inner,.customize-control-site_icon .inner,.customize-control-upload .inner{display:block;min-height:40px}.customize-control-background .inner,.customize-control-cropped_image .inner,.customize-control-header .inner,.customize-control-header .inner .dashicons,.customize-control-image .inner,.customize-control-media .inner,.customize-control-site_icon .inner,.customize-control-upload .inner{line-height:20px;top:10px}.customize-control-header .list .inner,.customize-control-header .list .inner .dashicons{top:9px}.customize-control-header .header-view{position:relative;width:100%;margin-bottom:5px}.customize-control-header .header-view:last-child{margin-bottom:0}.customize-control-header .header-view:after{border:0}.customize-control-header .header-view.selected:after{content:'';position:absolute;height:auto;top:0;left:0;bottom:0;right:0;border:4px solid #00a0d2;-webkit-border-radius:2px;border-radius:2px}.customize-control-header .header-view.button.selected{border:0}.customize-control-header .uploaded .header-view .close{font-size:20px;color:#fff;background:#555;background:rgba(0,0,0,.5);position:absolute;top:10px;right:-999px;z-index:1;width:26px;height:26px;cursor:pointer}.customize-control-header .header-view .close:focus,.customize-control-header .header-view:hover .close{right:10px}.customize-control-header .random.placeholder{cursor:pointer;-webkit-border-radius:2px;border-radius:2px;height:40px}.customize-control-header button.random{width:100%;height:auto;min-height:40px;white-space:normal}.customize-control-header button.random .dice{margin-top:4px}.customize-control-header .header-view:hover>button.random .dice,.customize-control-header .placeholder:hover .dice{-webkit-animation:dice-color-change 3s infinite;animation:dice-color-change 3s infinite}@-webkit-keyframes dice-color-change{0%,100%{color:#d4b146}50%{color:#ef54b0}75%{color:#7190d3}}@keyframes dice-color-change{0%,100%{color:#d4b146}50%{color:#ef54b0}75%{color:#7190d3}}.customize-control-background .actions,.customize-control-cropped_image .actions,.customize-control-header .actions,.customize-control-image .actions,.customize-control-media .actions,.customize-control-site_icon .actions,.customize-control-upload .actions{margin-bottom:32px}.customize-control-header .choice{position:relative;display:block;margin-bottom:9px}.customize-control-header .uploaded div:last-child>.choice{margin-bottom:0}.customize-control-background img,.customize-control-cropped_image img,.customize-control-header img,.customize-control-image img,.customize-control-media img,.customize-control-site_icon img,.customize-control-upload img{width:100%;-webkit-border-radius:2px;border-radius:2px}.customize-control-background .default-button,.customize-control-background .remove-button,.customize-control-cropped_image .default-button,.customize-control-cropped_image .remove-button,.customize-control-header .remove,.customize-control-image .default-button,.customize-control-image .remove-button,.customize-control-media .default-button,.customize-control-media .remove-button,.customize-control-site_icon .default-button,.customize-control-site_icon .remove-button,.customize-control-upload .default-button,.customize-control-upload .remove-button{float:left;margin-right:3px}.customize-control-background .upload-button,.customize-control-cropped_image .upload-button,.customize-control-header .new,.customize-control-image .upload-button,.customize-control-media .upload-button,.customize-control-site_icon .upload-button,.customize-control-upload .upload-button{float:right}@-webkit-keyframes customize-reload{0%{opacity:0}100%{opacity:1}}@keyframes customize-reload{0%{opacity:0}100%{opacity:1}}.wp-customizer .customize-loading #customize-container{display:block;-webkit-animation:customize-reload .75s;animation:customize-reload .75s}.control-section-themes .accordion-section-title{cursor:default;margin:15px 0;padding-right:100px}#customize-theme-controls .control-section-themes .accordion-section-title:focus,#customize-theme-controls .control-section-themes .accordion-section-title:hover{color:#555;background-color:#fff}.customize-themes-panel .accordion-section-title{margin:15px -8px}#customize-controls .customize-section-title span.customize-action,.control-section-themes .accordion-section-title span.customize-action{font-size:13px;display:block;font-weight:400}.control-section-themes .accordion-section-title .change-theme,.control-section-themes .accordion-section-title .customize-theme{position:absolute;right:10px;top:50%;margin-top:-14px;font-weight:400}.control-section-themes .accordion-section-title:before{display:none}.customize-themes-panel{display:none;padding:0 8px;background:#f1f1f1;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.customize-themes-panel .accordion-section-title:first-child{margin-top:0}#customize-controls .customize-themes-panel .accordion-section-title:nth-child(2){font-size:14px;font-weight:600}.customize-themes-panel>h2{padding:15px 8px 0}.control-section.open .customize-themes-panel{display:block}#customize-theme-controls .customize-themes-panel .accordion-section-content{background:0 0;display:block}.customize-control.customize-control-theme{margin-bottom:8px}#customize-theme-controls .themes.accordion-section-content{position:relative;left:0;padding:0;width:100%}.wp-customizer .theme-browser .themes{padding-bottom:8px}.wp-customizer .theme-browser .theme{margin:0;width:100%}.wp-customizer .theme-browser .theme .theme-actions{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";opacity:1}#customize-controls h3.theme-name{font-size:15px}#customize-controls .theme-overlay .theme-name{font-size:32px}.wp-customizer #themes-filter{font-size:16px;font-weight:300;line-height:1.5;width:100%}#accordion-section-themes .accordion-section-title:after{display:none}#customize-theme-controls .control-section-themes.current-panel>h3.accordion-section-title{left:0}.customize-themes-panel.control-panel-content{position:absolute;left:-100%;top:0;width:100%;border-top:1px solid #ddd}.in-themes-panel #customize-info,.in-themes-panel #customize-theme-controls>ul>.accordion-section{left:100%}.wp-customizer .theme-overlay{display:none}.wp-customizer.modal-open .theme-overlay{position:fixed;left:0;top:0;right:0;bottom:0;z-index:109}.wp-customizer .theme-overlay .theme-backdrop{background:rgba(238,238,238,.75);position:fixed;z-index:110}.wp-customizer .theme-overlay .theme-wrap{left:90px;right:90px;top:45px;bottom:45px;z-index:120;max-width:1740px}.wp-customizer .theme-overlay .theme-actions{text-align:right}.modal-open .in-themes-panel #customize-controls .wp-full-overlay-sidebar-content{overflow:visible}.ie8 .wp-customizer .theme-overlay .theme-about,.ie8 .wp-customizer .theme-overlay .theme-actions,.ie8 .wp-customizer .theme-overlay .theme-header{position:static}@media (max-width:850px),(max-height:472px){.wp-customizer .theme-overlay .theme-wrap{left:0;right:0;top:0;bottom:0}}body.cheatin{font-size:medium;height:auto;background:#fff;margin:50px auto 2em;padding:1em 2em;max-width:700px;min-width:0;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.13);box-shadow:0 1px 3px rgba(0,0,0,.13)}body.cheatin h1{border-bottom:1px solid #dadada;clear:both;color:#666;font:24px "Open Sans",sans-serif;margin:30px 0 0;padding:0 0 7px}body.cheatin p{font-size:14px;line-height:1.5;margin:25px 0 20px}#customize-theme-controls .add-new-menu-item,#customize-theme-controls .add-new-widget{cursor:pointer;float:right;margin-left:10px;-webkit-transition:all .2s;transition:all .2s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:0}.reordering .add-new-menu-item,.reordering .add-new-widget{opacity:.2;pointer-events:none;cursor:not-allowed}.add-new-menu-item:before,.add-new-widget:before{content:"\f132";display:inline-block;position:relative;left:-2px;top:-1px;font:400 20px/1 dashicons;vertical-align:middle;-webkit-transition:all .2s;transition:all .2s;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.reorder-toggle{float:right;padding:5px 8px;text-decoration:none;cursor:pointer;outline:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.reorder-toggle:focus{outline:dotted 1px}.reorder,.reordering .reorder-done{display:block;padding:5px 8px}.reorder-done,.reordering .reorder{display:none;color:#0073aa}.reorder-toggle:active .reorder-done,.reorder-toggle:focus .reorder-done,.reorder-toggle:hover .reorder-done{color:#00a0d2}.customize-controls-preview-toggle{display:none}@media only screen and (max-width:782px){.wp-customizer .theme:not(.active):focus .theme-actions,.wp-customizer .theme:not(.active):hover .theme-actions{display:block}.wp-customizer .theme-browser .theme.active .theme-name span{display:inline}.customize-control-checkbox label,.customize-control-nav_menu_auto_add label,.customize-control-radio label{margin-left:32px}.customize-control-checkbox input,.customize-control-nav_menu_auto_add input,.customize-control-radio input{margin-left:-32px}.customize-control input[type=radio]+label,.customize-control input[type=checkbox]+label{line-height:32px}}@media screen and (max-width:640px){#customize-controls{width:100%}.wp-full-overlay.expanded{margin-left:0}.wp-full-overlay-sidebar .wp-full-overlay-sidebar-content{bottom:0}.customize-controls-preview-toggle{display:block;position:absolute;top:0;left:48px;line-height:45px;font-size:14px;padding:0 12px;margin:0;height:45px;background:#eee;border-right:1px solid #ddd;color:#444;cursor:pointer;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out}#customize-footer-actions,#customize-preview,.customize-controls-preview-toggle .controls,.preview-only .customize-controls-preview-toggle .preview,.preview-only .wp-full-overlay-sidebar-content{display:none}.customize-controls-preview-toggle .controls:before,.customize-controls-preview-toggle .preview:before{font:400 20px/1 dashicons;content:"\f177";position:relative;top:4px;margin-right:6px}.customize-controls-preview-toggle .controls:before{content:"\f540"}.preview-only #customize-controls{height:45px}.preview-only #customize-preview,.preview-only .customize-controls-preview-toggle .controls{display:block}#customize-preview{top:45px;bottom:0;height:auto}.wp-core-ui.wp-customizer .button{padding:6px 14px;line-height:normal;font-size:14px;vertical-align:middle;height:auto;margin-bottom:4px}#customize-header-actions .button-primary{margin-top:6px}} \ No newline at end of file diff --git a/wp-admin/css/customize-nav-menus-rtl.css b/wp-admin/css/customize-nav-menus-rtl.css index 726a161..fe27a1b 100644 --- a/wp-admin/css/customize-nav-menus-rtl.css +++ b/wp-admin/css/customize-nav-menus-rtl.css @@ -90,17 +90,9 @@ box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8); } -/* Menu-item reordering nav. */ -.customize-control-nav_menu .reordering .reorder, -.customize-control-nav_menu .reorder-done { - display: none; -} - -.customize-control-nav_menu .reorder, -.customize-control-nav_menu .reordering .reorder-done { - display: inline-block; - padding: 5px 8px; -} +/** + * Menu items reordering styles + */ .menu-item-reorder-nav { display: none; @@ -110,12 +102,6 @@ left: 0; } -.customize-control-nav_menu .reordering .add-new-menu-item { - opacity: 0.2; - pointer-events: none; - cursor: not-allowed; -} - .menu-item-reorder-nav button { position: relative; overflow: hidden; @@ -154,19 +140,19 @@ } .menus-move-down:before { - content: '\f347'; + content: "\f347"; } .menus-move-up:before { - content: '\f343'; + content: "\f343"; } .menus-move-left:before { - content: '\f341'; + content: "\f345"; } .menus-move-right:before { - content: '\f345'; + content: "\f341"; } .move-up-disabled .menus-move-up, @@ -186,10 +172,9 @@ right: -10px; width: 10px; height: 40px; - background: -webkit-linear-gradient(right, rgba(250,250,250,0) 0%,rgba(250,250,250,1) 100%); background: -webkit-gradient(linear, right top, left top, from(rgba(250,250,250,0)), to(rgba(250,250,250,1))); background: -webkit-linear-gradient(right, rgba(250,250,250,0) 0%, rgba(250,250,250,1) 100%); - background: linear-gradient(to left, rgba(250,250,250,0) 0%,rgba(250,250,250,1) 100%); + background: linear-gradient(to left, rgba(250,250,250,0) 0%, rgba(250,250,250,1) 100%); } .reordering .menu-item .item-controls, @@ -214,37 +199,15 @@ width: 30px; height: 38px; margin-left: 0 !important; + -webkit-box-shadow: none; + box-shadow: none; outline: none; overflow: hidden; cursor: pointer; } -.customize-control-nav_menu_item .item-edit:focus { - color: #0073aa; - -webkit-box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8); - box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8); -} - -/* rework the arrow indicator implementation for NVDA bug same as #32715 */ -.wp-customizer .menu-item .item-edit .toggle-indicator { - display: inline-block; - font-size: 20px; - line-height: 1; -} - -.wp-customizer .menu-item .item-edit .toggle-indicator:after { - content: '\f140'; - font: normal 20px/1 dashicons; - color: #a0a5aa; - vertical-align: top; - speak: none; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none !important; -} - .wp-customizer .menu-item.menu-item-edit-active .item-edit .toggle-indicator:after { - content: '\f142'; + content: "\f142"; } .wp-customizer .menu-item-settings p.description { @@ -327,7 +290,7 @@ border: none; content: "\f111"; display: block; - font: 18px/1 "dashicons"; + font: 18px/1 dashicons; padding: 5px; text-align: center; text-decoration: none !important; @@ -349,7 +312,7 @@ display: none; background: #fff; border-top: 1px solid #ddd; - padding: 4px 15px 0; + padding: 4px 15px 15px; } .wp-customizer .metabox-prefs label { @@ -358,6 +321,40 @@ line-height: 30px; } +/* rework the arrow indicator implementation for NVDA bug same as #32715 */ +.wp-customizer .toggle-indicator { + display: inline-block; + font-size: 20px; + line-height: 1; + text-indent: -1px; /* account for the dashicon alignment */ +} + +.rtl .wp-customizer .toggle-indicator { + text-indent: 1px; /* account for the dashicon alignment */ +} + +.wp-customizer .toggle-indicator:after { + content: "\f140"; + speak: none; + vertical-align: top; + -webkit-border-radius: 50%; + border-radius: 50%; + color: #a0a5aa; + font: normal 20px/1 dashicons; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + text-decoration: none !important; +} + +.wp-customizer button:focus .toggle-indicator:after { + -webkit-box-shadow: + 0 0 0 1px #5b9dd9, + 0 0 2px 1px rgba(30, 140, 190, .8); + box-shadow: + 0 0 0 1px #5b9dd9, + 0 0 2px 1px rgba(30, 140, 190, .8); +} + #accordion-panel-nav_menus .field-link-target, #accordion-panel-nav_menus .field-attr-title, #accordion-panel-nav_menus .field-css-classes, @@ -469,9 +466,10 @@ margin-top: 0; } -/* - * Add-menu-items mode. +/** + * Add-menu-items mode */ + .wp-full-overlay-main { left: auto; /* This overrides a right: 0; which causes the preview to resize rather than slide off screen at the normal size. */ width: 100%; @@ -486,34 +484,6 @@ opacity: 1; } -/* Add-new button. */ -#customize-theme-controls .add-new-menu-item { - cursor: pointer; - float: left; - margin-right: 10px; - -webkit-transition: all 0.2s; - transition: all 0.2s; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - outline: none; -} - -.add-new-menu-item:before { - content: "\f132"; - display: inline-block; - position: relative; - right: -2px; - top: -1px; - font: normal 20px/1 'dashicons'; - vertical-align: middle; - -webkit-transition: all 0.2s; - transition: all 0.2s; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - .adding-menu-items .add-new-menu-item, .adding-menu-items .add-new-menu-item:hover, .add-menu-toggle.open, @@ -545,12 +515,14 @@ .menu-item-bar .item-delete:before { content: "\f335"; - font: normal 20px/1 dashicons; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; position: absolute; top: 9px; right: 5px; + -webkit-border-radius: 50%; + border-radius: 50%; + font: normal 20px/1 dashicons; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; } .ie8 .menu-item-bar .item-delete:before { @@ -559,12 +531,19 @@ .menu-item-bar .item-delete:hover, .menu-item-bar .item-delete:focus { + -webkit-box-shadow: none; + box-shadow: none; + outline: none; color: #f00; } -.menu-item-bar .item-delete:focus { - -webkit-box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8); - box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8); +.menu-item-bar .item-delete:focus:before { + -webkit-box-shadow: + 0 0 0 1px #5b9dd9, + 0 0 2px 1px rgba(30, 140, 190, .8); + box-shadow: + 0 0 0 1px #5b9dd9, + 0 0 2px 1px rgba(30, 140, 190, .8); } .adding-menu-items .menu-item-bar .item-edit { @@ -609,6 +588,8 @@ border-right: none; border-left: none; background: #fff; + -webkit-transition: background-color 0.15s; + transition: background-color 0.15s; } #available-menu-items .open .accordion-section-title, @@ -621,29 +602,12 @@ content: none !important; } -#available-menu-items .accordion-section-title .toggle-indicator { - display: inline-block; - font-size: 20px; - line-height: 1; -} - -#available-menu-items .accordion-section-title .toggle-indicator:after { - content: '\f140'; - font: normal 20px/1 'dashicons'; - color: #a0a5aa; - vertical-align: top; - speak: none; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none !important; -} - #available-menu-items .accordion-section-title:hover .toggle-indicator:after { color: #777; } #available-menu-items .open .accordion-section-title .toggle-indicator:after { - content: '\f142'; + content: "\f142"; } #available-menu-items .accordion-section-content { @@ -652,18 +616,6 @@ background: transparent; } -button.not-a-button { - background: transparent; - border: none; - -webkit-box-shadow: none; - box-shadow: none; - -webkit-border-radius: 0; - border-radius: 0; - outline: 0; - padding: 0; - margin: 0; -} - #available-menu-items .accordion-section-title button { display: block; width: 28px; @@ -671,14 +623,12 @@ button.not-a-button { position: absolute; top: 5px; left: 5px; + -webkit-box-shadow: none; + box-shadow: none; + outline: none; cursor: pointer; } -#available-menu-items .accordion-section-title button:focus { - -webkit-box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8); - box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8); -} - #available-menu-items .accordion-section-title .no-items, #available-menu-items .cannot-expand .accordion-section-title .spinner, #available-menu-items .cannot-expand .accordion-section-title > button { @@ -700,7 +650,6 @@ button.not-a-button { #available-menu-items .accordion-section-content { padding: 1px 15px 15px 15px; margin: 0; - min-height: 120px; max-height: 290px; } @@ -783,21 +732,35 @@ button.not-a-button { color: #82878c; width: 30px; height: 38px; + -webkit-box-shadow: none; + box-shadow: none; + outline: none; cursor: pointer; } #available-menu-items .menu-item-handle .item-add:focus { color: #23282d; - -webkit-box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8); - box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8); } #available-menu-items .item-add:before { content: "\f543"; - font: normal 20px/1 dashicons; position: relative; right: 2px; top: 3px; + display: inline-block; + height: 20px; + -webkit-border-radius: 50%; + border-radius: 50%; + font: normal 20px/1.05 dashicons; /* line height is to account for the dashicon's vertical alignment */ +} + +#available-menu-items .item-add:focus:before { + -webkit-box-shadow: + 0 0 0 1px #5b9dd9, + 0 0 2px 1px rgba(30, 140, 190, .8); + box-shadow: + 0 0 0 1px #5b9dd9, + 0 0 2px 1px rgba(30, 140, 190, .8); } #available-menu-items .menu-item-handle.item-added .item-type, @@ -980,11 +943,11 @@ body.adding-menu-items #customize-preview { } li.assigned-to-menu-location .menu-delete-item { - display: none; + display: none; } li.assigned-to-menu-location .add-new-menu-item { - margin-bottom: 1em; + margin-bottom: 1em; } .menu-delete { diff --git a/wp-admin/css/customize-nav-menus-rtl.min.css b/wp-admin/css/customize-nav-menus-rtl.min.css index 76bbb43..c2b56e9 100644 --- a/wp-admin/css/customize-nav-menus-rtl.min.css +++ b/wp-admin/css/customize-nav-menus-rtl.min.css @@ -1 +1 @@ -#accordion-section-menu_locations{position:relative;margin-bottom:15px}.menu-in-location,.menu-in-locations{display:block;font-weight:600;font-size:10px}#customize-controls .control-section .accordion-section-title:focus .menu-in-location,#customize-controls .control-section .accordion-section-title:focus .menu-in-locations,#customize-controls .control-section .accordion-section-title:hover .menu-in-location,#customize-controls .control-section .accordion-section-title:hover .menu-in-locations,#customize-controls .theme-location-set{color:#555}.wp-customizer .menu-item-bar .menu-item-handle,.wp-customizer .menu-item-settings,.wp-customizer .menu-item-settings .description-thin{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.wp-customizer .menu-item-bar{margin:0}.wp-customizer .menu-item-bar .menu-item-handle{width:100%;background:#fff}.wp-customizer .menu-item-handle .item-title{margin-left:0}.wp-customizer .menu-item-handle .item-type{padding:1px 5px 0 21px;float:left;text-align:left}.wp-customizer .menu-item-settings{max-width:100%;overflow:hidden;padding:10px;background:#eee;border:1px solid #999;border-top:none}.wp-customizer .menu-item-settings .description-thin{width:100%;height:auto;margin:0 0 8px}.wp-customizer .menu-item-settings input[type=text]{width:100%}.wp-customizer .menu-item-settings .submitbox{margin:0;padding:0}.wp-customizer .menu-item-settings .link-to-original{padding:5px 0;border:none;font-style:normal;margin:0;width:100%}.wp-customizer .menu-item .submitbox .submitdelete{display:block;float:right;margin:6px 0 0;padding:0;cursor:pointer}.wp-customizer .menu-item .submitbox .submitdelete:focus{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.customize-control-nav_menu .reorder-done,.customize-control-nav_menu .reordering .reorder{display:none}.customize-control-nav_menu .reorder,.customize-control-nav_menu .reordering .reorder-done{display:inline-block;padding:5px 8px}.menu-item-reorder-nav{display:none;background-color:#fff;position:absolute;top:0;left:0}.customize-control-nav_menu .reordering .add-new-menu-item{opacity:.2;pointer-events:none;cursor:not-allowed}.menu-item-reorder-nav button{position:relative;overflow:hidden;float:right;display:block;width:30px;height:40px;color:#82878c;text-indent:-9999px;cursor:pointer;background:0 0;border:none;-webkit-box-shadow:none;box-shadow:none;outline:0}.menu-item-reorder-nav button:before{display:inline-block;position:absolute;top:0;left:0;width:100%;height:100%;font:400 20px/40px dashicons;text-align:center;text-indent:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.menu-item-reorder-nav button:focus,.menu-item-reorder-nav button:hover{color:#191e23;background:#eee}.menus-move-down:before{content:'\f347'}.menus-move-up:before{content:'\f343'}.menus-move-left:before{content:'\f341'}.menus-move-right:before{content:'\f345'}.move-down-disabled .menus-move-down,.move-left-disabled .menus-move-left,.move-right-disabled .menus-move-right,.move-up-disabled .menus-move-up{color:#d5d5d5!important;background-color:#fff!important;cursor:default;pointer-events:none}.menu-item-reorder-nav:before{content:"";display:block;position:absolute;right:-10px;width:10px;height:40px;background:-webkit-linear-gradient(right,rgba(250,250,250,0) 0,rgba(250,250,250,1) 100%);background:-webkit-gradient(linear,right top,left top,from(rgba(250,250,250,0)),to(rgba(250,250,250,1)));background:-webkit-linear-gradient(right,rgba(250,250,250,0) 0,rgba(250,250,250,1) 100%);background:linear-gradient(to left,rgba(250,250,250,0) 0,rgba(250,250,250,1) 100%)}.reordering .menu-item .item-controls,.reordering .menu-item .item-type{display:none}.reordering .menu-item-reorder-nav{display:block}.customize-control input.menu-name-field{width:100%;margin:12px 0}.wp-customizer .menu-item .item-edit{position:absolute;left:-19px;top:2px;display:block;width:30px;height:38px;margin-left:0!important;outline:0;overflow:hidden;cursor:pointer}.customize-control-nav_menu_item .item-edit:focus{color:#0073aa;-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-customizer .menu-item .item-edit .toggle-indicator{display:inline-block;font-size:20px;line-height:1}.wp-customizer .menu-item .item-edit .toggle-indicator:after{content:'\f140';font:400 20px/1 dashicons;color:#a0a5aa;vertical-align:top;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}.wp-customizer .menu-item.menu-item-edit-active .item-edit .toggle-indicator:after{content:'\f142'}.wp-customizer .menu-item-settings p.description{font-style:normal}.wp-customizer .menu-settings dl{margin:12px 0 0;padding:0}.wp-customizer .menu-settings .checkbox-input{margin-top:8px}.wp-customizer .menu-settings .menu-theme-locations{border-top:1px solid #ccc}.wp-customizer .menu-settings{margin-top:36px;border-top:none}.menu-settings .customize-control-checkbox label{line-height:1}.menu-settings .customize-control.customize-control-checkbox{margin-bottom:8px}.customize-control-menu{margin-top:4px}#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle{color:#555}.customize-screen-options-toggle{background:0 0;border:none;color:#555;cursor:pointer;margin:0;padding:20px;position:absolute;left:0;top:30px}#customize-controls .customize-info .customize-help-toggle{padding:20px}#customize-controls .customize-info .customize-help-toggle:before{padding:4px}#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,.active-menu-screen-options .customize-screen-options-toggle,.customize-screen-options-toggle:active,.customize-screen-options-toggle:focus,.customize-screen-options-toggle:hover{color:#0073aa}#customize-controls .customize-info .customize-help-toggle:focus,.customize-screen-options-toggle:focus{outline:0}.customize-screen-options-toggle:before{-moz-osx-font-smoothing:grayscale;border:none;content:"\f111";display:block;font:18px/1 dashicons;padding:5px;text-align:center;text-decoration:none!important;text-indent:0;right:6px;position:absolute;top:6px}#customize-controls .customize-info .customize-help-toggle:focus:before,.customize-screen-options-toggle:focus:before{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);-webkit-border-radius:100%;border-radius:100%}.wp-customizer #screen-options-wrap{display:none;background:#fff;border-top:1px solid #ddd;padding:4px 15px 0}.wp-customizer .metabox-prefs label{display:block;padding-left:0;line-height:30px}#accordion-panel-nav_menus .field-attr-title,#accordion-panel-nav_menus .field-css-classes,#accordion-panel-nav_menus .field-description,#accordion-panel-nav_menus .field-link-target,#accordion-panel-nav_menus .field-xfn{display:none}#accordion-panel-nav_menus.field-attr-title-active .field-attr-title,#accordion-panel-nav_menus.field-css-classes-active .field-css-classes,#accordion-panel-nav_menus.field-description-active .field-description,#accordion-panel-nav_menus.field-link-target-active .field-link-target,#accordion-panel-nav_menus.field-xfn-active .field-xfn{display:block}.menu-item-depth-0{margin-right:0}.menu-item-depth-1{margin-right:20px}.menu-item-depth-2{margin-right:40px}.menu-item-depth-3{margin-right:60px}.menu-item-depth-4{margin-right:80px}.menu-item-depth-5{margin-right:100px}.menu-item-depth-6{margin-right:120px}.menu-item-depth-7{margin-right:140px}.menu-item-depth-8{margin-right:160px}.menu-item-depth-9{margin-right:180px}.menu-item-depth-10{margin-right:200px}.menu-item-depth-11{margin-right:220px}.menu-item-depth-0>.menu-item-bar{margin-left:0}.menu-item-depth-1>.menu-item-bar{margin-left:20px}.menu-item-depth-2>.menu-item-bar{margin-left:40px}.menu-item-depth-3>.menu-item-bar{margin-left:60px}.menu-item-depth-4>.menu-item-bar{margin-left:80px}.menu-item-depth-5>.menu-item-bar{margin-left:100px}.menu-item-depth-6>.menu-item-bar{margin-left:120px}.menu-item-depth-7>.menu-item-bar{margin-left:140px}.menu-item-depth-8>.menu-item-bar{margin-left:160px}.menu-item-depth-9>.menu-item-bar{margin-left:180px}.menu-item-depth-10>.menu-item-bar{margin-left:200px}.menu-item-depth-11>.menu-item-bar{margin-left:220px}.menu-item-depth-0 .menu-item-transport{margin-right:0}.menu-item-depth-1 .menu-item-transport{margin-right:-20px}.menu-item-depth-3 .menu-item-transport{margin-right:-60px}.menu-item-depth-4 .menu-item-transport{margin-right:-80px}.menu-item-depth-2 .menu-item-transport{margin-right:-40px}.menu-item-depth-5 .menu-item-transport{margin-right:-100px}.menu-item-depth-6 .menu-item-transport{margin-right:-120px}.menu-item-depth-7 .menu-item-transport{margin-right:-140px}.menu-item-depth-8 .menu-item-transport{margin-right:-160px}.menu-item-depth-9 .menu-item-transport{margin-right:-180px}.menu-item-depth-10 .menu-item-transport{margin-right:-200px}.menu-item-depth-11 .menu-item-transport{margin-right:-220px}.reordering .menu-item-depth-0{margin-right:0}.reordering .menu-item-depth-1{margin-right:15px}.reordering .menu-item-depth-2{margin-right:30px}.reordering .menu-item-depth-3{margin-right:45px}.reordering .menu-item-depth-4{margin-right:60px}.reordering .menu-item-depth-5{margin-right:75px}.reordering .menu-item-depth-6{margin-right:90px}.reordering .menu-item-depth-7{margin-right:105px}.reordering .menu-item-depth-8{margin-right:120px}.reordering .menu-item-depth-9{margin-right:135px}.reordering .menu-item-depth-10{margin-right:150px}.reordering .menu-item-depth-11{margin-right:165px}.reordering .menu-item-depth-0>.menu-item-bar{margin-left:0}.reordering .menu-item-depth-1>.menu-item-bar{margin-left:15px}.reordering .menu-item-depth-2>.menu-item-bar{margin-left:30px}.reordering .menu-item-depth-3>.menu-item-bar{margin-left:45px}.reordering .menu-item-depth-4>.menu-item-bar{margin-left:60px}.reordering .menu-item-depth-5>.menu-item-bar{margin-left:75px}.reordering .menu-item-depth-6>.menu-item-bar{margin-left:90px}.reordering .menu-item-depth-7>.menu-item-bar{margin-left:105px}.reordering .menu-item-depth-8>.menu-item-bar{margin-left:120px}.reordering .menu-item-depth-9>.menu-item-bar{margin-left:135px}.reordering .menu-item-depth-10>.menu-item-bar{margin-left:150px}.reordering .menu-item-depth-11>.menu-item-bar{margin-left:165px}.control-section-nav_menu .menu .menu-item-edit-active{margin-right:0}.control-section-nav_menu .menu .menu-item-edit-active .menu-item-bar{margin-left:0}.control-section-nav_menu .menu .sortable-placeholder{margin-top:0;margin-bottom:1px;max-width:-webkit-calc(100% - 2px);max-width:calc(100% - 2px);float:right;display:list-item;border-color:#a0a5aa}.menu-item-transport li.customize-control{float:none}.control-section-nav_menu .menu ul.menu-item-transport .menu-item-bar{margin-top:0}.wp-full-overlay-main{left:auto;width:100%}.adding-menu-items .control-section{opacity:.4}.adding-menu-items .control-panel.control-section,.adding-menu-items .control-section.open{opacity:1}#customize-theme-controls .add-new-menu-item{cursor:pointer;float:left;margin-right:10px;-webkit-transition:all .2s;transition:all .2s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:0}.add-new-menu-item:before{content:"\f132";display:inline-block;position:relative;right:-2px;top:-1px;font:400 20px/1 dashicons;vertical-align:middle;-webkit-transition:all .2s;transition:all .2s;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.add-menu-toggle.open,.add-menu-toggle.open:hover,.adding-menu-items .add-new-menu-item,.adding-menu-items .add-new-menu-item:hover{background:#eee;border-color:#929793;color:#32373c;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}#accordion-section-add_menu .add-new-menu-item.open:before,.adding-menu-items .add-new-menu-item:before{-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg)}.menu-item-bar .item-delete{color:#a00;position:absolute;top:2px;left:-19px;width:30px;height:38px;cursor:pointer;display:none}.menu-item-bar .item-delete:before{content:"\f335";font:400 20px/1 dashicons;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;top:9px;right:5px}.ie8 .menu-item-bar .item-delete:before{top:-10px}.menu-item-bar .item-delete:focus,.menu-item-bar .item-delete:hover{color:red}.menu-item-bar .item-delete:focus{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.adding-menu-items .menu-item-bar .item-edit{display:none}.adding-menu-items .menu-item-bar .item-delete{display:block}#available-menu-items .item{position:static}#available-menu-items{position:absolute;top:0;bottom:0;right:-301px;visibility:hidden;overflow-x:hidden;overflow-y:auto;width:300px;margin:0;z-index:4;background:#eee;-webkit-transition:right .18s;transition:right .18s;border-left:1px solid #ddd}#available-menu-items.opening{overflow-y:hidden}#available-menu-items #available-menu-items-search.open{height:100%;border-bottom:none}#available-menu-items .accordion-section-title{border-right:none;border-left:none;background:#fff}#available-menu-items #available-menu-items-search .accordion-section-title,#available-menu-items .open .accordion-section-title{background:#eee}#available-menu-items .accordion-section-title:after{content:none!important}#available-menu-items .accordion-section-title .toggle-indicator{display:inline-block;font-size:20px;line-height:1}#available-menu-items .accordion-section-title .toggle-indicator:after{content:'\f140';font:400 20px/1 dashicons;color:#a0a5aa;vertical-align:top;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}#available-menu-items .accordion-section-title:hover .toggle-indicator:after{color:#777}#available-menu-items .open .accordion-section-title .toggle-indicator:after{content:'\f142'}button.not-a-button{background:0 0;border:none;-webkit-box-shadow:none;box-shadow:none;-webkit-border-radius:0;border-radius:0;outline:0;padding:0;margin:0}#available-menu-items .accordion-section-title button{display:block;width:28px;height:35px;position:absolute;top:5px;left:5px;cursor:pointer}#available-menu-items .accordion-section-title button:focus{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}#available-menu-items .accordion-section-title .no-items,#available-menu-items .cannot-expand .accordion-section-title .spinner,#available-menu-items .cannot-expand .accordion-section-title>button{display:none}#available-menu-items-search.cannot-expand .accordion-section-title .spinner{display:block}#available-menu-items .cannot-expand .accordion-section-title .no-items{display:block;color:#777;font-weight:400;float:left;margin-right:5px}#available-menu-items .accordion-section-content{overflow-y:auto;background:0 0;padding:1px 15px 15px;margin:0;min-height:120px;max-height:290px}#available-menu-items #available-menu-items-search .accordion-section-content{position:absolute;right:1px;top:60px;bottom:0;max-height:none;width:100%;padding:1px 15px 15px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#available-menu-items .menu-item-tpl{margin:0}#custom-menu-item-name.invalid,#custom-menu-item-url.invalid,.menu-name-field.invalid,.menu-name-field.invalid:focus{border:1px solid red}#available-menu-items .item-tpl{position:relative;padding:20px 60px 20px 15px;border-bottom:1px solid #e4e4e4;cursor:pointer;display:none}#available-menu-items .item-tpl.selected,#available-menu-items .item-tpl:hover{background:#eee}#available-menu-items .menu-item-handle .item-type{padding-left:0}#available-menu-items .menu-item-handle .item-title{padding-right:20px}#available-menu-items .item-top,#available-menu-items .item-top:hover{border:none;background:0 0;-webkit-box-shadow:none;box-shadow:none}#available-menu-items .menu-item-handle{cursor:pointer;-webkit-box-shadow:none;box-shadow:none;margin-top:-1px}#available-menu-items .menu-item-handle:hover{z-index:1}#available-menu-items .item-title h4{padding:0 0 5px;font-size:14px}#available-menu-items .item-add{position:absolute;top:1px;right:1px;color:#82878c;width:30px;height:38px;cursor:pointer}#available-menu-items .menu-item-handle .item-add:focus{color:#23282d;-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}#available-menu-items .item-add:before{content:"\f543";font:400 20px/1 dashicons;position:relative;right:2px;top:3px}#available-menu-items .menu-item-handle.item-added .item-add:focus,#available-menu-items .menu-item-handle.item-added .item-title,#available-menu-items .menu-item-handle.item-added .item-type,#available-menu-items .menu-item-handle.item-added:hover .item-add{color:#82878c}#available-menu-items .menu-item-handle.item-added .item-add:before{content:"\f147"}#available-menu-items .accordion-section-title.loading .spinner,#available-menu-items-search.loading .accordion-section-title .spinner{visibility:visible;margin:0 20px}#available-menu-items-search .clear-results{position:absolute;top:20px;left:20px;width:20px;height:20px;cursor:pointer;color:#a00;text-decoration:none}#available-menu-items-search .clear-results,#available-menu-items-search.loading .clear-results.is-visible{display:none}#available-menu-items-search .clear-results.is-visible{display:block}#available-menu-items-search .clear-results:before{content:"\f335";font:400 20px/1 dashicons;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#available-menu-items-search .clear-results:focus,#available-menu-items-search .clear-results:hover{color:red}#available-menu-items-search .clear-results:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}#available-menu-items-search .clear-results:focus,.menu-delete:focus{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}#available-menu-items-search .spinner{position:absolute;top:20px;margin:0!important;left:20px}#available-menu-items-search input{padding:6px 10px;width:100%}#available-menu-items-search .accordion-section-title{padding:12px 15px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#available-menu-items-search .accordion-section-title:after{display:none}#available-menu-items-search .accordion-section-content:empty{min-height:0;padding:0}#available-menu-items-search.loading .accordion-section-content div{opacity:.5}#available-menu-items-search.loading.loading-more .accordion-section-content div{opacity:1}#customize-preview{-webkit-transition:all .2s;transition:all .2s}body.adding-menu-items #available-menu-items{right:0;visibility:visible}body.adding-menu-items .wp-full-overlay-main{right:300px}body.adding-menu-items #customize-preview{opacity:.4}.menu-item-handle .spinner{display:none;float:right;margin:0 0 0 8px}.nav-menu-inserted-item-loading .spinner{display:block}.nav-menu-inserted-item-loading .menu-item-handle .item-type{padding:0 8px 0 0}.added-menu-item .menu-item-handle.loading,.nav-menu-inserted-item-loading .menu-item-handle{padding:10px 8px 10px 15px;cursor:default;opacity:.5;background:#fff;color:#727773}.added-menu-item .menu-item-handle{-webkit-transition-property:opacity,background,color;transition-property:opacity,background,color;-webkit-transition-duration:1.25s;transition-duration:1.25s;-webkit-transition-timing-function:cubic-bezier(.25,-2.5,.75,8);transition-timing-function:cubic-bezier(.25,-2.5,.75,8)}#accordion-section-add_menu{margin:15px 12px}.new-menu-section-content{display:none;padding:15px 0 0;clear:both}#accordion-section-add_menu .accordion-section-title{padding-right:45px}#accordion-section-add_menu .accordion-section-title:before{font:400 20px/1 dashicons;position:absolute;top:12px;right:14px;content:"\f132"}#create-new-menu-submit{float:left;margin:0 0 12px}.menu-delete-item{display:block;float:right;padding:1em 0;width:100%}#available-menu-items .customize-section-title,li.assigned-to-menu-location .menu-delete-item{display:none}li.assigned-to-menu-location .add-new-menu-item{margin-bottom:1em}.menu-delete{color:#a00;cursor:pointer;text-decoration:underline}.menu-delete:focus,.menu-delete:hover{color:red;text-decoration:none}.menu-delete:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.menu-item-handle{margin-top:-1px}.ui-sortable-disabled .menu-item-handle{cursor:default}.menu-item-handle:hover{position:relative;z-index:10;color:#0073aa}#available-menu-items .menu-item-handle:hover .item-add,.menu-item-handle:hover .item-edit,.menu-item-handle:hover .item-type{color:#0073aa}.menu-item-edit-active .menu-item-handle{border-color:#999;border-bottom:none}.customize-control-nav_menu_item{margin-bottom:0}.customize-control-nav_menu{margin-top:12px}@media screen and (max-width:782px){#available-menu-items #available-menu-items-search .accordion-section-content{top:63px}}@media screen and (max-width:640px){body.adding-menu-items div#available-menu-items{top:46px;right:0;z-index:10;width:100%}#available-menu-items #available-menu-items-search .accordion-section-content{top:133px}#available-menu-items .customize-section-title{display:block;margin:0}#available-menu-items .customize-section-back{height:69px}#available-menu-items .customize-section-title h3{font-size:20px;font-weight:200;padding:9px 14px 12px 10px;margin:0;line-height:24px;color:#555;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#available-menu-items .customize-section-title .customize-action{font-size:13px;display:block;font-weight:400;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}} \ No newline at end of file +#accordion-section-menu_locations{position:relative;margin-bottom:15px}.menu-in-location,.menu-in-locations{display:block;font-weight:600;font-size:10px}#customize-controls .control-section .accordion-section-title:focus .menu-in-location,#customize-controls .control-section .accordion-section-title:focus .menu-in-locations,#customize-controls .control-section .accordion-section-title:hover .menu-in-location,#customize-controls .control-section .accordion-section-title:hover .menu-in-locations,#customize-controls .theme-location-set{color:#555}.wp-customizer .menu-item-bar .menu-item-handle,.wp-customizer .menu-item-settings,.wp-customizer .menu-item-settings .description-thin{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.wp-customizer .menu-item-bar{margin:0}.wp-customizer .menu-item-bar .menu-item-handle{width:100%;background:#fff}.wp-customizer .menu-item-handle .item-title{margin-left:0}.wp-customizer .menu-item-handle .item-type{padding:1px 5px 0 21px;float:left;text-align:left}.wp-customizer .menu-item-settings{max-width:100%;overflow:hidden;padding:10px;background:#eee;border:1px solid #999;border-top:none}.wp-customizer .menu-item-settings .description-thin{width:100%;height:auto;margin:0 0 8px}.wp-customizer .menu-item-settings input[type=text]{width:100%}.wp-customizer .menu-item-settings .submitbox{margin:0;padding:0}.wp-customizer .menu-item-settings .link-to-original{padding:5px 0;border:none;font-style:normal;margin:0;width:100%}.wp-customizer .menu-item .submitbox .submitdelete{display:block;float:right;margin:6px 0 0;padding:0;cursor:pointer}.wp-customizer .menu-item .submitbox .submitdelete:focus{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.menu-item-reorder-nav{display:none;background-color:#fff;position:absolute;top:0;left:0}.menu-item-reorder-nav button{position:relative;overflow:hidden;float:right;display:block;width:30px;height:40px;color:#82878c;text-indent:-9999px;cursor:pointer;background:0 0;border:none;-webkit-box-shadow:none;box-shadow:none;outline:0}.menu-item-reorder-nav button:before{display:inline-block;position:absolute;top:0;left:0;width:100%;height:100%;font:400 20px/40px dashicons;text-align:center;text-indent:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.menu-item-reorder-nav button:focus,.menu-item-reorder-nav button:hover{color:#191e23;background:#eee}.menus-move-down:before{content:"\f347"}.menus-move-up:before{content:"\f343"}.menus-move-left:before{content:"\f345"}.menus-move-right:before{content:"\f341"}.move-down-disabled .menus-move-down,.move-left-disabled .menus-move-left,.move-right-disabled .menus-move-right,.move-up-disabled .menus-move-up{color:#d5d5d5!important;background-color:#fff!important;cursor:default;pointer-events:none}.menu-item-reorder-nav:before{content:"";display:block;position:absolute;right:-10px;width:10px;height:40px;background:-webkit-gradient(linear,right top,left top,from(rgba(250,250,250,0)),to(rgba(250,250,250,1)));background:-webkit-linear-gradient(right,rgba(250,250,250,0) 0,rgba(250,250,250,1) 100%);background:linear-gradient(to left,rgba(250,250,250,0) 0,rgba(250,250,250,1) 100%)}.reordering .menu-item .item-controls,.reordering .menu-item .item-type{display:none}.reordering .menu-item-reorder-nav{display:block}.customize-control input.menu-name-field{width:100%;margin:12px 0}.wp-customizer .menu-item .item-edit{position:absolute;left:-19px;top:2px;display:block;width:30px;height:38px;margin-left:0!important;-webkit-box-shadow:none;box-shadow:none;outline:0;overflow:hidden;cursor:pointer}.wp-customizer .menu-item.menu-item-edit-active .item-edit .toggle-indicator:after{content:"\f142"}.wp-customizer .menu-item-settings p.description{font-style:normal}.wp-customizer .menu-settings dl{margin:12px 0 0;padding:0}.wp-customizer .menu-settings .checkbox-input{margin-top:8px}.wp-customizer .menu-settings .menu-theme-locations{border-top:1px solid #ccc}.wp-customizer .menu-settings{margin-top:36px;border-top:none}.menu-settings .customize-control-checkbox label{line-height:1}.menu-settings .customize-control.customize-control-checkbox{margin-bottom:8px}.customize-control-menu{margin-top:4px}#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle{color:#555}.customize-screen-options-toggle{background:0 0;border:none;color:#555;cursor:pointer;margin:0;padding:20px;position:absolute;left:0;top:30px}#customize-controls .customize-info .customize-help-toggle{padding:20px}#customize-controls .customize-info .customize-help-toggle:before{padding:4px}#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,.active-menu-screen-options .customize-screen-options-toggle,.customize-screen-options-toggle:active,.customize-screen-options-toggle:focus,.customize-screen-options-toggle:hover{color:#0073aa}#customize-controls .customize-info .customize-help-toggle:focus,.customize-screen-options-toggle:focus{outline:0}.customize-screen-options-toggle:before{-moz-osx-font-smoothing:grayscale;border:none;content:"\f111";display:block;font:18px/1 dashicons;padding:5px;text-align:center;text-decoration:none!important;text-indent:0;right:6px;position:absolute;top:6px}#customize-controls .customize-info .customize-help-toggle:focus:before,.customize-screen-options-toggle:focus:before{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);-webkit-border-radius:100%;border-radius:100%}.wp-customizer #screen-options-wrap{display:none;background:#fff;border-top:1px solid #ddd;padding:4px 15px 15px}.wp-customizer .metabox-prefs label{display:block;padding-left:0;line-height:30px}.wp-customizer .toggle-indicator{display:inline-block;font-size:20px;line-height:1;text-indent:-1px}.rtl .wp-customizer .toggle-indicator{text-indent:1px}.wp-customizer .toggle-indicator:after{content:"\f140";speak:none;vertical-align:top;-webkit-border-radius:50%;border-radius:50%;color:#a0a5aa;font:400 20px/1 dashicons;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}.wp-customizer button:focus .toggle-indicator:after{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}#accordion-panel-nav_menus .field-attr-title,#accordion-panel-nav_menus .field-css-classes,#accordion-panel-nav_menus .field-description,#accordion-panel-nav_menus .field-link-target,#accordion-panel-nav_menus .field-xfn{display:none}#accordion-panel-nav_menus.field-attr-title-active .field-attr-title,#accordion-panel-nav_menus.field-css-classes-active .field-css-classes,#accordion-panel-nav_menus.field-description-active .field-description,#accordion-panel-nav_menus.field-link-target-active .field-link-target,#accordion-panel-nav_menus.field-xfn-active .field-xfn{display:block}.menu-item-depth-0{margin-right:0}.menu-item-depth-1{margin-right:20px}.menu-item-depth-2{margin-right:40px}.menu-item-depth-3{margin-right:60px}.menu-item-depth-4{margin-right:80px}.menu-item-depth-5{margin-right:100px}.menu-item-depth-6{margin-right:120px}.menu-item-depth-7{margin-right:140px}.menu-item-depth-8{margin-right:160px}.menu-item-depth-9{margin-right:180px}.menu-item-depth-10{margin-right:200px}.menu-item-depth-11{margin-right:220px}.menu-item-depth-0>.menu-item-bar{margin-left:0}.menu-item-depth-1>.menu-item-bar{margin-left:20px}.menu-item-depth-2>.menu-item-bar{margin-left:40px}.menu-item-depth-3>.menu-item-bar{margin-left:60px}.menu-item-depth-4>.menu-item-bar{margin-left:80px}.menu-item-depth-5>.menu-item-bar{margin-left:100px}.menu-item-depth-6>.menu-item-bar{margin-left:120px}.menu-item-depth-7>.menu-item-bar{margin-left:140px}.menu-item-depth-8>.menu-item-bar{margin-left:160px}.menu-item-depth-9>.menu-item-bar{margin-left:180px}.menu-item-depth-10>.menu-item-bar{margin-left:200px}.menu-item-depth-11>.menu-item-bar{margin-left:220px}.menu-item-depth-0 .menu-item-transport{margin-right:0}.menu-item-depth-1 .menu-item-transport{margin-right:-20px}.menu-item-depth-3 .menu-item-transport{margin-right:-60px}.menu-item-depth-4 .menu-item-transport{margin-right:-80px}.menu-item-depth-2 .menu-item-transport{margin-right:-40px}.menu-item-depth-5 .menu-item-transport{margin-right:-100px}.menu-item-depth-6 .menu-item-transport{margin-right:-120px}.menu-item-depth-7 .menu-item-transport{margin-right:-140px}.menu-item-depth-8 .menu-item-transport{margin-right:-160px}.menu-item-depth-9 .menu-item-transport{margin-right:-180px}.menu-item-depth-10 .menu-item-transport{margin-right:-200px}.menu-item-depth-11 .menu-item-transport{margin-right:-220px}.reordering .menu-item-depth-0{margin-right:0}.reordering .menu-item-depth-1{margin-right:15px}.reordering .menu-item-depth-2{margin-right:30px}.reordering .menu-item-depth-3{margin-right:45px}.reordering .menu-item-depth-4{margin-right:60px}.reordering .menu-item-depth-5{margin-right:75px}.reordering .menu-item-depth-6{margin-right:90px}.reordering .menu-item-depth-7{margin-right:105px}.reordering .menu-item-depth-8{margin-right:120px}.reordering .menu-item-depth-9{margin-right:135px}.reordering .menu-item-depth-10{margin-right:150px}.reordering .menu-item-depth-11{margin-right:165px}.reordering .menu-item-depth-0>.menu-item-bar{margin-left:0}.reordering .menu-item-depth-1>.menu-item-bar{margin-left:15px}.reordering .menu-item-depth-2>.menu-item-bar{margin-left:30px}.reordering .menu-item-depth-3>.menu-item-bar{margin-left:45px}.reordering .menu-item-depth-4>.menu-item-bar{margin-left:60px}.reordering .menu-item-depth-5>.menu-item-bar{margin-left:75px}.reordering .menu-item-depth-6>.menu-item-bar{margin-left:90px}.reordering .menu-item-depth-7>.menu-item-bar{margin-left:105px}.reordering .menu-item-depth-8>.menu-item-bar{margin-left:120px}.reordering .menu-item-depth-9>.menu-item-bar{margin-left:135px}.reordering .menu-item-depth-10>.menu-item-bar{margin-left:150px}.reordering .menu-item-depth-11>.menu-item-bar{margin-left:165px}.control-section-nav_menu .menu .menu-item-edit-active{margin-right:0}.control-section-nav_menu .menu .menu-item-edit-active .menu-item-bar{margin-left:0}.control-section-nav_menu .menu .sortable-placeholder{margin-top:0;margin-bottom:1px;max-width:-webkit-calc(100% - 2px);max-width:calc(100% - 2px);float:right;display:list-item;border-color:#a0a5aa}.menu-item-transport li.customize-control{float:none}.control-section-nav_menu .menu ul.menu-item-transport .menu-item-bar{margin-top:0}.wp-full-overlay-main{left:auto;width:100%}.adding-menu-items .control-section{opacity:.4}.adding-menu-items .control-panel.control-section,.adding-menu-items .control-section.open{opacity:1}.add-menu-toggle.open,.add-menu-toggle.open:hover,.adding-menu-items .add-new-menu-item,.adding-menu-items .add-new-menu-item:hover{background:#eee;border-color:#929793;color:#32373c;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}#accordion-section-add_menu .add-new-menu-item.open:before,.adding-menu-items .add-new-menu-item:before{-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg)}.menu-item-bar .item-delete{color:#a00;position:absolute;top:2px;left:-19px;width:30px;height:38px;cursor:pointer;display:none}.menu-item-bar .item-delete:before{content:"\f335";position:absolute;top:9px;right:5px;-webkit-border-radius:50%;border-radius:50%;font:400 20px/1 dashicons;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ie8 .menu-item-bar .item-delete:before{top:-10px}.menu-item-bar .item-delete:focus,.menu-item-bar .item-delete:hover{-webkit-box-shadow:none;box-shadow:none;outline:0;color:red}.menu-item-bar .item-delete:focus:before{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.adding-menu-items .menu-item-bar .item-edit{display:none}.adding-menu-items .menu-item-bar .item-delete{display:block}#available-menu-items .item{position:static}#available-menu-items{position:absolute;top:0;bottom:0;right:-301px;visibility:hidden;overflow-x:hidden;overflow-y:auto;width:300px;margin:0;z-index:4;background:#eee;-webkit-transition:right .18s;transition:right .18s;border-left:1px solid #ddd}#available-menu-items.opening{overflow-y:hidden}#available-menu-items #available-menu-items-search.open{height:100%;border-bottom:none}#available-menu-items .accordion-section-title{border-right:none;border-left:none;background:#fff;-webkit-transition:background-color .15s;transition:background-color .15s}#available-menu-items #available-menu-items-search .accordion-section-title,#available-menu-items .open .accordion-section-title{background:#eee}#available-menu-items .accordion-section-title:after{content:none!important}#available-menu-items .accordion-section-title:hover .toggle-indicator:after{color:#777}#available-menu-items .open .accordion-section-title .toggle-indicator:after{content:"\f142"}#available-menu-items .accordion-section-title button{display:block;width:28px;height:35px;position:absolute;top:5px;left:5px;-webkit-box-shadow:none;box-shadow:none;outline:0;cursor:pointer}#available-menu-items .accordion-section-title .no-items,#available-menu-items .cannot-expand .accordion-section-title .spinner,#available-menu-items .cannot-expand .accordion-section-title>button{display:none}#available-menu-items-search.cannot-expand .accordion-section-title .spinner{display:block}#available-menu-items .cannot-expand .accordion-section-title .no-items{display:block;color:#777;font-weight:400;float:left;margin-right:5px}#available-menu-items .accordion-section-content{overflow-y:auto;background:0 0;padding:1px 15px 15px;margin:0;max-height:290px}#available-menu-items #available-menu-items-search .accordion-section-content{position:absolute;right:1px;top:60px;bottom:0;max-height:none;width:100%;padding:1px 15px 15px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#available-menu-items .menu-item-tpl{margin:0}#custom-menu-item-name.invalid,#custom-menu-item-url.invalid,.menu-name-field.invalid,.menu-name-field.invalid:focus{border:1px solid red}#available-menu-items .item-tpl{position:relative;padding:20px 60px 20px 15px;border-bottom:1px solid #e4e4e4;cursor:pointer;display:none}#available-menu-items .item-tpl.selected,#available-menu-items .item-tpl:hover{background:#eee}#available-menu-items .menu-item-handle .item-type{padding-left:0}#available-menu-items .menu-item-handle .item-title{padding-right:20px}#available-menu-items .item-top,#available-menu-items .item-top:hover{border:none;background:0 0;-webkit-box-shadow:none;box-shadow:none}#available-menu-items .menu-item-handle{cursor:pointer;-webkit-box-shadow:none;box-shadow:none;margin-top:-1px}#available-menu-items .menu-item-handle:hover{z-index:1}#available-menu-items .item-title h4{padding:0 0 5px;font-size:14px}#available-menu-items .item-add{position:absolute;top:1px;right:1px;color:#82878c;width:30px;height:38px;-webkit-box-shadow:none;box-shadow:none;outline:0;cursor:pointer}#available-menu-items .menu-item-handle .item-add:focus{color:#23282d}#available-menu-items .item-add:before{content:"\f543";position:relative;right:2px;top:3px;display:inline-block;height:20px;-webkit-border-radius:50%;border-radius:50%;font:400 20px/1.05 dashicons}#available-menu-items .item-add:focus:before{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}#available-menu-items .menu-item-handle.item-added .item-add:focus,#available-menu-items .menu-item-handle.item-added .item-title,#available-menu-items .menu-item-handle.item-added .item-type,#available-menu-items .menu-item-handle.item-added:hover .item-add{color:#82878c}#available-menu-items .menu-item-handle.item-added .item-add:before{content:"\f147"}#available-menu-items .accordion-section-title.loading .spinner,#available-menu-items-search.loading .accordion-section-title .spinner{visibility:visible;margin:0 20px}#available-menu-items-search .clear-results{position:absolute;top:20px;left:20px;width:20px;height:20px;cursor:pointer;color:#a00;text-decoration:none}#available-menu-items-search .clear-results,#available-menu-items-search.loading .clear-results.is-visible{display:none}#available-menu-items-search .clear-results.is-visible{display:block}#available-menu-items-search .clear-results:before{content:"\f335";font:400 20px/1 dashicons;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#available-menu-items-search .clear-results:focus,#available-menu-items-search .clear-results:hover{color:red}#available-menu-items-search .clear-results:focus{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}#available-menu-items-search .spinner{position:absolute;top:20px;margin:0!important;left:20px}#available-menu-items-search input{padding:6px 10px;width:100%}#available-menu-items-search .accordion-section-title{padding:12px 15px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#available-menu-items-search .accordion-section-title:after{display:none}#available-menu-items-search .accordion-section-content:empty{min-height:0;padding:0}#available-menu-items-search.loading .accordion-section-content div{opacity:.5}#available-menu-items-search.loading.loading-more .accordion-section-content div{opacity:1}#customize-preview{-webkit-transition:all .2s;transition:all .2s}body.adding-menu-items #available-menu-items{right:0;visibility:visible}body.adding-menu-items .wp-full-overlay-main{right:300px}body.adding-menu-items #customize-preview{opacity:.4}.menu-item-handle .spinner{display:none;float:right;margin:0 0 0 8px}.nav-menu-inserted-item-loading .spinner{display:block}.nav-menu-inserted-item-loading .menu-item-handle .item-type{padding:0 8px 0 0}.added-menu-item .menu-item-handle.loading,.nav-menu-inserted-item-loading .menu-item-handle{padding:10px 8px 10px 15px;cursor:default;opacity:.5;background:#fff;color:#727773}.added-menu-item .menu-item-handle{-webkit-transition-property:opacity,background,color;transition-property:opacity,background,color;-webkit-transition-duration:1.25s;transition-duration:1.25s;-webkit-transition-timing-function:cubic-bezier(.25,-2.5,.75,8);transition-timing-function:cubic-bezier(.25,-2.5,.75,8)}#accordion-section-add_menu{margin:15px 12px}.new-menu-section-content{display:none;padding:15px 0 0;clear:both}#accordion-section-add_menu .accordion-section-title{padding-right:45px}#accordion-section-add_menu .accordion-section-title:before{font:400 20px/1 dashicons;position:absolute;top:12px;right:14px;content:"\f132"}#create-new-menu-submit{float:left;margin:0 0 12px}.menu-delete-item{display:block;float:right;padding:1em 0;width:100%}#available-menu-items .customize-section-title,li.assigned-to-menu-location .menu-delete-item{display:none}li.assigned-to-menu-location .add-new-menu-item{margin-bottom:1em}.menu-delete{color:#a00;cursor:pointer;text-decoration:underline}.menu-delete:focus,.menu-delete:hover{color:red;text-decoration:none}.menu-delete:focus{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.menu-item-handle{margin-top:-1px}.ui-sortable-disabled .menu-item-handle{cursor:default}.menu-item-handle:hover{position:relative;z-index:10;color:#0073aa}#available-menu-items .menu-item-handle:hover .item-add,.menu-item-handle:hover .item-edit,.menu-item-handle:hover .item-type{color:#0073aa}.menu-item-edit-active .menu-item-handle{border-color:#999;border-bottom:none}.customize-control-nav_menu_item{margin-bottom:0}.customize-control-nav_menu{margin-top:12px}@media screen and (max-width:782px){#available-menu-items #available-menu-items-search .accordion-section-content{top:63px}}@media screen and (max-width:640px){body.adding-menu-items div#available-menu-items{top:46px;right:0;z-index:10;width:100%}#available-menu-items #available-menu-items-search .accordion-section-content{top:133px}#available-menu-items .customize-section-title{display:block;margin:0}#available-menu-items .customize-section-back{height:69px}#available-menu-items .customize-section-title h3{font-size:20px;font-weight:200;padding:9px 14px 12px 10px;margin:0;line-height:24px;color:#555;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#available-menu-items .customize-section-title .customize-action{font-size:13px;display:block;font-weight:400;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}} \ No newline at end of file diff --git a/wp-admin/css/customize-nav-menus.css b/wp-admin/css/customize-nav-menus.css index 7d25c7f..2daa03c 100644 --- a/wp-admin/css/customize-nav-menus.css +++ b/wp-admin/css/customize-nav-menus.css @@ -90,17 +90,9 @@ box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8); } -/* Menu-item reordering nav. */ -.customize-control-nav_menu .reordering .reorder, -.customize-control-nav_menu .reorder-done { - display: none; -} - -.customize-control-nav_menu .reorder, -.customize-control-nav_menu .reordering .reorder-done { - display: inline-block; - padding: 5px 8px; -} +/** + * Menu items reordering styles + */ .menu-item-reorder-nav { display: none; @@ -110,12 +102,6 @@ right: 0; } -.customize-control-nav_menu .reordering .add-new-menu-item { - opacity: 0.2; - pointer-events: none; - cursor: not-allowed; -} - .menu-item-reorder-nav button { position: relative; overflow: hidden; @@ -154,19 +140,19 @@ } .menus-move-down:before { - content: '\f347'; + content: "\f347"; } .menus-move-up:before { - content: '\f343'; + content: "\f343"; } .menus-move-left:before { - content: '\f341'; + content: "\f341"; } .menus-move-right:before { - content: '\f345'; + content: "\f345"; } .move-up-disabled .menus-move-up, @@ -186,10 +172,9 @@ left: -10px; width: 10px; height: 40px; - background: -webkit-linear-gradient(left, rgba(250,250,250,0) 0%,rgba(250,250,250,1) 100%); background: -webkit-gradient(linear, left top, right top, from(rgba(250,250,250,0)), to(rgba(250,250,250,1))); background: -webkit-linear-gradient(left, rgba(250,250,250,0) 0%, rgba(250,250,250,1) 100%); - background: linear-gradient(to right, rgba(250,250,250,0) 0%,rgba(250,250,250,1) 100%); + background: linear-gradient(to right, rgba(250,250,250,0) 0%, rgba(250,250,250,1) 100%); } .reordering .menu-item .item-controls, @@ -214,37 +199,15 @@ width: 30px; height: 38px; margin-right: 0 !important; + -webkit-box-shadow: none; + box-shadow: none; outline: none; overflow: hidden; cursor: pointer; } -.customize-control-nav_menu_item .item-edit:focus { - color: #0073aa; - -webkit-box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8); - box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8); -} - -/* rework the arrow indicator implementation for NVDA bug same as #32715 */ -.wp-customizer .menu-item .item-edit .toggle-indicator { - display: inline-block; - font-size: 20px; - line-height: 1; -} - -.wp-customizer .menu-item .item-edit .toggle-indicator:after { - content: '\f140'; - font: normal 20px/1 dashicons; - color: #a0a5aa; - vertical-align: top; - speak: none; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none !important; -} - .wp-customizer .menu-item.menu-item-edit-active .item-edit .toggle-indicator:after { - content: '\f142'; + content: "\f142"; } .wp-customizer .menu-item-settings p.description { @@ -327,7 +290,7 @@ border: none; content: "\f111"; display: block; - font: 18px/1 "dashicons"; + font: 18px/1 dashicons; padding: 5px; text-align: center; text-decoration: none !important; @@ -349,7 +312,7 @@ display: none; background: #fff; border-top: 1px solid #ddd; - padding: 4px 15px 0; + padding: 4px 15px 15px; } .wp-customizer .metabox-prefs label { @@ -358,6 +321,40 @@ line-height: 30px; } +/* rework the arrow indicator implementation for NVDA bug same as #32715 */ +.wp-customizer .toggle-indicator { + display: inline-block; + font-size: 20px; + line-height: 1; + text-indent: -1px; /* account for the dashicon alignment */ +} + +.rtl .wp-customizer .toggle-indicator { + text-indent: 1px; /* account for the dashicon alignment */ +} + +.wp-customizer .toggle-indicator:after { + content: "\f140"; + speak: none; + vertical-align: top; + -webkit-border-radius: 50%; + border-radius: 50%; + color: #a0a5aa; + font: normal 20px/1 dashicons; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + text-decoration: none !important; +} + +.wp-customizer button:focus .toggle-indicator:after { + -webkit-box-shadow: + 0 0 0 1px #5b9dd9, + 0 0 2px 1px rgba(30, 140, 190, .8); + box-shadow: + 0 0 0 1px #5b9dd9, + 0 0 2px 1px rgba(30, 140, 190, .8); +} + #accordion-panel-nav_menus .field-link-target, #accordion-panel-nav_menus .field-attr-title, #accordion-panel-nav_menus .field-css-classes, @@ -469,9 +466,10 @@ margin-top: 0; } -/* - * Add-menu-items mode. +/** + * Add-menu-items mode */ + .wp-full-overlay-main { right: auto; /* This overrides a right: 0; which causes the preview to resize rather than slide off screen at the normal size. */ width: 100%; @@ -486,34 +484,6 @@ opacity: 1; } -/* Add-new button. */ -#customize-theme-controls .add-new-menu-item { - cursor: pointer; - float: right; - margin-left: 10px; - -webkit-transition: all 0.2s; - transition: all 0.2s; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - outline: none; -} - -.add-new-menu-item:before { - content: "\f132"; - display: inline-block; - position: relative; - left: -2px; - top: -1px; - font: normal 20px/1 'dashicons'; - vertical-align: middle; - -webkit-transition: all 0.2s; - transition: all 0.2s; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - .adding-menu-items .add-new-menu-item, .adding-menu-items .add-new-menu-item:hover, .add-menu-toggle.open, @@ -545,12 +515,14 @@ .menu-item-bar .item-delete:before { content: "\f335"; - font: normal 20px/1 dashicons; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; position: absolute; top: 9px; left: 5px; + -webkit-border-radius: 50%; + border-radius: 50%; + font: normal 20px/1 dashicons; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; } .ie8 .menu-item-bar .item-delete:before { @@ -559,12 +531,19 @@ .menu-item-bar .item-delete:hover, .menu-item-bar .item-delete:focus { + -webkit-box-shadow: none; + box-shadow: none; + outline: none; color: #f00; } -.menu-item-bar .item-delete:focus { - -webkit-box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8); - box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8); +.menu-item-bar .item-delete:focus:before { + -webkit-box-shadow: + 0 0 0 1px #5b9dd9, + 0 0 2px 1px rgba(30, 140, 190, .8); + box-shadow: + 0 0 0 1px #5b9dd9, + 0 0 2px 1px rgba(30, 140, 190, .8); } .adding-menu-items .menu-item-bar .item-edit { @@ -609,6 +588,8 @@ border-left: none; border-right: none; background: #fff; + -webkit-transition: background-color 0.15s; + transition: background-color 0.15s; } #available-menu-items .open .accordion-section-title, @@ -621,29 +602,12 @@ content: none !important; } -#available-menu-items .accordion-section-title .toggle-indicator { - display: inline-block; - font-size: 20px; - line-height: 1; -} - -#available-menu-items .accordion-section-title .toggle-indicator:after { - content: '\f140'; - font: normal 20px/1 'dashicons'; - color: #a0a5aa; - vertical-align: top; - speak: none; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - text-decoration: none !important; -} - #available-menu-items .accordion-section-title:hover .toggle-indicator:after { color: #777; } #available-menu-items .open .accordion-section-title .toggle-indicator:after { - content: '\f142'; + content: "\f142"; } #available-menu-items .accordion-section-content { @@ -652,18 +616,6 @@ background: transparent; } -button.not-a-button { - background: transparent; - border: none; - -webkit-box-shadow: none; - box-shadow: none; - -webkit-border-radius: 0; - border-radius: 0; - outline: 0; - padding: 0; - margin: 0; -} - #available-menu-items .accordion-section-title button { display: block; width: 28px; @@ -671,14 +623,12 @@ button.not-a-button { position: absolute; top: 5px; right: 5px; + -webkit-box-shadow: none; + box-shadow: none; + outline: none; cursor: pointer; } -#available-menu-items .accordion-section-title button:focus { - -webkit-box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8); - box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8); -} - #available-menu-items .accordion-section-title .no-items, #available-menu-items .cannot-expand .accordion-section-title .spinner, #available-menu-items .cannot-expand .accordion-section-title > button { @@ -700,7 +650,6 @@ button.not-a-button { #available-menu-items .accordion-section-content { padding: 1px 15px 15px 15px; margin: 0; - min-height: 120px; max-height: 290px; } @@ -783,21 +732,35 @@ button.not-a-button { color: #82878c; width: 30px; height: 38px; + -webkit-box-shadow: none; + box-shadow: none; + outline: none; cursor: pointer; } #available-menu-items .menu-item-handle .item-add:focus { color: #23282d; - -webkit-box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8); - box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8); } #available-menu-items .item-add:before { content: "\f543"; - font: normal 20px/1 dashicons; position: relative; left: 2px; top: 3px; + display: inline-block; + height: 20px; + -webkit-border-radius: 50%; + border-radius: 50%; + font: normal 20px/1.05 dashicons; /* line height is to account for the dashicon's vertical alignment */ +} + +#available-menu-items .item-add:focus:before { + -webkit-box-shadow: + 0 0 0 1px #5b9dd9, + 0 0 2px 1px rgba(30, 140, 190, .8); + box-shadow: + 0 0 0 1px #5b9dd9, + 0 0 2px 1px rgba(30, 140, 190, .8); } #available-menu-items .menu-item-handle.item-added .item-type, @@ -980,11 +943,11 @@ body.adding-menu-items #customize-preview { } li.assigned-to-menu-location .menu-delete-item { - display: none; + display: none; } li.assigned-to-menu-location .add-new-menu-item { - margin-bottom: 1em; + margin-bottom: 1em; } .menu-delete { diff --git a/wp-admin/css/customize-nav-menus.min.css b/wp-admin/css/customize-nav-menus.min.css index 1702fba..f2158c4 100644 --- a/wp-admin/css/customize-nav-menus.min.css +++ b/wp-admin/css/customize-nav-menus.min.css @@ -1 +1 @@ -#accordion-section-menu_locations{position:relative;margin-bottom:15px}.menu-in-location,.menu-in-locations{display:block;font-weight:600;font-size:10px}#customize-controls .control-section .accordion-section-title:focus .menu-in-location,#customize-controls .control-section .accordion-section-title:focus .menu-in-locations,#customize-controls .control-section .accordion-section-title:hover .menu-in-location,#customize-controls .control-section .accordion-section-title:hover .menu-in-locations,#customize-controls .theme-location-set{color:#555}.wp-customizer .menu-item-bar .menu-item-handle,.wp-customizer .menu-item-settings,.wp-customizer .menu-item-settings .description-thin{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.wp-customizer .menu-item-bar{margin:0}.wp-customizer .menu-item-bar .menu-item-handle{width:100%;background:#fff}.wp-customizer .menu-item-handle .item-title{margin-right:0}.wp-customizer .menu-item-handle .item-type{padding:1px 21px 0 5px;float:right;text-align:right}.wp-customizer .menu-item-settings{max-width:100%;overflow:hidden;padding:10px;background:#eee;border:1px solid #999;border-top:none}.wp-customizer .menu-item-settings .description-thin{width:100%;height:auto;margin:0 0 8px}.wp-customizer .menu-item-settings input[type=text]{width:100%}.wp-customizer .menu-item-settings .submitbox{margin:0;padding:0}.wp-customizer .menu-item-settings .link-to-original{padding:5px 0;border:none;font-style:normal;margin:0;width:100%}.wp-customizer .menu-item .submitbox .submitdelete{display:block;float:left;margin:6px 0 0;padding:0;cursor:pointer}.wp-customizer .menu-item .submitbox .submitdelete:focus{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.customize-control-nav_menu .reorder-done,.customize-control-nav_menu .reordering .reorder{display:none}.customize-control-nav_menu .reorder,.customize-control-nav_menu .reordering .reorder-done{display:inline-block;padding:5px 8px}.menu-item-reorder-nav{display:none;background-color:#fff;position:absolute;top:0;right:0}.customize-control-nav_menu .reordering .add-new-menu-item{opacity:.2;pointer-events:none;cursor:not-allowed}.menu-item-reorder-nav button{position:relative;overflow:hidden;float:left;display:block;width:30px;height:40px;color:#82878c;text-indent:-9999px;cursor:pointer;background:0 0;border:none;-webkit-box-shadow:none;box-shadow:none;outline:0}.menu-item-reorder-nav button:before{display:inline-block;position:absolute;top:0;right:0;width:100%;height:100%;font:400 20px/40px dashicons;text-align:center;text-indent:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.menu-item-reorder-nav button:focus,.menu-item-reorder-nav button:hover{color:#191e23;background:#eee}.menus-move-down:before{content:'\f347'}.menus-move-up:before{content:'\f343'}.menus-move-left:before{content:'\f341'}.menus-move-right:before{content:'\f345'}.move-down-disabled .menus-move-down,.move-left-disabled .menus-move-left,.move-right-disabled .menus-move-right,.move-up-disabled .menus-move-up{color:#d5d5d5!important;background-color:#fff!important;cursor:default;pointer-events:none}.menu-item-reorder-nav:before{content:"";display:block;position:absolute;left:-10px;width:10px;height:40px;background:-webkit-linear-gradient(left,rgba(250,250,250,0) 0,rgba(250,250,250,1) 100%);background:-webkit-gradient(linear,left top,right top,from(rgba(250,250,250,0)),to(rgba(250,250,250,1)));background:-webkit-linear-gradient(left,rgba(250,250,250,0) 0,rgba(250,250,250,1) 100%);background:linear-gradient(to right,rgba(250,250,250,0) 0,rgba(250,250,250,1) 100%)}.reordering .menu-item .item-controls,.reordering .menu-item .item-type{display:none}.reordering .menu-item-reorder-nav{display:block}.customize-control input.menu-name-field{width:100%;margin:12px 0}.wp-customizer .menu-item .item-edit{position:absolute;right:-19px;top:2px;display:block;width:30px;height:38px;margin-right:0!important;outline:0;overflow:hidden;cursor:pointer}.customize-control-nav_menu_item .item-edit:focus{color:#0073aa;-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-customizer .menu-item .item-edit .toggle-indicator{display:inline-block;font-size:20px;line-height:1}.wp-customizer .menu-item .item-edit .toggle-indicator:after{content:'\f140';font:400 20px/1 dashicons;color:#a0a5aa;vertical-align:top;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}.wp-customizer .menu-item.menu-item-edit-active .item-edit .toggle-indicator:after{content:'\f142'}.wp-customizer .menu-item-settings p.description{font-style:normal}.wp-customizer .menu-settings dl{margin:12px 0 0;padding:0}.wp-customizer .menu-settings .checkbox-input{margin-top:8px}.wp-customizer .menu-settings .menu-theme-locations{border-top:1px solid #ccc}.wp-customizer .menu-settings{margin-top:36px;border-top:none}.menu-settings .customize-control-checkbox label{line-height:1}.menu-settings .customize-control.customize-control-checkbox{margin-bottom:8px}.customize-control-menu{margin-top:4px}#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle{color:#555}.customize-screen-options-toggle{background:0 0;border:none;color:#555;cursor:pointer;margin:0;padding:20px;position:absolute;right:0;top:30px}#customize-controls .customize-info .customize-help-toggle{padding:20px}#customize-controls .customize-info .customize-help-toggle:before{padding:4px}#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,.active-menu-screen-options .customize-screen-options-toggle,.customize-screen-options-toggle:active,.customize-screen-options-toggle:focus,.customize-screen-options-toggle:hover{color:#0073aa}#customize-controls .customize-info .customize-help-toggle:focus,.customize-screen-options-toggle:focus{outline:0}.customize-screen-options-toggle:before{-moz-osx-font-smoothing:grayscale;border:none;content:"\f111";display:block;font:18px/1 dashicons;padding:5px;text-align:center;text-decoration:none!important;text-indent:0;left:6px;position:absolute;top:6px}#customize-controls .customize-info .customize-help-toggle:focus:before,.customize-screen-options-toggle:focus:before{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);-webkit-border-radius:100%;border-radius:100%}.wp-customizer #screen-options-wrap{display:none;background:#fff;border-top:1px solid #ddd;padding:4px 15px 0}.wp-customizer .metabox-prefs label{display:block;padding-right:0;line-height:30px}#accordion-panel-nav_menus .field-attr-title,#accordion-panel-nav_menus .field-css-classes,#accordion-panel-nav_menus .field-description,#accordion-panel-nav_menus .field-link-target,#accordion-panel-nav_menus .field-xfn{display:none}#accordion-panel-nav_menus.field-attr-title-active .field-attr-title,#accordion-panel-nav_menus.field-css-classes-active .field-css-classes,#accordion-panel-nav_menus.field-description-active .field-description,#accordion-panel-nav_menus.field-link-target-active .field-link-target,#accordion-panel-nav_menus.field-xfn-active .field-xfn{display:block}.menu-item-depth-0{margin-left:0}.menu-item-depth-1{margin-left:20px}.menu-item-depth-2{margin-left:40px}.menu-item-depth-3{margin-left:60px}.menu-item-depth-4{margin-left:80px}.menu-item-depth-5{margin-left:100px}.menu-item-depth-6{margin-left:120px}.menu-item-depth-7{margin-left:140px}.menu-item-depth-8{margin-left:160px}.menu-item-depth-9{margin-left:180px}.menu-item-depth-10{margin-left:200px}.menu-item-depth-11{margin-left:220px}.menu-item-depth-0>.menu-item-bar{margin-right:0}.menu-item-depth-1>.menu-item-bar{margin-right:20px}.menu-item-depth-2>.menu-item-bar{margin-right:40px}.menu-item-depth-3>.menu-item-bar{margin-right:60px}.menu-item-depth-4>.menu-item-bar{margin-right:80px}.menu-item-depth-5>.menu-item-bar{margin-right:100px}.menu-item-depth-6>.menu-item-bar{margin-right:120px}.menu-item-depth-7>.menu-item-bar{margin-right:140px}.menu-item-depth-8>.menu-item-bar{margin-right:160px}.menu-item-depth-9>.menu-item-bar{margin-right:180px}.menu-item-depth-10>.menu-item-bar{margin-right:200px}.menu-item-depth-11>.menu-item-bar{margin-right:220px}.menu-item-depth-0 .menu-item-transport{margin-left:0}.menu-item-depth-1 .menu-item-transport{margin-left:-20px}.menu-item-depth-3 .menu-item-transport{margin-left:-60px}.menu-item-depth-4 .menu-item-transport{margin-left:-80px}.menu-item-depth-2 .menu-item-transport{margin-left:-40px}.menu-item-depth-5 .menu-item-transport{margin-left:-100px}.menu-item-depth-6 .menu-item-transport{margin-left:-120px}.menu-item-depth-7 .menu-item-transport{margin-left:-140px}.menu-item-depth-8 .menu-item-transport{margin-left:-160px}.menu-item-depth-9 .menu-item-transport{margin-left:-180px}.menu-item-depth-10 .menu-item-transport{margin-left:-200px}.menu-item-depth-11 .menu-item-transport{margin-left:-220px}.reordering .menu-item-depth-0{margin-left:0}.reordering .menu-item-depth-1{margin-left:15px}.reordering .menu-item-depth-2{margin-left:30px}.reordering .menu-item-depth-3{margin-left:45px}.reordering .menu-item-depth-4{margin-left:60px}.reordering .menu-item-depth-5{margin-left:75px}.reordering .menu-item-depth-6{margin-left:90px}.reordering .menu-item-depth-7{margin-left:105px}.reordering .menu-item-depth-8{margin-left:120px}.reordering .menu-item-depth-9{margin-left:135px}.reordering .menu-item-depth-10{margin-left:150px}.reordering .menu-item-depth-11{margin-left:165px}.reordering .menu-item-depth-0>.menu-item-bar{margin-right:0}.reordering .menu-item-depth-1>.menu-item-bar{margin-right:15px}.reordering .menu-item-depth-2>.menu-item-bar{margin-right:30px}.reordering .menu-item-depth-3>.menu-item-bar{margin-right:45px}.reordering .menu-item-depth-4>.menu-item-bar{margin-right:60px}.reordering .menu-item-depth-5>.menu-item-bar{margin-right:75px}.reordering .menu-item-depth-6>.menu-item-bar{margin-right:90px}.reordering .menu-item-depth-7>.menu-item-bar{margin-right:105px}.reordering .menu-item-depth-8>.menu-item-bar{margin-right:120px}.reordering .menu-item-depth-9>.menu-item-bar{margin-right:135px}.reordering .menu-item-depth-10>.menu-item-bar{margin-right:150px}.reordering .menu-item-depth-11>.menu-item-bar{margin-right:165px}.control-section-nav_menu .menu .menu-item-edit-active{margin-left:0}.control-section-nav_menu .menu .menu-item-edit-active .menu-item-bar{margin-right:0}.control-section-nav_menu .menu .sortable-placeholder{margin-top:0;margin-bottom:1px;max-width:-webkit-calc(100% - 2px);max-width:calc(100% - 2px);float:left;display:list-item;border-color:#a0a5aa}.menu-item-transport li.customize-control{float:none}.control-section-nav_menu .menu ul.menu-item-transport .menu-item-bar{margin-top:0}.wp-full-overlay-main{right:auto;width:100%}.adding-menu-items .control-section{opacity:.4}.adding-menu-items .control-panel.control-section,.adding-menu-items .control-section.open{opacity:1}#customize-theme-controls .add-new-menu-item{cursor:pointer;float:right;margin-left:10px;-webkit-transition:all .2s;transition:all .2s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:0}.add-new-menu-item:before{content:"\f132";display:inline-block;position:relative;left:-2px;top:-1px;font:400 20px/1 dashicons;vertical-align:middle;-webkit-transition:all .2s;transition:all .2s;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.add-menu-toggle.open,.add-menu-toggle.open:hover,.adding-menu-items .add-new-menu-item,.adding-menu-items .add-new-menu-item:hover{background:#eee;border-color:#929793;color:#32373c;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}#accordion-section-add_menu .add-new-menu-item.open:before,.adding-menu-items .add-new-menu-item:before{-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.menu-item-bar .item-delete{color:#a00;position:absolute;top:2px;right:-19px;width:30px;height:38px;cursor:pointer;display:none}.menu-item-bar .item-delete:before{content:"\f335";font:400 20px/1 dashicons;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;top:9px;left:5px}.ie8 .menu-item-bar .item-delete:before{top:-10px}.menu-item-bar .item-delete:focus,.menu-item-bar .item-delete:hover{color:red}.menu-item-bar .item-delete:focus{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.adding-menu-items .menu-item-bar .item-edit{display:none}.adding-menu-items .menu-item-bar .item-delete{display:block}#available-menu-items .item{position:static}#available-menu-items{position:absolute;top:0;bottom:0;left:-301px;visibility:hidden;overflow-x:hidden;overflow-y:auto;width:300px;margin:0;z-index:4;background:#eee;-webkit-transition:left .18s;transition:left .18s;border-right:1px solid #ddd}#available-menu-items.opening{overflow-y:hidden}#available-menu-items #available-menu-items-search.open{height:100%;border-bottom:none}#available-menu-items .accordion-section-title{border-left:none;border-right:none;background:#fff}#available-menu-items #available-menu-items-search .accordion-section-title,#available-menu-items .open .accordion-section-title{background:#eee}#available-menu-items .accordion-section-title:after{content:none!important}#available-menu-items .accordion-section-title .toggle-indicator{display:inline-block;font-size:20px;line-height:1}#available-menu-items .accordion-section-title .toggle-indicator:after{content:'\f140';font:400 20px/1 dashicons;color:#a0a5aa;vertical-align:top;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}#available-menu-items .accordion-section-title:hover .toggle-indicator:after{color:#777}#available-menu-items .open .accordion-section-title .toggle-indicator:after{content:'\f142'}button.not-a-button{background:0 0;border:none;-webkit-box-shadow:none;box-shadow:none;-webkit-border-radius:0;border-radius:0;outline:0;padding:0;margin:0}#available-menu-items .accordion-section-title button{display:block;width:28px;height:35px;position:absolute;top:5px;right:5px;cursor:pointer}#available-menu-items .accordion-section-title button:focus{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}#available-menu-items .accordion-section-title .no-items,#available-menu-items .cannot-expand .accordion-section-title .spinner,#available-menu-items .cannot-expand .accordion-section-title>button{display:none}#available-menu-items-search.cannot-expand .accordion-section-title .spinner{display:block}#available-menu-items .cannot-expand .accordion-section-title .no-items{display:block;color:#777;font-weight:400;float:right;margin-left:5px}#available-menu-items .accordion-section-content{overflow-y:auto;background:0 0;padding:1px 15px 15px;margin:0;min-height:120px;max-height:290px}#available-menu-items #available-menu-items-search .accordion-section-content{position:absolute;left:1px;top:60px;bottom:0;max-height:none;width:100%;padding:1px 15px 15px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#available-menu-items .menu-item-tpl{margin:0}#custom-menu-item-name.invalid,#custom-menu-item-url.invalid,.menu-name-field.invalid,.menu-name-field.invalid:focus{border:1px solid red}#available-menu-items .item-tpl{position:relative;padding:20px 15px 20px 60px;border-bottom:1px solid #e4e4e4;cursor:pointer;display:none}#available-menu-items .item-tpl.selected,#available-menu-items .item-tpl:hover{background:#eee}#available-menu-items .menu-item-handle .item-type{padding-right:0}#available-menu-items .menu-item-handle .item-title{padding-left:20px}#available-menu-items .item-top,#available-menu-items .item-top:hover{border:none;background:0 0;-webkit-box-shadow:none;box-shadow:none}#available-menu-items .menu-item-handle{cursor:pointer;-webkit-box-shadow:none;box-shadow:none;margin-top:-1px}#available-menu-items .menu-item-handle:hover{z-index:1}#available-menu-items .item-title h4{padding:0 0 5px;font-size:14px}#available-menu-items .item-add{position:absolute;top:1px;left:1px;color:#82878c;width:30px;height:38px;cursor:pointer}#available-menu-items .menu-item-handle .item-add:focus{color:#23282d;-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}#available-menu-items .item-add:before{content:"\f543";font:400 20px/1 dashicons;position:relative;left:2px;top:3px}#available-menu-items .menu-item-handle.item-added .item-add:focus,#available-menu-items .menu-item-handle.item-added .item-title,#available-menu-items .menu-item-handle.item-added .item-type,#available-menu-items .menu-item-handle.item-added:hover .item-add{color:#82878c}#available-menu-items .menu-item-handle.item-added .item-add:before{content:"\f147"}#available-menu-items .accordion-section-title.loading .spinner,#available-menu-items-search.loading .accordion-section-title .spinner{visibility:visible;margin:0 20px}#available-menu-items-search .clear-results{position:absolute;top:20px;right:20px;width:20px;height:20px;cursor:pointer;color:#a00;text-decoration:none}#available-menu-items-search .clear-results,#available-menu-items-search.loading .clear-results.is-visible{display:none}#available-menu-items-search .clear-results.is-visible{display:block}#available-menu-items-search .clear-results:before{content:"\f335";font:400 20px/1 dashicons;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#available-menu-items-search .clear-results:focus,#available-menu-items-search .clear-results:hover{color:red}#available-menu-items-search .clear-results:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}#available-menu-items-search .clear-results:focus,.menu-delete:focus{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}#available-menu-items-search .spinner{position:absolute;top:20px;margin:0!important;right:20px}#available-menu-items-search input{padding:6px 10px;width:100%}#available-menu-items-search .accordion-section-title{padding:12px 15px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#available-menu-items-search .accordion-section-title:after{display:none}#available-menu-items-search .accordion-section-content:empty{min-height:0;padding:0}#available-menu-items-search.loading .accordion-section-content div{opacity:.5}#available-menu-items-search.loading.loading-more .accordion-section-content div{opacity:1}#customize-preview{-webkit-transition:all .2s;transition:all .2s}body.adding-menu-items #available-menu-items{left:0;visibility:visible}body.adding-menu-items .wp-full-overlay-main{left:300px}body.adding-menu-items #customize-preview{opacity:.4}.menu-item-handle .spinner{display:none;float:left;margin:0 8px 0 0}.nav-menu-inserted-item-loading .spinner{display:block}.nav-menu-inserted-item-loading .menu-item-handle .item-type{padding:0 0 0 8px}.added-menu-item .menu-item-handle.loading,.nav-menu-inserted-item-loading .menu-item-handle{padding:10px 15px 10px 8px;cursor:default;opacity:.5;background:#fff;color:#727773}.added-menu-item .menu-item-handle{-webkit-transition-property:opacity,background,color;transition-property:opacity,background,color;-webkit-transition-duration:1.25s;transition-duration:1.25s;-webkit-transition-timing-function:cubic-bezier(.25,-2.5,.75,8);transition-timing-function:cubic-bezier(.25,-2.5,.75,8)}#accordion-section-add_menu{margin:15px 12px}.new-menu-section-content{display:none;padding:15px 0 0;clear:both}#accordion-section-add_menu .accordion-section-title{padding-left:45px}#accordion-section-add_menu .accordion-section-title:before{font:400 20px/1 dashicons;position:absolute;top:12px;left:14px;content:"\f132"}#create-new-menu-submit{float:right;margin:0 0 12px}.menu-delete-item{display:block;float:left;padding:1em 0;width:100%}#available-menu-items .customize-section-title,li.assigned-to-menu-location .menu-delete-item{display:none}li.assigned-to-menu-location .add-new-menu-item{margin-bottom:1em}.menu-delete{color:#a00;cursor:pointer;text-decoration:underline}.menu-delete:focus,.menu-delete:hover{color:red;text-decoration:none}.menu-delete:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.menu-item-handle{margin-top:-1px}.ui-sortable-disabled .menu-item-handle{cursor:default}.menu-item-handle:hover{position:relative;z-index:10;color:#0073aa}#available-menu-items .menu-item-handle:hover .item-add,.menu-item-handle:hover .item-edit,.menu-item-handle:hover .item-type{color:#0073aa}.menu-item-edit-active .menu-item-handle{border-color:#999;border-bottom:none}.customize-control-nav_menu_item{margin-bottom:0}.customize-control-nav_menu{margin-top:12px}@media screen and (max-width:782px){#available-menu-items #available-menu-items-search .accordion-section-content{top:63px}}@media screen and (max-width:640px){body.adding-menu-items div#available-menu-items{top:46px;left:0;z-index:10;width:100%}#available-menu-items #available-menu-items-search .accordion-section-content{top:133px}#available-menu-items .customize-section-title{display:block;margin:0}#available-menu-items .customize-section-back{height:69px}#available-menu-items .customize-section-title h3{font-size:20px;font-weight:200;padding:9px 10px 12px 14px;margin:0;line-height:24px;color:#555;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#available-menu-items .customize-section-title .customize-action{font-size:13px;display:block;font-weight:400;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}} \ No newline at end of file +#accordion-section-menu_locations{position:relative;margin-bottom:15px}.menu-in-location,.menu-in-locations{display:block;font-weight:600;font-size:10px}#customize-controls .control-section .accordion-section-title:focus .menu-in-location,#customize-controls .control-section .accordion-section-title:focus .menu-in-locations,#customize-controls .control-section .accordion-section-title:hover .menu-in-location,#customize-controls .control-section .accordion-section-title:hover .menu-in-locations,#customize-controls .theme-location-set{color:#555}.wp-customizer .menu-item-bar .menu-item-handle,.wp-customizer .menu-item-settings,.wp-customizer .menu-item-settings .description-thin{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.wp-customizer .menu-item-bar{margin:0}.wp-customizer .menu-item-bar .menu-item-handle{width:100%;background:#fff}.wp-customizer .menu-item-handle .item-title{margin-right:0}.wp-customizer .menu-item-handle .item-type{padding:1px 21px 0 5px;float:right;text-align:right}.wp-customizer .menu-item-settings{max-width:100%;overflow:hidden;padding:10px;background:#eee;border:1px solid #999;border-top:none}.wp-customizer .menu-item-settings .description-thin{width:100%;height:auto;margin:0 0 8px}.wp-customizer .menu-item-settings input[type=text]{width:100%}.wp-customizer .menu-item-settings .submitbox{margin:0;padding:0}.wp-customizer .menu-item-settings .link-to-original{padding:5px 0;border:none;font-style:normal;margin:0;width:100%}.wp-customizer .menu-item .submitbox .submitdelete{display:block;float:left;margin:6px 0 0;padding:0;cursor:pointer}.wp-customizer .menu-item .submitbox .submitdelete:focus{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.menu-item-reorder-nav{display:none;background-color:#fff;position:absolute;top:0;right:0}.menu-item-reorder-nav button{position:relative;overflow:hidden;float:left;display:block;width:30px;height:40px;color:#82878c;text-indent:-9999px;cursor:pointer;background:0 0;border:none;-webkit-box-shadow:none;box-shadow:none;outline:0}.menu-item-reorder-nav button:before{display:inline-block;position:absolute;top:0;right:0;width:100%;height:100%;font:400 20px/40px dashicons;text-align:center;text-indent:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.menu-item-reorder-nav button:focus,.menu-item-reorder-nav button:hover{color:#191e23;background:#eee}.menus-move-down:before{content:"\f347"}.menus-move-up:before{content:"\f343"}.menus-move-left:before{content:"\f341"}.menus-move-right:before{content:"\f345"}.move-down-disabled .menus-move-down,.move-left-disabled .menus-move-left,.move-right-disabled .menus-move-right,.move-up-disabled .menus-move-up{color:#d5d5d5!important;background-color:#fff!important;cursor:default;pointer-events:none}.menu-item-reorder-nav:before{content:"";display:block;position:absolute;left:-10px;width:10px;height:40px;background:-webkit-gradient(linear,left top,right top,from(rgba(250,250,250,0)),to(rgba(250,250,250,1)));background:-webkit-linear-gradient(left,rgba(250,250,250,0) 0,rgba(250,250,250,1) 100%);background:linear-gradient(to right,rgba(250,250,250,0) 0,rgba(250,250,250,1) 100%)}.reordering .menu-item .item-controls,.reordering .menu-item .item-type{display:none}.reordering .menu-item-reorder-nav{display:block}.customize-control input.menu-name-field{width:100%;margin:12px 0}.wp-customizer .menu-item .item-edit{position:absolute;right:-19px;top:2px;display:block;width:30px;height:38px;margin-right:0!important;-webkit-box-shadow:none;box-shadow:none;outline:0;overflow:hidden;cursor:pointer}.wp-customizer .menu-item.menu-item-edit-active .item-edit .toggle-indicator:after{content:"\f142"}.wp-customizer .menu-item-settings p.description{font-style:normal}.wp-customizer .menu-settings dl{margin:12px 0 0;padding:0}.wp-customizer .menu-settings .checkbox-input{margin-top:8px}.wp-customizer .menu-settings .menu-theme-locations{border-top:1px solid #ccc}.wp-customizer .menu-settings{margin-top:36px;border-top:none}.menu-settings .customize-control-checkbox label{line-height:1}.menu-settings .customize-control.customize-control-checkbox{margin-bottom:8px}.customize-control-menu{margin-top:4px}#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle{color:#555}.customize-screen-options-toggle{background:0 0;border:none;color:#555;cursor:pointer;margin:0;padding:20px;position:absolute;right:0;top:30px}#customize-controls .customize-info .customize-help-toggle{padding:20px}#customize-controls .customize-info .customize-help-toggle:before{padding:4px}#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus,#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,.active-menu-screen-options .customize-screen-options-toggle,.customize-screen-options-toggle:active,.customize-screen-options-toggle:focus,.customize-screen-options-toggle:hover{color:#0073aa}#customize-controls .customize-info .customize-help-toggle:focus,.customize-screen-options-toggle:focus{outline:0}.customize-screen-options-toggle:before{-moz-osx-font-smoothing:grayscale;border:none;content:"\f111";display:block;font:18px/1 dashicons;padding:5px;text-align:center;text-decoration:none!important;text-indent:0;left:6px;position:absolute;top:6px}#customize-controls .customize-info .customize-help-toggle:focus:before,.customize-screen-options-toggle:focus:before{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);-webkit-border-radius:100%;border-radius:100%}.wp-customizer #screen-options-wrap{display:none;background:#fff;border-top:1px solid #ddd;padding:4px 15px 15px}.wp-customizer .metabox-prefs label{display:block;padding-right:0;line-height:30px}.wp-customizer .toggle-indicator{display:inline-block;font-size:20px;line-height:1;text-indent:-1px}.rtl .wp-customizer .toggle-indicator{text-indent:1px}.wp-customizer .toggle-indicator:after{content:"\f140";speak:none;vertical-align:top;-webkit-border-radius:50%;border-radius:50%;color:#a0a5aa;font:400 20px/1 dashicons;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}.wp-customizer button:focus .toggle-indicator:after{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}#accordion-panel-nav_menus .field-attr-title,#accordion-panel-nav_menus .field-css-classes,#accordion-panel-nav_menus .field-description,#accordion-panel-nav_menus .field-link-target,#accordion-panel-nav_menus .field-xfn{display:none}#accordion-panel-nav_menus.field-attr-title-active .field-attr-title,#accordion-panel-nav_menus.field-css-classes-active .field-css-classes,#accordion-panel-nav_menus.field-description-active .field-description,#accordion-panel-nav_menus.field-link-target-active .field-link-target,#accordion-panel-nav_menus.field-xfn-active .field-xfn{display:block}.menu-item-depth-0{margin-left:0}.menu-item-depth-1{margin-left:20px}.menu-item-depth-2{margin-left:40px}.menu-item-depth-3{margin-left:60px}.menu-item-depth-4{margin-left:80px}.menu-item-depth-5{margin-left:100px}.menu-item-depth-6{margin-left:120px}.menu-item-depth-7{margin-left:140px}.menu-item-depth-8{margin-left:160px}.menu-item-depth-9{margin-left:180px}.menu-item-depth-10{margin-left:200px}.menu-item-depth-11{margin-left:220px}.menu-item-depth-0>.menu-item-bar{margin-right:0}.menu-item-depth-1>.menu-item-bar{margin-right:20px}.menu-item-depth-2>.menu-item-bar{margin-right:40px}.menu-item-depth-3>.menu-item-bar{margin-right:60px}.menu-item-depth-4>.menu-item-bar{margin-right:80px}.menu-item-depth-5>.menu-item-bar{margin-right:100px}.menu-item-depth-6>.menu-item-bar{margin-right:120px}.menu-item-depth-7>.menu-item-bar{margin-right:140px}.menu-item-depth-8>.menu-item-bar{margin-right:160px}.menu-item-depth-9>.menu-item-bar{margin-right:180px}.menu-item-depth-10>.menu-item-bar{margin-right:200px}.menu-item-depth-11>.menu-item-bar{margin-right:220px}.menu-item-depth-0 .menu-item-transport{margin-left:0}.menu-item-depth-1 .menu-item-transport{margin-left:-20px}.menu-item-depth-3 .menu-item-transport{margin-left:-60px}.menu-item-depth-4 .menu-item-transport{margin-left:-80px}.menu-item-depth-2 .menu-item-transport{margin-left:-40px}.menu-item-depth-5 .menu-item-transport{margin-left:-100px}.menu-item-depth-6 .menu-item-transport{margin-left:-120px}.menu-item-depth-7 .menu-item-transport{margin-left:-140px}.menu-item-depth-8 .menu-item-transport{margin-left:-160px}.menu-item-depth-9 .menu-item-transport{margin-left:-180px}.menu-item-depth-10 .menu-item-transport{margin-left:-200px}.menu-item-depth-11 .menu-item-transport{margin-left:-220px}.reordering .menu-item-depth-0{margin-left:0}.reordering .menu-item-depth-1{margin-left:15px}.reordering .menu-item-depth-2{margin-left:30px}.reordering .menu-item-depth-3{margin-left:45px}.reordering .menu-item-depth-4{margin-left:60px}.reordering .menu-item-depth-5{margin-left:75px}.reordering .menu-item-depth-6{margin-left:90px}.reordering .menu-item-depth-7{margin-left:105px}.reordering .menu-item-depth-8{margin-left:120px}.reordering .menu-item-depth-9{margin-left:135px}.reordering .menu-item-depth-10{margin-left:150px}.reordering .menu-item-depth-11{margin-left:165px}.reordering .menu-item-depth-0>.menu-item-bar{margin-right:0}.reordering .menu-item-depth-1>.menu-item-bar{margin-right:15px}.reordering .menu-item-depth-2>.menu-item-bar{margin-right:30px}.reordering .menu-item-depth-3>.menu-item-bar{margin-right:45px}.reordering .menu-item-depth-4>.menu-item-bar{margin-right:60px}.reordering .menu-item-depth-5>.menu-item-bar{margin-right:75px}.reordering .menu-item-depth-6>.menu-item-bar{margin-right:90px}.reordering .menu-item-depth-7>.menu-item-bar{margin-right:105px}.reordering .menu-item-depth-8>.menu-item-bar{margin-right:120px}.reordering .menu-item-depth-9>.menu-item-bar{margin-right:135px}.reordering .menu-item-depth-10>.menu-item-bar{margin-right:150px}.reordering .menu-item-depth-11>.menu-item-bar{margin-right:165px}.control-section-nav_menu .menu .menu-item-edit-active{margin-left:0}.control-section-nav_menu .menu .menu-item-edit-active .menu-item-bar{margin-right:0}.control-section-nav_menu .menu .sortable-placeholder{margin-top:0;margin-bottom:1px;max-width:-webkit-calc(100% - 2px);max-width:calc(100% - 2px);float:left;display:list-item;border-color:#a0a5aa}.menu-item-transport li.customize-control{float:none}.control-section-nav_menu .menu ul.menu-item-transport .menu-item-bar{margin-top:0}.wp-full-overlay-main{right:auto;width:100%}.adding-menu-items .control-section{opacity:.4}.adding-menu-items .control-panel.control-section,.adding-menu-items .control-section.open{opacity:1}.add-menu-toggle.open,.add-menu-toggle.open:hover,.adding-menu-items .add-new-menu-item,.adding-menu-items .add-new-menu-item:hover{background:#eee;border-color:#929793;color:#32373c;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}#accordion-section-add_menu .add-new-menu-item.open:before,.adding-menu-items .add-new-menu-item:before{-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.menu-item-bar .item-delete{color:#a00;position:absolute;top:2px;right:-19px;width:30px;height:38px;cursor:pointer;display:none}.menu-item-bar .item-delete:before{content:"\f335";position:absolute;top:9px;left:5px;-webkit-border-radius:50%;border-radius:50%;font:400 20px/1 dashicons;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ie8 .menu-item-bar .item-delete:before{top:-10px}.menu-item-bar .item-delete:focus,.menu-item-bar .item-delete:hover{-webkit-box-shadow:none;box-shadow:none;outline:0;color:red}.menu-item-bar .item-delete:focus:before{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.adding-menu-items .menu-item-bar .item-edit{display:none}.adding-menu-items .menu-item-bar .item-delete{display:block}#available-menu-items .item{position:static}#available-menu-items{position:absolute;top:0;bottom:0;left:-301px;visibility:hidden;overflow-x:hidden;overflow-y:auto;width:300px;margin:0;z-index:4;background:#eee;-webkit-transition:left .18s;transition:left .18s;border-right:1px solid #ddd}#available-menu-items.opening{overflow-y:hidden}#available-menu-items #available-menu-items-search.open{height:100%;border-bottom:none}#available-menu-items .accordion-section-title{border-left:none;border-right:none;background:#fff;-webkit-transition:background-color .15s;transition:background-color .15s}#available-menu-items #available-menu-items-search .accordion-section-title,#available-menu-items .open .accordion-section-title{background:#eee}#available-menu-items .accordion-section-title:after{content:none!important}#available-menu-items .accordion-section-title:hover .toggle-indicator:after{color:#777}#available-menu-items .open .accordion-section-title .toggle-indicator:after{content:"\f142"}#available-menu-items .accordion-section-title button{display:block;width:28px;height:35px;position:absolute;top:5px;right:5px;-webkit-box-shadow:none;box-shadow:none;outline:0;cursor:pointer}#available-menu-items .accordion-section-title .no-items,#available-menu-items .cannot-expand .accordion-section-title .spinner,#available-menu-items .cannot-expand .accordion-section-title>button{display:none}#available-menu-items-search.cannot-expand .accordion-section-title .spinner{display:block}#available-menu-items .cannot-expand .accordion-section-title .no-items{display:block;color:#777;font-weight:400;float:right;margin-left:5px}#available-menu-items .accordion-section-content{overflow-y:auto;background:0 0;padding:1px 15px 15px;margin:0;max-height:290px}#available-menu-items #available-menu-items-search .accordion-section-content{position:absolute;left:1px;top:60px;bottom:0;max-height:none;width:100%;padding:1px 15px 15px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#available-menu-items .menu-item-tpl{margin:0}#custom-menu-item-name.invalid,#custom-menu-item-url.invalid,.menu-name-field.invalid,.menu-name-field.invalid:focus{border:1px solid red}#available-menu-items .item-tpl{position:relative;padding:20px 15px 20px 60px;border-bottom:1px solid #e4e4e4;cursor:pointer;display:none}#available-menu-items .item-tpl.selected,#available-menu-items .item-tpl:hover{background:#eee}#available-menu-items .menu-item-handle .item-type{padding-right:0}#available-menu-items .menu-item-handle .item-title{padding-left:20px}#available-menu-items .item-top,#available-menu-items .item-top:hover{border:none;background:0 0;-webkit-box-shadow:none;box-shadow:none}#available-menu-items .menu-item-handle{cursor:pointer;-webkit-box-shadow:none;box-shadow:none;margin-top:-1px}#available-menu-items .menu-item-handle:hover{z-index:1}#available-menu-items .item-title h4{padding:0 0 5px;font-size:14px}#available-menu-items .item-add{position:absolute;top:1px;left:1px;color:#82878c;width:30px;height:38px;-webkit-box-shadow:none;box-shadow:none;outline:0;cursor:pointer}#available-menu-items .menu-item-handle .item-add:focus{color:#23282d}#available-menu-items .item-add:before{content:"\f543";position:relative;left:2px;top:3px;display:inline-block;height:20px;-webkit-border-radius:50%;border-radius:50%;font:400 20px/1.05 dashicons}#available-menu-items .item-add:focus:before{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}#available-menu-items .menu-item-handle.item-added .item-add:focus,#available-menu-items .menu-item-handle.item-added .item-title,#available-menu-items .menu-item-handle.item-added .item-type,#available-menu-items .menu-item-handle.item-added:hover .item-add{color:#82878c}#available-menu-items .menu-item-handle.item-added .item-add:before{content:"\f147"}#available-menu-items .accordion-section-title.loading .spinner,#available-menu-items-search.loading .accordion-section-title .spinner{visibility:visible;margin:0 20px}#available-menu-items-search .clear-results{position:absolute;top:20px;right:20px;width:20px;height:20px;cursor:pointer;color:#a00;text-decoration:none}#available-menu-items-search .clear-results,#available-menu-items-search.loading .clear-results.is-visible{display:none}#available-menu-items-search .clear-results.is-visible{display:block}#available-menu-items-search .clear-results:before{content:"\f335";font:400 20px/1 dashicons;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#available-menu-items-search .clear-results:focus,#available-menu-items-search .clear-results:hover{color:red}#available-menu-items-search .clear-results:focus{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}#available-menu-items-search .spinner{position:absolute;top:20px;margin:0!important;right:20px}#available-menu-items-search input{padding:6px 10px;width:100%}#available-menu-items-search .accordion-section-title{padding:12px 15px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#available-menu-items-search .accordion-section-title:after{display:none}#available-menu-items-search .accordion-section-content:empty{min-height:0;padding:0}#available-menu-items-search.loading .accordion-section-content div{opacity:.5}#available-menu-items-search.loading.loading-more .accordion-section-content div{opacity:1}#customize-preview{-webkit-transition:all .2s;transition:all .2s}body.adding-menu-items #available-menu-items{left:0;visibility:visible}body.adding-menu-items .wp-full-overlay-main{left:300px}body.adding-menu-items #customize-preview{opacity:.4}.menu-item-handle .spinner{display:none;float:left;margin:0 8px 0 0}.nav-menu-inserted-item-loading .spinner{display:block}.nav-menu-inserted-item-loading .menu-item-handle .item-type{padding:0 0 0 8px}.added-menu-item .menu-item-handle.loading,.nav-menu-inserted-item-loading .menu-item-handle{padding:10px 15px 10px 8px;cursor:default;opacity:.5;background:#fff;color:#727773}.added-menu-item .menu-item-handle{-webkit-transition-property:opacity,background,color;transition-property:opacity,background,color;-webkit-transition-duration:1.25s;transition-duration:1.25s;-webkit-transition-timing-function:cubic-bezier(.25,-2.5,.75,8);transition-timing-function:cubic-bezier(.25,-2.5,.75,8)}#accordion-section-add_menu{margin:15px 12px}.new-menu-section-content{display:none;padding:15px 0 0;clear:both}#accordion-section-add_menu .accordion-section-title{padding-left:45px}#accordion-section-add_menu .accordion-section-title:before{font:400 20px/1 dashicons;position:absolute;top:12px;left:14px;content:"\f132"}#create-new-menu-submit{float:right;margin:0 0 12px}.menu-delete-item{display:block;float:left;padding:1em 0;width:100%}#available-menu-items .customize-section-title,li.assigned-to-menu-location .menu-delete-item{display:none}li.assigned-to-menu-location .add-new-menu-item{margin-bottom:1em}.menu-delete{color:#a00;cursor:pointer;text-decoration:underline}.menu-delete:focus,.menu-delete:hover{color:red;text-decoration:none}.menu-delete:focus{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.menu-item-handle{margin-top:-1px}.ui-sortable-disabled .menu-item-handle{cursor:default}.menu-item-handle:hover{position:relative;z-index:10;color:#0073aa}#available-menu-items .menu-item-handle:hover .item-add,.menu-item-handle:hover .item-edit,.menu-item-handle:hover .item-type{color:#0073aa}.menu-item-edit-active .menu-item-handle{border-color:#999;border-bottom:none}.customize-control-nav_menu_item{margin-bottom:0}.customize-control-nav_menu{margin-top:12px}@media screen and (max-width:782px){#available-menu-items #available-menu-items-search .accordion-section-content{top:63px}}@media screen and (max-width:640px){body.adding-menu-items div#available-menu-items{top:46px;left:0;z-index:10;width:100%}#available-menu-items #available-menu-items-search .accordion-section-content{top:133px}#available-menu-items .customize-section-title{display:block;margin:0}#available-menu-items .customize-section-back{height:69px}#available-menu-items .customize-section-title h3{font-size:20px;font-weight:200;padding:9px 10px 12px 14px;margin:0;line-height:24px;color:#555;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#available-menu-items .customize-section-title .customize-action{font-size:13px;display:block;font-weight:400;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}} \ No newline at end of file diff --git a/wp-admin/css/customize-widgets-rtl.css b/wp-admin/css/customize-widgets-rtl.css index 95c682d..bbe44c3 100644 --- a/wp-admin/css/customize-widgets-rtl.css +++ b/wp-admin/css/customize-widgets-rtl.css @@ -117,44 +117,8 @@ } /** -* Widget reordering styles -**/ - -.reorder-toggle { - float: left; - padding: 5px 8px; - text-decoration: none; - cursor: pointer; - outline: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} -.reorder-toggle:focus { - outline: 1px dotted; -} - -.reorder-done, -.reordering .reorder { - display: none; -} - -.reordering .reorder-done { - display: block; - color: #0073aa; -} - -.reordering .reorder-done:hover, -.reordering .reorder-done:active { - color: #00a0d2; -} - -#customize-theme-controls .reordering .add-new-widget { - opacity: 0.2; - pointer-events: none; - cursor: not-allowed; -} + * Widget reordering styles + */ #customize-theme-controls .widget-reorder-nav { display: none; @@ -182,7 +146,7 @@ left: 0; width: 100%; height: 100%; - font: normal 20px/43px 'dashicons'; + font: normal 20px/43px dashicons; text-align: center; text-indent: 0; -webkit-font-smoothing: antialiased; @@ -196,15 +160,15 @@ } .move-widget:before { - content: '\f504'; + content: "\f504"; } .move-widget-down:before { - content: '\f347'; + content: "\f347"; } .move-widget-up:before { - content: '\f343'; + content: "\f343"; } #customize-theme-controls .first-widget .move-widget-up, @@ -213,7 +177,7 @@ cursor: default; } -#customize-theme-controls .move-widget-area { +#customize-theme-controls .move-widget-area { display: none; background: #fff; border: 1px solid #dedede; @@ -252,11 +216,11 @@ #customize-theme-controls .widget-area-select li:before { display: none; - content: '\f147'; + content: "\f147"; position: absolute; top: 12px; right: 10px; - font: normal 20px/1 'dashicons'; + font: normal 20px/1 dashicons; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } @@ -288,42 +252,15 @@ display: block; } - /** * Styles for new widget addition panel */ + .wp-full-overlay-main { left: auto; /* this overrides a right: 0; which causes the preview to resize, I'd rather have it go off screen at the normal size. */ width: 100%; } -#customize-theme-controls .add-new-widget { - cursor: pointer; - float: left; - margin-right: 10px; - -webkit-transition: all 0.2s; - transition: all 0.2s; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - outline: none; -} - -.add-new-widget:before { - content: "\f132"; - display: inline-block; - position: relative; - right: -2px; - top: -1px; - font: normal 20px/1 'dashicons'; - vertical-align: middle; - -webkit-transition: all 0.2s; - transition: all 0.2s; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - body.adding-widget .add-new-widget, body.adding-widget .add-new-widget:hover { background: #eee; @@ -419,7 +356,11 @@ body.adding-widget .add-new-widget:before { box-shadow: none; } -#available-widgets .widget-title h4 { +#customize-controls .widget-title h3 { + font-size: 1em; +} + +#available-widgets .widget-title h3 { padding: 0 0 5px; font-size: 14px; } @@ -452,7 +393,8 @@ body.adding-widget #customize-preview { * Widget Icon styling * No plurals in naming. * Ordered from lowest to highest specificity. - **/ + */ + #available-widgets .widget-title { position: relative; } @@ -466,7 +408,7 @@ body.adding-widget #customize-preview { width: 20px; height: 20px; color: #32373c; - font: normal 20px/1 'dashicons'; + font: normal 20px/1 dashicons; text-align: center; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; @@ -621,12 +563,9 @@ body.adding-widget #customize-preview { .last-widget { margin-bottom: 15px; } - .widget-title h4 { + .widget-title h3 { padding: 13px 15px; } - .widget-top a.widget-action:after { - padding-top: 9px; - } .widget-reorder-nav span { height: 39px; } diff --git a/wp-admin/css/customize-widgets-rtl.min.css b/wp-admin/css/customize-widgets-rtl.min.css index 9d9cc39..c85c2b4 100644 --- a/wp-admin/css/customize-widgets-rtl.min.css +++ b/wp-admin/css/customize-widgets-rtl.min.css @@ -1 +1 @@ -.control-section.control-section-sidebar .accordion-section-content.ui-sortable,.wp-full-overlay-sidebar{overflow:visible}#widget-customizer-control-templates,.control-section.control-section-sidebar,.customize-control-sidebar_widgets .hide-if-js,.customize-control-sidebar_widgets label,.customize-control-widget_form .widget-control-save,.reorder-done,.reordering .reorder{display:none}.customize-control-widget_form .widget-top{-webkit-transition:opacity .5s;transition:opacity .5s}.customize-control-widget_form:not(.widget-rendered) .widget-top{opacity:.5}.customize-control-widget_form .spinner{visibility:hidden;margin-top:0}.customize-control-widget_form.previewer-loading .spinner{visibility:visible}.customize-control-widget_form.widget-form-disabled .widget-content{opacity:.7;pointer-events:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.customize-control-widget_form .widget{margin-bottom:0}.customize-control-widget_form.wide-widget-control .widget-inside{position:fixed;right:299px;top:25%;border:1px solid #e5e5e5;overflow:auto}.customize-control-widget_form.wide-widget-control .widget-inside>.form{padding:20px}.customize-control-widget_form.wide-widget-control .widget-top{-webkit-transition:background-color .4s;transition:background-color .4s}.customize-control-widget_form.wide-widget-control.expanded:not(.collapsing) .widget-top,.customize-control-widget_form.wide-widget-control.expanding .widget-top{background-color:#e3e3e3}.widget-inside{padding:1px 10px 10px;border-top:none;line-height:16px}.widget-top{cursor:move}.customize-control-widget_form.expanded a.widget-action:after{content:"\f142"}.customize-control-widget_form.wide-widget-control a.widget-action:after{content:"\f141"}.customize-control-widget_form.wide-widget-control.expanded a.widget-action:after{content:"\f139"}.widget-title-action{cursor:pointer}.customize-control-widget_form .widget .customize-control-title{cursor:move}.control-section.accordion-section.highlighted>.accordion-section-title,.customize-control-widget_form.highlighted{outline:0;-webkit-box-shadow:0 0 2px rgba(30,140,190,.8);box-shadow:0 0 2px rgba(30,140,190,.8);position:relative;z-index:1}.reorder-toggle{float:left;padding:5px 8px;text-decoration:none;cursor:pointer;outline:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.reorder-toggle:focus{outline:dotted 1px}.reordering .reorder-done{display:block;color:#0073aa}.reordering .reorder-done:active,.reordering .reorder-done:hover{color:#00a0d2}#customize-theme-controls .reordering .add-new-widget{opacity:.2;pointer-events:none;cursor:not-allowed}#customize-theme-controls .widget-reorder-nav{display:none;float:left;background-color:#fafafa}.widget-reorder-nav span{position:relative;overflow:hidden;float:right;display:block;width:33px;height:43px;color:#82878c;text-indent:-9999px;cursor:pointer;outline:0}.widget-reorder-nav span:before{display:inline-block;position:absolute;top:0;left:0;width:100%;height:100%;font:400 20px/43px dashicons;text-align:center;text-indent:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.widget-reorder-nav span:focus,.widget-reorder-nav span:hover{color:#444;background:#eee}.move-widget:before{content:'\f504'}.move-widget-down:before{content:'\f347'}.move-widget-up:before{content:'\f343'}#customize-theme-controls .first-widget .move-widget-up,#customize-theme-controls .last-widget .move-widget-down{color:#d5d5d5;cursor:default}#customize-theme-controls .move-widget-area{display:none;background:#fff;border:1px solid #dedede;border-top:none;cursor:auto}#customize-theme-controls .reordering .move-widget-area.active{display:block}#customize-theme-controls .move-widget-area .description{margin:0;padding:15px 20px;font-weight:400}#customize-theme-controls .widget-area-select{margin:0;padding:0;list-style:none}#customize-theme-controls .widget-area-select li{position:relative;margin:0;padding:13px 42px 15px 15px;color:#555;border-top:1px solid #eee;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#customize-theme-controls .widget-area-select li:before{display:none;content:'\f147';position:absolute;top:12px;right:10px;font:400 20px/1 dashicons;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#available-widgets .widget-title:before,.add-new-widget:before{content:"\f132";-moz-osx-font-smoothing:grayscale}#customize-theme-controls .widget-area-select li:last-child{border-bottom:1px solid #eee}#customize-theme-controls .widget-area-select .selected{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.4);background:#00a0d2}#customize-theme-controls .widget-area-select .selected:before{display:block}#customize-theme-controls .move-widget-actions{text-align:left;padding:12px}#customize-theme-controls .reordering .widget-title-action{display:none}#customize-theme-controls .reordering .widget-reorder-nav{display:block}.wp-full-overlay-main{left:auto;width:100%}#customize-theme-controls .add-new-widget{cursor:pointer;float:left;margin-right:10px;-webkit-transition:all .2s;transition:all .2s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:0}.add-new-widget:before{display:inline-block;position:relative;right:-2px;top:-1px;font:400 20px/1 dashicons;vertical-align:middle;-webkit-transition:all .2s;transition:all .2s;-webkit-font-smoothing:antialiased}body.adding-widget .add-new-widget,body.adding-widget .add-new-widget:hover{background:#eee;border-color:#999;color:#32373c;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}body.adding-widget .add-new-widget:before{-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg)}#available-widgets .widget{position:static}#widgets-left #available-widgets .widget{float:none!important;width:auto!important}#available-widgets{position:absolute;top:0;bottom:0;right:-301px;visibility:hidden;overflow:auto;width:300px;margin:0;z-index:1;background:#eee!important;-webkit-transition:right .18s;transition:right .18s;border-left:1px solid #ddd}.ios #available-widgets{-webkit-transition:right 0s;transition:right 0s}#available-widgets-list{top:46px;position:absolute;overflow:auto;bottom:0;width:100%}#available-widgets-filter{position:fixed;top:0;z-index:1;width:300px;height:46px;padding:8px 13px 7px 17px;background:#eee;border-bottom:1px solid #e4e4e4;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#available-widgets-filter input{padding:5px 10px 2px;width:100%}#available-widgets .widget-tpl{position:relative;padding:20px 60px 20px 15px;background:#fff;border-bottom:1px solid #e4e4e4;cursor:pointer;display:none}#available-widgets .widget-tpl.selected,#available-widgets .widget-tpl:hover{background:#eee;border-bottom-color:#ccc}#available-widgets .widget-top,#available-widgets .widget-top:hover{border:none;background:0 0;-webkit-box-shadow:none;box-shadow:none}#available-widgets .widget-title h4{padding:0 0 5px;font-size:14px}#available-widgets .widget .widget-description{padding:0;color:#777}#customize-preview{-webkit-transition:all .2s;transition:all .2s}body.adding-widget #available-widgets{right:0;visibility:visible}body.adding-widget .wp-full-overlay-main{right:300px}body.adding-widget #customize-preview{opacity:.4}#available-widgets .widget-title{position:relative}#available-widgets .widget-title:before{position:absolute;top:-3px;left:100%;margin-left:20px;width:20px;height:20px;color:#32373c;font:400 20px/1 dashicons;text-align:center;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-font-smoothing:antialiased}#available-widgets [class*=easy] .widget-title:before{content:"\f328";top:-4px}#available-widgets [class*=super] .widget-title:before,#available-widgets [class*=like] .widget-title:before{content:"\f155";top:-4px}#available-widgets [class*=meta] .widget-title:before{content:"\f120"}#available-widgets [class*=archives] .widget-title:before{content:"\f480";top:-4px}#available-widgets [class*=categor] .widget-title:before{content:"\f318";top:-4px}#available-widgets [class*=comment] .widget-title:before,#available-widgets [class*=testimonial] .widget-title:before,#available-widgets [class*=chat] .widget-title:before{content:"\f101"}#available-widgets [class*=post] .widget-title:before{content:"\f109"}#available-widgets [class*=page] .widget-title:before{content:"\f105"}#available-widgets [class*=text] .widget-title:before{content:"\f478"}#available-widgets [class*=link] .widget-title:before{content:"\f103"}#available-widgets [class*=search] .widget-title:before{content:"\f179"}#available-widgets [class*=menu] .widget-title:before,#available-widgets [class*=nav] .widget-title:before{content:"\f333"}#available-widgets [class*=tag] .widget-title:before{content:"\f479"}#available-widgets [class*=rss] .widget-title:before{content:"\f303";top:-6px}#available-widgets [class*=event] .widget-title:before,#available-widgets [class*=calendar] .widget-title:before{content:"\f145";top:-4px}#available-widgets [class*=image] .widget-title:before,#available-widgets [class*=photo] .widget-title:before,#available-widgets [class*=slide] .widget-title:before,#available-widgets [class*=instagram] .widget-title:before{content:"\f128"}#available-widgets [class*=album] .widget-title:before,#available-widgets [class*=galler] .widget-title:before{content:"\f161"}#available-widgets [class*=video] .widget-title:before,#available-widgets [class*=tube] .widget-title:before{content:"\f126"}#available-widgets [class*=music] .widget-title:before,#available-widgets [class*=radio] .widget-title:before,#available-widgets [class*=audio] .widget-title:before{content:"\f127"}#available-widgets [class*=login] .widget-title:before,#available-widgets [class*=user] .widget-title:before,#available-widgets [class*=member] .widget-title:before,#available-widgets [class*=avatar] .widget-title:before,#available-widgets [class*=subscriber] .widget-title:before,#available-widgets [class*=profile] .widget-title:before,#available-widgets [class*=grofile] .widget-title:before{content:"\f110"}#available-widgets [class*=commerce] .widget-title:before,#available-widgets [class*=shop] .widget-title:before,#available-widgets [class*=cart] .widget-title:before{content:"\f174";top:-4px}#available-widgets [class*=secur] .widget-title:before,#available-widgets [class*=firewall] .widget-title:before{content:"\f332"}#available-widgets [class*=analytic] .widget-title:before,#available-widgets [class*=stat] .widget-title:before,#available-widgets [class*=poll] .widget-title:before{content:"\f185"}#available-widgets [class*=form] .widget-title:before{content:"\f175"}#available-widgets [class*=subscribe] .widget-title:before,#available-widgets [class*=news] .widget-title:before,#available-widgets [class*=contact] .widget-title:before,#available-widgets [class*=mail] .widget-title:before{content:"\f466"}#available-widgets [class*=share] .widget-title:before,#available-widgets [class*=socia] .widget-title:before{content:"\f237"}#available-widgets [class*=lang] .widget-title:before,#available-widgets [class*=translat] .widget-title:before{content:"\f326"}#available-widgets [class*=locat] .widget-title:before,#available-widgets [class*=map] .widget-title:before{content:"\f231"}#available-widgets [class*=download] .widget-title:before{content:"\f316"}#available-widgets [class*=weather] .widget-title:before{content:"\f176";top:-4px}#available-widgets [class*=facebook] .widget-title:before{content:"\f304"}#available-widgets [class*=tweet] .widget-title:before,#available-widgets [class*=twitter] .widget-title:before{content:"\f301"}#available-widgets .customize-section-title{display:none}@media screen and (max-height:700px) and (min-width:981px){.customize-control-widget{margin-bottom:0}.widget-top{-webkit-box-shadow:none;box-shadow:none;margin-top:-1px}.widget-top:hover{position:relative;z-index:1}.last-widget{margin-bottom:15px}.widget-title h4{padding:13px 15px}.widget-top a.widget-action:after{padding-top:9px}.widget-reorder-nav span{height:39px}.widget-reorder-nav span:before{line-height:39px}#customize-theme-controls .widget-area-select li{padding:9px 42px 11px 15px}#customize-theme-controls .widget-area-select li:before{top:8px}}@media screen and (max-width:640px){body.adding-widget div#available-widgets{top:46px;right:0;z-index:10;width:100%}#available-widgets .customize-section-title{display:block;margin:0}#available-widgets .customize-section-back{height:69px}#available-widgets .customize-section-title h3{font-size:20px;font-weight:200;padding:9px 14px 12px 10px;margin:0;line-height:24px;color:#555;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#available-widgets .customize-section-title .customize-action{font-size:13px;display:block;font-weight:400;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#available-widgets-filter{position:relative;width:100%;background:#fff;height:auto;padding:10px 15px}#available-widgets-list{top:140px}} \ No newline at end of file +.control-section.control-section-sidebar .accordion-section-content.ui-sortable,.wp-full-overlay-sidebar{overflow:visible}#widget-customizer-control-templates,.control-section.control-section-sidebar,.customize-control-sidebar_widgets .hide-if-js,.customize-control-sidebar_widgets label,.customize-control-widget_form .widget-control-save{display:none}.customize-control-widget_form .widget-top{-webkit-transition:opacity .5s;transition:opacity .5s}.customize-control-widget_form:not(.widget-rendered) .widget-top{opacity:.5}.customize-control-widget_form .spinner{visibility:hidden;margin-top:0}.customize-control-widget_form.previewer-loading .spinner{visibility:visible}.customize-control-widget_form.widget-form-disabled .widget-content{opacity:.7;pointer-events:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.customize-control-widget_form .widget{margin-bottom:0}.customize-control-widget_form.wide-widget-control .widget-inside{position:fixed;right:299px;top:25%;border:1px solid #e5e5e5;overflow:auto}.customize-control-widget_form.wide-widget-control .widget-inside>.form{padding:20px}.customize-control-widget_form.wide-widget-control .widget-top{-webkit-transition:background-color .4s;transition:background-color .4s}.customize-control-widget_form.wide-widget-control.expanded:not(.collapsing) .widget-top,.customize-control-widget_form.wide-widget-control.expanding .widget-top{background-color:#e3e3e3}.widget-inside{padding:1px 10px 10px;border-top:none;line-height:16px}.widget-top{cursor:move}.customize-control-widget_form.expanded a.widget-action:after{content:"\f142"}.customize-control-widget_form.wide-widget-control a.widget-action:after{content:"\f141"}.customize-control-widget_form.wide-widget-control.expanded a.widget-action:after{content:"\f139"}.widget-title-action{cursor:pointer}.customize-control-widget_form .widget .customize-control-title{cursor:move}.control-section.accordion-section.highlighted>.accordion-section-title,.customize-control-widget_form.highlighted{outline:0;-webkit-box-shadow:0 0 2px rgba(30,140,190,.8);box-shadow:0 0 2px rgba(30,140,190,.8);position:relative;z-index:1}#customize-theme-controls .widget-reorder-nav{display:none;float:left;background-color:#fafafa}.widget-reorder-nav span{position:relative;overflow:hidden;float:right;display:block;width:33px;height:43px;color:#82878c;text-indent:-9999px;cursor:pointer;outline:0}.widget-reorder-nav span:before{display:inline-block;position:absolute;top:0;left:0;width:100%;height:100%;font:400 20px/43px dashicons;text-align:center;text-indent:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.widget-reorder-nav span:focus,.widget-reorder-nav span:hover{color:#444;background:#eee}.move-widget:before{content:"\f504"}.move-widget-down:before{content:"\f347"}.move-widget-up:before{content:"\f343"}#customize-theme-controls .first-widget .move-widget-up,#customize-theme-controls .last-widget .move-widget-down{color:#d5d5d5;cursor:default}#customize-theme-controls .move-widget-area{display:none;background:#fff;border:1px solid #dedede;border-top:none;cursor:auto}#customize-theme-controls .reordering .move-widget-area.active{display:block}#customize-theme-controls .move-widget-area .description{margin:0;padding:15px 20px;font-weight:400}#customize-theme-controls .widget-area-select{margin:0;padding:0;list-style:none}#customize-theme-controls .widget-area-select li{position:relative;margin:0;padding:13px 42px 15px 15px;color:#555;border-top:1px solid #eee;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#customize-theme-controls .widget-area-select li:before{display:none;content:"\f147";position:absolute;top:12px;right:10px;font:400 20px/1 dashicons;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#customize-theme-controls .widget-area-select li:last-child{border-bottom:1px solid #eee}#customize-theme-controls .widget-area-select .selected{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.4);background:#00a0d2}#customize-theme-controls .widget-area-select .selected:before{display:block}#customize-theme-controls .move-widget-actions{text-align:left;padding:12px}#customize-theme-controls .reordering .widget-title-action{display:none}#customize-theme-controls .reordering .widget-reorder-nav{display:block}.wp-full-overlay-main{left:auto;width:100%}body.adding-widget .add-new-widget,body.adding-widget .add-new-widget:hover{background:#eee;border-color:#999;color:#32373c;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}body.adding-widget .add-new-widget:before{-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg)}#available-widgets .widget{position:static}#widgets-left #available-widgets .widget{float:none!important;width:auto!important}#available-widgets{position:absolute;top:0;bottom:0;right:-301px;visibility:hidden;overflow:auto;width:300px;margin:0;z-index:1;background:#eee!important;-webkit-transition:right .18s;transition:right .18s;border-left:1px solid #ddd}.ios #available-widgets{-webkit-transition:right 0s;transition:right 0s}#available-widgets-list{top:46px;position:absolute;overflow:auto;bottom:0;width:100%}#available-widgets-filter{position:fixed;top:0;z-index:1;width:300px;height:46px;padding:8px 13px 7px 17px;background:#eee;border-bottom:1px solid #e4e4e4;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#available-widgets-filter input{padding:5px 10px 2px;width:100%}#available-widgets .widget-tpl{position:relative;padding:20px 60px 20px 15px;background:#fff;border-bottom:1px solid #e4e4e4;cursor:pointer;display:none}#available-widgets .widget-tpl.selected,#available-widgets .widget-tpl:hover{background:#eee;border-bottom-color:#ccc}#available-widgets .widget-top,#available-widgets .widget-top:hover{border:none;background:0 0;-webkit-box-shadow:none;box-shadow:none}#customize-controls .widget-title h3{font-size:1em}#available-widgets .widget-title h3{padding:0 0 5px;font-size:14px}#available-widgets .widget .widget-description{padding:0;color:#777}#customize-preview{-webkit-transition:all .2s;transition:all .2s}body.adding-widget #available-widgets{right:0;visibility:visible}body.adding-widget .wp-full-overlay-main{right:300px}body.adding-widget #customize-preview{opacity:.4}#available-widgets .widget-title{position:relative}#available-widgets .widget-title:before{content:"\f132";position:absolute;top:-3px;left:100%;margin-left:20px;width:20px;height:20px;color:#32373c;font:400 20px/1 dashicons;text-align:center;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#available-widgets [class*=easy] .widget-title:before{content:"\f328";top:-4px}#available-widgets [class*=super] .widget-title:before,#available-widgets [class*=like] .widget-title:before{content:"\f155";top:-4px}#available-widgets [class*=meta] .widget-title:before{content:"\f120"}#available-widgets [class*=archives] .widget-title:before{content:"\f480";top:-4px}#available-widgets [class*=categor] .widget-title:before{content:"\f318";top:-4px}#available-widgets [class*=comment] .widget-title:before,#available-widgets [class*=testimonial] .widget-title:before,#available-widgets [class*=chat] .widget-title:before{content:"\f101"}#available-widgets [class*=post] .widget-title:before{content:"\f109"}#available-widgets [class*=page] .widget-title:before{content:"\f105"}#available-widgets [class*=text] .widget-title:before{content:"\f478"}#available-widgets [class*=link] .widget-title:before{content:"\f103"}#available-widgets [class*=search] .widget-title:before{content:"\f179"}#available-widgets [class*=menu] .widget-title:before,#available-widgets [class*=nav] .widget-title:before{content:"\f333"}#available-widgets [class*=tag] .widget-title:before{content:"\f479"}#available-widgets [class*=rss] .widget-title:before{content:"\f303";top:-6px}#available-widgets [class*=event] .widget-title:before,#available-widgets [class*=calendar] .widget-title:before{content:"\f145";top:-4px}#available-widgets [class*=image] .widget-title:before,#available-widgets [class*=photo] .widget-title:before,#available-widgets [class*=slide] .widget-title:before,#available-widgets [class*=instagram] .widget-title:before{content:"\f128"}#available-widgets [class*=album] .widget-title:before,#available-widgets [class*=galler] .widget-title:before{content:"\f161"}#available-widgets [class*=video] .widget-title:before,#available-widgets [class*=tube] .widget-title:before{content:"\f126"}#available-widgets [class*=music] .widget-title:before,#available-widgets [class*=radio] .widget-title:before,#available-widgets [class*=audio] .widget-title:before{content:"\f127"}#available-widgets [class*=login] .widget-title:before,#available-widgets [class*=user] .widget-title:before,#available-widgets [class*=member] .widget-title:before,#available-widgets [class*=avatar] .widget-title:before,#available-widgets [class*=subscriber] .widget-title:before,#available-widgets [class*=profile] .widget-title:before,#available-widgets [class*=grofile] .widget-title:before{content:"\f110"}#available-widgets [class*=commerce] .widget-title:before,#available-widgets [class*=shop] .widget-title:before,#available-widgets [class*=cart] .widget-title:before{content:"\f174";top:-4px}#available-widgets [class*=secur] .widget-title:before,#available-widgets [class*=firewall] .widget-title:before{content:"\f332"}#available-widgets [class*=analytic] .widget-title:before,#available-widgets [class*=stat] .widget-title:before,#available-widgets [class*=poll] .widget-title:before{content:"\f185"}#available-widgets [class*=form] .widget-title:before{content:"\f175"}#available-widgets [class*=subscribe] .widget-title:before,#available-widgets [class*=news] .widget-title:before,#available-widgets [class*=contact] .widget-title:before,#available-widgets [class*=mail] .widget-title:before{content:"\f466"}#available-widgets [class*=share] .widget-title:before,#available-widgets [class*=socia] .widget-title:before{content:"\f237"}#available-widgets [class*=lang] .widget-title:before,#available-widgets [class*=translat] .widget-title:before{content:"\f326"}#available-widgets [class*=locat] .widget-title:before,#available-widgets [class*=map] .widget-title:before{content:"\f231"}#available-widgets [class*=download] .widget-title:before{content:"\f316"}#available-widgets [class*=weather] .widget-title:before{content:"\f176";top:-4px}#available-widgets [class*=facebook] .widget-title:before{content:"\f304"}#available-widgets [class*=twitter] .widget-title:before,#available-widgets [class*=tweet] .widget-title:before{content:"\f301"}#available-widgets .customize-section-title{display:none}@media screen and (max-height:700px) and (min-width:981px){.customize-control-widget{margin-bottom:0}.widget-top{-webkit-box-shadow:none;box-shadow:none;margin-top:-1px}.widget-top:hover{position:relative;z-index:1}.last-widget{margin-bottom:15px}.widget-title h3{padding:13px 15px}.widget-reorder-nav span{height:39px}.widget-reorder-nav span:before{line-height:39px}#customize-theme-controls .widget-area-select li{padding:9px 42px 11px 15px}#customize-theme-controls .widget-area-select li:before{top:8px}}@media screen and (max-width:640px){body.adding-widget div#available-widgets{top:46px;right:0;z-index:10;width:100%}#available-widgets .customize-section-title{display:block;margin:0}#available-widgets .customize-section-back{height:69px}#available-widgets .customize-section-title h3{font-size:20px;font-weight:200;padding:9px 14px 12px 10px;margin:0;line-height:24px;color:#555;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#available-widgets .customize-section-title .customize-action{font-size:13px;display:block;font-weight:400;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#available-widgets-filter{position:relative;width:100%;background:#fff;height:auto;padding:10px 15px}#available-widgets-list{top:140px}} \ No newline at end of file diff --git a/wp-admin/css/customize-widgets.css b/wp-admin/css/customize-widgets.css index 278c32f..3f839cb 100644 --- a/wp-admin/css/customize-widgets.css +++ b/wp-admin/css/customize-widgets.css @@ -117,44 +117,8 @@ } /** -* Widget reordering styles -**/ - -.reorder-toggle { - float: right; - padding: 5px 8px; - text-decoration: none; - cursor: pointer; - outline: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} -.reorder-toggle:focus { - outline: 1px dotted; -} - -.reorder-done, -.reordering .reorder { - display: none; -} - -.reordering .reorder-done { - display: block; - color: #0073aa; -} - -.reordering .reorder-done:hover, -.reordering .reorder-done:active { - color: #00a0d2; -} - -#customize-theme-controls .reordering .add-new-widget { - opacity: 0.2; - pointer-events: none; - cursor: not-allowed; -} + * Widget reordering styles + */ #customize-theme-controls .widget-reorder-nav { display: none; @@ -182,7 +146,7 @@ right: 0; width: 100%; height: 100%; - font: normal 20px/43px 'dashicons'; + font: normal 20px/43px dashicons; text-align: center; text-indent: 0; -webkit-font-smoothing: antialiased; @@ -196,15 +160,15 @@ } .move-widget:before { - content: '\f504'; + content: "\f504"; } .move-widget-down:before { - content: '\f347'; + content: "\f347"; } .move-widget-up:before { - content: '\f343'; + content: "\f343"; } #customize-theme-controls .first-widget .move-widget-up, @@ -213,7 +177,7 @@ cursor: default; } -#customize-theme-controls .move-widget-area { +#customize-theme-controls .move-widget-area { display: none; background: #fff; border: 1px solid #dedede; @@ -252,11 +216,11 @@ #customize-theme-controls .widget-area-select li:before { display: none; - content: '\f147'; + content: "\f147"; position: absolute; top: 12px; left: 10px; - font: normal 20px/1 'dashicons'; + font: normal 20px/1 dashicons; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } @@ -288,42 +252,15 @@ display: block; } - /** * Styles for new widget addition panel */ + .wp-full-overlay-main { right: auto; /* this overrides a right: 0; which causes the preview to resize, I'd rather have it go off screen at the normal size. */ width: 100%; } -#customize-theme-controls .add-new-widget { - cursor: pointer; - float: right; - margin-left: 10px; - -webkit-transition: all 0.2s; - transition: all 0.2s; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - outline: none; -} - -.add-new-widget:before { - content: "\f132"; - display: inline-block; - position: relative; - left: -2px; - top: -1px; - font: normal 20px/1 'dashicons'; - vertical-align: middle; - -webkit-transition: all 0.2s; - transition: all 0.2s; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - body.adding-widget .add-new-widget, body.adding-widget .add-new-widget:hover { background: #eee; @@ -419,7 +356,11 @@ body.adding-widget .add-new-widget:before { box-shadow: none; } -#available-widgets .widget-title h4 { +#customize-controls .widget-title h3 { + font-size: 1em; +} + +#available-widgets .widget-title h3 { padding: 0 0 5px; font-size: 14px; } @@ -452,7 +393,8 @@ body.adding-widget #customize-preview { * Widget Icon styling * No plurals in naming. * Ordered from lowest to highest specificity. - **/ + */ + #available-widgets .widget-title { position: relative; } @@ -466,7 +408,7 @@ body.adding-widget #customize-preview { width: 20px; height: 20px; color: #32373c; - font: normal 20px/1 'dashicons'; + font: normal 20px/1 dashicons; text-align: center; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; @@ -621,12 +563,9 @@ body.adding-widget #customize-preview { .last-widget { margin-bottom: 15px; } - .widget-title h4 { + .widget-title h3 { padding: 13px 15px; } - .widget-top a.widget-action:after { - padding-top: 9px; - } .widget-reorder-nav span { height: 39px; } diff --git a/wp-admin/css/customize-widgets.min.css b/wp-admin/css/customize-widgets.min.css index 40bfd22..5bfe305 100644 --- a/wp-admin/css/customize-widgets.min.css +++ b/wp-admin/css/customize-widgets.min.css @@ -1 +1 @@ -.control-section.control-section-sidebar .accordion-section-content.ui-sortable,.wp-full-overlay-sidebar{overflow:visible}#widget-customizer-control-templates,.control-section.control-section-sidebar,.customize-control-sidebar_widgets .hide-if-js,.customize-control-sidebar_widgets label,.customize-control-widget_form .widget-control-save,.reorder-done,.reordering .reorder{display:none}.customize-control-widget_form .widget-top{-webkit-transition:opacity .5s;transition:opacity .5s}.customize-control-widget_form:not(.widget-rendered) .widget-top{opacity:.5}.customize-control-widget_form .spinner{visibility:hidden;margin-top:0}.customize-control-widget_form.previewer-loading .spinner{visibility:visible}.customize-control-widget_form.widget-form-disabled .widget-content{opacity:.7;pointer-events:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.customize-control-widget_form .widget{margin-bottom:0}.customize-control-widget_form.wide-widget-control .widget-inside{position:fixed;left:299px;top:25%;border:1px solid #e5e5e5;overflow:auto}.customize-control-widget_form.wide-widget-control .widget-inside>.form{padding:20px}.customize-control-widget_form.wide-widget-control .widget-top{-webkit-transition:background-color .4s;transition:background-color .4s}.customize-control-widget_form.wide-widget-control.expanded:not(.collapsing) .widget-top,.customize-control-widget_form.wide-widget-control.expanding .widget-top{background-color:#e3e3e3}.widget-inside{padding:1px 10px 10px;border-top:none;line-height:16px}.widget-top{cursor:move}.customize-control-widget_form.expanded a.widget-action:after{content:"\f142"}.customize-control-widget_form.wide-widget-control a.widget-action:after{content:"\f139"}.customize-control-widget_form.wide-widget-control.expanded a.widget-action:after{content:"\f141"}.widget-title-action{cursor:pointer}.customize-control-widget_form .widget .customize-control-title{cursor:move}.control-section.accordion-section.highlighted>.accordion-section-title,.customize-control-widget_form.highlighted{outline:0;-webkit-box-shadow:0 0 2px rgba(30,140,190,.8);box-shadow:0 0 2px rgba(30,140,190,.8);position:relative;z-index:1}.reorder-toggle{float:right;padding:5px 8px;text-decoration:none;cursor:pointer;outline:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.reorder-toggle:focus{outline:dotted 1px}.reordering .reorder-done{display:block;color:#0073aa}.reordering .reorder-done:active,.reordering .reorder-done:hover{color:#00a0d2}#customize-theme-controls .reordering .add-new-widget{opacity:.2;pointer-events:none;cursor:not-allowed}#customize-theme-controls .widget-reorder-nav{display:none;float:right;background-color:#fafafa}.widget-reorder-nav span{position:relative;overflow:hidden;float:left;display:block;width:33px;height:43px;color:#82878c;text-indent:-9999px;cursor:pointer;outline:0}.widget-reorder-nav span:before{display:inline-block;position:absolute;top:0;right:0;width:100%;height:100%;font:400 20px/43px dashicons;text-align:center;text-indent:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.widget-reorder-nav span:focus,.widget-reorder-nav span:hover{color:#444;background:#eee}.move-widget:before{content:'\f504'}.move-widget-down:before{content:'\f347'}.move-widget-up:before{content:'\f343'}#customize-theme-controls .first-widget .move-widget-up,#customize-theme-controls .last-widget .move-widget-down{color:#d5d5d5;cursor:default}#customize-theme-controls .move-widget-area{display:none;background:#fff;border:1px solid #dedede;border-top:none;cursor:auto}#customize-theme-controls .reordering .move-widget-area.active{display:block}#customize-theme-controls .move-widget-area .description{margin:0;padding:15px 20px;font-weight:400}#customize-theme-controls .widget-area-select{margin:0;padding:0;list-style:none}#customize-theme-controls .widget-area-select li{position:relative;margin:0;padding:13px 15px 15px 42px;color:#555;border-top:1px solid #eee;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#customize-theme-controls .widget-area-select li:before{display:none;content:'\f147';position:absolute;top:12px;left:10px;font:400 20px/1 dashicons;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#available-widgets .widget-title:before,.add-new-widget:before{content:"\f132";-moz-osx-font-smoothing:grayscale}#customize-theme-controls .widget-area-select li:last-child{border-bottom:1px solid #eee}#customize-theme-controls .widget-area-select .selected{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.4);background:#00a0d2}#customize-theme-controls .widget-area-select .selected:before{display:block}#customize-theme-controls .move-widget-actions{text-align:right;padding:12px}#customize-theme-controls .reordering .widget-title-action{display:none}#customize-theme-controls .reordering .widget-reorder-nav{display:block}.wp-full-overlay-main{right:auto;width:100%}#customize-theme-controls .add-new-widget{cursor:pointer;float:right;margin-left:10px;-webkit-transition:all .2s;transition:all .2s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:0}.add-new-widget:before{display:inline-block;position:relative;left:-2px;top:-1px;font:400 20px/1 dashicons;vertical-align:middle;-webkit-transition:all .2s;transition:all .2s;-webkit-font-smoothing:antialiased}body.adding-widget .add-new-widget,body.adding-widget .add-new-widget:hover{background:#eee;border-color:#999;color:#32373c;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}body.adding-widget .add-new-widget:before{-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}#available-widgets .widget{position:static}#widgets-left #available-widgets .widget{float:none!important;width:auto!important}#available-widgets{position:absolute;top:0;bottom:0;left:-301px;visibility:hidden;overflow:auto;width:300px;margin:0;z-index:1;background:#eee!important;-webkit-transition:left .18s;transition:left .18s;border-right:1px solid #ddd}.ios #available-widgets{-webkit-transition:left 0s;transition:left 0s}#available-widgets-list{top:46px;position:absolute;overflow:auto;bottom:0;width:100%}#available-widgets-filter{position:fixed;top:0;z-index:1;width:300px;height:46px;padding:8px 17px 7px 13px;background:#eee;border-bottom:1px solid #e4e4e4;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#available-widgets-filter input{padding:5px 10px 2px;width:100%}#available-widgets .widget-tpl{position:relative;padding:20px 15px 20px 60px;background:#fff;border-bottom:1px solid #e4e4e4;cursor:pointer;display:none}#available-widgets .widget-tpl.selected,#available-widgets .widget-tpl:hover{background:#eee;border-bottom-color:#ccc}#available-widgets .widget-top,#available-widgets .widget-top:hover{border:none;background:0 0;-webkit-box-shadow:none;box-shadow:none}#available-widgets .widget-title h4{padding:0 0 5px;font-size:14px}#available-widgets .widget .widget-description{padding:0;color:#777}#customize-preview{-webkit-transition:all .2s;transition:all .2s}body.adding-widget #available-widgets{left:0;visibility:visible}body.adding-widget .wp-full-overlay-main{left:300px}body.adding-widget #customize-preview{opacity:.4}#available-widgets .widget-title{position:relative}#available-widgets .widget-title:before{position:absolute;top:-3px;right:100%;margin-right:20px;width:20px;height:20px;color:#32373c;font:400 20px/1 dashicons;text-align:center;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-font-smoothing:antialiased}#available-widgets [class*=easy] .widget-title:before{content:"\f328";top:-4px}#available-widgets [class*=super] .widget-title:before,#available-widgets [class*=like] .widget-title:before{content:"\f155";top:-4px}#available-widgets [class*=meta] .widget-title:before{content:"\f120"}#available-widgets [class*=archives] .widget-title:before{content:"\f480";top:-4px}#available-widgets [class*=categor] .widget-title:before{content:"\f318";top:-4px}#available-widgets [class*=comment] .widget-title:before,#available-widgets [class*=testimonial] .widget-title:before,#available-widgets [class*=chat] .widget-title:before{content:"\f101"}#available-widgets [class*=post] .widget-title:before{content:"\f109"}#available-widgets [class*=page] .widget-title:before{content:"\f105"}#available-widgets [class*=text] .widget-title:before{content:"\f478"}#available-widgets [class*=link] .widget-title:before{content:"\f103"}#available-widgets [class*=search] .widget-title:before{content:"\f179"}#available-widgets [class*=menu] .widget-title:before,#available-widgets [class*=nav] .widget-title:before{content:"\f333"}#available-widgets [class*=tag] .widget-title:before{content:"\f479"}#available-widgets [class*=rss] .widget-title:before{content:"\f303";top:-6px}#available-widgets [class*=event] .widget-title:before,#available-widgets [class*=calendar] .widget-title:before{content:"\f145";top:-4px}#available-widgets [class*=image] .widget-title:before,#available-widgets [class*=photo] .widget-title:before,#available-widgets [class*=slide] .widget-title:before,#available-widgets [class*=instagram] .widget-title:before{content:"\f128"}#available-widgets [class*=album] .widget-title:before,#available-widgets [class*=galler] .widget-title:before{content:"\f161"}#available-widgets [class*=video] .widget-title:before,#available-widgets [class*=tube] .widget-title:before{content:"\f126"}#available-widgets [class*=music] .widget-title:before,#available-widgets [class*=radio] .widget-title:before,#available-widgets [class*=audio] .widget-title:before{content:"\f127"}#available-widgets [class*=login] .widget-title:before,#available-widgets [class*=user] .widget-title:before,#available-widgets [class*=member] .widget-title:before,#available-widgets [class*=avatar] .widget-title:before,#available-widgets [class*=subscriber] .widget-title:before,#available-widgets [class*=profile] .widget-title:before,#available-widgets [class*=grofile] .widget-title:before{content:"\f110"}#available-widgets [class*=commerce] .widget-title:before,#available-widgets [class*=shop] .widget-title:before,#available-widgets [class*=cart] .widget-title:before{content:"\f174";top:-4px}#available-widgets [class*=secur] .widget-title:before,#available-widgets [class*=firewall] .widget-title:before{content:"\f332"}#available-widgets [class*=analytic] .widget-title:before,#available-widgets [class*=stat] .widget-title:before,#available-widgets [class*=poll] .widget-title:before{content:"\f185"}#available-widgets [class*=form] .widget-title:before{content:"\f175"}#available-widgets [class*=subscribe] .widget-title:before,#available-widgets [class*=news] .widget-title:before,#available-widgets [class*=contact] .widget-title:before,#available-widgets [class*=mail] .widget-title:before{content:"\f466"}#available-widgets [class*=share] .widget-title:before,#available-widgets [class*=socia] .widget-title:before{content:"\f237"}#available-widgets [class*=lang] .widget-title:before,#available-widgets [class*=translat] .widget-title:before{content:"\f326"}#available-widgets [class*=locat] .widget-title:before,#available-widgets [class*=map] .widget-title:before{content:"\f231"}#available-widgets [class*=download] .widget-title:before{content:"\f316"}#available-widgets [class*=weather] .widget-title:before{content:"\f176";top:-4px}#available-widgets [class*=facebook] .widget-title:before{content:"\f304"}#available-widgets [class*=tweet] .widget-title:before,#available-widgets [class*=twitter] .widget-title:before{content:"\f301"}#available-widgets .customize-section-title{display:none}@media screen and (max-height:700px) and (min-width:981px){.customize-control-widget{margin-bottom:0}.widget-top{-webkit-box-shadow:none;box-shadow:none;margin-top:-1px}.widget-top:hover{position:relative;z-index:1}.last-widget{margin-bottom:15px}.widget-title h4{padding:13px 15px}.widget-top a.widget-action:after{padding-top:9px}.widget-reorder-nav span{height:39px}.widget-reorder-nav span:before{line-height:39px}#customize-theme-controls .widget-area-select li{padding:9px 15px 11px 42px}#customize-theme-controls .widget-area-select li:before{top:8px}}@media screen and (max-width:640px){body.adding-widget div#available-widgets{top:46px;left:0;z-index:10;width:100%}#available-widgets .customize-section-title{display:block;margin:0}#available-widgets .customize-section-back{height:69px}#available-widgets .customize-section-title h3{font-size:20px;font-weight:200;padding:9px 10px 12px 14px;margin:0;line-height:24px;color:#555;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#available-widgets .customize-section-title .customize-action{font-size:13px;display:block;font-weight:400;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#available-widgets-filter{position:relative;width:100%;background:#fff;height:auto;padding:10px 15px}#available-widgets-list{top:140px}} \ No newline at end of file +.control-section.control-section-sidebar .accordion-section-content.ui-sortable,.wp-full-overlay-sidebar{overflow:visible}#widget-customizer-control-templates,.control-section.control-section-sidebar,.customize-control-sidebar_widgets .hide-if-js,.customize-control-sidebar_widgets label,.customize-control-widget_form .widget-control-save{display:none}.customize-control-widget_form .widget-top{-webkit-transition:opacity .5s;transition:opacity .5s}.customize-control-widget_form:not(.widget-rendered) .widget-top{opacity:.5}.customize-control-widget_form .spinner{visibility:hidden;margin-top:0}.customize-control-widget_form.previewer-loading .spinner{visibility:visible}.customize-control-widget_form.widget-form-disabled .widget-content{opacity:.7;pointer-events:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.customize-control-widget_form .widget{margin-bottom:0}.customize-control-widget_form.wide-widget-control .widget-inside{position:fixed;left:299px;top:25%;border:1px solid #e5e5e5;overflow:auto}.customize-control-widget_form.wide-widget-control .widget-inside>.form{padding:20px}.customize-control-widget_form.wide-widget-control .widget-top{-webkit-transition:background-color .4s;transition:background-color .4s}.customize-control-widget_form.wide-widget-control.expanded:not(.collapsing) .widget-top,.customize-control-widget_form.wide-widget-control.expanding .widget-top{background-color:#e3e3e3}.widget-inside{padding:1px 10px 10px;border-top:none;line-height:16px}.widget-top{cursor:move}.customize-control-widget_form.expanded a.widget-action:after{content:"\f142"}.customize-control-widget_form.wide-widget-control a.widget-action:after{content:"\f139"}.customize-control-widget_form.wide-widget-control.expanded a.widget-action:after{content:"\f141"}.widget-title-action{cursor:pointer}.customize-control-widget_form .widget .customize-control-title{cursor:move}.control-section.accordion-section.highlighted>.accordion-section-title,.customize-control-widget_form.highlighted{outline:0;-webkit-box-shadow:0 0 2px rgba(30,140,190,.8);box-shadow:0 0 2px rgba(30,140,190,.8);position:relative;z-index:1}#customize-theme-controls .widget-reorder-nav{display:none;float:right;background-color:#fafafa}.widget-reorder-nav span{position:relative;overflow:hidden;float:left;display:block;width:33px;height:43px;color:#82878c;text-indent:-9999px;cursor:pointer;outline:0}.widget-reorder-nav span:before{display:inline-block;position:absolute;top:0;right:0;width:100%;height:100%;font:400 20px/43px dashicons;text-align:center;text-indent:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.widget-reorder-nav span:focus,.widget-reorder-nav span:hover{color:#444;background:#eee}.move-widget:before{content:"\f504"}.move-widget-down:before{content:"\f347"}.move-widget-up:before{content:"\f343"}#customize-theme-controls .first-widget .move-widget-up,#customize-theme-controls .last-widget .move-widget-down{color:#d5d5d5;cursor:default}#customize-theme-controls .move-widget-area{display:none;background:#fff;border:1px solid #dedede;border-top:none;cursor:auto}#customize-theme-controls .reordering .move-widget-area.active{display:block}#customize-theme-controls .move-widget-area .description{margin:0;padding:15px 20px;font-weight:400}#customize-theme-controls .widget-area-select{margin:0;padding:0;list-style:none}#customize-theme-controls .widget-area-select li{position:relative;margin:0;padding:13px 15px 15px 42px;color:#555;border-top:1px solid #eee;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#customize-theme-controls .widget-area-select li:before{display:none;content:"\f147";position:absolute;top:12px;left:10px;font:400 20px/1 dashicons;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#customize-theme-controls .widget-area-select li:last-child{border-bottom:1px solid #eee}#customize-theme-controls .widget-area-select .selected{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.4);background:#00a0d2}#customize-theme-controls .widget-area-select .selected:before{display:block}#customize-theme-controls .move-widget-actions{text-align:right;padding:12px}#customize-theme-controls .reordering .widget-title-action{display:none}#customize-theme-controls .reordering .widget-reorder-nav{display:block}.wp-full-overlay-main{right:auto;width:100%}body.adding-widget .add-new-widget,body.adding-widget .add-new-widget:hover{background:#eee;border-color:#999;color:#32373c;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}body.adding-widget .add-new-widget:before{-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}#available-widgets .widget{position:static}#widgets-left #available-widgets .widget{float:none!important;width:auto!important}#available-widgets{position:absolute;top:0;bottom:0;left:-301px;visibility:hidden;overflow:auto;width:300px;margin:0;z-index:1;background:#eee!important;-webkit-transition:left .18s;transition:left .18s;border-right:1px solid #ddd}.ios #available-widgets{-webkit-transition:left 0s;transition:left 0s}#available-widgets-list{top:46px;position:absolute;overflow:auto;bottom:0;width:100%}#available-widgets-filter{position:fixed;top:0;z-index:1;width:300px;height:46px;padding:8px 17px 7px 13px;background:#eee;border-bottom:1px solid #e4e4e4;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#available-widgets-filter input{padding:5px 10px 2px;width:100%}#available-widgets .widget-tpl{position:relative;padding:20px 15px 20px 60px;background:#fff;border-bottom:1px solid #e4e4e4;cursor:pointer;display:none}#available-widgets .widget-tpl.selected,#available-widgets .widget-tpl:hover{background:#eee;border-bottom-color:#ccc}#available-widgets .widget-top,#available-widgets .widget-top:hover{border:none;background:0 0;-webkit-box-shadow:none;box-shadow:none}#customize-controls .widget-title h3{font-size:1em}#available-widgets .widget-title h3{padding:0 0 5px;font-size:14px}#available-widgets .widget .widget-description{padding:0;color:#777}#customize-preview{-webkit-transition:all .2s;transition:all .2s}body.adding-widget #available-widgets{left:0;visibility:visible}body.adding-widget .wp-full-overlay-main{left:300px}body.adding-widget #customize-preview{opacity:.4}#available-widgets .widget-title{position:relative}#available-widgets .widget-title:before{content:"\f132";position:absolute;top:-3px;right:100%;margin-right:20px;width:20px;height:20px;color:#32373c;font:400 20px/1 dashicons;text-align:center;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#available-widgets [class*=easy] .widget-title:before{content:"\f328";top:-4px}#available-widgets [class*=super] .widget-title:before,#available-widgets [class*=like] .widget-title:before{content:"\f155";top:-4px}#available-widgets [class*=meta] .widget-title:before{content:"\f120"}#available-widgets [class*=archives] .widget-title:before{content:"\f480";top:-4px}#available-widgets [class*=categor] .widget-title:before{content:"\f318";top:-4px}#available-widgets [class*=comment] .widget-title:before,#available-widgets [class*=testimonial] .widget-title:before,#available-widgets [class*=chat] .widget-title:before{content:"\f101"}#available-widgets [class*=post] .widget-title:before{content:"\f109"}#available-widgets [class*=page] .widget-title:before{content:"\f105"}#available-widgets [class*=text] .widget-title:before{content:"\f478"}#available-widgets [class*=link] .widget-title:before{content:"\f103"}#available-widgets [class*=search] .widget-title:before{content:"\f179"}#available-widgets [class*=menu] .widget-title:before,#available-widgets [class*=nav] .widget-title:before{content:"\f333"}#available-widgets [class*=tag] .widget-title:before{content:"\f479"}#available-widgets [class*=rss] .widget-title:before{content:"\f303";top:-6px}#available-widgets [class*=event] .widget-title:before,#available-widgets [class*=calendar] .widget-title:before{content:"\f145";top:-4px}#available-widgets [class*=image] .widget-title:before,#available-widgets [class*=photo] .widget-title:before,#available-widgets [class*=slide] .widget-title:before,#available-widgets [class*=instagram] .widget-title:before{content:"\f128"}#available-widgets [class*=album] .widget-title:before,#available-widgets [class*=galler] .widget-title:before{content:"\f161"}#available-widgets [class*=video] .widget-title:before,#available-widgets [class*=tube] .widget-title:before{content:"\f126"}#available-widgets [class*=music] .widget-title:before,#available-widgets [class*=radio] .widget-title:before,#available-widgets [class*=audio] .widget-title:before{content:"\f127"}#available-widgets [class*=login] .widget-title:before,#available-widgets [class*=user] .widget-title:before,#available-widgets [class*=member] .widget-title:before,#available-widgets [class*=avatar] .widget-title:before,#available-widgets [class*=subscriber] .widget-title:before,#available-widgets [class*=profile] .widget-title:before,#available-widgets [class*=grofile] .widget-title:before{content:"\f110"}#available-widgets [class*=commerce] .widget-title:before,#available-widgets [class*=shop] .widget-title:before,#available-widgets [class*=cart] .widget-title:before{content:"\f174";top:-4px}#available-widgets [class*=secur] .widget-title:before,#available-widgets [class*=firewall] .widget-title:before{content:"\f332"}#available-widgets [class*=analytic] .widget-title:before,#available-widgets [class*=stat] .widget-title:before,#available-widgets [class*=poll] .widget-title:before{content:"\f185"}#available-widgets [class*=form] .widget-title:before{content:"\f175"}#available-widgets [class*=subscribe] .widget-title:before,#available-widgets [class*=news] .widget-title:before,#available-widgets [class*=contact] .widget-title:before,#available-widgets [class*=mail] .widget-title:before{content:"\f466"}#available-widgets [class*=share] .widget-title:before,#available-widgets [class*=socia] .widget-title:before{content:"\f237"}#available-widgets [class*=lang] .widget-title:before,#available-widgets [class*=translat] .widget-title:before{content:"\f326"}#available-widgets [class*=locat] .widget-title:before,#available-widgets [class*=map] .widget-title:before{content:"\f231"}#available-widgets [class*=download] .widget-title:before{content:"\f316"}#available-widgets [class*=weather] .widget-title:before{content:"\f176";top:-4px}#available-widgets [class*=facebook] .widget-title:before{content:"\f304"}#available-widgets [class*=twitter] .widget-title:before,#available-widgets [class*=tweet] .widget-title:before{content:"\f301"}#available-widgets .customize-section-title{display:none}@media screen and (max-height:700px) and (min-width:981px){.customize-control-widget{margin-bottom:0}.widget-top{-webkit-box-shadow:none;box-shadow:none;margin-top:-1px}.widget-top:hover{position:relative;z-index:1}.last-widget{margin-bottom:15px}.widget-title h3{padding:13px 15px}.widget-reorder-nav span{height:39px}.widget-reorder-nav span:before{line-height:39px}#customize-theme-controls .widget-area-select li{padding:9px 15px 11px 42px}#customize-theme-controls .widget-area-select li:before{top:8px}}@media screen and (max-width:640px){body.adding-widget div#available-widgets{top:46px;left:0;z-index:10;width:100%}#available-widgets .customize-section-title{display:block;margin:0}#available-widgets .customize-section-back{height:69px}#available-widgets .customize-section-title h3{font-size:20px;font-weight:200;padding:9px 10px 12px 14px;margin:0;line-height:24px;color:#555;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#available-widgets .customize-section-title .customize-action{font-size:13px;display:block;font-weight:400;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#available-widgets-filter{position:relative;width:100%;background:#fff;height:auto;padding:10px 15px}#available-widgets-list{top:140px}} \ No newline at end of file diff --git a/wp-admin/css/dashboard-rtl.css b/wp-admin/css/dashboard-rtl.css index d04ae1c..b9365d4 100644 --- a/wp-admin/css/dashboard-rtl.css +++ b/wp-admin/css/dashboard-rtl.css @@ -115,14 +115,14 @@ line-height: 2.1em; } -.welcome-panel h3 { +.welcome-panel h2 { margin: 0; font-size: 21px; font-weight: normal; line-height: 1.2; } -.welcome-panel h4 { +.welcome-panel h3 { margin: 1.33em 0 0; font-size: 16px; } @@ -209,7 +209,7 @@ .welcome-panel .welcome-icon:before { color: #82878c; - font: normal 20px/1 'dashicons'; + font: normal 20px/1 dashicons; speak: none; display: inline-block; padding: 0 0 0 10px; @@ -223,31 +223,31 @@ .welcome-panel .welcome-write-blog:before, .welcome-panel .welcome-edit-page:before { - content:'\f119'; + content: "\f119"; top: -3px; } .welcome-panel .welcome-add-page:before { - content:'\f132'; + content: "\f132"; } .welcome-panel .welcome-view-site:before { - content:'\f115'; + content: "\f115"; top: -2px; } .welcome-panel .welcome-widgets-menus:before { - content:'\f116'; + content: "\f116"; top: -2px; } .welcome-panel .welcome-comments:before { - content:'\f117'; + content: "\f117"; top: -1px; } .welcome-panel .welcome-learn-more:before { - content:'\f118'; + content: "\f118"; top: -1px; } @@ -360,8 +360,11 @@ body #dashboard-widgets .postbox form .submit { overflow: hidden; } -#dashboard-widgets h4.mu-storage { - margin-bottom: 10px; +#dashboard-widgets h3.mu-storage { + margin: 0 0 10px; + padding: 0; + font-size: 14px; + font-weight: normal; } /* Dashboard right now - Colors */ @@ -378,7 +381,7 @@ body #dashboard-widgets .postbox form .submit { padding: 10px 12px 6px 12px; } -#dashboard_right_now .sub h4 { +#dashboard_right_now .sub h3 { color: #555; } @@ -394,8 +397,8 @@ body #dashboard-widgets .postbox form .submit { /* Dashboard right now - Icons */ #dashboard_right_now li a:before, #dashboard_right_now li span:before { - content: '\f159'; - font: normal 20px/1 'dashicons'; + content: "\f159"; + font: normal 20px/1 dashicons; speak: none; display: block; float: right; @@ -410,28 +413,28 @@ body #dashboard-widgets .postbox form .submit { #dashboard_right_now .page-count a:before, #dashboard_right_now .page-count span:before { - content: '\f105'; + content: "\f105"; } #dashboard_right_now .post-count a:before, #dashboard_right_now .post-count span:before { - content: '\f109'; + content: "\f109"; } #dashboard_right_now .comment-count a:before { - content: '\f101'; + content: "\f101"; } #dashboard_right_now .comment-mod-count a:before { - content: '\f125'; + content: "\f125"; } #dashboard_right_now .storage-count a:before { - content: '\f104'; + content: "\f104"; } #dashboard_right_now .storage-count.warning a:before { - content: '\f153'; + content: "\f153"; } /* Dashboard Quick Draft */ @@ -537,11 +540,6 @@ form.initial-form.quickpress-open input#title { border: none; } -#dashboard_quick_press .drafts h4 { - margin: 0 12px 8px; - font-weight: normal; -} - #dashboard_quick_press .drafts .view-all { float: left; margin: 0 0 0 12px; @@ -576,28 +574,33 @@ form.initial-form.quickpress-open input#title { margin: 0 0 0 5px; } +/* Dashboard common styles */ + +#dashboard-widgets h4, /* Back-compat for pre-4.4 */ +#dashboard-widgets h3, +#dashboard_quick_press .drafts h2 { + margin: 0 12px 8px; + padding: 0; + font-size: 14px; + font-weight: normal; + color: #23282d; +} + +#dashboard_quick_press .drafts h2 { + line-height: inherit; +} + +#dashboard-widgets .inside h4, /* Back-compat for pre-4.4 */ +#dashboard-widgets .inside h3 { + margin-right: 0; + margin-left: 0; +} + /* Dashboard activity widget */ -#dashboard-widgets #dashboard_activity h4 { - margin: 0 12px 8px 0; - font-weight: normal; -} - -#dashboard-widgets #dashboard_activity h4.comment-meta { - margin: 0; -} - -#dashboard_activity h4.comment-meta { - margin-bottom: 4px; -} - -#dashboard_activity ul { - padding: 0 12px; -} - #dashboard_activity .comment-meta span.approve:before { - content: '\f227'; - font: 20px/.5 "dashicons"; + content: "\f227"; + font: 20px/.5 dashicons; margin-right: 12px; vertical-align: middle; position: relative; @@ -606,13 +609,13 @@ form.initial-form.quickpress-open input#title { } #dashboard_activity .inside { - padding: 0; margin: 0; + padding-bottom: 0; } #dashboard_activity .no-activity { overflow: hidden; - padding: 0 12px 12px; + padding: 0 0 12px; text-align: center; } @@ -626,8 +629,8 @@ form.initial-form.quickpress-open input#title { } #dashboard_activity .no-activity .smiley:before { - content: '\f328'; - font: normal 120px/1 'dashicons'; + content: "\f328"; + font: normal 120px/1 dashicons; speak: none; display: block; margin: 0 0 0 5px; @@ -641,8 +644,8 @@ form.initial-form.quickpress-open input#title { #dashboard_activity .subsubsub { float: none; - border-top: 1px solid #eeeeee; - margin-top: 0; + border-top: 1px solid #eee; + margin: 0 -12px; padding: 8px 12px 4px; } @@ -667,8 +670,8 @@ form.initial-form.quickpress-open input#title { .activity-block { border-bottom: 1px solid #eee; - overflow: hidden; - padding: 8px 0 4px; + margin: 0 -12px; + padding: 8px 12px 4px; } .activity-block:last-child { @@ -708,11 +711,6 @@ form.initial-form.quickpress-open input#title { margin: 1em 0; } -#activity-widget #the-comment-list .comment-item h4 { - font-size: 13px; - color: #999; -} - #activity-widget #the-comment-list .comment-item p.row-actions { margin: 4px 0 0 0; } @@ -794,14 +792,6 @@ h3:hover .edit-box { left: 33px; } -#dashboard-widgets h4 { - color: #23282d; - font-weight: normal; - font-size: 14px; - margin: 0 0 .2em; - padding: 0; -} - #dashboard_plugins h5 { font-size: 14px; } @@ -810,6 +800,7 @@ h3:hover .edit-box { #latest-comments #the-comment-list { position: relative; + margin: 0 -12px; } #activity-widget #the-comment-list .comment, @@ -834,13 +825,13 @@ h3:hover .edit-box { border-top: none; } -#latest-comments #the-comment-list .comment-item h4 { +#latest-comments #the-comment-list .comment-meta { line-height: 1.5em; - margin-top: 0; + margin: 0; color: #666; } -#latest-comments #the-comment-list .comment-item h4 cite { +#latest-comments #the-comment-list .comment-meta cite { font-style: normal; font-weight: normal; } @@ -908,7 +899,7 @@ a.rsswidget { } .rss-widget cite:before { - content: '\2014'; + content: "\2014"; } .dashboard-comment-wrap { @@ -947,12 +938,12 @@ a.rsswidget { box-shadow: none; } -#dashboard_browser_nag.postbox.browser-insecure h3 { +#dashboard_browser_nag.postbox.browser-insecure h2 { border-bottom-color: #cd5a5a; color: #fff; } -#dashboard_browser_nag.postbox h3 { +#dashboard_browser_nag.postbox h2 { border-bottom-color: #f6e2ac; background: transparent none; color: #fff; @@ -966,7 +957,7 @@ a.rsswidget { /* Make the browser nags easier to read with Open Sans */ -#dashboard_browser_nag h3.hndle { +#dashboard_browser_nag h2.hndle { border: none; font-weight: 600; font-size: 20px; diff --git a/wp-admin/css/dashboard.css b/wp-admin/css/dashboard.css index 2fb891a..43e9b3e 100644 --- a/wp-admin/css/dashboard.css +++ b/wp-admin/css/dashboard.css @@ -115,14 +115,14 @@ line-height: 2.1em; } -.welcome-panel h3 { +.welcome-panel h2 { margin: 0; font-size: 21px; font-weight: normal; line-height: 1.2; } -.welcome-panel h4 { +.welcome-panel h3 { margin: 1.33em 0 0; font-size: 16px; } @@ -209,7 +209,7 @@ .welcome-panel .welcome-icon:before { color: #82878c; - font: normal 20px/1 'dashicons'; + font: normal 20px/1 dashicons; speak: none; display: inline-block; padding: 0 10px 0 0; @@ -223,31 +223,31 @@ .welcome-panel .welcome-write-blog:before, .welcome-panel .welcome-edit-page:before { - content:'\f119'; + content: "\f119"; top: -3px; } .welcome-panel .welcome-add-page:before { - content:'\f132'; + content: "\f132"; } .welcome-panel .welcome-view-site:before { - content:'\f115'; + content: "\f115"; top: -2px; } .welcome-panel .welcome-widgets-menus:before { - content:'\f116'; + content: "\f116"; top: -2px; } .welcome-panel .welcome-comments:before { - content:'\f117'; + content: "\f117"; top: -1px; } .welcome-panel .welcome-learn-more:before { - content:'\f118'; + content: "\f118"; top: -1px; } @@ -360,8 +360,11 @@ body #dashboard-widgets .postbox form .submit { overflow: hidden; } -#dashboard-widgets h4.mu-storage { - margin-bottom: 10px; +#dashboard-widgets h3.mu-storage { + margin: 0 0 10px; + padding: 0; + font-size: 14px; + font-weight: normal; } /* Dashboard right now - Colors */ @@ -378,7 +381,7 @@ body #dashboard-widgets .postbox form .submit { padding: 10px 12px 6px 12px; } -#dashboard_right_now .sub h4 { +#dashboard_right_now .sub h3 { color: #555; } @@ -394,8 +397,8 @@ body #dashboard-widgets .postbox form .submit { /* Dashboard right now - Icons */ #dashboard_right_now li a:before, #dashboard_right_now li span:before { - content: '\f159'; - font: normal 20px/1 'dashicons'; + content: "\f159"; + font: normal 20px/1 dashicons; speak: none; display: block; float: left; @@ -410,28 +413,28 @@ body #dashboard-widgets .postbox form .submit { #dashboard_right_now .page-count a:before, #dashboard_right_now .page-count span:before { - content: '\f105'; + content: "\f105"; } #dashboard_right_now .post-count a:before, #dashboard_right_now .post-count span:before { - content: '\f109'; + content: "\f109"; } #dashboard_right_now .comment-count a:before { - content: '\f101'; + content: "\f101"; } #dashboard_right_now .comment-mod-count a:before { - content: '\f125'; + content: "\f125"; } #dashboard_right_now .storage-count a:before { - content: '\f104'; + content: "\f104"; } #dashboard_right_now .storage-count.warning a:before { - content: '\f153'; + content: "\f153"; } /* Dashboard Quick Draft */ @@ -537,11 +540,6 @@ form.initial-form.quickpress-open input#title { border: none; } -#dashboard_quick_press .drafts h4 { - margin: 0 12px 8px; - font-weight: normal; -} - #dashboard_quick_press .drafts .view-all { float: right; margin: 0 12px 0 0; @@ -576,28 +574,33 @@ form.initial-form.quickpress-open input#title { margin: 0 5px 0 0; } +/* Dashboard common styles */ + +#dashboard-widgets h4, /* Back-compat for pre-4.4 */ +#dashboard-widgets h3, +#dashboard_quick_press .drafts h2 { + margin: 0 12px 8px; + padding: 0; + font-size: 14px; + font-weight: normal; + color: #23282d; +} + +#dashboard_quick_press .drafts h2 { + line-height: inherit; +} + +#dashboard-widgets .inside h4, /* Back-compat for pre-4.4 */ +#dashboard-widgets .inside h3 { + margin-left: 0; + margin-right: 0; +} + /* Dashboard activity widget */ -#dashboard-widgets #dashboard_activity h4 { - margin: 0 0 8px 12px; - font-weight: normal; -} - -#dashboard-widgets #dashboard_activity h4.comment-meta { - margin: 0; -} - -#dashboard_activity h4.comment-meta { - margin-bottom: 4px; -} - -#dashboard_activity ul { - padding: 0 12px; -} - #dashboard_activity .comment-meta span.approve:before { - content: '\f227'; - font: 20px/.5 "dashicons"; + content: "\f227"; + font: 20px/.5 dashicons; margin-left: 12px; vertical-align: middle; position: relative; @@ -606,13 +609,13 @@ form.initial-form.quickpress-open input#title { } #dashboard_activity .inside { - padding: 0; margin: 0; + padding-bottom: 0; } #dashboard_activity .no-activity { overflow: hidden; - padding: 0 12px 12px; + padding: 0 0 12px; text-align: center; } @@ -626,8 +629,8 @@ form.initial-form.quickpress-open input#title { } #dashboard_activity .no-activity .smiley:before { - content: '\f328'; - font: normal 120px/1 'dashicons'; + content: "\f328"; + font: normal 120px/1 dashicons; speak: none; display: block; margin: 0 5px 0 0; @@ -641,8 +644,8 @@ form.initial-form.quickpress-open input#title { #dashboard_activity .subsubsub { float: none; - border-top: 1px solid #eeeeee; - margin-top: 0; + border-top: 1px solid #eee; + margin: 0 -12px; padding: 8px 12px 4px; } @@ -667,8 +670,8 @@ form.initial-form.quickpress-open input#title { .activity-block { border-bottom: 1px solid #eee; - overflow: hidden; - padding: 8px 0 4px; + margin: 0 -12px; + padding: 8px 12px 4px; } .activity-block:last-child { @@ -708,11 +711,6 @@ form.initial-form.quickpress-open input#title { margin: 1em 0; } -#activity-widget #the-comment-list .comment-item h4 { - font-size: 13px; - color: #999; -} - #activity-widget #the-comment-list .comment-item p.row-actions { margin: 4px 0 0 0; } @@ -794,14 +792,6 @@ h3:hover .edit-box { right: 33px; } -#dashboard-widgets h4 { - color: #23282d; - font-weight: normal; - font-size: 14px; - margin: 0 0 .2em; - padding: 0; -} - #dashboard_plugins h5 { font-size: 14px; } @@ -810,6 +800,7 @@ h3:hover .edit-box { #latest-comments #the-comment-list { position: relative; + margin: 0 -12px; } #activity-widget #the-comment-list .comment, @@ -834,13 +825,13 @@ h3:hover .edit-box { border-top: none; } -#latest-comments #the-comment-list .comment-item h4 { +#latest-comments #the-comment-list .comment-meta { line-height: 1.5em; - margin-top: 0; + margin: 0; color: #666; } -#latest-comments #the-comment-list .comment-item h4 cite { +#latest-comments #the-comment-list .comment-meta cite { font-style: normal; font-weight: normal; } @@ -908,7 +899,7 @@ a.rsswidget { } .rss-widget cite:before { - content: '\2014'; + content: "\2014"; } .dashboard-comment-wrap { @@ -947,12 +938,12 @@ a.rsswidget { box-shadow: none; } -#dashboard_browser_nag.postbox.browser-insecure h3 { +#dashboard_browser_nag.postbox.browser-insecure h2 { border-bottom-color: #cd5a5a; color: #fff; } -#dashboard_browser_nag.postbox h3 { +#dashboard_browser_nag.postbox h2 { border-bottom-color: #f6e2ac; background: transparent none; color: #fff; @@ -966,7 +957,7 @@ a.rsswidget { /* Make the browser nags easier to read with Open Sans */ -#dashboard_browser_nag h3.hndle { +#dashboard_browser_nag h2.hndle { border: none; font-weight: 600; font-size: 20px; diff --git a/wp-admin/css/edit-rtl.css b/wp-admin/css/edit-rtl.css index 8ab7388..6259524 100644 --- a/wp-admin/css/edit-rtl.css +++ b/wp-admin/css/edit-rtl.css @@ -24,11 +24,15 @@ } #save-action .spinner, -#show-comments a, -#show-comments .spinner { +#show-comments a { float: right; } +#show-comments .spinner { + float: none; + margin-top: 0; +} + #lost-connection-notice .spinner { visibility: visible; float: right; @@ -89,7 +93,8 @@ input#link_url { margin-top: -1px; } -#edit-slug-box { +#edit-slug-box, +#comment-link-box { line-height: 24px; min-height: 25px; /* Yes, line-height + 1 */ margin-top: 5px; @@ -99,7 +104,15 @@ input#link_url { #edit-slug-box .cancel { margin-left: 10px; + padding: 0; font-size: 11px; + text-decoration: underline; + color: #0073aa; +} + +#comment-link-box { + margin: 5px 0; + padding: 0 5px; } #editable-post-name-full { @@ -107,11 +120,12 @@ input#link_url { } #editable-post-name { - background-color: #fffbcc; + font-weight: bold; } #editable-post-name input { font-size: 13px; + font-weight: normal; height: 22px; margin: 0; width: 16em; @@ -228,8 +242,15 @@ ul.category-tabs li, margin: 8px 0 5px; } +/* Back-compat for pre-4.4 */ #category-adder h4 { + margin: 0; +} + +.taxonomy-add-new { + display: inline-block; margin: 10px 0; + font-weight: 600; } #side-sortables .add-menu-item-tabs, @@ -240,7 +261,8 @@ ul.category-tabs li, #normal-sortables .postbox #replyrow .submit { float: none; margin: 0; - padding: 0 7px 5px; + padding: 5px 7px 10px; + overflow: hidden; } #side-sortables .submitbox .submit input, @@ -285,6 +307,11 @@ ul.wp-tab-bar li { max-width: 100%; height: auto; width: auto; + background-image: -webkit-linear-gradient(-45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4), -webkit-linear-gradient(45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4); + background-image: linear-gradient(-45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4), linear-gradient(45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4); + background-position: 100% 0, 10px 10px; + -webkit-background-size: 20px 20px; + background-size: 20px 20px; } form#tags-filter { @@ -469,7 +496,7 @@ span.wp-media-buttons-icon:before { #post-body #visibility:before, .curtime #timestamp:before, #post-body .misc-pub-revisions:before { - font: normal 20px/1 'dashicons'; + font: normal 20px/1 dashicons; speak: none; display: inline-block; padding: 0 0 0 2px; @@ -483,16 +510,16 @@ span.wp-media-buttons-icon:before { } #post-body #visibility:before { - content: '\f177'; + content: "\f177"; } .curtime #timestamp:before { - content: '\f145'; + content: "\f145"; top: -1px; } #post-body .misc-pub-revisions:before { - content: '\f321'; + content: "\f321"; } #timestampdiv { @@ -610,15 +637,9 @@ span.wp-media-buttons-icon:before { position: absolute; } +#poststuff h3.hndle, /* Back-compat for pre-4.4 */ +#poststuff .stuffbox > h3, /* Back-compat for pre-4.4 */ #poststuff h2 { - margin-top: 20px; - font-size: 1.5em; - margin-bottom: 15px; - padding: 0 0 3px; - clear: right; -} - -#poststuff h3 { font-size: 14px; padding: 8px 12px; margin: 0; @@ -802,7 +823,7 @@ span.wp-media-buttons-icon:before { display: block; height: 20px; width: 20px; - font: normal 20px/1 'dashicons' !important; + font: normal 20px/1 dashicons !important; speak: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; @@ -841,7 +862,7 @@ label.post-format-icon { position: relative; display: inline-block; margin-left: 7px; - font: normal 20px/1 'dashicons'; + font: normal 20px/1 dashicons; speak: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; @@ -850,61 +871,61 @@ label.post-format-icon { .post-state-format.post-format-standard:before, .post-format-icon.post-format-standard:before, a.post-state-format.format-standard:before { - content: '\f109'; + content: "\f109"; } .post-state-format.post-format-image:before, .post-format-icon.post-format-image:before, a.post-state-format.format-image:before { - content: '\f128'; + content: "\f128"; } .post-state-format.post-format-gallery:before, .post-format-icon.post-format-gallery:before, a.post-state-format.format-gallery:before { - content: '\f161'; + content: "\f161"; } .post-state-format.post-format-audio:before, .post-format-icon.post-format-audio:before, a.post-state-format.format-audio:before { - content: '\f127'; + content: "\f127"; } .post-state-format.post-format-video:before, .post-format-icon.post-format-video:before, a.post-state-format.format-video:before { - content: '\f126'; + content: "\f126"; } .post-state-format.post-format-chat:before, .post-format-icon.post-format-chat:before, a.post-state-format.format-chat:before { - content: '\f125'; + content: "\f125"; } .post-state-format.post-format-status:before, .post-format-icon.post-format-status:before, a.post-state-format.format-status:before { - content: '\f130'; + content: "\f130"; } .post-state-format.post-format-aside:before, .post-format-icon.post-format-aside:before, a.post-state-format.format-aside:before { - content: '\f123'; + content: "\f123"; } .post-state-format.post-format-quote:before, .post-format-icon.post-format-quote:before, a.post-state-format.format-quote:before { - content: '\f122'; + content: "\f122"; } .post-state-format.post-format-link:before, .post-format-icon.post-format-link:before, a.post-state-format.format-link:before { - content: '\f103'; + content: "\f103"; } /*------------------------------------------------------------------------------ @@ -1018,7 +1039,7 @@ span.description, max-width: 100%; } -.col-wrap h3 { +.col-wrap h2 { margin: 12px 0; font-size: 1.1em; } @@ -1073,7 +1094,7 @@ p.popular-tags a { text-align: justify; } -.tagcloud h3 { +.tagcloud h2 { margin: 2px 0 12px; } @@ -1251,7 +1272,9 @@ table.links-table { -webkit-transition-duration: 0.6s; transition-duration: 0.6s; -webkit-transition-property: -webkit-transform; + transition-property: -webkit-transform; transition-property: transform; + transition-property: transform, -webkit-transform; -webkit-transition-timing-function: ease-in-out; transition-timing-function: ease-in-out; } @@ -1271,7 +1294,9 @@ table.links-table { -webkit-transition-duration: 0.2s; transition-duration: 0.2s; -webkit-transition-property: -webkit-transform; + transition-property: -webkit-transform; transition-property: transform; + transition-property: transform, -webkit-transform; -webkit-transition-timing-function: ease-in-out; transition-timing-function: ease-in-out; } @@ -1341,7 +1366,9 @@ table.links-table { padding: 10px 10px; } - #poststuff h3 { + #poststuff h3.hndle, /* Back-compat for pre-4.4 */ + #poststuff .stuffbox > h3, /* Back-compat for pre-4.4 */ + #poststuff h2 { padding: 12px; } diff --git a/wp-admin/css/edit.css b/wp-admin/css/edit.css index b2f57ef..2dca35b 100644 --- a/wp-admin/css/edit.css +++ b/wp-admin/css/edit.css @@ -24,11 +24,15 @@ } #save-action .spinner, -#show-comments a, -#show-comments .spinner { +#show-comments a { float: left; } +#show-comments .spinner { + float: none; + margin-top: 0; +} + #lost-connection-notice .spinner { visibility: visible; float: left; @@ -89,7 +93,8 @@ input#link_url { margin-top: -1px; } -#edit-slug-box { +#edit-slug-box, +#comment-link-box { line-height: 24px; min-height: 25px; /* Yes, line-height + 1 */ margin-top: 5px; @@ -99,7 +104,15 @@ input#link_url { #edit-slug-box .cancel { margin-right: 10px; + padding: 0; font-size: 11px; + text-decoration: underline; + color: #0073aa; +} + +#comment-link-box { + margin: 5px 0; + padding: 0 5px; } #editable-post-name-full { @@ -107,11 +120,12 @@ input#link_url { } #editable-post-name { - background-color: #fffbcc; + font-weight: bold; } #editable-post-name input { font-size: 13px; + font-weight: normal; height: 22px; margin: 0; width: 16em; @@ -228,8 +242,15 @@ ul.category-tabs li, margin: 8px 0 5px; } +/* Back-compat for pre-4.4 */ #category-adder h4 { + margin: 0; +} + +.taxonomy-add-new { + display: inline-block; margin: 10px 0; + font-weight: 600; } #side-sortables .add-menu-item-tabs, @@ -240,7 +261,8 @@ ul.category-tabs li, #normal-sortables .postbox #replyrow .submit { float: none; margin: 0; - padding: 0 7px 5px; + padding: 5px 7px 10px; + overflow: hidden; } #side-sortables .submitbox .submit input, @@ -285,6 +307,11 @@ ul.wp-tab-bar li { max-width: 100%; height: auto; width: auto; + background-image: -webkit-linear-gradient(45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4), -webkit-linear-gradient(45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4); + background-image: linear-gradient(45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4), linear-gradient(45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4); + background-position: 0 0, 10px 10px; + -webkit-background-size: 20px 20px; + background-size: 20px 20px; } form#tags-filter { @@ -469,7 +496,7 @@ span.wp-media-buttons-icon:before { #post-body #visibility:before, .curtime #timestamp:before, #post-body .misc-pub-revisions:before { - font: normal 20px/1 'dashicons'; + font: normal 20px/1 dashicons; speak: none; display: inline-block; padding: 0 2px 0 0; @@ -483,16 +510,16 @@ span.wp-media-buttons-icon:before { } #post-body #visibility:before { - content: '\f177'; + content: "\f177"; } .curtime #timestamp:before { - content: '\f145'; + content: "\f145"; top: -1px; } #post-body .misc-pub-revisions:before { - content: '\f321'; + content: "\f321"; } #timestampdiv { @@ -610,15 +637,9 @@ span.wp-media-buttons-icon:before { position: absolute; } +#poststuff h3.hndle, /* Back-compat for pre-4.4 */ +#poststuff .stuffbox > h3, /* Back-compat for pre-4.4 */ #poststuff h2 { - margin-top: 20px; - font-size: 1.5em; - margin-bottom: 15px; - padding: 0 0 3px; - clear: left; -} - -#poststuff h3 { font-size: 14px; padding: 8px 12px; margin: 0; @@ -802,7 +823,7 @@ span.wp-media-buttons-icon:before { display: block; height: 20px; width: 20px; - font: normal 20px/1 'dashicons' !important; + font: normal 20px/1 dashicons !important; speak: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; @@ -841,7 +862,7 @@ label.post-format-icon { position: relative; display: inline-block; margin-right: 7px; - font: normal 20px/1 'dashicons'; + font: normal 20px/1 dashicons; speak: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; @@ -850,61 +871,61 @@ label.post-format-icon { .post-state-format.post-format-standard:before, .post-format-icon.post-format-standard:before, a.post-state-format.format-standard:before { - content: '\f109'; + content: "\f109"; } .post-state-format.post-format-image:before, .post-format-icon.post-format-image:before, a.post-state-format.format-image:before { - content: '\f128'; + content: "\f128"; } .post-state-format.post-format-gallery:before, .post-format-icon.post-format-gallery:before, a.post-state-format.format-gallery:before { - content: '\f161'; + content: "\f161"; } .post-state-format.post-format-audio:before, .post-format-icon.post-format-audio:before, a.post-state-format.format-audio:before { - content: '\f127'; + content: "\f127"; } .post-state-format.post-format-video:before, .post-format-icon.post-format-video:before, a.post-state-format.format-video:before { - content: '\f126'; + content: "\f126"; } .post-state-format.post-format-chat:before, .post-format-icon.post-format-chat:before, a.post-state-format.format-chat:before { - content: '\f125'; + content: "\f125"; } .post-state-format.post-format-status:before, .post-format-icon.post-format-status:before, a.post-state-format.format-status:before { - content: '\f130'; + content: "\f130"; } .post-state-format.post-format-aside:before, .post-format-icon.post-format-aside:before, a.post-state-format.format-aside:before { - content: '\f123'; + content: "\f123"; } .post-state-format.post-format-quote:before, .post-format-icon.post-format-quote:before, a.post-state-format.format-quote:before { - content: '\f122'; + content: "\f122"; } .post-state-format.post-format-link:before, .post-format-icon.post-format-link:before, a.post-state-format.format-link:before { - content: '\f103'; + content: "\f103"; } /*------------------------------------------------------------------------------ @@ -1018,7 +1039,7 @@ span.description, max-width: 100%; } -.col-wrap h3 { +.col-wrap h2 { margin: 12px 0; font-size: 1.1em; } @@ -1073,7 +1094,7 @@ p.popular-tags a { text-align: justify; } -.tagcloud h3 { +.tagcloud h2 { margin: 2px 0 12px; } @@ -1251,7 +1272,9 @@ table.links-table { -webkit-transition-duration: 0.6s; transition-duration: 0.6s; -webkit-transition-property: -webkit-transform; + transition-property: -webkit-transform; transition-property: transform; + transition-property: transform, -webkit-transform; -webkit-transition-timing-function: ease-in-out; transition-timing-function: ease-in-out; } @@ -1271,7 +1294,9 @@ table.links-table { -webkit-transition-duration: 0.2s; transition-duration: 0.2s; -webkit-transition-property: -webkit-transform; + transition-property: -webkit-transform; transition-property: transform; + transition-property: transform, -webkit-transform; -webkit-transition-timing-function: ease-in-out; transition-timing-function: ease-in-out; } @@ -1341,7 +1366,9 @@ table.links-table { padding: 10px 10px; } - #poststuff h3 { + #poststuff h3.hndle, /* Back-compat for pre-4.4 */ + #poststuff .stuffbox > h3, /* Back-compat for pre-4.4 */ + #poststuff h2 { padding: 12px; } diff --git a/wp-admin/css/forms-rtl.css b/wp-admin/css/forms-rtl.css index 1b56f04..07a3d39 100644 --- a/wp-admin/css/forms-rtl.css +++ b/wp-admin/css/forms-rtl.css @@ -67,6 +67,11 @@ input[type="url"] { direction: ltr; } +/* Vertically align the number selector with the input. */ +input[type="number"] { + line-height: inherit; +} + input[type="checkbox"], input[type="radio"] { border: 1px solid #b4b9be; @@ -127,20 +132,20 @@ input[type="radio"]:checked:before { display: inline-block; vertical-align: middle; width: 16px; - font: normal 21px/1 'dashicons'; + font: normal 21px/1 dashicons; speak: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } input[type="checkbox"]:checked:before { - content: '\f147'; + content: "\f147"; margin: -3px -4px 0 0; color: #1e8cbe; } input[type="radio"]:checked:before { - content: '\2022'; + content: "\2022"; text-indent: -9999px; -webkit-border-radius: 50px; border-radius: 50px; @@ -195,6 +200,7 @@ textarea { overflow: auto; padding: 2px 6px; line-height: 1.4; + resize: vertical; } .wp-admin input[type="file"] { @@ -240,7 +246,7 @@ textarea[readonly] { } .form-table .form-required.form-invalid td:after { - content: '\f534'; + content: "\f534"; font: normal 20px/1 dashicons; color: #dc3232; margin-right: -25px; @@ -384,6 +390,14 @@ input[type="number"].small-text { width: 65px; } +input.tiny-text { + width: 35px; +} + +input[type="number"].tiny-text { + width: 45px; +} + #doaction, #doaction2, #post-query-submit { @@ -440,9 +454,9 @@ fieldset label, } #misc-publishing-actions label[for="post_status"]:before { - content: '\f173'; + content: "\f173"; display: inline-block; - font: normal 20px/1 'dashicons'; + font: normal 20px/1 dashicons; speak: none; right: -1px; padding: 0 0 0 5px; @@ -739,6 +753,18 @@ table.form-table td .updated p { line-height: 24px; } +.label-responsive { + vertical-align: middle; +} + +#export-filters p { + margin: 0 0 1em; +} + +#export-filters p.submit { + margin: 7px 0 5px; +} + /* Card styles */ .card { @@ -798,7 +824,7 @@ table.form-table td .updated p { } .pressthis-bookmarklet:after { - content: ''; + content: ""; width: 70%; height: 55%; z-index: -1; @@ -829,8 +855,8 @@ table.form-table td .updated p { .pressthis-bookmarklet span:before { color: #777; - font: normal 20px/1 'dashicons'; - content:'\f157'; + font: normal 20px/1 dashicons; + content: "\f157"; position: relative; display: inline-block; top: 4px; @@ -943,6 +969,17 @@ table.form-table td .updated p { margin: 25px; } +#request-filesystem-credentials-title { + font-size: 1.3em; + margin: 1em 0; +} + +.request-filesystem-credentials-form legend { + font-size: 1em; + padding: 1.33em 0; + font-weight: 600; +} + .request-filesystem-credentials-form input[type="text"], .request-filesystem-credentials-form input[type="password"] { display: block; @@ -1036,7 +1073,7 @@ table.form-table td .updated p { .widefat th input[type="checkbox"]:before, .widefat thead td input[type="checkbox"]:before, .widefat tfoot td input[type="checkbox"]:before { - font: normal 30px/1 'Dashicons'; + font: normal 30px/1 dashicons; margin: -3px -5px; } @@ -1085,12 +1122,21 @@ table.form-table td .updated p { } .form-table th, - .form-table td { + .form-table td, + .label-responsive { display: block; width: auto; vertical-align: middle; } + .label-responsive { + margin: 0.5em 0; + } + + .export-filters li { + margin-bottom: 0; + } + .form-table .color-palette td { display: table-cell; width: 15px; diff --git a/wp-admin/css/forms.css b/wp-admin/css/forms.css index 74d8944..d1ec601 100644 --- a/wp-admin/css/forms.css +++ b/wp-admin/css/forms.css @@ -67,6 +67,11 @@ input[type="url"] { direction: ltr; } +/* Vertically align the number selector with the input. */ +input[type="number"] { + line-height: inherit; +} + input[type="checkbox"], input[type="radio"] { border: 1px solid #b4b9be; @@ -127,20 +132,20 @@ input[type="radio"]:checked:before { display: inline-block; vertical-align: middle; width: 16px; - font: normal 21px/1 'dashicons'; + font: normal 21px/1 dashicons; speak: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } input[type="checkbox"]:checked:before { - content: '\f147'; + content: "\f147"; margin: -3px 0 0 -4px; color: #1e8cbe; } input[type="radio"]:checked:before { - content: '\2022'; + content: "\2022"; text-indent: -9999px; -webkit-border-radius: 50px; border-radius: 50px; @@ -195,6 +200,7 @@ textarea { overflow: auto; padding: 2px 6px; line-height: 1.4; + resize: vertical; } .wp-admin input[type="file"] { @@ -240,7 +246,7 @@ textarea[readonly] { } .form-table .form-required.form-invalid td:after { - content: '\f534'; + content: "\f534"; font: normal 20px/1 dashicons; color: #dc3232; margin-left: -25px; @@ -384,6 +390,14 @@ input[type="number"].small-text { width: 65px; } +input.tiny-text { + width: 35px; +} + +input[type="number"].tiny-text { + width: 45px; +} + #doaction, #doaction2, #post-query-submit { @@ -440,9 +454,9 @@ fieldset label, } #misc-publishing-actions label[for="post_status"]:before { - content: '\f173'; + content: "\f173"; display: inline-block; - font: normal 20px/1 'dashicons'; + font: normal 20px/1 dashicons; speak: none; left: -1px; padding: 0 5px 0 0; @@ -739,6 +753,18 @@ table.form-table td .updated p { line-height: 24px; } +.label-responsive { + vertical-align: middle; +} + +#export-filters p { + margin: 0 0 1em; +} + +#export-filters p.submit { + margin: 7px 0 5px; +} + /* Card styles */ .card { @@ -798,7 +824,7 @@ table.form-table td .updated p { } .pressthis-bookmarklet:after { - content: ''; + content: ""; width: 70%; height: 55%; z-index: -1; @@ -829,8 +855,8 @@ table.form-table td .updated p { .pressthis-bookmarklet span:before { color: #777; - font: normal 20px/1 'dashicons'; - content:'\f157'; + font: normal 20px/1 dashicons; + content: "\f157"; position: relative; display: inline-block; top: 4px; @@ -943,6 +969,17 @@ table.form-table td .updated p { margin: 25px; } +#request-filesystem-credentials-title { + font-size: 1.3em; + margin: 1em 0; +} + +.request-filesystem-credentials-form legend { + font-size: 1em; + padding: 1.33em 0; + font-weight: 600; +} + .request-filesystem-credentials-form input[type="text"], .request-filesystem-credentials-form input[type="password"] { display: block; @@ -1036,7 +1073,7 @@ table.form-table td .updated p { .widefat th input[type="checkbox"]:before, .widefat thead td input[type="checkbox"]:before, .widefat tfoot td input[type="checkbox"]:before { - font: normal 30px/1 'Dashicons'; + font: normal 30px/1 dashicons; margin: -3px -5px; } @@ -1085,12 +1122,21 @@ table.form-table td .updated p { } .form-table th, - .form-table td { + .form-table td, + .label-responsive { display: block; width: auto; vertical-align: middle; } + .label-responsive { + margin: 0.5em 0; + } + + .export-filters li { + margin-bottom: 0; + } + .form-table .color-palette td { display: table-cell; width: 15px; diff --git a/wp-admin/css/ie-rtl.css b/wp-admin/css/ie-rtl.css index d3705d0..12be6ab 100644 --- a/wp-admin/css/ie-rtl.css +++ b/wp-admin/css/ie-rtl.css @@ -396,15 +396,10 @@ p.search-box { margin: -3px 0 4px; } -#widget-list .widget, -.feature-filter .feature-group li { +#widget-list .widget { display: inline; } -.feature-filter .feature-group li input { - vertical-align: middle; -} - #editorcontainer #content { overflow: auto; margin: auto; @@ -695,10 +690,6 @@ input[type="password"], border: 1px solid #DFDFDF; } -* html .feature-filter .feature-group li { - width: 145px; -} - * html div.widget-liquid-left { width: 99%; } diff --git a/wp-admin/css/ie-rtl.min.css b/wp-admin/css/ie-rtl.min.css index 66af3bd..bdc14ee 100644 --- a/wp-admin/css/ie-rtl.min.css +++ b/wp-admin/css/ie-rtl.min.css @@ -1 +1 @@ -.feature-filter .feature-group li input,.tablenav-pages .current-page{vertical-align:middle}#dashboard-widgets form .input-text-wrap input,#dashboard-widgets form .textarea-wrap textarea{width:99%}#dashboard-widgets form #title{width:98%}#wpbody-content #dashboard-widgets .postbox-container{width:49.5%}#wpbody-content #dashboard-widgets #postbox-container-2,#wpbody-content #dashboard-widgets #postbox-container-3,#wpbody-content #dashboard-widgets #postbox-container-4{float:left;width:50.5%}#dashboard-widgets #postbox-container-3 .empty-container,#dashboard-widgets #postbox-container-4 .empty-container{border:0;height:0;min-height:0}.wp-editor-wrap .wp-editor-container,.wp-editor-wrap .wp-editor-tabs,.wp-editor-wrap .wp-editor-tools,.wp-editor-wrap .wp-switch-editor{zoom:100%}.wp-editor-wrap .wp-editor-container textarea.wp-editor-area{width:97%}#post-body.columns-2 #postbox-container-1{padding-right:19px}.welcome-panel .wp-badge{position:absolute}.welcome-panel .welcome-panel-column:first-child{width:35%}#adminmenuback{right:0;background-image:none}#adminmenu .wp-submenu,.folded #adminmenu .opensub .wp-submenu,.folded #adminmenu .wp-submenu.sub-open{right:110px}#adminmenuwrap{position:static}#adminmenu{position:relative}#adminmenu,#adminmenu a{cursor:pointer}#adminmenu li.wp-menu-separator,#adminmenu li.wp-menu-separator-last{font-size:1px;line-height:1}#adminmenu a.menu-top{border-bottom:0 none;border-top:1px solid #ddd}#adminmenu .separator{font-size:1px;line-height:1px}#adminmenu .wp-submenu ul{margin:0}.folded #wpcontent,.folded #wpfooter{margin-right:170px}.folded #adminmenu,.folded #adminmenu li.menu-top,.folded #adminmenuback,.folded #adminmenuwrap{width:150px}.folded #adminmenu .wp-submenu{border-top-color:transparent}.folded #adminmenu .wp-menu-name{display:block}.folded #adminmenu .wp-has-current-submenu .wp-submenu,.folded #adminmenu a.wp-has-current-submenu:focus+.wp-submenu{top:-1px;position:relative}.folded #adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head{background-color:transparent}#adminmenu .wp-submenu .wp-submenu-head{border-top-color:#ddd}.folded #adminmenu .wp-submenu ul{margin-right:5px}#adminmenu li.menu-top{margin-bottom:-2px}#adminmenu .wp-menu-arrow{display:none!important}.js.folded #adminmenu li.menu-top{display:block;zoom:100%}ul#adminmenu{z-index:99}#adminmenu li.menu-top a.menu-top{min-width:auto;width:auto}#wpcontent #adminmenu li.wp-has-current-submenu a.wp-has-submenu{font-style:normal}#wpcontent #adminmenu .wp-submenu li{padding:0}#adminmenu li.wp-has-current-submenu .wp-submenu{right:-40px}#adminmenu .wp-menu-image{display:none!important}#adminmenu a.menu-top .wp-menu-name{padding-right:8px}#collapse-menu{line-height:23px}#wpadminbar .ab-comments-icon{padding-top:7px}.theme-browser .theme{width:30%;margin:0 0 4% 3%;cursor:auto}.theme-browser .theme:focus,.theme-browser .theme:hover{cursor:auto}.theme-browser .theme .theme-screenshot{height:180px}.theme-browser .theme .theme-actions{position:static;background-color:#e8e8e8}.theme-browser .theme .more-details{display:none}.plugins td,.plugins th,table.fixed td,table.fixed th{border-top:1px solid #ddd}#wpbody-content input.button,#wpbody-content input.button-primary,#wpbody-content input.button-secondary{overflow:visible}#dashboard-widgets h3 a{height:14px;line-height:14px}#dashboard_browser_nag{color:#fff}#dashboard_browser_nag .browser-icon{position:relative}#wpbody-content .postbox{border:1px solid #dfdfdf}#wpbody-content .postbox .hndle{margin-bottom:-1px}#addcat,#editcat,#template,#template div,.major-publishing-actions,.wp-submenu,.wp-submenu li{zoom:100%}.wp-menu-arrow{height:28px}.submitbox{margin-top:10px}#wpbody-content .quick-edit-row-post .inline-edit-col-left{width:39%}#wpbody-content .inline-edit-row-post .inline-edit-col-center{width:19%}#wpbody-content .quick-edit-row-page .inline-edit-col-left{width:49%}#wpbody-content .bulk-edit-row .inline-edit-col-left{width:29%}.inline-edit-row p.submit{zoom:100%}.inline-edit-row fieldset label span.title{display:block;float:right;width:5em}.inline-edit-row fieldset label span.input-text-wrap{margin-right:0;zoom:100%}#wpbody-content .inline-edit-row fieldset label span.input-text-wrap input{line-height:130%}#wpbody-content .inline-edit-row .input-text-wrap input{width:95%}#wpbody-content .inline-edit-row .input-text-wrap input.inline-edit-password-input{width:8em}#titlediv #title{width:98%}.button,input[type=reset],input[type=button],input[type=submit]{padding:0 8px;line-height:20px;height:auto}.button.button-large,input[type=reset].button-large,input[type=button].button-large,input[type=submit].button-large{padding:0 10px;line-height:24px;height:auto}.button.button-small,input[type=reset].button-small,input[type=button].button-small,input[type=submit].button-small{padding:0 6px;line-height:16px;height:auto}a.button{margin:1px;padding:1px 9px 2px}a.button.button-large{padding:1px 11px 2px}a.button.button-small{padding:1px 7px 2px}#screen-options-wrap{overflow:hidden}#col-container,#col-left,#col-right,#dragHelper,#editorcontainer,#post-body,#post-status-info,#postdiv,#postdivrich,#poststuff,#the-comment-list .comment-item,#titlediv,#widgets-left,#wpwrap,#wrap,.fileedit-sub,.metabox-holder,.tablenav,.tagchecklist,.widget .widget-top,.widget-control-actions,.widget-liquid-left,.widget-liquid-right,.widgets-sortables{display:block;zoom:100%}p.search-box{position:static;float:left;margin:-3px 0 4px}#submitdiv a.button,#submitdiv input,#submitdiv select,.inactive-sidebar .widget,.revisions.pinned .revisions-controls,.widget-liquid-right .widget{position:relative}#widget-list .widget,.feature-filter .feature-group li{display:inline}#editorcontainer #content{overflow:auto;margin:auto;width:98%}form#template div{width:100%}.wp-editor-container .quicktags-toolbar input{overflow:visible;padding:0 4px}#poststuff h2{font-size:1.6em}#poststuff .inside #page_template,#poststuff .inside #parent_id,.inline-edit-row #post_parent,.inline-edit-row select[name=page_template]{width:250px}#bh{margin:7px 0 0 10px;float:left}div#dashboard-widgets{padding-left:1px}.tagchecklist span,.tagchecklist span a{display:inline-block;display:block}.nav .button-secondary,.tablenav .button-secondary{padding-top:2px;padding-bottom:2px}.tablenav select{font-size:13px;display:inline-block;vertical-align:top;margin-top:2px}.tablenav .actions select{width:155px}.subsubsub li{display:inline}a.post-state-format{text-indent:0;line-height:0;font-size:0}table.ie-fixed{table-layout:fixed}.widefat tfoot td,.widefat th,.widefat thead td,.widefat tr{margin-bottom:0;border-spacing:0}.widefat tfoot td input,.widefat th input,.widefat thead td input{margin:0 5px 0 0}.widefat tfoot .check-column,.widefat thead .check-column{padding-top:6px}.media.widefat tbody th.check-column,.widefat tbody th.check-column{padding:4px 0 0}.widefat{empty-cells:show;border-collapse:collapse}.tablenav a.button-secondary{display:inline-block;padding:2px 5px}.inactive-sidebar .widgets-sortables{padding-bottom:8px}#available-widgets .widget-holder{padding-bottom:65px}#widgets-left .inactive{padding-bottom:10px}.inactive-sidebar .widget{display:block;float:right}#wpcontent .button-primary-disabled{color:#9FD0D5;background:#298CBA}#the-comment-list .unapproved td,#the-comment-list .unapproved tr{background-color:#ffffe0}.imgedit-submit{width:300px}#nav-menus-frame,#wpbody,.menu li{zoom:100%}#update-nav-menu #post-body{overflow:hidden}.menu li{min-width:100%}.menu li.sortable-placeholder{min-width:400px}.available-theme{display:inline}.available-theme ul{margin:0}.available-theme .action-links li{padding-left:7px;margin-left:7px}.about-wrap .three-col.about-updates .col-2{width:15%}.about-wrap .about-password-meter input{width:98%}.revisions-tickmarks,.revisions-tooltip{display:none!important}.login form .input,input[type=password]{font-family:sans-serif}.mce-btn i.mce-i-aligncenter,.mce-btn i.mce-i-alignjustify,.mce-btn i.mce-i-alignleft,.mce-btn i.mce-i-alignright,.mce-btn i.mce-i-blockquote,.mce-btn i.mce-i-bold,.mce-btn i.mce-i-bullist,.mce-btn i.mce-i-charmap,.mce-btn i.mce-i-forecolor,.mce-btn i.mce-i-fullscreen,.mce-btn i.mce-i-help,.mce-btn i.mce-i-hr,.mce-btn i.mce-i-indent,.mce-btn i.mce-i-italic,.mce-btn i.mce-i-link,.mce-btn i.mce-i-ltr,.mce-btn i.mce-i-numlist,.mce-btn i.mce-i-outdent,.mce-btn i.mce-i-pastetext,.mce-btn i.mce-i-pasteword,.mce-btn i.mce-i-redo,.mce-btn i.mce-i-removeformat,.mce-btn i.mce-i-spellchecker,.mce-btn i.mce-i-strikethrough,.mce-btn i.mce-i-underline,.mce-btn i.mce-i-undo,.mce-btn i.mce-i-unlink,.mce-btn i.mce-i-wp-media-library,.mce-btn i.mce-i-wp_adv,.mce-btn i.mce-i-wp_fullscreen,.mce-btn i.mce-i-wp_help,.mce-btn i.mce-i-wp_more,.mce-btn i.mce-i-wp_page,.mce-close{font-family:tinymce,Arial;font-style:normal;font-weight:400;font-variant:normal;font-size:16px;margin-right:0;padding-left:0}.mce-btn i.mce-i-wp_fullscreen,.qt-fullscreen{-ie7-icon:'\e023'}.mce-btn i.mce-i-wp_more,.mce-btn i.mce-i-wp_page{-ie7-icon:'\e027'}.mce-btn i.mce-i-wp_adv{background-color:#a0a5aa}.mce-btn i.mce-i-help,.mce-btn i.mce-i-wp_help{-ie7-icon:'\e016'}* html .row-actions{visibility:visible}* html div.widget-liquid-left,* html div.widget-liquid-right{display:block;position:relative}* html #editorcontainer{padding:0}* html #poststuff h2{margin-right:0}* html .stuffbox,* html .stuffbox input,* html .stuffbox textarea{border:1px solid #DFDFDF}* html .feature-filter .feature-group li{width:145px}* html div.widget-liquid-left{width:99%}* html .widgets-sortables{height:50px}* html a#content_resize{left:-2px}* html .widget-title h4{width:205px}* html #removing-widget .in-widget-title{display:none}* html .media-item .pinkynail{height:32px;width:40px}* html .describe .field input.text,* html .describe .field textarea{width:440px}* html input{border:1px solid #dfdfdf}* html .edit-box{display:inline}* html .postbox-container .meta-box-sortables{height:300px}* html #wpbody-content #screen-options-link-wrap{display:inline-block;width:150px;text-align:center}* html #wpbody-content #contextual-help-link-wrap{display:inline-block;width:100px;text-align:center}* html #adminmenu{margin-right:-80px}* html .folded #adminmenu{margin-right:-22px}* html #wpcontent #adminmenu li.menu-top{display:inline;padding:0;margin:0}* html #wpfooter{margin:0}* html #adminmenu div.wp-menu-image{height:29px} \ No newline at end of file +#dashboard-widgets form .input-text-wrap input,#dashboard-widgets form .textarea-wrap textarea{width:99%}#dashboard-widgets form #title{width:98%}#wpbody-content #dashboard-widgets .postbox-container{width:49.5%}#wpbody-content #dashboard-widgets #postbox-container-2,#wpbody-content #dashboard-widgets #postbox-container-3,#wpbody-content #dashboard-widgets #postbox-container-4{float:left;width:50.5%}#dashboard-widgets #postbox-container-3 .empty-container,#dashboard-widgets #postbox-container-4 .empty-container{border:0;height:0;min-height:0}.wp-editor-wrap .wp-editor-container,.wp-editor-wrap .wp-editor-tabs,.wp-editor-wrap .wp-editor-tools,.wp-editor-wrap .wp-switch-editor{zoom:100%}.wp-editor-wrap .wp-editor-container textarea.wp-editor-area{width:97%}#post-body.columns-2 #postbox-container-1{padding-right:19px}.welcome-panel .wp-badge{position:absolute}.welcome-panel .welcome-panel-column:first-child{width:35%}#adminmenuback{right:0;background-image:none}#adminmenu .wp-submenu,.folded #adminmenu .opensub .wp-submenu,.folded #adminmenu .wp-submenu.sub-open{right:110px}#adminmenuwrap{position:static}#adminmenu{position:relative}#adminmenu,#adminmenu a{cursor:pointer}#adminmenu li.wp-menu-separator,#adminmenu li.wp-menu-separator-last{font-size:1px;line-height:1}#adminmenu a.menu-top{border-bottom:0 none;border-top:1px solid #ddd}#adminmenu .separator{font-size:1px;line-height:1px}#adminmenu .wp-submenu ul{margin:0}.folded #wpcontent,.folded #wpfooter{margin-right:170px}.folded #adminmenu,.folded #adminmenu li.menu-top,.folded #adminmenuback,.folded #adminmenuwrap{width:150px}.folded #adminmenu .wp-submenu{border-top-color:transparent}.folded #adminmenu .wp-menu-name{display:block}.folded #adminmenu .wp-has-current-submenu .wp-submenu,.folded #adminmenu a.wp-has-current-submenu:focus+.wp-submenu{top:-1px;position:relative}.folded #adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head{background-color:transparent}#adminmenu .wp-submenu .wp-submenu-head{border-top-color:#ddd}.folded #adminmenu .wp-submenu ul{margin-right:5px}#adminmenu li.menu-top{margin-bottom:-2px}#adminmenu .wp-menu-arrow{display:none!important}.js.folded #adminmenu li.menu-top{display:block;zoom:100%}ul#adminmenu{z-index:99}#adminmenu li.menu-top a.menu-top{min-width:auto;width:auto}#wpcontent #adminmenu li.wp-has-current-submenu a.wp-has-submenu{font-style:normal}#wpcontent #adminmenu .wp-submenu li{padding:0}#adminmenu li.wp-has-current-submenu .wp-submenu{right:-40px}#adminmenu .wp-menu-image{display:none!important}#adminmenu a.menu-top .wp-menu-name{padding-right:8px}#collapse-menu{line-height:23px}#wpadminbar .ab-comments-icon{padding-top:7px}.theme-browser .theme{width:30%;margin:0 0 4% 3%;cursor:auto}.theme-browser .theme:focus,.theme-browser .theme:hover{cursor:auto}.theme-browser .theme .theme-screenshot{height:180px}.theme-browser .theme .theme-actions{position:static;background-color:#e8e8e8}.theme-browser .theme .more-details{display:none}.plugins td,.plugins th,table.fixed td,table.fixed th{border-top:1px solid #ddd}#wpbody-content input.button,#wpbody-content input.button-primary,#wpbody-content input.button-secondary{overflow:visible}#dashboard-widgets h3 a{height:14px;line-height:14px}#dashboard_browser_nag{color:#fff}#dashboard_browser_nag .browser-icon{position:relative}.tablenav-pages .current-page{vertical-align:middle}#wpbody-content .postbox{border:1px solid #dfdfdf}#wpbody-content .postbox .hndle{margin-bottom:-1px}#addcat,#editcat,#template,#template div,.major-publishing-actions,.wp-submenu,.wp-submenu li{zoom:100%}.wp-menu-arrow{height:28px}.submitbox{margin-top:10px}#wpbody-content .quick-edit-row-post .inline-edit-col-left{width:39%}#wpbody-content .inline-edit-row-post .inline-edit-col-center{width:19%}#wpbody-content .quick-edit-row-page .inline-edit-col-left{width:49%}#wpbody-content .bulk-edit-row .inline-edit-col-left{width:29%}.inline-edit-row p.submit{zoom:100%}.inline-edit-row fieldset label span.title{display:block;float:right;width:5em}.inline-edit-row fieldset label span.input-text-wrap{margin-right:0;zoom:100%}#wpbody-content .inline-edit-row fieldset label span.input-text-wrap input{line-height:130%}#wpbody-content .inline-edit-row .input-text-wrap input{width:95%}#wpbody-content .inline-edit-row .input-text-wrap input.inline-edit-password-input{width:8em}#titlediv #title{width:98%}.button,input[type=reset],input[type=button],input[type=submit]{padding:0 8px;line-height:20px;height:auto}.button.button-large,input[type=reset].button-large,input[type=button].button-large,input[type=submit].button-large{padding:0 10px;line-height:24px;height:auto}.button.button-small,input[type=reset].button-small,input[type=button].button-small,input[type=submit].button-small{padding:0 6px;line-height:16px;height:auto}a.button{margin:1px;padding:1px 9px 2px}a.button.button-large{padding:1px 11px 2px}a.button.button-small{padding:1px 7px 2px}#screen-options-wrap{overflow:hidden}#col-container,#col-left,#col-right,#dragHelper,#editorcontainer,#post-body,#post-status-info,#postdiv,#postdivrich,#poststuff,#the-comment-list .comment-item,#titlediv,#widgets-left,#wpwrap,#wrap,.fileedit-sub,.metabox-holder,.tablenav,.tagchecklist,.widget .widget-top,.widget-control-actions,.widget-liquid-left,.widget-liquid-right,.widgets-sortables{display:block;zoom:100%}p.search-box{position:static;float:left;margin:-3px 0 4px}#submitdiv a.button,#submitdiv input,#submitdiv select,.inactive-sidebar .widget,.revisions.pinned .revisions-controls,.widget-liquid-right .widget{position:relative}#widget-list .widget{display:inline}#editorcontainer #content{overflow:auto;margin:auto;width:98%}form#template div{width:100%}.wp-editor-container .quicktags-toolbar input{overflow:visible;padding:0 4px}#poststuff h2{font-size:1.6em}#poststuff .inside #page_template,#poststuff .inside #parent_id,.inline-edit-row #post_parent,.inline-edit-row select[name=page_template]{width:250px}#bh{margin:7px 0 0 10px;float:left}div#dashboard-widgets{padding-left:1px}.tagchecklist span,.tagchecklist span a{display:inline-block;display:block}.nav .button-secondary,.tablenav .button-secondary{padding-top:2px;padding-bottom:2px}.tablenav select{font-size:13px;display:inline-block;vertical-align:top;margin-top:2px}.tablenav .actions select{width:155px}.subsubsub li{display:inline}a.post-state-format{text-indent:0;line-height:0;font-size:0}table.ie-fixed{table-layout:fixed}.widefat tfoot td,.widefat th,.widefat thead td,.widefat tr{margin-bottom:0;border-spacing:0}.widefat tfoot td input,.widefat th input,.widefat thead td input{margin:0 5px 0 0}.widefat tfoot .check-column,.widefat thead .check-column{padding-top:6px}.media.widefat tbody th.check-column,.widefat tbody th.check-column{padding:4px 0 0}.widefat{empty-cells:show;border-collapse:collapse}.tablenav a.button-secondary{display:inline-block;padding:2px 5px}.inactive-sidebar .widgets-sortables{padding-bottom:8px}#available-widgets .widget-holder{padding-bottom:65px}#widgets-left .inactive{padding-bottom:10px}.inactive-sidebar .widget{display:block;float:right}#wpcontent .button-primary-disabled{color:#9FD0D5;background:#298CBA}#the-comment-list .unapproved td,#the-comment-list .unapproved tr{background-color:#ffffe0}.imgedit-submit{width:300px}#nav-menus-frame,#wpbody,.menu li{zoom:100%}#update-nav-menu #post-body{overflow:hidden}.menu li{min-width:100%}.menu li.sortable-placeholder{min-width:400px}.available-theme{display:inline}.available-theme ul{margin:0}.available-theme .action-links li{padding-left:7px;margin-left:7px}.about-wrap .three-col.about-updates .col-2{width:15%}.about-wrap .about-password-meter input{width:98%}.revisions-tickmarks,.revisions-tooltip{display:none!important}.login form .input,input[type=password]{font-family:sans-serif}.mce-btn i.mce-i-aligncenter,.mce-btn i.mce-i-alignjustify,.mce-btn i.mce-i-alignleft,.mce-btn i.mce-i-alignright,.mce-btn i.mce-i-blockquote,.mce-btn i.mce-i-bold,.mce-btn i.mce-i-bullist,.mce-btn i.mce-i-charmap,.mce-btn i.mce-i-forecolor,.mce-btn i.mce-i-fullscreen,.mce-btn i.mce-i-help,.mce-btn i.mce-i-hr,.mce-btn i.mce-i-indent,.mce-btn i.mce-i-italic,.mce-btn i.mce-i-link,.mce-btn i.mce-i-ltr,.mce-btn i.mce-i-numlist,.mce-btn i.mce-i-outdent,.mce-btn i.mce-i-pastetext,.mce-btn i.mce-i-pasteword,.mce-btn i.mce-i-redo,.mce-btn i.mce-i-removeformat,.mce-btn i.mce-i-spellchecker,.mce-btn i.mce-i-strikethrough,.mce-btn i.mce-i-underline,.mce-btn i.mce-i-undo,.mce-btn i.mce-i-unlink,.mce-btn i.mce-i-wp-media-library,.mce-btn i.mce-i-wp_adv,.mce-btn i.mce-i-wp_fullscreen,.mce-btn i.mce-i-wp_help,.mce-btn i.mce-i-wp_more,.mce-btn i.mce-i-wp_page,.mce-close{font-family:tinymce,Arial;font-style:normal;font-weight:400;font-variant:normal;font-size:16px;margin-right:0;padding-left:0}.mce-btn i.mce-i-wp_fullscreen,.qt-fullscreen{-ie7-icon:'\e023'}.mce-btn i.mce-i-wp_more,.mce-btn i.mce-i-wp_page{-ie7-icon:'\e027'}.mce-btn i.mce-i-wp_adv{background-color:#a0a5aa}.mce-btn i.mce-i-help,.mce-btn i.mce-i-wp_help{-ie7-icon:'\e016'}* html .row-actions{visibility:visible}* html div.widget-liquid-left,* html div.widget-liquid-right{display:block;position:relative}* html #editorcontainer{padding:0}* html #poststuff h2{margin-right:0}* html .stuffbox,* html .stuffbox input,* html .stuffbox textarea{border:1px solid #DFDFDF}* html div.widget-liquid-left{width:99%}* html .widgets-sortables{height:50px}* html a#content_resize{left:-2px}* html .widget-title h4{width:205px}* html #removing-widget .in-widget-title{display:none}* html .media-item .pinkynail{height:32px;width:40px}* html .describe .field input.text,* html .describe .field textarea{width:440px}* html input{border:1px solid #dfdfdf}* html .edit-box{display:inline}* html .postbox-container .meta-box-sortables{height:300px}* html #wpbody-content #screen-options-link-wrap{display:inline-block;width:150px;text-align:center}* html #wpbody-content #contextual-help-link-wrap{display:inline-block;width:100px;text-align:center}* html #adminmenu{margin-right:-80px}* html .folded #adminmenu{margin-right:-22px}* html #wpcontent #adminmenu li.menu-top{display:inline;padding:0;margin:0}* html #wpfooter{margin:0}* html #adminmenu div.wp-menu-image{height:29px} \ No newline at end of file diff --git a/wp-admin/css/ie.css b/wp-admin/css/ie.css index 1fa160f..78f84e0 100644 --- a/wp-admin/css/ie.css +++ b/wp-admin/css/ie.css @@ -396,15 +396,10 @@ p.search-box { margin: -3px 0 4px; } -#widget-list .widget, -.feature-filter .feature-group li { +#widget-list .widget { display: inline; } -.feature-filter .feature-group li input { - vertical-align: middle; -} - #editorcontainer #content { overflow: auto; margin: auto; @@ -695,10 +690,6 @@ input[type="password"], border: 1px solid #DFDFDF; } -* html .feature-filter .feature-group li { - width: 145px; -} - * html div.widget-liquid-left { width: 99%; } diff --git a/wp-admin/css/ie.min.css b/wp-admin/css/ie.min.css index 3b5059b..182abce 100644 --- a/wp-admin/css/ie.min.css +++ b/wp-admin/css/ie.min.css @@ -1 +1 @@ -.feature-filter .feature-group li input,.tablenav-pages .current-page{vertical-align:middle}#dashboard-widgets form .input-text-wrap input,#dashboard-widgets form .textarea-wrap textarea{width:99%}#dashboard-widgets form #title{width:98%}#wpbody-content #dashboard-widgets .postbox-container{width:49.5%}#wpbody-content #dashboard-widgets #postbox-container-2,#wpbody-content #dashboard-widgets #postbox-container-3,#wpbody-content #dashboard-widgets #postbox-container-4{float:right;width:50.5%}#dashboard-widgets #postbox-container-3 .empty-container,#dashboard-widgets #postbox-container-4 .empty-container{border:0;height:0;min-height:0}.wp-editor-wrap .wp-editor-container,.wp-editor-wrap .wp-editor-tabs,.wp-editor-wrap .wp-editor-tools,.wp-editor-wrap .wp-switch-editor{zoom:100%}.wp-editor-wrap .wp-editor-container textarea.wp-editor-area{width:97%}#post-body.columns-2 #postbox-container-1{padding-left:19px}.welcome-panel .wp-badge{position:absolute}.welcome-panel .welcome-panel-column:first-child{width:35%}#adminmenuback{left:0;background-image:none}#adminmenu .wp-submenu,.folded #adminmenu .opensub .wp-submenu,.folded #adminmenu .wp-submenu.sub-open{left:110px}#adminmenuwrap{position:static}#adminmenu{position:relative}#adminmenu,#adminmenu a{cursor:pointer}#adminmenu li.wp-menu-separator,#adminmenu li.wp-menu-separator-last{font-size:1px;line-height:1}#adminmenu a.menu-top{border-bottom:0 none;border-top:1px solid #ddd}#adminmenu .separator{font-size:1px;line-height:1px}#adminmenu .wp-submenu ul{margin:0}.folded #wpcontent,.folded #wpfooter{margin-left:170px}.folded #adminmenu,.folded #adminmenu li.menu-top,.folded #adminmenuback,.folded #adminmenuwrap{width:150px}.folded #adminmenu .wp-submenu{border-top-color:transparent}.folded #adminmenu .wp-menu-name{display:block}.folded #adminmenu .wp-has-current-submenu .wp-submenu,.folded #adminmenu a.wp-has-current-submenu:focus+.wp-submenu{top:-1px;position:relative}.folded #adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head{background-color:transparent}#adminmenu .wp-submenu .wp-submenu-head{border-top-color:#ddd}.folded #adminmenu .wp-submenu ul{margin-left:5px}#adminmenu li.menu-top{margin-bottom:-2px}#adminmenu .wp-menu-arrow{display:none!important}.js.folded #adminmenu li.menu-top{display:block;zoom:100%}ul#adminmenu{z-index:99}#adminmenu li.menu-top a.menu-top{min-width:auto;width:auto}#wpcontent #adminmenu li.wp-has-current-submenu a.wp-has-submenu{font-style:normal}#wpcontent #adminmenu .wp-submenu li{padding:0}#adminmenu li.wp-has-current-submenu .wp-submenu{left:-40px}#adminmenu .wp-menu-image{display:none!important}#adminmenu a.menu-top .wp-menu-name{padding-left:8px}#collapse-menu{line-height:23px}#wpadminbar .ab-comments-icon{padding-top:7px}.theme-browser .theme{width:30%;margin:0 3% 4% 0;cursor:auto}.theme-browser .theme:focus,.theme-browser .theme:hover{cursor:auto}.theme-browser .theme .theme-screenshot{height:180px}.theme-browser .theme .theme-actions{position:static;background-color:#e8e8e8}.theme-browser .theme .more-details{display:none}.plugins td,.plugins th,table.fixed td,table.fixed th{border-top:1px solid #ddd}#wpbody-content input.button,#wpbody-content input.button-primary,#wpbody-content input.button-secondary{overflow:visible}#dashboard-widgets h3 a{height:14px;line-height:14px}#dashboard_browser_nag{color:#fff}#dashboard_browser_nag .browser-icon{position:relative}#wpbody-content .postbox{border:1px solid #dfdfdf}#wpbody-content .postbox .hndle{margin-bottom:-1px}#addcat,#editcat,#template,#template div,.major-publishing-actions,.wp-submenu,.wp-submenu li{zoom:100%}.wp-menu-arrow{height:28px}.submitbox{margin-top:10px}#wpbody-content .quick-edit-row-post .inline-edit-col-left{width:39%}#wpbody-content .inline-edit-row-post .inline-edit-col-center{width:19%}#wpbody-content .quick-edit-row-page .inline-edit-col-left{width:49%}#wpbody-content .bulk-edit-row .inline-edit-col-left{width:29%}.inline-edit-row p.submit{zoom:100%}.inline-edit-row fieldset label span.title{display:block;float:left;width:5em}.inline-edit-row fieldset label span.input-text-wrap{margin-left:0;zoom:100%}#wpbody-content .inline-edit-row fieldset label span.input-text-wrap input{line-height:130%}#wpbody-content .inline-edit-row .input-text-wrap input{width:95%}#wpbody-content .inline-edit-row .input-text-wrap input.inline-edit-password-input{width:8em}#titlediv #title{width:98%}.button,input[type=reset],input[type=button],input[type=submit]{padding:0 8px;line-height:20px;height:auto}.button.button-large,input[type=reset].button-large,input[type=button].button-large,input[type=submit].button-large{padding:0 10px;line-height:24px;height:auto}.button.button-small,input[type=reset].button-small,input[type=button].button-small,input[type=submit].button-small{padding:0 6px;line-height:16px;height:auto}a.button{margin:1px;padding:1px 9px 2px}a.button.button-large{padding:1px 11px 2px}a.button.button-small{padding:1px 7px 2px}#screen-options-wrap{overflow:hidden}#col-container,#col-left,#col-right,#dragHelper,#editorcontainer,#post-body,#post-status-info,#postdiv,#postdivrich,#poststuff,#the-comment-list .comment-item,#titlediv,#widgets-left,#wpwrap,#wrap,.fileedit-sub,.metabox-holder,.tablenav,.tagchecklist,.widget .widget-top,.widget-control-actions,.widget-liquid-left,.widget-liquid-right,.widgets-sortables{display:block;zoom:100%}p.search-box{position:static;float:right;margin:-3px 0 4px}#submitdiv a.button,#submitdiv input,#submitdiv select,.inactive-sidebar .widget,.revisions.pinned .revisions-controls,.widget-liquid-right .widget{position:relative}#widget-list .widget,.feature-filter .feature-group li{display:inline}#editorcontainer #content{overflow:auto;margin:auto;width:98%}form#template div{width:100%}.wp-editor-container .quicktags-toolbar input{overflow:visible;padding:0 4px}#poststuff h2{font-size:1.6em}#poststuff .inside #page_template,#poststuff .inside #parent_id,.inline-edit-row #post_parent,.inline-edit-row select[name=page_template]{width:250px}#bh{margin:7px 10px 0 0;float:right}div#dashboard-widgets{padding-right:1px}.tagchecklist span,.tagchecklist span a{display:inline-block;display:block}.nav .button-secondary,.tablenav .button-secondary{padding-top:2px;padding-bottom:2px}.tablenav select{font-size:13px;display:inline-block;vertical-align:top;margin-top:2px}.tablenav .actions select{width:155px}.subsubsub li{display:inline}a.post-state-format{text-indent:0;line-height:0;font-size:0}table.ie-fixed{table-layout:fixed}.widefat tfoot td,.widefat th,.widefat thead td,.widefat tr{margin-bottom:0;border-spacing:0}.widefat tfoot td input,.widefat th input,.widefat thead td input{margin:0 0 0 5px}.widefat tfoot .check-column,.widefat thead .check-column{padding-top:6px}.media.widefat tbody th.check-column,.widefat tbody th.check-column{padding:4px 0 0}.widefat{empty-cells:show;border-collapse:collapse}.tablenav a.button-secondary{display:inline-block;padding:2px 5px}.inactive-sidebar .widgets-sortables{padding-bottom:8px}#available-widgets .widget-holder{padding-bottom:65px}#widgets-left .inactive{padding-bottom:10px}.inactive-sidebar .widget{display:block;float:left}#wpcontent .button-primary-disabled{color:#9FD0D5;background:#298CBA}#the-comment-list .unapproved td,#the-comment-list .unapproved tr{background-color:#ffffe0}.imgedit-submit{width:300px}#nav-menus-frame,#wpbody,.menu li{zoom:100%}#update-nav-menu #post-body{overflow:hidden}.menu li{min-width:100%}.menu li.sortable-placeholder{min-width:400px}.available-theme{display:inline}.available-theme ul{margin:0}.available-theme .action-links li{padding-right:7px;margin-right:7px}.about-wrap .three-col.about-updates .col-2{width:15%}.about-wrap .about-password-meter input{width:98%}.revisions-tickmarks,.revisions-tooltip{display:none!important}.login form .input,input[type=password]{font-family:sans-serif}.mce-btn i.mce-i-aligncenter,.mce-btn i.mce-i-alignjustify,.mce-btn i.mce-i-alignleft,.mce-btn i.mce-i-alignright,.mce-btn i.mce-i-blockquote,.mce-btn i.mce-i-bold,.mce-btn i.mce-i-bullist,.mce-btn i.mce-i-charmap,.mce-btn i.mce-i-forecolor,.mce-btn i.mce-i-fullscreen,.mce-btn i.mce-i-help,.mce-btn i.mce-i-hr,.mce-btn i.mce-i-indent,.mce-btn i.mce-i-italic,.mce-btn i.mce-i-link,.mce-btn i.mce-i-ltr,.mce-btn i.mce-i-numlist,.mce-btn i.mce-i-outdent,.mce-btn i.mce-i-pastetext,.mce-btn i.mce-i-pasteword,.mce-btn i.mce-i-redo,.mce-btn i.mce-i-removeformat,.mce-btn i.mce-i-spellchecker,.mce-btn i.mce-i-strikethrough,.mce-btn i.mce-i-underline,.mce-btn i.mce-i-undo,.mce-btn i.mce-i-unlink,.mce-btn i.mce-i-wp-media-library,.mce-btn i.mce-i-wp_adv,.mce-btn i.mce-i-wp_fullscreen,.mce-btn i.mce-i-wp_help,.mce-btn i.mce-i-wp_more,.mce-btn i.mce-i-wp_page,.mce-close{font-family:tinymce,Arial;font-style:normal;font-weight:400;font-variant:normal;font-size:16px;margin-left:0;padding-right:0}.mce-btn i.mce-i-wp_fullscreen,.qt-fullscreen{-ie7-icon:'\e023'}.mce-btn i.mce-i-wp_more,.mce-btn i.mce-i-wp_page{-ie7-icon:'\e027'}.mce-btn i.mce-i-wp_adv{background-color:#a0a5aa}.mce-btn i.mce-i-help,.mce-btn i.mce-i-wp_help{-ie7-icon:'\e016'}* html .row-actions{visibility:visible}* html div.widget-liquid-left,* html div.widget-liquid-right{display:block;position:relative}* html #editorcontainer{padding:0}* html #poststuff h2{margin-left:0}* html .stuffbox,* html .stuffbox input,* html .stuffbox textarea{border:1px solid #DFDFDF}* html .feature-filter .feature-group li{width:145px}* html div.widget-liquid-left{width:99%}* html .widgets-sortables{height:50px}* html a#content_resize{right:-2px}* html .widget-title h4{width:205px}* html #removing-widget .in-widget-title{display:none}* html .media-item .pinkynail{height:32px;width:40px}* html .describe .field input.text,* html .describe .field textarea{width:440px}* html input{border:1px solid #dfdfdf}* html .edit-box{display:inline}* html .postbox-container .meta-box-sortables{height:300px}* html #wpbody-content #screen-options-link-wrap{display:inline-block;width:150px;text-align:center}* html #wpbody-content #contextual-help-link-wrap{display:inline-block;width:100px;text-align:center}* html #adminmenu{margin-left:-80px}* html .folded #adminmenu{margin-left:-22px}* html #wpcontent #adminmenu li.menu-top{display:inline;padding:0;margin:0}* html #wpfooter{margin:0}* html #adminmenu div.wp-menu-image{height:29px} \ No newline at end of file +#dashboard-widgets form .input-text-wrap input,#dashboard-widgets form .textarea-wrap textarea{width:99%}#dashboard-widgets form #title{width:98%}#wpbody-content #dashboard-widgets .postbox-container{width:49.5%}#wpbody-content #dashboard-widgets #postbox-container-2,#wpbody-content #dashboard-widgets #postbox-container-3,#wpbody-content #dashboard-widgets #postbox-container-4{float:right;width:50.5%}#dashboard-widgets #postbox-container-3 .empty-container,#dashboard-widgets #postbox-container-4 .empty-container{border:0;height:0;min-height:0}.wp-editor-wrap .wp-editor-container,.wp-editor-wrap .wp-editor-tabs,.wp-editor-wrap .wp-editor-tools,.wp-editor-wrap .wp-switch-editor{zoom:100%}.wp-editor-wrap .wp-editor-container textarea.wp-editor-area{width:97%}#post-body.columns-2 #postbox-container-1{padding-left:19px}.welcome-panel .wp-badge{position:absolute}.welcome-panel .welcome-panel-column:first-child{width:35%}#adminmenuback{left:0;background-image:none}#adminmenu .wp-submenu,.folded #adminmenu .opensub .wp-submenu,.folded #adminmenu .wp-submenu.sub-open{left:110px}#adminmenuwrap{position:static}#adminmenu{position:relative}#adminmenu,#adminmenu a{cursor:pointer}#adminmenu li.wp-menu-separator,#adminmenu li.wp-menu-separator-last{font-size:1px;line-height:1}#adminmenu a.menu-top{border-bottom:0 none;border-top:1px solid #ddd}#adminmenu .separator{font-size:1px;line-height:1px}#adminmenu .wp-submenu ul{margin:0}.folded #wpcontent,.folded #wpfooter{margin-left:170px}.folded #adminmenu,.folded #adminmenu li.menu-top,.folded #adminmenuback,.folded #adminmenuwrap{width:150px}.folded #adminmenu .wp-submenu{border-top-color:transparent}.folded #adminmenu .wp-menu-name{display:block}.folded #adminmenu .wp-has-current-submenu .wp-submenu,.folded #adminmenu a.wp-has-current-submenu:focus+.wp-submenu{top:-1px;position:relative}.folded #adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head{background-color:transparent}#adminmenu .wp-submenu .wp-submenu-head{border-top-color:#ddd}.folded #adminmenu .wp-submenu ul{margin-left:5px}#adminmenu li.menu-top{margin-bottom:-2px}#adminmenu .wp-menu-arrow{display:none!important}.js.folded #adminmenu li.menu-top{display:block;zoom:100%}ul#adminmenu{z-index:99}#adminmenu li.menu-top a.menu-top{min-width:auto;width:auto}#wpcontent #adminmenu li.wp-has-current-submenu a.wp-has-submenu{font-style:normal}#wpcontent #adminmenu .wp-submenu li{padding:0}#adminmenu li.wp-has-current-submenu .wp-submenu{left:-40px}#adminmenu .wp-menu-image{display:none!important}#adminmenu a.menu-top .wp-menu-name{padding-left:8px}#collapse-menu{line-height:23px}#wpadminbar .ab-comments-icon{padding-top:7px}.theme-browser .theme{width:30%;margin:0 3% 4% 0;cursor:auto}.theme-browser .theme:focus,.theme-browser .theme:hover{cursor:auto}.theme-browser .theme .theme-screenshot{height:180px}.theme-browser .theme .theme-actions{position:static;background-color:#e8e8e8}.theme-browser .theme .more-details{display:none}.plugins td,.plugins th,table.fixed td,table.fixed th{border-top:1px solid #ddd}#wpbody-content input.button,#wpbody-content input.button-primary,#wpbody-content input.button-secondary{overflow:visible}#dashboard-widgets h3 a{height:14px;line-height:14px}#dashboard_browser_nag{color:#fff}#dashboard_browser_nag .browser-icon{position:relative}.tablenav-pages .current-page{vertical-align:middle}#wpbody-content .postbox{border:1px solid #dfdfdf}#wpbody-content .postbox .hndle{margin-bottom:-1px}#addcat,#editcat,#template,#template div,.major-publishing-actions,.wp-submenu,.wp-submenu li{zoom:100%}.wp-menu-arrow{height:28px}.submitbox{margin-top:10px}#wpbody-content .quick-edit-row-post .inline-edit-col-left{width:39%}#wpbody-content .inline-edit-row-post .inline-edit-col-center{width:19%}#wpbody-content .quick-edit-row-page .inline-edit-col-left{width:49%}#wpbody-content .bulk-edit-row .inline-edit-col-left{width:29%}.inline-edit-row p.submit{zoom:100%}.inline-edit-row fieldset label span.title{display:block;float:left;width:5em}.inline-edit-row fieldset label span.input-text-wrap{margin-left:0;zoom:100%}#wpbody-content .inline-edit-row fieldset label span.input-text-wrap input{line-height:130%}#wpbody-content .inline-edit-row .input-text-wrap input{width:95%}#wpbody-content .inline-edit-row .input-text-wrap input.inline-edit-password-input{width:8em}#titlediv #title{width:98%}.button,input[type=reset],input[type=button],input[type=submit]{padding:0 8px;line-height:20px;height:auto}.button.button-large,input[type=reset].button-large,input[type=button].button-large,input[type=submit].button-large{padding:0 10px;line-height:24px;height:auto}.button.button-small,input[type=reset].button-small,input[type=button].button-small,input[type=submit].button-small{padding:0 6px;line-height:16px;height:auto}a.button{margin:1px;padding:1px 9px 2px}a.button.button-large{padding:1px 11px 2px}a.button.button-small{padding:1px 7px 2px}#screen-options-wrap{overflow:hidden}#col-container,#col-left,#col-right,#dragHelper,#editorcontainer,#post-body,#post-status-info,#postdiv,#postdivrich,#poststuff,#the-comment-list .comment-item,#titlediv,#widgets-left,#wpwrap,#wrap,.fileedit-sub,.metabox-holder,.tablenav,.tagchecklist,.widget .widget-top,.widget-control-actions,.widget-liquid-left,.widget-liquid-right,.widgets-sortables{display:block;zoom:100%}p.search-box{position:static;float:right;margin:-3px 0 4px}#submitdiv a.button,#submitdiv input,#submitdiv select,.inactive-sidebar .widget,.revisions.pinned .revisions-controls,.widget-liquid-right .widget{position:relative}#widget-list .widget{display:inline}#editorcontainer #content{overflow:auto;margin:auto;width:98%}form#template div{width:100%}.wp-editor-container .quicktags-toolbar input{overflow:visible;padding:0 4px}#poststuff h2{font-size:1.6em}#poststuff .inside #page_template,#poststuff .inside #parent_id,.inline-edit-row #post_parent,.inline-edit-row select[name=page_template]{width:250px}#bh{margin:7px 10px 0 0;float:right}div#dashboard-widgets{padding-right:1px}.tagchecklist span,.tagchecklist span a{display:inline-block;display:block}.nav .button-secondary,.tablenav .button-secondary{padding-top:2px;padding-bottom:2px}.tablenav select{font-size:13px;display:inline-block;vertical-align:top;margin-top:2px}.tablenav .actions select{width:155px}.subsubsub li{display:inline}a.post-state-format{text-indent:0;line-height:0;font-size:0}table.ie-fixed{table-layout:fixed}.widefat tfoot td,.widefat th,.widefat thead td,.widefat tr{margin-bottom:0;border-spacing:0}.widefat tfoot td input,.widefat th input,.widefat thead td input{margin:0 0 0 5px}.widefat tfoot .check-column,.widefat thead .check-column{padding-top:6px}.media.widefat tbody th.check-column,.widefat tbody th.check-column{padding:4px 0 0}.widefat{empty-cells:show;border-collapse:collapse}.tablenav a.button-secondary{display:inline-block;padding:2px 5px}.inactive-sidebar .widgets-sortables{padding-bottom:8px}#available-widgets .widget-holder{padding-bottom:65px}#widgets-left .inactive{padding-bottom:10px}.inactive-sidebar .widget{display:block;float:left}#wpcontent .button-primary-disabled{color:#9FD0D5;background:#298CBA}#the-comment-list .unapproved td,#the-comment-list .unapproved tr{background-color:#ffffe0}.imgedit-submit{width:300px}#nav-menus-frame,#wpbody,.menu li{zoom:100%}#update-nav-menu #post-body{overflow:hidden}.menu li{min-width:100%}.menu li.sortable-placeholder{min-width:400px}.available-theme{display:inline}.available-theme ul{margin:0}.available-theme .action-links li{padding-right:7px;margin-right:7px}.about-wrap .three-col.about-updates .col-2{width:15%}.about-wrap .about-password-meter input{width:98%}.revisions-tickmarks,.revisions-tooltip{display:none!important}.login form .input,input[type=password]{font-family:sans-serif}.mce-btn i.mce-i-aligncenter,.mce-btn i.mce-i-alignjustify,.mce-btn i.mce-i-alignleft,.mce-btn i.mce-i-alignright,.mce-btn i.mce-i-blockquote,.mce-btn i.mce-i-bold,.mce-btn i.mce-i-bullist,.mce-btn i.mce-i-charmap,.mce-btn i.mce-i-forecolor,.mce-btn i.mce-i-fullscreen,.mce-btn i.mce-i-help,.mce-btn i.mce-i-hr,.mce-btn i.mce-i-indent,.mce-btn i.mce-i-italic,.mce-btn i.mce-i-link,.mce-btn i.mce-i-ltr,.mce-btn i.mce-i-numlist,.mce-btn i.mce-i-outdent,.mce-btn i.mce-i-pastetext,.mce-btn i.mce-i-pasteword,.mce-btn i.mce-i-redo,.mce-btn i.mce-i-removeformat,.mce-btn i.mce-i-spellchecker,.mce-btn i.mce-i-strikethrough,.mce-btn i.mce-i-underline,.mce-btn i.mce-i-undo,.mce-btn i.mce-i-unlink,.mce-btn i.mce-i-wp-media-library,.mce-btn i.mce-i-wp_adv,.mce-btn i.mce-i-wp_fullscreen,.mce-btn i.mce-i-wp_help,.mce-btn i.mce-i-wp_more,.mce-btn i.mce-i-wp_page,.mce-close{font-family:tinymce,Arial;font-style:normal;font-weight:400;font-variant:normal;font-size:16px;margin-left:0;padding-right:0}.mce-btn i.mce-i-wp_fullscreen,.qt-fullscreen{-ie7-icon:'\e023'}.mce-btn i.mce-i-wp_more,.mce-btn i.mce-i-wp_page{-ie7-icon:'\e027'}.mce-btn i.mce-i-wp_adv{background-color:#a0a5aa}.mce-btn i.mce-i-help,.mce-btn i.mce-i-wp_help{-ie7-icon:'\e016'}* html .row-actions{visibility:visible}* html div.widget-liquid-left,* html div.widget-liquid-right{display:block;position:relative}* html #editorcontainer{padding:0}* html #poststuff h2{margin-left:0}* html .stuffbox,* html .stuffbox input,* html .stuffbox textarea{border:1px solid #DFDFDF}* html div.widget-liquid-left{width:99%}* html .widgets-sortables{height:50px}* html a#content_resize{right:-2px}* html .widget-title h4{width:205px}* html #removing-widget .in-widget-title{display:none}* html .media-item .pinkynail{height:32px;width:40px}* html .describe .field input.text,* html .describe .field textarea{width:440px}* html input{border:1px solid #dfdfdf}* html .edit-box{display:inline}* html .postbox-container .meta-box-sortables{height:300px}* html #wpbody-content #screen-options-link-wrap{display:inline-block;width:150px;text-align:center}* html #wpbody-content #contextual-help-link-wrap{display:inline-block;width:100px;text-align:center}* html #adminmenu{margin-left:-80px}* html .folded #adminmenu{margin-left:-22px}* html #wpcontent #adminmenu li.menu-top{display:inline;padding:0;margin:0}* html #wpfooter{margin:0}* html #adminmenu div.wp-menu-image{height:29px} \ No newline at end of file diff --git a/wp-admin/css/install-rtl.css b/wp-admin/css/install-rtl.css index 8211e82..5511215 100644 --- a/wp-admin/css/install-rtl.css +++ b/wp-admin/css/install-rtl.css @@ -17,25 +17,38 @@ body { a { color: #0073aa; - text-decoration: none; } -a:hover { +a:hover, +a:active { color: #00a0d2; } -h1 { +a:focus { + color: #124964; + -webkit-box-shadow: + 0 0 0 1px #5b9dd9, + 0 0 2px 1px rgba(30, 140, 190, .8); + box-shadow: + 0 0 0 1px #5b9dd9, + 0 0 2px 1px rgba(30, 140, 190, .8); +} + +.ie8 a:focus { + outline: #5b9dd9 solid 1px; +} + +h1, h2 { border-bottom: 1px solid #dedede; clear: both; color: #666; font-size: 24px; - margin: 30px 0; padding: 0; padding-bottom: 7px; font-weight: normal; } -h2 { +h3 { font-size: 16px; } @@ -61,12 +74,19 @@ abbr { font-variant: normal; } +fieldset { + border: 0; + padding: 0; + margin: 0; +} + label { cursor: pointer; } #logo { margin: 6px 0 14px 0; + padding: 0 0 7px 0; border-bottom: none; text-align:center } @@ -91,6 +111,12 @@ label { overflow: hidden; display: block; } + +#logo a:focus { + -webkit-box-shadow: none; + box-shadow: none; +} + .step { margin: 20px 0 15px; } @@ -168,6 +194,7 @@ submit { font-weight: normal; } +.form-table.install-success th, .form-table.install-success td { vertical-align: middle; padding: 16px 0 16px 20px; diff --git a/wp-admin/css/install-rtl.min.css b/wp-admin/css/install-rtl.min.css index 9b4383f..13f7702 100644 --- a/wp-admin/css/install-rtl.min.css +++ b/wp-admin/css/install-rtl.min.css @@ -1 +1 @@ -a img,abbr{border:0}#logo a,a{text-decoration:none}#logo a,.form-table th p,h1{font-weight:400}html{background:#f1f1f1;margin:0 20px}body{background:#fff;color:#444;font-family:"Open Sans",sans-serif;margin:140px auto 25px;padding:20px 20px 10px;max-width:700px;-webkit-font-smoothing:subpixel-antialiased;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.13);box-shadow:0 1px 3px rgba(0,0,0,.13)}a{color:#0073aa}a:hover{color:#00a0d2}h1{border-bottom:1px solid #dedede;clear:both;color:#666;font-size:24px;margin:30px 0;padding:0 0 7px}h2{font-size:16px}dd,dt,li,p{padding-bottom:2px;font-size:14px;line-height:1.5}.code,code{font-family:Consolas,Monaco,monospace}input,submit,textarea{font-family:"Open Sans",sans-serif}dl,ol,ul{padding:5px 22px 5px 5px}abbr{font-variant:normal}label{cursor:pointer}#logo{margin:6px 0 14px;border-bottom:none;text-align:center}#logo a{background-image:url(../images/w-logo-blue.png?ver=20131202);background-image:none,url(../images/wordpress-logo.svg?ver=20131107);-webkit-background-size:84px;background-size:84px;background-position:center top;background-repeat:no-repeat;color:#999;height:84px;font-size:20px;line-height:1.3em;margin:-130px auto 25px;padding:0;width:84px;text-indent:-9999px;outline:0;overflow:hidden;display:block}#pass1-text,.pw-weak,.show-password #pass1{display:none}.step{margin:20px 0 15px}.step,th{text-align:right;padding:0}.language-chooser.wp-core-ui .step .button.button-large{height:36px;vertical-align:middle;font-size:14px}.form-table td,.form-table th{font-size:14px;padding:10px 0 10px 20px;vertical-align:top}textarea{border:1px solid #dfdfdf;width:100%;box-sizing:border-box}#pass-strength-result,textarea{-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.form-table{border-collapse:collapse;margin-top:1em;width:100%}.form-table td{margin-bottom:9px}.form-table th{text-align:right;width:140px}.form-table code{line-height:18px;font-size:14px}.form-table p{margin:4px 0 0;font-size:11px}.form-table input{line-height:20px;font-size:15px;padding:3px 5px;border:1px solid #ddd;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.07);box-shadow:inset 0 1px 2px rgba(0,0,0,.07)}.form-table input[type=email],.form-table input[type=password],.form-table input[type=text],.form-table input[type=url]{width:206px}.form-table.install-success td{vertical-align:middle;padding:16px 0 16px 20px}.form-table.install-success td p{margin:0;font-size:14px}.form-table.install-success td code{margin:0;font-size:18px}#error-page{margin-top:50px}#error-page p{font-size:14px;line-height:18px;margin:25px 0 20px}#error-page code,.code{font-family:Consolas,Monaco,monospace}.wp-hide-pw>.dashicons{line-height:inherit}#pass-strength-result{background-color:#eee;border:1px solid #ddd;color:#23282d;margin:-2px 0 5px 5px;padding:3px 5px;text-align:center;width:218px;box-sizing:border-box;opacity:0}#pass-strength-result.short{background-color:#f1adad;border-color:#e35b5b;opacity:1}#pass-strength-result.bad{background-color:#fbc5a9;border-color:#f78b53;opacity:1}#pass-strength-result.good{background-color:#ffe399;border-color:#ffc733;opacity:1}#pass-strength-result.strong{background-color:#c1e1b9;border-color:#83c373;opacity:1}#pass1-text.short,#pass1.short{border-color:#e35b5b}#pass1-text.bad,#pass1.bad{border-color:#f78b53}#pass1-text.good,#pass1.good{border-color:#ffc733}#pass1-text.strong,#pass1.strong{border-color:#83c373}.message{border:1px solid #c00;padding:.5em .7em;margin:5px 0 15px;background-color:#ffebe8}#admin_email,#dbhost,#dbname,#pass1,#pass2,#prefix,#pwd,#uname,#user_login{direction:ltr}.show-password #pass1-text{display:inline-block}.form-table span.description.important{font-size:12px}.rtl input,.rtl submit,.rtl textarea,body.rtl{font-family:Tahoma,sans-serif}.language-chooser select,:lang(he-il) .rtl input,:lang(he-il) .rtl submit,:lang(he-il) .rtl textarea,:lang(he-il) body.rtl{font-family:Arial,sans-serif}@media only screen and (max-width:799px){body{margin-top:115px}#logo a{margin:-125px auto 30px}}@media screen and (max-width:782px){.form-table{margin-top:0}.form-table td,.form-table th{display:block;width:auto;vertical-align:middle}.form-table th{padding:20px 0 0}.form-table td{padding:5px 0;border:0;margin:0}input,textarea{font-size:16px}.form-table span.description,.form-table td input[type=text],.form-table td input[type=email],.form-table td input[type=url],.form-table td input[type=password],.form-table td select,.form-table td textarea{width:100%;font-size:16px;line-height:1.5;padding:7px 10px;display:block;max-width:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}}body.language-chooser{max-width:300px}.language-chooser select{padding:8px;width:100%;display:block;border:1px solid #ddd;background-color:#fff;color:#32373c;font-size:16px;font-weight:400}.language-chooser p{text-align:left}.screen-reader-input,.screen-reader-text{position:absolute;margin:-1px;padding:0;height:1px;width:1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.spinner{background:url(../images/spinner.gif) no-repeat;-webkit-background-size:20px 20px;background-size:20px 20px;visibility:hidden;opacity:.7;filter:alpha(opacity=70);width:20px;height:20px;margin:2px 5px 0}.step .spinner{display:inline-block;margin-top:8px;margin-left:15px;vertical-align:top}.button-secondary.hide-if-no-js,.hide-if-no-js{display:none}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.spinner{background-image:url(../images/spinner-2x.gif)}} \ No newline at end of file +a img,abbr,fieldset{border:0}#logo,h1,h2{padding:0 0 7px}#logo a,.form-table th p,h1,h2{font-weight:400}html{background:#f1f1f1;margin:0 20px}body{background:#fff;color:#444;font-family:"Open Sans",sans-serif;margin:140px auto 25px;padding:20px 20px 10px;max-width:700px;-webkit-font-smoothing:subpixel-antialiased;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.13);box-shadow:0 1px 3px rgba(0,0,0,.13)}a{color:#0073aa}a:active,a:hover{color:#00a0d2}a:focus{color:#124964;-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.ie8 a:focus{outline:#5b9dd9 solid 1px}h1,h2{border-bottom:1px solid #dedede;clear:both;color:#666;font-size:24px}h3{font-size:16px}dd,dt,li,p{padding-bottom:2px;font-size:14px;line-height:1.5}.code,code{font-family:Consolas,Monaco,monospace}input,submit,textarea{font-family:"Open Sans",sans-serif}dl,ol,ul{padding:5px 22px 5px 5px}abbr{font-variant:normal}fieldset{padding:0;margin:0}label{cursor:pointer}#logo{margin:6px 0 14px;border-bottom:none;text-align:center}#logo a{background-image:url(../images/w-logo-blue.png?ver=20131202);background-image:none,url(../images/wordpress-logo.svg?ver=20131107);-webkit-background-size:84px;background-size:84px;background-position:center top;background-repeat:no-repeat;color:#999;height:84px;font-size:20px;line-height:1.3em;margin:-130px auto 25px;padding:0;text-decoration:none;width:84px;text-indent:-9999px;outline:0;overflow:hidden;display:block}#pass1-text,.pw-weak,.show-password #pass1{display:none}#logo a:focus{-webkit-box-shadow:none;box-shadow:none}.step{margin:20px 0 15px}.step,th{text-align:right;padding:0}.language-chooser.wp-core-ui .step .button.button-large{height:36px;vertical-align:middle;font-size:14px}.form-table td,.form-table th{padding:10px 0 10px 20px;vertical-align:top;font-size:14px}textarea{border:1px solid #dfdfdf;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.form-table{border-collapse:collapse;margin-top:1em;width:100%}.form-table td{margin-bottom:9px}.form-table th{text-align:right;width:140px}.form-table code{line-height:18px;font-size:14px}.form-table p{margin:4px 0 0;font-size:11px}.form-table input{line-height:20px;font-size:15px;padding:3px 5px;border:1px solid #ddd;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.07);box-shadow:inset 0 1px 2px rgba(0,0,0,.07)}.form-table input[type=email],.form-table input[type=password],.form-table input[type=text],.form-table input[type=url]{width:206px}.form-table.install-success td,.form-table.install-success th{vertical-align:middle;padding:16px 0 16px 20px}.form-table.install-success td p{margin:0;font-size:14px}.form-table.install-success td code{margin:0;font-size:18px}#error-page{margin-top:50px}#error-page p{font-size:14px;line-height:18px;margin:25px 0 20px}#error-page code,.code{font-family:Consolas,Monaco,monospace}.wp-hide-pw>.dashicons{line-height:inherit}#pass-strength-result{background-color:#eee;border:1px solid #ddd;color:#23282d;margin:-2px 0 5px 5px;padding:3px 5px;text-align:center;width:218px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;opacity:0}#pass-strength-result.short{background-color:#f1adad;border-color:#e35b5b;opacity:1}#pass-strength-result.bad{background-color:#fbc5a9;border-color:#f78b53;opacity:1}#pass-strength-result.good{background-color:#ffe399;border-color:#ffc733;opacity:1}#pass-strength-result.strong{background-color:#c1e1b9;border-color:#83c373;opacity:1}#pass1-text.short,#pass1.short{border-color:#e35b5b}#pass1-text.bad,#pass1.bad{border-color:#f78b53}#pass1-text.good,#pass1.good{border-color:#ffc733}#pass1-text.strong,#pass1.strong{border-color:#83c373}.message{border:1px solid #c00;padding:.5em .7em;margin:5px 0 15px;background-color:#ffebe8}#admin_email,#dbhost,#dbname,#pass1,#pass2,#prefix,#pwd,#uname,#user_login{direction:ltr}.show-password #pass1-text{display:inline-block}.form-table span.description.important{font-size:12px}.rtl input,.rtl submit,.rtl textarea,body.rtl{font-family:Tahoma,sans-serif}.language-chooser select,:lang(he-il) .rtl input,:lang(he-il) .rtl submit,:lang(he-il) .rtl textarea,:lang(he-il) body.rtl{font-family:Arial,sans-serif}@media only screen and (max-width:799px){body{margin-top:115px}#logo a{margin:-125px auto 30px}}@media screen and (max-width:782px){.form-table{margin-top:0}.form-table td,.form-table th{display:block;width:auto;vertical-align:middle}.form-table th{padding:20px 0 0}.form-table td{padding:5px 0;border:0;margin:0}input,textarea{font-size:16px}.form-table span.description,.form-table td input[type=text],.form-table td input[type=email],.form-table td input[type=url],.form-table td input[type=password],.form-table td select,.form-table td textarea{width:100%;font-size:16px;line-height:1.5;padding:7px 10px;display:block;max-width:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}}body.language-chooser{max-width:300px}.language-chooser select{padding:8px;width:100%;display:block;border:1px solid #ddd;background-color:#fff;color:#32373c;font-size:16px;font-weight:400}.language-chooser p{text-align:left}.screen-reader-input,.screen-reader-text{position:absolute;margin:-1px;padding:0;height:1px;width:1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.spinner{background:url(../images/spinner.gif) no-repeat;-webkit-background-size:20px 20px;background-size:20px 20px;visibility:hidden;opacity:.7;filter:alpha(opacity=70);width:20px;height:20px;margin:2px 5px 0}.step .spinner{display:inline-block;margin-top:8px;margin-left:15px;vertical-align:top}.button-secondary.hide-if-no-js,.hide-if-no-js{display:none}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.spinner{background-image:url(../images/spinner-2x.gif)}} \ No newline at end of file diff --git a/wp-admin/css/install.css b/wp-admin/css/install.css index 76793ab..2f355f6 100644 --- a/wp-admin/css/install.css +++ b/wp-admin/css/install.css @@ -17,25 +17,38 @@ body { a { color: #0073aa; - text-decoration: none; } -a:hover { +a:hover, +a:active { color: #00a0d2; } -h1 { +a:focus { + color: #124964; + -webkit-box-shadow: + 0 0 0 1px #5b9dd9, + 0 0 2px 1px rgba(30, 140, 190, .8); + box-shadow: + 0 0 0 1px #5b9dd9, + 0 0 2px 1px rgba(30, 140, 190, .8); +} + +.ie8 a:focus { + outline: #5b9dd9 solid 1px; +} + +h1, h2 { border-bottom: 1px solid #dedede; clear: both; color: #666; font-size: 24px; - margin: 30px 0; padding: 0; padding-bottom: 7px; font-weight: normal; } -h2 { +h3 { font-size: 16px; } @@ -61,12 +74,19 @@ abbr { font-variant: normal; } +fieldset { + border: 0; + padding: 0; + margin: 0; +} + label { cursor: pointer; } #logo { margin: 6px 0 14px 0; + padding: 0 0 7px 0; border-bottom: none; text-align:center } @@ -91,6 +111,12 @@ label { overflow: hidden; display: block; } + +#logo a:focus { + -webkit-box-shadow: none; + box-shadow: none; +} + .step { margin: 20px 0 15px; } @@ -168,6 +194,7 @@ submit { font-weight: normal; } +.form-table.install-success th, .form-table.install-success td { vertical-align: middle; padding: 16px 20px 16px 0; diff --git a/wp-admin/css/install.min.css b/wp-admin/css/install.min.css index 13cbe9d..7a3be0f 100644 --- a/wp-admin/css/install.min.css +++ b/wp-admin/css/install.min.css @@ -1 +1 @@ -a img,abbr{border:0}#logo a,a{text-decoration:none}#logo a,.form-table th p,h1{font-weight:400}html{background:#f1f1f1;margin:0 20px}body{background:#fff;color:#444;font-family:"Open Sans",sans-serif;margin:140px auto 25px;padding:20px 20px 10px;max-width:700px;-webkit-font-smoothing:subpixel-antialiased;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.13);box-shadow:0 1px 3px rgba(0,0,0,.13)}a{color:#0073aa}a:hover{color:#00a0d2}h1{border-bottom:1px solid #dedede;clear:both;color:#666;font-size:24px;margin:30px 0;padding:0 0 7px}h2{font-size:16px}dd,dt,li,p{padding-bottom:2px;font-size:14px;line-height:1.5}.code,code{font-family:Consolas,Monaco,monospace}input,submit,textarea{font-family:"Open Sans",sans-serif}dl,ol,ul{padding:5px 5px 5px 22px}abbr{font-variant:normal}label{cursor:pointer}#logo{margin:6px 0 14px;border-bottom:none;text-align:center}#logo a{background-image:url(../images/w-logo-blue.png?ver=20131202);background-image:none,url(../images/wordpress-logo.svg?ver=20131107);-webkit-background-size:84px;background-size:84px;background-position:center top;background-repeat:no-repeat;color:#999;height:84px;font-size:20px;line-height:1.3em;margin:-130px auto 25px;padding:0;width:84px;text-indent:-9999px;outline:0;overflow:hidden;display:block}#pass1-text,.pw-weak,.show-password #pass1{display:none}.step{margin:20px 0 15px}.step,th{text-align:left;padding:0}.language-chooser.wp-core-ui .step .button.button-large{height:36px;vertical-align:middle;font-size:14px}.form-table td,.form-table th{font-size:14px;padding:10px 20px 10px 0;vertical-align:top}textarea{border:1px solid #dfdfdf;width:100%;box-sizing:border-box}#pass-strength-result,textarea{-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.form-table{border-collapse:collapse;margin-top:1em;width:100%}.form-table td{margin-bottom:9px}.form-table th{text-align:left;width:140px}.form-table code{line-height:18px;font-size:14px}.form-table p{margin:4px 0 0;font-size:11px}.form-table input{line-height:20px;font-size:15px;padding:3px 5px;border:1px solid #ddd;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.07);box-shadow:inset 0 1px 2px rgba(0,0,0,.07)}.form-table input[type=email],.form-table input[type=password],.form-table input[type=text],.form-table input[type=url]{width:206px}.form-table.install-success td{vertical-align:middle;padding:16px 20px 16px 0}.form-table.install-success td p{margin:0;font-size:14px}.form-table.install-success td code{margin:0;font-size:18px}#error-page{margin-top:50px}#error-page p{font-size:14px;line-height:18px;margin:25px 0 20px}#error-page code,.code{font-family:Consolas,Monaco,monospace}.wp-hide-pw>.dashicons{line-height:inherit}#pass-strength-result{background-color:#eee;border:1px solid #ddd;color:#23282d;margin:-2px 5px 5px 0;padding:3px 5px;text-align:center;width:218px;box-sizing:border-box;opacity:0}#pass-strength-result.short{background-color:#f1adad;border-color:#e35b5b;opacity:1}#pass-strength-result.bad{background-color:#fbc5a9;border-color:#f78b53;opacity:1}#pass-strength-result.good{background-color:#ffe399;border-color:#ffc733;opacity:1}#pass-strength-result.strong{background-color:#c1e1b9;border-color:#83c373;opacity:1}#pass1-text.short,#pass1.short{border-color:#e35b5b}#pass1-text.bad,#pass1.bad{border-color:#f78b53}#pass1-text.good,#pass1.good{border-color:#ffc733}#pass1-text.strong,#pass1.strong{border-color:#83c373}.message{border:1px solid #c00;padding:.5em .7em;margin:5px 0 15px;background-color:#ffebe8}#admin_email,#dbhost,#dbname,#pass1,#pass2,#prefix,#pwd,#uname,#user_login{direction:ltr}.show-password #pass1-text{display:inline-block}.form-table span.description.important{font-size:12px}.rtl input,.rtl submit,.rtl textarea,body.rtl{font-family:Tahoma,sans-serif}.language-chooser select,:lang(he-il) .rtl input,:lang(he-il) .rtl submit,:lang(he-il) .rtl textarea,:lang(he-il) body.rtl{font-family:Arial,sans-serif}@media only screen and (max-width:799px){body{margin-top:115px}#logo a{margin:-125px auto 30px}}@media screen and (max-width:782px){.form-table{margin-top:0}.form-table td,.form-table th{display:block;width:auto;vertical-align:middle}.form-table th{padding:20px 0 0}.form-table td{padding:5px 0;border:0;margin:0}input,textarea{font-size:16px}.form-table span.description,.form-table td input[type=text],.form-table td input[type=email],.form-table td input[type=url],.form-table td input[type=password],.form-table td select,.form-table td textarea{width:100%;font-size:16px;line-height:1.5;padding:7px 10px;display:block;max-width:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}}body.language-chooser{max-width:300px}.language-chooser select{padding:8px;width:100%;display:block;border:1px solid #ddd;background-color:#fff;color:#32373c;font-size:16px;font-weight:400}.language-chooser p{text-align:right}.screen-reader-input,.screen-reader-text{position:absolute;margin:-1px;padding:0;height:1px;width:1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.spinner{background:url(../images/spinner.gif) no-repeat;-webkit-background-size:20px 20px;background-size:20px 20px;visibility:hidden;opacity:.7;filter:alpha(opacity=70);width:20px;height:20px;margin:2px 5px 0}.step .spinner{display:inline-block;margin-top:8px;margin-right:15px;vertical-align:top}.button-secondary.hide-if-no-js,.hide-if-no-js{display:none}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.spinner{background-image:url(../images/spinner-2x.gif)}} \ No newline at end of file +a img,abbr,fieldset{border:0}#logo,h1,h2{padding:0 0 7px}#logo a,.form-table th p,h1,h2{font-weight:400}html{background:#f1f1f1;margin:0 20px}body{background:#fff;color:#444;font-family:"Open Sans",sans-serif;margin:140px auto 25px;padding:20px 20px 10px;max-width:700px;-webkit-font-smoothing:subpixel-antialiased;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.13);box-shadow:0 1px 3px rgba(0,0,0,.13)}a{color:#0073aa}a:active,a:hover{color:#00a0d2}a:focus{color:#124964;-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.ie8 a:focus{outline:#5b9dd9 solid 1px}h1,h2{border-bottom:1px solid #dedede;clear:both;color:#666;font-size:24px}h3{font-size:16px}dd,dt,li,p{padding-bottom:2px;font-size:14px;line-height:1.5}.code,code{font-family:Consolas,Monaco,monospace}input,submit,textarea{font-family:"Open Sans",sans-serif}dl,ol,ul{padding:5px 5px 5px 22px}abbr{font-variant:normal}fieldset{padding:0;margin:0}label{cursor:pointer}#logo{margin:6px 0 14px;border-bottom:none;text-align:center}#logo a{background-image:url(../images/w-logo-blue.png?ver=20131202);background-image:none,url(../images/wordpress-logo.svg?ver=20131107);-webkit-background-size:84px;background-size:84px;background-position:center top;background-repeat:no-repeat;color:#999;height:84px;font-size:20px;line-height:1.3em;margin:-130px auto 25px;padding:0;text-decoration:none;width:84px;text-indent:-9999px;outline:0;overflow:hidden;display:block}#pass1-text,.pw-weak,.show-password #pass1{display:none}#logo a:focus{-webkit-box-shadow:none;box-shadow:none}.step{margin:20px 0 15px}.step,th{text-align:left;padding:0}.language-chooser.wp-core-ui .step .button.button-large{height:36px;vertical-align:middle;font-size:14px}.form-table td,.form-table th{padding:10px 20px 10px 0;vertical-align:top;font-size:14px}textarea{border:1px solid #dfdfdf;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.form-table{border-collapse:collapse;margin-top:1em;width:100%}.form-table td{margin-bottom:9px}.form-table th{text-align:left;width:140px}.form-table code{line-height:18px;font-size:14px}.form-table p{margin:4px 0 0;font-size:11px}.form-table input{line-height:20px;font-size:15px;padding:3px 5px;border:1px solid #ddd;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.07);box-shadow:inset 0 1px 2px rgba(0,0,0,.07)}.form-table input[type=email],.form-table input[type=password],.form-table input[type=text],.form-table input[type=url]{width:206px}.form-table.install-success td,.form-table.install-success th{vertical-align:middle;padding:16px 20px 16px 0}.form-table.install-success td p{margin:0;font-size:14px}.form-table.install-success td code{margin:0;font-size:18px}#error-page{margin-top:50px}#error-page p{font-size:14px;line-height:18px;margin:25px 0 20px}#error-page code,.code{font-family:Consolas,Monaco,monospace}.wp-hide-pw>.dashicons{line-height:inherit}#pass-strength-result{background-color:#eee;border:1px solid #ddd;color:#23282d;margin:-2px 5px 5px 0;padding:3px 5px;text-align:center;width:218px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;opacity:0}#pass-strength-result.short{background-color:#f1adad;border-color:#e35b5b;opacity:1}#pass-strength-result.bad{background-color:#fbc5a9;border-color:#f78b53;opacity:1}#pass-strength-result.good{background-color:#ffe399;border-color:#ffc733;opacity:1}#pass-strength-result.strong{background-color:#c1e1b9;border-color:#83c373;opacity:1}#pass1-text.short,#pass1.short{border-color:#e35b5b}#pass1-text.bad,#pass1.bad{border-color:#f78b53}#pass1-text.good,#pass1.good{border-color:#ffc733}#pass1-text.strong,#pass1.strong{border-color:#83c373}.message{border:1px solid #c00;padding:.5em .7em;margin:5px 0 15px;background-color:#ffebe8}#admin_email,#dbhost,#dbname,#pass1,#pass2,#prefix,#pwd,#uname,#user_login{direction:ltr}.show-password #pass1-text{display:inline-block}.form-table span.description.important{font-size:12px}.rtl input,.rtl submit,.rtl textarea,body.rtl{font-family:Tahoma,sans-serif}.language-chooser select,:lang(he-il) .rtl input,:lang(he-il) .rtl submit,:lang(he-il) .rtl textarea,:lang(he-il) body.rtl{font-family:Arial,sans-serif}@media only screen and (max-width:799px){body{margin-top:115px}#logo a{margin:-125px auto 30px}}@media screen and (max-width:782px){.form-table{margin-top:0}.form-table td,.form-table th{display:block;width:auto;vertical-align:middle}.form-table th{padding:20px 0 0}.form-table td{padding:5px 0;border:0;margin:0}input,textarea{font-size:16px}.form-table span.description,.form-table td input[type=text],.form-table td input[type=email],.form-table td input[type=url],.form-table td input[type=password],.form-table td select,.form-table td textarea{width:100%;font-size:16px;line-height:1.5;padding:7px 10px;display:block;max-width:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}}body.language-chooser{max-width:300px}.language-chooser select{padding:8px;width:100%;display:block;border:1px solid #ddd;background-color:#fff;color:#32373c;font-size:16px;font-weight:400}.language-chooser p{text-align:right}.screen-reader-input,.screen-reader-text{position:absolute;margin:-1px;padding:0;height:1px;width:1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.spinner{background:url(../images/spinner.gif) no-repeat;-webkit-background-size:20px 20px;background-size:20px 20px;visibility:hidden;opacity:.7;filter:alpha(opacity=70);width:20px;height:20px;margin:2px 5px 0}.step .spinner{display:inline-block;margin-top:8px;margin-right:15px;vertical-align:top}.button-secondary.hide-if-no-js,.hide-if-no-js{display:none}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.spinner{background-image:url(../images/spinner-2x.gif)}} \ No newline at end of file diff --git a/wp-admin/css/l10n-rtl.css b/wp-admin/css/l10n-rtl.css index 6ede0d3..0da51c4 100644 --- a/wp-admin/css/l10n-rtl.css +++ b/wp-admin/css/l10n-rtl.css @@ -68,6 +68,13 @@ body.locale-he-il .press-this a.wp-switch-editor { } /* ru_RU: Text needs more room to breathe. */ +.locale-ru-ru #adminmenu { + width: inherit; /* back-compat for pre-3.2 */ +} +.locale-ru-ru #adminmenu, +.locale-ru-ru #wpbody { + margin-right: 0; /* back-compat for pre-3.2 */ +} .locale-ru-ru .inline-edit-row fieldset label span.title, .locale-ru-ru .inline-edit-row fieldset.inline-edit-date legend { width: 8em; /* default 6em */ diff --git a/wp-admin/css/l10n.css b/wp-admin/css/l10n.css index 8b81eba..6c603bf 100644 --- a/wp-admin/css/l10n.css +++ b/wp-admin/css/l10n.css @@ -68,6 +68,13 @@ body.locale-he-il .press-this a.wp-switch-editor { } /* ru_RU: Text needs more room to breathe. */ +.locale-ru-ru #adminmenu { + width: inherit; /* back-compat for pre-3.2 */ +} +.locale-ru-ru #adminmenu, +.locale-ru-ru #wpbody { + margin-left: 0; /* back-compat for pre-3.2 */ +} .locale-ru-ru .inline-edit-row fieldset label span.title, .locale-ru-ru .inline-edit-row fieldset.inline-edit-date legend { width: 8em; /* default 6em */ diff --git a/wp-admin/css/list-tables-rtl.css b/wp-admin/css/list-tables-rtl.css index ae0cb3c..fb9ab97 100644 --- a/wp-admin/css/list-tables-rtl.css +++ b/wp-admin/css/list-tables-rtl.css @@ -117,6 +117,11 @@ text-align: center; } +.column-response .post-com-count-no-pending, +.column-comments .post-com-count-no-pending { + display: none; +} + /* comments */ .commentlist li { @@ -147,7 +152,8 @@ #replysubmit { margin: 0; - padding: 0 5px 3px; + padding: 5px 7px 10px; + overflow: hidden; text-align: center; } @@ -161,11 +167,23 @@ text-align: center; } -#replyrow h5 { - margin: .2em 0 0; - padding: 0 5px; - line-height: 1.4em; - font-size: 1em; +#replyrow.inline-edit-row fieldset.comment-reply { + font-size: inherit; + line-height: inherit; +} + +#replyrow legend { + margin: 0; + padding: .2em 5px 0; + font-size: 13px; + line-height: 1.4; + font-weight: 600; +} + +#replyrow.inline-edit-row label { + display: inline; + vertical-align: baseline; + line-height: inherit; } #edithead .inside, @@ -260,8 +278,8 @@ th .comment-grey-bubble { } th .comment-grey-bubble:before { - content: '\f101'; - font: normal 20px/.5 'dashicons'; + content: "\f101"; + font: normal 20px/.5 dashicons; speak: none; display: inline-block; padding: 0; @@ -381,6 +399,10 @@ table.media .column-title .filename { width: 20%; } +#comments-form .fixed .column-date { + width: 14%; +} + #commentsdiv.postbox .inside { margin: 0; padding: 0; @@ -424,12 +446,12 @@ table.media .column-title .filename { } #commentsdiv #edithead .inside input { - vertical-align: middle; width: 160px; } .sorting-indicator { - display: none; + display: block; + visibility: hidden; width: 10px; height: 4px; margin-top: 8px; @@ -437,8 +459,8 @@ table.media .column-title .filename { } .sorting-indicator:before { - content: '\f142'; - font: normal 20px/1 'dashicons'; + content: "\f142"; + font: normal 20px/1 dashicons; speak: none; display: inline-block; padding: 0; @@ -462,13 +484,13 @@ table.media .column-title .filename { th.sorted.asc .sorting-indicator:before, th.desc:hover span.sorting-indicator:before, th.desc a:focus span.sorting-indicator:before { - content: '\f142'; + content: "\f142"; } th.sorted.desc .sorting-indicator:before, th.asc:hover span.sorting-indicator:before, th.asc a:focus span.sorting-indicator:before { - content: '\f140'; + content: "\f140"; } .wp-list-table .toggle-row { @@ -515,8 +537,8 @@ th.asc a:focus span.sorting-indicator:before { display: block; padding: 1px 0 1px 2px; color: #666; - content: '\f140'; - font: normal 20px/1 'dashicons'; + content: "\f140"; + font: normal 20px/1 dashicons; line-height: 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; @@ -524,7 +546,7 @@ th.asc a:focus span.sorting-indicator:before { } .wp-list-table .is-expanded .toggle-row:before { - content: '\f142'; + content: "\f142"; } tr.wp-locked .locked-indicator { @@ -535,10 +557,10 @@ tr.wp-locked .locked-indicator { tr.wp-locked .locked-indicator:before { color: #82878c; - content: '\f160'; + content: "\f160"; display: inline-block; float: right; - font: normal 20px/1 'dashicons'; + font: normal 20px/1 dashicons; speak: none; vertical-align: middle; margin-right: 0; @@ -590,7 +612,7 @@ th.sortable a, th.sorted a { display: block; overflow: hidden; - padding: 7px 10px 8px 7px; + padding: 8px; } .fixed .column-comments.sortable a, @@ -609,7 +631,7 @@ th.desc:hover span.sorting-indicator, th.desc a:focus span.sorting-indicator, th.asc:hover span.sorting-indicator, th.asc a:focus span.sorting-indicator { - display: block; + visibility: visible; } /* Bulk Actions */ @@ -770,7 +792,7 @@ classes exist in paginate_links() but not seen in list table output. */ .view-switch a:before { color: #b4b9be; display: inline-block; - font: normal 20px/1 'dashicons'; + font: normal 20px/1 dashicons; speak: none; vertical-align: middle; -webkit-font-smoothing: antialiased; @@ -787,15 +809,15 @@ classes exist in paginate_links() but not seen in list table output. */ } .view-switch .view-list:before { - content: '\f163'; + content: "\f163"; } .view-switch .view-excerpt:before { - content: '\f164'; + content: "\f164"; } .view-switch .view-grid:before { - content: '\f509'; + content: "\f509"; } .filter { @@ -855,15 +877,27 @@ p.pagenav { .row-actions { color: #ddd; font-size: 13px; - visibility: hidden; padding: 2px 0 0; + position: relative; + right: -9999em; } +/* ticket #34150 */ +.rtl .row-actions a { + display: inline-block; +} + +.row-actions .network_only, +.row-actions .network_active { + color: #000; +} + +.no-js .row-actions, tr:hover .row-actions, .mobile .row-actions, .row-actions.visible, div.comment-item:hover .row-actions { - visibility: visible; + position: static; } /* deprecated */ @@ -961,11 +995,19 @@ tr.inline-edit-row td, } /* Positioning */ -.inline-edit-row h4 { - margin: .2em 0; - padding: 0; + +/* Needs higher specificity for the padding */ +#the-list .inline-edit-row .inline-edit-legend { + margin: 0; + padding: 0.2em 0.5em 0; line-height: 2.5; + font-weight: 600; } + +#the-list #bulk-edit.inline-edit-row .inline-edit-legend { + padding: 0.2em 0.5em; +} + .inline-edit-row fieldset span.title, .inline-edit-row fieldset span.checkbox-title { margin: 0; @@ -1055,7 +1097,7 @@ tr.inline-edit-row td, } /* Styling */ -.inline-edit-row h4 { +.inline-edit-row .inline-edit-legend { text-transform: uppercase; } @@ -1342,7 +1384,7 @@ tr.active.update + tr.plugin-update-tr .plugin-update { .plugin-card .install-now:before { color: #d54e21; display: inline-block; - font: normal 20px/1 'dashicons'; + font: normal 20px/1 dashicons; speak: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; @@ -1351,7 +1393,7 @@ tr.active.update + tr.plugin-update-tr .plugin-update { .plugin-update-tr .update-message:before, .plugin-card .update-now:before { - content: '\f463'; + content: "\f463"; } .plugin-update-tr .update-message:before { @@ -1365,7 +1407,7 @@ tr.active.update + tr.plugin-update-tr .plugin-update { .plugin-update-tr .updating-message:before, .plugin-card .updating-message:before { - content: '\f463'; + content: "\f463"; -webkit-animation: rotation 2s infinite linear; animation: rotation 2s infinite linear; } @@ -1395,7 +1437,7 @@ tr.active.update + tr.plugin-update-tr .plugin-update { .plugin-update-tr .updated-message:before, .plugin-card .updated-message:before { color: #79ba49; - content: '\f147'; + content: "\f147"; } .wp-list-table.plugins tbody tr.plugin-update-tr td.plugin-update { @@ -1414,11 +1456,11 @@ tr.active + tr.plugin-update-tr:not(.updated) .plugin-update .update-message { background-color: #fcf3ef; } -.plugin-install-php h3 { +.plugin-install-php h2 { clear: both; } -.plugin-install-php h4 { +.plugin-install-php h3 { margin: 2.5em 0 8px; } @@ -1495,7 +1537,7 @@ div.action-links, margin: 0; /* Override existing margins */ } -.plugin-card h4 { +.plugin-card h3 { margin: 0 0 12px; font-size: 18px; line-height: 1.3; @@ -1538,6 +1580,21 @@ div.action-links, display: inline; } +.plugin-card-update-failed .update-now { + font-weight: 600; +} + +.plugin-card-update-failed .notice-error { + margin: 0; + padding-right: 16px; + -webkit-box-shadow: 0 -1px 0 #dedede; + box-shadow: 0 -1px 0 #dedede; +} + +.plugin-card-update-failed .plugin-card-bottom { + display: none; +} + .plugin-card .column-rating { line-height: 23px; } @@ -1565,7 +1622,7 @@ div.action-links, } .plugin-card .column-compatibility span:before { - font: normal 20px/.5 'dashicons'; + font: normal 20px/.5 dashicons; speak: none; display: inline-block; padding: 0; @@ -1580,11 +1637,11 @@ div.action-links, } .plugin-card .compatibility-incompatible:before { - content: '\f158'; + content: "\f158"; } .plugin-card .compatibility-compatible:before { - content: '\f147'; + content: "\f147"; } .plugin-icon { @@ -1596,11 +1653,6 @@ div.action-links, margin: 0 0 20px 20px; } -.plugin-icon img { - width: 128px; - height: 128px; -} - .no-plugin-results { color: #999; font-size: 18px; @@ -1612,15 +1664,19 @@ div.action-links, /* ms */ /* Background Color for Site Status */ +.wp-list-table .site-deleted, .wp-list-table tr.site-deleted { background: #ff8573; } +.wp-list-table .site-spammed, .wp-list-table tr.site-spammed { background: #faafaa; } +.wp-list-table .site-archived, .wp-list-table tr.site-archived { background: #ffebe8; } +.wp-list-table .site-mature, .wp-list-table tr.site-mature { background: #fecac2; } @@ -1667,6 +1723,10 @@ div.action-links, .plugin-card .desc p:first-of-type { margin-top: 0; } + + .fixed .column-date { + width: 14%; + } } @media screen and ( max-width: 782px ) { @@ -1742,7 +1802,7 @@ div.action-links, .tablenav-pages .pagination-links a, .tablenav-pages-navspan { - padding: 9px 16px 12px; + padding: 9px 11px 12px; font-size: 18px; } @@ -1898,8 +1958,9 @@ div.action-links, color: #dc3232; } - .widefat thead .check-column, .widefat tfoot .check-column { - padding: 10px 0 10px; + .widefat thead td.check-column, + .widefat tfoot td.check-column { + padding-top: 10px; } .widefat * { @@ -2002,6 +2063,7 @@ div.action-links, /* Updates */ #wpbody-content #update-themes-table .plugin-title { width: auto; + white-space: normal; } /* Links */ @@ -2067,7 +2129,7 @@ div.action-links, /* mimic the checkbox th */ .plugins .plugin-update-tr:before { - content: ''; + content: ""; display: table-cell; } diff --git a/wp-admin/css/list-tables.css b/wp-admin/css/list-tables.css index f6fdfce..f13d959 100644 --- a/wp-admin/css/list-tables.css +++ b/wp-admin/css/list-tables.css @@ -117,6 +117,11 @@ text-align: center; } +.column-response .post-com-count-no-pending, +.column-comments .post-com-count-no-pending { + display: none; +} + /* comments */ .commentlist li { @@ -147,7 +152,8 @@ #replysubmit { margin: 0; - padding: 0 5px 3px; + padding: 5px 7px 10px; + overflow: hidden; text-align: center; } @@ -161,11 +167,23 @@ text-align: center; } -#replyrow h5 { - margin: .2em 0 0; - padding: 0 5px; - line-height: 1.4em; - font-size: 1em; +#replyrow.inline-edit-row fieldset.comment-reply { + font-size: inherit; + line-height: inherit; +} + +#replyrow legend { + margin: 0; + padding: .2em 5px 0; + font-size: 13px; + line-height: 1.4; + font-weight: 600; +} + +#replyrow.inline-edit-row label { + display: inline; + vertical-align: baseline; + line-height: inherit; } #edithead .inside, @@ -260,8 +278,8 @@ th .comment-grey-bubble { } th .comment-grey-bubble:before { - content: '\f101'; - font: normal 20px/.5 'dashicons'; + content: "\f101"; + font: normal 20px/.5 dashicons; speak: none; display: inline-block; padding: 0; @@ -381,6 +399,10 @@ table.media .column-title .filename { width: 20%; } +#comments-form .fixed .column-date { + width: 14%; +} + #commentsdiv.postbox .inside { margin: 0; padding: 0; @@ -424,12 +446,12 @@ table.media .column-title .filename { } #commentsdiv #edithead .inside input { - vertical-align: middle; width: 160px; } .sorting-indicator { - display: none; + display: block; + visibility: hidden; width: 10px; height: 4px; margin-top: 8px; @@ -437,8 +459,8 @@ table.media .column-title .filename { } .sorting-indicator:before { - content: '\f142'; - font: normal 20px/1 'dashicons'; + content: "\f142"; + font: normal 20px/1 dashicons; speak: none; display: inline-block; padding: 0; @@ -462,13 +484,13 @@ table.media .column-title .filename { th.sorted.asc .sorting-indicator:before, th.desc:hover span.sorting-indicator:before, th.desc a:focus span.sorting-indicator:before { - content: '\f142'; + content: "\f142"; } th.sorted.desc .sorting-indicator:before, th.asc:hover span.sorting-indicator:before, th.asc a:focus span.sorting-indicator:before { - content: '\f140'; + content: "\f140"; } .wp-list-table .toggle-row { @@ -515,8 +537,8 @@ th.asc a:focus span.sorting-indicator:before { display: block; padding: 1px 2px 1px 0; color: #666; - content: '\f140'; - font: normal 20px/1 'dashicons'; + content: "\f140"; + font: normal 20px/1 dashicons; line-height: 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; @@ -524,7 +546,7 @@ th.asc a:focus span.sorting-indicator:before { } .wp-list-table .is-expanded .toggle-row:before { - content: '\f142'; + content: "\f142"; } tr.wp-locked .locked-indicator { @@ -535,10 +557,10 @@ tr.wp-locked .locked-indicator { tr.wp-locked .locked-indicator:before { color: #82878c; - content: '\f160'; + content: "\f160"; display: inline-block; float: left; - font: normal 20px/1 'dashicons'; + font: normal 20px/1 dashicons; speak: none; vertical-align: middle; margin-left: 0; @@ -590,7 +612,7 @@ th.sortable a, th.sorted a { display: block; overflow: hidden; - padding: 7px 7px 8px 10px; + padding: 8px; } .fixed .column-comments.sortable a, @@ -609,7 +631,7 @@ th.desc:hover span.sorting-indicator, th.desc a:focus span.sorting-indicator, th.asc:hover span.sorting-indicator, th.asc a:focus span.sorting-indicator { - display: block; + visibility: visible; } /* Bulk Actions */ @@ -770,7 +792,7 @@ classes exist in paginate_links() but not seen in list table output. */ .view-switch a:before { color: #b4b9be; display: inline-block; - font: normal 20px/1 'dashicons'; + font: normal 20px/1 dashicons; speak: none; vertical-align: middle; -webkit-font-smoothing: antialiased; @@ -787,15 +809,15 @@ classes exist in paginate_links() but not seen in list table output. */ } .view-switch .view-list:before { - content: '\f163'; + content: "\f163"; } .view-switch .view-excerpt:before { - content: '\f164'; + content: "\f164"; } .view-switch .view-grid:before { - content: '\f509'; + content: "\f509"; } .filter { @@ -855,15 +877,27 @@ p.pagenav { .row-actions { color: #ddd; font-size: 13px; - visibility: hidden; padding: 2px 0 0; + position: relative; + left: -9999em; } +/* ticket #34150 */ +.rtl .row-actions a { + display: inline-block; +} + +.row-actions .network_only, +.row-actions .network_active { + color: #000; +} + +.no-js .row-actions, tr:hover .row-actions, .mobile .row-actions, .row-actions.visible, div.comment-item:hover .row-actions { - visibility: visible; + position: static; } /* deprecated */ @@ -961,11 +995,19 @@ tr.inline-edit-row td, } /* Positioning */ -.inline-edit-row h4 { - margin: .2em 0; - padding: 0; + +/* Needs higher specificity for the padding */ +#the-list .inline-edit-row .inline-edit-legend { + margin: 0; + padding: 0.2em 0.5em 0; line-height: 2.5; + font-weight: 600; } + +#the-list #bulk-edit.inline-edit-row .inline-edit-legend { + padding: 0.2em 0.5em; +} + .inline-edit-row fieldset span.title, .inline-edit-row fieldset span.checkbox-title { margin: 0; @@ -1055,7 +1097,7 @@ tr.inline-edit-row td, } /* Styling */ -.inline-edit-row h4 { +.inline-edit-row .inline-edit-legend { text-transform: uppercase; } @@ -1342,7 +1384,7 @@ tr.active.update + tr.plugin-update-tr .plugin-update { .plugin-card .install-now:before { color: #d54e21; display: inline-block; - font: normal 20px/1 'dashicons'; + font: normal 20px/1 dashicons; speak: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; @@ -1351,7 +1393,7 @@ tr.active.update + tr.plugin-update-tr .plugin-update { .plugin-update-tr .update-message:before, .plugin-card .update-now:before { - content: '\f463'; + content: "\f463"; } .plugin-update-tr .update-message:before { @@ -1365,7 +1407,7 @@ tr.active.update + tr.plugin-update-tr .plugin-update { .plugin-update-tr .updating-message:before, .plugin-card .updating-message:before { - content: '\f463'; + content: "\f463"; -webkit-animation: rotation 2s infinite linear; animation: rotation 2s infinite linear; } @@ -1395,7 +1437,7 @@ tr.active.update + tr.plugin-update-tr .plugin-update { .plugin-update-tr .updated-message:before, .plugin-card .updated-message:before { color: #79ba49; - content: '\f147'; + content: "\f147"; } .wp-list-table.plugins tbody tr.plugin-update-tr td.plugin-update { @@ -1414,11 +1456,11 @@ tr.active + tr.plugin-update-tr:not(.updated) .plugin-update .update-message { background-color: #fcf3ef; } -.plugin-install-php h3 { +.plugin-install-php h2 { clear: both; } -.plugin-install-php h4 { +.plugin-install-php h3 { margin: 2.5em 0 8px; } @@ -1495,7 +1537,7 @@ div.action-links, margin: 0; /* Override existing margins */ } -.plugin-card h4 { +.plugin-card h3 { margin: 0 0 12px; font-size: 18px; line-height: 1.3; @@ -1538,6 +1580,21 @@ div.action-links, display: inline; } +.plugin-card-update-failed .update-now { + font-weight: 600; +} + +.plugin-card-update-failed .notice-error { + margin: 0; + padding-left: 16px; + -webkit-box-shadow: 0 -1px 0 #dedede; + box-shadow: 0 -1px 0 #dedede; +} + +.plugin-card-update-failed .plugin-card-bottom { + display: none; +} + .plugin-card .column-rating { line-height: 23px; } @@ -1565,7 +1622,7 @@ div.action-links, } .plugin-card .column-compatibility span:before { - font: normal 20px/.5 'dashicons'; + font: normal 20px/.5 dashicons; speak: none; display: inline-block; padding: 0; @@ -1580,11 +1637,11 @@ div.action-links, } .plugin-card .compatibility-incompatible:before { - content: '\f158'; + content: "\f158"; } .plugin-card .compatibility-compatible:before { - content: '\f147'; + content: "\f147"; } .plugin-icon { @@ -1596,11 +1653,6 @@ div.action-links, margin: 0 20px 20px 0; } -.plugin-icon img { - width: 128px; - height: 128px; -} - .no-plugin-results { color: #999; font-size: 18px; @@ -1612,15 +1664,19 @@ div.action-links, /* ms */ /* Background Color for Site Status */ +.wp-list-table .site-deleted, .wp-list-table tr.site-deleted { background: #ff8573; } +.wp-list-table .site-spammed, .wp-list-table tr.site-spammed { background: #faafaa; } +.wp-list-table .site-archived, .wp-list-table tr.site-archived { background: #ffebe8; } +.wp-list-table .site-mature, .wp-list-table tr.site-mature { background: #fecac2; } @@ -1667,6 +1723,10 @@ div.action-links, .plugin-card .desc p:first-of-type { margin-top: 0; } + + .fixed .column-date { + width: 14%; + } } @media screen and ( max-width: 782px ) { @@ -1742,7 +1802,7 @@ div.action-links, .tablenav-pages .pagination-links a, .tablenav-pages-navspan { - padding: 9px 16px 12px; + padding: 9px 11px 12px; font-size: 18px; } @@ -1898,8 +1958,9 @@ div.action-links, color: #dc3232; } - .widefat thead .check-column, .widefat tfoot .check-column { - padding: 10px 0 10px; + .widefat thead td.check-column, + .widefat tfoot td.check-column { + padding-top: 10px; } .widefat * { @@ -2002,6 +2063,7 @@ div.action-links, /* Updates */ #wpbody-content #update-themes-table .plugin-title { width: auto; + white-space: normal; } /* Links */ @@ -2067,7 +2129,7 @@ div.action-links, /* mimic the checkbox th */ .plugins .plugin-update-tr:before { - content: ''; + content: ""; display: table-cell; } diff --git a/wp-admin/css/login-rtl.css b/wp-admin/css/login-rtl.css index 7bb3692..4e4a507 100644 --- a/wp-admin/css/login-rtl.css +++ b/wp-admin/css/login-rtl.css @@ -58,19 +58,18 @@ p { line-height: 1.5; } -.login .message { +.login .message, +.login #login_error { border-right: 4px solid #00a0d2; - padding: 1px 12px; + padding: 12px; + margin-right: 0; background-color: #fff; -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); } .login #login_error { - border-right: 4px solid #dd3d36; - background: #fff; - -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); - box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); + border-right-color: #dc3232; } #loginform p.submit, @@ -156,12 +155,6 @@ p { margin: auto; } -#login_error, -.login .message { - margin-right: 0; - padding: 12px; -} - .login #nav, .login #backtoblog { font-size: 13px; @@ -173,7 +166,7 @@ p { } #backtoblog { - margin: 16px 0 0 0; + margin: 16px 0; } .login #nav a, @@ -231,9 +224,7 @@ p { padding: 20px 0; } -.mobile #login form, -.mobile #login .message, -.mobile #login_error { +.mobile #login form { margin-right: 0; } @@ -276,7 +267,7 @@ body.interim-login { .interim-login input[type=checkbox]:checked:before { width: 16px; - font: normal 21px/1 'dashicons'; + font: normal 21px/1 dashicons; margin: -3px -4px 0 0; } } diff --git a/wp-admin/css/login-rtl.min.css b/wp-admin/css/login-rtl.min.css index eca3b41..6a9f8f9 100644 --- a/wp-admin/css/login-rtl.min.css +++ b/wp-admin/css/login-rtl.min.css @@ -1 +1 @@ -.meta-box-sortables select,p.submit{max-width:100%}#pressthis-code-wrap,textarea{overflow:auto}input,textarea{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type=text],input[type=search],input[type=radio],input[type=tel],input[type=time],input[type=url],input[type=week],input[type=password],input[type=checkbox],input[type=color],input[type=date],input[type=datetime],input[type=datetime-local],input[type=email],input[type=month],input[type=number],select,textarea{border:1px solid #ddd;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.07);box-shadow:inset 0 1px 2px rgba(0,0,0,.07);background-color:#fff;color:#32373c;outline:0;-webkit-transition:.05s border-color ease-in-out;transition:.05s border-color ease-in-out}input[type=text]:focus,input[type=search]:focus,input[type=radio]:focus,input[type=tel]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,input[type=password]:focus,input[type=checkbox]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime]:focus,input[type=datetime-local]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,select:focus,textarea:focus{border-color:#5b9dd9;-webkit-box-shadow:0 0 2px rgba(30,140,190,.8);box-shadow:0 0 2px rgba(30,140,190,.8)}input[type=url],input[type=email]{direction:ltr}input[type=radio],input[type=checkbox]{border:1px solid #b4b9be;background:#fff;color:#555;clear:none;cursor:pointer;display:inline-block;line-height:0;height:16px;margin:-4px 0 0 4px;outline:0;padding:0!important;text-align:center;vertical-align:middle;width:16px;min-width:16px;-webkit-appearance:none;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1);-webkit-transition:.05s border-color ease-in-out;transition:.05s border-color ease-in-out}input[type=radio]:checked+label:before{color:#82878c}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#00a0d2}.wp-admin p input[type=radio],.wp-admin p input[type=checkbox],td>input[type=checkbox]{margin-top:0}.wp-admin p label input[type=checkbox]{margin-top:-4px}.wp-admin p label input[type=radio]{margin-top:-2px}input[type=radio]{-webkit-border-radius:50%;border-radius:50%;margin-left:4px;line-height:10px}input[type=radio]:checked:before,input[type=checkbox]:checked:before{float:right;display:inline-block;vertical-align:middle;width:16px;font:400 21px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}input[type=checkbox]:checked:before{content:'\f147';margin:-3px -4px 0 0;color:#1e8cbe}input[type=radio]:checked:before{content:'\2022';text-indent:-9999px;-webkit-border-radius:50px;border-radius:50px;font-size:24px;width:6px;height:6px;margin:4px;line-height:16px;background-color:#1e8cbe}@-moz-document url-prefix(){.form-table input.tog,input[type=radio],input[type=checkbox]{margin-bottom:-1px}}input[type=search]{-webkit-appearance:textfield}input[type=search]::-webkit-search-decoration{display:none}.ie8 input[type=password]{font-family:sans-serif}button,input,select,textarea{font-family:inherit;font-size:inherit;font-weight:inherit}input,select,textarea{font-size:14px;-webkit-border-radius:0;border-radius:0}textarea{padding:2px 6px;line-height:1.4}.wp-admin input[type=file]{padding:3px 0}label{cursor:pointer}input,select{margin:1px;padding:3px 5px}input.code{padding-top:6px}textarea.code{line-height:1.4;padding:4px 6px 1px}input.readonly,input[readonly],textarea.readonly,textarea[readonly]{background-color:#eee}.wp-core-ui :-moz-placeholder,:-moz-placeholder{color:#a9a9a9}.form-invalid input,.form-invalid input:focus,.form-invalid select,.form-invalid select:focus{border-color:#dc3232!important;-webkit-box-shadow:0 0 2px rgba(204,0,0,.8);box-shadow:0 0 2px rgba(204,0,0,.8)}.form-table .form-required.form-invalid td:after{content:'\f534';font:400 20px/1 dashicons;color:#dc3232;margin-right:-25px;vertical-align:middle}.form-table .form-required.user-pass1-wrap.form-invalid td:after{content:''}.form-table .form-required.user-pass1-wrap.form-invalid .password-input-wrapper:after{content:'\f534';font:400 20px/1 dashicons;color:#dc3232;margin:0 -29px 0 6px;vertical-align:middle}.form-input-tip{color:#666}input.disabled,input:disabled,select.disabled,select:disabled,textarea.disabled,textarea:disabled{background:rgba(255,255,255,.5);border-color:rgba(222,222,222,.75);-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.04);box-shadow:inset 0 1px 2px rgba(0,0,0,.04);color:rgba(51,51,51,.5)}input[type=file].disabled,input[type=file]:disabled,input[type=range].disabled,input[type=range]:disabled{background:0 0;-webkit-box-shadow:none;box-shadow:none}input[type=radio].disabled,input[type=radio].disabled:checked:before,input[type=radio]:disabled,input[type=radio]:disabled:checked:before,input[type=checkbox].disabled,input[type=checkbox].disabled:checked:before,input[type=checkbox]:disabled,input[type=checkbox]:disabled:checked:before{opacity:.7}.wp-admin select{padding:2px;line-height:28px;height:28px;vertical-align:middle}.wp-admin .button-cancel{padding:0 5px;line-height:2}.wp-admin select[multiple]{height:auto}.submit{padding:1.5em 0;margin:5px 0;-webkit-border-bottom-right-radius:3px;border-bottom-right-radius:3px;-webkit-border-bottom-left-radius:3px;border-bottom-left-radius:3px;border:none}form p.submit a.cancel:hover{text-decoration:none}p.submit{text-align:right;margin-top:20px;padding-top:10px}.textright p.submit{border:none;text-align:left}table.form-table+input+input+p.submit,table.form-table+input+p.submit,table.form-table+p.submit{border-top:none;padding-top:0}#major-publishing-actions input,#minor-publishing-actions .preview,#minor-publishing-actions input{text-align:center}input.all-options,textarea.all-options{width:250px}input.large-text,textarea.large-text{width:99%}input.regular-text{width:25em}input.small-text{width:50px;padding:1px 6px}input[type=number].small-text{width:65px}#doaction,#doaction2,#post-query-submit{margin:1px 0 0 8px}.tablenav #changeit,.tablenav #clear-recent-list,.tablenav #delete_all,.wp-filter #delete_all{margin-top:1px}.tablenav .actions select{float:right;margin-left:6px;max-width:200px}.ie8 .tablenav .actions select{width:155px}.ie8 .tablenav .actions select#cat{width:200px}#timezone_string option{margin-right:1em}#upload-form label{color:#777}button.wp-hide-pw>.dashicons{position:relative;top:3px}#your-profile label+a,fieldset label,label{vertical-align:middle}#misc-publishing-actions label,.options-media-php label[for*="_size_"]{vertical-align:baseline}#misc-publishing-actions label[for=post_status]:before{content:'\f173';display:inline-block;font:400 20px/1 dashicons;speak:none;right:-1px;padding:0 0 0 5px;position:relative;top:0;text-decoration:none!important;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#pass1-text,.pw-weak,.show-password #pass1{display:none}#pass-strength-result{background-color:#eee;border:1px solid #ddd;color:#23282d;margin:-2px 1px 5px 5px;padding:3px 5px;text-align:center;width:25em;box-sizing:border-box;opacity:0}#pass-strength-result,.color-option{-webkit-box-sizing:border-box;-moz-box-sizing:border-box}#pass-strength-result.short{background-color:#f1adad;border-color:#e35b5b;opacity:1}#pass-strength-result.bad{background-color:#fbc5a9;border-color:#f78b53;opacity:1}#pass-strength-result.good{background-color:#ffe399;border-color:#ffc733;opacity:1}#pass-strength-result.strong{background-color:#c1e1b9;border-color:#83c373;opacity:1}#pass1-text.short,#pass1.short{border-color:#e35b5b}#pass1-text.bad,#pass1.bad{border-color:#f78b53}#pass1-text.good,#pass1.good{border-color:#ffc733}#pass1-text.strong,#pass1.strong{border-color:#83c373}.indicator-hint{padding-top:8px}.show-password #pass1-text{display:inline-block}.form-table span.description.important{font-size:12px}p.search-box{float:left;margin:0}.network-admin.themes-php p.search-box{clear:right}.search-box input[name="s"],.tablenav .search-plugins input[name="s"],.tagsdiv .newtag{float:right;height:28px;margin:0 0 0 4px}input[type=text].ui-autocomplete-loading,input[type=email].ui-autocomplete-loading{background-image:url(../images/loading.gif);background-repeat:no-repeat;background-position:left center;visibility:visible}input.ui-autocomplete-input.open{border-bottom-color:transparent}ul#add-to-blog-users{margin:0 14px 0 0}.ui-autocomplete{padding:0;margin:0;list-style:none;position:absolute;z-index:10000;border:1px solid #5b9dd9;-webkit-box-shadow:0 1px 2px rgba(30,140,190,.8);box-shadow:0 1px 2px rgba(30,140,190,.8);background-color:#fff}.ui-autocomplete li{margin-bottom:0;padding:4px 10px;white-space:nowrap;text-align:right}.ui-autocomplete li.ui-state-focus{background-color:#ddd;cursor:pointer}.form-table{border-collapse:collapse;margin-top:.5em;width:100%;clear:both}.form-table,.form-table td,.form-table td p,.form-table th,.form-wrap label{font-size:14px}.form-table td{margin-bottom:9px;padding:15px 10px;line-height:1.3;vertical-align:middle}.form-table th,.form-wrap label{color:#23282d;font-weight:400;text-shadow:none;vertical-align:baseline}.form-table th{vertical-align:top;text-align:right;padding:20px 0 20px 10px;width:200px;line-height:1.3;font-weight:600}.form-table th.th-full{width:auto;font-weight:400}.form-table td p{margin-top:4px;margin-bottom:0}.form-table td fieldset label{margin:.25em 0 .5em!important;display:inline-block}.form-table td fieldset label,.form-table td fieldset li,.form-table td fieldset p{line-height:1.4em}.form-table input.tog,.form-table input[type=radio]{margin-top:-4px;margin-left:4px;float:none}.form-table .pre{padding:8px;margin:0}table.form-table td .updated{font-size:13px}table.form-table td .updated p{font-size:13px;margin:.3em 0}#profile-page .form-table textarea{width:500px;margin-bottom:6px}#profile-page .form-table #rich_editing{margin-left:5px}#your-profile legend{font-size:22px}#display_name{width:15em}#adduser .form-field input,#createuser .form-field input{width:25em}.color-option{display:inline-block;width:24%;padding:5px 15px 15px;box-sizing:border-box;margin-bottom:3px;cursor:pointer}.color-option.selected,.color-option:hover{background:#ddd}.color-palette{width:100%;border-spacing:0;border-collapse:collapse}.color-palette td{height:20px;padding:0;border:none}.tool-box .title{margin:8px 0;font-size:18px;font-weight:400;line-height:24px}.card{position:relative;margin-top:20px;padding:.7em 2em 1em;min-width:255px;max-width:520px;border:1px solid #e5e5e5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);background:#fff}.pressthis h4{margin:2em 0 1em}.pressthis textarea{width:100%;font-size:1em}.login form,.login h1 a{font-weight:400;overflow:hidden}.pressthis-bookmarklet-wrapper{margin:20px 0 8px;vertical-align:top;position:relative;z-index:1}.pressthis-bookmarklet,.pressthis-bookmarklet:active,.pressthis-bookmarklet:focus,.pressthis-bookmarklet:hover{display:inline-block;position:relative;cursor:move;color:#32373c;background:#e6e6e6;-webkit-border-radius:5px;border-radius:5px;border:1px solid #b4b4b4;font-style:normal;line-height:16px;font-size:14px;text-decoration:none}.pressthis-bookmarklet:active{outline:0}.pressthis-bookmarklet:after{content:'';width:70%;height:55%;z-index:-1;position:absolute;left:10px;bottom:9px;background:0 0;-webkit-transform:skew(-20deg) rotate(-6deg);-ms-transform:skew(-20deg) rotate(-6deg);transform:skew(-20deg) rotate(-6deg);-webkit-box-shadow:0 10px 8px rgba(0,0,0,.6);box-shadow:0 10px 8px rgba(0,0,0,.6)}.pressthis-bookmarklet:hover:after{-webkit-transform:skew(-20deg) rotate(-9deg);-ms-transform:skew(-20deg) rotate(-9deg);transform:skew(-20deg) rotate(-9deg);-webkit-box-shadow:0 10px 8px rgba(0,0,0,.7);box-shadow:0 10px 8px rgba(0,0,0,.7)}.pressthis-bookmarklet span{display:inline-block;margin:0;padding:0 9px 8px 12px}.pressthis-js-toggle,.pressthis-js-toggle.button.button{margin-right:10px;padding:0;height:auto;vertical-align:top}.pressthis-bookmarklet span:before{color:#777;font:400 20px/1 dashicons;content:'\f157';position:relative;display:inline-block;top:4px;margin-left:4px}.pressthis-js-toggle .dashicons{margin:5px 7px 6px 8px;color:#777}#local-time,#utc-time{padding-right:25px;font-style:italic}.defaultavatarpicker .avatar{margin:2px 0;vertical-align:middle}.options-general-php input.small-text{width:56px}.options-general-php .spinner{float:none;margin:0 3px}.options-general-php .language-install-spinner,.settings-php .language-install-spinner{display:inline-block;float:none;margin:-3px 5px 0;vertical-align:middle}.setup-php textarea{max-width:100%}.form-field #site-address{max-width:25em}.form-field #domain{max-width:22em}.form-field #admin-email,.form-field #blog_last_updated,.form-field #blog_registered,.form-field #path,.form-field #site-title{max-width:25em}.form-field #path{margin-bottom:5px}#search-sites,#search-users{max-width:100%}.request-filesystem-credentials-dialog{display:none}.request-filesystem-credentials-dialog .notification-dialog{top:15%;max-height:85%}.request-filesystem-credentials-dialog-content{margin:25px}.request-filesystem-credentials-form input[type=text],.request-filesystem-credentials-form input[type=password]{display:block}.request-filesystem-credentials-dialog input[type=text],.request-filesystem-credentials-dialog input[type=password]{width:100%}.request-filesystem-credentials-form .field-title{font-weight:600}.request-filesystem-credentials-dialog label[for=hostname],.request-filesystem-credentials-dialog label[for=public_key],.request-filesystem-credentials-dialog label[for=private_key]{display:block;margin-bottom:1em}.request-filesystem-credentials-dialog .ftp-password,.request-filesystem-credentials-dialog .ftp-username{float:right;width:48%}.request-filesystem-credentials-dialog .ftp-password{margin-right:4%}.request-filesystem-credentials-dialog .request-filesystem-credentials-action-buttons{text-align:left}#request-filesystem-credentials-dialog .button:not(:last-child),.request-filesystem-credentials-dialog label[for=ftp]{margin-left:10px}#request-filesystem-credentials-form .cancel-button{display:none}#request-filesystem-credentials-dialog .cancel-button{display:inline}@media screen and (max-width:782px){textarea{-webkit-appearance:none}input[type=text],input[type=search],input[type=password],input[type=email],input[type=number]{-webkit-appearance:none;padding:6px 10px}input.code{padding-bottom:5px;padding-top:10px}.widefat tfoot td input[type=checkbox],.widefat th input[type=checkbox],.widefat thead td input[type=checkbox],input[type=checkbox]{-webkit-appearance:none;padding:10px}.widefat tfoot td input[type=checkbox],.widefat th input[type=checkbox],.widefat thead td input[type=checkbox]{margin-bottom:8px}.widefat tfoot td input[type=checkbox]:before,.widefat th input[type=checkbox]:before,.widefat thead td input[type=checkbox]:before,input[type=checkbox]:checked:before{font:400 30px/1 Dashicons;margin:-3px -5px}input[type=radio],input[type=checkbox]{height:25px;width:25px}.wp-admin p input[type=radio],.wp-admin p input[type=checkbox]{margin-top:-3px}input[type=radio]:checked:before{vertical-align:middle;width:9px;height:9px;margin:7px;line-height:16px}.wp-upload-form input[type=submit]{margin-top:10px}#wpbody select{height:36px;font-size:16px}.wp-admin .button-cancel{padding:0;font-size:14px}#adduser .form-field input,#createuser .form-field input{width:100%}.form-table{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.form-table td,.form-table th{display:block;width:auto;vertical-align:middle}.form-table .color-palette td{display:table-cell;width:15px}.form-table table.color-palette{margin-left:10px}input,textarea{font-size:16px}#profile-page .form-table textarea,.form-table span.description,.form-table td input[type=text],.form-table td input[type=password],.form-table td input[type=email],.form-table td select,.form-table td textarea{width:100%;font-size:16px;line-height:1.5;padding:7px 10px;display:block;max-width:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.form-table .form-required.form-invalid td:after{float:left;margin:-30px 0 0 3px}#wpbody .form-table td select{height:40px}.form-table input[type=text].small-text,input[type=text].small-text,input[type=search].small-text,input[type=password].small-text,input[type=number].small-text{width:auto;max-width:55px;display:inline;padding:3px 6px;margin:0 3px}#pass-strength-result{width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:8px}p.search-box{float:none;position:absolute;bottom:0;width:98%;height:90px;margin-bottom:20px}p.search-box input[name="s"]{height:auto;float:none;width:100%;margin-bottom:10px;vertical-align:middle;-webkit-appearance:none}p.search-box input[type=submit]{margin-bottom:10px}.form-table span.description{display:inline;padding:4px 0 0;line-height:1.4em;font-size:14px}.form-table th{padding-top:10px;padding-bottom:0;border-bottom:0}.form-table td{margin-bottom:0;padding-bottom:6px;padding-top:4px;padding-right:0}.form-table.permalink-structure td code{margin-right:32px}.form-table.permalink-structure td input[type=text]{margin-right:32px;margin-top:4px;width:96%}.form-table input.regular-text{width:100%}.form-table label{font-size:14px}.form-table fieldset label{display:block}#utc-time{margin-top:10px}#local-time,#utc-time{display:block;float:none;padding:0;line-height:2}.form-field #domain{max-width:none}.wp-pwd{position:relative}.wp-pwd [type=text],.wp-pwd [type=password]{padding-left:40px}.wp-pwd button.button{background:0 0;border:none;-webkit-box-shadow:none;box-shadow:none;line-height:2;margin:0;padding:5px 10px;position:absolute;left:0;top:0}.wp-pwd button.button:active,.wp-pwd button.button:focus,.wp-pwd button.button:hover{background:0 0}.wp-pwd .button .text{display:none}}body,html{background:#f1f1f1}.locale-he-il em,.locale-zh-cn #local-time,.locale-zh-cn #utc-time,.locale-zh-cn .form-wrap p,.locale-zh-cn .howto,.locale-zh-cn .inline-edit-row fieldset span.checkbox-title,.locale-zh-cn .inline-edit-row fieldset span.title,.locale-zh-cn .js .input-with-default-title,.locale-zh-cn .link-to-original,.locale-zh-cn .tablenav .displaying-num,.locale-zh-cn p.description,.locale-zh-cn p.help,.locale-zh-cn p.install-help,.locale-zh-cn span.description{font-style:normal}@media only screen and (max-width:768px){.form-field input[type=text],.form-field input[type=password],.form-field input[type=email],.form-field select,.form-field textarea{width:99%}.form-wrap .form-field{padding:0}#profile-page .form-table textarea{max-width:400px;width:auto}}.locale-de-de #customize-header-actions .button,.locale-de-de-formal #customize-header-actions .button,.locale-ru-ru #customize-header-actions .button{padding:0 5px 1px}@media only screen and (max-height:480px){.request-filesystem-credentials-dialog .notification-dialog{width:100%;height:100%;max-height:100%;position:fixed;top:0;margin:0;right:0}}@media screen and (max-width:600px){.color-option{width:49%}}body.rtl,body.rtl .press-this a.wp-switch-editor{font-family:Tahoma,Arial,sans-serif}.rtl h1,.rtl h2,.rtl h3,.rtl h4,.rtl h5,.rtl h6{font-family:Arial,sans-serif;font-weight:700}body.locale-he-il,body.locale-he-il .press-this a.wp-switch-editor{font-family:Arial,sans-serif}.locale-he-il em{font-weight:700}.locale-zh-cn .hdnle a{font-size:12px}.locale-zh-cn form.upgrade .hint{font-style:normal;font-size:100%}.locale-zh-cn #sort-buttons{font-size:1em!important}.locale-de-de #customize-header-actions .spinner,.locale-de-de-formal #customize-header-actions .spinner{margin:16px 3px 0}.locale-ru-ru .inline-edit-row fieldset label span.title,.locale-ru-ru .inline-edit-row fieldset.inline-edit-date legend{width:8em}.locale-ru-ru .inline-edit-row fieldset .timestamp-wrap,.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap{margin-right:8em}.locale-ru-ru.post-new-php .tagsdiv .newtag,.locale-ru-ru.post-php .tagsdiv .newtag{width:165px}.locale-ru-ru.press-this .posting{margin-left:277px}.locale-ru-ru .press-this-sidebar{width:265px}.locale-ru-ru #customize-header-actions .spinner{margin:16px 3px 0}.locale-lt-lt .inline-edit-row fieldset label span.title,.locale-lt-lt .inline-edit-row fieldset.inline-edit-date legend{width:8em}.locale-lt-lt .inline-edit-row fieldset .timestamp-wrap,.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap{margin-right:8em}@media screen and (max-width:782px){.locale-lt-lt .inline-edit-row fieldset .timestamp-wrap,.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap,.locale-ru-ru .inline-edit-row fieldset .timestamp-wrap,.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap{margin-right:0}}body,html{height:100%;margin:0;padding:0}body{min-width:0;color:#444;font-family:"Open Sans",sans-serif;font-size:13px;line-height:1.4em}a{color:#0073aa;-webkit-transition-property:border,background,color;transition-property:border,background,color;-webkit-transition-duration:.05s;transition-duration:.05s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;outline:0}a:active,a:hover{color:#00a0d2}a:focus{color:#124964;-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.ie8 a:focus{outline:#5b9dd9 solid 1px}p{line-height:1.5}.login .message{border-right:4px solid #00a0d2;background-color:#fff;box-shadow:0 1px 1px 0 rgba(0,0,0,.1)}.login #login_error,.login .message{-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1)}.login #login_error{border-right:4px solid #dd3d36;background:#fff;box-shadow:0 1px 1px 0 rgba(0,0,0,.1)}#loginform p.submit,.login-action-lostpassword p.submit{border:none;margin:-10px 0 20px}.login *{margin:0;padding:0}.login form{margin-top:20px;margin-right:0;padding:26px 24px 46px;background:#fff;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.13);box-shadow:0 1px 3px rgba(0,0,0,.13)}.login form .forgetmenot{font-weight:400;float:right;margin-bottom:0}.login .button-primary{float:left}#login form p{margin-bottom:0}#login form p.submit{margin:0;padding:0}.login label{color:#777;font-size:14px}.login #backtoblog a,.login #nav a,.login h1 a{text-decoration:none;color:#999}.login form .forgetmenot label{font-size:12px;line-height:19px}.login h1{text-align:center}.login h1 a{background-image:url(../images/w-logo-blue.png?ver=20131202);background-image:none,url(../images/wordpress-logo.svg?ver=20131107);-webkit-background-size:84px;background-size:84px;background-position:center top;background-repeat:no-repeat;height:84px;font-size:20px;line-height:1.3em;margin:0 auto 25px;padding:0;width:84px;text-indent:-9999px;outline:0;display:block}#login{width:320px;padding:8% 0 0;margin:auto}#login_error,.login .message{margin-right:0;padding:12px}.login #backtoblog,.login #nav{font-size:13px;padding:0 24px}.login #nav{margin:24px 0 0}#backtoblog{margin:16px 0 0}.login #backtoblog a:hover,.login #nav a:hover,.login h1 a:hover{color:#00a0d2}.login #backtoblog a:focus,.login #nav a:focus,.login h1 a:focus{color:#124964}.login form .input,.login input[type=text]{font-size:24px;width:100%;padding:3px;margin:2px 0 16px 6px}.login form .input,.login form input[type=checkbox],.login input[type=text]{background:#fbfbfb}.ie7 .login form .input,.ie8 .login form .input{font-family:sans-serif}.login-action-rp input[type=text]{-webkit-box-shadow:none;box-shadow:none;margin:0}.login #pass-strength-result{font-weight:600;margin:-1px 0 16px 5px;padding:6px 5px;text-align:center;width:100%}.mobile #login{padding:20px 0}.mobile #login .message,.mobile #login form,.mobile #login_error{margin-right:0}.mobile #login #backtoblog,.mobile #login #nav{margin-right:8px}body.interim-login{height:auto}.interim-login #login{padding:0;margin:5px auto 20px}.interim-login.login h1 a{width:auto}.interim-login #login_error,.interim-login.login .message{margin:0 0 16px}.interim-login.login form{margin:0}@-ms-viewport{width:device-width}@media screen and (max-width:782px){.interim-login input[type=checkbox]{height:16px;width:16px}.interim-login input[type=checkbox]:checked:before{width:16px;font:400 21px/1 dashicons;margin:-3px -4px 0 0}} \ No newline at end of file +#pass-strength-result,input,textarea{-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.meta-box-sortables select,p.submit{max-width:100%}#your-profile label+a,.wp-admin select,fieldset label,label{vertical-align:middle}#pressthis-code-wrap,textarea{overflow:auto}input,textarea{box-sizing:border-box}input[type=text],input[type=search],input[type=radio],input[type=tel],input[type=time],input[type=url],input[type=week],input[type=password],input[type=checkbox],input[type=color],input[type=date],input[type=datetime],input[type=datetime-local],input[type=email],input[type=month],input[type=number],select,textarea{border:1px solid #ddd;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.07);box-shadow:inset 0 1px 2px rgba(0,0,0,.07);background-color:#fff;color:#32373c;outline:0;-webkit-transition:50ms border-color ease-in-out;transition:50ms border-color ease-in-out}input[type=text]:focus,input[type=search]:focus,input[type=radio]:focus,input[type=tel]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,input[type=password]:focus,input[type=checkbox]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime]:focus,input[type=datetime-local]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,select:focus,textarea:focus{border-color:#5b9dd9;-webkit-box-shadow:0 0 2px rgba(30,140,190,.8);box-shadow:0 0 2px rgba(30,140,190,.8)}input[type=url],input[type=email]{direction:ltr}input[type=number]{line-height:inherit}input[type=radio],input[type=checkbox]{border:1px solid #b4b9be;background:#fff;color:#555;clear:none;cursor:pointer;display:inline-block;line-height:0;height:16px;margin:-4px 0 0 4px;outline:0;padding:0!important;text-align:center;vertical-align:middle;width:16px;min-width:16px;-webkit-appearance:none;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1);-webkit-transition:.05s border-color ease-in-out;transition:.05s border-color ease-in-out}input[type=radio]:checked+label:before{color:#82878c}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#00a0d2}.wp-admin p input[type=radio],.wp-admin p input[type=checkbox],td>input[type=checkbox]{margin-top:0}.wp-admin p label input[type=checkbox]{margin-top:-4px}.wp-admin p label input[type=radio]{margin-top:-2px}input[type=radio]{-webkit-border-radius:50%;border-radius:50%;margin-left:4px;line-height:10px}input[type=radio]:checked:before,input[type=checkbox]:checked:before{float:right;display:inline-block;vertical-align:middle;width:16px;font:400 21px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}input[type=checkbox]:checked:before{content:"\f147";margin:-3px -4px 0 0;color:#1e8cbe}input[type=radio]:checked:before{content:"\2022";text-indent:-9999px;-webkit-border-radius:50px;border-radius:50px;font-size:24px;width:6px;height:6px;margin:4px;line-height:16px;background-color:#1e8cbe}@-moz-document url-prefix(){.form-table input.tog,input[type=radio],input[type=checkbox]{margin-bottom:-1px}}input[type=search]{-webkit-appearance:textfield}input[type=search]::-webkit-search-decoration{display:none}.ie8 input[type=password]{font-family:sans-serif}button,input,select,textarea{font-family:inherit;font-size:inherit;font-weight:inherit}input,select,textarea{font-size:14px;-webkit-border-radius:0;border-radius:0}textarea{padding:2px 6px;line-height:1.4;resize:vertical}.wp-admin input[type=file]{padding:3px 0}label{cursor:pointer}input,select{margin:1px;padding:3px 5px}input.code{padding-top:6px}textarea.code{line-height:1.4;padding:4px 6px 1px}input.readonly,input[readonly],textarea.readonly,textarea[readonly]{background-color:#eee}.wp-core-ui :-moz-placeholder,:-moz-placeholder{color:#a9a9a9}.form-invalid input,.form-invalid input:focus,.form-invalid select,.form-invalid select:focus{border-color:#dc3232!important;-webkit-box-shadow:0 0 2px rgba(204,0,0,.8);box-shadow:0 0 2px rgba(204,0,0,.8)}.form-table .form-required.form-invalid td:after{content:"\f534";font:400 20px/1 dashicons;color:#dc3232;margin-right:-25px;vertical-align:middle}.form-table .form-required.user-pass1-wrap.form-invalid td:after{content:''}.form-table .form-required.user-pass1-wrap.form-invalid .password-input-wrapper:after{content:'\f534';font:400 20px/1 dashicons;color:#dc3232;margin:0 -29px 0 6px;vertical-align:middle}.form-input-tip{color:#666}input.disabled,input:disabled,select.disabled,select:disabled,textarea.disabled,textarea:disabled{background:rgba(255,255,255,.5);border-color:rgba(222,222,222,.75);-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.04);box-shadow:inset 0 1px 2px rgba(0,0,0,.04);color:rgba(51,51,51,.5)}input[type=file].disabled,input[type=file]:disabled,input[type=range].disabled,input[type=range]:disabled{background:0 0;-webkit-box-shadow:none;box-shadow:none}input[type=radio].disabled,input[type=radio].disabled:checked:before,input[type=radio]:disabled,input[type=radio]:disabled:checked:before,input[type=checkbox].disabled,input[type=checkbox].disabled:checked:before,input[type=checkbox]:disabled,input[type=checkbox]:disabled:checked:before{opacity:.7}.wp-admin select{padding:2px;line-height:28px;height:28px}.wp-admin .button-cancel{padding:0 5px;line-height:2}.wp-admin select[multiple]{height:auto}.submit{padding:1.5em 0;margin:5px 0;-webkit-border-bottom-right-radius:3px;border-bottom-right-radius:3px;-webkit-border-bottom-left-radius:3px;border-bottom-left-radius:3px;border:none}form p.submit a.cancel:hover{text-decoration:none}p.submit{text-align:right;margin-top:20px;padding-top:10px}.textright p.submit{border:none;text-align:left}#major-publishing-actions input,#minor-publishing-actions .preview,#minor-publishing-actions input,#pass-strength-result,.login h1{text-align:center}table.form-table+input+input+p.submit,table.form-table+input+p.submit,table.form-table+p.submit{border-top:none;padding-top:0}input.all-options,textarea.all-options{width:250px}input.large-text,textarea.large-text{width:99%}input.regular-text{width:25em}input.small-text{width:50px;padding:1px 6px}input[type=number].small-text{width:65px}input.tiny-text{width:35px}input[type=number].tiny-text{width:45px}#doaction,#doaction2,#post-query-submit{margin:1px 0 0 8px}.tablenav #changeit,.tablenav #clear-recent-list,.tablenav #delete_all,.wp-filter #delete_all{margin-top:1px}.tablenav .actions select{float:right;margin-left:6px;max-width:200px}.ie8 .tablenav .actions select{width:155px}.ie8 .tablenav .actions select#cat{width:200px}#timezone_string option{margin-right:1em}#upload-form label{color:#777}button.wp-hide-pw>.dashicons{position:relative;top:3px}#misc-publishing-actions label,.options-media-php label[for*="_size_"]{vertical-align:baseline}#misc-publishing-actions label[for=post_status]:before{content:"\f173";display:inline-block;font:400 20px/1 dashicons;speak:none;right:-1px;padding:0 0 0 5px;position:relative;top:0;text-decoration:none!important;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#pass1-text,.pw-weak,.show-password #pass1{display:none}#pass-strength-result{background-color:#eee;border:1px solid #ddd;color:#23282d;margin:-2px 1px 5px 5px;padding:3px 5px;width:25em;box-sizing:border-box;opacity:0}#pass-strength-result.short{background-color:#f1adad;border-color:#e35b5b;opacity:1}#pass-strength-result.bad{background-color:#fbc5a9;border-color:#f78b53;opacity:1}#pass-strength-result.good{background-color:#ffe399;border-color:#ffc733;opacity:1}#pass-strength-result.strong{background-color:#c1e1b9;border-color:#83c373;opacity:1}#pass1-text.short,#pass1.short{border-color:#e35b5b}#pass1-text.bad,#pass1.bad{border-color:#f78b53}#pass1-text.good,#pass1.good{border-color:#ffc733}#pass1-text.strong,#pass1.strong{border-color:#83c373}.indicator-hint{padding-top:8px}.show-password #pass1-text{display:inline-block}.form-table span.description.important{font-size:12px}p.search-box{float:left;margin:0}.network-admin.themes-php p.search-box{clear:right}.search-box input[name="s"],.tablenav .search-plugins input[name="s"],.tagsdiv .newtag{float:right;height:28px;margin:0 0 0 4px}input[type=text].ui-autocomplete-loading,input[type=email].ui-autocomplete-loading{background-image:url(../images/loading.gif);background-repeat:no-repeat;background-position:left center;visibility:visible}input.ui-autocomplete-input.open{border-bottom-color:transparent}ul#add-to-blog-users{margin:0 14px 0 0}.ui-autocomplete{padding:0;margin:0;list-style:none;position:absolute;z-index:10000;border:1px solid #5b9dd9;-webkit-box-shadow:0 1px 2px rgba(30,140,190,.8);box-shadow:0 1px 2px rgba(30,140,190,.8);background-color:#fff}.ui-autocomplete li{margin-bottom:0;padding:4px 10px;white-space:nowrap;text-align:right}.ui-autocomplete li.ui-state-focus{background-color:#ddd;cursor:pointer}.form-table{border-collapse:collapse;margin-top:.5em;width:100%;clear:both}.form-table,.form-table td,.form-table td p,.form-table th,.form-wrap label{font-size:14px}.form-table td{margin-bottom:9px;padding:15px 10px;line-height:1.3;vertical-align:middle}.form-table th,.form-wrap label{color:#23282d;font-weight:400;text-shadow:none;vertical-align:baseline}.form-table th{vertical-align:top;text-align:right;padding:20px 0 20px 10px;width:200px;line-height:1.3;font-weight:600}.form-table th.th-full{width:auto;font-weight:400}.form-table td p{margin-top:4px;margin-bottom:0}.form-table td fieldset label{margin:.25em 0 .5em!important;display:inline-block}.form-table td fieldset label,.form-table td fieldset li,.form-table td fieldset p{line-height:1.4em}.form-table input.tog,.form-table input[type=radio]{margin-top:-4px;margin-left:4px;float:none}.form-table .pre{padding:8px;margin:0}table.form-table td .updated{font-size:13px}table.form-table td .updated p{font-size:13px;margin:.3em 0}#profile-page .form-table textarea{width:500px;margin-bottom:6px}#profile-page .form-table #rich_editing{margin-left:5px}#your-profile legend{font-size:22px}#display_name{width:15em}#adduser .form-field input,#createuser .form-field input{width:25em}.color-option{display:inline-block;width:24%;padding:5px 15px 15px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin-bottom:3px;cursor:pointer}.color-option.selected,.color-option:hover{background:#ddd}.color-palette{width:100%;border-spacing:0;border-collapse:collapse}.color-palette td{height:20px;padding:0;border:none}.tool-box .title{margin:8px 0;font-size:18px;font-weight:400;line-height:24px}.label-responsive{vertical-align:middle}#export-filters p{margin:0 0 1em}#export-filters p.submit{margin:7px 0 5px}.card{position:relative;margin-top:20px;padding:.7em 2em 1em;min-width:255px;max-width:520px;border:1px solid #e5e5e5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);background:#fff}.pressthis h4{margin:2em 0 1em}.pressthis textarea{width:100%;font-size:1em}.login form,.login h1 a{overflow:hidden;font-weight:400}.pressthis-bookmarklet-wrapper{margin:20px 0 8px;vertical-align:top;position:relative;z-index:1}.pressthis-bookmarklet,.pressthis-bookmarklet:active,.pressthis-bookmarklet:focus,.pressthis-bookmarklet:hover{display:inline-block;position:relative;cursor:move;color:#32373c;background:#e6e6e6;-webkit-border-radius:5px;border-radius:5px;border:1px solid #b4b4b4;font-style:normal;line-height:16px;font-size:14px;text-decoration:none}.pressthis-bookmarklet:active{outline:0}.pressthis-bookmarklet:after{content:"";width:70%;height:55%;z-index:-1;position:absolute;left:10px;bottom:9px;background:0 0;-webkit-transform:skew(-20deg) rotate(-6deg);-ms-transform:skew(-20deg) rotate(-6deg);transform:skew(-20deg) rotate(-6deg);-webkit-box-shadow:0 10px 8px rgba(0,0,0,.6);box-shadow:0 10px 8px rgba(0,0,0,.6)}.pressthis-bookmarklet:hover:after{-webkit-transform:skew(-20deg) rotate(-9deg);-ms-transform:skew(-20deg) rotate(-9deg);transform:skew(-20deg) rotate(-9deg);-webkit-box-shadow:0 10px 8px rgba(0,0,0,.7);box-shadow:0 10px 8px rgba(0,0,0,.7)}.pressthis-bookmarklet span{display:inline-block;margin:0;padding:0 9px 8px 12px}.pressthis-js-toggle,.pressthis-js-toggle.button.button{margin-right:10px;padding:0;height:auto;vertical-align:top}.pressthis-bookmarklet span:before{color:#777;font:400 20px/1 dashicons;content:"\f157";position:relative;display:inline-block;top:4px;margin-left:4px}.pressthis-js-toggle .dashicons{margin:5px 7px 6px 8px;color:#777}#local-time,#utc-time{padding-right:25px;font-style:italic}.defaultavatarpicker .avatar{margin:2px 0;vertical-align:middle}.options-general-php input.small-text{width:56px}.options-general-php .spinner{float:none;margin:0 3px}.options-general-php .language-install-spinner,.settings-php .language-install-spinner{display:inline-block;float:none;margin:-3px 5px 0;vertical-align:middle}.setup-php textarea{max-width:100%}.form-field #site-address{max-width:25em}.form-field #domain{max-width:22em}.form-field #admin-email,.form-field #blog_last_updated,.form-field #blog_registered,.form-field #path,.form-field #site-title{max-width:25em}.form-field #path{margin-bottom:5px}#search-sites,#search-users{max-width:100%}.request-filesystem-credentials-dialog{display:none}.request-filesystem-credentials-dialog .notification-dialog{top:15%;max-height:85%}.request-filesystem-credentials-dialog-content{margin:25px}#request-filesystem-credentials-title{font-size:1.3em;margin:1em 0}.request-filesystem-credentials-form legend{font-size:1em;padding:1.33em 0;font-weight:600}.request-filesystem-credentials-form input[type=text],.request-filesystem-credentials-form input[type=password]{display:block}.request-filesystem-credentials-dialog input[type=text],.request-filesystem-credentials-dialog input[type=password]{width:100%}.request-filesystem-credentials-form .field-title{font-weight:600}.request-filesystem-credentials-dialog label[for=hostname],.request-filesystem-credentials-dialog label[for=public_key],.request-filesystem-credentials-dialog label[for=private_key]{display:block;margin-bottom:1em}.request-filesystem-credentials-dialog .ftp-password,.request-filesystem-credentials-dialog .ftp-username{float:right;width:48%}.request-filesystem-credentials-dialog .ftp-password{margin-right:4%}.request-filesystem-credentials-dialog .request-filesystem-credentials-action-buttons{text-align:left}.request-filesystem-credentials-dialog label[for=ftp]{margin-left:10px}#request-filesystem-credentials-dialog .button:not(:last-child){margin-left:10px}#request-filesystem-credentials-form .cancel-button{display:none}#request-filesystem-credentials-dialog .cancel-button{display:inline}@media screen and (max-width:782px){textarea{-webkit-appearance:none}input[type=text],input[type=search],input[type=password],input[type=email],input[type=number]{-webkit-appearance:none;padding:6px 10px}input.code{padding-bottom:5px;padding-top:10px}.widefat tfoot td input[type=checkbox],.widefat th input[type=checkbox],.widefat thead td input[type=checkbox],input[type=checkbox]{-webkit-appearance:none;padding:10px}.widefat tfoot td input[type=checkbox],.widefat th input[type=checkbox],.widefat thead td input[type=checkbox]{margin-bottom:8px}.widefat tfoot td input[type=checkbox]:before,.widefat th input[type=checkbox]:before,.widefat thead td input[type=checkbox]:before,input[type=checkbox]:checked:before{font:400 30px/1 dashicons;margin:-3px -5px}input[type=radio],input[type=checkbox]{height:25px;width:25px}.wp-admin p input[type=radio],.wp-admin p input[type=checkbox]{margin-top:-3px}input[type=radio]:checked:before{vertical-align:middle;width:9px;height:9px;margin:7px;line-height:16px}.wp-upload-form input[type=submit]{margin-top:10px}#wpbody select{height:36px;font-size:16px}.wp-admin .button-cancel{padding:0;font-size:14px}#adduser .form-field input,#createuser .form-field input{width:100%}.form-table{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.form-table td,.form-table th,.label-responsive{display:block;width:auto;vertical-align:middle}.label-responsive{margin:.5em 0}.export-filters li{margin-bottom:0}.form-table .color-palette td{display:table-cell;width:15px}.form-table table.color-palette{margin-left:10px}input,textarea{font-size:16px}#profile-page .form-table textarea,.form-table span.description,.form-table td input[type=text],.form-table td input[type=password],.form-table td input[type=email],.form-table td select,.form-table td textarea{width:100%;font-size:16px;line-height:1.5;padding:7px 10px;display:block;max-width:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.form-table .form-required.form-invalid td:after{float:left;margin:-30px 0 0 3px}#wpbody .form-table td select{height:40px}.form-table input[type=text].small-text,input[type=text].small-text,input[type=search].small-text,input[type=password].small-text,input[type=number].small-text{width:auto;max-width:55px;display:inline;padding:3px 6px;margin:0 3px}#pass-strength-result{width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:8px}p.search-box{float:none;position:absolute;bottom:0;width:98%;height:90px;margin-bottom:20px}p.search-box input[name="s"]{height:auto;float:none;width:100%;margin-bottom:10px;vertical-align:middle;-webkit-appearance:none}p.search-box input[type=submit]{margin-bottom:10px}.form-table span.description{display:inline;padding:4px 0 0;line-height:1.4em;font-size:14px}.form-table th{padding-top:10px;padding-bottom:0;border-bottom:0}.form-table td{margin-bottom:0;padding-bottom:6px;padding-top:4px;padding-right:0}.form-table.permalink-structure td code{margin-right:32px}.form-table.permalink-structure td input[type=text]{margin-right:32px;margin-top:4px;width:96%}.form-table input.regular-text{width:100%}.form-table label{font-size:14px}.form-table fieldset label{display:block}#utc-time{margin-top:10px}#local-time,#utc-time{display:block;float:none;padding:0;line-height:2}.form-field #domain{max-width:none}.wp-pwd{position:relative}.wp-pwd [type=text],.wp-pwd [type=password]{padding-left:40px}.wp-pwd button.button{background:0 0;border:none;-webkit-box-shadow:none;box-shadow:none;line-height:2;margin:0;padding:5px 10px;position:absolute;left:0;top:0}.wp-pwd button.button:active,.wp-pwd button.button:focus,.wp-pwd button.button:hover{background:0 0}.wp-pwd .button .text{display:none}}.locale-he-il em,.locale-zh-cn #local-time,.locale-zh-cn #utc-time,.locale-zh-cn .form-wrap p,.locale-zh-cn .howto,.locale-zh-cn .inline-edit-row fieldset span.checkbox-title,.locale-zh-cn .inline-edit-row fieldset span.title,.locale-zh-cn .js .input-with-default-title,.locale-zh-cn .link-to-original,.locale-zh-cn .tablenav .displaying-num,.locale-zh-cn p.description,.locale-zh-cn p.help,.locale-zh-cn p.install-help,.locale-zh-cn span.description{font-style:normal}body,html{background:#f1f1f1}@media only screen and (max-width:768px){.form-field input[type=text],.form-field input[type=password],.form-field input[type=email],.form-field select,.form-field textarea{width:99%}.form-wrap .form-field{padding:0}#profile-page .form-table textarea{max-width:400px;width:auto}}.locale-de-de #customize-header-actions .button,.locale-de-de-formal #customize-header-actions .button,.locale-ru-ru #customize-header-actions .button{padding:0 5px 1px}@media only screen and (max-height:480px){.request-filesystem-credentials-dialog .notification-dialog{width:100%;height:100%;max-height:100%;position:fixed;top:0;margin:0;right:0}}@media screen and (max-width:600px){.color-option{width:49%}}body.rtl,body.rtl .press-this a.wp-switch-editor{font-family:Tahoma,Arial,sans-serif}.rtl h1,.rtl h2,.rtl h3,.rtl h4,.rtl h5,.rtl h6{font-family:Arial,sans-serif;font-weight:700}body.locale-he-il,body.locale-he-il .press-this a.wp-switch-editor{font-family:Arial,sans-serif}.locale-he-il em{font-weight:700}.locale-zh-cn .hdnle a{font-size:12px}.locale-zh-cn form.upgrade .hint{font-style:normal;font-size:100%}.locale-zh-cn #sort-buttons{font-size:1em!important}.locale-de-de #customize-header-actions .spinner,.locale-de-de-formal #customize-header-actions .spinner{margin:16px 3px 0}.locale-ru-ru #adminmenu{width:inherit}.locale-ru-ru #adminmenu,.locale-ru-ru #wpbody{margin-right:0}.locale-ru-ru .inline-edit-row fieldset label span.title,.locale-ru-ru .inline-edit-row fieldset.inline-edit-date legend{width:8em}.locale-ru-ru .inline-edit-row fieldset .timestamp-wrap,.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap{margin-right:8em}.locale-ru-ru.post-new-php .tagsdiv .newtag,.locale-ru-ru.post-php .tagsdiv .newtag{width:165px}.locale-ru-ru.press-this .posting{margin-left:277px}.locale-ru-ru .press-this-sidebar{width:265px}.locale-ru-ru #customize-header-actions .spinner{margin:16px 3px 0}.locale-lt-lt .inline-edit-row fieldset label span.title,.locale-lt-lt .inline-edit-row fieldset.inline-edit-date legend{width:8em}.locale-lt-lt .inline-edit-row fieldset .timestamp-wrap,.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap{margin-right:8em}@media screen and (max-width:782px){.locale-lt-lt .inline-edit-row fieldset .timestamp-wrap,.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap,.locale-ru-ru .inline-edit-row fieldset .timestamp-wrap,.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap{margin-right:0}}body,html{height:100%;margin:0;padding:0}body{min-width:0;color:#444;font-family:"Open Sans",sans-serif;font-size:13px;line-height:1.4em}a{color:#0073aa;-webkit-transition-property:border,background,color;transition-property:border,background,color;-webkit-transition-duration:.05s;transition-duration:.05s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;outline:0}a:active,a:hover{color:#00a0d2}a:focus{color:#124964;-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.ie8 a:focus{outline:#5b9dd9 solid 1px}p{line-height:1.5}.login #login_error,.login .message{border-right:4px solid #00a0d2;padding:12px;margin-right:0;background-color:#fff;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1)}.login #login_error{border-right-color:#dc3232}#loginform p.submit,.login-action-lostpassword p.submit{border:none;margin:-10px 0 20px}.login *{margin:0;padding:0}.login form{margin-top:20px;margin-right:0;padding:26px 24px 46px;background:#fff;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.13);box-shadow:0 1px 3px rgba(0,0,0,.13)}.login form .forgetmenot{font-weight:400;float:right;margin-bottom:0}.login .button-primary{float:left}#login form p{margin-bottom:0}#login form p.submit{margin:0;padding:0}.login label{color:#777;font-size:14px}.login #backtoblog a,.login #nav a,.login h1 a{text-decoration:none;color:#999}.login form .forgetmenot label{font-size:12px;line-height:19px}.login h1 a{background-image:url(../images/w-logo-blue.png?ver=20131202);background-image:none,url(../images/wordpress-logo.svg?ver=20131107);-webkit-background-size:84px;background-size:84px;background-position:center top;background-repeat:no-repeat;height:84px;font-size:20px;line-height:1.3em;margin:0 auto 25px;padding:0;width:84px;text-indent:-9999px;outline:0;display:block}#login{width:320px;padding:8% 0 0;margin:auto}.login #backtoblog,.login #nav{font-size:13px;padding:0 24px}.login #nav{margin:24px 0 0}#backtoblog{margin:16px 0}.login #backtoblog a:hover,.login #nav a:hover,.login h1 a:hover{color:#00a0d2}.login #backtoblog a:focus,.login #nav a:focus,.login h1 a:focus{color:#124964}.login form .input,.login input[type=text]{font-size:24px;width:100%;padding:3px;margin:2px 0 16px 6px}.login form .input,.login form input[type=checkbox],.login input[type=text]{background:#fbfbfb}.ie7 .login form .input,.ie8 .login form .input{font-family:sans-serif}.login-action-rp input[type=text]{-webkit-box-shadow:none;box-shadow:none;margin:0}.login #pass-strength-result{font-weight:600;margin:-1px 0 16px 5px;padding:6px 5px;text-align:center;width:100%}.mobile #login{padding:20px 0}.mobile #login form{margin-right:0}.mobile #login #backtoblog,.mobile #login #nav{margin-right:8px}body.interim-login{height:auto}.interim-login #login{padding:0;margin:5px auto 20px}.interim-login.login h1 a{width:auto}.interim-login #login_error,.interim-login.login .message{margin:0 0 16px}.interim-login.login form{margin:0}@-ms-viewport{width:device-width}@media screen and (max-width:782px){.interim-login input[type=checkbox]{height:16px;width:16px}.interim-login input[type=checkbox]:checked:before{width:16px;font:400 21px/1 dashicons;margin:-3px -4px 0 0}} \ No newline at end of file diff --git a/wp-admin/css/login.css b/wp-admin/css/login.css index 6c4d702..750921b 100644 --- a/wp-admin/css/login.css +++ b/wp-admin/css/login.css @@ -58,19 +58,18 @@ p { line-height: 1.5; } -.login .message { +.login .message, +.login #login_error { border-left: 4px solid #00a0d2; - padding: 1px 12px; + padding: 12px; + margin-left: 0; background-color: #fff; -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); } .login #login_error { - border-left: 4px solid #dd3d36; - background: #fff; - -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); - box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); + border-left-color: #dc3232; } #loginform p.submit, @@ -156,12 +155,6 @@ p { margin: auto; } -#login_error, -.login .message { - margin-left: 0; - padding: 12px; -} - .login #nav, .login #backtoblog { font-size: 13px; @@ -173,7 +166,7 @@ p { } #backtoblog { - margin: 16px 0 0 0; + margin: 16px 0; } .login #nav a, @@ -231,9 +224,7 @@ p { padding: 20px 0; } -.mobile #login form, -.mobile #login .message, -.mobile #login_error { +.mobile #login form { margin-left: 0; } @@ -276,7 +267,7 @@ body.interim-login { .interim-login input[type=checkbox]:checked:before { width: 16px; - font: normal 21px/1 'dashicons'; + font: normal 21px/1 dashicons; margin: -3px 0 0 -4px; } } diff --git a/wp-admin/css/login.min.css b/wp-admin/css/login.min.css index 55c1097..1a7c591 100644 --- a/wp-admin/css/login.min.css +++ b/wp-admin/css/login.min.css @@ -1 +1 @@ -.meta-box-sortables select,p.submit{max-width:100%}#pressthis-code-wrap,textarea{overflow:auto}input,textarea{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type=text],input[type=search],input[type=radio],input[type=tel],input[type=time],input[type=url],input[type=week],input[type=password],input[type=checkbox],input[type=color],input[type=date],input[type=datetime],input[type=datetime-local],input[type=email],input[type=month],input[type=number],select,textarea{border:1px solid #ddd;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.07);box-shadow:inset 0 1px 2px rgba(0,0,0,.07);background-color:#fff;color:#32373c;outline:0;-webkit-transition:.05s border-color ease-in-out;transition:.05s border-color ease-in-out}input[type=text]:focus,input[type=search]:focus,input[type=radio]:focus,input[type=tel]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,input[type=password]:focus,input[type=checkbox]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime]:focus,input[type=datetime-local]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,select:focus,textarea:focus{border-color:#5b9dd9;-webkit-box-shadow:0 0 2px rgba(30,140,190,.8);box-shadow:0 0 2px rgba(30,140,190,.8)}input[type=url],input[type=email]{direction:ltr}input[type=radio],input[type=checkbox]{border:1px solid #b4b9be;background:#fff;color:#555;clear:none;cursor:pointer;display:inline-block;line-height:0;height:16px;margin:-4px 4px 0 0;outline:0;padding:0!important;text-align:center;vertical-align:middle;width:16px;min-width:16px;-webkit-appearance:none;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1);-webkit-transition:.05s border-color ease-in-out;transition:.05s border-color ease-in-out}input[type=radio]:checked+label:before{color:#82878c}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#00a0d2}.wp-admin p input[type=radio],.wp-admin p input[type=checkbox],td>input[type=checkbox]{margin-top:0}.wp-admin p label input[type=checkbox]{margin-top:-4px}.wp-admin p label input[type=radio]{margin-top:-2px}input[type=radio]{-webkit-border-radius:50%;border-radius:50%;margin-right:4px;line-height:10px}input[type=radio]:checked:before,input[type=checkbox]:checked:before{float:left;display:inline-block;vertical-align:middle;width:16px;font:400 21px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}input[type=checkbox]:checked:before{content:'\f147';margin:-3px 0 0 -4px;color:#1e8cbe}input[type=radio]:checked:before{content:'\2022';text-indent:-9999px;-webkit-border-radius:50px;border-radius:50px;font-size:24px;width:6px;height:6px;margin:4px;line-height:16px;background-color:#1e8cbe}@-moz-document url-prefix(){.form-table input.tog,input[type=radio],input[type=checkbox]{margin-bottom:-1px}}input[type=search]{-webkit-appearance:textfield}input[type=search]::-webkit-search-decoration{display:none}.ie8 input[type=password]{font-family:sans-serif}button,input,select,textarea{font-family:inherit;font-size:inherit;font-weight:inherit}input,select,textarea{font-size:14px;-webkit-border-radius:0;border-radius:0}textarea{padding:2px 6px;line-height:1.4}.wp-admin input[type=file]{padding:3px 0}label{cursor:pointer}input,select{margin:1px;padding:3px 5px}input.code{padding-top:6px}textarea.code{line-height:1.4;padding:4px 6px 1px}input.readonly,input[readonly],textarea.readonly,textarea[readonly]{background-color:#eee}.wp-core-ui :-moz-placeholder,:-moz-placeholder{color:#a9a9a9}.form-invalid input,.form-invalid input:focus,.form-invalid select,.form-invalid select:focus{border-color:#dc3232!important;-webkit-box-shadow:0 0 2px rgba(204,0,0,.8);box-shadow:0 0 2px rgba(204,0,0,.8)}.form-table .form-required.form-invalid td:after{content:'\f534';font:400 20px/1 dashicons;color:#dc3232;margin-left:-25px;vertical-align:middle}.form-table .form-required.user-pass1-wrap.form-invalid td:after{content:''}.form-table .form-required.user-pass1-wrap.form-invalid .password-input-wrapper:after{content:'\f534';font:400 20px/1 dashicons;color:#dc3232;margin:0 6px 0 -29px;vertical-align:middle}.form-input-tip{color:#666}input.disabled,input:disabled,select.disabled,select:disabled,textarea.disabled,textarea:disabled{background:rgba(255,255,255,.5);border-color:rgba(222,222,222,.75);-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.04);box-shadow:inset 0 1px 2px rgba(0,0,0,.04);color:rgba(51,51,51,.5)}input[type=file].disabled,input[type=file]:disabled,input[type=range].disabled,input[type=range]:disabled{background:0 0;-webkit-box-shadow:none;box-shadow:none}input[type=radio].disabled,input[type=radio].disabled:checked:before,input[type=radio]:disabled,input[type=radio]:disabled:checked:before,input[type=checkbox].disabled,input[type=checkbox].disabled:checked:before,input[type=checkbox]:disabled,input[type=checkbox]:disabled:checked:before{opacity:.7}.wp-admin select{padding:2px;line-height:28px;height:28px;vertical-align:middle}.wp-admin .button-cancel{padding:0 5px;line-height:2}.wp-admin select[multiple]{height:auto}.submit{padding:1.5em 0;margin:5px 0;-webkit-border-bottom-left-radius:3px;border-bottom-left-radius:3px;-webkit-border-bottom-right-radius:3px;border-bottom-right-radius:3px;border:none}form p.submit a.cancel:hover{text-decoration:none}p.submit{text-align:left;margin-top:20px;padding-top:10px}.textright p.submit{border:none;text-align:right}table.form-table+input+input+p.submit,table.form-table+input+p.submit,table.form-table+p.submit{border-top:none;padding-top:0}#major-publishing-actions input,#minor-publishing-actions .preview,#minor-publishing-actions input{text-align:center}input.all-options,textarea.all-options{width:250px}input.large-text,textarea.large-text{width:99%}input.regular-text{width:25em}input.small-text{width:50px;padding:1px 6px}input[type=number].small-text{width:65px}#doaction,#doaction2,#post-query-submit{margin:1px 8px 0 0}.tablenav #changeit,.tablenav #clear-recent-list,.tablenav #delete_all,.wp-filter #delete_all{margin-top:1px}.tablenav .actions select{float:left;margin-right:6px;max-width:200px}.ie8 .tablenav .actions select{width:155px}.ie8 .tablenav .actions select#cat{width:200px}#timezone_string option{margin-left:1em}#upload-form label{color:#777}button.wp-hide-pw>.dashicons{position:relative;top:3px}#your-profile label+a,fieldset label,label{vertical-align:middle}#misc-publishing-actions label,.options-media-php label[for*="_size_"]{vertical-align:baseline}#misc-publishing-actions label[for=post_status]:before{content:'\f173';display:inline-block;font:400 20px/1 dashicons;speak:none;left:-1px;padding:0 5px 0 0;position:relative;top:0;text-decoration:none!important;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#pass1-text,.pw-weak,.show-password #pass1{display:none}#pass-strength-result{background-color:#eee;border:1px solid #ddd;color:#23282d;margin:-2px 5px 5px 1px;padding:3px 5px;text-align:center;width:25em;box-sizing:border-box;opacity:0}#pass-strength-result,.color-option{-webkit-box-sizing:border-box;-moz-box-sizing:border-box}#pass-strength-result.short{background-color:#f1adad;border-color:#e35b5b;opacity:1}#pass-strength-result.bad{background-color:#fbc5a9;border-color:#f78b53;opacity:1}#pass-strength-result.good{background-color:#ffe399;border-color:#ffc733;opacity:1}#pass-strength-result.strong{background-color:#c1e1b9;border-color:#83c373;opacity:1}#pass1-text.short,#pass1.short{border-color:#e35b5b}#pass1-text.bad,#pass1.bad{border-color:#f78b53}#pass1-text.good,#pass1.good{border-color:#ffc733}#pass1-text.strong,#pass1.strong{border-color:#83c373}.indicator-hint{padding-top:8px}.show-password #pass1-text{display:inline-block}.form-table span.description.important{font-size:12px}p.search-box{float:right;margin:0}.network-admin.themes-php p.search-box{clear:left}.search-box input[name="s"],.tablenav .search-plugins input[name="s"],.tagsdiv .newtag{float:left;height:28px;margin:0 4px 0 0}input[type=text].ui-autocomplete-loading,input[type=email].ui-autocomplete-loading{background-image:url(../images/loading.gif);background-repeat:no-repeat;background-position:right center;visibility:visible}input.ui-autocomplete-input.open{border-bottom-color:transparent}ul#add-to-blog-users{margin:0 0 0 14px}.ui-autocomplete{padding:0;margin:0;list-style:none;position:absolute;z-index:10000;border:1px solid #5b9dd9;-webkit-box-shadow:0 1px 2px rgba(30,140,190,.8);box-shadow:0 1px 2px rgba(30,140,190,.8);background-color:#fff}.ui-autocomplete li{margin-bottom:0;padding:4px 10px;white-space:nowrap;text-align:left}.ui-autocomplete li.ui-state-focus{background-color:#ddd;cursor:pointer}.form-table{border-collapse:collapse;margin-top:.5em;width:100%;clear:both}.form-table,.form-table td,.form-table td p,.form-table th,.form-wrap label{font-size:14px}.form-table td{margin-bottom:9px;padding:15px 10px;line-height:1.3;vertical-align:middle}.form-table th,.form-wrap label{color:#23282d;font-weight:400;text-shadow:none;vertical-align:baseline}.form-table th{vertical-align:top;text-align:left;padding:20px 10px 20px 0;width:200px;line-height:1.3;font-weight:600}.form-table th.th-full{width:auto;font-weight:400}.form-table td p{margin-top:4px;margin-bottom:0}.form-table td fieldset label{margin:.25em 0 .5em!important;display:inline-block}.form-table td fieldset label,.form-table td fieldset li,.form-table td fieldset p{line-height:1.4em}.form-table input.tog,.form-table input[type=radio]{margin-top:-4px;margin-right:4px;float:none}.form-table .pre{padding:8px;margin:0}table.form-table td .updated{font-size:13px}table.form-table td .updated p{font-size:13px;margin:.3em 0}#profile-page .form-table textarea{width:500px;margin-bottom:6px}#profile-page .form-table #rich_editing{margin-right:5px}#your-profile legend{font-size:22px}#display_name{width:15em}#adduser .form-field input,#createuser .form-field input{width:25em}.color-option{display:inline-block;width:24%;padding:5px 15px 15px;box-sizing:border-box;margin-bottom:3px;cursor:pointer}.color-option.selected,.color-option:hover{background:#ddd}.color-palette{width:100%;border-spacing:0;border-collapse:collapse}.color-palette td{height:20px;padding:0;border:none}.tool-box .title{margin:8px 0;font-size:18px;font-weight:400;line-height:24px}.card{position:relative;margin-top:20px;padding:.7em 2em 1em;min-width:255px;max-width:520px;border:1px solid #e5e5e5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);background:#fff}.pressthis h4{margin:2em 0 1em}.pressthis textarea{width:100%;font-size:1em}.login form,.login h1 a{font-weight:400;overflow:hidden}.pressthis-bookmarklet-wrapper{margin:20px 0 8px;vertical-align:top;position:relative;z-index:1}.pressthis-bookmarklet,.pressthis-bookmarklet:active,.pressthis-bookmarklet:focus,.pressthis-bookmarklet:hover{display:inline-block;position:relative;cursor:move;color:#32373c;background:#e6e6e6;-webkit-border-radius:5px;border-radius:5px;border:1px solid #b4b4b4;font-style:normal;line-height:16px;font-size:14px;text-decoration:none}.pressthis-bookmarklet:active{outline:0}.pressthis-bookmarklet:after{content:'';width:70%;height:55%;z-index:-1;position:absolute;right:10px;bottom:9px;background:0 0;-webkit-transform:skew(20deg) rotate(6deg);-ms-transform:skew(20deg) rotate(6deg);transform:skew(20deg) rotate(6deg);-webkit-box-shadow:0 10px 8px rgba(0,0,0,.6);box-shadow:0 10px 8px rgba(0,0,0,.6)}.pressthis-bookmarklet:hover:after{-webkit-transform:skew(20deg) rotate(9deg);-ms-transform:skew(20deg) rotate(9deg);transform:skew(20deg) rotate(9deg);-webkit-box-shadow:0 10px 8px rgba(0,0,0,.7);box-shadow:0 10px 8px rgba(0,0,0,.7)}.pressthis-bookmarklet span{display:inline-block;margin:0;padding:0 12px 8px 9px}.pressthis-js-toggle,.pressthis-js-toggle.button.button{margin-left:10px;padding:0;height:auto;vertical-align:top}.pressthis-bookmarklet span:before{color:#777;font:400 20px/1 dashicons;content:'\f157';position:relative;display:inline-block;top:4px;margin-right:4px}.pressthis-js-toggle .dashicons{margin:5px 8px 6px 7px;color:#777}#local-time,#utc-time{padding-left:25px;font-style:italic}.defaultavatarpicker .avatar{margin:2px 0;vertical-align:middle}.options-general-php input.small-text{width:56px}.options-general-php .spinner{float:none;margin:0 3px}.options-general-php .language-install-spinner,.settings-php .language-install-spinner{display:inline-block;float:none;margin:-3px 5px 0;vertical-align:middle}.setup-php textarea{max-width:100%}.form-field #site-address{max-width:25em}.form-field #domain{max-width:22em}.form-field #admin-email,.form-field #blog_last_updated,.form-field #blog_registered,.form-field #path,.form-field #site-title{max-width:25em}.form-field #path{margin-bottom:5px}#search-sites,#search-users{max-width:100%}.request-filesystem-credentials-dialog{display:none}.request-filesystem-credentials-dialog .notification-dialog{top:15%;max-height:85%}.request-filesystem-credentials-dialog-content{margin:25px}.request-filesystem-credentials-form input[type=text],.request-filesystem-credentials-form input[type=password]{display:block}.request-filesystem-credentials-dialog input[type=text],.request-filesystem-credentials-dialog input[type=password]{width:100%}.request-filesystem-credentials-form .field-title{font-weight:600}.request-filesystem-credentials-dialog label[for=hostname],.request-filesystem-credentials-dialog label[for=public_key],.request-filesystem-credentials-dialog label[for=private_key]{display:block;margin-bottom:1em}.request-filesystem-credentials-dialog .ftp-password,.request-filesystem-credentials-dialog .ftp-username{float:left;width:48%}.request-filesystem-credentials-dialog .ftp-password{margin-left:4%}.request-filesystem-credentials-dialog .request-filesystem-credentials-action-buttons{text-align:right}#request-filesystem-credentials-dialog .button:not(:last-child),.request-filesystem-credentials-dialog label[for=ftp]{margin-right:10px}#request-filesystem-credentials-form .cancel-button{display:none}#request-filesystem-credentials-dialog .cancel-button{display:inline}@media screen and (max-width:782px){textarea{-webkit-appearance:none}input[type=text],input[type=search],input[type=password],input[type=email],input[type=number]{-webkit-appearance:none;padding:6px 10px}input.code{padding-bottom:5px;padding-top:10px}.widefat tfoot td input[type=checkbox],.widefat th input[type=checkbox],.widefat thead td input[type=checkbox],input[type=checkbox]{-webkit-appearance:none;padding:10px}.widefat tfoot td input[type=checkbox],.widefat th input[type=checkbox],.widefat thead td input[type=checkbox]{margin-bottom:8px}.widefat tfoot td input[type=checkbox]:before,.widefat th input[type=checkbox]:before,.widefat thead td input[type=checkbox]:before,input[type=checkbox]:checked:before{font:400 30px/1 Dashicons;margin:-3px -5px}input[type=radio],input[type=checkbox]{height:25px;width:25px}.wp-admin p input[type=radio],.wp-admin p input[type=checkbox]{margin-top:-3px}input[type=radio]:checked:before{vertical-align:middle;width:9px;height:9px;margin:7px;line-height:16px}.wp-upload-form input[type=submit]{margin-top:10px}#wpbody select{height:36px;font-size:16px}.wp-admin .button-cancel{padding:0;font-size:14px}#adduser .form-field input,#createuser .form-field input{width:100%}.form-table{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.form-table td,.form-table th{display:block;width:auto;vertical-align:middle}.form-table .color-palette td{display:table-cell;width:15px}.form-table table.color-palette{margin-right:10px}input,textarea{font-size:16px}#profile-page .form-table textarea,.form-table span.description,.form-table td input[type=text],.form-table td input[type=password],.form-table td input[type=email],.form-table td select,.form-table td textarea{width:100%;font-size:16px;line-height:1.5;padding:7px 10px;display:block;max-width:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.form-table .form-required.form-invalid td:after{float:right;margin:-30px 3px 0 0}#wpbody .form-table td select{height:40px}.form-table input[type=text].small-text,input[type=text].small-text,input[type=search].small-text,input[type=password].small-text,input[type=number].small-text{width:auto;max-width:55px;display:inline;padding:3px 6px;margin:0 3px}#pass-strength-result{width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:8px}p.search-box{float:none;position:absolute;bottom:0;width:98%;height:90px;margin-bottom:20px}p.search-box input[name="s"]{height:auto;float:none;width:100%;margin-bottom:10px;vertical-align:middle;-webkit-appearance:none}p.search-box input[type=submit]{margin-bottom:10px}.form-table span.description{display:inline;padding:4px 0 0;line-height:1.4em;font-size:14px}.form-table th{padding-top:10px;padding-bottom:0;border-bottom:0}.form-table td{margin-bottom:0;padding-bottom:6px;padding-top:4px;padding-left:0}.form-table.permalink-structure td code{margin-left:32px}.form-table.permalink-structure td input[type=text]{margin-left:32px;margin-top:4px;width:96%}.form-table input.regular-text{width:100%}.form-table label{font-size:14px}.form-table fieldset label{display:block}#utc-time{margin-top:10px}#local-time,#utc-time{display:block;float:none;padding:0;line-height:2}.form-field #domain{max-width:none}.wp-pwd{position:relative}.wp-pwd [type=text],.wp-pwd [type=password]{padding-right:40px}.wp-pwd button.button{background:0 0;border:none;-webkit-box-shadow:none;box-shadow:none;line-height:2;margin:0;padding:5px 10px;position:absolute;right:0;top:0}.wp-pwd button.button:active,.wp-pwd button.button:focus,.wp-pwd button.button:hover{background:0 0}.wp-pwd .button .text{display:none}}body,html{background:#f1f1f1}.locale-he-il em,.locale-zh-cn #local-time,.locale-zh-cn #utc-time,.locale-zh-cn .form-wrap p,.locale-zh-cn .howto,.locale-zh-cn .inline-edit-row fieldset span.checkbox-title,.locale-zh-cn .inline-edit-row fieldset span.title,.locale-zh-cn .js .input-with-default-title,.locale-zh-cn .link-to-original,.locale-zh-cn .tablenav .displaying-num,.locale-zh-cn p.description,.locale-zh-cn p.help,.locale-zh-cn p.install-help,.locale-zh-cn span.description{font-style:normal}@media only screen and (max-width:768px){.form-field input[type=text],.form-field input[type=password],.form-field input[type=email],.form-field select,.form-field textarea{width:99%}.form-wrap .form-field{padding:0}#profile-page .form-table textarea{max-width:400px;width:auto}}.locale-de-de #customize-header-actions .button,.locale-de-de-formal #customize-header-actions .button,.locale-ru-ru #customize-header-actions .button{padding:0 5px 1px}@media only screen and (max-height:480px){.request-filesystem-credentials-dialog .notification-dialog{width:100%;height:100%;max-height:100%;position:fixed;top:0;margin:0;left:0}}@media screen and (max-width:600px){.color-option{width:49%}}body.rtl,body.rtl .press-this a.wp-switch-editor{font-family:Tahoma,Arial,sans-serif}.rtl h1,.rtl h2,.rtl h3,.rtl h4,.rtl h5,.rtl h6{font-family:Arial,sans-serif;font-weight:700}body.locale-he-il,body.locale-he-il .press-this a.wp-switch-editor{font-family:Arial,sans-serif}.locale-he-il em{font-weight:700}.locale-zh-cn .hdnle a{font-size:12px}.locale-zh-cn form.upgrade .hint{font-style:normal;font-size:100%}.locale-zh-cn #sort-buttons{font-size:1em!important}.locale-de-de #customize-header-actions .spinner,.locale-de-de-formal #customize-header-actions .spinner{margin:16px 3px 0}.locale-ru-ru .inline-edit-row fieldset label span.title,.locale-ru-ru .inline-edit-row fieldset.inline-edit-date legend{width:8em}.locale-ru-ru .inline-edit-row fieldset .timestamp-wrap,.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap{margin-left:8em}.locale-ru-ru.post-new-php .tagsdiv .newtag,.locale-ru-ru.post-php .tagsdiv .newtag{width:165px}.locale-ru-ru.press-this .posting{margin-right:277px}.locale-ru-ru .press-this-sidebar{width:265px}.locale-ru-ru #customize-header-actions .spinner{margin:16px 3px 0}.locale-lt-lt .inline-edit-row fieldset label span.title,.locale-lt-lt .inline-edit-row fieldset.inline-edit-date legend{width:8em}.locale-lt-lt .inline-edit-row fieldset .timestamp-wrap,.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap{margin-left:8em}@media screen and (max-width:782px){.locale-lt-lt .inline-edit-row fieldset .timestamp-wrap,.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap,.locale-ru-ru .inline-edit-row fieldset .timestamp-wrap,.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap{margin-left:0}}body,html{height:100%;margin:0;padding:0}body{min-width:0;color:#444;font-family:"Open Sans",sans-serif;font-size:13px;line-height:1.4em}a{color:#0073aa;-webkit-transition-property:border,background,color;transition-property:border,background,color;-webkit-transition-duration:.05s;transition-duration:.05s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;outline:0}a:active,a:hover{color:#00a0d2}a:focus{color:#124964;-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.ie8 a:focus{outline:#5b9dd9 solid 1px}p{line-height:1.5}.login .message{border-left:4px solid #00a0d2;background-color:#fff;box-shadow:0 1px 1px 0 rgba(0,0,0,.1)}.login #login_error,.login .message{-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1)}.login #login_error{border-left:4px solid #dd3d36;background:#fff;box-shadow:0 1px 1px 0 rgba(0,0,0,.1)}#loginform p.submit,.login-action-lostpassword p.submit{border:none;margin:-10px 0 20px}.login *{margin:0;padding:0}.login form{margin-top:20px;margin-left:0;padding:26px 24px 46px;background:#fff;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.13);box-shadow:0 1px 3px rgba(0,0,0,.13)}.login form .forgetmenot{font-weight:400;float:left;margin-bottom:0}.login .button-primary{float:right}#login form p{margin-bottom:0}#login form p.submit{margin:0;padding:0}.login label{color:#777;font-size:14px}.login #backtoblog a,.login #nav a,.login h1 a{text-decoration:none;color:#999}.login form .forgetmenot label{font-size:12px;line-height:19px}.login h1{text-align:center}.login h1 a{background-image:url(../images/w-logo-blue.png?ver=20131202);background-image:none,url(../images/wordpress-logo.svg?ver=20131107);-webkit-background-size:84px;background-size:84px;background-position:center top;background-repeat:no-repeat;height:84px;font-size:20px;line-height:1.3em;margin:0 auto 25px;padding:0;width:84px;text-indent:-9999px;outline:0;display:block}#login{width:320px;padding:8% 0 0;margin:auto}#login_error,.login .message{margin-left:0;padding:12px}.login #backtoblog,.login #nav{font-size:13px;padding:0 24px}.login #nav{margin:24px 0 0}#backtoblog{margin:16px 0 0}.login #backtoblog a:hover,.login #nav a:hover,.login h1 a:hover{color:#00a0d2}.login #backtoblog a:focus,.login #nav a:focus,.login h1 a:focus{color:#124964}.login form .input,.login input[type=text]{font-size:24px;width:100%;padding:3px;margin:2px 6px 16px 0}.login form .input,.login form input[type=checkbox],.login input[type=text]{background:#fbfbfb}.ie7 .login form .input,.ie8 .login form .input{font-family:sans-serif}.login-action-rp input[type=text]{-webkit-box-shadow:none;box-shadow:none;margin:0}.login #pass-strength-result{font-weight:600;margin:-1px 5px 16px 0;padding:6px 5px;text-align:center;width:100%}.mobile #login{padding:20px 0}.mobile #login .message,.mobile #login form,.mobile #login_error{margin-left:0}.mobile #login #backtoblog,.mobile #login #nav{margin-left:8px}body.interim-login{height:auto}.interim-login #login{padding:0;margin:5px auto 20px}.interim-login.login h1 a{width:auto}.interim-login #login_error,.interim-login.login .message{margin:0 0 16px}.interim-login.login form{margin:0}@-ms-viewport{width:device-width}@media screen and (max-width:782px){.interim-login input[type=checkbox]{height:16px;width:16px}.interim-login input[type=checkbox]:checked:before{width:16px;font:400 21px/1 dashicons;margin:-3px 0 0 -4px}} \ No newline at end of file +#pass-strength-result,input,textarea{-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.meta-box-sortables select,p.submit{max-width:100%}#your-profile label+a,.wp-admin select,fieldset label,label{vertical-align:middle}#pressthis-code-wrap,textarea{overflow:auto}input,textarea{box-sizing:border-box}input[type=text],input[type=search],input[type=radio],input[type=tel],input[type=time],input[type=url],input[type=week],input[type=password],input[type=checkbox],input[type=color],input[type=date],input[type=datetime],input[type=datetime-local],input[type=email],input[type=month],input[type=number],select,textarea{border:1px solid #ddd;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.07);box-shadow:inset 0 1px 2px rgba(0,0,0,.07);background-color:#fff;color:#32373c;outline:0;-webkit-transition:50ms border-color ease-in-out;transition:50ms border-color ease-in-out}input[type=text]:focus,input[type=search]:focus,input[type=radio]:focus,input[type=tel]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,input[type=password]:focus,input[type=checkbox]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime]:focus,input[type=datetime-local]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,select:focus,textarea:focus{border-color:#5b9dd9;-webkit-box-shadow:0 0 2px rgba(30,140,190,.8);box-shadow:0 0 2px rgba(30,140,190,.8)}input[type=url],input[type=email]{direction:ltr}input[type=number]{line-height:inherit}input[type=radio],input[type=checkbox]{border:1px solid #b4b9be;background:#fff;color:#555;clear:none;cursor:pointer;display:inline-block;line-height:0;height:16px;margin:-4px 4px 0 0;outline:0;padding:0!important;text-align:center;vertical-align:middle;width:16px;min-width:16px;-webkit-appearance:none;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1);-webkit-transition:.05s border-color ease-in-out;transition:.05s border-color ease-in-out}input[type=radio]:checked+label:before{color:#82878c}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#00a0d2}.wp-admin p input[type=radio],.wp-admin p input[type=checkbox],td>input[type=checkbox]{margin-top:0}.wp-admin p label input[type=checkbox]{margin-top:-4px}.wp-admin p label input[type=radio]{margin-top:-2px}input[type=radio]{-webkit-border-radius:50%;border-radius:50%;margin-right:4px;line-height:10px}input[type=radio]:checked:before,input[type=checkbox]:checked:before{float:left;display:inline-block;vertical-align:middle;width:16px;font:400 21px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}input[type=checkbox]:checked:before{content:"\f147";margin:-3px 0 0 -4px;color:#1e8cbe}input[type=radio]:checked:before{content:"\2022";text-indent:-9999px;-webkit-border-radius:50px;border-radius:50px;font-size:24px;width:6px;height:6px;margin:4px;line-height:16px;background-color:#1e8cbe}@-moz-document url-prefix(){.form-table input.tog,input[type=radio],input[type=checkbox]{margin-bottom:-1px}}input[type=search]{-webkit-appearance:textfield}input[type=search]::-webkit-search-decoration{display:none}.ie8 input[type=password]{font-family:sans-serif}button,input,select,textarea{font-family:inherit;font-size:inherit;font-weight:inherit}input,select,textarea{font-size:14px;-webkit-border-radius:0;border-radius:0}textarea{padding:2px 6px;line-height:1.4;resize:vertical}.wp-admin input[type=file]{padding:3px 0}label{cursor:pointer}input,select{margin:1px;padding:3px 5px}input.code{padding-top:6px}textarea.code{line-height:1.4;padding:4px 6px 1px}input.readonly,input[readonly],textarea.readonly,textarea[readonly]{background-color:#eee}.wp-core-ui :-moz-placeholder,:-moz-placeholder{color:#a9a9a9}.form-invalid input,.form-invalid input:focus,.form-invalid select,.form-invalid select:focus{border-color:#dc3232!important;-webkit-box-shadow:0 0 2px rgba(204,0,0,.8);box-shadow:0 0 2px rgba(204,0,0,.8)}.form-table .form-required.form-invalid td:after{content:"\f534";font:400 20px/1 dashicons;color:#dc3232;margin-left:-25px;vertical-align:middle}.form-table .form-required.user-pass1-wrap.form-invalid td:after{content:''}.form-table .form-required.user-pass1-wrap.form-invalid .password-input-wrapper:after{content:'\f534';font:400 20px/1 dashicons;color:#dc3232;margin:0 6px 0 -29px;vertical-align:middle}.form-input-tip{color:#666}input.disabled,input:disabled,select.disabled,select:disabled,textarea.disabled,textarea:disabled{background:rgba(255,255,255,.5);border-color:rgba(222,222,222,.75);-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.04);box-shadow:inset 0 1px 2px rgba(0,0,0,.04);color:rgba(51,51,51,.5)}input[type=file].disabled,input[type=file]:disabled,input[type=range].disabled,input[type=range]:disabled{background:0 0;-webkit-box-shadow:none;box-shadow:none}input[type=radio].disabled,input[type=radio].disabled:checked:before,input[type=radio]:disabled,input[type=radio]:disabled:checked:before,input[type=checkbox].disabled,input[type=checkbox].disabled:checked:before,input[type=checkbox]:disabled,input[type=checkbox]:disabled:checked:before{opacity:.7}.wp-admin select{padding:2px;line-height:28px;height:28px}.wp-admin .button-cancel{padding:0 5px;line-height:2}.wp-admin select[multiple]{height:auto}.submit{padding:1.5em 0;margin:5px 0;-webkit-border-bottom-left-radius:3px;border-bottom-left-radius:3px;-webkit-border-bottom-right-radius:3px;border-bottom-right-radius:3px;border:none}form p.submit a.cancel:hover{text-decoration:none}p.submit{text-align:left;margin-top:20px;padding-top:10px}.textright p.submit{border:none;text-align:right}#major-publishing-actions input,#minor-publishing-actions .preview,#minor-publishing-actions input,#pass-strength-result,.login h1{text-align:center}table.form-table+input+input+p.submit,table.form-table+input+p.submit,table.form-table+p.submit{border-top:none;padding-top:0}input.all-options,textarea.all-options{width:250px}input.large-text,textarea.large-text{width:99%}input.regular-text{width:25em}input.small-text{width:50px;padding:1px 6px}input[type=number].small-text{width:65px}input.tiny-text{width:35px}input[type=number].tiny-text{width:45px}#doaction,#doaction2,#post-query-submit{margin:1px 8px 0 0}.tablenav #changeit,.tablenav #clear-recent-list,.tablenav #delete_all,.wp-filter #delete_all{margin-top:1px}.tablenav .actions select{float:left;margin-right:6px;max-width:200px}.ie8 .tablenav .actions select{width:155px}.ie8 .tablenav .actions select#cat{width:200px}#timezone_string option{margin-left:1em}#upload-form label{color:#777}button.wp-hide-pw>.dashicons{position:relative;top:3px}#misc-publishing-actions label,.options-media-php label[for*="_size_"]{vertical-align:baseline}#misc-publishing-actions label[for=post_status]:before{content:"\f173";display:inline-block;font:400 20px/1 dashicons;speak:none;left:-1px;padding:0 5px 0 0;position:relative;top:0;text-decoration:none!important;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#pass1-text,.pw-weak,.show-password #pass1{display:none}#pass-strength-result{background-color:#eee;border:1px solid #ddd;color:#23282d;margin:-2px 5px 5px 1px;padding:3px 5px;width:25em;box-sizing:border-box;opacity:0}#pass-strength-result.short{background-color:#f1adad;border-color:#e35b5b;opacity:1}#pass-strength-result.bad{background-color:#fbc5a9;border-color:#f78b53;opacity:1}#pass-strength-result.good{background-color:#ffe399;border-color:#ffc733;opacity:1}#pass-strength-result.strong{background-color:#c1e1b9;border-color:#83c373;opacity:1}#pass1-text.short,#pass1.short{border-color:#e35b5b}#pass1-text.bad,#pass1.bad{border-color:#f78b53}#pass1-text.good,#pass1.good{border-color:#ffc733}#pass1-text.strong,#pass1.strong{border-color:#83c373}.indicator-hint{padding-top:8px}.show-password #pass1-text{display:inline-block}.form-table span.description.important{font-size:12px}p.search-box{float:right;margin:0}.network-admin.themes-php p.search-box{clear:left}.search-box input[name="s"],.tablenav .search-plugins input[name="s"],.tagsdiv .newtag{float:left;height:28px;margin:0 4px 0 0}input[type=text].ui-autocomplete-loading,input[type=email].ui-autocomplete-loading{background-image:url(../images/loading.gif);background-repeat:no-repeat;background-position:right center;visibility:visible}input.ui-autocomplete-input.open{border-bottom-color:transparent}ul#add-to-blog-users{margin:0 0 0 14px}.ui-autocomplete{padding:0;margin:0;list-style:none;position:absolute;z-index:10000;border:1px solid #5b9dd9;-webkit-box-shadow:0 1px 2px rgba(30,140,190,.8);box-shadow:0 1px 2px rgba(30,140,190,.8);background-color:#fff}.ui-autocomplete li{margin-bottom:0;padding:4px 10px;white-space:nowrap;text-align:left}.ui-autocomplete li.ui-state-focus{background-color:#ddd;cursor:pointer}.form-table{border-collapse:collapse;margin-top:.5em;width:100%;clear:both}.form-table,.form-table td,.form-table td p,.form-table th,.form-wrap label{font-size:14px}.form-table td{margin-bottom:9px;padding:15px 10px;line-height:1.3;vertical-align:middle}.form-table th,.form-wrap label{color:#23282d;font-weight:400;text-shadow:none;vertical-align:baseline}.form-table th{vertical-align:top;text-align:left;padding:20px 10px 20px 0;width:200px;line-height:1.3;font-weight:600}.form-table th.th-full{width:auto;font-weight:400}.form-table td p{margin-top:4px;margin-bottom:0}.form-table td fieldset label{margin:.25em 0 .5em!important;display:inline-block}.form-table td fieldset label,.form-table td fieldset li,.form-table td fieldset p{line-height:1.4em}.form-table input.tog,.form-table input[type=radio]{margin-top:-4px;margin-right:4px;float:none}.form-table .pre{padding:8px;margin:0}table.form-table td .updated{font-size:13px}table.form-table td .updated p{font-size:13px;margin:.3em 0}#profile-page .form-table textarea{width:500px;margin-bottom:6px}#profile-page .form-table #rich_editing{margin-right:5px}#your-profile legend{font-size:22px}#display_name{width:15em}#adduser .form-field input,#createuser .form-field input{width:25em}.color-option{display:inline-block;width:24%;padding:5px 15px 15px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin-bottom:3px;cursor:pointer}.color-option.selected,.color-option:hover{background:#ddd}.color-palette{width:100%;border-spacing:0;border-collapse:collapse}.color-palette td{height:20px;padding:0;border:none}.tool-box .title{margin:8px 0;font-size:18px;font-weight:400;line-height:24px}.label-responsive{vertical-align:middle}#export-filters p{margin:0 0 1em}#export-filters p.submit{margin:7px 0 5px}.card{position:relative;margin-top:20px;padding:.7em 2em 1em;min-width:255px;max-width:520px;border:1px solid #e5e5e5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);background:#fff}.pressthis h4{margin:2em 0 1em}.pressthis textarea{width:100%;font-size:1em}.login form,.login h1 a{overflow:hidden;font-weight:400}.pressthis-bookmarklet-wrapper{margin:20px 0 8px;vertical-align:top;position:relative;z-index:1}.pressthis-bookmarklet,.pressthis-bookmarklet:active,.pressthis-bookmarklet:focus,.pressthis-bookmarklet:hover{display:inline-block;position:relative;cursor:move;color:#32373c;background:#e6e6e6;-webkit-border-radius:5px;border-radius:5px;border:1px solid #b4b4b4;font-style:normal;line-height:16px;font-size:14px;text-decoration:none}.pressthis-bookmarklet:active{outline:0}.pressthis-bookmarklet:after{content:"";width:70%;height:55%;z-index:-1;position:absolute;right:10px;bottom:9px;background:0 0;-webkit-transform:skew(20deg) rotate(6deg);-ms-transform:skew(20deg) rotate(6deg);transform:skew(20deg) rotate(6deg);-webkit-box-shadow:0 10px 8px rgba(0,0,0,.6);box-shadow:0 10px 8px rgba(0,0,0,.6)}.pressthis-bookmarklet:hover:after{-webkit-transform:skew(20deg) rotate(9deg);-ms-transform:skew(20deg) rotate(9deg);transform:skew(20deg) rotate(9deg);-webkit-box-shadow:0 10px 8px rgba(0,0,0,.7);box-shadow:0 10px 8px rgba(0,0,0,.7)}.pressthis-bookmarklet span{display:inline-block;margin:0;padding:0 12px 8px 9px}.pressthis-js-toggle,.pressthis-js-toggle.button.button{margin-left:10px;padding:0;height:auto;vertical-align:top}.pressthis-bookmarklet span:before{color:#777;font:400 20px/1 dashicons;content:"\f157";position:relative;display:inline-block;top:4px;margin-right:4px}.pressthis-js-toggle .dashicons{margin:5px 8px 6px 7px;color:#777}#local-time,#utc-time{padding-left:25px;font-style:italic}.defaultavatarpicker .avatar{margin:2px 0;vertical-align:middle}.options-general-php input.small-text{width:56px}.options-general-php .spinner{float:none;margin:0 3px}.options-general-php .language-install-spinner,.settings-php .language-install-spinner{display:inline-block;float:none;margin:-3px 5px 0;vertical-align:middle}.setup-php textarea{max-width:100%}.form-field #site-address{max-width:25em}.form-field #domain{max-width:22em}.form-field #admin-email,.form-field #blog_last_updated,.form-field #blog_registered,.form-field #path,.form-field #site-title{max-width:25em}.form-field #path{margin-bottom:5px}#search-sites,#search-users{max-width:100%}.request-filesystem-credentials-dialog{display:none}.request-filesystem-credentials-dialog .notification-dialog{top:15%;max-height:85%}.request-filesystem-credentials-dialog-content{margin:25px}#request-filesystem-credentials-title{font-size:1.3em;margin:1em 0}.request-filesystem-credentials-form legend{font-size:1em;padding:1.33em 0;font-weight:600}.request-filesystem-credentials-form input[type=text],.request-filesystem-credentials-form input[type=password]{display:block}.request-filesystem-credentials-dialog input[type=text],.request-filesystem-credentials-dialog input[type=password]{width:100%}.request-filesystem-credentials-form .field-title{font-weight:600}.request-filesystem-credentials-dialog label[for=hostname],.request-filesystem-credentials-dialog label[for=public_key],.request-filesystem-credentials-dialog label[for=private_key]{display:block;margin-bottom:1em}.request-filesystem-credentials-dialog .ftp-password,.request-filesystem-credentials-dialog .ftp-username{float:left;width:48%}.request-filesystem-credentials-dialog .ftp-password{margin-left:4%}.request-filesystem-credentials-dialog .request-filesystem-credentials-action-buttons{text-align:right}.request-filesystem-credentials-dialog label[for=ftp]{margin-right:10px}#request-filesystem-credentials-dialog .button:not(:last-child){margin-right:10px}#request-filesystem-credentials-form .cancel-button{display:none}#request-filesystem-credentials-dialog .cancel-button{display:inline}@media screen and (max-width:782px){textarea{-webkit-appearance:none}input[type=text],input[type=search],input[type=password],input[type=email],input[type=number]{-webkit-appearance:none;padding:6px 10px}input.code{padding-bottom:5px;padding-top:10px}.widefat tfoot td input[type=checkbox],.widefat th input[type=checkbox],.widefat thead td input[type=checkbox],input[type=checkbox]{-webkit-appearance:none;padding:10px}.widefat tfoot td input[type=checkbox],.widefat th input[type=checkbox],.widefat thead td input[type=checkbox]{margin-bottom:8px}.widefat tfoot td input[type=checkbox]:before,.widefat th input[type=checkbox]:before,.widefat thead td input[type=checkbox]:before,input[type=checkbox]:checked:before{font:400 30px/1 dashicons;margin:-3px -5px}input[type=radio],input[type=checkbox]{height:25px;width:25px}.wp-admin p input[type=radio],.wp-admin p input[type=checkbox]{margin-top:-3px}input[type=radio]:checked:before{vertical-align:middle;width:9px;height:9px;margin:7px;line-height:16px}.wp-upload-form input[type=submit]{margin-top:10px}#wpbody select{height:36px;font-size:16px}.wp-admin .button-cancel{padding:0;font-size:14px}#adduser .form-field input,#createuser .form-field input{width:100%}.form-table{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.form-table td,.form-table th,.label-responsive{display:block;width:auto;vertical-align:middle}.label-responsive{margin:.5em 0}.export-filters li{margin-bottom:0}.form-table .color-palette td{display:table-cell;width:15px}.form-table table.color-palette{margin-right:10px}input,textarea{font-size:16px}#profile-page .form-table textarea,.form-table span.description,.form-table td input[type=text],.form-table td input[type=password],.form-table td input[type=email],.form-table td select,.form-table td textarea{width:100%;font-size:16px;line-height:1.5;padding:7px 10px;display:block;max-width:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.form-table .form-required.form-invalid td:after{float:right;margin:-30px 3px 0 0}#wpbody .form-table td select{height:40px}.form-table input[type=text].small-text,input[type=text].small-text,input[type=search].small-text,input[type=password].small-text,input[type=number].small-text{width:auto;max-width:55px;display:inline;padding:3px 6px;margin:0 3px}#pass-strength-result{width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:8px}p.search-box{float:none;position:absolute;bottom:0;width:98%;height:90px;margin-bottom:20px}p.search-box input[name="s"]{height:auto;float:none;width:100%;margin-bottom:10px;vertical-align:middle;-webkit-appearance:none}p.search-box input[type=submit]{margin-bottom:10px}.form-table span.description{display:inline;padding:4px 0 0;line-height:1.4em;font-size:14px}.form-table th{padding-top:10px;padding-bottom:0;border-bottom:0}.form-table td{margin-bottom:0;padding-bottom:6px;padding-top:4px;padding-left:0}.form-table.permalink-structure td code{margin-left:32px}.form-table.permalink-structure td input[type=text]{margin-left:32px;margin-top:4px;width:96%}.form-table input.regular-text{width:100%}.form-table label{font-size:14px}.form-table fieldset label{display:block}#utc-time{margin-top:10px}#local-time,#utc-time{display:block;float:none;padding:0;line-height:2}.form-field #domain{max-width:none}.wp-pwd{position:relative}.wp-pwd [type=text],.wp-pwd [type=password]{padding-right:40px}.wp-pwd button.button{background:0 0;border:none;-webkit-box-shadow:none;box-shadow:none;line-height:2;margin:0;padding:5px 10px;position:absolute;right:0;top:0}.wp-pwd button.button:active,.wp-pwd button.button:focus,.wp-pwd button.button:hover{background:0 0}.wp-pwd .button .text{display:none}}.locale-he-il em,.locale-zh-cn #local-time,.locale-zh-cn #utc-time,.locale-zh-cn .form-wrap p,.locale-zh-cn .howto,.locale-zh-cn .inline-edit-row fieldset span.checkbox-title,.locale-zh-cn .inline-edit-row fieldset span.title,.locale-zh-cn .js .input-with-default-title,.locale-zh-cn .link-to-original,.locale-zh-cn .tablenav .displaying-num,.locale-zh-cn p.description,.locale-zh-cn p.help,.locale-zh-cn p.install-help,.locale-zh-cn span.description{font-style:normal}body,html{background:#f1f1f1}@media only screen and (max-width:768px){.form-field input[type=text],.form-field input[type=password],.form-field input[type=email],.form-field select,.form-field textarea{width:99%}.form-wrap .form-field{padding:0}#profile-page .form-table textarea{max-width:400px;width:auto}}.locale-de-de #customize-header-actions .button,.locale-de-de-formal #customize-header-actions .button,.locale-ru-ru #customize-header-actions .button{padding:0 5px 1px}@media only screen and (max-height:480px){.request-filesystem-credentials-dialog .notification-dialog{width:100%;height:100%;max-height:100%;position:fixed;top:0;margin:0;left:0}}@media screen and (max-width:600px){.color-option{width:49%}}body.rtl,body.rtl .press-this a.wp-switch-editor{font-family:Tahoma,Arial,sans-serif}.rtl h1,.rtl h2,.rtl h3,.rtl h4,.rtl h5,.rtl h6{font-family:Arial,sans-serif;font-weight:700}body.locale-he-il,body.locale-he-il .press-this a.wp-switch-editor{font-family:Arial,sans-serif}.locale-he-il em{font-weight:700}.locale-zh-cn .hdnle a{font-size:12px}.locale-zh-cn form.upgrade .hint{font-style:normal;font-size:100%}.locale-zh-cn #sort-buttons{font-size:1em!important}.locale-de-de #customize-header-actions .spinner,.locale-de-de-formal #customize-header-actions .spinner{margin:16px 3px 0}.locale-ru-ru #adminmenu{width:inherit}.locale-ru-ru #adminmenu,.locale-ru-ru #wpbody{margin-left:0}.locale-ru-ru .inline-edit-row fieldset label span.title,.locale-ru-ru .inline-edit-row fieldset.inline-edit-date legend{width:8em}.locale-ru-ru .inline-edit-row fieldset .timestamp-wrap,.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap{margin-left:8em}.locale-ru-ru.post-new-php .tagsdiv .newtag,.locale-ru-ru.post-php .tagsdiv .newtag{width:165px}.locale-ru-ru.press-this .posting{margin-right:277px}.locale-ru-ru .press-this-sidebar{width:265px}.locale-ru-ru #customize-header-actions .spinner{margin:16px 3px 0}.locale-lt-lt .inline-edit-row fieldset label span.title,.locale-lt-lt .inline-edit-row fieldset.inline-edit-date legend{width:8em}.locale-lt-lt .inline-edit-row fieldset .timestamp-wrap,.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap{margin-left:8em}@media screen and (max-width:782px){.locale-lt-lt .inline-edit-row fieldset .timestamp-wrap,.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap,.locale-ru-ru .inline-edit-row fieldset .timestamp-wrap,.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap{margin-left:0}}body,html{height:100%;margin:0;padding:0}body{min-width:0;color:#444;font-family:"Open Sans",sans-serif;font-size:13px;line-height:1.4em}a{color:#0073aa;-webkit-transition-property:border,background,color;transition-property:border,background,color;-webkit-transition-duration:.05s;transition-duration:.05s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;outline:0}a:active,a:hover{color:#00a0d2}a:focus{color:#124964;-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.ie8 a:focus{outline:#5b9dd9 solid 1px}p{line-height:1.5}.login #login_error,.login .message{border-left:4px solid #00a0d2;padding:12px;margin-left:0;background-color:#fff;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1)}.login #login_error{border-left-color:#dc3232}#loginform p.submit,.login-action-lostpassword p.submit{border:none;margin:-10px 0 20px}.login *{margin:0;padding:0}.login form{margin-top:20px;margin-left:0;padding:26px 24px 46px;background:#fff;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.13);box-shadow:0 1px 3px rgba(0,0,0,.13)}.login form .forgetmenot{font-weight:400;float:left;margin-bottom:0}.login .button-primary{float:right}#login form p{margin-bottom:0}#login form p.submit{margin:0;padding:0}.login label{color:#777;font-size:14px}.login #backtoblog a,.login #nav a,.login h1 a{text-decoration:none;color:#999}.login form .forgetmenot label{font-size:12px;line-height:19px}.login h1 a{background-image:url(../images/w-logo-blue.png?ver=20131202);background-image:none,url(../images/wordpress-logo.svg?ver=20131107);-webkit-background-size:84px;background-size:84px;background-position:center top;background-repeat:no-repeat;height:84px;font-size:20px;line-height:1.3em;margin:0 auto 25px;padding:0;width:84px;text-indent:-9999px;outline:0;display:block}#login{width:320px;padding:8% 0 0;margin:auto}.login #backtoblog,.login #nav{font-size:13px;padding:0 24px}.login #nav{margin:24px 0 0}#backtoblog{margin:16px 0}.login #backtoblog a:hover,.login #nav a:hover,.login h1 a:hover{color:#00a0d2}.login #backtoblog a:focus,.login #nav a:focus,.login h1 a:focus{color:#124964}.login form .input,.login input[type=text]{font-size:24px;width:100%;padding:3px;margin:2px 6px 16px 0}.login form .input,.login form input[type=checkbox],.login input[type=text]{background:#fbfbfb}.ie7 .login form .input,.ie8 .login form .input{font-family:sans-serif}.login-action-rp input[type=text]{-webkit-box-shadow:none;box-shadow:none;margin:0}.login #pass-strength-result{font-weight:600;margin:-1px 5px 16px 0;padding:6px 5px;text-align:center;width:100%}.mobile #login{padding:20px 0}.mobile #login form{margin-left:0}.mobile #login #backtoblog,.mobile #login #nav{margin-left:8px}body.interim-login{height:auto}.interim-login #login{padding:0;margin:5px auto 20px}.interim-login.login h1 a{width:auto}.interim-login #login_error,.interim-login.login .message{margin:0 0 16px}.interim-login.login form{margin:0}@-ms-viewport{width:device-width}@media screen and (max-width:782px){.interim-login input[type=checkbox]{height:16px;width:16px}.interim-login input[type=checkbox]:checked:before{width:16px;font:400 21px/1 dashicons;margin:-3px 0 0 -4px}} \ No newline at end of file diff --git a/wp-admin/css/media-rtl.css b/wp-admin/css/media-rtl.css index 20c69fc..18217dd 100644 --- a/wp-admin/css/media-rtl.css +++ b/wp-admin/css/media-rtl.css @@ -315,12 +315,12 @@ } #find-posts-close:before { - font: normal 20px/36px 'dashicons'; + font: normal 20px/36px dashicons; vertical-align: top; speak: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; - content: '\f158'; + content: "\f158"; } .find-box-buttons { @@ -384,8 +384,6 @@ form.upgrade .hint { border: 1px solid #ddd; line-height: 1.8em; word-spacing: 3px; - -webkit-border-radius: 6px; - border-radius: 6px; } .drag-drop #drag-drop-area { @@ -502,7 +500,8 @@ border color while dragging a file over the uploader drop area */ color: #c00; } -.upload-php .mode-grid .media-sidebar .media-uploader-status.errors h3 { +.upload-php .mode-grid .media-sidebar .media-uploader-status.errors h3, /* Back-compat for pre-4.4 */ +.upload-php .mode-grid .media-sidebar .media-uploader-status.errors h2 { display: none; } @@ -633,7 +632,7 @@ border color while dragging a file over the uploader drop area */ } .upload-php .media-modal-close .media-modal-icon:before { - content: '\f335'; + content: "\f335"; font-size: 22px; } @@ -674,7 +673,7 @@ border color while dragging a file over the uploader drop area */ .edit-attachment-frame .edit-media-header .right:before, .edit-attachment-frame .edit-media-header .left:before { - font: normal 20px/50px 'dashicons' !important; + font: normal 20px/50px dashicons !important; display: inline; font-weight: 300; } @@ -700,12 +699,12 @@ border color while dragging a file over the uploader drop area */ .edit-attachment-frame .edit-media-header .left:before, .rtl .edit-attachment-frame .edit-media-header .right:before { - content: '\f341'; + content: "\f345"; } .edit-attachment-frame .edit-media-header .right:before, .rtl .edit-attachment-frame .edit-media-header .left:before { - content: '\f345'; + content: "\f341"; } .edit-attachment-frame .edit-media-header .left.disabled, @@ -935,7 +934,7 @@ border color while dragging a file over the uploader drop area */ } .imgedit-menu div:before { - font: normal 20px/1 'dashicons'; + font: normal 20px/1 dashicons; speak: none; vertical-align: middle; } @@ -956,31 +955,31 @@ border color while dragging a file over the uploader drop area */ } .imgedit-crop:before { - content:'\f165'; + content: "\f165"; } .imgedit-rleft:before { - content:'\f166'; + content: "\f166"; } .imgedit-rright:before { - content:'\f167'; + content: "\f167"; } .imgedit-flipv:before { - content:'\f168'; + content: "\f168"; } .imgedit-fliph:before { - content:'\f169'; + content: "\f169"; } .imgedit-undo:before { - content:'\f171'; + content: "\f171"; } .imgedit-redo:before { - content:'\f172'; + content: "\f172"; } .imgedit-crop-wrap { @@ -1019,11 +1018,16 @@ border color while dragging a file over the uploader drop area */ margin: 0 0 0 8px; } -#poststuff .imgedit-group-top h3 { +#poststuff .imgedit-group-top h3, /* Back-compat for pre-4.4 */ +#poststuff .imgedit-group-top h2 { + margin: 0; padding: 0; + font-size: 14px; + line-height: 1.4; } -.imgedit-group-top h3 a { +.imgedit-group-top h3 a, /* Back-compat for pre-4.4 */ +.imgedit-group-top h2 a { text-decoration: none; } diff --git a/wp-admin/css/media.css b/wp-admin/css/media.css index 2791654..4893757 100644 --- a/wp-admin/css/media.css +++ b/wp-admin/css/media.css @@ -315,12 +315,12 @@ } #find-posts-close:before { - font: normal 20px/36px 'dashicons'; + font: normal 20px/36px dashicons; vertical-align: top; speak: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; - content: '\f158'; + content: "\f158"; } .find-box-buttons { @@ -384,8 +384,6 @@ form.upgrade .hint { border: 1px solid #ddd; line-height: 1.8em; word-spacing: 3px; - -webkit-border-radius: 6px; - border-radius: 6px; } .drag-drop #drag-drop-area { @@ -502,7 +500,8 @@ border color while dragging a file over the uploader drop area */ color: #c00; } -.upload-php .mode-grid .media-sidebar .media-uploader-status.errors h3 { +.upload-php .mode-grid .media-sidebar .media-uploader-status.errors h3, /* Back-compat for pre-4.4 */ +.upload-php .mode-grid .media-sidebar .media-uploader-status.errors h2 { display: none; } @@ -633,7 +632,7 @@ border color while dragging a file over the uploader drop area */ } .upload-php .media-modal-close .media-modal-icon:before { - content: '\f335'; + content: "\f335"; font-size: 22px; } @@ -674,7 +673,7 @@ border color while dragging a file over the uploader drop area */ .edit-attachment-frame .edit-media-header .right:before, .edit-attachment-frame .edit-media-header .left:before { - font: normal 20px/50px 'dashicons' !important; + font: normal 20px/50px dashicons !important; display: inline; font-weight: 300; } @@ -700,12 +699,12 @@ border color while dragging a file over the uploader drop area */ .edit-attachment-frame .edit-media-header .left:before, .rtl .edit-attachment-frame .edit-media-header .right:before { - content: '\f341'; + content: "\f341"; } .edit-attachment-frame .edit-media-header .right:before, .rtl .edit-attachment-frame .edit-media-header .left:before { - content: '\f345'; + content: "\f345"; } .edit-attachment-frame .edit-media-header .left.disabled, @@ -935,7 +934,7 @@ border color while dragging a file over the uploader drop area */ } .imgedit-menu div:before { - font: normal 20px/1 'dashicons'; + font: normal 20px/1 dashicons; speak: none; vertical-align: middle; } @@ -956,31 +955,31 @@ border color while dragging a file over the uploader drop area */ } .imgedit-crop:before { - content:'\f165'; + content: "\f165"; } .imgedit-rleft:before { - content:'\f166'; + content: "\f166"; } .imgedit-rright:before { - content:'\f167'; + content: "\f167"; } .imgedit-flipv:before { - content:'\f168'; + content: "\f168"; } .imgedit-fliph:before { - content:'\f169'; + content: "\f169"; } .imgedit-undo:before { - content:'\f171'; + content: "\f171"; } .imgedit-redo:before { - content:'\f172'; + content: "\f172"; } .imgedit-crop-wrap { @@ -1019,11 +1018,16 @@ border color while dragging a file over the uploader drop area */ margin: 0 8px 0 0; } -#poststuff .imgedit-group-top h3 { +#poststuff .imgedit-group-top h3, /* Back-compat for pre-4.4 */ +#poststuff .imgedit-group-top h2 { + margin: 0; padding: 0; + font-size: 14px; + line-height: 1.4; } -.imgedit-group-top h3 a { +.imgedit-group-top h3 a, /* Back-compat for pre-4.4 */ +.imgedit-group-top h2 a { text-decoration: none; } diff --git a/wp-admin/css/nav-menus-rtl.css b/wp-admin/css/nav-menus-rtl.css index a9b0133..1696e80 100644 --- a/wp-admin/css/nav-menus-rtl.css +++ b/wp-admin/css/nav-menus-rtl.css @@ -405,7 +405,7 @@ ul.add-menu-item-tabs li { .quick-search-wrap .spinner { float: none; - margin: 0 5px; + margin: -3px 0 0 -10px; } .nav-menus-php .list-wrap { @@ -579,7 +579,7 @@ body.menu-max-depth-11 { min-width: 1280px !important; } /* Menu item controls */ .item-type { display: inline-block; - padding: 12px 10px; + padding: 12px 16px; color: #666; font-size: 12px; line-height: 18px; @@ -618,6 +618,33 @@ body.menu-max-depth-11 { min-width: 1280px !important; } white-space: nowrap; } +.nav-menus-php .item-edit:before { + margin-top: 10px; + margin-right: 4px; + width: 20px; + -webkit-border-radius: 50%; + border-radius: 50%; + text-indent: -1px; /* account for the dashicon alignment */ +} + +.rtl .nav-menus-php .item-edit:before { + text-indent: 1px; /* account for the dashicon alignment */ +} + +.nav-menus-php .item-edit:focus { + -webkit-box-shadow: none; + box-shadow: none; +} + +.nav-menus-php .item-edit:focus:before { + -webkit-box-shadow: + 0 0 0 1px #5b9dd9, + 0 0 2px 1px rgba(30, 140, 190, .8); + box-shadow: + 0 0 0 1px #5b9dd9, + 0 0 2px 1px rgba(30, 140, 190, .8); +} + /* Menu editing */ .menu-instructions-inactive { display: none; @@ -760,6 +787,24 @@ body.menu-max-depth-11 { min-width: 1280px !important; } /* =Media Queries -------------------------------------------------------------- */ +@media only screen and (min-width: 769px) and (max-width: 1000px){ + body.menu-max-depth-0 { + min-width: 0 !important; + } + + #menu-management-liquid{ + width: 100%; + } + + .nav-menus-php #post-body-content{ + min-width: 0; + } + + .menu-item-bar .menu-item-handle{ + width: 90%; + } +} + @media screen and ( max-width: 782px ) { body.nav-menus-php { min-width: 0 !important; diff --git a/wp-admin/css/nav-menus.css b/wp-admin/css/nav-menus.css index 2483113..9084875 100644 --- a/wp-admin/css/nav-menus.css +++ b/wp-admin/css/nav-menus.css @@ -405,7 +405,7 @@ ul.add-menu-item-tabs li { .quick-search-wrap .spinner { float: none; - margin: 0 5px; + margin: -3px -10px 0 0; } .nav-menus-php .list-wrap { @@ -579,7 +579,7 @@ body.menu-max-depth-11 { min-width: 1280px !important; } /* Menu item controls */ .item-type { display: inline-block; - padding: 12px 10px; + padding: 12px 16px; color: #666; font-size: 12px; line-height: 18px; @@ -618,6 +618,33 @@ body.menu-max-depth-11 { min-width: 1280px !important; } white-space: nowrap; } +.nav-menus-php .item-edit:before { + margin-top: 10px; + margin-left: 4px; + width: 20px; + -webkit-border-radius: 50%; + border-radius: 50%; + text-indent: -1px; /* account for the dashicon alignment */ +} + +.rtl .nav-menus-php .item-edit:before { + text-indent: 1px; /* account for the dashicon alignment */ +} + +.nav-menus-php .item-edit:focus { + -webkit-box-shadow: none; + box-shadow: none; +} + +.nav-menus-php .item-edit:focus:before { + -webkit-box-shadow: + 0 0 0 1px #5b9dd9, + 0 0 2px 1px rgba(30, 140, 190, .8); + box-shadow: + 0 0 0 1px #5b9dd9, + 0 0 2px 1px rgba(30, 140, 190, .8); +} + /* Menu editing */ .menu-instructions-inactive { display: none; @@ -760,6 +787,24 @@ body.menu-max-depth-11 { min-width: 1280px !important; } /* =Media Queries -------------------------------------------------------------- */ +@media only screen and (min-width: 769px) and (max-width: 1000px){ + body.menu-max-depth-0 { + min-width: 0 !important; + } + + #menu-management-liquid{ + width: 100%; + } + + .nav-menus-php #post-body-content{ + min-width: 0; + } + + .menu-item-bar .menu-item-handle{ + width: 90%; + } +} + @media screen and ( max-width: 782px ) { body.nav-menus-php { min-width: 0 !important; diff --git a/wp-admin/css/press-this-rtl.css b/wp-admin/css/press-this-rtl.css index 17c688c..53d95c7 100644 --- a/wp-admin/css/press-this-rtl.css +++ b/wp-admin/css/press-this-rtl.css @@ -312,7 +312,6 @@ strong { * Pushing buttons is what I do. */ -.button-subtle, .scan-submit { display: inline-block; margin: 0; @@ -329,67 +328,6 @@ strong { -webkit-appearance: none; } -.button-subtle { - background: none; - border: 0; - color: #0073aa; -} - -.button-subtle:visited { - color: #0073aa; -} - -.button-subtle:focus, -.button-subtle:hover, -.button-subtle:active, -.edit-post-link:focus, -.edit-post-link:hover, -.edit-post-link:active { - color: #00a0d2; -} - -.button-subtle:focus, -.button-subtle:active, -.edit-post-link:focus, -.edit-post-link:active { - outline: 0; - text-decoration: underline; -} - -.preview-button { - margin-left: 5px; -} - -.button-reset { - margin: 0; - padding: 0; - border: 0; - background: none; - cursor: pointer; - -webkit-appearance: none; -} - -.button-reset:focus { - outline: 0; -} - -.button-link { - margin: 0; - padding: 0; - border: 0; - background: none; - color: #0073aa; - cursor: pointer; - -webkit-appearance: none; -} - -.button-link:hover, -.button-link:active, -.button-link:focus { - color: #00a0d2; - text-decoration: underline; -} - .split-button { position: relative; display: inline-block; @@ -421,7 +359,7 @@ strong { height: 0; border-style: solid; border-color: transparent; - content: ''; + content: ""; } .split-button-body:before { @@ -443,6 +381,7 @@ strong { margin: 0; width: 100%; text-align: right; + line-height: 2; } .is-open .split-button-body { @@ -462,13 +401,17 @@ strong { -webkit-appearance: none; line-height: 2; padding: 0 10px 1px; - background: #00a0d2; - border-color: #0073aa; + background: #0085ba; + border-color: #0073aa #006799 #006799; border-width: 1px; border-style: solid; - -webkit-box-shadow: inset 0 1px 0 rgba( 120, 200, 230, 0.5), 0 1px 0 rgba( 0, 0, 0, 0.15 ); - box-shadow: inset 0 1px 0 rgba( 120, 200, 230, 0.5 ), 0 1px 0 rgba( 0, 0, 0, 0.15 ); + -webkit-box-shadow: 0 1px 0 #006799; + box-shadow: 0 1px 0 #006799; color: #fff; + text-shadow: 0 -1px 1px #006799, + -1px 0 1px #006799, + 0 1px 1px #006799, + 1px 0 1px #006799; } .split-button-primary { @@ -486,42 +429,37 @@ strong { border-top-left-radius: 3px; -webkit-border-bottom-left-radius: 3px; border-bottom-left-radius: 3px; - border-right: 0 none; + border-right: 1px solid #006799; float: left; } .split-button-toggle i { margin: 4px 0 3px 20px; padding: 0 10px; - border-right: 1px solid #fff; } .split-button-primary:hover, .split-button-toggle:hover { outline: none; - background: #0091cd; - border-color: #0073aa; + background: #008ec2; + border-color: #006799; } .split-button-primary:focus, .split-button-toggle:focus { outline: none; - border-color: #0e3950; - -webkit-box-shadow: inset 0 1px 0 rgba( 120, 200, 230, 0.6 ), - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); - box-shadow: inset 0 1px 0 rgba( 120, 200, 230, 0.6 ), - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); + -webkit-box-shadow: 0 1px 0 #0073aa, + 0 0 2px 1px #33b3db; + box-shadow: 0 1px 0 #0073aa, + 0 0 2px 1px #33b3db; } .split-button-primary:active, .split-button-toggle:active { background: #0073aa; - border-color: #005082; - color: rgba( 255, 255, 255, 0.95 ); - -webkit-box-shadow: inset 0 1px 0 rgba( 0, 0, 0, 0.1 ); - box-shadow: inset 0 1px 0 rgba( 0, 0, 0, 0.1 ); + border-color: #006799; + -webkit-box-shadow: inset 0 2px 10px #006799, 0 1px 0 #0073aa; + box-shadow: inset 0 2px 10px #006799, 0 1px 0 #0073aa; } /** @@ -899,7 +837,7 @@ dd { } .tagchecklist .ntdelbutton:before { - content: '\f153'; + content: "\f153"; display: block; margin: 2px 0; height: 20px; @@ -922,9 +860,10 @@ dd { margin: 0; } -.tagcloud-link { +.press-this .tagcloud-link { display: block; - padding: 0 16px; + margin: 0 16px 5px; + padding: 0; text-decoration: none; outline: 0; } @@ -991,23 +930,24 @@ input[type="search"].categories-search, } } -.add-cat-toggle { +.press-this .add-cat-toggle { float: left; margin-top: -45px; line-height: 20px; padding: 12px 10px 8px; + color: #0073aa; } -.add-cat-toggle:focus { +.press-this .add-cat-toggle:focus { text-decoration: none; color: #00a0d2; } -.add-cat-toggle.is-toggled { +.press-this .add-cat-toggle.is-toggled { padding: 10px; } -.add-cat-toggle.is-toggled .dashicons:before { +.press-this .add-cat-toggle.is-toggled .dashicons:before { content: "\f179"; } @@ -1261,11 +1201,13 @@ html { color: #999; } -.adminbar button { +.press-this .adminbar button { position: absolute; top: 50%; left: 6px; margin-top: -13px; + padding: 0 10px 1px; + font-size: 13px; } @media (max-width: 320px) { @@ -1364,7 +1306,7 @@ html { } .alert:before { - content: ''; + content: ""; position: absolute; top: 50%; right: 30px; @@ -1438,15 +1380,15 @@ html { .scan-submit:hover, .scan-submit:focus { - background: #2991b7; - border-color: #20708e; + background: #008ec2; + border-color: #006799; color: #fff; outline: 0; } .scan-submit:active { - background: #2581a2; - border-color: #20708e; + background: #0073aa; + border-color: #006799; color: #fff; } @@ -1596,7 +1538,7 @@ html { .post-title:before { /* Keeps empty container from collapsing */ - content: '\a0'; + content: "\a0"; display: inline-block; width: 0; speak: none; @@ -1799,7 +1741,9 @@ html { -ms-transform: translateY(0); transform: translateY(0); -webkit-transition: -webkit-transform .3s ease-in-out; + transition: -webkit-transform .3s ease-in-out; transition: transform .3s ease-in-out; + transition: transform .3s ease-in-out, -webkit-transform .3s ease-in-out; } .press-this-actions.is-hidden { -webkit-transform: translateY(100%); @@ -1879,13 +1823,6 @@ html { } } -.edit-post-link { - font-size: 13px; - display: inline-block; - text-decoration: none; - padding: 0 10px; -} - .publish-button .saving-draft, .publish-button.is-saving .publish { display: none; @@ -2010,7 +1947,9 @@ html { -ms-transform: translateX(100%); transform: translateX(100%); -webkit-transition: -webkit-transform .3s ease-in-out; + transition: -webkit-transform .3s ease-in-out; transition: transform .3s ease-in-out; + transition: transform .3s ease-in-out, -webkit-transform .3s ease-in-out; } .options-panel.is-hidden { @@ -2088,13 +2027,16 @@ html { white-space: nowrap; overflow: hidden; -webkit-transition: -webkit-transform .3s ease-in-out; + transition: -webkit-transform .3s ease-in-out; transition: transform .3s ease-in-out; + transition: transform .3s ease-in-out, -webkit-transform .3s ease-in-out; } .post-options .post-option:focus { outline: 0; -webkit-box-shadow: inset -5px 0 0 #00a0d2; box-shadow: inset -5px 0 0 #00a0d2; + border-color: #e5e5e5; } .is-off-screen > .post-option { @@ -2128,7 +2070,9 @@ html { width: 100%; overflow: hidden; -webkit-transition: -webkit-transform .3s ease-in-out; + transition: -webkit-transform .3s ease-in-out; transition: transform .3s ease-in-out; + transition: transform .3s ease-in-out, -webkit-transform .3s ease-in-out; } .setting-modal.is-hidden { @@ -2149,7 +2093,7 @@ html { } } -.modal-close { +.press-this .modal-close { display: block; width: 100%; padding: 13px 14px; @@ -2159,10 +2103,11 @@ html { text-align: right; } -.modal-close:focus { +.press-this .modal-close:focus { outline: 0; -webkit-box-shadow: inset -5px 0 0 #00a0d2; box-shadow: inset -5px 0 0 #00a0d2; + border-color: #e5e5e5; } .setting-title { diff --git a/wp-admin/css/press-this-rtl.min.css b/wp-admin/css/press-this-rtl.min.css index a051a71..0e8f107 100644 --- a/wp-admin/css/press-this-rtl.min.css +++ b/wp-admin/css/press-this-rtl.min.css @@ -1 +1 @@ -pre,textarea{overflow:auto}body,fieldset{margin:0}.screen-reader-text,fieldset,legend,td,th{padding:0}.adminbar:after,.clearfix:after,.editor-wrapper:after,.mce-stack-layout:after,.media-list-inner-container:after,.tagchecklist:after,.wrapper:after,h1,h2,h3,h4,h5,h6{clear:both}b,dt,optgroup,strong{font-weight:700}.current-site,.post-options .post-option,.postform{text-overflow:ellipsis;white-space:nowrap}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}*,:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}@media only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (min-resolution:144dpi){*,:after,:before{-webkit-font-smoothing:antialiased}}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background:0 0}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}fieldset,img,legend{border:0}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;height:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}table{border-collapse:collapse;border-spacing:0}.clearfix:after,.clearfix:before{content:"";display:table}.hide-if-js{display:none}.screen-reader-text{position:absolute;margin:-1px;height:1px;width:1px;overflow:hidden;clip:rect(0 0 0 0);border:0}body,button,input,select,textarea{color:#404040;font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:20px;font-weight:400;line-height:1.6}p{margin-bottom:1.5em}.button-subtle,.scan-submit{display:inline-block;margin:0;padding:0 10px 1px;border-width:1px;border-style:solid;-webkit-border-radius:3px;border-radius:3px;font-size:13px;line-height:2;text-decoration:none;white-space:nowrap;cursor:pointer;-webkit-appearance:none}.button-link,.button-reset{cursor:pointer;-webkit-appearance:none;padding:0;border:0;background:0 0}.button-subtle{background:0 0;border:0;color:#0073aa}.button-subtle:visited{color:#0073aa}.button-subtle:active,.button-subtle:focus,.button-subtle:hover,.edit-post-link:active,.edit-post-link:focus,.edit-post-link:hover{color:#00a0d2}.button-subtle:active,.button-subtle:focus,.edit-post-link:active,.edit-post-link:focus{outline:0;text-decoration:underline}.preview-button{margin-left:5px}.button-reset{margin:0}.button-reset:focus{outline:0}.button-link{margin:0;color:#0073aa}.button-link:active,.button-link:focus,.button-link:hover{color:#00a0d2;text-decoration:underline}.split-button{position:relative;display:inline-block;vertical-align:middle}.split-button-body{display:none;position:absolute;bottom:39px;left:0;border:1px solid #ddd;background-color:#fff;min-width:180px;max-width:100%;margin:0;padding:8px;list-style:none;-webkit-box-shadow:-1px 0 4px rgba(0,0,0,.15);box-shadow:-1px 0 4px rgba(0,0,0,.15)}.split-button-body:after,.split-button-body:before{position:absolute;left:12px;display:block;width:0;height:0;border-style:solid;border-color:transparent;content:''}.split-button-body:before{bottom:-18px;border-top-color:#ccc;border-width:9px;left:11px}.split-button-body:after{bottom:-16px;border-top-color:#fff;border-width:8px}.split-button-body .split-button-option{display:block;padding:5px 15px;margin:0;width:100%;text-align:right}.is-open .split-button-body{display:block}.split-button-primary,.split-button-toggle{-webkit-border-radius:0;border-radius:0;display:block;margin:0;font-size:13px;text-decoration:none;white-space:nowrap;cursor:pointer;-webkit-appearance:none;line-height:2;padding:0 10px 1px;background:#00a0d2;border-color:#0073aa;border-width:1px;border-style:solid;-webkit-box-shadow:inset 0 1px 0 rgba(120,200,230,.5),0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 rgba(120,200,230,.5),0 1px 0 rgba(0,0,0,.15);color:#fff}.split-button-primary{-webkit-border-top-right-radius:3px;border-top-right-radius:3px;-webkit-border-bottom-right-radius:3px;border-bottom-right-radius:3px;border-left:0 none;float:right}.split-button-toggle{padding:0;-webkit-border-top-left-radius:3px;border-top-left-radius:3px;-webkit-border-bottom-left-radius:3px;border-bottom-left-radius:3px;border-right:0 none;float:left}.split-button-toggle i{margin:4px 0 3px 20px;padding:0 10px;border-right:1px solid #fff}.split-button-primary:hover,.split-button-toggle:hover{outline:0;background:#0091cd;border-color:#0073aa}.split-button-primary:focus,.split-button-toggle:focus{outline:0;border-color:#0e3950;-webkit-box-shadow:inset 0 1px 0 rgba(120,200,230,.6),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 1px 0 rgba(120,200,230,.6),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.split-button-primary:active,.split-button-toggle:active{background:#0073aa;border-color:#005082;color:rgba(255,255,255,.95);-webkit-box-shadow:inset 0 1px 0 rgba(0,0,0,.1);box-shadow:inset 0 1px 0 rgba(0,0,0,.1)}button,input,select,textarea{font-size:100%;margin:0;vertical-align:baseline}[type=checkbox],[type=radio]{padding:0}[type=search]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}[type=search]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}[type=text],[type=email],[type=url],[type=password],[type=search],textarea{padding:.4em .75em;color:#32373c;border:1px solid #ccc}[type=text]:focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=search]:focus,textarea:focus{color:#32373c;outline:0}textarea{padding-right:3px;vertical-align:top}a,a:visited{color:#0073aa}a:active,a:focus,a:hover{color:#00a0d2}ol,ul{margin:0 3em 1.5em 0}ul{list-style:disc}ol{list-style:decimal}li>ol,li>ul{margin-bottom:0;margin-right:1.5em}dd{margin:0 1.5em 1.5em}#post-formats-select br{display:none}.post-format{width:1px;height:1px;position:absolute;top:-9999px}.lt-ie9 .post-format{margin:17px 13px 0 12px;position:static;top:auto;float:right;width:16px;height:16px}.add-category,.post-format-icon,.tagsdiv .ajaxtag,.tagsdiv .newtag{position:relative}.post-format-icon{display:block;padding:13px 13px 14px 2px;cursor:pointer}.post-format-icon:after,.post-format-icon:before{content:"";display:inline-block;width:20px;height:20px;margin-left:10px;font-size:20px;line-height:1;font-family:dashicons;text-decoration:inherit;color:#9ea7af;font-style:normal;text-align:center;transition:color .1s ease-in 0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.category.selected:after,.post-format-icon:after,.post-format-icon:before{font-weight:400;vertical-align:top;-webkit-transition:color .1s ease-in 0}.post-format-icon:before{content:"\f109"}.post-format-icon:after{display:none;content:"\f147";float:left}.post-format:checked+.post-format-icon{-webkit-box-shadow:inset -6px 0 0 #00a0d2;box-shadow:inset -6px 0 0 #00a0d2;background:rgba(46,162,204,.1)}.post-format:checked+.post-format-icon:after,.post-format:checked+.post-format-icon:before{color:#32373c}.post-format:focus+.post-format-icon{background:#00a0d2;color:#fff}.post-format:focus+.post-format-icon:after,.post-format:focus+.post-format-icon:before{color:#fff}.post-format:checked+.post-format-icon:after{display:block}.lt-ie9 .post-format-icon{margin-right:16px}.post-format-aside:before{content:"\f123"}.post-format-image:before{content:"\f128"}.post-format-video:before{content:"\f126"}.post-format-audio:before{content:"\f127"}.post-format-quote:before{content:"\f122"}.post-format-link:before{content:"\f103"}.post-format-gallery:before{content:"\f161"}.tagsdiv p{margin:0}.tagsdiv .newtag{display:block;padding:11px 16px 11px 58px;width:100%;border:0;border-bottom:1px solid #e5e5e5;font-size:16px}.tagsdiv .tagadd{position:absolute;top:0;left:0;bottom:1px;border:0;-webkit-border-radius:0;border-radius:0;margin:0;padding:0 16px;background:#f7f7f7;border-right:1px solid #f1f1f1;-webkit-box-shadow:none;box-shadow:none}.tagsdiv .tagadd:active,.tagsdiv .tagadd:focus,.tagsdiv .tagadd:hover{outline:0;background:#2991b7;border-color:#20708e;color:#fff;-webkit-box-shadow:none;box-shadow:none}.tagsdiv .howto{color:#727272;font-style:italic;margin:10px 16px 6px 0}.ac_results{padding:0;margin:-1px -1px 0 0;list-style:none;position:absolute;z-index:10000;display:none;border:1px solid #d8d8d8;background-color:#fff;font-size:14px}.ac_results li{padding:6px 16px;white-space:nowrap;color:#101010;text-align:right}.ac_results .ac_over{background-color:#00a0d2;color:#fff;cursor:pointer}.ac_match{text-decoration:underline}.tagchecklist{padding:16px 28px 5px}.tagchecklist:after,.tagchecklist:before{content:"";display:table}.tagchecklist span{display:block;margin-left:25px;float:right;font-size:13px;line-height:1.8;white-space:nowrap;cursor:default}@media (max-width:600px){.tagchecklist span{margin-bottom:15px;font-size:16px;line-height:1.3}}.tagchecklist .ntdelbutton{margin:1px -17px 0 0;cursor:pointer;width:20px;height:20px;display:block;float:right;text-indent:0;overflow:hidden;position:absolute;outline:0}.tagchecklist .ntdelbutton:before{content:'\f153';display:block;margin:2px 0;height:20px;width:20px;background:100% 0;color:#9ea7af;font:400 16px/1 dashicons;text-align:center;speak:none;-webkit-font-smoothing:antialiased}.category.selected:after,.suggested-media-thumbnail:after,.suggested-media-thumbnail:before{font-family:dashicons;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.tagchecklist .ntdelbutton:focus:before{color:#00a0d2}.tagsdiv+p{margin:0}.tagcloud-link{display:block;padding:0 16px;text-decoration:none;outline:0}.tagcloud-link:focus{text-decoration:underline}.popular-tags{border:none;line-height:2em;padding:8px 12px 12px;text-align:justify}.popular-tags a{padding:0 3px}.the-tagcloud{margin:0;padding:16px}.the-tagcloud a{text-decoration:none;outline:0}.the-tagcloud a:focus{text-decoration:underline}.tagcloud h3{margin:2px 0 12px}.add-category-name,input[type=search].categories-search{display:block;width:100%;padding:.85714em 1.07143em;border:0;-webkit-border-radius:0;border-radius:0;border-bottom:1px solid #e5e5e5;font-size:14px;-webkit-appearance:none;-moz-appearance:none;appearance:none}@media (max-width:600px){.add-category-name,input[type=search].categories-search{font-size:16px}}.add-cat-toggle{float:left;margin-top:-45px;line-height:20px;padding:12px 10px 8px}.add-cat-toggle:focus{text-decoration:none;color:#00a0d2}.add-cat-toggle.is-toggled{padding:10px}.add-cat-toggle.is-toggled .dashicons:before{content:"\f179"}.add-category{border-bottom:1px solid #e5e5e5}.add-category.is-hidden{display:none}.add-category .add-cat-submit{position:absolute;top:0;left:0;border:0;-webkit-border-radius:0;border-radius:0;padding:12px 16px;background:#f7f7f7;border-right:1px solid #f1f1f1}.alert,.scan{border-bottom:1px solid #e5e5e5}.add-category .add-cat-submit:active,.add-category .add-cat-submit:focus,.add-category .add-cat-submit:hover{outline:0;background:#2991b7;border-color:#20708e;color:#fff}.postform-wrapper{padding:12px}.postform{display:block;margin:0;width:100%;height:34px;-webkit-border-radius:0;border-radius:0;border:1px solid #e5e5e5;background:#fff;-webkit-background-size:20px 20px;background-size:20px 20px;overflow:hidden;line-height:21px;text-decoration:none;vertical-align:top;cursor:pointer;outline:0}.postform:focus{border-color:#0073aa;-webkit-box-shadow:0 0 0 3px #00a0d2;box-shadow:0 0 0 3px #00a0d2;outline:0;-moz-outline:none;-moz-user-focus:ignore}.postform::-ms-expand{display:none}.postform::-ms-value{background:0 0;color:#727272}.postform:-moz-focusring{color:transparent;text-shadow:0 0 0 #727272}.categories-select,.categories-select ul{margin:0;padding:0;list-style:none}.category{position:relative;display:block;padding:13px 16px 14px;cursor:pointer;background:#fff}.category.selected:focus,.category:focus{outline:0;background:#00a0d2;color:#fff}.category.selected{-webkit-box-shadow:inset -6px 0 0 #00a0d2;box-shadow:inset -6px 0 0 #00a0d2;background:#E9F5F9}.category.selected:after{display:inline-block;content:"\f147";position:absolute;top:13px;left:0;width:20px;height:20px;margin-left:10px;font-size:20px;line-height:1;text-decoration:inherit;color:#23282d;text-align:center;transition:color .1s ease-in 0}.category.selected:focus:after{color:#fff}.categories-select ul .category{padding-right:24px}.categories-select ul ul .category{padding-right:32px}.categories-select ul ul ul .category{padding-right:40px}.categories-select ul ul ul ul .category{padding-right:48px}.categories-select ul ul ul ul ul .category{padding-right:56px}.categories-select ul ul ul ul ul ul .category{padding-right:64px}.categories-select .is-hidden{display:none}.categories-select .is-hidden.searched-parent{display:block}.categories-search-wrapper{position:relative}.categories-search-wrapper.is-hidden{display:none}.categories-search-wrapper label{position:absolute;top:50%;left:10px;margin-top:-10px;color:#9ea7af}html{overflow:auto;background:#fff;-webkit-box-shadow:10px 0 0 rgba(0,0,0,.3);box-shadow:10px 0 0 rgba(0,0,0,.3)}body{overflow-x:hidden;height:100%}@media (max-width:900px){body{font-size:16px}}.lt-ie9{overflow:visible}.adminbar{position:relative;width:100%;padding:0 .8em;min-height:3.2em;background:#23282d;color:#fff;z-index:9999}.adminbar:after,.adminbar:before{content:"";display:table}.adminbar .dashicons{color:#999}.adminbar button{position:absolute;top:50%;left:6px;margin-top:-13px}@media (max-width:320px){body{font-size:14px}.adminbar{min-height:45px}}.current-site{margin-top:.5625em;font-size:16px;line-height:44px;font-weight:400;overflow:hidden}@media (max-width:600px){.current-site{margin:3px 0 0}}.current-site-link{text-decoration:none}.current-site-link:focus{outline:0}.current-site-link:focus .current-site-name{text-decoration:underline}.current-site-name{color:#ededed}@media (max-width:320px){.current-site{margin:0;font-size:14px}.current-site-name{font-weight:600}}.current-site .dashicons-wordpress{position:relative;top:-1px;margin-left:10px;vertical-align:middle}.options,.options.closed .on-open,.options.open .on-closed{display:none}@media (max-width:900px){.options{display:block}}.options-panel-back.is-hidden{display:none}.options:focus .dashicons{color:#fff;text-decoration:none}.options .dashicons{margin-top:3px}.options{color:#00a0d2}.alert{position:relative;margin:0;padding:16px 50px;font-size:14px}.alert:before{content:'';position:absolute;top:50%;right:30px;width:8px;height:8px;margin-top:-4px;-webkit-border-radius:50%;border-radius:50%;background:#00a0d2}@media (max-width:600px){.alert{padding:16px 35px}.alert:before{right:15px}}.alert.is-error:before{background:red}.scan{position:relative}.scan-url{display:block;border:0;padding:.85714em 1.07143em;font-size:14px;width:100%}.editor-wrapper:after,.editor-wrapper:before,.wrapper:after,.wrapper:before{content:"";display:table}@media (max-width:600px){.scan-url{font-size:16px}}.scan-submit{position:absolute;top:0;left:0;bottom:0;padding:0 1.07143em;background:#f7f7f7;border:0;border-right:1px solid #f1f1f1;-webkit-border-radius:0;border-radius:0;color:#555;font-size:14px;line-height:1.6}.scan-submit:focus,.scan-submit:hover{background:#2991b7;border-color:#20708e;color:#fff;outline:0}.scan-submit:active{background:#2581a2;border-color:#20708e;color:#fff}.scan-submit:visited{color:#555}.wrapper{position:relative;margin-bottom:60px;margin-left:320px}@media (max-width:900px){.scan form{-webkit-transition:opacity .3s ease-in-out;transition:opacity .3s ease-in-out}.scan.is-hidden form{opacity:.2;pointer-events:none}.wrapper{margin:0;width:100%}}.editor-wrapper{overflow:auto;float:right;width:100%}.editor{padding:0 1.5em 4.75em;max-width:700px;margin:0 auto}.spinner{height:20px;width:20px;display:inline-block;visibility:hidden;background:url(../images/spinner.gif) center no-repeat;-webkit-background-size:20px 20px;background-size:20px 20px;opacity:.7;filter:alpha(opacity=70);line-height:1;vertical-align:middle}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.spinner{background-image:url(../images/spinner-2x.gif)}}.spinner.is-active{visibility:visible}@media (min-width:901px){.editor{max-width:760px}}@media (max-width:320px){.editor{padding:0}}.post-title,.post-title-placeholder{margin:0;padding:.83em 0;width:100%;border-bottom:1px solid #e5e5e5;font-size:32px;line-height:1.4;font-weight:700}.post-title-placeholder:active,.post-title-placeholder:focus,.post-title:active,.post-title:focus{outline:0;-webkit-box-shadow:inset 0 -3px 0 #00a0d2;box-shadow:inset 0 -3px 0 #00a0d2;border-color:#00a0d2}@media (max-width:900px){.post-title,.post-title-placeholder{font-size:24px}}@media (max-height:400px){.post-title,.post-title-placeholder{padding:15px 0;font-size:16px}}@media (max-width:320px){.post-title,.post-title-placeholder{font-size:16px;font-weight:600;padding:1.14286em 1.42857em}}.post-title{background:url(data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///////wAAACH5BAEHAAIALAAAAAABAAEAAAICVAEAOw==);background:0 0,none}.post-title:before{content:'\a0';display:inline-block;width:0;speak:none}.post-title-placeholder{position:absolute;border:0;color:#9ea7af;z-index:-1}.is-embed.is-audio:active:before,.is-embed.is-audio:focus:before,.is-embed.is-audio:hover:before,.is-embed.is-tweet:active:before,.is-embed.is-tweet:focus:before,.is-embed.is-tweet:hover:before,.is-embed:before,.suggested-media-thumbnail:active,.suggested-media-thumbnail:focus,.suggested-media-thumbnail:hover{color:#fff}.post-title-placeholder.is-hidden{display:none}.media-list-container{position:relative;padding:2px 0;border-bottom:1px solid #e5e5e5;display:none}.media-list-inner-container{overflow:auto;max-height:150px;max-height:40vw}.media-list-container.has-media{display:block}.media-list-inner-container:after,.media-list-inner-container:before{content:"";display:table}.media-list{margin:0;padding:0}@media (min-width:321px){.media-list-inner-container{max-height:250px;max-height:40vw}}.wppt-all-media-list{list-style:none;margin:0;padding:0}.is-embed:focus,.suggested-media-thumbnail:focus{outline:0;-webkit-box-shadow:inset 0 0 0 3px #00a0d2;box-shadow:inset 0 0 0 3px #00a0d2}.suggested-media-thumbnail{position:relative;display:block;float:right;width:16.66%;padding:16.66% 16.66% 0 0;background-position:center;background-repeat:no-repeat;-webkit-background-size:cover;background-size:cover;background-color:#d8d8d8;color:#fff;color:rgba(255,255,255,.6);cursor:pointer}.suggested-media-thumbnail:after,.suggested-media-thumbnail:before{display:inline-block;position:absolute;font-size:20px;line-height:1;text-decoration:inherit;font-weight:400;-webkit-transition:color .1s ease-in 0;transition:color .1s ease-in 0}.suggested-media-thumbnail:before{right:50%;top:50%;margin:-20px -20px 0 0;font-size:40px}.suggested-media-thumbnail:after{content:"\f132";left:3%;bottom:2%}@media (min-width:601px){.media-list-inner-container{max-height:200px;max-height:18.75vw}.suggested-media-thumbnail{width:12.5%;padding:12.5% 12.5% 0 0}}.is-embed:before{content:"\f104";color:rgba(255,255,255,.9)}.is-embed.is-video{background-color:#23282d}.is-embed.is-video:active:before,.is-embed.is-video:focus:before,.is-embed.is-video:hover:before{color:rgba(255,255,255,.2)}.is-embed.is-video:before{content:"\f236"}.is-embed.is-audio{background-color:#ff7d44}.is-embed.is-audio:before{content:"\f127"}.is-embed.is-tweet{background-color:#55acee}.is-embed.is-tweet:before{content:"\f301"}.no-media{margin:0;padding:0;border:0}.press-this-actions{position:fixed;bottom:0;right:0;width:100%;background:#f1f1f1;background:rgba(241,241,241,.9);border-top:1px solid #e5e5e5}.add-media{float:right;margin:14px 30px 14px 0;font-size:0}@media (max-width:320px){.add-media{margin:10px 10px 10px 0}}.insert-media{color:#9ea7af;float:right;margin:0;padding:0;border:0;border-left:1px solid #e5e5e5;-webkit-border-radius:0;border-radius:0;background:0 0;-webkit-box-shadow:none;box-shadow:none;overflow:hidden}.insert-media:active,.insert-media:focus,.insert-media:hover{margin:0;background:0 0;border-color:#e5e5e5;color:#23282d}.insert-media:active,.insert-media:focus{outline:0;color:#00a0d2;text-decoration:none}.insert-media .dashicons{padding:11px;width:63px;height:58px;font-size:40px}@media (max-width:320px){.insert-media .dashicons{width:55px;height:49px;padding:14px;font-size:20px}}#wp-link-wrap,.post-actions{font-size:13px}.post-actions{float:left;margin:14px 0 14px 30px}@media (max-width:320px){.post-actions{margin:10px 0 10px 10px}}.edit-post-link{font-size:13px;display:inline-block;text-decoration:none;padding:0 10px}.publish-button .saving-draft,.publish-button.is-saving .publish{display:none}.publish-button.is-saving .saving-draft{display:inline}.editor .wp-media-buttons{float:none}.editor div.mce-toolbar-grp{padding:.71429em 0;background:0 0;border:0}@media (max-height:400px),(max-width:320px){.editor div.mce-toolbar-grp{padding:0}}.mce-stack-layout:after,.mce-stack-layout:before{content:"";display:table}.mce-container.mce-toolbar{float:right}.mce-container.mce-toolbar:nth-child(2){float:left}@media (max-width:600px){.mce-first .mce-btn:nth-child(3),.mce-first .mce-btn:nth-child(4){position:absolute;margin:-1px;padding:0;height:1px;width:1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.mce-first .mce-btn:nth-child(3):focus,.mce-first .mce-btn:nth-child(4):focus{position:static;margin:1px;padding:inherit;height:auto;width:auto;overflow:visible;clip:auto;border:1px solid #999}}#wp-link-wrap input[type=text]{padding:3px 5px;margin:1px}@media screen and (max-width:782px){#wp-link-wrap{font-size:14px}#wp-link-wrap input[type=text]{padding:6px 10px}}#wp-link-wrap .howto{color:#666;font-style:italic}.options-panel{position:relative;float:left;margin-left:-320px;width:320px;border-right:1px solid #e5e5e5;font-size:14px;-webkit-box-shadow:-5001px 5000px 0 5000px #fff,-5000px 5000px 0 5000px #e5e5e5;box-shadow:-5001px 5000px 0 5000px #fff,-5000px 5000px 0 5000px #e5e5e5;outline:0}.options-panel-back{position:absolute;top:0;left:0;bottom:0;width:320px;outline:0}@media (max-width:900px){.press-this-actions{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0);-webkit-transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out}.press-this-actions.is-hidden{-webkit-transform:translateY(100%);-ms-transform:translateY(100%);transform:translateY(100%)}.options-panel{background:#fff;-webkit-transform:translateX(100%);-ms-transform:translateX(100%);transform:translateX(100%);-webkit-transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out}.options-panel.is-hidden{visibility:hidden}.options-panel.is-off-screen{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}}@media (max-width:320px){.options-panel{margin-left:-100%;width:100%;border:0;-webkit-box-shadow:-5001px 5000px 0 5000px #fff;box-shadow:-5001px 5000px 0 5000px #fff}.options-panel-back{width:100%}}.post-options{background:#fff;position:absolute;left:0;width:100%;overflow-x:hidden}.post-options .post-option-contents{margin-right:3px;color:#32373c}.post-option-forward:before{position:absolute;top:50%;left:8px;margin-top:-10px;content:"\f341"}.post-option,.setting-modal,.setting-title{position:relative}.post-option-back:before{content:"\f345"}.lt-ie9 .options-panel,.lt-ie9 .post-options{border-right:1px solid #e5e5e5}.lt-ie9 .post-options.is-off-screen{border:0}.modal-close,.post-options .post-option{border-bottom:1px solid #e5e5e5;text-decoration:none;text-align:right}.post-options .post-option{display:block;padding:13px 14px 13px 37px;color:#9ea7af;transition:transform .3s ease-in-out}.post-options .post-option,.setting-modal{width:100%;overflow:hidden;-webkit-transition:-webkit-transform .3s ease-in-out}.post-options .post-option:focus{box-shadow:inset -5px 0 0 #00a0d2}.modal-close:focus,.post-options .post-option:focus{outline:0;-webkit-box-shadow:inset -5px 0 0 #00a0d2}.is-off-screen>.post-option{left:100%}.is-hidden>.post-option{visibility:hidden}.post-option-title{display:inline-block;margin:0 8px 0 0;font-size:14px;font-weight:400}.setting-modal{top:0;right:0;transition:transform .3s ease-in-out}.setting-modal.is-hidden{visibility:hidden;height:0}.setting-modal.is-off-screen{right:100%}@media (min-width:1px){.is-off-screen>.post-option{left:auto;-webkit-transform:translateX(100%);-ms-transform:translateX(100%);transform:translateX(100%)}.setting-modal.is-off-screen{right:0;-webkit-transform:translateX(-100%);-ms-transform:translateX(-100%);transform:translateX(-100%)}}.modal-close{display:block;width:100%;padding:13px 14px;color:#00a0d2}.modal-close:focus{box-shadow:inset -5px 0 0 #00a0d2}.setting-title{top:-1px;margin-right:11px}#pressthis{color:#404040;resize:none;padding-top:30px;font-size:16px}.wp-editor-wrap .quicktags-toolbar{background:0 0;border:none}.wp-editor-wrap .wp-editor-tools{z-index:0}.wp-editor-wrap .wp-editor-tabs{padding:2px}.wp-editor-wrap .wp-switch-editor{top:0;margin:3px 5px 0 0;padding:3px 8px;background:#f5f5f5;color:#555;border-color:#ccc}.wp-editor-wrap .wp-switch-editor:hover{background:#fafafa;border-color:#999;color:#23282d}.wp-editor-wrap.html-active .switch-html,.wp-editor-wrap.tmce-active .switch-tmce{background:#fff;border-color:#d8d8d8} \ No newline at end of file +body,fieldset{margin:0}.screen-reader-text,fieldset,legend,td,th{padding:0}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}*,:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}@media only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (min-resolution:144dpi){*,:after,:before{-webkit-font-smoothing:antialiased}}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background:0 0}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}fieldset,img,legend{border:0}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.scan-submit,.split-button-primary,.split-button-toggle{-webkit-appearance:none;cursor:pointer;text-decoration:none;white-space:nowrap}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}.clearfix:after,.clearfix:before{content:"";display:table}.clearfix:after{clear:both}.hide-if-js{display:none}.screen-reader-text{position:absolute;margin:-1px;height:1px;width:1px;overflow:hidden;clip:rect(0 0 0 0);border:0}body,button,input,select,textarea{color:#404040;font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:20px;font-weight:400;line-height:1.6}b,dt,strong{font-weight:700}h1,h2,h3,h4,h5,h6{clear:both}p{margin-bottom:1.5em}.scan-submit{display:inline-block;margin:0}.split-button{position:relative;display:inline-block;vertical-align:middle}.split-button-body{display:none;position:absolute;bottom:39px;left:0;border:1px solid #ddd;background-color:#fff;min-width:180px;max-width:100%;margin:0;padding:8px;list-style:none;-webkit-box-shadow:-1px 0 4px rgba(0,0,0,.15);box-shadow:-1px 0 4px rgba(0,0,0,.15)}.split-button-body:after,.split-button-body:before{position:absolute;left:12px;display:block;width:0;height:0;border-style:solid;border-color:transparent;content:""}.split-button-body:before{bottom:-18px;border-top-color:#ccc;border-width:9px;left:11px}.split-button-body:after{bottom:-16px;border-top-color:#fff;border-width:8px}.split-button-body .split-button-option{display:block;padding:5px 15px;margin:0;width:100%;text-align:right;line-height:2}.is-open .split-button-body{display:block}.split-button-primary,.split-button-toggle{-webkit-border-radius:0;border-radius:0;display:block;margin:0;font-size:13px;line-height:2;padding:0 10px 1px;background:#0085ba;border-color:#0073aa #006799 #006799;border-width:1px;border-style:solid;-webkit-box-shadow:0 1px 0 #006799;box-shadow:0 1px 0 #006799;color:#fff;text-shadow:0 -1px 1px #006799,-1px 0 1px #006799,0 1px 1px #006799,1px 0 1px #006799}.split-button-primary{-webkit-border-top-right-radius:3px;border-top-right-radius:3px;-webkit-border-bottom-right-radius:3px;border-bottom-right-radius:3px;border-left:0 none;float:right}.split-button-toggle{padding:0;-webkit-border-top-left-radius:3px;border-top-left-radius:3px;-webkit-border-bottom-left-radius:3px;border-bottom-left-radius:3px;border-right:1px solid #006799;float:left}.split-button-toggle i{margin:4px 0 3px 20px;padding:0 10px}.split-button-primary:hover,.split-button-toggle:hover{outline:0;background:#008ec2;border-color:#006799}.split-button-primary:focus,.split-button-toggle:focus{outline:0;-webkit-box-shadow:0 1px 0 #0073aa,0 0 2px 1px #33b3db;box-shadow:0 1px 0 #0073aa,0 0 2px 1px #33b3db}.split-button-primary:active,.split-button-toggle:active{background:#0073aa;border-color:#006799;-webkit-box-shadow:inset 0 2px 10px #006799,0 1px 0 #0073aa;box-shadow:inset 0 2px 10px #006799,0 1px 0 #0073aa}button,input,select,textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}.postform,textarea{vertical-align:top}[type=checkbox],[type=radio]{padding:0}[type=search]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}[type=search]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}[type=email],[type=url],[type=password],[type=search],[type=text],textarea{padding:.4em .75em;color:#32373c;border:1px solid #ccc}[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=search]:focus,[type=text]:focus,textarea:focus{color:#32373c;outline:0}textarea{overflow:auto;padding-right:3px}a,a:visited{color:#0073aa}a:active,a:focus,a:hover{color:#00a0d2}ol,ul{margin:0 3em 1.5em 0}ul{list-style:disc}ol{list-style:decimal}li>ol,li>ul{margin-bottom:0;margin-right:1.5em}dd{margin:0 1.5em 1.5em}#post-formats-select br{display:none}.post-format{width:1px;height:1px;position:absolute;top:-9999px}.lt-ie9 .post-format{margin:17px 13px 0 12px;position:static;top:auto;float:right;width:16px;height:16px}.add-category,.post-format-icon,.tagsdiv .ajaxtag,.tagsdiv .newtag{position:relative}.post-format-icon{display:block;padding:13px 13px 14px 2px;cursor:pointer}.post-format-icon:after,.post-format-icon:before{content:"";display:inline-block;width:20px;height:20px;margin-left:10px;font-size:20px;line-height:1;font-family:dashicons;text-decoration:inherit;color:#9ea7af;font-weight:400;font-style:normal;vertical-align:top;text-align:center;-webkit-transition:color .1s ease-in 0;transition:color .1s ease-in 0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.post-format-icon:before{content:"\f109"}.post-format-icon:after{display:none;content:"\f147";float:left}.post-format:checked+.post-format-icon{-webkit-box-shadow:inset -6px 0 0 #00a0d2;box-shadow:inset -6px 0 0 #00a0d2;background:rgba(46,162,204,.1)}.post-format:checked+.post-format-icon:after,.post-format:checked+.post-format-icon:before{color:#32373c}.post-format:focus+.post-format-icon{background:#00a0d2;color:#fff}.post-format:focus+.post-format-icon:after,.post-format:focus+.post-format-icon:before{color:#fff}.post-format:checked+.post-format-icon:after{display:block}.lt-ie9 .post-format-icon{margin-right:16px}.post-format-aside:before{content:"\f123"}.post-format-image:before{content:"\f128"}.post-format-video:before{content:"\f126"}.post-format-audio:before{content:"\f127"}.post-format-quote:before{content:"\f122"}.post-format-link:before{content:"\f103"}.post-format-gallery:before{content:"\f161"}.tagsdiv p{margin:0}.tagsdiv .newtag{display:block;padding:11px 16px 11px 58px;width:100%;border:0;border-bottom:1px solid #e5e5e5;font-size:16px}.tagsdiv .tagadd{position:absolute;top:0;left:0;bottom:1px;border:0;-webkit-border-radius:0;border-radius:0;margin:0;padding:0 16px;background:#f7f7f7;border-right:1px solid #f1f1f1;-webkit-box-shadow:none;box-shadow:none}.tagsdiv .tagadd:active,.tagsdiv .tagadd:focus,.tagsdiv .tagadd:hover{outline:0;background:#2991b7;border-color:#20708e;color:#fff;-webkit-box-shadow:none;box-shadow:none}.tagsdiv .howto{color:#727272;font-style:italic;margin:10px 16px 6px 0}.ac_results{padding:0;margin:-1px -1px 0 0;list-style:none;position:absolute;z-index:10000;display:none;border:1px solid #d8d8d8;background-color:#fff;font-size:14px}.ac_results li{padding:6px 16px;white-space:nowrap;color:#101010;text-align:right}.ac_results .ac_over{background-color:#00a0d2;color:#fff;cursor:pointer}.ac_match{text-decoration:underline}.tagchecklist{padding:16px 28px 5px}.tagchecklist:after,.tagchecklist:before{content:"";display:table}.tagchecklist:after{clear:both}.tagchecklist span{display:block;margin-left:25px;float:right;font-size:13px;line-height:1.8;white-space:nowrap;cursor:default}@media (max-width:600px){.tagchecklist span{margin-bottom:15px;font-size:16px;line-height:1.3}}.tagchecklist .ntdelbutton{margin:1px -17px 0 0;cursor:pointer;width:20px;height:20px;display:block;float:right;text-indent:0;overflow:hidden;position:absolute;outline:0}.tagchecklist .ntdelbutton:before{content:"\f153";display:block;margin:2px 0;height:20px;width:20px;background:100% 0;color:#9ea7af;font:400 16px/1 dashicons;text-align:center;speak:none;-webkit-font-smoothing:antialiased}.tagchecklist .ntdelbutton:focus:before{color:#00a0d2}.tagsdiv+p{margin:0}.press-this .tagcloud-link{display:block;margin:0 16px 5px;padding:0;text-decoration:none;outline:0}.tagcloud-link:focus{text-decoration:underline}.popular-tags{border:none;line-height:2em;padding:8px 12px 12px;text-align:justify}.popular-tags a{padding:0 3px}.the-tagcloud{margin:0;padding:16px}.the-tagcloud a{text-decoration:none;outline:0}.the-tagcloud a:focus{text-decoration:underline}.tagcloud h3{margin:2px 0 12px}.add-category-name,input[type=search].categories-search{display:block;width:100%;padding:.85714em 1.07143em;border:0;-webkit-border-radius:0;border-radius:0;border-bottom:1px solid #e5e5e5;font-size:14px;-webkit-appearance:none;-moz-appearance:none;appearance:none}@media (max-width:600px){.add-category-name,input[type=search].categories-search{font-size:16px}}.press-this .add-cat-toggle{float:left;margin-top:-45px;line-height:20px;padding:12px 10px 8px;color:#0073aa}.press-this .add-cat-toggle:focus{text-decoration:none;color:#00a0d2}.press-this .add-cat-toggle.is-toggled{padding:10px}.press-this .add-cat-toggle.is-toggled .dashicons:before{content:"\f179"}.add-category{border-bottom:1px solid #e5e5e5}.add-category.is-hidden{display:none}.add-category .add-cat-submit{position:absolute;top:0;left:0;border:0;-webkit-border-radius:0;border-radius:0;padding:12px 16px;background:#f7f7f7;border-right:1px solid #f1f1f1}.add-category .add-cat-submit:active,.add-category .add-cat-submit:focus,.add-category .add-cat-submit:hover{outline:0;background:#2991b7;border-color:#20708e;color:#fff}.postform-wrapper{padding:12px}.postform{display:block;margin:0;width:100%;height:34px;-webkit-border-radius:0;border-radius:0;border:1px solid #e5e5e5;background:#fff;-webkit-background-size:20px 20px;background-size:20px 20px;overflow:hidden;line-height:21px;text-overflow:ellipsis;text-decoration:none;white-space:nowrap;cursor:pointer;outline:0}.postform:focus{border-color:#0073aa;-webkit-box-shadow:0 0 0 3px #00a0d2;box-shadow:0 0 0 3px #00a0d2;outline:0;-moz-outline:none;-moz-user-focus:ignore}.alert,.scan{border-bottom:1px solid #e5e5e5}.postform::-ms-expand{display:none}.postform::-ms-value{background:0 0;color:#727272}.postform:-moz-focusring{color:transparent;text-shadow:0 0 0 #727272}.categories-select,.categories-select ul{margin:0;padding:0;list-style:none}.category{position:relative;display:block;padding:13px 16px 14px;cursor:pointer;background:#fff}.category.selected:focus,.category:focus{outline:0;background:#00a0d2;color:#fff}.category.selected{-webkit-box-shadow:inset -6px 0 0 #00a0d2;box-shadow:inset -6px 0 0 #00a0d2;background:#E9F5F9}.category.selected:after{display:inline-block;content:"\f147";position:absolute;top:13px;left:0;width:20px;height:20px;margin-left:10px;font-size:20px;line-height:1;font-family:dashicons;text-decoration:inherit;color:#23282d;font-weight:400;font-style:normal;vertical-align:top;text-align:center;-webkit-transition:color .1s ease-in 0;transition:color .1s ease-in 0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.category.selected:focus:after{color:#fff}.categories-select ul .category{padding-right:24px}.categories-select ul ul .category{padding-right:32px}.categories-select ul ul ul .category{padding-right:40px}.categories-select ul ul ul ul .category{padding-right:48px}.categories-select ul ul ul ul ul .category{padding-right:56px}.categories-select ul ul ul ul ul ul .category{padding-right:64px}.categories-select .is-hidden{display:none}.categories-select .is-hidden.searched-parent{display:block}.categories-search-wrapper{position:relative}.categories-search-wrapper.is-hidden{display:none}.categories-search-wrapper label{position:absolute;top:50%;left:10px;margin-top:-10px;color:#9ea7af}html{overflow:auto;background:#fff;-webkit-box-shadow:10px 0 0 rgba(0,0,0,.3);box-shadow:10px 0 0 rgba(0,0,0,.3)}body{overflow-x:hidden;height:100%}@media (max-width:900px){body{font-size:16px}}@media (max-width:320px){body{font-size:14px}}.lt-ie9{overflow:visible}.adminbar{position:relative;width:100%;padding:0 .8em;min-height:3.2em;background:#23282d;color:#fff;z-index:9999}.adminbar:after,.adminbar:before{content:"";display:table}.adminbar:after{clear:both}.adminbar .dashicons{color:#999}.press-this .adminbar button{position:absolute;top:50%;left:6px;margin-top:-13px;padding:0 10px 1px;font-size:13px}.current-site{margin-top:.5625em;font-size:16px;line-height:44px;font-weight:400;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}@media (max-width:600px){.current-site{margin:3px 0 0}}.current-site-link{text-decoration:none}.current-site-link:focus{outline:0}.current-site-link:focus .current-site-name{text-decoration:underline}.current-site-name{color:#ededed}@media (max-width:320px){.adminbar{min-height:45px}.current-site{margin:0;font-size:14px}.current-site-name{font-weight:600}}.current-site .dashicons-wordpress{position:relative;top:-1px;margin-left:10px;vertical-align:middle}.options,.options.closed .on-open,.options.open .on-closed{display:none}@media (max-width:900px){.options{display:block}.scan form{-webkit-transition:opacity .3s ease-in-out;transition:opacity .3s ease-in-out}.scan.is-hidden form{opacity:.2;pointer-events:none}}.options-panel-back.is-hidden{display:none}.options:focus .dashicons{color:#fff;text-decoration:none}.options .dashicons{margin-top:3px}.options{color:#00a0d2}.alert{position:relative;margin:0;padding:16px 50px;font-size:14px}.alert:before{content:"";position:absolute;top:50%;right:30px;width:8px;height:8px;margin-top:-4px;-webkit-border-radius:50%;border-radius:50%;background:#00a0d2}@media (max-width:600px){.alert{padding:16px 35px}.alert:before{right:15px}}.alert.is-error:before{background:red}.scan{position:relative}.scan-url{display:block;border:0;padding:.85714em 1.07143em;font-size:14px;width:100%}@media (max-width:600px){.scan-url{font-size:16px}}.scan-submit{position:absolute;top:0;left:0;bottom:0;padding:0 1.07143em;background:#f7f7f7;border:0;border-right:1px solid #f1f1f1;-webkit-border-radius:0;border-radius:0;color:#555;font-size:14px;line-height:1.6}.scan-submit:focus,.scan-submit:hover{background:#008ec2;border-color:#006799;color:#fff;outline:0}.scan-submit:active{background:#0073aa;border-color:#006799;color:#fff}.scan-submit:visited{color:#555}.wrapper{position:relative;margin-bottom:60px;margin-left:320px}.wrapper:after,.wrapper:before{content:"";display:table}.wrapper:after{clear:both}@media (max-width:900px){.wrapper{margin:0;width:100%}}.editor-wrapper{overflow:auto;float:right;width:100%}.editor-wrapper:after,.editor-wrapper:before{content:"";display:table}.editor-wrapper:after{clear:both}.editor{padding:0 1.5em 4.75em;max-width:700px;margin:0 auto}.spinner{height:20px;width:20px;display:inline-block;visibility:hidden;background:url(../images/spinner.gif) center no-repeat;-webkit-background-size:20px 20px;background-size:20px 20px;opacity:.7;filter:alpha(opacity=70);line-height:1;vertical-align:middle}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.spinner{background-image:url(../images/spinner-2x.gif)}}.spinner.is-active{visibility:visible}@media (min-width:901px){.editor{max-width:760px}}@media (max-width:320px){.editor{padding:0}}.post-title,.post-title-placeholder{margin:0;padding:.83em 0;width:100%;border-bottom:1px solid #e5e5e5;font-size:32px;line-height:1.4;font-weight:700}.post-title-placeholder:active,.post-title-placeholder:focus,.post-title:active,.post-title:focus{outline:0;-webkit-box-shadow:inset 0 -3px 0 #00a0d2;box-shadow:inset 0 -3px 0 #00a0d2;border-color:#00a0d2}@media (max-width:900px){.post-title,.post-title-placeholder{font-size:24px}}@media (max-height:400px){.post-title,.post-title-placeholder{padding:15px 0;font-size:16px}}@media (max-width:320px){.post-title,.post-title-placeholder{font-size:16px;font-weight:600;padding:1.14286em 1.42857em}}.post-title{background:url(data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///////wAAACH5BAEHAAIALAAAAAABAAEAAAICVAEAOw==);background:0 0,none}.post-title:before{content:"\a0";display:inline-block;width:0;speak:none}.post-title-placeholder{position:absolute;border:0;color:#9ea7af;z-index:-1}.post-title-placeholder.is-hidden{display:none}.media-list-container{position:relative;padding:2px 0;border-bottom:1px solid #e5e5e5;display:none}.media-list-inner-container{overflow:auto;max-height:150px;max-height:40vw}.media-list-container.has-media{display:block}.media-list-inner-container:after,.media-list-inner-container:before{content:"";display:table}.media-list-inner-container:after{clear:both}.media-list{margin:0;padding:0}@media (min-width:321px){.media-list-inner-container{max-height:250px;max-height:40vw}}.wppt-all-media-list{list-style:none;margin:0;padding:0}.is-embed:focus,.suggested-media-thumbnail:focus{outline:0;-webkit-box-shadow:inset 0 0 0 3px #00a0d2;box-shadow:inset 0 0 0 3px #00a0d2}.suggested-media-thumbnail{position:relative;display:block;float:right;width:16.66%;padding:16.66% 16.66% 0 0;background-position:center;background-repeat:no-repeat;-webkit-background-size:cover;background-size:cover;background-color:#d8d8d8;color:#fff;color:rgba(255,255,255,.6);cursor:pointer}.suggested-media-thumbnail:active,.suggested-media-thumbnail:focus,.suggested-media-thumbnail:hover{color:#fff}.suggested-media-thumbnail:after,.suggested-media-thumbnail:before{display:inline-block;position:absolute;font-size:20px;line-height:1;font-family:dashicons;text-decoration:inherit;font-weight:400;font-style:normal;-webkit-transition:color .1s ease-in 0;transition:color .1s ease-in 0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.suggested-media-thumbnail:before{right:50%;top:50%;margin:-20px -20px 0 0;font-size:40px}.suggested-media-thumbnail:after{content:"\f132";left:3%;bottom:2%}@media (min-width:601px){.media-list-inner-container{max-height:200px;max-height:18.75vw}.suggested-media-thumbnail{width:12.5%;padding:12.5% 12.5% 0 0}}.is-embed:before{content:"\f104";color:#fff;color:rgba(255,255,255,.9)}.is-embed.is-audio:active:before,.is-embed.is-audio:focus:before,.is-embed.is-audio:hover:before,.is-embed.is-tweet:active:before,.is-embed.is-tweet:focus:before,.is-embed.is-tweet:hover:before{color:#fff}.is-embed.is-video{background-color:#23282d}.is-embed.is-video:active:before,.is-embed.is-video:focus:before,.is-embed.is-video:hover:before{color:rgba(255,255,255,.2)}.is-embed.is-video:before{content:"\f236"}.is-embed.is-audio{background-color:#ff7d44}.is-embed.is-audio:before{content:"\f127"}.is-embed.is-tweet{background-color:#55acee}.is-embed.is-tweet:before{content:"\f301"}.no-media{margin:0;padding:0;border:0}.press-this-actions{position:fixed;bottom:0;right:0;width:100%;background:#f1f1f1;background:rgba(241,241,241,.9);border-top:1px solid #e5e5e5}.add-media{float:right;margin:14px 30px 14px 0;font-size:0}@media (max-width:320px){.add-media{margin:10px 10px 10px 0}}.insert-media{color:#9ea7af;float:right;margin:0;padding:0;border:0;border-left:1px solid #e5e5e5;-webkit-border-radius:0;border-radius:0;background:0 0;-webkit-box-shadow:none;box-shadow:none;overflow:hidden}.insert-media:active,.insert-media:focus,.insert-media:hover{margin:0;background:0 0;border-color:#e5e5e5;color:#23282d}.insert-media:active,.insert-media:focus{outline:0;color:#00a0d2;text-decoration:none}.insert-media .dashicons{padding:11px;width:63px;height:58px;font-size:40px}@media (max-width:320px){.insert-media .dashicons{width:55px;height:49px;padding:14px;font-size:20px}}#wp-link-wrap,.post-actions{font-size:13px}.post-actions{float:left;margin:14px 0 14px 30px}@media (max-width:320px){.post-actions{margin:10px 0 10px 10px}}.publish-button .saving-draft,.publish-button.is-saving .publish{display:none}.publish-button.is-saving .saving-draft{display:inline}.editor .wp-media-buttons{float:none}.editor div.mce-toolbar-grp{padding:.71429em 0;background:0 0;border:0}@media (max-height:400px),(max-width:320px){.editor div.mce-toolbar-grp{padding:0}}.mce-stack-layout:after,.mce-stack-layout:before{content:"";display:table}.mce-stack-layout:after{clear:both}.mce-container.mce-toolbar{float:right}.mce-container.mce-toolbar:nth-child(2){float:left}@media (max-width:600px){.mce-first .mce-btn:nth-child(3),.mce-first .mce-btn:nth-child(4){position:absolute;margin:-1px;padding:0;height:1px;width:1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.mce-first .mce-btn:nth-child(3):focus,.mce-first .mce-btn:nth-child(4):focus{position:static;margin:1px;padding:inherit;height:auto;width:auto;overflow:visible;clip:auto;border:1px solid #999}}#wp-link-wrap input[type=text]{padding:3px 5px;margin:1px}@media screen and (max-width:782px){#wp-link-wrap{font-size:14px}#wp-link-wrap input[type=text]{padding:6px 10px}}#wp-link-wrap .howto{color:#666;font-style:italic}.options-panel{position:relative;float:left;margin-left:-320px;width:320px;border-right:1px solid #e5e5e5;font-size:14px;-webkit-box-shadow:-5001px 5000px 0 5000px #fff,-5000px 5000px 0 5000px #e5e5e5;box-shadow:-5001px 5000px 0 5000px #fff,-5000px 5000px 0 5000px #e5e5e5;outline:0}.options-panel-back{position:absolute;top:0;left:0;bottom:0;width:320px;outline:0}@media (max-width:900px){.press-this-actions{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0);-webkit-transition:-webkit-transform .3s ease-in-out;transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;transition:transform .3s ease-in-out,-webkit-transform .3s ease-in-out}.press-this-actions.is-hidden{-webkit-transform:translateY(100%);-ms-transform:translateY(100%);transform:translateY(100%)}.options-panel{background:#fff;-webkit-transform:translateX(100%);-ms-transform:translateX(100%);transform:translateX(100%);-webkit-transition:-webkit-transform .3s ease-in-out;transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;transition:transform .3s ease-in-out,-webkit-transform .3s ease-in-out}.options-panel.is-hidden{visibility:hidden}.options-panel.is-off-screen{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}}@media (max-width:320px){.options-panel{margin-left:-100%;width:100%;border:0;-webkit-box-shadow:-5001px 5000px 0 5000px #fff;box-shadow:-5001px 5000px 0 5000px #fff}.options-panel-back{width:100%}}.post-options{background:#fff;position:absolute;left:0;width:100%;overflow-x:hidden}.post-options .post-option-contents{margin-right:3px;color:#32373c}.post-option-forward:before{position:absolute;top:50%;left:8px;margin-top:-10px;content:"\f341"}.post-option,.setting-modal,.setting-title{position:relative}.post-option-back:before{content:"\f345"}.lt-ie9 .options-panel,.lt-ie9 .post-options{border-right:1px solid #e5e5e5}.lt-ie9 .post-options.is-off-screen{border:0}.post-options .post-option{display:block;width:100%;padding:13px 14px 13px 37px;border-bottom:1px solid #e5e5e5;text-decoration:none;text-align:right;color:#9ea7af;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-transition:-webkit-transform .3s ease-in-out;transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;transition:transform .3s ease-in-out,-webkit-transform .3s ease-in-out}.post-options .post-option:focus{outline:0;-webkit-box-shadow:inset -5px 0 0 #00a0d2;box-shadow:inset -5px 0 0 #00a0d2;border-color:#e5e5e5}.is-off-screen>.post-option{left:100%}.is-hidden>.post-option{visibility:hidden}.post-option-title{display:inline-block;margin:0 8px 0 0;font-size:14px;font-weight:400}.setting-modal{top:0;right:0;width:100%;overflow:hidden;-webkit-transition:-webkit-transform .3s ease-in-out;transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;transition:transform .3s ease-in-out,-webkit-transform .3s ease-in-out}.setting-modal.is-hidden{visibility:hidden;height:0}.setting-modal.is-off-screen{right:100%}@media (min-width:1px){.is-off-screen>.post-option{left:auto;-webkit-transform:translateX(100%);-ms-transform:translateX(100%);transform:translateX(100%)}.setting-modal.is-off-screen{right:0;-webkit-transform:translateX(-100%);-ms-transform:translateX(-100%);transform:translateX(-100%)}}.press-this .modal-close{display:block;width:100%;padding:13px 14px;border-bottom:1px solid #e5e5e5;color:#00a0d2;text-decoration:none;text-align:right}.press-this .modal-close:focus{outline:0;-webkit-box-shadow:inset -5px 0 0 #00a0d2;box-shadow:inset -5px 0 0 #00a0d2;border-color:#e5e5e5}.setting-title{top:-1px;margin-right:11px}#pressthis{color:#404040;resize:none;padding-top:30px;font-size:16px}.wp-editor-wrap .quicktags-toolbar{background:0 0;border:none}.wp-editor-wrap .wp-editor-tools{z-index:0}.wp-editor-wrap .wp-editor-tabs{padding:2px}.wp-editor-wrap .wp-switch-editor{top:0;margin:3px 5px 0 0;padding:3px 8px;background:#f5f5f5;color:#555;border-color:#ccc}.wp-editor-wrap .wp-switch-editor:hover{background:#fafafa;border-color:#999;color:#23282d}.wp-editor-wrap.html-active .switch-html,.wp-editor-wrap.tmce-active .switch-tmce{background:#fff;border-color:#d8d8d8} \ No newline at end of file diff --git a/wp-admin/css/press-this.css b/wp-admin/css/press-this.css index b99ba1a..3374a06 100644 --- a/wp-admin/css/press-this.css +++ b/wp-admin/css/press-this.css @@ -312,7 +312,6 @@ strong { * Pushing buttons is what I do. */ -.button-subtle, .scan-submit { display: inline-block; margin: 0; @@ -329,67 +328,6 @@ strong { -webkit-appearance: none; } -.button-subtle { - background: none; - border: 0; - color: #0073aa; -} - -.button-subtle:visited { - color: #0073aa; -} - -.button-subtle:focus, -.button-subtle:hover, -.button-subtle:active, -.edit-post-link:focus, -.edit-post-link:hover, -.edit-post-link:active { - color: #00a0d2; -} - -.button-subtle:focus, -.button-subtle:active, -.edit-post-link:focus, -.edit-post-link:active { - outline: 0; - text-decoration: underline; -} - -.preview-button { - margin-right: 5px; -} - -.button-reset { - margin: 0; - padding: 0; - border: 0; - background: none; - cursor: pointer; - -webkit-appearance: none; -} - -.button-reset:focus { - outline: 0; -} - -.button-link { - margin: 0; - padding: 0; - border: 0; - background: none; - color: #0073aa; - cursor: pointer; - -webkit-appearance: none; -} - -.button-link:hover, -.button-link:active, -.button-link:focus { - color: #00a0d2; - text-decoration: underline; -} - .split-button { position: relative; display: inline-block; @@ -421,7 +359,7 @@ strong { height: 0; border-style: solid; border-color: transparent; - content: ''; + content: ""; } .split-button-body:before { @@ -443,6 +381,7 @@ strong { margin: 0; width: 100%; text-align: left; + line-height: 2; } .is-open .split-button-body { @@ -462,13 +401,17 @@ strong { -webkit-appearance: none; line-height: 2; padding: 0 10px 1px; - background: #00a0d2; - border-color: #0073aa; + background: #0085ba; + border-color: #0073aa #006799 #006799; border-width: 1px; border-style: solid; - -webkit-box-shadow: inset 0 1px 0 rgba( 120, 200, 230, 0.5), 0 1px 0 rgba( 0, 0, 0, 0.15 ); - box-shadow: inset 0 1px 0 rgba( 120, 200, 230, 0.5 ), 0 1px 0 rgba( 0, 0, 0, 0.15 ); + -webkit-box-shadow: 0 1px 0 #006799; + box-shadow: 0 1px 0 #006799; color: #fff; + text-shadow: 0 -1px 1px #006799, + 1px 0 1px #006799, + 0 1px 1px #006799, + -1px 0 1px #006799; } .split-button-primary { @@ -486,42 +429,37 @@ strong { border-top-right-radius: 3px; -webkit-border-bottom-right-radius: 3px; border-bottom-right-radius: 3px; - border-left: 0 none; + border-left: 1px solid #006799; float: right; } .split-button-toggle i { margin: 4px 20px 3px 0; padding: 0 10px; - border-left: 1px solid #fff; } .split-button-primary:hover, .split-button-toggle:hover { outline: none; - background: #0091cd; - border-color: #0073aa; + background: #008ec2; + border-color: #006799; } .split-button-primary:focus, .split-button-toggle:focus { outline: none; - border-color: #0e3950; - -webkit-box-shadow: inset 0 1px 0 rgba( 120, 200, 230, 0.6 ), - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); - box-shadow: inset 0 1px 0 rgba( 120, 200, 230, 0.6 ), - 0 0 0 1px #5b9dd9, - 0 0 2px 1px rgba(30, 140, 190, .8); + -webkit-box-shadow: 0 1px 0 #0073aa, + 0 0 2px 1px #33b3db; + box-shadow: 0 1px 0 #0073aa, + 0 0 2px 1px #33b3db; } .split-button-primary:active, .split-button-toggle:active { background: #0073aa; - border-color: #005082; - color: rgba( 255, 255, 255, 0.95 ); - -webkit-box-shadow: inset 0 1px 0 rgba( 0, 0, 0, 0.1 ); - box-shadow: inset 0 1px 0 rgba( 0, 0, 0, 0.1 ); + border-color: #006799; + -webkit-box-shadow: inset 0 2px 10px #006799, 0 1px 0 #0073aa; + box-shadow: inset 0 2px 10px #006799, 0 1px 0 #0073aa; } /** @@ -899,7 +837,7 @@ dd { } .tagchecklist .ntdelbutton:before { - content: '\f153'; + content: "\f153"; display: block; margin: 2px 0; height: 20px; @@ -922,9 +860,10 @@ dd { margin: 0; } -.tagcloud-link { +.press-this .tagcloud-link { display: block; - padding: 0 16px; + margin: 0 16px 5px; + padding: 0; text-decoration: none; outline: 0; } @@ -991,23 +930,24 @@ input[type="search"].categories-search, } } -.add-cat-toggle { +.press-this .add-cat-toggle { float: right; margin-top: -45px; line-height: 20px; padding: 12px 10px 8px; + color: #0073aa; } -.add-cat-toggle:focus { +.press-this .add-cat-toggle:focus { text-decoration: none; color: #00a0d2; } -.add-cat-toggle.is-toggled { +.press-this .add-cat-toggle.is-toggled { padding: 10px; } -.add-cat-toggle.is-toggled .dashicons:before { +.press-this .add-cat-toggle.is-toggled .dashicons:before { content: "\f179"; } @@ -1261,11 +1201,13 @@ html { color: #999; } -.adminbar button { +.press-this .adminbar button { position: absolute; top: 50%; right: 6px; margin-top: -13px; + padding: 0 10px 1px; + font-size: 13px; } @media (max-width: 320px) { @@ -1364,7 +1306,7 @@ html { } .alert:before { - content: ''; + content: ""; position: absolute; top: 50%; left: 30px; @@ -1438,15 +1380,15 @@ html { .scan-submit:hover, .scan-submit:focus { - background: #2991b7; - border-color: #20708e; + background: #008ec2; + border-color: #006799; color: #fff; outline: 0; } .scan-submit:active { - background: #2581a2; - border-color: #20708e; + background: #0073aa; + border-color: #006799; color: #fff; } @@ -1596,7 +1538,7 @@ html { .post-title:before { /* Keeps empty container from collapsing */ - content: '\a0'; + content: "\a0"; display: inline-block; width: 0; speak: none; @@ -1799,7 +1741,9 @@ html { -ms-transform: translateY(0); transform: translateY(0); -webkit-transition: -webkit-transform .3s ease-in-out; + transition: -webkit-transform .3s ease-in-out; transition: transform .3s ease-in-out; + transition: transform .3s ease-in-out, -webkit-transform .3s ease-in-out; } .press-this-actions.is-hidden { -webkit-transform: translateY(100%); @@ -1879,13 +1823,6 @@ html { } } -.edit-post-link { - font-size: 13px; - display: inline-block; - text-decoration: none; - padding: 0 10px; -} - .publish-button .saving-draft, .publish-button.is-saving .publish { display: none; @@ -2010,7 +1947,9 @@ html { -ms-transform: translateX(-100%); transform: translateX(-100%); -webkit-transition: -webkit-transform .3s ease-in-out; + transition: -webkit-transform .3s ease-in-out; transition: transform .3s ease-in-out; + transition: transform .3s ease-in-out, -webkit-transform .3s ease-in-out; } .options-panel.is-hidden { @@ -2088,13 +2027,16 @@ html { white-space: nowrap; overflow: hidden; -webkit-transition: -webkit-transform .3s ease-in-out; + transition: -webkit-transform .3s ease-in-out; transition: transform .3s ease-in-out; + transition: transform .3s ease-in-out, -webkit-transform .3s ease-in-out; } .post-options .post-option:focus { outline: 0; -webkit-box-shadow: inset 5px 0 0 #00a0d2; box-shadow: inset 5px 0 0 #00a0d2; + border-color: #e5e5e5; } .is-off-screen > .post-option { @@ -2128,7 +2070,9 @@ html { width: 100%; overflow: hidden; -webkit-transition: -webkit-transform .3s ease-in-out; + transition: -webkit-transform .3s ease-in-out; transition: transform .3s ease-in-out; + transition: transform .3s ease-in-out, -webkit-transform .3s ease-in-out; } .setting-modal.is-hidden { @@ -2149,7 +2093,7 @@ html { } } -.modal-close { +.press-this .modal-close { display: block; width: 100%; padding: 13px 14px; @@ -2159,10 +2103,11 @@ html { text-align: left; } -.modal-close:focus { +.press-this .modal-close:focus { outline: 0; -webkit-box-shadow: inset 5px 0 0 #00a0d2; box-shadow: inset 5px 0 0 #00a0d2; + border-color: #e5e5e5; } .setting-title { diff --git a/wp-admin/css/press-this.min.css b/wp-admin/css/press-this.min.css index 67e59e1..4ce6fa5 100644 --- a/wp-admin/css/press-this.min.css +++ b/wp-admin/css/press-this.min.css @@ -1 +1 @@ -pre,textarea{overflow:auto}body,fieldset{margin:0}.screen-reader-text,fieldset,legend,td,th{padding:0}.adminbar:after,.clearfix:after,.editor-wrapper:after,.mce-stack-layout:after,.media-list-inner-container:after,.tagchecklist:after,.wrapper:after,h1,h2,h3,h4,h5,h6{clear:both}b,dt,optgroup,strong{font-weight:700}.current-site,.post-options .post-option,.postform{text-overflow:ellipsis;white-space:nowrap}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}*,:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}@media only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (min-resolution:144dpi){*,:after,:before{-webkit-font-smoothing:antialiased}}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background:0 0}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}fieldset,img,legend{border:0}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;height:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}table{border-collapse:collapse;border-spacing:0}.clearfix:after,.clearfix:before{content:"";display:table}.hide-if-js{display:none}.screen-reader-text{position:absolute;margin:-1px;height:1px;width:1px;overflow:hidden;clip:rect(0 0 0 0);border:0}body,button,input,select,textarea{color:#404040;font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:20px;font-weight:400;line-height:1.6}p{margin-bottom:1.5em}.button-subtle,.scan-submit{display:inline-block;margin:0;padding:0 10px 1px;border-width:1px;border-style:solid;-webkit-border-radius:3px;border-radius:3px;font-size:13px;line-height:2;text-decoration:none;white-space:nowrap;cursor:pointer;-webkit-appearance:none}.button-link,.button-reset{cursor:pointer;-webkit-appearance:none;padding:0;border:0;background:0 0}.button-subtle{background:0 0;border:0;color:#0073aa}.button-subtle:visited{color:#0073aa}.button-subtle:active,.button-subtle:focus,.button-subtle:hover,.edit-post-link:active,.edit-post-link:focus,.edit-post-link:hover{color:#00a0d2}.button-subtle:active,.button-subtle:focus,.edit-post-link:active,.edit-post-link:focus{outline:0;text-decoration:underline}.preview-button{margin-right:5px}.button-reset{margin:0}.button-reset:focus{outline:0}.button-link{margin:0;color:#0073aa}.button-link:active,.button-link:focus,.button-link:hover{color:#00a0d2;text-decoration:underline}.split-button{position:relative;display:inline-block;vertical-align:middle}.split-button-body{display:none;position:absolute;bottom:39px;right:0;border:1px solid #ddd;background-color:#fff;min-width:180px;max-width:100%;margin:0;padding:8px;list-style:none;-webkit-box-shadow:1px 0 4px rgba(0,0,0,.15);box-shadow:1px 0 4px rgba(0,0,0,.15)}.split-button-body:after,.split-button-body:before{position:absolute;right:12px;display:block;width:0;height:0;border-style:solid;border-color:transparent;content:''}.split-button-body:before{bottom:-18px;border-top-color:#ccc;border-width:9px;right:11px}.split-button-body:after{bottom:-16px;border-top-color:#fff;border-width:8px}.split-button-body .split-button-option{display:block;padding:5px 15px;margin:0;width:100%;text-align:left}.is-open .split-button-body{display:block}.split-button-primary,.split-button-toggle{-webkit-border-radius:0;border-radius:0;display:block;margin:0;font-size:13px;text-decoration:none;white-space:nowrap;cursor:pointer;-webkit-appearance:none;line-height:2;padding:0 10px 1px;background:#00a0d2;border-color:#0073aa;border-width:1px;border-style:solid;-webkit-box-shadow:inset 0 1px 0 rgba(120,200,230,.5),0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 rgba(120,200,230,.5),0 1px 0 rgba(0,0,0,.15);color:#fff}.split-button-primary{-webkit-border-top-left-radius:3px;border-top-left-radius:3px;-webkit-border-bottom-left-radius:3px;border-bottom-left-radius:3px;border-right:0 none;float:left}.split-button-toggle{padding:0;-webkit-border-top-right-radius:3px;border-top-right-radius:3px;-webkit-border-bottom-right-radius:3px;border-bottom-right-radius:3px;border-left:0 none;float:right}.split-button-toggle i{margin:4px 20px 3px 0;padding:0 10px;border-left:1px solid #fff}.split-button-primary:hover,.split-button-toggle:hover{outline:0;background:#0091cd;border-color:#0073aa}.split-button-primary:focus,.split-button-toggle:focus{outline:0;border-color:#0e3950;-webkit-box-shadow:inset 0 1px 0 rgba(120,200,230,.6),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:inset 0 1px 0 rgba(120,200,230,.6),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.split-button-primary:active,.split-button-toggle:active{background:#0073aa;border-color:#005082;color:rgba(255,255,255,.95);-webkit-box-shadow:inset 0 1px 0 rgba(0,0,0,.1);box-shadow:inset 0 1px 0 rgba(0,0,0,.1)}button,input,select,textarea{font-size:100%;margin:0;vertical-align:baseline}[type=checkbox],[type=radio]{padding:0}[type=search]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}[type=search]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}[type=text],[type=email],[type=url],[type=password],[type=search],textarea{padding:.4em .75em;color:#32373c;border:1px solid #ccc}[type=text]:focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=search]:focus,textarea:focus{color:#32373c;outline:0}textarea{padding-left:3px;vertical-align:top}a,a:visited{color:#0073aa}a:active,a:focus,a:hover{color:#00a0d2}ol,ul{margin:0 0 1.5em 3em}ul{list-style:disc}ol{list-style:decimal}li>ol,li>ul{margin-bottom:0;margin-left:1.5em}dd{margin:0 1.5em 1.5em}#post-formats-select br{display:none}.post-format{width:1px;height:1px;position:absolute;top:-9999px}.lt-ie9 .post-format{margin:17px 12px 0 13px;position:static;top:auto;float:left;width:16px;height:16px}.add-category,.post-format-icon,.tagsdiv .ajaxtag,.tagsdiv .newtag{position:relative}.post-format-icon{display:block;padding:13px 2px 14px 13px;cursor:pointer}.post-format-icon:after,.post-format-icon:before{content:"";display:inline-block;width:20px;height:20px;margin-right:10px;font-size:20px;line-height:1;font-family:dashicons;text-decoration:inherit;color:#9ea7af;font-style:normal;text-align:center;transition:color .1s ease-in 0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.category.selected:after,.post-format-icon:after,.post-format-icon:before{font-weight:400;vertical-align:top;-webkit-transition:color .1s ease-in 0}.post-format-icon:before{content:"\f109"}.post-format-icon:after{display:none;content:"\f147";float:right}.post-format:checked+.post-format-icon{-webkit-box-shadow:inset 6px 0 0 #00a0d2;box-shadow:inset 6px 0 0 #00a0d2;background:rgba(46,162,204,.1)}.post-format:checked+.post-format-icon:after,.post-format:checked+.post-format-icon:before{color:#32373c}.post-format:focus+.post-format-icon{background:#00a0d2;color:#fff}.post-format:focus+.post-format-icon:after,.post-format:focus+.post-format-icon:before{color:#fff}.post-format:checked+.post-format-icon:after{display:block}.lt-ie9 .post-format-icon{margin-left:16px}.post-format-aside:before{content:"\f123"}.post-format-image:before{content:"\f128"}.post-format-video:before{content:"\f126"}.post-format-audio:before{content:"\f127"}.post-format-quote:before{content:"\f122"}.post-format-link:before{content:"\f103"}.post-format-gallery:before{content:"\f161"}.tagsdiv p{margin:0}.tagsdiv .newtag{display:block;padding:11px 58px 11px 16px;width:100%;border:0;border-bottom:1px solid #e5e5e5;font-size:16px}.tagsdiv .tagadd{position:absolute;top:0;right:0;bottom:1px;border:0;-webkit-border-radius:0;border-radius:0;margin:0;padding:0 16px;background:#f7f7f7;border-left:1px solid #f1f1f1;-webkit-box-shadow:none;box-shadow:none}.tagsdiv .tagadd:active,.tagsdiv .tagadd:focus,.tagsdiv .tagadd:hover{outline:0;background:#2991b7;border-color:#20708e;color:#fff;-webkit-box-shadow:none;box-shadow:none}.tagsdiv .howto{color:#727272;font-style:italic;margin:10px 0 6px 16px}.ac_results{padding:0;margin:-1px 0 0 -1px;list-style:none;position:absolute;z-index:10000;display:none;border:1px solid #d8d8d8;background-color:#fff;font-size:14px}.ac_results li{padding:6px 16px;white-space:nowrap;color:#101010;text-align:left}.ac_results .ac_over{background-color:#00a0d2;color:#fff;cursor:pointer}.ac_match{text-decoration:underline}.tagchecklist{padding:16px 28px 5px}.tagchecklist:after,.tagchecklist:before{content:"";display:table}.tagchecklist span{display:block;margin-right:25px;float:left;font-size:13px;line-height:1.8;white-space:nowrap;cursor:default}@media (max-width:600px){.tagchecklist span{margin-bottom:15px;font-size:16px;line-height:1.3}}.tagchecklist .ntdelbutton{margin:1px 0 0 -17px;cursor:pointer;width:20px;height:20px;display:block;float:left;text-indent:0;overflow:hidden;position:absolute;outline:0}.tagchecklist .ntdelbutton:before{content:'\f153';display:block;margin:2px 0;height:20px;width:20px;background:0 0;color:#9ea7af;font:400 16px/1 dashicons;text-align:center;speak:none;-webkit-font-smoothing:antialiased}.category.selected:after,.suggested-media-thumbnail:after,.suggested-media-thumbnail:before{font-family:dashicons;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.tagchecklist .ntdelbutton:focus:before{color:#00a0d2}.tagsdiv+p{margin:0}.tagcloud-link{display:block;padding:0 16px;text-decoration:none;outline:0}.tagcloud-link:focus{text-decoration:underline}.popular-tags{border:none;line-height:2em;padding:8px 12px 12px;text-align:justify}.popular-tags a{padding:0 3px}.the-tagcloud{margin:0;padding:16px}.the-tagcloud a{text-decoration:none;outline:0}.the-tagcloud a:focus{text-decoration:underline}.tagcloud h3{margin:2px 0 12px}.add-category-name,input[type=search].categories-search{display:block;width:100%;padding:.85714em 1.07143em;border:0;-webkit-border-radius:0;border-radius:0;border-bottom:1px solid #e5e5e5;font-size:14px;-webkit-appearance:none;-moz-appearance:none;appearance:none}@media (max-width:600px){.add-category-name,input[type=search].categories-search{font-size:16px}}.add-cat-toggle{float:right;margin-top:-45px;line-height:20px;padding:12px 10px 8px}.add-cat-toggle:focus{text-decoration:none;color:#00a0d2}.add-cat-toggle.is-toggled{padding:10px}.add-cat-toggle.is-toggled .dashicons:before{content:"\f179"}.add-category{border-bottom:1px solid #e5e5e5}.add-category.is-hidden{display:none}.add-category .add-cat-submit{position:absolute;top:0;right:0;border:0;-webkit-border-radius:0;border-radius:0;padding:12px 16px;background:#f7f7f7;border-left:1px solid #f1f1f1}.alert,.scan{border-bottom:1px solid #e5e5e5}.add-category .add-cat-submit:active,.add-category .add-cat-submit:focus,.add-category .add-cat-submit:hover{outline:0;background:#2991b7;border-color:#20708e;color:#fff}.postform-wrapper{padding:12px}.postform{display:block;margin:0;width:100%;height:34px;-webkit-border-radius:0;border-radius:0;border:1px solid #e5e5e5;background:#fff;-webkit-background-size:20px 20px;background-size:20px 20px;overflow:hidden;line-height:21px;text-decoration:none;vertical-align:top;cursor:pointer;outline:0}.postform:focus{border-color:#0073aa;-webkit-box-shadow:0 0 0 3px #00a0d2;box-shadow:0 0 0 3px #00a0d2;outline:0;-moz-outline:none;-moz-user-focus:ignore}.postform::-ms-expand{display:none}.postform::-ms-value{background:0 0;color:#727272}.postform:-moz-focusring{color:transparent;text-shadow:0 0 0 #727272}.categories-select,.categories-select ul{margin:0;padding:0;list-style:none}.category{position:relative;display:block;padding:13px 16px 14px;cursor:pointer;background:#fff}.category.selected:focus,.category:focus{outline:0;background:#00a0d2;color:#fff}.category.selected{-webkit-box-shadow:inset 6px 0 0 #00a0d2;box-shadow:inset 6px 0 0 #00a0d2;background:#E9F5F9}.category.selected:after{display:inline-block;content:"\f147";position:absolute;top:13px;right:0;width:20px;height:20px;margin-right:10px;font-size:20px;line-height:1;text-decoration:inherit;color:#23282d;text-align:center;transition:color .1s ease-in 0}.category.selected:focus:after{color:#fff}.categories-select ul .category{padding-left:24px}.categories-select ul ul .category{padding-left:32px}.categories-select ul ul ul .category{padding-left:40px}.categories-select ul ul ul ul .category{padding-left:48px}.categories-select ul ul ul ul ul .category{padding-left:56px}.categories-select ul ul ul ul ul ul .category{padding-left:64px}.categories-select .is-hidden{display:none}.categories-select .is-hidden.searched-parent{display:block}.categories-search-wrapper{position:relative}.categories-search-wrapper.is-hidden{display:none}.categories-search-wrapper label{position:absolute;top:50%;right:10px;margin-top:-10px;color:#9ea7af}html{overflow:auto;background:#fff;-webkit-box-shadow:-10px 0 0 rgba(0,0,0,.3);box-shadow:-10px 0 0 rgba(0,0,0,.3)}body{overflow-x:hidden;height:100%}@media (max-width:900px){body{font-size:16px}}.lt-ie9{overflow:visible}.adminbar{position:relative;width:100%;padding:0 .8em;min-height:3.2em;background:#23282d;color:#fff;z-index:9999}.adminbar:after,.adminbar:before{content:"";display:table}.adminbar .dashicons{color:#999}.adminbar button{position:absolute;top:50%;right:6px;margin-top:-13px}@media (max-width:320px){body{font-size:14px}.adminbar{min-height:45px}}.current-site{margin-top:.5625em;font-size:16px;line-height:44px;font-weight:400;overflow:hidden}@media (max-width:600px){.current-site{margin:3px 0 0}}.current-site-link{text-decoration:none}.current-site-link:focus{outline:0}.current-site-link:focus .current-site-name{text-decoration:underline}.current-site-name{color:#ededed}@media (max-width:320px){.current-site{margin:0;font-size:14px}.current-site-name{font-weight:600}}.current-site .dashicons-wordpress{position:relative;top:-1px;margin-right:10px;vertical-align:middle}.options,.options.closed .on-open,.options.open .on-closed{display:none}@media (max-width:900px){.options{display:block}}.options-panel-back.is-hidden{display:none}.options:focus .dashicons{color:#fff;text-decoration:none}.options .dashicons{margin-top:3px}.options{color:#00a0d2}.alert{position:relative;margin:0;padding:16px 50px;font-size:14px}.alert:before{content:'';position:absolute;top:50%;left:30px;width:8px;height:8px;margin-top:-4px;-webkit-border-radius:50%;border-radius:50%;background:#00a0d2}@media (max-width:600px){.alert{padding:16px 35px}.alert:before{left:15px}}.alert.is-error:before{background:red}.scan{position:relative}.scan-url{display:block;border:0;padding:.85714em 1.07143em;font-size:14px;width:100%}.editor-wrapper:after,.editor-wrapper:before,.wrapper:after,.wrapper:before{content:"";display:table}@media (max-width:600px){.scan-url{font-size:16px}}.scan-submit{position:absolute;top:0;right:0;bottom:0;padding:0 1.07143em;background:#f7f7f7;border:0;border-left:1px solid #f1f1f1;-webkit-border-radius:0;border-radius:0;color:#555;font-size:14px;line-height:1.6}.scan-submit:focus,.scan-submit:hover{background:#2991b7;border-color:#20708e;color:#fff;outline:0}.scan-submit:active{background:#2581a2;border-color:#20708e;color:#fff}.scan-submit:visited{color:#555}.wrapper{position:relative;margin-bottom:60px;margin-right:320px}@media (max-width:900px){.scan form{-webkit-transition:opacity .3s ease-in-out;transition:opacity .3s ease-in-out}.scan.is-hidden form{opacity:.2;pointer-events:none}.wrapper{margin:0;width:100%}}.editor-wrapper{overflow:auto;float:left;width:100%}.editor{padding:0 1.5em 4.75em;max-width:700px;margin:0 auto}.spinner{height:20px;width:20px;display:inline-block;visibility:hidden;background:url(../images/spinner.gif) center no-repeat;-webkit-background-size:20px 20px;background-size:20px 20px;opacity:.7;filter:alpha(opacity=70);line-height:1;vertical-align:middle}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.spinner{background-image:url(../images/spinner-2x.gif)}}.spinner.is-active{visibility:visible}@media (min-width:901px){.editor{max-width:760px}}@media (max-width:320px){.editor{padding:0}}.post-title,.post-title-placeholder{margin:0;padding:.83em 0;width:100%;border-bottom:1px solid #e5e5e5;font-size:32px;line-height:1.4;font-weight:700}.post-title-placeholder:active,.post-title-placeholder:focus,.post-title:active,.post-title:focus{outline:0;-webkit-box-shadow:inset 0 -3px 0 #00a0d2;box-shadow:inset 0 -3px 0 #00a0d2;border-color:#00a0d2}@media (max-width:900px){.post-title,.post-title-placeholder{font-size:24px}}@media (max-height:400px){.post-title,.post-title-placeholder{padding:15px 0;font-size:16px}}@media (max-width:320px){.post-title,.post-title-placeholder{font-size:16px;font-weight:600;padding:1.14286em 1.42857em}}.post-title{background:url(data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///////wAAACH5BAEHAAIALAAAAAABAAEAAAICVAEAOw==);background:0 0,none}.post-title:before{content:'\a0';display:inline-block;width:0;speak:none}.post-title-placeholder{position:absolute;border:0;color:#9ea7af;z-index:-1}.is-embed.is-audio:active:before,.is-embed.is-audio:focus:before,.is-embed.is-audio:hover:before,.is-embed.is-tweet:active:before,.is-embed.is-tweet:focus:before,.is-embed.is-tweet:hover:before,.is-embed:before,.suggested-media-thumbnail:active,.suggested-media-thumbnail:focus,.suggested-media-thumbnail:hover{color:#fff}.post-title-placeholder.is-hidden{display:none}.media-list-container{position:relative;padding:2px 0;border-bottom:1px solid #e5e5e5;display:none}.media-list-inner-container{overflow:auto;max-height:150px;max-height:40vw}.media-list-container.has-media{display:block}.media-list-inner-container:after,.media-list-inner-container:before{content:"";display:table}.media-list{margin:0;padding:0}@media (min-width:321px){.media-list-inner-container{max-height:250px;max-height:40vw}}.wppt-all-media-list{list-style:none;margin:0;padding:0}.is-embed:focus,.suggested-media-thumbnail:focus{outline:0;-webkit-box-shadow:inset 0 0 0 3px #00a0d2;box-shadow:inset 0 0 0 3px #00a0d2}.suggested-media-thumbnail{position:relative;display:block;float:left;width:16.66%;padding:16.66% 0 0 16.66%;background-position:center;background-repeat:no-repeat;-webkit-background-size:cover;background-size:cover;background-color:#d8d8d8;color:#fff;color:rgba(255,255,255,.6);cursor:pointer}.suggested-media-thumbnail:after,.suggested-media-thumbnail:before{display:inline-block;position:absolute;font-size:20px;line-height:1;text-decoration:inherit;font-weight:400;-webkit-transition:color .1s ease-in 0;transition:color .1s ease-in 0}.suggested-media-thumbnail:before{left:50%;top:50%;margin:-20px 0 0 -20px;font-size:40px}.suggested-media-thumbnail:after{content:"\f132";right:3%;bottom:2%}@media (min-width:601px){.media-list-inner-container{max-height:200px;max-height:18.75vw}.suggested-media-thumbnail{width:12.5%;padding:12.5% 0 0 12.5%}}.is-embed:before{content:"\f104";color:rgba(255,255,255,.9)}.is-embed.is-video{background-color:#23282d}.is-embed.is-video:active:before,.is-embed.is-video:focus:before,.is-embed.is-video:hover:before{color:rgba(255,255,255,.2)}.is-embed.is-video:before{content:"\f236"}.is-embed.is-audio{background-color:#ff7d44}.is-embed.is-audio:before{content:"\f127"}.is-embed.is-tweet{background-color:#55acee}.is-embed.is-tweet:before{content:"\f301"}.no-media{margin:0;padding:0;border:0}.press-this-actions{position:fixed;bottom:0;left:0;width:100%;background:#f1f1f1;background:rgba(241,241,241,.9);border-top:1px solid #e5e5e5}.add-media{float:left;margin:14px 0 14px 30px;font-size:0}@media (max-width:320px){.add-media{margin:10px 0 10px 10px}}.insert-media{color:#9ea7af;float:left;margin:0;padding:0;border:0;border-right:1px solid #e5e5e5;-webkit-border-radius:0;border-radius:0;background:0 0;-webkit-box-shadow:none;box-shadow:none;overflow:hidden}.insert-media:active,.insert-media:focus,.insert-media:hover{margin:0;background:0 0;border-color:#e5e5e5;color:#23282d}.insert-media:active,.insert-media:focus{outline:0;color:#00a0d2;text-decoration:none}.insert-media .dashicons{padding:11px;width:63px;height:58px;font-size:40px}@media (max-width:320px){.insert-media .dashicons{width:55px;height:49px;padding:14px;font-size:20px}}#wp-link-wrap,.post-actions{font-size:13px}.post-actions{float:right;margin:14px 30px 14px 0}@media (max-width:320px){.post-actions{margin:10px 10px 10px 0}}.edit-post-link{font-size:13px;display:inline-block;text-decoration:none;padding:0 10px}.publish-button .saving-draft,.publish-button.is-saving .publish{display:none}.publish-button.is-saving .saving-draft{display:inline}.editor .wp-media-buttons{float:none}.editor div.mce-toolbar-grp{padding:.71429em 0;background:0 0;border:0}@media (max-height:400px),(max-width:320px){.editor div.mce-toolbar-grp{padding:0}}.mce-stack-layout:after,.mce-stack-layout:before{content:"";display:table}.mce-container.mce-toolbar{float:left}.mce-container.mce-toolbar:nth-child(2){float:right}@media (max-width:600px){.mce-first .mce-btn:nth-child(3),.mce-first .mce-btn:nth-child(4){position:absolute;margin:-1px;padding:0;height:1px;width:1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.mce-first .mce-btn:nth-child(3):focus,.mce-first .mce-btn:nth-child(4):focus{position:static;margin:1px;padding:inherit;height:auto;width:auto;overflow:visible;clip:auto;border:1px solid #999}}#wp-link-wrap input[type=text]{padding:3px 5px;margin:1px}@media screen and (max-width:782px){#wp-link-wrap{font-size:14px}#wp-link-wrap input[type=text]{padding:6px 10px}}#wp-link-wrap .howto{color:#666;font-style:italic}.options-panel{position:relative;float:right;margin-right:-320px;width:320px;border-left:1px solid #e5e5e5;font-size:14px;-webkit-box-shadow:5001px 5000px 0 5000px #fff,5000px 5000px 0 5000px #e5e5e5;box-shadow:5001px 5000px 0 5000px #fff,5000px 5000px 0 5000px #e5e5e5;outline:0}.options-panel-back{position:absolute;top:0;right:0;bottom:0;width:320px;outline:0}@media (max-width:900px){.press-this-actions{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0);-webkit-transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out}.press-this-actions.is-hidden{-webkit-transform:translateY(100%);-ms-transform:translateY(100%);transform:translateY(100%)}.options-panel{background:#fff;-webkit-transform:translateX(-100%);-ms-transform:translateX(-100%);transform:translateX(-100%);-webkit-transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out}.options-panel.is-hidden{visibility:hidden}.options-panel.is-off-screen{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}}@media (max-width:320px){.options-panel{margin-right:-100%;width:100%;border:0;-webkit-box-shadow:5001px 5000px 0 5000px #fff;box-shadow:5001px 5000px 0 5000px #fff}.options-panel-back{width:100%}}.post-options{background:#fff;position:absolute;right:0;width:100%;overflow-x:hidden}.post-options .post-option-contents{margin-left:3px;color:#32373c}.post-option-forward:before{position:absolute;top:50%;right:8px;margin-top:-10px;content:"\f345"}.post-option,.setting-modal,.setting-title{position:relative}.post-option-back:before{content:"\f341"}.lt-ie9 .options-panel,.lt-ie9 .post-options{border-left:1px solid #e5e5e5}.lt-ie9 .post-options.is-off-screen{border:0}.modal-close,.post-options .post-option{border-bottom:1px solid #e5e5e5;text-decoration:none;text-align:left}.post-options .post-option{display:block;padding:13px 37px 13px 14px;color:#9ea7af;transition:transform .3s ease-in-out}.post-options .post-option,.setting-modal{width:100%;overflow:hidden;-webkit-transition:-webkit-transform .3s ease-in-out}.post-options .post-option:focus{outline:0;-webkit-box-shadow:inset 5px 0 0 #00a0d2;box-shadow:inset 5px 0 0 #00a0d2}.is-off-screen>.post-option{right:100%}.is-hidden>.post-option{visibility:hidden}.post-option-title{display:inline-block;margin:0 0 0 8px;font-size:14px;font-weight:400}.setting-modal{top:0;left:0;transition:transform .3s ease-in-out}.setting-modal.is-hidden{visibility:hidden;height:0}.setting-modal.is-off-screen{left:100%}@media (min-width:1px){.is-off-screen>.post-option{right:auto;-webkit-transform:translateX(-100%);-ms-transform:translateX(-100%);transform:translateX(-100%)}.setting-modal.is-off-screen{left:0;-webkit-transform:translateX(100%);-ms-transform:translateX(100%);transform:translateX(100%)}}.modal-close{display:block;width:100%;padding:13px 14px;color:#00a0d2}.modal-close:focus{outline:0;-webkit-box-shadow:inset 5px 0 0 #00a0d2;box-shadow:inset 5px 0 0 #00a0d2}.setting-title{top:-1px;margin-left:11px}#pressthis{color:#404040;resize:none;padding-top:30px;font-size:16px}.wp-editor-wrap .quicktags-toolbar{background:0 0;border:none}.wp-editor-wrap .wp-editor-tools{z-index:0}.wp-editor-wrap .wp-editor-tabs{padding:2px}.wp-editor-wrap .wp-switch-editor{top:0;margin:3px 0 0 5px;padding:3px 8px;background:#f5f5f5;color:#555;border-color:#ccc}.wp-editor-wrap .wp-switch-editor:hover{background:#fafafa;border-color:#999;color:#23282d}.wp-editor-wrap.html-active .switch-html,.wp-editor-wrap.tmce-active .switch-tmce{background:#fff;border-color:#d8d8d8} \ No newline at end of file +body,fieldset{margin:0}.screen-reader-text,fieldset,legend,td,th{padding:0}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}*,:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}@media only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (min-resolution:144dpi){*,:after,:before{-webkit-font-smoothing:antialiased}}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background:0 0}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}fieldset,img,legend{border:0}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.scan-submit,.split-button-primary,.split-button-toggle{-webkit-appearance:none;cursor:pointer;text-decoration:none;white-space:nowrap}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}.clearfix:after,.clearfix:before{content:"";display:table}.clearfix:after{clear:both}.hide-if-js{display:none}.screen-reader-text{position:absolute;margin:-1px;height:1px;width:1px;overflow:hidden;clip:rect(0 0 0 0);border:0}body,button,input,select,textarea{color:#404040;font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:20px;font-weight:400;line-height:1.6}b,dt,strong{font-weight:700}h1,h2,h3,h4,h5,h6{clear:both}p{margin-bottom:1.5em}.scan-submit{display:inline-block;margin:0}.split-button{position:relative;display:inline-block;vertical-align:middle}.split-button-body{display:none;position:absolute;bottom:39px;right:0;border:1px solid #ddd;background-color:#fff;min-width:180px;max-width:100%;margin:0;padding:8px;list-style:none;-webkit-box-shadow:1px 0 4px rgba(0,0,0,.15);box-shadow:1px 0 4px rgba(0,0,0,.15)}.split-button-body:after,.split-button-body:before{position:absolute;right:12px;display:block;width:0;height:0;border-style:solid;border-color:transparent;content:""}.split-button-body:before{bottom:-18px;border-top-color:#ccc;border-width:9px;right:11px}.split-button-body:after{bottom:-16px;border-top-color:#fff;border-width:8px}.split-button-body .split-button-option{display:block;padding:5px 15px;margin:0;width:100%;text-align:left;line-height:2}.is-open .split-button-body{display:block}.split-button-primary,.split-button-toggle{-webkit-border-radius:0;border-radius:0;display:block;margin:0;font-size:13px;line-height:2;padding:0 10px 1px;background:#0085ba;border-color:#0073aa #006799 #006799;border-width:1px;border-style:solid;-webkit-box-shadow:0 1px 0 #006799;box-shadow:0 1px 0 #006799;color:#fff;text-shadow:0 -1px 1px #006799,1px 0 1px #006799,0 1px 1px #006799,-1px 0 1px #006799}.split-button-primary{-webkit-border-top-left-radius:3px;border-top-left-radius:3px;-webkit-border-bottom-left-radius:3px;border-bottom-left-radius:3px;border-right:0 none;float:left}.split-button-toggle{padding:0;-webkit-border-top-right-radius:3px;border-top-right-radius:3px;-webkit-border-bottom-right-radius:3px;border-bottom-right-radius:3px;border-left:1px solid #006799;float:right}.split-button-toggle i{margin:4px 20px 3px 0;padding:0 10px}.split-button-primary:hover,.split-button-toggle:hover{outline:0;background:#008ec2;border-color:#006799}.split-button-primary:focus,.split-button-toggle:focus{outline:0;-webkit-box-shadow:0 1px 0 #0073aa,0 0 2px 1px #33b3db;box-shadow:0 1px 0 #0073aa,0 0 2px 1px #33b3db}.split-button-primary:active,.split-button-toggle:active{background:#0073aa;border-color:#006799;-webkit-box-shadow:inset 0 2px 10px #006799,0 1px 0 #0073aa;box-shadow:inset 0 2px 10px #006799,0 1px 0 #0073aa}button,input,select,textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}.postform,textarea{vertical-align:top}[type=checkbox],[type=radio]{padding:0}[type=search]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}[type=search]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}[type=email],[type=url],[type=password],[type=search],[type=text],textarea{padding:.4em .75em;color:#32373c;border:1px solid #ccc}[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=search]:focus,[type=text]:focus,textarea:focus{color:#32373c;outline:0}textarea{overflow:auto;padding-left:3px}a,a:visited{color:#0073aa}a:active,a:focus,a:hover{color:#00a0d2}ol,ul{margin:0 0 1.5em 3em}ul{list-style:disc}ol{list-style:decimal}li>ol,li>ul{margin-bottom:0;margin-left:1.5em}dd{margin:0 1.5em 1.5em}#post-formats-select br{display:none}.post-format{width:1px;height:1px;position:absolute;top:-9999px}.lt-ie9 .post-format{margin:17px 12px 0 13px;position:static;top:auto;float:left;width:16px;height:16px}.add-category,.post-format-icon,.tagsdiv .ajaxtag,.tagsdiv .newtag{position:relative}.post-format-icon{display:block;padding:13px 2px 14px 13px;cursor:pointer}.post-format-icon:after,.post-format-icon:before{content:"";display:inline-block;width:20px;height:20px;margin-right:10px;font-size:20px;line-height:1;font-family:dashicons;text-decoration:inherit;color:#9ea7af;font-weight:400;font-style:normal;vertical-align:top;text-align:center;-webkit-transition:color .1s ease-in 0;transition:color .1s ease-in 0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.post-format-icon:before{content:"\f109"}.post-format-icon:after{display:none;content:"\f147";float:right}.post-format:checked+.post-format-icon{-webkit-box-shadow:inset 6px 0 0 #00a0d2;box-shadow:inset 6px 0 0 #00a0d2;background:rgba(46,162,204,.1)}.post-format:checked+.post-format-icon:after,.post-format:checked+.post-format-icon:before{color:#32373c}.post-format:focus+.post-format-icon{background:#00a0d2;color:#fff}.post-format:focus+.post-format-icon:after,.post-format:focus+.post-format-icon:before{color:#fff}.post-format:checked+.post-format-icon:after{display:block}.lt-ie9 .post-format-icon{margin-left:16px}.post-format-aside:before{content:"\f123"}.post-format-image:before{content:"\f128"}.post-format-video:before{content:"\f126"}.post-format-audio:before{content:"\f127"}.post-format-quote:before{content:"\f122"}.post-format-link:before{content:"\f103"}.post-format-gallery:before{content:"\f161"}.tagsdiv p{margin:0}.tagsdiv .newtag{display:block;padding:11px 58px 11px 16px;width:100%;border:0;border-bottom:1px solid #e5e5e5;font-size:16px}.tagsdiv .tagadd{position:absolute;top:0;right:0;bottom:1px;border:0;-webkit-border-radius:0;border-radius:0;margin:0;padding:0 16px;background:#f7f7f7;border-left:1px solid #f1f1f1;-webkit-box-shadow:none;box-shadow:none}.tagsdiv .tagadd:active,.tagsdiv .tagadd:focus,.tagsdiv .tagadd:hover{outline:0;background:#2991b7;border-color:#20708e;color:#fff;-webkit-box-shadow:none;box-shadow:none}.tagsdiv .howto{color:#727272;font-style:italic;margin:10px 0 6px 16px}.ac_results{padding:0;margin:-1px 0 0 -1px;list-style:none;position:absolute;z-index:10000;display:none;border:1px solid #d8d8d8;background-color:#fff;font-size:14px}.ac_results li{padding:6px 16px;white-space:nowrap;color:#101010;text-align:left}.ac_results .ac_over{background-color:#00a0d2;color:#fff;cursor:pointer}.ac_match{text-decoration:underline}.tagchecklist{padding:16px 28px 5px}.tagchecklist:after,.tagchecklist:before{content:"";display:table}.tagchecklist:after{clear:both}.tagchecklist span{display:block;margin-right:25px;float:left;font-size:13px;line-height:1.8;white-space:nowrap;cursor:default}@media (max-width:600px){.tagchecklist span{margin-bottom:15px;font-size:16px;line-height:1.3}}.tagchecklist .ntdelbutton{margin:1px 0 0 -17px;cursor:pointer;width:20px;height:20px;display:block;float:left;text-indent:0;overflow:hidden;position:absolute;outline:0}.tagchecklist .ntdelbutton:before{content:"\f153";display:block;margin:2px 0;height:20px;width:20px;background:0 0;color:#9ea7af;font:400 16px/1 dashicons;text-align:center;speak:none;-webkit-font-smoothing:antialiased}.tagchecklist .ntdelbutton:focus:before{color:#00a0d2}.tagsdiv+p{margin:0}.press-this .tagcloud-link{display:block;margin:0 16px 5px;padding:0;text-decoration:none;outline:0}.tagcloud-link:focus{text-decoration:underline}.popular-tags{border:none;line-height:2em;padding:8px 12px 12px;text-align:justify}.popular-tags a{padding:0 3px}.the-tagcloud{margin:0;padding:16px}.the-tagcloud a{text-decoration:none;outline:0}.the-tagcloud a:focus{text-decoration:underline}.tagcloud h3{margin:2px 0 12px}.add-category-name,input[type=search].categories-search{display:block;width:100%;padding:.85714em 1.07143em;border:0;-webkit-border-radius:0;border-radius:0;border-bottom:1px solid #e5e5e5;font-size:14px;-webkit-appearance:none;-moz-appearance:none;appearance:none}@media (max-width:600px){.add-category-name,input[type=search].categories-search{font-size:16px}}.press-this .add-cat-toggle{float:right;margin-top:-45px;line-height:20px;padding:12px 10px 8px;color:#0073aa}.press-this .add-cat-toggle:focus{text-decoration:none;color:#00a0d2}.press-this .add-cat-toggle.is-toggled{padding:10px}.press-this .add-cat-toggle.is-toggled .dashicons:before{content:"\f179"}.add-category{border-bottom:1px solid #e5e5e5}.add-category.is-hidden{display:none}.add-category .add-cat-submit{position:absolute;top:0;right:0;border:0;-webkit-border-radius:0;border-radius:0;padding:12px 16px;background:#f7f7f7;border-left:1px solid #f1f1f1}.add-category .add-cat-submit:active,.add-category .add-cat-submit:focus,.add-category .add-cat-submit:hover{outline:0;background:#2991b7;border-color:#20708e;color:#fff}.postform-wrapper{padding:12px}.postform{display:block;margin:0;width:100%;height:34px;-webkit-border-radius:0;border-radius:0;border:1px solid #e5e5e5;background:#fff;-webkit-background-size:20px 20px;background-size:20px 20px;overflow:hidden;line-height:21px;text-overflow:ellipsis;text-decoration:none;white-space:nowrap;cursor:pointer;outline:0}.postform:focus{border-color:#0073aa;-webkit-box-shadow:0 0 0 3px #00a0d2;box-shadow:0 0 0 3px #00a0d2;outline:0;-moz-outline:none;-moz-user-focus:ignore}.alert,.scan{border-bottom:1px solid #e5e5e5}.postform::-ms-expand{display:none}.postform::-ms-value{background:0 0;color:#727272}.postform:-moz-focusring{color:transparent;text-shadow:0 0 0 #727272}.categories-select,.categories-select ul{margin:0;padding:0;list-style:none}.category{position:relative;display:block;padding:13px 16px 14px;cursor:pointer;background:#fff}.category.selected:focus,.category:focus{outline:0;background:#00a0d2;color:#fff}.category.selected{-webkit-box-shadow:inset 6px 0 0 #00a0d2;box-shadow:inset 6px 0 0 #00a0d2;background:#E9F5F9}.category.selected:after{display:inline-block;content:"\f147";position:absolute;top:13px;right:0;width:20px;height:20px;margin-right:10px;font-size:20px;line-height:1;font-family:dashicons;text-decoration:inherit;color:#23282d;font-weight:400;font-style:normal;vertical-align:top;text-align:center;-webkit-transition:color .1s ease-in 0;transition:color .1s ease-in 0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.category.selected:focus:after{color:#fff}.categories-select ul .category{padding-left:24px}.categories-select ul ul .category{padding-left:32px}.categories-select ul ul ul .category{padding-left:40px}.categories-select ul ul ul ul .category{padding-left:48px}.categories-select ul ul ul ul ul .category{padding-left:56px}.categories-select ul ul ul ul ul ul .category{padding-left:64px}.categories-select .is-hidden{display:none}.categories-select .is-hidden.searched-parent{display:block}.categories-search-wrapper{position:relative}.categories-search-wrapper.is-hidden{display:none}.categories-search-wrapper label{position:absolute;top:50%;right:10px;margin-top:-10px;color:#9ea7af}html{overflow:auto;background:#fff;-webkit-box-shadow:-10px 0 0 rgba(0,0,0,.3);box-shadow:-10px 0 0 rgba(0,0,0,.3)}body{overflow-x:hidden;height:100%}@media (max-width:900px){body{font-size:16px}}@media (max-width:320px){body{font-size:14px}}.lt-ie9{overflow:visible}.adminbar{position:relative;width:100%;padding:0 .8em;min-height:3.2em;background:#23282d;color:#fff;z-index:9999}.adminbar:after,.adminbar:before{content:"";display:table}.adminbar:after{clear:both}.adminbar .dashicons{color:#999}.press-this .adminbar button{position:absolute;top:50%;right:6px;margin-top:-13px;padding:0 10px 1px;font-size:13px}.current-site{margin-top:.5625em;font-size:16px;line-height:44px;font-weight:400;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}@media (max-width:600px){.current-site{margin:3px 0 0}}.current-site-link{text-decoration:none}.current-site-link:focus{outline:0}.current-site-link:focus .current-site-name{text-decoration:underline}.current-site-name{color:#ededed}@media (max-width:320px){.adminbar{min-height:45px}.current-site{margin:0;font-size:14px}.current-site-name{font-weight:600}}.current-site .dashicons-wordpress{position:relative;top:-1px;margin-right:10px;vertical-align:middle}.options,.options.closed .on-open,.options.open .on-closed{display:none}@media (max-width:900px){.options{display:block}.scan form{-webkit-transition:opacity .3s ease-in-out;transition:opacity .3s ease-in-out}.scan.is-hidden form{opacity:.2;pointer-events:none}}.options-panel-back.is-hidden{display:none}.options:focus .dashicons{color:#fff;text-decoration:none}.options .dashicons{margin-top:3px}.options{color:#00a0d2}.alert{position:relative;margin:0;padding:16px 50px;font-size:14px}.alert:before{content:"";position:absolute;top:50%;left:30px;width:8px;height:8px;margin-top:-4px;-webkit-border-radius:50%;border-radius:50%;background:#00a0d2}@media (max-width:600px){.alert{padding:16px 35px}.alert:before{left:15px}}.alert.is-error:before{background:red}.scan{position:relative}.scan-url{display:block;border:0;padding:.85714em 1.07143em;font-size:14px;width:100%}@media (max-width:600px){.scan-url{font-size:16px}}.scan-submit{position:absolute;top:0;right:0;bottom:0;padding:0 1.07143em;background:#f7f7f7;border:0;border-left:1px solid #f1f1f1;-webkit-border-radius:0;border-radius:0;color:#555;font-size:14px;line-height:1.6}.scan-submit:focus,.scan-submit:hover{background:#008ec2;border-color:#006799;color:#fff;outline:0}.scan-submit:active{background:#0073aa;border-color:#006799;color:#fff}.scan-submit:visited{color:#555}.wrapper{position:relative;margin-bottom:60px;margin-right:320px}.wrapper:after,.wrapper:before{content:"";display:table}.wrapper:after{clear:both}@media (max-width:900px){.wrapper{margin:0;width:100%}}.editor-wrapper{overflow:auto;float:left;width:100%}.editor-wrapper:after,.editor-wrapper:before{content:"";display:table}.editor-wrapper:after{clear:both}.editor{padding:0 1.5em 4.75em;max-width:700px;margin:0 auto}.spinner{height:20px;width:20px;display:inline-block;visibility:hidden;background:url(../images/spinner.gif) center no-repeat;-webkit-background-size:20px 20px;background-size:20px 20px;opacity:.7;filter:alpha(opacity=70);line-height:1;vertical-align:middle}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.spinner{background-image:url(../images/spinner-2x.gif)}}.spinner.is-active{visibility:visible}@media (min-width:901px){.editor{max-width:760px}}@media (max-width:320px){.editor{padding:0}}.post-title,.post-title-placeholder{margin:0;padding:.83em 0;width:100%;border-bottom:1px solid #e5e5e5;font-size:32px;line-height:1.4;font-weight:700}.post-title-placeholder:active,.post-title-placeholder:focus,.post-title:active,.post-title:focus{outline:0;-webkit-box-shadow:inset 0 -3px 0 #00a0d2;box-shadow:inset 0 -3px 0 #00a0d2;border-color:#00a0d2}@media (max-width:900px){.post-title,.post-title-placeholder{font-size:24px}}@media (max-height:400px){.post-title,.post-title-placeholder{padding:15px 0;font-size:16px}}@media (max-width:320px){.post-title,.post-title-placeholder{font-size:16px;font-weight:600;padding:1.14286em 1.42857em}}.post-title{background:url(data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///////wAAACH5BAEHAAIALAAAAAABAAEAAAICVAEAOw==);background:0 0,none}.post-title:before{content:"\a0";display:inline-block;width:0;speak:none}.post-title-placeholder{position:absolute;border:0;color:#9ea7af;z-index:-1}.post-title-placeholder.is-hidden{display:none}.media-list-container{position:relative;padding:2px 0;border-bottom:1px solid #e5e5e5;display:none}.media-list-inner-container{overflow:auto;max-height:150px;max-height:40vw}.media-list-container.has-media{display:block}.media-list-inner-container:after,.media-list-inner-container:before{content:"";display:table}.media-list-inner-container:after{clear:both}.media-list{margin:0;padding:0}@media (min-width:321px){.media-list-inner-container{max-height:250px;max-height:40vw}}.wppt-all-media-list{list-style:none;margin:0;padding:0}.is-embed:focus,.suggested-media-thumbnail:focus{outline:0;-webkit-box-shadow:inset 0 0 0 3px #00a0d2;box-shadow:inset 0 0 0 3px #00a0d2}.suggested-media-thumbnail{position:relative;display:block;float:left;width:16.66%;padding:16.66% 0 0 16.66%;background-position:center;background-repeat:no-repeat;-webkit-background-size:cover;background-size:cover;background-color:#d8d8d8;color:#fff;color:rgba(255,255,255,.6);cursor:pointer}.suggested-media-thumbnail:active,.suggested-media-thumbnail:focus,.suggested-media-thumbnail:hover{color:#fff}.suggested-media-thumbnail:after,.suggested-media-thumbnail:before{display:inline-block;position:absolute;font-size:20px;line-height:1;font-family:dashicons;text-decoration:inherit;font-weight:400;font-style:normal;-webkit-transition:color .1s ease-in 0;transition:color .1s ease-in 0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.suggested-media-thumbnail:before{left:50%;top:50%;margin:-20px 0 0 -20px;font-size:40px}.suggested-media-thumbnail:after{content:"\f132";right:3%;bottom:2%}@media (min-width:601px){.media-list-inner-container{max-height:200px;max-height:18.75vw}.suggested-media-thumbnail{width:12.5%;padding:12.5% 0 0 12.5%}}.is-embed:before{content:"\f104";color:#fff;color:rgba(255,255,255,.9)}.is-embed.is-audio:active:before,.is-embed.is-audio:focus:before,.is-embed.is-audio:hover:before,.is-embed.is-tweet:active:before,.is-embed.is-tweet:focus:before,.is-embed.is-tweet:hover:before{color:#fff}.is-embed.is-video{background-color:#23282d}.is-embed.is-video:active:before,.is-embed.is-video:focus:before,.is-embed.is-video:hover:before{color:rgba(255,255,255,.2)}.is-embed.is-video:before{content:"\f236"}.is-embed.is-audio{background-color:#ff7d44}.is-embed.is-audio:before{content:"\f127"}.is-embed.is-tweet{background-color:#55acee}.is-embed.is-tweet:before{content:"\f301"}.no-media{margin:0;padding:0;border:0}.press-this-actions{position:fixed;bottom:0;left:0;width:100%;background:#f1f1f1;background:rgba(241,241,241,.9);border-top:1px solid #e5e5e5}.add-media{float:left;margin:14px 0 14px 30px;font-size:0}@media (max-width:320px){.add-media{margin:10px 0 10px 10px}}.insert-media{color:#9ea7af;float:left;margin:0;padding:0;border:0;border-right:1px solid #e5e5e5;-webkit-border-radius:0;border-radius:0;background:0 0;-webkit-box-shadow:none;box-shadow:none;overflow:hidden}.insert-media:active,.insert-media:focus,.insert-media:hover{margin:0;background:0 0;border-color:#e5e5e5;color:#23282d}.insert-media:active,.insert-media:focus{outline:0;color:#00a0d2;text-decoration:none}.insert-media .dashicons{padding:11px;width:63px;height:58px;font-size:40px}@media (max-width:320px){.insert-media .dashicons{width:55px;height:49px;padding:14px;font-size:20px}}#wp-link-wrap,.post-actions{font-size:13px}.post-actions{float:right;margin:14px 30px 14px 0}@media (max-width:320px){.post-actions{margin:10px 10px 10px 0}}.publish-button .saving-draft,.publish-button.is-saving .publish{display:none}.publish-button.is-saving .saving-draft{display:inline}.editor .wp-media-buttons{float:none}.editor div.mce-toolbar-grp{padding:.71429em 0;background:0 0;border:0}@media (max-height:400px),(max-width:320px){.editor div.mce-toolbar-grp{padding:0}}.mce-stack-layout:after,.mce-stack-layout:before{content:"";display:table}.mce-stack-layout:after{clear:both}.mce-container.mce-toolbar{float:left}.mce-container.mce-toolbar:nth-child(2){float:right}@media (max-width:600px){.mce-first .mce-btn:nth-child(3),.mce-first .mce-btn:nth-child(4){position:absolute;margin:-1px;padding:0;height:1px;width:1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.mce-first .mce-btn:nth-child(3):focus,.mce-first .mce-btn:nth-child(4):focus{position:static;margin:1px;padding:inherit;height:auto;width:auto;overflow:visible;clip:auto;border:1px solid #999}}#wp-link-wrap input[type=text]{padding:3px 5px;margin:1px}@media screen and (max-width:782px){#wp-link-wrap{font-size:14px}#wp-link-wrap input[type=text]{padding:6px 10px}}#wp-link-wrap .howto{color:#666;font-style:italic}.options-panel{position:relative;float:right;margin-right:-320px;width:320px;border-left:1px solid #e5e5e5;font-size:14px;-webkit-box-shadow:5001px 5000px 0 5000px #fff,5000px 5000px 0 5000px #e5e5e5;box-shadow:5001px 5000px 0 5000px #fff,5000px 5000px 0 5000px #e5e5e5;outline:0}.options-panel-back{position:absolute;top:0;right:0;bottom:0;width:320px;outline:0}@media (max-width:900px){.press-this-actions{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0);-webkit-transition:-webkit-transform .3s ease-in-out;transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;transition:transform .3s ease-in-out,-webkit-transform .3s ease-in-out}.press-this-actions.is-hidden{-webkit-transform:translateY(100%);-ms-transform:translateY(100%);transform:translateY(100%)}.options-panel{background:#fff;-webkit-transform:translateX(-100%);-ms-transform:translateX(-100%);transform:translateX(-100%);-webkit-transition:-webkit-transform .3s ease-in-out;transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;transition:transform .3s ease-in-out,-webkit-transform .3s ease-in-out}.options-panel.is-hidden{visibility:hidden}.options-panel.is-off-screen{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}}@media (max-width:320px){.options-panel{margin-right:-100%;width:100%;border:0;-webkit-box-shadow:5001px 5000px 0 5000px #fff;box-shadow:5001px 5000px 0 5000px #fff}.options-panel-back{width:100%}}.post-options{background:#fff;position:absolute;right:0;width:100%;overflow-x:hidden}.post-options .post-option-contents{margin-left:3px;color:#32373c}.post-option-forward:before{position:absolute;top:50%;right:8px;margin-top:-10px;content:"\f345"}.post-option,.setting-modal,.setting-title{position:relative}.post-option-back:before{content:"\f341"}.lt-ie9 .options-panel,.lt-ie9 .post-options{border-left:1px solid #e5e5e5}.lt-ie9 .post-options.is-off-screen{border:0}.post-options .post-option{display:block;width:100%;padding:13px 37px 13px 14px;border-bottom:1px solid #e5e5e5;text-decoration:none;text-align:left;color:#9ea7af;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-transition:-webkit-transform .3s ease-in-out;transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;transition:transform .3s ease-in-out,-webkit-transform .3s ease-in-out}.post-options .post-option:focus{outline:0;-webkit-box-shadow:inset 5px 0 0 #00a0d2;box-shadow:inset 5px 0 0 #00a0d2;border-color:#e5e5e5}.is-off-screen>.post-option{right:100%}.is-hidden>.post-option{visibility:hidden}.post-option-title{display:inline-block;margin:0 0 0 8px;font-size:14px;font-weight:400}.setting-modal{top:0;left:0;width:100%;overflow:hidden;-webkit-transition:-webkit-transform .3s ease-in-out;transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;transition:transform .3s ease-in-out,-webkit-transform .3s ease-in-out}.setting-modal.is-hidden{visibility:hidden;height:0}.setting-modal.is-off-screen{left:100%}@media (min-width:1px){.is-off-screen>.post-option{right:auto;-webkit-transform:translateX(-100%);-ms-transform:translateX(-100%);transform:translateX(-100%)}.setting-modal.is-off-screen{left:0;-webkit-transform:translateX(100%);-ms-transform:translateX(100%);transform:translateX(100%)}}.press-this .modal-close{display:block;width:100%;padding:13px 14px;border-bottom:1px solid #e5e5e5;color:#00a0d2;text-decoration:none;text-align:left}.press-this .modal-close:focus{outline:0;-webkit-box-shadow:inset 5px 0 0 #00a0d2;box-shadow:inset 5px 0 0 #00a0d2;border-color:#e5e5e5}.setting-title{top:-1px;margin-left:11px}#pressthis{color:#404040;resize:none;padding-top:30px;font-size:16px}.wp-editor-wrap .quicktags-toolbar{background:0 0;border:none}.wp-editor-wrap .wp-editor-tools{z-index:0}.wp-editor-wrap .wp-editor-tabs{padding:2px}.wp-editor-wrap .wp-switch-editor{top:0;margin:3px 0 0 5px;padding:3px 8px;background:#f5f5f5;color:#555;border-color:#ccc}.wp-editor-wrap .wp-switch-editor:hover{background:#fafafa;border-color:#999;color:#23282d}.wp-editor-wrap.html-active .switch-html,.wp-editor-wrap.tmce-active .switch-tmce{background:#fff;border-color:#d8d8d8} \ No newline at end of file diff --git a/wp-admin/css/revisions-rtl.css b/wp-admin/css/revisions-rtl.css index 829044a..c4882b0 100644 --- a/wp-admin/css/revisions-rtl.css +++ b/wp-admin/css/revisions-rtl.css @@ -462,8 +462,9 @@ div.revisions-controls > .wp-slider > .ui-slider-handle { -webkit-border-radius: 50%; border-radius: 50%; height: 18px; - margin-top: -3px; + margin-top: -5px; outline: none; + padding: 2px; position: absolute; width: 18px; z-index: 2; @@ -472,27 +473,49 @@ div.revisions-controls > .wp-slider > .ui-slider-handle { } .wp-slider .ui-slider-handle, -.wp-slider .ui-slider-handle.ui-state-hover, .wp-slider .ui-slider-handle.focus { - background: #00a0d2; - border: 1px solid #0073aa; - -webkit-box-shadow: inset 0 1px 0 #78c8e6, 0 1px 0 rgba(0,0,0,.15); - box-shadow: inset 0 1px 0 #78c8e6, 0 1px 0 rgba(0,0,0,.15); + background: #f7f7f7; + border: 1px solid #ccc; + -webkit-box-shadow: 0 1px 0 #cccccc; + box-shadow: 0 1px 0 #cccccc; } +.wp-slider .ui-slider-handle:hover, +.wp-slider .ui-slider-handle.ui-state-hover { + background: #fafafa; + border-color: #999; +} + +.wp-slider .ui-slider-handle:active, +.wp-slider .ui-slider-handle.ui-state-active { + background: #eee; + border-color: #999; + -webkit-box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ); + box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ); + -webkit-transform: translateY(1px); + -ms-transform: translateY(1px); + transform: translateY(1px); +} + + .wp-slider .ui-slider-handle:before { background: none; position: absolute; - top: 0; - right: 0; - color: #fff; + top: 2px; + right: 2px; + color: #555; content: "\f229"; - font: normal 18px/1 'dashicons'; + font: normal 18px/1 dashicons; speak: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } +.wp-slider .ui-slider-handle:hover:before, +.wp-slider .ui-slider-handle.ui-state-hover:before { + color: #23282d; +} + .wp-slider .ui-slider-handle.from-handle:before, .wp-slider .ui-slider-handle.to-handle:before { font-size: 20px !important; @@ -500,19 +523,19 @@ div.revisions-controls > .wp-slider > .ui-slider-handle { } .wp-slider .ui-slider-handle.from-handle:before { - content: '\f139'; + content: "\f141"; } .wp-slider .ui-slider-handle.to-handle:before { - content: '\f141'; + content: "\f139"; } .rtl .wp-slider .ui-slider-handle.from-handle:before { - content: '\f141'; + content: "\f139"; } .rtl .wp-slider .ui-slider-handle.to-handle:before { - content: '\f139'; + content: "\f141"; left: -1px; } diff --git a/wp-admin/css/revisions.css b/wp-admin/css/revisions.css index d2652e3..d3ebecc 100644 --- a/wp-admin/css/revisions.css +++ b/wp-admin/css/revisions.css @@ -462,8 +462,9 @@ div.revisions-controls > .wp-slider > .ui-slider-handle { -webkit-border-radius: 50%; border-radius: 50%; height: 18px; - margin-top: -3px; + margin-top: -5px; outline: none; + padding: 2px; position: absolute; width: 18px; z-index: 2; @@ -472,27 +473,49 @@ div.revisions-controls > .wp-slider > .ui-slider-handle { } .wp-slider .ui-slider-handle, -.wp-slider .ui-slider-handle.ui-state-hover, .wp-slider .ui-slider-handle.focus { - background: #00a0d2; - border: 1px solid #0073aa; - -webkit-box-shadow: inset 0 1px 0 #78c8e6, 0 1px 0 rgba(0,0,0,.15); - box-shadow: inset 0 1px 0 #78c8e6, 0 1px 0 rgba(0,0,0,.15); + background: #f7f7f7; + border: 1px solid #ccc; + -webkit-box-shadow: 0 1px 0 #cccccc; + box-shadow: 0 1px 0 #cccccc; } +.wp-slider .ui-slider-handle:hover, +.wp-slider .ui-slider-handle.ui-state-hover { + background: #fafafa; + border-color: #999; +} + +.wp-slider .ui-slider-handle:active, +.wp-slider .ui-slider-handle.ui-state-active { + background: #eee; + border-color: #999; + -webkit-box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ); + box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ); + -webkit-transform: translateY(1px); + -ms-transform: translateY(1px); + transform: translateY(1px); +} + + .wp-slider .ui-slider-handle:before { background: none; position: absolute; - top: 0; - left: 0; - color: #fff; + top: 2px; + left: 2px; + color: #555; content: "\f229"; - font: normal 18px/1 'dashicons'; + font: normal 18px/1 dashicons; speak: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } +.wp-slider .ui-slider-handle:hover:before, +.wp-slider .ui-slider-handle.ui-state-hover:before { + color: #23282d; +} + .wp-slider .ui-slider-handle.from-handle:before, .wp-slider .ui-slider-handle.to-handle:before { font-size: 20px !important; @@ -500,19 +523,19 @@ div.revisions-controls > .wp-slider > .ui-slider-handle { } .wp-slider .ui-slider-handle.from-handle:before { - content: '\f139'; + content: "\f139"; } .wp-slider .ui-slider-handle.to-handle:before { - content: '\f141'; + content: "\f141"; } .rtl .wp-slider .ui-slider-handle.from-handle:before { - content: '\f141'; + content: "\f141"; } .rtl .wp-slider .ui-slider-handle.to-handle:before { - content: '\f139'; + content: "\f139"; right: -1px; } diff --git a/wp-admin/css/themes-rtl.css b/wp-admin/css/themes-rtl.css index ba7003c..ce7db35 100644 --- a/wp-admin/css/themes-rtl.css +++ b/wp-admin/css/themes-rtl.css @@ -142,7 +142,7 @@ } .theme-browser .theme .theme-screenshot:after { - content: ''; + content: ""; display: block; padding-top: 66.66666%; /* using a 3/2 aspect ratio */ } @@ -235,9 +235,9 @@ .theme-browser .theme .theme-update:before, .theme-browser .theme .theme-installed:before { - content: '\f463'; + content: "\f463"; display: inline-block; - font: normal 20px/1 'dashicons'; + font: normal 20px/1 dashicons; margin: 0 0 0 6px; opacity: 0.8; position: relative; @@ -316,7 +316,7 @@ .theme-browser .theme.add-new-theme a:after { display: block; - content: ''; + content: ""; background: transparent; background: rgba(0, 0, 0, 0); position: absolute; @@ -339,9 +339,9 @@ -webkit-border-radius: 50%; border-radius: 50%; display: inline-block; - content: '\f132'; + content: "\f132"; -webkit-font-smoothing: antialiased; - font: normal 74px/115px 'dashicons'; + font: normal 74px/115px dashicons; width: 100px; height: 100px; vertical-align: middle; @@ -377,7 +377,7 @@ border-color: transparent; color: #fff; background: #0073aa; - content: ''; + content: ""; } .theme-browser .theme.add-new-theme .theme-name { @@ -441,10 +441,10 @@ } .theme-overlay .theme-header .close:before { - font: normal 22px/50px 'dashicons' !important; + font: normal 22px/50px dashicons !important; color: #777; display: inline-block; - content: '\f335'; + content: "\f335"; font-weight: 300; } @@ -499,7 +499,7 @@ .theme-overlay .theme-header .right:before, .theme-overlay .theme-header .left:before { - font: normal 20px/50px 'dashicons' !important; + font: normal 20px/50px dashicons !important; display: inline; font-weight: 300; } @@ -647,7 +647,7 @@ body.folded .theme-overlay .theme-wrap { } .theme-overlay .screenshot:after { - content: ''; + content: ""; display: block; padding-top: 75%; /* using a 4/3 aspect ratio */ } @@ -682,7 +682,7 @@ body.folded .theme-overlay .theme-wrap { } .theme-overlay .screenshot.thumb:after { - content: ''; + content: ""; display: block; padding-top: 100%; /* using a 1/1 aspect ratio */ } @@ -753,10 +753,11 @@ body.folded .theme-overlay .theme-wrap { } .theme-overlay .theme-author { + margin: 15px 0 25px; color: #686868; font-size: 16px; font-weight: 400; - margin: 15px 0 25px; + line-height: inherit; } .theme-overlay .theme-author a { @@ -786,24 +787,6 @@ body.folded .theme-overlay .theme-wrap { margin-left: 5px; } -/* Theme Updates info */ -.theme-overlay .theme-update-message { - background: #fef7f1; - border: 1px solid #eee; - border-right: 4px solid #d54e21; - -webkit-border-radius: 3px; - border-radius: 3px; - padding: 5px 20px 10px; -} - -.theme-overlay .theme-update { - color: #23282d; - font-size: 18px; - display: inline-block; - line-height: 40px; - margin: 0; -} - .theme-overlay .parent-theme { background: #f7fcfe; border: 1px solid #eee; @@ -1033,7 +1016,7 @@ body.folded .theme-overlay .theme-wrap { } .theme-browser .theme.add-new-theme span:after { - font: normal 60px/90px 'dashicons'; + font: normal 60px/90px dashicons; width: 80px; height: 80px; top: 30%; @@ -1079,7 +1062,7 @@ body.folded .theme-overlay .theme-wrap { background: #0073aa; } .theme-browser .theme .theme-installed:before { - content: '\f147'; + content: "\f147"; } .theme-browser .theme.is-installed .theme-actions .button-primary { display: none !important; @@ -1172,57 +1155,23 @@ body.show-upload-theme p.no-themes { } } +.theme-details .theme-rating { + line-height: 23px; +} + .theme-details .star-rating { - margin: 15px 0 0; + display: inline; } -.theme-details .star-rating span:before { - color: #ffb900; - content: "\f154"; - display: inline-block; - -webkit-font-smoothing: antialiased; - font: normal 20px/1 'dashicons'; - vertical-align: top; +.theme-details .num-ratings, +.theme-details .no-rating { + font-size: 11px; + color: #999; } -/* Half stars */ -.star-rating.rating-10 span.one:before, -.star-rating.rating-30 span.two:before, -.star-rating.rating-50 span.three:before, -.star-rating.rating-70 span.four:before, -.star-rating.rating-90 span.five:before { - content: "\f459"; -} - -/* Full stars */ -.star-rating.rating-20 span.one:before, -.star-rating.rating-30 span.one:before, -.star-rating.rating-40 span.one:before, -.star-rating.rating-40 span.two:before, -.star-rating.rating-50 span.one:before, -.star-rating.rating-50 span.two:before, -.star-rating.rating-60 span.one:before, -.star-rating.rating-60 span.two:before, -.star-rating.rating-60 span.three:before, -.star-rating.rating-70 span.one:before, -.star-rating.rating-70 span.two:before, -.star-rating.rating-70 span.three:before, -.star-rating.rating-80 span.one:before, -.star-rating.rating-80 span.two:before, -.star-rating.rating-80 span.three:before, -.star-rating.rating-80 span.four:before, -.star-rating.rating-90 span.one:before, -.star-rating.rating-90 span.two:before, -.star-rating.rating-90 span.three:before, -.star-rating.rating-90 span.four:before, -.star-rating.rating-100 > span:before { - content: "\f155"; -} - -.theme-details .star-rating .ratings { +.theme-details .no-rating { display: block; line-height: 20px; - color: #999; } /*------------------------------------------------------------------------------ @@ -1330,7 +1279,7 @@ body.full-overlay-active { } .wp-full-overlay-sidebar:after { - content: ''; + content: ""; display: block; position: absolute; top: 0; @@ -1527,7 +1476,7 @@ body.full-overlay-active { display: block; content: "\f148"; background: #eee; - font: normal 20px/1 'dashicons'; + font: normal 20px/1 dashicons; speak: none; padding: 0; -webkit-font-smoothing: antialiased; @@ -1646,7 +1595,7 @@ body.full-overlay-active { } .install-theme-info .theme-screenshot { - margin-top: 15px; + margin: 15px 0; width: 258px; border: 1px solid #ccc; } @@ -1657,7 +1606,6 @@ body.full-overlay-active { .theme-details .theme-version { margin: 15px 0; - float: right; } .theme-details .theme-description { @@ -1686,11 +1634,32 @@ body.full-overlay-active { } .theme-install-overlay .wp-full-overlay-main { + position: relative; + z-index: 0; + background-color: #fff; +} + +.theme-install-overlay .wp-full-overlay-main:before { + content: ''; + display: block; + width: 20px; + height: 20px; + position: absolute; + right: 50%; + top: 50%; + z-index: -1; + margin: -10px -10px 0 0; + -webkit-transform: translateZ(0); + transform: translateZ(0); background: #fff url(../images/spinner.gif) no-repeat center center; -webkit-background-size: 20px 20px; background-size: 20px 20px; } +.theme-install-overlay.iframe-ready .wp-full-overlay-main:before { + background-image: none; +} + /* =Media Queries -------------------------------------------------------------- */ @@ -1708,13 +1677,9 @@ body.full-overlay-active { #customize-preview.wp-full-overlay-main, .customize-loading #customize-container, - .theme-install-overlay .wp-full-overlay-main { + .theme-install-overlay .wp-full-overlay-main:before { background-image: url(../images/spinner-2x.gif); } - - .theme-install-overlay .wp-full-overlay-header .theme-install { - margin-top: 2px; - } } @media screen and ( max-width: 782px ) { diff --git a/wp-admin/css/themes.css b/wp-admin/css/themes.css index 3121a1e..3b9cc46 100644 --- a/wp-admin/css/themes.css +++ b/wp-admin/css/themes.css @@ -142,7 +142,7 @@ } .theme-browser .theme .theme-screenshot:after { - content: ''; + content: ""; display: block; padding-top: 66.66666%; /* using a 3/2 aspect ratio */ } @@ -235,9 +235,9 @@ .theme-browser .theme .theme-update:before, .theme-browser .theme .theme-installed:before { - content: '\f463'; + content: "\f463"; display: inline-block; - font: normal 20px/1 'dashicons'; + font: normal 20px/1 dashicons; margin: 0 6px 0 0; opacity: 0.8; position: relative; @@ -316,7 +316,7 @@ .theme-browser .theme.add-new-theme a:after { display: block; - content: ''; + content: ""; background: transparent; background: rgba(0, 0, 0, 0); position: absolute; @@ -339,9 +339,9 @@ -webkit-border-radius: 50%; border-radius: 50%; display: inline-block; - content: '\f132'; + content: "\f132"; -webkit-font-smoothing: antialiased; - font: normal 74px/115px 'dashicons'; + font: normal 74px/115px dashicons; width: 100px; height: 100px; vertical-align: middle; @@ -377,7 +377,7 @@ border-color: transparent; color: #fff; background: #0073aa; - content: ''; + content: ""; } .theme-browser .theme.add-new-theme .theme-name { @@ -441,10 +441,10 @@ } .theme-overlay .theme-header .close:before { - font: normal 22px/50px 'dashicons' !important; + font: normal 22px/50px dashicons !important; color: #777; display: inline-block; - content: '\f335'; + content: "\f335"; font-weight: 300; } @@ -499,7 +499,7 @@ .theme-overlay .theme-header .right:before, .theme-overlay .theme-header .left:before { - font: normal 20px/50px 'dashicons' !important; + font: normal 20px/50px dashicons !important; display: inline; font-weight: 300; } @@ -647,7 +647,7 @@ body.folded .theme-overlay .theme-wrap { } .theme-overlay .screenshot:after { - content: ''; + content: ""; display: block; padding-top: 75%; /* using a 4/3 aspect ratio */ } @@ -682,7 +682,7 @@ body.folded .theme-overlay .theme-wrap { } .theme-overlay .screenshot.thumb:after { - content: ''; + content: ""; display: block; padding-top: 100%; /* using a 1/1 aspect ratio */ } @@ -753,10 +753,11 @@ body.folded .theme-overlay .theme-wrap { } .theme-overlay .theme-author { + margin: 15px 0 25px; color: #686868; font-size: 16px; font-weight: 400; - margin: 15px 0 25px; + line-height: inherit; } .theme-overlay .theme-author a { @@ -786,24 +787,6 @@ body.folded .theme-overlay .theme-wrap { margin-right: 5px; } -/* Theme Updates info */ -.theme-overlay .theme-update-message { - background: #fef7f1; - border: 1px solid #eee; - border-left: 4px solid #d54e21; - -webkit-border-radius: 3px; - border-radius: 3px; - padding: 5px 20px 10px; -} - -.theme-overlay .theme-update { - color: #23282d; - font-size: 18px; - display: inline-block; - line-height: 40px; - margin: 0; -} - .theme-overlay .parent-theme { background: #f7fcfe; border: 1px solid #eee; @@ -1033,7 +1016,7 @@ body.folded .theme-overlay .theme-wrap { } .theme-browser .theme.add-new-theme span:after { - font: normal 60px/90px 'dashicons'; + font: normal 60px/90px dashicons; width: 80px; height: 80px; top: 30%; @@ -1079,7 +1062,7 @@ body.folded .theme-overlay .theme-wrap { background: #0073aa; } .theme-browser .theme .theme-installed:before { - content: '\f147'; + content: "\f147"; } .theme-browser .theme.is-installed .theme-actions .button-primary { display: none !important; @@ -1172,57 +1155,23 @@ body.show-upload-theme p.no-themes { } } +.theme-details .theme-rating { + line-height: 23px; +} + .theme-details .star-rating { - margin: 15px 0 0; + display: inline; } -.theme-details .star-rating span:before { - color: #ffb900; - content: "\f154"; - display: inline-block; - -webkit-font-smoothing: antialiased; - font: normal 20px/1 'dashicons'; - vertical-align: top; +.theme-details .num-ratings, +.theme-details .no-rating { + font-size: 11px; + color: #999; } -/* Half stars */ -.star-rating.rating-10 span.one:before, -.star-rating.rating-30 span.two:before, -.star-rating.rating-50 span.three:before, -.star-rating.rating-70 span.four:before, -.star-rating.rating-90 span.five:before { - content: "\f459"; -} - -/* Full stars */ -.star-rating.rating-20 span.one:before, -.star-rating.rating-30 span.one:before, -.star-rating.rating-40 span.one:before, -.star-rating.rating-40 span.two:before, -.star-rating.rating-50 span.one:before, -.star-rating.rating-50 span.two:before, -.star-rating.rating-60 span.one:before, -.star-rating.rating-60 span.two:before, -.star-rating.rating-60 span.three:before, -.star-rating.rating-70 span.one:before, -.star-rating.rating-70 span.two:before, -.star-rating.rating-70 span.three:before, -.star-rating.rating-80 span.one:before, -.star-rating.rating-80 span.two:before, -.star-rating.rating-80 span.three:before, -.star-rating.rating-80 span.four:before, -.star-rating.rating-90 span.one:before, -.star-rating.rating-90 span.two:before, -.star-rating.rating-90 span.three:before, -.star-rating.rating-90 span.four:before, -.star-rating.rating-100 > span:before { - content: "\f155"; -} - -.theme-details .star-rating .ratings { +.theme-details .no-rating { display: block; line-height: 20px; - color: #999; } /*------------------------------------------------------------------------------ @@ -1330,7 +1279,7 @@ body.full-overlay-active { } .wp-full-overlay-sidebar:after { - content: ''; + content: ""; display: block; position: absolute; top: 0; @@ -1527,7 +1476,7 @@ body.full-overlay-active { display: block; content: "\f148"; background: #eee; - font: normal 20px/1 'dashicons'; + font: normal 20px/1 dashicons; speak: none; padding: 0; -webkit-font-smoothing: antialiased; @@ -1646,7 +1595,7 @@ body.full-overlay-active { } .install-theme-info .theme-screenshot { - margin-top: 15px; + margin: 15px 0; width: 258px; border: 1px solid #ccc; } @@ -1657,7 +1606,6 @@ body.full-overlay-active { .theme-details .theme-version { margin: 15px 0; - float: left; } .theme-details .theme-description { @@ -1686,11 +1634,32 @@ body.full-overlay-active { } .theme-install-overlay .wp-full-overlay-main { + position: relative; + z-index: 0; + background-color: #fff; +} + +.theme-install-overlay .wp-full-overlay-main:before { + content: ''; + display: block; + width: 20px; + height: 20px; + position: absolute; + left: 50%; + top: 50%; + z-index: -1; + margin: -10px 0 0 -10px; + -webkit-transform: translateZ(0); + transform: translateZ(0); background: #fff url(../images/spinner.gif) no-repeat center center; -webkit-background-size: 20px 20px; background-size: 20px 20px; } +.theme-install-overlay.iframe-ready .wp-full-overlay-main:before { + background-image: none; +} + /* =Media Queries -------------------------------------------------------------- */ @@ -1708,13 +1677,9 @@ body.full-overlay-active { #customize-preview.wp-full-overlay-main, .customize-loading #customize-container, - .theme-install-overlay .wp-full-overlay-main { + .theme-install-overlay .wp-full-overlay-main:before { background-image: url(../images/spinner-2x.gif); } - - .theme-install-overlay .wp-full-overlay-header .theme-install { - margin-top: 2px; - } } @media screen and ( max-width: 782px ) { diff --git a/wp-admin/css/widgets-rtl.css b/wp-admin/css/widgets-rtl.css index 149c117..4060cb7 100644 --- a/wp-admin/css/widgets-rtl.css +++ b/wp-admin/css/widgets-rtl.css @@ -22,9 +22,11 @@ text-decoration: none; } +.widget-title h3, .widget-title h4 { margin: 0; padding: 15px; + font-size: 1em; line-height: 1; overflow: hidden; white-space: nowrap; @@ -100,6 +102,7 @@ cursor: pointer; } +.sidebar-name h2, .sidebar-name h3 { margin: 0; padding: 8px 10px; @@ -142,15 +145,14 @@ div#widgets-left .inactive-sidebar.closed .sidebar-name { margin-bottom: 10px; } +div#widgets-left .sidebar-name h2, div#widgets-left .sidebar-name h3 { padding: 10px 0; margin: 0 0 0 10px; } -div#widgets-left .sidebar-name .sidebar-name-arrow:before { - left: 0; - top: 4px; - padding: 4px 4px 4px 6px; +#widgets-left .sidebar-name .sidebar-name-arrow:before { + padding: 9px; } #widgets-left #available-widgets, @@ -245,13 +247,13 @@ div#widgets-right .sidebar-description { margin-top: -5px; } +div#widgets-right .sidebar-name h2, div#widgets-right .sidebar-name h3 { padding: 15px 7px; } div#widgets-right .sidebar-name .sidebar-name-arrow:before { - left: 0; - top: 4px; + top: 2px; } div#widgets-right .widget-top { @@ -270,7 +272,8 @@ div#widgets-right .closed .widgets-sortables { margin-bottom: 0; } -.sidebar-name .spinner { +.sidebar-name .spinner, +.remove-inactive-widgets .spinner { float: none; position: relative; top: -2px; @@ -346,6 +349,7 @@ div#widgets-right .closed .widgets-sortables { .js .widgets-holder-wrap.closed .widget, .js .widgets-holder-wrap.closed .sidebar-description, +.js .widgets-holder-wrap.closed .remove-inactive-widgets, .js .closed br.clear { display: none; } @@ -466,10 +470,10 @@ div#widgets-right .widget-top:hover, } .widgets-chooser li:focus:before { - content: '\f147'; + content: "\f147"; display: block; -webkit-font-smoothing: antialiased; - font: normal 26px/1 'dashicons'; + font: normal 26px/1 dashicons; color: #999; position: absolute; top: 7px; @@ -487,10 +491,10 @@ div#widgets-right .widget-top:hover, .widgets-chooser li.widgets-chooser-selected:before, .widgets-chooser li.widgets-chooser-selected:focus:before { - content: '\f147'; + content: "\f147"; display: block; -webkit-font-smoothing: antialiased; - font: normal 26px/1 'dashicons'; + font: normal 26px/1 dashicons; color: #fff; position: absolute; top: 7px; diff --git a/wp-admin/css/widgets.css b/wp-admin/css/widgets.css index 3befaf2..85cdf4c 100644 --- a/wp-admin/css/widgets.css +++ b/wp-admin/css/widgets.css @@ -22,9 +22,11 @@ text-decoration: none; } +.widget-title h3, .widget-title h4 { margin: 0; padding: 15px; + font-size: 1em; line-height: 1; overflow: hidden; white-space: nowrap; @@ -100,6 +102,7 @@ cursor: pointer; } +.sidebar-name h2, .sidebar-name h3 { margin: 0; padding: 8px 10px; @@ -142,15 +145,14 @@ div#widgets-left .inactive-sidebar.closed .sidebar-name { margin-bottom: 10px; } +div#widgets-left .sidebar-name h2, div#widgets-left .sidebar-name h3 { padding: 10px 0; margin: 0 10px 0 0; } -div#widgets-left .sidebar-name .sidebar-name-arrow:before { - right: 0; - top: 4px; - padding: 4px 6px 4px 4px; +#widgets-left .sidebar-name .sidebar-name-arrow:before { + padding: 9px; } #widgets-left #available-widgets, @@ -245,13 +247,13 @@ div#widgets-right .sidebar-description { margin-top: -5px; } +div#widgets-right .sidebar-name h2, div#widgets-right .sidebar-name h3 { padding: 15px 7px; } div#widgets-right .sidebar-name .sidebar-name-arrow:before { - right: 0; - top: 4px; + top: 2px; } div#widgets-right .widget-top { @@ -270,7 +272,8 @@ div#widgets-right .closed .widgets-sortables { margin-bottom: 0; } -.sidebar-name .spinner { +.sidebar-name .spinner, +.remove-inactive-widgets .spinner { float: none; position: relative; top: -2px; @@ -346,6 +349,7 @@ div#widgets-right .closed .widgets-sortables { .js .widgets-holder-wrap.closed .widget, .js .widgets-holder-wrap.closed .sidebar-description, +.js .widgets-holder-wrap.closed .remove-inactive-widgets, .js .closed br.clear { display: none; } @@ -466,10 +470,10 @@ div#widgets-right .widget-top:hover, } .widgets-chooser li:focus:before { - content: '\f147'; + content: "\f147"; display: block; -webkit-font-smoothing: antialiased; - font: normal 26px/1 'dashicons'; + font: normal 26px/1 dashicons; color: #999; position: absolute; top: 7px; @@ -487,10 +491,10 @@ div#widgets-right .widget-top:hover, .widgets-chooser li.widgets-chooser-selected:before, .widgets-chooser li.widgets-chooser-selected:focus:before { - content: '\f147'; + content: "\f147"; display: block; -webkit-font-smoothing: antialiased; - font: normal 26px/1 'dashicons'; + font: normal 26px/1 dashicons; color: #fff; position: absolute; top: 7px; diff --git a/wp-admin/css/wp-admin-rtl.min.css b/wp-admin/css/wp-admin-rtl.min.css index 1f6cdee..80270f8 100644 --- a/wp-admin/css/wp-admin-rtl.min.css +++ b/wp-admin/css/wp-admin-rtl.min.css @@ -1,8 +1,8 @@ -#ajax-loading,#screen-meta .screen-reader-text,.ajax-feedback,.ajax-loading,.imgedit-wait-spin,.list-ajax-loading,.row-actions,.spinner{visibility:hidden}.color-palette,.form-table,.media-item .describe{border-collapse:collapse}#wpwrap{height:auto;min-height:100%;width:100%;position:relative;-webkit-font-smoothing:subpixel-antialiased}#wpcontent{height:100%;padding-right:20px}#wpcontent,#wpfooter{margin-right:160px}.folded #wpcontent,.folded #wpfooter{margin-right:36px}#wpbody-content{padding-bottom:65px;float:right;width:100%;overflow:visible!important}.inner-sidebar{float:left;clear:left;display:none;width:281px;position:relative}.columns-2 .inner-sidebar{margin-left:auto;width:286px;display:block}.columns-2 .inner-sidebar #side-sortables,.inner-sidebar #side-sortables{min-height:300px;width:280px;padding:0}.has-right-sidebar .inner-sidebar{display:block}.has-right-sidebar #post-body{float:right;clear:right;width:100%;margin-left:-2000px}.has-right-sidebar #post-body-content{margin-left:300px;float:none;width:auto}#col-container,#col-left,#col-right{overflow:hidden;padding:0;margin:0}#col-left{width:35%}#col-right{float:left;clear:left;width:65%}.alignleft,.subsubsub{float:right}.col-wrap{padding:0 7px}.alignright{float:left}.textleft{text-align:right}.textright{text-align:left}.clear{clear:both}.screen-reader-text,.screen-reader-text span,.ui-helper-hidden-accessible{position:absolute;margin:-1px;padding:0;height:1px;width:1px;overflow:hidden;clip:rect(0 0 0 0);border:0;word-wrap:normal!important}#adminmenu .wp-submenu,#dashboard_quick_press .draft-title,#templateside,#the-comment-list td.comment,.dashboard-comment-wrap,.pre,.widefat *{word-wrap:break-word}.screen-reader-shortcut{position:absolute;top:-1000em}.screen-reader-shortcut:focus{right:6px;top:-25px;height:auto;width:auto;display:block;font-size:14px;font-weight:600;padding:15px 23px 14px;background:#f1f1f1;color:#21759b;z-index:100000;line-height:normal;-webkit-box-shadow:0 0 2px 2px rgba(0,0,0,.6);box-shadow:0 0 2px 2px rgba(0,0,0,.6);text-decoration:none;outline:0}body,p{font-size:13px}.hidden,.js .closed .inside,.js .hide-if-js,.js .wp-core-ui .hide-if-js,.js.wp-core-ui .hide-if-js,.no-js .hide-if-no-js,.no-js .wp-core-ui .hide-if-no-js,.no-js.wp-core-ui .hide-if-no-js{display:none}#menu-management .menu-edit,#menu-settings-column .accordion-container,.comment-ays,.feature-filter,.imgedit-group,.manage-menus,.menu-item-handle,.popular-tags,.stuffbox,.widget-inside,.widget-top,.widgets-holder-wrap,.wp-editor-container,p.popular-tags,table.widefat{border:1px solid #e5e5e5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04)}.comment-ays,.feature-filter,.imgedit-group,.popular-tags,.stuffbox,.widgets-holder-wrap,.wp-editor-container,p.popular-tags,table.widefat{background:#fff}body,html{height:100%;margin:0;padding:0}html{background:#f1f1f1}body{color:#444;font-family:"Open Sans",sans-serif;line-height:1.4em;min-width:600px}body.iframe{min-width:0;padding-top:1px}body.modal-open{overflow:hidden}body.mobile.modal-open #wpwrap{overflow:hidden;position:fixed;height:100%}iframe,img{border:0}td{font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit}a{color:#0073aa;-webkit-transition-property:border,background,color;transition-property:border,background,color;-webkit-transition-duration:.05s;transition-duration:.05s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}a,div{outline:0}a:active,a:hover{color:#00a0d2}a:focus,a:focus .media-icon img{color:#124964;-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.ie8 a:focus{outline:#5b9dd9 solid 1px}#adminmenu a:focus,.screen-reader-text:focus{-webkit-box-shadow:none;box-shadow:none;outline:0}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}p{line-height:1.5;margin:1em 0}blockquote{margin:1em}dd,li{margin-bottom:6px}h1,h2,h3,h4,h5,h6{display:block;font-weight:600}h1{font-size:2em;margin:.67em 0}.wrap>h1,h2{color:#23282d;font-size:1.5em;margin:.83em 0;font-weight:400}h3{color:#23282d;font-size:1.3em;margin:1em 0}h4{font-size:1em;margin:1.33em 0}h5{font-size:.83em;margin:1.67em 0}h6{font-size:.67em;margin:2.33em 0}ol,ul{padding:0}ul{list-style:none}ol{list-style-type:decimal;margin-right:2em}ul.ul-disc{list-style:disc}.side-info ul,ul.ul-square{list-style:square}ol.ol-decimal{list-style:decimal}ol.ol-decimal,ul.ul-disc,ul.ul-square{margin-right:1.8em}ol.ol-decimal>li,ul.ul-disc>li,ul.ul-square>li{margin:0 0 .5em}.ltr{direction:ltr}.code,code{font-family:Consolas,Monaco,monospace;direction:ltr;unicode-bidi:embed}code,kbd{padding:3px 5px 2px;margin:0 1px;background:#eaeaea;background:rgba(0,0,0,.07);font-size:13px}.subsubsub{list-style:none;margin:8px 0 0;padding:0;font-size:13px;color:#666}.subsubsub a{line-height:2;padding:.2em;text-decoration:none}.subsubsub a .count,.subsubsub a.current .count{color:#999;font-weight:400}.subsubsub a.current{font-weight:600;border:none}.subsubsub li{display:inline-block;margin:0;padding:0;white-space:nowrap}.widefat{border-spacing:0;width:100%;clear:both;margin:0}.widefat a{text-decoration:none}.widefat td,.widefat th{padding:8px 10px}.widefat thead td,.widefat thead th{border-bottom:1px solid #e1e1e1}.widefat tfoot td,.widefat tfoot th{border-top:1px solid #e1e1e1;border-bottom:none}.widefat .no-items td{border-bottom-width:0}.widefat td{vertical-align:top}.widefat td,.widefat td ol,.widefat td p,.widefat td ul{font-size:13px;line-height:1.5em}.widefat tfoot td,.widefat th,.widefat thead td{text-align:right;line-height:1.3em;font-size:14px}.widefat tfoot td input,.widefat th input,.widefat thead td input{margin:0 8px 0 0;padding:0;vertical-align:text-top}.widefat .check-column{width:2.2em;padding:6px 0 25px;vertical-align:top}.widefat tfoot td input[type=checkbox],.widefat th input[type=checkbox],.widefat thead td input[type=checkbox]{margin-top:-1px}.widefat tbody th.check-column,.widefat tfoot td.check-column,.widefat thead td.check-column{padding:11px 3px 0 0}.widefat tfoot td.check-column,.widefat thead td.check-column{padding-top:10px}.update-php div.error,.update-php div.updated{margin-right:0}.no-js .widefat tfoot .check-column input,.no-js .widefat thead .check-column input{display:none}.column-comments,.column-links,.column-posts,.widefat .num{text-align:center}.widefat th#comments{vertical-align:middle}.wrap{margin:10px 2px 0 20px}.subtitle,.wrap h1,.wrap h2{font-weight:400;margin:0}.wrap h1,.wrap h2{font-size:23px;font-weight:400;padding:9px 0 4px 15px;line-height:29px}.subtitle{color:#777;font-size:14px;padding-right:25px}.wrap .add-new-h2,.wrap .add-new-h2:active,.wrap .page-title-action,.wrap .page-title-action:active{margin-right:4px;padding:4px 8px;position:relative;top:-3px;text-decoration:none;border:none;-webkit-border-radius:2px;border-radius:2px;background:#e0e0e0;text-shadow:none;font-weight:600;font-size:13px}.wrap .add-new-h2:hover,.wrap .page-title-action:hover{background:#00a0d2;color:#fff}.wrap h1.long-header{padding-left:0}.wp-dialog{background-color:#fff}.sorthelper{background-color:#ccf3fa}.ac_match,.subsubsub a.current{color:#000}.alternate,.striped>tbody>:nth-child(odd),ul.striped>:nth-child(odd){background-color:#f9f9f9}.bar{background-color:#e8e8e8;border-left-color:#99d}.media-upload-form label.form-help,td.help{color:#9a9a9a}.highlight{background-color:#e4f2fd;color:#000}.wp-ui-primary{color:#fff;background-color:#32373c}.wp-ui-text-primary{color:#32373c}.wp-ui-highlight{color:#fff;background-color:#1e8cbe}.wp-ui-text-highlight{color:#1e8cbe}.wp-ui-notification{color:#fff;background-color:#d54e21}.wp-ui-text-notification{color:#d54e21}.wp-ui-text-icon{color:#999}img.emoji{display:inline!important;border:none!important;height:1em!important;width:1em!important;margin:0 .07em!important;vertical-align:-.1em!important;background:0 0!important;padding:0!important;-webkit-box-shadow:none!important;box-shadow:none!important}#nav-menu-footer,#nav-menu-header,#your-profile #rich_editing,.checkbox,.control-section .accordion-section-title,.menu-item-handle,.postbox .hndle,.side-info,.sidebar-name,.stuffbox .hndle,.widefat tfoot td,.widefat tfoot th,.widefat thead td,.widefat thead th,.widget .widget-top{line-height:1.4em}.menu-item-handle,.widget .widget-top{background:#fafafa;color:#23282d}.postbox .hndle,.stuffbox .hndle{border-bottom:1px solid #eee;user-select:none}.accordion-section-title,.postbox .hndle,.stuffbox .hndle{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.quicktags,.search{background-color:#ccc;color:#000;font-size:12px}.icon32{display:none}#bulk-titles div a:before,.notice-dismiss:before,.tagchecklist span a:before,.welcome-panel .welcome-panel-close:before{background:0 0;color:#b4b9be;content:'\f153';display:block;font:400 16px/20px dashicons;speak:none;height:20px;text-align:center;width:20px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.welcome-panel .welcome-panel-close:before{margin:0}#bulk-titles div a:before,.tagchecklist span a:before{margin:1px 0}#bulk-titles div a:hover:before,.tagchecklist span a:hover:before,.welcome-panel .welcome-panel-close:focus:before,.welcome-panel .welcome-panel-close:hover:before{color:#c00}.key-labels label{line-height:24px}b,strong{font-weight:600}.pre{white-space:pre-wrap}#namediv td.first,#plugin-information-title,.no-break,.star-rating,.ui-autocomplete li{white-space:nowrap}.howto{color:#666;font-style:italic;display:block}p.install-help{margin:8px 0;font-style:italic}hr{border:0;border-top:1px solid #ddd;border-bottom:1px solid #fafafa}#all-plugins-table .plugins a.delete,#media-items a.delete,#media-items a.delete-permanently,#nav-menu-footer .menu-delete,#search-plugins-table .plugins a.delete,.plugins a.delete,.row-actions span.delete a,.row-actions span.spam a,.row-actions span.trash a,.submitbox .submitdelete{color:#a00}#all-plugins-table .plugins a.delete:hover,#media-items a.delete-permanently:hover,#media-items a.delete:hover,#nav-menu-footer .menu-delete:hover,#search-plugins-table .plugins a.delete:hover,.file-error,.plugins a.delete:hover,.row-actions .delete a:hover,.row-actions .spam a:hover,.row-actions .trash a:hover,.submitbox .submitdelete:hover,.widget-control-remove:hover,abbr.required{color:red;text-decoration:none;border:none}#major-publishing-actions{padding:10px;clear:both;border-top:1px solid #ddd;background:#f5f5f5}#delete-action{line-height:28px;vertical-align:middle;text-align:right;float:right}#publishing-action{text-align:left;float:left;line-height:23px}#publishing-action .spinner,#save-post{float:right}#misc-publishing-actions{padding:6px 0 0}.misc-pub-section{padding:6px 10px 8px}#minor-publishing-actions{padding:10px 10px 0;text-align:left}.preview{float:left}#sticky-span{margin-right:18px}.side-info{margin:0;padding:4px;font-size:11px}.side-info h5{padding-bottom:7px;font-size:14px;margin:12px 2px 5px;border-bottom:1px solid #dadada}.side-info ul{margin:0;padding-right:18px;color:#666}.approve,.unapproved .unapprove{display:none}.spam .approve,.trash .approve,.unapproved .approve{display:inline}td.action-links,th.action-links{text-align:left}.wp-filter{display:inline-block;position:relative;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:12px 0 25px;padding:0 10px;width:100%;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);border:1px solid #e5e5e5;background:#fff;color:#555;font-size:13px}.wp-filter a{text-decoration:none}.filter-count{display:inline-block;vertical-align:middle;min-width:4em}.filter-count .count,.title-count{display:inline-block;position:relative;top:-1px;padding:4px 10px;-webkit-border-radius:30px;border-radius:30px;background:#777;color:#fff;font-size:14px;font-weight:600}.title-count{display:inline;top:-3px;margin-right:5px;margin-left:20px}.filter-items{float:right}.filter-links,.filter-links li{display:inline-block;margin:0}.filter-links li>a{display:inline-block;margin:0 10px;padding:15px 0;border-bottom:4px solid #fff;color:#666;cursor:pointer}.filter-links .current{-webkit-box-shadow:none;box-shadow:none;border-bottom:4px solid #666;color:#23282d}.filter-links li>a:focus,.filter-links li>a:hover,.show-filters .filter-links a.current:focus,.show-filters .filter-links a.current:hover{color:#00a0d2}.wp-filter .search-form{float:left;margin:10px 0}.wp-filter .search-form input[type=search]{margin:0;padding:3px 5px;width:280px;max-width:100%;font-size:16px;font-weight:300;line-height:1.5}.wp-filter .search-form select{margin:0;height:32px;vertical-align:top}.wp-filter .search-form.search-plugins{display:inline-block}.wp-filter .drawer-toggle{display:inline-block;margin:0 10px;padding:4px 6px;color:#666;cursor:pointer}.wp-filter .drawer-toggle:before{display:inline-block;vertical-align:top;content:"\f111";margin:0 0 0 5px;width:16px;height:16px;color:#777;-webkit-transition:color .1s ease-in 0;transition:color .1s ease-in 0;font-family:dashicons;font-size:16px;line-height:1;text-align:center;text-decoration:inherit;font-weight:400;font-style:normal;-webkit-font-smoothing:antialiased}.wp-filter .drawer-toggle:hover,.wp-filter .drawer-toggle:hover:before{color:#00a0d2}.show-filters .wp-filter .drawer-toggle:before,.wp-filter .drawer-toggle.current:before{color:#fff}.filter-drawer{display:none;margin:0 -20px;padding:20px;border-top:1px solid #eee;background:#fafafa}.show-filters .filter-drawer{display:block;overflow:hidden;width:100%}.show-filters .wp-filter .drawer-toggle:focus,.show-filters .wp-filter .drawer-toggle:hover{background:#2ea2cc}.show-filters .filter-links a.current{border-bottom:none}.show-filters .wp-filter .drawer-toggle{-webkit-border-radius:2px;border-radius:2px;border:none;background:#777;color:#fff}.filter-group{box-sizing:border-box;float:right;margin:0 0 0 1%;padding:10px;width:24%;box-shadow:0 1px 1px rgba(0,0,0,.04)}.filter-group,.filtered-by .tag{background:#fff;border:1px solid #e5e5e5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04)}.filter-group,html.wp-toolbar{-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.filter-group h4{position:relative;margin:0}.filter-drawer ol{margin:20px 0 0;list-style-type:none;font-size:12px}.filter-drawer li{display:inline-block;vertical-align:top;margin:5px 0;padding-left:25px;width:160px;list-style-type:none}.filter-drawer .buttons{margin-bottom:20px}.filter-drawer .buttons .button span{display:inline-block;opacity:.8;font-size:12px;text-indent:10px}.spinner,input[type=checkbox].disabled,input[type=checkbox].disabled:checked:before,input[type=checkbox]:disabled,input[type=checkbox]:disabled:checked:before,input[type=radio].disabled,input[type=radio].disabled:checked:before,input[type=radio]:disabled,input[type=radio]:disabled:checked:before{opacity:.7}.wp-filter .button.clear-filters{display:none;margin-right:10px}.filtered-by{display:none;margin:0}.filtered-by>span{font-weight:600}.filtered-by a{margin-right:10px}.filtered-by .tags{display:inline}.filtered-by .tag{margin:0 5px;padding:4px 8px;box-shadow:0 1px 1px rgba(0,0,0,.04);font-size:11px}.filters-applied .filter-drawer .buttons,.filters-applied .filter-drawer br,.filters-applied .filter-group{display:none!important}.filters-applied .filtered-by{display:block}.filters-applied .filter-drawer{padding:20px}.error .content-filterable,.loading-content .content-filterable,.show-filters .content-filterable,.show-filters.filters-applied.loading-content .content-filterable{display:none}.show-filters.filters-applied .content-filterable{display:block}.loading-content .spinner{display:block;margin:40px auto 0;float:none}@media only screen and (max-width:1120px){.filter-drawer{border-bottom:1px solid #eee}.filter-group{margin-bottom:0;margin-top:5px;width:100%}.filter-group li{margin:10px 0}}@media only screen and (max-width:1000px){.filter-items{float:none}.wp-filter .media-toolbar-primary,.wp-filter .media-toolbar-secondary,.wp-filter .search-form{float:none;position:relative;max-width:100%}}@media only screen and (max-width:782px){.filter-group li{padding:0;width:50%}}@media only screen and (max-width:320px){.filter-count{display:none}.wp-filter .drawer-toggle{margin:10px 0}.filter-group li,.wp-filter .search-form input[type=search]{width:100%}}.notice,div.error,div.updated{background:#fff;border-right:4px solid #fff;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1);margin:5px 15px 2px;padding:1px 12px}.notice-dismiss:focus,.widget-top a.widget-action:focus:after{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.form-table td .notice p,.notice p,div.error p,div.updated p{margin:.5em 0;padding:2px}.wp-core-ui .notice.is-dismissible{padding-left:38px;position:relative}.notice-dismiss{position:absolute;top:0;left:1px;border:none;margin:0;padding:9px;background:0 0;color:#b4b9be;cursor:pointer}.notice-dismiss:active:before,.notice-dismiss:focus:before,.notice-dismiss:hover:before{color:#c00}.notice-dismiss:focus{outline:0;box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.ie8 .notice-dismiss:focus{outline:#5b9dd9 solid 1px}.notice-success,div.updated{border-color:#7ad03a}.notice-warning{border-color:#ffba00}.notice-error,div.error{border-color:#dd3d36}.notice-info{border-color:#00a0d2}.media-upload-form .notice,.media-upload-form div.error,.wrap .notice,.wrap div.error,.wrap div.updated{margin:5px 0 15px}#update-nag,.update-nag{display:inline-block;line-height:19px;padding:11px 15px;font-size:14px;text-align:right;margin:25px 2px 0 20px;background-color:#fff;border-right:4px solid #ffba00;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1)}.update-message{color:#000}.update-php .spinner{float:none;margin:-4px 0}#ajax-response.alignleft{margin-right:2em}#adminmenu a,#catlist a,#taglist a{text-decoration:none}#contextual-help-wrap,#screen-options-wrap{margin:0;padding:8px 20px 12px;position:relative}#contextual-help-wrap{overflow:auto;margin-right:0!important}#screen-meta-links{margin:0 0 0 20px}#screen-meta{display:none;margin:0 0 -1px 20px;position:relative;background-color:#fff;border:1px solid #ddd;border-top:none;-webkit-box-shadow:0 1px 0 rgba(0,0,0,.025);box-shadow:0 1px 0 rgba(0,0,0,.025)}#contextual-help-link-wrap,#screen-options-link-wrap{float:left;height:28px;margin:0 6px 0 0;border:1px solid #ddd;border-top:none;background:#fff;-webkit-box-shadow:0 1px 1px -1px rgba(0,0,0,.1);box-shadow:0 1px 1px -1px rgba(0,0,0,.1)}#screen-meta-links .screen-meta-toggle{position:relative;top:0}#screen-meta-links .show-settings{border:0;background:0 0;-webkit-border-radius:0;border-radius:0;color:#777;line-height:1.7;padding:3px 16px 3px 6px}#screen-meta-links .show-settings:active,#screen-meta-links .show-settings:focus,#screen-meta-links .show-settings:hover{color:#32373c}#screen-meta-links .show-settings:after{left:0;content:'\f140';font:400 20px/1 dashicons;speak:none;display:inline-block;padding:0 0 0 5px;bottom:2px;position:relative;vertical-align:bottom;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#b4b9be}.hndle a,.widefat tfoot td,.widefat th,.widefat thead td{font-weight:400}#screen-meta-links .screen-meta-active:after{content:'\f142'}.toggle-arrow{background-repeat:no-repeat;background-position:top left;background-color:transparent;height:22px;line-height:22px;display:block}.toggle-arrow-active{background-position:bottom left}#contextual-help-wrap h5,#screen-options-wrap h5{margin:8px 0;font-size:13px}.metabox-prefs label{display:inline-block;padding-left:15px;line-height:30px}.metabox-prefs label input[type=checkbox]{margin-top:-4px;margin-left:6px}.metabox-prefs label input{margin:0 2px 0 5px}.metabox-prefs .columns-prefs label input{margin:0 2px}.metabox-prefs label a{display:none}.metabox-prefs .screen-options{padding-top:10px}.metabox-prefs .screen-options input,.metabox-prefs .screen-options label{margin-top:0;margin-bottom:0;vertical-align:middle}.metabox-prefs .screen-options .screen-per-page{margin-left:15px}.metabox-prefs .screen-options label{line-height:28px;padding-left:0}#contextual-help-wrap{padding:0}#contextual-help-columns{position:relative}#contextual-help-back{position:absolute;top:0;bottom:0;right:150px;left:170px;border:1px solid #e1e1e1;border-top:none;border-bottom:none;background:#f6fbfd}#contextual-help-wrap.no-sidebar #contextual-help-back{left:0;border-left-width:0;-webkit-border-bottom-left-radius:2px;border-bottom-left-radius:2px}.contextual-help-tabs{float:right;width:150px;margin:0}.contextual-help-tabs ul{margin:1em 0}.contextual-help-tabs li{margin-bottom:0;list-style-type:none;border-style:solid;border-width:0 2px 0 0;border-color:transparent}.contextual-help-tabs a{display:block;padding:5px 12px 5px 5px;line-height:18px;text-decoration:none;border:1px solid transparent;border-left:none;border-right:none}.contextual-help-tabs a:hover{color:#32373c}.contextual-help-tabs .active{padding:0;margin:0 0 0 -1px;border-right:2px solid #00a0d2;background:#f6fbfd;-webkit-box-shadow:0 2px 0 rgba(0,0,0,.02),0 1px 0 rgba(0,0,0,.02);box-shadow:0 2px 0 rgba(0,0,0,.02),0 1px 0 rgba(0,0,0,.02)}.contextual-help-tabs .active a{border-color:#e1e1e1;color:#32373c}.contextual-help-tabs-wrap{padding:0 20px;overflow:auto}.help-tab-content{display:none;margin:0 0 12px 22px;line-height:1.6em}.help-tab-content.active{display:block}.nav-tab,.spinner{display:inline-block}.help-tab-content ul li{list-style-type:disc;margin-right:18px}.contextual-help-sidebar{width:150px;float:left;padding:0 12px 0 8px;overflow:auto}html.wp-toolbar{padding-top:32px;box-sizing:border-box}.widefat td,.widefat th{color:#555}.widefat ol,.widefat p,.widefat tfoot tr td,.widefat tfoot tr th,.widefat thead tr td,.widefat thead tr th,.widefat ul{color:#32373c}.widefat td p{margin:2px 0 .8em}.widefat .column-comment p{margin:.6em 0}.postbox-container{float:right}.postbox-container .meta-box-sortables{box-sizing:border-box}.postbox-container .meta-box-sortables,input,textarea{-webkit-box-sizing:border-box;-moz-box-sizing:border-box}#wpbody-content .metabox-holder{padding-top:10px}.metabox-holder .postbox-container .empty-container{border:3px dashed #b4b9be;height:250px}.columns-2 #postbox-container-3 .empty-container,.columns-2 #postbox-container-4 .empty-container,.columns-3 #postbox-container-4 .empty-container,.metabox-holder.columns-1 .postbox-container .empty-container{border:0;height:0;min-height:0}#post-body-content{width:100%;min-width:463px;float:right}#post-body.columns-2 #postbox-container-1{float:left;margin-left:-300px;width:280px}#post-body.columns-2 #side-sortables{min-height:250px}@media only screen and (max-width:799px){#wpbody-content .metabox-holder .postbox-container .empty-container{border:0;height:0;min-height:0}}.js .postbox .hndle,.js .widget .widget-top{cursor:move}.js .accordion-section-title,.js .postbox .handlediv{cursor:pointer}.hndle a{font-size:11px}.postbox .handlediv{float:left;width:27px;height:30px}.sortable-placeholder{border:1px dashed #b4b9be;margin-bottom:20px}.postbox,.stuffbox{margin-bottom:20px;padding:0;line-height:1}.postbox .inside,.stuffbox .inside{padding:0 12px 12px;line-height:1.4em;font-size:13px}.postbox .inside{margin:11px 0;position:relative}.postbox .inside>p:last-child,.rss-widget ul li:last-child{margin-bottom:1px!important}.postbox.closed h3{border:none;-webkit-box-shadow:none;box-shadow:none}.postbox table.form-table{margin-bottom:0}.postbox table.widefat{-webkit-box-shadow:none;box-shadow:none}.temp-border{border:1px dotted #ccc}.columns-prefs label{padding:0 5px}#adminmenu .wp-submenu li.current,#adminmenu .wp-submenu li.current a,#adminmenu .wp-submenu li.current a:hover,#dashboard_right_now .versions .b,#ed_reply_toolbar #ed_reply_strong,#pass-strength-result.short,#pass-strength-result.strong,#post-status-display,#post-visibility-display,.feature-filter .feature-name,.item-controls .item-order a,.media-item .percent,.plugins .name{font-weight:600}#wpfooter{position:absolute;bottom:0;right:0;left:0;padding:10px 20px;color:#777}#wpfooter p{font-size:13px;margin:0;line-height:20px}#footer-thankyou{font-style:italic}#wpfooter a{text-decoration:none}#wpfooter a:hover{text-decoration:underline}#templateside ul li a,.nav-tab{text-decoration:none}.nav-tab{border:1px solid #ccc;border-bottom:none;background:#e4e4e4;color:#555;font-size:12px;line-height:16px;padding:4px 14px 6px;margin:-4px 0 -1px 4px}.nav-tab:hover{background-color:#fff;color:#464646}.nav-tab-active,.nav-tab-active:hover{border-bottom:1px solid #f1f1f1;background:#f1f1f1;color:#000}h1.nav-tab-wrapper,h2.nav-tab-wrapper,h3.nav-tab-wrapper{border-bottom:1px solid #ccc;padding-bottom:0;padding-right:10px}h1 .nav-tab,h2 .nav-tab{padding:6px 10px;font-weight:700;font-size:15px;line-height:24px}.spinner{background:url(../images/spinner.gif) no-repeat;-webkit-background-size:20px 20px;background-size:20px 20px;float:left;vertical-align:middle;filter:alpha(opacity=70);width:20px;height:20px;margin:4px 10px 0}.spinner.is-active{visibility:visible}#template div{margin-left:190px}.metabox-holder h3{font-size:14px;padding:8px 12px;margin:0;line-height:1.4}.plugin-install #description,.plugin-install-network #description{width:60%}table .column-rating,table .column-visible,table .vers{text-align:right}.attention,.error-message{color:red;font-weight:600}body.iframe{height:98%}.lp-show-latest p{display:none}#howto,.lp-show-latest .lp-error p,.lp-show-latest p:last-child{display:block}.media-icon{width:62px;text-align:center}.media-icon img{border:1px solid #e7e7e7;border:1px solid rgba(0,0,0,.07)}#howto{font-size:11px;margin:0 5px}.post-categories,.post-categories li{display:inline}.importers td{padding-left:14px}.checkbox,.post-categories,.zerosize,fieldset{margin:0;padding:0}.importers{font-size:16px;width:auto}#post-body #post-body-content #namediv h3{margin-top:0}.edit-comment-author{font-size:14px;line-height:1.4;font-weight:600;color:#222;margin:2px 9px 0 0}#namediv h3 label{vertical-align:baseline}#namediv table{width:100%}#namediv td.first{width:10px}#namediv input{width:98%}#namediv p{margin:10px 0}#submitdiv h3{margin-bottom:0!important}.zerosize{height:0;width:0;border:0;overflow:hidden;position:absolute}br.clear{height:2px;line-height:2px}.checkbox{border:none}fieldset{border:0}div.star-holder{position:relative;height:17px;width:100px;background:url(../images/stars.png?ver=20121108) bottom left repeat-x}div.star-holder .star-rating{background:url(../images/stars.png?ver=20121108) top left repeat-x;height:17px;float:right}.star-rating .star{display:inline-block;width:20px;height:20px;-webkit-font-smoothing:antialiased;font-size:20px;line-height:1;font-family:dashicons;text-decoration:inherit;font-weight:400;font-style:normal;vertical-align:top;-webkit-transition:color .1s ease-in 0;transition:color .1s ease-in 0;text-align:center;color:#ffb900}.star-rating .star-full:before{content:'\f155'}.star-rating .star-half:before{content:'\f459'}.rtl .star-rating .star-half{-webkit-transform:rotateY(180deg);-ms-transform:rotateY(180deg);transform:rotateY(180deg)}.star-rating .star-empty:before{content:'\f154'}div.action-links{font-weight:400}#plugin-information{background:#fff;position:fixed;top:0;left:0;bottom:0;right:0;height:100%;padding:0}#plugin-information-scrollable{overflow:auto;-webkit-overflow-scrolling:touch;height:100%}#plugin-information-title{padding:0 20px;background:#f5f5f5;font-size:22px;font-weight:600;line-height:56px;position:relative;top:0;left:0;right:0;height:56px;overflow:hidden;text-overflow:ellipsis}#plugin-information-title.with-banner{margin-left:0;height:250px;bottom:250px;-webkit-background-size:cover;background-size:cover}#plugin-information-title h2{font-size:1em;font-weight:700;padding:0;margin:0;max-width:680px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.meta-box-sortables select,p.submit{max-width:100%}#plugin-information-title.with-banner h2{font-family:"Helvetica Neue",sans-serif;display:inline-block;font-size:30px;line-height:50px;padding:0 15px;margin:174px 10px 0 0;color:#fff;background:rgba(30,30,30,.9);text-shadow:0 1px 3px rgba(0,0,0,.4);-webkit-box-shadow:0 0 30px rgba(255,255,255,.1);box-shadow:0 0 30px rgba(255,255,255,.1);-webkit-border-radius:8px;border-radius:8px}#plugin-information-title div.vignette{display:none}#plugin-information-title.with-banner div.vignette{display:block;float:left;top:0;height:250px;width:772px;margin:0 -20px;background:0 0;-webkit-box-shadow:inset 0 0 50px 4px rgba(0,0,0,.2),inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 0 50px 4px rgba(0,0,0,.2),inset 0 -1px 0 rgba(0,0,0,.1)}#plugin-information-tabs{padding:0 16px;position:relative;left:0;right:0;height:36px;z-index:1;border-bottom:1px solid #ddd;background:#f3f3f3}#plugin-information-tabs a{position:relative;float:right;padding:9px 10px;margin:0;height:18px;line-height:18px;font-size:14px;text-decoration:none;-webkit-transition:none;transition:none}#plugin-information-tabs a.current{margin:0 -1px;background:#fff;border:1px solid #ddd;border-bottom-color:#fff;padding-top:8px;color:#32373c}#plugin-information-tabs.with-banner a.current{border-top:none;padding-top:9px}#plugin-information-tabs a:active,#plugin-information-tabs a:focus{outline:0}#plugin-information-content{overflow:hidden;background:#fff;position:relative;top:0;left:0;right:0;min-height:100%;min-height:-webkit-calc(100% - 152px);min-height:calc(100% - 152px)}#plugin-information-content.with-banner{min-height:-webkit-calc(100% - 346px);min-height:calc(100% - 346px)}#section-holder{position:relative;top:0;left:250px;bottom:0;right:0;margin-left:250px;padding:10px 26px 99999px;margin-bottom:-99930px}#section-holder .updated{margin:16px 0}#plugin-information .fyi{display:block;float:left;position:relative;top:0;left:0;padding:16px 16px 99999px;margin-bottom:-99930px;width:217px;border-right:1px solid #ddd;background:#f3f3f3;color:#666}#plugin-information .fyi strong{color:#464646}#plugin-information .fyi h3{font-weight:700;text-transform:uppercase;font-size:12px;color:#666;margin:24px 0 8px}#plugin-information .fyi h2{font-size:.9em;margin-bottom:0;margin-left:0}#plugin-information .fyi ul{padding:0;margin:0;list-style:none}#plugin-information .fyi li{margin:0 0 10px}#plugin-information .counter-container{margin:3px 0}#plugin-information .counter-label{float:right;margin-left:5px;min-width:55px}#plugin-information .counter-back{height:17px;width:92px;background-color:#ececec;float:right}#plugin-information .counter-bar{height:17px;background-color:#ffc733;float:right}#plugin-information .counter-count{margin-right:5px}#plugin-information .fyi ul.contributors{margin-top:10px}#plugin-information .fyi ul.contributors li{display:inline-block;margin-left:8px;vertical-align:middle}#plugin-information .fyi ul.contributors li img{vertical-align:middle;margin-left:4px}#plugin-information-footer{padding:15px 16px;position:absolute;left:0;bottom:0;right:0;height:28px;border-top:1px solid #ddd;background:#f3f3f3}#plugin-information .section{direction:ltr}#plugin-information .section ol,#plugin-information .section ul{list-style-type:disc;margin-left:24px}#plugin-information .section,#plugin-information .section p{font-size:14px;line-height:1.7}#plugin-information #section-screenshots ol{list-style:none;margin:0}#plugin-information #section-screenshots li img{vertical-align:text-top;margin-top:16px;max-width:100%;width:auto;height:auto;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.3);box-shadow:0 1px 2px rgba(0,0,0,.3)}#plugin-information #section-screenshots li p{font-style:italic;padding-left:20px}#plugin-information pre{padding:7px;overflow:auto;border:1px solid #ccc}#plugin-information .review{overflow:hidden;width:100%;margin-bottom:20px;border-bottom:1px solid #e6e6e6}#plugin-information .review-title-section{overflow:hidden}#plugin-information .review-title-section h4{display:inline-block;float:left;margin:0 6px 0 0}#postcustomstuff p.submit,#templateside h3,.alignleft h3{margin:0}#plugin-information .reviewer-info p{clear:both;margin:0;padding-top:2px}#plugin-information .reviewer-info .avatar{float:left;margin:4px 6px 0 0}#plugin-information .reviewer-info .star-rating{float:left}#plugin-information .review-meta{float:left;margin-left:.75em}#plugin-information .review-body{float:left;width:100%}.plugin-version-author-uri{font-size:13px}@media screen and (max-width:771px){#plugin-information-title.with-banner{height:100px;bottom:100px}#plugin-information-title.with-banner h2{margin-top:30px;font-size:20px;line-height:40px;max-width:85%}#plugin-information-title.with-banner div.vignette{height:100px;bottom:100px;width:800%}#plugin-information-tabs{overflow:hidden;padding:0;height:auto}#plugin-information-tabs a.current{margin-bottom:0;border-bottom:none}#plugin-information .fyi{float:none;border:1px solid #ddd;position:static;width:auto;margin:26px 26px 0;padding-bottom:0}#section-holder{position:static;margin:0;padding-bottom:70px}#plugin-information .fyi h3,#plugin-information .fyi small{display:none}#plugin-information-footer{padding:12px 16px 0;height:46px}}body.import-php #TB_window,body.index-php #TB_window,body.plugin-install-php #TB_window,body.plugins-php #TB_window,body.update-core-php #TB_window{background:url(../images/spinner.gif) center no-repeat #fcfcfc}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){body.import-php #TB_window,body.index-php #TB_window,body.plugin-install-php #TB_window,body.plugins-php #TB_window,body.update-core-php #TB_window{background:url(../images/spinner-2x.gif) center no-repeat #fcfcfc;-webkit-background-size:20px 20px;background-size:20px 20px}}body.import-php #TB_title,body.index-php #TB_title,body.plugin-install-php #TB_title,body.plugins-php #TB_title,body.update-core-php #TB_title{float:right;height:1px}body.import-php #TB_ajaxWindowTitle,body.index-php #TB_ajaxWindowTitle,body.plugin-install-php #TB_ajaxWindowTitle,body.plugins-php #TB_ajaxWindowTitle,body.update-core-php #TB_ajaxWindowTitle{display:none}body.import-php .tb-close-icon,body.index-php .tb-close-icon,body.plugin-install-php .tb-close-icon,body.plugins-php .tb-close-icon,body.update-core-php .tb-close-icon{right:auto;left:-30px;color:#eee;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out}body.import-php #TB_closeWindowButton:focus,body.import-php #TB_closeWindowButton:focus .tb-close-icon,body.import-php .tb-close-icon:focus,body.import-php .tb-close-icon:hover,body.index-php #TB_closeWindowButton:focus,body.index-php #TB_closeWindowButton:focus .tb-close-icon,body.index-php .tb-close-icon:focus,body.index-php .tb-close-icon:hover,body.plugin-install-php #TB_closeWindowButton:focus,body.plugin-install-php #TB_closeWindowButton:focus .tb-close-icon,body.plugin-install-php .tb-close-icon:focus,body.plugin-install-php .tb-close-icon:hover,body.plugins-php #TB_closeWindowButton:focus,body.plugins-php #TB_closeWindowButton:focus .tb-close-icon,body.plugins-php .tb-close-icon:focus,body.plugins-php .tb-close-icon:hover,body.update-core-php #TB_closeWindowButton:focus,body.update-core-php #TB_closeWindowButton:focus .tb-close-icon,body.update-core-php .tb-close-icon:focus,body.update-core-php .tb-close-icon:hover{color:#00a0d2;outline:0;-webkit-box-shadow:none;box-shadow:none}body.import-php .tb-close-icon:before,body.index-php .tb-close-icon:before,body.plugin-install-php .tb-close-icon:before,body.plugins-php .tb-close-icon:before,body.update-core-php .tb-close-icon:before{content:"\f335";font-size:32px}@media screen and (max-width:830px){body.import-php .tb-close-icon,body.index-php .tb-close-icon,body.plugin-install-php .tb-close-icon,body.plugins-php .tb-close-icon,body.update-core-php .tb-close-icon{left:0;top:-30px}}img{border:none}#wphead{border-bottom:1px solid #dfdfdf}#wphead h1 a{color:#464646}.js .meta-box-sortables .postbox:hover .handlediv{margin-left:0!important}.js .meta-box-sortables .postbox .handlediv:before,.js .sidebar-name .sidebar-name-arrow:before{left:12px;font:400 20px/1 dashicons;speak:none;display:inline-block;padding:8px 10px;top:0;position:relative;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;content:'\f142'}.js #widgets-left .sidebar-name .sidebar-name-arrow{display:none}.js #widgets-left .sidebar-name:hover .sidebar-name-arrow,.js #widgets-left .widgets-holder-wrap.closed .sidebar-name .sidebar-name-arrow{display:block}.js .meta-box-sortables .postbox.closed .handlediv:before,.js .widgets-holder-wrap.closed .sidebar-name-arrow:before{content:'\f140'}.error a{text-decoration:underline}.updated a{text-decoration:none;padding-bottom:2px}#photo-add-url-div input[type=text]{width:300px}#template textarea{font-family:Consolas,Monaco,monospace;font-size:13px;width:97%;background:#f9f9f9;outline:0}#docs-list,#template textarea{direction:ltr}#template p{width:97%}#templateside{float:left;width:190px}#templateside h4{margin:1em 0 0}#templateside ol,#templateside ul{margin:.5em 0;padding:0}#templateside li{margin:4px 0}#templateside li a,.theme-editor-php .highlight{display:block;padding:3px 12px 3px 3px;text-decoration:none}.theme-editor-php .highlight{margin:-3px -12px -3px 3px}#templateside .highlight{border:none;font-weight:700}.nonessential{color:#666;font-size:11px;font-style:italic;padding-right:12px}#documentation{margin-top:10px}#documentation label{line-height:22px;vertical-align:baseline;font-weight:600}.fileedit-sub{padding:10px 0 8px;line-height:180%}.accordion-section-title:after,.control-section .accordion-section-title:after,.nav-menus-php .item-edit:before,.widget-top a.widget-action:after{left:0;content:'\f140';border:none;background:0 0;font:400 20px/1 dashicons;speak:none;display:block;padding:0;text-indent:0;text-align:center;position:relative;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}.my-sites li a,form p.submit a.cancel:hover{text-decoration:none}.accordion-section-title:after,.handlediv,.item-edit,.sidebar-name-arrow,.widget-action{color:#a0a5aa}.accordion-section-title:hover:after,.handlediv:hover,.item-edit:hover,.sidebar-name:hover .sidebar-name-arrow,.widget-action:hover{color:#777}.widget-top a.widget-action:after{padding:12px 12px 11px}.widget-top a.widget-action:focus:after{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.nav-menus-php .item-edit:before{line-height:2.1}.accordion-section-title:after,.control-section .accordion-section-title:after{float:left;left:20px;top:-2px}#customize-info.open .accordion-section-title:after,.control-section.open .accordion-section-title:after,.nav-menus-php .menu-item-edit-active .item-edit:before,.widget.open .widget-top a.widget-action:after{content:'\f142'}/*! +.filter-group,.wp-filter{-moz-box-sizing:border-box}#docs-list,#plugin-information .section,#template textarea,.code,.ltr,code,input[type=email],input[type=url]{direction:ltr}#dashboard_quick_press textarea,textarea{resize:vertical}table.diff,table.fixed{table-layout:fixed}.color-palette,.form-table,.media-item .describe{border-collapse:collapse}#wpwrap{height:auto;min-height:100%;width:100%;position:relative;-webkit-font-smoothing:subpixel-antialiased}#wpcontent{height:100%;padding-right:20px}#wpcontent,#wpfooter{margin-right:160px}.folded #wpcontent,.folded #wpfooter{margin-right:36px}#wpbody-content{padding-bottom:65px;float:right;width:100%;overflow:visible!important}.inner-sidebar{float:left;clear:left;display:none;width:281px;position:relative}.columns-2 .inner-sidebar{margin-left:auto;width:286px;display:block}.columns-2 .inner-sidebar #side-sortables,.inner-sidebar #side-sortables{min-height:300px;width:280px;padding:0}.has-right-sidebar .inner-sidebar{display:block}.has-right-sidebar #post-body{float:right;clear:right;width:100%;margin-left:-2000px}.has-right-sidebar #post-body-content{margin-left:300px;float:none;width:auto}#col-container,#col-left,#col-right{overflow:hidden;padding:0;margin:0}#col-left{width:35%}#col-right{float:left;clear:left;width:65%}#publishing-action .spinner,#save-post,.alignleft,.subsubsub{float:right}.col-wrap{padding:0 7px}.alignright{float:left}.textleft{text-align:right}.textright{text-align:left}.clear{clear:both}.screen-reader-text,.screen-reader-text span,.ui-helper-hidden-accessible{position:absolute;margin:-1px;padding:0;height:1px;width:1px;overflow:hidden;clip:rect(0 0 0 0);border:0;word-wrap:normal!important}h2,h3,p{margin:1em 0}#adminmenu .wp-submenu,#dashboard_quick_press .draft-title,#templateside,#the-comment-list td.comment,.dashboard-comment-wrap,.misc-pub-filename,.pre,.widefat *{word-wrap:break-word}.screen-reader-shortcut{position:absolute;top:-1000em}.screen-reader-shortcut:focus{right:6px;top:-25px;height:auto;width:auto;display:block;font-size:14px;font-weight:600;padding:15px 23px 14px;background:#f1f1f1;color:#0073aa;z-index:100000;line-height:normal;-webkit-box-shadow:0 0 2px 2px rgba(0,0,0,.6);box-shadow:0 0 2px 2px rgba(0,0,0,.6);text-decoration:none;outline:0}.filter-group,.wp-filter{-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04)}.hidden,.js .closed .inside,.js .hide-if-js,.js .wp-core-ui .hide-if-js,.js.wp-core-ui .hide-if-js,.no-js .hide-if-no-js,.no-js .wp-core-ui .hide-if-no-js,.no-js.wp-core-ui .hide-if-no-js{display:none}#menu-management .menu-edit,#menu-settings-column .accordion-container,.comment-ays,.feature-filter,.imgedit-group,.manage-menus,.menu-item-handle,.popular-tags,.stuffbox,.widget-inside,.widget-top,.widgets-holder-wrap,.wp-editor-container,p.popular-tags,table.widefat{border:1px solid #e5e5e5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04)}.comment-ays,.feature-filter,.imgedit-group,.popular-tags,.stuffbox,.widgets-holder-wrap,.wp-editor-container,p.popular-tags,table.widefat{background:#fff}body,html{height:100%;margin:0;padding:0}html{background:#f1f1f1}body{color:#444;font-family:"Open Sans",sans-serif;font-size:13px;line-height:1.4em;min-width:600px}body.iframe{min-width:0;padding-top:1px}body.modal-open{overflow:hidden}body.mobile.modal-open #wpwrap{overflow:hidden;position:fixed;height:100%}iframe,img{border:0}td{font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit}a{color:#0073aa;-webkit-transition-property:border,background,color;transition-property:border,background,color;-webkit-transition-duration:.05s;transition-duration:.05s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}a,div{outline:0}a:active,a:hover{color:#00a0d2}a:focus,a:focus .media-icon img{color:#124964;-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}h1,h2,h3{color:#23282d}.ie8 a:focus{outline:#5b9dd9 solid 1px}#adminmenu a:focus,.screen-reader-text:focus{-webkit-box-shadow:none;box-shadow:none;outline:0}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}p{font-size:13px;line-height:1.5}blockquote{margin:1em}dd,li{margin-bottom:6px}h1,h2,h3,h4,h5,h6{display:block;font-weight:600}h1{font-size:2em;margin:.67em 0}h2,h3{font-size:1.3em}.update-core-php h2,.update-php h2,h4{font-size:1em;margin:1.33em 0}h5{font-size:.83em;margin:1.67em 0}h6{font-size:.67em;margin:2.33em 0}ol,ul{padding:0}ul{list-style:none}ol{list-style-type:decimal;margin-right:2em}ul.ul-disc{list-style:disc}ul.ul-square{list-style:square}ol.ol-decimal{list-style:decimal}ol.ol-decimal,ul.ul-disc,ul.ul-square{margin-right:1.8em}ol.ol-decimal>li,ul.ul-disc>li,ul.ul-square>li{margin:0 0 .5em}.code,code{font-family:Consolas,Monaco,monospace;unicode-bidi:embed}code,kbd{padding:3px 5px 2px;margin:0 1px;background:#eaeaea;background:rgba(0,0,0,.07);font-size:13px}.subsubsub{list-style:none;margin:8px 0 0;padding:0;font-size:13px;color:#666}.subsubsub a{line-height:2;padding:.2em;text-decoration:none}.subsubsub a .count,.subsubsub a.current .count{color:#999;font-weight:400}.subsubsub a.current{font-weight:600;border:none}.subsubsub li{display:inline-block;margin:0;padding:0;white-space:nowrap}.widefat{border-spacing:0;width:100%;clear:both;margin:0}.widefat a{text-decoration:none}.widefat td,.widefat th{padding:8px 10px}.widefat thead td,.widefat thead th{border-bottom:1px solid #e1e1e1}.widefat tfoot td,.widefat tfoot th{border-top:1px solid #e1e1e1;border-bottom:none}.widefat .no-items td{border-bottom-width:0}.widefat td{vertical-align:top}.widefat td,.widefat td ol,.widefat td p,.widefat td ul{font-size:13px;line-height:1.5em}.widefat tfoot td,.widefat th,.widefat thead td{text-align:right;line-height:1.3em;font-size:14px}.widefat tfoot td input,.widefat th input,.widefat thead td input{margin:0 8px 0 0;padding:0;vertical-align:text-top}.widefat .check-column{width:2.2em;padding:6px 0 25px;vertical-align:top}.widefat tfoot td input[type=checkbox],.widefat th input[type=checkbox],.widefat thead td input[type=checkbox]{margin-top:-1px}.widefat tbody th.check-column,.widefat tfoot td.check-column,.widefat thead td.check-column{padding:11px 3px 0 0}.widefat tfoot td.check-column,.widefat thead td.check-column{padding-top:4px;vertical-align:middle}.update-php div.error,.update-php div.updated{margin-right:0}.no-js .widefat tfoot .check-column input,.no-js .widefat thead .check-column input{display:none}.column-comments,.column-links,.column-posts,.widefat .num{text-align:center}.widefat th#comments{vertical-align:middle}.wrap{margin:10px 2px 0 20px}.postbox .inside h2,.wrap [class$=icon32]+h2,.wrap h1,.wrap>h2:first-child{font-size:23px;font-weight:400;margin:0;padding:9px 0 4px 15px;line-height:29px}.subtitle{margin:0;padding-right:25px;color:#777;font-size:14px;font-weight:400}.wrap .add-new-h2,.wrap .add-new-h2:active,.wrap .page-title-action,.wrap .page-title-action:active{margin-right:4px;padding:4px 8px;position:relative;top:-3px;text-decoration:none;border:none;-webkit-border-radius:2px;border-radius:2px;background:#e0e0e0;text-shadow:none;font-weight:600;font-size:13px}.wrap .add-new-h2:hover,.wrap .page-title-action:hover{background:#00a0d2;color:#fff}.wrap h1.long-header{padding-left:0}.wp-dialog{background-color:#fff}.sorthelper{background-color:#ccf3fa}.ac_match,.subsubsub a.current{color:#000}.alternate,.striped>tbody>:nth-child(odd),ul.striped>:nth-child(odd){background-color:#f9f9f9}.bar{background-color:#e8e8e8;border-left-color:#99d}.media-upload-form label.form-help,td.help{color:#9a9a9a}.highlight{background-color:#e4f2fd;color:#000}.wp-ui-primary{color:#fff;background-color:#32373c}.wp-ui-text-primary{color:#32373c}.wp-ui-highlight{color:#fff;background-color:#1e8cbe}.wp-ui-text-highlight{color:#1e8cbe}.wp-ui-notification{color:#fff;background-color:#d54e21}.wp-ui-text-notification{color:#d54e21}.wp-ui-text-icon{color:#999}img.emoji{display:inline!important;border:none!important;height:1em!important;width:1em!important;margin:0 .07em!important;vertical-align:-.1em!important;background:0 0!important;padding:0!important;-webkit-box-shadow:none!important;box-shadow:none!important}#nav-menu-footer,#nav-menu-header,#your-profile #rich_editing,.checkbox,.control-section .accordion-section-title,.menu-item-handle,.postbox .hndle,.side-info,.sidebar-name,.stuffbox .hndle,.widefat tfoot td,.widefat tfoot th,.widefat thead td,.widefat thead th,.widget .widget-top{line-height:1.4em}.menu-item-handle,.widget .widget-top{background:#fafafa;color:#23282d}.postbox .hndle,.stuffbox .hndle{border-bottom:1px solid #eee;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#adminmenu *,.accordion-section-title{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.quicktags,.search{background-color:#ccc;color:#000;font-size:12px}.icon32{display:none}#bulk-titles div a:before,.notice-dismiss:before,.tagchecklist span a:before,.welcome-panel .welcome-panel-close:before{background:0 0;color:#b4b9be;content:"\f153";display:block;font:400 16px/20px dashicons;speak:none;height:20px;text-align:center;width:20px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.welcome-panel .welcome-panel-close:before{margin:0}#bulk-titles div a:before,.tagchecklist span a:before{margin:1px 0}#bulk-titles div a:hover:before,.tagchecklist span a:hover:before,.welcome-panel .welcome-panel-close:focus:before,.welcome-panel .welcome-panel-close:hover:before{color:#c00}.key-labels label{line-height:24px}b,strong{font-weight:600}.pre{white-space:pre-wrap}#namediv td.first,#plugin-information-title,.nav-tab,.no-break,.star-rating,.ui-autocomplete li{white-space:nowrap}.howto{color:#666;font-style:italic;display:block}p.install-help{margin:8px 0;font-style:italic}hr{border:0;border-top:1px solid #ddd;border-bottom:1px solid #fafafa}#all-plugins-table .plugins a.delete,#media-items a.delete,#media-items a.delete-permanently,#nav-menu-footer .menu-delete,#search-plugins-table .plugins a.delete,.plugins a.delete,.row-actions span.delete a,.row-actions span.spam a,.row-actions span.trash a,.submitbox .submitdelete{color:#a00}#all-plugins-table .plugins a.delete:hover,#media-items a.delete-permanently:hover,#media-items a.delete:hover,#nav-menu-footer .menu-delete:hover,#search-plugins-table .plugins a.delete:hover,.file-error,.plugins a.delete:hover,.row-actions .delete a:hover,.row-actions .spam a:hover,.row-actions .trash a:hover,.submitbox .submitdelete:hover,.widget-control-remove:hover,abbr.required{color:red;text-decoration:none;border:none}#major-publishing-actions{padding:10px;clear:both;border-top:1px solid #ddd;background:#f5f5f5}#delete-action{line-height:28px;vertical-align:middle;text-align:right;float:right}#publishing-action{text-align:left;float:left;line-height:23px}#misc-publishing-actions{padding:6px 0 0}.misc-pub-section{padding:6px 10px 8px}#minor-publishing-actions{padding:10px 10px 0;text-align:left}.preview{float:left}#sticky-span{margin-right:18px}.side-info{margin:0;padding:4px;font-size:11px}.side-info h5{padding-bottom:7px;font-size:14px;margin:12px 2px 5px;border-bottom:1px solid #dadada}.side-info ul{margin:0;padding-right:18px;list-style:square;color:#666}.approve,.unapproved .unapprove{display:none}.spam .approve,.trash .approve,.unapproved .approve{display:inline}td.action-links,th.action-links{text-align:left}.wp-filter{display:inline-block;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;margin:12px 0 25px;padding:0 10px;width:100%;box-shadow:0 1px 1px rgba(0,0,0,.04);border:1px solid #e5e5e5;background:#fff;color:#555;font-size:13px}.filter-group,html.wp-toolbar{-webkit-box-sizing:border-box}.wp-filter a{text-decoration:none}.filter-count{display:inline-block;vertical-align:middle;min-width:4em}.filter-count .count,.title-count{display:inline-block;position:relative;top:-1px;padding:4px 10px;-webkit-border-radius:30px;border-radius:30px;background:#777;color:#fff;font-size:14px;font-weight:600}.title-count{display:inline;top:-3px;margin-right:5px;margin-left:20px}.filter-items{float:right}.filter-links,.filter-links li{display:inline-block;margin:0}.filter-links li>a{display:inline-block;margin:0 10px;padding:15px 0;border-bottom:4px solid #fff;color:#666;cursor:pointer}.filter-links .current{-webkit-box-shadow:none;box-shadow:none;border-bottom:4px solid #666;color:#23282d}.filter-links li>a:focus,.filter-links li>a:hover,.show-filters .filter-links a.current:focus,.show-filters .filter-links a.current:hover{color:#00a0d2}.wp-filter .search-form{float:left;margin:10px 0}.wp-filter .search-form input[type=search]{margin:0;padding:3px 5px;width:280px;max-width:100%;font-size:16px;font-weight:300;line-height:1.5}.wp-filter .search-form select{margin:0;height:32px;vertical-align:top}.wp-filter .search-form.search-plugins{display:inline-block}.wp-filter .drawer-toggle{display:inline-block;margin:0 10px;padding:4px 6px;color:#666;cursor:pointer}.wp-filter .drawer-toggle:before{display:inline-block;vertical-align:top;content:"\f111";margin:0 0 0 5px;width:16px;height:16px;color:#777;-webkit-transition:color .1s ease-in 0;transition:color .1s ease-in 0;font-family:dashicons;font-size:16px;line-height:1;text-align:center;text-decoration:inherit;font-weight:400;font-style:normal;-webkit-font-smoothing:antialiased}.filter-drawer,.wp-filter .favorites-form{margin:0 -20px;padding:20px;border-top:1px solid #eee;background:#fafafa}.wp-filter .drawer-toggle:hover,.wp-filter .drawer-toggle:hover:before{color:#00a0d2}.wp-filter .drawer-toggle.current:before{color:#fff}.wp-filter .favorites-form{display:none;overflow:hidden;width:100%}.show-favorites-form .wp-filter .favorites-form{display:block}.filter-drawer{display:none}.show-filters .filter-drawer{display:block;overflow:hidden;width:100%}.show-filters .wp-filter .drawer-toggle:focus,.show-filters .wp-filter .drawer-toggle:hover{background:#2ea2cc}.show-filters .filter-links a.current{border-bottom:none}.show-filters .wp-filter .drawer-toggle{-webkit-border-radius:2px;border-radius:2px;border:none;background:#777;color:#fff}.filter-group,.filtered-by .tag{border:1px solid #e5e5e5;background:#fff}.show-filters .wp-filter .drawer-toggle:before{color:#fff}.filter-group{box-sizing:border-box;position:relative;float:right;margin:0 0 0 1%;padding:20px 10px 10px;width:24%;box-shadow:0 1px 1px rgba(0,0,0,.04)}.filter-group legend{position:absolute;top:10px;display:block;margin:0;padding:0;font-size:1em;font-weight:600}.filter-drawer .filter-group-feature{margin:28px 0 0;list-style-type:none;font-size:12px}.filter-drawer .filter-group-feature input,.filter-drawer .filter-group-feature label{display:inline-block;margin:7px 0 7px 4px;line-height:16px}.filter-drawer .buttons{margin-bottom:20px}.filter-drawer .buttons .button span{display:inline-block;opacity:.8;font-size:12px;text-indent:10px}.wp-filter .button.clear-filters{display:none;margin-right:10px}.filtered-by{display:none;margin:0}.filtered-by>span{font-weight:600}.filtered-by a{margin-right:10px}.filtered-by .tags{display:inline}.filtered-by .tag{margin:0 5px;padding:4px 8px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);font-size:11px}.filters-applied .filter-drawer .buttons,.filters-applied .filter-drawer br,.filters-applied .filter-group{display:none!important}.filters-applied .filtered-by{display:block}.filters-applied .filter-drawer{padding:20px}.error .content-filterable,.loading-content .content-filterable,.show-filters .content-filterable,.show-filters.filters-applied.loading-content .content-filterable{display:none}.show-filters.filters-applied .content-filterable{display:block}.loading-content .spinner{display:block;margin:40px auto 0;float:none}@media only screen and (max-width:1120px){.filter-drawer{border-bottom:1px solid #eee}.filter-group{margin-bottom:0;margin-top:5px;width:100%}.filter-group li{margin:10px 0}}@media only screen and (max-width:1000px){.filter-items{float:none}.wp-filter .media-toolbar-primary,.wp-filter .media-toolbar-secondary,.wp-filter .search-form{float:none;position:relative;max-width:100%}}@media only screen and (max-width:782px){.filter-group li{padding:0;width:50%}}@media only screen and (max-width:320px){.filter-count{display:none}.wp-filter .drawer-toggle{margin:10px 0}.filter-group li,.wp-filter .search-form input[type=search]{width:100%}}.notice,div.error,div.updated{background:#fff;border-right:4px solid #fff;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1);margin:5px 15px 2px;padding:1px 12px}.form-table td .notice p,.notice p,.notice-title,div.error p,div.updated p{margin:.5em 0;padding:2px}.error a{text-decoration:underline}#adminmenu a,#catlist a,#taglist a,.updated a{text-decoration:none}.updated a{padding-bottom:2px}.notice-alt{-webkit-box-shadow:none;box-shadow:none}.notice-large{padding:10px 20px}.notice-title{display:inline-block;color:#23282d;font-size:18px}.wp-core-ui .notice.is-dismissible{padding-left:38px;position:relative}.notice-dismiss{position:absolute;top:0;left:1px;border:none;margin:0;padding:9px;background:0 0;color:#b4b9be;cursor:pointer}.notice-dismiss:active:before,.notice-dismiss:focus:before,.notice-dismiss:hover:before{color:#c00}.notice-dismiss:focus{outline:0;-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.ie8 .notice-dismiss:focus{outline:#5b9dd9 solid 1px}.notice-success,div.updated{border-right-color:#46b450}.notice-success.notice-alt{background-color:#ecf7ed}.notice-warning{border-right-color:#ffb900}.notice-warning.notice-alt{background-color:#fff8e5}.notice-error,div.error{border-right-color:#dc3232}.notice-error.notice-alt{background-color:#fbeaea}.notice-info{border-right-color:#00a0d2}.notice-info.notice-alt{background-color:#e5f5fa}.media-upload-form .notice,.media-upload-form div.error,.wrap .notice,.wrap div.error,.wrap div.updated{margin:5px 0 15px}#update-nag,.update-nag{display:inline-block;line-height:19px;padding:11px 15px;font-size:14px;text-align:right;margin:25px 2px 0 20px;background-color:#fff;border-right:4px solid #ffba00;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1)}.update-message{color:#000}.update-php .spinner{float:none;margin:-4px 0}#ajax-loading,.ajax-feedback,.ajax-loading,.imgedit-wait-spin,.list-ajax-loading{visibility:hidden}#ajax-response.alignleft{margin-right:2em}#contextual-help-wrap,#screen-options-wrap{margin:0;padding:8px 20px 12px;position:relative}#contextual-help-wrap{overflow:auto;margin-right:0!important}#screen-meta .screen-reader-text{visibility:hidden}#screen-meta-links{margin:0 0 0 20px}#screen-meta{display:none;margin:0 0 -1px 20px;position:relative;background-color:#fff;border:1px solid #ddd;border-top:none;-webkit-box-shadow:0 1px 0 rgba(0,0,0,.025);box-shadow:0 1px 0 rgba(0,0,0,.025)}#contextual-help-link-wrap,#screen-options-link-wrap{float:left;height:28px;margin:0 6px 0 0;border:1px solid #ddd;border-top:none;background:#fff;-webkit-box-shadow:0 1px 1px -1px rgba(0,0,0,.1);box-shadow:0 1px 1px -1px rgba(0,0,0,.1)}#screen-meta-links .screen-meta-toggle{position:relative;top:0}#screen-meta-links .show-settings{border:0;background:0 0;-webkit-border-radius:0;border-radius:0;color:#777;line-height:1.7;padding:3px 16px 3px 6px}#screen-meta-links .show-settings:active,#screen-meta-links .show-settings:focus,#screen-meta-links .show-settings:hover{color:#32373c}#screen-meta-links .show-settings:active{-webkit-box-shadow:none;box-shadow:none;-webkit-transform:none;-ms-transform:none;transform:none}#screen-meta-links .show-settings:after{left:0;content:"\f140";font:400 20px/1 dashicons;speak:none;display:inline-block;padding:0 0 0 5px;bottom:2px;position:relative;vertical-align:bottom;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#b4b9be}#templateside ul li a,#wpfooter a,.contextual-help-tabs a,.nav-tab{text-decoration:none}#screen-meta-links .screen-meta-active:after{content:"\f142"}.toggle-arrow{background-repeat:no-repeat;background-position:top left;background-color:transparent;height:22px;line-height:22px;display:block}.toggle-arrow-active{background-position:bottom left}#contextual-help-wrap h5,#screen-options-wrap h5,#screen-options-wrap legend{margin:0;padding:8px 0;font-size:13px;font-weight:600}.hndle a,.widefat tfoot td,.widefat th,.widefat thead td{font-weight:400}.ie8 #screen-options-wrap legend{color:inherit}.metabox-prefs label{display:inline-block;padding-left:15px;line-height:30px}#number-of-columns{display:inline-block;vertical-align:middle;line-height:30px}.metabox-prefs input[type=checkbox]{margin-top:0;margin-left:6px}.metabox-prefs label input,.metabox-prefs label input[type=checkbox]{margin:-4px 0 0 5px}.metabox-prefs .columns-prefs label input{margin:-1px 0 0 2px}.metabox-prefs label a{display:none}.metabox-prefs .screen-options input,.metabox-prefs .screen-options label{margin-top:0;margin-bottom:0;vertical-align:middle}.metabox-prefs .screen-options .screen-per-page{margin-left:15px}.metabox-prefs .screen-options label{line-height:28px;padding-left:0}.screen-options+.screen-options{margin-top:10px}.metabox-prefs .submit{margin-top:1em;padding:0}#contextual-help-wrap{padding:0}#contextual-help-columns{position:relative}#contextual-help-back{position:absolute;top:0;bottom:0;right:150px;left:170px;border:1px solid #e1e1e1;border-top:none;border-bottom:none;background:#f6fbfd}#contextual-help-wrap.no-sidebar #contextual-help-back{left:0;border-left-width:0;-webkit-border-bottom-left-radius:2px;border-bottom-left-radius:2px}.contextual-help-tabs{float:right;width:150px;margin:0}.contextual-help-tabs ul{margin:1em 0}.contextual-help-tabs li{margin-bottom:0;list-style-type:none;border-style:solid;border-width:0 2px 0 0;border-color:transparent}.contextual-help-tabs a{display:block;padding:5px 12px 5px 5px;line-height:18px;border:1px solid transparent;border-left:none;border-right:none}.contextual-help-tabs a:hover{color:#32373c}.contextual-help-tabs .active{padding:0;margin:0 0 0 -1px;border-right:2px solid #00a0d2;background:#f6fbfd;-webkit-box-shadow:0 2px 0 rgba(0,0,0,.02),0 1px 0 rgba(0,0,0,.02);box-shadow:0 2px 0 rgba(0,0,0,.02),0 1px 0 rgba(0,0,0,.02)}.contextual-help-tabs .active a{border-color:#e1e1e1;color:#32373c}.contextual-help-tabs-wrap{padding:0 20px;overflow:auto}.help-tab-content{display:none;margin:0 0 12px 22px;line-height:1.6em}.help-tab-content.active{display:block}.help-tab-content ul li{list-style-type:disc;margin-right:18px}.contextual-help-sidebar{width:150px;float:left;padding:0 12px 0 8px;overflow:auto}html.wp-toolbar{padding-top:32px;-moz-box-sizing:border-box;box-sizing:border-box}.widefat td,.widefat th{color:#555}.widefat ol,.widefat p,.widefat tfoot tr td,.widefat tfoot tr th,.widefat thead tr td,.widefat thead tr th,.widefat ul{color:#32373c}.widefat td p{margin:2px 0 .8em}.widefat .column-comment p{margin:.6em 0}.postbox-container{float:right}.postbox-container .meta-box-sortables{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#wpbody-content .metabox-holder{padding-top:10px}.metabox-holder .postbox-container .empty-container{border:3px dashed #b4b9be;height:250px}.columns-2 #postbox-container-3 .empty-container,.columns-2 #postbox-container-4 .empty-container,.columns-3 #postbox-container-4 .empty-container,.metabox-holder.columns-1 .postbox-container .empty-container{border:0;height:0;min-height:0}#post-body-content{width:100%;min-width:463px;float:right}#post-body.columns-2 #postbox-container-1{float:left;margin-left:-300px;width:280px}#post-body.columns-2 #side-sortables{min-height:250px}@media only screen and (max-width:799px){#wpbody-content .metabox-holder .postbox-container .empty-container{border:0;height:0;min-height:0}}.js .postbox .hndle,.js .widget .widget-top{cursor:move}.hndle a{font-size:11px}#adminmenu .wp-submenu li.current,#adminmenu .wp-submenu li.current a,#adminmenu .wp-submenu li.current a:hover,#dashboard_right_now .versions .b,#ed_reply_toolbar #ed_reply_strong,#pass-strength-result.short,#pass-strength-result.strong,#post-status-display,#post-visibility-display,.edit-comment-author,.feature-filter .feature-name,.item-controls .item-order a,.media-item .percent,.nav-tab,.plugins .name{font-weight:600}.postbox .handlediv{display:none;float:left;width:36px;height:36px;padding:0}.js .postbox .handlediv{display:block}.sortable-placeholder{border:1px dashed #b4b9be;margin-bottom:20px}.postbox,.stuffbox{margin-bottom:20px;padding:0;line-height:1}.postbox .inside,.stuffbox .inside{padding:0 12px 12px;line-height:1.4em;font-size:13px}.postbox .inside{margin:11px 0;position:relative}.postbox .inside>p:last-child,.rss-widget ul li:last-child{margin-bottom:1px!important}.postbox.closed h3{border:none;-webkit-box-shadow:none;box-shadow:none}.postbox table.form-table{margin-bottom:0}.postbox table.widefat{-webkit-box-shadow:none;box-shadow:none}.temp-border{border:1px dotted #ccc}.columns-prefs label{padding:0 0 0 10px}#wpfooter{position:absolute;bottom:0;right:0;left:0;padding:10px 20px;color:#777}#wpfooter p{font-size:13px;margin:0;line-height:20px}#footer-thankyou{font-style:italic}#wpfooter a:hover{text-decoration:underline}.nav-tab{float:right;border:1px solid #ccc;border-bottom:none;margin-right:.5em;padding:5px 10px;font-size:14px;line-height:24px;background:#e4e4e4;color:#555}.nav-tab-small .nav-tab,h3 .nav-tab{padding:5px 14px;font-size:12px;line-height:16px}.nav-tab:focus,.nav-tab:hover{background-color:#fff;color:#464646}.nav-tab-active,.nav-tab:focus:active{-webkit-box-shadow:none;box-shadow:none}.nav-tab-active{margin-bottom:-1px;color:#464646}.nav-tab-active,.nav-tab-active:focus,.nav-tab-active:focus:active,.nav-tab-active:hover{border-bottom:1px solid #f1f1f1;background:#f1f1f1;color:#000}.wrap h2.nav-tab-wrapper,h1.nav-tab-wrapper,h3.nav-tab-wrapper{border-bottom:1px solid #ccc;margin:0;padding:9px 0 0 15px;line-height:inherit}.nav-tab-wrapper:after{content:"";display:table;clear:both}.spinner{background:url(../images/spinner.gif) no-repeat;-webkit-background-size:20px 20px;background-size:20px 20px;display:inline-block;visibility:hidden;float:left;vertical-align:middle;opacity:.7;filter:alpha(opacity=70);width:20px;height:20px;margin:4px 10px 0}.spinner.is-active{visibility:visible}#template div{margin-left:190px}.metabox-holder .postbox>h3,.metabox-holder .stuffbox>h3,.metabox-holder h2.hndle,.metabox-holder h3.hndle{font-size:14px;padding:8px 12px;margin:0;line-height:1.4}.nav-menus-php .metabox-holder h3{padding:10px 14px 11px 10px;line-height:21px}.plugin-install #description,.plugin-install-network #description{width:60%}table .column-rating,table .column-visible,table .vers{text-align:right}.attention,.error-message{color:red;font-weight:600}body.iframe{height:98%}.lp-show-latest p{display:none}.lp-show-latest .lp-error p,.lp-show-latest p:last-child{display:block}.media-icon{width:62px;text-align:center}.media-icon img{border:1px solid #e7e7e7;border:1px solid rgba(0,0,0,.07)}#howto{font-size:11px;margin:0 5px;display:block}.post-categories,.post-categories li{display:inline}.importers td{padding-left:14px}.importers{font-size:16px;width:auto}#post-body #post-body-content #namediv h2,#post-body #post-body-content #namediv h3{margin-top:0}.edit-comment-author{font-size:14px;line-height:1.4;color:#222;margin:2px 9px 0 0}.checkbox,.post-categories,.zerosize,fieldset{padding:0;margin:0}#namediv h2 label,#namediv h3 label{vertical-align:baseline}#namediv table{width:100%}#namediv td.first{width:10px}#namediv input{width:98%}#namediv p{margin:10px 0}#submitdiv h3{margin-bottom:0!important}.zerosize{height:0;width:0;border:0;overflow:hidden;position:absolute}br.clear{height:2px;line-height:2px}.checkbox{border:none}fieldset{border:0}div.star-holder{position:relative;height:17px;width:100px;background:url(../images/stars.png?ver=20121108) bottom left repeat-x}div.star-holder .star-rating{background:url(../images/stars.png?ver=20121108) top left repeat-x;height:17px;float:right}.star-rating .star{display:inline-block;width:20px;height:20px;-webkit-font-smoothing:antialiased;font-size:20px;line-height:1;font-family:dashicons;text-decoration:inherit;font-weight:400;font-style:normal;vertical-align:top;-webkit-transition:color .1s ease-in 0;transition:color .1s ease-in 0;text-align:center;color:#ffb900}.star-rating .star-full:before{content:"\f155"}.star-rating .star-half:before{content:"\f459"}.rtl .star-rating .star-half{-webkit-transform:rotateY(180deg);-ms-transform:rotateY(180deg);transform:rotateY(180deg)}.star-rating .star-empty:before{content:"\f154"}div.action-links{font-weight:400}#plugin-information{background:#fff;position:fixed;top:0;left:0;bottom:0;right:0;height:100%;padding:0}#plugin-information-scrollable{overflow:auto;-webkit-overflow-scrolling:touch;height:100%}#plugin-information-title{padding:0 20px;background:#f5f5f5;font-size:22px;font-weight:600;line-height:56px;position:relative;top:0;left:0;right:0;height:56px;overflow:hidden;text-overflow:ellipsis}#plugin-information-title.with-banner{margin-left:0;height:250px;bottom:250px;-webkit-background-size:cover;background-size:cover}#plugin-information-title h2{font-size:1em;font-weight:700;padding:0;margin:0;max-width:680px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#plugin-information-title.with-banner h2{font-family:"Helvetica Neue",sans-serif;display:inline-block;font-size:30px;line-height:50px;padding:0 15px;margin:174px 10px 0 0;color:#fff;background:rgba(30,30,30,.9);text-shadow:0 1px 3px rgba(0,0,0,.4);-webkit-box-shadow:0 0 30px rgba(255,255,255,.1);box-shadow:0 0 30px rgba(255,255,255,.1);-webkit-border-radius:8px;border-radius:8px}#plugin-information-title div.vignette{display:none}#plugin-information-title.with-banner div.vignette{display:block;float:left;top:0;height:250px;width:772px;margin:0 -20px;background:0 0;-webkit-box-shadow:inset 0 0 50px 4px rgba(0,0,0,.2),inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 0 50px 4px rgba(0,0,0,.2),inset 0 -1px 0 rgba(0,0,0,.1)}#plugin-information-tabs{padding:0 16px;position:relative;left:0;right:0;height:36px;z-index:1;border-bottom:1px solid #ddd;background:#f3f3f3}#plugin-information-tabs a{position:relative;float:right;padding:9px 10px;margin:0;height:18px;line-height:18px;font-size:14px;text-decoration:none;-webkit-transition:none;transition:none}#plugin-information-tabs a.current{margin:0 -1px;background:#fff;border:1px solid #ddd;border-bottom-color:#fff;padding-top:8px;color:#32373c}#plugin-information-tabs.with-banner a.current{border-top:none;padding-top:9px}#plugin-information-tabs a:active,#plugin-information-tabs a:focus{outline:0}#plugin-information-content{overflow:hidden;background:#fff;position:relative;top:0;left:0;right:0;min-height:100%;min-height:-webkit-calc(100% - 152px);min-height:calc(100% - 152px)}#plugin-information-content.with-banner{min-height:-webkit-calc(100% - 346px);min-height:calc(100% - 346px)}#section-holder{position:relative;top:0;left:250px;bottom:0;right:0;margin-left:250px;padding:10px 26px 99999px;margin-bottom:-99939px}#section-holder .updated{margin:16px 0}#plugin-information .fyi{float:left;position:relative;top:0;left:0;padding:16px 16px 99999px;margin-bottom:-99939px;width:217px;border-right:1px solid #ddd;background:#f3f3f3;color:#666}#plugin-information .fyi strong{color:#464646}#plugin-information .fyi h3{font-weight:700;text-transform:uppercase;font-size:12px;color:#666;margin:24px 0 8px}#plugin-information .fyi h2{font-size:.9em;margin-bottom:0;margin-left:0}#plugin-information .fyi ul{padding:0;margin:0;list-style:none}#plugin-information .fyi li{margin:0 0 10px}#plugin-information .counter-container{margin:3px 0}#plugin-information .counter-label{float:right;margin-left:5px;min-width:55px}#plugin-information .counter-back{height:17px;width:92px;background-color:#ececec;float:right}#plugin-information .counter-bar{height:17px;background-color:#ffc733;float:right}#plugin-information .counter-count{margin-right:5px}#plugin-information .fyi ul.contributors{margin-top:10px}#plugin-information .fyi ul.contributors li{display:inline-block;margin-left:8px;vertical-align:middle}#plugin-information .fyi ul.contributors li img{vertical-align:middle;margin-left:4px}#plugin-information-footer{padding:13px 16px;position:absolute;left:0;bottom:0;right:0;height:33px;border-top:1px solid #ddd;background:#f3f3f3}#plugin-information .section ol,#plugin-information .section ul{list-style-type:disc;margin-left:24px}#plugin-information .section,#plugin-information .section p{font-size:14px;line-height:1.7}#plugin-information #section-screenshots ol{list-style:none;margin:0}#plugin-information #section-screenshots li img{vertical-align:text-top;margin-top:16px;max-width:100%;width:auto;height:auto;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.3);box-shadow:0 1px 2px rgba(0,0,0,.3)}#plugin-information #section-screenshots li p{font-style:italic;padding-left:20px}#plugin-information pre{padding:7px;overflow:auto;border:1px solid #ccc}#plugin-information .review{overflow:hidden;width:100%;margin-bottom:20px;border-bottom:1px solid #e6e6e6}#plugin-information .review-title-section{overflow:hidden}#plugin-information .review-title-section h4{display:inline-block;float:left;margin:0 6px 0 0}#plugin-information .reviewer-info p{clear:both;margin:0;padding-top:2px}#plugin-information .reviewer-info .avatar{float:left;margin:4px 6px 0 0}#plugin-information .reviewer-info .star-rating{float:left}#plugin-information .review-meta{float:left;margin-left:.75em}#plugin-information .review-body{float:left;width:100%}.plugin-version-author-uri{font-size:13px}@media screen and (max-width:771px){#plugin-information-title.with-banner{height:100px;bottom:100px}#plugin-information-title.with-banner h2{margin-top:30px;font-size:20px;line-height:40px;max-width:85%}#plugin-information-title.with-banner div.vignette{height:100px;bottom:100px;width:800%}#plugin-information-tabs{overflow:hidden;padding:0;height:auto}#plugin-information-tabs a.current{margin-bottom:0;border-bottom:none}#plugin-information .fyi{float:none;border:1px solid #ddd;position:static;width:auto;margin:26px 26px 0;padding-bottom:0}#section-holder{position:static;margin:0;padding-bottom:70px}#plugin-information .fyi h3,#plugin-information .fyi small{display:none}#plugin-information-footer{padding:12px 16px 0;height:46px}}body.about-php #TB_window,body.import-php #TB_window,body.index-php #TB_window,body.plugin-install-php #TB_window,body.plugins-php #TB_window,body.update-core-php #TB_window{background:#fcfcfc}.ie8 body.about-php #TB_window:before,.ie8 body.import-php #TB_window:before,.ie8 body.index-php #TB_window:before,.ie8 body.plugin-install-php #TB_window:before,.ie8 body.plugins-php #TB_window:before,.ie8 body.update-core-php #TB_window:before{content:" ";background:0 0}body.about-php #TB_window.thickbox-loading:before,body.import-php #TB_window.thickbox-loading:before,body.index-php #TB_window.thickbox-loading:before,body.plugin-install-php #TB_window.thickbox-loading:before,body.plugins-php #TB_window.thickbox-loading:before,body.update-core-php #TB_window.thickbox-loading:before{content:"";display:block;width:20px;height:20px;position:absolute;right:50%;top:50%;z-index:-1;margin:-10px -10px 0 0;background:url(../images/spinner.gif) center no-repeat #fcfcfc;-webkit-background-size:20px 20px;background-size:20px 20px;-webkit-transform:translateZ(0);transform:translateZ(0)}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){body.about-php #TB_window.thickbox-loading:before,body.import-php #TB_window.thickbox-loading:before,body.index-php #TB_window.thickbox-loading:before,body.plugin-install-php #TB_window.thickbox-loading:before,body.plugins-php #TB_window.thickbox-loading:before,body.update-core-php #TB_window.thickbox-loading:before{background-image:url(../images/spinner-2x.gif)}}body.about-php #TB_title,body.import-php #TB_title,body.index-php #TB_title,body.plugin-install-php #TB_title,body.plugins-php #TB_title,body.update-core-php #TB_title{float:right;height:1px}body.about-php #TB_ajaxWindowTitle,body.import-php #TB_ajaxWindowTitle,body.index-php #TB_ajaxWindowTitle,body.plugin-install-php #TB_ajaxWindowTitle,body.plugins-php #TB_ajaxWindowTitle,body.update-core-php #TB_ajaxWindowTitle{display:none}body.about-php .tb-close-icon,body.import-php .tb-close-icon,body.index-php .tb-close-icon,body.plugin-install-php .tb-close-icon,body.plugins-php .tb-close-icon,body.update-core-php .tb-close-icon{right:auto;left:-30px;color:#eee;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out}body.about-php #TB_closeWindowButton:focus,body.about-php #TB_closeWindowButton:focus .tb-close-icon,body.about-php .tb-close-icon:focus,body.about-php .tb-close-icon:hover,body.import-php #TB_closeWindowButton:focus,body.import-php #TB_closeWindowButton:focus .tb-close-icon,body.import-php .tb-close-icon:focus,body.import-php .tb-close-icon:hover,body.index-php #TB_closeWindowButton:focus,body.index-php #TB_closeWindowButton:focus .tb-close-icon,body.index-php .tb-close-icon:focus,body.index-php .tb-close-icon:hover,body.plugin-install-php #TB_closeWindowButton:focus,body.plugin-install-php #TB_closeWindowButton:focus .tb-close-icon,body.plugin-install-php .tb-close-icon:focus,body.plugin-install-php .tb-close-icon:hover,body.plugins-php #TB_closeWindowButton:focus,body.plugins-php #TB_closeWindowButton:focus .tb-close-icon,body.plugins-php .tb-close-icon:focus,body.plugins-php .tb-close-icon:hover,body.update-core-php #TB_closeWindowButton:focus,body.update-core-php #TB_closeWindowButton:focus .tb-close-icon,body.update-core-php .tb-close-icon:focus,body.update-core-php .tb-close-icon:hover{color:#00a0d2;outline:0;-webkit-box-shadow:none;box-shadow:none}body.about-php .tb-close-icon:before,body.import-php .tb-close-icon:before,body.index-php .tb-close-icon:before,body.plugin-install-php .tb-close-icon:before,body.plugins-php .tb-close-icon:before,body.update-core-php .tb-close-icon:before{content:"\f335";font-size:32px}@media screen and (max-width:830px){body.about-php .tb-close-icon,body.import-php .tb-close-icon,body.index-php .tb-close-icon,body.plugin-install-php .tb-close-icon,body.plugins-php .tb-close-icon,body.update-core-php .tb-close-icon{left:0;top:-30px}}img{border:none}#wphead{border-bottom:1px solid #dfdfdf}#wphead h1 a{color:#464646}.js .meta-box-sortables .postbox .toggle-indicator:before,.js .sidebar-name .sidebar-name-arrow:before{content:"\f142";display:inline-block;font:400 20px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}.js .meta-box-sortables .postbox.closed .handlediv .toggle-indicator:before,.js .widgets-holder-wrap.closed .sidebar-name-arrow:before{content:"\f140"}.js .sidebar-name .sidebar-name-arrow:before{padding:10px;right:0}.js #widgets-left .sidebar-name .sidebar-name-arrow{display:none}.accordion-section.open .accordion-section-content,.js #widgets-left .sidebar-name:hover .sidebar-name-arrow,.js #widgets-left .widgets-holder-wrap.closed .sidebar-name .sidebar-name-arrow,.no-js .accordion-section .accordion-section-content{display:block}.js .postbox .handlediv .toggle-indicator:before{margin-top:4px;width:20px;-webkit-border-radius:50%;border-radius:50%;text-indent:-1px}#postcustomstuff p.submit,#templateside h2,.alignleft h2{margin:0}.rtl.js .postbox .handlediv .toggle-indicator:before{text-indent:1px}.js .postbox .handlediv:focus{-webkit-box-shadow:none;box-shadow:none;outline:0}.js .postbox .handlediv:focus .toggle-indicator:before{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}#photo-add-url-div input[type=text]{width:300px}#template textarea{font-family:Consolas,Monaco,monospace;font-size:13px;width:97%;background:#f9f9f9;outline:0}#template p{width:97%}#templateside{float:left;width:190px}#templateside h4{margin:1em 0 0}#templateside ol,#templateside ul{margin:.5em 0;padding:0}#templateside li{margin:4px 0}#templateside li a,.theme-editor-php .highlight{display:block;padding:3px 12px 3px 3px;text-decoration:none}.theme-editor-php .highlight{margin:-3px -12px -3px 3px}#templateside .highlight{border:none;font-weight:700}.nonessential{color:#666;font-size:11px;font-style:italic;padding-right:12px}#documentation{margin-top:10px}#documentation label{line-height:22px;vertical-align:baseline;font-weight:600}#your-profile label+a,.wp-admin select,fieldset label,label{vertical-align:middle}.fileedit-sub{padding:10px 0 8px;line-height:180%}.accordion-section-title:after,.control-section .accordion-section-title:after,.nav-menus-php .item-edit:before,.widget-top a.widget-action:after{left:0;content:"\f140";border:none;background:0 0;font:400 20px/1 dashicons;speak:none;display:block;padding:0;text-indent:0;text-align:center;position:relative;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}.my-sites li a,form p.submit a.cancel:hover{text-decoration:none}.accordion-section-title:after,.handlediv,.item-edit,.sidebar-name-arrow,.widget-action{color:#a0a5aa}.accordion-section-title:hover:after,.handlediv:focus,.handlediv:hover,.item-edit:hover,.sidebar-name:hover .sidebar-name-arrow,.widget-action:hover{color:#777}.widget-top a.widget-action:after{padding:1px 0 1px 2px;margin-top:10px;margin-left:10px;-webkit-border-radius:50%;border-radius:50%}.widget-top a.widget-action:focus:after{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.accordion-section-title:after,.control-section .accordion-section-title:after{float:left;left:20px;top:-2px}#customize-info.open .accordion-section-title:after,.control-section.open .accordion-section-title:after,.nav-menus-php .menu-item-edit-active .item-edit:before,.widget.open .widget-top a.widget-action:after{content:"\f142"}/*! * jQuery UI Draggable/Sortable 1.11.4 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license - */.ui-draggable-handle,.ui-sortable-handle{-ms-touch-action:none;touch-action:none}.accordion-section{border-bottom:1px solid #dfdfdf;margin:0}.accordion-section.open .accordion-section-content,.no-js .accordion-section .accordion-section-content{display:block}.accordion-section.open:hover{border-bottom-color:#dfdfdf}.accordion-section-content{display:none;padding:10px 20px 15px;overflow:hidden;background:#fff}.accordion-section-title{margin:0;padding:12px 15px 15px;position:relative;border-right:1px solid #dfdfdf;border-left:1px solid #dfdfdf;user-select:none}.js .accordion-section-title:after{position:absolute;top:12px;left:10px;z-index:1}.accordion-section-title:focus{outline:0}.accordion-section-title:focus:after,.accordion-section-title:hover:after{border-color:#a0a5aa transparent}.cannot-expand .accordion-section-title{cursor:auto}.cannot-expand .accordion-section-title:after{display:none}.control-section .accordion-section-title{border-right:none;border-left:none;padding:10px 14px 11px 10px;line-height:21px;background:#fff}.control-section .accordion-section-title:after{top:11px}.js .control-section .accordion-section-title:focus,.js .control-section .accordion-section-title:hover,.js .control-section.open .accordion-section-title,.js .control-section:hover .accordion-section-title{color:#23282d;background:#f5f5f5}.control-section.open .accordion-section-title{border-bottom:1px solid #dfdfdf}.network-admin .edit-site-actions{margin-top:0}.my-sites{display:block;overflow:auto;zoom:1}.my-sites li{display:block;padding:8px 3%;min-height:130px;margin:0}@media only screen and (max-width:599px){.my-sites li{min-height:0}}@media only screen and (min-width:600px){.my-sites.striped li{background-color:#fff;position:relative}.my-sites.striped li:after{content:"";width:1px;height:100%;position:absolute;top:0;left:0;background:#ccc}}@media only screen and (min-width:600px) and (max-width:699px){.my-sites li{float:right;width:44%}.my-sites.striped li{background-color:#fff}.my-sites.striped li:nth-of-type(2n+1){clear:right}.my-sites.striped li:nth-of-type(2n+2):after{content:none}.my-sites li:nth-of-type(4n+1),.my-sites li:nth-of-type(4n+2){background-color:#f9f9f9}}@media only screen and (min-width:700px) and (max-width:1199px){.my-sites li{float:right;width:27.333333%;background-color:#fff}.my-sites.striped li:nth-of-type(3n+3):after{content:none}.my-sites li:nth-of-type(6n+1),.my-sites li:nth-of-type(6n+2),.my-sites li:nth-of-type(6n+3){background-color:#f9f9f9}}@media only screen and (min-width:1200px) and (max-width:1399px){.my-sites li{float:right;width:21%;padding:8px 2%;background-color:#fff}.my-sites.striped li:nth-of-type(4n+1){clear:right}.my-sites.striped li:nth-of-type(4n+4):after{content:none}.my-sites li:nth-of-type(8n+1),.my-sites li:nth-of-type(8n+2),.my-sites li:nth-of-type(8n+3),.my-sites li:nth-of-type(8n+4){background-color:#f9f9f9}}@media only screen and (min-width:1400px) and (max-width:1599px){.my-sites li{float:right;width:16%;padding:8px 2%;background-color:#fff}.my-sites.striped li:nth-of-type(5n+1){clear:right}.my-sites.striped li:nth-of-type(5n+5):after{content:none}.my-sites li:nth-of-type(10n+1),.my-sites li:nth-of-type(10n+2),.my-sites li:nth-of-type(10n+3),.my-sites li:nth-of-type(10n+4),.my-sites li:nth-of-type(10n+5){background-color:#f9f9f9}}@media only screen and (min-width:1600px){.my-sites li{float:right;width:12.666666%;padding:8px 2%;background-color:#fff}.my-sites.striped li:nth-of-type(6n+1){clear:right}.my-sites.striped li:nth-of-type(6n+6):after{content:none}.my-sites li:nth-of-type(12n+1),.my-sites li:nth-of-type(12n+2),.my-sites li:nth-of-type(12n+3),.my-sites li:nth-of-type(12n+4),.my-sites li:nth-of-type(12n+5),.my-sites li:nth-of-type(12n+6){background-color:#f9f9f9}}@media only screen and (min-width:769px){#col-left{width:35%}#col-right{width:65%}}@media only screen and (max-width:860px){#col-left{width:35%}#col-right{width:65%}}@media only screen and (min-width:980px){#col-left{width:35%}#col-right{width:65%}}@media only screen and (max-width:768px){#col-left,#col-right{width:100%}}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){div.star-holder,div.star-holder .star-rating{background:url(../images/stars-2x.png?ver=20121108) bottom left repeat-x;-webkit-background-size:21px 37px;background-size:21px 37px}.spinner{background-image:url(../images/spinner-2x.gif)}#bulk-titles div a,#bulk-titles div a:hover,#screen-meta-links a.show-settings,.curtime #timestamp,.meta-box-sortables .postbox:hover .handlediv,.sidebar-name-arrow,.sidebar-name:hover .sidebar-name-arrow,.tagchecklist span a,.tagchecklist span a:hover,.widget-top a.widget-action,.widget-top a.widget-action:hover{background:0 0!important}}@-ms-viewport{width:device-width}@media screen and (max-width:782px){#template div,#templateside{float:none;width:auto}html.wp-toolbar{padding-top:46px}body{min-width:240px;overflow-x:hidden}body *{-webkit-tap-highlight-color:transparent!important}#wpcontent{position:relative;margin-right:0;padding-right:10px}#wpbody-content{padding-bottom:100px}.wrap{margin-left:12px;margin-right:0}.col-wrap{padding:0}#collapse-menu,#screen-meta,#screen-meta-links,.post-format-select{display:none!important}.wrap .add-new-h2,.wrap .add-new-h2:active,.wrap .page-title-action,.wrap .page-title-action:active{padding:10px 15px;font-size:14px;white-space:nowrap}.wp-color-result{height:auto;padding-right:45px}.wp-color-result:after{font-size:14px;height:auto;padding:6px 14px}.media-upload-form div.error,.notice,.wrap div.error,.wrap div.updated{margin:20px 0 10px;padding:5px 10px;font-size:14px;line-height:175%}.wp-core-ui .notice.is-dismissible{padding-left:46px}.notice-dismiss{padding:13px}.wrap .icon32+h2{margin-top:-2px}.wp-responsive-open #wpbody{left:-190px}code{word-wrap:break-word}.postbox{font-size:14px}.metabox-holder h3{padding:12px}.postbox .handlediv{margin-top:3px}.subsubsub{font-size:16px;text-align:center;margin-bottom:15px}#templateside li{margin:0}#templateside li a{display:block;padding:5px}#templateside .highlight{padding:5px;margin-right:-5px;margin-top:-5px}#template div{margin:0}#template textarea{width:100%}.fileedit-sub .alignright{margin-top:15px}#comments-form .checkforspam,#wpfooter{display:none}.edit-comment-author{margin:2px 0 0}}@media screen and (max-width:600px){#wpwrap.wp-responsive-open,div#post-body.metabox-holder.columns-1{overflow-x:hidden}html.wp-toolbar{padding-top:0}#wpbody{padding-top:46px}}#pressthis-code-wrap,textarea{overflow:auto}@media screen and (max-width:320px){#network_dashboard_right_now .subsubsub{font-size:14px;text-align:right}}input,textarea{box-sizing:border-box}input[type=text],input[type=password],input[type=checkbox],input[type=color],input[type=date],input[type=datetime],input[type=datetime-local],input[type=email],input[type=month],input[type=number],input[type=radio],input[type=tel],input[type=time],input[type=url],input[type=week],input[type=search],select,textarea{border:1px solid #ddd;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.07);box-shadow:inset 0 1px 2px rgba(0,0,0,.07);background-color:#fff;color:#32373c;outline:0;-webkit-transition:.05s border-color ease-in-out;transition:.05s border-color ease-in-out}input[type=text]:focus,input[type=password]:focus,input[type=checkbox]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime]:focus,input[type=datetime-local]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=radio]:focus,input[type=tel]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,input[type=search]:focus,select:focus,textarea:focus{border-color:#5b9dd9;-webkit-box-shadow:0 0 2px rgba(30,140,190,.8);box-shadow:0 0 2px rgba(30,140,190,.8)}input[type=email],input[type=url]{direction:ltr}input[type=checkbox],input[type=radio]{border:1px solid #b4b9be;background:#fff;color:#555;clear:none;cursor:pointer;display:inline-block;line-height:0;height:16px;margin:-4px 0 0 4px;outline:0;padding:0!important;text-align:center;vertical-align:middle;width:16px;min-width:16px;-webkit-appearance:none;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1);-webkit-transition:.05s border-color ease-in-out;transition:.05s border-color ease-in-out}#adminmenu,.network-admin.themes-php p.search-box{clear:right}input[type=radio]:checked+label:before{color:#82878c}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#00a0d2}.wp-admin p input[type=checkbox],.wp-admin p input[type=radio],td>input[type=checkbox]{margin-top:0}.wp-admin p label input[type=checkbox]{margin-top:-4px}.wp-admin p label input[type=radio]{margin-top:-2px}input[type=radio]{-webkit-border-radius:50%;border-radius:50%;margin-left:4px;line-height:10px}input[type=checkbox]:checked:before,input[type=radio]:checked:before{float:right;display:inline-block;vertical-align:middle;width:16px;font:400 21px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}input[type=checkbox]:checked:before{content:'\f147';margin:-3px -4px 0 0;color:#1e8cbe}input[type=radio]:checked:before{content:'\2022';text-indent:-9999px;-webkit-border-radius:50px;border-radius:50px;font-size:24px;width:6px;height:6px;margin:4px;line-height:16px;background-color:#1e8cbe}@-moz-document url-prefix(){.form-table input.tog,input[type=checkbox],input[type=radio]{margin-bottom:-1px}}input[type=search]{-webkit-appearance:textfield}input[type=search]::-webkit-search-decoration{display:none}.ie8 input[type=password]{font-family:sans-serif}button,input,select,textarea{font-family:inherit;font-size:inherit;font-weight:inherit}input,select,textarea{font-size:14px;-webkit-border-radius:0;border-radius:0}textarea{padding:2px 6px;line-height:1.4}.wp-admin input[type=file]{padding:3px 0}label{cursor:pointer}input,select{margin:1px;padding:3px 5px}input.code{padding-top:6px}textarea.code{line-height:1.4;padding:4px 6px 1px}input.readonly,input[readonly],textarea.readonly,textarea[readonly]{background-color:#eee}.wp-core-ui :-moz-placeholder,:-moz-placeholder{color:#a9a9a9}.form-invalid input,.form-invalid input:focus,.form-invalid select,.form-invalid select:focus{border-color:#dc3232!important;-webkit-box-shadow:0 0 2px rgba(204,0,0,.8);box-shadow:0 0 2px rgba(204,0,0,.8)}.form-table .form-required.form-invalid td:after{content:'\f534';font:400 20px/1 dashicons;color:#dc3232;margin-right:-25px;vertical-align:middle}.form-table .form-required.user-pass1-wrap.form-invalid td:after{content:''}.form-table .form-required.user-pass1-wrap.form-invalid .password-input-wrapper:after{content:'\f534';font:400 20px/1 dashicons;color:#dc3232;margin:0 -29px 0 6px;vertical-align:middle}.form-input-tip{color:#666}input.disabled,input:disabled,select.disabled,select:disabled,textarea.disabled,textarea:disabled{background:rgba(255,255,255,.5);border-color:rgba(222,222,222,.75);-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.04);box-shadow:inset 0 1px 2px rgba(0,0,0,.04);color:rgba(51,51,51,.5)}input[type=file].disabled,input[type=file]:disabled,input[type=range].disabled,input[type=range]:disabled{background:0 0;-webkit-box-shadow:none;box-shadow:none}.wp-admin select{padding:2px;line-height:28px;height:28px;vertical-align:middle}.wp-admin .button-cancel{padding:0 5px;line-height:2}.wp-admin select[multiple]{height:auto}.submit{padding:1.5em 0;margin:5px 0;-webkit-border-bottom-right-radius:3px;border-bottom-right-radius:3px;-webkit-border-bottom-left-radius:3px;border-bottom-left-radius:3px;border:none}p.submit{text-align:right;margin-top:20px;padding-top:10px}.textright p.submit{border:none;text-align:left}table.form-table+input+input+p.submit,table.form-table+input+p.submit,table.form-table+p.submit{border-top:none;padding-top:0}#major-publishing-actions input,#minor-publishing-actions .preview,#minor-publishing-actions input{text-align:center}input.all-options,textarea.all-options{width:250px}input.large-text,textarea.large-text{width:99%}input.regular-text{width:25em}input.small-text{width:50px;padding:1px 6px}input[type=number].small-text{width:65px}#doaction,#doaction2,#post-query-submit{margin:1px 0 0 8px}.tablenav #changeit,.tablenav #clear-recent-list,.tablenav #delete_all,.wp-filter #delete_all{margin-top:1px}.tablenav .actions select{float:right;margin-left:6px;max-width:200px}.ie8 .tablenav .actions select{width:155px}.ie8 .tablenav .actions select#cat{width:200px}#timezone_string option{margin-right:1em}#upload-form label{color:#777}button.wp-hide-pw>.dashicons{position:relative;top:3px}#your-profile label+a,fieldset label,label{vertical-align:middle}#misc-publishing-actions label,.options-media-php label[for*="_size_"]{vertical-align:baseline}#misc-publishing-actions label[for=post_status]:before{content:'\f173';display:inline-block;font:400 20px/1 dashicons;speak:none;right:-1px;padding:0 0 0 5px;position:relative;top:0;text-decoration:none!important;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#pass1-text,.pw-weak,.show-password #pass1{display:none}#pass-strength-result{background-color:#eee;border:1px solid #ddd;color:#23282d;margin:-2px 1px 5px 5px;padding:3px 5px;text-align:center;width:25em;box-sizing:border-box;opacity:0}#pass-strength-result,.color-option{-webkit-box-sizing:border-box;-moz-box-sizing:border-box}#pass-strength-result.short{background-color:#f1adad;border-color:#e35b5b;opacity:1}#pass-strength-result.bad{background-color:#fbc5a9;border-color:#f78b53;opacity:1}#pass-strength-result.good{background-color:#ffe399;border-color:#ffc733;opacity:1}#pass-strength-result.strong{background-color:#c1e1b9;border-color:#83c373;opacity:1}#pass1-text.short,#pass1.short{border-color:#e35b5b}#pass1-text.bad,#pass1.bad{border-color:#f78b53}#pass1-text.good,#pass1.good{border-color:#ffc733}#pass1-text.strong,#pass1.strong{border-color:#83c373}.indicator-hint{padding-top:8px}.show-password #pass1-text{display:inline-block}.form-table span.description.important{font-size:12px}p.search-box{float:left;margin:0}.search-box input[name="s"],.tablenav .search-plugins input[name="s"],.tagsdiv .newtag{float:right;height:28px;margin:0 0 0 4px}input[type=text].ui-autocomplete-loading,input[type=email].ui-autocomplete-loading{background-image:url(../images/loading.gif);background-repeat:no-repeat;background-position:left center;visibility:visible}input.ui-autocomplete-input.open{border-bottom-color:transparent}ul#add-to-blog-users{margin:0 14px 0 0}.ui-autocomplete{padding:0;margin:0;list-style:none;position:absolute;z-index:10000;border:1px solid #5b9dd9;-webkit-box-shadow:0 1px 2px rgba(30,140,190,.8);box-shadow:0 1px 2px rgba(30,140,190,.8);background-color:#fff}.ui-autocomplete li{margin-bottom:0;padding:4px 10px;text-align:right}.ui-autocomplete li.ui-state-focus{background-color:#ddd;cursor:pointer}.form-table{margin-top:.5em;width:100%;clear:both}.form-table,.form-table td,.form-table td p,.form-table th,.form-wrap label{font-size:14px}.form-table td{margin-bottom:9px;padding:15px 10px;line-height:1.3;vertical-align:middle}.form-table th,.form-wrap label{color:#23282d;font-weight:400;text-shadow:none;vertical-align:baseline}.form-table th{vertical-align:top;text-align:right;padding:20px 0 20px 10px;width:200px;line-height:1.3;font-weight:600}.form-table th.th-full{width:auto;font-weight:400}.form-table td p{margin-top:4px;margin-bottom:0}.form-table td fieldset label{margin:.25em 0 .5em!important;display:inline-block}.form-table td fieldset label,.form-table td fieldset li,.form-table td fieldset p{line-height:1.4em}.form-table input.tog,.form-table input[type=radio]{margin-top:-4px;margin-left:4px;float:none}.form-table .pre{padding:8px;margin:0}table.form-table td .updated{font-size:13px}table.form-table td .updated p{font-size:13px;margin:.3em 0}#profile-page .form-table textarea{width:500px;margin-bottom:6px}#profile-page .form-table #rich_editing{margin-left:5px}#your-profile legend{font-size:22px}#display_name{width:15em}#adduser .form-field input,#createuser .form-field input{width:25em}.color-option{display:inline-block;width:24%;padding:5px 15px 15px;box-sizing:border-box;margin-bottom:3px;cursor:pointer}.color-option.selected,.color-option:hover{background:#ddd}.color-palette{width:100%;border-spacing:0}.color-palette td{height:20px;padding:0;border:none}.tool-box .title{margin:8px 0;font-size:18px;font-weight:400;line-height:24px}.card{position:relative;margin-top:20px;padding:.7em 2em 1em;min-width:255px;max-width:520px;border:1px solid #e5e5e5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);background:#fff}.pressthis h4{margin:2em 0 1em}.pressthis textarea{width:100%;font-size:1em}.pressthis-bookmarklet-wrapper{margin:20px 0 8px;vertical-align:top;position:relative;z-index:1}.pressthis-bookmarklet,.pressthis-bookmarklet:active,.pressthis-bookmarklet:focus,.pressthis-bookmarklet:hover{display:inline-block;position:relative;cursor:move;color:#32373c;background:#e6e6e6;-webkit-border-radius:5px;border-radius:5px;border:1px solid #b4b4b4;font-style:normal;line-height:16px;font-size:14px;text-decoration:none}.pressthis-bookmarklet:active{outline:0}.pressthis-bookmarklet:after{content:'';width:70%;height:55%;z-index:-1;position:absolute;left:10px;bottom:9px;background:0 0;-webkit-transform:skew(-20deg) rotate(-6deg);-ms-transform:skew(-20deg) rotate(-6deg);transform:skew(-20deg) rotate(-6deg);-webkit-box-shadow:0 10px 8px rgba(0,0,0,.6);box-shadow:0 10px 8px rgba(0,0,0,.6)}.pressthis-bookmarklet:hover:after{-webkit-transform:skew(-20deg) rotate(-9deg);-ms-transform:skew(-20deg) rotate(-9deg);transform:skew(-20deg) rotate(-9deg);-webkit-box-shadow:0 10px 8px rgba(0,0,0,.7);box-shadow:0 10px 8px rgba(0,0,0,.7)}.pressthis-bookmarklet span{display:inline-block;margin:0;padding:0 9px 8px 12px}.pressthis-js-toggle,.pressthis-js-toggle.button.button{margin-right:10px;padding:0;height:auto;vertical-align:top}.pressthis-bookmarklet span:before{color:#777;font:400 20px/1 dashicons;content:'\f157';position:relative;display:inline-block;top:4px;margin-left:4px}.pressthis-js-toggle .dashicons{margin:5px 7px 6px 8px;color:#777}#local-time,#utc-time{padding-right:25px;font-style:italic}.defaultavatarpicker .avatar{margin:2px 0;vertical-align:middle}.options-general-php input.small-text{width:56px}.options-general-php .spinner{float:none;margin:0 3px}.options-general-php .language-install-spinner,.settings-php .language-install-spinner{display:inline-block;float:none;margin:-3px 5px 0;vertical-align:middle}.setup-php textarea{max-width:100%}.form-field #site-address{max-width:25em}.form-field #domain{max-width:22em}.form-field #admin-email,.form-field #blog_last_updated,.form-field #blog_registered,.form-field #path,.form-field #site-title{max-width:25em}.form-field #path{margin-bottom:5px}#search-sites,#search-users{max-width:100%}.request-filesystem-credentials-dialog{display:none}.request-filesystem-credentials-dialog .notification-dialog{top:15%;max-height:85%}.request-filesystem-credentials-dialog-content{margin:25px}.request-filesystem-credentials-form input[type=text],.request-filesystem-credentials-form input[type=password]{display:block}.request-filesystem-credentials-dialog input[type=text],.request-filesystem-credentials-dialog input[type=password]{width:100%}.request-filesystem-credentials-form .field-title{font-weight:600}.request-filesystem-credentials-dialog label[for=hostname],.request-filesystem-credentials-dialog label[for=public_key],.request-filesystem-credentials-dialog label[for=private_key]{display:block;margin-bottom:1em}.request-filesystem-credentials-dialog .ftp-password,.request-filesystem-credentials-dialog .ftp-username{float:right;width:48%}.request-filesystem-credentials-dialog .ftp-password{margin-right:4%}.request-filesystem-credentials-dialog .request-filesystem-credentials-action-buttons{text-align:left}#request-filesystem-credentials-dialog .button:not(:last-child),.request-filesystem-credentials-dialog label[for=ftp]{margin-left:10px}#request-filesystem-credentials-form .cancel-button{display:none}#request-filesystem-credentials-dialog .cancel-button{display:inline}@media screen and (max-width:782px){textarea{-webkit-appearance:none}input[type=text],input[type=password],input[type=email],input[type=number],input[type=search]{-webkit-appearance:none;padding:6px 10px}input.code{padding-bottom:5px;padding-top:10px}.widefat tfoot td input[type=checkbox],.widefat th input[type=checkbox],.widefat thead td input[type=checkbox],input[type=checkbox]{-webkit-appearance:none;padding:10px}.widefat tfoot td input[type=checkbox],.widefat th input[type=checkbox],.widefat thead td input[type=checkbox]{margin-bottom:8px}.widefat tfoot td input[type=checkbox]:before,.widefat th input[type=checkbox]:before,.widefat thead td input[type=checkbox]:before,input[type=checkbox]:checked:before{font:400 30px/1 Dashicons;margin:-3px -5px}input[type=checkbox],input[type=radio]{height:25px;width:25px}.wp-admin p input[type=checkbox],.wp-admin p input[type=radio]{margin-top:-3px}input[type=radio]:checked:before{vertical-align:middle;width:9px;height:9px;margin:7px;line-height:16px}.wp-upload-form input[type=submit]{margin-top:10px}#wpbody select{height:36px;font-size:16px}.wp-admin .button-cancel{padding:0;font-size:14px}#adduser .form-field input,#createuser .form-field input{width:100%}.form-table{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.form-table td,.form-table th{display:block;width:auto;vertical-align:middle}.form-table .color-palette td{display:table-cell;width:15px}.form-table table.color-palette{margin-left:10px}input,textarea{font-size:16px}#profile-page .form-table textarea,.form-table span.description,.form-table td input[type=text],.form-table td input[type=password],.form-table td input[type=email],.form-table td select,.form-table td textarea{width:100%;font-size:16px;line-height:1.5;padding:7px 10px;display:block;max-width:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.form-table .form-required.form-invalid td:after{float:left;margin:-30px 0 0 3px}#wpbody .form-table td select{height:40px}.form-table input[type=text].small-text,input[type=text].small-text,input[type=password].small-text,input[type=number].small-text,input[type=search].small-text{width:auto;max-width:55px;display:inline;padding:3px 6px;margin:0 3px}#pass-strength-result{width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:8px}p.search-box{float:none;position:absolute;bottom:0;width:98%;height:90px;margin-bottom:20px}p.search-box input[name="s"]{height:auto;float:none;width:100%;margin-bottom:10px;vertical-align:middle;-webkit-appearance:none}p.search-box input[type=submit]{margin-bottom:10px}.form-table span.description{display:inline;padding:4px 0 0;line-height:1.4em;font-size:14px}.form-table th{padding-top:10px;padding-bottom:0;border-bottom:0}.form-table td{margin-bottom:0;padding-bottom:6px;padding-top:4px;padding-right:0}.form-table.permalink-structure td code{margin-right:32px}.form-table.permalink-structure td input[type=text]{margin-right:32px;margin-top:4px;width:96%}.form-table input.regular-text{width:100%}.form-table label{font-size:14px}.form-table fieldset label{display:block}#utc-time{margin-top:10px}#local-time,#utc-time{display:block;float:none;padding:0;line-height:2}.form-field #domain{max-width:none}.wp-pwd{position:relative}.wp-pwd [type=text],.wp-pwd [type=password]{padding-left:40px}.wp-pwd button.button{background:0 0;border:none;-webkit-box-shadow:none;box-shadow:none;line-height:2;margin:0;padding:5px 10px;position:absolute;left:0;top:0}.wp-pwd button.button:active,.wp-pwd button.button:focus,.wp-pwd button.button:hover{background:0 0}.wp-pwd .button .text{display:none}}@media only screen and (max-width:768px){.form-field input[type=text],.form-field input[type=password],.form-field input[type=email],.form-field select,.form-field textarea{width:99%}.form-wrap .form-field{padding:0}#profile-page .form-table textarea{max-width:400px;width:auto}}@media only screen and (max-height:480px){.request-filesystem-credentials-dialog .notification-dialog{width:100%;height:100%;max-height:100%;position:fixed;top:0;margin:0;right:0}}@media screen and (max-width:600px){.color-option{width:49%}}#adminmenu,#adminmenu .wp-submenu,#adminmenuback,#adminmenuwrap{width:160px;background-color:#23282d}#adminmenuback{position:fixed;top:0;bottom:-120px;z-index:1}#adminmenu{margin:12px 0;padding:0;list-style:none}.folded #adminmenu,.folded #adminmenu li.menu-top,.folded #adminmenuback,.folded #adminmenuwrap{width:36px}.icon16{height:18px;width:18px;padding:6px;margin:-6px -8px 0 0;float:right}.icon16:before{color:#999;font:400 20px/1 dashicons;speak:none;padding:6px 0;height:34px;width:20px;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}.icon16.icon-dashboard:before{content:'\f226'}.icon16.icon-post:before{content:'\f109'}.icon16.icon-media:before{content:'\f104'}.icon16.icon-links:before{content:'\f103'}.icon16.icon-page:before{content:'\f105'}.icon16.icon-comments:before{content:'\f101';margin-top:1px}.icon16.icon-appearance:before{content:'\f100'}.icon16.icon-plugins:before{content:'\f106'}.icon16.icon-users:before{content:'\f110'}.icon16.icon-tools:before{content:'\f107'}.icon16.icon-settings:before{content:'\f108'}.icon16.icon-site:before{content:'\f112'}.icon16.icon-generic:before{content:'\f111'}.icon16.icon-appearance,.icon16.icon-comments,.icon16.icon-dashboard,.icon16.icon-generic,.icon16.icon-links,.icon16.icon-media,.icon16.icon-page,.icon16.icon-plugins,.icon16.icon-post,.icon16.icon-settings,.icon16.icon-site,.icon16.icon-tools,.icon16.icon-users,.menu-icon-appearance div.wp-menu-image,.menu-icon-comments div.wp-menu-image,.menu-icon-dashboard div.wp-menu-image,.menu-icon-generic div.wp-menu-image,.menu-icon-links div.wp-menu-image,.menu-icon-media div.wp-menu-image,.menu-icon-page div.wp-menu-image,.menu-icon-plugins div.wp-menu-image,.menu-icon-post div.wp-menu-image,.menu-icon-settings div.wp-menu-image,.menu-icon-site div.wp-menu-image,.menu-icon-tools div.wp-menu-image,.menu-icon-users div.wp-menu-image{background-image:none!important}#adminmenuwrap{position:relative;float:right;z-index:9990}#adminmenu *{user-select:none}#adminmenu *,.theme-overlay .current-label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}#adminmenu li{margin:0;padding:0;cursor:pointer}#adminmenu a{display:block;line-height:18px;padding:2px 5px;color:#eee}#adminmenu .wp-submenu a{color:#b4b9be;color:rgba(240,245,250,.7)}#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover{background:0 0}#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a:hover,#adminmenu li.menu-top>a:focus{color:#00b9eb}#adminmenu li.menu-top{border:none;min-height:34px;position:relative}#adminmenu .wp-submenu{list-style:none;position:absolute;top:-1000em;right:160px;overflow:visible}#adminmenu .wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu,.folded #adminmenu a.wp-has-current-submenu:focus+.wp-submenu{padding:7px 0 8px;z-index:9999;background-color:#32373c;-webkit-box-shadow:0 3px 5px rgba(0,0,0,.2);box-shadow:0 3px 5px rgba(0,0,0,.2)}#adminmenu a.menu-top:focus+.wp-submenu,.js #adminmenu .opensub .wp-submenu,.js #adminmenu .sub-open,.no-js li.wp-has-submenu:hover .wp-submenu{top:-1px}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu .wp-submenu.sub-open,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.no-js li.wp-has-current-submenu:hover .wp-submenu{position:relative;z-index:3;top:auto;right:auto;left:auto;bottom:auto;border:0;margin-top:0;-webkit-box-shadow:none;box-shadow:none;background-color:#32373c}#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{position:relative;background-color:#191e23;color:#00b9eb}.folded #adminmenu li.menu-top:hover,.folded #adminmenu li.opensub>a.menu-top,.folded #adminmenu li>a.menu-top:focus{z-index:10000}#adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu .wp-menu-arrow,#adminmenu .wp-menu-arrow div,#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top,.folded #adminmenu li.wp-has-current-submenu{background:#0073aa;color:#fff}.folded #adminmenu .opensub .wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu.sub-open,.folded #adminmenu .wp-has-current-submenu a.menu-top:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu.opensub .wp-submenu,.folded #adminmenu .wp-submenu.sub-open,.folded #adminmenu a.menu-top:focus+.wp-submenu,.no-js.folded #adminmenu .wp-has-submenu:hover .wp-submenu{top:0;right:36px}.folded #adminmenu .wp-has-current-submenu .wp-submenu,.folded #adminmenu a.wp-has-current-submenu:focus+.wp-submenu{position:absolute;top:-1000em}#adminmenu .wp-not-current-submenu .wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{min-width:160px;width:auto}#adminmenu .wp-submenu a{font-size:13px;line-height:1.2;margin:0;padding:6px 0}#adminmenu .opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current,#adminmenu .wp-submenu li.current a,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-not-current-submenu li>a,.folded #adminmenu .wp-has-current-submenu li>a{padding-left:16px;padding-right:14px;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}#adminmenu .wp-has-current-submenu ul>li>a,.folded #adminmenu li.menu-top .wp-submenu>li>a{padding:6px 12px}#adminmenu .wp-submenu-head,#adminmenu a.menu-top{font-size:14px;font-weight:400;line-height:18px;padding:0}#adminmenu .wp-submenu-head{display:none}.folded #adminmenu .wp-menu-name{position:absolute;right:-999px}.folded #adminmenu .wp-submenu-head{display:block}#adminmenu .wp-submenu li{padding:0;margin:0;overflow:hidden}#adminmenu .wp-menu-image img{padding:9px 0 0;opacity:.6;filter:alpha(opacity=60)}#adminmenu div.wp-menu-name{padding:8px 0}#adminmenu div.wp-menu-image{float:right;width:36px;height:34px;margin:0;text-align:center}#adminmenu div.wp-menu-image.svg{background-repeat:no-repeat;background-position:center;-webkit-background-size:20px auto;background-size:20px auto}div.wp-menu-image:before{color:#a0a5aa;color:rgba(240,245,250,.6);padding:7px 0;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}#adminmenu div.wp-menu-image:before{color:#a0a5aa;color:rgba(240,245,250,.6)}#adminmenu .current div.wp-menu-image:before,#adminmenu .wp-has-current-submenu div.wp-menu-image:before,#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu a.wp-has-current-submenu:hover div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu:hover div.wp-menu-image:before{color:#fff}#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before{color:#00b9eb}.ie8 #adminmenu li.opensub div.wp-menu-image:before{color:#a0a5aa}.folded #adminmenu div.wp-menu-image{width:35px;height:30px;position:absolute;z-index:25}.folded #adminmenu a.menu-top{height:34px}.no-font-face #adminmenu .wp-menu-image{display:none}.no-font-face #adminmenu div.wp-menu-name{padding:8px 12px}.no-font-face.auto-fold #adminmenu .wp-menu-name{margin-right:0}.sticky-menu #adminmenuwrap{position:fixed}.wp-menu-arrow{display:none!important}ul#adminmenu a.wp-has-current-submenu{position:relative}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{left:0;border:8px solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none;border-left-color:#f1f1f1;top:50%;margin-top:-8px}.folded ul#adminmenu li:hover a.wp-has-current-submenu:after{display:none}.folded ul#adminmenu a.wp-has-current-submenu:after,.folded ul#adminmenu>li a.current:after{border-width:4px;margin-top:-4px}#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after{left:0;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none;border-width:8px;top:10px;z-index:10000}.folded ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after{border-width:4px;margin-top:-4px;top:18px}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-left-color:#32373c}#adminmenu li.menu-top:hover .wp-menu-image img,#adminmenu li.wp-has-current-submenu .wp-menu-image img{opacity:1;filter:alpha(opacity=100)}#adminmenu li.wp-menu-separator{height:5px;padding:0;margin:0 0 6px;cursor:inherit}#adminmenu div.separator{height:2px;padding:0}#collapse-button,#collapse-button div{height:15px;width:15px}#adminmenu .wp-submenu .wp-submenu-head{color:#fff;font-weight:400;font-size:14px;padding:8px 11px 8px 4px;margin:-7px 0 4px}#adminmenu li.current,.folded #adminmenu li.wp-menu-open{border:0}#adminmenu .awaiting-mod,#adminmenu .update-plugins{display:inline-block;background-color:#d54e21;color:#fff;font-size:9px;line-height:17px;font-weight:600;margin:1px 2px 0 0;vertical-align:top;-webkit-border-radius:10px;border-radius:10px;z-index:26}#adminmenu li .awaiting-mod span,#adminmenu li span.update-plugins span{display:block;padding:0 6px}#adminmenu li span.count-0,.folded #collapse-menu span{display:none}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod{background-color:#00b9eb;color:#fff}#collapse-menu{font-size:13px;line-height:34px;margin-top:10px;color:#a0a5aa;color:rgba(240,245,250,.6);-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}#collapse-menu:hover,#collapse-menu:hover #collapse-button div:after{color:#00b9eb}#collapse-button{float:right;margin:10px 11px 10px 8px;-webkit-border-radius:10px;border-radius:10px}#wpwrap #collapse-button div{padding:0}#collapse-button div:after{content:'\f148';display:block;line-height:15px;right:-3px;top:-3px;color:#a0a5aa;color:rgba(240,245,250,.6);font:400 20px/1 dashicons!important;speak:none;margin:0 auto;padding:0!important;position:relative;text-align:center;width:20px;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.folded #collapse-button div:after,.rtl #collapse-button div:after{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.rtl.folded #collapse-button div:after{-webkit-transform:none;-ms-transform:none;transform:none}.customize-support #menu-appearance a[href="themes.php?page=custom-header"],.customize-support #menu-appearance a[href="themes.php?page=custom-background"],li#wp-admin-bar-menu-toggle{display:none}@media only screen and (max-width:960px){.auto-fold #wpcontent,.auto-fold #wpfooter{margin-right:36px}.auto-fold #adminmenu,.auto-fold #adminmenu li.menu-top,.auto-fold #adminmenuback,.auto-fold #adminmenuwrap{width:36px}.auto-fold #adminmenu .opensub .wp-submenu,.auto-fold #adminmenu .wp-has-current-submenu .wp-submenu.sub-open,.auto-fold #adminmenu .wp-has-current-submenu a.menu-top:focus+.wp-submenu,.auto-fold #adminmenu .wp-has-current-submenu.opensub .wp-submenu,.auto-fold #adminmenu .wp-submenu.sub-open,.auto-fold #adminmenu a.menu-top:focus+.wp-submenu{top:0;right:36px}.auto-fold #adminmenu .wp-has-current-submenu .wp-submenu,.auto-fold #adminmenu a.wp-has-current-submenu:focus+.wp-submenu{position:absolute;top:-1000em;margin-left:-1px;padding:7px 0 8px;z-index:9999}.auto-fold #adminmenu .wp-has-current-submenu .wp-submenu{min-width:150px;width:auto}.auto-fold #adminmenu .wp-has-current-submenu li>a{padding-left:16px;padding-right:14px}.auto-fold #adminmenu li.menu-top .wp-submenu>li>a{padding-right:12px}.auto-fold #adminmenu .wp-menu-name{position:absolute;right:-999px}.auto-fold #adminmenu .wp-submenu-head{display:block}.auto-fold #collapse-menu span,.auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after{display:none}.auto-fold #adminmenu div.wp-menu-image{height:30px;width:34px;position:absolute;z-index:25}.auto-fold #adminmenu a.menu-top{height:34px}.auto-fold #adminmenu li.wp-menu-open{border:0}.auto-fold #adminmenu .wp-has-current-submenu.menu-top-last{margin-bottom:0}.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after{border-width:4px;margin-top:-4px;top:16px}.auto-fold ul#adminmenu a.wp-has-current-submenu:after,.auto-fold ul#adminmenu>li a.current:after{border-width:4px;margin-top:-4px}.auto-fold #adminmenu li.menu-top:hover,.auto-fold #adminmenu li.opensub>a.menu-top,.auto-fold #adminmenu li>a.menu-top:focus{z-index:10000}.auto-fold #collapse-button div{background:0 0}.auto-fold #collapse-button div:after{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.rtl.auto-fold #collapse-button div:after{-webkit-transform:none;-ms-transform:none;transform:none}}@media screen and (max-width:782px){.auto-fold #wpcontent{position:relative;margin-right:0;padding-right:10px}.sticky-menu #adminmenuwrap{position:relative;z-index:auto;top:0}.auto-fold #adminmenu,.auto-fold #adminmenuback,.auto-fold #adminmenuwrap{position:absolute;width:190px;z-index:100}.auto-fold #adminmenuback,.auto-fold #adminmenuwrap{display:none}.auto-fold .wp-responsive-open #adminmenuback,.auto-fold .wp-responsive-open #adminmenuwrap{display:block}.auto-fold #adminmenu li.menu-top{width:100%}.auto-fold #adminmenu li a{font-size:16px;padding:5px}.auto-fold #adminmenu li.menu-top .wp-submenu>li>a{padding:10px 20px 10px 10px}.auto-fold #adminmenu .wp-menu-name{position:static;margin-right:35px}.auto-fold ul#adminmenu a.wp-has-current-submenu:after,.auto-fold ul#adminmenu>li.current>a.current:after{border-width:8px;margin-top:-8px}.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after{display:none}#adminmenu .wp-submenu{position:relative;display:none}.auto-fold #adminmenu .selected .wp-submenu,.auto-fold #adminmenu .wp-menu-open .wp-submenu{position:relative;display:block;top:0;right:-1px;-webkit-box-shadow:none;box-shadow:none}.auto-fold #adminmenu .opensub .wp-submenu,.auto-fold #adminmenu .selected .wp-submenu:after,.auto-fold #adminmenu .wp-menu-open .wp-submenu:after{display:none}.auto-fold #adminmenu .selected .wp-submenu,.auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after{display:block}.auto-fold #adminmenu .wp-has-current-submenu a.menu-top:focus+.wp-submenu,.auto-fold #adminmenu a.menu-top:focus+.wp-submenu{position:relative;right:-1px;left:0;top:0}#adminmenu .wp-submenu .wp-submenu-head{display:none}#wp-responsive-toggle{position:fixed;top:5px;right:4px;padding-left:10px;z-index:99999;border:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#wpadminbar #wp-admin-bar-menu-toggle a{display:block;padding:0;overflow:hidden;outline:0;text-decoration:none;border:1px solid transparent;background:0 0;height:44px;margin-right:-1px}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#32373c}li#wp-admin-bar-menu-toggle{display:block}#wpadminbar #wp-admin-bar-menu-toggle a:hover{border:1px solid transparent}#wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{content:'\f228';display:inline-block;float:right;font:400 40px/45px Dashicons;vertical-align:middle;outline:0;margin:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;height:44px;width:50px;padding:0;border:none;text-align:center;text-decoration:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:#00b9eb}}@media screen and (max-width:600px){#adminmenuback,#adminmenuwrap{display:none}.wp-responsive-open #adminmenuback,.wp-responsive-open #adminmenuwrap{display:block}.auto-fold #adminmenu{top:46px}}#wpbody-content #dashboard-widgets.columns-1 .postbox-container{width:100%}#wpbody-content #dashboard-widgets.columns-2 .postbox-container{width:49.5%}#wpbody-content #dashboard-widgets.columns-2 #postbox-container-2,#wpbody-content #dashboard-widgets.columns-2 #postbox-container-3,#wpbody-content #dashboard-widgets.columns-2 #postbox-container-4{float:left;width:50.5%}#wpbody-content #dashboard-widgets.columns-3 .postbox-container{width:33.5%}#wpbody-content #dashboard-widgets.columns-3 #postbox-container-1{width:33%}#wpbody-content #dashboard-widgets.columns-3 #postbox-container-3,#wpbody-content #dashboard-widgets.columns-3 #postbox-container-4{float:left}#dashboard-widgets .postbox-container,#wpbody-content #dashboard-widgets.columns-4 .postbox-container{width:25%}#dashboard-widgets-wrap .columns-3 #postbox-container-4 .empty-container{border:none!important}.ie8 #wpbody-content #dashboard-widgets .postbox-container{width:49.5%}.ie8 #wpbody-content #dashboard-widgets #postbox-container-2,.ie8 #wpbody-content #dashboard-widgets #postbox-container-3,.ie8 #wpbody-content #dashboard-widgets #postbox-container-4{float:left;width:50.5%}.ie8 #dashboard-widgets #postbox-container-3 .empty-container,.ie8 #dashboard-widgets #postbox-container-4 .empty-container{border:0;height:0;min-height:0}#dashboard-widgets-wrap{overflow:hidden;margin:0 -8px}#dashboard-widgets .postbox .inside{margin-bottom:0}#dashboard-widgets .meta-box-sortables{margin:0 8px;min-height:100px}#the-comment-list td.comment p.comment-author{margin-top:0;margin-right:0}#the-comment-list p.comment-author img{float:right;margin-left:8px}#the-comment-list p.comment-author strong a{border:none}#the-comment-list td{vertical-align:top}#the-comment-list td.comment img{max-width:100%}.welcome-panel{position:relative;overflow:auto;margin:16px 0;padding:23px 10px 0;border:1px solid #e5e5e5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);background:#fff;font-size:13px;line-height:2.1em}#activity-widget #the-comment-list .comment-item:first-child,#dashboard_right_now .sub,.js #dashboard_quick_press .drafts{border-top:1px solid #eee}.activity-block,.dashboard-widget-control-form,.mu-storage,.tablenav .actions,th.sortable a,th.sorted a{overflow:hidden}.welcome-panel h3{margin:0;font-size:21px;font-weight:400;line-height:1.2}.welcome-panel h4{margin:1.33em 0 0;font-size:16px}.welcome-panel li{font-size:14px}.welcome-panel p{color:#777}.welcome-panel a{text-decoration:none}.welcome-panel .about-description{font-size:16px;margin:0}.welcome-panel .welcome-panel-close{position:absolute;top:10px;left:10px;padding:10px 21px 10px 15px;font-size:13px;line-height:1.23076923;text-decoration:none}.welcome-panel .welcome-panel-close:before{position:absolute;top:8px;right:0;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}.wp-core-ui .welcome-panel .button.button-hero{margin:15px 0 3px 13px;padding:12px 36px;height:auto;line-height:1.4285714;white-space:normal}.welcome-panel-content{margin-right:13px;max-width:1500px}.welcome-panel .welcome-panel-column-container{clear:both;position:relative}.welcome-panel .welcome-panel-column{width:32%;min-width:200px;float:right}.ie8 .welcome-panel .welcome-panel-column{min-width:230px}.welcome-panel .welcome-panel-column:first-child{width:36%}.welcome-panel-column p.hide-if-no-customize{margin-top:10px}.welcome-panel-column p{margin-top:7px;color:#464646}.welcome-panel .welcome-icon{background:0 0!important}.welcome-panel .welcome-icon:before{color:#82878c;font:400 20px/1 dashicons;speak:none;display:inline-block;padding:0 0 0 10px;top:-1px;position:relative;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;vertical-align:top}.welcome-panel .welcome-edit-page:before,.welcome-panel .welcome-write-blog:before{content:'\f119';top:-3px}.welcome-panel .welcome-add-page:before{content:'\f132'}.welcome-panel .welcome-view-site:before{content:'\f115';top:-2px}.welcome-panel .welcome-widgets-menus:before{content:'\f116';top:-2px}.welcome-panel .welcome-comments:before{content:'\f117';top:-1px}.welcome-panel .welcome-learn-more:before{content:'\f118';top:-1px}.welcome-panel .welcome-widgets-menus{line-height:16px}.welcome-panel .welcome-panel-column ul{margin:.8em 0 1em 1em}.welcome-panel .welcome-panel-column li{line-height:16px;list-style-type:none;padding:0 0 8px}#dashboard_primary .inside{margin:0;padding:0}#dashboard_primary .dashboard-widget-control-form,#dashboard_primary .widget-loading{padding:12px 12px 0}body #dashboard-widgets .postbox form .submit{margin:0}.dashboard-widget-control-form p{margin-top:0}.rssSummary{color:#777;margin-top:4px}#dashboard_primary .rss-widget{border-bottom:1px solid #eee;font-size:13px;padding:8px 12px 10px}#dashboard_primary .rss-widget:last-child{border-bottom:none;padding-bottom:8px}#dashboard_primary .rss-widget a{font-weight:400}#dashboard_primary .rss-widget span,#dashboard_primary .rss-widget span.rss-date{color:#777}#dashboard_primary .rss-widget span.rss-date{margin-right:12px}#dashboard_primary .rss-widget ul li{margin-bottom:8px}#dashboard_right_now ul{margin:0;display:inline-block;width:100%}#dashboard_right_now li{width:50%;float:right;margin-bottom:10px}#dashboard_right_now .inside{padding:0}#dashboard_right_now .main{padding:0 12px 11px}#dashboard_right_now .main p{margin:0}#dashboard_right_now #wp-version-message .button{float:left;position:relative;top:-5px;margin-right:5px}#dashboard-widgets h4.mu-storage{margin-bottom:10px}#dashboard_right_now li a:before,#dashboard_right_now li span:before{color:#82878c}#dashboard_right_now .sub{color:#777;background:#f5f5f5;padding:10px 12px 6px}#dashboard_right_now .sub h4{color:#555}#dashboard_right_now .sub p{margin:0 0 1em}#dashboard_right_now .warning a:before,#dashboard_right_now .warning span:before{color:#d54e21}#dashboard_quick_press .drafts li time,#title-wrap #title-prompt-text,.textarea-wrap #content-prompt-text{color:#777}#dashboard_right_now li a:before,#dashboard_right_now li span:before{content:'\f159';font:400 20px/1 dashicons;speak:none;display:block;float:right;margin:0 0 0 5px;padding:0;text-indent:0;text-align:center;position:relative;-webkit-font-smoothing:antialiased;text-decoration:none!important}#dashboard_right_now .page-count a:before,#dashboard_right_now .page-count span:before{content:'\f105'}#dashboard_right_now .post-count a:before,#dashboard_right_now .post-count span:before{content:'\f109'}#dashboard_right_now .comment-count a:before{content:'\f101'}#dashboard_right_now .comment-mod-count a:before{content:'\f125'}#dashboard_right_now .storage-count a:before{content:'\f104'}#dashboard_right_now .storage-count.warning a:before{content:'\f153'}#dashboard_quick_press .inside{margin:0;padding:0}#dashboard_quick_press div.updated{margin-bottom:10px;border:1px solid #eee;border-width:1px 0 1px 1px}#dashboard_quick_press form{margin:12px}#dashboard_quick_press .drafts,#dashboard_quick_press .easy-blogging{padding:10px 0 0}input#save-post{float:right}form.initial-form.quickpress-open label.prompt{font-style:normal}form.initial-form.quickpress-open input#title{height:auto}#dashboard_quick_press input,#dashboard_quick_press textarea{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:0}#dashboard_quick_press textarea{resize:vertical}#description-wrap{margin-top:12px}.input-text-wrap,.textarea-wrap{position:relative}.input-text-wrap .prompt,.textarea-wrap .prompt{position:absolute}.textarea-wrap #content-prompt-text{font-size:1.1em;padding:7px 8px}.textarea-wrap textarea#content{margin:0 0 8px;padding:6px 7px}#quick-press textarea#content{min-height:90px;max-height:1300px;resize:none}#dashboard_quick_press .drafts abbr{border:none}#dashboard_quick_press .drafts h4{margin:0 12px 8px;font-weight:400}#dashboard_quick_press .drafts .view-all{float:left;margin:0 0 0 12px}#dashboard_primary a.rsswidget{font-weight:400}#dashboard_quick_press .drafts ul{margin:0 12px}#dashboard_quick_press .drafts li{margin-bottom:1em}#dashboard_quick_press .drafts p{margin:0;word-wrap:break-word}#dashboard_quick_press .draft-title a,#dashboard_quick_press .draft-title time{margin:0 0 0 5px}#dashboard-widgets #dashboard_activity h4{margin:0 12px 8px 0;font-weight:400}#dashboard-widgets #dashboard_activity h4.comment-meta{margin:0}#dashboard_activity h4.comment-meta{margin-bottom:4px}#dashboard_activity ul{padding:0 12px}#dashboard_activity .comment-meta span.approve:before{content:'\f227';font:20px/.5 dashicons;margin-right:12px;vertical-align:middle;position:relative;top:-1px;margin-left:2px}#dashboard_activity .inside{padding:0;margin:0}#dashboard_activity .no-activity{overflow:hidden;padding:0 12px 12px;text-align:center}#dashboard_activity .no-activity p{color:#999;font-size:16px}#dashboard_activity .no-activity .smiley{margin-top:0}#dashboard_activity .no-activity .smiley:before{content:'\f328';font:400 120px/1 dashicons;speak:none;display:block;margin:0 0 0 5px;padding:0;text-indent:0;text-align:center;position:relative;-webkit-font-smoothing:antialiased;text-decoration:none!important}#dashboard_activity .subsubsub{float:none;border-top:1px solid #eee;margin-top:0;padding:8px 12px 4px}#future-posts ul,#published-posts ul{clear:both;margin-bottom:0}#future-posts li,#published-posts li{margin-bottom:8px}#future-posts ul span,#published-posts ul span{display:inline-block;margin-left:5px;min-width:150px;color:#777}.activity-block{border-bottom:1px solid #eee;padding:8px 0 4px}.activity-block:last-child{border-bottom:none}.activity-block .subsubsub li{color:#ddd}#activity-widget #the-comment-list div.undo,#activity-widget #the-comment-list tr.undo{background:0 0;padding:6px 0;margin-right:12px}#activity-widget #the-comment-list .comment-item{background:#fafafa;padding:12px;position:relative}#activity-widget #the-comment-list .avatar{position:absolute;top:13px}#activity-widget #the-comment-list .dashboard-comment-wrap{padding-right:63px}#activity-widget #the-comment-list .dashboard-comment-wrap blockquote{margin:1em 0}#activity-widget #the-comment-list .comment-item h4{font-size:13px;color:#999}#activity-widget #the-comment-list .comment-item p.row-actions{margin:4px 0 0}#activity-widget #the-comment-list .unapproved{background-color:#fef7f1}#activity-widget #the-comment-list .unapproved:before{content:"";display:block;position:absolute;right:0;top:0;bottom:0;background:#d54e21;width:4px}#activity-widget #the-comment-list .spam-undo-inside .avatar,#activity-widget #the-comment-list .trash-undo-inside .avatar{position:relative;top:0}#dashboard-widgets #dashboard_browser_nag.postbox .inside{margin:10px}.edit-box{display:none}h3:hover .edit-box{display:inline}#dashboard-widgets form .input-text-wrap input,#dashboard-widgets form .textarea-wrap textarea{width:100%}#dashboard-widgets .postbox form .submit{float:none;margin:.5em 0 0;padding:0;border:none}#dashboard-widgets-wrap #dashboard-widgets .postbox form .submit #publish{min-width:0}#dashboard-widgets a{text-decoration:none}#dashboard-widgets h3 a,#dashboard_browser_nag a{text-decoration:underline}#dashboard-widgets h3 .postbox-title-action{position:absolute;left:10px;padding:0;top:5px}.js #dashboard-widgets h3 .postbox-title-action{left:33px}#dashboard-widgets h4{color:#23282d;font-weight:400;font-size:14px;margin:0 0 .2em;padding:0}#dashboard_plugins h5{font-size:14px}#latest-comments #the-comment-list{position:relative}#activity-widget #the-comment-list .comment,#activity-widget #the-comment-list .pingback{-webkit-box-shadow:inset 0 1px 0 rgba(0,0,0,.06);box-shadow:inset 0 1px 0 rgba(0,0,0,.06)}#activity-widget .comments #the-comment-list .alt{background-color:transparent}#activity-widget #latest-comments #the-comment-list .comment-item{padding:1em 12px}#latest-comments #the-comment-list .pingback{padding-right:12px!important}#latest-comments #the-comment-list .comment-item:first-child{border-top:none}#latest-comments #the-comment-list .comment-item h4{line-height:1.5em;margin-top:0;color:#666}#latest-comments #the-comment-list .comment-item h4 cite{font-style:normal;font-weight:400}#latest-comments #the-comment-list .comment-item blockquote,#latest-comments #the-comment-list .comment-item blockquote p{margin:0;padding:0;display:inline}#latest-comments #the-comment-list .comment-item p.row-actions{margin:3px 0 0;padding:0;font-size:13px}#description-wrap label,#title-wrap label{cursor:text}#title-wrap #title{padding:2px 6px;font-size:1.3em;outline:0}#title-wrap #title-prompt-text{font-size:1.1em;padding:5px 8px}.rss-widget ul{margin:0;padding:0;list-style:none}a.rsswidget{font-size:14px;font-weight:600;line-height:1.7em}.rss-widget ul li{line-height:1.5em;margin-bottom:12px}.rss-widget span.rss-date{color:#999;font-size:13px;margin-right:3px}.rss-widget cite{display:block;text-align:left;margin:0 0 1em;padding:0}.rss-widget cite:before{content:'\2014'}#dashboard_browser_nag a.update-browser-link{font-size:1.2em;font-weight:600}#dashboard_browser_nag a{color:#fff}#dashboard_browser_nag p.browser-update-nag.has-browser-icon{padding-left:125px}#dashboard_browser_nag .browser-icon{margin-top:-35px}#dashboard_browser_nag.postbox.browser-insecure{background-color:#ac1b1b;border-color:#ac1b1b}#dashboard_browser_nag.postbox{background-color:#e29808;background-image:none;border-color:#edc048;color:#fff;-webkit-box-shadow:none;box-shadow:none}#dashboard_browser_nag.postbox.browser-insecure h3{border-bottom-color:#cd5a5a;color:#fff}#dashboard_browser_nag.postbox h3{border-bottom-color:#f6e2ac;background:0 0;color:#fff;-webkit-box-shadow:none;box-shadow:none}#dashboard_browser_nag h3.hndle{border:none;font-weight:600;font-size:20px;padding-top:10px}.postbox#dashboard_browser_nag p a.dismiss{font-size:14px}.postbox#dashboard_browser_nag a,.postbox#dashboard_browser_nag p,.postbox#dashboard_browser_nag p.browser-update-nag{font-size:16px}@media only screen and (max-width:799px){#wpbody-content #dashboard-widgets .postbox-container{width:100%}}@media only screen and (min-width:800px) and (max-width:1499px){#dashboard-widgets #postbox-container-3 .empty-container,#dashboard-widgets #postbox-container-4 .empty-container,#wpbody #wpbody-content .metabox-holder.columns-1 .postbox-container .empty-container{border:0;height:0;min-height:0}#wpbody-content #dashboard-widgets .postbox-container{width:49.5%}#wpbody-content #dashboard-widgets #postbox-container-2,#wpbody-content #dashboard-widgets #postbox-container-3,#wpbody-content #dashboard-widgets #postbox-container-4{float:left;width:50.5%}#wpbody #wpbody-content #dashboard-widgets.columns-1 .postbox-container{width:100%}.index-php .columns-prefs,.index-php .screen-layout{display:block}.columns-prefs .columns-prefs-3,.columns-prefs .columns-prefs-4{display:none}}@media only screen and (min-width:1500px) and (max-width:1800px){#wpbody-content #dashboard-widgets .postbox-container{width:33.5%}#wpbody-content #dashboard-widgets #postbox-container-1{width:33%}#wpbody-content #dashboard-widgets #postbox-container-3,#wpbody-content #dashboard-widgets #postbox-container-4{float:left}#dashboard-widgets #postbox-container-4 .empty-container{border:0;height:0;min-height:0}}@media screen and (max-width:870px){.welcome-panel .welcome-panel-column,.welcome-panel .welcome-panel-column:first-child{display:block;float:none;width:100%}.welcome-panel .welcome-panel-column li{display:inline-block;margin-left:13px}.welcome-panel .welcome-panel-column ul{margin:.4em 0 0}}@media screen and (max-width:782px){#dashboard_recent_comments #the-comment-list .comment-item .avatar{height:30px;width:30px;margin:4px 0 5px 10px}}@media screen and (max-width:600px){.welcome-panel .welcome-panel-close{overflow:hidden;text-indent:40px;white-space:nowrap;width:20px;height:20px;padding:5px;top:5px;left:5px}.welcome-panel .welcome-panel-close:before{font-size:20px;top:5px;right:-35px}}.response-links{display:block;margin-bottom:1em}.response-links a{display:block}.response-links a.comments-edit-item-link{font-weight:600}.response-links a.comments-view-item-link{font-size:12px}.post-com-count-wrapper strong{font-weight:400}.comments-view-item-link{display:inline-block;clear:both}.column-comments .post-com-count-wrapper,.column-response .post-com-count-wrapper{white-space:nowrap;word-wrap:normal}.column-comments .post-com-count,.column-response .post-com-count{display:inline-block;vertical-align:top}.column-comments .post-com-count-approved,.column-comments .post-com-count-no-comments,.column-response .post-com-count-approved,.column-response .post-com-count-no-comments{margin-top:5px}.column-comments .comment-count-approved,.column-comments .comment-count-no-comments,.column-response .comment-count-approved,.column-response .comment-count-no-comments{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;padding:0 8px;min-width:24px;height:2em;-webkit-border-radius:5px;border-radius:5px;background-color:#72777c;color:#fff;font-size:11px;line-height:21px;text-align:center}.ie8 .column-comments .comment-count-approved,.ie8 .column-comments .comment-count-no-comments,.ie8 .column-response .comment-count-approved,.ie8 .column-response .comment-count-no-comments{min-width:0}.column-comments .post-com-count-approved:after,.column-comments .post-com-count-no-comments:after,.column-response .post-com-count-approved:after,.column-response .post-com-count-no-comments:after{content:"";display:block;margin-right:8px;width:0;height:0;border-top:5px solid #72777c;border-left:5px solid transparent}.column-comments .post-com-count-approved:focus .comment-count-approved,.column-comments .post-com-count-approved:hover .comment-count-approved,.column-response .post-com-count-approved:focus .comment-count-approved,.column-response .post-com-count-approved:hover .comment-count-approved{background:#0073aa}.column-comments .post-com-count-approved:focus:after,.column-comments .post-com-count-approved:hover:after,.column-response .post-com-count-approved:focus:after,.column-response .post-com-count-approved:hover:after{border-top-color:#0073aa}.column-comments .post-com-count-pending,.column-response .post-com-count-pending{position:relative;right:-3px;padding:0 5px;min-width:7px;height:17px;border:2px solid #fff;-webkit-border-radius:11px;border-radius:11px;background:#ca4a1f;color:#fff;font-size:9px;line-height:17px;text-align:center}.commentlist li{padding:1em 1em .2em;margin:0;border-bottom:1px solid #ccc}.commentlist li li{border-bottom:0;padding:0}.commentlist p{padding:0;margin:0 0 .8em}#submitted-on,.submitted-on{color:#777}#replyrow td{padding:2px}#replysubmit{margin:0;padding:0 5px 3px;text-align:center}#replysubmit .button{margin-left:5px}#replysubmit .error{color:red;line-height:21px;text-align:center}#replyrow h5{margin:.2em 0 0;padding:0 5px;line-height:1.4em;font-size:1em}#commentsdiv #edithead .inside,#edithead .inside{float:right;padding:3px 5px 2px 0;margin:0;text-align:center}#edithead .inside input{width:180px}#edithead label{padding:2px 0}#replycontainer{padding:5px}#replycontent{height:120px;-webkit-box-shadow:none;box-shadow:none}#replyerror{border-color:#ddd;background-color:#f9f9f9}.commentlist .avatar{vertical-align:text-top}#the-comment-list div.undo,#the-comment-list tr.undo{background-color:#f4f4f4}#the-comment-list .unapproved td,#the-comment-list .unapproved th{background-color:#fef7f1}#the-comment-list .unapproved th.check-column{border-right:4px solid #d54e21}#the-comment-list .unapproved th.check-column input{margin-right:4px}#the-comment-list .approve a{color:#006505}#the-comment-list .unapprove a{color:#d98500}.sorting-indicator:before,th .comment-grey-bubble:before{speak:none;-moz-osx-font-smoothing:grayscale;position:relative;text-decoration:none!important;color:#444}#the-comment-list td,#the-comment-list th{-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}#the-comment-list tr:last-child td,#the-comment-list tr:last-child th{-webkit-box-shadow:none;box-shadow:none}#the-comment-list tr.unapproved+tr.approved td,#the-comment-list tr.unapproved+tr.approved th{border-top:1px solid rgba(0,0,0,.03)}.vim-current,.vim-current td,.vim-current th{background-color:#e4f2fd!important}th .comment-grey-bubble{height:16px;width:16px}th .comment-grey-bubble:before{content:'\f101';font:400 20px/.5 dashicons;display:inline-block;padding:0;top:4px;right:-4px;vertical-align:top;-webkit-font-smoothing:antialiased}.sorting-indicator:before,th.desc a:focus span.sorting-indicator:before,th.desc:hover span.sorting-indicator:before,th.sorted.asc .sorting-indicator:before{content:'\f142'}table.fixed{table-layout:fixed}.fixed .column-rating,.fixed .column-visible{width:8%}.fixed .column-author,.fixed .column-date,.fixed .column-format,.fixed .column-links,.fixed .column-parent,.fixed .column-posts{width:10%}.fixed .column-posts{width:74px}.fixed .column-comment .comment-author{display:none}.fixed .column-categories,.fixed .column-rel,.fixed .column-response,.fixed .column-role,.fixed .column-tags{width:15%}.fixed .column-slug{width:25%}.fixed .column-locations{width:35%}.fixed .column-comments{width:5.5em;padding:8px 0;text-align:right}.fixed .column-comments .vers{padding-right:3px}td.column-title strong,td.plugin-title strong{display:block;margin-bottom:.2em;font-size:14px}td.column-title p,td.plugin-title p{margin:6px 0}table.media .column-title .media-icon{float:right;min-height:60px;margin:0 0 0 9px}table.media .column-title .media-icon img{max-width:60px;height:auto;vertical-align:top}table.media .column-title .has-media-icon~.row-actions{margin-right:70px}table.media .column-title .filename{margin-bottom:.2em}.wp-list-table a{-webkit-transition:none;transition:none}#the-list tr:last-child td,#the-list tr:last-child th{border-bottom:none!important;-webkit-box-shadow:none;box-shadow:none}#comments-form .fixed .column-author{width:20%}#commentsdiv.postbox .inside{margin:0;padding:0}#commentsdiv .inside .row-actions{line-height:18px}#commentsdiv .inside .column-author{width:25%}#commentsdiv .column-comment p{margin:.6em 0;padding:0}#commentsdiv #replyrow td{padding:0}#commentsdiv p{padding:8px 10px;margin:0}#commentsdiv .comments-box{border:0}#commentsdiv .comments-box thead td,#commentsdiv .comments-box thead th{background:0 0;padding:0 7px 4px;font-style:italic}#commentsdiv .comments-box tr:last-child td{border-bottom:0 none}#commentsdiv #edithead .inside input{vertical-align:middle;width:160px}.sorting-indicator{display:none;width:10px;height:4px;margin-top:8px;margin-right:7px}.sorting-indicator:before{font:400 20px/1 dashicons;display:inline-block;padding:0;top:-4px;right:-8px;line-height:10px;vertical-align:top;-webkit-font-smoothing:antialiased}.column-comments .sorting-indicator:before{top:0;right:-10px}.wp-list-table .toggle-row:before,th.asc a:focus span.sorting-indicator:before,th.asc:hover span.sorting-indicator:before,th.sorted.desc .sorting-indicator:before{content:'\f140'}.wp-list-table .toggle-row{position:absolute;left:8px;top:10px;display:none;padding:0;width:40px;height:40px;border:none;outline:0;background:0 0}.wp-list-table .toggle-row:hover{cursor:pointer}.wp-list-table .toggle-row:focus:before{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.ie8 .wp-list-table .toggle-row:focus:before{outline:#5b9dd9 solid 1px}.wp-list-table .toggle-row:active{-webkit-box-shadow:none;box-shadow:none}.wp-list-table .toggle-row:before{position:absolute;top:-5px;right:10px;-webkit-border-radius:50%;border-radius:50%;display:block;padding:1px 0 1px 2px;color:#666;font:400 20px/1 dashicons;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:none}.wp-list-table .is-expanded .toggle-row:before{content:'\f142'}tr.wp-locked .locked-indicator{margin-right:6px;height:20px;width:16px}tr.wp-locked .locked-indicator:before{color:#82878c;content:'\f160';display:inline-block;float:right;font:400 20px/1 dashicons;speak:none;vertical-align:middle;margin-right:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}tr.wp-locked .check-column input[type=checkbox],tr.wp-locked .check-column label,tr.wp-locked .row-actions .inline,tr.wp-locked .row-actions .trash{display:none}tr .locked-info{height:0;opacity:0}tr.wp-locked .locked-info{margin-top:8px;height:auto;opacity:1}.locked-text{vertical-align:top}tr.locked-info,tr.wp-locked .locked-info{-webkit-transition:height 1s,opacity .5s;transition:height 1s,opacity .5s}.fixed .column-comments .sorting-indicator{margin-top:3px}#menu-locations-wrap .widefat{width:60%}.widefat th.sortable,.widefat th.sorted{padding:0}th.sortable a,th.sorted a{display:block;padding:7px 10px 8px 7px}.fixed .column-comments.sortable a,.fixed .column-comments.sorted a{padding:8px 0}th.sortable a span,th.sorted a span{float:right;cursor:pointer}th.asc a:focus span.sorting-indicator,th.asc:hover span.sorting-indicator,th.desc a:focus span.sorting-indicator,th.desc:hover span.sorting-indicator,th.sorted .sorting-indicator{display:block}.tablenav-pages a,.tablenav-pages-navspan{font-weight:600;padding:0 2px}.tablenav-pages .current-page{margin:0 0 0 2px;padding-bottom:5px;font-size:13px;text-align:center}.tablenav .total-pages{margin-left:2px}.tablenav #table-paging{margin-right:2px}.tablenav a.button-secondary{display:block;margin:3px 0 0 8px}.tablenav{clear:both;height:30px;margin:6px 0 4px;vertical-align:middle}.tablenav.themes{max-width:98%}.tablenav .tablenav-pages{float:left;height:28px;margin-top:3px;cursor:default;color:#555}.tablenav .no-pages,.tablenav .one-page .pagination-links{display:none}.tablenav .tablenav-pages a,.tablenav-pages span.current{text-decoration:none;padding:3px 6px}.tablenav .tablenav-pages a,.tablenav-pages-navspan{display:inline-block;min-width:17px;border:1px solid #d2d2d2;padding:3px 5px 7px;background:#e4e4e4;font-size:16px;line-height:1;font-weight:400;text-align:center}.tablenav-pages-navspan{height:16px;border-color:#e8e8e8;background:#ebebeb;color:#b4b4b4}.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover{border-color:#5b9dd9;color:#fff;background:#00a0d2;-webkit-box-shadow:none;box-shadow:none;outline:0}.tablenav .displaying-num{margin-left:7px}.tablenav .one-page .displaying-num{display:inline-block;margin-top:5px;margin-left:0}.tablenav .actions{padding:2px 0 0 8px}.wp-filter .actions{display:inline-block;vertical-align:middle}.tablenav .delete{margin-left:20px}.tablenav .dots{border-color:transparent}.tablenav .next,.tablenav .prev{border-color:transparent;color:#0073aa}.tablenav .next:hover,.tablenav .prev:hover{border-color:transparent;color:#00a0d2}.tablenav .view-switch{float:left;margin:0 5px;padding-top:3px}.wp-filter .view-switch{display:inline-block;vertical-align:middle;padding:12px 0;margin:0 2px 0 8px}.media-toolbar.wp-filter .view-switch{margin:0 2px 0 12px}.view-switch a{float:right;width:28px;height:28px;text-align:center;line-height:24px;text-decoration:none}.view-switch a:before{color:#b4b9be;display:inline-block;font:400 20px/1 dashicons;speak:none;vertical-align:middle;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.view-switch a:focus:before,.view-switch a:hover:before{color:#727272}.view-switch a.current:before{color:#0073aa}.view-switch .view-list:before{content:'\f163'}.view-switch .view-excerpt:before{content:'\f164'}.view-switch .view-grid:before{content:'\f509'}.filter{float:right;margin:-5px 10px 0 0}.filter .subsubsub{margin-right:-10px;margin-top:13px}.screen-per-page{width:4em}#posts-filter .wp-filter{margin-bottom:0}#posts-filter fieldset{float:right;margin:0 0 1em 1.5ex;padding:0}#posts-filter fieldset legend{padding:0 1px .2em 0}.row-actions,.row-actions-visible{padding:2px 0 0}p.pagenav{margin:0;display:inline}.pagenav span{font-weight:600;margin:0 6px}.row-title{font-size:14px!important;font-weight:600}.column-comment .comment-author{margin-bottom:.6em}.column-author img,.column-comment .comment-author img,.column-username img{float:right;margin-left:10px;margin-top:1px}.row-actions{color:#ddd;font-size:13px}.mobile .row-actions,.row-actions.visible,div.comment-item:hover .row-actions,tr:hover .row-actions{visibility:visible}#wpbody-content .inline-edit-row fieldset{font-size:12px;float:right;margin:0;padding:0;width:100%}#wpbody-content .inline-edit-row fieldset .inline-edit-col,tr.inline-edit-row td{padding:0 .5em}#wpbody-content .quick-edit-row-post .inline-edit-col-left{width:40%}#wpbody-content .quick-edit-row-post .inline-edit-col-right{width:39%}#wpbody-content .inline-edit-row-post .inline-edit-col-center{width:20%}#wpbody-content .quick-edit-row-page .inline-edit-col-left{width:50%}#wpbody-content .bulk-edit-row-post .inline-edit-col-right,#wpbody-content .quick-edit-row-page .inline-edit-col-right{width:49%}#wpbody-content .bulk-edit-row .inline-edit-col-left{width:30%}#wpbody-content .bulk-edit-row-page .inline-edit-col-right{width:69%}#wpbody-content .bulk-edit-row .inline-edit-col-bottom{float:left;width:69%}#bulk-titles div a,.inline-edit-row fieldset .inline-edit-date,.plugin-card,.quick-edit-row-post fieldset label.inline-edit-status{float:right}#wpbody-content .inline-edit-row-page .inline-edit-col-right{margin-top:27px}.inline-edit-row fieldset .inline-edit-group{clear:both;line-height:2.5}.inline-edit-row fieldset .inline-edit-group:after{content:".";display:block;height:0;clear:both;visibility:hidden}.inline-edit-row p.submit{clear:both;padding:.5em;margin:.5em 0 0}.inline-edit-row span.error{line-height:22px;margin:0 15px;padding:3px 5px}.inline-edit-row h4{margin:.2em 0;padding:0;line-height:2.5;text-transform:uppercase}.inline-edit-row fieldset span.checkbox-title,.inline-edit-row fieldset span.title{margin:0;padding:0;font-style:italic}.inline-edit-row fieldset label,.inline-edit-row fieldset span.inline-edit-categories-label{display:block;margin:.2em 0;line-height:2.5}.inline-edit-row fieldset.inline-edit-date label{display:inline-block;margin:0;line-height:1.5;vertical-align:baseline}.inline-edit-row fieldset label.inline-edit-tags{margin-top:0}.inline-edit-row fieldset label.inline-edit-tags span.title{margin:.2em 0;width:auto}.inline-edit-row fieldset label span.title,.inline-edit-row fieldset.inline-edit-date legend{display:block;float:right;width:6em;line-height:2.5}#posts-filter fieldset.inline-edit-date legend{padding:0}.inline-edit-row fieldset.inline-edit-date select{margin:1px;line-height:28px}.inline-edit-row fieldset .timestamp-wrap,.inline-edit-row fieldset label span.input-text-wrap{display:block;margin-right:6em}.quick-edit-row-post fieldset.inline-edit-col-right label span.title{width:auto;padding-left:.5em}.inline-edit-row .inline-edit-or{margin:.2em 0 .2em 6px;line-height:2.5}.inline-edit-row .input-text-wrap input[type=text]{width:100%}.inline-edit-row fieldset label input[type=checkbox]{vertical-align:middle}.inline-edit-row fieldset label textarea{width:100%;height:4em;vertical-align:top}#bulk-titles,ul.cat-checklist{height:12em;border:1px solid #ddd;overflow-y:scroll;padding:0 5px}#wpbody-content .bulk-edit-row fieldset .inline-edit-group label{max-width:50%}#wpbody-content .quick-edit-row fieldset .inline-edit-group label.alignleft:first-child{margin-left:.5em}.inline-edit-col-right .input-text-wrap input.inline-edit-menu-order-input{width:6em}.inline-edit-row fieldset input[name=hh],.inline-edit-row fieldset input[name=jj],.inline-edit-row fieldset input[name=mn]{font-size:12px;width:2.3em}.inline-edit-row fieldset input[name=aa]{font-size:12px;width:3.5em}.inline-edit-row fieldset label input.inline-edit-password-input{width:8em}ul.cat-checklist{margin:0;background-color:#fff}#bulk-titles{display:block;margin:0 0 5px;line-height:140%}.inline-edit-row fieldset ul.cat-checklist input,.inline-edit-row fieldset ul.cat-checklist li{margin:0;position:relative}.inline-edit-row #bulk-titles div,.inline-edit-row fieldset ul.cat-checklist label{font-style:normal;font-size:11px}.inline-edit-row fieldset label input.inline-edit-menu-order-input{width:3em}.inline-edit-row fieldset label input.inline-edit-slug-input{width:75%}.inline-edit-row #post_parent,.inline-edit-row select[name=page_template]{max-width:80%}.ie8 .inline-edit-row #post_parent,.ie8 .inline-edit-row select[name=page_template]{width:250px}#bulk-titles div{margin:.2em .3em}#bulk-titles div a{cursor:pointer;display:block;height:18px;margin:0 -2px 0 3px;overflow:hidden;position:relative;width:20px}#bulk-titles div a:before{position:relative;top:-3px}.plugins tbody,.plugins tbody th.check-column{padding:8px 2px 0 0}.plugins tbody th.check-column input[type=checkbox]{margin-top:4px}#update-plugins-table tbody td p{margin-top:0}#update-plugins-table tbody td p strong{font-size:14px}.plugins .inactive th.check-column,.plugins tfoot td.check-column,.plugins thead td.check-column{padding-right:6px}#update-plugins-table tfoot td.check-column,#update-plugins-table thead td.check-column{padding-top:11px}.plugins,.plugins td,.plugins th{color:#000}.plugins tr{background:#fff}.plugins p{margin:0 4px;padding:0}.plugins .desc p{margin:0 0 8px}.plugins td.desc{line-height:1.5em}.plugins .desc ol,.plugins .desc ul{margin:0 2em 0 0}.plugins .desc ul{list-style-type:disc}.plugins .row-actions{font-size:13px}.plugins .active td,.plugins .active th,.plugins .inactive td,.plugins .inactive th{padding:10px 9px}.plugins .active td,.plugins .active th{background-color:#f7fcfe}.plugins .update td,.plugins .update th{border-bottom:0}.plugin-update-tr td{border-top:0}.plugin-install #the-list td,.plugins .active td,.plugins .active th,.plugins .inactive td,.plugins .inactive th,.upgrade .plugins td,.upgrade .plugins th{-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}.plugins tr.active+tr.inactive td,.plugins tr.active+tr.inactive th,.plugins tr.active.plugin-update-tr+tr.inactive td,.plugins tr.active.plugin-update-tr+tr.inactive th{border-top:1px solid rgba(0,0,0,.03);-webkit-box-shadow:inset 0 1px 0 rgba(0,0,0,.02),inset 0 -1px 0 #e1e1e1;box-shadow:inset 0 1px 0 rgba(0,0,0,.02),inset 0 -1px 0 #e1e1e1}.plugins .update td,.plugins .update th,.plugins .updated td,.plugins .updated th,.plugins tr.active+tr.inactive.update td,.plugins tr.active+tr.inactive.update th,.plugins tr.active+tr.inactive.updated td,.plugins tr.active+tr.inactive.updated th,.upgrade .plugins tr:last-of-type td,.upgrade .plugins tr:last-of-type th{-webkit-box-shadow:none;box-shadow:none}.plugins .active.update td,.plugins .active.update th,tr.active.update+tr.plugin-update-tr .plugin-update{background-color:#fef7f1}.plugin-update-tr.active td,.plugins .active th.check-column{border-right:4px solid #00a0d2}.plugins .active.update th.check-column,.plugins .active.update+.plugin-update-tr .plugin-update{border-right:4px solid #d54e21}#wpbody-content .plugins .plugin-title,#wpbody-content .plugins .theme-title{padding-left:12px;white-space:nowrap}.plugins .inactive .plugin-title strong{font-weight:400}.plugins .row-actions,.plugins .second{padding:0 0 5px}.plugins .update .row-actions,.plugins .update .second,.plugins .updated .row-actions,.plugins .updated .second{padding-bottom:0}.plugins-php .widefat tfoot td,.plugins-php .widefat tfoot th{border-top-style:solid;border-top-width:1px}.plugin-update-tr .update-message{font-size:13px;font-weight:400;margin:0 31px 8px 10px;padding:6px 40px 8px 12px;background-color:#f7f7f7;background-color:rgba(0,0,0,.03)}.plugin-card .install-now:before,.plugin-card .update-now:before,.plugin-update-tr .update-message:before{color:#d54e21;display:inline-block;font:400 20px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:top}.plugin-card .update-now:before,.plugin-update-tr .update-message:before{content:'\f463'}.plugin-update-tr .update-message:before{margin:0 -30px 0 10px}.plugin-card .install-now:before,.plugin-card .update-now:before{margin:3px -2px 0 5px}.plugin-card .updating-message:before,.plugin-update-tr .updating-message:before{content:'\f463';-webkit-animation:rotation 2s infinite linear;animation:rotation 2s infinite linear}@-webkit-keyframes rotation{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(-359deg);transform:rotate(-359deg)}}@keyframes rotation{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(-359deg);transform:rotate(-359deg)}}.plugin-card .updated-message:before,.plugin-update-tr .updated-message:before{color:#79ba49;content:'\f147'}.wp-list-table.plugins tbody tr.plugin-update-tr td.plugin-update{overflow:hidden;padding:0;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}tr.active+tr.plugin-update-tr .plugin-update{background-color:#f7fcfe}tr.active+tr.plugin-update-tr:not(.updated) .plugin-update .update-message{background-color:#fcf3ef}.plugin-install-php h3{clear:both}.plugin-install-php h4{margin:2.5em 0 8px}.plugin-install-php .wp-filter{margin-bottom:0}.plugin-group{overflow:hidden;margin-top:1.5em}.plugin-group h3{margin-top:0}.plugin-card{margin:0 8px 16px;width:48.5%;width:-webkit-calc(50% - 8px);width:calc(50% - 8px);background-color:#fff;border:1px solid #dedede;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.plugin-card:nth-child(odd){clear:both;margin-right:0}.plugin-card:nth-child(even){margin-left:0}@media screen and (min-width:1600px){.plugin-card{width:30%;width:-webkit-calc(33.1% - 8px);width:calc(33.1% - 8px)}.plugin-card:nth-child(odd){clear:none;margin-right:8px}.plugin-card:nth-child(even){margin-left:8px}.plugin-card:nth-child(3n+1){clear:both;margin-right:0}.plugin-card:nth-child(3n){margin-left:0}}.plugin-card-top{position:relative;padding:20px 20px 10px;min-height:135px}.plugin-action-buttons,div.action-links{margin:0}.plugin-card h4{margin:0 0 12px;font-size:18px;line-height:1.3}.plugin-card .desc,.plugin-card .name{margin-right:148px;margin-left:120px}.plugin-card .action-links{position:absolute;top:20px;left:20px;width:120px}.plugin-action-buttons{clear:left;float:left;margin-right:2em;margin-bottom:1em;text-align:left}.plugin-action-buttons li{margin-bottom:10px}.plugin-card-bottom{clear:both;padding:12px 20px;background-color:#fafafa;border-top:1px solid #dedede;overflow:hidden}.plugin-card-bottom .star-rating{display:inline}.plugin-card .column-rating{line-height:23px}.plugin-card .column-rating,.plugin-card .column-updated{margin-bottom:4px}.plugin-card .column-downloaded,.plugin-card .column-rating{float:right;clear:right;max-width:180px}.plugin-card .column-compatibility,.plugin-card .column-updated{text-align:left;float:left;clear:left;width:65%;width:-webkit-calc(100% - 180px);width:calc(100% - 180px)}.plugin-icon,.plugin-icon img{width:128px;height:128px}.plugin-card .column-compatibility span:before{font:400 20px/.5 dashicons;speak:none;display:inline-block;padding:0;top:4px;right:-2px;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#444}.plugin-card .compatibility-incompatible:before{content:'\f158'}.plugin-card .compatibility-compatible:before{content:'\f147'}.plugin-icon{position:absolute;top:20px;right:20px;margin:0 0 20px 20px}.no-plugin-results{color:#999;font-size:18px;font-style:normal;margin:0;padding:100px 0 0;text-align:center}.wp-list-table tr.site-deleted{background:#ff8573}.wp-list-table tr.site-spammed{background:#faafaa}.wp-list-table tr.site-archived{background:#ffebe8}.wp-list-table tr.site-mature{background:#fecac2}.sites.fixed .column-lastupdated,.sites.fixed .column-registered{width:20%}.sites.fixed .column-users{width:80px}@media screen and (max-width:1100px) and (min-width:782px),(max-width:480px){.plugin-card .action-links{position:static;margin-right:148px;width:auto}.plugin-action-buttons{float:none;margin:1em 0 0;text-align:right}.plugin-action-buttons li{display:inline-block;vertical-align:middle}.plugin-action-buttons li .button{margin-left:20px}.plugin-card .desc,.plugin-card .name{margin-left:0}.plugin-card .desc p:first-of-type{margin-top:0}}@media screen and (max-width:782px){.plugins #the-list tr td,.plugins tr.active+tr.inactive td,.plugins tr.active+tr.inactive th.check-column{border-top:none}.tablenav{height:auto}.tablenav.top{margin:20px 0 5px}.tablenav.bottom{position:relative;margin-top:15px}.tablenav br{display:none}.tablenav br.clear{display:block}.form-wrap>p,.tablenav .view-switch,.tablenav.top .actions,.tablenav.top .displaying-num,.tablenav.top .tablenav-pages.one-page,.wp-list-table th.column-primary~th,.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-primary~td:not(.check-column){display:none}.view-switch a{width:36px;height:36px;line-height:33px}.tablenav.bottom .displaying-num{position:absolute;left:0;top:11px;margin:0;font-size:14px}.tablenav .tablenav-pages{width:100%;height:auto;text-align:center;margin:0 0 25px}.tablenav.bottom .tablenav-pages{margin-top:25px}.tablenav.bottom .tablenav-pages.one-page{margin:15px 0 0;height:0}.tablenav-pages .pagination-links{font-size:16px}.tablenav-pages .pagination-links a,.tablenav-pages-navspan{padding:9px 16px 12px;font-size:18px}.tablenav-pages-navspan{height:18px}.tablenav-pages .pagination-links .current-page{padding:8px 9px 9px;font-size:16px}.comment-count{font-size:14px}.wp-list-table thead th.column-primary{width:100%}.wp-list-table tr th.check-column{display:table-cell;width:35px}.wp-list-table .column-primary .toggle-row{display:block}.wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.check-column){position:relative;clear:both;display:block;width:auto!important}.wp-list-table td.column-primary{padding-left:50px}.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-primary~td:not(.check-column){padding:3px 35% 3px 8px}.wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.column-primary)::before{position:absolute;right:10px;display:block;overflow:hidden;width:32%;content:attr(data-colname);white-space:nowrap;text-overflow:ellipsis}.wp-list-table .is-expanded td:not(.hidden){display:block!important;overflow:hidden}.column-posts,.widefat .num{text-align:right}#comments-form .fixed .column-author,#commentsdiv .fixed .column-author{display:none!important}.fixed .column-comment .comment-author{display:block}#the-comment-list .is-expanded td{-webkit-box-shadow:none;box-shadow:none}#the-comment-list .is-expanded td:last-child{-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}.post-com-count .screen-reader-text{position:static;width:auto;height:auto;margin:0}.column-comments .post-com-count-approved:after,.column-comments .post-com-count-no-comments:after,.column-response .post-com-count-approved:after,.column-response .post-com-count-no-comments:after{content:none}.column-comments .post-com-count [aria-hidden=true],.column-response .post-com-count [aria-hidden=true]{display:none}#edithead label,.column-comments .post-com-count-wrapper>a,.column-response .post-com-count-wrapper>a{display:block}.column-comments .post-com-count-wrapper,.column-response .post-com-count-wrapper{white-space:normal}.column-comments .post-com-count-approved,.column-comments .post-com-count-no-comments,.column-response .post-com-count-approved,.column-response .post-com-count-no-comments{margin-top:0;margin-left:.5em}.column-comments .post-com-count-pending,.column-response .post-com-count-pending{position:static;height:auto;min-width:0;padding:0;border:none;-webkit-border-radius:0;border-radius:0;background:0 0;color:#bb2a2a;font-size:inherit;line-height:inherit;text-align:right}.column-comments .post-com-count-pending:hover,.column-response .post-com-count-pending:hover{color:#dc3232}.widefat tfoot .check-column,.widefat thead .check-column{padding:10px 0}.widefat *{word-wrap:normal}#wpbody-content .bulk-edit-row .inline-edit-col-bottom,#wpbody-content .bulk-edit-row .inline-edit-col-left,#wpbody-content .bulk-edit-row-page .inline-edit-col-right,#wpbody-content .bulk-edit-row-post .inline-edit-col-right,#wpbody-content .inline-edit-row-post .inline-edit-col-center,#wpbody-content .quick-edit-row-page .inline-edit-col-left,#wpbody-content .quick-edit-row-page .inline-edit-col-right,#wpbody-content .quick-edit-row-post .inline-edit-col-left,#wpbody-content .quick-edit-row-post .inline-edit-col-right{float:none;width:100%}#wpbody-content .bulk-edit-row fieldset .inline-edit-col label,#wpbody-content .bulk-edit-row fieldset .inline-edit-group label,#wpbody-content .quick-edit-row fieldset .inline-edit-col label,#wpbody-content .quick-edit-row fieldset .inline-edit-group label{max-width:none;float:none;margin-bottom:5px}#wpbody .bulk-edit-row fieldset select{display:block;width:100%;max-width:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.inline-edit-row #bulk-titles div,.inline-edit-row fieldset ul.cat-checklist label{font-size:16px}.wp-list-table.plugins .plugin-title strong,.wp-list-table.plugins .theme-title strong,table.plugin-install td.column-name strong{font-size:1.4em;line-height:1.6em}.inline-edit-row fieldset label span.title,.inline-edit-row fieldset.inline-edit-date legend{float:none}.inline-edit-row fieldset label.inline-edit-tags{padding:0 .5em}.inline-edit-row fieldset .inline-edit-col label.inline-edit-tags{padding:0}.inline-edit-row fieldset .timestamp-wrap,.inline-edit-row fieldset label span.input-text-wrap{margin-right:0}.inline-edit-row fieldset input[name=hh],.inline-edit-row fieldset input[name=jj],.inline-edit-row fieldset input[name=mn]{width:3em}.inline-edit-row fieldset input[name=aa]{width:4.5em}.inline-edit-row .inline-edit-or{margin:0 0 0 6px}#commentsdiv #edithead .inside,#edithead .inside{float:none;text-align:right;padding:3px 5px}#commentsdiv #edithead .inside input,#edithead .inside input{width:100%}#bulk-titles div{margin:.8em .3em}.plugin-card,.plugin-update-tr .update-message{margin-right:0}#bulk-titles div a{height:22px}#wpbody-content #update-themes-table .plugin-title{width:auto}.link-manager-php #posts-filter{margin-top:25px}.link-manager-php .tablenav.bottom{overflow:hidden}.comments-box .toggle-row,.wp-list-table.plugins .toggle-row{display:none}#wpbody-content .wp-list-table.plugins td{display:block;width:auto;padding:10px 9px}#wpbody-content .wp-list-table.plugins .column-description{padding-top:2px}.wp-list-table.plugins .plugin-title,.wp-list-table.plugins .theme-title{padding-top:13px;padding-bottom:4px}.plugins #the-list .update td,.plugins #the-list .update th,.plugins #the-list tr>td:not(:last-child),.wp-list-table.plugins #the-list .theme-title{-webkit-box-shadow:none;box-shadow:none;border-top:none}.plugins tbody{padding:1px 0 0}.plugins .plugin-update-tr:before,.plugins tr.active+tr.inactive td.column-description,.plugins tr.active+tr.inactive th.check-column{-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}.plugins .plugin-update-tr:before{content:'';display:table-cell}.plugins .active.update+.plugin-update-tr:before{border-right:4px solid #d54e21;background-color:#fef7f1}.plugins #the-list .plugin-update-tr .plugin-update{border-right:none}table.plugin-install .column-description,table.plugin-install .column-name,table.plugin-install .column-rating,table.plugin-install .column-version{display:block;width:auto}table.plugin-install th.column-description,table.plugin-install th.column-name,table.plugin-install th.column-rating,table.plugin-install th.column-version{display:none}table.plugin-install #the-list td{-webkit-box-shadow:none;box-shadow:none}table.plugin-install #the-list tr{display:block;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}.plugin-card{margin-left:0;width:100%}}#save-action .spinner,#show-comments .spinner,#show-comments a,.postarea h3 label{float:right}#poststuff{padding-top:10px;min-width:763px}#poststuff #post-body{padding:0}#poststuff .postbox-container{width:100%}#poststuff #post-body.columns-2{margin-left:300px}#show-comments{overflow:hidden}#lost-connection-notice .spinner{visibility:visible;float:right;margin:0 0 0 5px}#titlediv{position:relative}#titlediv label{cursor:text}#titlediv div.inside{margin:0}#poststuff #titlewrap{border:0;padding:0}#titlediv #title{padding:3px 8px;font-size:1.7em;line-height:100%;height:1.7em;width:100%;outline:0;margin:0 0 3px;background-color:#fff}#titlediv #title-prompt-text{color:#777;position:absolute;font-size:1.7em;padding:11px 10px}#wp-content-editor-container,.postbox,form#tags-filter{position:relative}#poststuff .inside-submitbox,#side-sortables .inside-submitbox{margin:0 3px;font-size:11px}input#link_description,input#link_url{width:98%}#pending{background:100% none;border:0;padding:0;font-size:11px;margin-top:-1px}#edit-slug-box{line-height:24px;min-height:25px;margin-top:5px;padding:0 10px;color:#666}#edit-slug-box .cancel{margin-left:10px;font-size:11px}#editable-post-name-full{display:none}#editable-post-name{background-color:#fffbcc}#editable-post-name input{font-size:13px;height:22px;margin:0;width:16em}.submitbox .submit{text-align:right;padding:12px 10px 10px;font-size:11px;background-color:#464646;color:#ccc}.submitbox .submitdelete{text-decoration:none;padding:1px 2px}#normal-sortables .submitbox .submitdelete:hover{color:#000;background-color:red;border-bottom-color:red}.submitbox .submit a:hover{text-decoration:underline}.submitbox .submit input{margin-bottom:8px;margin-left:4px;padding:6px}.inside-submitbox #post_status{margin:2px -2px 2px 0}#post-status-select{margin-top:3px}#post-body #normal-sortables{min-height:50px}.postbox{min-width:255px;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,.04);background:#fff}#post-status-info,.postbox{-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04)}#trackback_url{width:99%}#normal-sortables .postbox .submit{background:0 0;border:0;float:left;padding:0 12px;margin:0}.category-add input[type=text],.category-add select{width:100%;max-width:260px;vertical-align:baseline}#side-sortables .category-add input[type=text],#side-sortables .category-add select{margin:0 0 1em}#side-sortables .add-menu-item-tabs li,.wp-tab-bar li,ul.category-tabs li{display:inline;line-height:1.35em}.no-js .category-tabs li.hide-if-no-js,.ui-tabs-hide,.wp-editor-expand #content-resize-handle,.wp-hidden-children .wp-hidden-child{display:none}#side-sortables .add-menu-item-tabs a,.category-tabs a,.wp-tab-bar a{text-decoration:none}#post-body ul.add-menu-item-tabs li.tabs a,#post-body ul.category-tabs li.tabs a,#side-sortables .add-menu-item-tabs .tabs a,#side-sortables .category-tabs .tabs a,.wp-tab-bar .wp-tab-active a{color:#32373c}.category-tabs{margin:8px 0 5px}#category-adder h4{margin:10px 0}#side-sortables .add-menu-item-tabs,.wp-tab-bar{margin-bottom:3px}#normal-sortables .postbox #replyrow .submit{float:none;margin:0;padding:0 7px 5px}#side-sortables .submitbox .submit .preview,#side-sortables .submitbox .submit a.preview:hover,#side-sortables .submitbox .submit input{border:0}#side-sortables .inside-submitbox .insidebox,.stuffbox .insidebox{margin:11px 0}ul.add-menu-item-tabs,ul.category-tabs,ul.wp-tab-bar{margin-top:12px}ul.add-menu-item-tabs li,ul.category-tabs li{border:1px solid transparent;position:relative}.wp-tab-active,ul.add-menu-item-tabs li.tabs,ul.category-tabs li.tabs{border:1px solid #dfdfdf;border-bottom-color:#fdfdfd;background-color:#fdfdfd}ul.add-menu-item-tabs li,ul.category-tabs li,ul.wp-tab-bar li{padding:3px 5px 5px}#postimagediv .inside img{max-width:100%;height:auto;width:auto}#post-body .tagsdiv #newtag{margin-left:5px;width:16em}#side-sortables input#post_password{width:94%}#side-sortables .tagsdiv #newtag{width:68%}#post-status-info{width:100%;border-spacing:0;border:1px solid #e5e5e5;border-top:none;background-color:#f7f7f7;box-shadow:0 1px 1px rgba(0,0,0,.04);z-index:999}#post-status-info td{font-size:12px}.autosave-info{padding:2px 10px;text-align:left}#editorcontent #post-status-info{border:none}#content-resize-handle{background:url(../images/resize.gif) left bottom no-repeat;width:12px;cursor:row-resize}.rtl #content-resize-handle{background:url(../images/resize-rtl.gif) right bottom no-repeat}#postdivrich #content{resize:none}#wp-word-count{display:block;padding:2px 10px}#content-textarea-clone{z-index:-1;position:absolute;top:0;visibility:hidden;overflow:hidden;max-width:100%;border:1px solid transparent}.wp-editor-expand #wp-content-editor-tools{z-index:1000;border-bottom:1px solid #e5e5e5}.wp-editor-expand #wp-content-editor-container{-webkit-box-shadow:none;box-shadow:none;margin-top:-1px;border-bottom:0 none}.wp-editor-expand div.mce-statusbar{z-index:1}.wp-editor-expand #post-status-info{border-top:1px solid #e5e5e5}.wp-editor-expand div.mce-toolbar-grp{z-index:999}.mce-fullscreen #wp-content-wrap .mce-edit-area,.mce-fullscreen #wp-content-wrap .mce-menubar,.mce-fullscreen #wp-content-wrap .mce-statusbar,.mce-fullscreen #wp-content-wrap .mce-toolbar-grp{position:static!important;width:auto!important;padding:0!important}.mce-fullscreen #wp-content-wrap .mce-statusbar{visibility:visible!important}.mce-fullscreen #wp-content-wrap .mce-tinymce .mce-wp-dfw,.mce-fullscreen #wp-content-wrap .mce-wp-dfw,.post-php.mce-fullscreen #wpadminbar{display:none}#wp-content-editor-tools{background-color:#f1f1f1;padding-top:20px}#poststuff #post-body.columns-2 #side-sortables{width:280px}#timestampdiv select{height:21px;line-height:14px;padding:0;vertical-align:top;font-size:12px}#aa,#hh,#jj,#mn{padding:1px;font-size:12px}#hh,#jj,#mn{width:2em}#aa{width:3.4em}.curtime #timestamp{padding:2px 0 1px;display:inline!important;height:auto!important}#misc-publishing-actions label[for=post_status]:before,#post-body #visibility:before,#post-body .misc-pub-revisions:before,.curtime #timestamp:before,span.wp-media-buttons-icon:before{color:#82878c}#post-body #visibility:before,#post-body .misc-pub-revisions:before,.curtime #timestamp:before{font:400 20px/1 dashicons;speak:none;display:inline-block;padding:0 0 0 2px;top:0;right:-1px;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}#post-body #visibility:before{content:'\f177'}.curtime #timestamp:before{content:'\f145';top:-1px}#post-body .misc-pub-revisions:before{content:'\f321'}#timestampdiv{padding-top:5px;line-height:23px}#timestampdiv p{margin:8px 0 6px}#timestampdiv input{border-width:1px;border-style:solid}.notification-dialog{position:fixed;top:30%;max-height:70%;right:50%;width:450px;margin-right:-225px;background:#fff;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.3);box-shadow:0 3px 6px rgba(0,0,0,.3);line-height:1.5;z-index:1000005;overflow-y:auto}.notification-dialog-background{position:fixed;top:0;right:0;left:0;bottom:0;background:#000;opacity:.7;filter:alpha(opacity=70);z-index:1000000}#post-lock-dialog .post-locked-message,#post-lock-dialog .post-taken-over{margin:25px}#post-lock-dialog .post-locked-message a.button{margin-left:10px}#post-lock-dialog .post-locked-avatar{float:right;margin:0 0 20px 20px}#post-lock-dialog .wp-tab-first{outline:0}#post-lock-dialog .locked-saving img{float:right;margin-left:3px}#post-lock-dialog.saved .locked-saved,#post-lock-dialog.saving .locked-saving{display:inline}#excerpt{display:block;margin:12px 0 0;height:4em;width:100%}.tagchecklist{margin-right:14px;font-size:12px;overflow:auto}.tagchecklist br{display:none}.tagchecklist span,.tagchecklist span a{overflow:hidden;display:block;float:right}.tagchecklist strong{margin-right:-8px;position:absolute}.tagchecklist span{margin-left:25px;font-size:13px;line-height:1.8em;cursor:default;max-width:100%;text-overflow:ellipsis}.tagchecklist span a{margin:1px -17px 0 0;cursor:pointer;width:20px;height:20px;text-indent:0;position:absolute}#poststuff h2{margin-top:20px;font-size:1.5em;margin-bottom:15px;padding:0 0 3px;clear:right}#poststuff h3{font-size:14px;padding:8px 12px;margin:0;line-height:1.4}#poststuff .inside{margin:6px 0 0}#poststuff .inside #page_template,#poststuff .inside #parent_id{max-width:100%}#poststuff .inside label.deleted,#poststuff .inside label.spam{color:red}#poststuff .inside label.waiting{color:orange}#poststuff .inside label.approved{color:green}.ie8 #poststuff .inside #page_template,.ie8 #poststuff .inside #parent_id{width:250px}#post-visibility-select{line-height:1.5em;margin-top:3px}#poststuff #submitdiv .inside{margin:0;padding:0}#post-body-content,.edit-form-section{margin-bottom:20px}#postcustomstuff thead th{padding:5px 8px 8px;background-color:#f1f1f1}#postcustom #postcustomstuff .submit{border:0;float:none;padding:0 8px 8px}#side-sortables #postcustom #postcustomstuff .submit{margin:0;padding:0}#side-sortables #postcustom #postcustomstuff #the-list textarea{height:85px}#side-sortables #postcustom #postcustomstuff td.left input,#side-sortables #postcustom #postcustomstuff td.left select,#side-sortables #postcustomstuff #newmetaleft a{margin:3px 3px 0}#postcustomstuff table{margin:0;width:100%;border:1px solid #dfdfdf;border-spacing:0;background-color:#f9f9f9}#postcustomstuff tr{vertical-align:top}#postcustomstuff table input,#postcustomstuff table select,#postcustomstuff table textarea{width:96%;margin:8px}#side-sortables #postcustomstuff table input,#side-sortables #postcustomstuff table select,#side-sortables #postcustomstuff table textarea{margin:3px}#postcustomstuff td.left,#postcustomstuff th.left{width:38%}#postcustomstuff .submit input{margin:0;width:auto}#postcustomstuff #newmetaleft a{display:inline-block;margin:0 8px 8px;text-decoration:none}.no-js #postcustomstuff #enternew{display:none}#post-body-content .compat-attachment-fields{margin-bottom:20px}.compat-attachment-fields th{padding-top:5px;padding-left:10px}#select-featured-image{padding:4px 0;overflow:hidden}#select-featured-image img{max-width:100%;height:auto;margin-bottom:10px}#select-featured-image a{float:right;clear:both}#select-featured-image .remove{display:none;margin-top:10px}.js #select-featured-image.has-featured-image .remove{display:inline-block}.no-js #select-featured-image .choose{display:none}.post-state-format{overflow:hidden;display:inline-block;vertical-align:middle;height:20px;width:20px;margin-left:5px;margin-top:-4px}.post-state-format:before{display:block;height:20px;width:20px;font:400 20px/1 dashicons!important;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.post-format-icon:before,.post-state-format:before{color:#ddd;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}a.post-format-icon:hover:before,a.post-state-format:hover:before{color:#00a0d2}#post-formats-select{line-height:2em}#post-formats-select .post-format-icon:before{top:5px}input.post-format{margin-top:1px}label.post-format-icon{margin-right:0;padding:2px 0}.post-format-icon:before{position:relative;display:inline-block;margin-left:7px;font:400 20px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.post-format-icon.post-format-standard:before,.post-state-format.post-format-standard:before,a.post-state-format.format-standard:before{content:'\f109'}.post-format-icon.post-format-image:before,.post-state-format.post-format-image:before,a.post-state-format.format-image:before{content:'\f128'}.post-format-icon.post-format-gallery:before,.post-state-format.post-format-gallery:before,a.post-state-format.format-gallery:before{content:'\f161'}.post-format-icon.post-format-audio:before,.post-state-format.post-format-audio:before,a.post-state-format.format-audio:before{content:'\f127'}.post-format-icon.post-format-video:before,.post-state-format.post-format-video:before,a.post-state-format.format-video:before{content:'\f126'}.post-format-icon.post-format-chat:before,.post-state-format.post-format-chat:before,a.post-state-format.format-chat:before{content:'\f125'}.post-format-icon.post-format-status:before,.post-state-format.post-format-status:before,a.post-state-format.format-status:before{content:'\f130'}.post-format-icon.post-format-aside:before,.post-state-format.post-format-aside:before,a.post-state-format.format-aside:before{content:'\f123'}.post-format-icon.post-format-quote:before,.post-state-format.post-format-quote:before,a.post-state-format.format-quote:before{content:'\f122'}.post-format-icon.post-format-link:before,.post-state-format.post-format-link:before,a.post-state-format.format-link:before{content:'\f103'}.category-adder{margin-right:120px;padding:4px 0}.category-adder h4{margin:0 0 8px}#side-sortables .category-adder{margin:0}.categorydiv div.tabs-panel,.customlinkdiv div.tabs-panel,.posttypediv div.tabs-panel,.taxonomydiv div.tabs-panel,.wp-tab-panel{min-height:42px;max-height:200px;overflow:auto;padding:0 .9em;border:1px solid #dfdfdf;background-color:#fdfdfd}.ac_results,.revisions-diff,.revisions-meta,.revisions-tickmarks{background-color:#fff}div.tabs-panel-active{display:block}div.tabs-panel-inactive{display:none}#front-page-warning,#front-static-pages ul,.categorydiv ul.categorychecklist ul,.customlinkdiv ul.categorychecklist ul,.inline-editor ul.cat-checklist ul,.posttypediv ul.categorychecklist ul,.taxonomydiv ul.categorychecklist ul,ul.export-filters{margin-right:18px}ul.categorychecklist li{margin:0;padding:0;line-height:22px;word-wrap:break-word}.categorydiv .tabs-panel,.customlinkdiv .tabs-panel,.posttypediv .tabs-panel,.taxonomydiv .tabs-panel{border-width:3px;border-style:solid}.form-wrap label{display:block;padding:2px;font-size:12px}.form-field input[type=text],.form-field input[type=password],.form-field input[type=email],.form-field input[type=number],.form-field input[type=tel],.form-field input[type=url],.form-field input[type=search],.form-field textarea{border-style:solid;border-width:1px;width:95%}.form-wrap p,p.description{margin:2px 0 5px;color:#666}.form-wrap p,p.description,p.help,span.description{font-size:13px;font-style:italic}.form-wrap .form-field{margin:0 0 10px;padding:8px 0}.form-wrap .form-field #parent{max-width:100%}.col-wrap h3{margin:12px 0;font-size:1.1em}.col-wrap p.submit{margin-top:-10px}#poststuff .tagsdiv .howto{margin:0 0 6px}.ajaxtag .newtag{position:relative}.tagsdiv .newtag{width:180px}.tagsdiv .the-tags{display:block;height:60px;margin:0 auto;overflow:auto;width:260px}#qt_content_dfw,#wp-content-wrap .mce-wp-dfw,.ac_results{display:none}#post-body-content .tagsdiv .the-tags{margin:0 5px}p.popular-tags{border:none;line-height:2em;padding:8px 12px 12px;text-align:justify}p.popular-tags a{padding:0 3px}.tagcloud{width:97%;margin:0 0 40px;text-align:justify}.tagcloud h3{margin:2px 0 12px}.ac_results{padding:0;margin:0;list-style:none;position:absolute;z-index:10000;border:1px solid grey}.wp-customizer .ac_results{z-index:500000}.ac_results li{padding:2px 5px;white-space:nowrap;color:#101010;text-align:right}.ac_over{background-color:#f0f0b8;cursor:pointer}.ac_match{text-decoration:underline}.imgedit-group-top h3 a,a.imgedit-help-toggle,table.diff .diff-addedline ins,table.diff .diff-deletedline del{text-decoration:none}.comment-php .wp-editor-area{height:200px}.comment-ays td,.comment-ays th{padding:10px 15px}#comment-status-radio label,.links-table td,.links-table th{padding:5px 0}.comment-ays-submit .button-cancel{margin-right:1em}.spam-undo-inside,.trash-undo-inside{margin:1px 0 1px 8px;line-height:16px}.spam-undo-inside .avatar,.trash-undo-inside .avatar{height:20px;width:20px;margin-left:8px;vertical-align:middle}.stuffbox .editcomment{clear:none}#comment-status-radio p{margin:3px 0 5px}#comment-status-radio input{margin:2px 0 5px 3px;vertical-align:middle}table.links-table{width:100%;border-spacing:0}.links-table th{font-weight:400;text-align:right;vertical-align:top;min-width:80px;width:20%;word-wrap:break-word}.links-table td label{margin-left:8px}.links-table td input[type=text],.links-table td textarea{width:100%}.links-table #link_rel{max-width:280px}.wp-editor-expand #qt_content_dfw,.wp-editor-expand #wp-content-wrap .mce-wp-dfw{display:inline-block}.focus-on #screen-meta,.focus-on #screen-meta-links,.focus-on #wp-toolbar,.focus-on #wpfooter,.focus-on .postbox-container>*,.focus-on .update-nag,.focus-on .wrap>h1,.focus-on div.error,.focus-on div.notice,.focus-on div.updated{opacity:0;-webkit-transition-duration:.6s;transition-duration:.6s;-webkit-transition-property:opacity;transition-property:opacity;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}.focus-on #wp-toolbar{opacity:.3}.focus-off #screen-meta,.focus-off #screen-meta-links,.focus-off #wp-toolbar,.focus-off #wpfooter,.focus-off .postbox-container>*,.focus-off .update-nag,.focus-off .wrap>h1,.focus-off div.error,.focus-off div.notice,.focus-off div.updated{opacity:1;-webkit-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:opacity;transition-property:opacity;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}.focus-off #wp-toolbar{-webkit-transform:translate(0,0)}.focus-on #adminmenuback,.focus-on #adminmenuwrap{-webkit-transition-duration:.6s;transition-duration:.6s;-webkit-transition-property:-webkit-transform;transition-property:transform;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transform:translateX(100%);-ms-transform:translateX(100%);transform:translateX(100%)}.focus-off #adminmenuback,.focus-off #adminmenuwrap{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);-webkit-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:-webkit-transform;transition-property:transform;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){#content-resize-handle,#post-body .wp_themeSkin .mceStatusbar a.mceResize{background:url(../images/resize-2x.gif) left bottom no-repeat;-webkit-background-size:11px 11px;background-size:11px 11px}.rtl #content-resize-handle,.rtl #post-body .wp_themeSkin .mceStatusbar a.mceResize{background:url(../images/resize-rtl-2x.gif) left bottom no-repeat}}@media only screen and (max-width:850px){#poststuff{min-width:0}#wpbody-content #poststuff #post-body{margin:0}#wpbody-content #post-body.columns-2 #postbox-container-1{margin-left:0;width:100%}#poststuff #postbox-container-1 #side-sortables:empty,#poststuff #postbox-container-1 .empty-container{border:0;height:0;min-height:0}#poststuff #post-body.columns-2 #side-sortables{min-height:0;width:auto}.columns-prefs,.screen-layout{display:none}}@media screen and (max-width:782px){#post-body-content{min-width:0}#titlediv #title-prompt-text{padding:10px}#poststuff h3{padding:12px}.post-format-options{padding-left:0}.post-format-options a{margin-left:5px;margin-bottom:5px;min-width:52px}.post-format-options .post-format-title{font-size:11px}.post-format-options a div{height:28px;width:28px}.post-format-options a div:before{font-size:26px!important}#post-visibility-select{line-height:280%}.wp-core-ui .save-post-visibility,.wp-core-ui .save-timestamp{vertical-align:middle;margin-left:15px}.timestamp-wrap select#mm{display:block;width:100%;margin-bottom:10px}.timestamp-wrap #aa,.timestamp-wrap #hh,.timestamp-wrap #jj,.timestamp-wrap #mn{padding:12px 3px;font-size:14px;margin-bottom:5px;width:auto;text-align:center}ul.category-tabs{margin:30px 0 15px}.tagsdiv .newtag,ul.categorychecklist li{margin-bottom:15px}ul.category-tabs li.tabs{padding:15px}ul.categorychecklist ul{margin-top:15px}.category-add input[type=text],.category-add select{max-width:none;margin-bottom:15px}.tagsdiv .newtag{width:100%;height:auto}.tagchecklist{margin:25px 10px}.tagchecklist span{font-size:16px;line-height:1.4}#commentstatusdiv p{line-height:2.8}.mceToolbar *{white-space:normal!important}.mceToolbar td,.mceToolbar tr{float:right!important}.wp_themeSkin a.mceButton{width:30px;height:30px}.wp_themeSkin .mceButton .mceIcon{margin-top:5px;margin-right:5px}.wp_themeSkin .mceSplitButton{margin-top:1px}.wp_themeSkin .mceSplitButton td a.mceAction{padding:6px 6px 6px 3px}.wp_themeSkin .mceSplitButton td a.mceOpen,.wp_themeSkin .mceSplitButtonEnabled:hover td a.mceOpen{padding-top:6px;padding-bottom:6px;background-position:1px 6px}.wp_themeSkin table.mceListBox{margin:5px}div.quicktags-toolbar input{padding:10px 20px}button.wp-switch-editor{font-size:16px;line-height:1em;margin:7px 7px 0 0;padding:8px 12px}#wp-content-media-buttons a{font-size:16px;line-height:37px;height:39px;padding:0 15px 0 20px}.wp-media-buttons span.jetpack-contact-form-icon,.wp-media-buttons span.wp-media-buttons-icon{width:22px!important;margin-top:-3px!important;margin-right:-5px!important}.wp-media-buttons #insert-jetpack-contact-form span.jetpack-contact-form-icon:before,.wp-media-buttons .add_media span.wp-media-buttons-icon:before{font-size:20px!important}#content_wp_fullscreen{display:none}.misc-pub-section{padding:20px 10px}.misc-pub-section>a{float:left;font-size:16px}#delete-action,#publishing-action{line-height:47px}#publishing-action .spinner{float:none;margin-top:-2px}.comment-ays td,.comment-ays th{padding-bottom:0}.comment-ays td{padding-top:6px}.links-table #link_rel{max-width:none}.links-table td,.links-table th{padding:10px 0}}@media only screen and (max-width:500px){#wp-content-media-buttons a{font-size:14px;padding:0 10px}}.revisions-control-frame,.revisions-diff-frame{position:relative}.revisions-controls{padding-top:40px;height:100px;z-index:1}.revisions-controls input[type=checkbox]{position:relative;top:-1px;vertical-align:text-bottom}.revisions.pinned .revisions-controls{position:fixed;top:0;height:82px;background:#fff;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.1);box-shadow:0 1px 3px rgba(0,0,0,.1)}.revisions-tickmarks{position:relative;margin:0 auto;height:.7em;top:7px;max-width:70%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.revisions-tickmarks>div{position:absolute;height:100%;border-right:1px solid #a0a5aa;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.revisions-tickmarks>div:first-child{border-width:0}.comparing-two-revisions .revisions-controls{height:140px}.comparing-two-revisions.pinned .revisions-controls{height:124px}.revisions .diff-error{position:absolute;text-align:center;margin:0 auto;width:100%;display:none}.revisions.diff-error .diff-error{display:block}.revisions .loading-indicator{position:absolute;vertical-align:middle;opacity:0;width:100%;width:-webkit-calc(100% - 30px);width:calc(100% - 30px);top:50%;top:-webkit-calc(50% - 10px);top:calc(50% - 10px);-webkit-transition:opacity .5s;transition:opacity .5s;filter:alpha(opacity=0)}body.folded .revisions .loading-indicator{margin-right:-32px}.revisions .loading-indicator span.spinner{display:block;margin:0 auto;float:none}.revisions.loading .loading-indicator{opacity:1;filter:alpha(opacity=100)}.revisions .diff{-webkit-transition:opacity .5s;transition:opacity .5s}.revisions.loading .diff{opacity:.5;filter:alpha(opacity=50)}.revisions.diff-error .diff{visibility:hidden}.revisions-meta{margin-top:20px;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.1);box-shadow:0 1px 3px rgba(0,0,0,.1)}.revisions.pinned .revisions-meta{-webkit-box-shadow:none;box-shadow:none}.revision-toggle-compare-mode{position:absolute;top:0;left:0}.comparing-two-revisions .revisions-next,.comparing-two-revisions .revisions-previous,.revisions-meta .diff-meta-to strong{display:none}.revisions-controls .author-card .date{color:#777}.revisions-controls .author-card.autosave{color:#d54e21}.revisions-controls .author-card .author-name{font-weight:700}.comparing-two-revisions .diff-meta-to strong{display:block}.revisions.pinned .revisions-buttons{padding:0 11px}.revisions-next,.revisions-previous{position:relative;z-index:1}.revisions-previous{float:right}.revisions-next{float:left}.revisions-controls .wp-slider{max-width:70%;margin:0 auto;top:-3px}.revisions-diff{padding:15px;box-shadow:0 1px 3px rgba(0,0,0,.1)}.arrow:after,.revisions-diff{-webkit-box-shadow:0 1px 3px rgba(0,0,0,.1)}.revisions-diff h3:first-child{margin-top:0}#revisions-meta-restored img,.post-revisions li img{vertical-align:middle}table.diff tbody tr td:nth-child(2){width:4%}table.diff{table-layout:fixed;width:100%;white-space:pre-wrap}.about-wrap h2 .nav-tab,.about-wrap p.wp-credits-list a,.imgedit-wrap .nowrap,.nav-menus-php .item-edit,.sidebar-name h3,.widget-title h4{white-space:nowrap}table.diff col.content{width:auto}table.diff col.content.diffsplit{width:48%}table.diff col.diffsplit.middle{width:auto}table.diff col.ltype{width:30px}table.diff tr{background-color:transparent}table.diff td,table.diff th{font-family:Consolas,Monaco,monospace;font-size:14px;line-height:1.618;padding:.5em;vertical-align:top;word-wrap:break-word}table.diff td h1,table.diff td h2,table.diff td h3,table.diff td h4,table.diff td h5,table.diff td h6{margin:0}table.diff .diff-deletedline{background-color:#ffe9e9}table.diff .diff-deletedline del{background-color:#faa}table.diff .diff-addedline{background-color:#e9ffe9}table.diff .diff-addedline ins{background-color:#afa}.diff-meta{padding:5px;clear:both;min-height:32px}.diff-title strong{line-height:32px;min-width:60px;text-align:left;float:right;margin-left:5px}.revisions-controls .author-card .author-info{font-size:12px;line-height:16px}.revisions-controls .author-card .author-info,.revisions-controls .author-card .avatar{float:right;margin-right:6px;margin-left:6px}.revisions-controls .author-card .byline{display:block;font-size:12px}.revisions-controls .author-card .avatar{vertical-align:middle}.diff-meta input.restore-revision{float:left;margin-right:6px;margin-left:6px;margin-top:4px}.diff-meta-from{display:none}.comparing-two-revisions .diff-meta-from{display:block}.revisions-tooltip{position:absolute;bottom:105px;margin-left:0;margin-right:-69px;z-index:0;max-width:350px;min-width:130px;padding:8px 4px;opacity:0}.revisions-tooltip.flipped{margin-right:0;margin-left:-70px}.revisions.pinned .revisions-tooltip{display:none!important}.comparing-two-revisions .revisions-tooltip{bottom:145px}.revisions-tooltip-arrow{width:70px;height:15px;overflow:hidden;position:absolute;right:0;margin-right:35px;bottom:-15px}.revisions-tooltip.flipped .revisions-tooltip-arrow{margin-right:0;margin-left:35px;right:auto;left:0}.revisions-tooltip-arrow>span{right:20px;top:-20px;width:25px;height:25px;transform:rotate(-45deg)}.arrow:after,.revisions-tooltip-arrow>span{content:"";position:absolute;-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg)}.revisions-tooltip.flipped .revisions-tooltip-arrow>span{right:auto;left:20px}.ie8 .revisions-tooltip-arrow>span{right:15px;top:-25px;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(SizingMethod='auto expand', M11=0.7071067811865476, M12=-0.7071067811865475, M21=0.7071067811865475, M22=0.7071067811865476)"}.ie8 .revisions-tooltip.flipped .revisions-tooltip-arrow>span{left:25px}.revisions-tooltip,.revisions-tooltip-arrow>span{border:1px solid #d7d7d7;background-color:#fff}.revisions-tooltip{display:none}.arrow{width:70px;height:16px;overflow:hidden;position:absolute;right:0;margin-right:-35px;bottom:90px;z-index:10000}.arrow.top{top:-16px;bottom:auto}.arrow.left{right:20%}.arrow:after{z-index:9999;background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.1);right:20px;top:-20px;width:25px;height:25px;transform:rotate(-45deg)}.revisions-tooltip,.revisions-tooltip-arrow:after{border-width:1px;border-style:solid}div.revisions-controls>.wp-slider>.ui-slider-handle{margin-right:-10px}.rtl div.revisions-controls>.wp-slider>.ui-slider-handle{margin-left:-10px}.wp-slider.ui-slider{position:relative;border:1px solid #d7d7d7;text-align:right;cursor:pointer}.wp-slider .ui-slider-handle{-webkit-border-radius:50%;border-radius:50%;height:18px;margin-top:-3px;outline:0;position:absolute;width:18px;z-index:2;-ms-touch-action:none;touch-action:none}.wp-slider .ui-slider-handle,.wp-slider .ui-slider-handle.focus,.wp-slider .ui-slider-handle.ui-state-hover{background:#00a0d2;border:1px solid #0073aa;-webkit-box-shadow:inset 0 1px 0 #78c8e6,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #78c8e6,0 1px 0 rgba(0,0,0,.15)}.wp-slider .ui-slider-handle:before{background:0 0;position:absolute;top:0;right:0;color:#fff;content:"\f229";font:400 18px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.media-item .media-item-info tr,.wp-slider .ui-slider-range{background-color:transparent}.wp-slider .ui-slider-handle.from-handle:before,.wp-slider .ui-slider-handle.to-handle:before{font-size:20px!important;margin:-1px -1px 0 0}.wp-slider .ui-slider-handle.from-handle:before{content:'\f139'}.rtl .wp-slider .ui-slider-handle.from-handle:before,.wp-slider .ui-slider-handle.to-handle:before{content:'\f141'}.rtl .wp-slider .ui-slider-handle.to-handle:before{content:'\f139';left:-1px}.wp-slider .ui-slider-range{position:absolute;font-size:.7em;display:block;border:0;background-image:none}.wp-slider.ui-slider-horizontal{height:.7em}.wp-slider.ui-slider-horizontal .ui-slider-handle{top:-.25em;margin-right:-.6em}.wp-slider.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.wp-slider.ui-slider-horizontal .ui-slider-range-min{right:0}.wp-slider.ui-slider-horizontal .ui-slider-range-max{left:0}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.revision-tick.completed-false{background-image:url(../images/spinner-2x.gif)}}@media screen and (max-width:782px){#diff-next-revision,#diff-previous-revision{margin-top:-1em}table.diff{-ms-word-break:break-all;word-break:break-all;word-wrap:break-word}}.media-item .describe{width:100%;border-top:1px solid #dfdfdf;clear:both;cursor:default}#media-items:empty,.media-item.media-blank .describe{border:0}.media-item .describe th{vertical-align:top;text-align:right;padding:5px 10px 10px;width:140px}.media-item .describe .align th{padding-top:0}.media-item .describe td{padding:0 0 8px 8px;vertical-align:top}.media-item thead.media-item-info td{padding:4px 10px 0}.media-item .media-item-info .A1B1{padding:0 10px 0 0}.media-item td.savesend{padding-bottom:15px}.media-item .thumbnail{max-height:128px;max-width:128px}#wpbody-content #async-upload-wrap a{display:none}.media-upload-form{margin-top:20px}.media-upload-form td label{margin-left:6px;margin-right:2px}.media-upload-form .align .field label{display:inline;padding:0 23px 0 0;margin:0 3px 0 1em;font-weight:600}.media-upload-form tr.image-size label{margin:0 5px 0 0;font-weight:600}.media-upload-form th.label label{font-weight:600;margin:.5em;font-size:13px}.media-upload-form th.label label span{padding:0 5px}.media-item .describe input[type=text],.media-item .describe textarea{width:460px}.media-item .describe p.help{margin:0;padding:0 5px 0 0}.describe-toggle-off,.describe-toggle-on,.media-item .edit-attachment{display:block;line-height:36px;float:left;margin-left:10px}.media-item .describe-toggle-off,.media-item.open .describe-toggle-on{display:none}.media-item.open .describe-toggle-off{display:block}.js .html-uploader #plupload-upload-ui,.media-item .startclosed,.media-item .startopen{display:none}.media-upload-form .media-item{min-height:36px;margin-bottom:1px;position:relative;width:100%;background:#fff}.media-upload-form .media-item,.media-upload-form .media-item .error{-webkit-box-shadow:0 1px 0 #dfdfdf;box-shadow:0 1px 0 #dfdfdf}.media-item .filename{line-height:36px;overflow:hidden;margin-right:6px}.media-item .pinkynail{float:right;margin:2px 3px 0 10px;max-width:40px;max-height:32px}.media-item .original{position:relative;height:34px}.media-item .progress{float:left;height:22px;margin:7px 6px;width:200px;line-height:2em;padding:0;overflow:hidden;-webkit-border-radius:22px;border-radius:22px;background:#ddd;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.media-item .bar{z-index:9;width:0;height:100%;margin-top:-22px;-webkit-border-radius:22px;border-radius:22px;background-color:#0073aa;-webkit-box-shadow:inset 0 0 2px rgba(0,0,0,.3);box-shadow:inset 0 0 2px rgba(0,0,0,.3)}.media-item .progress .percent{z-index:10;position:relative;width:200px;padding:0;color:#fff;text-align:center;line-height:22px;font-weight:400;text-shadow:0 1px 2px rgba(0,0,0,.2)}.upload-php .fixed .column-parent{width:15%}.js .html-uploader #html-upload-ui{display:block}.media-upload-form .media-item .error,.media-upload-form .media-item.error{width:auto;margin:0 0 1px}.media-upload-form .media-item .error{padding:10px 14px 10px 0}.media-item .error-div a.dismiss{display:block;float:left;margin:0 15px 0 10px}.find-box{background-color:#fff;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.3);box-shadow:0 3px 6px rgba(0,0,0,.3);width:600px;overflow:hidden;margin-right:-300px;position:fixed;top:30px;bottom:30px;right:50%;z-index:100105}.find-box-head{background:#fcfcfc;border-bottom:1px solid #dfdfdf;height:36px;font-size:18px;font-weight:600;line-height:36px;padding:0 16px 0 36px;position:absolute;top:0;right:0;left:0}.find-box-inside{overflow:auto;padding:16px;background-color:#fff;position:absolute;top:37px;bottom:45px;overflow-y:scroll;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.find-box-search{padding-bottom:16px}.find-box-search .spinner{float:none;right:105px;position:absolute}#find-posts-response,.find-box-search{position:relative}#find-posts-input,#find-posts-search{float:right}#find-posts-input{width:140px;height:28px;margin:0 0 0 4px}.widefat .found-radio{padding-left:0;width:16px}#find-posts-close{width:36px;height:36px;position:absolute;top:0;left:0;cursor:pointer;text-align:center;color:#666}#find-posts-close:hover{color:#00a0d2}#find-posts-close:before{font:400 20px/36px dashicons;vertical-align:top;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:'\f158'}.find-box-buttons{padding:8px 16px;background:#fcfcfc;border-top:1px solid #dfdfdf;position:absolute;bottom:0;right:0;left:0}@media screen and (max-width:782px){.find-box-inside{bottom:57px}}@media screen and (max-width:660px){.find-box{top:0;bottom:0;right:0;left:0;margin:0;width:100%}}.ui-find-overlay{position:fixed;top:0;right:0;left:0;bottom:0;background:#000;opacity:.7;filter:alpha(opacity=70);z-index:100100}ul#dismissed-updates{display:none}form.upgrade{margin-top:8px}form.upgrade .hint{font-style:italic;font-size:85%;margin:-.5em 0 2em}#poststuff .inside .the-tagcloud{margin:5px 0 10px;padding:8px;border:1px solid #ddd;line-height:1.8em;word-spacing:3px;-webkit-border-radius:6px;border-radius:6px}.drag-drop #drag-drop-area{border:4px dashed #b4b9be;height:200px}.drag-drop .drag-drop-inside{margin:70px auto 0;width:250px}.drag-drop-inside p{color:#a0a5aa;font-size:14px;margin:5px 0;display:none}.drag-drop .drag-drop-inside p{text-align:center}.drag-drop-inside p.drag-drop-info{font-size:20px}.drag-drop .drag-drop-inside p,.drag-drop-inside p.drag-drop-buttons{display:block}.media-frame.mode-grid .media-frame-menu,.media-frame.mode-grid .media-frame-router,.media-frame.mode-grid .media-frame-title,.upload-php .mode-grid .hide-sidebar .media-sidebar{display:none}.drag-drop.drag-over #drag-drop-area{border-color:#83b4d8}#plupload-upload-ui{position:relative}.media-frame.mode-grid,.media-frame.mode-grid .attachments-browser .attachments,.media-frame.mode-grid .media-frame-content,.media-frame.mode-grid .uploader-inline-content{position:static}.media-frame.mode-grid .media-frame-content{background-color:transparent;border:none}.upload-php .mode-grid .media-sidebar{position:relative;width:auto;margin-bottom:16px;padding:0 16px;border-right:4px solid #dd3d36;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1);background-color:#fff}.upload-php .mode-grid .media-sidebar .media-uploader-status{border-bottom:none;padding-bottom:0;max-width:100%}.upload-php .mode-grid .media-sidebar .upload-error{margin:12px 0;padding:4px 0 0;border:none;-webkit-box-shadow:none;box-shadow:none;background:0 0}.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors{top:-10px;left:-14px;padding:10px}.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:before{content:"\f153";display:block;font:400 16px/1 dashicons;color:#bbb}.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:focus:before,.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:hover:before{color:#c00}.upload-php .mode-grid .media-sidebar .media-uploader-status.errors h3{display:none}.media-frame.mode-grid .uploader-inline{position:relative;top:auto;left:auto;right:auto;bottom:auto;padding-top:0;margin-top:0;border:4px dashed #b4b9be}.media-frame.mode-select .attachments-browser.fixed .attachments{position:relative;top:94px;padding-bottom:94px}.media-frame.mode-grid .attachment.details:focus,.media-frame.mode-grid .attachment:focus,.media-frame.mode-grid .selected.attachment:focus{-webkit-box-shadow:inset 0 0 2px 3px #f1f1f1,inset 0 0 0 7px #5b9dd9;box-shadow:inset 0 0 2px 3px #f1f1f1,inset 0 0 0 7px #5b9dd9;outline:0}.media-frame.mode-grid .selected.attachment{-webkit-box-shadow:inset 0 0 0 5px #f1f1f1,inset 0 0 0 7px #ccc;box-shadow:inset 0 0 0 5px #f1f1f1,inset 0 0 0 7px #ccc}.media-frame.mode-grid .attachment.details{-webkit-box-shadow:inset 0 0 0 3px #f1f1f1,inset 0 0 0 7px #1e8cbe;box-shadow:inset 0 0 0 3px #f1f1f1,inset 0 0 0 7px #1e8cbe}.media-frame.mode-grid.mode-select .attachment .thumbnail{opacity:.65}.media-frame.mode-select .attachment.selected .thumbnail{opacity:1}.media-frame.mode-grid .media-toolbar{margin-bottom:15px;height:auto}.media-frame.mode-grid .media-toolbar select{margin:0 0 0 10px;font-size:14px}.media-frame.mode-grid.mode-edit .media-toolbar-secondary>.select-mode-toggle-button{margin:0 0 0 8px;vertical-align:middle}.media-frame.mode-grid .attachments-browser .bulk-select{display:inline-block;margin:0 0 0 10px}.media-frame.mode-grid .search{margin-top:0}.media-frame.mode-grid .spinner{margin-top:16px}.attachments-browser .media-toolbar-secondary>.media-button{margin-left:10px}.media-frame.mode-select .attachments-browser.fixed .media-toolbar{position:fixed;top:32px;right:auto;left:20px;margin-top:0}.media-frame.mode-grid .attachments-browser{padding:0}.media-frame.mode-grid .attachments-browser .attachments{padding:2px}.media-frame.mode-grid .attachments-browser .no-media{color:#999;font-size:18px;font-style:normal;margin:0;padding:100px 0 0;text-align:center}.edit-attachment-frame{display:block;height:100%;width:100%}.edit-attachment-frame .edit-media-header{overflow:hidden}.upload-php .media-modal-close .media-modal-icon:before{content:'\f335';font-size:22px}.edit-attachment-frame .edit-media-header .left,.edit-attachment-frame .edit-media-header .right,.upload-php .media-modal-close{cursor:pointer;color:#777;background-color:transparent;height:50px;width:50px;padding:0;position:absolute;text-align:center;border:0;border-right:1px solid #ddd;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out}.upload-php .media-modal-close{top:0;left:0}.edit-attachment-frame .edit-media-header .left{left:102px}.edit-attachment-frame .edit-media-header .right{left:51px}.edit-attachment-frame .media-frame-title{right:0;left:150px}.edit-attachment-frame .edit-media-header .left:before,.edit-attachment-frame .edit-media-header .right:before{font:400 20px/50px dashicons!important;display:inline;font-weight:300}.edit-attachment-frame .edit-media-header .left:focus,.edit-attachment-frame .edit-media-header .left:hover,.edit-attachment-frame .edit-media-header .right:focus,.edit-attachment-frame .edit-media-header .right:hover,.upload-php .media-modal-close:focus,.upload-php .media-modal-close:hover{background:#ddd;border-color:#ccc;color:#000;outline:0;-webkit-box-shadow:none;box-shadow:none}.upload-php .media-modal-close:focus .media-modal-icon:before,.upload-php .media-modal-close:hover .media-modal-icon:before{color:#000}.edit-attachment-frame .edit-media-header .left:before,.rtl .edit-attachment-frame .edit-media-header .right:before{content:'\f341'}.edit-attachment-frame .edit-media-header .right:before,.rtl .edit-attachment-frame .edit-media-header .left:before{content:'\f345'}.edit-attachment-frame .edit-media-header .left.disabled,.edit-attachment-frame .edit-media-header .left.disabled:hover,.edit-attachment-frame .edit-media-header .right.disabled,.edit-attachment-frame .edit-media-header .right.disabled:hover{color:#ccc;background:inherit;cursor:default;pointer-events:none}.edit-attachment-frame .media-frame-content,.edit-attachment-frame .media-frame-router{right:0}.edit-attachment-frame .media-frame-content{border-bottom:none;bottom:0;top:50px}.edit-attachment-frame .attachment-details{position:absolute;overflow:auto;top:0;bottom:0;left:0;right:0;-webkit-box-shadow:inset 0 4px 4px -4px rgba(0,0,0,.1);box-shadow:inset 0 4px 4px -4px rgba(0,0,0,.1)}.edit-attachment-frame .attachment-media-view{float:right;width:65%;height:100%}.edit-attachment-frame .attachment-media-view .thumbnail{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:16px;height:100%}.edit-attachment-frame .attachment-media-view .details-image{display:block;margin-bottom:16px;max-width:100%;max-height:90%;max-height:-webkit-calc(100% - 42px);max-height:calc(100% - 42px)}.edit-attachment-frame .wp-media-wrapper{margin-bottom:12px}.edit-attachment-frame input,.edit-attachment-frame textarea{padding:6px 8px;line-height:16px}.edit-attachment-frame .attachment-info{overflow:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin-bottom:0;padding:12px 16px 0;width:35%;height:100%;-webkit-box-shadow:inset 0 4px 4px -4px rgba(0,0,0,.1);box-shadow:inset 0 4px 4px -4px rgba(0,0,0,.1);border-bottom:0;border-right:1px solid #ddd;background:#f3f3f3}.edit-attachment-frame .attachment-info .details,.edit-attachment-frame .attachment-info .settings{position:relative;overflow:hidden;float:none;margin-bottom:15px;padding-bottom:15px;border-bottom:1px solid #ddd}.edit-attachment-frame .attachment-info .filename{font-weight:400;color:#666}.edit-attachment-frame .attachment-info .thumbnail{margin-bottom:12px}.attachment-info .actions{margin-bottom:16px}.attachment-info .actions a{display:inline;text-decoration:none}.wp_attachment_details label[for=content]{font-size:13px;line-height:1.5;margin:1em 0}.wp_attachment_details #attachment_caption{height:4em}.describe .image-editor{vertical-align:top}.imgedit-wrap{position:relative}.imgedit-settings p{margin:8px 0 0}.describe .imgedit-wrap .imgedit-settings{padding:0 5px}.wp_attachment_holder div.updated{margin-top:0}.wp_attachment_holder .imgedit-wrap>div{height:auto;overflow:hidden}.wp_attachment_holder .imgedit-wrap .imgedit-panel-content{padding-left:16px;width:auto;overflow:hidden}.wp_attachment_holder .imgedit-wrap .imgedit-settings{float:left;width:250px}.imgedit-settings input{margin-top:0;vertical-align:middle}.imgedit-wait{position:absolute;top:0;background:url(../images/spinner.gif) center no-repeat #fff;-webkit-background-size:20px 20px;background-size:20px 20px;opacity:.7;filter:alpha(opacity=70);width:100%;height:500px;display:none}.no-float{float:none}.A1B1 .button,.A1B1 .spinner,.wp_attachment_image .button,.wp_attachment_image .spinner{float:right}.imgedit-settings .disabled,.media-disabled{color:grey}.A1B1,.wp_attachment_image{overflow:hidden}.no-js .wp_attachment_image .button{display:none}.imgedit-menu{margin:0 0 12px;min-width:300px}.imgedit-menu div{float:right;width:32px;border:1px solid #d5d5d5;background:#f1f1f1;margin:0 0 0 8px;height:32px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;line-height:28px;color:#777;cursor:pointer}.imgedit-menu div:before{font:400 20px/1 dashicons;speak:none;vertical-align:middle}.imgedit-menu div:hover{border-color:#c1c1c1;background-color:#eaeaea;color:#32373c}.imgedit-menu div.disabled{border-color:#ccc;background-color:#ddd;color:#777;filter:alpha(opacity=50);opacity:.5;cursor:default}.imgedit-crop:before{content:'\f165'}.imgedit-rleft:before{content:'\f166'}.imgedit-rright:before{content:'\f167'}.imgedit-flipv:before{content:'\f168'}.imgedit-fliph:before{content:'\f169'}.imgedit-undo:before{content:'\f171'}.imgedit-redo:before{content:'\f172'}.imgedit-crop-wrap{position:relative}.imgedit-crop{margin:0 0 0 8px}.imgedit-rleft{margin:0 3px}.imgedit-rright{margin:0 3px 0 8px}.imgedit-flipv{margin:0 3px}.imgedit-fliph{margin:0 3px 0 8px}.imgedit-undo{margin:0 3px}.imgedit-redo{margin:0 3px 0 8px}.imgedit-applyto img{margin:0 0 0 8px}#poststuff .imgedit-group-top h3{padding:0}.imgedit-applyto .imgedit-label{padding:2px 0 0;display:block}.imgedit-help{display:none;font-style:italic}.form-table td.imgedit-response{padding:0}.imgedit-submit{margin:8px 0 0}.imgedit-submit-btn{margin-right:20px}span.imgedit-scale-warn{color:red;font-size:20px;font-style:normal;visibility:hidden;vertical-align:middle}.imgedit-group{margin-bottom:8px;padding:10px}audio,video{display:inline-block;max-width:100%}.mejs-container{width:100%;max-width:100%}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.imgedit-wait{background-image:url(../images/spinner-2x.gif)}}@media screen and (max-width:782px){.wp_attachment_details label[for=content]{font-size:14px;line-height:1.5em}.media-upload-form .media-item .error,.media-upload-form .media-item.error{font-size:13px;line-height:1.5}.media-upload-form .media-item.error{padding:1px 10px}.media-upload-form .media-item .error{padding:10px 12px 10px 0}}@media only screen and (max-width:1120px){#wp-media-grid .wp-filter .attachment-filters{max-width:100%}}@media only screen and (max-width:782px){.media-frame.mode-select .attachments-browser.fixed .media-toolbar{top:46px;left:10px}}@media only screen and (max-width:600px){.media-frame.mode-select .attachments-browser.fixed .media-toolbar{top:0}}@media only screen and (max-width:480px){.edit-attachment-frame .media-frame-title{left:110px}.edit-attachment-frame .edit-media-header .left,.edit-attachment-frame .edit-media-header .right,.upload-php .media-modal-close{width:40px;height:40px}.upload-php .media-modal-close .media-modal-icon{margin:9px 10px}.edit-attachment-frame .edit-media-header .left:before,.edit-attachment-frame .edit-media-header .right:before{line-height:40px!important}.edit-attachment-frame .edit-media-header .left{left:82px}.edit-attachment-frame .edit-media-header .right{left:41px}.edit-attachment-frame .media-frame-content{top:40px}.edit-attachment-frame .attachment-media-view{float:none;height:auto;width:100%}.edit-attachment-frame .attachment-info{height:auto;width:100%}}@media only screen and (max-width:640px),screen and (max-height:400px){.upload-php .mode-grid .media-sidebar{max-width:100%}}.theme-browser .themes{clear:both;padding:0 0 100px}.themes-php .wrap h1{float:right;margin-bottom:15px}.network-admin.themes-php .wrap h1{margin-bottom:0}.themes-php .wrap h1 .button{margin-right:20px}.themes-php .wp-filter-search{position:relative;top:-2px;right:20px;margin:0;width:280px;font-size:16px;font-weight:300;line-height:1.5}.themes-php div.error,.themes-php div.notice,.themes-php div.updated{margin:0 0 20px;clear:both}.themes-php div.updated a{text-decoration:underline}.theme-browser .theme{cursor:pointer;float:right;margin:0 0 4% 4%;position:relative;width:30.6%;border:1px solid #dedede;-webkit-box-shadow:0 1px 1px -1px rgba(0,0,0,.1);box-shadow:0 1px 1px -1px rgba(0,0,0,.1);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ie8 .theme-browser .theme{width:30%;margin:0 0 4% 3%}.theme-browser .theme:nth-child(3n){margin-left:0}.theme-browser .theme:focus,.theme-browser .theme:hover{cursor:pointer}.theme-browser .theme .theme-name{font-size:15px;font-weight:600;height:18px;margin:0;padding:15px;-webkit-box-shadow:inset 0 1px 0 rgba(0,0,0,.1);box-shadow:inset 0 1px 0 rgba(0,0,0,.1);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;background:#fff;background:rgba(255,255,255,.65)}.theme-browser .theme .theme-actions{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";opacity:0;-webkit-transition:opacity .1s ease-in-out;transition:opacity .1s ease-in-out;position:absolute;bottom:0;left:0;height:38px;padding:9px 10px 0;background:rgba(244,244,244,.7);border-right:1px solid rgba(0,0,0,.05)}.theme-browser .theme.focus .theme-actions,.theme-browser .theme:focus .theme-actions,.theme-browser .theme:hover .theme-actions{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";opacity:1}.theme-browser .theme .theme-actions .button-primary{margin-left:3px}.theme-browser .theme .theme-actions .button-secondary{float:none;margin-right:3px}.theme-browser .theme .theme-screenshot{display:block;overflow:hidden;position:relative;-webkit-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out}.theme-browser .theme .theme-screenshot:after{content:'';display:block;padding-top:66.66666%}.theme-browser .theme .theme-screenshot img{height:auto;position:absolute;right:0;top:0;width:100%;-webkit-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out}.theme-browser .theme:focus .theme-screenshot,.theme-browser .theme:hover .theme-screenshot{background:#fff}.theme-browser.rendered .theme:focus .theme-screenshot img,.theme-browser.rendered .theme:hover .theme-screenshot img{opacity:.4}.theme-browser .theme .more-details{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";opacity:0;position:absolute;top:35%;left:25%;right:25%;background:#23282d;background:rgba(0,0,0,.7);color:#fff;font-size:15px;text-shadow:0 1px 0 rgba(0,0,0,.6);-webkit-font-smoothing:antialiased;font-weight:600;padding:15px 12px;text-align:center;-webkit-border-radius:3px;border-radius:3px;-webkit-transition:opacity .1s ease-in-out;transition:opacity .1s ease-in-out}.theme-browser .theme:focus{border-color:#5b9dd9;-webkit-box-shadow:0 0 2px rgba(30,140,190,.8);box-shadow:0 0 2px rgba(30,140,190,.8)}.theme-browser .theme:focus .more-details{opacity:1}.theme-browser .theme.active:focus .theme-actions{display:block}.theme-browser.rendered .theme:focus .more-details,.theme-browser.rendered .theme:hover .more-details{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";opacity:1}.theme-browser .theme .theme-installed,.theme-browser .theme .theme-update{background:#d54e21;background:rgba(213,78,33,.95);color:#fff;display:block;font-size:13px;font-weight:400;height:48px;line-height:48px;padding:0 10px;position:absolute;top:0;left:0;right:0;border-bottom:1px solid rgba(0,0,0,.25);overflow:hidden}.theme-browser .theme .theme-installed:before,.theme-browser .theme .theme-update:before{content:'\f463';display:inline-block;font:400 20px/1 dashicons;margin:0 0 0 6px;opacity:.8;position:relative;top:5px;speak:none;-webkit-font-smoothing:antialiased}.theme-browser .theme.active .theme-name{background:#2f2f2f;color:#fff;padding-left:110px;font-weight:300;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.5);box-shadow:inset 0 1px 1px rgba(0,0,0,.5)}.theme-browser .customize-control .theme.active .theme-name{padding-left:15px}.theme-browser .theme.active .theme-name span{font-weight:600}.theme-browser .theme.active .theme-actions{background:rgba(49,49,49,.7);border-right:none;opacity:1}.theme-browser .theme.active .theme-actions .button-primary{margin-left:0}.theme-browser .theme .theme-author{background:#23282d;color:#eee;display:none;font-size:14px;margin:0 10px;padding:5px 10px;position:absolute;bottom:56px}.theme-browser .theme.display-author .theme-author{display:block}.theme-browser .theme.display-author .theme-author a{color:inherit;text-decoration:none}.theme-browser .theme.add-new-theme{border:none;-webkit-box-shadow:none;box-shadow:none}.theme-browser .theme.add-new-theme a{color:#999;text-decoration:none;display:block;position:relative;z-index:1}.theme-browser .theme.add-new-theme a:after{display:block;content:'';background:0 0;position:absolute;top:0;right:0;left:0;bottom:0;padding:0;text-shadow:none;border:5px dashed #d5d2ca;border:5px dashed rgba(0,0,0,.1);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.theme-browser .theme.add-new-theme span:after{background:#e5e5e5;background:rgba(153,153,153,.1);-webkit-border-radius:50%;border-radius:50%;display:inline-block;content:'\f132';-webkit-font-smoothing:antialiased;font:400 74px/115px dashicons;width:100px;height:100px;vertical-align:middle;text-align:center;color:#999;position:absolute;top:30%;right:50%;margin-right:-50px;text-indent:-4px;padding:0;text-shadow:none;z-index:4}.rtl .theme-browser .theme.add-new-theme span:after{text-indent:4px}.theme-browser .theme.add-new-theme a:focus .theme-screenshot,.theme-browser .theme.add-new-theme a:hover .theme-screenshot{background:0 0}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after{background:#fff;color:#0073aa}.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{border-color:transparent;color:#fff;background:#0073aa;content:''}.theme-browser .theme.add-new-theme .theme-name{background:0 0;text-align:center;-webkit-box-shadow:none;box-shadow:none;font-weight:400;position:relative;top:0;margin-top:-18px;padding-top:0;padding-bottom:48px}.theme-browser .theme.add-new-theme a:focus .theme-name,.theme-browser .theme.add-new-theme a:hover .theme-name{color:#fff;z-index:2}.theme-overlay .theme-backdrop{position:absolute;right:-20px;left:0;top:0;bottom:0;background:#f1f1f1;background:rgba(238,238,238,.9);z-index:10000}.theme-overlay .theme-header{position:absolute;top:0;right:0;left:0;height:48px;border-bottom:1px solid #ddd}.theme-overlay .theme-header button{padding:0}.theme-overlay .theme-header .close{cursor:pointer;height:48px;width:50px;text-align:center;float:left;border:0;border-right:1px solid #ddd;background-color:transparent;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out}.theme-overlay .theme-header .close:before{font:400 22px/50px dashicons!important;color:#777;display:inline-block;content:'\f335';font-weight:300}.theme-overlay .theme-header .left,.theme-overlay .theme-header .right{cursor:pointer;color:#777;background-color:transparent;height:48px;width:54px;float:right;text-align:center;border:0;border-left:1px solid #ddd;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out}.theme-overlay .theme-header .close:focus,.theme-overlay .theme-header .close:hover,.theme-overlay .theme-header .left:focus,.theme-overlay .theme-header .left:hover,.theme-overlay .theme-header .right:focus,.theme-overlay .theme-header .right:hover{background:#ddd;border-color:#ccc;color:#000}.theme-overlay .theme-header .close:focus:before,.theme-overlay .theme-header .close:hover:before{color:#000}.theme-overlay .theme-header .close:focus,.theme-overlay .theme-header .left:focus,.theme-overlay .theme-header .right:focus{-webkit-box-shadow:none;box-shadow:none;outline:0}.theme-overlay .theme-header .left.disabled,.theme-overlay .theme-header .left.disabled:hover,.theme-overlay .theme-header .right.disabled,.theme-overlay .theme-header .right.disabled:hover{color:#ccc;background:inherit;cursor:inherit}.theme-overlay .theme-header .left:before,.theme-overlay .theme-header .right:before{font:400 20px/50px dashicons!important;display:inline;font-weight:300}.theme-overlay .theme-header .left:before{content:"\f345"}.theme-overlay .theme-header .right:before{content:"\f341"}.theme-overlay .theme-about:after,.theme-overlay .theme-wrap:after{clear:both;visibility:hidden;content:".";display:block;height:0}.theme-overlay .theme-wrap{clear:both;position:fixed;top:9%;right:190px;left:30px;bottom:3%;background:#fff;-webkit-box-shadow:0 1px 20px 5px rgba(0,0,0,.1);box-shadow:0 1px 20px 5px rgba(0,0,0,.1);z-index:10000;box-sizing:border-box;-webkit-overflow-scrolling:touch}.theme-overlay .theme-actions,.theme-overlay .theme-wrap{-webkit-box-sizing:border-box;-moz-box-sizing:border-box}body.folded .theme-overlay .theme-wrap{right:70px}.theme-overlay .theme-about{position:absolute;top:49px;bottom:57px;right:0;left:0;overflow:auto;padding:2% 4%}.customize-support .theme-overlay .theme-actions a[href="themes.php?page=custom-header"],.customize-support .theme-overlay .theme-actions a[href="themes.php?page=custom-background"],.theme-overlay .theme-actions .active-theme,.theme-overlay.active .theme-actions .inactive-theme{display:none}.theme-overlay .theme-actions{position:absolute;text-align:center;bottom:0;right:0;left:0;padding:10px 25px 5px;background:#f3f3f3;z-index:30;box-sizing:border-box;border-top:1px solid #eee}.ie8 .theme-overlay .theme-actions{border:1px solid #eee}.theme-overlay .theme-actions a{margin-left:5px;margin-bottom:5px}.broken-themes a.delete-theme,.theme-overlay .theme-actions .delete-theme{color:#a00;text-decoration:none;border-color:transparent;-webkit-box-shadow:none;box-shadow:none;background:0 0}.theme-overlay .theme-actions .delete-theme{position:absolute;left:10px;bottom:5px}.broken-themes a.delete-theme:focus,.broken-themes a.delete-theme:hover,.theme-overlay .theme-actions .delete-theme:focus,.theme-overlay .theme-actions .delete-theme:hover{background:#d54e21;color:#fff;border-color:#d54e21}.theme-overlay .theme-actions .inactive-theme,.theme-overlay.active .theme-actions .active-theme{display:block}.theme-overlay .theme-screenshots{float:right;margin:0 0 0 30px;width:55%;max-width:880px;text-align:center}.theme-overlay .screenshot{border:1px solid #fff;box-sizing:border-box;overflow:hidden;position:relative;-webkit-box-shadow:0 0 0 1px rgba(0,0,0,.2);box-shadow:0 0 0 1px rgba(0,0,0,.2)}.theme-overlay .screenshot,.upload-plugin,.upload-theme{-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.theme-overlay .screenshot:after{content:'';display:block;padding-top:75%}.theme-overlay .screenshot img{height:auto;position:absolute;right:0;top:0;width:100%}.theme-overlay.small-screenshot .theme-screenshots{position:absolute;width:302px}.theme-overlay.small-screenshot .theme-info{margin-right:350px;width:auto}.theme-overlay .screenshot.thumb{background:#ccc;border:1px solid #eee;float:none;display:inline-block;margin:10px 5px 0;width:140px;height:80px;cursor:pointer}.theme-overlay .screenshot.thumb:after{content:'';display:block;padding-top:100%}.theme-overlay .screenshot.thumb img{cursor:pointer;position:absolute;right:0;top:0;width:100%;height:auto}.theme-overlay .screenshot.selected{background:0 0;border:2px solid #00a0d2}.theme-overlay .screenshot.selected img{opacity:.8}.theme-browser .theme .theme-screenshot.blank,.theme-overlay .screenshot.blank{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAALElEQVQYGWO8d+/efwYkoKioiMRjYGBC4WHhUK6A8T8QIJt8//59ZC493AAAQssKpBK4F5AAAAAASUVORK5CYII=)}.theme-overlay .theme-info{width:40%;float:right}.theme-overlay .current-label{background:#32373c;color:#fff;font-size:11px;display:inline-block;padding:2px 8px;-webkit-border-radius:2px;border-radius:2px;margin:0 0 -10px;user-select:none}.theme-overlay .theme-name{color:#23282d;font-size:32px;font-weight:100;margin:10px 0 0;line-height:1.3}.theme-overlay .theme-version{color:#999;font-size:13px;font-weight:400;float:none;display:inline-block;margin-right:10px}.theme-overlay .theme-author{color:#686868;font-size:16px;font-weight:400;margin:15px 0 25px}.theme-overlay .theme-author a{text-decoration:none}.theme-overlay .theme-description{color:#555;font-size:15px;font-weight:400;line-height:1.5;margin:30px 0 0}.theme-overlay .theme-tags{border-top:3px solid #eee;color:#82878c;font-size:13px;font-weight:400;margin:30px 0 0;padding-top:20px}.theme-overlay .theme-tags span{color:#444;font-weight:700;margin-left:5px}.theme-overlay .theme-update-message{background:#fef7f1;border:1px solid #eee;border-right:4px solid #d54e21;-webkit-border-radius:3px;border-radius:3px;padding:5px 20px 10px}.theme-overlay .theme-update{color:#23282d;font-size:18px;display:inline-block;line-height:40px;margin:0}.theme-overlay .parent-theme{background:#f7fcfe;border:1px solid #eee;border-right:4px solid #00a0d2;font-size:14px;font-weight:400;margin-top:30px;padding:10px 20px 10px 10px}.theme-overlay .parent-theme strong{font-weight:700}.single-theme .theme,.single-theme .theme-overlay .theme-backdrop,.single-theme .theme-overlay .theme-header{display:none}.single-theme .theme-overlay .theme-wrap{clear:both;min-height:330px;position:relative;right:auto;left:auto;top:auto;bottom:auto;z-index:10}.single-theme .theme-overlay .theme-about{padding:30px 30px 70px;position:static}.single-theme .theme-overlay .theme-actions{position:absolute}@media only screen and (min-width:2000px){#wpwrap .theme-browser .theme{width:17.6%;margin:0 0 3% 3%}#wpwrap .theme-browser .theme:nth-child(3n),#wpwrap .theme-browser .theme:nth-child(4n){margin-left:3%}#wpwrap .theme-browser .theme:nth-child(5n){margin-left:0}}@media only screen and (min-width:1680px){.theme-overlay .theme-wrap{width:1450px;margin:0 auto}}@media only screen and (min-width:1640px){.theme-browser .theme{width:22.7%;margin:0 0 3% 3%}.theme-browser .theme .theme-screenshot:after{padding-top:75%}.theme-browser .theme:nth-child(3n){margin-left:3%}.theme-browser .theme:nth-child(4n){margin-left:0}}@media only screen and (max-width:1120px){.theme-browser .theme{width:47.5%;margin-left:0}.theme-browser .theme:nth-child(even){margin-left:0}.theme-browser .theme:nth-child(odd){margin-left:5%}}@media only screen and (max-width:900px){.theme-overlay .theme-wrap{right:65px}}@media only screen and (max-width:780px){.theme-browser .theme.active .theme-name span,.theme:focus .more-details,.theme:hover .more-details,.theme:not(.active):focus .theme-actions,.theme:not(.active):hover .theme-actions{display:none}.theme-overlay .theme-wrap,body.folded .theme-overlay .theme-wrap{top:0;left:0;bottom:0;right:0;padding:70px 20px 20px;border:none;z-index:100000;position:fixed}.theme-overlay .theme-screenshots{width:40%}.theme-overlay .theme-info{width:50%}.single-theme .theme-wrap{padding:10px}.theme-browser .theme .theme-actions{padding:5px 10px 4px}.theme-overlay.small-screenshot .theme-screenshots{position:static;float:none;max-width:302px}.theme-overlay.small-screenshot .theme-info{margin-right:0;width:auto}.theme-browser.rendered .theme:focus .theme-screenshot img,.theme-browser.rendered .theme:hover .theme-screenshot img{opacity:1}}@media only screen and (max-width:480px){.theme-browser .theme{width:100%;margin-left:0}.theme-browser .theme:nth-child(2n),.theme-browser .theme:nth-child(3n){margin-left:0}}@media only screen and (max-width:650px){.theme-overlay .theme-description,.theme-overlay .theme-update{margin-right:0}.theme-overlay .theme-actions .delete-theme{position:relative;left:auto;bottom:auto}.theme-overlay .theme-actions .inactive-theme{display:inline}.theme-overlay .theme-screenshots{width:100%;float:none}.theme-overlay .theme-info{width:100%}.theme-overlay .theme-author{margin:5px 0 15px}.theme-overlay .current-label{margin-top:10px;font-size:13px}.themes-php .wp-filter-search{float:none;clear:both;right:0;top:0;left:0;margin:10px 0;width:100%;max-width:280px}.theme-browser .theme.add-new-theme span:after{font:400 60px/90px dashicons;width:80px;height:80px;top:30%;right:50%;text-indent:0;margin-right:-40px}.single-theme .theme-wrap{margin:0 -10px 0 -12px;padding:10px}.single-theme .theme-overlay .theme-about{padding:10px;overflow:visible}.single-theme .current-label{display:none}.single-theme .theme-overlay .theme-actions{position:static}}.broken-themes{clear:both}.broken-themes table{text-align:right;width:50%;border-spacing:3px;padding:3px}.theme-browser .theme .theme-installed{background:#0073aa}.theme-browser .theme .theme-installed:before{content:'\f147'}.theme-browser .theme.is-installed .theme-actions .button-primary{display:none!important}.theme-install-php .wp-filter{padding:0 20px}.theme-install-php a.browse-themes,.theme-install-php a.upload{cursor:pointer}.theme-install-php a.browse-themes,.theme-install-php.show-upload-theme a.upload{display:none}.theme-install-php.show-upload-theme a.browse-themes{display:inline}.upload-plugin,.upload-theme{box-sizing:border-box;display:none;margin:0;padding:0;width:100%;overflow:hidden;position:relative;top:10px}.wp-full-overlay,.wp-full-overlay-sidebar{right:0;bottom:0;top:0;height:100%;position:fixed}.upload-plugin,body.show-upload-theme .upload-theme{display:block}body.show-upload-theme .upload-theme+.wp-filter,body.show-upload-theme .upload-theme+.wp-filter+.theme-browser,p.no-themes{display:none}.upload-plugin .wp-upload-form,.upload-theme .wp-upload-form{background:#fafafa;border:1px solid #e5e5e5;padding:30px;margin:30px auto;max-width:380px}.upload-plugin .install-help,.upload-theme .install-help{color:#999;font-size:18px;font-style:normal;margin:0;padding:40px 0 0;text-align:center}p.no-themes{clear:both;color:#666;font-size:18px;font-style:normal;margin:0;padding:0;text-align:center}body.no-results p.no-themes{display:block}.theme-install-php .add-new-theme,body.show-upload-theme p.no-themes{display:none!important}@media only screen and (max-width:1120px){.upload-theme .wp-upload-form{margin:20px 0;max-width:100%}.upload-theme .install-help{font-size:15px;padding:20px 0 0;text-align:right}}.theme-details .star-rating{margin:15px 0 0}.theme-details .star-rating span:before{color:#ffb900;content:"\f154";display:inline-block;-webkit-font-smoothing:antialiased;font:400 20px/1 dashicons;vertical-align:top}.star-rating.rating-10 span.one:before,.star-rating.rating-30 span.two:before,.star-rating.rating-50 span.three:before,.star-rating.rating-70 span.four:before,.star-rating.rating-90 span.five:before{content:"\f459"}.star-rating.rating-100>span:before,.star-rating.rating-20 span.one:before,.star-rating.rating-30 span.one:before,.star-rating.rating-40 span.one:before,.star-rating.rating-40 span.two:before,.star-rating.rating-50 span.one:before,.star-rating.rating-50 span.two:before,.star-rating.rating-60 span.one:before,.star-rating.rating-60 span.three:before,.star-rating.rating-60 span.two:before,.star-rating.rating-70 span.one:before,.star-rating.rating-70 span.three:before,.star-rating.rating-70 span.two:before,.star-rating.rating-80 span.four:before,.star-rating.rating-80 span.one:before,.star-rating.rating-80 span.three:before,.star-rating.rating-80 span.two:before,.star-rating.rating-90 span.four:before,.star-rating.rating-90 span.one:before,.star-rating.rating-90 span.three:before,.star-rating.rating-90 span.two:before{content:"\f155"}.theme-details .star-rating .ratings{display:block;line-height:20px;color:#999}.appearance_page_custom-header #headimg{border:1px solid #DFDFDF;overflow:hidden;width:100%}.appearance_page_custom-header #upload-form p label{font-size:12px}.appearance_page_custom-header .available-headers .default-header{float:right;margin:0 0 20px 20px}.appearance_page_custom-header .random-header{clear:both;margin:0 0 20px 20px;vertical-align:middle}.appearance_page_custom-header .available-headers label input,.appearance_page_custom-header .random-header label input{margin-left:10px}.appearance_page_custom-header .available-headers label img{vertical-align:middle}div#custom-background-image{min-height:100px;border:1px solid #dfdfdf}div#custom-background-image img{max-width:400px;max-height:300px}body.full-overlay-active{overflow:hidden}.wp-full-overlay{background:0 0;z-index:500000;overflow:visible;left:0;min-width:0}.wp-full-overlay-sidebar{box-sizing:border-box;width:300px;padding:0;margin:0;z-index:10;background:#eee;border-left:none}.widget,.wp-full-overlay-sidebar{-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.wp-full-overlay.collapsed,.wp-full-overlay.expanded .wp-full-overlay-sidebar{margin-right:0!important}.wp-full-overlay.expanded{margin-right:300px}.wp-full-overlay.collapsed .wp-full-overlay-sidebar{overflow:visible;margin-right:-300px}.wp-full-overlay-sidebar:after{content:'';display:block;position:absolute;top:0;bottom:0;left:0;width:3px;z-index:1000}.wp-full-overlay-main{position:absolute;right:0;left:0;top:0;bottom:0;height:100%}#customize-preview.wp-full-overlay-main{background:url(../images/spinner.gif) center center no-repeat;-webkit-background-size:20px 20px;background-size:20px 20px}#customize-preview.wp-full-overlay-main.iframe-ready{background:0 0}.wp-full-overlay-sidebar .wp-full-overlay-header{position:absolute;right:0;left:0;height:45px;padding:0 15px;line-height:45px;z-index:10;margin:0;border-top:none;-webkit-box-shadow:none;box-shadow:none}.wp-full-overlay-sidebar .wp-full-overlay-header a.back{margin-top:9px}.wp-full-overlay-sidebar .wp-full-overlay-footer{bottom:0;border-bottom:none;border-top:none;-webkit-box-shadow:none;box-shadow:none}.wp-full-overlay-sidebar .wp-full-overlay-sidebar-content{position:absolute;top:45px;bottom:45px;right:0;left:0;overflow:auto}.theme-install-overlay .wp-full-overlay-sidebar .wp-full-overlay-header{padding:0}.theme-install-overlay .close-full-overlay,.theme-install-overlay .next-theme,.theme-install-overlay .previous-theme{display:block;position:relative;float:right;width:45px;height:45px;padding-left:2px;background:#eee;border-left:1px solid #ddd;color:#444;cursor:pointer;text-decoration:none;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out}.theme-install-overlay .close-full-overlay:focus,.theme-install-overlay .close-full-overlay:hover,.theme-install-overlay .next-theme:focus,.theme-install-overlay .next-theme:hover,.theme-install-overlay .previous-theme:focus,.theme-install-overlay .previous-theme:hover{background:#ddd;border-color:#ccc;color:#000;outline:0;-webkit-box-shadow:none;box-shadow:none}.theme-install-overlay .close-full-overlay:before{font:400 22px/1 dashicons;content:"\f335";position:relative;top:7px;right:13px}.theme-install-overlay .previous-theme:before{font:400 20px/1 dashicons;content:"\f345";position:relative;top:6px;right:14px}.theme-install-overlay .next-theme:before{font:400 20px/1 dashicons;content:"\f341";position:relative;top:6px;right:13px}.theme-install-overlay .next-theme.disabled,.theme-install-overlay .next-theme.disabled:focus,.theme-install-overlay .next-theme.disabled:hover,.theme-install-overlay .previous-theme.disabled,.theme-install-overlay .previous-theme.disabled:focus,.theme-install-overlay .previous-theme.disabled:hover{color:#b4b9be;background:#eee;cursor:default;pointer-events:none}.wp-core-ui .wp-full-overlay .collapse-sidebar{position:fixed;bottom:8px;right:10px;padding:0;color:#656a6f;outline:0;line-height:1;background-color:transparent!important;border:none!important;-webkit-box-shadow:none!important;box-shadow:none!important;-webkit-border-radius:0!important;border-radius:0!important}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover{color:#0073aa}.wp-full-overlay .collapse-sidebar-arrow,.wp-full-overlay .collapse-sidebar-label{display:inline-block;vertical-align:middle;line-height:20px}.wp-full-overlay .collapse-sidebar-arrow{width:20px;height:20px;margin:0 2px;-webkit-border-radius:50%;border-radius:50%;overflow:hidden}.wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow,.wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-full-overlay .collapse-sidebar-label{margin-right:3px}.wp-full-overlay.collapsed .collapse-sidebar-label{display:none}.wp-full-overlay .collapse-sidebar-arrow:before{display:block;content:"\f148";background:#eee;font:400 20px/1 dashicons;speak:none;padding:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.rtl .wp-full-overlay .collapse-sidebar-arrow:before,.wp-full-overlay.collapsed .collapse-sidebar-arrow:before{-webkit-transform:rotate(180.001deg);-ms-transform:rotate(180.001deg);transform:rotate(180.001deg)}.rtl .wp-full-overlay.collapsed .collapse-sidebar-arrow:before{-webkit-transform:none;-ms-transform:none;transform:none}.wp-full-overlay,.wp-full-overlay .collapse-sidebar,.wp-full-overlay-main,.wp-full-overlay-sidebar{-webkit-transition-property:right,left,top,bottom,width,margin;transition-property:right,left,top,bottom,width,margin;-webkit-transition-duration:.2s;transition-duration:.2s}.customize-support .hide-if-customize,.customize-support .wp-core-ui .hide-if-customize,.customize-support.wp-core-ui .hide-if-customize,.no-customize-support .hide-if-no-customize,.no-customize-support .wp-core-ui .hide-if-no-customize,.no-customize-support.wp-core-ui .hide-if-no-customize{display:none}#customize-container{display:none;background:#fff;z-index:500000;position:fixed;overflow:visible;top:0;bottom:0;right:0;left:0;height:100%}.customize-active #customize-container{display:block}.customize-loading #customize-container iframe{opacity:0}.customize-loading #customize-container{background:url(../images/spinner.gif) center center no-repeat fixed #fff;-webkit-background-size:20px 20px;background-size:20px 20px}#customize-container iframe,.theme-install-overlay iframe{height:100%;width:100%;z-index:20;-webkit-transition:opacity .3s;transition:opacity .3s}#customize-controls{margin-top:0}.theme-install-overlay{display:none}.theme-install-overlay.single-theme{display:block}.install-theme-info{display:none;padding:10px 20px 60px}.single-theme .install-theme-info{padding-top:15px}.theme-install-overlay .install-theme-info{display:block}.install-theme-info .theme-install{float:left;margin-top:18px}.install-theme-info .theme-name{font-size:16px;line-height:24px;margin-bottom:0;margin-top:0}.install-theme-info .theme-screenshot{margin-top:15px;width:258px;border:1px solid #ccc}.install-theme-info .theme-details{overflow:hidden}.theme-details .theme-version{margin:15px 0;float:right}.theme-details .theme-description{float:right;color:#777;line-height:20px;max-width:100%}.theme-install-overlay .wp-full-overlay-header .theme-install{float:left;margin:8px 0 0 10px;line-height:26px}.theme-install-overlay .wp-full-overlay-sidebar{background:#eee;border-left:1px solid #ddd}.theme-install-overlay .wp-full-overlay-sidebar-content{background:#fff;border-top:1px solid #ddd;border-bottom:1px solid #ddd}.theme-install-overlay .wp-full-overlay-main{background:url(../images/spinner.gif) center center no-repeat #fff;-webkit-background-size:20px 20px;background-size:20px 20px}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.wp-full-overlay .collapse-sidebar-arrow{background-image:url(../images/arrows-2x.png);-webkit-background-size:15px 123px;background-size:15px 123px}#customize-preview.wp-full-overlay-main,.customize-loading #customize-container,.theme-install-overlay .wp-full-overlay-main{background-image:url(../images/spinner-2x.gif)}.theme-install-overlay .wp-full-overlay-header .theme-install{margin-top:2px}}@media screen and (max-width:782px){.available-theme .action-links .delete-theme{float:none;margin:0;padding:0;clear:both}.available-theme .action-links .delete-theme a{padding:0}.broken-themes table{width:100%}.theme-install-overlay .wp-full-overlay-header .theme-install{margin-top:6px;line-height:normal}}.about-wrap{position:relative;margin:25px 20px 0 40px;max-width:1050px;font-size:15px}.about-wrap .notice,.about-wrap div.error,.about-wrap div.updated{display:none!important}.about-wrap hr{border:0;height:0;margin:0;border-top:1px solid rgba(0,0,0,.1)}.about-wrap img{margin:0;max-width:100%;height:auto;vertical-align:middle}.about-wrap .jetpack-video-wrapper{margin-bottom:0}.wp-badge{background:url(../images/w-logo-white.png?ver=20131202) center 24px no-repeat #0073aa;-webkit-background-size:85px 85px;background-size:85px 85px;color:#78c8e6;font-size:14px;text-align:center;font-weight:600;margin:5px 0 0;padding-top:120px;height:40px;display:inline-block;width:150px;text-rendering:optimizeLegibility;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.2);box-shadow:0 1px 3px rgba(0,0,0,.2)}.svg .wp-badge{background-image:url(../images/wordpress-logo-white.svg?ver=20131110)}.about-wrap .wp-badge{position:absolute;top:0;left:0}.about-wrap h2.nav-tab-wrapper{padding-right:6px}.about-wrap h2 .nav-tab{padding:4px 15px 6px;margin:0 0 -1px 3px;font-size:18px;vertical-align:top;border-width:1px}.about-wrap p{line-height:1.6em;font-size:14px}.about-wrap h1{margin:.2em 0 0 200px;padding:0;color:#32373c;line-height:1.2em;font-size:2.8em;font-weight:400}.about-wrap h3{margin:1.25em 0 .6em;font-size:1.25em;line-height:1.5em}.about-wrap h4{color:#23282d}.about-wrap code,.about-wrap ol li p{font-size:14px;font-weight:400}.about-wrap .about-description,.about-wrap .about-text{margin-top:1.4em;font-weight:400;line-height:1.6em;font-size:19px}.about-wrap .about-text{margin:1em 0 1em 200px;min-height:60px;color:#777}.about-wrap [class$=col] .col{float:right;position:relative}.about-wrap .two-col .col{margin-left:4.799999999%;width:47.6%}.about-wrap .three-col .col{margin-left:4.999999999%;width:29.95%}.about-wrap .three-col .col:nth-of-type(3n),.about-wrap .two-col .col:nth-of-type(2n){margin-left:0}.about-wrap .point-releases{margin-top:5px;border-bottom:1px solid #dfdfdf}.about-wrap .changelog.point-releases h3{padding-top:35px}.about-wrap .changelog.point-releases h3:first-child{padding-top:7px}.about-wrap .headline-feature h2{margin:50px 0 30px;font-size:2.2em;font-weight:300;line-height:1.3;text-align:right}.about-wrap .headline-feature h3{margin-top:30px;text-align:center}.about-wrap .feature-list h2{margin:30px 0 15px;text-align:center}.about-wrap .feature-section h4{margin:1.4em 0 .6em;font-size:1em}.about-wrap .feature-section p{margin-top:.6em}.about-wrap .feature-video{position:relative;margin:40px 0;padding-bottom:56.25%;width:100%;height:0;text-align:center}.about-wrap .feature-video embed{position:absolute;top:0;right:0;width:100%;height:100%}.about-wrap .featured-image{text-align:center}.about-wrap .feature-section{overflow:hidden;padding:0 0 40px;border-bottom:1px solid rgba(0,0,0,.1)}.about-wrap .headline-feature .feature-section{margin:0 auto;max-width:95%}.about-wrap .changelog.feature-section .col,.about-wrap .feature-section:not(.under-the-hood) .col{margin-top:40px}.about-wrap .feature-section .media-container{border:1px solid #ddd;overflow:hidden}.about-wrap .feature-section .svg-container{padding:50px 0;text-align:center;background-color:#e1e1e3}.about-wrap .feature-section .svg-container img{max-width:150px}.about-wrap .changelog{margin-bottom:40px}.about-wrap .return-to-dashboard{margin:30px -5px 0 0;font-size:14px;font-weight:700}.about-wrap .return-to-dashboard a{text-decoration:none;padding:0 5px}.about-wrap .feature-list.finer-points h4,.about-wrap .feature-list.finer-points p{margin-right:115px}.about-wrap h4.wp-people-group{margin-top:2.6em;font-size:16px}.about-wrap ul.wp-people-group{overflow:hidden;padding:0 5px;margin:0 -5px 0 -15px}.about-wrap ul.compact{margin-bottom:0}.about-wrap li.wp-person{display:inline-block;vertical-align:top;margin-left:10px;padding-bottom:15px;height:70px;width:280px}.about-wrap ul.compact li.wp-person{height:auto;width:180px;padding-bottom:0;margin-bottom:0}.about-wrap li.wp-person img.gravatar{float:right;margin:0 0 10px 10px;padding:2px;width:60px;height:60px}.about-wrap ul.compact li.wp-person img.gravatar{width:30px;height:30px}.about-wrap li.wp-person a.web{display:block;margin:6px 0 2px;font-size:16px;font-weight:400;line-height:1.6em;text-decoration:none}.about-wrap #wp-people-group-validators+p.wp-credits-list{margin-top:0}.freedoms-php .about-wrap ol{margin:40px 60px}.freedoms-php .about-wrap ol li{list-style-type:decimal;font-weight:700}.freedoms-php .about-wrap ol p{font-weight:400;margin:.6em 0}@media screen and (max-width:782px){.about-wrap .feature-section{padding:0;border-bottom:none}.about-wrap [class$=col] .col{float:none;width:100%;margin:40px 0 0;padding:0 0 40px;border-bottom:1px solid rgba(0,0,0,.1)}.about-wrap .three-col img{display:block;margin:0 auto}.about-wrap .feature-list .col{margin:0;padding:0;border-bottom:none}.about-wrap .headline-feature .feature-section{max-width:100%}.about-wrap .feature-list .feature-section{padding:0 0 40px}}@media only screen and (max-width:500px){.about-wrap{margin-left:20px;margin-right:10px}.about-wrap .about-text,.about-wrap h1{margin-left:0}.about-wrap .about-text{margin-bottom:.25em}.about-wrap .wp-badge{position:relative;margin-bottom:1.5em;width:100%}.about-wrap h2.nav-tab-wrapper{padding-right:0;border-bottom:0}.about-wrap h2 .nav-tab{margin-top:10px;margin-left:10px;border-bottom:1px solid #ccc}.about-wrap .feature-section .svg-container{padding-top:20px;padding-bottom:20px}.about-wrap .headline-feature .feature-section .col,.about-wrap .three-col .col{width:100%!important;float:none!important}}@media only screen and (max-width:400px){.about-wrap .feature-list svg{margin-top:15px;height:65px;width:65px}.about-wrap .feature-list.finer-points h4,.about-wrap .feature-list.finer-points p{margin-right:80px}}.no-js #message{display:block}ul.add-menu-item-tabs li{padding:3px 8px 3px 5px}.accordion-section ul.add-menu-item-tabs,.accordion-section ul.category-tabs,.accordion-section ul.wp-tab-bar{margin:0}.accordion-section .categorychecklist{margin:13px 0}#nav-menu-meta .accordion-section-content{padding:18px 13px}#nav-menu-meta .button-controls{margin-bottom:0}#nav-menus-frame{margin-right:300px;margin-top:23px}#wpbody-content #menu-settings-column{display:inline;width:281px;margin-right:-300px;clear:both;float:right;padding-top:0}#menu-settings-column .inside{clear:both;margin:10px 0 0}.metabox-holder-disabled .accordion-section-content,.metabox-holder-disabled .accordion-section-title,.metabox-holder-disabled .postbox{opacity:.5;filter:alpha(opacity=50)}.metabox-holder-disabled .button-controls .select-all{display:none}#wpbody{position:relative}.blank-slate .menu-name{height:2em}.blank-slate .menu-settings{border:none;margin-top:0;padding-top:0;overflow:hidden}.is-submenu{color:#999;font-style:italic;font-weight:400;margin-right:4px}.manage-menus{margin-top:23px;padding:10px;overflow:hidden;background:#fbfbfb}.manage-menus select{float:right;margin-left:6px}.manage-menus .selected-menu{float:right;margin:5px 0 0 6px}.manage-menus .submit-btn{float:right;margin-top:1px}.menu-edit #post-body-content h3{margin:1em 0 10px}.menu-settings{border-top:1px solid #eee;margin-top:2em}.menu-settings dl{margin:0 0 10px;overflow:hidden;padding-right:18%}.menu-settings dd{float:right;margin:0;width:100%}.menu-settings dt{float:right;clear:both;width:21.951%;padding:3px 0 0;margin-right:-21.951%}.menu-settings label{vertical-align:baseline}.menu-edit .checkbox-input{margin-top:4px}.theme-location-set{color:#999;font-size:11px}#add-custom-link .howto,#cancel-save{font-size:12px}#menu-management-liquid{float:right;min-width:100%;margin-top:3px}#menu-management{position:relative;margin-left:20px;margin-top:-3px;width:100%;background:#f5f5f5}#menu-management .menu-edit{margin-bottom:20px}.nav-menus-php #post-body{padding:0 10px 10px;border-top:1px solid #fff;border-bottom:1px solid #dfdfdf;background:#fff}#nav-menu-footer,#nav-menu-header{padding:0 10px}#nav-menu-header{border-bottom:1px solid #dfdfdf;margin-bottom:0}#nav-menu-header .menu-name-label{margin-top:4px}.nav-menus-php #post-body div.error,.nav-menus-php #post-body div.updated{margin:0}.nav-menus-php #post-body-content{position:relative;float:none}#menu-management .menu-add-new abbr{font-weight:600}#select-nav-menu-container{text-align:left;padding:0 10px 3px;margin-bottom:5px}#select-nav-menu{width:100px;display:inline}#menu-name-label{margin-top:-2px}.widefat .menu-locations tr+tr td{padding-top:0}.widefat .menu-locations td{vertical-align:middle}.menu-location-title label{font-weight:700}.menu-location-menus select{float:right}#locations-nav-menu-wrapper{padding:5px 0}.locations-nav-menu-select select{float:right;width:160px;margin-left:5px}.locations-row-links{float:right;margin:6px 6px 0 0}.locations-add-menu-link,.locations-edit-menu-link{margin:0 3px}.locations-edit-menu-link{padding-left:3px;border-left:1px solid #ccc}#wpbody .open-label{display:block;float:right}#wpbody .open-label span{padding-left:10px}.js .input-with-default-title{color:#a0a5aa;font-style:italic}#menu-management .inside{padding:0 10px}.accordion-container .howto input,.postbox .howto input{width:180px;float:left}.accordion-container .outer-border{margin:0}.customlinkdiv .howto input{width:180px}.customlinkdiv p{margin-top:0}#nav-menu-theme-locations .howto select{width:100%}#nav-menu-theme-locations .button-controls{text-align:left}.add-menu-item-view-all{height:400px}#menu-container .submit{margin:0 0 10px;padding:0}.nav-menus-php .add-new-menu-action{float:right;margin:6px 6px 0 0;line-height:15px}.nav-menus-php .meta-sep,.nav-menus-php .submitcancel,.nav-menus-php .submitdelete{display:block;float:right;margin:6px 0;line-height:15px}.meta-sep{padding:0 2px}#cancel-save{text-decoration:underline;margin-right:20px;margin-top:5px}.button-primary.right,.button-secondary.right,.button.right{float:left}.list-controls{float:right;margin-top:5px}.add-to-menu{float:left}.button-controls{clear:both;margin:10px 0}.hide-all,.show-all{cursor:pointer}.hide-all{display:none}#menu-name{width:270px}#manage-menu .inside{padding:0}#available-links dt{display:block}#add-custom-link label span{display:block;float:right;margin-top:5px;padding-left:5px}.menu-item-textbox{width:180px}.nav-menus-php .howto span{margin-top:6px;display:block;float:right}.quick-search{width:190px}.quick-search-wrap .spinner{float:none;margin:0 5px}.nav-menus-php .list-wrap{display:none;clear:both;margin-bottom:10px}.nav-menus-php .postbox p.submit{margin-bottom:0}.nav-menus-php .list li{display:none;margin:0 0 5px}.nav-menus-php .list li .menu-item-title{cursor:pointer;display:block}.nav-menus-php .list li .menu-item-title input{margin-left:3px;margin-top:-3px}.menu-item-title input[type=checkbox]{display:inline-block;margin-top:-4px}#menu-container .inside{padding-bottom:10px}.menu{padding-top:1em}#menu-to-edit{margin:0;padding:.1em 0}.menu ul{width:100%}.menu li{margin-bottom:0;position:relative}.menu-item-bar{clear:both;line-height:1.5em;position:relative;margin:9px 0 0}.menu-item-bar .menu-item-handle{border:1px solid #dfdfdf;position:relative;padding:10px 15px;height:auto;min-height:20px;width:382px;line-height:30px;overflow:hidden;word-wrap:break-word}.menu-item-bar .menu-item-handle:hover{border-color:#999}#menu-to-edit .menu-item-invalid .menu-item-handle{background:#f6c9cc;border-color:#f1acb1}.no-js .menu-item-edit-active .item-edit{display:none}.js .menu-item-handle{cursor:move}#cancel-save,.item-controls a:hover,.js .sidebar-name{cursor:pointer}.menu li.deleting .menu-item-handle{background-image:none;background-color:#f66}.menu-item-handle .item-title{font-size:13px;font-weight:600;line-height:20px;display:block;margin-left:13em}.menu-item-handle .menu-item-title.no-title{color:#999}li.menu-item.ui-sortable-helper .menu-item-bar{margin-top:0}li.menu-item.ui-sortable-helper .menu-item-transport .menu-item-bar{margin-top:13px}.menu .sortable-placeholder{height:35px;width:410px;margin-top:13px}.menu-item .menu-item-transport:empty{display:none}.menu-item-depth-0{margin-right:0}.menu-item-depth-1{margin-right:30px}.menu-item-depth-2{margin-right:60px}.menu-item-depth-3{margin-right:90px}.menu-item-depth-4{margin-right:120px}.menu-item-depth-5{margin-right:150px}.menu-item-depth-6{margin-right:180px}.menu-item-depth-7{margin-right:210px}.menu-item-depth-8{margin-right:240px}.menu-item-depth-9{margin-right:270px}.menu-item-depth-10{margin-right:300px}.menu-item-depth-11{margin-right:330px}.menu-item-depth-0 .menu-item-transport{margin-right:0}.menu-item-depth-1 .menu-item-transport{margin-right:-30px}.menu-item-depth-2 .menu-item-transport{margin-right:-60px}.menu-item-depth-3 .menu-item-transport{margin-right:-90px}.menu-item-depth-4 .menu-item-transport{margin-right:-120px}.menu-item-depth-5 .menu-item-transport{margin-right:-150px}.menu-item-depth-6 .menu-item-transport{margin-right:-180px}.menu-item-depth-7 .menu-item-transport{margin-right:-210px}.menu-item-depth-8 .menu-item-transport{margin-right:-240px}.menu-item-depth-9 .menu-item-transport{margin-right:-270px}.menu-item-depth-10 .menu-item-transport{margin-right:-300px}.menu-item-depth-11 .menu-item-transport{margin-right:-330px}body.menu-max-depth-0{min-width:950px!important}body.menu-max-depth-1{min-width:980px!important}body.menu-max-depth-2{min-width:1010px!important}body.menu-max-depth-3{min-width:1040px!important}body.menu-max-depth-4{min-width:1070px!important}body.menu-max-depth-5{min-width:1100px!important}body.menu-max-depth-6{min-width:1130px!important}body.menu-max-depth-7{min-width:1160px!important}body.menu-max-depth-8{min-width:1190px!important}body.menu-max-depth-9{min-width:1220px!important}body.menu-max-depth-10{min-width:1250px!important}body.menu-max-depth-11{min-width:1280px!important}.item-type{display:inline-block;padding:12px 10px;color:#666;font-size:12px;line-height:18px}.item-controls{font-size:12px;position:absolute;left:20px;top:-1px}.item-controls a{text-decoration:none}.item-controls .item-order{padding-left:10px}.nav-menus-php .item-edit{position:absolute;left:-20px;top:0;display:block;width:30px;height:40px;margin-left:0!important;text-indent:100%;outline:0;overflow:hidden}.menu-instructions-inactive{display:none}.menu-item-settings{display:block;width:402px;padding:10px 10px 10px 0;position:relative;z-index:10;border:1px solid #e5e5e5;border-top:none;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04)}.menu-item-settings .field-move a{display:none;margin:0 2px}.menu-item-edit-active .menu-item-settings{display:block}.menu-item-edit-inactive .menu-item-settings{display:none}.add-menu-item-pagelinks{margin:.5em auto;text-align:center}.link-to-original{display:block;margin:0 0 10px;padding:3px 5px 5px;border:1px solid #dfdfdf;color:#777;font-size:12px;font-style:italic}.hidden-field,.nav-menus-php .blank-slate .menu-settings{display:none}.link-to-original a{padding-right:4px;font-style:normal}.menu-item-settings .description-thin,.menu-item-settings .description-wide{margin-left:10px;float:right}.description-thin{width:190px}.description-wide{width:390px}.menu-item-actions{padding-top:15px}.nav-menus-php .major-publishing-actions{clear:both;padding:3px 0 6px}.nav-menus-php .major-publishing-actions .publishing-action{text-align:left;float:left;line-height:23px;margin:4px 0 1px}.nav-menus-php .delete-action{float:right;margin-top:2px}.nav-menus-php .submitbox .submitcancel{border-bottom:1px solid #0073aa;padding:1px 2px;color:#0073aa;text-decoration:none}.nav-menus-php .submitbox .submitcancel:hover{background:#0073aa;color:#fff}.nav-menus-php .major-publishing-actions .form-invalid{padding-right:4px;margin-right:-4px}#menu-item-name-wrap:after,#menu-item-url-wrap:after,#menu-name-label:after,#menu-settings-column .inside:after,#nav-menus-frame:after,.nav-menus-php #post-body-content:after,.nav-menus-php .button-controls:after,.nav-menus-php .major-publishing-actions:after,.nav-menus-php .menu-item-settings:after{clear:both;content:".";display:block;height:0;visibility:hidden}#menu-item-name-wrap,#menu-item-url-wrap,#nav-menus-frame,.button-controls{display:block}@media screen and (max-width:782px){body.nav-menus-php{min-width:0!important}#nav-menus-frame{margin-right:0;float:none;width:100%}#wpbody-content #menu-settings-column{display:block;width:100%;float:none;margin-right:0}#side-sortables .add-menu-item-tabs{margin:15px 0 14px}ul.add-menu-item-tabs li.tabs{padding:13px 15px 14px}.nav-menus-php .item-controls .item-type{margin-top:2px}.nav-menus-php .customlinkdiv .howto input{width:65%}.nav-menus-php .quick-search{width:85%}#menu-management-liquid{margin-top:25px}.nav-menus-php .menu-name-label.howto span{margin-top:13px}.menu-name-label #menu-name{margin-top:4px}.nav-menus-php .major-publishing-actions .publishing-action{margin-top:6px}.nav-menus-php .delete-action{font-size:14px;line-height:50px;margin-top:12px}.description-wide,.menu-item-bar .menu-item-handle,.menu-item-settings{width:auto}.menu-item-settings{padding:10px}.menu-item-settings .description-thin,.menu-item-settings .description-wide,.menu-item-settings input{width:100%}.menu-item-settings input[type=checkbox],.menu-item-settings input[type=radio]{width:25px}.menu-settings dl{padding-right:0}.menu-settings dd{float:none;width:100%;margin-bottom:15px}.menu-settings dt{float:none;width:auto;margin-right:0;margin-bottom:15px}}@media only screen and (max-width:768px){#menu-locations-wrap .widefat{width:100%}}.widget{margin:0 auto 10px;position:relative;box-sizing:border-box}.widget-top{font-size:13px;font-weight:600;background:#f7f7f7}.widget-top a.widget-action,.widget-top a.widget-action:hover{-webkit-box-shadow:none;box-shadow:none;outline:0;text-decoration:none}.widget-title h4{margin:0;padding:15px;line-height:1;overflow:hidden;text-overflow:ellipsis;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.widgets-holder-wrap .widget-inside{border-top:none;padding:1px 15px 15px;line-height:16px}#available-widgets .widget-description,#widgets-right a.widget-control-edit,.in-widget-title{color:#666}.deleting .widget-title,.deleting .widget-top a.widget-action:after{color:#a0a5aa}.widget.ui-draggable-dragging{min-width:100%}.widget.ui-sortable-helper{opacity:.8}.widget-placeholder{border:1px dashed #b4b9be;margin:0 auto 10px;height:45px;width:100%;box-sizing:border-box}.sidebar-name,.widget-placeholder{-webkit-box-sizing:border-box;-moz-box-sizing:border-box}#widgets-right .widget-placeholder{margin-top:0}#widgets-right .closed .widget-placeholder{height:0;border:0;margin-top:-10px}.sidebar-name{position:relative;box-sizing:border-box}.sidebar-name-arrow{position:absolute;top:0;left:0;bottom:0}.sidebar-name h3{margin:0;padding:8px 10px;overflow:hidden}.widgets-holder-wrap .description{padding:0 0 15px;margin:0;font-style:normal;color:#777}#widgets-right .widgets-holder-wrap .description{padding-right:7px;padding-left:7px}div.widget-liquid-left{margin:0;width:38%;float:right}div.widget-liquid-right{float:left;width:58%}div#widgets-left{padding-top:12px}div#widgets-left .closed .sidebar-name,div#widgets-left .inactive-sidebar.closed .sidebar-name{margin-bottom:10px}div#widgets-left .sidebar-name h3{padding:10px 0;margin:0 0 0 10px}div#widgets-left .sidebar-name .sidebar-name-arrow:before{left:0;top:4px;padding:4px 4px 4px 6px}#widgets-left #available-widgets,div#widgets-left .widget-holder{background:0 0;border:none}#widgets-left .widgets-holder-wrap{border:none;-webkit-box-shadow:none;box-shadow:none}#available-widgets .widget-action{display:none}#available-widgets .widget{margin:0}#available-widgets .widget:nth-child(odd){clear:both}#available-widgets .widget .widget-description{display:block;padding:10px 15px;font-size:12px}#available-widgets #widget-list{position:relative}#widgets-left .inactive-sidebar{clear:both;width:100%;background:0 0;padding:0;margin:0 0 20px;border:none;-webkit-box-shadow:none;box-shadow:none}#widgets-left .inactive-sidebar.first{margin-top:40px}div#widgets-left .inactive-sidebar .widget.expanded{right:auto}.widget-title-action{float:left;position:relative}div#widgets-left .inactive-sidebar .widgets-sortables{min-height:42px;padding:0;background:0 0;margin:0;position:relative}div#widgets-right:after{content:".";display:block;height:0;clear:both;visibility:hidden}div#widgets-right .sidebars-column-1,div#widgets-right .sidebars-column-2{max-width:450px}div#widgets-right .widgets-holder-wrap{margin:10px 0 0}div#widgets-right .sidebar-description{min-height:20px;margin-top:-5px}div#widgets-right .sidebar-name h3{padding:15px 7px}div#widgets-right .sidebar-name .sidebar-name-arrow:before{left:0;top:4px}div#widgets-right .widget-top{padding:0}div#widgets-right .widgets-sortables{padding:0 8px;margin-bottom:9px;position:relative;min-height:123px}div#widgets-right .closed .widgets-sortables{min-height:0;margin-bottom:0}.sidebar-name .spinner{float:none;position:relative;top:-2px;margin:-5px 5px}#widgets-right .widgets-holder-wrap.widget-hover{border-color:#777;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.3);box-shadow:0 1px 2px rgba(0,0,0,.3)}.widgets_access #widgets-left .widget .widget-top{cursor:auto}.widgets_access #wpwrap .widget-control-edit,.widgets_access #wpwrap .widgets-holder-wrap.closed .sidebar-description,.widgets_access #wpwrap .widgets-holder-wrap.closed .widget{display:block}.widgets_access #widgets-left .widget .widget-top:hover,.widgets_access #widgets-right .widget .widget-top:hover{border-color:#ddd}#available-widgets .widget-control-edit .edit,#widgets-left .inactive-sidebar .widget-control-edit .add,#widgets-right .widget-control-edit .add{display:none}.editwidget .widget-inside,.widget-control-edit{display:block;padding:0 15px}.widget-control-edit{color:#666;background:#EEE;line-height:43px;border-right:1px solid #DDD}#widgets-left .widget-control-edit:hover,#widgets-right .widget-control-edit:hover{color:#fff;background:#444;border-right:0;outline:#444 solid 1px}.widgets-holder-wrap .sidebar-description,.widgets-holder-wrap .sidebar-name{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.editwidget{margin:0 auto}.editwidget .widget-control-actions{margin-top:20px}.js .closed br.clear,.js .widgets-holder-wrap.closed .sidebar-description,.js .widgets-holder-wrap.closed .widget{display:none}.js .widgets-holder-wrap.closed .widget.ui-sortable-helper{display:block}#access-off,.no-js .widget-holder .description,.widget-control-noform,.widget-description,.widget-inside,.widgets_access #access-on,.widgets_access .sidebar-name-arrow,.widgets_access .widget-action,.widgets_access .widget-holder .description{display:none}.widget-inside{background:#fff}#removing-widget{display:none;font-weight:400;padding-right:15px;font-size:12px;line-height:1;color:#000}.js #removing-widget{color:#00a0d2}.widgets_access #widget-list,.widgets_access .widget-holder{padding-top:10px}.widgets_access #access-off{display:inline}.widgets_access .sidebar-name,.widgets_access .widget .widget-top{cursor:default}.widget-liquid-left #widgets-left.chooser #available-widgets .widget,.widget-liquid-left #widgets-left.chooser .inactive-sidebar{-webkit-transition:opacity .1s linear;transition:opacity .1s linear;opacity:.2;pointer-events:none}.widget-liquid-left #widgets-left.chooser #available-widgets .widget-in-question{opacity:1;pointer-events:auto}#available-widgets .widget-top:hover,#widgets-left .widget-in-question .widget-top,#widgets-left .widget-top:hover,.widgets-chooser ul,div#widgets-right .widget-top:hover{border-color:#999;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.1);box-shadow:0 1px 2px rgba(0,0,0,.1)}.widgets-chooser ul.widgets-chooser-sidebars{margin:0;list-style-type:none;max-height:300px;overflow:auto}.widgets-chooser{display:none}.widgets-chooser ul{border:1px solid #ccc}.widgets-chooser li{padding:10px 35px 10px 15px;border-bottom:1px solid #ccc;background:#fff;margin:0;cursor:pointer;outline:0;position:relative;-webkit-transition:background .2s ease-in-out;transition:background .2s ease-in-out}.widgets-chooser li:focus,.widgets-chooser li:hover{background:rgba(255,255,255,.7)}.widgets-chooser li:focus:before{content:'\f147';display:block;-webkit-font-smoothing:antialiased;font:400 26px/1 dashicons;color:#999;position:absolute;top:7px;right:5px}.widgets-chooser li:last-child{border:none}.widgets-chooser li.widgets-chooser-selected{background:#00a0d2;color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{content:'\f147';display:block;-webkit-font-smoothing:antialiased;font:400 26px/1 dashicons;color:#fff;position:absolute;top:7px;right:5px}.locale-he-il em,.locale-zh-cn #local-time,.locale-zh-cn #utc-time,.locale-zh-cn .form-wrap p,.locale-zh-cn .howto,.locale-zh-cn .inline-edit-row fieldset span.checkbox-title,.locale-zh-cn .inline-edit-row fieldset span.title,.locale-zh-cn .js .input-with-default-title,.locale-zh-cn .link-to-original,.locale-zh-cn .tablenav .displaying-num,.locale-zh-cn p.description,.locale-zh-cn p.help,.locale-zh-cn p.install-help,.locale-zh-cn span.description{font-style:normal}.widgets-chooser .widgets-chooser-actions{padding:10px 0 12px;text-align:center}.widgets-chooser button{margin-left:5px}#available-widgets .widget .widget-top{cursor:pointer}#available-widgets .widget.ui-draggable-dragging .widget-top{cursor:move}@media screen and (max-width:480px){div.widget-liquid-left{width:100%;float:none;border-left:none;padding-left:0}#widgets-left #available-widgets .widget-top,#widgets-left .inactive-sidebar .widgets-sortables,#widgets-left .sidebar-name{margin-left:0}div.widget-liquid-right{width:100%;float:none}div.widget{margin:0 auto 10px!important;max-width:480px}}.locale-de-de #customize-header-actions .button,.locale-de-de-formal #customize-header-actions .button,.locale-ru-ru #customize-header-actions .button{padding:0 5px 1px}@media screen and (max-width:320px){div.widget{max-width:320px}}@media only screen and (min-width:1250px){#widgets-left #available-widgets .widget{width:49%;float:right}.widget.ui-draggable-dragging{min-width:49%}#widgets-left #available-widgets .widget:nth-child(even){float:left}#widgets-right .sidebars-column-1,#widgets-right .sidebars-column-2{float:right;width:49%}#widgets-right .sidebars-column-1{margin-left:2%}#widgets-right.single-sidebar .sidebars-column-1,#widgets-right.single-sidebar .sidebars-column-2{float:none;width:100%;margin:0}}.site-icon-preview .favicon-preview{margin:5px 0 20px;overflow:hidden;position:relative;max-width:180px}.site-icon-preview .browser-title,.site-icon-preview .favicon{height:16px;right:88px;overflow:hidden;position:absolute;top:16px}.site-icon-preview .favicon{width:16px}.site-icon-preview .browser-title{right:109px}.site-icon-preview .app-icon-preview{background-color:#000;-webkit-border-radius:16px;border-radius:16px;height:64px;overflow:hidden;width:64px;margin-top:5px}body.rtl,body.rtl .press-this a.wp-switch-editor{font-family:Tahoma,Arial,sans-serif}.rtl h1,.rtl h2,.rtl h3,.rtl h4,.rtl h5,.rtl h6{font-family:Arial,sans-serif;font-weight:700}body.locale-he-il,body.locale-he-il .press-this a.wp-switch-editor{font-family:Arial,sans-serif}.locale-he-il em{font-weight:700}.locale-zh-cn .hdnle a{font-size:12px}.locale-zh-cn form.upgrade .hint{font-style:normal;font-size:100%}.locale-zh-cn #sort-buttons{font-size:1em!important}.locale-de-de #customize-header-actions .spinner,.locale-de-de-formal #customize-header-actions .spinner{margin:16px 3px 0}.locale-ru-ru .inline-edit-row fieldset label span.title,.locale-ru-ru .inline-edit-row fieldset.inline-edit-date legend{width:8em}.locale-ru-ru .inline-edit-row fieldset .timestamp-wrap,.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap{margin-right:8em}.locale-ru-ru.post-new-php .tagsdiv .newtag,.locale-ru-ru.post-php .tagsdiv .newtag{width:165px}.locale-ru-ru.press-this .posting{margin-left:277px}.locale-ru-ru .press-this-sidebar{width:265px}.locale-ru-ru #customize-header-actions .spinner{margin:16px 3px 0}.locale-lt-lt .inline-edit-row fieldset label span.title,.locale-lt-lt .inline-edit-row fieldset.inline-edit-date legend{width:8em}.locale-lt-lt .inline-edit-row fieldset .timestamp-wrap,.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap{margin-right:8em}@media screen and (max-width:782px){.locale-lt-lt .inline-edit-row fieldset .timestamp-wrap,.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap,.locale-ru-ru .inline-edit-row fieldset .timestamp-wrap,.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap{margin-right:0}} \ No newline at end of file + */.ui-draggable-handle,.ui-sortable-handle{-ms-touch-action:none;touch-action:none}.accordion-section{border-bottom:1px solid #dfdfdf;margin:0}.accordion-section.open:hover{border-bottom-color:#dfdfdf}.accordion-section-content{display:none;padding:10px 20px 15px;overflow:hidden;background:#fff}.accordion-section-title{margin:0;padding:12px 15px 15px;position:relative;border-right:1px solid #dfdfdf;border-left:1px solid #dfdfdf;user-select:none}.js .accordion-section-title{cursor:pointer}.js .accordion-section-title:after{position:absolute;top:12px;left:10px;z-index:1}.accordion-section-title:focus{outline:0}.accordion-section-title:focus:after,.accordion-section-title:hover:after{border-color:#a0a5aa transparent}.cannot-expand .accordion-section-title{cursor:auto}.cannot-expand .accordion-section-title:after{display:none}.control-section .accordion-section-title{border-right:none;border-left:none;padding:10px 14px 11px 10px;line-height:21px;background:#fff}.control-section .accordion-section-title:after{top:11px}.js .control-section .accordion-section-title:focus,.js .control-section .accordion-section-title:hover,.js .control-section.open .accordion-section-title,.js .control-section:hover .accordion-section-title{color:#23282d;background:#f5f5f5}.control-section.open .accordion-section-title{border-bottom:1px solid #dfdfdf}.network-admin .edit-site-actions{margin-top:0}.my-sites{display:block;overflow:auto;zoom:1}.my-sites li{display:block;padding:8px 3%;min-height:130px;margin:0}@media only screen and (max-width:599px){.my-sites li{min-height:0}}@media only screen and (min-width:600px){.my-sites.striped li{background-color:#fff;position:relative}.my-sites.striped li:after{content:"";width:1px;height:100%;position:absolute;top:0;left:0;background:#ccc}}@media only screen and (min-width:600px) and (max-width:699px){.my-sites li{float:right;width:44%}.my-sites.striped li{background-color:#fff}.my-sites.striped li:nth-of-type(2n+1){clear:right}.my-sites.striped li:nth-of-type(2n+2):after{content:none}.my-sites li:nth-of-type(4n+1),.my-sites li:nth-of-type(4n+2){background-color:#f9f9f9}}@media only screen and (min-width:700px) and (max-width:1199px){.my-sites li{float:right;width:27.333333%;background-color:#fff}.my-sites.striped li:nth-of-type(3n+3):after{content:none}.my-sites li:nth-of-type(6n+1),.my-sites li:nth-of-type(6n+2),.my-sites li:nth-of-type(6n+3){background-color:#f9f9f9}}@media only screen and (min-width:1200px) and (max-width:1399px){.my-sites li{float:right;width:21%;padding:8px 2%;background-color:#fff}.my-sites.striped li:nth-of-type(4n+1){clear:right}.my-sites.striped li:nth-of-type(4n+4):after{content:none}.my-sites li:nth-of-type(8n+1),.my-sites li:nth-of-type(8n+2),.my-sites li:nth-of-type(8n+3),.my-sites li:nth-of-type(8n+4){background-color:#f9f9f9}}@media only screen and (min-width:1400px) and (max-width:1599px){.my-sites li{float:right;width:16%;padding:8px 2%;background-color:#fff}.my-sites.striped li:nth-of-type(5n+1){clear:right}.my-sites.striped li:nth-of-type(5n+5):after{content:none}.my-sites li:nth-of-type(10n+1),.my-sites li:nth-of-type(10n+2),.my-sites li:nth-of-type(10n+3),.my-sites li:nth-of-type(10n+4),.my-sites li:nth-of-type(10n+5){background-color:#f9f9f9}}@media only screen and (min-width:1600px){.my-sites li{float:right;width:12.666666%;padding:8px 2%;background-color:#fff}.my-sites.striped li:nth-of-type(6n+1){clear:right}.my-sites.striped li:nth-of-type(6n+6):after{content:none}.my-sites li:nth-of-type(12n+1),.my-sites li:nth-of-type(12n+2),.my-sites li:nth-of-type(12n+3),.my-sites li:nth-of-type(12n+4),.my-sites li:nth-of-type(12n+5),.my-sites li:nth-of-type(12n+6){background-color:#f9f9f9}}@media only screen and (min-width:769px){#col-left{width:35%}#col-right{width:65%}}@media only screen and (max-width:860px){#col-left{width:35%}#col-right{width:65%}}@media only screen and (min-width:980px){#col-left{width:35%}#col-right{width:65%}}@media only screen and (max-width:768px){#col-left,#col-right{width:100%}}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){div.star-holder,div.star-holder .star-rating{background:url(../images/stars-2x.png?ver=20121108) bottom left repeat-x;-webkit-background-size:21px 37px;background-size:21px 37px}.spinner{background-image:url(../images/spinner-2x.gif)}#bulk-titles div a,#bulk-titles div a:hover,#screen-meta-links a.show-settings,.curtime #timestamp,.meta-box-sortables .postbox:hover .handlediv,.sidebar-name-arrow,.sidebar-name:hover .sidebar-name-arrow,.tagchecklist span a,.tagchecklist span a:hover,.widget-top a.widget-action,.widget-top a.widget-action:hover{background:0 0!important}}@-ms-viewport{width:device-width}@media screen and (max-width:782px){#template div,#templateside{float:none;width:auto}html.wp-toolbar{padding-top:46px}body{min-width:240px;overflow-x:hidden}body *{-webkit-tap-highlight-color:rgba(0,0,0,0)!important}#wpcontent{position:relative;margin-right:0;padding-right:10px}#wpbody-content{padding-bottom:100px}.wrap{margin-left:12px;margin-right:0}.col-wrap{padding:0}#collapse-menu,#screen-meta,#screen-meta-links,.post-format-select{display:none!important}.wrap .add-new-h2,.wrap .add-new-h2:active,.wrap .page-title-action,.wrap .page-title-action:active{padding:10px 15px;font-size:14px;white-space:nowrap}.wp-color-result{height:auto;padding-right:45px}.wp-color-result:after{font-size:14px;height:auto;padding:6px 14px}.media-upload-form div.error,.notice,.wrap div.error,.wrap div.updated{margin:20px 0 10px;padding:5px 10px;font-size:14px;line-height:175%}.wp-core-ui .notice.is-dismissible{padding-left:46px}.notice-dismiss{padding:13px}.wrap .icon32+h2{margin-top:-2px}.wp-responsive-open #wpbody{left:-190px}code{word-wrap:break-word}.postbox{font-size:14px}.metabox-holder .postbox>h3,.metabox-holder .stuffbox>h3,.metabox-holder h2,.metabox-holder h3.hndle{padding:12px}.postbox .handlediv{margin-top:3px}.subsubsub{font-size:16px;text-align:center;margin-bottom:15px}#templateside li{margin:0}#templateside li a{display:block;padding:5px}#templateside .highlight{padding:5px;margin-right:-5px;margin-top:-5px}#template div{margin:0}#template textarea{width:100%}.fileedit-sub .alignright{margin-top:15px}#comments-form .checkforspam,#wpfooter{display:none}.edit-comment-author{margin:2px 0 0}.filter-drawer .filter-group-feature input,.filter-drawer .filter-group-feature label{line-height:25px}}@media screen and (max-width:600px){#wpwrap.wp-responsive-open,div#post-body.metabox-holder.columns-1{overflow-x:hidden}html.wp-toolbar{padding-top:0}#wpbody{padding-top:46px}.wrap h2.nav-tab-wrapper,h1.nav-tab-wrapper,h3.nav-tab-wrapper{padding-right:0;border-bottom:0}h1 .nav-tab,h2 .nav-tab,h3 .nav-tab{margin-top:10px;margin-left:10px;border-bottom:1px solid #ccc}}#pressthis-code-wrap,textarea{overflow:auto}@media screen and (max-width:320px){#network_dashboard_right_now .subsubsub{font-size:14px;text-align:right}}input,textarea{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type=text],input[type=password],input[type=checkbox],input[type=color],input[type=date],input[type=datetime],input[type=datetime-local],input[type=email],input[type=month],input[type=number],input[type=radio],input[type=tel],input[type=time],input[type=url],input[type=week],input[type=search],select,textarea{border:1px solid #ddd;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.07);box-shadow:inset 0 1px 2px rgba(0,0,0,.07);background-color:#fff;color:#32373c;outline:0;-webkit-transition:50ms border-color ease-in-out;transition:50ms border-color ease-in-out}input[type=text]:focus,input[type=password]:focus,input[type=checkbox]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime]:focus,input[type=datetime-local]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=radio]:focus,input[type=tel]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,input[type=search]:focus,select:focus,textarea:focus{border-color:#5b9dd9;-webkit-box-shadow:0 0 2px rgba(30,140,190,.8);box-shadow:0 0 2px rgba(30,140,190,.8)}input[type=number]{line-height:inherit}input[type=checkbox],input[type=radio]{border:1px solid #b4b9be;background:#fff;color:#555;clear:none;cursor:pointer;display:inline-block;line-height:0;height:16px;margin:-4px 0 0 4px;outline:0;padding:0!important;text-align:center;vertical-align:middle;width:16px;min-width:16px;-webkit-appearance:none;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1);-webkit-transition:.05s border-color ease-in-out;transition:.05s border-color ease-in-out}input[type=radio]:checked+label:before{color:#82878c}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#00a0d2}.wp-admin p input[type=checkbox],.wp-admin p input[type=radio],td>input[type=checkbox]{margin-top:0}.wp-admin p label input[type=checkbox]{margin-top:-4px}.wp-admin p label input[type=radio]{margin-top:-2px}input[type=radio]{-webkit-border-radius:50%;border-radius:50%;margin-left:4px;line-height:10px}input[type=checkbox]:checked:before,input[type=radio]:checked:before{float:right;display:inline-block;vertical-align:middle;width:16px;font:400 21px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}input[type=checkbox]:checked:before{content:"\f147";margin:-3px -4px 0 0;color:#1e8cbe}input[type=radio]:checked:before{content:"\2022";text-indent:-9999px;-webkit-border-radius:50px;border-radius:50px;font-size:24px;width:6px;height:6px;margin:4px;line-height:16px;background-color:#1e8cbe}@-moz-document url-prefix(){.form-table input.tog,input[type=checkbox],input[type=radio]{margin-bottom:-1px}}input[type=search]{-webkit-appearance:textfield}input[type=search]::-webkit-search-decoration{display:none}.ie8 input[type=password]{font-family:sans-serif}button,input,select,textarea{font-family:inherit;font-size:inherit;font-weight:inherit}input,select,textarea{font-size:14px;-webkit-border-radius:0;border-radius:0}textarea{padding:2px 6px;line-height:1.4}.wp-admin input[type=file]{padding:3px 0}label{cursor:pointer}input,select{margin:1px;padding:3px 5px}input.code{padding-top:6px}textarea.code{line-height:1.4;padding:4px 6px 1px}input.readonly,input[readonly],textarea.readonly,textarea[readonly]{background-color:#eee}.wp-core-ui :-moz-placeholder,:-moz-placeholder{color:#a9a9a9}.form-invalid input,.form-invalid input:focus,.form-invalid select,.form-invalid select:focus{border-color:#dc3232!important;-webkit-box-shadow:0 0 2px rgba(204,0,0,.8);box-shadow:0 0 2px rgba(204,0,0,.8)}.form-table .form-required.form-invalid td:after{content:"\f534";font:400 20px/1 dashicons;color:#dc3232;margin-right:-25px;vertical-align:middle}.form-table .form-required.user-pass1-wrap.form-invalid td:after{content:''}.form-table .form-required.user-pass1-wrap.form-invalid .password-input-wrapper:after{content:'\f534';font:400 20px/1 dashicons;color:#dc3232;margin:0 -29px 0 6px;vertical-align:middle}.form-input-tip{color:#666}input.disabled,input:disabled,select.disabled,select:disabled,textarea.disabled,textarea:disabled{background:rgba(255,255,255,.5);border-color:rgba(222,222,222,.75);-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.04);box-shadow:inset 0 1px 2px rgba(0,0,0,.04);color:rgba(51,51,51,.5)}input[type=file].disabled,input[type=file]:disabled,input[type=range].disabled,input[type=range]:disabled{background:0 0;-webkit-box-shadow:none;box-shadow:none}input[type=checkbox].disabled,input[type=checkbox].disabled:checked:before,input[type=checkbox]:disabled,input[type=checkbox]:disabled:checked:before,input[type=radio].disabled,input[type=radio].disabled:checked:before,input[type=radio]:disabled,input[type=radio]:disabled:checked:before{opacity:.7}.wp-admin select{padding:2px;line-height:28px;height:28px}.wp-admin .button-cancel{padding:0 5px;line-height:2}.meta-box-sortables select{max-width:100%}.wp-admin select[multiple]{height:auto}.submit{padding:1.5em 0;margin:5px 0;-webkit-border-bottom-right-radius:3px;border-bottom-right-radius:3px;-webkit-border-bottom-left-radius:3px;border-bottom-left-radius:3px;border:none}p.submit{text-align:right;max-width:100%;margin-top:20px;padding-top:10px}.textright p.submit{border:none;text-align:left}table.form-table+input+input+p.submit,table.form-table+input+p.submit,table.form-table+p.submit{border-top:none;padding-top:0}#major-publishing-actions input,#minor-publishing-actions .preview,#minor-publishing-actions input{text-align:center}input.all-options,textarea.all-options{width:250px}input.large-text,textarea.large-text{width:99%}input.regular-text{width:25em}input.small-text{width:50px;padding:1px 6px}input[type=number].small-text{width:65px}input.tiny-text{width:35px}input[type=number].tiny-text{width:45px}#doaction,#doaction2,#post-query-submit{margin:1px 0 0 8px}.tablenav #changeit,.tablenav #clear-recent-list,.tablenav #delete_all,.wp-filter #delete_all{margin-top:1px}.tablenav .actions select{float:right;margin-left:6px;max-width:200px}.ie8 .tablenav .actions select{width:155px}.ie8 .tablenav .actions select#cat{width:200px}#timezone_string option{margin-right:1em}#upload-form label{color:#777}button.wp-hide-pw>.dashicons{position:relative;top:3px}#misc-publishing-actions label,.options-media-php label[for*="_size_"]{vertical-align:baseline}#misc-publishing-actions label[for=post_status]:before{content:"\f173";display:inline-block;font:400 20px/1 dashicons;speak:none;right:-1px;padding:0 0 0 5px;position:relative;top:0;text-decoration:none!important;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#pass1-text,.pw-weak,.show-password #pass1{display:none}#pass-strength-result{background-color:#eee;border:1px solid #ddd;color:#23282d;margin:-2px 1px 5px 5px;padding:3px 5px;text-align:center;width:25em;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;opacity:0}#pass-strength-result.short{background-color:#f1adad;border-color:#e35b5b;opacity:1}#pass-strength-result.bad{background-color:#fbc5a9;border-color:#f78b53;opacity:1}#pass-strength-result.good{background-color:#ffe399;border-color:#ffc733;opacity:1}#pass-strength-result.strong{background-color:#c1e1b9;border-color:#83c373;opacity:1}#pass1-text.short,#pass1.short{border-color:#e35b5b}#pass1-text.bad,#pass1.bad{border-color:#f78b53}#pass1-text.good,#pass1.good{border-color:#ffc733}#pass1-text.strong,#pass1.strong{border-color:#83c373}.indicator-hint{padding-top:8px}.show-password #pass1-text{display:inline-block}.form-table span.description.important{font-size:12px}p.search-box{float:left;margin:0}.network-admin.themes-php p.search-box{clear:right}.search-box input[name="s"],.tablenav .search-plugins input[name="s"],.tagsdiv .newtag{float:right;height:28px;margin:0 0 0 4px}input[type=text].ui-autocomplete-loading,input[type=email].ui-autocomplete-loading{background-image:url(../images/loading.gif);background-repeat:no-repeat;background-position:left center;visibility:visible}input.ui-autocomplete-input.open{border-bottom-color:transparent}ul#add-to-blog-users{margin:0 14px 0 0}.ui-autocomplete{padding:0;margin:0;list-style:none;position:absolute;z-index:10000;border:1px solid #5b9dd9;-webkit-box-shadow:0 1px 2px rgba(30,140,190,.8);box-shadow:0 1px 2px rgba(30,140,190,.8);background-color:#fff}.ui-autocomplete li{margin-bottom:0;padding:4px 10px;text-align:right}.ui-autocomplete li.ui-state-focus{background-color:#ddd;cursor:pointer}.form-table{margin-top:.5em;width:100%;clear:both}.form-table,.form-table td,.form-table td p,.form-table th,.form-wrap label{font-size:14px}.form-table td{margin-bottom:9px;padding:15px 10px;line-height:1.3;vertical-align:middle}.form-table th,.form-wrap label{color:#23282d;font-weight:400;text-shadow:none;vertical-align:baseline}.form-table th{vertical-align:top;text-align:right;padding:20px 0 20px 10px;width:200px;line-height:1.3;font-weight:600}.form-table th.th-full{width:auto;font-weight:400}.form-table td p{margin-top:4px;margin-bottom:0}.form-table td fieldset label{margin:.25em 0 .5em!important;display:inline-block}.form-table td fieldset label,.form-table td fieldset li,.form-table td fieldset p{line-height:1.4em}.form-table input.tog,.form-table input[type=radio]{margin-top:-4px;margin-left:4px;float:none}.form-table .pre{padding:8px;margin:0}table.form-table td .updated{font-size:13px}table.form-table td .updated p{font-size:13px;margin:.3em 0}#profile-page .form-table textarea{width:500px;margin-bottom:6px}#profile-page .form-table #rich_editing{margin-left:5px}#your-profile legend{font-size:22px}#display_name{width:15em}#adduser .form-field input,#createuser .form-field input{width:25em}.color-option{display:inline-block;width:24%;padding:5px 15px 15px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin-bottom:3px;cursor:pointer}.color-option.selected,.color-option:hover{background:#ddd}.color-palette{width:100%;border-spacing:0}.color-palette td{height:20px;padding:0;border:none}.tool-box .title{margin:8px 0;font-size:18px;font-weight:400;line-height:24px}.label-responsive{vertical-align:middle}#export-filters p{margin:0 0 1em}#export-filters p.submit{margin:7px 0 5px}.card{position:relative;margin-top:20px;padding:.7em 2em 1em;min-width:255px;max-width:520px;border:1px solid #e5e5e5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);background:#fff}.pressthis h4{margin:2em 0 1em}.pressthis textarea{width:100%;font-size:1em}.pressthis-bookmarklet-wrapper{margin:20px 0 8px;vertical-align:top;position:relative;z-index:1}.pressthis-bookmarklet,.pressthis-bookmarklet:active,.pressthis-bookmarklet:focus,.pressthis-bookmarklet:hover{display:inline-block;position:relative;cursor:move;color:#32373c;background:#e6e6e6;-webkit-border-radius:5px;border-radius:5px;border:1px solid #b4b4b4;font-style:normal;line-height:16px;font-size:14px;text-decoration:none}.pressthis-bookmarklet:active{outline:0}.pressthis-bookmarklet:after{content:"";width:70%;height:55%;z-index:-1;position:absolute;left:10px;bottom:9px;background:0 0;-webkit-transform:skew(-20deg) rotate(-6deg);-ms-transform:skew(-20deg) rotate(-6deg);transform:skew(-20deg) rotate(-6deg);-webkit-box-shadow:0 10px 8px rgba(0,0,0,.6);box-shadow:0 10px 8px rgba(0,0,0,.6)}.pressthis-bookmarklet:hover:after{-webkit-transform:skew(-20deg) rotate(-9deg);-ms-transform:skew(-20deg) rotate(-9deg);transform:skew(-20deg) rotate(-9deg);-webkit-box-shadow:0 10px 8px rgba(0,0,0,.7);box-shadow:0 10px 8px rgba(0,0,0,.7)}.pressthis-bookmarklet span{display:inline-block;margin:0;padding:0 9px 8px 12px}.pressthis-js-toggle,.pressthis-js-toggle.button.button{margin-right:10px;padding:0;height:auto;vertical-align:top}.pressthis-bookmarklet span:before{color:#777;font:400 20px/1 dashicons;content:"\f157";position:relative;display:inline-block;top:4px;margin-left:4px}.pressthis-js-toggle .dashicons{margin:5px 7px 6px 8px;color:#777}#local-time,#utc-time{padding-right:25px;font-style:italic}.defaultavatarpicker .avatar{margin:2px 0;vertical-align:middle}.options-general-php input.small-text{width:56px}.options-general-php .spinner{float:none;margin:0 3px}.options-general-php .language-install-spinner,.settings-php .language-install-spinner{display:inline-block;float:none;margin:-3px 5px 0;vertical-align:middle}.setup-php textarea{max-width:100%}.form-field #site-address{max-width:25em}.form-field #domain{max-width:22em}.form-field #admin-email,.form-field #blog_last_updated,.form-field #blog_registered,.form-field #path,.form-field #site-title{max-width:25em}#search-sites,#search-users,#the-comment-list td.comment img{max-width:100%}.form-field #path{margin-bottom:5px}.request-filesystem-credentials-dialog{display:none}.request-filesystem-credentials-dialog .notification-dialog{top:15%;max-height:85%}.request-filesystem-credentials-dialog-content{margin:25px}#request-filesystem-credentials-title{font-size:1.3em;margin:1em 0}.request-filesystem-credentials-form legend{font-size:1em;padding:1.33em 0;font-weight:600}.request-filesystem-credentials-form input[type=text],.request-filesystem-credentials-form input[type=password]{display:block}.request-filesystem-credentials-dialog input[type=text],.request-filesystem-credentials-dialog input[type=password]{width:100%}.request-filesystem-credentials-form .field-title{font-weight:600}.request-filesystem-credentials-dialog label[for=hostname],.request-filesystem-credentials-dialog label[for=public_key],.request-filesystem-credentials-dialog label[for=private_key]{display:block;margin-bottom:1em}.request-filesystem-credentials-dialog .ftp-password,.request-filesystem-credentials-dialog .ftp-username{float:right;width:48%}.request-filesystem-credentials-dialog .ftp-password{margin-right:4%}.request-filesystem-credentials-dialog .request-filesystem-credentials-action-buttons{text-align:left}.request-filesystem-credentials-dialog label[for=ftp]{margin-left:10px}#request-filesystem-credentials-dialog .button:not(:last-child){margin-left:10px}#request-filesystem-credentials-form .cancel-button{display:none}#request-filesystem-credentials-dialog .cancel-button{display:inline}@media screen and (max-width:782px){textarea{-webkit-appearance:none}input[type=text],input[type=password],input[type=email],input[type=number],input[type=search]{-webkit-appearance:none;padding:6px 10px}input.code{padding-bottom:5px;padding-top:10px}.widefat tfoot td input[type=checkbox],.widefat th input[type=checkbox],.widefat thead td input[type=checkbox],input[type=checkbox]{-webkit-appearance:none;padding:10px}.widefat tfoot td input[type=checkbox],.widefat th input[type=checkbox],.widefat thead td input[type=checkbox]{margin-bottom:8px}.widefat tfoot td input[type=checkbox]:before,.widefat th input[type=checkbox]:before,.widefat thead td input[type=checkbox]:before,input[type=checkbox]:checked:before{font:400 30px/1 dashicons;margin:-3px -5px}input[type=checkbox],input[type=radio]{height:25px;width:25px}.wp-admin p input[type=checkbox],.wp-admin p input[type=radio]{margin-top:-3px}input[type=radio]:checked:before{vertical-align:middle;width:9px;height:9px;margin:7px;line-height:16px}.wp-upload-form input[type=submit]{margin-top:10px}#wpbody select{height:36px;font-size:16px}.wp-admin .button-cancel{padding:0;font-size:14px}#adduser .form-field input,#createuser .form-field input{width:100%}.form-table{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.form-table td,.form-table th,.label-responsive{display:block;width:auto;vertical-align:middle}.label-responsive{margin:.5em 0}.export-filters li{margin-bottom:0}.form-table .color-palette td{display:table-cell;width:15px}.form-table table.color-palette{margin-left:10px}input,textarea{font-size:16px}#profile-page .form-table textarea,.form-table span.description,.form-table td input[type=text],.form-table td input[type=password],.form-table td input[type=email],.form-table td select,.form-table td textarea{width:100%;font-size:16px;line-height:1.5;padding:7px 10px;display:block;max-width:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.form-table .form-required.form-invalid td:after{float:left;margin:-30px 0 0 3px}#wpbody .form-table td select{height:40px}.form-table input[type=text].small-text,input[type=text].small-text,input[type=password].small-text,input[type=number].small-text,input[type=search].small-text{width:auto;max-width:55px;display:inline;padding:3px 6px;margin:0 3px}#pass-strength-result{width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:8px}p.search-box{float:none;position:absolute;bottom:0;width:98%;height:90px;margin-bottom:20px}p.search-box input[name="s"]{height:auto;float:none;width:100%;margin-bottom:10px;vertical-align:middle;-webkit-appearance:none}p.search-box input[type=submit]{margin-bottom:10px}.form-table span.description{display:inline;padding:4px 0 0;line-height:1.4em;font-size:14px}.form-table th{padding-top:10px;padding-bottom:0;border-bottom:0}.form-table td{margin-bottom:0;padding-bottom:6px;padding-top:4px;padding-right:0}.form-table.permalink-structure td code{margin-right:32px}.form-table.permalink-structure td input[type=text]{margin-right:32px;margin-top:4px;width:96%}.form-table input.regular-text{width:100%}.form-table label{font-size:14px}.form-table fieldset label{display:block}#utc-time{margin-top:10px}#local-time,#utc-time{display:block;float:none;padding:0;line-height:2}.form-field #domain{max-width:none}.wp-pwd{position:relative}.wp-pwd [type=text],.wp-pwd [type=password]{padding-left:40px}.wp-pwd button.button{background:0 0;border:none;-webkit-box-shadow:none;box-shadow:none;line-height:2;margin:0;padding:5px 10px;position:absolute;left:0;top:0}.wp-pwd button.button:active,.wp-pwd button.button:focus,.wp-pwd button.button:hover{background:0 0}.wp-pwd .button .text{display:none}}@media only screen and (max-width:768px){.form-field input[type=text],.form-field input[type=password],.form-field input[type=email],.form-field select,.form-field textarea{width:99%}.form-wrap .form-field{padding:0}#profile-page .form-table textarea{max-width:400px;width:auto}}@media only screen and (max-height:480px){.request-filesystem-credentials-dialog .notification-dialog{width:100%;height:100%;max-height:100%;position:fixed;top:0;margin:0;right:0}}@media screen and (max-width:600px){.color-option{width:49%}}#adminmenu,#adminmenu .wp-submenu,#adminmenuback,#adminmenuwrap{width:160px;background-color:#23282d}#adminmenuback{position:fixed;top:0;bottom:-120px;z-index:1}#adminmenu{clear:right;margin:12px 0;padding:0;list-style:none}.folded #adminmenu,.folded #adminmenu li.menu-top,.folded #adminmenuback,.folded #adminmenuwrap{width:36px}.icon16{height:18px;width:18px;padding:6px;margin:-6px -8px 0 0;float:right}.icon16:before{color:#999;font:400 20px/1 dashicons;speak:none;padding:6px 0;height:34px;width:20px;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}.icon16.icon-dashboard:before{content:"\f226"}.icon16.icon-post:before{content:"\f109"}.icon16.icon-media:before{content:"\f104"}.icon16.icon-links:before{content:"\f103"}.icon16.icon-page:before{content:"\f105"}.icon16.icon-comments:before{content:"\f101";margin-top:1px}.icon16.icon-appearance:before{content:"\f100"}.icon16.icon-plugins:before{content:"\f106"}.icon16.icon-users:before{content:"\f110"}.icon16.icon-tools:before{content:"\f107"}.icon16.icon-settings:before{content:"\f108"}.icon16.icon-site:before{content:"\f112"}.icon16.icon-generic:before{content:"\f111"}.icon16.icon-appearance,.icon16.icon-comments,.icon16.icon-dashboard,.icon16.icon-generic,.icon16.icon-links,.icon16.icon-media,.icon16.icon-page,.icon16.icon-plugins,.icon16.icon-post,.icon16.icon-settings,.icon16.icon-site,.icon16.icon-tools,.icon16.icon-users,.menu-icon-appearance div.wp-menu-image,.menu-icon-comments div.wp-menu-image,.menu-icon-dashboard div.wp-menu-image,.menu-icon-generic div.wp-menu-image,.menu-icon-links div.wp-menu-image,.menu-icon-media div.wp-menu-image,.menu-icon-page div.wp-menu-image,.menu-icon-plugins div.wp-menu-image,.menu-icon-post div.wp-menu-image,.menu-icon-settings div.wp-menu-image,.menu-icon-site div.wp-menu-image,.menu-icon-tools div.wp-menu-image,.menu-icon-users div.wp-menu-image{background-image:none!important}#adminmenuwrap{position:relative;float:right;z-index:9990}#adminmenu *{user-select:none}.theme-overlay .current-label,.widget-title h3,.widget-title h4{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}#adminmenu li{margin:0;padding:0;cursor:pointer}#adminmenu a{display:block;line-height:18px;padding:2px 5px;color:#eee}#adminmenu .wp-submenu a{color:#b4b9be;color:rgba(240,245,250,.7)}#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover{background:0 0}#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a:hover,#adminmenu li.menu-top>a:focus{color:#00b9eb}#adminmenu li.menu-top{border:none;min-height:34px;position:relative}#adminmenu .wp-submenu{list-style:none;position:absolute;top:-1000em;right:160px;overflow:visible}#adminmenu .wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu,.folded #adminmenu a.wp-has-current-submenu:focus+.wp-submenu{padding:7px 0 8px;z-index:9999;background-color:#32373c;-webkit-box-shadow:0 3px 5px rgba(0,0,0,.2);box-shadow:0 3px 5px rgba(0,0,0,.2)}#adminmenu a.menu-top:focus+.wp-submenu,.js #adminmenu .opensub .wp-submenu,.js #adminmenu .sub-open,.no-js li.wp-has-submenu:hover .wp-submenu{top:-1px}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu .wp-submenu.sub-open,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.no-js li.wp-has-current-submenu:hover .wp-submenu{position:relative;z-index:3;top:auto;right:auto;left:auto;bottom:auto;border:0;margin-top:0;-webkit-box-shadow:none;box-shadow:none;background-color:#32373c}#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{position:relative;background-color:#191e23;color:#00b9eb}.folded #adminmenu li.menu-top:hover,.folded #adminmenu li.opensub>a.menu-top,.folded #adminmenu li>a.menu-top:focus{z-index:10000}#adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu .wp-menu-arrow,#adminmenu .wp-menu-arrow div,#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top,.folded #adminmenu li.wp-has-current-submenu{background:#0073aa;color:#fff}.folded #adminmenu .opensub .wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu.sub-open,.folded #adminmenu .wp-has-current-submenu a.menu-top:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu.opensub .wp-submenu,.folded #adminmenu .wp-submenu.sub-open,.folded #adminmenu a.menu-top:focus+.wp-submenu,.no-js.folded #adminmenu .wp-has-submenu:hover .wp-submenu{top:0;right:36px}.folded #adminmenu .wp-has-current-submenu .wp-submenu,.folded #adminmenu a.wp-has-current-submenu:focus+.wp-submenu{position:absolute;top:-1000em}#adminmenu .wp-not-current-submenu .wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{min-width:160px;width:auto}#adminmenu .wp-submenu a{font-size:13px;line-height:1.2;margin:0;padding:6px 0}#adminmenu .opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current,#adminmenu .wp-submenu li.current a,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-not-current-submenu li>a,.folded #adminmenu .wp-has-current-submenu li>a{padding-left:16px;padding-right:14px;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}#adminmenu .wp-has-current-submenu ul>li>a,.folded #adminmenu li.menu-top .wp-submenu>li>a{padding:6px 12px}#adminmenu .wp-submenu-head,#adminmenu a.menu-top{font-size:14px;font-weight:400;line-height:18px;padding:0}#adminmenu .wp-submenu-head{display:none}.folded #adminmenu .wp-menu-name{position:absolute;right:-999px}.folded #adminmenu .wp-submenu-head{display:block}#adminmenu .wp-submenu li{padding:0;margin:0;overflow:hidden}#adminmenu .wp-menu-image img{padding:9px 0 0;opacity:.6;filter:alpha(opacity=60)}#adminmenu div.wp-menu-name{padding:8px 0}#adminmenu div.wp-menu-image{float:right;width:36px;height:34px;margin:0;text-align:center}#adminmenu div.wp-menu-image.svg{background-repeat:no-repeat;background-position:center;-webkit-background-size:20px auto;background-size:20px auto}div.wp-menu-image:before{color:#a0a5aa;color:rgba(240,245,250,.6);padding:7px 0;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}#adminmenu div.wp-menu-image:before{color:#a0a5aa;color:rgba(240,245,250,.6)}#adminmenu .current div.wp-menu-image:before,#adminmenu .wp-has-current-submenu div.wp-menu-image:before,#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu a.wp-has-current-submenu:hover div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu:hover div.wp-menu-image:before{color:#fff}#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before{color:#00b9eb}.ie8 #adminmenu li.opensub div.wp-menu-image:before{color:#a0a5aa}.folded #adminmenu div.wp-menu-image{width:35px;height:30px;position:absolute;z-index:25}.folded #adminmenu a.menu-top{height:34px}.no-font-face #adminmenu .wp-menu-image{display:none}.no-font-face #adminmenu div.wp-menu-name{padding:8px 12px}.no-font-face.auto-fold #adminmenu .wp-menu-name{margin-right:0}.sticky-menu #adminmenuwrap{position:fixed}.wp-menu-arrow{display:none!important}ul#adminmenu a.wp-has-current-submenu{position:relative}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{left:0;border:8px solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none;border-left-color:#f1f1f1;top:50%;margin-top:-8px}.folded ul#adminmenu li:hover a.wp-has-current-submenu:after{display:none}.folded ul#adminmenu a.wp-has-current-submenu:after,.folded ul#adminmenu>li a.current:after{border-width:4px;margin-top:-4px}#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after{left:0;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none;border-width:8px;top:10px;z-index:10000}.folded ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after{border-width:4px;margin-top:-4px;top:18px}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-left-color:#32373c}#adminmenu li.menu-top:hover .wp-menu-image img,#adminmenu li.wp-has-current-submenu .wp-menu-image img{opacity:1;filter:alpha(opacity=100)}#adminmenu li.wp-menu-separator{height:5px;padding:0;margin:0 0 6px;cursor:inherit}#adminmenu div.separator{height:2px;padding:0}#collapse-button,#collapse-button div{height:15px;width:15px}#adminmenu .wp-submenu .wp-submenu-head{color:#fff;font-weight:400;font-size:14px;padding:8px 11px 8px 4px;margin:-7px 0 4px}#adminmenu li.current,.folded #adminmenu li.wp-menu-open{border:0}#adminmenu .awaiting-mod,#adminmenu .update-plugins{display:inline-block;background-color:#d54e21;color:#fff;font-size:9px;line-height:17px;font-weight:600;margin:1px 2px 0 0;vertical-align:top;-webkit-border-radius:10px;border-radius:10px;z-index:26}#adminmenu li .awaiting-mod span,#adminmenu li span.update-plugins span{display:block;padding:0 6px}#adminmenu li span.count-0,.folded #collapse-menu span{display:none}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod{background-color:#00b9eb;color:#fff}#collapse-menu{font-size:13px;line-height:34px;margin-top:10px;color:#a0a5aa;color:rgba(240,245,250,.6);-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}#collapse-menu:hover,#collapse-menu:hover #collapse-button div:after{color:#00b9eb}#collapse-button{float:right;margin:10px 11px 10px 8px;-webkit-border-radius:10px;border-radius:10px}#wpwrap #collapse-button div{padding:0}#collapse-button div:after{content:"\f148";display:block;line-height:15px;right:-3px;top:-3px;color:#a0a5aa;color:rgba(240,245,250,.6);font:400 20px/1 dashicons!important;speak:none;margin:0 auto;padding:0!important;position:relative;text-align:center;width:20px;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.folded #collapse-button div:after,.rtl #collapse-button div:after{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.rtl.folded #collapse-button div:after{-webkit-transform:none;-ms-transform:none;transform:none}.customize-support #menu-appearance a[href="themes.php?page=custom-header"],.customize-support #menu-appearance a[href="themes.php?page=custom-background"],li#wp-admin-bar-menu-toggle{display:none}@media only screen and (max-width:960px){.auto-fold #wpcontent,.auto-fold #wpfooter{margin-right:36px}.auto-fold #adminmenu,.auto-fold #adminmenu li.menu-top,.auto-fold #adminmenuback,.auto-fold #adminmenuwrap{width:36px}.auto-fold #adminmenu .opensub .wp-submenu,.auto-fold #adminmenu .wp-has-current-submenu .wp-submenu.sub-open,.auto-fold #adminmenu .wp-has-current-submenu a.menu-top:focus+.wp-submenu,.auto-fold #adminmenu .wp-has-current-submenu.opensub .wp-submenu,.auto-fold #adminmenu .wp-submenu.sub-open,.auto-fold #adminmenu a.menu-top:focus+.wp-submenu{top:0;right:36px}.auto-fold #adminmenu .wp-has-current-submenu .wp-submenu,.auto-fold #adminmenu a.wp-has-current-submenu:focus+.wp-submenu{position:absolute;top:-1000em;margin-left:-1px;padding:7px 0 8px;z-index:9999}.auto-fold #adminmenu .wp-has-current-submenu .wp-submenu{min-width:150px;width:auto}.auto-fold #adminmenu .wp-has-current-submenu li>a{padding-left:16px;padding-right:14px}.auto-fold #adminmenu li.menu-top .wp-submenu>li>a{padding-right:12px}.auto-fold #adminmenu .wp-menu-name{position:absolute;right:-999px}.auto-fold #adminmenu .wp-submenu-head{display:block}.auto-fold #adminmenu div.wp-menu-image{height:30px;width:34px;position:absolute;z-index:25}.auto-fold #adminmenu a.menu-top{height:34px}.auto-fold #adminmenu li.wp-menu-open{border:0}.auto-fold #adminmenu .wp-has-current-submenu.menu-top-last{margin-bottom:0}.auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after{display:none}.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after{border-width:4px;margin-top:-4px;top:16px}.auto-fold ul#adminmenu a.wp-has-current-submenu:after,.auto-fold ul#adminmenu>li a.current:after{border-width:4px;margin-top:-4px}.auto-fold #adminmenu li.menu-top:hover,.auto-fold #adminmenu li.opensub>a.menu-top,.auto-fold #adminmenu li>a.menu-top:focus{z-index:10000}.auto-fold #collapse-menu span{display:none}.auto-fold #collapse-button div{background:0 0}.auto-fold #collapse-button div:after{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.rtl.auto-fold #collapse-button div:after{-webkit-transform:none;-ms-transform:none;transform:none}}@media screen and (max-width:782px){.auto-fold #wpcontent{position:relative;margin-right:0;padding-right:10px}.sticky-menu #adminmenuwrap{position:relative;z-index:auto;top:0}.auto-fold #adminmenu,.auto-fold #adminmenuback,.auto-fold #adminmenuwrap{position:absolute;width:190px;z-index:100}.auto-fold #adminmenuback,.auto-fold #adminmenuwrap{display:none}.auto-fold .wp-responsive-open #adminmenuback,.auto-fold .wp-responsive-open #adminmenuwrap{display:block}.auto-fold #adminmenu li.menu-top{width:100%}.auto-fold #adminmenu li a{font-size:16px;padding:5px}.auto-fold #adminmenu li.menu-top .wp-submenu>li>a{padding:10px 20px 10px 10px}.auto-fold #adminmenu .wp-menu-name{position:static;margin-right:35px}.auto-fold ul#adminmenu a.wp-has-current-submenu:after,.auto-fold ul#adminmenu>li.current>a.current:after{border-width:8px;margin-top:-8px}.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after{display:none}#adminmenu .wp-submenu{position:relative;display:none}.auto-fold #adminmenu .selected .wp-submenu,.auto-fold #adminmenu .wp-menu-open .wp-submenu{position:relative;display:block;top:0;right:-1px;-webkit-box-shadow:none;box-shadow:none}.auto-fold #adminmenu .selected .wp-submenu:after,.auto-fold #adminmenu .wp-menu-open .wp-submenu:after{display:none}.auto-fold #adminmenu .opensub .wp-submenu{display:none}.auto-fold #adminmenu .selected .wp-submenu{display:block}.auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after{display:block}.auto-fold #adminmenu .wp-has-current-submenu a.menu-top:focus+.wp-submenu,.auto-fold #adminmenu a.menu-top:focus+.wp-submenu{position:relative;right:-1px;left:0;top:0}#adminmenu .wp-submenu .wp-submenu-head{display:none}#wp-responsive-toggle{position:fixed;top:5px;right:4px;padding-left:10px;z-index:99999;border:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#wpadminbar #wp-admin-bar-menu-toggle a{display:block;padding:0;overflow:hidden;outline:0;text-decoration:none;border:1px solid transparent;background:0 0;height:44px;margin-right:-1px}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#32373c}li#wp-admin-bar-menu-toggle{display:block}#wpadminbar #wp-admin-bar-menu-toggle a:hover{border:1px solid transparent}#wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{content:"\f228";display:inline-block;float:right;font:400 40px/45px dashicons;vertical-align:middle;outline:0;margin:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;height:44px;width:50px;padding:0;border:none;text-align:center;text-decoration:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:#00b9eb}}.postbox,.welcome-panel{-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04)}@media screen and (max-width:600px){#adminmenuback,#adminmenuwrap{display:none}.wp-responsive-open #adminmenuback,.wp-responsive-open #adminmenuwrap{display:block}.auto-fold #adminmenu{top:46px}}#wpbody-content #dashboard-widgets.columns-1 .postbox-container{width:100%}#wpbody-content #dashboard-widgets.columns-2 .postbox-container{width:49.5%}#wpbody-content #dashboard-widgets.columns-2 #postbox-container-2,#wpbody-content #dashboard-widgets.columns-2 #postbox-container-3,#wpbody-content #dashboard-widgets.columns-2 #postbox-container-4{float:left;width:50.5%}#wpbody-content #dashboard-widgets.columns-3 .postbox-container{width:33.5%}#wpbody-content #dashboard-widgets.columns-3 #postbox-container-1{width:33%}#wpbody-content #dashboard-widgets.columns-3 #postbox-container-3,#wpbody-content #dashboard-widgets.columns-3 #postbox-container-4{float:left}#dashboard-widgets .postbox-container,#wpbody-content #dashboard-widgets.columns-4 .postbox-container{width:25%}#dashboard-widgets-wrap .columns-3 #postbox-container-4 .empty-container{border:none!important}.ie8 #wpbody-content #dashboard-widgets .postbox-container{width:49.5%}.ie8 #wpbody-content #dashboard-widgets #postbox-container-2,.ie8 #wpbody-content #dashboard-widgets #postbox-container-3,.ie8 #wpbody-content #dashboard-widgets #postbox-container-4{float:left;width:50.5%}.ie8 #dashboard-widgets #postbox-container-3 .empty-container,.ie8 #dashboard-widgets #postbox-container-4 .empty-container{border:0;height:0;min-height:0}#dashboard-widgets-wrap{overflow:hidden;margin:0 -8px}#dashboard-widgets .postbox .inside{margin-bottom:0}#dashboard-widgets .meta-box-sortables{margin:0 8px;min-height:100px}#the-comment-list td.comment p.comment-author{margin-top:0;margin-right:0}#the-comment-list p.comment-author img{float:right;margin-left:8px}#the-comment-list p.comment-author strong a{border:none}#the-comment-list td{vertical-align:top}.welcome-panel{position:relative;overflow:auto;margin:16px 0;padding:23px 10px 0;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,.04);background:#fff;font-size:13px;line-height:2.1em}#replysubmit,.dashboard-widget-control-form,.mu-storage,.tablenav .actions,th.sortable a,th.sorted a{overflow:hidden}.welcome-panel h2{margin:0;font-size:21px;font-weight:400;line-height:1.2}.welcome-panel h3{margin:1.33em 0 0;font-size:16px}.welcome-panel li{font-size:14px}.welcome-panel p{color:#777}.welcome-panel a{text-decoration:none}.welcome-panel .about-description{font-size:16px;margin:0}.welcome-panel .welcome-panel-close{position:absolute;top:10px;left:10px;padding:10px 21px 10px 15px;font-size:13px;line-height:1.23076923;text-decoration:none}.welcome-panel .welcome-panel-close:before{position:absolute;top:8px;right:0;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}.wp-core-ui .welcome-panel .button.button-hero{margin:15px 0 3px 13px;padding:12px 36px;height:auto;line-height:1.4285714;white-space:normal}.welcome-panel-content{margin-right:13px;max-width:1500px}.welcome-panel .welcome-panel-column-container{clear:both;position:relative}.welcome-panel .welcome-panel-column{width:32%;min-width:200px;float:right}.ie8 .welcome-panel .welcome-panel-column{min-width:230px}.welcome-panel .welcome-panel-column:first-child{width:36%}.welcome-panel-column p.hide-if-no-customize{margin-top:10px}.welcome-panel-column p{margin-top:7px;color:#464646}.welcome-panel .welcome-icon{background:0 0!important}.welcome-panel .welcome-icon:before{color:#82878c;font:400 20px/1 dashicons;speak:none;display:inline-block;padding:0 0 0 10px;top:-1px;position:relative;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;vertical-align:top}.welcome-panel .welcome-edit-page:before,.welcome-panel .welcome-write-blog:before{content:"\f119";top:-3px}.welcome-panel .welcome-add-page:before{content:"\f132"}.welcome-panel .welcome-view-site:before{content:"\f115";top:-2px}.welcome-panel .welcome-widgets-menus:before{content:"\f116";top:-2px}.welcome-panel .welcome-comments:before{content:"\f117";top:-1px}.welcome-panel .welcome-learn-more:before{content:"\f118";top:-1px}.welcome-panel .welcome-widgets-menus{line-height:16px}.welcome-panel .welcome-panel-column ul{margin:.8em 0 1em 1em}.welcome-panel .welcome-panel-column li{line-height:16px;list-style-type:none;padding:0 0 8px}#dashboard_primary .inside{margin:0;padding:0}#dashboard_primary .dashboard-widget-control-form,#dashboard_primary .widget-loading{padding:12px 12px 0}body #dashboard-widgets .postbox form .submit{margin:0}.dashboard-widget-control-form p{margin-top:0}.rssSummary{color:#777;margin-top:4px}#dashboard_primary .rss-widget{border-bottom:1px solid #eee;font-size:13px;padding:8px 12px 10px}#dashboard_primary .rss-widget:last-child{border-bottom:none;padding-bottom:8px}#dashboard_primary .rss-widget a{font-weight:400}#dashboard_primary .rss-widget span,#dashboard_primary .rss-widget span.rss-date{color:#777}#dashboard_primary .rss-widget span.rss-date{margin-right:12px}#dashboard_primary .rss-widget ul li{margin-bottom:8px}#dashboard_right_now ul{margin:0;display:inline-block;width:100%}#dashboard_right_now li{width:50%;float:right;margin-bottom:10px}#dashboard_right_now .inside{padding:0}#dashboard_right_now .main{padding:0 12px 11px}#dashboard_right_now .main p{margin:0}#dashboard_right_now #wp-version-message .button{float:left;position:relative;top:-5px;margin-right:5px}#dashboard-widgets h3.mu-storage{margin:0 0 10px;padding:0;font-size:14px;font-weight:400}#dashboard_right_now li a:before,#dashboard_right_now li span:before{color:#82878c}#dashboard_right_now .sub{color:#777;background:#f5f5f5;border-top:1px solid #eee;padding:10px 12px 6px}#dashboard_right_now .sub h3{color:#555}#dashboard_right_now .sub p{margin:0 0 1em}#dashboard_right_now .warning a:before,#dashboard_right_now .warning span:before{color:#d54e21}#dashboard_quick_press .drafts li time,#title-wrap #title-prompt-text,.textarea-wrap #content-prompt-text{color:#777}#dashboard_right_now li a:before,#dashboard_right_now li span:before{content:"\f159";font:400 20px/1 dashicons;speak:none;display:block;float:right;margin:0 0 0 5px;padding:0;text-indent:0;text-align:center;position:relative;-webkit-font-smoothing:antialiased;text-decoration:none!important}#dashboard_right_now .page-count a:before,#dashboard_right_now .page-count span:before{content:"\f105"}#dashboard_right_now .post-count a:before,#dashboard_right_now .post-count span:before{content:"\f109"}#dashboard_right_now .comment-count a:before{content:"\f101"}#dashboard_right_now .comment-mod-count a:before{content:"\f125"}#dashboard_right_now .storage-count a:before{content:"\f104"}#dashboard_right_now .storage-count.warning a:before{content:"\f153"}#dashboard_quick_press .inside{margin:0;padding:0}#dashboard_quick_press div.updated{margin-bottom:10px;border:1px solid #eee;border-width:1px 0 1px 1px}#dashboard_quick_press form{margin:12px}#dashboard_quick_press .drafts,#dashboard_quick_press .easy-blogging{padding:10px 0 0}input#save-post{float:right}form.initial-form.quickpress-open label.prompt{font-style:normal}form.initial-form.quickpress-open input#title{height:auto}#dashboard_quick_press input,#dashboard_quick_press textarea{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:0}#description-wrap{margin-top:12px}.input-text-wrap,.textarea-wrap{position:relative}.input-text-wrap .prompt,.textarea-wrap .prompt{position:absolute}.textarea-wrap #content-prompt-text{font-size:1.1em;padding:7px 8px}.textarea-wrap textarea#content{margin:0 0 8px;padding:6px 7px}#quick-press textarea#content{min-height:90px;max-height:1300px;resize:none}.js #dashboard_quick_press .drafts{border-top:1px solid #eee}#dashboard_quick_press .drafts abbr{border:none}#dashboard_quick_press .drafts .view-all{float:left;margin:0 0 0 12px}#dashboard_primary a.rsswidget{font-weight:400}#dashboard_quick_press .drafts ul{margin:0 12px}#dashboard_quick_press .drafts li{margin-bottom:1em}#dashboard_quick_press .drafts p{margin:0;word-wrap:break-word}#dashboard_quick_press .draft-title a,#dashboard_quick_press .draft-title time{margin:0 0 0 5px}#dashboard-widgets h3,#dashboard-widgets h4,#dashboard_quick_press .drafts h2{margin:0 12px 8px;padding:0;font-size:14px;font-weight:400;color:#23282d}#dashboard_quick_press .drafts h2{line-height:inherit}#dashboard-widgets .inside h3,#dashboard-widgets .inside h4{margin-right:0;margin-left:0}#dashboard_activity .comment-meta span.approve:before{content:"\f227";font:20px/.5 dashicons;margin-right:12px;vertical-align:middle;position:relative;top:-1px;margin-left:2px}#dashboard_activity .inside{margin:0;padding-bottom:0}#dashboard_activity .no-activity{overflow:hidden;padding:0 0 12px;text-align:center}#dashboard_activity .no-activity p{color:#999;font-size:16px}#dashboard_activity .no-activity .smiley{margin-top:0}#dashboard_activity .no-activity .smiley:before{content:"\f328";font:400 120px/1 dashicons;speak:none;display:block;margin:0 0 0 5px;padding:0;text-indent:0;text-align:center;position:relative;-webkit-font-smoothing:antialiased;text-decoration:none!important}#dashboard-widgets h3 a,#dashboard_browser_nag a{text-decoration:underline}#dashboard_activity .subsubsub{float:none;border-top:1px solid #eee;margin:0 -12px;padding:8px 12px 4px}#future-posts ul,#published-posts ul{clear:both;margin-bottom:0}#future-posts li,#published-posts li{margin-bottom:8px}#future-posts ul span,#published-posts ul span{display:inline-block;margin-left:5px;min-width:150px;color:#777}.activity-block{border-bottom:1px solid #eee;margin:0 -12px;padding:8px 12px 4px}.activity-block:last-child{border-bottom:none}.activity-block .subsubsub li{color:#ddd}#activity-widget #the-comment-list div.undo,#activity-widget #the-comment-list tr.undo{background:0 0;padding:6px 0;margin-right:12px}#activity-widget #the-comment-list .comment-item{background:#fafafa;padding:12px;position:relative}#activity-widget #the-comment-list .avatar{position:absolute;top:13px}#activity-widget #the-comment-list .dashboard-comment-wrap{padding-right:63px}#activity-widget #the-comment-list .dashboard-comment-wrap blockquote{margin:1em 0}#activity-widget #the-comment-list .comment-item p.row-actions{margin:4px 0 0}#activity-widget #the-comment-list .comment-item:first-child{border-top:1px solid #eee}#activity-widget #the-comment-list .unapproved{background-color:#fef7f1}#activity-widget #the-comment-list .unapproved:before{content:"";display:block;position:absolute;right:0;top:0;bottom:0;background:#d54e21;width:4px}#activity-widget #the-comment-list .spam-undo-inside .avatar,#activity-widget #the-comment-list .trash-undo-inside .avatar{position:relative;top:0}#dashboard-widgets #dashboard_browser_nag.postbox .inside{margin:10px}.edit-box{display:none}h3:hover .edit-box{display:inline}#dashboard-widgets form .input-text-wrap input,#dashboard-widgets form .textarea-wrap textarea{width:100%}#dashboard-widgets .postbox form .submit{float:none;margin:.5em 0 0;padding:0;border:none}#dashboard-widgets-wrap #dashboard-widgets .postbox form .submit #publish{min-width:0}#dashboard-widgets a{text-decoration:none}#dashboard-widgets h3 .postbox-title-action{position:absolute;left:10px;padding:0;top:5px}.js #dashboard-widgets h3 .postbox-title-action{left:33px}#dashboard_plugins h5{font-size:14px}#latest-comments #the-comment-list{position:relative;margin:0 -12px}#activity-widget #the-comment-list .comment,#activity-widget #the-comment-list .pingback{-webkit-box-shadow:inset 0 1px 0 rgba(0,0,0,.06);box-shadow:inset 0 1px 0 rgba(0,0,0,.06)}#activity-widget .comments #the-comment-list .alt{background-color:transparent}#activity-widget #latest-comments #the-comment-list .comment-item{padding:1em 12px}#latest-comments #the-comment-list .pingback{padding-right:12px!important}#latest-comments #the-comment-list .comment-item:first-child{border-top:none}#latest-comments #the-comment-list .comment-meta{line-height:1.5em;margin:0;color:#666}#latest-comments #the-comment-list .comment-meta cite{font-style:normal;font-weight:400}#latest-comments #the-comment-list .comment-item blockquote,#latest-comments #the-comment-list .comment-item blockquote p{margin:0;padding:0;display:inline}#latest-comments #the-comment-list .comment-item p.row-actions{margin:3px 0 0;padding:0;font-size:13px}#description-wrap label,#title-wrap label{cursor:text}#title-wrap #title{padding:2px 6px;font-size:1.3em;outline:0}#title-wrap #title-prompt-text{font-size:1.1em;padding:5px 8px}.rss-widget ul{margin:0;padding:0;list-style:none}a.rsswidget{font-size:14px;font-weight:600;line-height:1.7em}.rss-widget ul li{line-height:1.5em;margin-bottom:12px}.rss-widget span.rss-date{color:#999;font-size:13px;margin-right:3px}.rss-widget cite{display:block;text-align:left;margin:0 0 1em;padding:0}.rss-widget cite:before{content:"\2014"}#dashboard_browser_nag a.update-browser-link{font-size:1.2em;font-weight:600}#dashboard_browser_nag a{color:#fff}#dashboard_browser_nag p.browser-update-nag.has-browser-icon{padding-left:125px}#dashboard_browser_nag .browser-icon{margin-top:-35px}#dashboard_browser_nag.postbox.browser-insecure{background-color:#ac1b1b;border-color:#ac1b1b}#dashboard_browser_nag.postbox{background-color:#e29808;background-image:none;border-color:#edc048;color:#fff;-webkit-box-shadow:none;box-shadow:none}#dashboard_browser_nag.postbox.browser-insecure h2{border-bottom-color:#cd5a5a;color:#fff}#dashboard_browser_nag.postbox h2{border-bottom-color:#f6e2ac;background:0 0;color:#fff;-webkit-box-shadow:none;box-shadow:none}#dashboard_browser_nag h2.hndle{border:none;font-weight:600;font-size:20px;padding-top:10px}.postbox#dashboard_browser_nag p a.dismiss{font-size:14px}.postbox#dashboard_browser_nag a,.postbox#dashboard_browser_nag p,.postbox#dashboard_browser_nag p.browser-update-nag{font-size:16px}@media only screen and (max-width:799px){#wpbody-content #dashboard-widgets .postbox-container{width:100%}}@media only screen and (min-width:800px) and (max-width:1499px){#dashboard-widgets #postbox-container-3 .empty-container,#dashboard-widgets #postbox-container-4 .empty-container,#wpbody #wpbody-content .metabox-holder.columns-1 .postbox-container .empty-container{border:0;height:0;min-height:0}#wpbody-content #dashboard-widgets .postbox-container{width:49.5%}#wpbody-content #dashboard-widgets #postbox-container-2,#wpbody-content #dashboard-widgets #postbox-container-3,#wpbody-content #dashboard-widgets #postbox-container-4{float:left;width:50.5%}#wpbody #wpbody-content #dashboard-widgets.columns-1 .postbox-container{width:100%}.index-php .columns-prefs,.index-php .screen-layout{display:block}.columns-prefs .columns-prefs-3,.columns-prefs .columns-prefs-4{display:none}}@media only screen and (min-width:1500px) and (max-width:1800px){#wpbody-content #dashboard-widgets .postbox-container{width:33.5%}#wpbody-content #dashboard-widgets #postbox-container-1{width:33%}#wpbody-content #dashboard-widgets #postbox-container-3,#wpbody-content #dashboard-widgets #postbox-container-4{float:left}#dashboard-widgets #postbox-container-4 .empty-container{border:0;height:0;min-height:0}}@media screen and (max-width:870px){.welcome-panel .welcome-panel-column,.welcome-panel .welcome-panel-column:first-child{display:block;float:none;width:100%}.welcome-panel .welcome-panel-column li{display:inline-block;margin-left:13px}.welcome-panel .welcome-panel-column ul{margin:.4em 0 0}}@media screen and (max-width:782px){#dashboard_recent_comments #the-comment-list .comment-item .avatar{height:30px;width:30px;margin:4px 0 5px 10px}}@media screen and (max-width:600px){.welcome-panel .welcome-panel-close{overflow:hidden;text-indent:40px;white-space:nowrap;width:20px;height:20px;padding:5px;top:5px;left:5px}.welcome-panel .welcome-panel-close:before{font-size:20px;top:5px;right:-35px}}.response-links{display:block;margin-bottom:1em}.response-links a{display:block}.response-links a.comments-edit-item-link{font-weight:600}.response-links a.comments-view-item-link{font-size:12px}.post-com-count-wrapper strong{font-weight:400}.comments-view-item-link{display:inline-block;clear:both}.column-comments .post-com-count-wrapper,.column-response .post-com-count-wrapper{white-space:nowrap;word-wrap:normal}.column-comments .post-com-count,.column-response .post-com-count{display:inline-block;vertical-align:top}.column-comments .post-com-count-approved,.column-comments .post-com-count-no-comments,.column-response .post-com-count-approved,.column-response .post-com-count-no-comments{margin-top:5px}.column-comments .comment-count-approved,.column-comments .comment-count-no-comments,.column-response .comment-count-approved,.column-response .comment-count-no-comments{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;padding:0 8px;min-width:24px;height:2em;-webkit-border-radius:5px;border-radius:5px;background-color:#72777c;color:#fff;font-size:11px;line-height:21px;text-align:center}.plugin-card,.revisions-tickmarks{-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.ie8 .column-comments .comment-count-approved,.ie8 .column-comments .comment-count-no-comments,.ie8 .column-response .comment-count-approved,.ie8 .column-response .comment-count-no-comments{min-width:0}.column-comments .post-com-count-approved:after,.column-comments .post-com-count-no-comments:after,.column-response .post-com-count-approved:after,.column-response .post-com-count-no-comments:after{content:"";display:block;margin-right:8px;width:0;height:0;border-top:5px solid #72777c;border-left:5px solid transparent}.column-comments .post-com-count-approved:focus .comment-count-approved,.column-comments .post-com-count-approved:hover .comment-count-approved,.column-response .post-com-count-approved:focus .comment-count-approved,.column-response .post-com-count-approved:hover .comment-count-approved{background:#0073aa}.column-comments .post-com-count-approved:focus:after,.column-comments .post-com-count-approved:hover:after,.column-response .post-com-count-approved:focus:after,.column-response .post-com-count-approved:hover:after{border-top-color:#0073aa}.column-comments .post-com-count-pending,.column-response .post-com-count-pending{position:relative;right:-3px;padding:0 5px;min-width:7px;height:17px;border:2px solid #fff;-webkit-border-radius:11px;border-radius:11px;background:#ca4a1f;color:#fff;font-size:9px;line-height:17px;text-align:center}.column-comments .post-com-count-no-pending,.column-response .post-com-count-no-pending{display:none}.commentlist li{padding:1em 1em .2em;margin:0;border-bottom:1px solid #ccc}.commentlist li li{border-bottom:0;padding:0}.commentlist p{padding:0;margin:0 0 .8em}#submitted-on,.submitted-on{color:#777}#replyrow td{padding:2px}#replysubmit{margin:0;padding:5px 7px 10px;text-align:center}#replysubmit .button{margin-left:5px}#replysubmit .error{color:red;line-height:21px;text-align:center}#replyrow.inline-edit-row fieldset.comment-reply{font-size:inherit;line-height:inherit}#replyrow legend{margin:0;padding:.2em 5px 0;font-size:13px;line-height:1.4;font-weight:600}#replyrow.inline-edit-row label{display:inline;vertical-align:baseline;line-height:inherit}#commentsdiv #edithead .inside,#edithead .inside{float:right;padding:3px 5px 2px 0;margin:0;text-align:center}#edithead .inside input{width:180px}#edithead label{padding:2px 0}#replycontainer{padding:5px}#replycontent{height:120px;-webkit-box-shadow:none;box-shadow:none}#replyerror{border-color:#ddd;background-color:#f9f9f9}.commentlist .avatar{vertical-align:text-top}#the-comment-list div.undo,#the-comment-list tr.undo{background-color:#f4f4f4}#the-comment-list .unapproved td,#the-comment-list .unapproved th{background-color:#fef7f1}#the-comment-list .unapproved th.check-column{border-right:4px solid #d54e21}#the-comment-list .unapproved th.check-column input{margin-right:4px}#the-comment-list .approve a{color:#006505}#the-comment-list .unapprove a{color:#d98500}#the-comment-list td,#the-comment-list th{-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}#the-comment-list tr:last-child td,#the-comment-list tr:last-child th{-webkit-box-shadow:none;box-shadow:none}#the-comment-list tr.unapproved+tr.approved td,#the-comment-list tr.unapproved+tr.approved th{border-top:1px solid rgba(0,0,0,.03)}.vim-current,.vim-current td,.vim-current th{background-color:#e4f2fd!important}th .comment-grey-bubble{height:16px;width:16px}th .comment-grey-bubble:before{content:"\f101";font:400 20px/.5 dashicons;speak:none;display:inline-block;padding:0;top:4px;right:-4px;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#444}.fixed .column-rating,.fixed .column-visible{width:8%}.fixed .column-author,.fixed .column-date,.fixed .column-format,.fixed .column-links,.fixed .column-parent,.fixed .column-posts{width:10%}.fixed .column-posts{width:74px}.fixed .column-comment .comment-author{display:none}.fixed .column-categories,.fixed .column-rel,.fixed .column-response,.fixed .column-role,.fixed .column-tags{width:15%}.fixed .column-slug{width:25%}.fixed .column-locations{width:35%}.fixed .column-comments{width:5.5em;padding:8px 0;text-align:right}.fixed .column-comments .vers{padding-right:3px}td.column-title strong,td.plugin-title strong{display:block;margin-bottom:.2em;font-size:14px}td.column-title p,td.plugin-title p{margin:6px 0}table.media .column-title .media-icon{float:right;min-height:60px;margin:0 0 0 9px}table.media .column-title .media-icon img{max-width:60px;height:auto;vertical-align:top}table.media .column-title .has-media-icon~.row-actions{margin-right:70px}table.media .column-title .filename{margin-bottom:.2em}.wp-list-table a{-webkit-transition:none;transition:none}#the-list tr:last-child td,#the-list tr:last-child th{border-bottom:none!important;-webkit-box-shadow:none;box-shadow:none}#comments-form .fixed .column-author{width:20%}#comments-form .fixed .column-date{width:14%}#commentsdiv.postbox .inside{margin:0;padding:0}#commentsdiv .inside .row-actions{line-height:18px}#commentsdiv .inside .column-author{width:25%}#commentsdiv .column-comment p{margin:.6em 0;padding:0}#commentsdiv #replyrow td{padding:0}#commentsdiv p{padding:8px 10px;margin:0}#commentsdiv .comments-box{border:0}#commentsdiv .comments-box thead td,#commentsdiv .comments-box thead th{background:0 0;padding:0 7px 4px;font-style:italic}#commentsdiv .comments-box tr:last-child td{border-bottom:0 none}#commentsdiv #edithead .inside input{width:160px}.sorting-indicator{display:block;visibility:hidden;width:10px;height:4px;margin-top:8px;margin-right:7px}.sorting-indicator:before{content:"\f142";font:400 20px/1 dashicons;speak:none;display:inline-block;padding:0;top:-4px;right:-8px;line-height:10px;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#444}.column-comments .sorting-indicator:before{top:0;right:-10px}th.desc a:focus span.sorting-indicator:before,th.desc:hover span.sorting-indicator:before,th.sorted.asc .sorting-indicator:before{content:"\f142"}th.asc a:focus span.sorting-indicator:before,th.asc:hover span.sorting-indicator:before,th.sorted.desc .sorting-indicator:before{content:"\f140"}.wp-list-table .toggle-row{position:absolute;left:8px;top:10px;display:none;padding:0;width:40px;height:40px;border:none;outline:0;background:0 0}.wp-list-table .toggle-row:hover{cursor:pointer}.wp-list-table .toggle-row:focus:before{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.ie8 .wp-list-table .toggle-row:focus:before{outline:#5b9dd9 solid 1px}.wp-list-table .toggle-row:active{-webkit-box-shadow:none;box-shadow:none}.wp-list-table .toggle-row:before{position:absolute;top:-5px;right:10px;-webkit-border-radius:50%;border-radius:50%;display:block;padding:1px 0 1px 2px;color:#666;content:"\f140";font:400 20px/1 dashicons;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:none}.wp-list-table .is-expanded .toggle-row:before{content:"\f142"}tr.wp-locked .locked-indicator{margin-right:6px;height:20px;width:16px}tr.wp-locked .locked-indicator:before{color:#82878c;content:"\f160";display:inline-block;float:right;font:400 20px/1 dashicons;speak:none;vertical-align:middle;margin-right:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}tr.wp-locked .check-column input[type=checkbox],tr.wp-locked .check-column label,tr.wp-locked .row-actions .inline,tr.wp-locked .row-actions .trash{display:none}tr .locked-info{height:0;opacity:0}tr.wp-locked .locked-info{margin-top:8px;height:auto;opacity:1}.locked-text{vertical-align:top}tr.locked-info,tr.wp-locked .locked-info{-webkit-transition:height 1s,opacity .5s;transition:height 1s,opacity .5s}.fixed .column-comments .sorting-indicator{margin-top:3px}#menu-locations-wrap .widefat{width:60%}.widefat th.sortable,.widefat th.sorted{padding:0}th.sortable a,th.sorted a{display:block;padding:8px}.fixed .column-comments.sortable a,.fixed .column-comments.sorted a{padding:8px 0}th.sortable a span,th.sorted a span{float:right;cursor:pointer}th.asc a:focus span.sorting-indicator,th.asc:hover span.sorting-indicator,th.desc a:focus span.sorting-indicator,th.desc:hover span.sorting-indicator,th.sorted .sorting-indicator{visibility:visible}.tablenav-pages a,.tablenav-pages-navspan{font-weight:600;padding:0 2px}.tablenav-pages .current-page{margin:0 0 0 2px;padding-bottom:5px;font-size:13px;text-align:center}.tablenav .total-pages{margin-left:2px}.tablenav #table-paging{margin-right:2px}.tablenav a.button-secondary{display:block;margin:3px 0 0 8px}.tablenav{clear:both;height:30px;margin:6px 0 4px;vertical-align:middle}.tablenav.themes{max-width:98%}.tablenav .tablenav-pages{float:left;height:28px;margin-top:3px;cursor:default;color:#555}.tablenav .no-pages,.tablenav .one-page .pagination-links{display:none}.tablenav .tablenav-pages a,.tablenav-pages span.current{text-decoration:none;padding:3px 6px}.tablenav .tablenav-pages a,.tablenav-pages-navspan{display:inline-block;min-width:17px;border:1px solid #d2d2d2;padding:3px 5px 7px;background:#e4e4e4;font-size:16px;line-height:1;font-weight:400;text-align:center}.tablenav-pages-navspan{height:16px;border-color:#e8e8e8;background:#ebebeb;color:#b4b4b4}.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover{border-color:#5b9dd9;color:#fff;background:#00a0d2;-webkit-box-shadow:none;box-shadow:none;outline:0}.tablenav .displaying-num{margin-left:7px}.tablenav .one-page .displaying-num{display:inline-block;margin-top:5px;margin-left:0}.tablenav .actions{padding:2px 0 0 8px}.wp-filter .actions{display:inline-block;vertical-align:middle}.tablenav .delete{margin-left:20px}.tablenav .dots{border-color:transparent}.tablenav .next,.tablenav .prev{border-color:transparent;color:#0073aa}.tablenav .next:hover,.tablenav .prev:hover{border-color:transparent;color:#00a0d2}.tablenav .view-switch{float:left;margin:0 5px;padding-top:3px}.wp-filter .view-switch{display:inline-block;vertical-align:middle;padding:12px 0;margin:0 2px 0 8px}.media-toolbar.wp-filter .view-switch{margin:0 2px 0 12px}.view-switch a{float:right;width:28px;height:28px;text-align:center;line-height:24px;text-decoration:none}.view-switch a:before{color:#b4b9be;display:inline-block;font:400 20px/1 dashicons;speak:none;vertical-align:middle;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.view-switch a:focus:before,.view-switch a:hover:before{color:#727272}.view-switch a.current:before{color:#0073aa}.view-switch .view-list:before{content:"\f163"}.view-switch .view-excerpt:before{content:"\f164"}.view-switch .view-grid:before{content:"\f509"}.filter{float:right;margin:-5px 10px 0 0}.filter .subsubsub{margin-right:-10px;margin-top:13px}.screen-per-page{width:4em}#posts-filter .wp-filter{margin-bottom:0}#posts-filter fieldset{float:right;margin:0 0 1em 1.5ex;padding:0}#posts-filter fieldset legend{padding:0 1px .2em 0}.row-actions,.row-actions-visible{padding:2px 0 0}p.pagenav{margin:0;display:inline}.pagenav span{font-weight:600;margin:0 6px}.row-title{font-size:14px!important;font-weight:600}.column-comment .comment-author{margin-bottom:.6em}.column-author img,.column-comment .comment-author img,.column-username img{float:right;margin-left:10px;margin-top:1px}.row-actions{color:#ddd;font-size:13px;position:relative;right:-9999em}.plugins,.plugins td,.plugins th,.row-actions .network_active,.row-actions .network_only{color:#000}.rtl .row-actions a{display:inline-block}.mobile .row-actions,.no-js .row-actions,.row-actions.visible,div.comment-item:hover .row-actions,tr:hover .row-actions{position:static}#wpbody-content .inline-edit-row fieldset{font-size:12px;float:right;margin:0;padding:0;width:100%}#wpbody-content .inline-edit-row fieldset .inline-edit-col,tr.inline-edit-row td{padding:0 .5em}#wpbody-content .quick-edit-row-post .inline-edit-col-left{width:40%}#wpbody-content .quick-edit-row-post .inline-edit-col-right{width:39%}#wpbody-content .inline-edit-row-post .inline-edit-col-center{width:20%}#wpbody-content .quick-edit-row-page .inline-edit-col-left{width:50%}#wpbody-content .bulk-edit-row-post .inline-edit-col-right,#wpbody-content .quick-edit-row-page .inline-edit-col-right{width:49%}#wpbody-content .bulk-edit-row .inline-edit-col-left{width:30%}#wpbody-content .bulk-edit-row-page .inline-edit-col-right{width:69%}#wpbody-content .bulk-edit-row .inline-edit-col-bottom{float:left;width:69%}#bulk-titles div a,.inline-edit-row fieldset .inline-edit-date,.plugin-card,.quick-edit-row-post fieldset label.inline-edit-status{float:right}#wpbody-content .inline-edit-row-page .inline-edit-col-right{margin-top:27px}.inline-edit-row fieldset .inline-edit-group{clear:both;line-height:2.5}.inline-edit-row fieldset .inline-edit-group:after{content:".";display:block;height:0;clear:both;visibility:hidden}.inline-edit-row p.submit{clear:both;padding:.5em;margin:.5em 0 0}.inline-edit-row span.error{line-height:22px;margin:0 15px;padding:3px 5px}#the-list .inline-edit-row .inline-edit-legend{margin:0;padding:.2em .5em 0;line-height:2.5;font-weight:600}#the-list #bulk-edit.inline-edit-row .inline-edit-legend{padding:.2em .5em}.inline-edit-row fieldset span.checkbox-title,.inline-edit-row fieldset span.title{margin:0;padding:0;font-style:italic}.inline-edit-row fieldset label,.inline-edit-row fieldset span.inline-edit-categories-label{display:block;margin:.2em 0;line-height:2.5}.inline-edit-row fieldset.inline-edit-date label{display:inline-block;margin:0;line-height:1.5;vertical-align:baseline}.inline-edit-row fieldset label.inline-edit-tags{margin-top:0}.inline-edit-row fieldset label.inline-edit-tags span.title{margin:.2em 0;width:auto}.inline-edit-row fieldset label span.title,.inline-edit-row fieldset.inline-edit-date legend{display:block;float:right;width:6em;line-height:2.5}#posts-filter fieldset.inline-edit-date legend{padding:0}.inline-edit-row fieldset.inline-edit-date select{margin:1px;line-height:28px}.inline-edit-row fieldset .timestamp-wrap,.inline-edit-row fieldset label span.input-text-wrap{display:block;margin-right:6em}.quick-edit-row-post fieldset.inline-edit-col-right label span.title{width:auto;padding-left:.5em}.inline-edit-row .inline-edit-or{margin:.2em 0 .2em 6px;line-height:2.5}.inline-edit-row .input-text-wrap input[type=text]{width:100%}.inline-edit-row fieldset label input[type=checkbox]{vertical-align:middle}.inline-edit-row fieldset label textarea{width:100%;height:4em;vertical-align:top}#bulk-titles,ul.cat-checklist{height:12em;border:1px solid #ddd;overflow-y:scroll;padding:0 5px}#wpbody-content .bulk-edit-row fieldset .inline-edit-group label{max-width:50%}#wpbody-content .quick-edit-row fieldset .inline-edit-group label.alignleft:first-child{margin-left:.5em}.inline-edit-col-right .input-text-wrap input.inline-edit-menu-order-input{width:6em}.inline-edit-row .inline-edit-legend{text-transform:uppercase}.inline-edit-row fieldset input[name=hh],.inline-edit-row fieldset input[name=jj],.inline-edit-row fieldset input[name=mn]{font-size:12px;width:2.3em}.inline-edit-row fieldset input[name=aa]{font-size:12px;width:3.5em}.inline-edit-row fieldset label input.inline-edit-password-input{width:8em}ul.cat-checklist{margin:0;background-color:#fff}#bulk-titles{display:block;margin:0 0 5px;line-height:140%}.inline-edit-row fieldset ul.cat-checklist input,.inline-edit-row fieldset ul.cat-checklist li{margin:0;position:relative}.inline-edit-row #bulk-titles div,.inline-edit-row fieldset ul.cat-checklist label{font-style:normal;font-size:11px}.inline-edit-row fieldset label input.inline-edit-menu-order-input{width:3em}.inline-edit-row fieldset label input.inline-edit-slug-input{width:75%}.inline-edit-row #post_parent,.inline-edit-row select[name=page_template]{max-width:80%}.ie8 .inline-edit-row #post_parent,.ie8 .inline-edit-row select[name=page_template]{width:250px}#bulk-titles div{margin:.2em .3em}#bulk-titles div a{cursor:pointer;display:block;height:18px;margin:0 -2px 0 3px;overflow:hidden;position:relative;width:20px}#bulk-titles div a:before{position:relative;top:-3px}.plugins tbody,.plugins tbody th.check-column{padding:8px 2px 0 0}.plugins tbody th.check-column input[type=checkbox]{margin-top:4px}#update-plugins-table tbody td p{margin-top:0}#update-plugins-table tbody td p strong{font-size:14px}.plugins .inactive th.check-column,.plugins tfoot td.check-column,.plugins thead td.check-column{padding-right:6px}#update-plugins-table tfoot td.check-column,#update-plugins-table thead td.check-column{padding-top:11px}.plugins tr{background:#fff}.plugins p{margin:0 4px;padding:0}.plugins .desc p{margin:0 0 8px}.plugins td.desc{line-height:1.5em}.plugins .desc ol,.plugins .desc ul{margin:0 2em 0 0}.plugins .desc ul{list-style-type:disc}.plugins .row-actions{font-size:13px}.plugins .active td,.plugins .active th,.plugins .inactive td,.plugins .inactive th{padding:10px 9px}.plugins .active td,.plugins .active th{background-color:#f7fcfe}.plugins .update td,.plugins .update th{border-bottom:0}.plugin-update-tr td{border-top:0}.plugin-install #the-list td,.plugins .active td,.plugins .active th,.plugins .inactive td,.plugins .inactive th,.upgrade .plugins td,.upgrade .plugins th{-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}.plugins tr.active+tr.inactive td,.plugins tr.active+tr.inactive th,.plugins tr.active.plugin-update-tr+tr.inactive td,.plugins tr.active.plugin-update-tr+tr.inactive th{border-top:1px solid rgba(0,0,0,.03);-webkit-box-shadow:inset 0 1px 0 rgba(0,0,0,.02),inset 0 -1px 0 #e1e1e1;box-shadow:inset 0 1px 0 rgba(0,0,0,.02),inset 0 -1px 0 #e1e1e1}.plugins .update td,.plugins .update th,.plugins .updated td,.plugins .updated th,.plugins tr.active+tr.inactive.update td,.plugins tr.active+tr.inactive.update th,.plugins tr.active+tr.inactive.updated td,.plugins tr.active+tr.inactive.updated th,.upgrade .plugins tr:last-of-type td,.upgrade .plugins tr:last-of-type th{-webkit-box-shadow:none;box-shadow:none}.plugins .active.update td,.plugins .active.update th,tr.active.update+tr.plugin-update-tr .plugin-update{background-color:#fef7f1}.plugin-update-tr.active td,.plugins .active th.check-column{border-right:4px solid #00a0d2}.plugins .active.update th.check-column,.plugins .active.update+.plugin-update-tr .plugin-update{border-right:4px solid #d54e21}#wpbody-content .plugins .plugin-title,#wpbody-content .plugins .theme-title{padding-left:12px;white-space:nowrap}.plugins .inactive .plugin-title strong{font-weight:400}.plugins .row-actions,.plugins .second{padding:0 0 5px}.plugins .update .row-actions,.plugins .update .second,.plugins .updated .row-actions,.plugins .updated .second{padding-bottom:0}.plugins-php .widefat tfoot td,.plugins-php .widefat tfoot th{border-top-style:solid;border-top-width:1px}.plugin-update-tr .update-message{font-size:13px;font-weight:400;margin:0 31px 8px 10px;padding:6px 40px 8px 12px;background-color:#f7f7f7;background-color:rgba(0,0,0,.03)}.plugin-card .install-now:before,.plugin-card .update-now:before,.plugin-update-tr .update-message:before{color:#d54e21;display:inline-block;font:400 20px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:top}.plugin-card .update-now:before,.plugin-update-tr .update-message:before{content:"\f463"}.plugin-update-tr .update-message:before{margin:0 -30px 0 10px}.plugin-card .install-now:before,.plugin-card .update-now:before{margin:3px -2px 0 5px}.plugin-card .updating-message:before,.plugin-update-tr .updating-message:before{content:"\f463";-webkit-animation:rotation 2s infinite linear;animation:rotation 2s infinite linear}@-webkit-keyframes rotation{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(-359deg);transform:rotate(-359deg)}}@keyframes rotation{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(-359deg);transform:rotate(-359deg)}}.plugin-card .updated-message:before,.plugin-update-tr .updated-message:before{color:#79ba49;content:"\f147"}.wp-list-table.plugins tbody tr.plugin-update-tr td.plugin-update{overflow:hidden;padding:0;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}tr.active+tr.plugin-update-tr .plugin-update{background-color:#f7fcfe}tr.active+tr.plugin-update-tr:not(.updated) .plugin-update .update-message{background-color:#fcf3ef}.plugin-install-php h2{clear:both}.plugin-install-php h3{margin:2.5em 0 8px}.plugin-install-php .wp-filter{margin-bottom:0}.plugin-group{overflow:hidden;margin-top:1.5em}.plugin-group h3{margin-top:0}.plugin-card{margin:0 8px 16px;width:48.5%;width:-webkit-calc(50% - 8px);width:calc(50% - 8px);background-color:#fff;border:1px solid #dedede;box-sizing:border-box}.plugin-card:nth-child(odd){clear:both;margin-right:0}.plugin-card:nth-child(even){margin-left:0}@media screen and (min-width:1600px){.plugin-card{width:30%;width:-webkit-calc(33.1% - 8px);width:calc(33.1% - 8px)}.plugin-card:nth-child(odd){clear:none;margin-right:8px}.plugin-card:nth-child(even){margin-left:8px}.plugin-card:nth-child(3n+1){clear:both;margin-right:0}.plugin-card:nth-child(3n){margin-left:0}}.plugin-card-top{position:relative;padding:20px 20px 10px;min-height:135px}.plugin-action-buttons,div.action-links{margin:0}.plugin-card h3{margin:0 0 12px;font-size:18px;line-height:1.3}.plugin-card .desc,.plugin-card .name{margin-right:148px;margin-left:120px}.plugin-card .action-links{position:absolute;top:20px;left:20px;width:120px}.plugin-action-buttons{clear:left;float:left;margin-right:2em;margin-bottom:1em;text-align:left}.plugin-action-buttons li{margin-bottom:10px}.plugin-card-bottom{clear:both;padding:12px 20px;background-color:#fafafa;border-top:1px solid #dedede;overflow:hidden}.plugin-card-bottom .star-rating{display:inline}.plugin-card-update-failed .update-now{font-weight:600}.plugin-card-update-failed .notice-error{margin:0;padding-right:16px;-webkit-box-shadow:0 -1px 0 #dedede;box-shadow:0 -1px 0 #dedede}.plugin-card-update-failed .plugin-card-bottom{display:none}.plugin-card .column-rating{line-height:23px}.plugin-card .column-rating,.plugin-card .column-updated{margin-bottom:4px}.plugin-card .column-downloaded,.plugin-card .column-rating{float:right;clear:right;max-width:180px}.plugin-card .column-compatibility,.plugin-card .column-updated{text-align:left;float:left;clear:left;width:65%;width:-webkit-calc(100% - 180px);width:calc(100% - 180px)}.plugin-card .column-compatibility span:before{font:400 20px/.5 dashicons;speak:none;display:inline-block;padding:0;top:4px;right:-2px;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#444}.plugin-card .compatibility-incompatible:before{content:"\f158"}.plugin-card .compatibility-compatible:before{content:"\f147"}.plugin-icon{position:absolute;top:20px;right:20px;width:128px;height:128px;margin:0 0 20px 20px}.no-plugin-results{color:#999;font-size:18px;font-style:normal;margin:0;padding:100px 0 0;text-align:center}.wp-list-table .site-deleted,.wp-list-table tr.site-deleted{background:#ff8573}.wp-list-table .site-spammed,.wp-list-table tr.site-spammed{background:#faafaa}.wp-list-table .site-archived,.wp-list-table tr.site-archived{background:#ffebe8}.wp-list-table .site-mature,.wp-list-table tr.site-mature{background:#fecac2}.sites.fixed .column-lastupdated,.sites.fixed .column-registered{width:20%}.sites.fixed .column-users{width:80px}@media screen and (max-width:1100px) and (min-width:782px),(max-width:480px){.plugin-card .action-links{position:static;margin-right:148px;width:auto}.plugin-action-buttons{float:none;margin:1em 0 0;text-align:right}.plugin-action-buttons li{display:inline-block;vertical-align:middle}.plugin-action-buttons li .button{margin-left:20px}.plugin-card .desc,.plugin-card .name{margin-left:0}.plugin-card .desc p:first-of-type{margin-top:0}.fixed .column-date{width:14%}}@media screen and (max-width:782px){.plugins #the-list tr td,.plugins tr.active+tr.inactive td,.plugins tr.active+tr.inactive th.check-column{border-top:none}.tablenav{height:auto}.tablenav.top{margin:20px 0 5px}.tablenav.bottom{position:relative;margin-top:15px}.tablenav br{display:none}.tablenav br.clear{display:block}.form-wrap>p,.tablenav .view-switch,.tablenav.top .actions,.tablenav.top .displaying-num,.tablenav.top .tablenav-pages.one-page{display:none}.view-switch a{width:36px;height:36px;line-height:33px}.tablenav.bottom .displaying-num{position:absolute;left:0;top:11px;margin:0;font-size:14px}.tablenav .tablenav-pages{width:100%;height:auto;text-align:center;margin:0 0 25px}.tablenav.bottom .tablenav-pages{margin-top:25px}.tablenav.bottom .tablenav-pages.one-page{margin:15px 0 0;height:0}.tablenav-pages .pagination-links{font-size:16px}.tablenav-pages .pagination-links a,.tablenav-pages-navspan{padding:9px 11px 12px;font-size:18px}.tablenav-pages-navspan{height:18px}.tablenav-pages .pagination-links .current-page{padding:8px 9px 9px;font-size:16px}.comment-count{font-size:14px}.wp-list-table th.column-primary~th,.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-primary~td:not(.check-column){display:none}.wp-list-table thead th.column-primary{width:100%}.wp-list-table tr th.check-column{display:table-cell;width:35px}.wp-list-table .column-primary .toggle-row{display:block}.wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.check-column){position:relative;clear:both;display:block;width:auto!important}.wp-list-table td.column-primary{padding-left:50px}.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-primary~td:not(.check-column){padding:3px 35% 3px 8px}.wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.column-primary)::before{position:absolute;right:10px;display:block;overflow:hidden;width:32%;content:attr(data-colname);white-space:nowrap;text-overflow:ellipsis}.wp-list-table .is-expanded td:not(.hidden){display:block!important;overflow:hidden}.column-posts,.widefat .num{text-align:right}#comments-form .fixed .column-author,#commentsdiv .fixed .column-author{display:none!important}.fixed .column-comment .comment-author{display:block}#the-comment-list .is-expanded td{-webkit-box-shadow:none;box-shadow:none}#the-comment-list .is-expanded td:last-child{-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}.post-com-count .screen-reader-text{position:static;width:auto;height:auto;margin:0}.column-comments .post-com-count-approved:after,.column-comments .post-com-count-no-comments:after,.column-response .post-com-count-approved:after,.column-response .post-com-count-no-comments:after{content:none}.column-comments .post-com-count [aria-hidden=true],.column-response .post-com-count [aria-hidden=true]{display:none}#edithead label,.column-comments .post-com-count-wrapper>a,.column-response .post-com-count-wrapper>a{display:block}.column-comments .post-com-count-wrapper,.column-response .post-com-count-wrapper{white-space:normal}.column-comments .post-com-count-approved,.column-comments .post-com-count-no-comments,.column-response .post-com-count-approved,.column-response .post-com-count-no-comments{margin-top:0;margin-left:.5em}.column-comments .post-com-count-pending,.column-response .post-com-count-pending{position:static;height:auto;min-width:0;padding:0;border:none;-webkit-border-radius:0;border-radius:0;background:0 0;color:#bb2a2a;font-size:inherit;line-height:inherit;text-align:right}.column-comments .post-com-count-pending:hover,.column-response .post-com-count-pending:hover{color:#dc3232}.widefat tfoot td.check-column,.widefat thead td.check-column{padding-top:10px}.widefat *{word-wrap:normal}#wpbody-content .bulk-edit-row .inline-edit-col-bottom,#wpbody-content .bulk-edit-row .inline-edit-col-left,#wpbody-content .bulk-edit-row-page .inline-edit-col-right,#wpbody-content .bulk-edit-row-post .inline-edit-col-right,#wpbody-content .inline-edit-row-post .inline-edit-col-center,#wpbody-content .quick-edit-row-page .inline-edit-col-left,#wpbody-content .quick-edit-row-page .inline-edit-col-right,#wpbody-content .quick-edit-row-post .inline-edit-col-left,#wpbody-content .quick-edit-row-post .inline-edit-col-right{float:none;width:100%}#wpbody-content .bulk-edit-row fieldset .inline-edit-col label,#wpbody-content .bulk-edit-row fieldset .inline-edit-group label,#wpbody-content .quick-edit-row fieldset .inline-edit-col label,#wpbody-content .quick-edit-row fieldset .inline-edit-group label{max-width:none;float:none;margin-bottom:5px}#wpbody .bulk-edit-row fieldset select{display:block;width:100%;max-width:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.inline-edit-row #bulk-titles div,.inline-edit-row fieldset ul.cat-checklist label{font-size:16px}.wp-list-table.plugins .plugin-title strong,.wp-list-table.plugins .theme-title strong,table.plugin-install td.column-name strong{font-size:1.4em;line-height:1.6em}.inline-edit-row fieldset label span.title,.inline-edit-row fieldset.inline-edit-date legend{float:none}.inline-edit-row fieldset label.inline-edit-tags{padding:0 .5em}.inline-edit-row fieldset .inline-edit-col label.inline-edit-tags{padding:0}.inline-edit-row fieldset .timestamp-wrap,.inline-edit-row fieldset label span.input-text-wrap{margin-right:0}.inline-edit-row fieldset input[name=hh],.inline-edit-row fieldset input[name=jj],.inline-edit-row fieldset input[name=mn]{width:3em}.inline-edit-row fieldset input[name=aa]{width:4.5em}.inline-edit-row .inline-edit-or{margin:0 0 0 6px}#commentsdiv #edithead .inside,#edithead .inside{float:none;text-align:right;padding:3px 5px}#commentsdiv #edithead .inside input,#edithead .inside input{width:100%}#bulk-titles div{margin:.8em .3em}.plugin-card,.plugin-update-tr .update-message{margin-right:0}#bulk-titles div a{height:22px}#wpbody-content #update-themes-table .plugin-title{width:auto;white-space:normal}.link-manager-php #posts-filter{margin-top:25px}.link-manager-php .tablenav.bottom{overflow:hidden}.comments-box .toggle-row,.wp-list-table.plugins .toggle-row{display:none}#wpbody-content .wp-list-table.plugins td{display:block;width:auto;padding:10px 9px}#wpbody-content .wp-list-table.plugins .column-description{padding-top:2px}.wp-list-table.plugins .plugin-title,.wp-list-table.plugins .theme-title{padding-top:13px;padding-bottom:4px}.plugins #the-list .update td,.plugins #the-list .update th,.plugins #the-list tr>td:not(:last-child),.wp-list-table.plugins #the-list .theme-title{-webkit-box-shadow:none;box-shadow:none;border-top:none}.plugins tbody{padding:1px 0 0}.plugins .plugin-update-tr:before,.plugins tr.active+tr.inactive td.column-description,.plugins tr.active+tr.inactive th.check-column{-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}.plugins .plugin-update-tr:before{content:"";display:table-cell}.plugins .active.update+.plugin-update-tr:before{border-right:4px solid #d54e21;background-color:#fef7f1}.plugins #the-list .plugin-update-tr .plugin-update{border-right:none}table.plugin-install .column-description,table.plugin-install .column-name,table.plugin-install .column-rating,table.plugin-install .column-version{display:block;width:auto}table.plugin-install th.column-description,table.plugin-install th.column-name,table.plugin-install th.column-rating,table.plugin-install th.column-version{display:none}table.plugin-install #the-list td{-webkit-box-shadow:none;box-shadow:none}table.plugin-install #the-list tr{display:block;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}.plugin-card{margin-left:0;width:100%}}#titlediv,#wp-content-editor-container,.postbox,form#tags-filter{position:relative}#pending,#poststuff #titlewrap{border:0;padding:0}#poststuff{padding-top:10px;min-width:763px}#poststuff #post-body{padding:0}#poststuff .postbox-container{width:100%}#poststuff #post-body.columns-2{margin-left:300px}#show-comments{overflow:hidden}#save-action .spinner,#show-comments a{float:right}#show-comments .spinner{float:none;margin-top:0}#lost-connection-notice .spinner{visibility:visible;float:right;margin:0 0 0 5px}#titlediv label{cursor:text}#titlediv div.inside{margin:0}#titlediv #title{padding:3px 8px;font-size:1.7em;line-height:100%;height:1.7em;width:100%;outline:0;margin:0 0 3px;background-color:#fff}#titlediv #title-prompt-text{color:#777;position:absolute;font-size:1.7em;padding:11px 10px}#poststuff .inside-submitbox,#side-sortables .inside-submitbox{margin:0 3px;font-size:11px}input#link_description,input#link_url{width:98%}#pending{background:100% none;font-size:11px;margin-top:-1px}#comment-link-box,#edit-slug-box{line-height:24px;min-height:25px;margin-top:5px;padding:0 10px;color:#666}#edit-slug-box .cancel{margin-left:10px;padding:0;font-size:11px;text-decoration:underline;color:#0073aa}#comment-link-box{margin:5px 0;padding:0 5px}#editable-post-name-full{display:none}#editable-post-name{font-weight:700}#editable-post-name input{font-size:13px;font-weight:400;height:22px;margin:0;width:16em}.postarea h3 label{float:right}.submitbox .submit{text-align:right;padding:12px 10px 10px;font-size:11px;background-color:#464646;color:#ccc}.submitbox .submitdelete{text-decoration:none;padding:1px 2px}#normal-sortables .submitbox .submitdelete:hover{color:#000;background-color:red;border-bottom-color:red}.submitbox .submit a:hover{text-decoration:underline}.submitbox .submit input{margin-bottom:8px;margin-left:4px;padding:6px}.inside-submitbox #post_status{margin:2px -2px 2px 0}#post-status-select{margin-top:3px}#post-body #normal-sortables{min-height:50px}.postbox{min-width:255px;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,.04);background:#fff}#trackback_url{width:99%}#normal-sortables .postbox .submit{background:0 0;border:0;float:left;padding:0 12px;margin:0}.category-add input[type=text],.category-add select{width:100%;max-width:260px;vertical-align:baseline}#side-sortables .category-add input[type=text],#side-sortables .category-add select{margin:0 0 1em}#side-sortables .add-menu-item-tabs li,.wp-tab-bar li,ul.category-tabs li{display:inline;line-height:1.35em}.no-js .category-tabs li.hide-if-no-js{display:none}#side-sortables .add-menu-item-tabs a,.category-tabs a,.wp-tab-bar a{text-decoration:none}#post-body ul.add-menu-item-tabs li.tabs a,#post-body ul.category-tabs li.tabs a,#side-sortables .add-menu-item-tabs .tabs a,#side-sortables .category-tabs .tabs a,.wp-tab-bar .wp-tab-active a{color:#32373c}.category-tabs{margin:8px 0 5px}#category-adder h4{margin:0}.taxonomy-add-new{display:inline-block;margin:10px 0;font-weight:600}.ui-tabs-hide,.wp-editor-expand #content-resize-handle,.wp-hidden-children .wp-hidden-child{display:none}#side-sortables .add-menu-item-tabs,.wp-tab-bar{margin-bottom:3px}#normal-sortables .postbox #replyrow .submit{float:none;margin:0;padding:5px 7px 10px;overflow:hidden}#side-sortables .submitbox .submit .preview,#side-sortables .submitbox .submit a.preview:hover,#side-sortables .submitbox .submit input{border:0}#side-sortables .inside-submitbox .insidebox,.stuffbox .insidebox{margin:11px 0}ul.add-menu-item-tabs,ul.category-tabs,ul.wp-tab-bar{margin-top:12px}ul.add-menu-item-tabs li,ul.category-tabs li{border:1px solid transparent;position:relative}.wp-tab-active,ul.add-menu-item-tabs li.tabs,ul.category-tabs li.tabs{border:1px solid #dfdfdf;border-bottom-color:#fdfdfd;background-color:#fdfdfd}ul.add-menu-item-tabs li,ul.category-tabs li,ul.wp-tab-bar li{padding:3px 5px 5px}#postimagediv .inside img{max-width:100%;height:auto;width:auto;background-image:-webkit-linear-gradient(-45deg,#c4c4c4 25%,transparent 25%,transparent 75%,#c4c4c4 75%,#c4c4c4),-webkit-linear-gradient(45deg,#c4c4c4 25%,transparent 25%,transparent 75%,#c4c4c4 75%,#c4c4c4);background-image:linear-gradient(-45deg,#c4c4c4 25%,transparent 25%,transparent 75%,#c4c4c4 75%,#c4c4c4),linear-gradient(45deg,#c4c4c4 25%,transparent 25%,transparent 75%,#c4c4c4 75%,#c4c4c4);background-position:100% 0,10px 10px;-webkit-background-size:20px 20px;background-size:20px 20px}#post-body .tagsdiv #newtag{margin-left:5px;width:16em}#side-sortables input#post_password{width:94%}#side-sortables .tagsdiv #newtag{width:68%}#post-status-info{width:100%;border-spacing:0;border:1px solid #e5e5e5;border-top:none;background-color:#f7f7f7;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);z-index:999}#post-status-info td{font-size:12px}.autosave-info{padding:2px 10px;text-align:left}#editorcontent #post-status-info{border:none}#content-resize-handle{background:url(../images/resize.gif) left bottom no-repeat;width:12px;cursor:row-resize}.rtl #content-resize-handle{background:url(../images/resize-rtl.gif) right bottom no-repeat}#postdivrich #content{resize:none}#wp-word-count{display:block;padding:2px 10px}#content-textarea-clone{z-index:-1;position:absolute;top:0;visibility:hidden;overflow:hidden;max-width:100%;border:1px solid transparent}.wp-editor-expand #wp-content-editor-tools{z-index:1000;border-bottom:1px solid #e5e5e5}.wp-editor-expand #wp-content-editor-container{-webkit-box-shadow:none;box-shadow:none;margin-top:-1px;border-bottom:0 none}.wp-editor-expand div.mce-statusbar{z-index:1}.wp-editor-expand #post-status-info{border-top:1px solid #e5e5e5}.wp-editor-expand div.mce-toolbar-grp{z-index:999}.mce-fullscreen #wp-content-wrap .mce-edit-area,.mce-fullscreen #wp-content-wrap .mce-menubar,.mce-fullscreen #wp-content-wrap .mce-statusbar,.mce-fullscreen #wp-content-wrap .mce-toolbar-grp{position:static!important;width:auto!important;padding:0!important}.mce-fullscreen #wp-content-wrap .mce-statusbar{visibility:visible!important}.mce-fullscreen #wp-content-wrap .mce-tinymce .mce-wp-dfw,.mce-fullscreen #wp-content-wrap .mce-wp-dfw,.post-php.mce-fullscreen #wpadminbar{display:none}#wp-content-editor-tools{background-color:#f1f1f1;padding-top:20px}#poststuff #post-body.columns-2 #side-sortables{width:280px}#timestampdiv select{height:21px;line-height:14px;padding:0;vertical-align:top;font-size:12px}#aa,#hh,#jj,#mn{padding:1px;font-size:12px}#hh,#jj,#mn{width:2em}#aa{width:3.4em}.curtime #timestamp{padding:2px 0 1px;display:inline!important;height:auto!important}#misc-publishing-actions label[for=post_status]:before,#post-body #visibility:before,#post-body .misc-pub-revisions:before,.curtime #timestamp:before,span.wp-media-buttons-icon:before{color:#82878c}#post-body #visibility:before,#post-body .misc-pub-revisions:before,.curtime #timestamp:before{font:400 20px/1 dashicons;speak:none;display:inline-block;padding:0 0 0 2px;top:0;right:-1px;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}#post-body #visibility:before{content:"\f177"}.curtime #timestamp:before{content:"\f145";top:-1px}#post-body .misc-pub-revisions:before{content:"\f321"}#timestampdiv{padding-top:5px;line-height:23px}#timestampdiv p{margin:8px 0 6px}#timestampdiv input{border-width:1px;border-style:solid}.notification-dialog{position:fixed;top:30%;max-height:70%;right:50%;width:450px;margin-right:-225px;background:#fff;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.3);box-shadow:0 3px 6px rgba(0,0,0,.3);line-height:1.5;z-index:1000005;overflow-y:auto}.notification-dialog-background{position:fixed;top:0;right:0;left:0;bottom:0;background:#000;opacity:.7;filter:alpha(opacity=70);z-index:1000000}#post-lock-dialog .post-locked-message,#post-lock-dialog .post-taken-over{margin:25px}#post-lock-dialog .post-locked-message a.button{margin-left:10px}#post-lock-dialog .post-locked-avatar{float:right;margin:0 0 20px 20px}#post-lock-dialog .wp-tab-first{outline:0}#post-lock-dialog .locked-saving img{float:right;margin-left:3px}#post-lock-dialog.saved .locked-saved,#post-lock-dialog.saving .locked-saving{display:inline}#excerpt{display:block;margin:12px 0 0;height:4em;width:100%}.tagchecklist{margin-right:14px;font-size:12px;overflow:auto}.tagchecklist br{display:none}.tagchecklist span,.tagchecklist span a{display:block;float:right;overflow:hidden}.tagchecklist strong{margin-right:-8px;position:absolute}.tagchecklist span{margin-left:25px;font-size:13px;line-height:1.8em;cursor:default;max-width:100%;text-overflow:ellipsis}.tagchecklist span a{margin:1px -17px 0 0;cursor:pointer;width:20px;height:20px;text-indent:0;position:absolute}#poststuff .stuffbox>h3,#poststuff h2,#poststuff h3.hndle{font-size:14px;padding:8px 12px;margin:0;line-height:1.4}#poststuff .inside{margin:6px 0 0}#poststuff .inside #page_template,#poststuff .inside #parent_id{max-width:100%}#poststuff .inside label.deleted,#poststuff .inside label.spam{color:red}#poststuff .inside label.waiting{color:orange}#poststuff .inside label.approved{color:green}.ie8 #poststuff .inside #page_template,.ie8 #poststuff .inside #parent_id{width:250px}#post-visibility-select{line-height:1.5em;margin-top:3px}#poststuff #submitdiv .inside{margin:0;padding:0}#post-body-content,.edit-form-section{margin-bottom:20px}#postcustomstuff thead th{padding:5px 8px 8px;background-color:#f1f1f1}#postcustom #postcustomstuff .submit{border:0;float:none;padding:0 8px 8px}#side-sortables #postcustom #postcustomstuff .submit{margin:0;padding:0}#side-sortables #postcustom #postcustomstuff #the-list textarea{height:85px}#side-sortables #postcustom #postcustomstuff td.left input,#side-sortables #postcustom #postcustomstuff td.left select,#side-sortables #postcustomstuff #newmetaleft a{margin:3px 3px 0}#postcustomstuff table{margin:0;width:100%;border:1px solid #dfdfdf;border-spacing:0;background-color:#f9f9f9}#postcustomstuff tr{vertical-align:top}#postcustomstuff table input,#postcustomstuff table select,#postcustomstuff table textarea{width:96%;margin:8px}#side-sortables #postcustomstuff table input,#side-sortables #postcustomstuff table select,#side-sortables #postcustomstuff table textarea{margin:3px}#postcustomstuff td.left,#postcustomstuff th.left{width:38%}#postcustomstuff .submit input{margin:0;width:auto}#postcustomstuff #newmetaleft a{display:inline-block;margin:0 8px 8px;text-decoration:none}.no-js #postcustomstuff #enternew{display:none}#post-body-content .compat-attachment-fields{margin-bottom:20px}.compat-attachment-fields th{padding-top:5px;padding-left:10px}#select-featured-image{padding:4px 0;overflow:hidden}#select-featured-image img{max-width:100%;height:auto;margin-bottom:10px}#select-featured-image a{float:right;clear:both}#select-featured-image .remove{display:none;margin-top:10px}.js #select-featured-image.has-featured-image .remove{display:inline-block}.no-js #select-featured-image .choose{display:none}.post-state-format{overflow:hidden;display:inline-block;vertical-align:middle;height:20px;width:20px;margin-left:5px;margin-top:-4px}.post-state-format:before{display:block;height:20px;width:20px;font:400 20px/1 dashicons!important;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.post-format-icon:before,.post-state-format:before{color:#ddd;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}a.post-format-icon:hover:before,a.post-state-format:hover:before{color:#00a0d2}#post-formats-select{line-height:2em}#post-formats-select .post-format-icon:before{top:5px}input.post-format{margin-top:1px}label.post-format-icon{margin-right:0;padding:2px 0}.post-format-icon:before{position:relative;display:inline-block;margin-left:7px;font:400 20px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.post-format-icon.post-format-standard:before,.post-state-format.post-format-standard:before,a.post-state-format.format-standard:before{content:"\f109"}.post-format-icon.post-format-image:before,.post-state-format.post-format-image:before,a.post-state-format.format-image:before{content:"\f128"}.post-format-icon.post-format-gallery:before,.post-state-format.post-format-gallery:before,a.post-state-format.format-gallery:before{content:"\f161"}.post-format-icon.post-format-audio:before,.post-state-format.post-format-audio:before,a.post-state-format.format-audio:before{content:"\f127"}.post-format-icon.post-format-video:before,.post-state-format.post-format-video:before,a.post-state-format.format-video:before{content:"\f126"}.post-format-icon.post-format-chat:before,.post-state-format.post-format-chat:before,a.post-state-format.format-chat:before{content:"\f125"}.post-format-icon.post-format-status:before,.post-state-format.post-format-status:before,a.post-state-format.format-status:before{content:"\f130"}.post-format-icon.post-format-aside:before,.post-state-format.post-format-aside:before,a.post-state-format.format-aside:before{content:"\f123"}.post-format-icon.post-format-quote:before,.post-state-format.post-format-quote:before,a.post-state-format.format-quote:before{content:"\f122"}.post-format-icon.post-format-link:before,.post-state-format.post-format-link:before,a.post-state-format.format-link:before{content:"\f103"}.category-adder{margin-right:120px;padding:4px 0}.category-adder h4{margin:0 0 8px}#side-sortables .category-adder{margin:0}.categorydiv div.tabs-panel,.customlinkdiv div.tabs-panel,.posttypediv div.tabs-panel,.taxonomydiv div.tabs-panel,.wp-tab-panel{min-height:42px;max-height:200px;overflow:auto;padding:0 .9em;border:1px solid #dfdfdf;background-color:#fdfdfd}div.tabs-panel-active{display:block}div.tabs-panel-inactive{display:none}#front-page-warning,#front-static-pages ul,.categorydiv ul.categorychecklist ul,.customlinkdiv ul.categorychecklist ul,.inline-editor ul.cat-checklist ul,.posttypediv ul.categorychecklist ul,.taxonomydiv ul.categorychecklist ul,ul.export-filters{margin-right:18px}ul.categorychecklist li{margin:0;padding:0;line-height:22px;word-wrap:break-word}.categorydiv .tabs-panel,.customlinkdiv .tabs-panel,.posttypediv .tabs-panel,.taxonomydiv .tabs-panel{border-width:3px;border-style:solid}.form-wrap label{display:block;padding:2px;font-size:12px}.form-field input[type=text],.form-field input[type=password],.form-field input[type=email],.form-field input[type=number],.form-field input[type=tel],.form-field input[type=url],.form-field input[type=search],.form-field textarea{border-style:solid;border-width:1px;width:95%}.form-wrap p,p.description{margin:2px 0 5px;color:#666}.form-wrap p,p.description,p.help,span.description{font-size:13px;font-style:italic}.form-wrap .form-field{margin:0 0 10px;padding:8px 0}.form-wrap .form-field #parent{max-width:100%}.col-wrap h2{margin:12px 0;font-size:1.1em}.col-wrap p.submit{margin-top:-10px}#poststuff .tagsdiv .howto{margin:0 0 6px}.ajaxtag .newtag{position:relative}.tagsdiv .newtag{width:180px}.tagsdiv .the-tags{display:block;height:60px;margin:0 auto;overflow:auto;width:260px}#qt_content_dfw,#wp-content-wrap .mce-wp-dfw,.ac_results{display:none}#post-body-content .tagsdiv .the-tags{margin:0 5px}p.popular-tags{border:none;line-height:2em;padding:8px 12px 12px;text-align:justify}p.popular-tags a{padding:0 3px}.tagcloud{width:97%;margin:0 0 40px;text-align:justify}.tagcloud h2{margin:2px 0 12px}.ac_results{padding:0;margin:0;list-style:none;position:absolute;z-index:10000;border:1px solid grey;background-color:#fff}.wp-customizer .ac_results{z-index:500000}.ac_results li{padding:2px 5px;white-space:nowrap;color:#101010;text-align:right}.ac_over{background-color:#f0f0b8;cursor:pointer}.ac_match{text-decoration:underline}.imgedit-group-top h2 a,.imgedit-group-top h3 a,a.imgedit-help-toggle,table.diff .diff-addedline ins,table.diff .diff-deletedline del{text-decoration:none}.comment-php .wp-editor-area{height:200px}.comment-ays td,.comment-ays th{padding:10px 15px}#comment-status-radio label,.links-table td,.links-table th{padding:5px 0}.comment-ays-submit .button-cancel{margin-right:1em}.spam-undo-inside,.trash-undo-inside{margin:1px 0 1px 8px;line-height:16px}.spam-undo-inside .avatar,.trash-undo-inside .avatar{height:20px;width:20px;margin-left:8px;vertical-align:middle}.stuffbox .editcomment{clear:none}#comment-status-radio p{margin:3px 0 5px}#comment-status-radio input{margin:2px 0 5px 3px;vertical-align:middle}table.links-table{width:100%;border-spacing:0}.links-table th{font-weight:400;text-align:right;vertical-align:top;min-width:80px;width:20%;word-wrap:break-word}.links-table td label{margin-left:8px}.links-table td input[type=text],.links-table td textarea{width:100%}.links-table #link_rel{max-width:280px}.wp-editor-expand #qt_content_dfw,.wp-editor-expand #wp-content-wrap .mce-wp-dfw{display:inline-block}.focus-on #screen-meta,.focus-on #screen-meta-links,.focus-on #wp-toolbar,.focus-on #wpfooter,.focus-on .postbox-container>*,.focus-on .update-nag,.focus-on .wrap>h1,.focus-on div.error,.focus-on div.notice,.focus-on div.updated{opacity:0;-webkit-transition-duration:.6s;transition-duration:.6s;-webkit-transition-property:opacity;transition-property:opacity;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}.focus-on #wp-toolbar{opacity:.3}.focus-off #screen-meta,.focus-off #screen-meta-links,.focus-off #wp-toolbar,.focus-off #wpfooter,.focus-off .postbox-container>*,.focus-off .update-nag,.focus-off .wrap>h1,.focus-off div.error,.focus-off div.notice,.focus-off div.updated{opacity:1;-webkit-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:opacity;transition-property:opacity;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}.focus-off #wp-toolbar{-webkit-transform:translate(0,0)}.focus-on #adminmenuback,.focus-on #adminmenuwrap{-webkit-transition-duration:.6s;transition-duration:.6s;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transform:translateX(100%);-ms-transform:translateX(100%);transform:translateX(100%)}.focus-off #adminmenuback,.focus-off #adminmenuwrap{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);-webkit-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){#content-resize-handle,#post-body .wp_themeSkin .mceStatusbar a.mceResize{background:url(../images/resize-2x.gif) left bottom no-repeat;-webkit-background-size:11px 11px;background-size:11px 11px}.rtl #content-resize-handle,.rtl #post-body .wp_themeSkin .mceStatusbar a.mceResize{background:url(../images/resize-rtl-2x.gif) left bottom no-repeat}}@media only screen and (max-width:850px){#poststuff{min-width:0}#wpbody-content #poststuff #post-body{margin:0}#wpbody-content #post-body.columns-2 #postbox-container-1{margin-left:0;width:100%}#poststuff #postbox-container-1 #side-sortables:empty,#poststuff #postbox-container-1 .empty-container{border:0;height:0;min-height:0}#poststuff #post-body.columns-2 #side-sortables{min-height:0;width:auto}.columns-prefs,.screen-layout{display:none}}@media screen and (max-width:782px){#post-body-content{min-width:0}#titlediv #title-prompt-text{padding:10px}#poststuff .stuffbox>h3,#poststuff h2,#poststuff h3.hndle{padding:12px}.post-format-options{padding-left:0}.post-format-options a{margin-left:5px;margin-bottom:5px;min-width:52px}.post-format-options .post-format-title{font-size:11px}.post-format-options a div{height:28px;width:28px}.post-format-options a div:before{font-size:26px!important}#post-visibility-select{line-height:280%}.wp-core-ui .save-post-visibility,.wp-core-ui .save-timestamp{vertical-align:middle;margin-left:15px}.timestamp-wrap select#mm{display:block;width:100%;margin-bottom:10px}.timestamp-wrap #aa,.timestamp-wrap #hh,.timestamp-wrap #jj,.timestamp-wrap #mn{padding:12px 3px;font-size:14px;margin-bottom:5px;width:auto;text-align:center}ul.category-tabs{margin:30px 0 15px}.tagsdiv .newtag,ul.categorychecklist li{margin-bottom:15px}ul.category-tabs li.tabs{padding:15px}ul.categorychecklist ul{margin-top:15px}.category-add input[type=text],.category-add select{max-width:none;margin-bottom:15px}.tagsdiv .newtag{width:100%;height:auto}.tagchecklist{margin:25px 10px}.tagchecklist span{font-size:16px;line-height:1.4}#commentstatusdiv p{line-height:2.8}.mceToolbar *{white-space:normal!important}.mceToolbar td,.mceToolbar tr{float:right!important}.wp_themeSkin a.mceButton{width:30px;height:30px}.wp_themeSkin .mceButton .mceIcon{margin-top:5px;margin-right:5px}.wp_themeSkin .mceSplitButton{margin-top:1px}.wp_themeSkin .mceSplitButton td a.mceAction{padding:6px 6px 6px 3px}.wp_themeSkin .mceSplitButton td a.mceOpen,.wp_themeSkin .mceSplitButtonEnabled:hover td a.mceOpen{padding-top:6px;padding-bottom:6px;background-position:1px 6px}.wp_themeSkin table.mceListBox{margin:5px}div.quicktags-toolbar input{padding:10px 20px}button.wp-switch-editor{font-size:16px;line-height:1em;margin:7px 7px 0 0;padding:8px 12px}#wp-content-media-buttons a{font-size:16px;line-height:37px;height:39px;padding:0 15px 0 20px}.wp-media-buttons span.jetpack-contact-form-icon,.wp-media-buttons span.wp-media-buttons-icon{width:22px!important;margin-top:-3px!important;margin-right:-5px!important}.wp-media-buttons #insert-jetpack-contact-form span.jetpack-contact-form-icon:before,.wp-media-buttons .add_media span.wp-media-buttons-icon:before{font-size:20px!important}#content_wp_fullscreen{display:none}.misc-pub-section{padding:20px 10px}.misc-pub-section>a{float:left;font-size:16px}#delete-action,#publishing-action{line-height:47px}#publishing-action .spinner{float:none;margin-top:-2px}.comment-ays td,.comment-ays th{padding-bottom:0}.comment-ays td{padding-top:6px}.links-table #link_rel{max-width:none}.links-table td,.links-table th{padding:10px 0}}@media only screen and (max-width:500px){#wp-content-media-buttons a{font-size:14px;padding:0 10px}}.revisions-control-frame,.revisions-diff-frame{position:relative}.revisions-controls{padding-top:40px;height:100px;z-index:1}.revisions-controls input[type=checkbox]{position:relative;top:-1px;vertical-align:text-bottom}.revisions.pinned .revisions-controls{position:fixed;top:0;height:82px;background:#fff;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.1);box-shadow:0 1px 3px rgba(0,0,0,.1)}.revisions-diff,.revisions-meta{background-color:#fff;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.1)}.revisions-tickmarks{position:relative;margin:0 auto;height:.7em;top:7px;max-width:70%;box-sizing:border-box;background-color:#fff}.revisions-tickmarks>div{position:absolute;height:100%;border-right:1px solid #a0a5aa;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.revisions-tickmarks>div:first-child{border-width:0}.comparing-two-revisions .revisions-controls{height:140px}.comparing-two-revisions.pinned .revisions-controls{height:124px}.revisions .diff-error{position:absolute;text-align:center;margin:0 auto;width:100%;display:none}.revisions.diff-error .diff-error{display:block}.revisions .loading-indicator{position:absolute;vertical-align:middle;opacity:0;width:100%;width:-webkit-calc(100% - 30px);width:calc(100% - 30px);top:50%;top:-webkit-calc(50% - 10px);top:calc(50% - 10px);-webkit-transition:opacity .5s;transition:opacity .5s;filter:alpha(opacity=0)}body.folded .revisions .loading-indicator{margin-right:-32px}.revisions .loading-indicator span.spinner{display:block;margin:0 auto;float:none}.revisions.loading .loading-indicator{opacity:1;filter:alpha(opacity=100)}.revisions .diff{-webkit-transition:opacity .5s;transition:opacity .5s}.revisions.loading .diff{opacity:.5;filter:alpha(opacity=50)}.revisions.diff-error .diff{visibility:hidden}.revisions-meta{margin-top:20px;box-shadow:0 1px 3px rgba(0,0,0,.1)}.revisions.pinned .revisions-meta{-webkit-box-shadow:none;box-shadow:none}.revision-toggle-compare-mode{position:absolute;top:0;left:0}.comparing-two-revisions .revisions-next,.comparing-two-revisions .revisions-previous,.revisions-meta .diff-meta-to strong{display:none}.revisions-controls .author-card .date{color:#777}.revisions-controls .author-card.autosave{color:#d54e21}.revisions-controls .author-card .author-name{font-weight:700}.comparing-two-revisions .diff-meta-to strong{display:block}.revisions.pinned .revisions-buttons{padding:0 11px}.revisions-next,.revisions-previous{position:relative;z-index:1}.revisions-previous{float:right}.revisions-next{float:left}.revisions-controls .wp-slider{max-width:70%;margin:0 auto;top:-3px}.revisions-diff{padding:15px;box-shadow:0 1px 3px rgba(0,0,0,.1)}.revisions-diff h3:first-child{margin-top:0}#revisions-meta-restored img,.post-revisions li img{vertical-align:middle}table.diff tbody tr td:nth-child(2){width:4%}table.diff{width:100%;white-space:pre-wrap}table.diff col.content{width:auto}table.diff col.content.diffsplit{width:48%}table.diff col.diffsplit.middle{width:auto}table.diff col.ltype{width:30px}table.diff tr{background-color:transparent}table.diff td,table.diff th{font-family:Consolas,Monaco,monospace;font-size:14px;line-height:1.618;padding:.5em;vertical-align:top;word-wrap:break-word}table.diff td h1,table.diff td h2,table.diff td h3,table.diff td h4,table.diff td h5,table.diff td h6{margin:0}table.diff .diff-deletedline{background-color:#ffe9e9}table.diff .diff-deletedline del{background-color:#faa}table.diff .diff-addedline{background-color:#e9ffe9}table.diff .diff-addedline ins{background-color:#afa}.diff-meta{padding:5px;clear:both;min-height:32px}.diff-title strong{line-height:32px;min-width:60px;text-align:left;float:right;margin-left:5px}.revisions-controls .author-card .author-info{font-size:12px;line-height:16px}.revisions-controls .author-card .author-info,.revisions-controls .author-card .avatar{float:right;margin-right:6px;margin-left:6px}.revisions-controls .author-card .byline{display:block;font-size:12px}.revisions-controls .author-card .avatar{vertical-align:middle}.diff-meta input.restore-revision{float:left;margin-right:6px;margin-left:6px;margin-top:4px}.diff-meta-from{display:none}.comparing-two-revisions .diff-meta-from{display:block}.revisions-tooltip{position:absolute;bottom:105px;margin-left:0;margin-right:-69px;z-index:0;max-width:350px;min-width:130px;padding:8px 4px;opacity:0}.revisions-tooltip.flipped{margin-right:0;margin-left:-70px}.revisions.pinned .revisions-tooltip{display:none!important}.comparing-two-revisions .revisions-tooltip{bottom:145px}.revisions-tooltip-arrow{width:70px;height:15px;overflow:hidden;position:absolute;right:0;margin-right:35px;bottom:-15px}.revisions-tooltip.flipped .revisions-tooltip-arrow{margin-right:0;margin-left:35px;right:auto;left:0}.revisions-tooltip-arrow>span{content:"";position:absolute;right:20px;top:-20px;width:25px;height:25px;-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg)}.revisions-tooltip.flipped .revisions-tooltip-arrow>span{right:auto;left:20px}.ie8 .revisions-tooltip-arrow>span{right:15px;top:-25px;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(SizingMethod='auto expand', M11=0.7071067811865476, M12=-0.7071067811865475, M21=0.7071067811865475, M22=0.7071067811865476)"}.ie8 .revisions-tooltip.flipped .revisions-tooltip-arrow>span{left:25px}.revisions-tooltip,.revisions-tooltip-arrow>span{border:1px solid #d7d7d7;background-color:#fff}.revisions-tooltip{display:none}.arrow{width:70px;height:16px;overflow:hidden;position:absolute;right:0;margin-right:-35px;bottom:90px;z-index:10000}.arrow.top{top:-16px;bottom:auto}.arrow.left{right:20%}.arrow:after{z-index:9999;background-color:#fff;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.1);box-shadow:0 1px 3px rgba(0,0,0,.1);content:"";position:absolute;right:20px;top:-20px;width:25px;height:25px;-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg)}.revisions-tooltip,.revisions-tooltip-arrow:after{border-width:1px;border-style:solid}div.revisions-controls>.wp-slider>.ui-slider-handle{margin-right:-10px}.rtl div.revisions-controls>.wp-slider>.ui-slider-handle{margin-left:-10px}.wp-slider.ui-slider{position:relative;border:1px solid #d7d7d7;text-align:right;cursor:pointer}.wp-slider .ui-slider-handle{-webkit-border-radius:50%;border-radius:50%;height:18px;margin-top:-5px;outline:0;padding:2px;position:absolute;width:18px;z-index:2;-ms-touch-action:none;touch-action:none}.wp-slider .ui-slider-handle,.wp-slider .ui-slider-handle.focus{background:#f7f7f7;border:1px solid #ccc;-webkit-box-shadow:0 1px 0 #ccc;box-shadow:0 1px 0 #ccc}.wp-slider .ui-slider-handle.ui-state-hover,.wp-slider .ui-slider-handle:hover{background:#fafafa;border-color:#999}.wp-slider .ui-slider-handle.ui-state-active,.wp-slider .ui-slider-handle:active{background:#eee;border-color:#999;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);-webkit-transform:translateY(1px);-ms-transform:translateY(1px);transform:translateY(1px)}.wp-slider .ui-slider-handle:before{background:0 0;position:absolute;top:2px;right:2px;color:#555;content:"\f229";font:400 18px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.media-item .media-item-info tr,.wp-slider .ui-slider-range{background-color:transparent}.wp-slider .ui-slider-handle.ui-state-hover:before,.wp-slider .ui-slider-handle:hover:before{color:#23282d}.wp-slider .ui-slider-handle.from-handle:before,.wp-slider .ui-slider-handle.to-handle:before{font-size:20px!important;margin:-1px -1px 0 0}.wp-slider .ui-slider-handle.from-handle:before{content:"\f141"}.wp-slider .ui-slider-handle.to-handle:before{content:"\f139"}.rtl .wp-slider .ui-slider-handle.from-handle:before{content:"\f139"}.rtl .wp-slider .ui-slider-handle.to-handle:before{content:"\f141";left:-1px}.wp-slider .ui-slider-range{position:absolute;font-size:.7em;display:block;border:0;background-image:none}.wp-slider.ui-slider-horizontal{height:.7em}.wp-slider.ui-slider-horizontal .ui-slider-handle{top:-.25em;margin-right:-.6em}.wp-slider.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.wp-slider.ui-slider-horizontal .ui-slider-range-min{right:0}.wp-slider.ui-slider-horizontal .ui-slider-range-max{left:0}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.revision-tick.completed-false{background-image:url(../images/spinner-2x.gif)}}@media screen and (max-width:782px){#diff-next-revision,#diff-previous-revision{margin-top:-1em}table.diff{-ms-word-break:break-all;word-break:break-all;word-wrap:break-word}}.media-item .describe{width:100%;border-top:1px solid #dfdfdf;clear:both;cursor:default}.media-item.media-blank .describe{border:0}.media-item .describe th{vertical-align:top;text-align:right;padding:5px 10px 10px;width:140px}.media-item .describe .align th{padding-top:0}.media-item .describe td{padding:0 0 8px 8px;vertical-align:top}.media-item thead.media-item-info td{padding:4px 10px 0}.media-item .media-item-info .A1B1{padding:0 10px 0 0}.media-item td.savesend{padding-bottom:15px}.media-item .thumbnail{max-height:128px;max-width:128px}#wpbody-content #async-upload-wrap a{display:none}.media-upload-form{margin-top:20px}.media-upload-form td label{margin-left:6px;margin-right:2px}.media-upload-form .align .field label{display:inline;padding:0 23px 0 0;margin:0 3px 0 1em;font-weight:600}.media-upload-form tr.image-size label{margin:0 5px 0 0;font-weight:600}.media-upload-form th.label label{font-weight:600;margin:.5em;font-size:13px}.media-upload-form th.label label span{padding:0 5px}.media-item .describe input[type=text],.media-item .describe textarea{width:460px}.media-item .describe p.help{margin:0;padding:0 5px 0 0}.describe-toggle-off,.describe-toggle-on,.media-item .edit-attachment{display:block;line-height:36px;float:left;margin-left:10px}.media-item .describe-toggle-off,.media-item.open .describe-toggle-on{display:none}.media-item.open .describe-toggle-off{display:block}.js .html-uploader #plupload-upload-ui,.media-item .startclosed,.media-item .startopen{display:none}.media-upload-form .media-item{min-height:36px;margin-bottom:1px;position:relative;width:100%;background:#fff}.media-upload-form .media-item,.media-upload-form .media-item .error{-webkit-box-shadow:0 1px 0 #dfdfdf;box-shadow:0 1px 0 #dfdfdf}#media-items:empty{border:0}.media-item .filename{line-height:36px;overflow:hidden;margin-right:6px}.media-item .pinkynail{float:right;margin:2px 3px 0 10px;max-width:40px;max-height:32px}.media-item .original{position:relative;height:34px}.media-item .progress{float:left;height:22px;margin:7px 6px;width:200px;line-height:2em;padding:0;overflow:hidden;-webkit-border-radius:22px;border-radius:22px;background:#ddd;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.media-item .bar{z-index:9;width:0;height:100%;margin-top:-22px;-webkit-border-radius:22px;border-radius:22px;background-color:#0073aa;-webkit-box-shadow:inset 0 0 2px rgba(0,0,0,.3);box-shadow:inset 0 0 2px rgba(0,0,0,.3)}.media-item .progress .percent{z-index:10;position:relative;width:200px;padding:0;color:#fff;text-align:center;line-height:22px;font-weight:400;text-shadow:0 1px 2px rgba(0,0,0,.2)}.upload-php .fixed .column-parent{width:15%}.js .html-uploader #html-upload-ui{display:block}.media-upload-form .media-item .error,.media-upload-form .media-item.error{width:auto;margin:0 0 1px}.media-upload-form .media-item .error{padding:10px 14px 10px 0}.media-item .error-div a.dismiss{display:block;float:left;margin:0 15px 0 10px}.find-box{background-color:#fff;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.3);box-shadow:0 3px 6px rgba(0,0,0,.3);width:600px;overflow:hidden;margin-right:-300px;position:fixed;top:30px;bottom:30px;right:50%;z-index:100105}.find-box-head{background:#fcfcfc;border-bottom:1px solid #dfdfdf;height:36px;font-size:18px;font-weight:600;line-height:36px;padding:0 16px 0 36px;position:absolute;top:0;right:0;left:0}.find-box-inside{overflow:auto;padding:16px;background-color:#fff;position:absolute;top:37px;bottom:45px;overflow-y:scroll;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.find-box-search{padding-bottom:16px}.find-box-search .spinner{float:none;right:105px;position:absolute}#find-posts-response,.find-box-search{position:relative}#find-posts-input,#find-posts-search{float:right}#find-posts-input{width:140px;height:28px;margin:0 0 0 4px}.widefat .found-radio{padding-left:0;width:16px}#find-posts-close{width:36px;height:36px;position:absolute;top:0;left:0;cursor:pointer;text-align:center;color:#666}#find-posts-close:hover{color:#00a0d2}#find-posts-close:before{font:400 20px/36px dashicons;vertical-align:top;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"\f158"}.find-box-buttons{padding:8px 16px;background:#fcfcfc;border-top:1px solid #dfdfdf;position:absolute;bottom:0;right:0;left:0}@media screen and (max-width:782px){.find-box-inside{bottom:57px}}@media screen and (max-width:660px){.find-box{top:0;bottom:0;right:0;left:0;margin:0;width:100%}}.ui-find-overlay{position:fixed;top:0;right:0;left:0;bottom:0;background:#000;opacity:.7;filter:alpha(opacity=70);z-index:100100}ul#dismissed-updates{display:none}form.upgrade{margin-top:8px}form.upgrade .hint{font-style:italic;font-size:85%;margin:-.5em 0 2em}#poststuff .inside .the-tagcloud{margin:5px 0 10px;padding:8px;border:1px solid #ddd;line-height:1.8em;word-spacing:3px}.drag-drop #drag-drop-area{border:4px dashed #b4b9be;height:200px}.drag-drop .drag-drop-inside{margin:70px auto 0;width:250px}.drag-drop-inside p{color:#a0a5aa;font-size:14px;margin:5px 0;display:none}.drag-drop .drag-drop-inside p{text-align:center}.drag-drop-inside p.drag-drop-info{font-size:20px}.drag-drop .drag-drop-inside p,.drag-drop-inside p.drag-drop-buttons{display:block}.media-frame.mode-grid .media-frame-menu,.media-frame.mode-grid .media-frame-router,.media-frame.mode-grid .media-frame-title,.upload-php .mode-grid .hide-sidebar .media-sidebar{display:none}.drag-drop.drag-over #drag-drop-area{border-color:#83b4d8}#plupload-upload-ui{position:relative}.media-frame.mode-grid,.media-frame.mode-grid .attachments-browser .attachments,.media-frame.mode-grid .media-frame-content,.media-frame.mode-grid .uploader-inline-content{position:static}.media-frame.mode-grid .media-frame-content{background-color:transparent;border:none}.upload-php .mode-grid .media-sidebar{position:relative;width:auto;margin-bottom:16px;padding:0 16px;border-right:4px solid #dd3d36;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1);background-color:#fff}.upload-php .mode-grid .media-sidebar .media-uploader-status{border-bottom:none;padding-bottom:0;max-width:100%}.upload-php .mode-grid .media-sidebar .upload-error{margin:12px 0;padding:4px 0 0;border:none;-webkit-box-shadow:none;box-shadow:none;background:0 0}.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors{top:-10px;left:-14px;padding:10px}.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:before{content:"\f153";display:block;font:400 16px/1 dashicons;color:#bbb}.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:focus:before,.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:hover:before{color:#c00}.upload-php .mode-grid .media-sidebar .media-uploader-status.errors h2,.upload-php .mode-grid .media-sidebar .media-uploader-status.errors h3{display:none}.media-frame.mode-grid .uploader-inline{position:relative;top:auto;left:auto;right:auto;bottom:auto;padding-top:0;margin-top:0;border:4px dashed #b4b9be}.media-frame.mode-select .attachments-browser.fixed .attachments{position:relative;top:94px;padding-bottom:94px}.media-frame.mode-grid .attachment.details:focus,.media-frame.mode-grid .attachment:focus,.media-frame.mode-grid .selected.attachment:focus{-webkit-box-shadow:inset 0 0 2px 3px #f1f1f1,inset 0 0 0 7px #5b9dd9;box-shadow:inset 0 0 2px 3px #f1f1f1,inset 0 0 0 7px #5b9dd9;outline:0}.media-frame.mode-grid .selected.attachment{-webkit-box-shadow:inset 0 0 0 5px #f1f1f1,inset 0 0 0 7px #ccc;box-shadow:inset 0 0 0 5px #f1f1f1,inset 0 0 0 7px #ccc}.media-frame.mode-grid .attachment.details{-webkit-box-shadow:inset 0 0 0 3px #f1f1f1,inset 0 0 0 7px #1e8cbe;box-shadow:inset 0 0 0 3px #f1f1f1,inset 0 0 0 7px #1e8cbe}.media-frame.mode-grid.mode-select .attachment .thumbnail{opacity:.65}.media-frame.mode-select .attachment.selected .thumbnail{opacity:1}.media-frame.mode-grid .media-toolbar{margin-bottom:15px;height:auto}.media-frame.mode-grid .media-toolbar select{margin:0 0 0 10px;font-size:14px}.media-frame.mode-grid.mode-edit .media-toolbar-secondary>.select-mode-toggle-button{margin:0 0 0 8px;vertical-align:middle}.media-frame.mode-grid .attachments-browser .bulk-select{display:inline-block;margin:0 0 0 10px}.media-frame.mode-grid .search{margin-top:0}.media-frame.mode-grid .spinner{margin-top:16px}.attachments-browser .media-toolbar-secondary>.media-button{margin-left:10px}.media-frame.mode-select .attachments-browser.fixed .media-toolbar{position:fixed;top:32px;right:auto;left:20px;margin-top:0}.media-frame.mode-grid .attachments-browser{padding:0}.media-frame.mode-grid .attachments-browser .attachments{padding:2px}.media-frame.mode-grid .attachments-browser .no-media{color:#999;font-size:18px;font-style:normal;margin:0;padding:100px 0 0;text-align:center}.edit-attachment-frame{display:block;height:100%;width:100%}.edit-attachment-frame .edit-media-header{overflow:hidden}.upload-php .media-modal-close .media-modal-icon:before{content:"\f335";font-size:22px}.edit-attachment-frame .edit-media-header .left,.edit-attachment-frame .edit-media-header .right,.upload-php .media-modal-close{cursor:pointer;color:#777;background-color:transparent;height:50px;width:50px;padding:0;position:absolute;text-align:center;border:0;border-right:1px solid #ddd;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out}.upload-php .media-modal-close{top:0;left:0}.edit-attachment-frame .edit-media-header .left{left:102px}.edit-attachment-frame .edit-media-header .right{left:51px}.edit-attachment-frame .media-frame-title{right:0;left:150px}.edit-attachment-frame .edit-media-header .left:before,.edit-attachment-frame .edit-media-header .right:before{font:400 20px/50px dashicons!important;display:inline;font-weight:300}.edit-attachment-frame .edit-media-header .left:focus,.edit-attachment-frame .edit-media-header .left:hover,.edit-attachment-frame .edit-media-header .right:focus,.edit-attachment-frame .edit-media-header .right:hover,.upload-php .media-modal-close:focus,.upload-php .media-modal-close:hover{background:#ddd;border-color:#ccc;color:#000;outline:0;-webkit-box-shadow:none;box-shadow:none}.upload-php .media-modal-close:focus .media-modal-icon:before,.upload-php .media-modal-close:hover .media-modal-icon:before{color:#000}.edit-attachment-frame .edit-media-header .left:before,.rtl .edit-attachment-frame .edit-media-header .right:before{content:"\f345"}.edit-attachment-frame .edit-media-header .right:before,.rtl .edit-attachment-frame .edit-media-header .left:before{content:"\f341"}.edit-attachment-frame .edit-media-header .left.disabled,.edit-attachment-frame .edit-media-header .left.disabled:hover,.edit-attachment-frame .edit-media-header .right.disabled,.edit-attachment-frame .edit-media-header .right.disabled:hover{color:#ccc;background:inherit;cursor:default;pointer-events:none}.edit-attachment-frame .media-frame-content,.edit-attachment-frame .media-frame-router{right:0}.edit-attachment-frame .media-frame-content{border-bottom:none;bottom:0;top:50px}.edit-attachment-frame .attachment-details{position:absolute;overflow:auto;top:0;bottom:0;left:0;right:0;-webkit-box-shadow:inset 0 4px 4px -4px rgba(0,0,0,.1);box-shadow:inset 0 4px 4px -4px rgba(0,0,0,.1)}.edit-attachment-frame .attachment-media-view{float:right;width:65%;height:100%}.edit-attachment-frame .attachment-media-view .thumbnail{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:16px;height:100%}.edit-attachment-frame .attachment-media-view .details-image{display:block;margin-bottom:16px;max-width:100%;max-height:90%;max-height:-webkit-calc(100% - 42px);max-height:calc(100% - 42px)}.edit-attachment-frame .wp-media-wrapper{margin-bottom:12px}.edit-attachment-frame input,.edit-attachment-frame textarea{padding:6px 8px;line-height:16px}.edit-attachment-frame .attachment-info{overflow:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin-bottom:0;padding:12px 16px 0;width:35%;height:100%;-webkit-box-shadow:inset 0 4px 4px -4px rgba(0,0,0,.1);box-shadow:inset 0 4px 4px -4px rgba(0,0,0,.1);border-bottom:0;border-right:1px solid #ddd;background:#f3f3f3}.edit-attachment-frame .attachment-info .details,.edit-attachment-frame .attachment-info .settings{position:relative;overflow:hidden;float:none;margin-bottom:15px;padding-bottom:15px;border-bottom:1px solid #ddd}.edit-attachment-frame .attachment-info .filename{font-weight:400;color:#666}.edit-attachment-frame .attachment-info .thumbnail{margin-bottom:12px}.attachment-info .actions{margin-bottom:16px}.attachment-info .actions a{display:inline;text-decoration:none}.wp_attachment_details label[for=content]{font-size:13px;line-height:1.5;margin:1em 0}.wp_attachment_details #attachment_caption{height:4em}.describe .image-editor{vertical-align:top}.imgedit-wrap{position:relative}.imgedit-settings p{margin:8px 0 0}.describe .imgedit-wrap .imgedit-settings{padding:0 5px}.wp_attachment_holder div.updated{margin-top:0}.wp_attachment_holder .imgedit-wrap>div{height:auto;overflow:hidden}.wp_attachment_holder .imgedit-wrap .imgedit-panel-content{padding-left:16px;width:auto;overflow:hidden}.wp_attachment_holder .imgedit-wrap .imgedit-settings{float:left;width:250px}.imgedit-settings input{margin-top:0;vertical-align:middle}.imgedit-wait{position:absolute;top:0;background:url(../images/spinner.gif) center no-repeat #fff;-webkit-background-size:20px 20px;background-size:20px 20px;opacity:.7;filter:alpha(opacity=70);width:100%;height:500px;display:none}.no-float{float:none}.A1B1 .button,.A1B1 .spinner,.wp_attachment_image .button,.wp_attachment_image .spinner{float:right}.imgedit-settings .disabled,.media-disabled{color:grey}.A1B1,.wp_attachment_image{overflow:hidden}.no-js .wp_attachment_image .button{display:none}.imgedit-menu{margin:0 0 12px;min-width:300px}.imgedit-menu div{float:right;width:32px;border:1px solid #d5d5d5;background:#f1f1f1;margin:0 0 0 8px;height:32px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;line-height:28px;color:#777;cursor:pointer}.imgedit-menu div:before{font:400 20px/1 dashicons;speak:none;vertical-align:middle}.imgedit-menu div:hover{border-color:#c1c1c1;background-color:#eaeaea;color:#32373c}.imgedit-menu div.disabled{border-color:#ccc;background-color:#ddd;color:#777;filter:alpha(opacity=50);opacity:.5;cursor:default}.imgedit-crop:before{content:"\f165"}.imgedit-rleft:before{content:"\f166"}.imgedit-rright:before{content:"\f167"}.imgedit-flipv:before{content:"\f168"}.imgedit-fliph:before{content:"\f169"}.imgedit-undo:before{content:"\f171"}.imgedit-redo:before{content:"\f172"}.imgedit-crop-wrap{position:relative}.imgedit-crop{margin:0 0 0 8px}.imgedit-rleft{margin:0 3px}.imgedit-rright{margin:0 3px 0 8px}.imgedit-flipv{margin:0 3px}.imgedit-fliph{margin:0 3px 0 8px}.imgedit-undo{margin:0 3px}.imgedit-redo{margin:0 3px 0 8px}.imgedit-applyto img{margin:0 0 0 8px}#poststuff .imgedit-group-top h2,#poststuff .imgedit-group-top h3{margin:0;padding:0;font-size:14px;line-height:1.4}.imgedit-applyto .imgedit-label{padding:2px 0 0;display:block}.imgedit-help{display:none;font-style:italic}.form-table td.imgedit-response{padding:0}.imgedit-submit{margin:8px 0 0}.imgedit-submit-btn{margin-right:20px}.imgedit-wrap .nowrap{white-space:nowrap}span.imgedit-scale-warn{color:red;font-size:20px;font-style:normal;visibility:hidden;vertical-align:middle}.imgedit-group{margin-bottom:8px;padding:10px}audio,video{display:inline-block;max-width:100%}.mejs-container{width:100%;max-width:100%}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.imgedit-wait{background-image:url(../images/spinner-2x.gif)}}@media screen and (max-width:782px){.wp_attachment_details label[for=content]{font-size:14px;line-height:1.5em}.media-upload-form .media-item .error,.media-upload-form .media-item.error{font-size:13px;line-height:1.5}.media-upload-form .media-item.error{padding:1px 10px}.media-upload-form .media-item .error{padding:10px 12px 10px 0}}@media only screen and (max-width:1120px){#wp-media-grid .wp-filter .attachment-filters{max-width:100%}}@media only screen and (max-width:782px){.media-frame.mode-select .attachments-browser.fixed .media-toolbar{top:46px;left:10px}}@media only screen and (max-width:600px){.media-frame.mode-select .attachments-browser.fixed .media-toolbar{top:0}}@media only screen and (max-width:480px){.edit-attachment-frame .media-frame-title{left:110px}.edit-attachment-frame .edit-media-header .left,.edit-attachment-frame .edit-media-header .right,.upload-php .media-modal-close{width:40px;height:40px}.upload-php .media-modal-close .media-modal-icon{margin:9px 10px}.edit-attachment-frame .edit-media-header .left:before,.edit-attachment-frame .edit-media-header .right:before{line-height:40px!important}.edit-attachment-frame .edit-media-header .left{left:82px}.edit-attachment-frame .edit-media-header .right{left:41px}.edit-attachment-frame .media-frame-content{top:40px}.edit-attachment-frame .attachment-media-view{float:none;height:auto;width:100%}.edit-attachment-frame .attachment-info{height:auto;width:100%}}@media only screen and (max-width:640px),screen and (max-height:400px){.upload-php .mode-grid .media-sidebar{max-width:100%}}.theme-browser .themes{clear:both;padding:0 0 100px}.themes-php .wrap h1{float:right;margin-bottom:15px}.network-admin.themes-php .wrap h1{margin-bottom:0}.themes-php .wrap h1 .button{margin-right:20px}.themes-php .wp-filter-search{position:relative;top:-2px;right:20px;margin:0;width:280px;font-size:16px;font-weight:300;line-height:1.5}.themes-php div.error,.themes-php div.notice,.themes-php div.updated{margin:0 0 20px;clear:both}.themes-php div.updated a{text-decoration:underline}.theme-browser .theme{cursor:pointer;float:right;margin:0 0 4% 4%;position:relative;width:30.6%;border:1px solid #dedede;-webkit-box-shadow:0 1px 1px -1px rgba(0,0,0,.1);box-shadow:0 1px 1px -1px rgba(0,0,0,.1);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ie8 .theme-browser .theme{width:30%;margin:0 0 4% 3%}.theme-browser .theme:nth-child(3n){margin-left:0}.theme-browser .theme:focus,.theme-browser .theme:hover{cursor:pointer}.theme-browser .theme .theme-name{font-size:15px;font-weight:600;height:18px;margin:0;padding:15px;-webkit-box-shadow:inset 0 1px 0 rgba(0,0,0,.1);box-shadow:inset 0 1px 0 rgba(0,0,0,.1);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;background:#fff;background:rgba(255,255,255,.65)}.theme-browser .theme .theme-actions{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";opacity:0;-webkit-transition:opacity .1s ease-in-out;transition:opacity .1s ease-in-out;position:absolute;bottom:0;left:0;height:38px;padding:9px 10px 0;background:rgba(244,244,244,.7);border-right:1px solid rgba(0,0,0,.05)}.theme-browser .theme.focus .theme-actions,.theme-browser .theme:focus .theme-actions,.theme-browser .theme:hover .theme-actions{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";opacity:1}.theme-browser .theme .theme-actions .button-primary{margin-left:3px}.theme-browser .theme .theme-actions .button-secondary{float:none;margin-right:3px}.theme-browser .theme .theme-screenshot{display:block;overflow:hidden;position:relative;-webkit-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out}.theme-browser .theme .theme-screenshot:after{content:"";display:block;padding-top:66.66666%}.theme-browser .theme .theme-screenshot img{height:auto;position:absolute;right:0;top:0;width:100%;-webkit-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out}.theme-browser .theme:focus .theme-screenshot,.theme-browser .theme:hover .theme-screenshot{background:#fff}.theme-browser.rendered .theme:focus .theme-screenshot img,.theme-browser.rendered .theme:hover .theme-screenshot img{opacity:.4}.theme-browser .theme .more-details{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";opacity:0;position:absolute;top:35%;left:25%;right:25%;background:#23282d;background:rgba(0,0,0,.7);color:#fff;font-size:15px;text-shadow:0 1px 0 rgba(0,0,0,.6);-webkit-font-smoothing:antialiased;font-weight:600;padding:15px 12px;text-align:center;-webkit-border-radius:3px;border-radius:3px;-webkit-transition:opacity .1s ease-in-out;transition:opacity .1s ease-in-out}.theme-browser .theme:focus{border-color:#5b9dd9;-webkit-box-shadow:0 0 2px rgba(30,140,190,.8);box-shadow:0 0 2px rgba(30,140,190,.8)}.theme-browser .theme:focus .more-details{opacity:1}.theme-browser .theme.active:focus .theme-actions{display:block}.theme-browser.rendered .theme:focus .more-details,.theme-browser.rendered .theme:hover .more-details{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";opacity:1}.theme-browser .theme .theme-installed,.theme-browser .theme .theme-update{background:#d54e21;background:rgba(213,78,33,.95);color:#fff;display:block;font-size:13px;font-weight:400;height:48px;line-height:48px;padding:0 10px;position:absolute;top:0;left:0;right:0;border-bottom:1px solid rgba(0,0,0,.25);overflow:hidden}.theme-browser .theme .theme-installed:before,.theme-browser .theme .theme-update:before{content:"\f463";display:inline-block;font:400 20px/1 dashicons;margin:0 0 0 6px;opacity:.8;position:relative;top:5px;speak:none;-webkit-font-smoothing:antialiased}.theme-browser .theme.active .theme-name{background:#2f2f2f;color:#fff;padding-left:110px;font-weight:300;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.5);box-shadow:inset 0 1px 1px rgba(0,0,0,.5)}.theme-browser .customize-control .theme.active .theme-name{padding-left:15px}.theme-browser .theme.active .theme-name span{font-weight:600}.theme-browser .theme.active .theme-actions{background:rgba(49,49,49,.7);border-right:none;opacity:1}.theme-browser .theme.active .theme-actions .button-primary{margin-left:0}.theme-browser .theme .theme-author{background:#23282d;color:#eee;display:none;font-size:14px;margin:0 10px;padding:5px 10px;position:absolute;bottom:56px}.theme-browser .theme.display-author .theme-author{display:block}.theme-browser .theme.display-author .theme-author a{color:inherit;text-decoration:none}.theme-browser .theme.add-new-theme{border:none;-webkit-box-shadow:none;box-shadow:none}.theme-browser .theme.add-new-theme a{color:#999;text-decoration:none;display:block;position:relative;z-index:1}.theme-browser .theme.add-new-theme a:after{display:block;content:"";background:0 0;background:rgba(0,0,0,0);position:absolute;top:0;right:0;left:0;bottom:0;padding:0;text-shadow:none;border:5px dashed #d5d2ca;border:5px dashed rgba(0,0,0,.1);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.theme-browser .theme.add-new-theme span:after{background:#e5e5e5;background:rgba(153,153,153,.1);-webkit-border-radius:50%;border-radius:50%;display:inline-block;content:"\f132";-webkit-font-smoothing:antialiased;font:400 74px/115px dashicons;width:100px;height:100px;vertical-align:middle;text-align:center;color:#999;position:absolute;top:30%;right:50%;margin-right:-50px;text-indent:-4px;padding:0;text-shadow:none;z-index:4}.rtl .theme-browser .theme.add-new-theme span:after{text-indent:4px}.theme-browser .theme.add-new-theme a:focus .theme-screenshot,.theme-browser .theme.add-new-theme a:hover .theme-screenshot{background:0 0}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after{background:#fff;color:#0073aa}.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{border-color:transparent;color:#fff;background:#0073aa;content:""}.theme-browser .theme.add-new-theme .theme-name{background:0 0;text-align:center;-webkit-box-shadow:none;box-shadow:none;font-weight:400;position:relative;top:0;margin-top:-18px;padding-top:0;padding-bottom:48px}.theme-browser .theme.add-new-theme a:focus .theme-name,.theme-browser .theme.add-new-theme a:hover .theme-name{color:#fff;z-index:2}.theme-overlay .theme-backdrop{position:absolute;right:-20px;left:0;top:0;bottom:0;background:#f1f1f1;background:rgba(238,238,238,.9);z-index:10000}.theme-overlay .theme-header .close,.theme-overlay .theme-header .left,.theme-overlay .theme-header .right{cursor:pointer;background-color:transparent;height:48px;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;text-align:center}.theme-overlay .theme-header{position:absolute;top:0;right:0;left:0;height:48px;border-bottom:1px solid #ddd}.theme-overlay .theme-header button{padding:0}.theme-overlay .theme-header .close{width:50px;float:left;border:0;border-right:1px solid #ddd;transition:color .1s ease-in-out,background .1s ease-in-out}.theme-overlay .theme-header .close:before{font:400 22px/50px dashicons!important;color:#777;display:inline-block;content:"\f335";font-weight:300}.theme-overlay .theme-header .left,.theme-overlay .theme-header .right{color:#777;width:54px;float:right;border:0;border-left:1px solid #ddd;transition:color .1s ease-in-out,background .1s ease-in-out}.theme-overlay .theme-header .close:focus,.theme-overlay .theme-header .close:hover,.theme-overlay .theme-header .left:focus,.theme-overlay .theme-header .left:hover,.theme-overlay .theme-header .right:focus,.theme-overlay .theme-header .right:hover{background:#ddd;border-color:#ccc;color:#000}.theme-overlay .theme-header .close:focus:before,.theme-overlay .theme-header .close:hover:before{color:#000}.theme-overlay .theme-header .close:focus,.theme-overlay .theme-header .left:focus,.theme-overlay .theme-header .right:focus{-webkit-box-shadow:none;box-shadow:none;outline:0}.theme-overlay .theme-header .left.disabled,.theme-overlay .theme-header .left.disabled:hover,.theme-overlay .theme-header .right.disabled,.theme-overlay .theme-header .right.disabled:hover{color:#ccc;background:inherit;cursor:inherit}.theme-overlay .theme-header .left:before,.theme-overlay .theme-header .right:before{font:400 20px/50px dashicons!important;display:inline;font-weight:300}.theme-overlay .theme-header .left:before{content:"\f345"}.theme-overlay .theme-header .right:before{content:"\f341"}.theme-overlay .theme-wrap{clear:both;position:fixed;top:9%;right:190px;left:30px;bottom:3%;background:#fff;-webkit-box-shadow:0 1px 20px 5px rgba(0,0,0,.1);box-shadow:0 1px 20px 5px rgba(0,0,0,.1);z-index:10000;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-overflow-scrolling:touch}.theme-overlay .theme-wrap:after{content:".";display:block;height:0;clear:both;visibility:hidden}body.folded .theme-overlay .theme-wrap{right:70px}.theme-overlay .theme-about{position:absolute;top:49px;bottom:57px;right:0;left:0;overflow:auto;padding:2% 4%}.theme-overlay .theme-about:after{content:".";display:block;height:0;clear:both;visibility:hidden}.customize-support .theme-overlay .theme-actions a[href="themes.php?page=custom-header"],.customize-support .theme-overlay .theme-actions a[href="themes.php?page=custom-background"],.theme-overlay .theme-actions .active-theme,.theme-overlay.active .theme-actions .inactive-theme{display:none}.theme-overlay .theme-actions{position:absolute;text-align:center;bottom:0;right:0;left:0;padding:10px 25px 5px;background:#f3f3f3;z-index:30;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border-top:1px solid #eee}.upload-plugin,.upload-theme,.wp-full-overlay-sidebar{-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.ie8 .theme-overlay .theme-actions{border:1px solid #eee}.theme-overlay .theme-actions a{margin-left:5px;margin-bottom:5px}.broken-themes a.delete-theme,.theme-overlay .theme-actions .delete-theme{color:#a00;text-decoration:none;border-color:transparent;-webkit-box-shadow:none;box-shadow:none;background:0 0}.theme-overlay .theme-actions .delete-theme{position:absolute;left:10px;bottom:5px}.broken-themes a.delete-theme:focus,.broken-themes a.delete-theme:hover,.theme-overlay .theme-actions .delete-theme:focus,.theme-overlay .theme-actions .delete-theme:hover{background:#d54e21;color:#fff;border-color:#d54e21}.theme-overlay .theme-actions .inactive-theme,.theme-overlay.active .theme-actions .active-theme{display:block}.theme-overlay .theme-screenshots{float:right;margin:0 0 0 30px;width:55%;max-width:880px;text-align:center}.theme-overlay .screenshot{border:1px solid #fff;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;overflow:hidden;position:relative;-webkit-box-shadow:0 0 0 1px rgba(0,0,0,.2);box-shadow:0 0 0 1px rgba(0,0,0,.2)}.theme-overlay .screenshot:after{content:"";display:block;padding-top:75%}.theme-overlay .screenshot img{height:auto;position:absolute;right:0;top:0;width:100%}.theme-overlay.small-screenshot .theme-screenshots{position:absolute;width:302px}.theme-overlay.small-screenshot .theme-info{margin-right:350px;width:auto}.theme-overlay .screenshot.thumb{background:#ccc;border:1px solid #eee;float:none;display:inline-block;margin:10px 5px 0;width:140px;height:80px;cursor:pointer}.theme-overlay .screenshot.thumb:after{content:"";display:block;padding-top:100%}.theme-overlay .screenshot.thumb img{cursor:pointer;position:absolute;right:0;top:0;width:100%;height:auto}.theme-overlay .screenshot.selected{background:0 0;border:2px solid #00a0d2}.theme-overlay .screenshot.selected img{opacity:.8}.theme-browser .theme .theme-screenshot.blank,.theme-overlay .screenshot.blank{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAALElEQVQYGWO8d+/efwYkoKioiMRjYGBC4WHhUK6A8T8QIJt8//59ZC493AAAQssKpBK4F5AAAAAASUVORK5CYII=)}.theme-overlay .theme-info{width:40%;float:right}.theme-overlay .current-label{background:#32373c;color:#fff;font-size:11px;display:inline-block;padding:2px 8px;-webkit-border-radius:2px;border-radius:2px;margin:0 0 -10px;user-select:none}.theme-overlay .theme-name{color:#23282d;font-size:32px;font-weight:100;margin:10px 0 0;line-height:1.3}.theme-overlay .theme-version{color:#999;font-size:13px;font-weight:400;float:none;display:inline-block;margin-right:10px}.theme-overlay .theme-author{margin:15px 0 25px;color:#686868;font-size:16px;font-weight:400;line-height:inherit}.theme-overlay .theme-author a{text-decoration:none}.theme-overlay .theme-description{color:#555;font-size:15px;font-weight:400;line-height:1.5;margin:30px 0 0}.theme-overlay .theme-tags{border-top:3px solid #eee;color:#82878c;font-size:13px;font-weight:400;margin:30px 0 0;padding-top:20px}.theme-overlay .theme-tags span{color:#444;font-weight:700;margin-left:5px}.theme-overlay .parent-theme{background:#f7fcfe;border:1px solid #eee;border-right:4px solid #00a0d2;font-size:14px;font-weight:400;margin-top:30px;padding:10px 20px 10px 10px}.theme-overlay .parent-theme strong{font-weight:700}.single-theme .theme,.single-theme .theme-overlay .theme-backdrop,.single-theme .theme-overlay .theme-header{display:none}.single-theme .theme-overlay .theme-wrap{clear:both;min-height:330px;position:relative;right:auto;left:auto;top:auto;bottom:auto;z-index:10}.single-theme .theme-overlay .theme-about{padding:30px 30px 70px;position:static}.single-theme .theme-overlay .theme-actions{position:absolute}@media only screen and (min-width:2000px){#wpwrap .theme-browser .theme{width:17.6%;margin:0 0 3% 3%}#wpwrap .theme-browser .theme:nth-child(3n),#wpwrap .theme-browser .theme:nth-child(4n){margin-left:3%}#wpwrap .theme-browser .theme:nth-child(5n){margin-left:0}}@media only screen and (min-width:1680px){.theme-overlay .theme-wrap{width:1450px;margin:0 auto}}@media only screen and (min-width:1640px){.theme-browser .theme{width:22.7%;margin:0 0 3% 3%}.theme-browser .theme .theme-screenshot:after{padding-top:75%}.theme-browser .theme:nth-child(3n){margin-left:3%}.theme-browser .theme:nth-child(4n){margin-left:0}}@media only screen and (max-width:1120px){.theme-browser .theme{width:47.5%;margin-left:0}.theme-browser .theme:nth-child(even){margin-left:0}.theme-browser .theme:nth-child(odd){margin-left:5%}}@media only screen and (max-width:900px){.theme-overlay .theme-wrap{right:65px}}@media only screen and (max-width:780px){.theme-overlay .theme-wrap,body.folded .theme-overlay .theme-wrap{top:0;left:0;bottom:0;right:0;padding:70px 20px 20px;border:none;z-index:100000;position:fixed}.theme-browser .theme.active .theme-name span{display:none}.theme-overlay .theme-screenshots{width:40%}.theme-overlay .theme-info{width:50%}.single-theme .theme-wrap{padding:10px}.theme-browser .theme .theme-actions{padding:5px 10px 4px}.theme-overlay.small-screenshot .theme-screenshots{position:static;float:none;max-width:302px}.theme-overlay.small-screenshot .theme-info{margin-right:0;width:auto}.theme:focus .more-details,.theme:hover .more-details,.theme:not(.active):focus .theme-actions,.theme:not(.active):hover .theme-actions{display:none}.theme-browser.rendered .theme:focus .theme-screenshot img,.theme-browser.rendered .theme:hover .theme-screenshot img{opacity:1}}@media only screen and (max-width:480px){.theme-browser .theme{width:100%;margin-left:0}.theme-browser .theme:nth-child(2n),.theme-browser .theme:nth-child(3n){margin-left:0}}@media only screen and (max-width:650px){.theme-overlay .theme-description,.theme-overlay .theme-update{margin-right:0}.theme-overlay .theme-actions .delete-theme{position:relative;left:auto;bottom:auto}.theme-overlay .theme-actions .inactive-theme{display:inline}.theme-overlay .theme-screenshots{width:100%;float:none}.theme-overlay .theme-info{width:100%}.theme-overlay .theme-author{margin:5px 0 15px}.theme-overlay .current-label{margin-top:10px;font-size:13px}.themes-php .wp-filter-search{float:none;clear:both;right:0;top:0;left:0;margin:10px 0;width:100%;max-width:280px}.theme-browser .theme.add-new-theme span:after{font:400 60px/90px dashicons;width:80px;height:80px;top:30%;right:50%;text-indent:0;margin-right:-40px}.single-theme .theme-wrap{margin:0 -10px 0 -12px;padding:10px}.single-theme .theme-overlay .theme-about{padding:10px;overflow:visible}.single-theme .current-label{display:none}.single-theme .theme-overlay .theme-actions{position:static}}.broken-themes{clear:both}.broken-themes table{text-align:right;width:50%;border-spacing:3px;padding:3px}.theme-browser .theme .theme-installed{background:#0073aa}.theme-browser .theme .theme-installed:before{content:"\f147"}.theme-browser .theme.is-installed .theme-actions .button-primary{display:none!important}.theme-install-php .wp-filter{padding:0 20px}.theme-install-php a.browse-themes,.theme-install-php a.upload{cursor:pointer}.theme-install-php a.browse-themes,.theme-install-php.show-upload-theme a.upload{display:none}.theme-install-php.show-upload-theme a.browse-themes{display:inline}.upload-plugin,.upload-theme{box-sizing:border-box;display:none;margin:0;padding:0;width:100%;overflow:hidden;position:relative;top:10px}.wp-full-overlay,.wp-full-overlay-main,.wp-full-overlay-sidebar{top:0;height:100%;bottom:0;right:0}.upload-plugin,body.show-upload-theme .upload-theme{display:block}body.show-upload-theme .upload-theme+.wp-filter,body.show-upload-theme .upload-theme+.wp-filter+.theme-browser,p.no-themes{display:none}.upload-plugin .wp-upload-form,.upload-theme .wp-upload-form{background:#fafafa;border:1px solid #e5e5e5;padding:30px;margin:30px auto;max-width:380px}.upload-plugin .install-help,.upload-theme .install-help{color:#999;font-size:18px;font-style:normal;margin:0;padding:40px 0 0;text-align:center}p.no-themes{clear:both;color:#666;font-size:18px;font-style:normal;margin:0;padding:0;text-align:center}body.no-results p.no-themes{display:block}.theme-install-php .add-new-theme,body.show-upload-theme p.no-themes{display:none!important}@media only screen and (max-width:1120px){.upload-theme .wp-upload-form{margin:20px 0;max-width:100%}.upload-theme .install-help{font-size:15px;padding:20px 0 0;text-align:right}}.theme-details .theme-rating{line-height:23px}.theme-details .star-rating{display:inline}.theme-details .no-rating,.theme-details .num-ratings{font-size:11px;color:#999}.theme-details .no-rating{display:block;line-height:20px}.appearance_page_custom-header #headimg{border:1px solid #DFDFDF;overflow:hidden;width:100%}.appearance_page_custom-header #upload-form p label{font-size:12px}.appearance_page_custom-header .available-headers .default-header{float:right;margin:0 0 20px 20px}.appearance_page_custom-header .random-header{clear:both;margin:0 0 20px 20px;vertical-align:middle}.appearance_page_custom-header .available-headers label input,.appearance_page_custom-header .random-header label input{margin-left:10px}.appearance_page_custom-header .available-headers label img{vertical-align:middle}div#custom-background-image{min-height:100px;border:1px solid #dfdfdf}div#custom-background-image img{max-width:400px;max-height:300px}body.full-overlay-active{overflow:hidden}.wp-full-overlay{background:0 0;z-index:500000;position:fixed;overflow:visible;left:0;min-width:0}.wp-full-overlay-sidebar{box-sizing:border-box;position:fixed;width:300px;padding:0;margin:0;z-index:10;background:#eee;border-left:none}.widget,.widget-placeholder{-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.wp-full-overlay.collapsed,.wp-full-overlay.expanded .wp-full-overlay-sidebar{margin-right:0!important}.wp-full-overlay.expanded{margin-right:300px}.wp-full-overlay.collapsed .wp-full-overlay-sidebar{overflow:visible;margin-right:-300px}.wp-full-overlay-sidebar:after{content:"";display:block;position:absolute;top:0;bottom:0;left:0;width:3px;z-index:1000}.wp-full-overlay-main{position:absolute;left:0}#customize-preview.wp-full-overlay-main{background:url(../images/spinner.gif) center center no-repeat;-webkit-background-size:20px 20px;background-size:20px 20px}#customize-preview.wp-full-overlay-main.iframe-ready{background:0 0}.wp-full-overlay-sidebar .wp-full-overlay-header{position:absolute;right:0;left:0;height:45px;padding:0 15px;line-height:45px;z-index:10;margin:0;border-top:none;-webkit-box-shadow:none;box-shadow:none}.wp-full-overlay-sidebar .wp-full-overlay-header a.back{margin-top:9px}.wp-full-overlay-sidebar .wp-full-overlay-footer{bottom:0;border-bottom:none;border-top:none;-webkit-box-shadow:none;box-shadow:none}.wp-full-overlay-sidebar .wp-full-overlay-sidebar-content{position:absolute;top:45px;bottom:45px;right:0;left:0;overflow:auto}.theme-install-overlay .wp-full-overlay-sidebar .wp-full-overlay-header{padding:0}.theme-install-overlay .close-full-overlay,.theme-install-overlay .next-theme,.theme-install-overlay .previous-theme{display:block;position:relative;float:right;width:45px;height:45px;padding-left:2px;background:#eee;border-left:1px solid #ddd;color:#444;cursor:pointer;text-decoration:none;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out}.theme-install-overlay .close-full-overlay:focus,.theme-install-overlay .close-full-overlay:hover,.theme-install-overlay .next-theme:focus,.theme-install-overlay .next-theme:hover,.theme-install-overlay .previous-theme:focus,.theme-install-overlay .previous-theme:hover{background:#ddd;border-color:#ccc;color:#000;outline:0;-webkit-box-shadow:none;box-shadow:none}.theme-install-overlay .close-full-overlay:before{font:400 22px/1 dashicons;content:"\f335";position:relative;top:7px;right:13px}.theme-install-overlay .previous-theme:before{font:400 20px/1 dashicons;content:"\f345";position:relative;top:6px;right:14px}.theme-install-overlay .next-theme:before{font:400 20px/1 dashicons;content:"\f341";position:relative;top:6px;right:13px}.theme-install-overlay .next-theme.disabled,.theme-install-overlay .next-theme.disabled:focus,.theme-install-overlay .next-theme.disabled:hover,.theme-install-overlay .previous-theme.disabled,.theme-install-overlay .previous-theme.disabled:focus,.theme-install-overlay .previous-theme.disabled:hover{color:#b4b9be;background:#eee;cursor:default;pointer-events:none}.wp-core-ui .wp-full-overlay .collapse-sidebar{position:fixed;bottom:8px;right:10px;padding:0;color:#656a6f;outline:0;line-height:1;background-color:transparent!important;border:none!important;-webkit-box-shadow:none!important;box-shadow:none!important;-webkit-border-radius:0!important;border-radius:0!important}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover{color:#0073aa}.wp-full-overlay .collapse-sidebar-arrow,.wp-full-overlay .collapse-sidebar-label{display:inline-block;vertical-align:middle;line-height:20px}.wp-full-overlay .collapse-sidebar-arrow{width:20px;height:20px;margin:0 2px;-webkit-border-radius:50%;border-radius:50%;overflow:hidden}.wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow,.wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-full-overlay .collapse-sidebar-label{margin-right:3px}.wp-full-overlay.collapsed .collapse-sidebar-label{display:none}.wp-full-overlay .collapse-sidebar-arrow:before{display:block;content:"\f148";background:#eee;font:400 20px/1 dashicons;speak:none;padding:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.rtl .wp-full-overlay .collapse-sidebar-arrow:before,.wp-full-overlay.collapsed .collapse-sidebar-arrow:before{-webkit-transform:rotate(180.001deg);-ms-transform:rotate(180.001deg);transform:rotate(180.001deg)}.rtl .wp-full-overlay.collapsed .collapse-sidebar-arrow:before{-webkit-transform:none;-ms-transform:none;transform:none}.wp-full-overlay,.wp-full-overlay .collapse-sidebar,.wp-full-overlay-main,.wp-full-overlay-sidebar{-webkit-transition-property:right,left,top,bottom,width,margin;transition-property:right,left,top,bottom,width,margin;-webkit-transition-duration:.2s;transition-duration:.2s}.customize-support .hide-if-customize,.customize-support .wp-core-ui .hide-if-customize,.customize-support.wp-core-ui .hide-if-customize,.no-customize-support .hide-if-no-customize,.no-customize-support .wp-core-ui .hide-if-no-customize,.no-customize-support.wp-core-ui .hide-if-no-customize{display:none}#customize-container{display:none;background:#fff;z-index:500000;position:fixed;overflow:visible;top:0;bottom:0;right:0;left:0;height:100%}.customize-active #customize-container{display:block}.customize-loading #customize-container iframe{opacity:0}.customize-loading #customize-container{background:url(../images/spinner.gif) center center no-repeat fixed #fff;-webkit-background-size:20px 20px;background-size:20px 20px}#customize-container iframe,.theme-install-overlay iframe{height:100%;width:100%;z-index:20;-webkit-transition:opacity .3s;transition:opacity .3s}#customize-controls{margin-top:0}.theme-install-overlay{display:none}.theme-install-overlay.single-theme{display:block}.install-theme-info{display:none;padding:10px 20px 60px}.single-theme .install-theme-info{padding-top:15px}.theme-install-overlay .install-theme-info{display:block}.install-theme-info .theme-install{float:left;margin-top:18px}.install-theme-info .theme-name{font-size:16px;line-height:24px;margin-bottom:0;margin-top:0}.install-theme-info .theme-screenshot{margin:15px 0;width:258px;border:1px solid #ccc}.install-theme-info .theme-details{overflow:hidden}.theme-details .theme-version{margin:15px 0}.theme-details .theme-description{float:right;color:#777;line-height:20px;max-width:100%}.theme-install-overlay .wp-full-overlay-header .theme-install{float:left;margin:8px 0 0 10px;line-height:26px}.theme-install-overlay .wp-full-overlay-sidebar{background:#eee;border-left:1px solid #ddd}.theme-install-overlay .wp-full-overlay-sidebar-content{background:#fff;border-top:1px solid #ddd;border-bottom:1px solid #ddd}.theme-install-overlay .wp-full-overlay-main{position:relative;z-index:0;background-color:#fff}.theme-install-overlay .wp-full-overlay-main:before{content:'';display:block;width:20px;height:20px;position:absolute;right:50%;top:50%;z-index:-1;margin:-10px -10px 0 0;-webkit-transform:translateZ(0);transform:translateZ(0);background:url(../images/spinner.gif) center center no-repeat #fff;-webkit-background-size:20px 20px;background-size:20px 20px}.theme-install-overlay.iframe-ready .wp-full-overlay-main:before{background-image:none}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.wp-full-overlay .collapse-sidebar-arrow{background-image:url(../images/arrows-2x.png);-webkit-background-size:15px 123px;background-size:15px 123px}#customize-preview.wp-full-overlay-main,.customize-loading #customize-container,.theme-install-overlay .wp-full-overlay-main:before{background-image:url(../images/spinner-2x.gif)}}@media screen and (max-width:782px){.available-theme .action-links .delete-theme{float:none;margin:0;padding:0;clear:both}.available-theme .action-links .delete-theme a{padding:0}.broken-themes table{width:100%}.theme-install-overlay .wp-full-overlay-header .theme-install{margin-top:6px;line-height:normal}}.about-wrap{position:relative;margin:25px 20px 0 40px;max-width:1050px;font-size:15px}.about-wrap .notice,.about-wrap div.error,.about-wrap div.updated{display:none!important}.about-wrap hr{border:0;height:0;margin:0;border-top:1px solid rgba(0,0,0,.1)}.about-wrap img{margin:0;max-width:100%;height:auto;vertical-align:middle}.about-wrap .jetpack-video-wrapper{margin-bottom:0}.wp-badge{background:url(../images/w-logo-white.png?ver=20131202) center 24px no-repeat #0073aa;-webkit-background-size:85px 85px;background-size:85px 85px;color:#78c8e6;font-size:14px;text-align:center;font-weight:600;margin:5px 0 0;padding-top:120px;height:40px;display:inline-block;width:150px;text-rendering:optimizeLegibility;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.2);box-shadow:0 1px 3px rgba(0,0,0,.2)}.svg .wp-badge{background-image:url(../images/wordpress-logo-white.svg?ver=20131110)}.about-wrap .wp-badge{position:absolute;top:0;left:0}.about-wrap .nav-tab{padding-left:15px;padding-right:15px;font-size:18px}.about-wrap p{line-height:1.6em;font-size:14px}.about-wrap h1{margin:.2em 0 0 200px;padding:0;color:#32373c;line-height:1.2em;font-size:2.8em;font-weight:400}.about-wrap h3{margin:1.25em 0 .6em;font-size:1.25em;line-height:1.5em}.about-wrap h4{color:#23282d}.about-wrap code,.about-wrap ol li p{font-size:14px;font-weight:400}.about-wrap .about-description,.about-wrap .about-text{margin-top:1.4em;font-weight:400;line-height:1.6em;font-size:19px}.about-wrap .about-text{margin:1em 0 1em 200px;min-height:60px;color:#777}.about-wrap [class$=col] .col{float:right;position:relative}.about-wrap .two-col .col{margin-left:4.799999999%;width:47.6%}.about-wrap .feature-section.two-col .col{display:inline-block;float:none;margin-left:4.799999999%;width:calc(47.6% - 4px);vertical-align:middle}.about-wrap .three-col .col{margin-left:4.999999999%;width:29.95%}.about-wrap .three-col .col:nth-of-type(3n),.about-wrap .two-col .col:nth-of-type(2n){margin-left:0}.about-wrap .point-releases{margin-top:5px;border-bottom:1px solid #dfdfdf}.about-wrap .changelog.point-releases h3{padding-top:35px}.about-wrap .changelog.point-releases h3:first-child{padding-top:7px}.about-wrap .headline-feature h2{margin:30px 0;font-size:2.2em;font-weight:300;line-height:1.3;text-align:center}.about-wrap .headline-feature h3{margin-top:0;text-align:right}.about-wrap .embed-container,.about-wrap .feature-list h2,.about-wrap .featured-image{text-align:center}.about-wrap .feature-section.two-col h3{margin-top:0}.about-wrap .feature-list h2{margin:30px 0 15px}.about-wrap .feature-section h4{margin:1.4em 0 .6em;font-size:1em}.about-wrap .feature-section p{margin-top:.6em}.about-wrap .two-col-text{-webkit-column-count:2;-moz-column-count:2;column-count:2;-webkit-column-gap:40px;-moz-column-gap:40px;column-gap:40px}.about-wrap .two-col-text p:first-of-type{margin-top:0}.about-wrap .headline-feature.feature-video{position:relative;margin:40px 0;padding-bottom:56.25%;width:100%;max-width:100%;height:0;text-align:center}.about-wrap .feature-video embed{position:absolute;top:0;right:0;width:100%;height:100%}.about-wrap .feature-section{overflow:hidden;padding:0 0 40px}.about-wrap .headline-feature{margin:0 auto;max-width:80%}.about-wrap .feature-section .media-container{overflow:hidden}.about-wrap .headline-feature .col{width:65.2%}.about-wrap .headline-feature .col.feature-image{width:30%}.about-wrap .headline-feature .vertical-screen{float:left;margin-right:40px;max-width:100%}.about-wrap .headline-feature .horizontal-screen{margin-top:20px;max-width:100%}.about-wrap .embed-container iframe,.about-wrap .wp-embedded-content{max-width:100%}.about-wrap .feature-section:not(.under-the-hood) .col{margin-top:40px}.about-wrap .changelog{margin-bottom:40px}.about-wrap .changelog.feature-section .col{margin-top:40px}.about-wrap .return-to-dashboard{margin:30px -5px 0 0;font-size:14px;font-weight:700}.about-wrap .return-to-dashboard a{text-decoration:none;padding:0 5px}.about-wrap .feature-list.finer-points h4,.about-wrap .feature-list.finer-points p{margin-right:115px}.about-wrap h3.wp-people-group{margin:2.6em 0 1.33em;font-size:16px;line-height:inherit}.about-wrap ul.wp-people-group{overflow:hidden;padding:0 5px;margin:0 -5px 0 -15px}.about-wrap ul.compact{margin-bottom:0}.about-wrap li.wp-person{display:inline-block;vertical-align:top;margin-left:10px;padding-bottom:15px;height:70px;width:280px}.about-wrap ul.compact li.wp-person{height:auto;width:180px;padding-bottom:0;margin-bottom:0}.about-wrap li.wp-person img.gravatar{float:right;margin:0 0 10px 10px;padding:2px;width:60px;height:60px}.about-wrap ul.compact li.wp-person img.gravatar{width:30px;height:30px}.about-wrap li.wp-person a.web{display:block;margin:6px 0 2px;font-size:16px;font-weight:400;line-height:1.6em;text-decoration:none}.about-wrap #wp-people-group-validators+p.wp-credits-list{margin-top:0}.about-wrap p.wp-credits-list a{white-space:nowrap}.freedoms-php .about-wrap ol{margin:40px 60px}.freedoms-php .about-wrap ol li{list-style-type:decimal;font-weight:700}.freedoms-php .about-wrap ol p{font-weight:400;margin:.6em 0}@media screen and (max-width:782px){.about-wrap .feature-section{padding:0;border-bottom:none}.about-wrap [class$=col] .col{float:none;width:100%;margin:40px 0 0;padding:0 0 40px}.about-wrap .headline-feature{position:relative}.about-wrap .headline-feature .col.feature-image{position:absolute;bottom:0;left:0;width:40%}.about-wrap .headline-feature .horizontal-image{position:relative}.about-wrap .headline-feature .horizontal-image:before{display:block;content:"";width:100%;padding-top:80%}.about-wrap .headline-feature .horizontal-image>.content{position:absolute;top:0;right:0;left:0;bottom:0}.about-wrap .headline-feature .horizontal-image img{position:absolute;bottom:0}.about-wrap .two-col-text{-webkit-column-count:1;-moz-column-count:1;column-count:1}.about-wrap .three-col img{display:block;margin:0 auto}.about-wrap .feature-list .col{margin:0;padding:0;border-bottom:none}.about-wrap .headline-feature .feature-section{max-width:100%}.about-wrap .feature-list .feature-section{padding:0 0 40px}}@media only screen and (max-width:500px){.about-wrap{margin-left:20px;margin-right:10px}.about-wrap .about-text,.about-wrap h1{margin-left:0}.about-wrap .about-text{margin-bottom:.25em}.about-wrap .wp-badge{position:relative;margin-bottom:1.5em;width:100%}.about-wrap .feature-section.two-col .col,.about-wrap .headline-feature .feature-section .col,.about-wrap .three-col .col{width:100%!important;float:none!important}.about-wrap .feature-section.two-col .col:last-of-type{margin-top:0}.feature-section.under-the-hood.one-col .col,.feature-section.under-the-hood.three-col .col{padding-bottom:0}}@media only screen and (max-width:400px){.about-wrap .feature-list svg{margin-top:15px;height:65px;width:65px}.about-wrap .feature-list.finer-points h4,.about-wrap .feature-list.finer-points p{margin-right:80px}}.no-js #message{display:block}ul.add-menu-item-tabs li{padding:3px 8px 3px 5px}.accordion-section ul.add-menu-item-tabs,.accordion-section ul.category-tabs,.accordion-section ul.wp-tab-bar{margin:0}.accordion-section .categorychecklist{margin:13px 0}#nav-menu-meta .accordion-section-content{padding:18px 13px}#nav-menu-meta .button-controls{margin-bottom:0}#nav-menus-frame{margin-right:300px;margin-top:23px}#wpbody-content #menu-settings-column{display:inline;width:281px;margin-right:-300px;clear:both;float:right;padding-top:0}#menu-settings-column .inside{clear:both;margin:10px 0 0}.metabox-holder-disabled .accordion-section-content,.metabox-holder-disabled .accordion-section-title,.metabox-holder-disabled .postbox{opacity:.5;filter:alpha(opacity=50)}.metabox-holder-disabled .button-controls .select-all{display:none}#wpbody{position:relative}.blank-slate .menu-name{height:2em}.blank-slate .menu-settings{border:none;margin-top:0;padding-top:0;overflow:hidden}.is-submenu{color:#999;font-style:italic;font-weight:400;margin-right:4px}.manage-menus{margin-top:23px;padding:10px;overflow:hidden;background:#fbfbfb}.manage-menus select{float:right;margin-left:6px}.manage-menus .selected-menu{float:right;margin:5px 0 0 6px}.manage-menus .submit-btn{float:right;margin-top:1px}.menu-edit #post-body-content h3{margin:1em 0 10px}.menu-settings{border-top:1px solid #eee;margin-top:2em}.menu-settings dl{margin:0 0 10px;overflow:hidden;padding-right:18%}.menu-settings dd{float:right;margin:0;width:100%}.menu-settings dt{float:right;clear:both;width:21.951%;padding:3px 0 0;margin-right:-21.951%}.menu-settings label{vertical-align:baseline}.menu-edit .checkbox-input{margin-top:4px}.theme-location-set{color:#999;font-size:11px}#add-custom-link .howto,#cancel-save{font-size:12px}#menu-management-liquid{float:right;min-width:100%;margin-top:3px}#menu-management{position:relative;margin-left:20px;margin-top:-3px;width:100%;background:#f5f5f5}#menu-management .menu-edit{margin-bottom:20px}.nav-menus-php #post-body{padding:0 10px 10px;border-top:1px solid #fff;border-bottom:1px solid #dfdfdf;background:#fff}#nav-menu-footer,#nav-menu-header{padding:0 10px}#nav-menu-header{border-bottom:1px solid #dfdfdf;margin-bottom:0}#nav-menu-header .menu-name-label{margin-top:4px}.nav-menus-php #post-body div.error,.nav-menus-php #post-body div.updated{margin:0}.nav-menus-php #post-body-content{position:relative;float:none}#menu-management .menu-add-new abbr{font-weight:600}#select-nav-menu-container{text-align:left;padding:0 10px 3px;margin-bottom:5px}#select-nav-menu{width:100px;display:inline}#menu-name-label{margin-top:-2px}.widefat .menu-locations tr+tr td{padding-top:0}.widefat .menu-locations td{vertical-align:middle}.menu-location-title label{font-weight:700}.menu-location-menus select{float:right}#locations-nav-menu-wrapper{padding:5px 0}.locations-nav-menu-select select{float:right;width:160px;margin-left:5px}.locations-row-links{float:right;margin:6px 6px 0 0}.locations-add-menu-link,.locations-edit-menu-link{margin:0 3px}.locations-edit-menu-link{padding-left:3px;border-left:1px solid #ccc}#wpbody .open-label{display:block;float:right}#wpbody .open-label span{padding-left:10px}.js .input-with-default-title{color:#a0a5aa;font-style:italic}#menu-management .inside{padding:0 10px}.accordion-container .howto input,.postbox .howto input{width:180px;float:left}.accordion-container .outer-border{margin:0}.customlinkdiv .howto input{width:180px}.customlinkdiv p{margin-top:0}#nav-menu-theme-locations .howto select{width:100%}#nav-menu-theme-locations .button-controls{text-align:left}.add-menu-item-view-all{height:400px}#menu-container .submit{margin:0 0 10px;padding:0}.nav-menus-php .add-new-menu-action{float:right;margin:6px 6px 0 0;line-height:15px}.nav-menus-php .meta-sep,.nav-menus-php .submitcancel,.nav-menus-php .submitdelete{display:block;float:right;margin:6px 0;line-height:15px}.meta-sep{padding:0 2px}#cancel-save{text-decoration:underline;margin-right:20px;margin-top:5px}.button-primary.right,.button-secondary.right,.button.right{float:left}.list-controls{float:right;margin-top:5px}.add-to-menu{float:left}.button-controls{clear:both;margin:10px 0}.hide-all,.show-all{cursor:pointer}.hide-all{display:none}#menu-name{width:270px}#manage-menu .inside{padding:0}#available-links dt{display:block}#add-custom-link label span{display:block;float:right;margin-top:5px;padding-left:5px}.menu-item-textbox{width:180px}.nav-menus-php .howto span{margin-top:6px;display:block;float:right}.quick-search{width:190px}.quick-search-wrap .spinner{float:none;margin:-3px 0 0 -10px}.nav-menus-php .list-wrap{display:none;clear:both;margin-bottom:10px}.nav-menus-php .postbox p.submit{margin-bottom:0}.nav-menus-php .list li{display:none;margin:0 0 5px}.nav-menus-php .list li .menu-item-title{cursor:pointer;display:block}.nav-menus-php .list li .menu-item-title input{margin-left:3px;margin-top:-3px}.menu-item-title input[type=checkbox]{display:inline-block;margin-top:-4px}#menu-container .inside{padding-bottom:10px}.menu{padding-top:1em}#menu-to-edit{margin:0;padding:.1em 0}.menu ul{width:100%}.menu li{margin-bottom:0;position:relative}.menu-item-bar{clear:both;line-height:1.5em;position:relative;margin:9px 0 0}.menu-item-bar .menu-item-handle{border:1px solid #dfdfdf;position:relative;padding:10px 15px;height:auto;min-height:20px;width:382px;line-height:30px;overflow:hidden;word-wrap:break-word}.menu-item-bar .menu-item-handle:hover{border-color:#999}#menu-to-edit .menu-item-invalid .menu-item-handle{background:#f6c9cc;border-color:#f1acb1}.no-js .menu-item-edit-active .item-edit{display:none}.js .menu-item-handle{cursor:move}#cancel-save,.item-controls a:hover,.js .sidebar-name{cursor:pointer}.menu li.deleting .menu-item-handle{background-image:none;background-color:#f66}.menu-item-handle .item-title{font-size:13px;font-weight:600;line-height:20px;display:block;margin-left:13em}.menu-item-handle .menu-item-title.no-title{color:#999}li.menu-item.ui-sortable-helper .menu-item-bar{margin-top:0}li.menu-item.ui-sortable-helper .menu-item-transport .menu-item-bar{margin-top:13px}.menu .sortable-placeholder{height:35px;width:410px;margin-top:13px}.menu-item .menu-item-transport:empty{display:none}.menu-item-depth-0{margin-right:0}.menu-item-depth-1{margin-right:30px}.menu-item-depth-2{margin-right:60px}.menu-item-depth-3{margin-right:90px}.menu-item-depth-4{margin-right:120px}.menu-item-depth-5{margin-right:150px}.menu-item-depth-6{margin-right:180px}.menu-item-depth-7{margin-right:210px}.menu-item-depth-8{margin-right:240px}.menu-item-depth-9{margin-right:270px}.menu-item-depth-10{margin-right:300px}.menu-item-depth-11{margin-right:330px}.menu-item-depth-0 .menu-item-transport{margin-right:0}.menu-item-depth-1 .menu-item-transport{margin-right:-30px}.menu-item-depth-2 .menu-item-transport{margin-right:-60px}.menu-item-depth-3 .menu-item-transport{margin-right:-90px}.menu-item-depth-4 .menu-item-transport{margin-right:-120px}.menu-item-depth-5 .menu-item-transport{margin-right:-150px}.menu-item-depth-6 .menu-item-transport{margin-right:-180px}.menu-item-depth-7 .menu-item-transport{margin-right:-210px}.menu-item-depth-8 .menu-item-transport{margin-right:-240px}.menu-item-depth-9 .menu-item-transport{margin-right:-270px}.menu-item-depth-10 .menu-item-transport{margin-right:-300px}.menu-item-depth-11 .menu-item-transport{margin-right:-330px}body.menu-max-depth-0{min-width:950px!important}body.menu-max-depth-1{min-width:980px!important}body.menu-max-depth-2{min-width:1010px!important}body.menu-max-depth-3{min-width:1040px!important}body.menu-max-depth-4{min-width:1070px!important}body.menu-max-depth-5{min-width:1100px!important}body.menu-max-depth-6{min-width:1130px!important}body.menu-max-depth-7{min-width:1160px!important}body.menu-max-depth-8{min-width:1190px!important}body.menu-max-depth-9{min-width:1220px!important}body.menu-max-depth-10{min-width:1250px!important}body.menu-max-depth-11{min-width:1280px!important}.item-type{display:inline-block;padding:12px 16px;color:#666;font-size:12px;line-height:18px}.item-controls{font-size:12px;position:absolute;left:20px;top:-1px}.item-controls a{text-decoration:none}.item-controls .item-order{padding-left:10px}.nav-menus-php .item-edit{position:absolute;left:-20px;top:0;display:block;width:30px;height:40px;margin-left:0!important;text-indent:100%;outline:0;overflow:hidden;white-space:nowrap}.nav-menus-php .item-edit:before{margin-top:10px;margin-right:4px;width:20px;-webkit-border-radius:50%;border-radius:50%;text-indent:-1px}.rtl .nav-menus-php .item-edit:before{text-indent:1px}.nav-menus-php .item-edit:focus{-webkit-box-shadow:none;box-shadow:none}.nav-menus-php .item-edit:focus:before{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.menu-instructions-inactive{display:none}.menu-item-settings{display:block;width:402px;padding:10px 10px 10px 0;position:relative;z-index:10;border:1px solid #e5e5e5;border-top:none;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04)}.menu-item-settings .field-move a{display:none;margin:0 2px}.menu-item-edit-active .menu-item-settings{display:block}.menu-item-edit-inactive .menu-item-settings{display:none}.add-menu-item-pagelinks{margin:.5em auto;text-align:center}.link-to-original{display:block;margin:0 0 10px;padding:3px 5px 5px;border:1px solid #dfdfdf;color:#777;font-size:12px;font-style:italic}.hidden-field,.nav-menus-php .blank-slate .menu-settings{display:none}.link-to-original a{padding-right:4px;font-style:normal}.menu-item-settings .description-thin,.menu-item-settings .description-wide{margin-left:10px;float:right}.description-thin{width:190px}.description-wide{width:390px}.menu-item-actions{padding-top:15px}.nav-menus-php .major-publishing-actions{clear:both;padding:3px 0 6px}.nav-menus-php .major-publishing-actions .publishing-action{text-align:left;float:left;line-height:23px;margin:4px 0 1px}.nav-menus-php .delete-action{float:right;margin-top:2px}.nav-menus-php .submitbox .submitcancel{border-bottom:1px solid #0073aa;padding:1px 2px;color:#0073aa;text-decoration:none}.nav-menus-php .submitbox .submitcancel:hover{background:#0073aa;color:#fff}.nav-menus-php .major-publishing-actions .form-invalid{padding-right:4px;margin-right:-4px}#menu-item-name-wrap:after,#menu-item-url-wrap:after,#menu-name-label:after,#menu-settings-column .inside:after,#nav-menus-frame:after,.nav-menus-php #post-body-content:after,.nav-menus-php .button-controls:after,.nav-menus-php .major-publishing-actions:after,.nav-menus-php .menu-item-settings:after{clear:both;content:".";display:block;height:0;visibility:hidden}#menu-item-name-wrap,#menu-item-url-wrap,#nav-menus-frame,.button-controls{display:block}@media only screen and (min-width:769px) and (max-width:1000px){body.menu-max-depth-0{min-width:0!important}#menu-management-liquid{width:100%}.nav-menus-php #post-body-content{min-width:0}.menu-item-bar .menu-item-handle{width:90%}}@media screen and (max-width:782px){body.nav-menus-php{min-width:0!important}#nav-menus-frame{margin-right:0;float:none;width:100%}#wpbody-content #menu-settings-column{display:block;width:100%;float:none;margin-right:0}#side-sortables .add-menu-item-tabs{margin:15px 0 14px}ul.add-menu-item-tabs li.tabs{padding:13px 15px 14px}.nav-menus-php .item-controls .item-type{margin-top:2px}.nav-menus-php .customlinkdiv .howto input{width:65%}.nav-menus-php .quick-search{width:85%}#menu-management-liquid{margin-top:25px}.nav-menus-php .menu-name-label.howto span{margin-top:13px}.menu-name-label #menu-name{margin-top:4px}.nav-menus-php .major-publishing-actions .publishing-action{margin-top:6px}.nav-menus-php .delete-action{font-size:14px;line-height:50px;margin-top:12px}.description-wide,.menu-item-bar .menu-item-handle,.menu-item-settings{width:auto}.menu-item-settings{padding:10px}.menu-item-settings .description-thin,.menu-item-settings .description-wide,.menu-item-settings input{width:100%}.menu-item-settings input[type=checkbox],.menu-item-settings input[type=radio]{width:25px}.menu-settings dl{padding-right:0}.menu-settings dd{float:none;width:100%;margin-bottom:15px}.menu-settings dt{float:none;width:auto;margin-right:0;margin-bottom:15px}}@media only screen and (max-width:768px){#menu-locations-wrap .widefat{width:100%}}.widget{margin:0 auto 10px;position:relative;box-sizing:border-box}.widget-top{font-size:13px;font-weight:600;background:#f7f7f7}.widget-top a.widget-action,.widget-top a.widget-action:hover{-webkit-box-shadow:none;box-shadow:none;outline:0;text-decoration:none}.widget-title h3,.widget-title h4{margin:0;padding:15px;font-size:1em;line-height:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;user-select:none}.widgets-holder-wrap .widget-inside{border-top:none;padding:1px 15px 15px;line-height:16px}#available-widgets .widget-description,#widgets-right a.widget-control-edit,.in-widget-title{color:#666}.deleting .widget-title,.deleting .widget-top a.widget-action:after{color:#a0a5aa}.widget.ui-draggable-dragging{min-width:100%}.widget.ui-sortable-helper{opacity:.8}.widget-placeholder{border:1px dashed #b4b9be;margin:0 auto 10px;height:45px;width:100%;box-sizing:border-box}#widgets-right .widget-placeholder{margin-top:0}#widgets-right .closed .widget-placeholder{height:0;border:0;margin-top:-10px}.sidebar-name{position:relative;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.sidebar-name-arrow{position:absolute;top:0;left:0;bottom:0}.sidebar-name h2,.sidebar-name h3{margin:0;padding:8px 10px;overflow:hidden;white-space:nowrap}.widgets-holder-wrap .description{padding:0 0 15px;margin:0;font-style:normal;color:#777}#widgets-right .widgets-holder-wrap .description{padding-right:7px;padding-left:7px}div.widget-liquid-left{margin:0;width:38%;float:right}div.widget-liquid-right{float:left;width:58%}div#widgets-left{padding-top:12px}div#widgets-left .closed .sidebar-name,div#widgets-left .inactive-sidebar.closed .sidebar-name{margin-bottom:10px}div#widgets-left .sidebar-name h2,div#widgets-left .sidebar-name h3{padding:10px 0;margin:0 0 0 10px}#widgets-left .sidebar-name .sidebar-name-arrow:before{padding:9px}#widgets-left #available-widgets,div#widgets-left .widget-holder{background:0 0;border:none}#widgets-left .widgets-holder-wrap{border:none;-webkit-box-shadow:none;box-shadow:none}#available-widgets .widget-action{display:none}#available-widgets .widget{margin:0}#available-widgets .widget:nth-child(odd){clear:both}#available-widgets .widget .widget-description{display:block;padding:10px 15px;font-size:12px}#available-widgets #widget-list{position:relative}#widgets-left .inactive-sidebar{clear:both;width:100%;background:0 0;padding:0;margin:0 0 20px;border:none;-webkit-box-shadow:none;box-shadow:none}#widgets-left .inactive-sidebar.first{margin-top:40px}div#widgets-left .inactive-sidebar .widget.expanded{right:auto}.widget-title-action{float:left;position:relative}div#widgets-left .inactive-sidebar .widgets-sortables{min-height:42px;padding:0;background:0 0;margin:0;position:relative}div#widgets-right:after{content:".";display:block;height:0;clear:both;visibility:hidden}div#widgets-right .sidebars-column-1,div#widgets-right .sidebars-column-2{max-width:450px}div#widgets-right .widgets-holder-wrap{margin:10px 0 0}div#widgets-right .sidebar-description{min-height:20px;margin-top:-5px}div#widgets-right .sidebar-name h2,div#widgets-right .sidebar-name h3{padding:15px 7px}div#widgets-right .sidebar-name .sidebar-name-arrow:before{top:2px}div#widgets-right .widget-top{padding:0}div#widgets-right .widgets-sortables{padding:0 8px;margin-bottom:9px;position:relative;min-height:123px}div#widgets-right .closed .widgets-sortables{min-height:0;margin-bottom:0}.remove-inactive-widgets .spinner,.sidebar-name .spinner{float:none;position:relative;top:-2px;margin:-5px 5px}#widgets-right .widgets-holder-wrap.widget-hover{border-color:#777;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.3);box-shadow:0 1px 2px rgba(0,0,0,.3)}.widgets_access #widgets-left .widget .widget-top{cursor:auto}.widgets_access #wpwrap .widget-control-edit,.widgets_access #wpwrap .widgets-holder-wrap.closed .sidebar-description,.widgets_access #wpwrap .widgets-holder-wrap.closed .widget{display:block}.widgets_access #widgets-left .widget .widget-top:hover,.widgets_access #widgets-right .widget .widget-top:hover{border-color:#ddd}#available-widgets .widget-control-edit .edit,#widgets-left .inactive-sidebar .widget-control-edit .add,#widgets-right .widget-control-edit .add{display:none}.editwidget .widget-inside,.widget-control-edit{display:block;padding:0 15px}.widget-control-edit{color:#666;background:#EEE;line-height:43px;border-right:1px solid #DDD}#widgets-left .widget-control-edit:hover,#widgets-right .widget-control-edit:hover{color:#fff;background:#444;border-right:0;outline:#444 solid 1px}.widgets-holder-wrap .sidebar-description,.widgets-holder-wrap .sidebar-name{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.editwidget{margin:0 auto}.editwidget .widget-control-actions{margin-top:20px}.js .closed br.clear,.js .widgets-holder-wrap.closed .remove-inactive-widgets,.js .widgets-holder-wrap.closed .sidebar-description,.js .widgets-holder-wrap.closed .widget{display:none}.js .widgets-holder-wrap.closed .widget.ui-sortable-helper{display:block}#access-off,.no-js .widget-holder .description,.widget-control-noform,.widget-description,.widget-inside,.widgets_access #access-on,.widgets_access .sidebar-name-arrow,.widgets_access .widget-action,.widgets_access .widget-holder .description{display:none}.widget-inside{background:#fff}#removing-widget{display:none;font-weight:400;padding-right:15px;font-size:12px;line-height:1;color:#000}.js #removing-widget{color:#00a0d2}.widgets_access #widget-list,.widgets_access .widget-holder{padding-top:10px}.widgets_access #access-off{display:inline}.widgets_access .sidebar-name,.widgets_access .widget .widget-top{cursor:default}.widget-liquid-left #widgets-left.chooser #available-widgets .widget,.widget-liquid-left #widgets-left.chooser .inactive-sidebar{-webkit-transition:opacity .1s linear;transition:opacity .1s linear;opacity:.2;pointer-events:none}.widget-liquid-left #widgets-left.chooser #available-widgets .widget-in-question{opacity:1;pointer-events:auto}#available-widgets .widget-top:hover,#widgets-left .widget-in-question .widget-top,#widgets-left .widget-top:hover,.widgets-chooser ul,div#widgets-right .widget-top:hover{border-color:#999;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.1);box-shadow:0 1px 2px rgba(0,0,0,.1)}.widgets-chooser ul.widgets-chooser-sidebars{margin:0;list-style-type:none;max-height:300px;overflow:auto}.widgets-chooser{display:none}.widgets-chooser ul{border:1px solid #ccc}.widgets-chooser li{padding:10px 35px 10px 15px;border-bottom:1px solid #ccc;background:#fff;margin:0;cursor:pointer;outline:0;position:relative;-webkit-transition:background .2s ease-in-out;transition:background .2s ease-in-out}.widgets-chooser li:focus,.widgets-chooser li:hover{background:rgba(255,255,255,.7)}.widgets-chooser li:focus:before{content:"\f147";display:block;-webkit-font-smoothing:antialiased;font:400 26px/1 dashicons;color:#999;position:absolute;top:7px;right:5px}.widgets-chooser li:last-child{border:none}.widgets-chooser li.widgets-chooser-selected{background:#00a0d2;color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{content:"\f147";display:block;-webkit-font-smoothing:antialiased;font:400 26px/1 dashicons;color:#fff;position:absolute;top:7px;right:5px}.locale-he-il em,.locale-zh-cn #local-time,.locale-zh-cn #utc-time,.locale-zh-cn .form-wrap p,.locale-zh-cn .howto,.locale-zh-cn .inline-edit-row fieldset span.checkbox-title,.locale-zh-cn .inline-edit-row fieldset span.title,.locale-zh-cn .js .input-with-default-title,.locale-zh-cn .link-to-original,.locale-zh-cn .tablenav .displaying-num,.locale-zh-cn p.description,.locale-zh-cn p.help,.locale-zh-cn p.install-help,.locale-zh-cn span.description{font-style:normal}.widgets-chooser .widgets-chooser-actions{padding:10px 0 12px;text-align:center}.widgets-chooser button{margin-left:5px}#available-widgets .widget .widget-top{cursor:pointer}#available-widgets .widget.ui-draggable-dragging .widget-top{cursor:move}@media screen and (max-width:480px){div.widget-liquid-left{width:100%;float:none;border-left:none;padding-left:0}#widgets-left #available-widgets .widget-top,#widgets-left .inactive-sidebar .widgets-sortables,#widgets-left .sidebar-name{margin-left:0}div.widget-liquid-right{width:100%;float:none}div.widget{margin:0 auto 10px!important;max-width:480px}}.locale-de-de #customize-header-actions .button,.locale-de-de-formal #customize-header-actions .button,.locale-ru-ru #customize-header-actions .button{padding:0 5px 1px}@media screen and (max-width:320px){div.widget{max-width:320px}}@media only screen and (min-width:1250px){#widgets-left #available-widgets .widget{width:49%;float:right}.widget.ui-draggable-dragging{min-width:49%}#widgets-left #available-widgets .widget:nth-child(even){float:left}#widgets-right .sidebars-column-1,#widgets-right .sidebars-column-2{float:right;width:49%}#widgets-right .sidebars-column-1{margin-left:2%}#widgets-right.single-sidebar .sidebars-column-1,#widgets-right.single-sidebar .sidebars-column-2{float:none;width:100%;margin:0}}.site-icon-preview .favicon-preview{margin:5px 0 20px;overflow:hidden;position:relative;max-width:180px}.site-icon-preview .browser-title,.site-icon-preview .favicon{height:16px;right:88px;overflow:hidden;position:absolute;top:16px}.site-icon-preview .favicon{width:16px}.site-icon-preview .browser-title{right:109px}.site-icon-preview .app-icon-preview{background-color:#000;-webkit-border-radius:16px;border-radius:16px;height:64px;overflow:hidden;width:64px;margin-top:5px}body.rtl,body.rtl .press-this a.wp-switch-editor{font-family:Tahoma,Arial,sans-serif}.rtl h1,.rtl h2,.rtl h3,.rtl h4,.rtl h5,.rtl h6{font-family:Arial,sans-serif;font-weight:700}body.locale-he-il,body.locale-he-il .press-this a.wp-switch-editor{font-family:Arial,sans-serif}.locale-he-il em{font-weight:700}.locale-zh-cn .hdnle a{font-size:12px}.locale-zh-cn form.upgrade .hint{font-style:normal;font-size:100%}.locale-zh-cn #sort-buttons{font-size:1em!important}.locale-de-de #customize-header-actions .spinner,.locale-de-de-formal #customize-header-actions .spinner{margin:16px 3px 0}.locale-ru-ru #adminmenu{width:inherit}.locale-ru-ru #adminmenu,.locale-ru-ru #wpbody{margin-right:0}.locale-ru-ru .inline-edit-row fieldset label span.title,.locale-ru-ru .inline-edit-row fieldset.inline-edit-date legend{width:8em}.locale-ru-ru .inline-edit-row fieldset .timestamp-wrap,.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap{margin-right:8em}.locale-ru-ru.post-new-php .tagsdiv .newtag,.locale-ru-ru.post-php .tagsdiv .newtag{width:165px}.locale-ru-ru.press-this .posting{margin-left:277px}.locale-ru-ru .press-this-sidebar{width:265px}.locale-ru-ru #customize-header-actions .spinner{margin:16px 3px 0}.locale-lt-lt .inline-edit-row fieldset label span.title,.locale-lt-lt .inline-edit-row fieldset.inline-edit-date legend{width:8em}.locale-lt-lt .inline-edit-row fieldset .timestamp-wrap,.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap{margin-right:8em}@media screen and (max-width:782px){.locale-lt-lt .inline-edit-row fieldset .timestamp-wrap,.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap,.locale-ru-ru .inline-edit-row fieldset .timestamp-wrap,.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap{margin-right:0}} \ No newline at end of file diff --git a/wp-admin/css/wp-admin.min.css b/wp-admin/css/wp-admin.min.css index a8cd7eb..a0189a4 100644 --- a/wp-admin/css/wp-admin.min.css +++ b/wp-admin/css/wp-admin.min.css @@ -1,8 +1,8 @@ -#ajax-loading,#screen-meta .screen-reader-text,.ajax-feedback,.ajax-loading,.imgedit-wait-spin,.list-ajax-loading,.row-actions,.spinner{visibility:hidden}.color-palette,.form-table,.media-item .describe{border-collapse:collapse}#wpwrap{height:auto;min-height:100%;width:100%;position:relative;-webkit-font-smoothing:subpixel-antialiased}#wpcontent{height:100%;padding-left:20px}#wpcontent,#wpfooter{margin-left:160px}.folded #wpcontent,.folded #wpfooter{margin-left:36px}#wpbody-content{padding-bottom:65px;float:left;width:100%;overflow:visible!important}.inner-sidebar{float:right;clear:right;display:none;width:281px;position:relative}.columns-2 .inner-sidebar{margin-right:auto;width:286px;display:block}.columns-2 .inner-sidebar #side-sortables,.inner-sidebar #side-sortables{min-height:300px;width:280px;padding:0}.has-right-sidebar .inner-sidebar{display:block}.has-right-sidebar #post-body{float:left;clear:left;width:100%;margin-right:-2000px}.has-right-sidebar #post-body-content{margin-right:300px;float:none;width:auto}#col-container,#col-left,#col-right{overflow:hidden;padding:0;margin:0}#col-left{width:35%}#col-right{float:right;clear:right;width:65%}.alignleft,.subsubsub{float:left}.col-wrap{padding:0 7px}.alignright{float:right}.textleft{text-align:left}.textright{text-align:right}.clear{clear:both}.screen-reader-text,.screen-reader-text span,.ui-helper-hidden-accessible{position:absolute;margin:-1px;padding:0;height:1px;width:1px;overflow:hidden;clip:rect(0 0 0 0);border:0;word-wrap:normal!important}#adminmenu .wp-submenu,#dashboard_quick_press .draft-title,#templateside,#the-comment-list td.comment,.dashboard-comment-wrap,.pre,.widefat *{word-wrap:break-word}.screen-reader-shortcut{position:absolute;top:-1000em}.screen-reader-shortcut:focus{left:6px;top:-25px;height:auto;width:auto;display:block;font-size:14px;font-weight:600;padding:15px 23px 14px;background:#f1f1f1;color:#21759b;z-index:100000;line-height:normal;-webkit-box-shadow:0 0 2px 2px rgba(0,0,0,.6);box-shadow:0 0 2px 2px rgba(0,0,0,.6);text-decoration:none;outline:0}body,p{font-size:13px}.hidden,.js .closed .inside,.js .hide-if-js,.js .wp-core-ui .hide-if-js,.js.wp-core-ui .hide-if-js,.no-js .hide-if-no-js,.no-js .wp-core-ui .hide-if-no-js,.no-js.wp-core-ui .hide-if-no-js{display:none}#menu-management .menu-edit,#menu-settings-column .accordion-container,.comment-ays,.feature-filter,.imgedit-group,.manage-menus,.menu-item-handle,.popular-tags,.stuffbox,.widget-inside,.widget-top,.widgets-holder-wrap,.wp-editor-container,p.popular-tags,table.widefat{border:1px solid #e5e5e5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04)}.comment-ays,.feature-filter,.imgedit-group,.popular-tags,.stuffbox,.widgets-holder-wrap,.wp-editor-container,p.popular-tags,table.widefat{background:#fff}body,html{height:100%;margin:0;padding:0}html{background:#f1f1f1}body{color:#444;font-family:"Open Sans",sans-serif;line-height:1.4em;min-width:600px}body.iframe{min-width:0;padding-top:1px}body.modal-open{overflow:hidden}body.mobile.modal-open #wpwrap{overflow:hidden;position:fixed;height:100%}iframe,img{border:0}td{font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit}a{color:#0073aa;-webkit-transition-property:border,background,color;transition-property:border,background,color;-webkit-transition-duration:.05s;transition-duration:.05s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}a,div{outline:0}a:active,a:hover{color:#00a0d2}a:focus,a:focus .media-icon img{color:#124964;-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.ie8 a:focus{outline:#5b9dd9 solid 1px}#adminmenu a:focus,.screen-reader-text:focus{-webkit-box-shadow:none;box-shadow:none;outline:0}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}p{line-height:1.5;margin:1em 0}blockquote{margin:1em}dd,li{margin-bottom:6px}h1,h2,h3,h4,h5,h6{display:block;font-weight:600}h1{font-size:2em;margin:.67em 0}.wrap>h1,h2{color:#23282d;font-size:1.5em;margin:.83em 0;font-weight:400}h3{color:#23282d;font-size:1.3em;margin:1em 0}h4{font-size:1em;margin:1.33em 0}h5{font-size:.83em;margin:1.67em 0}h6{font-size:.67em;margin:2.33em 0}ol,ul{padding:0}ul{list-style:none}ol{list-style-type:decimal;margin-left:2em}ul.ul-disc{list-style:disc}.side-info ul,ul.ul-square{list-style:square}ol.ol-decimal{list-style:decimal}ol.ol-decimal,ul.ul-disc,ul.ul-square{margin-left:1.8em}ol.ol-decimal>li,ul.ul-disc>li,ul.ul-square>li{margin:0 0 .5em}.ltr{direction:ltr}.code,code{font-family:Consolas,Monaco,monospace;direction:ltr;unicode-bidi:embed}code,kbd{padding:3px 5px 2px;margin:0 1px;background:#eaeaea;background:rgba(0,0,0,.07);font-size:13px}.subsubsub{list-style:none;margin:8px 0 0;padding:0;font-size:13px;color:#666}.subsubsub a{line-height:2;padding:.2em;text-decoration:none}.subsubsub a .count,.subsubsub a.current .count{color:#999;font-weight:400}.subsubsub a.current{font-weight:600;border:none}.subsubsub li{display:inline-block;margin:0;padding:0;white-space:nowrap}.widefat{border-spacing:0;width:100%;clear:both;margin:0}.widefat a{text-decoration:none}.widefat td,.widefat th{padding:8px 10px}.widefat thead td,.widefat thead th{border-bottom:1px solid #e1e1e1}.widefat tfoot td,.widefat tfoot th{border-top:1px solid #e1e1e1;border-bottom:none}.widefat .no-items td{border-bottom-width:0}.widefat td{vertical-align:top}.widefat td,.widefat td ol,.widefat td p,.widefat td ul{font-size:13px;line-height:1.5em}.widefat tfoot td,.widefat th,.widefat thead td{text-align:left;line-height:1.3em;font-size:14px}.widefat tfoot td input,.widefat th input,.widefat thead td input{margin:0 0 0 8px;padding:0;vertical-align:text-top}.widefat .check-column{width:2.2em;padding:6px 0 25px;vertical-align:top}.widefat tfoot td input[type=checkbox],.widefat th input[type=checkbox],.widefat thead td input[type=checkbox]{margin-top:-1px}.widefat tbody th.check-column,.widefat tfoot td.check-column,.widefat thead td.check-column{padding:11px 0 0 3px}.widefat tfoot td.check-column,.widefat thead td.check-column{padding-top:10px}.update-php div.error,.update-php div.updated{margin-left:0}.no-js .widefat tfoot .check-column input,.no-js .widefat thead .check-column input{display:none}.column-comments,.column-links,.column-posts,.widefat .num{text-align:center}.widefat th#comments{vertical-align:middle}.wrap{margin:10px 20px 0 2px}.subtitle,.wrap h1,.wrap h2{font-weight:400;margin:0}.wrap h1,.wrap h2{font-size:23px;font-weight:400;padding:9px 15px 4px 0;line-height:29px}.subtitle{color:#777;font-size:14px;padding-left:25px}.wrap .add-new-h2,.wrap .add-new-h2:active,.wrap .page-title-action,.wrap .page-title-action:active{margin-left:4px;padding:4px 8px;position:relative;top:-3px;text-decoration:none;border:none;-webkit-border-radius:2px;border-radius:2px;background:#e0e0e0;text-shadow:none;font-weight:600;font-size:13px}.wrap .add-new-h2:hover,.wrap .page-title-action:hover{background:#00a0d2;color:#fff}.wrap h1.long-header{padding-right:0}.wp-dialog{background-color:#fff}.sorthelper{background-color:#ccf3fa}.ac_match,.subsubsub a.current{color:#000}.alternate,.striped>tbody>:nth-child(odd),ul.striped>:nth-child(odd){background-color:#f9f9f9}.bar{background-color:#e8e8e8;border-right-color:#99d}.media-upload-form label.form-help,td.help{color:#9a9a9a}.highlight{background-color:#e4f2fd;color:#000}.wp-ui-primary{color:#fff;background-color:#32373c}.wp-ui-text-primary{color:#32373c}.wp-ui-highlight{color:#fff;background-color:#1e8cbe}.wp-ui-text-highlight{color:#1e8cbe}.wp-ui-notification{color:#fff;background-color:#d54e21}.wp-ui-text-notification{color:#d54e21}.wp-ui-text-icon{color:#999}img.emoji{display:inline!important;border:none!important;height:1em!important;width:1em!important;margin:0 .07em!important;vertical-align:-.1em!important;background:0 0!important;padding:0!important;-webkit-box-shadow:none!important;box-shadow:none!important}#nav-menu-footer,#nav-menu-header,#your-profile #rich_editing,.checkbox,.control-section .accordion-section-title,.menu-item-handle,.postbox .hndle,.side-info,.sidebar-name,.stuffbox .hndle,.widefat tfoot td,.widefat tfoot th,.widefat thead td,.widefat thead th,.widget .widget-top{line-height:1.4em}.menu-item-handle,.widget .widget-top{background:#fafafa;color:#23282d}.postbox .hndle,.stuffbox .hndle{border-bottom:1px solid #eee;user-select:none}.accordion-section-title,.postbox .hndle,.stuffbox .hndle{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.quicktags,.search{background-color:#ccc;color:#000;font-size:12px}.icon32{display:none}#bulk-titles div a:before,.notice-dismiss:before,.tagchecklist span a:before,.welcome-panel .welcome-panel-close:before{background:0 0;color:#b4b9be;content:'\f153';display:block;font:400 16px/20px dashicons;speak:none;height:20px;text-align:center;width:20px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.welcome-panel .welcome-panel-close:before{margin:0}#bulk-titles div a:before,.tagchecklist span a:before{margin:1px 0}#bulk-titles div a:hover:before,.tagchecklist span a:hover:before,.welcome-panel .welcome-panel-close:focus:before,.welcome-panel .welcome-panel-close:hover:before{color:#c00}.key-labels label{line-height:24px}b,strong{font-weight:600}.pre{white-space:pre-wrap}#namediv td.first,#plugin-information-title,.no-break,.star-rating,.ui-autocomplete li{white-space:nowrap}.howto{color:#666;font-style:italic;display:block}p.install-help{margin:8px 0;font-style:italic}hr{border:0;border-top:1px solid #ddd;border-bottom:1px solid #fafafa}#all-plugins-table .plugins a.delete,#media-items a.delete,#media-items a.delete-permanently,#nav-menu-footer .menu-delete,#search-plugins-table .plugins a.delete,.plugins a.delete,.row-actions span.delete a,.row-actions span.spam a,.row-actions span.trash a,.submitbox .submitdelete{color:#a00}#all-plugins-table .plugins a.delete:hover,#media-items a.delete-permanently:hover,#media-items a.delete:hover,#nav-menu-footer .menu-delete:hover,#search-plugins-table .plugins a.delete:hover,.file-error,.plugins a.delete:hover,.row-actions .delete a:hover,.row-actions .spam a:hover,.row-actions .trash a:hover,.submitbox .submitdelete:hover,.widget-control-remove:hover,abbr.required{color:red;text-decoration:none;border:none}#major-publishing-actions{padding:10px;clear:both;border-top:1px solid #ddd;background:#f5f5f5}#delete-action{line-height:28px;vertical-align:middle;text-align:left;float:left}#publishing-action{text-align:right;float:right;line-height:23px}#publishing-action .spinner,#save-post{float:left}#misc-publishing-actions{padding:6px 0 0}.misc-pub-section{padding:6px 10px 8px}#minor-publishing-actions{padding:10px 10px 0;text-align:right}.preview{float:right}#sticky-span{margin-left:18px}.side-info{margin:0;padding:4px;font-size:11px}.side-info h5{padding-bottom:7px;font-size:14px;margin:12px 2px 5px;border-bottom:1px solid #dadada}.side-info ul{margin:0;padding-left:18px;color:#666}.approve,.unapproved .unapprove{display:none}.spam .approve,.trash .approve,.unapproved .approve{display:inline}td.action-links,th.action-links{text-align:right}.wp-filter{display:inline-block;position:relative;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:12px 0 25px;padding:0 10px;width:100%;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);border:1px solid #e5e5e5;background:#fff;color:#555;font-size:13px}.wp-filter a{text-decoration:none}.filter-count{display:inline-block;vertical-align:middle;min-width:4em}.filter-count .count,.title-count{display:inline-block;position:relative;top:-1px;padding:4px 10px;-webkit-border-radius:30px;border-radius:30px;background:#777;color:#fff;font-size:14px;font-weight:600}.title-count{display:inline;top:-3px;margin-left:5px;margin-right:20px}.filter-items{float:left}.filter-links,.filter-links li{display:inline-block;margin:0}.filter-links li>a{display:inline-block;margin:0 10px;padding:15px 0;border-bottom:4px solid #fff;color:#666;cursor:pointer}.filter-links .current{-webkit-box-shadow:none;box-shadow:none;border-bottom:4px solid #666;color:#23282d}.filter-links li>a:focus,.filter-links li>a:hover,.show-filters .filter-links a.current:focus,.show-filters .filter-links a.current:hover{color:#00a0d2}.wp-filter .search-form{float:right;margin:10px 0}.wp-filter .search-form input[type=search]{margin:0;padding:3px 5px;width:280px;max-width:100%;font-size:16px;font-weight:300;line-height:1.5}.wp-filter .search-form select{margin:0;height:32px;vertical-align:top}.wp-filter .search-form.search-plugins{display:inline-block}.wp-filter .drawer-toggle{display:inline-block;margin:0 10px;padding:4px 6px;color:#666;cursor:pointer}.wp-filter .drawer-toggle:before{display:inline-block;vertical-align:top;content:"\f111";margin:0 5px 0 0;width:16px;height:16px;color:#777;-webkit-transition:color .1s ease-in 0;transition:color .1s ease-in 0;font-family:dashicons;font-size:16px;line-height:1;text-align:center;text-decoration:inherit;font-weight:400;font-style:normal;-webkit-font-smoothing:antialiased}.wp-filter .drawer-toggle:hover,.wp-filter .drawer-toggle:hover:before{color:#00a0d2}.show-filters .wp-filter .drawer-toggle:before,.wp-filter .drawer-toggle.current:before{color:#fff}.filter-drawer{display:none;margin:0 -20px;padding:20px;border-top:1px solid #eee;background:#fafafa}.show-filters .filter-drawer{display:block;overflow:hidden;width:100%}.show-filters .wp-filter .drawer-toggle:focus,.show-filters .wp-filter .drawer-toggle:hover{background:#2ea2cc}.show-filters .filter-links a.current{border-bottom:none}.show-filters .wp-filter .drawer-toggle{-webkit-border-radius:2px;border-radius:2px;border:none;background:#777;color:#fff}.filter-group{box-sizing:border-box;float:left;margin:0 1% 0 0;padding:10px;width:24%;box-shadow:0 1px 1px rgba(0,0,0,.04)}.filter-group,.filtered-by .tag{background:#fff;border:1px solid #e5e5e5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04)}.filter-group,html.wp-toolbar{-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.filter-group h4{position:relative;margin:0}.filter-drawer ol{margin:20px 0 0;list-style-type:none;font-size:12px}.filter-drawer li{display:inline-block;vertical-align:top;margin:5px 0;padding-right:25px;width:160px;list-style-type:none}.filter-drawer .buttons{margin-bottom:20px}.filter-drawer .buttons .button span{display:inline-block;opacity:.8;font-size:12px;text-indent:10px}.spinner,input[type=checkbox].disabled,input[type=checkbox].disabled:checked:before,input[type=checkbox]:disabled,input[type=checkbox]:disabled:checked:before,input[type=radio].disabled,input[type=radio].disabled:checked:before,input[type=radio]:disabled,input[type=radio]:disabled:checked:before{opacity:.7}.wp-filter .button.clear-filters{display:none;margin-left:10px}.filtered-by{display:none;margin:0}.filtered-by>span{font-weight:600}.filtered-by a{margin-left:10px}.filtered-by .tags{display:inline}.filtered-by .tag{margin:0 5px;padding:4px 8px;box-shadow:0 1px 1px rgba(0,0,0,.04);font-size:11px}.filters-applied .filter-drawer .buttons,.filters-applied .filter-drawer br,.filters-applied .filter-group{display:none!important}.filters-applied .filtered-by{display:block}.filters-applied .filter-drawer{padding:20px}.error .content-filterable,.loading-content .content-filterable,.show-filters .content-filterable,.show-filters.filters-applied.loading-content .content-filterable{display:none}.show-filters.filters-applied .content-filterable{display:block}.loading-content .spinner{display:block;margin:40px auto 0;float:none}@media only screen and (max-width:1120px){.filter-drawer{border-bottom:1px solid #eee}.filter-group{margin-bottom:0;margin-top:5px;width:100%}.filter-group li{margin:10px 0}}@media only screen and (max-width:1000px){.filter-items{float:none}.wp-filter .media-toolbar-primary,.wp-filter .media-toolbar-secondary,.wp-filter .search-form{float:none;position:relative;max-width:100%}}@media only screen and (max-width:782px){.filter-group li{padding:0;width:50%}}@media only screen and (max-width:320px){.filter-count{display:none}.wp-filter .drawer-toggle{margin:10px 0}.filter-group li,.wp-filter .search-form input[type=search]{width:100%}}.notice,div.error,div.updated{background:#fff;border-left:4px solid #fff;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1);margin:5px 15px 2px;padding:1px 12px}.notice-dismiss:focus,.widget-top a.widget-action:focus:after{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.form-table td .notice p,.notice p,div.error p,div.updated p{margin:.5em 0;padding:2px}.wp-core-ui .notice.is-dismissible{padding-right:38px;position:relative}.notice-dismiss{position:absolute;top:0;right:1px;border:none;margin:0;padding:9px;background:0 0;color:#b4b9be;cursor:pointer}.notice-dismiss:active:before,.notice-dismiss:focus:before,.notice-dismiss:hover:before{color:#c00}.notice-dismiss:focus{outline:0;box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.ie8 .notice-dismiss:focus{outline:#5b9dd9 solid 1px}.notice-success,div.updated{border-color:#7ad03a}.notice-warning{border-color:#ffba00}.notice-error,div.error{border-color:#dd3d36}.notice-info{border-color:#00a0d2}.media-upload-form .notice,.media-upload-form div.error,.wrap .notice,.wrap div.error,.wrap div.updated{margin:5px 0 15px}#update-nag,.update-nag{display:inline-block;line-height:19px;padding:11px 15px;font-size:14px;text-align:left;margin:25px 20px 0 2px;background-color:#fff;border-left:4px solid #ffba00;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1)}.update-message{color:#000}.update-php .spinner{float:none;margin:-4px 0}#ajax-response.alignleft{margin-left:2em}#adminmenu a,#catlist a,#taglist a{text-decoration:none}#contextual-help-wrap,#screen-options-wrap{margin:0;padding:8px 20px 12px;position:relative}#contextual-help-wrap{overflow:auto;margin-left:0!important}#screen-meta-links{margin:0 20px 0 0}#screen-meta{display:none;margin:0 20px -1px 0;position:relative;background-color:#fff;border:1px solid #ddd;border-top:none;-webkit-box-shadow:0 1px 0 rgba(0,0,0,.025);box-shadow:0 1px 0 rgba(0,0,0,.025)}#contextual-help-link-wrap,#screen-options-link-wrap{float:right;height:28px;margin:0 0 0 6px;border:1px solid #ddd;border-top:none;background:#fff;-webkit-box-shadow:0 1px 1px -1px rgba(0,0,0,.1);box-shadow:0 1px 1px -1px rgba(0,0,0,.1)}#screen-meta-links .screen-meta-toggle{position:relative;top:0}#screen-meta-links .show-settings{border:0;background:0 0;-webkit-border-radius:0;border-radius:0;color:#777;line-height:1.7;padding:3px 6px 3px 16px}#screen-meta-links .show-settings:active,#screen-meta-links .show-settings:focus,#screen-meta-links .show-settings:hover{color:#32373c}#screen-meta-links .show-settings:after{right:0;content:'\f140';font:400 20px/1 dashicons;speak:none;display:inline-block;padding:0 5px 0 0;bottom:2px;position:relative;vertical-align:bottom;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#b4b9be}.hndle a,.widefat tfoot td,.widefat th,.widefat thead td{font-weight:400}#screen-meta-links .screen-meta-active:after{content:'\f142'}.toggle-arrow{background-repeat:no-repeat;background-position:top left;background-color:transparent;height:22px;line-height:22px;display:block}.toggle-arrow-active{background-position:bottom left}#contextual-help-wrap h5,#screen-options-wrap h5{margin:8px 0;font-size:13px}.metabox-prefs label{display:inline-block;padding-right:15px;line-height:30px}.metabox-prefs label input[type=checkbox]{margin-top:-4px;margin-right:6px}.metabox-prefs label input{margin:0 5px 0 2px}.metabox-prefs .columns-prefs label input{margin:0 2px}.metabox-prefs label a{display:none}.metabox-prefs .screen-options{padding-top:10px}.metabox-prefs .screen-options input,.metabox-prefs .screen-options label{margin-top:0;margin-bottom:0;vertical-align:middle}.metabox-prefs .screen-options .screen-per-page{margin-right:15px}.metabox-prefs .screen-options label{line-height:28px;padding-right:0}#contextual-help-wrap{padding:0}#contextual-help-columns{position:relative}#contextual-help-back{position:absolute;top:0;bottom:0;left:150px;right:170px;border:1px solid #e1e1e1;border-top:none;border-bottom:none;background:#f6fbfd}#contextual-help-wrap.no-sidebar #contextual-help-back{right:0;border-right-width:0;-webkit-border-bottom-right-radius:2px;border-bottom-right-radius:2px}.contextual-help-tabs{float:left;width:150px;margin:0}.contextual-help-tabs ul{margin:1em 0}.contextual-help-tabs li{margin-bottom:0;list-style-type:none;border-style:solid;border-width:0 0 0 2px;border-color:transparent}.contextual-help-tabs a{display:block;padding:5px 5px 5px 12px;line-height:18px;text-decoration:none;border:1px solid transparent;border-right:none;border-left:none}.contextual-help-tabs a:hover{color:#32373c}.contextual-help-tabs .active{padding:0;margin:0 -1px 0 0;border-left:2px solid #00a0d2;background:#f6fbfd;-webkit-box-shadow:0 2px 0 rgba(0,0,0,.02),0 1px 0 rgba(0,0,0,.02);box-shadow:0 2px 0 rgba(0,0,0,.02),0 1px 0 rgba(0,0,0,.02)}.contextual-help-tabs .active a{border-color:#e1e1e1;color:#32373c}.contextual-help-tabs-wrap{padding:0 20px;overflow:auto}.help-tab-content{display:none;margin:0 22px 12px 0;line-height:1.6em}.help-tab-content.active{display:block}.nav-tab,.spinner{display:inline-block}.help-tab-content ul li{list-style-type:disc;margin-left:18px}.contextual-help-sidebar{width:150px;float:right;padding:0 8px 0 12px;overflow:auto}html.wp-toolbar{padding-top:32px;box-sizing:border-box}.widefat td,.widefat th{color:#555}.widefat ol,.widefat p,.widefat tfoot tr td,.widefat tfoot tr th,.widefat thead tr td,.widefat thead tr th,.widefat ul{color:#32373c}.widefat td p{margin:2px 0 .8em}.widefat .column-comment p{margin:.6em 0}.postbox-container{float:left}.postbox-container .meta-box-sortables{box-sizing:border-box}.postbox-container .meta-box-sortables,input,textarea{-webkit-box-sizing:border-box;-moz-box-sizing:border-box}#wpbody-content .metabox-holder{padding-top:10px}.metabox-holder .postbox-container .empty-container{border:3px dashed #b4b9be;height:250px}.columns-2 #postbox-container-3 .empty-container,.columns-2 #postbox-container-4 .empty-container,.columns-3 #postbox-container-4 .empty-container,.metabox-holder.columns-1 .postbox-container .empty-container{border:0;height:0;min-height:0}#post-body-content{width:100%;min-width:463px;float:left}#post-body.columns-2 #postbox-container-1{float:right;margin-right:-300px;width:280px}#post-body.columns-2 #side-sortables{min-height:250px}@media only screen and (max-width:799px){#wpbody-content .metabox-holder .postbox-container .empty-container{border:0;height:0;min-height:0}}.js .postbox .hndle,.js .widget .widget-top{cursor:move}.js .accordion-section-title,.js .postbox .handlediv{cursor:pointer}.hndle a{font-size:11px}.postbox .handlediv{float:right;width:27px;height:30px}.sortable-placeholder{border:1px dashed #b4b9be;margin-bottom:20px}.postbox,.stuffbox{margin-bottom:20px;padding:0;line-height:1}.postbox .inside,.stuffbox .inside{padding:0 12px 12px;line-height:1.4em;font-size:13px}.postbox .inside{margin:11px 0;position:relative}.postbox .inside>p:last-child,.rss-widget ul li:last-child{margin-bottom:1px!important}.postbox.closed h3{border:none;-webkit-box-shadow:none;box-shadow:none}.postbox table.form-table{margin-bottom:0}.postbox table.widefat{-webkit-box-shadow:none;box-shadow:none}.temp-border{border:1px dotted #ccc}.columns-prefs label{padding:0 5px}#adminmenu .wp-submenu li.current,#adminmenu .wp-submenu li.current a,#adminmenu .wp-submenu li.current a:hover,#dashboard_right_now .versions .b,#ed_reply_toolbar #ed_reply_strong,#pass-strength-result.short,#pass-strength-result.strong,#post-status-display,#post-visibility-display,.feature-filter .feature-name,.item-controls .item-order a,.media-item .percent,.plugins .name{font-weight:600}#wpfooter{position:absolute;bottom:0;left:0;right:0;padding:10px 20px;color:#777}#wpfooter p{font-size:13px;margin:0;line-height:20px}#footer-thankyou{font-style:italic}#wpfooter a{text-decoration:none}#wpfooter a:hover{text-decoration:underline}#templateside ul li a,.nav-tab{text-decoration:none}.nav-tab{border:1px solid #ccc;border-bottom:none;background:#e4e4e4;color:#555;font-size:12px;line-height:16px;padding:4px 14px 6px;margin:-4px 4px -1px 0}.nav-tab:hover{background-color:#fff;color:#464646}.nav-tab-active,.nav-tab-active:hover{border-bottom:1px solid #f1f1f1;background:#f1f1f1;color:#000}h1.nav-tab-wrapper,h2.nav-tab-wrapper,h3.nav-tab-wrapper{border-bottom:1px solid #ccc;padding-bottom:0;padding-left:10px}h1 .nav-tab,h2 .nav-tab{padding:6px 10px;font-weight:700;font-size:15px;line-height:24px}.spinner{background:url(../images/spinner.gif) no-repeat;-webkit-background-size:20px 20px;background-size:20px 20px;float:right;vertical-align:middle;filter:alpha(opacity=70);width:20px;height:20px;margin:4px 10px 0}.spinner.is-active{visibility:visible}#template div{margin-right:190px}.metabox-holder h3{font-size:14px;padding:8px 12px;margin:0;line-height:1.4}.plugin-install #description,.plugin-install-network #description{width:60%}table .column-rating,table .column-visible,table .vers{text-align:left}.attention,.error-message{color:red;font-weight:600}body.iframe{height:98%}.lp-show-latest p{display:none}#howto,.lp-show-latest .lp-error p,.lp-show-latest p:last-child{display:block}.media-icon{width:62px;text-align:center}.media-icon img{border:1px solid #e7e7e7;border:1px solid rgba(0,0,0,.07)}#howto{font-size:11px;margin:0 5px}.post-categories,.post-categories li{display:inline}.importers td{padding-right:14px}.checkbox,.post-categories,.zerosize,fieldset{margin:0;padding:0}.importers{font-size:16px;width:auto}#post-body #post-body-content #namediv h3{margin-top:0}.edit-comment-author{font-size:14px;line-height:1.4;font-weight:600;color:#222;margin:2px 0 0 9px}#namediv h3 label{vertical-align:baseline}#namediv table{width:100%}#namediv td.first{width:10px}#namediv input{width:98%}#namediv p{margin:10px 0}#submitdiv h3{margin-bottom:0!important}.zerosize{height:0;width:0;border:0;overflow:hidden;position:absolute}br.clear{height:2px;line-height:2px}.checkbox{border:none}fieldset{border:0}div.star-holder{position:relative;height:17px;width:100px;background:url(../images/stars.png?ver=20121108) bottom left repeat-x}div.star-holder .star-rating{background:url(../images/stars.png?ver=20121108) top left repeat-x;height:17px;float:left}.star-rating .star{display:inline-block;width:20px;height:20px;-webkit-font-smoothing:antialiased;font-size:20px;line-height:1;font-family:dashicons;text-decoration:inherit;font-weight:400;font-style:normal;vertical-align:top;-webkit-transition:color .1s ease-in 0;transition:color .1s ease-in 0;text-align:center;color:#ffb900}.star-rating .star-full:before{content:'\f155'}.star-rating .star-half:before{content:'\f459'}.rtl .star-rating .star-half{-webkit-transform:rotateY(180deg);-ms-transform:rotateY(180deg);transform:rotateY(180deg)}.star-rating .star-empty:before{content:'\f154'}div.action-links{font-weight:400}#plugin-information{background:#fff;position:fixed;top:0;right:0;bottom:0;left:0;height:100%;padding:0}#plugin-information-scrollable{overflow:auto;-webkit-overflow-scrolling:touch;height:100%}#plugin-information-title{padding:0 20px;background:#f5f5f5;font-size:22px;font-weight:600;line-height:56px;position:relative;top:0;right:0;left:0;height:56px;overflow:hidden;text-overflow:ellipsis}#plugin-information-title.with-banner{margin-right:0;height:250px;bottom:250px;-webkit-background-size:cover;background-size:cover}#plugin-information-title h2{font-size:1em;font-weight:700;padding:0;margin:0;max-width:680px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.meta-box-sortables select,p.submit{max-width:100%}#plugin-information-title.with-banner h2{font-family:"Helvetica Neue",sans-serif;display:inline-block;font-size:30px;line-height:50px;padding:0 15px;margin:174px 0 0 10px;color:#fff;background:rgba(30,30,30,.9);text-shadow:0 1px 3px rgba(0,0,0,.4);-webkit-box-shadow:0 0 30px rgba(255,255,255,.1);box-shadow:0 0 30px rgba(255,255,255,.1);-webkit-border-radius:8px;border-radius:8px}#plugin-information-title div.vignette{display:none}#plugin-information-title.with-banner div.vignette{display:block;float:right;top:0;height:250px;width:772px;margin:0 -20px;background:0 0;-webkit-box-shadow:inset 0 0 50px 4px rgba(0,0,0,.2),inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 0 50px 4px rgba(0,0,0,.2),inset 0 -1px 0 rgba(0,0,0,.1)}#plugin-information-tabs{padding:0 16px;position:relative;right:0;left:0;height:36px;z-index:1;border-bottom:1px solid #ddd;background:#f3f3f3}#plugin-information-tabs a{position:relative;float:left;padding:9px 10px;margin:0;height:18px;line-height:18px;font-size:14px;text-decoration:none;-webkit-transition:none;transition:none}#plugin-information-tabs a.current{margin:0 -1px;background:#fff;border:1px solid #ddd;border-bottom-color:#fff;padding-top:8px;color:#32373c}#plugin-information-tabs.with-banner a.current{border-top:none;padding-top:9px}#plugin-information-tabs a:active,#plugin-information-tabs a:focus{outline:0}#plugin-information-content{overflow:hidden;background:#fff;position:relative;top:0;right:0;left:0;min-height:100%;min-height:-webkit-calc(100% - 152px);min-height:calc(100% - 152px)}#plugin-information-content.with-banner{min-height:-webkit-calc(100% - 346px);min-height:calc(100% - 346px)}#section-holder{position:relative;top:0;right:250px;bottom:0;left:0;margin-right:250px;padding:10px 26px 99999px;margin-bottom:-99930px}#section-holder .updated{margin:16px 0}#plugin-information .fyi{display:block;float:right;position:relative;top:0;right:0;padding:16px 16px 99999px;margin-bottom:-99930px;width:217px;border-left:1px solid #ddd;background:#f3f3f3;color:#666}#plugin-information .fyi strong{color:#464646}#plugin-information .fyi h3{font-weight:700;text-transform:uppercase;font-size:12px;color:#666;margin:24px 0 8px}#plugin-information .fyi h2{font-size:.9em;margin-bottom:0;margin-right:0}#plugin-information .fyi ul{padding:0;margin:0;list-style:none}#plugin-information .fyi li{margin:0 0 10px}#plugin-information .counter-container{margin:3px 0}#plugin-information .counter-label{float:left;margin-right:5px;min-width:55px}#plugin-information .counter-back{height:17px;width:92px;background-color:#ececec;float:left}#plugin-information .counter-bar{height:17px;background-color:#ffc733;float:left}#plugin-information .counter-count{margin-left:5px}#plugin-information .fyi ul.contributors{margin-top:10px}#plugin-information .fyi ul.contributors li{display:inline-block;margin-right:8px;vertical-align:middle}#plugin-information .fyi ul.contributors li img{vertical-align:middle;margin-right:4px}#plugin-information-footer{padding:15px 16px;position:absolute;right:0;bottom:0;left:0;height:28px;border-top:1px solid #ddd;background:#f3f3f3}#plugin-information .section{direction:ltr}#plugin-information .section ol,#plugin-information .section ul{list-style-type:disc;margin-left:24px}#plugin-information .section,#plugin-information .section p{font-size:14px;line-height:1.7}#plugin-information #section-screenshots ol{list-style:none;margin:0}#plugin-information #section-screenshots li img{vertical-align:text-top;margin-top:16px;max-width:100%;width:auto;height:auto;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.3);box-shadow:0 1px 2px rgba(0,0,0,.3)}#plugin-information #section-screenshots li p{font-style:italic;padding-left:20px}#plugin-information pre{padding:7px;overflow:auto;border:1px solid #ccc}#plugin-information .review{overflow:hidden;width:100%;margin-bottom:20px;border-bottom:1px solid #e6e6e6}#plugin-information .review-title-section{overflow:hidden}#plugin-information .review-title-section h4{display:inline-block;float:left;margin:0 6px 0 0}#postcustomstuff p.submit,#templateside h3,.alignleft h3{margin:0}#plugin-information .reviewer-info p{clear:both;margin:0;padding-top:2px}#plugin-information .reviewer-info .avatar{float:left;margin:4px 6px 0 0}#plugin-information .reviewer-info .star-rating{float:left}#plugin-information .review-meta{float:left;margin-left:.75em}#plugin-information .review-body{float:left;width:100%}.plugin-version-author-uri{font-size:13px}@media screen and (max-width:771px){#plugin-information-title.with-banner{height:100px;bottom:100px}#plugin-information-title.with-banner h2{margin-top:30px;font-size:20px;line-height:40px;max-width:85%}#plugin-information-title.with-banner div.vignette{height:100px;bottom:100px;width:800%}#plugin-information-tabs{overflow:hidden;padding:0;height:auto}#plugin-information-tabs a.current{margin-bottom:0;border-bottom:none}#plugin-information .fyi{float:none;border:1px solid #ddd;position:static;width:auto;margin:26px 26px 0;padding-bottom:0}#section-holder{position:static;margin:0;padding-bottom:70px}#plugin-information .fyi h3,#plugin-information .fyi small{display:none}#plugin-information-footer{padding:12px 16px 0;height:46px}}body.import-php #TB_window,body.index-php #TB_window,body.plugin-install-php #TB_window,body.plugins-php #TB_window,body.update-core-php #TB_window{background:url(../images/spinner.gif) center no-repeat #fcfcfc}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){body.import-php #TB_window,body.index-php #TB_window,body.plugin-install-php #TB_window,body.plugins-php #TB_window,body.update-core-php #TB_window{background:url(../images/spinner-2x.gif) center no-repeat #fcfcfc;-webkit-background-size:20px 20px;background-size:20px 20px}}body.import-php #TB_title,body.index-php #TB_title,body.plugin-install-php #TB_title,body.plugins-php #TB_title,body.update-core-php #TB_title{float:left;height:1px}body.import-php #TB_ajaxWindowTitle,body.index-php #TB_ajaxWindowTitle,body.plugin-install-php #TB_ajaxWindowTitle,body.plugins-php #TB_ajaxWindowTitle,body.update-core-php #TB_ajaxWindowTitle{display:none}body.import-php .tb-close-icon,body.index-php .tb-close-icon,body.plugin-install-php .tb-close-icon,body.plugins-php .tb-close-icon,body.update-core-php .tb-close-icon{left:auto;right:-30px;color:#eee;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out}body.import-php #TB_closeWindowButton:focus,body.import-php #TB_closeWindowButton:focus .tb-close-icon,body.import-php .tb-close-icon:focus,body.import-php .tb-close-icon:hover,body.index-php #TB_closeWindowButton:focus,body.index-php #TB_closeWindowButton:focus .tb-close-icon,body.index-php .tb-close-icon:focus,body.index-php .tb-close-icon:hover,body.plugin-install-php #TB_closeWindowButton:focus,body.plugin-install-php #TB_closeWindowButton:focus .tb-close-icon,body.plugin-install-php .tb-close-icon:focus,body.plugin-install-php .tb-close-icon:hover,body.plugins-php #TB_closeWindowButton:focus,body.plugins-php #TB_closeWindowButton:focus .tb-close-icon,body.plugins-php .tb-close-icon:focus,body.plugins-php .tb-close-icon:hover,body.update-core-php #TB_closeWindowButton:focus,body.update-core-php #TB_closeWindowButton:focus .tb-close-icon,body.update-core-php .tb-close-icon:focus,body.update-core-php .tb-close-icon:hover{color:#00a0d2;outline:0;-webkit-box-shadow:none;box-shadow:none}body.import-php .tb-close-icon:before,body.index-php .tb-close-icon:before,body.plugin-install-php .tb-close-icon:before,body.plugins-php .tb-close-icon:before,body.update-core-php .tb-close-icon:before{content:"\f335";font-size:32px}@media screen and (max-width:830px){body.import-php .tb-close-icon,body.index-php .tb-close-icon,body.plugin-install-php .tb-close-icon,body.plugins-php .tb-close-icon,body.update-core-php .tb-close-icon{right:0;top:-30px}}img{border:none}#wphead{border-bottom:1px solid #dfdfdf}#wphead h1 a{color:#464646}.js .meta-box-sortables .postbox:hover .handlediv{margin-right:0!important}.js .meta-box-sortables .postbox .handlediv:before,.js .sidebar-name .sidebar-name-arrow:before{right:12px;font:400 20px/1 dashicons;speak:none;display:inline-block;padding:8px 10px;top:0;position:relative;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;content:'\f142'}.js #widgets-left .sidebar-name .sidebar-name-arrow{display:none}.js #widgets-left .sidebar-name:hover .sidebar-name-arrow,.js #widgets-left .widgets-holder-wrap.closed .sidebar-name .sidebar-name-arrow{display:block}.js .meta-box-sortables .postbox.closed .handlediv:before,.js .widgets-holder-wrap.closed .sidebar-name-arrow:before{content:'\f140'}.error a{text-decoration:underline}.updated a{text-decoration:none;padding-bottom:2px}#photo-add-url-div input[type=text]{width:300px}#template textarea{font-family:Consolas,Monaco,monospace;font-size:13px;width:97%;background:#f9f9f9;outline:0}#docs-list,#template textarea{direction:ltr}#template p{width:97%}#templateside{float:right;width:190px}#templateside h4{margin:1em 0 0}#templateside ol,#templateside ul{margin:.5em 0;padding:0}#templateside li{margin:4px 0}#templateside li a,.theme-editor-php .highlight{display:block;padding:3px 3px 3px 12px;text-decoration:none}.theme-editor-php .highlight{margin:-3px 3px -3px -12px}#templateside .highlight{border:none;font-weight:700}.nonessential{color:#666;font-size:11px;font-style:italic;padding-left:12px}#documentation{margin-top:10px}#documentation label{line-height:22px;vertical-align:baseline;font-weight:600}.fileedit-sub{padding:10px 0 8px;line-height:180%}.accordion-section-title:after,.control-section .accordion-section-title:after,.nav-menus-php .item-edit:before,.widget-top a.widget-action:after{right:0;content:'\f140';border:none;background:0 0;font:400 20px/1 dashicons;speak:none;display:block;padding:0;text-indent:0;text-align:center;position:relative;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}.my-sites li a,form p.submit a.cancel:hover{text-decoration:none}.accordion-section-title:after,.handlediv,.item-edit,.sidebar-name-arrow,.widget-action{color:#a0a5aa}.accordion-section-title:hover:after,.handlediv:hover,.item-edit:hover,.sidebar-name:hover .sidebar-name-arrow,.widget-action:hover{color:#777}.widget-top a.widget-action:after{padding:12px 12px 11px}.widget-top a.widget-action:focus:after{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.nav-menus-php .item-edit:before{line-height:2.1}.accordion-section-title:after,.control-section .accordion-section-title:after{float:right;right:20px;top:-2px}#customize-info.open .accordion-section-title:after,.control-section.open .accordion-section-title:after,.nav-menus-php .menu-item-edit-active .item-edit:before,.widget.open .widget-top a.widget-action:after{content:'\f142'}/*! +.filter-group,.wp-filter{-moz-box-sizing:border-box}#docs-list,#plugin-information .section,#template textarea,.code,.ltr,code,input[type=email],input[type=url]{direction:ltr}#dashboard_quick_press textarea,textarea{resize:vertical}table.diff,table.fixed{table-layout:fixed}.color-palette,.form-table,.media-item .describe{border-collapse:collapse}#wpwrap{height:auto;min-height:100%;width:100%;position:relative;-webkit-font-smoothing:subpixel-antialiased}#wpcontent{height:100%;padding-left:20px}#wpcontent,#wpfooter{margin-left:160px}.folded #wpcontent,.folded #wpfooter{margin-left:36px}#wpbody-content{padding-bottom:65px;float:left;width:100%;overflow:visible!important}.inner-sidebar{float:right;clear:right;display:none;width:281px;position:relative}.columns-2 .inner-sidebar{margin-right:auto;width:286px;display:block}.columns-2 .inner-sidebar #side-sortables,.inner-sidebar #side-sortables{min-height:300px;width:280px;padding:0}.has-right-sidebar .inner-sidebar{display:block}.has-right-sidebar #post-body{float:left;clear:left;width:100%;margin-right:-2000px}.has-right-sidebar #post-body-content{margin-right:300px;float:none;width:auto}#col-container,#col-left,#col-right{overflow:hidden;padding:0;margin:0}#col-left{width:35%}#col-right{float:right;clear:right;width:65%}#publishing-action .spinner,#save-post,.alignleft,.subsubsub{float:left}.col-wrap{padding:0 7px}.alignright{float:right}.textleft{text-align:left}.textright{text-align:right}.clear{clear:both}.screen-reader-text,.screen-reader-text span,.ui-helper-hidden-accessible{position:absolute;margin:-1px;padding:0;height:1px;width:1px;overflow:hidden;clip:rect(0 0 0 0);border:0;word-wrap:normal!important}h2,h3,p{margin:1em 0}#adminmenu .wp-submenu,#dashboard_quick_press .draft-title,#templateside,#the-comment-list td.comment,.dashboard-comment-wrap,.misc-pub-filename,.pre,.widefat *{word-wrap:break-word}.screen-reader-shortcut{position:absolute;top:-1000em}.screen-reader-shortcut:focus{left:6px;top:-25px;height:auto;width:auto;display:block;font-size:14px;font-weight:600;padding:15px 23px 14px;background:#f1f1f1;color:#0073aa;z-index:100000;line-height:normal;-webkit-box-shadow:0 0 2px 2px rgba(0,0,0,.6);box-shadow:0 0 2px 2px rgba(0,0,0,.6);text-decoration:none;outline:0}.filter-group,.wp-filter{-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04)}.hidden,.js .closed .inside,.js .hide-if-js,.js .wp-core-ui .hide-if-js,.js.wp-core-ui .hide-if-js,.no-js .hide-if-no-js,.no-js .wp-core-ui .hide-if-no-js,.no-js.wp-core-ui .hide-if-no-js{display:none}#menu-management .menu-edit,#menu-settings-column .accordion-container,.comment-ays,.feature-filter,.imgedit-group,.manage-menus,.menu-item-handle,.popular-tags,.stuffbox,.widget-inside,.widget-top,.widgets-holder-wrap,.wp-editor-container,p.popular-tags,table.widefat{border:1px solid #e5e5e5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04)}.comment-ays,.feature-filter,.imgedit-group,.popular-tags,.stuffbox,.widgets-holder-wrap,.wp-editor-container,p.popular-tags,table.widefat{background:#fff}body,html{height:100%;margin:0;padding:0}html{background:#f1f1f1}body{color:#444;font-family:"Open Sans",sans-serif;font-size:13px;line-height:1.4em;min-width:600px}body.iframe{min-width:0;padding-top:1px}body.modal-open{overflow:hidden}body.mobile.modal-open #wpwrap{overflow:hidden;position:fixed;height:100%}iframe,img{border:0}td{font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit}a{color:#0073aa;-webkit-transition-property:border,background,color;transition-property:border,background,color;-webkit-transition-duration:.05s;transition-duration:.05s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}a,div{outline:0}a:active,a:hover{color:#00a0d2}a:focus,a:focus .media-icon img{color:#124964;-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}h1,h2,h3{color:#23282d}.ie8 a:focus{outline:#5b9dd9 solid 1px}#adminmenu a:focus,.screen-reader-text:focus{-webkit-box-shadow:none;box-shadow:none;outline:0}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}p{font-size:13px;line-height:1.5}blockquote{margin:1em}dd,li{margin-bottom:6px}h1,h2,h3,h4,h5,h6{display:block;font-weight:600}h1{font-size:2em;margin:.67em 0}h2,h3{font-size:1.3em}.update-core-php h2,.update-php h2,h4{font-size:1em;margin:1.33em 0}h5{font-size:.83em;margin:1.67em 0}h6{font-size:.67em;margin:2.33em 0}ol,ul{padding:0}ul{list-style:none}ol{list-style-type:decimal;margin-left:2em}ul.ul-disc{list-style:disc}ul.ul-square{list-style:square}ol.ol-decimal{list-style:decimal}ol.ol-decimal,ul.ul-disc,ul.ul-square{margin-left:1.8em}ol.ol-decimal>li,ul.ul-disc>li,ul.ul-square>li{margin:0 0 .5em}.code,code{font-family:Consolas,Monaco,monospace;unicode-bidi:embed}code,kbd{padding:3px 5px 2px;margin:0 1px;background:#eaeaea;background:rgba(0,0,0,.07);font-size:13px}.subsubsub{list-style:none;margin:8px 0 0;padding:0;font-size:13px;color:#666}.subsubsub a{line-height:2;padding:.2em;text-decoration:none}.subsubsub a .count,.subsubsub a.current .count{color:#999;font-weight:400}.subsubsub a.current{font-weight:600;border:none}.subsubsub li{display:inline-block;margin:0;padding:0;white-space:nowrap}.widefat{border-spacing:0;width:100%;clear:both;margin:0}.widefat a{text-decoration:none}.widefat td,.widefat th{padding:8px 10px}.widefat thead td,.widefat thead th{border-bottom:1px solid #e1e1e1}.widefat tfoot td,.widefat tfoot th{border-top:1px solid #e1e1e1;border-bottom:none}.widefat .no-items td{border-bottom-width:0}.widefat td{vertical-align:top}.widefat td,.widefat td ol,.widefat td p,.widefat td ul{font-size:13px;line-height:1.5em}.widefat tfoot td,.widefat th,.widefat thead td{text-align:left;line-height:1.3em;font-size:14px}.widefat tfoot td input,.widefat th input,.widefat thead td input{margin:0 0 0 8px;padding:0;vertical-align:text-top}.widefat .check-column{width:2.2em;padding:6px 0 25px;vertical-align:top}.widefat tfoot td input[type=checkbox],.widefat th input[type=checkbox],.widefat thead td input[type=checkbox]{margin-top:-1px}.widefat tbody th.check-column,.widefat tfoot td.check-column,.widefat thead td.check-column{padding:11px 0 0 3px}.widefat tfoot td.check-column,.widefat thead td.check-column{padding-top:4px;vertical-align:middle}.update-php div.error,.update-php div.updated{margin-left:0}.no-js .widefat tfoot .check-column input,.no-js .widefat thead .check-column input{display:none}.column-comments,.column-links,.column-posts,.widefat .num{text-align:center}.widefat th#comments{vertical-align:middle}.wrap{margin:10px 20px 0 2px}.postbox .inside h2,.wrap [class$=icon32]+h2,.wrap h1,.wrap>h2:first-child{font-size:23px;font-weight:400;margin:0;padding:9px 15px 4px 0;line-height:29px}.subtitle{margin:0;padding-left:25px;color:#777;font-size:14px;font-weight:400}.wrap .add-new-h2,.wrap .add-new-h2:active,.wrap .page-title-action,.wrap .page-title-action:active{margin-left:4px;padding:4px 8px;position:relative;top:-3px;text-decoration:none;border:none;-webkit-border-radius:2px;border-radius:2px;background:#e0e0e0;text-shadow:none;font-weight:600;font-size:13px}.wrap .add-new-h2:hover,.wrap .page-title-action:hover{background:#00a0d2;color:#fff}.wrap h1.long-header{padding-right:0}.wp-dialog{background-color:#fff}.sorthelper{background-color:#ccf3fa}.ac_match,.subsubsub a.current{color:#000}.alternate,.striped>tbody>:nth-child(odd),ul.striped>:nth-child(odd){background-color:#f9f9f9}.bar{background-color:#e8e8e8;border-right-color:#99d}.media-upload-form label.form-help,td.help{color:#9a9a9a}.highlight{background-color:#e4f2fd;color:#000}.wp-ui-primary{color:#fff;background-color:#32373c}.wp-ui-text-primary{color:#32373c}.wp-ui-highlight{color:#fff;background-color:#1e8cbe}.wp-ui-text-highlight{color:#1e8cbe}.wp-ui-notification{color:#fff;background-color:#d54e21}.wp-ui-text-notification{color:#d54e21}.wp-ui-text-icon{color:#999}img.emoji{display:inline!important;border:none!important;height:1em!important;width:1em!important;margin:0 .07em!important;vertical-align:-.1em!important;background:0 0!important;padding:0!important;-webkit-box-shadow:none!important;box-shadow:none!important}#nav-menu-footer,#nav-menu-header,#your-profile #rich_editing,.checkbox,.control-section .accordion-section-title,.menu-item-handle,.postbox .hndle,.side-info,.sidebar-name,.stuffbox .hndle,.widefat tfoot td,.widefat tfoot th,.widefat thead td,.widefat thead th,.widget .widget-top{line-height:1.4em}.menu-item-handle,.widget .widget-top{background:#fafafa;color:#23282d}.postbox .hndle,.stuffbox .hndle{border-bottom:1px solid #eee;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#adminmenu *,.accordion-section-title{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.quicktags,.search{background-color:#ccc;color:#000;font-size:12px}.icon32{display:none}#bulk-titles div a:before,.notice-dismiss:before,.tagchecklist span a:before,.welcome-panel .welcome-panel-close:before{background:0 0;color:#b4b9be;content:"\f153";display:block;font:400 16px/20px dashicons;speak:none;height:20px;text-align:center;width:20px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.welcome-panel .welcome-panel-close:before{margin:0}#bulk-titles div a:before,.tagchecklist span a:before{margin:1px 0}#bulk-titles div a:hover:before,.tagchecklist span a:hover:before,.welcome-panel .welcome-panel-close:focus:before,.welcome-panel .welcome-panel-close:hover:before{color:#c00}.key-labels label{line-height:24px}b,strong{font-weight:600}.pre{white-space:pre-wrap}#namediv td.first,#plugin-information-title,.nav-tab,.no-break,.star-rating,.ui-autocomplete li{white-space:nowrap}.howto{color:#666;font-style:italic;display:block}p.install-help{margin:8px 0;font-style:italic}hr{border:0;border-top:1px solid #ddd;border-bottom:1px solid #fafafa}#all-plugins-table .plugins a.delete,#media-items a.delete,#media-items a.delete-permanently,#nav-menu-footer .menu-delete,#search-plugins-table .plugins a.delete,.plugins a.delete,.row-actions span.delete a,.row-actions span.spam a,.row-actions span.trash a,.submitbox .submitdelete{color:#a00}#all-plugins-table .plugins a.delete:hover,#media-items a.delete-permanently:hover,#media-items a.delete:hover,#nav-menu-footer .menu-delete:hover,#search-plugins-table .plugins a.delete:hover,.file-error,.plugins a.delete:hover,.row-actions .delete a:hover,.row-actions .spam a:hover,.row-actions .trash a:hover,.submitbox .submitdelete:hover,.widget-control-remove:hover,abbr.required{color:red;text-decoration:none;border:none}#major-publishing-actions{padding:10px;clear:both;border-top:1px solid #ddd;background:#f5f5f5}#delete-action{line-height:28px;vertical-align:middle;text-align:left;float:left}#publishing-action{text-align:right;float:right;line-height:23px}#misc-publishing-actions{padding:6px 0 0}.misc-pub-section{padding:6px 10px 8px}#minor-publishing-actions{padding:10px 10px 0;text-align:right}.preview{float:right}#sticky-span{margin-left:18px}.side-info{margin:0;padding:4px;font-size:11px}.side-info h5{padding-bottom:7px;font-size:14px;margin:12px 2px 5px;border-bottom:1px solid #dadada}.side-info ul{margin:0;padding-left:18px;list-style:square;color:#666}.approve,.unapproved .unapprove{display:none}.spam .approve,.trash .approve,.unapproved .approve{display:inline}td.action-links,th.action-links{text-align:right}.wp-filter{display:inline-block;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;margin:12px 0 25px;padding:0 10px;width:100%;box-shadow:0 1px 1px rgba(0,0,0,.04);border:1px solid #e5e5e5;background:#fff;color:#555;font-size:13px}.filter-group,html.wp-toolbar{-webkit-box-sizing:border-box}.wp-filter a{text-decoration:none}.filter-count{display:inline-block;vertical-align:middle;min-width:4em}.filter-count .count,.title-count{display:inline-block;position:relative;top:-1px;padding:4px 10px;-webkit-border-radius:30px;border-radius:30px;background:#777;color:#fff;font-size:14px;font-weight:600}.title-count{display:inline;top:-3px;margin-left:5px;margin-right:20px}.filter-items{float:left}.filter-links,.filter-links li{display:inline-block;margin:0}.filter-links li>a{display:inline-block;margin:0 10px;padding:15px 0;border-bottom:4px solid #fff;color:#666;cursor:pointer}.filter-links .current{-webkit-box-shadow:none;box-shadow:none;border-bottom:4px solid #666;color:#23282d}.filter-links li>a:focus,.filter-links li>a:hover,.show-filters .filter-links a.current:focus,.show-filters .filter-links a.current:hover{color:#00a0d2}.wp-filter .search-form{float:right;margin:10px 0}.wp-filter .search-form input[type=search]{margin:0;padding:3px 5px;width:280px;max-width:100%;font-size:16px;font-weight:300;line-height:1.5}.wp-filter .search-form select{margin:0;height:32px;vertical-align:top}.wp-filter .search-form.search-plugins{display:inline-block}.wp-filter .drawer-toggle{display:inline-block;margin:0 10px;padding:4px 6px;color:#666;cursor:pointer}.wp-filter .drawer-toggle:before{display:inline-block;vertical-align:top;content:"\f111";margin:0 5px 0 0;width:16px;height:16px;color:#777;-webkit-transition:color .1s ease-in 0;transition:color .1s ease-in 0;font-family:dashicons;font-size:16px;line-height:1;text-align:center;text-decoration:inherit;font-weight:400;font-style:normal;-webkit-font-smoothing:antialiased}.filter-drawer,.wp-filter .favorites-form{margin:0 -20px;padding:20px;border-top:1px solid #eee;background:#fafafa}.wp-filter .drawer-toggle:hover,.wp-filter .drawer-toggle:hover:before{color:#00a0d2}.wp-filter .drawer-toggle.current:before{color:#fff}.wp-filter .favorites-form{display:none;overflow:hidden;width:100%}.show-favorites-form .wp-filter .favorites-form{display:block}.filter-drawer{display:none}.show-filters .filter-drawer{display:block;overflow:hidden;width:100%}.show-filters .wp-filter .drawer-toggle:focus,.show-filters .wp-filter .drawer-toggle:hover{background:#2ea2cc}.show-filters .filter-links a.current{border-bottom:none}.show-filters .wp-filter .drawer-toggle{-webkit-border-radius:2px;border-radius:2px;border:none;background:#777;color:#fff}.filter-group,.filtered-by .tag{border:1px solid #e5e5e5;background:#fff}.show-filters .wp-filter .drawer-toggle:before{color:#fff}.filter-group{box-sizing:border-box;position:relative;float:left;margin:0 1% 0 0;padding:20px 10px 10px;width:24%;box-shadow:0 1px 1px rgba(0,0,0,.04)}.filter-group legend{position:absolute;top:10px;display:block;margin:0;padding:0;font-size:1em;font-weight:600}.filter-drawer .filter-group-feature{margin:28px 0 0;list-style-type:none;font-size:12px}.filter-drawer .filter-group-feature input,.filter-drawer .filter-group-feature label{display:inline-block;margin:7px 4px 7px 0;line-height:16px}.filter-drawer .buttons{margin-bottom:20px}.filter-drawer .buttons .button span{display:inline-block;opacity:.8;font-size:12px;text-indent:10px}.wp-filter .button.clear-filters{display:none;margin-left:10px}.filtered-by{display:none;margin:0}.filtered-by>span{font-weight:600}.filtered-by a{margin-left:10px}.filtered-by .tags{display:inline}.filtered-by .tag{margin:0 5px;padding:4px 8px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);font-size:11px}.filters-applied .filter-drawer .buttons,.filters-applied .filter-drawer br,.filters-applied .filter-group{display:none!important}.filters-applied .filtered-by{display:block}.filters-applied .filter-drawer{padding:20px}.error .content-filterable,.loading-content .content-filterable,.show-filters .content-filterable,.show-filters.filters-applied.loading-content .content-filterable{display:none}.show-filters.filters-applied .content-filterable{display:block}.loading-content .spinner{display:block;margin:40px auto 0;float:none}@media only screen and (max-width:1120px){.filter-drawer{border-bottom:1px solid #eee}.filter-group{margin-bottom:0;margin-top:5px;width:100%}.filter-group li{margin:10px 0}}@media only screen and (max-width:1000px){.filter-items{float:none}.wp-filter .media-toolbar-primary,.wp-filter .media-toolbar-secondary,.wp-filter .search-form{float:none;position:relative;max-width:100%}}@media only screen and (max-width:782px){.filter-group li{padding:0;width:50%}}@media only screen and (max-width:320px){.filter-count{display:none}.wp-filter .drawer-toggle{margin:10px 0}.filter-group li,.wp-filter .search-form input[type=search]{width:100%}}.notice,div.error,div.updated{background:#fff;border-left:4px solid #fff;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1);margin:5px 15px 2px;padding:1px 12px}.form-table td .notice p,.notice p,.notice-title,div.error p,div.updated p{margin:.5em 0;padding:2px}.error a{text-decoration:underline}#adminmenu a,#catlist a,#taglist a,.updated a{text-decoration:none}.updated a{padding-bottom:2px}.notice-alt{-webkit-box-shadow:none;box-shadow:none}.notice-large{padding:10px 20px}.notice-title{display:inline-block;color:#23282d;font-size:18px}.wp-core-ui .notice.is-dismissible{padding-right:38px;position:relative}.notice-dismiss{position:absolute;top:0;right:1px;border:none;margin:0;padding:9px;background:0 0;color:#b4b9be;cursor:pointer}.notice-dismiss:active:before,.notice-dismiss:focus:before,.notice-dismiss:hover:before{color:#c00}.notice-dismiss:focus{outline:0;-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.ie8 .notice-dismiss:focus{outline:#5b9dd9 solid 1px}.notice-success,div.updated{border-left-color:#46b450}.notice-success.notice-alt{background-color:#ecf7ed}.notice-warning{border-left-color:#ffb900}.notice-warning.notice-alt{background-color:#fff8e5}.notice-error,div.error{border-left-color:#dc3232}.notice-error.notice-alt{background-color:#fbeaea}.notice-info{border-left-color:#00a0d2}.notice-info.notice-alt{background-color:#e5f5fa}.media-upload-form .notice,.media-upload-form div.error,.wrap .notice,.wrap div.error,.wrap div.updated{margin:5px 0 15px}#update-nag,.update-nag{display:inline-block;line-height:19px;padding:11px 15px;font-size:14px;text-align:left;margin:25px 20px 0 2px;background-color:#fff;border-left:4px solid #ffba00;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1)}.update-message{color:#000}.update-php .spinner{float:none;margin:-4px 0}#ajax-loading,.ajax-feedback,.ajax-loading,.imgedit-wait-spin,.list-ajax-loading{visibility:hidden}#ajax-response.alignleft{margin-left:2em}#contextual-help-wrap,#screen-options-wrap{margin:0;padding:8px 20px 12px;position:relative}#contextual-help-wrap{overflow:auto;margin-left:0!important}#screen-meta .screen-reader-text{visibility:hidden}#screen-meta-links{margin:0 20px 0 0}#screen-meta{display:none;margin:0 20px -1px 0;position:relative;background-color:#fff;border:1px solid #ddd;border-top:none;-webkit-box-shadow:0 1px 0 rgba(0,0,0,.025);box-shadow:0 1px 0 rgba(0,0,0,.025)}#contextual-help-link-wrap,#screen-options-link-wrap{float:right;height:28px;margin:0 0 0 6px;border:1px solid #ddd;border-top:none;background:#fff;-webkit-box-shadow:0 1px 1px -1px rgba(0,0,0,.1);box-shadow:0 1px 1px -1px rgba(0,0,0,.1)}#screen-meta-links .screen-meta-toggle{position:relative;top:0}#screen-meta-links .show-settings{border:0;background:0 0;-webkit-border-radius:0;border-radius:0;color:#777;line-height:1.7;padding:3px 6px 3px 16px}#screen-meta-links .show-settings:active,#screen-meta-links .show-settings:focus,#screen-meta-links .show-settings:hover{color:#32373c}#screen-meta-links .show-settings:active{-webkit-box-shadow:none;box-shadow:none;-webkit-transform:none;-ms-transform:none;transform:none}#screen-meta-links .show-settings:after{right:0;content:"\f140";font:400 20px/1 dashicons;speak:none;display:inline-block;padding:0 5px 0 0;bottom:2px;position:relative;vertical-align:bottom;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#b4b9be}#templateside ul li a,#wpfooter a,.contextual-help-tabs a,.nav-tab{text-decoration:none}#screen-meta-links .screen-meta-active:after{content:"\f142"}.toggle-arrow{background-repeat:no-repeat;background-position:top left;background-color:transparent;height:22px;line-height:22px;display:block}.toggle-arrow-active{background-position:bottom left}#contextual-help-wrap h5,#screen-options-wrap h5,#screen-options-wrap legend{margin:0;padding:8px 0;font-size:13px;font-weight:600}.hndle a,.widefat tfoot td,.widefat th,.widefat thead td{font-weight:400}.ie8 #screen-options-wrap legend{color:inherit}.metabox-prefs label{display:inline-block;padding-right:15px;line-height:30px}#number-of-columns{display:inline-block;vertical-align:middle;line-height:30px}.metabox-prefs input[type=checkbox]{margin-top:0;margin-right:6px}.metabox-prefs label input,.metabox-prefs label input[type=checkbox]{margin:-4px 5px 0 0}.metabox-prefs .columns-prefs label input{margin:-1px 2px 0 0}.metabox-prefs label a{display:none}.metabox-prefs .screen-options input,.metabox-prefs .screen-options label{margin-top:0;margin-bottom:0;vertical-align:middle}.metabox-prefs .screen-options .screen-per-page{margin-right:15px}.metabox-prefs .screen-options label{line-height:28px;padding-right:0}.screen-options+.screen-options{margin-top:10px}.metabox-prefs .submit{margin-top:1em;padding:0}#contextual-help-wrap{padding:0}#contextual-help-columns{position:relative}#contextual-help-back{position:absolute;top:0;bottom:0;left:150px;right:170px;border:1px solid #e1e1e1;border-top:none;border-bottom:none;background:#f6fbfd}#contextual-help-wrap.no-sidebar #contextual-help-back{right:0;border-right-width:0;-webkit-border-bottom-right-radius:2px;border-bottom-right-radius:2px}.contextual-help-tabs{float:left;width:150px;margin:0}.contextual-help-tabs ul{margin:1em 0}.contextual-help-tabs li{margin-bottom:0;list-style-type:none;border-style:solid;border-width:0 0 0 2px;border-color:transparent}.contextual-help-tabs a{display:block;padding:5px 5px 5px 12px;line-height:18px;border:1px solid transparent;border-right:none;border-left:none}.contextual-help-tabs a:hover{color:#32373c}.contextual-help-tabs .active{padding:0;margin:0 -1px 0 0;border-left:2px solid #00a0d2;background:#f6fbfd;-webkit-box-shadow:0 2px 0 rgba(0,0,0,.02),0 1px 0 rgba(0,0,0,.02);box-shadow:0 2px 0 rgba(0,0,0,.02),0 1px 0 rgba(0,0,0,.02)}.contextual-help-tabs .active a{border-color:#e1e1e1;color:#32373c}.contextual-help-tabs-wrap{padding:0 20px;overflow:auto}.help-tab-content{display:none;margin:0 22px 12px 0;line-height:1.6em}.help-tab-content.active{display:block}.help-tab-content ul li{list-style-type:disc;margin-left:18px}.contextual-help-sidebar{width:150px;float:right;padding:0 8px 0 12px;overflow:auto}html.wp-toolbar{padding-top:32px;-moz-box-sizing:border-box;box-sizing:border-box}.widefat td,.widefat th{color:#555}.widefat ol,.widefat p,.widefat tfoot tr td,.widefat tfoot tr th,.widefat thead tr td,.widefat thead tr th,.widefat ul{color:#32373c}.widefat td p{margin:2px 0 .8em}.widefat .column-comment p{margin:.6em 0}.postbox-container{float:left}.postbox-container .meta-box-sortables{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#wpbody-content .metabox-holder{padding-top:10px}.metabox-holder .postbox-container .empty-container{border:3px dashed #b4b9be;height:250px}.columns-2 #postbox-container-3 .empty-container,.columns-2 #postbox-container-4 .empty-container,.columns-3 #postbox-container-4 .empty-container,.metabox-holder.columns-1 .postbox-container .empty-container{border:0;height:0;min-height:0}#post-body-content{width:100%;min-width:463px;float:left}#post-body.columns-2 #postbox-container-1{float:right;margin-right:-300px;width:280px}#post-body.columns-2 #side-sortables{min-height:250px}@media only screen and (max-width:799px){#wpbody-content .metabox-holder .postbox-container .empty-container{border:0;height:0;min-height:0}}.js .postbox .hndle,.js .widget .widget-top{cursor:move}.hndle a{font-size:11px}#adminmenu .wp-submenu li.current,#adminmenu .wp-submenu li.current a,#adminmenu .wp-submenu li.current a:hover,#dashboard_right_now .versions .b,#ed_reply_toolbar #ed_reply_strong,#pass-strength-result.short,#pass-strength-result.strong,#post-status-display,#post-visibility-display,.edit-comment-author,.feature-filter .feature-name,.item-controls .item-order a,.media-item .percent,.nav-tab,.plugins .name{font-weight:600}.postbox .handlediv{display:none;float:right;width:36px;height:36px;padding:0}.js .postbox .handlediv{display:block}.sortable-placeholder{border:1px dashed #b4b9be;margin-bottom:20px}.postbox,.stuffbox{margin-bottom:20px;padding:0;line-height:1}.postbox .inside,.stuffbox .inside{padding:0 12px 12px;line-height:1.4em;font-size:13px}.postbox .inside{margin:11px 0;position:relative}.postbox .inside>p:last-child,.rss-widget ul li:last-child{margin-bottom:1px!important}.postbox.closed h3{border:none;-webkit-box-shadow:none;box-shadow:none}.postbox table.form-table{margin-bottom:0}.postbox table.widefat{-webkit-box-shadow:none;box-shadow:none}.temp-border{border:1px dotted #ccc}.columns-prefs label{padding:0 10px 0 0}#wpfooter{position:absolute;bottom:0;left:0;right:0;padding:10px 20px;color:#777}#wpfooter p{font-size:13px;margin:0;line-height:20px}#footer-thankyou{font-style:italic}#wpfooter a:hover{text-decoration:underline}.nav-tab{float:left;border:1px solid #ccc;border-bottom:none;margin-left:.5em;padding:5px 10px;font-size:14px;line-height:24px;background:#e4e4e4;color:#555}.nav-tab-small .nav-tab,h3 .nav-tab{padding:5px 14px;font-size:12px;line-height:16px}.nav-tab:focus,.nav-tab:hover{background-color:#fff;color:#464646}.nav-tab-active,.nav-tab:focus:active{-webkit-box-shadow:none;box-shadow:none}.nav-tab-active{margin-bottom:-1px;color:#464646}.nav-tab-active,.nav-tab-active:focus,.nav-tab-active:focus:active,.nav-tab-active:hover{border-bottom:1px solid #f1f1f1;background:#f1f1f1;color:#000}.wrap h2.nav-tab-wrapper,h1.nav-tab-wrapper,h3.nav-tab-wrapper{border-bottom:1px solid #ccc;margin:0;padding:9px 15px 0 0;line-height:inherit}.nav-tab-wrapper:after{content:"";display:table;clear:both}.spinner{background:url(../images/spinner.gif) no-repeat;-webkit-background-size:20px 20px;background-size:20px 20px;display:inline-block;visibility:hidden;float:right;vertical-align:middle;opacity:.7;filter:alpha(opacity=70);width:20px;height:20px;margin:4px 10px 0}.spinner.is-active{visibility:visible}#template div{margin-right:190px}.metabox-holder .postbox>h3,.metabox-holder .stuffbox>h3,.metabox-holder h2.hndle,.metabox-holder h3.hndle{font-size:14px;padding:8px 12px;margin:0;line-height:1.4}.nav-menus-php .metabox-holder h3{padding:10px 10px 11px 14px;line-height:21px}.plugin-install #description,.plugin-install-network #description{width:60%}table .column-rating,table .column-visible,table .vers{text-align:left}.attention,.error-message{color:red;font-weight:600}body.iframe{height:98%}.lp-show-latest p{display:none}.lp-show-latest .lp-error p,.lp-show-latest p:last-child{display:block}.media-icon{width:62px;text-align:center}.media-icon img{border:1px solid #e7e7e7;border:1px solid rgba(0,0,0,.07)}#howto{font-size:11px;margin:0 5px;display:block}.post-categories,.post-categories li{display:inline}.importers td{padding-right:14px}.importers{font-size:16px;width:auto}#post-body #post-body-content #namediv h2,#post-body #post-body-content #namediv h3{margin-top:0}.edit-comment-author{font-size:14px;line-height:1.4;color:#222;margin:2px 0 0 9px}.checkbox,.post-categories,.zerosize,fieldset{padding:0;margin:0}#namediv h2 label,#namediv h3 label{vertical-align:baseline}#namediv table{width:100%}#namediv td.first{width:10px}#namediv input{width:98%}#namediv p{margin:10px 0}#submitdiv h3{margin-bottom:0!important}.zerosize{height:0;width:0;border:0;overflow:hidden;position:absolute}br.clear{height:2px;line-height:2px}.checkbox{border:none}fieldset{border:0}div.star-holder{position:relative;height:17px;width:100px;background:url(../images/stars.png?ver=20121108) bottom left repeat-x}div.star-holder .star-rating{background:url(../images/stars.png?ver=20121108) top left repeat-x;height:17px;float:left}.star-rating .star{display:inline-block;width:20px;height:20px;-webkit-font-smoothing:antialiased;font-size:20px;line-height:1;font-family:dashicons;text-decoration:inherit;font-weight:400;font-style:normal;vertical-align:top;-webkit-transition:color .1s ease-in 0;transition:color .1s ease-in 0;text-align:center;color:#ffb900}.star-rating .star-full:before{content:"\f155"}.star-rating .star-half:before{content:"\f459"}.rtl .star-rating .star-half{-webkit-transform:rotateY(180deg);-ms-transform:rotateY(180deg);transform:rotateY(180deg)}.star-rating .star-empty:before{content:"\f154"}div.action-links{font-weight:400}#plugin-information{background:#fff;position:fixed;top:0;right:0;bottom:0;left:0;height:100%;padding:0}#plugin-information-scrollable{overflow:auto;-webkit-overflow-scrolling:touch;height:100%}#plugin-information-title{padding:0 20px;background:#f5f5f5;font-size:22px;font-weight:600;line-height:56px;position:relative;top:0;right:0;left:0;height:56px;overflow:hidden;text-overflow:ellipsis}#plugin-information-title.with-banner{margin-right:0;height:250px;bottom:250px;-webkit-background-size:cover;background-size:cover}#plugin-information-title h2{font-size:1em;font-weight:700;padding:0;margin:0;max-width:680px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#plugin-information-title.with-banner h2{font-family:"Helvetica Neue",sans-serif;display:inline-block;font-size:30px;line-height:50px;padding:0 15px;margin:174px 0 0 10px;color:#fff;background:rgba(30,30,30,.9);text-shadow:0 1px 3px rgba(0,0,0,.4);-webkit-box-shadow:0 0 30px rgba(255,255,255,.1);box-shadow:0 0 30px rgba(255,255,255,.1);-webkit-border-radius:8px;border-radius:8px}#plugin-information-title div.vignette{display:none}#plugin-information-title.with-banner div.vignette{display:block;float:right;top:0;height:250px;width:772px;margin:0 -20px;background:0 0;-webkit-box-shadow:inset 0 0 50px 4px rgba(0,0,0,.2),inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 0 50px 4px rgba(0,0,0,.2),inset 0 -1px 0 rgba(0,0,0,.1)}#plugin-information-tabs{padding:0 16px;position:relative;right:0;left:0;height:36px;z-index:1;border-bottom:1px solid #ddd;background:#f3f3f3}#plugin-information-tabs a{position:relative;float:left;padding:9px 10px;margin:0;height:18px;line-height:18px;font-size:14px;text-decoration:none;-webkit-transition:none;transition:none}#plugin-information-tabs a.current{margin:0 -1px;background:#fff;border:1px solid #ddd;border-bottom-color:#fff;padding-top:8px;color:#32373c}#plugin-information-tabs.with-banner a.current{border-top:none;padding-top:9px}#plugin-information-tabs a:active,#plugin-information-tabs a:focus{outline:0}#plugin-information-content{overflow:hidden;background:#fff;position:relative;top:0;right:0;left:0;min-height:100%;min-height:-webkit-calc(100% - 152px);min-height:calc(100% - 152px)}#plugin-information-content.with-banner{min-height:-webkit-calc(100% - 346px);min-height:calc(100% - 346px)}#section-holder{position:relative;top:0;right:250px;bottom:0;left:0;margin-right:250px;padding:10px 26px 99999px;margin-bottom:-99939px}#section-holder .updated{margin:16px 0}#plugin-information .fyi{float:right;position:relative;top:0;right:0;padding:16px 16px 99999px;margin-bottom:-99939px;width:217px;border-left:1px solid #ddd;background:#f3f3f3;color:#666}#plugin-information .fyi strong{color:#464646}#plugin-information .fyi h3{font-weight:700;text-transform:uppercase;font-size:12px;color:#666;margin:24px 0 8px}#plugin-information .fyi h2{font-size:.9em;margin-bottom:0;margin-right:0}#plugin-information .fyi ul{padding:0;margin:0;list-style:none}#plugin-information .fyi li{margin:0 0 10px}#plugin-information .counter-container{margin:3px 0}#plugin-information .counter-label{float:left;margin-right:5px;min-width:55px}#plugin-information .counter-back{height:17px;width:92px;background-color:#ececec;float:left}#plugin-information .counter-bar{height:17px;background-color:#ffc733;float:left}#plugin-information .counter-count{margin-left:5px}#plugin-information .fyi ul.contributors{margin-top:10px}#plugin-information .fyi ul.contributors li{display:inline-block;margin-right:8px;vertical-align:middle}#plugin-information .fyi ul.contributors li img{vertical-align:middle;margin-right:4px}#plugin-information-footer{padding:13px 16px;position:absolute;right:0;bottom:0;left:0;height:33px;border-top:1px solid #ddd;background:#f3f3f3}#plugin-information .section ol,#plugin-information .section ul{list-style-type:disc;margin-left:24px}#plugin-information .section,#plugin-information .section p{font-size:14px;line-height:1.7}#plugin-information #section-screenshots ol{list-style:none;margin:0}#plugin-information #section-screenshots li img{vertical-align:text-top;margin-top:16px;max-width:100%;width:auto;height:auto;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.3);box-shadow:0 1px 2px rgba(0,0,0,.3)}#plugin-information #section-screenshots li p{font-style:italic;padding-left:20px}#plugin-information pre{padding:7px;overflow:auto;border:1px solid #ccc}#plugin-information .review{overflow:hidden;width:100%;margin-bottom:20px;border-bottom:1px solid #e6e6e6}#plugin-information .review-title-section{overflow:hidden}#plugin-information .review-title-section h4{display:inline-block;float:left;margin:0 6px 0 0}#plugin-information .reviewer-info p{clear:both;margin:0;padding-top:2px}#plugin-information .reviewer-info .avatar{float:left;margin:4px 6px 0 0}#plugin-information .reviewer-info .star-rating{float:left}#plugin-information .review-meta{float:left;margin-left:.75em}#plugin-information .review-body{float:left;width:100%}.plugin-version-author-uri{font-size:13px}@media screen and (max-width:771px){#plugin-information-title.with-banner{height:100px;bottom:100px}#plugin-information-title.with-banner h2{margin-top:30px;font-size:20px;line-height:40px;max-width:85%}#plugin-information-title.with-banner div.vignette{height:100px;bottom:100px;width:800%}#plugin-information-tabs{overflow:hidden;padding:0;height:auto}#plugin-information-tabs a.current{margin-bottom:0;border-bottom:none}#plugin-information .fyi{float:none;border:1px solid #ddd;position:static;width:auto;margin:26px 26px 0;padding-bottom:0}#section-holder{position:static;margin:0;padding-bottom:70px}#plugin-information .fyi h3,#plugin-information .fyi small{display:none}#plugin-information-footer{padding:12px 16px 0;height:46px}}body.about-php #TB_window,body.import-php #TB_window,body.index-php #TB_window,body.plugin-install-php #TB_window,body.plugins-php #TB_window,body.update-core-php #TB_window{background:#fcfcfc}.ie8 body.about-php #TB_window:before,.ie8 body.import-php #TB_window:before,.ie8 body.index-php #TB_window:before,.ie8 body.plugin-install-php #TB_window:before,.ie8 body.plugins-php #TB_window:before,.ie8 body.update-core-php #TB_window:before{content:" ";background:0 0}body.about-php #TB_window.thickbox-loading:before,body.import-php #TB_window.thickbox-loading:before,body.index-php #TB_window.thickbox-loading:before,body.plugin-install-php #TB_window.thickbox-loading:before,body.plugins-php #TB_window.thickbox-loading:before,body.update-core-php #TB_window.thickbox-loading:before{content:"";display:block;width:20px;height:20px;position:absolute;left:50%;top:50%;z-index:-1;margin:-10px 0 0 -10px;background:url(../images/spinner.gif) center no-repeat #fcfcfc;-webkit-background-size:20px 20px;background-size:20px 20px;-webkit-transform:translateZ(0);transform:translateZ(0)}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){body.about-php #TB_window.thickbox-loading:before,body.import-php #TB_window.thickbox-loading:before,body.index-php #TB_window.thickbox-loading:before,body.plugin-install-php #TB_window.thickbox-loading:before,body.plugins-php #TB_window.thickbox-loading:before,body.update-core-php #TB_window.thickbox-loading:before{background-image:url(../images/spinner-2x.gif)}}body.about-php #TB_title,body.import-php #TB_title,body.index-php #TB_title,body.plugin-install-php #TB_title,body.plugins-php #TB_title,body.update-core-php #TB_title{float:left;height:1px}body.about-php #TB_ajaxWindowTitle,body.import-php #TB_ajaxWindowTitle,body.index-php #TB_ajaxWindowTitle,body.plugin-install-php #TB_ajaxWindowTitle,body.plugins-php #TB_ajaxWindowTitle,body.update-core-php #TB_ajaxWindowTitle{display:none}body.about-php .tb-close-icon,body.import-php .tb-close-icon,body.index-php .tb-close-icon,body.plugin-install-php .tb-close-icon,body.plugins-php .tb-close-icon,body.update-core-php .tb-close-icon{left:auto;right:-30px;color:#eee;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out}body.about-php #TB_closeWindowButton:focus,body.about-php #TB_closeWindowButton:focus .tb-close-icon,body.about-php .tb-close-icon:focus,body.about-php .tb-close-icon:hover,body.import-php #TB_closeWindowButton:focus,body.import-php #TB_closeWindowButton:focus .tb-close-icon,body.import-php .tb-close-icon:focus,body.import-php .tb-close-icon:hover,body.index-php #TB_closeWindowButton:focus,body.index-php #TB_closeWindowButton:focus .tb-close-icon,body.index-php .tb-close-icon:focus,body.index-php .tb-close-icon:hover,body.plugin-install-php #TB_closeWindowButton:focus,body.plugin-install-php #TB_closeWindowButton:focus .tb-close-icon,body.plugin-install-php .tb-close-icon:focus,body.plugin-install-php .tb-close-icon:hover,body.plugins-php #TB_closeWindowButton:focus,body.plugins-php #TB_closeWindowButton:focus .tb-close-icon,body.plugins-php .tb-close-icon:focus,body.plugins-php .tb-close-icon:hover,body.update-core-php #TB_closeWindowButton:focus,body.update-core-php #TB_closeWindowButton:focus .tb-close-icon,body.update-core-php .tb-close-icon:focus,body.update-core-php .tb-close-icon:hover{color:#00a0d2;outline:0;-webkit-box-shadow:none;box-shadow:none}body.about-php .tb-close-icon:before,body.import-php .tb-close-icon:before,body.index-php .tb-close-icon:before,body.plugin-install-php .tb-close-icon:before,body.plugins-php .tb-close-icon:before,body.update-core-php .tb-close-icon:before{content:"\f335";font-size:32px}@media screen and (max-width:830px){body.about-php .tb-close-icon,body.import-php .tb-close-icon,body.index-php .tb-close-icon,body.plugin-install-php .tb-close-icon,body.plugins-php .tb-close-icon,body.update-core-php .tb-close-icon{right:0;top:-30px}}img{border:none}#wphead{border-bottom:1px solid #dfdfdf}#wphead h1 a{color:#464646}.js .meta-box-sortables .postbox .toggle-indicator:before,.js .sidebar-name .sidebar-name-arrow:before{content:"\f142";display:inline-block;font:400 20px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}.js .meta-box-sortables .postbox.closed .handlediv .toggle-indicator:before,.js .widgets-holder-wrap.closed .sidebar-name-arrow:before{content:"\f140"}.js .sidebar-name .sidebar-name-arrow:before{padding:10px;left:0}.js #widgets-left .sidebar-name .sidebar-name-arrow{display:none}.accordion-section.open .accordion-section-content,.js #widgets-left .sidebar-name:hover .sidebar-name-arrow,.js #widgets-left .widgets-holder-wrap.closed .sidebar-name .sidebar-name-arrow,.no-js .accordion-section .accordion-section-content{display:block}.js .postbox .handlediv .toggle-indicator:before{margin-top:4px;width:20px;-webkit-border-radius:50%;border-radius:50%;text-indent:-1px}#postcustomstuff p.submit,#templateside h2,.alignleft h2{margin:0}.rtl.js .postbox .handlediv .toggle-indicator:before{text-indent:1px}.js .postbox .handlediv:focus{-webkit-box-shadow:none;box-shadow:none;outline:0}.js .postbox .handlediv:focus .toggle-indicator:before{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}#photo-add-url-div input[type=text]{width:300px}#template textarea{font-family:Consolas,Monaco,monospace;font-size:13px;width:97%;background:#f9f9f9;outline:0}#template p{width:97%}#templateside{float:right;width:190px}#templateside h4{margin:1em 0 0}#templateside ol,#templateside ul{margin:.5em 0;padding:0}#templateside li{margin:4px 0}#templateside li a,.theme-editor-php .highlight{display:block;padding:3px 3px 3px 12px;text-decoration:none}.theme-editor-php .highlight{margin:-3px 3px -3px -12px}#templateside .highlight{border:none;font-weight:700}.nonessential{color:#666;font-size:11px;font-style:italic;padding-left:12px}#documentation{margin-top:10px}#documentation label{line-height:22px;vertical-align:baseline;font-weight:600}#your-profile label+a,.wp-admin select,fieldset label,label{vertical-align:middle}.fileedit-sub{padding:10px 0 8px;line-height:180%}.accordion-section-title:after,.control-section .accordion-section-title:after,.nav-menus-php .item-edit:before,.widget-top a.widget-action:after{right:0;content:"\f140";border:none;background:0 0;font:400 20px/1 dashicons;speak:none;display:block;padding:0;text-indent:0;text-align:center;position:relative;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}.my-sites li a,form p.submit a.cancel:hover{text-decoration:none}.accordion-section-title:after,.handlediv,.item-edit,.sidebar-name-arrow,.widget-action{color:#a0a5aa}.accordion-section-title:hover:after,.handlediv:focus,.handlediv:hover,.item-edit:hover,.sidebar-name:hover .sidebar-name-arrow,.widget-action:hover{color:#777}.widget-top a.widget-action:after{padding:1px 2px 1px 0;margin-top:10px;margin-right:10px;-webkit-border-radius:50%;border-radius:50%}.widget-top a.widget-action:focus:after{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.accordion-section-title:after,.control-section .accordion-section-title:after{float:right;right:20px;top:-2px}#customize-info.open .accordion-section-title:after,.control-section.open .accordion-section-title:after,.nav-menus-php .menu-item-edit-active .item-edit:before,.widget.open .widget-top a.widget-action:after{content:"\f142"}/*! * jQuery UI Draggable/Sortable 1.11.4 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license - */.ui-draggable-handle,.ui-sortable-handle{-ms-touch-action:none;touch-action:none}.accordion-section{border-bottom:1px solid #dfdfdf;margin:0}.accordion-section.open .accordion-section-content,.no-js .accordion-section .accordion-section-content{display:block}.accordion-section.open:hover{border-bottom-color:#dfdfdf}.accordion-section-content{display:none;padding:10px 20px 15px;overflow:hidden;background:#fff}.accordion-section-title{margin:0;padding:12px 15px 15px;position:relative;border-left:1px solid #dfdfdf;border-right:1px solid #dfdfdf;user-select:none}.js .accordion-section-title:after{position:absolute;top:12px;right:10px;z-index:1}.accordion-section-title:focus{outline:0}.accordion-section-title:focus:after,.accordion-section-title:hover:after{border-color:#a0a5aa transparent}.cannot-expand .accordion-section-title{cursor:auto}.cannot-expand .accordion-section-title:after{display:none}.control-section .accordion-section-title{border-left:none;border-right:none;padding:10px 10px 11px 14px;line-height:21px;background:#fff}.control-section .accordion-section-title:after{top:11px}.js .control-section .accordion-section-title:focus,.js .control-section .accordion-section-title:hover,.js .control-section.open .accordion-section-title,.js .control-section:hover .accordion-section-title{color:#23282d;background:#f5f5f5}.control-section.open .accordion-section-title{border-bottom:1px solid #dfdfdf}.network-admin .edit-site-actions{margin-top:0}.my-sites{display:block;overflow:auto;zoom:1}.my-sites li{display:block;padding:8px 3%;min-height:130px;margin:0}@media only screen and (max-width:599px){.my-sites li{min-height:0}}@media only screen and (min-width:600px){.my-sites.striped li{background-color:#fff;position:relative}.my-sites.striped li:after{content:"";width:1px;height:100%;position:absolute;top:0;right:0;background:#ccc}}@media only screen and (min-width:600px) and (max-width:699px){.my-sites li{float:left;width:44%}.my-sites.striped li{background-color:#fff}.my-sites.striped li:nth-of-type(2n+1){clear:left}.my-sites.striped li:nth-of-type(2n+2):after{content:none}.my-sites li:nth-of-type(4n+1),.my-sites li:nth-of-type(4n+2){background-color:#f9f9f9}}@media only screen and (min-width:700px) and (max-width:1199px){.my-sites li{float:left;width:27.333333%;background-color:#fff}.my-sites.striped li:nth-of-type(3n+3):after{content:none}.my-sites li:nth-of-type(6n+1),.my-sites li:nth-of-type(6n+2),.my-sites li:nth-of-type(6n+3){background-color:#f9f9f9}}@media only screen and (min-width:1200px) and (max-width:1399px){.my-sites li{float:left;width:21%;padding:8px 2%;background-color:#fff}.my-sites.striped li:nth-of-type(4n+1){clear:left}.my-sites.striped li:nth-of-type(4n+4):after{content:none}.my-sites li:nth-of-type(8n+1),.my-sites li:nth-of-type(8n+2),.my-sites li:nth-of-type(8n+3),.my-sites li:nth-of-type(8n+4){background-color:#f9f9f9}}@media only screen and (min-width:1400px) and (max-width:1599px){.my-sites li{float:left;width:16%;padding:8px 2%;background-color:#fff}.my-sites.striped li:nth-of-type(5n+1){clear:left}.my-sites.striped li:nth-of-type(5n+5):after{content:none}.my-sites li:nth-of-type(10n+1),.my-sites li:nth-of-type(10n+2),.my-sites li:nth-of-type(10n+3),.my-sites li:nth-of-type(10n+4),.my-sites li:nth-of-type(10n+5){background-color:#f9f9f9}}@media only screen and (min-width:1600px){.my-sites li{float:left;width:12.666666%;padding:8px 2%;background-color:#fff}.my-sites.striped li:nth-of-type(6n+1){clear:left}.my-sites.striped li:nth-of-type(6n+6):after{content:none}.my-sites li:nth-of-type(12n+1),.my-sites li:nth-of-type(12n+2),.my-sites li:nth-of-type(12n+3),.my-sites li:nth-of-type(12n+4),.my-sites li:nth-of-type(12n+5),.my-sites li:nth-of-type(12n+6){background-color:#f9f9f9}}@media only screen and (min-width:769px){#col-left{width:35%}#col-right{width:65%}}@media only screen and (max-width:860px){#col-left{width:35%}#col-right{width:65%}}@media only screen and (min-width:980px){#col-left{width:35%}#col-right{width:65%}}@media only screen and (max-width:768px){#col-left,#col-right{width:100%}}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){div.star-holder,div.star-holder .star-rating{background:url(../images/stars-2x.png?ver=20121108) bottom left repeat-x;-webkit-background-size:21px 37px;background-size:21px 37px}.spinner{background-image:url(../images/spinner-2x.gif)}#bulk-titles div a,#bulk-titles div a:hover,#screen-meta-links a.show-settings,.curtime #timestamp,.meta-box-sortables .postbox:hover .handlediv,.sidebar-name-arrow,.sidebar-name:hover .sidebar-name-arrow,.tagchecklist span a,.tagchecklist span a:hover,.widget-top a.widget-action,.widget-top a.widget-action:hover{background:0 0!important}}@-ms-viewport{width:device-width}@media screen and (max-width:782px){#template div,#templateside{float:none;width:auto}html.wp-toolbar{padding-top:46px}body{min-width:240px;overflow-x:hidden}body *{-webkit-tap-highlight-color:transparent!important}#wpcontent{position:relative;margin-left:0;padding-left:10px}#wpbody-content{padding-bottom:100px}.wrap{margin-right:12px;margin-left:0}.col-wrap{padding:0}#collapse-menu,#screen-meta,#screen-meta-links,.post-format-select{display:none!important}.wrap .add-new-h2,.wrap .add-new-h2:active,.wrap .page-title-action,.wrap .page-title-action:active{padding:10px 15px;font-size:14px;white-space:nowrap}.wp-color-result{height:auto;padding-left:45px}.wp-color-result:after{font-size:14px;height:auto;padding:6px 14px}.media-upload-form div.error,.notice,.wrap div.error,.wrap div.updated{margin:20px 0 10px;padding:5px 10px;font-size:14px;line-height:175%}.wp-core-ui .notice.is-dismissible{padding-right:46px}.notice-dismiss{padding:13px}.wrap .icon32+h2{margin-top:-2px}.wp-responsive-open #wpbody{right:-190px}code{word-wrap:break-word}.postbox{font-size:14px}.metabox-holder h3{padding:12px}.postbox .handlediv{margin-top:3px}.subsubsub{font-size:16px;text-align:center;margin-bottom:15px}#templateside li{margin:0}#templateside li a{display:block;padding:5px}#templateside .highlight{padding:5px;margin-left:-5px;margin-top:-5px}#template div{margin:0}#template textarea{width:100%}.fileedit-sub .alignright{margin-top:15px}#comments-form .checkforspam,#wpfooter{display:none}.edit-comment-author{margin:2px 0 0}}@media screen and (max-width:600px){#wpwrap.wp-responsive-open,div#post-body.metabox-holder.columns-1{overflow-x:hidden}html.wp-toolbar{padding-top:0}#wpbody{padding-top:46px}}#pressthis-code-wrap,textarea{overflow:auto}@media screen and (max-width:320px){#network_dashboard_right_now .subsubsub{font-size:14px;text-align:left}}input,textarea{box-sizing:border-box}input[type=text],input[type=password],input[type=checkbox],input[type=color],input[type=date],input[type=datetime],input[type=datetime-local],input[type=email],input[type=month],input[type=number],input[type=radio],input[type=tel],input[type=time],input[type=url],input[type=week],input[type=search],select,textarea{border:1px solid #ddd;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.07);box-shadow:inset 0 1px 2px rgba(0,0,0,.07);background-color:#fff;color:#32373c;outline:0;-webkit-transition:.05s border-color ease-in-out;transition:.05s border-color ease-in-out}input[type=text]:focus,input[type=password]:focus,input[type=checkbox]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime]:focus,input[type=datetime-local]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=radio]:focus,input[type=tel]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,input[type=search]:focus,select:focus,textarea:focus{border-color:#5b9dd9;-webkit-box-shadow:0 0 2px rgba(30,140,190,.8);box-shadow:0 0 2px rgba(30,140,190,.8)}input[type=email],input[type=url]{direction:ltr}input[type=checkbox],input[type=radio]{border:1px solid #b4b9be;background:#fff;color:#555;clear:none;cursor:pointer;display:inline-block;line-height:0;height:16px;margin:-4px 4px 0 0;outline:0;padding:0!important;text-align:center;vertical-align:middle;width:16px;min-width:16px;-webkit-appearance:none;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1);-webkit-transition:.05s border-color ease-in-out;transition:.05s border-color ease-in-out}#adminmenu,.network-admin.themes-php p.search-box{clear:left}input[type=radio]:checked+label:before{color:#82878c}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#00a0d2}.wp-admin p input[type=checkbox],.wp-admin p input[type=radio],td>input[type=checkbox]{margin-top:0}.wp-admin p label input[type=checkbox]{margin-top:-4px}.wp-admin p label input[type=radio]{margin-top:-2px}input[type=radio]{-webkit-border-radius:50%;border-radius:50%;margin-right:4px;line-height:10px}input[type=checkbox]:checked:before,input[type=radio]:checked:before{float:left;display:inline-block;vertical-align:middle;width:16px;font:400 21px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}input[type=checkbox]:checked:before{content:'\f147';margin:-3px 0 0 -4px;color:#1e8cbe}input[type=radio]:checked:before{content:'\2022';text-indent:-9999px;-webkit-border-radius:50px;border-radius:50px;font-size:24px;width:6px;height:6px;margin:4px;line-height:16px;background-color:#1e8cbe}@-moz-document url-prefix(){.form-table input.tog,input[type=checkbox],input[type=radio]{margin-bottom:-1px}}input[type=search]{-webkit-appearance:textfield}input[type=search]::-webkit-search-decoration{display:none}.ie8 input[type=password]{font-family:sans-serif}button,input,select,textarea{font-family:inherit;font-size:inherit;font-weight:inherit}input,select,textarea{font-size:14px;-webkit-border-radius:0;border-radius:0}textarea{padding:2px 6px;line-height:1.4}.wp-admin input[type=file]{padding:3px 0}label{cursor:pointer}input,select{margin:1px;padding:3px 5px}input.code{padding-top:6px}textarea.code{line-height:1.4;padding:4px 6px 1px}input.readonly,input[readonly],textarea.readonly,textarea[readonly]{background-color:#eee}.wp-core-ui :-moz-placeholder,:-moz-placeholder{color:#a9a9a9}.form-invalid input,.form-invalid input:focus,.form-invalid select,.form-invalid select:focus{border-color:#dc3232!important;-webkit-box-shadow:0 0 2px rgba(204,0,0,.8);box-shadow:0 0 2px rgba(204,0,0,.8)}.form-table .form-required.form-invalid td:after{content:'\f534';font:400 20px/1 dashicons;color:#dc3232;margin-left:-25px;vertical-align:middle}.form-table .form-required.user-pass1-wrap.form-invalid td:after{content:''}.form-table .form-required.user-pass1-wrap.form-invalid .password-input-wrapper:after{content:'\f534';font:400 20px/1 dashicons;color:#dc3232;margin:0 6px 0 -29px;vertical-align:middle}.form-input-tip{color:#666}input.disabled,input:disabled,select.disabled,select:disabled,textarea.disabled,textarea:disabled{background:rgba(255,255,255,.5);border-color:rgba(222,222,222,.75);-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.04);box-shadow:inset 0 1px 2px rgba(0,0,0,.04);color:rgba(51,51,51,.5)}input[type=file].disabled,input[type=file]:disabled,input[type=range].disabled,input[type=range]:disabled{background:0 0;-webkit-box-shadow:none;box-shadow:none}.wp-admin select{padding:2px;line-height:28px;height:28px;vertical-align:middle}.wp-admin .button-cancel{padding:0 5px;line-height:2}.wp-admin select[multiple]{height:auto}.submit{padding:1.5em 0;margin:5px 0;-webkit-border-bottom-left-radius:3px;border-bottom-left-radius:3px;-webkit-border-bottom-right-radius:3px;border-bottom-right-radius:3px;border:none}p.submit{text-align:left;margin-top:20px;padding-top:10px}.textright p.submit{border:none;text-align:right}table.form-table+input+input+p.submit,table.form-table+input+p.submit,table.form-table+p.submit{border-top:none;padding-top:0}#major-publishing-actions input,#minor-publishing-actions .preview,#minor-publishing-actions input{text-align:center}input.all-options,textarea.all-options{width:250px}input.large-text,textarea.large-text{width:99%}input.regular-text{width:25em}input.small-text{width:50px;padding:1px 6px}input[type=number].small-text{width:65px}#doaction,#doaction2,#post-query-submit{margin:1px 8px 0 0}.tablenav #changeit,.tablenav #clear-recent-list,.tablenav #delete_all,.wp-filter #delete_all{margin-top:1px}.tablenav .actions select{float:left;margin-right:6px;max-width:200px}.ie8 .tablenav .actions select{width:155px}.ie8 .tablenav .actions select#cat{width:200px}#timezone_string option{margin-left:1em}#upload-form label{color:#777}button.wp-hide-pw>.dashicons{position:relative;top:3px}#your-profile label+a,fieldset label,label{vertical-align:middle}#misc-publishing-actions label,.options-media-php label[for*="_size_"]{vertical-align:baseline}#misc-publishing-actions label[for=post_status]:before{content:'\f173';display:inline-block;font:400 20px/1 dashicons;speak:none;left:-1px;padding:0 5px 0 0;position:relative;top:0;text-decoration:none!important;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#pass1-text,.pw-weak,.show-password #pass1{display:none}#pass-strength-result{background-color:#eee;border:1px solid #ddd;color:#23282d;margin:-2px 5px 5px 1px;padding:3px 5px;text-align:center;width:25em;box-sizing:border-box;opacity:0}#pass-strength-result,.color-option{-webkit-box-sizing:border-box;-moz-box-sizing:border-box}#pass-strength-result.short{background-color:#f1adad;border-color:#e35b5b;opacity:1}#pass-strength-result.bad{background-color:#fbc5a9;border-color:#f78b53;opacity:1}#pass-strength-result.good{background-color:#ffe399;border-color:#ffc733;opacity:1}#pass-strength-result.strong{background-color:#c1e1b9;border-color:#83c373;opacity:1}#pass1-text.short,#pass1.short{border-color:#e35b5b}#pass1-text.bad,#pass1.bad{border-color:#f78b53}#pass1-text.good,#pass1.good{border-color:#ffc733}#pass1-text.strong,#pass1.strong{border-color:#83c373}.indicator-hint{padding-top:8px}.show-password #pass1-text{display:inline-block}.form-table span.description.important{font-size:12px}p.search-box{float:right;margin:0}.search-box input[name="s"],.tablenav .search-plugins input[name="s"],.tagsdiv .newtag{float:left;height:28px;margin:0 4px 0 0}input[type=text].ui-autocomplete-loading,input[type=email].ui-autocomplete-loading{background-image:url(../images/loading.gif);background-repeat:no-repeat;background-position:right center;visibility:visible}input.ui-autocomplete-input.open{border-bottom-color:transparent}ul#add-to-blog-users{margin:0 0 0 14px}.ui-autocomplete{padding:0;margin:0;list-style:none;position:absolute;z-index:10000;border:1px solid #5b9dd9;-webkit-box-shadow:0 1px 2px rgba(30,140,190,.8);box-shadow:0 1px 2px rgba(30,140,190,.8);background-color:#fff}.ui-autocomplete li{margin-bottom:0;padding:4px 10px;text-align:left}.ui-autocomplete li.ui-state-focus{background-color:#ddd;cursor:pointer}.form-table{margin-top:.5em;width:100%;clear:both}.form-table,.form-table td,.form-table td p,.form-table th,.form-wrap label{font-size:14px}.form-table td{margin-bottom:9px;padding:15px 10px;line-height:1.3;vertical-align:middle}.form-table th,.form-wrap label{color:#23282d;font-weight:400;text-shadow:none;vertical-align:baseline}.form-table th{vertical-align:top;text-align:left;padding:20px 10px 20px 0;width:200px;line-height:1.3;font-weight:600}.form-table th.th-full{width:auto;font-weight:400}.form-table td p{margin-top:4px;margin-bottom:0}.form-table td fieldset label{margin:.25em 0 .5em!important;display:inline-block}.form-table td fieldset label,.form-table td fieldset li,.form-table td fieldset p{line-height:1.4em}.form-table input.tog,.form-table input[type=radio]{margin-top:-4px;margin-right:4px;float:none}.form-table .pre{padding:8px;margin:0}table.form-table td .updated{font-size:13px}table.form-table td .updated p{font-size:13px;margin:.3em 0}#profile-page .form-table textarea{width:500px;margin-bottom:6px}#profile-page .form-table #rich_editing{margin-right:5px}#your-profile legend{font-size:22px}#display_name{width:15em}#adduser .form-field input,#createuser .form-field input{width:25em}.color-option{display:inline-block;width:24%;padding:5px 15px 15px;box-sizing:border-box;margin-bottom:3px;cursor:pointer}.color-option.selected,.color-option:hover{background:#ddd}.color-palette{width:100%;border-spacing:0}.color-palette td{height:20px;padding:0;border:none}.tool-box .title{margin:8px 0;font-size:18px;font-weight:400;line-height:24px}.card{position:relative;margin-top:20px;padding:.7em 2em 1em;min-width:255px;max-width:520px;border:1px solid #e5e5e5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);background:#fff}.pressthis h4{margin:2em 0 1em}.pressthis textarea{width:100%;font-size:1em}.pressthis-bookmarklet-wrapper{margin:20px 0 8px;vertical-align:top;position:relative;z-index:1}.pressthis-bookmarklet,.pressthis-bookmarklet:active,.pressthis-bookmarklet:focus,.pressthis-bookmarklet:hover{display:inline-block;position:relative;cursor:move;color:#32373c;background:#e6e6e6;-webkit-border-radius:5px;border-radius:5px;border:1px solid #b4b4b4;font-style:normal;line-height:16px;font-size:14px;text-decoration:none}.pressthis-bookmarklet:active{outline:0}.pressthis-bookmarklet:after{content:'';width:70%;height:55%;z-index:-1;position:absolute;right:10px;bottom:9px;background:0 0;-webkit-transform:skew(20deg) rotate(6deg);-ms-transform:skew(20deg) rotate(6deg);transform:skew(20deg) rotate(6deg);-webkit-box-shadow:0 10px 8px rgba(0,0,0,.6);box-shadow:0 10px 8px rgba(0,0,0,.6)}.pressthis-bookmarklet:hover:after{-webkit-transform:skew(20deg) rotate(9deg);-ms-transform:skew(20deg) rotate(9deg);transform:skew(20deg) rotate(9deg);-webkit-box-shadow:0 10px 8px rgba(0,0,0,.7);box-shadow:0 10px 8px rgba(0,0,0,.7)}.pressthis-bookmarklet span{display:inline-block;margin:0;padding:0 12px 8px 9px}.pressthis-js-toggle,.pressthis-js-toggle.button.button{margin-left:10px;padding:0;height:auto;vertical-align:top}.pressthis-bookmarklet span:before{color:#777;font:400 20px/1 dashicons;content:'\f157';position:relative;display:inline-block;top:4px;margin-right:4px}.pressthis-js-toggle .dashicons{margin:5px 8px 6px 7px;color:#777}#local-time,#utc-time{padding-left:25px;font-style:italic}.defaultavatarpicker .avatar{margin:2px 0;vertical-align:middle}.options-general-php input.small-text{width:56px}.options-general-php .spinner{float:none;margin:0 3px}.options-general-php .language-install-spinner,.settings-php .language-install-spinner{display:inline-block;float:none;margin:-3px 5px 0;vertical-align:middle}.setup-php textarea{max-width:100%}.form-field #site-address{max-width:25em}.form-field #domain{max-width:22em}.form-field #admin-email,.form-field #blog_last_updated,.form-field #blog_registered,.form-field #path,.form-field #site-title{max-width:25em}.form-field #path{margin-bottom:5px}#search-sites,#search-users{max-width:100%}.request-filesystem-credentials-dialog{display:none}.request-filesystem-credentials-dialog .notification-dialog{top:15%;max-height:85%}.request-filesystem-credentials-dialog-content{margin:25px}.request-filesystem-credentials-form input[type=text],.request-filesystem-credentials-form input[type=password]{display:block}.request-filesystem-credentials-dialog input[type=text],.request-filesystem-credentials-dialog input[type=password]{width:100%}.request-filesystem-credentials-form .field-title{font-weight:600}.request-filesystem-credentials-dialog label[for=hostname],.request-filesystem-credentials-dialog label[for=public_key],.request-filesystem-credentials-dialog label[for=private_key]{display:block;margin-bottom:1em}.request-filesystem-credentials-dialog .ftp-password,.request-filesystem-credentials-dialog .ftp-username{float:left;width:48%}.request-filesystem-credentials-dialog .ftp-password{margin-left:4%}.request-filesystem-credentials-dialog .request-filesystem-credentials-action-buttons{text-align:right}#request-filesystem-credentials-dialog .button:not(:last-child),.request-filesystem-credentials-dialog label[for=ftp]{margin-right:10px}#request-filesystem-credentials-form .cancel-button{display:none}#request-filesystem-credentials-dialog .cancel-button{display:inline}@media screen and (max-width:782px){textarea{-webkit-appearance:none}input[type=text],input[type=password],input[type=email],input[type=number],input[type=search]{-webkit-appearance:none;padding:6px 10px}input.code{padding-bottom:5px;padding-top:10px}.widefat tfoot td input[type=checkbox],.widefat th input[type=checkbox],.widefat thead td input[type=checkbox],input[type=checkbox]{-webkit-appearance:none;padding:10px}.widefat tfoot td input[type=checkbox],.widefat th input[type=checkbox],.widefat thead td input[type=checkbox]{margin-bottom:8px}.widefat tfoot td input[type=checkbox]:before,.widefat th input[type=checkbox]:before,.widefat thead td input[type=checkbox]:before,input[type=checkbox]:checked:before{font:400 30px/1 Dashicons;margin:-3px -5px}input[type=checkbox],input[type=radio]{height:25px;width:25px}.wp-admin p input[type=checkbox],.wp-admin p input[type=radio]{margin-top:-3px}input[type=radio]:checked:before{vertical-align:middle;width:9px;height:9px;margin:7px;line-height:16px}.wp-upload-form input[type=submit]{margin-top:10px}#wpbody select{height:36px;font-size:16px}.wp-admin .button-cancel{padding:0;font-size:14px}#adduser .form-field input,#createuser .form-field input{width:100%}.form-table{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.form-table td,.form-table th{display:block;width:auto;vertical-align:middle}.form-table .color-palette td{display:table-cell;width:15px}.form-table table.color-palette{margin-right:10px}input,textarea{font-size:16px}#profile-page .form-table textarea,.form-table span.description,.form-table td input[type=text],.form-table td input[type=password],.form-table td input[type=email],.form-table td select,.form-table td textarea{width:100%;font-size:16px;line-height:1.5;padding:7px 10px;display:block;max-width:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.form-table .form-required.form-invalid td:after{float:right;margin:-30px 3px 0 0}#wpbody .form-table td select{height:40px}.form-table input[type=text].small-text,input[type=text].small-text,input[type=password].small-text,input[type=number].small-text,input[type=search].small-text{width:auto;max-width:55px;display:inline;padding:3px 6px;margin:0 3px}#pass-strength-result{width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:8px}p.search-box{float:none;position:absolute;bottom:0;width:98%;height:90px;margin-bottom:20px}p.search-box input[name="s"]{height:auto;float:none;width:100%;margin-bottom:10px;vertical-align:middle;-webkit-appearance:none}p.search-box input[type=submit]{margin-bottom:10px}.form-table span.description{display:inline;padding:4px 0 0;line-height:1.4em;font-size:14px}.form-table th{padding-top:10px;padding-bottom:0;border-bottom:0}.form-table td{margin-bottom:0;padding-bottom:6px;padding-top:4px;padding-left:0}.form-table.permalink-structure td code{margin-left:32px}.form-table.permalink-structure td input[type=text]{margin-left:32px;margin-top:4px;width:96%}.form-table input.regular-text{width:100%}.form-table label{font-size:14px}.form-table fieldset label{display:block}#utc-time{margin-top:10px}#local-time,#utc-time{display:block;float:none;padding:0;line-height:2}.form-field #domain{max-width:none}.wp-pwd{position:relative}.wp-pwd [type=text],.wp-pwd [type=password]{padding-right:40px}.wp-pwd button.button{background:0 0;border:none;-webkit-box-shadow:none;box-shadow:none;line-height:2;margin:0;padding:5px 10px;position:absolute;right:0;top:0}.wp-pwd button.button:active,.wp-pwd button.button:focus,.wp-pwd button.button:hover{background:0 0}.wp-pwd .button .text{display:none}}@media only screen and (max-width:768px){.form-field input[type=text],.form-field input[type=password],.form-field input[type=email],.form-field select,.form-field textarea{width:99%}.form-wrap .form-field{padding:0}#profile-page .form-table textarea{max-width:400px;width:auto}}@media only screen and (max-height:480px){.request-filesystem-credentials-dialog .notification-dialog{width:100%;height:100%;max-height:100%;position:fixed;top:0;margin:0;left:0}}@media screen and (max-width:600px){.color-option{width:49%}}#adminmenu,#adminmenu .wp-submenu,#adminmenuback,#adminmenuwrap{width:160px;background-color:#23282d}#adminmenuback{position:fixed;top:0;bottom:-120px;z-index:1}#adminmenu{margin:12px 0;padding:0;list-style:none}.folded #adminmenu,.folded #adminmenu li.menu-top,.folded #adminmenuback,.folded #adminmenuwrap{width:36px}.icon16{height:18px;width:18px;padding:6px;margin:-6px 0 0 -8px;float:left}.icon16:before{color:#999;font:400 20px/1 dashicons;speak:none;padding:6px 0;height:34px;width:20px;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}.icon16.icon-dashboard:before{content:'\f226'}.icon16.icon-post:before{content:'\f109'}.icon16.icon-media:before{content:'\f104'}.icon16.icon-links:before{content:'\f103'}.icon16.icon-page:before{content:'\f105'}.icon16.icon-comments:before{content:'\f101';margin-top:1px}.icon16.icon-appearance:before{content:'\f100'}.icon16.icon-plugins:before{content:'\f106'}.icon16.icon-users:before{content:'\f110'}.icon16.icon-tools:before{content:'\f107'}.icon16.icon-settings:before{content:'\f108'}.icon16.icon-site:before{content:'\f112'}.icon16.icon-generic:before{content:'\f111'}.icon16.icon-appearance,.icon16.icon-comments,.icon16.icon-dashboard,.icon16.icon-generic,.icon16.icon-links,.icon16.icon-media,.icon16.icon-page,.icon16.icon-plugins,.icon16.icon-post,.icon16.icon-settings,.icon16.icon-site,.icon16.icon-tools,.icon16.icon-users,.menu-icon-appearance div.wp-menu-image,.menu-icon-comments div.wp-menu-image,.menu-icon-dashboard div.wp-menu-image,.menu-icon-generic div.wp-menu-image,.menu-icon-links div.wp-menu-image,.menu-icon-media div.wp-menu-image,.menu-icon-page div.wp-menu-image,.menu-icon-plugins div.wp-menu-image,.menu-icon-post div.wp-menu-image,.menu-icon-settings div.wp-menu-image,.menu-icon-site div.wp-menu-image,.menu-icon-tools div.wp-menu-image,.menu-icon-users div.wp-menu-image{background-image:none!important}#adminmenuwrap{position:relative;float:left;z-index:9990}#adminmenu *{user-select:none}#adminmenu *,.theme-overlay .current-label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}#adminmenu li{margin:0;padding:0;cursor:pointer}#adminmenu a{display:block;line-height:18px;padding:2px 5px;color:#eee}#adminmenu .wp-submenu a{color:#b4b9be;color:rgba(240,245,250,.7)}#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover{background:0 0}#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a:hover,#adminmenu li.menu-top>a:focus{color:#00b9eb}#adminmenu li.menu-top{border:none;min-height:34px;position:relative}#adminmenu .wp-submenu{list-style:none;position:absolute;top:-1000em;left:160px;overflow:visible}#adminmenu .wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu,.folded #adminmenu a.wp-has-current-submenu:focus+.wp-submenu{padding:7px 0 8px;z-index:9999;background-color:#32373c;-webkit-box-shadow:0 3px 5px rgba(0,0,0,.2);box-shadow:0 3px 5px rgba(0,0,0,.2)}#adminmenu a.menu-top:focus+.wp-submenu,.js #adminmenu .opensub .wp-submenu,.js #adminmenu .sub-open,.no-js li.wp-has-submenu:hover .wp-submenu{top:-1px}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu .wp-submenu.sub-open,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.no-js li.wp-has-current-submenu:hover .wp-submenu{position:relative;z-index:3;top:auto;left:auto;right:auto;bottom:auto;border:0;margin-top:0;-webkit-box-shadow:none;box-shadow:none;background-color:#32373c}#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{position:relative;background-color:#191e23;color:#00b9eb}.folded #adminmenu li.menu-top:hover,.folded #adminmenu li.opensub>a.menu-top,.folded #adminmenu li>a.menu-top:focus{z-index:10000}#adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu .wp-menu-arrow,#adminmenu .wp-menu-arrow div,#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top,.folded #adminmenu li.wp-has-current-submenu{background:#0073aa;color:#fff}.folded #adminmenu .opensub .wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu.sub-open,.folded #adminmenu .wp-has-current-submenu a.menu-top:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu.opensub .wp-submenu,.folded #adminmenu .wp-submenu.sub-open,.folded #adminmenu a.menu-top:focus+.wp-submenu,.no-js.folded #adminmenu .wp-has-submenu:hover .wp-submenu{top:0;left:36px}.folded #adminmenu .wp-has-current-submenu .wp-submenu,.folded #adminmenu a.wp-has-current-submenu:focus+.wp-submenu{position:absolute;top:-1000em}#adminmenu .wp-not-current-submenu .wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{min-width:160px;width:auto}#adminmenu .wp-submenu a{font-size:13px;line-height:1.2;margin:0;padding:6px 0}#adminmenu .opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current,#adminmenu .wp-submenu li.current a,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-not-current-submenu li>a,.folded #adminmenu .wp-has-current-submenu li>a{padding-right:16px;padding-left:14px;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}#adminmenu .wp-has-current-submenu ul>li>a,.folded #adminmenu li.menu-top .wp-submenu>li>a{padding:6px 12px}#adminmenu .wp-submenu-head,#adminmenu a.menu-top{font-size:14px;font-weight:400;line-height:18px;padding:0}#adminmenu .wp-submenu-head{display:none}.folded #adminmenu .wp-menu-name{position:absolute;left:-999px}.folded #adminmenu .wp-submenu-head{display:block}#adminmenu .wp-submenu li{padding:0;margin:0;overflow:hidden}#adminmenu .wp-menu-image img{padding:9px 0 0;opacity:.6;filter:alpha(opacity=60)}#adminmenu div.wp-menu-name{padding:8px 0}#adminmenu div.wp-menu-image{float:left;width:36px;height:34px;margin:0;text-align:center}#adminmenu div.wp-menu-image.svg{background-repeat:no-repeat;background-position:center;-webkit-background-size:20px auto;background-size:20px auto}div.wp-menu-image:before{color:#a0a5aa;color:rgba(240,245,250,.6);padding:7px 0;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}#adminmenu div.wp-menu-image:before{color:#a0a5aa;color:rgba(240,245,250,.6)}#adminmenu .current div.wp-menu-image:before,#adminmenu .wp-has-current-submenu div.wp-menu-image:before,#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu a.wp-has-current-submenu:hover div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu:hover div.wp-menu-image:before{color:#fff}#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before{color:#00b9eb}.ie8 #adminmenu li.opensub div.wp-menu-image:before{color:#a0a5aa}.folded #adminmenu div.wp-menu-image{width:35px;height:30px;position:absolute;z-index:25}.folded #adminmenu a.menu-top{height:34px}.no-font-face #adminmenu .wp-menu-image{display:none}.no-font-face #adminmenu div.wp-menu-name{padding:8px 12px}.no-font-face.auto-fold #adminmenu .wp-menu-name{margin-left:0}.sticky-menu #adminmenuwrap{position:fixed}.wp-menu-arrow{display:none!important}ul#adminmenu a.wp-has-current-submenu{position:relative}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{right:0;border:8px solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none;border-right-color:#f1f1f1;top:50%;margin-top:-8px}.folded ul#adminmenu li:hover a.wp-has-current-submenu:after{display:none}.folded ul#adminmenu a.wp-has-current-submenu:after,.folded ul#adminmenu>li a.current:after{border-width:4px;margin-top:-4px}#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after{right:0;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none;border-width:8px;top:10px;z-index:10000}.folded ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after{border-width:4px;margin-top:-4px;top:18px}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-right-color:#32373c}#adminmenu li.menu-top:hover .wp-menu-image img,#adminmenu li.wp-has-current-submenu .wp-menu-image img{opacity:1;filter:alpha(opacity=100)}#adminmenu li.wp-menu-separator{height:5px;padding:0;margin:0 0 6px;cursor:inherit}#adminmenu div.separator{height:2px;padding:0}#collapse-button,#collapse-button div{height:15px;width:15px}#adminmenu .wp-submenu .wp-submenu-head{color:#fff;font-weight:400;font-size:14px;padding:8px 4px 8px 11px;margin:-7px 0 4px}#adminmenu li.current,.folded #adminmenu li.wp-menu-open{border:0}#adminmenu .awaiting-mod,#adminmenu .update-plugins{display:inline-block;background-color:#d54e21;color:#fff;font-size:9px;line-height:17px;font-weight:600;margin:1px 0 0 2px;vertical-align:top;-webkit-border-radius:10px;border-radius:10px;z-index:26}#adminmenu li .awaiting-mod span,#adminmenu li span.update-plugins span{display:block;padding:0 6px}#adminmenu li span.count-0,.folded #collapse-menu span{display:none}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod{background-color:#00b9eb;color:#fff}#collapse-menu{font-size:13px;line-height:34px;margin-top:10px;color:#a0a5aa;color:rgba(240,245,250,.6);-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}#collapse-menu:hover,#collapse-menu:hover #collapse-button div:after{color:#00b9eb}#collapse-button{float:left;margin:10px 8px 10px 11px;-webkit-border-radius:10px;border-radius:10px}#wpwrap #collapse-button div{padding:0}#collapse-button div:after{content:'\f148';display:block;line-height:15px;left:-3px;top:-3px;color:#a0a5aa;color:rgba(240,245,250,.6);font:400 20px/1 dashicons!important;speak:none;margin:0 auto;padding:0!important;position:relative;text-align:center;width:20px;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.folded #collapse-button div:after,.rtl #collapse-button div:after{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.rtl.folded #collapse-button div:after{-webkit-transform:none;-ms-transform:none;transform:none}.customize-support #menu-appearance a[href="themes.php?page=custom-header"],.customize-support #menu-appearance a[href="themes.php?page=custom-background"],li#wp-admin-bar-menu-toggle{display:none}@media only screen and (max-width:960px){.auto-fold #wpcontent,.auto-fold #wpfooter{margin-left:36px}.auto-fold #adminmenu,.auto-fold #adminmenu li.menu-top,.auto-fold #adminmenuback,.auto-fold #adminmenuwrap{width:36px}.auto-fold #adminmenu .opensub .wp-submenu,.auto-fold #adminmenu .wp-has-current-submenu .wp-submenu.sub-open,.auto-fold #adminmenu .wp-has-current-submenu a.menu-top:focus+.wp-submenu,.auto-fold #adminmenu .wp-has-current-submenu.opensub .wp-submenu,.auto-fold #adminmenu .wp-submenu.sub-open,.auto-fold #adminmenu a.menu-top:focus+.wp-submenu{top:0;left:36px}.auto-fold #adminmenu .wp-has-current-submenu .wp-submenu,.auto-fold #adminmenu a.wp-has-current-submenu:focus+.wp-submenu{position:absolute;top:-1000em;margin-right:-1px;padding:7px 0 8px;z-index:9999}.auto-fold #adminmenu .wp-has-current-submenu .wp-submenu{min-width:150px;width:auto}.auto-fold #adminmenu .wp-has-current-submenu li>a{padding-right:16px;padding-left:14px}.auto-fold #adminmenu li.menu-top .wp-submenu>li>a{padding-left:12px}.auto-fold #adminmenu .wp-menu-name{position:absolute;left:-999px}.auto-fold #adminmenu .wp-submenu-head{display:block}.auto-fold #collapse-menu span,.auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after{display:none}.auto-fold #adminmenu div.wp-menu-image{height:30px;width:34px;position:absolute;z-index:25}.auto-fold #adminmenu a.menu-top{height:34px}.auto-fold #adminmenu li.wp-menu-open{border:0}.auto-fold #adminmenu .wp-has-current-submenu.menu-top-last{margin-bottom:0}.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after{border-width:4px;margin-top:-4px;top:16px}.auto-fold ul#adminmenu a.wp-has-current-submenu:after,.auto-fold ul#adminmenu>li a.current:after{border-width:4px;margin-top:-4px}.auto-fold #adminmenu li.menu-top:hover,.auto-fold #adminmenu li.opensub>a.menu-top,.auto-fold #adminmenu li>a.menu-top:focus{z-index:10000}.auto-fold #collapse-button div{background:0 0}.auto-fold #collapse-button div:after{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.rtl.auto-fold #collapse-button div:after{-webkit-transform:none;-ms-transform:none;transform:none}}@media screen and (max-width:782px){.auto-fold #wpcontent{position:relative;margin-left:0;padding-left:10px}.sticky-menu #adminmenuwrap{position:relative;z-index:auto;top:0}.auto-fold #adminmenu,.auto-fold #adminmenuback,.auto-fold #adminmenuwrap{position:absolute;width:190px;z-index:100}.auto-fold #adminmenuback,.auto-fold #adminmenuwrap{display:none}.auto-fold .wp-responsive-open #adminmenuback,.auto-fold .wp-responsive-open #adminmenuwrap{display:block}.auto-fold #adminmenu li.menu-top{width:100%}.auto-fold #adminmenu li a{font-size:16px;padding:5px}.auto-fold #adminmenu li.menu-top .wp-submenu>li>a{padding:10px 10px 10px 20px}.auto-fold #adminmenu .wp-menu-name{position:static;margin-left:35px}.auto-fold ul#adminmenu a.wp-has-current-submenu:after,.auto-fold ul#adminmenu>li.current>a.current:after{border-width:8px;margin-top:-8px}.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after{display:none}#adminmenu .wp-submenu{position:relative;display:none}.auto-fold #adminmenu .selected .wp-submenu,.auto-fold #adminmenu .wp-menu-open .wp-submenu{position:relative;display:block;top:0;left:-1px;-webkit-box-shadow:none;box-shadow:none}.auto-fold #adminmenu .opensub .wp-submenu,.auto-fold #adminmenu .selected .wp-submenu:after,.auto-fold #adminmenu .wp-menu-open .wp-submenu:after{display:none}.auto-fold #adminmenu .selected .wp-submenu,.auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after{display:block}.auto-fold #adminmenu .wp-has-current-submenu a.menu-top:focus+.wp-submenu,.auto-fold #adminmenu a.menu-top:focus+.wp-submenu{position:relative;left:-1px;right:0;top:0}#adminmenu .wp-submenu .wp-submenu-head{display:none}#wp-responsive-toggle{position:fixed;top:5px;left:4px;padding-right:10px;z-index:99999;border:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#wpadminbar #wp-admin-bar-menu-toggle a{display:block;padding:0;overflow:hidden;outline:0;text-decoration:none;border:1px solid transparent;background:0 0;height:44px;margin-left:-1px}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#32373c}li#wp-admin-bar-menu-toggle{display:block}#wpadminbar #wp-admin-bar-menu-toggle a:hover{border:1px solid transparent}#wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{content:'\f228';display:inline-block;float:left;font:400 40px/45px Dashicons;vertical-align:middle;outline:0;margin:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;height:44px;width:50px;padding:0;border:none;text-align:center;text-decoration:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:#00b9eb}}@media screen and (max-width:600px){#adminmenuback,#adminmenuwrap{display:none}.wp-responsive-open #adminmenuback,.wp-responsive-open #adminmenuwrap{display:block}.auto-fold #adminmenu{top:46px}}#wpbody-content #dashboard-widgets.columns-1 .postbox-container{width:100%}#wpbody-content #dashboard-widgets.columns-2 .postbox-container{width:49.5%}#wpbody-content #dashboard-widgets.columns-2 #postbox-container-2,#wpbody-content #dashboard-widgets.columns-2 #postbox-container-3,#wpbody-content #dashboard-widgets.columns-2 #postbox-container-4{float:right;width:50.5%}#wpbody-content #dashboard-widgets.columns-3 .postbox-container{width:33.5%}#wpbody-content #dashboard-widgets.columns-3 #postbox-container-1{width:33%}#wpbody-content #dashboard-widgets.columns-3 #postbox-container-3,#wpbody-content #dashboard-widgets.columns-3 #postbox-container-4{float:right}#dashboard-widgets .postbox-container,#wpbody-content #dashboard-widgets.columns-4 .postbox-container{width:25%}#dashboard-widgets-wrap .columns-3 #postbox-container-4 .empty-container{border:none!important}.ie8 #wpbody-content #dashboard-widgets .postbox-container{width:49.5%}.ie8 #wpbody-content #dashboard-widgets #postbox-container-2,.ie8 #wpbody-content #dashboard-widgets #postbox-container-3,.ie8 #wpbody-content #dashboard-widgets #postbox-container-4{float:right;width:50.5%}.ie8 #dashboard-widgets #postbox-container-3 .empty-container,.ie8 #dashboard-widgets #postbox-container-4 .empty-container{border:0;height:0;min-height:0}#dashboard-widgets-wrap{overflow:hidden;margin:0 -8px}#dashboard-widgets .postbox .inside{margin-bottom:0}#dashboard-widgets .meta-box-sortables{margin:0 8px;min-height:100px}#the-comment-list td.comment p.comment-author{margin-top:0;margin-left:0}#the-comment-list p.comment-author img{float:left;margin-right:8px}#the-comment-list p.comment-author strong a{border:none}#the-comment-list td{vertical-align:top}#the-comment-list td.comment img{max-width:100%}.welcome-panel{position:relative;overflow:auto;margin:16px 0;padding:23px 10px 0;border:1px solid #e5e5e5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);background:#fff;font-size:13px;line-height:2.1em}#activity-widget #the-comment-list .comment-item:first-child,#dashboard_right_now .sub,.js #dashboard_quick_press .drafts{border-top:1px solid #eee}.activity-block,.dashboard-widget-control-form,.mu-storage,.tablenav .actions,th.sortable a,th.sorted a{overflow:hidden}.welcome-panel h3{margin:0;font-size:21px;font-weight:400;line-height:1.2}.welcome-panel h4{margin:1.33em 0 0;font-size:16px}.welcome-panel li{font-size:14px}.welcome-panel p{color:#777}.welcome-panel a{text-decoration:none}.welcome-panel .about-description{font-size:16px;margin:0}.welcome-panel .welcome-panel-close{position:absolute;top:10px;right:10px;padding:10px 15px 10px 21px;font-size:13px;line-height:1.23076923;text-decoration:none}.welcome-panel .welcome-panel-close:before{position:absolute;top:8px;left:0;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}.wp-core-ui .welcome-panel .button.button-hero{margin:15px 13px 3px 0;padding:12px 36px;height:auto;line-height:1.4285714;white-space:normal}.welcome-panel-content{margin-left:13px;max-width:1500px}.welcome-panel .welcome-panel-column-container{clear:both;position:relative}.welcome-panel .welcome-panel-column{width:32%;min-width:200px;float:left}.ie8 .welcome-panel .welcome-panel-column{min-width:230px}.welcome-panel .welcome-panel-column:first-child{width:36%}.welcome-panel-column p.hide-if-no-customize{margin-top:10px}.welcome-panel-column p{margin-top:7px;color:#464646}.welcome-panel .welcome-icon{background:0 0!important}.welcome-panel .welcome-icon:before{color:#82878c;font:400 20px/1 dashicons;speak:none;display:inline-block;padding:0 10px 0 0;top:-1px;position:relative;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;vertical-align:top}.welcome-panel .welcome-edit-page:before,.welcome-panel .welcome-write-blog:before{content:'\f119';top:-3px}.welcome-panel .welcome-add-page:before{content:'\f132'}.welcome-panel .welcome-view-site:before{content:'\f115';top:-2px}.welcome-panel .welcome-widgets-menus:before{content:'\f116';top:-2px}.welcome-panel .welcome-comments:before{content:'\f117';top:-1px}.welcome-panel .welcome-learn-more:before{content:'\f118';top:-1px}.welcome-panel .welcome-widgets-menus{line-height:16px}.welcome-panel .welcome-panel-column ul{margin:.8em 1em 1em 0}.welcome-panel .welcome-panel-column li{line-height:16px;list-style-type:none;padding:0 0 8px}#dashboard_primary .inside{margin:0;padding:0}#dashboard_primary .dashboard-widget-control-form,#dashboard_primary .widget-loading{padding:12px 12px 0}body #dashboard-widgets .postbox form .submit{margin:0}.dashboard-widget-control-form p{margin-top:0}.rssSummary{color:#777;margin-top:4px}#dashboard_primary .rss-widget{border-bottom:1px solid #eee;font-size:13px;padding:8px 12px 10px}#dashboard_primary .rss-widget:last-child{border-bottom:none;padding-bottom:8px}#dashboard_primary .rss-widget a{font-weight:400}#dashboard_primary .rss-widget span,#dashboard_primary .rss-widget span.rss-date{color:#777}#dashboard_primary .rss-widget span.rss-date{margin-left:12px}#dashboard_primary .rss-widget ul li{margin-bottom:8px}#dashboard_right_now ul{margin:0;display:inline-block;width:100%}#dashboard_right_now li{width:50%;float:left;margin-bottom:10px}#dashboard_right_now .inside{padding:0}#dashboard_right_now .main{padding:0 12px 11px}#dashboard_right_now .main p{margin:0}#dashboard_right_now #wp-version-message .button{float:right;position:relative;top:-5px;margin-left:5px}#dashboard-widgets h4.mu-storage{margin-bottom:10px}#dashboard_right_now li a:before,#dashboard_right_now li span:before{color:#82878c}#dashboard_right_now .sub{color:#777;background:#f5f5f5;padding:10px 12px 6px}#dashboard_right_now .sub h4{color:#555}#dashboard_right_now .sub p{margin:0 0 1em}#dashboard_right_now .warning a:before,#dashboard_right_now .warning span:before{color:#d54e21}#dashboard_quick_press .drafts li time,#title-wrap #title-prompt-text,.textarea-wrap #content-prompt-text{color:#777}#dashboard_right_now li a:before,#dashboard_right_now li span:before{content:'\f159';font:400 20px/1 dashicons;speak:none;display:block;float:left;margin:0 5px 0 0;padding:0;text-indent:0;text-align:center;position:relative;-webkit-font-smoothing:antialiased;text-decoration:none!important}#dashboard_right_now .page-count a:before,#dashboard_right_now .page-count span:before{content:'\f105'}#dashboard_right_now .post-count a:before,#dashboard_right_now .post-count span:before{content:'\f109'}#dashboard_right_now .comment-count a:before{content:'\f101'}#dashboard_right_now .comment-mod-count a:before{content:'\f125'}#dashboard_right_now .storage-count a:before{content:'\f104'}#dashboard_right_now .storage-count.warning a:before{content:'\f153'}#dashboard_quick_press .inside{margin:0;padding:0}#dashboard_quick_press div.updated{margin-bottom:10px;border:1px solid #eee;border-width:1px 1px 1px 0}#dashboard_quick_press form{margin:12px}#dashboard_quick_press .drafts,#dashboard_quick_press .easy-blogging{padding:10px 0 0}input#save-post{float:left}form.initial-form.quickpress-open label.prompt{font-style:normal}form.initial-form.quickpress-open input#title{height:auto}#dashboard_quick_press input,#dashboard_quick_press textarea{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:0}#dashboard_quick_press textarea{resize:vertical}#description-wrap{margin-top:12px}.input-text-wrap,.textarea-wrap{position:relative}.input-text-wrap .prompt,.textarea-wrap .prompt{position:absolute}.textarea-wrap #content-prompt-text{font-size:1.1em;padding:7px 8px}.textarea-wrap textarea#content{margin:0 0 8px;padding:6px 7px}#quick-press textarea#content{min-height:90px;max-height:1300px;resize:none}#dashboard_quick_press .drafts abbr{border:none}#dashboard_quick_press .drafts h4{margin:0 12px 8px;font-weight:400}#dashboard_quick_press .drafts .view-all{float:right;margin:0 12px 0 0}#dashboard_primary a.rsswidget{font-weight:400}#dashboard_quick_press .drafts ul{margin:0 12px}#dashboard_quick_press .drafts li{margin-bottom:1em}#dashboard_quick_press .drafts p{margin:0;word-wrap:break-word}#dashboard_quick_press .draft-title a,#dashboard_quick_press .draft-title time{margin:0 5px 0 0}#dashboard-widgets #dashboard_activity h4{margin:0 0 8px 12px;font-weight:400}#dashboard-widgets #dashboard_activity h4.comment-meta{margin:0}#dashboard_activity h4.comment-meta{margin-bottom:4px}#dashboard_activity ul{padding:0 12px}#dashboard_activity .comment-meta span.approve:before{content:'\f227';font:20px/.5 dashicons;margin-left:12px;vertical-align:middle;position:relative;top:-1px;margin-right:2px}#dashboard_activity .inside{padding:0;margin:0}#dashboard_activity .no-activity{overflow:hidden;padding:0 12px 12px;text-align:center}#dashboard_activity .no-activity p{color:#999;font-size:16px}#dashboard_activity .no-activity .smiley{margin-top:0}#dashboard_activity .no-activity .smiley:before{content:'\f328';font:400 120px/1 dashicons;speak:none;display:block;margin:0 5px 0 0;padding:0;text-indent:0;text-align:center;position:relative;-webkit-font-smoothing:antialiased;text-decoration:none!important}#dashboard_activity .subsubsub{float:none;border-top:1px solid #eee;margin-top:0;padding:8px 12px 4px}#future-posts ul,#published-posts ul{clear:both;margin-bottom:0}#future-posts li,#published-posts li{margin-bottom:8px}#future-posts ul span,#published-posts ul span{display:inline-block;margin-right:5px;min-width:150px;color:#777}.activity-block{border-bottom:1px solid #eee;padding:8px 0 4px}.activity-block:last-child{border-bottom:none}.activity-block .subsubsub li{color:#ddd}#activity-widget #the-comment-list div.undo,#activity-widget #the-comment-list tr.undo{background:0 0;padding:6px 0;margin-left:12px}#activity-widget #the-comment-list .comment-item{background:#fafafa;padding:12px;position:relative}#activity-widget #the-comment-list .avatar{position:absolute;top:13px}#activity-widget #the-comment-list .dashboard-comment-wrap{padding-left:63px}#activity-widget #the-comment-list .dashboard-comment-wrap blockquote{margin:1em 0}#activity-widget #the-comment-list .comment-item h4{font-size:13px;color:#999}#activity-widget #the-comment-list .comment-item p.row-actions{margin:4px 0 0}#activity-widget #the-comment-list .unapproved{background-color:#fef7f1}#activity-widget #the-comment-list .unapproved:before{content:"";display:block;position:absolute;left:0;top:0;bottom:0;background:#d54e21;width:4px}#activity-widget #the-comment-list .spam-undo-inside .avatar,#activity-widget #the-comment-list .trash-undo-inside .avatar{position:relative;top:0}#dashboard-widgets #dashboard_browser_nag.postbox .inside{margin:10px}.edit-box{display:none}h3:hover .edit-box{display:inline}#dashboard-widgets form .input-text-wrap input,#dashboard-widgets form .textarea-wrap textarea{width:100%}#dashboard-widgets .postbox form .submit{float:none;margin:.5em 0 0;padding:0;border:none}#dashboard-widgets-wrap #dashboard-widgets .postbox form .submit #publish{min-width:0}#dashboard-widgets a{text-decoration:none}#dashboard-widgets h3 a,#dashboard_browser_nag a{text-decoration:underline}#dashboard-widgets h3 .postbox-title-action{position:absolute;right:10px;padding:0;top:5px}.js #dashboard-widgets h3 .postbox-title-action{right:33px}#dashboard-widgets h4{color:#23282d;font-weight:400;font-size:14px;margin:0 0 .2em;padding:0}#dashboard_plugins h5{font-size:14px}#latest-comments #the-comment-list{position:relative}#activity-widget #the-comment-list .comment,#activity-widget #the-comment-list .pingback{-webkit-box-shadow:inset 0 1px 0 rgba(0,0,0,.06);box-shadow:inset 0 1px 0 rgba(0,0,0,.06)}#activity-widget .comments #the-comment-list .alt{background-color:transparent}#activity-widget #latest-comments #the-comment-list .comment-item{padding:1em 12px}#latest-comments #the-comment-list .pingback{padding-left:12px!important}#latest-comments #the-comment-list .comment-item:first-child{border-top:none}#latest-comments #the-comment-list .comment-item h4{line-height:1.5em;margin-top:0;color:#666}#latest-comments #the-comment-list .comment-item h4 cite{font-style:normal;font-weight:400}#latest-comments #the-comment-list .comment-item blockquote,#latest-comments #the-comment-list .comment-item blockquote p{margin:0;padding:0;display:inline}#latest-comments #the-comment-list .comment-item p.row-actions{margin:3px 0 0;padding:0;font-size:13px}#description-wrap label,#title-wrap label{cursor:text}#title-wrap #title{padding:2px 6px;font-size:1.3em;outline:0}#title-wrap #title-prompt-text{font-size:1.1em;padding:5px 8px}.rss-widget ul{margin:0;padding:0;list-style:none}a.rsswidget{font-size:14px;font-weight:600;line-height:1.7em}.rss-widget ul li{line-height:1.5em;margin-bottom:12px}.rss-widget span.rss-date{color:#999;font-size:13px;margin-left:3px}.rss-widget cite{display:block;text-align:right;margin:0 0 1em;padding:0}.rss-widget cite:before{content:'\2014'}#dashboard_browser_nag a.update-browser-link{font-size:1.2em;font-weight:600}#dashboard_browser_nag a{color:#fff}#dashboard_browser_nag p.browser-update-nag.has-browser-icon{padding-right:125px}#dashboard_browser_nag .browser-icon{margin-top:-35px}#dashboard_browser_nag.postbox.browser-insecure{background-color:#ac1b1b;border-color:#ac1b1b}#dashboard_browser_nag.postbox{background-color:#e29808;background-image:none;border-color:#edc048;color:#fff;-webkit-box-shadow:none;box-shadow:none}#dashboard_browser_nag.postbox.browser-insecure h3{border-bottom-color:#cd5a5a;color:#fff}#dashboard_browser_nag.postbox h3{border-bottom-color:#f6e2ac;background:0 0;color:#fff;-webkit-box-shadow:none;box-shadow:none}#dashboard_browser_nag h3.hndle{border:none;font-weight:600;font-size:20px;padding-top:10px}.postbox#dashboard_browser_nag p a.dismiss{font-size:14px}.postbox#dashboard_browser_nag a,.postbox#dashboard_browser_nag p,.postbox#dashboard_browser_nag p.browser-update-nag{font-size:16px}@media only screen and (max-width:799px){#wpbody-content #dashboard-widgets .postbox-container{width:100%}}@media only screen and (min-width:800px) and (max-width:1499px){#dashboard-widgets #postbox-container-3 .empty-container,#dashboard-widgets #postbox-container-4 .empty-container,#wpbody #wpbody-content .metabox-holder.columns-1 .postbox-container .empty-container{border:0;height:0;min-height:0}#wpbody-content #dashboard-widgets .postbox-container{width:49.5%}#wpbody-content #dashboard-widgets #postbox-container-2,#wpbody-content #dashboard-widgets #postbox-container-3,#wpbody-content #dashboard-widgets #postbox-container-4{float:right;width:50.5%}#wpbody #wpbody-content #dashboard-widgets.columns-1 .postbox-container{width:100%}.index-php .columns-prefs,.index-php .screen-layout{display:block}.columns-prefs .columns-prefs-3,.columns-prefs .columns-prefs-4{display:none}}@media only screen and (min-width:1500px) and (max-width:1800px){#wpbody-content #dashboard-widgets .postbox-container{width:33.5%}#wpbody-content #dashboard-widgets #postbox-container-1{width:33%}#wpbody-content #dashboard-widgets #postbox-container-3,#wpbody-content #dashboard-widgets #postbox-container-4{float:right}#dashboard-widgets #postbox-container-4 .empty-container{border:0;height:0;min-height:0}}@media screen and (max-width:870px){.welcome-panel .welcome-panel-column,.welcome-panel .welcome-panel-column:first-child{display:block;float:none;width:100%}.welcome-panel .welcome-panel-column li{display:inline-block;margin-right:13px}.welcome-panel .welcome-panel-column ul{margin:.4em 0 0}}@media screen and (max-width:782px){#dashboard_recent_comments #the-comment-list .comment-item .avatar{height:30px;width:30px;margin:4px 10px 5px 0}}@media screen and (max-width:600px){.welcome-panel .welcome-panel-close{overflow:hidden;text-indent:40px;white-space:nowrap;width:20px;height:20px;padding:5px;top:5px;right:5px}.welcome-panel .welcome-panel-close:before{font-size:20px;top:5px;left:-35px}}.response-links{display:block;margin-bottom:1em}.response-links a{display:block}.response-links a.comments-edit-item-link{font-weight:600}.response-links a.comments-view-item-link{font-size:12px}.post-com-count-wrapper strong{font-weight:400}.comments-view-item-link{display:inline-block;clear:both}.column-comments .post-com-count-wrapper,.column-response .post-com-count-wrapper{white-space:nowrap;word-wrap:normal}.column-comments .post-com-count,.column-response .post-com-count{display:inline-block;vertical-align:top}.column-comments .post-com-count-approved,.column-comments .post-com-count-no-comments,.column-response .post-com-count-approved,.column-response .post-com-count-no-comments{margin-top:5px}.column-comments .comment-count-approved,.column-comments .comment-count-no-comments,.column-response .comment-count-approved,.column-response .comment-count-no-comments{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;padding:0 8px;min-width:24px;height:2em;-webkit-border-radius:5px;border-radius:5px;background-color:#72777c;color:#fff;font-size:11px;line-height:21px;text-align:center}.ie8 .column-comments .comment-count-approved,.ie8 .column-comments .comment-count-no-comments,.ie8 .column-response .comment-count-approved,.ie8 .column-response .comment-count-no-comments{min-width:0}.column-comments .post-com-count-approved:after,.column-comments .post-com-count-no-comments:after,.column-response .post-com-count-approved:after,.column-response .post-com-count-no-comments:after{content:"";display:block;margin-left:8px;width:0;height:0;border-top:5px solid #72777c;border-right:5px solid transparent}.column-comments .post-com-count-approved:focus .comment-count-approved,.column-comments .post-com-count-approved:hover .comment-count-approved,.column-response .post-com-count-approved:focus .comment-count-approved,.column-response .post-com-count-approved:hover .comment-count-approved{background:#0073aa}.column-comments .post-com-count-approved:focus:after,.column-comments .post-com-count-approved:hover:after,.column-response .post-com-count-approved:focus:after,.column-response .post-com-count-approved:hover:after{border-top-color:#0073aa}.column-comments .post-com-count-pending,.column-response .post-com-count-pending{position:relative;left:-3px;padding:0 5px;min-width:7px;height:17px;border:2px solid #fff;-webkit-border-radius:11px;border-radius:11px;background:#ca4a1f;color:#fff;font-size:9px;line-height:17px;text-align:center}.commentlist li{padding:1em 1em .2em;margin:0;border-bottom:1px solid #ccc}.commentlist li li{border-bottom:0;padding:0}.commentlist p{padding:0;margin:0 0 .8em}#submitted-on,.submitted-on{color:#777}#replyrow td{padding:2px}#replysubmit{margin:0;padding:0 5px 3px;text-align:center}#replysubmit .button{margin-right:5px}#replysubmit .error{color:red;line-height:21px;text-align:center}#replyrow h5{margin:.2em 0 0;padding:0 5px;line-height:1.4em;font-size:1em}#commentsdiv #edithead .inside,#edithead .inside{float:left;padding:3px 0 2px 5px;margin:0;text-align:center}#edithead .inside input{width:180px}#edithead label{padding:2px 0}#replycontainer{padding:5px}#replycontent{height:120px;-webkit-box-shadow:none;box-shadow:none}#replyerror{border-color:#ddd;background-color:#f9f9f9}.commentlist .avatar{vertical-align:text-top}#the-comment-list div.undo,#the-comment-list tr.undo{background-color:#f4f4f4}#the-comment-list .unapproved td,#the-comment-list .unapproved th{background-color:#fef7f1}#the-comment-list .unapproved th.check-column{border-left:4px solid #d54e21}#the-comment-list .unapproved th.check-column input{margin-left:4px}#the-comment-list .approve a{color:#006505}#the-comment-list .unapprove a{color:#d98500}.sorting-indicator:before,th .comment-grey-bubble:before{speak:none;-moz-osx-font-smoothing:grayscale;position:relative;text-decoration:none!important;color:#444}#the-comment-list td,#the-comment-list th{-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}#the-comment-list tr:last-child td,#the-comment-list tr:last-child th{-webkit-box-shadow:none;box-shadow:none}#the-comment-list tr.unapproved+tr.approved td,#the-comment-list tr.unapproved+tr.approved th{border-top:1px solid rgba(0,0,0,.03)}.vim-current,.vim-current td,.vim-current th{background-color:#e4f2fd!important}th .comment-grey-bubble{height:16px;width:16px}th .comment-grey-bubble:before{content:'\f101';font:400 20px/.5 dashicons;display:inline-block;padding:0;top:4px;left:-4px;vertical-align:top;-webkit-font-smoothing:antialiased}.sorting-indicator:before,th.desc a:focus span.sorting-indicator:before,th.desc:hover span.sorting-indicator:before,th.sorted.asc .sorting-indicator:before{content:'\f142'}table.fixed{table-layout:fixed}.fixed .column-rating,.fixed .column-visible{width:8%}.fixed .column-author,.fixed .column-date,.fixed .column-format,.fixed .column-links,.fixed .column-parent,.fixed .column-posts{width:10%}.fixed .column-posts{width:74px}.fixed .column-comment .comment-author{display:none}.fixed .column-categories,.fixed .column-rel,.fixed .column-response,.fixed .column-role,.fixed .column-tags{width:15%}.fixed .column-slug{width:25%}.fixed .column-locations{width:35%}.fixed .column-comments{width:5.5em;padding:8px 0;text-align:left}.fixed .column-comments .vers{padding-left:3px}td.column-title strong,td.plugin-title strong{display:block;margin-bottom:.2em;font-size:14px}td.column-title p,td.plugin-title p{margin:6px 0}table.media .column-title .media-icon{float:left;min-height:60px;margin:0 9px 0 0}table.media .column-title .media-icon img{max-width:60px;height:auto;vertical-align:top}table.media .column-title .has-media-icon~.row-actions{margin-left:70px}table.media .column-title .filename{margin-bottom:.2em}.wp-list-table a{-webkit-transition:none;transition:none}#the-list tr:last-child td,#the-list tr:last-child th{border-bottom:none!important;-webkit-box-shadow:none;box-shadow:none}#comments-form .fixed .column-author{width:20%}#commentsdiv.postbox .inside{margin:0;padding:0}#commentsdiv .inside .row-actions{line-height:18px}#commentsdiv .inside .column-author{width:25%}#commentsdiv .column-comment p{margin:.6em 0;padding:0}#commentsdiv #replyrow td{padding:0}#commentsdiv p{padding:8px 10px;margin:0}#commentsdiv .comments-box{border:0}#commentsdiv .comments-box thead td,#commentsdiv .comments-box thead th{background:0 0;padding:0 7px 4px;font-style:italic}#commentsdiv .comments-box tr:last-child td{border-bottom:0 none}#commentsdiv #edithead .inside input{vertical-align:middle;width:160px}.sorting-indicator{display:none;width:10px;height:4px;margin-top:8px;margin-left:7px}.sorting-indicator:before{font:400 20px/1 dashicons;display:inline-block;padding:0;top:-4px;left:-8px;line-height:10px;vertical-align:top;-webkit-font-smoothing:antialiased}.column-comments .sorting-indicator:before{top:0;left:-10px}.wp-list-table .toggle-row:before,th.asc a:focus span.sorting-indicator:before,th.asc:hover span.sorting-indicator:before,th.sorted.desc .sorting-indicator:before{content:'\f140'}.wp-list-table .toggle-row{position:absolute;right:8px;top:10px;display:none;padding:0;width:40px;height:40px;border:none;outline:0;background:0 0}.wp-list-table .toggle-row:hover{cursor:pointer}.wp-list-table .toggle-row:focus:before{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.ie8 .wp-list-table .toggle-row:focus:before{outline:#5b9dd9 solid 1px}.wp-list-table .toggle-row:active{-webkit-box-shadow:none;box-shadow:none}.wp-list-table .toggle-row:before{position:absolute;top:-5px;left:10px;-webkit-border-radius:50%;border-radius:50%;display:block;padding:1px 2px 1px 0;color:#666;font:400 20px/1 dashicons;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:none}.wp-list-table .is-expanded .toggle-row:before{content:'\f142'}tr.wp-locked .locked-indicator{margin-left:6px;height:20px;width:16px}tr.wp-locked .locked-indicator:before{color:#82878c;content:'\f160';display:inline-block;float:left;font:400 20px/1 dashicons;speak:none;vertical-align:middle;margin-left:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}tr.wp-locked .check-column input[type=checkbox],tr.wp-locked .check-column label,tr.wp-locked .row-actions .inline,tr.wp-locked .row-actions .trash{display:none}tr .locked-info{height:0;opacity:0}tr.wp-locked .locked-info{margin-top:8px;height:auto;opacity:1}.locked-text{vertical-align:top}tr.locked-info,tr.wp-locked .locked-info{-webkit-transition:height 1s,opacity .5s;transition:height 1s,opacity .5s}.fixed .column-comments .sorting-indicator{margin-top:3px}#menu-locations-wrap .widefat{width:60%}.widefat th.sortable,.widefat th.sorted{padding:0}th.sortable a,th.sorted a{display:block;padding:7px 7px 8px 10px}.fixed .column-comments.sortable a,.fixed .column-comments.sorted a{padding:8px 0}th.sortable a span,th.sorted a span{float:left;cursor:pointer}th.asc a:focus span.sorting-indicator,th.asc:hover span.sorting-indicator,th.desc a:focus span.sorting-indicator,th.desc:hover span.sorting-indicator,th.sorted .sorting-indicator{display:block}.tablenav-pages a,.tablenav-pages-navspan{font-weight:600;padding:0 2px}.tablenav-pages .current-page{margin:0 2px 0 0;padding-bottom:5px;font-size:13px;text-align:center}.tablenav .total-pages{margin-right:2px}.tablenav #table-paging{margin-left:2px}.tablenav a.button-secondary{display:block;margin:3px 8px 0 0}.tablenav{clear:both;height:30px;margin:6px 0 4px;vertical-align:middle}.tablenav.themes{max-width:98%}.tablenav .tablenav-pages{float:right;height:28px;margin-top:3px;cursor:default;color:#555}.tablenav .no-pages,.tablenav .one-page .pagination-links{display:none}.tablenav .tablenav-pages a,.tablenav-pages span.current{text-decoration:none;padding:3px 6px}.tablenav .tablenav-pages a,.tablenav-pages-navspan{display:inline-block;min-width:17px;border:1px solid #d2d2d2;padding:3px 5px 7px;background:#e4e4e4;font-size:16px;line-height:1;font-weight:400;text-align:center}.tablenav-pages-navspan{height:16px;border-color:#e8e8e8;background:#ebebeb;color:#b4b4b4}.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover{border-color:#5b9dd9;color:#fff;background:#00a0d2;-webkit-box-shadow:none;box-shadow:none;outline:0}.tablenav .displaying-num{margin-right:7px}.tablenav .one-page .displaying-num{display:inline-block;margin-top:5px;margin-right:0}.tablenav .actions{padding:2px 8px 0 0}.wp-filter .actions{display:inline-block;vertical-align:middle}.tablenav .delete{margin-right:20px}.tablenav .dots{border-color:transparent}.tablenav .next,.tablenav .prev{border-color:transparent;color:#0073aa}.tablenav .next:hover,.tablenav .prev:hover{border-color:transparent;color:#00a0d2}.tablenav .view-switch{float:right;margin:0 5px;padding-top:3px}.wp-filter .view-switch{display:inline-block;vertical-align:middle;padding:12px 0;margin:0 8px 0 2px}.media-toolbar.wp-filter .view-switch{margin:0 12px 0 2px}.view-switch a{float:left;width:28px;height:28px;text-align:center;line-height:24px;text-decoration:none}.view-switch a:before{color:#b4b9be;display:inline-block;font:400 20px/1 dashicons;speak:none;vertical-align:middle;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.view-switch a:focus:before,.view-switch a:hover:before{color:#727272}.view-switch a.current:before{color:#0073aa}.view-switch .view-list:before{content:'\f163'}.view-switch .view-excerpt:before{content:'\f164'}.view-switch .view-grid:before{content:'\f509'}.filter{float:left;margin:-5px 0 0 10px}.filter .subsubsub{margin-left:-10px;margin-top:13px}.screen-per-page{width:4em}#posts-filter .wp-filter{margin-bottom:0}#posts-filter fieldset{float:left;margin:0 1.5ex 1em 0;padding:0}#posts-filter fieldset legend{padding:0 0 .2em 1px}.row-actions,.row-actions-visible{padding:2px 0 0}p.pagenav{margin:0;display:inline}.pagenav span{font-weight:600;margin:0 6px}.row-title{font-size:14px!important;font-weight:600}.column-comment .comment-author{margin-bottom:.6em}.column-author img,.column-comment .comment-author img,.column-username img{float:left;margin-right:10px;margin-top:1px}.row-actions{color:#ddd;font-size:13px}.mobile .row-actions,.row-actions.visible,div.comment-item:hover .row-actions,tr:hover .row-actions{visibility:visible}#wpbody-content .inline-edit-row fieldset{font-size:12px;float:left;margin:0;padding:0;width:100%}#wpbody-content .inline-edit-row fieldset .inline-edit-col,tr.inline-edit-row td{padding:0 .5em}#wpbody-content .quick-edit-row-post .inline-edit-col-left{width:40%}#wpbody-content .quick-edit-row-post .inline-edit-col-right{width:39%}#wpbody-content .inline-edit-row-post .inline-edit-col-center{width:20%}#wpbody-content .quick-edit-row-page .inline-edit-col-left{width:50%}#wpbody-content .bulk-edit-row-post .inline-edit-col-right,#wpbody-content .quick-edit-row-page .inline-edit-col-right{width:49%}#wpbody-content .bulk-edit-row .inline-edit-col-left{width:30%}#wpbody-content .bulk-edit-row-page .inline-edit-col-right{width:69%}#wpbody-content .bulk-edit-row .inline-edit-col-bottom{float:right;width:69%}#bulk-titles div a,.inline-edit-row fieldset .inline-edit-date,.plugin-card,.quick-edit-row-post fieldset label.inline-edit-status{float:left}#wpbody-content .inline-edit-row-page .inline-edit-col-right{margin-top:27px}.inline-edit-row fieldset .inline-edit-group{clear:both;line-height:2.5}.inline-edit-row fieldset .inline-edit-group:after{content:".";display:block;height:0;clear:both;visibility:hidden}.inline-edit-row p.submit{clear:both;padding:.5em;margin:.5em 0 0}.inline-edit-row span.error{line-height:22px;margin:0 15px;padding:3px 5px}.inline-edit-row h4{margin:.2em 0;padding:0;line-height:2.5;text-transform:uppercase}.inline-edit-row fieldset span.checkbox-title,.inline-edit-row fieldset span.title{margin:0;padding:0;font-style:italic}.inline-edit-row fieldset label,.inline-edit-row fieldset span.inline-edit-categories-label{display:block;margin:.2em 0;line-height:2.5}.inline-edit-row fieldset.inline-edit-date label{display:inline-block;margin:0;line-height:1.5;vertical-align:baseline}.inline-edit-row fieldset label.inline-edit-tags{margin-top:0}.inline-edit-row fieldset label.inline-edit-tags span.title{margin:.2em 0;width:auto}.inline-edit-row fieldset label span.title,.inline-edit-row fieldset.inline-edit-date legend{display:block;float:left;width:6em;line-height:2.5}#posts-filter fieldset.inline-edit-date legend{padding:0}.inline-edit-row fieldset.inline-edit-date select{margin:1px;line-height:28px}.inline-edit-row fieldset .timestamp-wrap,.inline-edit-row fieldset label span.input-text-wrap{display:block;margin-left:6em}.quick-edit-row-post fieldset.inline-edit-col-right label span.title{width:auto;padding-right:.5em}.inline-edit-row .inline-edit-or{margin:.2em 6px .2em 0;line-height:2.5}.inline-edit-row .input-text-wrap input[type=text]{width:100%}.inline-edit-row fieldset label input[type=checkbox]{vertical-align:middle}.inline-edit-row fieldset label textarea{width:100%;height:4em;vertical-align:top}#bulk-titles,ul.cat-checklist{height:12em;border:1px solid #ddd;overflow-y:scroll;padding:0 5px}#wpbody-content .bulk-edit-row fieldset .inline-edit-group label{max-width:50%}#wpbody-content .quick-edit-row fieldset .inline-edit-group label.alignleft:first-child{margin-right:.5em}.inline-edit-col-right .input-text-wrap input.inline-edit-menu-order-input{width:6em}.inline-edit-row fieldset input[name=hh],.inline-edit-row fieldset input[name=jj],.inline-edit-row fieldset input[name=mn]{font-size:12px;width:2.3em}.inline-edit-row fieldset input[name=aa]{font-size:12px;width:3.5em}.inline-edit-row fieldset label input.inline-edit-password-input{width:8em}ul.cat-checklist{margin:0;background-color:#fff}#bulk-titles{display:block;margin:0 0 5px;line-height:140%}.inline-edit-row fieldset ul.cat-checklist input,.inline-edit-row fieldset ul.cat-checklist li{margin:0;position:relative}.inline-edit-row #bulk-titles div,.inline-edit-row fieldset ul.cat-checklist label{font-style:normal;font-size:11px}.inline-edit-row fieldset label input.inline-edit-menu-order-input{width:3em}.inline-edit-row fieldset label input.inline-edit-slug-input{width:75%}.inline-edit-row #post_parent,.inline-edit-row select[name=page_template]{max-width:80%}.ie8 .inline-edit-row #post_parent,.ie8 .inline-edit-row select[name=page_template]{width:250px}#bulk-titles div{margin:.2em .3em}#bulk-titles div a{cursor:pointer;display:block;height:18px;margin:0 3px 0 -2px;overflow:hidden;position:relative;width:20px}#bulk-titles div a:before{position:relative;top:-3px}.plugins tbody,.plugins tbody th.check-column{padding:8px 0 0 2px}.plugins tbody th.check-column input[type=checkbox]{margin-top:4px}#update-plugins-table tbody td p{margin-top:0}#update-plugins-table tbody td p strong{font-size:14px}.plugins .inactive th.check-column,.plugins tfoot td.check-column,.plugins thead td.check-column{padding-left:6px}#update-plugins-table tfoot td.check-column,#update-plugins-table thead td.check-column{padding-top:11px}.plugins,.plugins td,.plugins th{color:#000}.plugins tr{background:#fff}.plugins p{margin:0 4px;padding:0}.plugins .desc p{margin:0 0 8px}.plugins td.desc{line-height:1.5em}.plugins .desc ol,.plugins .desc ul{margin:0 0 0 2em}.plugins .desc ul{list-style-type:disc}.plugins .row-actions{font-size:13px}.plugins .active td,.plugins .active th,.plugins .inactive td,.plugins .inactive th{padding:10px 9px}.plugins .active td,.plugins .active th{background-color:#f7fcfe}.plugins .update td,.plugins .update th{border-bottom:0}.plugin-update-tr td{border-top:0}.plugin-install #the-list td,.plugins .active td,.plugins .active th,.plugins .inactive td,.plugins .inactive th,.upgrade .plugins td,.upgrade .plugins th{-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}.plugins tr.active+tr.inactive td,.plugins tr.active+tr.inactive th,.plugins tr.active.plugin-update-tr+tr.inactive td,.plugins tr.active.plugin-update-tr+tr.inactive th{border-top:1px solid rgba(0,0,0,.03);-webkit-box-shadow:inset 0 1px 0 rgba(0,0,0,.02),inset 0 -1px 0 #e1e1e1;box-shadow:inset 0 1px 0 rgba(0,0,0,.02),inset 0 -1px 0 #e1e1e1}.plugins .update td,.plugins .update th,.plugins .updated td,.plugins .updated th,.plugins tr.active+tr.inactive.update td,.plugins tr.active+tr.inactive.update th,.plugins tr.active+tr.inactive.updated td,.plugins tr.active+tr.inactive.updated th,.upgrade .plugins tr:last-of-type td,.upgrade .plugins tr:last-of-type th{-webkit-box-shadow:none;box-shadow:none}.plugins .active.update td,.plugins .active.update th,tr.active.update+tr.plugin-update-tr .plugin-update{background-color:#fef7f1}.plugin-update-tr.active td,.plugins .active th.check-column{border-left:4px solid #00a0d2}.plugins .active.update th.check-column,.plugins .active.update+.plugin-update-tr .plugin-update{border-left:4px solid #d54e21}#wpbody-content .plugins .plugin-title,#wpbody-content .plugins .theme-title{padding-right:12px;white-space:nowrap}.plugins .inactive .plugin-title strong{font-weight:400}.plugins .row-actions,.plugins .second{padding:0 0 5px}.plugins .update .row-actions,.plugins .update .second,.plugins .updated .row-actions,.plugins .updated .second{padding-bottom:0}.plugins-php .widefat tfoot td,.plugins-php .widefat tfoot th{border-top-style:solid;border-top-width:1px}.plugin-update-tr .update-message{font-size:13px;font-weight:400;margin:0 10px 8px 31px;padding:6px 12px 8px 40px;background-color:#f7f7f7;background-color:rgba(0,0,0,.03)}.plugin-card .install-now:before,.plugin-card .update-now:before,.plugin-update-tr .update-message:before{color:#d54e21;display:inline-block;font:400 20px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:top}.plugin-card .update-now:before,.plugin-update-tr .update-message:before{content:'\f463'}.plugin-update-tr .update-message:before{margin:0 10px 0 -30px}.plugin-card .install-now:before,.plugin-card .update-now:before{margin:3px 5px 0 -2px}.plugin-card .updating-message:before,.plugin-update-tr .updating-message:before{content:'\f463';-webkit-animation:rotation 2s infinite linear;animation:rotation 2s infinite linear}@-webkit-keyframes rotation{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes rotation{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.plugin-card .updated-message:before,.plugin-update-tr .updated-message:before{color:#79ba49;content:'\f147'}.wp-list-table.plugins tbody tr.plugin-update-tr td.plugin-update{overflow:hidden;padding:0;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}tr.active+tr.plugin-update-tr .plugin-update{background-color:#f7fcfe}tr.active+tr.plugin-update-tr:not(.updated) .plugin-update .update-message{background-color:#fcf3ef}.plugin-install-php h3{clear:both}.plugin-install-php h4{margin:2.5em 0 8px}.plugin-install-php .wp-filter{margin-bottom:0}.plugin-group{overflow:hidden;margin-top:1.5em}.plugin-group h3{margin-top:0}.plugin-card{margin:0 8px 16px;width:48.5%;width:-webkit-calc(50% - 8px);width:calc(50% - 8px);background-color:#fff;border:1px solid #dedede;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.plugin-card:nth-child(odd){clear:both;margin-left:0}.plugin-card:nth-child(even){margin-right:0}@media screen and (min-width:1600px){.plugin-card{width:30%;width:-webkit-calc(33.1% - 8px);width:calc(33.1% - 8px)}.plugin-card:nth-child(odd){clear:none;margin-left:8px}.plugin-card:nth-child(even){margin-right:8px}.plugin-card:nth-child(3n+1){clear:both;margin-left:0}.plugin-card:nth-child(3n){margin-right:0}}.plugin-card-top{position:relative;padding:20px 20px 10px;min-height:135px}.plugin-action-buttons,div.action-links{margin:0}.plugin-card h4{margin:0 0 12px;font-size:18px;line-height:1.3}.plugin-card .desc,.plugin-card .name{margin-left:148px;margin-right:120px}.plugin-card .action-links{position:absolute;top:20px;right:20px;width:120px}.plugin-action-buttons{clear:right;float:right;margin-left:2em;margin-bottom:1em;text-align:right}.plugin-action-buttons li{margin-bottom:10px}.plugin-card-bottom{clear:both;padding:12px 20px;background-color:#fafafa;border-top:1px solid #dedede;overflow:hidden}.plugin-card-bottom .star-rating{display:inline}.plugin-card .column-rating{line-height:23px}.plugin-card .column-rating,.plugin-card .column-updated{margin-bottom:4px}.plugin-card .column-downloaded,.plugin-card .column-rating{float:left;clear:left;max-width:180px}.plugin-card .column-compatibility,.plugin-card .column-updated{text-align:right;float:right;clear:right;width:65%;width:-webkit-calc(100% - 180px);width:calc(100% - 180px)}.plugin-icon,.plugin-icon img{width:128px;height:128px}.plugin-card .column-compatibility span:before{font:400 20px/.5 dashicons;speak:none;display:inline-block;padding:0;top:4px;left:-2px;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#444}.plugin-card .compatibility-incompatible:before{content:'\f158'}.plugin-card .compatibility-compatible:before{content:'\f147'}.plugin-icon{position:absolute;top:20px;left:20px;margin:0 20px 20px 0}.no-plugin-results{color:#999;font-size:18px;font-style:normal;margin:0;padding:100px 0 0;text-align:center}.wp-list-table tr.site-deleted{background:#ff8573}.wp-list-table tr.site-spammed{background:#faafaa}.wp-list-table tr.site-archived{background:#ffebe8}.wp-list-table tr.site-mature{background:#fecac2}.sites.fixed .column-lastupdated,.sites.fixed .column-registered{width:20%}.sites.fixed .column-users{width:80px}@media screen and (max-width:1100px) and (min-width:782px),(max-width:480px){.plugin-card .action-links{position:static;margin-left:148px;width:auto}.plugin-action-buttons{float:none;margin:1em 0 0;text-align:left}.plugin-action-buttons li{display:inline-block;vertical-align:middle}.plugin-action-buttons li .button{margin-right:20px}.plugin-card .desc,.plugin-card .name{margin-right:0}.plugin-card .desc p:first-of-type{margin-top:0}}@media screen and (max-width:782px){.plugins #the-list tr td,.plugins tr.active+tr.inactive td,.plugins tr.active+tr.inactive th.check-column{border-top:none}.tablenav{height:auto}.tablenav.top{margin:20px 0 5px}.tablenav.bottom{position:relative;margin-top:15px}.tablenav br{display:none}.tablenav br.clear{display:block}.form-wrap>p,.tablenav .view-switch,.tablenav.top .actions,.tablenav.top .displaying-num,.tablenav.top .tablenav-pages.one-page,.wp-list-table th.column-primary~th,.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-primary~td:not(.check-column){display:none}.view-switch a{width:36px;height:36px;line-height:33px}.tablenav.bottom .displaying-num{position:absolute;right:0;top:11px;margin:0;font-size:14px}.tablenav .tablenav-pages{width:100%;height:auto;text-align:center;margin:0 0 25px}.tablenav.bottom .tablenav-pages{margin-top:25px}.tablenav.bottom .tablenav-pages.one-page{margin:15px 0 0;height:0}.tablenav-pages .pagination-links{font-size:16px}.tablenav-pages .pagination-links a,.tablenav-pages-navspan{padding:9px 16px 12px;font-size:18px}.tablenav-pages-navspan{height:18px}.tablenav-pages .pagination-links .current-page{padding:8px 9px 9px;font-size:16px}.comment-count{font-size:14px}.wp-list-table thead th.column-primary{width:100%}.wp-list-table tr th.check-column{display:table-cell;width:35px}.wp-list-table .column-primary .toggle-row{display:block}.wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.check-column){position:relative;clear:both;display:block;width:auto!important}.wp-list-table td.column-primary{padding-right:50px}.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-primary~td:not(.check-column){padding:3px 8px 3px 35%}.wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.column-primary)::before{position:absolute;left:10px;display:block;overflow:hidden;width:32%;content:attr(data-colname);white-space:nowrap;text-overflow:ellipsis}.wp-list-table .is-expanded td:not(.hidden){display:block!important;overflow:hidden}.column-posts,.widefat .num{text-align:left}#comments-form .fixed .column-author,#commentsdiv .fixed .column-author{display:none!important}.fixed .column-comment .comment-author{display:block}#the-comment-list .is-expanded td{-webkit-box-shadow:none;box-shadow:none}#the-comment-list .is-expanded td:last-child{-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}.post-com-count .screen-reader-text{position:static;width:auto;height:auto;margin:0}.column-comments .post-com-count-approved:after,.column-comments .post-com-count-no-comments:after,.column-response .post-com-count-approved:after,.column-response .post-com-count-no-comments:after{content:none}.column-comments .post-com-count [aria-hidden=true],.column-response .post-com-count [aria-hidden=true]{display:none}#edithead label,.column-comments .post-com-count-wrapper>a,.column-response .post-com-count-wrapper>a{display:block}.column-comments .post-com-count-wrapper,.column-response .post-com-count-wrapper{white-space:normal}.column-comments .post-com-count-approved,.column-comments .post-com-count-no-comments,.column-response .post-com-count-approved,.column-response .post-com-count-no-comments{margin-top:0;margin-right:.5em}.column-comments .post-com-count-pending,.column-response .post-com-count-pending{position:static;height:auto;min-width:0;padding:0;border:none;-webkit-border-radius:0;border-radius:0;background:0 0;color:#bb2a2a;font-size:inherit;line-height:inherit;text-align:left}.column-comments .post-com-count-pending:hover,.column-response .post-com-count-pending:hover{color:#dc3232}.widefat tfoot .check-column,.widefat thead .check-column{padding:10px 0}.widefat *{word-wrap:normal}#wpbody-content .bulk-edit-row .inline-edit-col-bottom,#wpbody-content .bulk-edit-row .inline-edit-col-left,#wpbody-content .bulk-edit-row-page .inline-edit-col-right,#wpbody-content .bulk-edit-row-post .inline-edit-col-right,#wpbody-content .inline-edit-row-post .inline-edit-col-center,#wpbody-content .quick-edit-row-page .inline-edit-col-left,#wpbody-content .quick-edit-row-page .inline-edit-col-right,#wpbody-content .quick-edit-row-post .inline-edit-col-left,#wpbody-content .quick-edit-row-post .inline-edit-col-right{float:none;width:100%}#wpbody-content .bulk-edit-row fieldset .inline-edit-col label,#wpbody-content .bulk-edit-row fieldset .inline-edit-group label,#wpbody-content .quick-edit-row fieldset .inline-edit-col label,#wpbody-content .quick-edit-row fieldset .inline-edit-group label{max-width:none;float:none;margin-bottom:5px}#wpbody .bulk-edit-row fieldset select{display:block;width:100%;max-width:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.inline-edit-row #bulk-titles div,.inline-edit-row fieldset ul.cat-checklist label{font-size:16px}.wp-list-table.plugins .plugin-title strong,.wp-list-table.plugins .theme-title strong,table.plugin-install td.column-name strong{font-size:1.4em;line-height:1.6em}.inline-edit-row fieldset label span.title,.inline-edit-row fieldset.inline-edit-date legend{float:none}.inline-edit-row fieldset label.inline-edit-tags{padding:0 .5em}.inline-edit-row fieldset .inline-edit-col label.inline-edit-tags{padding:0}.inline-edit-row fieldset .timestamp-wrap,.inline-edit-row fieldset label span.input-text-wrap{margin-left:0}.inline-edit-row fieldset input[name=hh],.inline-edit-row fieldset input[name=jj],.inline-edit-row fieldset input[name=mn]{width:3em}.inline-edit-row fieldset input[name=aa]{width:4.5em}.inline-edit-row .inline-edit-or{margin:0 6px 0 0}#commentsdiv #edithead .inside,#edithead .inside{float:none;text-align:left;padding:3px 5px}#commentsdiv #edithead .inside input,#edithead .inside input{width:100%}#bulk-titles div{margin:.8em .3em}.plugin-card,.plugin-update-tr .update-message{margin-left:0}#bulk-titles div a{height:22px}#wpbody-content #update-themes-table .plugin-title{width:auto}.link-manager-php #posts-filter{margin-top:25px}.link-manager-php .tablenav.bottom{overflow:hidden}.comments-box .toggle-row,.wp-list-table.plugins .toggle-row{display:none}#wpbody-content .wp-list-table.plugins td{display:block;width:auto;padding:10px 9px}#wpbody-content .wp-list-table.plugins .column-description{padding-top:2px}.wp-list-table.plugins .plugin-title,.wp-list-table.plugins .theme-title{padding-top:13px;padding-bottom:4px}.plugins #the-list .update td,.plugins #the-list .update th,.plugins #the-list tr>td:not(:last-child),.wp-list-table.plugins #the-list .theme-title{-webkit-box-shadow:none;box-shadow:none;border-top:none}.plugins tbody{padding:1px 0 0}.plugins .plugin-update-tr:before,.plugins tr.active+tr.inactive td.column-description,.plugins tr.active+tr.inactive th.check-column{-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}.plugins .plugin-update-tr:before{content:'';display:table-cell}.plugins .active.update+.plugin-update-tr:before{border-left:4px solid #d54e21;background-color:#fef7f1}.plugins #the-list .plugin-update-tr .plugin-update{border-left:none}table.plugin-install .column-description,table.plugin-install .column-name,table.plugin-install .column-rating,table.plugin-install .column-version{display:block;width:auto}table.plugin-install th.column-description,table.plugin-install th.column-name,table.plugin-install th.column-rating,table.plugin-install th.column-version{display:none}table.plugin-install #the-list td{-webkit-box-shadow:none;box-shadow:none}table.plugin-install #the-list tr{display:block;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}.plugin-card{margin-right:0;width:100%}}#save-action .spinner,#show-comments .spinner,#show-comments a,.postarea h3 label{float:left}#poststuff{padding-top:10px;min-width:763px}#poststuff #post-body{padding:0}#poststuff .postbox-container{width:100%}#poststuff #post-body.columns-2{margin-right:300px}#show-comments{overflow:hidden}#lost-connection-notice .spinner{visibility:visible;float:left;margin:0 5px 0 0}#titlediv{position:relative}#titlediv label{cursor:text}#titlediv div.inside{margin:0}#poststuff #titlewrap{border:0;padding:0}#titlediv #title{padding:3px 8px;font-size:1.7em;line-height:100%;height:1.7em;width:100%;outline:0;margin:0 0 3px;background-color:#fff}#titlediv #title-prompt-text{color:#777;position:absolute;font-size:1.7em;padding:11px 10px}#wp-content-editor-container,.postbox,form#tags-filter{position:relative}#poststuff .inside-submitbox,#side-sortables .inside-submitbox{margin:0 3px;font-size:11px}input#link_description,input#link_url{width:98%}#pending{background:0 none;border:0;padding:0;font-size:11px;margin-top:-1px}#edit-slug-box{line-height:24px;min-height:25px;margin-top:5px;padding:0 10px;color:#666}#edit-slug-box .cancel{margin-right:10px;font-size:11px}#editable-post-name-full{display:none}#editable-post-name{background-color:#fffbcc}#editable-post-name input{font-size:13px;height:22px;margin:0;width:16em}.submitbox .submit{text-align:left;padding:12px 10px 10px;font-size:11px;background-color:#464646;color:#ccc}.submitbox .submitdelete{text-decoration:none;padding:1px 2px}#normal-sortables .submitbox .submitdelete:hover{color:#000;background-color:red;border-bottom-color:red}.submitbox .submit a:hover{text-decoration:underline}.submitbox .submit input{margin-bottom:8px;margin-right:4px;padding:6px}.inside-submitbox #post_status{margin:2px 0 2px -2px}#post-status-select{margin-top:3px}#post-body #normal-sortables{min-height:50px}.postbox{min-width:255px;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,.04);background:#fff}#post-status-info,.postbox{-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04)}#trackback_url{width:99%}#normal-sortables .postbox .submit{background:0 0;border:0;float:right;padding:0 12px;margin:0}.category-add input[type=text],.category-add select{width:100%;max-width:260px;vertical-align:baseline}#side-sortables .category-add input[type=text],#side-sortables .category-add select{margin:0 0 1em}#side-sortables .add-menu-item-tabs li,.wp-tab-bar li,ul.category-tabs li{display:inline;line-height:1.35em}.no-js .category-tabs li.hide-if-no-js,.ui-tabs-hide,.wp-editor-expand #content-resize-handle,.wp-hidden-children .wp-hidden-child{display:none}#side-sortables .add-menu-item-tabs a,.category-tabs a,.wp-tab-bar a{text-decoration:none}#post-body ul.add-menu-item-tabs li.tabs a,#post-body ul.category-tabs li.tabs a,#side-sortables .add-menu-item-tabs .tabs a,#side-sortables .category-tabs .tabs a,.wp-tab-bar .wp-tab-active a{color:#32373c}.category-tabs{margin:8px 0 5px}#category-adder h4{margin:10px 0}#side-sortables .add-menu-item-tabs,.wp-tab-bar{margin-bottom:3px}#normal-sortables .postbox #replyrow .submit{float:none;margin:0;padding:0 7px 5px}#side-sortables .submitbox .submit .preview,#side-sortables .submitbox .submit a.preview:hover,#side-sortables .submitbox .submit input{border:0}#side-sortables .inside-submitbox .insidebox,.stuffbox .insidebox{margin:11px 0}ul.add-menu-item-tabs,ul.category-tabs,ul.wp-tab-bar{margin-top:12px}ul.add-menu-item-tabs li,ul.category-tabs li{border:1px solid transparent;position:relative}.wp-tab-active,ul.add-menu-item-tabs li.tabs,ul.category-tabs li.tabs{border:1px solid #dfdfdf;border-bottom-color:#fdfdfd;background-color:#fdfdfd}ul.add-menu-item-tabs li,ul.category-tabs li,ul.wp-tab-bar li{padding:3px 5px 5px}#postimagediv .inside img{max-width:100%;height:auto;width:auto}#post-body .tagsdiv #newtag{margin-right:5px;width:16em}#side-sortables input#post_password{width:94%}#side-sortables .tagsdiv #newtag{width:68%}#post-status-info{width:100%;border-spacing:0;border:1px solid #e5e5e5;border-top:none;background-color:#f7f7f7;box-shadow:0 1px 1px rgba(0,0,0,.04);z-index:999}#post-status-info td{font-size:12px}.autosave-info{padding:2px 10px;text-align:right}#editorcontent #post-status-info{border:none}#content-resize-handle{background:url(../images/resize.gif) right bottom no-repeat;width:12px;cursor:row-resize}.rtl #content-resize-handle{background:url(../images/resize-rtl.gif) left bottom no-repeat}#postdivrich #content{resize:none}#wp-word-count{display:block;padding:2px 10px}#content-textarea-clone{z-index:-1;position:absolute;top:0;visibility:hidden;overflow:hidden;max-width:100%;border:1px solid transparent}.wp-editor-expand #wp-content-editor-tools{z-index:1000;border-bottom:1px solid #e5e5e5}.wp-editor-expand #wp-content-editor-container{-webkit-box-shadow:none;box-shadow:none;margin-top:-1px;border-bottom:0 none}.wp-editor-expand div.mce-statusbar{z-index:1}.wp-editor-expand #post-status-info{border-top:1px solid #e5e5e5}.wp-editor-expand div.mce-toolbar-grp{z-index:999}.mce-fullscreen #wp-content-wrap .mce-edit-area,.mce-fullscreen #wp-content-wrap .mce-menubar,.mce-fullscreen #wp-content-wrap .mce-statusbar,.mce-fullscreen #wp-content-wrap .mce-toolbar-grp{position:static!important;width:auto!important;padding:0!important}.mce-fullscreen #wp-content-wrap .mce-statusbar{visibility:visible!important}.mce-fullscreen #wp-content-wrap .mce-tinymce .mce-wp-dfw,.mce-fullscreen #wp-content-wrap .mce-wp-dfw,.post-php.mce-fullscreen #wpadminbar{display:none}#wp-content-editor-tools{background-color:#f1f1f1;padding-top:20px}#poststuff #post-body.columns-2 #side-sortables{width:280px}#timestampdiv select{height:21px;line-height:14px;padding:0;vertical-align:top;font-size:12px}#aa,#hh,#jj,#mn{padding:1px;font-size:12px}#hh,#jj,#mn{width:2em}#aa{width:3.4em}.curtime #timestamp{padding:2px 0 1px;display:inline!important;height:auto!important}#misc-publishing-actions label[for=post_status]:before,#post-body #visibility:before,#post-body .misc-pub-revisions:before,.curtime #timestamp:before,span.wp-media-buttons-icon:before{color:#82878c}#post-body #visibility:before,#post-body .misc-pub-revisions:before,.curtime #timestamp:before{font:400 20px/1 dashicons;speak:none;display:inline-block;padding:0 2px 0 0;top:0;left:-1px;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}#post-body #visibility:before{content:'\f177'}.curtime #timestamp:before{content:'\f145';top:-1px}#post-body .misc-pub-revisions:before{content:'\f321'}#timestampdiv{padding-top:5px;line-height:23px}#timestampdiv p{margin:8px 0 6px}#timestampdiv input{border-width:1px;border-style:solid}.notification-dialog{position:fixed;top:30%;max-height:70%;left:50%;width:450px;margin-left:-225px;background:#fff;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.3);box-shadow:0 3px 6px rgba(0,0,0,.3);line-height:1.5;z-index:1000005;overflow-y:auto}.notification-dialog-background{position:fixed;top:0;left:0;right:0;bottom:0;background:#000;opacity:.7;filter:alpha(opacity=70);z-index:1000000}#post-lock-dialog .post-locked-message,#post-lock-dialog .post-taken-over{margin:25px}#post-lock-dialog .post-locked-message a.button{margin-right:10px}#post-lock-dialog .post-locked-avatar{float:left;margin:0 20px 20px 0}#post-lock-dialog .wp-tab-first{outline:0}#post-lock-dialog .locked-saving img{float:left;margin-right:3px}#post-lock-dialog.saved .locked-saved,#post-lock-dialog.saving .locked-saving{display:inline}#excerpt{display:block;margin:12px 0 0;height:4em;width:100%}.tagchecklist{margin-left:14px;font-size:12px;overflow:auto}.tagchecklist br{display:none}.tagchecklist span,.tagchecklist span a{overflow:hidden;display:block;float:left}.tagchecklist strong{margin-left:-8px;position:absolute}.tagchecklist span{margin-right:25px;font-size:13px;line-height:1.8em;cursor:default;max-width:100%;text-overflow:ellipsis}.tagchecklist span a{margin:1px 0 0 -17px;cursor:pointer;width:20px;height:20px;text-indent:0;position:absolute}#poststuff h2{margin-top:20px;font-size:1.5em;margin-bottom:15px;padding:0 0 3px;clear:left}#poststuff h3{font-size:14px;padding:8px 12px;margin:0;line-height:1.4}#poststuff .inside{margin:6px 0 0}#poststuff .inside #page_template,#poststuff .inside #parent_id{max-width:100%}#poststuff .inside label.deleted,#poststuff .inside label.spam{color:red}#poststuff .inside label.waiting{color:orange}#poststuff .inside label.approved{color:green}.ie8 #poststuff .inside #page_template,.ie8 #poststuff .inside #parent_id{width:250px}#post-visibility-select{line-height:1.5em;margin-top:3px}#poststuff #submitdiv .inside{margin:0;padding:0}#post-body-content,.edit-form-section{margin-bottom:20px}#postcustomstuff thead th{padding:5px 8px 8px;background-color:#f1f1f1}#postcustom #postcustomstuff .submit{border:0;float:none;padding:0 8px 8px}#side-sortables #postcustom #postcustomstuff .submit{margin:0;padding:0}#side-sortables #postcustom #postcustomstuff #the-list textarea{height:85px}#side-sortables #postcustom #postcustomstuff td.left input,#side-sortables #postcustom #postcustomstuff td.left select,#side-sortables #postcustomstuff #newmetaleft a{margin:3px 3px 0}#postcustomstuff table{margin:0;width:100%;border:1px solid #dfdfdf;border-spacing:0;background-color:#f9f9f9}#postcustomstuff tr{vertical-align:top}#postcustomstuff table input,#postcustomstuff table select,#postcustomstuff table textarea{width:96%;margin:8px}#side-sortables #postcustomstuff table input,#side-sortables #postcustomstuff table select,#side-sortables #postcustomstuff table textarea{margin:3px}#postcustomstuff td.left,#postcustomstuff th.left{width:38%}#postcustomstuff .submit input{margin:0;width:auto}#postcustomstuff #newmetaleft a{display:inline-block;margin:0 8px 8px;text-decoration:none}.no-js #postcustomstuff #enternew{display:none}#post-body-content .compat-attachment-fields{margin-bottom:20px}.compat-attachment-fields th{padding-top:5px;padding-right:10px}#select-featured-image{padding:4px 0;overflow:hidden}#select-featured-image img{max-width:100%;height:auto;margin-bottom:10px}#select-featured-image a{float:left;clear:both}#select-featured-image .remove{display:none;margin-top:10px}.js #select-featured-image.has-featured-image .remove{display:inline-block}.no-js #select-featured-image .choose{display:none}.post-state-format{overflow:hidden;display:inline-block;vertical-align:middle;height:20px;width:20px;margin-right:5px;margin-top:-4px}.post-state-format:before{display:block;height:20px;width:20px;font:400 20px/1 dashicons!important;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.post-format-icon:before,.post-state-format:before{color:#ddd;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}a.post-format-icon:hover:before,a.post-state-format:hover:before{color:#00a0d2}#post-formats-select{line-height:2em}#post-formats-select .post-format-icon:before{top:5px}input.post-format{margin-top:1px}label.post-format-icon{margin-left:0;padding:2px 0}.post-format-icon:before{position:relative;display:inline-block;margin-right:7px;font:400 20px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.post-format-icon.post-format-standard:before,.post-state-format.post-format-standard:before,a.post-state-format.format-standard:before{content:'\f109'}.post-format-icon.post-format-image:before,.post-state-format.post-format-image:before,a.post-state-format.format-image:before{content:'\f128'}.post-format-icon.post-format-gallery:before,.post-state-format.post-format-gallery:before,a.post-state-format.format-gallery:before{content:'\f161'}.post-format-icon.post-format-audio:before,.post-state-format.post-format-audio:before,a.post-state-format.format-audio:before{content:'\f127'}.post-format-icon.post-format-video:before,.post-state-format.post-format-video:before,a.post-state-format.format-video:before{content:'\f126'}.post-format-icon.post-format-chat:before,.post-state-format.post-format-chat:before,a.post-state-format.format-chat:before{content:'\f125'}.post-format-icon.post-format-status:before,.post-state-format.post-format-status:before,a.post-state-format.format-status:before{content:'\f130'}.post-format-icon.post-format-aside:before,.post-state-format.post-format-aside:before,a.post-state-format.format-aside:before{content:'\f123'}.post-format-icon.post-format-quote:before,.post-state-format.post-format-quote:before,a.post-state-format.format-quote:before{content:'\f122'}.post-format-icon.post-format-link:before,.post-state-format.post-format-link:before,a.post-state-format.format-link:before{content:'\f103'}.category-adder{margin-left:120px;padding:4px 0}.category-adder h4{margin:0 0 8px}#side-sortables .category-adder{margin:0}.categorydiv div.tabs-panel,.customlinkdiv div.tabs-panel,.posttypediv div.tabs-panel,.taxonomydiv div.tabs-panel,.wp-tab-panel{min-height:42px;max-height:200px;overflow:auto;padding:0 .9em;border:1px solid #dfdfdf;background-color:#fdfdfd}.ac_results,.revisions-diff,.revisions-meta,.revisions-tickmarks{background-color:#fff}div.tabs-panel-active{display:block}div.tabs-panel-inactive{display:none}#front-page-warning,#front-static-pages ul,.categorydiv ul.categorychecklist ul,.customlinkdiv ul.categorychecklist ul,.inline-editor ul.cat-checklist ul,.posttypediv ul.categorychecklist ul,.taxonomydiv ul.categorychecklist ul,ul.export-filters{margin-left:18px}ul.categorychecklist li{margin:0;padding:0;line-height:22px;word-wrap:break-word}.categorydiv .tabs-panel,.customlinkdiv .tabs-panel,.posttypediv .tabs-panel,.taxonomydiv .tabs-panel{border-width:3px;border-style:solid}.form-wrap label{display:block;padding:2px;font-size:12px}.form-field input[type=text],.form-field input[type=password],.form-field input[type=email],.form-field input[type=number],.form-field input[type=tel],.form-field input[type=url],.form-field input[type=search],.form-field textarea{border-style:solid;border-width:1px;width:95%}.form-wrap p,p.description{margin:2px 0 5px;color:#666}.form-wrap p,p.description,p.help,span.description{font-size:13px;font-style:italic}.form-wrap .form-field{margin:0 0 10px;padding:8px 0}.form-wrap .form-field #parent{max-width:100%}.col-wrap h3{margin:12px 0;font-size:1.1em}.col-wrap p.submit{margin-top:-10px}#poststuff .tagsdiv .howto{margin:0 0 6px}.ajaxtag .newtag{position:relative}.tagsdiv .newtag{width:180px}.tagsdiv .the-tags{display:block;height:60px;margin:0 auto;overflow:auto;width:260px}#qt_content_dfw,#wp-content-wrap .mce-wp-dfw,.ac_results{display:none}#post-body-content .tagsdiv .the-tags{margin:0 5px}p.popular-tags{border:none;line-height:2em;padding:8px 12px 12px;text-align:justify}p.popular-tags a{padding:0 3px}.tagcloud{width:97%;margin:0 0 40px;text-align:justify}.tagcloud h3{margin:2px 0 12px}.ac_results{padding:0;margin:0;list-style:none;position:absolute;z-index:10000;border:1px solid grey}.wp-customizer .ac_results{z-index:500000}.ac_results li{padding:2px 5px;white-space:nowrap;color:#101010;text-align:left}.ac_over{background-color:#f0f0b8;cursor:pointer}.ac_match{text-decoration:underline}.imgedit-group-top h3 a,a.imgedit-help-toggle,table.diff .diff-addedline ins,table.diff .diff-deletedline del{text-decoration:none}.comment-php .wp-editor-area{height:200px}.comment-ays td,.comment-ays th{padding:10px 15px}#comment-status-radio label,.links-table td,.links-table th{padding:5px 0}.comment-ays-submit .button-cancel{margin-left:1em}.spam-undo-inside,.trash-undo-inside{margin:1px 8px 1px 0;line-height:16px}.spam-undo-inside .avatar,.trash-undo-inside .avatar{height:20px;width:20px;margin-right:8px;vertical-align:middle}.stuffbox .editcomment{clear:none}#comment-status-radio p{margin:3px 0 5px}#comment-status-radio input{margin:2px 3px 5px 0;vertical-align:middle}table.links-table{width:100%;border-spacing:0}.links-table th{font-weight:400;text-align:left;vertical-align:top;min-width:80px;width:20%;word-wrap:break-word}.links-table td label{margin-right:8px}.links-table td input[type=text],.links-table td textarea{width:100%}.links-table #link_rel{max-width:280px}.wp-editor-expand #qt_content_dfw,.wp-editor-expand #wp-content-wrap .mce-wp-dfw{display:inline-block}.focus-on #screen-meta,.focus-on #screen-meta-links,.focus-on #wp-toolbar,.focus-on #wpfooter,.focus-on .postbox-container>*,.focus-on .update-nag,.focus-on .wrap>h1,.focus-on div.error,.focus-on div.notice,.focus-on div.updated{opacity:0;-webkit-transition-duration:.6s;transition-duration:.6s;-webkit-transition-property:opacity;transition-property:opacity;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}.focus-on #wp-toolbar{opacity:.3}.focus-off #screen-meta,.focus-off #screen-meta-links,.focus-off #wp-toolbar,.focus-off #wpfooter,.focus-off .postbox-container>*,.focus-off .update-nag,.focus-off .wrap>h1,.focus-off div.error,.focus-off div.notice,.focus-off div.updated{opacity:1;-webkit-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:opacity;transition-property:opacity;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}.focus-off #wp-toolbar{-webkit-transform:translate(0,0)}.focus-on #adminmenuback,.focus-on #adminmenuwrap{-webkit-transition-duration:.6s;transition-duration:.6s;-webkit-transition-property:-webkit-transform;transition-property:transform;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transform:translateX(-100%);-ms-transform:translateX(-100%);transform:translateX(-100%)}.focus-off #adminmenuback,.focus-off #adminmenuwrap{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);-webkit-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:-webkit-transform;transition-property:transform;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){#content-resize-handle,#post-body .wp_themeSkin .mceStatusbar a.mceResize{background:url(../images/resize-2x.gif) right bottom no-repeat;-webkit-background-size:11px 11px;background-size:11px 11px}.rtl #content-resize-handle,.rtl #post-body .wp_themeSkin .mceStatusbar a.mceResize{background:url(../images/resize-rtl-2x.gif) right bottom no-repeat}}@media only screen and (max-width:850px){#poststuff{min-width:0}#wpbody-content #poststuff #post-body{margin:0}#wpbody-content #post-body.columns-2 #postbox-container-1{margin-right:0;width:100%}#poststuff #postbox-container-1 #side-sortables:empty,#poststuff #postbox-container-1 .empty-container{border:0;height:0;min-height:0}#poststuff #post-body.columns-2 #side-sortables{min-height:0;width:auto}.columns-prefs,.screen-layout{display:none}}@media screen and (max-width:782px){#post-body-content{min-width:0}#titlediv #title-prompt-text{padding:10px}#poststuff h3{padding:12px}.post-format-options{padding-right:0}.post-format-options a{margin-right:5px;margin-bottom:5px;min-width:52px}.post-format-options .post-format-title{font-size:11px}.post-format-options a div{height:28px;width:28px}.post-format-options a div:before{font-size:26px!important}#post-visibility-select{line-height:280%}.wp-core-ui .save-post-visibility,.wp-core-ui .save-timestamp{vertical-align:middle;margin-right:15px}.timestamp-wrap select#mm{display:block;width:100%;margin-bottom:10px}.timestamp-wrap #aa,.timestamp-wrap #hh,.timestamp-wrap #jj,.timestamp-wrap #mn{padding:12px 3px;font-size:14px;margin-bottom:5px;width:auto;text-align:center}ul.category-tabs{margin:30px 0 15px}.tagsdiv .newtag,ul.categorychecklist li{margin-bottom:15px}ul.category-tabs li.tabs{padding:15px}ul.categorychecklist ul{margin-top:15px}.category-add input[type=text],.category-add select{max-width:none;margin-bottom:15px}.tagsdiv .newtag{width:100%;height:auto}.tagchecklist{margin:25px 10px}.tagchecklist span{font-size:16px;line-height:1.4}#commentstatusdiv p{line-height:2.8}.mceToolbar *{white-space:normal!important}.mceToolbar td,.mceToolbar tr{float:left!important}.wp_themeSkin a.mceButton{width:30px;height:30px}.wp_themeSkin .mceButton .mceIcon{margin-top:5px;margin-left:5px}.wp_themeSkin .mceSplitButton{margin-top:1px}.wp_themeSkin .mceSplitButton td a.mceAction{padding:6px 3px 6px 6px}.wp_themeSkin .mceSplitButton td a.mceOpen,.wp_themeSkin .mceSplitButtonEnabled:hover td a.mceOpen{padding-top:6px;padding-bottom:6px;background-position:1px 6px}.wp_themeSkin table.mceListBox{margin:5px}div.quicktags-toolbar input{padding:10px 20px}button.wp-switch-editor{font-size:16px;line-height:1em;margin:7px 0 0 7px;padding:8px 12px}#wp-content-media-buttons a{font-size:16px;line-height:37px;height:39px;padding:0 20px 0 15px}.wp-media-buttons span.jetpack-contact-form-icon,.wp-media-buttons span.wp-media-buttons-icon{width:22px!important;margin-top:-3px!important;margin-left:-5px!important}.wp-media-buttons #insert-jetpack-contact-form span.jetpack-contact-form-icon:before,.wp-media-buttons .add_media span.wp-media-buttons-icon:before{font-size:20px!important}#content_wp_fullscreen{display:none}.misc-pub-section{padding:20px 10px}.misc-pub-section>a{float:right;font-size:16px}#delete-action,#publishing-action{line-height:47px}#publishing-action .spinner{float:none;margin-top:-2px}.comment-ays td,.comment-ays th{padding-bottom:0}.comment-ays td{padding-top:6px}.links-table #link_rel{max-width:none}.links-table td,.links-table th{padding:10px 0}}@media only screen and (max-width:500px){#wp-content-media-buttons a{font-size:14px;padding:0 10px}}.revisions-control-frame,.revisions-diff-frame{position:relative}.revisions-controls{padding-top:40px;height:100px;z-index:1}.revisions-controls input[type=checkbox]{position:relative;top:-1px;vertical-align:text-bottom}.revisions.pinned .revisions-controls{position:fixed;top:0;height:82px;background:#fff;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.1);box-shadow:0 1px 3px rgba(0,0,0,.1)}.revisions-tickmarks{position:relative;margin:0 auto;height:.7em;top:7px;max-width:70%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.revisions-tickmarks>div{position:absolute;height:100%;border-left:1px solid #a0a5aa;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.revisions-tickmarks>div:first-child{border-width:0}.comparing-two-revisions .revisions-controls{height:140px}.comparing-two-revisions.pinned .revisions-controls{height:124px}.revisions .diff-error{position:absolute;text-align:center;margin:0 auto;width:100%;display:none}.revisions.diff-error .diff-error{display:block}.revisions .loading-indicator{position:absolute;vertical-align:middle;opacity:0;width:100%;width:-webkit-calc(100% - 30px);width:calc(100% - 30px);top:50%;top:-webkit-calc(50% - 10px);top:calc(50% - 10px);-webkit-transition:opacity .5s;transition:opacity .5s;filter:alpha(opacity=0)}body.folded .revisions .loading-indicator{margin-left:-32px}.revisions .loading-indicator span.spinner{display:block;margin:0 auto;float:none}.revisions.loading .loading-indicator{opacity:1;filter:alpha(opacity=100)}.revisions .diff{-webkit-transition:opacity .5s;transition:opacity .5s}.revisions.loading .diff{opacity:.5;filter:alpha(opacity=50)}.revisions.diff-error .diff{visibility:hidden}.revisions-meta{margin-top:20px;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.1);box-shadow:0 1px 3px rgba(0,0,0,.1)}.revisions.pinned .revisions-meta{-webkit-box-shadow:none;box-shadow:none}.revision-toggle-compare-mode{position:absolute;top:0;right:0}.comparing-two-revisions .revisions-next,.comparing-two-revisions .revisions-previous,.revisions-meta .diff-meta-to strong{display:none}.revisions-controls .author-card .date{color:#777}.revisions-controls .author-card.autosave{color:#d54e21}.revisions-controls .author-card .author-name{font-weight:700}.comparing-two-revisions .diff-meta-to strong{display:block}.revisions.pinned .revisions-buttons{padding:0 11px}.revisions-next,.revisions-previous{position:relative;z-index:1}.revisions-previous{float:left}.revisions-next{float:right}.revisions-controls .wp-slider{max-width:70%;margin:0 auto;top:-3px}.revisions-diff{padding:15px;box-shadow:0 1px 3px rgba(0,0,0,.1)}.arrow:after,.revisions-diff{-webkit-box-shadow:0 1px 3px rgba(0,0,0,.1)}.revisions-diff h3:first-child{margin-top:0}#revisions-meta-restored img,.post-revisions li img{vertical-align:middle}table.diff tbody tr td:nth-child(2){width:4%}table.diff{table-layout:fixed;width:100%;white-space:pre-wrap}.about-wrap h2 .nav-tab,.about-wrap p.wp-credits-list a,.imgedit-wrap .nowrap,.nav-menus-php .item-edit,.sidebar-name h3,.widget-title h4{white-space:nowrap}table.diff col.content{width:auto}table.diff col.content.diffsplit{width:48%}table.diff col.diffsplit.middle{width:auto}table.diff col.ltype{width:30px}table.diff tr{background-color:transparent}table.diff td,table.diff th{font-family:Consolas,Monaco,monospace;font-size:14px;line-height:1.618;padding:.5em;vertical-align:top;word-wrap:break-word}table.diff td h1,table.diff td h2,table.diff td h3,table.diff td h4,table.diff td h5,table.diff td h6{margin:0}table.diff .diff-deletedline{background-color:#ffe9e9}table.diff .diff-deletedline del{background-color:#faa}table.diff .diff-addedline{background-color:#e9ffe9}table.diff .diff-addedline ins{background-color:#afa}.diff-meta{padding:5px;clear:both;min-height:32px}.diff-title strong{line-height:32px;min-width:60px;text-align:right;float:left;margin-right:5px}.revisions-controls .author-card .author-info{font-size:12px;line-height:16px}.revisions-controls .author-card .author-info,.revisions-controls .author-card .avatar{float:left;margin-left:6px;margin-right:6px}.revisions-controls .author-card .byline{display:block;font-size:12px}.revisions-controls .author-card .avatar{vertical-align:middle}.diff-meta input.restore-revision{float:right;margin-left:6px;margin-right:6px;margin-top:4px}.diff-meta-from{display:none}.comparing-two-revisions .diff-meta-from{display:block}.revisions-tooltip{position:absolute;bottom:105px;margin-right:0;margin-left:-69px;z-index:0;max-width:350px;min-width:130px;padding:8px 4px;opacity:0}.revisions-tooltip.flipped{margin-left:0;margin-right:-70px}.revisions.pinned .revisions-tooltip{display:none!important}.comparing-two-revisions .revisions-tooltip{bottom:145px}.revisions-tooltip-arrow{width:70px;height:15px;overflow:hidden;position:absolute;left:0;margin-left:35px;bottom:-15px}.revisions-tooltip.flipped .revisions-tooltip-arrow{margin-left:0;margin-right:35px;left:auto;right:0}.revisions-tooltip-arrow>span{left:20px;top:-20px;width:25px;height:25px;transform:rotate(45deg)}.arrow:after,.revisions-tooltip-arrow>span{content:"";position:absolute;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg)}.revisions-tooltip.flipped .revisions-tooltip-arrow>span{left:auto;right:20px}.ie8 .revisions-tooltip-arrow>span{left:15px;top:-25px;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(SizingMethod='auto expand', M11=0.7071067811865476, M12=-0.7071067811865475, M21=0.7071067811865475, M22=0.7071067811865476)"}.ie8 .revisions-tooltip.flipped .revisions-tooltip-arrow>span{right:25px}.revisions-tooltip,.revisions-tooltip-arrow>span{border:1px solid #d7d7d7;background-color:#fff}.revisions-tooltip{display:none}.arrow{width:70px;height:16px;overflow:hidden;position:absolute;left:0;margin-left:-35px;bottom:90px;z-index:10000}.arrow.top{top:-16px;bottom:auto}.arrow.left{left:20%}.arrow:after{z-index:9999;background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.1);left:20px;top:-20px;width:25px;height:25px;transform:rotate(45deg)}.revisions-tooltip,.revisions-tooltip-arrow:after{border-width:1px;border-style:solid}div.revisions-controls>.wp-slider>.ui-slider-handle{margin-left:-10px}.rtl div.revisions-controls>.wp-slider>.ui-slider-handle{margin-right:-10px}.wp-slider.ui-slider{position:relative;border:1px solid #d7d7d7;text-align:left;cursor:pointer}.wp-slider .ui-slider-handle{-webkit-border-radius:50%;border-radius:50%;height:18px;margin-top:-3px;outline:0;position:absolute;width:18px;z-index:2;-ms-touch-action:none;touch-action:none}.wp-slider .ui-slider-handle,.wp-slider .ui-slider-handle.focus,.wp-slider .ui-slider-handle.ui-state-hover{background:#00a0d2;border:1px solid #0073aa;-webkit-box-shadow:inset 0 1px 0 #78c8e6,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #78c8e6,0 1px 0 rgba(0,0,0,.15)}.wp-slider .ui-slider-handle:before{background:0 0;position:absolute;top:0;left:0;color:#fff;content:"\f229";font:400 18px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.media-item .media-item-info tr,.wp-slider .ui-slider-range{background-color:transparent}.wp-slider .ui-slider-handle.from-handle:before,.wp-slider .ui-slider-handle.to-handle:before{font-size:20px!important;margin:-1px 0 0 -1px}.wp-slider .ui-slider-handle.from-handle:before{content:'\f139'}.rtl .wp-slider .ui-slider-handle.from-handle:before,.wp-slider .ui-slider-handle.to-handle:before{content:'\f141'}.rtl .wp-slider .ui-slider-handle.to-handle:before{content:'\f139';right:-1px}.wp-slider .ui-slider-range{position:absolute;font-size:.7em;display:block;border:0;background-image:none}.wp-slider.ui-slider-horizontal{height:.7em}.wp-slider.ui-slider-horizontal .ui-slider-handle{top:-.25em;margin-left:-.6em}.wp-slider.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.wp-slider.ui-slider-horizontal .ui-slider-range-min{left:0}.wp-slider.ui-slider-horizontal .ui-slider-range-max{right:0}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.revision-tick.completed-false{background-image:url(../images/spinner-2x.gif)}}@media screen and (max-width:782px){#diff-next-revision,#diff-previous-revision{margin-top:-1em}table.diff{-ms-word-break:break-all;word-break:break-all;word-wrap:break-word}}.media-item .describe{width:100%;border-top:1px solid #dfdfdf;clear:both;cursor:default}#media-items:empty,.media-item.media-blank .describe{border:0}.media-item .describe th{vertical-align:top;text-align:left;padding:5px 10px 10px;width:140px}.media-item .describe .align th{padding-top:0}.media-item .describe td{padding:0 8px 8px 0;vertical-align:top}.media-item thead.media-item-info td{padding:4px 10px 0}.media-item .media-item-info .A1B1{padding:0 0 0 10px}.media-item td.savesend{padding-bottom:15px}.media-item .thumbnail{max-height:128px;max-width:128px}#wpbody-content #async-upload-wrap a{display:none}.media-upload-form{margin-top:20px}.media-upload-form td label{margin-right:6px;margin-left:2px}.media-upload-form .align .field label{display:inline;padding:0 0 0 23px;margin:0 1em 0 3px;font-weight:600}.media-upload-form tr.image-size label{margin:0 0 0 5px;font-weight:600}.media-upload-form th.label label{font-weight:600;margin:.5em;font-size:13px}.media-upload-form th.label label span{padding:0 5px}.media-item .describe input[type=text],.media-item .describe textarea{width:460px}.media-item .describe p.help{margin:0;padding:0 0 0 5px}.describe-toggle-off,.describe-toggle-on,.media-item .edit-attachment{display:block;line-height:36px;float:right;margin-right:10px}.media-item .describe-toggle-off,.media-item.open .describe-toggle-on{display:none}.media-item.open .describe-toggle-off{display:block}.js .html-uploader #plupload-upload-ui,.media-item .startclosed,.media-item .startopen{display:none}.media-upload-form .media-item{min-height:36px;margin-bottom:1px;position:relative;width:100%;background:#fff}.media-upload-form .media-item,.media-upload-form .media-item .error{-webkit-box-shadow:0 1px 0 #dfdfdf;box-shadow:0 1px 0 #dfdfdf}.media-item .filename{line-height:36px;overflow:hidden;margin-left:6px}.media-item .pinkynail{float:left;margin:2px 10px 0 3px;max-width:40px;max-height:32px}.media-item .original{position:relative;height:34px}.media-item .progress{float:right;height:22px;margin:7px 6px;width:200px;line-height:2em;padding:0;overflow:hidden;-webkit-border-radius:22px;border-radius:22px;background:#ddd;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.media-item .bar{z-index:9;width:0;height:100%;margin-top:-22px;-webkit-border-radius:22px;border-radius:22px;background-color:#0073aa;-webkit-box-shadow:inset 0 0 2px rgba(0,0,0,.3);box-shadow:inset 0 0 2px rgba(0,0,0,.3)}.media-item .progress .percent{z-index:10;position:relative;width:200px;padding:0;color:#fff;text-align:center;line-height:22px;font-weight:400;text-shadow:0 1px 2px rgba(0,0,0,.2)}.upload-php .fixed .column-parent{width:15%}.js .html-uploader #html-upload-ui{display:block}.media-upload-form .media-item .error,.media-upload-form .media-item.error{width:auto;margin:0 0 1px}.media-upload-form .media-item .error{padding:10px 0 10px 14px}.media-item .error-div a.dismiss{display:block;float:right;margin:0 10px 0 15px}.find-box{background-color:#fff;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.3);box-shadow:0 3px 6px rgba(0,0,0,.3);width:600px;overflow:hidden;margin-left:-300px;position:fixed;top:30px;bottom:30px;left:50%;z-index:100105}.find-box-head{background:#fcfcfc;border-bottom:1px solid #dfdfdf;height:36px;font-size:18px;font-weight:600;line-height:36px;padding:0 36px 0 16px;position:absolute;top:0;left:0;right:0}.find-box-inside{overflow:auto;padding:16px;background-color:#fff;position:absolute;top:37px;bottom:45px;overflow-y:scroll;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.find-box-search{padding-bottom:16px}.find-box-search .spinner{float:none;left:105px;position:absolute}#find-posts-response,.find-box-search{position:relative}#find-posts-input,#find-posts-search{float:left}#find-posts-input{width:140px;height:28px;margin:0 4px 0 0}.widefat .found-radio{padding-right:0;width:16px}#find-posts-close{width:36px;height:36px;position:absolute;top:0;right:0;cursor:pointer;text-align:center;color:#666}#find-posts-close:hover{color:#00a0d2}#find-posts-close:before{font:400 20px/36px dashicons;vertical-align:top;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:'\f158'}.find-box-buttons{padding:8px 16px;background:#fcfcfc;border-top:1px solid #dfdfdf;position:absolute;bottom:0;left:0;right:0}@media screen and (max-width:782px){.find-box-inside{bottom:57px}}@media screen and (max-width:660px){.find-box{top:0;bottom:0;left:0;right:0;margin:0;width:100%}}.ui-find-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000;opacity:.7;filter:alpha(opacity=70);z-index:100100}ul#dismissed-updates{display:none}form.upgrade{margin-top:8px}form.upgrade .hint{font-style:italic;font-size:85%;margin:-.5em 0 2em}#poststuff .inside .the-tagcloud{margin:5px 0 10px;padding:8px;border:1px solid #ddd;line-height:1.8em;word-spacing:3px;-webkit-border-radius:6px;border-radius:6px}.drag-drop #drag-drop-area{border:4px dashed #b4b9be;height:200px}.drag-drop .drag-drop-inside{margin:70px auto 0;width:250px}.drag-drop-inside p{color:#a0a5aa;font-size:14px;margin:5px 0;display:none}.drag-drop .drag-drop-inside p{text-align:center}.drag-drop-inside p.drag-drop-info{font-size:20px}.drag-drop .drag-drop-inside p,.drag-drop-inside p.drag-drop-buttons{display:block}.media-frame.mode-grid .media-frame-menu,.media-frame.mode-grid .media-frame-router,.media-frame.mode-grid .media-frame-title,.upload-php .mode-grid .hide-sidebar .media-sidebar{display:none}.drag-drop.drag-over #drag-drop-area{border-color:#83b4d8}#plupload-upload-ui{position:relative}.media-frame.mode-grid,.media-frame.mode-grid .attachments-browser .attachments,.media-frame.mode-grid .media-frame-content,.media-frame.mode-grid .uploader-inline-content{position:static}.media-frame.mode-grid .media-frame-content{background-color:transparent;border:none}.upload-php .mode-grid .media-sidebar{position:relative;width:auto;margin-bottom:16px;padding:0 16px;border-left:4px solid #dd3d36;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1);background-color:#fff}.upload-php .mode-grid .media-sidebar .media-uploader-status{border-bottom:none;padding-bottom:0;max-width:100%}.upload-php .mode-grid .media-sidebar .upload-error{margin:12px 0;padding:4px 0 0;border:none;-webkit-box-shadow:none;box-shadow:none;background:0 0}.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors{top:-10px;right:-14px;padding:10px}.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:before{content:"\f153";display:block;font:400 16px/1 dashicons;color:#bbb}.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:focus:before,.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:hover:before{color:#c00}.upload-php .mode-grid .media-sidebar .media-uploader-status.errors h3{display:none}.media-frame.mode-grid .uploader-inline{position:relative;top:auto;right:auto;left:auto;bottom:auto;padding-top:0;margin-top:0;border:4px dashed #b4b9be}.media-frame.mode-select .attachments-browser.fixed .attachments{position:relative;top:94px;padding-bottom:94px}.media-frame.mode-grid .attachment.details:focus,.media-frame.mode-grid .attachment:focus,.media-frame.mode-grid .selected.attachment:focus{-webkit-box-shadow:inset 0 0 2px 3px #f1f1f1,inset 0 0 0 7px #5b9dd9;box-shadow:inset 0 0 2px 3px #f1f1f1,inset 0 0 0 7px #5b9dd9;outline:0}.media-frame.mode-grid .selected.attachment{-webkit-box-shadow:inset 0 0 0 5px #f1f1f1,inset 0 0 0 7px #ccc;box-shadow:inset 0 0 0 5px #f1f1f1,inset 0 0 0 7px #ccc}.media-frame.mode-grid .attachment.details{-webkit-box-shadow:inset 0 0 0 3px #f1f1f1,inset 0 0 0 7px #1e8cbe;box-shadow:inset 0 0 0 3px #f1f1f1,inset 0 0 0 7px #1e8cbe}.media-frame.mode-grid.mode-select .attachment .thumbnail{opacity:.65}.media-frame.mode-select .attachment.selected .thumbnail{opacity:1}.media-frame.mode-grid .media-toolbar{margin-bottom:15px;height:auto}.media-frame.mode-grid .media-toolbar select{margin:0 10px 0 0;font-size:14px}.media-frame.mode-grid.mode-edit .media-toolbar-secondary>.select-mode-toggle-button{margin:0 8px 0 0;vertical-align:middle}.media-frame.mode-grid .attachments-browser .bulk-select{display:inline-block;margin:0 10px 0 0}.media-frame.mode-grid .search{margin-top:0}.media-frame.mode-grid .spinner{margin-top:16px}.attachments-browser .media-toolbar-secondary>.media-button{margin-right:10px}.media-frame.mode-select .attachments-browser.fixed .media-toolbar{position:fixed;top:32px;left:auto;right:20px;margin-top:0}.media-frame.mode-grid .attachments-browser{padding:0}.media-frame.mode-grid .attachments-browser .attachments{padding:2px}.media-frame.mode-grid .attachments-browser .no-media{color:#999;font-size:18px;font-style:normal;margin:0;padding:100px 0 0;text-align:center}.edit-attachment-frame{display:block;height:100%;width:100%}.edit-attachment-frame .edit-media-header{overflow:hidden}.upload-php .media-modal-close .media-modal-icon:before{content:'\f335';font-size:22px}.edit-attachment-frame .edit-media-header .left,.edit-attachment-frame .edit-media-header .right,.upload-php .media-modal-close{cursor:pointer;color:#777;background-color:transparent;height:50px;width:50px;padding:0;position:absolute;text-align:center;border:0;border-left:1px solid #ddd;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out}.upload-php .media-modal-close{top:0;right:0}.edit-attachment-frame .edit-media-header .left{right:102px}.edit-attachment-frame .edit-media-header .right{right:51px}.edit-attachment-frame .media-frame-title{left:0;right:150px}.edit-attachment-frame .edit-media-header .left:before,.edit-attachment-frame .edit-media-header .right:before{font:400 20px/50px dashicons!important;display:inline;font-weight:300}.edit-attachment-frame .edit-media-header .left:focus,.edit-attachment-frame .edit-media-header .left:hover,.edit-attachment-frame .edit-media-header .right:focus,.edit-attachment-frame .edit-media-header .right:hover,.upload-php .media-modal-close:focus,.upload-php .media-modal-close:hover{background:#ddd;border-color:#ccc;color:#000;outline:0;-webkit-box-shadow:none;box-shadow:none}.upload-php .media-modal-close:focus .media-modal-icon:before,.upload-php .media-modal-close:hover .media-modal-icon:before{color:#000}.edit-attachment-frame .edit-media-header .left:before,.rtl .edit-attachment-frame .edit-media-header .right:before{content:'\f341'}.edit-attachment-frame .edit-media-header .right:before,.rtl .edit-attachment-frame .edit-media-header .left:before{content:'\f345'}.edit-attachment-frame .edit-media-header .left.disabled,.edit-attachment-frame .edit-media-header .left.disabled:hover,.edit-attachment-frame .edit-media-header .right.disabled,.edit-attachment-frame .edit-media-header .right.disabled:hover{color:#ccc;background:inherit;cursor:default;pointer-events:none}.edit-attachment-frame .media-frame-content,.edit-attachment-frame .media-frame-router{left:0}.edit-attachment-frame .media-frame-content{border-bottom:none;bottom:0;top:50px}.edit-attachment-frame .attachment-details{position:absolute;overflow:auto;top:0;bottom:0;right:0;left:0;-webkit-box-shadow:inset 0 4px 4px -4px rgba(0,0,0,.1);box-shadow:inset 0 4px 4px -4px rgba(0,0,0,.1)}.edit-attachment-frame .attachment-media-view{float:left;width:65%;height:100%}.edit-attachment-frame .attachment-media-view .thumbnail{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:16px;height:100%}.edit-attachment-frame .attachment-media-view .details-image{display:block;margin-bottom:16px;max-width:100%;max-height:90%;max-height:-webkit-calc(100% - 42px);max-height:calc(100% - 42px)}.edit-attachment-frame .wp-media-wrapper{margin-bottom:12px}.edit-attachment-frame input,.edit-attachment-frame textarea{padding:6px 8px;line-height:16px}.edit-attachment-frame .attachment-info{overflow:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin-bottom:0;padding:12px 16px 0;width:35%;height:100%;-webkit-box-shadow:inset 0 4px 4px -4px rgba(0,0,0,.1);box-shadow:inset 0 4px 4px -4px rgba(0,0,0,.1);border-bottom:0;border-left:1px solid #ddd;background:#f3f3f3}.edit-attachment-frame .attachment-info .details,.edit-attachment-frame .attachment-info .settings{position:relative;overflow:hidden;float:none;margin-bottom:15px;padding-bottom:15px;border-bottom:1px solid #ddd}.edit-attachment-frame .attachment-info .filename{font-weight:400;color:#666}.edit-attachment-frame .attachment-info .thumbnail{margin-bottom:12px}.attachment-info .actions{margin-bottom:16px}.attachment-info .actions a{display:inline;text-decoration:none}.wp_attachment_details label[for=content]{font-size:13px;line-height:1.5;margin:1em 0}.wp_attachment_details #attachment_caption{height:4em}.describe .image-editor{vertical-align:top}.imgedit-wrap{position:relative}.imgedit-settings p{margin:8px 0 0}.describe .imgedit-wrap .imgedit-settings{padding:0 5px}.wp_attachment_holder div.updated{margin-top:0}.wp_attachment_holder .imgedit-wrap>div{height:auto;overflow:hidden}.wp_attachment_holder .imgedit-wrap .imgedit-panel-content{padding-right:16px;width:auto;overflow:hidden}.wp_attachment_holder .imgedit-wrap .imgedit-settings{float:right;width:250px}.imgedit-settings input{margin-top:0;vertical-align:middle}.imgedit-wait{position:absolute;top:0;background:url(../images/spinner.gif) center no-repeat #fff;-webkit-background-size:20px 20px;background-size:20px 20px;opacity:.7;filter:alpha(opacity=70);width:100%;height:500px;display:none}.no-float{float:none}.A1B1 .button,.A1B1 .spinner,.wp_attachment_image .button,.wp_attachment_image .spinner{float:left}.imgedit-settings .disabled,.media-disabled{color:grey}.A1B1,.wp_attachment_image{overflow:hidden}.no-js .wp_attachment_image .button{display:none}.imgedit-menu{margin:0 0 12px;min-width:300px}.imgedit-menu div{float:left;width:32px;border:1px solid #d5d5d5;background:#f1f1f1;margin:0 8px 0 0;height:32px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;line-height:28px;color:#777;cursor:pointer}.imgedit-menu div:before{font:400 20px/1 dashicons;speak:none;vertical-align:middle}.imgedit-menu div:hover{border-color:#c1c1c1;background-color:#eaeaea;color:#32373c}.imgedit-menu div.disabled{border-color:#ccc;background-color:#ddd;color:#777;filter:alpha(opacity=50);opacity:.5;cursor:default}.imgedit-crop:before{content:'\f165'}.imgedit-rleft:before{content:'\f166'}.imgedit-rright:before{content:'\f167'}.imgedit-flipv:before{content:'\f168'}.imgedit-fliph:before{content:'\f169'}.imgedit-undo:before{content:'\f171'}.imgedit-redo:before{content:'\f172'}.imgedit-crop-wrap{position:relative}.imgedit-crop{margin:0 8px 0 0}.imgedit-rleft{margin:0 3px}.imgedit-rright{margin:0 8px 0 3px}.imgedit-flipv{margin:0 3px}.imgedit-fliph{margin:0 8px 0 3px}.imgedit-undo{margin:0 3px}.imgedit-redo{margin:0 8px 0 3px}.imgedit-applyto img{margin:0 8px 0 0}#poststuff .imgedit-group-top h3{padding:0}.imgedit-applyto .imgedit-label{padding:2px 0 0;display:block}.imgedit-help{display:none;font-style:italic}.form-table td.imgedit-response{padding:0}.imgedit-submit{margin:8px 0 0}.imgedit-submit-btn{margin-left:20px}span.imgedit-scale-warn{color:red;font-size:20px;font-style:normal;visibility:hidden;vertical-align:middle}.imgedit-group{margin-bottom:8px;padding:10px}audio,video{display:inline-block;max-width:100%}.mejs-container{width:100%;max-width:100%}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.imgedit-wait{background-image:url(../images/spinner-2x.gif)}}@media screen and (max-width:782px){.wp_attachment_details label[for=content]{font-size:14px;line-height:1.5em}.media-upload-form .media-item .error,.media-upload-form .media-item.error{font-size:13px;line-height:1.5}.media-upload-form .media-item.error{padding:1px 10px}.media-upload-form .media-item .error{padding:10px 0 10px 12px}}@media only screen and (max-width:1120px){#wp-media-grid .wp-filter .attachment-filters{max-width:100%}}@media only screen and (max-width:782px){.media-frame.mode-select .attachments-browser.fixed .media-toolbar{top:46px;right:10px}}@media only screen and (max-width:600px){.media-frame.mode-select .attachments-browser.fixed .media-toolbar{top:0}}@media only screen and (max-width:480px){.edit-attachment-frame .media-frame-title{right:110px}.edit-attachment-frame .edit-media-header .left,.edit-attachment-frame .edit-media-header .right,.upload-php .media-modal-close{width:40px;height:40px}.upload-php .media-modal-close .media-modal-icon{margin:9px 10px}.edit-attachment-frame .edit-media-header .left:before,.edit-attachment-frame .edit-media-header .right:before{line-height:40px!important}.edit-attachment-frame .edit-media-header .left{right:82px}.edit-attachment-frame .edit-media-header .right{right:41px}.edit-attachment-frame .media-frame-content{top:40px}.edit-attachment-frame .attachment-media-view{float:none;height:auto;width:100%}.edit-attachment-frame .attachment-info{height:auto;width:100%}}@media only screen and (max-width:640px),screen and (max-height:400px){.upload-php .mode-grid .media-sidebar{max-width:100%}}.theme-browser .themes{clear:both;padding:0 0 100px}.themes-php .wrap h1{float:left;margin-bottom:15px}.network-admin.themes-php .wrap h1{margin-bottom:0}.themes-php .wrap h1 .button{margin-left:20px}.themes-php .wp-filter-search{position:relative;top:-2px;left:20px;margin:0;width:280px;font-size:16px;font-weight:300;line-height:1.5}.themes-php div.error,.themes-php div.notice,.themes-php div.updated{margin:0 0 20px;clear:both}.themes-php div.updated a{text-decoration:underline}.theme-browser .theme{cursor:pointer;float:left;margin:0 4% 4% 0;position:relative;width:30.6%;border:1px solid #dedede;-webkit-box-shadow:0 1px 1px -1px rgba(0,0,0,.1);box-shadow:0 1px 1px -1px rgba(0,0,0,.1);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ie8 .theme-browser .theme{width:30%;margin:0 3% 4% 0}.theme-browser .theme:nth-child(3n){margin-right:0}.theme-browser .theme:focus,.theme-browser .theme:hover{cursor:pointer}.theme-browser .theme .theme-name{font-size:15px;font-weight:600;height:18px;margin:0;padding:15px;-webkit-box-shadow:inset 0 1px 0 rgba(0,0,0,.1);box-shadow:inset 0 1px 0 rgba(0,0,0,.1);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;background:#fff;background:rgba(255,255,255,.65)}.theme-browser .theme .theme-actions{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";opacity:0;-webkit-transition:opacity .1s ease-in-out;transition:opacity .1s ease-in-out;position:absolute;bottom:0;right:0;height:38px;padding:9px 10px 0;background:rgba(244,244,244,.7);border-left:1px solid rgba(0,0,0,.05)}.theme-browser .theme.focus .theme-actions,.theme-browser .theme:focus .theme-actions,.theme-browser .theme:hover .theme-actions{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";opacity:1}.theme-browser .theme .theme-actions .button-primary{margin-right:3px}.theme-browser .theme .theme-actions .button-secondary{float:none;margin-left:3px}.theme-browser .theme .theme-screenshot{display:block;overflow:hidden;position:relative;-webkit-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out}.theme-browser .theme .theme-screenshot:after{content:'';display:block;padding-top:66.66666%}.theme-browser .theme .theme-screenshot img{height:auto;position:absolute;left:0;top:0;width:100%;-webkit-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out}.theme-browser .theme:focus .theme-screenshot,.theme-browser .theme:hover .theme-screenshot{background:#fff}.theme-browser.rendered .theme:focus .theme-screenshot img,.theme-browser.rendered .theme:hover .theme-screenshot img{opacity:.4}.theme-browser .theme .more-details{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";opacity:0;position:absolute;top:35%;right:25%;left:25%;background:#23282d;background:rgba(0,0,0,.7);color:#fff;font-size:15px;text-shadow:0 1px 0 rgba(0,0,0,.6);-webkit-font-smoothing:antialiased;font-weight:600;padding:15px 12px;text-align:center;-webkit-border-radius:3px;border-radius:3px;-webkit-transition:opacity .1s ease-in-out;transition:opacity .1s ease-in-out}.theme-browser .theme:focus{border-color:#5b9dd9;-webkit-box-shadow:0 0 2px rgba(30,140,190,.8);box-shadow:0 0 2px rgba(30,140,190,.8)}.theme-browser .theme:focus .more-details{opacity:1}.theme-browser .theme.active:focus .theme-actions{display:block}.theme-browser.rendered .theme:focus .more-details,.theme-browser.rendered .theme:hover .more-details{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";opacity:1}.theme-browser .theme .theme-installed,.theme-browser .theme .theme-update{background:#d54e21;background:rgba(213,78,33,.95);color:#fff;display:block;font-size:13px;font-weight:400;height:48px;line-height:48px;padding:0 10px;position:absolute;top:0;right:0;left:0;border-bottom:1px solid rgba(0,0,0,.25);overflow:hidden}.theme-browser .theme .theme-installed:before,.theme-browser .theme .theme-update:before{content:'\f463';display:inline-block;font:400 20px/1 dashicons;margin:0 6px 0 0;opacity:.8;position:relative;top:5px;speak:none;-webkit-font-smoothing:antialiased}.theme-browser .theme.active .theme-name{background:#2f2f2f;color:#fff;padding-right:110px;font-weight:300;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.5);box-shadow:inset 0 1px 1px rgba(0,0,0,.5)}.theme-browser .customize-control .theme.active .theme-name{padding-right:15px}.theme-browser .theme.active .theme-name span{font-weight:600}.theme-browser .theme.active .theme-actions{background:rgba(49,49,49,.7);border-left:none;opacity:1}.theme-browser .theme.active .theme-actions .button-primary{margin-right:0}.theme-browser .theme .theme-author{background:#23282d;color:#eee;display:none;font-size:14px;margin:0 10px;padding:5px 10px;position:absolute;bottom:56px}.theme-browser .theme.display-author .theme-author{display:block}.theme-browser .theme.display-author .theme-author a{color:inherit;text-decoration:none}.theme-browser .theme.add-new-theme{border:none;-webkit-box-shadow:none;box-shadow:none}.theme-browser .theme.add-new-theme a{color:#999;text-decoration:none;display:block;position:relative;z-index:1}.theme-browser .theme.add-new-theme a:after{display:block;content:'';background:0 0;position:absolute;top:0;left:0;right:0;bottom:0;padding:0;text-shadow:none;border:5px dashed #d5d2ca;border:5px dashed rgba(0,0,0,.1);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.theme-browser .theme.add-new-theme span:after{background:#e5e5e5;background:rgba(153,153,153,.1);-webkit-border-radius:50%;border-radius:50%;display:inline-block;content:'\f132';-webkit-font-smoothing:antialiased;font:400 74px/115px dashicons;width:100px;height:100px;vertical-align:middle;text-align:center;color:#999;position:absolute;top:30%;left:50%;margin-left:-50px;text-indent:-4px;padding:0;text-shadow:none;z-index:4}.rtl .theme-browser .theme.add-new-theme span:after{text-indent:4px}.theme-browser .theme.add-new-theme a:focus .theme-screenshot,.theme-browser .theme.add-new-theme a:hover .theme-screenshot{background:0 0}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after{background:#fff;color:#0073aa}.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{border-color:transparent;color:#fff;background:#0073aa;content:''}.theme-browser .theme.add-new-theme .theme-name{background:0 0;text-align:center;-webkit-box-shadow:none;box-shadow:none;font-weight:400;position:relative;top:0;margin-top:-18px;padding-top:0;padding-bottom:48px}.theme-browser .theme.add-new-theme a:focus .theme-name,.theme-browser .theme.add-new-theme a:hover .theme-name{color:#fff;z-index:2}.theme-overlay .theme-backdrop{position:absolute;left:-20px;right:0;top:0;bottom:0;background:#f1f1f1;background:rgba(238,238,238,.9);z-index:10000}.theme-overlay .theme-header{position:absolute;top:0;left:0;right:0;height:48px;border-bottom:1px solid #ddd}.theme-overlay .theme-header button{padding:0}.theme-overlay .theme-header .close{cursor:pointer;height:48px;width:50px;text-align:center;float:right;border:0;border-left:1px solid #ddd;background-color:transparent;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out}.theme-overlay .theme-header .close:before{font:400 22px/50px dashicons!important;color:#777;display:inline-block;content:'\f335';font-weight:300}.theme-overlay .theme-header .left,.theme-overlay .theme-header .right{cursor:pointer;color:#777;background-color:transparent;height:48px;width:54px;float:left;text-align:center;border:0;border-right:1px solid #ddd;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out}.theme-overlay .theme-header .close:focus,.theme-overlay .theme-header .close:hover,.theme-overlay .theme-header .left:focus,.theme-overlay .theme-header .left:hover,.theme-overlay .theme-header .right:focus,.theme-overlay .theme-header .right:hover{background:#ddd;border-color:#ccc;color:#000}.theme-overlay .theme-header .close:focus:before,.theme-overlay .theme-header .close:hover:before{color:#000}.theme-overlay .theme-header .close:focus,.theme-overlay .theme-header .left:focus,.theme-overlay .theme-header .right:focus{-webkit-box-shadow:none;box-shadow:none;outline:0}.theme-overlay .theme-header .left.disabled,.theme-overlay .theme-header .left.disabled:hover,.theme-overlay .theme-header .right.disabled,.theme-overlay .theme-header .right.disabled:hover{color:#ccc;background:inherit;cursor:inherit}.theme-overlay .theme-header .left:before,.theme-overlay .theme-header .right:before{font:400 20px/50px dashicons!important;display:inline;font-weight:300}.theme-overlay .theme-header .left:before{content:"\f341"}.theme-overlay .theme-header .right:before{content:"\f345"}.theme-overlay .theme-about:after,.theme-overlay .theme-wrap:after{clear:both;visibility:hidden;content:".";display:block;height:0}.theme-overlay .theme-wrap{clear:both;position:fixed;top:9%;left:190px;right:30px;bottom:3%;background:#fff;-webkit-box-shadow:0 1px 20px 5px rgba(0,0,0,.1);box-shadow:0 1px 20px 5px rgba(0,0,0,.1);z-index:10000;box-sizing:border-box;-webkit-overflow-scrolling:touch}.theme-overlay .theme-actions,.theme-overlay .theme-wrap{-webkit-box-sizing:border-box;-moz-box-sizing:border-box}body.folded .theme-overlay .theme-wrap{left:70px}.theme-overlay .theme-about{position:absolute;top:49px;bottom:57px;left:0;right:0;overflow:auto;padding:2% 4%}.customize-support .theme-overlay .theme-actions a[href="themes.php?page=custom-header"],.customize-support .theme-overlay .theme-actions a[href="themes.php?page=custom-background"],.theme-overlay .theme-actions .active-theme,.theme-overlay.active .theme-actions .inactive-theme{display:none}.theme-overlay .theme-actions{position:absolute;text-align:center;bottom:0;left:0;right:0;padding:10px 25px 5px;background:#f3f3f3;z-index:30;box-sizing:border-box;border-top:1px solid #eee}.ie8 .theme-overlay .theme-actions{border:1px solid #eee}.theme-overlay .theme-actions a{margin-right:5px;margin-bottom:5px}.broken-themes a.delete-theme,.theme-overlay .theme-actions .delete-theme{color:#a00;text-decoration:none;border-color:transparent;-webkit-box-shadow:none;box-shadow:none;background:0 0}.theme-overlay .theme-actions .delete-theme{position:absolute;right:10px;bottom:5px}.broken-themes a.delete-theme:focus,.broken-themes a.delete-theme:hover,.theme-overlay .theme-actions .delete-theme:focus,.theme-overlay .theme-actions .delete-theme:hover{background:#d54e21;color:#fff;border-color:#d54e21}.theme-overlay .theme-actions .inactive-theme,.theme-overlay.active .theme-actions .active-theme{display:block}.theme-overlay .theme-screenshots{float:left;margin:0 30px 0 0;width:55%;max-width:880px;text-align:center}.theme-overlay .screenshot{border:1px solid #fff;box-sizing:border-box;overflow:hidden;position:relative;-webkit-box-shadow:0 0 0 1px rgba(0,0,0,.2);box-shadow:0 0 0 1px rgba(0,0,0,.2)}.theme-overlay .screenshot,.upload-plugin,.upload-theme{-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.theme-overlay .screenshot:after{content:'';display:block;padding-top:75%}.theme-overlay .screenshot img{height:auto;position:absolute;left:0;top:0;width:100%}.theme-overlay.small-screenshot .theme-screenshots{position:absolute;width:302px}.theme-overlay.small-screenshot .theme-info{margin-left:350px;width:auto}.theme-overlay .screenshot.thumb{background:#ccc;border:1px solid #eee;float:none;display:inline-block;margin:10px 5px 0;width:140px;height:80px;cursor:pointer}.theme-overlay .screenshot.thumb:after{content:'';display:block;padding-top:100%}.theme-overlay .screenshot.thumb img{cursor:pointer;position:absolute;left:0;top:0;width:100%;height:auto}.theme-overlay .screenshot.selected{background:0 0;border:2px solid #00a0d2}.theme-overlay .screenshot.selected img{opacity:.8}.theme-browser .theme .theme-screenshot.blank,.theme-overlay .screenshot.blank{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAALElEQVQYGWO8d+/efwYkoKioiMRjYGBC4WHhUK6A8T8QIJt8//59ZC493AAAQssKpBK4F5AAAAAASUVORK5CYII=)}.theme-overlay .theme-info{width:40%;float:left}.theme-overlay .current-label{background:#32373c;color:#fff;font-size:11px;display:inline-block;padding:2px 8px;-webkit-border-radius:2px;border-radius:2px;margin:0 0 -10px;user-select:none}.theme-overlay .theme-name{color:#23282d;font-size:32px;font-weight:100;margin:10px 0 0;line-height:1.3}.theme-overlay .theme-version{color:#999;font-size:13px;font-weight:400;float:none;display:inline-block;margin-left:10px}.theme-overlay .theme-author{color:#686868;font-size:16px;font-weight:400;margin:15px 0 25px}.theme-overlay .theme-author a{text-decoration:none}.theme-overlay .theme-description{color:#555;font-size:15px;font-weight:400;line-height:1.5;margin:30px 0 0}.theme-overlay .theme-tags{border-top:3px solid #eee;color:#82878c;font-size:13px;font-weight:400;margin:30px 0 0;padding-top:20px}.theme-overlay .theme-tags span{color:#444;font-weight:700;margin-right:5px}.theme-overlay .theme-update-message{background:#fef7f1;border:1px solid #eee;border-left:4px solid #d54e21;-webkit-border-radius:3px;border-radius:3px;padding:5px 20px 10px}.theme-overlay .theme-update{color:#23282d;font-size:18px;display:inline-block;line-height:40px;margin:0}.theme-overlay .parent-theme{background:#f7fcfe;border:1px solid #eee;border-left:4px solid #00a0d2;font-size:14px;font-weight:400;margin-top:30px;padding:10px 10px 10px 20px}.theme-overlay .parent-theme strong{font-weight:700}.single-theme .theme,.single-theme .theme-overlay .theme-backdrop,.single-theme .theme-overlay .theme-header{display:none}.single-theme .theme-overlay .theme-wrap{clear:both;min-height:330px;position:relative;left:auto;right:auto;top:auto;bottom:auto;z-index:10}.single-theme .theme-overlay .theme-about{padding:30px 30px 70px;position:static}.single-theme .theme-overlay .theme-actions{position:absolute}@media only screen and (min-width:2000px){#wpwrap .theme-browser .theme{width:17.6%;margin:0 3% 3% 0}#wpwrap .theme-browser .theme:nth-child(3n),#wpwrap .theme-browser .theme:nth-child(4n){margin-right:3%}#wpwrap .theme-browser .theme:nth-child(5n){margin-right:0}}@media only screen and (min-width:1680px){.theme-overlay .theme-wrap{width:1450px;margin:0 auto}}@media only screen and (min-width:1640px){.theme-browser .theme{width:22.7%;margin:0 3% 3% 0}.theme-browser .theme .theme-screenshot:after{padding-top:75%}.theme-browser .theme:nth-child(3n){margin-right:3%}.theme-browser .theme:nth-child(4n){margin-right:0}}@media only screen and (max-width:1120px){.theme-browser .theme{width:47.5%;margin-right:0}.theme-browser .theme:nth-child(even){margin-right:0}.theme-browser .theme:nth-child(odd){margin-right:5%}}@media only screen and (max-width:900px){.theme-overlay .theme-wrap{left:65px}}@media only screen and (max-width:780px){.theme-browser .theme.active .theme-name span,.theme:focus .more-details,.theme:hover .more-details,.theme:not(.active):focus .theme-actions,.theme:not(.active):hover .theme-actions{display:none}.theme-overlay .theme-wrap,body.folded .theme-overlay .theme-wrap{top:0;right:0;bottom:0;left:0;padding:70px 20px 20px;border:none;z-index:100000;position:fixed}.theme-overlay .theme-screenshots{width:40%}.theme-overlay .theme-info{width:50%}.single-theme .theme-wrap{padding:10px}.theme-browser .theme .theme-actions{padding:5px 10px 4px}.theme-overlay.small-screenshot .theme-screenshots{position:static;float:none;max-width:302px}.theme-overlay.small-screenshot .theme-info{margin-left:0;width:auto}.theme-browser.rendered .theme:focus .theme-screenshot img,.theme-browser.rendered .theme:hover .theme-screenshot img{opacity:1}}@media only screen and (max-width:480px){.theme-browser .theme{width:100%;margin-right:0}.theme-browser .theme:nth-child(2n),.theme-browser .theme:nth-child(3n){margin-right:0}}@media only screen and (max-width:650px){.theme-overlay .theme-description,.theme-overlay .theme-update{margin-left:0}.theme-overlay .theme-actions .delete-theme{position:relative;right:auto;bottom:auto}.theme-overlay .theme-actions .inactive-theme{display:inline}.theme-overlay .theme-screenshots{width:100%;float:none}.theme-overlay .theme-info{width:100%}.theme-overlay .theme-author{margin:5px 0 15px}.theme-overlay .current-label{margin-top:10px;font-size:13px}.themes-php .wp-filter-search{float:none;clear:both;left:0;top:0;right:0;margin:10px 0;width:100%;max-width:280px}.theme-browser .theme.add-new-theme span:after{font:400 60px/90px dashicons;width:80px;height:80px;top:30%;left:50%;text-indent:0;margin-left:-40px}.single-theme .theme-wrap{margin:0 -12px 0 -10px;padding:10px}.single-theme .theme-overlay .theme-about{padding:10px;overflow:visible}.single-theme .current-label{display:none}.single-theme .theme-overlay .theme-actions{position:static}}.broken-themes{clear:both}.broken-themes table{text-align:left;width:50%;border-spacing:3px;padding:3px}.theme-browser .theme .theme-installed{background:#0073aa}.theme-browser .theme .theme-installed:before{content:'\f147'}.theme-browser .theme.is-installed .theme-actions .button-primary{display:none!important}.theme-install-php .wp-filter{padding:0 20px}.theme-install-php a.browse-themes,.theme-install-php a.upload{cursor:pointer}.theme-install-php a.browse-themes,.theme-install-php.show-upload-theme a.upload{display:none}.theme-install-php.show-upload-theme a.browse-themes{display:inline}.upload-plugin,.upload-theme{box-sizing:border-box;display:none;margin:0;padding:0;width:100%;overflow:hidden;position:relative;top:10px}.wp-full-overlay,.wp-full-overlay-sidebar{left:0;bottom:0;top:0;height:100%;position:fixed}.upload-plugin,body.show-upload-theme .upload-theme{display:block}body.show-upload-theme .upload-theme+.wp-filter,body.show-upload-theme .upload-theme+.wp-filter+.theme-browser,p.no-themes{display:none}.upload-plugin .wp-upload-form,.upload-theme .wp-upload-form{background:#fafafa;border:1px solid #e5e5e5;padding:30px;margin:30px auto;max-width:380px}.upload-plugin .install-help,.upload-theme .install-help{color:#999;font-size:18px;font-style:normal;margin:0;padding:40px 0 0;text-align:center}p.no-themes{clear:both;color:#666;font-size:18px;font-style:normal;margin:0;padding:0;text-align:center}body.no-results p.no-themes{display:block}.theme-install-php .add-new-theme,body.show-upload-theme p.no-themes{display:none!important}@media only screen and (max-width:1120px){.upload-theme .wp-upload-form{margin:20px 0;max-width:100%}.upload-theme .install-help{font-size:15px;padding:20px 0 0;text-align:left}}.theme-details .star-rating{margin:15px 0 0}.theme-details .star-rating span:before{color:#ffb900;content:"\f154";display:inline-block;-webkit-font-smoothing:antialiased;font:400 20px/1 dashicons;vertical-align:top}.star-rating.rating-10 span.one:before,.star-rating.rating-30 span.two:before,.star-rating.rating-50 span.three:before,.star-rating.rating-70 span.four:before,.star-rating.rating-90 span.five:before{content:"\f459"}.star-rating.rating-100>span:before,.star-rating.rating-20 span.one:before,.star-rating.rating-30 span.one:before,.star-rating.rating-40 span.one:before,.star-rating.rating-40 span.two:before,.star-rating.rating-50 span.one:before,.star-rating.rating-50 span.two:before,.star-rating.rating-60 span.one:before,.star-rating.rating-60 span.three:before,.star-rating.rating-60 span.two:before,.star-rating.rating-70 span.one:before,.star-rating.rating-70 span.three:before,.star-rating.rating-70 span.two:before,.star-rating.rating-80 span.four:before,.star-rating.rating-80 span.one:before,.star-rating.rating-80 span.three:before,.star-rating.rating-80 span.two:before,.star-rating.rating-90 span.four:before,.star-rating.rating-90 span.one:before,.star-rating.rating-90 span.three:before,.star-rating.rating-90 span.two:before{content:"\f155"}.theme-details .star-rating .ratings{display:block;line-height:20px;color:#999}.appearance_page_custom-header #headimg{border:1px solid #DFDFDF;overflow:hidden;width:100%}.appearance_page_custom-header #upload-form p label{font-size:12px}.appearance_page_custom-header .available-headers .default-header{float:left;margin:0 20px 20px 0}.appearance_page_custom-header .random-header{clear:both;margin:0 20px 20px 0;vertical-align:middle}.appearance_page_custom-header .available-headers label input,.appearance_page_custom-header .random-header label input{margin-right:10px}.appearance_page_custom-header .available-headers label img{vertical-align:middle}div#custom-background-image{min-height:100px;border:1px solid #dfdfdf}div#custom-background-image img{max-width:400px;max-height:300px}body.full-overlay-active{overflow:hidden}.wp-full-overlay{background:0 0;z-index:500000;overflow:visible;right:0;min-width:0}.wp-full-overlay-sidebar{box-sizing:border-box;width:300px;padding:0;margin:0;z-index:10;background:#eee;border-right:none}.widget,.wp-full-overlay-sidebar{-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.wp-full-overlay.collapsed,.wp-full-overlay.expanded .wp-full-overlay-sidebar{margin-left:0!important}.wp-full-overlay.expanded{margin-left:300px}.wp-full-overlay.collapsed .wp-full-overlay-sidebar{overflow:visible;margin-left:-300px}.wp-full-overlay-sidebar:after{content:'';display:block;position:absolute;top:0;bottom:0;right:0;width:3px;z-index:1000}.wp-full-overlay-main{position:absolute;left:0;right:0;top:0;bottom:0;height:100%}#customize-preview.wp-full-overlay-main{background:url(../images/spinner.gif) center center no-repeat;-webkit-background-size:20px 20px;background-size:20px 20px}#customize-preview.wp-full-overlay-main.iframe-ready{background:0 0}.wp-full-overlay-sidebar .wp-full-overlay-header{position:absolute;left:0;right:0;height:45px;padding:0 15px;line-height:45px;z-index:10;margin:0;border-top:none;-webkit-box-shadow:none;box-shadow:none}.wp-full-overlay-sidebar .wp-full-overlay-header a.back{margin-top:9px}.wp-full-overlay-sidebar .wp-full-overlay-footer{bottom:0;border-bottom:none;border-top:none;-webkit-box-shadow:none;box-shadow:none}.wp-full-overlay-sidebar .wp-full-overlay-sidebar-content{position:absolute;top:45px;bottom:45px;left:0;right:0;overflow:auto}.theme-install-overlay .wp-full-overlay-sidebar .wp-full-overlay-header{padding:0}.theme-install-overlay .close-full-overlay,.theme-install-overlay .next-theme,.theme-install-overlay .previous-theme{display:block;position:relative;float:left;width:45px;height:45px;padding-right:2px;background:#eee;border-right:1px solid #ddd;color:#444;cursor:pointer;text-decoration:none;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out}.theme-install-overlay .close-full-overlay:focus,.theme-install-overlay .close-full-overlay:hover,.theme-install-overlay .next-theme:focus,.theme-install-overlay .next-theme:hover,.theme-install-overlay .previous-theme:focus,.theme-install-overlay .previous-theme:hover{background:#ddd;border-color:#ccc;color:#000;outline:0;-webkit-box-shadow:none;box-shadow:none}.theme-install-overlay .close-full-overlay:before{font:400 22px/1 dashicons;content:"\f335";position:relative;top:7px;left:13px}.theme-install-overlay .previous-theme:before{font:400 20px/1 dashicons;content:"\f341";position:relative;top:6px;left:14px}.theme-install-overlay .next-theme:before{font:400 20px/1 dashicons;content:"\f345";position:relative;top:6px;left:13px}.theme-install-overlay .next-theme.disabled,.theme-install-overlay .next-theme.disabled:focus,.theme-install-overlay .next-theme.disabled:hover,.theme-install-overlay .previous-theme.disabled,.theme-install-overlay .previous-theme.disabled:focus,.theme-install-overlay .previous-theme.disabled:hover{color:#b4b9be;background:#eee;cursor:default;pointer-events:none}.wp-core-ui .wp-full-overlay .collapse-sidebar{position:fixed;bottom:8px;left:10px;padding:0;color:#656a6f;outline:0;line-height:1;background-color:transparent!important;border:none!important;-webkit-box-shadow:none!important;box-shadow:none!important;-webkit-border-radius:0!important;border-radius:0!important}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover{color:#0073aa}.wp-full-overlay .collapse-sidebar-arrow,.wp-full-overlay .collapse-sidebar-label{display:inline-block;vertical-align:middle;line-height:20px}.wp-full-overlay .collapse-sidebar-arrow{width:20px;height:20px;margin:0 2px;-webkit-border-radius:50%;border-radius:50%;overflow:hidden}.wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow,.wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-full-overlay .collapse-sidebar-label{margin-left:3px}.wp-full-overlay.collapsed .collapse-sidebar-label{display:none}.wp-full-overlay .collapse-sidebar-arrow:before{display:block;content:"\f148";background:#eee;font:400 20px/1 dashicons;speak:none;padding:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.rtl .wp-full-overlay .collapse-sidebar-arrow:before,.wp-full-overlay.collapsed .collapse-sidebar-arrow:before{-webkit-transform:rotate(180.001deg);-ms-transform:rotate(180.001deg);transform:rotate(180.001deg)}.rtl .wp-full-overlay.collapsed .collapse-sidebar-arrow:before{-webkit-transform:none;-ms-transform:none;transform:none}.wp-full-overlay,.wp-full-overlay .collapse-sidebar,.wp-full-overlay-main,.wp-full-overlay-sidebar{-webkit-transition-property:left,right,top,bottom,width,margin;transition-property:left,right,top,bottom,width,margin;-webkit-transition-duration:.2s;transition-duration:.2s}.customize-support .hide-if-customize,.customize-support .wp-core-ui .hide-if-customize,.customize-support.wp-core-ui .hide-if-customize,.no-customize-support .hide-if-no-customize,.no-customize-support .wp-core-ui .hide-if-no-customize,.no-customize-support.wp-core-ui .hide-if-no-customize{display:none}#customize-container{display:none;background:#fff;z-index:500000;position:fixed;overflow:visible;top:0;bottom:0;left:0;right:0;height:100%}.customize-active #customize-container{display:block}.customize-loading #customize-container iframe{opacity:0}.customize-loading #customize-container{background:url(../images/spinner.gif) center center no-repeat fixed #fff;-webkit-background-size:20px 20px;background-size:20px 20px}#customize-container iframe,.theme-install-overlay iframe{height:100%;width:100%;z-index:20;-webkit-transition:opacity .3s;transition:opacity .3s}#customize-controls{margin-top:0}.theme-install-overlay{display:none}.theme-install-overlay.single-theme{display:block}.install-theme-info{display:none;padding:10px 20px 60px}.single-theme .install-theme-info{padding-top:15px}.theme-install-overlay .install-theme-info{display:block}.install-theme-info .theme-install{float:right;margin-top:18px}.install-theme-info .theme-name{font-size:16px;line-height:24px;margin-bottom:0;margin-top:0}.install-theme-info .theme-screenshot{margin-top:15px;width:258px;border:1px solid #ccc}.install-theme-info .theme-details{overflow:hidden}.theme-details .theme-version{margin:15px 0;float:left}.theme-details .theme-description{float:left;color:#777;line-height:20px;max-width:100%}.theme-install-overlay .wp-full-overlay-header .theme-install{float:right;margin:8px 10px 0 0;line-height:26px}.theme-install-overlay .wp-full-overlay-sidebar{background:#eee;border-right:1px solid #ddd}.theme-install-overlay .wp-full-overlay-sidebar-content{background:#fff;border-top:1px solid #ddd;border-bottom:1px solid #ddd}.theme-install-overlay .wp-full-overlay-main{background:url(../images/spinner.gif) center center no-repeat #fff;-webkit-background-size:20px 20px;background-size:20px 20px}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.wp-full-overlay .collapse-sidebar-arrow{background-image:url(../images/arrows-2x.png);-webkit-background-size:15px 123px;background-size:15px 123px}#customize-preview.wp-full-overlay-main,.customize-loading #customize-container,.theme-install-overlay .wp-full-overlay-main{background-image:url(../images/spinner-2x.gif)}.theme-install-overlay .wp-full-overlay-header .theme-install{margin-top:2px}}@media screen and (max-width:782px){.available-theme .action-links .delete-theme{float:none;margin:0;padding:0;clear:both}.available-theme .action-links .delete-theme a{padding:0}.broken-themes table{width:100%}.theme-install-overlay .wp-full-overlay-header .theme-install{margin-top:6px;line-height:normal}}.about-wrap{position:relative;margin:25px 40px 0 20px;max-width:1050px;font-size:15px}.about-wrap .notice,.about-wrap div.error,.about-wrap div.updated{display:none!important}.about-wrap hr{border:0;height:0;margin:0;border-top:1px solid rgba(0,0,0,.1)}.about-wrap img{margin:0;max-width:100%;height:auto;vertical-align:middle}.about-wrap .jetpack-video-wrapper{margin-bottom:0}.wp-badge{background:url(../images/w-logo-white.png?ver=20131202) center 24px no-repeat #0073aa;-webkit-background-size:85px 85px;background-size:85px 85px;color:#78c8e6;font-size:14px;text-align:center;font-weight:600;margin:5px 0 0;padding-top:120px;height:40px;display:inline-block;width:150px;text-rendering:optimizeLegibility;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.2);box-shadow:0 1px 3px rgba(0,0,0,.2)}.svg .wp-badge{background-image:url(../images/wordpress-logo-white.svg?ver=20131110)}.about-wrap .wp-badge{position:absolute;top:0;right:0}.about-wrap h2.nav-tab-wrapper{padding-left:6px}.about-wrap h2 .nav-tab{padding:4px 15px 6px;margin:0 3px -1px 0;font-size:18px;vertical-align:top;border-width:1px}.about-wrap p{line-height:1.6em;font-size:14px}.about-wrap h1{margin:.2em 200px 0 0;padding:0;color:#32373c;line-height:1.2em;font-size:2.8em;font-weight:400}.about-wrap h3{margin:1.25em 0 .6em;font-size:1.25em;line-height:1.5em}.about-wrap h4{color:#23282d}.about-wrap code,.about-wrap ol li p{font-size:14px;font-weight:400}.about-wrap .about-description,.about-wrap .about-text{margin-top:1.4em;font-weight:400;line-height:1.6em;font-size:19px}.about-wrap .about-text{margin:1em 200px 1em 0;min-height:60px;color:#777}.about-wrap [class$=col] .col{float:left;position:relative}.about-wrap .two-col .col{margin-right:4.799999999%;width:47.6%}.about-wrap .three-col .col{margin-right:4.999999999%;width:29.95%}.about-wrap .three-col .col:nth-of-type(3n),.about-wrap .two-col .col:nth-of-type(2n){margin-right:0}.about-wrap .point-releases{margin-top:5px;border-bottom:1px solid #dfdfdf}.about-wrap .changelog.point-releases h3{padding-top:35px}.about-wrap .changelog.point-releases h3:first-child{padding-top:7px}.about-wrap .headline-feature h2{margin:50px 0 30px;font-size:2.2em;font-weight:300;line-height:1.3;text-align:left}.about-wrap .headline-feature h3{margin-top:30px;text-align:center}.about-wrap .feature-list h2{margin:30px 0 15px;text-align:center}.about-wrap .feature-section h4{margin:1.4em 0 .6em;font-size:1em}.about-wrap .feature-section p{margin-top:.6em}.about-wrap .feature-video{position:relative;margin:40px 0;padding-bottom:56.25%;width:100%;height:0;text-align:center}.about-wrap .feature-video embed{position:absolute;top:0;left:0;width:100%;height:100%}.about-wrap .featured-image{text-align:center}.about-wrap .feature-section{overflow:hidden;padding:0 0 40px;border-bottom:1px solid rgba(0,0,0,.1)}.about-wrap .headline-feature .feature-section{margin:0 auto;max-width:95%}.about-wrap .changelog.feature-section .col,.about-wrap .feature-section:not(.under-the-hood) .col{margin-top:40px}.about-wrap .feature-section .media-container{border:1px solid #ddd;overflow:hidden}.about-wrap .feature-section .svg-container{padding:50px 0;text-align:center;background-color:#e1e1e3}.about-wrap .feature-section .svg-container img{max-width:150px}.about-wrap .changelog{margin-bottom:40px}.about-wrap .return-to-dashboard{margin:30px 0 0 -5px;font-size:14px;font-weight:700}.about-wrap .return-to-dashboard a{text-decoration:none;padding:0 5px}.about-wrap .feature-list.finer-points h4,.about-wrap .feature-list.finer-points p{margin-left:115px}.about-wrap h4.wp-people-group{margin-top:2.6em;font-size:16px}.about-wrap ul.wp-people-group{overflow:hidden;padding:0 5px;margin:0 -15px 0 -5px}.about-wrap ul.compact{margin-bottom:0}.about-wrap li.wp-person{display:inline-block;vertical-align:top;margin-right:10px;padding-bottom:15px;height:70px;width:280px}.about-wrap ul.compact li.wp-person{height:auto;width:180px;padding-bottom:0;margin-bottom:0}.about-wrap li.wp-person img.gravatar{float:left;margin:0 10px 10px 0;padding:2px;width:60px;height:60px}.about-wrap ul.compact li.wp-person img.gravatar{width:30px;height:30px}.about-wrap li.wp-person a.web{display:block;margin:6px 0 2px;font-size:16px;font-weight:400;line-height:1.6em;text-decoration:none}.about-wrap #wp-people-group-validators+p.wp-credits-list{margin-top:0}.freedoms-php .about-wrap ol{margin:40px 60px}.freedoms-php .about-wrap ol li{list-style-type:decimal;font-weight:700}.freedoms-php .about-wrap ol p{font-weight:400;margin:.6em 0}@media screen and (max-width:782px){.about-wrap .feature-section{padding:0;border-bottom:none}.about-wrap [class$=col] .col{float:none;width:100%;margin:40px 0 0;padding:0 0 40px;border-bottom:1px solid rgba(0,0,0,.1)}.about-wrap .three-col img{display:block;margin:0 auto}.about-wrap .feature-list .col{margin:0;padding:0;border-bottom:none}.about-wrap .headline-feature .feature-section{max-width:100%}.about-wrap .feature-list .feature-section{padding:0 0 40px}}@media only screen and (max-width:500px){.about-wrap{margin-right:20px;margin-left:10px}.about-wrap .about-text,.about-wrap h1{margin-right:0}.about-wrap .about-text{margin-bottom:.25em}.about-wrap .wp-badge{position:relative;margin-bottom:1.5em;width:100%}.about-wrap h2.nav-tab-wrapper{padding-left:0;border-bottom:0}.about-wrap h2 .nav-tab{margin-top:10px;margin-right:10px;border-bottom:1px solid #ccc}.about-wrap .feature-section .svg-container{padding-top:20px;padding-bottom:20px}.about-wrap .headline-feature .feature-section .col,.about-wrap .three-col .col{width:100%!important;float:none!important}}@media only screen and (max-width:400px){.about-wrap .feature-list svg{margin-top:15px;height:65px;width:65px}.about-wrap .feature-list.finer-points h4,.about-wrap .feature-list.finer-points p{margin-left:80px}}.no-js #message{display:block}ul.add-menu-item-tabs li{padding:3px 5px 3px 8px}.accordion-section ul.add-menu-item-tabs,.accordion-section ul.category-tabs,.accordion-section ul.wp-tab-bar{margin:0}.accordion-section .categorychecklist{margin:13px 0}#nav-menu-meta .accordion-section-content{padding:18px 13px}#nav-menu-meta .button-controls{margin-bottom:0}#nav-menus-frame{margin-left:300px;margin-top:23px}#wpbody-content #menu-settings-column{display:inline;width:281px;margin-left:-300px;clear:both;float:left;padding-top:0}#menu-settings-column .inside{clear:both;margin:10px 0 0}.metabox-holder-disabled .accordion-section-content,.metabox-holder-disabled .accordion-section-title,.metabox-holder-disabled .postbox{opacity:.5;filter:alpha(opacity=50)}.metabox-holder-disabled .button-controls .select-all{display:none}#wpbody{position:relative}.blank-slate .menu-name{height:2em}.blank-slate .menu-settings{border:none;margin-top:0;padding-top:0;overflow:hidden}.is-submenu{color:#999;font-style:italic;font-weight:400;margin-left:4px}.manage-menus{margin-top:23px;padding:10px;overflow:hidden;background:#fbfbfb}.manage-menus select{float:left;margin-right:6px}.manage-menus .selected-menu{float:left;margin:5px 6px 0 0}.manage-menus .submit-btn{float:left;margin-top:1px}.menu-edit #post-body-content h3{margin:1em 0 10px}.menu-settings{border-top:1px solid #eee;margin-top:2em}.menu-settings dl{margin:0 0 10px;overflow:hidden;padding-left:18%}.menu-settings dd{float:left;margin:0;width:100%}.menu-settings dt{float:left;clear:both;width:21.951%;padding:3px 0 0;margin-left:-21.951%}.menu-settings label{vertical-align:baseline}.menu-edit .checkbox-input{margin-top:4px}.theme-location-set{color:#999;font-size:11px}#add-custom-link .howto,#cancel-save{font-size:12px}#menu-management-liquid{float:left;min-width:100%;margin-top:3px}#menu-management{position:relative;margin-right:20px;margin-top:-3px;width:100%;background:#f5f5f5}#menu-management .menu-edit{margin-bottom:20px}.nav-menus-php #post-body{padding:0 10px 10px;border-top:1px solid #fff;border-bottom:1px solid #dfdfdf;background:#fff}#nav-menu-footer,#nav-menu-header{padding:0 10px}#nav-menu-header{border-bottom:1px solid #dfdfdf;margin-bottom:0}#nav-menu-header .menu-name-label{margin-top:4px}.nav-menus-php #post-body div.error,.nav-menus-php #post-body div.updated{margin:0}.nav-menus-php #post-body-content{position:relative;float:none}#menu-management .menu-add-new abbr{font-weight:600}#select-nav-menu-container{text-align:right;padding:0 10px 3px;margin-bottom:5px}#select-nav-menu{width:100px;display:inline}#menu-name-label{margin-top:-2px}.widefat .menu-locations tr+tr td{padding-top:0}.widefat .menu-locations td{vertical-align:middle}.menu-location-title label{font-weight:700}.menu-location-menus select{float:left}#locations-nav-menu-wrapper{padding:5px 0}.locations-nav-menu-select select{float:left;width:160px;margin-right:5px}.locations-row-links{float:left;margin:6px 0 0 6px}.locations-add-menu-link,.locations-edit-menu-link{margin:0 3px}.locations-edit-menu-link{padding-right:3px;border-right:1px solid #ccc}#wpbody .open-label{display:block;float:left}#wpbody .open-label span{padding-right:10px}.js .input-with-default-title{color:#a0a5aa;font-style:italic}#menu-management .inside{padding:0 10px}.accordion-container .howto input,.postbox .howto input{width:180px;float:right}.accordion-container .outer-border{margin:0}.customlinkdiv .howto input{width:180px}.customlinkdiv p{margin-top:0}#nav-menu-theme-locations .howto select{width:100%}#nav-menu-theme-locations .button-controls{text-align:right}.add-menu-item-view-all{height:400px}#menu-container .submit{margin:0 0 10px;padding:0}.nav-menus-php .add-new-menu-action{float:left;margin:6px 0 0 6px;line-height:15px}.nav-menus-php .meta-sep,.nav-menus-php .submitcancel,.nav-menus-php .submitdelete{display:block;float:left;margin:6px 0;line-height:15px}.meta-sep{padding:0 2px}#cancel-save{text-decoration:underline;margin-left:20px;margin-top:5px}.button-primary.right,.button-secondary.right,.button.right{float:right}.list-controls{float:left;margin-top:5px}.add-to-menu{float:right}.button-controls{clear:both;margin:10px 0}.hide-all,.show-all{cursor:pointer}.hide-all{display:none}#menu-name{width:270px}#manage-menu .inside{padding:0}#available-links dt{display:block}#add-custom-link label span{display:block;float:left;margin-top:5px;padding-right:5px}.menu-item-textbox{width:180px}.nav-menus-php .howto span{margin-top:6px;display:block;float:left}.quick-search{width:190px}.quick-search-wrap .spinner{float:none;margin:0 5px}.nav-menus-php .list-wrap{display:none;clear:both;margin-bottom:10px}.nav-menus-php .postbox p.submit{margin-bottom:0}.nav-menus-php .list li{display:none;margin:0 0 5px}.nav-menus-php .list li .menu-item-title{cursor:pointer;display:block}.nav-menus-php .list li .menu-item-title input{margin-right:3px;margin-top:-3px}.menu-item-title input[type=checkbox]{display:inline-block;margin-top:-4px}#menu-container .inside{padding-bottom:10px}.menu{padding-top:1em}#menu-to-edit{margin:0;padding:.1em 0}.menu ul{width:100%}.menu li{margin-bottom:0;position:relative}.menu-item-bar{clear:both;line-height:1.5em;position:relative;margin:9px 0 0}.menu-item-bar .menu-item-handle{border:1px solid #dfdfdf;position:relative;padding:10px 15px;height:auto;min-height:20px;width:382px;line-height:30px;overflow:hidden;word-wrap:break-word}.menu-item-bar .menu-item-handle:hover{border-color:#999}#menu-to-edit .menu-item-invalid .menu-item-handle{background:#f6c9cc;border-color:#f1acb1}.no-js .menu-item-edit-active .item-edit{display:none}.js .menu-item-handle{cursor:move}#cancel-save,.item-controls a:hover,.js .sidebar-name{cursor:pointer}.menu li.deleting .menu-item-handle{background-image:none;background-color:#f66}.menu-item-handle .item-title{font-size:13px;font-weight:600;line-height:20px;display:block;margin-right:13em}.menu-item-handle .menu-item-title.no-title{color:#999}li.menu-item.ui-sortable-helper .menu-item-bar{margin-top:0}li.menu-item.ui-sortable-helper .menu-item-transport .menu-item-bar{margin-top:13px}.menu .sortable-placeholder{height:35px;width:410px;margin-top:13px}.menu-item .menu-item-transport:empty{display:none}.menu-item-depth-0{margin-left:0}.menu-item-depth-1{margin-left:30px}.menu-item-depth-2{margin-left:60px}.menu-item-depth-3{margin-left:90px}.menu-item-depth-4{margin-left:120px}.menu-item-depth-5{margin-left:150px}.menu-item-depth-6{margin-left:180px}.menu-item-depth-7{margin-left:210px}.menu-item-depth-8{margin-left:240px}.menu-item-depth-9{margin-left:270px}.menu-item-depth-10{margin-left:300px}.menu-item-depth-11{margin-left:330px}.menu-item-depth-0 .menu-item-transport{margin-left:0}.menu-item-depth-1 .menu-item-transport{margin-left:-30px}.menu-item-depth-2 .menu-item-transport{margin-left:-60px}.menu-item-depth-3 .menu-item-transport{margin-left:-90px}.menu-item-depth-4 .menu-item-transport{margin-left:-120px}.menu-item-depth-5 .menu-item-transport{margin-left:-150px}.menu-item-depth-6 .menu-item-transport{margin-left:-180px}.menu-item-depth-7 .menu-item-transport{margin-left:-210px}.menu-item-depth-8 .menu-item-transport{margin-left:-240px}.menu-item-depth-9 .menu-item-transport{margin-left:-270px}.menu-item-depth-10 .menu-item-transport{margin-left:-300px}.menu-item-depth-11 .menu-item-transport{margin-left:-330px}body.menu-max-depth-0{min-width:950px!important}body.menu-max-depth-1{min-width:980px!important}body.menu-max-depth-2{min-width:1010px!important}body.menu-max-depth-3{min-width:1040px!important}body.menu-max-depth-4{min-width:1070px!important}body.menu-max-depth-5{min-width:1100px!important}body.menu-max-depth-6{min-width:1130px!important}body.menu-max-depth-7{min-width:1160px!important}body.menu-max-depth-8{min-width:1190px!important}body.menu-max-depth-9{min-width:1220px!important}body.menu-max-depth-10{min-width:1250px!important}body.menu-max-depth-11{min-width:1280px!important}.item-type{display:inline-block;padding:12px 10px;color:#666;font-size:12px;line-height:18px}.item-controls{font-size:12px;position:absolute;right:20px;top:-1px}.item-controls a{text-decoration:none}.item-controls .item-order{padding-right:10px}.nav-menus-php .item-edit{position:absolute;right:-20px;top:0;display:block;width:30px;height:40px;margin-right:0!important;text-indent:100%;outline:0;overflow:hidden}.menu-instructions-inactive{display:none}.menu-item-settings{display:block;width:402px;padding:10px 0 10px 10px;position:relative;z-index:10;border:1px solid #e5e5e5;border-top:none;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04)}.menu-item-settings .field-move a{display:none;margin:0 2px}.menu-item-edit-active .menu-item-settings{display:block}.menu-item-edit-inactive .menu-item-settings{display:none}.add-menu-item-pagelinks{margin:.5em auto;text-align:center}.link-to-original{display:block;margin:0 0 10px;padding:3px 5px 5px;border:1px solid #dfdfdf;color:#777;font-size:12px;font-style:italic}.hidden-field,.nav-menus-php .blank-slate .menu-settings{display:none}.link-to-original a{padding-left:4px;font-style:normal}.menu-item-settings .description-thin,.menu-item-settings .description-wide{margin-right:10px;float:left}.description-thin{width:190px}.description-wide{width:390px}.menu-item-actions{padding-top:15px}.nav-menus-php .major-publishing-actions{clear:both;padding:3px 0 6px}.nav-menus-php .major-publishing-actions .publishing-action{text-align:right;float:right;line-height:23px;margin:4px 0 1px}.nav-menus-php .delete-action{float:left;margin-top:2px}.nav-menus-php .submitbox .submitcancel{border-bottom:1px solid #0073aa;padding:1px 2px;color:#0073aa;text-decoration:none}.nav-menus-php .submitbox .submitcancel:hover{background:#0073aa;color:#fff}.nav-menus-php .major-publishing-actions .form-invalid{padding-left:4px;margin-left:-4px}#menu-item-name-wrap:after,#menu-item-url-wrap:after,#menu-name-label:after,#menu-settings-column .inside:after,#nav-menus-frame:after,.nav-menus-php #post-body-content:after,.nav-menus-php .button-controls:after,.nav-menus-php .major-publishing-actions:after,.nav-menus-php .menu-item-settings:after{clear:both;content:".";display:block;height:0;visibility:hidden}#menu-item-name-wrap,#menu-item-url-wrap,#nav-menus-frame,.button-controls{display:block}@media screen and (max-width:782px){body.nav-menus-php{min-width:0!important}#nav-menus-frame{margin-left:0;float:none;width:100%}#wpbody-content #menu-settings-column{display:block;width:100%;float:none;margin-left:0}#side-sortables .add-menu-item-tabs{margin:15px 0 14px}ul.add-menu-item-tabs li.tabs{padding:13px 15px 14px}.nav-menus-php .item-controls .item-type{margin-top:2px}.nav-menus-php .customlinkdiv .howto input{width:65%}.nav-menus-php .quick-search{width:85%}#menu-management-liquid{margin-top:25px}.nav-menus-php .menu-name-label.howto span{margin-top:13px}.menu-name-label #menu-name{margin-top:4px}.nav-menus-php .major-publishing-actions .publishing-action{margin-top:6px}.nav-menus-php .delete-action{font-size:14px;line-height:50px;margin-top:12px}.description-wide,.menu-item-bar .menu-item-handle,.menu-item-settings{width:auto}.menu-item-settings{padding:10px}.menu-item-settings .description-thin,.menu-item-settings .description-wide,.menu-item-settings input{width:100%}.menu-item-settings input[type=checkbox],.menu-item-settings input[type=radio]{width:25px}.menu-settings dl{padding-left:0}.menu-settings dd{float:none;width:100%;margin-bottom:15px}.menu-settings dt{float:none;width:auto;margin-left:0;margin-bottom:15px}}@media only screen and (max-width:768px){#menu-locations-wrap .widefat{width:100%}}.widget{margin:0 auto 10px;position:relative;box-sizing:border-box}.widget-top{font-size:13px;font-weight:600;background:#f7f7f7}.widget-top a.widget-action,.widget-top a.widget-action:hover{-webkit-box-shadow:none;box-shadow:none;outline:0;text-decoration:none}.widget-title h4{margin:0;padding:15px;line-height:1;overflow:hidden;text-overflow:ellipsis;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.widgets-holder-wrap .widget-inside{border-top:none;padding:1px 15px 15px;line-height:16px}#available-widgets .widget-description,#widgets-right a.widget-control-edit,.in-widget-title{color:#666}.deleting .widget-title,.deleting .widget-top a.widget-action:after{color:#a0a5aa}.widget.ui-draggable-dragging{min-width:100%}.widget.ui-sortable-helper{opacity:.8}.widget-placeholder{border:1px dashed #b4b9be;margin:0 auto 10px;height:45px;width:100%;box-sizing:border-box}.sidebar-name,.widget-placeholder{-webkit-box-sizing:border-box;-moz-box-sizing:border-box}#widgets-right .widget-placeholder{margin-top:0}#widgets-right .closed .widget-placeholder{height:0;border:0;margin-top:-10px}.sidebar-name{position:relative;box-sizing:border-box}.sidebar-name-arrow{position:absolute;top:0;right:0;bottom:0}.sidebar-name h3{margin:0;padding:8px 10px;overflow:hidden}.widgets-holder-wrap .description{padding:0 0 15px;margin:0;font-style:normal;color:#777}#widgets-right .widgets-holder-wrap .description{padding-left:7px;padding-right:7px}div.widget-liquid-left{margin:0;width:38%;float:left}div.widget-liquid-right{float:right;width:58%}div#widgets-left{padding-top:12px}div#widgets-left .closed .sidebar-name,div#widgets-left .inactive-sidebar.closed .sidebar-name{margin-bottom:10px}div#widgets-left .sidebar-name h3{padding:10px 0;margin:0 10px 0 0}div#widgets-left .sidebar-name .sidebar-name-arrow:before{right:0;top:4px;padding:4px 6px 4px 4px}#widgets-left #available-widgets,div#widgets-left .widget-holder{background:0 0;border:none}#widgets-left .widgets-holder-wrap{border:none;-webkit-box-shadow:none;box-shadow:none}#available-widgets .widget-action{display:none}#available-widgets .widget{margin:0}#available-widgets .widget:nth-child(odd){clear:both}#available-widgets .widget .widget-description{display:block;padding:10px 15px;font-size:12px}#available-widgets #widget-list{position:relative}#widgets-left .inactive-sidebar{clear:both;width:100%;background:0 0;padding:0;margin:0 0 20px;border:none;-webkit-box-shadow:none;box-shadow:none}#widgets-left .inactive-sidebar.first{margin-top:40px}div#widgets-left .inactive-sidebar .widget.expanded{left:auto}.widget-title-action{float:right;position:relative}div#widgets-left .inactive-sidebar .widgets-sortables{min-height:42px;padding:0;background:0 0;margin:0;position:relative}div#widgets-right:after{content:".";display:block;height:0;clear:both;visibility:hidden}div#widgets-right .sidebars-column-1,div#widgets-right .sidebars-column-2{max-width:450px}div#widgets-right .widgets-holder-wrap{margin:10px 0 0}div#widgets-right .sidebar-description{min-height:20px;margin-top:-5px}div#widgets-right .sidebar-name h3{padding:15px 7px}div#widgets-right .sidebar-name .sidebar-name-arrow:before{right:0;top:4px}div#widgets-right .widget-top{padding:0}div#widgets-right .widgets-sortables{padding:0 8px;margin-bottom:9px;position:relative;min-height:123px}div#widgets-right .closed .widgets-sortables{min-height:0;margin-bottom:0}.sidebar-name .spinner{float:none;position:relative;top:-2px;margin:-5px 5px}#widgets-right .widgets-holder-wrap.widget-hover{border-color:#777;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.3);box-shadow:0 1px 2px rgba(0,0,0,.3)}.widgets_access #widgets-left .widget .widget-top{cursor:auto}.widgets_access #wpwrap .widget-control-edit,.widgets_access #wpwrap .widgets-holder-wrap.closed .sidebar-description,.widgets_access #wpwrap .widgets-holder-wrap.closed .widget{display:block}.widgets_access #widgets-left .widget .widget-top:hover,.widgets_access #widgets-right .widget .widget-top:hover{border-color:#ddd}#available-widgets .widget-control-edit .edit,#widgets-left .inactive-sidebar .widget-control-edit .add,#widgets-right .widget-control-edit .add{display:none}.editwidget .widget-inside,.widget-control-edit{display:block;padding:0 15px}.widget-control-edit{color:#666;background:#EEE;line-height:43px;border-left:1px solid #DDD}#widgets-left .widget-control-edit:hover,#widgets-right .widget-control-edit:hover{color:#fff;background:#444;border-left:0;outline:#444 solid 1px}.widgets-holder-wrap .sidebar-description,.widgets-holder-wrap .sidebar-name{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.editwidget{margin:0 auto}.editwidget .widget-control-actions{margin-top:20px}.js .closed br.clear,.js .widgets-holder-wrap.closed .sidebar-description,.js .widgets-holder-wrap.closed .widget{display:none}.js .widgets-holder-wrap.closed .widget.ui-sortable-helper{display:block}#access-off,.no-js .widget-holder .description,.widget-control-noform,.widget-description,.widget-inside,.widgets_access #access-on,.widgets_access .sidebar-name-arrow,.widgets_access .widget-action,.widgets_access .widget-holder .description{display:none}.widget-inside{background:#fff}#removing-widget{display:none;font-weight:400;padding-left:15px;font-size:12px;line-height:1;color:#000}.js #removing-widget{color:#00a0d2}.widgets_access #widget-list,.widgets_access .widget-holder{padding-top:10px}.widgets_access #access-off{display:inline}.widgets_access .sidebar-name,.widgets_access .widget .widget-top{cursor:default}.widget-liquid-left #widgets-left.chooser #available-widgets .widget,.widget-liquid-left #widgets-left.chooser .inactive-sidebar{-webkit-transition:opacity .1s linear;transition:opacity .1s linear;opacity:.2;pointer-events:none}.widget-liquid-left #widgets-left.chooser #available-widgets .widget-in-question{opacity:1;pointer-events:auto}#available-widgets .widget-top:hover,#widgets-left .widget-in-question .widget-top,#widgets-left .widget-top:hover,.widgets-chooser ul,div#widgets-right .widget-top:hover{border-color:#999;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.1);box-shadow:0 1px 2px rgba(0,0,0,.1)}.widgets-chooser ul.widgets-chooser-sidebars{margin:0;list-style-type:none;max-height:300px;overflow:auto}.widgets-chooser{display:none}.widgets-chooser ul{border:1px solid #ccc}.widgets-chooser li{padding:10px 15px 10px 35px;border-bottom:1px solid #ccc;background:#fff;margin:0;cursor:pointer;outline:0;position:relative;-webkit-transition:background .2s ease-in-out;transition:background .2s ease-in-out}.widgets-chooser li:focus,.widgets-chooser li:hover{background:rgba(255,255,255,.7)}.widgets-chooser li:focus:before{content:'\f147';display:block;-webkit-font-smoothing:antialiased;font:400 26px/1 dashicons;color:#999;position:absolute;top:7px;left:5px}.widgets-chooser li:last-child{border:none}.widgets-chooser li.widgets-chooser-selected{background:#00a0d2;color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{content:'\f147';display:block;-webkit-font-smoothing:antialiased;font:400 26px/1 dashicons;color:#fff;position:absolute;top:7px;left:5px}.locale-he-il em,.locale-zh-cn #local-time,.locale-zh-cn #utc-time,.locale-zh-cn .form-wrap p,.locale-zh-cn .howto,.locale-zh-cn .inline-edit-row fieldset span.checkbox-title,.locale-zh-cn .inline-edit-row fieldset span.title,.locale-zh-cn .js .input-with-default-title,.locale-zh-cn .link-to-original,.locale-zh-cn .tablenav .displaying-num,.locale-zh-cn p.description,.locale-zh-cn p.help,.locale-zh-cn p.install-help,.locale-zh-cn span.description{font-style:normal}.widgets-chooser .widgets-chooser-actions{padding:10px 0 12px;text-align:center}.widgets-chooser button{margin-right:5px}#available-widgets .widget .widget-top{cursor:pointer}#available-widgets .widget.ui-draggable-dragging .widget-top{cursor:move}@media screen and (max-width:480px){div.widget-liquid-left{width:100%;float:none;border-right:none;padding-right:0}#widgets-left #available-widgets .widget-top,#widgets-left .inactive-sidebar .widgets-sortables,#widgets-left .sidebar-name{margin-right:0}div.widget-liquid-right{width:100%;float:none}div.widget{margin:0 auto 10px!important;max-width:480px}}.locale-de-de #customize-header-actions .button,.locale-de-de-formal #customize-header-actions .button,.locale-ru-ru #customize-header-actions .button{padding:0 5px 1px}@media screen and (max-width:320px){div.widget{max-width:320px}}@media only screen and (min-width:1250px){#widgets-left #available-widgets .widget{width:49%;float:left}.widget.ui-draggable-dragging{min-width:49%}#widgets-left #available-widgets .widget:nth-child(even){float:right}#widgets-right .sidebars-column-1,#widgets-right .sidebars-column-2{float:left;width:49%}#widgets-right .sidebars-column-1{margin-right:2%}#widgets-right.single-sidebar .sidebars-column-1,#widgets-right.single-sidebar .sidebars-column-2{float:none;width:100%;margin:0}}.site-icon-preview .favicon-preview{margin:5px 0 20px;overflow:hidden;position:relative;max-width:180px}.site-icon-preview .browser-title,.site-icon-preview .favicon{height:16px;left:88px;overflow:hidden;position:absolute;top:16px}.site-icon-preview .favicon{width:16px}.site-icon-preview .browser-title{left:109px}.site-icon-preview .app-icon-preview{background-color:#000;-webkit-border-radius:16px;border-radius:16px;height:64px;overflow:hidden;width:64px;margin-top:5px}body.rtl,body.rtl .press-this a.wp-switch-editor{font-family:Tahoma,Arial,sans-serif}.rtl h1,.rtl h2,.rtl h3,.rtl h4,.rtl h5,.rtl h6{font-family:Arial,sans-serif;font-weight:700}body.locale-he-il,body.locale-he-il .press-this a.wp-switch-editor{font-family:Arial,sans-serif}.locale-he-il em{font-weight:700}.locale-zh-cn .hdnle a{font-size:12px}.locale-zh-cn form.upgrade .hint{font-style:normal;font-size:100%}.locale-zh-cn #sort-buttons{font-size:1em!important}.locale-de-de #customize-header-actions .spinner,.locale-de-de-formal #customize-header-actions .spinner{margin:16px 3px 0}.locale-ru-ru .inline-edit-row fieldset label span.title,.locale-ru-ru .inline-edit-row fieldset.inline-edit-date legend{width:8em}.locale-ru-ru .inline-edit-row fieldset .timestamp-wrap,.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap{margin-left:8em}.locale-ru-ru.post-new-php .tagsdiv .newtag,.locale-ru-ru.post-php .tagsdiv .newtag{width:165px}.locale-ru-ru.press-this .posting{margin-right:277px}.locale-ru-ru .press-this-sidebar{width:265px}.locale-ru-ru #customize-header-actions .spinner{margin:16px 3px 0}.locale-lt-lt .inline-edit-row fieldset label span.title,.locale-lt-lt .inline-edit-row fieldset.inline-edit-date legend{width:8em}.locale-lt-lt .inline-edit-row fieldset .timestamp-wrap,.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap{margin-left:8em}@media screen and (max-width:782px){.locale-lt-lt .inline-edit-row fieldset .timestamp-wrap,.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap,.locale-ru-ru .inline-edit-row fieldset .timestamp-wrap,.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap{margin-left:0}} \ No newline at end of file + */.ui-draggable-handle,.ui-sortable-handle{-ms-touch-action:none;touch-action:none}.accordion-section{border-bottom:1px solid #dfdfdf;margin:0}.accordion-section.open:hover{border-bottom-color:#dfdfdf}.accordion-section-content{display:none;padding:10px 20px 15px;overflow:hidden;background:#fff}.accordion-section-title{margin:0;padding:12px 15px 15px;position:relative;border-left:1px solid #dfdfdf;border-right:1px solid #dfdfdf;user-select:none}.js .accordion-section-title{cursor:pointer}.js .accordion-section-title:after{position:absolute;top:12px;right:10px;z-index:1}.accordion-section-title:focus{outline:0}.accordion-section-title:focus:after,.accordion-section-title:hover:after{border-color:#a0a5aa transparent}.cannot-expand .accordion-section-title{cursor:auto}.cannot-expand .accordion-section-title:after{display:none}.control-section .accordion-section-title{border-left:none;border-right:none;padding:10px 10px 11px 14px;line-height:21px;background:#fff}.control-section .accordion-section-title:after{top:11px}.js .control-section .accordion-section-title:focus,.js .control-section .accordion-section-title:hover,.js .control-section.open .accordion-section-title,.js .control-section:hover .accordion-section-title{color:#23282d;background:#f5f5f5}.control-section.open .accordion-section-title{border-bottom:1px solid #dfdfdf}.network-admin .edit-site-actions{margin-top:0}.my-sites{display:block;overflow:auto;zoom:1}.my-sites li{display:block;padding:8px 3%;min-height:130px;margin:0}@media only screen and (max-width:599px){.my-sites li{min-height:0}}@media only screen and (min-width:600px){.my-sites.striped li{background-color:#fff;position:relative}.my-sites.striped li:after{content:"";width:1px;height:100%;position:absolute;top:0;right:0;background:#ccc}}@media only screen and (min-width:600px) and (max-width:699px){.my-sites li{float:left;width:44%}.my-sites.striped li{background-color:#fff}.my-sites.striped li:nth-of-type(2n+1){clear:left}.my-sites.striped li:nth-of-type(2n+2):after{content:none}.my-sites li:nth-of-type(4n+1),.my-sites li:nth-of-type(4n+2){background-color:#f9f9f9}}@media only screen and (min-width:700px) and (max-width:1199px){.my-sites li{float:left;width:27.333333%;background-color:#fff}.my-sites.striped li:nth-of-type(3n+3):after{content:none}.my-sites li:nth-of-type(6n+1),.my-sites li:nth-of-type(6n+2),.my-sites li:nth-of-type(6n+3){background-color:#f9f9f9}}@media only screen and (min-width:1200px) and (max-width:1399px){.my-sites li{float:left;width:21%;padding:8px 2%;background-color:#fff}.my-sites.striped li:nth-of-type(4n+1){clear:left}.my-sites.striped li:nth-of-type(4n+4):after{content:none}.my-sites li:nth-of-type(8n+1),.my-sites li:nth-of-type(8n+2),.my-sites li:nth-of-type(8n+3),.my-sites li:nth-of-type(8n+4){background-color:#f9f9f9}}@media only screen and (min-width:1400px) and (max-width:1599px){.my-sites li{float:left;width:16%;padding:8px 2%;background-color:#fff}.my-sites.striped li:nth-of-type(5n+1){clear:left}.my-sites.striped li:nth-of-type(5n+5):after{content:none}.my-sites li:nth-of-type(10n+1),.my-sites li:nth-of-type(10n+2),.my-sites li:nth-of-type(10n+3),.my-sites li:nth-of-type(10n+4),.my-sites li:nth-of-type(10n+5){background-color:#f9f9f9}}@media only screen and (min-width:1600px){.my-sites li{float:left;width:12.666666%;padding:8px 2%;background-color:#fff}.my-sites.striped li:nth-of-type(6n+1){clear:left}.my-sites.striped li:nth-of-type(6n+6):after{content:none}.my-sites li:nth-of-type(12n+1),.my-sites li:nth-of-type(12n+2),.my-sites li:nth-of-type(12n+3),.my-sites li:nth-of-type(12n+4),.my-sites li:nth-of-type(12n+5),.my-sites li:nth-of-type(12n+6){background-color:#f9f9f9}}@media only screen and (min-width:769px){#col-left{width:35%}#col-right{width:65%}}@media only screen and (max-width:860px){#col-left{width:35%}#col-right{width:65%}}@media only screen and (min-width:980px){#col-left{width:35%}#col-right{width:65%}}@media only screen and (max-width:768px){#col-left,#col-right{width:100%}}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){div.star-holder,div.star-holder .star-rating{background:url(../images/stars-2x.png?ver=20121108) bottom left repeat-x;-webkit-background-size:21px 37px;background-size:21px 37px}.spinner{background-image:url(../images/spinner-2x.gif)}#bulk-titles div a,#bulk-titles div a:hover,#screen-meta-links a.show-settings,.curtime #timestamp,.meta-box-sortables .postbox:hover .handlediv,.sidebar-name-arrow,.sidebar-name:hover .sidebar-name-arrow,.tagchecklist span a,.tagchecklist span a:hover,.widget-top a.widget-action,.widget-top a.widget-action:hover{background:0 0!important}}@-ms-viewport{width:device-width}@media screen and (max-width:782px){#template div,#templateside{float:none;width:auto}html.wp-toolbar{padding-top:46px}body{min-width:240px;overflow-x:hidden}body *{-webkit-tap-highlight-color:rgba(0,0,0,0)!important}#wpcontent{position:relative;margin-left:0;padding-left:10px}#wpbody-content{padding-bottom:100px}.wrap{margin-right:12px;margin-left:0}.col-wrap{padding:0}#collapse-menu,#screen-meta,#screen-meta-links,.post-format-select{display:none!important}.wrap .add-new-h2,.wrap .add-new-h2:active,.wrap .page-title-action,.wrap .page-title-action:active{padding:10px 15px;font-size:14px;white-space:nowrap}.wp-color-result{height:auto;padding-left:45px}.wp-color-result:after{font-size:14px;height:auto;padding:6px 14px}.media-upload-form div.error,.notice,.wrap div.error,.wrap div.updated{margin:20px 0 10px;padding:5px 10px;font-size:14px;line-height:175%}.wp-core-ui .notice.is-dismissible{padding-right:46px}.notice-dismiss{padding:13px}.wrap .icon32+h2{margin-top:-2px}.wp-responsive-open #wpbody{right:-190px}code{word-wrap:break-word}.postbox{font-size:14px}.metabox-holder .postbox>h3,.metabox-holder .stuffbox>h3,.metabox-holder h2,.metabox-holder h3.hndle{padding:12px}.postbox .handlediv{margin-top:3px}.subsubsub{font-size:16px;text-align:center;margin-bottom:15px}#templateside li{margin:0}#templateside li a{display:block;padding:5px}#templateside .highlight{padding:5px;margin-left:-5px;margin-top:-5px}#template div{margin:0}#template textarea{width:100%}.fileedit-sub .alignright{margin-top:15px}#comments-form .checkforspam,#wpfooter{display:none}.edit-comment-author{margin:2px 0 0}.filter-drawer .filter-group-feature input,.filter-drawer .filter-group-feature label{line-height:25px}}@media screen and (max-width:600px){#wpwrap.wp-responsive-open,div#post-body.metabox-holder.columns-1{overflow-x:hidden}html.wp-toolbar{padding-top:0}#wpbody{padding-top:46px}.wrap h2.nav-tab-wrapper,h1.nav-tab-wrapper,h3.nav-tab-wrapper{padding-left:0;border-bottom:0}h1 .nav-tab,h2 .nav-tab,h3 .nav-tab{margin-top:10px;margin-right:10px;border-bottom:1px solid #ccc}}#pressthis-code-wrap,textarea{overflow:auto}@media screen and (max-width:320px){#network_dashboard_right_now .subsubsub{font-size:14px;text-align:left}}input,textarea{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type=text],input[type=password],input[type=checkbox],input[type=color],input[type=date],input[type=datetime],input[type=datetime-local],input[type=email],input[type=month],input[type=number],input[type=radio],input[type=tel],input[type=time],input[type=url],input[type=week],input[type=search],select,textarea{border:1px solid #ddd;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.07);box-shadow:inset 0 1px 2px rgba(0,0,0,.07);background-color:#fff;color:#32373c;outline:0;-webkit-transition:50ms border-color ease-in-out;transition:50ms border-color ease-in-out}input[type=text]:focus,input[type=password]:focus,input[type=checkbox]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime]:focus,input[type=datetime-local]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=radio]:focus,input[type=tel]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,input[type=search]:focus,select:focus,textarea:focus{border-color:#5b9dd9;-webkit-box-shadow:0 0 2px rgba(30,140,190,.8);box-shadow:0 0 2px rgba(30,140,190,.8)}input[type=number]{line-height:inherit}input[type=checkbox],input[type=radio]{border:1px solid #b4b9be;background:#fff;color:#555;clear:none;cursor:pointer;display:inline-block;line-height:0;height:16px;margin:-4px 4px 0 0;outline:0;padding:0!important;text-align:center;vertical-align:middle;width:16px;min-width:16px;-webkit-appearance:none;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1);-webkit-transition:.05s border-color ease-in-out;transition:.05s border-color ease-in-out}input[type=radio]:checked+label:before{color:#82878c}.wp-core-ui input[type=reset]:active,.wp-core-ui input[type=reset]:hover{color:#00a0d2}.wp-admin p input[type=checkbox],.wp-admin p input[type=radio],td>input[type=checkbox]{margin-top:0}.wp-admin p label input[type=checkbox]{margin-top:-4px}.wp-admin p label input[type=radio]{margin-top:-2px}input[type=radio]{-webkit-border-radius:50%;border-radius:50%;margin-right:4px;line-height:10px}input[type=checkbox]:checked:before,input[type=radio]:checked:before{float:left;display:inline-block;vertical-align:middle;width:16px;font:400 21px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}input[type=checkbox]:checked:before{content:"\f147";margin:-3px 0 0 -4px;color:#1e8cbe}input[type=radio]:checked:before{content:"\2022";text-indent:-9999px;-webkit-border-radius:50px;border-radius:50px;font-size:24px;width:6px;height:6px;margin:4px;line-height:16px;background-color:#1e8cbe}@-moz-document url-prefix(){.form-table input.tog,input[type=checkbox],input[type=radio]{margin-bottom:-1px}}input[type=search]{-webkit-appearance:textfield}input[type=search]::-webkit-search-decoration{display:none}.ie8 input[type=password]{font-family:sans-serif}button,input,select,textarea{font-family:inherit;font-size:inherit;font-weight:inherit}input,select,textarea{font-size:14px;-webkit-border-radius:0;border-radius:0}textarea{padding:2px 6px;line-height:1.4}.wp-admin input[type=file]{padding:3px 0}label{cursor:pointer}input,select{margin:1px;padding:3px 5px}input.code{padding-top:6px}textarea.code{line-height:1.4;padding:4px 6px 1px}input.readonly,input[readonly],textarea.readonly,textarea[readonly]{background-color:#eee}.wp-core-ui :-moz-placeholder,:-moz-placeholder{color:#a9a9a9}.form-invalid input,.form-invalid input:focus,.form-invalid select,.form-invalid select:focus{border-color:#dc3232!important;-webkit-box-shadow:0 0 2px rgba(204,0,0,.8);box-shadow:0 0 2px rgba(204,0,0,.8)}.form-table .form-required.form-invalid td:after{content:"\f534";font:400 20px/1 dashicons;color:#dc3232;margin-left:-25px;vertical-align:middle}.form-table .form-required.user-pass1-wrap.form-invalid td:after{content:''}.form-table .form-required.user-pass1-wrap.form-invalid .password-input-wrapper:after{content:'\f534';font:400 20px/1 dashicons;color:#dc3232;margin:0 6px 0 -29px;vertical-align:middle}.form-input-tip{color:#666}input.disabled,input:disabled,select.disabled,select:disabled,textarea.disabled,textarea:disabled{background:rgba(255,255,255,.5);border-color:rgba(222,222,222,.75);-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.04);box-shadow:inset 0 1px 2px rgba(0,0,0,.04);color:rgba(51,51,51,.5)}input[type=file].disabled,input[type=file]:disabled,input[type=range].disabled,input[type=range]:disabled{background:0 0;-webkit-box-shadow:none;box-shadow:none}input[type=checkbox].disabled,input[type=checkbox].disabled:checked:before,input[type=checkbox]:disabled,input[type=checkbox]:disabled:checked:before,input[type=radio].disabled,input[type=radio].disabled:checked:before,input[type=radio]:disabled,input[type=radio]:disabled:checked:before{opacity:.7}.wp-admin select{padding:2px;line-height:28px;height:28px}.wp-admin .button-cancel{padding:0 5px;line-height:2}.meta-box-sortables select{max-width:100%}.wp-admin select[multiple]{height:auto}.submit{padding:1.5em 0;margin:5px 0;-webkit-border-bottom-left-radius:3px;border-bottom-left-radius:3px;-webkit-border-bottom-right-radius:3px;border-bottom-right-radius:3px;border:none}p.submit{text-align:left;max-width:100%;margin-top:20px;padding-top:10px}.textright p.submit{border:none;text-align:right}table.form-table+input+input+p.submit,table.form-table+input+p.submit,table.form-table+p.submit{border-top:none;padding-top:0}#major-publishing-actions input,#minor-publishing-actions .preview,#minor-publishing-actions input{text-align:center}input.all-options,textarea.all-options{width:250px}input.large-text,textarea.large-text{width:99%}input.regular-text{width:25em}input.small-text{width:50px;padding:1px 6px}input[type=number].small-text{width:65px}input.tiny-text{width:35px}input[type=number].tiny-text{width:45px}#doaction,#doaction2,#post-query-submit{margin:1px 8px 0 0}.tablenav #changeit,.tablenav #clear-recent-list,.tablenav #delete_all,.wp-filter #delete_all{margin-top:1px}.tablenav .actions select{float:left;margin-right:6px;max-width:200px}.ie8 .tablenav .actions select{width:155px}.ie8 .tablenav .actions select#cat{width:200px}#timezone_string option{margin-left:1em}#upload-form label{color:#777}button.wp-hide-pw>.dashicons{position:relative;top:3px}#misc-publishing-actions label,.options-media-php label[for*="_size_"]{vertical-align:baseline}#misc-publishing-actions label[for=post_status]:before{content:"\f173";display:inline-block;font:400 20px/1 dashicons;speak:none;left:-1px;padding:0 5px 0 0;position:relative;top:0;text-decoration:none!important;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#pass1-text,.pw-weak,.show-password #pass1{display:none}#pass-strength-result{background-color:#eee;border:1px solid #ddd;color:#23282d;margin:-2px 5px 5px 1px;padding:3px 5px;text-align:center;width:25em;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;opacity:0}#pass-strength-result.short{background-color:#f1adad;border-color:#e35b5b;opacity:1}#pass-strength-result.bad{background-color:#fbc5a9;border-color:#f78b53;opacity:1}#pass-strength-result.good{background-color:#ffe399;border-color:#ffc733;opacity:1}#pass-strength-result.strong{background-color:#c1e1b9;border-color:#83c373;opacity:1}#pass1-text.short,#pass1.short{border-color:#e35b5b}#pass1-text.bad,#pass1.bad{border-color:#f78b53}#pass1-text.good,#pass1.good{border-color:#ffc733}#pass1-text.strong,#pass1.strong{border-color:#83c373}.indicator-hint{padding-top:8px}.show-password #pass1-text{display:inline-block}.form-table span.description.important{font-size:12px}p.search-box{float:right;margin:0}.network-admin.themes-php p.search-box{clear:left}.search-box input[name="s"],.tablenav .search-plugins input[name="s"],.tagsdiv .newtag{float:left;height:28px;margin:0 4px 0 0}input[type=text].ui-autocomplete-loading,input[type=email].ui-autocomplete-loading{background-image:url(../images/loading.gif);background-repeat:no-repeat;background-position:right center;visibility:visible}input.ui-autocomplete-input.open{border-bottom-color:transparent}ul#add-to-blog-users{margin:0 0 0 14px}.ui-autocomplete{padding:0;margin:0;list-style:none;position:absolute;z-index:10000;border:1px solid #5b9dd9;-webkit-box-shadow:0 1px 2px rgba(30,140,190,.8);box-shadow:0 1px 2px rgba(30,140,190,.8);background-color:#fff}.ui-autocomplete li{margin-bottom:0;padding:4px 10px;text-align:left}.ui-autocomplete li.ui-state-focus{background-color:#ddd;cursor:pointer}.form-table{margin-top:.5em;width:100%;clear:both}.form-table,.form-table td,.form-table td p,.form-table th,.form-wrap label{font-size:14px}.form-table td{margin-bottom:9px;padding:15px 10px;line-height:1.3;vertical-align:middle}.form-table th,.form-wrap label{color:#23282d;font-weight:400;text-shadow:none;vertical-align:baseline}.form-table th{vertical-align:top;text-align:left;padding:20px 10px 20px 0;width:200px;line-height:1.3;font-weight:600}.form-table th.th-full{width:auto;font-weight:400}.form-table td p{margin-top:4px;margin-bottom:0}.form-table td fieldset label{margin:.25em 0 .5em!important;display:inline-block}.form-table td fieldset label,.form-table td fieldset li,.form-table td fieldset p{line-height:1.4em}.form-table input.tog,.form-table input[type=radio]{margin-top:-4px;margin-right:4px;float:none}.form-table .pre{padding:8px;margin:0}table.form-table td .updated{font-size:13px}table.form-table td .updated p{font-size:13px;margin:.3em 0}#profile-page .form-table textarea{width:500px;margin-bottom:6px}#profile-page .form-table #rich_editing{margin-right:5px}#your-profile legend{font-size:22px}#display_name{width:15em}#adduser .form-field input,#createuser .form-field input{width:25em}.color-option{display:inline-block;width:24%;padding:5px 15px 15px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin-bottom:3px;cursor:pointer}.color-option.selected,.color-option:hover{background:#ddd}.color-palette{width:100%;border-spacing:0}.color-palette td{height:20px;padding:0;border:none}.tool-box .title{margin:8px 0;font-size:18px;font-weight:400;line-height:24px}.label-responsive{vertical-align:middle}#export-filters p{margin:0 0 1em}#export-filters p.submit{margin:7px 0 5px}.card{position:relative;margin-top:20px;padding:.7em 2em 1em;min-width:255px;max-width:520px;border:1px solid #e5e5e5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);background:#fff}.pressthis h4{margin:2em 0 1em}.pressthis textarea{width:100%;font-size:1em}.pressthis-bookmarklet-wrapper{margin:20px 0 8px;vertical-align:top;position:relative;z-index:1}.pressthis-bookmarklet,.pressthis-bookmarklet:active,.pressthis-bookmarklet:focus,.pressthis-bookmarklet:hover{display:inline-block;position:relative;cursor:move;color:#32373c;background:#e6e6e6;-webkit-border-radius:5px;border-radius:5px;border:1px solid #b4b4b4;font-style:normal;line-height:16px;font-size:14px;text-decoration:none}.pressthis-bookmarklet:active{outline:0}.pressthis-bookmarklet:after{content:"";width:70%;height:55%;z-index:-1;position:absolute;right:10px;bottom:9px;background:0 0;-webkit-transform:skew(20deg) rotate(6deg);-ms-transform:skew(20deg) rotate(6deg);transform:skew(20deg) rotate(6deg);-webkit-box-shadow:0 10px 8px rgba(0,0,0,.6);box-shadow:0 10px 8px rgba(0,0,0,.6)}.pressthis-bookmarklet:hover:after{-webkit-transform:skew(20deg) rotate(9deg);-ms-transform:skew(20deg) rotate(9deg);transform:skew(20deg) rotate(9deg);-webkit-box-shadow:0 10px 8px rgba(0,0,0,.7);box-shadow:0 10px 8px rgba(0,0,0,.7)}.pressthis-bookmarklet span{display:inline-block;margin:0;padding:0 12px 8px 9px}.pressthis-js-toggle,.pressthis-js-toggle.button.button{margin-left:10px;padding:0;height:auto;vertical-align:top}.pressthis-bookmarklet span:before{color:#777;font:400 20px/1 dashicons;content:"\f157";position:relative;display:inline-block;top:4px;margin-right:4px}.pressthis-js-toggle .dashicons{margin:5px 8px 6px 7px;color:#777}#local-time,#utc-time{padding-left:25px;font-style:italic}.defaultavatarpicker .avatar{margin:2px 0;vertical-align:middle}.options-general-php input.small-text{width:56px}.options-general-php .spinner{float:none;margin:0 3px}.options-general-php .language-install-spinner,.settings-php .language-install-spinner{display:inline-block;float:none;margin:-3px 5px 0;vertical-align:middle}.setup-php textarea{max-width:100%}.form-field #site-address{max-width:25em}.form-field #domain{max-width:22em}.form-field #admin-email,.form-field #blog_last_updated,.form-field #blog_registered,.form-field #path,.form-field #site-title{max-width:25em}#search-sites,#search-users,#the-comment-list td.comment img{max-width:100%}.form-field #path{margin-bottom:5px}.request-filesystem-credentials-dialog{display:none}.request-filesystem-credentials-dialog .notification-dialog{top:15%;max-height:85%}.request-filesystem-credentials-dialog-content{margin:25px}#request-filesystem-credentials-title{font-size:1.3em;margin:1em 0}.request-filesystem-credentials-form legend{font-size:1em;padding:1.33em 0;font-weight:600}.request-filesystem-credentials-form input[type=text],.request-filesystem-credentials-form input[type=password]{display:block}.request-filesystem-credentials-dialog input[type=text],.request-filesystem-credentials-dialog input[type=password]{width:100%}.request-filesystem-credentials-form .field-title{font-weight:600}.request-filesystem-credentials-dialog label[for=hostname],.request-filesystem-credentials-dialog label[for=public_key],.request-filesystem-credentials-dialog label[for=private_key]{display:block;margin-bottom:1em}.request-filesystem-credentials-dialog .ftp-password,.request-filesystem-credentials-dialog .ftp-username{float:left;width:48%}.request-filesystem-credentials-dialog .ftp-password{margin-left:4%}.request-filesystem-credentials-dialog .request-filesystem-credentials-action-buttons{text-align:right}.request-filesystem-credentials-dialog label[for=ftp]{margin-right:10px}#request-filesystem-credentials-dialog .button:not(:last-child){margin-right:10px}#request-filesystem-credentials-form .cancel-button{display:none}#request-filesystem-credentials-dialog .cancel-button{display:inline}@media screen and (max-width:782px){textarea{-webkit-appearance:none}input[type=text],input[type=password],input[type=email],input[type=number],input[type=search]{-webkit-appearance:none;padding:6px 10px}input.code{padding-bottom:5px;padding-top:10px}.widefat tfoot td input[type=checkbox],.widefat th input[type=checkbox],.widefat thead td input[type=checkbox],input[type=checkbox]{-webkit-appearance:none;padding:10px}.widefat tfoot td input[type=checkbox],.widefat th input[type=checkbox],.widefat thead td input[type=checkbox]{margin-bottom:8px}.widefat tfoot td input[type=checkbox]:before,.widefat th input[type=checkbox]:before,.widefat thead td input[type=checkbox]:before,input[type=checkbox]:checked:before{font:400 30px/1 dashicons;margin:-3px -5px}input[type=checkbox],input[type=radio]{height:25px;width:25px}.wp-admin p input[type=checkbox],.wp-admin p input[type=radio]{margin-top:-3px}input[type=radio]:checked:before{vertical-align:middle;width:9px;height:9px;margin:7px;line-height:16px}.wp-upload-form input[type=submit]{margin-top:10px}#wpbody select{height:36px;font-size:16px}.wp-admin .button-cancel{padding:0;font-size:14px}#adduser .form-field input,#createuser .form-field input{width:100%}.form-table{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.form-table td,.form-table th,.label-responsive{display:block;width:auto;vertical-align:middle}.label-responsive{margin:.5em 0}.export-filters li{margin-bottom:0}.form-table .color-palette td{display:table-cell;width:15px}.form-table table.color-palette{margin-right:10px}input,textarea{font-size:16px}#profile-page .form-table textarea,.form-table span.description,.form-table td input[type=text],.form-table td input[type=password],.form-table td input[type=email],.form-table td select,.form-table td textarea{width:100%;font-size:16px;line-height:1.5;padding:7px 10px;display:block;max-width:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.form-table .form-required.form-invalid td:after{float:right;margin:-30px 3px 0 0}#wpbody .form-table td select{height:40px}.form-table input[type=text].small-text,input[type=text].small-text,input[type=password].small-text,input[type=number].small-text,input[type=search].small-text{width:auto;max-width:55px;display:inline;padding:3px 6px;margin:0 3px}#pass-strength-result{width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:8px}p.search-box{float:none;position:absolute;bottom:0;width:98%;height:90px;margin-bottom:20px}p.search-box input[name="s"]{height:auto;float:none;width:100%;margin-bottom:10px;vertical-align:middle;-webkit-appearance:none}p.search-box input[type=submit]{margin-bottom:10px}.form-table span.description{display:inline;padding:4px 0 0;line-height:1.4em;font-size:14px}.form-table th{padding-top:10px;padding-bottom:0;border-bottom:0}.form-table td{margin-bottom:0;padding-bottom:6px;padding-top:4px;padding-left:0}.form-table.permalink-structure td code{margin-left:32px}.form-table.permalink-structure td input[type=text]{margin-left:32px;margin-top:4px;width:96%}.form-table input.regular-text{width:100%}.form-table label{font-size:14px}.form-table fieldset label{display:block}#utc-time{margin-top:10px}#local-time,#utc-time{display:block;float:none;padding:0;line-height:2}.form-field #domain{max-width:none}.wp-pwd{position:relative}.wp-pwd [type=text],.wp-pwd [type=password]{padding-right:40px}.wp-pwd button.button{background:0 0;border:none;-webkit-box-shadow:none;box-shadow:none;line-height:2;margin:0;padding:5px 10px;position:absolute;right:0;top:0}.wp-pwd button.button:active,.wp-pwd button.button:focus,.wp-pwd button.button:hover{background:0 0}.wp-pwd .button .text{display:none}}@media only screen and (max-width:768px){.form-field input[type=text],.form-field input[type=password],.form-field input[type=email],.form-field select,.form-field textarea{width:99%}.form-wrap .form-field{padding:0}#profile-page .form-table textarea{max-width:400px;width:auto}}@media only screen and (max-height:480px){.request-filesystem-credentials-dialog .notification-dialog{width:100%;height:100%;max-height:100%;position:fixed;top:0;margin:0;left:0}}@media screen and (max-width:600px){.color-option{width:49%}}#adminmenu,#adminmenu .wp-submenu,#adminmenuback,#adminmenuwrap{width:160px;background-color:#23282d}#adminmenuback{position:fixed;top:0;bottom:-120px;z-index:1}#adminmenu{clear:left;margin:12px 0;padding:0;list-style:none}.folded #adminmenu,.folded #adminmenu li.menu-top,.folded #adminmenuback,.folded #adminmenuwrap{width:36px}.icon16{height:18px;width:18px;padding:6px;margin:-6px 0 0 -8px;float:left}.icon16:before{color:#999;font:400 20px/1 dashicons;speak:none;padding:6px 0;height:34px;width:20px;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}.icon16.icon-dashboard:before{content:"\f226"}.icon16.icon-post:before{content:"\f109"}.icon16.icon-media:before{content:"\f104"}.icon16.icon-links:before{content:"\f103"}.icon16.icon-page:before{content:"\f105"}.icon16.icon-comments:before{content:"\f101";margin-top:1px}.icon16.icon-appearance:before{content:"\f100"}.icon16.icon-plugins:before{content:"\f106"}.icon16.icon-users:before{content:"\f110"}.icon16.icon-tools:before{content:"\f107"}.icon16.icon-settings:before{content:"\f108"}.icon16.icon-site:before{content:"\f112"}.icon16.icon-generic:before{content:"\f111"}.icon16.icon-appearance,.icon16.icon-comments,.icon16.icon-dashboard,.icon16.icon-generic,.icon16.icon-links,.icon16.icon-media,.icon16.icon-page,.icon16.icon-plugins,.icon16.icon-post,.icon16.icon-settings,.icon16.icon-site,.icon16.icon-tools,.icon16.icon-users,.menu-icon-appearance div.wp-menu-image,.menu-icon-comments div.wp-menu-image,.menu-icon-dashboard div.wp-menu-image,.menu-icon-generic div.wp-menu-image,.menu-icon-links div.wp-menu-image,.menu-icon-media div.wp-menu-image,.menu-icon-page div.wp-menu-image,.menu-icon-plugins div.wp-menu-image,.menu-icon-post div.wp-menu-image,.menu-icon-settings div.wp-menu-image,.menu-icon-site div.wp-menu-image,.menu-icon-tools div.wp-menu-image,.menu-icon-users div.wp-menu-image{background-image:none!important}#adminmenuwrap{position:relative;float:left;z-index:9990}#adminmenu *{user-select:none}.theme-overlay .current-label,.widget-title h3,.widget-title h4{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}#adminmenu li{margin:0;padding:0;cursor:pointer}#adminmenu a{display:block;line-height:18px;padding:2px 5px;color:#eee}#adminmenu .wp-submenu a{color:#b4b9be;color:rgba(240,245,250,.7)}#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover{background:0 0}#adminmenu .wp-submenu a:focus,#adminmenu .wp-submenu a:hover,#adminmenu a:hover,#adminmenu li.menu-top>a:focus{color:#00b9eb}#adminmenu li.menu-top{border:none;min-height:34px;position:relative}#adminmenu .wp-submenu{list-style:none;position:absolute;top:-1000em;left:160px;overflow:visible}#adminmenu .wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu,.folded #adminmenu a.wp-has-current-submenu:focus+.wp-submenu{padding:7px 0 8px;z-index:9999;background-color:#32373c;-webkit-box-shadow:0 3px 5px rgba(0,0,0,.2);box-shadow:0 3px 5px rgba(0,0,0,.2)}#adminmenu a.menu-top:focus+.wp-submenu,.js #adminmenu .opensub .wp-submenu,.js #adminmenu .sub-open,.no-js li.wp-has-submenu:hover .wp-submenu{top:-1px}#adminmenu .wp-has-current-submenu .wp-submenu,#adminmenu .wp-has-current-submenu .wp-submenu.sub-open,#adminmenu .wp-has-current-submenu.opensub .wp-submenu,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu,.no-js li.wp-has-current-submenu:hover .wp-submenu{position:relative;z-index:3;top:auto;left:auto;right:auto;bottom:auto;border:0;margin-top:0;-webkit-box-shadow:none;box-shadow:none;background-color:#32373c}#adminmenu li.menu-top:hover,#adminmenu li.opensub>a.menu-top,#adminmenu li>a.menu-top:focus{position:relative;background-color:#191e23;color:#00b9eb}.folded #adminmenu li.menu-top:hover,.folded #adminmenu li.opensub>a.menu-top,.folded #adminmenu li>a.menu-top:focus{z-index:10000}#adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head,#adminmenu .wp-menu-arrow,#adminmenu .wp-menu-arrow div,#adminmenu li.current a.menu-top,#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,.folded #adminmenu li.current.menu-top,.folded #adminmenu li.wp-has-current-submenu{background:#0073aa;color:#fff}.folded #adminmenu .opensub .wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu.sub-open,.folded #adminmenu .wp-has-current-submenu a.menu-top:focus+.wp-submenu,.folded #adminmenu .wp-has-current-submenu.opensub .wp-submenu,.folded #adminmenu .wp-submenu.sub-open,.folded #adminmenu a.menu-top:focus+.wp-submenu,.no-js.folded #adminmenu .wp-has-submenu:hover .wp-submenu{top:0;left:36px}.folded #adminmenu .wp-has-current-submenu .wp-submenu,.folded #adminmenu a.wp-has-current-submenu:focus+.wp-submenu{position:absolute;top:-1000em}#adminmenu .wp-not-current-submenu .wp-submenu,.folded #adminmenu .wp-has-current-submenu .wp-submenu{min-width:160px;width:auto}#adminmenu .wp-submenu a{font-size:13px;line-height:1.2;margin:0;padding:6px 0}#adminmenu .opensub .wp-submenu li.current a,#adminmenu .wp-submenu li.current,#adminmenu .wp-submenu li.current a,#adminmenu .wp-submenu li.current a:focus,#adminmenu .wp-submenu li.current a:hover,#adminmenu a.wp-has-current-submenu:focus+.wp-submenu li.current a{color:#fff}#adminmenu .wp-not-current-submenu li>a,.folded #adminmenu .wp-has-current-submenu li>a{padding-right:16px;padding-left:14px;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}#adminmenu .wp-has-current-submenu ul>li>a,.folded #adminmenu li.menu-top .wp-submenu>li>a{padding:6px 12px}#adminmenu .wp-submenu-head,#adminmenu a.menu-top{font-size:14px;font-weight:400;line-height:18px;padding:0}#adminmenu .wp-submenu-head{display:none}.folded #adminmenu .wp-menu-name{position:absolute;left:-999px}.folded #adminmenu .wp-submenu-head{display:block}#adminmenu .wp-submenu li{padding:0;margin:0;overflow:hidden}#adminmenu .wp-menu-image img{padding:9px 0 0;opacity:.6;filter:alpha(opacity=60)}#adminmenu div.wp-menu-name{padding:8px 0}#adminmenu div.wp-menu-image{float:left;width:36px;height:34px;margin:0;text-align:center}#adminmenu div.wp-menu-image.svg{background-repeat:no-repeat;background-position:center;-webkit-background-size:20px auto;background-size:20px auto}div.wp-menu-image:before{color:#a0a5aa;color:rgba(240,245,250,.6);padding:7px 0;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}#adminmenu div.wp-menu-image:before{color:#a0a5aa;color:rgba(240,245,250,.6)}#adminmenu .current div.wp-menu-image:before,#adminmenu .wp-has-current-submenu div.wp-menu-image:before,#adminmenu a.current:hover div.wp-menu-image:before,#adminmenu a.wp-has-current-submenu:hover div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,#adminmenu li.wp-has-current-submenu:hover div.wp-menu-image:before{color:#fff}#adminmenu li a:focus div.wp-menu-image:before,#adminmenu li.opensub div.wp-menu-image:before,#adminmenu li:hover div.wp-menu-image:before{color:#00b9eb}.ie8 #adminmenu li.opensub div.wp-menu-image:before{color:#a0a5aa}.folded #adminmenu div.wp-menu-image{width:35px;height:30px;position:absolute;z-index:25}.folded #adminmenu a.menu-top{height:34px}.no-font-face #adminmenu .wp-menu-image{display:none}.no-font-face #adminmenu div.wp-menu-name{padding:8px 12px}.no-font-face.auto-fold #adminmenu .wp-menu-name{margin-left:0}.sticky-menu #adminmenuwrap{position:fixed}.wp-menu-arrow{display:none!important}ul#adminmenu a.wp-has-current-submenu{position:relative}ul#adminmenu a.wp-has-current-submenu:after,ul#adminmenu>li.current>a.current:after{right:0;border:8px solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none;border-right-color:#f1f1f1;top:50%;margin-top:-8px}.folded ul#adminmenu li:hover a.wp-has-current-submenu:after{display:none}.folded ul#adminmenu a.wp-has-current-submenu:after,.folded ul#adminmenu>li a.current:after{border-width:4px;margin-top:-4px}#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after{right:0;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none;border-width:8px;top:10px;z-index:10000}.folded ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after{border-width:4px;margin-top:-4px;top:18px}#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after{border-right-color:#32373c}#adminmenu li.menu-top:hover .wp-menu-image img,#adminmenu li.wp-has-current-submenu .wp-menu-image img{opacity:1;filter:alpha(opacity=100)}#adminmenu li.wp-menu-separator{height:5px;padding:0;margin:0 0 6px;cursor:inherit}#adminmenu div.separator{height:2px;padding:0}#collapse-button,#collapse-button div{height:15px;width:15px}#adminmenu .wp-submenu .wp-submenu-head{color:#fff;font-weight:400;font-size:14px;padding:8px 4px 8px 11px;margin:-7px 0 4px}#adminmenu li.current,.folded #adminmenu li.wp-menu-open{border:0}#adminmenu .awaiting-mod,#adminmenu .update-plugins{display:inline-block;background-color:#d54e21;color:#fff;font-size:9px;line-height:17px;font-weight:600;margin:1px 0 0 2px;vertical-align:top;-webkit-border-radius:10px;border-radius:10px;z-index:26}#adminmenu li .awaiting-mod span,#adminmenu li span.update-plugins span{display:block;padding:0 6px}#adminmenu li span.count-0,.folded #collapse-menu span{display:none}#adminmenu li a.wp-has-current-submenu .update-plugins,#adminmenu li.current a .awaiting-mod{background-color:#00b9eb;color:#fff}#collapse-menu{font-size:13px;line-height:34px;margin-top:10px;color:#a0a5aa;color:rgba(240,245,250,.6);-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}#collapse-menu:hover,#collapse-menu:hover #collapse-button div:after{color:#00b9eb}#collapse-button{float:left;margin:10px 8px 10px 11px;-webkit-border-radius:10px;border-radius:10px}#wpwrap #collapse-button div{padding:0}#collapse-button div:after{content:"\f148";display:block;line-height:15px;left:-3px;top:-3px;color:#a0a5aa;color:rgba(240,245,250,.6);font:400 20px/1 dashicons!important;speak:none;margin:0 auto;padding:0!important;position:relative;text-align:center;width:20px;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.folded #collapse-button div:after,.rtl #collapse-button div:after{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.rtl.folded #collapse-button div:after{-webkit-transform:none;-ms-transform:none;transform:none}.customize-support #menu-appearance a[href="themes.php?page=custom-header"],.customize-support #menu-appearance a[href="themes.php?page=custom-background"],li#wp-admin-bar-menu-toggle{display:none}@media only screen and (max-width:960px){.auto-fold #wpcontent,.auto-fold #wpfooter{margin-left:36px}.auto-fold #adminmenu,.auto-fold #adminmenu li.menu-top,.auto-fold #adminmenuback,.auto-fold #adminmenuwrap{width:36px}.auto-fold #adminmenu .opensub .wp-submenu,.auto-fold #adminmenu .wp-has-current-submenu .wp-submenu.sub-open,.auto-fold #adminmenu .wp-has-current-submenu a.menu-top:focus+.wp-submenu,.auto-fold #adminmenu .wp-has-current-submenu.opensub .wp-submenu,.auto-fold #adminmenu .wp-submenu.sub-open,.auto-fold #adminmenu a.menu-top:focus+.wp-submenu{top:0;left:36px}.auto-fold #adminmenu .wp-has-current-submenu .wp-submenu,.auto-fold #adminmenu a.wp-has-current-submenu:focus+.wp-submenu{position:absolute;top:-1000em;margin-right:-1px;padding:7px 0 8px;z-index:9999}.auto-fold #adminmenu .wp-has-current-submenu .wp-submenu{min-width:150px;width:auto}.auto-fold #adminmenu .wp-has-current-submenu li>a{padding-right:16px;padding-left:14px}.auto-fold #adminmenu li.menu-top .wp-submenu>li>a{padding-left:12px}.auto-fold #adminmenu .wp-menu-name{position:absolute;left:-999px}.auto-fold #adminmenu .wp-submenu-head{display:block}.auto-fold #adminmenu div.wp-menu-image{height:30px;width:34px;position:absolute;z-index:25}.auto-fold #adminmenu a.menu-top{height:34px}.auto-fold #adminmenu li.wp-menu-open{border:0}.auto-fold #adminmenu .wp-has-current-submenu.menu-top-last{margin-bottom:0}.auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after{display:none}.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after{border-width:4px;margin-top:-4px;top:16px}.auto-fold ul#adminmenu a.wp-has-current-submenu:after,.auto-fold ul#adminmenu>li a.current:after{border-width:4px;margin-top:-4px}.auto-fold #adminmenu li.menu-top:hover,.auto-fold #adminmenu li.opensub>a.menu-top,.auto-fold #adminmenu li>a.menu-top:focus{z-index:10000}.auto-fold #collapse-menu span{display:none}.auto-fold #collapse-button div{background:0 0}.auto-fold #collapse-button div:after{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.rtl.auto-fold #collapse-button div:after{-webkit-transform:none;-ms-transform:none;transform:none}}@media screen and (max-width:782px){.auto-fold #wpcontent{position:relative;margin-left:0;padding-left:10px}.sticky-menu #adminmenuwrap{position:relative;z-index:auto;top:0}.auto-fold #adminmenu,.auto-fold #adminmenuback,.auto-fold #adminmenuwrap{position:absolute;width:190px;z-index:100}.auto-fold #adminmenuback,.auto-fold #adminmenuwrap{display:none}.auto-fold .wp-responsive-open #adminmenuback,.auto-fold .wp-responsive-open #adminmenuwrap{display:block}.auto-fold #adminmenu li.menu-top{width:100%}.auto-fold #adminmenu li a{font-size:16px;padding:5px}.auto-fold #adminmenu li.menu-top .wp-submenu>li>a{padding:10px 10px 10px 20px}.auto-fold #adminmenu .wp-menu-name{position:static;margin-left:35px}.auto-fold ul#adminmenu a.wp-has-current-submenu:after,.auto-fold ul#adminmenu>li.current>a.current:after{border-width:8px;margin-top:-8px}.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after{display:none}#adminmenu .wp-submenu{position:relative;display:none}.auto-fold #adminmenu .selected .wp-submenu,.auto-fold #adminmenu .wp-menu-open .wp-submenu{position:relative;display:block;top:0;left:-1px;-webkit-box-shadow:none;box-shadow:none}.auto-fold #adminmenu .selected .wp-submenu:after,.auto-fold #adminmenu .wp-menu-open .wp-submenu:after{display:none}.auto-fold #adminmenu .opensub .wp-submenu{display:none}.auto-fold #adminmenu .selected .wp-submenu{display:block}.auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after{display:block}.auto-fold #adminmenu .wp-has-current-submenu a.menu-top:focus+.wp-submenu,.auto-fold #adminmenu a.menu-top:focus+.wp-submenu{position:relative;left:-1px;right:0;top:0}#adminmenu .wp-submenu .wp-submenu-head{display:none}#wp-responsive-toggle{position:fixed;top:5px;left:4px;padding-right:10px;z-index:99999;border:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#wpadminbar #wp-admin-bar-menu-toggle a{display:block;padding:0;overflow:hidden;outline:0;text-decoration:none;border:1px solid transparent;background:0 0;height:44px;margin-left:-1px}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a{background:#32373c}li#wp-admin-bar-menu-toggle{display:block}#wpadminbar #wp-admin-bar-menu-toggle a:hover{border:1px solid transparent}#wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{content:"\f228";display:inline-block;float:left;font:400 40px/45px dashicons;vertical-align:middle;outline:0;margin:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;height:44px;width:50px;padding:0;border:none;text-align:center;text-decoration:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before{color:#00b9eb}}.postbox,.welcome-panel{-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04)}@media screen and (max-width:600px){#adminmenuback,#adminmenuwrap{display:none}.wp-responsive-open #adminmenuback,.wp-responsive-open #adminmenuwrap{display:block}.auto-fold #adminmenu{top:46px}}#wpbody-content #dashboard-widgets.columns-1 .postbox-container{width:100%}#wpbody-content #dashboard-widgets.columns-2 .postbox-container{width:49.5%}#wpbody-content #dashboard-widgets.columns-2 #postbox-container-2,#wpbody-content #dashboard-widgets.columns-2 #postbox-container-3,#wpbody-content #dashboard-widgets.columns-2 #postbox-container-4{float:right;width:50.5%}#wpbody-content #dashboard-widgets.columns-3 .postbox-container{width:33.5%}#wpbody-content #dashboard-widgets.columns-3 #postbox-container-1{width:33%}#wpbody-content #dashboard-widgets.columns-3 #postbox-container-3,#wpbody-content #dashboard-widgets.columns-3 #postbox-container-4{float:right}#dashboard-widgets .postbox-container,#wpbody-content #dashboard-widgets.columns-4 .postbox-container{width:25%}#dashboard-widgets-wrap .columns-3 #postbox-container-4 .empty-container{border:none!important}.ie8 #wpbody-content #dashboard-widgets .postbox-container{width:49.5%}.ie8 #wpbody-content #dashboard-widgets #postbox-container-2,.ie8 #wpbody-content #dashboard-widgets #postbox-container-3,.ie8 #wpbody-content #dashboard-widgets #postbox-container-4{float:right;width:50.5%}.ie8 #dashboard-widgets #postbox-container-3 .empty-container,.ie8 #dashboard-widgets #postbox-container-4 .empty-container{border:0;height:0;min-height:0}#dashboard-widgets-wrap{overflow:hidden;margin:0 -8px}#dashboard-widgets .postbox .inside{margin-bottom:0}#dashboard-widgets .meta-box-sortables{margin:0 8px;min-height:100px}#the-comment-list td.comment p.comment-author{margin-top:0;margin-left:0}#the-comment-list p.comment-author img{float:left;margin-right:8px}#the-comment-list p.comment-author strong a{border:none}#the-comment-list td{vertical-align:top}.welcome-panel{position:relative;overflow:auto;margin:16px 0;padding:23px 10px 0;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,.04);background:#fff;font-size:13px;line-height:2.1em}#replysubmit,.dashboard-widget-control-form,.mu-storage,.tablenav .actions,th.sortable a,th.sorted a{overflow:hidden}.welcome-panel h2{margin:0;font-size:21px;font-weight:400;line-height:1.2}.welcome-panel h3{margin:1.33em 0 0;font-size:16px}.welcome-panel li{font-size:14px}.welcome-panel p{color:#777}.welcome-panel a{text-decoration:none}.welcome-panel .about-description{font-size:16px;margin:0}.welcome-panel .welcome-panel-close{position:absolute;top:10px;right:10px;padding:10px 15px 10px 21px;font-size:13px;line-height:1.23076923;text-decoration:none}.welcome-panel .welcome-panel-close:before{position:absolute;top:8px;left:0;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}.wp-core-ui .welcome-panel .button.button-hero{margin:15px 13px 3px 0;padding:12px 36px;height:auto;line-height:1.4285714;white-space:normal}.welcome-panel-content{margin-left:13px;max-width:1500px}.welcome-panel .welcome-panel-column-container{clear:both;position:relative}.welcome-panel .welcome-panel-column{width:32%;min-width:200px;float:left}.ie8 .welcome-panel .welcome-panel-column{min-width:230px}.welcome-panel .welcome-panel-column:first-child{width:36%}.welcome-panel-column p.hide-if-no-customize{margin-top:10px}.welcome-panel-column p{margin-top:7px;color:#464646}.welcome-panel .welcome-icon{background:0 0!important}.welcome-panel .welcome-icon:before{color:#82878c;font:400 20px/1 dashicons;speak:none;display:inline-block;padding:0 10px 0 0;top:-1px;position:relative;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;vertical-align:top}.welcome-panel .welcome-edit-page:before,.welcome-panel .welcome-write-blog:before{content:"\f119";top:-3px}.welcome-panel .welcome-add-page:before{content:"\f132"}.welcome-panel .welcome-view-site:before{content:"\f115";top:-2px}.welcome-panel .welcome-widgets-menus:before{content:"\f116";top:-2px}.welcome-panel .welcome-comments:before{content:"\f117";top:-1px}.welcome-panel .welcome-learn-more:before{content:"\f118";top:-1px}.welcome-panel .welcome-widgets-menus{line-height:16px}.welcome-panel .welcome-panel-column ul{margin:.8em 1em 1em 0}.welcome-panel .welcome-panel-column li{line-height:16px;list-style-type:none;padding:0 0 8px}#dashboard_primary .inside{margin:0;padding:0}#dashboard_primary .dashboard-widget-control-form,#dashboard_primary .widget-loading{padding:12px 12px 0}body #dashboard-widgets .postbox form .submit{margin:0}.dashboard-widget-control-form p{margin-top:0}.rssSummary{color:#777;margin-top:4px}#dashboard_primary .rss-widget{border-bottom:1px solid #eee;font-size:13px;padding:8px 12px 10px}#dashboard_primary .rss-widget:last-child{border-bottom:none;padding-bottom:8px}#dashboard_primary .rss-widget a{font-weight:400}#dashboard_primary .rss-widget span,#dashboard_primary .rss-widget span.rss-date{color:#777}#dashboard_primary .rss-widget span.rss-date{margin-left:12px}#dashboard_primary .rss-widget ul li{margin-bottom:8px}#dashboard_right_now ul{margin:0;display:inline-block;width:100%}#dashboard_right_now li{width:50%;float:left;margin-bottom:10px}#dashboard_right_now .inside{padding:0}#dashboard_right_now .main{padding:0 12px 11px}#dashboard_right_now .main p{margin:0}#dashboard_right_now #wp-version-message .button{float:right;position:relative;top:-5px;margin-left:5px}#dashboard-widgets h3.mu-storage{margin:0 0 10px;padding:0;font-size:14px;font-weight:400}#dashboard_right_now li a:before,#dashboard_right_now li span:before{color:#82878c}#dashboard_right_now .sub{color:#777;background:#f5f5f5;border-top:1px solid #eee;padding:10px 12px 6px}#dashboard_right_now .sub h3{color:#555}#dashboard_right_now .sub p{margin:0 0 1em}#dashboard_right_now .warning a:before,#dashboard_right_now .warning span:before{color:#d54e21}#dashboard_quick_press .drafts li time,#title-wrap #title-prompt-text,.textarea-wrap #content-prompt-text{color:#777}#dashboard_right_now li a:before,#dashboard_right_now li span:before{content:"\f159";font:400 20px/1 dashicons;speak:none;display:block;float:left;margin:0 5px 0 0;padding:0;text-indent:0;text-align:center;position:relative;-webkit-font-smoothing:antialiased;text-decoration:none!important}#dashboard_right_now .page-count a:before,#dashboard_right_now .page-count span:before{content:"\f105"}#dashboard_right_now .post-count a:before,#dashboard_right_now .post-count span:before{content:"\f109"}#dashboard_right_now .comment-count a:before{content:"\f101"}#dashboard_right_now .comment-mod-count a:before{content:"\f125"}#dashboard_right_now .storage-count a:before{content:"\f104"}#dashboard_right_now .storage-count.warning a:before{content:"\f153"}#dashboard_quick_press .inside{margin:0;padding:0}#dashboard_quick_press div.updated{margin-bottom:10px;border:1px solid #eee;border-width:1px 1px 1px 0}#dashboard_quick_press form{margin:12px}#dashboard_quick_press .drafts,#dashboard_quick_press .easy-blogging{padding:10px 0 0}input#save-post{float:left}form.initial-form.quickpress-open label.prompt{font-style:normal}form.initial-form.quickpress-open input#title{height:auto}#dashboard_quick_press input,#dashboard_quick_press textarea{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:0}#description-wrap{margin-top:12px}.input-text-wrap,.textarea-wrap{position:relative}.input-text-wrap .prompt,.textarea-wrap .prompt{position:absolute}.textarea-wrap #content-prompt-text{font-size:1.1em;padding:7px 8px}.textarea-wrap textarea#content{margin:0 0 8px;padding:6px 7px}#quick-press textarea#content{min-height:90px;max-height:1300px;resize:none}.js #dashboard_quick_press .drafts{border-top:1px solid #eee}#dashboard_quick_press .drafts abbr{border:none}#dashboard_quick_press .drafts .view-all{float:right;margin:0 12px 0 0}#dashboard_primary a.rsswidget{font-weight:400}#dashboard_quick_press .drafts ul{margin:0 12px}#dashboard_quick_press .drafts li{margin-bottom:1em}#dashboard_quick_press .drafts p{margin:0;word-wrap:break-word}#dashboard_quick_press .draft-title a,#dashboard_quick_press .draft-title time{margin:0 5px 0 0}#dashboard-widgets h3,#dashboard-widgets h4,#dashboard_quick_press .drafts h2{margin:0 12px 8px;padding:0;font-size:14px;font-weight:400;color:#23282d}#dashboard_quick_press .drafts h2{line-height:inherit}#dashboard-widgets .inside h3,#dashboard-widgets .inside h4{margin-left:0;margin-right:0}#dashboard_activity .comment-meta span.approve:before{content:"\f227";font:20px/.5 dashicons;margin-left:12px;vertical-align:middle;position:relative;top:-1px;margin-right:2px}#dashboard_activity .inside{margin:0;padding-bottom:0}#dashboard_activity .no-activity{overflow:hidden;padding:0 0 12px;text-align:center}#dashboard_activity .no-activity p{color:#999;font-size:16px}#dashboard_activity .no-activity .smiley{margin-top:0}#dashboard_activity .no-activity .smiley:before{content:"\f328";font:400 120px/1 dashicons;speak:none;display:block;margin:0 5px 0 0;padding:0;text-indent:0;text-align:center;position:relative;-webkit-font-smoothing:antialiased;text-decoration:none!important}#dashboard-widgets h3 a,#dashboard_browser_nag a{text-decoration:underline}#dashboard_activity .subsubsub{float:none;border-top:1px solid #eee;margin:0 -12px;padding:8px 12px 4px}#future-posts ul,#published-posts ul{clear:both;margin-bottom:0}#future-posts li,#published-posts li{margin-bottom:8px}#future-posts ul span,#published-posts ul span{display:inline-block;margin-right:5px;min-width:150px;color:#777}.activity-block{border-bottom:1px solid #eee;margin:0 -12px;padding:8px 12px 4px}.activity-block:last-child{border-bottom:none}.activity-block .subsubsub li{color:#ddd}#activity-widget #the-comment-list div.undo,#activity-widget #the-comment-list tr.undo{background:0 0;padding:6px 0;margin-left:12px}#activity-widget #the-comment-list .comment-item{background:#fafafa;padding:12px;position:relative}#activity-widget #the-comment-list .avatar{position:absolute;top:13px}#activity-widget #the-comment-list .dashboard-comment-wrap{padding-left:63px}#activity-widget #the-comment-list .dashboard-comment-wrap blockquote{margin:1em 0}#activity-widget #the-comment-list .comment-item p.row-actions{margin:4px 0 0}#activity-widget #the-comment-list .comment-item:first-child{border-top:1px solid #eee}#activity-widget #the-comment-list .unapproved{background-color:#fef7f1}#activity-widget #the-comment-list .unapproved:before{content:"";display:block;position:absolute;left:0;top:0;bottom:0;background:#d54e21;width:4px}#activity-widget #the-comment-list .spam-undo-inside .avatar,#activity-widget #the-comment-list .trash-undo-inside .avatar{position:relative;top:0}#dashboard-widgets #dashboard_browser_nag.postbox .inside{margin:10px}.edit-box{display:none}h3:hover .edit-box{display:inline}#dashboard-widgets form .input-text-wrap input,#dashboard-widgets form .textarea-wrap textarea{width:100%}#dashboard-widgets .postbox form .submit{float:none;margin:.5em 0 0;padding:0;border:none}#dashboard-widgets-wrap #dashboard-widgets .postbox form .submit #publish{min-width:0}#dashboard-widgets a{text-decoration:none}#dashboard-widgets h3 .postbox-title-action{position:absolute;right:10px;padding:0;top:5px}.js #dashboard-widgets h3 .postbox-title-action{right:33px}#dashboard_plugins h5{font-size:14px}#latest-comments #the-comment-list{position:relative;margin:0 -12px}#activity-widget #the-comment-list .comment,#activity-widget #the-comment-list .pingback{-webkit-box-shadow:inset 0 1px 0 rgba(0,0,0,.06);box-shadow:inset 0 1px 0 rgba(0,0,0,.06)}#activity-widget .comments #the-comment-list .alt{background-color:transparent}#activity-widget #latest-comments #the-comment-list .comment-item{padding:1em 12px}#latest-comments #the-comment-list .pingback{padding-left:12px!important}#latest-comments #the-comment-list .comment-item:first-child{border-top:none}#latest-comments #the-comment-list .comment-meta{line-height:1.5em;margin:0;color:#666}#latest-comments #the-comment-list .comment-meta cite{font-style:normal;font-weight:400}#latest-comments #the-comment-list .comment-item blockquote,#latest-comments #the-comment-list .comment-item blockquote p{margin:0;padding:0;display:inline}#latest-comments #the-comment-list .comment-item p.row-actions{margin:3px 0 0;padding:0;font-size:13px}#description-wrap label,#title-wrap label{cursor:text}#title-wrap #title{padding:2px 6px;font-size:1.3em;outline:0}#title-wrap #title-prompt-text{font-size:1.1em;padding:5px 8px}.rss-widget ul{margin:0;padding:0;list-style:none}a.rsswidget{font-size:14px;font-weight:600;line-height:1.7em}.rss-widget ul li{line-height:1.5em;margin-bottom:12px}.rss-widget span.rss-date{color:#999;font-size:13px;margin-left:3px}.rss-widget cite{display:block;text-align:right;margin:0 0 1em;padding:0}.rss-widget cite:before{content:"\2014"}#dashboard_browser_nag a.update-browser-link{font-size:1.2em;font-weight:600}#dashboard_browser_nag a{color:#fff}#dashboard_browser_nag p.browser-update-nag.has-browser-icon{padding-right:125px}#dashboard_browser_nag .browser-icon{margin-top:-35px}#dashboard_browser_nag.postbox.browser-insecure{background-color:#ac1b1b;border-color:#ac1b1b}#dashboard_browser_nag.postbox{background-color:#e29808;background-image:none;border-color:#edc048;color:#fff;-webkit-box-shadow:none;box-shadow:none}#dashboard_browser_nag.postbox.browser-insecure h2{border-bottom-color:#cd5a5a;color:#fff}#dashboard_browser_nag.postbox h2{border-bottom-color:#f6e2ac;background:0 0;color:#fff;-webkit-box-shadow:none;box-shadow:none}#dashboard_browser_nag h2.hndle{border:none;font-weight:600;font-size:20px;padding-top:10px}.postbox#dashboard_browser_nag p a.dismiss{font-size:14px}.postbox#dashboard_browser_nag a,.postbox#dashboard_browser_nag p,.postbox#dashboard_browser_nag p.browser-update-nag{font-size:16px}@media only screen and (max-width:799px){#wpbody-content #dashboard-widgets .postbox-container{width:100%}}@media only screen and (min-width:800px) and (max-width:1499px){#dashboard-widgets #postbox-container-3 .empty-container,#dashboard-widgets #postbox-container-4 .empty-container,#wpbody #wpbody-content .metabox-holder.columns-1 .postbox-container .empty-container{border:0;height:0;min-height:0}#wpbody-content #dashboard-widgets .postbox-container{width:49.5%}#wpbody-content #dashboard-widgets #postbox-container-2,#wpbody-content #dashboard-widgets #postbox-container-3,#wpbody-content #dashboard-widgets #postbox-container-4{float:right;width:50.5%}#wpbody #wpbody-content #dashboard-widgets.columns-1 .postbox-container{width:100%}.index-php .columns-prefs,.index-php .screen-layout{display:block}.columns-prefs .columns-prefs-3,.columns-prefs .columns-prefs-4{display:none}}@media only screen and (min-width:1500px) and (max-width:1800px){#wpbody-content #dashboard-widgets .postbox-container{width:33.5%}#wpbody-content #dashboard-widgets #postbox-container-1{width:33%}#wpbody-content #dashboard-widgets #postbox-container-3,#wpbody-content #dashboard-widgets #postbox-container-4{float:right}#dashboard-widgets #postbox-container-4 .empty-container{border:0;height:0;min-height:0}}@media screen and (max-width:870px){.welcome-panel .welcome-panel-column,.welcome-panel .welcome-panel-column:first-child{display:block;float:none;width:100%}.welcome-panel .welcome-panel-column li{display:inline-block;margin-right:13px}.welcome-panel .welcome-panel-column ul{margin:.4em 0 0}}@media screen and (max-width:782px){#dashboard_recent_comments #the-comment-list .comment-item .avatar{height:30px;width:30px;margin:4px 10px 5px 0}}@media screen and (max-width:600px){.welcome-panel .welcome-panel-close{overflow:hidden;text-indent:40px;white-space:nowrap;width:20px;height:20px;padding:5px;top:5px;right:5px}.welcome-panel .welcome-panel-close:before{font-size:20px;top:5px;left:-35px}}.response-links{display:block;margin-bottom:1em}.response-links a{display:block}.response-links a.comments-edit-item-link{font-weight:600}.response-links a.comments-view-item-link{font-size:12px}.post-com-count-wrapper strong{font-weight:400}.comments-view-item-link{display:inline-block;clear:both}.column-comments .post-com-count-wrapper,.column-response .post-com-count-wrapper{white-space:nowrap;word-wrap:normal}.column-comments .post-com-count,.column-response .post-com-count{display:inline-block;vertical-align:top}.column-comments .post-com-count-approved,.column-comments .post-com-count-no-comments,.column-response .post-com-count-approved,.column-response .post-com-count-no-comments{margin-top:5px}.column-comments .comment-count-approved,.column-comments .comment-count-no-comments,.column-response .comment-count-approved,.column-response .comment-count-no-comments{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;padding:0 8px;min-width:24px;height:2em;-webkit-border-radius:5px;border-radius:5px;background-color:#72777c;color:#fff;font-size:11px;line-height:21px;text-align:center}.plugin-card,.revisions-tickmarks{-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.ie8 .column-comments .comment-count-approved,.ie8 .column-comments .comment-count-no-comments,.ie8 .column-response .comment-count-approved,.ie8 .column-response .comment-count-no-comments{min-width:0}.column-comments .post-com-count-approved:after,.column-comments .post-com-count-no-comments:after,.column-response .post-com-count-approved:after,.column-response .post-com-count-no-comments:after{content:"";display:block;margin-left:8px;width:0;height:0;border-top:5px solid #72777c;border-right:5px solid transparent}.column-comments .post-com-count-approved:focus .comment-count-approved,.column-comments .post-com-count-approved:hover .comment-count-approved,.column-response .post-com-count-approved:focus .comment-count-approved,.column-response .post-com-count-approved:hover .comment-count-approved{background:#0073aa}.column-comments .post-com-count-approved:focus:after,.column-comments .post-com-count-approved:hover:after,.column-response .post-com-count-approved:focus:after,.column-response .post-com-count-approved:hover:after{border-top-color:#0073aa}.column-comments .post-com-count-pending,.column-response .post-com-count-pending{position:relative;left:-3px;padding:0 5px;min-width:7px;height:17px;border:2px solid #fff;-webkit-border-radius:11px;border-radius:11px;background:#ca4a1f;color:#fff;font-size:9px;line-height:17px;text-align:center}.column-comments .post-com-count-no-pending,.column-response .post-com-count-no-pending{display:none}.commentlist li{padding:1em 1em .2em;margin:0;border-bottom:1px solid #ccc}.commentlist li li{border-bottom:0;padding:0}.commentlist p{padding:0;margin:0 0 .8em}#submitted-on,.submitted-on{color:#777}#replyrow td{padding:2px}#replysubmit{margin:0;padding:5px 7px 10px;text-align:center}#replysubmit .button{margin-right:5px}#replysubmit .error{color:red;line-height:21px;text-align:center}#replyrow.inline-edit-row fieldset.comment-reply{font-size:inherit;line-height:inherit}#replyrow legend{margin:0;padding:.2em 5px 0;font-size:13px;line-height:1.4;font-weight:600}#replyrow.inline-edit-row label{display:inline;vertical-align:baseline;line-height:inherit}#commentsdiv #edithead .inside,#edithead .inside{float:left;padding:3px 0 2px 5px;margin:0;text-align:center}#edithead .inside input{width:180px}#edithead label{padding:2px 0}#replycontainer{padding:5px}#replycontent{height:120px;-webkit-box-shadow:none;box-shadow:none}#replyerror{border-color:#ddd;background-color:#f9f9f9}.commentlist .avatar{vertical-align:text-top}#the-comment-list div.undo,#the-comment-list tr.undo{background-color:#f4f4f4}#the-comment-list .unapproved td,#the-comment-list .unapproved th{background-color:#fef7f1}#the-comment-list .unapproved th.check-column{border-left:4px solid #d54e21}#the-comment-list .unapproved th.check-column input{margin-left:4px}#the-comment-list .approve a{color:#006505}#the-comment-list .unapprove a{color:#d98500}#the-comment-list td,#the-comment-list th{-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}#the-comment-list tr:last-child td,#the-comment-list tr:last-child th{-webkit-box-shadow:none;box-shadow:none}#the-comment-list tr.unapproved+tr.approved td,#the-comment-list tr.unapproved+tr.approved th{border-top:1px solid rgba(0,0,0,.03)}.vim-current,.vim-current td,.vim-current th{background-color:#e4f2fd!important}th .comment-grey-bubble{height:16px;width:16px}th .comment-grey-bubble:before{content:"\f101";font:400 20px/.5 dashicons;speak:none;display:inline-block;padding:0;top:4px;left:-4px;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#444}.fixed .column-rating,.fixed .column-visible{width:8%}.fixed .column-author,.fixed .column-date,.fixed .column-format,.fixed .column-links,.fixed .column-parent,.fixed .column-posts{width:10%}.fixed .column-posts{width:74px}.fixed .column-comment .comment-author{display:none}.fixed .column-categories,.fixed .column-rel,.fixed .column-response,.fixed .column-role,.fixed .column-tags{width:15%}.fixed .column-slug{width:25%}.fixed .column-locations{width:35%}.fixed .column-comments{width:5.5em;padding:8px 0;text-align:left}.fixed .column-comments .vers{padding-left:3px}td.column-title strong,td.plugin-title strong{display:block;margin-bottom:.2em;font-size:14px}td.column-title p,td.plugin-title p{margin:6px 0}table.media .column-title .media-icon{float:left;min-height:60px;margin:0 9px 0 0}table.media .column-title .media-icon img{max-width:60px;height:auto;vertical-align:top}table.media .column-title .has-media-icon~.row-actions{margin-left:70px}table.media .column-title .filename{margin-bottom:.2em}.wp-list-table a{-webkit-transition:none;transition:none}#the-list tr:last-child td,#the-list tr:last-child th{border-bottom:none!important;-webkit-box-shadow:none;box-shadow:none}#comments-form .fixed .column-author{width:20%}#comments-form .fixed .column-date{width:14%}#commentsdiv.postbox .inside{margin:0;padding:0}#commentsdiv .inside .row-actions{line-height:18px}#commentsdiv .inside .column-author{width:25%}#commentsdiv .column-comment p{margin:.6em 0;padding:0}#commentsdiv #replyrow td{padding:0}#commentsdiv p{padding:8px 10px;margin:0}#commentsdiv .comments-box{border:0}#commentsdiv .comments-box thead td,#commentsdiv .comments-box thead th{background:0 0;padding:0 7px 4px;font-style:italic}#commentsdiv .comments-box tr:last-child td{border-bottom:0 none}#commentsdiv #edithead .inside input{width:160px}.sorting-indicator{display:block;visibility:hidden;width:10px;height:4px;margin-top:8px;margin-left:7px}.sorting-indicator:before{content:"\f142";font:400 20px/1 dashicons;speak:none;display:inline-block;padding:0;top:-4px;left:-8px;line-height:10px;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#444}.column-comments .sorting-indicator:before{top:0;left:-10px}th.desc a:focus span.sorting-indicator:before,th.desc:hover span.sorting-indicator:before,th.sorted.asc .sorting-indicator:before{content:"\f142"}th.asc a:focus span.sorting-indicator:before,th.asc:hover span.sorting-indicator:before,th.sorted.desc .sorting-indicator:before{content:"\f140"}.wp-list-table .toggle-row{position:absolute;right:8px;top:10px;display:none;padding:0;width:40px;height:40px;border:none;outline:0;background:0 0}.wp-list-table .toggle-row:hover{cursor:pointer}.wp-list-table .toggle-row:focus:before{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.ie8 .wp-list-table .toggle-row:focus:before{outline:#5b9dd9 solid 1px}.wp-list-table .toggle-row:active{-webkit-box-shadow:none;box-shadow:none}.wp-list-table .toggle-row:before{position:absolute;top:-5px;left:10px;-webkit-border-radius:50%;border-radius:50%;display:block;padding:1px 2px 1px 0;color:#666;content:"\f140";font:400 20px/1 dashicons;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:none}.wp-list-table .is-expanded .toggle-row:before{content:"\f142"}tr.wp-locked .locked-indicator{margin-left:6px;height:20px;width:16px}tr.wp-locked .locked-indicator:before{color:#82878c;content:"\f160";display:inline-block;float:left;font:400 20px/1 dashicons;speak:none;vertical-align:middle;margin-left:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}tr.wp-locked .check-column input[type=checkbox],tr.wp-locked .check-column label,tr.wp-locked .row-actions .inline,tr.wp-locked .row-actions .trash{display:none}tr .locked-info{height:0;opacity:0}tr.wp-locked .locked-info{margin-top:8px;height:auto;opacity:1}.locked-text{vertical-align:top}tr.locked-info,tr.wp-locked .locked-info{-webkit-transition:height 1s,opacity .5s;transition:height 1s,opacity .5s}.fixed .column-comments .sorting-indicator{margin-top:3px}#menu-locations-wrap .widefat{width:60%}.widefat th.sortable,.widefat th.sorted{padding:0}th.sortable a,th.sorted a{display:block;padding:8px}.fixed .column-comments.sortable a,.fixed .column-comments.sorted a{padding:8px 0}th.sortable a span,th.sorted a span{float:left;cursor:pointer}th.asc a:focus span.sorting-indicator,th.asc:hover span.sorting-indicator,th.desc a:focus span.sorting-indicator,th.desc:hover span.sorting-indicator,th.sorted .sorting-indicator{visibility:visible}.tablenav-pages a,.tablenav-pages-navspan{font-weight:600;padding:0 2px}.tablenav-pages .current-page{margin:0 2px 0 0;padding-bottom:5px;font-size:13px;text-align:center}.tablenav .total-pages{margin-right:2px}.tablenav #table-paging{margin-left:2px}.tablenav a.button-secondary{display:block;margin:3px 8px 0 0}.tablenav{clear:both;height:30px;margin:6px 0 4px;vertical-align:middle}.tablenav.themes{max-width:98%}.tablenav .tablenav-pages{float:right;height:28px;margin-top:3px;cursor:default;color:#555}.tablenav .no-pages,.tablenav .one-page .pagination-links{display:none}.tablenav .tablenav-pages a,.tablenav-pages span.current{text-decoration:none;padding:3px 6px}.tablenav .tablenav-pages a,.tablenav-pages-navspan{display:inline-block;min-width:17px;border:1px solid #d2d2d2;padding:3px 5px 7px;background:#e4e4e4;font-size:16px;line-height:1;font-weight:400;text-align:center}.tablenav-pages-navspan{height:16px;border-color:#e8e8e8;background:#ebebeb;color:#b4b4b4}.tablenav .tablenav-pages a:focus,.tablenav .tablenav-pages a:hover{border-color:#5b9dd9;color:#fff;background:#00a0d2;-webkit-box-shadow:none;box-shadow:none;outline:0}.tablenav .displaying-num{margin-right:7px}.tablenav .one-page .displaying-num{display:inline-block;margin-top:5px;margin-right:0}.tablenav .actions{padding:2px 8px 0 0}.wp-filter .actions{display:inline-block;vertical-align:middle}.tablenav .delete{margin-right:20px}.tablenav .dots{border-color:transparent}.tablenav .next,.tablenav .prev{border-color:transparent;color:#0073aa}.tablenav .next:hover,.tablenav .prev:hover{border-color:transparent;color:#00a0d2}.tablenav .view-switch{float:right;margin:0 5px;padding-top:3px}.wp-filter .view-switch{display:inline-block;vertical-align:middle;padding:12px 0;margin:0 8px 0 2px}.media-toolbar.wp-filter .view-switch{margin:0 12px 0 2px}.view-switch a{float:left;width:28px;height:28px;text-align:center;line-height:24px;text-decoration:none}.view-switch a:before{color:#b4b9be;display:inline-block;font:400 20px/1 dashicons;speak:none;vertical-align:middle;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.view-switch a:focus:before,.view-switch a:hover:before{color:#727272}.view-switch a.current:before{color:#0073aa}.view-switch .view-list:before{content:"\f163"}.view-switch .view-excerpt:before{content:"\f164"}.view-switch .view-grid:before{content:"\f509"}.filter{float:left;margin:-5px 0 0 10px}.filter .subsubsub{margin-left:-10px;margin-top:13px}.screen-per-page{width:4em}#posts-filter .wp-filter{margin-bottom:0}#posts-filter fieldset{float:left;margin:0 1.5ex 1em 0;padding:0}#posts-filter fieldset legend{padding:0 0 .2em 1px}.row-actions,.row-actions-visible{padding:2px 0 0}p.pagenav{margin:0;display:inline}.pagenav span{font-weight:600;margin:0 6px}.row-title{font-size:14px!important;font-weight:600}.column-comment .comment-author{margin-bottom:.6em}.column-author img,.column-comment .comment-author img,.column-username img{float:left;margin-right:10px;margin-top:1px}.row-actions{color:#ddd;font-size:13px;position:relative;left:-9999em}.plugins,.plugins td,.plugins th,.row-actions .network_active,.row-actions .network_only{color:#000}.rtl .row-actions a{display:inline-block}.mobile .row-actions,.no-js .row-actions,.row-actions.visible,div.comment-item:hover .row-actions,tr:hover .row-actions{position:static}#wpbody-content .inline-edit-row fieldset{font-size:12px;float:left;margin:0;padding:0;width:100%}#wpbody-content .inline-edit-row fieldset .inline-edit-col,tr.inline-edit-row td{padding:0 .5em}#wpbody-content .quick-edit-row-post .inline-edit-col-left{width:40%}#wpbody-content .quick-edit-row-post .inline-edit-col-right{width:39%}#wpbody-content .inline-edit-row-post .inline-edit-col-center{width:20%}#wpbody-content .quick-edit-row-page .inline-edit-col-left{width:50%}#wpbody-content .bulk-edit-row-post .inline-edit-col-right,#wpbody-content .quick-edit-row-page .inline-edit-col-right{width:49%}#wpbody-content .bulk-edit-row .inline-edit-col-left{width:30%}#wpbody-content .bulk-edit-row-page .inline-edit-col-right{width:69%}#wpbody-content .bulk-edit-row .inline-edit-col-bottom{float:right;width:69%}#bulk-titles div a,.inline-edit-row fieldset .inline-edit-date,.plugin-card,.quick-edit-row-post fieldset label.inline-edit-status{float:left}#wpbody-content .inline-edit-row-page .inline-edit-col-right{margin-top:27px}.inline-edit-row fieldset .inline-edit-group{clear:both;line-height:2.5}.inline-edit-row fieldset .inline-edit-group:after{content:".";display:block;height:0;clear:both;visibility:hidden}.inline-edit-row p.submit{clear:both;padding:.5em;margin:.5em 0 0}.inline-edit-row span.error{line-height:22px;margin:0 15px;padding:3px 5px}#the-list .inline-edit-row .inline-edit-legend{margin:0;padding:.2em .5em 0;line-height:2.5;font-weight:600}#the-list #bulk-edit.inline-edit-row .inline-edit-legend{padding:.2em .5em}.inline-edit-row fieldset span.checkbox-title,.inline-edit-row fieldset span.title{margin:0;padding:0;font-style:italic}.inline-edit-row fieldset label,.inline-edit-row fieldset span.inline-edit-categories-label{display:block;margin:.2em 0;line-height:2.5}.inline-edit-row fieldset.inline-edit-date label{display:inline-block;margin:0;line-height:1.5;vertical-align:baseline}.inline-edit-row fieldset label.inline-edit-tags{margin-top:0}.inline-edit-row fieldset label.inline-edit-tags span.title{margin:.2em 0;width:auto}.inline-edit-row fieldset label span.title,.inline-edit-row fieldset.inline-edit-date legend{display:block;float:left;width:6em;line-height:2.5}#posts-filter fieldset.inline-edit-date legend{padding:0}.inline-edit-row fieldset.inline-edit-date select{margin:1px;line-height:28px}.inline-edit-row fieldset .timestamp-wrap,.inline-edit-row fieldset label span.input-text-wrap{display:block;margin-left:6em}.quick-edit-row-post fieldset.inline-edit-col-right label span.title{width:auto;padding-right:.5em}.inline-edit-row .inline-edit-or{margin:.2em 6px .2em 0;line-height:2.5}.inline-edit-row .input-text-wrap input[type=text]{width:100%}.inline-edit-row fieldset label input[type=checkbox]{vertical-align:middle}.inline-edit-row fieldset label textarea{width:100%;height:4em;vertical-align:top}#bulk-titles,ul.cat-checklist{height:12em;border:1px solid #ddd;overflow-y:scroll;padding:0 5px}#wpbody-content .bulk-edit-row fieldset .inline-edit-group label{max-width:50%}#wpbody-content .quick-edit-row fieldset .inline-edit-group label.alignleft:first-child{margin-right:.5em}.inline-edit-col-right .input-text-wrap input.inline-edit-menu-order-input{width:6em}.inline-edit-row .inline-edit-legend{text-transform:uppercase}.inline-edit-row fieldset input[name=hh],.inline-edit-row fieldset input[name=jj],.inline-edit-row fieldset input[name=mn]{font-size:12px;width:2.3em}.inline-edit-row fieldset input[name=aa]{font-size:12px;width:3.5em}.inline-edit-row fieldset label input.inline-edit-password-input{width:8em}ul.cat-checklist{margin:0;background-color:#fff}#bulk-titles{display:block;margin:0 0 5px;line-height:140%}.inline-edit-row fieldset ul.cat-checklist input,.inline-edit-row fieldset ul.cat-checklist li{margin:0;position:relative}.inline-edit-row #bulk-titles div,.inline-edit-row fieldset ul.cat-checklist label{font-style:normal;font-size:11px}.inline-edit-row fieldset label input.inline-edit-menu-order-input{width:3em}.inline-edit-row fieldset label input.inline-edit-slug-input{width:75%}.inline-edit-row #post_parent,.inline-edit-row select[name=page_template]{max-width:80%}.ie8 .inline-edit-row #post_parent,.ie8 .inline-edit-row select[name=page_template]{width:250px}#bulk-titles div{margin:.2em .3em}#bulk-titles div a{cursor:pointer;display:block;height:18px;margin:0 3px 0 -2px;overflow:hidden;position:relative;width:20px}#bulk-titles div a:before{position:relative;top:-3px}.plugins tbody,.plugins tbody th.check-column{padding:8px 0 0 2px}.plugins tbody th.check-column input[type=checkbox]{margin-top:4px}#update-plugins-table tbody td p{margin-top:0}#update-plugins-table tbody td p strong{font-size:14px}.plugins .inactive th.check-column,.plugins tfoot td.check-column,.plugins thead td.check-column{padding-left:6px}#update-plugins-table tfoot td.check-column,#update-plugins-table thead td.check-column{padding-top:11px}.plugins tr{background:#fff}.plugins p{margin:0 4px;padding:0}.plugins .desc p{margin:0 0 8px}.plugins td.desc{line-height:1.5em}.plugins .desc ol,.plugins .desc ul{margin:0 0 0 2em}.plugins .desc ul{list-style-type:disc}.plugins .row-actions{font-size:13px}.plugins .active td,.plugins .active th,.plugins .inactive td,.plugins .inactive th{padding:10px 9px}.plugins .active td,.plugins .active th{background-color:#f7fcfe}.plugins .update td,.plugins .update th{border-bottom:0}.plugin-update-tr td{border-top:0}.plugin-install #the-list td,.plugins .active td,.plugins .active th,.plugins .inactive td,.plugins .inactive th,.upgrade .plugins td,.upgrade .plugins th{-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}.plugins tr.active+tr.inactive td,.plugins tr.active+tr.inactive th,.plugins tr.active.plugin-update-tr+tr.inactive td,.plugins tr.active.plugin-update-tr+tr.inactive th{border-top:1px solid rgba(0,0,0,.03);-webkit-box-shadow:inset 0 1px 0 rgba(0,0,0,.02),inset 0 -1px 0 #e1e1e1;box-shadow:inset 0 1px 0 rgba(0,0,0,.02),inset 0 -1px 0 #e1e1e1}.plugins .update td,.plugins .update th,.plugins .updated td,.plugins .updated th,.plugins tr.active+tr.inactive.update td,.plugins tr.active+tr.inactive.update th,.plugins tr.active+tr.inactive.updated td,.plugins tr.active+tr.inactive.updated th,.upgrade .plugins tr:last-of-type td,.upgrade .plugins tr:last-of-type th{-webkit-box-shadow:none;box-shadow:none}.plugins .active.update td,.plugins .active.update th,tr.active.update+tr.plugin-update-tr .plugin-update{background-color:#fef7f1}.plugin-update-tr.active td,.plugins .active th.check-column{border-left:4px solid #00a0d2}.plugins .active.update th.check-column,.plugins .active.update+.plugin-update-tr .plugin-update{border-left:4px solid #d54e21}#wpbody-content .plugins .plugin-title,#wpbody-content .plugins .theme-title{padding-right:12px;white-space:nowrap}.plugins .inactive .plugin-title strong{font-weight:400}.plugins .row-actions,.plugins .second{padding:0 0 5px}.plugins .update .row-actions,.plugins .update .second,.plugins .updated .row-actions,.plugins .updated .second{padding-bottom:0}.plugins-php .widefat tfoot td,.plugins-php .widefat tfoot th{border-top-style:solid;border-top-width:1px}.plugin-update-tr .update-message{font-size:13px;font-weight:400;margin:0 10px 8px 31px;padding:6px 12px 8px 40px;background-color:#f7f7f7;background-color:rgba(0,0,0,.03)}.plugin-card .install-now:before,.plugin-card .update-now:before,.plugin-update-tr .update-message:before{color:#d54e21;display:inline-block;font:400 20px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:top}.plugin-card .update-now:before,.plugin-update-tr .update-message:before{content:"\f463"}.plugin-update-tr .update-message:before{margin:0 10px 0 -30px}.plugin-card .install-now:before,.plugin-card .update-now:before{margin:3px 5px 0 -2px}.plugin-card .updating-message:before,.plugin-update-tr .updating-message:before{content:"\f463";-webkit-animation:rotation 2s infinite linear;animation:rotation 2s infinite linear}@-webkit-keyframes rotation{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes rotation{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.plugin-card .updated-message:before,.plugin-update-tr .updated-message:before{color:#79ba49;content:"\f147"}.wp-list-table.plugins tbody tr.plugin-update-tr td.plugin-update{overflow:hidden;padding:0;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}tr.active+tr.plugin-update-tr .plugin-update{background-color:#f7fcfe}tr.active+tr.plugin-update-tr:not(.updated) .plugin-update .update-message{background-color:#fcf3ef}.plugin-install-php h2{clear:both}.plugin-install-php h3{margin:2.5em 0 8px}.plugin-install-php .wp-filter{margin-bottom:0}.plugin-group{overflow:hidden;margin-top:1.5em}.plugin-group h3{margin-top:0}.plugin-card{margin:0 8px 16px;width:48.5%;width:-webkit-calc(50% - 8px);width:calc(50% - 8px);background-color:#fff;border:1px solid #dedede;box-sizing:border-box}.plugin-card:nth-child(odd){clear:both;margin-left:0}.plugin-card:nth-child(even){margin-right:0}@media screen and (min-width:1600px){.plugin-card{width:30%;width:-webkit-calc(33.1% - 8px);width:calc(33.1% - 8px)}.plugin-card:nth-child(odd){clear:none;margin-left:8px}.plugin-card:nth-child(even){margin-right:8px}.plugin-card:nth-child(3n+1){clear:both;margin-left:0}.plugin-card:nth-child(3n){margin-right:0}}.plugin-card-top{position:relative;padding:20px 20px 10px;min-height:135px}.plugin-action-buttons,div.action-links{margin:0}.plugin-card h3{margin:0 0 12px;font-size:18px;line-height:1.3}.plugin-card .desc,.plugin-card .name{margin-left:148px;margin-right:120px}.plugin-card .action-links{position:absolute;top:20px;right:20px;width:120px}.plugin-action-buttons{clear:right;float:right;margin-left:2em;margin-bottom:1em;text-align:right}.plugin-action-buttons li{margin-bottom:10px}.plugin-card-bottom{clear:both;padding:12px 20px;background-color:#fafafa;border-top:1px solid #dedede;overflow:hidden}.plugin-card-bottom .star-rating{display:inline}.plugin-card-update-failed .update-now{font-weight:600}.plugin-card-update-failed .notice-error{margin:0;padding-left:16px;-webkit-box-shadow:0 -1px 0 #dedede;box-shadow:0 -1px 0 #dedede}.plugin-card-update-failed .plugin-card-bottom{display:none}.plugin-card .column-rating{line-height:23px}.plugin-card .column-rating,.plugin-card .column-updated{margin-bottom:4px}.plugin-card .column-downloaded,.plugin-card .column-rating{float:left;clear:left;max-width:180px}.plugin-card .column-compatibility,.plugin-card .column-updated{text-align:right;float:right;clear:right;width:65%;width:-webkit-calc(100% - 180px);width:calc(100% - 180px)}.plugin-card .column-compatibility span:before{font:400 20px/.5 dashicons;speak:none;display:inline-block;padding:0;top:4px;left:-2px;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#444}.plugin-card .compatibility-incompatible:before{content:"\f158"}.plugin-card .compatibility-compatible:before{content:"\f147"}.plugin-icon{position:absolute;top:20px;left:20px;width:128px;height:128px;margin:0 20px 20px 0}.no-plugin-results{color:#999;font-size:18px;font-style:normal;margin:0;padding:100px 0 0;text-align:center}.wp-list-table .site-deleted,.wp-list-table tr.site-deleted{background:#ff8573}.wp-list-table .site-spammed,.wp-list-table tr.site-spammed{background:#faafaa}.wp-list-table .site-archived,.wp-list-table tr.site-archived{background:#ffebe8}.wp-list-table .site-mature,.wp-list-table tr.site-mature{background:#fecac2}.sites.fixed .column-lastupdated,.sites.fixed .column-registered{width:20%}.sites.fixed .column-users{width:80px}@media screen and (max-width:1100px) and (min-width:782px),(max-width:480px){.plugin-card .action-links{position:static;margin-left:148px;width:auto}.plugin-action-buttons{float:none;margin:1em 0 0;text-align:left}.plugin-action-buttons li{display:inline-block;vertical-align:middle}.plugin-action-buttons li .button{margin-right:20px}.plugin-card .desc,.plugin-card .name{margin-right:0}.plugin-card .desc p:first-of-type{margin-top:0}.fixed .column-date{width:14%}}@media screen and (max-width:782px){.plugins #the-list tr td,.plugins tr.active+tr.inactive td,.plugins tr.active+tr.inactive th.check-column{border-top:none}.tablenav{height:auto}.tablenav.top{margin:20px 0 5px}.tablenav.bottom{position:relative;margin-top:15px}.tablenav br{display:none}.tablenav br.clear{display:block}.form-wrap>p,.tablenav .view-switch,.tablenav.top .actions,.tablenav.top .displaying-num,.tablenav.top .tablenav-pages.one-page{display:none}.view-switch a{width:36px;height:36px;line-height:33px}.tablenav.bottom .displaying-num{position:absolute;right:0;top:11px;margin:0;font-size:14px}.tablenav .tablenav-pages{width:100%;height:auto;text-align:center;margin:0 0 25px}.tablenav.bottom .tablenav-pages{margin-top:25px}.tablenav.bottom .tablenav-pages.one-page{margin:15px 0 0;height:0}.tablenav-pages .pagination-links{font-size:16px}.tablenav-pages .pagination-links a,.tablenav-pages-navspan{padding:9px 11px 12px;font-size:18px}.tablenav-pages-navspan{height:18px}.tablenav-pages .pagination-links .current-page{padding:8px 9px 9px;font-size:16px}.comment-count{font-size:14px}.wp-list-table th.column-primary~th,.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-primary~td:not(.check-column){display:none}.wp-list-table thead th.column-primary{width:100%}.wp-list-table tr th.check-column{display:table-cell;width:35px}.wp-list-table .column-primary .toggle-row{display:block}.wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.check-column){position:relative;clear:both;display:block;width:auto!important}.wp-list-table td.column-primary{padding-right:50px}.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-primary~td:not(.check-column){padding:3px 8px 3px 35%}.wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.column-primary)::before{position:absolute;left:10px;display:block;overflow:hidden;width:32%;content:attr(data-colname);white-space:nowrap;text-overflow:ellipsis}.wp-list-table .is-expanded td:not(.hidden){display:block!important;overflow:hidden}.column-posts,.widefat .num{text-align:left}#comments-form .fixed .column-author,#commentsdiv .fixed .column-author{display:none!important}.fixed .column-comment .comment-author{display:block}#the-comment-list .is-expanded td{-webkit-box-shadow:none;box-shadow:none}#the-comment-list .is-expanded td:last-child{-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}.post-com-count .screen-reader-text{position:static;width:auto;height:auto;margin:0}.column-comments .post-com-count-approved:after,.column-comments .post-com-count-no-comments:after,.column-response .post-com-count-approved:after,.column-response .post-com-count-no-comments:after{content:none}.column-comments .post-com-count [aria-hidden=true],.column-response .post-com-count [aria-hidden=true]{display:none}#edithead label,.column-comments .post-com-count-wrapper>a,.column-response .post-com-count-wrapper>a{display:block}.column-comments .post-com-count-wrapper,.column-response .post-com-count-wrapper{white-space:normal}.column-comments .post-com-count-approved,.column-comments .post-com-count-no-comments,.column-response .post-com-count-approved,.column-response .post-com-count-no-comments{margin-top:0;margin-right:.5em}.column-comments .post-com-count-pending,.column-response .post-com-count-pending{position:static;height:auto;min-width:0;padding:0;border:none;-webkit-border-radius:0;border-radius:0;background:0 0;color:#bb2a2a;font-size:inherit;line-height:inherit;text-align:left}.column-comments .post-com-count-pending:hover,.column-response .post-com-count-pending:hover{color:#dc3232}.widefat tfoot td.check-column,.widefat thead td.check-column{padding-top:10px}.widefat *{word-wrap:normal}#wpbody-content .bulk-edit-row .inline-edit-col-bottom,#wpbody-content .bulk-edit-row .inline-edit-col-left,#wpbody-content .bulk-edit-row-page .inline-edit-col-right,#wpbody-content .bulk-edit-row-post .inline-edit-col-right,#wpbody-content .inline-edit-row-post .inline-edit-col-center,#wpbody-content .quick-edit-row-page .inline-edit-col-left,#wpbody-content .quick-edit-row-page .inline-edit-col-right,#wpbody-content .quick-edit-row-post .inline-edit-col-left,#wpbody-content .quick-edit-row-post .inline-edit-col-right{float:none;width:100%}#wpbody-content .bulk-edit-row fieldset .inline-edit-col label,#wpbody-content .bulk-edit-row fieldset .inline-edit-group label,#wpbody-content .quick-edit-row fieldset .inline-edit-col label,#wpbody-content .quick-edit-row fieldset .inline-edit-group label{max-width:none;float:none;margin-bottom:5px}#wpbody .bulk-edit-row fieldset select{display:block;width:100%;max-width:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.inline-edit-row #bulk-titles div,.inline-edit-row fieldset ul.cat-checklist label{font-size:16px}.wp-list-table.plugins .plugin-title strong,.wp-list-table.plugins .theme-title strong,table.plugin-install td.column-name strong{font-size:1.4em;line-height:1.6em}.inline-edit-row fieldset label span.title,.inline-edit-row fieldset.inline-edit-date legend{float:none}.inline-edit-row fieldset label.inline-edit-tags{padding:0 .5em}.inline-edit-row fieldset .inline-edit-col label.inline-edit-tags{padding:0}.inline-edit-row fieldset .timestamp-wrap,.inline-edit-row fieldset label span.input-text-wrap{margin-left:0}.inline-edit-row fieldset input[name=hh],.inline-edit-row fieldset input[name=jj],.inline-edit-row fieldset input[name=mn]{width:3em}.inline-edit-row fieldset input[name=aa]{width:4.5em}.inline-edit-row .inline-edit-or{margin:0 6px 0 0}#commentsdiv #edithead .inside,#edithead .inside{float:none;text-align:left;padding:3px 5px}#commentsdiv #edithead .inside input,#edithead .inside input{width:100%}#bulk-titles div{margin:.8em .3em}.plugin-card,.plugin-update-tr .update-message{margin-left:0}#bulk-titles div a{height:22px}#wpbody-content #update-themes-table .plugin-title{width:auto;white-space:normal}.link-manager-php #posts-filter{margin-top:25px}.link-manager-php .tablenav.bottom{overflow:hidden}.comments-box .toggle-row,.wp-list-table.plugins .toggle-row{display:none}#wpbody-content .wp-list-table.plugins td{display:block;width:auto;padding:10px 9px}#wpbody-content .wp-list-table.plugins .column-description{padding-top:2px}.wp-list-table.plugins .plugin-title,.wp-list-table.plugins .theme-title{padding-top:13px;padding-bottom:4px}.plugins #the-list .update td,.plugins #the-list .update th,.plugins #the-list tr>td:not(:last-child),.wp-list-table.plugins #the-list .theme-title{-webkit-box-shadow:none;box-shadow:none;border-top:none}.plugins tbody{padding:1px 0 0}.plugins .plugin-update-tr:before,.plugins tr.active+tr.inactive td.column-description,.plugins tr.active+tr.inactive th.check-column{-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}.plugins .plugin-update-tr:before{content:"";display:table-cell}.plugins .active.update+.plugin-update-tr:before{border-left:4px solid #d54e21;background-color:#fef7f1}.plugins #the-list .plugin-update-tr .plugin-update{border-left:none}table.plugin-install .column-description,table.plugin-install .column-name,table.plugin-install .column-rating,table.plugin-install .column-version{display:block;width:auto}table.plugin-install th.column-description,table.plugin-install th.column-name,table.plugin-install th.column-rating,table.plugin-install th.column-version{display:none}table.plugin-install #the-list td{-webkit-box-shadow:none;box-shadow:none}table.plugin-install #the-list tr{display:block;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}.plugin-card{margin-right:0;width:100%}}#titlediv,#wp-content-editor-container,.postbox,form#tags-filter{position:relative}#pending,#poststuff #titlewrap{border:0;padding:0}#poststuff{padding-top:10px;min-width:763px}#poststuff #post-body{padding:0}#poststuff .postbox-container{width:100%}#poststuff #post-body.columns-2{margin-right:300px}#show-comments{overflow:hidden}#save-action .spinner,#show-comments a{float:left}#show-comments .spinner{float:none;margin-top:0}#lost-connection-notice .spinner{visibility:visible;float:left;margin:0 5px 0 0}#titlediv label{cursor:text}#titlediv div.inside{margin:0}#titlediv #title{padding:3px 8px;font-size:1.7em;line-height:100%;height:1.7em;width:100%;outline:0;margin:0 0 3px;background-color:#fff}#titlediv #title-prompt-text{color:#777;position:absolute;font-size:1.7em;padding:11px 10px}#poststuff .inside-submitbox,#side-sortables .inside-submitbox{margin:0 3px;font-size:11px}input#link_description,input#link_url{width:98%}#pending{background:0 none;font-size:11px;margin-top:-1px}#comment-link-box,#edit-slug-box{line-height:24px;min-height:25px;margin-top:5px;padding:0 10px;color:#666}#edit-slug-box .cancel{margin-right:10px;padding:0;font-size:11px;text-decoration:underline;color:#0073aa}#comment-link-box{margin:5px 0;padding:0 5px}#editable-post-name-full{display:none}#editable-post-name{font-weight:700}#editable-post-name input{font-size:13px;font-weight:400;height:22px;margin:0;width:16em}.postarea h3 label{float:left}.submitbox .submit{text-align:left;padding:12px 10px 10px;font-size:11px;background-color:#464646;color:#ccc}.submitbox .submitdelete{text-decoration:none;padding:1px 2px}#normal-sortables .submitbox .submitdelete:hover{color:#000;background-color:red;border-bottom-color:red}.submitbox .submit a:hover{text-decoration:underline}.submitbox .submit input{margin-bottom:8px;margin-right:4px;padding:6px}.inside-submitbox #post_status{margin:2px 0 2px -2px}#post-status-select{margin-top:3px}#post-body #normal-sortables{min-height:50px}.postbox{min-width:255px;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,.04);background:#fff}#trackback_url{width:99%}#normal-sortables .postbox .submit{background:0 0;border:0;float:right;padding:0 12px;margin:0}.category-add input[type=text],.category-add select{width:100%;max-width:260px;vertical-align:baseline}#side-sortables .category-add input[type=text],#side-sortables .category-add select{margin:0 0 1em}#side-sortables .add-menu-item-tabs li,.wp-tab-bar li,ul.category-tabs li{display:inline;line-height:1.35em}.no-js .category-tabs li.hide-if-no-js{display:none}#side-sortables .add-menu-item-tabs a,.category-tabs a,.wp-tab-bar a{text-decoration:none}#post-body ul.add-menu-item-tabs li.tabs a,#post-body ul.category-tabs li.tabs a,#side-sortables .add-menu-item-tabs .tabs a,#side-sortables .category-tabs .tabs a,.wp-tab-bar .wp-tab-active a{color:#32373c}.category-tabs{margin:8px 0 5px}#category-adder h4{margin:0}.taxonomy-add-new{display:inline-block;margin:10px 0;font-weight:600}.ui-tabs-hide,.wp-editor-expand #content-resize-handle,.wp-hidden-children .wp-hidden-child{display:none}#side-sortables .add-menu-item-tabs,.wp-tab-bar{margin-bottom:3px}#normal-sortables .postbox #replyrow .submit{float:none;margin:0;padding:5px 7px 10px;overflow:hidden}#side-sortables .submitbox .submit .preview,#side-sortables .submitbox .submit a.preview:hover,#side-sortables .submitbox .submit input{border:0}#side-sortables .inside-submitbox .insidebox,.stuffbox .insidebox{margin:11px 0}ul.add-menu-item-tabs,ul.category-tabs,ul.wp-tab-bar{margin-top:12px}ul.add-menu-item-tabs li,ul.category-tabs li{border:1px solid transparent;position:relative}.wp-tab-active,ul.add-menu-item-tabs li.tabs,ul.category-tabs li.tabs{border:1px solid #dfdfdf;border-bottom-color:#fdfdfd;background-color:#fdfdfd}ul.add-menu-item-tabs li,ul.category-tabs li,ul.wp-tab-bar li{padding:3px 5px 5px}#postimagediv .inside img{max-width:100%;height:auto;width:auto;background-image:-webkit-linear-gradient(45deg,#c4c4c4 25%,transparent 25%,transparent 75%,#c4c4c4 75%,#c4c4c4),-webkit-linear-gradient(45deg,#c4c4c4 25%,transparent 25%,transparent 75%,#c4c4c4 75%,#c4c4c4);background-image:linear-gradient(45deg,#c4c4c4 25%,transparent 25%,transparent 75%,#c4c4c4 75%,#c4c4c4),linear-gradient(45deg,#c4c4c4 25%,transparent 25%,transparent 75%,#c4c4c4 75%,#c4c4c4);background-position:0 0,10px 10px;-webkit-background-size:20px 20px;background-size:20px 20px}#post-body .tagsdiv #newtag{margin-right:5px;width:16em}#side-sortables input#post_password{width:94%}#side-sortables .tagsdiv #newtag{width:68%}#post-status-info{width:100%;border-spacing:0;border:1px solid #e5e5e5;border-top:none;background-color:#f7f7f7;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);z-index:999}#post-status-info td{font-size:12px}.autosave-info{padding:2px 10px;text-align:right}#editorcontent #post-status-info{border:none}#content-resize-handle{background:url(../images/resize.gif) right bottom no-repeat;width:12px;cursor:row-resize}.rtl #content-resize-handle{background:url(../images/resize-rtl.gif) left bottom no-repeat}#postdivrich #content{resize:none}#wp-word-count{display:block;padding:2px 10px}#content-textarea-clone{z-index:-1;position:absolute;top:0;visibility:hidden;overflow:hidden;max-width:100%;border:1px solid transparent}.wp-editor-expand #wp-content-editor-tools{z-index:1000;border-bottom:1px solid #e5e5e5}.wp-editor-expand #wp-content-editor-container{-webkit-box-shadow:none;box-shadow:none;margin-top:-1px;border-bottom:0 none}.wp-editor-expand div.mce-statusbar{z-index:1}.wp-editor-expand #post-status-info{border-top:1px solid #e5e5e5}.wp-editor-expand div.mce-toolbar-grp{z-index:999}.mce-fullscreen #wp-content-wrap .mce-edit-area,.mce-fullscreen #wp-content-wrap .mce-menubar,.mce-fullscreen #wp-content-wrap .mce-statusbar,.mce-fullscreen #wp-content-wrap .mce-toolbar-grp{position:static!important;width:auto!important;padding:0!important}.mce-fullscreen #wp-content-wrap .mce-statusbar{visibility:visible!important}.mce-fullscreen #wp-content-wrap .mce-tinymce .mce-wp-dfw,.mce-fullscreen #wp-content-wrap .mce-wp-dfw,.post-php.mce-fullscreen #wpadminbar{display:none}#wp-content-editor-tools{background-color:#f1f1f1;padding-top:20px}#poststuff #post-body.columns-2 #side-sortables{width:280px}#timestampdiv select{height:21px;line-height:14px;padding:0;vertical-align:top;font-size:12px}#aa,#hh,#jj,#mn{padding:1px;font-size:12px}#hh,#jj,#mn{width:2em}#aa{width:3.4em}.curtime #timestamp{padding:2px 0 1px;display:inline!important;height:auto!important}#misc-publishing-actions label[for=post_status]:before,#post-body #visibility:before,#post-body .misc-pub-revisions:before,.curtime #timestamp:before,span.wp-media-buttons-icon:before{color:#82878c}#post-body #visibility:before,#post-body .misc-pub-revisions:before,.curtime #timestamp:before{font:400 20px/1 dashicons;speak:none;display:inline-block;padding:0 2px 0 0;top:0;left:-1px;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}#post-body #visibility:before{content:"\f177"}.curtime #timestamp:before{content:"\f145";top:-1px}#post-body .misc-pub-revisions:before{content:"\f321"}#timestampdiv{padding-top:5px;line-height:23px}#timestampdiv p{margin:8px 0 6px}#timestampdiv input{border-width:1px;border-style:solid}.notification-dialog{position:fixed;top:30%;max-height:70%;left:50%;width:450px;margin-left:-225px;background:#fff;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.3);box-shadow:0 3px 6px rgba(0,0,0,.3);line-height:1.5;z-index:1000005;overflow-y:auto}.notification-dialog-background{position:fixed;top:0;left:0;right:0;bottom:0;background:#000;opacity:.7;filter:alpha(opacity=70);z-index:1000000}#post-lock-dialog .post-locked-message,#post-lock-dialog .post-taken-over{margin:25px}#post-lock-dialog .post-locked-message a.button{margin-right:10px}#post-lock-dialog .post-locked-avatar{float:left;margin:0 20px 20px 0}#post-lock-dialog .wp-tab-first{outline:0}#post-lock-dialog .locked-saving img{float:left;margin-right:3px}#post-lock-dialog.saved .locked-saved,#post-lock-dialog.saving .locked-saving{display:inline}#excerpt{display:block;margin:12px 0 0;height:4em;width:100%}.tagchecklist{margin-left:14px;font-size:12px;overflow:auto}.tagchecklist br{display:none}.tagchecklist span,.tagchecklist span a{display:block;float:left;overflow:hidden}.tagchecklist strong{margin-left:-8px;position:absolute}.tagchecklist span{margin-right:25px;font-size:13px;line-height:1.8em;cursor:default;max-width:100%;text-overflow:ellipsis}.tagchecklist span a{margin:1px 0 0 -17px;cursor:pointer;width:20px;height:20px;text-indent:0;position:absolute}#poststuff .stuffbox>h3,#poststuff h2,#poststuff h3.hndle{font-size:14px;padding:8px 12px;margin:0;line-height:1.4}#poststuff .inside{margin:6px 0 0}#poststuff .inside #page_template,#poststuff .inside #parent_id{max-width:100%}#poststuff .inside label.deleted,#poststuff .inside label.spam{color:red}#poststuff .inside label.waiting{color:orange}#poststuff .inside label.approved{color:green}.ie8 #poststuff .inside #page_template,.ie8 #poststuff .inside #parent_id{width:250px}#post-visibility-select{line-height:1.5em;margin-top:3px}#poststuff #submitdiv .inside{margin:0;padding:0}#post-body-content,.edit-form-section{margin-bottom:20px}#postcustomstuff thead th{padding:5px 8px 8px;background-color:#f1f1f1}#postcustom #postcustomstuff .submit{border:0;float:none;padding:0 8px 8px}#side-sortables #postcustom #postcustomstuff .submit{margin:0;padding:0}#side-sortables #postcustom #postcustomstuff #the-list textarea{height:85px}#side-sortables #postcustom #postcustomstuff td.left input,#side-sortables #postcustom #postcustomstuff td.left select,#side-sortables #postcustomstuff #newmetaleft a{margin:3px 3px 0}#postcustomstuff table{margin:0;width:100%;border:1px solid #dfdfdf;border-spacing:0;background-color:#f9f9f9}#postcustomstuff tr{vertical-align:top}#postcustomstuff table input,#postcustomstuff table select,#postcustomstuff table textarea{width:96%;margin:8px}#side-sortables #postcustomstuff table input,#side-sortables #postcustomstuff table select,#side-sortables #postcustomstuff table textarea{margin:3px}#postcustomstuff td.left,#postcustomstuff th.left{width:38%}#postcustomstuff .submit input{margin:0;width:auto}#postcustomstuff #newmetaleft a{display:inline-block;margin:0 8px 8px;text-decoration:none}.no-js #postcustomstuff #enternew{display:none}#post-body-content .compat-attachment-fields{margin-bottom:20px}.compat-attachment-fields th{padding-top:5px;padding-right:10px}#select-featured-image{padding:4px 0;overflow:hidden}#select-featured-image img{max-width:100%;height:auto;margin-bottom:10px}#select-featured-image a{float:left;clear:both}#select-featured-image .remove{display:none;margin-top:10px}.js #select-featured-image.has-featured-image .remove{display:inline-block}.no-js #select-featured-image .choose{display:none}.post-state-format{overflow:hidden;display:inline-block;vertical-align:middle;height:20px;width:20px;margin-right:5px;margin-top:-4px}.post-state-format:before{display:block;height:20px;width:20px;font:400 20px/1 dashicons!important;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.post-format-icon:before,.post-state-format:before{color:#ddd;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}a.post-format-icon:hover:before,a.post-state-format:hover:before{color:#00a0d2}#post-formats-select{line-height:2em}#post-formats-select .post-format-icon:before{top:5px}input.post-format{margin-top:1px}label.post-format-icon{margin-left:0;padding:2px 0}.post-format-icon:before{position:relative;display:inline-block;margin-right:7px;font:400 20px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.post-format-icon.post-format-standard:before,.post-state-format.post-format-standard:before,a.post-state-format.format-standard:before{content:"\f109"}.post-format-icon.post-format-image:before,.post-state-format.post-format-image:before,a.post-state-format.format-image:before{content:"\f128"}.post-format-icon.post-format-gallery:before,.post-state-format.post-format-gallery:before,a.post-state-format.format-gallery:before{content:"\f161"}.post-format-icon.post-format-audio:before,.post-state-format.post-format-audio:before,a.post-state-format.format-audio:before{content:"\f127"}.post-format-icon.post-format-video:before,.post-state-format.post-format-video:before,a.post-state-format.format-video:before{content:"\f126"}.post-format-icon.post-format-chat:before,.post-state-format.post-format-chat:before,a.post-state-format.format-chat:before{content:"\f125"}.post-format-icon.post-format-status:before,.post-state-format.post-format-status:before,a.post-state-format.format-status:before{content:"\f130"}.post-format-icon.post-format-aside:before,.post-state-format.post-format-aside:before,a.post-state-format.format-aside:before{content:"\f123"}.post-format-icon.post-format-quote:before,.post-state-format.post-format-quote:before,a.post-state-format.format-quote:before{content:"\f122"}.post-format-icon.post-format-link:before,.post-state-format.post-format-link:before,a.post-state-format.format-link:before{content:"\f103"}.category-adder{margin-left:120px;padding:4px 0}.category-adder h4{margin:0 0 8px}#side-sortables .category-adder{margin:0}.categorydiv div.tabs-panel,.customlinkdiv div.tabs-panel,.posttypediv div.tabs-panel,.taxonomydiv div.tabs-panel,.wp-tab-panel{min-height:42px;max-height:200px;overflow:auto;padding:0 .9em;border:1px solid #dfdfdf;background-color:#fdfdfd}div.tabs-panel-active{display:block}div.tabs-panel-inactive{display:none}#front-page-warning,#front-static-pages ul,.categorydiv ul.categorychecklist ul,.customlinkdiv ul.categorychecklist ul,.inline-editor ul.cat-checklist ul,.posttypediv ul.categorychecklist ul,.taxonomydiv ul.categorychecklist ul,ul.export-filters{margin-left:18px}ul.categorychecklist li{margin:0;padding:0;line-height:22px;word-wrap:break-word}.categorydiv .tabs-panel,.customlinkdiv .tabs-panel,.posttypediv .tabs-panel,.taxonomydiv .tabs-panel{border-width:3px;border-style:solid}.form-wrap label{display:block;padding:2px;font-size:12px}.form-field input[type=text],.form-field input[type=password],.form-field input[type=email],.form-field input[type=number],.form-field input[type=tel],.form-field input[type=url],.form-field input[type=search],.form-field textarea{border-style:solid;border-width:1px;width:95%}.form-wrap p,p.description{margin:2px 0 5px;color:#666}.form-wrap p,p.description,p.help,span.description{font-size:13px;font-style:italic}.form-wrap .form-field{margin:0 0 10px;padding:8px 0}.form-wrap .form-field #parent{max-width:100%}.col-wrap h2{margin:12px 0;font-size:1.1em}.col-wrap p.submit{margin-top:-10px}#poststuff .tagsdiv .howto{margin:0 0 6px}.ajaxtag .newtag{position:relative}.tagsdiv .newtag{width:180px}.tagsdiv .the-tags{display:block;height:60px;margin:0 auto;overflow:auto;width:260px}#qt_content_dfw,#wp-content-wrap .mce-wp-dfw,.ac_results{display:none}#post-body-content .tagsdiv .the-tags{margin:0 5px}p.popular-tags{border:none;line-height:2em;padding:8px 12px 12px;text-align:justify}p.popular-tags a{padding:0 3px}.tagcloud{width:97%;margin:0 0 40px;text-align:justify}.tagcloud h2{margin:2px 0 12px}.ac_results{padding:0;margin:0;list-style:none;position:absolute;z-index:10000;border:1px solid grey;background-color:#fff}.wp-customizer .ac_results{z-index:500000}.ac_results li{padding:2px 5px;white-space:nowrap;color:#101010;text-align:left}.ac_over{background-color:#f0f0b8;cursor:pointer}.ac_match{text-decoration:underline}.imgedit-group-top h2 a,.imgedit-group-top h3 a,a.imgedit-help-toggle,table.diff .diff-addedline ins,table.diff .diff-deletedline del{text-decoration:none}.comment-php .wp-editor-area{height:200px}.comment-ays td,.comment-ays th{padding:10px 15px}#comment-status-radio label,.links-table td,.links-table th{padding:5px 0}.comment-ays-submit .button-cancel{margin-left:1em}.spam-undo-inside,.trash-undo-inside{margin:1px 8px 1px 0;line-height:16px}.spam-undo-inside .avatar,.trash-undo-inside .avatar{height:20px;width:20px;margin-right:8px;vertical-align:middle}.stuffbox .editcomment{clear:none}#comment-status-radio p{margin:3px 0 5px}#comment-status-radio input{margin:2px 3px 5px 0;vertical-align:middle}table.links-table{width:100%;border-spacing:0}.links-table th{font-weight:400;text-align:left;vertical-align:top;min-width:80px;width:20%;word-wrap:break-word}.links-table td label{margin-right:8px}.links-table td input[type=text],.links-table td textarea{width:100%}.links-table #link_rel{max-width:280px}.wp-editor-expand #qt_content_dfw,.wp-editor-expand #wp-content-wrap .mce-wp-dfw{display:inline-block}.focus-on #screen-meta,.focus-on #screen-meta-links,.focus-on #wp-toolbar,.focus-on #wpfooter,.focus-on .postbox-container>*,.focus-on .update-nag,.focus-on .wrap>h1,.focus-on div.error,.focus-on div.notice,.focus-on div.updated{opacity:0;-webkit-transition-duration:.6s;transition-duration:.6s;-webkit-transition-property:opacity;transition-property:opacity;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}.focus-on #wp-toolbar{opacity:.3}.focus-off #screen-meta,.focus-off #screen-meta-links,.focus-off #wp-toolbar,.focus-off #wpfooter,.focus-off .postbox-container>*,.focus-off .update-nag,.focus-off .wrap>h1,.focus-off div.error,.focus-off div.notice,.focus-off div.updated{opacity:1;-webkit-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:opacity;transition-property:opacity;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}.focus-off #wp-toolbar{-webkit-transform:translate(0,0)}.focus-on #adminmenuback,.focus-on #adminmenuwrap{-webkit-transition-duration:.6s;transition-duration:.6s;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transform:translateX(-100%);-ms-transform:translateX(-100%);transform:translateX(-100%)}.focus-off #adminmenuback,.focus-off #adminmenuwrap{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);-webkit-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){#content-resize-handle,#post-body .wp_themeSkin .mceStatusbar a.mceResize{background:url(../images/resize-2x.gif) right bottom no-repeat;-webkit-background-size:11px 11px;background-size:11px 11px}.rtl #content-resize-handle,.rtl #post-body .wp_themeSkin .mceStatusbar a.mceResize{background:url(../images/resize-rtl-2x.gif) right bottom no-repeat}}@media only screen and (max-width:850px){#poststuff{min-width:0}#wpbody-content #poststuff #post-body{margin:0}#wpbody-content #post-body.columns-2 #postbox-container-1{margin-right:0;width:100%}#poststuff #postbox-container-1 #side-sortables:empty,#poststuff #postbox-container-1 .empty-container{border:0;height:0;min-height:0}#poststuff #post-body.columns-2 #side-sortables{min-height:0;width:auto}.columns-prefs,.screen-layout{display:none}}@media screen and (max-width:782px){#post-body-content{min-width:0}#titlediv #title-prompt-text{padding:10px}#poststuff .stuffbox>h3,#poststuff h2,#poststuff h3.hndle{padding:12px}.post-format-options{padding-right:0}.post-format-options a{margin-right:5px;margin-bottom:5px;min-width:52px}.post-format-options .post-format-title{font-size:11px}.post-format-options a div{height:28px;width:28px}.post-format-options a div:before{font-size:26px!important}#post-visibility-select{line-height:280%}.wp-core-ui .save-post-visibility,.wp-core-ui .save-timestamp{vertical-align:middle;margin-right:15px}.timestamp-wrap select#mm{display:block;width:100%;margin-bottom:10px}.timestamp-wrap #aa,.timestamp-wrap #hh,.timestamp-wrap #jj,.timestamp-wrap #mn{padding:12px 3px;font-size:14px;margin-bottom:5px;width:auto;text-align:center}ul.category-tabs{margin:30px 0 15px}.tagsdiv .newtag,ul.categorychecklist li{margin-bottom:15px}ul.category-tabs li.tabs{padding:15px}ul.categorychecklist ul{margin-top:15px}.category-add input[type=text],.category-add select{max-width:none;margin-bottom:15px}.tagsdiv .newtag{width:100%;height:auto}.tagchecklist{margin:25px 10px}.tagchecklist span{font-size:16px;line-height:1.4}#commentstatusdiv p{line-height:2.8}.mceToolbar *{white-space:normal!important}.mceToolbar td,.mceToolbar tr{float:left!important}.wp_themeSkin a.mceButton{width:30px;height:30px}.wp_themeSkin .mceButton .mceIcon{margin-top:5px;margin-left:5px}.wp_themeSkin .mceSplitButton{margin-top:1px}.wp_themeSkin .mceSplitButton td a.mceAction{padding:6px 3px 6px 6px}.wp_themeSkin .mceSplitButton td a.mceOpen,.wp_themeSkin .mceSplitButtonEnabled:hover td a.mceOpen{padding-top:6px;padding-bottom:6px;background-position:1px 6px}.wp_themeSkin table.mceListBox{margin:5px}div.quicktags-toolbar input{padding:10px 20px}button.wp-switch-editor{font-size:16px;line-height:1em;margin:7px 0 0 7px;padding:8px 12px}#wp-content-media-buttons a{font-size:16px;line-height:37px;height:39px;padding:0 20px 0 15px}.wp-media-buttons span.jetpack-contact-form-icon,.wp-media-buttons span.wp-media-buttons-icon{width:22px!important;margin-top:-3px!important;margin-left:-5px!important}.wp-media-buttons #insert-jetpack-contact-form span.jetpack-contact-form-icon:before,.wp-media-buttons .add_media span.wp-media-buttons-icon:before{font-size:20px!important}#content_wp_fullscreen{display:none}.misc-pub-section{padding:20px 10px}.misc-pub-section>a{float:right;font-size:16px}#delete-action,#publishing-action{line-height:47px}#publishing-action .spinner{float:none;margin-top:-2px}.comment-ays td,.comment-ays th{padding-bottom:0}.comment-ays td{padding-top:6px}.links-table #link_rel{max-width:none}.links-table td,.links-table th{padding:10px 0}}@media only screen and (max-width:500px){#wp-content-media-buttons a{font-size:14px;padding:0 10px}}.revisions-control-frame,.revisions-diff-frame{position:relative}.revisions-controls{padding-top:40px;height:100px;z-index:1}.revisions-controls input[type=checkbox]{position:relative;top:-1px;vertical-align:text-bottom}.revisions.pinned .revisions-controls{position:fixed;top:0;height:82px;background:#fff;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.1);box-shadow:0 1px 3px rgba(0,0,0,.1)}.revisions-diff,.revisions-meta{background-color:#fff;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.1)}.revisions-tickmarks{position:relative;margin:0 auto;height:.7em;top:7px;max-width:70%;box-sizing:border-box;background-color:#fff}.revisions-tickmarks>div{position:absolute;height:100%;border-left:1px solid #a0a5aa;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.revisions-tickmarks>div:first-child{border-width:0}.comparing-two-revisions .revisions-controls{height:140px}.comparing-two-revisions.pinned .revisions-controls{height:124px}.revisions .diff-error{position:absolute;text-align:center;margin:0 auto;width:100%;display:none}.revisions.diff-error .diff-error{display:block}.revisions .loading-indicator{position:absolute;vertical-align:middle;opacity:0;width:100%;width:-webkit-calc(100% - 30px);width:calc(100% - 30px);top:50%;top:-webkit-calc(50% - 10px);top:calc(50% - 10px);-webkit-transition:opacity .5s;transition:opacity .5s;filter:alpha(opacity=0)}body.folded .revisions .loading-indicator{margin-left:-32px}.revisions .loading-indicator span.spinner{display:block;margin:0 auto;float:none}.revisions.loading .loading-indicator{opacity:1;filter:alpha(opacity=100)}.revisions .diff{-webkit-transition:opacity .5s;transition:opacity .5s}.revisions.loading .diff{opacity:.5;filter:alpha(opacity=50)}.revisions.diff-error .diff{visibility:hidden}.revisions-meta{margin-top:20px;box-shadow:0 1px 3px rgba(0,0,0,.1)}.revisions.pinned .revisions-meta{-webkit-box-shadow:none;box-shadow:none}.revision-toggle-compare-mode{position:absolute;top:0;right:0}.comparing-two-revisions .revisions-next,.comparing-two-revisions .revisions-previous,.revisions-meta .diff-meta-to strong{display:none}.revisions-controls .author-card .date{color:#777}.revisions-controls .author-card.autosave{color:#d54e21}.revisions-controls .author-card .author-name{font-weight:700}.comparing-two-revisions .diff-meta-to strong{display:block}.revisions.pinned .revisions-buttons{padding:0 11px}.revisions-next,.revisions-previous{position:relative;z-index:1}.revisions-previous{float:left}.revisions-next{float:right}.revisions-controls .wp-slider{max-width:70%;margin:0 auto;top:-3px}.revisions-diff{padding:15px;box-shadow:0 1px 3px rgba(0,0,0,.1)}.revisions-diff h3:first-child{margin-top:0}#revisions-meta-restored img,.post-revisions li img{vertical-align:middle}table.diff tbody tr td:nth-child(2){width:4%}table.diff{width:100%;white-space:pre-wrap}table.diff col.content{width:auto}table.diff col.content.diffsplit{width:48%}table.diff col.diffsplit.middle{width:auto}table.diff col.ltype{width:30px}table.diff tr{background-color:transparent}table.diff td,table.diff th{font-family:Consolas,Monaco,monospace;font-size:14px;line-height:1.618;padding:.5em;vertical-align:top;word-wrap:break-word}table.diff td h1,table.diff td h2,table.diff td h3,table.diff td h4,table.diff td h5,table.diff td h6{margin:0}table.diff .diff-deletedline{background-color:#ffe9e9}table.diff .diff-deletedline del{background-color:#faa}table.diff .diff-addedline{background-color:#e9ffe9}table.diff .diff-addedline ins{background-color:#afa}.diff-meta{padding:5px;clear:both;min-height:32px}.diff-title strong{line-height:32px;min-width:60px;text-align:right;float:left;margin-right:5px}.revisions-controls .author-card .author-info{font-size:12px;line-height:16px}.revisions-controls .author-card .author-info,.revisions-controls .author-card .avatar{float:left;margin-left:6px;margin-right:6px}.revisions-controls .author-card .byline{display:block;font-size:12px}.revisions-controls .author-card .avatar{vertical-align:middle}.diff-meta input.restore-revision{float:right;margin-left:6px;margin-right:6px;margin-top:4px}.diff-meta-from{display:none}.comparing-two-revisions .diff-meta-from{display:block}.revisions-tooltip{position:absolute;bottom:105px;margin-right:0;margin-left:-69px;z-index:0;max-width:350px;min-width:130px;padding:8px 4px;opacity:0}.revisions-tooltip.flipped{margin-left:0;margin-right:-70px}.revisions.pinned .revisions-tooltip{display:none!important}.comparing-two-revisions .revisions-tooltip{bottom:145px}.revisions-tooltip-arrow{width:70px;height:15px;overflow:hidden;position:absolute;left:0;margin-left:35px;bottom:-15px}.revisions-tooltip.flipped .revisions-tooltip-arrow{margin-left:0;margin-right:35px;left:auto;right:0}.revisions-tooltip-arrow>span{content:"";position:absolute;left:20px;top:-20px;width:25px;height:25px;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.revisions-tooltip.flipped .revisions-tooltip-arrow>span{left:auto;right:20px}.ie8 .revisions-tooltip-arrow>span{left:15px;top:-25px;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(SizingMethod='auto expand', M11=0.7071067811865476, M12=-0.7071067811865475, M21=0.7071067811865475, M22=0.7071067811865476)"}.ie8 .revisions-tooltip.flipped .revisions-tooltip-arrow>span{right:25px}.revisions-tooltip,.revisions-tooltip-arrow>span{border:1px solid #d7d7d7;background-color:#fff}.revisions-tooltip{display:none}.arrow{width:70px;height:16px;overflow:hidden;position:absolute;left:0;margin-left:-35px;bottom:90px;z-index:10000}.arrow.top{top:-16px;bottom:auto}.arrow.left{left:20%}.arrow:after{z-index:9999;background-color:#fff;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.1);box-shadow:0 1px 3px rgba(0,0,0,.1);content:"";position:absolute;left:20px;top:-20px;width:25px;height:25px;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.revisions-tooltip,.revisions-tooltip-arrow:after{border-width:1px;border-style:solid}div.revisions-controls>.wp-slider>.ui-slider-handle{margin-left:-10px}.rtl div.revisions-controls>.wp-slider>.ui-slider-handle{margin-right:-10px}.wp-slider.ui-slider{position:relative;border:1px solid #d7d7d7;text-align:left;cursor:pointer}.wp-slider .ui-slider-handle{-webkit-border-radius:50%;border-radius:50%;height:18px;margin-top:-5px;outline:0;padding:2px;position:absolute;width:18px;z-index:2;-ms-touch-action:none;touch-action:none}.wp-slider .ui-slider-handle,.wp-slider .ui-slider-handle.focus{background:#f7f7f7;border:1px solid #ccc;-webkit-box-shadow:0 1px 0 #ccc;box-shadow:0 1px 0 #ccc}.wp-slider .ui-slider-handle.ui-state-hover,.wp-slider .ui-slider-handle:hover{background:#fafafa;border-color:#999}.wp-slider .ui-slider-handle.ui-state-active,.wp-slider .ui-slider-handle:active{background:#eee;border-color:#999;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);-webkit-transform:translateY(1px);-ms-transform:translateY(1px);transform:translateY(1px)}.wp-slider .ui-slider-handle:before{background:0 0;position:absolute;top:2px;left:2px;color:#555;content:"\f229";font:400 18px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.media-item .media-item-info tr,.wp-slider .ui-slider-range{background-color:transparent}.wp-slider .ui-slider-handle.ui-state-hover:before,.wp-slider .ui-slider-handle:hover:before{color:#23282d}.wp-slider .ui-slider-handle.from-handle:before,.wp-slider .ui-slider-handle.to-handle:before{font-size:20px!important;margin:-1px 0 0 -1px}.wp-slider .ui-slider-handle.from-handle:before{content:"\f139"}.wp-slider .ui-slider-handle.to-handle:before{content:"\f141"}.rtl .wp-slider .ui-slider-handle.from-handle:before{content:"\f141"}.rtl .wp-slider .ui-slider-handle.to-handle:before{content:"\f139";right:-1px}.wp-slider .ui-slider-range{position:absolute;font-size:.7em;display:block;border:0;background-image:none}.wp-slider.ui-slider-horizontal{height:.7em}.wp-slider.ui-slider-horizontal .ui-slider-handle{top:-.25em;margin-left:-.6em}.wp-slider.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.wp-slider.ui-slider-horizontal .ui-slider-range-min{left:0}.wp-slider.ui-slider-horizontal .ui-slider-range-max{right:0}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.revision-tick.completed-false{background-image:url(../images/spinner-2x.gif)}}@media screen and (max-width:782px){#diff-next-revision,#diff-previous-revision{margin-top:-1em}table.diff{-ms-word-break:break-all;word-break:break-all;word-wrap:break-word}}.media-item .describe{width:100%;border-top:1px solid #dfdfdf;clear:both;cursor:default}.media-item.media-blank .describe{border:0}.media-item .describe th{vertical-align:top;text-align:left;padding:5px 10px 10px;width:140px}.media-item .describe .align th{padding-top:0}.media-item .describe td{padding:0 8px 8px 0;vertical-align:top}.media-item thead.media-item-info td{padding:4px 10px 0}.media-item .media-item-info .A1B1{padding:0 0 0 10px}.media-item td.savesend{padding-bottom:15px}.media-item .thumbnail{max-height:128px;max-width:128px}#wpbody-content #async-upload-wrap a{display:none}.media-upload-form{margin-top:20px}.media-upload-form td label{margin-right:6px;margin-left:2px}.media-upload-form .align .field label{display:inline;padding:0 0 0 23px;margin:0 1em 0 3px;font-weight:600}.media-upload-form tr.image-size label{margin:0 0 0 5px;font-weight:600}.media-upload-form th.label label{font-weight:600;margin:.5em;font-size:13px}.media-upload-form th.label label span{padding:0 5px}.media-item .describe input[type=text],.media-item .describe textarea{width:460px}.media-item .describe p.help{margin:0;padding:0 0 0 5px}.describe-toggle-off,.describe-toggle-on,.media-item .edit-attachment{display:block;line-height:36px;float:right;margin-right:10px}.media-item .describe-toggle-off,.media-item.open .describe-toggle-on{display:none}.media-item.open .describe-toggle-off{display:block}.js .html-uploader #plupload-upload-ui,.media-item .startclosed,.media-item .startopen{display:none}.media-upload-form .media-item{min-height:36px;margin-bottom:1px;position:relative;width:100%;background:#fff}.media-upload-form .media-item,.media-upload-form .media-item .error{-webkit-box-shadow:0 1px 0 #dfdfdf;box-shadow:0 1px 0 #dfdfdf}#media-items:empty{border:0}.media-item .filename{line-height:36px;overflow:hidden;margin-left:6px}.media-item .pinkynail{float:left;margin:2px 10px 0 3px;max-width:40px;max-height:32px}.media-item .original{position:relative;height:34px}.media-item .progress{float:right;height:22px;margin:7px 6px;width:200px;line-height:2em;padding:0;overflow:hidden;-webkit-border-radius:22px;border-radius:22px;background:#ddd;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.media-item .bar{z-index:9;width:0;height:100%;margin-top:-22px;-webkit-border-radius:22px;border-radius:22px;background-color:#0073aa;-webkit-box-shadow:inset 0 0 2px rgba(0,0,0,.3);box-shadow:inset 0 0 2px rgba(0,0,0,.3)}.media-item .progress .percent{z-index:10;position:relative;width:200px;padding:0;color:#fff;text-align:center;line-height:22px;font-weight:400;text-shadow:0 1px 2px rgba(0,0,0,.2)}.upload-php .fixed .column-parent{width:15%}.js .html-uploader #html-upload-ui{display:block}.media-upload-form .media-item .error,.media-upload-form .media-item.error{width:auto;margin:0 0 1px}.media-upload-form .media-item .error{padding:10px 0 10px 14px}.media-item .error-div a.dismiss{display:block;float:right;margin:0 10px 0 15px}.find-box{background-color:#fff;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.3);box-shadow:0 3px 6px rgba(0,0,0,.3);width:600px;overflow:hidden;margin-left:-300px;position:fixed;top:30px;bottom:30px;left:50%;z-index:100105}.find-box-head{background:#fcfcfc;border-bottom:1px solid #dfdfdf;height:36px;font-size:18px;font-weight:600;line-height:36px;padding:0 36px 0 16px;position:absolute;top:0;left:0;right:0}.find-box-inside{overflow:auto;padding:16px;background-color:#fff;position:absolute;top:37px;bottom:45px;overflow-y:scroll;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.find-box-search{padding-bottom:16px}.find-box-search .spinner{float:none;left:105px;position:absolute}#find-posts-response,.find-box-search{position:relative}#find-posts-input,#find-posts-search{float:left}#find-posts-input{width:140px;height:28px;margin:0 4px 0 0}.widefat .found-radio{padding-right:0;width:16px}#find-posts-close{width:36px;height:36px;position:absolute;top:0;right:0;cursor:pointer;text-align:center;color:#666}#find-posts-close:hover{color:#00a0d2}#find-posts-close:before{font:400 20px/36px dashicons;vertical-align:top;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"\f158"}.find-box-buttons{padding:8px 16px;background:#fcfcfc;border-top:1px solid #dfdfdf;position:absolute;bottom:0;left:0;right:0}@media screen and (max-width:782px){.find-box-inside{bottom:57px}}@media screen and (max-width:660px){.find-box{top:0;bottom:0;left:0;right:0;margin:0;width:100%}}.ui-find-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000;opacity:.7;filter:alpha(opacity=70);z-index:100100}ul#dismissed-updates{display:none}form.upgrade{margin-top:8px}form.upgrade .hint{font-style:italic;font-size:85%;margin:-.5em 0 2em}#poststuff .inside .the-tagcloud{margin:5px 0 10px;padding:8px;border:1px solid #ddd;line-height:1.8em;word-spacing:3px}.drag-drop #drag-drop-area{border:4px dashed #b4b9be;height:200px}.drag-drop .drag-drop-inside{margin:70px auto 0;width:250px}.drag-drop-inside p{color:#a0a5aa;font-size:14px;margin:5px 0;display:none}.drag-drop .drag-drop-inside p{text-align:center}.drag-drop-inside p.drag-drop-info{font-size:20px}.drag-drop .drag-drop-inside p,.drag-drop-inside p.drag-drop-buttons{display:block}.media-frame.mode-grid .media-frame-menu,.media-frame.mode-grid .media-frame-router,.media-frame.mode-grid .media-frame-title,.upload-php .mode-grid .hide-sidebar .media-sidebar{display:none}.drag-drop.drag-over #drag-drop-area{border-color:#83b4d8}#plupload-upload-ui{position:relative}.media-frame.mode-grid,.media-frame.mode-grid .attachments-browser .attachments,.media-frame.mode-grid .media-frame-content,.media-frame.mode-grid .uploader-inline-content{position:static}.media-frame.mode-grid .media-frame-content{background-color:transparent;border:none}.upload-php .mode-grid .media-sidebar{position:relative;width:auto;margin-bottom:16px;padding:0 16px;border-left:4px solid #dd3d36;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1);background-color:#fff}.upload-php .mode-grid .media-sidebar .media-uploader-status{border-bottom:none;padding-bottom:0;max-width:100%}.upload-php .mode-grid .media-sidebar .upload-error{margin:12px 0;padding:4px 0 0;border:none;-webkit-box-shadow:none;box-shadow:none;background:0 0}.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors{top:-10px;right:-14px;padding:10px}.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:before{content:"\f153";display:block;font:400 16px/1 dashicons;color:#bbb}.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:focus:before,.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:hover:before{color:#c00}.upload-php .mode-grid .media-sidebar .media-uploader-status.errors h2,.upload-php .mode-grid .media-sidebar .media-uploader-status.errors h3{display:none}.media-frame.mode-grid .uploader-inline{position:relative;top:auto;right:auto;left:auto;bottom:auto;padding-top:0;margin-top:0;border:4px dashed #b4b9be}.media-frame.mode-select .attachments-browser.fixed .attachments{position:relative;top:94px;padding-bottom:94px}.media-frame.mode-grid .attachment.details:focus,.media-frame.mode-grid .attachment:focus,.media-frame.mode-grid .selected.attachment:focus{-webkit-box-shadow:inset 0 0 2px 3px #f1f1f1,inset 0 0 0 7px #5b9dd9;box-shadow:inset 0 0 2px 3px #f1f1f1,inset 0 0 0 7px #5b9dd9;outline:0}.media-frame.mode-grid .selected.attachment{-webkit-box-shadow:inset 0 0 0 5px #f1f1f1,inset 0 0 0 7px #ccc;box-shadow:inset 0 0 0 5px #f1f1f1,inset 0 0 0 7px #ccc}.media-frame.mode-grid .attachment.details{-webkit-box-shadow:inset 0 0 0 3px #f1f1f1,inset 0 0 0 7px #1e8cbe;box-shadow:inset 0 0 0 3px #f1f1f1,inset 0 0 0 7px #1e8cbe}.media-frame.mode-grid.mode-select .attachment .thumbnail{opacity:.65}.media-frame.mode-select .attachment.selected .thumbnail{opacity:1}.media-frame.mode-grid .media-toolbar{margin-bottom:15px;height:auto}.media-frame.mode-grid .media-toolbar select{margin:0 10px 0 0;font-size:14px}.media-frame.mode-grid.mode-edit .media-toolbar-secondary>.select-mode-toggle-button{margin:0 8px 0 0;vertical-align:middle}.media-frame.mode-grid .attachments-browser .bulk-select{display:inline-block;margin:0 10px 0 0}.media-frame.mode-grid .search{margin-top:0}.media-frame.mode-grid .spinner{margin-top:16px}.attachments-browser .media-toolbar-secondary>.media-button{margin-right:10px}.media-frame.mode-select .attachments-browser.fixed .media-toolbar{position:fixed;top:32px;left:auto;right:20px;margin-top:0}.media-frame.mode-grid .attachments-browser{padding:0}.media-frame.mode-grid .attachments-browser .attachments{padding:2px}.media-frame.mode-grid .attachments-browser .no-media{color:#999;font-size:18px;font-style:normal;margin:0;padding:100px 0 0;text-align:center}.edit-attachment-frame{display:block;height:100%;width:100%}.edit-attachment-frame .edit-media-header{overflow:hidden}.upload-php .media-modal-close .media-modal-icon:before{content:"\f335";font-size:22px}.edit-attachment-frame .edit-media-header .left,.edit-attachment-frame .edit-media-header .right,.upload-php .media-modal-close{cursor:pointer;color:#777;background-color:transparent;height:50px;width:50px;padding:0;position:absolute;text-align:center;border:0;border-left:1px solid #ddd;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out}.upload-php .media-modal-close{top:0;right:0}.edit-attachment-frame .edit-media-header .left{right:102px}.edit-attachment-frame .edit-media-header .right{right:51px}.edit-attachment-frame .media-frame-title{left:0;right:150px}.edit-attachment-frame .edit-media-header .left:before,.edit-attachment-frame .edit-media-header .right:before{font:400 20px/50px dashicons!important;display:inline;font-weight:300}.edit-attachment-frame .edit-media-header .left:focus,.edit-attachment-frame .edit-media-header .left:hover,.edit-attachment-frame .edit-media-header .right:focus,.edit-attachment-frame .edit-media-header .right:hover,.upload-php .media-modal-close:focus,.upload-php .media-modal-close:hover{background:#ddd;border-color:#ccc;color:#000;outline:0;-webkit-box-shadow:none;box-shadow:none}.upload-php .media-modal-close:focus .media-modal-icon:before,.upload-php .media-modal-close:hover .media-modal-icon:before{color:#000}.edit-attachment-frame .edit-media-header .left:before,.rtl .edit-attachment-frame .edit-media-header .right:before{content:"\f341"}.edit-attachment-frame .edit-media-header .right:before,.rtl .edit-attachment-frame .edit-media-header .left:before{content:"\f345"}.edit-attachment-frame .edit-media-header .left.disabled,.edit-attachment-frame .edit-media-header .left.disabled:hover,.edit-attachment-frame .edit-media-header .right.disabled,.edit-attachment-frame .edit-media-header .right.disabled:hover{color:#ccc;background:inherit;cursor:default;pointer-events:none}.edit-attachment-frame .media-frame-content,.edit-attachment-frame .media-frame-router{left:0}.edit-attachment-frame .media-frame-content{border-bottom:none;bottom:0;top:50px}.edit-attachment-frame .attachment-details{position:absolute;overflow:auto;top:0;bottom:0;right:0;left:0;-webkit-box-shadow:inset 0 4px 4px -4px rgba(0,0,0,.1);box-shadow:inset 0 4px 4px -4px rgba(0,0,0,.1)}.edit-attachment-frame .attachment-media-view{float:left;width:65%;height:100%}.edit-attachment-frame .attachment-media-view .thumbnail{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:16px;height:100%}.edit-attachment-frame .attachment-media-view .details-image{display:block;margin-bottom:16px;max-width:100%;max-height:90%;max-height:-webkit-calc(100% - 42px);max-height:calc(100% - 42px)}.edit-attachment-frame .wp-media-wrapper{margin-bottom:12px}.edit-attachment-frame input,.edit-attachment-frame textarea{padding:6px 8px;line-height:16px}.edit-attachment-frame .attachment-info{overflow:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin-bottom:0;padding:12px 16px 0;width:35%;height:100%;-webkit-box-shadow:inset 0 4px 4px -4px rgba(0,0,0,.1);box-shadow:inset 0 4px 4px -4px rgba(0,0,0,.1);border-bottom:0;border-left:1px solid #ddd;background:#f3f3f3}.edit-attachment-frame .attachment-info .details,.edit-attachment-frame .attachment-info .settings{position:relative;overflow:hidden;float:none;margin-bottom:15px;padding-bottom:15px;border-bottom:1px solid #ddd}.edit-attachment-frame .attachment-info .filename{font-weight:400;color:#666}.edit-attachment-frame .attachment-info .thumbnail{margin-bottom:12px}.attachment-info .actions{margin-bottom:16px}.attachment-info .actions a{display:inline;text-decoration:none}.wp_attachment_details label[for=content]{font-size:13px;line-height:1.5;margin:1em 0}.wp_attachment_details #attachment_caption{height:4em}.describe .image-editor{vertical-align:top}.imgedit-wrap{position:relative}.imgedit-settings p{margin:8px 0 0}.describe .imgedit-wrap .imgedit-settings{padding:0 5px}.wp_attachment_holder div.updated{margin-top:0}.wp_attachment_holder .imgedit-wrap>div{height:auto;overflow:hidden}.wp_attachment_holder .imgedit-wrap .imgedit-panel-content{padding-right:16px;width:auto;overflow:hidden}.wp_attachment_holder .imgedit-wrap .imgedit-settings{float:right;width:250px}.imgedit-settings input{margin-top:0;vertical-align:middle}.imgedit-wait{position:absolute;top:0;background:url(../images/spinner.gif) center no-repeat #fff;-webkit-background-size:20px 20px;background-size:20px 20px;opacity:.7;filter:alpha(opacity=70);width:100%;height:500px;display:none}.no-float{float:none}.A1B1 .button,.A1B1 .spinner,.wp_attachment_image .button,.wp_attachment_image .spinner{float:left}.imgedit-settings .disabled,.media-disabled{color:grey}.A1B1,.wp_attachment_image{overflow:hidden}.no-js .wp_attachment_image .button{display:none}.imgedit-menu{margin:0 0 12px;min-width:300px}.imgedit-menu div{float:left;width:32px;border:1px solid #d5d5d5;background:#f1f1f1;margin:0 8px 0 0;height:32px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;line-height:28px;color:#777;cursor:pointer}.imgedit-menu div:before{font:400 20px/1 dashicons;speak:none;vertical-align:middle}.imgedit-menu div:hover{border-color:#c1c1c1;background-color:#eaeaea;color:#32373c}.imgedit-menu div.disabled{border-color:#ccc;background-color:#ddd;color:#777;filter:alpha(opacity=50);opacity:.5;cursor:default}.imgedit-crop:before{content:"\f165"}.imgedit-rleft:before{content:"\f166"}.imgedit-rright:before{content:"\f167"}.imgedit-flipv:before{content:"\f168"}.imgedit-fliph:before{content:"\f169"}.imgedit-undo:before{content:"\f171"}.imgedit-redo:before{content:"\f172"}.imgedit-crop-wrap{position:relative}.imgedit-crop{margin:0 8px 0 0}.imgedit-rleft{margin:0 3px}.imgedit-rright{margin:0 8px 0 3px}.imgedit-flipv{margin:0 3px}.imgedit-fliph{margin:0 8px 0 3px}.imgedit-undo{margin:0 3px}.imgedit-redo{margin:0 8px 0 3px}.imgedit-applyto img{margin:0 8px 0 0}#poststuff .imgedit-group-top h2,#poststuff .imgedit-group-top h3{margin:0;padding:0;font-size:14px;line-height:1.4}.imgedit-applyto .imgedit-label{padding:2px 0 0;display:block}.imgedit-help{display:none;font-style:italic}.form-table td.imgedit-response{padding:0}.imgedit-submit{margin:8px 0 0}.imgedit-submit-btn{margin-left:20px}.imgedit-wrap .nowrap{white-space:nowrap}span.imgedit-scale-warn{color:red;font-size:20px;font-style:normal;visibility:hidden;vertical-align:middle}.imgedit-group{margin-bottom:8px;padding:10px}audio,video{display:inline-block;max-width:100%}.mejs-container{width:100%;max-width:100%}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.imgedit-wait{background-image:url(../images/spinner-2x.gif)}}@media screen and (max-width:782px){.wp_attachment_details label[for=content]{font-size:14px;line-height:1.5em}.media-upload-form .media-item .error,.media-upload-form .media-item.error{font-size:13px;line-height:1.5}.media-upload-form .media-item.error{padding:1px 10px}.media-upload-form .media-item .error{padding:10px 0 10px 12px}}@media only screen and (max-width:1120px){#wp-media-grid .wp-filter .attachment-filters{max-width:100%}}@media only screen and (max-width:782px){.media-frame.mode-select .attachments-browser.fixed .media-toolbar{top:46px;right:10px}}@media only screen and (max-width:600px){.media-frame.mode-select .attachments-browser.fixed .media-toolbar{top:0}}@media only screen and (max-width:480px){.edit-attachment-frame .media-frame-title{right:110px}.edit-attachment-frame .edit-media-header .left,.edit-attachment-frame .edit-media-header .right,.upload-php .media-modal-close{width:40px;height:40px}.upload-php .media-modal-close .media-modal-icon{margin:9px 10px}.edit-attachment-frame .edit-media-header .left:before,.edit-attachment-frame .edit-media-header .right:before{line-height:40px!important}.edit-attachment-frame .edit-media-header .left{right:82px}.edit-attachment-frame .edit-media-header .right{right:41px}.edit-attachment-frame .media-frame-content{top:40px}.edit-attachment-frame .attachment-media-view{float:none;height:auto;width:100%}.edit-attachment-frame .attachment-info{height:auto;width:100%}}@media only screen and (max-width:640px),screen and (max-height:400px){.upload-php .mode-grid .media-sidebar{max-width:100%}}.theme-browser .themes{clear:both;padding:0 0 100px}.themes-php .wrap h1{float:left;margin-bottom:15px}.network-admin.themes-php .wrap h1{margin-bottom:0}.themes-php .wrap h1 .button{margin-left:20px}.themes-php .wp-filter-search{position:relative;top:-2px;left:20px;margin:0;width:280px;font-size:16px;font-weight:300;line-height:1.5}.themes-php div.error,.themes-php div.notice,.themes-php div.updated{margin:0 0 20px;clear:both}.themes-php div.updated a{text-decoration:underline}.theme-browser .theme{cursor:pointer;float:left;margin:0 4% 4% 0;position:relative;width:30.6%;border:1px solid #dedede;-webkit-box-shadow:0 1px 1px -1px rgba(0,0,0,.1);box-shadow:0 1px 1px -1px rgba(0,0,0,.1);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ie8 .theme-browser .theme{width:30%;margin:0 3% 4% 0}.theme-browser .theme:nth-child(3n){margin-right:0}.theme-browser .theme:focus,.theme-browser .theme:hover{cursor:pointer}.theme-browser .theme .theme-name{font-size:15px;font-weight:600;height:18px;margin:0;padding:15px;-webkit-box-shadow:inset 0 1px 0 rgba(0,0,0,.1);box-shadow:inset 0 1px 0 rgba(0,0,0,.1);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;background:#fff;background:rgba(255,255,255,.65)}.theme-browser .theme .theme-actions{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";opacity:0;-webkit-transition:opacity .1s ease-in-out;transition:opacity .1s ease-in-out;position:absolute;bottom:0;right:0;height:38px;padding:9px 10px 0;background:rgba(244,244,244,.7);border-left:1px solid rgba(0,0,0,.05)}.theme-browser .theme.focus .theme-actions,.theme-browser .theme:focus .theme-actions,.theme-browser .theme:hover .theme-actions{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";opacity:1}.theme-browser .theme .theme-actions .button-primary{margin-right:3px}.theme-browser .theme .theme-actions .button-secondary{float:none;margin-left:3px}.theme-browser .theme .theme-screenshot{display:block;overflow:hidden;position:relative;-webkit-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out}.theme-browser .theme .theme-screenshot:after{content:"";display:block;padding-top:66.66666%}.theme-browser .theme .theme-screenshot img{height:auto;position:absolute;left:0;top:0;width:100%;-webkit-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out}.theme-browser .theme:focus .theme-screenshot,.theme-browser .theme:hover .theme-screenshot{background:#fff}.theme-browser.rendered .theme:focus .theme-screenshot img,.theme-browser.rendered .theme:hover .theme-screenshot img{opacity:.4}.theme-browser .theme .more-details{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";opacity:0;position:absolute;top:35%;right:25%;left:25%;background:#23282d;background:rgba(0,0,0,.7);color:#fff;font-size:15px;text-shadow:0 1px 0 rgba(0,0,0,.6);-webkit-font-smoothing:antialiased;font-weight:600;padding:15px 12px;text-align:center;-webkit-border-radius:3px;border-radius:3px;-webkit-transition:opacity .1s ease-in-out;transition:opacity .1s ease-in-out}.theme-browser .theme:focus{border-color:#5b9dd9;-webkit-box-shadow:0 0 2px rgba(30,140,190,.8);box-shadow:0 0 2px rgba(30,140,190,.8)}.theme-browser .theme:focus .more-details{opacity:1}.theme-browser .theme.active:focus .theme-actions{display:block}.theme-browser.rendered .theme:focus .more-details,.theme-browser.rendered .theme:hover .more-details{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";opacity:1}.theme-browser .theme .theme-installed,.theme-browser .theme .theme-update{background:#d54e21;background:rgba(213,78,33,.95);color:#fff;display:block;font-size:13px;font-weight:400;height:48px;line-height:48px;padding:0 10px;position:absolute;top:0;right:0;left:0;border-bottom:1px solid rgba(0,0,0,.25);overflow:hidden}.theme-browser .theme .theme-installed:before,.theme-browser .theme .theme-update:before{content:"\f463";display:inline-block;font:400 20px/1 dashicons;margin:0 6px 0 0;opacity:.8;position:relative;top:5px;speak:none;-webkit-font-smoothing:antialiased}.theme-browser .theme.active .theme-name{background:#2f2f2f;color:#fff;padding-right:110px;font-weight:300;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.5);box-shadow:inset 0 1px 1px rgba(0,0,0,.5)}.theme-browser .customize-control .theme.active .theme-name{padding-right:15px}.theme-browser .theme.active .theme-name span{font-weight:600}.theme-browser .theme.active .theme-actions{background:rgba(49,49,49,.7);border-left:none;opacity:1}.theme-browser .theme.active .theme-actions .button-primary{margin-right:0}.theme-browser .theme .theme-author{background:#23282d;color:#eee;display:none;font-size:14px;margin:0 10px;padding:5px 10px;position:absolute;bottom:56px}.theme-browser .theme.display-author .theme-author{display:block}.theme-browser .theme.display-author .theme-author a{color:inherit;text-decoration:none}.theme-browser .theme.add-new-theme{border:none;-webkit-box-shadow:none;box-shadow:none}.theme-browser .theme.add-new-theme a{color:#999;text-decoration:none;display:block;position:relative;z-index:1}.theme-browser .theme.add-new-theme a:after{display:block;content:"";background:0 0;background:rgba(0,0,0,0);position:absolute;top:0;left:0;right:0;bottom:0;padding:0;text-shadow:none;border:5px dashed #d5d2ca;border:5px dashed rgba(0,0,0,.1);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.theme-browser .theme.add-new-theme span:after{background:#e5e5e5;background:rgba(153,153,153,.1);-webkit-border-radius:50%;border-radius:50%;display:inline-block;content:"\f132";-webkit-font-smoothing:antialiased;font:400 74px/115px dashicons;width:100px;height:100px;vertical-align:middle;text-align:center;color:#999;position:absolute;top:30%;left:50%;margin-left:-50px;text-indent:-4px;padding:0;text-shadow:none;z-index:4}.rtl .theme-browser .theme.add-new-theme span:after{text-indent:4px}.theme-browser .theme.add-new-theme a:focus .theme-screenshot,.theme-browser .theme.add-new-theme a:hover .theme-screenshot{background:0 0}.theme-browser .theme.add-new-theme a:focus span:after,.theme-browser .theme.add-new-theme a:hover span:after{background:#fff;color:#0073aa}.theme-browser .theme.add-new-theme a:focus:after,.theme-browser .theme.add-new-theme a:hover:after{border-color:transparent;color:#fff;background:#0073aa;content:""}.theme-browser .theme.add-new-theme .theme-name{background:0 0;text-align:center;-webkit-box-shadow:none;box-shadow:none;font-weight:400;position:relative;top:0;margin-top:-18px;padding-top:0;padding-bottom:48px}.theme-browser .theme.add-new-theme a:focus .theme-name,.theme-browser .theme.add-new-theme a:hover .theme-name{color:#fff;z-index:2}.theme-overlay .theme-backdrop{position:absolute;left:-20px;right:0;top:0;bottom:0;background:#f1f1f1;background:rgba(238,238,238,.9);z-index:10000}.theme-overlay .theme-header .close,.theme-overlay .theme-header .left,.theme-overlay .theme-header .right{cursor:pointer;background-color:transparent;height:48px;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;text-align:center}.theme-overlay .theme-header{position:absolute;top:0;left:0;right:0;height:48px;border-bottom:1px solid #ddd}.theme-overlay .theme-header button{padding:0}.theme-overlay .theme-header .close{width:50px;float:right;border:0;border-left:1px solid #ddd;transition:color .1s ease-in-out,background .1s ease-in-out}.theme-overlay .theme-header .close:before{font:400 22px/50px dashicons!important;color:#777;display:inline-block;content:"\f335";font-weight:300}.theme-overlay .theme-header .left,.theme-overlay .theme-header .right{color:#777;width:54px;float:left;border:0;border-right:1px solid #ddd;transition:color .1s ease-in-out,background .1s ease-in-out}.theme-overlay .theme-header .close:focus,.theme-overlay .theme-header .close:hover,.theme-overlay .theme-header .left:focus,.theme-overlay .theme-header .left:hover,.theme-overlay .theme-header .right:focus,.theme-overlay .theme-header .right:hover{background:#ddd;border-color:#ccc;color:#000}.theme-overlay .theme-header .close:focus:before,.theme-overlay .theme-header .close:hover:before{color:#000}.theme-overlay .theme-header .close:focus,.theme-overlay .theme-header .left:focus,.theme-overlay .theme-header .right:focus{-webkit-box-shadow:none;box-shadow:none;outline:0}.theme-overlay .theme-header .left.disabled,.theme-overlay .theme-header .left.disabled:hover,.theme-overlay .theme-header .right.disabled,.theme-overlay .theme-header .right.disabled:hover{color:#ccc;background:inherit;cursor:inherit}.theme-overlay .theme-header .left:before,.theme-overlay .theme-header .right:before{font:400 20px/50px dashicons!important;display:inline;font-weight:300}.theme-overlay .theme-header .left:before{content:"\f341"}.theme-overlay .theme-header .right:before{content:"\f345"}.theme-overlay .theme-wrap{clear:both;position:fixed;top:9%;left:190px;right:30px;bottom:3%;background:#fff;-webkit-box-shadow:0 1px 20px 5px rgba(0,0,0,.1);box-shadow:0 1px 20px 5px rgba(0,0,0,.1);z-index:10000;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-overflow-scrolling:touch}.theme-overlay .theme-wrap:after{content:".";display:block;height:0;clear:both;visibility:hidden}body.folded .theme-overlay .theme-wrap{left:70px}.theme-overlay .theme-about{position:absolute;top:49px;bottom:57px;left:0;right:0;overflow:auto;padding:2% 4%}.theme-overlay .theme-about:after{content:".";display:block;height:0;clear:both;visibility:hidden}.customize-support .theme-overlay .theme-actions a[href="themes.php?page=custom-header"],.customize-support .theme-overlay .theme-actions a[href="themes.php?page=custom-background"],.theme-overlay .theme-actions .active-theme,.theme-overlay.active .theme-actions .inactive-theme{display:none}.theme-overlay .theme-actions{position:absolute;text-align:center;bottom:0;left:0;right:0;padding:10px 25px 5px;background:#f3f3f3;z-index:30;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border-top:1px solid #eee}.upload-plugin,.upload-theme,.wp-full-overlay-sidebar{-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.ie8 .theme-overlay .theme-actions{border:1px solid #eee}.theme-overlay .theme-actions a{margin-right:5px;margin-bottom:5px}.broken-themes a.delete-theme,.theme-overlay .theme-actions .delete-theme{color:#a00;text-decoration:none;border-color:transparent;-webkit-box-shadow:none;box-shadow:none;background:0 0}.theme-overlay .theme-actions .delete-theme{position:absolute;right:10px;bottom:5px}.broken-themes a.delete-theme:focus,.broken-themes a.delete-theme:hover,.theme-overlay .theme-actions .delete-theme:focus,.theme-overlay .theme-actions .delete-theme:hover{background:#d54e21;color:#fff;border-color:#d54e21}.theme-overlay .theme-actions .inactive-theme,.theme-overlay.active .theme-actions .active-theme{display:block}.theme-overlay .theme-screenshots{float:left;margin:0 30px 0 0;width:55%;max-width:880px;text-align:center}.theme-overlay .screenshot{border:1px solid #fff;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;overflow:hidden;position:relative;-webkit-box-shadow:0 0 0 1px rgba(0,0,0,.2);box-shadow:0 0 0 1px rgba(0,0,0,.2)}.theme-overlay .screenshot:after{content:"";display:block;padding-top:75%}.theme-overlay .screenshot img{height:auto;position:absolute;left:0;top:0;width:100%}.theme-overlay.small-screenshot .theme-screenshots{position:absolute;width:302px}.theme-overlay.small-screenshot .theme-info{margin-left:350px;width:auto}.theme-overlay .screenshot.thumb{background:#ccc;border:1px solid #eee;float:none;display:inline-block;margin:10px 5px 0;width:140px;height:80px;cursor:pointer}.theme-overlay .screenshot.thumb:after{content:"";display:block;padding-top:100%}.theme-overlay .screenshot.thumb img{cursor:pointer;position:absolute;left:0;top:0;width:100%;height:auto}.theme-overlay .screenshot.selected{background:0 0;border:2px solid #00a0d2}.theme-overlay .screenshot.selected img{opacity:.8}.theme-browser .theme .theme-screenshot.blank,.theme-overlay .screenshot.blank{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAALElEQVQYGWO8d+/efwYkoKioiMRjYGBC4WHhUK6A8T8QIJt8//59ZC493AAAQssKpBK4F5AAAAAASUVORK5CYII=)}.theme-overlay .theme-info{width:40%;float:left}.theme-overlay .current-label{background:#32373c;color:#fff;font-size:11px;display:inline-block;padding:2px 8px;-webkit-border-radius:2px;border-radius:2px;margin:0 0 -10px;user-select:none}.theme-overlay .theme-name{color:#23282d;font-size:32px;font-weight:100;margin:10px 0 0;line-height:1.3}.theme-overlay .theme-version{color:#999;font-size:13px;font-weight:400;float:none;display:inline-block;margin-left:10px}.theme-overlay .theme-author{margin:15px 0 25px;color:#686868;font-size:16px;font-weight:400;line-height:inherit}.theme-overlay .theme-author a{text-decoration:none}.theme-overlay .theme-description{color:#555;font-size:15px;font-weight:400;line-height:1.5;margin:30px 0 0}.theme-overlay .theme-tags{border-top:3px solid #eee;color:#82878c;font-size:13px;font-weight:400;margin:30px 0 0;padding-top:20px}.theme-overlay .theme-tags span{color:#444;font-weight:700;margin-right:5px}.theme-overlay .parent-theme{background:#f7fcfe;border:1px solid #eee;border-left:4px solid #00a0d2;font-size:14px;font-weight:400;margin-top:30px;padding:10px 10px 10px 20px}.theme-overlay .parent-theme strong{font-weight:700}.single-theme .theme,.single-theme .theme-overlay .theme-backdrop,.single-theme .theme-overlay .theme-header{display:none}.single-theme .theme-overlay .theme-wrap{clear:both;min-height:330px;position:relative;left:auto;right:auto;top:auto;bottom:auto;z-index:10}.single-theme .theme-overlay .theme-about{padding:30px 30px 70px;position:static}.single-theme .theme-overlay .theme-actions{position:absolute}@media only screen and (min-width:2000px){#wpwrap .theme-browser .theme{width:17.6%;margin:0 3% 3% 0}#wpwrap .theme-browser .theme:nth-child(3n),#wpwrap .theme-browser .theme:nth-child(4n){margin-right:3%}#wpwrap .theme-browser .theme:nth-child(5n){margin-right:0}}@media only screen and (min-width:1680px){.theme-overlay .theme-wrap{width:1450px;margin:0 auto}}@media only screen and (min-width:1640px){.theme-browser .theme{width:22.7%;margin:0 3% 3% 0}.theme-browser .theme .theme-screenshot:after{padding-top:75%}.theme-browser .theme:nth-child(3n){margin-right:3%}.theme-browser .theme:nth-child(4n){margin-right:0}}@media only screen and (max-width:1120px){.theme-browser .theme{width:47.5%;margin-right:0}.theme-browser .theme:nth-child(even){margin-right:0}.theme-browser .theme:nth-child(odd){margin-right:5%}}@media only screen and (max-width:900px){.theme-overlay .theme-wrap{left:65px}}@media only screen and (max-width:780px){.theme-overlay .theme-wrap,body.folded .theme-overlay .theme-wrap{top:0;right:0;bottom:0;left:0;padding:70px 20px 20px;border:none;z-index:100000;position:fixed}.theme-browser .theme.active .theme-name span{display:none}.theme-overlay .theme-screenshots{width:40%}.theme-overlay .theme-info{width:50%}.single-theme .theme-wrap{padding:10px}.theme-browser .theme .theme-actions{padding:5px 10px 4px}.theme-overlay.small-screenshot .theme-screenshots{position:static;float:none;max-width:302px}.theme-overlay.small-screenshot .theme-info{margin-left:0;width:auto}.theme:focus .more-details,.theme:hover .more-details,.theme:not(.active):focus .theme-actions,.theme:not(.active):hover .theme-actions{display:none}.theme-browser.rendered .theme:focus .theme-screenshot img,.theme-browser.rendered .theme:hover .theme-screenshot img{opacity:1}}@media only screen and (max-width:480px){.theme-browser .theme{width:100%;margin-right:0}.theme-browser .theme:nth-child(2n),.theme-browser .theme:nth-child(3n){margin-right:0}}@media only screen and (max-width:650px){.theme-overlay .theme-description,.theme-overlay .theme-update{margin-left:0}.theme-overlay .theme-actions .delete-theme{position:relative;right:auto;bottom:auto}.theme-overlay .theme-actions .inactive-theme{display:inline}.theme-overlay .theme-screenshots{width:100%;float:none}.theme-overlay .theme-info{width:100%}.theme-overlay .theme-author{margin:5px 0 15px}.theme-overlay .current-label{margin-top:10px;font-size:13px}.themes-php .wp-filter-search{float:none;clear:both;left:0;top:0;right:0;margin:10px 0;width:100%;max-width:280px}.theme-browser .theme.add-new-theme span:after{font:400 60px/90px dashicons;width:80px;height:80px;top:30%;left:50%;text-indent:0;margin-left:-40px}.single-theme .theme-wrap{margin:0 -12px 0 -10px;padding:10px}.single-theme .theme-overlay .theme-about{padding:10px;overflow:visible}.single-theme .current-label{display:none}.single-theme .theme-overlay .theme-actions{position:static}}.broken-themes{clear:both}.broken-themes table{text-align:left;width:50%;border-spacing:3px;padding:3px}.theme-browser .theme .theme-installed{background:#0073aa}.theme-browser .theme .theme-installed:before{content:"\f147"}.theme-browser .theme.is-installed .theme-actions .button-primary{display:none!important}.theme-install-php .wp-filter{padding:0 20px}.theme-install-php a.browse-themes,.theme-install-php a.upload{cursor:pointer}.theme-install-php a.browse-themes,.theme-install-php.show-upload-theme a.upload{display:none}.theme-install-php.show-upload-theme a.browse-themes{display:inline}.upload-plugin,.upload-theme{box-sizing:border-box;display:none;margin:0;padding:0;width:100%;overflow:hidden;position:relative;top:10px}.wp-full-overlay,.wp-full-overlay-main,.wp-full-overlay-sidebar{top:0;height:100%;bottom:0;left:0}.upload-plugin,body.show-upload-theme .upload-theme{display:block}body.show-upload-theme .upload-theme+.wp-filter,body.show-upload-theme .upload-theme+.wp-filter+.theme-browser,p.no-themes{display:none}.upload-plugin .wp-upload-form,.upload-theme .wp-upload-form{background:#fafafa;border:1px solid #e5e5e5;padding:30px;margin:30px auto;max-width:380px}.upload-plugin .install-help,.upload-theme .install-help{color:#999;font-size:18px;font-style:normal;margin:0;padding:40px 0 0;text-align:center}p.no-themes{clear:both;color:#666;font-size:18px;font-style:normal;margin:0;padding:0;text-align:center}body.no-results p.no-themes{display:block}.theme-install-php .add-new-theme,body.show-upload-theme p.no-themes{display:none!important}@media only screen and (max-width:1120px){.upload-theme .wp-upload-form{margin:20px 0;max-width:100%}.upload-theme .install-help{font-size:15px;padding:20px 0 0;text-align:left}}.theme-details .theme-rating{line-height:23px}.theme-details .star-rating{display:inline}.theme-details .no-rating,.theme-details .num-ratings{font-size:11px;color:#999}.theme-details .no-rating{display:block;line-height:20px}.appearance_page_custom-header #headimg{border:1px solid #DFDFDF;overflow:hidden;width:100%}.appearance_page_custom-header #upload-form p label{font-size:12px}.appearance_page_custom-header .available-headers .default-header{float:left;margin:0 20px 20px 0}.appearance_page_custom-header .random-header{clear:both;margin:0 20px 20px 0;vertical-align:middle}.appearance_page_custom-header .available-headers label input,.appearance_page_custom-header .random-header label input{margin-right:10px}.appearance_page_custom-header .available-headers label img{vertical-align:middle}div#custom-background-image{min-height:100px;border:1px solid #dfdfdf}div#custom-background-image img{max-width:400px;max-height:300px}body.full-overlay-active{overflow:hidden}.wp-full-overlay{background:0 0;z-index:500000;position:fixed;overflow:visible;right:0;min-width:0}.wp-full-overlay-sidebar{box-sizing:border-box;position:fixed;width:300px;padding:0;margin:0;z-index:10;background:#eee;border-right:none}.widget,.widget-placeholder{-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.wp-full-overlay.collapsed,.wp-full-overlay.expanded .wp-full-overlay-sidebar{margin-left:0!important}.wp-full-overlay.expanded{margin-left:300px}.wp-full-overlay.collapsed .wp-full-overlay-sidebar{overflow:visible;margin-left:-300px}.wp-full-overlay-sidebar:after{content:"";display:block;position:absolute;top:0;bottom:0;right:0;width:3px;z-index:1000}.wp-full-overlay-main{position:absolute;right:0}#customize-preview.wp-full-overlay-main{background:url(../images/spinner.gif) center center no-repeat;-webkit-background-size:20px 20px;background-size:20px 20px}#customize-preview.wp-full-overlay-main.iframe-ready{background:0 0}.wp-full-overlay-sidebar .wp-full-overlay-header{position:absolute;left:0;right:0;height:45px;padding:0 15px;line-height:45px;z-index:10;margin:0;border-top:none;-webkit-box-shadow:none;box-shadow:none}.wp-full-overlay-sidebar .wp-full-overlay-header a.back{margin-top:9px}.wp-full-overlay-sidebar .wp-full-overlay-footer{bottom:0;border-bottom:none;border-top:none;-webkit-box-shadow:none;box-shadow:none}.wp-full-overlay-sidebar .wp-full-overlay-sidebar-content{position:absolute;top:45px;bottom:45px;left:0;right:0;overflow:auto}.theme-install-overlay .wp-full-overlay-sidebar .wp-full-overlay-header{padding:0}.theme-install-overlay .close-full-overlay,.theme-install-overlay .next-theme,.theme-install-overlay .previous-theme{display:block;position:relative;float:left;width:45px;height:45px;padding-right:2px;background:#eee;border-right:1px solid #ddd;color:#444;cursor:pointer;text-decoration:none;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out}.theme-install-overlay .close-full-overlay:focus,.theme-install-overlay .close-full-overlay:hover,.theme-install-overlay .next-theme:focus,.theme-install-overlay .next-theme:hover,.theme-install-overlay .previous-theme:focus,.theme-install-overlay .previous-theme:hover{background:#ddd;border-color:#ccc;color:#000;outline:0;-webkit-box-shadow:none;box-shadow:none}.theme-install-overlay .close-full-overlay:before{font:400 22px/1 dashicons;content:"\f335";position:relative;top:7px;left:13px}.theme-install-overlay .previous-theme:before{font:400 20px/1 dashicons;content:"\f341";position:relative;top:6px;left:14px}.theme-install-overlay .next-theme:before{font:400 20px/1 dashicons;content:"\f345";position:relative;top:6px;left:13px}.theme-install-overlay .next-theme.disabled,.theme-install-overlay .next-theme.disabled:focus,.theme-install-overlay .next-theme.disabled:hover,.theme-install-overlay .previous-theme.disabled,.theme-install-overlay .previous-theme.disabled:focus,.theme-install-overlay .previous-theme.disabled:hover{color:#b4b9be;background:#eee;cursor:default;pointer-events:none}.wp-core-ui .wp-full-overlay .collapse-sidebar{position:fixed;bottom:8px;left:10px;padding:0;color:#656a6f;outline:0;line-height:1;background-color:transparent!important;border:none!important;-webkit-box-shadow:none!important;box-shadow:none!important;-webkit-border-radius:0!important;border-radius:0!important}.wp-core-ui .wp-full-overlay .collapse-sidebar:focus,.wp-core-ui .wp-full-overlay .collapse-sidebar:hover{color:#0073aa}.wp-full-overlay .collapse-sidebar-arrow,.wp-full-overlay .collapse-sidebar-label{display:inline-block;vertical-align:middle;line-height:20px}.wp-full-overlay .collapse-sidebar-arrow{width:20px;height:20px;margin:0 2px;-webkit-border-radius:50%;border-radius:50%;overflow:hidden}.wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow,.wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wp-full-overlay .collapse-sidebar-label{margin-left:3px}.wp-full-overlay.collapsed .collapse-sidebar-label{display:none}.wp-full-overlay .collapse-sidebar-arrow:before{display:block;content:"\f148";background:#eee;font:400 20px/1 dashicons;speak:none;padding:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.rtl .wp-full-overlay .collapse-sidebar-arrow:before,.wp-full-overlay.collapsed .collapse-sidebar-arrow:before{-webkit-transform:rotate(180.001deg);-ms-transform:rotate(180.001deg);transform:rotate(180.001deg)}.rtl .wp-full-overlay.collapsed .collapse-sidebar-arrow:before{-webkit-transform:none;-ms-transform:none;transform:none}.wp-full-overlay,.wp-full-overlay .collapse-sidebar,.wp-full-overlay-main,.wp-full-overlay-sidebar{-webkit-transition-property:left,right,top,bottom,width,margin;transition-property:left,right,top,bottom,width,margin;-webkit-transition-duration:.2s;transition-duration:.2s}.customize-support .hide-if-customize,.customize-support .wp-core-ui .hide-if-customize,.customize-support.wp-core-ui .hide-if-customize,.no-customize-support .hide-if-no-customize,.no-customize-support .wp-core-ui .hide-if-no-customize,.no-customize-support.wp-core-ui .hide-if-no-customize{display:none}#customize-container{display:none;background:#fff;z-index:500000;position:fixed;overflow:visible;top:0;bottom:0;left:0;right:0;height:100%}.customize-active #customize-container{display:block}.customize-loading #customize-container iframe{opacity:0}.customize-loading #customize-container{background:url(../images/spinner.gif) center center no-repeat fixed #fff;-webkit-background-size:20px 20px;background-size:20px 20px}#customize-container iframe,.theme-install-overlay iframe{height:100%;width:100%;z-index:20;-webkit-transition:opacity .3s;transition:opacity .3s}#customize-controls{margin-top:0}.theme-install-overlay{display:none}.theme-install-overlay.single-theme{display:block}.install-theme-info{display:none;padding:10px 20px 60px}.single-theme .install-theme-info{padding-top:15px}.theme-install-overlay .install-theme-info{display:block}.install-theme-info .theme-install{float:right;margin-top:18px}.install-theme-info .theme-name{font-size:16px;line-height:24px;margin-bottom:0;margin-top:0}.install-theme-info .theme-screenshot{margin:15px 0;width:258px;border:1px solid #ccc}.install-theme-info .theme-details{overflow:hidden}.theme-details .theme-version{margin:15px 0}.theme-details .theme-description{float:left;color:#777;line-height:20px;max-width:100%}.theme-install-overlay .wp-full-overlay-header .theme-install{float:right;margin:8px 10px 0 0;line-height:26px}.theme-install-overlay .wp-full-overlay-sidebar{background:#eee;border-right:1px solid #ddd}.theme-install-overlay .wp-full-overlay-sidebar-content{background:#fff;border-top:1px solid #ddd;border-bottom:1px solid #ddd}.theme-install-overlay .wp-full-overlay-main{position:relative;z-index:0;background-color:#fff}.theme-install-overlay .wp-full-overlay-main:before{content:'';display:block;width:20px;height:20px;position:absolute;left:50%;top:50%;z-index:-1;margin:-10px 0 0 -10px;-webkit-transform:translateZ(0);transform:translateZ(0);background:url(../images/spinner.gif) center center no-repeat #fff;-webkit-background-size:20px 20px;background-size:20px 20px}.theme-install-overlay.iframe-ready .wp-full-overlay-main:before{background-image:none}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.wp-full-overlay .collapse-sidebar-arrow{background-image:url(../images/arrows-2x.png);-webkit-background-size:15px 123px;background-size:15px 123px}#customize-preview.wp-full-overlay-main,.customize-loading #customize-container,.theme-install-overlay .wp-full-overlay-main:before{background-image:url(../images/spinner-2x.gif)}}@media screen and (max-width:782px){.available-theme .action-links .delete-theme{float:none;margin:0;padding:0;clear:both}.available-theme .action-links .delete-theme a{padding:0}.broken-themes table{width:100%}.theme-install-overlay .wp-full-overlay-header .theme-install{margin-top:6px;line-height:normal}}.about-wrap{position:relative;margin:25px 40px 0 20px;max-width:1050px;font-size:15px}.about-wrap .notice,.about-wrap div.error,.about-wrap div.updated{display:none!important}.about-wrap hr{border:0;height:0;margin:0;border-top:1px solid rgba(0,0,0,.1)}.about-wrap img{margin:0;max-width:100%;height:auto;vertical-align:middle}.about-wrap .jetpack-video-wrapper{margin-bottom:0}.wp-badge{background:url(../images/w-logo-white.png?ver=20131202) center 24px no-repeat #0073aa;-webkit-background-size:85px 85px;background-size:85px 85px;color:#78c8e6;font-size:14px;text-align:center;font-weight:600;margin:5px 0 0;padding-top:120px;height:40px;display:inline-block;width:150px;text-rendering:optimizeLegibility;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.2);box-shadow:0 1px 3px rgba(0,0,0,.2)}.svg .wp-badge{background-image:url(../images/wordpress-logo-white.svg?ver=20131110)}.about-wrap .wp-badge{position:absolute;top:0;right:0}.about-wrap .nav-tab{padding-right:15px;padding-left:15px;font-size:18px}.about-wrap p{line-height:1.6em;font-size:14px}.about-wrap h1{margin:.2em 200px 0 0;padding:0;color:#32373c;line-height:1.2em;font-size:2.8em;font-weight:400}.about-wrap h3{margin:1.25em 0 .6em;font-size:1.25em;line-height:1.5em}.about-wrap h4{color:#23282d}.about-wrap code,.about-wrap ol li p{font-size:14px;font-weight:400}.about-wrap .about-description,.about-wrap .about-text{margin-top:1.4em;font-weight:400;line-height:1.6em;font-size:19px}.about-wrap .about-text{margin:1em 200px 1em 0;min-height:60px;color:#777}.about-wrap [class$=col] .col{float:left;position:relative}.about-wrap .two-col .col{margin-right:4.799999999%;width:47.6%}.about-wrap .feature-section.two-col .col{display:inline-block;float:none;margin-right:4.799999999%;width:calc(47.6% - 4px);vertical-align:middle}.about-wrap .three-col .col{margin-right:4.999999999%;width:29.95%}.about-wrap .three-col .col:nth-of-type(3n),.about-wrap .two-col .col:nth-of-type(2n){margin-right:0}.about-wrap .point-releases{margin-top:5px;border-bottom:1px solid #dfdfdf}.about-wrap .changelog.point-releases h3{padding-top:35px}.about-wrap .changelog.point-releases h3:first-child{padding-top:7px}.about-wrap .headline-feature h2{margin:30px 0;font-size:2.2em;font-weight:300;line-height:1.3;text-align:center}.about-wrap .headline-feature h3{margin-top:0;text-align:left}.about-wrap .embed-container,.about-wrap .feature-list h2,.about-wrap .featured-image{text-align:center}.about-wrap .feature-section.two-col h3{margin-top:0}.about-wrap .feature-list h2{margin:30px 0 15px}.about-wrap .feature-section h4{margin:1.4em 0 .6em;font-size:1em}.about-wrap .feature-section p{margin-top:.6em}.about-wrap .two-col-text{-webkit-column-count:2;-moz-column-count:2;column-count:2;-webkit-column-gap:40px;-moz-column-gap:40px;column-gap:40px}.about-wrap .two-col-text p:first-of-type{margin-top:0}.about-wrap .headline-feature.feature-video{position:relative;margin:40px 0;padding-bottom:56.25%;width:100%;max-width:100%;height:0;text-align:center}.about-wrap .feature-video embed{position:absolute;top:0;left:0;width:100%;height:100%}.about-wrap .feature-section{overflow:hidden;padding:0 0 40px}.about-wrap .headline-feature{margin:0 auto;max-width:80%}.about-wrap .feature-section .media-container{overflow:hidden}.about-wrap .headline-feature .col{width:65.2%}.about-wrap .headline-feature .col.feature-image{width:30%}.about-wrap .headline-feature .vertical-screen{float:right;margin-left:40px;max-width:100%}.about-wrap .headline-feature .horizontal-screen{margin-top:20px;max-width:100%}.about-wrap .embed-container iframe,.about-wrap .wp-embedded-content{max-width:100%}.about-wrap .feature-section:not(.under-the-hood) .col{margin-top:40px}.about-wrap .changelog{margin-bottom:40px}.about-wrap .changelog.feature-section .col{margin-top:40px}.about-wrap .return-to-dashboard{margin:30px 0 0 -5px;font-size:14px;font-weight:700}.about-wrap .return-to-dashboard a{text-decoration:none;padding:0 5px}.about-wrap .feature-list.finer-points h4,.about-wrap .feature-list.finer-points p{margin-left:115px}.about-wrap h3.wp-people-group{margin:2.6em 0 1.33em;font-size:16px;line-height:inherit}.about-wrap ul.wp-people-group{overflow:hidden;padding:0 5px;margin:0 -15px 0 -5px}.about-wrap ul.compact{margin-bottom:0}.about-wrap li.wp-person{display:inline-block;vertical-align:top;margin-right:10px;padding-bottom:15px;height:70px;width:280px}.about-wrap ul.compact li.wp-person{height:auto;width:180px;padding-bottom:0;margin-bottom:0}.about-wrap li.wp-person img.gravatar{float:left;margin:0 10px 10px 0;padding:2px;width:60px;height:60px}.about-wrap ul.compact li.wp-person img.gravatar{width:30px;height:30px}.about-wrap li.wp-person a.web{display:block;margin:6px 0 2px;font-size:16px;font-weight:400;line-height:1.6em;text-decoration:none}.about-wrap #wp-people-group-validators+p.wp-credits-list{margin-top:0}.about-wrap p.wp-credits-list a{white-space:nowrap}.freedoms-php .about-wrap ol{margin:40px 60px}.freedoms-php .about-wrap ol li{list-style-type:decimal;font-weight:700}.freedoms-php .about-wrap ol p{font-weight:400;margin:.6em 0}@media screen and (max-width:782px){.about-wrap .feature-section{padding:0;border-bottom:none}.about-wrap [class$=col] .col{float:none;width:100%;margin:40px 0 0;padding:0 0 40px}.about-wrap .headline-feature{position:relative}.about-wrap .headline-feature .col.feature-image{position:absolute;bottom:0;right:0;width:40%}.about-wrap .headline-feature .horizontal-image{position:relative}.about-wrap .headline-feature .horizontal-image:before{display:block;content:"";width:100%;padding-top:80%}.about-wrap .headline-feature .horizontal-image>.content{position:absolute;top:0;left:0;right:0;bottom:0}.about-wrap .headline-feature .horizontal-image img{position:absolute;bottom:0}.about-wrap .two-col-text{-webkit-column-count:1;-moz-column-count:1;column-count:1}.about-wrap .three-col img{display:block;margin:0 auto}.about-wrap .feature-list .col{margin:0;padding:0;border-bottom:none}.about-wrap .headline-feature .feature-section{max-width:100%}.about-wrap .feature-list .feature-section{padding:0 0 40px}}@media only screen and (max-width:500px){.about-wrap{margin-right:20px;margin-left:10px}.about-wrap .about-text,.about-wrap h1{margin-right:0}.about-wrap .about-text{margin-bottom:.25em}.about-wrap .wp-badge{position:relative;margin-bottom:1.5em;width:100%}.about-wrap .feature-section.two-col .col,.about-wrap .headline-feature .feature-section .col,.about-wrap .three-col .col{width:100%!important;float:none!important}.about-wrap .feature-section.two-col .col:last-of-type{margin-top:0}.feature-section.under-the-hood.one-col .col,.feature-section.under-the-hood.three-col .col{padding-bottom:0}}@media only screen and (max-width:400px){.about-wrap .feature-list svg{margin-top:15px;height:65px;width:65px}.about-wrap .feature-list.finer-points h4,.about-wrap .feature-list.finer-points p{margin-left:80px}}.no-js #message{display:block}ul.add-menu-item-tabs li{padding:3px 5px 3px 8px}.accordion-section ul.add-menu-item-tabs,.accordion-section ul.category-tabs,.accordion-section ul.wp-tab-bar{margin:0}.accordion-section .categorychecklist{margin:13px 0}#nav-menu-meta .accordion-section-content{padding:18px 13px}#nav-menu-meta .button-controls{margin-bottom:0}#nav-menus-frame{margin-left:300px;margin-top:23px}#wpbody-content #menu-settings-column{display:inline;width:281px;margin-left:-300px;clear:both;float:left;padding-top:0}#menu-settings-column .inside{clear:both;margin:10px 0 0}.metabox-holder-disabled .accordion-section-content,.metabox-holder-disabled .accordion-section-title,.metabox-holder-disabled .postbox{opacity:.5;filter:alpha(opacity=50)}.metabox-holder-disabled .button-controls .select-all{display:none}#wpbody{position:relative}.blank-slate .menu-name{height:2em}.blank-slate .menu-settings{border:none;margin-top:0;padding-top:0;overflow:hidden}.is-submenu{color:#999;font-style:italic;font-weight:400;margin-left:4px}.manage-menus{margin-top:23px;padding:10px;overflow:hidden;background:#fbfbfb}.manage-menus select{float:left;margin-right:6px}.manage-menus .selected-menu{float:left;margin:5px 6px 0 0}.manage-menus .submit-btn{float:left;margin-top:1px}.menu-edit #post-body-content h3{margin:1em 0 10px}.menu-settings{border-top:1px solid #eee;margin-top:2em}.menu-settings dl{margin:0 0 10px;overflow:hidden;padding-left:18%}.menu-settings dd{float:left;margin:0;width:100%}.menu-settings dt{float:left;clear:both;width:21.951%;padding:3px 0 0;margin-left:-21.951%}.menu-settings label{vertical-align:baseline}.menu-edit .checkbox-input{margin-top:4px}.theme-location-set{color:#999;font-size:11px}#add-custom-link .howto,#cancel-save{font-size:12px}#menu-management-liquid{float:left;min-width:100%;margin-top:3px}#menu-management{position:relative;margin-right:20px;margin-top:-3px;width:100%;background:#f5f5f5}#menu-management .menu-edit{margin-bottom:20px}.nav-menus-php #post-body{padding:0 10px 10px;border-top:1px solid #fff;border-bottom:1px solid #dfdfdf;background:#fff}#nav-menu-footer,#nav-menu-header{padding:0 10px}#nav-menu-header{border-bottom:1px solid #dfdfdf;margin-bottom:0}#nav-menu-header .menu-name-label{margin-top:4px}.nav-menus-php #post-body div.error,.nav-menus-php #post-body div.updated{margin:0}.nav-menus-php #post-body-content{position:relative;float:none}#menu-management .menu-add-new abbr{font-weight:600}#select-nav-menu-container{text-align:right;padding:0 10px 3px;margin-bottom:5px}#select-nav-menu{width:100px;display:inline}#menu-name-label{margin-top:-2px}.widefat .menu-locations tr+tr td{padding-top:0}.widefat .menu-locations td{vertical-align:middle}.menu-location-title label{font-weight:700}.menu-location-menus select{float:left}#locations-nav-menu-wrapper{padding:5px 0}.locations-nav-menu-select select{float:left;width:160px;margin-right:5px}.locations-row-links{float:left;margin:6px 0 0 6px}.locations-add-menu-link,.locations-edit-menu-link{margin:0 3px}.locations-edit-menu-link{padding-right:3px;border-right:1px solid #ccc}#wpbody .open-label{display:block;float:left}#wpbody .open-label span{padding-right:10px}.js .input-with-default-title{color:#a0a5aa;font-style:italic}#menu-management .inside{padding:0 10px}.accordion-container .howto input,.postbox .howto input{width:180px;float:right}.accordion-container .outer-border{margin:0}.customlinkdiv .howto input{width:180px}.customlinkdiv p{margin-top:0}#nav-menu-theme-locations .howto select{width:100%}#nav-menu-theme-locations .button-controls{text-align:right}.add-menu-item-view-all{height:400px}#menu-container .submit{margin:0 0 10px;padding:0}.nav-menus-php .add-new-menu-action{float:left;margin:6px 0 0 6px;line-height:15px}.nav-menus-php .meta-sep,.nav-menus-php .submitcancel,.nav-menus-php .submitdelete{display:block;float:left;margin:6px 0;line-height:15px}.meta-sep{padding:0 2px}#cancel-save{text-decoration:underline;margin-left:20px;margin-top:5px}.button-primary.right,.button-secondary.right,.button.right{float:right}.list-controls{float:left;margin-top:5px}.add-to-menu{float:right}.button-controls{clear:both;margin:10px 0}.hide-all,.show-all{cursor:pointer}.hide-all{display:none}#menu-name{width:270px}#manage-menu .inside{padding:0}#available-links dt{display:block}#add-custom-link label span{display:block;float:left;margin-top:5px;padding-right:5px}.menu-item-textbox{width:180px}.nav-menus-php .howto span{margin-top:6px;display:block;float:left}.quick-search{width:190px}.quick-search-wrap .spinner{float:none;margin:-3px -10px 0 0}.nav-menus-php .list-wrap{display:none;clear:both;margin-bottom:10px}.nav-menus-php .postbox p.submit{margin-bottom:0}.nav-menus-php .list li{display:none;margin:0 0 5px}.nav-menus-php .list li .menu-item-title{cursor:pointer;display:block}.nav-menus-php .list li .menu-item-title input{margin-right:3px;margin-top:-3px}.menu-item-title input[type=checkbox]{display:inline-block;margin-top:-4px}#menu-container .inside{padding-bottom:10px}.menu{padding-top:1em}#menu-to-edit{margin:0;padding:.1em 0}.menu ul{width:100%}.menu li{margin-bottom:0;position:relative}.menu-item-bar{clear:both;line-height:1.5em;position:relative;margin:9px 0 0}.menu-item-bar .menu-item-handle{border:1px solid #dfdfdf;position:relative;padding:10px 15px;height:auto;min-height:20px;width:382px;line-height:30px;overflow:hidden;word-wrap:break-word}.menu-item-bar .menu-item-handle:hover{border-color:#999}#menu-to-edit .menu-item-invalid .menu-item-handle{background:#f6c9cc;border-color:#f1acb1}.no-js .menu-item-edit-active .item-edit{display:none}.js .menu-item-handle{cursor:move}#cancel-save,.item-controls a:hover,.js .sidebar-name{cursor:pointer}.menu li.deleting .menu-item-handle{background-image:none;background-color:#f66}.menu-item-handle .item-title{font-size:13px;font-weight:600;line-height:20px;display:block;margin-right:13em}.menu-item-handle .menu-item-title.no-title{color:#999}li.menu-item.ui-sortable-helper .menu-item-bar{margin-top:0}li.menu-item.ui-sortable-helper .menu-item-transport .menu-item-bar{margin-top:13px}.menu .sortable-placeholder{height:35px;width:410px;margin-top:13px}.menu-item .menu-item-transport:empty{display:none}.menu-item-depth-0{margin-left:0}.menu-item-depth-1{margin-left:30px}.menu-item-depth-2{margin-left:60px}.menu-item-depth-3{margin-left:90px}.menu-item-depth-4{margin-left:120px}.menu-item-depth-5{margin-left:150px}.menu-item-depth-6{margin-left:180px}.menu-item-depth-7{margin-left:210px}.menu-item-depth-8{margin-left:240px}.menu-item-depth-9{margin-left:270px}.menu-item-depth-10{margin-left:300px}.menu-item-depth-11{margin-left:330px}.menu-item-depth-0 .menu-item-transport{margin-left:0}.menu-item-depth-1 .menu-item-transport{margin-left:-30px}.menu-item-depth-2 .menu-item-transport{margin-left:-60px}.menu-item-depth-3 .menu-item-transport{margin-left:-90px}.menu-item-depth-4 .menu-item-transport{margin-left:-120px}.menu-item-depth-5 .menu-item-transport{margin-left:-150px}.menu-item-depth-6 .menu-item-transport{margin-left:-180px}.menu-item-depth-7 .menu-item-transport{margin-left:-210px}.menu-item-depth-8 .menu-item-transport{margin-left:-240px}.menu-item-depth-9 .menu-item-transport{margin-left:-270px}.menu-item-depth-10 .menu-item-transport{margin-left:-300px}.menu-item-depth-11 .menu-item-transport{margin-left:-330px}body.menu-max-depth-0{min-width:950px!important}body.menu-max-depth-1{min-width:980px!important}body.menu-max-depth-2{min-width:1010px!important}body.menu-max-depth-3{min-width:1040px!important}body.menu-max-depth-4{min-width:1070px!important}body.menu-max-depth-5{min-width:1100px!important}body.menu-max-depth-6{min-width:1130px!important}body.menu-max-depth-7{min-width:1160px!important}body.menu-max-depth-8{min-width:1190px!important}body.menu-max-depth-9{min-width:1220px!important}body.menu-max-depth-10{min-width:1250px!important}body.menu-max-depth-11{min-width:1280px!important}.item-type{display:inline-block;padding:12px 16px;color:#666;font-size:12px;line-height:18px}.item-controls{font-size:12px;position:absolute;right:20px;top:-1px}.item-controls a{text-decoration:none}.item-controls .item-order{padding-right:10px}.nav-menus-php .item-edit{position:absolute;right:-20px;top:0;display:block;width:30px;height:40px;margin-right:0!important;text-indent:100%;outline:0;overflow:hidden;white-space:nowrap}.nav-menus-php .item-edit:before{margin-top:10px;margin-left:4px;width:20px;-webkit-border-radius:50%;border-radius:50%;text-indent:-1px}.rtl .nav-menus-php .item-edit:before{text-indent:1px}.nav-menus-php .item-edit:focus{-webkit-box-shadow:none;box-shadow:none}.nav-menus-php .item-edit:focus:before{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.menu-instructions-inactive{display:none}.menu-item-settings{display:block;width:402px;padding:10px 0 10px 10px;position:relative;z-index:10;border:1px solid #e5e5e5;border-top:none;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04)}.menu-item-settings .field-move a{display:none;margin:0 2px}.menu-item-edit-active .menu-item-settings{display:block}.menu-item-edit-inactive .menu-item-settings{display:none}.add-menu-item-pagelinks{margin:.5em auto;text-align:center}.link-to-original{display:block;margin:0 0 10px;padding:3px 5px 5px;border:1px solid #dfdfdf;color:#777;font-size:12px;font-style:italic}.hidden-field,.nav-menus-php .blank-slate .menu-settings{display:none}.link-to-original a{padding-left:4px;font-style:normal}.menu-item-settings .description-thin,.menu-item-settings .description-wide{margin-right:10px;float:left}.description-thin{width:190px}.description-wide{width:390px}.menu-item-actions{padding-top:15px}.nav-menus-php .major-publishing-actions{clear:both;padding:3px 0 6px}.nav-menus-php .major-publishing-actions .publishing-action{text-align:right;float:right;line-height:23px;margin:4px 0 1px}.nav-menus-php .delete-action{float:left;margin-top:2px}.nav-menus-php .submitbox .submitcancel{border-bottom:1px solid #0073aa;padding:1px 2px;color:#0073aa;text-decoration:none}.nav-menus-php .submitbox .submitcancel:hover{background:#0073aa;color:#fff}.nav-menus-php .major-publishing-actions .form-invalid{padding-left:4px;margin-left:-4px}#menu-item-name-wrap:after,#menu-item-url-wrap:after,#menu-name-label:after,#menu-settings-column .inside:after,#nav-menus-frame:after,.nav-menus-php #post-body-content:after,.nav-menus-php .button-controls:after,.nav-menus-php .major-publishing-actions:after,.nav-menus-php .menu-item-settings:after{clear:both;content:".";display:block;height:0;visibility:hidden}#menu-item-name-wrap,#menu-item-url-wrap,#nav-menus-frame,.button-controls{display:block}@media only screen and (min-width:769px) and (max-width:1000px){body.menu-max-depth-0{min-width:0!important}#menu-management-liquid{width:100%}.nav-menus-php #post-body-content{min-width:0}.menu-item-bar .menu-item-handle{width:90%}}@media screen and (max-width:782px){body.nav-menus-php{min-width:0!important}#nav-menus-frame{margin-left:0;float:none;width:100%}#wpbody-content #menu-settings-column{display:block;width:100%;float:none;margin-left:0}#side-sortables .add-menu-item-tabs{margin:15px 0 14px}ul.add-menu-item-tabs li.tabs{padding:13px 15px 14px}.nav-menus-php .item-controls .item-type{margin-top:2px}.nav-menus-php .customlinkdiv .howto input{width:65%}.nav-menus-php .quick-search{width:85%}#menu-management-liquid{margin-top:25px}.nav-menus-php .menu-name-label.howto span{margin-top:13px}.menu-name-label #menu-name{margin-top:4px}.nav-menus-php .major-publishing-actions .publishing-action{margin-top:6px}.nav-menus-php .delete-action{font-size:14px;line-height:50px;margin-top:12px}.description-wide,.menu-item-bar .menu-item-handle,.menu-item-settings{width:auto}.menu-item-settings{padding:10px}.menu-item-settings .description-thin,.menu-item-settings .description-wide,.menu-item-settings input{width:100%}.menu-item-settings input[type=checkbox],.menu-item-settings input[type=radio]{width:25px}.menu-settings dl{padding-left:0}.menu-settings dd{float:none;width:100%;margin-bottom:15px}.menu-settings dt{float:none;width:auto;margin-left:0;margin-bottom:15px}}@media only screen and (max-width:768px){#menu-locations-wrap .widefat{width:100%}}.widget{margin:0 auto 10px;position:relative;box-sizing:border-box}.widget-top{font-size:13px;font-weight:600;background:#f7f7f7}.widget-top a.widget-action,.widget-top a.widget-action:hover{-webkit-box-shadow:none;box-shadow:none;outline:0;text-decoration:none}.widget-title h3,.widget-title h4{margin:0;padding:15px;font-size:1em;line-height:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;user-select:none}.widgets-holder-wrap .widget-inside{border-top:none;padding:1px 15px 15px;line-height:16px}#available-widgets .widget-description,#widgets-right a.widget-control-edit,.in-widget-title{color:#666}.deleting .widget-title,.deleting .widget-top a.widget-action:after{color:#a0a5aa}.widget.ui-draggable-dragging{min-width:100%}.widget.ui-sortable-helper{opacity:.8}.widget-placeholder{border:1px dashed #b4b9be;margin:0 auto 10px;height:45px;width:100%;box-sizing:border-box}#widgets-right .widget-placeholder{margin-top:0}#widgets-right .closed .widget-placeholder{height:0;border:0;margin-top:-10px}.sidebar-name{position:relative;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.sidebar-name-arrow{position:absolute;top:0;right:0;bottom:0}.sidebar-name h2,.sidebar-name h3{margin:0;padding:8px 10px;overflow:hidden;white-space:nowrap}.widgets-holder-wrap .description{padding:0 0 15px;margin:0;font-style:normal;color:#777}#widgets-right .widgets-holder-wrap .description{padding-left:7px;padding-right:7px}div.widget-liquid-left{margin:0;width:38%;float:left}div.widget-liquid-right{float:right;width:58%}div#widgets-left{padding-top:12px}div#widgets-left .closed .sidebar-name,div#widgets-left .inactive-sidebar.closed .sidebar-name{margin-bottom:10px}div#widgets-left .sidebar-name h2,div#widgets-left .sidebar-name h3{padding:10px 0;margin:0 10px 0 0}#widgets-left .sidebar-name .sidebar-name-arrow:before{padding:9px}#widgets-left #available-widgets,div#widgets-left .widget-holder{background:0 0;border:none}#widgets-left .widgets-holder-wrap{border:none;-webkit-box-shadow:none;box-shadow:none}#available-widgets .widget-action{display:none}#available-widgets .widget{margin:0}#available-widgets .widget:nth-child(odd){clear:both}#available-widgets .widget .widget-description{display:block;padding:10px 15px;font-size:12px}#available-widgets #widget-list{position:relative}#widgets-left .inactive-sidebar{clear:both;width:100%;background:0 0;padding:0;margin:0 0 20px;border:none;-webkit-box-shadow:none;box-shadow:none}#widgets-left .inactive-sidebar.first{margin-top:40px}div#widgets-left .inactive-sidebar .widget.expanded{left:auto}.widget-title-action{float:right;position:relative}div#widgets-left .inactive-sidebar .widgets-sortables{min-height:42px;padding:0;background:0 0;margin:0;position:relative}div#widgets-right:after{content:".";display:block;height:0;clear:both;visibility:hidden}div#widgets-right .sidebars-column-1,div#widgets-right .sidebars-column-2{max-width:450px}div#widgets-right .widgets-holder-wrap{margin:10px 0 0}div#widgets-right .sidebar-description{min-height:20px;margin-top:-5px}div#widgets-right .sidebar-name h2,div#widgets-right .sidebar-name h3{padding:15px 7px}div#widgets-right .sidebar-name .sidebar-name-arrow:before{top:2px}div#widgets-right .widget-top{padding:0}div#widgets-right .widgets-sortables{padding:0 8px;margin-bottom:9px;position:relative;min-height:123px}div#widgets-right .closed .widgets-sortables{min-height:0;margin-bottom:0}.remove-inactive-widgets .spinner,.sidebar-name .spinner{float:none;position:relative;top:-2px;margin:-5px 5px}#widgets-right .widgets-holder-wrap.widget-hover{border-color:#777;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.3);box-shadow:0 1px 2px rgba(0,0,0,.3)}.widgets_access #widgets-left .widget .widget-top{cursor:auto}.widgets_access #wpwrap .widget-control-edit,.widgets_access #wpwrap .widgets-holder-wrap.closed .sidebar-description,.widgets_access #wpwrap .widgets-holder-wrap.closed .widget{display:block}.widgets_access #widgets-left .widget .widget-top:hover,.widgets_access #widgets-right .widget .widget-top:hover{border-color:#ddd}#available-widgets .widget-control-edit .edit,#widgets-left .inactive-sidebar .widget-control-edit .add,#widgets-right .widget-control-edit .add{display:none}.editwidget .widget-inside,.widget-control-edit{display:block;padding:0 15px}.widget-control-edit{color:#666;background:#EEE;line-height:43px;border-left:1px solid #DDD}#widgets-left .widget-control-edit:hover,#widgets-right .widget-control-edit:hover{color:#fff;background:#444;border-left:0;outline:#444 solid 1px}.widgets-holder-wrap .sidebar-description,.widgets-holder-wrap .sidebar-name{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.editwidget{margin:0 auto}.editwidget .widget-control-actions{margin-top:20px}.js .closed br.clear,.js .widgets-holder-wrap.closed .remove-inactive-widgets,.js .widgets-holder-wrap.closed .sidebar-description,.js .widgets-holder-wrap.closed .widget{display:none}.js .widgets-holder-wrap.closed .widget.ui-sortable-helper{display:block}#access-off,.no-js .widget-holder .description,.widget-control-noform,.widget-description,.widget-inside,.widgets_access #access-on,.widgets_access .sidebar-name-arrow,.widgets_access .widget-action,.widgets_access .widget-holder .description{display:none}.widget-inside{background:#fff}#removing-widget{display:none;font-weight:400;padding-left:15px;font-size:12px;line-height:1;color:#000}.js #removing-widget{color:#00a0d2}.widgets_access #widget-list,.widgets_access .widget-holder{padding-top:10px}.widgets_access #access-off{display:inline}.widgets_access .sidebar-name,.widgets_access .widget .widget-top{cursor:default}.widget-liquid-left #widgets-left.chooser #available-widgets .widget,.widget-liquid-left #widgets-left.chooser .inactive-sidebar{-webkit-transition:opacity .1s linear;transition:opacity .1s linear;opacity:.2;pointer-events:none}.widget-liquid-left #widgets-left.chooser #available-widgets .widget-in-question{opacity:1;pointer-events:auto}#available-widgets .widget-top:hover,#widgets-left .widget-in-question .widget-top,#widgets-left .widget-top:hover,.widgets-chooser ul,div#widgets-right .widget-top:hover{border-color:#999;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.1);box-shadow:0 1px 2px rgba(0,0,0,.1)}.widgets-chooser ul.widgets-chooser-sidebars{margin:0;list-style-type:none;max-height:300px;overflow:auto}.widgets-chooser{display:none}.widgets-chooser ul{border:1px solid #ccc}.widgets-chooser li{padding:10px 15px 10px 35px;border-bottom:1px solid #ccc;background:#fff;margin:0;cursor:pointer;outline:0;position:relative;-webkit-transition:background .2s ease-in-out;transition:background .2s ease-in-out}.widgets-chooser li:focus,.widgets-chooser li:hover{background:rgba(255,255,255,.7)}.widgets-chooser li:focus:before{content:"\f147";display:block;-webkit-font-smoothing:antialiased;font:400 26px/1 dashicons;color:#999;position:absolute;top:7px;left:5px}.widgets-chooser li:last-child{border:none}.widgets-chooser li.widgets-chooser-selected{background:#00a0d2;color:#fff}.widgets-chooser li.widgets-chooser-selected:before,.widgets-chooser li.widgets-chooser-selected:focus:before{content:"\f147";display:block;-webkit-font-smoothing:antialiased;font:400 26px/1 dashicons;color:#fff;position:absolute;top:7px;left:5px}.locale-he-il em,.locale-zh-cn #local-time,.locale-zh-cn #utc-time,.locale-zh-cn .form-wrap p,.locale-zh-cn .howto,.locale-zh-cn .inline-edit-row fieldset span.checkbox-title,.locale-zh-cn .inline-edit-row fieldset span.title,.locale-zh-cn .js .input-with-default-title,.locale-zh-cn .link-to-original,.locale-zh-cn .tablenav .displaying-num,.locale-zh-cn p.description,.locale-zh-cn p.help,.locale-zh-cn p.install-help,.locale-zh-cn span.description{font-style:normal}.widgets-chooser .widgets-chooser-actions{padding:10px 0 12px;text-align:center}.widgets-chooser button{margin-right:5px}#available-widgets .widget .widget-top{cursor:pointer}#available-widgets .widget.ui-draggable-dragging .widget-top{cursor:move}@media screen and (max-width:480px){div.widget-liquid-left{width:100%;float:none;border-right:none;padding-right:0}#widgets-left #available-widgets .widget-top,#widgets-left .inactive-sidebar .widgets-sortables,#widgets-left .sidebar-name{margin-right:0}div.widget-liquid-right{width:100%;float:none}div.widget{margin:0 auto 10px!important;max-width:480px}}.locale-de-de #customize-header-actions .button,.locale-de-de-formal #customize-header-actions .button,.locale-ru-ru #customize-header-actions .button{padding:0 5px 1px}@media screen and (max-width:320px){div.widget{max-width:320px}}@media only screen and (min-width:1250px){#widgets-left #available-widgets .widget{width:49%;float:left}.widget.ui-draggable-dragging{min-width:49%}#widgets-left #available-widgets .widget:nth-child(even){float:right}#widgets-right .sidebars-column-1,#widgets-right .sidebars-column-2{float:left;width:49%}#widgets-right .sidebars-column-1{margin-right:2%}#widgets-right.single-sidebar .sidebars-column-1,#widgets-right.single-sidebar .sidebars-column-2{float:none;width:100%;margin:0}}.site-icon-preview .favicon-preview{margin:5px 0 20px;overflow:hidden;position:relative;max-width:180px}.site-icon-preview .browser-title,.site-icon-preview .favicon{height:16px;left:88px;overflow:hidden;position:absolute;top:16px}.site-icon-preview .favicon{width:16px}.site-icon-preview .browser-title{left:109px}.site-icon-preview .app-icon-preview{background-color:#000;-webkit-border-radius:16px;border-radius:16px;height:64px;overflow:hidden;width:64px;margin-top:5px}body.rtl,body.rtl .press-this a.wp-switch-editor{font-family:Tahoma,Arial,sans-serif}.rtl h1,.rtl h2,.rtl h3,.rtl h4,.rtl h5,.rtl h6{font-family:Arial,sans-serif;font-weight:700}body.locale-he-il,body.locale-he-il .press-this a.wp-switch-editor{font-family:Arial,sans-serif}.locale-he-il em{font-weight:700}.locale-zh-cn .hdnle a{font-size:12px}.locale-zh-cn form.upgrade .hint{font-style:normal;font-size:100%}.locale-zh-cn #sort-buttons{font-size:1em!important}.locale-de-de #customize-header-actions .spinner,.locale-de-de-formal #customize-header-actions .spinner{margin:16px 3px 0}.locale-ru-ru #adminmenu{width:inherit}.locale-ru-ru #adminmenu,.locale-ru-ru #wpbody{margin-left:0}.locale-ru-ru .inline-edit-row fieldset label span.title,.locale-ru-ru .inline-edit-row fieldset.inline-edit-date legend{width:8em}.locale-ru-ru .inline-edit-row fieldset .timestamp-wrap,.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap{margin-left:8em}.locale-ru-ru.post-new-php .tagsdiv .newtag,.locale-ru-ru.post-php .tagsdiv .newtag{width:165px}.locale-ru-ru.press-this .posting{margin-right:277px}.locale-ru-ru .press-this-sidebar{width:265px}.locale-ru-ru #customize-header-actions .spinner{margin:16px 3px 0}.locale-lt-lt .inline-edit-row fieldset label span.title,.locale-lt-lt .inline-edit-row fieldset.inline-edit-date legend{width:8em}.locale-lt-lt .inline-edit-row fieldset .timestamp-wrap,.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap{margin-left:8em}@media screen and (max-width:782px){.locale-lt-lt .inline-edit-row fieldset .timestamp-wrap,.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap,.locale-ru-ru .inline-edit-row fieldset .timestamp-wrap,.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap{margin-left:0}} \ No newline at end of file diff --git a/wp-admin/custom-background.php b/wp-admin/custom-background.php index 36a5b50..dba32c6 100644 --- a/wp-admin/custom-background.php +++ b/wp-admin/custom-background.php @@ -18,7 +18,7 @@ class Custom_Background { /** * Callback for administration header. * - * @var callback + * @var callable * @since 3.0.0 */ public $admin_header_callback; @@ -26,12 +26,16 @@ class Custom_Background { /** * Callback for header div. * - * @var callback + * @var callable * @since 3.0.0 */ public $admin_image_div_callback; /** + * Used to trigger a success message when settings updated and set to true. + * + * @since 3.0.0 + * @access private * @var bool */ private $updated; @@ -40,8 +44,8 @@ class Custom_Background { * Constructor - Register administration header callback. * * @since 3.0.0 - * @param callback $admin_header_callback - * @param callback $admin_image_div_callback Optional custom image div output callback. + * @param callable $admin_header_callback + * @param callable $admin_image_div_callback Optional custom image div output callback. */ public function __construct($admin_header_callback = '', $admin_image_div_callback = '') { $this->admin_header_callback = $admin_header_callback; diff --git a/wp-admin/custom-header.php b/wp-admin/custom-header.php index e61feb7..dfb90cb 100644 --- a/wp-admin/custom-header.php +++ b/wp-admin/custom-header.php @@ -18,7 +18,7 @@ class Custom_Image_Header { /** * Callback for administration header. * - * @var callback + * @var callable * @since 2.1.0 */ public $admin_header_callback; @@ -26,7 +26,7 @@ class Custom_Image_Header { /** * Callback for header div. * - * @var callback + * @var callable * @since 3.0.0 */ public $admin_image_div_callback; @@ -41,6 +41,10 @@ class Custom_Image_Header { public $default_headers = array(); /** + * Used to trigger a success message when settings updated and set to true. + * + * @since 3.0.0 + * @access private * @var bool */ private $updated; @@ -49,8 +53,8 @@ class Custom_Image_Header { * Constructor - Register administration header callback. * * @since 2.1.0 - * @param callback $admin_header_callback - * @param callback $admin_image_div_callback Optional custom image div output callback. + * @param callable $admin_header_callback + * @param callable $admin_image_div_callback Optional custom image div output callback. */ public function __construct($admin_header_callback, $admin_image_div_callback = '') { $this->admin_header_callback = $admin_header_callback; @@ -683,8 +687,13 @@ wp_nonce_field( 'custom-header-options', '_wpnonce-custom-header-options' ); ?> */ public function step_2() { check_admin_referer('custom-header-upload', '_wpnonce-custom-header-upload'); - if ( ! current_theme_supports( 'custom-header', 'uploads' ) ) - wp_die( __( 'Cheatin’ uh?' ), 403 ); + if ( ! current_theme_supports( 'custom-header', 'uploads' ) ) { + wp_die( + '

' . __( 'Cheatin’ uh?' ) . '

' . + '

' . __( 'The current theme does not support uploading a custom header image.' ) . '

', + 403 + ); + } if ( empty( $_POST ) && isset( $_GET['file'] ) ) { $attachment_id = absint( $_GET['file'] ); @@ -762,7 +771,7 @@ wp_nonce_field( 'custom-header-options', '_wpnonce-custom-header-options' ); ?>

- +
@@ -830,15 +839,27 @@ wp_nonce_field( 'custom-header-options', '_wpnonce-custom-header-options' ); ?> * Display third step of custom header image page. * * @since 2.1.0 + * @since 4.4.0 Switched to using wp_get_attachment_url() instead of the guid + * for retrieving the header image URL. */ public function step_3() { check_admin_referer( 'custom-header-crop-image' ); - if ( ! current_theme_supports( 'custom-header', 'uploads' ) ) - wp_die( __( 'Cheatin’ uh?' ), 403 ); + if ( ! current_theme_supports( 'custom-header', 'uploads' ) ) { + wp_die( + '

' . __( 'Cheatin’ uh?' ) . '

' . + '

' . __( 'The current theme does not support uploading a custom header image.' ) . '

', + 403 + ); + } - if ( ! empty( $_POST['skip-cropping'] ) && ! ( current_theme_supports( 'custom-header', 'flex-height' ) || current_theme_supports( 'custom-header', 'flex-width' ) ) ) - wp_die( __( 'Cheatin’ uh?' ), 403 ); + if ( ! empty( $_POST['skip-cropping'] ) && ! ( current_theme_supports( 'custom-header', 'flex-height' ) || current_theme_supports( 'custom-header', 'flex-width' ) ) ) { + wp_die( + '

' . __( 'Cheatin’ uh?' ) . '

' . + '

' . __( 'The current theme does not support a flexible sized header image.' ) . '

', + 403 + ); + } if ( $_POST['oitar'] > 1 ) { $_POST['x1'] = $_POST['x1'] * $_POST['oitar']; @@ -878,7 +899,7 @@ wp_nonce_field( 'custom-header-options', '_wpnonce-custom-header-options' ); ?> // Update the attachment $attachment_id = $this->insert_attachment( $object, $cropped ); - $url = $object['guid']; + $url = wp_get_attachment_url( $attachment_id ); $this->set_header_image( compact( 'url', 'attachment_id', 'width', 'height' ) ); // Cleanup. @@ -1101,7 +1122,7 @@ wp_nonce_field( 'custom-header-options', '_wpnonce-custom-header-options' ); ?> */ final public function create_attachment_object( $cropped, $parent_attachment_id ) { $parent = get_post( $parent_attachment_id ); - $parent_url = $parent->guid; + $parent_url = wp_get_attachment_url( $parent->ID ); $url = str_replace( basename( $parent_url ), basename( $cropped ), $parent_url ); $size = @getimagesize( $cropped ); @@ -1110,7 +1131,6 @@ wp_nonce_field( 'custom-header-options', '_wpnonce-custom-header-options' ); ?> $object = array( 'ID' => $parent_attachment_id, 'post_title' => basename($cropped), - 'post_content' => $url, 'post_mime_type' => $image_type, 'guid' => $url, 'context' => 'custom-header' @@ -1192,6 +1212,7 @@ wp_nonce_field( 'custom-header-options', '_wpnonce-custom-header-options' ); ?> $new_attachment_id = $this->insert_attachment( $object, $cropped ); $object['attachment_id'] = $new_attachment_id; + $object['url'] = wp_get_attachment_url( $new_attachment_id );; $object['width'] = $dimensions['dst_width']; $object['height'] = $dimensions['dst_height']; diff --git a/wp-admin/customize.php b/wp-admin/customize.php index 6ee2de0..aa949e5 100644 --- a/wp-admin/customize.php +++ b/wp-admin/customize.php @@ -13,24 +13,22 @@ define( 'IFRAME_REQUEST', true ); require_once( dirname( __FILE__ ) . '/admin.php' ); if ( ! current_user_can( 'customize' ) ) { - wp_die( __( 'Cheatin’ uh?' ), 403 ); + wp_die( + '

' . __( 'Cheatin’ uh?' ) . '

' . + '

' . __( 'You are not allowed to customize the appearance of this site.' ) . '

', + 403 + ); } -wp_reset_vars( array( 'url', 'return' ) ); -$url = wp_unslash( $url ); -$url = wp_validate_redirect( $url, home_url( '/' ) ); -if ( $return ) { - $return = wp_unslash( $return ); - $return = wp_validate_redirect( $return ); +wp_reset_vars( array( 'url', 'return', 'autofocus' ) ); +if ( ! empty( $url ) ) { + $wp_customize->set_preview_url( wp_unslash( $url ) ); } -if ( ! $return ) { - if ( $url ) { - $return = $url; - } elseif ( current_user_can( 'edit_theme_options' ) || current_user_can( 'switch_themes' ) ) { - $return = admin_url( 'themes.php' ); - } else { - $return = admin_url(); - } +if ( ! empty( $return ) ) { + $wp_customize->set_return_url( wp_unslash( $return ) ); +} +if ( ! empty( $autofocus ) && is_array( $autofocus ) ) { + $wp_customize->set_autofocus( wp_unslash( $autofocus ) ); } /** @@ -78,9 +76,7 @@ if ( wp_is_mobile() ) : ?>is_ios() ) { $body_class .= ' ios'; } @@ -89,18 +85,12 @@ if ( is_rtl() ) { } $body_class .= ' locale-' . sanitize_html_class( strtolower( str_replace( '_', '-', get_locale() ) ) ); -if ( $wp_customize->is_theme_active() ) { - $document_title_tmpl = _x( 'Customize: %s', 'Placeholder is the document title from the preview' ); -} else { - $document_title_tmpl = _x( 'Live Preview: %s', 'Placeholder is the document title from the preview' ); -} -$document_title_tmpl = html_entity_decode( $document_title_tmpl, ENT_QUOTES, 'UTF-8' ); // because exported to JS and assigned to document.title -$admin_title = sprintf( $document_title_tmpl, __( 'Loading…' ) ); +$admin_title = sprintf( $wp_customize->get_document_title_template(), __( 'Loading…' ) ); ?><?php echo $admin_title; ?> - +
@@ -140,7 +130,7 @@ do_action( 'customize_controls_print_scripts' );
-
+
' . get_bloginfo( 'name' ) . '' ); ?> @@ -167,134 +157,13 @@ do_action( 'customize_controls_print_scripts' );
render_panel_templates(); - $wp_customize->render_section_templates(); - $wp_customize->render_control_templates(); - /** - * Print Customizer control scripts in the footer. + * Print templates, control scripts, and settings in the footer. * * @since 3.4.0 */ do_action( 'customize_controls_print_footer_scripts' ); - - /* - * If the frontend and the admin are served from the same domain, load the - * preview over ssl if the Customizer is being loaded over ssl. This avoids - * insecure content warnings. This is not attempted if the admin and frontend - * are on different domains to avoid the case where the frontend doesn't have - * ssl certs. Domain mapping plugins can allow other urls in these conditions - * using the customize_allowed_urls filter. - */ - - $allowed_urls = array( home_url('/') ); - $admin_origin = parse_url( admin_url() ); - $home_origin = parse_url( home_url() ); - $cross_domain = ( strtolower( $admin_origin[ 'host' ] ) != strtolower( $home_origin[ 'host' ] ) ); - - if ( is_ssl() && ! $cross_domain ) - $allowed_urls[] = home_url( '/', 'https' ); - - /** - * Filter the list of URLs allowed to be clicked and followed in the Customizer preview. - * - * @since 3.4.0 - * - * @param array $allowed_urls An array of allowed URLs. - */ - $allowed_urls = array_unique( apply_filters( 'customize_allowed_urls', $allowed_urls ) ); - - $login_url = add_query_arg( array( - 'interim-login' => 1, - 'customize-login' => 1 - ), wp_login_url() ); - - // Prepare Customizer settings to pass to JavaScript. - $settings = array( - 'theme' => array( - 'stylesheet' => $wp_customize->get_stylesheet(), - 'active' => $wp_customize->is_theme_active(), - ), - 'url' => array( - 'preview' => esc_url_raw( $url ? $url : home_url( '/' ) ), - 'parent' => esc_url_raw( admin_url() ), - 'activated' => esc_url_raw( home_url( '/' ) ), - 'ajax' => esc_url_raw( admin_url( 'admin-ajax.php', 'relative' ) ), - 'allowed' => array_map( 'esc_url_raw', $allowed_urls ), - 'isCrossDomain' => $cross_domain, - 'home' => esc_url_raw( home_url( '/' ) ), - 'login' => esc_url_raw( $login_url ), - ), - 'browser' => array( - 'mobile' => wp_is_mobile(), - 'ios' => $is_ios, - ), - 'settings' => array(), - 'controls' => array(), - 'panels' => array(), - 'sections' => array(), - 'nonce' => array( - 'save' => wp_create_nonce( 'save-customize_' . $wp_customize->get_stylesheet() ), - 'preview' => wp_create_nonce( 'preview-customize_' . $wp_customize->get_stylesheet() ) - ), - 'autofocus' => array(), - 'documentTitleTmpl' => $document_title_tmpl, - ); - - // Prepare Customize Setting objects to pass to JavaScript. - foreach ( $wp_customize->settings() as $id => $setting ) { - if ( $setting->check_capabilities() ) { - $settings['settings'][ $id ] = array( - 'value' => $setting->js_value(), - 'transport' => $setting->transport, - 'dirty' => $setting->dirty, - ); - } - } - - // Prepare Customize Control objects to pass to JavaScript. - foreach ( $wp_customize->controls() as $id => $control ) { - if ( $control->check_capabilities() ) { - $settings['controls'][ $id ] = $control->json(); - } - } - - // Prepare Customize Section objects to pass to JavaScript. - foreach ( $wp_customize->sections() as $id => $section ) { - if ( $section->check_capabilities() ) { - $settings['sections'][ $id ] = $section->json(); - } - } - - // Prepare Customize Panel objects to pass to JavaScript. - foreach ( $wp_customize->panels() as $panel_id => $panel ) { - if ( $panel->check_capabilities() ) { - $settings['panels'][ $panel_id ] = $panel->json(); - foreach ( $panel->sections as $section_id => $section ) { - if ( $section->check_capabilities() ) { - $settings['sections'][ $section_id ] = $section->json(); - } - } - } - } - - // Pass to frontend the Customizer construct being deeplinked - if ( isset( $_GET['autofocus'] ) ) { - $autofocus = wp_unslash( $_GET['autofocus'] ); - if ( is_array( $autofocus ) ) { - foreach ( $autofocus as $type => $id ) { - if ( isset( $settings[ $type . 's' ][ $id ] ) ) { - $settings['autofocus'][ $type ] = $id; - } - } - } - } - ?> -
diff --git a/wp-admin/edit-comments.php b/wp-admin/edit-comments.php index ea5bb76..fc105fe 100644 --- a/wp-admin/edit-comments.php +++ b/wp-admin/edit-comments.php @@ -8,8 +8,13 @@ /** WordPress Administration Bootstrap */ require_once( dirname( __FILE__ ) . '/admin.php' ); -if ( !current_user_can('edit_posts') ) - wp_die( __( 'Cheatin’ uh?' ), 403 ); +if ( ! current_user_can( 'edit_posts' ) ) { + wp_die( + '

' . __( 'Cheatin’ uh?' ) . '

' . + '

' . __( 'You are not allowed to edit comments.' ) . '

', + 403 + ); +} $wp_list_table = _get_list_table('WP_Comments_List_Table'); $pagenum = $wp_list_table->get_pagenum(); @@ -39,6 +44,8 @@ if ( $doaction ) { $redirect_to = remove_query_arg( array( 'trashed', 'untrashed', 'deleted', 'spammed', 'unspammed', 'approved', 'unapproved', 'ids' ), wp_get_referer() ); $redirect_to = add_query_arg( 'paged', $pagenum, $redirect_to ); + wp_defer_comment_counting( true ); + foreach ( $comment_ids as $comment_id ) { // Check the permissions on each if ( !current_user_can( 'edit_comment', $comment_id ) ) continue; @@ -75,6 +82,8 @@ if ( $doaction ) { } } + wp_defer_comment_counting( false ); + if ( $approved ) $redirect_to = add_query_arg( 'approved', $approved, $redirect_to ); if ( $unapproved ) @@ -104,10 +113,32 @@ $wp_list_table->prepare_items(); wp_enqueue_script('admin-comments'); enqueue_comment_hotkeys_js(); -if ( $post_id ) - $title = sprintf( __( 'Comments on “%s”' ), wp_html_excerpt( _draft_or_post_title( $post_id ), 50, '…' ) ); -else - $title = __('Comments'); +if ( $post_id ) { + $comments_count = wp_count_comments( $post_id ); + $draft_or_post_title = wp_html_excerpt( _draft_or_post_title( $post_id ), 50, '…' ); + if ( $comments_count->moderated > 0 ) { + /* translators: 1: comments count 2: post title */ + $title = sprintf( __( 'Comments (%1$s) on “%2$s”' ), + number_format_i18n( $comments_count->moderated ), + $draft_or_post_title + ); + } else { + /* translators: %s: post title */ + $title = sprintf( __( 'Comments on “%s”' ), + $draft_or_post_title + ); + } +} else { + $comments_count = wp_count_comments(); + if ( $comments_count->moderated > 0 ) { + /* translators: %s: comments count */ + $title = sprintf( __( 'Comments (%s)' ), + number_format_i18n( $comments_count->moderated ) + ); + } else { + $title = __( 'Comments' ); + } +} add_screen_option( 'per_page' ); @@ -123,8 +154,9 @@ get_current_screen()->add_help_tab( array( 'content' => '

' . __( 'A red bar on the left means the comment is waiting for you to moderate it.' ) . '

' . '

' . __( 'In the Author column, in addition to the author’s name, email address, and blog URL, the commenter’s IP address is shown. Clicking on this link will show you all the comments made from this IP address.' ) . '

' . - '

' . __( 'In the Comment column, above each comment it says “Submitted on,” followed by the date and time the comment was left on your site. Clicking on the date/time link will take you to that comment on your live site. Hovering over any comment gives you options to approve, reply (and approve), quick edit, edit, spam mark, or trash that comment.' ) . '

' . + '

' . __( 'In the Comment column, hovering over any comment gives you options to approve, reply (and approve), quick edit, edit, spam mark, or trash that comment.' ) . '

' . '

' . __( 'In the In Response To column, there are three elements. The text is the name of the post that inspired the comment, and links to the post editor for that entry. The View Post link leads to that post on your live site. The small bubble with the number in it shows the number of approved comments that post has received. If there are pending comments, a red notification circle with the number of pending comments is displayed. Clicking the notification circle will filter the comments screen to show only pending comments on that post.' ) . '

' . + '

' . __( 'In the Submitted On column, the date and time the comment was left on your site appears. Clicking on the date/time link will take you to that comment on your live site.' ) . '

' . '

' . __( 'Many people take advantage of keyboard shortcuts to moderate their comments more quickly. Use the link to the side to learn more.' ) . '

' ) ); @@ -136,24 +168,38 @@ get_current_screen()->set_help_sidebar( '

' . __( 'Support Forums' ) . '

' ); +get_current_screen()->set_screen_reader_content( array( + 'heading_views' => __( 'Filter comments list' ), + 'heading_pagination' => __( 'Comments list navigation' ), + 'heading_list' => __( 'Comments list' ), +) ); + require_once( ABSPATH . 'wp-admin/admin-header.php' ); ?>

%s', +if ( $post_id ) { + /* translators: %s: link to post */ + printf( __( 'Comments on “%s”' ), + sprintf( '%2$s', get_edit_post_link( $post_id ), wp_html_excerpt( _draft_or_post_title( $post_id ), 50, '…' ) ) ); -else +} else { _e( 'Comments' ); +} -if ( isset($_REQUEST['s']) && $_REQUEST['s'] ) - echo '' . sprintf( __( 'Search results for “%s”' ), wp_html_excerpt( esc_html( wp_unslash( $_REQUEST['s'] ) ), 50, '…' ) ) . ''; ?> -

+if ( isset($_REQUEST['s']) && $_REQUEST['s'] ) { + echo ''; + /* translators: %s: search keywords */ + printf( __( 'Search results for “%s”' ), + wp_html_excerpt( esc_html( wp_unslash( $_REQUEST['s'] ) ), 50, '…' ) + ); + echo ''; +} +?> 0 || $deleted > 0 || $trashed > 0 || $untrashed > 0 || $spammed > 0 || $unspammed > 0 || $same > 0 ) { - if ( $approved > 0 ) + if ( $approved > 0 ) { + /* translators: %s: number of comments approved */ $messages[] = sprintf( _n( '%s comment approved', '%s comments approved', $approved ), $approved ); + } if ( $spammed > 0 ) { $ids = isset($_REQUEST['ids']) ? $_REQUEST['ids'] : 0; + /* translators: %s: number of comments marked as spam */ $messages[] = sprintf( _n( '%s comment marked as spam.', '%s comments marked as spam.', $spammed ), $spammed ) . ' ' . __('Undo') . '
'; } - if ( $unspammed > 0 ) + if ( $unspammed > 0 ) { + /* translators: %s: number of comments restored from the spam */ $messages[] = sprintf( _n( '%s comment restored from the spam', '%s comments restored from the spam', $unspammed ), $unspammed ); + } if ( $trashed > 0 ) { $ids = isset($_REQUEST['ids']) ? $_REQUEST['ids'] : 0; + /* translators: %s: number of comments moved to the Trash */ $messages[] = sprintf( _n( '%s comment moved to the Trash.', '%s comments moved to the Trash.', $trashed ), $trashed ) . ' ' . __('Undo') . '
'; } - if ( $untrashed > 0 ) + if ( $untrashed > 0 ) { + /* translators: %s: number of comments restored from the Trash */ $messages[] = sprintf( _n( '%s comment restored from the Trash', '%s comments restored from the Trash', $untrashed ), $untrashed ); + } - if ( $deleted > 0 ) + if ( $deleted > 0 ) { + /* translators: %s: number of comments permanently deleted */ $messages[] = sprintf( _n( '%s comment permanently deleted', '%s comments permanently deleted', $deleted ), $deleted ); + } if ( $same > 0 && $comment = get_comment( $same ) ) { switch ( $comment->comment_approved ) { diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index 2a963f1..aff0413 100644 --- a/wp-admin/edit-form-advanced.php +++ b/wp-admin/edit-form-advanced.php @@ -81,41 +81,84 @@ if ( ! $permalink ) { } $messages = array(); -/** This filter is documented in wp-admin/includes/meta-boxes.php */ -$post_preview_url = apply_filters( 'preview_post_link', add_query_arg( 'preview', 'true', $permalink ), $post ); + +$preview_post_link_html = $scheduled_post_link_html = $view_post_link_html = ''; +$preview_page_link_html = $scheduled_page_link_html = $view_page_link_html = ''; + +$preview_url = get_preview_post_link( $post ); + +$viewable = is_post_type_viewable( $post_type_object ); + +if ( $viewable ) { + + // Preview post link. + $preview_post_link_html = sprintf( ' %2$s', + esc_url( $preview_url ), + __( 'Preview post' ) + ); + + // Scheduled post preview link. + $scheduled_post_link_html = sprintf( ' %2$s', + esc_url( $permalink ), + __( 'Preview post' ) + ); + + // View post link. + $view_post_link_html = sprintf( ' %2$s', + esc_url( $permalink ), + __( 'View post' ) + ); + + // Preview page link. + $preview_page_link_html = sprintf( ' %2$s', + esc_url( $preview_url ), + __( 'Preview page' ) + ); + + // Scheduled page preview link. + $scheduled_page_link_html = sprintf( ' %2$s', + esc_url( $permalink ), + __( 'Preview page' ) + ); + + // View page link. + $view_page_link_html = sprintf( ' %2$s', + esc_url( $permalink ), + __( 'View page' ) + ); + +} + +/* translators: Publish box date format, see http://php.net/date */ +$scheduled_date = date_i18n( __( 'M j, Y @ H:i' ), strtotime( $post->post_date ) ); $messages['post'] = array( 0 => '', // Unused. Messages start at index 1. - 1 => sprintf( __('Post updated. View post'), esc_url( $permalink ) ), - 2 => __('Custom field updated.'), - 3 => __('Custom field deleted.'), - 4 => __('Post updated.'), + 1 => __( 'Post updated.' ) . $view_post_link_html, + 2 => __( 'Custom field updated.' ), + 3 => __( 'Custom field deleted.' ), + 4 => __( 'Post updated.' ), /* translators: %s: date and time of the revision */ - 5 => isset($_GET['revision']) ? sprintf( __('Post restored to revision from %s'), wp_post_revision_title( (int) $_GET['revision'], false ) ) : false, - 6 => sprintf( __('Post published. View post'), esc_url( $permalink ) ), - 7 => __('Post saved.'), - 8 => sprintf( __('Post submitted. Preview post'), esc_url( $post_preview_url ) ), - 9 => sprintf( __('Post scheduled for: %1$s. Preview post'), - /* translators: Publish box date format, see http://php.net/date */ - date_i18n( __( 'M j, Y @ H:i' ), strtotime( $post->post_date ) ), esc_url( $permalink ) ), - 10 => sprintf( __('Post draft updated. Preview post'), esc_url( $post_preview_url ) ), + 5 => isset($_GET['revision']) ? sprintf( __( 'Post restored to revision from %s.' ), wp_post_revision_title( (int) $_GET['revision'], false ) ) : false, + 6 => __( 'Post published.' ) . $view_post_link_html, + 7 => __( 'Post saved.' ), + 8 => __( 'Post submitted.' ) . $preview_post_link_html, + 9 => sprintf( __( 'Post scheduled for: %s.' ), '' . $scheduled_date . '' ) . $scheduled_post_link_html, + 10 => __( 'Post draft updated.' ) . $preview_post_link_html, ); - -/** This filter is documented in wp-admin/includes/meta-boxes.php */ -$page_preview_url = apply_filters( 'preview_post_link', add_query_arg( 'preview', 'true', $permalink ), $post ); - $messages['page'] = array( 0 => '', // Unused. Messages start at index 1. - 1 => sprintf( __('Page updated. View page'), esc_url( $permalink ) ), - 2 => __('Custom field updated.'), - 3 => __('Custom field deleted.'), - 4 => __('Page updated.'), - 5 => isset($_GET['revision']) ? sprintf( __('Page restored to revision from %s'), wp_post_revision_title( (int) $_GET['revision'], false ) ) : false, - 6 => sprintf( __('Page published. View page'), esc_url( $permalink ) ), - 7 => __('Page saved.'), - 8 => sprintf( __('Page submitted. Preview page'), esc_url( $page_preview_url ) ), - 9 => sprintf( __('Page scheduled for: %1$s. Preview page'), date_i18n( __( 'M j, Y @ H:i' ), strtotime( $post->post_date ) ), esc_url( $permalink ) ), - 10 => sprintf( __('Page draft updated. Preview page'), esc_url( $page_preview_url ) ), + 1 => __( 'Page updated.' ) . $view_page_link_html, + 2 => __( 'Custom field updated.' ), + 3 => __( 'Custom field deleted.' ), + 4 => __( 'Page updated.' ), + /* translators: %s: date and time of the revision */ + 5 => isset($_GET['revision']) ? sprintf( __( 'Page restored to revision from %s.' ), wp_post_revision_title( (int) $_GET['revision'], false ) ) : false, + 6 => __( 'Page published.' ) . $view_page_link_html, + 7 => __( 'Page saved.' ), + 8 => __( 'Page submitted.' ) . $preview_page_link_html, + 9 => sprintf( __( 'Page scheduled for: %s.' ), '' . $scheduled_date . '' ) . $scheduled_page_link_html, + 10 => __( 'Page draft updated.' ) . $preview_page_link_html, ); $messages['attachment'] = array_fill( 1, 10, __( 'Media attachment updated.' ) ); // Hack, for now. @@ -241,11 +284,25 @@ if ( post_type_supports($post_type, 'custom-fields') ) */ do_action( 'dbx_post_advanced', $post ); -if ( post_type_supports($post_type, 'comments') ) - add_meta_box('commentstatusdiv', __('Discussion'), 'post_comment_status_meta_box', null, 'normal', 'core'); +// Allow the Discussion meta box to show up if the post type supports comments, +// or if comments or pings are open. +if ( comments_open( $post ) || pings_open( $post ) || post_type_supports( $post_type, 'comments' ) ) { + add_meta_box( 'commentstatusdiv', __( 'Discussion' ), 'post_comment_status_meta_box', null, 'normal', 'core' ); +} -if ( ( 'publish' == get_post_status( $post ) || 'private' == get_post_status( $post ) ) && post_type_supports($post_type, 'comments') ) - add_meta_box('commentsdiv', __('Comments'), 'post_comment_meta_box', null, 'normal', 'core'); +$stati = get_post_stati( array( 'public' => true ) ); +if ( empty( $stati ) ) { + $stati = array( 'publish' ); +} +$stati[] = 'private'; + +if ( in_array( get_post_status( $post ), $stati ) ) { + // If the post type support comments, or the post has comments, allow the + // Comments meta box. + if ( comments_open( $post ) || pings_open( $post ) || $post->comment_count > 0 || post_type_supports( $post_type, 'comments' ) ) { + add_meta_box( 'commentsdiv', __( 'Comments' ), 'post_comment_meta_box', null, 'normal', 'core' ); + } +} if ( ! ( 'pending' == get_post_status( $post ) && ! current_user_can( $post_type_object->cap->publish_posts ) ) ) add_meta_box('slugdiv', __('Slug'), 'post_slug_meta_box', null, 'normal', 'core'); @@ -304,8 +361,8 @@ if ( 'post' == $post_type ) { 'content' => $customize_display, ) ); - $title_and_editor = '

' . __('Title - Enter a title for your post. After you enter a title, you’ll see the permalink below, which you can edit.') . '

'; - $title_and_editor .= '

' . __( 'Post editor - Enter the text for your post. There are two modes of editing: Visual and Text. Choose the mode by clicking on the appropriate tab.' ) . '

'; + $title_and_editor = '

' . __('Title — Enter a title for your post. After you enter a title, you’ll see the permalink below, which you can edit.') . '

'; + $title_and_editor .= '

' . __( 'Post editor — Enter the text for your post. There are two modes of editing: Visual and Text. Choose the mode by clicking on the appropriate tab.' ) . '

'; $title_and_editor .= '

' . __( 'Visual mode gives you a WYSIWYG editor. Click the last icon in the row to get a second row of controls. ') . '

'; $title_and_editor .= '

' . __( 'The Text mode allows you to enter HTML along with your post text. Line breaks will be converted to paragraphs automatically.' ) . '

'; $title_and_editor .= '

' . __( 'You can insert media files by clicking the icons above the post editor and following the directions. You can align or edit images using the inline formatting toolbar available in Visual mode.' ) . '

'; @@ -326,7 +383,7 @@ if ( 'post' == $post_type ) { ); } elseif ( 'page' == $post_type ) { $about_pages = '

' . __('Pages are similar to posts in that they have a title, body text, and associated metadata, but they are different in that they are not part of the chronological blog stream, kind of like permanent posts. Pages are not categorized or tagged, but can have a hierarchy. You can nest pages under other pages by making one the “Parent” of the other, creating a group of pages.') . '

' . - '

' . __('Creating a Page is very similar to creating a Post, and the screens can be customized in the same way using drag and drop, the Screen Options tab, and expanding/collapsing boxes as you choose. This screen also has the distraction-free writing space, available in both the Visual and Text modes via the Fullscreen buttons. The Page editor mostly works the same as the Post editor, but there are some Page-specific features in the Page Attributes box:') . '

'; + '

' . __('Creating a Page is very similar to creating a Post, and the screens can be customized in the same way using drag and drop, the Screen Options tab, and expanding/collapsing boxes as you choose. This screen also has the distraction-free writing space, available in both the Visual and Text modes via the Fullscreen buttons. The Page editor mostly works the same as the Post editor, but there are some Page-specific features in the Page Attributes box.') . '

'; get_current_screen()->add_help_tab( array( 'id' => 'about-pages', @@ -371,15 +428,17 @@ if ( 'post' == $post_type || 'page' == $post_type ) { if ( 'post' == $post_type ) { $publish_box = '

' . __('Several boxes on this screen contain settings for how your content will be published, including:') . '

'; - $publish_box .= '
  • ' . __('Publish - You can set the terms of publishing your post in the Publish box. For Status, Visibility, and Publish (immediately), click on the Edit link to reveal more options. Visibility includes options for password-protecting a post or making it stay at the top of your blog indefinitely (sticky). Publish (immediately) allows you to set a future or past date and time, so you can schedule a post to be published in the future or backdate a post.') . '
  • '; + $publish_box .= '
    • ' . + __( 'Publish — You can set the terms of publishing your post in the Publish box. For Status, Visibility, and Publish (immediately), click on the Edit link to reveal more options. Visibility includes options for password-protecting a post or making it stay at the top of your blog indefinitely (sticky). Publish (immediately) allows you to set a future or past date and time, so you can schedule a post to be published in the future or backdate a post. The Password protected option allows you to set an arbitrary password for each post. The Private option hides the post from everyone except editors and administrators.' ) . + '
    • '; if ( current_theme_supports( 'post-formats' ) && post_type_supports( 'post', 'post-formats' ) ) { - $publish_box .= '
    • ' . __( 'Format - Post Formats designate how your theme will display a specific post. For example, you could have a standard blog post with a title and paragraphs, or a short aside that omits the title and contains a short text blurb. Please refer to the Codex for descriptions of each post format. Your theme could enable all or some of 10 possible formats.' ) . '
    • '; + $publish_box .= '
    • ' . __( 'Format — Post Formats designate how your theme will display a specific post. For example, you could have a standard blog post with a title and paragraphs, or a short aside that omits the title and contains a short text blurb. Please refer to the Codex for descriptions of each post format. Your theme could enable all or some of 10 possible formats.' ) . '
    • '; } if ( current_theme_supports( 'post-thumbnails' ) && post_type_supports( 'post', 'thumbnail' ) ) { /* translators: %s: Featured Image */ - $publish_box .= '
    • ' . sprintf( __( '%s - This allows you to associate an image with your post without inserting it. This is usually useful only if your theme makes use of the image as a post thumbnail on the home page, a custom header, etc.' ), esc_html( $post_type_object->labels->featured_image ) ) . '
    • '; + $publish_box .= '
    • ' . sprintf( __( '%s — This allows you to associate an image with your post without inserting it. This is usually useful only if your theme makes use of the image as a post thumbnail on the home page, a custom header, etc.' ), esc_html( $post_type_object->labels->featured_image ) ) . '
    • '; } $publish_box .= '
    '; @@ -390,8 +449,8 @@ if ( 'post' == $post_type ) { 'content' => $publish_box, ) ); - $discussion_settings = '

    ' . __('Send Trackbacks - Trackbacks are a way to notify legacy blog systems that you’ve linked to them. Enter the URL(s) you want to send trackbacks. If you link to other WordPress sites they’ll be notified automatically using pingbacks, and this field is unnecessary.') . '

    '; - $discussion_settings .= '

    ' . __('Discussion - You can turn comments and pings on or off, and if there are comments on the post, you can see them here and moderate them.') . '

    '; + $discussion_settings = '

    ' . __('Send Trackbacks — Trackbacks are a way to notify legacy blog systems that you’ve linked to them. Enter the URL(s) you want to send trackbacks. If you link to other WordPress sites they’ll be notified automatically using pingbacks, and this field is unnecessary.') . '

    '; + $discussion_settings .= '

    ' . __('Discussion — You can turn comments and pings on or off, and if there are comments on the post, you can see them here and moderate them.') . '

    '; get_current_screen()->add_help_tab( array( 'id' => 'discussion-settings', @@ -399,9 +458,9 @@ if ( 'post' == $post_type ) { 'content' => $discussion_settings, ) ); } elseif ( 'page' == $post_type ) { - $page_attributes = '

    ' . __('Parent - You can arrange your pages in hierarchies. For example, you could have an “About” page that has “Life Story” and “My Dog” pages under it. There are no limits to how many levels you can nest pages.') . '

    ' . - '

    ' . __('Template - Some themes have custom templates you can use for certain pages that might have additional features or custom layouts. If so, you’ll see them in this dropdown menu.') . '

    ' . - '

    ' . __('Order - Pages are usually ordered alphabetically, but you can choose your own order by entering a number (1 for first, etc.) in this field.') . '

    '; + $page_attributes = '

    ' . __('Parent — You can arrange your pages in hierarchies. For example, you could have an “About” page that has “Life Story” and “My Dog” pages under it. There are no limits to how many levels you can nest pages.') . '

    ' . + '

    ' . __('Template — Some themes have custom templates you can use for certain pages that might have additional features or custom layouts. If so, you’ll see them in this dropdown menu.') . '

    ' . + '

    ' . __('Order — Pages are usually ordered alphabetically, but you can choose your own order by entering a number (1 for first, etc.) in this field.') . '

    '; get_current_screen()->add_help_tab( array( 'id' => 'page-attributes', @@ -508,11 +567,17 @@ do_action( 'edit_form_before_permalink', $post ); ?>
    public ? get_sample_permalink_html($post->ID) : ''; -$shortlink = wp_get_shortlink($post->ID, 'post'); -if ( !empty( $shortlink ) && $shortlink !== $permalink && $permalink !== home_url('?page_id=' . $post->ID) ) - $sample_permalink_html .= '' . __('Get Shortlink') . ''; +// As of 4.4, the Get Shortlink button is hidden by default. +if ( has_filter( 'pre_get_shortlink' ) || has_filter( 'get_shortlink' ) ) { + $shortlink = wp_get_shortlink($post->ID, 'post'); + + if ( !empty( $shortlink ) && $shortlink !== $permalink && $permalink !== home_url('?page_id=' . $post->ID) ) { + $sample_permalink_html .= '' . __('Get Shortlink') . ''; + } +} if ( $post_type_object->public && ! ( 'pending' == get_post_status( $post ) && !current_user_can( $post_type_object->cap->publish_posts ) ) ) { $has_sample_permalink = $sample_permalink_html && 'auto-draft' != $post->post_status; @@ -525,6 +590,7 @@ if ( $post_type_object->public && ! ( 'pending' == get_post_status( $post ) && !
- + - + @@ -62,18 +73,11 @@ if ( !defined('ABSPATH') )
-

+

-
-
- -
-
-
-
@@ -87,10 +91,14 @@ if ( !defined('ABSPATH') ) %1$s'); -$date = date_i18n( $datef, strtotime( $comment->comment_date ) ); ?> - +' . date_i18n( $datef, strtotime( $comment->comment_date ) ) . '' +); +?>
@@ -110,7 +118,7 @@ if ( current_user_can( 'edit_post', $post_id ) ) {
' . $post_link . '' ); ?> @@ -119,17 +127,19 @@ if ( current_user_can( 'edit_post', $post_id ) ) { comment_parent ) : $parent = get_comment( $comment->comment_parent ); - $parent_link = esc_url( get_comment_link( $comment->comment_parent ) ); - $name = get_comment_author( $parent->comment_ID ); -?> -
- ' . $name . '' - ); ?> -
- + if ( $parent ) : + $parent_link = esc_url( get_comment_link( $parent ) ); + $name = get_comment_author( $parent ); + ?> +
+ ' . $name . '' + ); ?> +
+
-

+

@@ -99,7 +99,7 @@ wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false ); ?>
-

+

http://wordpress.org/ — don’t forget the http://'); ?>

@@ -107,7 +107,7 @@ wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false ); ?>
-

+

diff --git a/wp-admin/edit-tag-form.php b/wp-admin/edit-tag-form.php index ac5aafb..8b5c61b 100644 --- a/wp-admin/edit-tag-form.php +++ b/wp-admin/edit-tag-form.php @@ -48,6 +48,17 @@ if ( 'category' == $taxonomy ) { */ do_action( 'edit_tag_form_pre', $tag ); } + +/** + * Use with caution, see http://codex.wordpress.org/Function_Reference/wp_reset_vars + */ +wp_reset_vars( array( 'wp_http_referer' ) ); + +$wp_http_referer = remove_query_arg( array( 'action', 'message', 'tag_ID' ), $wp_http_referer ); + +/** Also used by Edit Tags */ +require_once( ABSPATH . 'wp-admin/includes/edit-tag-messages.php' ); + /** * Fires before the Edit Term form for all taxonomies. * @@ -63,7 +74,20 @@ do_action( "{$taxonomy}_pre_edit_form", $tag, $taxonomy ); ?>

labels->edit_item; ?>

+ + + + +
+
slug ) ? apply_filters( 'editable_slug', $tag->slug ) : ''; + $slug = isset( $tag->slug ) ? apply_filters( 'editable_slug', $tag->slug, $tag ) : ''; ?>
diff --git a/wp-admin/edit-tags.php b/wp-admin/edit-tags.php index db8319c..6ff9e37 100644 --- a/wp-admin/edit-tags.php +++ b/wp-admin/edit-tags.php @@ -17,8 +17,17 @@ $tax = get_taxonomy( $taxnow ); if ( ! $tax ) wp_die( __( 'Invalid taxonomy' ) ); -if ( ! current_user_can( $tax->cap->manage_terms ) ) - wp_die( __( 'Cheatin’ uh?' ), 403 ); +if ( ! in_array( $tax->name, get_taxonomies( array( 'show_ui' => true ) ) ) ) { + wp_die( __( 'You are not allowed to manage these items.' ) ); +} + +if ( ! current_user_can( $tax->cap->manage_terms ) ) { + wp_die( + '

' . __( 'Cheatin’ uh?' ) . '

' . + '

' . __( 'You are not allowed to manage these items.' ) . '

', + 403 + ); +} /** * $post_type is set when the WP_Terms_List_Table instance is created @@ -45,7 +54,13 @@ if ( 'post' != $post_type ) { add_screen_option( 'per_page', array( 'default' => 20, 'option' => 'edit_' . $tax->name . '_per_page' ) ); +get_current_screen()->set_screen_reader_content( array( + 'heading_pagination' => $tax->labels->items_list_navigation, + 'heading_list' => $tax->labels->items_list, +) ); + $location = false; +$referer = wp_get_referer(); switch ( $wp_list_table->current_action() ) { @@ -53,17 +68,21 @@ case 'add-tag': check_admin_referer( 'add-tag', '_wpnonce_add-tag' ); - if ( !current_user_can( $tax->cap->edit_terms ) ) - wp_die( __( 'Cheatin’ uh?' ), 403 ); + if ( ! current_user_can( $tax->cap->edit_terms ) ) { + wp_die( + '

' . __( 'Cheatin’ uh?' ) . '

' . + '

' . __( 'You are not allowed to add this item.' ) . '

', + 403 + ); + } $ret = wp_insert_term( $_POST['tag-name'], $taxonomy, $_POST ); $location = 'edit-tags.php?taxonomy=' . $taxonomy; if ( 'post' != $post_type ) $location .= '&post_type=' . $post_type; - if ( $referer = wp_get_original_referer() ) { - if ( false !== strpos( $referer, 'edit-tags.php' ) ) - $location = $referer; + if ( $referer && false !== strpos( $referer, 'edit-tags.php' ) ) { + $location = $referer; } if ( $ret && !is_wp_error( $ret ) ) @@ -77,9 +96,9 @@ case 'delete': $location = 'edit-tags.php?taxonomy=' . $taxonomy; if ( 'post' != $post_type ) $location .= '&post_type=' . $post_type; - if ( $referer = wp_get_referer() ) { - if ( false !== strpos( $referer, 'edit-tags.php' ) ) - $location = $referer; + + if ( $referer && false !== strpos( $referer, 'edit-tags.php' ) ) { + $location = $referer; } if ( ! isset( $_REQUEST['tag_ID'] ) ) { @@ -89,8 +108,13 @@ case 'delete': $tag_ID = (int) $_REQUEST['tag_ID']; check_admin_referer( 'delete-tag_' . $tag_ID ); - if ( !current_user_can( $tax->cap->delete_terms ) ) - wp_die( __( 'Cheatin’ uh?' ), 403 ); + if ( ! current_user_can( $tax->cap->delete_terms ) ) { + wp_die( + '

' . __( 'Cheatin’ uh?' ) . '

' . + '

' . __( 'You are not allowed to delete this item.' ) . '

', + 403 + ); + } wp_delete_term( $tag_ID, $taxonomy ); @@ -101,8 +125,13 @@ case 'delete': case 'bulk-delete': check_admin_referer( 'bulk-tags' ); - if ( !current_user_can( $tax->cap->delete_terms ) ) - wp_die( __( 'Cheatin’ uh?' ), 403 ); + if ( ! current_user_can( $tax->cap->delete_terms ) ) { + wp_die( + '

' . __( 'Cheatin’ uh?' ) . '

' . + '

' . __( 'You are not allowed to delete these items.' ) . '

', + 403 + ); + } $tags = (array) $_REQUEST['delete_tags']; foreach ( $tags as $tag_ID ) { @@ -112,9 +141,8 @@ case 'bulk-delete': $location = 'edit-tags.php?taxonomy=' . $taxonomy; if ( 'post' != $post_type ) $location .= '&post_type=' . $post_type; - if ( $referer = wp_get_referer() ) { - if ( false !== strpos( $referer, 'edit-tags.php' ) ) - $location = $referer; + if ( $referer && false !== strpos( $referer, 'edit-tags.php' ) ) { + $location = $referer; } $location = add_query_arg( 'message', 6, $location ); @@ -139,8 +167,13 @@ case 'editedtag': $tag_ID = (int) $_POST['tag_ID']; check_admin_referer( 'update-tag_' . $tag_ID ); - if ( !current_user_can( $tax->cap->edit_terms ) ) - wp_die( __( 'Cheatin’ uh?' ), 403 ); + if ( ! current_user_can( $tax->cap->edit_terms ) ) { + wp_die( + '

' . __( 'Cheatin’ uh?' ) . '

' . + '

' . __( 'You are not allowed to edit this item.' ) . '

', + 403 + ); + } $tag = get_term( $tag_ID, $taxonomy ); if ( ! $tag ) @@ -152,9 +185,8 @@ case 'editedtag': if ( 'post' != $post_type ) $location .= '&post_type=' . $post_type; - if ( $referer = wp_get_original_referer() ) { - if ( false !== strpos( $referer, 'edit-tags.php' ) ) - $location = $referer; + if ( $referer && false !== strpos( $referer, 'edit-tags.php' ) ) { + $location = $referer; } if ( $ret && !is_wp_error( $ret ) ) @@ -215,15 +247,15 @@ if ( 'category' == $taxonomy || 'link_category' == $taxonomy || 'post_tag' == $t $help = '

' . __( 'When adding a new tag on this screen, you’ll fill in the following fields:' ) . '

'; $help .= '
    ' . - '
  • ' . __( 'Name - The name is how it appears on your site.' ) . '
  • '; + '
  • ' . __( 'Name — The name is how it appears on your site.' ) . '
  • '; if ( ! global_terms_enabled() ) - $help .= '
  • ' . __( 'Slug - The “slug” is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.' ) . '
  • '; + $help .= '
  • ' . __( 'Slug — The “slug” is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.' ) . '
  • '; if ( 'category' == $taxonomy ) - $help .= '
  • ' . __( 'Parent - Categories, unlike tags, can have a hierarchy. You might have a Jazz category, and under that have child categories for Bebop and Big Band. Totally optional. To create a subcategory, just choose another category from the Parent dropdown.' ) . '
  • '; + $help .= '
  • ' . __( 'Parent — Categories, unlike tags, can have a hierarchy. You might have a Jazz category, and under that have child categories for Bebop and Big Band. Totally optional. To create a subcategory, just choose another category from the Parent dropdown.' ) . '
  • '; - $help .= '
  • ' . __( 'Description - The description is not prominent by default; however, some themes may display it.' ) . '
  • ' . + $help .= '
  • ' . __( 'Description — The description is not prominent by default; however, some themes may display it.' ) . '
  • ' . '
' . '

' . __( 'You can change the display of this screen using the Screen Options tab to set how many items are displayed per screen and to display/hide columns in the table.' ) . '

'; @@ -252,55 +284,17 @@ if ( 'category' == $taxonomy || 'link_category' == $taxonomy || 'post_tag' == $t require_once( ABSPATH . 'wp-admin/admin-header.php' ); -if ( !current_user_can($tax->cap->edit_terms) ) - wp_die( __('You are not allowed to edit this item.') ); - -$messages = array(); -$messages['_item'] = array( - 0 => '', // Unused. Messages start at index 1. - 1 => __( 'Item added.' ), - 2 => __( 'Item deleted.' ), - 3 => __( 'Item updated.' ), - 4 => __( 'Item not added.' ), - 5 => __( 'Item not updated.' ), - 6 => __( 'Items deleted.' ) -); -$messages['category'] = array( - 0 => '', // Unused. Messages start at index 1. - 1 => __( 'Category added.' ), - 2 => __( 'Category deleted.' ), - 3 => __( 'Category updated.' ), - 4 => __( 'Category not added.' ), - 5 => __( 'Category not updated.' ), - 6 => __( 'Categories deleted.' ) -); -$messages['post_tag'] = array( - 0 => '', // Unused. Messages start at index 1. - 1 => __( 'Tag added.' ), - 2 => __( 'Tag deleted.' ), - 3 => __( 'Tag updated.' ), - 4 => __( 'Tag not added.' ), - 5 => __( 'Tag not updated.' ), - 6 => __( 'Tags deleted.' ) -); - -/** - * Filter the messages displayed when a tag is updated. - * - * @since 3.7.0 - * - * @param array $messages The messages to be displayed. - */ -$messages = apply_filters( 'term_updated_messages', $messages ); - -$message = false; -if ( isset( $_REQUEST['message'] ) && ( $msg = (int) $_REQUEST['message'] ) ) { - if ( isset( $messages[ $taxonomy ][ $msg ] ) ) - $message = $messages[ $taxonomy ][ $msg ]; - elseif ( ! isset( $messages[ $taxonomy ] ) && isset( $messages['_item'][ $msg ] ) ) - $message = $messages['_item'][ $msg ]; +if ( ! current_user_can( $tax->cap->edit_terms ) ) { + wp_die( + '

' . __( 'Cheatin’ uh?' ) . '

' . + '

' . __( 'You are not allowed to edit this item.' ) . '

', + 403 + ); } +/** Also used by the Edit Tag form */ +require_once( ABSPATH . 'wp-admin/includes/edit-tag-messages.php' ); + $class = ( isset( $_REQUEST['error'] ) ) ? 'error' : 'updated'; if ( is_plugin_active( 'wpcat2tag-importer/wpcat2tag-importer.php' ) ) { @@ -349,8 +343,13 @@ endif; ?>

Note:
Deleting a category does not delete the posts in that category. Instead, posts that were only assigned to the deleted category are set to the category %s.' ), apply_filters( 'the_category', get_cat_name( get_option( 'default_category') ) ) ); + echo '' . __( 'Note:' ) . '
'; + printf( + /* translators: %s: default category */ + __( 'Deleting a category does not delete the posts in that category. Instead, posts that were only assigned to the deleted category are set to the category %s.' ), + /** This filter is documented in wp-includes/category-template.php */ + '' . apply_filters( 'the_category', get_cat_name( get_option( 'default_category') ) ) . '' + ); ?>

@@ -392,7 +391,7 @@ if ( !is_null( $tax->labels->popular_items ) ) { if ( $tag_cloud ) : ?>
-

labels->popular_items; ?>

+

labels->popular_items; ?>

cap->edit_terms) ) { ?>
-

labels->add_new_item; ?>

+

labels->add_new_item; ?>

true ) ) ) ) { + wp_die( __( 'You are not allowed to edit posts in this post type.' ) ); +} + if ( 'attachment' === $typenow ) { if ( wp_redirect( admin_url( 'upload.php' ) ) ) { exit; @@ -30,8 +34,13 @@ $post_type_object = get_post_type_object( $post_type ); if ( ! $post_type_object ) wp_die( __( 'Invalid post type' ) ); -if ( ! current_user_can( $post_type_object->cap->edit_posts ) ) - wp_die( __( 'Cheatin’ uh?' ), 403 ); +if ( ! current_user_can( $post_type_object->cap->edit_posts ) ) { + wp_die( + '

' . __( 'Cheatin’ uh?' ) . '

' . + '

' . __( 'You are not allowed to edit posts in this post type.' ) . '

', + 403 + ); +} $wp_list_table = _get_list_table('WP_Posts_List_Table'); $pagenum = $wp_list_table->get_pagenum(); @@ -92,7 +101,7 @@ if ( $doaction ) { case 'trash': $trashed = $locked = 0; - foreach( (array) $post_ids as $post_id ) { + foreach ( (array) $post_ids as $post_id ) { if ( !current_user_can( 'delete_post', $post_id) ) wp_die( __('You are not allowed to move this item to the Trash.') ); @@ -111,7 +120,7 @@ if ( $doaction ) { break; case 'untrash': $untrashed = 0; - foreach( (array) $post_ids as $post_id ) { + foreach ( (array) $post_ids as $post_id ) { if ( !current_user_can( 'delete_post', $post_id) ) wp_die( __('You are not allowed to restore this item from the Trash.') ); @@ -124,7 +133,7 @@ if ( $doaction ) { break; case 'delete': $deleted = 0; - foreach( (array) $post_ids as $post_id ) { + foreach ( (array) $post_ids as $post_id ) { $post_del = get_post($post_id); if ( !current_user_can( 'delete_post', $post_id ) ) @@ -186,7 +195,7 @@ if ( 'post' == $post_type ) { '
    ' . '
  • ' . __('You can hide/display columns based on your needs and decide how many posts to list per screen using the Screen Options tab.') . '
  • ' . '
  • ' . __('You can filter the list of posts by post status using the text links in the upper left to show All, Published, Draft, or Trashed posts. The default view is to show all posts.') . '
  • ' . - '
  • ' . __('You can view posts in a simple title list or with an excerpt. Choose the view you prefer by clicking on the icons at the top of the list on the right.') . '
  • ' . + '
  • ' . __('You can view posts in a simple title list or with an excerpt using the Screen Options tab.') . '
  • ' . '
  • ' . __('You can refine the list to show only posts in a specific category or from a specific month by using the dropdown menus above the posts list. Click the Filter button after making your selection. You also can refine the list by clicking on the post author, category or tag in the posts list.') . '
  • ' . '
' ) ); @@ -236,8 +245,15 @@ if ( 'post' == $post_type ) { '

' . __('Documentation on Managing Pages') . '

' . '

' . __('Support Forums') . '

' ); + } +get_current_screen()->set_screen_reader_content( array( + 'heading_views' => $post_type_object->labels->filter_items_list, + 'heading_pagination' => $post_type_object->labels->items_list_navigation, + 'heading_list' => $post_type_object->labels->items_list, +) ); + add_screen_option( 'per_page', array( 'default' => 20, 'option' => 'edit_' . $post_type . '_per_page' ) ); $bulk_counts = array( diff --git a/wp-admin/export.php b/wp-admin/export.php index ce5081b..7f416c4 100644 --- a/wp-admin/export.php +++ b/wp-admin/export.php @@ -31,6 +31,7 @@ function export_add_js() { form.find('input:radio').change(function() { filters.slideUp('fast'); switch ( $(this).val() ) { + case 'attachment': $('#attachment-filters').slideDown(); break; case 'posts': $('#post-filters').slideDown(); break; case 'pages': $('#page-filters').slideDown(); break; } @@ -89,7 +90,15 @@ if ( isset( $_GET['download'] ) ) { if ( $_GET['page_status'] ) $args['status'] = $_GET['page_status']; - } else { + } elseif ( 'attachment' == $_GET['content'] ) { + $args['content'] = 'attachment'; + + if ( $_GET['attachment_start_date'] || $_GET['attachment_end_date'] ) { + $args['start_date'] = $_GET['attachment_start_date']; + $args['end_date'] = $_GET['attachment_end_date']; + } + } + else { $args['content'] = $_GET['content']; } @@ -149,39 +158,47 @@ function export_date_options( $post_type = 'post' ) {

-

+

+
+ -

-

+

+

  • - +
  • - - + get_col( "SELECT DISTINCT post_author FROM {$wpdb->posts} WHERE post_type = 'post'" ); wp_dropdown_users( array( 'include' => $authors, 'name' => 'post_author', 'multi' => true, 'show_option_all' => __('All') ) ); -?> + ?> +
  • - - + - + +
  • - - false ), 'objects' ); foreach ( $post_stati as $status ) : ?> @@ -194,26 +211,31 @@ function export_date_options( $post_type = 'post' ) {

    • - - + get_col( "SELECT DISTINCT post_author FROM {$wpdb->posts} WHERE post_type = 'page'" ); wp_dropdown_users( array( 'include' => $authors, 'name' => 'page_author', 'multi' => true, 'show_option_all' => __('All') ) ); -?> + ?> +
    • - - + - + +
    • - - @@ -226,9 +248,29 @@ function export_date_options( $post_type = 'post' ) {

      +

      +
        +
      • +
        + + + + + +
        +
      • +
      + + -
      +

      license, the GPL.' ), 'https://wordpress.org/about/license/' ); ?>

      diff --git a/wp-admin/includes/admin-filters.php b/wp-admin/includes/admin-filters.php index d0709f4..38051e3 100644 --- a/wp-admin/includes/admin-filters.php +++ b/wp-admin/includes/admin-filters.php @@ -1,10 +1,9 @@ 'comment', + // Here for completeness - not used. + 'id' => $comment_id, + 'supplemental' => array( + 'status' => $comment ? $comment->comment_approved : '', + 'postId' => $comment ? $comment->comment_post_ID : '', + 'time' => $time, + 'in_moderation' => $counts->moderated, + 'i18n_comments_text' => sprintf( + _n( '%s Comment', '%s Comments', $counts->approved ), + number_format_i18n( $counts->approved ) + ), + 'i18n_moderation_text' => sprintf( + _nx( '%s in moderation', '%s in moderation', $counts->moderated, 'comments' ), + number_format_i18n( $counts->moderated ) + ) + ) + ) ); + $x->send(); + } $total += $delta; if ( $total < 0 ) @@ -357,7 +383,8 @@ function _wp_ajax_delete_comment_response( $comment_id, $delta = -1 ) { // Only do the expensive stuff on a page-break, and about 1 other time per page if ( 0 == $total % $per_page || 1 == mt_rand( 1, $per_page ) ) { $post_id = 0; - $status = 'total_comments'; // What type of comment count are we looking for? + // What type of comment count are we looking for? + $status = 'all'; $parsed = parse_url( $url ); if ( isset( $parsed['query'] ) ) { parse_str( $parsed['query'], $query_vars ); @@ -377,12 +404,15 @@ function _wp_ajax_delete_comment_response( $comment_id, $delta = -1 ) { // The time since the last comment count. $time = time(); + $comment = get_comment( $comment_id ); $x = new WP_Ajax_Response( array( 'what' => 'comment', // Here for completeness - not used. 'id' => $comment_id, 'supplemental' => array( + 'status' => $comment ? $comment->comment_approved : '', + 'postId' => $comment ? $comment->comment_post_ID : '', 'total_items_i18n' => sprintf( _n( '%s item', '%s items', $total ), number_format_i18n( $total ) ), 'total_pages' => ceil( $total / $per_page ), 'total_pages_i18n' => number_format_i18n( ceil( $total / $per_page ) ), @@ -503,31 +533,31 @@ function wp_ajax_delete_comment() { wp_die( -1 ); check_ajax_referer( "delete-comment_$id" ); - $status = wp_get_comment_status( $comment->comment_ID ); + $status = wp_get_comment_status( $comment ); $delta = -1; if ( isset($_POST['trash']) && 1 == $_POST['trash'] ) { if ( 'trash' == $status ) wp_die( time() ); - $r = wp_trash_comment( $comment->comment_ID ); + $r = wp_trash_comment( $comment ); } elseif ( isset($_POST['untrash']) && 1 == $_POST['untrash'] ) { if ( 'trash' != $status ) wp_die( time() ); - $r = wp_untrash_comment( $comment->comment_ID ); + $r = wp_untrash_comment( $comment ); if ( ! isset( $_POST['comment_status'] ) || $_POST['comment_status'] != 'trash' ) // undo trash, not in trash $delta = 1; } elseif ( isset($_POST['spam']) && 1 == $_POST['spam'] ) { if ( 'spam' == $status ) wp_die( time() ); - $r = wp_spam_comment( $comment->comment_ID ); + $r = wp_spam_comment( $comment ); } elseif ( isset($_POST['unspam']) && 1 == $_POST['unspam'] ) { if ( 'spam' != $status ) wp_die( time() ); - $r = wp_unspam_comment( $comment->comment_ID ); + $r = wp_unspam_comment( $comment ); if ( ! isset( $_POST['comment_status'] ) || $_POST['comment_status'] != 'spam' ) // undo spam, not in spam $delta = 1; } elseif ( isset($_POST['delete']) && 1 == $_POST['delete'] ) { - $r = wp_delete_comment( $comment->comment_ID ); + $r = wp_delete_comment( $comment ); } else { wp_die( -1 ); } @@ -713,15 +743,16 @@ function wp_ajax_dim_comment() { if ( ! current_user_can( 'edit_comment', $comment->comment_ID ) && ! current_user_can( 'moderate_comments' ) ) wp_die( -1 ); - $current = wp_get_comment_status( $comment->comment_ID ); + $current = wp_get_comment_status( $comment ); if ( isset( $_POST['new'] ) && $_POST['new'] == $current ) wp_die( time() ); check_ajax_referer( "approve-comment_$id" ); - if ( in_array( $current, array( 'unapproved', 'spam' ) ) ) - $result = wp_set_comment_status( $comment->comment_ID, 'approve', true ); - else - $result = wp_set_comment_status( $comment->comment_ID, 'hold', true ); + if ( in_array( $current, array( 'unapproved', 'spam' ) ) ) { + $result = wp_set_comment_status( $comment, 'approve', true ); + } else { + $result = wp_set_comment_status( $comment, 'hold', true ); + } if ( is_wp_error($result) ) { $x = new WP_Ajax_Response( array( @@ -994,7 +1025,11 @@ function wp_ajax_replyto_comment( $action ) { $parent = get_comment( $comment_parent ); if ( $parent && $parent->comment_approved === '0' && $parent->comment_post_ID == $comment_post_ID ) { - if ( wp_set_comment_status( $parent->comment_ID, 'approve' ) ) + if ( ! current_user_can( 'edit_comment', $parent->comment_ID ) ) { + wp_die( -1 ); + } + + if ( wp_set_comment_status( $parent, 'approve' ) ) $comment_auto_approved = true; } } @@ -1026,8 +1061,23 @@ function wp_ajax_replyto_comment( $action ) { 'position' => $position ); - if ( $comment_auto_approved ) - $response['supplemental'] = array( 'parent_approved' => $parent->comment_ID ); + $counts = wp_count_comments(); + $response['supplemental'] = array( + 'in_moderation' => $counts->moderated, + 'i18n_comments_text' => sprintf( + _n( '%s Comment', '%s Comments', $counts->approved ), + number_format_i18n( $counts->approved ) + ), + 'i18n_moderation_text' => sprintf( + _nx( '%s in moderation', '%s in moderation', $counts->moderated, 'comments' ), + number_format_i18n( $counts->moderated ) + ) + ); + + if ( $comment_auto_approved ) { + $response['supplemental']['parent_approved'] = $parent->comment_ID; + $response['supplemental']['parent_post_id'] = $parent->comment_post_ID; + } $x = new WP_Ajax_Response(); $x->add( $response ); @@ -1109,6 +1159,10 @@ function wp_ajax_add_menu_item() { $_object = get_post( $menu_item_data['menu-item-object-id'] ); break; + case 'post_type_archive' : + $_object = get_post_type_object( $menu_item_data['menu-item-object'] ); + break; + case 'taxonomy' : $_object = get_term( $menu_item_data['menu-item-object-id'], $menu_item_data['menu-item-object'] ); break; @@ -1177,16 +1231,16 @@ function wp_ajax_add_meta() { // If the post is an autodraft, save the post as a draft and then attempt to save the meta. if ( $post->post_status == 'auto-draft' ) { - $save_POST = $_POST; // Backup $_POST - $_POST = array(); // Make it empty for edit_post() - $_POST['action'] = 'draft'; // Warning fix - $_POST['post_ID'] = $pid; - $_POST['post_type'] = $post->post_type; - $_POST['post_status'] = 'draft'; + $post_data = array(); + $post_data['action'] = 'draft'; // Warning fix + $post_data['post_ID'] = $pid; + $post_data['post_type'] = $post->post_type; + $post_data['post_status'] = 'draft'; $now = current_time('timestamp', 1); - $_POST['post_title'] = sprintf( __( 'Draft created on %1$s at %2$s' ), date( get_option( 'date_format' ), $now ), date( get_option( 'time_format' ), $now ) ); + $post_data['post_title'] = sprintf( __( 'Draft created on %1$s at %2$s' ), date( get_option( 'date_format' ), $now ), date( get_option( 'time_format' ), $now ) ); - if ( $pid = edit_post() ) { + $pid = edit_post( $post_data ); + if ( $pid ) { if ( is_wp_error( $pid ) ) { $x = new WP_Ajax_Response( array( 'what' => 'meta', @@ -1194,7 +1248,7 @@ function wp_ajax_add_meta() { ) ); $x->send(); } - $_POST = $save_POST; // Now we can restore original $_POST again + if ( !$mid = add_meta( $pid ) ) wp_die( __( 'Please provide a custom field value.' ) ); } else { @@ -1285,7 +1339,11 @@ function wp_ajax_add_user( $action ) { 'id' => $user_id, 'data' => $wp_list_table->single_row( $user_object, '', $role ), 'supplemental' => array( - 'show-link' => sprintf(__( 'User %s added' ), "user-$user_id", $user_object->user_login), + 'show-link' => sprintf( + /* translators: %s: the new user */ + __( 'User %s added' ), + '' . $user_object->user_login . '' + ), 'role' => $role, ) ) ); @@ -1504,7 +1562,7 @@ function wp_ajax_menu_quick_search() { function wp_ajax_get_permalink() { check_ajax_referer( 'getpermalink', 'getpermalinknonce' ); $post_id = isset($_POST['post_id'])? intval($_POST['post_id']) : 0; - wp_die( add_query_arg( array( 'preview' => 'true' ), get_permalink( $post_id ) ) ); + wp_die( get_preview_post_link( $post_id ) ); } /** @@ -1528,7 +1586,7 @@ function wp_ajax_sample_permalink() { * @global WP_List_Table $wp_list_table */ function wp_ajax_inline_save() { - global $wp_list_table; + global $wp_list_table, $mode; check_ajax_referer( 'inlineeditnonce', '_inline_edit' ); @@ -1601,6 +1659,8 @@ function wp_ajax_inline_save() { $wp_list_table = _get_list_table( 'WP_Posts_List_Table', array( 'screen' => $_POST['screen'] ) ); + $mode = $_POST['post_view'] === 'excerpt' ? 'excerpt' : 'list'; + $level = 0; $request_post = array( get_post( $_POST['post_ID'] ) ); $parent = $request_post[0]->post_parent; @@ -1824,6 +1884,10 @@ function wp_ajax_save_widget() { $sidebar = array_diff( $sidebar, array($widget_id) ); $_POST = array('sidebar' => $sidebar_id, 'widget-' . $id_base => array(), 'the-widget-id' => $widget_id, 'delete_widget' => '1'); + + /** This action is documented in wp-admin/widgets.php */ + do_action( 'delete_widget', $widget_id, $sidebar_id, $id_base ); + } elseif ( $settings && preg_match( '/__i__|%i%/', key($settings) ) ) { if ( !$multi_number ) wp_die( $error ); @@ -1875,6 +1939,41 @@ function wp_ajax_update_widget() { $wp_customize->widgets->wp_ajax_update_widget(); } +/** + * Ajax handler for removing inactive widgets. + * + * @since 4.4.0 + */ +function wp_ajax_delete_inactive_widgets() { + check_ajax_referer( 'remove-inactive-widgets', 'removeinactivewidgets' ); + + if ( ! current_user_can( 'edit_theme_options' ) ) { + wp_die( -1 ); + } + + unset( $_POST['removeinactivewidgets'], $_POST['action'] ); + + do_action( 'load-widgets.php' ); + do_action( 'widgets.php' ); + do_action( 'sidebar_admin_setup' ); + + $sidebars_widgets = wp_get_sidebars_widgets(); + + foreach ( $sidebars_widgets['wp_inactive_widgets'] as $key => $widget_id ) { + $pieces = explode( '-', $widget_id ); + $multi_number = array_pop( $pieces ); + $id_base = implode( '-', $pieces ); + $widget = get_option( 'widget_' . $id_base ); + unset( $widget[$multi_number] ); + update_option( 'widget_' . $id_base, $widget ); + unset( $sidebars_widgets['wp_inactive_widgets'][$key] ); + } + + wp_set_sidebars_widgets( $sidebars_widgets ); + + wp_die(); +} + /** * Ajax handler for uploading attachments * @@ -1892,7 +1991,7 @@ function wp_ajax_upload_attachment() { echo wp_json_encode( array( 'success' => false, 'data' => array( - 'message' => __( "You don't have permission to upload files." ), + 'message' => __( 'You do not have permission to upload files.' ), 'filename' => $_FILES['async-upload']['name'], ) ) ); @@ -2468,13 +2567,10 @@ function wp_ajax_send_attachment_to_editor() { } } - $rel = $url = ''; - $html = isset( $attachment['post_title'] ) ? $attachment['post_title'] : ''; - if ( ! empty( $attachment['url'] ) ) { - $url = $attachment['url']; - if ( strpos( $url, 'attachment_id') || get_attachment_link( $id ) == $url ) - $rel = ' rel="attachment wp-att-' . $id . '"'; - $html = '' . $html . ''; + $rel = ''; + $url = empty( $attachment['url'] ) ? '' : $attachment['url']; + if ( strpos( $url, 'attachment_id') || get_attachment_link( $id ) == $url ) { + $rel = 'attachment wp-att-' . $id; } remove_filter( 'media_send_to_editor', 'image_media_send_to_editor' ); @@ -2491,9 +2587,14 @@ function wp_ajax_send_attachment_to_editor() { } $title = ''; // We no longer insert title tags into tags, as they are redundant. - $html = get_image_send_to_editor( $id, $caption, $title, $align, $url, (bool) $rel, $size, $alt ); + $html = get_image_send_to_editor( $id, $caption, $title, $align, $url, $rel, $size, $alt ); } elseif ( wp_attachment_is( 'video', $post ) || wp_attachment_is( 'audio', $post ) ) { $html = stripslashes_deep( $_POST['html'] ); + } else { + $html = isset( $attachment['post_title'] ) ? $attachment['post_title'] : ''; + if ( ! empty( $url ) ) { + $html = '' . $html . ''; + } } /** This filter is documented in wp-admin/includes/media.php */ @@ -2720,6 +2821,13 @@ function wp_ajax_query_themes() { 'fields' => $theme_field_defaults ) ); + if ( isset( $args['browse'] ) && 'favorites' === $args['browse'] && ! isset( $args['user'] ) ) { + $user = get_user_option( 'wporg_favorites' ); + if ( $user ) { + $args['user'] = $user; + } + } + $old_filter = isset( $args['browse'] ) ? $args['browse'] : 'search'; /** This filter is documented in wp-admin/includes/class-wp-theme-install-list-table.php */ @@ -2742,7 +2850,8 @@ function wp_ajax_query_themes() { $theme->author = wp_kses( $theme->author, $themes_allowedtags ); $theme->version = wp_kses( $theme->version, $themes_allowedtags ); $theme->description = wp_kses( $theme->description, $themes_allowedtags ); - $theme->num_ratings = sprintf( _n( '(based on %s rating)', '(based on %s ratings)', $theme->num_ratings ), number_format_i18n( $theme->num_ratings ) ); + $theme->stars = wp_star_rating( array( 'rating' => $theme->rating, 'type' => 'percent', 'number' => $theme->num_ratings, 'echo' => false ) ); + $theme->num_ratings = number_format_i18n( $theme->num_ratings ); $theme->preview_url = set_url_scheme( $theme->preview_url ); } @@ -3002,6 +3111,7 @@ function wp_ajax_update_plugin() { * For now, surface some sort of error here. */ if ( $plugin_update_data === true ) { + $status['error'] = __( 'Plugin update failed.' ); wp_send_json_error( $status ); } @@ -3028,6 +3138,10 @@ function wp_ajax_update_plugin() { wp_send_json_error( $status ); + } else { + // An unhandled error occured + $status['error'] = __( 'Plugin update failed.' ); + wp_send_json_error( $status ); } } @@ -3132,7 +3246,7 @@ function wp_ajax_crop_image() { /** This filter is documented in wp-admin/custom-header.php */ $cropped = apply_filters( 'wp_create_file_in_uploads', $cropped, $attachment_id ); // For replication. - $parent_url = get_post( $attachment_id )->guid; + $parent_url = wp_get_attachment_url( $attachment_id ); $url = str_replace( basename( $parent_url ), basename( $cropped ), $parent_url ); $size = @getimagesize( $cropped ); @@ -3174,3 +3288,31 @@ function wp_ajax_crop_image() { wp_send_json_success( wp_prepare_attachment_for_js( $attachment_id ) ); } + +/** + * Ajax handler for generating a password. + * + * @since 4.4.0 + */ +function wp_ajax_generate_password() { + wp_send_json_success( wp_generate_password( 24 ) ); +} + +/** + * Ajax handler for saving the user's WordPress.org username. + * + * @since 4.4.0 + */ +function wp_ajax_save_wporg_username() { + if ( ! current_user_can( 'install_themes' ) && ! current_user_can( 'install_plugins' ) ) { + wp_send_json_error(); + } + + $username = isset( $_REQUEST['username'] ) ? wp_unslash( $_REQUEST['username'] ) : false; + + if ( ! $username ) { + wp_send_json_error(); + } + + wp_send_json_success( update_user_meta( get_current_user_id(), 'wporg_favorites', $username ) ); +} diff --git a/wp-admin/includes/bookmark.php b/wp-admin/includes/bookmark.php index bdf1d7f..0d85026 100644 --- a/wp-admin/includes/bookmark.php +++ b/wp-admin/includes/bookmark.php @@ -18,16 +18,21 @@ function add_link() { } /** - * Update or insert a link using values provided in $_POST. + * Updates or inserts a link using values provided in $_POST. * * @since 2.0.0 * - * @param int $link_id Optional. ID of the link to edit. + * @param int $link_id Optional. ID of the link to edit. Default 0. * @return int|WP_Error Value 0 or WP_Error on failure. The link ID on success. */ function edit_link( $link_id = 0 ) { - if ( !current_user_can( 'manage_links' ) ) - wp_die( __( 'Cheatin’ uh?' ), 403 ); + if ( ! current_user_can( 'manage_links' ) ) { + wp_die( + '

      ' . __( 'Cheatin’ uh?' ) . '

      ' . + '

      ' . __( 'You do not have sufficient permissions to edit the links for this site.' ) . '

      ', + 403 + ); + } $_POST['link_url'] = esc_html( $_POST['link_url'] ); $_POST['link_url'] = esc_url($_POST['link_url']); @@ -46,11 +51,11 @@ function edit_link( $link_id = 0 ) { } /** - * Retrieve the default link for editing. + * Retrieves the default link for editing. * * @since 2.0.0 * - * @return stdClass Default link + * @return stdClass Default link object. */ function get_default_link_to_edit() { $link = new stdClass; @@ -70,14 +75,14 @@ function get_default_link_to_edit() { } /** - * Delete link specified from database. + * Deletes a specified link from the database. * * @since 2.0.0 * - * @global wpdb $wpdb + * @global wpdb $wpdb WordPress database abstraction object. * * @param int $link_id ID of the link to delete - * @return true + * @return true Always true. */ function wp_delete_link( $link_id ) { global $wpdb; @@ -93,6 +98,7 @@ function wp_delete_link( $link_id ) { wp_delete_object_term_relationships( $link_id, 'link_category' ); $wpdb->delete( $wpdb->links, array( 'link_id' => $link_id ) ); + /** * Fires after a link has been deleted. * @@ -121,26 +127,26 @@ function wp_get_link_cats( $link_id = 0 ) { } /** - * Retrieve link data based on ID. + * Retrieves link data based on its ID. * * @since 2.0.0 * - * @param int $link_id ID of link to retrieve - * @return object Link for editing + * @param int $link_id ID of link to retrieve. + * @return object Link object for editing. */ function get_link_to_edit( $link_id ) { return get_bookmark( $link_id, OBJECT, 'edit' ); } /** - * This function inserts/updates links into/in the database. + * Inserts/updates links into/in the database. * * @since 2.0.0 * - * @global wpdb $wpdb + * @global wpdb $wpdb WordPress database abstraction object. * * @param array $linkdata Elements that make up the link to insert. - * @param bool $wp_error Optional. If true return WP_Error object on failure. + * @param bool $wp_error Optional. Whether to return a WP_Error object on failure. Default false. * @return int|WP_Error Value 0 or WP_Error on failure. The link ID on success. */ function wp_insert_link( $linkdata, $wp_error = false ) { @@ -183,7 +189,7 @@ function wp_insert_link( $linkdata, $wp_error = false ) { $link_rel = ( ! empty( $r['link_rel'] ) ) ? $r['link_rel'] : ''; $link_category = ( ! empty( $r['link_category'] ) ) ? $r['link_category'] : array(); - // Make sure we set a valid category + // Make sure we set a valid category. if ( ! is_array( $link_category ) || 0 == count( $link_category ) ) { $link_category = array( get_option( 'default_link_category' ) ); } @@ -238,8 +244,8 @@ function wp_insert_link( $linkdata, $wp_error = false ) { * * @since 2.1.0 * - * @param int $link_id ID of link to update - * @param array $link_categories Array of categories to + * @param int $link_id ID of the link to update. + * @param array $link_categories Array of link categories to add the link to. */ function wp_set_link_cats( $link_id = 0, $link_categories = array() ) { // If $link_categories isn't already an array, make it one: @@ -255,7 +261,7 @@ function wp_set_link_cats( $link_id = 0, $link_categories = array() ) { } /** - * Update a link in the database. + * Updates a link in the database. * * @since 2.0.0 * @@ -285,6 +291,8 @@ function wp_update_link( $linkdata ) { } /** + * Outputs the 'disabled' message for the WordPress Link Manager. + * * @since 3.5.0 * @access private * diff --git a/wp-admin/includes/class-ftp-pure.php b/wp-admin/includes/class-ftp-pure.php index 7146c96..28e5677 100644 --- a/wp-admin/includes/class-ftp-pure.php +++ b/wp-admin/includes/class-ftp-pure.php @@ -110,7 +110,7 @@ class ftp extends ftp_base { $this->_data_close(); return FALSE; } - $ip_port = explode(",", ereg_replace("^.+ \\(?([0-9]{1,3},[0-9]{1,3},[0-9]{1,3},[0-9]{1,3},[0-9]+,[0-9]+)\\)?.*".CRLF."$", "\\1", $this->_message)); + $ip_port = explode(",", preg_replace("/^.+ \\(?([0-9]{1,3},[0-9]{1,3},[0-9]{1,3},[0-9]{1,3},[0-9]+,[0-9]+)\\)?.*$/s", "\\1", $this->_message)); $this->_datahost=$ip_port[0].".".$ip_port[1].".".$ip_port[2].".".$ip_port[3]; $this->_dataport=(((int)$ip_port[4])<<8) + ((int)$ip_port[5]); $this->SendMSG("Connecting to ".$this->_datahost.":".$this->_dataport); diff --git a/wp-admin/includes/class-ftp-sockets.php b/wp-admin/includes/class-ftp-sockets.php index 6bf94eb..c71205e 100644 --- a/wp-admin/includes/class-ftp-sockets.php +++ b/wp-admin/includes/class-ftp-sockets.php @@ -131,9 +131,9 @@ class ftp extends ftp_base { $this->_data_close(); return FALSE; } - $ip_port = explode(",", ereg_replace("^.+ \\(?([0-9]{1,3},[0-9]{1,3},[0-9]{1,3},[0-9]{1,3},[0-9]+,[0-9]+)\\)?.*".CRLF."$", "\\1", $this->_message)); + $ip_port = explode(",", preg_replace("/^.+ \\(?([0-9]{1,3},[0-9]{1,3},[0-9]{1,3},[0-9]{1,3},[0-9]+,[0-9]+)\\)?.*$/s", "\\1", $this->_message)); $this->_datahost=$ip_port[0].".".$ip_port[1].".".$ip_port[2].".".$ip_port[3]; - $this->_dataport=(((int)$ip_port[4])<<8) + ((int)$ip_port[5]); + $this->_dataport=(((int)$ip_port[4])<<8) + ((int)$ip_port[5]); $this->SendMSG("Connecting to ".$this->_datahost.":".$this->_dataport); if(!@socket_connect($this->_ftp_data_sock, $this->_datahost, $this->_dataport)) { $this->PushError("_data_prepare","socket_connect", socket_strerror(socket_last_error($this->_ftp_data_sock))); diff --git a/wp-admin/includes/class-ftp.php b/wp-admin/includes/class-ftp.php index c9d9656..4f75e40 100644 --- a/wp-admin/includes/class-ftp.php +++ b/wp-admin/includes/class-ftp.php @@ -380,7 +380,7 @@ class ftp_base { function pwd() { if(!$this->_exec("PWD", "pwd")) return FALSE; if(!$this->_checkCode()) return FALSE; - return ereg_replace("^[0-9]{3} \"(.+)\".+", "\\1", $this->_message); + return preg_replace("/^[0-9]{3} \"(.+)\".*$/s", "\\1", $this->_message); } function cdup() { @@ -424,7 +424,7 @@ class ftp_base { } if(!$this->_exec("SIZE ".$pathname, "filesize")) return FALSE; if(!$this->_checkCode()) return FALSE; - return ereg_replace("^[0-9]{3} ([0-9]+)".CRLF, "\\1", $this->_message); + return preg_replace("/^[0-9]{3} ([0-9]+).*$/s", "\\1", $this->_message); } function abort() { @@ -444,7 +444,7 @@ class ftp_base { } if(!$this->_exec("MDTM ".$pathname, "mdtm")) return FALSE; if(!$this->_checkCode()) return FALSE; - $mdtm = ereg_replace("^[0-9]{3} ([0-9]+)".CRLF, "\\1", $this->_message); + $mdtm = preg_replace("/^[0-9]{3} ([0-9]+).*$/s", "\\1", $this->_message); $date = sscanf($mdtm, "%4d%2d%2d%2d%2d%2d"); $timestamp = mktime($date[3], $date[4], $date[5], $date[1], $date[2], $date[0]); return $timestamp; @@ -818,8 +818,8 @@ class ftp_base { function glob_regexp($pattern,$probe) { $sensitive=(PHP_OS!='WIN32'); return ($sensitive? - ereg($pattern,$probe): - eregi($pattern,$probe) + preg_match( '/' . preg_quote( $pattern, '/' ) . '/', $probe ) : + preg_match( '/' . preg_quote( $pattern, '/' ) . '/i', $probe ) ); } diff --git a/wp-admin/includes/class-walker-category-checklist.php b/wp-admin/includes/class-walker-category-checklist.php new file mode 100644 index 0000000..cd38bfc --- /dev/null +++ b/wp-admin/includes/class-walker-category-checklist.php @@ -0,0 +1,125 @@ + 'parent', 'id' => 'term_id'); //TODO: decouple this + + /** + * Starts the list before the elements are added. + * + * @see Walker:start_lvl() + * + * @since 2.5.1 + * + * @param string $output Passed by reference. Used to append additional content. + * @param int $depth Depth of category. Used for tab indentation. + * @param array $args An array of arguments. @see wp_terms_checklist() + */ + public function start_lvl( &$output, $depth = 0, $args = array() ) { + $indent = str_repeat("\t", $depth); + $output .= "$indent
        \n"; + } + + /** + * Ends the list of after the elements are added. + * + * @see Walker::end_lvl() + * + * @since 2.5.1 + * + * @param string $output Passed by reference. Used to append additional content. + * @param int $depth Depth of category. Used for tab indentation. + * @param array $args An array of arguments. @see wp_terms_checklist() + */ + public function end_lvl( &$output, $depth = 0, $args = array() ) { + $indent = str_repeat("\t", $depth); + $output .= "$indent
      \n"; + } + + /** + * Start the element output. + * + * @see Walker::start_el() + * + * @since 2.5.1 + * + * @param string $output Passed by reference. Used to append additional content. + * @param object $category The current term object. + * @param int $depth Depth of the term in reference to parents. Default 0. + * @param array $args An array of arguments. @see wp_terms_checklist() + * @param int $id ID of the current term. + */ + public function start_el( &$output, $category, $depth = 0, $args = array(), $id = 0 ) { + if ( empty( $args['taxonomy'] ) ) { + $taxonomy = 'category'; + } else { + $taxonomy = $args['taxonomy']; + } + + if ( $taxonomy == 'category' ) { + $name = 'post_category'; + } else { + $name = 'tax_input[' . $taxonomy . ']'; + } + + $args['popular_cats'] = empty( $args['popular_cats'] ) ? array() : $args['popular_cats']; + $class = in_array( $category->term_id, $args['popular_cats'] ) ? ' class="popular-category"' : ''; + + $args['selected_cats'] = empty( $args['selected_cats'] ) ? array() : $args['selected_cats']; + + if ( ! empty( $args['list_only'] ) ) { + $aria_cheched = 'false'; + $inner_class = 'category'; + + if ( in_array( $category->term_id, $args['selected_cats'] ) ) { + $inner_class .= ' selected'; + $aria_cheched = 'true'; + } + + /** This filter is documented in wp-includes/category-template.php */ + $output .= "\n" . '' . + ''; + } else { + /** This filter is documented in wp-includes/category-template.php */ + $output .= "\n
    • " . + ''; + } + } + + /** + * Ends the element output, if needed. + * + * @see Walker::end_el() + * + * @since 2.5.1 + * + * @param string $output Passed by reference. Used to append additional content. + * @param object $category The current term object. + * @param int $depth Depth of the term in reference to parents. Default 0. + * @param array $args An array of arguments. @see wp_terms_checklist() + */ + public function end_el( &$output, $category, $depth = 0, $args = array() ) { + $output .= "
    • \n"; + } +} diff --git a/wp-admin/includes/class-walker-nav-menu-checklist.php b/wp-admin/includes/class-walker-nav-menu-checklist.php new file mode 100644 index 0000000..8817601 --- /dev/null +++ b/wp-admin/includes/class-walker-nav-menu-checklist.php @@ -0,0 +1,117 @@ +db_fields = $fields; + } + } + + /** + * Starts the list before the elements are added. + * + * @see Walker_Nav_Menu::start_lvl() + * + * @since 3.0.0 + * + * @param string $output Passed by reference. Used to append additional content. + * @param int $depth Depth of page. Used for padding. + * @param array $args Not used. + */ + public function start_lvl( &$output, $depth = 0, $args = array() ) { + $indent = str_repeat( "\t", $depth ); + $output .= "\n$indent
        \n"; + } + + /** + * Ends the list of after the elements are added. + * + * @see Walker_Nav_Menu::end_lvl() + * + * @since 3.0.0 + * + * @param string $output Passed by reference. Used to append additional content. + * @param int $depth Depth of page. Used for padding. + * @param array $args Not used. + */ + public function end_lvl( &$output, $depth = 0, $args = array() ) { + $indent = str_repeat( "\t", $depth ); + $output .= "\n$indent
      "; + } + + /** + * Start the element output. + * + * @see Walker_Nav_Menu::start_el() + * + * @since 3.0.0 + * + * @global int $_nav_menu_placeholder + * + * @param string $output Passed by reference. Used to append additional content. + * @param object $item Menu item data object. + * @param int $depth Depth of menu item. Used for padding. + * @param array $args Not used. + * @param int $id Not used. + */ + public function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) { + global $_nav_menu_placeholder; + + $_nav_menu_placeholder = ( 0 > $_nav_menu_placeholder ) ? intval($_nav_menu_placeholder) - 1 : -1; + $possible_object_id = isset( $item->post_type ) && 'nav_menu_item' == $item->post_type ? $item->object_id : $_nav_menu_placeholder; + $possible_db_id = ( ! empty( $item->ID ) ) && ( 0 < $possible_object_id ) ? (int) $item->ID : 0; + + $indent = ( $depth ) ? str_repeat( "\t", $depth ) : ''; + + $output .= $indent . '
    • '; + $output .= ''; + + // Menu item hidden fields + $output .= ''; + $output .= ''; + $output .= ''; + $output .= ''; + $output .= ''; + $output .= ''; + $output .= ''; + $output .= ''; + $output .= ''; + $output .= ''; + } + +} // Walker_Nav_Menu_Checklist diff --git a/wp-admin/includes/class-walker-nav-menu-edit.php b/wp-admin/includes/class-walker-nav-menu-edit.php new file mode 100644 index 0000000..105e613 --- /dev/null +++ b/wp-admin/includes/class-walker-nav-menu-edit.php @@ -0,0 +1,241 @@ + $_wp_nav_menu_max_depth ? $depth : $_wp_nav_menu_max_depth; + + ob_start(); + $item_id = esc_attr( $item->ID ); + $removed_args = array( + 'action', + 'customlink-tab', + 'edit-menu-item', + 'menu-item', + 'page-tab', + '_wpnonce', + ); + + $original_title = ''; + if ( 'taxonomy' == $item->type ) { + $original_title = get_term_field( 'name', $item->object_id, $item->object, 'raw' ); + if ( is_wp_error( $original_title ) ) + $original_title = false; + } elseif ( 'post_type' == $item->type ) { + $original_object = get_post( $item->object_id ); + $original_title = get_the_title( $original_object->ID ); + } elseif ( 'post_type_archive' == $item->type ) { + $original_object = get_post_type_object( $item->object ); + $original_title = $original_object->labels->archives; + } + + $classes = array( + 'menu-item menu-item-depth-' . $depth, + 'menu-item-' . esc_attr( $item->object ), + 'menu-item-edit-' . ( ( isset( $_GET['edit-menu-item'] ) && $item_id == $_GET['edit-menu-item'] ) ? 'active' : 'inactive'), + ); + + $title = $item->title; + + if ( ! empty( $item->_invalid ) ) { + $classes[] = 'menu-item-invalid'; + /* translators: %s: title of menu item which is invalid */ + $title = sprintf( __( '%s (Invalid)' ), $item->title ); + } elseif ( isset( $item->post_status ) && 'draft' == $item->post_status ) { + $classes[] = 'pending'; + /* translators: %s: title of menu item in draft status */ + $title = sprintf( __('%s (Pending)'), $item->title ); + } + + $title = ( ! isset( $item->label ) || '' == $item->label ) ? $title : $item->label; + + $submenu_text = ''; + if ( 0 == $depth ) + $submenu_text = 'style="display: none;"'; + + ?> +
  • 0' ); ?>0' ); ?>  
    +comment_post_ID > 0 ): + $comment_link = get_comment_link( $comment ); +?> +
    + +
    +
    @@ -33,7 +44,7 @@ if ( !defined('ABSPATH') )

    @@ -409,7 +455,10 @@ class WP_Comments_List_Table extends WP_List_Table { - items = $this->extra_items; $this->display_rows(); ?> + items = $this->extra_items; + $this->display_rows_or_placeholder(); + ?> @@ -425,29 +474,32 @@ class WP_Comments_List_Table extends WP_List_Table { } /** + * @global WP_Post $post + * @global WP_Comment $comment * - * @global WP_Post $post - * @global object $comment - * - * @param object $a_comment + * @param WP_Comment $item */ - public function single_row( $a_comment ) { + public function single_row( $item ) { global $post, $comment; - $comment = $a_comment; - $the_comment_class = wp_get_comment_status( $comment->comment_ID ); + $comment = $item; + + $the_comment_class = wp_get_comment_status( $comment ); if ( ! $the_comment_class ) { $the_comment_class = ''; } - $the_comment_class = join( ' ', get_comment_class( $the_comment_class, $comment->comment_ID, $comment->comment_post_ID ) ); - - $post = get_post( $comment->comment_post_ID ); + $the_comment_class = join( ' ', get_comment_class( $the_comment_class, $comment, $comment->comment_post_ID ) ); + if ( $comment->comment_post_ID > 0 ) { + $post = get_post( $comment->comment_post_ID ); + } $this->user_can = current_user_can( 'edit_comment', $comment->comment_ID ); echo ""; $this->single_row_columns( $comment ); echo "\n"; + + unset( $post, $comment ); } /** @@ -456,6 +508,8 @@ class WP_Comments_List_Table extends WP_List_Table { * @since 4.3.0 * @access protected * + * @global string $comment_status Status for the current listed comments. + * * @param object $comment Comment being acted upon. * @param string $column_name Current column name. * @param string $primary Primary column name. @@ -472,7 +526,7 @@ class WP_Comments_List_Table extends WP_List_Table { return; } - $the_comment_status = wp_get_comment_status( $comment->comment_ID ); + $the_comment_status = wp_get_comment_status( $comment ); $out = ''; @@ -501,9 +555,9 @@ class WP_Comments_List_Table extends WP_List_Table { // Not looking at all comments. if ( $comment_status && 'all' != $comment_status ) { - if ( 'approved' == $the_comment_status ) { + if ( 'approved' === $the_comment_status ) { $actions['unapprove'] = "" . __( 'Unapprove' ) . ''; - } elseif ( 'unapproved' == $the_comment_status ) { + } elseif ( 'unapproved' === $the_comment_status ) { $actions['approve'] = "" . __( 'Approve' ) . ''; } } else { @@ -511,23 +565,23 @@ class WP_Comments_List_Table extends WP_List_Table { $actions['unapprove'] = "" . __( 'Unapprove' ) . ''; } - if ( 'spam' != $the_comment_status ) { + if ( 'spam' !== $the_comment_status ) { $actions['spam'] = "" . /* translators: mark as spam link */ _x( 'Spam', 'verb' ) . ''; - } elseif ( 'spam' == $the_comment_status ) { + } elseif ( 'spam' === $the_comment_status ) { $actions['unspam'] = "" . _x( 'Not Spam', 'comment' ) . ''; } - if ( 'trash' == $the_comment_status ) { + if ( 'trash' === $the_comment_status ) { $actions['untrash'] = "" . __( 'Restore' ) . ''; } - if ( 'spam' == $the_comment_status || 'trash' == $the_comment_status || !EMPTY_TRASH_DAYS ) { + if ( 'spam' === $the_comment_status || 'trash' === $the_comment_status || !EMPTY_TRASH_DAYS ) { $actions['delete'] = "" . __( 'Delete Permanently' ) . ''; } else { $actions['trash'] = "" . _x( 'Trash', 'verb' ) . ''; } - if ( 'spam' != $the_comment_status && 'trash' != $the_comment_status ) { + if ( 'spam' !== $the_comment_status && 'trash' !== $the_comment_status ) { $actions['edit'] = "". __( 'Edit' ) . ''; $format = '%s'; @@ -544,12 +598,12 @@ class WP_Comments_List_Table extends WP_List_Table { $out .= '
    '; foreach ( $actions as $action => $link ) { ++$i; - ( ( ( 'approve' == $action || 'unapprove' == $action ) && 2 === $i ) || 1 === $i ) ? $sep = '' : $sep = ' | '; + ( ( ( 'approve' === $action || 'unapprove' === $action ) && 2 === $i ) || 1 === $i ) ? $sep = '' : $sep = ' | '; // Reply and quickedit need a hide-if-no-js span when not added with ajax - if ( ( 'reply' == $action || 'quickedit' == $action ) && ! defined('DOING_AJAX') ) + if ( ( 'reply' === $action || 'quickedit' === $action ) && ! defined('DOING_AJAX') ) $action .= ' hide-if-no-js'; - elseif ( ( $action == 'untrash' && $the_comment_status == 'trash' ) || ( $action == 'unspam' && $the_comment_status == 'spam' ) ) { + elseif ( ( $action === 'untrash' && $the_comment_status === 'trash' ) || ( $action === 'unspam' && $the_comment_status === 'spam' ) ) { if ( '1' == get_comment_meta( $comment->comment_ID, '_wp_trash_meta_status', true ) ) $action .= ' approve'; else @@ -581,29 +635,24 @@ class WP_Comments_List_Table extends WP_List_Table { * @param object $comment */ public function column_comment( $comment ) { - $comment_url = esc_url( get_comment_link( $comment->comment_ID ) ); - echo '
    '; $this->column_author( $comment ); echo '
    '; - echo ''; - comment_text(); + comment_text( $comment ); if ( $this->user_can ) { ?> + +

    +
    - -

    + +

    -

    labels->separate_items_with_commas; ?>

    +

    labels->separate_items_with_commas; ?>

    @@ -453,7 +468,7 @@ function post_tags_meta_box( $post, $box ) { * * @type string $id Meta box ID. * @type string $title Meta box title. - * @type callback $callback Meta box display callback. + * @type callable $callback Meta box display callback. * @type array $args { * Extra meta box arguments. * @@ -486,30 +501,65 @@ function post_categories_meta_box( $post, $box ) {
    "; // Allows for an empty term set to be sent. 0 is an invalid Term ID and will be ignored by empty() checks. - ?> + $name = ( $tax_name == 'category' ) ? 'post_category' : 'tax_input[' . $tax_name . ']'; + echo ""; // Allows for an empty term set to be sent. 0 is an invalid Term ID and will be ignored by empty() checks. + ?>
      ID, array( 'taxonomy' => $tax_name, 'popular_cats' => $popular_ids ) ); ?>
    cap->edit_terms ) ) : ?>
    -

    - - labels->add_new_item ); - ?> - -

    + + labels->add_new_item ); + ?> +

    - $tax_name, 'hide_empty' => 0, 'name' => 'new' . $tax_name . '_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => '— ' . $taxonomy->labels->parent_item . ' —' ) ); ?> + $tax_name, + 'hide_empty' => 0, + 'name' => 'new' . $tax_name . '_parent', + 'orderby' => 'name', + 'hierarchical' => 1, + 'show_option_none' => '— ' . $taxonomy->labels->parent_item . ' —', + ); + + /** + * Filter the arguments for the taxonomy parent dropdown on the Post Edit page. + * + * @since 4.4.0 + * + * @param array $parent_dropdown_args { + * Optional. Array of arguments to generate parent dropdown. + * + * @type string $taxonomy Name of the taxonomy to retrieve. + * @type bool $hide_if_empty True to skip generating markup if no + * categories are found. Default 0. + * @type string $name Value for the 'name' attribute + * of the select element. + * Default "new{$tax_name}_parent". + * @type string $orderby Which column to use for ordering + * terms. Default 'name'. + * @type bool|int $hierarchical Whether to traverse the taxonomy + * hierarchy. Default 1. + * @type string $show_option_none Text to display for the "none" option. + * Default "— {$parent} —", + * where `$parent` is 'parent_item' + * taxonomy label. + * } + */ + $parent_dropdown_args = apply_filters( 'post_edit_category_parent_dropdown_args', $parent_dropdown_args ); + + wp_dropdown_categories( $parent_dropdown_args ); + ?> @@ -652,7 +702,7 @@ function post_comment_meta_box( $post ) { } ?> -

    +

    post_name, $post ); ?> - + post_type && 0 != count( get_page_templates( $post ) ) && get_option( 'page_for_posts' ) != $post->ID ) { $template = !empty($post->page_template) ? $post->page_template : false; ?> -

    +

    diff --git a/wp-admin/includes/misc.php b/wp-admin/includes/misc.php index 3b6f050..d3d2d34 100644 --- a/wp-admin/includes/misc.php +++ b/wp-admin/includes/misc.php @@ -56,7 +56,7 @@ function got_url_rewrite() { } /** - * {@internal Missing Short Description}} + * Extracts strings from between the BEGIN and END markers in the .htaccess file. * * @since 1.5.0 * @@ -88,64 +88,99 @@ function extract_from_markers( $filename, $marker ) { } /** - * {@internal Missing Short Description}} - * * Inserts an array of strings into a file (.htaccess ), placing it between - * BEGIN and END markers. Replaces existing marked info. Retains surrounding + * BEGIN and END markers. + * + * Replaces existing marked info. Retains surrounding * data. Creates file if none exists. * * @since 1.5.0 * - * @param string $filename - * @param string $marker - * @param array $insertion + * @param string $filename Filename to alter. + * @param string $marker The marker to alter. + * @param array|string $insertion The new content to insert. * @return bool True on write success, false on failure. */ function insert_with_markers( $filename, $marker, $insertion ) { - if (!file_exists( $filename ) || is_writeable( $filename ) ) { - if (!file_exists( $filename ) ) { - $markerdata = ''; - } else { - $markerdata = explode( "\n", implode( '', file( $filename ) ) ); - } - - if ( !$f = @fopen( $filename, 'w' ) ) + if ( ! file_exists( $filename ) ) { + if ( ! is_writable( dirname( $filename ) ) ) { return false; - - $foundit = false; - if ( $markerdata ) { - $state = true; - foreach ( $markerdata as $n => $markerline ) { - if (strpos($markerline, '# BEGIN ' . $marker) !== false) - $state = false; - if ( $state ) { - if ( $n + 1 < count( $markerdata ) ) - fwrite( $f, "{$markerline}\n" ); - else - fwrite( $f, "{$markerline}" ); - } - if (strpos($markerline, '# END ' . $marker) !== false) { - fwrite( $f, "# BEGIN {$marker}\n" ); - if ( is_array( $insertion )) - foreach ( $insertion as $insertline ) - fwrite( $f, "{$insertline}\n" ); - fwrite( $f, "# END {$marker}\n" ); - $state = true; - $foundit = true; - } - } } - if (!$foundit) { - fwrite( $f, "\n# BEGIN {$marker}\n" ); - foreach ( $insertion as $insertline ) - fwrite( $f, "{$insertline}\n" ); - fwrite( $f, "# END {$marker}\n" ); + if ( ! touch( $filename ) ) { + return false; } - fclose( $f ); - return true; - } else { + } elseif ( ! is_writeable( $filename ) ) { return false; } + + if ( ! is_array( $insertion ) ) { + $insertion = explode( "\n", $insertion ); + } + + $start_marker = "# BEGIN {$marker}"; + $end_marker = "# END {$marker}"; + + $fp = fopen( $filename, 'r+' ); + if ( ! $fp ) { + return false; + } + + // Attempt to get a lock. If the filesystem supports locking, this will block until the lock is acquired. + flock( $fp, LOCK_EX ); + + $lines = array(); + while ( ! feof( $fp ) ) { + $lines[] = rtrim( fgets( $fp ), "\r\n" ); + } + + // Split out the existing file into the preceeding lines, and those that appear after the marker + $pre_lines = $post_lines = $existing_lines = array(); + $found_marker = $found_end_marker = false; + foreach ( $lines as $line ) { + if ( ! $found_marker && false !== strpos( $line, $start_marker ) ) { + $found_marker = true; + continue; + } elseif ( ! $found_end_marker && false !== strpos( $line, $end_marker ) ) { + $found_end_marker = true; + continue; + } + if ( ! $found_marker ) { + $pre_lines[] = $line; + } elseif ( $found_marker && $found_end_marker ) { + $post_lines[] = $line; + } else { + $existing_lines[] = $line; + } + } + + // Check to see if there was a change + if ( $existing_lines === $insertion ) { + flock( $fp, LOCK_UN ); + fclose( $fp ); + + return true; + } + + // Generate the new file data + $new_file_data = implode( "\n", array_merge( + $pre_lines, + array( $start_marker ), + $insertion, + array( $end_marker ), + $post_lines + ) ); + + // Write to the start of the file, and truncate it to that length + fseek( $fp, 0 ); + $bytes = fwrite( $fp, $new_file_data ); + if ( $bytes ) { + ftruncate( $fp, ftell( $fp ) ); + } + fflush( $fp ); + flock( $fp, LOCK_UN ); + fclose( $fp ); + + return (bool) $bytes; } /** @@ -213,7 +248,7 @@ function iis7_save_url_rewrite_rules(){ } /** - * {@internal Missing Short Description}} + * Update the "recently-edited" file for the plugin or theme editor. * * @since 1.5.0 * @@ -235,7 +270,7 @@ function update_recently_edited( $file ) { } /** - * If siteurl, home or page_on_front changed, flush rewrite rules. + * Flushes rewrite rules if siteurl, home or page_on_front changed. * * @since 2.1.0 * @@ -243,28 +278,16 @@ function update_recently_edited( $file ) { * @param string $value */ function update_home_siteurl( $old_value, $value ) { - if ( defined( "WP_INSTALLING" ) ) + if ( wp_installing() ) return; - // If home changed, write rewrite rules to new location. - flush_rewrite_rules(); + if ( is_multisite() && ms_is_switched() ) { + delete_option( 'rewrite_rules' ); + } else { + flush_rewrite_rules(); + } } -/** - * Shorten an URL, to be used as link text - * - * @since 1.2.0 - * - * @param string $url - * @return string - */ -function url_shorten( $url ) { - $short_url = str_replace( array( 'http://', 'www.' ), '', $url ); - $short_url = untrailingslashit( $short_url ); - if ( strlen( $short_url ) > 35 ) - $short_url = substr( $short_url, 0, 32 ) . '…'; - return $short_url; -} /** * Resets global variables based on $_GET and $_POST @@ -292,7 +315,7 @@ function wp_reset_vars( $vars ) { } /** - * {@internal Missing Short Description}} + * Displays the given administration message. * * @since 2.1.0 * @@ -438,7 +461,13 @@ function set_screen_options() { } update_user_meta($user->ID, $option, $value); - wp_safe_redirect( remove_query_arg( array('pagenum', 'apage', 'paged'), wp_get_referer() ) ); + + $url = remove_query_arg( array( 'pagenum', 'apage', 'paged' ), wp_get_referer() ); + if ( isset( $_POST['mode'] ) ) { + $url = add_query_arg( array( 'mode' => $_POST['mode'] ), $url ); + } + + wp_safe_redirect( $url ); exit; } } @@ -454,8 +483,9 @@ function set_screen_options() { function iis7_rewrite_rule_exists($filename) { if ( ! file_exists($filename) ) return false; - if ( ! class_exists('DOMDocument') ) + if ( ! class_exists( 'DOMDocument', false ) ) { return false; + } $doc = new DOMDocument(); if ( $doc->load($filename) === false ) @@ -481,8 +511,9 @@ function iis7_delete_rewrite_rule($filename) { if ( ! file_exists($filename) ) return true; - if ( ! class_exists('DOMDocument') ) + if ( ! class_exists( 'DOMDocument', false ) ) { return false; + } $doc = new DOMDocument(); $doc->preserveWhiteSpace = false; @@ -511,8 +542,9 @@ function iis7_delete_rewrite_rule($filename) { * @return bool */ function iis7_add_rewrite_rule($filename, $rewrite_rule) { - if ( ! class_exists('DOMDocument') ) + if ( ! class_exists( 'DOMDocument', false ) ) { return false; + } // If configuration file does not exist then we create one. if ( ! file_exists($filename) ) { @@ -843,7 +875,7 @@ function heartbeat_autosave( $response, $data ) { * as they disregard the autocomplete setting on the editor textarea. That can break the editor * when the user navigates to it with the browser's Back button. See #28037 * - * @since 4.0 + * @since 4.0.0 * * @global bool $is_safari * @global bool $is_chrome @@ -865,23 +897,7 @@ function post_form_autocomplete_off() { * @since 4.2.0 */ function wp_admin_canonical_url() { - $removable_query_args = array( - 'message', 'settings-updated', 'saved', - 'update', 'updated', 'activated', - 'activate', 'deactivate', 'locked', - 'deleted', 'trashed', 'untrashed', - 'enabled', 'disabled', 'skipped', - 'spammed', 'unspammed', - ); - - /** - * Filter the list of URL parameters to remove. - * - * @since 4.2.0 - * - * @param array $removable_query_args An array of parameters to remove from the URL. - */ - $removable_query_args = apply_filters( 'removable_query_args', $removable_query_args ); + $removable_query_args = wp_removable_query_args(); if ( empty( $removable_query_args ) ) { return; diff --git a/wp-admin/includes/ms-admin-filters.php b/wp-admin/includes/ms-admin-filters.php index b49490e..d3f3b7f 100644 --- a/wp-admin/includes/ms-admin-filters.php +++ b/wp-admin/includes/ms-admin-filters.php @@ -3,7 +3,7 @@ * Multisite Administration hooks * * @package WordPress - * + * @subpackage Administration * @since 4.3.0 */ diff --git a/wp-admin/includes/ms-deprecated.php b/wp-admin/includes/ms-deprecated.php index 5038ad3..84dcefc 100644 --- a/wp-admin/includes/ms-deprecated.php +++ b/wp-admin/includes/ms-deprecated.php @@ -1,8 +1,9 @@ ( 1024 * get_site_option( 'fileupload_maxk', 1500 ) ) ) - $file['error'] = sprintf(__('This file is too big. Files must be less than %1$s KB in size.'), get_site_option( 'fileupload_maxk', 1500 ) ); + if ( $space_left < $file_size ) { + $file['error'] = sprintf( __( 'Not enough space to upload. %1$s KB needed.' ), number_format( ( $file_size - $space_left ) / KB_IN_BYTES ) ); + } + + if ( $file_size > ( KB_IN_BYTES * get_site_option( 'fileupload_maxk', 1500 ) ) ) { + $file['error'] = sprintf( __( 'This file is too big. Files must be less than %1$s KB in size.' ), get_site_option( 'fileupload_maxk', 1500 ) ); + } + if ( upload_is_user_over_quota( false ) ) { $file['error'] = __( 'You have used your space quota. Please delete files before uploading.' ); } + if ( $file['error'] != '0' && ! isset( $_POST['html-upload'] ) && ( ! defined( 'DOING_AJAX' ) || ! DOING_AJAX ) ) { wp_die( $file['error'] . ' ' . __( 'Back' ) . '' ); } @@ -47,7 +52,7 @@ function check_upload_size( $file ) { * * @since 3.0.0 * - * @global wpdb $wpdb + * @global wpdb $wpdb WordPress database abstraction object. * * @param int $blog_id Blog ID. * @param bool $drop True if blog's table should be dropped. Default is false. @@ -158,7 +163,7 @@ function wpmu_delete_blog( $blog_id, $drop = false ) { } $stack = array_reverse( $stack ); // Last added dirs are deepest - foreach( (array) $stack as $dir ) { + foreach ( (array) $stack as $dir ) { if ( $dir != $top_dir) @rmdir( $dir ); } @@ -177,7 +182,7 @@ function wpmu_delete_blog( $blog_id, $drop = false ) { * * @todo Merge with wp_delete_user() ? * - * @global wpdb $wpdb + * @global wpdb $wpdb WordPress database abstraction object. * * @param int $id The user ID. * @return bool True if the user was deleted, otherwise false. @@ -185,6 +190,10 @@ function wpmu_delete_blog( $blog_id, $drop = false ) { function wpmu_delete_user( $id ) { global $wpdb; + if ( ! is_numeric( $id ) ) { + return false; + } + $id = (int) $id; $user = new WP_User( $id ); @@ -313,8 +322,8 @@ All at ###SITENAME### * * @since 3.0.0 * - * @global object $errors WP_Error object. - * @global object $wpdb WordPress database object. + * @global WP_Error $errors WP_Error object. + * @global wpdb $wpdb WordPress database object. */ function send_confirmation_on_profile_email() { global $errors, $wpdb; @@ -413,9 +422,9 @@ function upload_is_user_over_quota( $echo = true ) { return false; $space_allowed = get_space_allowed(); - if ( empty( $space_allowed ) || !is_numeric( $space_allowed ) ) + if ( ! is_numeric( $space_allowed ) ) { $space_allowed = 10; // Default space allowed is 10 MB - + } $space_used = get_space_used(); if ( ( $space_allowed - $space_used ) < 0 ) { @@ -439,7 +448,7 @@ function display_space_usage() { $percent_used = ( $space_used / $space_allowed ) * 100; if ( $space_allowed > 1000 ) { - $space = number_format( $space_allowed / 1024 ); + $space = number_format( $space_allowed / KB_IN_BYTES ); /* translators: Gigabytes */ $space .= __( 'GB' ); } else { @@ -501,7 +510,7 @@ function upload_space_setting( $id ) { * * @since 3.0.0 * - * @global wpdb $wpdb + * @global wpdb $wpdb WordPress database abstraction object. * * @param int $id The user ID. * @param string $pref The column in the wp_users table to update the user's status @@ -802,7 +811,7 @@ function choose_primary_blog() { $found = false; ?>
    - - -
    - - -
    +

    + + +

    + +

    + + + + + ID ) . '">' . $current_user->user_login . ''; ?> + + ID ) ) { + wp_die( sprintf( __( 'Warning! User %s cannot be deleted.' ), $delete_user->user_login ) ); + } + + if ( in_array( $delete_user->user_login, $site_admins ) ) { + wp_die( sprintf( __( 'Warning! User cannot be deleted. The user %s is a network administrator.' ), '' . $delete_user->user_login . '' ) ); + } + ?> + + + + "; + } else { + ?> + + +
    user_login; ?> + ' . "\n"; ?> +

    ' . $delete_user->user_login . '' + ); ?>

    + $details ) { + $blog_users = get_users( array( 'blog_id' => $details->userblog_id, 'fields' => array( 'ID', 'user_login' ) ) ); + if ( is_array( $blog_users ) && !empty( $blog_users ) ) { + $user_site = "{$details->blogname}"; + $user_dropdown = ''; + $user_dropdown .= "\n"; + ?> +
      +
    • +
    • +
    • +
    • +
    +

    + +
    + +

    + +

    + + + + + $_wp_nav_menu_max_depth ? $depth : $_wp_nav_menu_max_depth; - - ob_start(); - $item_id = esc_attr( $item->ID ); - $removed_args = array( - 'action', - 'customlink-tab', - 'edit-menu-item', - 'menu-item', - 'page-tab', - '_wpnonce', - ); - - $original_title = ''; - if ( 'taxonomy' == $item->type ) { - $original_title = get_term_field( 'name', $item->object_id, $item->object, 'raw' ); - if ( is_wp_error( $original_title ) ) - $original_title = false; - } elseif ( 'post_type' == $item->type ) { - $original_object = get_post( $item->object_id ); - $original_title = get_the_title( $original_object->ID ); - } - - $classes = array( - 'menu-item menu-item-depth-' . $depth, - 'menu-item-' . esc_attr( $item->object ), - 'menu-item-edit-' . ( ( isset( $_GET['edit-menu-item'] ) && $item_id == $_GET['edit-menu-item'] ) ? 'active' : 'inactive'), - ); - - $title = $item->title; - - if ( ! empty( $item->_invalid ) ) { - $classes[] = 'menu-item-invalid'; - /* translators: %s: title of menu item which is invalid */ - $title = sprintf( __( '%s (Invalid)' ), $item->title ); - } elseif ( isset( $item->post_status ) && 'draft' == $item->post_status ) { - $classes[] = 'pending'; - /* translators: %s: title of menu item in draft status */ - $title = sprintf( __('%s (Pending)'), $item->title ); - } - - $title = ( ! isset( $item->label ) || '' == $item->label ) ? $title : $item->label; - - $submenu_text = ''; - if ( 0 == $depth ) - $submenu_text = 'style="display: none;"'; - - ?> -
  • '; - $output .= ''; - - // Menu item hidden fields - $output .= ''; - $output .= ''; - $output .= ''; - $output .= ''; - $output .= ''; - $output .= ''; - $output .= ''; - $output .= ''; - $output .= ''; - $output .= ''; - } - -} // Walker_Nav_Menu_Checklist +/** Walker_Nav_Menu_Checklist class */ +require_once( ABSPATH . 'wp-admin/includes/class-walker-nav-menu-checklist.php' ); /** * Prints the appropriate response to a menu quick search. @@ -426,7 +100,7 @@ function _wp_ajax_menu_quick_search( $request = array() ) { )); if ( empty( $terms ) || is_wp_error( $terms ) ) return; - foreach( (array) $terms as $term ) { + foreach ( (array) $terms as $term ) { if ( 'markup' == $response_format ) { echo walk_nav_menu_tree( array_map('wp_setup_nav_menu_item', array( $term ) ), 0, (object) $args ); } elseif ( 'json' == $response_format ) { @@ -480,7 +154,7 @@ function wp_initial_nav_menu_meta_boxes() { if ( get_user_option( 'metaboxhidden_nav-menus' ) !== false || ! is_array($wp_meta_boxes) ) return; - $initial_meta_boxes = array( 'add-page', 'add-post', 'add-custom-links', 'add-category' ); + $initial_meta_boxes = array( 'add-post-type-page', 'add-post-type-post', 'add-custom-links', 'add-category' ); $hidden_meta_boxes = array(); foreach ( array_keys($wp_meta_boxes['nav-menus']) as $context ) { @@ -528,7 +202,7 @@ function wp_nav_menu_post_type_meta_boxes() { $id = $post_type->name; // Give pages a higher priority. $priority = ( 'page' == $post_type->name ? 'core' : 'default' ); - add_meta_box( "add-{$id}", $post_type->labels->name, 'wp_nav_menu_item_post_type_meta_box', 'nav-menus', 'side', $priority, $post_type ); + add_meta_box( "add-post-type-{$id}", $post_type->labels->name, 'wp_nav_menu_item_post_type_meta_box', 'nav-menus', 'side', $priority, $post_type ); } } } @@ -819,6 +493,23 @@ function wp_nav_menu_item_post_type_meta_box( $object, $post_type ) { } } + $post_type = get_post_type_object( $post_type_name ); + $archive_link = get_post_type_archive_link( $post_type_name ); + if ( $post_type->has_archive ) { + $_nav_menu_placeholder = ( 0 > $_nav_menu_placeholder ) ? intval($_nav_menu_placeholder) - 1 : -1; + array_unshift( $posts, (object) array( + 'ID' => 0, + 'object_id' => $_nav_menu_placeholder, + 'object' => $post_type_name, + 'post_content' => '', + 'post_excerpt' => '', + 'post_title' => $post_type->labels->archives, + 'post_type' => 'nav_menu_item', + 'type' => 'post_type_archive', + 'url' => get_post_type_archive_link( $post_type_name ), + ) ); + } + /** * Filter the posts displayed in the 'View All' tab of the current * post type's menu items meta box. @@ -1081,7 +772,7 @@ function wp_save_nav_menu_items( $menu_id = 0, $menu_data = array() ) { if ( 0 == $menu_id || is_nav_menu( $menu_id ) ) { // Loop through all the menu items' POST values. - foreach( (array) $menu_data as $_possible_db_id => $_item_object_data ) { + foreach ( (array) $menu_data as $_possible_db_id => $_item_object_data ) { if ( // Checkbox is not checked. empty( $_item_object_data['menu-item-object-id'] ) && @@ -1208,13 +899,19 @@ function wp_get_nav_menu_to_edit( $menu_id = 0 ) { */ $walker_class_name = apply_filters( 'wp_edit_nav_menu_walker', 'Walker_Nav_Menu_Edit', $menu_id ); - if ( class_exists( $walker_class_name ) ) + if ( class_exists( $walker_class_name ) ) { $walker = new $walker_class_name; - else - return new WP_Error( 'menu_walker_not_exist', sprintf( __('The Walker class named %s does not exist.'), $walker_class_name ) ); + } else { + return new WP_Error( 'menu_walker_not_exist', + /* translators: %s: walker class name */ + sprintf( __( 'The Walker class named %s does not exist.' ), + '' . $walker_class_name . '' + ) + ); + } $some_pending_menu_items = $some_invalid_menu_items = false; - foreach( (array) $menu_items as $menu_item ) { + foreach ( (array) $menu_items as $menu_item ) { if ( isset( $menu_item->post_status ) && 'draft' == $menu_item->post_status ) $some_pending_menu_items = true; if ( ! empty( $menu_item->_invalid ) ) @@ -1262,7 +959,7 @@ function wp_nav_menu_manage_columns() { * @access private * @since 3.0.0 * - * @global wpdb $wpdb + * @global wpdb $wpdb WordPress database abstraction object. */ function _wp_delete_orphaned_draft_menu_items() { global $wpdb; @@ -1271,7 +968,7 @@ function _wp_delete_orphaned_draft_menu_items() { // Delete orphaned draft menu items. $menu_items_to_delete = $wpdb->get_col($wpdb->prepare("SELECT ID FROM $wpdb->posts AS p LEFT JOIN $wpdb->postmeta AS m ON p.ID = m.post_id WHERE post_type = 'nav_menu_item' AND post_status = 'draft' AND meta_key = '_menu_item_orphaned' AND meta_value < '%d'", $delete_timestamp ) ); - foreach( (array) $menu_items_to_delete as $menu_item_id ) + foreach ( (array) $menu_items_to_delete as $menu_item_id ) wp_delete_post( $menu_item_id, true ); } @@ -1302,7 +999,7 @@ function wp_nav_menu_update_menu_items ( $nav_menu_selected_id, $nav_menu_select wp_defer_term_counting( true ); // Loop through all the menu items' POST variables if ( ! empty( $_POST['menu-item-db-id'] ) ) { - foreach( (array) $_POST['menu-item-db-id'] as $_key => $k ) { + foreach ( (array) $_POST['menu-item-db-id'] as $_key => $k ) { // Menu item title can't be blank if ( ! isset( $_POST['menu-item-title'][ $_key ] ) || '' == $_POST['menu-item-title'][ $_key ] ) @@ -1352,7 +1049,12 @@ function wp_nav_menu_update_menu_items ( $nav_menu_selected_id, $nav_menu_select /** This action is documented in wp-includes/nav-menu.php */ do_action( 'wp_update_nav_menu', $nav_menu_selected_id ); - $messages[] = '

    ' . sprintf( __( '%1$s has been updated.' ), $nav_menu_selected_title ) . '

    '; + $messages[] = '

    ' . + /* translators: %s: nav menu title */ + sprintf( __( '%s has been updated.' ), + '' . $nav_menu_selected_title . '' + ) . '

    '; + unset( $menu_items, $unsorted_menu_items ); return $messages; diff --git a/wp-admin/includes/network.php b/wp-admin/includes/network.php new file mode 100644 index 0000000..7f30c99 --- /dev/null +++ b/wp-admin/includes/network.php @@ -0,0 +1,578 @@ +prepare( "SHOW TABLES LIKE %s", $wpdb->esc_like( $wpdb->site ) ); + if ( $wpdb->get_var( $sql ) ) { + return $wpdb->get_var( "SELECT domain FROM $wpdb->site ORDER BY id ASC LIMIT 1" ); + } + return false; +} + +/** + * Allow subdomain install + * + * @since 3.0.0 + * @return bool Whether subdomain install is allowed + */ +function allow_subdomain_install() { + $domain = preg_replace( '|https?://([^/]+)|', '$1', get_option( 'home' ) ); + if ( parse_url( get_option( 'home' ), PHP_URL_PATH ) || 'localhost' == $domain || preg_match( '|^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$|', $domain ) ) + return false; + + return true; +} + +/** + * Allow subdirectory install. + * + * @since 3.0.0 + * + * @global wpdb $wpdb WordPress database abstraction object. + * + * @return bool Whether subdirectory install is allowed + */ +function allow_subdirectory_install() { + global $wpdb; + /** + * Filter whether to enable the subdirectory install feature in Multisite. + * + * @since 3.0.0 + * + * @param bool true Whether to enable the subdirectory install feature in Multisite. Default is false. + */ + if ( apply_filters( 'allow_subdirectory_install', false ) ) + return true; + + if ( defined( 'ALLOW_SUBDIRECTORY_INSTALL' ) && ALLOW_SUBDIRECTORY_INSTALL ) + return true; + + $post = $wpdb->get_row( "SELECT ID FROM $wpdb->posts WHERE post_date < DATE_SUB(NOW(), INTERVAL 1 MONTH) AND post_status = 'publish'" ); + if ( empty( $post ) ) + return true; + + return false; +} + +/** + * Get base domain of network. + * + * @since 3.0.0 + * @return string Base domain. + */ +function get_clean_basedomain() { + if ( $existing_domain = network_domain_check() ) + return $existing_domain; + $domain = preg_replace( '|https?://|', '', get_option( 'siteurl' ) ); + if ( $slash = strpos( $domain, '/' ) ) + $domain = substr( $domain, 0, $slash ); + return $domain; +} + +/** + * Prints step 1 for Network installation process. + * + * @todo Realistically, step 1 should be a welcome screen explaining what a Network is and such. Navigating to Tools > Network + * should not be a sudden "Welcome to a new install process! Fill this out and click here." See also contextual help todo. + * + * @since 3.0.0 + * + * @global bool $is_apache + * + * @param WP_Error $errors + */ +function network_step1( $errors = false ) { + global $is_apache; + + if ( defined('DO_NOT_UPGRADE_GLOBAL_TABLES') ) { + echo '

    ' . __('ERROR:') . ' ' . __( 'The constant DO_NOT_UPGRADE_GLOBAL_TABLES cannot be defined when creating a network.' ) . '

    '; + echo '
  • '; + include( ABSPATH . 'wp-admin/admin-footer.php' ); + die(); + } + + $active_plugins = get_option( 'active_plugins' ); + if ( ! empty( $active_plugins ) ) { + echo '

    ' . __('Warning:') . ' ' . sprintf( __( 'Please deactivate your plugins before enabling the Network feature.' ), admin_url( 'plugins.php?plugin_status=active' ) ) . '

    ' . __( 'Once the network is created, you may reactivate your plugins.' ) . '

    '; + echo '
    '; + include( ABSPATH . 'wp-admin/admin-footer.php' ); + die(); + } + + $hostname = get_clean_basedomain(); + $has_ports = strstr( $hostname, ':' ); + if ( ( false !== $has_ports && ! in_array( $has_ports, array( ':80', ':443' ) ) ) ) { + echo '

    ' . __( 'ERROR:') . ' ' . __( 'You cannot install a network of sites with your server address.' ) . '

    '; + echo '

    ' . sprintf( + /* translators: %s: port number */ + __( 'You cannot use port numbers such as %s.' ), + '' . $has_ports . '' + ) . '

    '; + echo '' . __( 'Return to Dashboard' ) . ''; + echo '
    '; + include( ABSPATH . 'wp-admin/admin-footer.php' ); + die(); + } + + echo '
    '; + + wp_nonce_field( 'install-network-1' ); + + $error_codes = array(); + if ( is_wp_error( $errors ) ) { + echo '

    ' . __( 'ERROR: The network could not be created.' ) . '

    '; + foreach ( $errors->get_error_messages() as $error ) + echo "

    $error

    "; + echo '
    '; + $error_codes = $errors->get_error_codes(); + } + + $site_name = ( ! empty( $_POST['sitename'] ) && ! in_array( 'empty_sitename', $error_codes ) ) ? $_POST['sitename'] : sprintf( _x('%s Sites', 'Default network name' ), get_option( 'blogname' ) ); + $admin_email = ( ! empty( $_POST['email'] ) && ! in_array( 'invalid_email', $error_codes ) ) ? $_POST['email'] : get_option( 'admin_email' ); + ?> +

    +

    +

    ' . __( 'Note:' ) . ' '; + /* translators: %s: mod_rewrite */ + printf( __( 'Please make sure the Apache %s module is installed as it will be used at the end of this installation.' ), + 'mod_rewrite' + ); + echo '

    '; + } elseif ( $is_apache ) { + echo '

    ' . __( 'Warning!' ) . ' '; + /* translators: %s: mod_rewrite */ + printf( __( 'It looks like the Apache %s module is not installed.' ), + 'mod_rewrite' + ); + echo '

    '; + } + + if ( $got_mod_rewrite || $is_apache ) { // Protect against mod_rewrite mimicry (but ! Apache) + echo '

    '; + /* translators: 1: mod_rewrite, 2: mod_rewrite documentation URL, 3: Google search for mod_rewrite */ + printf( __( 'If %1$s is disabled, ask your administrator to enable that module, or look at the Apache documentation or elsewhere for help setting it up.' ), + 'mod_rewrite', + 'http://httpd.apache.org/docs/mod/mod_rewrite.html', + 'http://www.google.com/search?q=apache+mod_rewrite' + ); + echo '

    '; + } + } + + if ( allow_subdomain_install() && allow_subdirectory_install() ) : ?> +

    +

    +

    +

    + + + + + + + + + + +
    site1.%1$s and site2.%1$s', 'subdomain examples' ), + $hostname + ); ?>
    %1$s/site1 and %1$s/site2', 'subdirectory examples' ), + $hostname + ); ?>
    + +

    ' . __('Warning!') . ' ' . __( 'Subdirectory networks may not be fully compatible with custom wp-content directories.' ) . '

    '; + + $is_www = ( 0 === strpos( $hostname, 'www.' ) ); + if ( $is_www ) : + ?> +

    +

    ' . substr( $hostname, 4 ) . '', + '' . $hostname . '', + 'www' + ); ?>

    + + + + + +
    + ' . $hostname . '' + ); ?> +
    + + +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    localhost', + 'localhost.localdomain' + ); + // Uh oh: + if ( !allow_subdirectory_install() ) + echo ' ' . __( 'Warning!' ) . ' ' . __( 'The main site in a sub-directory install will need to use a modified permalink structure, potentially breaking existing links.' ) . ''; + ?>
    ' . __( 'Warning!' ) . ' ' . __( 'The main site in a sub-directory install will need to use a modified permalink structure, potentially breaking existing links.' ) . ''; + ?>
    ' . __( 'The main site in a sub-directory install will need to use a modified permalink structure, potentially breaking existing links.' ) . ''; + ?>
    + ' . $hostname . '' + ); ?> +
    + +

    + +

    +
    + +

    + +

    +
    + + + ' . $errors->get_error_message() . '
    '; + + if ( $_POST ) { + if ( allow_subdomain_install() ) + $subdomain_install = allow_subdirectory_install() ? ! empty( $_POST['subdomain_install'] ) : true; + else + $subdomain_install = false; + } else { + if ( is_multisite() ) { + $subdomain_install = is_subdomain_install(); +?> +

    +get_var( "SELECT meta_value FROM $wpdb->sitemeta WHERE site_id = 1 AND meta_key = 'subdomain_install'" ); +?> +

    +

    + +

    +

    +

    Caution: We recommend you back up your existing %1$s and %2$s files.' ), + 'wp-config.php', + '.htaccess' + ); + } elseif ( file_exists( $home_path . 'web.config' ) ) { + printf( + /* translators: 1: wp-config.php 2: web.config */ + __( 'Caution: We recommend you back up your existing %1$s and %2$s files.' ), + 'wp-config.php', + 'web.config' + ); + } else { + printf( + /* translators: 1: wp-config.php */ + __( 'Caution: We recommend you back up your existing %s file.' ), + 'wp-config.php' + ); + } + ?>

    + +
      +
    1. above the line reading /* That’s all, stop editing! Happy blogging. */:' ), + 'wp-config.php', + '' . $location_of_wp_config . '' + ); ?>

      + + '', 'SECURE_AUTH_KEY' => '', 'LOGGED_IN_KEY' => '', 'NONCE_KEY' => '', 'AUTH_SALT' => '', 'SECURE_AUTH_SALT' => '', 'LOGGED_IN_SALT' => '', 'NONCE_SALT' => '' ); + foreach ( $keys_salts as $c => $v ) { + if ( defined( $c ) ) + unset( $keys_salts[ $c ] ); + } + + if ( ! empty( $keys_salts ) ) { + $keys_salts_str = ''; + $from_api = wp_remote_get( 'https://api.wordpress.org/secret-key/1.1/salt/' ); + if ( is_wp_error( $from_api ) ) { + foreach ( $keys_salts as $c => $v ) { + $keys_salts_str .= "\ndefine( '$c', '" . wp_generate_password( 64, true, true ) . "' );"; + } + } else { + $from_api = explode( "\n", wp_remote_retrieve_body( $from_api ) ); + foreach ( $keys_salts as $c => $v ) { + $keys_salts_str .= "\ndefine( '$c', '" . substr( array_shift( $from_api ), 28, 64 ) . "' );"; + } + } + $num_keys_salts = count( $keys_salts ); +?> +

      + wp-config.php' + ); + } else { + printf( + /* translators: 1: wp-config.php */ + __( 'These unique authentication keys are also missing from your %s file.' ), + 'wp-config.php' + ); + } + ?> + +

      + + +
    2. + + + + + + + + + '; + if ( is_multisite() && get_site_option( 'ms_files_rewriting' ) ) { + $web_config_file .= ' + + + + '; + } + $web_config_file .= ' + + + + + + + + + + + + + + + + + + + + + + + + + + + + +'; + + echo '
    3. '; + printf( + /* translators: 1: a filename like .htaccess. 2: a file path. */ + __( 'Add the following to your %1$s file in %2$s, replacing other WordPress rules:' ), + 'web.config', + '' . $home_path . '' + ); + echo '

      '; + if ( ! $subdomain_install && WP_CONTENT_DIR != ABSPATH . 'wp-content' ) + echo '

      ' . __('Warning:') . ' ' . __( 'Subdirectory networks may not be fully compatible with custom wp-content directories.' ) . '

      '; + ?> +
    4. +
    + +

    '; + printf( + /* translators: 1: a filename like .htaccess. 2: a file path. */ + __( 'Add the following to your %1$s file in %2$s, replacing other WordPress rules:' ), + '.htaccess', + '' . $home_path . '' + ); + echo '

    '; + if ( ! $subdomain_install && WP_CONTENT_DIR != ABSPATH . 'wp-content' ) + echo '

    ' . __('Warning:') . ' ' . __( 'Subdirectory networks may not be fully compatible with custom wp-content directories.' ) . '

    '; + ?> + + + + +

    + + + + + + + + +'; + echo '

    ' . __( 'The character encoding of your site (UTF-8 is recommended)' ) . '

    '; +} \ No newline at end of file diff --git a/wp-admin/includes/plugin-install.php b/wp-admin/includes/plugin-install.php index ab776e8..bb450e1 100644 --- a/wp-admin/includes/plugin-install.php +++ b/wp-admin/includes/plugin-install.php @@ -7,26 +7,98 @@ */ /** - * Retrieve plugin installer pages from WordPress Plugins API. + * Retrieves plugin installer pages from the WordPress.org Plugins API. * * It is possible for a plugin to override the Plugin API result with three * filters. Assume this is for plugins, which can extend on the Plugin Info to - * offer more choices. This is very powerful and must be used with care, when + * offer more choices. This is very powerful and must be used with care when * overriding the filters. * - * The first filter, 'plugins_api_args', is for the args and gives the action as - * the second parameter. The hook for 'plugins_api_args' must ensure that an - * object is returned. + * The first filter, {@see 'plugins_api_args'}, is for the args and gives the action + * as the second parameter. The hook for {@see 'plugins_api_args'} must ensure that + * an object is returned. * - * The second filter, 'plugins_api', is the result that would be returned. + * The second filter, {@see 'plugins_api'}, allows a plugin to override the WordPress.org + * Plugin Install API entirely. If `$action` is 'query_plugins' or 'plugin_information', + * an object MUST be passed. If `$action` is 'hot_tags` or 'hot_categories', an array MUST + * be passed. + * + * Finally, the third filter, {@see 'plugins_api_result'}, makes it possible to filter the + * response object or array, depending on the `$action` type. + * + * Supported arguments per action: + * + * | Argument Name | query_plugins | plugin_information | hot_tags | hot_categories | + * | -------------------- | :-----------: | :----------------: | :------: | :------------: | + * | `$slug` | No | Yes | No | No | + * | `$per_page` | Yes | No | No | No | + * | `$page` | Yes | No | No | No | + * | `$number` | No | No | Yes | Yes | + * | `$search` | Yes | No | No | No | + * | `$tag` | Yes | No | No | No | + * | `$author` | Yes | No | No | No | + * | `$user` | Yes | No | No | No | + * | `$browse` | Yes | No | No | No | + * | `$locale` | Yes | Yes | No | No | + * | `$installed_plugins` | Yes | No | No | No | + * | `$is_ssl` | Yes | Yes | No | No | + * | `$fields` | Yes | Yes | No | No | * * @since 2.7.0 * - * @param string $action - * @param array|object $args Optional. Arguments to serialize for the Plugin Info API. - * @return object plugins_api response object on success, WP_Error on failure. + * @param string $action API action to perform: 'query_plugins', 'plugin_information', + * 'hot_tags' or 'hot_categories'. + * @param array|object $args { + * Optional. Array or object of arguments to serialize for the Plugin Info API. + * + * @type string $slug The plugin slug. Default empty. + * @type int $per_page Number of plugins per page. Default 24. + * @type int $page Number of current page. Default 1. + * @type int $number Number of tags or categories to be queried. + * @type string $search A search term. Default empty. + * @type string $tag Tag to filter plugins. Default empty. + * @type string $author Username of an plugin author to filter plugins. Default empty. + * @type string $user Username to query for their favorites. Default empty. + * @type string $browse Browse view: 'popular', 'new', 'beta', 'recommended'. + * @type string $locale Locale to provide context-sensitive results. Default is the value + * of get_locale(). + * @type string $installed_plugins Installed plugins to provide context-sensitive results. + * @type bool $is_ssl Whether links should be returned with https or not. Default false. + * @type array $fields { + * Array of fields which should or should not be returned. + * + * @type bool $short_description Whether to return the plugin short description. Default true. + * @type bool $description Whether to return the plugin full description. Default false. + * @type bool $sections Whether to return the plugin readme sections: description, installation, + * FAQ, screenshots, other notes, and changelog. Default false. + * @type bool $tested Whether to return the 'Compatible up to' value. Default true. + * @type bool $requires Whether to return the required WordPress version. Default true. + * @type bool $rating Whether to return the rating in percent and total number of ratings. + * Default true. + * @type bool $ratings Whether to return the number of rating for each star (1-5). Default true. + * @type bool $downloaded Whether to return the download count. Default true. + * @type bool $downloadlink Whether to return the download link for the package. Default true. + * @type bool $last_updated Whether to return the date of the last update. Default true. + * @type bool $added Whether to return the date when the plugin was added to the wordpress.org + * repository. Default true. + * @type bool $tags Whether to return the assigned tags. Default true. + * @type bool $compatibility Whether to return the WordPress compatibility list. Default true. + * @type bool $homepage Whether to return the plugin homepage link. Default true. + * @type bool $versions Whether to return the list of all available versions. Default false. + * @type bool $donate_link Whether to return the donation link. Default true. + * @type bool $reviews Whether to return the plugin reviews. Default false. + * @type bool $banners Whether to return the banner images links. Default false. + * @type bool $icons Whether to return the icon links. Default false. + * @type bool $active_installs Whether to return the number of active installs. Default false. + * @type bool $group Whether to return the assigned group. Default false. + * @type bool $contributors Whether to return the list of contributors. Default false. + * } + * } + * @return object|array|WP_Error Response object or array on success, WP_Error on failure. See the + * {@link https://developer.wordpress.org/reference/functions/plugins_api/ function reference article} + * for more information on the make-up of possible return values depending on the value of `$action`. */ -function plugins_api($action, $args = null) { +function plugins_api( $action, $args = array() ) { if ( is_array( $args ) ) { $args = (object) $args; @@ -41,9 +113,9 @@ function plugins_api($action, $args = null) { } /** - * Override the Plugin Install API arguments. + * Filter the WordPress.org Plugin Install API arguments. * - * Please ensure that an object is returned. + * Important: An object MUST be returned to this filter. * * @since 2.7.0 * @@ -53,15 +125,18 @@ function plugins_api($action, $args = null) { $args = apply_filters( 'plugins_api_args', $args, $action ); /** - * Allows a plugin to override the WordPress.org Plugin Install API entirely. + * Filter the response for the current WordPress.org Plugin Install API request. * - * Please ensure that an object is returned. + * Passing a non-false value will effectively short-circuit the WordPress.org API request. + * + * If `$action` is 'query_plugins' or 'plugin_information', an object MUST be passed. + * If `$action` is 'hot_tags` or 'hot_categories', an array should be passed. * * @since 2.7.0 * - * @param bool|object $result The result object. Default false. - * @param string $action The type of information being requested from the Plugin Install API. - * @param object $args Plugin API arguments. + * @param false|object|array $result The result object or array. Default false. + * @param string $action The type of information being requested from the Plugin Install API. + * @param object $args Plugin API arguments. */ $res = apply_filters( 'plugins_api', false, $action, $args ); @@ -139,7 +214,7 @@ function install_dashboard() { -

    +

    \n"; $date_format = __( 'M j, Y @ H:i' ); - $last_updated_timestamp = strtotime( $api->last_updated ); + + if ( ! empty( $api->last_updated ) ) { + $last_updated_timestamp = strtotime( $api->last_updated ); + } + ?>
    @@ -497,7 +576,7 @@ function install_plugin_information() { ratings ) && array_sum( (array) $api->ratings ) > 0 ) { - foreach( $api->ratings as $key => $ratecount ) { + foreach ( $api->ratings as $key => $ratecount ) { // Avoid div-by-zero. $_rating = $api->num_ratings ? ( $ratecount / $api->num_ratings ) : 0; ?> @@ -526,9 +605,9 @@ function install_plugin_information() { } $contrib_username = sanitize_user( $contrib_username ); if ( empty( $contrib_profile ) ) { - echo "
  • {$contrib_username}
  • "; + echo "
  • {$contrib_username}
  • "; } else { - echo "
  • {$contrib_username}
  • "; + echo "
  • {$contrib_username}
  • "; } } ?> @@ -541,9 +620,9 @@ function install_plugin_information() {
    tested ) && version_compare( substr( $GLOBALS['wp_version'], 0, strlen( $api->tested ) ), $api->tested, '>' ) ) { - echo '

    ' . __('Warning: This plugin has not been tested with your current version of WordPress.') . '

    '; + echo '

    ' . __( 'Warning: This plugin has not been tested with your current version of WordPress.' ) . '

    '; } elseif ( ! empty( $api->requires ) && version_compare( substr( $GLOBALS['wp_version'], 0, strlen( $api->requires ) ), $api->requires, '<' ) ) { - echo '

    ' . __('Warning: This plugin has not been marked as compatible with your version of WordPress.') . '

    '; + echo '

    ' . __( 'Warning: This plugin has not been marked as compatible with your version of WordPress.' ) . '

    '; } foreach ( (array) $api->sections as $section_name => $content ) { diff --git a/wp-admin/includes/plugin.php b/wp-admin/includes/plugin.php index 233d990..1dfc977 100644 --- a/wp-admin/includes/plugin.php +++ b/wp-admin/includes/plugin.php @@ -7,7 +7,7 @@ */ /** - * Parse the plugin contents to retrieve plugin's metadata. + * Parses the plugin contents to retrieve plugin's metadata. * * The metadata of the plugin's data searches for the following in the plugin's * header. All plugin data must be on its own line. For plugin description, it @@ -33,20 +33,6 @@ * activated on a single site when Multisite is enabled. * * / # Remove the space to close comment * - * Plugin data returned array contains the following: - * - * - 'Name' - Name of the plugin, must be unique. - * - 'Title' - Title of the plugin and the link to the plugin's web site. - * - 'Description' - Description of what the plugin does and/or notes - * - from the author. - * - 'Author' - The author's name - * - 'AuthorURI' - The authors web site address. - * - 'Version' - The plugin version number. - * - 'PluginURI' - Plugin web site address. - * - 'TextDomain' - Plugin's text domain for localization. - * - 'DomainPath' - Plugin's relative directory path to .mo files. - * - 'Network' - Boolean. Whether the plugin can only be activated network wide. - * * Some users have issues with opening large files and manipulating the contents * for want is usually the first 1kiB or 2kiB. This function stops pulling in * the plugin contents when it has all of the required plugin data. @@ -59,15 +45,25 @@ * the file. This is not checked however and the file is only opened for * reading. * - * @link https://core.trac.wordpress.org/ticket/5651 Previous Optimizations. - * @link https://core.trac.wordpress.org/ticket/7372 Further and better Optimizations. - * * @since 1.5.0 * * @param string $plugin_file Path to the plugin file - * @param bool $markup Optional. If the returned data should have HTML markup applied. Defaults to true. - * @param bool $translate Optional. If the returned data should be translated. Defaults to true. - * @return array See above for description. + * @param bool $markup Optional. If the returned data should have HTML markup applied. + * Default true. + * @param bool $translate Optional. If the returned data should be translated. Default true. + * @return array { + * Plugin data. Values will be empty if not supplied by the plugin. + * + * @type string $Name Name of the plugin. Should be unique. + * @type string $Title Title of the plugin and link to the plugin's site (if set). + * @type string $Description Plugin description. + * @type string $Author Author's name. + * @type string $AuthorURI Author's website address (if set). + * @type string $Version Plugin version. + * @type string $TextDomain Plugin textdomain. + * @type string $DomainPath Plugins relative directory path to .mo files. + * @type bool $Network Whether the plugin can only be activated network-wide. + * } */ function get_plugin_data( $plugin_file, $markup = true, $translate = true ) { @@ -89,7 +85,8 @@ function get_plugin_data( $plugin_file, $markup = true, $translate = true ) { // Site Wide Only is the old header for Network if ( ! $plugin_data['Network'] && $plugin_data['_sitewide'] ) { - _deprecated_argument( __FUNCTION__, '3.0', sprintf( __( 'The %1$s plugin header is deprecated. Use %2$s instead.' ), 'Site Wide Only: true', 'Network: true' ) ); + /* translators: 1: Site Wide Only: true, 2: Network: true */ + _deprecated_argument( __FUNCTION__, '3.0', sprintf( __( 'The %1$s plugin header is deprecated. Use %2$s instead.' ), 'Site Wide Only: true', 'Network: true' ) ); $plugin_data['Network'] = $plugin_data['_sitewide']; } $plugin_data['Network'] = ( 'true' == strtolower( $plugin_data['Network'] ) ); @@ -765,7 +762,7 @@ function delete_plugins( $plugins, $deprecated = '' ) { return false; $checked = array(); - foreach( $plugins as $plugin ) + foreach ( $plugins as $plugin ) $checked[] = 'checked[]=' . $plugin; ob_start(); @@ -813,13 +810,23 @@ function delete_plugins( $plugins, $deprecated = '' ) { $errors = array(); - foreach( $plugins as $plugin_file ) { + foreach ( $plugins as $plugin_file ) { // Run Uninstall hook. if ( is_uninstallable_plugin( $plugin_file ) ) { uninstall_plugin($plugin_file); } + /** + * Fires immediately before a plugin deletion attempt. + * + * @since 4.4.0 + * + * @param string $plugin_file Plugin file name. + */ + do_action( 'delete_plugin', $plugin_file ); + $this_plugin_dir = trailingslashit( dirname( $plugins_dir . $plugin_file ) ); + // If plugin is in its own directory, recursively delete the directory. if ( strpos( $plugin_file, '/' ) && $this_plugin_dir != $plugins_dir ) { //base check on if plugin includes directory separator AND that it's not the root plugin folder $deleted = $wp_filesystem->delete( $this_plugin_dir, true ); @@ -827,6 +834,16 @@ function delete_plugins( $plugins, $deprecated = '' ) { $deleted = $wp_filesystem->delete( $plugins_dir . $plugin_file ); } + /** + * Fires immediately after a plugin deletion attempt. + * + * @since 4.4.0 + * + * @param string $plugin_file Plugin file name. + * @param bool $deleted Whether the plugin deletion was successful. + */ + do_action( 'deleted_plugin', $plugin_file, $deleted ); + if ( ! $deleted ) { $errors[] = $plugin_file; continue; @@ -996,7 +1013,7 @@ function uninstall_plugin($plugin) { // /** - * Add a top level menu page + * Add a top-level menu page. * * This function takes a capability which will be used to determine whether * or not a page is included in the menu. @@ -1009,19 +1026,19 @@ function uninstall_plugin($plugin) { * @global array $_registered_pages * @global array $_parent_pages * - * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected - * @param string $menu_title The text to be used for the menu - * @param string $capability The capability required for this menu to be displayed to the user. - * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu) - * @param callback $function The function to be called to output the content for this page. - * @param string $icon_url The url to the icon to be used for this menu. - * * Pass a base64-encoded SVG using a data URI, which will be colored to match the color scheme. - * This should begin with 'data:image/svg+xml;base64,'. - * * Pass the name of a Dashicons helper class to use a font icon, e.g. 'dashicons-chart-pie'. - * * Pass 'none' to leave div.wp-menu-image empty so an icon can be added via CSS. - * @param int $position The position in the menu order this one should appear - * - * @return string The resulting page's hook_suffix + * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected. + * @param string $menu_title The text to be used for the menu. + * @param string $capability The capability required for this menu to be displayed to the user. + * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu). + * @param callable $function The function to be called to output the content for this page. + * @param string $icon_url The URL to the icon to be used for this menu. + * * Pass a base64-encoded SVG using a data URI, which will be colored to match + * the color scheme. This should begin with 'data:image/svg+xml;base64,'. + * * Pass the name of a Dashicons helper class to use a font icon, + * e.g. 'dashicons-chart-pie'. + * * Pass 'none' to leave div.wp-menu-image empty so an icon can be added via CSS. + * @param int $position The position in the menu order this one should appear. + * @return string The resulting page's hook_suffix. */ function add_menu_page( $page_title, $menu_title, $capability, $menu_slug, $function = '', $icon_url = '', $position = null ) { global $menu, $admin_page_hooks, $_registered_pages, $_parent_pages; @@ -1045,10 +1062,14 @@ function add_menu_page( $page_title, $menu_title, $capability, $menu_slug, $func $new_menu = array( $menu_title, $capability, $menu_slug, $page_title, 'menu-top ' . $icon_class . $hookname, $hookname, $icon_url ); - if ( null === $position ) + if ( null === $position ) { $menu[] = $new_menu; - else - $menu[$position] = $new_menu; + } elseif ( isset( $menu[ "$position" ] ) ) { + $position = $position + substr( base_convert( md5( $menu_slug . $menu_title ), 16, 10 ) , -5 ) * 0.00001; + $menu[ "$position" ] = $new_menu; + } else { + $menu[ $position ] = $new_menu; + } $_registered_pages[$hookname] = true; @@ -1059,7 +1080,7 @@ function add_menu_page( $page_title, $menu_title, $capability, $menu_slug, $func } /** - * Add a top level menu page in the 'objects' section + * Add a top-level menu page in the 'objects' section. * * This function takes a capability which will be used to determine whether * or not a page is included in the menu. @@ -1069,14 +1090,13 @@ function add_menu_page( $page_title, $menu_title, $capability, $menu_slug, $func * * @global int $_wp_last_object_menu * - * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected - * @param string $menu_title The text to be used for the menu - * @param string $capability The capability required for this menu to be displayed to the user. - * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu) - * @param callback $function The function to be called to output the content for this page. - * @param string $icon_url The url to the icon to be used for this menu - * - * @return string The resulting page's hook_suffix + * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected. + * @param string $menu_title The text to be used for the menu. + * @param string $capability The capability required for this menu to be displayed to the user. + * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu). + * @param callable $function The function to be called to output the content for this page. + * @param string $icon_url The url to the icon to be used for this menu. + * @return string The resulting page's hook_suffix. */ function add_object_page( $page_title, $menu_title, $capability, $menu_slug, $function = '', $icon_url = '') { global $_wp_last_object_menu; @@ -1087,7 +1107,7 @@ function add_object_page( $page_title, $menu_title, $capability, $menu_slug, $fu } /** - * Add a top level menu page in the 'utility' section + * Add a top-level menu page in the 'utility' section. * * This function takes a capability which will be used to determine whether * or not a page is included in the menu. @@ -1097,14 +1117,13 @@ function add_object_page( $page_title, $menu_title, $capability, $menu_slug, $fu * * @global int $_wp_last_utility_menu * - * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected - * @param string $menu_title The text to be used for the menu - * @param string $capability The capability required for this menu to be displayed to the user. - * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu) - * @param callback $function The function to be called to output the content for this page. - * @param string $icon_url The url to the icon to be used for this menu - * - * @return string The resulting page's hook_suffix + * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected. + * @param string $menu_title The text to be used for the menu. + * @param string $capability The capability required for this menu to be displayed to the user. + * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu). + * @param callable $function The function to be called to output the content for this page. + * @param string $icon_url The url to the icon to be used for this menu. + * @return string The resulting page's hook_suffix. */ function add_utility_page( $page_title, $menu_title, $capability, $menu_slug, $function = '', $icon_url = '') { global $_wp_last_utility_menu; @@ -1115,7 +1134,7 @@ function add_utility_page( $page_title, $menu_title, $capability, $menu_slug, $f } /** - * Add a sub menu page + * Add a submenu page. * * This function takes a capability which will be used to determine whether * or not a page is included in the menu. @@ -1125,18 +1144,17 @@ function add_utility_page( $page_title, $menu_title, $capability, $menu_slug, $f * * @global array $submenu * @global array $menu - * @global type $_wp_real_parent_file - * @global bool $_wp_submenu_nopriv + * @global array $_wp_real_parent_file + * @global bool $_wp_submenu_nopriv * @global array $_registered_pages * @global array $_parent_pages * - * @param string $parent_slug The slug name for the parent menu (or the file name of a standard WordPress admin page) - * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected - * @param string $menu_title The text to be used for the menu - * @param string $capability The capability required for this menu to be displayed to the user. - * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu) - * @param callback $function The function to be called to output the content for this page. - * + * @param string $parent_slug The slug name for the parent menu (or the file name of a standard WordPress admin page). + * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected. + * @param string $menu_title The text to be used for the menu. + * @param string $capability The capability required for this menu to be displayed to the user. + * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu). + * @param callable $function The function to be called to output the content for this page. * @return false|string The resulting page's hook_suffix, or false if the user does not have the capability required. */ function add_submenu_page( $parent_slug, $page_title, $menu_title, $capability, $menu_slug, $function = '' ) { @@ -1189,7 +1207,7 @@ function add_submenu_page( $parent_slug, $page_title, $menu_title, $capability, } /** - * Add sub menu page to the tools main menu. + * Add submenu page to the Tools main menu. * * This function takes a capability which will be used to determine whether * or not a page is included in the menu. @@ -1197,12 +1215,11 @@ function add_submenu_page( $parent_slug, $page_title, $menu_title, $capability, * The function which is hooked in to handle the output of the page must check * that the user has the required capability as well. * - * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected - * @param string $menu_title The text to be used for the menu - * @param string $capability The capability required for this menu to be displayed to the user. - * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu) - * @param callback $function The function to be called to output the content for this page. - * + * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected. + * @param string $menu_title The text to be used for the menu. + * @param string $capability The capability required for this menu to be displayed to the user. + * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu). + * @param callable $function The function to be called to output the content for this page. * @return false|string The resulting page's hook_suffix, or false if the user does not have the capability required. */ function add_management_page( $page_title, $menu_title, $capability, $menu_slug, $function = '' ) { @@ -1210,7 +1227,7 @@ function add_management_page( $page_title, $menu_title, $capability, $menu_slug, } /** - * Add sub menu page to the options main menu. + * Add submenu page to the Settings main menu. * * This function takes a capability which will be used to determine whether * or not a page is included in the menu. @@ -1218,12 +1235,11 @@ function add_management_page( $page_title, $menu_title, $capability, $menu_slug, * The function which is hooked in to handle the output of the page must check * that the user has the required capability as well. * - * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected - * @param string $menu_title The text to be used for the menu - * @param string $capability The capability required for this menu to be displayed to the user. - * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu) - * @param callback $function The function to be called to output the content for this page. - * + * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected. + * @param string $menu_title The text to be used for the menu. + * @param string $capability The capability required for this menu to be displayed to the user. + * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu). + * @param callable $function The function to be called to output the content for this page. * @return false|string The resulting page's hook_suffix, or false if the user does not have the capability required. */ function add_options_page( $page_title, $menu_title, $capability, $menu_slug, $function = '' ) { @@ -1231,7 +1247,7 @@ function add_options_page( $page_title, $menu_title, $capability, $menu_slug, $f } /** - * Add sub menu page to the themes main menu. + * Add submenu page to the Appearance main menu. * * This function takes a capability which will be used to determine whether * or not a page is included in the menu. @@ -1239,12 +1255,11 @@ function add_options_page( $page_title, $menu_title, $capability, $menu_slug, $f * The function which is hooked in to handle the output of the page must check * that the user has the required capability as well. * - * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected - * @param string $menu_title The text to be used for the menu - * @param string $capability The capability required for this menu to be displayed to the user. - * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu) - * @param callback $function The function to be called to output the content for this page. - * + * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected. + * @param string $menu_title The text to be used for the menu. + * @param string $capability The capability required for this menu to be displayed to the user. + * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu). + * @param callable $function The function to be called to output the content for this page. * @return false|string The resulting page's hook_suffix, or false if the user does not have the capability required. */ function add_theme_page( $page_title, $menu_title, $capability, $menu_slug, $function = '' ) { @@ -1252,7 +1267,7 @@ function add_theme_page( $page_title, $menu_title, $capability, $menu_slug, $fun } /** - * Add sub menu page to the plugins main menu. + * Add submenu page to the Plugins main menu. * * This function takes a capability which will be used to determine whether * or not a page is included in the menu. @@ -1260,12 +1275,11 @@ function add_theme_page( $page_title, $menu_title, $capability, $menu_slug, $fun * The function which is hooked in to handle the output of the page must check * that the user has the required capability as well. * - * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected - * @param string $menu_title The text to be used for the menu - * @param string $capability The capability required for this menu to be displayed to the user. - * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu) - * @param callback $function The function to be called to output the content for this page. - * + * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected. + * @param string $menu_title The text to be used for the menu. + * @param string $capability The capability required for this menu to be displayed to the user. + * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu). + * @param callable $function The function to be called to output the content for this page. * @return false|string The resulting page's hook_suffix, or false if the user does not have the capability required. */ function add_plugins_page( $page_title, $menu_title, $capability, $menu_slug, $function = '' ) { @@ -1273,7 +1287,7 @@ function add_plugins_page( $page_title, $menu_title, $capability, $menu_slug, $f } /** - * Add sub menu page to the Users/Profile main menu. + * Add submenu page to the Users/Profile main menu. * * This function takes a capability which will be used to determine whether * or not a page is included in the menu. @@ -1281,12 +1295,11 @@ function add_plugins_page( $page_title, $menu_title, $capability, $menu_slug, $f * The function which is hooked in to handle the output of the page must check * that the user has the required capability as well. * - * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected - * @param string $menu_title The text to be used for the menu - * @param string $capability The capability required for this menu to be displayed to the user. - * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu) - * @param callback $function The function to be called to output the content for this page. - * + * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected. + * @param string $menu_title The text to be used for the menu. + * @param string $capability The capability required for this menu to be displayed to the user. + * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu). + * @param callable $function The function to be called to output the content for this page. * @return false|string The resulting page's hook_suffix, or false if the user does not have the capability required. */ function add_users_page( $page_title, $menu_title, $capability, $menu_slug, $function = '' ) { @@ -1297,7 +1310,7 @@ function add_users_page( $page_title, $menu_title, $capability, $menu_slug, $fun return add_submenu_page( $parent, $page_title, $menu_title, $capability, $menu_slug, $function ); } /** - * Add sub menu page to the Dashboard main menu. + * Add submenu page to the Dashboard main menu. * * This function takes a capability which will be used to determine whether * or not a page is included in the menu. @@ -1305,12 +1318,11 @@ function add_users_page( $page_title, $menu_title, $capability, $menu_slug, $fun * The function which is hooked in to handle the output of the page must check * that the user has the required capability as well. * - * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected - * @param string $menu_title The text to be used for the menu - * @param string $capability The capability required for this menu to be displayed to the user. - * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu) - * @param callback $function The function to be called to output the content for this page. - * + * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected. + * @param string $menu_title The text to be used for the menu. + * @param string $capability The capability required for this menu to be displayed to the user. + * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu). + * @param callable $function The function to be called to output the content for this page. * @return false|string The resulting page's hook_suffix, or false if the user does not have the capability required. */ function add_dashboard_page( $page_title, $menu_title, $capability, $menu_slug, $function = '' ) { @@ -1318,7 +1330,7 @@ function add_dashboard_page( $page_title, $menu_title, $capability, $menu_slug, } /** - * Add sub menu page to the posts main menu. + * Add submenu page to the Posts main menu. * * This function takes a capability which will be used to determine whether * or not a page is included in the menu. @@ -1326,12 +1338,11 @@ function add_dashboard_page( $page_title, $menu_title, $capability, $menu_slug, * The function which is hooked in to handle the output of the page must check * that the user has the required capability as well. * - * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected - * @param string $menu_title The text to be used for the menu - * @param string $capability The capability required for this menu to be displayed to the user. - * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu) - * @param callback $function The function to be called to output the content for this page. - * + * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected. + * @param string $menu_title The text to be used for the menu. + * @param string $capability The capability required for this menu to be displayed to the user. + * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu). + * @param callable $function The function to be called to output the content for this page. * @return false|string The resulting page's hook_suffix, or false if the user does not have the capability required. */ function add_posts_page( $page_title, $menu_title, $capability, $menu_slug, $function = '' ) { @@ -1339,7 +1350,7 @@ function add_posts_page( $page_title, $menu_title, $capability, $menu_slug, $fun } /** - * Add sub menu page to the media main menu. + * Add submenu page to the Media main menu. * * This function takes a capability which will be used to determine whether * or not a page is included in the menu. @@ -1347,12 +1358,11 @@ function add_posts_page( $page_title, $menu_title, $capability, $menu_slug, $fun * The function which is hooked in to handle the output of the page must check * that the user has the required capability as well. * - * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected - * @param string $menu_title The text to be used for the menu - * @param string $capability The capability required for this menu to be displayed to the user. - * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu) - * @param callback $function The function to be called to output the content for this page. - * + * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected. + * @param string $menu_title The text to be used for the menu. + * @param string $capability The capability required for this menu to be displayed to the user. + * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu). + * @param callable $function The function to be called to output the content for this page. * @return false|string The resulting page's hook_suffix, or false if the user does not have the capability required. */ function add_media_page( $page_title, $menu_title, $capability, $menu_slug, $function = '' ) { @@ -1360,7 +1370,7 @@ function add_media_page( $page_title, $menu_title, $capability, $menu_slug, $fun } /** - * Add sub menu page to the links main menu. + * Add submenu page to the Links main menu. * * This function takes a capability which will be used to determine whether * or not a page is included in the menu. @@ -1368,12 +1378,11 @@ function add_media_page( $page_title, $menu_title, $capability, $menu_slug, $fun * The function which is hooked in to handle the output of the page must check * that the user has the required capability as well. * - * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected - * @param string $menu_title The text to be used for the menu - * @param string $capability The capability required for this menu to be displayed to the user. - * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu) - * @param callback $function The function to be called to output the content for this page. - * + * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected. + * @param string $menu_title The text to be used for the menu. + * @param string $capability The capability required for this menu to be displayed to the user. + * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu). + * @param callable $function The function to be called to output the content for this page. * @return false|string The resulting page's hook_suffix, or false if the user does not have the capability required. */ function add_links_page( $page_title, $menu_title, $capability, $menu_slug, $function = '' ) { @@ -1381,7 +1390,7 @@ function add_links_page( $page_title, $menu_title, $capability, $menu_slug, $fun } /** - * Add sub menu page to the pages main menu. + * Add submenu page to the Pages main menu. * * This function takes a capability which will be used to determine whether * or not a page is included in the menu. @@ -1389,12 +1398,11 @@ function add_links_page( $page_title, $menu_title, $capability, $menu_slug, $fun * The function which is hooked in to handle the output of the page must check * that the user has the required capability as well. * - * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected - * @param string $menu_title The text to be used for the menu - * @param string $capability The capability required for this menu to be displayed to the user. - * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu) - * @param callback $function The function to be called to output the content for this page. - * + * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected. + * @param string $menu_title The text to be used for the menu. + * @param string $capability The capability required for this menu to be displayed to the user. + * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu). + * @param callable $function The function to be called to output the content for this page. * @return false|string The resulting page's hook_suffix, or false if the user does not have the capability required. */ function add_pages_page( $page_title, $menu_title, $capability, $menu_slug, $function = '' ) { @@ -1402,7 +1410,7 @@ function add_pages_page( $page_title, $menu_title, $capability, $menu_slug, $fun } /** - * Add sub menu page to the comments main menu. + * Add submenu page to the Comments main menu. * * This function takes a capability which will be used to determine whether * or not a page is included in the menu. @@ -1410,12 +1418,11 @@ function add_pages_page( $page_title, $menu_title, $capability, $menu_slug, $fun * The function which is hooked in to handle the output of the page must check * that the user has the required capability as well. * - * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected - * @param string $menu_title The text to be used for the menu - * @param string $capability The capability required for this menu to be displayed to the user. - * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu) - * @param callback $function The function to be called to output the content for this page. - * + * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected. + * @param string $menu_title The text to be used for the menu. + * @param string $capability The capability required for this menu to be displayed to the user. + * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu). + * @param callable $function The function to be called to output the content for this page. * @return false|string The resulting page's hook_suffix, or false if the user does not have the capability required. */ function add_comments_page( $page_title, $menu_title, $capability, $menu_slug, $function = '' ) { @@ -1423,14 +1430,14 @@ function add_comments_page( $page_title, $menu_title, $capability, $menu_slug, $ } /** - * Remove a top level admin menu + * Remove a top-level admin menu. * * @since 3.1.0 * * @global array $menu * - * @param string $menu_slug The slug of the menu - * @return array|bool The removed menu on success, False if not found + * @param string $menu_slug The slug of the menu. + * @return array|bool The removed menu on success, false if not found. */ function remove_menu_page( $menu_slug ) { global $menu; @@ -1446,15 +1453,15 @@ function remove_menu_page( $menu_slug ) { } /** - * Remove an admin submenu + * Remove an admin submenu. * * @since 3.1.0 * * @global array $submenu * - * @param string $menu_slug The slug for the parent menu - * @param string $submenu_slug The slug of the submenu - * @return array|bool The removed submenu on success, False if not found + * @param string $menu_slug The slug for the parent menu. + * @param string $submenu_slug The slug of the submenu. + * @return array|bool The removed submenu on success, false if not found. */ function remove_submenu_page( $menu_slug, $submenu_slug ) { global $submenu; @@ -1518,7 +1525,7 @@ function menu_page_url($menu_slug, $echo = true) { * @global string $pagenow * @global string $typenow * @global string $plugin_page - * @global string $_wp_real_parent_file + * @global array $_wp_real_parent_file * @global array $_wp_menu_nopriv * @global array $_wp_submenu_nopriv */ @@ -1842,7 +1849,7 @@ function unregister_setting( $option_group, $option_name, $sanitize_callback = ' } /** - * {@internal Missing Short Description}} + * Refreshes the value of the options whitelist available via the 'whitelist_options' filter. * * @since 2.7.0 * @@ -1861,7 +1868,7 @@ function option_update_filter( $options ) { } /** - * {@internal Missing Short Description}} + * Adds an array of options to the options whitelist. * * @since 2.7.0 * @@ -1894,7 +1901,7 @@ function add_option_whitelist( $new_options, $options = '' ) { } /** - * {@internal Missing Short Description}} + * Removes a list of options from the options whitelist. * * @since 2.7.0 * @@ -1948,3 +1955,11 @@ function wp_clean_plugins_cache( $clear_update_cache = true ) { delete_site_transient( 'update_plugins' ); wp_cache_delete( 'plugins', 'plugins' ); } + +/** + * @param string $plugin + */ +function plugin_sandbox_scrape( $plugin ) { + wp_register_plugin_realpath( WP_PLUGIN_DIR . '/' . $plugin ); + include( WP_PLUGIN_DIR . '/' . $plugin ); +} diff --git a/wp-admin/includes/post.php b/wp-admin/includes/post.php index 5fcceec..fa3e400 100644 --- a/wp-admin/includes/post.php +++ b/wp-admin/includes/post.php @@ -173,7 +173,7 @@ function _wp_translate_postdata( $update = false, $post_data = null ) { * * @since 1.5.0 * - * @global wpdb $wpdb + * @global wpdb $wpdb WordPress database abstraction object. * * @param array $post_data Optional. * @return int Post ID. @@ -371,7 +371,7 @@ function edit_post( $post_data = null ) { if ( ! $success && is_callable( array( $wpdb, 'strip_invalid_text_for_column' ) ) ) { $fields = array( 'post_title', 'post_content', 'post_excerpt' ); - foreach( $fields as $field ) { + foreach ( $fields as $field ) { if ( isset( $post_data[ $field ] ) ) { $post_data[ $field ] = $wpdb->strip_invalid_text_for_column( $wpdb->posts, $field, $post_data[ $field ] ); } @@ -403,7 +403,7 @@ function edit_post( $post_data = null ) { * * @since 2.7.0 * - * @global wpdb $wpdb + * @global wpdb $wpdb WordPress database abstraction object. * * @param array $post_data Optional, the array of post data to process if not provided will use $_POST superglobal. * @return array @@ -577,7 +577,8 @@ function bulk_edit_posts( $post_data = null ) { * * @since 2.0.0 * - * @param string $post_type A post type string, defaults to 'post'. + * @param string $post_type Optional. A post type string. Default 'post'. + * @param bool $create_in_db Optional. Whether to insert the post into database. Default false. * @return WP_Post Post object containing all the default post data as attributes */ function get_default_post_to_edit( $post_type = 'post', $create_in_db = false ) { @@ -658,7 +659,7 @@ function get_default_post_to_edit( $post_type = 'post', $create_in_db = false ) * * @since 2.0.0 * - * @global wpdb $wpdb + * @global wpdb $wpdb WordPress database abstraction object. * * @param string $title Post title * @param string $content Optional post content @@ -842,7 +843,7 @@ function delete_meta( $mid ) { * * @since 1.2.0 * - * @global wpdb $wpdb + * @global wpdb $wpdb WordPress database abstraction object. * * @return mixed */ @@ -875,7 +876,7 @@ function get_post_meta_by_id( $mid ) { * * @since 1.2.0 * - * @global wpdb $wpdb + * @global wpdb $wpdb WordPress database abstraction object. * * @param int $postid * @return mixed @@ -1003,15 +1004,17 @@ function wp_edit_posts_query( $q = false ) { $perm = 'readable'; } - if ( isset($q['orderby']) ) + if ( isset( $q['orderby'] ) ) { $orderby = $q['orderby']; - elseif ( isset($q['post_status']) && in_array($q['post_status'], array('pending', 'draft')) ) + } elseif ( isset( $q['post_status'] ) && in_array( $q['post_status'], array( 'pending', 'draft' ) ) ) { $orderby = 'modified'; + } - if ( isset($q['order']) ) + if ( isset( $q['order'] ) ) { $order = $q['order']; - elseif ( isset($q['post_status']) && 'pending' == $q['post_status'] ) + } elseif ( isset( $q['post_status'] ) && 'pending' == $q['post_status'] ) { $order = 'ASC'; + } $per_page = "edit_{$post_type}_per_page"; $posts_per_page = (int) get_user_option( $per_page ); @@ -1067,7 +1070,7 @@ function wp_edit_posts_query( $q = false ) { * * @since 2.5.0 * - * @global wpdb $wpdb + * @global wpdb $wpdb WordPress database abstraction object. * * @param string $type * @return mixed @@ -1123,7 +1126,7 @@ function wp_edit_attachments_query_vars( $q = false ) { unset($q['post_mime_type']); } - foreach( array_keys( $post_mime_types ) as $type ) { + foreach ( array_keys( $post_mime_types ) as $type ) { if ( isset( $q['attachment-filter'] ) && "post_mime_type:$type" == $q['attachment-filter'] ) { $q['post_mime_type'] = $type; break; @@ -1242,20 +1245,31 @@ function get_sample_permalink($id, $title = null, $name = null) { } /** This filter is documented in wp-admin/edit-tag-form.php */ - $uri = apply_filters( 'editable_slug', $uri ); + $uri = apply_filters( 'editable_slug', $uri, $post ); if ( !empty($uri) ) $uri .= '/'; $permalink = str_replace('%pagename%', "{$uri}%pagename%", $permalink); } /** This filter is documented in wp-admin/edit-tag-form.php */ - $permalink = array( $permalink, apply_filters( 'editable_slug', $post->post_name ) ); + $permalink = array( $permalink, apply_filters( 'editable_slug', $post->post_name, $post ) ); $post->post_status = $original_status; $post->post_date = $original_date; $post->post_name = $original_name; unset($post->filter); - return $permalink; + /** + * Filter the sample permalink. + * + * @since 4.4.0 + * + * @param string $permalink Sample permalink. + * @param int $post_id Post ID. + * @param string $title Post title. + * @param string $name Post name (slug). + * @param WP_Post $post Post object. + */ + return apply_filters( 'get_sample_permalink', $permalink, $post->ID, $title, $name, $post ); } /** @@ -1275,74 +1289,76 @@ function get_sample_permalink_html( $id, $new_title = null, $new_slug = null ) { list($permalink, $post_name) = get_sample_permalink($post->ID, $new_title, $new_slug); + $view_link = false; + $preview_target = ''; + if ( current_user_can( 'read_post', $post->ID ) ) { - $ptype = get_post_type_object( $post->post_type ); - $view_post = $ptype->labels->view_item; - } - - if ( 'publish' == get_post_status( $post ) ) { - $title = __('Click to edit this part of the permalink'); - } else { - $title = __('Temporary permalink. Click to edit this part.'); + if ( 'draft' === $post->post_status ) { + $draft_link = set_url_scheme( get_permalink( $post->ID ) ); + $view_link = get_preview_post_link( $post, array(), $draft_link ); + $preview_target = " target='wp-preview-{$post->ID}'"; + } else { + if ( 'publish' === $post->post_status || 'attachment' === $post->post_type ) { + $view_link = get_permalink( $post ); + } else { + // Allow non-published (private, future) to be viewed at a pretty permalink. + $view_link = str_replace( array( '%pagename%', '%postname%' ), $post->post_name, urldecode( $permalink ) ); + } + } } + // Permalinks without a post/page name placeholder don't have anything to edit if ( false === strpos( $permalink, '%postname%' ) && false === strpos( $permalink, '%pagename%' ) ) { - $return = '' . __('Permalink:') . "\n" . '' . $permalink . "\n"; + $return = '' . __( 'Permalink:' ) . "\n"; + + if ( false !== $view_link ) { + $return .= '' . $view_link . "\n"; + } else { + $return .= '' . $permalink . "\n"; + } + + // Encourage a pretty permalink setting if ( '' == get_option( 'permalink_structure' ) && current_user_can( 'manage_options' ) && !( 'page' == get_option('show_on_front') && $id == get_option('page_on_front') ) ) { $return .= '' . __('Change Permalinks') . "\n"; } } else { if ( function_exists( 'mb_strlen' ) ) { - if ( mb_strlen( $post_name ) > 30 ) { - $post_name_abridged = mb_substr( $post_name, 0, 14 ) . '…' . mb_substr( $post_name, -14 ); + if ( mb_strlen( $post_name ) > 34 ) { + $post_name_abridged = mb_substr( $post_name, 0, 16 ) . '…' . mb_substr( $post_name, -16 ); } else { $post_name_abridged = $post_name; } } else { - if ( strlen( $post_name ) > 30 ) { - $post_name_abridged = substr( $post_name, 0, 14 ) . '…' . substr( $post_name, -14 ); + if ( strlen( $post_name ) > 34 ) { + $post_name_abridged = substr( $post_name, 0, 16 ) . '…' . substr( $post_name, -16 ); } else { $post_name_abridged = $post_name; } } - $post_name_html = '' . $post_name_abridged . ''; + $post_name_html = '' . $post_name_abridged . ''; $display_link = str_replace( array( '%pagename%', '%postname%' ), $post_name_html, urldecode( $permalink ) ); - $pretty_permalink = str_replace( array( '%pagename%', '%postname%' ), $post_name, urldecode( $permalink ) ); - $return = '' . __( 'Permalink:' ) . "\n"; - $return .= '' . $display_link . "\n"; + $return = '' . __( 'Permalink:' ) . "\n"; + $return .= '' . $display_link . "\n"; $return .= '‎'; // Fix bi-directional text display defect in RTL languages. - $return .= '' . __( 'Edit' ) . "\n"; + $return .= '\n"; $return .= '' . $post_name . "\n"; } - if ( isset( $view_post ) ) { - if ( 'draft' == $post->post_status ) { - $preview_link = set_url_scheme( get_permalink( $post->ID ) ); - /** This filter is documented in wp-admin/includes/meta-boxes.php */ - $preview_link = apply_filters( 'preview_post_link', add_query_arg( 'preview', 'true', $preview_link ), $post ); - $return .= "$view_post\n"; - } else { - if ( empty( $pretty_permalink ) ) { - $pretty_permalink = $permalink; - } - - $return .= "$view_post\n"; - } - } - /** * Filter the sample permalink HTML markup. * * @since 2.9.0 + * @since 4.4.0 Added `$post` parameter. * - * @param string $return Sample permalink HTML markup. - * @param int|WP_Post $id Post object or ID. - * @param string $new_title New sample permalink title. - * @param string $new_slug New sample permalink slug. + * @param string $return Sample permalink HTML markup. + * @param int $post_id Post ID. + * @param string $new_title New sample permalink title. + * @param string $new_slug New sample permalink slug. + * @param WP_Post $post Post object. */ - $return = apply_filters( 'get_sample_permalink_html', $return, $id, $new_title, $new_slug ); + $return = apply_filters( 'get_sample_permalink_html', $return, $post->ID, $new_title, $new_slug, $post ); return $return; } @@ -1374,12 +1390,29 @@ function _wp_post_thumbnail_html( $thumbnail_id = null, $post = null ) { ); if ( $thumbnail_id && get_post( $thumbnail_id ) ) { - $old_content_width = $content_width; - $content_width = 266; - if ( !isset( $_wp_additional_image_sizes['post-thumbnail'] ) ) - $thumbnail_html = wp_get_attachment_image( $thumbnail_id, array( $content_width, $content_width ) ); - else - $thumbnail_html = wp_get_attachment_image( $thumbnail_id, 'post-thumbnail' ); + $size = isset( $_wp_additional_image_sizes['post-thumbnail'] ) ? 'post-thumbnail' : array( 266, 266 ); + + /** + * Filter the size used to display the post thumbnail image in the 'Featured Image' meta box. + * + * Note: When a theme adds 'post-thumbnail' support, a special 'post-thumbnail' + * image size is registered, which differs from the 'thumbnail' image size + * managed via the Settings > Media screen. See the `$size` parameter description + * for more information on default values. + * + * @since 4.4.0 + * + * @param string|array $size Post thumbnail image size to display in the meta box. Accepts any valid + * image size, or an array of width and height values in pixels (in that order). + * If the 'post-thumbnail' size is set, default is 'post-thumbnail'. Otherwise, + * default is an array with 266 as both the height and width values. + * @param int $thumbnail_id Post thumbnail attachment ID. + * @param WP_Post $post The post object associated with the thumbnail. + */ + $size = apply_filters( 'admin_post_thumbnail_size', $size, $thumbnail_id, $post ); + + $thumbnail_html = wp_get_attachment_image( $thumbnail_id, $size ); + if ( !empty( $thumbnail_html ) ) { $ajax_nonce = wp_create_nonce( 'set_post_thumbnail-' . $post->ID ); $content = sprintf( $set_thumbnail_link, @@ -1389,7 +1422,6 @@ function _wp_post_thumbnail_html( $thumbnail_id = null, $post = null ) { ); $content .= '

    ' . esc_html( $post_type_object->labels->remove_featured_image ) . '

    '; } - $content_width = $old_content_width; } /** @@ -1508,20 +1540,17 @@ function _admin_notice_post_locked() { post_type )->public ) { - $preview_link = set_url_scheme( add_query_arg( 'preview', 'true', get_permalink( $post->ID ) ) ); - if ( 'publish' == $post->post_status || $user->ID != $post->post_author ) { // Latest content is in autosave $nonce = wp_create_nonce( 'post_preview_' . $post->ID ); - $preview_link = add_query_arg( array( 'preview_id' => $post->ID, 'preview_nonce' => $nonce ), $preview_link ); + $query_args['preview_id'] = $post->ID; + $query_args['preview_nonce'] = $nonce; } - } else { - $preview_link = ''; } - /** This filter is documented in wp-admin/includes/meta-boxes.php */ - $preview_link = apply_filters( 'preview_post_link', $preview_link, $post ); + $preview_link = get_preview_post_link( $post->ID, $query_args ); /** * Filter whether to allow the post lock to be overridden. @@ -1582,7 +1611,7 @@ function _admin_notice_post_locked() {


    - +

    get_error_message() ); - $query_args = array( 'preview' => 'true' ); + $query_args = array(); if ( $is_autosave && $saved_post_id ) { $query_args['preview_id'] = $post->ID; @@ -1717,10 +1746,7 @@ function post_preview() { $query_args['post_format'] = empty( $_POST['post_format'] ) ? 'standard' : sanitize_key( $_POST['post_format'] ); } - $url = add_query_arg( $query_args, get_permalink( $post->ID ) ); - - /** This filter is documented in wp-admin/includes/meta-boxes.php */ - return apply_filters( 'preview_post_link', $url, $post ); + return get_preview_post_link( $post, $query_args ); } /** @@ -1766,3 +1792,52 @@ function wp_autosave( $post_data ) { return wp_create_post_autosave( wp_slash( $post_data ) ); } } + +/** + * Redirect to previous page. + * + * @param int $post_id Optional. Post ID. + */ +function redirect_post($post_id = '') { + if ( isset($_POST['save']) || isset($_POST['publish']) ) { + $status = get_post_status( $post_id ); + + if ( isset( $_POST['publish'] ) ) { + switch ( $status ) { + case 'pending': + $message = 8; + break; + case 'future': + $message = 9; + break; + default: + $message = 6; + } + } else { + $message = 'draft' == $status ? 10 : 1; + } + + $location = add_query_arg( 'message', $message, get_edit_post_link( $post_id, 'url' ) ); + } elseif ( isset($_POST['addmeta']) && $_POST['addmeta'] ) { + $location = add_query_arg( 'message', 2, wp_get_referer() ); + $location = explode('#', $location); + $location = $location[0] . '#postcustom'; + } elseif ( isset($_POST['deletemeta']) && $_POST['deletemeta'] ) { + $location = add_query_arg( 'message', 3, wp_get_referer() ); + $location = explode('#', $location); + $location = $location[0] . '#postcustom'; + } else { + $location = add_query_arg( 'message', 4, get_edit_post_link( $post_id, 'url' ) ); + } + + /** + * Filter the post redirect destination URL. + * + * @since 2.9.0 + * + * @param string $location The destination URL. + * @param int $post_id The post ID. + */ + wp_redirect( apply_filters( 'redirect_post_location', $location, $post_id ) ); + exit; +} \ No newline at end of file diff --git a/wp-admin/includes/revision.php b/wp-admin/includes/revision.php index 67bb56c..eb03e60 100644 --- a/wp-admin/includes/revision.php +++ b/wp-admin/includes/revision.php @@ -4,6 +4,7 @@ * * @package WordPress * @subpackage Administration + * @since 3.6.0 */ /** @@ -199,7 +200,7 @@ function wp_prepare_revisions_for_js( $post, $selected_revision_id, $from = null $current_id = $revision->ID; } - $revisions[ $revision->ID ] = array( + $revisions_data = array( 'id' => $revision->ID, 'title' => get_the_title( $post->ID ), 'author' => $authors[ $revision->post_author ], @@ -210,6 +211,30 @@ function wp_prepare_revisions_for_js( $post, $selected_revision_id, $from = null 'current' => $current, 'restoreUrl' => $can_restore ? $restore_link : false, ); + + /** + * Filter the array of revisions used on the revisions screen. + * + * @since 4.4.0 + * + * @param array $revisions_data { + * The bootstrapped data for the revisions screen. + * + * @type int $id Revision ID. + * @type string $title Title for the revision's parent WP_Post object. + * @type int $author Revision post author ID. + * @type string $date Date the revision was modified. + * @type string $dateShort Short-form version of the date the revision was modified. + * @type string $timeAgo GMT-aware amount of time ago the revision was modified. + * @type bool $autosave Whether the revision is an autosave. + * @type bool $current Whether the revision is both not an autosave and the post + * modified date matches the revision modified date (GMT-aware). + * @type bool|false $restoreUrl URL if the revision can be restored, false otherwise. + * } + * @param WP_Post $revision The revision's WP_Post object. + * @param WP_Post $post The revision's parent WP_Post object. + */ + $revisions[ $revision->ID ] = apply_filters( 'wp_prepare_revision_for_js', $revisions_data, $revision, $post ); } /** diff --git a/wp-admin/includes/schema.php b/wp-admin/includes/schema.php index 8c84054..4f49dc2 100644 --- a/wp-admin/includes/schema.php +++ b/wp-admin/includes/schema.php @@ -27,7 +27,7 @@ $charset_collate = $wpdb->get_charset_collate(); * * @since 3.3.0 * - * @global wpdb $wpdb + * @global wpdb $wpdb WordPress database abstraction object. * * @param string $scope Optional. The tables for which to retrieve SQL. Can be all, global, ms_global, or blog tables. Defaults to all. * @param int $blog_id Optional. The blog ID for which to retrieve SQL. Default is the current blog ID. @@ -57,7 +57,16 @@ function wp_get_db_schema( $scope = 'all', $blog_id = null ) { $max_index_length = 191; // Blog specific tables. - $blog_tables = "CREATE TABLE $wpdb->terms ( + $blog_tables = "CREATE TABLE $wpdb->termmeta ( + meta_id bigint(20) unsigned NOT NULL auto_increment, + term_id bigint(20) unsigned NOT NULL default '0', + meta_key varchar(255) default NULL, + meta_value longtext, + PRIMARY KEY (meta_id), + KEY term_id (term_id), + KEY meta_key (meta_key($max_index_length)) +) $charset_collate; +CREATE TABLE $wpdb->terms ( term_id bigint(20) unsigned NOT NULL auto_increment, name varchar(200) NOT NULL default '', slug varchar(200) NOT NULL default '', @@ -135,7 +144,7 @@ CREATE TABLE $wpdb->links ( ) $charset_collate; CREATE TABLE $wpdb->options ( option_id bigint(20) unsigned NOT NULL auto_increment, - option_name varchar(64) NOT NULL default '', + option_name varchar(191) NOT NULL default '', option_value longtext NOT NULL, autoload varchar(20) NOT NULL default 'yes', PRIMARY KEY (option_id), @@ -185,12 +194,12 @@ CREATE TABLE $wpdb->posts ( $users_single_table = "CREATE TABLE $wpdb->users ( ID bigint(20) unsigned NOT NULL auto_increment, user_login varchar(60) NOT NULL default '', - user_pass varchar(64) NOT NULL default '', + user_pass varchar(255) NOT NULL default '', user_nicename varchar(50) NOT NULL default '', user_email varchar(100) NOT NULL default '', user_url varchar(100) NOT NULL default '', user_registered datetime NOT NULL default '0000-00-00 00:00:00', - user_activation_key varchar(60) NOT NULL default '', + user_activation_key varchar(255) NOT NULL default '', user_status int(11) NOT NULL default '0', display_name varchar(250) NOT NULL default '', PRIMARY KEY (ID), @@ -202,12 +211,12 @@ CREATE TABLE $wpdb->posts ( $users_multi_table = "CREATE TABLE $wpdb->users ( ID bigint(20) unsigned NOT NULL auto_increment, user_login varchar(60) NOT NULL default '', - user_pass varchar(64) NOT NULL default '', + user_pass varchar(255) NOT NULL default '', user_nicename varchar(50) NOT NULL default '', user_email varchar(100) NOT NULL default '', user_url varchar(100) NOT NULL default '', user_registered datetime NOT NULL default '0000-00-00 00:00:00', - user_activation_key varchar(60) NOT NULL default '', + user_activation_key varchar(255) NOT NULL default '', user_status int(11) NOT NULL default '0', display_name varchar(250) NOT NULL default '', spam tinyint(2) NOT NULL default '0', @@ -359,11 +368,18 @@ function populate_options() { $uploads_use_yearmonth_folders = 1; } - $template = WP_DEFAULT_THEME; - // If default theme is a child theme, we need to get its template - $theme = wp_get_theme( $template ); - if ( ! $theme->errors() ) - $template = $theme->get_template(); + // If WP_DEFAULT_THEME doesn't exist, fall back to the latest core default theme. + $stylesheet = $template = WP_DEFAULT_THEME; + $theme = wp_get_theme( WP_DEFAULT_THEME ); + if ( ! $theme->exists() ) { + $theme = WP_Theme::get_core_default_theme(); + } + + // If we can't find a core default theme, WP_DEFAULT_THEME is the best we can do. + if ( $theme ) { + $stylesheet = $theme->get_stylesheet(); + $template = $theme->get_template(); + } $timezone_string = ''; $gmt_offset = 0; @@ -411,14 +427,12 @@ function populate_options() { 'comment_moderation' => 0, 'moderation_notify' => 1, 'permalink_structure' => '', - 'gzipcompression' => 0, 'hack_file' => 0, 'blog_charset' => 'UTF-8', 'moderation_keys' => '', 'active_plugins' => array(), 'category_base' => '', 'ping_sites' => 'http://rpc.pingomatic.com/', - 'advanced_edit' => 0, 'comment_max_links' => 2, 'gmt_offset' => $gmt_offset, @@ -426,7 +440,7 @@ function populate_options() { 'default_email_category' => 1, 'recently_edited' => '', 'template' => $template, - 'stylesheet' => WP_DEFAULT_THEME, + 'stylesheet' => $stylesheet, 'comment_whitelist' => 1, 'blacklist_keys' => '', 'comment_registration' => 0, @@ -467,7 +481,7 @@ function populate_options() { // 2.7 'large_size_w' => 1024, 'large_size_h' => 1024, - 'image_default_link_type' => 'file', + 'image_default_link_type' => 'none', 'image_default_size' => '', 'image_default_align' => '', 'close_comments_for_old_posts' => 0, @@ -499,6 +513,11 @@ function populate_options() { // 4.3.0 'finished_splitting_shared_terms' => 1, + 'site_icon' => 0, + + // 4.4.0 + 'medium_large_size_w' => 768, + 'medium_large_size_h' => 0, ); // 3.3 @@ -559,7 +578,7 @@ function populate_options() { 'can_compress_scripts', 'page_uris', 'update_core', 'update_plugins', 'update_themes', 'doing_cron', 'random_seed', 'rss_excerpt_length', 'secret', 'use_linksupdate', 'default_comment_status_page', 'wporg_popular_tags', 'what_to_show', 'rss_language', 'language', 'enable_xmlrpc', 'enable_app', - 'embed_autourls', 'default_post_edit_rows', + 'embed_autourls', 'default_post_edit_rows', 'gzipcompression', 'advanced_edit' ); foreach ( $unusedoptions as $option ) delete_option($option); @@ -837,13 +856,6 @@ function populate_roles_300() { $role->add_cap( 'update_core' ); $role->add_cap( 'list_users' ); $role->add_cap( 'remove_users' ); - - /* - * Never used, will be removed. create_users or promote_users - * is the capability you're looking for. - */ - $role->add_cap( 'add_users' ); - $role->add_cap( 'promote_users' ); $role->add_cap( 'edit_theme_options' ); $role->add_cap( 'delete_themes' ); @@ -893,21 +905,37 @@ function populate_network( $network_id = 1, $domain = '', $email = '', $site_nam if ( $network_id == $wpdb->get_var( $wpdb->prepare( "SELECT id FROM $wpdb->site WHERE id = %d", $network_id ) ) ) $errors->add( 'siteid_exists', __( 'The network already exists.' ) ); - $site_user = get_user_by( 'email', $email ); if ( ! is_email( $email ) ) - $errors->add( 'invalid_email', __( 'You must provide a valid e-mail address.' ) ); + $errors->add( 'invalid_email', __( 'You must provide a valid email address.' ) ); if ( $errors->get_error_code() ) return $errors; + // If a user with the provided email does not exist, default to the current user as the new network admin. + $site_user = get_user_by( 'email', $email ); + if ( false === $site_user ) { + $site_user = wp_get_current_user(); + } + // Set up site tables. $template = get_option( 'template' ); $stylesheet = get_option( 'stylesheet' ); $allowed_themes = array( $stylesheet => true ); - if ( $template != $stylesheet ) + + if ( $template != $stylesheet ) { $allowed_themes[ $template ] = true; - if ( WP_DEFAULT_THEME != $stylesheet && WP_DEFAULT_THEME != $template ) + } + + if ( WP_DEFAULT_THEME != $stylesheet && WP_DEFAULT_THEME != $template ) { $allowed_themes[ WP_DEFAULT_THEME ] = true; + } + + // If WP_DEFAULT_THEME doesn't exist, also whitelist the latest core default theme. + if ( ! wp_get_theme( WP_DEFAULT_THEME )->exists() ) { + if ( $core_default = WP_Theme::get_core_default_theme() ) { + $allowed_themes[ $core_default->get_stylesheet() ] = true; + } + } if ( 1 == $network_id ) { $wpdb->insert( $wpdb->site, array( 'domain' => $domain, 'path' => $path ) ); @@ -963,7 +991,7 @@ We hope you enjoy your new site. Thanks! $sitemeta = array( 'site_name' => $site_name, - 'admin_email' => $site_user->user_email, + 'admin_email' => $email, 'admin_user_id' => $site_user->ID, 'registration' => 'none', 'upload_filetypes' => implode( ' ', $upload_filetypes ), @@ -974,7 +1002,8 @@ We hope you enjoy your new site. Thanks! 'illegal_names' => array( 'www', 'web', 'root', 'admin', 'main', 'invite', 'administrator', 'files' ), 'wpmu_upgrade_site' => $wp_db_version, 'welcome_email' => $welcome_email, - 'first_post' => __( 'Welcome to SITE_NAME. This is your first post. Edit or delete it, then start blogging!' ), + /* translators: %s: site link */ + 'first_post' => __( 'Welcome to %s. This is your first post. Edit or delete it, then start blogging!' ), // @todo - network admins should have a method of editing the network siteurl (used for cookie hash) 'siteurl' => get_option( 'siteurl' ) . '/', 'add_new_users' => '0', @@ -1047,12 +1076,26 @@ We hope you enjoy your new site. Thanks! if ( ! $vhost_ok ) { $msg = '

    ' . __( 'Warning! Wildcard DNS may not be configured correctly!' ) . '

    '; - $msg .= '

    ' . sprintf( __( 'The installer attempted to contact a random hostname (%1$s) on your domain.' ), $hostname ); - if ( ! empty ( $errstr ) ) + + $msg .= '

    ' . sprintf( + /* translators: %s: host name */ + __( 'The installer attempted to contact a random hostname (%s) on your domain.' ), + '' . $hostname . '' + ); + if ( ! empty ( $errstr ) ) { + /* translators: %s: error message */ $msg .= ' ' . sprintf( __( 'This resulted in an error message: %s' ), '' . $errstr . '' ); + } $msg .= '

    '; - $msg .= '

    ' . __( 'To use a subdomain configuration, you must have a wildcard entry in your DNS. This usually means adding a * hostname record pointing at your web server in your DNS configuration tool.' ) . '

    '; + + $msg .= '

    ' . sprintf( + /* translators: %s: asterisk symbol (*) */ + __( 'To use a subdomain configuration, you must have a wildcard entry in your DNS. This usually means adding a %s hostname record pointing at your web server in your DNS configuration tool.' ), + '*' + ) . '

    '; + $msg .= '

    ' . __( 'You can still use your site but any subdomain you create may not be accessible. If you know your DNS is correct, ignore this message.' ) . '

    '; + return new WP_Error( 'no_wildcard_dns', $msg ); } } diff --git a/wp-admin/includes/screen.php b/wp-admin/includes/screen.php index fba5dc9..8db0cde 100644 --- a/wp-admin/includes/screen.php +++ b/wp-admin/includes/screen.php @@ -51,10 +51,35 @@ function get_column_headers( $screen ) { * @return array */ function get_hidden_columns( $screen ) { - if ( is_string( $screen ) ) + if ( is_string( $screen ) ) { $screen = convert_to_screen( $screen ); + } - return (array) get_user_option( 'manage' . $screen->id . 'columnshidden' ); + $hidden = get_user_option( 'manage' . $screen->id . 'columnshidden' ); + + if ( ! $hidden ) { + $hidden = array(); + + /** + * Filter the default list of hidden columns. + * + * @since 4.4.0 + * + * @param array $hidden An array of columns hidden by default. + * @param WP_Screen $screen WP_Screen object of the current screen. + */ + $hidden = apply_filters( 'default_hidden_columns', $hidden, $screen ); + } + + /** + * Filter the list of hidden columns. + * + * @since 4.4.0 + * + * @param array $hidden An array of hidden columns. + * @param WP_Screen $screen WP_Screen object of the current screen. + */ + return apply_filters( 'hidden_columns', $hidden, $screen ); } /** @@ -193,1028 +218,3 @@ function get_current_screen() { function set_current_screen( $hook_name = '' ) { WP_Screen::get( $hook_name )->set_current_screen(); } - -/** - * A class representing the admin screen. - * - * @since 3.3.0 - * @access public - */ -final class WP_Screen { - /** - * Any action associated with the screen. 'add' for *-add.php and *-new.php screens. Empty otherwise. - * - * @since 3.3.0 - * @var string - * @access public - */ - public $action; - - /** - * The base type of the screen. This is typically the same as $id but with any post types and taxonomies stripped. - * For example, for an $id of 'edit-post' the base is 'edit'. - * - * @since 3.3.0 - * @var string - * @access public - */ - public $base; - - /** - * The number of columns to display. Access with get_columns(). - * - * @since 3.4.0 - * @var int - * @access private - */ - private $columns = 0; - - /** - * The unique ID of the screen. - * - * @since 3.3.0 - * @var string - * @access public - */ - public $id; - - /** - * Which admin the screen is in. network | user | site | false - * - * @since 3.5.0 - * @var string - * @access protected - */ - protected $in_admin; - - /** - * Whether the screen is in the network admin. - * - * Deprecated. Use in_admin() instead. - * - * @since 3.3.0 - * @deprecated 3.5.0 - * @var bool - * @access public - */ - public $is_network; - - /** - * Whether the screen is in the user admin. - * - * Deprecated. Use in_admin() instead. - * - * @since 3.3.0 - * @deprecated 3.5.0 - * @var bool - * @access public - */ - public $is_user; - - /** - * The base menu parent. - * This is derived from $parent_file by removing the query string and any .php extension. - * $parent_file values of 'edit.php?post_type=page' and 'edit.php?post_type=post' have a $parent_base of 'edit'. - * - * @since 3.3.0 - * @var string - * @access public - */ - public $parent_base; - - /** - * The parent_file for the screen per the admin menu system. - * Some $parent_file values are 'edit.php?post_type=page', 'edit.php', and 'options-general.php'. - * - * @since 3.3.0 - * @var string - * @access public - */ - public $parent_file; - - /** - * The post type associated with the screen, if any. - * The 'edit.php?post_type=page' screen has a post type of 'page'. - * The 'edit-tags.php?taxonomy=$taxonomy&post_type=page' screen has a post type of 'page'. - * - * @since 3.3.0 - * @var string - * @access public - */ - public $post_type; - - /** - * The taxonomy associated with the screen, if any. - * The 'edit-tags.php?taxonomy=category' screen has a taxonomy of 'category'. - * @since 3.3.0 - * @var string - * @access public - */ - public $taxonomy; - - /** - * The help tab data associated with the screen, if any. - * - * @since 3.3.0 - * @var array - * @access private - */ - private $_help_tabs = array(); - - /** - * The help sidebar data associated with screen, if any. - * - * @since 3.3.0 - * @var string - * @access private - */ - private $_help_sidebar = ''; - - /** - * Stores old string-based help. - * - * @static - * @access private - * - * @var array - */ - private static $_old_compat_help = array(); - - /** - * The screen options associated with screen, if any. - * - * @since 3.3.0 - * @var array - * @access private - */ - private $_options = array(); - - /** - * The screen object registry. - * - * @since 3.3.0 - * - * @static - * @access private - * - * @var array - */ - private static $_registry = array(); - - /** - * Stores the result of the public show_screen_options function. - * - * @since 3.3.0 - * @var bool - * @access private - */ - private $_show_screen_options; - - /** - * Stores the 'screen_settings' section of screen options. - * - * @since 3.3.0 - * @var string - * @access private - */ - private $_screen_settings; - - /** - * Fetches a screen object. - * - * @since 3.3.0 - * @access public - * - * @static - * - * @global string $hook_suffix - * - * @param string|WP_Screen $hook_name Optional. The hook name (also known as the hook suffix) used to determine the screen. - * Defaults to the current $hook_suffix global. - * @return WP_Screen Screen object. - */ - public static function get( $hook_name = '' ) { - if ( $hook_name instanceof WP_Screen ) { - return $hook_name; - } - - $post_type = $taxonomy = null; - $in_admin = false; - $action = ''; - - if ( $hook_name ) - $id = $hook_name; - else - $id = $GLOBALS['hook_suffix']; - - // For those pesky meta boxes. - if ( $hook_name && post_type_exists( $hook_name ) ) { - $post_type = $id; - $id = 'post'; // changes later. ends up being $base. - } else { - if ( '.php' == substr( $id, -4 ) ) - $id = substr( $id, 0, -4 ); - - if ( 'post-new' == $id || 'link-add' == $id || 'media-new' == $id || 'user-new' == $id ) { - $id = substr( $id, 0, -4 ); - $action = 'add'; - } - } - - if ( ! $post_type && $hook_name ) { - if ( '-network' == substr( $id, -8 ) ) { - $id = substr( $id, 0, -8 ); - $in_admin = 'network'; - } elseif ( '-user' == substr( $id, -5 ) ) { - $id = substr( $id, 0, -5 ); - $in_admin = 'user'; - } - - $id = sanitize_key( $id ); - if ( 'edit-comments' != $id && 'edit-tags' != $id && 'edit-' == substr( $id, 0, 5 ) ) { - $maybe = substr( $id, 5 ); - if ( taxonomy_exists( $maybe ) ) { - $id = 'edit-tags'; - $taxonomy = $maybe; - } elseif ( post_type_exists( $maybe ) ) { - $id = 'edit'; - $post_type = $maybe; - } - } - - if ( ! $in_admin ) - $in_admin = 'site'; - } else { - if ( defined( 'WP_NETWORK_ADMIN' ) && WP_NETWORK_ADMIN ) - $in_admin = 'network'; - elseif ( defined( 'WP_USER_ADMIN' ) && WP_USER_ADMIN ) - $in_admin = 'user'; - else - $in_admin = 'site'; - } - - if ( 'index' == $id ) - $id = 'dashboard'; - elseif ( 'front' == $id ) - $in_admin = false; - - $base = $id; - - // If this is the current screen, see if we can be more accurate for post types and taxonomies. - if ( ! $hook_name ) { - if ( isset( $_REQUEST['post_type'] ) ) - $post_type = post_type_exists( $_REQUEST['post_type'] ) ? $_REQUEST['post_type'] : false; - if ( isset( $_REQUEST['taxonomy'] ) ) - $taxonomy = taxonomy_exists( $_REQUEST['taxonomy'] ) ? $_REQUEST['taxonomy'] : false; - - switch ( $base ) { - case 'post' : - if ( isset( $_GET['post'] ) ) - $post_id = (int) $_GET['post']; - elseif ( isset( $_POST['post_ID'] ) ) - $post_id = (int) $_POST['post_ID']; - else - $post_id = 0; - - if ( $post_id ) { - $post = get_post( $post_id ); - if ( $post ) - $post_type = $post->post_type; - } - break; - case 'edit-tags' : - if ( null === $post_type && is_object_in_taxonomy( 'post', $taxonomy ? $taxonomy : 'post_tag' ) ) - $post_type = 'post'; - break; - } - } - - switch ( $base ) { - case 'post' : - if ( null === $post_type ) - $post_type = 'post'; - $id = $post_type; - break; - case 'edit' : - if ( null === $post_type ) - $post_type = 'post'; - $id .= '-' . $post_type; - break; - case 'edit-tags' : - if ( null === $taxonomy ) - $taxonomy = 'post_tag'; - // The edit-tags ID does not contain the post type. Look for it in the request. - if ( null === $post_type ) { - $post_type = 'post'; - if ( isset( $_REQUEST['post_type'] ) && post_type_exists( $_REQUEST['post_type'] ) ) - $post_type = $_REQUEST['post_type']; - } - - $id = 'edit-' . $taxonomy; - break; - } - - if ( 'network' == $in_admin ) { - $id .= '-network'; - $base .= '-network'; - } elseif ( 'user' == $in_admin ) { - $id .= '-user'; - $base .= '-user'; - } - - if ( isset( self::$_registry[ $id ] ) ) { - $screen = self::$_registry[ $id ]; - if ( $screen === get_current_screen() ) - return $screen; - } else { - $screen = new WP_Screen(); - $screen->id = $id; - } - - $screen->base = $base; - $screen->action = $action; - $screen->post_type = (string) $post_type; - $screen->taxonomy = (string) $taxonomy; - $screen->is_user = ( 'user' == $in_admin ); - $screen->is_network = ( 'network' == $in_admin ); - $screen->in_admin = $in_admin; - - self::$_registry[ $id ] = $screen; - - return $screen; - } - - /** - * Makes the screen object the current screen. - * - * @see set_current_screen() - * @since 3.3.0 - * - * @global WP_Screen $current_screen - * @global string $taxnow - * @global string $typenow - */ - public function set_current_screen() { - global $current_screen, $taxnow, $typenow; - $current_screen = $this; - $taxnow = $this->taxonomy; - $typenow = $this->post_type; - - /** - * Fires after the current screen has been set. - * - * @since 3.0.0 - * - * @param WP_Screen $current_screen Current WP_Screen object. - */ - do_action( 'current_screen', $current_screen ); - } - - /** - * Constructor - * - * @since 3.3.0 - * @access private - */ - private function __construct() {} - - /** - * Indicates whether the screen is in a particular admin - * - * @since 3.5.0 - * - * @param string $admin The admin to check against (network | user | site). - * If empty any of the three admins will result in true. - * @return bool True if the screen is in the indicated admin, false otherwise. - */ - public function in_admin( $admin = null ) { - if ( empty( $admin ) ) - return (bool) $this->in_admin; - - return ( $admin == $this->in_admin ); - } - - /** - * Sets the old string-based contextual help for the screen. - * - * For backwards compatibility. - * - * @since 3.3.0 - * - * @static - * - * @param WP_Screen $screen A screen object. - * @param string $help Help text. - */ - public static function add_old_compat_help( $screen, $help ) { - self::$_old_compat_help[ $screen->id ] = $help; - } - - /** - * Set the parent information for the screen. - * This is called in admin-header.php after the menu parent for the screen has been determined. - * - * @since 3.3.0 - * - * @param string $parent_file The parent file of the screen. Typically the $parent_file global. - */ - public function set_parentage( $parent_file ) { - $this->parent_file = $parent_file; - list( $this->parent_base ) = explode( '?', $parent_file ); - $this->parent_base = str_replace( '.php', '', $this->parent_base ); - } - - /** - * Adds an option for the screen. - * Call this in template files after admin.php is loaded and before admin-header.php is loaded to add screen options. - * - * @since 3.3.0 - * - * @param string $option Option ID - * @param mixed $args Option-dependent arguments. - */ - public function add_option( $option, $args = array() ) { - $this->_options[ $option ] = $args; - } - - /** - * Remove an option from the screen. - * - * @since 3.8.0 - * - * @param string $option Option ID. - */ - public function remove_option( $option ) { - unset( $this->_options[ $option ] ); - } - - /** - * Remove all options from the screen. - * - * @since 3.8.0 - */ - public function remove_options() { - $this->_options = array(); - } - - /** - * Get the options registered for the screen. - * - * @since 3.8.0 - * - * @return array Options with arguments. - */ - public function get_options() { - return $this->_options; - } - - /** - * Gets the arguments for an option for the screen. - * - * @since 3.3.0 - * - * @param string $option Option name. - * @param string $key Optional. Specific array key for when the option is an array. - * Default false. - * @return string The option value if set, null otherwise. - */ - public function get_option( $option, $key = false ) { - if ( ! isset( $this->_options[ $option ] ) ) - return null; - if ( $key ) { - if ( isset( $this->_options[ $option ][ $key ] ) ) - return $this->_options[ $option ][ $key ]; - return null; - } - return $this->_options[ $option ]; - } - - /** - * Gets the help tabs registered for the screen. - * - * @since 3.4.0 - * - * @return array Help tabs with arguments. - */ - public function get_help_tabs() { - return $this->_help_tabs; - } - - /** - * Gets the arguments for a help tab. - * - * @since 3.4.0 - * - * @param string $id Help Tab ID. - * @return array Help tab arguments. - */ - public function get_help_tab( $id ) { - if ( ! isset( $this->_help_tabs[ $id ] ) ) - return null; - return $this->_help_tabs[ $id ]; - } - - /** - * Add a help tab to the contextual help for the screen. - * Call this on the load-$pagenow hook for the relevant screen. - * - * @since 3.3.0 - * - * @param array $args - * - string - title - Title for the tab. - * - string - id - Tab ID. Must be HTML-safe. - * - string - content - Help tab content in plain text or HTML. Optional. - * - callback - callback - A callback to generate the tab content. Optional. - * - */ - public function add_help_tab( $args ) { - $defaults = array( - 'title' => false, - 'id' => false, - 'content' => '', - 'callback' => false, - ); - $args = wp_parse_args( $args, $defaults ); - - $args['id'] = sanitize_html_class( $args['id'] ); - - // Ensure we have an ID and title. - if ( ! $args['id'] || ! $args['title'] ) - return; - - // Allows for overriding an existing tab with that ID. - $this->_help_tabs[ $args['id'] ] = $args; - } - - /** - * Removes a help tab from the contextual help for the screen. - * - * @since 3.3.0 - * - * @param string $id The help tab ID. - */ - public function remove_help_tab( $id ) { - unset( $this->_help_tabs[ $id ] ); - } - - /** - * Removes all help tabs from the contextual help for the screen. - * - * @since 3.3.0 - */ - public function remove_help_tabs() { - $this->_help_tabs = array(); - } - - /** - * Gets the content from a contextual help sidebar. - * - * @since 3.4.0 - * - * @return string Contents of the help sidebar. - */ - public function get_help_sidebar() { - return $this->_help_sidebar; - } - - /** - * Add a sidebar to the contextual help for the screen. - * Call this in template files after admin.php is loaded and before admin-header.php is loaded to add a sidebar to the contextual help. - * - * @since 3.3.0 - * - * @param string $content Sidebar content in plain text or HTML. - */ - public function set_help_sidebar( $content ) { - $this->_help_sidebar = $content; - } - - /** - * Gets the number of layout columns the user has selected. - * - * The layout_columns option controls the max number and default number of - * columns. This method returns the number of columns within that range selected - * by the user via Screen Options. If no selection has been made, the default - * provisioned in layout_columns is returned. If the screen does not support - * selecting the number of layout columns, 0 is returned. - * - * @since 3.4.0 - * - * @return int Number of columns to display. - */ - public function get_columns() { - return $this->columns; - } - - /** - * Render the screen's help section. - * - * This will trigger the deprecated filters for backwards compatibility. - * - * @since 3.3.0 - * - * @global string $screen_layout_columns - */ - public function render_screen_meta() { - - /** - * Filter the legacy contextual help list. - * - * @since 2.7.0 - * @deprecated 3.3.0 Use get_current_screen()->add_help_tab() or - * get_current_screen()->remove_help_tab() instead. - * - * @param array $old_compat_help Old contextual help. - * @param WP_Screen $this Current WP_Screen instance. - */ - self::$_old_compat_help = apply_filters( 'contextual_help_list', self::$_old_compat_help, $this ); - - $old_help = isset( self::$_old_compat_help[ $this->id ] ) ? self::$_old_compat_help[ $this->id ] : ''; - - /** - * Filter the legacy contextual help text. - * - * @since 2.7.0 - * @deprecated 3.3.0 Use get_current_screen()->add_help_tab() or - * get_current_screen()->remove_help_tab() instead. - * - * @param string $old_help Help text that appears on the screen. - * @param string $screen_id Screen ID. - * @param WP_Screen $this Current WP_Screen instance. - * - */ - $old_help = apply_filters( 'contextual_help', $old_help, $this->id, $this ); - - // Default help only if there is no old-style block of text and no new-style help tabs. - if ( empty( $old_help ) && ! $this->get_help_tabs() ) { - - /** - * Filter the default legacy contextual help text. - * - * @since 2.8.0 - * @deprecated 3.3.0 Use get_current_screen()->add_help_tab() or - * get_current_screen()->remove_help_tab() instead. - * - * @param string $old_help_default Default contextual help text. - */ - $default_help = apply_filters( 'default_contextual_help', '' ); - if ( $default_help ) - $old_help = '

    ' . $default_help . '

    '; - } - - if ( $old_help ) { - $this->add_help_tab( array( - 'id' => 'old-contextual-help', - 'title' => __('Overview'), - 'content' => $old_help, - ) ); - } - - $help_sidebar = $this->get_help_sidebar(); - - $help_class = 'hidden'; - if ( ! $help_sidebar ) - $help_class .= ' no-sidebar'; - - // Time to render! - ?> -
    - -
    -
    -
    -
    -
      - get_help_tabs() as $tab ) : - $link_id = "tab-link-{$tab['id']}"; - $panel_id = "tab-panel-{$tab['id']}"; - ?> - - - -
    -
    - - -
    - -
    - - -
    - get_help_tabs() as $tab ): - $panel_id = "tab-panel-{$tab['id']}"; - ?> - -
    - -
    - -
    -
    -
    - id, $this ); - - if ( ! empty( $columns ) && isset( $columns[ $this->id ] ) ) - $this->add_option( 'layout_columns', array('max' => $columns[ $this->id ] ) ); - - if ( $this->get_option( 'layout_columns' ) ) { - $this->columns = (int) get_user_option("screen_layout_$this->id"); - - if ( ! $this->columns && $this->get_option( 'layout_columns', 'default' ) ) - $this->columns = $this->get_option( 'layout_columns', 'default' ); - } - $GLOBALS[ 'screen_layout_columns' ] = $this->columns; // Set the global for back-compat. - - // Add screen options - if ( $this->show_screen_options() ) - $this->render_screen_options(); - ?> -
    - get_help_tabs() && ! $this->show_screen_options() ) - return; - ?> - - _show_screen_options ) ) - return $this->_show_screen_options; - - $columns = get_column_headers( $this ); - - $show_screen = ! empty( $wp_meta_boxes[ $this->id ] ) || $columns || $this->get_option( 'per_page' ); - - switch ( $this->base ) { - case 'widgets': - $this->_screen_settings = '

    ' . __('Enable accessibility mode') . '' . __('Disable accessibility mode') . "

    \n"; - break; - case 'post' : - $expand = ''; - $this->_screen_settings = $expand; - break; - default: - $this->_screen_settings = ''; - break; - } - - /** - * Filter the screen settings text displayed in the Screen Options tab. - * - * This filter is currently only used on the Widgets screen to enable - * accessibility mode. - * - * @since 3.0.0 - * - * @param string $screen_settings Screen settings. - * @param WP_Screen $this WP_Screen object. - */ - $this->_screen_settings = apply_filters( 'screen_settings', $this->_screen_settings, $this ); - - if ( $this->_screen_settings || $this->_options ) - $show_screen = true; - - /** - * Filter whether to show the Screen Options tab. - * - * @since 3.2.0 - * - * @param bool $show_screen Whether to show Screen Options tab. - * Default true. - * @param WP_Screen $this Current WP_Screen instance. - */ - $this->_show_screen_options = apply_filters( 'screen_options_show_screen', $show_screen, $this ); - return $this->_show_screen_options; - } - - /** - * Render the screen options tab. - * - * @since 3.3.0 - * - * @global array $wp_meta_boxes - */ - public function render_screen_options() { - global $wp_meta_boxes; - - $columns = get_column_headers( $this ); - $hidden = get_hidden_columns( $this ); - - ?> - - get_option('layout_columns') ) - return; - - $screen_layout_columns = $this->get_columns(); - $num = $this->get_option( 'layout_columns', 'max' ); - - ?> -
    -
    - - -
    - get_option( 'per_page' ) ) { - return; - } - - $per_page_label = $this->get_option( 'per_page', 'label' ); - if ( null === $per_page_label ) { - $per_page_label = __( 'Number of items per page:' ); - } - - $option = $this->get_option( 'per_page', 'option' ); - if ( ! $option ) { - $option = str_replace( '-', '_', "{$this->id}_per_page" ); - } - - $per_page = (int) get_user_option( $option ); - if ( empty( $per_page ) || $per_page < 1 ) { - $per_page = $this->get_option( 'per_page', 'default' ); - if ( ! $per_page ) { - $per_page = 20; - } - } - - if ( 'edit_comments_per_page' == $option ) { - $comment_status = isset( $_REQUEST['comment_status'] ) ? $_REQUEST['comment_status'] : 'all'; - - /** This filter is documented in wp-admin/includes/class-wp-comments-list-table.php */ - $per_page = apply_filters( 'comments_per_page', $per_page, $comment_status ); - } elseif ( 'categories_per_page' == $option ) { - /** This filter is documented in wp-admin/includes/class-wp-terms-list-table.php */ - $per_page = apply_filters( 'edit_categories_per_page', $per_page ); - } else { - /** This filter is documented in wp-admin/includes/class-wp-list-table.php */ - $per_page = apply_filters( $option, $per_page ); - } - - // Back compat - if ( isset( $this->post_type ) ) { - /** This filter is documented in wp-admin/includes/class-wp-posts-list-table.php */ - $per_page = apply_filters( 'edit_posts_per_page', $per_page, $this->post_type ); - } - - ?> -
    - - - - - -
    - 'parent', 'id' => 'term_id'); //TODO: decouple this - - /** - * Starts the list before the elements are added. - * - * @see Walker:start_lvl() - * - * @since 2.5.1 - * - * @param string $output Passed by reference. Used to append additional content. - * @param int $depth Depth of category. Used for tab indentation. - * @param array $args An array of arguments. @see wp_terms_checklist() - */ - public function start_lvl( &$output, $depth = 0, $args = array() ) { - $indent = str_repeat("\t", $depth); - $output .= "$indent
      \n"; - } - - /** - * Ends the list of after the elements are added. - * - * @see Walker::end_lvl() - * - * @since 2.5.1 - * - * @param string $output Passed by reference. Used to append additional content. - * @param int $depth Depth of category. Used for tab indentation. - * @param array $args An array of arguments. @see wp_terms_checklist() - */ - public function end_lvl( &$output, $depth = 0, $args = array() ) { - $indent = str_repeat("\t", $depth); - $output .= "$indent
    \n"; - } - - /** - * Start the element output. - * - * @see Walker::start_el() - * - * @since 2.5.1 - * - * @param string $output Passed by reference. Used to append additional content. - * @param object $category The current term object. - * @param int $depth Depth of the term in reference to parents. Default 0. - * @param array $args An array of arguments. @see wp_terms_checklist() - * @param int $id ID of the current term. - */ - public function start_el( &$output, $category, $depth = 0, $args = array(), $id = 0 ) { - if ( empty( $args['taxonomy'] ) ) { - $taxonomy = 'category'; - } else { - $taxonomy = $args['taxonomy']; - } - - if ( $taxonomy == 'category' ) { - $name = 'post_category'; - } else { - $name = 'tax_input[' . $taxonomy . ']'; - } - - $args['popular_cats'] = empty( $args['popular_cats'] ) ? array() : $args['popular_cats']; - $class = in_array( $category->term_id, $args['popular_cats'] ) ? ' class="popular-category"' : ''; - - $args['selected_cats'] = empty( $args['selected_cats'] ) ? array() : $args['selected_cats']; - - /** This filter is documented in wp-includes/category-template.php */ - if ( ! empty( $args['list_only'] ) ) { - $aria_cheched = 'false'; - $inner_class = 'category'; - - if ( in_array( $category->term_id, $args['selected_cats'] ) ) { - $inner_class .= ' selected'; - $aria_cheched = 'true'; - } - - $output .= "\n" . '' . - ''; - } else { - $output .= "\n
  • " . - ''; - } - } - - /** - * Ends the element output, if needed. - * - * @see Walker::end_el() - * - * @since 2.5.1 - * - * @param string $output Passed by reference. Used to append additional content. - * @param object $category The current term object. - * @param int $depth Depth of the term in reference to parents. Default 0. - * @param array $args An array of arguments. @see wp_terms_checklist() - */ - public function end_el( &$output, $category, $depth = 0, $args = array() ) { - $output .= "
  • \n"; - } -} - /** * Output an unordered list of checkbox input elements labeled with category names. * @@ -164,6 +54,7 @@ function wp_category_checklist( $post_id = 0, $descendants_and_self = 0, $select * Taxonomy-independent version of wp_category_checklist(). * * @since 3.0.0 + * @since 4.4.0 Introduced the `$echo` argument. * * @param int $post_id Optional. Post ID. Default 0. * @param array|string $args { @@ -179,6 +70,8 @@ function wp_category_checklist( $post_id = 0, $descendants_and_self = 0, $select * @type string $taxonomy Taxonomy to generate the checklist for. Default 'category'. * @type bool $checked_ontop Whether to move checked items out of the hierarchy and to * the top of the list. Default true. + * @type bool $echo Whether to echo the generated markup. False to return the markup instead + * of echoing it. Default true. * } */ function wp_terms_checklist( $post_id = 0, $args = array() ) { @@ -188,7 +81,8 @@ function wp_terms_checklist( $post_id = 0, $args = array() ) { 'popular_cats' => false, 'walker' => null, 'taxonomy' => 'category', - 'checked_ontop' => true + 'checked_ontop' => true, + 'echo' => true, ); /** @@ -251,12 +145,14 @@ function wp_terms_checklist( $post_id = 0, $args = array() ) { $categories = (array) get_terms( $taxonomy, array( 'get' => 'all' ) ); } + $output = ''; + if ( $r['checked_ontop'] ) { // Post process $categories rather than adding an exclude to the get_terms() query to keep the query the same across all posts (for any query cache) $checked_categories = array(); $keys = array_keys( $categories ); - foreach( $keys as $k ) { + foreach ( $keys as $k ) { if ( in_array( $categories[$k]->term_id, $args['selected_cats'] ) ) { $checked_categories[] = $categories[$k]; unset( $categories[$k] ); @@ -264,10 +160,16 @@ function wp_terms_checklist( $post_id = 0, $args = array() ) { } // Put checked cats on top - echo call_user_func_array( array( $walker, 'walk' ), array( $checked_categories, 0, $args ) ); + $output .= call_user_func_array( array( $walker, 'walk' ), array( $checked_categories, 0, $args ) ); } // Then the rest of them - echo call_user_func_array( array( $walker, 'walk' ), array( $categories, 0, $args ) ); + $output .= call_user_func_array( array( $walker, 'walk' ), array( $categories, 0, $args ) ); + + if ( $r['echo'] ) { + echo $output; + } + + return $output; } /** @@ -323,7 +225,7 @@ function wp_popular_terms_checklist( $taxonomy, $default = 0, $number = 10, $ech } /** - * {@internal Missing Short Description}} + * Outputs a link category checklist element. * * @since 2.5.1 * @@ -376,8 +278,9 @@ function get_inline_data($post) { /** This filter is documented in wp-admin/edit-tag-form.php */ echo ' '; } } @@ -432,7 +340,7 @@ function get_inline_data($post) { } /** - * {@internal Missing Short Description}} + * Outputs the in-line comment reply-to form in the Comments list table. * * @since 2.7.0 * @@ -482,16 +390,29 @@ function wp_comment_reply( $position = 1, $checkbox = false, $mode = 'single', $
    -
    -
    - + + " . __('There are no options for this widget.') . "

    \n"; ?> -
    + } else { + echo "\t\t

    " . __('There are no options for this widget.') . "

    \n"; + } + ?> + @@ -252,7 +259,7 @@ function wp_widget_control( $sidebar_args ) {

    - +
    @@ -263,3 +270,12 @@ function wp_widget_control( $sidebar_args ) { return $sidebar_args; } + +/** + * + * @param string $classes + * @return string + */ +function wp_widgets_access_body_class($classes) { + return "$classes widgets_access "; +} \ No newline at end of file diff --git a/wp-admin/index.php b/wp-admin/index.php index 9143928..abf1ac5 100644 --- a/wp-admin/index.php +++ b/wp-admin/index.php @@ -52,9 +52,9 @@ $screen->add_help_tab( array( ) ); $help = '

    ' . __( 'You can use the following controls to arrange your Dashboard screen to suit your workflow. This is true on most other administration screens as well.' ) . '

    '; -$help .= '

    ' . __( 'Screen Options - Use the Screen Options tab to choose which Dashboard boxes to show.' ) . '

    '; -$help .= '

    ' . __( 'Drag and Drop - To rearrange the boxes, drag and drop by clicking on the title bar of the selected box and releasing when you see a gray dotted-line rectangle appear in the location you want to place the box.' ) . '

    '; -$help .= '

    ' . __( 'Box Controls - Click the title bar of the box to expand or collapse it. Some boxes added by plugins may have configurable content, and will show a “Configure” link in the title bar if you hover over it.' ) . '

    '; +$help .= '

    ' . __( 'Screen Options — Use the Screen Options tab to choose which Dashboard boxes to show.' ) . '

    '; +$help .= '

    ' . __( 'Drag and Drop — To rearrange the boxes, drag and drop by clicking on the title bar of the selected box and releasing when you see a gray dotted-line rectangle appear in the location you want to place the box.' ) . '

    '; +$help .= '

    ' . __( 'Box Controls — Click the title bar of the box to expand or collapse it. Some boxes added by plugins may have configurable content, and will show a “Configure” link in the title bar if you hover over it.' ) . '

    '; $screen->add_help_tab( array( 'id' => 'help-layout', @@ -64,16 +64,16 @@ $screen->add_help_tab( array( $help = '

    ' . __( 'The boxes on your Dashboard screen are:' ) . '

    '; if ( current_user_can( 'edit_posts' ) ) - $help .= '

    ' . __( 'At A Glance - Displays a summary of the content on your site and identifies which theme and version of WordPress you are using.' ) . '

    '; - $help .= '

    ' . __( 'Activity - Shows the upcoming scheduled posts, recently published posts, and the most recent comments on your posts and allows you to moderate them.' ) . '

    '; + $help .= '

    ' . __( 'At A Glance — Displays a summary of the content on your site and identifies which theme and version of WordPress you are using.' ) . '

    '; + $help .= '

    ' . __( 'Activity — Shows the upcoming scheduled posts, recently published posts, and the most recent comments on your posts and allows you to moderate them.' ) . '

    '; if ( is_blog_admin() && current_user_can( 'edit_posts' ) ) - $help .= '

    ' . __( "Quick Draft - Allows you to create a new post and save it as a draft. Also displays links to the 5 most recent draft posts you've started." ) . '

    '; + $help .= '

    ' . __( "Quick Draft — Allows you to create a new post and save it as a draft. Also displays links to the 5 most recent draft posts you've started." ) . '

    '; if ( ! is_multisite() && current_user_can( 'install_plugins' ) ) - $help .= '

    ' . __( 'WordPress News - Latest news from the official WordPress project, the WordPress Planet, and popular and recent plugins.' ) . '

    '; + $help .= '

    ' . __( 'WordPress News — Latest news from the official WordPress project, the WordPress Planet, and popular and recent plugins.' ) . '

    '; else - $help .= '

    ' . __( 'WordPress News - Latest news from the official WordPress project, the WordPress Planet.' ) . '

    '; + $help .= '

    ' . __( 'WordPress News — Latest news from the official WordPress project, the WordPress Planet.' ) . '

    '; if ( current_user_can( 'edit_theme_options' ) ) - $help .= '

    ' . __( 'Welcome - Shows links for some of the most common tasks when setting up a new site.' ) . '

    '; + $help .= '

    ' . __( 'Welcome — Shows links for some of the most common tasks when setting up a new site.' ) . '

    '; $screen->add_help_tab( array( 'id' => 'help-content', diff --git a/wp-admin/install-helper.php b/wp-admin/install-helper.php index 1a3ced5..42eb31e 100644 --- a/wp-admin/install-helper.php +++ b/wp-admin/install-helper.php @@ -154,7 +154,7 @@ function maybe_drop_column($table_name, $column_name, $drop_ddl) { * * @since 1.0.0 * - * @global wpdb $wpdb + * @global wpdb $wpdb WordPress database abstraction object. * * @param string $table_name Table name * @param string $col_name Column name diff --git a/wp-admin/install.php b/wp-admin/install.php index 2c0c607..0e30ec0 100644 --- a/wp-admin/install.php +++ b/wp-admin/install.php @@ -16,8 +16,8 @@ if ( false ) { Error: PHP is not running -

    WordPress

    -

    Error: PHP is not running

    + +

    Error: PHP is not running

    WordPress requires that your web server is running PHP. Your server does not have PHP installed, or PHP is turned off.

    @@ -69,6 +69,7 @@ function display_header( $body_classes = '' ) { + <?php _e( 'WordPress › Installation' ); ?> -

    + +

    @@ -172,13 +174,32 @@ function display_setup_form( $error = null ) { - +

    - - + + +
    + + + /> +
    + /> + +

    + + +

    + +
    +

    'submit' ) ); ?>

    @@ -190,7 +211,7 @@ function display_setup_form( $error = null ) { // Let's check to make sure WP isn't already installed. if ( is_blog_installed() ) { display_header(); - die( '

    ' . __( 'Already Installed' ) . '

    ' . __( 'You appear to have already installed WordPress. To reinstall please clear your old database tables first.' ) . '

    ' . __( 'Log In' ) . '

    ' ); + die( '

    ' . __( 'Already Installed' ) . '

    ' . __( 'You appear to have already installed WordPress. To reinstall please clear your old database tables first.' ) . '

    ' . __( 'Log In' ) . '

    ' ); } /** @@ -267,7 +288,7 @@ switch($step) {

    -

    +

    -

    +

    ',e='
    ',f='
    ',g='';c={options:{defaultColor:!1,change:!1,clear:!1,hide:!0,palettes:!0,width:255,mode:"hsv"},_create:function(){if(a.support.iris){var b=this,c=b.element;a.extend(b.options,c.data()),b.close=a.proxy(b.close,b),b.initialValue=c.val(),c.addClass("wp-color-picker").hide().wrap(f),b.wrap=c.parent(),b.toggler=a(d).insertBefore(c).css({backgroundColor:b.initialValue}).attr("title",wpColorPickerL10n.pick).attr("data-current",wpColorPickerL10n.current),b.pickerContainer=a(e).insertAfter(c),b.button=a(g),b.options.defaultColor?b.button.addClass("wp-picker-default").val(wpColorPickerL10n.defaultString):b.button.addClass("wp-picker-clear").val(wpColorPickerL10n.clear),c.wrap('').after(b.button),c.iris({target:b.pickerContainer,hide:b.options.hide,width:b.options.width,mode:b.options.mode,palettes:b.options.palettes,change:function(c,d){b.toggler.css({backgroundColor:d.color.toString()}),a.isFunction(b.options.change)&&b.options.change.call(this,c,d)}}),c.val(b.initialValue),b._addListeners(),b.options.hide||b.toggler.click()}},_addListeners:function(){var b=this;b.wrap.on("click.wpcolorpicker",function(a){a.stopPropagation()}),b.toggler.click(function(){b.toggler.hasClass("wp-picker-open")?b.close():b.open()}),b.element.change(function(c){var d=a(this),e=d.val();(""===e||"#"===e)&&(b.toggler.css("backgroundColor",""),a.isFunction(b.options.clear)&&b.options.clear.call(this,c))}),b.toggler.on("keyup",function(a){(13===a.keyCode||32===a.keyCode)&&(a.preventDefault(),b.toggler.trigger("click").next().focus())}),b.button.click(function(c){var d=a(this);d.hasClass("wp-picker-clear")?(b.element.val(""),b.toggler.css("backgroundColor",""),a.isFunction(b.options.clear)&&b.options.clear.call(this,c)):d.hasClass("wp-picker-default")&&b.element.val(b.options.defaultColor).change()})},open:function(){this.element.show().iris("toggle").focus(),this.button.removeClass("hidden"),this.toggler.addClass("wp-picker-open"),a("body").trigger("click.wpcolorpicker").on("click.wpcolorpicker",this.close)},close:function(){this.element.hide().iris("toggle"),this.button.addClass("hidden"),this.toggler.removeClass("wp-picker-open"),a("body").off("click.wpcolorpicker",this.close)},color:function(a){return a===b?this.element.iris("option","color"):void this.element.iris("option","color",a)},defaultColor:function(a){return a===b?this.options.defaultColor:void(this.options.defaultColor=a)}},a.widget("wp.wpColorPicker",c)}(jQuery); \ No newline at end of file +!function(a,b){var c,d='',e='
    ',f='
    ',g='';c={options:{defaultColor:!1,change:!1,clear:!1,hide:!0,palettes:!0,width:255,mode:"hsv"},_create:function(){if(a.support.iris){var b=this,c=b.element;a.extend(b.options,c.data()),b.close=a.proxy(b.close,b),b.initialValue=c.val(),c.addClass("wp-color-picker").hide().wrap(f),b.wrap=c.parent(),b.toggler=a(d).insertBefore(c).css({backgroundColor:b.initialValue}).attr("title",wpColorPickerL10n.pick).attr("data-current",wpColorPickerL10n.current),b.pickerContainer=a(e).insertAfter(c),b.button=a(g),b.options.defaultColor?b.button.addClass("wp-picker-default").val(wpColorPickerL10n.defaultString):b.button.addClass("wp-picker-clear").val(wpColorPickerL10n.clear),c.wrap('').after(b.button),c.iris({target:b.pickerContainer,hide:b.options.hide,width:b.options.width,mode:b.options.mode,palettes:b.options.palettes,change:function(c,d){b.toggler.css({backgroundColor:d.color.toString()}),a.isFunction(b.options.change)&&b.options.change.call(this,c,d)}}),c.val(b.initialValue),b._addListeners(),b.options.hide||b.toggler.click()}},_addListeners:function(){var b=this;b.wrap.on("click.wpcolorpicker",function(a){a.stopPropagation()}),b.toggler.click(function(){b.toggler.hasClass("wp-picker-open")?b.close():b.open()}),b.element.change(function(c){var d=a(this),e=d.val();(""===e||"#"===e)&&(b.toggler.css("backgroundColor",""),a.isFunction(b.options.clear)&&b.options.clear.call(this,c))}),b.toggler.on("keyup",function(a){(13===a.keyCode||32===a.keyCode)&&(a.preventDefault(),b.toggler.trigger("click").next().focus())}),b.button.click(function(c){var d=a(this);d.hasClass("wp-picker-clear")?(b.element.val(""),b.toggler.css("backgroundColor",""),a.isFunction(b.options.clear)&&b.options.clear.call(this,c)):d.hasClass("wp-picker-default")&&b.element.val(b.options.defaultColor).change()})},open:function(){this.element.show().iris("toggle").focus(),this.button.removeClass("hidden"),this.wrap.addClass("wp-picker-active"),this.toggler.addClass("wp-picker-open"),a("body").trigger("click.wpcolorpicker").on("click.wpcolorpicker",this.close)},close:function(){this.element.hide().iris("toggle"),this.button.addClass("hidden"),this.wrap.removeClass("wp-picker-active"),this.toggler.removeClass("wp-picker-open"),a("body").off("click.wpcolorpicker",this.close)},color:function(a){return a===b?this.element.iris("option","color"):void this.element.iris("option","color",a)},defaultColor:function(a){return a===b?this.options.defaultColor:void(this.options.defaultColor=a)}},a.widget("wp.wpColorPicker",c)}(jQuery); \ No newline at end of file diff --git a/wp-admin/js/common.js b/wp-admin/js/common.js index 5b5741c..796e140 100644 --- a/wp-admin/js/common.js +++ b/wp-admin/js/common.js @@ -1,6 +1,10 @@ /* global setUserSetting, ajaxurl, commonL10n, alert, confirm, pagenow */ var showNotice, adminMenu, columns, validateForm, screenMeta; ( function( $, window, undefined ) { + var $document = $( document ), + $window = $( window ), + $body = $( document.body ); + // Removed in 3.3. // (perhaps) needed for back-compat adminMenu = { @@ -70,7 +74,7 @@ columns = { } }; -$(document).ready(function(){columns.init();}); +$document.ready(function(){columns.init();}); validateForm = function( form ) { return !$( form ) @@ -133,7 +137,7 @@ screenMeta = { button.addClass( 'screen-meta-active' ).attr( 'aria-expanded', true ); }); - $( document ).trigger( 'screen:options:open' ); + $document.trigger( 'screen:options:open' ); }, close: function( panel, button ) { @@ -143,7 +147,7 @@ screenMeta = { panel.parent().hide(); }); - $( document ).trigger( 'screen:options:close' ); + $document.trigger( 'screen:options:close' ); } }; @@ -171,17 +175,14 @@ $('.contextual-help-tabs').delegate('a', 'click', function(e) { panel.addClass('active').show(); }); -$(document).ready( function() { - var checks, first, last, checked, sliced, mobileEvent, transitionTimeout, focusedRowActions, $firstHeading, +$document.ready( function() { + var checks, first, last, checked, sliced, mobileEvent, transitionTimeout, focusedRowActions, lastClicked = false, pageInput = $('input.current-page'), currentPage = pageInput.val(), isIOS = /iPhone|iPad|iPod/.test( navigator.userAgent ), isAndroid = navigator.userAgent.indexOf( 'Android' ) !== -1, isIE8 = $( document.documentElement ).hasClass( 'ie8' ), - $document = $( document ), - $window = $( window ), - $body = $( document.body ), $adminMenuWrap = $( '#adminmenuwrap' ), $wpwrap = $( '#wpwrap' ), $adminmenu = $( '#adminmenu' ), @@ -210,7 +211,7 @@ $(document).ready( function() { }); $('#collapse-menu').on('click.collapse-menu', function() { - var body = $( document.body ), respWidth, state; + var respWidth, state; // reset any compensation for submenus near the bottom of the screen $('#adminmenu div.wp-submenu').css('margin-top', ''); @@ -224,31 +225,54 @@ $(document).ready( function() { } if ( respWidth && respWidth < 960 ) { - if ( body.hasClass('auto-fold') ) { - body.removeClass('auto-fold').removeClass('folded'); + if ( $body.hasClass('auto-fold') ) { + $body.removeClass('auto-fold').removeClass('folded'); setUserSetting('unfold', 1); setUserSetting('mfold', 'o'); state = 'open'; } else { - body.addClass('auto-fold'); + $body.addClass('auto-fold'); setUserSetting('unfold', 0); state = 'folded'; } } else { - if ( body.hasClass('folded') ) { - body.removeClass('folded'); + if ( $body.hasClass('folded') ) { + $body.removeClass('folded'); setUserSetting('mfold', 'o'); state = 'open'; } else { - body.addClass('folded'); + $body.addClass('folded'); setUserSetting('mfold', 'f'); state = 'folded'; } } - $( document ).trigger( 'wp-collapse-menu', { state: state } ); + currentMenuItemHasPopup(); + $document.trigger( 'wp-collapse-menu', { state: state } ); }); + // Handle the `aria-haspopup` attribute on the current menu item when it has a sub-menu. + function currentMenuItemHasPopup() { + var respWidth, + $current = $( 'a.wp-has-current-submenu' ); + + if ( window.innerWidth ) { + respWidth = Math.max( window.innerWidth, document.documentElement.clientWidth ); + } else { + respWidth = 961; + } + + if ( $body.hasClass( 'folded' ) || ( $body.hasClass( 'auto-fold' ) && respWidth && respWidth <= 960 && respWidth > 782 ) ) { + // When folded or auto-folded and not responsive view, the current menu item does have a fly-out sub-menu. + $current.attr( 'aria-haspopup', 'true' ); + } else { + // When expanded or in responsive view, reset aria-haspopup. + $current.attr( 'aria-haspopup', 'false' ); + } + } + + $document.on( 'wp-window-resized wp-responsive-activate wp-responsive-deactivate', currentMenuItemHasPopup ); + /** * Ensure an admin submenu is within the visual viewport. * @@ -289,7 +313,7 @@ $(document).ready( function() { mobileEvent = isIOS ? 'touchstart' : 'click'; // close any open submenus when touch/click is not on the menu - $(document.body).on( mobileEvent+'.wp-mobile-hover', function(e) { + $body.on( mobileEvent+'.wp-mobile-hover', function(e) { if ( $adminmenu.data('wp-responsive') ) { return; } @@ -369,36 +393,36 @@ $(document).ready( function() { }); } - // Move .notice, .updated and .error alert boxes. Don't move boxes designed to be inline. - $firstHeading = $( '.wrap > h1:first' ); - - // Back compatibility: if there is no H1, apply to first H2. - if ( ! $firstHeading.length ) { - $firstHeading = $( '.wrap h2:first' ); - } - - $firstHeading.nextAll( 'div.updated, div.error, div.notice' ).addClass( 'below-h2' ); - $( 'div.updated, div.error, div.notice' ).not( '.below-h2, .inline' ).insertAfter( $firstHeading ); + /* + * The `.below-h2` class is here just for backwards compatibility with plugins + * that are (incorrectly) using it. Do not use. Use `.inline` instead. See #34570. + */ + $( 'div.updated, div.error, div.notice' ).not( '.inline, .below-h2' ).insertAfter( $( '.wrap' ).children( ':header' ).first() ); // Make notices dismissible - $( '.notice.is-dismissible' ).each( function() { - var $this = $( this ), - $button = $( '' ), - btnText = commonL10n.dismiss || ''; + function makeNoticesDismissible() { + $( '.notice.is-dismissible' ).each( function() { + var $el = $( this ), + $button = $( '' ), + btnText = commonL10n.dismiss || ''; - // Ensure plain text - $button.find( '.screen-reader-text' ).text( btnText ); - - $this.append( $button ); - - $button.on( 'click.wp-dismiss-notice', function( event ) { - event.preventDefault(); - $this.fadeTo( 100 , 0, function() { - $(this).slideUp( 100, function() { - $(this).remove(); + // Ensure plain text + $button.find( '.screen-reader-text' ).text( btnText ); + $button.on( 'click.wp-dismiss-notice', function( event ) { + event.preventDefault(); + $el.fadeTo( 100, 0, function() { + $el.slideUp( 100, function() { + $el.remove(); + }); }); }); + + $el.append( $button ); }); + } + + $document.on( 'wp-plugin-update-error', function() { + makeNoticesDismissible(); }); // Init screen meta @@ -409,7 +433,7 @@ $(document).ready( function() { if ( 'undefined' == e.shiftKey ) { return true; } if ( e.shiftKey ) { if ( !lastClicked ) { return true; } - checks = $( lastClicked ).closest( 'form' ).find( ':checkbox' ); + checks = $( lastClicked ).closest( 'form' ).find( ':checkbox' ).filter( ':visible:enabled' ); first = checks.index( lastClicked ); last = checks.index( this ); checked = $(this).prop('checked'); @@ -426,7 +450,7 @@ $(document).ready( function() { lastClicked = this; // toggle "check all" checkboxes - var unchecked = $(this).closest('tbody').find(':checkbox').filter(':visible').not(':checked'); + var unchecked = $(this).closest('tbody').find(':checkbox').filter(':visible:enabled').not(':checked'); $(this).closest('table').children('thead, tfoot').find(':checkbox').prop('checked', function() { return ( 0 === unchecked.length ); }); @@ -443,7 +467,7 @@ $(document).ready( function() { $table.children( 'tbody' ).filter(':visible') .children().children('.check-column').find(':checkbox') .prop('checked', function() { - if ( $(this).is(':hidden') ) { + if ( $(this).is(':hidden,:disabled') ) { return false; } @@ -875,6 +899,8 @@ $(document).ready( function() { window.wpResponsive.init(); setPinMenu(); + currentMenuItemHasPopup(); + makeNoticesDismissible(); $document.on( 'wp-pin-menu wp-window-resized.pin-menu postboxes-columnchange.pin-menu postbox-toggled.pin-menu wp-collapse-menu.pin-menu wp-scroll-start.pin-menu', setPinMenu ); }); @@ -884,7 +910,7 @@ $(document).ready( function() { var timeout; function triggerEvent() { - $(document).trigger( 'wp-window-resized' ); + $document.trigger( 'wp-window-resized' ); } function fireOnce() { @@ -892,7 +918,7 @@ $(document).ready( function() { timeout = window.setTimeout( triggerEvent, 200 ); } - $(window).on( 'resize.wp-fire-once', fireOnce ); + $window.on( 'resize.wp-fire-once', fireOnce ); }()); // Make Windows 8 devices play along nicely. diff --git a/wp-admin/js/common.min.js b/wp-admin/js/common.min.js index 26025ea..604ac9e 100644 --- a/wp-admin/js/common.min.js +++ b/wp-admin/js/common.min.js @@ -1 +1 @@ -var showNotice,adminMenu,columns,validateForm,screenMeta;!function(a,b,c){adminMenu={init:function(){},fold:function(){},restoreMenuState:function(){},toggle:function(){},favorites:function(){}},columns={init:function(){var b=this;a(".hide-column-tog","#adv-settings").click(function(){var c=a(this),d=c.val();c.prop("checked")?b.checked(d):b.unchecked(d),columns.saveManageColumnsState()})},saveManageColumnsState:function(){var b=this.hidden();a.post(ajaxurl,{action:"hidden-columns",hidden:b,screenoptionnonce:a("#screenoptionnonce").val(),page:pagenow})},checked:function(b){a(".column-"+b).removeClass("hidden"),this.colSpanChange(1)},unchecked:function(b){a(".column-"+b).addClass("hidden"),this.colSpanChange(-1)},hidden:function(){return a(".manage-column[id]").filter(":hidden").map(function(){return this.id}).get().join(",")},useCheckboxesForHidden:function(){this.hidden=function(){return a(".hide-column-tog").not(":checked").map(function(){var a=this.id;return a.substring(a,a.length-5)}).get().join(",")}},colSpanChange:function(b){var c,d=a("table").find(".colspanchange");d.length&&(c=parseInt(d.attr("colspan"),10)+b,d.attr("colspan",c.toString()))}},a(document).ready(function(){columns.init()}),validateForm=function(b){return!a(b).find(".form-required").filter(function(){return""===a("input:visible",this).val()}).addClass("form-invalid").find("input:visible").change(function(){a(this).closest(".form-invalid").removeClass("form-invalid")}).size()},showNotice={warn:function(){var a=commonL10n.warnDelete||"";return confirm(a)?!0:!1},note:function(a){alert(a)}},screenMeta={element:null,toggles:null,page:null,init:function(){this.element=a("#screen-meta"),this.toggles=a("#screen-meta-links").find(".show-settings"),this.page=a("#wpcontent"),this.toggles.click(this.toggleEvent)},toggleEvent:function(){var b=a("#"+a(this).attr("aria-controls"));b.length&&(b.is(":visible")?screenMeta.close(b,a(this)):screenMeta.open(b,a(this)))},open:function(b,c){a("#screen-meta-links").find(".screen-meta-toggle").not(c.parent()).css("visibility","hidden"),b.parent().show(),b.slideDown("fast",function(){b.focus(),c.addClass("screen-meta-active").attr("aria-expanded",!0)}),a(document).trigger("screen:options:open")},close:function(b,c){b.slideUp("fast",function(){c.removeClass("screen-meta-active").attr("aria-expanded",!1),a(".screen-meta-toggle").css("visibility",""),b.parent().hide()}),a(document).trigger("screen:options:close")}},a(".contextual-help-tabs").delegate("a","click",function(b){var c,d=a(this);return b.preventDefault(),d.is(".active a")?!1:(a(".contextual-help-tabs .active").removeClass("active"),d.parent("li").addClass("active"),c=a(d.attr("href")),a(".help-tab-content").not(c).removeClass("active").hide(),void c.addClass("active").show())}),a(document).ready(function(){function c(a){var b,c,d,e,f,g,h,i=a.find(".wp-submenu");f=a.offset().top,g=x.scrollTop(),h=f-g-30,b=f+i.height()+1,c=A.height(),d=60+b-c,e=x.height()+g-50,b-d>e&&(d=b-e),d>h&&(d=h),d>1?i.css("margin-top","-"+d+"px"):i.css("margin-top","")}function d(a){var b=x.scrollTop(),c=!a||"scroll"!==a.type;if(!(t||v||B.data("wp-responsive"))){if(N.menu+N.adminbarN.wpwrap)return void f();if(M=!0,N.menu+N.adminbar>N.window){if(0>b)return void(J||(J=!0,K=!1,z.css({position:"fixed",top:"",bottom:""})));if(b+N.window>w.height()-1)return void(K||(K=!0,J=!1,z.css({position:"fixed",top:"",bottom:0})));b>I?J?(J=!1,L=z.offset().top-N.adminbar-(b-I),L+N.menu+N.adminbarb?K?(K=!1,L=z.offset().top-N.adminbar+(I-b),L+N.menu>b+N.window&&(L=b),z.css({position:"absolute",top:L,bottom:""})):!J&&z.offset().top>=b+N.adminbar&&(J=!0,z.css({position:"fixed",top:"",bottom:""})):c&&(J=K=!1,L=b+N.window-N.menu-N.adminbar-1,L>0?z.css({position:"absolute",top:L,bottom:""}):f())}I=b}}function e(){N={window:x.height(),wpwrap:A.height(),adminbar:H.height(),menu:z.height()}}function f(){!t&&M&&(J=K=M=!1,z.css({position:"",top:"",bottom:""}))}function g(){e(),B.data("wp-responsive")?(y.removeClass("sticky-menu"),f()):N.menu+N.adminbar>N.window?(d(),y.removeClass("sticky-menu")):(y.addClass("sticky-menu"),f())}var h,i,j,k,l,m,n,o,p,q=!1,r=a("input.current-page"),s=r.val(),t=/iPhone|iPad|iPod/.test(navigator.userAgent),u=-1!==navigator.userAgent.indexOf("Android"),v=a(document.documentElement).hasClass("ie8"),w=a(document),x=a(b),y=a(document.body),z=a("#adminmenuwrap"),A=a("#wpwrap"),B=a("#adminmenu"),C=a("#wp-responsive-overlay"),D=a("#wp-toolbar"),E=D.find('a[aria-haspopup="true"]'),F=a(".meta-box-sortables"),G=!1,H=a("#wpadminbar"),I=0,J=!1,K=!1,L=0,M=!1,N={window:x.height(),wpwrap:A.height(),adminbar:H.height(),menu:z.height()};B.on("click.wp-submenu-head",".wp-submenu-head",function(b){a(b.target).parent().siblings("a").get(0).click()}),a("#collapse-menu").on("click.collapse-menu",function(){var c,d,e=a(document.body);a("#adminmenu div.wp-submenu").css("margin-top",""),c=b.innerWidth?Math.max(b.innerWidth,document.documentElement.clientWidth):961,c&&960>c?e.hasClass("auto-fold")?(e.removeClass("auto-fold").removeClass("folded"),setUserSetting("unfold",1),setUserSetting("mfold","o"),d="open"):(e.addClass("auto-fold"),setUserSetting("unfold",0),d="folded"):e.hasClass("folded")?(e.removeClass("folded"),setUserSetting("mfold","o"),d="open"):(e.addClass("folded"),setUserSetting("mfold","f"),d="folded"),a(document).trigger("wp-collapse-menu",{state:d})}),("ontouchstart"in b||/IEMobile\/[1-9]/.test(navigator.userAgent))&&(m=t?"touchstart":"click",a(document.body).on(m+".wp-mobile-hover",function(b){B.data("wp-responsive")||a(b.target).closest("#adminmenu").length||B.find("li.opensub").removeClass("opensub")}),B.find("a.wp-has-submenu").on(m+".wp-mobile-hover",function(b){var d=a(this).parent();B.data("wp-responsive")||d.hasClass("opensub")||d.hasClass("wp-menu-open")&&!(d.width()<40)||(b.preventDefault(),c(d),B.find("li.opensub").removeClass("opensub"),d.addClass("opensub"))})),t||u||(B.find("li.wp-has-submenu").hoverIntent({over:function(){var b=a(this),d=b.find(".wp-submenu"),e=parseInt(d.css("top"),10);isNaN(e)||e>-5||B.data("wp-responsive")||(c(b),B.find("li.opensub").removeClass("opensub"),b.addClass("opensub"))},out:function(){B.data("wp-responsive")||a(this).removeClass("opensub").find(".wp-submenu").css("margin-top","")},timeout:200,sensitivity:7,interval:90}),B.on("focus.adminmenu",".wp-submenu a",function(b){B.data("wp-responsive")||a(b.target).closest("li.menu-top").addClass("opensub")}).on("blur.adminmenu",".wp-submenu a",function(b){B.data("wp-responsive")||a(b.target).closest("li.menu-top").removeClass("opensub")}).find("li.wp-has-submenu.wp-not-current-submenu").on("focusin.adminmenu",function(){c(a(this))})),p=a(".wrap > h1:first"),p.length||(p=a(".wrap h2:first")),p.nextAll("div.updated, div.error, div.notice").addClass("below-h2"),a("div.updated, div.error, div.notice").not(".below-h2, .inline").insertAfter(p),a(".notice.is-dismissible").each(function(){var b=a(this),c=a(''),d=commonL10n.dismiss||"";c.find(".screen-reader-text").text(d),b.append(c),c.on("click.wp-dismiss-notice",function(c){c.preventDefault(),b.fadeTo(100,0,function(){a(this).slideUp(100,function(){a(this).remove()})})})}),screenMeta.init(),a("tbody").children().children(".check-column").find(":checkbox").click(function(b){if("undefined"==b.shiftKey)return!0;if(b.shiftKey){if(!q)return!0;h=a(q).closest("form").find(":checkbox"),i=h.index(q),j=h.index(this),k=a(this).prop("checked"),i>0&&j>0&&i!=j&&(l=j>i?h.slice(i,j):h.slice(j,i),l.prop("checked",function(){return a(this).closest("tr").is(":visible")?k:!1}))}q=this;var c=a(this).closest("tbody").find(":checkbox").filter(":visible").not(":checked");return a(this).closest("table").children("thead, tfoot").find(":checkbox").prop("checked",function(){return 0===c.length}),!0}),a("thead, tfoot").find(".check-column :checkbox").on("click.wp-toggle-checkboxes",function(b){var c=a(this),d=c.closest("table"),e=c.prop("checked"),f=b.shiftKey||c.data("wp-toggle");d.children("tbody").filter(":visible").children().children(".check-column").find(":checkbox").prop("checked",function(){return a(this).is(":hidden")?!1:f?!a(this).prop("checked"):e?!0:!1}),d.children("thead, tfoot").filter(":visible").children().children(".check-column").find(":checkbox").prop("checked",function(){return f?!1:e?!0:!1})}),a("#wpbody-content").on({focusin:function(){clearTimeout(n),o=a(this).find(".row-actions"),a(".row-actions").not(this).removeClass("visible"),o.addClass("visible")},focusout:function(){n=setTimeout(function(){o.removeClass("visible")},30)}},".has-row-actions"),a("tbody").on("click",".toggle-row",function(){a(this).closest("tr").toggleClass("is-expanded")}),a("#default-password-nag-no").click(function(){return setUserSetting("default_password_nag","hide"),a("div.default-password-nag").hide(),!1}),a("#newcontent").bind("keydown.wpevent_InsertTab",function(b){var c,d,e,f,g,h=b.target;if(27==b.keyCode)return b.preventDefault(),void a(h).data("tab-out",!0);if(!(9!=b.keyCode||b.ctrlKey||b.altKey||b.shiftKey)){if(a(h).data("tab-out"))return void a(h).data("tab-out",!1);c=h.selectionStart,d=h.selectionEnd,e=h.value,document.selection?(h.focus(),g=document.selection.createRange(),g.text=" "):c>=0&&(f=this.scrollTop,h.value=e.substring(0,c).concat(" ",e.substring(d)),h.selectionStart=h.selectionEnd=c+1,this.scrollTop=f),b.stopPropagation&&b.stopPropagation(),b.preventDefault&&b.preventDefault()}}),r.length&&r.closest("form").submit(function(){-1==a('select[name="action"]').val()&&-1==a('select[name="action2"]').val()&&r.val()==s&&r.val("1")}),a('.search-box input[type="search"], .search-box input[type="submit"]').mousedown(function(){a('select[name^="action"]').val("-1")}),a("#contextual-help-link, #show-settings-link").on("focus.scroll-into-view",function(a){a.target.scrollIntoView&&a.target.scrollIntoView(!1)}),function(){function b(){c.prop("disabled",""===d.map(function(){return a(this).val()}).get().join(""))}var c,d,e=a("form.wp-upload-form");e.length&&(c=e.find('input[type="submit"]'),d=e.find('input[type="file"]'),b(),d.on("change",b))}(),t||(x.on("scroll.pin-menu",d),w.on("tinymce-editor-init.pin-menu",function(a,b){b.on("wp-autoresize",e)})),b.wpResponsive={init:function(){var c=this;w.on("wp-responsive-activate.wp-responsive",function(){c.activate()}).on("wp-responsive-deactivate.wp-responsive",function(){c.deactivate()}),a("#wp-admin-bar-menu-toggle a").attr("aria-expanded","false"),a("#wp-admin-bar-menu-toggle").on("click.wp-responsive",function(b){b.preventDefault(),H.find(".hover").removeClass("hover"),A.toggleClass("wp-responsive-open"),A.hasClass("wp-responsive-open")?(a(this).find("a").attr("aria-expanded","true"),a("#adminmenu a:first").focus()):a(this).find("a").attr("aria-expanded","false")}),B.on("click.wp-responsive","li.wp-has-submenu > a",function(b){B.data("wp-responsive")&&(a(this).parent("li").toggleClass("selected"),b.preventDefault())}),c.trigger(),w.on("wp-window-resized.wp-responsive",a.proxy(this.trigger,this)),x.on("load.wp-responsive",function(){var a=navigator.userAgent.indexOf("AppleWebKit/")>-1?x.width():b.innerWidth;782>=a&&c.disableSortables()})},activate:function(){g(),y.hasClass("auto-fold")||y.addClass("auto-fold"),B.data("wp-responsive",1),this.disableSortables()},deactivate:function(){g(),B.removeData("wp-responsive"),this.enableSortables()},trigger:function(){var a;b.innerWidth&&(a=Math.max(b.innerWidth,document.documentElement.clientWidth),782>=a?G||(w.trigger("wp-responsive-activate"),G=!0):G&&(w.trigger("wp-responsive-deactivate"),G=!1),480>=a?this.enableOverlay():this.disableOverlay())},enableOverlay:function(){0===C.length&&(C=a('
    ').insertAfter("#wpcontent").hide().on("click.wp-responsive",function(){D.find(".menupop.hover").removeClass("hover"),a(this).hide()})),E.on("click.wp-responsive",function(){C.show()})},disableOverlay:function(){E.off("click.wp-responsive"),C.hide()},disableSortables:function(){if(F.length)try{F.sortable("disable")}catch(a){}},enableSortables:function(){if(F.length)try{F.sortable("enable")}catch(a){}}},b.wpResponsive.init(),g(),w.on("wp-pin-menu wp-window-resized.pin-menu postboxes-columnchange.pin-menu postbox-toggled.pin-menu wp-collapse-menu.pin-menu wp-scroll-start.pin-menu",g)}),function(){function c(){a(document).trigger("wp-window-resized")}function d(){b.clearTimeout(e),e=b.setTimeout(c,200)}var e;a(b).on("resize.wp-fire-once",d)}(),function(){if("-ms-user-select"in document.documentElement.style&&navigator.userAgent.match(/IEMobile\/10\.0/)){var a=document.createElement("style");a.appendChild(document.createTextNode("@-ms-viewport{width:auto!important}")),document.getElementsByTagName("head")[0].appendChild(a)}}()}(jQuery,window); \ No newline at end of file +var showNotice,adminMenu,columns,validateForm,screenMeta;!function(a,b,c){var d=a(document),e=a(b),f=a(document.body);adminMenu={init:function(){},fold:function(){},restoreMenuState:function(){},toggle:function(){},favorites:function(){}},columns={init:function(){var b=this;a(".hide-column-tog","#adv-settings").click(function(){var c=a(this),d=c.val();c.prop("checked")?b.checked(d):b.unchecked(d),columns.saveManageColumnsState()})},saveManageColumnsState:function(){var b=this.hidden();a.post(ajaxurl,{action:"hidden-columns",hidden:b,screenoptionnonce:a("#screenoptionnonce").val(),page:pagenow})},checked:function(b){a(".column-"+b).removeClass("hidden"),this.colSpanChange(1)},unchecked:function(b){a(".column-"+b).addClass("hidden"),this.colSpanChange(-1)},hidden:function(){return a(".manage-column[id]").filter(":hidden").map(function(){return this.id}).get().join(",")},useCheckboxesForHidden:function(){this.hidden=function(){return a(".hide-column-tog").not(":checked").map(function(){var a=this.id;return a.substring(a,a.length-5)}).get().join(",")}},colSpanChange:function(b){var c,d=a("table").find(".colspanchange");d.length&&(c=parseInt(d.attr("colspan"),10)+b,d.attr("colspan",c.toString()))}},d.ready(function(){columns.init()}),validateForm=function(b){return!a(b).find(".form-required").filter(function(){return""===a("input:visible",this).val()}).addClass("form-invalid").find("input:visible").change(function(){a(this).closest(".form-invalid").removeClass("form-invalid")}).size()},showNotice={warn:function(){var a=commonL10n.warnDelete||"";return confirm(a)?!0:!1},note:function(a){alert(a)}},screenMeta={element:null,toggles:null,page:null,init:function(){this.element=a("#screen-meta"),this.toggles=a("#screen-meta-links").find(".show-settings"),this.page=a("#wpcontent"),this.toggles.click(this.toggleEvent)},toggleEvent:function(){var b=a("#"+a(this).attr("aria-controls"));b.length&&(b.is(":visible")?screenMeta.close(b,a(this)):screenMeta.open(b,a(this)))},open:function(b,c){a("#screen-meta-links").find(".screen-meta-toggle").not(c.parent()).css("visibility","hidden"),b.parent().show(),b.slideDown("fast",function(){b.focus(),c.addClass("screen-meta-active").attr("aria-expanded",!0)}),d.trigger("screen:options:open")},close:function(b,c){b.slideUp("fast",function(){c.removeClass("screen-meta-active").attr("aria-expanded",!1),a(".screen-meta-toggle").css("visibility",""),b.parent().hide()}),d.trigger("screen:options:close")}},a(".contextual-help-tabs").delegate("a","click",function(b){var c,d=a(this);return b.preventDefault(),d.is(".active a")?!1:(a(".contextual-help-tabs .active").removeClass("active"),d.parent("li").addClass("active"),c=a(d.attr("href")),a(".help-tab-content").not(c).removeClass("active").hide(),void c.addClass("active").show())}),d.ready(function(){function c(){var c,d=a("a.wp-has-current-submenu");c=b.innerWidth?Math.max(b.innerWidth,document.documentElement.clientWidth):961,f.hasClass("folded")||f.hasClass("auto-fold")&&c&&960>=c&&c>782?d.attr("aria-haspopup","true"):d.attr("aria-haspopup","false")}function g(a){var b,c,d,f,g,h,i,j=a.find(".wp-submenu");g=a.offset().top,h=e.scrollTop(),i=g-h-30,b=g+j.height()+1,c=B.height(),d=60+b-c,f=e.height()+h-50,b-d>f&&(d=b-f),d>i&&(d=i),d>1?j.css("margin-top","-"+d+"px"):j.css("margin-top","")}function h(){a(".notice.is-dismissible").each(function(){var b=a(this),c=a(''),d=commonL10n.dismiss||"";c.find(".screen-reader-text").text(d),c.on("click.wp-dismiss-notice",function(a){a.preventDefault(),b.fadeTo(100,0,function(){b.slideUp(100,function(){b.remove()})})}),b.append(c)})}function i(a){var b=e.scrollTop(),c=!a||"scroll"!==a.type;if(!(x||z||C.data("wp-responsive"))){if(O.menu+O.adminbarO.wpwrap)return void k();if(N=!0,O.menu+O.adminbar>O.window){if(0>b)return void(K||(K=!0,L=!1,A.css({position:"fixed",top:"",bottom:""})));if(b+O.window>d.height()-1)return void(L||(L=!0,K=!1,A.css({position:"fixed",top:"",bottom:0})));b>J?K?(K=!1,M=A.offset().top-O.adminbar-(b-J),M+O.menu+O.adminbarb?L?(L=!1,M=A.offset().top-O.adminbar+(J-b),M+O.menu>b+O.window&&(M=b),A.css({position:"absolute",top:M,bottom:""})):!K&&A.offset().top>=b+O.adminbar&&(K=!0,A.css({position:"fixed",top:"",bottom:""})):c&&(K=L=!1,M=b+O.window-O.menu-O.adminbar-1,M>0?A.css({position:"absolute",top:M,bottom:""}):k())}J=b}}function j(){O={window:e.height(),wpwrap:B.height(),adminbar:I.height(),menu:A.height()}}function k(){!x&&N&&(K=L=N=!1,A.css({position:"",top:"",bottom:""}))}function l(){j(),C.data("wp-responsive")?(f.removeClass("sticky-menu"),k()):O.menu+O.adminbar>O.window?(i(),f.removeClass("sticky-menu")):(f.addClass("sticky-menu"),k())}var m,n,o,p,q,r,s,t,u=!1,v=a("input.current-page"),w=v.val(),x=/iPhone|iPad|iPod/.test(navigator.userAgent),y=-1!==navigator.userAgent.indexOf("Android"),z=a(document.documentElement).hasClass("ie8"),A=a("#adminmenuwrap"),B=a("#wpwrap"),C=a("#adminmenu"),D=a("#wp-responsive-overlay"),E=a("#wp-toolbar"),F=E.find('a[aria-haspopup="true"]'),G=a(".meta-box-sortables"),H=!1,I=a("#wpadminbar"),J=0,K=!1,L=!1,M=0,N=!1,O={window:e.height(),wpwrap:B.height(),adminbar:I.height(),menu:A.height()};C.on("click.wp-submenu-head",".wp-submenu-head",function(b){a(b.target).parent().siblings("a").get(0).click()}),a("#collapse-menu").on("click.collapse-menu",function(){var e,g;a("#adminmenu div.wp-submenu").css("margin-top",""),e=b.innerWidth?Math.max(b.innerWidth,document.documentElement.clientWidth):961,e&&960>e?f.hasClass("auto-fold")?(f.removeClass("auto-fold").removeClass("folded"),setUserSetting("unfold",1),setUserSetting("mfold","o"),g="open"):(f.addClass("auto-fold"),setUserSetting("unfold",0),g="folded"):f.hasClass("folded")?(f.removeClass("folded"),setUserSetting("mfold","o"),g="open"):(f.addClass("folded"),setUserSetting("mfold","f"),g="folded"),c(),d.trigger("wp-collapse-menu",{state:g})}),d.on("wp-window-resized wp-responsive-activate wp-responsive-deactivate",c),("ontouchstart"in b||/IEMobile\/[1-9]/.test(navigator.userAgent))&&(r=x?"touchstart":"click",f.on(r+".wp-mobile-hover",function(b){C.data("wp-responsive")||a(b.target).closest("#adminmenu").length||C.find("li.opensub").removeClass("opensub")}),C.find("a.wp-has-submenu").on(r+".wp-mobile-hover",function(b){var c=a(this).parent();C.data("wp-responsive")||c.hasClass("opensub")||c.hasClass("wp-menu-open")&&!(c.width()<40)||(b.preventDefault(),g(c),C.find("li.opensub").removeClass("opensub"),c.addClass("opensub"))})),x||y||(C.find("li.wp-has-submenu").hoverIntent({over:function(){var b=a(this),c=b.find(".wp-submenu"),d=parseInt(c.css("top"),10);isNaN(d)||d>-5||C.data("wp-responsive")||(g(b),C.find("li.opensub").removeClass("opensub"),b.addClass("opensub"))},out:function(){C.data("wp-responsive")||a(this).removeClass("opensub").find(".wp-submenu").css("margin-top","")},timeout:200,sensitivity:7,interval:90}),C.on("focus.adminmenu",".wp-submenu a",function(b){C.data("wp-responsive")||a(b.target).closest("li.menu-top").addClass("opensub")}).on("blur.adminmenu",".wp-submenu a",function(b){C.data("wp-responsive")||a(b.target).closest("li.menu-top").removeClass("opensub")}).find("li.wp-has-submenu.wp-not-current-submenu").on("focusin.adminmenu",function(){g(a(this))})),a("div.updated, div.error, div.notice").not(".inline, .below-h2").insertAfter(a(".wrap").children(":header").first()),d.on("wp-plugin-update-error",function(){h()}),screenMeta.init(),a("tbody").children().children(".check-column").find(":checkbox").click(function(b){if("undefined"==b.shiftKey)return!0;if(b.shiftKey){if(!u)return!0;m=a(u).closest("form").find(":checkbox").filter(":visible:enabled"),n=m.index(u),o=m.index(this),p=a(this).prop("checked"),n>0&&o>0&&n!=o&&(q=o>n?m.slice(n,o):m.slice(o,n),q.prop("checked",function(){return a(this).closest("tr").is(":visible")?p:!1}))}u=this;var c=a(this).closest("tbody").find(":checkbox").filter(":visible:enabled").not(":checked");return a(this).closest("table").children("thead, tfoot").find(":checkbox").prop("checked",function(){return 0===c.length}),!0}),a("thead, tfoot").find(".check-column :checkbox").on("click.wp-toggle-checkboxes",function(b){var c=a(this),d=c.closest("table"),e=c.prop("checked"),f=b.shiftKey||c.data("wp-toggle");d.children("tbody").filter(":visible").children().children(".check-column").find(":checkbox").prop("checked",function(){return a(this).is(":hidden,:disabled")?!1:f?!a(this).prop("checked"):e?!0:!1}),d.children("thead, tfoot").filter(":visible").children().children(".check-column").find(":checkbox").prop("checked",function(){return f?!1:e?!0:!1})}),a("#wpbody-content").on({focusin:function(){clearTimeout(s),t=a(this).find(".row-actions"),a(".row-actions").not(this).removeClass("visible"),t.addClass("visible")},focusout:function(){s=setTimeout(function(){t.removeClass("visible")},30)}},".has-row-actions"),a("tbody").on("click",".toggle-row",function(){a(this).closest("tr").toggleClass("is-expanded")}),a("#default-password-nag-no").click(function(){return setUserSetting("default_password_nag","hide"),a("div.default-password-nag").hide(),!1}),a("#newcontent").bind("keydown.wpevent_InsertTab",function(b){var c,d,e,f,g,h=b.target;if(27==b.keyCode)return b.preventDefault(),void a(h).data("tab-out",!0);if(!(9!=b.keyCode||b.ctrlKey||b.altKey||b.shiftKey)){if(a(h).data("tab-out"))return void a(h).data("tab-out",!1);c=h.selectionStart,d=h.selectionEnd,e=h.value,document.selection?(h.focus(),g=document.selection.createRange(),g.text=" "):c>=0&&(f=this.scrollTop,h.value=e.substring(0,c).concat(" ",e.substring(d)),h.selectionStart=h.selectionEnd=c+1,this.scrollTop=f),b.stopPropagation&&b.stopPropagation(),b.preventDefault&&b.preventDefault()}}),v.length&&v.closest("form").submit(function(){-1==a('select[name="action"]').val()&&-1==a('select[name="action2"]').val()&&v.val()==w&&v.val("1")}),a('.search-box input[type="search"], .search-box input[type="submit"]').mousedown(function(){a('select[name^="action"]').val("-1")}),a("#contextual-help-link, #show-settings-link").on("focus.scroll-into-view",function(a){a.target.scrollIntoView&&a.target.scrollIntoView(!1)}),function(){function b(){c.prop("disabled",""===d.map(function(){return a(this).val()}).get().join(""))}var c,d,e=a("form.wp-upload-form");e.length&&(c=e.find('input[type="submit"]'),d=e.find('input[type="file"]'),b(),d.on("change",b))}(),x||(e.on("scroll.pin-menu",i),d.on("tinymce-editor-init.pin-menu",function(a,b){b.on("wp-autoresize",j)})),b.wpResponsive={init:function(){var c=this;d.on("wp-responsive-activate.wp-responsive",function(){c.activate()}).on("wp-responsive-deactivate.wp-responsive",function(){c.deactivate()}),a("#wp-admin-bar-menu-toggle a").attr("aria-expanded","false"),a("#wp-admin-bar-menu-toggle").on("click.wp-responsive",function(b){b.preventDefault(),I.find(".hover").removeClass("hover"),B.toggleClass("wp-responsive-open"),B.hasClass("wp-responsive-open")?(a(this).find("a").attr("aria-expanded","true"),a("#adminmenu a:first").focus()):a(this).find("a").attr("aria-expanded","false")}),C.on("click.wp-responsive","li.wp-has-submenu > a",function(b){C.data("wp-responsive")&&(a(this).parent("li").toggleClass("selected"),b.preventDefault())}),c.trigger(),d.on("wp-window-resized.wp-responsive",a.proxy(this.trigger,this)),e.on("load.wp-responsive",function(){var a=navigator.userAgent.indexOf("AppleWebKit/")>-1?e.width():b.innerWidth;782>=a&&c.disableSortables()})},activate:function(){l(),f.hasClass("auto-fold")||f.addClass("auto-fold"),C.data("wp-responsive",1),this.disableSortables()},deactivate:function(){l(),C.removeData("wp-responsive"),this.enableSortables()},trigger:function(){var a;b.innerWidth&&(a=Math.max(b.innerWidth,document.documentElement.clientWidth),782>=a?H||(d.trigger("wp-responsive-activate"),H=!0):H&&(d.trigger("wp-responsive-deactivate"),H=!1),480>=a?this.enableOverlay():this.disableOverlay())},enableOverlay:function(){0===D.length&&(D=a('
    ').insertAfter("#wpcontent").hide().on("click.wp-responsive",function(){E.find(".menupop.hover").removeClass("hover"),a(this).hide()})),F.on("click.wp-responsive",function(){D.show()})},disableOverlay:function(){F.off("click.wp-responsive"),D.hide()},disableSortables:function(){if(G.length)try{G.sortable("disable")}catch(a){}},enableSortables:function(){if(G.length)try{G.sortable("enable")}catch(a){}}},b.wpResponsive.init(),l(),c(),h(),d.on("wp-pin-menu wp-window-resized.pin-menu postboxes-columnchange.pin-menu postbox-toggled.pin-menu wp-collapse-menu.pin-menu wp-scroll-start.pin-menu",l)}),function(){function a(){d.trigger("wp-window-resized")}function c(){b.clearTimeout(f),f=b.setTimeout(a,200)}var f;e.on("resize.wp-fire-once",c)}(),function(){if("-ms-user-select"in document.documentElement.style&&navigator.userAgent.match(/IEMobile\/10\.0/)){var a=document.createElement("style");a.appendChild(document.createTextNode("@-ms-viewport{width:auto!important}")),document.getElementsByTagName("head")[0].appendChild(a)}}()}(jQuery,window); \ No newline at end of file diff --git a/wp-admin/js/customize-controls.js b/wp-admin/js/customize-controls.js index c0ac177..e78d2c9 100644 --- a/wp-admin/js/customize-controls.js +++ b/wp-admin/js/customize-controls.js @@ -3,13 +3,22 @@ var Container, focus, api = wp.customize; /** + * A Customizer Setting. + * + * A setting is WordPress data (theme mod, option, menu, etc.) that the user can + * draft changes to in the Customizer. + * + * @see PHP class WP_Customize_Setting. + * * @class * @augments wp.customize.Value * @augments wp.customize.Class * - * @param options - * - previewer - The Previewer instance to sync with. - * - transport - The transport to use for previewing. Supports 'refresh' and 'postMessage'. + * @param {object} id The Setting ID. + * @param {object} value The initial value of the setting. + * @param {object} options.previewer The Previewer instance to sync with. + * @param {object} options.transport The transport to use for previewing. Supports 'refresh' and 'postMessage'. + * @param {object} options.dirty */ api.Setting = api.Value.extend({ initialize: function( id, value, options ) { @@ -19,8 +28,13 @@ this.transport = this.transport || 'refresh'; this._dirty = options.dirty || false; + // Whenever the setting's value changes, refresh the preview. this.bind( this.preview ); }, + + /** + * Refresh the preview, respective of the setting's refresh policy. + */ preview: function() { switch ( this.transport ) { case 'refresh': @@ -272,10 +286,9 @@ }, /** - * Handle changes to the active state. + * Active state change handler. * - * This does not change the active state, it merely handles the behavior - * for when it does change. + * Shows the container if it is active, hides it if not. * * To override by subclass, update the container's UI to reflect the provided active state. * @@ -287,7 +300,7 @@ * @param {Object} args.completeCallback */ onChangeActive: function( active, args ) { - var duration, construct = this; + var duration, construct = this, expandedOtherPanel; if ( args.unchanged ) { if ( args.completeCallback ) { args.completeCallback(); @@ -296,6 +309,24 @@ } duration = ( 'resolved' === api.previewer.deferred.active.state() ? args.duration : 0 ); + + if ( construct.extended( api.Panel ) ) { + // If this is a panel is not currently expanded but another panel is expanded, do not animate. + api.panel.each(function ( panel ) { + if ( panel !== construct && panel.expanded() ) { + expandedOtherPanel = panel; + duration = 0; + } + }); + + // Collapse any expanded sections inside of this panel first before deactivating. + if ( ! active ) { + _.each( construct.sections(), function( section ) { + section.collapse( { duration: 0 } ); + } ); + } + } + if ( ! $.contains( document, construct.container[0] ) ) { // jQuery.fn.slideUp is not hiding an element if it is not in the DOM construct.container.toggle( active ); @@ -316,6 +347,11 @@ construct.container.stop( true, true ).slideUp( duration, args.completeCallback ); } } + + // Recalculate the margin-top immediately, not waiting for debounced reflow, to prevent momentary (100ms) vertical jiggle. + if ( expandedOtherPanel ) { + expandedOtherPanel._recalculateTopMargin(); + } }, /** @@ -365,39 +401,48 @@ }, /** - * @param {Boolean} expanded - * @param {Object} [params] - * @returns {Boolean} false if state already applied + * Handle the toggle logic for expand/collapse. + * + * @param {Boolean} expanded - The new state to apply. + * @param {Object} [params] - Object containing options for expand/collapse. + * @param {Function} [params.completeCallback] - Function to call when expansion/collapse is complete. + * @returns {Boolean} false if state already applied or active state is false */ - _toggleExpanded: function ( expanded, params ) { - var self = this; + _toggleExpanded: function( expanded, params ) { + var instance = this, previousCompleteCallback; params = params || {}; - var section = this, previousCompleteCallback = params.completeCallback; - params.completeCallback = function () { + previousCompleteCallback = params.completeCallback; + + // Short-circuit expand() if the instance is not active. + if ( expanded && ! instance.active() ) { + return false; + } + + params.completeCallback = function() { if ( previousCompleteCallback ) { - previousCompleteCallback.apply( section, arguments ); + previousCompleteCallback.apply( instance, arguments ); } if ( expanded ) { - section.container.trigger( 'expanded' ); + instance.container.trigger( 'expanded' ); } else { - section.container.trigger( 'collapsed' ); + instance.container.trigger( 'collapsed' ); } }; - if ( ( expanded && this.expanded.get() ) || ( ! expanded && ! this.expanded.get() ) ) { + if ( ( expanded && instance.expanded.get() ) || ( ! expanded && ! instance.expanded.get() ) ) { params.unchanged = true; - self.onChangeExpanded( self.expanded.get(), params ); + instance.onChangeExpanded( instance.expanded.get(), params ); return false; } else { params.unchanged = false; - this.expandedArgumentsQueue.push( params ); - this.expanded.set( expanded ); + instance.expandedArgumentsQueue.push( params ); + instance.expanded.set( expanded ); return true; } }, /** * @param {Object} [params] - * @returns {Boolean} false if already expanded + * @returns {Boolean} false if already expanded or if inactive. */ expand: function ( params ) { return this._toggleExpanded( true, params ); @@ -405,7 +450,7 @@ /** * @param {Object} [params] - * @returns {Boolean} false if already collapsed + * @returns {Boolean} false if already collapsed. */ collapse: function ( params ) { return this._toggleExpanded( false, params ); @@ -526,6 +571,13 @@ }; section.panel.bind( inject ); inject( section.panel.get() ); // Since a section may never get a panel, assume that it won't ever get one + + section.deferred.embedded.done(function() { + // Fix the top margin after reflow. + api.bind( 'pane-contents-reflowed', _.debounce( function() { + section._recalculateTopMargin(); + }, 100 ) ); + }); }, /** @@ -633,13 +685,7 @@ // Fix the height after browser resize. $( window ).on( 'resize.customizer-section', _.debounce( resizeContentHeight, 100 ) ); - // Fix the top margin after reflow. - api.bind( 'pane-contents-reflowed', _.debounce( function() { - var offset = ( content.offset().top - headerActionsHeight ); - if ( 0 < offset ) { - content.css( 'margin-top', ( parseInt( content.css( 'margin-top' ), 10 ) - offset ) ); - } - }, 100 ) ); + section._recalculateTopMargin(); }; } @@ -680,6 +726,25 @@ args.completeCallback(); } } + }, + + /** + * Recalculate the top margin. + * + * @since 4.4.0 + * @private + */ + _recalculateTopMargin: function() { + var section = this, content, offset, headerActionsHeight; + content = section.container.find( '.accordion-section-content' ); + if ( 0 === content.length ) { + return; + } + headerActionsHeight = $( '#customize-header-actions' ).height(); + offset = ( content.offset().top - headerActionsHeight ); + if ( 0 < offset ) { + content.css( 'margin-top', ( parseInt( content.css( 'margin-top' ), 10 ) - offset ) ); + } } }); @@ -910,6 +975,16 @@ } }, + /** + * Recalculate the top margin. + * + * @since 4.4.0 + * @private + */ + _recalculateTopMargin: function() { + api.Panel.prototype._recalculateTopMargin.call( this ); + }, + /** * Render control's screenshot if the control comes into view. * @@ -1142,6 +1217,11 @@ parentContainer.append( panel.container ); panel.renderContent(); } + + api.bind( 'pane-contents-reflowed', _.debounce( function() { + panel._recalculateTopMargin(); + }, 100 ) ); + panel.deferred.embedded.resolve(); }, @@ -1240,7 +1320,7 @@ * @param {Boolean} expanded * @param {Object} args * @param {Boolean} args.unchanged - * @param {Callback} args.completeCallback + * @param {Function} args.completeCallback */ onChangeExpanded: function ( expanded, args ) { @@ -1255,14 +1335,14 @@ // Note: there is a second argument 'args' passed var position, scroll, panel = this, - section = panel.container.closest( '.accordion-section' ), // This is actually the panel. - overlay = section.closest( '.wp-full-overlay' ), - container = section.closest( '.wp-full-overlay-sidebar-content' ), + accordionSection = panel.container.closest( '.accordion-section' ), + overlay = accordionSection.closest( '.wp-full-overlay' ), + container = accordionSection.closest( '.wp-full-overlay-sidebar-content' ), siblings = container.find( '.open' ), topPanel = overlay.find( '#customize-theme-controls > ul > .accordion-section > .accordion-section-title' ), - backBtn = section.find( '.customize-panel-back' ), - panelTitle = section.find( '.accordion-section-title' ).first(), - content = section.find( '.control-panel-content' ), + backBtn = accordionSection.find( '.customize-panel-back' ), + panelTitle = accordionSection.find( '.accordion-section-title' ).first(), + content = accordionSection.find( '.control-panel-content' ), headerActionsHeight = $( '#customize-header-actions' ).height(); if ( expanded ) { @@ -1284,7 +1364,7 @@ position = content.offset().top; scroll = container.scrollTop(); content.css( 'margin-top', ( headerActionsHeight - position - scroll ) ); - section.addClass( 'current-panel' ); + accordionSection.addClass( 'current-panel' ); overlay.addClass( 'in-sub-panel' ); container.scrollTop( 0 ); if ( args.completeCallback ) { @@ -1294,14 +1374,10 @@ topPanel.attr( 'tabindex', '-1' ); backBtn.attr( 'tabindex', '0' ); backBtn.focus(); - - // Fix the top margin after reflow. - api.bind( 'pane-contents-reflowed', _.debounce( function() { - content.css( 'margin-top', ( parseInt( content.css( 'margin-top' ), 10 ) - ( content.offset().top - headerActionsHeight ) ) ); - }, 100 ) ); + panel._recalculateTopMargin(); } else { siblings.removeClass( 'open' ); - section.removeClass( 'current-panel' ); + accordionSection.removeClass( 'current-panel' ); overlay.removeClass( 'in-sub-panel' ); content.delay( 180 ).hide( 0, function() { content.css( 'margin-top', 'inherit' ); // Reset @@ -1316,6 +1392,20 @@ } }, + /** + * Recalculate the top margin. + * + * @since 4.4.0 + * @private + */ + _recalculateTopMargin: function() { + var panel = this, headerActionsHeight, content, accordionSection; + headerActionsHeight = $( '#customize-header-actions' ).height(); + accordionSection = panel.container.closest( '.accordion-section' ); + content = accordionSection.find( '.control-panel-content' ); + content.css( 'margin-top', ( parseInt( content.css( 'margin-top' ), 10 ) - ( content.offset().top - headerActionsHeight ) ) ); + }, + /** * Render the panel from its JS template, if it exists. * @@ -1349,14 +1439,16 @@ * @class * @augments wp.customize.Class * - * @param {string} id Unique identifier for the control instance. - * @param {object} options Options hash for the control instance. + * @param {string} id Unique identifier for the control instance. + * @param {object} options Options hash for the control instance. * @param {object} options.params - * @param {object} options.params.type Type of control (e.g. text, radio, dropdown-pages, etc.) - * @param {string} options.params.content The HTML content for the control. - * @param {string} options.params.priority Order of priority to show the control within the section. + * @param {object} options.params.type Type of control (e.g. text, radio, dropdown-pages, etc.) + * @param {string} options.params.content The HTML content for the control. + * @param {string} options.params.priority Order of priority to show the control within the section. * @param {string} options.params.active - * @param {string} options.params.section + * @param {string} options.params.section The ID of the section the control belongs to. + * @param {string} options.params.settings.default The ID of the setting the control relates to. + * @param {string} options.params.settings.data * @param {string} options.params.label * @param {string} options.params.description * @param {string} options.params.instanceNumber Order in which this instance was created in relation to other instances. @@ -1422,7 +1514,10 @@ api.utils.bubbleChildValueChanges( control, [ 'section', 'priority', 'active' ] ); - // Associate this control with its settings when they are created + /* + * After all settings related to the control are available, + * make them available on the control and embed the control into the page. + */ settings = $.map( control.params.settings, function( value ) { return value; }); @@ -1439,6 +1534,7 @@ control.embed(); }) ); + // After the control is embedded on the page, invoke the "ready" method. control.deferred.embedded.done( function () { control.ready(); }); @@ -1516,7 +1612,7 @@ return; } - if ( ! $.contains( document, this.container ) ) { + if ( ! $.contains( document, this.container[0] ) ) { // jQuery.fn.slideUp is not hiding an element if it is not in the DOM this.container.toggle( active ); if ( args.completeCallback ) { @@ -1638,7 +1734,7 @@ control.setting.set( picker.wpColorPicker('color') ); }, clear: function() { - control.setting.set( false ); + control.setting.set( '' ); } }); @@ -2394,7 +2490,7 @@ * @param {object} croppedImage Cropped attachment data. */ onCropped: function(croppedImage) { - var url = croppedImage.post_content, + var url = croppedImage.url, attachmentId = croppedImage.attachment_id, w = croppedImage.width, h = croppedImage.height; @@ -2581,6 +2677,9 @@ api.panel = new api.Values({ defaultConstructor: api.Panel }); /** + * An object that fetches a preview in the background of the document, which + * allows for seamless replacement of an existing preview. + * * @class * @augments wp.customize.Messenger * @augments wp.customize.Class @@ -2589,10 +2688,22 @@ api.PreviewFrame = api.Messenger.extend({ sensitivity: 2000, + /** + * Initialize the PreviewFrame. + * + * @param {object} params.container + * @param {object} params.signature + * @param {object} params.previewUrl + * @param {object} params.query + * @param {object} options + */ initialize: function( params, options ) { var deferred = $.Deferred(); - // This is the promise object. + /* + * Make the instance of the PreviewFrame the promise object + * so other objects can easily interact with it. + */ deferred.promise( this ); this.container = params.container; @@ -2609,6 +2720,12 @@ this.run( deferred ); }, + /** + * Run the preview request. + * + * @param {object} deferred jQuery Deferred object to be resolved with + * the request. + */ run: function( deferred ) { var self = this, loaded = false, @@ -2812,9 +2929,13 @@ refreshBuffer: 250, /** - * Requires params: - * - container - a selector or jQuery element - * - previewUrl - the URL of preview frame + * @param {array} params.allowedUrls + * @param {string} params.container A selector or jQuery element for the preview + * frame to be placed. + * @param {string} params.form + * @param {string} params.previewUrl The URL to preview. + * @param {string} params.signature + * @param {object} options */ initialize: function( params, options ) { var self = this, @@ -2927,6 +3048,11 @@ } ); }, + /** + * Query string data sent with each preview request. + * + * @abstract + */ query: function() {}, abort: function() { @@ -2936,6 +3062,9 @@ } }, + /** + * Refresh the preview. + */ refresh: function() { var self = this; @@ -3036,7 +3165,10 @@ }, cheatin: function() { - $( document.body ).empty().addClass('cheatin').append( '

    ' + api.l10n.cheatin + '

    ' ); + $( document.body ).empty().addClass( 'cheatin' ).append( + '

    ' + api.l10n.cheatin + '

    ' + + '

    ' + api.l10n.notAllowed + '

    ' + ); }, refreshNonces: function() { @@ -3145,6 +3277,11 @@ nonce: api.settings.nonce, + /** + * Build the query to send along with the Preview request. + * + * @return {object} + */ query: function() { var dirtyCustomized = {}; api.each( function ( value, key ) { @@ -3472,14 +3609,21 @@ } ); } - // Create a potential postMessage connection with the parent frame. + /* + * Create a postMessage connection with a parent frame, + * in case the Customizer frame was opened with the Customize loader. + * + * @see wp.customize.Loader + */ parent = new api.Messenger({ url: api.settings.url.parent, channel: 'loader' }); - // If we receive a 'back' event, we're inside an iframe. - // Send any clicks to the 'Return' link to the parent page. + /* + * If we receive a 'back' event, we're inside an iframe. + * Send any clicks to the 'Return' link to the parent page. + */ parent.bind( 'back', function() { closeBtn.on( 'click.customize-controls-close', function( event ) { event.preventDefault(); @@ -3504,8 +3648,10 @@ }); } ); - // When activated, let the loader handle redirecting the page. - // If no loader exists, redirect the page ourselves (if a url exists). + /* + * When activated, let the loader handle redirecting the page. + * If no loader exists, redirect the page ourselves (if a url exists). + */ api.bind( 'activated', function() { if ( parent.targetWindow() ) parent.send( 'activated', api.settings.url.activated ); diff --git a/wp-admin/js/customize-controls.min.js b/wp-admin/js/customize-controls.min.js index 503034c..06bd8ac 100644 --- a/wp-admin/js/customize-controls.min.js +++ b/wp-admin/js/customize-controls.min.js @@ -1,2 +1,2 @@ -!function(a,b){var c,d,e=wp.customize;e.Setting=e.Value.extend({initialize:function(a,b,c){e.Value.prototype.initialize.call(this,b,c),this.id=a,this.transport=this.transport||"refresh",this._dirty=c.dirty||!1,this.bind(this.preview)},preview:function(){switch(this.transport){case"refresh":return this.previewer.refresh();case"postMessage":return this.previewer.send("setting",[this.id,this()])}}}),e.utils={},e.utils.bubbleChildValueChanges=function(a,c){b.each(c,function(b,c){a[c].bind(function(b,c){a.parent&&b!==c&&a.parent.trigger("change",a)})})},d=function(a){var b,c,d;b=this,a=a||{},d=function(){var a;a=b.extended(e.Panel)&&b.expanded&&b.expanded()?b.container.find("ul.control-panel-content"):b.extended(e.Section)&&b.expanded&&b.expanded()?b.container.find("ul.accordion-section-content"):b.container,a.find("input, select, textarea, button, object, a[href], [tabindex]").filter(":visible").first().focus()},a.completeCallback?(c=a.completeCallback,a.completeCallback=function(){d(),c()}):a.completeCallback=d,b.expand?b.expand(a):a.completeCallback()},e.utils.prioritySort=function(a,b){return a.priority()===b.priority()&&"number"==typeof a.params.instanceNumber&&"number"==typeof b.params.instanceNumber?a.params.instanceNumber-b.params.instanceNumber:a.priority()-b.priority()},e.utils.isKeydownButNotEnterEvent=function(a){return"keydown"===a.type&&13!==a.which},e.utils.areElementListsEqual=function(a,c){var d=a.length===c.length&&-1===_.indexOf(_.map(_.zip(a,c),function(a){return b(a[0]).is(a[1])}),!1);return d},c=e.Class.extend({defaultActiveArguments:{duration:"fast",completeCallback:b.noop},defaultExpandedArguments:{duration:"fast",completeCallback:b.noop},containerType:"container",defaults:{title:"",description:"",priority:100,type:"default",content:null,active:!0,instanceNumber:null},initialize:function(a,c){var d=this;d.id=a,c=c||{},c.params=_.defaults(c.params||{},d.defaults),b.extend(d,c),d.templateSelector="customize-"+d.containerType+"-"+d.params.type,d.container=b(d.params.content),0===d.container.length&&(d.container=b(d.getContainer())),d.deferred={embedded:new b.Deferred},d.priority=new e.Value,d.active=new e.Value,d.activeArgumentsQueue=[],d.expanded=new e.Value,d.expandedArgumentsQueue=[],d.active.bind(function(a){var c=d.activeArgumentsQueue.shift();c=b.extend({},d.defaultActiveArguments,c),a=a&&d.isContextuallyActive(),d.onChangeActive(a,c)}),d.expanded.bind(function(a){var c=d.expandedArgumentsQueue.shift();c=b.extend({},d.defaultExpandedArguments,c),d.onChangeExpanded(a,c)}),d.deferred.embedded.done(function(){d.attachEvents()}),e.utils.bubbleChildValueChanges(d,["priority","active"]),d.priority.set(d.params.priority),d.active.set(d.params.active),d.expanded.set(!1)},ready:function(){},_children:function(a,b){var c=this,d=[];return e[b].each(function(b){b[a].get()===c.id&&d.push(b)}),d.sort(e.utils.prioritySort),d},isContextuallyActive:function(){throw new Error("Container.isContextuallyActive() must be overridden in a subclass.")},onChangeActive:function(a,c){var d,f=this;return c.unchanged?void(c.completeCallback&&c.completeCallback()):(d="resolved"===e.previewer.deferred.active.state()?c.duration:0,void(b.contains(document,f.container[0])?a?f.container.stop(!0,!0).slideDown(d,c.completeCallback):f.expanded()?f.collapse({duration:d,completeCallback:function(){f.container.stop(!0,!0).slideUp(d,c.completeCallback)}}):f.container.stop(!0,!0).slideUp(d,c.completeCallback):(f.container.toggle(a),c.completeCallback&&c.completeCallback())))},_toggleActive:function(a,b){var c=this;return b=b||{},a&&this.active.get()||!a&&!this.active.get()?(b.unchanged=!0,c.onChangeActive(c.active.get(),b),!1):(b.unchanged=!1,this.activeArgumentsQueue.push(b),this.active.set(a),!0)},activate:function(a){return this._toggleActive(!0,a)},deactivate:function(a){return this._toggleActive(!1,a)},onChangeExpanded:function(){throw new Error("Must override with subclass.")},_toggleExpanded:function(a,b){var c=this;b=b||{};var d=this,e=b.completeCallback;return b.completeCallback=function(){e&&e.apply(d,arguments),a?d.container.trigger("expanded"):d.container.trigger("collapsed")},a&&this.expanded.get()||!a&&!this.expanded.get()?(b.unchanged=!0,c.onChangeExpanded(c.expanded.get(),b),!1):(b.unchanged=!1,this.expandedArgumentsQueue.push(b),this.expanded.set(a),!0)},expand:function(a){return this._toggleExpanded(!0,a)},collapse:function(a){return this._toggleExpanded(!1,a)},focus:d,getContainer:function(){var a,c=this;return a=0!==b("#tmpl-"+c.templateSelector).length?wp.template(c.templateSelector):wp.template("customize-"+c.containerType+"-default"),a&&c.container?b.trim(a(c.params)):"
  • "}}),e.Section=c.extend({containerType:"section",defaults:{title:"",description:"",priority:100,type:"default",content:null,active:!0,instanceNumber:null,panel:null,customizeAction:""},initialize:function(a,d){var f=this;c.prototype.initialize.call(f,a,d),f.id=a,f.panel=new e.Value,f.panel.bind(function(a){b(f.container).toggleClass("control-subsection",!!a)}),f.panel.set(f.params.panel||""),e.utils.bubbleChildValueChanges(f,["panel"]),f.embed(),f.deferred.embedded.done(function(){f.ready()})},embed:function(){var a,c=this;a=function(a){var d;a?e.panel(a,function(a){a.deferred.embedded.done(function(){d=a.container.find("ul:first"),c.container.parent().is(d)||d.append(c.container),c.deferred.embedded.resolve()})}):(d=b("#customize-theme-controls").children("ul"),c.container.parent().is(d)||d.append(c.container),c.deferred.embedded.resolve())},c.panel.bind(a),a(c.panel.get())},attachEvents:function(){var a=this;a.container.find(".accordion-section-title, .customize-section-back").on("click keydown",function(b){e.utils.isKeydownButNotEnterEvent(b)||(b.preventDefault(),a.expanded()?a.collapse():a.expand())})},isContextuallyActive:function(){var a=this,b=a.controls(),c=0;return _(b).each(function(a){a.active()&&(c+=1)}),0!==c},controls:function(){return this._children("section","control")},onChangeExpanded:function(a,c){var d,f,g,h,i=this,j=i.container.closest(".wp-full-overlay-sidebar-content"),k=i.container.find(".accordion-section-content"),l=i.container.closest(".wp-full-overlay"),m=i.container.find(".customize-section-back"),n=i.container.find(".accordion-section-title").first(),o=b("#customize-header-actions").height();a&&!i.container.hasClass("open")?(c.unchanged?f=c.completeCallback:(j.scrollTop(0),d=function(){var a,b;a=window.matchMedia||window.msMatchMedia,b=90,a&&a("(max-width: 640px)").matches&&(b=45),k.css("height",window.innerHeight-b)},f=function(){i.container.addClass("open"),l.addClass("section-open"),g=k.offset().top,h=j.scrollTop(),k.css("margin-top",o-g-h),d(),n.attr("tabindex","-1"),m.attr("tabindex","0"),m.focus(),c.completeCallback&&c.completeCallback(),b(window).on("resize.customizer-section",_.debounce(d,100)),e.bind("pane-contents-reflowed",_.debounce(function(){var a=k.offset().top-o;a>0&&k.css("margin-top",parseInt(k.css("margin-top"),10)-a)},100))}),c.allowMultiple||e.section.each(function(a){a!==i&&a.collapse({duration:c.duration})}),i.panel()?e.panel(i.panel()).expand({duration:c.duration,completeCallback:f}):(e.panel.each(function(a){a.collapse()}),f())):!a&&i.container.hasClass("open")?(i.container.removeClass("open"),l.removeClass("section-open"),k.css("margin-top",""),j.scrollTop(0),m.attr("tabindex","-1"),n.attr("tabindex","0"),n.focus(),c.completeCallback&&c.completeCallback(),b(window).off("resize.customizer-section")):c.completeCallback&&c.completeCallback()}}),e.ThemesSection=e.Section.extend({currentTheme:"",overlay:"",template:"",screenshotQueue:null,$window:b(window),initialize:function(){return this.$customizeSidebar=b(".wp-full-overlay-sidebar-content:first"),e.Section.prototype.initialize.apply(this,arguments)},ready:function(){var a=this;a.overlay=a.container.find(".theme-overlay"),a.template=wp.template("customize-themes-details-view"),b("body").on("keyup",function(b){a.overlay.find(".theme-wrap").is(":visible")&&(39===b.keyCode&&a.nextTheme(),37===b.keyCode&&a.previousTheme(),27===b.keyCode&&a.closeDetails())}),_.bindAll(this,"renderScreenshots")},isContextuallyActive:function(){return this.active()},attachEvents:function(){var a=this;a.container.find(".change-theme, .customize-theme").on("click keydown",function(b){e.utils.isKeydownButNotEnterEvent(b)||(b.preventDefault(),a.expanded()?a.collapse():a.expand())}),a.container.on("click keydown",".left",function(b){e.utils.isKeydownButNotEnterEvent(b)||(b.preventDefault(),a.previousTheme())}),a.container.on("click keydown",".right",function(b){e.utils.isKeydownButNotEnterEvent(b)||(b.preventDefault(),a.nextTheme())}),a.container.on("click keydown",".theme-backdrop, .close",function(b){e.utils.isKeydownButNotEnterEvent(b)||(b.preventDefault(),a.closeDetails())});var b=_.throttle(_.bind(a.renderScreenshots,this),100);a.container.on("input","#themes-filter",function(c){var d,e=c.currentTarget.value.toLowerCase().trim().replace("-"," "),f=a.controls();_.each(f,function(a){a.filter(e)}),b(),d=a.container.find("li.customize-control:visible").length,a.container.find(".theme-count").text(d)}),e.bind("ready",function(){_.each(a.controls().slice(0,3),function(a){var b,c=a.params.theme.screenshot[0];c&&(b=new Image,b.src=c)})})},onChangeExpanded:function(a,c){if(c.unchanged)return void(c.completeCallback&&c.completeCallback());var d,f,g=this,h=g.container.closest(".accordion-section"),i=h.closest(".wp-full-overlay"),j=h.closest(".wp-full-overlay-sidebar-content"),k=j.find(".open"),l=h.find(".customize-theme"),m=h.find(".change-theme"),n=h.find(".control-panel-content");a?(e.section.each(function(a){a!==g&&a.collapse({duration:c.duration})}),e.panel.each(function(a){a.collapse({duration:0})}),n.show(0,function(){d=n.offset().top,f=j.scrollTop(),n.css("margin-top",b("#customize-header-actions").height()-d-f),h.addClass("current-panel"),i.addClass("in-themes-panel"),j.scrollTop(0),_.delay(g.renderScreenshots,10),g.$customizeSidebar.on("scroll.customize-themes-section",_.throttle(g.renderScreenshots,300)),c.completeCallback&&c.completeCallback()}),l.focus()):(k.removeClass("open"),h.removeClass("current-panel"),i.removeClass("in-themes-panel"),g.$customizeSidebar.off("scroll.customize-themes-section"),n.delay(180).hide(0,function(){n.css("margin-top","inherit"),c.completeCallback&&c.completeCallback()}),l.attr("tabindex","0"),m.focus(),j.scrollTop(0))},renderScreenshots:function(){var a=this;null===a.screenshotQueue&&(a.screenshotQueue=a.controls()),a.screenshotQueue.length&&(a.screenshotQueue=_.filter(a.screenshotQueue,function(b){var c=b.container.find(".theme-screenshot"),d=c.find("img");if(!d.length)return!1;if(d.is(":hidden"))return!0;var e=a.$window.scrollTop(),f=e+a.$window.height(),g=d.offset().top,h=c.height(),i=g+h,j=3*h,k=i>=e-j&&f+j>=g;return k&&b.container.trigger("render-screenshot"),!k}))},nextTheme:function(){var a=this;a.getNextTheme()&&a.showDetails(a.getNextTheme(),function(){a.overlay.find(".right").focus()})},getNextTheme:function(){var a,b;return a=e.control("theme_"+this.currentTheme),b=a.container.next("li.customize-control-theme"),b.length?(b=b[0].id.replace("customize-control-",""),a=e.control(b),a.params.theme):!1},previousTheme:function(){var a=this;a.getPreviousTheme()&&a.showDetails(a.getPreviousTheme(),function(){a.overlay.find(".left").focus()})},getPreviousTheme:function(){var a,b;return a=e.control("theme_"+this.currentTheme),b=a.container.prev("li.customize-control-theme"),b.length?(b=b[0].id.replace("customize-control-",""),a=e.control(b),a.params.theme):!1},updateLimits:function(){this.getNextTheme()||this.overlay.find(".right").addClass("disabled"),this.getPreviousTheme()||this.overlay.find(".left").addClass("disabled")},showDetails:function(a,c){var d=this;c=c||function(){},d.currentTheme=a.id,d.overlay.html(d.template(a)).fadeIn("fast").focus(),b("body").addClass("modal-open"),d.containFocus(d.overlay),d.updateLimits(),c()},closeDetails:function(){b("body").removeClass("modal-open"),this.overlay.fadeOut("fast"),e.control("theme_"+this.currentTheme).focus()},containFocus:function(a){var c;a.on("keydown",function(d){return 9===d.keyCode?(c=b(":tabbable",a),c.last()[0]!==d.target||d.shiftKey?c.first()[0]===d.target&&d.shiftKey?(c.last().focus(),!1):void 0:(c.first().focus(),!1)):void 0})}}),e.Panel=c.extend({containerType:"panel",initialize:function(a,b){var d=this;c.prototype.initialize.call(d,a,b),d.embed(),d.deferred.embedded.done(function(){d.ready()})},embed:function(){var a=this,c=b("#customize-theme-controls > ul");a.container.parent().is(c)||(c.append(a.container),a.renderContent()),a.deferred.embedded.resolve()},attachEvents:function(){var a,c=this;c.container.find(".accordion-section-title").on("click keydown",function(a){e.utils.isKeydownButNotEnterEvent(a)||(a.preventDefault(),c.expanded()||c.expand())}),c.container.find(".customize-panel-back").on("click keydown",function(a){e.utils.isKeydownButNotEnterEvent(a)||(a.preventDefault(),c.expanded()&&c.collapse())}),a=c.container.find(".panel-meta:first"),a.find("> .accordion-section-title .customize-help-toggle").on("click keydown",function(d){if(!e.utils.isKeydownButNotEnterEvent(d)&&(d.preventDefault(),a=c.container.find(".panel-meta"),!a.hasClass("cannot-expand"))){var f=a.find(".customize-panel-description:first");a.hasClass("open")?(a.toggleClass("open"),f.slideUp(c.defaultExpandedArguments.duration),b(this).attr("aria-expanded",!1)):(f.slideDown(c.defaultExpandedArguments.duration),a.toggleClass("open"),b(this).attr("aria-expanded",!0))}})},sections:function(){return this._children("panel","section")},isContextuallyActive:function(){var a=this,b=a.sections(),c=0;return _(b).each(function(a){a.active()&&a.isContextuallyActive()&&(c+=1)}),0!==c},onChangeExpanded:function(a,c){if(c.unchanged)return void(c.completeCallback&&c.completeCallback());var d,f,g=this,h=g.container.closest(".accordion-section"),i=h.closest(".wp-full-overlay"),j=h.closest(".wp-full-overlay-sidebar-content"),k=j.find(".open"),l=i.find("#customize-theme-controls > ul > .accordion-section > .accordion-section-title"),m=h.find(".customize-panel-back"),n=h.find(".accordion-section-title").first(),o=h.find(".control-panel-content"),p=b("#customize-header-actions").height();a?(e.section.each(function(a){g.id!==a.panel()&&a.collapse({duration:0})}),e.panel.each(function(a){g!==a&&a.collapse({duration:0})}),o.show(0,function(){o.parent().show(),d=o.offset().top,f=j.scrollTop(),o.css("margin-top",p-d-f),h.addClass("current-panel"),i.addClass("in-sub-panel"),j.scrollTop(0),c.completeCallback&&c.completeCallback()}),l.attr("tabindex","-1"),m.attr("tabindex","0"),m.focus(),e.bind("pane-contents-reflowed",_.debounce(function(){o.css("margin-top",parseInt(o.css("margin-top"),10)-(o.offset().top-p))},100))):(k.removeClass("open"),h.removeClass("current-panel"),i.removeClass("in-sub-panel"),o.delay(180).hide(0,function(){o.css("margin-top","inherit"),c.completeCallback&&c.completeCallback()}),l.attr("tabindex","0"),m.attr("tabindex","-1"),n.focus(),j.scrollTop(0))},renderContent:function(){var a,c=this;a=0!==b("#tmpl-"+c.templateSelector+"-content").length?wp.template(c.templateSelector+"-content"):wp.template("customize-panel-default-content"),a&&c.container&&c.container.find(".accordion-sub-container").html(a(c.params))}}),e.Control=e.Class.extend({defaultActiveArguments:{duration:"fast",completeCallback:b.noop},initialize:function(a,c){var d,f,g,h=this;h.params={},b.extend(h,c||{}),h.id=a,h.selector="#customize-control-"+a.replace(/\]/g,"").replace(/\[/g,"-"),h.templateSelector="customize-control-"+h.params.type+"-content",h.container=b(h.params.content?h.params.content:h.selector),h.deferred={embedded:new b.Deferred},h.section=new e.Value,h.priority=new e.Value,h.active=new e.Value,h.activeArgumentsQueue=[],h.elements=[],d=h.container.find("[data-customize-setting-link]"),f={},d.each(function(){var a,c=b(this);if(c.is(":radio")){if(a=c.prop("name"),f[a])return;f[a]=!0,c=d.filter('[name="'+a+'"]')}e(c.data("customizeSettingLink"),function(a){var b=new e.Element(c);h.elements.push(b),b.sync(a),b.set(a())})}),h.active.bind(function(a){var c=h.activeArgumentsQueue.shift();c=b.extend({},h.defaultActiveArguments,c),h.onChangeActive(a,c)}),h.section.set(h.params.section),h.priority.set(isNaN(h.params.priority)?10:h.params.priority),h.active.set(h.params.active),e.utils.bubbleChildValueChanges(h,["section","priority","active"]),g=b.map(h.params.settings,function(a){return a}),e.apply(e,g.concat(function(){var a;h.settings={};for(a in h.params.settings)h.settings[a]=e(h.params.settings[a]);h.setting=h.settings["default"]||null,h.embed()})),h.deferred.embedded.done(function(){h.ready()})},embed:function(){var a,b=this;a=function(a){var c;a&&e.section(a,function(a){a.deferred.embedded.done(function(){c=a.container.find("ul:first"),b.container.parent().is(c)||(c.append(b.container),b.renderContent()),b.deferred.embedded.resolve()})})},b.section.bind(a),a(b.section.get())},ready:function(){},expand:function(a){e.section(this.section()).expand(a)},focus:d,onChangeActive:function(a,c){return c.unchanged?void(c.completeCallback&&c.completeCallback()):void(b.contains(document,this.container)?a?this.container.slideDown(c.duration,c.completeCallback):this.container.slideUp(c.duration,c.completeCallback):(this.container.toggle(a),c.completeCallback&&c.completeCallback()))},toggle:function(a){return this.onChangeActive(a,this.defaultActiveArguments)},activate:c.prototype.activate,deactivate:c.prototype.deactivate,_toggleActive:c.prototype._toggleActive,dropdownInit:function(){var a=this,b=this.container.find(".dropdown-status"),c=this.params,d=!1,f=function(a){"string"==typeof a&&c.statuses&&c.statuses[a]?b.html(c.statuses[a]).show():b.hide()};this.container.on("click keydown",".dropdown",function(b){e.utils.isKeydownButNotEnterEvent(b)||(b.preventDefault(),d||a.container.toggleClass("open"),a.container.hasClass("open")&&a.container.parent().parent().find("li.library-selected").focus(),d=!0,setTimeout(function(){d=!1},400))}),this.setting.bind(f),f(this.setting())},renderContent:function(){var a,c=this;0!==b("#tmpl-"+c.templateSelector).length&&(a=wp.template(c.templateSelector),a&&c.container&&c.container.html(a(c.params)))}}),e.ColorControl=e.Control.extend({ready:function(){var a=this,b=this.container.find(".color-picker-hex");b.val(a.setting()).wpColorPicker({change:function(){a.setting.set(b.wpColorPicker("color"))},clear:function(){a.setting.set(!1)}}),this.setting.bind(function(a){b.val(a),b.wpColorPicker("color",a)})}}),e.MediaControl=e.Control.extend({ready:function(){var a=this;_.bindAll(a,"restoreDefault","removeFile","openFrame","select","pausePlayer"),a.container.on("click keydown",".upload-button",a.openFrame),a.container.on("click keydown",".upload-button",a.pausePlayer),a.container.on("click keydown",".thumbnail-image img",a.openFrame),a.container.on("click keydown",".default-button",a.restoreDefault),a.container.on("click keydown",".remove-button",a.pausePlayer),a.container.on("click keydown",".remove-button",a.removeFile),a.container.on("click keydown",".remove-button",a.cleanupPlayer),e.section(a.section()).container.on("expanded",function(){a.player&&a.player.setControlsSize()}).on("collapsed",function(){a.pausePlayer()}),a.setting.bind(function(){a.renderContent()})},pausePlayer:function(){this.player&&this.player.pause()},cleanupPlayer:function(){this.player&&wp.media.mixin.removePlayer(this.player)},openFrame:function(a){e.utils.isKeydownButNotEnterEvent(a)||(a.preventDefault(),this.frame||this.initFrame(),this.frame.open())},initFrame:function(){this.frame=wp.media({button:{text:this.params.button_labels.frame_button},states:[new wp.media.controller.Library({title:this.params.button_labels.frame_title,library:wp.media.query({type:this.params.mime_type}),multiple:!1,date:!1})]}),this.frame.on("select",this.select)},select:function(){var a,b=this.frame.state().get("selection").first().toJSON(),c=window._wpmejsSettings||{};this.params.attachment=b,this.setting(b.id),a=this.container.find("audio, video").get(0),a?this.player=new MediaElementPlayer(a,c):this.cleanupPlayer()},restoreDefault:function(a){e.utils.isKeydownButNotEnterEvent(a)||(a.preventDefault(),this.params.attachment=this.params.defaultAttachment,this.setting(this.params.defaultAttachment.url))},removeFile:function(a){e.utils.isKeydownButNotEnterEvent(a)||(a.preventDefault(),this.params.attachment={},this.setting(""),this.renderContent())}}),e.UploadControl=e.MediaControl.extend({select:function(){var a,b=this.frame.state().get("selection").first().toJSON(),c=window._wpmejsSettings||{};this.params.attachment=b,this.setting(b.url),a=this.container.find("audio, video").get(0),a?this.player=new MediaElementPlayer(a,c):this.cleanupPlayer()},success:function(){},removerVisibility:function(){}}),e.ImageControl=e.UploadControl.extend({thumbnailSrc:function(){}}),e.BackgroundControl=e.UploadControl.extend({ready:function(){e.UploadControl.prototype.ready.apply(this,arguments)},select:function(){e.UploadControl.prototype.select.apply(this,arguments),wp.ajax.post("custom-background-add",{nonce:_wpCustomizeBackground.nonces.add,wp_customize:"on",theme:e.settings.theme.stylesheet,attachment_id:this.params.attachment.id})}}),e.CroppedImageControl=e.MediaControl.extend({openFrame:function(a){e.utils.isKeydownButNotEnterEvent(a)||(this.initFrame(),this.frame.setState("library").open())},initFrame:function(){var a=_wpMediaViewsL10n;this.frame=wp.media({button:{text:a.select,close:!1},states:[new wp.media.controller.Library({title:this.params.button_labels.frame_title,library:wp.media.query({type:"image"}),multiple:!1,date:!1,priority:20,suggestedWidth:this.params.width,suggestedHeight:this.params.height}),new wp.media.controller.CustomizeImageCropper({imgSelectOptions:this.calculateImageSelectOptions,control:this})]}),this.frame.on("select",this.onSelect,this),this.frame.on("cropped",this.onCropped,this),this.frame.on("skippedcrop",this.onSkippedCrop,this)},onSelect:function(){var a=this.frame.state().get("selection").first().toJSON();this.params.width!==a.width||this.params.height!==a.height||this.params.flex_width||this.params.flex_height?this.frame.setState("cropper"):(this.setImageFromAttachment(a),this.frame.close())},onCropped:function(a){this.setImageFromAttachment(a)},calculateImageSelectOptions:function(a,b){var c,d,e,f=b.get("control"),g=!!parseInt(f.params.flex_width,10),h=!!parseInt(f.params.flex_height,10),i=a.get("width"),j=a.get("height"),k=parseInt(f.params.width,10),l=parseInt(f.params.height,10),m=k/l,n=i,o=j;return b.set("canSkipCrop",!f.mustBeCropped(g,h,k,l,i,j)),n/o>m?(l=o,k=l*m):(k=n,l=k/m),c=(n-k)/2,d=(o-l)/2,e={handles:!0,keys:!0,instance:!0,persistent:!0,imageWidth:i,imageHeight:j,x1:c,y1:d,x2:k+c,y2:l+d},h===!1&&g===!1&&(e.aspectRatio=k+":"+l),h===!1&&(e.maxHeight=l),g===!1&&(e.maxWidth=k),e},mustBeCropped:function(a,b,c,d,e,f){return!0===a&&!0===b?!1:!0===a&&d===f?!1:!0===b&&c===e?!1:c===e&&d===f?!1:c>=e?!1:!0},onSkippedCrop:function(){var a=this.frame.state().get("selection").first().toJSON();this.setImageFromAttachment(a)},setImageFromAttachment:function(a){this.params.attachment=a,this.setting(a.id)}}),e.SiteIconControl=e.CroppedImageControl.extend({initFrame:function(){var a=_wpMediaViewsL10n;this.frame=wp.media({button:{text:a.select,close:!1},states:[new wp.media.controller.Library({title:this.params.button_labels.frame_title,library:wp.media.query({type:"image"}),multiple:!1,date:!1,priority:20,suggestedWidth:this.params.width,suggestedHeight:this.params.height}),new wp.media.controller.SiteIconCropper({imgSelectOptions:this.calculateImageSelectOptions,control:this})]}),this.frame.on("select",this.onSelect,this),this.frame.on("cropped",this.onCropped,this),this.frame.on("skippedcrop",this.onSkippedCrop,this)},onSelect:function(){var a=this.frame.state().get("selection").first().toJSON(),b=this;this.params.width!==a.width||this.params.height!==a.height||this.params.flex_width||this.params.flex_height?this.frame.setState("cropper"):wp.ajax.post("crop-image",{nonce:a.nonces.edit,id:a.id,context:"site-icon",cropDetails:{x1:0,y1:0,width:this.params.width,height:this.params.height,dst_width:this.params.width,dst_height:this.params.height}}).done(function(a){b.setImageFromAttachment(a),b.frame.close()}).fail(function(){b.trigger("content:error:crop")})},setImageFromAttachment:function(a){var c,d=["site_icon-32","thumbnail","full"];_.each(d,function(b){c||_.isUndefined(a.sizes[b])||(c=a.sizes[b])}),this.params.attachment=a,this.setting(a.id),b('link[sizes="32x32"]').attr("href",c.url)},removeFile:function(a){e.utils.isKeydownButNotEnterEvent(a)||(a.preventDefault(),this.params.attachment={},this.setting(""),this.renderContent(),b('link[rel="icon"]').attr("href",""))}}),e.HeaderControl=e.Control.extend({ready:function(){this.btnRemove=b("#customize-control-header_image .actions .remove"),this.btnNew=b("#customize-control-header_image .actions .new"),_.bindAll(this,"openMedia","removeImage"),this.btnNew.on("click",this.openMedia),this.btnRemove.on("click",this.removeImage),e.HeaderTool.currentHeader=this.getInitialHeaderImage(),new e.HeaderTool.CurrentView({model:e.HeaderTool.currentHeader,el:"#customize-control-header_image .current .container"}),new e.HeaderTool.ChoiceListView({collection:e.HeaderTool.UploadsList=new e.HeaderTool.ChoiceList,el:"#customize-control-header_image .choices .uploaded .list"}),new e.HeaderTool.ChoiceListView({collection:e.HeaderTool.DefaultsList=new e.HeaderTool.DefaultsList,el:"#customize-control-header_image .choices .default .list"}),e.HeaderTool.combinedList=e.HeaderTool.CombinedList=new e.HeaderTool.CombinedList([e.HeaderTool.UploadsList,e.HeaderTool.DefaultsList])},getInitialHeaderImage:function(){if(!e.get().header_image||!e.get().header_image_data||_.contains(["remove-header","random-default-image","random-uploaded-image"],e.get().header_image))return new e.HeaderTool.ImageModel;var a=_.find(_wpCustomizeHeader.uploads,function(a){return a.attachment_id===e.get().header_image_data.attachment_id});return a||(a={url:e.get().header_image,thumbnail_url:e.get().header_image,attachment_id:e.get().header_image_data.attachment_id}),new e.HeaderTool.ImageModel({header:a,choice:a.url.split("/").pop()})},calculateImageSelectOptions:function(a,b){var c,d,f,g,h,i,j=parseInt(_wpCustomizeHeader.data.width,10),k=parseInt(_wpCustomizeHeader.data.height,10),l=!!parseInt(_wpCustomizeHeader.data["flex-width"],10),m=!!parseInt(_wpCustomizeHeader.data["flex-height"],10);return h=a.get("width"),g=a.get("height"),this.headerImage=new e.HeaderTool.ImageModel,this.headerImage.set({themeWidth:j,themeHeight:k,themeFlexWidth:l,themeFlexHeight:m,imageWidth:h,imageHeight:g}),b.set("canSkipCrop",!this.headerImage.shouldBeCropped()),c=j/k,d=h,f=g,d/f>c?(k=f,j=k*c):(j=d,k=j/c),i={handles:!0,keys:!0,instance:!0,persistent:!0,imageWidth:h,imageHeight:g,x1:0,y1:0,x2:j,y2:k},m===!1&&l===!1&&(i.aspectRatio=j+":"+k),m===!1&&(i.maxHeight=k),l===!1&&(i.maxWidth=j),i},openMedia:function(a){var b=_wpMediaViewsL10n;a.preventDefault(),this.frame=wp.media({button:{text:b.selectAndCrop,close:!1},states:[new wp.media.controller.Library({title:b.chooseImage,library:wp.media.query({type:"image"}),multiple:!1,date:!1,priority:20,suggestedWidth:_wpCustomizeHeader.data.width,suggestedHeight:_wpCustomizeHeader.data.height}),new wp.media.controller.Cropper({imgSelectOptions:this.calculateImageSelectOptions})]}),this.frame.on("select",this.onSelect,this),this.frame.on("cropped",this.onCropped,this),this.frame.on("skippedcrop",this.onSkippedCrop,this),this.frame.open()},onSelect:function(){this.frame.setState("cropper")},onCropped:function(a){var b=a.post_content,c=a.attachment_id,d=a.width,e=a.height;this.setImageFromURL(b,c,d,e)},onSkippedCrop:function(a){var b=a.get("url"),c=a.get("width"),d=a.get("height");this.setImageFromURL(b,a.id,c,d)},setImageFromURL:function(a,b,c,d){var f,g={};g.url=a,g.thumbnail_url=a,g.timestamp=_.now(),b&&(g.attachment_id=b),c&&(g.width=c),d&&(g.height=d),f=new e.HeaderTool.ImageModel({header:g,choice:a.split("/").pop()}),e.HeaderTool.UploadsList.add(f),e.HeaderTool.currentHeader.set(f.toJSON()),f.save(),f.importImage()},removeImage:function(){e.HeaderTool.currentHeader.trigger("hide"),e.HeaderTool.CombinedList.trigger("control:removeImage")}}),e.ThemeControl=e.Control.extend({touchDrag:!1,isRendered:!1,renderContent:function(){var a=this,b=arguments;e.section(a.section(),function(c){c.expanded()?(e.Control.prototype.renderContent.apply(a,b),a.isRendered=!0):c.expanded.bind(function(c){c&&!a.isRendered&&(e.Control.prototype.renderContent.apply(a,b),a.isRendered=!0)})})},ready:function(){var a=this;a.container.on("touchmove",".theme",function(){a.touchDrag=!0}),a.container.on("click keydown touchend",".theme",function(c){if(!e.utils.isKeydownButNotEnterEvent(c)){if(a.touchDrag===!0)return a.touchDrag=!1;if(!b(c.target).is(".theme-actions .button")){var d=b(this).data("previewUrl");b(".wp-full-overlay").addClass("customize-loading"),window.parent.location=d}}}),a.container.on("click keydown",".theme-actions .theme-details",function(b){e.utils.isKeydownButNotEnterEvent(b)||(b.preventDefault(),e.section(a.section()).showDetails(a.params.theme))}),a.container.on("render-screenshot",function(){var a=b(this).find("img"),c=a.data("src");c&&a.attr("src",c)})},filter:function(a){var b=this,c=b.params.theme.name+" "+b.params.theme.description+" "+b.params.theme.tags+" "+b.params.theme.author;c=c.toLowerCase().replace("-"," "),-1!==c.search(a)?b.activate():b.deactivate()}}),e.defaultConstructor=e.Setting,e.control=new e.Values({defaultConstructor:e.Control}),e.section=new e.Values({defaultConstructor:e.Section}),e.panel=new e.Values({defaultConstructor:e.Panel}),e.PreviewFrame=e.Messenger.extend({sensitivity:2e3,initialize:function(a,c){var d=b.Deferred();d.promise(this),this.container=a.container,this.signature=a.signature,b.extend(a,{channel:e.PreviewFrame.uuid()}),e.Messenger.prototype.initialize.call(this,a,c),this.add("previewUrl",a.previewUrl),this.query=b.extend(a.query||{},{customize_messenger_channel:this.channel()}),this.run(d)},run:function(a){var c=this,d=!1,f=!1;this._ready&&this.unbind("ready",this._ready),this._ready=function(){f=!0,d&&a.resolveWith(c)},this.bind("ready",this._ready),this.bind("ready",function(a){if(this.container.addClass("iframe-ready"),a){var b={panel:a.activePanels,section:a.activeSections,control:a.activeControls};_(b).each(function(a,b){e[b].each(function(b,c){var d=!(!a||!a[c]);d?b.activate():b.deactivate()})})}}),this.request=b.ajax(this.previewUrl(),{type:"POST",data:this.query,xhrFields:{withCredentials:!0}}),this.request.fail(function(){a.rejectWith(c,["request failure"])}),this.request.done(function(g){var h,i=c.request.getResponseHeader("Location"),j=c.signature;return i&&i!==c.previewUrl()?void a.rejectWith(c,["redirect",i]):"0"===g?void c.login(a):"-1"===g?void a.rejectWith(c,["cheatin"]):(h=g.lastIndexOf(j),-1===h||h")?void a.rejectWith(c,["unsigned"]):(g=g.slice(0,h)+g.slice(h+j.length),c.iframe=b(" + if ( wp_verify_nonce( $_GET['_error_nonce'], 'plugin-activation-error_' . $file ) ) { + $iframe_url = add_query_arg( array( + 'action' => 'error_scrape', + 'plugin' => urlencode( $file ), + '_wpnonce' => urlencode( $_GET['_error_nonce'] ), + ), admin_url( 'plugins.php' ) ); + ?> +
    @@ -179,16 +188,22 @@ default:
    %s (active)'), $file); - else - echo sprintf(__('Browsing %s (active)'), $file); + if ( is_plugin_active( $plugin ) ) { + if ( is_writeable( $real_file ) ) { + /* translators: %s: plugin file name */ + echo sprintf( __( 'Editing %s (active)' ), '' . $file . '' ); + } else { + /* translators: %s: plugin file name */ + echo sprintf( __( 'Browsing %s (active)' ), '' . $file . '' ); + } } else { - if ( is_writeable($real_file) ) - echo sprintf(__('Editing %s (inactive)'), $file); - else - echo sprintf(__('Browsing %s (inactive)'), $file); + if ( is_writeable( $real_file ) ) { + /* translators: %s: plugin file name */ + echo sprintf( __( 'Editing %s (inactive)' ), '' . $file . '' ); + } else { + /* translators: %s: plugin file name */ + echo sprintf( __( 'Browsing %s (inactive)' ), '' . $file . '' ); + } } ?>
    @@ -216,7 +231,7 @@ default:
    -

    +

      " />
    -
    +
    diff --git a/wp-admin/plugin-install.php b/wp-admin/plugin-install.php index 770572e..c9f2b50 100644 --- a/wp-admin/plugin-install.php +++ b/wp-admin/plugin-install.php @@ -88,6 +88,12 @@ get_current_screen()->set_help_sidebar( '

    ' . __('Support Forums') . '

    ' ); +get_current_screen()->set_screen_reader_content( array( + 'heading_views' => __( 'Filter plugins list' ), + 'heading_pagination' => __( 'Plugins list navigation' ), + 'heading_list' => __( 'Plugins list' ), +) ); + /** * WordPress Administration Template Header. */ diff --git a/wp-admin/plugins.php b/wp-admin/plugins.php index 75f2491..93aec79 100644 --- a/wp-admin/plugins.php +++ b/wp-admin/plugins.php @@ -54,6 +54,10 @@ if ( $action ) { $recent = (array) get_option( 'recently_activated' ); unset( $recent[ $plugin ] ); update_option( 'recently_activated', $recent ); + } else { + $recent = (array) get_site_option( 'recently_activated' ); + unset( $recent[ $plugin ] ); + update_site_option( 'recently_activated', $recent ); } if ( isset($_GET['from']) && 'import' == $_GET['from'] ) { @@ -96,9 +100,18 @@ if ( $action ) { if ( ! is_network_admin() ) { $recent = (array) get_option('recently_activated' ); - foreach ( $plugins as $plugin ) - unset( $recent[ $plugin ] ); + } else { + $recent = (array) get_site_option('recently_activated' ); + } + + foreach ( $plugins as $plugin ) { + unset( $recent[ $plugin ] ); + } + + if ( ! is_network_admin() ) { update_option( 'recently_activated', $recent ); + } else { + update_site_option( 'recently_activated', $recent ); } wp_redirect( self_admin_url("plugins.php?activate-multi=true&plugin_status=$status&paged=$page&s=$s") ); @@ -148,13 +161,6 @@ if ( $action ) { @ini_set('display_errors', true); //Ensure that Fatal errors are displayed. // Go back to "sandbox" scope so we get the same errors as before - /** - * @param string $plugin - */ - function plugin_sandbox_scrape( $plugin ) { - wp_register_plugin_realpath( WP_PLUGIN_DIR . '/' . $plugin ); - include( WP_PLUGIN_DIR . '/' . $plugin ); - } plugin_sandbox_scrape( $plugin ); /** This action is documented in wp-admin/includes/plugin.php */ do_action( "activate_{$plugin}" ); @@ -172,8 +178,13 @@ if ( $action ) { } deactivate_plugins( $plugin, false, is_network_admin() ); - if ( ! is_network_admin() ) + + if ( ! is_network_admin() ) { update_option( 'recently_activated', array( $plugin => time() ) + (array) get_option( 'recently_activated' ) ); + } else { + update_site_option( 'recently_activated', array( $plugin => time() ) + (array) get_site_option( 'recently_activated' ) ); + } + if ( headers_sent() ) echo ""; else @@ -201,11 +212,15 @@ if ( $action ) { deactivate_plugins( $plugins, false, is_network_admin() ); + $deactivated = array(); + foreach ( $plugins as $plugin ) { + $deactivated[ $plugin ] = time(); + } + if ( ! is_network_admin() ) { - $deactivated = array(); - foreach ( $plugins as $plugin ) - $deactivated[ $plugin ] = time(); update_option( 'recently_activated', $deactivated + (array) get_option( 'recently_activated' ) ); + } else { + update_site_option( 'recently_activated', $deactivated + (array) get_site_option( 'recently_activated' ) ); } wp_redirect( self_admin_url("plugins.php?deactivate-multi=true&plugin_status=$status&paged=$page&s=$s") ); @@ -265,7 +280,7 @@ if ( $action ) { // Get plugins list from that folder. if ( $folder_plugins = get_plugins( '/' . $plugin_slug ) ) { - foreach( $folder_plugins as $plugin_file => $data ) { + foreach ( $folder_plugins as $plugin_file => $data ) { $plugin_info[ $plugin_file ] = _get_plugin_data_markup_translate( $plugin_file, $data ); $plugin_info[ $plugin_file ]['is_uninstallable'] = is_uninstallable_plugin( $plugin ); if ( ! $plugin_info[ $plugin_file ]['Network'] ) { @@ -306,11 +321,11 @@ if ( $action ) { foreach ( $plugin_info as $plugin ) { if ( $plugin['is_uninstallable'] ) { /* translators: 1: plugin name, 2: plugin author */ - echo '
  • ', sprintf( __( '%1$s by %2$s (will also delete its data)' ), esc_html($plugin['Name']), esc_html($plugin['AuthorName']) ), '
  • '; + echo '
  • ', sprintf( __( '%1$s by %2$s (will also delete its data)' ), $plugin['Name'], $plugin['AuthorName'] ), '
  • '; $data_to_delete = true; } else { /* translators: 1: plugin name, 2: plugin author */ - echo '
  • ', sprintf( __('%1$s by %2$s' ), esc_html($plugin['Name']), esc_html($plugin['AuthorName']) ), '
  • '; + echo '
  • ', sprintf( __('%1$s by %2$s' ), $plugin['Name'], $plugin['AuthorName'] ), '
  • '; } } ?> @@ -353,16 +368,22 @@ if ( $action ) { add_help_tab( array( 'title' => __('Overview'), 'content' => '

    ' . __('Plugins extend and expand the functionality of WordPress. Once a plugin is installed, you may activate it or deactivate it here.') . '

    ' . - '

    ' . sprintf(__('You can find additional plugins for your site by using the Plugin Browser/Installer functionality or by browsing the WordPress Plugin Directory directly and installing new plugins manually. To manually install a plugin you generally just need to upload the plugin file into your /wp-content/plugins directory. Once a plugin has been installed, you can activate it here.'), 'plugin-install.php', 'https://wordpress.org/plugins/') . '

    ' + '

    ' . sprintf( + /* translators: 1: Plugin Browser/Installer URL, 2: WordPress Plugin Directory URL 3: local plugin directory */ + __( 'You can find additional plugins for your site by using the Plugin Browser/Installer functionality or by browsing the WordPress Plugin Directory directly and installing new plugins manually. To manually install a plugin you generally just need to upload the plugin file into your %3$s directory. Once a plugin has been installed, you can activate it here.' ), + 'plugin-install.php', + 'https://wordpress.org/plugins/', + '/wp-content/plugins' + ) . '

    ' ) ); get_current_screen()->add_help_tab( array( 'id' => 'compatibility-problems', 'title' => __('Troubleshooting'), 'content' => '

    ' . __('Most of the time, plugins play nicely with the core of WordPress and with other plugins. Sometimes, though, a plugin’s code will get in the way of another plugin, causing compatibility issues. If your site starts doing strange things, this may be the problem. Try deactivating all your plugins and re-activating them in various combinations until you isolate which one(s) caused the issue.') . '

    ' . - '

    ' . sprintf( __('If something goes wrong with a plugin and you can’t use WordPress, delete or rename that file in the %s directory and it will be automatically deactivated.'), WP_PLUGIN_DIR) . '

    ' + '

    ' . sprintf( + /* translators: WP_PLUGIN_DIR constant value */ + __( 'If something goes wrong with a plugin and you can’t use WordPress, delete or rename that file in the %s directory and it will be automatically deactivated.' ), + '' . WP_PLUGIN_DIR . '' + ) . '

    ' ) ); get_current_screen()->set_help_sidebar( @@ -395,15 +426,29 @@ get_current_screen()->set_help_sidebar( '

    ' . __('Support Forums') . '

    ' ); +get_current_screen()->set_screen_reader_content( array( + 'heading_views' => __( 'Filter plugins list' ), + 'heading_pagination' => __( 'Plugins list navigation' ), + 'heading_list' => __( 'Plugins list' ), +) ); + $title = __('Plugins'); $parent_file = 'plugins.php'; require_once(ABSPATH . 'wp-admin/admin-header.php'); $invalid = validate_active_plugins(); -if ( !empty($invalid) ) - foreach ( $invalid as $plugin_file => $error ) - echo '

    ' . sprintf(__('The plugin %s has been deactivated due to an error: %s'), esc_html($plugin_file), $error->get_error_message()) . '

    '; +if ( ! empty( $invalid ) ) { + foreach ( $invalid as $plugin_file => $error ) { + echo '

    '; + printf( + /* translators: 1: plugin file 2: error message */ + __( 'The plugin %1$s has been deactivated due to an error: %2$s' ), + '' . esc_html( $plugin_file ) . '', + $error->get_error_message() ); + echo '

    '; + } +} ?>

    - + if ( ! isset( $_GET['main'] ) && ! isset( $_GET['charsout'] ) && wp_verify_nonce( $_GET['_error_nonce'], 'plugin-activation-error_' . $plugin ) ) { + $iframe_url = add_query_arg( array( + 'action' => 'error_scrape', + 'plugin' => urlencode( $plugin ), + '_wpnonce' => urlencode( $_GET['_error_nonce'] ), + ), admin_url( 'plugins.php' ) ); + ?> + @@ -431,7 +482,17 @@ if ( !empty($invalid) ) if ( is_wp_error($delete_result) ) : ?>

    get_error_message() ); ?>

    -

    deleted.'); ?>

    +
    +

    + deleted.' ); + } else { + _e( 'The selected plugins have been deleted.' ); + } + ?> +

    +

    activated.') ?>

    @@ -442,7 +503,7 @@ if ( !empty($invalid) )

    deactivated.'); ?>

    -

    +

    diff --git a/wp-admin/post-new.php b/wp-admin/post-new.php index 74f81fb..0c84608 100644 --- a/wp-admin/post-new.php +++ b/wp-admin/post-new.php @@ -54,8 +54,13 @@ $title = $post_type_object->labels->add_new_item; $editing = true; -if ( ! current_user_can( $post_type_object->cap->edit_posts ) || ! current_user_can( $post_type_object->cap->create_posts ) ) - wp_die( __( 'Cheatin’ uh?' ), 403 ); +if ( ! current_user_can( $post_type_object->cap->edit_posts ) || ! current_user_can( $post_type_object->cap->create_posts ) ) { + wp_die( + '

    ' . __( 'Cheatin’ uh?' ) . '

    ' . + '

    ' . __( 'You are not allowed to create posts as this user.' ) . '

    ', + 403 + ); +} // Schedule auto-draft cleanup if ( ! wp_next_scheduled( 'wp_scheduled_auto_draft_delete' ) ) diff --git a/wp-admin/post.php b/wp-admin/post.php index 89bdc38..5333b5f 100644 --- a/wp-admin/post.php +++ b/wp-admin/post.php @@ -38,55 +38,6 @@ if ( $post ) { $post_type_object = get_post_type_object( $post_type ); } -/** - * Redirect to previous page. - * - * @param int $post_id Optional. Post ID. - */ -function redirect_post($post_id = '') { - if ( isset($_POST['save']) || isset($_POST['publish']) ) { - $status = get_post_status( $post_id ); - - if ( isset( $_POST['publish'] ) ) { - switch ( $status ) { - case 'pending': - $message = 8; - break; - case 'future': - $message = 9; - break; - default: - $message = 6; - } - } else { - $message = 'draft' == $status ? 10 : 1; - } - - $location = add_query_arg( 'message', $message, get_edit_post_link( $post_id, 'url' ) ); - } elseif ( isset($_POST['addmeta']) && $_POST['addmeta'] ) { - $location = add_query_arg( 'message', 2, wp_get_referer() ); - $location = explode('#', $location); - $location = $location[0] . '#postcustom'; - } elseif ( isset($_POST['deletemeta']) && $_POST['deletemeta'] ) { - $location = add_query_arg( 'message', 3, wp_get_referer() ); - $location = explode('#', $location); - $location = $location[0] . '#postcustom'; - } else { - $location = add_query_arg( 'message', 4, get_edit_post_link( $post_id, 'url' ) ); - } - - /** - * Filter the post redirect destination URL. - * - * @since 2.9.0 - * - * @param string $location The destination URL. - * @param int $post_id The post ID. - */ - wp_redirect( apply_filters( 'redirect_post_location', $location, $post_id ) ); - exit; -} - if ( isset( $_POST['deletepost'] ) ) $action = 'delete'; elseif ( isset($_POST['wp-preview']) && 'dopreview' == $_POST['wp-preview'] ) @@ -120,7 +71,7 @@ case 'post-quickdraft-save': if ( ! wp_verify_nonce( $nonce, 'add-post' ) ) $error_msg = __( 'Unable to submit this form, please refresh and try again.' ); - if ( ! current_user_can( 'edit_posts' ) ) { + if ( ! current_user_can( get_post_type_object( 'post' )->cap->create_posts ) ) { exit; } @@ -158,6 +109,10 @@ case 'edit': if ( ! $post_type_object ) wp_die( __( 'Unknown post type.' ) ); + if ( ! in_array( $typenow, get_post_types( array( 'show_ui' => true ) ) ) ) { + wp_die( __( 'You are not allowed to edit posts in this post type.' ) ); + } + if ( ! current_user_can( 'edit_post', $post_id ) ) wp_die( __( 'You are not allowed to edit this item.' ) ); @@ -239,7 +194,7 @@ case 'editpost': // Session cookie flag that the post was saved if ( isset( $_COOKIE['wp-saving-post'] ) && $_COOKIE['wp-saving-post'] === $post_id . '-check' ) { - setcookie( 'wp-saving-post', $post_id . '-saved', time() + DAY_IN_SECONDS ); + setcookie( 'wp-saving-post', $post_id . '-saved', time() + DAY_IN_SECONDS, ADMIN_COOKIE_PATH, COOKIE_DOMAIN, is_ssl() ); } redirect_post($post_id); // Send user on their way while we keep working @@ -299,13 +254,12 @@ case 'delete': if ( ! current_user_can( 'delete_post', $post_id ) ) wp_die( __( 'You are not allowed to delete this item.' ) ); - $force = ! EMPTY_TRASH_DAYS; if ( $post->post_type == 'attachment' ) { - $force = ( $force || ! MEDIA_TRASH ); + $force = ( ! MEDIA_TRASH ); if ( ! wp_delete_attachment( $post_id, $force ) ) wp_die( __( 'Error in deleting.' ) ); } else { - if ( ! wp_delete_post( $post_id, $force ) ) + if ( ! wp_delete_post( $post_id, true ) ) wp_die( __( 'Error in deleting.' ) ); } diff --git a/wp-admin/press-this.php b/wp-admin/press-this.php index 6f27a09..62da1d3 100644 --- a/wp-admin/press-this.php +++ b/wp-admin/press-this.php @@ -11,8 +11,13 @@ define('IFRAME_REQUEST' , true); /** WordPress Administration Bootstrap */ require_once( dirname( __FILE__ ) . '/admin.php' ); -if ( ! current_user_can( 'edit_posts' ) || ! current_user_can( get_post_type_object( 'post' )->cap->create_posts ) ) - wp_die( __( 'Cheatin’ uh?' ), 403 ); +if ( ! current_user_can( 'edit_posts' ) || ! current_user_can( get_post_type_object( 'post' )->cap->create_posts ) ) { + wp_die( + '

    ' . __( 'Cheatin’ uh?' ) . '

    ' . + '

    ' . __( 'You are not allowed to create posts as this user.' ) . '

    ', + 403 + ); +} /** * @global WP_Press_This $wp_press_this diff --git a/wp-admin/revision.php b/wp-admin/revision.php index 4032859..4d86c53 100644 --- a/wp-admin/revision.php +++ b/wp-admin/revision.php @@ -75,7 +75,7 @@ default : $post_edit_link = get_edit_post_link(); $post_title = '' . _draft_or_post_title() . ''; $h1 = sprintf( __( 'Compare Revisions of “%1$s”' ), $post_title ); - $return_to_post = '' . __( '← Return to post editor' ) . ''; + $return_to_post = '' . __( '← Return to editor' ) . ''; $title = __( 'Revisions' ); $redirect = false; diff --git a/wp-admin/setup-config.php b/wp-admin/setup-config.php index 7951e96..5364fa7 100644 --- a/wp-admin/setup-config.php +++ b/wp-admin/setup-config.php @@ -46,15 +46,26 @@ if ( file_exists( ABSPATH . 'wp-config-sample.php' ) ) elseif ( file_exists( dirname( ABSPATH ) . '/wp-config-sample.php' ) ) $config_file = file( dirname( ABSPATH ) . '/wp-config-sample.php' ); else - wp_die( __( 'Sorry, I need a wp-config-sample.php file to work from. Please re-upload this file from your WordPress installation.' ) ); + wp_die( __( 'Sorry, I need a wp-config-sample.php file to work from. Please re-upload this file to your WordPress installation.' ) ); // Check if wp-config.php has been created if ( file_exists( ABSPATH . 'wp-config.php' ) ) - wp_die( '

    ' . sprintf( __( "The file 'wp-config.php' already exists. If you need to reset any of the configuration items in this file, please delete it first. You may try installing now." ), 'install.php' ) . '

    ' ); + wp_die( '

    ' . sprintf( + /* translators: %s: install.php */ + __( "The file 'wp-config.php' already exists. If you need to reset any of the configuration items in this file, please delete it first. You may try installing now." ), + 'install.php' + ) . '

    ' + ); // Check if wp-config.php exists above the root directory but is not part of another install -if ( file_exists(ABSPATH . '../wp-config.php' ) && ! file_exists( ABSPATH . '../wp-settings.php' ) ) - wp_die( '

    ' . sprintf( __( "The file 'wp-config.php' already exists one level above your WordPress installation. If you need to reset any of the configuration items in this file, please delete it first. You may try installing now."), 'install.php' ) . '

    ' ); +if ( @file_exists( ABSPATH . '../wp-config.php' ) && ! @file_exists( ABSPATH . '../wp-settings.php' ) ) { + wp_die( '

    ' . sprintf( + /* translators: %s: install.php */ + __( "The file 'wp-config.php' already exists one level above your WordPress installation. If you need to reset any of the configuration items in this file, please delete it first. You may try installing now." ), + 'install.php' + ) . '

    ' + ); +} $step = isset( $_GET['step'] ) ? (int) $_GET['step'] : -1; @@ -83,11 +94,12 @@ function setup_config_display_header( $body_classes = array() ) { + <?php _e( 'WordPress › Setup Configuration File' ); ?> -

    + Select a default language'; echo ''; wp_install_language_form( $languages ); echo ''; @@ -128,7 +141,7 @@ switch($step) { $step_1 .= '&language=' . $loaded_language; } ?> - +

    1. @@ -137,12 +150,26 @@ switch($step) {
    -

    - wp-config.php file.' ); ?> - wp-config-sample.php in a text editor, fill in your information, and save it as wp-config.php." ); ?> - We got it." ); ?> -

    -

    +

    wp-config.php' + ); + ?> + wp-config-sample.php', + 'wp-config.php' + ); + ?> + We got it.' ), + __( 'https://codex.wordpress.org/Editing_wp-config.php' ) + ); +?>

    +

    +

    -

    +

    @@ -175,7 +203,10 @@ switch($step) { - + @@ -306,10 +337,16 @@ switch($step) { if ( ! is_writable(ABSPATH) ) : setup_config_display_header(); ?> -

    wp-config.php file." ); ?>

    -

    wp-config.php manually and paste the following text into it.' ); ?>

    +

    wp-config.php' ); +?>

    +

    wp-config.php' ); +?>

    @@ -336,14 +373,15 @@ if ( ! /iPad|iPod|iPhone/.test( navigator.userAgent ) ) { $path_to_wp_config = dirname( ABSPATH ) . '/wp-config.php'; $handle = fopen( $path_to_wp_config, 'w' ); - foreach( $config_file as $line ) { + foreach ( $config_file as $line ) { fwrite( $handle, $line ); } fclose( $handle ); chmod( $path_to_wp_config, 0666 ); setup_config_display_header(); ?> -

    +

    +

    add_help_tab( array( 'title' => __('Overview'), 'content' => '

    ' . __('You can use the Theme Editor to edit the individual CSS and PHP files which make up your theme.') . '

    -

    ' . __('Begin by choosing a theme to edit from the dropdown menu and clicking Select. A list then appears of all the template files. Clicking once on any file name causes the file to appear in the large Editor box.') . '

    +

    ' . __("Begin by choosing a theme to edit from the dropdown menu and clicking Select. A list then appears of the theme's template files. Clicking once on any file name causes the file to appear in the large Editor box.") . '

    ' . __('For PHP files, you can use the Documentation dropdown to select from functions recognized in that file. Look Up takes you to a web page with reference material about that particular function.') . '

    ' . __( 'In the editing area the Tab key enters a tab character. To move below this area by pressing Tab, press the Esc key followed by the Tab key. In some cases the Esc key will need to be pressed twice before the Tab key will allow you to continue.' ) . '

    ' . __('After typing in your edits, click Update File.') . '

    @@ -45,24 +45,55 @@ get_current_screen()->set_help_sidebar( wp_reset_vars( array( 'action', 'error', 'file', 'theme' ) ); -if ( $theme ) +if ( $theme ) { $stylesheet = $theme; -else +} else { $stylesheet = get_stylesheet(); +} $theme = wp_get_theme( $stylesheet ); -if ( ! $theme->exists() ) +if ( ! $theme->exists() ) { wp_die( __( 'The requested theme does not exist.' ) ); +} -if ( $theme->errors() && 'theme_no_stylesheet' == $theme->errors()->get_error_code() ) +if ( $theme->errors() && 'theme_no_stylesheet' == $theme->errors()->get_error_code() ) { wp_die( __( 'The requested theme does not exist.' ) . ' ' . $theme->errors()->get_error_message() ); +} -$allowed_files = $theme->get_files( 'php', 1 ); -$has_templates = ! empty( $allowed_files ); -$style_files = $theme->get_files( 'css' ); -$allowed_files['style.css'] = $style_files['style.css']; -$allowed_files += $style_files; +$allowed_files = $style_files = array(); +$has_templates = false; +$default_types = array( 'php', 'css' ); + +/** + * Filter the list of file types allowed for editing in the Theme editor. + * + * @since 4.4.0 + * + * @param array $default_types List of file types. Default types include 'php' and 'css'. + * @param WP_Theme $theme The current Theme object. + */ +$file_types = apply_filters( 'wp_theme_editor_filetypes', $default_types, $theme ); + +// Ensure that default types are still there. +$file_types = array_unique( array_merge( $file_types, $default_types ) ); + +foreach ( $file_types as $type ) { + switch ( $type ) { + case 'php': + $allowed_files += $theme->get_files( 'php', 1 ); + $has_templates = ! empty( $allowed_files ); + break; + case 'css': + $style_files = $theme->get_files( 'css' ); + $allowed_files['style.css'] = $style_files['style.css']; + $allowed_files += $style_files; + break; + default: + $allowed_files += $theme->get_files( $type ); + break; + } +} if ( empty( $file ) ) { $relative_file = 'style.css'; @@ -125,7 +156,7 @@ default:

    (' . $file_show . ')'; @@ -135,7 +166,7 @@ if ( $description != $file_show )
    -

    display('Name'); if ( $description ) echo ': ' . $description; ?>

    +

    display( 'Name' ); if ( $description ) echo ': ' . $description; ?>

    @@ -163,26 +194,52 @@ if ( $theme->errors() )
    parent() ) : -?> -

    - parent() ) : ?> -

    get_template() ) ) . '">' . $theme->parent()->display('Name') . '' ); ?>

    - -
      - $absolute_filename ) : - if ( 'style.css' == $filename ) - echo "\t
    \n\t

    " . _x( 'Styles', 'Theme stylesheets in theme editor' ) . "

    \n\t
      \n"; + $file_type = substr( $filename, strrpos( $filename, '.' ) ); - $file_description = get_file_description( $absolute_filename ); - if ( $file_description != basename( $filename ) ) + if ( $file_type !== $previous_file_type ) { + if ( '' !== $previous_file_type ) { + echo "\t
    \n"; + } + + switch ( $file_type ) { + case '.php': + if ( $has_templates || $theme->parent() ) : + echo "\t

    " . __( 'Templates' ) . "

    \n"; + if ( $theme->parent() ) { + echo '

    ' . sprintf( __( 'This child theme inherits templates from a parent theme, %s.' ), + sprintf( '%s', + self_admin_url( 'theme-editor.php?theme=' . urlencode( $theme->get_template() ) ), + $theme->parent()->display( 'Name' ) + ) + ) . "

    \n"; + } + endif; + break; + case '.css': + echo "\t

    " . _x( 'Styles', 'Theme stylesheets in theme editor' ) . "

    \n"; + break; + default: + /* translators: %s: file extension */ + echo "\t

    " . sprintf( __( '%s files' ), $file_type ) . "

    \n"; + break; + } + + echo "\t
      \n"; + } + + $file_description = get_file_description( $filename ); + if ( $filename !== basename( $absolute_filename ) || $file_description !== $filename ) { $file_description .= '
      (' . $filename . ')'; + } - if ( $absolute_filename == $file ) + if ( $absolute_filename === $file ) { $file_description = '' . $file_description . ''; + } + + $previous_file_type = $file_type; ?>
    • - +
      diff --git a/wp-admin/theme-install.php b/wp-admin/theme-install.php index 92fd53c..289f395 100644 --- a/wp-admin/theme-install.php +++ b/wp-admin/theme-install.php @@ -128,6 +128,8 @@ include(ABSPATH . 'wp-admin/admin-header.php');
    +

    +
    @@ -137,12 +139,27 @@ include(ABSPATH . 'wp-admin/admin-header.php');
  • +
  • +
    + +

    + +

    + + + +

    +
    +
    @@ -151,17 +168,17 @@ include(ABSPATH . 'wp-admin/admin-header.php'); $features ) { - echo '
    '; + echo '
    '; $feature_name = esc_html( $feature_name ); - echo '

    ' . $feature_name . '

    '; - echo '
      '; + echo '' . $feature_name . ''; + echo '
      '; foreach ( $features as $feature => $feature_name ) { $feature = esc_attr( $feature ); - echo '
    1. '; - echo '
    2. '; + echo ' '; + echo '
      '; } - echo '
    '; echo '
    '; + echo ''; } ?>
    @@ -171,6 +188,7 @@ include(ABSPATH . 'wp-admin/admin-header.php');
    +

    @@ -239,14 +257,12 @@ if ( $tab ) {
    <# if ( data.rating ) { #> -
    - - {{ data.num_ratings }} +
    + {{{ data.stars }}} + ({{ data.num_ratings }})
    <# } else { #> -
    - -
    + <# } #>
    {{{ data.description }}}
    diff --git a/wp-admin/themes.php b/wp-admin/themes.php index 5c007df..bf65884 100644 --- a/wp-admin/themes.php +++ b/wp-admin/themes.php @@ -9,23 +9,50 @@ /** WordPress Administration Bootstrap */ require_once( dirname( __FILE__ ) . '/admin.php' ); -if ( !current_user_can('switch_themes') && !current_user_can('edit_theme_options') ) - wp_die( __( 'Cheatin’ uh?' ), 403 ); +if ( ! current_user_can( 'switch_themes' ) && ! current_user_can( 'edit_theme_options' ) ) { + wp_die( + '

    ' . __( 'Cheatin’ uh?' ) . '

    ' . + '

    ' . __( 'You are not allowed to edit theme options on this site.' ) . '

    ', + 403 + ); +} if ( current_user_can( 'switch_themes' ) && isset($_GET['action'] ) ) { if ( 'activate' == $_GET['action'] ) { check_admin_referer('switch-theme_' . $_GET['stylesheet']); $theme = wp_get_theme( $_GET['stylesheet'] ); - if ( ! $theme->exists() || ! $theme->is_allowed() ) - wp_die( __( 'Cheatin’ uh?' ), 403 ); + + if ( ! $theme->exists() || ! $theme->is_allowed() ) { + wp_die( + '

    ' . __( 'Cheatin’ uh?' ) . '

    ' . + '

    ' . __( 'The requested theme does not exist.' ) . '

    ', + 403 + ); + } + switch_theme( $theme->get_stylesheet() ); wp_redirect( admin_url('themes.php?activated=true') ); exit; } elseif ( 'delete' == $_GET['action'] ) { check_admin_referer('delete-theme_' . $_GET['stylesheet']); $theme = wp_get_theme( $_GET['stylesheet'] ); - if ( !current_user_can('delete_themes') || ! $theme->exists() ) - wp_die( __( 'Cheatin’ uh?' ), 403 ); + + if ( ! current_user_can( 'delete_themes' ) ) { + wp_die( + '

    ' . __( 'Cheatin’ uh?' ) . '

    ' . + '

    ' . __( 'You are not allowed to delete this item.' ) . '

    ', + 403 + ); + } + + if ( ! $theme->exists() ) { + wp_die( + '

    ' . __( 'Cheatin’ uh?' ) . '

    ' . + '

    ' . __( 'The requested theme does not exist.' ) . '

    ', + 403 + ); + } + $active = wp_get_theme(); if ( $active->get( 'Template' ) == $_GET['stylesheet'] ) { wp_redirect( admin_url( 'themes.php?delete-active-child=true' ) ); @@ -225,14 +252,14 @@ foreach ( $themes as $theme ) :
    -

    +

    Active: %s' ), $theme['name'] ); ?> -

    + -

    +

    @@ -273,6 +300,7 @@ if ( ! is_multisite() && current_user_can('edit_themes') && $broken_themes = wp_
    localhost does not work.' ); ?>localhost' ); + ?>
    @@ -281,7 +309,9 @@ $can_delete = current_user_can( 'delete_themes' ); - + + + @@ -299,6 +329,22 @@ $can_delete = current_user_can( 'delete_themes' ); errors()->get_error_code() ) { + $parent_theme_name = $broken_theme->get( 'Template' ); + $parent_theme = themes_api( 'theme_information', array( 'slug' => urlencode( $parent_theme_name ) ) ); + + if ( ! is_wp_error( $parent_theme ) ) { + $install_url = add_query_arg( array( + 'action' => 'install-theme', + 'theme' => urlencode( $parent_theme_name ), + ), admin_url( 'update.php' ) ); + $install_url = wp_nonce_url( $install_url, 'install-theme_' . $parent_theme_name ); + ?> + + @@ -327,21 +373,21 @@ $can_delete = current_user_can( 'delete_themes' );
    <# if ( data.active ) { #> -

    +

    Active: %s' ), '{{{ data.name }}}' ); ?> -

    + <# } else { #> -

    {{{ data.name }}}

    +

    {{{ data.name }}}

    <# } #>
    <# if ( data.active ) { #> <# if ( data.actions.customize ) { #> - + <# } #> <# } else { #> @@ -376,12 +422,12 @@ $can_delete = current_user_can( 'delete_themes' ); <# if ( data.active ) { #> <# } #> -

    {{{ data.name }}}

    -

    +

    {{{ data.name }}}

    +

    <# if ( data.hasUpdate ) { #> -
    -

    +
    +

    {{{ data.update }}}
    <# } #> diff --git a/wp-admin/tools.php b/wp-admin/tools.php index 726c55b..b6de3c8 100644 --- a/wp-admin/tools.php +++ b/wp-admin/tools.php @@ -37,7 +37,7 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
    -

    +

    @@ -100,8 +100,8 @@ $cats = get_taxonomy('category'); $tags = get_taxonomy('post_tag'); if ( current_user_can($cats->cap->manage_terms) || current_user_can($tags->cap->manage_terms) ) : ?>
    -

    -

    Categories and Tags Converter available from the Import screen.'), 'import.php' ); ?>

    +

    +

    Categories and Tags Converter available from the Import screen.'), 'import.php' ); ?>

    '.__('Show hidden updates').'

    '; echo '
      '; - foreach( (array) $dismissed as $update) { + foreach ( (array) $dismissed as $update) { echo '
    • '; list_core_update( $update ); echo '
    • '; @@ -159,7 +159,7 @@ function core_upgrade_preamble() { $updates = get_core_updates(); if ( !isset($updates[0]->response) || 'latest' == $updates[0]->response ) { - echo '

      '; + echo '

      '; _e('You have the latest version of WordPress.'); if ( wp_http_supports( array( 'ssl' ) ) ) { @@ -175,15 +175,15 @@ function core_upgrade_preamble() { if ( $should_auto_update ) echo ' ' . __( 'Future security updates will be applied automatically.' ); } - echo '

      '; + echo ''; } else { echo '

      '; _e('Important: before updating, please back up your database and files. For help with updates, visit the Updating WordPress Codex page.'); echo '

      '; - echo '

      '; + echo '

      '; _e( 'An updated version of WordPress is available.' ); - echo '

      '; + echo ''; } if ( isset( $updates[0] ) && $updates[0]->response == 'development' ) { @@ -197,7 +197,7 @@ function core_upgrade_preamble() { } echo '
        '; - foreach( (array) $updates as $update ) { + foreach ( (array) $updates as $update ) { echo '
      • '; list_core_update( $update ); echo '
      • '; @@ -225,7 +225,7 @@ function list_plugin_updates() { require_once(ABSPATH . 'wp-admin/includes/plugin-install.php'); $plugins = get_plugin_updates(); if ( empty( $plugins ) ) { - echo '

        ' . __( 'Plugins' ) . '

        '; + echo '

        ' . __( 'Plugins' ) . '

        '; echo '

        ' . __( 'Your plugins are all up to date.' ) . '

        '; return; } @@ -237,7 +237,7 @@ function list_plugin_updates() { else $core_update_version = $core_updates[0]->current; ?> -

        +

        @@ -252,8 +252,25 @@ function list_plugin_updates() {
    $plugin_data) { - $info = plugins_api('plugin_information', array('slug' => $plugin_data->update->slug )); + foreach ( (array) $plugins as $plugin_file => $plugin_data ) { + $info = plugins_api( 'plugin_information', array( + 'slug' => $plugin_data->update->slug, + 'fields' => array( + 'short_description' => false, + 'sections' => false, + 'requires' => false, + 'rating' => false, + 'ratings' => false, + 'downloaded' => false, + 'downloadlink' => false, + 'last_updated' => false, + 'added' => false, + 'tags' => false, + 'homepage' => false, + 'donate_link' => false, + ), + ) ); + if ( is_wp_error( $info ) ) { $info = false; } @@ -269,7 +286,9 @@ function list_plugin_updates() { } // Get plugin compat for updated version of WordPress. if ( $core_update_version ) { - if ( isset($info->compatibility[$core_update_version][$plugin_data->update->new_version]) ) { + if ( isset( $info->tested ) && version_compare( $info->tested, $core_update_version, '>=' ) ) { + $compat .= '
    ' . sprintf( __( 'Compatibility with WordPress %1$s: 100%% (according to its author)' ), $core_update_version ); + } elseif ( isset( $info->compatibility[ $core_update_version ][ $plugin_data->update->new_version ] ) ) { $update_compat = $info->compatibility[$core_update_version][$plugin_data->update->new_version]; $compat .= '
    ' . sprintf(__('Compatibility with WordPress %1$s: %2$d%% (%3$d "works" votes out of %4$d total)'), $core_update_version, $update_compat[0], $update_compat[2], $update_compat[1]); } else { @@ -284,8 +303,8 @@ function list_plugin_updates() { } $details_url = self_admin_url('plugin-install.php?tab=plugin-information&plugin=' . $plugin_data->update->slug . '§ion=changelog&TB_iframe=true&width=640&height=662'); - $details_text = sprintf(__('View version %1$s details'), $plugin_data->update->new_version); - $details = sprintf('%3$s.', esc_url($details_url), esc_attr($plugin_data->Name), $details_text); + $details_text = sprintf(__('View version %1$s details.'), $plugin_data->update->new_version); + $details = sprintf('%3$s', esc_url($details_url), esc_attr($plugin_data->Name), $details_text); echo " @@ -314,14 +333,14 @@ function list_plugin_updates() { function list_theme_updates() { $themes = get_theme_updates(); if ( empty( $themes ) ) { - echo '

    ' . __( 'Themes' ) . '

    '; + echo '

    ' . __( 'Themes' ) . '

    '; echo '

    ' . __( 'Your themes are all up to date.' ) . '

    '; return; } $form_action = 'update-core.php?action=do-theme-upgrade'; ?> -

    +

    Please Note: Any customizations you have made to theme files will be lost. Please consider using child themes for modifications.' ), __( 'https://codex.wordpress.org/Child_Themes' ) ); ?>

    @@ -341,7 +360,7 @@ function list_theme_updates() { echo " - + "; } ?> @@ -366,7 +385,7 @@ function list_translation_updates() { $updates = wp_get_translation_updates(); if ( ! $updates ) { if ( 'en_US' != get_locale() ) { - echo '

    ' . __( 'Translations' ) . '

    '; + echo '

    ' . __( 'Translations' ) . '

    '; echo '

    ' . __( 'Your translations are all up to date.' ) . '

    '; } return; @@ -374,7 +393,7 @@ function list_translation_updates() { $form_action = 'update-core.php?action=do-translation-upgrade'; ?> -

    +

    @@ -506,7 +525,7 @@ if ( ( 'do-theme-upgrade' == $action || ( 'do-plugin-upgrade' == $action && ! is $title = __('WordPress Updates'); $parent_file = 'index.php'; -$updates_overview = '

    ' . __( 'On this screen, you can update to the latest version of WordPress, as well as update your themes and plugins from the WordPress.org repositories.' ) . '

    '; +$updates_overview = '

    ' . __( 'On this screen, you can update to the latest version of WordPress, as well as update your themes, plugins, and translations from the WordPress.org repositories.' ) . '

    '; $updates_overview .= '

    ' . __( 'If an update is available, you᾿ll see a notification appear in the Toolbar and navigation menu.' ) . ' ' . __( 'Keeping your site updated is important for security. It also makes the internet a safer place for you and your readers.' ) . '

    '; get_current_screen()->add_help_tab( array( diff --git a/wp-admin/update.php b/wp-admin/update.php index 4cfdeca..fba26f8 100644 --- a/wp-admin/update.php +++ b/wp-admin/update.php @@ -97,11 +97,28 @@ if ( isset($_GET['action']) ) { include_once( ABSPATH . 'wp-admin/includes/plugin-install.php' ); //for plugins_api.. - check_admin_referer('install-plugin_' . $plugin); - $api = plugins_api('plugin_information', array('slug' => $plugin, 'fields' => array('sections' => false) ) ); //Save on a bit of bandwidth. + check_admin_referer( 'install-plugin_' . $plugin ); + $api = plugins_api( 'plugin_information', array( + 'slug' => $plugin, + 'fields' => array( + 'short_description' => false, + 'sections' => false, + 'requires' => false, + 'rating' => false, + 'ratings' => false, + 'downloaded' => false, + 'last_updated' => false, + 'added' => false, + 'tags' => false, + 'compatibility' => false, + 'homepage' => false, + 'donate_link' => false, + ), + ) ); - if ( is_wp_error($api) ) - wp_die($api); + if ( is_wp_error( $api ) ) { + wp_die( $api ); + } $title = __('Plugin Install'); $parent_file = 'plugins.php'; diff --git a/wp-admin/upgrade.php b/wp-admin/upgrade.php index 53c1d17..03940b0 100644 --- a/wp-admin/upgrade.php +++ b/wp-admin/upgrade.php @@ -60,6 +60,7 @@ else + <?php _e( 'WordPress › Update' ); ?> -

    + -

    +

    @@ -92,10 +93,10 @@ switch ( $step ) : $goback = urlencode( $goback ); } ?> -

    +

    -

    -

    +

    +

    -

    +

    diff --git a/wp-admin/upload.php b/wp-admin/upload.php index 7154148..65bb790 100644 --- a/wp-admin/upload.php +++ b/wp-admin/upload.php @@ -25,6 +25,8 @@ if ( 'grid' === $mode ) { wp_enqueue_script( 'media-grid' ); wp_enqueue_script( 'media' ); + remove_action( 'admin_head', 'wp_admin_canonical_url' ); + $q = $_GET; // let JS handle this unset( $q['s'] ); @@ -126,7 +128,7 @@ if ( $doaction ) { break; foreach ( (array) $post_ids as $post_id ) { if ( !current_user_can( 'delete_post', $post_id ) ) - wp_die( __( 'You are not allowed to move this post to the trash.' ) ); + wp_die( __( 'You are not allowed to move this item to the Trash.' ) ); if ( !wp_trash_post( $post_id ) ) wp_die( __( 'Error in moving to Trash.' ) ); @@ -138,7 +140,7 @@ if ( $doaction ) { break; foreach ( (array) $post_ids as $post_id ) { if ( !current_user_can( 'delete_post', $post_id ) ) - wp_die( __( 'You are not allowed to move this post out of the trash.' ) ); + wp_die( __( 'You are not allowed to move this item out of the Trash.' ) ); if ( !wp_untrash_post( $post_id ) ) wp_die( __( 'Error in restoring from Trash.' ) ); @@ -150,7 +152,7 @@ if ( $doaction ) { break; foreach ( (array) $post_ids as $post_id_del ) { if ( !current_user_can( 'delete_post', $post_id_del ) ) - wp_die( __( 'You are not allowed to delete this post.' ) ); + wp_die( __( 'You are not allowed to delete this item.' ) ); if ( !wp_delete_attachment( $post_id_del ) ) wp_die( __( 'Error in deleting.' ) ); @@ -202,6 +204,12 @@ get_current_screen()->set_help_sidebar( '

    ' . __( 'Support Forums' ) . '

    ' ); +get_current_screen()->set_screen_reader_content( array( + 'heading_views' => __( 'Filter media items list' ), + 'heading_pagination' => __( 'Media items list navigation' ), + 'heading_list' => __( 'Media items list' ), +) ); + require_once( ABSPATH . 'wp-admin/admin-header.php' ); ?> diff --git a/wp-admin/user-edit.php b/wp-admin/user-edit.php index 6143514..88d4657 100644 --- a/wp-admin/user-edit.php +++ b/wp-admin/user-edit.php @@ -59,22 +59,6 @@ $wp_http_referer = remove_query_arg(array('update', 'delete_count'), $wp_http_re $user_can_edit = current_user_can( 'edit_posts' ) || current_user_can( 'edit_pages' ); -/** - * Optional SSL preference that can be turned on by hooking to the 'personal_options' action. - * - * @since 2.7.0 - * - * @param object $user User data object - */ -function use_ssl_preference($user) { -?> - - - - -" />

    -

    +

    " . $theme->display('Name') . ' ' . sprintf( __( 'You have version %1$s installed. Update to %2$s.' ), $theme->display('Version'), $theme->update['new_version'] ) . "" . $theme->display('Name') . ' ' . sprintf( __( 'You have version %1$s installed. Update to %2$s.' ), $theme->display('Version'), $theme->update['new_version'] ) . "
    @@ -301,7 +285,7 @@ do_action( 'personal_options', $profileuser ); } ?> -

    +

    @@ -392,11 +376,11 @@ if ( is_multisite() && is_network_admin() && ! IS_PROFILE_PAGE && current_user_c
    -

    +

    - +
    ID . '_new_email' ); @@ -404,7 +388,7 @@ if ( is_multisite() && is_network_admin() && ! IS_PROFILE_PAGE && current_user_c

    Cancel' ), + __( 'There is a pending change of your email to %1$s. Cancel' ), '' . $new_email['newemail'] . '', esc_url( self_admin_url( 'profile.php?dismiss=' . $current_user->ID . '_new_email' ) ) ); ?>

    @@ -444,7 +428,7 @@ if ( is_multisite() && is_network_admin() && ! IS_PROFILE_PAGE && current_user_c ?>
    -

    +

    @@ -453,14 +437,50 @@ if ( is_multisite() && is_network_admin() && ! IS_PROFILE_PAGE && current_user_c

    + + + + + + +
    -

    +

    @@ -568,7 +588,7 @@ if ( IS_PROFILE_PAGE && count( $sessions->get_all() ) === 1 ) : ?> * * The 'Additional Capabilities' section will only be enabled if * the number of the user's capabilities exceeds their number of - * of roles. + * roles. * * @since 2.8.0 * @@ -578,7 +598,7 @@ if ( IS_PROFILE_PAGE && count( $sessions->get_all() ) === 1 ) : ?> if ( count( $profileuser->caps ) > count( $profileuser->roles ) && apply_filters( 'additional_capabilities_display', true, $profileuser ) ) : ?> -

    +

    diff --git a/wp-admin/user-new.php b/wp-admin/user-new.php index 33fd41d..ff0bffb 100644 --- a/wp-admin/user-new.php +++ b/wp-admin/user-new.php @@ -10,31 +10,22 @@ require_once( dirname( __FILE__ ) . '/admin.php' ); if ( is_multisite() ) { - if ( ! current_user_can( 'create_users' ) && ! current_user_can( 'promote_users' ) ) - wp_die( __( 'Cheatin’ uh?' ), 403 ); + if ( ! current_user_can( 'create_users' ) && ! current_user_can( 'promote_users' ) ) { + wp_die( + '

    ' . __( 'Cheatin’ uh?' ) . '

    ' . + '

    ' . __( 'You do not have sufficient permissions to add users to this network.' ) . '

    ', + 403 + ); + } } elseif ( ! current_user_can( 'create_users' ) ) { - wp_die( __( 'Cheatin’ uh?' ), 403 ); + wp_die( + '

    ' . __( 'Cheatin’ uh?' ) . '

    ' . + '

    ' . __( 'You are not allowed to create users.' ) . '

    ', + 403 + ); } if ( is_multisite() ) { - /** - * - * @param string $text - * @return string - */ - function admin_created_user_email( $text ) { - $roles = get_editable_roles(); - $role = $roles[ $_REQUEST['role'] ]; - /* translators: 1: Site name, 2: site URL, 3: role */ - return sprintf( __( 'Hi, -You\'ve been invited to join \'%1$s\' at -%2$s with the role of %3$s. -If you do not want to join this site please ignore -this email. This invitation will expire in a few days. - -Please click the following link to activate your user account: -%%s' ), get_bloginfo( 'name' ), home_url(), wp_specialchars_decode( translate_user_role( $role['name'] ) ) ); - } add_filter( 'wpmu_signup_user_notification_email', 'admin_created_user_email' ); } @@ -59,8 +50,13 @@ if ( isset($_REQUEST['action']) && 'adduser' == $_REQUEST['action'] ) { die(); } - if ( ! current_user_can('promote_user', $user_details->ID) ) - wp_die( __( 'Cheatin’ uh?' ), 403 ); + if ( ! current_user_can( 'promote_user', $user_details->ID ) ) { + wp_die( + '

    ' . __( 'Cheatin’ uh?' ) . '

    ' . + '

    ' . __( 'You do not have sufficient permissions to add users to this network.' ) . '

    ', + 403 + ); + } // Adding an existing user to this blog $new_user_email = $user_details->user_email; @@ -70,7 +66,7 @@ if ( isset($_REQUEST['action']) && 'adduser' == $_REQUEST['action'] ) { if ( ( $username != null && !is_super_admin( $user_id ) ) && ( array_key_exists($blog_id, get_blogs_of_user($user_id)) ) ) { $redirect = add_query_arg( array('update' => 'addexisting'), 'user-new.php' ); } else { - if ( isset( $_POST[ 'noconfirmation' ] ) && is_super_admin() ) { + if ( isset( $_POST[ 'noconfirmation' ] ) && current_user_can( 'manage_network_users' ) ) { add_existing_user_to_blog( array( 'user_id' => $user_id, 'role' => $_REQUEST[ 'role' ] ) ); $redirect = add_query_arg( array('update' => 'addnoconfirmation'), 'user-new.php' ); } else { @@ -79,6 +75,18 @@ if ( isset($_REQUEST['action']) && 'adduser' == $_REQUEST['action'] ) { $roles = get_editable_roles(); $role = $roles[ $_REQUEST['role'] ]; + + /** + * Fires immediately after a user is invited to join a site, but before the notification is sent. + * + * @since 4.4.0 + * + * @param int $user_id The invited user's ID. + * @param array $role The role of invited user. + * @param string $newuser_key The key of the invitation. + */ + do_action( 'invite_user', $user_id, $role, $newuser_key ); + /* translators: 1: Site name, 2: site URL, 3: role, 4: activation URL */ $message = __( 'Hi, @@ -96,8 +104,13 @@ Please click the following link to confirm the invite: } elseif ( isset($_REQUEST['action']) && 'createuser' == $_REQUEST['action'] ) { check_admin_referer( 'create-user', '_wpnonce_create-user' ); - if ( ! current_user_can('create_users') ) - wp_die( __( 'Cheatin’ uh?' ), 403 ); + if ( ! current_user_can( 'create_users' ) ) { + wp_die( + '

    ' . __( 'Cheatin’ uh?' ) . '

    ' . + '

    ' . __( 'You are not allowed to create users.' ) . '

    ', + 403 + ); + } if ( ! is_multisite() ) { $user_id = edit_user(); @@ -127,12 +140,12 @@ Please click the following link to confirm the invite: * @param string $user_login The sanitized username. */ $new_user_login = apply_filters( 'pre_user_login', sanitize_user( wp_unslash( $_REQUEST['user_login'] ), true ) ); - if ( isset( $_POST[ 'noconfirmation' ] ) && is_super_admin() ) { + if ( isset( $_POST[ 'noconfirmation' ] ) && current_user_can( 'manage_network_users' ) ) { add_filter( 'wpmu_signup_user_notification', '__return_false' ); // Disable confirmation email add_filter( 'wpmu_welcome_user_notification', '__return_false' ); // Disable welcome email } wpmu_signup_user( $new_user_login, $new_user_email, array( 'add_to_blog' => $wpdb->blogid, 'new_role' => $_REQUEST['role'] ) ); - if ( isset( $_POST[ 'noconfirmation' ] ) && is_super_admin() ) { + if ( isset( $_POST[ 'noconfirmation' ] ) && current_user_can( 'manage_network_users' ) ) { $key = $wpdb->get_var( $wpdb->prepare( "SELECT activation_key FROM {$wpdb->signups} WHERE user_login = %s AND user_email = %s", $new_user_login, $new_user_email ) ); wpmu_activate_signup( $key ); $redirect = add_query_arg( array('update' => 'addnoconfirmation'), 'user-new.php' ); @@ -274,14 +287,14 @@ if ( ! empty( $messages ) ) { ' . __('Add Existing User') . ''; + echo '

    ' . __( 'Add Existing User' ) . '

    '; if ( !is_super_admin() ) { echo '

    ' . __( 'Enter the email address of an existing user on this network to invite them to this site. That person will be sent an email asking them to confirm the invite.' ) . '

    '; - $label = __('E-mail'); + $label = __('Email'); $type = 'email'; } else { echo '

    ' . __( 'Enter the email address or username of an existing user on this network to invite them to this site. That person will be sent an email asking them to confirm the invite.' ) . '

    '; - $label = __('E-mail or Username'); + $label = __('Email or Username'); $type = 'text'; } ?> @@ -308,7 +321,7 @@ if ( is_multisite() ) { - + @@ -336,7 +349,7 @@ do_action( 'user_new_form', 'add-existing-user' ); if ( current_user_can( 'create_users') ) { if ( $do_both ) - echo '

    ' . __( 'Add New User' ) . '

    '; + echo '

    ' . __( 'Add New User' ) . '

    '; ?>

    - + - + @@ -381,15 +394,6 @@ $new_user_ignore_pass = $creating && isset( $_POST['noconfirmation'] ) ? wp_unsl - @@ -432,7 +435,10 @@ if ( apply_filters( 'show_password_fields', true ) ) : ?> - + + + + @@ -445,7 +451,7 @@ if ( apply_filters( 'show_password_fields', true ) ) : ?> - + diff --git a/wp-admin/users.php b/wp-admin/users.php index df7648b..cdf0d8b 100644 --- a/wp-admin/users.php +++ b/wp-admin/users.php @@ -1,16 +1,22 @@ ' . __( 'Cheatin’ uh?' ) . '' . + '

    ' . __( 'You are not allowed to browse users.' ) . '

    ', + 403 + ); +} $wp_list_table = _get_list_table('WP_Users_List_Table'); $pagenum = $wp_list_table->get_pagenum(); @@ -63,6 +69,12 @@ get_current_screen()->set_help_sidebar( '

    ' . __('Support Forums') . '

    ' ); +get_current_screen()->set_screen_reader_content( array( + 'heading_views' => __( 'Filter users list' ), + 'heading_pagination' => __( 'Users list navigation' ), + 'heading_list' => __( 'Users list' ), +) ); + if ( empty($_REQUEST) ) { $referer = ''; } elseif ( isset($_REQUEST['wp_http_referer']) ) { @@ -75,25 +87,6 @@ if ( empty($_REQUEST) ) { $update = ''; -/** - * @since 3.5.0 - * @access private - */ -function delete_users_add_js() { ?> - -current_action() ) { /* Bulk Dropdown menu Role changes */ @@ -109,8 +102,16 @@ case 'promote': } $editable_roles = get_editable_roles(); - if ( empty( $editable_roles[$_REQUEST['new_role']] ) ) - wp_die(__('You can’t give users that role.')); + $role = false; + if ( ! empty( $_REQUEST['new_role2'] ) ) { + $role = $_REQUEST['new_role2']; + } elseif ( ! empty( $_REQUEST['new_role'] ) ) { + $role = $_REQUEST['new_role']; + } + + if ( ! $role || empty( $editable_roles[ $role ] ) ) { + wp_die( __( 'You can’t give users that role.' ) ); + } $userids = $_REQUEST['users']; $update = 'promote'; @@ -120,18 +121,23 @@ case 'promote': if ( ! current_user_can('promote_user', $id) ) wp_die(__('You can’t edit that user.')); // The new role of the current user must also have the promote_users cap or be a multisite super admin - if ( $id == $current_user->ID && ! $wp_roles->role_objects[ $_REQUEST['new_role'] ]->has_cap('promote_users') + if ( $id == $current_user->ID && ! $wp_roles->role_objects[ $role ]->has_cap('promote_users') && ! ( is_multisite() && is_super_admin() ) ) { $update = 'err_admin_role'; continue; } // If the user doesn't already belong to the blog, bail. - if ( is_multisite() && !is_user_member_of_blog( $id ) ) - wp_die( __( 'Cheatin’ uh?' ), 403 ); + if ( is_multisite() && !is_user_member_of_blog( $id ) ) { + wp_die( + '

    ' . __( 'Cheatin’ uh?' ) . '

    ' . + '

    ' . __( 'One of the selected users is not a member of this site.' ) . '

    ', + 403 + ); + } $user = get_userdata( $id ); - $user->set_role($_REQUEST['new_role']); + $user->set_role( $role ); } wp_redirect(add_query_arg('update', $update, $redirect)); @@ -205,7 +211,15 @@ case 'delete': else $userids = array_map( 'intval', (array) $_REQUEST['users'] ); - add_action( 'admin_head', 'delete_users_add_js' ); + $users_posts = new WP_Query( array( + 'post_type' => 'any', + 'author' => implode( ',', $userids ), + 'posts_per_page' => 1 + ) ); + + if ( $users_posts->have_posts() ) { + add_action( 'admin_head', 'delete_users_add_js' ); + } include( ABSPATH . 'wp-admin/admin-header.php' ); ?> @@ -241,20 +255,24 @@ case 'delete': } ?> - - -

    - -

    - -
      -
    • -
    • - ' . __( 'Attribute all content to:' ) . ' '; - wp_dropdown_users( array( 'name' => 'reassign_user', 'exclude' => array_diff( $userids, array($current_user->ID) ) ) ); ?>
    • -
    - have_posts() ) : ?> + + + +

    + +

    + +
      +
    • +
    • + ' . __( 'Attribute all content to:' ) . ' '; + wp_dropdown_users( array( 'name' => 'reassign_user', 'exclude' => array_diff( $userids, array($current_user->ID) ) ) ); ?>
    • +
    + - +

    @@ -363,7 +381,7 @@ case 'remove': - +

    diff --git a/wp-admin/widgets.php b/wp-admin/widgets.php index 679f103..3b43ac0 100644 --- a/wp-admin/widgets.php +++ b/wp-admin/widgets.php @@ -1,6 +1,6 @@ ' . __( 'Cheatin’ uh?' ) . '' . + '

    ' . __( 'You are not allowed to edit theme options on this site.' ) . '

    ', + 403 + ); +} $widgets_access = get_user_setting( 'widgets_access' ); if ( isset($_GET['widgets-access']) ) { @@ -21,15 +26,6 @@ if ( isset($_GET['widgets-access']) ) { set_user_setting( 'widgets_access', $widgets_access ); } -/** - * - * @param string $classes - * @return string - */ -function wp_widgets_access_body_class($classes) { - return "$classes widgets_access "; -} - if ( 'on' == $widgets_access ) { add_filter( 'admin_body_class', 'wp_widgets_access_body_class' ); } else { @@ -93,7 +89,7 @@ foreach ( $sidebars_widgets as $sidebar_id => $widgets ) { if ( 'wp_inactive_widgets' == $sidebar_id ) continue; - if ( !isset( $wp_registered_sidebars[ $sidebar_id ] ) ) { + if ( ! is_registered_sidebar( $sidebar_id ) ) { if ( ! empty( $widgets ) ) { // register the inactive_widgets area as sidebar register_sidebar(array( 'name' => __( 'Inactive Sidebar (not used)' ), @@ -156,6 +152,17 @@ if ( isset($_POST['savewidget']) || isset($_POST['removewidget']) ) { $sidebar = array_diff( $sidebar, array($widget_id) ); $_POST = array('sidebar' => $sidebar_id, 'widget-' . $id_base => array(), 'the-widget-id' => $widget_id, 'delete_widget' => '1'); + + /** + * Fires immediately after a widget has been marked for deletion. + * + * @since 4.4.0 + * + * @param string $widget_id ID of the widget marked for deletion. + * @param string $sidebar_id ID of the sidebar the widget was deleted from. + * @param string $id_base ID base for the widget. + */ + do_action( 'delete_widget', $widget_id, $sidebar_id, $id_base ); } $_POST['widget-id'] = $sidebar; @@ -187,6 +194,28 @@ if ( isset($_POST['savewidget']) || isset($_POST['removewidget']) ) { exit; } +// Remove inactive widgets without js +if ( isset( $_POST['removeinactivewidgets'] ) ) { + check_admin_referer( 'remove-inactive-widgets', '_wpnonce_remove_inactive_widgets' ); + + if ( $_POST['removeinactivewidgets'] ) { + foreach ( $sidebars_widgets['wp_inactive_widgets'] as $key => $widget_id ) { + $pieces = explode( '-', $widget_id ); + $multi_number = array_pop( $pieces ); + $id_base = implode( '-', $pieces ); + $widget = get_option( 'widget_' . $id_base ); + unset( $widget[$multi_number] ); + update_option( 'widget_' . $id_base, $widget ); + unset( $sidebars_widgets['wp_inactive_widgets'][$key] ); + } + + wp_set_sidebars_widgets( $sidebars_widgets ); + } + + wp_redirect( admin_url( 'widgets.php?message=0' ) ); + exit; +} + // Output the widget form without js if ( isset($_GET['editwidget']) && $_GET['editwidget'] ) { $widget_id = $_GET['editwidget']; @@ -237,7 +266,7 @@ if ( isset($_GET['editwidget']) && $_GET['editwidget'] ) {

    > -

    +

    @@ -354,7 +383,7 @@ do_action( 'widgets_admin_page' ); ?>
    + +
    +

    +

    + +

    +

    diff --git a/wp-content/plugins/google-calendar-events/assets/banner-772x250.jpg b/wp-content/plugins/google-calendar-events/assets/banner-772x250.jpg deleted file mode 100644 index bbe92b1..0000000 Binary files a/wp-content/plugins/google-calendar-events/assets/banner-772x250.jpg and /dev/null differ diff --git a/wp-content/plugins/google-calendar-events/assets/css/admin-activation.css b/wp-content/plugins/google-calendar-events/assets/css/admin-activation.css new file mode 100644 index 0000000..e69de29 diff --git a/wp-content/plugins/google-calendar-events/assets/css/admin-activation.min.css b/wp-content/plugins/google-calendar-events/assets/css/admin-activation.min.css new file mode 100644 index 0000000..9c592b2 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/assets/css/admin-activation.min.css @@ -0,0 +1,5 @@ +/*! Simple Calendar - 3.0.10 + * https://simplecalendar.io + * Copyright (c) Moonstone Media 2015 + * Licensed GPLv2+ */ + diff --git a/wp-content/plugins/google-calendar-events/assets/css/admin-add-calendar.css b/wp-content/plugins/google-calendar-events/assets/css/admin-add-calendar.css new file mode 100644 index 0000000..7da11ec --- /dev/null +++ b/wp-content/plugins/google-calendar-events/assets/css/admin-add-calendar.css @@ -0,0 +1,34 @@ +body #_simcal_attach_calendar_id, +body .simcal-calendar-widget-settings select { + width: 100%; } + +body .select2-container--default .select2-selection--single { + border-color: #ccc; + border-radius: 0; } + +body .select2-container { + z-index: 1000000; } + +body.post-type-gce_feed #gce-insert-shortcode-button { + display: none; } + +.wp-media-buttons a.add_calendar span.wp-media-buttons-icon { + background: none; } + +.gce-insert-shortcode-panel { + max-width: 90%; + position: relative; } + .gce-insert-shortcode-panel select { + display: block; + max-width: 470px; + width: 100%; } + +body .gce-insert-shortcode-modal { + height: 220px !important; + margin-left: -250px !important; + width: 500px !important; } + +body .gce-insert-shortcode-modal-title { + background: #fff !important; + border-bottom: none !important; + height: 0 !important; } diff --git a/wp-content/plugins/google-calendar-events/assets/css/admin-add-calendar.min.css b/wp-content/plugins/google-calendar-events/assets/css/admin-add-calendar.min.css new file mode 100644 index 0000000..f5045af --- /dev/null +++ b/wp-content/plugins/google-calendar-events/assets/css/admin-add-calendar.min.css @@ -0,0 +1,6 @@ +/*! Simple Calendar - 3.0.10 + * https://simplecalendar.io + * Copyright (c) Moonstone Media 2015 + * Licensed GPLv2+ */ + +body #_simcal_attach_calendar_id,body .simcal-calendar-widget-settings select{width:100%}body .select2-container--default .select2-selection--single{border-color:#ccc;border-radius:0}body .select2-container{z-index:1000000}body.post-type-gce_feed #gce-insert-shortcode-button{display:none}.wp-media-buttons a.add_calendar span.wp-media-buttons-icon{background:0 0}.gce-insert-shortcode-panel{max-width:90%;position:relative}.gce-insert-shortcode-panel select{display:block;max-width:470px;width:100%}body .gce-insert-shortcode-modal{height:220px!important;margin-left:-250px!important;width:500px!important}body .gce-insert-shortcode-modal-title{background:#fff!important;border-bottom:none!important;height:0!important} \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/assets/css/admin.css b/wp-content/plugins/google-calendar-events/assets/css/admin.css new file mode 100644 index 0000000..2ae33dd --- /dev/null +++ b/wp-content/plugins/google-calendar-events/assets/css/admin.css @@ -0,0 +1,563 @@ +@font-face { + font-family: 'simple-calendar'; + src: url("../fonts/simple-calendar.eot?43976014"); + src: url("../fonts/simple-calendar.eot?43976014#iefix") format("embedded-opentype"), url("../fonts/simple-calendar.woff?43976014") format("woff"), url("../fonts/simple-calendar.ttf?43976014") format("truetype"), url("../fonts/simple-calendar.svg?43976014#simple-calendar") format("svg"); + font-weight: normal; + font-style: normal; } + +[class^="simcal-icon-"]:before, +[class*=" simcal-icon-"]:before { + display: inline-block; + font-family: "simple-calendar"; + font-style: normal; + font-weight: normal; + margin-right: .2em; + speak: none; + text-decoration: inherit; + text-align: center; + width: 1em; + font-variant: normal; + text-transform: none; + margin-left: .2em; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; } + +.simcal-icon-spin { + -webkit-animation: spin 2s infinite linear; + animation: spin 2s infinite linear; + display: inline-block; } + +@-webkit-keyframes spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); } + 100% { + -webkit-transform: rotate(359deg); + transform: rotate(359deg); } } + +@keyframes spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); } + 100% { + -webkit-transform: rotate(359deg); + transform: rotate(359deg); } } + +.simcal-icon-animate:before { + transition: all .2s ease-in-out; } + +.simcal-icon-rotate-180:before { + -webkit-transform: rotate(180deg); + transform: rotate(180deg); } + +.simcal-icon-calendar-empty:before { + content: '\e800'; } + +.simcal-icon-calendar:before { + content: '\e801'; } + +.simcal-icon-calendar-logo:before { + content: '\e802'; } + +.simcal-icon-settings:before { + content: '\e804'; } + +.simcal-icon-toggles:before { + content: '\e805'; } + +.simcal-icon-list:before { + content: '\e806'; } + +.simcal-icon-event:before { + content: '\e807'; } + +.simcal-icon-help:before { + content: '\e808'; } + +.simcal-icon-panel:before { + content: '\e80a'; } + +.simcal-icon-grid:before { + content: '\e80b'; } + +.simcal-icon-google:before { + content: '\e80c'; } + +.simcal-icon-docs:before { + content: '\e80f'; } + +.simcal-icon-hourglass:before { + content: '\e811'; } + +.simcal-icon-globe:before { + content: '\e812'; } + +.simcal-icon-timezones:before { + content: '\e813'; } + +.simcal-icon-warning:before { + content: '\e815'; } + +.simcal-icon-wordpress:before { + content: '\e814'; } + +.simcal-icon-up:before { + content: '\e80e'; } + +.simcal-icon-right:before { + content: '\e809'; } + +.simcal-icon-down:before { + content: '\e80d'; } + +.simcal-icon-left:before { + content: '\e803'; } + +.simcal-icon-spinner:before { + content: '\e810'; } + +.simcal-help-tip { + color: rgba(0, 0, 0, 0.46); + cursor: help; } + +#tiptip_holder { + display: none; + left: 0; + position: absolute; + top: 0; + z-index: 9999999; } + +#tiptip_holder.tip_top { + padding-bottom: 5px; } + +#tiptip_holder.tip_bottom { + padding-top: 5px; } + +#tiptip_holder.tip_right { + padding-left: 5px; } + +#tiptip_holder.tip_left { + padding-right: 5px; } + +#tiptip_content { + background-color: rgba(25, 25, 25, 0.92); + border: 1px solid rgba(255, 255, 255, 0.25); + border-radius: 3px; + color: #fff; + font-size: 11px; + padding: 4px 8px; } + +#tiptip_arrow, #tiptip_arrow_inner { + border-color: transparent; + border-style: solid; + border-width: 6px; + height: 0; + position: absolute; + width: 0; } + +#tiptip_holder.tip_top #tiptip_arrow_inner { + border-top-color: rgba(25, 25, 25, 0.92); + margin-left: -6px; + margin-top: -7px; } + +#tiptip_holder.tip_bottom #tiptip_arrow_inner { + border-bottom-color: rgba(25, 25, 25, 0.92); + margin-left: -6px; + margin-top: -5px; } + +#tiptip_holder.tip_right #tiptip_arrow_inner { + border-right-color: rgba(25, 25, 25, 0.92); + margin-left: -5px; + margin-top: -6px; } + +#tiptip_holder.tip_left #tiptip_arrow_inner { + border-left-color: rgba(25, 25, 25, 0.92); + margin-left: -7px; + margin-top: -6px; } + +@media screen and (-webkit-min-device-pixel-ratio: 0) { + #tiptip_content { + background-color: rgba(45, 45, 45, 0.88); + padding: 4px 8px 5px 8px; } + #tiptip_holder.tip_bottom #tiptip_arrow_inner { + border-bottom-color: rgba(45, 45, 45, 0.88); } + #tiptip_holder.tip_top #tiptip_arrow_inner { + border-top-color: rgba(20, 20, 20, 0.92); } } + +.simcal-dismiss-notice { + color: #ccc; + float: right; + margin-top: 9px; + text-decoration: none; } + .simcal-dismiss-notice:hover { + color: #aaa; } + .simcal-dismiss-notice:focus, .simcal-dismiss-notice:active { + outline: 0; } + +.wp-admin .simcal-field-inline, +.wp-admin .simcal-field-inline > input, +.wp-admin .simcal-field-inline > select { + display: inline-block; + vertical-align: baseline; } + +body .simcal-field-tiny, +body .simcal-panel-field .simcal-field-tiny { + max-width: 60px; } + +body .simcal-field-small, +body .simcal-panel-field .simcal-field-small { + max-width: 100px; } + +body .simcal-field-textarea, +body .simcal-field-select-enhanced { + max-width: 500px; + width: 100%; } + +.select2-container { + z-index: 999999; } + +body .simcal-field-textarea { + min-height: 64px; + vertical-align: top; } + +.simcal-field-radios > i { + margin-left: 5px; + vertical-align: middle; } + +.simcal-field-radios-inline { + display: inline-block; + margin: 0; } + .simcal-field-radios-inline > li { + display: inline-block; + margin-right: 10px; } + .simcal-field-radios-inline > li:last-child { + margin-right: 0; } + +.simcal-field-bool > input { + line-height: 2.4; } + +.simcal-field-date-picker > input[type="text"] { + max-width: 120px; } + +#ui-datepicker-div.simcal-date-picker { + background-color: #fff; + box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); + padding: 8px 10px; } + #ui-datepicker-div.simcal-date-picker .ui-datepicker-header > a { + display: inline-block; + cursor: pointer; + margin-top: 7px; } + #ui-datepicker-div.simcal-date-picker .ui-datepicker-header > a:first-of-type { + float: left; } + #ui-datepicker-div.simcal-date-picker .ui-datepicker-header > a:last-of-type { + float: right; } + #ui-datepicker-div.simcal-date-picker .ui-datepicker-header .ui-datepicker-title { + margin: 0 10% 4px; } + #ui-datepicker-div.simcal-date-picker .ui-datepicker-header .ui-datepicker-title > select { + width: 48.5%; } + #ui-datepicker-div.simcal-date-picker .ui-datepicker-today { + background-color: #eee; } + #ui-datepicker-div.simcal-date-picker > table tr td, + #ui-datepicker-div.simcal-date-picker > table tr th { + padding: 2px 4px; + text-align: center; } + #ui-datepicker-div.simcal-date-picker > table tr td a, + #ui-datepicker-div.simcal-date-picker > table tr th a { + text-decoration: none; } + +.simcal-field-datetime-format { + padding: 10px 0 5px; } + .simcal-field-datetime-format > div { + background-color: rgba(0, 0, 0, 0.03); + border: 1px dashed rgba(0, 0, 0, 0.18); + border-radius: 3px; + cursor: move; + display: inline-block; + float: left; + margin: 0 10px 15px 0; + padding: 10px; } + .simcal-field-datetime-format select { + display: block; } + .simcal-field-datetime-format > span { + clear: both; + display: block; } + .simcal-field-datetime-format .ui-sortable-helper { + box-shadow: -2px 4px 8px rgba(0, 0, 0, 0.12); + -webkit-transform: rotate(2deg); + transform: rotate(2deg); } + +#simcal-settings-page .simcal-wide-text { + width: 40em; } + +#simcal-settings-page .select2 { + max-width: 500px; } + +#simcal-settings-page .select2-search__field { + border: 0 !important; + box-shadow: none !important; + margin: 0; } + #simcal-settings-page .select2-search__field:focus { + border: 0 !important; + box-shadow: none !important; } + +#simcal-settings-page .select2-selection { + border: 1px solid #ddd; + border-radius: 0; } + +#simcal-settings-page .select2-container--open .select2-selection { + border-color: #5b9dd9; + box-shadow: 0 0 2px rgba(30, 140, 190, 0.8); } + +.about-wrap .simcal-badge { + position: absolute; + top: 0; + right: 0; } + +.simcal-badge { + background-image: url("../images/welcome/icon-185x185.png"); + height: 185px; + width: 185px; } + +#simcal-welcome .whats-new-wrap img { + margin: 1em 2em 1em 0; + border: 1px solid #d6d6d6; + box-sizing: border-box; + vertical-align: top; } + +#simcal-system-status-report textarea { + font-family: monospace; + min-height: 200px; + padding: 5px 20px; + white-space: pre; + width: 100%; } + +.simcal-system-status-report-panel { + margin: 20px 0; } + .simcal-system-status-report-panel thead th { + font-weight: bold; } + .simcal-system-status-report-panel tbody td, + .simcal-system-status-report-panel thead th { + font-size: 14px; + vertical-align: top; } + .simcal-system-status-report-panel tbody .tooltip { + text-align: center; + width: 20px; } + .simcal-system-status-report-panel tbody .label { + width: 30%; } + .simcal-system-status-report-panel tbody tr:nth-child(odd) td { + background-color: rgba(0, 0, 0, 0.02); } + .simcal-system-status-report-panel dl { + margin: 0; + padding: 0; } + .simcal-system-status-report-panel dt { + float: left; + font-style: italic; + margin: 0 4px 0 0; } + .simcal-system-status-report-panel dd { + margin: 0; } + .simcal-system-status-report-panel mark { + background-color: transparent; + font-weight: bold; } + .simcal-system-status-report-panel mark.ok { + color: green; } + .simcal-system-status-report-panel mark.error { + color: red; } + +#simcal-reset-licenses { + color: red; } + +.ui-datepicker { + left: -9999px; + position: absolute; } + +#simcal-clear-cache { + float: right; + margin: 0 10px 10px; } + +#simcal-get-shortcode .inside { + padding: 5px 15px 10px; + text-align: center; } + +#simcal-get-shortcode input { + width: 100%; } + +#simcal-newsletter { + background-color: #fcf8e3; } + #simcal-newsletter input { + width: 100%; } + +#simcal-calendar-settings { + display: none; } + #simcal-calendar-settings .hndle { + line-height: 2; + padding: 10px; } + #simcal-calendar-settings .inside { + margin: 0; + padding: 0; } + #simcal-calendar-settings .select2-container { + border-radius: 0; + max-width: 500px; } + #simcal-calendar-settings .select2-search__field { + border: 0 !important; + box-shadow: none !important; + margin: 0; } + #simcal-calendar-settings .select2-search__field:focus { + border: 0 !important; + box-shadow: none !important; } + #simcal-calendar-settings .select2-selection { + border: 1px solid #ddd; + border-radius: 0; } + #simcal-calendar-settings .select2-container--open .select2-selection { + border-color: #5b9dd9; + box-shadow: 0 0 2px rgba(30, 140, 190, 0.8); } + #simcal-calendar-settings .select2-selection__choice { + margin-bottom: 0; } + #simcal-calendar-settings .wp-picker-container { + vertical-align: inherit; } + +.simcal-box-handle { + display: inline-block; + line-height: 1; + margin-left: 8px; } + .simcal-box-handle:before { + content: '\2014'; + display: inline-block; + font-weight: normal; } + .simcal-box-handle label { + font-size: 12px; + font-weight: normal; + margin-right: 10px; + vertical-align: baseline; } + .simcal-box-handle select { + font-weight: bold; + margin: -3px 0 0 .5em; + vertical-align: middle; } + +.simcal-tabs { + background: #fafafa; + border-right: 1px solid #eee; + box-sizing: border-box; + float: left; + line-height: 1em; + margin: 0; + padding: 0 0 10px; + position: relative; + width: 20%; } + .simcal-tabs a { + border-bottom: 1px solid #eee; + display: block; + line-height: 20px !important; + margin: 0; + padding: 10px; + text-decoration: none; } + .simcal-tabs a:focus { + box-shadow: none; } + .simcal-tabs li { + display: block; + margin: 0; + padding: 0; } + .simcal-tabs li.active a { + background-color: #eee; + color: #555; + position: relative; } + .simcal-tabs:after { + background-color: #fafafa; + border-right: 1px solid #eee; + bottom: -9999em; + content: ""; + display: block; + height: 9999em; + left: 0; + position: absolute; + width: 100%; } + +.simcal-panels-wrap { + background: #fff; + overflow: hidden; } + +.simcal-panel { + margin-left: 20%; + max-width: 80%; } + .simcal-panel > table { + padding-bottom: 11px; + width: 100%; } + .simcal-panel > table thead th { + border-bottom: 1px solid #eee; + font-size: 14px; + font-weight: bold; + padding: 12px 0 15px 10px; + text-align: left; } + .simcal-panel > table > tbody tr:first-child td, + .simcal-panel > table > tbody tr:first-child th { + padding-top: 14px; } + .simcal-panel > table > tbody tr:last-child td, + .simcal-panel > table > tbody tr:last-child th { + border-bottom: 1px solid #eee; + padding-bottom: 14px; } + .simcal-panel > table > tbody:last-of-type tr:last-child td, + .simcal-panel > table > tbody:last-of-type tr:last-child th { + border-bottom: 0; } + +.simcal-panel-field > td { + width: 82%; } + +.simcal-panel-field > th { + font-weight: normal; + min-width: 100px; + width: 15%; } + +.simcal-panel-field > td, +.simcal-panel-field > th { + padding: 9px 3% 9px 10px; + text-align: left; + vertical-align: text-top; } + +.simcal-panel-field .simcal-field-text { + max-width: 500px; + width: 90%; } + +@media screen and (max-width: 1023px) { + .simcal-box-handle { + display: block; + line-height: 2; + margin: 16px 0 0; } + .simcal-box-handle:before { + display: none; } + .simcal-box-handle label { + display: table; + margin-bottom: 16px; + width: 100%; } + .simcal-box-handle label > span { + display: table-cell; + width: 20%; } + .simcal-box-handle label > select { + display: table-cell; + width: 80%; } + .simcal-box-handle .simcal-tabs { + width: 16%; } + .simcal-box-handle .simcal-tabs i { + font-size: 18px; + line-height: 1; } + .simcal-box-handle .simcal-tabs span { + display: none; } + .simcal-box-handle .simcal-panel { + margin-left: 16%; + max-width: 84%; } + .simcal-box-handle .simcal-panel-section { + display: block; + overflow: hidden; } + .simcal-box-handle .simcal-panel-field th { + display: block; + width: 100%; } + .simcal-box-handle .simcal-panel-field td { + display: inline-block; + width: 100%; } + .simcal-box-handle .simcal-panel-field select { + max-width: 86%; } } + +input.simcal-shortcode { + border: dashed 1px rgba(0, 0, 0, 0.3); + color: rgba(0, 0, 0, 0.58); + font-family: monospace; + font-weight: bold; + text-align: center; } diff --git a/wp-content/plugins/google-calendar-events/assets/css/admin.min.css b/wp-content/plugins/google-calendar-events/assets/css/admin.min.css new file mode 100644 index 0000000..bc3a3f4 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/assets/css/admin.min.css @@ -0,0 +1,6 @@ +/*! Simple Calendar - 3.0.10 + * https://simplecalendar.io + * Copyright (c) Moonstone Media 2015 + * Licensed GPLv2+ */ + +@font-face{font-family:simple-calendar;src:url(../fonts/simple-calendar.eot?43976014);src:url(../fonts/simple-calendar.eot?43976014#iefix) format("embedded-opentype"),url(../fonts/simple-calendar.woff?43976014) format("woff"),url(../fonts/simple-calendar.ttf?43976014) format("truetype"),url(../fonts/simple-calendar.svg?43976014#simple-calendar) format("svg");font-weight:400;font-style:normal}[class*=" simcal-icon-"]:before,[class^=simcal-icon-]:before{display:inline-block;font-family:simple-calendar;font-style:normal;font-weight:400;margin-right:.2em;speak:none;text-decoration:inherit;text-align:center;width:1em;font-variant:normal;text-transform:none;margin-left:.2em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#ui-datepicker-div.simcal-date-picker>table tr td a,#ui-datepicker-div.simcal-date-picker>table tr th a,.simcal-tabs a{text-decoration:none}.simcal-icon-spin{-webkit-animation:spin 2s infinite linear;animation:spin 2s infinite linear;display:inline-block}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.simcal-icon-animate:before{transition:all .2s ease-in-out}.simcal-icon-rotate-180:before{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.simcal-icon-calendar-empty:before{content:'\e800'}.simcal-icon-calendar:before{content:'\e801'}.simcal-icon-calendar-logo:before{content:'\e802'}.simcal-icon-settings:before{content:'\e804'}.simcal-icon-toggles:before{content:'\e805'}.simcal-icon-list:before{content:'\e806'}.simcal-icon-event:before{content:'\e807'}.simcal-icon-help:before{content:'\e808'}.simcal-icon-panel:before{content:'\e80a'}.simcal-icon-grid:before{content:'\e80b'}.simcal-icon-google:before{content:'\e80c'}.simcal-icon-docs:before{content:'\e80f'}.simcal-icon-hourglass:before{content:'\e811'}.simcal-icon-globe:before{content:'\e812'}.simcal-icon-timezones:before{content:'\e813'}.simcal-icon-warning:before{content:'\e815'}.simcal-icon-wordpress:before{content:'\e814'}.simcal-icon-up:before{content:'\e80e'}.simcal-icon-right:before{content:'\e809'}.simcal-icon-down:before{content:'\e80d'}.simcal-icon-left:before{content:'\e803'}.simcal-icon-spinner:before{content:'\e810'}.simcal-help-tip{color:rgba(0,0,0,.46);cursor:help}#tiptip_holder{display:none;left:0;position:absolute;top:0;z-index:9999999}#tiptip_holder.tip_top{padding-bottom:5px}#tiptip_holder.tip_bottom{padding-top:5px}#tiptip_holder.tip_right{padding-left:5px}#tiptip_holder.tip_left{padding-right:5px}#tiptip_content{background-color:rgba(25,25,25,.92);border:1px solid rgba(255,255,255,.25);border-radius:3px;color:#fff;font-size:11px;padding:4px 8px}#tiptip_arrow,#tiptip_arrow_inner{border-color:transparent;border-style:solid;border-width:6px;height:0;position:absolute;width:0}#tiptip_holder.tip_top #tiptip_arrow_inner{border-top-color:rgba(25,25,25,.92);margin-left:-6px;margin-top:-7px}#tiptip_holder.tip_bottom #tiptip_arrow_inner{border-bottom-color:rgba(25,25,25,.92);margin-left:-6px;margin-top:-5px}#tiptip_holder.tip_right #tiptip_arrow_inner{border-right-color:rgba(25,25,25,.92);margin-left:-5px;margin-top:-6px}#tiptip_holder.tip_left #tiptip_arrow_inner{border-left-color:rgba(25,25,25,.92);margin-left:-7px;margin-top:-6px}@media screen and (-webkit-min-device-pixel-ratio:0){#tiptip_content{background-color:rgba(45,45,45,.88);padding:4px 8px 5px}#tiptip_holder.tip_bottom #tiptip_arrow_inner{border-bottom-color:rgba(45,45,45,.88)}#tiptip_holder.tip_top #tiptip_arrow_inner{border-top-color:rgba(20,20,20,.92)}}.simcal-dismiss-notice{color:#ccc;float:right;margin-top:9px;text-decoration:none}.simcal-dismiss-notice:hover{color:#aaa}.simcal-dismiss-notice:active,.simcal-dismiss-notice:focus{outline:0}.wp-admin .simcal-field-inline,.wp-admin .simcal-field-inline>input,.wp-admin .simcal-field-inline>select{display:inline-block;vertical-align:baseline}body .simcal-field-tiny,body .simcal-panel-field .simcal-field-tiny{max-width:60px}body .simcal-field-small,body .simcal-panel-field .simcal-field-small{max-width:100px}body .simcal-field-select-enhanced,body .simcal-field-textarea{max-width:500px;width:100%}.select2-container{z-index:999999}body .simcal-field-textarea{min-height:64px;vertical-align:top}.simcal-field-radios>i{margin-left:5px;vertical-align:middle}.simcal-field-radios-inline{display:inline-block;margin:0}.simcal-field-radios-inline>li{display:inline-block;margin-right:10px}.simcal-field-radios-inline>li:last-child{margin-right:0}.simcal-field-bool>input{line-height:2.4}.simcal-field-date-picker>input[type=text]{max-width:120px}#ui-datepicker-div.simcal-date-picker{background-color:#fff;box-shadow:0 2px 10px rgba(0,0,0,.1);padding:8px 10px}#ui-datepicker-div.simcal-date-picker .ui-datepicker-header>a{display:inline-block;cursor:pointer;margin-top:7px}#ui-datepicker-div.simcal-date-picker .ui-datepicker-header>a:first-of-type{float:left}#ui-datepicker-div.simcal-date-picker .ui-datepicker-header>a:last-of-type{float:right}#ui-datepicker-div.simcal-date-picker .ui-datepicker-header .ui-datepicker-title{margin:0 10% 4px}#ui-datepicker-div.simcal-date-picker .ui-datepicker-header .ui-datepicker-title>select{width:48.5%}#ui-datepicker-div.simcal-date-picker .ui-datepicker-today{background-color:#eee}#ui-datepicker-div.simcal-date-picker>table tr td,#ui-datepicker-div.simcal-date-picker>table tr th{padding:2px 4px;text-align:center}.simcal-field-datetime-format{padding:10px 0 5px}.simcal-field-datetime-format>div{background-color:rgba(0,0,0,.03);border:1px dashed rgba(0,0,0,.18);border-radius:3px;cursor:move;display:inline-block;float:left;margin:0 10px 15px 0;padding:10px}.simcal-field-datetime-format select{display:block}.simcal-field-datetime-format>span{clear:both;display:block}.simcal-field-datetime-format .ui-sortable-helper{box-shadow:-2px 4px 8px rgba(0,0,0,.12);-webkit-transform:rotate(2deg);transform:rotate(2deg)}#simcal-settings-page .select2-search__field,#simcal-settings-page .select2-search__field:focus{border:0!important;box-shadow:none!important}#simcal-settings-page .simcal-wide-text{width:40em}#simcal-settings-page .select2{max-width:500px}#simcal-settings-page .select2-search__field{margin:0}#simcal-settings-page .select2-selection{border:1px solid #ddd;border-radius:0}#simcal-settings-page .select2-container--open .select2-selection{border-color:#5b9dd9;box-shadow:0 0 2px rgba(30,140,190,.8)}.about-wrap .simcal-badge{position:absolute;top:0;right:0}.simcal-badge{background-image:url(../images/welcome/icon-185x185.png);height:185px;width:185px}#simcal-welcome .whats-new-wrap img{margin:1em 2em 1em 0;border:1px solid #d6d6d6;box-sizing:border-box;vertical-align:top}#simcal-system-status-report textarea{font-family:monospace;min-height:200px;padding:5px 20px;white-space:pre;width:100%}.simcal-system-status-report-panel{margin:20px 0}.simcal-system-status-report-panel thead th{font-weight:700}.simcal-system-status-report-panel tbody td,.simcal-system-status-report-panel thead th{font-size:14px;vertical-align:top}.simcal-system-status-report-panel tbody .tooltip{text-align:center;width:20px}.simcal-system-status-report-panel tbody .label{width:30%}.simcal-system-status-report-panel tbody tr:nth-child(odd) td{background-color:rgba(0,0,0,.02)}.simcal-system-status-report-panel dl{margin:0;padding:0}.simcal-system-status-report-panel dt{float:left;font-style:italic;margin:0 4px 0 0}.simcal-system-status-report-panel dd{margin:0}.simcal-system-status-report-panel mark{background-color:transparent;font-weight:700}.simcal-system-status-report-panel mark.ok{color:green}#simcal-reset-licenses,.simcal-system-status-report-panel mark.error{color:red}.ui-datepicker{left:-9999px;position:absolute}#simcal-clear-cache{float:right;margin:0 10px 10px}#simcal-get-shortcode .inside{padding:5px 15px 10px;text-align:center}#simcal-get-shortcode input,#simcal-newsletter input{width:100%}#simcal-newsletter{background-color:#fcf8e3}#simcal-calendar-settings{display:none}#simcal-calendar-settings .hndle{line-height:2;padding:10px}#simcal-calendar-settings .inside{margin:0;padding:0}#simcal-calendar-settings .select2-container{border-radius:0;max-width:500px}#simcal-calendar-settings .select2-search__field{border:0!important;box-shadow:none!important;margin:0}#simcal-calendar-settings .select2-search__field:focus{border:0!important;box-shadow:none!important}#simcal-calendar-settings .select2-selection{border:1px solid #ddd;border-radius:0}#simcal-calendar-settings .select2-container--open .select2-selection{border-color:#5b9dd9;box-shadow:0 0 2px rgba(30,140,190,.8)}#simcal-calendar-settings .select2-selection__choice{margin-bottom:0}#simcal-calendar-settings .wp-picker-container{vertical-align:inherit}.simcal-box-handle{display:inline-block;line-height:1;margin-left:8px}.simcal-box-handle:before{content:'\2014';display:inline-block;font-weight:400}.simcal-box-handle label{font-size:12px;font-weight:400;margin-right:10px;vertical-align:baseline}.simcal-box-handle select{font-weight:700;margin:-3px 0 0 .5em;vertical-align:middle}.simcal-tabs{background:#fafafa;border-right:1px solid #eee;box-sizing:border-box;float:left;line-height:1em;margin:0;padding:0 0 10px;position:relative;width:20%}.simcal-tabs a{border-bottom:1px solid #eee;display:block;line-height:20px!important;margin:0;padding:10px}.simcal-tabs a:focus{box-shadow:none}.simcal-tabs li{display:block;margin:0;padding:0}.simcal-tabs li.active a{background-color:#eee;color:#555;position:relative}.simcal-tabs:after{background-color:#fafafa;border-right:1px solid #eee;bottom:-9999em;content:"";display:block;height:9999em;left:0;position:absolute;width:100%}.simcal-panels-wrap{background:#fff;overflow:hidden}.simcal-panel{margin-left:20%;max-width:80%}.simcal-panel>table{padding-bottom:11px;width:100%}.simcal-panel>table thead th{border-bottom:1px solid #eee;font-size:14px;font-weight:700;padding:12px 0 15px 10px;text-align:left}.simcal-panel>table>tbody tr:first-child td,.simcal-panel>table>tbody tr:first-child th{padding-top:14px}.simcal-panel>table>tbody tr:last-child td,.simcal-panel>table>tbody tr:last-child th{border-bottom:1px solid #eee;padding-bottom:14px}.simcal-panel>table>tbody:last-of-type tr:last-child td,.simcal-panel>table>tbody:last-of-type tr:last-child th{border-bottom:0}.simcal-panel-field>td{width:82%}.simcal-panel-field>th{font-weight:400;min-width:100px;width:15%}.simcal-panel-field>td,.simcal-panel-field>th{padding:9px 3% 9px 10px;text-align:left;vertical-align:text-top}.simcal-panel-field .simcal-field-text{max-width:500px;width:90%}@media screen and (max-width:1023px){.simcal-box-handle{display:block;line-height:2;margin:16px 0 0}.simcal-box-handle:before{display:none}.simcal-box-handle label{display:table;margin-bottom:16px;width:100%}.simcal-box-handle label>span{display:table-cell;width:20%}.simcal-box-handle label>select{display:table-cell;width:80%}.simcal-box-handle .simcal-tabs{width:16%}.simcal-box-handle .simcal-tabs i{font-size:18px;line-height:1}.simcal-box-handle .simcal-tabs span{display:none}.simcal-box-handle .simcal-panel{margin-left:16%;max-width:84%}.simcal-box-handle .simcal-panel-section{display:block;overflow:hidden}.simcal-box-handle .simcal-panel-field th{display:block;width:100%}.simcal-box-handle .simcal-panel-field td{display:inline-block;width:100%}.simcal-box-handle .simcal-panel-field select{max-width:86%}}input.simcal-shortcode{border:1px dashed rgba(0,0,0,.3);color:rgba(0,0,0,.58);font-family:monospace;font-weight:700;text-align:center} \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/assets/css/default-calendar-grid.css b/wp-content/plugins/google-calendar-events/assets/css/default-calendar-grid.css new file mode 100644 index 0000000..c96a65d --- /dev/null +++ b/wp-content/plugins/google-calendar-events/assets/css/default-calendar-grid.css @@ -0,0 +1,410 @@ +@font-face { + font-family: 'simple-calendar'; + src: url("../fonts/simple-calendar.eot?43976014"); + src: url("../fonts/simple-calendar.eot?43976014#iefix") format("embedded-opentype"), url("../fonts/simple-calendar.woff?43976014") format("woff"), url("../fonts/simple-calendar.ttf?43976014") format("truetype"), url("../fonts/simple-calendar.svg?43976014#simple-calendar") format("svg"); + font-weight: normal; + font-style: normal; } + +[class^="simcal-icon-"]:before, +[class*=" simcal-icon-"]:before { + display: inline-block; + font-family: "simple-calendar"; + font-style: normal; + font-weight: normal; + margin-right: .2em; + speak: none; + text-decoration: inherit; + text-align: center; + width: 1em; + font-variant: normal; + text-transform: none; + margin-left: .2em; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; } + +.simcal-icon-spin { + -webkit-animation: spin 2s infinite linear; + animation: spin 2s infinite linear; + display: inline-block; } + +@-webkit-keyframes spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); } + 100% { + -webkit-transform: rotate(359deg); + transform: rotate(359deg); } } + +@keyframes spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); } + 100% { + -webkit-transform: rotate(359deg); + transform: rotate(359deg); } } + +.simcal-icon-animate:before { + transition: all .2s ease-in-out; } + +.simcal-icon-rotate-180:before { + -webkit-transform: rotate(180deg); + transform: rotate(180deg); } + +.simcal-icon-calendar-empty:before { + content: '\e800'; } + +.simcal-icon-calendar:before { + content: '\e801'; } + +.simcal-icon-calendar-logo:before { + content: '\e802'; } + +.simcal-icon-settings:before { + content: '\e804'; } + +.simcal-icon-toggles:before { + content: '\e805'; } + +.simcal-icon-list:before { + content: '\e806'; } + +.simcal-icon-event:before { + content: '\e807'; } + +.simcal-icon-help:before { + content: '\e808'; } + +.simcal-icon-panel:before { + content: '\e80a'; } + +.simcal-icon-grid:before { + content: '\e80b'; } + +.simcal-icon-google:before { + content: '\e80c'; } + +.simcal-icon-docs:before { + content: '\e80f'; } + +.simcal-icon-hourglass:before { + content: '\e811'; } + +.simcal-icon-globe:before { + content: '\e812'; } + +.simcal-icon-timezones:before { + content: '\e813'; } + +.simcal-icon-warning:before { + content: '\e815'; } + +.simcal-icon-wordpress:before { + content: '\e814'; } + +.simcal-icon-up:before { + content: '\e80e'; } + +.simcal-icon-right:before { + content: '\e809'; } + +.simcal-icon-down:before { + content: '\e80d'; } + +.simcal-icon-left:before { + content: '\e803'; } + +.simcal-icon-spinner:before { + content: '\e810'; } + +.simcal-calendar { + position: relative; } + +.simcal-powered { + display: block; + margin: -10px 0 20px; } + +.simcal-align-left { + text-align: left; } + +.simcal-align-right { + text-align: right; } + +.simcal-default-calendar .simcal-current h3 { + margin: 0; + padding: 0; } + +.simcal-default-calendar .simcal-nav { + vertical-align: middle; } + +.simcal-default-calendar .simcal-nav-button { + background: transparent; + border: 0; + box-shadow: none; + cursor: pointer; + margin: 0; + outline: none; + padding: 0; + transition: margin .2s ease-out; + width: 100%; } + .simcal-default-calendar .simcal-nav-button:focus, .simcal-default-calendar .simcal-nav-button:hover { + background: transparent; + border: 0; + box-shadow: none; + outline: none; } + .simcal-default-calendar .simcal-nav-button.simcal-prev:hover { + margin-left: -10px; } + .simcal-default-calendar .simcal-nav-button.simcal-next:hover { + margin-right: -10px; } + .simcal-default-calendar .simcal-nav-button:disabled { + cursor: default; } + .simcal-default-calendar .simcal-nav-button:disabled:hover { + margin: 0; + padding: 0; } + +.simcal-default-calendar .simcal-events { + list-style: none; + margin-left: 0; } + +.simcal-default-calendar .simcal-events-toggle { + border: 0; + box-shadow: none; + text-align: center; + width: 100%; } + .simcal-default-calendar .simcal-events-toggle:active, .simcal-default-calendar .simcal-events-toggle:focus, .simcal-default-calendar .simcal-events-toggle:hover { + border: 0; + box-shadow: none; + outline: none; } + +.simcal-default-calendar ul.simcal-attachments, +.simcal-default-calendar ul.simcal-attendees { + margin: 0; + padding: 0; } + +.simcal-default-calendar li.simcal-attachment, +.simcal-default-calendar li.simcal-attendee { + list-style: none; + margin-bottom: 4px; } + .simcal-default-calendar li.simcal-attachment:last-child, + .simcal-default-calendar li.simcal-attendee:last-child { + margin-bottom: 0; } + .simcal-default-calendar li.simcal-attachment small, + .simcal-default-calendar li.simcal-attendee small { + opacity: .9; + text-transform: lowercase; } + +.simcal-default-calendar li.simcal-attachment a, +.simcal-default-calendar li.simcal-attendee a, +.simcal-default-calendar .simcal-organizer a { + border-bottom: 0; + text-decoration: none; } + +.simcal-default-calendar li.simcal-attachment img, +.simcal-default-calendar li.simcal-attendee img, +.simcal-default-calendar .simcal-organizer img { + display: inline-block; + margin: 0 4px; + max-height: 24px; + max-width: 24px; } + +.simcal-default-calendar .simcal-tooltip-content { + font-size: 1.2em; + line-height: 1.4; + padding: 5px; } + +.simcal-default-calendar .simcal-ajax-loader { + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; } + .simcal-default-calendar .simcal-ajax-loader > i { + font-size: 48px; + left: 50%; + line-height: 1; + margin: -36px 0 0 -36px; + position: absolute; + top: 50%; } + .simcal-default-calendar .simcal-ajax-loader.simcal-spinner-top > i { + top: 20%; } + .simcal-default-calendar .simcal-ajax-loader.simcal-spinner-bottom > i { + bottom: 20%; + top: auto; } + +.simcal-default-calendar-light .simcal-nav-button { + color: rgba(0, 0, 0, 0.6); } + .simcal-default-calendar-light .simcal-nav-button:disabled { + color: rgba(255, 255, 255, 0.9) !important; } + .simcal-default-calendar-light .simcal-nav-button:disabled:hover { + color: rgba(255, 255, 255, 0.9) !important; } + .simcal-default-calendar-light .simcal-nav-button:focus, .simcal-default-calendar-light .simcal-nav-button:hover { + color: rgba(0, 0, 0, 0.9); } + +.simcal-default-calendar-light .simcal-events-toggle { + color: rgba(0, 0, 0, 0.6); } + .simcal-default-calendar-light .simcal-events-toggle:hover { + background-color: rgba(0, 0, 0, 0.1); + color: white; } + +.simcal-default-calendar-light .simcal-ajax-loader { + background-color: rgba(0, 0, 0, 0.1); } + .simcal-default-calendar-light .simcal-ajax-loader > i { + color: rgba(0, 0, 0, 0.3); } + +.simcal-default-calendar-dark .simcal-nav-button { + color: rgba(255, 255, 255, 0.6); } + .simcal-default-calendar-dark .simcal-nav-button:disabled { + color: rgba(0, 0, 0, 0.9) !important; } + .simcal-default-calendar-dark .simcal-nav-button:disabled:hover { + color: rgba(0, 0, 0, 0.9) !important; } + .simcal-default-calendar-dark .simcal-nav-button:focus, .simcal-default-calendar-dark .simcal-nav-button:hover { + color: rgba(255, 255, 255, 0.9); } + +.simcal-default-calendar-dark .simcal-events-toggle { + color: rgba(255, 255, 255, 0.6); } + .simcal-default-calendar-dark .simcal-events-toggle:hover { + background-color: rgba(255, 255, 255, 0.1); + color: black; } + +.simcal-default-calendar-dark .simcal-ajax-loader { + background-color: rgba(255, 255, 255, 0.1); } + .simcal-default-calendar-dark .simcal-ajax-loader > i { + color: rgba(255, 255, 255, 0.3); } + +.simcal-default-calendar-grid > table { + table-layout: fixed; + width: 100%; } + .simcal-default-calendar-grid > table thead th, + .simcal-default-calendar-grid > table tbody td { + text-align: center; + vertical-align: top; } + .simcal-default-calendar-grid > table tbody td { + padding: 0 !important; } + +.simcal-default-calendar-grid .simcal-calendar-head .simcal-nav { + padding: 10px 0; + vertical-align: middle; } + .simcal-default-calendar-grid .simcal-calendar-head .simcal-nav.simcal-prev-wrapper, .simcal-default-calendar-grid .simcal-calendar-head .simcal-nav.simcal-current { + border-right: 0; } + +.simcal-default-calendar-grid .simcal-day > div { + box-sizing: content-box; + display: block; + height: 100%; } + +.simcal-default-calendar-grid .simcal-day-void { + border-width: 0 0 1px 0; + height: 100%; + min-height: 32px; } + .simcal-default-calendar-grid .simcal-day-void.simcal-day-void-last { + border-right-width: 1px; } + +.simcal-default-calendar-grid .simcal-day-number { + display: block; + line-height: 1; + padding: 2px 4px 3px; + vertical-align: middle; } + +.simcal-default-calendar-grid .simcal-no-events { + display: block; + min-height: 32px; } + +.simcal-default-calendar-grid.simcal-default-calendar-light .simcal-day:hover { + background-color: rgba(0, 0, 0, 0.1); } + +.simcal-default-calendar-grid.simcal-default-calendar-light .simcal-day-void { + background-color: rgba(0, 0, 0, 0.04); } + .simcal-default-calendar-grid.simcal-default-calendar-light .simcal-day-void:hover { + background-color: rgba(0, 0, 0, 0.04); } + +.simcal-default-calendar-grid.simcal-default-calendar-light .simcal-day-number { + background: rgba(0, 0, 0, 0.1); } + +.simcal-default-calendar-grid.simcal-default-calendar-dark .simcal-day:hover { + background-color: rgba(255, 255, 255, 0.18); } + +.simcal-default-calendar-grid.simcal-default-calendar-dark .simcal-day-void { + background-color: rgba(255, 255, 255, 0.05); } + .simcal-default-calendar-grid.simcal-default-calendar-dark .simcal-day-void:hover { + background-color: rgba(255, 255, 255, 0.05); } + +.simcal-default-calendar-grid.simcal-default-calendar-dark .simcal-day-number { + background: rgba(255, 255, 255, 0.1); } + +.simcal-default-calendar-grid .simcal-events { + font-size: .68em; + line-height: 1.4; + list-style: none; + margin: 0; + padding: 0; + text-align: left; } + .simcal-default-calendar-grid .simcal-events > .simcal-event { + border-bottom-style: solid; + border-bottom-width: 1px; + cursor: pointer; + list-style: none; + margin: 0 0 2px 0; + padding: 4px; } + .simcal-default-calendar-grid .simcal-events > .simcal-event:hover { + text-decoration: underline; } + .simcal-default-calendar-grid .simcal-events > .simcal-event:last-child { + border-bottom: 0; + margin-bottom: 0; } + +.simcal-default-calendar-grid.simcal-default-calendar-light .simcal-event { + border-bottom-color: rgba(0, 0, 0, 0.1); } + +.simcal-default-calendar-grid.simcal-default-calendar-dark .simcal-event { + border-bottom-color: rgba(255, 255, 255, 0.1); } + +.simcal-default-calendar-grid .simcal-events-dots { + cursor: pointer; + display: block; + line-height: .7; + margin: 3px 0; + text-align: center; } + +.simcal-default-calendar-grid .simcal-events-toggle { + background: transparent; + display: block; + font-size: 10px; + padding: 2px 0; } + +.simcal-event-bubble { + background-color: #fff; + border: 1px solid rgba(0, 0, 0, 0.1); + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); } + .simcal-event-bubble:before { + border-bottom: 5px solid #fff; + border-left: 5px solid transparent; + border-right: 5px solid transparent; + content: ' '; + display: block; + font-size: 0; + height: 0; + left: 50%; + line-height: 0; + margin: -5px 0 0 -5px; + position: absolute; + width: 0; + z-index: 16000; } + .simcal-event-bubble:after { + border-bottom: 5px solid rgba(0, 0, 0, 0.18); + border-left: 5px solid transparent; + border-right: 5px solid transparent; + content: ' '; + display: block; + font-size: 0; + height: 0; + left: 50%; + line-height: 0; + margin: -6px 0 0 -5px; + position: absolute; + top: 0; + width: 0; + z-index: 14999; } + .simcal-event-bubble .simcal-event-details p, + .simcal-event-bubble .simcal-event-details .simcal-event-description { + margin: 0 0 1em; } + +.qtip-tip { + display: none !important; } diff --git a/wp-content/plugins/google-calendar-events/assets/css/default-calendar-grid.min.css b/wp-content/plugins/google-calendar-events/assets/css/default-calendar-grid.min.css new file mode 100644 index 0000000..851d65c --- /dev/null +++ b/wp-content/plugins/google-calendar-events/assets/css/default-calendar-grid.min.css @@ -0,0 +1,6 @@ +/*! Simple Calendar - 3.0.10 + * https://simplecalendar.io + * Copyright (c) Moonstone Media 2015 + * Licensed GPLv2+ */ + +.simcal-default-calendar .simcal-nav-button,.simcal-default-calendar .simcal-nav-button:focus,.simcal-default-calendar .simcal-nav-button:hover{background:0 0;border:0;box-shadow:none;outline:0}@font-face{font-family:simple-calendar;src:url(../fonts/simple-calendar.eot?43976014);src:url(../fonts/simple-calendar.eot?43976014#iefix) format("embedded-opentype"),url(../fonts/simple-calendar.woff?43976014) format("woff"),url(../fonts/simple-calendar.ttf?43976014) format("truetype"),url(../fonts/simple-calendar.svg?43976014#simple-calendar) format("svg");font-weight:400;font-style:normal}[class*=" simcal-icon-"]:before,[class^=simcal-icon-]:before{display:inline-block;font-family:simple-calendar;font-style:normal;font-weight:400;margin-right:.2em;speak:none;text-decoration:inherit;text-align:center;width:1em;font-variant:normal;text-transform:none;margin-left:.2em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.simcal-icon-spin{-webkit-animation:spin 2s infinite linear;animation:spin 2s infinite linear;display:inline-block}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.simcal-icon-animate:before{transition:all .2s ease-in-out}.simcal-icon-rotate-180:before{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.simcal-icon-calendar-empty:before{content:'\e800'}.simcal-icon-calendar:before{content:'\e801'}.simcal-icon-calendar-logo:before{content:'\e802'}.simcal-icon-settings:before{content:'\e804'}.simcal-icon-toggles:before{content:'\e805'}.simcal-icon-list:before{content:'\e806'}.simcal-icon-event:before{content:'\e807'}.simcal-icon-help:before{content:'\e808'}.simcal-icon-panel:before{content:'\e80a'}.simcal-icon-grid:before{content:'\e80b'}.simcal-icon-google:before{content:'\e80c'}.simcal-icon-docs:before{content:'\e80f'}.simcal-icon-hourglass:before{content:'\e811'}.simcal-icon-globe:before{content:'\e812'}.simcal-icon-timezones:before{content:'\e813'}.simcal-icon-warning:before{content:'\e815'}.simcal-icon-wordpress:before{content:'\e814'}.simcal-icon-up:before{content:'\e80e'}.simcal-icon-right:before{content:'\e809'}.simcal-icon-down:before{content:'\e80d'}.simcal-icon-left:before{content:'\e803'}.simcal-icon-spinner:before{content:'\e810'}.simcal-calendar{position:relative}.simcal-powered{display:block;margin:-10px 0 20px}.simcal-align-left{text-align:left}.simcal-align-right{text-align:right}.simcal-default-calendar .simcal-current h3{margin:0;padding:0}.simcal-default-calendar .simcal-nav{vertical-align:middle}.simcal-default-calendar .simcal-nav-button{cursor:pointer;margin:0;padding:0;transition:margin .2s ease-out;width:100%}.simcal-default-calendar .simcal-nav-button.simcal-prev:hover{margin-left:-10px}.simcal-default-calendar .simcal-nav-button.simcal-next:hover{margin-right:-10px}.simcal-default-calendar .simcal-nav-button:disabled:hover,.simcal-default-calendar ul.simcal-attachments,.simcal-default-calendar ul.simcal-attendees{margin:0;padding:0}.simcal-default-calendar .simcal-nav-button:disabled{cursor:default}.simcal-default-calendar .simcal-events{list-style:none;margin-left:0}.simcal-default-calendar .simcal-events-toggle{border:0;box-shadow:none;text-align:center;width:100%}.simcal-default-calendar .simcal-events-toggle:active,.simcal-default-calendar .simcal-events-toggle:focus,.simcal-default-calendar .simcal-events-toggle:hover{border:0;box-shadow:none;outline:0}.simcal-default-calendar li.simcal-attachment,.simcal-default-calendar li.simcal-attendee{list-style:none;margin-bottom:4px}.simcal-default-calendar li.simcal-attachment:last-child,.simcal-default-calendar li.simcal-attendee:last-child{margin-bottom:0}.simcal-default-calendar li.simcal-attachment small,.simcal-default-calendar li.simcal-attendee small{opacity:.9;text-transform:lowercase}.simcal-default-calendar .simcal-organizer a,.simcal-default-calendar li.simcal-attachment a,.simcal-default-calendar li.simcal-attendee a{border-bottom:0;text-decoration:none}.simcal-default-calendar .simcal-organizer img,.simcal-default-calendar li.simcal-attachment img,.simcal-default-calendar li.simcal-attendee img{display:inline-block;margin:0 4px;max-height:24px;max-width:24px}.simcal-default-calendar .simcal-tooltip-content{font-size:1.2em;line-height:1.4;padding:5px}.simcal-default-calendar .simcal-ajax-loader{height:100%;left:0;position:absolute;top:0;width:100%}.simcal-default-calendar .simcal-ajax-loader>i{font-size:48px;left:50%;line-height:1;margin:-36px 0 0 -36px;position:absolute;top:50%}.simcal-default-calendar .simcal-ajax-loader.simcal-spinner-top>i{top:20%}.simcal-default-calendar .simcal-ajax-loader.simcal-spinner-bottom>i{bottom:20%;top:auto}.simcal-default-calendar-light .simcal-nav-button{color:rgba(0,0,0,.6)}.simcal-default-calendar-light .simcal-nav-button:disabled,.simcal-default-calendar-light .simcal-nav-button:disabled:hover{color:rgba(255,255,255,.9)!important}.simcal-default-calendar-light .simcal-nav-button:focus,.simcal-default-calendar-light .simcal-nav-button:hover{color:rgba(0,0,0,.9)}.simcal-default-calendar-light .simcal-events-toggle{color:rgba(0,0,0,.6)}.simcal-default-calendar-light .simcal-events-toggle:hover{background-color:rgba(0,0,0,.1);color:#fff}.simcal-default-calendar-light .simcal-ajax-loader{background-color:rgba(0,0,0,.1)}.simcal-default-calendar-light .simcal-ajax-loader>i{color:rgba(0,0,0,.3)}.simcal-default-calendar-dark .simcal-nav-button{color:rgba(255,255,255,.6)}.simcal-default-calendar-dark .simcal-nav-button:disabled,.simcal-default-calendar-dark .simcal-nav-button:disabled:hover{color:rgba(0,0,0,.9)!important}.simcal-default-calendar-dark .simcal-nav-button:focus,.simcal-default-calendar-dark .simcal-nav-button:hover{color:rgba(255,255,255,.9)}.simcal-default-calendar-dark .simcal-events-toggle{color:rgba(255,255,255,.6)}.simcal-default-calendar-dark .simcal-events-toggle:hover{background-color:rgba(255,255,255,.1);color:#000}.simcal-default-calendar-dark .simcal-ajax-loader{background-color:rgba(255,255,255,.1)}.simcal-default-calendar-dark .simcal-ajax-loader>i{color:rgba(255,255,255,.3)}.simcal-default-calendar-grid>table{table-layout:fixed;width:100%}.simcal-default-calendar-grid>table tbody td,.simcal-default-calendar-grid>table thead th{text-align:center;vertical-align:top}.simcal-default-calendar-grid>table tbody td{padding:0!important}.simcal-default-calendar-grid .simcal-calendar-head .simcal-nav{padding:10px 0;vertical-align:middle}.simcal-default-calendar-grid .simcal-calendar-head .simcal-nav.simcal-current,.simcal-default-calendar-grid .simcal-calendar-head .simcal-nav.simcal-prev-wrapper{border-right:0}.simcal-default-calendar-grid .simcal-day>div{box-sizing:content-box;display:block;height:100%}.simcal-default-calendar-grid .simcal-day-void{border-width:0 0 1px;height:100%;min-height:32px}.simcal-default-calendar-grid .simcal-day-void.simcal-day-void-last{border-right-width:1px}.simcal-default-calendar-grid .simcal-day-number{display:block;line-height:1;padding:2px 4px 3px;vertical-align:middle}.simcal-default-calendar-grid .simcal-no-events{display:block;min-height:32px}.simcal-default-calendar-grid.simcal-default-calendar-light .simcal-day:hover{background-color:rgba(0,0,0,.1)}.simcal-default-calendar-grid.simcal-default-calendar-light .simcal-day-void,.simcal-default-calendar-grid.simcal-default-calendar-light .simcal-day-void:hover{background-color:rgba(0,0,0,.04)}.simcal-default-calendar-grid.simcal-default-calendar-light .simcal-day-number{background:rgba(0,0,0,.1)}.simcal-default-calendar-grid.simcal-default-calendar-dark .simcal-day:hover{background-color:rgba(255,255,255,.18)}.simcal-default-calendar-grid.simcal-default-calendar-dark .simcal-day-void,.simcal-default-calendar-grid.simcal-default-calendar-dark .simcal-day-void:hover{background-color:rgba(255,255,255,.05)}.simcal-default-calendar-grid.simcal-default-calendar-dark .simcal-day-number{background:rgba(255,255,255,.1)}.simcal-default-calendar-grid .simcal-events{font-size:.68em;line-height:1.4;list-style:none;margin:0;padding:0;text-align:left}.simcal-default-calendar-grid .simcal-events>.simcal-event{border-bottom-style:solid;border-bottom-width:1px;cursor:pointer;list-style:none;margin:0 0 2px;padding:4px}.simcal-default-calendar-grid .simcal-events>.simcal-event:hover{text-decoration:underline}.simcal-default-calendar-grid .simcal-events>.simcal-event:last-child{border-bottom:0;margin-bottom:0}.simcal-default-calendar-grid.simcal-default-calendar-light .simcal-event{border-bottom-color:rgba(0,0,0,.1)}.simcal-default-calendar-grid.simcal-default-calendar-dark .simcal-event{border-bottom-color:rgba(255,255,255,.1)}.simcal-default-calendar-grid .simcal-events-dots{cursor:pointer;display:block;line-height:.7;margin:3px 0;text-align:center}.simcal-default-calendar-grid .simcal-events-toggle{background:0 0;display:block;font-size:10px;padding:2px 0}.simcal-event-bubble{background-color:#fff;border:1px solid rgba(0,0,0,.1);box-shadow:0 1px 2px rgba(0,0,0,.1)}.simcal-event-bubble:after,.simcal-event-bubble:before{border-left:5px solid transparent;border-right:5px solid transparent;content:' ';display:block;font-size:0;height:0;left:50%;line-height:0;position:absolute;width:0}.simcal-event-bubble:before{border-bottom:5px solid #fff;margin:-5px 0 0 -5px;z-index:16000}.simcal-event-bubble:after{border-bottom:5px solid rgba(0,0,0,.18);margin:-6px 0 0 -5px;top:0;z-index:14999}.simcal-event-bubble .simcal-event-details .simcal-event-description,.simcal-event-bubble .simcal-event-details p{margin:0 0 1em}.qtip-tip{display:none!important} \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/assets/css/default-calendar-list.css b/wp-content/plugins/google-calendar-events/assets/css/default-calendar-list.css new file mode 100644 index 0000000..298501f --- /dev/null +++ b/wp-content/plugins/google-calendar-events/assets/css/default-calendar-list.css @@ -0,0 +1,326 @@ +@font-face { + font-family: 'simple-calendar'; + src: url("../fonts/simple-calendar.eot?43976014"); + src: url("../fonts/simple-calendar.eot?43976014#iefix") format("embedded-opentype"), url("../fonts/simple-calendar.woff?43976014") format("woff"), url("../fonts/simple-calendar.ttf?43976014") format("truetype"), url("../fonts/simple-calendar.svg?43976014#simple-calendar") format("svg"); + font-weight: normal; + font-style: normal; } + +[class^="simcal-icon-"]:before, +[class*=" simcal-icon-"]:before { + display: inline-block; + font-family: "simple-calendar"; + font-style: normal; + font-weight: normal; + margin-right: .2em; + speak: none; + text-decoration: inherit; + text-align: center; + width: 1em; + font-variant: normal; + text-transform: none; + margin-left: .2em; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; } + +.simcal-icon-spin { + -webkit-animation: spin 2s infinite linear; + animation: spin 2s infinite linear; + display: inline-block; } + +@-webkit-keyframes spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); } + 100% { + -webkit-transform: rotate(359deg); + transform: rotate(359deg); } } + +@keyframes spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); } + 100% { + -webkit-transform: rotate(359deg); + transform: rotate(359deg); } } + +.simcal-icon-animate:before { + transition: all .2s ease-in-out; } + +.simcal-icon-rotate-180:before { + -webkit-transform: rotate(180deg); + transform: rotate(180deg); } + +.simcal-icon-calendar-empty:before { + content: '\e800'; } + +.simcal-icon-calendar:before { + content: '\e801'; } + +.simcal-icon-calendar-logo:before { + content: '\e802'; } + +.simcal-icon-settings:before { + content: '\e804'; } + +.simcal-icon-toggles:before { + content: '\e805'; } + +.simcal-icon-list:before { + content: '\e806'; } + +.simcal-icon-event:before { + content: '\e807'; } + +.simcal-icon-help:before { + content: '\e808'; } + +.simcal-icon-panel:before { + content: '\e80a'; } + +.simcal-icon-grid:before { + content: '\e80b'; } + +.simcal-icon-google:before { + content: '\e80c'; } + +.simcal-icon-docs:before { + content: '\e80f'; } + +.simcal-icon-hourglass:before { + content: '\e811'; } + +.simcal-icon-globe:before { + content: '\e812'; } + +.simcal-icon-timezones:before { + content: '\e813'; } + +.simcal-icon-warning:before { + content: '\e815'; } + +.simcal-icon-wordpress:before { + content: '\e814'; } + +.simcal-icon-up:before { + content: '\e80e'; } + +.simcal-icon-right:before { + content: '\e809'; } + +.simcal-icon-down:before { + content: '\e80d'; } + +.simcal-icon-left:before { + content: '\e803'; } + +.simcal-icon-spinner:before { + content: '\e810'; } + +.simcal-calendar { + position: relative; } + +.simcal-powered { + display: block; + margin: -10px 0 20px; } + +.simcal-align-left { + text-align: left; } + +.simcal-align-right { + text-align: right; } + +.simcal-default-calendar .simcal-current h3 { + margin: 0; + padding: 0; } + +.simcal-default-calendar .simcal-nav { + vertical-align: middle; } + +.simcal-default-calendar .simcal-nav-button { + background: transparent; + border: 0; + box-shadow: none; + cursor: pointer; + margin: 0; + outline: none; + padding: 0; + transition: margin .2s ease-out; + width: 100%; } + .simcal-default-calendar .simcal-nav-button:focus, .simcal-default-calendar .simcal-nav-button:hover { + background: transparent; + border: 0; + box-shadow: none; + outline: none; } + .simcal-default-calendar .simcal-nav-button.simcal-prev:hover { + margin-left: -10px; } + .simcal-default-calendar .simcal-nav-button.simcal-next:hover { + margin-right: -10px; } + .simcal-default-calendar .simcal-nav-button:disabled { + cursor: default; } + .simcal-default-calendar .simcal-nav-button:disabled:hover { + margin: 0; + padding: 0; } + +.simcal-default-calendar .simcal-events { + list-style: none; + margin-left: 0; } + +.simcal-default-calendar .simcal-events-toggle { + border: 0; + box-shadow: none; + text-align: center; + width: 100%; } + .simcal-default-calendar .simcal-events-toggle:active, .simcal-default-calendar .simcal-events-toggle:focus, .simcal-default-calendar .simcal-events-toggle:hover { + border: 0; + box-shadow: none; + outline: none; } + +.simcal-default-calendar ul.simcal-attachments, +.simcal-default-calendar ul.simcal-attendees { + margin: 0; + padding: 0; } + +.simcal-default-calendar li.simcal-attachment, +.simcal-default-calendar li.simcal-attendee { + list-style: none; + margin-bottom: 4px; } + .simcal-default-calendar li.simcal-attachment:last-child, + .simcal-default-calendar li.simcal-attendee:last-child { + margin-bottom: 0; } + .simcal-default-calendar li.simcal-attachment small, + .simcal-default-calendar li.simcal-attendee small { + opacity: .9; + text-transform: lowercase; } + +.simcal-default-calendar li.simcal-attachment a, +.simcal-default-calendar li.simcal-attendee a, +.simcal-default-calendar .simcal-organizer a { + border-bottom: 0; + text-decoration: none; } + +.simcal-default-calendar li.simcal-attachment img, +.simcal-default-calendar li.simcal-attendee img, +.simcal-default-calendar .simcal-organizer img { + display: inline-block; + margin: 0 4px; + max-height: 24px; + max-width: 24px; } + +.simcal-default-calendar .simcal-tooltip-content { + font-size: 1.2em; + line-height: 1.4; + padding: 5px; } + +.simcal-default-calendar .simcal-ajax-loader { + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; } + .simcal-default-calendar .simcal-ajax-loader > i { + font-size: 48px; + left: 50%; + line-height: 1; + margin: -36px 0 0 -36px; + position: absolute; + top: 50%; } + .simcal-default-calendar .simcal-ajax-loader.simcal-spinner-top > i { + top: 20%; } + .simcal-default-calendar .simcal-ajax-loader.simcal-spinner-bottom > i { + bottom: 20%; + top: auto; } + +.simcal-default-calendar-light .simcal-nav-button { + color: rgba(0, 0, 0, 0.6); } + .simcal-default-calendar-light .simcal-nav-button:disabled { + color: rgba(255, 255, 255, 0.9) !important; } + .simcal-default-calendar-light .simcal-nav-button:disabled:hover { + color: rgba(255, 255, 255, 0.9) !important; } + .simcal-default-calendar-light .simcal-nav-button:focus, .simcal-default-calendar-light .simcal-nav-button:hover { + color: rgba(0, 0, 0, 0.9); } + +.simcal-default-calendar-light .simcal-events-toggle { + color: rgba(0, 0, 0, 0.6); } + .simcal-default-calendar-light .simcal-events-toggle:hover { + background-color: rgba(0, 0, 0, 0.1); + color: white; } + +.simcal-default-calendar-light .simcal-ajax-loader { + background-color: rgba(0, 0, 0, 0.1); } + .simcal-default-calendar-light .simcal-ajax-loader > i { + color: rgba(0, 0, 0, 0.3); } + +.simcal-default-calendar-dark .simcal-nav-button { + color: rgba(255, 255, 255, 0.6); } + .simcal-default-calendar-dark .simcal-nav-button:disabled { + color: rgba(0, 0, 0, 0.9) !important; } + .simcal-default-calendar-dark .simcal-nav-button:disabled:hover { + color: rgba(0, 0, 0, 0.9) !important; } + .simcal-default-calendar-dark .simcal-nav-button:focus, .simcal-default-calendar-dark .simcal-nav-button:hover { + color: rgba(255, 255, 255, 0.9); } + +.simcal-default-calendar-dark .simcal-events-toggle { + color: rgba(255, 255, 255, 0.6); } + .simcal-default-calendar-dark .simcal-events-toggle:hover { + background-color: rgba(255, 255, 255, 0.1); + color: black; } + +.simcal-default-calendar-dark .simcal-ajax-loader { + background-color: rgba(255, 255, 255, 0.1); } + .simcal-default-calendar-dark .simcal-ajax-loader > i { + color: rgba(255, 255, 255, 0.3); } + +.simcal-default-calendar-list { + min-height: 100px; + padding: 10px 0; + text-align: left; } + .simcal-default-calendar-list .simcal-calendar-head { + display: table; + padding-bottom: 10px; + width: 100%; } + .simcal-default-calendar-list .simcal-calendar-head .simcal-nav { + display: table-cell; + text-align: center; + vertical-align: middle; + width: 20%; } + .simcal-default-calendar-list .simcal-calendar-head .simcal-nav:nth-child(2) { + width: 60%; } + .simcal-default-calendar-list .simcal-calendar-head .simcal-current span { + display: inline-block; } + .simcal-default-calendar-list .simcal-calendar-head .simcal-hide-header { + visibility: hidden; } + .simcal-default-calendar-list dl.simcal-month { + margin-bottom: 10px; + padding: 0 10px 10px; } + .simcal-default-calendar-list dd.simcal-day { + list-style: none; + margin: 0; } + .simcal-default-calendar-list dt.simcal-day-label { + font-size: .9em; + list-style: none; + margin: 20px 0 10px; } + .simcal-default-calendar-list dt.simcal-day-label > span { + display: inline-block; + padding: 4px 8px; } + .simcal-default-calendar-list ul.simcal-events { + margin: 10px 14px 0; } + .simcal-default-calendar-list ul.simcal-events li.simcal-event { + list-style-type: none; + margin-bottom: 10px; + word-wrap: break-word; } + .simcal-default-calendar-list .simcal-event-details { + font-size: .84em; + line-height: 1.5; + overflow: hidden; } + .simcal-default-calendar-list .simcal-event-details p, + .simcal-default-calendar-list .simcal-event-details .simcal-event-description { + margin: 0 0 1em; } + .simcal-default-calendar-list .simcal-events-toggle { + display: inline-block; + padding: 0; } + .simcal-default-calendar-list.simcal-default-calendar-light .simcal-events-toggle { + background-color: rgba(0, 0, 0, 0.1); } + .simcal-default-calendar-list.simcal-default-calendar-dark .simcal-events-toggle { + background-color: rgba(255, 255, 255, 0.1); } + .simcal-default-calendar-list .simcal-calendar-list-compact .simcal-calendar-head .simcal-nav h3 { + font-size: 1em; } diff --git a/wp-content/plugins/google-calendar-events/assets/css/default-calendar-list.min.css b/wp-content/plugins/google-calendar-events/assets/css/default-calendar-list.min.css new file mode 100644 index 0000000..7e07d41 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/assets/css/default-calendar-list.min.css @@ -0,0 +1,6 @@ +/*! Simple Calendar - 3.0.10 + * https://simplecalendar.io + * Copyright (c) Moonstone Media 2015 + * Licensed GPLv2+ */ + +.simcal-default-calendar .simcal-nav-button,.simcal-default-calendar .simcal-nav-button:focus,.simcal-default-calendar .simcal-nav-button:hover{background:0 0;border:0;box-shadow:none;outline:0}@font-face{font-family:simple-calendar;src:url(../fonts/simple-calendar.eot?43976014);src:url(../fonts/simple-calendar.eot?43976014#iefix) format("embedded-opentype"),url(../fonts/simple-calendar.woff?43976014) format("woff"),url(../fonts/simple-calendar.ttf?43976014) format("truetype"),url(../fonts/simple-calendar.svg?43976014#simple-calendar) format("svg");font-weight:400;font-style:normal}[class*=" simcal-icon-"]:before,[class^=simcal-icon-]:before{display:inline-block;font-family:simple-calendar;font-style:normal;font-weight:400;margin-right:.2em;speak:none;text-decoration:inherit;text-align:center;width:1em;font-variant:normal;text-transform:none;margin-left:.2em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.simcal-icon-spin{-webkit-animation:spin 2s infinite linear;animation:spin 2s infinite linear;display:inline-block}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.simcal-icon-animate:before{transition:all .2s ease-in-out}.simcal-icon-rotate-180:before{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.simcal-icon-calendar-empty:before{content:'\e800'}.simcal-icon-calendar:before{content:'\e801'}.simcal-icon-calendar-logo:before{content:'\e802'}.simcal-icon-settings:before{content:'\e804'}.simcal-icon-toggles:before{content:'\e805'}.simcal-icon-list:before{content:'\e806'}.simcal-icon-event:before{content:'\e807'}.simcal-icon-help:before{content:'\e808'}.simcal-icon-panel:before{content:'\e80a'}.simcal-icon-grid:before{content:'\e80b'}.simcal-icon-google:before{content:'\e80c'}.simcal-icon-docs:before{content:'\e80f'}.simcal-icon-hourglass:before{content:'\e811'}.simcal-icon-globe:before{content:'\e812'}.simcal-icon-timezones:before{content:'\e813'}.simcal-icon-warning:before{content:'\e815'}.simcal-icon-wordpress:before{content:'\e814'}.simcal-icon-up:before{content:'\e80e'}.simcal-icon-right:before{content:'\e809'}.simcal-icon-down:before{content:'\e80d'}.simcal-icon-left:before{content:'\e803'}.simcal-icon-spinner:before{content:'\e810'}.simcal-calendar{position:relative}.simcal-powered{display:block;margin:-10px 0 20px}.simcal-align-left{text-align:left}.simcal-align-right{text-align:right}.simcal-default-calendar .simcal-current h3{margin:0;padding:0}.simcal-default-calendar .simcal-nav{vertical-align:middle}.simcal-default-calendar .simcal-nav-button{cursor:pointer;margin:0;padding:0;transition:margin .2s ease-out;width:100%}.simcal-default-calendar .simcal-nav-button.simcal-prev:hover{margin-left:-10px}.simcal-default-calendar .simcal-nav-button.simcal-next:hover{margin-right:-10px}.simcal-default-calendar .simcal-nav-button:disabled:hover,.simcal-default-calendar ul.simcal-attachments,.simcal-default-calendar ul.simcal-attendees{margin:0;padding:0}.simcal-default-calendar .simcal-nav-button:disabled{cursor:default}.simcal-default-calendar .simcal-events{list-style:none;margin-left:0}.simcal-default-calendar .simcal-events-toggle{border:0;box-shadow:none;text-align:center;width:100%}.simcal-default-calendar .simcal-events-toggle:active,.simcal-default-calendar .simcal-events-toggle:focus,.simcal-default-calendar .simcal-events-toggle:hover{border:0;box-shadow:none;outline:0}.simcal-default-calendar li.simcal-attachment,.simcal-default-calendar li.simcal-attendee{list-style:none;margin-bottom:4px}.simcal-default-calendar li.simcal-attachment:last-child,.simcal-default-calendar li.simcal-attendee:last-child{margin-bottom:0}.simcal-default-calendar li.simcal-attachment small,.simcal-default-calendar li.simcal-attendee small{opacity:.9;text-transform:lowercase}.simcal-default-calendar .simcal-organizer a,.simcal-default-calendar li.simcal-attachment a,.simcal-default-calendar li.simcal-attendee a{border-bottom:0;text-decoration:none}.simcal-default-calendar .simcal-organizer img,.simcal-default-calendar li.simcal-attachment img,.simcal-default-calendar li.simcal-attendee img{display:inline-block;margin:0 4px;max-height:24px;max-width:24px}.simcal-default-calendar .simcal-tooltip-content{font-size:1.2em;line-height:1.4;padding:5px}.simcal-default-calendar .simcal-ajax-loader{height:100%;left:0;position:absolute;top:0;width:100%}.simcal-default-calendar .simcal-ajax-loader>i{font-size:48px;left:50%;line-height:1;margin:-36px 0 0 -36px;position:absolute;top:50%}.simcal-default-calendar .simcal-ajax-loader.simcal-spinner-top>i{top:20%}.simcal-default-calendar .simcal-ajax-loader.simcal-spinner-bottom>i{bottom:20%;top:auto}.simcal-default-calendar-light .simcal-nav-button{color:rgba(0,0,0,.6)}.simcal-default-calendar-light .simcal-nav-button:disabled,.simcal-default-calendar-light .simcal-nav-button:disabled:hover{color:rgba(255,255,255,.9)!important}.simcal-default-calendar-light .simcal-nav-button:focus,.simcal-default-calendar-light .simcal-nav-button:hover{color:rgba(0,0,0,.9)}.simcal-default-calendar-light .simcal-events-toggle{color:rgba(0,0,0,.6)}.simcal-default-calendar-light .simcal-events-toggle:hover{background-color:rgba(0,0,0,.1);color:#fff}.simcal-default-calendar-light .simcal-ajax-loader{background-color:rgba(0,0,0,.1)}.simcal-default-calendar-light .simcal-ajax-loader>i{color:rgba(0,0,0,.3)}.simcal-default-calendar-dark .simcal-nav-button{color:rgba(255,255,255,.6)}.simcal-default-calendar-dark .simcal-nav-button:disabled,.simcal-default-calendar-dark .simcal-nav-button:disabled:hover{color:rgba(0,0,0,.9)!important}.simcal-default-calendar-dark .simcal-nav-button:focus,.simcal-default-calendar-dark .simcal-nav-button:hover{color:rgba(255,255,255,.9)}.simcal-default-calendar-dark .simcal-events-toggle{color:rgba(255,255,255,.6)}.simcal-default-calendar-dark .simcal-events-toggle:hover{background-color:rgba(255,255,255,.1);color:#000}.simcal-default-calendar-dark .simcal-ajax-loader{background-color:rgba(255,255,255,.1)}.simcal-default-calendar-dark .simcal-ajax-loader>i{color:rgba(255,255,255,.3)}.simcal-default-calendar-list{min-height:100px;padding:10px 0;text-align:left}.simcal-default-calendar-list .simcal-calendar-head{display:table;padding-bottom:10px;width:100%}.simcal-default-calendar-list .simcal-calendar-head .simcal-nav{display:table-cell;text-align:center;vertical-align:middle;width:20%}.simcal-default-calendar-list .simcal-calendar-head .simcal-nav:nth-child(2){width:60%}.simcal-default-calendar-list .simcal-calendar-head .simcal-current span{display:inline-block}.simcal-default-calendar-list .simcal-calendar-head .simcal-hide-header{visibility:hidden}.simcal-default-calendar-list dl.simcal-month{margin-bottom:10px;padding:0 10px 10px}.simcal-default-calendar-list dd.simcal-day{list-style:none;margin:0}.simcal-default-calendar-list dt.simcal-day-label{font-size:.9em;list-style:none;margin:20px 0 10px}.simcal-default-calendar-list dt.simcal-day-label>span{display:inline-block;padding:4px 8px}.simcal-default-calendar-list ul.simcal-events{margin:10px 14px 0}.simcal-default-calendar-list ul.simcal-events li.simcal-event{list-style-type:none;margin-bottom:10px;word-wrap:break-word}.simcal-default-calendar-list .simcal-event-details{font-size:.84em;line-height:1.5;overflow:hidden}.simcal-default-calendar-list .simcal-event-details .simcal-event-description,.simcal-default-calendar-list .simcal-event-details p{margin:0 0 1em}.simcal-default-calendar-list .simcal-events-toggle{display:inline-block;padding:0}.simcal-default-calendar-list.simcal-default-calendar-light .simcal-events-toggle{background-color:rgba(0,0,0,.1)}.simcal-default-calendar-list.simcal-default-calendar-dark .simcal-events-toggle{background-color:rgba(255,255,255,.1)}.simcal-default-calendar-list .simcal-calendar-list-compact .simcal-calendar-head .simcal-nav h3{font-size:1em} \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/assets/css/vendor/qtip.css b/wp-content/plugins/google-calendar-events/assets/css/vendor/qtip.css new file mode 100644 index 0000000..1489bc1 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/assets/css/vendor/qtip.css @@ -0,0 +1,124 @@ +/* + * qTip2 - Pretty powerful tooltips - v2.2.1 + * http://qtip2.com + * + * Copyright (c) 2014 + * Released under the MIT licenses + * http://jquery.org/license + * + * Date: Sun Sep 7 2014 12:09 GMT+0100+0100 + * Plugins: None + * Styles: core + */ +.qtip{ + position: absolute; + left: -28000px; + top: -28000px; + display: none; + + max-width: 280px; + min-width: 50px; + + font-size: 10.5px; + line-height: 12px; + + direction: ltr; + + box-shadow: none; + padding: 0; +} + + .qtip-content{ + position: relative; + padding: 5px 9px; + overflow: hidden; + + text-align: left; + word-wrap: break-word; + } + + .qtip-titlebar{ + position: relative; + padding: 5px 35px 5px 10px; + overflow: hidden; + + border-width: 0 0 1px; + font-weight: bold; + } + + .qtip-titlebar + .qtip-content{ border-top-width: 0 !important; } + + /* Default close button class */ + .qtip-close{ + position: absolute; + right: -9px; top: -9px; + z-index: 11; /* Overlap .qtip-tip */ + + cursor: pointer; + outline: medium none; + + border: 1px solid transparent; + } + + .qtip-titlebar .qtip-close{ + right: 4px; top: 50%; + margin-top: -9px; + } + + * html .qtip-titlebar .qtip-close{ top: 16px; } /* IE fix */ + + .qtip-titlebar .ui-icon, + .qtip-icon .ui-icon{ + display: block; + text-indent: -1000em; + direction: ltr; + } + + .qtip-icon, .qtip-icon .ui-icon{ + -moz-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; + text-decoration: none; + } + + .qtip-icon .ui-icon{ + width: 18px; + height: 14px; + + line-height: 14px; + text-align: center; + text-indent: 0; + font: normal bold 10px/13px Tahoma,sans-serif; + + color: inherit; + background: transparent none no-repeat -100em -100em; + } + +/* Applied to 'focused' tooltips e.g. most recently displayed/interacted with */ +.qtip-focus{} + +/* Applied on hover of tooltips i.e. added/removed on mouseenter/mouseleave respectively */ +.qtip-hover{} + +/* Default tooltip style */ +.qtip-default{ + border: 1px solid #F1D031; + + background-color: #FFFFA3; + color: #555; +} + + .qtip-default .qtip-titlebar{ + background-color: #FFEF93; + } + + .qtip-default .qtip-icon{ + border-color: #CCC; + background: #F1F1F1; + color: #777; + } + + .qtip-default .qtip-titlebar .qtip-close{ + border-color: #AAA; + color: #111; + } diff --git a/wp-content/plugins/google-calendar-events/assets/css/vendor/qtip.min.css b/wp-content/plugins/google-calendar-events/assets/css/vendor/qtip.min.css new file mode 100644 index 0000000..59acb87 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/assets/css/vendor/qtip.min.css @@ -0,0 +1,3 @@ +/* qTip2 v2.2.1 | Plugins: None | Styles: core | qtip2.com | Licensed MIT | Sun Sep 07 2014 00:09:32 */ + +.qtip{position:absolute;left:-28000px;top:-28000px;display:none;max-width:280px;min-width:50px;font-size:10.5px;line-height:12px;direction:ltr;box-shadow:none;padding:0}.qtip-content{position:relative;padding:5px 9px;overflow:hidden;text-align:left;word-wrap:break-word}.qtip-titlebar{position:relative;padding:5px 35px 5px 10px;overflow:hidden;border-width:0 0 1px;font-weight:700}.qtip-titlebar+.qtip-content{border-top-width:0!important}.qtip-close{position:absolute;right:-9px;top:-9px;z-index:11;cursor:pointer;outline:0;border:1px solid transparent}.qtip-titlebar .qtip-close{right:4px;top:50%;margin-top:-9px}* html .qtip-titlebar .qtip-close{top:16px}.qtip-icon .ui-icon,.qtip-titlebar .ui-icon{display:block;text-indent:-1000em;direction:ltr}.qtip-icon,.qtip-icon .ui-icon{-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;text-decoration:none}.qtip-icon .ui-icon{width:18px;height:14px;line-height:14px;text-align:center;text-indent:0;font:400 bold 10px/13px Tahoma,sans-serif;color:inherit;background:-100em -100em no-repeat}.qtip-default{border:1px solid #F1D031;background-color:#FFFFA3;color:#555}.qtip-default .qtip-titlebar{background-color:#FFEF93}.qtip-default .qtip-icon{border-color:#CCC;background:#F1F1F1;color:#777}.qtip-default .qtip-titlebar .qtip-close{border-color:#AAA;color:#111} \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/assets/css/vendor/select2.css b/wp-content/plugins/google-calendar-events/assets/css/vendor/select2.css new file mode 100644 index 0000000..d365213 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/assets/css/vendor/select2.css @@ -0,0 +1,431 @@ +.select2-container { + box-sizing: border-box; + display: inline-block; + margin: 0; + position: relative; + vertical-align: middle; } + .select2-container .select2-selection--single { + box-sizing: border-box; + cursor: pointer; + display: block; + height: 28px; + user-select: none; + -webkit-user-select: none; } + .select2-container .select2-selection--single .select2-selection__rendered { + display: block; + padding-left: 8px; + padding-right: 20px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; } + .select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered { + padding-right: 8px; + padding-left: 20px; } + .select2-container .select2-selection--multiple { + box-sizing: border-box; + cursor: pointer; + display: block; + min-height: 32px; + user-select: none; + -webkit-user-select: none; } + .select2-container .select2-selection--multiple .select2-selection__rendered { + display: inline-block; + overflow: hidden; + padding-left: 8px; + text-overflow: ellipsis; + white-space: nowrap; } + .select2-container .select2-search--inline { + float: left; } + .select2-container .select2-search--inline .select2-search__field { + box-sizing: border-box; + border: none; + font-size: 100%; + margin-top: 5px; } + .select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button { + -webkit-appearance: none; } + +.select2-dropdown { + background-color: white; + border: 1px solid #aaa; + border-radius: 4px; + box-sizing: border-box; + display: block; + position: absolute; + left: -100000px; + width: 100%; + z-index: 1051; } + +.select2-results { + display: block; } + +.select2-results__options { + list-style: none; + margin: 0; + padding: 0; } + +.select2-results__option { + padding: 6px; + user-select: none; + -webkit-user-select: none; } + .select2-results__option[aria-selected] { + cursor: pointer; } + +.select2-container--open .select2-dropdown { + left: 0; } + +.select2-container--open .select2-dropdown--above { + border-bottom: none; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; } + +.select2-container--open .select2-dropdown--below { + border-top: none; + border-top-left-radius: 0; + border-top-right-radius: 0; } + +.select2-search--dropdown { + display: block; + padding: 4px; } + .select2-search--dropdown .select2-search__field { + padding: 4px; + width: 100%; + box-sizing: border-box; } + .select2-search--dropdown .select2-search__field::-webkit-search-cancel-button { + -webkit-appearance: none; } + .select2-search--dropdown.select2-search--hide { + display: none; } + +.select2-close-mask { + border: 0; + margin: 0; + padding: 0; + display: block; + position: fixed; + left: 0; + top: 0; + min-height: 100%; + min-width: 100%; + height: auto; + width: auto; + opacity: 0; + z-index: 99; + background-color: #fff; + filter: alpha(opacity=0); } + +.select2-hidden-accessible { + border: 0; + clip: rect(0 0 0 0); + height: 1px; + margin: -1px; + overflow: hidden; + padding: 0; + position: absolute; + width: 1px; } + +.select2-container--default .select2-selection--single { + background-color: #fff; + border: 1px solid #aaa; + border-radius: 4px; } + .select2-container--default .select2-selection--single .select2-selection__rendered { + color: #444; + line-height: 28px; } + .select2-container--default .select2-selection--single .select2-selection__clear { + cursor: pointer; + float: right; + font-weight: bold; } + .select2-container--default .select2-selection--single .select2-selection__placeholder { + color: #999; } + .select2-container--default .select2-selection--single .select2-selection__arrow { + height: 26px; + position: absolute; + top: 1px; + right: 1px; + width: 20px; } + .select2-container--default .select2-selection--single .select2-selection__arrow b { + border-color: #888 transparent transparent transparent; + border-style: solid; + border-width: 5px 4px 0 4px; + height: 0; + left: 50%; + margin-left: -4px; + margin-top: -2px; + position: absolute; + top: 50%; + width: 0; } +.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear { + float: left; } +.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow { + left: 1px; + right: auto; } +.select2-container--default.select2-container--disabled .select2-selection--single { + background-color: #eee; + cursor: default; } + .select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear { + display: none; } +.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b { + border-color: transparent transparent #888 transparent; + border-width: 0 4px 5px 4px; } +.select2-container--default .select2-selection--multiple { + background-color: white; + border: 1px solid #aaa; + border-radius: 4px; + cursor: text; } + .select2-container--default .select2-selection--multiple .select2-selection__rendered { + box-sizing: border-box; + list-style: none; + margin: 0; + padding: 0 5px; + width: 100%; } + .select2-container--default .select2-selection--multiple .select2-selection__placeholder { + color: #999; + margin-top: 5px; + float: left; } + .select2-container--default .select2-selection--multiple .select2-selection__clear { + cursor: pointer; + float: right; + font-weight: bold; + margin-top: 5px; + margin-right: 10px; } + .select2-container--default .select2-selection--multiple .select2-selection__choice { + background-color: #e4e4e4; + border: 1px solid #aaa; + border-radius: 4px; + cursor: default; + float: left; + margin-right: 5px; + margin-top: 5px; + padding: 0 5px; } + .select2-container--default .select2-selection--multiple .select2-selection__choice__remove { + color: #999; + cursor: pointer; + display: inline-block; + font-weight: bold; + margin-right: 2px; } + .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover { + color: #333; } +.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__placeholder { + float: right; } +.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice { + margin-left: 5px; + margin-right: auto; } +.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove { + margin-left: 2px; + margin-right: auto; } +.select2-container--default.select2-container--focus .select2-selection--multiple { + border: solid black 1px; + outline: 0; } +.select2-container--default.select2-container--disabled .select2-selection--multiple { + background-color: #eee; + cursor: default; } +.select2-container--default.select2-container--disabled .select2-selection__choice__remove { + display: none; } +.select2-container--default.select2-container--open.select2-container--above .select2-selection--single, .select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple { + border-top-left-radius: 0; + border-top-right-radius: 0; } +.select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple { + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; } +.select2-container--default .select2-search--dropdown .select2-search__field { + border: 1px solid #aaa; } +.select2-container--default .select2-search--inline .select2-search__field { + background: transparent; + border: none; + outline: 0; } +.select2-container--default .select2-results > .select2-results__options { + max-height: 200px; + overflow-y: auto; } +.select2-container--default .select2-results__option[role=group] { + padding: 0; } +.select2-container--default .select2-results__option[aria-disabled=true] { + color: #999; } +.select2-container--default .select2-results__option[aria-selected=true] { + background-color: #ddd; } +.select2-container--default .select2-results__option .select2-results__option { + padding-left: 1em; } + .select2-container--default .select2-results__option .select2-results__option .select2-results__group { + padding-left: 0; } + .select2-container--default .select2-results__option .select2-results__option .select2-results__option { + margin-left: -1em; + padding-left: 2em; } + .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option { + margin-left: -2em; + padding-left: 3em; } + .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option { + margin-left: -3em; + padding-left: 4em; } + .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option { + margin-left: -4em; + padding-left: 5em; } + .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option { + margin-left: -5em; + padding-left: 6em; } +.select2-container--default .select2-results__option--highlighted[aria-selected] { + background-color: #5897fb; + color: white; } +.select2-container--default .select2-results__group { + cursor: default; + display: block; + padding: 6px; } + +.select2-container--classic .select2-selection--single { + background-color: #f6f6f6; + border: 1px solid #aaa; + border-radius: 4px; + outline: 0; + background-image: -webkit-linear-gradient(top, #ffffff 50%, #eeeeee 100%); + background-image: -o-linear-gradient(top, #ffffff 50%, #eeeeee 100%); + background-image: linear-gradient(to bottom, #ffffff 50%, #eeeeee 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0); } + .select2-container--classic .select2-selection--single:focus { + border: 1px solid #5897fb; } + .select2-container--classic .select2-selection--single .select2-selection__rendered { + color: #444; + line-height: 28px; } + .select2-container--classic .select2-selection--single .select2-selection__clear { + cursor: pointer; + float: right; + font-weight: bold; + margin-right: 10px; } + .select2-container--classic .select2-selection--single .select2-selection__placeholder { + color: #999; } + .select2-container--classic .select2-selection--single .select2-selection__arrow { + background-color: #ddd; + border: none; + border-left: 1px solid #aaa; + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; + height: 26px; + position: absolute; + top: 1px; + right: 1px; + width: 20px; + background-image: -webkit-linear-gradient(top, #eeeeee 50%, #cccccc 100%); + background-image: -o-linear-gradient(top, #eeeeee 50%, #cccccc 100%); + background-image: linear-gradient(to bottom, #eeeeee 50%, #cccccc 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#cccccc', GradientType=0); } + .select2-container--classic .select2-selection--single .select2-selection__arrow b { + border-color: #888 transparent transparent transparent; + border-style: solid; + border-width: 5px 4px 0 4px; + height: 0; + left: 50%; + margin-left: -4px; + margin-top: -2px; + position: absolute; + top: 50%; + width: 0; } +.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear { + float: left; } +.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow { + border: none; + border-right: 1px solid #aaa; + border-radius: 0; + border-top-left-radius: 4px; + border-bottom-left-radius: 4px; + left: 1px; + right: auto; } +.select2-container--classic.select2-container--open .select2-selection--single { + border: 1px solid #5897fb; } + .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow { + background: transparent; + border: none; } + .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b { + border-color: transparent transparent #888 transparent; + border-width: 0 4px 5px 4px; } +.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single { + border-top: none; + border-top-left-radius: 0; + border-top-right-radius: 0; + background-image: -webkit-linear-gradient(top, #ffffff 0%, #eeeeee 50%); + background-image: -o-linear-gradient(top, #ffffff 0%, #eeeeee 50%); + background-image: linear-gradient(to bottom, #ffffff 0%, #eeeeee 50%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0); } +.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single { + border-bottom: none; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; + background-image: -webkit-linear-gradient(top, #eeeeee 50%, #ffffff 100%); + background-image: -o-linear-gradient(top, #eeeeee 50%, #ffffff 100%); + background-image: linear-gradient(to bottom, #eeeeee 50%, #ffffff 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0); } +.select2-container--classic .select2-selection--multiple { + background-color: white; + border: 1px solid #aaa; + border-radius: 4px; + cursor: text; + outline: 0; } + .select2-container--classic .select2-selection--multiple:focus { + border: 1px solid #5897fb; } + .select2-container--classic .select2-selection--multiple .select2-selection__rendered { + list-style: none; + margin: 0; + padding: 0 5px; } + .select2-container--classic .select2-selection--multiple .select2-selection__clear { + display: none; } + .select2-container--classic .select2-selection--multiple .select2-selection__choice { + background-color: #e4e4e4; + border: 1px solid #aaa; + border-radius: 4px; + cursor: default; + float: left; + margin-right: 5px; + margin-top: 5px; + padding: 0 5px; } + .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove { + color: #888; + cursor: pointer; + display: inline-block; + font-weight: bold; + margin-right: 2px; } + .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover { + color: #555; } +.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice { + float: right; } +.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice { + margin-left: 5px; + margin-right: auto; } +.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove { + margin-left: 2px; + margin-right: auto; } +.select2-container--classic.select2-container--open .select2-selection--multiple { + border: 1px solid #5897fb; } +.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple { + border-top: none; + border-top-left-radius: 0; + border-top-right-radius: 0; } +.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple { + border-bottom: none; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; } +.select2-container--classic .select2-search--dropdown .select2-search__field { + border: 1px solid #aaa; + outline: 0; } +.select2-container--classic .select2-search--inline .select2-search__field { + outline: 0; } +.select2-container--classic .select2-dropdown { + background-color: white; + border: 1px solid transparent; } +.select2-container--classic .select2-dropdown--above { + border-bottom: none; } +.select2-container--classic .select2-dropdown--below { + border-top: none; } +.select2-container--classic .select2-results > .select2-results__options { + max-height: 200px; + overflow-y: auto; } +.select2-container--classic .select2-results__option[role=group] { + padding: 0; } +.select2-container--classic .select2-results__option[aria-disabled=true] { + color: grey; } +.select2-container--classic .select2-results__option--highlighted[aria-selected] { + background-color: #3875d7; + color: white; } +.select2-container--classic .select2-results__group { + cursor: default; + display: block; + padding: 6px; } +.select2-container--classic.select2-container--open .select2-dropdown { + border-color: #5897fb; } diff --git a/wp-content/plugins/google-calendar-events/assets/css/vendor/select2.min.css b/wp-content/plugins/google-calendar-events/assets/css/vendor/select2.min.css new file mode 100644 index 0000000..1c72344 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/assets/css/vendor/select2.min.css @@ -0,0 +1 @@ +.select2-container{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle;}.select2-container .select2-selection--single{box-sizing:border-box;cursor:pointer;display:block;height:28px;user-select:none;-webkit-user-select:none;}.select2-container .select2-selection--single .select2-selection__rendered{display:block;padding-left:8px;padding-right:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered{padding-right:8px;padding-left:20px;}.select2-container .select2-selection--multiple{box-sizing:border-box;cursor:pointer;display:block;min-height:32px;user-select:none;-webkit-user-select:none;}.select2-container .select2-selection--multiple .select2-selection__rendered{display:inline-block;overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap;}.select2-container .select2-search--inline{float:left;}.select2-container .select2-search--inline .select2-search__field{box-sizing:border-box;border:none;font-size:100%;margin-top:5px;}.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none;}.select2-dropdown{background-color:white;border:1px solid #aaa;border-radius:4px;box-sizing:border-box;display:block;position:absolute;left:-100000px;width:100%;z-index:1051;}.select2-results{display:block;}.select2-results__options{list-style:none;margin:0;padding:0;}.select2-results__option{padding:6px;user-select:none;-webkit-user-select:none;}.select2-results__option[aria-selected]{cursor:pointer;}.select2-container--open .select2-dropdown{left:0;}.select2-container--open .select2-dropdown--above{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;}.select2-container--open .select2-dropdown--below{border-top:none;border-top-left-radius:0;border-top-right-radius:0;}.select2-search--dropdown{display:block;padding:4px;}.select2-search--dropdown .select2-search__field{padding:4px;width:100%;box-sizing:border-box;}.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none;}.select2-search--dropdown.select2-search--hide{display:none;}.select2-close-mask{border:0;margin:0;padding:0;display:block;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:99;background-color:#fff;filter:alpha(opacity=0);}.select2-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;}.select2-container--default .select2-selection--single{background-color:#fff;border:1px solid #aaa;border-radius:4px;}.select2-container--default .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px;}.select2-container--default .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;}.select2-container--default .select2-selection--single .select2-selection__placeholder{color:#999;}.select2-container--default .select2-selection--single .select2-selection__arrow{height:26px;position:absolute;top:1px;right:1px;width:20px;}.select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0;}.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear{float:left;}.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow{left:1px;right:auto;}.select2-container--default.select2-container--disabled .select2-selection--single{background-color:#eee;cursor:default;}.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear{display:none;}.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px;}.select2-container--default .select2-selection--multiple{background-color:white;border:1px solid #aaa;border-radius:4px;cursor:text;}.select2-container--default .select2-selection--multiple .select2-selection__rendered{box-sizing:border-box;list-style:none;margin:0;padding:0 5px;width:100%;}.select2-container--default .select2-selection--multiple .select2-selection__placeholder{color:#999;margin-top:5px;float:left;}.select2-container--default .select2-selection--multiple .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;margin-top:5px;margin-right:10px;}.select2-container--default .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px;}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{color:#999;cursor:pointer;display:inline-block;font-weight:bold;margin-right:2px;}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover{color:#333;}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice,.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__placeholder{float:right;}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice{margin-left:5px;margin-right:auto;}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto;}.select2-container--default.select2-container--focus .select2-selection--multiple{border:solid black 1px;outline:0;}.select2-container--default.select2-container--disabled .select2-selection--multiple{background-color:#eee;cursor:default;}.select2-container--default.select2-container--disabled .select2-selection__choice__remove{display:none;}.select2-container--default.select2-container--open.select2-container--above .select2-selection--single,.select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple{border-top-left-radius:0;border-top-right-radius:0;}.select2-container--default.select2-container--open.select2-container--below .select2-selection--single,.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom-left-radius:0;border-bottom-right-radius:0;}.select2-container--default .select2-search--dropdown .select2-search__field{border:1px solid #aaa;}.select2-container--default .select2-search--inline .select2-search__field{background:transparent;border:none;outline:0;}.select2-container--default .select2-results>.select2-results__options{max-height:200px;overflow-y:auto;}.select2-container--default .select2-results__option[role=group]{padding:0;}.select2-container--default .select2-results__option[aria-disabled=true]{color:#999;}.select2-container--default .select2-results__option[aria-selected=true]{background-color:#ddd;}.select2-container--default .select2-results__option .select2-results__option{padding-left:1em;}.select2-container--default .select2-results__option .select2-results__option .select2-results__group{padding-left:0;}.select2-container--default .select2-results__option .select2-results__option .select2-results__option{margin-left:-1em;padding-left:2em;}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-2em;padding-left:3em;}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-3em;padding-left:4em;}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-4em;padding-left:5em;}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-5em;padding-left:6em;}.select2-container--default .select2-results__option--highlighted[aria-selected]{background-color:#5897fb;color:white;}.select2-container--default .select2-results__group{cursor:default;display:block;padding:6px;}.select2-container--classic .select2-selection--single{background-color:#f6f6f6;border:1px solid #aaa;border-radius:4px;outline:0;background-image:-webkit-linear-gradient(top, #ffffff 50%, #eeeeee 100%);background-image:-o-linear-gradient(top, #ffffff 50%, #eeeeee 100%);background-image:linear-gradient(to bottom, #ffffff 50%, #eeeeee 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0);}.select2-container--classic .select2-selection--single:focus{border:1px solid #5897fb;}.select2-container--classic .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px;}.select2-container--classic .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;margin-right:10px;}.select2-container--classic .select2-selection--single .select2-selection__placeholder{color:#999;}.select2-container--classic .select2-selection--single .select2-selection__arrow{background-color:#ddd;border:none;border-left:1px solid #aaa;border-top-right-radius:4px;border-bottom-right-radius:4px;height:26px;position:absolute;top:1px;right:1px;width:20px;background-image:-webkit-linear-gradient(top, #eeeeee 50%, #cccccc 100%);background-image:-o-linear-gradient(top, #eeeeee 50%, #cccccc 100%);background-image:linear-gradient(to bottom, #eeeeee 50%, #cccccc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#cccccc', GradientType=0);}.select2-container--classic .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0;}.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear{float:left;}.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow{border:none;border-right:1px solid #aaa;border-radius:0;border-top-left-radius:4px;border-bottom-left-radius:4px;left:1px;right:auto;}.select2-container--classic.select2-container--open .select2-selection--single{border:1px solid #5897fb;}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow{background:transparent;border:none;}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px;}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single{border-top:none;border-top-left-radius:0;border-top-right-radius:0;background-image:-webkit-linear-gradient(top, #ffffff 0%, #eeeeee 50%);background-image:-o-linear-gradient(top, #ffffff 0%, #eeeeee 50%);background-image:linear-gradient(to bottom, #ffffff 0%, #eeeeee 50%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0);}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;background-image:-webkit-linear-gradient(top, #eeeeee 50%, #ffffff 100%);background-image:-o-linear-gradient(top, #eeeeee 50%, #ffffff 100%);background-image:linear-gradient(to bottom, #eeeeee 50%, #ffffff 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0);}.select2-container--classic .select2-selection--multiple{background-color:white;border:1px solid #aaa;border-radius:4px;cursor:text;outline:0;}.select2-container--classic .select2-selection--multiple:focus{border:1px solid #5897fb;}.select2-container--classic .select2-selection--multiple .select2-selection__rendered{list-style:none;margin:0;padding:0 5px;}.select2-container--classic .select2-selection--multiple .select2-selection__clear{display:none;}.select2-container--classic .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px;}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove{color:#888;cursor:pointer;display:inline-block;font-weight:bold;margin-right:2px;}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover{color:#555;}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice{float:right;}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice{margin-left:5px;margin-right:auto;}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto;}.select2-container--classic.select2-container--open .select2-selection--multiple{border:1px solid #5897fb;}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple{border-top:none;border-top-left-radius:0;border-top-right-radius:0;}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;}.select2-container--classic .select2-search--dropdown .select2-search__field{border:1px solid #aaa;outline:0;}.select2-container--classic .select2-search--inline .select2-search__field{outline:0;}.select2-container--classic .select2-dropdown{background-color:white;border:1px solid transparent;}.select2-container--classic .select2-dropdown--above{border-bottom:none;}.select2-container--classic .select2-dropdown--below{border-top:none;}.select2-container--classic .select2-results>.select2-results__options{max-height:200px;overflow-y:auto;}.select2-container--classic .select2-results__option[role=group]{padding:0;}.select2-container--classic .select2-results__option[aria-disabled=true]{color:grey;}.select2-container--classic .select2-results__option--highlighted[aria-selected]{background-color:#3875d7;color:white;}.select2-container--classic .select2-results__group{cursor:default;display:block;padding:6px;}.select2-container--classic.select2-container--open .select2-dropdown{border-color:#5897fb;} \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/assets/fonts/simple-calendar.eot b/wp-content/plugins/google-calendar-events/assets/fonts/simple-calendar.eot new file mode 100644 index 0000000..5bf19b7 Binary files /dev/null and b/wp-content/plugins/google-calendar-events/assets/fonts/simple-calendar.eot differ diff --git a/wp-content/plugins/google-calendar-events/assets/fonts/simple-calendar.svg b/wp-content/plugins/google-calendar-events/assets/fonts/simple-calendar.svg new file mode 100644 index 0000000..aadaab9 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/assets/fonts/simple-calendar.svg @@ -0,0 +1,33 @@ + + + +Copyright (C) 2015 by original authors @ fontello.com + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/assets/fonts/simple-calendar.ttf b/wp-content/plugins/google-calendar-events/assets/fonts/simple-calendar.ttf new file mode 100644 index 0000000..4080c0a Binary files /dev/null and b/wp-content/plugins/google-calendar-events/assets/fonts/simple-calendar.ttf differ diff --git a/wp-content/plugins/google-calendar-events/assets/fonts/simple-calendar.woff b/wp-content/plugins/google-calendar-events/assets/fonts/simple-calendar.woff new file mode 100644 index 0000000..06aa463 Binary files /dev/null and b/wp-content/plugins/google-calendar-events/assets/fonts/simple-calendar.woff differ diff --git a/wp-content/plugins/google-calendar-events/assets/gcal-icon-16x16.png b/wp-content/plugins/google-calendar-events/assets/gcal-icon-16x16.png deleted file mode 100644 index 6524ff7..0000000 Binary files a/wp-content/plugins/google-calendar-events/assets/gcal-icon-16x16.png and /dev/null differ diff --git a/wp-content/plugins/google-calendar-events/assets/icon-128x128.png b/wp-content/plugins/google-calendar-events/assets/icon-128x128.png deleted file mode 100644 index 7466b61..0000000 Binary files a/wp-content/plugins/google-calendar-events/assets/icon-128x128.png and /dev/null differ diff --git a/wp-content/plugins/google-calendar-events/assets/icon-256x256.png b/wp-content/plugins/google-calendar-events/assets/icon-256x256.png deleted file mode 100644 index 7dceced..0000000 Binary files a/wp-content/plugins/google-calendar-events/assets/icon-256x256.png and /dev/null differ diff --git a/wp-content/plugins/google-calendar-events/assets/images/simple-calendar-icon-fill.svg b/wp-content/plugins/google-calendar-events/assets/images/simple-calendar-icon-fill.svg new file mode 100644 index 0000000..19914d8 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/assets/images/simple-calendar-icon-fill.svg @@ -0,0 +1,32 @@ + + + + + + + + + diff --git a/wp-content/plugins/google-calendar-events/assets/images/simple-calendar-icon-strokes.svg b/wp-content/plugins/google-calendar-events/assets/images/simple-calendar-icon-strokes.svg new file mode 100644 index 0000000..5fbcab9 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/assets/images/simple-calendar-icon-strokes.svg @@ -0,0 +1,31 @@ + + + + + + + diff --git a/wp-content/plugins/google-calendar-events/assets/images/welcome/calendar-settings-appearance.png b/wp-content/plugins/google-calendar-events/assets/images/welcome/calendar-settings-appearance.png new file mode 100644 index 0000000..d2d1e23 Binary files /dev/null and b/wp-content/plugins/google-calendar-events/assets/images/welcome/calendar-settings-appearance.png differ diff --git a/wp-content/plugins/google-calendar-events/assets/images/welcome/google-calendar-pro-list-view-annotated.png b/wp-content/plugins/google-calendar-events/assets/images/welcome/google-calendar-pro-list-view-annotated.png new file mode 100644 index 0000000..63a722d Binary files /dev/null and b/wp-content/plugins/google-calendar-events/assets/images/welcome/google-calendar-pro-list-view-annotated.png differ diff --git a/wp-content/plugins/google-calendar-events/assets/images/welcome/grid-view-custom-colors.png b/wp-content/plugins/google-calendar-events/assets/images/welcome/grid-view-custom-colors.png new file mode 100644 index 0000000..49edbe1 Binary files /dev/null and b/wp-content/plugins/google-calendar-events/assets/images/welcome/grid-view-custom-colors.png differ diff --git a/wp-content/plugins/google-calendar-events/assets/images/welcome/grid-view-widget-dark-theme.png b/wp-content/plugins/google-calendar-events/assets/images/welcome/grid-view-widget-dark-theme.png new file mode 100644 index 0000000..0078f86 Binary files /dev/null and b/wp-content/plugins/google-calendar-events/assets/images/welcome/grid-view-widget-dark-theme.png differ diff --git a/wp-content/plugins/google-calendar-events/assets/images/welcome/icon-185x185.png b/wp-content/plugins/google-calendar-events/assets/images/welcome/icon-185x185.png new file mode 100644 index 0000000..7f43c3f Binary files /dev/null and b/wp-content/plugins/google-calendar-events/assets/images/welcome/icon-185x185.png differ diff --git a/wp-content/plugins/google-calendar-events/assets/images/welcome/list-view-widget.png b/wp-content/plugins/google-calendar-events/assets/images/welcome/list-view-widget.png new file mode 100644 index 0000000..5f54b4a Binary files /dev/null and b/wp-content/plugins/google-calendar-events/assets/images/welcome/list-view-widget.png differ diff --git a/wp-content/plugins/google-calendar-events/assets/js/admin-add-calendar.js b/wp-content/plugins/google-calendar-events/assets/js/admin-add-calendar.js new file mode 100644 index 0000000..defe343 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/assets/js/admin-add-calendar.js @@ -0,0 +1,122 @@ +( function( window, undefined ) { + 'use strict'; + + jQuery( function( $ ) { + + /* ===================== * + * Add Calendar Meta Box * + * ===================== */ + + var ajaxEnhance = false, + widgets = $( '#widgets-left' ); + + if ( widgets.length ) { + + // See: http://wordpress.stackexchange.com/a/37707/48502 + $( document ).ajaxComplete( function( event, XMLHttpRequest, ajaxOptions ) { + + // Determine which ajax request is this (we are after "save-widget"). + var request = {}, + pairs = ajaxOptions.data.split( '&' ), + i, + split, + widget; + + for ( i in pairs ) { + split = pairs[i].split('='); + request[ decodeURIComponent( split[0] ) ] = decodeURIComponent( split[1] ); + } + + if ( request.action && ( request.action === 'save-widget' ) ) { + + widget = $( 'input.widget-id[value="' + request['widget-id'] + '"]' ).parents( '.widget' ); + + // Trigger manual save, if this was the save request + // and if we didn't get the form html response. + if ( !XMLHttpRequest.responseText ) { + wpWidgets.save( widget, 0, 1, 0 ); + } else { + // We got a response, this could be either our request above, + // or a correct widget-save call, so fire an event on which we can hook our code. + $( document ).trigger( 'saved_widget', widget ); + } + + } + + } ); + + // Bind our Select2 function to the saved_widget event. + $( document ).bind( 'saved_widget', function( event, widget ) { + ajaxEnhance = true; + enhanceDropDown(); + } ); + + } + + if ( ! ajaxEnhance ) { + enhanceDropDown(); + } + + /** + * Select2. + */ + function enhanceDropDown() { + $( '.simcal-field-select-enhanced' ).each( function( e, i ) { + + var field = $( i ), + noResults = field.data( 'noresults' ), + allowClear = field.data( 'allowclear' ); + + field.select2({ + allowClear : allowClear != 'undefined' ? allowClear : false, + placeholder : { + id : '', + placeholder: '' + }, + dir : simcal_admin.text_dir != 'undefined' ? simcal_admin.text_dir : 'ltr', + tokenSeparators: [','], + width : '100%', + language : { + noResults: function() { + return noResults != 'undefined' ? noResults : ''; + } + } + } ); + } ); + } + + /* ========================= * + * Add Calendar Media Button * + * ========================= */ + + // Very Ugly ThickBox hack: https://core.trac.wordpress.org/ticket/17249 + $( '#simcal-insert-shortcode-button' ).on( 'click', function() { + // ThickBox creates a div which is not immediately available. + setTimeout( function() { + var thickBox = document.getElementById( 'TB_window'); + if ( thickBox != 'undefined' ) { + thickBox.classList.add( 'simcal-insert-shortcode-modal' ); + } + var thickBoxTitle = document.getElementById( 'TB_title' ); + if ( thickBoxTitle != 'undefined' ) { + thickBoxTitle.classList.add( 'simcal-insert-shortcode-modal-title' ); + } + }, 120 ); + } ); + + // Add shortcode in WordPress post editor. + $( '#simcal-insert-shortcode' ).on( 'click', function( e ) { + + e.preventDefault(); + + var feedId = $( '#simcal-choose-calendar' ).val(); + + wp.media.editor.insert( '[calendar id="' + feedId + '"] ' ); + + // Close Thickbox. + tb_remove(); + } ); + + } ); + +} )( this ); diff --git a/wp-content/plugins/google-calendar-events/assets/js/admin-add-calendar.min.js b/wp-content/plugins/google-calendar-events/assets/js/admin-add-calendar.min.js new file mode 100644 index 0000000..b801b85 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/assets/js/admin-add-calendar.min.js @@ -0,0 +1,6 @@ +/*! Simple Calendar - 3.0.10 + * https://simplecalendar.io + * Copyright (c) Moonstone Media 2015 + * Licensed GPLv2+ */ + +!function(a,b){"use strict";jQuery(function(a){function b(){a(".simcal-field-select-enhanced").each(function(b,c){var d=a(c),e=d.data("noresults"),f=d.data("allowclear");d.select2({allowClear:"undefined"!=f?f:!1,placeholder:{id:"",placeholder:""},dir:"undefined"!=simcal_admin.text_dir?simcal_admin.text_dir:"ltr",tokenSeparators:[","],width:"100%",language:{noResults:function(){return"undefined"!=e?e:""}}})})}var c=!1,d=a("#widgets-left");d.length&&(a(document).ajaxComplete(function(b,c,d){var e,f,g,h={},i=d.data.split("&");for(e in i)f=i[e].split("="),h[decodeURIComponent(f[0])]=decodeURIComponent(f[1]);h.action&&"save-widget"===h.action&&(g=a('input.widget-id[value="'+h["widget-id"]+'"]').parents(".widget"),c.responseText?a(document).trigger("saved_widget",g):wpWidgets.save(g,0,1,0))}),a(document).bind("saved_widget",function(a,d){c=!0,b()})),c||b(),a("#simcal-insert-shortcode-button").on("click",function(){setTimeout(function(){var a=document.getElementById("TB_window");"undefined"!=a&&a.classList.add("simcal-insert-shortcode-modal");var b=document.getElementById("TB_title");"undefined"!=b&&b.classList.add("simcal-insert-shortcode-modal-title")},120)}),a("#simcal-insert-shortcode").on("click",function(b){b.preventDefault();var c=a("#simcal-choose-calendar").val();wp.media.editor.insert('[calendar id="'+c+'"] '),tb_remove()})})}(this); \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/assets/js/admin.js b/wp-content/plugins/google-calendar-events/assets/js/admin.js new file mode 100644 index 0000000..ee862f4 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/assets/js/admin.js @@ -0,0 +1,536 @@ +(function( window, undefined ) { + 'use strict'; + + jQuery( function( $ ) { + + /* ======== * + * Tooltips * + * ======== */ + + // Initialize Tooltips (tiptip.js). + $( '.simcal-help-tip' ).tipTip( { + attribute: 'data-tip', + delay: 200, + fadeIn: 50, + fadeOut: 50 + } ); + + // Tooltips to ease shortcode copying. + $( '.simcal-shortcode-tip' ).tipTip( { + activation: 'click', + defaultPosition: 'top', + delay: 200, + fadeIn: 50, + fadeOut: 50 + } ); + + /* ========== * + * Meta Boxes * + * ========== */ + + var // Calendar Settings Meta Box + calendarSettings = $( '#simcal-calendar-settings' ), + simCalBoxHandle = calendarSettings.find( '.simcal-box-handle' ), + boxHandle = calendarSettings.find( '.hndle' ); + + // Move the into the Meta Box header handle. + $( simCalBoxHandle ).appendTo( boxHandle ); + $( function() { + // Prevent inputs in meta box headings opening/closing contents. + $( boxHandle ).unbind( 'click.postboxes' ); + calendarSettings.on( 'click', 'h3.hndle', function( event ) { + // If the user clicks on some form input inside the h3 the box should not be toggled. + if ( $( event.target ).filter( 'input, option, label, select' ).length ) { + return; + } + calendarSettings.toggleClass( 'closed' ); + } ); + + } ); + + // Tabbed Panels in Settings Meta Box. + $( document.body ).on( 'simcal-init-tabbed-panels', function() { + $( '.simcal-tabs' ).show(); + $( '.simcal-tabs a' ).click( function() { + var panel_wrap = $( this ).closest( 'div.simcal-panels-wrap' ); + $( 'ul.simcal-tabs li', panel_wrap ).removeClass( 'active' ); + $( this ).parent().addClass( 'active' ); + $( 'div.simcal-panel', panel_wrap ).hide(); + $( $( this ).attr( 'href' ) ).show(); + return false; + } ); + $( 'div.simcal-panels-wrap' ).each( function() { + $( this ).find( 'ul.simcal-tabs > li' ).eq( 0 ).find( 'a' ).click(); + } ); + } ).trigger( 'simcal-init-tabbed-panels' ); + + // Swap feed type tabs and panels according to selection. + $( '#_feed_type' ).on( 'change', function() { + + var selected = $( this ).find( 'option:selected' ), + feed = selected.val(), + ul = $( '.simcal-tabs' ), + tabs = ul.find( '> .simcal-feed-type' ), + tab = ul.find( '> .simcal-feed-type-' + feed ), + a = ul.find( '> li:first-child > a' ); + + tabs.each( function() { + $( this ).hide(); + } ); + tab.show(); + a.trigger( 'click' ); + + } ).trigger( 'change' ); + + // Brings back the meta box after all the manipulations above. + calendarSettings.show(); + + // Toggle default calendar settings. + var defCalViews = $( '#_calendar_view_default-calendar' ), + defCalSettings = $( '#default-calendar-settings' ), + gridSettings = defCalSettings.find( '.simcal-default-calendar-grid' ), + listSettings = defCalSettings.find( '.simcal-default-calendar-list' ), + groupedListSettings = defCalSettings.find( '.simcal-default-calendar-list-grouped' ); + + defCalViews.on( 'change', function() { + + var selView = $( this ).val(); + + if ( 'grid' == selView ) { + listSettings.hide(); + groupedListSettings.hide(); + gridSettings.show(); + } else if ( 'list' == selView ) { + gridSettings.hide(); + groupedListSettings.hide(); + listSettings.show(); + } else if ( 'list-grouped' == selView ) { + gridSettings.hide(); + listSettings.hide(); + groupedListSettings.show(); + } + + } ).trigger( 'change' ); + + /* ============ * + * Input Fields * + * ============ */ + + // WordPress color picker. + $( '.simcal-field-color-picker' ).wpColorPicker(); + + // Select2 enhanced select. + $( '.simcal-field-select-enhanced' ).each( function( e, i ) { + + var field = $( i ), + noResults = field.data( 'noresults' ), + allowClear = field.data( 'allowclear' ); + + field.select2( { + allowClear: allowClear != 'undefined' ? allowClear : false, + placeholder: { + id: '', + placeholder: '' + }, + dir: simcal_admin.text_dir != 'undefined' ? simcal_admin.text_dir : 'ltr', + tokenSeparators: [ ',' ], + width: '100%', + language: { + noResults: function() { + return noResults != 'undefined' ? noResults : ''; + } + } + } ); + } ); + + // jQuery Date Picker. + var fieldDatePicker = $( '.simcal-field-date-picker' ); + fieldDatePicker.each( function( e, i ) { + + var input = $( i ).find( 'input' ), + args = { + autoSize: true, + changeMonth: true, + changeYear: true, + dateFormat: 'yy-mm-dd', + firstDay: 1, + prevText: '', + nextText: '', + yearRange: '1900:2050', + beforeShow: function( input, instance ) { + $( '#ui-datepicker-div' ).addClass( 'simcal-date-picker' ); + } + }; + + $( input ).datepicker( args ); + $( input ).datepicker( 'option', $.datepicker.regional[ simcal_admin.locale ] ); + + } ); + + // Datetime formatter field. + var fieldDateTime = $( '.simcal-field-datetime-format' ); + fieldDateTime.sortable( { + items: '> div', + stop: function() { + formatDateTime( $( this ) ); + } + } ); + fieldDateTime.each( function( e, i ) { + + var select = $( i ).find( '> div select' ); + + select.each( function( e, i ) { + $( i ).on( 'change', function() { + formatDateTime( $( this ).closest( 'div.simcal-field-datetime-format' ) ); + } ); + } ); + + formatDateTime( i ); + } ); + // Helper function for datetime formatter field. + function formatDateTime( field ) { + + var input = $( field ).find( 'input' ), + select = $( field ).find( '> div select' ), + code = $( field ).find( 'code' ), + format = '', + preview = ''; + + select.each( function( i, e ) { + + var value = $( e ).val(), + selected = $( e ).find( '> option:selected' ); + + if ( value.length ) { + if ( selected.data( 'trim' ) ) { + format = format.trim() + $( e ).val(); + preview = preview.trim() + selected.data( 'preview' ); + } else { + format += $( e ).val() + ' '; + preview += selected.data( 'preview' ) + ' '; + } + } + + } ); + + input.val( format ); + code.text( preview ); + } + + // If PHP datetime formatter is used, this will live preview the user input. + $( '.simcal-field-datetime-format-php' ).each( function( e, i ) { + + var input = $( i ).find( 'input' ), + preview = $( i ).find( 'code' ); + + $( input ).on( 'keyup', function() { + + var data = { + action: 'simcal_date_i18n_input_preview', + value: input.val() + }; + $.post( simcal_admin.ajax_url, data, function( response ) { + $( preview ).text( response.data ); + } ); + + } ); + + } ); + + /* =============== * + * Input Fields UI * + * =============== */ + + // Enforce min or max value on number inputs + $( 'input[type="number"].simcal-field' ).each( function( e, i ) { + + var field = $( i ), + min = field.attr( 'min' ), + max = field.attr( 'max' ); + + field.on( 'change', function() { + + var value = $( this ).val(); + + if ( min && ( value < min ) ) { + $( this ).val( min ); + } + + if ( max && ( value > max ) ) { + $( this ).val( max ); + } + } ); + + } ); + + // Show or hide a field when an option is selected. + $( '.simcal-field-switch-other' ).on( 'change', function() { + + var options = $( this ).find( 'option' ); + + options.each( function( e, option ) { + + var show = $( option ).data( 'show-field' ), + showMany = $( option ).data( 'show-fields' ), + hide = $( option ).data( 'hide-field' ), + hideMany = $( option ).data( 'hide-fields' ); + + var fieldShow = show ? $( '#' + show ) : '', + fieldHide = hide ? $( '#' + hide ) : ''; + + if ( $( option ).is( ':selected' ) ) { + if ( fieldShow ) { + fieldShow.show(); + } + if ( fieldHide ) { + fieldHide.hide(); + } + if ( showMany ) { + var s = hideMany.split( ',' ); + $( s ).each( function( e, field ) { + $( '#' + field ).hide(); + } ); + } + if ( hideMany ) { + var h = hideMany.split( ',' ); + $( h ).each( function( e, field ) { + $( '#' + field ).hide(); + } ); + } + } + } ); + + } ).trigger( 'change' ); + + // Show another field based on the selection of a field. + $( '.simcal-field-show-other' ).on( 'change', function() { + + var options = $( this ).find( 'option' ); + + options.each( function( e, option ) { + + var id = $( option ).data( 'show-field' ), + field = id.length ? $( '#' + id ) : '', + next = id.length ? field.next() : ''; + + if ( field.length ) { + if ( $( option ).is( ':selected' ) ) { + field.show(); + if ( next.hasClass( 'select2' ) ) { + next.show(); + } + } else { + field.hide(); + if ( next.hasClass( 'select2' ) ) { + next.hide(); + } + } + } + + } ); + + } ).trigger( 'change' ); + + // Show the next field when a particular option is chosen in a field. + $( '.simcal-field-show-next' ).on( 'change', function() { + + var value, + trigger, + el, + next; + + if ( $( this ).is( ':checkbox' ) ) { + + el = $( this ).parent().next(); + + if ( $( this ).is( ':checked' ) ) { + el.show(); + } else { + el.hide(); + } + + } else { + + value = $( this ).val(); + trigger = $( this ).data( 'show-next-if-value' ); + el = $( this ).nextUntil().not( 'i' ); + next = el.length ? el.next() : ''; + + if ( value == trigger ) { + el.show(); + if ( next.hasClass( 'select2' ) ) { + next.show(); + } + } else { + el.hide(); + if ( next.hasClass( 'select2' ) ) { + next.hide(); + } + } + + } + + } ).trigger( 'change' ); + + /* ==== * + * Misc * + * ==== */ + + // Clear cache buttons. + $( '#simcal-clear-cache' ).on( 'click', function( e ) { + + e.preventDefault(); + + var spinner = $( this ).find( 'i' ); + + $.ajax( { + url: simcal_admin.ajax_url, + method: 'POST', + data: { + action: 'simcal_clear_cache', + id: $( this ).data( 'id' ) + }, + beforeSend: function() { + spinner.fadeToggle(); + }, + success: function() { + spinner.fadeToggle(); + }, + error: function( response ) { + console.log( response ); + } + } ); + + } ); + + // Newsletter signup + $( '#simcal-drip-signup' ).on( 'click', function( e ) { + + e.preventDefault(); + + var nlMetaBox = $( '#simcal-drip' ), + signupDiv = nlMetaBox.find( '.signup' ), + thankYou = nlMetaBox.find( '.thank-you' ), + nlForm = $( '#simcal-drip-form' ), + name = nlMetaBox.find( '#simcal-drip-field-first_name' ), + nameReal = nlForm.find( '#simcal-drip-real-field-first_name' ), + email = nlMetaBox.find( '#simcal-drip-field-email' ), + emailReal = nlForm.find( '#simcal-drip-real-field-email' ); + + nameReal.val( name.val() ); + emailReal.val( email.val() ); + + signupDiv.hide(); + thankYou.show(); + + nlForm.submit(); + + } ); + + /* ========================= * + * Add-on License Management * + * ========================= */ + + $( '.simcal-addon-manage-license' ).on( 'click', function( e ) { + + e.preventDefault(); + + var manage_license_action = '', + button = $( this ), + buttons = button.closest( '.simcal-addon-manage-license-buttons' ), + field = button.closest( '.simcal-addon-manage-license-field' ).find( '> input' ), + error = buttons.find( '.error' ), + spinner = button.find( 'i' ); + + if ( $( this ).hasClass( 'activate' ) ) { + manage_license_action = 'activate_license'; + } else if ( $( this ).hasClass( 'deactivate' ) ) { + manage_license_action = 'deactivate_license'; + } else { + return; + } + + $.ajax( { + url: simcal_admin.ajax_url, + method: 'POST', + data: { + action: 'simcal_manage_add_on_license', + add_on: $( this ).data( 'add-on' ), + license_key: field.val(), + license_action: manage_license_action, + nonce: $( '#simcal_license_manager' ).val() + }, + beforeSend: function() { + spinner.fadeToggle(); + }, + success: function( response ) { + spinner.fadeToggle(); + if ( 'activate_license' == manage_license_action ) { + if ( 'valid' == response.data ) { + button.hide(); + field.attr( 'disabled', 'disabled' ); + $( buttons ).find( '.label' ).show(); + $( buttons ).find( '.deactivate' ).show(); + error.hide(); + } else { + error.show().text( response.data ); + } + } else { + if ( 'deactivated' == response.data ) { + button.hide(); + field.removeAttr( 'disabled' ); + $( buttons ).find( '.label' ).hide(); + $( buttons ).find( '.activate' ).show(); + error.hide(); + } else { + error.show().text( response.data ); + } + } + }, + error: function( response ) { + console.log( response ); + spinner.fadeToggle(); + } + } ); + + } ); + + $( '#simcal-reset-licenses' ).on( 'click', function( e ) { + + e.preventDefault(); + + var spinner = $( this ).find( 'i' ), + dialog = $( this ).data( 'dialog' ), + reply = confirm( dialog ); + + if ( true !== reply ) { + return; + } + + $.ajax( { + url: simcal_admin.ajax_url, + method: 'POST', + data: { + action: 'simcal_reset_add_ons_licenses', + nonce: $( '#simcal_license_manager' ).val() + }, + beforeSend: function() { + spinner.toggle(); + }, + success: function( response ) { + if ( 'success' == response.data ) { + location.reload(); + } else { + console.log( response ); + } + }, + error: function( response ) { + console.log( response ); + } + } ); + + } ); + + } ); + +})( this ); diff --git a/wp-content/plugins/google-calendar-events/assets/js/admin.min.js b/wp-content/plugins/google-calendar-events/assets/js/admin.min.js new file mode 100644 index 0000000..edf05f8 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/assets/js/admin.min.js @@ -0,0 +1,6 @@ +/*! Simple Calendar - 3.0.10 + * https://simplecalendar.io + * Copyright (c) Moonstone Media 2015 + * Licensed GPLv2+ */ + +!function(a,b){"use strict";jQuery(function(a){function b(b){var c=a(b).find("input"),d=a(b).find("> div select"),e=a(b).find("code"),f="",g="";d.each(function(b,c){var d=a(c).val(),e=a(c).find("> option:selected");d.length&&(e.data("trim")?(f=f.trim()+a(c).val(),g=g.trim()+e.data("preview")):(f+=a(c).val()+" ",g+=e.data("preview")+" "))}),c.val(f),e.text(g)}a(".simcal-help-tip").tipTip({attribute:"data-tip",delay:200,fadeIn:50,fadeOut:50}),a(".simcal-shortcode-tip").tipTip({activation:"click",defaultPosition:"top",delay:200,fadeIn:50,fadeOut:50});var c=a("#simcal-calendar-settings"),d=c.find(".simcal-box-handle"),e=c.find(".hndle");a(d).appendTo(e),a(function(){a(e).unbind("click.postboxes"),c.on("click","h3.hndle",function(b){a(b.target).filter("input, option, label, select").length||c.toggleClass("closed")})}),a(document.body).on("simcal-init-tabbed-panels",function(){a(".simcal-tabs").show(),a(".simcal-tabs a").click(function(){var b=a(this).closest("div.simcal-panels-wrap");return a("ul.simcal-tabs li",b).removeClass("active"),a(this).parent().addClass("active"),a("div.simcal-panel",b).hide(),a(a(this).attr("href")).show(),!1}),a("div.simcal-panels-wrap").each(function(){a(this).find("ul.simcal-tabs > li").eq(0).find("a").click()})}).trigger("simcal-init-tabbed-panels"),a("#_feed_type").on("change",function(){var b=a(this).find("option:selected"),c=b.val(),d=a(".simcal-tabs"),e=d.find("> .simcal-feed-type"),f=d.find("> .simcal-feed-type-"+c),g=d.find("> li:first-child > a");e.each(function(){a(this).hide()}),f.show(),g.trigger("click")}).trigger("change"),c.show();var f=a("#_calendar_view_default-calendar"),g=a("#default-calendar-settings"),h=g.find(".simcal-default-calendar-grid"),i=g.find(".simcal-default-calendar-list"),j=g.find(".simcal-default-calendar-list-grouped");f.on("change",function(){var b=a(this).val();"grid"==b?(i.hide(),j.hide(),h.show()):"list"==b?(h.hide(),j.hide(),i.show()):"list-grouped"==b&&(h.hide(),i.hide(),j.show())}).trigger("change"),a(".simcal-field-color-picker").wpColorPicker(),a(".simcal-field-select-enhanced").each(function(b,c){var d=a(c),e=d.data("noresults"),f=d.data("allowclear");d.select2({allowClear:"undefined"!=f?f:!1,placeholder:{id:"",placeholder:""},dir:"undefined"!=simcal_admin.text_dir?simcal_admin.text_dir:"ltr",tokenSeparators:[","],width:"100%",language:{noResults:function(){return"undefined"!=e?e:""}}})});var k=a(".simcal-field-date-picker");k.each(function(b,c){var d=a(c).find("input"),e={autoSize:!0,changeMonth:!0,changeYear:!0,dateFormat:"yy-mm-dd",firstDay:1,prevText:'',nextText:'',yearRange:"1900:2050",beforeShow:function(b,c){a("#ui-datepicker-div").addClass("simcal-date-picker")}};a(d).datepicker(e),a(d).datepicker("option",a.datepicker.regional[simcal_admin.locale])});var l=a(".simcal-field-datetime-format");l.sortable({items:"> div",stop:function(){b(a(this))}}),l.each(function(c,d){var e=a(d).find("> div select");e.each(function(c,d){a(d).on("change",function(){b(a(this).closest("div.simcal-field-datetime-format"))})}),b(d)}),a(".simcal-field-datetime-format-php").each(function(b,c){var d=a(c).find("input"),e=a(c).find("code");a(d).on("keyup",function(){var b={action:"simcal_date_i18n_input_preview",value:d.val()};a.post(simcal_admin.ajax_url,b,function(b){a(e).text(b.data)})})}),a('input[type="number"].simcal-field').each(function(b,c){var d=a(c),e=d.attr("min"),f=d.attr("max");d.on("change",function(){var b=a(this).val();e&&e>b&&a(this).val(e),f&&b>f&&a(this).val(f)})}),a(".simcal-field-switch-other").on("change",function(){var b=a(this).find("option");b.each(function(b,c){var d=a(c).data("show-field"),e=a(c).data("show-fields"),f=a(c).data("hide-field"),g=a(c).data("hide-fields"),h=d?a("#"+d):"",i=f?a("#"+f):"";if(a(c).is(":selected")){if(h&&h.show(),i&&i.hide(),e){var j=g.split(",");a(j).each(function(b,c){a("#"+c).hide()})}if(g){var k=g.split(",");a(k).each(function(b,c){a("#"+c).hide()})}}})}).trigger("change"),a(".simcal-field-show-other").on("change",function(){var b=a(this).find("option");b.each(function(b,c){var d=a(c).data("show-field"),e=d.length?a("#"+d):"",f=d.length?e.next():"";e.length&&(a(c).is(":selected")?(e.show(),f.hasClass("select2")&&f.show()):(e.hide(),f.hasClass("select2")&&f.hide()))})}).trigger("change"),a(".simcal-field-show-next").on("change",function(){var b,c,d,e;a(this).is(":checkbox")?(d=a(this).parent().next(),a(this).is(":checked")?d.show():d.hide()):(b=a(this).val(),c=a(this).data("show-next-if-value"),d=a(this).nextUntil().not("i"),e=d.length?d.next():"",b==c?(d.show(),e.hasClass("select2")&&e.show()):(d.hide(),e.hasClass("select2")&&e.hide()))}).trigger("change"),a("#simcal-clear-cache").on("click",function(b){b.preventDefault();var c=a(this).find("i");a.ajax({url:simcal_admin.ajax_url,method:"POST",data:{action:"simcal_clear_cache",id:a(this).data("id")},beforeSend:function(){c.fadeToggle()},success:function(){c.fadeToggle()},error:function(a){console.log(a)}})}),a("#simcal-drip-signup").on("click",function(b){b.preventDefault();var c=a("#simcal-drip"),d=c.find(".signup"),e=c.find(".thank-you"),f=a("#simcal-drip-form"),g=c.find("#simcal-drip-field-first_name"),h=f.find("#simcal-drip-real-field-first_name"),i=c.find("#simcal-drip-field-email"),j=f.find("#simcal-drip-real-field-email");h.val(g.val()),j.val(i.val()),d.hide(),e.show(),f.submit()}),a(".simcal-addon-manage-license").on("click",function(b){b.preventDefault();var c="",d=a(this),e=d.closest(".simcal-addon-manage-license-buttons"),f=d.closest(".simcal-addon-manage-license-field").find("> input"),g=e.find(".error"),h=d.find("i");if(a(this).hasClass("activate"))c="activate_license";else{if(!a(this).hasClass("deactivate"))return;c="deactivate_license"}a.ajax({url:simcal_admin.ajax_url,method:"POST",data:{action:"simcal_manage_add_on_license",add_on:a(this).data("add-on"),license_key:f.val(),license_action:c,nonce:a("#simcal_license_manager").val()},beforeSend:function(){h.fadeToggle()},success:function(b){h.fadeToggle(),"activate_license"==c?"valid"==b.data?(d.hide(),f.attr("disabled","disabled"),a(e).find(".label").show(),a(e).find(".deactivate").show(),g.hide()):g.show().text(b.data):"deactivated"==b.data?(d.hide(),f.removeAttr("disabled"),a(e).find(".label").hide(),a(e).find(".activate").show(),g.hide()):g.show().text(b.data)},error:function(a){console.log(a),h.fadeToggle()}})}),a("#simcal-reset-licenses").on("click",function(b){b.preventDefault();var c=a(this).find("i"),d=a(this).data("dialog"),e=confirm(d);!0===e&&a.ajax({url:simcal_admin.ajax_url,method:"POST",data:{action:"simcal_reset_add_ons_licenses",nonce:a("#simcal_license_manager").val()},beforeSend:function(){c.toggle()},success:function(a){"success"==a.data?location.reload():console.log(a)},error:function(a){console.log(a)}})})})}(this); \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/assets/js/default-calendar.js b/wp-content/plugins/google-calendar-events/assets/js/default-calendar.js new file mode 100644 index 0000000..40fadb8 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/assets/js/default-calendar.js @@ -0,0 +1,333 @@ +( function( window, undefined ) { + 'use strict'; + + jQuery( function( $ ) { + + // Browse calendar pages. + $( '.simcal-default-calendar' ).each( function( e, i ) { + + var calendar = $( i ), + id = calendar.data( 'calendar-id' ), + offset = calendar.data( 'offset' ), + start = calendar.data( 'events-first' ), + end = calendar.data( 'calendar-end' ), + nav = calendar.find( '.simcal-calendar-head' ), + buttons = nav.find( '.simcal-nav-button' ), + spinner = calendar.find( '.simcal-ajax-loader' ), + current = nav.find( '.simcal-current' ), + currentTime = current.data( 'calendar-current' ), + currentMonth = current.find( 'span.simcal-current-month' ), + currentYear = current.find( 'span.simcal-current-year' ), + currentDate = new Date( currentTime * 1000 ), + date, + action; + + if ( calendar.hasClass( 'simcal-default-calendar-grid' ) ) { + action = 'simcal_default_calendar_draw_grid'; + // Always use the first of the month in grid. + date = new Date( currentDate.getFullYear(), currentDate.getMonth(), 1 ); + } else { + action = 'simcal_default_calendar_draw_list'; + toggleListHeading( calendar ); + } + + // Navigate the calendar. + buttons.on( 'click', function() { + + var direction = $( this ).hasClass( 'simcal-next' ) ? 'next' : 'prev'; + + if ( action == 'simcal_default_calendar_draw_grid' ) { + + // Monthly grid calendars. + + var body = calendar.find( '.simcal-month' ), + newDate, + month, + year; + + if ( 'prev' == direction ) { + // Beginning of the previous month. + newDate = new Date( date.setMonth( date.getMonth() - 1, 1 ) ); + } else { + // Last day of next month. + newDate = new Date( date.setMonth( date.getMonth() + 2, 1 ) ); + newDate.setDate( 0 ); + newDate.setHours( 23 ); + newDate.setMinutes( 59 ); + newDate.setSeconds( 59 ); + } + + month = newDate.getMonth(); + year = newDate.getFullYear(); + + $.ajax({ + url : simcal_default_calendar.ajax_url, + method : 'POST', + dataType : 'json', + cache : false, + data : { + action: action, + month : month + 1, // month count in PHP goes 1-12 vs 0-11 in JavaScript + year : year, + id : id + }, + beforeSend: function() { + spinner.fadeToggle(); + }, + success : function( response ) { + + currentMonth.text( simcal_default_calendar.months.full[month] ); + currentYear.text( year ); + current.attr( 'data-calendar-current', ( newDate.getTime() / 1000 ) + offset + 1 ); + + spinner.fadeToggle(); + + date = newDate; + + body.replaceWith( response.data ); + + calendarBubbles( calendar, list ); + expandEventsToggle(); + }, + error : function( response ) { + console.log(response ); + } + } ); + + } else { + + // List calendars. + + var list = calendar.find( '.simcal-events-list-container' ), + prev = list.data( 'prev' ), + next = list.data( 'next' ), + timestamp = direction == 'prev' ? prev : next; + + $.ajax( { + url : simcal_default_calendar.ajax_url, + method : 'POST', + dataType : 'json', + cache : false, + data : { + action: action, + ts : timestamp, + id : id + }, + beforeSend: function() { + spinner.fadeToggle(); + }, + success : function( response ) { + + list.replaceWith( response.data ); + current.attr( 'data-calendar-current', timestamp ); + + toggleListHeading( calendar ); + + spinner.fadeToggle(); + expandEventsToggle(); + }, + error : function( response ) { + console.log( response ); + } + }); + + } + + } ); + } ); + + /** + * Replace the list heading with current page. + * + * @param calendar Current calendar. + */ + function toggleListHeading( calendar ) { + + var current = $( calendar ).find( '.simcal-current' ), + heading = $( calendar ).find( '.simcal-events-list-container' ), + small = heading.data( 'heading-small' ), + large = heading.data( 'heading-large' ); + + if ( calendar.width() < 400 ) { + current.html( '

    ' + small + '

    ' ); + } else { + current.html( '

    ' + large + '

    ' ); + } + } + + var gridCalendars = $( '.simcal-default-calendar-grid' ); + + /** + * Default calendar grid event bubbles. + * + * Initializes tooltips for events in grid. + * Adjusts UI for mobile or desktop. + * + * @param calendar The calendar element. + */ + function calendarBubbles( calendar ) { + + var table = $( calendar ).find( '> table' ), + thead = table.find( 'thead' ), + weekDayNames = thead.find( 'th.simcal-week-day' ), + cells = table.find( 'td.simcal-day > div' ), + eventsList = table.find( 'ul.simcal-events' ), + eventTitles = eventsList.find( '> li > .simcal-event-title' ), + eventsToggle = table.find( '.simcal-events-toggle' ), + eventsDots = table.find( 'span.simcal-events-dots' ), + events = table.find( '.simcal-tooltip-content' ), + hiddenEvents = table.find( '.simcal-event-toggled' ), + bubbleTrigger = table.data( 'event-bubble-trigger' ), + width = cells.first().width(); + + if ( width < 60 ) { + + weekDayNames.each( function( e, w ) { + $( w ).text( $( w ).data( 'screen-small' ) ); + } ); + + // Hide list of events titles and show dots. + eventsList.hide(); + eventTitles.hide(); + if ( eventsToggle != 'undefined' ) { + eventsToggle.hide(); + if ( hiddenEvents != 'undefined' ) { + hiddenEvents.show(); + } + } + eventsDots.show(); + // Adapts cells to be more squareish on mobile. + var minH = ( width - 10 ) + 'px'; + cells.css( 'min-height', minH ); + table.find( 'span.simcal-events-dots:not(:empty)' ).css( 'min-height', minH ); + + } else { + + if ( width <= 240 ) { + weekDayNames.each( function( e, w ) { + $( w ).text( $( w ).data( 'screen-medium' ) ); + }); + } else { + weekDayNames.each( function( e, w ) { + $( w ).text( $( w ).data( 'screen-large' ) ); + } ); + } + + // Hide dots and show list of events titles and toggle. + eventsList.show(); + eventTitles.show(); + if ( eventsToggle != 'undefined' ) { + eventsToggle.show(); + if ( hiddenEvents != 'undefined' ) { + hiddenEvents.hide(); + } + } + eventsDots.hide(); + + // Cells default min-height value. + cells.css( 'min-height', ( width ) + 'px' ); + } + + // Create bubbles for each cell. + cells.each( function( e, cell ) { + + var cellDots = $( cell ).find( 'span.simcal-events-dots' ), + tooltips = $( cell ).find( '.simcal-tooltip' ), + eventBubbles, + content, + last; + + // Mobile mode. + if ( width < 60 ) { + events.show(); + // Use a single bubble from dots as a whole. + eventBubbles = cellDots; + } else { + events.hide(); + // Create a bubble for each event in list. + eventBubbles = tooltips; + } + + eventBubbles.each( function( e, i ) { + $( i ).qtip( { + content : width < 60 ? $( cell ).find( 'ul.simcal-events' ) : $( i ).find( '> .simcal-tooltip-content' ), + position: { + my : 'top center', + at : 'bottom center', + target : $(i), + viewport: width < 60 ? $( window ) : true, + adjust : { + method: 'shift', + scroll: false + } + }, + style : { + def : false, + classes: 'simcal-default-calendar simcal-event-bubble' + }, + show : { + solo : true, + effect: false, + event : bubbleTrigger == 'hover' ? 'mouseenter' : 'click' + }, + hide : { + fixed : true, + effect: false, + event : bubbleTrigger == 'click' ? 'unfocus' : 'mouseleave', + delay: 100 + }, + events : { + show: function( event, current ) { + // Hide when another tooltip opens: + if ( last && last.id ) { + if ( last.id != current.id ) { + last.hide(); + } + } + last = current; + } + } + } ); + + } ); + + } ); + + } + + // Event bubbles and calendar UI triggers. + gridCalendars.each( function( e, calendar ) { + calendarBubbles( calendar ); + $( calendar ).on( 'change', function() { + calendarBubbles( this ); + } ); + } ); + // Viewport changes might require triggering calendar mobile mode. + window.onresize = function() { + gridCalendars.each( function( e, calendar ) { + calendarBubbles( calendar ); + } ); + }; + + /** + * Toggle to expand events. + */ + function expandEventsToggle() { + $( '.simcal-events-toggle' ).each( function( e, button ) { + + var list = $( button ).prev( '.simcal-events' ), + toggled = list.find( '.simcal-event-toggled' ), + arrow = $( button ).find( 'i' ); + + $( button ).on( 'click', function() { + arrow.toggleClass( 'simcal-icon-rotate-180' ); + toggled.slideToggle(); + }); + + }); + } + expandEventsToggle(); + + } ); + +} )( this ); diff --git a/wp-content/plugins/google-calendar-events/assets/js/default-calendar.min.js b/wp-content/plugins/google-calendar-events/assets/js/default-calendar.min.js new file mode 100644 index 0000000..0813263 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/assets/js/default-calendar.min.js @@ -0,0 +1,6 @@ +/*! Simple Calendar - 3.0.10 + * https://simplecalendar.io + * Copyright (c) Moonstone Media 2015 + * Licensed GPLv2+ */ + +!function(a,b){"use strict";jQuery(function(b){function c(a){var c=b(a).find(".simcal-current"),d=b(a).find(".simcal-events-list-container"),e=d.data("heading-small"),f=d.data("heading-large");a.width()<400?c.html("

    "+e+"

    "):c.html("

    "+f+"

    ")}function d(c){var d=b(c).find("> table"),e=d.find("thead"),f=e.find("th.simcal-week-day"),g=d.find("td.simcal-day > div"),h=d.find("ul.simcal-events"),i=h.find("> li > .simcal-event-title"),j=d.find(".simcal-events-toggle"),k=d.find("span.simcal-events-dots"),l=d.find(".simcal-tooltip-content"),m=d.find(".simcal-event-toggled"),n=d.data("event-bubble-trigger"),o=g.first().width();if(60>o){f.each(function(a,c){b(c).text(b(c).data("screen-small"))}),h.hide(),i.hide(),"undefined"!=j&&(j.hide(),"undefined"!=m&&m.show()),k.show();var p=o-10+"px";g.css("min-height",p),d.find("span.simcal-events-dots:not(:empty)").css("min-height",p)}else 240>=o?f.each(function(a,c){b(c).text(b(c).data("screen-medium"))}):f.each(function(a,c){b(c).text(b(c).data("screen-large"))}),h.show(),i.show(),"undefined"!=j&&(j.show(),"undefined"!=m&&m.hide()),k.hide(),g.css("min-height",o+"px");g.each(function(c,d){var e,f,g=b(d).find("span.simcal-events-dots"),h=b(d).find(".simcal-tooltip");60>o?(l.show(),e=g):(l.hide(),e=h),e.each(function(c,e){b(e).qtip({content:60>o?b(d).find("ul.simcal-events"):b(e).find("> .simcal-tooltip-content"),position:{my:"top center",at:"bottom center",target:b(e),viewport:60>o?b(a):!0,adjust:{method:"shift",scroll:!1}},style:{def:!1,classes:"simcal-default-calendar simcal-event-bubble"},show:{solo:!0,effect:!1,event:"hover"==n?"mouseenter":"click"},hide:{fixed:!0,effect:!1,event:"click"==n?"unfocus":"mouseleave",delay:100},events:{show:function(a,b){f&&f.id&&f.id!=b.id&&f.hide(),f=b}}})})})}function e(){b(".simcal-events-toggle").each(function(a,c){var d=b(c).prev(".simcal-events"),e=d.find(".simcal-event-toggled"),f=b(c).find("i");b(c).on("click",function(){f.toggleClass("simcal-icon-rotate-180"),e.slideToggle()})})}b(".simcal-default-calendar").each(function(a,f){var g,h,i=b(f),j=i.data("calendar-id"),k=i.data("offset"),l=(i.data("events-first"),i.data("calendar-end"),i.find(".simcal-calendar-head")),m=l.find(".simcal-nav-button"),n=i.find(".simcal-ajax-loader"),o=l.find(".simcal-current"),p=o.data("calendar-current"),q=o.find("span.simcal-current-month"),r=o.find("span.simcal-current-year"),s=new Date(1e3*p);i.hasClass("simcal-default-calendar-grid")?(h="simcal_default_calendar_draw_grid",g=new Date(s.getFullYear(),s.getMonth(),1)):(h="simcal_default_calendar_draw_list",c(i)),m.on("click",function(){var a=b(this).hasClass("simcal-next")?"next":"prev";if("simcal_default_calendar_draw_grid"==h){var f,l,m,p=i.find(".simcal-month");"prev"==a?f=new Date(g.setMonth(g.getMonth()-1,1)):(f=new Date(g.setMonth(g.getMonth()+2,1)),f.setDate(0),f.setHours(23),f.setMinutes(59),f.setSeconds(59)),l=f.getMonth(),m=f.getFullYear(),b.ajax({url:simcal_default_calendar.ajax_url,method:"POST",dataType:"json",cache:!1,data:{action:h,month:l+1,year:m,id:j},beforeSend:function(){n.fadeToggle()},success:function(a){q.text(simcal_default_calendar.months.full[l]),r.text(m),o.attr("data-calendar-current",f.getTime()/1e3+k+1),n.fadeToggle(),g=f,p.replaceWith(a.data),d(i,s),e()},error:function(a){console.log(a)}})}else{var s=i.find(".simcal-events-list-container"),t=s.data("prev"),u=s.data("next"),v="prev"==a?t:u;b.ajax({url:simcal_default_calendar.ajax_url,method:"POST",dataType:"json",cache:!1,data:{action:h,ts:v,id:j},beforeSend:function(){n.fadeToggle()},success:function(a){s.replaceWith(a.data),o.attr("data-calendar-current",v),c(i),n.fadeToggle(),e()},error:function(a){console.log(a)}})}})});var f=b(".simcal-default-calendar-grid");f.each(function(a,c){d(c),b(c).on("change",function(){d(this)})}),a.onresize=function(){f.each(function(a,b){d(b)})},e()})}(this); \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/js/imagesloaded.pkgd.js b/wp-content/plugins/google-calendar-events/assets/js/vendor/imagesloaded.js similarity index 100% rename from wp-content/plugins/google-calendar-events/js/imagesloaded.pkgd.js rename to wp-content/plugins/google-calendar-events/assets/js/vendor/imagesloaded.js diff --git a/wp-content/plugins/google-calendar-events/js/imagesloaded.pkgd.min.js b/wp-content/plugins/google-calendar-events/assets/js/vendor/imagesloaded.min.js similarity index 100% rename from wp-content/plugins/google-calendar-events/js/imagesloaded.pkgd.min.js rename to wp-content/plugins/google-calendar-events/assets/js/vendor/imagesloaded.min.js diff --git a/wp-content/plugins/google-calendar-events/js/jquery.qtip.js b/wp-content/plugins/google-calendar-events/assets/js/vendor/qtip.js similarity index 79% rename from wp-content/plugins/google-calendar-events/js/jquery.qtip.js rename to wp-content/plugins/google-calendar-events/assets/js/vendor/qtip.js index 460d569..4e8153c 100644 --- a/wp-content/plugins/google-calendar-events/js/jquery.qtip.js +++ b/wp-content/plugins/google-calendar-events/assets/js/vendor/qtip.js @@ -6,8 +6,8 @@ * Released under the MIT licenses * http://jquery.org/license * - * Date: Sat Sep 6 2014 09:55 EDT-0400 - * Plugins: tips viewport + * Date: Sun Sep 7 2014 12:09 GMT+0100+0100 + * Plugins: tips modal viewport svg imagemap ie6 * Styles: core basic css3 */ /*global window: false, jQuery: false, console: false, define: false */ @@ -1961,7 +1961,7 @@ QTIP.defaults = { }, show: { target: FALSE, - event: BROWSER.iOS ? 'click' : 'mouseenter', // was just : 'mouseenter' + event: 'mouseenter', effect: TRUE, delay: 90, solo: FALSE, @@ -1970,7 +1970,7 @@ QTIP.defaults = { }, hide: { target: FALSE, - event: BROWSER.iOS ? 'click' : 'mouseleave', // was just : 'mouseleave' + event: 'mouseleave', effect: TRUE, delay: 0, fixed: FALSE, @@ -2620,6 +2620,338 @@ $.extend(TRUE, QTIP.defaults, { } } }); +;var MODAL, OVERLAY, + MODALCLASS = 'qtip-modal', + MODALSELECTOR = '.'+MODALCLASS; + +OVERLAY = function() +{ + var self = this, + focusableElems = {}, + current, onLast, + prevState, elem; + + // Modified code from jQuery UI 1.10.0 source + // http://code.jquery.com/ui/1.10.0/jquery-ui.js + function focusable(element) { + // Use the defined focusable checker when possible + if($.expr[':'].focusable) { return $.expr[':'].focusable; } + + var isTabIndexNotNaN = !isNaN($.attr(element, 'tabindex')), + nodeName = element.nodeName && element.nodeName.toLowerCase(), + map, mapName, img; + + if('area' === nodeName) { + map = element.parentNode; + mapName = map.name; + if(!element.href || !mapName || map.nodeName.toLowerCase() !== 'map') { + return false; + } + img = $('img[usemap=#' + mapName + ']')[0]; + return !!img && img.is(':visible'); + } + return (/input|select|textarea|button|object/.test( nodeName ) ? + !element.disabled : + 'a' === nodeName ? + element.href || isTabIndexNotNaN : + isTabIndexNotNaN + ); + } + + // Focus inputs using cached focusable elements (see update()) + function focusInputs(blurElems) { + // Blurring body element in IE causes window.open windows to unfocus! + if(focusableElems.length < 1 && blurElems.length) { blurElems.not('body').blur(); } + + // Focus the inputs + else { focusableElems.first().focus(); } + } + + // Steal focus from elements outside tooltip + function stealFocus(event) { + if(!elem.is(':visible')) { return; } + + var target = $(event.target), + tooltip = current.tooltip, + container = target.closest(SELECTOR), + targetOnTop; + + // Determine if input container target is above this + targetOnTop = container.length < 1 ? FALSE : + (parseInt(container[0].style.zIndex, 10) > parseInt(tooltip[0].style.zIndex, 10)); + + // If we're showing a modal, but focus has landed on an input below + // this modal, divert focus to the first visible input in this modal + // or if we can't find one... the tooltip itself + if(!targetOnTop && target.closest(SELECTOR)[0] !== tooltip[0]) { + focusInputs(target); + } + + // Detect when we leave the last focusable element... + onLast = event.target === focusableElems[focusableElems.length - 1]; + } + + $.extend(self, { + init: function() { + // Create document overlay + elem = self.elem = $('
    ', { + id: 'qtip-overlay', + html: '
    ', + mousedown: function() { return FALSE; } + }) + .hide(); + + // Make sure we can't focus anything outside the tooltip + $(document.body).bind('focusin'+MODALSELECTOR, stealFocus); + + // Apply keyboard "Escape key" close handler + $(document).bind('keydown'+MODALSELECTOR, function(event) { + if(current && current.options.show.modal.escape && event.keyCode === 27) { + current.hide(event); + } + }); + + // Apply click handler for blur option + elem.bind('click'+MODALSELECTOR, function(event) { + if(current && current.options.show.modal.blur) { + current.hide(event); + } + }); + + return self; + }, + + update: function(api) { + // Update current API reference + current = api; + + // Update focusable elements if enabled + if(api.options.show.modal.stealfocus !== FALSE) { + focusableElems = api.tooltip.find('*').filter(function() { + return focusable(this); + }); + } + else { focusableElems = []; } + }, + + toggle: function(api, state, duration) { + var docBody = $(document.body), + tooltip = api.tooltip, + options = api.options.show.modal, + effect = options.effect, + type = state ? 'show': 'hide', + visible = elem.is(':visible'), + visibleModals = $(MODALSELECTOR).filter(':visible:not(:animated)').not(tooltip), + zindex; + + // Set active tooltip API reference + self.update(api); + + // If the modal can steal the focus... + // Blur the current item and focus anything in the modal we an + if(state && options.stealfocus !== FALSE) { + focusInputs( $(':focus') ); + } + + // Toggle backdrop cursor style on show + elem.toggleClass('blurs', options.blur); + + // Append to body on show + if(state) { + elem.appendTo(document.body); + } + + // Prevent modal from conflicting with show.solo, and don't hide backdrop is other modals are visible + if((elem.is(':animated') && visible === state && prevState !== FALSE) || (!state && visibleModals.length)) { + return self; + } + + // Stop all animations + elem.stop(TRUE, FALSE); + + // Use custom function if provided + if($.isFunction(effect)) { + effect.call(elem, state); + } + + // If no effect type is supplied, use a simple toggle + else if(effect === FALSE) { + elem[ type ](); + } + + // Use basic fade function + else { + elem.fadeTo( parseInt(duration, 10) || 90, state ? 1 : 0, function() { + if(!state) { elem.hide(); } + }); + } + + // Reset position and detach from body on hide + if(!state) { + elem.queue(function(next) { + elem.css({ left: '', top: '' }); + if(!$(MODALSELECTOR).length) { elem.detach(); } + next(); + }); + } + + // Cache the state + prevState = state; + + // If the tooltip is destroyed, set reference to null + if(current.destroyed) { current = NULL; } + + return self; + } + }); + + self.init(); +}; +OVERLAY = new OVERLAY(); + +function Modal(api, options) { + this.options = options; + this._ns = '-modal'; + + this.init( (this.qtip = api) ); +} + +$.extend(Modal.prototype, { + init: function(qtip) { + var tooltip = qtip.tooltip; + + // If modal is disabled... return + if(!this.options.on) { return this; } + + // Set overlay reference + qtip.elements.overlay = OVERLAY.elem; + + // Add unique attribute so we can grab modal tooltips easily via a SELECTOR, and set z-index + tooltip.addClass(MODALCLASS).css('z-index', QTIP.modal_zindex + $(MODALSELECTOR).length); + + // Apply our show/hide/focus modal events + qtip._bind(tooltip, ['tooltipshow', 'tooltiphide'], function(event, api, duration) { + var oEvent = event.originalEvent; + + // Make sure mouseout doesn't trigger a hide when showing the modal and mousing onto backdrop + if(event.target === tooltip[0]) { + if(oEvent && event.type === 'tooltiphide' && /mouse(leave|enter)/.test(oEvent.type) && $(oEvent.relatedTarget).closest(OVERLAY.elem[0]).length) { + try { event.preventDefault(); } catch(e) {} + } + else if(!oEvent || (oEvent && oEvent.type !== 'tooltipsolo')) { + this.toggle(event, event.type === 'tooltipshow', duration); + } + } + }, this._ns, this); + + // Adjust modal z-index on tooltip focus + qtip._bind(tooltip, 'tooltipfocus', function(event, api) { + // If focus was cancelled before it reached us, don't do anything + if(event.isDefaultPrevented() || event.target !== tooltip[0]) { return; } + + var qtips = $(MODALSELECTOR), + + // Keep the modal's lower than other, regular qtips + newIndex = QTIP.modal_zindex + qtips.length, + curIndex = parseInt(tooltip[0].style.zIndex, 10); + + // Set overlay z-index + OVERLAY.elem[0].style.zIndex = newIndex - 1; + + // Reduce modal z-index's and keep them properly ordered + qtips.each(function() { + if(this.style.zIndex > curIndex) { + this.style.zIndex -= 1; + } + }); + + // Fire blur event for focused tooltip + qtips.filter('.' + CLASS_FOCUS).qtip('blur', event.originalEvent); + + // Set the new z-index + tooltip.addClass(CLASS_FOCUS)[0].style.zIndex = newIndex; + + // Set current + OVERLAY.update(api); + + // Prevent default handling + try { event.preventDefault(); } catch(e) {} + }, this._ns, this); + + // Focus any other visible modals when this one hides + qtip._bind(tooltip, 'tooltiphide', function(event) { + if(event.target === tooltip[0]) { + $(MODALSELECTOR).filter(':visible').not(tooltip).last().qtip('focus', event); + } + }, this._ns, this); + }, + + toggle: function(event, state, duration) { + // Make sure default event hasn't been prevented + if(event && event.isDefaultPrevented()) { return this; } + + // Toggle it + OVERLAY.toggle(this.qtip, !!state, duration); + }, + + destroy: function() { + // Remove modal class + this.qtip.tooltip.removeClass(MODALCLASS); + + // Remove bound events + this.qtip._unbind(this.qtip.tooltip, this._ns); + + // Delete element reference + OVERLAY.toggle(this.qtip, FALSE); + delete this.qtip.elements.overlay; + } +}); + + +MODAL = PLUGINS.modal = function(api) { + return new Modal(api, api.options.show.modal); +}; + +// Setup sanitiztion rules +MODAL.sanitize = function(opts) { + if(opts.show) { + if(typeof opts.show.modal !== 'object') { opts.show.modal = { on: !!opts.show.modal }; } + else if(typeof opts.show.modal.on === 'undefined') { opts.show.modal.on = TRUE; } + } +}; + +// Base z-index for all modal tooltips (use qTip core z-index as a base) +QTIP.modal_zindex = QTIP.zindex - 200; + +// Plugin needs to be initialized on render +MODAL.initialize = 'render'; + +// Setup option set checks +CHECKS.modal = { + '^show.modal.(on|blur)$': function() { + // Initialise + this.destroy(); + this.init(); + + // Show the modal if not visible already and tooltip is visible + this.qtip.elems.overlay.toggle( + this.qtip.tooltip[0].offsetWidth > 0 + ); + } +}; + +// Extend original api defaults +$.extend(TRUE, QTIP.defaults, { + show: { + modal: { + on: FALSE, + effect: TRUE, + blur: TRUE, + stealfocus: TRUE, + escape: TRUE + } + } +}); ;PLUGINS.viewport = function(api, position, posOptions, targetWidth, targetHeight, elemWidth, elemHeight) { var target = posOptions.target, @@ -2727,5 +3059,393 @@ $.extend(TRUE, QTIP.defaults, { return adjusted; }; +;PLUGINS.polys = { + // POLY area coordinate calculator + // Special thanks to Ed Cradock for helping out with this. + // Uses a binary search algorithm to find suitable coordinates. + polygon: function(baseCoords, corner) { + var result = { + width: 0, height: 0, + position: { + top: 1e10, right: 0, + bottom: 0, left: 1e10 + }, + adjustable: FALSE + }, + i = 0, next, + coords = [], + compareX = 1, compareY = 1, + realX = 0, realY = 0, + newWidth, newHeight; + + // First pass, sanitize coords and determine outer edges + i = baseCoords.length; while(i--) { + next = [ parseInt(baseCoords[--i], 10), parseInt(baseCoords[i+1], 10) ]; + + if(next[0] > result.position.right){ result.position.right = next[0]; } + if(next[0] < result.position.left){ result.position.left = next[0]; } + if(next[1] > result.position.bottom){ result.position.bottom = next[1]; } + if(next[1] < result.position.top){ result.position.top = next[1]; } + + coords.push(next); + } + + // Calculate height and width from outer edges + newWidth = result.width = Math.abs(result.position.right - result.position.left); + newHeight = result.height = Math.abs(result.position.bottom - result.position.top); + + // If it's the center corner... + if(corner.abbrev() === 'c') { + result.position = { + left: result.position.left + (result.width / 2), + top: result.position.top + (result.height / 2) + }; + } + else { + // Second pass, use a binary search algorithm to locate most suitable coordinate + while(newWidth > 0 && newHeight > 0 && compareX > 0 && compareY > 0) + { + newWidth = Math.floor(newWidth / 2); + newHeight = Math.floor(newHeight / 2); + + if(corner.x === LEFT){ compareX = newWidth; } + else if(corner.x === RIGHT){ compareX = result.width - newWidth; } + else{ compareX += Math.floor(newWidth / 2); } + + if(corner.y === TOP){ compareY = newHeight; } + else if(corner.y === BOTTOM){ compareY = result.height - newHeight; } + else{ compareY += Math.floor(newHeight / 2); } + + i = coords.length; while(i--) + { + if(coords.length < 2){ break; } + + realX = coords[i][0] - result.position.left; + realY = coords[i][1] - result.position.top; + + if((corner.x === LEFT && realX >= compareX) || + (corner.x === RIGHT && realX <= compareX) || + (corner.x === CENTER && (realX < compareX || realX > (result.width - compareX))) || + (corner.y === TOP && realY >= compareY) || + (corner.y === BOTTOM && realY <= compareY) || + (corner.y === CENTER && (realY < compareY || realY > (result.height - compareY)))) { + coords.splice(i, 1); + } + } + } + result.position = { left: coords[0][0], top: coords[0][1] }; + } + + return result; + }, + + rect: function(ax, ay, bx, by) { + return { + width: Math.abs(bx - ax), + height: Math.abs(by - ay), + position: { + left: Math.min(ax, bx), + top: Math.min(ay, by) + } + }; + }, + + _angles: { + tc: 3 / 2, tr: 7 / 4, tl: 5 / 4, + bc: 1 / 2, br: 1 / 4, bl: 3 / 4, + rc: 2, lc: 1, c: 0 + }, + ellipse: function(cx, cy, rx, ry, corner) { + var c = PLUGINS.polys._angles[ corner.abbrev() ], + rxc = c === 0 ? 0 : rx * Math.cos( c * Math.PI ), + rys = ry * Math.sin( c * Math.PI ); + + return { + width: (rx * 2) - Math.abs(rxc), + height: (ry * 2) - Math.abs(rys), + position: { + left: cx + rxc, + top: cy + rys + }, + adjustable: FALSE + }; + }, + circle: function(cx, cy, r, corner) { + return PLUGINS.polys.ellipse(cx, cy, r, r, corner); + } +}; +;PLUGINS.svg = function(api, svg, corner) +{ + var doc = $(document), + elem = svg[0], + root = $(elem.ownerSVGElement), + ownerDocument = elem.ownerDocument, + strokeWidth2 = (parseInt(svg.css('stroke-width'), 10) || 0) / 2, + frameOffset, mtx, transformed, viewBox, + len, next, i, points, + result, position, dimensions; + + // Ascend the parentNode chain until we find an element with getBBox() + while(!elem.getBBox) { elem = elem.parentNode; } + if(!elem.getBBox || !elem.parentNode) { return FALSE; } + + // Determine which shape calculation to use + switch(elem.nodeName) { + case 'ellipse': + case 'circle': + result = PLUGINS.polys.ellipse( + elem.cx.baseVal.value, + elem.cy.baseVal.value, + (elem.rx || elem.r).baseVal.value + strokeWidth2, + (elem.ry || elem.r).baseVal.value + strokeWidth2, + corner + ); + break; + + case 'line': + case 'polygon': + case 'polyline': + // Determine points object (line has none, so mimic using array) + points = elem.points || [ + { x: elem.x1.baseVal.value, y: elem.y1.baseVal.value }, + { x: elem.x2.baseVal.value, y: elem.y2.baseVal.value } + ]; + + for(result = [], i = -1, len = points.numberOfItems || points.length; ++i < len;) { + next = points.getItem ? points.getItem(i) : points[i]; + result.push.apply(result, [next.x, next.y]); + } + + result = PLUGINS.polys.polygon(result, corner); + break; + + // Unknown shape or rectangle? Use bounding box + default: + result = elem.getBBox(); + result = { + width: result.width, + height: result.height, + position: { + left: result.x, + top: result.y + } + }; + break; + } + + // Shortcut assignments + position = result.position; + root = root[0]; + + // Convert position into a pixel value + if(root.createSVGPoint) { + mtx = elem.getScreenCTM(); + points = root.createSVGPoint(); + + points.x = position.left; + points.y = position.top; + transformed = points.matrixTransform( mtx ); + position.left = transformed.x; + position.top = transformed.y; + } + + // Check the element is not in a child document, and if so, adjust for frame elements offset + if(ownerDocument !== document && api.position.target !== 'mouse') { + frameOffset = $((ownerDocument.defaultView || ownerDocument.parentWindow).frameElement).offset(); + if(frameOffset) { + position.left += frameOffset.left; + position.top += frameOffset.top; + } + } + + // Adjust by scroll offset of owner document + ownerDocument = $(ownerDocument); + position.left += ownerDocument.scrollLeft(); + position.top += ownerDocument.scrollTop(); + + return result; +}; +;PLUGINS.imagemap = function(api, area, corner, adjustMethod) +{ + if(!area.jquery) { area = $(area); } + + var shape = (area.attr('shape') || 'rect').toLowerCase().replace('poly', 'polygon'), + image = $('img[usemap="#'+area.parent('map').attr('name')+'"]'), + coordsString = $.trim(area.attr('coords')), + coordsArray = coordsString.replace(/,$/, '').split(','), + imageOffset, coords, i, next, result, len; + + // If we can't find the image using the map... + if(!image.length) { return FALSE; } + + // Pass coordinates string if polygon + if(shape === 'polygon') { + result = PLUGINS.polys.polygon(coordsArray, corner); + } + + // Otherwise parse the coordinates and pass them as arguments + else if(PLUGINS.polys[shape]) { + for(i = -1, len = coordsArray.length, coords = []; ++i < len;) { + coords.push( parseInt(coordsArray[i], 10) ); + } + + result = PLUGINS.polys[shape].apply( + this, coords.concat(corner) + ); + } + + // If no shapre calculation method was found, return false + else { return FALSE; } + + // Make sure we account for padding and borders on the image + imageOffset = image.offset(); + imageOffset.left += Math.ceil((image.outerWidth(FALSE) - image.width()) / 2); + imageOffset.top += Math.ceil((image.outerHeight(FALSE) - image.height()) / 2); + + // Add image position to offset coordinates + result.position.left += imageOffset.left; + result.position.top += imageOffset.top; + + return result; +}; +;var IE6, + +/* + * BGIFrame adaption (http://plugins.jquery.com/project/bgiframe) + * Special thanks to Brandon Aaron + */ +BGIFRAME = ''; + +function Ie6(api, qtip) { + this._ns = 'ie6'; + this.init( (this.qtip = api) ); +} + +$.extend(Ie6.prototype, { + _scroll : function() { + var overlay = this.qtip.elements.overlay; + overlay && (overlay[0].style.top = $(window).scrollTop() + 'px'); + }, + + init: function(qtip) { + var tooltip = qtip.tooltip, + scroll; + + // Create the BGIFrame element if needed + if($('select, object').length < 1) { + this.bgiframe = qtip.elements.bgiframe = $(BGIFRAME).appendTo(tooltip); + + // Update BGIFrame on tooltip move + qtip._bind(tooltip, 'tooltipmove', this.adjustBGIFrame, this._ns, this); + } + + // redraw() container for width/height calculations + this.redrawContainer = $('
    ', { id: NAMESPACE+'-rcontainer' }) + .appendTo(document.body); + + // Fixup modal plugin if present too + if( qtip.elements.overlay && qtip.elements.overlay.addClass('qtipmodal-ie6fix') ) { + qtip._bind(window, ['scroll', 'resize'], this._scroll, this._ns, this); + qtip._bind(tooltip, ['tooltipshow'], this._scroll, this._ns, this); + } + + // Set dimensions + this.redraw(); + }, + + adjustBGIFrame: function() { + var tooltip = this.qtip.tooltip, + dimensions = { + height: tooltip.outerHeight(FALSE), + width: tooltip.outerWidth(FALSE) + }, + plugin = this.qtip.plugins.tip, + tip = this.qtip.elements.tip, + tipAdjust, offset; + + // Adjust border offset + offset = parseInt(tooltip.css('borderLeftWidth'), 10) || 0; + offset = { left: -offset, top: -offset }; + + // Adjust for tips plugin + if(plugin && tip) { + tipAdjust = (plugin.corner.precedance === 'x') ? [WIDTH, LEFT] : [HEIGHT, TOP]; + offset[ tipAdjust[1] ] -= tip[ tipAdjust[0] ](); + } + + // Update bgiframe + this.bgiframe.css(offset).css(dimensions); + }, + + // Max/min width simulator function + redraw: function() { + if(this.qtip.rendered < 1 || this.drawing) { return this; } + + var tooltip = this.qtip.tooltip, + style = this.qtip.options.style, + container = this.qtip.options.position.container, + perc, width, max, min; + + // Set drawing flag + this.qtip.drawing = 1; + + // If tooltip has a set height/width, just set it... like a boss! + if(style.height) { tooltip.css(HEIGHT, style.height); } + if(style.width) { tooltip.css(WIDTH, style.width); } + + // Simulate max/min width if not set width present... + else { + // Reset width and add fluid class + tooltip.css(WIDTH, '').appendTo(this.redrawContainer); + + // Grab our tooltip width (add 1 if odd so we don't get wrapping problems.. huzzah!) + width = tooltip.width(); + if(width % 2 < 1) { width += 1; } + + // Grab our max/min properties + max = tooltip.css('maxWidth') || ''; + min = tooltip.css('minWidth') || ''; + + // Parse into proper pixel values + perc = (max + min).indexOf('%') > -1 ? container.width() / 100 : 0; + max = ((max.indexOf('%') > -1 ? perc : 1) * parseInt(max, 10)) || width; + min = ((min.indexOf('%') > -1 ? perc : 1) * parseInt(min, 10)) || 0; + + // Determine new dimension size based on max/min/current values + width = max + min ? Math.min(Math.max(width, min), max) : width; + + // Set the newly calculated width and remvoe fluid class + tooltip.css(WIDTH, Math.round(width)).appendTo(container); + } + + // Set drawing flag + this.drawing = 0; + + return this; + }, + + destroy: function() { + // Remove iframe + this.bgiframe && this.bgiframe.remove(); + + // Remove bound events + this.qtip._unbind([window, this.qtip.tooltip], this._ns); + } +}); + +IE6 = PLUGINS.ie6 = function(api) { + // Proceed only if the browser is IE6 + return BROWSER.ie === 6 ? new Ie6(api) : FALSE; +}; + +IE6.initialize = 'render'; + +CHECKS.ie6 = { + '^content|style$': function() { + this.redraw(); + } +}; ;})); }( window, document )); diff --git a/wp-content/plugins/google-calendar-events/assets/js/vendor/qtip.min.js b/wp-content/plugins/google-calendar-events/assets/js/vendor/qtip.min.js new file mode 100644 index 0000000..ce3c857 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/assets/js/vendor/qtip.min.js @@ -0,0 +1,5 @@ +/* qTip2 v2.2.1 | Plugins: tips modal viewport svg imagemap ie6 | Styles: core basic css3 | qtip2.com | Licensed MIT | Sun Sep 07 2014 00:09:27 */ + +!function(a,b,c){!function(a){"use strict";"function"==typeof define&&define.amd?define(["jquery"],a):jQuery&&!jQuery.fn.qtip&&a(jQuery)}(function(d){"use strict";function e(a,b,c,e){this.id=c,this.target=a,this.tooltip=F,this.elements={target:a},this._id=S+"-"+c,this.timers={img:{}},this.options=b,this.plugins={},this.cache={event:{},target:d(),disabled:E,attr:e,onTooltip:E,lastClass:""},this.rendered=this.destroyed=this.disabled=this.waiting=this.hiddenDuringWait=this.positioning=this.triggering=E}function f(a){return a===F||"object"!==d.type(a)}function g(a){return!(d.isFunction(a)||a&&a.attr||a.length||"object"===d.type(a)&&(a.jquery||a.then))}function h(a){var b,c,e,h;return f(a)?E:(f(a.metadata)&&(a.metadata={type:a.metadata}),"content"in a&&(b=a.content,f(b)||b.jquery||b.done?b=a.content={text:c=g(b)?E:b}:c=b.text,"ajax"in b&&(e=b.ajax,h=e&&e.once!==E,delete b.ajax,b.text=function(a,b){var f=c||d(this).attr(b.options.content.attr)||"Loading...",g=d.ajax(d.extend({},e,{context:b})).then(e.success,F,e.error).then(function(a){return a&&h&&b.set("content.text",a),a},function(a,c,d){b.destroyed||0===a.status||b.set("content.text",c+": "+d)});return h?f:(b.set("content.text",f),g)}),"title"in b&&(d.isPlainObject(b.title)&&(b.button=b.title.button,b.title=b.title.text),g(b.title||E)&&(b.title=E))),"position"in a&&f(a.position)&&(a.position={my:a.position,at:a.position}),"show"in a&&f(a.show)&&(a.show=a.show.jquery?{target:a.show}:a.show===D?{ready:D}:{event:a.show}),"hide"in a&&f(a.hide)&&(a.hide=a.hide.jquery?{target:a.hide}:{event:a.hide}),"style"in a&&f(a.style)&&(a.style={classes:a.style}),d.each(R,function(){this.sanitize&&this.sanitize(a)}),a)}function i(a,b){for(var c,d=0,e=a,f=b.split(".");e=e[f[d++]];)d0?setTimeout(d.proxy(a,this),b):void a.call(this)}function m(a){this.tooltip.hasClass(ab)||(clearTimeout(this.timers.show),clearTimeout(this.timers.hide),this.timers.show=l.call(this,function(){this.toggle(D,a)},this.options.show.delay))}function n(a){if(!this.tooltip.hasClass(ab)&&!this.destroyed){var b=d(a.relatedTarget),c=b.closest(W)[0]===this.tooltip[0],e=b[0]===this.options.show.target[0];if(clearTimeout(this.timers.show),clearTimeout(this.timers.hide),this!==b[0]&&"mouse"===this.options.position.target&&c||this.options.hide.fixed&&/mouse(out|leave|move)/.test(a.type)&&(c||e))try{a.preventDefault(),a.stopImmediatePropagation()}catch(f){}else this.timers.hide=l.call(this,function(){this.toggle(E,a)},this.options.hide.delay,this)}}function o(a){!this.tooltip.hasClass(ab)&&this.options.hide.inactive&&(clearTimeout(this.timers.inactive),this.timers.inactive=l.call(this,function(){this.hide(a)},this.options.hide.inactive))}function p(a){this.rendered&&this.tooltip[0].offsetWidth>0&&this.reposition(a)}function q(a,c,e){d(b.body).delegate(a,(c.split?c:c.join("."+S+" "))+"."+S,function(){var a=y.api[d.attr(this,U)];a&&!a.disabled&&e.apply(a,arguments)})}function r(a,c,f){var g,i,j,k,l,m=d(b.body),n=a[0]===b?m:a,o=a.metadata?a.metadata(f.metadata):F,p="html5"===f.metadata.type&&o?o[f.metadata.name]:F,q=a.data(f.metadata.name||"qtipopts");try{q="string"==typeof q?d.parseJSON(q):q}catch(r){}if(k=d.extend(D,{},y.defaults,f,"object"==typeof q?h(q):F,h(p||o)),i=k.position,k.id=c,"boolean"==typeof k.content.text){if(j=a.attr(k.content.attr),k.content.attr===E||!j)return E;k.content.text=j}if(i.container.length||(i.container=m),i.target===E&&(i.target=n),k.show.target===E&&(k.show.target=n),k.show.solo===D&&(k.show.solo=i.container.closest("body")),k.hide.target===E&&(k.hide.target=n),k.position.viewport===D&&(k.position.viewport=i.container),i.container=i.container.eq(0),i.at=new A(i.at,D),i.my=new A(i.my),a.data(S))if(k.overwrite)a.qtip("destroy",!0);else if(k.overwrite===E)return E;return a.attr(T,c),k.suppress&&(l=a.attr("title"))&&a.removeAttr("title").attr(cb,l).attr("title",""),g=new e(a,k,c,!!j),a.data(S,g),g}function s(a){return a.charAt(0).toUpperCase()+a.slice(1)}function t(a,b){var d,e,f=b.charAt(0).toUpperCase()+b.slice(1),g=(b+" "+rb.join(f+" ")+f).split(" "),h=0;if(qb[b])return a.css(qb[b]);for(;d=g[h++];)if((e=a.css(d))!==c)return qb[b]=d,e}function u(a,b){return Math.ceil(parseFloat(t(a,b)))}function v(a,b){this._ns="tip",this.options=b,this.offset=b.offset,this.size=[b.width,b.height],this.init(this.qtip=a)}function w(a,b){this.options=b,this._ns="-modal",this.init(this.qtip=a)}function x(a){this._ns="ie6",this.init(this.qtip=a)}var y,z,A,B,C,D=!0,E=!1,F=null,G="x",H="y",I="width",J="height",K="top",L="left",M="bottom",N="right",O="center",P="flipinvert",Q="shift",R={},S="qtip",T="data-hasqtip",U="data-qtip-id",V=["ui-widget","ui-tooltip"],W="."+S,X="click dblclick mousedown mouseup mousemove mouseleave mouseenter".split(" "),Y=S+"-fixed",Z=S+"-default",$=S+"-focus",_=S+"-hover",ab=S+"-disabled",bb="_replacedByqTip",cb="oldtitle",db={ie:function(){for(var a=4,c=b.createElement("div");(c.innerHTML="")&&c.getElementsByTagName("i")[0];a+=1);return a>4?a:0/0}(),iOS:parseFloat((""+(/CPU.*OS ([0-9_]{1,5})|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||[0,""])[1]).replace("undefined","3_2").replace("_",".").replace("_",""))||E};z=e.prototype,z._when=function(a){return d.when.apply(d,a)},z.render=function(a){if(this.rendered||this.destroyed)return this;var b,c=this,e=this.options,f=this.cache,g=this.elements,h=e.content.text,i=e.content.title,j=e.content.button,k=e.position,l=("."+this._id+" ",[]);return d.attr(this.target[0],"aria-describedby",this._id),f.posClass=this._createPosClass((this.position={my:k.my,at:k.at}).my),this.tooltip=g.tooltip=b=d("
    ",{id:this._id,"class":[S,Z,e.style.classes,f.posClass].join(" "),width:e.style.width||"",height:e.style.height||"",tracking:"mouse"===k.target&&k.adjust.mouse,role:"alert","aria-live":"polite","aria-atomic":E,"aria-describedby":this._id+"-content","aria-hidden":D}).toggleClass(ab,this.disabled).attr(U,this.id).data(S,this).appendTo(k.container).append(g.content=d("
    ",{"class":S+"-content",id:this._id+"-content","aria-atomic":D})),this.rendered=-1,this.positioning=D,i&&(this._createTitle(),d.isFunction(i)||l.push(this._updateTitle(i,E))),j&&this._createButton(),d.isFunction(h)||l.push(this._updateContent(h,E)),this.rendered=D,this._setWidget(),d.each(R,function(a){var b;"render"===this.initialize&&(b=this(c))&&(c.plugins[a]=b)}),this._unassignEvents(),this._assignEvents(),this._when(l).then(function(){c._trigger("render"),c.positioning=E,c.hiddenDuringWait||!e.show.ready&&!a||c.toggle(D,f.event,E),c.hiddenDuringWait=E}),y.api[this.id]=this,this},z.destroy=function(a){function b(){if(!this.destroyed){this.destroyed=D;var a,b=this.target,c=b.attr(cb);this.rendered&&this.tooltip.stop(1,0).find("*").remove().end().remove(),d.each(this.plugins,function(){this.destroy&&this.destroy()});for(a in this.timers)clearTimeout(this.timers[a]);b.removeData(S).removeAttr(U).removeAttr(T).removeAttr("aria-describedby"),this.options.suppress&&c&&b.attr("title",c).removeAttr(cb),this._unassignEvents(),this.options=this.elements=this.cache=this.timers=this.plugins=this.mouse=F,delete y.api[this.id]}}return this.destroyed?this.target:(a===D&&"hide"!==this.triggering||!this.rendered?b.call(this):(this.tooltip.one("tooltiphidden",d.proxy(b,this)),!this.triggering&&this.hide()),this.target)},B=z.checks={builtin:{"^id$":function(a,b,c,e){var f=c===D?y.nextid:c,g=S+"-"+f;f!==E&&f.length>0&&!d("#"+g).length?(this._id=g,this.rendered&&(this.tooltip[0].id=this._id,this.elements.content[0].id=this._id+"-content",this.elements.title[0].id=this._id+"-title")):a[b]=e},"^prerender":function(a,b,c){c&&!this.rendered&&this.render(this.options.show.ready)},"^content.text$":function(a,b,c){this._updateContent(c)},"^content.attr$":function(a,b,c,d){this.options.content.text===this.target.attr(d)&&this._updateContent(this.target.attr(c))},"^content.title$":function(a,b,c){return c?(c&&!this.elements.title&&this._createTitle(),void this._updateTitle(c)):this._removeTitle()},"^content.button$":function(a,b,c){this._updateButton(c)},"^content.title.(text|button)$":function(a,b,c){this.set("content."+b,c)},"^position.(my|at)$":function(a,b,c){"string"==typeof c&&(this.position[b]=a[b]=new A(c,"at"===b))},"^position.container$":function(a,b,c){this.rendered&&this.tooltip.appendTo(c)},"^show.ready$":function(a,b,c){c&&(!this.rendered&&this.render(D)||this.toggle(D))},"^style.classes$":function(a,b,c,d){this.rendered&&this.tooltip.removeClass(d).addClass(c)},"^style.(width|height)":function(a,b,c){this.rendered&&this.tooltip.css(b,c)},"^style.widget|content.title":function(){this.rendered&&this._setWidget()},"^style.def":function(a,b,c){this.rendered&&this.tooltip.toggleClass(Z,!!c)},"^events.(render|show|move|hide|focus|blur)$":function(a,b,c){this.rendered&&this.tooltip[(d.isFunction(c)?"":"un")+"bind"]("tooltip"+b,c)},"^(show|hide|position).(event|target|fixed|inactive|leave|distance|viewport|adjust)":function(){if(this.rendered){var a=this.options.position;this.tooltip.attr("tracking","mouse"===a.target&&a.adjust.mouse),this._unassignEvents(),this._assignEvents()}}}},z.get=function(a){if(this.destroyed)return this;var b=i(this.options,a.toLowerCase()),c=b[0][b[1]];return c.precedance?c.string():c};var eb=/^position\.(my|at|adjust|target|container|viewport)|style|content|show\.ready/i,fb=/^prerender|show\.ready/i;z.set=function(a,b){if(this.destroyed)return this;{var c,e=this.rendered,f=E,g=this.options;this.checks}return"string"==typeof a?(c=a,a={},a[c]=b):a=d.extend({},a),d.each(a,function(b,c){if(e&&fb.test(b))return void delete a[b];var h,j=i(g,b.toLowerCase());h=j[0][j[1]],j[0][j[1]]=c&&c.nodeType?d(c):c,f=eb.test(b)||f,a[b]=[j[0],j[1],c,h]}),h(g),this.positioning=D,d.each(a,d.proxy(j,this)),this.positioning=E,this.rendered&&this.tooltip[0].offsetWidth>0&&f&&this.reposition("mouse"===g.position.target?F:this.cache.event),this},z._update=function(a,b){var c=this,e=this.cache;return this.rendered&&a?(d.isFunction(a)&&(a=a.call(this.elements.target,e.event,this)||""),d.isFunction(a.then)?(e.waiting=D,a.then(function(a){return e.waiting=E,c._update(a,b)},F,function(a){return c._update(a,b)})):a===E||!a&&""!==a?E:(a.jquery&&a.length>0?b.empty().append(a.css({display:"block",visibility:"visible"})):b.html(a),this._waitForContent(b).then(function(a){c.rendered&&c.tooltip[0].offsetWidth>0&&c.reposition(e.event,!a.length)}))):E},z._waitForContent=function(a){var b=this.cache;return b.waiting=D,(d.fn.imagesLoaded?a.imagesLoaded():d.Deferred().resolve([])).done(function(){b.waiting=E}).promise()},z._updateContent=function(a,b){this._update(a,this.elements.content,b)},z._updateTitle=function(a,b){this._update(a,this.elements.title,b)===E&&this._removeTitle(E)},z._createTitle=function(){var a=this.elements,b=this._id+"-title";a.titlebar&&this._removeTitle(),a.titlebar=d("
    ",{"class":S+"-titlebar "+(this.options.style.widget?k("header"):"")}).append(a.title=d("
    ",{id:b,"class":S+"-title","aria-atomic":D})).insertBefore(a.content).delegate(".qtip-close","mousedown keydown mouseup keyup mouseout",function(a){d(this).toggleClass("ui-state-active ui-state-focus","down"===a.type.substr(-4))}).delegate(".qtip-close","mouseover mouseout",function(a){d(this).toggleClass("ui-state-hover","mouseover"===a.type)}),this.options.content.button&&this._createButton()},z._removeTitle=function(a){var b=this.elements;b.title&&(b.titlebar.remove(),b.titlebar=b.title=b.button=F,a!==E&&this.reposition())},z._createPosClass=function(a){return S+"-pos-"+(a||this.options.position.my).abbrev()},z.reposition=function(c,e){if(!this.rendered||this.positioning||this.destroyed)return this;this.positioning=D;var f,g,h,i,j=this.cache,k=this.tooltip,l=this.options.position,m=l.target,n=l.my,o=l.at,p=l.viewport,q=l.container,r=l.adjust,s=r.method.split(" "),t=k.outerWidth(E),u=k.outerHeight(E),v=0,w=0,x=k.css("position"),y={left:0,top:0},z=k[0].offsetWidth>0,A=c&&"scroll"===c.type,B=d(a),C=q[0].ownerDocument,F=this.mouse;if(d.isArray(m)&&2===m.length)o={x:L,y:K},y={left:m[0],top:m[1]};else if("mouse"===m)o={x:L,y:K},(!r.mouse||this.options.hide.distance)&&j.origin&&j.origin.pageX?c=j.origin:!c||c&&("resize"===c.type||"scroll"===c.type)?c=j.event:F&&F.pageX&&(c=F),"static"!==x&&(y=q.offset()),C.body.offsetWidth!==(a.innerWidth||C.documentElement.clientWidth)&&(g=d(b.body).offset()),y={left:c.pageX-y.left+(g&&g.left||0),top:c.pageY-y.top+(g&&g.top||0)},r.mouse&&A&&F&&(y.left-=(F.scrollX||0)-B.scrollLeft(),y.top-=(F.scrollY||0)-B.scrollTop());else{if("event"===m?c&&c.target&&"scroll"!==c.type&&"resize"!==c.type?j.target=d(c.target):c.target||(j.target=this.elements.target):"event"!==m&&(j.target=d(m.jquery?m:this.elements.target)),m=j.target,m=d(m).eq(0),0===m.length)return this;m[0]===b||m[0]===a?(v=db.iOS?a.innerWidth:m.width(),w=db.iOS?a.innerHeight:m.height(),m[0]===a&&(y={top:(p||m).scrollTop(),left:(p||m).scrollLeft()})):R.imagemap&&m.is("area")?f=R.imagemap(this,m,o,R.viewport?s:E):R.svg&&m&&m[0].ownerSVGElement?f=R.svg(this,m,o,R.viewport?s:E):(v=m.outerWidth(E),w=m.outerHeight(E),y=m.offset()),f&&(v=f.width,w=f.height,g=f.offset,y=f.position),y=this.reposition.offset(m,y,q),(db.iOS>3.1&&db.iOS<4.1||db.iOS>=4.3&&db.iOS<4.33||!db.iOS&&"fixed"===x)&&(y.left-=B.scrollLeft(),y.top-=B.scrollTop()),(!f||f&&f.adjustable!==E)&&(y.left+=o.x===N?v:o.x===O?v/2:0,y.top+=o.y===M?w:o.y===O?w/2:0)}return y.left+=r.x+(n.x===N?-t:n.x===O?-t/2:0),y.top+=r.y+(n.y===M?-u:n.y===O?-u/2:0),R.viewport?(h=y.adjusted=R.viewport(this,y,l,v,w,t,u),g&&h.left&&(y.left+=g.left),g&&h.top&&(y.top+=g.top),h.my&&(this.position.my=h.my)):y.adjusted={left:0,top:0},j.posClass!==(i=this._createPosClass(this.position.my))&&k.removeClass(j.posClass).addClass(j.posClass=i),this._trigger("move",[y,p.elem||p],c)?(delete y.adjusted,e===E||!z||isNaN(y.left)||isNaN(y.top)||"mouse"===m||!d.isFunction(l.effect)?k.css(y):d.isFunction(l.effect)&&(l.effect.call(k,this,d.extend({},y)),k.queue(function(a){d(this).css({opacity:"",height:""}),db.ie&&this.style.removeAttribute("filter"),a()})),this.positioning=E,this):this},z.reposition.offset=function(a,c,e){function f(a,b){c.left+=b*a.scrollLeft(),c.top+=b*a.scrollTop()}if(!e[0])return c;var g,h,i,j,k=d(a[0].ownerDocument),l=!!db.ie&&"CSS1Compat"!==b.compatMode,m=e[0];do"static"!==(h=d.css(m,"position"))&&("fixed"===h?(i=m.getBoundingClientRect(),f(k,-1)):(i=d(m).position(),i.left+=parseFloat(d.css(m,"borderLeftWidth"))||0,i.top+=parseFloat(d.css(m,"borderTopWidth"))||0),c.left-=i.left+(parseFloat(d.css(m,"marginLeft"))||0),c.top-=i.top+(parseFloat(d.css(m,"marginTop"))||0),g||"hidden"===(j=d.css(m,"overflow"))||"visible"===j||(g=d(m)));while(m=m.offsetParent);return g&&(g[0]!==k[0]||l)&&f(g,1),c};var gb=(A=z.reposition.Corner=function(a,b){a=(""+a).replace(/([A-Z])/," $1").replace(/middle/gi,O).toLowerCase(),this.x=(a.match(/left|right/i)||a.match(/center/)||["inherit"])[0].toLowerCase(),this.y=(a.match(/top|bottom|center/i)||["inherit"])[0].toLowerCase(),this.forceY=!!b;var c=a.charAt(0);this.precedance="t"===c||"b"===c?H:G}).prototype;gb.invert=function(a,b){this[a]=this[a]===L?N:this[a]===N?L:b||this[a]},gb.string=function(a){var b=this.x,c=this.y,d=b!==c?"center"===b||"center"!==c&&(this.precedance===H||this.forceY)?[c,b]:[b,c]:[b];return a!==!1?d.join(" "):d},gb.abbrev=function(){var a=this.string(!1);return a[0].charAt(0)+(a[1]&&a[1].charAt(0)||"")},gb.clone=function(){return new A(this.string(),this.forceY)},z.toggle=function(a,c){var e=this.cache,f=this.options,g=this.tooltip;if(c){if(/over|enter/.test(c.type)&&e.event&&/out|leave/.test(e.event.type)&&f.show.target.add(c.target).length===f.show.target.length&&g.has(c.relatedTarget).length)return this;e.event=d.event.fix(c)}if(this.waiting&&!a&&(this.hiddenDuringWait=D),!this.rendered)return a?this.render(1):this;if(this.destroyed||this.disabled)return this;var h,i,j,k=a?"show":"hide",l=this.options[k],m=(this.options[a?"hide":"show"],this.options.position),n=this.options.content,o=this.tooltip.css("width"),p=this.tooltip.is(":visible"),q=a||1===l.target.length,r=!c||l.target.length<2||e.target[0]===c.target;return(typeof a).search("boolean|number")&&(a=!p),h=!g.is(":animated")&&p===a&&r,i=h?F:!!this._trigger(k,[90]),this.destroyed?this:(i!==E&&a&&this.focus(c),!i||h?this:(d.attr(g[0],"aria-hidden",!a),a?(this.mouse&&(e.origin=d.event.fix(this.mouse)),d.isFunction(n.text)&&this._updateContent(n.text,E),d.isFunction(n.title)&&this._updateTitle(n.title,E),!C&&"mouse"===m.target&&m.adjust.mouse&&(d(b).bind("mousemove."+S,this._storeMouse),C=D),o||g.css("width",g.outerWidth(E)),this.reposition(c,arguments[2]),o||g.css("width",""),l.solo&&("string"==typeof l.solo?d(l.solo):d(W,l.solo)).not(g).not(l.target).qtip("hide",d.Event("tooltipsolo"))):(clearTimeout(this.timers.show),delete e.origin,C&&!d(W+'[tracking="true"]:visible',l.solo).not(g).length&&(d(b).unbind("mousemove."+S),C=E),this.blur(c)),j=d.proxy(function(){a?(db.ie&&g[0].style.removeAttribute("filter"),g.css("overflow",""),"string"==typeof l.autofocus&&d(this.options.show.autofocus,g).focus(),this.options.show.target.trigger("qtip-"+this.id+"-inactive")):g.css({display:"",visibility:"",opacity:"",left:"",top:""}),this._trigger(a?"visible":"hidden")},this),l.effect===E||q===E?(g[k](),j()):d.isFunction(l.effect)?(g.stop(1,1),l.effect.call(g,this),g.queue("fx",function(a){j(),a()})):g.fadeTo(90,a?1:0,j),a&&l.target.trigger("qtip-"+this.id+"-inactive"),this))},z.show=function(a){return this.toggle(D,a)},z.hide=function(a){return this.toggle(E,a)},z.focus=function(a){if(!this.rendered||this.destroyed)return this;var b=d(W),c=this.tooltip,e=parseInt(c[0].style.zIndex,10),f=y.zindex+b.length;return c.hasClass($)||this._trigger("focus",[f],a)&&(e!==f&&(b.each(function(){this.style.zIndex>e&&(this.style.zIndex=this.style.zIndex-1)}),b.filter("."+$).qtip("blur",a)),c.addClass($)[0].style.zIndex=f),this},z.blur=function(a){return!this.rendered||this.destroyed?this:(this.tooltip.removeClass($),this._trigger("blur",[this.tooltip.css("zIndex")],a),this)},z.disable=function(a){return this.destroyed?this:("toggle"===a?a=!(this.rendered?this.tooltip.hasClass(ab):this.disabled):"boolean"!=typeof a&&(a=D),this.rendered&&this.tooltip.toggleClass(ab,a).attr("aria-disabled",a),this.disabled=!!a,this)},z.enable=function(){return this.disable(E)},z._createButton=function(){var a=this,b=this.elements,c=b.tooltip,e=this.options.content.button,f="string"==typeof e,g=f?e:"Close tooltip";b.button&&b.button.remove(),b.button=e.jquery?e:d("",{"class":"qtip-close "+(this.options.style.widget?"":S+"-icon"),title:g,"aria-label":g}).prepend(d("",{"class":"ui-icon ui-icon-close",html:"×"})),b.button.appendTo(b.titlebar||c).attr("role","button").click(function(b){return c.hasClass(ab)||a.hide(b),E})},z._updateButton=function(a){if(!this.rendered)return E;var b=this.elements.button;a?this._createButton():b.remove()},z._setWidget=function(){var a=this.options.style.widget,b=this.elements,c=b.tooltip,d=c.hasClass(ab);c.removeClass(ab),ab=a?"ui-state-disabled":"qtip-disabled",c.toggleClass(ab,d),c.toggleClass("ui-helper-reset "+k(),a).toggleClass(Z,this.options.style.def&&!a),b.content&&b.content.toggleClass(k("content"),a),b.titlebar&&b.titlebar.toggleClass(k("header"),a),b.button&&b.button.toggleClass(S+"-icon",!a)},z._storeMouse=function(a){return(this.mouse=d.event.fix(a)).type="mousemove",this},z._bind=function(a,b,c,e,f){if(a&&c&&b.length){var g="."+this._id+(e?"-"+e:"");return d(a).bind((b.split?b:b.join(g+" "))+g,d.proxy(c,f||this)),this}},z._unbind=function(a,b){return a&&d(a).unbind("."+this._id+(b?"-"+b:"")),this},z._trigger=function(a,b,c){var e=d.Event("tooltip"+a);return e.originalEvent=c&&d.extend({},c)||this.cache.event||F,this.triggering=a,this.tooltip.trigger(e,[this].concat(b||[])),this.triggering=E,!e.isDefaultPrevented()},z._bindEvents=function(a,b,c,e,f,g){var h=c.filter(e).add(e.filter(c)),i=[];h.length&&(d.each(b,function(b,c){var e=d.inArray(c,a);e>-1&&i.push(a.splice(e,1)[0])}),i.length&&(this._bind(h,i,function(a){var b=this.rendered?this.tooltip[0].offsetWidth>0:!1;(b?g:f).call(this,a)}),c=c.not(h),e=e.not(h))),this._bind(c,a,f),this._bind(e,b,g)},z._assignInitialEvents=function(a){function b(a){return this.disabled||this.destroyed?E:(this.cache.event=a&&d.event.fix(a),this.cache.target=a&&d(a.target),clearTimeout(this.timers.show),void(this.timers.show=l.call(this,function(){this.render("object"==typeof a||c.show.ready)},c.prerender?0:c.show.delay)))}var c=this.options,e=c.show.target,f=c.hide.target,g=c.show.event?d.trim(""+c.show.event).split(" "):[],h=c.hide.event?d.trim(""+c.hide.event).split(" "):[];this._bind(this.elements.target,["remove","removeqtip"],function(){this.destroy(!0)},"destroy"),/mouse(over|enter)/i.test(c.show.event)&&!/mouse(out|leave)/i.test(c.hide.event)&&h.push("mouseleave"),this._bind(e,"mousemove",function(a){this._storeMouse(a),this.cache.onTarget=D}),this._bindEvents(g,h,e,f,b,function(){return this.timers?void clearTimeout(this.timers.show):E}),(c.show.ready||c.prerender)&&b.call(this,a)},z._assignEvents=function(){var c=this,e=this.options,f=e.position,g=this.tooltip,h=e.show.target,i=e.hide.target,j=f.container,k=f.viewport,l=d(b),q=(d(b.body),d(a)),r=e.show.event?d.trim(""+e.show.event).split(" "):[],s=e.hide.event?d.trim(""+e.hide.event).split(" "):[];d.each(e.events,function(a,b){c._bind(g,"toggle"===a?["tooltipshow","tooltiphide"]:["tooltip"+a],b,null,g)}),/mouse(out|leave)/i.test(e.hide.event)&&"window"===e.hide.leave&&this._bind(l,["mouseout","blur"],function(a){/select|option/.test(a.target.nodeName)||a.relatedTarget||this.hide(a)}),e.hide.fixed?i=i.add(g.addClass(Y)):/mouse(over|enter)/i.test(e.show.event)&&this._bind(i,"mouseleave",function(){clearTimeout(this.timers.show)}),(""+e.hide.event).indexOf("unfocus")>-1&&this._bind(j.closest("html"),["mousedown","touchstart"],function(a){var b=d(a.target),c=this.rendered&&!this.tooltip.hasClass(ab)&&this.tooltip[0].offsetWidth>0,e=b.parents(W).filter(this.tooltip[0]).length>0;b[0]===this.target[0]||b[0]===this.tooltip[0]||e||this.target.has(b[0]).length||!c||this.hide(a)}),"number"==typeof e.hide.inactive&&(this._bind(h,"qtip-"+this.id+"-inactive",o,"inactive"),this._bind(i.add(g),y.inactiveEvents,o)),this._bindEvents(r,s,h,i,m,n),this._bind(h.add(g),"mousemove",function(a){if("number"==typeof e.hide.distance){var b=this.cache.origin||{},c=this.options.hide.distance,d=Math.abs;(d(a.pageX-b.pageX)>=c||d(a.pageY-b.pageY)>=c)&&this.hide(a)}this._storeMouse(a)}),"mouse"===f.target&&f.adjust.mouse&&(e.hide.event&&this._bind(h,["mouseenter","mouseleave"],function(a){return this.cache?void(this.cache.onTarget="mouseenter"===a.type):E}),this._bind(l,"mousemove",function(a){this.rendered&&this.cache.onTarget&&!this.tooltip.hasClass(ab)&&this.tooltip[0].offsetWidth>0&&this.reposition(a)})),(f.adjust.resize||k.length)&&this._bind(d.event.special.resize?k:q,"resize",p),f.adjust.scroll&&this._bind(q.add(f.container),"scroll",p)},z._unassignEvents=function(){var c=this.options,e=c.show.target,f=c.hide.target,g=d.grep([this.elements.target[0],this.rendered&&this.tooltip[0],c.position.container[0],c.position.viewport[0],c.position.container.closest("html")[0],a,b],function(a){return"object"==typeof a});e&&e.toArray&&(g=g.concat(e.toArray())),f&&f.toArray&&(g=g.concat(f.toArray())),this._unbind(g)._unbind(g,"destroy")._unbind(g,"inactive")},d(function(){q(W,["mouseenter","mouseleave"],function(a){var b="mouseenter"===a.type,c=d(a.currentTarget),e=d(a.relatedTarget||a.target),f=this.options;b?(this.focus(a),c.hasClass(Y)&&!c.hasClass(ab)&&clearTimeout(this.timers.hide)):"mouse"===f.position.target&&f.position.adjust.mouse&&f.hide.event&&f.show.target&&!e.closest(f.show.target[0]).length&&this.hide(a),c.toggleClass(_,b)}),q("["+U+"]",X,o)}),y=d.fn.qtip=function(a,b,e){var f=(""+a).toLowerCase(),g=F,i=d.makeArray(arguments).slice(1),j=i[i.length-1],k=this[0]?d.data(this[0],S):F;return!arguments.length&&k||"api"===f?k:"string"==typeof a?(this.each(function(){var a=d.data(this,S);if(!a)return D;if(j&&j.timeStamp&&(a.cache.event=j),!b||"option"!==f&&"options"!==f)a[f]&&a[f].apply(a,i);else{if(e===c&&!d.isPlainObject(b))return g=a.get(b),E;a.set(b,e)}}),g!==F?g:this):"object"!=typeof a&&arguments.length?void 0:(k=h(d.extend(D,{},a)),this.each(function(a){var b,c;return c=d.isArray(k.id)?k.id[a]:k.id,c=!c||c===E||c.length<1||y.api[c]?y.nextid++:c,b=r(d(this),c,k),b===E?D:(y.api[c]=b,d.each(R,function(){"initialize"===this.initialize&&this(b)}),void b._assignInitialEvents(j))}))},d.qtip=e,y.api={},d.each({attr:function(a,b){if(this.length){var c=this[0],e="title",f=d.data(c,"qtip");if(a===e&&f&&"object"==typeof f&&f.options.suppress)return arguments.length<2?d.attr(c,cb):(f&&f.options.content.attr===e&&f.cache.attr&&f.set("content.text",b),this.attr(cb,b))}return d.fn["attr"+bb].apply(this,arguments)},clone:function(a){var b=(d([]),d.fn["clone"+bb].apply(this,arguments));return a||b.filter("["+cb+"]").attr("title",function(){return d.attr(this,cb)}).removeAttr(cb),b}},function(a,b){if(!b||d.fn[a+bb])return D;var c=d.fn[a+bb]=d.fn[a];d.fn[a]=function(){return b.apply(this,arguments)||c.apply(this,arguments)}}),d.ui||(d["cleanData"+bb]=d.cleanData,d.cleanData=function(a){for(var b,c=0;(b=d(a[c])).length;c++)if(b.attr(T))try{b.triggerHandler("removeqtip")}catch(e){}d["cleanData"+bb].apply(this,arguments)}),y.version="2.2.1",y.nextid=0,y.inactiveEvents=X,y.zindex=15e3,y.defaults={prerender:E,id:E,overwrite:D,suppress:D,content:{text:D,attr:"title",title:E,button:E},position:{my:"top left",at:"bottom right",target:E,container:E,viewport:E,adjust:{x:0,y:0,mouse:D,scroll:D,resize:D,method:"flipinvert flipinvert"},effect:function(a,b){d(this).animate(b,{duration:200,queue:E})}},show:{target:E,event:"mouseenter",effect:D,delay:90,solo:E,ready:E,autofocus:E},hide:{target:E,event:"mouseleave",effect:D,delay:0,fixed:E,inactive:E,leave:"window",distance:E},style:{classes:"",widget:E,width:E,height:E,def:D},events:{render:F,move:F,show:F,hide:F,toggle:F,visible:F,hidden:F,focus:F,blur:F}};var hb,ib="margin",jb="border",kb="color",lb="background-color",mb="transparent",nb=" !important",ob=!!b.createElement("canvas").getContext,pb=/rgba?\(0, 0, 0(, 0)?\)|transparent|#123456/i,qb={},rb=["Webkit","O","Moz","ms"];if(ob)var sb=a.devicePixelRatio||1,tb=function(){var a=b.createElement("canvas").getContext("2d");return a.backingStorePixelRatio||a.webkitBackingStorePixelRatio||a.mozBackingStorePixelRatio||a.msBackingStorePixelRatio||a.oBackingStorePixelRatio||1}(),ub=sb/tb;else var vb=function(a,b,c){return"'};d.extend(v.prototype,{init:function(a){var b,c;c=this.element=a.elements.tip=d("
    ",{"class":S+"-tip"}).prependTo(a.tooltip),ob?(b=d("").appendTo(this.element)[0].getContext("2d"),b.lineJoin="miter",b.miterLimit=1e5,b.save()):(b=vb("shape",'coordorigin="0,0"',"position:absolute;"),this.element.html(b+b),a._bind(d("*",c).add(c),["click","mousedown"],function(a){a.stopPropagation()},this._ns)),a._bind(a.tooltip,"tooltipmove",this.reposition,this._ns,this),this.create()},_swapDimensions:function(){this.size[0]=this.options.height,this.size[1]=this.options.width},_resetDimensions:function(){this.size[0]=this.options.width,this.size[1]=this.options.height},_useTitle:function(a){var b=this.qtip.elements.titlebar;return b&&(a.y===K||a.y===O&&this.element.position().top+this.size[1]/2+this.options.offsetl&&!pb.test(e[1])&&(e[0]=e[1]),this.border=l=p.border!==D?p.border:l):this.border=l=0,k=this.size=this._calculateSize(b),n.css({width:k[0],height:k[1],lineHeight:k[1]+"px"}),j=b.precedance===H?[s(r.x===L?l:r.x===N?k[0]-q[0]-l:(k[0]-q[0])/2),s(r.y===K?k[1]-q[1]:0)]:[s(r.x===L?k[0]-q[0]:0),s(r.y===K?l:r.y===M?k[1]-q[1]-l:(k[1]-q[1])/2)],ob?(g=o[0].getContext("2d"),g.restore(),g.save(),g.clearRect(0,0,6e3,6e3),h=this._calculateTip(r,q,ub),i=this._calculateTip(r,this.size,ub),o.attr(I,k[0]*ub).attr(J,k[1]*ub),o.css(I,k[0]).css(J,k[1]),this._drawCoords(g,i),g.fillStyle=e[1],g.fill(),g.translate(j[0]*ub,j[1]*ub),this._drawCoords(g,h),g.fillStyle=e[0],g.fill()):(h=this._calculateTip(r),h="m"+h[0]+","+h[1]+" l"+h[2]+","+h[3]+" "+h[4]+","+h[5]+" xe",j[2]=l&&/^(r|b)/i.test(b.string())?8===db.ie?2:1:0,o.css({coordsize:k[0]+l+" "+(k[1]+l),antialias:""+(r.string().indexOf(O)>-1),left:j[0]-j[2]*Number(f===G),top:j[1]-j[2]*Number(f===H),width:k[0]+l,height:k[1]+l}).each(function(a){var b=d(this);b[b.prop?"prop":"attr"]({coordsize:k[0]+l+" "+(k[1]+l),path:h,fillcolor:e[0],filled:!!a,stroked:!a}).toggle(!(!l&&!a)),!a&&b.html(vb("stroke",'weight="'+2*l+'px" color="'+e[1]+'" miterlimit="1000" joinstyle="miter"'))})),a.opera&&setTimeout(function(){m.tip.css({display:"inline-block",visibility:"visible"})},1),c!==E&&this.calculate(b,k)},calculate:function(a,b){if(!this.enabled)return E;var c,e,f=this,g=this.qtip.elements,h=this.element,i=this.options.offset,j=(g.tooltip.hasClass("ui-widget"),{});return a=a||this.corner,c=a.precedance,b=b||this._calculateSize(a),e=[a.x,a.y],c===G&&e.reverse(),d.each(e,function(d,e){var h,k,l; +e===O?(h=c===H?L:K,j[h]="50%",j[ib+"-"+h]=-Math.round(b[c===H?0:1]/2)+i):(h=f._parseWidth(a,e,g.tooltip),k=f._parseWidth(a,e,g.content),l=f._parseRadius(a),j[e]=Math.max(-f.border,d?k:i+(l>h?l:-h)))}),j[a[c]]-=b[c===G?0:1],h.css({margin:"",top:"",bottom:"",left:"",right:""}).css(j),j},reposition:function(a,b,d){function e(a,b,c,d,e){a===Q&&j.precedance===b&&k[d]&&j[c]!==O?j.precedance=j.precedance===G?H:G:a!==Q&&k[d]&&(j[b]=j[b]===O?k[d]>0?d:e:j[b]===d?e:d)}function f(a,b,e){j[a]===O?p[ib+"-"+b]=o[a]=g[ib+"-"+b]-k[b]:(h=g[e]!==c?[k[b],-g[b]]:[-k[b],g[b]],(o[a]=Math.max(h[0],h[1]))>h[0]&&(d[b]-=k[b],o[b]=E),p[g[e]!==c?e:b]=o[a])}if(this.enabled){var g,h,i=b.cache,j=this.corner.clone(),k=d.adjusted,l=b.options.position.adjust.method.split(" "),m=l[0],n=l[1]||l[0],o={left:E,top:E,x:0,y:0},p={};this.corner.fixed!==D&&(e(m,G,H,L,N),e(n,H,G,K,M),(j.string()!==i.corner.string()||i.cornerTop!==k.top||i.cornerLeft!==k.left)&&this.update(j,E)),g=this.calculate(j),g.right!==c&&(g.left=-g.right),g.bottom!==c&&(g.top=-g.bottom),g.user=this.offset,(o.left=m===Q&&!!k.left)&&f(G,L,N),(o.top=n===Q&&!!k.top)&&f(H,K,M),this.element.css(p).toggle(!(o.x&&o.y||j.x===O&&o.y||j.y===O&&o.x)),d.left-=g.left.charAt?g.user:m!==Q||o.top||!o.left&&!o.top?g.left+this.border:0,d.top-=g.top.charAt?g.user:n!==Q||o.left||!o.left&&!o.top?g.top+this.border:0,i.cornerLeft=k.left,i.cornerTop=k.top,i.corner=j.clone()}},destroy:function(){this.qtip._unbind(this.qtip.tooltip,this._ns),this.qtip.elements.tip&&this.qtip.elements.tip.find("*").remove().end().remove()}}),hb=R.tip=function(a){return new v(a,a.options.style.tip)},hb.initialize="render",hb.sanitize=function(a){if(a.style&&"tip"in a.style){var b=a.style.tip;"object"!=typeof b&&(b=a.style.tip={corner:b}),/string|boolean/i.test(typeof b.corner)||(b.corner=D)}},B.tip={"^position.my|style.tip.(corner|mimic|border)$":function(){this.create(),this.qtip.reposition()},"^style.tip.(height|width)$":function(a){this.size=[a.width,a.height],this.update(),this.qtip.reposition()},"^content.title|style.(classes|widget)$":function(){this.update()}},d.extend(D,y.defaults,{style:{tip:{corner:D,mimic:E,width:6,height:6,border:D,offset:0}}});var wb,xb,yb="qtip-modal",zb="."+yb;xb=function(){function a(a){if(d.expr[":"].focusable)return d.expr[":"].focusable;var b,c,e,f=!isNaN(d.attr(a,"tabindex")),g=a.nodeName&&a.nodeName.toLowerCase();return"area"===g?(b=a.parentNode,c=b.name,a.href&&c&&"map"===b.nodeName.toLowerCase()?(e=d("img[usemap=#"+c+"]")[0],!!e&&e.is(":visible")):!1):/input|select|textarea|button|object/.test(g)?!a.disabled:"a"===g?a.href||f:f}function c(a){k.length<1&&a.length?a.not("body").blur():k.first().focus()}function e(a){if(i.is(":visible")){var b,e=d(a.target),h=f.tooltip,j=e.closest(W);b=j.length<1?E:parseInt(j[0].style.zIndex,10)>parseInt(h[0].style.zIndex,10),b||e.closest(W)[0]===h[0]||c(e),g=a.target===k[k.length-1]}}var f,g,h,i,j=this,k={};d.extend(j,{init:function(){return i=j.elem=d("
    ",{id:"qtip-overlay",html:"
    ",mousedown:function(){return E}}).hide(),d(b.body).bind("focusin"+zb,e),d(b).bind("keydown"+zb,function(a){f&&f.options.show.modal.escape&&27===a.keyCode&&f.hide(a)}),i.bind("click"+zb,function(a){f&&f.options.show.modal.blur&&f.hide(a)}),j},update:function(b){f=b,k=b.options.show.modal.stealfocus!==E?b.tooltip.find("*").filter(function(){return a(this)}):[]},toggle:function(a,e,g){var k=(d(b.body),a.tooltip),l=a.options.show.modal,m=l.effect,n=e?"show":"hide",o=i.is(":visible"),p=d(zb).filter(":visible:not(:animated)").not(k);return j.update(a),e&&l.stealfocus!==E&&c(d(":focus")),i.toggleClass("blurs",l.blur),e&&i.appendTo(b.body),i.is(":animated")&&o===e&&h!==E||!e&&p.length?j:(i.stop(D,E),d.isFunction(m)?m.call(i,e):m===E?i[n]():i.fadeTo(parseInt(g,10)||90,e?1:0,function(){e||i.hide()}),e||i.queue(function(a){i.css({left:"",top:""}),d(zb).length||i.detach(),a()}),h=e,f.destroyed&&(f=F),j)}}),j.init()},xb=new xb,d.extend(w.prototype,{init:function(a){var b=a.tooltip;return this.options.on?(a.elements.overlay=xb.elem,b.addClass(yb).css("z-index",y.modal_zindex+d(zb).length),a._bind(b,["tooltipshow","tooltiphide"],function(a,c,e){var f=a.originalEvent;if(a.target===b[0])if(f&&"tooltiphide"===a.type&&/mouse(leave|enter)/.test(f.type)&&d(f.relatedTarget).closest(xb.elem[0]).length)try{a.preventDefault()}catch(g){}else(!f||f&&"tooltipsolo"!==f.type)&&this.toggle(a,"tooltipshow"===a.type,e)},this._ns,this),a._bind(b,"tooltipfocus",function(a,c){if(!a.isDefaultPrevented()&&a.target===b[0]){var e=d(zb),f=y.modal_zindex+e.length,g=parseInt(b[0].style.zIndex,10);xb.elem[0].style.zIndex=f-1,e.each(function(){this.style.zIndex>g&&(this.style.zIndex-=1)}),e.filter("."+$).qtip("blur",a.originalEvent),b.addClass($)[0].style.zIndex=f,xb.update(c);try{a.preventDefault()}catch(h){}}},this._ns,this),void a._bind(b,"tooltiphide",function(a){a.target===b[0]&&d(zb).filter(":visible").not(b).last().qtip("focus",a)},this._ns,this)):this},toggle:function(a,b,c){return a&&a.isDefaultPrevented()?this:void xb.toggle(this.qtip,!!b,c)},destroy:function(){this.qtip.tooltip.removeClass(yb),this.qtip._unbind(this.qtip.tooltip,this._ns),xb.toggle(this.qtip,E),delete this.qtip.elements.overlay}}),wb=R.modal=function(a){return new w(a,a.options.show.modal)},wb.sanitize=function(a){a.show&&("object"!=typeof a.show.modal?a.show.modal={on:!!a.show.modal}:"undefined"==typeof a.show.modal.on&&(a.show.modal.on=D))},y.modal_zindex=y.zindex-200,wb.initialize="render",B.modal={"^show.modal.(on|blur)$":function(){this.destroy(),this.init(),this.qtip.elems.overlay.toggle(this.qtip.tooltip[0].offsetWidth>0)}},d.extend(D,y.defaults,{show:{modal:{on:E,effect:D,blur:D,stealfocus:D,escape:D}}}),R.viewport=function(c,d,e,f,g,h,i){function j(a,b,c,e,f,g,h,i,j){var k=d[f],s=u[a],t=v[a],w=c===Q,x=s===f?j:s===g?-j:-j/2,y=t===f?i:t===g?-i:-i/2,z=q[f]+r[f]-(n?0:m[f]),A=z-k,B=k+j-(h===I?o:p)-z,C=x-(u.precedance===a||s===u[b]?y:0)-(t===O?i/2:0);return w?(C=(s===f?1:-1)*x,d[f]+=A>0?A:B>0?-B:0,d[f]=Math.max(-m[f]+r[f],k-C,Math.min(Math.max(-m[f]+r[f]+(h===I?o:p),k+C),d[f],"center"===s?k-x:1e9))):(e*=c===P?2:0,A>0&&(s!==f||B>0)?(d[f]-=C+e,l.invert(a,f)):B>0&&(s!==g||A>0)&&(d[f]-=(s===O?-C:C)+e,l.invert(a,g)),d[f]B&&(d[f]=k,l=u.clone())),d[f]-k}var k,l,m,n,o,p,q,r,s=e.target,t=c.elements.tooltip,u=e.my,v=e.at,w=e.adjust,x=w.method.split(" "),y=x[0],z=x[1]||x[0],A=e.viewport,B=e.container,C=(c.cache,{left:0,top:0});return A.jquery&&s[0]!==a&&s[0]!==b.body&&"none"!==w.method?(m=B.offset()||C,n="static"===B.css("position"),k="fixed"===t.css("position"),o=A[0]===a?A.width():A.outerWidth(E),p=A[0]===a?A.height():A.outerHeight(E),q={left:k?0:A.scrollLeft(),top:k?0:A.scrollTop()},r=A.offset()||C,("shift"!==y||"shift"!==z)&&(l=u.clone()),C={left:"none"!==y?j(G,H,y,w.x,L,N,I,f,h):0,top:"none"!==z?j(H,G,z,w.y,K,M,J,g,i):0,my:l}):C},R.polys={polygon:function(a,b){var c,d,e,f={width:0,height:0,position:{top:1e10,right:0,bottom:0,left:1e10},adjustable:E},g=0,h=[],i=1,j=1,k=0,l=0;for(g=a.length;g--;)c=[parseInt(a[--g],10),parseInt(a[g+1],10)],c[0]>f.position.right&&(f.position.right=c[0]),c[0]f.position.bottom&&(f.position.bottom=c[1]),c[1]0&&e>0&&i>0&&j>0;)for(d=Math.floor(d/2),e=Math.floor(e/2),b.x===L?i=d:b.x===N?i=f.width-d:i+=Math.floor(d/2),b.y===K?j=e:b.y===M?j=f.height-e:j+=Math.floor(e/2),g=h.length;g--&&!(h.length<2);)k=h[g][0]-f.position.left,l=h[g][1]-f.position.top,(b.x===L&&k>=i||b.x===N&&i>=k||b.x===O&&(i>k||k>f.width-i)||b.y===K&&l>=j||b.y===M&&j>=l||b.y===O&&(j>l||l>f.height-j))&&h.splice(g,1);f.position={left:h[0][0],top:h[0][1]}}return f},rect:function(a,b,c,d){return{width:Math.abs(c-a),height:Math.abs(d-b),position:{left:Math.min(a,c),top:Math.min(b,d)}}},_angles:{tc:1.5,tr:7/4,tl:5/4,bc:.5,br:.25,bl:.75,rc:2,lc:1,c:0},ellipse:function(a,b,c,d,e){var f=R.polys._angles[e.abbrev()],g=0===f?0:c*Math.cos(f*Math.PI),h=d*Math.sin(f*Math.PI);return{width:2*c-Math.abs(g),height:2*d-Math.abs(h),position:{left:a+g,top:b+h},adjustable:E}},circle:function(a,b,c,d){return R.polys.ellipse(a,b,c,c,d)}},R.svg=function(a,c,e){for(var f,g,h,i,j,k,l,m,n,o=(d(b),c[0]),p=d(o.ownerSVGElement),q=o.ownerDocument,r=(parseInt(c.css("stroke-width"),10)||0)/2;!o.getBBox;)o=o.parentNode;if(!o.getBBox||!o.parentNode)return E;switch(o.nodeName){case"ellipse":case"circle":m=R.polys.ellipse(o.cx.baseVal.value,o.cy.baseVal.value,(o.rx||o.r).baseVal.value+r,(o.ry||o.r).baseVal.value+r,e);break;case"line":case"polygon":case"polyline":for(l=o.points||[{x:o.x1.baseVal.value,y:o.y1.baseVal.value},{x:o.x2.baseVal.value,y:o.y2.baseVal.value}],m=[],k=-1,i=l.numberOfItems||l.length;++k';d.extend(x.prototype,{_scroll:function(){var b=this.qtip.elements.overlay;b&&(b[0].style.top=d(a).scrollTop()+"px")},init:function(c){var e=c.tooltip;d("select, object").length<1&&(this.bgiframe=c.elements.bgiframe=d(Bb).appendTo(e),c._bind(e,"tooltipmove",this.adjustBGIFrame,this._ns,this)),this.redrawContainer=d("
    ",{id:S+"-rcontainer"}).appendTo(b.body),c.elements.overlay&&c.elements.overlay.addClass("qtipmodal-ie6fix")&&(c._bind(a,["scroll","resize"],this._scroll,this._ns,this),c._bind(e,["tooltipshow"],this._scroll,this._ns,this)),this.redraw()},adjustBGIFrame:function(){var a,b,c=this.qtip.tooltip,d={height:c.outerHeight(E),width:c.outerWidth(E)},e=this.qtip.plugins.tip,f=this.qtip.elements.tip;b=parseInt(c.css("borderLeftWidth"),10)||0,b={left:-b,top:-b},e&&f&&(a="x"===e.corner.precedance?[I,L]:[J,K],b[a[1]]-=f[a[0]]()),this.bgiframe.css(b).css(d)},redraw:function(){if(this.qtip.rendered<1||this.drawing)return this;var a,b,c,d,e=this.qtip.tooltip,f=this.qtip.options.style,g=this.qtip.options.position.container;return this.qtip.drawing=1,f.height&&e.css(J,f.height),f.width?e.css(I,f.width):(e.css(I,"").appendTo(this.redrawContainer),b=e.width(),1>b%2&&(b+=1),c=e.css("maxWidth")||"",d=e.css("minWidth")||"",a=(c+d).indexOf("%")>-1?g.width()/100:0,c=(c.indexOf("%")>-1?a:1)*parseInt(c,10)||b,d=(d.indexOf("%")>-1?a:1)*parseInt(d,10)||0,b=c+d?Math.min(Math.max(b,d),c):b,e.css(I,Math.round(b)).appendTo(g)),this.drawing=0,this},destroy:function(){this.bgiframe&&this.bgiframe.remove(),this.qtip._unbind([a,this.qtip.tooltip],this._ns)}}),Ab=R.ie6=function(a){return 6===db.ie?new x(a):E},Ab.initialize="render",B.ie6={"^content|style$":function(){this.redraw()}}})}(window,document); +//# sourceMappingURL=jquery.qtip.min.map \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/assets/js/vendor/select2.js b/wp-content/plugins/google-calendar-events/assets/js/vendor/select2.js new file mode 100644 index 0000000..fbaca5e --- /dev/null +++ b/wp-content/plugins/google-calendar-events/assets/js/vendor/select2.js @@ -0,0 +1,5403 @@ +/*! + * Select2 4.0.0 + * https://select2.github.io + * + * Released under the MIT license + * https://github.com/select2/select2/blob/master/LICENSE.md + */ +(function (factory) { + if (typeof define === 'function' && define.amd) { + // AMD. Register as an anonymous module. + define(['jquery'], factory); + } else if (typeof exports === 'object') { + // Node/CommonJS + factory(require('jquery')); + } else { + // Browser globals + factory(jQuery); + } +}(function (jQuery) { + // This is needed so we can catch the AMD loader configuration and use it + // The inner file should be wrapped (by `banner.start.js`) in a function that + // returns the AMD loader references. + var S2 = +(function () { + // Restore the Select2 AMD loader so it can be used + // Needed mostly in the language files, where the loader is not inserted + if (jQuery && jQuery.fn && jQuery.fn.select2 && jQuery.fn.select2.amd) { + var S2 = jQuery.fn.select2.amd; + } +var S2;(function () { if (!S2 || !S2.requirejs) { +if (!S2) { S2 = {}; } else { require = S2; } +/** + * @license almond 0.2.9 Copyright (c) 2011-2014, The Dojo Foundation All Rights Reserved. + * Available via the MIT or new BSD license. + * see: http://github.com/jrburke/almond for details + */ +//Going sloppy to avoid 'use strict' string cost, but strict practices should +//be followed. +/*jslint sloppy: true */ +/*global setTimeout: false */ + +var requirejs, require, define; +(function (undef) { + var main, req, makeMap, handlers, + defined = {}, + waiting = {}, + config = {}, + defining = {}, + hasOwn = Object.prototype.hasOwnProperty, + aps = [].slice, + jsSuffixRegExp = /\.js$/; + + function hasProp(obj, prop) { + return hasOwn.call(obj, prop); + } + + /** + * Given a relative module name, like ./something, normalize it to + * a real name that can be mapped to a path. + * @param {String} name the relative name + * @param {String} baseName a real name that the name arg is relative + * to. + * @returns {String} normalized name + */ + function normalize(name, baseName) { + var nameParts, nameSegment, mapValue, foundMap, lastIndex, + foundI, foundStarMap, starI, i, j, part, + baseParts = baseName && baseName.split("/"), + map = config.map, + starMap = (map && map['*']) || {}; + + //Adjust any relative paths. + if (name && name.charAt(0) === ".") { + //If have a base name, try to normalize against it, + //otherwise, assume it is a top-level require that will + //be relative to baseUrl in the end. + if (baseName) { + //Convert baseName to array, and lop off the last part, + //so that . matches that "directory" and not name of the baseName's + //module. For instance, baseName of "one/two/three", maps to + //"one/two/three.js", but we want the directory, "one/two" for + //this normalization. + baseParts = baseParts.slice(0, baseParts.length - 1); + name = name.split('/'); + lastIndex = name.length - 1; + + // Node .js allowance: + if (config.nodeIdCompat && jsSuffixRegExp.test(name[lastIndex])) { + name[lastIndex] = name[lastIndex].replace(jsSuffixRegExp, ''); + } + + name = baseParts.concat(name); + + //start trimDots + for (i = 0; i < name.length; i += 1) { + part = name[i]; + if (part === ".") { + name.splice(i, 1); + i -= 1; + } else if (part === "..") { + if (i === 1 && (name[2] === '..' || name[0] === '..')) { + //End of the line. Keep at least one non-dot + //path segment at the front so it can be mapped + //correctly to disk. Otherwise, there is likely + //no path mapping for a path starting with '..'. + //This can still fail, but catches the most reasonable + //uses of .. + break; + } else if (i > 0) { + name.splice(i - 1, 2); + i -= 2; + } + } + } + //end trimDots + + name = name.join("/"); + } else if (name.indexOf('./') === 0) { + // No baseName, so this is ID is resolved relative + // to baseUrl, pull off the leading dot. + name = name.substring(2); + } + } + + //Apply map config if available. + if ((baseParts || starMap) && map) { + nameParts = name.split('/'); + + for (i = nameParts.length; i > 0; i -= 1) { + nameSegment = nameParts.slice(0, i).join("/"); + + if (baseParts) { + //Find the longest baseName segment match in the config. + //So, do joins on the biggest to smallest lengths of baseParts. + for (j = baseParts.length; j > 0; j -= 1) { + mapValue = map[baseParts.slice(0, j).join('/')]; + + //baseName segment has config, find if it has one for + //this name. + if (mapValue) { + mapValue = mapValue[nameSegment]; + if (mapValue) { + //Match, update name to the new value. + foundMap = mapValue; + foundI = i; + break; + } + } + } + } + + if (foundMap) { + break; + } + + //Check for a star map match, but just hold on to it, + //if there is a shorter segment match later in a matching + //config, then favor over this star map. + if (!foundStarMap && starMap && starMap[nameSegment]) { + foundStarMap = starMap[nameSegment]; + starI = i; + } + } + + if (!foundMap && foundStarMap) { + foundMap = foundStarMap; + foundI = starI; + } + + if (foundMap) { + nameParts.splice(0, foundI, foundMap); + name = nameParts.join('/'); + } + } + + return name; + } + + function makeRequire(relName, forceSync) { + return function () { + //A version of a require function that passes a moduleName + //value for items that may need to + //look up paths relative to the moduleName + return req.apply(undef, aps.call(arguments, 0).concat([relName, forceSync])); + }; + } + + function makeNormalize(relName) { + return function (name) { + return normalize(name, relName); + }; + } + + function makeLoad(depName) { + return function (value) { + defined[depName] = value; + }; + } + + function callDep(name) { + if (hasProp(waiting, name)) { + var args = waiting[name]; + delete waiting[name]; + defining[name] = true; + main.apply(undef, args); + } + + if (!hasProp(defined, name) && !hasProp(defining, name)) { + throw new Error('No ' + name); + } + return defined[name]; + } + + //Turns a plugin!resource to [plugin, resource] + //with the plugin being undefined if the name + //did not have a plugin prefix. + function splitPrefix(name) { + var prefix, + index = name ? name.indexOf('!') : -1; + if (index > -1) { + prefix = name.substring(0, index); + name = name.substring(index + 1, name.length); + } + return [prefix, name]; + } + + /** + * Makes a name map, normalizing the name, and using a plugin + * for normalization if necessary. Grabs a ref to plugin + * too, as an optimization. + */ + makeMap = function (name, relName) { + var plugin, + parts = splitPrefix(name), + prefix = parts[0]; + + name = parts[1]; + + if (prefix) { + prefix = normalize(prefix, relName); + plugin = callDep(prefix); + } + + //Normalize according + if (prefix) { + if (plugin && plugin.normalize) { + name = plugin.normalize(name, makeNormalize(relName)); + } else { + name = normalize(name, relName); + } + } else { + name = normalize(name, relName); + parts = splitPrefix(name); + prefix = parts[0]; + name = parts[1]; + if (prefix) { + plugin = callDep(prefix); + } + } + + //Using ridiculous property names for space reasons + return { + f: prefix ? prefix + '!' + name : name, //fullName + n: name, + pr: prefix, + p: plugin + }; + }; + + function makeConfig(name) { + return function () { + return (config && config.config && config.config[name]) || {}; + }; + } + + handlers = { + require: function (name) { + return makeRequire(name); + }, + exports: function (name) { + var e = defined[name]; + if (typeof e !== 'undefined') { + return e; + } else { + return (defined[name] = {}); + } + }, + module: function (name) { + return { + id: name, + uri: '', + exports: defined[name], + config: makeConfig(name) + }; + } + }; + + main = function (name, deps, callback, relName) { + var cjsModule, depName, ret, map, i, + args = [], + callbackType = typeof callback, + usingExports; + + //Use name if no relName + relName = relName || name; + + //Call the callback to define the module, if necessary. + if (callbackType === 'undefined' || callbackType === 'function') { + //Pull out the defined dependencies and pass the ordered + //values to the callback. + //Default to [require, exports, module] if no deps + deps = !deps.length && callback.length ? ['require', 'exports', 'module'] : deps; + for (i = 0; i < deps.length; i += 1) { + map = makeMap(deps[i], relName); + depName = map.f; + + //Fast path CommonJS standard dependencies. + if (depName === "require") { + args[i] = handlers.require(name); + } else if (depName === "exports") { + //CommonJS module spec 1.1 + args[i] = handlers.exports(name); + usingExports = true; + } else if (depName === "module") { + //CommonJS module spec 1.1 + cjsModule = args[i] = handlers.module(name); + } else if (hasProp(defined, depName) || + hasProp(waiting, depName) || + hasProp(defining, depName)) { + args[i] = callDep(depName); + } else if (map.p) { + map.p.load(map.n, makeRequire(relName, true), makeLoad(depName), {}); + args[i] = defined[depName]; + } else { + throw new Error(name + ' missing ' + depName); + } + } + + ret = callback ? callback.apply(defined[name], args) : undefined; + + if (name) { + //If setting exports via "module" is in play, + //favor that over return value and exports. After that, + //favor a non-undefined return value over exports use. + if (cjsModule && cjsModule.exports !== undef && + cjsModule.exports !== defined[name]) { + defined[name] = cjsModule.exports; + } else if (ret !== undef || !usingExports) { + //Use the return value from the function. + defined[name] = ret; + } + } + } else if (name) { + //May just be an object definition for the module. Only + //worry about defining if have a module name. + defined[name] = callback; + } + }; + + requirejs = require = req = function (deps, callback, relName, forceSync, alt) { + if (typeof deps === "string") { + if (handlers[deps]) { + //callback in this case is really relName + return handlers[deps](callback); + } + //Just return the module wanted. In this scenario, the + //deps arg is the module name, and second arg (if passed) + //is just the relName. + //Normalize module name, if it contains . or .. + return callDep(makeMap(deps, callback).f); + } else if (!deps.splice) { + //deps is a config object, not an array. + config = deps; + if (config.deps) { + req(config.deps, config.callback); + } + if (!callback) { + return; + } + + if (callback.splice) { + //callback is an array, which means it is a dependency list. + //Adjust args if there are dependencies + deps = callback; + callback = relName; + relName = null; + } else { + deps = undef; + } + } + + //Support require(['a']) + callback = callback || function () {}; + + //If relName is a function, it is an errback handler, + //so remove it. + if (typeof relName === 'function') { + relName = forceSync; + forceSync = alt; + } + + //Simulate async callback; + if (forceSync) { + main(undef, deps, callback, relName); + } else { + //Using a non-zero value because of concern for what old browsers + //do, and latest browsers "upgrade" to 4 if lower value is used: + //http://www.whatwg.org/specs/web-apps/current-work/multipage/timers.html#dom-windowtimers-settimeout: + //If want a value immediately, use require('id') instead -- something + //that works in almond on the global level, but not guaranteed and + //unlikely to work in other AMD implementations. + setTimeout(function () { + main(undef, deps, callback, relName); + }, 4); + } + + return req; + }; + + /** + * Just drops the config on the floor, but returns req in case + * the config return value is used. + */ + req.config = function (cfg) { + return req(cfg); + }; + + /** + * Expose module registry for debugging and tooling + */ + requirejs._defined = defined; + + define = function (name, deps, callback) { + + //This module may not have dependencies + if (!deps.splice) { + //deps is not an array, so probably means + //an object literal or factory function for + //the value. Adjust args. + callback = deps; + deps = []; + } + + if (!hasProp(defined, name) && !hasProp(waiting, name)) { + waiting[name] = [name, deps, callback]; + } + }; + + define.amd = { + jQuery: true + }; +}()); + +S2.requirejs = requirejs;S2.require = require;S2.define = define; +} +}()); +S2.define("almond", function(){}); + +/* global jQuery:false, $:false */ +S2.define('jquery',[],function () { + var _$ = jQuery || $; + + if (_$ == null && console && console.error) { + console.error( + 'Select2: An instance of jQuery or a jQuery-compatible library was not ' + + 'found. Make sure that you are including jQuery before Select2 on your ' + + 'web page.' + ); + } + + return _$; +}); + +S2.define('select2/utils',[ + 'jquery' +], function ($) { + var Utils = {}; + + Utils.Extend = function (ChildClass, SuperClass) { + var __hasProp = {}.hasOwnProperty; + + function BaseConstructor () { + this.constructor = ChildClass; + } + + for (var key in SuperClass) { + if (__hasProp.call(SuperClass, key)) { + ChildClass[key] = SuperClass[key]; + } + } + + BaseConstructor.prototype = SuperClass.prototype; + ChildClass.prototype = new BaseConstructor(); + ChildClass.__super__ = SuperClass.prototype; + + return ChildClass; + }; + + function getMethods (theClass) { + var proto = theClass.prototype; + + var methods = []; + + for (var methodName in proto) { + var m = proto[methodName]; + + if (typeof m !== 'function') { + continue; + } + + if (methodName === 'constructor') { + continue; + } + + methods.push(methodName); + } + + return methods; + } + + Utils.Decorate = function (SuperClass, DecoratorClass) { + var decoratedMethods = getMethods(DecoratorClass); + var superMethods = getMethods(SuperClass); + + function DecoratedClass () { + var unshift = Array.prototype.unshift; + + var argCount = DecoratorClass.prototype.constructor.length; + + var calledConstructor = SuperClass.prototype.constructor; + + if (argCount > 0) { + unshift.call(arguments, SuperClass.prototype.constructor); + + calledConstructor = DecoratorClass.prototype.constructor; + } + + calledConstructor.apply(this, arguments); + } + + DecoratorClass.displayName = SuperClass.displayName; + + function ctr () { + this.constructor = DecoratedClass; + } + + DecoratedClass.prototype = new ctr(); + + for (var m = 0; m < superMethods.length; m++) { + var superMethod = superMethods[m]; + + DecoratedClass.prototype[superMethod] = + SuperClass.prototype[superMethod]; + } + + var calledMethod = function (methodName) { + // Stub out the original method if it's not decorating an actual method + var originalMethod = function () {}; + + if (methodName in DecoratedClass.prototype) { + originalMethod = DecoratedClass.prototype[methodName]; + } + + var decoratedMethod = DecoratorClass.prototype[methodName]; + + return function () { + var unshift = Array.prototype.unshift; + + unshift.call(arguments, originalMethod); + + return decoratedMethod.apply(this, arguments); + }; + }; + + for (var d = 0; d < decoratedMethods.length; d++) { + var decoratedMethod = decoratedMethods[d]; + + DecoratedClass.prototype[decoratedMethod] = calledMethod(decoratedMethod); + } + + return DecoratedClass; + }; + + var Observable = function () { + this.listeners = {}; + }; + + Observable.prototype.on = function (event, callback) { + this.listeners = this.listeners || {}; + + if (event in this.listeners) { + this.listeners[event].push(callback); + } else { + this.listeners[event] = [callback]; + } + }; + + Observable.prototype.trigger = function (event) { + var slice = Array.prototype.slice; + + this.listeners = this.listeners || {}; + + if (event in this.listeners) { + this.invoke(this.listeners[event], slice.call(arguments, 1)); + } + + if ('*' in this.listeners) { + this.invoke(this.listeners['*'], arguments); + } + }; + + Observable.prototype.invoke = function (listeners, params) { + for (var i = 0, len = listeners.length; i < len; i++) { + listeners[i].apply(this, params); + } + }; + + Utils.Observable = Observable; + + Utils.generateChars = function (length) { + var chars = ''; + + for (var i = 0; i < length; i++) { + var randomChar = Math.floor(Math.random() * 36); + chars += randomChar.toString(36); + } + + return chars; + }; + + Utils.bind = function (func, context) { + return function () { + func.apply(context, arguments); + }; + }; + + Utils._convertData = function (data) { + for (var originalKey in data) { + var keys = originalKey.split('-'); + + var dataLevel = data; + + if (keys.length === 1) { + continue; + } + + for (var k = 0; k < keys.length; k++) { + var key = keys[k]; + + // Lowercase the first letter + // By default, dash-separated becomes camelCase + key = key.substring(0, 1).toLowerCase() + key.substring(1); + + if (!(key in dataLevel)) { + dataLevel[key] = {}; + } + + if (k == keys.length - 1) { + dataLevel[key] = data[originalKey]; + } + + dataLevel = dataLevel[key]; + } + + delete data[originalKey]; + } + + return data; + }; + + Utils.hasScroll = function (index, el) { + // Adapted from the function created by @ShadowScripter + // and adapted by @BillBarry on the Stack Exchange Code Review website. + // The original code can be found at + // http://codereview.stackexchange.com/q/13338 + // and was designed to be used with the Sizzle selector engine. + + var $el = $(el); + var overflowX = el.style.overflowX; + var overflowY = el.style.overflowY; + + //Check both x and y declarations + if (overflowX === overflowY && + (overflowY === 'hidden' || overflowY === 'visible')) { + return false; + } + + if (overflowX === 'scroll' || overflowY === 'scroll') { + return true; + } + + return ($el.innerHeight() < el.scrollHeight || + $el.innerWidth() < el.scrollWidth); + }; + + Utils.escapeMarkup = function (markup) { + var replaceMap = { + '\\': '\', + '&': '&', + '<': '<', + '>': '>', + '"': '"', + '\'': ''', + '/': '/' + }; + + // Do not try to escape the markup if it's not a string + if (typeof markup !== 'string') { + return markup; + } + + return String(markup).replace(/[&<>"'\/\\]/g, function (match) { + return replaceMap[match]; + }); + }; + + // Append an array of jQuery nodes to a given element. + Utils.appendMany = function ($element, $nodes) { + // jQuery 1.7.x does not support $.fn.append() with an array + // Fall back to a jQuery object collection using $.fn.add() + if ($.fn.jquery.substr(0, 3) === '1.7') { + var $jqNodes = $(); + + $.map($nodes, function (node) { + $jqNodes = $jqNodes.add(node); + }); + + $nodes = $jqNodes; + } + + $element.append($nodes); + }; + + return Utils; +}); + +S2.define('select2/results',[ + 'jquery', + './utils' +], function ($, Utils) { + function Results ($element, options, dataAdapter) { + this.$element = $element; + this.data = dataAdapter; + this.options = options; + + Results.__super__.constructor.call(this); + } + + Utils.Extend(Results, Utils.Observable); + + Results.prototype.render = function () { + var $results = $( + '
      ' + ); + + if (this.options.get('multiple')) { + $results.attr('aria-multiselectable', 'true'); + } + + this.$results = $results; + + return $results; + }; + + Results.prototype.clear = function () { + this.$results.empty(); + }; + + Results.prototype.displayMessage = function (params) { + var escapeMarkup = this.options.get('escapeMarkup'); + + this.clear(); + this.hideLoading(); + + var $message = $( + '
    • ' + ); + + var message = this.options.get('translations').get(params.message); + + $message.append( + escapeMarkup( + message(params.args) + ) + ); + + this.$results.append($message); + }; + + Results.prototype.append = function (data) { + this.hideLoading(); + + var $options = []; + + if (data.results == null || data.results.length === 0) { + if (this.$results.children().length === 0) { + this.trigger('results:message', { + message: 'noResults' + }); + } + + return; + } + + data.results = this.sort(data.results); + + for (var d = 0; d < data.results.length; d++) { + var item = data.results[d]; + + var $option = this.option(item); + + $options.push($option); + } + + this.$results.append($options); + }; + + Results.prototype.position = function ($results, $dropdown) { + var $resultsContainer = $dropdown.find('.select2-results'); + $resultsContainer.append($results); + }; + + Results.prototype.sort = function (data) { + var sorter = this.options.get('sorter'); + + return sorter(data); + }; + + Results.prototype.setClasses = function () { + var self = this; + + this.data.current(function (selected) { + var selectedIds = $.map(selected, function (s) { + return s.id.toString(); + }); + + var $options = self.$results + .find('.select2-results__option[aria-selected]'); + + $options.each(function () { + var $option = $(this); + + var item = $.data(this, 'data'); + + // id needs to be converted to a string when comparing + var id = '' + item.id; + + if ((item.element != null && item.element.selected) || + (item.element == null && $.inArray(id, selectedIds) > -1)) { + $option.attr('aria-selected', 'true'); + } else { + $option.attr('aria-selected', 'false'); + } + }); + + var $selected = $options.filter('[aria-selected=true]'); + + // Check if there are any selected options + if ($selected.length > 0) { + // If there are selected options, highlight the first + $selected.first().trigger('mouseenter'); + } else { + // If there are no selected options, highlight the first option + // in the dropdown + $options.first().trigger('mouseenter'); + } + }); + }; + + Results.prototype.showLoading = function (params) { + this.hideLoading(); + + var loadingMore = this.options.get('translations').get('searching'); + + var loading = { + disabled: true, + loading: true, + text: loadingMore(params) + }; + var $loading = this.option(loading); + $loading.className += ' loading-results'; + + this.$results.prepend($loading); + }; + + Results.prototype.hideLoading = function () { + this.$results.find('.loading-results').remove(); + }; + + Results.prototype.option = function (data) { + var option = document.createElement('li'); + option.className = 'select2-results__option'; + + var attrs = { + 'role': 'treeitem', + 'aria-selected': 'false' + }; + + if (data.disabled) { + delete attrs['aria-selected']; + attrs['aria-disabled'] = 'true'; + } + + if (data.id == null) { + delete attrs['aria-selected']; + } + + if (data._resultId != null) { + option.id = data._resultId; + } + + if (data.title) { + option.title = data.title; + } + + if (data.children) { + attrs.role = 'group'; + attrs['aria-label'] = data.text; + delete attrs['aria-selected']; + } + + for (var attr in attrs) { + var val = attrs[attr]; + + option.setAttribute(attr, val); + } + + if (data.children) { + var $option = $(option); + + var label = document.createElement('strong'); + label.className = 'select2-results__group'; + + var $label = $(label); + this.template(data, label); + + var $children = []; + + for (var c = 0; c < data.children.length; c++) { + var child = data.children[c]; + + var $child = this.option(child); + + $children.push($child); + } + + var $childrenContainer = $('
        ', { + 'class': 'select2-results__options select2-results__options--nested' + }); + + $childrenContainer.append($children); + + $option.append(label); + $option.append($childrenContainer); + } else { + this.template(data, option); + } + + $.data(option, 'data', data); + + return option; + }; + + Results.prototype.bind = function (container, $container) { + var self = this; + + var id = container.id + '-results'; + + this.$results.attr('id', id); + + container.on('results:all', function (params) { + self.clear(); + self.append(params.data); + + if (container.isOpen()) { + self.setClasses(); + } + }); + + container.on('results:append', function (params) { + self.append(params.data); + + if (container.isOpen()) { + self.setClasses(); + } + }); + + container.on('query', function (params) { + self.showLoading(params); + }); + + container.on('select', function () { + if (!container.isOpen()) { + return; + } + + self.setClasses(); + }); + + container.on('unselect', function () { + if (!container.isOpen()) { + return; + } + + self.setClasses(); + }); + + container.on('open', function () { + // When the dropdown is open, aria-expended="true" + self.$results.attr('aria-expanded', 'true'); + self.$results.attr('aria-hidden', 'false'); + + self.setClasses(); + self.ensureHighlightVisible(); + }); + + container.on('close', function () { + // When the dropdown is closed, aria-expended="false" + self.$results.attr('aria-expanded', 'false'); + self.$results.attr('aria-hidden', 'true'); + self.$results.removeAttr('aria-activedescendant'); + }); + + container.on('results:toggle', function () { + var $highlighted = self.getHighlightedResults(); + + if ($highlighted.length === 0) { + return; + } + + $highlighted.trigger('mouseup'); + }); + + container.on('results:select', function () { + var $highlighted = self.getHighlightedResults(); + + if ($highlighted.length === 0) { + return; + } + + var data = $highlighted.data('data'); + + if ($highlighted.attr('aria-selected') == 'true') { + self.trigger('close'); + } else { + self.trigger('select', { + data: data + }); + } + }); + + container.on('results:previous', function () { + var $highlighted = self.getHighlightedResults(); + + var $options = self.$results.find('[aria-selected]'); + + var currentIndex = $options.index($highlighted); + + // If we are already at te top, don't move further + if (currentIndex === 0) { + return; + } + + var nextIndex = currentIndex - 1; + + // If none are highlighted, highlight the first + if ($highlighted.length === 0) { + nextIndex = 0; + } + + var $next = $options.eq(nextIndex); + + $next.trigger('mouseenter'); + + var currentOffset = self.$results.offset().top; + var nextTop = $next.offset().top; + var nextOffset = self.$results.scrollTop() + (nextTop - currentOffset); + + if (nextIndex === 0) { + self.$results.scrollTop(0); + } else if (nextTop - currentOffset < 0) { + self.$results.scrollTop(nextOffset); + } + }); + + container.on('results:next', function () { + var $highlighted = self.getHighlightedResults(); + + var $options = self.$results.find('[aria-selected]'); + + var currentIndex = $options.index($highlighted); + + var nextIndex = currentIndex + 1; + + // If we are at the last option, stay there + if (nextIndex >= $options.length) { + return; + } + + var $next = $options.eq(nextIndex); + + $next.trigger('mouseenter'); + + var currentOffset = self.$results.offset().top + + self.$results.outerHeight(false); + var nextBottom = $next.offset().top + $next.outerHeight(false); + var nextOffset = self.$results.scrollTop() + nextBottom - currentOffset; + + if (nextIndex === 0) { + self.$results.scrollTop(0); + } else if (nextBottom > currentOffset) { + self.$results.scrollTop(nextOffset); + } + }); + + container.on('results:focus', function (params) { + params.element.addClass('select2-results__option--highlighted'); + }); + + container.on('results:message', function (params) { + self.displayMessage(params); + }); + + if ($.fn.mousewheel) { + this.$results.on('mousewheel', function (e) { + var top = self.$results.scrollTop(); + + var bottom = ( + self.$results.get(0).scrollHeight - + self.$results.scrollTop() + + e.deltaY + ); + + var isAtTop = e.deltaY > 0 && top - e.deltaY <= 0; + var isAtBottom = e.deltaY < 0 && bottom <= self.$results.height(); + + if (isAtTop) { + self.$results.scrollTop(0); + + e.preventDefault(); + e.stopPropagation(); + } else if (isAtBottom) { + self.$results.scrollTop( + self.$results.get(0).scrollHeight - self.$results.height() + ); + + e.preventDefault(); + e.stopPropagation(); + } + }); + } + + this.$results.on('mouseup', '.select2-results__option[aria-selected]', + function (evt) { + var $this = $(this); + + var data = $this.data('data'); + + if ($this.attr('aria-selected') === 'true') { + if (self.options.get('multiple')) { + self.trigger('unselect', { + originalEvent: evt, + data: data + }); + } else { + self.trigger('close'); + } + + return; + } + + self.trigger('select', { + originalEvent: evt, + data: data + }); + }); + + this.$results.on('mouseenter', '.select2-results__option[aria-selected]', + function (evt) { + var data = $(this).data('data'); + + self.getHighlightedResults() + .removeClass('select2-results__option--highlighted'); + + self.trigger('results:focus', { + data: data, + element: $(this) + }); + }); + }; + + Results.prototype.getHighlightedResults = function () { + var $highlighted = this.$results + .find('.select2-results__option--highlighted'); + + return $highlighted; + }; + + Results.prototype.destroy = function () { + this.$results.remove(); + }; + + Results.prototype.ensureHighlightVisible = function () { + var $highlighted = this.getHighlightedResults(); + + if ($highlighted.length === 0) { + return; + } + + var $options = this.$results.find('[aria-selected]'); + + var currentIndex = $options.index($highlighted); + + var currentOffset = this.$results.offset().top; + var nextTop = $highlighted.offset().top; + var nextOffset = this.$results.scrollTop() + (nextTop - currentOffset); + + var offsetDelta = nextTop - currentOffset; + nextOffset -= $highlighted.outerHeight(false) * 2; + + if (currentIndex <= 2) { + this.$results.scrollTop(0); + } else if (offsetDelta > this.$results.outerHeight() || offsetDelta < 0) { + this.$results.scrollTop(nextOffset); + } + }; + + Results.prototype.template = function (result, container) { + var template = this.options.get('templateResult'); + var escapeMarkup = this.options.get('escapeMarkup'); + + var content = template(result); + + if (content == null) { + container.style.display = 'none'; + } else if (typeof content === 'string') { + container.innerHTML = escapeMarkup(content); + } else { + $(container).append(content); + } + }; + + return Results; +}); + +S2.define('select2/keys',[ + +], function () { + var KEYS = { + BACKSPACE: 8, + TAB: 9, + ENTER: 13, + SHIFT: 16, + CTRL: 17, + ALT: 18, + ESC: 27, + SPACE: 32, + PAGE_UP: 33, + PAGE_DOWN: 34, + END: 35, + HOME: 36, + LEFT: 37, + UP: 38, + RIGHT: 39, + DOWN: 40, + DELETE: 46 + }; + + return KEYS; +}); + +S2.define('select2/selection/base',[ + 'jquery', + '../utils', + '../keys' +], function ($, Utils, KEYS) { + function BaseSelection ($element, options) { + this.$element = $element; + this.options = options; + + BaseSelection.__super__.constructor.call(this); + } + + Utils.Extend(BaseSelection, Utils.Observable); + + BaseSelection.prototype.render = function () { + var $selection = $( + '' + ); + + this._tabindex = 0; + + if (this.$element.data('old-tabindex') != null) { + this._tabindex = this.$element.data('old-tabindex'); + } else if (this.$element.attr('tabindex') != null) { + this._tabindex = this.$element.attr('tabindex'); + } + + $selection.attr('title', this.$element.attr('title')); + $selection.attr('tabindex', this._tabindex); + + this.$selection = $selection; + + return $selection; + }; + + BaseSelection.prototype.bind = function (container, $container) { + var self = this; + + var id = container.id + '-container'; + var resultsId = container.id + '-results'; + + this.container = container; + + this.$selection.on('focus', function (evt) { + self.trigger('focus', evt); + }); + + this.$selection.on('blur', function (evt) { + self.trigger('blur', evt); + }); + + this.$selection.on('keydown', function (evt) { + self.trigger('keypress', evt); + + if (evt.which === KEYS.SPACE) { + evt.preventDefault(); + } + }); + + container.on('results:focus', function (params) { + self.$selection.attr('aria-activedescendant', params.data._resultId); + }); + + container.on('selection:update', function (params) { + self.update(params.data); + }); + + container.on('open', function () { + // When the dropdown is open, aria-expanded="true" + self.$selection.attr('aria-expanded', 'true'); + self.$selection.attr('aria-owns', resultsId); + + self._attachCloseHandler(container); + }); + + container.on('close', function () { + // When the dropdown is closed, aria-expanded="false" + self.$selection.attr('aria-expanded', 'false'); + self.$selection.removeAttr('aria-activedescendant'); + self.$selection.removeAttr('aria-owns'); + + self.$selection.focus(); + + self._detachCloseHandler(container); + }); + + container.on('enable', function () { + self.$selection.attr('tabindex', self._tabindex); + }); + + container.on('disable', function () { + self.$selection.attr('tabindex', '-1'); + }); + }; + + BaseSelection.prototype._attachCloseHandler = function (container) { + var self = this; + + $(document.body).on('mousedown.select2.' + container.id, function (e) { + var $target = $(e.target); + + var $select = $target.closest('.select2'); + + var $all = $('.select2.select2-container--open'); + + $all.each(function () { + var $this = $(this); + + if (this == $select[0]) { + return; + } + + var $element = $this.data('element'); + + $element.select2('close'); + }); + }); + }; + + BaseSelection.prototype._detachCloseHandler = function (container) { + $(document.body).off('mousedown.select2.' + container.id); + }; + + BaseSelection.prototype.position = function ($selection, $container) { + var $selectionContainer = $container.find('.selection'); + $selectionContainer.append($selection); + }; + + BaseSelection.prototype.destroy = function () { + this._detachCloseHandler(this.container); + }; + + BaseSelection.prototype.update = function (data) { + throw new Error('The `update` method must be defined in child classes.'); + }; + + return BaseSelection; +}); + +S2.define('select2/selection/single',[ + 'jquery', + './base', + '../utils', + '../keys' +], function ($, BaseSelection, Utils, KEYS) { + function SingleSelection () { + SingleSelection.__super__.constructor.apply(this, arguments); + } + + Utils.Extend(SingleSelection, BaseSelection); + + SingleSelection.prototype.render = function () { + var $selection = SingleSelection.__super__.render.call(this); + + $selection.addClass('select2-selection--single'); + + $selection.html( + '' + + '' + + '' + + '' + ); + + return $selection; + }; + + SingleSelection.prototype.bind = function (container, $container) { + var self = this; + + SingleSelection.__super__.bind.apply(this, arguments); + + var id = container.id + '-container'; + + this.$selection.find('.select2-selection__rendered').attr('id', id); + this.$selection.attr('aria-labelledby', id); + + this.$selection.on('mousedown', function (evt) { + // Only respond to left clicks + if (evt.which !== 1) { + return; + } + + self.trigger('toggle', { + originalEvent: evt + }); + }); + + this.$selection.on('focus', function (evt) { + // User focuses on the container + }); + + this.$selection.on('blur', function (evt) { + // User exits the container + }); + + container.on('selection:update', function (params) { + self.update(params.data); + }); + }; + + SingleSelection.prototype.clear = function () { + this.$selection.find('.select2-selection__rendered').empty(); + }; + + SingleSelection.prototype.display = function (data) { + var template = this.options.get('templateSelection'); + var escapeMarkup = this.options.get('escapeMarkup'); + + return escapeMarkup(template(data)); + }; + + SingleSelection.prototype.selectionContainer = function () { + return $(''); + }; + + SingleSelection.prototype.update = function (data) { + if (data.length === 0) { + this.clear(); + return; + } + + var selection = data[0]; + + var formatted = this.display(selection); + + var $rendered = this.$selection.find('.select2-selection__rendered'); + $rendered.empty().append(formatted); + $rendered.prop('title', selection.title || selection.text); + }; + + return SingleSelection; +}); + +S2.define('select2/selection/multiple',[ + 'jquery', + './base', + '../utils' +], function ($, BaseSelection, Utils) { + function MultipleSelection ($element, options) { + MultipleSelection.__super__.constructor.apply(this, arguments); + } + + Utils.Extend(MultipleSelection, BaseSelection); + + MultipleSelection.prototype.render = function () { + var $selection = MultipleSelection.__super__.render.call(this); + + $selection.addClass('select2-selection--multiple'); + + $selection.html( + '
          ' + ); + + return $selection; + }; + + MultipleSelection.prototype.bind = function (container, $container) { + var self = this; + + MultipleSelection.__super__.bind.apply(this, arguments); + + this.$selection.on('click', function (evt) { + self.trigger('toggle', { + originalEvent: evt + }); + }); + + this.$selection.on('click', '.select2-selection__choice__remove', + function (evt) { + var $remove = $(this); + var $selection = $remove.parent(); + + var data = $selection.data('data'); + + self.trigger('unselect', { + originalEvent: evt, + data: data + }); + }); + }; + + MultipleSelection.prototype.clear = function () { + this.$selection.find('.select2-selection__rendered').empty(); + }; + + MultipleSelection.prototype.display = function (data) { + var template = this.options.get('templateSelection'); + var escapeMarkup = this.options.get('escapeMarkup'); + + return escapeMarkup(template(data)); + }; + + MultipleSelection.prototype.selectionContainer = function () { + var $container = $( + '
        • ' + + '' + + '×' + + '' + + '
        • ' + ); + + return $container; + }; + + MultipleSelection.prototype.update = function (data) { + this.clear(); + + if (data.length === 0) { + return; + } + + var $selections = []; + + for (var d = 0; d < data.length; d++) { + var selection = data[d]; + + var formatted = this.display(selection); + var $selection = this.selectionContainer(); + + $selection.append(formatted); + $selection.prop('title', selection.title || selection.text); + + $selection.data('data', selection); + + $selections.push($selection); + } + + var $rendered = this.$selection.find('.select2-selection__rendered'); + + Utils.appendMany($rendered, $selections); + }; + + return MultipleSelection; +}); + +S2.define('select2/selection/placeholder',[ + '../utils' +], function (Utils) { + function Placeholder (decorated, $element, options) { + this.placeholder = this.normalizePlaceholder(options.get('placeholder')); + + decorated.call(this, $element, options); + } + + Placeholder.prototype.normalizePlaceholder = function (_, placeholder) { + if (typeof placeholder === 'string') { + placeholder = { + id: '', + text: placeholder + }; + } + + return placeholder; + }; + + Placeholder.prototype.createPlaceholder = function (decorated, placeholder) { + var $placeholder = this.selectionContainer(); + + $placeholder.html(this.display(placeholder)); + $placeholder.addClass('select2-selection__placeholder') + .removeClass('select2-selection__choice'); + + return $placeholder; + }; + + Placeholder.prototype.update = function (decorated, data) { + var singlePlaceholder = ( + data.length == 1 && data[0].id != this.placeholder.id + ); + var multipleSelections = data.length > 1; + + if (multipleSelections || singlePlaceholder) { + return decorated.call(this, data); + } + + this.clear(); + + var $placeholder = this.createPlaceholder(this.placeholder); + + this.$selection.find('.select2-selection__rendered').append($placeholder); + }; + + return Placeholder; +}); + +S2.define('select2/selection/allowClear',[ + 'jquery', + '../keys' +], function ($, KEYS) { + function AllowClear () { } + + AllowClear.prototype.bind = function (decorated, container, $container) { + var self = this; + + decorated.call(this, container, $container); + + if (this.placeholder == null) { + if (this.options.get('debug') && window.console && console.error) { + console.error( + 'Select2: The `allowClear` option should be used in combination ' + + 'with the `placeholder` option.' + ); + } + } + + this.$selection.on('mousedown', '.select2-selection__clear', + function (evt) { + self._handleClear(evt); + }); + + container.on('keypress', function (evt) { + self._handleKeyboardClear(evt, container); + }); + }; + + AllowClear.prototype._handleClear = function (_, evt) { + // Ignore the event if it is disabled + if (this.options.get('disabled')) { + return; + } + + var $clear = this.$selection.find('.select2-selection__clear'); + + // Ignore the event if nothing has been selected + if ($clear.length === 0) { + return; + } + + evt.stopPropagation(); + + var data = $clear.data('data'); + + for (var d = 0; d < data.length; d++) { + var unselectData = { + data: data[d] + }; + + // Trigger the `unselect` event, so people can prevent it from being + // cleared. + this.trigger('unselect', unselectData); + + // If the event was prevented, don't clear it out. + if (unselectData.prevented) { + return; + } + } + + this.$element.val(this.placeholder.id).trigger('change'); + + this.trigger('toggle'); + }; + + AllowClear.prototype._handleKeyboardClear = function (_, evt, container) { + if (container.isOpen()) { + return; + } + + if (evt.which == KEYS.DELETE || evt.which == KEYS.BACKSPACE) { + this._handleClear(evt); + } + }; + + AllowClear.prototype.update = function (decorated, data) { + decorated.call(this, data); + + if (this.$selection.find('.select2-selection__placeholder').length > 0 || + data.length === 0) { + return; + } + + var $remove = $( + '' + + '×' + + '' + ); + $remove.data('data', data); + + this.$selection.find('.select2-selection__rendered').prepend($remove); + }; + + return AllowClear; +}); + +S2.define('select2/selection/search',[ + 'jquery', + '../utils', + '../keys' +], function ($, Utils, KEYS) { + function Search (decorated, $element, options) { + decorated.call(this, $element, options); + } + + Search.prototype.render = function (decorated) { + var $search = $( + '' + ); + + this.$searchContainer = $search; + this.$search = $search.find('input'); + + var $rendered = decorated.call(this); + + return $rendered; + }; + + Search.prototype.bind = function (decorated, container, $container) { + var self = this; + + decorated.call(this, container, $container); + + container.on('open', function () { + self.$search.attr('tabindex', 0); + + self.$search.focus(); + }); + + container.on('close', function () { + self.$search.attr('tabindex', -1); + + self.$search.val(''); + self.$search.focus(); + }); + + container.on('enable', function () { + self.$search.prop('disabled', false); + }); + + container.on('disable', function () { + self.$search.prop('disabled', true); + }); + + this.$selection.on('focusin', '.select2-search--inline', function (evt) { + self.trigger('focus', evt); + }); + + this.$selection.on('focusout', '.select2-search--inline', function (evt) { + self.trigger('blur', evt); + }); + + this.$selection.on('keydown', '.select2-search--inline', function (evt) { + evt.stopPropagation(); + + self.trigger('keypress', evt); + + self._keyUpPrevented = evt.isDefaultPrevented(); + + var key = evt.which; + + if (key === KEYS.BACKSPACE && self.$search.val() === '') { + var $previousChoice = self.$searchContainer + .prev('.select2-selection__choice'); + + if ($previousChoice.length > 0) { + var item = $previousChoice.data('data'); + + self.searchRemoveChoice(item); + + evt.preventDefault(); + } + } + }); + + // Workaround for browsers which do not support the `input` event + // This will prevent double-triggering of events for browsers which support + // both the `keyup` and `input` events. + this.$selection.on('input', '.select2-search--inline', function (evt) { + // Unbind the duplicated `keyup` event + self.$selection.off('keyup.search'); + }); + + this.$selection.on('keyup.search input', '.select2-search--inline', + function (evt) { + self.handleSearch(evt); + }); + }; + + Search.prototype.createPlaceholder = function (decorated, placeholder) { + this.$search.attr('placeholder', placeholder.text); + }; + + Search.prototype.update = function (decorated, data) { + this.$search.attr('placeholder', ''); + + decorated.call(this, data); + + this.$selection.find('.select2-selection__rendered') + .append(this.$searchContainer); + + this.resizeSearch(); + }; + + Search.prototype.handleSearch = function () { + this.resizeSearch(); + + if (!this._keyUpPrevented) { + var input = this.$search.val(); + + this.trigger('query', { + term: input + }); + } + + this._keyUpPrevented = false; + }; + + Search.prototype.searchRemoveChoice = function (decorated, item) { + this.trigger('unselect', { + data: item + }); + + this.trigger('open'); + + this.$search.val(item.text + ' '); + }; + + Search.prototype.resizeSearch = function () { + this.$search.css('width', '25px'); + + var width = ''; + + if (this.$search.attr('placeholder') !== '') { + width = this.$selection.find('.select2-selection__rendered').innerWidth(); + } else { + var minimumWidth = this.$search.val().length + 1; + + width = (minimumWidth * 0.75) + 'em'; + } + + this.$search.css('width', width); + }; + + return Search; +}); + +S2.define('select2/selection/eventRelay',[ + 'jquery' +], function ($) { + function EventRelay () { } + + EventRelay.prototype.bind = function (decorated, container, $container) { + var self = this; + var relayEvents = [ + 'open', 'opening', + 'close', 'closing', + 'select', 'selecting', + 'unselect', 'unselecting' + ]; + + var preventableEvents = ['opening', 'closing', 'selecting', 'unselecting']; + + decorated.call(this, container, $container); + + container.on('*', function (name, params) { + // Ignore events that should not be relayed + if ($.inArray(name, relayEvents) === -1) { + return; + } + + // The parameters should always be an object + params = params || {}; + + // Generate the jQuery event for the Select2 event + var evt = $.Event('select2:' + name, { + params: params + }); + + self.$element.trigger(evt); + + // Only handle preventable events if it was one + if ($.inArray(name, preventableEvents) === -1) { + return; + } + + params.prevented = evt.isDefaultPrevented(); + }); + }; + + return EventRelay; +}); + +S2.define('select2/translation',[ + 'jquery', + 'require' +], function ($, require) { + function Translation (dict) { + this.dict = dict || {}; + } + + Translation.prototype.all = function () { + return this.dict; + }; + + Translation.prototype.get = function (key) { + return this.dict[key]; + }; + + Translation.prototype.extend = function (translation) { + this.dict = $.extend({}, translation.all(), this.dict); + }; + + // Static functions + + Translation._cache = {}; + + Translation.loadPath = function (path) { + if (!(path in Translation._cache)) { + var translations = require(path); + + Translation._cache[path] = translations; + } + + return new Translation(Translation._cache[path]); + }; + + return Translation; +}); + +S2.define('select2/diacritics',[ + +], function () { + var diacritics = { + '\u24B6': 'A', + '\uFF21': 'A', + '\u00C0': 'A', + '\u00C1': 'A', + '\u00C2': 'A', + '\u1EA6': 'A', + '\u1EA4': 'A', + '\u1EAA': 'A', + '\u1EA8': 'A', + '\u00C3': 'A', + '\u0100': 'A', + '\u0102': 'A', + '\u1EB0': 'A', + '\u1EAE': 'A', + '\u1EB4': 'A', + '\u1EB2': 'A', + '\u0226': 'A', + '\u01E0': 'A', + '\u00C4': 'A', + '\u01DE': 'A', + '\u1EA2': 'A', + '\u00C5': 'A', + '\u01FA': 'A', + '\u01CD': 'A', + '\u0200': 'A', + '\u0202': 'A', + '\u1EA0': 'A', + '\u1EAC': 'A', + '\u1EB6': 'A', + '\u1E00': 'A', + '\u0104': 'A', + '\u023A': 'A', + '\u2C6F': 'A', + '\uA732': 'AA', + '\u00C6': 'AE', + '\u01FC': 'AE', + '\u01E2': 'AE', + '\uA734': 'AO', + '\uA736': 'AU', + '\uA738': 'AV', + '\uA73A': 'AV', + '\uA73C': 'AY', + '\u24B7': 'B', + '\uFF22': 'B', + '\u1E02': 'B', + '\u1E04': 'B', + '\u1E06': 'B', + '\u0243': 'B', + '\u0182': 'B', + '\u0181': 'B', + '\u24B8': 'C', + '\uFF23': 'C', + '\u0106': 'C', + '\u0108': 'C', + '\u010A': 'C', + '\u010C': 'C', + '\u00C7': 'C', + '\u1E08': 'C', + '\u0187': 'C', + '\u023B': 'C', + '\uA73E': 'C', + '\u24B9': 'D', + '\uFF24': 'D', + '\u1E0A': 'D', + '\u010E': 'D', + '\u1E0C': 'D', + '\u1E10': 'D', + '\u1E12': 'D', + '\u1E0E': 'D', + '\u0110': 'D', + '\u018B': 'D', + '\u018A': 'D', + '\u0189': 'D', + '\uA779': 'D', + '\u01F1': 'DZ', + '\u01C4': 'DZ', + '\u01F2': 'Dz', + '\u01C5': 'Dz', + '\u24BA': 'E', + '\uFF25': 'E', + '\u00C8': 'E', + '\u00C9': 'E', + '\u00CA': 'E', + '\u1EC0': 'E', + '\u1EBE': 'E', + '\u1EC4': 'E', + '\u1EC2': 'E', + '\u1EBC': 'E', + '\u0112': 'E', + '\u1E14': 'E', + '\u1E16': 'E', + '\u0114': 'E', + '\u0116': 'E', + '\u00CB': 'E', + '\u1EBA': 'E', + '\u011A': 'E', + '\u0204': 'E', + '\u0206': 'E', + '\u1EB8': 'E', + '\u1EC6': 'E', + '\u0228': 'E', + '\u1E1C': 'E', + '\u0118': 'E', + '\u1E18': 'E', + '\u1E1A': 'E', + '\u0190': 'E', + '\u018E': 'E', + '\u24BB': 'F', + '\uFF26': 'F', + '\u1E1E': 'F', + '\u0191': 'F', + '\uA77B': 'F', + '\u24BC': 'G', + '\uFF27': 'G', + '\u01F4': 'G', + '\u011C': 'G', + '\u1E20': 'G', + '\u011E': 'G', + '\u0120': 'G', + '\u01E6': 'G', + '\u0122': 'G', + '\u01E4': 'G', + '\u0193': 'G', + '\uA7A0': 'G', + '\uA77D': 'G', + '\uA77E': 'G', + '\u24BD': 'H', + '\uFF28': 'H', + '\u0124': 'H', + '\u1E22': 'H', + '\u1E26': 'H', + '\u021E': 'H', + '\u1E24': 'H', + '\u1E28': 'H', + '\u1E2A': 'H', + '\u0126': 'H', + '\u2C67': 'H', + '\u2C75': 'H', + '\uA78D': 'H', + '\u24BE': 'I', + '\uFF29': 'I', + '\u00CC': 'I', + '\u00CD': 'I', + '\u00CE': 'I', + '\u0128': 'I', + '\u012A': 'I', + '\u012C': 'I', + '\u0130': 'I', + '\u00CF': 'I', + '\u1E2E': 'I', + '\u1EC8': 'I', + '\u01CF': 'I', + '\u0208': 'I', + '\u020A': 'I', + '\u1ECA': 'I', + '\u012E': 'I', + '\u1E2C': 'I', + '\u0197': 'I', + '\u24BF': 'J', + '\uFF2A': 'J', + '\u0134': 'J', + '\u0248': 'J', + '\u24C0': 'K', + '\uFF2B': 'K', + '\u1E30': 'K', + '\u01E8': 'K', + '\u1E32': 'K', + '\u0136': 'K', + '\u1E34': 'K', + '\u0198': 'K', + '\u2C69': 'K', + '\uA740': 'K', + '\uA742': 'K', + '\uA744': 'K', + '\uA7A2': 'K', + '\u24C1': 'L', + '\uFF2C': 'L', + '\u013F': 'L', + '\u0139': 'L', + '\u013D': 'L', + '\u1E36': 'L', + '\u1E38': 'L', + '\u013B': 'L', + '\u1E3C': 'L', + '\u1E3A': 'L', + '\u0141': 'L', + '\u023D': 'L', + '\u2C62': 'L', + '\u2C60': 'L', + '\uA748': 'L', + '\uA746': 'L', + '\uA780': 'L', + '\u01C7': 'LJ', + '\u01C8': 'Lj', + '\u24C2': 'M', + '\uFF2D': 'M', + '\u1E3E': 'M', + '\u1E40': 'M', + '\u1E42': 'M', + '\u2C6E': 'M', + '\u019C': 'M', + '\u24C3': 'N', + '\uFF2E': 'N', + '\u01F8': 'N', + '\u0143': 'N', + '\u00D1': 'N', + '\u1E44': 'N', + '\u0147': 'N', + '\u1E46': 'N', + '\u0145': 'N', + '\u1E4A': 'N', + '\u1E48': 'N', + '\u0220': 'N', + '\u019D': 'N', + '\uA790': 'N', + '\uA7A4': 'N', + '\u01CA': 'NJ', + '\u01CB': 'Nj', + '\u24C4': 'O', + '\uFF2F': 'O', + '\u00D2': 'O', + '\u00D3': 'O', + '\u00D4': 'O', + '\u1ED2': 'O', + '\u1ED0': 'O', + '\u1ED6': 'O', + '\u1ED4': 'O', + '\u00D5': 'O', + '\u1E4C': 'O', + '\u022C': 'O', + '\u1E4E': 'O', + '\u014C': 'O', + '\u1E50': 'O', + '\u1E52': 'O', + '\u014E': 'O', + '\u022E': 'O', + '\u0230': 'O', + '\u00D6': 'O', + '\u022A': 'O', + '\u1ECE': 'O', + '\u0150': 'O', + '\u01D1': 'O', + '\u020C': 'O', + '\u020E': 'O', + '\u01A0': 'O', + '\u1EDC': 'O', + '\u1EDA': 'O', + '\u1EE0': 'O', + '\u1EDE': 'O', + '\u1EE2': 'O', + '\u1ECC': 'O', + '\u1ED8': 'O', + '\u01EA': 'O', + '\u01EC': 'O', + '\u00D8': 'O', + '\u01FE': 'O', + '\u0186': 'O', + '\u019F': 'O', + '\uA74A': 'O', + '\uA74C': 'O', + '\u01A2': 'OI', + '\uA74E': 'OO', + '\u0222': 'OU', + '\u24C5': 'P', + '\uFF30': 'P', + '\u1E54': 'P', + '\u1E56': 'P', + '\u01A4': 'P', + '\u2C63': 'P', + '\uA750': 'P', + '\uA752': 'P', + '\uA754': 'P', + '\u24C6': 'Q', + '\uFF31': 'Q', + '\uA756': 'Q', + '\uA758': 'Q', + '\u024A': 'Q', + '\u24C7': 'R', + '\uFF32': 'R', + '\u0154': 'R', + '\u1E58': 'R', + '\u0158': 'R', + '\u0210': 'R', + '\u0212': 'R', + '\u1E5A': 'R', + '\u1E5C': 'R', + '\u0156': 'R', + '\u1E5E': 'R', + '\u024C': 'R', + '\u2C64': 'R', + '\uA75A': 'R', + '\uA7A6': 'R', + '\uA782': 'R', + '\u24C8': 'S', + '\uFF33': 'S', + '\u1E9E': 'S', + '\u015A': 'S', + '\u1E64': 'S', + '\u015C': 'S', + '\u1E60': 'S', + '\u0160': 'S', + '\u1E66': 'S', + '\u1E62': 'S', + '\u1E68': 'S', + '\u0218': 'S', + '\u015E': 'S', + '\u2C7E': 'S', + '\uA7A8': 'S', + '\uA784': 'S', + '\u24C9': 'T', + '\uFF34': 'T', + '\u1E6A': 'T', + '\u0164': 'T', + '\u1E6C': 'T', + '\u021A': 'T', + '\u0162': 'T', + '\u1E70': 'T', + '\u1E6E': 'T', + '\u0166': 'T', + '\u01AC': 'T', + '\u01AE': 'T', + '\u023E': 'T', + '\uA786': 'T', + '\uA728': 'TZ', + '\u24CA': 'U', + '\uFF35': 'U', + '\u00D9': 'U', + '\u00DA': 'U', + '\u00DB': 'U', + '\u0168': 'U', + '\u1E78': 'U', + '\u016A': 'U', + '\u1E7A': 'U', + '\u016C': 'U', + '\u00DC': 'U', + '\u01DB': 'U', + '\u01D7': 'U', + '\u01D5': 'U', + '\u01D9': 'U', + '\u1EE6': 'U', + '\u016E': 'U', + '\u0170': 'U', + '\u01D3': 'U', + '\u0214': 'U', + '\u0216': 'U', + '\u01AF': 'U', + '\u1EEA': 'U', + '\u1EE8': 'U', + '\u1EEE': 'U', + '\u1EEC': 'U', + '\u1EF0': 'U', + '\u1EE4': 'U', + '\u1E72': 'U', + '\u0172': 'U', + '\u1E76': 'U', + '\u1E74': 'U', + '\u0244': 'U', + '\u24CB': 'V', + '\uFF36': 'V', + '\u1E7C': 'V', + '\u1E7E': 'V', + '\u01B2': 'V', + '\uA75E': 'V', + '\u0245': 'V', + '\uA760': 'VY', + '\u24CC': 'W', + '\uFF37': 'W', + '\u1E80': 'W', + '\u1E82': 'W', + '\u0174': 'W', + '\u1E86': 'W', + '\u1E84': 'W', + '\u1E88': 'W', + '\u2C72': 'W', + '\u24CD': 'X', + '\uFF38': 'X', + '\u1E8A': 'X', + '\u1E8C': 'X', + '\u24CE': 'Y', + '\uFF39': 'Y', + '\u1EF2': 'Y', + '\u00DD': 'Y', + '\u0176': 'Y', + '\u1EF8': 'Y', + '\u0232': 'Y', + '\u1E8E': 'Y', + '\u0178': 'Y', + '\u1EF6': 'Y', + '\u1EF4': 'Y', + '\u01B3': 'Y', + '\u024E': 'Y', + '\u1EFE': 'Y', + '\u24CF': 'Z', + '\uFF3A': 'Z', + '\u0179': 'Z', + '\u1E90': 'Z', + '\u017B': 'Z', + '\u017D': 'Z', + '\u1E92': 'Z', + '\u1E94': 'Z', + '\u01B5': 'Z', + '\u0224': 'Z', + '\u2C7F': 'Z', + '\u2C6B': 'Z', + '\uA762': 'Z', + '\u24D0': 'a', + '\uFF41': 'a', + '\u1E9A': 'a', + '\u00E0': 'a', + '\u00E1': 'a', + '\u00E2': 'a', + '\u1EA7': 'a', + '\u1EA5': 'a', + '\u1EAB': 'a', + '\u1EA9': 'a', + '\u00E3': 'a', + '\u0101': 'a', + '\u0103': 'a', + '\u1EB1': 'a', + '\u1EAF': 'a', + '\u1EB5': 'a', + '\u1EB3': 'a', + '\u0227': 'a', + '\u01E1': 'a', + '\u00E4': 'a', + '\u01DF': 'a', + '\u1EA3': 'a', + '\u00E5': 'a', + '\u01FB': 'a', + '\u01CE': 'a', + '\u0201': 'a', + '\u0203': 'a', + '\u1EA1': 'a', + '\u1EAD': 'a', + '\u1EB7': 'a', + '\u1E01': 'a', + '\u0105': 'a', + '\u2C65': 'a', + '\u0250': 'a', + '\uA733': 'aa', + '\u00E6': 'ae', + '\u01FD': 'ae', + '\u01E3': 'ae', + '\uA735': 'ao', + '\uA737': 'au', + '\uA739': 'av', + '\uA73B': 'av', + '\uA73D': 'ay', + '\u24D1': 'b', + '\uFF42': 'b', + '\u1E03': 'b', + '\u1E05': 'b', + '\u1E07': 'b', + '\u0180': 'b', + '\u0183': 'b', + '\u0253': 'b', + '\u24D2': 'c', + '\uFF43': 'c', + '\u0107': 'c', + '\u0109': 'c', + '\u010B': 'c', + '\u010D': 'c', + '\u00E7': 'c', + '\u1E09': 'c', + '\u0188': 'c', + '\u023C': 'c', + '\uA73F': 'c', + '\u2184': 'c', + '\u24D3': 'd', + '\uFF44': 'd', + '\u1E0B': 'd', + '\u010F': 'd', + '\u1E0D': 'd', + '\u1E11': 'd', + '\u1E13': 'd', + '\u1E0F': 'd', + '\u0111': 'd', + '\u018C': 'd', + '\u0256': 'd', + '\u0257': 'd', + '\uA77A': 'd', + '\u01F3': 'dz', + '\u01C6': 'dz', + '\u24D4': 'e', + '\uFF45': 'e', + '\u00E8': 'e', + '\u00E9': 'e', + '\u00EA': 'e', + '\u1EC1': 'e', + '\u1EBF': 'e', + '\u1EC5': 'e', + '\u1EC3': 'e', + '\u1EBD': 'e', + '\u0113': 'e', + '\u1E15': 'e', + '\u1E17': 'e', + '\u0115': 'e', + '\u0117': 'e', + '\u00EB': 'e', + '\u1EBB': 'e', + '\u011B': 'e', + '\u0205': 'e', + '\u0207': 'e', + '\u1EB9': 'e', + '\u1EC7': 'e', + '\u0229': 'e', + '\u1E1D': 'e', + '\u0119': 'e', + '\u1E19': 'e', + '\u1E1B': 'e', + '\u0247': 'e', + '\u025B': 'e', + '\u01DD': 'e', + '\u24D5': 'f', + '\uFF46': 'f', + '\u1E1F': 'f', + '\u0192': 'f', + '\uA77C': 'f', + '\u24D6': 'g', + '\uFF47': 'g', + '\u01F5': 'g', + '\u011D': 'g', + '\u1E21': 'g', + '\u011F': 'g', + '\u0121': 'g', + '\u01E7': 'g', + '\u0123': 'g', + '\u01E5': 'g', + '\u0260': 'g', + '\uA7A1': 'g', + '\u1D79': 'g', + '\uA77F': 'g', + '\u24D7': 'h', + '\uFF48': 'h', + '\u0125': 'h', + '\u1E23': 'h', + '\u1E27': 'h', + '\u021F': 'h', + '\u1E25': 'h', + '\u1E29': 'h', + '\u1E2B': 'h', + '\u1E96': 'h', + '\u0127': 'h', + '\u2C68': 'h', + '\u2C76': 'h', + '\u0265': 'h', + '\u0195': 'hv', + '\u24D8': 'i', + '\uFF49': 'i', + '\u00EC': 'i', + '\u00ED': 'i', + '\u00EE': 'i', + '\u0129': 'i', + '\u012B': 'i', + '\u012D': 'i', + '\u00EF': 'i', + '\u1E2F': 'i', + '\u1EC9': 'i', + '\u01D0': 'i', + '\u0209': 'i', + '\u020B': 'i', + '\u1ECB': 'i', + '\u012F': 'i', + '\u1E2D': 'i', + '\u0268': 'i', + '\u0131': 'i', + '\u24D9': 'j', + '\uFF4A': 'j', + '\u0135': 'j', + '\u01F0': 'j', + '\u0249': 'j', + '\u24DA': 'k', + '\uFF4B': 'k', + '\u1E31': 'k', + '\u01E9': 'k', + '\u1E33': 'k', + '\u0137': 'k', + '\u1E35': 'k', + '\u0199': 'k', + '\u2C6A': 'k', + '\uA741': 'k', + '\uA743': 'k', + '\uA745': 'k', + '\uA7A3': 'k', + '\u24DB': 'l', + '\uFF4C': 'l', + '\u0140': 'l', + '\u013A': 'l', + '\u013E': 'l', + '\u1E37': 'l', + '\u1E39': 'l', + '\u013C': 'l', + '\u1E3D': 'l', + '\u1E3B': 'l', + '\u017F': 'l', + '\u0142': 'l', + '\u019A': 'l', + '\u026B': 'l', + '\u2C61': 'l', + '\uA749': 'l', + '\uA781': 'l', + '\uA747': 'l', + '\u01C9': 'lj', + '\u24DC': 'm', + '\uFF4D': 'm', + '\u1E3F': 'm', + '\u1E41': 'm', + '\u1E43': 'm', + '\u0271': 'm', + '\u026F': 'm', + '\u24DD': 'n', + '\uFF4E': 'n', + '\u01F9': 'n', + '\u0144': 'n', + '\u00F1': 'n', + '\u1E45': 'n', + '\u0148': 'n', + '\u1E47': 'n', + '\u0146': 'n', + '\u1E4B': 'n', + '\u1E49': 'n', + '\u019E': 'n', + '\u0272': 'n', + '\u0149': 'n', + '\uA791': 'n', + '\uA7A5': 'n', + '\u01CC': 'nj', + '\u24DE': 'o', + '\uFF4F': 'o', + '\u00F2': 'o', + '\u00F3': 'o', + '\u00F4': 'o', + '\u1ED3': 'o', + '\u1ED1': 'o', + '\u1ED7': 'o', + '\u1ED5': 'o', + '\u00F5': 'o', + '\u1E4D': 'o', + '\u022D': 'o', + '\u1E4F': 'o', + '\u014D': 'o', + '\u1E51': 'o', + '\u1E53': 'o', + '\u014F': 'o', + '\u022F': 'o', + '\u0231': 'o', + '\u00F6': 'o', + '\u022B': 'o', + '\u1ECF': 'o', + '\u0151': 'o', + '\u01D2': 'o', + '\u020D': 'o', + '\u020F': 'o', + '\u01A1': 'o', + '\u1EDD': 'o', + '\u1EDB': 'o', + '\u1EE1': 'o', + '\u1EDF': 'o', + '\u1EE3': 'o', + '\u1ECD': 'o', + '\u1ED9': 'o', + '\u01EB': 'o', + '\u01ED': 'o', + '\u00F8': 'o', + '\u01FF': 'o', + '\u0254': 'o', + '\uA74B': 'o', + '\uA74D': 'o', + '\u0275': 'o', + '\u01A3': 'oi', + '\u0223': 'ou', + '\uA74F': 'oo', + '\u24DF': 'p', + '\uFF50': 'p', + '\u1E55': 'p', + '\u1E57': 'p', + '\u01A5': 'p', + '\u1D7D': 'p', + '\uA751': 'p', + '\uA753': 'p', + '\uA755': 'p', + '\u24E0': 'q', + '\uFF51': 'q', + '\u024B': 'q', + '\uA757': 'q', + '\uA759': 'q', + '\u24E1': 'r', + '\uFF52': 'r', + '\u0155': 'r', + '\u1E59': 'r', + '\u0159': 'r', + '\u0211': 'r', + '\u0213': 'r', + '\u1E5B': 'r', + '\u1E5D': 'r', + '\u0157': 'r', + '\u1E5F': 'r', + '\u024D': 'r', + '\u027D': 'r', + '\uA75B': 'r', + '\uA7A7': 'r', + '\uA783': 'r', + '\u24E2': 's', + '\uFF53': 's', + '\u00DF': 's', + '\u015B': 's', + '\u1E65': 's', + '\u015D': 's', + '\u1E61': 's', + '\u0161': 's', + '\u1E67': 's', + '\u1E63': 's', + '\u1E69': 's', + '\u0219': 's', + '\u015F': 's', + '\u023F': 's', + '\uA7A9': 's', + '\uA785': 's', + '\u1E9B': 's', + '\u24E3': 't', + '\uFF54': 't', + '\u1E6B': 't', + '\u1E97': 't', + '\u0165': 't', + '\u1E6D': 't', + '\u021B': 't', + '\u0163': 't', + '\u1E71': 't', + '\u1E6F': 't', + '\u0167': 't', + '\u01AD': 't', + '\u0288': 't', + '\u2C66': 't', + '\uA787': 't', + '\uA729': 'tz', + '\u24E4': 'u', + '\uFF55': 'u', + '\u00F9': 'u', + '\u00FA': 'u', + '\u00FB': 'u', + '\u0169': 'u', + '\u1E79': 'u', + '\u016B': 'u', + '\u1E7B': 'u', + '\u016D': 'u', + '\u00FC': 'u', + '\u01DC': 'u', + '\u01D8': 'u', + '\u01D6': 'u', + '\u01DA': 'u', + '\u1EE7': 'u', + '\u016F': 'u', + '\u0171': 'u', + '\u01D4': 'u', + '\u0215': 'u', + '\u0217': 'u', + '\u01B0': 'u', + '\u1EEB': 'u', + '\u1EE9': 'u', + '\u1EEF': 'u', + '\u1EED': 'u', + '\u1EF1': 'u', + '\u1EE5': 'u', + '\u1E73': 'u', + '\u0173': 'u', + '\u1E77': 'u', + '\u1E75': 'u', + '\u0289': 'u', + '\u24E5': 'v', + '\uFF56': 'v', + '\u1E7D': 'v', + '\u1E7F': 'v', + '\u028B': 'v', + '\uA75F': 'v', + '\u028C': 'v', + '\uA761': 'vy', + '\u24E6': 'w', + '\uFF57': 'w', + '\u1E81': 'w', + '\u1E83': 'w', + '\u0175': 'w', + '\u1E87': 'w', + '\u1E85': 'w', + '\u1E98': 'w', + '\u1E89': 'w', + '\u2C73': 'w', + '\u24E7': 'x', + '\uFF58': 'x', + '\u1E8B': 'x', + '\u1E8D': 'x', + '\u24E8': 'y', + '\uFF59': 'y', + '\u1EF3': 'y', + '\u00FD': 'y', + '\u0177': 'y', + '\u1EF9': 'y', + '\u0233': 'y', + '\u1E8F': 'y', + '\u00FF': 'y', + '\u1EF7': 'y', + '\u1E99': 'y', + '\u1EF5': 'y', + '\u01B4': 'y', + '\u024F': 'y', + '\u1EFF': 'y', + '\u24E9': 'z', + '\uFF5A': 'z', + '\u017A': 'z', + '\u1E91': 'z', + '\u017C': 'z', + '\u017E': 'z', + '\u1E93': 'z', + '\u1E95': 'z', + '\u01B6': 'z', + '\u0225': 'z', + '\u0240': 'z', + '\u2C6C': 'z', + '\uA763': 'z', + '\u0386': '\u0391', + '\u0388': '\u0395', + '\u0389': '\u0397', + '\u038A': '\u0399', + '\u03AA': '\u0399', + '\u038C': '\u039F', + '\u038E': '\u03A5', + '\u03AB': '\u03A5', + '\u038F': '\u03A9', + '\u03AC': '\u03B1', + '\u03AD': '\u03B5', + '\u03AE': '\u03B7', + '\u03AF': '\u03B9', + '\u03CA': '\u03B9', + '\u0390': '\u03B9', + '\u03CC': '\u03BF', + '\u03CD': '\u03C5', + '\u03CB': '\u03C5', + '\u03B0': '\u03C5', + '\u03C9': '\u03C9', + '\u03C2': '\u03C3' + }; + + return diacritics; +}); + +S2.define('select2/data/base',[ + '../utils' +], function (Utils) { + function BaseAdapter ($element, options) { + BaseAdapter.__super__.constructor.call(this); + } + + Utils.Extend(BaseAdapter, Utils.Observable); + + BaseAdapter.prototype.current = function (callback) { + throw new Error('The `current` method must be defined in child classes.'); + }; + + BaseAdapter.prototype.query = function (params, callback) { + throw new Error('The `query` method must be defined in child classes.'); + }; + + BaseAdapter.prototype.bind = function (container, $container) { + // Can be implemented in subclasses + }; + + BaseAdapter.prototype.destroy = function () { + // Can be implemented in subclasses + }; + + BaseAdapter.prototype.generateResultId = function (container, data) { + var id = container.id + '-result-'; + + id += Utils.generateChars(4); + + if (data.id != null) { + id += '-' + data.id.toString(); + } else { + id += '-' + Utils.generateChars(4); + } + return id; + }; + + return BaseAdapter; +}); + +S2.define('select2/data/select',[ + './base', + '../utils', + 'jquery' +], function (BaseAdapter, Utils, $) { + function SelectAdapter ($element, options) { + this.$element = $element; + this.options = options; + + SelectAdapter.__super__.constructor.call(this); + } + + Utils.Extend(SelectAdapter, BaseAdapter); + + SelectAdapter.prototype.current = function (callback) { + var data = []; + var self = this; + + this.$element.find(':selected').each(function () { + var $option = $(this); + + var option = self.item($option); + + data.push(option); + }); + + callback(data); + }; + + SelectAdapter.prototype.select = function (data) { + var self = this; + + data.selected = true; + + // If data.element is a DOM node, use it instead + if ($(data.element).is('option')) { + data.element.selected = true; + + this.$element.trigger('change'); + + return; + } + + if (this.$element.prop('multiple')) { + this.current(function (currentData) { + var val = []; + + data = [data]; + data.push.apply(data, currentData); + + for (var d = 0; d < data.length; d++) { + var id = data[d].id; + + if ($.inArray(id, val) === -1) { + val.push(id); + } + } + + self.$element.val(val); + self.$element.trigger('change'); + }); + } else { + var val = data.id; + + this.$element.val(val); + this.$element.trigger('change'); + } + }; + + SelectAdapter.prototype.unselect = function (data) { + var self = this; + + if (!this.$element.prop('multiple')) { + return; + } + + data.selected = false; + + if ($(data.element).is('option')) { + data.element.selected = false; + + this.$element.trigger('change'); + + return; + } + + this.current(function (currentData) { + var val = []; + + for (var d = 0; d < currentData.length; d++) { + var id = currentData[d].id; + + if (id !== data.id && $.inArray(id, val) === -1) { + val.push(id); + } + } + + self.$element.val(val); + + self.$element.trigger('change'); + }); + }; + + SelectAdapter.prototype.bind = function (container, $container) { + var self = this; + + this.container = container; + + container.on('select', function (params) { + self.select(params.data); + }); + + container.on('unselect', function (params) { + self.unselect(params.data); + }); + }; + + SelectAdapter.prototype.destroy = function () { + // Remove anything added to child elements + this.$element.find('*').each(function () { + // Remove any custom data set by Select2 + $.removeData(this, 'data'); + }); + }; + + SelectAdapter.prototype.query = function (params, callback) { + var data = []; + var self = this; + + var $options = this.$element.children(); + + $options.each(function () { + var $option = $(this); + + if (!$option.is('option') && !$option.is('optgroup')) { + return; + } + + var option = self.item($option); + + var matches = self.matches(params, option); + + if (matches !== null) { + data.push(matches); + } + }); + + callback({ + results: data + }); + }; + + SelectAdapter.prototype.addOptions = function ($options) { + Utils.appendMany(this.$element, $options); + }; + + SelectAdapter.prototype.option = function (data) { + var option; + + if (data.children) { + option = document.createElement('optgroup'); + option.label = data.text; + } else { + option = document.createElement('option'); + + if (option.textContent !== undefined) { + option.textContent = data.text; + } else { + option.innerText = data.text; + } + } + + if (data.id) { + option.value = data.id; + } + + if (data.disabled) { + option.disabled = true; + } + + if (data.selected) { + option.selected = true; + } + + if (data.title) { + option.title = data.title; + } + + var $option = $(option); + + var normalizedData = this._normalizeItem(data); + normalizedData.element = option; + + // Override the option's data with the combined data + $.data(option, 'data', normalizedData); + + return $option; + }; + + SelectAdapter.prototype.item = function ($option) { + var data = {}; + + data = $.data($option[0], 'data'); + + if (data != null) { + return data; + } + + if ($option.is('option')) { + data = { + id: $option.val(), + text: $option.text(), + disabled: $option.prop('disabled'), + selected: $option.prop('selected'), + title: $option.prop('title') + }; + } else if ($option.is('optgroup')) { + data = { + text: $option.prop('label'), + children: [], + title: $option.prop('title') + }; + + var $children = $option.children('option'); + var children = []; + + for (var c = 0; c < $children.length; c++) { + var $child = $($children[c]); + + var child = this.item($child); + + children.push(child); + } + + data.children = children; + } + + data = this._normalizeItem(data); + data.element = $option[0]; + + $.data($option[0], 'data', data); + + return data; + }; + + SelectAdapter.prototype._normalizeItem = function (item) { + if (!$.isPlainObject(item)) { + item = { + id: item, + text: item + }; + } + + item = $.extend({}, { + text: '' + }, item); + + var defaults = { + selected: false, + disabled: false + }; + + if (item.id != null) { + item.id = item.id.toString(); + } + + if (item.text != null) { + item.text = item.text.toString(); + } + + if (item._resultId == null && item.id && this.container != null) { + item._resultId = this.generateResultId(this.container, item); + } + + return $.extend({}, defaults, item); + }; + + SelectAdapter.prototype.matches = function (params, data) { + var matcher = this.options.get('matcher'); + + return matcher(params, data); + }; + + return SelectAdapter; +}); + +S2.define('select2/data/array',[ + './select', + '../utils', + 'jquery' +], function (SelectAdapter, Utils, $) { + function ArrayAdapter ($element, options) { + var data = options.get('data') || []; + + ArrayAdapter.__super__.constructor.call(this, $element, options); + + this.addOptions(this.convertToOptions(data)); + } + + Utils.Extend(ArrayAdapter, SelectAdapter); + + ArrayAdapter.prototype.select = function (data) { + var $option = this.$element.find('option').filter(function (i, elm) { + return elm.value == data.id.toString(); + }); + + if ($option.length === 0) { + $option = this.option(data); + + this.addOptions($option); + } + + ArrayAdapter.__super__.select.call(this, data); + }; + + ArrayAdapter.prototype.convertToOptions = function (data) { + var self = this; + + var $existing = this.$element.find('option'); + var existingIds = $existing.map(function () { + return self.item($(this)).id; + }).get(); + + var $options = []; + + // Filter out all items except for the one passed in the argument + function onlyItem (item) { + return function () { + return $(this).val() == item.id; + }; + } + + for (var d = 0; d < data.length; d++) { + var item = this._normalizeItem(data[d]); + + // Skip items which were pre-loaded, only merge the data + if ($.inArray(item.id, existingIds) >= 0) { + var $existingOption = $existing.filter(onlyItem(item)); + + var existingData = this.item($existingOption); + var newData = $.extend(true, {}, existingData, item); + + var $newOption = this.option(existingData); + + $existingOption.replaceWith($newOption); + + continue; + } + + var $option = this.option(item); + + if (item.children) { + var $children = this.convertToOptions(item.children); + + Utils.appendMany($option, $children); + } + + $options.push($option); + } + + return $options; + }; + + return ArrayAdapter; +}); + +S2.define('select2/data/ajax',[ + './array', + '../utils', + 'jquery' +], function (ArrayAdapter, Utils, $) { + function AjaxAdapter ($element, options) { + this.ajaxOptions = this._applyDefaults(options.get('ajax')); + + if (this.ajaxOptions.processResults != null) { + this.processResults = this.ajaxOptions.processResults; + } + + ArrayAdapter.__super__.constructor.call(this, $element, options); + } + + Utils.Extend(AjaxAdapter, ArrayAdapter); + + AjaxAdapter.prototype._applyDefaults = function (options) { + var defaults = { + data: function (params) { + return { + q: params.term + }; + }, + transport: function (params, success, failure) { + var $request = $.ajax(params); + + $request.then(success); + $request.fail(failure); + + return $request; + } + }; + + return $.extend({}, defaults, options, true); + }; + + AjaxAdapter.prototype.processResults = function (results) { + return results; + }; + + AjaxAdapter.prototype.query = function (params, callback) { + var matches = []; + var self = this; + + if (this._request != null) { + // JSONP requests cannot always be aborted + if ($.isFunction(this._request.abort)) { + this._request.abort(); + } + + this._request = null; + } + + var options = $.extend({ + type: 'GET' + }, this.ajaxOptions); + + if (typeof options.url === 'function') { + options.url = options.url(params); + } + + if (typeof options.data === 'function') { + options.data = options.data(params); + } + + function request () { + var $request = options.transport(options, function (data) { + var results = self.processResults(data, params); + + if (self.options.get('debug') && window.console && console.error) { + // Check to make sure that the response included a `results` key. + if (!results || !results.results || !$.isArray(results.results)) { + console.error( + 'Select2: The AJAX results did not return an array in the ' + + '`results` key of the response.' + ); + } + } + + callback(results); + }, function () { + // TODO: Handle AJAX errors + }); + + self._request = $request; + } + + if (this.ajaxOptions.delay && params.term !== '') { + if (this._queryTimeout) { + window.clearTimeout(this._queryTimeout); + } + + this._queryTimeout = window.setTimeout(request, this.ajaxOptions.delay); + } else { + request(); + } + }; + + return AjaxAdapter; +}); + +S2.define('select2/data/tags',[ + 'jquery' +], function ($) { + function Tags (decorated, $element, options) { + var tags = options.get('tags'); + + var createTag = options.get('createTag'); + + if (createTag !== undefined) { + this.createTag = createTag; + } + + decorated.call(this, $element, options); + + if ($.isArray(tags)) { + for (var t = 0; t < tags.length; t++) { + var tag = tags[t]; + var item = this._normalizeItem(tag); + + var $option = this.option(item); + + this.$element.append($option); + } + } + } + + Tags.prototype.query = function (decorated, params, callback) { + var self = this; + + this._removeOldTags(); + + if (params.term == null || params.page != null) { + decorated.call(this, params, callback); + return; + } + + function wrapper (obj, child) { + var data = obj.results; + + for (var i = 0; i < data.length; i++) { + var option = data[i]; + + var checkChildren = ( + option.children != null && + !wrapper({ + results: option.children + }, true) + ); + + var checkText = option.text === params.term; + + if (checkText || checkChildren) { + if (child) { + return false; + } + + obj.data = data; + callback(obj); + + return; + } + } + + if (child) { + return true; + } + + var tag = self.createTag(params); + + if (tag != null) { + var $option = self.option(tag); + $option.attr('data-select2-tag', true); + + self.addOptions([$option]); + + self.insertTag(data, tag); + } + + obj.results = data; + + callback(obj); + } + + decorated.call(this, params, wrapper); + }; + + Tags.prototype.createTag = function (decorated, params) { + var term = $.trim(params.term); + + if (term === '') { + return null; + } + + return { + id: term, + text: term + }; + }; + + Tags.prototype.insertTag = function (_, data, tag) { + data.unshift(tag); + }; + + Tags.prototype._removeOldTags = function (_) { + var tag = this._lastTag; + + var $options = this.$element.find('option[data-select2-tag]'); + + $options.each(function () { + if (this.selected) { + return; + } + + $(this).remove(); + }); + }; + + return Tags; +}); + +S2.define('select2/data/tokenizer',[ + 'jquery' +], function ($) { + function Tokenizer (decorated, $element, options) { + var tokenizer = options.get('tokenizer'); + + if (tokenizer !== undefined) { + this.tokenizer = tokenizer; + } + + decorated.call(this, $element, options); + } + + Tokenizer.prototype.bind = function (decorated, container, $container) { + decorated.call(this, container, $container); + + this.$search = container.dropdown.$search || container.selection.$search || + $container.find('.select2-search__field'); + }; + + Tokenizer.prototype.query = function (decorated, params, callback) { + var self = this; + + function select (data) { + self.select(data); + } + + params.term = params.term || ''; + + var tokenData = this.tokenizer(params, this.options, select); + + if (tokenData.term !== params.term) { + // Replace the search term if we have the search box + if (this.$search.length) { + this.$search.val(tokenData.term); + this.$search.focus(); + } + + params.term = tokenData.term; + } + + decorated.call(this, params, callback); + }; + + Tokenizer.prototype.tokenizer = function (_, params, options, callback) { + var separators = options.get('tokenSeparators') || []; + var term = params.term; + var i = 0; + + var createTag = this.createTag || function (params) { + return { + id: params.term, + text: params.term + }; + }; + + while (i < term.length) { + var termChar = term[i]; + + if ($.inArray(termChar, separators) === -1) { + i++; + + continue; + } + + var part = term.substr(0, i); + var partParams = $.extend({}, params, { + term: part + }); + + var data = createTag(partParams); + + callback(data); + + // Reset the term to not include the tokenized portion + term = term.substr(i + 1) || ''; + i = 0; + } + + return { + term: term + }; + }; + + return Tokenizer; +}); + +S2.define('select2/data/minimumInputLength',[ + +], function () { + function MinimumInputLength (decorated, $e, options) { + this.minimumInputLength = options.get('minimumInputLength'); + + decorated.call(this, $e, options); + } + + MinimumInputLength.prototype.query = function (decorated, params, callback) { + params.term = params.term || ''; + + if (params.term.length < this.minimumInputLength) { + this.trigger('results:message', { + message: 'inputTooShort', + args: { + minimum: this.minimumInputLength, + input: params.term, + params: params + } + }); + + return; + } + + decorated.call(this, params, callback); + }; + + return MinimumInputLength; +}); + +S2.define('select2/data/maximumInputLength',[ + +], function () { + function MaximumInputLength (decorated, $e, options) { + this.maximumInputLength = options.get('maximumInputLength'); + + decorated.call(this, $e, options); + } + + MaximumInputLength.prototype.query = function (decorated, params, callback) { + params.term = params.term || ''; + + if (this.maximumInputLength > 0 && + params.term.length > this.maximumInputLength) { + this.trigger('results:message', { + message: 'inputTooLong', + args: { + maximum: this.maximumInputLength, + input: params.term, + params: params + } + }); + + return; + } + + decorated.call(this, params, callback); + }; + + return MaximumInputLength; +}); + +S2.define('select2/data/maximumSelectionLength',[ + +], function (){ + function MaximumSelectionLength (decorated, $e, options) { + this.maximumSelectionLength = options.get('maximumSelectionLength'); + + decorated.call(this, $e, options); + } + + MaximumSelectionLength.prototype.query = + function (decorated, params, callback) { + var self = this; + + this.current(function (currentData) { + var count = currentData != null ? currentData.length : 0; + if (self.maximumSelectionLength > 0 && + count >= self.maximumSelectionLength) { + self.trigger('results:message', { + message: 'maximumSelected', + args: { + maximum: self.maximumSelectionLength + } + }); + return; + } + decorated.call(self, params, callback); + }); + }; + + return MaximumSelectionLength; +}); + +S2.define('select2/dropdown',[ + 'jquery', + './utils' +], function ($, Utils) { + function Dropdown ($element, options) { + this.$element = $element; + this.options = options; + + Dropdown.__super__.constructor.call(this); + } + + Utils.Extend(Dropdown, Utils.Observable); + + Dropdown.prototype.render = function () { + var $dropdown = $( + '' + + '' + + '' + ); + + $dropdown.attr('dir', this.options.get('dir')); + + this.$dropdown = $dropdown; + + return $dropdown; + }; + + Dropdown.prototype.position = function ($dropdown, $container) { + // Should be implmented in subclasses + }; + + Dropdown.prototype.destroy = function () { + // Remove the dropdown from the DOM + this.$dropdown.remove(); + }; + + return Dropdown; +}); + +S2.define('select2/dropdown/search',[ + 'jquery', + '../utils' +], function ($, Utils) { + function Search () { } + + Search.prototype.render = function (decorated) { + var $rendered = decorated.call(this); + + var $search = $( + '' + + '' + + '' + ); + + this.$searchContainer = $search; + this.$search = $search.find('input'); + + $rendered.prepend($search); + + return $rendered; + }; + + Search.prototype.bind = function (decorated, container, $container) { + var self = this; + + decorated.call(this, container, $container); + + this.$search.on('keydown', function (evt) { + self.trigger('keypress', evt); + + self._keyUpPrevented = evt.isDefaultPrevented(); + }); + + // Workaround for browsers which do not support the `input` event + // This will prevent double-triggering of events for browsers which support + // both the `keyup` and `input` events. + this.$search.on('input', function (evt) { + // Unbind the duplicated `keyup` event + $(this).off('keyup'); + }); + + this.$search.on('keyup input', function (evt) { + self.handleSearch(evt); + }); + + container.on('open', function () { + self.$search.attr('tabindex', 0); + + self.$search.focus(); + + window.setTimeout(function () { + self.$search.focus(); + }, 0); + }); + + container.on('close', function () { + self.$search.attr('tabindex', -1); + + self.$search.val(''); + }); + + container.on('results:all', function (params) { + if (params.query.term == null || params.query.term === '') { + var showSearch = self.showSearch(params); + + if (showSearch) { + self.$searchContainer.removeClass('select2-search--hide'); + } else { + self.$searchContainer.addClass('select2-search--hide'); + } + } + }); + }; + + Search.prototype.handleSearch = function (evt) { + if (!this._keyUpPrevented) { + var input = this.$search.val(); + + this.trigger('query', { + term: input + }); + } + + this._keyUpPrevented = false; + }; + + Search.prototype.showSearch = function (_, params) { + return true; + }; + + return Search; +}); + +S2.define('select2/dropdown/hidePlaceholder',[ + +], function () { + function HidePlaceholder (decorated, $element, options, dataAdapter) { + this.placeholder = this.normalizePlaceholder(options.get('placeholder')); + + decorated.call(this, $element, options, dataAdapter); + } + + HidePlaceholder.prototype.append = function (decorated, data) { + data.results = this.removePlaceholder(data.results); + + decorated.call(this, data); + }; + + HidePlaceholder.prototype.normalizePlaceholder = function (_, placeholder) { + if (typeof placeholder === 'string') { + placeholder = { + id: '', + text: placeholder + }; + } + + return placeholder; + }; + + HidePlaceholder.prototype.removePlaceholder = function (_, data) { + var modifiedData = data.slice(0); + + for (var d = data.length - 1; d >= 0; d--) { + var item = data[d]; + + if (this.placeholder.id === item.id) { + modifiedData.splice(d, 1); + } + } + + return modifiedData; + }; + + return HidePlaceholder; +}); + +S2.define('select2/dropdown/infiniteScroll',[ + 'jquery' +], function ($) { + function InfiniteScroll (decorated, $element, options, dataAdapter) { + this.lastParams = {}; + + decorated.call(this, $element, options, dataAdapter); + + this.$loadingMore = this.createLoadingMore(); + this.loading = false; + } + + InfiniteScroll.prototype.append = function (decorated, data) { + this.$loadingMore.remove(); + this.loading = false; + + decorated.call(this, data); + + if (this.showLoadingMore(data)) { + this.$results.append(this.$loadingMore); + } + }; + + InfiniteScroll.prototype.bind = function (decorated, container, $container) { + var self = this; + + decorated.call(this, container, $container); + + container.on('query', function (params) { + self.lastParams = params; + self.loading = true; + }); + + container.on('query:append', function (params) { + self.lastParams = params; + self.loading = true; + }); + + this.$results.on('scroll', function () { + var isLoadMoreVisible = $.contains( + document.documentElement, + self.$loadingMore[0] + ); + + if (self.loading || !isLoadMoreVisible) { + return; + } + + var currentOffset = self.$results.offset().top + + self.$results.outerHeight(false); + var loadingMoreOffset = self.$loadingMore.offset().top + + self.$loadingMore.outerHeight(false); + + if (currentOffset + 50 >= loadingMoreOffset) { + self.loadMore(); + } + }); + }; + + InfiniteScroll.prototype.loadMore = function () { + this.loading = true; + + var params = $.extend({}, {page: 1}, this.lastParams); + + params.page++; + + this.trigger('query:append', params); + }; + + InfiniteScroll.prototype.showLoadingMore = function (_, data) { + return data.pagination && data.pagination.more; + }; + + InfiniteScroll.prototype.createLoadingMore = function () { + var $option = $( + '
        • ' + ); + + var message = this.options.get('translations').get('loadingMore'); + + $option.html(message(this.lastParams)); + + return $option; + }; + + return InfiniteScroll; +}); + +S2.define('select2/dropdown/attachBody',[ + 'jquery', + '../utils' +], function ($, Utils) { + function AttachBody (decorated, $element, options) { + this.$dropdownParent = options.get('dropdownParent') || document.body; + + decorated.call(this, $element, options); + } + + AttachBody.prototype.bind = function (decorated, container, $container) { + var self = this; + + var setupResultsEvents = false; + + decorated.call(this, container, $container); + + container.on('open', function () { + self._showDropdown(); + self._attachPositioningHandler(container); + + if (!setupResultsEvents) { + setupResultsEvents = true; + + container.on('results:all', function () { + self._positionDropdown(); + self._resizeDropdown(); + }); + + container.on('results:append', function () { + self._positionDropdown(); + self._resizeDropdown(); + }); + } + }); + + container.on('close', function () { + self._hideDropdown(); + self._detachPositioningHandler(container); + }); + + this.$dropdownContainer.on('mousedown', function (evt) { + evt.stopPropagation(); + }); + }; + + AttachBody.prototype.position = function (decorated, $dropdown, $container) { + // Clone all of the container classes + $dropdown.attr('class', $container.attr('class')); + + $dropdown.removeClass('select2'); + $dropdown.addClass('select2-container--open'); + + $dropdown.css({ + position: 'absolute', + top: -999999 + }); + + this.$container = $container; + }; + + AttachBody.prototype.render = function (decorated) { + var $container = $(''); + + var $dropdown = decorated.call(this); + $container.append($dropdown); + + this.$dropdownContainer = $container; + + return $container; + }; + + AttachBody.prototype._hideDropdown = function (decorated) { + this.$dropdownContainer.detach(); + }; + + AttachBody.prototype._attachPositioningHandler = function (container) { + var self = this; + + var scrollEvent = 'scroll.select2.' + container.id; + var resizeEvent = 'resize.select2.' + container.id; + var orientationEvent = 'orientationchange.select2.' + container.id; + + var $watchers = this.$container.parents().filter(Utils.hasScroll); + $watchers.each(function () { + $(this).data('select2-scroll-position', { + x: $(this).scrollLeft(), + y: $(this).scrollTop() + }); + }); + + $watchers.on(scrollEvent, function (ev) { + var position = $(this).data('select2-scroll-position'); + $(this).scrollTop(position.y); + }); + + $(window).on(scrollEvent + ' ' + resizeEvent + ' ' + orientationEvent, + function (e) { + self._positionDropdown(); + self._resizeDropdown(); + }); + }; + + AttachBody.prototype._detachPositioningHandler = function (container) { + var scrollEvent = 'scroll.select2.' + container.id; + var resizeEvent = 'resize.select2.' + container.id; + var orientationEvent = 'orientationchange.select2.' + container.id; + + var $watchers = this.$container.parents().filter(Utils.hasScroll); + $watchers.off(scrollEvent); + + $(window).off(scrollEvent + ' ' + resizeEvent + ' ' + orientationEvent); + }; + + AttachBody.prototype._positionDropdown = function () { + var $window = $(window); + + var isCurrentlyAbove = this.$dropdown.hasClass('select2-dropdown--above'); + var isCurrentlyBelow = this.$dropdown.hasClass('select2-dropdown--below'); + + var newDirection = null; + + var position = this.$container.position(); + var offset = this.$container.offset(); + + offset.bottom = offset.top + this.$container.outerHeight(false); + + var container = { + height: this.$container.outerHeight(false) + }; + + container.top = offset.top; + container.bottom = offset.top + container.height; + + var dropdown = { + height: this.$dropdown.outerHeight(false) + }; + + var viewport = { + top: $window.scrollTop(), + bottom: $window.scrollTop() + $window.height() + }; + + var enoughRoomAbove = viewport.top < (offset.top - dropdown.height); + var enoughRoomBelow = viewport.bottom > (offset.bottom + dropdown.height); + + var css = { + left: offset.left, + top: container.bottom + }; + + if (!isCurrentlyAbove && !isCurrentlyBelow) { + newDirection = 'below'; + } + + if (!enoughRoomBelow && enoughRoomAbove && !isCurrentlyAbove) { + newDirection = 'above'; + } else if (!enoughRoomAbove && enoughRoomBelow && isCurrentlyAbove) { + newDirection = 'below'; + } + + if (newDirection == 'above' || + (isCurrentlyAbove && newDirection !== 'below')) { + css.top = container.top - dropdown.height; + } + + if (newDirection != null) { + this.$dropdown + .removeClass('select2-dropdown--below select2-dropdown--above') + .addClass('select2-dropdown--' + newDirection); + this.$container + .removeClass('select2-container--below select2-container--above') + .addClass('select2-container--' + newDirection); + } + + this.$dropdownContainer.css(css); + }; + + AttachBody.prototype._resizeDropdown = function () { + this.$dropdownContainer.width(); + + var css = { + width: this.$container.outerWidth(false) + 'px' + }; + + if (this.options.get('dropdownAutoWidth')) { + css.minWidth = css.width; + css.width = 'auto'; + } + + this.$dropdown.css(css); + }; + + AttachBody.prototype._showDropdown = function (decorated) { + this.$dropdownContainer.appendTo(this.$dropdownParent); + + this._positionDropdown(); + this._resizeDropdown(); + }; + + return AttachBody; +}); + +S2.define('select2/dropdown/minimumResultsForSearch',[ + +], function () { + function countResults (data) { + var count = 0; + + for (var d = 0; d < data.length; d++) { + var item = data[d]; + + if (item.children) { + count += countResults(item.children); + } else { + count++; + } + } + + return count; + } + + function MinimumResultsForSearch (decorated, $element, options, dataAdapter) { + this.minimumResultsForSearch = options.get('minimumResultsForSearch'); + + if (this.minimumResultsForSearch < 0) { + this.minimumResultsForSearch = Infinity; + } + + decorated.call(this, $element, options, dataAdapter); + } + + MinimumResultsForSearch.prototype.showSearch = function (decorated, params) { + if (countResults(params.data.results) < this.minimumResultsForSearch) { + return false; + } + + return decorated.call(this, params); + }; + + return MinimumResultsForSearch; +}); + +S2.define('select2/dropdown/selectOnClose',[ + +], function () { + function SelectOnClose () { } + + SelectOnClose.prototype.bind = function (decorated, container, $container) { + var self = this; + + decorated.call(this, container, $container); + + container.on('close', function () { + self._handleSelectOnClose(); + }); + }; + + SelectOnClose.prototype._handleSelectOnClose = function () { + var $highlightedResults = this.getHighlightedResults(); + + if ($highlightedResults.length < 1) { + return; + } + + this.trigger('select', { + data: $highlightedResults.data('data') + }); + }; + + return SelectOnClose; +}); + +S2.define('select2/dropdown/closeOnSelect',[ + +], function () { + function CloseOnSelect () { } + + CloseOnSelect.prototype.bind = function (decorated, container, $container) { + var self = this; + + decorated.call(this, container, $container); + + container.on('select', function (evt) { + self._selectTriggered(evt); + }); + + container.on('unselect', function (evt) { + self._selectTriggered(evt); + }); + }; + + CloseOnSelect.prototype._selectTriggered = function (_, evt) { + var originalEvent = evt.originalEvent; + + // Don't close if the control key is being held + if (originalEvent && originalEvent.ctrlKey) { + return; + } + + this.trigger('close'); + }; + + return CloseOnSelect; +}); + +S2.define('select2/i18n/en',[],function () { + // English + return { + errorLoading: function () { + return 'The results could not be loaded.'; + }, + inputTooLong: function (args) { + var overChars = args.input.length - args.maximum; + + var message = 'Please delete ' + overChars + ' character'; + + if (overChars != 1) { + message += 's'; + } + + return message; + }, + inputTooShort: function (args) { + var remainingChars = args.minimum - args.input.length; + + var message = 'Please enter ' + remainingChars + ' or more characters'; + + return message; + }, + loadingMore: function () { + return 'Loading more results…'; + }, + maximumSelected: function (args) { + var message = 'You can only select ' + args.maximum + ' item'; + + if (args.maximum != 1) { + message += 's'; + } + + return message; + }, + noResults: function () { + return 'No results found'; + }, + searching: function () { + return 'Searching…'; + } + }; +}); + +S2.define('select2/defaults',[ + 'jquery', + 'require', + + './results', + + './selection/single', + './selection/multiple', + './selection/placeholder', + './selection/allowClear', + './selection/search', + './selection/eventRelay', + + './utils', + './translation', + './diacritics', + + './data/select', + './data/array', + './data/ajax', + './data/tags', + './data/tokenizer', + './data/minimumInputLength', + './data/maximumInputLength', + './data/maximumSelectionLength', + + './dropdown', + './dropdown/search', + './dropdown/hidePlaceholder', + './dropdown/infiniteScroll', + './dropdown/attachBody', + './dropdown/minimumResultsForSearch', + './dropdown/selectOnClose', + './dropdown/closeOnSelect', + + './i18n/en' +], function ($, require, + + ResultsList, + + SingleSelection, MultipleSelection, Placeholder, AllowClear, + SelectionSearch, EventRelay, + + Utils, Translation, DIACRITICS, + + SelectData, ArrayData, AjaxData, Tags, Tokenizer, + MinimumInputLength, MaximumInputLength, MaximumSelectionLength, + + Dropdown, DropdownSearch, HidePlaceholder, InfiniteScroll, + AttachBody, MinimumResultsForSearch, SelectOnClose, CloseOnSelect, + + EnglishTranslation) { + function Defaults () { + this.reset(); + } + + Defaults.prototype.apply = function (options) { + options = $.extend({}, this.defaults, options); + + if (options.dataAdapter == null) { + if (options.ajax != null) { + options.dataAdapter = AjaxData; + } else if (options.data != null) { + options.dataAdapter = ArrayData; + } else { + options.dataAdapter = SelectData; + } + + if (options.minimumInputLength > 0) { + options.dataAdapter = Utils.Decorate( + options.dataAdapter, + MinimumInputLength + ); + } + + if (options.maximumInputLength > 0) { + options.dataAdapter = Utils.Decorate( + options.dataAdapter, + MaximumInputLength + ); + } + + if (options.maximumSelectionLength > 0) { + options.dataAdapter = Utils.Decorate( + options.dataAdapter, + MaximumSelectionLength + ); + } + + if (options.tags) { + options.dataAdapter = Utils.Decorate(options.dataAdapter, Tags); + } + + if (options.tokenSeparators != null || options.tokenizer != null) { + options.dataAdapter = Utils.Decorate( + options.dataAdapter, + Tokenizer + ); + } + + if (options.query != null) { + var Query = require(options.amdBase + 'compat/query'); + + options.dataAdapter = Utils.Decorate( + options.dataAdapter, + Query + ); + } + + if (options.initSelection != null) { + var InitSelection = require(options.amdBase + 'compat/initSelection'); + + options.dataAdapter = Utils.Decorate( + options.dataAdapter, + InitSelection + ); + } + } + + if (options.resultsAdapter == null) { + options.resultsAdapter = ResultsList; + + if (options.ajax != null) { + options.resultsAdapter = Utils.Decorate( + options.resultsAdapter, + InfiniteScroll + ); + } + + if (options.placeholder != null) { + options.resultsAdapter = Utils.Decorate( + options.resultsAdapter, + HidePlaceholder + ); + } + + if (options.selectOnClose) { + options.resultsAdapter = Utils.Decorate( + options.resultsAdapter, + SelectOnClose + ); + } + } + + if (options.dropdownAdapter == null) { + if (options.multiple) { + options.dropdownAdapter = Dropdown; + } else { + var SearchableDropdown = Utils.Decorate(Dropdown, DropdownSearch); + + options.dropdownAdapter = SearchableDropdown; + } + + if (options.minimumResultsForSearch !== 0) { + options.dropdownAdapter = Utils.Decorate( + options.dropdownAdapter, + MinimumResultsForSearch + ); + } + + if (options.closeOnSelect) { + options.dropdownAdapter = Utils.Decorate( + options.dropdownAdapter, + CloseOnSelect + ); + } + + if ( + options.dropdownCssClass != null || + options.dropdownCss != null || + options.adaptDropdownCssClass != null + ) { + var DropdownCSS = require(options.amdBase + 'compat/dropdownCss'); + + options.dropdownAdapter = Utils.Decorate( + options.dropdownAdapter, + DropdownCSS + ); + } + + options.dropdownAdapter = Utils.Decorate( + options.dropdownAdapter, + AttachBody + ); + } + + if (options.selectionAdapter == null) { + if (options.multiple) { + options.selectionAdapter = MultipleSelection; + } else { + options.selectionAdapter = SingleSelection; + } + + // Add the placeholder mixin if a placeholder was specified + if (options.placeholder != null) { + options.selectionAdapter = Utils.Decorate( + options.selectionAdapter, + Placeholder + ); + } + + if (options.allowClear) { + options.selectionAdapter = Utils.Decorate( + options.selectionAdapter, + AllowClear + ); + } + + if (options.multiple) { + options.selectionAdapter = Utils.Decorate( + options.selectionAdapter, + SelectionSearch + ); + } + + if ( + options.containerCssClass != null || + options.containerCss != null || + options.adaptContainerCssClass != null + ) { + var ContainerCSS = require(options.amdBase + 'compat/containerCss'); + + options.selectionAdapter = Utils.Decorate( + options.selectionAdapter, + ContainerCSS + ); + } + + options.selectionAdapter = Utils.Decorate( + options.selectionAdapter, + EventRelay + ); + } + + if (typeof options.language === 'string') { + // Check if the language is specified with a region + if (options.language.indexOf('-') > 0) { + // Extract the region information if it is included + var languageParts = options.language.split('-'); + var baseLanguage = languageParts[0]; + + options.language = [options.language, baseLanguage]; + } else { + options.language = [options.language]; + } + } + + if ($.isArray(options.language)) { + var languages = new Translation(); + options.language.push('en'); + + var languageNames = options.language; + + for (var l = 0; l < languageNames.length; l++) { + var name = languageNames[l]; + var language = {}; + + try { + // Try to load it with the original name + language = Translation.loadPath(name); + } catch (e) { + try { + // If we couldn't load it, check if it wasn't the full path + name = this.defaults.amdLanguageBase + name; + language = Translation.loadPath(name); + } catch (ex) { + // The translation could not be loaded at all. Sometimes this is + // because of a configuration problem, other times this can be + // because of how Select2 helps load all possible translation files. + if (options.debug && window.console && console.warn) { + console.warn( + 'Select2: The language file for "' + name + '" could not be ' + + 'automatically loaded. A fallback will be used instead.' + ); + } + + continue; + } + } + + languages.extend(language); + } + + options.translations = languages; + } else { + var baseTranslation = Translation.loadPath( + this.defaults.amdLanguageBase + 'en' + ); + var customTranslation = new Translation(options.language); + + customTranslation.extend(baseTranslation); + + options.translations = customTranslation; + } + + return options; + }; + + Defaults.prototype.reset = function () { + function stripDiacritics (text) { + // Used 'uni range + named function' from http://jsperf.com/diacritics/18 + function match(a) { + return DIACRITICS[a] || a; + } + + return text.replace(/[^\u0000-\u007E]/g, match); + } + + function matcher (params, data) { + // Always return the object if there is nothing to compare + if ($.trim(params.term) === '') { + return data; + } + + // Do a recursive check for options with children + if (data.children && data.children.length > 0) { + // Clone the data object if there are children + // This is required as we modify the object to remove any non-matches + var match = $.extend(true, {}, data); + + // Check each child of the option + for (var c = data.children.length - 1; c >= 0; c--) { + var child = data.children[c]; + + var matches = matcher(params, child); + + // If there wasn't a match, remove the object in the array + if (matches == null) { + match.children.splice(c, 1); + } + } + + // If any children matched, return the new object + if (match.children.length > 0) { + return match; + } + + // If there were no matching children, check just the plain object + return matcher(params, match); + } + + var original = stripDiacritics(data.text).toUpperCase(); + var term = stripDiacritics(params.term).toUpperCase(); + + // Check if the text contains the term + if (original.indexOf(term) > -1) { + return data; + } + + // If it doesn't contain the term, don't return anything + return null; + } + + this.defaults = { + amdBase: './', + amdLanguageBase: './i18n/', + closeOnSelect: true, + debug: false, + dropdownAutoWidth: false, + escapeMarkup: Utils.escapeMarkup, + language: EnglishTranslation, + matcher: matcher, + minimumInputLength: 0, + maximumInputLength: 0, + maximumSelectionLength: 0, + minimumResultsForSearch: 0, + selectOnClose: false, + sorter: function (data) { + return data; + }, + templateResult: function (result) { + return result.text; + }, + templateSelection: function (selection) { + return selection.text; + }, + theme: 'default', + width: 'resolve' + }; + }; + + Defaults.prototype.set = function (key, value) { + var camelKey = $.camelCase(key); + + var data = {}; + data[camelKey] = value; + + var convertedData = Utils._convertData(data); + + $.extend(this.defaults, convertedData); + }; + + var defaults = new Defaults(); + + return defaults; +}); + +S2.define('select2/options',[ + 'require', + 'jquery', + './defaults', + './utils' +], function (require, $, Defaults, Utils) { + function Options (options, $element) { + this.options = options; + + if ($element != null) { + this.fromElement($element); + } + + this.options = Defaults.apply(this.options); + + if ($element && $element.is('input')) { + var InputCompat = require(this.get('amdBase') + 'compat/inputData'); + + this.options.dataAdapter = Utils.Decorate( + this.options.dataAdapter, + InputCompat + ); + } + } + + Options.prototype.fromElement = function ($e) { + var excludedData = ['select2']; + + if (this.options.multiple == null) { + this.options.multiple = $e.prop('multiple'); + } + + if (this.options.disabled == null) { + this.options.disabled = $e.prop('disabled'); + } + + if (this.options.language == null) { + if ($e.prop('lang')) { + this.options.language = $e.prop('lang').toLowerCase(); + } else if ($e.closest('[lang]').prop('lang')) { + this.options.language = $e.closest('[lang]').prop('lang'); + } + } + + if (this.options.dir == null) { + if ($e.prop('dir')) { + this.options.dir = $e.prop('dir'); + } else if ($e.closest('[dir]').prop('dir')) { + this.options.dir = $e.closest('[dir]').prop('dir'); + } else { + this.options.dir = 'ltr'; + } + } + + $e.prop('disabled', this.options.disabled); + $e.prop('multiple', this.options.multiple); + + if ($e.data('select2Tags')) { + if (this.options.debug && window.console && console.warn) { + console.warn( + 'Select2: The `data-select2-tags` attribute has been changed to ' + + 'use the `data-data` and `data-tags="true"` attributes and will be ' + + 'removed in future versions of Select2.' + ); + } + + $e.data('data', $e.data('select2Tags')); + $e.data('tags', true); + } + + if ($e.data('ajaxUrl')) { + if (this.options.debug && window.console && console.warn) { + console.warn( + 'Select2: The `data-ajax-url` attribute has been changed to ' + + '`data-ajax--url` and support for the old attribute will be removed' + + ' in future versions of Select2.' + ); + } + + $e.attr('ajax--url', $e.data('ajaxUrl')); + $e.data('ajax--url', $e.data('ajaxUrl')); + } + + var dataset = {}; + + // Prefer the element's `dataset` attribute if it exists + // jQuery 1.x does not correctly handle data attributes with multiple dashes + if ($.fn.jquery && $.fn.jquery.substr(0, 2) == '1.' && $e[0].dataset) { + dataset = $.extend(true, {}, $e[0].dataset, $e.data()); + } else { + dataset = $e.data(); + } + + var data = $.extend(true, {}, dataset); + + data = Utils._convertData(data); + + for (var key in data) { + if ($.inArray(key, excludedData) > -1) { + continue; + } + + if ($.isPlainObject(this.options[key])) { + $.extend(this.options[key], data[key]); + } else { + this.options[key] = data[key]; + } + } + + return this; + }; + + Options.prototype.get = function (key) { + return this.options[key]; + }; + + Options.prototype.set = function (key, val) { + this.options[key] = val; + }; + + return Options; +}); + +S2.define('select2/core',[ + 'jquery', + './options', + './utils', + './keys' +], function ($, Options, Utils, KEYS) { + var Select2 = function ($element, options) { + if ($element.data('select2') != null) { + $element.data('select2').destroy(); + } + + this.$element = $element; + + this.id = this._generateId($element); + + options = options || {}; + + this.options = new Options(options, $element); + + Select2.__super__.constructor.call(this); + + // Set up the tabindex + + var tabindex = $element.attr('tabindex') || 0; + $element.data('old-tabindex', tabindex); + $element.attr('tabindex', '-1'); + + // Set up containers and adapters + + var DataAdapter = this.options.get('dataAdapter'); + this.dataAdapter = new DataAdapter($element, this.options); + + var $container = this.render(); + + this._placeContainer($container); + + var SelectionAdapter = this.options.get('selectionAdapter'); + this.selection = new SelectionAdapter($element, this.options); + this.$selection = this.selection.render(); + + this.selection.position(this.$selection, $container); + + var DropdownAdapter = this.options.get('dropdownAdapter'); + this.dropdown = new DropdownAdapter($element, this.options); + this.$dropdown = this.dropdown.render(); + + this.dropdown.position(this.$dropdown, $container); + + var ResultsAdapter = this.options.get('resultsAdapter'); + this.results = new ResultsAdapter($element, this.options, this.dataAdapter); + this.$results = this.results.render(); + + this.results.position(this.$results, this.$dropdown); + + // Bind events + + var self = this; + + // Bind the container to all of the adapters + this._bindAdapters(); + + // Register any DOM event handlers + this._registerDomEvents(); + + // Register any internal event handlers + this._registerDataEvents(); + this._registerSelectionEvents(); + this._registerDropdownEvents(); + this._registerResultsEvents(); + this._registerEvents(); + + // Set the initial state + this.dataAdapter.current(function (initialData) { + self.trigger('selection:update', { + data: initialData + }); + }); + + // Hide the original select + $element.addClass('select2-hidden-accessible'); + $element.attr('aria-hidden', 'true'); + + // Synchronize any monitored attributes + this._syncAttributes(); + + $element.data('select2', this); + }; + + Utils.Extend(Select2, Utils.Observable); + + Select2.prototype._generateId = function ($element) { + var id = ''; + + if ($element.attr('id') != null) { + id = $element.attr('id'); + } else if ($element.attr('name') != null) { + id = $element.attr('name') + '-' + Utils.generateChars(2); + } else { + id = Utils.generateChars(4); + } + + id = 'select2-' + id; + + return id; + }; + + Select2.prototype._placeContainer = function ($container) { + $container.insertAfter(this.$element); + + var width = this._resolveWidth(this.$element, this.options.get('width')); + + if (width != null) { + $container.css('width', width); + } + }; + + Select2.prototype._resolveWidth = function ($element, method) { + var WIDTH = /^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i; + + if (method == 'resolve') { + var styleWidth = this._resolveWidth($element, 'style'); + + if (styleWidth != null) { + return styleWidth; + } + + return this._resolveWidth($element, 'element'); + } + + if (method == 'element') { + var elementWidth = $element.outerWidth(false); + + if (elementWidth <= 0) { + return 'auto'; + } + + return elementWidth + 'px'; + } + + if (method == 'style') { + var style = $element.attr('style'); + + if (typeof(style) !== 'string') { + return null; + } + + var attrs = style.split(';'); + + for (var i = 0, l = attrs.length; i < l; i = i + 1) { + var attr = attrs[i].replace(/\s/g, ''); + var matches = attr.match(WIDTH); + + if (matches !== null && matches.length >= 1) { + return matches[1]; + } + } + + return null; + } + + return method; + }; + + Select2.prototype._bindAdapters = function () { + this.dataAdapter.bind(this, this.$container); + this.selection.bind(this, this.$container); + + this.dropdown.bind(this, this.$container); + this.results.bind(this, this.$container); + }; + + Select2.prototype._registerDomEvents = function () { + var self = this; + + this.$element.on('change.select2', function () { + self.dataAdapter.current(function (data) { + self.trigger('selection:update', { + data: data + }); + }); + }); + + this._sync = Utils.bind(this._syncAttributes, this); + + if (this.$element[0].attachEvent) { + this.$element[0].attachEvent('onpropertychange', this._sync); + } + + var observer = window.MutationObserver || + window.WebKitMutationObserver || + window.MozMutationObserver + ; + + if (observer != null) { + this._observer = new observer(function (mutations) { + $.each(mutations, self._sync); + }); + this._observer.observe(this.$element[0], { + attributes: true, + subtree: false + }); + } else if (this.$element[0].addEventListener) { + this.$element[0].addEventListener('DOMAttrModified', self._sync, false); + } + }; + + Select2.prototype._registerDataEvents = function () { + var self = this; + + this.dataAdapter.on('*', function (name, params) { + self.trigger(name, params); + }); + }; + + Select2.prototype._registerSelectionEvents = function () { + var self = this; + var nonRelayEvents = ['toggle']; + + this.selection.on('toggle', function () { + self.toggleDropdown(); + }); + + this.selection.on('*', function (name, params) { + if ($.inArray(name, nonRelayEvents) !== -1) { + return; + } + + self.trigger(name, params); + }); + }; + + Select2.prototype._registerDropdownEvents = function () { + var self = this; + + this.dropdown.on('*', function (name, params) { + self.trigger(name, params); + }); + }; + + Select2.prototype._registerResultsEvents = function () { + var self = this; + + this.results.on('*', function (name, params) { + self.trigger(name, params); + }); + }; + + Select2.prototype._registerEvents = function () { + var self = this; + + this.on('open', function () { + self.$container.addClass('select2-container--open'); + }); + + this.on('close', function () { + self.$container.removeClass('select2-container--open'); + }); + + this.on('enable', function () { + self.$container.removeClass('select2-container--disabled'); + }); + + this.on('disable', function () { + self.$container.addClass('select2-container--disabled'); + }); + + this.on('focus', function () { + self.$container.addClass('select2-container--focus'); + }); + + this.on('blur', function () { + self.$container.removeClass('select2-container--focus'); + }); + + this.on('query', function (params) { + if (!self.isOpen()) { + self.trigger('open'); + } + + this.dataAdapter.query(params, function (data) { + self.trigger('results:all', { + data: data, + query: params + }); + }); + }); + + this.on('query:append', function (params) { + this.dataAdapter.query(params, function (data) { + self.trigger('results:append', { + data: data, + query: params + }); + }); + }); + + this.on('keypress', function (evt) { + var key = evt.which; + + if (self.isOpen()) { + if (key === KEYS.ENTER) { + self.trigger('results:select'); + + evt.preventDefault(); + } else if ((key === KEYS.SPACE && evt.ctrlKey)) { + self.trigger('results:toggle'); + + evt.preventDefault(); + } else if (key === KEYS.UP) { + self.trigger('results:previous'); + + evt.preventDefault(); + } else if (key === KEYS.DOWN) { + self.trigger('results:next'); + + evt.preventDefault(); + } else if (key === KEYS.ESC || key === KEYS.TAB) { + self.close(); + + evt.preventDefault(); + } + } else { + if (key === KEYS.ENTER || key === KEYS.SPACE || + ((key === KEYS.DOWN || key === KEYS.UP) && evt.altKey)) { + self.open(); + + evt.preventDefault(); + } + } + }); + }; + + Select2.prototype._syncAttributes = function () { + this.options.set('disabled', this.$element.prop('disabled')); + + if (this.options.get('disabled')) { + if (this.isOpen()) { + this.close(); + } + + this.trigger('disable'); + } else { + this.trigger('enable'); + } + }; + + /** + * Override the trigger method to automatically trigger pre-events when + * there are events that can be prevented. + */ + Select2.prototype.trigger = function (name, args) { + var actualTrigger = Select2.__super__.trigger; + var preTriggerMap = { + 'open': 'opening', + 'close': 'closing', + 'select': 'selecting', + 'unselect': 'unselecting' + }; + + if (name in preTriggerMap) { + var preTriggerName = preTriggerMap[name]; + var preTriggerArgs = { + prevented: false, + name: name, + args: args + }; + + actualTrigger.call(this, preTriggerName, preTriggerArgs); + + if (preTriggerArgs.prevented) { + args.prevented = true; + + return; + } + } + + actualTrigger.call(this, name, args); + }; + + Select2.prototype.toggleDropdown = function () { + if (this.options.get('disabled')) { + return; + } + + if (this.isOpen()) { + this.close(); + } else { + this.open(); + } + }; + + Select2.prototype.open = function () { + if (this.isOpen()) { + return; + } + + this.trigger('query', {}); + + this.trigger('open'); + }; + + Select2.prototype.close = function () { + if (!this.isOpen()) { + return; + } + + this.trigger('close'); + }; + + Select2.prototype.isOpen = function () { + return this.$container.hasClass('select2-container--open'); + }; + + Select2.prototype.enable = function (args) { + if (this.options.get('debug') && window.console && console.warn) { + console.warn( + 'Select2: The `select2("enable")` method has been deprecated and will' + + ' be removed in later Select2 versions. Use $element.prop("disabled")' + + ' instead.' + ); + } + + if (args == null || args.length === 0) { + args = [true]; + } + + var disabled = !args[0]; + + this.$element.prop('disabled', disabled); + }; + + Select2.prototype.data = function () { + if (this.options.get('debug') && + arguments.length > 0 && window.console && console.warn) { + console.warn( + 'Select2: Data can no longer be set using `select2("data")`. You ' + + 'should consider setting the value instead using `$element.val()`.' + ); + } + + var data = []; + + this.dataAdapter.current(function (currentData) { + data = currentData; + }); + + return data; + }; + + Select2.prototype.val = function (args) { + if (this.options.get('debug') && window.console && console.warn) { + console.warn( + 'Select2: The `select2("val")` method has been deprecated and will be' + + ' removed in later Select2 versions. Use $element.val() instead.' + ); + } + + if (args == null || args.length === 0) { + return this.$element.val(); + } + + var newVal = args[0]; + + if ($.isArray(newVal)) { + newVal = $.map(newVal, function (obj) { + return obj.toString(); + }); + } + + this.$element.val(newVal).trigger('change'); + }; + + Select2.prototype.destroy = function () { + this.$container.remove(); + + if (this.$element[0].detachEvent) { + this.$element[0].detachEvent('onpropertychange', this._sync); + } + + if (this._observer != null) { + this._observer.disconnect(); + this._observer = null; + } else if (this.$element[0].removeEventListener) { + this.$element[0] + .removeEventListener('DOMAttrModified', this._sync, false); + } + + this._sync = null; + + this.$element.off('.select2'); + this.$element.attr('tabindex', this.$element.data('old-tabindex')); + + this.$element.removeClass('select2-hidden-accessible'); + this.$element.attr('aria-hidden', 'false'); + this.$element.removeData('select2'); + + this.dataAdapter.destroy(); + this.selection.destroy(); + this.dropdown.destroy(); + this.results.destroy(); + + this.dataAdapter = null; + this.selection = null; + this.dropdown = null; + this.results = null; + }; + + Select2.prototype.render = function () { + var $container = $( + '' + + '' + + '' + + '' + ); + + $container.attr('dir', this.options.get('dir')); + + this.$container = $container; + + this.$container.addClass('select2-container--' + this.options.get('theme')); + + $container.data('element', this.$element); + + return $container; + }; + + return Select2; +}); + +S2.define('jquery.select2',[ + 'jquery', + 'require', + + './select2/core', + './select2/defaults' +], function ($, require, Select2, Defaults) { + // Force jQuery.mousewheel to be loaded if it hasn't already + require('jquery.mousewheel'); + + if ($.fn.select2 == null) { + // All methods that should return the element + var thisMethods = ['open', 'close', 'destroy']; + + $.fn.select2 = function (options) { + options = options || {}; + + if (typeof options === 'object') { + this.each(function () { + var instanceOptions = $.extend({}, options, true); + + var instance = new Select2($(this), instanceOptions); + }); + + return this; + } else if (typeof options === 'string') { + var instance = this.data('select2'); + + if (instance == null && window.console && console.error) { + console.error( + 'The select2(\'' + options + '\') method was called on an ' + + 'element that is not using Select2.' + ); + } + + var args = Array.prototype.slice.call(arguments, 1); + + var ret = instance[options](args); + + // Check if we should be returning `this` + if ($.inArray(options, thisMethods) > -1) { + return this; + } + + return ret; + } else { + throw new Error('Invalid arguments for Select2: ' + options); + } + }; + } + + if ($.fn.select2.defaults == null) { + $.fn.select2.defaults = Defaults; + } + + return Select2; +}); + +S2.define('jquery.mousewheel',[ + 'jquery' +], function ($) { + // Used to shim jQuery.mousewheel for non-full builds. + return $; +}); + + // Return the AMD loader configuration so it can be used outside of this file + return { + define: S2.define, + require: S2.require + }; +}()); + + // Autoload the jQuery bindings + // We know that all of the modules exist above this, so we're safe + var select2 = S2.require('jquery.select2'); + + // Hold the AMD module references on the jQuery function that was just loaded + // This allows Select2 to use the internal loader outside of this file, such + // as in the language files. + jQuery.fn.select2.amd = S2; + + // Return the Select2 instance for anyone who is importing it. + return select2; +})); diff --git a/wp-content/plugins/google-calendar-events/assets/js/vendor/select2.min.js b/wp-content/plugins/google-calendar-events/assets/js/vendor/select2.min.js new file mode 100644 index 0000000..49a988c --- /dev/null +++ b/wp-content/plugins/google-calendar-events/assets/js/vendor/select2.min.js @@ -0,0 +1,2 @@ +/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):jQuery)}(function(a){var b=function(){if(a&&a.fn&&a.fn.select2&&a.fn.select2.amd)var b=a.fn.select2.amd;var b;return function(){if(!b||!b.requirejs){b?c=b:b={};var a,c,d;!function(b){function e(a,b){return u.call(a,b)}function f(a,b){var c,d,e,f,g,h,i,j,k,l,m,n=b&&b.split("/"),o=s.map,p=o&&o["*"]||{};if(a&&"."===a.charAt(0))if(b){for(n=n.slice(0,n.length-1),a=a.split("/"),g=a.length-1,s.nodeIdCompat&&w.test(a[g])&&(a[g]=a[g].replace(w,"")),a=n.concat(a),k=0;k0&&(a.splice(k-1,2),k-=2)}a=a.join("/")}else 0===a.indexOf("./")&&(a=a.substring(2));if((n||p)&&o){for(c=a.split("/"),k=c.length;k>0;k-=1){if(d=c.slice(0,k).join("/"),n)for(l=n.length;l>0;l-=1)if(e=o[n.slice(0,l).join("/")],e&&(e=e[d])){f=e,h=k;break}if(f)break;!i&&p&&p[d]&&(i=p[d],j=k)}!f&&i&&(f=i,h=j),f&&(c.splice(0,h,f),a=c.join("/"))}return a}function g(a,c){return function(){return n.apply(b,v.call(arguments,0).concat([a,c]))}}function h(a){return function(b){return f(b,a)}}function i(a){return function(b){q[a]=b}}function j(a){if(e(r,a)){var c=r[a];delete r[a],t[a]=!0,m.apply(b,c)}if(!e(q,a)&&!e(t,a))throw new Error("No "+a);return q[a]}function k(a){var b,c=a?a.indexOf("!"):-1;return c>-1&&(b=a.substring(0,c),a=a.substring(c+1,a.length)),[b,a]}function l(a){return function(){return s&&s.config&&s.config[a]||{}}}var m,n,o,p,q={},r={},s={},t={},u=Object.prototype.hasOwnProperty,v=[].slice,w=/\.js$/;o=function(a,b){var c,d=k(a),e=d[0];return a=d[1],e&&(e=f(e,b),c=j(e)),e?a=c&&c.normalize?c.normalize(a,h(b)):f(a,b):(a=f(a,b),d=k(a),e=d[0],a=d[1],e&&(c=j(e))),{f:e?e+"!"+a:a,n:a,pr:e,p:c}},p={require:function(a){return g(a)},exports:function(a){var b=q[a];return"undefined"!=typeof b?b:q[a]={}},module:function(a){return{id:a,uri:"",exports:q[a],config:l(a)}}},m=function(a,c,d,f){var h,k,l,m,n,s,u=[],v=typeof d;if(f=f||a,"undefined"===v||"function"===v){for(c=!c.length&&d.length?["require","exports","module"]:c,n=0;n0&&(b.call(arguments,a.prototype.constructor),e=c.prototype.constructor),e.apply(this,arguments)}function e(){this.constructor=d}var f=b(c),g=b(a);c.displayName=a.displayName,d.prototype=new e;for(var h=0;hc;c++)a[c].apply(this,b)},c.Observable=d,c.generateChars=function(a){for(var b="",c=0;a>c;c++){var d=Math.floor(36*Math.random());b+=d.toString(36)}return b},c.bind=function(a,b){return function(){a.apply(b,arguments)}},c._convertData=function(a){for(var b in a){var c=b.split("-"),d=a;if(1!==c.length){for(var e=0;e":">",'"':""","'":"'","/":"/"};return"string"!=typeof a?a:String(a).replace(/[&<>"'\/\\]/g,function(a){return b[a]})},c.appendMany=function(b,c){if("1.7"===a.fn.jquery.substr(0,3)){var d=a();a.map(c,function(a){d=d.add(a)}),c=d}b.append(c)},c}),b.define("select2/results",["jquery","./utils"],function(a,b){function c(a,b,d){this.$element=a,this.data=d,this.options=b,c.__super__.constructor.call(this)}return b.Extend(c,b.Observable),c.prototype.render=function(){var b=a('
            ');return this.options.get("multiple")&&b.attr("aria-multiselectable","true"),this.$results=b,b},c.prototype.clear=function(){this.$results.empty()},c.prototype.displayMessage=function(b){var c=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var d=a('
          • '),e=this.options.get("translations").get(b.message);d.append(c(e(b.args))),this.$results.append(d)},c.prototype.append=function(a){this.hideLoading();var b=[];if(null==a.results||0===a.results.length)return void(0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"}));a.results=this.sort(a.results);for(var c=0;c-1?b.attr("aria-selected","true"):b.attr("aria-selected","false")});var f=e.filter("[aria-selected=true]");f.length>0?f.first().trigger("mouseenter"):e.first().trigger("mouseenter")})},c.prototype.showLoading=function(a){this.hideLoading();var b=this.options.get("translations").get("searching"),c={disabled:!0,loading:!0,text:b(a)},d=this.option(c);d.className+=" loading-results",this.$results.prepend(d)},c.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},c.prototype.option=function(b){var c=document.createElement("li");c.className="select2-results__option";var d={role:"treeitem","aria-selected":"false"};b.disabled&&(delete d["aria-selected"],d["aria-disabled"]="true"),null==b.id&&delete d["aria-selected"],null!=b._resultId&&(c.id=b._resultId),b.title&&(c.title=b.title),b.children&&(d.role="group",d["aria-label"]=b.text,delete d["aria-selected"]);for(var e in d){var f=d[e];c.setAttribute(e,f)}if(b.children){var g=a(c),h=document.createElement("strong");h.className="select2-results__group";{a(h)}this.template(b,h);for(var i=[],j=0;j",{"class":"select2-results__options select2-results__options--nested"});m.append(i),g.append(h),g.append(m)}else this.template(b,c);return a.data(c,"data",b),c},c.prototype.bind=function(b){var c=this,d=b.id+"-results";this.$results.attr("id",d),b.on("results:all",function(a){c.clear(),c.append(a.data),b.isOpen()&&c.setClasses()}),b.on("results:append",function(a){c.append(a.data),b.isOpen()&&c.setClasses()}),b.on("query",function(a){c.showLoading(a)}),b.on("select",function(){b.isOpen()&&c.setClasses()}),b.on("unselect",function(){b.isOpen()&&c.setClasses()}),b.on("open",function(){c.$results.attr("aria-expanded","true"),c.$results.attr("aria-hidden","false"),c.setClasses(),c.ensureHighlightVisible()}),b.on("close",function(){c.$results.attr("aria-expanded","false"),c.$results.attr("aria-hidden","true"),c.$results.removeAttr("aria-activedescendant")}),b.on("results:toggle",function(){var a=c.getHighlightedResults();0!==a.length&&a.trigger("mouseup")}),b.on("results:select",function(){var a=c.getHighlightedResults();if(0!==a.length){var b=a.data("data");"true"==a.attr("aria-selected")?c.trigger("close"):c.trigger("select",{data:b})}}),b.on("results:previous",function(){var a=c.getHighlightedResults(),b=c.$results.find("[aria-selected]"),d=b.index(a);if(0!==d){var e=d-1;0===a.length&&(e=0);var f=b.eq(e);f.trigger("mouseenter");var g=c.$results.offset().top,h=f.offset().top,i=c.$results.scrollTop()+(h-g);0===e?c.$results.scrollTop(0):0>h-g&&c.$results.scrollTop(i)}}),b.on("results:next",function(){var a=c.getHighlightedResults(),b=c.$results.find("[aria-selected]"),d=b.index(a),e=d+1;if(!(e>=b.length)){var f=b.eq(e);f.trigger("mouseenter");var g=c.$results.offset().top+c.$results.outerHeight(!1),h=f.offset().top+f.outerHeight(!1),i=c.$results.scrollTop()+h-g;0===e?c.$results.scrollTop(0):h>g&&c.$results.scrollTop(i)}}),b.on("results:focus",function(a){a.element.addClass("select2-results__option--highlighted")}),b.on("results:message",function(a){c.displayMessage(a)}),a.fn.mousewheel&&this.$results.on("mousewheel",function(a){var b=c.$results.scrollTop(),d=c.$results.get(0).scrollHeight-c.$results.scrollTop()+a.deltaY,e=a.deltaY>0&&b-a.deltaY<=0,f=a.deltaY<0&&d<=c.$results.height();e?(c.$results.scrollTop(0),a.preventDefault(),a.stopPropagation()):f&&(c.$results.scrollTop(c.$results.get(0).scrollHeight-c.$results.height()),a.preventDefault(),a.stopPropagation())}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(b){var d=a(this),e=d.data("data");return"true"===d.attr("aria-selected")?void(c.options.get("multiple")?c.trigger("unselect",{originalEvent:b,data:e}):c.trigger("close")):void c.trigger("select",{originalEvent:b,data:e})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(){var b=a(this).data("data");c.getHighlightedResults().removeClass("select2-results__option--highlighted"),c.trigger("results:focus",{data:b,element:a(this)})})},c.prototype.getHighlightedResults=function(){var a=this.$results.find(".select2-results__option--highlighted");return a},c.prototype.destroy=function(){this.$results.remove()},c.prototype.ensureHighlightVisible=function(){var a=this.getHighlightedResults();if(0!==a.length){var b=this.$results.find("[aria-selected]"),c=b.index(a),d=this.$results.offset().top,e=a.offset().top,f=this.$results.scrollTop()+(e-d),g=e-d;f-=2*a.outerHeight(!1),2>=c?this.$results.scrollTop(0):(g>this.$results.outerHeight()||0>g)&&this.$results.scrollTop(f)}},c.prototype.template=function(b,c){var d=this.options.get("templateResult"),e=this.options.get("escapeMarkup"),f=d(b);null==f?c.style.display="none":"string"==typeof f?c.innerHTML=e(f):a(c).append(f)},c}),b.define("select2/keys",[],function(){var a={BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46};return a}),b.define("select2/selection/base",["jquery","../utils","../keys"],function(a,b,c){function d(a,b){this.$element=a,this.options=b,d.__super__.constructor.call(this)}return b.Extend(d,b.Observable),d.prototype.render=function(){var b=a('');return this._tabindex=0,null!=this.$element.data("old-tabindex")?this._tabindex=this.$element.data("old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),b.attr("title",this.$element.attr("title")),b.attr("tabindex",this._tabindex),this.$selection=b,b},d.prototype.bind=function(a){var b=this,d=(a.id+"-container",a.id+"-results");this.container=a,this.$selection.on("focus",function(a){b.trigger("focus",a)}),this.$selection.on("blur",function(a){b.trigger("blur",a)}),this.$selection.on("keydown",function(a){b.trigger("keypress",a),a.which===c.SPACE&&a.preventDefault()}),a.on("results:focus",function(a){b.$selection.attr("aria-activedescendant",a.data._resultId)}),a.on("selection:update",function(a){b.update(a.data)}),a.on("open",function(){b.$selection.attr("aria-expanded","true"),b.$selection.attr("aria-owns",d),b._attachCloseHandler(a)}),a.on("close",function(){b.$selection.attr("aria-expanded","false"),b.$selection.removeAttr("aria-activedescendant"),b.$selection.removeAttr("aria-owns"),b.$selection.focus(),b._detachCloseHandler(a)}),a.on("enable",function(){b.$selection.attr("tabindex",b._tabindex)}),a.on("disable",function(){b.$selection.attr("tabindex","-1")})},d.prototype._attachCloseHandler=function(b){a(document.body).on("mousedown.select2."+b.id,function(b){var c=a(b.target),d=c.closest(".select2"),e=a(".select2.select2-container--open");e.each(function(){var b=a(this);if(this!=d[0]){var c=b.data("element");c.select2("close")}})})},d.prototype._detachCloseHandler=function(b){a(document.body).off("mousedown.select2."+b.id)},d.prototype.position=function(a,b){var c=b.find(".selection");c.append(a)},d.prototype.destroy=function(){this._detachCloseHandler(this.container)},d.prototype.update=function(){throw new Error("The `update` method must be defined in child classes.")},d}),b.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(a,b,c){function d(){d.__super__.constructor.apply(this,arguments)}return c.Extend(d,b),d.prototype.render=function(){var a=d.__super__.render.call(this);return a.addClass("select2-selection--single"),a.html(''),a},d.prototype.bind=function(a){var b=this;d.__super__.bind.apply(this,arguments);var c=a.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",c),this.$selection.attr("aria-labelledby",c),this.$selection.on("mousedown",function(a){1===a.which&&b.trigger("toggle",{originalEvent:a})}),this.$selection.on("focus",function(){}),this.$selection.on("blur",function(){}),a.on("selection:update",function(a){b.update(a.data)})},d.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},d.prototype.display=function(a){var b=this.options.get("templateSelection"),c=this.options.get("escapeMarkup");return c(b(a))},d.prototype.selectionContainer=function(){return a("")},d.prototype.update=function(a){if(0===a.length)return void this.clear();var b=a[0],c=this.display(b),d=this.$selection.find(".select2-selection__rendered");d.empty().append(c),d.prop("title",b.title||b.text)},d}),b.define("select2/selection/multiple",["jquery","./base","../utils"],function(a,b,c){function d(){d.__super__.constructor.apply(this,arguments)}return c.Extend(d,b),d.prototype.render=function(){var a=d.__super__.render.call(this);return a.addClass("select2-selection--multiple"),a.html('
              '),a},d.prototype.bind=function(){var b=this;d.__super__.bind.apply(this,arguments),this.$selection.on("click",function(a){b.trigger("toggle",{originalEvent:a})}),this.$selection.on("click",".select2-selection__choice__remove",function(c){var d=a(this),e=d.parent(),f=e.data("data");b.trigger("unselect",{originalEvent:c,data:f})})},d.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},d.prototype.display=function(a){var b=this.options.get("templateSelection"),c=this.options.get("escapeMarkup");return c(b(a))},d.prototype.selectionContainer=function(){var b=a('
            • ×
            • ');return b},d.prototype.update=function(a){if(this.clear(),0!==a.length){for(var b=[],d=0;d1;if(d||c)return a.call(this,b);this.clear();var e=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(e)},a}),b.define("select2/selection/allowClear",["jquery","../keys"],function(a,b){function c(){}return c.prototype.bind=function(a,b,c){var d=this;a.call(this,b,c),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(a){d._handleClear(a)}),b.on("keypress",function(a){d._handleKeyboardClear(a,b)})},c.prototype._handleClear=function(a,b){if(!this.options.get("disabled")){var c=this.$selection.find(".select2-selection__clear");if(0!==c.length){b.stopPropagation();for(var d=c.data("data"),e=0;e0||0===c.length)){var d=a('×');d.data("data",c),this.$selection.find(".select2-selection__rendered").prepend(d)}},c}),b.define("select2/selection/search",["jquery","../utils","../keys"],function(a,b,c){function d(a,b,c){a.call(this,b,c)}return d.prototype.render=function(b){var c=a('');this.$searchContainer=c,this.$search=c.find("input");var d=b.call(this);return d},d.prototype.bind=function(a,b,d){var e=this;a.call(this,b,d),b.on("open",function(){e.$search.attr("tabindex",0),e.$search.focus()}),b.on("close",function(){e.$search.attr("tabindex",-1),e.$search.val(""),e.$search.focus()}),b.on("enable",function(){e.$search.prop("disabled",!1)}),b.on("disable",function(){e.$search.prop("disabled",!0)}),this.$selection.on("focusin",".select2-search--inline",function(a){e.trigger("focus",a)}),this.$selection.on("focusout",".select2-search--inline",function(a){e.trigger("blur",a)}),this.$selection.on("keydown",".select2-search--inline",function(a){a.stopPropagation(),e.trigger("keypress",a),e._keyUpPrevented=a.isDefaultPrevented();var b=a.which;if(b===c.BACKSPACE&&""===e.$search.val()){var d=e.$searchContainer.prev(".select2-selection__choice");if(d.length>0){var f=d.data("data");e.searchRemoveChoice(f),a.preventDefault()}}}),this.$selection.on("input",".select2-search--inline",function(){e.$selection.off("keyup.search")}),this.$selection.on("keyup.search input",".select2-search--inline",function(a){e.handleSearch(a)})},d.prototype.createPlaceholder=function(a,b){this.$search.attr("placeholder",b.text)},d.prototype.update=function(a,b){this.$search.attr("placeholder",""),a.call(this,b),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch()},d.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var a=this.$search.val();this.trigger("query",{term:a})}this._keyUpPrevented=!1},d.prototype.searchRemoveChoice=function(a,b){this.trigger("unselect",{data:b}),this.trigger("open"),this.$search.val(b.text+" ")},d.prototype.resizeSearch=function(){this.$search.css("width","25px");var a="";if(""!==this.$search.attr("placeholder"))a=this.$selection.find(".select2-selection__rendered").innerWidth();else{var b=this.$search.val().length+1;a=.75*b+"em"}this.$search.css("width",a)},d}),b.define("select2/selection/eventRelay",["jquery"],function(a){function b(){}return b.prototype.bind=function(b,c,d){var e=this,f=["open","opening","close","closing","select","selecting","unselect","unselecting"],g=["opening","closing","selecting","unselecting"];b.call(this,c,d),c.on("*",function(b,c){if(-1!==a.inArray(b,f)){c=c||{};var d=a.Event("select2:"+b,{params:c});e.$element.trigger(d),-1!==a.inArray(b,g)&&(c.prevented=d.isDefaultPrevented())}})},b}),b.define("select2/translation",["jquery","require"],function(a,b){function c(a){this.dict=a||{}}return c.prototype.all=function(){return this.dict},c.prototype.get=function(a){return this.dict[a]},c.prototype.extend=function(b){this.dict=a.extend({},b.all(),this.dict)},c._cache={},c.loadPath=function(a){if(!(a in c._cache)){var d=b(a);c._cache[a]=d}return new c(c._cache[a])},c}),b.define("select2/diacritics",[],function(){var a={"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"};return a}),b.define("select2/data/base",["../utils"],function(a){function b(){b.__super__.constructor.call(this)}return a.Extend(b,a.Observable),b.prototype.current=function(){throw new Error("The `current` method must be defined in child classes.")},b.prototype.query=function(){throw new Error("The `query` method must be defined in child classes.")},b.prototype.bind=function(){},b.prototype.destroy=function(){},b.prototype.generateResultId=function(b,c){var d=b.id+"-result-";return d+=a.generateChars(4),d+=null!=c.id?"-"+c.id.toString():"-"+a.generateChars(4)},b}),b.define("select2/data/select",["./base","../utils","jquery"],function(a,b,c){function d(a,b){this.$element=a,this.options=b,d.__super__.constructor.call(this)}return b.Extend(d,a),d.prototype.current=function(a){var b=[],d=this;this.$element.find(":selected").each(function(){var a=c(this),e=d.item(a);b.push(e)}),a(b)},d.prototype.select=function(a){var b=this;if(a.selected=!0,c(a.element).is("option"))return a.element.selected=!0,void this.$element.trigger("change");if(this.$element.prop("multiple"))this.current(function(d){var e=[];a=[a],a.push.apply(a,d);for(var f=0;f=0){var k=f.filter(d(j)),l=this.item(k),m=(c.extend(!0,{},l,j),this.option(l));k.replaceWith(m)}else{var n=this.option(j);if(j.children){var o=this.convertToOptions(j.children);b.appendMany(n,o)}h.push(n)}}return h},d}),b.define("select2/data/ajax",["./array","../utils","jquery"],function(a,b,c){function d(b,c){this.ajaxOptions=this._applyDefaults(c.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),a.__super__.constructor.call(this,b,c)}return b.Extend(d,a),d.prototype._applyDefaults=function(a){var b={data:function(a){return{q:a.term}},transport:function(a,b,d){var e=c.ajax(a);return e.then(b),e.fail(d),e}};return c.extend({},b,a,!0)},d.prototype.processResults=function(a){return a},d.prototype.query=function(a,b){function d(){var d=f.transport(f,function(d){var f=e.processResults(d,a);e.options.get("debug")&&window.console&&console.error&&(f&&f.results&&c.isArray(f.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),b(f)},function(){});e._request=d}var e=this;null!=this._request&&(c.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var f=c.extend({type:"GET"},this.ajaxOptions);"function"==typeof f.url&&(f.url=f.url(a)),"function"==typeof f.data&&(f.data=f.data(a)),this.ajaxOptions.delay&&""!==a.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(d,this.ajaxOptions.delay)):d()},d}),b.define("select2/data/tags",["jquery"],function(a){function b(b,c,d){var e=d.get("tags"),f=d.get("createTag");if(void 0!==f&&(this.createTag=f),b.call(this,c,d),a.isArray(e))for(var g=0;g0&&b.term.length>this.maximumInputLength?void this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:b.term,params:b}}):void a.call(this,b,c)},a}),b.define("select2/data/maximumSelectionLength",[],function(){function a(a,b,c){this.maximumSelectionLength=c.get("maximumSelectionLength"),a.call(this,b,c)}return a.prototype.query=function(a,b,c){var d=this;this.current(function(e){var f=null!=e?e.length:0;return d.maximumSelectionLength>0&&f>=d.maximumSelectionLength?void d.trigger("results:message",{message:"maximumSelected",args:{maximum:d.maximumSelectionLength}}):void a.call(d,b,c)})},a}),b.define("select2/dropdown",["jquery","./utils"],function(a,b){function c(a,b){this.$element=a,this.options=b,c.__super__.constructor.call(this)}return b.Extend(c,b.Observable),c.prototype.render=function(){var b=a('');return b.attr("dir",this.options.get("dir")),this.$dropdown=b,b},c.prototype.position=function(){},c.prototype.destroy=function(){this.$dropdown.remove()},c}),b.define("select2/dropdown/search",["jquery","../utils"],function(a){function b(){}return b.prototype.render=function(b){var c=b.call(this),d=a('');return this.$searchContainer=d,this.$search=d.find("input"),c.prepend(d),c},b.prototype.bind=function(b,c,d){var e=this;b.call(this,c,d),this.$search.on("keydown",function(a){e.trigger("keypress",a),e._keyUpPrevented=a.isDefaultPrevented()}),this.$search.on("input",function(){a(this).off("keyup")}),this.$search.on("keyup input",function(a){e.handleSearch(a)}),c.on("open",function(){e.$search.attr("tabindex",0),e.$search.focus(),window.setTimeout(function(){e.$search.focus()},0)}),c.on("close",function(){e.$search.attr("tabindex",-1),e.$search.val("")}),c.on("results:all",function(a){if(null==a.query.term||""===a.query.term){var b=e.showSearch(a);b?e.$searchContainer.removeClass("select2-search--hide"):e.$searchContainer.addClass("select2-search--hide")}})},b.prototype.handleSearch=function(){if(!this._keyUpPrevented){var a=this.$search.val();this.trigger("query",{term:a})}this._keyUpPrevented=!1},b.prototype.showSearch=function(){return!0},b}),b.define("select2/dropdown/hidePlaceholder",[],function(){function a(a,b,c,d){this.placeholder=this.normalizePlaceholder(c.get("placeholder")),a.call(this,b,c,d)}return a.prototype.append=function(a,b){b.results=this.removePlaceholder(b.results),a.call(this,b)},a.prototype.normalizePlaceholder=function(a,b){return"string"==typeof b&&(b={id:"",text:b}),b},a.prototype.removePlaceholder=function(a,b){for(var c=b.slice(0),d=b.length-1;d>=0;d--){var e=b[d];this.placeholder.id===e.id&&c.splice(d,1)}return c},a}),b.define("select2/dropdown/infiniteScroll",["jquery"],function(a){function b(a,b,c,d){this.lastParams={},a.call(this,b,c,d),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return b.prototype.append=function(a,b){this.$loadingMore.remove(),this.loading=!1,a.call(this,b),this.showLoadingMore(b)&&this.$results.append(this.$loadingMore)},b.prototype.bind=function(b,c,d){var e=this;b.call(this,c,d),c.on("query",function(a){e.lastParams=a,e.loading=!0}),c.on("query:append",function(a){e.lastParams=a,e.loading=!0}),this.$results.on("scroll",function(){var b=a.contains(document.documentElement,e.$loadingMore[0]);if(!e.loading&&b){var c=e.$results.offset().top+e.$results.outerHeight(!1),d=e.$loadingMore.offset().top+e.$loadingMore.outerHeight(!1);c+50>=d&&e.loadMore()}})},b.prototype.loadMore=function(){this.loading=!0;var b=a.extend({},{page:1},this.lastParams);b.page++,this.trigger("query:append",b)},b.prototype.showLoadingMore=function(a,b){return b.pagination&&b.pagination.more},b.prototype.createLoadingMore=function(){var b=a('
            • '),c=this.options.get("translations").get("loadingMore");return b.html(c(this.lastParams)),b},b}),b.define("select2/dropdown/attachBody",["jquery","../utils"],function(a,b){function c(a,b,c){this.$dropdownParent=c.get("dropdownParent")||document.body,a.call(this,b,c)}return c.prototype.bind=function(a,b,c){var d=this,e=!1;a.call(this,b,c),b.on("open",function(){d._showDropdown(),d._attachPositioningHandler(b),e||(e=!0,b.on("results:all",function(){d._positionDropdown(),d._resizeDropdown()}),b.on("results:append",function(){d._positionDropdown(),d._resizeDropdown()}))}),b.on("close",function(){d._hideDropdown(),d._detachPositioningHandler(b)}),this.$dropdownContainer.on("mousedown",function(a){a.stopPropagation()})},c.prototype.position=function(a,b,c){b.attr("class",c.attr("class")),b.removeClass("select2"),b.addClass("select2-container--open"),b.css({position:"absolute",top:-999999}),this.$container=c},c.prototype.render=function(b){var c=a(""),d=b.call(this);return c.append(d),this.$dropdownContainer=c,c},c.prototype._hideDropdown=function(){this.$dropdownContainer.detach()},c.prototype._attachPositioningHandler=function(c){var d=this,e="scroll.select2."+c.id,f="resize.select2."+c.id,g="orientationchange.select2."+c.id,h=this.$container.parents().filter(b.hasScroll);h.each(function(){a(this).data("select2-scroll-position",{x:a(this).scrollLeft(),y:a(this).scrollTop()})}),h.on(e,function(){var b=a(this).data("select2-scroll-position");a(this).scrollTop(b.y)}),a(window).on(e+" "+f+" "+g,function(){d._positionDropdown(),d._resizeDropdown()})},c.prototype._detachPositioningHandler=function(c){var d="scroll.select2."+c.id,e="resize.select2."+c.id,f="orientationchange.select2."+c.id,g=this.$container.parents().filter(b.hasScroll);g.off(d),a(window).off(d+" "+e+" "+f)},c.prototype._positionDropdown=function(){var b=a(window),c=this.$dropdown.hasClass("select2-dropdown--above"),d=this.$dropdown.hasClass("select2-dropdown--below"),e=null,f=(this.$container.position(),this.$container.offset());f.bottom=f.top+this.$container.outerHeight(!1);var g={height:this.$container.outerHeight(!1)};g.top=f.top,g.bottom=f.top+g.height;var h={height:this.$dropdown.outerHeight(!1)},i={top:b.scrollTop(),bottom:b.scrollTop()+b.height()},j=i.topf.bottom+h.height,l={left:f.left,top:g.bottom};c||d||(e="below"),k||!j||c?!j&&k&&c&&(e="below"):e="above",("above"==e||c&&"below"!==e)&&(l.top=g.top-h.height),null!=e&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+e),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+e)),this.$dropdownContainer.css(l)},c.prototype._resizeDropdown=function(){this.$dropdownContainer.width();var a={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(a.minWidth=a.width,a.width="auto"),this.$dropdown.css(a)},c.prototype._showDropdown=function(){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},c}),b.define("select2/dropdown/minimumResultsForSearch",[],function(){function a(b){for(var c=0,d=0;d0&&(l.dataAdapter=j.Decorate(l.dataAdapter,r)),l.maximumInputLength>0&&(l.dataAdapter=j.Decorate(l.dataAdapter,s)),l.maximumSelectionLength>0&&(l.dataAdapter=j.Decorate(l.dataAdapter,t)),l.tags&&(l.dataAdapter=j.Decorate(l.dataAdapter,p)),(null!=l.tokenSeparators||null!=l.tokenizer)&&(l.dataAdapter=j.Decorate(l.dataAdapter,q)),null!=l.query){var C=b(l.amdBase+"compat/query");l.dataAdapter=j.Decorate(l.dataAdapter,C)}if(null!=l.initSelection){var D=b(l.amdBase+"compat/initSelection");l.dataAdapter=j.Decorate(l.dataAdapter,D)}}if(null==l.resultsAdapter&&(l.resultsAdapter=c,null!=l.ajax&&(l.resultsAdapter=j.Decorate(l.resultsAdapter,x)),null!=l.placeholder&&(l.resultsAdapter=j.Decorate(l.resultsAdapter,w)),l.selectOnClose&&(l.resultsAdapter=j.Decorate(l.resultsAdapter,A))),null==l.dropdownAdapter){if(l.multiple)l.dropdownAdapter=u;else{var E=j.Decorate(u,v);l.dropdownAdapter=E}if(0!==l.minimumResultsForSearch&&(l.dropdownAdapter=j.Decorate(l.dropdownAdapter,z)),l.closeOnSelect&&(l.dropdownAdapter=j.Decorate(l.dropdownAdapter,B)),null!=l.dropdownCssClass||null!=l.dropdownCss||null!=l.adaptDropdownCssClass){var F=b(l.amdBase+"compat/dropdownCss");l.dropdownAdapter=j.Decorate(l.dropdownAdapter,F)}l.dropdownAdapter=j.Decorate(l.dropdownAdapter,y)}if(null==l.selectionAdapter){if(l.selectionAdapter=l.multiple?e:d,null!=l.placeholder&&(l.selectionAdapter=j.Decorate(l.selectionAdapter,f)),l.allowClear&&(l.selectionAdapter=j.Decorate(l.selectionAdapter,g)),l.multiple&&(l.selectionAdapter=j.Decorate(l.selectionAdapter,h)),null!=l.containerCssClass||null!=l.containerCss||null!=l.adaptContainerCssClass){var G=b(l.amdBase+"compat/containerCss");l.selectionAdapter=j.Decorate(l.selectionAdapter,G)}l.selectionAdapter=j.Decorate(l.selectionAdapter,i)}if("string"==typeof l.language)if(l.language.indexOf("-")>0){var H=l.language.split("-"),I=H[0];l.language=[l.language,I]}else l.language=[l.language];if(a.isArray(l.language)){var J=new k;l.language.push("en");for(var K=l.language,L=0;L0){for(var f=a.extend(!0,{},e),g=e.children.length-1;g>=0;g--){var h=e.children[g],i=c(d,h);null==i&&f.children.splice(g,1)}return f.children.length>0?f:c(d,f)}var j=b(e.text).toUpperCase(),k=b(d.term).toUpperCase();return j.indexOf(k)>-1?e:null}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:j.escapeMarkup,language:C,matcher:c,minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,sorter:function(a){return a},templateResult:function(a){return a.text},templateSelection:function(a){return a.text},theme:"default",width:"resolve"}},D.prototype.set=function(b,c){var d=a.camelCase(b),e={};e[d]=c;var f=j._convertData(e);a.extend(this.defaults,f)};var E=new D;return E}),b.define("select2/options",["require","jquery","./defaults","./utils"],function(a,b,c,d){function e(b,e){if(this.options=b,null!=e&&this.fromElement(e),this.options=c.apply(this.options),e&&e.is("input")){var f=a(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=d.Decorate(this.options.dataAdapter,f)}}return e.prototype.fromElement=function(a){var c=["select2"];null==this.options.multiple&&(this.options.multiple=a.prop("multiple")),null==this.options.disabled&&(this.options.disabled=a.prop("disabled")),null==this.options.language&&(a.prop("lang")?this.options.language=a.prop("lang").toLowerCase():a.closest("[lang]").prop("lang")&&(this.options.language=a.closest("[lang]").prop("lang"))),null==this.options.dir&&(this.options.dir=a.prop("dir")?a.prop("dir"):a.closest("[dir]").prop("dir")?a.closest("[dir]").prop("dir"):"ltr"),a.prop("disabled",this.options.disabled),a.prop("multiple",this.options.multiple),a.data("select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),a.data("data",a.data("select2Tags")),a.data("tags",!0)),a.data("ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),a.attr("ajax--url",a.data("ajaxUrl")),a.data("ajax--url",a.data("ajaxUrl")));var e={};e=b.fn.jquery&&"1."==b.fn.jquery.substr(0,2)&&a[0].dataset?b.extend(!0,{},a[0].dataset,a.data()):a.data();var f=b.extend(!0,{},e);f=d._convertData(f);for(var g in f)b.inArray(g,c)>-1||(b.isPlainObject(this.options[g])?b.extend(this.options[g],f[g]):this.options[g]=f[g]);return this},e.prototype.get=function(a){return this.options[a]},e.prototype.set=function(a,b){this.options[a]=b},e}),b.define("select2/core",["jquery","./options","./utils","./keys"],function(a,b,c,d){var e=function(a,c){null!=a.data("select2")&&a.data("select2").destroy(),this.$element=a,this.id=this._generateId(a),c=c||{},this.options=new b(c,a),e.__super__.constructor.call(this);var d=a.attr("tabindex")||0;a.data("old-tabindex",d),a.attr("tabindex","-1");var f=this.options.get("dataAdapter");this.dataAdapter=new f(a,this.options);var g=this.render();this._placeContainer(g);var h=this.options.get("selectionAdapter");this.selection=new h(a,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,g);var i=this.options.get("dropdownAdapter");this.dropdown=new i(a,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,g);var j=this.options.get("resultsAdapter");this.results=new j(a,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var k=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(a){k.trigger("selection:update",{data:a})}),a.addClass("select2-hidden-accessible"),a.attr("aria-hidden","true"),this._syncAttributes(),a.data("select2",this)};return c.Extend(e,c.Observable),e.prototype._generateId=function(a){var b="";return b=null!=a.attr("id")?a.attr("id"):null!=a.attr("name")?a.attr("name")+"-"+c.generateChars(2):c.generateChars(4),b="select2-"+b},e.prototype._placeContainer=function(a){a.insertAfter(this.$element);var b=this._resolveWidth(this.$element,this.options.get("width"));null!=b&&a.css("width",b)},e.prototype._resolveWidth=function(a,b){var c=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==b){var d=this._resolveWidth(a,"style");return null!=d?d:this._resolveWidth(a,"element")}if("element"==b){var e=a.outerWidth(!1);return 0>=e?"auto":e+"px"}if("style"==b){var f=a.attr("style");if("string"!=typeof f)return null;for(var g=f.split(";"),h=0,i=g.length;i>h;h+=1){var j=g[h].replace(/\s/g,""),k=j.match(c);if(null!==k&&k.length>=1)return k[1]}return null}return b},e.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},e.prototype._registerDomEvents=function(){var b=this;this.$element.on("change.select2",function(){b.dataAdapter.current(function(a){b.trigger("selection:update",{data:a})})}),this._sync=c.bind(this._syncAttributes,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._sync);var d=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=d?(this._observer=new d(function(c){a.each(c,b._sync)}),this._observer.observe(this.$element[0],{attributes:!0,subtree:!1})):this.$element[0].addEventListener&&this.$element[0].addEventListener("DOMAttrModified",b._sync,!1)},e.prototype._registerDataEvents=function(){var a=this;this.dataAdapter.on("*",function(b,c){a.trigger(b,c)})},e.prototype._registerSelectionEvents=function(){var b=this,c=["toggle"];this.selection.on("toggle",function(){b.toggleDropdown()}),this.selection.on("*",function(d,e){-1===a.inArray(d,c)&&b.trigger(d,e)})},e.prototype._registerDropdownEvents=function(){var a=this;this.dropdown.on("*",function(b,c){a.trigger(b,c)})},e.prototype._registerResultsEvents=function(){var a=this;this.results.on("*",function(b,c){a.trigger(b,c)})},e.prototype._registerEvents=function(){var a=this;this.on("open",function(){a.$container.addClass("select2-container--open")}),this.on("close",function(){a.$container.removeClass("select2-container--open")}),this.on("enable",function(){a.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){a.$container.addClass("select2-container--disabled")}),this.on("focus",function(){a.$container.addClass("select2-container--focus")}),this.on("blur",function(){a.$container.removeClass("select2-container--focus")}),this.on("query",function(b){a.isOpen()||a.trigger("open"),this.dataAdapter.query(b,function(c){a.trigger("results:all",{data:c,query:b})})}),this.on("query:append",function(b){this.dataAdapter.query(b,function(c){a.trigger("results:append",{data:c,query:b})})}),this.on("keypress",function(b){var c=b.which;a.isOpen()?c===d.ENTER?(a.trigger("results:select"),b.preventDefault()):c===d.SPACE&&b.ctrlKey?(a.trigger("results:toggle"),b.preventDefault()):c===d.UP?(a.trigger("results:previous"),b.preventDefault()):c===d.DOWN?(a.trigger("results:next"),b.preventDefault()):(c===d.ESC||c===d.TAB)&&(a.close(),b.preventDefault()):(c===d.ENTER||c===d.SPACE||(c===d.DOWN||c===d.UP)&&b.altKey)&&(a.open(),b.preventDefault())})},e.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.options.get("disabled")?(this.isOpen()&&this.close(),this.trigger("disable")):this.trigger("enable")},e.prototype.trigger=function(a,b){var c=e.__super__.trigger,d={open:"opening",close:"closing",select:"selecting",unselect:"unselecting"};if(a in d){var f=d[a],g={prevented:!1,name:a,args:b};if(c.call(this,f,g),g.prevented)return void(b.prevented=!0)}c.call(this,a,b)},e.prototype.toggleDropdown=function(){this.options.get("disabled")||(this.isOpen()?this.close():this.open())},e.prototype.open=function(){this.isOpen()||(this.trigger("query",{}),this.trigger("open"))},e.prototype.close=function(){this.isOpen()&&this.trigger("close")},e.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},e.prototype.enable=function(a){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),(null==a||0===a.length)&&(a=[!0]);var b=!a[0];this.$element.prop("disabled",b)},e.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var a=[];return this.dataAdapter.current(function(b){a=b}),a},e.prototype.val=function(b){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==b||0===b.length)return this.$element.val();var c=b[0];a.isArray(c)&&(c=a.map(c,function(a){return a.toString()})),this.$element.val(c).trigger("change")},e.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._sync),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&this.$element[0].removeEventListener("DOMAttrModified",this._sync,!1),this._sync=null,this.$element.off(".select2"),this.$element.attr("tabindex",this.$element.data("old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},e.prototype.render=function(){var b=a('');return b.attr("dir",this.options.get("dir")),this.$container=b,this.$container.addClass("select2-container--"+this.options.get("theme")),b.data("element",this.$element),b},e}),b.define("jquery.select2",["jquery","require","./select2/core","./select2/defaults"],function(a,b,c,d){if(b("jquery.mousewheel"),null==a.fn.select2){var e=["open","close","destroy"];a.fn.select2=function(b){if(b=b||{},"object"==typeof b)return this.each(function(){{var d=a.extend({},b,!0);new c(a(this),d)}}),this;if("string"==typeof b){var d=this.data("select2");null==d&&window.console&&console.error&&console.error("The select2('"+b+"') method was called on an element that is not using Select2.");var f=Array.prototype.slice.call(arguments,1),g=d[b](f);return a.inArray(b,e)>-1?this:g}throw new Error("Invalid arguments for Select2: "+b)}}return null==a.fn.select2.defaults&&(a.fn.select2.defaults=d),c}),b.define("jquery.mousewheel",["jquery"],function(a){return a}),{define:b.define,require:b.require}}(),c=b.require("jquery.select2");return a.fn.select2.amd=b,c}); \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/assets/js/vendor/tiptip.js b/wp-content/plugins/google-calendar-events/assets/js/vendor/tiptip.js new file mode 100644 index 0000000..7eacf35 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/assets/js/vendor/tiptip.js @@ -0,0 +1,191 @@ + /* + * TipTip + * Copyright 2010 Drew Wilson + * www.drewwilson.com + * code.drewwilson.com/entry/tiptip-jquery-plugin + * + * Version 1.3 - Updated: Mar. 23, 2010 + * + * This Plug-In will create a custom tooltip to replace the default + * browser tooltip. It is extremely lightweight and very smart in + * that it detects the edges of the browser window and will make sure + * the tooltip stays within the current window size. As a result the + * tooltip will adjust itself to be displayed above, below, to the left + * or to the right depending on what is necessary to stay within the + * browser window. It is completely customizable as well via CSS. + * + * This TipTip jQuery plug-in is dual licensed under the MIT and GPL licenses: + * http://www.opensource.org/licenses/mit-license.php + * http://www.gnu.org/licenses/gpl.html + */ + +(function($){ + $.fn.tipTip = function(options) { + var defaults = { + activation: "hover", + keepAlive: false, + maxWidth: "200px", + edgeOffset: 3, + defaultPosition: "bottom", + delay: 400, + fadeIn: 200, + fadeOut: 200, + attribute: "title", + content: false, // HTML or String to fill TipTIp with + enter: function(){}, + exit: function(){} + }; + var opts = $.extend(defaults, options); + + // Setup tip tip elements and render them to the DOM + if($("#tiptip_holder").length <= 0){ + var tiptip_holder = $('
              '); + var tiptip_content = $('
              '); + var tiptip_arrow = $('
              '); + $("body").append(tiptip_holder.html(tiptip_content).prepend(tiptip_arrow.html('
              '))); + } else { + var tiptip_holder = $("#tiptip_holder"); + var tiptip_content = $("#tiptip_content"); + var tiptip_arrow = $("#tiptip_arrow"); + } + + return this.each(function(){ + var org_elem = $(this); + if(opts.content){ + var org_title = opts.content; + } else { + var org_title = org_elem.attr(opts.attribute); + } + if(org_title != ""){ + if(!opts.content){ + org_elem.removeAttr(opts.attribute); //remove original Attribute + } + var timeout = false; + + if(opts.activation == "hover"){ + org_elem.hover(function(){ + active_tiptip(); + }, function(){ + if(!opts.keepAlive){ + deactive_tiptip(); + } + }); + if(opts.keepAlive){ + tiptip_holder.hover(function(){}, function(){ + deactive_tiptip(); + }); + } + } else if(opts.activation == "focus"){ + org_elem.focus(function(){ + active_tiptip(); + }).blur(function(){ + deactive_tiptip(); + }); + } else if(opts.activation == "click"){ + org_elem.click(function(){ + active_tiptip(); + return false; + }).hover(function(){},function(){ + if(!opts.keepAlive){ + deactive_tiptip(); + } + }); + if(opts.keepAlive){ + tiptip_holder.hover(function(){}, function(){ + deactive_tiptip(); + }); + } + } + + function active_tiptip(){ + opts.enter.call(this); + tiptip_content.html(org_title); + tiptip_holder.hide().removeAttr("class").css("margin","0"); + tiptip_arrow.removeAttr("style"); + + var top = parseInt(org_elem.offset()['top']); + var left = parseInt(org_elem.offset()['left']); + var org_width = parseInt(org_elem.outerWidth()); + var org_height = parseInt(org_elem.outerHeight()); + var tip_w = tiptip_holder.outerWidth(); + var tip_h = tiptip_holder.outerHeight(); + var w_compare = Math.round((org_width - tip_w) / 2); + var h_compare = Math.round((org_height - tip_h) / 2); + var marg_left = Math.round(left + w_compare); + var marg_top = Math.round(top + org_height + opts.edgeOffset); + var t_class = ""; + var arrow_top = ""; + var arrow_left = Math.round(tip_w - 12) / 2; + + if(opts.defaultPosition == "bottom"){ + t_class = "_bottom"; + } else if(opts.defaultPosition == "top"){ + t_class = "_top"; + } else if(opts.defaultPosition == "left"){ + t_class = "_left"; + } else if(opts.defaultPosition == "right"){ + t_class = "_right"; + } + + var right_compare = (w_compare + left) < parseInt($(window).scrollLeft()); + var left_compare = (tip_w + left) > parseInt($(window).width()); + + if((right_compare && w_compare < 0) || (t_class == "_right" && !left_compare) || (t_class == "_left" && left < (tip_w + opts.edgeOffset + 5))){ + t_class = "_right"; + arrow_top = Math.round(tip_h - 13) / 2; + arrow_left = -12; + marg_left = Math.round(left + org_width + opts.edgeOffset); + marg_top = Math.round(top + h_compare); + } else if((left_compare && w_compare < 0) || (t_class == "_left" && !right_compare)){ + t_class = "_left"; + arrow_top = Math.round(tip_h - 13) / 2; + arrow_left = Math.round(tip_w); + marg_left = Math.round(left - (tip_w + opts.edgeOffset + 5)); + marg_top = Math.round(top + h_compare); + } + + var top_compare = (top + org_height + opts.edgeOffset + tip_h + 8) > parseInt($(window).height() + $(window).scrollTop()); + var bottom_compare = ((top + org_height) - (opts.edgeOffset + tip_h + 8)) < 0; + + if(top_compare || (t_class == "_bottom" && top_compare) || (t_class == "_top" && !bottom_compare)){ + if(t_class == "_top" || t_class == "_bottom"){ + t_class = "_top"; + } else { + t_class = t_class+"_top"; + } + arrow_top = tip_h; + marg_top = Math.round(top - (tip_h + 5 + opts.edgeOffset)); + } else if(bottom_compare | (t_class == "_top" && bottom_compare) || (t_class == "_bottom" && !top_compare)){ + if(t_class == "_top" || t_class == "_bottom"){ + t_class = "_bottom"; + } else { + t_class = t_class+"_bottom"; + } + arrow_top = -12; + marg_top = Math.round(top + org_height + opts.edgeOffset); + } + + if(t_class == "_right_top" || t_class == "_left_top"){ + marg_top = marg_top + 5; + } else if(t_class == "_right_bottom" || t_class == "_left_bottom"){ + marg_top = marg_top - 5; + } + if(t_class == "_left_top" || t_class == "_left_bottom"){ + marg_left = marg_left + 5; + } + tiptip_arrow.css({"margin-left": arrow_left+"px", "margin-top": arrow_top+"px"}); + tiptip_holder.css({"margin-left": marg_left+"px", "margin-top": marg_top+"px"}).attr("class","tip"+t_class); + + if (timeout){ clearTimeout(timeout); } + timeout = setTimeout(function(){ tiptip_holder.stop(true,true).fadeIn(opts.fadeIn); }, opts.delay); + } + + function deactive_tiptip(){ + opts.exit.call(this); + if (timeout){ clearTimeout(timeout); } + tiptip_holder.fadeOut(opts.fadeOut); + } + } + }); + } +})(jQuery); \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/assets/js/vendor/tiptip.min.js b/wp-content/plugins/google-calendar-events/assets/js/vendor/tiptip.min.js new file mode 100644 index 0000000..cdf3a89 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/assets/js/vendor/tiptip.min.js @@ -0,0 +1,21 @@ + /* + * TipTip + * Copyright 2010 Drew Wilson + * www.drewwilson.com + * code.drewwilson.com/entry/tiptip-jquery-plugin + * + * Version 1.3 - Updated: Mar. 23, 2010 + * + * This Plug-In will create a custom tooltip to replace the default + * browser tooltip. It is extremely lightweight and very smart in + * that it detects the edges of the browser window and will make sure + * the tooltip stays within the current window size. As a result the + * tooltip will adjust itself to be displayed above, below, to the left + * or to the right depending on what is necessary to stay within the + * browser window. It is completely customizable as well via CSS. + * + * This TipTip jQuery plug-in is dual licensed under the MIT and GPL licenses: + * http://www.opensource.org/licenses/mit-license.php + * http://www.gnu.org/licenses/gpl.html + */ +(function($){$.fn.tipTip=function(options){var defaults={activation:"hover",keepAlive:false,maxWidth:"200px",edgeOffset:3,defaultPosition:"bottom",delay:400,fadeIn:200,fadeOut:200,attribute:"title",content:false,enter:function(){},exit:function(){}};var opts=$.extend(defaults,options);if($("#tiptip_holder").length<=0){var tiptip_holder=$('
              ');var tiptip_content=$('
              ');var tiptip_arrow=$('
              ');$("body").append(tiptip_holder.html(tiptip_content).prepend(tiptip_arrow.html('
              ')))}else{var tiptip_holder=$("#tiptip_holder");var tiptip_content=$("#tiptip_content");var tiptip_arrow=$("#tiptip_arrow")}return this.each(function(){var org_elem=$(this);if(opts.content){var org_title=opts.content}else{var org_title=org_elem.attr(opts.attribute)}if(org_title!=""){if(!opts.content){org_elem.removeAttr(opts.attribute)}var timeout=false;if(opts.activation=="hover"){org_elem.hover(function(){active_tiptip()},function(){if(!opts.keepAlive){deactive_tiptip()}});if(opts.keepAlive){tiptip_holder.hover(function(){},function(){deactive_tiptip()})}}else if(opts.activation=="focus"){org_elem.focus(function(){active_tiptip()}).blur(function(){deactive_tiptip()})}else if(opts.activation=="click"){org_elem.click(function(){active_tiptip();return false}).hover(function(){},function(){if(!opts.keepAlive){deactive_tiptip()}});if(opts.keepAlive){tiptip_holder.hover(function(){},function(){deactive_tiptip()})}}function active_tiptip(){opts.enter.call(this);tiptip_content.html(org_title);tiptip_holder.hide().removeAttr("class").css("margin","0");tiptip_arrow.removeAttr("style");var top=parseInt(org_elem.offset()['top']);var left=parseInt(org_elem.offset()['left']);var org_width=parseInt(org_elem.outerWidth());var org_height=parseInt(org_elem.outerHeight());var tip_w=tiptip_holder.outerWidth();var tip_h=tiptip_holder.outerHeight();var w_compare=Math.round((org_width-tip_w)/2);var h_compare=Math.round((org_height-tip_h)/2);var marg_left=Math.round(left+w_compare);var marg_top=Math.round(top+org_height+opts.edgeOffset);var t_class="";var arrow_top="";var arrow_left=Math.round(tip_w-12)/2;if(opts.defaultPosition=="bottom"){t_class="_bottom"}else if(opts.defaultPosition=="top"){t_class="_top"}else if(opts.defaultPosition=="left"){t_class="_left"}else if(opts.defaultPosition=="right"){t_class="_right"}var right_compare=(w_compare+left)parseInt($(window).width());if((right_compare&&w_compare<0)||(t_class=="_right"&&!left_compare)||(t_class=="_left"&&left<(tip_w+opts.edgeOffset+5))){t_class="_right";arrow_top=Math.round(tip_h-13)/2;arrow_left=-12;marg_left=Math.round(left+org_width+opts.edgeOffset);marg_top=Math.round(top+h_compare)}else if((left_compare&&w_compare<0)||(t_class=="_left"&&!right_compare)){t_class="_left";arrow_top=Math.round(tip_h-13)/2;arrow_left=Math.round(tip_w);marg_left=Math.round(left-(tip_w+opts.edgeOffset+5));marg_top=Math.round(top+h_compare)}var top_compare=(top+org_height+opts.edgeOffset+tip_h+8)>parseInt($(window).height()+$(window).scrollTop());var bottom_compare=((top+org_height)-(opts.edgeOffset+tip_h+8))<0;if(top_compare||(t_class=="_bottom"&&top_compare)||(t_class=="_top"&&!bottom_compare)){if(t_class=="_top"||t_class=="_bottom"){t_class="_top"}else{t_class=t_class+"_top"}arrow_top=tip_h;marg_top=Math.round(top-(tip_h+5+opts.edgeOffset))}else if(bottom_compare|(t_class=="_top"&&bottom_compare)||(t_class=="_bottom"&&!top_compare)){if(t_class=="_top"||t_class=="_bottom"){t_class="_bottom"}else{t_class=t_class+"_bottom"}arrow_top=-12;marg_top=Math.round(top+org_height+opts.edgeOffset)}if(t_class=="_right_top"||t_class=="_left_top"){marg_top=marg_top+5}else if(t_class=="_right_bottom"||t_class=="_left_bottom"){marg_top=marg_top-5}if(t_class=="_left_top"||t_class=="_left_bottom"){marg_left=marg_left+5}tiptip_arrow.css({"margin-left":arrow_left+"px","margin-top":arrow_top+"px"});tiptip_holder.css({"margin-left":marg_left+"px","margin-top":marg_top+"px"}).attr("class","tip"+t_class);if(timeout){clearTimeout(timeout)}timeout=setTimeout(function(){tiptip_holder.stop(true,true).fadeIn(opts.fadeIn)},opts.delay)}function deactive_tiptip(){opts.exit.call(this);if(timeout){clearTimeout(timeout)}tiptip_holder.fadeOut(opts.fadeOut)}}})}})(jQuery); \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/assets/screenshot-1.png b/wp-content/plugins/google-calendar-events/assets/screenshot-1.png deleted file mode 100644 index 7eabce1..0000000 Binary files a/wp-content/plugins/google-calendar-events/assets/screenshot-1.png and /dev/null differ diff --git a/wp-content/plugins/google-calendar-events/assets/screenshot-2.png b/wp-content/plugins/google-calendar-events/assets/screenshot-2.png deleted file mode 100644 index e093ee6..0000000 Binary files a/wp-content/plugins/google-calendar-events/assets/screenshot-2.png and /dev/null differ diff --git a/wp-content/plugins/google-calendar-events/assets/screenshot-3.png b/wp-content/plugins/google-calendar-events/assets/screenshot-3.png deleted file mode 100644 index a4b69eb..0000000 Binary files a/wp-content/plugins/google-calendar-events/assets/screenshot-3.png and /dev/null differ diff --git a/wp-content/plugins/google-calendar-events/assets/screenshot-4.png b/wp-content/plugins/google-calendar-events/assets/screenshot-4.png deleted file mode 100644 index d11886c..0000000 Binary files a/wp-content/plugins/google-calendar-events/assets/screenshot-4.png and /dev/null differ diff --git a/wp-content/plugins/google-calendar-events/assets/screenshot-5.png b/wp-content/plugins/google-calendar-events/assets/screenshot-5.png deleted file mode 100644 index 013777d..0000000 Binary files a/wp-content/plugins/google-calendar-events/assets/screenshot-5.png and /dev/null differ diff --git a/wp-content/plugins/google-calendar-events/assets/screenshot-6.png b/wp-content/plugins/google-calendar-events/assets/screenshot-6.png deleted file mode 100644 index f0d7ea1..0000000 Binary files a/wp-content/plugins/google-calendar-events/assets/screenshot-6.png and /dev/null differ diff --git a/wp-content/plugins/google-calendar-events/assets/screenshot-7.png b/wp-content/plugins/google-calendar-events/assets/screenshot-7.png deleted file mode 100644 index a027feb..0000000 Binary files a/wp-content/plugins/google-calendar-events/assets/screenshot-7.png and /dev/null differ diff --git a/wp-content/plugins/google-calendar-events/class-google-calendar-events-admin.php b/wp-content/plugins/google-calendar-events/class-google-calendar-events-admin.php deleted file mode 100644 index fb69c98..0000000 --- a/wp-content/plugins/google-calendar-events/class-google-calendar-events-admin.php +++ /dev/null @@ -1,374 +0,0 @@ -, Nick Young - * @license GPL-2.0+ - * @link http://philderksen.com - * @copyright 2014 Phil Derksen - */ - - -class Google_Calendar_Events_Admin { - - /** - * Instance of this class. - * - * @since 2.0.0 - * - * @var object - */ - protected static $instance = null; - - protected $version = ''; - - /** - * Slug of the plugin screen. - * - * @since 2.0.0 - * - * @var string - */ - protected $plugin_screen_hook_suffix = null; - - /** - * Initialize the plugin by loading admin scripts & styles and adding a - * settings page and menu. - * - * @since 2.0.0 - */ - private function __construct() { - - $plugin = Google_Calendar_Events::get_instance(); - $this->plugin_slug = $plugin->get_plugin_slug(); - - $this->version = $plugin->get_plugin_version(); - - add_filter( 'plugin_action_links_' . plugin_basename( plugin_dir_path( __FILE__ ) . $this->plugin_slug . '.php' ), array( $this, 'add_action_links' ) ); - - // Setup admin side constants - add_action( 'init', array( $this, 'define_admin_constants' ) ); - - // Add admin styles - add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_admin_styles' ) ); - - // Add admin JS - add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_admin_scripts' ) ); - - // Add the options page and menu item. - add_action( 'admin_menu', array( $this, 'add_plugin_admin_menu' ), 2 ); - - if ( isset( $_GET['gce_dismiss_admin_update_notices'] ) ) { - delete_option( 'gce_admin_update_notices' ); - } elseif ( 'show' == get_option( 'gce_admin_update_notices' ) && current_user_can( 'manage_options' ) ) { - add_action( 'admin_head', array( $this, 'dismissible_admin_notices_styles' ) ); - add_action( 'admin_notices', array( $this, 'show_admin_update_notices' ) ); - } - - // Add admin notice after plugin activation. Also check if should be hidden. - // add_action( 'admin_notices', array( $this, 'show_admin_notice' ) ); - - // Add media button for adding a shortcode. - add_action( 'media_buttons', array( $this, 'add_shortcode_button' ), 100 ); - add_action( 'edit_form_after_editor', array( $this, 'add_shortcode_panel' ), 100 ); - } - - /** - * @since 2.4.0 - */ - public function dismissible_admin_notices_styles() { - ?> - - ' . __( 'Google API Key Notice', 'gce' ) . '' . - '

              ' . __( 'This plugin now requires you to use your own Google API key to avoid running into limit requests.', 'gce' ) . '

              ' . - '

              ' . __( 'Enter your Google API key', 'gce' ) . '    ' . - '' . __( 'Instructions', 'gce' ) . '' . - '

              '; - } - - $message .= '

              ' . __( 'Plugin Upgrade Notice', 'gce' ) . '

              ' . - '

              ' . __( 'Simple Calendar 3.0 is a pretty major update and will be released very soon.', 'gce' ) . '

              ' . - '

              ' . __( 'To make sure you\'re prepared, you can ', 'gce' ) . - '' . __( 'read about (and try out) the current beta here', 'gce' ) . '

              ' . - '

              ' .__( 'Get notified of important updates', 'gce' ) . '

              '; - - $url = add_query_arg( array( 'gce_dismiss_admin_update_notices' => true ) ); - $dismiss_icon = sprintf( '', $url ); - $dismiss_link = sprintf( '

              ' . __( 'Dismiss this notice', 'gce' ) . '

              ', $url ); - - echo '
              ' . - $dismiss_icon . $message . $dismiss_link . - '
              '; - } - - /** - * Show notice after plugin install/activate - * Also check if user chooses to hide it. - * - * @since 2.1.0 - */ - public function show_admin_notice() { - // Exit all of this is stored value is false/0 or not set. - if ( false == get_option( 'gce_show_admin_install_notice' ) ) { - return; - } - - $screen = get_current_screen(); - - // Delete stored value if "hide" button click detected (custom querystring value set to 1). - if ( ! empty( $_REQUEST['gce-dismiss-install-nag'] ) || in_array( $screen->id, $this->plugin_screen_hook_suffix ) || $this->viewing_this_plugin() ) { - delete_option( 'gce_show_admin_install_notice' ); - return; - } - - // At this point show install notice. Show it only on the plugin screen. - if( get_current_screen()->id == 'plugins' ) { - include_once( 'includes/admin/admin-notice.php' ); - } - } - - /** - * Check if viewing one of this plugin's admin pages. - * - * @since 2.1.0 - *$this->viewing_this_plugin() - * @return bool - */ - private function viewing_this_plugin() { - if ( ! isset( $this->plugin_screen_hook_suffix ) ) { - return false; - } - - $screen = get_current_screen(); - - if ( $screen->id == 'edit-gce_feed' || $screen->id == 'gce_feed' || in_array( $screen->id, $this->plugin_screen_hook_suffix ) || $screen->id == 'widgets' ) { - return true; - } else { - return false; - } - } - - /** - * Fired when the plugin is activated. - * - * @since 2.1.0 - */ - public static function activate() { - flush_rewrite_rules(); - add_option( 'gce_admin_update_notices', 'show' ); - //update_option( 'gce_show_admin_install_notice', 1 ); - } - - /** - * Fired when the plugin is deactivated. - */ - public static function deactivate() { - flush_rewrite_rules(); - } - - public function add_plugin_admin_menu() { - // Add Help submenu page - $this->plugin_screen_hook_suffix[] = add_submenu_page( - 'edit.php?post_type=gce_feed', - __( 'General Settings', 'gce' ), - __( 'General Settings', 'gce' ), - 'manage_options', - $this->plugin_slug . '_general_settings', - array( $this, 'display_admin_page' ) - ); - } - - public function display_admin_page() { - include_once( 'views/admin/admin.php' ); - } - - /** - * Enqueue JS for the admin area - * - * @since 2.0.0 - */ - public function enqueue_admin_scripts() { - - // Script for the add shortcode media button. - wp_enqueue_script( 'gce-admin-add-shortcode', plugins_url( 'js/gce-admin-shortcode.js', __FILE__ ), array( 'jquery', 'thickbox' ), $this->version, true); - - if( $this->viewing_this_plugin() ) { - wp_enqueue_script( 'jquery-ui-datepicker' ); - wp_enqueue_script( 'gce-admin', plugins_url( 'js/gce-admin.js', __FILE__ ), array( 'jquery' ), $this->version, true ); - } - } - - /** - * Enqueue styles for the admin area - * - * @since 2.0.0 - */ - public function enqueue_admin_styles() { - - // Style for the add shortcode media button. - wp_enqueue_style( 'gce-admin-shortcode', plugins_url( 'css/admin-shortcode.css', __FILE__ ), array(), $this->version, 'all' ); - - if( $this->viewing_this_plugin() ) { - global $wp_scripts; - - // get the jquery ui object - $queryui = $wp_scripts->query( 'jquery-ui-datepicker' ); - - // Use minified CSS from CDN referenced at https://code.jquery.com/ui/ - wp_enqueue_style( 'jquery-ui-smoothness', '//code.jquery.com/ui/' . $queryui->ver . '/themes/smoothness/jquery-ui.min.css', array(), $this->version ); - - wp_enqueue_style( 'gce-admin', plugins_url( 'css/admin.css', __FILE__ ), array(), $this->version, 'all' ); - } - } - - /** - * Define constants that will be used throughout admin specific code - * - * @since 2.0.0 - */ - public function define_admin_constants() { - if( ! defined( 'GCE_DIR' ) ) { - define( 'GCE_DIR', dirname( __FILE__ ) ); - } - } - - /** - * Return an instance of this class. - * - * @since 2.0.0 - * - * @return object A single instance of this class. - */ - public static function get_instance() { - - // If the single instance hasn't been set, set it now. - if ( null == self::$instance ) { - self::$instance = new self; - } - - return self::$instance; - } - - /** - * Return plugin name - * - * @since 2.0.0 - */ - public function get_plugin_title() { - return __( 'Google Calendar Events', 'gce' ); - } - - /** - * Add settings action link to the plugins page. - * - * @since 2.0.0 - */ - public function add_action_links( $links ) { - - return array_merge( - array( - 'settings' => '' . __( 'General Settings', 'gce' ) . '', - 'feeds' => '' . __( 'Feeds', 'gce' ) . '' - ), - $links - ); - } - - /** - * Add a shortcode button. - * - * Adds a button to add a calendar shortcode in WordPress content editor. - * - * @see http://codex.wordpress.org/ThickBox - */ - public function add_shortcode_button() { - // Thickbox will ignore height and width, will adjust these in js. - // @see https://core.trac.wordpress.org/ticket/17249 - ?> - - - - 'gce_feed', - 'orderby' => 'title', - 'order' => 'ASC', - 'nopaging' => true - ) ); - - $results = array(); - if ( $query && is_array( $query ) ) { - foreach ( $query as $feed ) { - $results[ $feed->ID ] = $feed->post_title; - } - set_transient( 'gce_feed_ids', $results, 604800 ); - } - $feeds = $results; - } - - ?> - - , Nick Young - * @license GPL-2.0+ - * @copyright 2014 Phil Derksen - */ - - -class Google_Calendar_Events { - - /** - * Plugin version, used for cache-busting of style and script file references. - * - * @since 2.0.0 - * - * @var string - */ - protected $version = '2.3.2'; - - /** - * Unique identifier for the plugin. - * - * @since 2.0.0 - * - * @var string - */ - protected $plugin_slug = 'google-calendar-events'; - - /** - * Instance of this class. - * - * @since 2.0.0 - * - * @var object - */ - protected static $instance = null; - - /** - * Return an instance of this class. - * - * @since 1.0.0 - * - * @return object A single instance of this class. - */ - public static function get_instance() { - - // If the single instance hasn't been set, set it now. - if ( null == self::$instance ) { - self::$instance = new self; - } - - return self::$instance; - } - - /** - * Initialize the plugin by setting localization and loading public scripts - * and styles. - * - * @since 2.0.0 - */ - private function __construct() { - - // Load files. - $this->includes(); - - $old = get_option( 'gce_version' ); - - if( version_compare( $old, $this->version, '<' ) ) { - delete_option( 'gce_upgrade_has_run' ); - } - - if( false === get_option( 'gce_upgrade_has_run' ) ) { - $this->upgrade(); - } - - // Init plugin. - $this->setup_constants(); - $this->plugin_textdomain(); - - // Register scripts. - add_action( 'init', array( $this, 'register_public_scripts' ) ); - add_action( 'init', array( $this, 'register_public_styles' ) ); - - // Load scripts when posts load so we know if we need to include them or not - add_action( 'wp_enqueue_scripts', array( $this, 'load_scripts' ) ); - add_action( 'wp_enqueue_scripts', array( $this, 'theme_compatibility' ), 1000 ); - } - - /** - * Load the plugin text domain for translation. - * - * @since 2.0.0 - */ - public function plugin_textdomain() { - load_plugin_textdomain( - 'gce', - false, - dirname( plugin_basename( GCE_MAIN_FILE ) ) . '/languages/' - ); - } - - /** - * Load public facing scripts - * - * @since 2.0.0 - */ - public function register_public_scripts() { - - // DON'T include ImagesLoaded JS library recommended by qTip2 yet since we don't use "complex content that contains images" (yet). - // http://qtip2.com/guides#gettingstarted.imagesloaded - // We WERE doing this between 2.1.6 & 2.2.5 (taken out as of 2.2.6). - // AND this was probably causing issues with themes including the Isotope jQuery library. - // http://qtip2.com/guides#integration.isotope - - $min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min'; - - wp_register_script( $this->plugin_slug . '-qtip', plugins_url( 'js/jquery.qtip' . $min . '.js', __FILE__ ), array( 'jquery' ), $this->version, true ); - wp_register_script( $this->plugin_slug . '-public', plugins_url( 'js/gce-script.js', __FILE__ ), array( 'jquery', $this->plugin_slug . '-qtip' ), $this->version, true ); - } - - /* - * Load public facing styles - * - * @since 2.0.0 - */ - public function register_public_styles() { - - $min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min'; - - wp_register_style( $this->plugin_slug . '-qtip', plugins_url( 'css/jquery.qtip' . $min . '.css', __FILE__ ), array(), $this->version ); - wp_register_style( $this->plugin_slug . '-public', plugins_url( 'css/gce-style.css', __FILE__ ), array( $this->plugin_slug . '-qtip' ), $this->version ); - } - - /** - * Load scripts conditionally. - */ - public function load_scripts() { - - global $gce_options, $post; - $post_type = isset( $post->post_type ) ? $post->post_type : null; - $content = isset( $post->post_content ) ? $post->post_content : ''; - - $conditions = array( - has_shortcode( $content, 'gcal' ), - 'gce_feed' == $post_type, - isset( $gce_options['always_enqueue'] ), - is_active_widget( false, false, 'gce_widget', true ) - ); - - if ( in_array( true, $conditions ) ) { - - if ( ! isset( $gce_options['disable_css'] ) ) { - wp_enqueue_style( $this->plugin_slug . '-public' ); - } - - wp_enqueue_script( $this->plugin_slug . '-public' ); - wp_localize_script( $this->plugin_slug . '-public', 'gce', array( - 'ajaxurl' => admin_url( 'admin-ajax.php' ), - 'loadingText' => __( 'Loading...', 'gce' ), - ) ); - } - - } - - public function theme_compatibility() { - if ( wp_script_is( $this->plugin_slug . '-public', 'enqueued' ) ) { - $min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min'; - wp_enqueue_script( - 'gce-imagesloaded', - plugins_url( 'js/imagesloaded.pkgd' . $min . '.js', __FILE__ ), - array( $this->plugin_slug . '-qtip' ), - '3.1.8', - true - ); - } - } - - /** - * Load the upgrade file - * - * @since 2.0.0 - */ - public function upgrade() { - include_once( 'includes/admin/upgrade.php' ); - } - - /** - * Setup public constants - * - * @since 2.0.0 - */ - public function setup_constants() { - if( ! defined( 'GCE_DIR' ) ) { - define( 'GCE_DIR', dirname( __FILE__ ) ); - } - - if( ! defined( 'GCE_PLUGIN_SLUG' ) ) { - define( 'GCE_PLUGIN_SLUG', $this->plugin_slug ); - } - } - - /** - * Include all necessary files - * - * @since 2.0.0 - */ - public static function includes() { - - global $gce_options; - - // Front facing side. - include_once( 'includes/misc-functions.php' ); - include_once( 'includes/gce-feed-cpt.php' ); - include_once( 'includes/class-gce-display.php' ); - include_once( 'includes/class-gce-event.php' ); - include_once( 'includes/class-gce-feed.php' ); - include_once( 'includes/shortcodes.php' ); - include_once( 'views/widgets.php' ); - - // Admin. - if ( is_admin() ) { - include_once( 'includes/admin/admin-functions.php' ); - } - - // Setup our main settings options. - include_once( 'includes/register-settings.php' ); - - $gce_options = gce_get_settings(); - } - - /** - * Return the plugin slug. - * - * @since 2.0.0 - * - * @return string Plugin version variable. - */ - public function get_plugin_slug() { - return $this->plugin_slug; - } - - /** - * Return the plugin version. - * - * @since 1.0.0 - * - * @return string Plugin slug variable. - */ - public function get_plugin_version() { - return $this->version; - } - -} diff --git a/wp-content/plugins/google-calendar-events/css/admin-shortcode.css b/wp-content/plugins/google-calendar-events/css/admin-shortcode.css deleted file mode 100644 index 20808de..0000000 --- a/wp-content/plugins/google-calendar-events/css/admin-shortcode.css +++ /dev/null @@ -1,35 +0,0 @@ - -body.post-type-gce_feed #gce-insert-shortcode-button { - display: none; -} - -/* Add shortcode media button and panel */ -.wp-media-buttons a.add_calendar span.wp-media-buttons-icon { - background: none; -} -.wp-media-buttons a.add_calendar span.wp-media-buttons-icon:before { - content: '\f508'; - font: normal 18px/1 'dashicons'; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - speak: none; -} - -/* Add shortcode panel contents */ -.gce-insert-shortcode-panel select { - display: block; - max-width: 470px; - width: 100%; -} -/* Hack to make ThickBox look right */ -/* see: https://core.trac.wordpress.org/ticket/17249 */ -body .gce-insert-shortcode-modal { - height: 220px !important; - margin-left: -250px !important; - width: 500px !important; -} -body .gce-insert-shortcode-modal-title { - background: #fff !important; - border-bottom: none !important; - height: 0 !important; -} \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/css/admin.css b/wp-content/plugins/google-calendar-events/css/admin.css deleted file mode 100644 index 9e27613..0000000 --- a/wp-content/plugins/google-calendar-events/css/admin.css +++ /dev/null @@ -1,67 +0,0 @@ -/** - * Admin CSS file - * - * @package GCE - * @author Phil Derksen , Nick Young - * @license GPL-2.0+ - * @copyright 2014 Phil Derksen - */ - -.gce-meta-control { - margin-bottom: 15px; -} - -.gce-meta-control label { - display: block; - font-weight: bold; -} - -#gce-display-options-wrap .gce-meta-control label { - font-weight: normal; - margin-top: 10px; - margin-bottom: 5px; -} - -#gce-display-options-wrap .gce-meta-control p label { - display: inline; -} - -#gce-display-options-wrap .gce-meta-control label#gce-simple-display-label { - font-weight: bold; - color: #cb4d4d; -} - -.gce-admin-hidden { - display: none; -} - -#gce-display-options-wrap .gce-meta-control span.description { - display: block; - margin-top: 5px; -} - -#gce-display-options-wrap .gce-meta-control span.description p { - margin-top: 5px; -} - -#gce-admin-promo { - background-color: #fcf8e3; - border: 1px solid #faebbe; - color: #8a6d3b; - padding: 15px; -} - -#gce_feed_meta .inside code { - word-break: break-all; -} - -.gce-custom-range input { - width: 120px; -} - -input.gce-shortcode { - border: none; - color: rgba(0,0,0,.58); - font-family: monospace; - font-weight: bold; -} diff --git a/wp-content/plugins/google-calendar-events/css/gce-style.css b/wp-content/plugins/google-calendar-events/css/gce-style.css deleted file mode 100644 index 4b97c03..0000000 --- a/wp-content/plugins/google-calendar-events/css/gce-style.css +++ /dev/null @@ -1,217 +0,0 @@ -/** - * Public facing CSS file - * - * @package GCE - * @author Phil Derksen , Nick Young - * @license GPL-2.0+ - * @copyright 2014 Phil Derksen - */ - -/* Base line-height for all views & tooltip */ - -.gce-page-grid, -.gce-page-list, -.gce-widget-grid, -.gce-widget-list, -.gce-event-info { - line-height: 1.5; -} - -/* Month & list titles for all views */ - -.gce-month-title, -.gce-list-title { - font-weight: bold; - padding-bottom: 5px; -} - -/* Event titles with shaded background for all views */ - -.gce-list-event, -.gce-tooltip-event { - background-color: #ddd; - padding: 0 5px; -} - -/* PAGE GRID */ - -.gce-page-grid .gce-calendar .gce-caption{ /* Caption at top of calendar */ - color:#333333; - text-align:center; -} - -.gce-page-grid .gce-calendar{ /* Main calendar table */ - width:100%; - border-collapse:collapse; - border:1px solid #CCCCCC; - color:#CCCCCC; -} - -.gce-page-grid .gce-calendar th{ /* Day headings (S, M etc.) */ - border:1px solid #CCCCCC; - text-align:center; - width:14.29%; - padding:0; -} - -.gce-page-grid .gce-calendar td{ /* Day table cells */ - border:1px solid #CCCCCC; - text-align:center; - height:80px; - vertical-align:middle; - padding:0; -} - -.gce-page-grid .gce-calendar .gce-has-events{ /* Table cells with events */ - color:#333333; - cursor:pointer; -} - -.gce-page-grid .gce-calendar .gce-event-info{ /* Event information */ - display:none; /* Important! */ -} - -.gce-page-grid .gce-calendar .gce-day-number{ /* Day number span */ - font-size:2em; -} - -.gce-page-grid .gce-calendar .gce-today{ /* Table cell that represents today */ - background-color:#DDDDDD; -} - -.gce-page-grid .gce-calendar th abbr{ /* Day letter abbreviation */ - border-bottom:none; -} - -/* PAGE LIST */ - -.gce-page-list .gce-feed { - padding-bottom: 10px; -} - -.gce-page-list .gce-list p{ /* Each piece of information in the list */ - margin:0; -} - -.gce-page-list .gce-list p span, -.gce-page-list .gce-list div span{ /* The text displayed before each piece of info, 'Starts:' for example */ - color:#999999; -} - -/* WIDGET GRID */ - -.gce-widget-grid .gce-calendar .gce-caption{ - text-align:center; -} - -.gce-widget-grid .gce-calendar{ /* Main calendar table */ - width:100%; - border:1px solid #CCCCCC; - border-collapse:collapse; -} - -.gce-widget-grid .gce-calendar th{ /* Day headings (S, M etc.) */ - width:14.29%; - border:1px solid #CCCCCC; - text-align:center; -} - -.gce-widget-grid .gce-calendar td{ /* Day table cells */ - color:#CCCCCC; - width:14.29%; - border:1px solid #CCCCCC; - text-align:center; -} - -.gce-widget-grid .gce-calendar .gce-has-events{ /* Table cells with events */ - cursor:pointer; - color:#666666; -} - -.gce-widget-grid .gce-calendar .gce-today{ /* Table cell that represents today */ - background-color:#DDDDDD; -} - -.gce-widget-grid .gce-calendar .gce-event-info{ /* Event information */ - display:none; /* Important! */ -} - -.gce-widget-grid .gce-calendar th abbr{ /* Day name abbreviations */ - border-bottom:none; -} - -/* WIDGET LIST */ - -.gce-widget-list .gce-list p{ /* Each piece of information in the list */ - margin:0; -} - -.gce-widget-list .gce-list p span, -.gce-widget-list .gce-list div span{ /* The text displayed before each piece of info, 'Starts:' for example */ - color:#999999; -} - -/* TOOLTIP */ - -.gce-event-info{ /* Tooltip container */ - background-color:#FFFFFF; -} - -.gce-event-info .gce-tooltip-title{ /* 'Events on...' text */ - margin:5px; - font-weight:bold; - font-size:1.2em; -} - -.gce-event-info ul{ /* Events list */ - padding:0; - margin:5px; - list-style-type:none; -} - -.gce-event-info ul li{ /* Event list item */ - margin:10px 0 0 0; -} - -.gce-event-info ul li p{ /* Each piece of information */ - margin:0; -} - -.gce-event-info ul li p span, -.gce-event-info ul li div span{ /* The text displayed before each piece of info, 'Starts:' for example */ - color:#999999; -} - -/** Calendar navigation bar, Prev/Next links & month title. **/ - -.gce-navbar { - width: 100%; - text-align: center; - clear: both; - overflow: hidden; -} - -.gce-next, -.gce-prev { - white-space: nowrap; -} - -.gce-prev { - float: left; -} - -.gce-next { - float: right; -} - -.gce-month-title { - display: inline-block; - margin: 0 auto; - white-space: nowrap; -} - -/* Grouped List */ - -.gce-list-grouped .gce-feed { - margin-left: 5%; -} diff --git a/wp-content/plugins/google-calendar-events/css/jquery.qtip.css b/wp-content/plugins/google-calendar-events/css/jquery.qtip.css deleted file mode 100644 index 380378c..0000000 --- a/wp-content/plugins/google-calendar-events/css/jquery.qtip.css +++ /dev/null @@ -1,589 +0,0 @@ -/* - * qTip2 - Pretty powerful tooltips - v2.2.1 - * http://qtip2.com - * - * Copyright (c) 2014 - * Released under the MIT licenses - * http://jquery.org/license - * - * Date: Sat Sep 6 2014 09:55 EDT-0400 - * Plugins: tips viewport - * Styles: core basic css3 - */ -.qtip{ - position: absolute; - left: -28000px; - top: -28000px; - display: none; - - max-width: 280px; - min-width: 50px; - - font-size: 10.5px; - line-height: 12px; - - direction: ltr; - - box-shadow: none; - padding: 0; -} - - .qtip-content{ - position: relative; - padding: 5px 9px; - overflow: hidden; - - text-align: left; - word-wrap: break-word; - } - - .qtip-titlebar{ - position: relative; - padding: 5px 35px 5px 10px; - overflow: hidden; - - border-width: 0 0 1px; - font-weight: bold; - } - - .qtip-titlebar + .qtip-content{ border-top-width: 0 !important; } - - /* Default close button class */ - .qtip-close{ - position: absolute; - right: -9px; top: -9px; - z-index: 11; /* Overlap .qtip-tip */ - - cursor: pointer; - outline: medium none; - - border: 1px solid transparent; - } - - .qtip-titlebar .qtip-close{ - right: 4px; top: 50%; - margin-top: -9px; - } - - * html .qtip-titlebar .qtip-close{ top: 16px; } /* IE fix */ - - .qtip-titlebar .ui-icon, - .qtip-icon .ui-icon{ - display: block; - text-indent: -1000em; - direction: ltr; - } - - .qtip-icon, .qtip-icon .ui-icon{ - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; - text-decoration: none; - } - - .qtip-icon .ui-icon{ - width: 18px; - height: 14px; - - line-height: 14px; - text-align: center; - text-indent: 0; - font: normal bold 10px/13px Tahoma,sans-serif; - - color: inherit; - background: transparent none no-repeat -100em -100em; - } - -/* Applied to 'focused' tooltips e.g. most recently displayed/interacted with */ -.qtip-focus{} - -/* Applied on hover of tooltips i.e. added/removed on mouseenter/mouseleave respectively */ -.qtip-hover{} - -/* Default tooltip style */ -.qtip-default{ - border: 1px solid #F1D031; - - background-color: #FFFFA3; - color: #555; -} - - .qtip-default .qtip-titlebar{ - background-color: #FFEF93; - } - - .qtip-default .qtip-icon{ - border-color: #CCC; - background: #F1F1F1; - color: #777; - } - - .qtip-default .qtip-titlebar .qtip-close{ - border-color: #AAA; - color: #111; - } - - -/*! Light tooltip style */ -.qtip-light{ - background-color: white; - border-color: #E2E2E2; - color: #454545; -} - - .qtip-light .qtip-titlebar{ - background-color: #f1f1f1; - } - - -/*! Dark tooltip style */ -.qtip-dark{ - background-color: #505050; - border-color: #303030; - color: #f3f3f3; -} - - .qtip-dark .qtip-titlebar{ - background-color: #404040; - } - - .qtip-dark .qtip-icon{ - border-color: #444; - } - - .qtip-dark .qtip-titlebar .ui-state-hover{ - border-color: #303030; - } - - -/*! Cream tooltip style */ -.qtip-cream{ - background-color: #FBF7AA; - border-color: #F9E98E; - color: #A27D35; -} - - .qtip-cream .qtip-titlebar{ - background-color: #F0DE7D; - } - - .qtip-cream .qtip-close .qtip-icon{ - background-position: -82px 0; - } - - -/*! Red tooltip style */ -.qtip-red{ - background-color: #F78B83; - border-color: #D95252; - color: #912323; -} - - .qtip-red .qtip-titlebar{ - background-color: #F06D65; - } - - .qtip-red .qtip-close .qtip-icon{ - background-position: -102px 0; - } - - .qtip-red .qtip-icon{ - border-color: #D95252; - } - - .qtip-red .qtip-titlebar .ui-state-hover{ - border-color: #D95252; - } - - -/*! Green tooltip style */ -.qtip-green{ - background-color: #CAED9E; - border-color: #90D93F; - color: #3F6219; -} - - .qtip-green .qtip-titlebar{ - background-color: #B0DE78; - } - - .qtip-green .qtip-close .qtip-icon{ - background-position: -42px 0; - } - - -/*! Blue tooltip style */ -.qtip-blue{ - background-color: #E5F6FE; - border-color: #ADD9ED; - color: #5E99BD; -} - - .qtip-blue .qtip-titlebar{ - background-color: #D0E9F5; - } - - .qtip-blue .qtip-close .qtip-icon{ - background-position: -2px 0; - } - - -.qtip-shadow{ - -webkit-box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.15); - -moz-box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.15); - box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.15); -} - -/* Add rounded corners to your tooltips in: FF3+, Chrome 2+, Opera 10.6+, IE9+, Safari 2+ */ -.qtip-rounded, -.qtip-tipsy, -.qtip-bootstrap{ - -moz-border-radius: 5px; - -webkit-border-radius: 5px; - border-radius: 5px; -} - -.qtip-rounded .qtip-titlebar{ - -moz-border-radius: 4px 4px 0 0; - -webkit-border-radius: 4px 4px 0 0; - border-radius: 4px 4px 0 0; -} - -/* Youtube tooltip style */ -.qtip-youtube{ - -moz-border-radius: 2px; - -webkit-border-radius: 2px; - border-radius: 2px; - - -webkit-box-shadow: 0 0 3px #333; - -moz-box-shadow: 0 0 3px #333; - box-shadow: 0 0 3px #333; - - color: white; - border: 0 solid transparent; - - background: #4A4A4A; - background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0,#4A4A4A),color-stop(100%,black)); - background-image: -webkit-linear-gradient(top,#4A4A4A 0,black 100%); - background-image: -moz-linear-gradient(top,#4A4A4A 0,black 100%); - background-image: -ms-linear-gradient(top,#4A4A4A 0,black 100%); - background-image: -o-linear-gradient(top,#4A4A4A 0,black 100%); -} - - .qtip-youtube .qtip-titlebar{ - background-color: #4A4A4A; - background-color: rgba(0,0,0,0); - } - - .qtip-youtube .qtip-content{ - padding: .75em; - font: 12px arial,sans-serif; - - filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#4a4a4a,EndColorStr=#000000); - -ms-filter: "progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#4a4a4a,EndColorStr=#000000);"; - } - - .qtip-youtube .qtip-icon{ - border-color: #222; - } - - .qtip-youtube .qtip-titlebar .ui-state-hover{ - border-color: #303030; - } - - -/* jQuery TOOLS Tooltip style */ -.qtip-jtools{ - background: #232323; - background: rgba(0, 0, 0, 0.7); - background-image: -webkit-gradient(linear, left top, left bottom, from(#717171), to(#232323)); - background-image: -moz-linear-gradient(top, #717171, #232323); - background-image: -webkit-linear-gradient(top, #717171, #232323); - background-image: -ms-linear-gradient(top, #717171, #232323); - background-image: -o-linear-gradient(top, #717171, #232323); - - border: 2px solid #ddd; - border: 2px solid rgba(241,241,241,1); - - -moz-border-radius: 2px; - -webkit-border-radius: 2px; - border-radius: 2px; - - -webkit-box-shadow: 0 0 12px #333; - -moz-box-shadow: 0 0 12px #333; - box-shadow: 0 0 12px #333; -} - - /* IE Specific */ - .qtip-jtools .qtip-titlebar{ - background-color: transparent; - filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#717171,endColorstr=#4A4A4A); - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#717171,endColorstr=#4A4A4A)"; - } - .qtip-jtools .qtip-content{ - filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4A4A4A,endColorstr=#232323); - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#4A4A4A,endColorstr=#232323)"; - } - - .qtip-jtools .qtip-titlebar, - .qtip-jtools .qtip-content{ - background: transparent; - color: white; - border: 0 dashed transparent; - } - - .qtip-jtools .qtip-icon{ - border-color: #555; - } - - .qtip-jtools .qtip-titlebar .ui-state-hover{ - border-color: #333; - } - - -/* Cluetip style */ -.qtip-cluetip{ - -webkit-box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.4); - -moz-box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.4); - box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.4); - - background-color: #D9D9C2; - color: #111; - border: 0 dashed transparent; -} - - .qtip-cluetip .qtip-titlebar{ - background-color: #87876A; - color: white; - border: 0 dashed transparent; - } - - .qtip-cluetip .qtip-icon{ - border-color: #808064; - } - - .qtip-cluetip .qtip-titlebar .ui-state-hover{ - border-color: #696952; - color: #696952; - } - - -/* Tipsy style */ -.qtip-tipsy{ - background: black; - background: rgba(0, 0, 0, .87); - - color: white; - border: 0 solid transparent; - - font-size: 11px; - font-family: 'Lucida Grande', sans-serif; - font-weight: bold; - line-height: 16px; - text-shadow: 0 1px black; -} - - .qtip-tipsy .qtip-titlebar{ - padding: 6px 35px 0 10px; - background-color: transparent; - } - - .qtip-tipsy .qtip-content{ - padding: 6px 10px; - } - - .qtip-tipsy .qtip-icon{ - border-color: #222; - text-shadow: none; - } - - .qtip-tipsy .qtip-titlebar .ui-state-hover{ - border-color: #303030; - } - - -/* Tipped style */ -.qtip-tipped{ - border: 3px solid #959FA9; - - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; - - background-color: #F9F9F9; - color: #454545; - - font-weight: normal; - font-family: serif; -} - - .qtip-tipped .qtip-titlebar{ - border-bottom-width: 0; - - color: white; - background: #3A79B8; - background-image: -webkit-gradient(linear, left top, left bottom, from(#3A79B8), to(#2E629D)); - background-image: -webkit-linear-gradient(top, #3A79B8, #2E629D); - background-image: -moz-linear-gradient(top, #3A79B8, #2E629D); - background-image: -ms-linear-gradient(top, #3A79B8, #2E629D); - background-image: -o-linear-gradient(top, #3A79B8, #2E629D); - filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#3A79B8,endColorstr=#2E629D); - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#3A79B8,endColorstr=#2E629D)"; - } - - .qtip-tipped .qtip-icon{ - border: 2px solid #285589; - background: #285589; - } - - .qtip-tipped .qtip-icon .ui-icon{ - background-color: #FBFBFB; - color: #555; - } - - -/** - * Twitter Bootstrap style. - * - * Tested with IE 8, IE 9, Chrome 18, Firefox 9, Opera 11. - * Does not work with IE 7. - */ -.qtip-bootstrap{ - /** Taken from Bootstrap body */ - font-size: 14px; - line-height: 20px; - color: #333333; - - /** Taken from Bootstrap .popover */ - padding: 1px; - background-color: #ffffff; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.2); - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -webkit-background-clip: padding-box; - -moz-background-clip: padding; - background-clip: padding-box; -} - - .qtip-bootstrap .qtip-titlebar{ - /** Taken from Bootstrap .popover-title */ - padding: 8px 14px; - margin: 0; - font-size: 14px; - font-weight: normal; - line-height: 18px; - background-color: #f7f7f7; - border-bottom: 1px solid #ebebeb; - -webkit-border-radius: 5px 5px 0 0; - -moz-border-radius: 5px 5px 0 0; - border-radius: 5px 5px 0 0; - } - - .qtip-bootstrap .qtip-titlebar .qtip-close{ - /** - * Overrides qTip2: - * .qtip-titlebar .qtip-close{ - * [...] - * right: 4px; - * top: 50%; - * [...] - * border-style: solid; - * } - */ - right: 11px; - top: 45%; - border-style: none; - } - - .qtip-bootstrap .qtip-content{ - /** Taken from Bootstrap .popover-content */ - padding: 9px 14px; - } - - .qtip-bootstrap .qtip-icon{ - /** - * Overrides qTip2: - * .qtip-default .qtip-icon { - * border-color: #CCC; - * background: #F1F1F1; - * color: #777; - * } - */ - background: transparent; - } - - .qtip-bootstrap .qtip-icon .ui-icon{ - /** - * Overrides qTip2: - * .qtip-icon .ui-icon{ - * width: 18px; - * height: 14px; - * } - */ - width: auto; - height: auto; - - /* Taken from Bootstrap .close */ - float: right; - font-size: 20px; - font-weight: bold; - line-height: 18px; - color: #000000; - text-shadow: 0 1px 0 #ffffff; - opacity: 0.2; - filter: alpha(opacity=20); - } - - .qtip-bootstrap .qtip-icon .ui-icon:hover{ - /* Taken from Bootstrap .close:hover */ - color: #000000; - text-decoration: none; - cursor: pointer; - opacity: 0.4; - filter: alpha(opacity=40); - } - - -/* IE9 fix - removes all filters */ -.qtip:not(.ie9haxors) div.qtip-content, -.qtip:not(.ie9haxors) div.qtip-titlebar{ - filter: none; - -ms-filter: none; -} - - -.qtip .qtip-tip{ - margin: 0 auto; - overflow: hidden; - z-index: 10; - -} - - /* Opera bug #357 - Incorrect tip position - https://github.com/Craga89/qTip2/issues/367 */ - x:-o-prefocus, .qtip .qtip-tip{ - visibility: hidden; - } - - .qtip .qtip-tip, - .qtip .qtip-tip .qtip-vml, - .qtip .qtip-tip canvas{ - position: absolute; - - color: #123456; - background: transparent; - border: 0 dashed transparent; - } - - .qtip .qtip-tip canvas{ top: 0; left: 0; } - - .qtip .qtip-tip .qtip-vml{ - behavior: url(#default#VML); - display: inline-block; - visibility: visible; - } diff --git a/wp-content/plugins/google-calendar-events/css/jquery.qtip.min.css b/wp-content/plugins/google-calendar-events/css/jquery.qtip.min.css deleted file mode 100644 index 06f7d0b..0000000 --- a/wp-content/plugins/google-calendar-events/css/jquery.qtip.min.css +++ /dev/null @@ -1,3 +0,0 @@ -/* qTip2 v2.2.1 | Plugins: tips viewport | Styles: core basic css3 | qtip2.com | Licensed MIT | Sat Sep 06 2014 21:55:19 */ - -.qtip{position:absolute;left:-28000px;top:-28000px;display:none;max-width:280px;min-width:50px;font-size:10.5px;line-height:12px;direction:ltr;box-shadow:none;padding:0}.qtip-content{position:relative;padding:5px 9px;overflow:hidden;text-align:left;word-wrap:break-word}.qtip-titlebar{position:relative;padding:5px 35px 5px 10px;overflow:hidden;border-width:0 0 1px;font-weight:700}.qtip-titlebar+.qtip-content{border-top-width:0!important}.qtip-close{position:absolute;right:-9px;top:-9px;z-index:11;cursor:pointer;outline:0;border:1px solid transparent}.qtip-titlebar .qtip-close{right:4px;top:50%;margin-top:-9px}* html .qtip-titlebar .qtip-close{top:16px}.qtip-icon .ui-icon,.qtip-titlebar .ui-icon{display:block;text-indent:-1000em;direction:ltr}.qtip-icon,.qtip-icon .ui-icon{-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;text-decoration:none}.qtip-icon .ui-icon{width:18px;height:14px;line-height:14px;text-align:center;text-indent:0;font:400 bold 10px/13px Tahoma,sans-serif;color:inherit;background:-100em -100em no-repeat}.qtip-default{border:1px solid #F1D031;background-color:#FFFFA3;color:#555}.qtip-default .qtip-titlebar{background-color:#FFEF93}.qtip-default .qtip-icon{border-color:#CCC;background:#F1F1F1;color:#777}.qtip-default .qtip-titlebar .qtip-close{border-color:#AAA;color:#111}.qtip-light{background-color:#fff;border-color:#E2E2E2;color:#454545}.qtip-light .qtip-titlebar{background-color:#f1f1f1}.qtip-dark{background-color:#505050;border-color:#303030;color:#f3f3f3}.qtip-dark .qtip-titlebar{background-color:#404040}.qtip-dark .qtip-icon{border-color:#444}.qtip-dark .qtip-titlebar .ui-state-hover{border-color:#303030}.qtip-cream{background-color:#FBF7AA;border-color:#F9E98E;color:#A27D35}.qtip-cream .qtip-titlebar{background-color:#F0DE7D}.qtip-cream .qtip-close .qtip-icon{background-position:-82px 0}.qtip-red{background-color:#F78B83;border-color:#D95252;color:#912323}.qtip-red .qtip-titlebar{background-color:#F06D65}.qtip-red .qtip-close .qtip-icon{background-position:-102px 0}.qtip-red .qtip-icon,.qtip-red .qtip-titlebar .ui-state-hover{border-color:#D95252}.qtip-green{background-color:#CAED9E;border-color:#90D93F;color:#3F6219}.qtip-green .qtip-titlebar{background-color:#B0DE78}.qtip-green .qtip-close .qtip-icon{background-position:-42px 0}.qtip-blue{background-color:#E5F6FE;border-color:#ADD9ED;color:#5E99BD}.qtip-blue .qtip-titlebar{background-color:#D0E9F5}.qtip-blue .qtip-close .qtip-icon{background-position:-2px 0}.qtip-shadow{-webkit-box-shadow:1px 1px 3px 1px rgba(0,0,0,.15);-moz-box-shadow:1px 1px 3px 1px rgba(0,0,0,.15);box-shadow:1px 1px 3px 1px rgba(0,0,0,.15)}.qtip-bootstrap,.qtip-rounded,.qtip-tipsy{-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.qtip-rounded .qtip-titlebar{-moz-border-radius:4px 4px 0 0;-webkit-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0}.qtip-youtube{-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-webkit-box-shadow:0 0 3px #333;-moz-box-shadow:0 0 3px #333;box-shadow:0 0 3px #333;color:#fff;border:0 solid transparent;background:#4A4A4A;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#4A4A4A),color-stop(100%,#000));background-image:-webkit-linear-gradient(top,#4A4A4A 0,#000 100%);background-image:-moz-linear-gradient(top,#4A4A4A 0,#000 100%);background-image:-ms-linear-gradient(top,#4A4A4A 0,#000 100%);background-image:-o-linear-gradient(top,#4A4A4A 0,#000 100%)}.qtip-youtube .qtip-titlebar{background-color:transparent}.qtip-youtube .qtip-content{padding:.75em;font:12px arial,sans-serif;filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#4a4a4a, EndColorStr=#000000);-ms-filter:"progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#4a4a4a,EndColorStr=#000000);"}.qtip-youtube .qtip-icon{border-color:#222}.qtip-youtube .qtip-titlebar .ui-state-hover{border-color:#303030}.qtip-jtools{background:#232323;background:rgba(0,0,0,.7);background-image:-webkit-gradient(linear,left top,left bottom,from(#717171),to(#232323));background-image:-moz-linear-gradient(top,#717171,#232323);background-image:-webkit-linear-gradient(top,#717171,#232323);background-image:-ms-linear-gradient(top,#717171,#232323);background-image:-o-linear-gradient(top,#717171,#232323);border:2px solid #ddd;border:2px solid rgba(241,241,241,1);-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-webkit-box-shadow:0 0 12px #333;-moz-box-shadow:0 0 12px #333;box-shadow:0 0 12px #333}.qtip-jtools .qtip-titlebar{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#717171, endColorstr=#4A4A4A);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#717171,endColorstr=#4A4A4A)"}.qtip-jtools .qtip-content{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4A4A4A, endColorstr=#232323);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#4A4A4A,endColorstr=#232323)"}.qtip-jtools .qtip-content,.qtip-jtools .qtip-titlebar{background:0 0;color:#fff;border:0 dashed transparent}.qtip-jtools .qtip-icon{border-color:#555}.qtip-jtools .qtip-titlebar .ui-state-hover{border-color:#333}.qtip-cluetip{-webkit-box-shadow:4px 4px 5px rgba(0,0,0,.4);-moz-box-shadow:4px 4px 5px rgba(0,0,0,.4);box-shadow:4px 4px 5px rgba(0,0,0,.4);background-color:#D9D9C2;color:#111;border:0 dashed transparent}.qtip-cluetip .qtip-titlebar{background-color:#87876A;color:#fff;border:0 dashed transparent}.qtip-cluetip .qtip-icon{border-color:#808064}.qtip-cluetip .qtip-titlebar .ui-state-hover{border-color:#696952;color:#696952}.qtip-tipsy{background:#000;background:rgba(0,0,0,.87);color:#fff;border:0 solid transparent;font-size:11px;font-family:'Lucida Grande',sans-serif;font-weight:700;line-height:16px;text-shadow:0 1px #000}.qtip-tipsy .qtip-titlebar{padding:6px 35px 0 10px;background-color:transparent}.qtip-tipsy .qtip-content{padding:6px 10px}.qtip-tipsy .qtip-icon{border-color:#222;text-shadow:none}.qtip-tipsy .qtip-titlebar .ui-state-hover{border-color:#303030}.qtip-tipped{border:3px solid #959FA9;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;background-color:#F9F9F9;color:#454545;font-weight:400;font-family:serif}.qtip-tipped .qtip-titlebar{border-bottom-width:0;color:#fff;background:#3A79B8;background-image:-webkit-gradient(linear,left top,left bottom,from(#3A79B8),to(#2E629D));background-image:-webkit-linear-gradient(top,#3A79B8,#2E629D);background-image:-moz-linear-gradient(top,#3A79B8,#2E629D);background-image:-ms-linear-gradient(top,#3A79B8,#2E629D);background-image:-o-linear-gradient(top,#3A79B8,#2E629D);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#3A79B8, endColorstr=#2E629D);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#3A79B8,endColorstr=#2E629D)"}.qtip-tipped .qtip-icon{border:2px solid #285589;background:#285589}.qtip-tipped .qtip-icon .ui-icon{background-color:#FBFBFB;color:#555}.qtip-bootstrap{font-size:14px;line-height:20px;color:#333;padding:1px;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box}.qtip-bootstrap .qtip-titlebar{padding:8px 14px;margin:0;font-size:14px;font-weight:400;line-height:18px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;-webkit-border-radius:5px 5px 0 0;-moz-border-radius:5px 5px 0 0;border-radius:5px 5px 0 0}.qtip-bootstrap .qtip-titlebar .qtip-close{right:11px;top:45%;border-style:none}.qtip-bootstrap .qtip-content{padding:9px 14px}.qtip-bootstrap .qtip-icon{background:0 0}.qtip-bootstrap .qtip-icon .ui-icon{width:auto;height:auto;float:right;font-size:20px;font-weight:700;line-height:18px;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.qtip-bootstrap .qtip-icon .ui-icon:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.4;filter:alpha(opacity=40)}.qtip:not(.ie9haxors) div.qtip-content,.qtip:not(.ie9haxors) div.qtip-titlebar{filter:none;-ms-filter:none}.qtip .qtip-tip{margin:0 auto;overflow:hidden;z-index:10}.qtip .qtip-tip,x:-o-prefocus{visibility:hidden}.qtip .qtip-tip,.qtip .qtip-tip .qtip-vml,.qtip .qtip-tip canvas{position:absolute;color:#123456;background:0 0;border:0 dashed transparent}.qtip .qtip-tip canvas{top:0;left:0}.qtip .qtip-tip .qtip-vml{behavior:url(#default#VML);display:inline-block;visibility:visible} \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/gce-requirements.php b/wp-content/plugins/google-calendar-events/gce-requirements.php deleted file mode 100644 index 2a690a6..0000000 --- a/wp-content/plugins/google-calendar-events/gce-requirements.php +++ /dev/null @@ -1,135 +0,0 @@ - - * @link https://github.com/nekojira/wp-requirements - * @license GPL2+ - */ - -if ( ! class_exists( 'GCE_Requirements' ) ) { - - class GCE_Requirements { - - /** - * WordPress. - * - * @access private - * @var bool - */ - private $wp = true; - - /** - * PHP. - * - * @access private - * @var bool - */ - private $php = true; - - /** - * PHP Extensions. - * - * @access private - * @var bool - */ - private $extensions = true; - - /** - * Results failures. - * - * Associative array with requirements results. - * - * @access private - * @var array - */ - private $failures = array(); - - /** - * Constructor. - * - * @param array $requirements Associative array with requirements. - */ - public function __construct( $requirements ) { - - if ( $requirements && is_array( $requirements ) ) { - - $errors = array(); - $requirements = array_merge( array( 'wp' => '', 'php' => '', 'extensions' => '' ), (array) $requirements ); - // Check for WordPress version. - if ( $requirements['wp'] && is_string( $requirements['wp'] ) ) { - global $wp_version; - // If $wp_version isn't found or valid probably you are not running WordPress (properly)? - $wp_ver = $wp_version && is_string( $wp_version ) ? $wp_version : $requirements['wp']; - $wp_ver = version_compare( $wp_ver, $requirements['wp'] ); - if ( $wp_ver === -1 ) { - $errors['wp'] = $wp_version; - $this->wp = false; - } - } - - // Check fo PHP version. - if ( $requirements['php'] && is_string( $requirements['php'] ) ) { - $php_ver = version_compare( PHP_VERSION, $requirements['php'] ); - if ( $php_ver === -1 ) { - $errors['php'] = PHP_VERSION; - $this->php = false; - } - } - - // Check fo PHP Extensions. - if ( $requirements['extensions'] && is_array( $requirements['extensions'] ) ) { - $extensions = array(); - foreach ( $requirements['extensions'] as $extension ) { - if ( $extension && is_string( $extension ) ) { - $extensions[ $extension ] = extension_loaded( $extension ); - } - } - if ( in_array( false, $extensions ) ) { - foreach ( $extensions as $extension_name => $found ) { - if ( $found === false ) { - $errors['extensions'][ $extension_name ] = $extension_name; - } - } - $this->extensions = false; - } - } - - $this->failures = $errors; - - } else { - - trigger_error( 'WP Requirements: the requirements are invalid.', E_USER_ERROR ); - - } - - } - - /** - * Get requirements results. - * - * @return array - */ - public function failures() { - return $this->failures; - } - - /** - * Check if versions check pass. - * - * @return bool - */ - public function pass() { - if ( in_array( false, array( $this->wp, $this->php, $this->extensions ) ) ) { - return false; - } - return true; - } - - } - -} \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/google-calendar-events.php b/wp-content/plugins/google-calendar-events/google-calendar-events.php index 259956b..5d786af 100644 --- a/wp-content/plugins/google-calendar-events/google-calendar-events.php +++ b/wp-content/plugins/google-calendar-events/google-calendar-events.php @@ -1,86 +1,64 @@ '3.9.0', 'php' => '5.2.4' ); -// Constants before PHP 5.6 can't store arrays. -define( 'GCE_REQUIREMENTS', serialize( $gce_requires ) ); -// Checks if the requirements are met. -require_once dirname( __FILE__ ) . '/gce-requirements.php'; -$gce_requirements = new GCE_Requirements( $gce_requires ); -if ( $gce_requirements->pass() === false ) { +// Composer fallback for PHP < 5.3.0. +if ( version_compare( PHP_VERSION, '5.3.0' ) === -1 ) { + include_once 'vendor/autoload_52.php'; +} else { + include_once 'vendor/autoload.php'; +} - // Display an admin notice explaining why the plugin can't work. - function gce_plugin_requirements() { - $required = unserialize( GCE_REQUIREMENTS ); - if ( isset( $required['wp'] ) && isset( $required['php'] ) ) { - global $wp_version; - echo '

              ' . sprintf( __( 'Google Events Calendar requires PHP %1$s and WordPress %2$s to function properly. PHP version found: %3$s. WordPress installed version: %4$s. Please upgrade to meet the minimum requirements.', 'gce' ), $required['php'], $required['wp'], PHP_VERSION, $wp_version ) . '

              '; - } +// Plugin constants. +$this_plugin_path = trailingslashit( dirname( __FILE__ ) ); +$this_plugin_dir = plugin_dir_url( __FILE__ ); +$this_plugin_constants = array( + 'SIMPLE_CALENDAR_VERSION' => '3.0.10', + 'SIMPLE_CALENDAR_MAIN_FILE' => __FILE__, + 'SIMPLE_CALENDAR_URL' => $this_plugin_dir, + 'SIMPLE_CALENDAR_ASSETS' => $this_plugin_dir . 'assets/', + 'SIMPLE_CALENDAR_PATH' => $this_plugin_path, + 'SIMPLE_CALENDAR_INC' => $this_plugin_path . 'includes/', +); +foreach ( $this_plugin_constants as $constant => $value ) { + if ( ! defined( $constant ) ) { + define( $constant, $value ); } - add_action( 'admin_notices', 'gce_plugin_requirements' ); - - $gce_fails = $gce_requirements->failures(); - if ( isset( $gce_fails['php'] ) ) { - // Halt the rest of the plugin execution if PHP check fails. - return; - } - } -/* - * Include the main plugin file - * - * @since 2.0.0 - */ -require_once( 'class-google-calendar-events.php' ); - -/** - * Define constant pointing to this file - * - * @since 2.0.0 - */ -if( ! defined( 'GCE_MAIN_FILE' ) ) { - define( 'GCE_MAIN_FILE', __FILE__ ); +// Check plugin requirements before loading plugin. +$this_plugin_checks = new WP_Requirements( + 'Simple Calendar', + plugin_basename( __FILE__ ), + array( + 'PHP' => '5.3.3', + 'WordPress' => '4.0.0', + 'Extensions' => array( + 'curl', + 'mbstring', + ) + ) +); +if ( $this_plugin_checks->pass() === false ) { + $this_plugin_checks->halt(); + return; } -/* - * Get instance of our plugin - * - * @since 2.0.0 - */ -add_action( 'plugins_loaded', array( 'Google_Calendar_Events', 'get_instance' ) ); - -/* - * If we are in admin then load the Admin class - * - * @since 2.0.0 - */ -if ( is_admin() && ( ! defined( 'DOING_AJAX' ) || ! DOING_AJAX ) ) { - require_once( 'class-google-calendar-events-admin.php' ); - - // Register hooks that are fired when the plugin is activated, deactivated, and uninstalled, respectively. - register_activation_hook( __FILE__, array( 'Google_Calendar_Events_Admin', 'activate' ) ); - register_deactivation_hook( __FILE__, array( 'Google_Calendar_Events_Admin', 'deactivate' ) ); - - // Get plugin admin class instance - add_action( 'plugins_loaded', array( 'Google_Calendar_Events_Admin', 'get_instance' ) ); -} - - +// Load plugin. +include_once 'includes/main.php'; diff --git a/wp-content/plugins/google-calendar-events/i18n/translating.txt b/wp-content/plugins/google-calendar-events/i18n/translating.txt new file mode 100644 index 0000000..a724e14 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/i18n/translating.txt @@ -0,0 +1,11 @@ +Interested in translating Simple Calendar to your language? Please use our WordPress.org translation page using a free account. + +https://translate.wordpress.org/projects/wp-plugins/google-calendar-events + +New to translating WordPress? Read through the Translator Handbook to get started. + +https://make.wordpress.org/polyglots/handbook/tools/glotpress-translate-wordpress-org/ + +It is no longer necessary to generate and translate .po and .mo files manually. If you want to become a translation editor for your language please get in touch. + +Thank you! diff --git a/wp-content/plugins/google-calendar-events/includes/abstracts/admin-page.php b/wp-content/plugins/google-calendar-events/includes/abstracts/admin-page.php new file mode 100644 index 0000000..14e07b0 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/abstracts/admin-page.php @@ -0,0 +1,195 @@ +id ] = array( + 'label' => $this->label, + 'description' => $this->description, + ); + + if ( ! empty( $this->sections ) && is_array( $this->sections ) ) { + + foreach ( $this->sections as $section => $content ) { + + $settings[ $this->id ]['sections'][ $section ] = array( + 'title' => isset( $content['title'] ) ? $content['title'] : '', + 'description' => isset( $content['description'] ) ? $content['description'] : '', + 'callback' => array( $this, 'add_settings_section_callback' ), + 'fields' => isset( $this->fields[ $section ] ) ? $this->fields[ $section ] : '', + ); + + } + + } + + return apply_filters( 'simcal_get_' . $this->option_group . '_' . $this->id , $settings ); + } + + /** + * Get option value. + * + * @since 3.0.0 + * @access protected + * + * @param string $section + * @param string $setting + * + * @return string + */ + protected function get_option_value( $section, $setting ) { + + $option = $this->values; + + if ( ! empty( $option ) && is_array( $option ) ) { + return isset( $option[ $section ][ $setting ] ) ? $option[ $section ][ $setting ] : ''; + } + + return ''; + } + + /** + * Add sections for this page. + * + * @since 3.0.0 + * + * @return array + */ + abstract public function add_sections(); + + /** + * Get settings fields. + * + * @since 3.0.0 + * + * @return array + */ + abstract public function add_fields(); + + /** + * Default basic callback for page sections. + * + * @since 3.0.0 + * + * @param array $section + * + * @return string + */ + public function add_settings_section_callback( $section ) { + + $callback = isset( $section['callback'][0] ) ? $section['callback'][0] : ''; + $sections = isset( $callback->sections ) ? $callback->sections : ''; + $description = isset( $sections[ $section['id'] ]['description'] ) ? $sections[ $section['id'] ]['description'] : ''; + $default = $description ? '

              ' . $description . '

              ' : ''; + + echo apply_filters( 'simcal_' . $this->option_group . '_' . $this->id . '_sections_callback', $default ); + } + + /** + * Register setting callback. + * + * Callback function for sanitizing and validating options before they are updated. + * + * @since 3.0.0 + * + * @param array $settings Settings inputs. + * + * @return array Sanitized settings. + */ + public function validate( $settings ) { + + $sanitized = ''; + + if ( is_array( $settings ) ) { + foreach ( $settings as $k => $v ) { + $sanitized[ $k ] = simcal_sanitize_input( $v ); + } + } else { + $sanitized = simcal_sanitize_input( $settings ); + } + + return $sanitized; + } + +} diff --git a/wp-content/plugins/google-calendar-events/includes/abstracts/calendar-view.php b/wp-content/plugins/google-calendar-events/includes/abstracts/calendar-view.php new file mode 100644 index 0000000..e75a2f6 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/abstracts/calendar-view.php @@ -0,0 +1,104 @@ +set_post_object( $calendar ); + + if ( ! is_null( $this->post ) ) { + + // Set calendar type and events source. + $this->set_taxonomies(); + + // Set calendar default datetime properties. + $this->set_timezone(); + $this->set_start_of_week(); + $this->set_static(); + + // Set calendar start. + $this->set_start(); + + // Set the events template. + $this->set_events_template(); + + // Get events source data. + $feed = simcal_get_feed( $this ); + if ( $feed instanceof Feed ) { + if ( ! empty( $feed->events ) ) { + if ( is_array( $feed->events ) ) { + $this->set_events( $feed->events ); + if ( 'use_calendar' == get_post_meta( $this->id, '_feed_timezone_setting', true ) ) { + $this->timezone = $feed->timezone; + $this->set_start( $feed->timezone ); + } + } elseif ( is_string( $feed->events ) ) { + $this->errors[] = $feed->events; + } + } + } + + // Set general purpose timestamps. + $now = Carbon::now( $this->timezone ); + $this->now = $now->getTimestamp(); + $this->today = $now->startOfDay()->getTimestamp(); + $this->offset = $now->getOffset(); + + // Set date time formatting. + $this->set_date_format(); + $this->set_time_format(); + $this->set_datetime_separator(); + + // Set earliest and latest event timestamps. + if ( $this->events && is_array( $this->events ) ) { + $this->earliest_event = intval( current( array_keys( $this->events ) ) ); + $this->latest_event = intval( key( array_slice( $this->events, -1, 1, true ) ) ); + } + + // Set calendar end. + $this->set_end(); + + // Set view. + if ( ! $view ) { + + $calendar_view = get_post_meta( $this->id, '_calendar_view', true ); + $calendar_view = isset( $calendar_view[ $this->type ] ) ? $calendar_view[ $this->type ] : ''; + + $view = esc_attr( $calendar_view ); + } + } + + // Get view. + $this->view = $this->get_view( $view ); + } + + /** + * Overloading __isset function with post meta. + * + * @since 3.0.0 + * + * @param mixed $key Post meta key. + * + * @return bool + */ + public function __isset( $key ) { + return metadata_exists( 'post', $this->id, '_' . $key ); + } + + /** + * Overloading __get function with post meta. + * + * @since 3.0.0 + * + * @param string $key Post meta key. + * + * @return mixed + */ + public function __get( $key ) { + $value = get_post_meta( $this->id, '_' . $key, true ); + if ( ! empty( $value ) ) { + $this->$key = $value; + } + return $value; + } + + /** + * Set post object and id. + * + * @since 3.0.0 + * + * @param int|object|\WP_Post|Calendar $calendar + */ + public function set_post_object( $calendar ) { + if ( is_numeric( $calendar ) ) { + $this->id = absint( $calendar ); + $this->post = get_post( $this->id ); + } elseif ( $calendar instanceof Calendar ) { + $this->id = absint( $calendar->id ); + $this->post = $calendar->post; + } elseif ( $calendar instanceof \WP_Post ) { + $this->id = absint( $calendar->ID ); + $this->post = $calendar; + } elseif ( isset( $calendar->id ) && isset( $calendar->post ) ) { + $this->id = $calendar->id; + $this->post = $calendar->post; + } + } + + /** + * Return the calendar title. + * + * @since 3.0.0 + * + * @return string + */ + public function get_title() { + $title = isset( $this->post->post_title ) ? $this->post->post_title : ''; + return apply_filters( 'simcal_calendar_title', $title ); + } + + /** + * Get the calendar post data. + * + * @since 3.0.0 + * + * @return \WP_Post + */ + public function get_post_data() { + return $this->post; + } + + /** + * Set taxonomies. + * + * @since 3.0.0 + * @access protected + */ + protected function set_taxonomies() { + // Set calendar type. + if ( $type = wp_get_object_terms( $this->id, 'calendar_type' ) ) { + $this->type = sanitize_title( current( $type )->name ); + } else { + $this->type = apply_filters( 'simcal_calendar_default_type', 'default-calendar' ); + } + // Set feed type. + if ( $feed_type = wp_get_object_terms( $this->id, 'calendar_feed' ) ) { + $this->feed = sanitize_title( current( $feed_type )->name ); + } else { + $this->feed = apply_filters( 'simcal_calendar_default_feed', 'google' ); + } + } + + /** + * Get events. + * + * @since 3.0.0 + * + * @return Events + */ + public function get_events() { + return new Events( $this->events, $this->timezone ); + } + + /** + * Set events. + * + * @since 3.0.0 + * + * @param array $array + */ + public function set_events( array $array ) { + + $events = array(); + + if ( ! empty( $array ) ) { + foreach ( $array as $tz => $e ) { + foreach ( $e as $event ) { + $events[ $tz ][] = $event instanceof Event ? $event : new Event( $event ); + } + } + } + + $this->events = $events; + } + + /** + * Get the event builder template. + * + * @since 3.0.0 + * + * @param string $template + * + * @return string + */ + public function set_events_template( $template = '' ) { + if ( empty( $template ) ) { + $template = isset( $this->post->post_content ) ? $this->post->post_content : ''; + } + $this->events_template = wpautop( wp_kses_post( trim( $template ) ) ); + } + + /** + * Set the timezone. + * + * @since 3.0.0 + * + * @param string $tz Timezone. + */ + public function set_timezone( $tz = '' ) { + + $site_tz = esc_attr( simcal_get_wp_timezone() ); + + if ( empty( $tz ) ) { + + $timezone_setting = get_post_meta( $this->id, '_feed_timezone_setting', true ); + + if ( 'use_site' == $timezone_setting ) { + $tz = $site_tz; + } elseif ( 'use_custom' == $timezone_setting ) { + $custom_timezone = esc_attr( get_post_meta( $this->id, '_feed_timezone', true ) ); + // One may be using a non standard timezone in GMT (UTC) offset format. + if ( ( strpos( $custom_timezone, 'UTC+' ) === 0 ) || ( strpos( $custom_timezone, 'UTC-' ) === 0 ) ) { + $tz = simcal_get_timezone_from_gmt_offset( substr( $custom_timezone, 3 ) ); + } else { + $tz = ! empty( $custom_timezone ) ? $custom_timezone : 'UTC'; + } + } + + $this->timezone = empty( $tz ) ? 'UTC' : $tz; + return; + } + + $this->site_timezone = $site_tz; + $this->timezone = simcal_esc_timezone( $tz, $this->timezone ); + } + + /** + * Set date format. + * + * @since 3.0.0 + * + * @param string $format PHP datetime format. + */ + public function set_date_format( $format = '' ) { + + $date_format_custom = $date_format_default = $format; + + if ( empty( $date_format_custom ) ) { + + $date_format_option = esc_attr( get_post_meta( $this->id, '_calendar_date_format_setting', true ) ); + $date_format_default = esc_attr( get_option( 'date_format' ) ); + $date_format_custom = ''; + + if ( 'use_custom' == $date_format_option ) { + $date_format_custom = esc_attr( get_post_meta( $this->id, '_calendar_date_format', true ) ); + } elseif ( 'use_custom_php' ) { + $date_format_custom = esc_attr( get_post_meta( $this->id, '_calendar_date_format_php', true ) ); + } + } + + $this->date_format = $date_format_custom ? $date_format_custom : $date_format_default; + } + + /** + * Set time format. + * + * @since 3.0.0 + * + * @param string $format PHP datetime format. + */ + public function set_time_format( $format = '' ) { + + $time_format_custom = $time_format_default = $format; + + if ( empty( $time_format_custom ) ) { + + $time_format_option = esc_attr( get_post_meta( $this->id, '_calendar_time_format_setting', true ) ); + $time_format_default = esc_attr( get_option( 'time_format' ) ); + $time_format_custom = ''; + + if ( 'use_custom' == $time_format_option ) { + $time_format_custom = esc_attr( get_post_meta( $this->id, '_calendar_time_format', true ) ); + } elseif ( 'use_custom_php' ) { + $time_format_custom = esc_attr( get_post_meta( $this->id, '_calendar_time_format_php', true ) ); + } + } + + $this->time_format = $time_format_custom ? $time_format_custom : $time_format_default; + } + + /** + * Set date-time separator. + * + * @since 3.0.0 + * + * @param string $separator A UTF8 character used as separator. + */ + public function set_datetime_separator( $separator = '' ) { + + if ( empty( $separator ) ) { + $separator = get_post_meta( $this->id, '_calendar_datetime_separator', true ); + } + + $this->datetime_separator = esc_attr( $separator ); + } + + /** + * Set start of week. + * + * @since 3.0.0 + * + * @param int $weekday From 0 (Sunday) to 6 (Friday). + */ + public function set_start_of_week( $weekday = -1 ) { + + $week_starts = is_int( $weekday ) ? $weekday : -1; + + if ( $week_starts < 0 || $week_starts > 6 ) { + + $week_starts_setting = get_post_meta( $this->id, '_calendar_week_starts_on_setting', true ); + $week_starts = intval( get_option( 'start_of_week' ) ); + + if ( 'use_custom' == $week_starts_setting ) { + $week_starts_on = get_post_meta( $this->id, '_calendar_week_starts_on', true ); + $week_starts = is_numeric( $week_starts_on ) ? intval( $week_starts_on ) : $week_starts; + } + } + + $this->week_starts = $week_starts; + } + + /** + * Set calendar start. + * + * @since 3.0.0 + * + * @param int $timestamp + */ + public function set_start( $timestamp = 0 ) { + + if ( is_int( $timestamp ) && $timestamp !== 0 ) { + $this->start = $timestamp; + return; + } + + $this->start = Carbon::now( $this->timezone )->getTimestamp(); + + $calendar_begins = esc_attr( get_post_meta( $this->id, '_calendar_begins', true ) ); + $nth = max( absint( get_post_meta( $this->id, '_calendar_begins_nth' ) ), 1 ); + + if ( 'today' == $calendar_begins ) { + $this->start = Carbon::today( $this->timezone )->getTimestamp(); + } elseif ( 'days_before' == $calendar_begins ) { + $this->start = Carbon::today( $this->timezone )->subDays( $nth )->getTimestamp(); + } elseif ( 'days_after' == $calendar_begins ) { + $this->start = Carbon::today( $this->timezone )->addDays( $nth )->getTimestamp(); + } elseif ( 'this_week' == $calendar_begins ) { + $week = new Carbon( 'now', $this->timezone ); + $week->setWeekStartsAt( $this->week_starts ); + $this->start = $week->startOfWeek()->getTimestamp(); + } elseif ( 'weeks_before' == $calendar_begins ) { + $week = new Carbon( 'now', $this->timezone ); + $week->setWeekStartsAt( $this->week_starts ); + $this->start = $week->startOfWeek()->subWeeks( $nth )->getTimestamp(); + } elseif ( 'weeks_after' == $calendar_begins ) { + $week = new Carbon( 'now', $this->timezone ); + $week->setWeekStartsAt( $this->week_starts ); + $this->start = $week->startOfWeek()->addWeeks( $nth )->getTimestamp(); + } elseif ( 'this_month' == $calendar_begins ) { + $this->start = Carbon::today( $this->timezone )->startOfMonth()->getTimeStamp(); + } elseif ( 'months_before' == $calendar_begins ) { + $this->start = Carbon::today( $this->timezone )->subMonths( $nth )->startOfMonth()->getTimeStamp(); + } elseif ( 'months_after' == $calendar_begins ) { + $this->start = Carbon::today( $this->timezone )->addMonths( $nth )->startOfMonth()->getTimeStamp(); + } elseif ( 'this_year' == $calendar_begins ) { + $this->start = Carbon::today( $this->timezone )->startOfYear()->getTimestamp(); + } elseif ( 'years_before' == $calendar_begins ) { + $this->start = Carbon::today( $this->timezone )->subYears( $nth )->startOfYear()->getTimeStamp(); + } elseif ( 'years_after' == $calendar_begins ) { + $this->start = Carbon::today( $this->timezone )->addYears( $nth )->startOfYear()->getTimeStamp(); + } elseif ( 'custom_date' == $calendar_begins ) { + if ( $date = get_post_meta( $this->id, '_calendar_begins_custom_date', true ) ) { + $this->start = Carbon::createFromFormat( 'Y-m-d', esc_attr( $date ) )->setTimezone( $this->timezone )->getTimestamp(); + } + } + } + + /** + * Set calendar end. + * + * @since 3.0.0 + * + * @param int $timestamp + */ + public function set_end( $timestamp = 0 ) { + $latest = is_int( $timestamp ) && $timestamp !== 0 ? $timestamp : $this->latest_event; + $this->end = $latest > $this->start ? $latest : $this->start; + } + + /** + * Set the calendar to static. + * + * @since 3.0.0 + * + * @param string|bool $static + */ + public function set_static( $static = '' ) { + + if ( ! empty( $static ) && is_bool( $static ) ) { + $this->static = $static; + return; + } + + if ( 'yes' == get_post_meta( $this->id, '_calendar_is_static', true ) ) { + $this->static = true; + return; + } + + $this->static = false; + } + + /** + * Input fields for settings page. + * + * @since 3.0.0 + * + * @return array + */ + public function settings_fields() { + return $this->settings; + } + + /** + * Get a calendar view. + * + * @since 3.0.0 + * + * @param string $view + * + * @return Calendar_View + */ + abstract public function get_view( $view = '' ); + + /** + * Get event HTML parsed by template. + * + * @since 3.0.0 + * + * @param Event $event Event object to be parsed. + * @param string $template (optional) To use another template or a partial. + * + * @return string + */ + public function get_event_html( Event $event, $template = '' ) { + $event_builder = new Event_Builder( $event, $this ); + // Use the event template to parse tags; if empty, fallback to calendar post content. + $template = empty( $template ) ? ( empty( $event->template ) ? $this->events_template : $event->template ) : $template; + return $event_builder->parse_event_template_tags( $template ); + } + + /** + * Output the calendar markup. + * + * @since 3.0.0 + * + * @param string $view The calendar view to display. + */ + public function html( $view = '' ) { + + $view = empty( $view ) ? $this->view : $this->get_view( $view ); + + if ( $view instanceof Calendar_View ) { + + if ( ! empty( $this->errors ) ) { + + if ( current_user_can( 'manage_options' ) ) { + echo '
              ';
              +					foreach ( $this->errors as $error ) { echo $error; }
              +					echo '
              '; + } + + } else { + + // Get a CSS class from the class name of the calendar view (minus namespace part). + $view_name = implode( '-', array_map( 'lcfirst', explode( '_', strtolower( get_class( $view ) ) ) ) ); + $view_class = substr( $view_name, strrpos( $view_name, '\\' ) + 1 ); + + $calendar_class = trim( implode( ' simcal-', apply_filters( 'simcal_calendar_class', array( + 'simcal-calendar', + $this->type, + $view_class, + ), $this->id ) ) ); + + echo '
              '; + + date_default_timezone_set( $this->timezone ); + do_action( 'simcal_calendar_html_before', $this->id ); + + $view->html(); + + do_action( 'simcal_calendar_html_after', $this->id ); + date_default_timezone_set( $this->site_timezone ); + + $settings = get_option( 'simple-calendar_settings_calendars' ); + $poweredby = isset( $settings['poweredby']['opt_in'] ) ? $settings['poweredby']['opt_in'] : ''; + + if ( 'yes' == $poweredby ) { + $align = is_rtl() ? 'left' : 'right'; + echo 'Powered by Simple Calendar'; + } + + echo '
              '; + + } + + } + + } + +} diff --git a/wp-content/plugins/google-calendar-events/includes/abstracts/feed.php b/wp-content/plugins/google-calendar-events/includes/abstracts/feed.php new file mode 100644 index 0000000..27d434d --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/abstracts/feed.php @@ -0,0 +1,262 @@ +id ) ) { + $this->post_id = $calendar->id; + } + if ( isset( $calendar->start ) ) { + $this->calendar_start = $calendar->start; + } + $this->week_starts = isset( $calendar->week_starts ) ? $calendar->week_starts : get_option( 'start_of_week' ); + $this->events_template = ! empty( $calendar->events_template ) ? $calendar->events_template : simcal_default_event_template(); + + if ( $this->post_id > 0 ) { + $this->set_cache(); + $this->timezone_setting = get_post_meta( $this->post_id, '_feed_timezone_setting', true ); + $this->timezone = $calendar->timezone; + $this->set_earliest_event(); + $this->set_latest_event(); + } + } + } + + /** + * Input fields for settings page. + * + * @since 3.0.0 + * + * @return false|array + */ + public function settings_fields() { + return $this->settings; + } + + /** + * Set earliest event. + * + * @since 3.0.0 + * + * @param int $timestamp + */ + public function set_earliest_event( $timestamp = 0 ) { + + $earliest = intval( $timestamp ); + + if ( $earliest === 0 ) { + + $start = Carbon::createFromTimestamp( $this->calendar_start, $this->timezone ); + + $earliest_date = esc_attr( get_post_meta( $this->post_id, '_feed_earliest_event_date', true ) ); + $earliest_range = max( absint( get_post_meta( $this->post_id, '_feed_earliest_event_date_range', true ) ), 1 ); + + if ( 'days_before' == $earliest_date ) { + $earliest = $start->subDays( $earliest_range )->getTimestamp(); + } elseif ( 'weeks_before' == $earliest_date ) { + $earliest = $start->subWeeks( $earliest_range )->addDay()->getTimestamp(); + } elseif ( 'months_before' == $earliest_date ) { + $earliest = $start->subMonths( $earliest_range )->addDay()->getTimestamp(); + } elseif ( 'years_before' == $earliest_date ) { + $earliest = $start->subYears( $earliest_range )->addDay()->getTimestamp(); + } else { + $earliest = $start->getTimestamp(); + } + } + + $this->time_min = $earliest; + } + + /** + * Set latest event. + * + * @since 3.0.0 + * + * @param int $timestamp + */ + public function set_latest_event( $timestamp = 0 ) { + + $latest = intval( $timestamp ); + + if ( $latest === 0 ) { + + $start = Carbon::createFromTimestamp( $this->calendar_start, $this->timezone )->endOfDay(); + + $latest_date = esc_attr( get_post_meta( $this->post_id, '_feed_latest_event_date', true ) ); + $latest_range = max( absint( get_post_meta( $this->post_id, '_feed_latest_event_date_range', true ) ), 1 ); + + if ( 'days_after' == $latest_date ) { + $latest = $start->addDays( $latest_range )->getTimestamp(); + } elseif ( 'weeks_after' == $latest_date ) { + $latest = $start->addWeeks( $latest_range )->subDay()->getTimestamp(); + } elseif ( 'months_after' == $latest_date ) { + $latest = $start->addMonths( $latest_range )->subDay()->getTimestamp(); + } elseif ( 'years_after' == $latest_date ) { + $latest = $start->addYears( $latest_range )->subDay()->getTimestamp(); + } else { + $latest = $start->getTimestamp(); + } + + } + + $this->time_max = $latest; + } + + /** + * Set cache. + * + * @since 3.0.0 + * + * @param int $time + */ + public function set_cache( $time = 0 ) { + if ( $time === 0 || ! is_numeric( $time ) ) { + $cache = get_post_meta( $this->post_id, '_feed_cache', true ); + $time = is_numeric( $cache ) && $cache >= 0 ? absint( $cache ) : $this->cache; + } + $this->cache = absint( $time ); + } + + /** + * Get events feed. + * + * @since 3.0.0 + * + * @return array + */ + abstract public function get_events(); + +} diff --git a/wp-content/plugins/google-calendar-events/includes/abstracts/field.php b/wp-content/plugins/google-calendar-events/includes/abstracts/field.php new file mode 100644 index 0000000..93d82ed --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/abstracts/field.php @@ -0,0 +1,354 @@ +title = esc_attr( $field['title'] ); + } + if ( isset( $field['description'] ) ) { + $this->description = wp_kses_post( $field['description'] ); + } + if ( isset( $field['type'] ) ) { + $this->type = esc_attr( $field['type'] ); + } + if ( isset( $field['name'] ) ) { + $this->name = esc_attr( $field['name'] ); + } + if ( isset( $field['id'] ) ) { + $this->id = esc_attr( $field['id'] ); + } + if ( isset( $field['placeholder'] ) ) { + $this->placeholder = esc_attr( $field['placeholder'] ); + } + if ( isset( $field['options'] ) && is_array( $field['options'] ) ) { + $this->options = array_map( 'esc_attr', $field['options'] ); + } + + // Escaping. + if ( ! empty( $field['escaping'] ) && ( is_string( $field['escaping'] ) || is_array( $field['escaping'] ) ) ) { + if ( isset( $field['default'] ) ) { + $this->default = $this->escape_callback( $field['escaping'], $field['default'] ); + } + if ( isset( $field['value'] ) ) { + $this->value = $this->escape_callback( $field['escaping'], $field['value'] ); + } + } else { + if ( isset( $field['default'] ) ) { + $this->default = $this->escape( $field['default'] ); + } + if ( isset( $field['value'] ) ) { + $this->value = $this->escape( $field['value'] ); + } + } + + // Validation. + if ( ! empty( $field['validation'] ) ) { + $this->validation = $this->validate( $field['validation'], $this->value ); + } + + // CSS classes and styles. + $classes = isset( $field['class'] ) ? $field['class'] : ''; + $this->set_class( $classes ); + if ( isset( $field['style'] ) ) { + $this->set_style( $field['style'] ); + } + + // Custom attributes. + if ( isset( $field['attributes'] ) ) { + $this->set_attributes( $field['attributes'] ); + } + + // Tooltip markup. + if ( isset( $field['tooltip'] ) ) { + $this->tooltip = ' ' ; + } + } + + /** + * Set custom HTML attributes. + * + * @since 3.0.0 + * + * @param array $attributes + * + * @return void + */ + public function set_attributes( $attributes ) { + + $attr = ''; + + if ( ! empty( $attributes ) && is_array( $attributes ) ) { + foreach ( $attributes as $k => $v ) { + $attr .= esc_attr( $k ) . '="' . esc_attr( $v ) . '" '; + } + } + + $this->attributes = $attr; + } + + /** + * Set CSS styles. + * + * @since 3.0.0 + * + * @param array $css + * + * @return void + */ + public function set_style( $css ) { + + $styles = ''; + + if ( ! empty( $css ) && is_array( $css ) ) { + foreach ( $css as $k => $v ) { + $styles .= esc_attr( $k ) . ': ' . esc_attr( $v ) . '; '; + } + } + + $this->style = $styles; + } + + /** + * Set classes. + * + * @since 3.0.0 + * + * @param array $class + * + * @return void + */ + public function set_class( $class ) { + + $classes = ''; + $type_class = ''; + $error = ''; + + if ( ! empty( $class ) && is_array( $class ) ) { + $classes = implode( ' ', array_map( 'esc_attr', $class ) ); + } + if ( ! empty( $this->type_class ) ) { + $type_class = esc_attr( $this->type_class ); + } + if ( true !== $this->validation && ! empty( $this->validation ) ) { + $error = 'simcal-field-error '; + } + + $this->class = trim( $error . 'simcal-field ' . $type_class . ' ' . $classes ); + } + + /** + * Escape field value. + * + * Default escape function, a wrapper for esc_attr(). + * + * @since 3.0.0 + * @access protected + * + * @param array|string|int $value + * + * @return array|string + */ + protected function escape( $value ) { + return ! empty( $value ) ? ( is_array( $value ) ? array_map( 'esc_attr', $value ) : esc_attr( $value ) ) : ''; + } + + /** + * Escape callback. + * + * Custom escaping function set in field args. + * + * @since 3.0.0 + * @access protected + * + * @param array|string $callback + * @param mixed $value + * + * @return mixed + */ + protected function escape_callback( $callback, $value ) { + if ( $callback && ( is_string( $callback ) || is_array( $callback ) ) ) { + return call_user_func( $callback, $value ); + } + return esc_attr( $value ); + } + + /** + * Validation callback. + * + * Custom field validation callback set in field args. + * + * @since 3.0.0 + * @access protected + * + * @param array|string $callback + * @param string $value + * + * @return true|string Expected to return bool (true) if passes, message string if not. + */ + protected function validate( $callback, $value ) { + if ( $callback && ( is_string( $callback ) || is_array( $callback ) ) ) { + $screen = function_exists( 'get_current_screen' ) ? get_current_screen() : ''; + return call_user_func( $callback, $value, $screen ); + } + return true; + } + + /** + * Outputs the field markup. + * + * @since 3.0.0 + * + * @return void + */ + abstract public function html(); + +} diff --git a/wp-content/plugins/google-calendar-events/includes/abstracts/meta-box.php b/wp-content/plugins/google-calendar-events/includes/abstracts/meta-box.php new file mode 100644 index 0000000..29835d9 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/abstracts/meta-box.php @@ -0,0 +1,45 @@ +, Nick Young - * @license GPL-2.0+ - * @copyright 2014 Phil Derksen - */ - -/** - * Function to clear the cache out - * - * @since 2.0.0 - */ -function gce_clear_cache( $id ) { - - delete_transient( 'gce_feed_' . $id ); - - add_settings_error( 'gce-notices', 'gce-cache-updated', __( 'Cache has been cleared for this feed.', 'gce' ), 'updated' ); -} - -/** - * Function that runs when a new Feed CPT is made - * Adds the default editor content for the event builder - * Adds default post meta options - * - * @since 2.0.0 - */ - -function gce_default_editor_content( $content, $post ) { - - if( $post->post_type == 'gce_feed' ) { - $content = '
              [event-title]
              ' . "\n"; - $content .= '
              ' . __( 'Starts:', 'gce' ) . ' [start-time]
              ' . "\n"; - $content .= '
              ' . __( 'Ends:', 'gce' ) . ' [end-date] - [end-time]
              ' . "\n"; - $content .= '[if-location]
              ' . __( 'Location:', 'gce' ) . ' [location]
              [/if-location]' . "\n"; - $content .= '[if-description]
              ' . __( 'Description:', 'gce' ) . ' [description]
              [/if-description]' . "\n"; - $content .= '
              [link newwindow="true"]' . __( 'More details...', 'gce' ) . '[/link]
              ' . "\n"; - - // Default Post Meta Options - add_post_meta( $post->ID, 'gce_expand_recurring', 1 ); - add_post_meta( $post->ID, 'gce_retrieve_from', 'today' ); - add_post_meta( $post->ID, 'gce_retrieve_until', 'end_time' ); - add_post_meta( $post->ID, 'gce_cache', 43200 ); - add_post_meta( $post->ID, 'gce_paging', 1 ); - add_post_meta( $post->ID, 'gce_list_start_offset_num', '0' ); - add_post_meta( $post->ID, 'gce_feed_end_num', 2 ); - add_post_meta( $post->ID, 'gce_feed_start_num', 1 ); - add_post_meta( $post->ID, 'gce_feed_end', 'years' ); - add_post_meta( $post->ID, 'gce_feed_start', 'months' ); - add_post_meta( $post->ID, 'gce_show_tooltips', 1 ); - - // Default Simple Display Options - add_post_meta( $post->ID, 'gce_display_start', 'time' ); - add_post_meta( $post->ID, 'gce_display_start_text', __( 'Starts:', 'gce' ) ); - add_post_meta( $post->ID, 'gce_display_end', 'time-date' ); - add_post_meta( $post->ID, 'gce_display_end_text', __( 'Ends:', 'gce' ) ); - add_post_meta( $post->ID, 'gce_display_separator', ', ' ); - add_post_meta( $post->ID, 'gce_display_location_text', __( 'Location:', 'gce' ) ); - add_post_meta( $post->ID, 'gce_display_description_text', __( 'Description:', 'gce' ) ); - add_post_meta( $post->ID, 'gce_display_link', 1 ); - add_post_meta( $post->ID, 'gce_display_link_text', __( 'More Details', 'gce' ) ); - - } - - return $content; -} -add_filter( 'default_content', 'gce_default_editor_content', 10, 2 ); - - -function gce_add_cache_button() { - global $post; - - if( $post->post_type == 'gce_feed' ) { - $html = ''; - - echo $html; - } -} -add_action( 'post_submitbox_start', 'gce_add_cache_button' ); - -/** - * Sanitize a variable of unknown type. - * - * Helper function to sanitize a variable from input, - * which could also be a multidimensional array of variable depth. - * - * @param mixed $var Variable to sanitize. - * @param string $func Function to use for sanitizing text strings (default 'sanitize_text_field') - * - * @return array|string Sanitized variable - */ -function gce_sanitize_input( $var, $func = 'sanitize_text_field' ) { - - if ( empty( $var ) || is_null( $var ) ) { - return ''; - } - - if ( is_bool( $var ) ) { - if ( $var === true ) { - return 'yes'; - } else { - return 'no'; - } - } - - if ( is_string( $var ) || is_numeric( $var ) ) { - $func = is_string( $func ) && function_exists( $func ) ? $func : 'sanitize_text_field'; - return call_user_func( $func, trim( strval( $var ) ) ); - } - - if ( is_object( $var ) ) { - $var = (array) $var; - } - - if ( is_array( $var ) ) { - $array = array(); - foreach( $var as $k => $v ) { - $array[$k] = gce_sanitize_input( $v ); - } - return $array; - } - - return ''; -} diff --git a/wp-content/plugins/google-calendar-events/includes/admin/admin-notice.php b/wp-content/plugins/google-calendar-events/includes/admin/admin-notice.php deleted file mode 100644 index 14bb1cd..0000000 --- a/wp-content/plugins/google-calendar-events/includes/admin/admin-notice.php +++ /dev/null @@ -1,37 +0,0 @@ -, Nick Young - */ - -// Exit if accessed directly. -if ( ! defined( 'ABSPATH' ) ) { - exit; -} - -?> - - - -
              -

              -

              - - -

              - -

              -

              - - - -

              -
              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/includes/admin/ajax.php b/wp-content/plugins/google-calendar-events/includes/admin/ajax.php new file mode 100644 index 0000000..c4d1436 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/admin/ajax.php @@ -0,0 +1,172 @@ + $action, + 'license' => $key, + 'item_id' => urlencode( $id ), + 'url' => home_url() + ); + + // Call the custom API. + $response = wp_remote_post( + defined( 'SIMPLE_CALENDAR_STORE_URL' ) ? SIMPLE_CALENDAR_STORE_URL : simcal_get_url( 'home' ), + array( + 'timeout' => 15, + 'sslverify' => false, + 'body' => $api_request + ) + ); + + // Update license in db. + $keys = get_option( 'simple-calendar_settings_licenses', array() ); + $new_keys = array_merge( (array) $keys, array( 'keys' => array( $addon => $key ) ) ); + update_option( 'simple-calendar_settings_licenses', $new_keys ); + + // Make sure there is a response. + if ( is_wp_error( $response ) ) { + wp_send_json_error( sprintf( __( 'There was an error processing your request: %s', 'google-calendar-events' ), $response->get_error_message() ) ); + } + + // Decode the license data and save. + $license_data = json_decode( wp_remote_retrieve_body( $response ) ); + $status = simcal_get_license_status(); + if ( 'deactivated' == $license_data->license ) { + unset( $status[ $addon ] ); + update_option( 'simple-calendar_licenses_status', $status ); + wp_send_json_success( $license_data->license ); + } elseif ( in_array( $license_data->license, array( 'valid', 'invalid' ) ) ) { + $status[ $addon ] = $license_data->license; + update_option( 'simple-calendar_licenses_status', $status ); + $message = 'valid' == $license_data->license ? 'valid' : __( 'License key is invalid.', 'google-calendar-events' ); + wp_send_json_success( $message ); + } else { + wp_send_json_error( '' ); + } + } + + /** + * Reset licenses. + * + * @since 3.0.0 + */ + public function reset_licenses() { + + $nonce = isset( $_POST['nonce'] ) ? esc_attr( $_POST['nonce'] ) : ''; + + // Verify this request comes from the add-ons licenses activation settings page. + if ( empty ( $nonce ) || ! wp_verify_nonce( $nonce, 'simcal_license_manager' ) ) { + wp_send_json_error( sprintf( __( 'An error occurred: %s', 'google-calendar-events' ), 'Nonce verification failed.' ) ); + } + + delete_option( 'simple-calendar_settings_licenses' ); + delete_option( 'simple-calendar_licenses_status' ); + + wp_send_json_success( 'success' ); + } + +} diff --git a/wp-content/plugins/google-calendar-events/includes/admin/assets.php b/wp-content/plugins/google-calendar-events/includes/admin/assets.php new file mode 100644 index 0000000..778972c --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/admin/assets.php @@ -0,0 +1,162 @@ +min = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG == true ) ? '' : '.min'; + + add_action( 'admin_enqueue_scripts', array( $this, 'load' ) ); + } + + /** + * Enqueue scripts and styles. + * + * @since 3.0.0 + */ + public function load() { + + $css_path = SIMPLE_CALENDAR_ASSETS . 'css/'; + $css_path_vendor = $css_path . 'vendor/'; + $js_path = SIMPLE_CALENDAR_ASSETS . 'js/'; + $js_path_vendor = $js_path . 'vendor/'; + + /* ====================== * + * Register Admin Scripts * + * ====================== */ + + wp_register_script( + 'simcal-tiptip', + $js_path_vendor . 'tiptip' . $this->min . '.js', + array( 'jquery' ), + '1.3', + true + ); + wp_register_script( + 'simcal-select2', + $js_path_vendor . 'select2' . $this->min . '.js', + array(), + '4.0', + true + ); + wp_register_script( + 'simcal-admin', + $js_path . 'admin' . $this->min . '.js', + array( + 'jquery', + 'jquery-ui-sortable', + 'jquery-ui-datepicker', + 'wp-color-picker', + 'simcal-tiptip', + 'simcal-select2', + ), + SIMPLE_CALENDAR_VERSION, + true + ); + wp_register_script( + 'simcal-admin-add-calendar', + $js_path . 'admin-add-calendar' . $this->min . '.js', + array( 'simcal-select2' ), + SIMPLE_CALENDAR_VERSION, + true + ); + + /* ===================== * + * Register Admin Styles * + * ===================== */ + + wp_register_style( + 'simcal-select2', + $css_path_vendor . 'select2' . $this->min . '.css', + array(), + '4.0.0' + ); + wp_register_style( + 'simcal-admin', + $css_path . 'admin' . $this->min . '.css', + array( + 'wp-color-picker', + 'simcal-select2', + ), + SIMPLE_CALENDAR_VERSION + ); + wp_register_style( + 'simcal-admin-add-calendar', + $css_path . 'admin-add-calendar' . $this->min . '.css', + array( 'simcal-select2' ), + SIMPLE_CALENDAR_VERSION + ); + + if ( simcal_is_admin_screen() !== false ) { + + wp_enqueue_script( 'simcal-admin' ); + wp_localize_script( + 'simcal-admin', + 'simcal_admin', + simcal_common_scripts_variables() + ); + + wp_enqueue_style( 'simcal-admin' ); + + } else { + + global $post_type; + $screen = get_current_screen(); + + $post_types = array(); + $settings = get_option( 'simple-calendar_settings_calendars' ); + if ( isset( $settings['general']['attach_calendars_posts'] ) ) { + $post_types = $settings['general']['attach_calendars_posts']; + } + + $conditions = array( + in_array( $post_type, (array) $post_types ), + $screen->id == 'widgets', + ); + + if ( in_array( true, $conditions ) ) { + + wp_enqueue_script( 'simcal-admin-add-calendar' ); + wp_localize_script( 'simcal-admin-add-calendar', 'simcal_admin', array( + 'locale' => get_locale(), + 'text_dir' => is_rtl() ? 'rtl' : 'ltr', + ) ); + + wp_enqueue_style( 'simcal-admin-add-calendar' ); + } + + } + + } + +} diff --git a/wp-content/plugins/google-calendar-events/includes/admin/bulk-actions.php b/wp-content/plugins/google-calendar-events/includes/admin/bulk-actions.php new file mode 100644 index 0000000..0cc9961 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/admin/bulk-actions.php @@ -0,0 +1,227 @@ +bulk_action_post_type = post_type_exists( $post_type ) ? $post_type : ''; + } + + /** + * Define all your custom bulk actions and corresponding callbacks + * Define at least $menu_text and $callback parameters + * + * @since 3.0.0 + * + * @param array $args + */ + public function register_bulk_action( $args ) { + + $func = array(); + $func['action_name'] = isset( $args['action_name'] ) ? sanitize_key( $args['action_name'] ) : ''; + $func['callback'] = isset( $args['callback'] ) ? $args['callback'] : ''; + $func['menu_text'] = isset( $args['menu_text'] ) ? esc_attr( $args['menu_text'] ) : ''; + $func['admin_notice'] = isset( $args['admin_notice'] ) ? esc_attr( $args['admin_notice'] ) : ''; + + if ( $func['action_name'] && $func['callback'] ) { + $this->actions[ $func['action_name'] ] = $func; + } + } + + /** + * Init. + * + * Callbacks need to be registered before add_actions. + * + * @since 3.0.0 + */ + public function init() { + if ( is_admin() ) { + add_action( 'admin_footer-edit.php', array( $this, 'custom_bulk_admin_footer' ) ); + add_action( 'load-edit.php', array( $this, 'custom_bulk_action' ) ); + add_action( 'admin_notices', array( $this, 'custom_bulk_admin_notices' ) ); + } + } + + /** + * Step 1: add the custom Bulk Action to the select menus. + * + * @since 3.0.0 + */ + public function custom_bulk_admin_footer() { + + global $post_type; + + // Only permit actions with defined post type. + if ( $post_type == $this->bulk_action_post_type ) { + + ?> + + bulk_action_post_type ) { + + // Get the action. + // Depending on your resource type this could be WP_Users_List_Table, WP_Comments_List_Table, etc. + $wp_list_table = _get_list_table( 'WP_Posts_List_Table' ); + $action = $wp_list_table->current_action(); + + // Allow only defined actions. + $allowed_actions = array_keys( $this->actions ); + if ( ! in_array( $action, $allowed_actions ) ) { + return; + } + + // Security check. + check_admin_referer( 'bulk-posts' ); + + // Make sure ids are submitted. + // Depending on the resource type, this may be 'media' or 'ids'. + if ( isset( $_REQUEST['post'] ) ) { + $post_ids = array_map( 'intval', $_REQUEST['post'] ); + } + + if ( empty( $post_ids ) ) { + return; + } + + // This is based on wp-admin/edit.php. + $sendback = remove_query_arg( + array( 'exported', 'untrashed', 'deleted', 'ids' ), + wp_get_referer() + ); + if ( ! $sendback ) { + $sendback = admin_url( "edit.php?post_type=$post_type" ); + } + + $pagenum = $wp_list_table->get_pagenum(); + $sendback = add_query_arg( 'paged', $pagenum, $sendback ); + + // Check that we have anonymous function as a callback. + $anon_fns = array_filter( $this->actions[ $action ], function( $el ) { + return $el instanceof \Closure; + } ); + + if ( count( $anon_fns ) > 0 ) { + $this->actions[ $action ]['callback']( $post_ids ); + } else { + call_user_func( $this->actions[ $action ]['callback'], $post_ids ); + } + + $sendback = add_query_arg( + array( 'success_action' => $action, 'ids' => join( ',', $post_ids ) ), + $sendback + ); + $sendback = remove_query_arg( + array( 'action', 'paged', 'mode', 'action2', 'tags_input', 'post_author', 'comment_status', 'ping_status', '_status', 'post', 'bulk_edit', 'post_view' ), + $sendback + ); + + wp_redirect( $sendback ); + + exit; + } + } + + /** + * Step 3: display an admin notice after action. + * + * @since 3.0.0 + */ + public function custom_bulk_admin_notices() { + + global $post_type, $pagenow; + + if ( isset( $_REQUEST['ids'] ) ) { + $post_ids = explode( ',', $_REQUEST['ids'] ); + } + + // Make sure ids are submitted. + // Depending on the resource type, this may be 'media' or 'ids'. + if ( empty( $post_ids ) ) { + return; + } + + $post_ids_count = is_array( $post_ids ) ? count( $post_ids ) : 1; + + if ( $pagenow == 'edit.php' && $post_type == $this->bulk_action_post_type ) { + + if ( isset( $_REQUEST['success_action'] ) ) { + + // Print notice in admin bar. + $message = $this->actions[ $_REQUEST['success_action'] ]['admin_notice']; + + if ( is_array( $message ) ) { + $message = sprintf( _n( $message['single'], $message['plural'], $post_ids_count, 'google-calendar-events' ), $post_ids_count ); + } + + $class = 'updated notice is-dismissible above-h2'; + if ( ! empty( $message ) ) { + echo "

              {$message}

              "; + } + } + } + } + +} diff --git a/wp-content/plugins/google-calendar-events/includes/admin/fields/checkbox.php b/wp-content/plugins/google-calendar-events/includes/admin/fields/checkbox.php new file mode 100644 index 0000000..ec15dab --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/admin/fields/checkbox.php @@ -0,0 +1,104 @@ +type_class = 'simcal-field-checkboxes'; + parent::__construct( $field ); + } + + /** + * Outputs the field markup. + * + * @since 3.0.0 + */ + public function html() { + + if ( ! empty( $this->options ) && count( (array) $this->options ) > 1 ) { + + if ( ! empty( $this->description ) ) { + echo '

              ' . wp_kses_post( $this->description ) . ' ' . $this->tooltip . '

              '; + } + + ?> +
              style ) ? 'style="' . $this->style . '"' : ''; ?>> + title ) ) { + echo '' . $this->title . ''; + } + + ?> +
                + options as $option => $name ) : ?> +
              • + +
              • + +
              +
              + + style ? 'style="' . $this->style . '"' : ''; ?>> + title ) ) : ?> + title; ?> + + value, 'yes', true ); ?> + attributes; ?>/> + + tooltip; + + if ( ! empty( $this->description ) ) { + echo '

              ' . wp_kses_post( $this->description ) . '

              '; + } + + } + + } + +} diff --git a/wp-content/plugins/google-calendar-events/includes/admin/fields/date-picker.php b/wp-content/plugins/google-calendar-events/includes/admin/fields/date-picker.php new file mode 100644 index 0000000..34f6e5d --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/admin/fields/date-picker.php @@ -0,0 +1,107 @@ +range = isset( $field['range'] ) ? ( $field['range'] === true ? true : false ) : false; + $this->inline = isset( $field['inline'] ) ? ( $field['inline'] === true ? true : false ) : true; + + $subtype = $this->range === true ? 'simcal-field-date-picker-range ' : ''; + $this->type_class = 'simcal-field-date-picker ' . $subtype; + + $data = array( + 'data-inline' => $this->inline === true ? 'true' : 'false', + ); + $field['attributes'] = isset( $field['attributes'] ) ? array_merge( $field['attributes'], $data ) : $data; + + parent::__construct( $field ); + } + + /** + * Output the field markup + * + * @since 3.0.0 + */ + public function html() { + + if ( ! empty( $this->description ) ) { + echo '

              ' . wp_kses_post( $this->description ) . '

              '; + } + + ?> +
              style ? 'style="' . $this->style . '"' : ''; ?> + attributes ?>> + range ) { + + ?> + + + inline ) { + echo $this->tooltip; + } + + } else { + // @todo eventually if a date range picker is needed, this can be extended + } + + ?> +
              + subtype = isset( $field['subtype'] ) ? $field['subtype'] : ''; + $this->type_class = 'simcal-field-datetime-format simcal-field-' . $this->subtype . '-format-field'; + $this->timestamp = mktime( 13, 10, 00, 1, 1, intval( date( 'Y', time() ) ) + 1 ); + + parent::__construct( $field ); + + if ( empty( $this->value ) ) { + if ( 'date' == $this->subtype ) { + $this->value = 'l, d F Y'; + } + if ( 'time' == $this->subtype ) { + $this->value = 'G:i a'; + } + } + } + + /** + * Output field markup. + * + * @since 3.0.0 + */ + public function html() { + + $id = $this->id ? ' id="' . $this->id . '" ' : ''; + $class = $this->class ? ' class="' . $this->class . '" ' : ''; + $style = $this->style ? ' style="' . $this->style . '" ' : ''; + $attr = $this->attributes; + + ?> +
              > + description ) ) { + echo '

              ' . $this->description . '

              '; + } + + $matches = array_unique( str_split( $this->value ) ); + + if ( 'date' == $this->subtype ) { + $this->print_date( $matches ); + } + + if ( 'time' == $this->subtype ) { + $this->print_time( $matches ); + } + + ?> + + + :   + value, $this->timestamp ); ?> + +
              + '', 'divider' => '', 'day' => '', 'month' => '', 'year' => '' ); + + foreach ( $matches as $match ) { + if ( in_array( $match, array( 'D', 'l' ) ) ) { + $this->weekday(); + unset( $date['weekday'] ); + } elseif ( in_array( $match, array( 'd', 'j' ) ) ) { + $this->day(); + unset( $date['day'] ); + } elseif ( in_array( $match, array( 'F', 'M', 'm', 'n' ) ) ) { + $this->month(); + unset( $date['month'] ); + } elseif ( in_array( $match, array( 'y', 'Y' ) ) ) { + $this->year(); + unset( $date['year'] ); + } elseif ( in_array( $match, array( '.', ',', ':', '/', '-' ) ) ) { + $this->divider(); + unset( $date['divider'] ); + } + } + + $this->print_fields( $date ); + } + + /** + * Print time input. + * + * @since 3.0.0 + * @access private + * + * @param array $matches + */ + private function print_time( $matches ) { + + $time = array( 'hours' => '', 'divider' => '', 'minutes' => '', 'meridiem' => '' ); + + foreach ( $matches as $match ) { + if ( in_array( $match, array( 'h', 'H', 'g', 'G' ) ) ) { + $this->hours(); + unset( $time['hours'] ); + } elseif ( in_array( $match, array( 'i' ) ) ) { + $this->minutes(); + unset( $time['minutes'] ); + } elseif ( in_array( $match, array( 'A', 'a' ) ) ) { + $this->meridiem(); + unset( $time['meridiem'] ); + } elseif ( in_array( $match, array( '.', ',', ':', '/', '-' ) ) ) { + $this->divider(); + unset( $time['divider'] ); + } + } + + $this->print_fields( $time ); + } + + /** + * Print input fields. + * + * @since 3.0.0 + * @access private + * + * @param $fields + */ + private function print_fields( $fields ) { + if ( ! empty( $fields ) && is_array( $fields ) ) { + foreach ( $fields as $func => $v ) { + if ( method_exists( $this, $func ) ) { + $this->$func(); + }; + } + } + } + + /** + * Print weekday input. + * + * @since 3.0.0 + * @access private + */ + private function weekday() { + + ?> +
              + +
              + +
              + +
              + +
              + +
              + +
              + +
              + +
              + +
              + +
              + +
              + +
              + +
              + +
              + +
              + addon = isset( $field['addon'] ) ? esc_attr( $field['addon'] ) : ''; + $this->type_class = 'simcal-field-license'; + parent::__construct( $field ); + } + + /** + * Outputs the field markup. + * + * @since 3.0.0 + */ + public function html() { + + if ( ! empty( $this->addon ) ) { + + $status = simcal_get_license_status( $this->addon ); + + if ( empty( $status ) || in_array( $status, array( 'valid', 'invalid', 'deactivated' ) ) ) { + $display_activate = 'display: inline-block'; + $display_deactivate = 'display: none'; + $active = 'valid' == $status ? 'display: block' : 'display: none'; + $disabled = ''; + } else { + $display_activate = $active = 'display: none'; + $display_deactivate = 'display: inline-block'; + $disabled = empty( $this->value ) ? '' : 'disabled="disabled"'; + } + + ?> +
              + + + name="name; ?>" + id="id; ?>" + value="value; ?>" + class="class; ?>" /> + + + + + + + + + + + + + +
              + name, $this->value ); + } + +} diff --git a/wp-content/plugins/google-calendar-events/includes/admin/fields/radio.php b/wp-content/plugins/google-calendar-events/includes/admin/fields/radio.php new file mode 100644 index 0000000..6c1daeb --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/admin/fields/radio.php @@ -0,0 +1,98 @@ +type_class = 'simcal-field-radios'; + $this->inline = isset( $field['inline'] ) ? ( 'inline' == $field['inline'] ? true : false ) : false; + + parent::__construct( $field ); + } + + /** + * Outputs the field markup. + * + * @since 3.0.0 + */ + public function html() { + + ?> +
              style ? 'style="' . $this->style .'"' : ''; ?>> + description ? '

              ' . wp_kses_post( $this->description ) . '

              ' : ''; + + if ( ! empty( $this->title ) ) : + + ?> + + title; ?> + + +
                inline === true ? 'class="simcal-field-radios-inline"' : ''; ?>> + options as $option => $name ) : ?> +
              • + +
              • + +
              + + tooltip; ?> + +
              + enhanced = true; + $class .= ' simcal-field-select-enhanced'; + } + + $multiselect = isset( $field['multiselect'] ) ? $field['multiselect'] : ''; + if ( 'multiselect' == $multiselect ) { + $this->multiselect = true; + $class .= ' simcal-field-multiselect'; + } + + $this->type_class = $class; + + $allow_void = isset( $field['allow_void'] ) ? $field['allow_void'] : ''; + $this->allow_void = 'allow_void' == $allow_void ? true : false; + + parent::__construct( $field ); + } + + /** + * Outputs the field markup. + * + * @since 3.0.0 + */ + public function html() { + + if ( $this->multiselect === true && ! is_array( $this->value ) ) { + $this->value = explode( ',', $this->value ); + } + + ?> + + tooltip; + + if ( ! empty( $this->description ) ) { + echo '

              ' . wp_kses_post( $this->description ) . '

              '; + } + + } + +} diff --git a/wp-content/plugins/google-calendar-events/includes/admin/fields/standard.php b/wp-content/plugins/google-calendar-events/includes/admin/fields/standard.php new file mode 100644 index 0000000..d99844a --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/admin/fields/standard.php @@ -0,0 +1,76 @@ +subtype = isset( $field['subtype'] ) ? esc_attr( $field['subtype'] ) : 'text'; + $this->type_class = 'simcal-field-' . $this->subtype; + + parent::__construct( $field ); + } + + /** + * Outputs the field markup. + * + * @since 3.0.0 + */ + public function html() { + + ?> + style ? 'style="' . $this->style . '" ' : ' '; + echo $this->placeholder ? 'placeholder="' . $this->placeholder . '"' : ' '; + echo $this->attributes; ?>/> + tooltip; + + if ( ! empty( $this->description ) ) { + echo '

              ' . wp_kses_post( $this->description ) . '

              '; + } + + if ( is_string( $this->validation ) && ! empty ( $this->validation ) ) { + echo $this->validation; + } + + } + +} diff --git a/wp-content/plugins/google-calendar-events/includes/admin/fields/textarea.php b/wp-content/plugins/google-calendar-events/includes/admin/fields/textarea.php new file mode 100644 index 0000000..df827b3 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/admin/fields/textarea.php @@ -0,0 +1,70 @@ +type_class = 'simcal-field-textarea'; + + parent::__construct( $field ); + + if ( ! empty( $field['value'] ) ) { + $this->value = esc_textarea( $field['value'] ); + } + if ( ! empty( $field['default'] ) ) { + $this->default = esc_textarea( $field['default'] ); + } + } + + /** + * Outputs the field markup. + * + * @since 3.0.0 + */ + public function html() { + + ?> + + tooltip; + + if ( ! empty( $this->description ) ) { + echo '

              ' . wp_kses_post( $this->description ) . '

              '; + } + + } + +} diff --git a/wp-content/plugins/google-calendar-events/includes/admin/menus.php b/wp-content/plugins/google-calendar-events/includes/admin/menus.php new file mode 100644 index 0000000..e2b9399 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/admin/menus.php @@ -0,0 +1,229 @@ +html(); + } + ); + + add_submenu_page( + self::$main_menu, + __( 'Add-ons', 'google-calendar-events' ), + __( 'Add-ons', 'google-calendar-events' ), + 'manage_options', + 'simple-calendar_add_ons', + function() { + $page = new Pages( 'add-ons' ); + $page->html(); + } + ); + + add_submenu_page( + self::$main_menu, + __( 'Tools', 'google-calendar-events' ), + __( 'Tools', 'google-calendar-events' ), + 'manage_options', + 'simple-calendar_tools', + function () { + $page = new Pages( 'tools' ); + $page->html(); + } + ); + + do_action( 'simcal_admin_add_menu_items' ); + } + + /** + * Action links in plugins page. + * + * @since 3.0.0 + * + * @param array $action_links + * @param string $file + * + * @return array + */ + public static function plugin_action_links( $action_links, $file ) { + + if ( self::$plugin == $file ) { + + $links = array(); + $links['settings'] = '' . __( 'Settings', 'google-calendar-events' ) . ''; + $links['feeds'] = '' . __( 'Calendars', 'google-calendar-events' ) . ''; + + return apply_filters( 'simcal_plugin_action_links', array_merge( $links, $action_links ) ); + } + + return $action_links; + } + + /** + * Links in plugin meta in plugins page. + * + * @since 3.0.0 + * + * @param array $meta_links + * @param string $file + * + * @return array + */ + public static function plugin_row_meta( $meta_links, $file ) { + + if ( self::$plugin == $file ) { + + $links = array(); + $links['github'] = 'GitHub'; + $links['documentation'] = '' . + __( 'Documentation', 'google-calendar-events' ) . ''; + $links['support'] = '' . + __( 'Support', 'google-calendar-events' ) . ''; + $links['add-ons'] = '' . + __( 'Add-ons', 'google-calendar-events' ) . ''; + + return apply_filters( 'simcal_plugin_action_links', array_merge( $meta_links, $links ) ); + } + + return $meta_links; + } + + /** + * Admin footer text filter callback. + * + * Change this plugin screens admin footer text. + * + * @since 3.0.0 + * + * @param $footer_text + * + * @return string|void + */ + public function admin_footer_text( $footer_text ) { + + // Check to make sure we're on a SimpleCal admin page + $screen = simcal_is_admin_screen(); + if ( $screen !== false ) { + + if ( 'calendar' == $screen ) { + + // Add Drip promo signup form (@see Newsletter meta box). + + $drip_form_id = '9817628'; + + ?> +
              + + + + + Simple Calendar please leave us a %s★★★★★ rating on WordPress.org%s. A huge thank you in advance!', 'google-calendar-events' ), + '', '' + ); + + $footer_text .= ''; + + } else { + + $footer_text = __( 'Thank you for using Simple Calendar!', 'google-calendar-events' ); + + } + + } + + return $footer_text; + } + +} diff --git a/wp-content/plugins/google-calendar-events/includes/admin/meta-boxes.php b/wp-content/plugins/google-calendar-events/includes/admin/meta-boxes.php new file mode 100644 index 0000000..839ee2c --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/admin/meta-boxes.php @@ -0,0 +1,183 @@ +post_types = $settings['general']['attach_calendars_posts']; + } + + // Load meta boxes to save settings. + new Metabox\Settings(); + new Metabox\Attach_Calendar(); + new Metabox\Newsletter(); + do_action( 'simcal_load_meta_boxes' ); + + // Add meta boxes. + add_action( 'add_meta_boxes', array( $this, 'add_meta_boxes' ), 30 ); + + // Process meta boxes. + add_action( 'simcal_save_settings_meta','\SimpleCalendar\Admin\Metaboxes\Settings::save', 10, 2 ); + add_action( 'simcal_save_attach_calendar_meta','\SimpleCalendar\Admin\Metaboxes\Attach_Calendar::save', 10, 2 ); + + // Save meta boxes data. + add_action( 'save_post', array( $this, 'save_meta_boxes' ), 1, 2 ); + + // Uncomment this for debugging $_POST while saving a meta box. + // add_action( 'save_post', function() { echo '
              '; print_r( $_POST ); echo '
              '; die(); } ); + } + + /** + * Add meta boxes. + * + * @since 3.0.0 + */ + public function add_meta_boxes() { + + add_meta_box( + 'simcal-calendar-settings', + __( 'Calendar Settings', 'google-calendar-events' ), + '\SimpleCalendar\Admin\Metaboxes\Settings::html', + 'calendar', + 'normal', + 'core' + ); + + $addons = apply_filters( 'simcal_installed_addons', array() ); + if ( empty( $addons ) ) { + + add_meta_box( + 'simcal-newsletter', + __( 'Get 20% off Google Calendar Pro!', 'google-calendar-events' ), + '\SimpleCalendar\Admin\Metaboxes\Newsletter::html', + 'calendar', + 'side', + 'default' + ); + + } + + add_meta_box( + 'simcal-get-shortcode', + __( 'Calendar Shortcode', 'google-calendar-events' ), + '\SimpleCalendar\Admin\Metaboxes\Get_Shortcode::html', + 'calendar', + 'side', + 'default' + ); + + // Add meta box if there are calendars. + if ( ( true == simcal_get_calendars() ) && ! empty( $this->post_types ) ) { + foreach ( $this->post_types as $post_type ) { + add_meta_box( + 'simcal-attach-calendar', + __( 'Attach Calendar', 'google-calendar-events' ), + '\SimpleCalendar\Admin\Metaboxes\Attach_Calendar::html', + $post_type, + 'side', + 'low' + ); + } + } + + do_action( 'simcal_add_meta_boxes' ); + } + + /** + * Check if we're saving, then trigger action. + * + * @since 3.0.0 + * + * @param int $post_id + * @param object $post + * + * @return void + */ + public function save_meta_boxes( $post_id, $post ) { + + // $post_id and $post are required. + if ( empty( $post_id ) || empty( $post ) || self::$saved_meta_boxes ) { + return; + } + + // Don't save meta boxes for revisions or autosaves. + if ( defined( 'DOING_AUTOSAVE' ) || is_int( wp_is_post_revision( $post ) ) || is_int( wp_is_post_autosave( $post ) ) ) { + return; + } + + // Check the nonce. + if ( empty( $_POST['simcal_meta_nonce'] ) || ! wp_verify_nonce( $_POST['simcal_meta_nonce'], 'simcal_save_data' ) ) { + return; + } + + // Check the post being saved == the $post_id to prevent triggering this call for other save_post events. + if ( empty( $_POST['post_ID'] ) || $_POST['post_ID'] != $post_id ) { + return; + } + + // Check user has permission to edit + if ( ! current_user_can( 'edit_post', $post_id ) ) { + return; + } + + // We need this save event to run once to avoid potential endless loops. + // This would have been perfect: + // `remove_action( current_filter(), __METHOD__ );` + // But cannot be used due to a WordPress bug: + // @link https://core.trac.wordpress.org/ticket/17817 + // @see also https://github.com/woothemes/woocommerce/issues/6485 + self::$saved_meta_boxes = true; + + // Check the post type. + if ( 'calendar' == $post->post_type ) { + do_action( 'simcal_save_settings_meta', $post_id, $post ); + } elseif ( in_array( $post->post_type, $this->post_types ) ) { + do_action( 'simcal_save_attach_calendar_meta', $post_id, $post ); + } + + do_action( 'simcal_save_meta_boxes', $post_id, $post ); + } + +} diff --git a/wp-content/plugins/google-calendar-events/includes/admin/metaboxes/attach-calendar.php b/wp-content/plugins/google-calendar-events/includes/admin/metaboxes/attach-calendar.php new file mode 100644 index 0000000..9df33b7 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/admin/metaboxes/attach-calendar.php @@ -0,0 +1,84 @@ + 'select', + 'id' => '_simcal_attach_calendar_id', + 'name' => '_simcal_attach_calendar_id', + 'enhanced' => count( $calendars ) > 15 ? 'enhanced' : '', + 'allow_void' => 'allow_void', + 'value' => absint( get_post_meta( $post->ID, '_simcal_attach_calendar_id', true ) ), + 'options' => $calendars, + 'attributes' => array( + 'data-allowclear' => 'true', + ) + ) ); + + $position = get_post_meta( $post->ID, '_simcal_attach_calendar_position', true ); + + simcal_print_field( array( + 'type' => 'radio', + 'id' => '_simcal_attach_calendar_position', + 'name' => '_simcal_attach_calendar_position', + 'value' => $position ? $position : 'after', + 'options' => array( + 'after' => __( 'After content', 'google-calendar-events' ), + 'before' => __( 'Before content', 'google-calendar-events' ), + ), + ) ); + + } + + /** + * Validate and save the meta box fields. + * + * @since 3.0.0 + * + * @param int $post_id + * @param \WP_Post $post + */ + public static function save( $post_id, $post ) { + + $id = isset( $_POST['_simcal_attach_calendar_id'] ) ? absint( $_POST['_simcal_attach_calendar_id'] ) : ''; + update_post_meta( $post_id, '_simcal_attach_calendar_id', $id ); + + $position = isset( $_POST['_simcal_attach_calendar_position'] ) ? sanitize_title( $_POST['_simcal_attach_calendar_position'] ) : 'after'; + update_post_meta( $post_id, '_simcal_attach_calendar_position', $position ); + + } + +} diff --git a/wp-content/plugins/google-calendar-events/includes/admin/metaboxes/get-shortcode.php b/wp-content/plugins/google-calendar-events/includes/admin/metaboxes/get-shortcode.php new file mode 100644 index 0000000..ab79ab2 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/admin/metaboxes/get-shortcode.php @@ -0,0 +1,45 @@ +ID ); + } + + /** + * Save settings. + * + * @since 3.0.0 + * + * @param int $post_id + * @param \WP_Post $post + */ + public static function save( $post_id, $post ) { + // This Meta Box does not have settings. + } + +} diff --git a/wp-content/plugins/google-calendar-events/includes/admin/metaboxes/newsletter.php b/wp-content/plugins/google-calendar-events/includes/admin/metaboxes/newsletter.php new file mode 100644 index 0000000..9b247bf --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/admin/metaboxes/newsletter.php @@ -0,0 +1,45 @@ + +
              + + + + + +
                + + +
              + +
              +
              + + ID ); ?> +
              +
              + ID ); ?> + +
              + ID ); + // Thus advanced panel is always the last one: + ?> +
              + + ID ); ?> +
              +
              + +
              +
              + +
              + name; + } + } + + $calendar_types = simcal_get_calendar_types(); + foreach ( $calendar_types as $calendar_type => $views ) { + + $calendar = simcal_get_calendar( $calendar_type ); + + if ( $calendar instanceof Calendar ) { + $calendar_options[ $calendar_type ] = $calendar->name; + $calendar_views[ $calendar_type ] = $calendar->views; + } + } + + if ( $feed_options ) { + + if ( $feed_types = wp_get_object_terms( $post->ID, 'calendar_feed' ) ) { + $feed_type = sanitize_title( current( $feed_types )->name ); + } else { + $feed_type = apply_filters( 'simcal_default_feed_type', 'google' ); + } + + ?> + + ID, 'calendar_type' ) ) { + $calendar_type = sanitize_title( current( $calendar_types )->name ); + } else { + $calendar_type = apply_filters( 'simcal_default_calendar_type', 'default-calendar' ); + } + + ?> + + ID, '_calendar_view', true ); + + foreach ( $calendar_views as $calendar => $views ) { + + $calendar_type_view = isset( $calendar_view[ $calendar ] ) ? $calendar_view[ $calendar ] : ''; + + ?> + + array( + 'label' => __( 'Events', 'google-calendar-events' ), + 'target' => 'events-settings-panel', + 'class' => array( 'active' ), + 'icon' => 'simcal-icon-event', + ), + 'calendar' => array( + 'label' => __( 'Appearance', 'google-calendar-events' ), + 'target' => 'calendar-settings-panel', + 'class' => array(), + 'icon' => 'simcal-icon-calendar', + ), + ), $post->ID ); + + // Always keep advanced tab as the last one. + $tabs['advanced'] = array( + 'label' => __( 'Advanced', 'google-calendar-events' ), + 'target' => 'advanced-settings-panel', + 'class' => array(), + 'icon' => 'simcal-icon-settings', + ); + + // Output the tabs as list items. + foreach ( $tabs as $key => $tab ) { + + if ( isset( $tab['target'] ) && isset( $tab['label'] ) ) { + + $icon = $tab['icon'] ? $tab['icon'] : 'simcal-icon-panel'; + $class = $tab['class'] ? $tab['class'] : array(); + + echo '
            • '; + echo ' ' . esc_html( $tab['label'] ) . ''; + echo '
            • '; + } + } + } + + /** + * Print events settings panel. + * + * @since 3.0.0 + * @access private + * + * @param \WP_Post $post + */ + private static function events_settings_panel( $post ) { + + ?> +
              + + + + + + + + + + + + + + + + + +
              + ID, '_calendar_begins', true ) ); + $calendar_begins_nth = max( absint( get_post_meta( $post->ID, '_calendar_begins_nth', true ) ), 1 ); + $calendar_begins_nth_show = in_array( $calendar_begins, array( + 'days_before', + 'days_after', + 'weeks_before', + 'weeks_after', + 'months_before', + 'months_after', + 'years_before', + 'years_after', + ) ); + + simcal_print_field( array( + 'type' => 'standard', + 'subtype' => 'number', + 'name' => '_calendar_begins_nth', + 'id' => '_calendar_begins_nth', + 'value' => strval( $calendar_begins_nth ), + 'attributes' => array( + 'min' => '1', + ), + 'class' => array( + 'simcal-field-inline', + 'simcal-field-tiny', + ), + 'style' => ! $calendar_begins_nth_show ? array( 'display' => 'none' ) : '', + ) ); + + ?> + + 'date-picker', + 'name' => '_calendar_begins_custom_date', + 'id' => '_calendar_begins_custom_date', + 'value' => get_post_meta( $post->ID, '_calendar_begins_custom_date', true ), + 'class' => array( + 'simcal-field-inline', + ), + 'style' => 'custom_date' != $calendar_begins ? array( 'display' => 'none' ) : '', + ) ); + + ?> + +
              + ID, '_feed_earliest_event_date', true ); + $earliest_event = false == $earliest_event_saved ? 'months_before' : esc_attr( $earliest_event_saved ); + + simcal_print_field( array( + 'type' => 'standard', + 'subtype' => 'number', + 'name' => '_feed_earliest_event_date_range', + 'id' => '_feed_earliest_event_date_range', + 'value' => strval( max( absint( get_post_meta( $post->ID, '_feed_earliest_event_date_range', true ) ), 1 ) ), + 'attributes' => array( + 'min' => '1', + ), + 'class' => array( + 'simcal-field-inline', + 'simcal-field-tiny', + ), + 'style' => ( 'now' != $earliest_event ) && ( 'today' != $earliest_event ) ? array( 'display' => 'none' ) : '', + ) ); + + ?> + + +
              + ID, '_feed_latest_event_date', true ); + $latest_event = false == $latest_event_saved ? 'years_after' : esc_attr( $latest_event_saved ); + + simcal_print_field( array( + 'type' => 'standard', + 'subtype' => 'number', + 'name' => '_feed_latest_event_date_range', + 'id' => '_feed_latest_event_date_range', + 'value' => strval( max( absint( get_post_meta( $post->ID, '_feed_latest_event_date_range', true ) ), 1 ) ), + 'attributes' => array( + 'min' => '1', + ), + 'class' => array( + 'simcal-field-inline', + 'simcal-field-tiny', + ), + 'style' => 'indefinite' != $latest_event ? array( 'display' => 'none' ) : '', + ) ); + + ?> + + +
              + + + + + + + + + + + + + + + +
              + ID, '_calendar_is_static', true ); + + simcal_print_field( array( + 'type' => 'checkbox', + 'name' => '_calendar_is_static', + 'id' => '_calendar_is_static', + 'tooltip' => __( 'Remove the navigation arrows and fix the calendar view to its initial state.', 'google-calendar-events' ), + 'value' => 'yes' == $fixed ? 'yes' : 'no', + ) ); + + ?> +
              + 'textarea', + 'name' => '_no_events_message', + 'id' => '_no_events_message', + 'tooltip' => __( 'Some calendars may display a message when no events are found. You can change the default message here.', 'google-calendar-events' ), + 'value' => get_post_meta( $post->ID, '_no_events_message', true ), + ) ); + + ?> +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              + ID, '_feed_timezone_setting', true ) ); + $timezone = esc_attr( get_post_meta( $post->ID, '_feed_timezone', true ) ); + $timezone = $timezone ? $timezone : $timezone_default; + + ?> + + + +
              + ID, '_calendar_date_format_setting', true ) ); + $date_format_default = esc_attr( get_option( 'date_format' ) ); + $date_format = esc_attr( get_post_meta( $post->ID, '_calendar_date_format', true ) ); + $date_format_php = esc_attr( get_post_meta( $post->ID, '_calendar_date_format_php', true ) ); + $date_format_php = $date_format_php ? $date_format_php : $date_format_default; + + ?> + + +

              + :   + +

              + 'datetime-format', + 'subtype' => 'date', + 'name' => '_calendar_date_format', + 'id' => '_calendar_date_format', + 'value' => $date_format, + 'style' => $date_format_setting != 'use_custom' ? array( 'display' => 'none' ) : '', + ) ); ?> +
              +
              + +

              + :   + +

              +
              +
              + ID, '_calendar_datetime_separator', true ); + $separator = false == $separator ? '@' : $separator; + + simcal_print_field( array( + 'type' => 'standard', + 'subtype' => 'text', + 'name' => '_calendar_datetime_separator', + 'id' => '_calendar_datetime_separator', + 'value' => $separator, + 'tooltip' => __( 'Used to divide date and time when both are shown.', 'google-calendar-events' ), + 'class' => array( + 'simcal-field-tiny', + ), + ) ); + + ?> +
              + ID, '_calendar_time_format_setting', true ) ); + $time_format_default = esc_attr( get_option( 'time_format' ) ); + $time_format = esc_attr( get_post_meta( $post->ID, '_calendar_time_format', true ) ); + $time_format_php = esc_attr( get_post_meta( $post->ID, '_calendar_time_format_php', true ) ); + $time_format_php = $time_format_php ? $time_format_php : $time_format_default; + + ?> + + +

              + :   + +

              + 'datetime-format', + 'subtype' => 'time', + 'name' => '_calendar_time_format', + 'id' => '_calendar_time_format', + 'value' => $time_format, + 'style' => $time_format_setting != 'use_custom' ? array( 'display' => 'none' ) : '', + ) ); ?> +
              +
              + +

              + :   + +

              +
              +
              + ID, '_calendar_week_starts_on_setting', true ) ); + $week_starts_default = esc_attr( get_option( 'start_of_week' ) ); + $week_starts = intval( get_post_meta( $post->ID, '_calendar_week_starts_on', true ) ); + $week_starts = is_numeric( $week_starts ) ? strval( $week_starts ) : $week_starts_default; + + ?> + + + +
              + + + + + + ID, '_feed_cache_user_amount', true ) ); + $cache_unit = esc_attr( get_post_meta( $post->ID, '_feed_cache_user_unit', true ) ); + $cache_freq = $cache_freq >= 0 ? $cache_freq : '2'; + $cache_unit = $cache_unit ? $cache_unit : '3600'; + + ?> + + + + + +
              + + + +
              + $fields ) : + + if ( $fields && is_array( $fields ) ) : + + ?> + + $field ) : + + $value = get_post_meta( $post_id, $key, true ); + $field['value'] = $value ? $value : ( isset( $field['default'] ) ? $field['default'] : '' ); + $the_field = simcal_get_field( $field ); ?> + + + + + html(); ?> + + + + + + id = is_array( $notice['id'] ) ? array_map( 'sanitize_key', $notice['id'] ) : sanitize_key( $notice['id'] ); + $this->content = wp_kses_post( $notice['content'] ); + if ( ! empty( $notice['class'] ) ) { + $this->class = is_array( $notice['class'] ) ? join( ' ', array_map( 'esc_attr', $notice['class'] ) ) : esc_attr( $notice['class'] ); + } + + // Type. + $default = 'notice'; + $type = isset( $notice['type'] ) ? esc_attr( $notice['type'] ) : $default; + $types = array( + 'error', + 'notice', + 'updated', + 'update-nag', + ); + $this->type = in_array( $type, $types ) ? $type : $default; + + // Visibility. + if ( ! empty( $notice['capability'] ) ) { + $this->capability = esc_attr( $notice['capability'] ); + } + if ( ! empty( $notice['screen'] ) ) { + $this->screen = is_array( $notice['screen'] ) ? array_map( 'esc_attr', $notice['screens'] ) : array( esc_attr( $notice['screen'] ) ); + } + if ( ! empty( $notice['post'] ) ) { + $this->post = is_array( $notice['post'] ) ? array_map( 'intval', $notice['post'] ) : array( intval( $notice['post'] ) ); + } + if ( ! empty( $notice['dismissible'] ) ) { + $this->dismissible = $notice['dismissible'] === false ? false: true; + } + if ( ! empty( $notice['visible'] ) ) { + $this->visible = $notice['visible'] === false ? false: true; + } + } + + } + + /** + * Add the notice. + * + * @since 3.0.0 + */ + public function add() { + if ( ! empty( $this->id ) && ! empty( $this->content ) ) { + $notices = get_option( 'simple-calendar_admin_notices', array() ); + if ( is_array( $this->id ) ) { + foreach ( $this->id as $k => $v ) { + $notices[ $k ][ $v ] = $this; + } + } else { + $notices[ $this->id ][] = $this; + } + update_option( 'simple-calendar_admin_notices', $notices ); + } + } + + /** + * Remove the notice. + * + * @since 3.0.0 + */ + public function remove() { + if ( ! empty( $this->id ) && ! empty( $this->content ) ) { + $notices = get_option( 'simple-calendar_admin_notices', array() ); + if ( is_array( $this->id ) ) { + foreach ( $this->id as $k => $v ) { + unset( $notices[ $k ] ); + } + } else { + unset( $notices[ $this->id ] ); + } + update_option( 'simple-calendar_admin_notices', $notices ); + } + } + +} diff --git a/wp-content/plugins/google-calendar-events/includes/admin/notices.php b/wp-content/plugins/google-calendar-events/includes/admin/notices.php new file mode 100644 index 0000000..5fe946b --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/admin/notices.php @@ -0,0 +1,200 @@ +get_notices(); + + if ( ! empty( $notices ) && is_array( $notices ) ) { + + foreach ( $notices as $group ) { + foreach ( $group as $notice ) { + + if ( $notice instanceof Notice ) { + + if ( $notice->visible === false ) { + continue; + } + + if ( ! empty( $notice->capability ) ) { + if ( ! current_user_can( $notice->capability ) ) { + continue; + } + } + + if ( ! empty( $notice->screen ) && is_array( $notice->screen ) && function_exists( 'get_current_screen' ) ) { + $screen = get_current_screen(); + if ( isset( $screen->id ) ) { + if ( ! in_array( $screen->id, $notice->screen ) ) { + continue; + } + } + } + + if ( ! empty( $notice->post ) && is_array( $notice->post ) ) { + if ( isset( $_GET['post'] ) ) { + if ( ! in_array( intval( $_GET['post'] ), $notice->post ) ) { + continue; + } + } else { + continue; + } + } + + $this->add_notice( $notice ); + } + } + } + } + } + + /** + * Add notice. + * + * @TODO Improve notice dismissal with ajax. + * + * @since 3.0.0 + * + * @param Notice $notice + * + * @return void + */ + public function add_notice( $notice ) { + + if ( $notice instanceof Notice ) { + + add_action( 'admin_notices', $print_notice = function() use ( $notice ) { + + $name = is_array( $notice->id ) ? key( $notice->id ) : $notice->id; + $url = add_query_arg( array( 'dismiss_simcal_notice' => $name ) ); + $dismiss_link = $notice->dismissible === true + ? sprintf( '', $url ) + : ''; + + echo '
              ' . $dismiss_link . $notice->content . '
              '; + } ); + + } + } + + /** + * Dismiss a notice. + * + * @TODO Improve notice dismissal with ajax. + * + * @since 3.0.0 + * + * @param string $notice (optional) The notice id. + * + * @return void + */ + public function remove_notice( $notice = '' ) { + + $notices = $this->get_notices(); + $update = false; + + if ( ! empty( $notice ) ) { + if ( isset( $notices[ $notice ] ) ) { + unset( $notices[ $notice ] ); + $update = true; + } + } + + if ( isset( $_GET['dismiss_simcal_notice'] ) ) { + if ( isset( $notices[ $_GET['dismiss_simcal_notice'] ] ) ) { + unset( $notices[ esc_attr( $_GET['dismiss_simcal_notice'] ) ] ); + $update = true; + } + } + + if ( $update === true ) { + update_option( 'simple-calendar_admin_notices', $notices ); + } + } + + /** + * Show a notice. + * + * @since 3.0.0 + * + * @param string $notice + * + * @return void + */ + public function show_notice( $notice ) { + + $notices = $this->get_notices(); + + if ( isset( $notices[ $notice ]->visible ) ) { + $notices[ $notice ]->visible = true; + update_option( 'simple-calendar_admin_notices', $notices ); + } + } + + /** + * Hide a notice. + * + * @since 3.0.0 + * + * @param string $notice + * + * @return void + */ + public function hide_notice( $notice ) { + + $notices = $this->get_notices(); + + if ( isset( $notices[ $notice ]->visible ) ) { + $notices[ $notice ]->visible = false; + update_option( 'simple-calendar_admin_notices', $notices ); + } + } + + /** + * Get current notices. + * + * @since 3.0.0 + * + * @return array + */ + public function get_notices() { + return apply_filters( + 'simcal_admin_notices', + get_option( 'simple-calendar_admin_notices', array() ) + ); + } + +} diff --git a/wp-content/plugins/google-calendar-events/includes/admin/pages.php b/wp-content/plugins/google-calendar-events/includes/admin/pages.php new file mode 100644 index 0000000..09bbd77 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/admin/pages.php @@ -0,0 +1,287 @@ +page = $page; + $settings_pages = ! is_null( \SimpleCalendar\plugin()->objects ) ? simcal_get_admin_pages() : ''; + $settings_page_tabs = array(); + $tabs = isset( $settings_pages[ $page ] ) ? $settings_pages[ $page ] : false; + + if ( $tabs && is_array( $tabs ) ) { + foreach ( $tabs as $tab ) { + + $settings_page = simcal_get_admin_page( $tab ); + + if ( $settings_page instanceof Admin_Page ) { + $settings_page_tabs[ $settings_page->id ] = $settings_page; + } + } + + $this->settings = $settings_page_tabs; + } + + // The first tab is the default tab when opening a page. + $this->tab = isset( $tabs[0] ) ? $tabs[0] : ''; + + do_action( 'simcal_admin_pages', $page ); + } + + /** + * Get settings pages. + * + * @since 3.0.0 + * @access private + * + * @return array + */ + public function get_settings() { + + $settings = array(); + + if ( ! empty( $this->settings ) && is_array( $this->settings ) ) { + foreach ( $this->settings as $id => $object ) { + + if ( $object instanceof Admin_Page ) { + + $settings_page = $object->get_settings(); + + if ( isset( $settings_page[ $id ] ) ) { + $settings[ $id ] = $settings_page[ $id ]; + } + } + + } + } + + return $settings; + } + + /** + * Register settings. + * + * Adds settings sections and fields to settings pages. + * + * @since 3.0.0 + * + * @param array $settings + */ + public function register_settings( $settings = array() ) { + + $settings = $settings ? $settings : $this->get_settings(); + + if ( ! empty( $settings ) && is_array( $settings ) ) { + + foreach ( $settings as $tab_id => $settings_page ) { + + if ( isset( $settings_page['sections'] ) ) { + + $sections = $settings_page['sections']; + + if ( ! empty( $sections ) && is_array( $sections ) ) { + + foreach ( $sections as $section_id => $section ) { + + add_settings_section( + $section_id, + isset( $section['title'] ) ? $section['title'] : '', + isset( $section['callback'] ) ? $section['callback'] : '', + 'simple-calendar_' . $this->page . '_' . $tab_id + ); + + if ( isset( $section['fields'] ) ) { + + $fields = $section['fields']; + + if ( ! empty( $fields ) && is_array( $fields ) ) { + + foreach ( $fields as $field ) { + + if ( isset( $field['id'] ) && isset( $field['type'] ) ) { + + $field_object = simcal_get_field( $field, $field['type'] ); + + if ( $field_object instanceof Field ) { + + add_settings_field( + $field['id'], + isset( $field['title'] ) ? $field['title'] : '', + array( $field_object, 'html' ), + 'simple-calendar_' . $this->page . '_' . $tab_id, + $section_id + ); + + } // add field + + } // is field valid? + + } // loop fields + + } // are fields non empty? + + } // are there fields? + + $page = simcal_get_admin_page( $tab_id ); + + register_setting( + 'simple-calendar_' . $this->page . '_' . $tab_id, + 'simple-calendar_' . $this->page . '_' . $tab_id, + $page instanceof Admin_Page ? array( $page, 'validate' ) : '' + ); + + } // loop sections + + } // are sections non empty? + + } // are there sections? + + } // loop settings + + } // are there settings? + + } + + /** + * Print Settings Pages. + * + * @since 3.0.0 + */ + public function html() { + + global $current_tab; + + // Get current tab/section + $current_tab = empty( $_GET['tab'] ) ? $this->tab : sanitize_title( $_GET['tab'] ); + $this->tab = $current_tab; + + ?> +
              +
              + '; + + // Get tabs for the settings page + if ( ! empty( $settings_pages ) && is_array( $settings_pages ) ) { + + foreach ( $settings_pages as $id => $settings ) { + + $tab_id = isset( $id ) ? $id : ''; + $tab_label = isset( $settings['label'] ) ? $settings['label'] : ''; + $tab_link = admin_url( 'edit.php?post_type=calendar&page=simple-calendar_' . $this->page . '&tab=' . $tab_id ); + + echo '' . $tab_label . ''; + } + + } + + do_action( 'simcal_admin_page_' . $this->page . '_tabs' ); + + echo ''; + + settings_errors(); + + foreach ( $settings_pages as $tab_id => $contents ) { + + if ( $tab_id === $current_tab ) { + + echo isset( $contents['description'] ) ? '

              ' . $contents['description'] . '

              ' : ''; + + do_action( 'simcal_admin_page_' . $this->page . '_' . $current_tab . '_start' ); + + settings_fields( 'simple-calendar_' . $this->page . '_' . $tab_id ); + do_settings_sections( 'simple-calendar_' . $this->page . '_' . $tab_id ); + + do_action( 'simcal_admin_page_' . $this->page . '_' . $current_tab . '_end' ); + + $submit = apply_filters( 'simcal_admin_page_' . $this->page . '_' . $current_tab . '_submit', true ); + if ( true === $submit ) { + submit_button(); + } + } + } + } + + // Add option to show we ran through default settings + // We also run a check here for the main settings page option. This is to determine if this is a fresh install or if they already had + // the plugin installed. The main feed settings page would give the best idea of that since user's have to enter an API key on this page to get it working. + if ( false === get_option( 'simple-calendar_defaults' ) && false === get_option( 'simple-calendar_settings_feeds' ) ) { + + $default_advanced = array ( + 'assets' => array ( + 'always_enqueue' => 'yes', + ), + ); + + update_option( 'simple-calendar_settings_advanced', $default_advanced ); + + add_option( 'simple-calendar_defaults', 1 ); + } + + + ?> +
              +
              + id = $tab = 'add-ons'; + $this->option_group = $page = 'add-ons'; + $this->label = __( 'Add-ons', 'google-calendar-events' ); + $this->description = ''; + $this->sections = $this->add_sections(); + $this->fields = $this->add_fields(); + + // Disable the submit button for this page. + add_filter( 'simcal_admin_page_' . $page . '_' . $tab . '_submit', function() { return false; } ); + + // Add html. + add_action( 'simcal_admin_page_' . $page . '_' . $tab . '_end', array( $this, 'html' ) ); + + } + + /** + * Output page markup. + * + * @since 3.0.0 + */ + public function html() { + + // @todo pull data from simplecalendar.io to showcase add-ons + $js_redirect = ''; + + echo $js_redirect; + } + + /** + * Add sections. + * + * @since 3.0.0 + * + * @return array + */ + public function add_sections() { + return array(); + } + + /** + * Add fields. + * + * @since 3.0.0 + * + * @return array + */ + public function add_fields() { + return array(); + } + +} diff --git a/wp-content/plugins/google-calendar-events/includes/admin/pages/advanced.php b/wp-content/plugins/google-calendar-events/includes/admin/pages/advanced.php new file mode 100644 index 0000000..74c0f1f --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/admin/pages/advanced.php @@ -0,0 +1,129 @@ +id = 'advanced'; + $this->option_group = 'settings'; + $this->label = __( 'Advanced', 'google-calendar-events' ); + //$this->description = __( 'Advanced settings.', 'google-calendar-events' ); + $this->sections = $this->add_sections(); + $this->fields = $this->add_fields(); + } + + /** + * Add sections. + * + * @since 3.0.0 + * + * @return array + */ + public function add_sections() { + return apply_filters( 'simcal_add_' . $this->option_group . '_' . $this->id .'_sections', array( + 'assets' => array( + 'title' => __( 'Scripts and Styles', 'google-calendar-events' ), + 'description' => __( 'Manage front end assets that handle the calendars appearance and user interface.', 'google-calendar-events' ) + ), + 'installation' => array( + 'title' => __( 'Installation', 'google-calendar-events' ), + 'description' => __( 'Manage your data (plugin settings and saved calendars).', 'google-calendar-events' ) + ) + ) ); + } + + /** + * Add fields. + * + * @since 3.0.0 + * + * @return array + */ + public function add_fields() { + + $fields = array(); + $this->values = get_option( 'simple-calendar_' . $this->option_group . '_' . $this->id ); + + foreach ( $this->sections as $section => $a ) : + + if ( 'assets' == $section ) { + + $fields[ $section ] = array( + 'always_enqueue' => array( + 'title' => __( 'Always Enqueue', 'google-calendar-events' ), + 'tooltip' => __( 'If ticked, this option will load all scripts on every page load.', 'google-calendar-events' ), + 'type' => 'checkbox', + 'name' => 'simple-calendar_' . $this->option_group . '_' . $this->id . '[' . $section . '][always_enqueue]', + 'id' => 'simple-calendar-' . $this->option_group . '-' . $this->id . '-' . $section . '-always-enqueue', + 'value' => $this->get_option_value( $section, 'always_enqueue' ), + ), + 'disable_css' => array( + 'title' => __( 'Disable Styles', 'google-calendar-events' ), + 'tooltip' => __( 'If ticked, this option will prevent front end stylesheet to load.', 'google-calendar-events' ), + 'type' => 'checkbox', + 'name' => 'simple-calendar_' . $this->option_group . '_' . $this->id . '[' . $section . '][disable_css]', + 'id' => 'simple-calendar-' . $this->option_group . '-' . $this->id . '-' . $section . '-disable-css', + 'value' => $this->get_option_value( $section, 'disable_css' ) + ), + 'disable_js' => array( + 'title' => __( 'Disable Scripts', 'google-calendar-events' ), + 'tooltip' => __( 'If ticked, this option will prevent front end JavaScript to load.', 'google-calendar-events' ), + 'type' => 'checkbox', + 'name' => 'simple-calendar_' . $this->option_group . '_' . $this->id . '[' . $section . '][disable_js]', + 'id' => 'simple-calendar-' . $this->option_group . '-' . $this->id . '-' . $section . '-disable-js', + 'value' => $this->get_option_value( $section, 'disable_js' ) + ) + ); + + } elseif ( 'installation' == $section ) { + + $fields[ $section ] = array( + 'delete_settings' => array( + 'title' => __( 'Delete settings', 'google-calendar-events' ), + 'tooltip' => __( 'Tick this option if you want to wipe this plugin settings from database when uninstalling.', 'google-calendar-events' ), + 'type' => 'checkbox', + 'name' => 'simple-calendar_' . $this->option_group . '_' . $this->id . '[' . $section . '][delete_settings]', + 'id' => 'simple-calendar-' . $this->option_group . '-' . $this->id . '-' . $section . '-delete-settings', + 'value' => $this->get_option_value( $section, 'delete_settings' ), + ), + 'erase_data' => array( + 'title' => __( 'Erase calendar data', 'google-calendar-events' ), + 'tooltip' => __( 'By default your data will be retained in database even after uninstall. Tick this option if you want to delete all your calendar data when uninstalling.', 'google-calendar-events' ), + 'type' => 'checkbox', + 'name' => 'simple-calendar_' . $this->option_group . '_' . $this->id . '[' . $section . '][erase_data]', + 'id' => 'simple-calendar_' . $this->option_group . '_' . $this->id . '-delete-data', + 'value' => $this->get_option_value( $section, 'erase_data' ), + ) + ); + + } + + endforeach; + + return apply_filters( 'simcal_add_' . $this->option_group . '_' . $this->id . '_fields', $fields ); + } + +} diff --git a/wp-content/plugins/google-calendar-events/includes/admin/pages/calendars.php b/wp-content/plugins/google-calendar-events/includes/admin/pages/calendars.php new file mode 100644 index 0000000..54ef5ec --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/admin/pages/calendars.php @@ -0,0 +1,182 @@ +id = 'calendars'; + $this->option_group = 'settings'; + $this->label = __( 'Calendars', 'google-calendar-events' ); + //$this->description = __( 'Manage calendar preferences and calendar types settings and options.', 'google-calendar-events' ); + + $calendars = simcal_get_calendar_types(); + $calendar_settings = array(); + if ( ! empty( $calendars ) && is_array( $calendars ) ) { + foreach ( $calendars as $calendar => $views ) { + + $calendar_type = simcal_get_calendar( $calendar ); + + if ( $calendar_type instanceof Calendar ) { + $settings = $calendar_type->settings_fields(); + if ( ! empty( $settings ) ) { + $calendar_settings[ $calendar ] = $settings; + } + } + } + } + + $this->calendar_types = $calendar_settings; + $this->sections = $this->add_sections(); + $this->fields = $this->add_fields(); + } + + /** + * Add sections. + * + * @since 3.0.0 + * + * @return array + */ + public function add_sections() { + + $sections = array( + 'general' => array( + 'title' => __( 'General', 'google-calendar-events' ), + 'description' => '', + ), + ); + + $calendar_types = $this->calendar_types; + + if ( ! empty( $calendar_types ) && is_array( $calendar_types ) ) { + foreach ( $calendar_types as $calendar_type => $type ) { + + $sections[ $calendar_type ] = array( + 'title' => $type['name'], + 'description' => $type['description'], + ); + + } + } + + arsort( $calendar_types ); + + $sections['poweredby'] = array( + 'title' => __( 'Show Some Love', 'google-calendar-events' ), + 'description' => '', + ); + + return apply_filters( 'simcal_add_' . $this->option_group . '_' . $this->id .'_sections', $sections ); + } + + /** + * Add fields. + * + * @since 3.0.0 + * + * @return array + */ + public function add_fields() { + + $fields = array(); + $feed_types = $this->calendar_types; + $this->values = get_option( 'simple-calendar_' . $this->option_group . '_' . $this->id ); + + foreach ( $this->sections as $section => $contents ) : + + if ( 'general' == $section ) { + + $options = array(); + $post_types = get_post_types( + array( + 'public' => false, + 'publicly_queriable' => false, + 'show_ui' => false, + ), + 'objects', + 'not' + ); + unset( $post_types['attachment'] ); + unset( $post_types['calendar'] ); + unset( $post_types['gce_feed'] ); + foreach ( $post_types as $slug => $post_type ) { + $options[ $slug ] = $post_type->label; + } + asort( $options ); + + $fields[ $section ][] = array( + 'type' => 'select', + 'multiselect' => 'multiselect', + 'enhanced' => 'enhanced', + 'title' => __( 'Attach Calendars', 'google-calendar-events' ), + 'tooltip' => __( 'You can choose on which content types to add the ability to attach calendars.', 'google-calendar-events' ), + 'name' => 'simple-calendar_' . $this->option_group . '_' . $this->id . '[' . $section . '][attach_calendars_posts]', + 'id' => 'simple-calendar-' . $this->option_group . '-' . $this->id . '-attach-calendars-posts', + 'value' => $this->get_option_value( $section, 'attach_calendars_posts' ), + 'default' => 'post,page', + 'options' => $options, + ); + + } elseif ( isset( $feed_types[ $section ]['fields'] ) ) { + + foreach ( $feed_types[ $section ]['fields'] as $key => $args ) { + + $fields[ $section ][] = array_merge( $args, array( + 'name' => 'simple-calendar_' . $this->option_group . '_' . $this->id . '[' . $section . '][' . $key . ']', + 'id' => 'simple-calendar-' . $this->option_group . '-' . $this->id . '-' . $key, + 'value' => $this->get_option_value( $section, $key ) + ) ); + + } + + } elseif ( 'poweredby' == $section ) { + + $fields[ $section ][] = array( + 'type' => 'checkbox', + 'title' => __( 'Powered by Simple Calendar', 'google-calendar-events' ), + 'tooltip' => __( 'Help our plugin get noticed and display a small link to our plugin below your calendars. Thanks!', 'google-calendar-events' ), + 'name' => 'simple-calendar_' . $this->option_group . '_' . $this->id . '[' . $section . '][opt_in]', + 'id' => 'simple-calendar-' . $this->option_group . '-' . $this->id . '-poweredby-optin', + 'value' => $this->get_option_value( $section, 'opt_in' ), + ); + } + + endforeach; + + return apply_filters( 'simcal_add_' . $this->option_group . '_' . $this->id . '_fields', $fields ); + } + +} diff --git a/wp-content/plugins/google-calendar-events/includes/admin/pages/feeds.php b/wp-content/plugins/google-calendar-events/includes/admin/pages/feeds.php new file mode 100644 index 0000000..6cd8948 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/admin/pages/feeds.php @@ -0,0 +1,123 @@ +id = 'feeds'; + $this->option_group = 'settings'; + $this->label = __( 'Event Sources', 'google-calendar-events' ); + //$this->description = __( 'Manage calendar event sources settings.', 'google-calendar-events' ); + + $feeds_settings = array(); + $feeds = simcal_get_feed_types(); + if ( ! empty( $feeds ) && is_array( $feeds ) ) { + foreach ( $feeds as $feed ) { + + $feed_type = simcal_get_feed( $feed ); + + if ( $feed_type instanceof Feed ) { + $settings = $feed_type->settings_fields(); + if ( ! empty( $settings ) ) { + $feeds_settings[ $feed ] = $settings; + } + } + } + } + + $this->feed_types = $feeds_settings; + $this->sections = $this->add_sections(); + $this->fields = $this->add_fields(); + } + + /** + * Add sections. + * + * @since 3.0.0 + * + * @return array + */ + public function add_sections() { + + $sections = array(); + + foreach ( $this->feed_types as $feed_type => $type ) { + + $sections[ $feed_type ] = array( + 'title' => $type['name'], + 'description' => $type['description'], + ); + + } + + arsort( $sections ); + + return apply_filters( 'simcal_add_' . $this->option_group . '_' . $this->id .'_sections', $sections ); + } + + /** + * Add fields. + * + * @since 3.0.0 + * + * @return array + */ + public function add_fields() { + + $fields = array(); + $feed_types = $this->feed_types; + $this->values = get_option( 'simple-calendar_' . $this->option_group . '_' . $this->id ); + + foreach ( $this->sections as $type => $contents ) : + + if ( isset( $feed_types[ $type ]['fields'] ) ) { + foreach ( $feed_types[ $type ]['fields'] as $key => $args ) { + + $fields[ $type ][] = array_merge( $args, array( + 'name' => 'simple-calendar_' . $this->option_group . '_' . $this->id . '[' . $type . '][' . $key . ']', + 'id' => 'simple-calendar-' . $this->option_group . '-' . $this->id . '-' . $type . '-' . $key, + 'value' => $this->get_option_value( $type, $key ) + ) ); + + } + } + + endforeach; + + return apply_filters( 'simcal_add_' . $this->option_group . '_' . $this->id . '_fields', $fields ); + } + +} diff --git a/wp-content/plugins/google-calendar-events/includes/admin/pages/licenses.php b/wp-content/plugins/google-calendar-events/includes/admin/pages/licenses.php new file mode 100644 index 0000000..232375b --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/admin/pages/licenses.php @@ -0,0 +1,131 @@ +id = $tab = 'licenses'; + $this->option_group = $page = 'settings'; + $this->label = __( 'Add-on Licenses', 'google-calendar-events' ); + //$this->description = __( 'Manage your premium add-on license keys.', 'google-calendar-events' ); + $this->sections = $this->add_sections(); + $this->fields = $this->add_fields(); + + // Disabled the 'save changes' button for this page. + add_filter( 'simcal_admin_page_' . $page . '_' . $tab . '_submit', function() { return false; } ); + + // Add html to page. + add_action( 'simcal_admin_page_' . $page . '_' . $tab . '_end', array( __CLASS__, 'html' ) ); + } + + /** + * Add additional html. + * + * @since 3.0.0 + * + * @return void + */ + public static function html() { + // Add a nonce field used in ajax. + wp_nonce_field( 'simcal_license_manager', 'simcal_license_manager' ); + // Add a license 'reset' button. + ?> +

              + + + + + array( + 'title' => __( 'Premium Add-on License Keys', 'google-calendar-events' ), + 'description' => __( 'Enter your add-on license keys below, making sure to activate each one to ensure they are valid.', 'google-calendar-events' ) . + '

              ' . + '' . __( 'Your license keys are used for access to automatic upgrades and premium support.', 'google-calendar-events' ) . '', + ), + ); + return apply_filters( 'simcal_add_' . $this->option_group . '_' . $this->id .'_sections', $sections ); + } + + /** + * Add fields. + * + * @since 3.0.0 + * + * @return array + */ + public function add_fields() { + + $fields = array(); + $this->values = get_option( 'simple-calendar_' . $this->option_group . '_' . $this->id ); + + foreach ( $this->sections as $section => $contents ) { + + if ( 'keys' == $section ) { + + $addons = apply_filters( 'simcal_installed_addons', array() ); + + if ( ! empty( $addons ) && is_array( $addons ) ) { + + foreach ( $addons as $addon_id => $addon_name ) { + + $fields[ $section ][ $addon_id ] = array( + 'type' => 'license', + 'addon' => $addon_id, + 'title' => esc_attr( $addon_name ), + 'name' => 'simple-calendar_' . $this->option_group . '_' . $this->id . '[' . $section . '][' . $addon_id . ']', + 'id' => 'simple-calendar-' . $this->option_group . '-' . $this->id . '-' . $section . '-' . sanitize_key( $addon_id ), + 'value' => $this->get_option_value( $section, $addon_id ), + 'class' => array( + 'regular-text', + 'ltr', + ) + ); + + } + + } + + } + + } + + return apply_filters( 'simcal_add_' . $this->option_group . '_' . $this->id . '_fields', $fields ); + } + +} diff --git a/wp-content/plugins/google-calendar-events/includes/admin/pages/system-status.php b/wp-content/plugins/google-calendar-events/includes/admin/pages/system-status.php new file mode 100644 index 0000000..8880274 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/admin/pages/system-status.php @@ -0,0 +1,709 @@ +id = $tab = 'system-status'; + $this->option_group = $page = 'tools'; + $this->label = __( 'System Report', 'google-calendar-events' ); + $this->description = ''; + $this->sections = $this->add_sections(); + $this->fields = $this->add_fields(); + + // Disable the submit button for this page. + add_filter( 'simcal_admin_page_' . $page . '_' . $tab . '_submit', function() { return false; } ); + + // Add html. + add_action( 'simcal_admin_page_' . $page . '_' . $tab . '_end', array( $this, 'html' ) ); + } + + /** + * Output page markup. + * + * @since 3.0.0 + */ + public function html() { + + ?> +
              +

              + +

              +

              +
              +
              + array( + 'label' => __( 'WordPress Installation', 'google-calendar-events' ), + 'export' => 'WordPress Installation', + ), + 'theme' => array( + 'label' => __( 'Active Theme', 'google-calendar-events' ), + 'export' => 'Active Theme', + ), + 'plugins' => array( + 'label' => __( 'Active Plugins', 'google-calendar-events' ), + 'export' => 'Active Plugins', + ), + 'server' => array( + 'label' => __( 'Server Environment', 'google-calendar-events' ), + 'export' => 'Server Environment', + ), + 'client' => array( + 'label' => __( 'Client Information', 'google-calendar-events' ), + 'export' => 'Client Information', + ) + ); + + /** + * Plugin Information + * ================== + */ + + // @todo add report information section for current plugin + + /** + * WordPress Installation + * ====================== + */ + + $debug_mode = $script_debug = __( 'No', 'google-calendar-events' ); + if ( defined( 'WP_DEBUG' ) ) { + $debug_mode = true === WP_DEBUG ? __( 'Yes', 'google-calendar-events' ) : $debug_mode; + } + if ( defined( 'SCRIPT_DEBUG' ) ) { + $script_debug = true === SCRIPT_DEBUG ? __( 'Yes', 'google-calendar-events' ) : $script_debug; + } + + $memory = $this->let_to_num( WP_MEMORY_LIMIT ); + $memory_export = size_format( $memory ); + if ( $memory < 67108864 ) { + $memory = '' . sprintf( __( '%1$s - It is recomendend to set memory to at least 64MB. See: Increasing memory allocated to PHP', 'google-calendar-events' ), $memory_export, 'http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP' ) . ''; + } else { + $memory = '' . $memory_export . ''; + } + + $permalinks = get_option( 'permalink_structure' ); + $permalinks = empty( $permalinks ) ? '/?' : $permalinks; + + $is_multisite = is_multisite(); + + $sections['wordpress'] = array( + 'name' => array( + 'label' => __( 'Site Name', 'google-calendar-events' ), + 'label_export' => 'Site Name', + 'result' => get_bloginfo( 'name' ), + ), + 'home_url' => array( + 'label' => __( 'Home URL', 'google-calendar-events' ), + 'label_export' => 'Home URL', + 'result' => home_url(), + ), + 'site_url' => array( + 'label' => __( 'Site URL', 'google-calendar-events' ), + 'label_export' => 'Site URL', + 'result' => site_url(), + ), + 'version' => array( + 'label' => __( 'Version', 'google-calendar-events' ), + 'label_export' => 'Version', + 'result' => $wp_version, + ), + 'locale' => array( + 'label' => __( 'Locale', 'google-calendar-events' ), + 'label_export' => 'Locale', + 'result' => get_locale(), + ), + 'wp_timezone' => array( + 'label' => __( 'Timezone', 'google-calendar-events' ), + 'label_export' => 'Timezone', + 'result' => simcal_get_wp_timezone(), + ), + 'multisite' => array( + 'label' => __( 'Multisite', 'google-calendar-events' ), + 'label_export' => 'Multisite', + 'result' => $is_multisite ? __( 'Yes', 'google-calendar-events' ) : __( 'No', 'google-calendar-events' ), + 'result_export' => $is_multisite ? 'Yes' : 'No' + ), + 'permalink' => array( + 'label' => __( 'Permalinks', 'google-calendar-events' ), + 'label_export' => 'Permalinks', + 'result' => '' . $permalinks . '', + 'result_export' => $permalinks, + ), + 'memory_limit' => array( + 'label' => 'WP Memory Limit', + 'result' => $memory, + 'result_export' => $memory_export, + ), + 'debug_mode' => array( + 'label' => 'WP Debug Mode', + 'result' => $debug_mode, + ), + 'script_debug' => array( + 'label' => 'Script Debug', + 'result' => $script_debug, + ), + ); + + /** + * Active Theme + * ============ + */ + + include_once ABSPATH . 'wp-admin/includes/theme-install.php'; + + if ( version_compare( $wp_version, '3.4', '<' ) ) { + $active_theme = get_theme_data( get_stylesheet_directory() . '/style.css' ); + $theme_name = '' . $active_theme['Name'] . ''; + $theme_version = $active_theme['Version']; + $theme_author = '' . $active_theme['Author'] . ''; + $theme_export = $active_theme['Name'] . ' - ' . $theme_version; + } else { + $active_theme = wp_get_theme(); + $theme_name = '' . $active_theme->Name . ''; + $theme_version = $active_theme->Version; + $theme_author = $active_theme->Author; + $theme_export = $active_theme->Name . ' - ' . $theme_version; + } + + $theme_update_version = $theme_version; + + $api = themes_api( 'theme_information', array( + 'slug' => get_template(), + 'fields' => array( 'sections' => false, 'tags' => false ), + ) ); + if ( $api && ! is_wp_error( $api ) ) { + $theme_update_version = $api->version; + } + + if ( version_compare( $theme_version, $theme_update_version, '<' ) ) { + $theme_version = '' . $theme_version . ' (' . sprintf( __( '%s is available', 'google-calendar-events' ), esc_html( $theme_update_version ) ) . ')'; + } else { + $theme_version = '' . $theme_version . ''; + } + + $theme = '
              '; + $theme .= '
              ' . __( 'Name', 'google-calendar-events' ) . '
              '; + $theme .= '
              ' . $theme_name . '
              '; + $theme .= '
              ' . __( 'Author', 'google-calendar-events' ) . '
              '; + $theme .= '
              ' . $theme_author . '
              '; + $theme .= '
              ' . __( 'Version', 'google-calendar-events' ) . '
              '; + $theme .= '
              ' . $theme_version . '
              '; + $theme .= '
              '; + + $is_child_theme = is_child_theme(); + $parent_theme = $parent_theme_export = '-'; + + if ( $is_child_theme ) { + if ( version_compare( $wp_version, '3.4', '<' ) ) { + + $parent_theme = $parent_theme_export = $active_theme['Template']; + + } else { + + $parent = wp_get_theme( $active_theme->Template ); + $parent_theme = '
              '; + $parent_theme .= '
              ' . __( 'Name', 'google-calendar-events' ) . '
              '; + $parent_theme .= '
              ' . $parent->Name . '
              '; + $parent_theme .= '
              ' . __( 'Author', 'google-calendar-events' ) . '
              '; + $parent_theme .= '
              ' . $parent->Author . '
              '; + $parent_theme .= '
              ' . __( 'Version', 'google-calendar-events' ) . '
              '; + $parent_theme .= '
              ' . $parent->Version . '
              '; + $parent_theme .= '
              '; + + $parent_theme_export = strip_tags( $parent->Name ) . ' - ' . $parent->Version; + } + } + + $sections['theme'] = array( + 'theme' => array( + 'label' => __( 'Theme Information', 'google-calendar-events' ), + 'label_export' => 'Theme', + 'result' => $theme, + 'result_export' => $theme_export, + ), + 'theme_child' => array( + 'label' => __( 'Child Theme', 'google-calendar-events' ), + 'label_export' => 'Child Theme', + 'result' => $is_child_theme ? __( 'Yes', 'google-calendar-events' ) : __( 'No', 'google-calendar-events' ), + 'result_export' => $is_child_theme ? 'Yes' : 'No', + ), + 'theme_parent' => array( + 'label' => __( 'Parent Theme', 'google-calendar-events' ), + 'label_export' => 'Parent Theme', + 'result' => $parent_theme, + 'result_export' => $parent_theme_export, + ), + ); + + /** + * Active Plugins + * ============== + */ + + include_once ABSPATH . 'wp-admin/includes/plugin-install.php'; + + $active_plugins = (array) get_option( 'active_plugins', array() ); + if ( is_multisite() ) { + $active_plugins = array_merge( $active_plugins, get_site_option( 'active_sitewide_plugins', array() ) ); + } + + foreach ( $active_plugins as $plugin ) { + + $plugin_data = @get_plugin_data( WP_PLUGIN_DIR . '/' . $plugin ); + + if ( ! empty( $plugin_data['Name'] ) ) { + + $plugin_name = $plugin_data['Title']; + $plugin_author = $plugin_data['Author']; + $plugin_version = $plugin_update_version = $plugin_data['Version']; + + // Afraid that querying many plugins may risk a timeout. + if ( count( $active_plugins ) <= 10 ) { + $api = plugins_api( 'plugin_information', array( + 'slug' => $plugin_data['Name'], + 'fields' => array( + 'version' => true, + ), + ) ); + if ( $api && ! is_wp_error( $api ) ) { + if ( ! empty( $api->version ) ) { + $plugin_update_version = $api->version; + if ( version_compare( $plugin_version, $plugin_update_version, '<' ) ) { + $plugin_version = '' . $plugin_version . ' (' . sprintf( __( '%s is available', 'google-calendar-events' ), esc_html( $plugin_update_version ) ) . ')'; + } else { + $plugin_version = '' . $plugin_version . ''; + } + } + } + } + + $plugin = '
              '; + $plugin .= '
              ' . __( 'Author', 'google-calendar-events' ) . '
              '; + $plugin .= '
              ' . $plugin_author . '
              '; + $plugin .= '
              ' . __( 'Version', 'google-calendar-events' ) . '
              '; + $plugin .= '
              ' . $plugin_version . '
              '; + $plugin .= '
              '; + + $sections['plugins'][ sanitize_key( strip_tags( $plugin_name ) ) ] = array( + 'label' => $plugin_name, + 'label_export' => strip_tags( $plugin_data['Title'] ), + 'result' => $plugin, + 'result_export' => $plugin_data['Version'], + ); + } + } + + if ( isset( $sections['plugins'] ) ) { + rsort( $sections['plugins'] ); + } + + /** + * Server Environment + * ================== + */ + + if ( version_compare( PHP_VERSION, '5.4', '<' ) ) { + $php = '' . sprintf( __( '%1$s - It is recomendend to upgrade at least to PHP version 5.4 for security reasons. Read more.', 'google-calendar-events' ), PHP_VERSION, 'http://www.wpupdatephp.com/update/' ) . ''; + } else { + $php = '' . PHP_VERSION . ''; + } + + if ( $wpdb->use_mysqli ) { + $mysql = @mysqli_get_server_info( $wpdb->dbh ); + } else { + $mysql = @mysql_get_server_info(); + } + + $host = $_SERVER['SERVER_SOFTWARE']; + if ( defined( 'WPE_APIKEY' ) ) { + $host .= ' (WP Engine)'; + } elseif ( defined( 'PAGELYBIN' ) ) { + $host .= ' (Pagely)'; + } + + $default_timezone = $server_timezone_export = date_default_timezone_get(); + if ( 'UTC' !== $default_timezone ) { + $server_timezone = '' . sprintf( __( 'Server default timezone is %s - it should be UTC', 'google-calendar-events' ), $default_timezone ) . ''; + } else { + $server_timezone = 'UTC'; + } + + // WP Remote POST test. + $response = wp_safe_remote_post( 'https://www.paypal.com/cgi-bin/webscr', array( + 'timeout' => 60, + 'body' => array( + 'cmd' => '_notify-validate', + ), + ) ); + if ( ! is_wp_error( $response ) && $response['response']['code'] >= 200 && $response['response']['code'] < 300 ) { + $wp_post_export = 'Yes'; + $wp_post = '' . __( 'Yes', 'google-calendar-events' ) . ''; + } else { + $wp_post_export = 'No'; + $wp_post = '' . __( 'No', 'google-calendar-events' ); + if ( is_wp_error( $response ) ) { + $error = ' (' . $response->get_error_message() . ')'; + $wp_post .= $error; + $wp_post_export .= $error; + } else { + $error = ' (' . $response['response']['code'] . ')'; + $wp_post .= $error; + $wp_post_export .= $error; + } + $wp_post .= ''; + } + + // WP Remote GET test. + $response = wp_safe_remote_get( get_home_url( '/?p=1' ) ); + if ( ! is_wp_error( $response ) && $response['response']['code'] >= 200 && $response['response']['code'] < 300 ) { + $wp_get_export = 'Yes'; + $wp_get = '' . __( 'Yes', 'google-calendar-events' ) . ''; + } else { + $wp_get_export = 'No'; + $wp_get = '' . __( 'No', 'google-calendar-events' ); + if ( is_wp_error( $response ) ) { + $error = ' (' . $response->get_error_message() . ')'; + $wp_get .= $error; + $wp_get_export .= $error; + } else { + $error = ' (' . $response['response']['code'] . ')'; + $wp_get .= $error; + $wp_get_export .= $error; + } + $wp_get .= ''; + } + + $php_memory_limit = ini_get( 'memory_limit' ); + $php_max_upload_filesize = ini_get( 'upload_max_filesize' ); + $php_post_max_size = ini_get( 'post_max_size' ); + $php_max_execution_time = ini_get( 'max_execution_time' ); + $php_max_input_vars = ini_get( 'max_input_vars' ); + + $sections['server'] = array( + 'host' => array( + 'label' => __( 'Web Server', 'google-calendar-events' ), + 'label_export' => 'Web Server', + 'result' => $host, + ), + 'php_version' => array( + 'label' => __( 'PHP Version', 'google-calendar-events' ), + 'label_export' => 'PHP Version', + 'result' => $php, + 'result_export' => PHP_VERSION, + ), + 'mysql_version' => array( + 'label' => __( 'MySQL Version', 'google-calendar-events' ), + 'label_export' => 'MySQL Version', + 'result' => version_compare( $mysql, '5.5', '>' ) ? '' . $mysql . '' : $mysql, + 'result_export' => $mysql, + ), + 'server_timezone' => array( + 'label' => __( 'Server Timezone', 'google-calendar-events' ), + 'label_export' => 'Server Timezone', + 'result' => $server_timezone, + 'result_export' => $server_timezone_export, + ), + 'display_errors' => array( + 'label' => 'Display Errors', + 'result' => ( ini_get( 'display_errors' ) ) ? __( 'Yes', 'google-calendar-events' ) . ' (' . ini_get( 'display_errors' ) . ')' : '-', + 'result_export' => ( ini_get( 'display_errors' ) ) ? 'Yes' : 'No', + ), + 'php_safe_mode' => array( + 'label' => 'Safe Mode', + 'result' => ( ini_get( 'safe_mode' ) ) ? __( 'Yes', 'google-calendar-events' ) : __( 'No', 'google-calendar-events' ), + 'result_export' => ( ini_get( 'safe_mode' ) ) ? 'Yes' : 'No', + ), + 'php_memory_limit' => array( + 'label' => 'Memory Limit', + 'result' => $php_memory_limit ? $php_memory_limit : '-', + ), + 'upload_max_filesize' => array( + 'label' => 'Upload Max Filesize', + 'result' => $php_max_upload_filesize ? $php_max_upload_filesize : '-', + ), + 'post_max_size' => array( + 'label' => 'Post Max Size', + 'result' => $php_post_max_size ? $php_post_max_size : '-', + ), + 'max_execution_time' => array( + 'label' => 'Max Execution Time', + 'result' => $php_max_execution_time ? $php_max_execution_time : '-', + ), + 'max_input_vars' => array( + 'label' => 'Max Input Vars', + 'result' => $php_max_input_vars ? $php_max_input_vars : '-', + ), + 'fsockopen' => array( + 'label' => 'fsockopen', + 'result' => function_exists( 'fsockopen' ) ? __( 'Yes', 'google-calendar-events' ) : __( 'No', 'google-calendar-events' ), + 'result_export' => function_exists( 'fsockopen' ) ? 'Yes' : 'No', + ), + 'curl_init' => array( + 'label' => 'cURL', + 'result' => function_exists( 'curl_init' ) ? __( 'Yes', 'google-calendar-events' ) : __( 'No', 'google-calendar-events' ), + 'result_export' => function_exists( 'curl_init' ) ? 'Yes' : 'No', + ), + 'soap' => array( + 'label' => 'SOAP', + 'result' => class_exists( 'SoapClient' ) ? __( 'Yes', 'google-calendar-events' ) : __( 'No', 'google-calendar-events' ), + 'result_export' => class_exists( 'SoapClient' ) ? 'Yes' : 'No', + ), + 'suhosin' => array( + 'label' => 'SUHOSIN', + 'result' => extension_loaded( 'suhosin' ) ? __( 'Yes', 'google-calendar-events' ) : __( 'No', 'google-calendar-events' ), + 'result_export' => extension_loaded( 'suhosin' ) ? 'Yes' : 'No', + ), + 'wp_remote_post' => array( + 'label' => 'WP Remote POST', + 'result' => $wp_post, + 'result_export' => $wp_post_export, + ), + 'wp_remote_get' => array( + 'label' => 'WP Remote GET', + 'result' => $wp_get, + 'result_export' => $wp_get_export, + ), + ); + + /** + * Client Information + * ================== + */ + + $user_client = new \Browser(); + + $browser = '
              '; + $browser .= '
              ' . __( 'Name:', 'google-calendar-events' ) . '
              '; + $browser .= '
              ' . $user_client->getBrowser() . '
              '; + $browser .= '
              ' . __( 'Version:', 'google-calendar-events' ) . '
              '; + $browser .= '
              ' . $user_client->getVersion() . '
              '; + $browser .= '
              ' . __( 'User Agent:', 'google-calendar-events' ) . '
              '; + $browser .= '
              ' . $user_client->getUserAgent() . '
              '; + $browser .= '
              ' . __( 'Platform:', 'google-calendar-events' ) . '
              '; + $browser .= '
              ' . $user_client->getPlatform() . '
              '; + $browser .= '
              '; + + $browser_export = $user_client->getBrowser() . ' ' . $user_client->getVersion() . ' (' . $user_client->getPlatform() . ')'; + + $sections['client'] = array( + 'user_ip' => array( + 'label' => __( 'IP Address', 'google-calendar-events' ), + 'label_export' => 'IP Address', + 'result' => $_SERVER['SERVER_ADDR'], + ), + 'browser' => array( + 'label' => __( 'Browser', 'google-calendar-events' ), + 'result' => $browser, + 'result_export' => $browser_export, + ) + ); + + /** + * Final Output + * ============ + */ + + $panels = apply_filters( 'simcal_system_status_report_panels', $panels ); + $sections = apply_filters( 'simcal_system_status_report_sections', $sections ); + + foreach ( $panels as $panel => $v ) : + + if ( isset( $sections[ $panel ] ) ) : + + ?> + + + + + + + + $cell ) : ?> + + + + + + + + +
              ' : ''; ?>
              + inline_scripts(); + + } + + /** + * Print inline scripts. + * + * @since 3.0.0 + * @access private + * + * @return void + */ + private function inline_scripts() { + + ?> + + __( 'Events Source', 'google-calendar-events' ) ); + $calendar_info = array( 'calendar' => __( 'Calendar Type', 'google-calendar-events' ) ); + $shortcode = array( 'shortcode' => __( 'Shortcode', 'google-calendar-events' ) ); + + // Merge with existing columns and rearrange. + $columns = array_slice( $columns, 0, 2, true ) + $feed_info + $calendar_info + $shortcode + array_slice( $columns, 2, null, true ); + + return $columns; + } + + /** + * Fill out the Calendar feed post type columns. + * + * @since 3.0.0 + * + * @param string $column_name Column identifier. + * @param int $post_id The calendar feed post id. + * + * @return void + */ + public function calendar_feed_column_content( $column_name, $post_id ) { + + switch ( $column_name ) { + + case 'feed': + + $feed = simcal_get_feed( $post_id ); + echo isset( $feed->name ) ? $feed->name : '—'; + break; + + case 'calendar': + + $info = '—'; + + if ( $terms = wp_get_object_terms( $post_id, 'calendar_type' ) ) { + + $calendar_type = sanitize_title( current( $terms )->name ); + $calendar = simcal_get_calendar( $calendar_type ); + + if ( $calendar instanceof Calendar ) { + $info = $calendar->name; + $views = get_post_meta( $post_id, '_calendar_view', true );; + $view = isset( $views[ $calendar->type ] ) ? $views[ $calendar->type ] : ''; + + if ( isset( $calendar->views[ $view ] ) ) { + $info .= ' → ' . $calendar->views[ $view ]; + } + } + } + + echo $info; + break; + + case 'shortcode' : + + simcal_print_shortcode_tip( $post_id ); + break; + } + } + + /** + * Add actions to Calendar feed post type row view. + * + * @since 3.0.0 + * + * @param array $actions Default actions + * @param \WP_Post $post Post object. + * + * @return array Filtered output. + */ + public function row_actions( $actions, $post ) { + + // Add a clear feed cache action link. + if ( $post->post_type == 'calendar' ) { + $actions['duplicate_feed'] = '' . __( 'Clone', 'google-calendar-events' ) . ''; + $actions['clear_cache'] = '' . __( 'Clear Cache', 'google-calendar-events' ) . ''; + } + + return $actions; + } + + /** + * Bulk actions. + * + * @since 3.0.0 + */ + public function bulk_actions() { + + // Clear an individual feed cache. + // @todo Convert the clear cache request to ajax. + if ( isset( $_REQUEST['clear_cache'] ) ) { + + $id = intval( $_REQUEST['clear_cache'] ); + + if ( $id > 0 ) { + simcal_delete_feed_transients( $id ); + } + + wp_redirect( remove_query_arg( 'clear_cache' ) ); + } + + // Duplicate a feed post type. + if ( isset( $_REQUEST['duplicate_feed'] ) ) { + + $id = intval( $_REQUEST['duplicate_feed'] ); + + if ( $id > 0 ) { + $this->duplicate_feed( $id ); + } + + wp_redirect( remove_query_arg( 'duplicate_feed' ) ); + } + + $bulk_actions = new Bulk_Actions( 'calendar' ); + + $bulk_actions->register_bulk_action( array( + 'menu_text' => __( 'Clear cache', 'google-calendar-events' ), + 'action_name' => 'clear_calendars_cache', + 'callback' => function( $post_ids ) { + simcal_delete_feed_transients( $post_ids ); + }, + 'admin_notice' => __( 'Cache cleared.', 'google-calendar-events' ), + ) + ); + + $bulk_actions->init(); + } + + /** + * Edit calendars table hooks. + * + * @since 3.0.0 + * @internal + */ + public function edit_table_hooks() { + + $screen = simcal_is_admin_screen(); + + if ( 'edit-calendar' == $screen ) { + add_action( 'in_admin_footer', function() { + + } ); + } + } + + /** + * Clone a feed post type. + * + * @since 3.0.0 + * + * @param int $post_id + */ + private function duplicate_feed( $post_id ) { + + if ( $duplicate = get_post( intval( $post_id ), 'ARRAY_A' ) ) { + + if ( 'calendar' == $duplicate['post_type'] ) { + + $duplicate['post_title'] = $duplicate['post_title'] . ' (' . __( 'Copy', 'google-calendar-events' ) . ')'; + + unset( $duplicate['ID'] ); + unset( $duplicate['guid'] ); + unset( $duplicate['comment_count'] ); + + $duplicate_id = wp_insert_post( $duplicate ); + + $taxonomies = get_object_taxonomies( $duplicate['post_type'] ); + foreach ( $taxonomies as $taxonomy ) { + $terms = wp_get_post_terms( $post_id, $taxonomy, array( 'fields' => 'names' ) ); + wp_set_object_terms( $duplicate_id, $terms, $taxonomy ); + } + + $custom_fields = get_post_custom( $post_id ); + foreach ( $custom_fields as $key => $value ) { + add_post_meta( $duplicate_id, $key, maybe_unserialize( $value[0] ) ); + } + } + + } + } + + /** + * Default event template builder content. + * + * @since 3.0.0 + * + * @param string $content + * @param \WP_Post $post + * + * @return string + */ + public function default_event_template( $content, $post ) { + return 'calendar' == $post->post_type ? simcal_default_event_template() : $content; + } + + /** + * Clear cache button. + * + * @since 3.0.0 + */ + public function clear_cache_button() { + + global $post, $post_type; + + if ( $post_type == 'calendar' && isset( $post->ID ) ) { + echo '' . + ' ' . + __( 'Clear cache', 'google-calendar-events' ) . + ''; + } + } + + /** + * Add a shortcode button. + * + * Adds a button to add a calendar shortcode in WordPress content editor. + * Uses Thickbox. http://codex.wordpress.org/ThickBox + * + * @since 3.0.0 + */ + public function add_shortcode_button() { + + $post_types = array(); + + $settings = get_option( 'simple-calendar_settings_calendars' ); + if ( isset( $settings['general']['attach_calendars_posts'] ) ) { + $post_types = $settings['general']['attach_calendars_posts']; + } + + global $post_type; + + if ( in_array( $post_type, $post_types ) ) { + + // Thickbox will ignore height and width, will adjust these in js. + // @see https://core.trac.wordpress.org/ticket/17249 + ?> + + + + + + api_url = trailingslashit( $_api_url ); + $this->api_data = $_api_data; + $this->name = plugin_basename( $_plugin_file ); + $this->slug = basename( $_plugin_file, '.php' ); + $this->version = $_api_data['version']; + + // Set up hooks. + $this->init(); + add_action( 'admin_init', array( $this, 'show_changelog' ) ); + } + + /** + * Hook into WordPress update process. + * + * @since 3.0.0 + * + * @return void + */ + public function init() { + add_filter( 'pre_set_site_transient_update_plugins', array( $this, 'check_update' ) ); + add_filter( 'plugins_api', array( $this, 'plugins_api_filter' ), 10, 3 ); + remove_action( 'after_plugin_row_' . $this->name, 'wp_plugin_update_row', 10 ); + add_action( 'after_plugin_row_' . $this->name, array( $this, 'show_update_notification' ), 10, 2 ); + } + + /** + * Check for Updates at the defined API endpoint and modify the update array. + * + * This function dives into the update API just when WordPress creates its update array, + * then adds a custom API call and injects the custom plugin data retrieved from the API. + * It is reassembled from parts of the native WordPress plugin update code. + * See wp-includes/update.php line 121 for the original wp_update_plugins() function. + * + * @since 3.0.0 + * + * @param array $_transient_data Update array build by WordPress. + * + * @return array|\stdClass Modified update array with custom plugin data. + */ + public function check_update( $_transient_data ) { + + global $pagenow; + + if ( ! is_object( $_transient_data ) ) { + $_transient_data = new \stdClass(); + } + + if ( 'plugins.php' == $pagenow && is_multisite() ) { + return $_transient_data; + } + + if ( empty( $_transient_data->response ) || empty( $_transient_data->response[ $this->name ] ) ) { + + $version_info = $this->api_request( 'plugin_latest_version', array( 'slug' => $this->slug ) ); + + if ( false !== $version_info && is_object( $version_info ) && isset( $version_info->new_version ) ) { + + if ( version_compare( $this->version, $version_info->new_version, '<' ) ) { + $_transient_data->response[ $this->name ] = $version_info; + } + + $_transient_data->last_checked = time(); + $_transient_data->checked[ $this->name ] = $this->version; + } + + } + + return $_transient_data; + } + + /** + * Show update notification row. + * + * Needed for multisite subsites, because WordPress won't tell otherwise. + * + * @since 3.0.0 + * + * @param string $file + * @param array $plugin + */ + public function show_update_notification( $file, $plugin ) { + + if ( ! current_user_can( 'update_plugins' ) ) { + return; + } + + if ( ! is_multisite() ) { + return; + } + + if ( $this->name != $file ) { + return; + } + + // Remove our filter on the site transient + remove_filter( 'pre_set_site_transient_update_plugins', array( $this, 'check_update' ), 10 ); + + $update_cache = get_site_transient( 'update_plugins' ); + + if ( ! is_object( $update_cache ) || empty( $update_cache->response ) || empty( $update_cache->response[ $this->name ] ) ) { + + $cache_key = md5( 'edd_plugin_' .sanitize_key( $this->name ) . '_version_info' ); + $version_info = get_transient( $cache_key ); + + if ( false === $version_info ) { + + $version_info = $this->api_request( 'plugin_latest_version', array( 'slug' => $this->slug ) ); + + set_transient( $cache_key, $version_info, 3600 ); + } + + if ( ! is_object( $version_info ) ) { + return; + } + + if ( version_compare( $this->version, $version_info->new_version, '<' ) ) { + $update_cache->response[ $this->name ] = $version_info; + } + + $update_cache->last_checked = time(); + $update_cache->checked[ $this->name ] = $this->version; + + set_site_transient( 'update_plugins', $update_cache ); + + } else { + + $version_info = $update_cache->response[ $this->name ]; + + } + + // Restore our filter + add_filter( 'pre_set_site_transient_update_plugins', array( $this, 'check_update' ) ); + + if ( ! empty( $update_cache->response[ $this->name ] ) && version_compare( $this->version, $version_info->new_version, '<' ) ) { + + // build a plugin list row, with update notification + $wp_list_table = _get_list_table( 'WP_Plugins_List_Table' ); + echo '
              '; + + $changelog_link = self_admin_url( 'index.php?edd_sl_action=view_plugin_changelog&plugin=' . $this->name . '&slug=' . $this->slug . '&TB_iframe=true&width=772&height=911' ); + + if ( empty( $version_info->download_link ) ) { + printf( + __( 'There is a new version of %1$s available. View version %3$s details.', 'google-calendar-events' ), + esc_html( $version_info->name ), + esc_url( $changelog_link ), + esc_html( $version_info->new_version ) + ); + } else { + printf( + __( 'There is a new version of %1$s available. View version %3$s details or update now.', 'google-calendar-events' ), + esc_html( $version_info->name ), + esc_url( $changelog_link ), + esc_html( $version_info->new_version ), + esc_url( wp_nonce_url( self_admin_url( 'update.php?action=upgrade-plugin&plugin=' ) . $this->name, 'upgrade-plugin_' . $this->name ) ) + ); + } + + echo '
              '; + } + } + + + /** + * Updates information on the "View version x.x details" page with custom data. + * + * @since 3.0.0 + * + * @param mixed $_data + * @param string $_action + * @param object $_args + * + * @return object + */ + public function plugins_api_filter( $_data, $_action = '', $_args = null ) { + + if ( 'plugin_information' != $_action ) { + return $_data; + } + + if ( ! isset( $_args->slug ) || ( $_args->slug != $this->slug ) ) { + return $_data; + } + + $to_send = array( + 'slug' => $this->slug, + 'is_ssl' => is_ssl(), + 'fields' => array( + 'banners' => false, // These will be supported soon hopefully + 'reviews' => false + ), + ); + + $api_response = $this->api_request( 'plugin_information', $to_send ); + + if ( false !== $api_response ) { + $_data = $api_response; + } + + return $_data; + } + + + /** + * Disable SSL verification in order to prevent download update failures + * + * @since 3.0.0 + * + * @param array $args + * @param string $url + * @return object|array $array + */ + public function http_request_args( $args, $url ) { + // If it is an https request and we are performing a package download, disable ssl verification + if ( strpos( $url, 'https://' ) !== false && strpos( $url, 'edd_action=package_download' ) ) { + $args['sslverify'] = false; + } + return $args; + } + + /** + * Calls the API and, if successful, returns the object delivered by the API. + * + * @since 3.0.0 + * + * @param string $_action The requested action. + * @param array $_data Parameters for the API action. + * @return false|object + */ + private function api_request( $_action, $_data ) { + + global $wp_version; + + $data = array_merge( $this->api_data, $_data ); + + if ( $data['slug'] != $this->slug ) { + return; + } + + if ( empty( $data['license'] ) ) { + return; + } + + if ( $this->api_url == home_url() ) { + return false; // Don't allow a plugin to ping itself + } + + $api_params = array( + 'edd_action' => 'get_version', + 'license' => $data['license'], + 'item_name' => isset( $data['item_name'] ) ? $data['item_name'] : false, + 'item_id' => isset( $data['item_id'] ) ? $data['item_id'] : false, + 'slug' => $data['slug'], + 'author' => $data['author'], + 'url' => home_url() + ); + + $request = wp_remote_post( $this->api_url, array( 'timeout' => 15, 'sslverify' => false, 'body' => $api_params ) ); + + if ( ! is_wp_error( $request ) ) { + $request = json_decode( wp_remote_retrieve_body( $request ) ); + } + + if ( $request && isset( $request->sections ) ) { + $request->sections = maybe_unserialize( $request->sections ); + } else { + $request = false; + } + + return $request; + } + + /** + * Show changelog. + * + * @since 3.0.0 + */ + public function show_changelog() { + + if ( empty( $_REQUEST['edd_sl_action'] ) || 'view_plugin_changelog' != $_REQUEST['edd_sl_action'] ) { + return; + } + + if ( empty( $_REQUEST['plugin'] ) ) { + return; + } + + if ( empty( $_REQUEST['slug'] ) ) { + return; + } + + if ( ! current_user_can( 'update_plugins' ) ) { + wp_die( __( 'You do not have permission to install plugin updates', 'google-calendar-events' ), __( 'Error', 'google-calendar-events' ), array( 'response' => 403 ) ); + } + + $response = $this->api_request( 'plugin_latest_version', array( 'slug' => $_REQUEST['slug'] ) ); + + if ( $response && isset( $response->sections['changelog'] ) ) { + echo '
              ' . $response->sections['changelog'] . '
              '; + } + + exit; + } + +} diff --git a/wp-content/plugins/google-calendar-events/includes/admin/upgrade.php b/wp-content/plugins/google-calendar-events/includes/admin/upgrade.php deleted file mode 100644 index 925e705..0000000 --- a/wp-content/plugins/google-calendar-events/includes/admin/upgrade.php +++ /dev/null @@ -1,472 +0,0 @@ -, Nick Young - * @license GPL-2.0+ - * @copyright 2014 Phil Derksen - */ - -// I put the priority to 20 here so it runs after the gce_feed CPT code and we don't get errors -add_action( 'init', 'gce_upgrade', 20 ); - -/** - * Main GCE Upgrade function. Call this and branch of from here depending on what we need to do - * - * @since 2.0.0 - */ -function gce_upgrade() { - - $version = get_option( 'gce_version' ); - - if( ! empty( $version ) ) { - - // Clear out cache when upgrading no matter the version - gce_upgrade_clear_cache(); - - // Check if under version 2 and run the v2 upgrade if we are - if( version_compare( $version, '2.0.0-beta1', '<' ) && false === get_option( 'gce_upgrade_has_run' ) ) { - gce_v2_upgrade(); - } - - // Version 2.0.4 upgrade - if( version_compare( $version, '2.0.4', '<' ) ) { - gce_v204_upgrade(); - } - - // Version 2.0.6 upgrade - if( version_compare( $version, '2.0.6', '<' ) ) { - gce_v206_upgrade(); - } - - if( version_compare( $version, '2.1.0', '<' ) ) { - gce_v210_upgrade(); - } - - if( version_compare( $version, '2.2.0', '<' ) ) { - gce_v220_upgrade(); - } - - if( version_compare( $version, '2.2.2', '<' ) ) { - gce_v222_upgrade(); - } - } - - $new_version = Google_Calendar_Events::get_instance()->get_plugin_version(); - update_option( 'gce_version', $new_version ); - - add_option( 'gce_upgrade_has_run', 1 ); -} - -function gce_v222_upgrade() { - // Need to set the new option for always enqueuing scripts as default enabled for upgrading users - $options = get_option( 'gce_settings_general' ); - - if( false !== $options ) { - $options['always_enqueue'] = 1; - update_option( 'gce_settings_general', $options ); - } -} - -function gce_v220_upgrade() { - // Update feeds - $q = new WP_Query( 'post_type=gce_feed' ); - - if( $q->have_posts() ) { - while( $q->have_posts() ) { - - $q->the_post(); - - $gce_list_max_num = get_post_meta( get_the_ID(), 'gce_list_max_num', true ); - $gce_list_max_length = get_post_meta( get_the_ID(), 'gce_list_max_length', true ); - $gce_feed_start_interval = get_post_meta( get_the_ID(), 'gce_feed_start_interval', true ); - $gce_feed_start = get_post_meta( get_the_ID(), 'gce_feed_start', true ); - $gce_feed_end_interval = get_post_meta( get_the_ID(), 'gce_feed_end_interval', true ); - $gce_feed_end = get_post_meta( get_the_ID(), 'gce_feed_end', true ); - - update_post_meta( get_the_ID(), 'gce_per_page_num', $gce_list_max_num ); - update_post_meta( get_the_ID(), 'gce_events_per_page', $gce_list_max_length ); - update_post_meta( get_the_ID(), 'gce_feed_start', $gce_feed_start_interval ); - update_post_meta( get_the_ID(), 'gce_feed_start_num', $gce_feed_start ); - update_post_meta( get_the_ID(), 'gce_feed_end', $gce_feed_end_interval ); - update_post_meta( get_the_ID(), 'gce_feed_end_num', $gce_feed_end ); - - // Add new show tooltips option checked as default - update_post_meta( get_the_ID(), 'gce_show_tooltips', 1 ); - - } - } - - wp_reset_postdata(); - - - // Update widgets for new UI - $widget = get_option( 'widget_gce_widget' ); - - if( is_array( $widget ) && ! empty( $widget ) ) { - foreach( $widget as $a => $b ) { - if( ! is_array( $b ) ) { - continue; - } - - foreach( $b as $k => $v ) { - $widget[$a]['per_page_num'] = $widget[$a]['list_max_num']; - $widget[$a]['events_per_page'] = $widget[$a]['list_max_length']; - } - } - - update_option( 'widget_gce_widget', $widget ); - } -} - -/* - * Run the upgrade to version 2.1.0 - */ -function gce_v210_upgrade() { - - $q = new WP_Query( 'post_type=gce_feed' ); - - if( $q->have_posts() ) { - while( $q->have_posts() ) { - $q->the_post(); - - $url = get_post_meta( get_the_ID(), 'gce_feed_url', true ); - - // https://www.google.com/calendar/feeds/umsb0ekhivs1a2ubtq6vlqvcjk%40group.calendar.google.com/public/basic - - $url = str_replace( 'https://www.google.com/calendar/feeds/', '', $url ); - $url = str_replace( '/public/basic', '', $url ); - $url = str_replace( '%40', '@', $url ); - - update_post_meta( get_the_ID(), 'gce_feed_url', $url ); - } - } - - wp_reset_postdata(); -} - -/* - * Run the upgrade to version 2.0.6 - * - * @since 2.0.4 - */ -function gce_v206_upgrade() { - - // Update feeds - $q = new WP_Query( 'post_type=gce_feed' ); - - if( $q->have_posts() ) { - while( $q->have_posts() ) { - $q->the_post(); - - update_post_meta( get_the_ID(), 'gce_feed_start', '1' ); - update_post_meta( get_the_ID(), 'gce_feed_start_interval', 'months' ); - update_post_meta( get_the_ID(), 'gce_feed_end', '2' ); - update_post_meta( get_the_ID(), 'gce_feed_end_interval', 'years' ); - } - } - - wp_reset_postdata(); -} - -/* - * Run the upgrade to version 2.0.4 - * - * @since 2.0.4 - */ -function gce_v204_upgrade() { - - // Update feeds - $q = new WP_Query( 'post_type=gce_feed' ); - - if( $q->have_posts() ) { - while( $q->have_posts() ) { - $q->the_post(); - - update_post_meta( get_the_ID(), 'gce_paging', '1' ); - update_post_meta( get_the_ID(), 'gce_list_max_num', '7' ); - update_post_meta( get_the_ID(), 'gce_list_max_length', 'days' ); - update_post_meta( get_the_ID(), 'gce_list_start_offset_num', '0' ); - update_post_meta( get_the_ID(), 'gce_list_start_offset_direction', 'back' ); - } - } - - wp_reset_postdata(); - - - // Update widgets - $widget = get_option( 'widget_gce_widget' ); - - if( is_array( $widget ) && ! empty( $widget ) ) { - foreach( $widget as $a => $b ) { - if( ! is_array( $b ) ) { - continue; - } - - foreach( $b as $k => $v ) { - $widget[$a]['paging'] = '1'; - $widget[$a]['list_max_num'] = '7'; - $widget[$a]['list_max_length'] = 'days'; - $widget[$a]['list_start_offset_num'] = '0'; - $widget[$a]['list_start_offset_direction'] = 'back'; - } - } - - update_option( 'widget_gce_widget', $widget ); - } -} - -/* - * Run the upgrade to version 2.0.0 - * - * @since 2.0.0 - */ -function gce_v2_upgrade() { - $old_options = get_option( 'gce_options' ); - - if( false !== $old_options ) { - - if( ! empty( $old_options ) ) { - foreach( $old_options as $key => $value ) { - convert_to_cpt_posts( $value ); - } - } - - update_widget_feed_ids(); - } -} - -/** - * Converts the old database options to the new CPT layout for 2.0.0+ - * - * @since 2.0.0 - */ -function convert_to_cpt_posts( $args ) { - // Setup our new post - $post = array( - 'post_name' => $args['title'], - 'post_title' => $args['title'], - 'post_status' => 'publish', - 'post_type' => 'gce_feed' - ); - - if( $args['use_builder'] == true ) { - $post['post_content'] = $args['builder']; - } - - $post_id = wp_insert_post( $post ); - - create_cpt_meta( $post_id, $args ); - - clear_old_transients( $args['id'] ); -} - -/** - * Add the CPT post meta based on options set for the old feeds prior to v2 - * - * @since 2.0.0 - */ -function create_cpt_meta( $id, $args ) { - - // Convert the dropdown values to the new values for "Retrieve Events From" - switch( $args['retrieve_from'] ) { - case 'now': - case 'today': - $from = 'today'; - break; - case 'week': - $from = 'start_week'; - break; - case 'month-start': - $from = 'start_month'; - break; - case 'month-end': - $from = 'end_month'; - break; - case 'date': - $from = 'custom_date'; - break; - default: - $from = 'start_time'; - break; - } - - // Convert the dropdown values to the new values for "Retrieve Events Until" - switch( $args['retrieve_until'] ) { - case 'now': - case 'today': - $until = 'today'; - break; - case 'week': - $until = 'start_week'; - break; - case 'month-start': - $until = 'start_month'; - break; - case 'month-end': - $until = 'end_month'; - break; - case 'date': - $until = 'custom_date'; - break; - default: - $until = 'end_time'; - break; - } - - $gce_expand_recurring = ( isset( $args['expand_recurring'] ) ? ( $args['expand_recurring'] == 'true' ? '1' : '0' ) : '1' ); - - // An array to hold all of our post meta ids and values so that we can loop through and add as post meta easily - $post_meta_fields = array( - 'gce_feed_url' => $args['url'], - 'gce_retrieve_from' => $from, - 'gce_retrieve_until' => $until, - 'gce_retrieve_max' => $args['max_events'], - 'gce_date_format' => $args['date_format'], - 'gce_time_format' => $args['time_format'], - 'gce_cache' => $args['cache_duration'], - 'gce_multi_day_events' => ( $args['multiple_day'] != 'false' ? '1' : '0' ), - 'gce_display_mode' => 'grid', - 'gce_custom_from' => gce_convert_timestamp( $args['retrieve_from_value'] ), - 'gce_custom_until' => gce_convert_timestamp( $args['retrieve_until_value'] ), - 'old_gce_id' => $args['id'], - 'gce_search_query' => ( isset( $args['query'] ) ? $args['query'] : '' ), - 'gce_expand_recurring' => $gce_expand_recurring - ); - - if( $args['use_builder'] == 'false' || $args['use_builder'] == false ) { - $display_meta = array( - 'gce_display_simple' => 1, - 'gce_display_start' => $args['display_start'], - 'gce_display_start_text' => $args['display_start_text'], - 'gce_display_end' => $args['display_end'], - 'gce_display_end_text' => $args['display_end_text'], - 'gce_display_separator' => $args['display_separator'], - 'gce_display_location' => ( $args['display_location'] == 'on' ? '1' : '0' ), - 'gce_display_location_text' => $args['display_location_text'], - 'gce_display_description' => ( $args['display_desc'] == 'on' ? '1' : '0' ), - 'gce_display_description_text' => $args['display_desc_text'], - 'gce_display_description_max' => $args['display_desc_limit'], - 'gce_display_link' => ( $args['display_link'] == 'on' ? '1' : '0' ), - 'gce_display_link_tab' => ( $args['display_link_target'] == 'on' ? '1' : '0' ), - 'gce_display_link_text' => $args['display_link_text'] - ); - - $post_meta_fields = array_merge( $post_meta_fields, $display_meta ); - } - - // Loop through each $post_meta_field and add as an entry - foreach( $post_meta_fields as $k => $v ) { - update_post_meta( $id, $k, $v ); - } -} - -function gce_convert_timestamp( $t ) { - // mm/dd/yyyy - return date( 'm/d/Y', $t ); -} - -/** - * Remove the old transient values from the database - * - * @since 2.0.0 - */ -function clear_old_transients( $id ) { - - delete_transient( 'gce_feed_' . $id ); - delete_transient( 'gce_feed_' . $id . '_url' ); - delete_transient( 'gce_feed_ids' ); -} - -/** - * Update widget IDs - * - * @since 2.0.0 - */ -function update_widget_feed_ids() { - - $widget = get_option( 'widget_gce_widget' ); - - if( is_array( $widget ) && ! empty( $widget ) ) { - foreach( $widget as $a => $b ) { - if( ! is_array( $b ) ) { - continue; - } - - foreach( $b as $k => $v ) { - - if( $k != 'id' ) { - continue; - } - - $id = $v; - - //$multi = str_replace( ' ', '', $v ); - - $multi = explode( ',', str_replace( ' ', '', $id ) ); - - if( is_array( $multi ) ) { - - $new_ids = ''; - - foreach( $multi as $m ) { - $q = new WP_Query( "post_type=gce_feed&meta_key=old_gce_id&meta_value=$m&order=ASC" ); - - if( $q->have_posts() ) { - - $q->the_post(); - // Set our ID to the old ID if found - $m = get_the_ID(); - - $new_ids .= $m . ','; - } - } - - wp_reset_postdata(); - - $widget[$a][$k] = substr( $new_ids, 0, -1 ); - } else { - - $q = new WP_Query( "post_type=gce_feed&meta_key=old_gce_id&meta_value=$id&order=ASC" ); - - if( $q->have_posts() ) { - - $q->the_post(); - // Set our ID to the old ID if found - $id = get_the_ID(); - } - - wp_reset_postdata(); - - $widget[$a][$k] = $id; - } - } - } - - update_option( 'widget_gce_widget', $widget ); - } - -} - -/** - * Update widget IDs - * - * @since 2.0.6.3 - */ -function gce_upgrade_clear_cache() { - // Update feeds - $q = new WP_Query( 'post_type=gce_feed' ); - - if( $q->have_posts() ) { - while( $q->have_posts() ) { - - $q->the_post(); - - delete_transient( 'gce_feed_' . get_the_ID() ); - } - } - - wp_reset_postdata(); -} diff --git a/wp-content/plugins/google-calendar-events/includes/admin/welcome.php b/wp-content/plugins/google-calendar-events/includes/admin/welcome.php new file mode 100644 index 0000000..43a6333 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/admin/welcome.php @@ -0,0 +1,383 @@ +install = isset( $_GET['simcal_install'] ) ? esc_attr( $_GET['simcal_install'] ) : ''; + + add_action( 'admin_menu', array( $this, 'welcome_page_tabs' ) ); + add_action( 'admin_head', array( $this, 'remove_submenu_pages' ) ); + } + + /** + * Add page screens. + * + * @since 3.0.0 + */ + public function welcome_page_tabs() { + + $welcome_page_name = __( 'About Simple Calendar', 'google-calendar-events' ); + $welcome_page_title = __( 'Welcome to Simple Calendar', 'google-calendar-events' ); + + $page = isset( $_GET['page'] ) ? $_GET['page'] : 'simple-calendar_about'; + + switch ( $page ) { + + case 'simple-calendar_about' : + $page = add_dashboard_page( + $welcome_page_title, + $welcome_page_name, + 'manage_options', + 'simple-calendar_about', + array( $this, 'about_screen' ) + ); + add_action( 'admin_print_styles-' . $page, array( $this, 'styles' ) ); + break; + + case 'simple-calendar_credits' : + $page = add_dashboard_page( + $welcome_page_title, + $welcome_page_name, + 'manage_options', + 'simple-calendar_credits', + array( $this, 'credits_screen' ) + ); + add_action( 'admin_print_styles-' . $page, array( $this, 'styles' ) ); + break; + + case 'simple-calendar_translators' : + $page = add_dashboard_page( + $welcome_page_title, + $welcome_page_name, + 'manage_options', + 'simple-calendar_translators', + array( $this, 'translators_screen' ) + ); + add_action( 'admin_print_styles-' . $page, array( $this, 'styles' ) ); + break; + } + + } + + /** + * Remove dashboard page links. + * + * @since 3.0.0 + */ + public function remove_submenu_pages() { + remove_submenu_page( 'index.php', 'simple-calendar_about' ); + remove_submenu_page( 'index.php', 'simple-calendar_credits' ); + remove_submenu_page( 'index.php', 'simple-calendar_translators' ); + } + + /** + * Load styles. + * + * @since 3.0.0 + */ + public function styles() { + // TODO Nothing in activation.css yet + /* + wp_enqueue_style( + 'simcal-activation', + SIMPLE_CALENDAR_ASSETS . '/css/activation.css', + array(), + SIMPLE_CALENDAR_VERSION + ); + */ + } + + /** + * Main nav links at top & bottom. + * + * @since 3.0.0 + */ + public function main_nav_links() { + + ?> +

              + + + + +

              + +

              + +

              + +
              + install ) { + $message = __( 'Thanks for updating to the latest version!', 'google-calendar-events' ); + } else { + $message = __( 'Thanks for installing!', 'google-calendar-events' ); + } + + echo $message; + + /* translators: %s prints the current version of the plugin. */ + printf( ' ' . __( "Simple Calendar %s has many new display options and is much easier to configure. We think you'll really enjoy using it.", 'google-calendar-events' ), SIMPLE_CALENDAR_VERSION ); + + ?> +
              + +
               
              + + main_nav_links(); ?> + + + +
              +
              + + intro(); ?> + +

              + + +

              + + + +

              + + +

              Google Calendar Pro.', 'google-calendar-events' ), $welcome_gcal_pro_link ); ?>

              + + +
              + + main_nav_links(); ?> + +
              +
              + +
              +
              + intro(); ?> +

              + GitHub repo.", 'google-calendar-events' ), + simcal_get_url( 'github' ) + ); + + ?> +

              + contributors(); ?> +
              +
              + +
              +
              + intro(); ?> +

              + +

              +

              + +

              + +
              +
              + get_contributors(); + + if ( empty( $contributors ) ) { + return ''; + } + + $contributor_list = '
                '; + + foreach ( $contributors as $contributor ) { + + // Skip contributor bots + $contributor_bots = array( 'gitter-badger' ); + if ( in_array( $contributor->login, $contributor_bots ) ) { + continue; + } + + $contributor_list .= '
              • '; + $contributor_list .= sprintf( + '%s', + esc_url( 'https://github.com/' . $contributor->login ), + esc_html( sprintf( __( 'View %s', 'google-calendar-events' ), $contributor->login ) ), + sprintf( '%s', esc_url( $contributor->avatar_url ), esc_html( $contributor->login ) ) + ); + $contributor_list .= sprintf( + '%s', + esc_url( 'https://github.com/' . $contributor->login ), + esc_html( $contributor->login ) + ); + $contributor_list .= '
              • '; + + } + + $contributor_list .= '
              '; + + return $contributor_list; + } + + /** + * Retrieve list of contributors from GitHub. + * + * @since 3.0.0 + * + * @return mixed + */ + public function get_contributors() { + + $contributors = get_transient( '_simple-calendar_contributors' ); + if ( false !== $contributors ) { + return $contributors; + } + + $response = wp_safe_remote_get( + 'https://api.github.com/repos/moonstonemedia/Simple-Calendar/contributors' + ); + if ( is_wp_error( $response ) || 200 != wp_remote_retrieve_response_code( $response ) ) { + return array(); + } + + $contributors = json_decode( wp_remote_retrieve_body( $response ) ); + if ( ! is_array( $contributors ) ) { + return array(); + } + + set_transient( '_simple-calendar_contributors', $contributors, HOUR_IN_SECONDS ); + + return $contributors; + } + +} diff --git a/wp-content/plugins/google-calendar-events/includes/ajax.php b/wp-content/plugins/google-calendar-events/includes/ajax.php new file mode 100644 index 0000000..fabeb03 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/ajax.php @@ -0,0 +1,55 @@ + $views ) { + + foreach ( $views as $view ) { + + $the_view = simcal_get_calendar_view( 0, $calendar . '-' . $view ); + + if ( $the_view instanceof Calendar_View ) { + $the_view->add_ajax_actions(); + } + } + } + + do_action( 'simcal_add_ajax_callbacks' ); + } + +} diff --git a/wp-content/plugins/google-calendar-events/includes/assets.php b/wp-content/plugins/google-calendar-events/includes/assets.php new file mode 100644 index 0000000..176a6cd --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/assets.php @@ -0,0 +1,417 @@ +min = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG == true ) ? '' : '.min'; + + $settings = get_option( 'simple-calendar_settings_advanced' ); + if ( isset( $settings['assets']['disable_js'] ) ) { + $this->disable_scripts = 'yes' == $settings['assets']['disable_js'] ? true : false; + } + + if ( isset( $settings['assets']['disable_css'] ) ) { + $this->disable_styles = 'yes' == $settings['assets']['disable_css'] ? true : false; + } + + if ( isset( $settings['assets']['always_enqueue'] ) ) { + $this->always_enqueue = 'yes' == $settings['assets']['always_enqueue'] ? true : false; + } + + add_action( 'init', array( $this, 'register' ), 20 ); + add_action( 'init', array( $this, 'enqueue' ), 40 ); + add_action( 'wp_print_styles', array( $this, 'disable' ), 100 ); + } + + /** + * Register scripts and styles. + * + * @since 3.0.0 + */ + public function register() { + do_action( 'simcal_register_assets', $this->min ); + } + + /** + * Enqueue scripts and styles. + * + * @since 3.0.0 + */ + public function enqueue() { + + add_action( 'wp_enqueue_scripts', array( $this, 'load' ), 10 ); + + do_action( 'simcal_enqueue_assets', $this->min ); + + if ( false === $this->disable_scripts ) { + $min = $this->min; + // Improves compatibility with themes and plugins using Isotope and Masonry. + add_action( 'wp_enqueue_scripts', + function () use ( $min ) { + if ( wp_script_is( 'simcal-qtip', 'enqueued' ) ) { + wp_enqueue_script( + 'simplecalendar-imagesloaded', + SIMPLE_CALENDAR_ASSETS . 'js/vendor/imagesloaded' . $min . '.js', + array( 'simcal-qtip' ), + '3.1.8', + true + ); + } + }, 1000 ); + } + } + + /** + * Load scripts and styles. + * + * @since 3.0.0 + */ + public function load() { + + if ( $this->always_enqueue ) { + $scripts = $this->get_default_scripts(); + $styles = $this->get_default_styles(); + + $this->scripts = apply_filters( 'simcal_front_end_scripts', $scripts, $this->min ); + $this->styles = apply_filters( 'simcal_front_end_styles', $styles, $this->min ); + + $this->load_scripts( $this->scripts ); + $this->load_styles( $this->styles ); + + return; + } + + $id = 0; + $cal_id = array(); + $scripts = $styles = array(); + + if ( is_singular() ) { + + global $post, $post_type; + + if ( 'calendar' == $post_type ) { + + $id = get_queried_object_id(); + + $view = simcal_get_calendar_view( $id ); + if ( $view instanceof Calendar_View ) { + $scripts[] = $view->scripts( $this->min ); + $styles[] = $view->styles( $this->min ); + } + + } else { + + $id = absint( get_post_meta( $post->ID, '_simcal_attach_calendar_id', true ) ); + + if ( $id === 0 ) { + + preg_match_all( '/' . get_shortcode_regex() . '/s', $post->post_content, $matches, PREG_SET_ORDER ); + + if ( ! empty( $matches ) && is_array( $matches ) ) { + foreach ( $matches as $shortcode ) { + if ( 'calendar' === $shortcode[2] || 'gcal' === $shortcode[2] ) { + $atts = shortcode_parse_atts( $shortcode[3] ); + $cal_id[] = isset( $atts['id'] ) ? intval( $atts['id'] ) : 0; + } + } + } + } + } + } + + foreach( $cal_id as $i ) { + + if ( $i > 0 ) { + + $view = simcal_get_calendar_view( $i ); + + if ( $view instanceof Calendar_View ) { + $scripts[] = $view->scripts( $this->min ); + $styles[] = $view->styles( $this->min ); + } + } + } + + $this->get_widgets_assets(); + + $this->scripts = apply_filters( 'simcal_front_end_scripts', $scripts, $this->min ); + + // First check if there is a multi-dimensional array of scripts + if ( isset( $this->scripts[0] ) ) { + foreach ( $this->scripts as $script ) { + $this->load_scripts ( $script ); + } + } else { + $this->load_scripts( $this->scripts ); + } + + $this->styles = apply_filters( 'simcal_front_end_styles', $styles, $this->min ); + + // First check if there is a multi-dimensional array of styles + if ( isset( $this->styles[0] ) ) { + foreach( $this->styles as $style ) { + $this->load_styles( $style ); + } + } else { + $this->load_styles( $this->styles ); + } + } + + /** + * Get widgets assets. + * + * @since 3.0.0 + */ + public function get_widgets_assets() { + + $widgets = get_option( 'widget_gce_widget' ); + + if ( ! empty( $widgets ) && is_array( $widgets ) ) { + + foreach ( $widgets as $settings ) { + + if ( ! empty( $settings ) && is_array( $settings ) ) { + + if ( isset( $settings['calendar_id'] ) ) { + + $view = simcal_get_calendar_view( absint( $settings['calendar_id'] ) ); + + if ( $view instanceof Calendar_View ) { + add_filter( 'simcal_front_end_scripts', function ( $scripts, $min ) use ( $view ) { + return array_merge( $scripts, $view->scripts( $min ) ); + }, 100, 2 ); + add_filter( 'simcal_front_end_styles', function ( $styles, $min ) use ( $view ) { + return array_merge( $styles, $view->styles( $min ) ); + }, 100, 2 ); + } + + } + + } + } + + } + } + + /** + * Disable scripts and styles. + * + * @since 3.0.0 + */ + public function disable() { + if ( true === $this->disable_scripts ) { + $scripts = apply_filters( 'simcal_front_end_scripts', $this->scripts, $this->min ); + foreach ( $scripts as $script => $v ) { + wp_dequeue_script( $script ); + } + } + if ( true === $this->disable_styles ) { + $styles = apply_filters( 'simcal_front_end_styles', $this->styles, $this->min ); + foreach ( $styles as $style => $v ) { + wp_dequeue_style( $style ); + } + } + } + + /** + * Scripts. + * + * @since 3.0.0 + * + * @param array $scripts + */ + public function load_scripts( $scripts ) { + + if ( ! empty( $scripts ) && is_array( $scripts ) ) { + + foreach ( $scripts as $script => $v ) { + + if ( ! empty( $v['src'] ) ) { + + $src = esc_url( $v['src'] ); + $deps = isset( $v['deps'] ) ? $v['deps'] : array(); + $ver = isset( $v['ver'] ) ? $v['ver'] : SIMPLE_CALENDAR_VERSION; + $in_footer = isset( $v['in_footer'] ) ? $v['in_footer'] : false; + + wp_enqueue_script( $script, $src, $deps, $ver, $in_footer ); + + if ( ! empty( $v['localize'] ) && is_array( $v['localize'] ) ) { + foreach ( $v['localize'] as $object => $l10n ) { + wp_localize_script( $script, $object, $l10n ); + } + } + + } elseif ( is_string( $v ) && ! empty( $v ) ) { + + wp_enqueue_script( $v ); + } + } + + } + } + + /** + * Styles. + * + * @since 3.0.0 + * + * @param array $styles + */ + public function load_styles( $styles ) { + + if ( ! empty( $styles ) && is_array( $styles ) ) { + + foreach ( $styles as $style => $v ) { + + if ( ! empty( $v['src'] ) ) { + + $src = esc_url( $v['src'] ); + $deps = isset( $v['deps'] ) ? $v['deps'] : array(); + $ver = isset( $v['ver'] ) ? $v['ver'] : SIMPLE_CALENDAR_VERSION; + $media = isset( $v['media'] ) ? $v['media'] : 'all'; + + wp_enqueue_style( $style, $src, $deps, $ver, $media ); + + } elseif ( is_string( $v ) && ! empty( $v ) ) { + + wp_enqueue_style( $v ); + } + + } + + } + } + + /** + * Return the default scripts that are loaded. Used mainly for the always enqueue scripts option. + * + * This can be improved. + */ + public function get_default_scripts() { + return array( + 'simcal-qtip' => array( + 'src' => SIMPLE_CALENDAR_ASSETS . 'js/vendor/qtip' . $this->min . '.js', + 'deps' => array( 'jquery' ), + 'ver' => '2.2.1', + 'in_footer' => true, + ), + 'simcal-default-calendar' => array( + 'src' => SIMPLE_CALENDAR_ASSETS . 'js/default-calendar' . $this->min . '.js', + 'deps' => array( + 'jquery', + 'simcal-qtip', + ), + 'var' => SIMPLE_CALENDAR_VERSION, + 'in_footer' => true, + 'localize' => array( + 'simcal_default_calendar' => simcal_common_scripts_variables(), + ), + ), + ); + } + + /** + * Return the default styles that are loaded. Used mainly for the always enqueue scripts option. + * + * This can be improved. + */ + public function get_default_styles() { + return array( + 'simcal-qtip' => array( + 'src' => SIMPLE_CALENDAR_ASSETS . 'css/vendor/qtip' . $this->min . '.css', + 'ver' => '2.2.1', + 'media' => 'all', + ), + 'simcal-default-calendar-grid' => array( + 'src' => SIMPLE_CALENDAR_ASSETS . 'css/default-calendar-grid' . $this->min . '.css', + 'deps' => array( + 'simcal-qtip', + ), + 'ver' => SIMPLE_CALENDAR_VERSION, + 'media' => 'all', + ), + 'simcal-default-calendar-list' => array( + 'src' => SIMPLE_CALENDAR_ASSETS . 'css/default-calendar-list' . $this->min . '.css', + 'deps' => array( + 'simcal-qtip', + ), + 'ver' => SIMPLE_CALENDAR_VERSION, + 'media' => 'all', + ), + ); + } + +} diff --git a/wp-content/plugins/google-calendar-events/includes/autoload.php b/wp-content/plugins/google-calendar-events/includes/autoload.php new file mode 100644 index 0000000..24d106c --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/autoload.php @@ -0,0 +1,52 @@ +): + * /.../Class_Name (or Classname) + * 'includes/subdir.../class-name.php' or '...classname.php' + * + * @since 3.0.0 + * + * @param $class + */ + function SimpleCalendar_Autoload( $class ) { + + // Do not load unless in plugin domain. + $namespace = 'SimpleCalendar'; + if ( strpos( $class, $namespace ) !== 0 ) { + return; + } + + // Converts Class_Name (class convention) to class-name (file convention). + $class_name = implode( '-', array_map( 'lcfirst', explode( '_', strtolower( $class ) ) ) ); + + // Remove the root namespace. + $unprefixed = substr( $class_name, strlen( $namespace ) ); + + // Build the file path. + $file_path = str_replace( '\\', DIRECTORY_SEPARATOR, $unprefixed ); + $file = dirname( __FILE__ ) . '/' . $file_path . '.php'; + + if ( file_exists( $file ) ) { + require $file; + } + + } + + // Register the autoloader. + spl_autoload_register( 'SimpleCalendar_Autoload' ); + +} diff --git a/wp-content/plugins/google-calendar-events/includes/calendars/admin/default-calendar-admin.php b/wp-content/plugins/google-calendar-events/includes/calendars/admin/default-calendar-admin.php new file mode 100644 index 0000000..cea56ac --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/calendars/admin/default-calendar-admin.php @@ -0,0 +1,439 @@ + __( 'Default Calendar', 'google-calendar-events' ), + 'description' => '', + 'fields' => array( + 'theme' => array( + 'type' => 'select', + 'title' => __( 'Default theme', 'google-calendar-events' ), + 'default' => 'light', + 'options' => array( + 'light' => __( 'Light', 'google-calendar-events' ), + 'dark' => __( 'Dark', 'google-calendar-events' ), + ), + ), + 'today_color' => array( + 'type' => 'standard', + 'subtype' => 'color-picker', + 'title' => __( 'Today default color', 'google-calendar-events' ), + 'default' => '#FF0000', + ), + 'days_events_color' => array( + 'type' => 'standard', + 'subtype' => 'color-picker', + 'title' => __( 'Days with events color', 'google-calendar-events' ), + 'default' => '#000000', + ), + ), + );*/ + + return array(); + } + + /** + * Extend the calendar section panel of the settings meta box. + * + * @since 3.0.0 + * + * @param int $post_id + */ + public function add_settings_meta_calendar_panel( $post_id ) { + + ?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              + type = 'default-calendar'; + $this->name = __( 'Default', 'google-calendar-events' ); + $this->views = apply_filters( 'simcal_default_calendar_views', array( + 'grid' => __( 'Grid', 'google-calendar-events' ), + 'list' => __( 'List', 'google-calendar-events' ), + ) ); + + parent::__construct( $calendar ); + + if ( ! is_null( $this->post ) ) { + + $this->set_properties( $this->view->get_type() ); + + $id = $this->id; + $theme = $this->theme; + + add_filter( 'simcal_calendar_class', function( $class, $post_id ) use ( $theme, $id ) { + if ( in_array( 'default-calendar', $class ) && $post_id === $id ) { + array_push( $class, 'default-calendar-' . $theme ); + } + return $class; + }, 10, 2 ); + + } + + // Calendar settings handling. + if ( is_admin() && ! defined( 'DOING_AJAX' ) ) { + $admin = new Default_Calendar_Admin(); + $this->settings = $admin->settings_fields(); + } + } + + /** + * Set properties. + * + * @since 3.0.0 + * @access private + * + * @param $view + */ + private function set_properties( $view ) { + + // Set styles. + if ( 'dark' == get_post_meta( $this->id, '_default_calendar_style_theme', true ) ) { + $this->theme = 'dark'; + } + if ( $today_color = get_post_meta( $this->id, '_default_calendar_style_today', true ) ) { + $this->today_color = esc_attr( $today_color ); + } + if ( $day_events_color = get_post_meta( $this->id, '_default_calendar_style_days_events', true ) ) { + $this->days_events_color = esc_attr( $day_events_color ); + } + + // Hide too many events. + if ( 'yes' == get_post_meta( $this->id, '_default_calendar_limit_visible_events', true ) ) { + $this->events_limit = absint( get_post_meta( $this->id, '_default_calendar_visible_events', true ) ); + } + + // Expand multiple day events. + if ( 'yes' == get_post_meta( $this->id, '_default_calendar_expand_multi_day_events', true ) ) { + $this->events = $this->expand_multiple_days_events(); + } + + if ( 'grid' == $view ) { + + // Use hover to open event bubbles. + if ( 'hover' == get_post_meta( $this->id, '_default_calendar_event_bubble_trigger', true ) ) { + $this->event_bubble_trigger = 'hover'; + } + + // Trim long event titles. + if ( 'yes' == get_post_meta( $this->id, '_default_calendar_trim_titles', true ) ) { + $this->trim_titles = max( absint( get_post_meta( $this->id, '_default_calendar_trim_titles_chars', true ) ), 1 ); + } + + } else { + + // List range. + $this->group_type = esc_attr( get_post_meta( $this->id, '_default_calendar_list_range_type', true ) ); + $this->group_span = max( absint( get_post_meta( $this->id, '_default_calendar_list_range_span', true ) ), 1 ); + + // Make the list look more compact. + if ( 'yes' == get_post_meta( $this->id, '_default_calendar_compact_list', true ) ) { + $this->compact_list = true; + } + + } + + } + + /** + * Expand multiple day events. + * + * @since 3.0.0 + * @access private + * + * @return array + */ + private function expand_multiple_days_events() { + + $old_events = $this->events; + $new_events = array(); + + if ( ! empty( $old_events ) ) { + + foreach ( $old_events as $events ) { + foreach ( $events as $event ) { + if ( $event instanceof Event ) { + if ( false !== $event->multiple_days ) { + $days = $event->multiple_days; + + if ( $days == 1 ) { + $new_events[ intval( $event->start + ( DAY_IN_SECONDS ) - 1 ) ][] = $event; + } else { + + /*if ( ! empty( $event->whole_day ) ) { + $days--; + }*/ + + for ( $d = 1; $d <= $days; $d++ ) { + $new_events[ intval( $event->start + ( $d * DAY_IN_SECONDS ) - 1 ) ][] = $event; + } + } + } + } + } + + } + + } + + $events = $old_events + $new_events; + ksort( $events, SORT_NUMERIC ); + return $events; + } + + /** + * Get a view. + * + * Returns one of this calendar's views. + * + * @since 3.0.0 + * + * @param string $view + * + * @return null|Calendar_View + */ + public function get_view( $view = '' ) { + + $view = ! empty( $view ) ? $view : 'grid'; + + do_action( 'simcal_calendar_get_view', $this->type, $view ); + + if ( 'grid' == $view ) { + return new Views\Default_Calendar_Grid( $this ); + } elseif ( 'list' == $view ) { + return new Views\Default_Calendar_List( $this ); + } + + return null; + } + +} diff --git a/wp-content/plugins/google-calendar-events/includes/calendars/views/default-calendar-grid.php b/wp-content/plugins/google-calendar-events/includes/calendars/views/default-calendar-grid.php new file mode 100644 index 0000000..9d93b03 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/calendars/views/default-calendar-grid.php @@ -0,0 +1,591 @@ +calendar = $calendar; + } + + /** + * Get the view parent calendar type. + * + * @since 3.0.0 + * + * @return string + */ + public function get_parent() { + return 'default-calendar'; + } + + /** + * Get the view type. + * + * @since 3.0.0 + * + * @return string + */ + public function get_type() { + return 'grid'; + } + + /** + * Get the view name. + * + * @since 3.0.0 + * + * @return string + */ + public function get_name() { + return __( 'Grid', 'google-calendar-events' ); + } + + /** + * Add ajax actions. + * + * @since 3.0.0 + */ + public function add_ajax_actions() { + add_action( 'wp_ajax_simcal_default_calendar_draw_grid', array( $this, 'draw_grid_ajax' ) ); + add_action( 'wp_ajax_nopriv_simcal_default_calendar_draw_grid', array( $this, 'draw_grid_ajax' ) ); + } + + /** + * Default calendar grid scripts. + * + * Scripts to load when this view is displayed. + * + * @since 3.0.0 + * + * @param string $min + * + * @return array + */ + public function scripts( $min = '' ) { + return array( + 'simcal-qtip' => array( + 'src' => SIMPLE_CALENDAR_ASSETS . 'js/vendor/qtip' . $min . '.js', + 'deps' => array( 'jquery' ), + 'ver' => '2.2.1', + 'in_footer' => true, + ), + 'simcal-default-calendar' => array( + 'src' => SIMPLE_CALENDAR_ASSETS . 'js/default-calendar' . $min . '.js', + 'deps' => array( + 'jquery', + 'simcal-qtip', + ), + 'var' => SIMPLE_CALENDAR_VERSION, + 'in_footer' => true, + 'localize' => array( + 'simcal_default_calendar' => simcal_common_scripts_variables(), + ), + ), + ); + } + + /** + * Default calendar grid styles. + * + * Stylesheets to load when this view is displayed. + * + * @since 3.0.0 + * + * @param string $min = '' + * + * @return array + */ + public function styles( $min = '' ) { + return array( + 'simcal-qtip' => array( + 'src' => SIMPLE_CALENDAR_ASSETS . 'css/vendor/qtip' . $min . '.css', + 'ver' => '2.2.1', + 'media' => 'all', + ), + 'simcal-default-calendar-grid' => array( + 'src' => SIMPLE_CALENDAR_ASSETS . 'css/default-calendar-grid' . $min . '.css', + 'deps' => array( + 'simcal-qtip', + ), + 'ver' => SIMPLE_CALENDAR_VERSION, + 'media' => 'all', + ), + ); + } + + /** + * Default calendar grid markup. + * + * @since 3.0.0 + */ + public function html() { + + $calendar = $this->calendar; + + if ( $calendar instanceof Default_Calendar ) { + + ?> + + + + static ) { ?> + + + + static ) { ?> + + + + + week_starts; + $week_days_short = simcal_get_calendar_names_i18n( 'day', 'short' ); + $week_days_full = simcal_get_calendar_names_i18n( 'day', 'full' ); + + for ( $i = $week_starts; $i <= 6; $i ++ ) : + + ?> + + + + + + + + draw_month( date( 'n', $calendar->start ), date( 'Y', $calendar->start ) ); ?> + +
              + + + '; + + // Display month and year according to user date format preference. + + $year_pos = strcspn( $calendar->date_format, 'Y y' ); + $month_pos = strcspn( $calendar->date_format, 'F M m n' ); + + $current = array( 'month' => 'F', 'year' => 'Y' ); + + if ( $year_pos < $month_pos ) { + $current = array_reverse( $current ); + } + + foreach ( $current as $k => $v ) { + echo ' ' . date_i18n( $v, $calendar->start ) . ' '; + } + + echo ''; + + ?> + + +
              +
              '; + } + } + + /** + * Make a calendar grid. + * + * Outputs an html calendar according to month and year passed in arguments. + * Loosely inspired by: http://davidwalsh.name/php-calendar + * Adjusted by timezone and with an arbitrary week start day. + * + * @since 3.0.0 + * @access private + * + * @param int $month The month to print (two digits). + * @param int $year The corresponding year (four digits). + * @param int $id The calendar id. + * + * @return string + */ + private function draw_month( $month, $year, $id = 0 ) { + + $calendar = $this->calendar; + if ( empty( $calendar ) ) { + $calendar = simcal_get_calendar( intval( $id ) ); + if ( ! $calendar ) { + return ''; + } + } + date_default_timezone_set( $calendar->timezone ); + $events = $calendar->events; + + // Variables to cycle days in current month and find today in calendar. + $now = $calendar->now; + $current = Carbon::create( $year, $month, 1, 0, 0, 59, $calendar->timezone ); + $current_min = $current->getTimestamp(); + $current_max = $current->endOfDay()->getTimestamp(); + + // Calendar grid variables. + $week_starts = $calendar->week_starts; + $week_of_year = $current->weekOfYear; // Relative count of the week number of the year. + $month_starts = $current->dayOfWeek; // Day upon which the month starts. + $days_in_month = $current->daysInMonth; // Number of days in the given month. + + // Set current month events timestamp boundaries. + $this->start = $current_min; + $this->end = $current->endOfMonth()->timestamp; + + // Get daily events for this month. + if ( $events && is_array( $events ) ) { + + // Filter events within the boundaries previously set above. + $timestamps = array_keys( $events ); + $lower_bound = array_filter( $timestamps, array( $this, 'filter_events_before' ) ); + $higher_bound = array_filter( $lower_bound, array( $this, 'filter_events_after' ) ); + $filtered = ( is_array( $events ) && is_array( $higher_bound) ) && ! empty( $events ) && ! empty( $higher_bound ) ? array_intersect_key( $events, array_combine( $higher_bound, $higher_bound ) ) : array(); + + // Put resulting events in an associative array, with day of the month as key for easy retrieval in calendar days loop. + $day_events = array(); + foreach ( $filtered as $timestamp => $events_in_day ) { + foreach ( $events_in_day as $event ) { + if ( $event instanceof Event ){ + $day = intval( Carbon::createFromTimestamp( $timestamp, $event->timezone )->endOfDay()->day ); + $day_events[ $day ][] = $event; + } + } + } + + ksort( $day_events, SORT_NUMERIC ); + } + + ob_start(); + + echo '' . "\n"; + echo "\t" . ''; + + $days_in_row = 0; + // Week may start on an arbitrary day (sun, 0 - sat, 6). + $week_day = $week_starts; + + // This fixes a possible bug when a month starts by Sunday (0). + if ( 0 !== $week_starts ) { + $b = $month_starts === 0 ? 7 : $month_starts; + } else { + $b = $month_starts; + } + + // Void days in first week. + for ( $a = $week_starts; $a < $b; $a++ ) : + + $last_void_day_class = ( $a === ( $b - 1 ) ) ? 'simcal-day-void-last' : ''; + + echo '' . "\n"; + + // Reset day of the week count (sun, 0 - sat, 6). + if ( $week_day === 6 ) { + $week_day = -1; + } + $week_day++; + + $days_in_row++; + + endfor; + + // Actual days of the month. + for ( $day = 1; $day <= $days_in_month; $day++ ) : + + $count = 0; + $calendar_classes = array(); + $day_classes = 'simcal-day-' . $day . ' simcal-weekday-' . $week_day; + + $border_style = $bg_color = $color = ''; + + // Is this the present, the past or the future, Doc? + if ( $current_min <= $now && $current_max >= $now ) { + $day_classes .= ' simcal-today simcal-present simcal-day'; + $the_color = new Color( $calendar->today_color ); + $bg_color = '#' . $the_color->getHex(); + $color = $the_color->isDark() ? '#ffffff' : '#000000'; + $border_style = ' style="border: 1px solid ' . $bg_color . ';"'; + } elseif ( $current_max < $now ) { + $day_classes .= ' simcal-past simcal-day'; + } elseif ( $current_min > $now ) { + $day_classes .= ' simcal-future simcal-day'; + } + + // Print events for the current day in loop, if found any. + if ( isset( $day_events[ $day ] ) ) : + + $list_events = '
                '; + + foreach ( $day_events[ $day ] as $event ) : + + $event_classes = $event_visibility = ''; + + if ( $event instanceof Event ) : + + // Store the calendar id where the event belongs (useful in grouped calendar feeds) + $calendar_class = 'simcal-events-calendar-' . strval( $event->calendar ); + $calendar_classes[] = $calendar_class ; + + $recurring = $event->recurrence ? 'simcal-event-recurring ' : ''; + $has_location = $event->venue ? 'simcal-event-has-location ' : ''; + + $event_classes .= 'simcal-event ' . $recurring . $has_location . $calendar_class . ' simcal-tooltip'; + + // Toggle some events visibility if more than optional limit. + if ( ( $calendar->events_limit > -1 ) && ( $count >= $calendar->events_limit ) ) : + $event_classes .= ' simcal-event-toggled'; + $event_visibility = ' style="display: none"'; + endif; + + // Event title in list. + $title = ! empty( $event->title ) ? trim( $event->title ) : __( 'Event', 'google-calendar-events' ); + if ( $calendar->trim_titles >= 1 ) { + $title = strlen( $title ) > $calendar->trim_titles ? mb_substr( $title, 0, $calendar->trim_titles ) . '…' : $title; + } + + // Event color. + $bullet = ''; + $event_color = $event->get_color(); + if ( ! empty( $event_color ) ) { + $bullet = '■ '; + } + + // Event contents. + $list_events .= "\t" . '
              • ' . "\n"; + $list_events .= "\t\t" . '' . $bullet . $title . '' . "\n"; + $list_events .= "\t\t" . '' . "\n"; + $list_events .= "\t" . '
              • ' . "\n"; + + $count ++; + + endif; + + endforeach; + + if ( ( $current_min <= $now ) && ( $current_max >= $now ) ) { + $day_classes .= ' simcal-today-has-events'; + } + $day_classes .= ' simcal-day-has-events simcal-day-has-' . strval( $count ) . '-events'; + + if ( $calendar_classes ) { + $day_classes .= ' ' . trim( implode( ' ', array_unique( $calendar_classes ) ) ); + } + + $list_events .= '
              ' . "\n"; + + // Optional button to toggle hidden events in list. + if ( ( $calendar->events_limit > -1 ) && ( $count > $calendar->events_limit ) ) : + $list_events .= ''; + endif; + + else : + + // Empty cell for day with no events. + $list_events = ''; + + endif; + + // The actual days with numbers and events in each row cell. + echo '' . "\n"; + + if ( $color ) { + $day_style = ' style="background-color: ' . $bg_color . '; color: ' . $color .'"'; + } elseif ( $count > 0 ) { + $the_color = new Color( $calendar->days_events_color ); + $color = ! $color ? ( $the_color->isDark() ? '#ffffff' : '#000000' ) : $color; + $bg_color = ! $bg_color ? '#' . $the_color->getHex() : $bg_color; + $day_style = ' style="background-color: ' . $bg_color . '; color: ' . $color .'"'; + } else { + $day_style = ''; + } + + echo "\t" . '' . "\n"; + echo "\t\t" . '' . $day . '' . "\n"; + echo "\t\t" . $list_events . "\n"; + echo "\t\t"; + echo '' . "\n"; + echo "\t" . '
              ' . "\n"; + echo '' . "\n"; + + // Reset day of the week count (sun, 0 - sat, 6). + if ( $week_day === 6 ) { + $week_day = - 1; + } + $week_day++; + + // Reset count of days for this row (0-6). + if ( $days_in_row === 6 ) : + + // Close the week row. + echo ''; + + // Open a new week row. + if ( $day < $days_in_month ) { + echo '' . "\n"; + } + + $days_in_row = -1; + + endif; + + $days_in_row++; + + $current_min = Carbon::createFromTimestamp( $current_min, $calendar->timezone )->addDay()->getTimestamp(); + $current_max = Carbon::createFromTimestamp( $current_max, $calendar->timezone )->addDay()->getTimestamp(); + + endfor; + + // Void days at the end of the month. + $remainder_days = ( 6 - $days_in_row ); + + for ( $i = 0; $i <= $remainder_days; $i ++ ) { + + $last_void_day_class = ( $i == $remainder_days ) ? 'simcal-day-void-last' : ''; + + echo '' . "\n"; + + $week_day++; + } + + echo "\t" . '' . "\n"; + echo '' . "\n"; + + date_default_timezone_set( $calendar->site_timezone ); + + return ob_get_clean(); + } + + /** + * Ajax callback to request a new month. + * + * @since 3.0.0 + */ + public function draw_grid_ajax() { + + if ( isset( $_POST['month'] ) && isset( $_POST['year'] ) && isset( $_POST['id'] ) ) { + + $month = absint( $_POST['month'] ); + $year = absint( $_POST['year'] ); + $id = absint( $_POST['id'] ); + + wp_send_json_success( $this->draw_month( $month, $year, $id ) ); + + } else { + + wp_send_json_error( 'Missing arguments in default calendar grid ajax request.' ); + + } + + } + + /** + * Array filter callback. + * + * @since 3.0.0 + * @access private + * + * @param int $event Timestamp. + * + * @return bool + */ + private function filter_events_before( $event ) { + return intval( $event ) > intval( $this->start ); + } + + /** + * Array filter callback. + * + * @since 3.0.0 + * @access private + * + * @param int $event Timestamp. + * + * @return bool + */ + private function filter_events_after( $event ) { + return intval( $event ) < intval( $this->end ); + } + +} diff --git a/wp-content/plugins/google-calendar-events/includes/calendars/views/default-calendar-list.php b/wp-content/plugins/google-calendar-events/includes/calendars/views/default-calendar-list.php new file mode 100644 index 0000000..7b8d54f --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/calendars/views/default-calendar-list.php @@ -0,0 +1,661 @@ +calendar = $calendar; + } + + /** + * Get the view parent calendar type. + * + * @since 3.0.0 + * + * @return string + */ + public function get_parent() { + return 'default-calendar'; + } + + /** + * Get the view type. + * + * @since 3.0.0 + * + * @return string + */ + public function get_type() { + return 'list'; + } + + /** + * Get the view name. + * + * @since 3.0.0 + * + * @return string + */ + public function get_name() { + return __( 'List', 'google-calendar-events' ); + } + + /** + * Add ajax actions. + * + * @since 3.0.0 + */ + public function add_ajax_actions() { + add_action( 'wp_ajax_simcal_default_calendar_draw_list', array( $this, 'draw_list_ajax' ) ); + add_action( 'wp_ajax_nopriv_simcal_default_calendar_draw_list', array( $this, 'draw_list_ajax' ) ); + } + + /** + * Default calendar list scripts. + * + * Scripts to load when this view is displayed. + * + * @since 3.0.0 + * + * @param string $min + * + * @return array + */ + public function scripts( $min = '' ) { + return array( + 'simcal-qtip' => array( + 'src' => SIMPLE_CALENDAR_ASSETS . 'js/vendor/qtip' . $min . '.js', + 'deps' => array( 'jquery' ), + 'ver' => '2.2.1', + 'in_footer' => true, + ), + 'simcal-default-calendar' => array( + 'src' => SIMPLE_CALENDAR_ASSETS . 'js/default-calendar' . $min . '.js', + 'deps' => array( + 'jquery', + 'simcal-qtip', + ), + 'var' => SIMPLE_CALENDAR_VERSION, + 'in_footer' => true, + 'localize' => array( + 'simcal_default_calendar' => simcal_common_scripts_variables(), + ), + ), + ); + } + + /** + * Default calendar list styles. + * + * Stylesheets to load when this view is displayed. + * + * @since 3.0.0 + * + * @param string $min = '' + * + * @return array + */ + public function styles( $min = '' ) { + return array( + 'simcal-default-calendar-list' => array( + 'src' => SIMPLE_CALENDAR_ASSETS . 'css/default-calendar-list' . $min . '.css', + 'ver' => SIMPLE_CALENDAR_VERSION, + 'media' => 'all', + ), + ); + } + + /** + * Default calendar list markup. + * + * @since 3.0.0 + */ + public function html() { + + $calendar = $this->calendar; + + if ( $calendar instanceof Default_Calendar ) { + + $disabled = $calendar->static === true ? ' disabled="disabled"' : ''; + + + $hide_header = get_post_meta( $this->calendar->id, '_default_calendar_list_header', true ) == 'yes' ? true : false; + $static_calendar = get_post_meta( $this->calendar->id, '_calendar_is_static', true ) == 'yes' ? true : false; + + $header_class = ''; + $compact_list_class = $calendar->compact_list ? 'simcal-calendar-list-compact' : ''; + + echo '
              '; + + if ( ! $hide_header && ! $static_calendar ) { + echo '' . "\n"; + } + + echo $this->draw_list( $calendar->start ); + + echo ''; + + echo '
              '; + } + + } + + /** + * Get events for current display. + * + * @since 3.0.0 + * @access private + * + * @param int $timestamp + * + * @return array + */ + private function get_events( $timestamp ) { + + $calendar = $this->calendar; + $timezone = $calendar->timezone; + + if ( ! $calendar->group_type || ! $calendar->group_span ) { + return array(); + } + + $current = Carbon::createFromTimestamp( $timestamp, $timezone ); + $prev = clone $current; + $next = clone $current; + + $this->start = $current->getTimestamp(); + + $interval = $span = max( absint( $calendar->group_span ), 1 ); + + if ( 'monthly' == $calendar->group_type ) { + $this->prev = $prev->subMonths( $span )->getTimestamp(); + $this->next = $next->addMonths( $span )->getTimestamp(); + } elseif ( 'weekly' == $calendar->group_type ) { + $week = new Carbon( $calendar->timezone ); + $week->setTimestamp( $timestamp ); + $week->setWeekStartsAt( $calendar->week_starts ); + $this->prev = $prev->subWeeks( $span )->getTimestamp(); + $this->next = $next->addWeeks( $span )->getTimestamp(); + } elseif ( 'daily' == $calendar->group_type ) { + $this->prev = $prev->subDays( $span )->getTimestamp(); + $this->next = $next->addDays( $span )->getTimestamp(); + } + + $events = $calendar->events; + $daily_events = $paged_events = $flattened_events = array(); + + if ( 'events' != $calendar->group_type ) { + + $this->end = $this->next - 1; + + $timestamps = array_keys( $events ); + $lower_bound = array_filter( $timestamps, array( $this, 'filter_events_before' ) ); + $higher_bound = array_filter( $lower_bound, array( $this, 'filter_events_after' ) ); + + if ( is_array( $higher_bound ) && !empty( $higher_bound ) ) { + $filtered = array_intersect_key( $events, array_combine( $higher_bound, $higher_bound ) ); + foreach ( $filtered as $timestamp => $events ) { + $paged_events[ intval( $timestamp ) ] = $events; + } + } + + } else { + + foreach ( $events as $timestamp => $e ) { + $second = 0; + foreach ( $e as $event ) { + $flattened_events[ intval( $timestamp + $second ) ][] = $event; + $second++; + } + } + ksort( $flattened_events, SORT_NUMERIC ); + + $keys = array_keys( $flattened_events ); + $current = 0; + foreach ( $keys as $timestamp ) { + if ( $timestamp <= $this->start ) { + $current++; + } + } + + $paged_events = array_slice( $flattened_events, $current, $interval, true ); + + $events_end = isset( $keys[ $current + $interval ] ) ? $keys[ $current + $interval ] : $calendar->end; + $this->end = $events_end > $calendar->end ? $calendar->end : $events_end; + // -1 adjusts the interval count to index count, which starts at 0. + $this->prev = isset( $keys[ $current - $interval - 1 ] ) ? $keys[ $current - $interval - 1 ] : $calendar->earliest_event; + $this->next = isset( $keys[ $current + $interval - 1 ] ) ? $keys[ $current + $interval - 1 ] : $this->end; + + } + + // Put resulting events in an associative array, with Ymd date as key for easy retrieval in calendar days loop. + foreach ( $paged_events as $timestamp => $events ) { + if ( $timestamp <= $this->end ) { + $date = Carbon::createFromTimestamp( $timestamp, $calendar->timezone )->endOfDay()->format( 'Ymd' ); + $daily_events[ intval( $date ) ][] = $events; + } + } + ksort( $daily_events, SORT_NUMERIC ); + + return $daily_events; + } + + /** + * Get calendar list heading. + * + * Parses calender date format and adapts to current display range. + * + * @since 3.0.0 + * @access private + * + * @return array + */ + private function get_heading() { + + $calendar = $this->calendar; + $start = Carbon::createFromTimestamp( $this->start, $calendar->timezone ); + $end = Carbon::createFromTimestamp( $this->end, $calendar->timezone ); + $date_format = $this->calendar->date_format; + $date_order = simcal_get_date_format_order( $date_format ); + + if ( ( $start->day == $end->day ) && ( $start->month == $end->month ) && ( $start->year == $end->year ) ) { + // Start and end on the same day. + // e.g. 1 February 2020 + $large = $small = date_i18n( $calendar->date_format , $this->start ); + if ( ( $date_order['d'] !== false ) && ( $date_order['m'] !== false ) ) { + if ( $date_order['m'] > $date_order['d'] ) { + if ( $date_order['y'] !== false && $date_order['y'] > $date_order['m'] ) { + $small = date_i18n( 'Y, d M', $this->start ); + } else { + $small = date_i18n( 'd M Y', $this->start ); + } + } else { + if ( $date_order['y'] !== false && $date_order['y'] > $date_order['m'] ) { + $small = date_i18n( 'Y, M d', $this->start ); + } else { + $small = date_i18n( 'M d Y', $this->start ); + } + } + } + } elseif ( ( $start->month == $end->month ) && ( $start->year == $end->year ) ) { + // Start and end days on the same month. + // e.g. August 2020 + if ( $date_order['y'] === false ) { + // August. + $large = $small = date_i18n( 'F', $this->start ); + } else { + if ( $date_order['y'] < $date_order['m'] ) { + // 2020 August. + $large = date_i18n( 'Y F', $this->start ); + $small = date_i18n( 'Y M', $this->start ); + } else { + // August 2020. + $large = date_i18n( 'F Y', $this->start ); + $small = date_i18n( 'M Y', $this->start ); + } + } + } elseif ( $start->year == $end->year ) { + // Start and end days on months of the same year. + // e.g. August - September 2020 + if ( $date_order['y'] === false ) { + // August - September. + $large = date_i18n( 'F', $this->start ) . ' - ' . date_i18n( 'F', $this->end ); + $small = date_i18n( 'M', $this->start ) . ' - ' . date_i18n( 'M', $this->end ); + } else { + if ( $date_order['y'] < $date_order['m'] ) { + // 2020, August - September. + $large = $small = date( 'Y', $this->start ) . ', '; + $large .= date_i18n( 'F', $this->start ) . ' - ' . date_i18n( 'F', $this->end ); + $small .= date_i18n( 'M', $this->start ) . ' - ' . date_i18n( 'M', $this->end ); + } else { + // August - September, 2020. + $large = date_i18n( 'F', $this->start ) . ' - ' . date_i18n( 'F', $this->end ) . ', '; + $small = date_i18n( 'M', $this->start ) . ' - ' . date_i18n( 'M', $this->end ) . ' '; + $year = date( 'Y', $this->start ); + $large .= $year; + $small .= $year; + } + } + } else { + $large = $small = date( 'Y', $this->start ) . ' - ' . date( 'Y', $this->end ); + } + + return array( + 'small' => $small, + 'large' => $large, + ); + } + + /** + * Make a calendar list of events. + * + * Outputs a list of events according to events for the specified range. + * + * @since 3.0.0 + * @access private + * + * @param int $timestamp + * @param int $id + * + * @return string + */ + private function draw_list( $timestamp, $id = 0 ) { + + $calendar = $this->calendar; + + if ( empty( $calendar ) ) { + $calendar = $this->calendar = simcal_get_calendar( intval( $id ) ); + if ( ! $calendar instanceof Default_Calendar ) { + return ''; + } + } + + date_default_timezone_set( $calendar->timezone ); + + $now = $calendar->now; + $current_events = $this->get_events( $timestamp ); + $day_format = explode( ' ', $calendar->date_format ); + + ob_start(); + + // Draw the events. + + $block_tag = $calendar->compact_list && ! empty( $current_events ) ? 'div' : 'dl'; + + $data_heading = ''; + $heading = $this->get_heading(); + foreach ( $heading as $k => $v ) { + $data_heading .= ' data-heading-' . $k . '="' . $v . '"'; + } + + echo '<' . $block_tag . ' class="simcal-events-list-container"' . + ' data-prev="' . $this->prev . '"' . + ' data-next="' . $this->next . '"' . + $data_heading . '>'; + + if ( ! empty( $current_events ) && is_array( $current_events ) ) : + + foreach ( $current_events as $ymd => $events ) : + + $day_ts = Carbon::createFromFormat( 'Ymd', $ymd, $calendar->timezone )->getTimestamp(); + + if ( ! $calendar->compact_list ) : + + $date = new Carbon( 'now', $calendar->timezone ); + $date->setLocale( substr( get_locale(), 0, 2 ) ); + $date->setTimestamp( $day_ts ); + + if ( $date->isToday() ) { + $the_color = new Color( $calendar->today_color ); + } else { + $the_color = new Color( $calendar->days_events_color ); + } + + $bg_color = '#' . $the_color->getHex(); + $color = $the_color->isDark() ? '#ffffff' : '#000000'; + $border_style = ' style="border-bottom: 1px solid ' . $bg_color . ';" '; + $bg_style = ' style="background-color: ' . $bg_color . '; color: ' . $color . ';"'; + + echo "\t" . '
              '; + echo ''; + foreach ( $day_format as $format ) { + echo $format ? '' . date_i18n( $format, $day_ts ) . ' ' : ' '; + } + echo ''; + echo '
              ' . "\n"; + + endif; + + $list_events = '
                ' . "\n"; + + $calendar_classes = array(); + $day_classes = 'simcal-weekday-' . date( 'w', $day_ts ); + + // Is this the present, the past or the future, Doc? + if ( $timestamp <= $now && $timestamp >= $now ) { + $day_classes .= ' simcal-today simcal-present simcal-day'; + } elseif ( $timestamp < $now ) { + $day_classes .= ' simcal-past simcal-day'; + } elseif ( $this->end > $now ) { + $day_classes .= ' simcal-future simcal-day'; + } + + $count = 0; + + foreach ( $events as $day_events ) : + foreach ( $day_events as $event ) : + if ( $event instanceof Event ) : + + $event_classes = $event_visibility = ''; + + $calendar_class = 'simcal-events-calendar-' . strval( $event->calendar ); + $calendar_classes[] = $calendar_class; + + $recurring = $event->recurrence ? 'simcal-event-recurring ' : ''; + $has_location = $event->venue ? 'simcal-event-has-location ' : ''; + + $event_classes .= 'simcal-event ' . $recurring . $has_location . $calendar_class; + + // Toggle some events visibility if more than optional limit. + if ( ( $calendar->events_limit > - 1 ) && ( $count >= $calendar->events_limit ) ) : + $event_classes .= ' simcal-event-toggled'; + $event_visibility = ' style="display: none"'; + endif; + + $event_color = ''; + $bullet = ''; + $event_color = $event->get_color(); + if ( ! empty( $event_color ) ) { + $side = is_rtl() ? 'right' : 'left'; + $event_color = ' style="border-' . $side . ': 4px solid ' . $event_color . '; padding-' . $side . ': 8px;"'; + } + + $list_events .= "\t" . '
              • ' . "\n"; + $list_events .= "\t\t" . '
                ' . $calendar->get_event_html( $event ) . '
                ' . "\n"; + $list_events .= "\t" . '
              • ' . "\n"; + + $count ++; + + // Event falls within today. + if ( ( $this->end <= $now ) && ( $this->start >= $now ) ) : + $day_classes .= ' simcal-today-has-events'; + endif; + $day_classes .= ' simcal-day-has-events simcal-day-has-' . strval( $count ) . '-events'; + + if ( $calendar_classes ) : + $day_classes .= ' ' . trim( implode( ' ', array_unique( $calendar_classes ) ) ); + endif; + + endif; + endforeach; + endforeach; + + $list_events .= '
              ' . "\n"; + + // If events visibility is limited, print the button toggle. + if ( ( $calendar->events_limit > -1 ) && ( $count > $calendar->events_limit ) ) : + $list_events .= ''; + endif; + + // Print final list of events for the current day. + $tag = $calendar->compact_list ? 'div' : 'dd'; + echo '<' . $tag . ' class="' . $day_classes . '" data-events-count="' . strval( $count ) . '">' . "\n"; + echo "\t" . $list_events . "\n"; + echo '' . "\n"; + + endforeach; + + else : + + echo "\t" . '

              '; + + $message = get_post_meta( $calendar->id, '_no_events_message', true ); + + if ( 'events' == $calendar->group_type ) { + echo ! empty( $message ) ? $message : __( 'Nothing to show.', 'google-calendar-events' ); + } else { + if ( ! empty( $message ) ) { + echo $message; + } else { + $from = Carbon::createFromTimestamp( $this->start, $calendar->timezone )->getTimestamp(); + $to = Carbon::createFromTimestamp( $this->end, $calendar->timezone )->getTimestamp(); + echo apply_filters( 'simcal_no_events_message', sprintf( + __( 'Nothing from %1$s to %2$s.', 'google-calendar-events' ), + date_i18n( $calendar->date_format, $from ), + date_i18n( $calendar->date_format, $to ) + ), $calendar->id, $from, $to ); + } + } + + echo "\t" . '

              ' . "\n"; + + endif; + + echo ''; + + date_default_timezone_set( $calendar->site_timezone ); + + return ob_get_clean(); + } + + /** + * Ajax callback to request a new page. + * + * @since 3.0.0 + */ + public function draw_list_ajax() { + + if ( isset( $_POST['ts'] ) && isset( $_POST['id'] ) ) { + + $ts = absint( $_POST['ts'] ); + $id = absint( $_POST['id'] ); + + wp_send_json_success( $this->draw_list( $ts, $id ) ); + + } else { + + wp_send_json_error( 'Missing arguments in default calendar list ajax request.' ); + + } + } + + /** + * Array filter callback. + * + * @since 3.0.0 + * @access private + * + * @param int $event Timestamp. + * + * @return bool + */ + private function filter_events_before( $event ) { + return intval( $event ) > intval( $this->start ); + } + + /** + * Array filter callback. + * + * @since 3.0.0 + * @access private + * + * @param int $event Timestamp. + * + * @return bool + */ + private function filter_events_after( $event ) { + return intval( $event ) < intval( $this->end ); + } + +} diff --git a/wp-content/plugins/google-calendar-events/includes/class-gce-display.php b/wp-content/plugins/google-calendar-events/includes/class-gce-display.php deleted file mode 100644 index ccad5c4..0000000 --- a/wp-content/plugins/google-calendar-events/includes/class-gce-display.php +++ /dev/null @@ -1,413 +0,0 @@ -, Nick Young - * @license GPL-2.0+ - * @copyright 2014 Phil Derksen - */ - -class GCE_Display { - - public $id = ''; - - public $title = ''; - - public $sort = ''; - - public $feeds = array(); - - public $merged_feeds = array(); - - public function __construct( $ids, $title_text = null, $sort_order = 'asc' ) { - - $this->id = $ids; - $this->title = $title_text; - $this->sort = $sort_order; - - foreach( $ids as $id ) { - $this->feeds[$id] = new GCE_Feed( $id ); - } - - //Merge the feeds together into one array of events - foreach ( $this->feeds as $feed_id => $feed ) { - $this->merged_feeds = array_merge( $this->merged_feeds, $feed->events ); - } - - // Sort the items into date order - if ( ! empty( $this->merged_feeds ) ) { - usort( $this->merged_feeds, array( $this, 'compare' ) ); - } - } - - /** - * Comparison function for use when sorting merged feed data (with usort) - * - * @since 2.0.0 - */ - function compare( $event1, $event2 ) { - //Sort ascending or descending - if ( 'asc' == $this->sort ) - return $event1->start_time - $event2->start_time; - - return $event2->start_time - $event1->start_time; - } - - /** - * Returns array of days with events, with sub-arrays of events for that day - * - * @since 2.0.0 - */ - private function get_event_days() { - $event_days = array(); - - if ( $this->merged_feeds ) { - foreach ( $this->merged_feeds as $event ) { - foreach ( $event->get_days() as $day ) { - $event_days[ $day ][] = $event; - } - } - } - - return $event_days; - } - - /** - * Return the markup for the 'Grid' display - * - * @since 2.0.0 - */ - public function get_grid ( $year = null, $month = null, $widget = false, $paging = null ) { - require_once 'php-calendar.php'; - - $time_now = current_time( 'timestamp' ); - - //If year and month have not been passed as paramaters, use current month and year - if( ! isset( $year ) ) { - $year = date( 'Y', $time_now ); - } - - if( ! isset( $month ) ) { - $month = date( 'm', $time_now ); - } - - //Get timestamps for the start and end of current month - $current_month_start = mktime( 0, 0, 0, date( 'm', $time_now ), 1, date( 'Y', $time_now ) ); - $current_month_end = mktime( 0, 0, 0, date( 'm', $time_now ) + 1, 1, date( 'Y', $time_now ) ); - - //Get timestamps for the start and end of the month to be displayed in the grid - $display_month_start = mktime( 0, 0, 0, $month, 1, $year ); - $display_month_end = mktime( 0, 0, 0, $month + 1, 1, $year ); - - //It should always be possible to navigate to the current month, even if it doesn't have any events - //So, if the display month is before the current month, set $nav_next to true, otherwise false - //If the display month is after the current month, set $nav_prev to true, otherwise false - $nav_next = ( $display_month_start < $current_month_start ); - $nav_prev = ( $display_month_start >= $current_month_end ); - - //Get events data - $event_days = $this->get_event_days(); - - //Array of previous and next link stuff for use in gce_generate_calendar (below) - foreach( $event_days as $key => $event_day ) { - if( $paging === null ) { - $paging = get_post_meta( $event_day[0]->feed->id, 'gce_paging', true ); - } - } - - $start = mktime( 0, 0, 0, date( 'm', $time_now ), date( 'd', $time_now ), date( 'Y', $time_now ) ); - - $i = 1; - foreach ( $event_days as $key => $event_day ) { - - //If event day is in the month and year specified (by $month and $year) - if ( $key >= $display_month_start && $key < $display_month_end ) { - - // Add gce-has-events - $css_classes = array( 'gce-has-events' ); - - //Create markup for display - $markup = '
              '; - - //If title option has been set for display, add it - if ( isset( $this->title ) ) { - $markup .= '
              ' . esc_html( $this->title ) . ' ' . date_i18n( $event_day[0]->feed->date_format, $key ) . '
              '; - } - - $markup .= '
                '; - - foreach ( $event_day as $num_in_day => $event ) { - - $feed_id = absint( $event->feed->id ); - $markup .= '
              • ' . $event->get_event_markup( 'tooltip', $num_in_day, $i ) . '
              • '; - - //Add CSS class for the feed from which this event comes. If there are multiple events from the same feed on the same day, the CSS class will only be added once. - $css_classes['feed-' . $feed_id] = 'gce-feed-' . $feed_id; - - $i++; - } - - $markup .= '
              '; - - //If number of CSS classes is greater than 2 ('gce-has-events' plus one specific feed class) then there must be events from multiple feeds on this day, so add gce-multiple CSS class - if ( count( $css_classes ) > 2 ) - $css_classes[] = 'gce-multiple'; - - $count_events = count( $event_day ); - // Marks the count for the number of events happening this day. - $css_classes[] = 'gce-has-' . strval( $count_events ) . '-events'; - - //If event day is today, add gce-today CSS class, otherwise add past or future class - if ( $key == $start ) { - $css_classes[] = 'gce-today gce-today-has-events'; - } elseif ( $key < $start ) { - $css_classes[] = 'gce-day-past'; - } else { - $css_classes[] = 'gce-day-future'; - } - - //Change array entry to array of link href, CSS classes, and markup for use in gce_generate_calendar (below) - $event_days[$key] = array( null, implode( ' ', $css_classes ), $markup ); - } elseif ( $key < $display_month_start ) { - //This day is before the display month, so set $nav_prev to true. Remove the day from $event_days, as it's no use for displaying this month - $nav_prev = true; - unset( $event_days[$key] ); - } else { - //This day is after the display month, so set $nav_next to true. Remove the day from $event_days, as it's no use for displaying this month - $nav_next = true; - unset( $event_days[$key] ); - } - } - - //Ensures that gce-today CSS class is added even if there are no events for 'today'. A bit messy :( - if ( ! isset( $event_days[$start] ) ) - $event_days[$start] = array( null, 'gce-today gce-today-no-events', null ); - - $pn = array(); - - if( $paging ) { - // Add previous / next functionality - //If there are events to display in a previous month, add previous month link - $prev_key = __( 'Back', 'gce' ); - $prev = date( 'm-Y', mktime( 0, 0, 0, $month - 1, 1, $year ) ); - - //If there are events to display in a future month, add next month link - $next_key = __( 'Next', 'gce' ); - $next = date( 'm-Y', mktime( 0, 0, 0, $month + 1, 1, $year ) ); - - //Array of previous and next link stuff for use in gce_generate_calendar (below) - $pn = array( $prev_key => $prev, $next_key => $next ); - } - - $start_day = get_option( 'start_of_week' ); - - //Generate the calendar markup and return it - return gce_generate_calendar( $year, $month, $event_days, 1, null, $start_day, $pn, $widget ); - } - - /** - * Return the markup for the 'List' display - * - * @since 2.0.0 - */ - public function get_list( $grouped = false, $start = null, $paging = null, $paging_interval = null, $start_offset = null, $max_events = null, $paging_type = null, $max_num = null ) { - $paging_type = $paging_type; - - $max_length = null; - - if( $paging_type == 'events' ) { - $max_length = 'events'; - } - - if( $start == null ) { - $start = mktime( 0, 0, 0, date( 'm', current_time( 'timestamp' ) ), 1, date( 'Y', current_time( 'timestamp' ) ) ); - } - - // Get all the event days - $event_days = $this->get_event_days(); - - $an_event_feed_id = current( $event_days ); - $an_event_feed_id = $an_event_feed_id[0]->feed->id; - - if( $paging_interval == null ) { - $max_num = get_post_meta( $an_event_feed_id, 'gce_per_page_num', true ); - - if( $paging_type == null ) { - $max_length = get_post_meta( $an_event_feed_id, 'gce_events_per_page', true ); - $paging_type = $max_length; - } - } - - $use_range = ( $paging_interval == 'date-range' ? true : false ); - - if( $use_range ) { - $max_length = 'date-range'; - } - - if( $paging === null ) { - $paging = get_post_meta( $an_event_feed_id, 'gce_paging', true ); - } - - if( $start_offset === null ) { - $start_offset_num = get_post_meta( $an_event_feed_id, 'gce_list_start_offset_num', true ); - $start_offset_direction = get_post_meta( $an_event_feed_id, 'gce_list_start_offset_direction', true ); - } - - if( empty( $max_num ) || $max_num == 0 ) { - $max_num = 7; - } - - if( $paging_type == 'days' ) { - if( $paging_interval == null ) { - $paging_interval = $max_num * 86400; - } - } else if( $paging_type == 'week' ) { - $paging_interval = 604800; - - // Set week start here too - $start_of_week = get_option( 'start_of_week' ); - $start = mktime( 0, 0, 0, date( 'm' ), ( date( 'j' ) - date( 'w' ) + $start_of_week ), date( 'Y' ) ); - } else if( $paging_type == 'month' ) { - $paging_interval = 2629743; - - // Set month start here too - $start = mktime( 0, 0, 0, date( 'm', current_time( 'timestamp' ) ), 1, date( 'Y', current_time( 'timestamp' ) ) ); - } - - if( $start_offset === null ) { - if( $start_offset_direction == 'back' ) { - $start_offset_direction = -1; - } else { - $start_offset_direction = 1; - } - - $start_offset = $start_offset_num * 86400 * $start_offset_direction; - - $start = $start + $start_offset; - } - - $start = mktime( 0, 0, 0, date( 'm', $start ), date( 'd', $start ), date( 'Y', $start ) ); - - $end_time = $start + $paging_interval; - - $i = 1; - - $feeds = implode( $this->id, '-' ); - - $markup = '
              ' . "\n"; - - if( ( $paging != 0 ) && $max_length != 'events' ) { - - $prev_text = __( 'Back', 'gce' ); - $next_text = __( 'Next', 'gce' ); - - $prev_text = apply_filters( 'gce_prev_text', $prev_text ); - $next_text = apply_filters( 'gce_next_text', $next_text ); - - $p = ''; - $n = ''; - - $markup .= '
              ' . - $p . - $n . - '
              ' . - '
              ' . "\n"; - } - $max_count = 1; - $has_events = false; - $event_counter = 0; - - if( $max_length == 'events' ) { - if( $start_offset === null || $start_offset == 0 ) { - $time_now = current_time( 'timestamp' ); - } else { - - $time_now = current_time( 'timestamp' ); - - $time_now = mktime( 0, 0, 0, date( 'm', $time_now ), date( 'j', $time_now ), date( 'Y', $time_now ) ) + $start_offset; - - } - - - if( $max_events == null ) { - $max_events = $max_num; - } - } - - if ( $grouped ) { - $markup .= - '
              ' ; - } - - if( $max_length != 'events' ) { - $max_events = INF; - } - else { - $end_time = INF; - } - - $show_title = true; - - foreach ( $event_days as $key => $event_day ) { - - $day_markup = ''; - - foreach ( $event_day as $num_in_day => $event ) { - //Create the markup for this event - if( ( $max_length != 'events' && (( $event->start_time >= $start && // Condition for limited by days - $event->end_time <= $end_time ) || - ( $event->day_type == 'MWD' && - $event->start_time >= $start && - $event->start_time <= $end_time ) - ) - ) || - ( $max_length == 'events' && ( $event->end_time >= $time_now && // Condition for limited by events - $event_counter < $max_events ) - ) || - ( $max_length == 'date-range' ) - ) { - if( $show_title && $grouped ) { - $day_markup .= '
              ' . esc_html( stripslashes( $this->title ) ) . ' ' . date_i18n( $event->feed->date_format, $key ) . '
              '; - $show_title = false; - } - - $day_markup .= - '
              ' . - //If this isn't a grouped list, generate a per-event title with date. - ( ( ! $grouped ) ? ( ( isset( $this->title ) && $this->title !== '' ) ) - ? '
              ' . esc_html( stripslashes( $this->title ) ) . ' ' . date_i18n( $event->feed->date_format, $event->start_time ) . '
              ' - : '' : '' ) . - //Add the event markup - $event->get_event_markup( 'list', $num_in_day, $i ) . - '
              '; - - $has_events = true; - $i++; - $event_counter++; - } - } - - if ( $day_markup != '' ) { - $markup .= '
              ' . $day_markup . '
              '; - } - - $show_title = true; - - $max_count++; - } - - if ( $grouped ) { - $markup .= '
              '; - } - - if( ! $has_events ) { - $markup .= apply_filters( 'gce_no_events_message_text', __( 'No events to display.', 'gce' ) ); - } - - $markup .= '
              '; - - return $markup; - } -} diff --git a/wp-content/plugins/google-calendar-events/includes/class-gce-event.php b/wp-content/plugins/google-calendar-events/includes/class-gce-event.php deleted file mode 100644 index 113356b..0000000 --- a/wp-content/plugins/google-calendar-events/includes/class-gce-event.php +++ /dev/null @@ -1,598 +0,0 @@ -, Nick Young - * @license GPL-2.0+ - * @copyright 2014 Phil Derksen - */ - -class GCE_Event { - - public $feed; - - /** - * Class constructor - * - * @since 2.0.0 - */ - function __construct( GCE_Feed $feed, $id, $title, $description, $location, $start_time, $end_time, $link ) { - - $this->feed = $feed; - $this->id = $id; - $this->title = $title; - $this->description = $description; - $this->location = $location; - $this->start_time = $start_time; - $this->end_time = $end_time; - $this->link = $link; - - //Calculate which day type this event is (SWD = single whole day, SPD = single part day, MWD = multiple whole day, MPD = multiple part day) - if ( ( $start_time + 86400 ) <= $end_time ) { - if ( ( $start_time + 86400 ) == $end_time ) { - $this->day_type = 'SWD'; - } else { - if ( ( '12:00 am' == date( 'g:i a', $start_time ) ) && ( '12:00 am' == date( 'g:i a', $end_time ) ) ) { - if( $end_time - $start_time > 86400 ) { - $this->day_type = 'MWD'; - } else { - $this->day_type = 'SWD'; - } - } else { - $this->day_type = 'MPD'; - } - } - } else { - if( date( 'D', $start_time ) == date( 'D', $end_time ) ) { - $this->day_type = 'SPD'; - } else { - $this->day_type = 'MPD'; - } - } - } - - /** - * Returns an array of days (as UNIX timestamps) that this events spans - * - * @since 2.0.0 - */ - function get_days() { - - if( $this->start_time !== null ) { - //Round start date to nearest day - $start_time = mktime( 0, 0, 0, date( 'm', $this->start_time ), date( 'd', $this->start_time ) , date( 'Y', $this->start_time ) ); - - $days = array(); - - //If multiple day events should be handled, and this event is a multi-day event, add multiple day event to required days - if ( $this->feed->multiple_day_events && ( 'MPD' == $this->day_type || 'MWD' == $this->day_type ) ) { - $on_next_day = true; - $next_day = $start_time; - - while ( $on_next_day ) { - //If the end time of the event is after 00:00 on the next day (therefore, not doesn't end on this day) - if ( $this->end_time > $next_day ) { - $days[] = $next_day; - } else { - $on_next_day = false; - } - $next_day += 86400; - } - } else { - //Add event into array of events for that day - $days[] = $start_time; - } - - return $days; - } else { - return array(); - } - } - - /** - * Returns the markup for this event, so that it can be used in the construction of a grid / list - * - * @since 2.0.0 - */ - function get_event_markup( $display_type, $num_in_day, $num ) { - //Set the display type (either tooltip or list) - $this->type = $display_type; - - //Set which number event this is in day (first in day etc) - $this->num_in_day = $num_in_day; - - //Set the position of this event in array of events currently being processed - $this->pos = $num; - - $this->time_now = current_time( 'timestamp' ); - - // First check if we use the builder or not - $use_simple = get_post_meta( $this->feed->id, 'gce_display_simple', true ); - - if( empty( $use_simple ) ) { - return $this->use_builder(); - } - - // Setup the markup to return - $display_options['display_start'] = get_post_meta( $this->feed->id, 'gce_display_start', true ); - $display_options['display_start_text'] = get_post_meta( $this->feed->id, 'gce_display_start_text', true ); - $display_options['display_end'] = get_post_meta( $this->feed->id, 'gce_display_end', true ); - $display_options['display_end_text'] = get_post_meta( $this->feed->id, 'gce_display_end_text', true ); - $display_options['display_location'] = get_post_meta( $this->feed->id, 'gce_display_location', true ); - $display_options['display_location_text'] = get_post_meta( $this->feed->id, 'gce_display_location_text', true ); - $display_options['display_desc'] = get_post_meta( $this->feed->id, 'gce_display_description', true ); - $display_options['display_desc_text'] = get_post_meta( $this->feed->id, 'gce_display_description_text', true ); - $display_options['display_desc_limit'] = get_post_meta( $this->feed->id, 'gce_display_description_max', true ); - $display_options['display_link'] = get_post_meta( $this->feed->id, 'gce_display_link', true ); - $display_options['display_link_text'] = get_post_meta( $this->feed->id, 'gce_display_link_text', true ); - $display_options['display_separator'] = get_post_meta( $this->feed->id, 'gce_display_separator', true ); - $display_options['display_link_target'] = get_post_meta( $this->feed->id, 'gce_display_link_tab', true ); - - $markup = '

              ' . esc_html( $this->title ) . '

              '; - - $start_end = array(); - - //If start date / time should be displayed, set up array of start date and time - if ( ! empty( $display_options['display_start'] ) && 'none' != $display_options['display_start'] ) { - $sd = $this->start_time; - $start_end['start'] = array( - 'time' => date_i18n( $this->feed->time_format, $sd ), - 'date' => date_i18n( $this->feed->date_format, $sd ) - ); - } - - //If end date / time should be displayed, set up array of end date and time - if ( ! empty( $display_options['display_end'] ) && 'none' != $display_options['display_end'] ) { - $ed = $this->end_time; - $start_end['end'] = array( - 'time' => date_i18n( $this->feed->time_format, $ed ), - 'date' => date_i18n( $this->feed->date_format, $ed ) - ); - } - - //Add the correct start / end, date / time information to $markup - foreach ( $start_end as $start_or_end => $info ) { - $markup .= '

              ' . esc_html( $display_options['display_' . $start_or_end . '_text'] ) . ' '; - - if( ! empty( $display_options['display_' . $start_or_end] ) ) { - switch ( $display_options['display_' . $start_or_end] ) { - case 'time': $markup .= esc_html( $info['time'] ); - break; - case 'date': $markup .= esc_html( $info['date'] ); - break; - case 'time-date': $markup .= esc_html( $info['time'] . $display_options['display_separator'] . $info['date'] ); - break; - case 'date-time': $markup .= esc_html( $info['date'] . $display_options['display_separator'] . $info['time'] ); - } - } - - $markup .= '

              '; - } - - //If location should be displayed (and is not empty) add to $markup - if ( ! empty( $display_options['display_location'] ) ) { - $event_location = $this->location; - if ( '' != $event_location ) - $markup .= '

              ' . esc_html( $display_options['display_location_text'] ) . ' ' . esc_html( $event_location ) . '

              '; - } - - //If description should be displayed (and is not empty) add to $markup - if ( ! empty( $display_options['display_desc'] ) ) { - $event_desc = $this->description; - - if ( '' != $event_desc ) { - //Limit number of words of description to display, if required - if ( '' != $display_options['display_desc_limit'] ) { - preg_match( '/([\S]+\s*){0,' . $display_options['display_desc_limit'] . '}/', $this->description, $event_desc ); - $event_desc = trim( $event_desc[0] ); - } - - $markup .= '

              ' . esc_html( $display_options['display_desc_text'] ) . ' ' . make_clickable( nl2br( esc_html( $event_desc ) ) ) . '

              '; - } - } - - //If link should be displayed add to $markup - if ( ! empty( $display_options['display_link'] ) ) { - - $target = ( ! empty( $display_options['display_link_target'] ) ? 'target="blank"' : '' ); - - $ctz = gce_get_wp_timezone(); - - if ( isset( $this->feed->id ) ) { - $tz_option = esc_attr( get_post_meta( $this->feed->id, '_feed_timezone_setting', true ) ); - if ( 'use_calendar' == $tz_option ) { - $ctz = ''; - } - } - - // Check if it is a hangouts link first - if( strpos( $this->link, 'plus.google.com/events/' ) !== false ) { - $link = $this->link; - } else { - $link = $this->link . ( ! empty( $ctz ) ? '&ctz=' . $ctz : '' ); - } - - $markup .= ''; - } - - return $markup; - - } - - //Return the event markup using the builder - function use_builder() { - //Array of valid shortcodes - $shortcodes = array( - //Event / feed information shortcodes - - 'event-title', //The event title - 'start-time', //The start time of the event (uses the time format from the feed options, if it is set. Otherwise uses the default WordPress time format) - 'start-date', //The start date of the event (uses the date format from the feed options, if it is set. Otherwise uses the default WordPress date format) - 'start-custom', //The start time / date of the event (uses a custom PHP date format, specified in the 'format' attribute) - 'start-human', //The difference between the start time of the event and the time now, in human-readable format, such as '1 hour', '4 days', '15 mins' - 'end-time', //The end time of the event (uses the time format from the feed options, if it is set. Otherwise uses the default WordPress time format) - 'end-date', //The end date of the event (uses the date format from the feed options, if it is set. Otherwise uses the default WordPress date format) - 'end-custom', //The end time / date of the event (uses a custom PHP date format, specified in the 'format' attribute) - 'end-human', //The difference between the end time of the event and the time now, in human-readable format, such as '1 hour', '4 days', '15 mins' - 'location', //The event location - 'description', //The event deescription (number of words can be limited by the 'limit' attribute) - 'link', //Anything within this shortcode (including further shortcodes) will be linked to the Google Calendar page for this event - 'url', //The raw link URL to the Google Calendar page for this event (can be used to construct more customized links) - 'feed-id', //The ID of this feed (Can be useful for constructing feed specific CSS classes) - 'feed-title', //The feed title - 'maps-link', //Anything within this shortcode (including further shortcodes) will be linked to a Google Maps page based on whatever is specified for the event location - 'length', //How long the events lasts, in human-readable format - 'event-num', //The position of the event in the current list, or the position of the event in the current month (for grids) - 'event-id', //The event UID (unique identifier assigned by Google) - 'cal-id', //The calendar ID - - //Anything between the opening and closing tags of the following logical shortcodes (including further shortcodes) will only be displayed if: - - 'if-all-day', //This is an all-day event - 'if-not-all-day', //This is not an all-day event - 'if-title', //The event has a title - 'if-description', //The event has a description - 'if-location', //The event has a location - 'if-not-location',//The event does not have a location - 'if-tooltip', //The current display type is 'tooltip' - 'if-list', //The current display type is 'list' - 'if-now', //The event is taking place now (after the start time, but before the end time) - 'if-not-now', //The event is not taking place now (may have ended or not yet started) - 'if-started', //The event has started (and even if it has ended) - 'if-not-started', //The event has not yet started - 'if-ended', //The event has ended - 'if-not-ended', //The event has not ended (and even if it hasn't started) - 'if-first', //The event is the first in the day - 'if-not-first', //The event is not the first in the day - 'if-multi-day', //The event spans multiple days - 'if-single-day' //The event does not span multiple days - ); - - $this->regex = '/(.?)\[(' . implode( '|', $shortcodes ) . ')\b(.*?)(?:(\/))?\](?:(.+?)\[\/\2\])?(.?)/s'; - - return $this->look_for_shortcodes( $this->feed->get_builder() ); - } - - //Look through the EDB markup for shortcodes - function look_for_shortcodes( $markup ) { - return preg_replace_callback( $this->regex, array( $this, 'process_shortcode' ), $markup ); - } - - //Parse a shortcode, returning the appropriate event information - //Much of this code is 'borrowed' from WordPress' own shortcode handling stuff! - function process_shortcode( $m ) { - if ( '[' == $m[1] && ']' == $m[6] ) - return substr( $m[0], 1, -1 ); - - //Extract any attributes contained in the shortcode - extract( shortcode_atts( array( - 'newwindow' => 'false', - 'format' => '', - 'limit' => '0', - 'html' => 'false', - 'markdown' => 'false', - 'precision' => '1', - 'offset' => '0', - 'autolink' => 'true' - ), shortcode_parse_atts( $m[3] ) ) ); - - //Sanitize the attributes - $newwindow = ( 'true' === $newwindow ); - $format = esc_attr( $format ); - $limit = absint( $limit ); - $html = ( 'true' === $html ); - $markdown = ( 'true' === $markdown ); - $precision = absint( $precision ); - $offset = intval( $offset ); - $autolink = ( 'true' === $autolink ); - - //Do the appropriate stuff depending on which shortcode we're looking at. See valid shortcode list (above) for explanation of each shortcode - switch ( $m[2] ) { - case 'event-title': - $title = esc_html( trim( $this->title ) ); - - if ( $markdown && function_exists( 'Markdown' ) ) - $title = Markdown( $title ); - - if ( $html ) - $title = wp_kses_post( html_entity_decode( $title ) ); - - return $m[1] . $title . $m[6]; - - case 'start-time': - return $m[1] . date_i18n( $this->feed->time_format, $this->start_time + $offset ) . $m[6]; - - case 'start-date': - return $m[1] . date_i18n( $this->feed->date_format, $this->start_time + $offset ) . $m[6]; - - case 'start-custom': - return $m[1] . date_i18n( $format, $this->start_time + $offset ) . $m[6]; - - case 'start-human': - return $m[1] . $this->gce_human_time_diff( $this->start_time + $offset, $this->time_now, $precision ) . $m[6]; - - case 'end-time': - return $m[1] . date_i18n( $this->feed->time_format, $this->end_time + $offset ) . $m[6]; - - case 'end-date': - return $m[1] . date_i18n( $this->feed->date_format, $this->end_time + $offset ) . $m[6]; - - case 'end-custom': - return $m[1] . date_i18n( $format, $this->end_time + $offset ) . $m[6]; - - case 'end-human': - return $m[1] . $this->gce_human_time_diff( $this->end_time + $offset, $this->time_now, $precision ) . $m[6]; - - case 'location': - $location = esc_html( trim( $this->location ) ); - - if ( $markdown && function_exists( 'Markdown' ) ) - $location = Markdown( $location ); - - if ( $html ) - $location = wp_kses_post( html_entity_decode( $location ) ); - - return $m[1] . $location . $m[6]; - - case 'description': - - $description = trim( $this->description ); - - if ( $limit > 0 ) { - if ( str_word_count( $description, 0 ) > $limit ) { - $words = str_word_count( $description, 2 ); - $pos = array_keys( $words ); - $description = substr( $description, 0, $pos[ $limit ] ) . '...'; - } - //preg_match( '/([\S]+\s*){0,' . $limit . '}/', $this->description, $description ); - //$description = trim( $description[0] ); - } - - if ( $markdown || $html ) { - - if ( $markdown && function_exists( 'Markdown' ) ) { - $description = Markdown( $description ); - } - - if ( $html ) { - $description = wp_kses_post( $description ); - } - - } else { - - $description = nl2br( esc_html( $description ) ); - - } - - if ( $autolink ) { - $description = make_clickable( $description ); - } - - return $m[1] . $description . $m[6]; - - case 'link': - - $new_window = ( $newwindow ) ? ' target="_blank"' : ''; - - $ctz = gce_get_wp_timezone(); - - if ( isset( $this->feed->id ) ) { - $tz_option = esc_attr( get_post_meta( $this->feed->id, '_feed_timezone_setting', true ) ); - if ( 'use_calendar' == $tz_option ) { - $ctz = ''; - } - } - - // Check if it is a hangouts link first - if( strpos( $this->link, 'plus.google.com/events/' ) !== false ) { - $link = $this->link; - } else { - $link = $this->link . ( ! empty( $ctz ) ? '&ctz=' . $ctz : '' ); - } - - return $m[1] . '' . $this->look_for_shortcodes( $m[5] ) . '' . $m[6]; - - case 'url': - return $m[1] . esc_url( $this->link ) . $m[6]; - - case 'feed-id': - return $m[1] . intval( $this->feed->id ) . $m[6]; - - case 'feed-title': - return $m[1] . esc_html( $this->feed->title ) . $m[6]; - - case 'maps-link': - $new_window = ( $newwindow ) ? ' target="_blank"' : ''; - return $m[1] . '' . $this->look_for_shortcodes( $m[5] ) . '' . $m[6]; - - case 'length': - return $m[1] . $this->gce_human_time_diff( $this->start_time, $this->end_time, $precision ) . $m[6]; - - case 'event-num': - return $m[1] . intval( $this->pos ) . $m[6]; - - case 'event-id': - return $m[1] . esc_html( $this->id ) . $m[6]; - - case 'cal-id': - //$cal_id = explode( '/', $this->feed->feed_url ); - return $m[1] . $this->feed->calendar_id . $m[6]; - - case 'if-all-day': - if ( 'SWD' == $this->day_type || 'MWD' == $this->day_type ) - return $m[1] . $this->look_for_shortcodes( $m[5] ) . $m[6]; - - return ''; - - case 'if-not-all-day': - if ( 'SPD' == $this->day_type || 'MPD' == $this->day_type ) - return $m[1] . $this->look_for_shortcodes( $m[5] ) . $m[6]; - - return ''; - - case 'if-title': - if ( '' != $this->title ) - return $m[1] . $this->look_for_shortcodes( $m[5] ) . $m[6]; - - return ''; - - case 'if-description': - if ( '' != $this->description ) - return $m[1] . $this->look_for_shortcodes( $m[5] ) . $m[6]; - - return ''; - - case 'if-location': - if ( '' != $this->location ) - return $m[1] . $this->look_for_shortcodes( $m[5] ) . $m[6]; - - return ''; - - case 'if-not-location': - if ( '' == $this->location ) - return $m[1] . $this->look_for_shortcodes( $m[5] ) . $m[6]; - - return ''; - - case 'if-tooltip': - if ( 'tooltip' == $this->type ) - return $m[1] . $this->look_for_shortcodes( $m[5] ) . $m[6]; - - return ''; - - case 'if-list': - if ( 'list' == $this->type ) - return $m[1] . $this->look_for_shortcodes( $m[5] ) . $m[6]; - - return ''; - - case 'if-now': - if ( $this->time_now >= $this->start_time && $this->time_now < $this->end_time ) - return $m[1] . $this->look_for_shortcodes( $m[5] ) . $m[6]; - - return ''; - - case 'if-not-now': - if ( $this->end_time < $this->time_now || $this->start_time > $this->time_now ) - return $m[1] . $this->look_for_shortcodes( $m[5] ) . $m[6]; - - return ''; - - case 'if-started': - if ( $this->start_time < $this->time_now ) - return $m[1] . $this->look_for_shortcodes( $m[5] ) . $m[6]; - - return ''; - - case 'if-not-started': - if ( $this->start_time > $this->time_now ) - return $m[1] . $this->look_for_shortcodes( $m[5] ) . $m[6]; - - return ''; - - case 'if-ended': - if ( $this->end_time < $this->time_now ) - return $m[1] . $this->look_for_shortcodes( $m[5] ) . $m[6]; - - return ''; - - case 'if-not-ended': - if ( $this->end_time > $this->time_now ) - return $m[1] . $this->look_for_shortcodes( $m[5] ) . $m[6]; - - return ''; - - case 'if-first': - if ( 0 == $this->num_in_day ) - return $m[1] . $this->look_for_shortcodes( $m[5] ) . $m[6]; - - return ''; - - case 'if-not-first': - if ( 0 != $this->num_in_day ) - return $m[1] . $this->look_for_shortcodes( $m[5] ) . $m[6]; - - return ''; - - case 'if-multi-day': - if ( 'MPD' == $this->day_type || 'MWD' == $this->day_type ) - return $m[1] . $this->look_for_shortcodes( $m[5] ) . $m[6]; - - return ''; - - case 'if-single-day': - if ( 'SPD' == $this->day_type || 'SWD' == $this->day_type ) - return $m[1] . $this->look_for_shortcodes( $m[5] ) . $m[6]; - - return ''; - } - } - - //Returns the difference between two times in human-readable format. Based on a patch for human_time_diff posted in the WordPress trac (http://core.trac.wordpress.org/ticket/9272) by Viper007Bond - function gce_human_time_diff( $from, $to = '', $limit = 1 ) { - $units = array( - 31556926 => array( __( '%s year', 'gce' ), __( '%s years', 'gce' ) ), - 2629744 => array( __( '%s month', 'gce' ), __( '%s months', 'gce' ) ), - 604800 => array( __( '%s week', 'gce' ), __( '%s weeks', 'gce' ) ), - 86400 => array( __( '%s day', 'gce' ), __( '%s days', 'gce' ) ), - 3600 => array( __( '%s hour', 'gce' ), __( '%s hours', 'gce' ) ), - 60 => array( __( '%s min', 'gce' ), __( '%s mins', 'gce' ) ), - ); - - if ( empty( $to ) ) - $to = time(); - - $from = (int) $from; - $to = (int) $to; - $diff = (int) abs( $to - $from ); - - $items = 0; - $output = array(); - - foreach ( $units as $unitsec => $unitnames ) { - if ( $items >= $limit ) - break; - - if ( $diff < $unitsec ) - continue; - - $numthisunits = floor( $diff / $unitsec ); - $diff = $diff - ( $numthisunits * $unitsec ); - $items++; - - if ( $numthisunits > 0 ) - $output[] = sprintf( _n( $unitnames[0], $unitnames[1], $numthisunits, 'gce' ), $numthisunits ); - } - - $seperator = _x( ', ', 'human_time_diff', 'gce' ); - - if ( ! empty( $output ) ) { - return implode( $seperator, $output ); - } else { - $smallest = array_pop( $units ); - return sprintf( $smallest[0], 1 ); - } - } -} diff --git a/wp-content/plugins/google-calendar-events/includes/class-gce-feed.php b/wp-content/plugins/google-calendar-events/includes/class-gce-feed.php deleted file mode 100644 index 79a27d7..0000000 --- a/wp-content/plugins/google-calendar-events/includes/class-gce-feed.php +++ /dev/null @@ -1,344 +0,0 @@ -, Nick Young - * @license GPL-2.0+ - * @copyright 2014 Phil Derksen - */ - -class GCE_Feed { - - public $id, - $calendar_id, - $feed_url, - $date_format, - $time_format, - $cache, - $multiple_day_events, - $display_url, - $search_query, - $expand_recurring, - $title, - $feed_start, - $feed_end, - $builder; - - public $events = array(); - - // Google API Key - private $api_key = 'AIzaSyAssdKVved1mPVY0UJCrx96OUOF9u17AuY'; - - /** - * Class constructor - * - * @since 2.0.0 - */ - public function __construct( $id ) { - // Set the ID - $this->id = $id; - - $this->calendar_id = get_post_meta( $this->id, 'gce_feed_url', true ); - - // Set up all other data based on the ID - $this->setup_attributes(); - - // Now create the Feed - $this->create_feed(); - } - - /** - * Set the transient to cache the events - * - * @since 2.0.0 - */ - private function cache_events() { - set_transient( 'gce_feed_' . $this->id, $this->events, $this->cache ); - } - - /** - * Set all of the feed attributes from the post meta options - * - * @since 2.0.0 - */ - private function setup_attributes() { - $date_format = get_post_meta( $this->id, 'gce_date_format', true ); - $time_format = get_post_meta( $this->id, 'gce_time_format', true ); - - $this->feed_url = get_post_meta( $this->id, 'gce_feed_url', true ); - $this->date_format = ( ! empty( $date_format ) ? $date_format : get_option( 'date_format' ) ); - $this->time_format = ( ! empty( $time_format ) ? $time_format : get_option( 'time_format' ) ); - $this->cache = get_post_meta( $this->id, 'gce_cache', true ); - $this->multiple_day_events = get_post_meta( $this->id, 'gce_multi_day_events', true ); - $this->search_query = get_post_meta( $this->id, 'gce_search_query', true ); - $this->expand_recurring = get_post_meta( $this->id, 'gce_expand_recurring', true ); - $this->title = get_the_title( $this->id ); - $this->feed_start = $this->get_feed_start(); - $this->feed_end = $this->get_feed_end(); - } - - /** - * Create the feed URL - * - * @since 2.0.0 - */ - private function create_feed() { - //Break the feed URL up into its parts (scheme, host, path, query) - - global $gce_options; - - if( empty( $this->feed_url ) ) { - if( current_user_can( 'manage_options' ) ) { - echo '

              ' . __( 'The Google Calendar ID has not been set. Please make sure to set it correctly in the Feed settings.', 'gce' ) . '

              '; - } - - return; - } - - $args = array(); - - if( ! empty( $gce_options['api_key'] ) ) { - $api_key = urlencode( $gce_options['api_key'] ); - } else { - $api_key = $this->api_key; - } - - $query = 'https://www.googleapis.com/calendar/v3/calendars/' . $this->calendar_id . '/events'; - - // Set API key - $query .= '?key=' . $api_key; - - // Timezone. - $timezone_option = esc_attr( get_post_meta( $this->id, '_feed_timezone_setting', true ) ); - $timezone = gce_get_wp_timezone(); - if ( 'use_site' == $timezone_option ) { - $args['timeZone'] = $timezone; - } - - // Time boundaries. - if ( version_compare( PHP_VERSION, '5.3.0' ) === -1 ) { - - $ts = $this->feed_start; - $time = new DateTime( "@$ts" ); - if ( 'use_site' == $timezone_option ) { - $time->setTimezone( new DateTimeZone( $timezone ) ); - } - $args['timeMin'] = urlencode( $time->format( 'c' ) ); - - $ts = $this->feed_end; - $time = new DateTime( "@$ts" ); - if ( 'use_site' == $timezone_option ) { - $time->setTimezone( new DateTimeZone( $timezone ) ); - } - $args['timeMax'] = urlencode( $time->format( 'c' ) ); - - } else { - - $time = new DateTime(); - - if ( 'use_site' == $timezone_option ) { - $time->setTimezone( new DateTimeZone( $timezone ) ); - } - - $time->setTimestamp( $this->feed_start ); - $args['timeMin'] = urlencode( $time->format( 'c' ) ); - $time->setTimestamp( $this->feed_end ); - $args['timeMax'] = urlencode( $time->format( 'c' ) ); - - } - - // Max no. of events. - $args['maxResults'] = 2500; - - // Google search query terms. - if ( ! empty( $this->search_query ) ) { - $args['q'] = rawurlencode( $this->search_query ); - } - - // Show recurring. - if( ! empty( $this->expand_recurring ) ) { - $args['singleEvents'] = 'true'; - } - - $query = esc_url_raw( add_query_arg( $args, $query ) ); - - $this->display_url = $query; - - if( isset( $_GET['gce_debug'] ) && $_GET['gce_debug'] == true ) { - echo '
              ' . $this->display_url . '

              '; - } - - $this->get_feed_data( $query ); - } - - /** - * Make remote call to get the feed data - * - * @since 2.0.0 - */ - private function get_feed_data( $url ) { - - // First check for transient data to use - if( false !== get_transient( 'gce_feed_' . $this->id ) ) { - $this->events = get_transient( 'gce_feed_' . $this->id ); - } else { - $raw_data = wp_remote_get( $url, array( 'timeout' => 10 ) ); - //If $raw_data is a WP_Error, something went wrong - if ( ! is_wp_error( $raw_data ) ) { - //Attempt to convert the returned JSON into an array - $raw_data = json_decode( $raw_data['body'], true ); - - if( ! isset( $raw_data['error'] ) ) { - //If decoding was successful - if ( ! empty( $raw_data ) ) { - //If there are some entries (events) to process - //Loop through each event, extracting the relevant information - foreach ( $raw_data['items'] as $event ) { - $id = ( isset( $event['id'] ) ? esc_html( $event['id'] ) : '' ); - $title = ( isset( $event['summary'] ) ? esc_html( $event['summary'] ) : '' ); - $description = ( isset( $event['description'] ) ? $event['description'] : '' ); - $link = ( isset( $event['htmlLink'] ) ? esc_url( $event['htmlLink'] ) : '' ); - $location = ( isset( $event['location'] ) ? esc_html( $event['location'] ) : '' ); - - if( isset( $event['start']['dateTime'] ) ) { - $start_time = $this->iso_to_ts( $event['start']['dateTime'] ); - } else if( isset( $event['start']['date'] ) ) { - $start_time = $this->iso_to_ts( $event['start']['date'] ); - } else { - $start_time = null; - } - - if( isset( $event['end']['dateTime'] ) ) { - $end_time = $this->iso_to_ts( $event['end']['dateTime'] ); - } else if( isset( $event['end']['date'] ) ) { - $end_time = $this->iso_to_ts( $event['end']['date'] ); - } else { - $end_time = null; - } - - //Create a GCE_Event using the above data. Add it to the array of events - $this->events[] = new GCE_Event( $this, $id, $title, $description, $location, $start_time, $end_time, $link ); - } - } else { - //json_decode failed - $this->error = __( 'Some data was retrieved, but could not be parsed successfully. Please ensure your feed settings are correct.', 'gce' ); - } - } else { - $this->error = __( 'An error has occured.', 'gce' ); - $this->error .= '
              ' . $raw_data['error']['message'] . '
              '; - } - } else{ - //Generate an error message from the returned WP_Error - $this->error = $raw_data->get_error_message() . __( ' Please ensure your calendar ID is correct.', 'gce' ); - } - } - - if( ! empty( $this->error ) ) { - if( current_user_can( 'manage_options' ) ) { - echo $this->error; - return; - } - } else { - if( $this->cache > 0 && false === get_transient( 'gce_feed_' . $this->id ) ) { - $this->cache_events(); - } - } - } - - /** - * Convert an ISO date/time to a UNIX timestamp - * - * @since 2.0.0 - */ - private function iso_to_ts( $iso ) { - sscanf( $iso, "%u-%u-%uT%u:%u:%uZ", $year, $month, $day, $hour, $minute, $second ); - return mktime( $hour, $minute, $second, $month, $day, $year ); - } - - /** - * @return int - */ - private function get_feed_start() { - - $range = get_post_meta( $this->id, 'gce_display_mode', true ); - $use_range = ( ( $range == 'date-range-list' || $range == 'date-range-grid' ) ? true : false ); - - if( $use_range ) { - $start = get_post_meta( $this->id, 'gce_feed_range_start', true ); - - $start = gce_date_unix( $start ); - - $interval = 'date-range'; - - } else { - $start = get_post_meta( $this->id, 'gce_feed_start_num', true ); - $interval = get_post_meta( $this->id, 'gce_feed_start', true ); - - if( empty( $start ) && $start !== '0' ) { - $start = 1; - } - } - - switch( $interval ) { - case 'days': - return time() - ( $start * 86400 ); - case 'months': - return time() - ( $start * 2629743 ); - case 'years': - return time() - ( $start * 31556926 ); - case 'date-range': - return $start; - } - - // fall back just in case. Falls back to 1 year ago - return time() - 31556926; - } - - /** - * @return int - */ - private function get_feed_end() { - - $range = get_post_meta( $this->id, 'gce_display_mode', true ); - $use_range = ( ( $range == 'date-range-list' || $range == 'date-range-grid' ) ? true : false ); - - if( $use_range ) { - $end = get_post_meta( $this->id, 'gce_feed_range_end', true ); - - $end = gce_date_unix( $end ); - - $interval = 'date-range'; - - } else { - $end = get_post_meta( $this->id, 'gce_feed_end_num', true ); - $interval = get_post_meta( $this->id, 'gce_feed_end', true ); - - if( empty( $end ) && $end !== '0' ) { - $end = 1; - } - } - - switch( $interval ) { - case 'days': - return time() + ( $end * 86400 ); - case 'months': - return time() + ( $end * 2629743 ); - case 'years': - return time() + ( $end * 31556926 ); - case 'date-range': - return mktime( 23, 59, 59, date( 'n', $end ), date( 'j', $end ), date( 'Y', $end ) ); - } - - // Falls back to 1 year ahead just in case - return time() + 31556926; - } - - function get_builder() { - - $this->builder = get_post( $this->id )->post_content; - - return $this->builder; - } -} diff --git a/wp-content/plugins/google-calendar-events/includes/events/event-builder.php b/wp-content/plugins/google-calendar-events/includes/events/event-builder.php new file mode 100644 index 0000000..f4f250e --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/events/event-builder.php @@ -0,0 +1,952 @@ +event = $event; + $this->calendar = $calendar; + $this->tags = $this->get_content_tags(); + } + + /** + * Get content tags. + * + * @since 3.0.0 + * + * @return array + */ + public function get_content_tags() { + return array( + + /* ============ * + * Content Tags * + * ============ */ + + 'title', // The event title. + 'event-title', // @deprecated An alias for 'title' tag. + 'description', // The event description. + + 'when', // Date and time of the event. + 'start-time', // Start time of the event. + 'start-date', // Start date of the event. + 'start-custom', // @deprecated Start time in a user defined format (set by tag 'format' attribute). + 'start-human', // Start time in a human friendly format. + 'end-time', // End time of the event. + 'end-date', // End date of the event. + 'end-custom', // @deprecated End date-time in a user defined format (set by tag 'format' attribute). + 'end-human', // End date-time in a human friendly format. + + 'duration', // How long the events lasts, in a human-readable format. + 'length', // @deprecated An alias of 'duration' tag. + + 'location', // Alias of start-location. + 'start-location', // Location name where the event starts. + 'maps-link', // @deprecated An alias for 'start-location-link' tag. + 'start-location-link', // Link to Google Maps querying the event start location address. + 'end-location', // Location name where the event ends. + 'end-location-link', // Link to Google Maps querying the event end location address. + + 'link', // An HTML link to the event URL. + 'url', // A string with the raw event link URL. + + 'calendar', // The title of the source calendar. + 'feed-title', // @deprecated An alias of 'calendar'. + + 'id', // The event unique ID. + 'uid', // An alias of ID. + 'event-id', // @deprecated An alias for 'id' tag. + 'calendar-id', // The calendar ID. + 'feed-id', // @deprecated An alias for 'calendar-id' tag. + 'cal-id', // @deprecated An alias for 'calendar-id' tag. + + /* ========= * + * Meta Tags * + * ========= */ + + 'attachments', // List of attachments. + 'attendees', // List of attendees. + 'organizer', // Creator info. + + /* ================ * + * Conditional Tags * + * ================ */ + + 'if-title', // If the event has a title. + 'if-description', // If the event has a description. + + 'if-now', // If the event is taking place now. + 'if-not-now', // If the event is not taking place now (may have ended or just not started yet). + 'if-started', // If the event has started (and may as well as ended). + 'if-not-started', // If the event has NOT started yet (event could be any time in the future). + 'if-ended', // If the event has ended (event could be any time in the past). + 'if-not-ended', // If the event has NOT ended (may as well as not started yet). + + 'if-whole-day', // If the event lasts the whole day. + 'if-all-day', // @deprecated Alias for 'if-whole-day'. + 'if-not-whole-day', // If the event does NOT last the whole day. + 'if-not-all-day', // @deprecated Alias for 'if-not-whole-day'. + 'if-end-time', // If the event has a set end time. + 'if-no-end-time', // If the event has NOT a set end time. + + 'if-multi-day', // If the event spans multiple days. + 'if-single-day', // If the event does not span multiple days. + + 'if-recurring', // If the event is a recurring event. + 'if-not-recurring', // If the event is NOT a recurring event. + + 'if-location', // @deprecated Alias for 'if-start-location'. + 'if-start-location', // Does the event has a start location? + 'if-end-location', // Does the event has an end location? + 'if-not-location', // @deprecated Alias for 'if-not-start-location'. + 'if-not-start-location', // Does the event has NOT a start location? + 'if-not-end-location', // Does the event has NOT an end location? + + ); + } + + /** + * Get event content. + * + * @since 3.0.0 + * + * @param string $template_tags + * + * @return string + */ + public function parse_event_template_tags( $template_tags = '' ) { + + // Process tags. + $result = preg_replace_callback( + $this->get_regex(), + array( $this, 'process_event_content' ), + $template_tags + ); + + // Removes extra consecutive
              tags. + return preg_replace( '#(
              \s*)+#i', '
              ', trim( $result ) ); + } + + /** + * Process event content. + * + * @since 3.0.0 + * + * @param string $match + * + * @return string + */ + public function process_event_content( $match ) { + + if ( $match[1] == '[' && $match[6] == ']' ) { + return substr( $match[0], 1, - 1 ); + } + + $tag = $match[2]; // Tag name without square brackets. + $before = $match[1]; // Before tag. + $partial = $match[5]; // HTML content between tags. + $after = $match[6]; // After tag. + $attr = $match[3]; // Tag attributes in quotes. + + $calendar = $this->calendar; + $event = $this->event; + + if ( ( $calendar instanceof Calendar ) && ( $event instanceof Event ) ) { + + switch ( $tag ) { + + /* ============ * + * Content Tags * + * ============ */ + + case 'title' : + case 'event-title' : + return $this->get_title( $event->title, $attr ); + + case 'description' : + return $this->get_description( $event->description, $attr ); + + case 'when' : + return $this->get_when( $event ); + + case 'end-date' : + case 'end-custom' : + case 'end-human' : + case 'end-time' : + case 'start-custom' : + case 'start-date' : + case 'start-human' : + case 'start-time' : + return $this->get_dt( $tag, $event, $attr ); + + case 'length' : + case 'duration' : + if ( false !== $event->end ) { + $duration = $event->start - $event->end; + $value = human_time_diff( $event->start, $event->end ); + } else { + $duration = '-1'; + $value = __( 'No end time', 'google-calendar-events' ); + } + return ' ' . $value . ''; + + case 'location' : + case 'start-location' : + case 'end-location' : + $location = $tag == 'end-location' ? $event->end_location['address'] : $event->start_location['address']; + return ' ' . wp_strip_all_tags( $location ) . ''; + + case 'start-location-link': + case 'end-location-link' : + case 'maps-link' : + $location = $tag == 'end-location-link' ? $event->end_location['address'] : $event->start_location['address']; + if ( ! empty( $location ) ) { + $url = '//maps.google.com?q=' . urlencode( $location ); + return $this->make_link( $tag, $url, $calendar->get_event_html( $event, $partial ), $attr ); + } + break; + + case 'link' : + case 'url' : + $content = 'link' == $tag ? $calendar->get_event_html( $event, $partial ) : ''; + return $this->make_link( $tag, $event->link, $content , $attr ); + + case 'calendar' : + case 'feed-title' : + return $event->source; + + case 'id' : + case 'uid' : + case 'event-id' : + return $event->uid; + + case 'calendar-id' : + case 'cal-id' : + case 'feed-id' : + return $event->calendar; + + /* ========= * + * Meta Tags * + * ========= */ + + case 'attachments' : + $attachments = $event->get_attachments(); + if ( ! empty( $attachments ) ) { + return $this->get_attachments( $attachments ); + } + break; + + case 'attendees' : + $attendees = $event->get_attendees(); + if ( ! empty( $attendees ) ) { + return $this->get_attendees( $attendees, $attr ); + } + break; + + case 'organizer' : + $organizer = $event->get_organizer(); + if ( ! empty( $organizer ) ) { + return $this->get_organizer( $organizer, $attr ); + } + break; + + /* ================ * + * Conditional Tags * + * ================ */ + + case 'if-title': + if ( ! empty( $event->title ) ) { + return $calendar->get_event_html( $event, $partial ); + } + break; + + case 'if-description': + if ( ! empty( $event->description ) ) { + return $calendar->get_event_html( $event, $partial ); + } + break; + + case 'if-now' : + case 'if-not-now' : + + $start_dt = $event->start_dt->setTimezone( $calendar->timezone ); + $start = $start_dt->getTimestamp(); + + if ( $event->end_dt instanceof Carbon ) { + $end = $event->end_dt->setTimezone( $calendar->timezone )->getTimestamp(); + } else { + return ''; + } + + $now = ( $start <= $calendar->now ) && ( $end >= $calendar->now ); + + if ( ( 'if-now' == $tag ) && $now ) { + return $calendar->get_event_html( $event, $partial ); + } elseif ( ( 'if-not-now' == $tag ) && ( false == $now ) ) { + return $calendar->get_event_html( $event, $partial ); + } + + break; + + case 'if-started' : + case 'if-not-started' : + + $start = $event->start_dt->setTimezone( $calendar->timezone )->getTimestamp(); + + if ( 'if-started' == $tag ) { + if ( $start < $calendar->now ) { + return $calendar->get_event_html( $event, $partial ); + } + } elseif ( 'if-not-started' == $tag ) { + if ( $start > $calendar->now ) { + return $calendar->get_event_html( $event, $partial ); + } + } + + break; + + case 'if-ended' : + case 'if-not-ended' : + + if ( false !== $event->end ) { + + $end = $event->end_dt->setTimezone( $calendar->timezone )->getTimestamp(); + + if ( 'if-ended' == $tag ) { + if ( $end < $calendar->now ) { + return $calendar->get_event_html( $event, $partial ); + } + } elseif ( 'if-not-ended' == $tag ) { + if ( $end > $calendar->now ) { + return $calendar->get_event_html( $event, $partial ); + } + } + + } + + break; + + case 'if-end-time' : + if ( false !== $event->end ) { + return $calendar->get_event_html( $event, $partial ); + } + break; + + case 'if-no-end-time' : + if ( false === $event->end ) { + return $calendar->get_event_html( $event, $partial ); + } + break; + + case 'if-all-day' : + case 'if-whole-day' : + case 'if-not-all-day' : + case 'if-not-whole-day' : + $bool = strstr( $tag, 'not' ) ? false : true; + if ( $bool === $event->whole_day ) { + return $calendar->get_event_html( $event, $partial ); + } + break; + + case 'if-recurring' : + if ( ! empty( $event->recurrence ) ) { + return $calendar->get_event_html( $event, $partial ); + } + break; + + case 'if-not-recurring' : + if ( false === $event->recurrence ) { + return $calendar->get_event_html( $event, $partial ); + } + break; + + case 'if-multi-day' : + if ( false !== $event->multiple_days ) { + return $calendar->get_event_html( $event, $partial ); + } + break; + + case 'if-single-day' : + if ( false === $event->multiple_days ) { + return $calendar->get_event_html( $event, $partial ); + } + break; + + case 'if-location' : + case 'if-start-location' : + if ( ! empty( $event->start_location['address'] ) ) { + return $calendar->get_event_html( $event, $partial ); + } + return false; + + case 'if-not-location' : + case 'if-not-start-location' : + if ( empty( $event->start_location['address'] ) ) { + return $calendar->get_event_html( $event, $partial ); + } + return ''; + + case 'if-not-end-location' : + if ( empty( $event->end_location['address'] ) ) { + return $calendar->get_event_html( $event, $partial ); + } + return ''; + + case 'if-end-location' : + if ( ! empty( $event->end_location['address'] ) ) { + return $calendar->get_event_html( $event, $partial ); + } + return ''; + + /* ======= * + * Default * + * ======= */ + + default : + return wp_kses_post( $before . $partial . $after ); + } + } + + return ''; + } + + /** + * Limit words in text string. + * + * @since 3.0.0 + * @access private + * + * @param string $text + * @param int $limit + * + * @return string + */ + private function limit_words( $text, $limit ) { + + $text = wp_strip_all_tags( $text ); + $limit = max( absint( $limit ), 0 ); + + if ( $limit > 0 && ( str_word_count( $text, 0 ) > $limit ) ) { + $words = str_word_count( $text, 2 ); + $pos = array_keys( $words ); + $text = trim( substr( $text, 0, $pos[ $limit ] ) ) . '…'; + } + + return $text; + } + + /** + * Get event title. + * + * @since 3.0.0 + * @access private + * + * @param $title + * @param $attr + * + * @return string + */ + private function get_title( $title, $attr ) { + + if ( empty( $title ) ) { + return ''; + } + + $attr = array_merge( array( + 'html' => '', // Parse HTML + 'limit' => 0, // Trim length to amount of words + ), (array) shortcode_parse_atts( $attr ) ); + + if ( ! empty( $attr['html'] ) ) { + $title = wp_kses_post( $title ); + $tag = 'div'; + } else { + $title = $this->limit_words( $title, $attr['limit'] ); + $tag = 'span'; + } + + return '<' . $tag . ' class="simcal-event-title" itemprop="name">' . $title . ''; + } + + /** + * Get event description. + * + * @since 3.0.0 + * @access private + * + * @param string $description + * @param string $attr + * + * @return string + */ + private function get_description( $description, $attr ) { + + if ( empty( $description ) ) { + return ''; + } + + $attr = array_merge( array( + 'limit' => 0, // Trim length to number of words + 'html' => 'no', // Parse HTML content + 'markdown' => 'no', // Parse Markdown content + 'autolink' => 'no', // Automatically convert plaintext URIs to anchors + ), (array) shortcode_parse_atts( $attr ) ); + + $allow_html = 'no' != $attr['html'] ? true : false; + $allow_md = 'no' != $attr['markdown'] ? true : false; + + $html = '
              '; + + // Markdown and HTML don't play well together, use one or the other in the same tag. + if ( $allow_html || $allow_md ) { + if ( $allow_html ) { + $html .= wp_kses_post( $description ); + } elseif ( $allow_md ) { + $markdown = new \Parsedown(); + $html .= $markdown->text( wp_strip_all_tags( $description ) ); + } + } else { + $html .= $this->limit_words( $description, $attr['limit'] ); + } + + $html .= '
              '; + + if ( 'no' != $attr['autolink'] ) { + $html = ' ' . make_clickable( $html ); + } + + return $html; + } + + /** + * Get event start and end date and time. + * + * @since 3.0.0 + * @access private + * + * @param Event $event + * + * @return string + */ + private function get_when( Event $event ) { + + $start = $event->start_dt->setTimezone( $event->timezone ); + $end = ! is_null( $event->end_dt ) ? $event->end_dt->setTimezone( $event->timezone ) : null; + + $time_start = ''; + $time_end = ''; + + if ( ! $event->whole_day ) { + + $time_start = $this->calendar->datetime_separator . + ' ' . + date_i18n( $this->calendar->time_format, $start->getTimestamp() ) . + ' '; + + if ( $end instanceof Carbon ) { + + $time_end = ' ' . + date_i18n( $this->calendar->time_format, $end->getTimestamp() ) . + ' '; + + } + + } + + if ( $event->multiple_days ) { + + $output = ' ' . + date_i18n( $this->calendar->date_format, $start->getTimestamp() ) . + ' ' . + $time_start; + + if ( $end instanceof Carbon ) { + + $output .= '-' . + ' ' . + date_i18n( $this->calendar->date_format, $end->getTimestamp() ) . + ' ' . + $time_end; + } + + } else { + + $time_end = ! empty( $time_start ) && ! empty( $time_end ) ? ' - ' . $time_end : ''; + + $output = ' ' . + date_i18n( $this->calendar->date_format, $start->getTimestamp() ) . + ' ' . + $time_start . + $time_end; + + } + + return trim( $output ); + } + + /** + * Get event date or time. + * + * @since 3.0.0 + * @access private + * + * @param string $tag + * @param Event $event + * @param string $attr + * + * @return string + */ + private function get_dt( $tag, Event $event, $attr ) { + + $bound = 0 === strpos( $tag, 'end' ) ? 'end' : 'start'; + if ( ( 'end' == $bound ) && ( false === $event->end ) ) { + return ''; + } + + $dt = $bound . '_dt'; + if ( ! $event->$dt instanceof Carbon ) { + return ''; + } + $event_dt = $event->$dt->setTimezone( $event->timezone ); + + $attr = array_merge( array( + 'format' => '', + ), (array) shortcode_parse_atts( $attr ) ); + + $format = ltrim( strstr( $tag, '-' ), '-' ); + $dt_format = ''; + if ( ! empty( $attr['format'] ) ) { + $dt_format = esc_attr( wp_strip_all_tags( $attr['format'] ) ); + } elseif ( 'date' == $format ) { + $dt_format = $this->calendar->date_format; + } elseif ( 'time' == $format ) { + $dt_format = $this->calendar->time_format; + } + + if ( 'human' == $format ) { + $value = human_time_diff( $event_dt->getTimestamp(), Carbon::now( $event->timezone )->getTimestamp() ); + } else { + $value = date_i18n( $dt_format, $event_dt->getTimestamp() ); + } + + return '' . + $value . + ''; + } + + /** + * Make a link. + * + * @since 3.0.0 + * @access private + * + * @param string $tag + * @param string $url + * @param string $content + * @param string $attr + * + * @return string + */ + private function make_link( $tag, $url, $content, $attr ) { + + if ( empty( $url ) ) { + return ''; + } + + $text = empty( $content ) ? $url : $content; + + $attr = array_merge( array( + 'autolink' => false, // Convert url to link anchor + 'newwindow' => false, // If autolink attribute is true, open link in new window + ), (array) shortcode_parse_atts( $attr ) ); + + $anchor = $tag != 'url' ? 'yes' : $attr['autolink']; + $target = $attr['newwindow'] !== false ? 'target="_blank"' : ''; + + return $anchor !== false ? ' ' . $text . '' : ' ' . $text; + } + + /** + * Get event attachments. + * + * @since 3.0.0 + * @access private + * + * @param array $attachments + * + * @return string + */ + private function get_attachments( $attachments ) { + + $html = '' . "\n"; + + return $html; + } + + /** + * Get attendees. + * + * @since 3.0.0 + * @access private + * + * @param array $attendees + * @param string $attr + * + * @return string + */ + private function get_attendees( $attendees, $attr ) { + + $attr = array_merge( array( + 'photo' => 'show', // show/hide attendee photo + 'email' => 'hide', // show/hide attendee email address + 'rsvp' => 'hide', // show/hide rsvp response status + 'response' => '', // filter attendees by rsvp response (yes/no/maybe) + ), (array) shortcode_parse_atts( $attr ) ); + + $html = '
                ' . "\n\t"; + + $known = 0; + $unknown = 0; + + foreach ( $attendees as $attendee ) { + + if ( 'yes' == $attr['response'] && 'yes' != $attendee['response'] ) { + continue; + } elseif ( 'no' == $attr['response'] && 'no' != $attendee['response'] ) { + continue; + } elseif ( 'maybe' == $attr['response'] && ! in_array( $attendee['response'], array( 'yes', 'maybe' ) ) ) { + continue; + } + + if ( ! empty( $attendee['name'] ) ) { + + $photo = 'hide' != $attr['photo'] ? '' : ''; + $response = 'hide' != $attr['rsvp'] ? $this->get_rsvp_response( $attendee['response'] ) : ''; + $guest = $photo . '' . $attendee['name'] . $response . ''; + + if ( ! empty( $attendee['email'] ) && ( 'show' == $attr['email'] ) ) { + $guest = sprintf( '%s', $guest ); + } + + $html .= '
              • ' . $guest . '
              • ' . "\n"; + + $known++; + + } else { + + $unknown++; + + } + } + + if ( $unknown > 0 ) { + if ( $known > 0 ) { + /* translators: One more person attending the event. */ + $others = sprintf( _n( '1 more attendee', '%s more attendees', $unknown, 'google-calendar-events' ), $unknown ); + } else { + /* translators: One or more persons attending the event whose name is unknown. */ + $others = sprintf( _n( '1 anonymous attendee', '%s anonymous attendees', $unknown, 'google-calendar-events' ), $unknown ); + } + $photo = $attr['photo'] !== 'hide' ? get_avatar( '', 128 ) : ''; + $html .= '
              • ' . $photo . '' . $others . '
              • ' . "\n"; + } elseif ( $known === 0 ) { + $html .= '
              • ' . _x( 'No one yet', 'No one yet rsvp to attend the event.', 'google-calendar-events' ) . '
              • ' . "\n"; + } + + $html .= '
              ' . "\n"; + + return $html; + } + + /** + * Format attendee rsvp response. + * + * @since 3.0.0 + * + * @param $response + * + * @return string + */ + private function get_rsvp_response( $response ) { + + if ( 'yes' == $response ) { + /* translators: Someone replied with 'yes' to a rsvp request. */ + $rsvp = __( 'Attending', 'google-calendar-events' ); + } elseif ( 'no' == $response ) { + /* translators: Someone replied with 'no' to a rsvp request. */ + $rsvp = __( 'Not attending', 'google-calendar-events' ); + } elseif ( 'maybe' == $response ) { + /* translators: Someone replied with 'maybe' to a rsvp request. */ + $rsvp = __( 'Maybe attending', 'google-calendar-events' ); + } else { + /* translators: Someone did not send yet a rsvp confirmation to join an event. */ + $rsvp = __( 'Response pending', 'google-calendar-events' ); + } + + return ' (' . $rsvp . ')'; + } + + /** + * Get event organizer. + * + * @since 3.0.0 + * @access private + * + * @param array $organizer + * @param string $attr + * + * @return string + */ + private function get_organizer( $organizer, $attr ) { + + $attr = array_merge( array( + 'photo' => 'show', // show/hide attendee photo + 'email' => 'hide', // show/hide attendee email address + ), (array) shortcode_parse_atts( $attr ) ); + + $photo = 'hide' != $attr['photo'] ? '' : ''; + $organizer_html = $photo . '' . $organizer['name'] . ''; + + if ( ! empty( $organizer['email'] ) && ( 'show' == $attr['email'] ) ) { + $organizer_html = sprintf( '%s', $organizer_html ); + } + + return '
              ' . $organizer_html . '
              '; + } + + /** + * Retrieve the event builder tag regular expression for searching. + * + * Combines the event builder tags in the regular expression in a regex class. + * The regular expression contains 6 different sub matches to help with parsing: + * + * 1 - An extra [ to allow for escaping tags with double square brackets [[]] + * 2 - The tag name + * 3 - The tag argument list + * 4 - The self closing / + * 5 - The content of a tag when it wraps some content. + * 6 - An extra ] to allow for escaping tags with double square brackets [[]] + * + * @since 3.0.0 + * + * @return string The tag search regular expression result + */ + private function get_regex() { + + // This is largely borrowed on get_shortcode_regex() from WordPress Core. + // @see /wp-includes/shortcodes.php (with some modification) + + $tagregexp = implode( '|', array_values( $this->tags ) ); + + return '/' + . '\\[' // Opening bracket + . '(\\[?)' // 1: Optional second opening bracket for escaping tags: [[tag]] + . "($tagregexp)" // 2: Tag name + . '(?![\\w-])' // Not followed by word character or hyphen + . '(' // 3: Unroll the loop: Inside the opening tag + . '[^\\]\\/]*' // Not a closing bracket or forward slash + . '(?:' + . '\\/(?!\\])' // A forward slash not followed by a closing bracket + . '[^\\]\\/]*' // Not a closing bracket or forward slash + . ')*?' + . ')' + . '(?:' + . '(\\/)' // 4: Self closing tag ... + . '\\]' // ... and closing bracket + . '|' + . '\\]' // Closing bracket + . '(?:' + . '(' // 5: Unroll the loop: Optionally, anything between the opening and closing tags + . '[^\\[]*+' // Not an opening bracket + . '(?:' + . '\\[(?!\\/\\2\\])' // An opening bracket not followed by the closing tag + . '[^\\[]*+' // Not an opening bracket + . ')*+' + . ')' + . '\\[\\/\\2\\]' // Closing tag + . ')?' + . ')' + . '(\\]?)' // 6: Optional second closing bracket for escaping tags: [[tag]] + . '/s'; + } + +} diff --git a/wp-content/plugins/google-calendar-events/includes/events/event.php b/wp-content/plugins/google-calendar-events/includes/events/event.php new file mode 100644 index 0000000..dc0da52 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/events/event.php @@ -0,0 +1,603 @@ +uid = esc_attr( $event['uid'] ); + } + + // Event source. + if ( ! empty( $event['source'] ) ) { + $this->source = esc_attr( $event['source'] ); + } + + // Event parent calendar id. + if ( ! empty( $event['calendar'] ) ) { + $this->calendar = max( intval( $event['calendar'] ), 0 ); + } + + // Event parent calendar timezone. + if ( ! empty( $event['timezone'] ) ) { + $this->timezone = esc_attr( $event['timezone'] ); + } + + /* ============= * + * Event Content * + * ============= */ + + // Event title. + if ( ! empty( $event['title'] ) ) { + $this->title = esc_html( $event['title'] ); + } + + // Event description. + if ( ! empty( $event['description'] ) ) { + $this->description = wp_kses_post( $event['description'] ); + } + + // Event link URL. + if ( ! empty( $event['link'] ) ) { + $this->link = esc_url_raw( $event['link'] ); + } + + // Event visibility. + if ( ! empty( $event['visibility'] ) ) { + $this->visibility = esc_attr( $event['visibility'] ); + $this->public = $this->visibility == 'public' ? true : false; + } + + /* =========== * + * Event Start * + * =========== */ + + if ( ! empty( $event['start'] ) ) { + $this->start = is_numeric( $event['start'] ) ? intval( $event['start'] ) : 0; + if ( ! empty( $event['start_utc'] ) ) { + $this->start_utc = is_numeric( $event['start_utc'] ) ? intval( $event['start_utc'] ) : 0; + } + if ( ! empty( $event['start_timezone'] ) ) { + $this->start_timezone = esc_attr( $event['start_timezone'] ); + } + $this->start_dt = Carbon::createFromTimestamp( $this->start, $this->start_timezone ); + $start_location = isset( $event['start_location'] ) ? $event['start_location'] : ''; + $this->start_location = $this->esc_location( $start_location ); + } + + /* ========= * + * Event End * + * ========= */ + + if ( ! empty( $event['end'] ) ) { + $this->end = is_numeric( $event['end'] ) ? intval( $event['end'] ): false; + if ( ! empty( $event['end_timezone'] ) ) { + $this->end_timezone = esc_attr( $event['end_timezone'] ); + } + if ( ! empty( $event['end_utc'] ) ) { + $this->end_utc = is_numeric( $event['end_utc'] ) ? intval( $event['end_utc'] ) : false; + $this->end_dt = Carbon::createFromTimestamp( $this->end, $this->end_timezone ); + } + $end_location = isset( $event['end_location'] ) ? $event['end_location'] : ''; + $this->end_location = $this->esc_location( $end_location ); + } + + /* ================== * + * Event Distribution * + * ================== */ + + // Whole day event. + if ( ! empty( $event['whole_day'] ) ) { + $this->whole_day = true === $event['whole_day'] ? true: false; + } + + // Multi day event. + if ( ! empty( $event['multiple_days'] ) ) { + $this->multiple_days = max( absint( $event['multiple_days'] ), 1 ); + } + + // Event recurrence. + if ( isset( $event['recurrence'] ) ) { + $this->recurrence = ! empty( $event['recurrence'] ) ? $event['recurrence'] : false; + } + + /* ========== * + * Event Meta * + * ========== */ + + // Event has venue(s). + if ( $this->start_location['venue'] || $this->end_location['venue'] ) { + $this->venue = true; + } + + // Event meta. + if ( ! empty( $event['meta'] ) ) { + $this->meta = is_array( $event['meta'] ) ? $event['meta'] : array(); + } + + // Event template. + if ( ! empty( $event['template'] ) ) { + $this->template = wp_kses_post( $event['template'] ); + } + + } + + /** + * Escape location. + * + * @since 3.0.0 + * @access private + * + * @param string|array $var + * + * @return array + */ + private function esc_location( $var = '' ) { + + $location = array(); + + if ( is_string( $var ) ) { + $var = array( + 'name' => $var, + 'address' => $var, + ); + } elseif ( is_bool( $var ) || is_null( $var ) ) { + $var = array(); + } else { + $var = (array) $var; + } + + $location['name'] = isset( $var['name'] ) ? esc_attr( strip_tags( $var['name'] ) ) : ''; + $location['address'] = isset( $var['address'] ) ? esc_attr( strip_tags( $var['address'] ) ) : ''; + $location['lat'] = isset( $var['lat'] ) ? $this->esc_coordinate( $var['lat'] ) : 0; + $location['lng'] = isset( $var['lng'] ) ? $this->esc_coordinate( $var['lng'] ) : 0; + + if ( ! empty( $location['name'] ) || ! empty( $location['address'] ) ) { + $location['venue'] = true; + } else { + $location['venue'] = false; + } + + return $location; + } + + /** + * Escape coordinate. + * + * @since 3.0.0 + * @access private + * + * @param int|float $latlng + * + * @return int|float + */ + private function esc_coordinate( $latlng = 0 ) { + return is_numeric( $latlng ) ? floatval( $latlng ) : 0; + } + + /** + * Set timezone. + * + * @since 3.0.0 + * @access private + * + * @param string $tz Timezone. + * + * @return bool + */ + public function set_timezone( $tz ) { + if ( in_array( $tz, timezone_identifiers_list() ) ) { + $this->timezone = $tz; + return true; + } + return false; + } + + /** + * Starts or ends today. + * + * @since 3.0.0 + * + * @return bool + */ + public function is_today() { + return $this->starts_today() || $this->ends_today(); + } + + /** + * Starts today. + * + * @since 3.0.0 + * + * @return bool + */ + public function starts_today() { + return $this->start_dt->setTimezone( $this->timezone )->isToday(); + } + + /** + * Ends today. + * + * @since 3.0.0 + * + * @return bool + */ + public function ends_today() { + return ! is_null( $this->end_dt ) ? $this->end_dt->setTimezone( $this->timezone )->isToday() : true; + } + + /** + * Starts tomorrow + * + * @since 3.0.0 + * + * @return bool + */ + public function starts_tomorrow() { + return $this->start_dt->setTimezone( $this->timezone )->isTomorrow(); + } + + /** + * Ends tomorrow. + * + * @since 3.0.0 + * + * @return bool + */ + public function ends_tomorrow() { + return ! is_null( $this->end_dt ) ? $this->end_dt->setTimezone( $this->timezone )->isTomorrow() : false; + } + + /** + * Started yesterday. + * + * @since 3.0.0 + * + * @return bool + */ + public function started_yesterday() { + return $this->start_dt->setTimezone( $this->timezone )->isYesterday(); + } + + /** + * Ended yesterday. + * + * @since 3.0.0 + * + * @return bool + */ + public function ended_yesterday() { + return ! is_null( $this->end_dt ) ? $this->end_dt->setTimezone( $this->timezone )->isYesterday() : false; + } + + /** + * Starts in the future. + * + * @since 3.0.0 + * + * @return bool + */ + public function starts_future() { + return $this->start_dt->setTimezone( $this->timezone )->isFuture(); + } + + /** + * Ends in the future. + * + * @since 3.0.0 + * + * @return bool + */ + public function ends_future() { + return ! is_null( $this->end_dt ) ? $this->end_dt->setTimezone( $this->timezone )->isFuture() : false; + } + + /** + * Started in the past. + * + * @since 3.0.0 + * + * @return bool + */ + public function started_past() { + return $this->start_dt->setTimezone( $this->timezone )->isPast(); + } + + /** + * Ended in the past. + * + * @since 3.0.0 + * + * @return bool + */ + public function ended_past() { + return ! is_null( $this->end_dt ) ? $this->end_dt->setTimezone( $this->timezone )->isPast() : false; + } + + /** + * Get color. + * + * @since 3.0.0 + * + * @param string $default + * + * @return string + */ + public function get_color( $default = '' ) { + if ( isset( $this->meta['color'] ) ) { + return ! empty( $this->meta['color'] ) ? esc_attr( $this->meta['color'] ) : $default; + } + return $default; + } + + /** + * Get attachments. + * + * @since 3.0.0 + * + * @return array + */ + public function get_attachments() { + return isset( $this->meta['attachments'] ) ? $this->meta['attachments'] : array(); + } + + /** + * Get attendees. + * + * @since 3.0.0 + * + * @return array + */ + public function get_attendees() { + return isset( $this->meta['attendees'] ) ? $this->meta['attendees'] : array(); + } + + /** + * Get organizer. + * + * @since 3.0.0 + * + * @return array + */ + public function get_organizer() { + return isset( $this->meta['organizer'] ) ? $this->meta['organizer'] : array(); + } + +} diff --git a/wp-content/plugins/google-calendar-events/includes/events/events.php b/wp-content/plugins/google-calendar-events/includes/events/events.php new file mode 100644 index 0000000..70fc8ec --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/events/events.php @@ -0,0 +1,605 @@ +set_events( $e ); + $this->set_timezone( $tz ); + } + + /** + * Get events. + * + * @since 3.0.0 + * + * @param string|int $n Amount of events (optional). + * + * @return array + */ + public function get_events( $n = '' ) { + if ( ! empty( $n ) && ! empty( $this->events ) ) { + $length = absint( $n ); + return array_slice( $this->events, 0, $length, true ); + } + return $this->events; + } + + /** + * Set events. + * + * @since 3.0.0 + * + * @param array $ev Events. + */ + public function set_events( array $ev ) { + $this->events = $ev; + } + + /** + * Set timezone. + * + * @since 3.0.0 + * + * @param string|\DateTimeZone $tz Timezone. + * + * @return Events + */ + public function set_timezone( $tz ) { + if ( $tz instanceof \DateTimeZone ) { + $tz = $tz->getName(); + } + $this->timezone = simcal_esc_timezone( $tz, $this->timezone ); + return $this; + } + + /** + * Shift events. + * + * @since 3.0.0 + * + * @param int $n + * + * @return Events + */ + public function shift( $n ) { + if ( ! empty( $this->events ) ) { + $offset = intval( $n ); + $length = count( $this->events ); + $this->set_events( array_slice( $this->events, $offset, $length, true ) ); + } + return $this; + } + + /** + * Filter private events. + * + * @since 3.0.0 + * + * @return Events + */ + public function private_only() { + $this->set_events( $this->filter_property( 'public', 'hide' ) ); + return $this; + } + + /** + * Filter public events. + * + * @since 3.0.0 + * + * @return Events + */ + public function public_only() { + $this->set_events( $this->filter_property( 'public', 'show' ) ); + return $this; + } + + /** + * Filter recurring events in the current block. + * + * @since 3.0.0 + * + * @return Events + */ + public function recurring() { + $this->set_events( $this->filter_property( 'recurrence', 'show' ) ); + return $this; + } + + /** + * Filter non recurring events in the current block. + * + * @since 3.0.0 + * + * @return Events + */ + public function not_recurring() { + $this->set_events( $this->filter_property( 'recurrence', 'hide' ) ); + return $this; + } + + /** + * Filter whole day events in the current block. + * + * @since 3.0.0 + * + * @return Events + */ + public function whole_day() { + $this->set_events( $this->filter_property( 'whole_day', 'show' ) ); + return $this; + } + + /** + * Filter non whole day in the current block. + * + * @since 3.0.0 + * + * @return Events + */ + public function not_whole_day() { + $this->set_events( $this->filter_property( 'whole_day', 'hide' ) ); + return $this; + } + + /** + * Filter events spanning multiple days in the current block. + * + * @since 3.0.0 + * + * @return Events + */ + public function multi_day() { + $this->set_events( $this->filter_property( 'multiple_days', 'show' ) ); + return $this; + } + + /** + * Filter events that do not span multiple days in the current block. + * + * @since 3.0.0 + * + * @return Events + */ + public function single_day() { + $this->set_events( $this->filter_property( 'multiple_days', 'hide' ) ); + return $this; + } + + /** + * Filter events in the current block that have a location. + * + * @since 3.0.0 + * + * @return Events + */ + public function with_location() { + $this->set_events( $this->filter_property( 'venue', 'show' ) ); + return $this; + } + + /** + * Filter events in the current block that do not have a location. + * + * @since 3.0.0 + * + * @return Events + */ + public function without_location() { + $this->set_events( $this->filter_property( 'venue', 'hide' ) ); + return $this; + } + + /** + * Filter whole day events. + * + * @since 3.0.0 + * @access private + * + * @param string $property + * @param string $toggle + * + * @return array + */ + private function filter_property( $property, $toggle ) { + $filtered = array(); + if ( ! empty( $this->events ) ) { + foreach ( $this->events as $ts => $events ) { + foreach ( $events as $event ) { + if ( 'hide' == $toggle ) { + if ( ! $event->$property ) { + $filtered[ $ts ][] = $event; + } + } elseif ( 'show' == $toggle ) { + if ( $event->$property ) { + $filtered[ $ts ][] = $event; + } + } + } + } + } + return $filtered; + } + + /** + * Filter events in the past. + * + * @since 3.0.0 + * + * @param int|string $present + * + * @return Events + */ + public function future( $present = '' ) { + $last = $this->get_last(); + $to = $last instanceof Event ? $last->start_utc : false; + if ( $to ) { + if ( empty( $present ) ) { + $present = Carbon::now( $this->timezone )->getTimestamp(); + } + $this->set_events( $this->filter_events( intval( $present ), $to ) ); + } + return $this; + } + + /** + * Filter events in the future. + * + * @since 3.0.0 + * + * @param int|string $present + * + * @return Events + */ + public function past( $present = '' ) { + $first = $this->get_last(); + $from = $first instanceof Event ? $first->start_utc : false; + if ( $from ) { + if ( empty( $present ) ) { + $present = Carbon::now( $this->timezone )->getTimestamp(); + } + $this->set_events( $this->filter_events( $from, intval( $present ) ) ); + } + return $this; + } + + /** + * Filter events after time. + * + * @since 3.0.0 + * + * @param int|string|\DateTime|Carbon $time + * + * @return Events + */ + public function after( $time ) { + $dt = $this->parse( $time ); + return ! is_null( $dt ) ? $this->future( $dt->getTimestamp() ) : $this; + } + + /** + * Filter events before time. + * + * @since 3.0.0 + * + * @param int|string|\DateTime|Carbon $time + * + * @return Events + */ + public function before( $time ) { + $dt = $this->parse( $time ); + return ! is_null( $dt ) ? $this->past( $dt->getTimestamp() ) : $this; + } + + /** + * Filter events from a certain time onwards. + * + * @since 3.0.0 + * + * @param int|string|\DateTime|Carbon $time + * + * @return Events + */ + public function from( $time ) { + $last = $this->parse( $time ); + if ( ! is_null( $last ) ) { + $this->set_events( $this->filter_events( $time, $last->getTimestamp() ) ); + } + return $this; + } + + /** + * Filter events up to to a certain time. + * + * @since 3.0.0 + * + * @param int|string|\DateTime|Carbon $time + * + * @return Events + */ + public function to( $time ) { + $first = $this->parse( $time ); + if ( ! is_null( $first ) ) { + $this->set_events( $this->filter_events( $first->getTimestamp(), $time ) ); + } + return $this; + } + + /** + * Parse time. + * + * @since 3.0.0 + * + * @param int|string|\DateTime|Carbon $time + * + * @return null|Carbon + */ + private function parse( $time ) { + if ( is_int( $time ) ) { + return Carbon::createFromTimestamp( $time, $this->timezone ); + } elseif ( is_string( $time ) && ! empty( $time ) ) { + return Carbon::parse( $time, $this->timezone ); + } elseif ( $time instanceof Carbon ) { + return $time->setTimezone( $this->timezone ); + } elseif ( $time instanceof \DateTime ) { + return Carbon::instance( $time )->setTimezone( $this->timezone ); + } + return null; + } + + /** + * Get first event of the current block. + * + * @since 3.0.0 + * + * @return null|Event + */ + public function get_first() { + return array_shift( $this->events ); + } + + /** + * Get last event of the current block. + * + * @since 3.0.0 + * + * @return null|Event + */ + public function get_last() { + return array_pop( $this->events ); + } + + /** + * Get the closest event in the future. + * + * @since 3.0.0 + * + * @return null|Event + */ + public function get_upcoming() { + return $this->get_closest( 'future' ); + } + + /** + * Get the closest event in the past. + * + * @since 3.0.0 + * + * @return null|Event + */ + public function get_latest() { + return $this->get_closest( 'past' ); + } + + /** + * Get the closest event compared to now. + * + * @since 3.0.0 + * @access private + * + * @param string $dir Direction: 'future' or 'past'. + * + * @return null|Event + */ + private function get_closest( $dir ) { + if ( 'future' == $dir ) { + return array_shift( $this->future()->get_events() ); + } elseif ( 'past' == $dir ) { + return array_shift( $this->past()->get_events() ); + } + return null; + } + + /** + * Get events for the given year. + * + * @since 3.0.0 + * + * @param int $year Year. + * + * @return array Multidimensional array with month number, week number and Event objects for each weekday. + */ + public function get_year( $year ) { + $y = intval( $year ); + $months = array(); + for ( $m = 1; $m <= 12; $m++ ) { + $months[ strval( $m ) ] = $this->get_month( $y, $m ); + } + return $months; + } + + /** + * Get events for the given month in the given year. + * + * @since 3.0.0 + * + * @param int $year Year. + * @param int $month Month number. + * + * @return array Multidimensional array with week number, day of the week and array of Event objects for each week day. + */ + public function get_month( $year, $month ) { + $y = intval( $year ); + $m = min( max( 1, absint( $month ) ), 12 ); + $days = Carbon::createFromDate( $y, $m, 2, $this->timezone )->startOfMonth()->daysInMonth; + $weeks = array(); + for ( $d = 1; $d < $days; $d++ ) { + $current = Carbon::createFromDate( $y, $m, $d ); + $week = $current->weekOfYear; + $day = $current->dayOfWeek; + $weeks[ strval( $week ) ][ strval( $day ) ] = $this->get_day( $y, $m, $d ); + } + return $weeks; + } + + /** + * Get events for the given week in the given year. + * + * @since 3.0.0 + * + * @param int $year Year. + * @param int $week Week number. + * + * @return array Associative array with day of the week for key and array of Event objects for value. + */ + public function get_week( $year, $week ) { + $y = intval( $year ); + $w = absint( $week ); + $m = date( 'n', strtotime( strval( $y ) . '-W' . strval( $w ) ) ); + $month_dt = Carbon::createFromDate( $y, $m, 2, $this->timezone ); + $days = array(); + for ( $d = 1; $d < $month_dt->daysInMonth; $d++ ) { + $current = Carbon::createFromDate( $y, $m, $d ); + if ( $w == $current->weekOfYear ) { + $days[ strval( $current->dayOfWeek ) ] = $this->get_day( $y, $m, $d ); + } + } + return $days; + } + + /** + * Get events for the given day of the given month in the given year. + * + * @since 3.0.0 + * + * @param int $year Year. + * @param int $month Month number. + * @param int $day Day of the month number. + * + * @return array Event objects for the day. + */ + public function get_day( $year, $month, $day ) { + $y = intval( $year ); + $m = min( max( 1, absint( $month ) ), 12 ); + $d = min( absint( $day ), 31 ); + $from = Carbon::createFromDate( $y, $m, $d, $this->timezone )->startOfDay()->getTimestamp(); + $to = Carbon::createFromDate( $y, $m, $d, $this->timezone )->endOfDay()->getTimestamp(); + return $this->filter_events( $from, $to ); + } + + /** + * Get events for today. + * + * @since 3.0.0 + * + * @return array Event objects for today. + */ + public function get_today() { + $start = Carbon::today( $this->timezone )->startOfDay()->getTimestamp(); + $end = Carbon::today( $this->timezone )->endOfDay()->getTimestamp(); + return $this->filter_events( $start, $end ); + } + + /** + * Get events for tomorrow. + * + * @since 3.0.0 + * + * @return array Event objects for tomorrow. + */ + public function get_tomorrow() { + $start = Carbon::tomorrow( $this->timezone )->startOfDay()->getTimestamp(); + $end = Carbon::tomorrow( $this->timezone )->endOfDay()->getTimestamp(); + return $this->filter_events( $start, $end ); + } + + /** + * Get events for yesterday. + * + * @since 3.0.0 + * + * @return array Event objects for yesterday. + */ + public function get_yesterday() { + $start = Carbon::yesterday( $this->timezone )->startOfDay()->getTimestamp(); + $end = Carbon::yesterday( $this->timezone )->endOfDay()->getTimestamp(); + return $this->filter_events( $start, $end ); + } + + /** + * Filter events by timestamps. + * + * @since 3.0.0 + * @access private + * + * @param int $from Lower bound timestamp. + * @param int $to Upper bound timestamp. + * + * @return array Filtered array of Event objects. + */ + private function filter_events( $from, $to ) { + $timestamps = array_keys( $this->events ); + $lower_bound = array_filter( $timestamps, function( $ts ) use( $from ) { + return intval( $ts ) > intval( $from ); + } ); + $higher_bound = array_filter( $lower_bound, function( $ts ) use( $to ) { + return intval( $ts ) > intval( $to ); + } ); + $filtered = array_combine( $higher_bound, $higher_bound ); + return array_intersect_key( $this->events, $filtered ); + } + +} diff --git a/wp-content/plugins/google-calendar-events/includes/feeds/admin/google-admin.php b/wp-content/plugins/google-calendar-events/includes/feeds/admin/google-admin.php new file mode 100644 index 0000000..b4fb61b --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/feeds/admin/google-admin.php @@ -0,0 +1,355 @@ +feed = $feed; + $this->google_api_key = $google_api_key; + $this->google_calendar_id = $google_calendar_id; + + $screen = simcal_is_admin_screen(); + + if ( 'calendar' == $screen ) { + $this->test_api_key_connection( $this->google_calendar_id ); + add_filter( 'simcal_settings_meta_tabs_li', array( $this, 'add_settings_meta_tab_li' ), 10, 1 ); + add_action( 'simcal_settings_meta_panels', array( $this, 'add_settings_meta_panel' ), 10, 1 ); + } + + add_action( 'simcal_process_settings_meta', array( $this, 'process_meta' ), 10, 1 ); + } + + /** + * Feed settings page fields. + * + * @since 3.0.0 + * + * @return array + */ + public function settings_fields() { + return array( + 'name' => $this->feed->name, + 'description' => __( "To read events from your public Google Calendars you'll need create a Google API key and save it here.", 'google-calendar-events' ) . + '

              ' . + '' . + sprintf( __( 'Note: Calendars configured to use the Google Calendar Pro add-on use a different method of authorization.', 'google-calendar-events' ), + simcal_ga_campaign_url( simcal_get_url( 'gcal-pro' ), 'core-plugin', 'settings-link' ) + ) . + '', + 'fields' => array( + 'api_key' => array( + 'type' => 'standard', + 'subtype' => 'text', + 'class' => array( 'simcal-wide-text regular-text', 'ltr' ), + 'title' => __( 'Google API Key', 'google-calendar-events' ), + 'validation' => array( $this, 'check_google_api_key' ), + ), + ), + ); + } + + /** + * Check if there's a Google API Key or a legacy key is being used. + * + * This method only checks if the api key setting is not empty. + * It is not currently possible to check or validate an API Key without performing a full request. + * On the settings page there are no known calendars to use for this so we can only check if there is a string. + * + * @since 3.0.0 + * + * @param string $api_key Google API key. + * + * @return true|string + */ + public function check_google_api_key( $api_key = '' ) { + + $message = ''; + $has_errors = false; + + if ( empty( $api_key ) ){ + $api_key = $this->google_api_key; + if ( empty( $api_key ) ) { + $settings = get_option( 'simple-calendar_settings_feeds' ); + $api_key = isset( $settings['google']['api_key'] ) ? esc_attr( $settings['google']['api_key'] ) : ''; + } + } + + $message = '

              ' . + sprintf( __( 'Step-by-step instructions ', 'google-calendar-events' ), + simcal_ga_campaign_url( simcal_get_url( 'docs' ) . '/google-api-key/', 'core-plugin', 'settings-link' ) + ) . + '
              ' . + sprintf( __( 'Google Developers Console ', 'google-calendar-events' ), + simcal_get_url( 'gdev-console' ) + ) . + '

              '; + + return $message; + } + + /** + * Add a tab to the settings meta box. + * + * @since 3.0.0 + * + * @param array $tabs + * + * @return array + */ + public function add_settings_meta_tab_li( $tabs ) { + return array_merge( $tabs, array( + 'google' => array( + 'label' => $this->feed->name, + 'target' => 'google-settings-panel', + 'class' => array( 'simcal-feed-type', 'simcal-feed-type-google' ), + 'icon' => 'simcal-icon-google', + ), + ) ); + } + + /** + * Add a panel to the settings meta box. + * + * @since 3.0.0 + * + * @param int $post_id + */ + public function add_settings_meta_panel( $post_id ) { + + $inputs = array( + $this->feed->type => array( + '_google_calendar_id' => array( + 'type' => 'standard', + 'subtype' => 'text', + 'name' => '_google_calendar_id', + 'id' => '_google_calendar_id', + 'title' => __( 'Calendar ID', 'google-calendar-events' ), + 'tooltip' => __( 'Visit your Google Calendar account, copy your public calendar ID, then paste it here.', 'google-calendar-events' ), + 'placeholder' => __( 'Enter a valid Google Calendar ID from a public calendar', 'google-calendar-events' ), + 'escaping' => array( $this->feed, 'esc_google_calendar_id' ), + 'validation' => array( $this, 'test_api_key_connection' ), + ), + '_google_events_search_query' => array( + 'type' => 'standard', + 'subtype' => 'text', + 'name' => '_google_events_search_query', + 'id' => '_google_events_search_query', + 'title' => __( 'Search query', 'google-calendar-events' ), + 'tooltip' => __( 'Type in keywords if you only want display events that match these terms. You can use basic boolean search operators too.', 'google-calendar-events' ), + 'placeholder' => __( 'Filter events to display by search terms...', 'google-calendar-events' ), + ), + '_google_events_recurring' => array( + 'type' => 'select', + 'name' => '_google_events_recurring', + 'id' => '_google_events_recurring', + 'title' => __( 'Recurring events', 'google-calendar-events' ), + 'tooltip' => __( 'Events that are programmed to repeat themselves periodically.', 'google-calendar-events' ), + 'options' => array( + 'show' => __( 'Show all', 'google-calendar-events' ), + 'first-only' => __( 'Only show first occurrence', 'google-calendar-events' ), + ), + ), + '_google_events_max_results' => array( + 'type' => 'standard', + 'subtype' => 'number', + 'name' => '_google_events_max_results', + 'id' => '_google_events_max_results', + 'title' => __( 'Maximum Events', 'google-calendar-events' ), + 'tooltip' => __( 'Google Calendar only allows to query for a maximum amount of 2500 events from a calendar each time.', 'google-calendar-events' ), + 'class' => array( + 'simcal-field-small', + ), + 'default' => '2500', + 'attributes' => array( + 'min' => '0', + 'max' => '2500', + ), + ), + ), + ); + + ?> +
              + + + + + +
              +
              + ID ) ? $post->ID : 0; + $feed = null; + if ( $feed_type = wp_get_object_terms( $post_id, 'calendar_feed' ) ) { + $feed = sanitize_title( current( $feed_type )->name ); + } + + $message = ''; + $error = ''; + $has_errors = false; + + $message .= '

              ' . + sprintf( + __( 'Step 1: Set the Google Calendar you want to use as "public." Detailed instructions', 'google-calendar-events' ) . '
              ' . + __( 'Step 2: Copy and paste your Google Calendar ID here. Detailed instructions', 'google-calendar-events' ), + simcal_ga_campaign_url( simcal_get_url( 'docs' ) . '/make-google-calendar-public/', 'core-plugin', 'settings-link' ), + simcal_ga_campaign_url( simcal_get_url( 'docs' ) . '/find-google-calendar-id/', 'core-plugin', 'settings-link' ) + ) . '

              '; + + if ( $post_id > 0 && ! is_null( $feed ) && ! empty( $this->feed->type ) ) { + + $no_key_notice = new Notice( array( + 'id' => array( 'calendar_' . $post_id => 'google-no-api-key' ), + 'type' => 'error', + 'screen' => 'calendar', + 'post' => $post_id, + 'dismissable' => false, + 'content' => '

              ' . + ' ' . + sprintf( + __( 'Your Google Calendar events will not show up until you create and save a Google API key.', 'google-calendar-events' ), + admin_url( 'edit.php?post_type=calendar&page=simple-calendar_settings&tab=feeds' ) + ) . + '

              ', + ) + ); + + if ( empty( $this->google_api_key ) && ( $feed == $this->feed->type ) ) { + + $has_errors = true; + $no_key_notice->add(); + + } else { + + $no_key_notice->remove(); + + try { + $this->feed->make_request( $google_calendar_id ); + } catch ( \Exception $e ) { + $error = $e->getMessage(); + $message = ! empty( $error ) ? '
              ' . $error . '
              ' : ''; + } + + $error_notice = new Notice( array( + 'id' => array( 'calendar_' . $post_id => 'google-error-response' ), + 'type' => 'error', + 'screen' => 'calendar', + 'post' => $post_id, + 'dismissable' => false, + 'content' => '

              ' . + ' ' . + __( 'While trying to retrieve events, Google returned an error:', 'google-calendar-events' ) . + '
              ' . $message . '
              ' . + __( 'Please ensure that both your Google Calendar ID and API Key are valid and that the Google Calendar you want to display is public.', 'google-calendar-events' ) . + '

              ', + ) + ); + + if ( ! empty( $error ) && ( $feed == $this->feed->type ) ) { + $error_notice->add(); + $has_errors = true; + } else { + $error_notice->remove(); + $has_errors = false; + } + + } + + } + + return $message; + } + + /** + * Process meta fields. + * + * @since 3.0.0 + * + * @param int $post_id + */ + public function process_meta( $post_id ) { + + $calendar_id = isset( $_POST['_google_calendar_id'] ) ? base64_encode( trim( $_POST['_google_calendar_id'] ) ): ''; + update_post_meta( $post_id, '_google_calendar_id', $calendar_id ); + + $search_query = isset( $_POST['_google_events_search_query'] ) ? sanitize_text_field( $_POST['_google_events_search_query'] ) : ''; + update_post_meta( $post_id, '_google_events_search_query', $search_query ); + + $recurring = isset( $_POST['_google_events_recurring'] ) ? sanitize_key( $_POST['_google_events_recurring'] ) : 'show'; + update_post_meta( $post_id, '_google_events_recurring', $recurring ); + + $max_results = isset( $_POST['_google_events_max_results'] ) ? absint( $_POST['_google_events_max_results'] ) : '2500'; + update_post_meta( $post_id, '_google_events_max_results', $max_results ); + + $this->test_api_key_connection( $calendar_id ); + } + +} diff --git a/wp-content/plugins/google-calendar-events/includes/feeds/admin/grouped-calendars-admin.php b/wp-content/plugins/google-calendar-events/includes/feeds/admin/grouped-calendars-admin.php new file mode 100644 index 0000000..d778787 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/feeds/admin/grouped-calendars-admin.php @@ -0,0 +1,189 @@ +feed = $feed; + + if ( 'calendar' == simcal_is_admin_screen() ) { + add_filter( 'simcal_settings_meta_tabs_li', array( $this, 'add_settings_meta_tab_li' ), 10, 1 ); + add_action( 'simcal_settings_meta_panels', array( $this, 'add_settings_meta_panel' ), 10, 1 ); + } + add_action( 'simcal_process_settings_meta', array( $this, 'process_meta' ), 10, 1 ); + } + + /** + * Add a tab to the settings meta box. + * + * @since 3.0.0 + * + * @param array $tabs + * + * @return array + */ + public function add_settings_meta_tab_li( $tabs ) { + return array_merge( $tabs, array( + 'grouped-calendars' => array( + 'label' => $this->feed->name, + 'target' => 'grouped-calendars-settings-panel', + 'class' => array( + 'simcal-feed-type', + 'simcal-feed-type-grouped-calendars', + ), + 'icon' => 'simcal-icon-docs', + ), + )); + } + + /** + * Add a panel to the settings meta box. + * + * @since 3.0.0 + * + * @param int $post_id + */ + public function add_settings_meta_panel( $post_id ) { + + ?> +
              + + + + + + + + + + +
              + + + +

              + 'select', + 'multiselect' => 'multiselect', + 'name' => '_grouped_calendars_ids', + 'id' => '_grouped_calendars_ids', + 'value' => $ids !== 0 ? $ids : '', + 'options' => $cals, + 'enhanced' => 'enhanced', + 'style' => 'ids' == $source ? '' : array( 'display' => 'none' ), + 'attributes' => array( + 'data-noresults' => __( 'No results found.', 'google-calendar-events' ), + ), + )); + + $meta = get_post_meta( $post_id, '_grouped_calendars_category', true ); + $category = $meta && is_array( $meta ) ? implode( ',', array_map( 'absint', $meta ) ): ''; + + $terms = get_terms( 'calendar_category' ); + + if ( ! empty( $terms ) ) { + + $categories = array(); + foreach ( $terms as $term ) { + $categories[ $term->term_id ] = $term->name; + } + + simcal_print_field( array( + 'type' => 'select', + 'multiselect' => 'multiselect', + 'name' => '_grouped_calendars_category', + 'id' => '_grouped_calendars_category', + 'value' => $category, + 'options' => $categories, + 'enhanced' => 'enhanced', + 'style' => 'category' == $source ? '' : array( 'display' => 'none' ), + 'attributes' => array( + 'data-noresults' => __( 'No results found.', 'google-calendar-events' ), + ), + ) ); + + } else { + + $style = 'category' == $source ? '' : 'display: none;'; + $style .= ' width: 100%; max-width: 500px'; + echo ''; + + } + + ?> +
              +
              + type = 'google'; + $this->name = __( 'Google Calendar', 'google-calendar-events' ); + + // Google client config. + $settings = get_option( 'simple-calendar_settings_feeds' ); + $this->google_api_key = isset( $settings['google']['api_key'] ) ? esc_attr( $settings['google']['api_key'] ) : ''; + $this->google_client_scopes = array( \Google_Service_Calendar::CALENDAR_READONLY ); + $this->google_client = $this->get_client(); + + if ( $this->post_id > 0 ) { + + // Google query args. + $this->google_calendar_id = $this->esc_google_calendar_id( get_post_meta( $this->post_id, '_google_calendar_id', true ) ); + $this->google_events_recurring = esc_attr( get_post_meta( $this->post_id, '_google_events_recurring', true ) ); + $this->google_search_query = esc_attr( get_post_meta( $this->post_id, '_google_events_search_query', true ) ); + $this->google_max_results = max( absint( get_post_meta( $this->post_id, '_google_events_max_results', true ) ), 1 ); + + if ( ! is_admin() || defined( 'DOING_AJAX' ) ) { + $this->events = ! empty( $this->google_api_key ) ? $this->get_events() : array(); + } + } + + if ( is_admin() && $load_admin ) { + $admin = new Admin( $this, $this->google_api_key, $this->google_calendar_id ); + $this->settings = $admin->settings_fields(); + } + } + + /** + * Decode a calendar id. + * + * @since 3.0.0 + * + * @param string $id Base64 encoded id. + * + * @return string + */ + public function esc_google_calendar_id( $id ) { + return base64_decode( $id ); + } + + /** + * Get events feed. + * + * Normalizes Google data into a standard array object to list events. + * + * @since 3.0.0 + * + * @return string|array + */ + public function get_events() { + + $calendar = get_transient( '_simple-calendar_feed_id_' . strval( $this->post_id ) . '_' . $this->type ); + + if ( empty( $calendar ) && ! empty( $this->google_calendar_id ) ) { + + $error = ''; + + try { + $response = $this->make_request( $this->google_calendar_id ); + } catch ( \Exception $e ) { + $error .= $e->getMessage(); + } + + if ( empty( $error ) && isset( $response['events'] ) && isset( $response['timezone'] ) ) { + + $calendar = array_merge( $response, array( 'events' => array() ) ); + + // If no timezone has been set, use calendar feed. + if ( 'use_calendar' == $this->timezone_setting ) { + $this->timezone = $calendar['timezone']; + } + + $source = isset( $response['title'] ) ? sanitize_text_field( $response['title'] ) : ''; + + if ( ! empty( $response['events'] ) && is_array( $response['events'] ) ) { + foreach ( $response['events'] as $event ) { + if ( $event instanceof \Google_Service_Calendar_Event ) { + + // Visibility. + $visibility = $event->getVisibility(); + // Public calendars may have private events which can't be properly accessed by simple api key method. + if ( $this->type == 'google' && ( $visibility == 'private' || $visibility == 'confidential' ) ) { + continue; + } + + // Event title & description. + $title = strip_tags( $event->getSummary() ); + $title = sanitize_text_field( iconv( mb_detect_encoding( $title, mb_detect_order(), true ), 'UTF-8', $title ) ); + $description = wp_kses_post( iconv( mb_detect_encoding( $event->getDescription(), mb_detect_order(), true ), 'UTF-8', $event->getDescription() ) ); + + $whole_day = false; + + // Event start properties. + $start_timezone = ! $event->getStart()->timeZone ? $calendar['timezone'] : $event->getStart()->timeZone; + if ( is_null( $event->getStart()->dateTime ) ) { + // Whole day event. + $date = Carbon::parse( $event->getStart()->date ); + $google_start = Carbon::createFromDate( $date->year, $date->month, $date->day, $start_timezone )->startOfDay()->addSeconds( 59 ); + $google_start_utc = Carbon::createFromDate( $date->year, $date->month, $date->day, 'UTC' )->startOfDay()->addSeconds( 59 ); + $whole_day = true; + } else { + $date = Carbon::parse( $event->getStart()->dateTime ); + $google_start = Carbon::create( $date->year, $date->month, $date->day, $date->hour, $date->minute, $date->second, $start_timezone ); + $google_start_utc = Carbon::create( $date->year, $date->month, $date->day, $date->hour, $date->minute, $date->second, 'UTC' ); + } + // Start. + $start = $google_start->getTimestamp(); + // Start UTC. + $start_utc = $google_start_utc->getTimestamp(); + + $end = $end_utc = $end_timezone = ''; + $span = 0; + if ( false == $event->getEndTimeUnspecified() ) { + + // Event end properties. + $end_timezone = ! $event->getEnd()->timeZone ? $calendar['timezone'] : $event->getEnd()->timeZone; + if ( is_null( $event->getEnd()->dateTime ) ) { + // Whole day event. + $date = Carbon::parse( $event->getEnd()->date ); + $google_end = Carbon::createFromDate( $date->year, $date->month, $date->day, $end_timezone )->startOfDay()->subSeconds( 59 ); + $google_end_utc = Carbon::createFromDate( $date->year, $date->month, $date->day, 'UTC' )->startOfDay()->subSeconds( 59 ); + } else { + $date = Carbon::parse( $event->getEnd()->dateTime ); + $google_end = Carbon::create( $date->year, $date->month, $date->day, $date->hour, $date->minute, $date->second, $end_timezone ); + $google_end_utc = Carbon::create( $date->year, $date->month, $date->day, $date->hour, $date->minute, $date->second, 'UTC' ); + } + // End. + $end = $google_end->getTimestamp(); + // End UTC. + $end_utc = $google_end_utc->getTimestamp(); + + // Count multiple days. + $span = $google_start->setTimezone( $calendar['timezone'] )->diffInDays( $google_end->setTimezone( $calendar['timezone'] ) ); + + if ( $span == 0 ) { + if ( $google_start->toDateString() !== $google_end->toDateString() ) { + $span = 1; + } + } + } + + // Multiple days. + $multiple_days = $span > 0 ? $span : false; + + // Google cannot have two different locations for start and end time. + $start_location = $end_location = $event->getLocation(); + + // Recurring event. + $recurrence = $event->getRecurrence(); + $recurring_id = $event->getRecurringEventId(); + if ( ! $recurrence && $recurring_id ) { + $recurrence = true; + } + + // Event link. + if ( 'use_calendar' == $this->timezone_setting ) { + $link = add_query_arg( array( 'ctz' => $this->timezone ), $event->getHtmlLink() ); + } else { + $link = $event->getHtmlLink(); + } + + // Build the event. + $calendar['events'][ intval( $start ) ][] = array( + 'type' => 'google-calendar', + 'source' => $source, + 'title' => $title, + 'description' => $description, + 'link' => $link, + 'visibility' => $visibility, + 'uid' => $event->getICalUID(), + 'calendar' => $this->post_id, + 'timezone' => $this->timezone, + 'start' => $start, + 'start_utc' => $start_utc, + 'start_timezone' => $start_timezone, + 'start_location' => $start_location, + 'end' => $end, + 'end_utc' => $end_utc, + 'end_timezone' => $end_timezone, + 'end_location' => $end_location, + 'whole_day' => $whole_day, + 'multiple_days' => $multiple_days, + 'recurrence' => $recurrence, + 'template' => $this->events_template, + ); + + } + } + + if ( ! empty( $calendar['events'] ) ) { + + ksort( $calendar['events'], SORT_NUMERIC ); + + set_transient( + '_simple-calendar_feed_id_' . strval( $this->post_id ) . '_' . $this->type, + $calendar, + max( absint( $this->cache ), 1 ) // Since a value of 0 means forever we set the minimum here to 1 if the user has set it to be 0 + ); + } + } + + } else { + + $message = __( 'While trying to retrieve events, Google returned an error:', 'google-calendar-events' ); + $message .= '

              ' . $error . '

              '; + $message .= __( 'Please ensure that both your Google Calendar ID and API Key are valid and that the Google Calendar you want to display is public.', 'google-calendar-events' ) . '

              '; + $message .= __( 'Only you can see this notice.', 'google-calendar-events' ); + + return $message; + } + + } + + // If no timezone has been set, use calendar feed. + if ( 'use_calendar' == $this->timezone_setting && isset( $calendar['timezone'] ) ) { + $this->timezone = $calendar['timezone']; + } + + return isset( $calendar['events'] ) ? $calendar['events'] : array(); + } + + /** + * Query Google Calendar. + * + * @since 3.0.0 + * + * @param string $id A valid Google Calendar ID. + * @param int $time_min Lower bound timestamp. + * @param int $time_max Upper bound timestamp. + * + * @return array + * + * @throws \Exception On request failure will throw an exception from Google. + */ + public function make_request( $id = '', $time_min = 0, $time_max = 0 ) { + + $calendar = array(); + $google = $this->get_service(); + + if ( ! is_null( $google ) && ! empty( $id ) ) { + + // Build the request args. + $args = array(); + + // Expand recurring events. + if ( $this->google_events_recurring == 'show' ) { + $args['singleEvents'] = true; + } + + // Query events using search terms. + if ( ! empty( $this->google_search_query ) ) { + $args['q'] = rawurlencode( $this->google_search_query ); + } + + // Max results to query. + $args['maxResults'] = strval( min( absint( $this->google_max_results ), 2500 ) ); + + // Specify a timezone. + $timezone = ''; + if ( 'use_calendar' != get_post_meta( $this->post_id, '_feed_timezone_setting', true ) ) { + $args['timeZone'] = $timezone = $this->timezone; + } + + // Lower bound (inclusive) for an event's end time to filter by. + $earliest_event = intval( $this->time_min ); + if ( $earliest_event > 0 ) { + $timeMin = Carbon::now(); + if ( ! empty( $timezone ) ) { + $timeMin->setTimezone( $timezone ); + } + $timeMin->setTimestamp( $earliest_event ); + $args['timeMin'] = $timeMin->toRfc3339String(); + } + + // Upper bound (exclusive) for an event's start time to filter by. + $latest_event = intval( $this->time_max ); + if ( $latest_event > 0 ) { + $timeMax = Carbon::now(); + if ( ! empty( $timezone ) ) { + $timeMax->setTimezone( $timezone ); + } + $timeMax->setTimestamp( $latest_event ); + $args['timeMax'] = $timeMax->toRfc3339String(); + } + + // Query events in calendar. + $response = $google->events->listEvents( $id, $args ); + + if ( $response instanceof \Google_Service_Calendar_Events ) { + $calendar = array( + 'id' => $id, + 'title' => $response->getSummary(), + 'description' => $response->getDescription(), + 'timezone' => $response->getTimeZone(), + 'url' => esc_url( '//www.google.com/calendar/embed?src=' . $id ), + 'events' => $response->getItems(), + ); + } + } + + return $calendar; + } + + /** + * Google API Client. + * + * @since 3.0.0 + * @access private + * + * @return \Google_Client + */ + private function get_client() { + + $client = new \Google_Client(); + $client->setApplicationName( 'Simple Calendar' ); + $client->setScopes( $this->google_client_scopes ); + $client->setDeveloperKey( $this->google_api_key ); + $client->setAccessType( 'online' ); + + return $client; + } + + /** + * Google Calendar Service. + * + * @since 3.0.0 + * @access protected + * + * @return null|\Google_Service_Calendar + */ + protected function get_service() { + return $this->google_client instanceof \Google_Client ? new \Google_Service_Calendar( $this->google_client ) : null; + } + +} diff --git a/wp-content/plugins/google-calendar-events/includes/feeds/grouped-calendars.php b/wp-content/plugins/google-calendar-events/includes/feeds/grouped-calendars.php new file mode 100644 index 0000000..a6f4339 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/feeds/grouped-calendars.php @@ -0,0 +1,208 @@ +type = 'grouped-calendars'; + $this->name = __( 'Grouped Calendar', 'google-calendar-events' ); + + if ( $this->post_id > 0 ) { + $this->set_source(); + if ( ! is_admin() || defined( 'DOING_AJAX' ) ) { + $this->events = $this->get_events(); + } + } + + if ( is_admin() && ! defined( 'DOING_AJAX' ) ) { + new Grouped_Calendars_Admin( $this ); + } + } + + /** + * Set source. + * + * @since 3.0.0 + * + * @param array $ids Array of calendar ids. + */ + public function set_source( $ids = array() ) { + + $source = get_post_meta( $this->post_id, '_grouped_calendars_source', true ); + + if ( 'ids' == $source ) { + + if ( empty( $ids ) ) { + $ids = get_post_meta( $this->post_id, '_grouped_calendars_ids', true ); + } + + $this->calendars_ids = ! empty( $ids ) && is_array( $ids ) ? array_map( 'absint', $ids ) : array(); + + } elseif ( 'category' == $source ) { + + $categories = get_post_meta( $this->post_id, '_grouped_calendars_category', true ); + + if ( $categories && is_array( $categories ) ) { + + $tax_query = array( + 'taxonomy' => 'calendar_category', + 'field' => 'term_id', + 'terms' => array_map( 'absint', $categories ), + ); + + $calendars = get_posts( array( + 'post_type' => 'calendar', + 'tax_query' => array( $tax_query ), + 'nopaging' => true, + 'fields' => 'ids', + ) ); + + $this->calendars_ids = ! empty( $calendars ) && is_array( $calendars ) ? $calendars : array(); + } + + } + } + + /** + * Get events from multiple calendars. + * + * @since 3.0.0 + * + * @return array + */ + public function get_events() { + + $ids = $this->calendars_ids; + $events = get_transient( '_simple-calendar_feed_id_' . strval( $this->post_id ) . '_' . $this->type ); + + if ( empty( $events ) && ! empty( $ids ) && is_array( $ids ) ) { + + $events = array(); + + foreach ( $ids as $cal_id ) { + + $calendar = simcal_get_calendar( intval( $cal_id ) ); + + if ( $calendar instanceof Calendar ) { + $events = is_array( $calendar->events ) ? $events + $calendar->events : $events; + } + + } + + if ( ! empty( $events ) ) { + + // Trim events to set the earliest one as specified in feed settings. + $earliest_event = intval( $this->time_min ); + if ( $earliest_event > 0 ) { + $events = $this->array_filter_key( $events, array( $this, 'filter_events_before' ) ); + } + + // Trim events to set the latest one as specified in feed settings. + $latest_event = intval( $this->time_max ); + if ( $latest_event > 0 ) { + $events = $this->array_filter_key( $events, array( $this, 'filter_events_after' ) ); + } + + set_transient( + '_simple-calendar_feed_id_' . strval( $this->post_id ) . '_' . $this->type, + $events, + absint( $this->cache ) + ); + } + + } + + return $events; + } + + /** + * Array filter key. + * + * `array_filter` does not allow to parse an associative array keys before PHP 5.6. + * + * @since 3.0.0 + * @access private + * + * @param array $array + * @param array|string $callback + * + * @return array + */ + private function array_filter_key( array $array, $callback ) { + $matched_keys = array_filter( array_keys( $array ), $callback ); + return array_intersect_key( $array, array_flip( $matched_keys ) ); + } + + /** + * Array filter callback. + * + * @since 3.0.0 + * @access private + * + * @param int $event Timestamp. + * + * @return bool + */ + private function filter_events_before( $event ) { + if ( $this->time_min !== 0 ) { + return intval( $event ) > intval( $this->time_min ); + } + return true; + } + + /** + * Array filter callback. + * + * @since 3.0.0 + * @access private + * + * @param int $event Timestamp. + * + * @return bool + */ + private function filter_events_after( $event ) { + if ( $this->time_max !== 0 ) { + return intval( $event ) < intval( $this->time_max ); + } + return true; + } + +} diff --git a/wp-content/plugins/google-calendar-events/includes/functions/admin.php b/wp-content/plugins/google-calendar-events/includes/functions/admin.php new file mode 100644 index 0000000..6294c6a --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/functions/admin.php @@ -0,0 +1,450 @@ +objects; + return $objects instanceof \SimpleCalendar\Objects ? $objects->get_admin_pages() : array(); +} + +/** + * Get a settings page tab. + * + * @since 3.0.0 + * + * @param string $page + * + * @return null|\SimpleCalendar\Abstracts\Admin_Page + */ +function simcal_get_admin_page( $page ) { + $objects = \SimpleCalendar\plugin()->objects; + return $objects instanceof \SimpleCalendar\Objects ? $objects->get_admin_page( $page ) : null; +} + +/** + * Get a field. + * + * @since 3.0.0 + * + * @param array $args + * @param string $name + * + * @return null|\SimpleCalendar\Abstracts\Field + */ +function simcal_get_field( $args, $name = '' ) { + $objects = \SimpleCalendar\plugin()->objects; + return $objects instanceof \SimpleCalendar\Objects ? $objects->get_field( $args, $name ) : null; +} + +/** + * Print a field. + * + * @since 3.0.0 + * + * @param array $args + * @param string $name + * + * @return void + */ +function simcal_print_field( $args, $name = '' ) { + + $field = simcal_get_field( $args, $name ); + + if ( $field instanceof \SimpleCalendar\Abstracts\Field ) { + $field->html(); + } +} + +/** + * Clear feed transients cache. + * + * @since 3.0.0 + * + * @param string|int|array|\WP_Post $id + * + * @return bool + */ +function simcal_delete_feed_transients( $id = '' ) { + + if ( is_numeric( $id ) ) { + $id = intval( $id ) > 0 ? absint( $id ) : simcal_get_calendars(); + } elseif ( $id instanceof WP_Post ) { + $id = $id->ID; + } elseif ( is_array( $id ) ) { + $id = array_map( 'absint', $id ); + } else { + $id = simcal_get_calendars( '', true ); + } + + $feed_types = simcal_get_feed_types(); + + if ( is_array( $id ) ) { + + $posts = get_posts( array( + 'post_type' => 'calendar', + 'fields' => 'ids', + 'post__in' => $id, + 'nopaging' => true, + ) ); + + foreach ( $posts as $post ) { + $calendar = simcal_get_calendar( $post ); + if ( $calendar instanceof \SimpleCalendar\Abstracts\Calendar ) { + foreach ( $feed_types as $feed_type ) { + delete_transient( '_simple-calendar_feed_id_' . strval( $calendar->id ) . '_' . $feed_type ); + } + } + } + + } else { + + $post = get_post( $id ); + $calendar = simcal_get_calendar( $post ); + if ( $calendar instanceof \SimpleCalendar\Abstracts\Calendar ) { + foreach ( $feed_types as $feed_type ) { + delete_transient( '_simple-calendar_feed_id_' . strval( $calendar->id ) . '_' . $feed_type ); + } + } + } + + return delete_transient( '_simple-calendar_feed_ids' ); +} + +/** + * Sanitize a variable of unknown type. + * + * Recursive helper function to sanitize a variable from input, + * which could also be a multidimensional array of variable depth. + * + * @since 3.0.0 + * + * @param mixed $var Variable to sanitize. + * @param string $func Function to use for sanitizing text strings (default 'sanitize_text_field') + * + * @return array|string Sanitized variable + */ +function simcal_sanitize_input( $var, $func = 'sanitize_text_field' ) { + + if ( is_null( $var ) ) { + return ''; + } + + if ( is_bool( $var ) ) { + if ( $var === true ) { + return 'yes'; + } else { + return 'no'; + } + } + + if ( is_string( $var ) || is_numeric( $var ) ) { + $func = is_string( $func ) && function_exists( $func ) ? $func : 'sanitize_text_field'; + return call_user_func( $func, trim( strval( $var ) ) ); + } + + if ( is_object( $var ) ) { + $var = (array) $var; + } + + if ( is_array( $var ) ) { + $array = array(); + foreach ( $var as $k => $v ) { + $array[ $k ] = simcal_sanitize_input( $v ); + } + return $array; + } + + return ''; +} + +/** + * Check if a screen is a plugin admin view. + * Returns the screen id if true, false (bool) if not. + * + * @since 3.0.0 + * + * @return string|bool + */ +function simcal_is_admin_screen() { + + $view = function_exists( 'get_current_screen' ) ? get_current_screen() : false; + + if ( $view instanceof WP_Screen ) { + + // Screens used by this plugin. + $screens = array( + 'customize', + 'calendar', + 'calendar_page_simple-calendar_add_ons', + 'calendar_page_simple-calendar_settings', + 'calendar_page_simple-calendar_tools', + 'edit-calendar', + 'edit-calendar_category', + 'dashboard_page_simple-calendar_about', + 'dashboard_page_simple-calendar_credits', + 'dashboard_page_simple-calendar_translators', + ); + if ( in_array( $view->id, $screens ) ) { + return $view->id; + } + } + + return false; +} + +/** + * Update add-on. + * + * @since 3.0.0 + * + * @param string $_api_url The URL pointing to the custom API end + * @param string $_plugin_file Path to the plugin file. + * @param array $_api_data Optional data to send with API calls. + * + * @return \SimpleCalendar\Admin\Updater + */ +function simcal_addon_updater( $_api_url, $_plugin_file, $_api_data = null ) { + return new \SimpleCalendar\Admin\Updater( $_api_url, $_plugin_file, $_api_data ); +} + +/** + * Get add-on license key. + * + * @since 3.0.0 + * + * @param string $addon Unique add-on id. + * + * @return null|string + */ +function simcal_get_license_key( $addon ) { + $licenses = get_option( 'simple-calendar_settings_licenses', array() ); + if ( isset( $licenses['keys'][ $addon ] ) ) { + return empty( $licenses['keys'][ $addon ] ) ? null : $licenses['keys'][ $addon ]; + } + return null; +} + +/** + * Get add-on license status. + * + * Without passing arguments returns all the statuses array. + * + * @since 3.0.0 + * + * @param null|string $addon Unique add-on slug. + * + * @return array|string + */ +function simcal_get_license_status( $addon = null ) { + $licenses = get_option( 'simple-calendar_licenses_status', array() ); + return isset( $licenses[ $addon ] ) ? $licenses[ $addon ] : $licenses; +} + +/** + * Get admin notices. + * + * @since 3.0.0 + * + * @return array + */ +function simcal_get_admin_notices() { + $notices = new \SimpleCalendar\Admin\Notices(); + return $notices->get_notices(); +} + +/** + * Delete admin notices. + * + * @since 3.0.0 + */ +function simcal_delete_admin_notices() { + delete_option( 'simple-calendar_admin_notices' ); +} + +/** + * Print a shortcode tip. + * + * @since 3.0.0 + * + * @param int $post_id + * + * @return void + */ +function simcal_print_shortcode_tip( $post_id ) { + + $browser = new \Browser(); + if ( $browser::PLATFORM_APPLE == $browser->getPlatform() ) { + $cmd = '⌘+C'; + } else { + $cmd = 'Ctrl+C'; + } + + $shortcut = sprintf( __( 'Press %s to copy.', 'google-calendar-events' ), $cmd ); + $shortcode = sprintf( '[calendar id="%s"]', $post_id ); + + echo ""; +} + +/** + * Google Analytics campaign URL. + * + * @since 3.0.0 + * + * @param string $base_url Plain URL to navigate to + * @param string $campaign GA "campaign" tracking value + * @param string $content GA "content" tracking value + * @param bool $raw Use esc_url_raw instead (default = false) + * + * @return string $url Full Google Analytics campaign URL + */ +function simcal_ga_campaign_url( $base_url, $campaign, $content, $raw = false ) { + + $url = add_query_arg( array( + 'utm_source' => 'inside-plugin', + 'utm_medium' => 'link', + 'utm_campaign' => $campaign, // i.e. 'core-plugin', 'gcal-pro' + 'utm_content' => $content // i.e. 'sidebar-link', 'settings-link' + ), $base_url ); + + if ( $raw ) { + return esc_url_raw( $url ); + } + + return esc_url( $url ); +} + +/** + * Newsletter signup form. + * + * @since 3.0.0 + * + * @return void + */ +function simcal_newsletter_signup() { + + if ( $screen = simcal_is_admin_screen() ) { + + global $current_user; + get_currentuserinfo(); + + $name = $current_user->user_firstname ? $current_user->user_firstname : ''; + + ?> +
              + + +
              +
              +
              + 0 ) { + simcal_print_calendar( $id ); + } +} + +/** + * Convert date from mm/dd/yyyy to unix timestamp. + * @deprecated Assumes a US-only time format. + */ +function gce_date_unix( $date = '' ) { + if ( empty( $date ) ) { + $current_time = current_time( 'timestamp' ); + $timestamp = mktime( 0, 0, 0, date( 'm', $current_time ), date( 'd', $current_time ), date( 'Y', $current_time ) ); + } else { + $date = explode( '/', $date ); + $month = $date[0]; + $day = $date[1]; + $year = $date[2]; + $timestamp = mktime( 0, 0, 0, $month, $day, $year ); + } + return $timestamp; +} diff --git a/wp-content/plugins/google-calendar-events/includes/functions/shared.php b/wp-content/plugins/google-calendar-events/includes/functions/shared.php new file mode 100644 index 0000000..c185edd --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/functions/shared.php @@ -0,0 +1,409 @@ +ID, '_simcal_attach_calendar_id', true ) ) { + return true; + } + if ( has_shortcode( $post->post_content, 'calendar' ) ) { + return true; + } + } + } + + return false; +} + +/** + * Get plugin URL. + * + * @param string $url + * + * @return string + */ +function simcal_get_url( $url ) { + return \SimpleCalendar\plugin()->get_url( $url ); +} + +/** + * Get events feed types. + * + * @since 3.0.0 + * + * @return array + */ +function simcal_get_feed_types() { + $objects = \SimpleCalendar\plugin()->objects; + return $objects instanceof \SimpleCalendar\Objects ? $objects->get_feed_types() : array(); +} + +/** + * Get an events feed. + * + * @since 3.0.0 + * + * @param string|int|object $object + * + * @return null|\SimpleCalendar\Abstracts\Feed + */ +function simcal_get_feed( $object ) { + $objects = \SimpleCalendar\plugin()->objects; + return $objects instanceof \SimpleCalendar\Objects ? $objects->get_feed( $object ) : null; +} + +/** + * Get calendar types. + * + * @since 3.0.0 + * + * @return array + */ +function simcal_get_calendar_types() { + $objects = \SimpleCalendar\plugin()->objects; + return $objects instanceof \SimpleCalendar\Objects ? $objects->get_calendar_types() : array(); +} + +/** + * Get a calendar. + * + * @since 3.0.0 + * + * @param string|int|object|WP_Post $object + * + * @return null|\SimpleCalendar\Abstracts\Calendar + */ +function simcal_get_calendar( $object ) { + $objects = \SimpleCalendar\plugin()->objects; + return $objects instanceof \SimpleCalendar\Objects ? $objects->get_calendar( $object ) : null; +} + +/** + * Get a calendar view. + * + * @since 3.0.0 + * + * @param int $id + * @param string $name + * + * @return mixed + */ +function simcal_get_calendar_view( $id = 0, $name = '' ) { + $objects = \SimpleCalendar\plugin()->objects; + return $objects instanceof \SimpleCalendar\Objects ? $objects->get_calendar_view( $id, $name ) : false; +} + +/** + * Print a calendar. + * + * @since 3.0.0 + * + * @param int|object|WP_Post $object + * + * @return void + */ +function simcal_print_calendar( $object ) { + + $calendar = simcal_get_calendar( $object ); + + if ( $calendar instanceof \SimpleCalendar\Abstracts\Calendar ) { + $calendar->html(); + } +} + +/** + * Common scripts variables. + * + * Variables to print in scripts localization + * + * @since 3.0.0 + * + * @return array + */ +function simcal_common_scripts_variables() { + + $vars = array( + 'ajax_url' => \SimpleCalendar\plugin()->ajax_url(), + 'nonce' => wp_create_nonce( 'simcal' ), + 'locale' => \SimpleCalendar\plugin()->locale, + 'text_dir' => is_rtl() ? 'rtl' : 'ltr', + 'months' => array( + 'full' => simcal_get_calendar_names_i18n( 'month', 'full' ), + 'short' => simcal_get_calendar_names_i18n( 'month', 'short' ), + ), + 'days' => array( + 'full' => simcal_get_calendar_names_i18n( 'day', 'full' ), + 'short' => simcal_get_calendar_names_i18n( 'day', 'short' ), + ), + 'meridiem' => simcal_get_calendar_names_i18n( 'meridiem' ), + ); + + return array_merge( $vars, apply_filters( 'simcal_common_scripts_variables', array() ) ); +} + +/** + * Get feed IDs and names. + * + * @since 3.0.0 + * + * @param string|int|array $exclude Id or array of ids to drop from results. + * @param bool $cached Use cached query. + * + * @return array Associative array with ids as keys and feed titles as values. + */ +function simcal_get_calendars( $exclude = '', $cached = true ) { + + $calendars = get_transient( '_simple-calendar_feed_ids' ); + + if ( ! $calendars || $cached === false ) { + + $posts = get_posts( array( + 'post_type' => 'calendar', + 'nopaging' => true, + ) ); + + $calendars = array(); + foreach ( $posts as $post ) { + $calendars[ $post->ID ] = $post->post_title; + } + asort( $calendars ); + + set_transient( '_simple-calendar_feed_ids', $calendars, 604800 ); + } + + if ( ! empty( $exclude ) ) { + if ( is_numeric( $exclude ) ) { + unset( $calendars[ intval( $exclude ) ] ); + } elseif ( is_array( $exclude ) ) { + array_diff_key( $calendars, array_map( 'intval', array_keys( $exclude ) ) ); + } + } + + return $calendars; +} + +/** + * Get localized list of months or day names. + * + * Each day or month matches the array index (0-11 for months or 0-6 for days). + * + * @since 3.0.0 + * + * @param string $group Either 'month', 'day' or 'meridiem' names to localize. + * @param string $style Return names in 'short' or 'full' form (default full long form). + * + * @return array + */ +function simcal_get_calendar_names_i18n( $group, $style = 'full' ) { + + $names = array(); + + if ( in_array( $group, array( 'month', 'day', 'meridiem' ) ) ) { + + $format = ''; + $length = 0; + + $date = Carbon\Carbon::now(); + + if ( 'month' == $group ) { + $date->month( 0 )->startOfMonth(); + $format = 'short' == $style ? 'M' : 'F'; + $length = 11; + } elseif ( 'day' == $group ) { + $date->next( 6 ); + $format = 'short' == $style ? 'D' : 'l'; + $length = 6; + } elseif ( 'meridiem' == $group ) { + $date->startOfDay(); + $am = $date->addHour( 1 )->getTimestamp(); + $pm = $date->addHours( 13 )->getTimestamp(); + return array( + 'AM' => date_i18n( 'A', $am ), + 'am' => date_i18n( 'a', $am ), + 'PM' => date_i18n( 'A', $pm ), + 'pm' => date_i18n( 'a', $pm ), + ); + } + + $i = 0; + while ( $i <= $length ) { + if ( 'month' == $group ) { + $date->addMonths( 1 ); + } else { + $date->addDays( 1 ); + } + $names[ strval( $i ) ] = date_i18n( $format, $date->getTimestamp() ); + $i++; + } + + } + + return $names; +} + +/** + * Default event template. + * + * @since 3.0.0 + * + * @return string + */ +function simcal_default_event_template() { + + $content = '' . '[title]' . ''; + $content .= '

              '; + $content .= '[when]' . "\n"; + $content .= '[location]'; + $content .= '

              '; + $content .= '
              ' . '[description]' . '
              '; + $content .= '

              ' . '[link newwindow="yes"]' . __( 'See more details', 'google-calendar-events' ) . '[/link]' . '

              '; + + return apply_filters( 'simcal_default_event_template', $content ); +} + +/** + * Get day, month, year order in a datetime format string. + * + * Returns an array with d, m, y for keys and a order number. + * If either d, m, y is not found in date format, order value is false. + * + * @since 3.0.0 + * + * @param string $date_format + * + * @return array + */ +function simcal_get_date_format_order( $date_format ) { + + $pos = array( + 'd' => strpos( $date_format, strpbrk( $date_format, 'Dj' ) ), + 'm' => strpos( $date_format, strpbrk( $date_format, 'FMmn' ) ), + 'y' => strpos( $date_format, strpbrk( $date_format, 'Yy' ) ), + ); + + // @TODO When one date piece is not found, perhaps fallback to ISO standard position. + + $order = array(); + foreach ( $pos as $k => $v ) { + $order[ $k ] = $v; + } + ksort( $order ); + + return $order; +} + +/** + * Get WordPress timezone setting. + * + * Always returns a valid timezone string even when the setting is a GMT offset. + * + * @since 3.0.0 + * + * @return null|string + */ +function simcal_get_wp_timezone() { + + $timezone = get_option( 'timezone_string' ); + + if ( empty( $timezone ) ) { + $gmt = get_option( 'gmt_offset' ); + $timezone = simcal_get_timezone_from_gmt_offset( $gmt ); + } + + return $timezone; +} + +/** + * Get a timezone from a GMT offset. + * + * Converts a numeric offset into a valid timezone string. + * + * @since 3.0.0 + * + * @param string|float $offset + * + * @return null|string + */ +function simcal_get_timezone_from_gmt_offset( $offset ) { + + if ( is_numeric( $offset ) ) { + + if ( 0 === intval( $offset ) ) { + return 'UTC'; + } else { + $offset = floatval( $offset ) * 3600; + } + + $timezone = timezone_name_from_abbr( null, $offset, false ); + // This is buggy and might return false: + // @see http://php.net/manual/en/function.timezone-name-from-abbr.php#86928 + // Therefore: + if ( false == $timezone ) { + + $list = timezone_abbreviations_list(); + foreach ( $list as $abbr ) { + foreach ( $abbr as $city ) { + if ( $offset == $city['offset'] ) { + return $city['timezone_id']; + } + } + } + + } + + return $timezone; + } + + return null; +} + +/** + * Convert a timezone string to a numeric offset. + * + * @since 3.0.0 + * + * @param string $timezone + * + * @return int Unix time offset + */ +function simcal_get_timezone_offset( $timezone ) { + return \Carbon\Carbon::now( $timezone )->offset; +} + +/** + * Escape timezone string. + * + * @since 3.0.0 + * + * @param string $tz + * @param mixed $default + * + * @return mixed|string + */ +function simcal_esc_timezone( $tz, $default = 'UTC' ) { + return in_array( $tz, timezone_identifiers_list() ) ? $tz : $default; +} diff --git a/wp-content/plugins/google-calendar-events/includes/gce-feed-cpt.php b/wp-content/plugins/google-calendar-events/includes/gce-feed-cpt.php deleted file mode 100644 index 8374e0c..0000000 --- a/wp-content/plugins/google-calendar-events/includes/gce-feed-cpt.php +++ /dev/null @@ -1,473 +0,0 @@ -, Nick Young - * @license GPL-2.0+ - * @copyright 2014 Phil Derksen - */ - - -/** - * Register Google Calendar Events custom post type - * - * @since 2.0.0 - */ -function gce_setup_cpt() { - - $labels = array( - 'name' => __( 'Google Calendar Feeds', 'gce' ), - 'singular_name' => __( 'Feed', 'gce' ), - 'menu_name' => __( 'GCal Events', 'gce' ), - 'name_admin_bar' => __( 'Feed', 'gce' ), - 'add_new' => __( 'Add New', 'gce' ), - 'add_new_item' => __( 'Add New Feed', 'gce' ), - 'new_item' => __( 'New Feed', 'gce' ), - 'edit_item' => __( 'Edit Feed', 'gce' ), - 'view_item' => __( 'View Feed', 'gce' ), - 'all_items' => __( 'All GCal Feeds', 'gce' ), - 'search_items' => __( 'Search GCal Feeds', 'gce' ), - 'not_found' => __( 'No feeds found.', 'gce' ), - 'not_found_in_trash' => __( 'No feeds found in Trash.', 'gce' ) - ); - - $args = array( - 'labels' => $labels, - 'public' => true, // This removes the 'view' and 'preview' links from what I can tell - 'publicly_queryable' => true, - 'show_ui' => true, - 'show_in_menu' => true, - 'query_var' => true, - 'capability_type' => 'post', - 'has_archive' => false, - 'hierarchical' => false, - 'menu_icon' => plugins_url( '/assets/gcal-icon-16x16.png', GCE_MAIN_FILE ), - 'supports' => array( 'title', 'editor' ) - ); - - register_post_type( 'gce_feed', $args ); - - // MUST ONLY RUN ONCE! - if( false === get_option( 'gce_cpt_setup' ) ) { - flush_rewrite_rules(); - update_option( 'gce_cpt_setup', 1 ); - } - -} -add_action( 'init', 'gce_setup_cpt' ); - -/** - * Messages for Feed actions - * - * @since 2.0.0 - */ -function gce_feed_messages( $messages ) { - global $post, $post_ID; - - $url1 = ''; - $url2 = __( 'feed', 'gce' ); - $url3 = ''; - $s1 = __( 'Feed', 'gce' ); - - $messages['gce_feed'] = array( - 1 => sprintf( __( '%4$s updated. %1$sView %2$s%3$s', 'gce' ), $url1, $url2, $url3, $s1 ), - 4 => sprintf( __( '%4$s updated. %1$sView %2$s%3$s', 'gce' ), $url1, $url2, $url3, $s1 ), - 6 => sprintf( __( '%4$s published. %1$sView %2$s%3$s', 'gce' ), $url1, $url2, $url3, $s1 ), - 7 => sprintf( __( '%4$s saved. %1$sView %2$s%3$s', 'gce' ), $url1, $url2, $url3, $s1 ), - 8 => sprintf( __( '%4$s submitted. %1$sView %2$s%3$s', 'gce' ), $url1, $url2, $url3, $s1 ), - 10 => sprintf( __( '%4$s draft updated. %1$sView %2$s%3$s', 'gce' ), $url1, $url2, $url3, $s1 ) - ); - - return $messages; -} -add_filter( 'post_updated_messages', 'gce_feed_messages' ); - - -/** - * Add post meta to tie in with the Google Calendar Events custom post type. - * Also render sidebar meta boxes. - * - * @since 2.0.0 - */ -function gce_cpt_meta() { - add_meta_box( 'gce_feed_meta', __( 'Feed Settings', 'gce' ), 'gce_display_meta', 'gce_feed', 'advanced', 'core' ); - - add_meta_box( 'gce_feed_sidebar_help', __( 'Resources', 'gce' ), 'gce_feed_sidebar_help', 'gce_feed', 'side', 'core' ); - add_meta_box( 'gce_display_options_meta', __( 'Display Options', 'gce' ), 'gce_display_options_meta', 'gce_feed', 'side', 'core' ); -} -add_action( 'add_meta_boxes', 'gce_cpt_meta' ); - -/** - * Include view to display post meta. - * - * @since 2.0.0 - */ -function gce_display_meta() { - include_once( GCE_DIR . '/views/admin/gce-feed-meta-display.php' ); -} - -/** - * Include view to display help in sidebar. - * - * @since 2.0.0 - */ -function gce_feed_sidebar_help() { - include_once( GCE_DIR . '/views/admin/gce-feed-sidebar-help.php' ); -} - -/** - * Include view to display options in sidebar. - * - * @since 2.0.0 - */ -function gce_display_options_meta() { - include_once( GCE_DIR . '/views/admin/display-options-meta.php' ); -} - -/** - * Function to save post meta for the feed CPT - * - * @since 2.0.0 - * - * @param int $post_id - * @param WP_Post $post - * - * @return int - */ -function gce_save_meta( $post_id, $post ) { - - if ( 'gce_feed' != $post->post_type ) { - return $post_id; - } - - if ( ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) || ( defined( 'DOING_AJAX' ) && DOING_AJAX ) ) { - return $post_id; - } - - if( isset( $_REQUEST['bulk_edit'] ) ) { - return $post_id; - } - - // An array to hold all of our post meta ids so we can run them through a loop - $post_meta_fields = array( - 'gce_feed_url', - 'gce_date_format', - 'gce_time_format', - 'gce_cache', - 'gce_multi_day_events', - 'gce_display_mode', - 'gce_custom_from', - 'gce_custom_until', - 'gce_search_query', - 'gce_expand_recurring', - 'gce_show_tooltips', - 'gce_paging', - 'gce_events_per_page', - 'gce_per_page_num', - 'gce_per_page_from', - 'gce_per_page_to', - 'gce_list_start_offset_num', - 'gce_list_start_offset_direction', - 'gce_feed_start', - 'gce_feed_start_num', - 'gce_feed_start_custom', - 'gce_feed_end', - 'gce_feed_end_num', - 'gce_feed_end_custom', - 'gce_feed_use_range', - 'gce_feed_range_start', - 'gce_feed_range_end', - '_feed_timezone_setting', - // Display options - 'gce_display_start', - 'gce_display_start_text', - 'gce_display_end', - 'gce_display_end_text', - 'gce_display_separator', - 'gce_display_location', - 'gce_display_location_text', - 'gce_display_description', - 'gce_display_description_text', - 'gce_display_description_max', - 'gce_display_link', - 'gce_display_link_tab', - 'gce_display_link_text', - 'gce_display_simple' - ); - - $post_meta_fields = apply_filters( 'gce_feed_meta', $post_meta_fields ); - - if ( current_user_can( 'edit_post', $post_id ) ) { - // Loop through our array and make sure it is posted and not empty in order to update it, otherwise we delete it - foreach ( $post_meta_fields as $pmf ) { - if ( isset( $_POST[$pmf] ) && ( ! empty( $_POST[$pmf] ) || $_POST[$pmf] == 0 ) ) { - if( $pmf == 'gce_feed_url' ) { - - $id = $_POST[$pmf]; - - // convert from URL if user enters a URL link (like the old versions required) - if ( strpos( $id, 'https://www.google.com/calendar/feeds/' ) !== false ) { - $id = str_replace( 'https://www.google.com/calendar/feeds/', '', $id ); - $id = str_replace( '/public/basic', '', $id ); - $id = str_replace( '%40', '@', $id ); - } - - // decode first before re-encoding it - $id = urldecode( $id ); - $id = trim( $id ); - - $at = strpos( $id, '@' ); - - if ( $at !== false ) { - $id = substr_replace( $id, urlencode( substr( $id, 0, $at ) ), 0, $at ); - } - - update_post_meta( $post_id, $pmf, $id ); - } elseif( $pmf == 'gce_time_format' || $pmf == 'gce_date_format' || '_feed_timezone_setting' ) { - update_post_meta( $post_id, $pmf, sanitize_text_field( $_POST[ $pmf ] ) ); - } else { - update_post_meta( $post_id, $pmf, stripslashes( $_POST[ $pmf ] ) ); - } - } else { - delete_post_meta( $post_id, $pmf ); - } - } - } - - return $post_id; -} -add_action( 'save_post', 'gce_save_meta', 10, 2 ); - - -/** - * Delete feed ids transient if a feed post type is deleted. - * - * @param int $id The id of the deleted post. - */ -function gce_delete_post( $id ) { - $feeds = get_transient( 'gce_feed_ids' ); - if ( $feeds && is_array( $feeds ) ) { - if ( in_array( $id, array_keys( $feeds ) ) ) { - delete_transient( 'gce_feed_ids' ); - } - } -} -add_action( 'delete_post', 'gce_delete_post', 10, 1 ); - - -/** - * Add column headers to our "All Feeds" CPT page - * - * @since 2.0.0 - */ -function gce_add_column_headers( $defaults ) { - - $new_columns = array( - 'cb' => $defaults['cb'], - 'feed-id' => __( 'Feed ID', 'gce' ), - 'feed-sc' => __( 'Feed Shortcode', 'gce' ), - 'display-type' => __( 'Display Type', 'gce' ) - ); - - return array_merge( $defaults, $new_columns ); -} -add_filter( 'manage_gce_feed_posts_columns', 'gce_add_column_headers' ); - - -/** - * Fill out the columns - * - * @since 2.0.0 - */ -function gce_column_content( $column_name, $post_ID ) { - - switch ( $column_name ) { - - case 'feed-id': - echo $post_ID; - break; - case 'feed-sc': - ?> - - post_type == 'gce_feed' ) { - $actions['clear_cache'] = '' . __( 'Clear Cache', 'gce' ) . ''; - } - return $actions; -} -add_filter( 'post_row_actions', 'gce_cpt_actions', 10, 2 ); - -/** - * Function to clear cache if on the post listing page. - * - * @since 2.0.0 - */ -function gce_clear_cache_link() { - if( isset( $_REQUEST['clear_cache'] ) ) { - $post_id = absint( $_REQUEST['clear_cache'] ); - - gce_clear_cache( $post_id ); - - settings_errors( 'gce-notices' ); - } -} -add_action( 'admin_init', 'gce_clear_cache_link' ); - -/** - * Clear cache on post save. - * - * @param int $post_id - */ -function gce_clear_cache_on_save( $post_id ) { - // Transient with calendar feed data. - delete_transient( 'gce_feed_' . $post_id ); - // Transient with an associative array list of feed ids and their titles. - delete_transient( 'gce_feed_ids' ); -} -add_action( 'save_post_gce_feed', 'gce_clear_cache_on_save' ); - -/** - * Adds a 'clear cache' option to bulk actions. - * - * It's done through jQuery since one can't write into bulk actions yet. - * @link https://core.trac.wordpress.org/ticket/16031 - * @link https://www.skyverge.com/blog/add-custom-bulk-action/ - */ -function gce_clear_cache_bulk_action_option() { - - global $post_type; - - if ( $post_type == 'gce_feed' ) { - - ?> - - current_action(); - if ( $action == 'clear_cache' ) { - - // Security check (the referer is right). - check_admin_referer( 'bulk-posts' ); - - // This is based on wp-admin/edit.php. - $send_back = remove_query_arg( - array( 'cleared', 'untrashed', 'deleted', 'ids' ), - $send_back - ); - - // Proceed if there are post ids selected. - $post_ids = isset( $_REQUEST['post'] ) ? array_map( 'intval', $_REQUEST['post'] ) : ''; - if ( $post_ids ) { - - // Add page num to query arg. - $page_num = $wp_list_table->get_pagenum(); - $send_back = add_query_arg( 'paged', $page_num, $send_back ); - - switch ( $action ) { - case 'clear_cache' : - $cleared = 0; - foreach ( $post_ids as $post_id ) { - gce_clear_cache( $post_id ); - $cleared ++; - } - $send_back = add_query_arg( array( - 'cleared' => $cleared, - 'ids' => join( ',', $post_ids ) - ), - $send_back - ); - break; - default: - return; - break; - } - - $send_back = remove_query_arg( - array( 'action', 'tags_input', 'post_author', 'comment_status', 'ping_status', '_status', 'post', 'bulk_edit', 'post_view' ), - $send_back - ); - - wp_redirect( $send_back ); - exit(); - } - } - } -} -add_action( 'load-edit.php', 'gce_clear_cache_bulk_action' ); - -/** - * Display an admin notice when the cache is cleared. - */ -function gce_clear_cache_bulk_action_notice() { - global $post_type, $pagenow; - if ( $pagenow == 'edit.php' && $post_type == 'gce_feed' && isset( $_REQUEST['cleared'] ) && (int) $_REQUEST['cleared'] ) { - $message = sprintf( _n( 'Feed cache cleared.', 'Cleared cache for %s feeds.', $_REQUEST['cleared'], 'gce' ), number_format_i18n( $_REQUEST['cleared'] ) ); - echo '

              ' . $message . '

              '; - } -} -add_action( 'admin_notices', 'gce_clear_cache_bulk_action_notice' ); diff --git a/wp-content/plugins/google-calendar-events/includes/installation.php b/wp-content/plugins/google-calendar-events/includes/installation.php new file mode 100644 index 0000000..1834142 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/installation.php @@ -0,0 +1,158 @@ + array( + 'google', + 'grouped-calendar', + ), + 'calendar_type' => array( + 'default-calendar' + ) + ); + + foreach ( $taxonomies as $taxonomy => $terms ) { + foreach ( $terms as $term ) { + if ( ! get_term_by( 'slug', sanitize_title( $term ), $taxonomy ) ) { + wp_insert_term( $term, $taxonomy ); + } + } + } + + } + + /** + * Sets the default options. + * + * @since 3.0.0 + */ + public static function create_options() { + + $default = ''; + $page = 'settings'; + $settings_pages = new Pages( $page ); + $plugin_settings = $settings_pages->get_settings(); + + if ( $plugin_settings && is_array( $plugin_settings ) ) { + + foreach ( $plugin_settings as $id => $settings ) { + + $group = 'simple-calendar_' . $page . '_' . $id; + + if ( isset( $settings['sections'] ) ) { + + if ( $settings['sections'] && is_array( $settings['sections'] ) ) { + + foreach ( $settings['sections'] as $section_id => $section ) { + + if ( isset( $section['fields'] ) ) { + + if ( $section['fields'] && is_array( $section['fields'] ) ) { + + foreach ( $section['fields'] as $key => $field ) { + + if ( isset ( $field['type'] ) ) { + // Maybe an associative array. + if ( is_int( $key ) ) { + $default[ $section_id ] = self::get_field_default_value( $field ); + } else { + $default[ $section_id ][ $key ] = self::get_field_default_value( $field ); + } + } + + } // Loop fields. + + } // Are fields non empty? + + } // Are there fields? + + } // Loop fields sections. + + } // Are sections non empty? + + } // Are there sections? + + add_option( $group, $default, '', true ); + + // Reset before looping next settings page. + $default = ''; + } + + } + } + + /** + * Get field default value. + * + * Helper function to set the default value of a field. + * + * @since 3.0.0 + * + * @param $field + * + * @return mixed + */ + private static function get_field_default_value( $field ) { + + $saved_value = isset( $field['value'] ) ? $field['value'] : ''; + $default_value = isset( $field['default'] ) ? $field['default'] : ''; + + return ! empty( $saved_value ) ? $saved_value : $default_value; + } + +} diff --git a/wp-content/plugins/google-calendar-events/includes/main.php b/wp-content/plugins/google-calendar-events/includes/main.php new file mode 100644 index 0000000..67dbe75 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/main.php @@ -0,0 +1,277 @@ +locale = apply_filters( 'plugin_locale', get_locale(), 'google-calendar-events' ); + $this->load(); + + // Installation hooks. + register_activation_hook( SIMPLE_CALENDAR_MAIN_FILE, array( 'SimpleCalendar\Installation', 'activate' ) ); + register_deactivation_hook( SIMPLE_CALENDAR_MAIN_FILE, array( 'SimpleCalendar\Installation', 'deactivate' ) ); + + // Do update call here. + add_action( 'admin_init', array( $this, 'update' ), 999 ); + + // Init hooks. + add_action( 'init', array( $this, 'init' ), 5 ); + add_action( 'admin_init', array( $this, 'register_settings' ), 5 ); + + // Upon plugin loaded action hook. + do_action( 'simcal_loaded' ); + } + + /** + * Load plugin. + * + * @since 3.0.0 + */ + public function load() { + + // Functions shared in both back end and front end. + include_once 'functions/shared.php'; + + // Init custom post types and taxonomies. + new Post_Types(); + + // Load back end. + if ( is_admin() ) { + $this->load_admin(); + } else { + // Load front end scripts and styles. + new Assets(); + } + + // Front facing ajax callbacks. + new Ajax(); + + // Add Shortcodes. + new Shortcodes(); + + // Add Widgets. + new Widgets(); + + // Deprecated functions for backwards compatibility. + include_once 'functions/deprecated.php'; + } + + /** + * Load plugin admin. + * + * @since 3.0.0 + */ + public function load_admin() { + + // Back end only functions. + include_once 'functions/admin.php'; + + // Display admin notices. + new Admin\Notices(); + + // Load back end scripts and styles. + new Admin\Assets(); + + // Custom content handling. + new Admin\Post_Types(); + + // Init menus and settings. + new Admin\Menus(); + + if ( defined( 'DOING_AJAX' ) ) { + // Admin ajax callbacks. + new Admin\Ajax(); + } + } + + /** + * Init plugin when WordPress initializes. + * + * @since 3.0.0 + */ + public function init() { + + // Before init action hook. + do_action( 'before_simcal_init' ); + + // Set up localization. + load_plugin_textdomain( 'google-calendar-events', false, dirname( plugin_basename( SIMPLE_CALENDAR_MAIN_FILE ) ) . '/languages/' ); + + // Init objects factory. + $this->objects = new Objects(); + + // Upon init action hook. + do_action( 'simcal_init' ); + } + + /** + * Register plugin settings. + * + * @since 3.0.0 + */ + public function register_settings() { + if ( is_admin() && ! defined( 'DOING_AJAX' ) ) { + $settings = new Admin\Pages(); + $settings->register_settings( $settings->get_settings() ); + } + } + + /** + * Get Ajax URL. + * + * @since 3.0.0 + * + * @return string + */ + public function ajax_url() { + return admin_url( 'admin-ajax.php', 'relative' ); + } + + /** + * Get URL. + * + * @since 3.0.0 + * + * @param string $case Requested url. + * + * @return string + */ + public function get_url( $case ) { + switch ( $case ) { + case 'codex' : + case 'apidocs' : + return 'http://codex.simplecalendar.io'; + case 'add-ons' : + return self::$homepage . '/addons/'; + case 'gcal-pro' : + return self::$homepage . '/addons/google-calendar-pro/'; + case 'docs' : + return 'http://docs.simplecalendar.io'; + case 'github' : + return 'https://github.com/moonstonemedia/Simple-Calendar'; + case 'support' : + return 'https://wordpress.org/support/plugin/google-calendar-events'; + case 'gdev-console': + return 'https://console.developers.google.com'; + default : + return self::$homepage; + } + } + + /** + * Run upgrade scripts. + * + * @since 3.0.0 + */ + public static function update() { + $update = new Update( SIMPLE_CALENDAR_VERSION ); + } + +} + +/** + * Simple Calendar. + * + * @return Plugin + */ +function plugin() { + return Plugin::get_instance(); +} + +plugin(); diff --git a/wp-content/plugins/google-calendar-events/includes/misc-functions.php b/wp-content/plugins/google-calendar-events/includes/misc-functions.php deleted file mode 100644 index 539cb36..0000000 --- a/wp-content/plugins/google-calendar-events/includes/misc-functions.php +++ /dev/null @@ -1,377 +0,0 @@ - '', - 'sort' => 'asc', - 'grouped' => 0, - 'month' => null, - 'year' => null, - 'widget' => 0, - 'paging_interval' => null, - 'max_events' => null, - 'start_offset' => null, - 'paging_type' => null, - 'paging' => null, - 'max_num' => null, - 'range_start' => null, - 'show_tooltips' => null - ); - - $args = array_merge( $defaults, $args ); - - extract( $args ); - - $ids = explode( '-', str_replace( ' ', '', $feed_ids ) ); - - //Create new display object, passing array of feed id(s) - $d = new GCE_Display( $ids, $title_text, $sort ); - $markup = ''; - $start = current_time( 'timestamp' ); - - if( $widget ) { - foreach( $ids as $f ) { - $paging = get_post_meta( $f, 'gce_paging_widget', true ); - $old_paging[] = get_post_meta( $f, 'gce_paging', true ); - - if( $paging ) { - update_post_meta( $f, 'gce_paging', true ); - } - - $paging_interval = get_post_meta( $f, 'gce_widget_paging_interval', true ); - } - } - - // If paging is not set then we need to set it now - foreach( $ids as $id ) { - if( $paging === null ) { - $paging = get_post_meta( $id, 'gce_paging', true ); - } - - if( empty( $show_tooltips ) && $show_tooltips != 0 ) { - $tooltips = get_post_meta( $id, 'gce_show_tooltips', true ); - } else { - $tooltips = $show_tooltips; - } - - if( ! empty( $tooltips ) && ( $tooltips === true || $tooltips == 'true' || $tooltips == '1' || $tooltips == 1 ) ) { - $show_tooltips = 'true'; - } else { - $show_tooltips = 'false'; - } - - if ( 'date-range-grid' === $display ) { - $start = get_post_meta( $id, 'gce_feed_range_start', true ); - - $start = gce_date_unix( $start ); - - $year = date( 'Y', $start ); - $month = date( 'n', $start ); - } - } - - if( 'grid' == $display ) { - - global $localize; - - $target = 'gce-' . $uid; - - $localize[$target] = array( - 'target_element' => $target, - 'feed_ids' => $feed_ids, - 'title_text' => $title_text, - 'type' => ( $widget == 1 ? 'widget' : 'page' ), - 'show_tooltips' => ( $show_tooltips == 'true' || $show_tooltips == '1' ? 'true' : 'false' ) - ); - - $data_attr = sprintf( 'data-feed="%s"', htmlspecialchars( json_encode( $localize ), ENT_QUOTES, 'UTF-8' ) ); - - if( $widget == 1 ) { - $markup .= '
              '; - } else { - $markup .= '
              '; - } - - $markup .= $d->get_grid( $year, $month, $widget, $paging ); - $markup .= '
              '; - - - } else if( 'list' == $display || 'list-grouped' == $display ) { - - if( $widget ) { - $markup = '
              ' . $d->get_list( $grouped, ( $start + $start_offset ), $paging, $paging_interval, $start_offset, $max_events, $paging_type, $max_num ) . '
              '; - } else { - $markup = '
              ' . $d->get_list( $grouped, ( $start + $start_offset ), $paging, $paging_interval, $start_offset, $max_events, $paging_type ) . '
              '; - } - } else if( 'date-range-list' == $display ) { - - $paging_interval = 'date-range'; - - if( $widget ) { - $markup = '
              ' . $d->get_list( $grouped, $range_start, false, $paging_interval, $start_offset, INF, $paging_type, $max_num ) . '
              '; - } else { - $markup = '
              ' . $d->get_list( $grouped, $range_start, false, $paging_interval, $start_offset, INF, $paging_type, INF ) . '
              '; - } - } elseif ( 'date-range-grid' == $display ) { - - global $localize; - - $target = 'gce-' . $uid; - - $localize[$target] = array( - 'target_element' => $target, - 'feed_ids' => $feed_ids, - 'title_text' => $title_text, - 'type' => ( $widget == 1 ? 'widget' : 'page' ), - 'show_tooltips' => ( $show_tooltips == 'true' || $show_tooltips == '1' ? 'true' : 'false' ) - ); - - $data_attr = sprintf( 'data-feed="%s"', htmlspecialchars( json_encode( $localize ), ENT_QUOTES, 'UTF-8' ) ); - - if( $widget ) { - $markup = '
              ' . $d->get_grid( $year, $month, $widget, $paging ) . '
              '; - } else { - $markup = '
              ' . $d->get_grid( $year, $month, $widget, $paging ) . '
              '; - } - } - - // Reset post meta - if( $widget ) { - $i = 0; - foreach( $ids as $f ) { - update_post_meta( $f, 'gce_paging', $old_paging[$i] ); - - $i++; - } - } - - $uid++; - - return $markup; -} - -/** -* AJAX function for grid pagination -* -* @since 2.0.0 -*/ -function gce_ajax() { - - $uid = esc_html( $_POST['gce_uid'] ); - $ids = esc_html( $_POST['gce_feed_ids'] ); - $title = esc_html( $_POST['gce_title_text'] ); - $month = esc_html( $_POST['gce_month'] ); - $year = esc_html( $_POST['gce_year'] ); - $paging = esc_html( $_POST['gce_paging'] ); - $type = esc_html( $_POST['gce_type'] ); - - // Split ID and pass as UID to function - $uid = explode( '-', $uid ); - - $title = ( 'null' == $title ) ? null : $title; - - $args = array( - 'title_text' => $title, - 'month' => $month, - 'year' => $year, - 'paging' => $paging - ); - - if ( 'page' == $type ) { - echo gce_print_calendar( $ids, 'grid', $args, 0, $uid[1] ); - } elseif ( 'widget' == $type ) { - $args['widget'] = 1; - echo gce_print_calendar( $ids, 'grid', $args, 1, $uid[1] ); - } - - die(); -} -add_action( 'wp_ajax_nopriv_gce_ajax', 'gce_ajax' ); -add_action( 'wp_ajax_gce_ajax', 'gce_ajax' ); - - -/** -* AJAX function for grid pagination -* -* @since 2.0.0 -*/ -function gce_ajax_list() { - - $grouped = esc_html( $_POST['gce_grouped'] ); - $start = esc_html( $_POST['gce_start'] ); - $ids = esc_html( $_POST['gce_feed_ids'] ); - $title_text = esc_html( $_POST['gce_title_text'] ); - $sort = esc_html( $_POST['gce_sort'] ); - $paging = esc_html( $_POST['gce_paging'] ); - $paging_interval = esc_html( $_POST['gce_paging_interval'] ); - $paging_direction = esc_html( $_POST['gce_paging_direction'] ); - $start_offset = esc_html( $_POST['gce_start_offset'] ); - $paging_type = esc_html( $_POST['gce_paging_type'] ); - - if( $paging_direction == 'back' ) { - if( $paging_type == 'month' ) { - - $this_month = mktime( 0, 0, 0, date( 'm', $start ) - 1, 1, date( 'Y', $start ) ); - $prev_month = mktime( 0, 0, 0, date( 'm', $start ) - 2, 1, date( 'Y', $start ) ); - $prev_interval_days = date( 't', $prev_month ); - $month_days = date( 't', $this_month ); - - $int = $month_days + $prev_interval_days; - $int = $int * 86400; - - $start = $start - ( $int ); - - $changed_month_days = date( 't', $start ); - $paging_interval = $changed_month_days * 86400; - } else { - $start = $start - ( $paging_interval * 2 ); - } - - } else { - if( $paging_type == 'month' ) { - $days_in_month = date( 't', $start ); - $paging_interval = 86400 * $days_in_month; - } - } - - $d = new GCE_Display( explode( '-', $ids ), $title_text, $sort ); - - echo $d->get_list( $grouped, $start, $paging, $paging_interval, $start_offset ); - - die(); -} -add_action( 'wp_ajax_nopriv_gce_ajax_list', 'gce_ajax_list' ); -add_action( 'wp_ajax_gce_ajax_list', 'gce_ajax_list' ); - - -function gce_feed_content( $content ) { - global $post; - - if( $post->post_type == 'gce_feed' ) { - $content = '[gcal id="' . esc_attr( $post->ID ) . '"]'; - } - - return $content; -} -add_filter( 'the_content', 'gce_feed_content' ); - -/** - * Google Analytics campaign URL. - * - * @since 2.0.0 - * - * @param string $base_url Plain URL to navigate to - * @param string $source GA "source" tracking value - * @param string $medium GA "medium" tracking value - * @param string $campaign GA "campaign" tracking value - * @return string $url Full Google Analytics campaign URL - */ -function gce_ga_campaign_url( $base_url, $source, $medium, $campaign ) { - // $medium examples: 'sidebar_link', 'banner_image' - - $url = esc_url( add_query_arg( array( - 'utm_source' => $source, - 'utm_medium' => $medium, - 'utm_campaign' => $campaign - ), $base_url ) ); - - return esc_url( $url ); -} - -/** - * Function to convert date format mm/dd/YYYY to unix timestamp - */ -function gce_date_unix( $date ) { - - if ( empty( $date ) ) { - - $current_time = current_time( 'timestamp' ); - - $timestamp = mktime( 0, 0, 0, date( 'm', $current_time ), date( 'd', $current_time ), date( 'Y', $current_time ) ); - } else { - - $date = explode( '/', $date ); - - $month = $date[0]; - $day = $date[1]; - $year = $date[2]; - - $timestamp = mktime( 0, 0, 0, $month, $day, $year ); - } - - return $timestamp; -} - - -/** - * Get WordPress timezone setting. - * - * Always returns a valid timezone string even when the setting is a GMT offset. - * - * @return null|string - */ -function gce_get_wp_timezone() { - - $timezone = get_option( 'timezone_string' ); - - if ( empty( $timezone ) ) { - - $gmt = get_option( 'gmt_offset' ); - - $timezone = gce_get_timezone_from_gmt_offset( $gmt ); - } - - return $timezone; -} - -/** - * Get a timezone from a GMT offset. - * - * Converts a numeric offset into a valid timezone string. - * - * @param string|float $offset - * - * @return null|string - */ -function gce_get_timezone_from_gmt_offset( $offset ) { - - if ( is_numeric( $offset ) ) { - - if ( 0 == intval( $offset ) ) { - return 'UTC'; - } else { - $offset = floatval( $offset ) * 3600; - } - - $timezone = timezone_name_from_abbr( null, $offset, true ); - // This is buggy and might return false: - // @see http://php.net/manual/en/function.timezone-name-from-abbr.php#86928 - // Therefore: - if ( false == $timezone ) { - $list = timezone_abbreviations_list(); - foreach ( $list as $abbr ) { - foreach ( $abbr as $city ) { - if ( $offset == $city['offset'] ) { - return $city['timezone_id']; - } - } - } - - } - - return $timezone; - } - - return null; -} diff --git a/wp-content/plugins/google-calendar-events/includes/objects.php b/wp-content/plugins/google-calendar-events/includes/objects.php new file mode 100644 index 0000000..a208b72 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/objects.php @@ -0,0 +1,322 @@ + array( + 'grid', + 'list', + ), + ) ); + }, 10, 1 ); + + // Add default admin objects. + if ( $is_admin = is_admin() ) { + add_filter( 'simcal_get_admin_pages', function( $admin_pages ) { + return array_merge( $admin_pages, array( + 'add-ons' => array( + 'add-ons', + ), + 'settings' => array( + 'feeds', + 'calendars', + 'advanced', + ), + 'tools' => array( + 'system-status', + ), + ) ); + }, 10, 1 ); + } + + do_action( 'simcal_load_objects', $is_admin ); + } + + /** + * Get feed types. + * + * @since 3.0.0 + * + * @return array + */ + public function get_feed_types() { + $array = apply_filters( 'simcal_get_feed_types', array() ); + ksort( $array ); + return $array; + } + + /** + * Get calendar types. + * + * @since 3.0.0 + * + * @return array + */ + public function get_calendar_types() { + $array = apply_filters( 'simcal_get_calendar_types', array() ); + ksort( $array ); + return $array; + } + + /** + * Get admin pages. + * + * @since 3.0.0 + * + * @return array + */ + public function get_admin_pages() { + return apply_filters( 'simcal_get_admin_pages', array() ); + } + + /** + * Get a calendar. + * + * Returns the right type of calendar. + * + * @since 3.0.0 + * + * @param int|string|object|\WP_Post|Object\Calendar $object + * + * @return null|Object\Calendar + */ + public function get_calendar( $object ) { + + if ( is_string( $object ) ) { + return ! empty( $object ) ? $this->get_object( $object, 'calendar', '' ) : null; + } + + if ( is_object( $object ) ) { + if ( $object instanceof Object\Calendar ) { + return $this->get_object( $object->type, 'feed', $object ); + } elseif ( $object instanceof \WP_Post ) { + if ( $type = wp_get_object_terms( $object->ID, 'calendar_type' ) ) { + $name = sanitize_title( current( $type )->name ); + return $this->get_object( $name, 'calendar', $object ); + } + } elseif ( isset( $object->type ) && isset( $object->id ) ) { + return $this->get_object( $object->type, 'calendar', $object->id ); + } + } + + if ( is_int( $object ) ) { + $post = get_post( $object ); + if ( $post && ( $type = wp_get_object_terms( $post->ID, 'calendar_type' ) ) ) { + $name = sanitize_title( current( $type )->name ); + return $this->get_object( $name, 'calendar', $post ); + } + } + + return null; + } + + /** + * Get a calendar view. + * + * @since 3.0.0 + * + * @param int $id Feed post id. + * @param string $name (optional) Name of calendar view. + * + * @return null|Object\Calendar_View + */ + public function get_calendar_view( $id = 0, $name = '' ) { + + if ( ! $name && $id > 0 ) { + + $calendar_view = get_post_meta( $id, '_calendar_view', true ); + + if ( $terms = wp_get_object_terms( $id, 'calendar_type' ) ) { + $calendar_type = sanitize_title( current( $terms )->name ); + $name = isset( $calendar_view[ $calendar_type ] ) ? $calendar_type . '-' . $calendar_view[ $calendar_type ] : ''; + } + + } + + return $name ? $this->get_object( $name, 'calendar-view', '' ) : null; + } + + /** + * Get a feed. + * + * Returns the right type of feed. + * + * @since 3.0.0 + * + * @param int|string|object|\WP_Post|Object\Calendar $object + * + * @return null|Object\Feed + */ + public function get_feed( $object ) { + + if ( is_string( $object ) ) { + return ! empty( $object ) ? $this->get_object( $object, 'feed', '' ) : null; + } + + if ( is_object( $object ) ) { + if ( $object instanceof Object\Calendar ) { + $feed_name = ''; + if ( empty( $object->feed ) ) { + if ( $feed_type = wp_get_object_terms( $object->id, 'feed_type' ) ) { + $feed_name = sanitize_title( current( $feed_type )->name ); + } + } else { + $feed_name = $object->feed; + } + return $this->get_object( $feed_name, 'feed', $object ); + } elseif ( $object instanceof \WP_Post ) { + $calendar = $this->get_calendar( $object ); + return $this->get_object( $calendar->feed, 'feed', $calendar ); + } elseif ( isset( $object->feed ) && isset( $object->id ) ) { + return $this->get_object( $object->feed, 'feed', $object ); + } + } + + if ( is_int( $object ) ) { + $calendar = $this->get_calendar( $object ); + return isset( $calendar->feed ) ? $this->get_object( $calendar->feed, 'feed', $calendar ) : null; + } + + return null; + } + + /** + * Get a field. + * + * @since 3.0.0 + * + * @param array $args Field args. + * @param string $name Field type. + * + * @return null|Object\Field + */ + public function get_field( $args, $name = '' ) { + + if ( empty( $name ) ) { + $name = isset( $args['type'] ) ? $args['type'] : false; + } + + return $name ? $this->get_object( $name, 'field', $args ) : null; + } + + /** + * Get a settings page. + * + * @since 3.0.0 + * + * @param string $name + * + * @return null|Object\Admin_Page + */ + public function get_admin_page( $name ) { + return $name ? $this->get_object( $name, 'admin-page' ) : null; + } + + /** + * Get a plugin object. + * + * @since 3.0.0 + * @access private + * + * @param string $name Object name. + * @param string $type Object type. + * @param mixed $args (optional) arguments for the class constructor. + * + * @return null|Object + */ + private function get_object( $name, $type, $args = '' ) { + + $types = array( + 'admin-page', + 'calendar', + 'calendar-view', + 'feed', + 'field', + ); + + if ( in_array( $type, $types ) ) { + + $class_name = $this->make_class_name( $name, $type ); + $parent = '\\' . __NAMESPACE__ . '\Abstracts\\' . implode( '_', array_map( 'ucfirst', explode( '-', $type ) ) ); + $class = class_exists( $class_name ) ? new $class_name( $args ) : false; + + return $class instanceof $parent ? $class : null; + } + + return null; + } + + /** + * Make class name from slug. + * + * Standardizes object naming and class names: becomes . + * The plugin autoloader uses a similar pattern. + * + * @since 3.0.0 + * @access private + * + * @param string $name Object name. + * @param string $type Object type. + * + * @return string The class name complete with its full namespace. + */ + private function make_class_name( $name, $type ) { + + if ( 'calendar' == $type ) { + $namespace = '\\' . __NAMESPACE__ . '\Calendars\\'; + } elseif ( 'calendar-view' == $type ) { + $namespace = '\\' . __NAMESPACE__ . '\Calendars\Views\\'; + } elseif ( 'feed' == $type ) { + $namespace = '\\' . __NAMESPACE__ . '\Feeds\\'; + } elseif ( 'field' == $type ) { + $namespace = '\\' . __NAMESPACE__ . '\Admin\Fields\\'; + } elseif ( 'admin-page' == $type ) { + $namespace = '\\' . __NAMESPACE__ . '\Admin\Pages\\'; + } else { + return ''; + } + + $class_name = implode( '_', array_map( 'ucfirst', explode( '-', $name ) ) ); + + return $namespace . $class_name; + } + +} diff --git a/wp-content/plugins/google-calendar-events/includes/php-calendar.php b/wp-content/plugins/google-calendar-events/includes/php-calendar.php deleted file mode 100644 index ac99be6..0000000 --- a/wp-content/plugins/google-calendar-events/includes/php-calendar.php +++ /dev/null @@ -1,110 +0,0 @@ -get_weekday_initial( date_i18n( 'l', $t, true ) ); - } - - list( $month, $year, $month_name, $weekday ) = explode( ',', date_i18n( 'm, Y, F, w', $first_of_month ) ); - $weekday = ( $weekday + 7 - $first_day ) % 7; #adjust for $first_day - $title = esc_html( $month_name ) . ' ' . $year; #note that some locales don't capitalize month and day names - - #Begin calendar. Uses a real . See http://diveintomark.org/archives/2002/07/03 - list( $p, $pl ) = each( $pn ); - list( $n, $nl ) = each( $pn ); #previous and next links, if applicable - - // Previous filter - $p = apply_filters( 'gce_prev_text', $p ); - - // Next filter - $n = apply_filters( 'gce_next_text', $n ); - - if( $widget ) { - $p = '
              ' . ( ( $pl ) ? ( '' . $p . '' ) : $p ) . '
              '; - } else { - $p = '
              ' . ( ( $pl ) ? ( '' . $p . '' ) : $p ) . '
              '; - } - - if( $widget ) { - $n = '
              ' . ( ( $nl ) ? ( '' . $n . '' ) : $n ) . '
              '; - } else { - $n = '
              ' . ( ( $nl ) ? ( '' . $n . '' ) : $n ) . '
              '; - } - - $calendar = '' . "\n" . - '' . "\n" . - '' . "\n"; - - if ( $day_name_length ) { #if the day names should be shown ($day_name_length > 0) - #if day_name_length is >3, the full name of the day will be printed - foreach ( $day_names as $d ) { - $calendar .= ''; - } - - $calendar .= "\n"; - } - - $time_now = current_time( 'timestamp' ); - $today = mktime( 0, 0, 0, date( 'm', $time_now ), date( 'd', $time_now ), date( 'Y', $time_now ) ); - - if ( $weekday > 0 ) $calendar .= ''; #initial 'empty' days - for ( $day = 1, $days_in_month = date( 't', $first_of_month ); $day <= $days_in_month; $day++, $weekday++ ) { - if ( 7 == $weekday ) { - $weekday = 0; #start a new week - $calendar .= "\n"; - } - - $timestamp = mktime( 0, 0, 0, $month, $day, $year ); - - if ( isset( $days[$timestamp] ) && is_array( $days[$timestamp] ) ) { - list( $link, $classes, $content ) = $days[$timestamp]; - $calendar .= '' ) : '>' ) . ( ( $link ) ? ( '' . esc_html( $day ) . '' . $content ) : '' . esc_html( $day ) . '' . $content ) . ''; - } else { - $css_class = $timestamp < $time_now ? ' gce-day-past ' : ' gce-day-future '; - $css_class .= ' gce-week-day-' . strval( $weekday ) . ' '; - $calendar .= ''; - } - } - - if ( 7 != $weekday ) $calendar .= ''; #remaining "empty" days - - return $calendar . "\n
              ' . - '
              ' . - $p . - $n . - '
              ' . ( ( $month_href ) ? ( '' . esc_html( $title ) . '' ) : esc_html( $title ) ) . '
              ' . - '
              ' . - '
              ' . esc_html( $d['initial'] ) . '
               
              ' . esc_html( $day ) . ' 
              \n"; -} \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/includes/post-types.php b/wp-content/plugins/google-calendar-events/includes/post-types.php new file mode 100644 index 0000000..581d794 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/post-types.php @@ -0,0 +1,320 @@ + __( 'Events Source Types', 'google-calendar-events' ), + 'singular_name' => __( 'Events Source Type', 'google-calendar-events' ), + 'menu_name' => __( 'Events Source Type', 'google-calendar-events' ), + 'all_items' => __( 'All Events Source Types', 'google-calendar-events' ), + 'parent_item' => __( 'Parent Events Source Type', 'google-calendar-events' ), + 'parent_item_colon' => __( 'Parent Events Source Type:', 'google-calendar-events' ), + 'new_item_name' => __( 'New Events Source Type', 'google-calendar-events' ), + 'add_new_item' => __( 'Add New Events Source Type', 'google-calendar-events' ), + 'edit_item' => __( 'Edit Events Source Type', 'google-calendar-events' ), + 'update_item' => __( 'Update Events Source Type', 'google-calendar-events' ), + 'view_item' => __( 'View Events Source Type', 'google-calendar-events' ), + 'separate_items_with_commas' => __( 'Separate events source types with commas', 'google-calendar-events' ), + 'add_or_remove_items' => __( 'Add or remove events source types', 'google-calendar-events' ), + 'choose_from_most_used' => __( 'Choose from the most used', 'google-calendar-events' ), + 'popular_items' => __( 'Popular events source types', 'google-calendar-events' ), + 'search_items' => __( 'Search Events Source Types', 'google-calendar-events' ), + 'not_found' => __( 'Not Found', 'google-calendar-events' ), + ); + + $args = array( + 'hierarchical' => true, + 'labels' => $labels, + 'public' => false, + 'show_admin_column' => false, + 'show_in_nav_menus' => false, + 'show_tagcloud' => false, + 'show_ui' => false, + ); + register_taxonomy( 'calendar_feed', array( 'calendar' ), $args ); + + } + + if ( ! taxonomy_exists( 'calendar_type' ) ) { + + // Calendar Type. + $labels = array( + 'name' => __( 'Calendar Types', 'google-calendar-events' ), + 'singular_name' => __( 'Calendar Type', 'google-calendar-events' ), + 'menu_name' => __( 'Calendar Type', 'google-calendar-events' ), + 'all_items' => __( 'All Calendar Types', 'google-calendar-events' ), + 'parent_item' => __( 'Parent Calendar Type', 'google-calendar-events' ), + 'parent_item_colon' => __( 'Parent Calendar Type:', 'google-calendar-events' ), + 'new_item_name' => __( 'New Calendar Type', 'google-calendar-events' ), + 'add_new_item' => __( 'Add New Calendar Type', 'google-calendar-events' ), + 'edit_item' => __( 'Edit Calendar Type', 'google-calendar-events' ), + 'update_item' => __( 'Update Calendar Type', 'google-calendar-events' ), + 'view_item' => __( 'View Calendar Type', 'google-calendar-events' ), + 'separate_items_with_commas' => __( 'Separate calendar types with commas', 'google-calendar-events' ), + 'add_or_remove_items' => __( 'Add or remove calendar types', 'google-calendar-events' ), + 'choose_from_most_used' => __( 'Choose from the most used', 'google-calendar-events' ), + 'popular_items' => __( 'Popular calendar types', 'google-calendar-events' ), + 'search_items' => __( 'Search Calendar Types', 'google-calendar-events' ), + 'not_found' => __( 'Not Found', 'google-calendar-events' ), + ); + + $args = array( + 'hierarchical' => true, + 'labels' => $labels, + 'public' => false, + 'show_admin_column' => false, + 'show_in_nav_menus' => false, + 'show_tagcloud' => false, + 'show_ui' => false, + ); + register_taxonomy( 'calendar_type', array( 'calendar' ), $args ); + + } + + if ( ! taxonomy_exists( 'calendar_category' ) ) { + + // Feed Category. + $labels = array( + 'name' => __( 'Categories', 'google-calendar-events' ), + 'singular_name' => __( 'Category', 'google-calendar-events' ), + 'menu_name' => __( 'Categories', 'google-calendar-events' ), + 'all_items' => __( 'All Categories', 'google-calendar-events' ), + 'parent_item' => __( 'Parent Category', 'google-calendar-events' ), + 'parent_item_colon' => __( 'Parent Category:', 'google-calendar-events' ), + 'new_item_name' => __( 'New Category', 'google-calendar-events' ), + 'add_new_item' => __( 'Add New Category', 'google-calendar-events' ), + 'edit_item' => __( 'Edit Category', 'google-calendar-events' ), + 'update_item' => __( 'Update Category', 'google-calendar-events' ), + 'view_item' => __( 'View Category', 'google-calendar-events' ), + 'separate_items_with_commas' => __( 'Separate categories with commas', 'google-calendar-events' ), + 'add_or_remove_items' => __( 'Add or remove categories', 'google-calendar-events' ), + 'choose_from_most_used' => __( 'Choose from the most used', 'google-calendar-events' ), + 'popular_items' => __( 'Popular Categories', 'google-calendar-events' ), + 'search_items' => __( 'Search Categories', 'google-calendar-events' ), + 'not_found' => __( 'Not Found', 'google-calendar-events' ), + ); + + $args = array( + 'hierarchical' => true, + 'labels' => $labels, + 'public' => true, + 'show_admin_column' => true, + 'show_in_nav_menus' => true, + 'show_tagcloud' => false, + 'show_ui' => true, + ); + + register_taxonomy( 'calendar_category', array( 'calendar' ), $args ); + } + + } + + /** + * Register custom post types. + * + * @since 3.0.0 + */ + public static function register_post_types() { + + do_action( 'simcal_register_post_types' ); + + if ( ! post_type_exists( 'calendar' ) ) { + + // Calendar feed post type. + $labels = array( + 'name' => _x( 'Calendars', 'Post Type General Name', 'google-calendar-events' ), + 'singular_name' => _x( 'Calendar', 'Post Type Singular Name', 'google-calendar-events' ), + 'menu_name' => __( 'Calendars', 'google-calendar-events' ), + 'name_admin_bar' => __( 'Calendar', 'google-calendar-events' ), + 'parent_item_colon' => __( 'Parent Calendar:', 'google-calendar-events' ), + 'all_items' => __( 'All Calendars', 'google-calendar-events' ), + 'add_new_item' => __( 'Add New Calendar', 'google-calendar-events' ), + 'add_new' => __( 'Add New', 'google-calendar-events' ), + 'new_item' => __( 'New Calendar', 'google-calendar-events' ), + 'edit_item' => __( 'Edit Calendar', 'google-calendar-events' ), + 'update_item' => __( 'Update Calendar', 'google-calendar-events' ), + 'view_item' => __( 'View Calendar', 'google-calendar-events' ), + 'search_items' => __( 'Search Calendar', 'google-calendar-events' ), + 'not_found' => __( 'Calendars not found', 'google-calendar-events' ), + 'not_found_in_trash' => __( 'Calendars not found in Trash', 'google-calendar-events' ), + ); + + $rewrite_rules = array( + 'feeds' => false, + 'pages' => false, + 'with_front' => false, + 'slug' => 'calendar', + ); + + $svg_icon = 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iU2hhcGVzX3hBMF9JbWFnZV8xXyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDEwMjQgMTAyNCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwMDAwIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIGQ9Ik01MTMuNCwxMDEzLjNjLTE2My44LDAtMzI3LjcsMC00OTEuNSwwYy05LjcsMC04LjgsMC45LTguOC04LjljMC0yNDMuNywwLjItNDg3LjMtMC4zLTczMWMtMC4xLTM5LjYsMjcuNy03Ni40LDY5LjYtODIuM2MzLTAuNCw2LTAuNSw5LTAuNWMzNSwwLDcwLDAuMSwxMDUtMC4xYzUuMSwwLDYuNSwxLjQsNi41LDYuNWMtMC4yLDI2LjgsMC4xLDUzLjctMC4yLDgwLjVjLTAuMiwxNS4yLDMuOSwyOC4yLDE1LjksMzguMmMyLjcsMi4yLDUsNC44LDcuNCw3LjRjOCw4LjYsMTguMSwxMi40LDI5LjYsMTIuNGMzMC43LDAuMiw2MS4zLDAuMiw5MiwwYzExLjItMC4xLDIxLjItMy45LDI5LjEtMTIuMmMzLjQtMy42LDctNy4yLDEwLjYtMTAuNmM5LTguNCwxMi43LTE4LjksMTIuNy0zMWMwLjEtMjguMiwwLTU2LjMsMC04NC41YzAtNi42LDAtNi42LDYuNi02LjZjNzEuNSwwLDE0MywwLDIxNC41LDBjNi42LDAsNi42LDAsNi42LDYuN2MwLDI2LjgsMC4yLDUzLjctMC4xLDgwLjVjLTAuMiwxNSw1LjEsMjYuOCwxNS40LDM4YzEzLjYsMTQuNywyOC45LDIwLjgsNDguNywyMC4xYzI1LjYtMSw1MS4zLTAuNCw3Ny0wLjJjMTMuOSwwLjEsMjQuOC01LjEsMzUuNC0xNC40YzE1LjktMTQsMjIuMS0zMC40LDIxLjEtNTEuM2MtMS4xLTI0LjMtMC4xLTQ4LjctMC40LTczYzAtNS4xLDEuNC02LjUsNi41LTYuNWMzNC43LDAuMiw2OS4zLDAsMTA0LDAuMWM0Mi4zLDAuMiw3OC4zLDM2LDc4LjMsNzguM2MwLjEsMjQ2LDAsNDkyLDAsNzM4YzAsNi40LDAsNi40LTcuMyw2LjRDODQyLDEwMTMuMyw2NzcuNywxMDEzLjMsNTEzLjQsMTAxMy4zeiBNNDM5LjUsNjc4LjljMS42LTEsMi4yLTEuNSwzLTEuOGMxMS44LTUuOCwyMS41LTE0LjIsMjktMjQuOGMyNC4zLTM0LjEsMjQuMy03MC45LDguNi0xMDcuOGMtMTMuMy0zMS4zLTM5LjMtNDkuMy03MS01OS40Yy0yNy42LTguOC01Ni05LjQtODQuNS01LjZjLTIwLjMsMi43LTM5LjIsOS42LTU1LjUsMjIuMmMtMzUuNSwyNy4yLTQ4LjQsNjUuMS01MC40LDEwOGMtMC4yLDMuNywyLjEsMy45LDQuOCwzLjljMjIuMiwwLDQ0LjMtMC4xLDY2LjUsMGMzLjgsMCw1LjQtMS4xLDUuMy01LjFjLTAuMS03LjcsMS0xNS4zLDMtMjIuN2M1LjQtMjAsMTYuNS0zNC43LDM3LjgtMzkuN2M4LjEtMS45LDE2LjMtMi4xLDI0LjQtMS4zYzIxLjQsMi4xLDM2LjMsMTMuMSw0My41LDMzLjdjMy41LDEwLjEsMy45LDIwLjQsMi45LDMxYy0yLjIsMjMuNC0xNi4yLDM5LjctMzkuMSw0NC42Yy0xMy4yLDIuOC0yNi42LDQuMS00MC4yLDRjLTMuNywwLTUsMS4yLTQuOSw0LjljMC4xLDE2LjUsMC4yLDMzLDAsNDkuNWMwLDQsMS41LDUuMiw1LjMsNS4xYzEyLjktMC4zLDI1LjYsMC45LDM4LjMsM2MyNi4zLDQuMiw0My41LDE4LjgsNDkuMiw0MmMzLjMsMTMuNSwzLDI3LjEtMC4yLDQwLjZjLTIuMyw5LjctNi44LDE4LjQtMTMuOCwyNS43Yy0xNS40LDE2LjEtMzQuNSwyMS42LTU2LDE4LjljLTI3LjUtMy40LTQzLjUtMTgtNTAuNS00NC44Yy0xLjktNy4zLTMuMS0xNC43LTIuOC0yMi4yYzAuMi00LTEuMS01LjYtNS40LTUuNmMtMjMuNywwLjItNDcuMywwLjItNzEsMGMtNCwwLTUuNCwxLjItNC45LDUuMmMxLjQsMTMuMiwyLjcsMjYuNSw1LjksMzkuNWMxMS4xLDQ1LjIsMzguMiw3NS42LDgzLjQsODguMmMzNi43LDEwLjMsNzMuOCwxMC4xLDExMC41LDAuMWMyNC41LTYuNiw0NC43LTIwLjEsNjEtMzkuOGMyNC41LTI5LjcsMzQuNC02My45LDMxLjQtMTAxLjljLTIuMi0yNy40LTEyLjUtNTEuMy0zMy42LTY5LjhDNDYwLjcsNjg5LjMsNDUxLjksNjgyLDQzOS41LDY3OC45eiBNNzU1LDY5Mi41YzAtNjguNi0wLjEtMTM3LjMsMC4xLTIwNS45YzAtNS4xLTEuNC02LjUtNi41LTYuNGMtMTguMywwLjMtMzYuNywwLjQtNTUsMGMtNS43LTAuMS03LjIsMS45LTguMiw3Yy01LjksMzIuMS0yNC40LDUzLTU2LjMsNjEuMWMtMTcuNSw0LjUtMzUuNiw1LTUzLjUsNS44Yy0zLjksMC4yLTUuMiwxLjQtNS4yLDUuM2MwLjIsMTUuMywwLjIsMzAuNywwLDQ2Yy0wLjEsNC4zLDEuNiw1LjQsNS42LDUuM2MxNC4yLTAuMiwyOC4zLTAuMSw0Mi41LTAuMWMxNS41LDAsMzEsMC4xLDQ2LjUtMC4xYzQuMSwwLDUuOSwxLjMsNS41LDUuNGMtMC4xLDEuNywwLDMuMywwLDVjMCw5Mi4xLDAsMTg0LjMsMCwyNzYuNGMwLDcuMiwwLDcuMiw3LDcuMmMyMy41LDAsNDcsMCw3MC41LDBjNywwLDcsMCw3LTcuMkM3NTUsODI5LjEsNzU1LDc2MC44LDc1NSw2OTIuNXoiLz48cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiMwMDAwMDAiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTM3Ni43LDE5OS4yYzAsMjQuMiwwLDQ4LjMsMCw3Mi41Yy0wLjEsMjMuMS0xNy40LDQwLjUtNDAuNCw0MC42Yy0yMy4zLDAuMS00Ni42LDAuMS03MCwwYy0yMi44LTAuMS00MC4zLTE3LjQtNDAuMy00MC4xYy0wLjEtNDguNS0wLjEtOTYuOSwwLTE0NS40YzAtMjIuNCwxNy41LTQwLDM5LjktNDAuMWMyMy43LTAuMSw0Ny4zLTAuMSw3MSwwYzIyLjQsMC4xLDM5LjgsMTcuNywzOS44LDQwLjFDMzc2LjgsMTUwLjksMzc2LjcsMTc1LjEsMzc2LjcsMTk5LjJ6Ii8+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwMDAwIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIGQ9Ik04MDEuNywxOTkuNmMwLDI0LDAsNDgsMCw3MmMwLDIzLjQtMTcuMyw0MC43LTQwLjcsNDAuOGMtMjMuMiwwLjEtNDYuMywwLjEtNjkuNSwwYy0yMy4xLTAuMS00MC41LTE3LjQtNDAuNS00MC41Yy0wLjEtNDguMy0wLjEtOTYuNiwwLTE0NC45YzAtMjIuNywxNy41LTQwLjIsNDAuMi00MC4zYzIzLjMtMC4xLDQ2LjYtMC4xLDcwLDBjMjMuMSwwLjEsNDAuNCwxNy40LDQwLjUsNDAuNUM4MDEuOCwxNTEuMyw4MDEuNywxNzUuNCw4MDEuNywxOTkuNnoiLz48L3N2Zz4='; + + $args = array( + 'capability_type' => 'post', + 'exclude_from_search' => false, + 'has_archive' => false, + 'hierarchical' => false, + 'label' => __( 'Calendar', 'google-calendar-events' ), + 'labels' => $labels, + 'query_var' => true, + 'public' => true, + 'publicly_queryable' => true, + 'menu_icon' => $svg_icon, + 'menu_position' => 26.8, + 'rewrite' => $rewrite_rules, + 'show_in_admin_bar' => true, + 'show_in_menu' => true, + 'show_in_nav_menus' => true, + 'show_ui' => true, + 'supports' => array( 'title', 'editor' ), + 'taxonomies' => array( + 'calendar_category', + 'calendar_feed', + 'calendar_type', + ), + ); + + register_post_type( 'calendar', $args ); + } + + } + + /** + * Filter post content to output a calendar. + * + * @since 3.0.0 + * + * @param string $the_content + * + * @return string + */ + public function filter_post_content( $the_content ) { + + if ( is_singular() ) { + + global $post; + + if ( 'calendar' == $post->post_type ) { + + if ( is_admin() && ! defined( 'DOING_AJAX' ) ) { + return ''; + } else { + ob_start(); + simcal_print_calendar( $post ); + return ob_get_clean(); + } + + } else { + + $post_types = array(); + $settings = get_option( 'simple-calendar_settings_calendars' ); + if ( isset( $settings['general']['attach_calendars_posts'] ) ) { + $post_types = $settings['general']['attach_calendars_posts']; + } + + if ( empty( $post_types ) ) { + return $the_content; + } + + if ( in_array( $post->post_type, (array) $post_types ) ) { + + $id = absint( get_post_meta( $post->ID, '_simcal_attach_calendar_id', true ) ); + + if ( $id > 0 ) { + + $pos = esc_attr( get_post_meta( $post->ID, '_simcal_attach_calendar_position', true ) ); + + ob_start(); + + if ( 'after' == $pos ) { + echo $the_content; + simcal_print_calendar( $id ); + } elseif ( 'before' == $pos ) { + simcal_print_calendar( $id ); + echo $the_content; + } else { + echo $the_content; + } + + return ob_get_clean(); + } + } + + } + + } + + return $the_content; + } + + /** + * Upon posts deletion. + * + * Delete transients and notices when a calendar is deleted. + * + * @since 3.0.0 + * + * @param $post_id + */ + public function upon_deletion( $post_id ) { + + $post_type = get_post_type( $post_id ); + + if ( 'calendar' == $post_type ) { + + $notices = get_option( 'simple-calendar_admin_notices', array() ); + + if ( ! empty( $notices ) && isset( $notices[ 'calendar_' . strval( $post_id ) ] ) ) { + unset( $notices[ 'calendar_' . strval( $post_id ) ] ); + update_option( 'simple-calendar_admin_notices', $notices ); + } + + simcal_delete_feed_transients( $post_id ); + } + } + +} diff --git a/wp-content/plugins/google-calendar-events/includes/register-settings.php b/wp-content/plugins/google-calendar-events/includes/register-settings.php deleted file mode 100644 index a2dc83c..0000000 --- a/wp-content/plugins/google-calendar-events/includes/register-settings.php +++ /dev/null @@ -1,207 +0,0 @@ -, Nick Young - */ - -// Exit if accessed directly. -if ( ! defined( 'ABSPATH' ) ) { - exit; -} - -/** - * Main function to register all of the plugin settings - * - * @since 2.0.0 - */ -function gce_register_settings() { - - $gce_settings = array( - - /* General Settings */ - 'general' => array( - 'api_key' => array( - 'id' => 'api_key', - 'name' => __( 'Google API Key', 'gce' ), - 'desc' => __( 'Google now requires you to use your own API key to avoid running into the request limit.', 'gce' ) . '
              ' . - sprintf( __( 'Instructions on how to generate and set your own Google API key.', 'gce' ), - gce_ga_campaign_url( 'http://wpdocs.philderksen.com/google-calendar-events/getting-started/api-key-settings/', 'gce_lite', 'settings_link', 'docs' ) ), - 'size' => 'regular-text', - 'type' => 'text' - ), - 'always_enqueue' => array( - 'id' => 'always_enqueue', - 'name' => __( 'Always Enqueue Scripts & Styles', 'gce' ), - 'desc' => __( 'Enqueue this plugin\'s scripts and styles on every post and page.', 'gce' ) . '
              ' . - '

              ' . __( 'Useful if using shortcodes in widgets or other non-standard locations.', 'gce' ) . '

              ', - 'type' => 'checkbox' - ), - 'disable_css' => array( - 'id' => 'disable_css', - 'name' => __( 'Disable Plugin CSS', 'gce' ), - 'desc' => __( "If this option is checked, this plugin's CSS file will not be referenced.", 'gce' ), - 'type' => 'checkbox' - ), - 'save_settings' => array( - 'id' => 'save_settings', - 'name' => __( 'Save Settings', 'gce' ), - 'desc' => __( 'Save your settings when uninstalling this plugin.', 'gce' ) . '
              ' . - '

              ' . __( 'Useful when upgrading or re-installing.', 'gce' ) . '

              ', - 'type' => 'checkbox' - ) - ) - ); - - /* If the options do not exist then create them for each section */ - if ( false == get_option( 'gce_settings_general' ) ) { - add_option( 'gce_settings_general' ); - } - - /* Add the General Settings section */ - add_settings_section( - 'gce_settings_general', - __( 'General Settings', 'gce' ), - '__return_false', - 'gce_settings_general' - ); - - foreach ( $gce_settings['general'] as $option ) { - add_settings_field( - 'gce_settings_general[' . $option['id'] . ']', - $option['name'], - function_exists( 'gce_' . $option['type'] . '_callback' ) ? 'gce_' . $option['type'] . '_callback' : 'gce_missing_callback', - 'gce_settings_general', - 'gce_settings_general', - gce_get_settings_field_args( $option, 'general' ) - ); - } - - /* Register all settings or we will get an error when trying to save */ - register_setting( 'gce_settings_general', 'gce_settings_general', 'gce_settings_sanitize' ); - -} -add_action( 'admin_init', 'gce_register_settings' ); - -/* - * Return generic add_settings_field $args parameter array. - * - * @since 2.0.0 - * - * @param string $option Single settings option key. - * @param string $section Section of settings apge. - * @return array $args parameter to use with add_settings_field call. - */ -function gce_get_settings_field_args( $option, $section ) { - $settings_args = array( - 'id' => $option['id'], - 'desc' => $option['desc'], - 'name' => $option['name'], - 'section' => $section, - 'size' => isset( $option['size'] ) ? $option['size'] : null, - 'options' => isset( $option['options'] ) ? $option['options'] : '', - 'std' => isset( $option['std'] ) ? $option['std'] : '' - ); - - // Link label to input using 'label_for' argument if text, textarea, password, select, or variations of. - // Just add to existing settings args array if needed. - if ( in_array( $option['type'], array( 'text', 'select', 'textarea', 'password', 'number' ) ) ) { - $settings_args = array_merge( $settings_args, array( 'label_for' => 'gce_settings_' . $section . '[' . $option['id'] . ']' ) ); - } - - return $settings_args; -} - -/* - * Single checkbox callback function - * - * @since 2.0.0 - * - */ -function gce_checkbox_callback( $args ) { - global $gce_options; - - $checked = isset( $gce_options[$args['id']] ) ? checked( 1, $gce_options[$args['id']], false ) : ''; - $html = "\n" . '' . "\n"; - - // Render description text directly to the right in a label if it exists. - if ( ! empty( $args['desc'] ) ) - $html .= '' . "\n"; - - echo $html; -} - -/** - * Textbox callback function - * Valid built-in size CSS class values: - * small-text, regular-text, large-text - * - * @since 2.1.0 - * - */ -function gce_text_callback( $args ) { - global $gce_options; - - if ( isset( $gce_options[ $args['id'] ] ) ) - $value = $gce_options[ $args['id'] ]; - else - $value = isset( $args['std'] ) ? $args['std'] : ''; - - $size = ( isset( $args['size'] ) && ! is_null( $args['size'] ) ) ? $args['size'] : ''; - $html = "\n" . '' . "\n"; - - // Render and style description text underneath if it exists. - if ( ! empty( $args['desc'] ) ) { - $html .= '

              ' . $args['desc'] . '

              ' . "\n"; - } - - echo $html; -} - -/* - * Function we can use to sanitize the input data and return it when saving options - * - * @since 2.0.0 - * - */ -function gce_settings_sanitize( $input ) { - return gce_sanitize_input( $input, 'sanitize_text_field' ); -} - -/* - * Default callback function if correct one does not exist - * - * @since 2.0.0 - * - */ -function gce_missing_callback( $args ) { - printf( __( 'The callback function used for the %s setting is missing.', 'gce' ), $args['id'] ); -} - -/* - * Function used to return an array of all of the plugin settings - * - * @since 2.0.0 - * - */ -function gce_get_settings() { - - // Set default settings - // If this is the first time running we need to set the defaults - if ( ! get_option( 'gce_upgrade_has_run' ) ) { - - $general = get_option( 'gce_settings_general' ); - - $general['save_settings'] = 1; - $general['always_enqueue'] = 1; - - update_option( 'gce_settings_general', $general ); - } - - $general_settings = is_array( get_option( 'gce_settings_general' ) ) ? get_option( 'gce_settings_general' ) : array(); - - return $general_settings; -} diff --git a/wp-content/plugins/google-calendar-events/includes/shortcodes.php b/wp-content/plugins/google-calendar-events/includes/shortcodes.php index cd95096..85349b0 100644 --- a/wp-content/plugins/google-calendar-events/includes/shortcodes.php +++ b/wp-content/plugins/google-calendar-events/includes/shortcodes.php @@ -1,166 +1,81 @@ , Nick Young - * @license GPL-2.0+ - * @copyright 2014 Phil Derksen + * Register and handle custom shortcodes. + * + * @since 3.0.0 */ +class Shortcodes { -/** - * Adds support for the new [gcal] shortcode - * - * Supports the old [google-calendar-events] shortcode - * - * @since 2.0.0 - * - * @param array $attr - * @return string - */ -function gce_gcal_shortcode( $attr ) { + /** + * Hook in tabs. + * + * @since 3.0.0 + */ + public function __construct() { - extract( shortcode_atts( array( - 'id' => null, - 'display' => '', - 'order' => 'asc', - 'title' => null, - 'type' => null, - 'paging' => null, - 'interval' => null, - 'interval_count' => null, - 'offset_interval_count' => null, - 'offset_direction' => null, - 'show_tooltips' => null - ), $attr, 'gce_feed' ) ); + // Add shortcodes. + add_action( 'init', array( $this, 'register' ) ); + } + + /** + * Register shortcodes. + * + * @since 3.0.0 + */ + public function register() { + + add_shortcode( 'calendar', array( $this, 'print_calendar' ) ); + // @deprecated legacy shortcode + add_shortcode( 'gcal', array( $this, 'print_calendar' ) ); + + do_action( 'simcal_add_shortcodes' ); + } + + /** + * Print a calendar. + * + * @since 3.0.0 + * + * @param array $attributes + * + * @return string + */ + public function print_calendar( $attributes ) { + + $args = shortcode_atts( array( + 'id' => null, + ), $attributes ); + + $id = absint( $args['id'] ); + + if ( $id > 0 ) { + + $calendar = simcal_get_calendar( $id ); + + if ( $calendar instanceof Calendar ) { + ob_start(); + $calendar->html(); + return ob_get_clean(); + } + + } - if ( ! $id || is_null( $id ) ) { return ''; } - $invalid_id = false; - - $paging_interval = null; - $max_events = null; - - $feed_ids = explode( ',', str_replace( ' ', '', $id ) ); - - foreach( $feed_ids as $k => $v ) { - // Check for an old ID attached to this feed ID first - $q = new WP_Query( "post_type=gce_feed&meta_key=old_gce_id&meta_value=$v&order=ASC" ); - - if( $q->have_posts() ) { - $q->the_post(); - // Set our ID to the old ID if found - $feed_ids[$k] = get_the_ID(); - $v = get_the_ID(); - } - - wp_reset_postdata(); - - if( empty( $display ) ) { - $display = get_post_meta( $v, 'gce_display_mode', true ); - } - - if( $interval == null ) { - $interval = get_post_meta( $v, 'gce_events_per_page', true ); - } - - if( $interval_count == null ) { - $interval_count = get_post_meta( $v, 'gce_per_page_num', true ); - } - - if( $offset_interval_count == null ) { - $offset_interval_count = get_post_meta( $v, 'gce_list_start_offset_num', true ); - } - - if( $offset_direction == null ) { - $offset_direction = get_post_meta( $v, 'gce_list_start_offset_direction', true ); - } - - if( $paging == null ) { - $paging = get_post_meta( $v, 'gce_paging', true ); - } - - if( $show_tooltips == null ) { - $show_tooltips = get_post_meta( $v, 'gce_show_tooltips', true ); - } - - if( ! ( 'publish' == get_post_status( $v ) ) ) { - $invalid_id = true; - } - } - - if( $invalid_id ) { - if( current_user_can( 'manage_options' ) ) { - return '

              ' . __( 'There was a problem with one or more of your feed IDs. Please check your shortcode settings and make sure they are correct.', 'gce' ) . '

              '; - } - } - - if( $paging == 'false' ) { - $paging = 0; - } else if( $paging == 'true' ) { - $paging = 1; - } - - - if( $offset_direction == 'back' ) { - $offset_direction = -1; - } else { - $offset_direction = 1; - } - - $start_offset = $offset_interval_count * 86400 * $offset_direction; - - if( $interval == 'days' ) { - $paging_interval = $interval_count * 86400; - $paging_type = 'days'; - } else if( $interval == 'events' ) { - $max_events = $interval_count; - $paging_type = 'events'; - } else if( $interval == 'week' ) { - $paging_interval = 604800; - } else if( $interval == 'month' ) { - $paging_interval = 2629743; - } - - // Port over old options - if( $type != null ) { - if( 'ajax' == $type ) { - $display = 'grid'; - } else { - $display = $type; - } - } - - if( $display == 'grouped-list' ) { - $display = 'list-grouped'; - } - - $args = array( - 'title_text' => $title, - 'sort' => $order, - 'grouped' => ( $display == 'list-grouped' ? 1 : 0 ), - 'month' => null, - 'year' => null, - 'widget' => 0, - 'paging_interval' => $paging_interval, - 'max_events' => $max_events, - 'paging' => $paging, - 'show_tooltips' => $show_tooltips - ); - - $args['start_offset'] = $start_offset; - - if( ! empty( $paging_type ) ) { - $args['paging_type'] = $paging_type; - } - - $feed_ids = implode( '-', $feed_ids ); - - return gce_print_calendar( $feed_ids, $display, $args ); - } -add_shortcode( 'gcal', 'gce_gcal_shortcode' ); -add_shortcode( 'google-calendar-events', 'gce_gcal_shortcode' ); diff --git a/wp-content/plugins/google-calendar-events/includes/update.php b/wp-content/plugins/google-calendar-events/includes/update.php new file mode 100644 index 0000000..1c692ec --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/update.php @@ -0,0 +1,220 @@ +installed_ver = is_null( $installed ) ? get_option( 'gce_version', null ) : $installed; + $this->new_ver = $version; + + if ( version_compare( $this->installed_ver, $this->new_ver, '<' ) ) { + $this->run_updates(); + } + } + + /** + * Update to current version. + * + * Runs all the update scripts through version steps. + * + * @since 3.0.0 + */ + public function run_updates() { + + do_action( 'simcal_before_update', $this->installed_ver ); + + if ( ! is_null( $this->installed_ver ) ) { + + if ( version_compare( $this->installed_ver, $this->new_ver ) === -1 ) { + + $post_type = version_compare( $this->installed_ver, '3.0.0' ) === -1 ? 'gce_feed' : 'calendar'; + $this->posts = $this->get_posts( $post_type ); + + foreach ( $this->update_path as $update_to ) { + if ( version_compare( $this->installed_ver, $update_to, '<' ) ) { + $this->update( $update_to ); + } + } + + } + + simcal_delete_feed_transients(); + + } else { + + new Post_Types(); + flush_rewrite_rules(); + + } + + do_action( 'simcal_updated', $this->new_ver ); + + // Redirect to a welcome page if new install or major update. + if ( is_null( $this->installed_ver ) ) { + set_transient( '_simple-calendar_activation_redirect', 'fresh', 60 ); + } else { + $major_new = substr( $this->new_ver, 0, strrpos( $this->new_ver, '.' ) ); + $major_old = substr( $this->installed_ver, 0, strrpos( $this->installed_ver, '.' ) ); + if ( version_compare( $major_new, $major_old, '>' ) ) { + set_transient( '_simple-calendar_activation_redirect', 'update', 60 ); + } elseif ( $major_old == $major_new ) { + $version = explode( '.', $this->new_ver ); + end( $version ); + if ( 0 === intval( current( $version ) ) ) { + set_transient( '_simple-calendar_activation_redirect', 'update', 60 ); + } + } + } + + $this->admin_redirects(); + + update_option( 'simple-calendar_version', $this->new_ver ); + } + + /** + * Handle redirects to welcome page after install and updates. + * + * Transient must be present, the user must have access rights, and we must ignore the network/bulk plugin updaters. + * + * @since 3.0.0 + */ + public function admin_redirects() { + + $transient = get_transient( '_simple-calendar_activation_redirect' ); + + if ( ! $transient || is_network_admin() || isset( $_GET['activate-multi'] ) || ! current_user_can( 'manage_options' ) ) { + return; + } + + delete_transient( '_simple-calendar_activation_redirect' ); + + // Do not redirect if already on welcome page screen. + if ( ! empty( $_GET['page'] ) && in_array( $_GET['page'], array( 'simple-calendar_about' ) ) ) { + return; + } + + $url = add_query_arg( + 'simcal_install', + esc_attr( $transient ), + admin_url( 'index.php?page=simple-calendar_about' ) + ); + wp_safe_redirect( $url ); + exit; + } + + /** + * Get posts. + * + * @since 3.0.0 + * + * @param $post_type + * + * @return array + */ + private function get_posts( $post_type ) { + + $posts = array(); + + if ( ! empty( $post_type ) ) { + + // https://core.trac.wordpress.org/ticket/18408 + $posts = get_posts( array( + 'post_type' => $post_type, + 'post_status' => array( + 'draft', + 'future', + 'publish', + 'pending', + 'private', + 'trash', + ), + 'nopaging' => true, + ) ); + + wp_reset_postdata(); + } + + return $posts; + } + + /** + * Update. + * + * Runs an update script for the specified version passed in argument. + * + * @since 3.0.0 + * + * @param string $version + */ + private function update( $version ) { + + $update_v = '\\' . __NAMESPACE__ . '\Updates\\Update_V' . str_replace( '.', '', $version ); + + if ( class_exists( $update_v ) ) { + new $update_v( $this->posts ); + } + } + +} diff --git a/wp-content/plugins/google-calendar-events/includes/updates/update-v210.php b/wp-content/plugins/google-calendar-events/includes/updates/update-v210.php new file mode 100644 index 0000000..f3084f4 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/updates/update-v210.php @@ -0,0 +1,45 @@ +ID, 'gce_feed_url', true ); + + if ( $url ) { + + $url = str_replace( 'https://www.google.com/calendar/feeds/', '', $url ); + $url = str_replace( '/public/basic', '', $url ); + $url = str_replace( '%40', '@', $url ); + + update_post_meta( $post->ID, 'gce_feed_url', $url ); + } + + } + + } + } + +} diff --git a/wp-content/plugins/google-calendar-events/includes/updates/update-v220.php b/wp-content/plugins/google-calendar-events/includes/updates/update-v220.php new file mode 100644 index 0000000..302d153 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/updates/update-v220.php @@ -0,0 +1,50 @@ +ID, 'gce_list_max_num', true ); + $gce_list_max_length = get_post_meta( $post->ID, 'gce_list_max_length', true ); + $gce_feed_start_interval = get_post_meta( $post->ID, 'gce_feed_start_interval', true ); + $gce_feed_start = get_post_meta( $post->ID, 'gce_feed_start', true ); + $gce_feed_end_interval = get_post_meta( $post->ID, 'gce_feed_end_interval', true ); + $gce_feed_end = get_post_meta( $post->ID, 'gce_feed_end', true ); + + update_post_meta( $post->ID, 'gce_per_page_num', $gce_list_max_num ); + update_post_meta( $post->ID, 'gce_events_per_page', $gce_list_max_length ); + update_post_meta( $post->ID, 'gce_feed_start', $gce_feed_start_interval ); + update_post_meta( $post->ID, 'gce_feed_start_num', $gce_feed_start ); + update_post_meta( $post->ID, 'gce_feed_end', $gce_feed_end_interval ); + update_post_meta( $post->ID, 'gce_feed_end_num', $gce_feed_end ); + + // Add new show tooltips option checked as default. + update_post_meta( $post->ID, 'gce_show_tooltips', 1 ); + } + + } + } + +} diff --git a/wp-content/plugins/google-calendar-events/includes/updates/update-v300.php b/wp-content/plugins/google-calendar-events/includes/updates/update-v300.php new file mode 100644 index 0000000..279d19e --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/updates/update-v300.php @@ -0,0 +1,386 @@ +update_posts( $posts ); + $this->update_post_type(); + $this->update_widgets(); + } + $this->update_options(); + + flush_rewrite_rules(); + } + + /** + * Update posts. + * + * @param $posts + */ + public function update_posts( $posts ) { + + foreach ( $posts as $post ) { + + $post_id = $post->ID; + + // Assign a feed taxonomy term (feed type) to legacy posts. + wp_set_object_terms( $post_id, 'google', 'calendar_feed' ); + + // Assign a calendar taxonomy term (calendar type) to legacy posts. + wp_set_object_terms( $post_id, 'default-calendar', 'calendar_type' ); + + // Convert legacy list/grid view to default calendar view. + $display = get_post_meta( $post_id, 'gce_display_mode', true ); + $views = array(); + $range = false; + if ( 'list' == $display ) { + $views['default-calendar'] = 'list'; + } elseif ( 'list-grouped' == $display ) { + $views['default-calendar'] = 'list'; + } elseif ( 'date-range-list' == $display ) { + $views['default-calendar'] = 'list'; + $range = true; + } elseif ( 'date-range-grid' == $display ) { + $views['default-calendar'] = 'grid'; + $range = true; + } else { + $views['default-calendar'] = 'grid'; + } + update_post_meta( $post_id, '_calendar_view', $views ); + + // List calendar settings. + $list_span = get_post_meta( $post_id, 'gce_events_per_page', true ); + $list_range = max( absint( get_post_meta( $post_id, 'gce_per_page_num', true ) ), 1 ); + if ( 'days' == $list_span ) { + $list_type = 'daily'; + } elseif ( 'week' == $list_span ) { + $list_type = 'weekly'; + $list_range = 1; + } elseif ( 'month' == $list_span ) { + $list_type = 'monthly'; + $list_range = 1; + } else { + $list_type = 'events'; + } + update_post_meta( $post_id, '_default_calendar_list_range_type', $list_type ); + update_post_meta( $post_id, '_default_calendar_list_range_span', $list_range ); + + $calendar_begins = 'today'; + + // Custom calendar range. + if ( $range === true ) { + + $begins = get_post_meta( $post_id, 'gce_feed_range_start', true ); + $ends = get_post_meta( $post_id, 'gce_feed_range_end', true ); + + if ( $begins && $ends ) { + update_post_meta( $post_id, '_calendar_begins', 'custom_date' ); + update_post_meta( $post_id, '_calendar_begins_custom_date', $this->convert_legacy_range( $begins ) ); + } else { + update_post_meta( $post_id, '_calendar_begins', $calendar_begins ); + } + + } else { + + // Legacy list calendars may have a start offset. + $offset = absint( get_post_meta( $post_id, 'gce_list_start_offset_num', true ) ); + if ( 'list' == $display && $offset > 0 ) { + $calendar_begins = 'back' == get_post_meta( $post_id, 'gce_list_start_offset_direction', true ) ? 'days_before' : 'days_after'; + update_post_meta( $post_id, '_calendar_begins_nth', $offset ); + } + + update_post_meta( $post_id, '_calendar_begins', $calendar_begins ); + } + + // Earliest event. + $start_before = get_post_meta( $post_id, 'gce_feed_start', true ); + $start_amt = absint( get_post_meta( $post_id, 'gce_feed_start_num', true ) ); + if ( $start_amt > 0 ) { + if ( 'years' == $start_before ) { + $earliest = 'years_before'; + } elseif ( 'months' == $start_before ) { + $earliest = 'months_before'; + } else { + $earliest = 'days_before'; + } + update_post_meta( $post_id, '_feed_earliest_event_date', $earliest ); + update_post_meta( $post_id, '_feed_earliest_event_date_range', $start_amt ); + } else { + update_post_meta( $post_id, '_feed_earliest_event_date', 'calendar_start' ); + update_post_meta( $post_id, '_feed_earliest_event_date_range', 1 ); + } + + // Latest event. + $end_after = get_post_meta( $post_id, 'gce_feed_end', true ); + $end_amt = absint( get_post_meta( $post_id, 'gce_feed_end_num', true ) ); + if ( $end_amt > 0 ) { + if ( 'years' == $end_after ) { + $latest = 'years_after'; + } elseif ( 'months' == $end_after ) { + $latest = 'months_after'; + } else { + $latest = 'days_after'; + } + update_post_meta( $post_id, '_feed_latest_event_date', $latest ); + update_post_meta( $post_id, '_feed_latest_event_date_range', $end_amt ); + } else { + update_post_meta( $post_id, '_feed_latest_event_date', 'calendar_start' ); + update_post_meta( $post_id, '_feed_latest_event_date_range', 1 ); + } + + // Static calendar. + if ( false === get_post_meta( $post_id, 'gce_paging', true ) ) { + update_post_meta( $post_id, '_calendar_is_static', 'yes' ); + } + + // Default calendar bubble trigger (click was unavailable before 3.0.0). + update_post_meta( $post_id, '_default_calendar_event_bubble_trigger', 'hover' ); + + // Default calendar multiple day events. + if ( get_post_meta( $post_id, 'gce_multi_day_events', true ) ) { + update_post_meta( $post_id, '_default_calendar_expand_multi_day_events', 'yes' ); + } else { + update_post_meta( $post_id, '_default_calendar_expand_multi_day_events', 'no' ); + } + + // Google Calendar ID. + $google_id = get_post_meta( $post_id, 'gce_feed_url', true ); + update_post_meta( $post_id, '_google_calendar_id', base64_encode( trim( $google_id ) ) ); + + // Google max results. + update_post_meta( $post_id, '_google_events_max_results', 2500 ); + + // Google calendar feed search terms. + $google_search = get_post_meta( $post_id, 'gce_search_query', true ); + if ( ! empty( $google_search ) ) { + update_post_meta( $post_id, '_google_events_search_query', trim( $google_search ) ); + } + + // Google recurring events. + if ( get_post_meta( $post_id, 'gce_expand_recurring', true ) ) { + update_post_meta( $post_id, '_google_events_recurring', 'show' ); + } else { + update_post_meta( $post_id, '_google_events_recurring', 'first-only' ); + } + + // Date and time format. + $date_format = get_post_meta( $post_id, 'gce_date_format', true ); + if ( ! empty( $date_format ) ) { + update_post_meta( $post_id, '_calendar_date_format_setting', 'use_custom_php' ); + update_post_meta( $post_id, '_calendar_date_format_php', $date_format ); + } else { + update_post_meta( $post_id, '_calendar_date_format_setting', 'use_site' ); + } + $time_format = get_post_meta( $post_id, 'gce_time_format', true ); + if ( ! empty( $time_format ) ) { + update_post_meta( $post_id, '_calendar_time_format_setting', 'use_custom_php' ); + update_post_meta( $post_id, '_calendar_time_format_php', $time_format ); + } else { + update_post_meta( $post_id, '_calendar_time_format_setting', 'use_site' ); + } + update_post_meta( $post_id, '_calendar_datetime_separator', '@' ); + update_post_meta( $post_id, '_calendar_week_starts_on_setting', 'use_site' ); + + // Feed transient cache duration. + $cache = get_post_meta( $post_id, 'gce_cache', true ); + if ( is_numeric( $cache ) ) { + $seconds = absint( $cache ); + if ( $seconds < 3600 ) { + $amount = $seconds / 60; + $unit = 60; + } elseif ( $seconds < 86400 ) { + $amount = $seconds / 3600; + $unit = 3600; + } elseif ( $seconds < 604800 ) { + $amount = $seconds / 86400; + $unit = 86400; + } else { + $amount = $seconds / 604800; + $unit = 604800; + } + $amount = max( ceil( $amount ), 1 ); + update_post_meta( $post_id, '_feed_cache_user_unit', $unit ); + update_post_meta( $post_id, '_feed_cache_user_amount', $amount ); + update_post_meta( $post_id, '_feed_cache', $unit * $amount ); + } else { + update_post_meta( $post_id, '_feed_cache_user_unit', 2 ); + update_post_meta( $post_id, '_feed_cache_user_amount', 3600 ); + update_post_meta( $post_id, '_feed_cache', 7200 ); + } + + $this->delete_post_meta( $post_id ); + + // Post updated. + update_post_meta( $post_id, '_calendar_version', '3.0.0' ); + } + + } + + /** + * Delete legacy post meta. + * + * @param int $post_id + */ + public function delete_post_meta( $post_id ) { + + $post_meta = array( + 'gce_cache', + 'gce_custom_from', + 'gce_custom_until', + 'gce_date_format', + 'gce_display_description', + 'gce_display_description_max', + 'gce_display_description_text', + 'gce_display_end', + 'gce_display_end_text', + 'gce_display_link', + 'gce_display_link_tab', + 'gce_display_link_text', + 'gce_display_location', + 'gce_display_location_text', + 'gce_display_mode', + 'gce_display_separator', + 'gce_display_simple', + 'gce_display_start', + 'gce_display_start_text', + 'gce_events_per_page', + 'gce_expand_recurring', + 'gce_feed_end', + 'gce_feed_end_custom', + 'gce_feed_end_num', + 'gce_feed_range_end', + 'gce_feed_range_start', + 'gce_feed_start', + 'gce_feed_start_custom', + 'gce_feed_start_num', + 'gce_feed_url', + 'gce_feed_use_range', + 'gce_list_start_offset_direction', + 'gce_list_start_offset_num', + 'gce_multi_day_events', + 'gce_paging', + 'gce_per_page_from', + 'gce_per_page_num', + 'gce_per_page_to', + 'gce_retrieve_from', + 'gce_retrieve_until', + 'gce_search_query', + 'gce_show_tooltips', + 'gce_time_format', + ); + + foreach ( $post_meta as $meta_key ) { + delete_post_meta( $post_id, $meta_key ); + } + } + + /** + * Update post type slug. + */ + public function update_post_type() { + + global $wpdb; + $table = $wpdb->prefix . 'posts'; + + $wpdb->query( + " +UPDATE {$table} SET `post_type`='calendar' WHERE `post_type`='gce_feed'; +" + ); + } + + /** + * Update options. + */ + public function update_options() { + + $old_settings = get_option( 'gce_settings_general' ); + $new_settings_feeds = get_option( 'simple-calendar_settings_feeds' ); + $new_settings_advanced = get_option( 'simple-calendar_settings_advanced' ); + + // If empty probably using a legacy hardcoded key (no longer recommended). + $new_settings_feeds['google']['api_key'] = ! empty( $old_settings['api_key'] ) ? $old_settings['api_key'] : ''; + update_option( 'simple-calendar_settings_feeds', $new_settings_feeds ); + + $new_settings_advanced['assets']['disable_css'] = ! empty( $old_settings['disable_css'] ) ? 'yes' : ''; + update_option( 'simple-calendar_settings_advanced', $new_settings_advanced ); + + // Delete legacy options. + delete_option( 'gce_version' ); + delete_option( 'gce_options' ); + delete_option( 'gce_upgrade_has_run' ); + delete_option( 'gce_v240_update_notices' ); + delete_option( 'gce_show_admin_install_notice' ); + } + + /** + * Update widgets. + */ + public function update_widgets() { + + $old_widgets = get_option( 'widget_gce_widget' ); + + if ( ! empty( $old_widgets ) && is_array( $old_widgets ) ) { + + $new_widgets = array(); + + foreach ( $old_widgets as $i => $old_widget ) { + if ( isset( $old_widget['id'] ) ) { + + $id = absint( substr( $old_widget['id'], 0, strspn( $old_widget['id'], '0123456789' ) ) ); + + if ( $id > 0 ) { + $new_widgets[ $i ]['title'] = isset( $old_widget['name'] ) ? $old_widget['name'] : 'Simple Calendar'; + $new_widgets[ $i ]['calendar_id'] = $id; + } + } + } + + if ( ! empty( $new_widgets ) ) { + update_option( 'widget_gce_widget', $new_widgets ); + } + } + } + + /** + * Convert legacy range date. + * + * Converts US format m/d/Y to international ISO 8601 Y-m-d. + * + * @param string $date + * + * @return string + */ + private function convert_legacy_range( $date ) { + $date = empty( $date ) ? date( 'm/d/Y', time() ) : $date; + $timestamp = Carbon::createFromFormat( 'm/d/Y', $date )->getTimestamp(); + return date( 'Y-m-d', $timestamp ); + } + +} diff --git a/wp-content/plugins/google-calendar-events/includes/widgets.php b/wp-content/plugins/google-calendar-events/includes/widgets.php new file mode 100644 index 0000000..d2ad969 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/widgets.php @@ -0,0 +1,62 @@ +widgets = apply_filters( 'simcal_get_widgets', array( + 'SimpleCalendar\Widgets\Calendar' + ), array() ); + + add_action( 'widgets_init', array( $this, 'register' ) ); + } + + /** + * Register widgets. + * + * @since 3.0.0 + */ + public function register() { + + $widgets = $this->widgets; + + if ( ! empty( $widgets ) && is_array( $widgets ) ) { + foreach ( $widgets as $widget ) { + register_widget( $widget ); + } + } + + do_action( 'simcal_register_widgets' ); + } + +} diff --git a/wp-content/plugins/google-calendar-events/includes/widgets/calendar.php b/wp-content/plugins/google-calendar-events/includes/widgets/calendar.php new file mode 100644 index 0000000..a5c698f --- /dev/null +++ b/wp-content/plugins/google-calendar-events/includes/widgets/calendar.php @@ -0,0 +1,160 @@ + __( 'Display a calendar of events from one of your calendar feeds.', 'google-calendar-events' ) + ); + + parent::__construct( $id_base, $name, $widget_options ); + + if ( is_admin() ) { + if ( ! defined( 'DOING_AJAX' ) ) { + $this->calendars = simcal_get_calendars(); + } else { + $this->calendars = get_transient( '_simple-calendar_feed_ids' ); + } + } + } + + /** + * Print the widget content. + * + * @since 3.0.0 + * + * @param array $args Display arguments. + * @param array $instance The settings for the particular instance of the widget. + */ + public function widget( $args, $instance ) { + + echo $args['before_widget']; + + if ( ! empty( $instance['title'] ) ) { + + echo $args['before_title'] . apply_filters( 'widget_title', $instance['title'] ) . $args['after_title']; + } + + $id = isset( $instance['calendar_id'] ) ? absint( $instance['calendar_id'] ) : 0; + if ( $id > 0 ) { + simcal_print_calendar( $id ); + } + + echo $args['after_widget']; + } + + /** + * Update a particular instance of the widget. + * + * This function should check that $new_instance is set correctly. + * The newly-calculated value of `$instance` should be returned. + * If false is returned, the instance won't be saved/updated. + * + * @since 3.0.0 + * + * @param array $new_instance New settings for this instance as input by the user via + * @param array $old_instance Old settings for this instance. + * + * @return array Settings to save or bool false to cancel saving. + */ + public function update( $new_instance, $old_instance ) { + + $instance = array(); + + $instance['title'] = ( ! empty( $new_instance['title'] ) ) ? sanitize_text_field( $new_instance['title'] ) : ''; + $instance['calendar_id'] = ( ! empty( $new_instance['calendar_id'] ) ) ? absint( $new_instance['calendar_id'] ) : ''; + + return $instance; + } + + /** + * Print the settings update form. + * + * @since 3.0.0 + * + * @param array $instance Current settings. + * + * @return string + */ + public function form( $instance ) { + + $title = isset( $instance['title'] ) ? esc_attr( $instance['title'] ) : __( 'Calendar', 'google-calendar-events' ); + $calendar_id = isset( $instance['calendar_id'] ) ? esc_attr( $instance['calendar_id'] ) : ''; + + ?> +
              + +

              + +
              + +

              + +

              + +
              + calendars ) > 15 ? ' simcal-field-select-enhanced' : ''; ?> + +

              + +
              + , Nick Young - * @license GPL-2.0+ - * @copyright 2014 Phil Derksen - */ - -(function ($) { - "use strict"; - - $(function () { - - // Show the hidden text box if custom date is selected (Events per Page) - $('body').on('change', 'select[id*=events_per_page]', function() { - - // Hide everything before showing what we want - $(this).parent().children('.gce_per_page_num_wrap').hide(); - - if( $(this).val() == 'days' || $(this).val() == 'events' ) { - $(this).parent().children('.gce_per_page_num_wrap').show(); - } - }); - - $('body').on('change', 'select[id*=display_type]', function() { - - if( $(this).val() == 'date-range-list' || $(this).val() == 'date-range-grid' ) { - $(this).parent().parent().children('.gce-display-option').hide(); - $(this).parent().parent().children('.gce-custom-range').show(); - } else { - $(this).parent().parent().children('.gce-display-option').show(); - $(this).parent().parent().children('.gce-custom-range').hide(); - } - }); - - // For main settings page - $('body').on('change', 'select[id*=gce_display_mode]', function() { - if( $(this).val() == 'date-range-list' || $(this).val() == 'date-range-grid' ) { - $('.gce-display-option').hide(); - $('.gce-custom-range').show(); - } else { - $('.gce-display-option').show(); - $('.gce-custom-range').hide(); - } - }); - - // Add jQuery date picker to our custom date fields - // We have to do it this way because the widget will break after clicking "Save" and this method fixes this problem - // REF: http://stackoverflow.com/a/10433307/3578774 - $('body').on('focus', 'input[id*=feed_range_start]', function(){ - $(this).datepicker(); - }); - - $('body').on('focus', 'input[id*=feed_range_end]', function(){ - $(this).datepicker(); - }); - - // Trigger CPT Publish/Update click from another button. - // Form post trigger still pops up JS warning on new CPT. - $('.gce-feed-update-button').click(function(e) { - e.preventDefault(); - - $('#publish').click(); - }); - - // Automatically change the width of shortcode pseudo-inputs. - $( 'input.gce-shortcode' ).each( function() { - $( this ).attr( 'size', $( this ).val().length ); - } ); - - }); -}(jQuery)); diff --git a/wp-content/plugins/google-calendar-events/js/gce-script.js b/wp-content/plugins/google-calendar-events/js/gce-script.js deleted file mode 100644 index 2e580bd..0000000 --- a/wp-content/plugins/google-calendar-events/js/gce-script.js +++ /dev/null @@ -1,171 +0,0 @@ -/** - * Public JS functions - * - * @package GCE - * @author Phil Derksen , Nick Young - * @license GPL-2.0+ - * @copyright 2014 Phil Derksen - */ - -/* global jQuery, gce, gce_grid */ - -(function($) { - 'use strict'; - - $(function() { - - var $body = $( 'body'), - grids = $body.find('.gce-page-grid, .gce-widget-grid'), - gce_grid = [ grids.each( function( e, i ) { return $( i ).data( 'feed' ); } ) ], - tooltip_elements = ''; - - $body.find('.gce-page-grid, .gce-widget-grid').each( function( e, i ) { - - var id = $( this ).attr('id'), - gce_grid = $( this ).data( 'feed' ); - - if( gce_grid[id].show_tooltips == 'true' || gce_grid[id].show_tooltips == true ) { - tooltip_elements += '#' + gce_grid[id].target_element + ' .gce-has-events,'; - } - }); - - tooltip_elements = tooltip_elements.substring( 0, tooltip_elements.length - 1 ); - - gce_tooltips(tooltip_elements); - - // Month nav link click for Grid view. - // TODO Unbind other attached clicks here? - $body.on( 'click.gceNavLink', '.gce-change-month', function( event ) { - - event.preventDefault(); - - var navLink = $(this); - - var grid = navLink.closest('.gce-page-grid'), - id = grid.attr('id'); - - if( typeof id == 'undefined' ) { - grid = navLink.closest('.gce-widget-grid'), - id = grid.attr('id'); - } - - var gce_grid = grid.data( 'feed' ); - - //Extract month and year - var month_year = navLink.attr('name').split('-', 2); - var paging = navLink.attr('data-gce-grid-paging'); - - //Add loading text to table caption - $body.find('#' + gce_grid[id].target_element + ' caption').html(gce.loadingText); - - //Send AJAX request - $.post(gce.ajaxurl,{ - action:'gce_ajax', - gce_uid: id, - gce_type: gce_grid[id].type, - gce_feed_ids: gce_grid[id].feed_ids, - gce_title_text: gce_grid[id].title_text, - gce_widget_id: gce_grid[id].target_element, - gce_month: month_year[0], - gce_year: month_year[1], - gce_paging: paging - - }, function(data) { - - //Replace existing data with returned AJAX data. - var targetEle = $body.find('#' + gce_grid[id].target_element); - - if (gce_grid[id].type == 'widget') { - targetEle.html(data); - } else { - targetEle.replaceWith(data); - } - - gce_tooltips(tooltip_elements); - - }).fail(function(data) { - console.log( data ); - }); - }); - - - // Month nav link click for List view. - // TODO Unbind other attached clicks here? - $body.on( 'click.gceNavLink', '.gce-change-month-list', function( event ) { - - event.preventDefault(); - - var navLink = $(this); - - var list = navLink.closest('.gce-list'); - - var start = list.data('gce-start'); - var grouped = list.data('gce-grouped'); - var title_text = list.data('gce-title'); - var feed_ids = list.data( 'gce-feeds'); - var sort = list.data('gce-sort'); - var paging = list.data('gce-paging'); - var paging_interval = list.data('gce-paging-interval'); - var paging_direction = navLink.data('gce-paging-direction'); - var start_offset = list.data('gce-start-offset'); - var paging_type = navLink.data('gce-paging-type'); - - //Add loading text to table caption - navLink.parents('.gce-navbar').find('.gce-month-title').html(gce.loadingText); - - //Send AJAX request - $.post(gce.ajaxurl,{ - action:'gce_ajax_list', - gce_feed_ids:feed_ids, - gce_title_text:title_text, - gce_start: start, - gce_grouped: grouped, - gce_sort: sort, - gce_paging: paging, - gce_paging_interval: paging_interval, - gce_paging_direction: paging_direction, - gce_start_offset: start_offset, - gce_paging_type: paging_type - - }, function(data){ - navLink.parents('.gce-list').replaceWith(data); - - }).fail(function(data) { - console.log( data ); - }); - }); - - // Tooltip config using qTip2 jQuery plugin. - function gce_tooltips(target_items) { - - $(target_items).each(function() { - - //Add qtip to all target items - $(this).qtip({ - content: $(this).find('.gce-event-info'), - position: { - my: 'bottom left', - at: 'center', - viewport: true, - adjust: { - method: 'shift', - scroll: false - } - }, - show: { - solo: true, - effect: function(offset) { - $(this).fadeIn(50); - } - }, - hide: { - fixed: true - }, - style: { - classes: 'qtip-light qtip-shadow qtip-rounded' - } - }); - }); - } - }); -}(jQuery)); diff --git a/wp-content/plugins/google-calendar-events/js/jquery.qtip.min.js b/wp-content/plugins/google-calendar-events/js/jquery.qtip.min.js deleted file mode 100644 index 2eec1f3..0000000 --- a/wp-content/plugins/google-calendar-events/js/jquery.qtip.min.js +++ /dev/null @@ -1,5 +0,0 @@ -/* qTip2 v2.2.1 | Plugins: tips viewport | Styles: core basic css3 | qtip2.com | Licensed MIT | Sat Sep 06 2014 21:55:18 */ - -!function(a,b,c){!function(a){"use strict";"function"==typeof define&&define.amd?define(["jquery"],a):jQuery&&!jQuery.fn.qtip&&a(jQuery)}(function(d){"use strict";function e(a,b,c,e){this.id=c,this.target=a,this.tooltip=D,this.elements={target:a},this._id=Q+"-"+c,this.timers={img:{}},this.options=b,this.plugins={},this.cache={event:{},target:d(),disabled:C,attr:e,onTooltip:C,lastClass:""},this.rendered=this.destroyed=this.disabled=this.waiting=this.hiddenDuringWait=this.positioning=this.triggering=C}function f(a){return a===D||"object"!==d.type(a)}function g(a){return!(d.isFunction(a)||a&&a.attr||a.length||"object"===d.type(a)&&(a.jquery||a.then))}function h(a){var b,c,e,h;return f(a)?C:(f(a.metadata)&&(a.metadata={type:a.metadata}),"content"in a&&(b=a.content,f(b)||b.jquery||b.done?b=a.content={text:c=g(b)?C:b}:c=b.text,"ajax"in b&&(e=b.ajax,h=e&&e.once!==C,delete b.ajax,b.text=function(a,b){var f=c||d(this).attr(b.options.content.attr)||"Loading...",g=d.ajax(d.extend({},e,{context:b})).then(e.success,D,e.error).then(function(a){return a&&h&&b.set("content.text",a),a},function(a,c,d){b.destroyed||0===a.status||b.set("content.text",c+": "+d)});return h?f:(b.set("content.text",f),g)}),"title"in b&&(d.isPlainObject(b.title)&&(b.button=b.title.button,b.title=b.title.text),g(b.title||C)&&(b.title=C))),"position"in a&&f(a.position)&&(a.position={my:a.position,at:a.position}),"show"in a&&f(a.show)&&(a.show=a.show.jquery?{target:a.show}:a.show===B?{ready:B}:{event:a.show}),"hide"in a&&f(a.hide)&&(a.hide=a.hide.jquery?{target:a.hide}:{event:a.hide}),"style"in a&&f(a.style)&&(a.style={classes:a.style}),d.each(P,function(){this.sanitize&&this.sanitize(a)}),a)}function i(a,b){for(var c,d=0,e=a,f=b.split(".");e=e[f[d++]];)d0?setTimeout(d.proxy(a,this),b):void a.call(this)}function m(a){this.tooltip.hasClass($)||(clearTimeout(this.timers.show),clearTimeout(this.timers.hide),this.timers.show=l.call(this,function(){this.toggle(B,a)},this.options.show.delay))}function n(a){if(!this.tooltip.hasClass($)&&!this.destroyed){var b=d(a.relatedTarget),c=b.closest(U)[0]===this.tooltip[0],e=b[0]===this.options.show.target[0];if(clearTimeout(this.timers.show),clearTimeout(this.timers.hide),this!==b[0]&&"mouse"===this.options.position.target&&c||this.options.hide.fixed&&/mouse(out|leave|move)/.test(a.type)&&(c||e))try{a.preventDefault(),a.stopImmediatePropagation()}catch(f){}else this.timers.hide=l.call(this,function(){this.toggle(C,a)},this.options.hide.delay,this)}}function o(a){!this.tooltip.hasClass($)&&this.options.hide.inactive&&(clearTimeout(this.timers.inactive),this.timers.inactive=l.call(this,function(){this.hide(a)},this.options.hide.inactive))}function p(a){this.rendered&&this.tooltip[0].offsetWidth>0&&this.reposition(a)}function q(a,c,e){d(b.body).delegate(a,(c.split?c:c.join("."+Q+" "))+"."+Q,function(){var a=w.api[d.attr(this,S)];a&&!a.disabled&&e.apply(a,arguments)})}function r(a,c,f){var g,i,j,k,l,m=d(b.body),n=a[0]===b?m:a,o=a.metadata?a.metadata(f.metadata):D,p="html5"===f.metadata.type&&o?o[f.metadata.name]:D,q=a.data(f.metadata.name||"qtipopts");try{q="string"==typeof q?d.parseJSON(q):q}catch(r){}if(k=d.extend(B,{},w.defaults,f,"object"==typeof q?h(q):D,h(p||o)),i=k.position,k.id=c,"boolean"==typeof k.content.text){if(j=a.attr(k.content.attr),k.content.attr===C||!j)return C;k.content.text=j}if(i.container.length||(i.container=m),i.target===C&&(i.target=n),k.show.target===C&&(k.show.target=n),k.show.solo===B&&(k.show.solo=i.container.closest("body")),k.hide.target===C&&(k.hide.target=n),k.position.viewport===B&&(k.position.viewport=i.container),i.container=i.container.eq(0),i.at=new y(i.at,B),i.my=new y(i.my),a.data(Q))if(k.overwrite)a.qtip("destroy",!0);else if(k.overwrite===C)return C;return a.attr(R,c),k.suppress&&(l=a.attr("title"))&&a.removeAttr("title").attr(ab,l).attr("title",""),g=new e(a,k,c,!!j),a.data(Q,g),g}function s(a){return a.charAt(0).toUpperCase()+a.slice(1)}function t(a,b){var d,e,f=b.charAt(0).toUpperCase()+b.slice(1),g=(b+" "+pb.join(f+" ")+f).split(" "),h=0;if(ob[b])return a.css(ob[b]);for(;d=g[h++];)if((e=a.css(d))!==c)return ob[b]=d,e}function u(a,b){return Math.ceil(parseFloat(t(a,b)))}function v(a,b){this._ns="tip",this.options=b,this.offset=b.offset,this.size=[b.width,b.height],this.init(this.qtip=a)}var w,x,y,z,A,B=!0,C=!1,D=null,E="x",F="y",G="width",H="height",I="top",J="left",K="bottom",L="right",M="center",N="flipinvert",O="shift",P={},Q="qtip",R="data-hasqtip",S="data-qtip-id",T=["ui-widget","ui-tooltip"],U="."+Q,V="click dblclick mousedown mouseup mousemove mouseleave mouseenter".split(" "),W=Q+"-fixed",X=Q+"-default",Y=Q+"-focus",Z=Q+"-hover",$=Q+"-disabled",_="_replacedByqTip",ab="oldtitle",bb={ie:function(){for(var a=4,c=b.createElement("div");(c.innerHTML="")&&c.getElementsByTagName("i")[0];a+=1);return a>4?a:0/0}(),iOS:parseFloat((""+(/CPU.*OS ([0-9_]{1,5})|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||[0,""])[1]).replace("undefined","3_2").replace("_",".").replace("_",""))||C};x=e.prototype,x._when=function(a){return d.when.apply(d,a)},x.render=function(a){if(this.rendered||this.destroyed)return this;var b,c=this,e=this.options,f=this.cache,g=this.elements,h=e.content.text,i=e.content.title,j=e.content.button,k=e.position,l=("."+this._id+" ",[]);return d.attr(this.target[0],"aria-describedby",this._id),f.posClass=this._createPosClass((this.position={my:k.my,at:k.at}).my),this.tooltip=g.tooltip=b=d("
              ",{id:this._id,"class":[Q,X,e.style.classes,f.posClass].join(" "),width:e.style.width||"",height:e.style.height||"",tracking:"mouse"===k.target&&k.adjust.mouse,role:"alert","aria-live":"polite","aria-atomic":C,"aria-describedby":this._id+"-content","aria-hidden":B}).toggleClass($,this.disabled).attr(S,this.id).data(Q,this).appendTo(k.container).append(g.content=d("
              ",{"class":Q+"-content",id:this._id+"-content","aria-atomic":B})),this.rendered=-1,this.positioning=B,i&&(this._createTitle(),d.isFunction(i)||l.push(this._updateTitle(i,C))),j&&this._createButton(),d.isFunction(h)||l.push(this._updateContent(h,C)),this.rendered=B,this._setWidget(),d.each(P,function(a){var b;"render"===this.initialize&&(b=this(c))&&(c.plugins[a]=b)}),this._unassignEvents(),this._assignEvents(),this._when(l).then(function(){c._trigger("render"),c.positioning=C,c.hiddenDuringWait||!e.show.ready&&!a||c.toggle(B,f.event,C),c.hiddenDuringWait=C}),w.api[this.id]=this,this},x.destroy=function(a){function b(){if(!this.destroyed){this.destroyed=B;var a,b=this.target,c=b.attr(ab);this.rendered&&this.tooltip.stop(1,0).find("*").remove().end().remove(),d.each(this.plugins,function(){this.destroy&&this.destroy()});for(a in this.timers)clearTimeout(this.timers[a]);b.removeData(Q).removeAttr(S).removeAttr(R).removeAttr("aria-describedby"),this.options.suppress&&c&&b.attr("title",c).removeAttr(ab),this._unassignEvents(),this.options=this.elements=this.cache=this.timers=this.plugins=this.mouse=D,delete w.api[this.id]}}return this.destroyed?this.target:(a===B&&"hide"!==this.triggering||!this.rendered?b.call(this):(this.tooltip.one("tooltiphidden",d.proxy(b,this)),!this.triggering&&this.hide()),this.target)},z=x.checks={builtin:{"^id$":function(a,b,c,e){var f=c===B?w.nextid:c,g=Q+"-"+f;f!==C&&f.length>0&&!d("#"+g).length?(this._id=g,this.rendered&&(this.tooltip[0].id=this._id,this.elements.content[0].id=this._id+"-content",this.elements.title[0].id=this._id+"-title")):a[b]=e},"^prerender":function(a,b,c){c&&!this.rendered&&this.render(this.options.show.ready)},"^content.text$":function(a,b,c){this._updateContent(c)},"^content.attr$":function(a,b,c,d){this.options.content.text===this.target.attr(d)&&this._updateContent(this.target.attr(c))},"^content.title$":function(a,b,c){return c?(c&&!this.elements.title&&this._createTitle(),void this._updateTitle(c)):this._removeTitle()},"^content.button$":function(a,b,c){this._updateButton(c)},"^content.title.(text|button)$":function(a,b,c){this.set("content."+b,c)},"^position.(my|at)$":function(a,b,c){"string"==typeof c&&(this.position[b]=a[b]=new y(c,"at"===b))},"^position.container$":function(a,b,c){this.rendered&&this.tooltip.appendTo(c)},"^show.ready$":function(a,b,c){c&&(!this.rendered&&this.render(B)||this.toggle(B))},"^style.classes$":function(a,b,c,d){this.rendered&&this.tooltip.removeClass(d).addClass(c)},"^style.(width|height)":function(a,b,c){this.rendered&&this.tooltip.css(b,c)},"^style.widget|content.title":function(){this.rendered&&this._setWidget()},"^style.def":function(a,b,c){this.rendered&&this.tooltip.toggleClass(X,!!c)},"^events.(render|show|move|hide|focus|blur)$":function(a,b,c){this.rendered&&this.tooltip[(d.isFunction(c)?"":"un")+"bind"]("tooltip"+b,c)},"^(show|hide|position).(event|target|fixed|inactive|leave|distance|viewport|adjust)":function(){if(this.rendered){var a=this.options.position;this.tooltip.attr("tracking","mouse"===a.target&&a.adjust.mouse),this._unassignEvents(),this._assignEvents()}}}},x.get=function(a){if(this.destroyed)return this;var b=i(this.options,a.toLowerCase()),c=b[0][b[1]];return c.precedance?c.string():c};var cb=/^position\.(my|at|adjust|target|container|viewport)|style|content|show\.ready/i,db=/^prerender|show\.ready/i;x.set=function(a,b){if(this.destroyed)return this;{var c,e=this.rendered,f=C,g=this.options;this.checks}return"string"==typeof a?(c=a,a={},a[c]=b):a=d.extend({},a),d.each(a,function(b,c){if(e&&db.test(b))return void delete a[b];var h,j=i(g,b.toLowerCase());h=j[0][j[1]],j[0][j[1]]=c&&c.nodeType?d(c):c,f=cb.test(b)||f,a[b]=[j[0],j[1],c,h]}),h(g),this.positioning=B,d.each(a,d.proxy(j,this)),this.positioning=C,this.rendered&&this.tooltip[0].offsetWidth>0&&f&&this.reposition("mouse"===g.position.target?D:this.cache.event),this},x._update=function(a,b){var c=this,e=this.cache;return this.rendered&&a?(d.isFunction(a)&&(a=a.call(this.elements.target,e.event,this)||""),d.isFunction(a.then)?(e.waiting=B,a.then(function(a){return e.waiting=C,c._update(a,b)},D,function(a){return c._update(a,b)})):a===C||!a&&""!==a?C:(a.jquery&&a.length>0?b.empty().append(a.css({display:"block",visibility:"visible"})):b.html(a),this._waitForContent(b).then(function(a){c.rendered&&c.tooltip[0].offsetWidth>0&&c.reposition(e.event,!a.length)}))):C},x._waitForContent=function(a){var b=this.cache;return b.waiting=B,(d.fn.imagesLoaded?a.imagesLoaded():d.Deferred().resolve([])).done(function(){b.waiting=C}).promise()},x._updateContent=function(a,b){this._update(a,this.elements.content,b)},x._updateTitle=function(a,b){this._update(a,this.elements.title,b)===C&&this._removeTitle(C)},x._createTitle=function(){var a=this.elements,b=this._id+"-title";a.titlebar&&this._removeTitle(),a.titlebar=d("
              ",{"class":Q+"-titlebar "+(this.options.style.widget?k("header"):"")}).append(a.title=d("
              ",{id:b,"class":Q+"-title","aria-atomic":B})).insertBefore(a.content).delegate(".qtip-close","mousedown keydown mouseup keyup mouseout",function(a){d(this).toggleClass("ui-state-active ui-state-focus","down"===a.type.substr(-4))}).delegate(".qtip-close","mouseover mouseout",function(a){d(this).toggleClass("ui-state-hover","mouseover"===a.type)}),this.options.content.button&&this._createButton()},x._removeTitle=function(a){var b=this.elements;b.title&&(b.titlebar.remove(),b.titlebar=b.title=b.button=D,a!==C&&this.reposition())},x._createPosClass=function(a){return Q+"-pos-"+(a||this.options.position.my).abbrev()},x.reposition=function(c,e){if(!this.rendered||this.positioning||this.destroyed)return this;this.positioning=B;var f,g,h,i,j=this.cache,k=this.tooltip,l=this.options.position,m=l.target,n=l.my,o=l.at,p=l.viewport,q=l.container,r=l.adjust,s=r.method.split(" "),t=k.outerWidth(C),u=k.outerHeight(C),v=0,w=0,x=k.css("position"),y={left:0,top:0},z=k[0].offsetWidth>0,A=c&&"scroll"===c.type,D=d(a),E=q[0].ownerDocument,F=this.mouse;if(d.isArray(m)&&2===m.length)o={x:J,y:I},y={left:m[0],top:m[1]};else if("mouse"===m)o={x:J,y:I},(!r.mouse||this.options.hide.distance)&&j.origin&&j.origin.pageX?c=j.origin:!c||c&&("resize"===c.type||"scroll"===c.type)?c=j.event:F&&F.pageX&&(c=F),"static"!==x&&(y=q.offset()),E.body.offsetWidth!==(a.innerWidth||E.documentElement.clientWidth)&&(g=d(b.body).offset()),y={left:c.pageX-y.left+(g&&g.left||0),top:c.pageY-y.top+(g&&g.top||0)},r.mouse&&A&&F&&(y.left-=(F.scrollX||0)-D.scrollLeft(),y.top-=(F.scrollY||0)-D.scrollTop());else{if("event"===m?c&&c.target&&"scroll"!==c.type&&"resize"!==c.type?j.target=d(c.target):c.target||(j.target=this.elements.target):"event"!==m&&(j.target=d(m.jquery?m:this.elements.target)),m=j.target,m=d(m).eq(0),0===m.length)return this;m[0]===b||m[0]===a?(v=bb.iOS?a.innerWidth:m.width(),w=bb.iOS?a.innerHeight:m.height(),m[0]===a&&(y={top:(p||m).scrollTop(),left:(p||m).scrollLeft()})):P.imagemap&&m.is("area")?f=P.imagemap(this,m,o,P.viewport?s:C):P.svg&&m&&m[0].ownerSVGElement?f=P.svg(this,m,o,P.viewport?s:C):(v=m.outerWidth(C),w=m.outerHeight(C),y=m.offset()),f&&(v=f.width,w=f.height,g=f.offset,y=f.position),y=this.reposition.offset(m,y,q),(bb.iOS>3.1&&bb.iOS<4.1||bb.iOS>=4.3&&bb.iOS<4.33||!bb.iOS&&"fixed"===x)&&(y.left-=D.scrollLeft(),y.top-=D.scrollTop()),(!f||f&&f.adjustable!==C)&&(y.left+=o.x===L?v:o.x===M?v/2:0,y.top+=o.y===K?w:o.y===M?w/2:0)}return y.left+=r.x+(n.x===L?-t:n.x===M?-t/2:0),y.top+=r.y+(n.y===K?-u:n.y===M?-u/2:0),P.viewport?(h=y.adjusted=P.viewport(this,y,l,v,w,t,u),g&&h.left&&(y.left+=g.left),g&&h.top&&(y.top+=g.top),h.my&&(this.position.my=h.my)):y.adjusted={left:0,top:0},j.posClass!==(i=this._createPosClass(this.position.my))&&k.removeClass(j.posClass).addClass(j.posClass=i),this._trigger("move",[y,p.elem||p],c)?(delete y.adjusted,e===C||!z||isNaN(y.left)||isNaN(y.top)||"mouse"===m||!d.isFunction(l.effect)?k.css(y):d.isFunction(l.effect)&&(l.effect.call(k,this,d.extend({},y)),k.queue(function(a){d(this).css({opacity:"",height:""}),bb.ie&&this.style.removeAttribute("filter"),a()})),this.positioning=C,this):this},x.reposition.offset=function(a,c,e){function f(a,b){c.left+=b*a.scrollLeft(),c.top+=b*a.scrollTop()}if(!e[0])return c;var g,h,i,j,k=d(a[0].ownerDocument),l=!!bb.ie&&"CSS1Compat"!==b.compatMode,m=e[0];do"static"!==(h=d.css(m,"position"))&&("fixed"===h?(i=m.getBoundingClientRect(),f(k,-1)):(i=d(m).position(),i.left+=parseFloat(d.css(m,"borderLeftWidth"))||0,i.top+=parseFloat(d.css(m,"borderTopWidth"))||0),c.left-=i.left+(parseFloat(d.css(m,"marginLeft"))||0),c.top-=i.top+(parseFloat(d.css(m,"marginTop"))||0),g||"hidden"===(j=d.css(m,"overflow"))||"visible"===j||(g=d(m)));while(m=m.offsetParent);return g&&(g[0]!==k[0]||l)&&f(g,1),c};var eb=(y=x.reposition.Corner=function(a,b){a=(""+a).replace(/([A-Z])/," $1").replace(/middle/gi,M).toLowerCase(),this.x=(a.match(/left|right/i)||a.match(/center/)||["inherit"])[0].toLowerCase(),this.y=(a.match(/top|bottom|center/i)||["inherit"])[0].toLowerCase(),this.forceY=!!b;var c=a.charAt(0);this.precedance="t"===c||"b"===c?F:E}).prototype;eb.invert=function(a,b){this[a]=this[a]===J?L:this[a]===L?J:b||this[a]},eb.string=function(a){var b=this.x,c=this.y,d=b!==c?"center"===b||"center"!==c&&(this.precedance===F||this.forceY)?[c,b]:[b,c]:[b];return a!==!1?d.join(" "):d},eb.abbrev=function(){var a=this.string(!1);return a[0].charAt(0)+(a[1]&&a[1].charAt(0)||"")},eb.clone=function(){return new y(this.string(),this.forceY)},x.toggle=function(a,c){var e=this.cache,f=this.options,g=this.tooltip;if(c){if(/over|enter/.test(c.type)&&e.event&&/out|leave/.test(e.event.type)&&f.show.target.add(c.target).length===f.show.target.length&&g.has(c.relatedTarget).length)return this;e.event=d.event.fix(c)}if(this.waiting&&!a&&(this.hiddenDuringWait=B),!this.rendered)return a?this.render(1):this;if(this.destroyed||this.disabled)return this;var h,i,j,k=a?"show":"hide",l=this.options[k],m=(this.options[a?"hide":"show"],this.options.position),n=this.options.content,o=this.tooltip.css("width"),p=this.tooltip.is(":visible"),q=a||1===l.target.length,r=!c||l.target.length<2||e.target[0]===c.target;return(typeof a).search("boolean|number")&&(a=!p),h=!g.is(":animated")&&p===a&&r,i=h?D:!!this._trigger(k,[90]),this.destroyed?this:(i!==C&&a&&this.focus(c),!i||h?this:(d.attr(g[0],"aria-hidden",!a),a?(this.mouse&&(e.origin=d.event.fix(this.mouse)),d.isFunction(n.text)&&this._updateContent(n.text,C),d.isFunction(n.title)&&this._updateTitle(n.title,C),!A&&"mouse"===m.target&&m.adjust.mouse&&(d(b).bind("mousemove."+Q,this._storeMouse),A=B),o||g.css("width",g.outerWidth(C)),this.reposition(c,arguments[2]),o||g.css("width",""),l.solo&&("string"==typeof l.solo?d(l.solo):d(U,l.solo)).not(g).not(l.target).qtip("hide",d.Event("tooltipsolo"))):(clearTimeout(this.timers.show),delete e.origin,A&&!d(U+'[tracking="true"]:visible',l.solo).not(g).length&&(d(b).unbind("mousemove."+Q),A=C),this.blur(c)),j=d.proxy(function(){a?(bb.ie&&g[0].style.removeAttribute("filter"),g.css("overflow",""),"string"==typeof l.autofocus&&d(this.options.show.autofocus,g).focus(),this.options.show.target.trigger("qtip-"+this.id+"-inactive")):g.css({display:"",visibility:"",opacity:"",left:"",top:""}),this._trigger(a?"visible":"hidden")},this),l.effect===C||q===C?(g[k](),j()):d.isFunction(l.effect)?(g.stop(1,1),l.effect.call(g,this),g.queue("fx",function(a){j(),a()})):g.fadeTo(90,a?1:0,j),a&&l.target.trigger("qtip-"+this.id+"-inactive"),this))},x.show=function(a){return this.toggle(B,a)},x.hide=function(a){return this.toggle(C,a)},x.focus=function(a){if(!this.rendered||this.destroyed)return this;var b=d(U),c=this.tooltip,e=parseInt(c[0].style.zIndex,10),f=w.zindex+b.length;return c.hasClass(Y)||this._trigger("focus",[f],a)&&(e!==f&&(b.each(function(){this.style.zIndex>e&&(this.style.zIndex=this.style.zIndex-1)}),b.filter("."+Y).qtip("blur",a)),c.addClass(Y)[0].style.zIndex=f),this},x.blur=function(a){return!this.rendered||this.destroyed?this:(this.tooltip.removeClass(Y),this._trigger("blur",[this.tooltip.css("zIndex")],a),this)},x.disable=function(a){return this.destroyed?this:("toggle"===a?a=!(this.rendered?this.tooltip.hasClass($):this.disabled):"boolean"!=typeof a&&(a=B),this.rendered&&this.tooltip.toggleClass($,a).attr("aria-disabled",a),this.disabled=!!a,this)},x.enable=function(){return this.disable(C)},x._createButton=function(){var a=this,b=this.elements,c=b.tooltip,e=this.options.content.button,f="string"==typeof e,g=f?e:"Close tooltip";b.button&&b.button.remove(),b.button=e.jquery?e:d("",{"class":"qtip-close "+(this.options.style.widget?"":Q+"-icon"),title:g,"aria-label":g}).prepend(d("",{"class":"ui-icon ui-icon-close",html:"×"})),b.button.appendTo(b.titlebar||c).attr("role","button").click(function(b){return c.hasClass($)||a.hide(b),C})},x._updateButton=function(a){if(!this.rendered)return C;var b=this.elements.button;a?this._createButton():b.remove()},x._setWidget=function(){var a=this.options.style.widget,b=this.elements,c=b.tooltip,d=c.hasClass($);c.removeClass($),$=a?"ui-state-disabled":"qtip-disabled",c.toggleClass($,d),c.toggleClass("ui-helper-reset "+k(),a).toggleClass(X,this.options.style.def&&!a),b.content&&b.content.toggleClass(k("content"),a),b.titlebar&&b.titlebar.toggleClass(k("header"),a),b.button&&b.button.toggleClass(Q+"-icon",!a)},x._storeMouse=function(a){return(this.mouse=d.event.fix(a)).type="mousemove",this},x._bind=function(a,b,c,e,f){if(a&&c&&b.length){var g="."+this._id+(e?"-"+e:"");return d(a).bind((b.split?b:b.join(g+" "))+g,d.proxy(c,f||this)),this}},x._unbind=function(a,b){return a&&d(a).unbind("."+this._id+(b?"-"+b:"")),this},x._trigger=function(a,b,c){var e=d.Event("tooltip"+a);return e.originalEvent=c&&d.extend({},c)||this.cache.event||D,this.triggering=a,this.tooltip.trigger(e,[this].concat(b||[])),this.triggering=C,!e.isDefaultPrevented()},x._bindEvents=function(a,b,c,e,f,g){var h=c.filter(e).add(e.filter(c)),i=[];h.length&&(d.each(b,function(b,c){var e=d.inArray(c,a);e>-1&&i.push(a.splice(e,1)[0])}),i.length&&(this._bind(h,i,function(a){var b=this.rendered?this.tooltip[0].offsetWidth>0:!1;(b?g:f).call(this,a)}),c=c.not(h),e=e.not(h))),this._bind(c,a,f),this._bind(e,b,g)},x._assignInitialEvents=function(a){function b(a){return this.disabled||this.destroyed?C:(this.cache.event=a&&d.event.fix(a),this.cache.target=a&&d(a.target),clearTimeout(this.timers.show),void(this.timers.show=l.call(this,function(){this.render("object"==typeof a||c.show.ready)},c.prerender?0:c.show.delay)))}var c=this.options,e=c.show.target,f=c.hide.target,g=c.show.event?d.trim(""+c.show.event).split(" "):[],h=c.hide.event?d.trim(""+c.hide.event).split(" "):[];this._bind(this.elements.target,["remove","removeqtip"],function(){this.destroy(!0)},"destroy"),/mouse(over|enter)/i.test(c.show.event)&&!/mouse(out|leave)/i.test(c.hide.event)&&h.push("mouseleave"),this._bind(e,"mousemove",function(a){this._storeMouse(a),this.cache.onTarget=B}),this._bindEvents(g,h,e,f,b,function(){return this.timers?void clearTimeout(this.timers.show):C}),(c.show.ready||c.prerender)&&b.call(this,a)},x._assignEvents=function(){var c=this,e=this.options,f=e.position,g=this.tooltip,h=e.show.target,i=e.hide.target,j=f.container,k=f.viewport,l=d(b),q=(d(b.body),d(a)),r=e.show.event?d.trim(""+e.show.event).split(" "):[],s=e.hide.event?d.trim(""+e.hide.event).split(" "):[];d.each(e.events,function(a,b){c._bind(g,"toggle"===a?["tooltipshow","tooltiphide"]:["tooltip"+a],b,null,g)}),/mouse(out|leave)/i.test(e.hide.event)&&"window"===e.hide.leave&&this._bind(l,["mouseout","blur"],function(a){/select|option/.test(a.target.nodeName)||a.relatedTarget||this.hide(a)}),e.hide.fixed?i=i.add(g.addClass(W)):/mouse(over|enter)/i.test(e.show.event)&&this._bind(i,"mouseleave",function(){clearTimeout(this.timers.show)}),(""+e.hide.event).indexOf("unfocus")>-1&&this._bind(j.closest("html"),["mousedown","touchstart"],function(a){var b=d(a.target),c=this.rendered&&!this.tooltip.hasClass($)&&this.tooltip[0].offsetWidth>0,e=b.parents(U).filter(this.tooltip[0]).length>0;b[0]===this.target[0]||b[0]===this.tooltip[0]||e||this.target.has(b[0]).length||!c||this.hide(a)}),"number"==typeof e.hide.inactive&&(this._bind(h,"qtip-"+this.id+"-inactive",o,"inactive"),this._bind(i.add(g),w.inactiveEvents,o)),this._bindEvents(r,s,h,i,m,n),this._bind(h.add(g),"mousemove",function(a){if("number"==typeof e.hide.distance){var b=this.cache.origin||{},c=this.options.hide.distance,d=Math.abs;(d(a.pageX-b.pageX)>=c||d(a.pageY-b.pageY)>=c)&&this.hide(a)}this._storeMouse(a)}),"mouse"===f.target&&f.adjust.mouse&&(e.hide.event&&this._bind(h,["mouseenter","mouseleave"],function(a){return this.cache?void(this.cache.onTarget="mouseenter"===a.type):C}),this._bind(l,"mousemove",function(a){this.rendered&&this.cache.onTarget&&!this.tooltip.hasClass($)&&this.tooltip[0].offsetWidth>0&&this.reposition(a)})),(f.adjust.resize||k.length)&&this._bind(d.event.special.resize?k:q,"resize",p),f.adjust.scroll&&this._bind(q.add(f.container),"scroll",p)},x._unassignEvents=function(){var c=this.options,e=c.show.target,f=c.hide.target,g=d.grep([this.elements.target[0],this.rendered&&this.tooltip[0],c.position.container[0],c.position.viewport[0],c.position.container.closest("html")[0],a,b],function(a){return"object"==typeof a});e&&e.toArray&&(g=g.concat(e.toArray())),f&&f.toArray&&(g=g.concat(f.toArray())),this._unbind(g)._unbind(g,"destroy")._unbind(g,"inactive")},d(function(){q(U,["mouseenter","mouseleave"],function(a){var b="mouseenter"===a.type,c=d(a.currentTarget),e=d(a.relatedTarget||a.target),f=this.options;b?(this.focus(a),c.hasClass(W)&&!c.hasClass($)&&clearTimeout(this.timers.hide)):"mouse"===f.position.target&&f.position.adjust.mouse&&f.hide.event&&f.show.target&&!e.closest(f.show.target[0]).length&&this.hide(a),c.toggleClass(Z,b)}),q("["+S+"]",V,o)}),w=d.fn.qtip=function(a,b,e){var f=(""+a).toLowerCase(),g=D,i=d.makeArray(arguments).slice(1),j=i[i.length-1],k=this[0]?d.data(this[0],Q):D;return!arguments.length&&k||"api"===f?k:"string"==typeof a?(this.each(function(){var a=d.data(this,Q);if(!a)return B;if(j&&j.timeStamp&&(a.cache.event=j),!b||"option"!==f&&"options"!==f)a[f]&&a[f].apply(a,i);else{if(e===c&&!d.isPlainObject(b))return g=a.get(b),C;a.set(b,e)}}),g!==D?g:this):"object"!=typeof a&&arguments.length?void 0:(k=h(d.extend(B,{},a)),this.each(function(a){var b,c;return c=d.isArray(k.id)?k.id[a]:k.id,c=!c||c===C||c.length<1||w.api[c]?w.nextid++:c,b=r(d(this),c,k),b===C?B:(w.api[c]=b,d.each(P,function(){"initialize"===this.initialize&&this(b)}),void b._assignInitialEvents(j))}))},d.qtip=e,w.api={},d.each({attr:function(a,b){if(this.length){var c=this[0],e="title",f=d.data(c,"qtip");if(a===e&&f&&"object"==typeof f&&f.options.suppress)return arguments.length<2?d.attr(c,ab):(f&&f.options.content.attr===e&&f.cache.attr&&f.set("content.text",b),this.attr(ab,b))}return d.fn["attr"+_].apply(this,arguments)},clone:function(a){var b=(d([]),d.fn["clone"+_].apply(this,arguments));return a||b.filter("["+ab+"]").attr("title",function(){return d.attr(this,ab)}).removeAttr(ab),b}},function(a,b){if(!b||d.fn[a+_])return B;var c=d.fn[a+_]=d.fn[a];d.fn[a]=function(){return b.apply(this,arguments)||c.apply(this,arguments)}}),d.ui||(d["cleanData"+_]=d.cleanData,d.cleanData=function(a){for(var b,c=0;(b=d(a[c])).length;c++)if(b.attr(R))try{b.triggerHandler("removeqtip")}catch(e){}d["cleanData"+_].apply(this,arguments)}),w.version="2.2.1",w.nextid=0,w.inactiveEvents=V,w.zindex=15e3,w.defaults={prerender:C,id:C,overwrite:B,suppress:B,content:{text:B,attr:"title",title:C,button:C},position:{my:"top left",at:"bottom right",target:C,container:C,viewport:C,adjust:{x:0,y:0,mouse:B,scroll:B,resize:B,method:"flipinvert flipinvert"},effect:function(a,b){d(this).animate(b,{duration:200,queue:C})}},show:{target:C,event:"mouseenter",effect:B,delay:90,solo:C,ready:C,autofocus:C},hide:{target:C,event:"mouseleave",effect:B,delay:0,fixed:C,inactive:C,leave:"window",distance:C},style:{classes:"",widget:C,width:C,height:C,def:B},events:{render:D,move:D,show:D,hide:D,toggle:D,visible:D,hidden:D,focus:D,blur:D}};var fb,gb="margin",hb="border",ib="color",jb="background-color",kb="transparent",lb=" !important",mb=!!b.createElement("canvas").getContext,nb=/rgba?\(0, 0, 0(, 0)?\)|transparent|#123456/i,ob={},pb=["Webkit","O","Moz","ms"];if(mb)var qb=a.devicePixelRatio||1,rb=function(){var a=b.createElement("canvas").getContext("2d");return a.backingStorePixelRatio||a.webkitBackingStorePixelRatio||a.mozBackingStorePixelRatio||a.msBackingStorePixelRatio||a.oBackingStorePixelRatio||1}(),sb=qb/rb;else var tb=function(a,b,c){return"'};d.extend(v.prototype,{init:function(a){var b,c;c=this.element=a.elements.tip=d("
              ",{"class":Q+"-tip"}).prependTo(a.tooltip),mb?(b=d("").appendTo(this.element)[0].getContext("2d"),b.lineJoin="miter",b.miterLimit=1e5,b.save()):(b=tb("shape",'coordorigin="0,0"',"position:absolute;"),this.element.html(b+b),a._bind(d("*",c).add(c),["click","mousedown"],function(a){a.stopPropagation()},this._ns)),a._bind(a.tooltip,"tooltipmove",this.reposition,this._ns,this),this.create()},_swapDimensions:function(){this.size[0]=this.options.height,this.size[1]=this.options.width},_resetDimensions:function(){this.size[0]=this.options.width,this.size[1]=this.options.height},_useTitle:function(a){var b=this.qtip.elements.titlebar;return b&&(a.y===I||a.y===M&&this.element.position().top+this.size[1]/2+this.options.offsetl&&!nb.test(e[1])&&(e[0]=e[1]),this.border=l=p.border!==B?p.border:l):this.border=l=0,k=this.size=this._calculateSize(b),n.css({width:k[0],height:k[1],lineHeight:k[1]+"px"}),j=b.precedance===F?[s(r.x===J?l:r.x===L?k[0]-q[0]-l:(k[0]-q[0])/2),s(r.y===I?k[1]-q[1]:0)]:[s(r.x===J?k[0]-q[0]:0),s(r.y===I?l:r.y===K?k[1]-q[1]-l:(k[1]-q[1])/2)],mb?(g=o[0].getContext("2d"),g.restore(),g.save(),g.clearRect(0,0,6e3,6e3),h=this._calculateTip(r,q,sb),i=this._calculateTip(r,this.size,sb),o.attr(G,k[0]*sb).attr(H,k[1]*sb),o.css(G,k[0]).css(H,k[1]),this._drawCoords(g,i),g.fillStyle=e[1],g.fill(),g.translate(j[0]*sb,j[1]*sb),this._drawCoords(g,h),g.fillStyle=e[0],g.fill()):(h=this._calculateTip(r),h="m"+h[0]+","+h[1]+" l"+h[2]+","+h[3]+" "+h[4]+","+h[5]+" xe",j[2]=l&&/^(r|b)/i.test(b.string())?8===bb.ie?2:1:0,o.css({coordsize:k[0]+l+" "+(k[1]+l),antialias:""+(r.string().indexOf(M)>-1),left:j[0]-j[2]*Number(f===E),top:j[1]-j[2]*Number(f===F),width:k[0]+l,height:k[1]+l}).each(function(a){var b=d(this);b[b.prop?"prop":"attr"]({coordsize:k[0]+l+" "+(k[1]+l),path:h,fillcolor:e[0],filled:!!a,stroked:!a}).toggle(!(!l&&!a)),!a&&b.html(tb("stroke",'weight="'+2*l+'px" color="'+e[1]+'" miterlimit="1000" joinstyle="miter"'))})),a.opera&&setTimeout(function(){m.tip.css({display:"inline-block",visibility:"visible"})},1),c!==C&&this.calculate(b,k)},calculate:function(a,b){if(!this.enabled)return C;var c,e,f=this,g=this.qtip.elements,h=this.element,i=this.options.offset,j=(g.tooltip.hasClass("ui-widget"),{});return a=a||this.corner,c=a.precedance,b=b||this._calculateSize(a),e=[a.x,a.y],c===E&&e.reverse(),d.each(e,function(d,e){var h,k,l;e===M?(h=c===F?J:I,j[h]="50%",j[gb+"-"+h]=-Math.round(b[c===F?0:1]/2)+i):(h=f._parseWidth(a,e,g.tooltip),k=f._parseWidth(a,e,g.content),l=f._parseRadius(a),j[e]=Math.max(-f.border,d?k:i+(l>h?l:-h))) -}),j[a[c]]-=b[c===E?0:1],h.css({margin:"",top:"",bottom:"",left:"",right:""}).css(j),j},reposition:function(a,b,d){function e(a,b,c,d,e){a===O&&j.precedance===b&&k[d]&&j[c]!==M?j.precedance=j.precedance===E?F:E:a!==O&&k[d]&&(j[b]=j[b]===M?k[d]>0?d:e:j[b]===d?e:d)}function f(a,b,e){j[a]===M?p[gb+"-"+b]=o[a]=g[gb+"-"+b]-k[b]:(h=g[e]!==c?[k[b],-g[b]]:[-k[b],g[b]],(o[a]=Math.max(h[0],h[1]))>h[0]&&(d[b]-=k[b],o[b]=C),p[g[e]!==c?e:b]=o[a])}if(this.enabled){var g,h,i=b.cache,j=this.corner.clone(),k=d.adjusted,l=b.options.position.adjust.method.split(" "),m=l[0],n=l[1]||l[0],o={left:C,top:C,x:0,y:0},p={};this.corner.fixed!==B&&(e(m,E,F,J,L),e(n,F,E,I,K),(j.string()!==i.corner.string()||i.cornerTop!==k.top||i.cornerLeft!==k.left)&&this.update(j,C)),g=this.calculate(j),g.right!==c&&(g.left=-g.right),g.bottom!==c&&(g.top=-g.bottom),g.user=this.offset,(o.left=m===O&&!!k.left)&&f(E,J,L),(o.top=n===O&&!!k.top)&&f(F,I,K),this.element.css(p).toggle(!(o.x&&o.y||j.x===M&&o.y||j.y===M&&o.x)),d.left-=g.left.charAt?g.user:m!==O||o.top||!o.left&&!o.top?g.left+this.border:0,d.top-=g.top.charAt?g.user:n!==O||o.left||!o.left&&!o.top?g.top+this.border:0,i.cornerLeft=k.left,i.cornerTop=k.top,i.corner=j.clone()}},destroy:function(){this.qtip._unbind(this.qtip.tooltip,this._ns),this.qtip.elements.tip&&this.qtip.elements.tip.find("*").remove().end().remove()}}),fb=P.tip=function(a){return new v(a,a.options.style.tip)},fb.initialize="render",fb.sanitize=function(a){if(a.style&&"tip"in a.style){var b=a.style.tip;"object"!=typeof b&&(b=a.style.tip={corner:b}),/string|boolean/i.test(typeof b.corner)||(b.corner=B)}},z.tip={"^position.my|style.tip.(corner|mimic|border)$":function(){this.create(),this.qtip.reposition()},"^style.tip.(height|width)$":function(a){this.size=[a.width,a.height],this.update(),this.qtip.reposition()},"^content.title|style.(classes|widget)$":function(){this.update()}},d.extend(B,w.defaults,{style:{tip:{corner:B,mimic:C,width:6,height:6,border:B,offset:0}}}),P.viewport=function(c,d,e,f,g,h,i){function j(a,b,c,e,f,g,h,i,j){var k=d[f],s=u[a],t=v[a],w=c===O,x=s===f?j:s===g?-j:-j/2,y=t===f?i:t===g?-i:-i/2,z=q[f]+r[f]-(n?0:m[f]),A=z-k,B=k+j-(h===G?o:p)-z,C=x-(u.precedance===a||s===u[b]?y:0)-(t===M?i/2:0);return w?(C=(s===f?1:-1)*x,d[f]+=A>0?A:B>0?-B:0,d[f]=Math.max(-m[f]+r[f],k-C,Math.min(Math.max(-m[f]+r[f]+(h===G?o:p),k+C),d[f],"center"===s?k-x:1e9))):(e*=c===N?2:0,A>0&&(s!==f||B>0)?(d[f]-=C+e,l.invert(a,f)):B>0&&(s!==g||A>0)&&(d[f]-=(s===M?-C:C)+e,l.invert(a,g)),d[f]B&&(d[f]=k,l=u.clone())),d[f]-k}var k,l,m,n,o,p,q,r,s=e.target,t=c.elements.tooltip,u=e.my,v=e.at,w=e.adjust,x=w.method.split(" "),y=x[0],z=x[1]||x[0],A=e.viewport,B=e.container,D=(c.cache,{left:0,top:0});return A.jquery&&s[0]!==a&&s[0]!==b.body&&"none"!==w.method?(m=B.offset()||D,n="static"===B.css("position"),k="fixed"===t.css("position"),o=A[0]===a?A.width():A.outerWidth(C),p=A[0]===a?A.height():A.outerHeight(C),q={left:k?0:A.scrollLeft(),top:k?0:A.scrollTop()},r=A.offset()||D,("shift"!==y||"shift"!==z)&&(l=u.clone()),D={left:"none"!==y?j(E,F,y,w.x,J,L,G,f,h):0,top:"none"!==z?j(F,E,z,w.y,I,K,H,g,i):0,my:l}):D}})}(window,document); -//# sourceMappingURL=jquery.qtip.min.js.map \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/js/jquery.qtip.min.js.map b/wp-content/plugins/google-calendar-events/js/jquery.qtip.min.js.map deleted file mode 100644 index 942e78e..0000000 --- a/wp-content/plugins/google-calendar-events/js/jquery.qtip.min.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"jquery.qtip.min.js","sources":["jquery.qtip.js"],"names":["window","document","undefined","factory","define","amd","jQuery","fn","qtip","$","QTip","target","options","id","attr","this","tooltip","NULL","elements","_id","NAMESPACE","timers","img","plugins","cache","event","disabled","FALSE","onTooltip","lastClass","rendered","destroyed","waiting","hiddenDuringWait","positioning","triggering","invalidOpt","a","type","invalidContent","c","isFunction","length","jquery","then","sanitizeOptions","opts","content","text","ajax","once","metadata","done","api","loading","deferred","extend","context","success","error","set","xhr","status","isPlainObject","title","button","position","my","at","show","TRUE","ready","hide","style","classes","each","PLUGINS","sanitize","convertNotation","notation","obj","i","option","levels","split","pop","setCallback","args","category","rule","match","checks","RegExp","exec","push","apply","createWidgetClass","cls","WIDGET","concat","join","delay","callback","duration","setTimeout","proxy","call","showMethod","hasClass","CLASS_DISABLED","clearTimeout","toggle","hideMethod","relatedTarget","ontoTooltip","closest","SELECTOR","ontoTarget","fixed","test","preventDefault","stopImmediatePropagation","e","inactiveMethod","inactive","repositionMethod","offsetWidth","reposition","delegate","selector","events","method","body","QTIP","ATTR_ID","arguments","init","elem","posOptions","config","docBody","newTarget","metadata5","name","html5","data","parseJSON","defaults","container","solo","viewport","eq","CORNER","overwrite","ATTR_HAS","suppress","removeAttr","oldtitle","camel","s","charAt","toUpperCase","slice","vendorCss","prop","cur","val","ucProp","props","cssPrefixes","cssProps","css","intCss","Math","ceil","parseFloat","Tip","_ns","offset","size","width","height","PROTOTYPE","CHECKS","trackingBound","X","Y","WIDTH","HEIGHT","TOP","LEFT","BOTTOM","RIGHT","CENTER","FLIPINVERT","SHIFT","INACTIVE_EVENTS","CLASS_FIXED","CLASS_DEFAULT","CLASS_FOCUS","CLASS_HOVER","replaceSuffix","BROWSER","ie","v","createElement","innerHTML","getElementsByTagName","NaN","iOS","navigator","userAgent","replace","prototype","_when","deferreds","when","render","self","posClass","_createPosClass","class","tracking","adjust","mouse","role","aria-live","aria-atomic","aria-describedby","aria-hidden","toggleClass","appendTo","append","_createTitle","_updateTitle","_createButton","_updateContent","_setWidget","instance","initialize","_unassignEvents","_assignEvents","_trigger","destroy","immediate","process","timer","stop","find","remove","end","removeData","one","builtin","^id$","o","prev","nextid","new_id","^prerender","^content.text$","^content.attr$","^content.title$","_removeTitle","^content.button$","_updateButton","^content.title.(text|button)$","^position.(my|at)$","^position.container$","^show.ready$","^style.classes$","p","removeClass","addClass","^style.(width|height)","^style.widget|content.title","^style.def","^events.(render|show|move|hide|focus|blur)$","^(show|hide|position).(event|target|fixed|inactive|leave|distance|viewport|adjust)","get","toLowerCase","result","precedance","string","rmove","rrender","value","previous","nodeType","_update","element","empty","display","visibility","html","_waitForContent","images","imagesLoaded","Deferred","resolve","promise","titlebar","widget","insertBefore","substr","abbrev","effect","pluginCalculations","adjusted","newClass","tooltipWidth","outerWidth","tooltipHeight","outerHeight","targetWidth","targetHeight","left","top","visible","isScroll","win","doc","ownerDocument","isArray","x","y","distance","origin","pageX","innerWidth","documentElement","clientWidth","pageY","scrollX","scrollLeft","scrollY","scrollTop","innerHeight","imagemap","is","svg","ownerSVGElement","adjustable","isNaN","queue","next","opacity","removeAttribute","pos","scroll","scrolled","parentOffset","overflow","quirks","compatMode","parent","getBoundingClientRect","offsetParent","C","Corner","corner","forceY","f","invert","z","center","clone","state","add","has","fix","identicalState","allow","after","contentOptions","animate","sameTarget","search","focus","bind","_storeMouse","not","Event","unbind","blur","autofocus","trigger","n","fadeTo","qtips","curIndex","parseInt","zIndex","newIndex","zindex","filter","disable","enable","isString","close","aria-label","prepend","click","on","def","_bind","targets","suffix","ns","_unbind","originalEvent","isDefaultPrevented","_bindEvents","showEvents","hideEvents","showTargets","hideTargets","similarTargets","toggleEvents","showIndex","inArray","splice","_assignInitialEvents","hoverIntent","prerender","showTarget","hideTarget","trim","onTarget","containerTarget","viewportTarget","documentTarget","windowTarget","leave","nodeName","indexOf","enabled","isAncestor","parents","inactiveEvents","limit","abs","resize","special","grep","toArray","currentTarget","newValue","command","returned","makeArray","timeStamp","keepData","elems","func","old","ui","cleanData","triggerHandler","version","move","hidden","TIP","MARGIN","BORDER","COLOR","BG_COLOR","TRANSPARENT","IMPORTANT","HASCANVAS","getContext","INVALID","PIXEL_RATIO","devicePixelRatio","BACKING_STORE_RATIO","backingStorePixelRatio","webkitBackingStorePixelRatio","mozBackingStorePixelRatio","msBackingStorePixelRatio","oBackingStorePixelRatio","SCALE","createVML","tag","tip","prependTo","lineJoin","miterLimit","save","stopPropagation","create","_swapDimensions","_resetDimensions","_useTitle","_parseCorner","_parseWidth","side","use","_parseRadius","_invalidColour","compare","_parseColours","borderSide","colorElem","color","_calculateSize","bigHyp","ratio","isCenter","base","pow","round","smallHyp","sqrt","hyp","border","reverse","_calculateTip","scale","width2","height2","tips","br","bl","tr","tl","tc","bc","rc","lc","lt","rt","lb","rb","_drawCoords","coords","beginPath","moveTo","lineTo","closePath","update","bigCoords","translate","newSize","inner","children","curSize","mimic","lineHeight","restore","clearRect","fillStyle","fill","coordsize","antialias","Number","$this","path","fillcolor","filled","stroked","opera","calculate","corners","userOffset","b","max","margin","bottom","right","shiftflip","direction","popposite","opposite","newCorner","shiftonly","xy","shift","horizontal","vertical","cornerTop","cornerLeft","user","^position.my|style.tip.(corner|mimic|border)$","^style.tip.(height|width)$","^content.title|style.(classes|widget)$","elemWidth","elemHeight","otherSide","side1","side2","lengthName","targetLength","elemLength","initialPos","mySide","atSide","isShift","myLength","atLength","sideOffset","viewportScroll","viewportOffset","containerStatic","containerOffset","overflow1","overflow2","viewportWidth","viewportHeight","min","newMy","methodX","methodY"],"mappings":";;CAaC,SAAUA,EAAQC,EAAUC,IAG5B,SAAUC,GACV,YACqB,mBAAXC,SAAyBA,OAAOC,IACzCD,QAAQ,UAAWD,GAEZG,SAAWA,OAAOC,GAAGC,MAC5BL,EAAQG,SAGT,SAASG,GACT,YAoEA,SAASC,GAAKC,EAAQC,EAASC,EAAIC,GAEnCC,KAAKF,GAAKA,EACVE,KAAKJ,OAASA,EACdI,KAAKC,QAAUC,EACfF,KAAKG,UAAaP,OAAQA,GAG1BI,KAAKI,IAAMC,EAAY,IAAMP,EAC7BE,KAAKM,QAAWC,QAChBP,KAAKH,QAAUA,EACfG,KAAKQ,WAGLR,KAAKS,OACJC,SACAd,OAAQF,IACRiB,SAAUC,EACVb,KAAMA,EACNc,UAAWD,EACXE,UAAW,IAIZd,KAAKe,SAAWf,KAAKgB,UAAYhB,KAAKW,SAAWX,KAAKiB,QACrDjB,KAAKkB,iBAAmBlB,KAAKmB,YAAcnB,KAAKoB,WAAaR,EAoL9D,QAASS,GAAWC,GACpB,MAAOA,KAAMpB,GAAsB,WAAdR,EAAE6B,KAAKD,GAG7B,QAASE,GAAeC,GACvB,QAAU/B,EAAEgC,WAAWD,IAAOA,GAAKA,EAAE1B,MAAS0B,EAAEE,QAAyB,WAAdjC,EAAE6B,KAAKE,KAAoBA,EAAEG,QAAUH,EAAEI,OAIrG,QAASC,GAAgBC,GACxB,GAAIC,GAASC,EAAMC,EAAMC,CAEzB,OAAGd,GAAWU,GAAgBnB,GAE3BS,EAAWU,EAAKK,YAClBL,EAAKK,UAAab,KAAMQ,EAAKK,WAG3B,WAAaL,KACfC,EAAUD,EAAKC,QAEZX,EAAWW,IAAYA,EAAQJ,QAAUI,EAAQK,KACnDL,EAAUD,EAAKC,SACdC,KAAOA,EAAOT,EAAeQ,GAAWpB,EAAQoB,GAG3CC,EAAOD,EAAQC,KAInB,QAAUD,KACZE,EAAOF,EAAQE,KACfC,EAAOD,GAAQA,EAAKC,OAASvB,QACtBoB,GAAQE,KAEfF,EAAQC,KAAO,SAASvB,EAAO4B,GAC9B,GAAIC,GAAUN,GAAQvC,EAAEM,MAAMD,KAAKuC,EAAIzC,QAAQmC,QAAQjC,OAAS,aAEhEyC,EAAW9C,EAAEwC,KACZxC,EAAE+C,UAAWP,GAAQQ,QAASJ,KAE9BT,KAAKK,EAAKS,QAASzC,EAAMgC,EAAKU,OAC9Bf,KAAK,SAASG,GAEd,MADGA,IAAWG,GAAQG,EAAIO,IAAI,eAAgBb,GACvCA,GAER,SAASc,EAAKC,EAAQH,GAClBN,EAAItB,WAA4B,IAAf8B,EAAIC,QACxBT,EAAIO,IAAI,eAAgBE,EAAS,KAAOH,IAGzC,OAAQT,GAAsDI,GAA9CD,EAAIO,IAAI,eAAgBN,GAAUC,KAIjD,SAAWR,KACVtC,EAAEsD,cAAchB,EAAQiB,SAC1BjB,EAAQkB,OAASlB,EAAQiB,MAAMC,OAC/BlB,EAAQiB,MAAQjB,EAAQiB,MAAMhB,MAG5BT,EAAeQ,EAAQiB,OAASrC,KAClCoB,EAAQiB,MAAQrC,KAKhB,YAAcmB,IAAQV,EAAWU,EAAKoB,YACxCpB,EAAKoB,UAAaC,GAAIrB,EAAKoB,SAAUE,GAAItB,EAAKoB,WAG5C,QAAUpB,IAAQV,EAAWU,EAAKuB,QACpCvB,EAAKuB,KAAOvB,EAAKuB,KAAK1B,QAAWhC,OAAQmC,EAAKuB,MAC7CvB,EAAKuB,OAASC,GAASC,MAAOD,IAAW7C,MAAOqB,EAAKuB,OAGpD,QAAUvB,IAAQV,EAAWU,EAAK0B,QACpC1B,EAAK0B,KAAO1B,EAAK0B,KAAK7B,QAAWhC,OAAQmC,EAAK0B,OAAW/C,MAAOqB,EAAK0B,OAGnE,SAAW1B,IAAQV,EAAWU,EAAK2B,SACrC3B,EAAK2B,OAAUC,QAAS5B,EAAK2B,QAI9BhE,EAAEkE,KAAKC,EAAS,WACf7D,KAAK8D,UAAY9D,KAAK8D,SAAS/B,KAGzBA,GAkGR,QAASgC,GAAgBlE,EAASmE,GAOjC,IANA,GAAWC,GAAPC,EAAI,EAAQC,EAAStE,EAGzBuE,EAASJ,EAASK,MAAM,KAGjBF,EAASA,EAAQC,EAAOF,OAC3BA,EAAIE,EAAOzC,SAAUsC,EAAME,EAG/B,QAAQF,GAAOpE,EAASuE,EAAOE,OAYhC,QAASC,GAAYP,EAAUQ,GAC9B,GAAIC,GAAUC,EAAMC,CAEpB,KAAIF,IAAYzE,MAAK4E,OACpB,IAAIF,IAAQ1E,MAAK4E,OAAOH,IACpBE,EAAQ,GAAKE,QAAOH,EAAM,KAAMI,KAAKd,MACvCQ,EAAKO,KAAKJ,IAEM,YAAbF,GAA0BzE,KAAKQ,QAAQiE,KACzCzE,KAAK4E,OAAOH,GAAUC,GAAMM,MAC3BhF,KAAKQ,QAAQiE,IAAazE,KAAMwE,IAkuBtC,QAASS,GAAkBC,GAC1B,MAAOC,GAAOC,OAAO,IAAIC,KAAKH,EAAM,IAAIA,EAAI,IAAM,KA2BlD,QAASI,GAAMC,EAAUC,GAEzB,MAAGA,GAAW,EACNC,WACN/F,EAAEgG,MAAMH,EAAUvF,MAAOwF,OAGrBD,GAASI,KAAK3F,MAGrB,QAAS4F,GAAWlF,GAChBV,KAAKC,QAAQ4F,SAASC,KAGzBC,aAAa/F,KAAKM,OAAOgD,MACzByC,aAAa/F,KAAKM,OAAOmD,MAGzBzD,KAAKM,OAAOgD,KAAOgC,EAAMK,KAAK3F,KAC7B,WAAaA,KAAKgG,OAAOzC,EAAM7C,IAC/BV,KAAKH,QAAQyD,KAAKgC,QAIpB,QAASW,GAAWvF,GACnB,IAAGV,KAAKC,QAAQ4F,SAASC,KAAmB9F,KAAKgB,UAAjD,CAGA,GAAIkF,GAAgBxG,EAAEgB,EAAMwF,eAC3BC,EAAcD,EAAcE,QAAQC,GAAU,KAAOrG,KAAKC,QAAQ,GAClEqG,EAAaJ,EAAc,KAAOlG,KAAKH,QAAQyD,KAAK1D,OAAO,EAQ5D,IALAmG,aAAa/F,KAAKM,OAAOgD,MACzByC,aAAa/F,KAAKM,OAAOmD,MAItBzD,OAASkG,EAAc,IACS,UAAjClG,KAAKH,QAAQsD,SAASvD,QAAsBuG,GAC5CnG,KAAKH,QAAQ4D,KAAK8C,OAClB,wBAA0BC,KAAK9F,EAAMa,QAAU4E,GAAeG,GAG/D,IACC5F,EAAM+F,iBACN/F,EAAMgG,2BACL,MAAMC,QAMT3G,MAAKM,OAAOmD,KAAO6B,EAAMK,KAAK3F,KAC7B,WAAaA,KAAKgG,OAAOpF,EAAOF,IAChCV,KAAKH,QAAQ4D,KAAK6B,MAClBtF,OAIF,QAAS4G,GAAelG,IACpBV,KAAKC,QAAQ4F,SAASC,IAAoB9F,KAAKH,QAAQ4D,KAAKoD,WAG/Dd,aAAa/F,KAAKM,OAAOuG,UAEzB7G,KAAKM,OAAOuG,SAAWvB,EAAMK,KAAK3F,KACjC,WAAYA,KAAKyD,KAAK/C,IACtBV,KAAKH,QAAQ4D,KAAKoD,WAIpB,QAASC,GAAiBpG,GACtBV,KAAKe,UAAYf,KAAKC,QAAQ,GAAG8G,YAAc,GAAK/G,KAAKgH,WAAWtG,GAyBxE,QAASuG,GAASC,EAAUC,EAAQC,GACnC1H,EAAER,EAASmI,MAAMJ,SAASC,GACxBC,EAAO9C,MAAQ8C,EAASA,EAAO9B,KAAK,IAAIhF,EAAY,MAAQ,IAAIA,EACjE,WACC,GAAIiC,GAAMgF,EAAKhF,IAAK5C,EAAEK,KAAKC,KAAMuH,GACjCjF,KAAQA,EAAI3B,UAAYyG,EAAOpC,MAAM1C,EAAKkF,aA6S7C,QAASC,GAAKC,EAAM5H,EAAIiC,GACvB,GAAIkC,GAAK0D,EAAY5H,EAAM6H,EAAQ3E,EAGnC4E,EAAUnI,EAAER,EAASmI,MAGrBS,EAAYJ,EAAK,KAAOxI,EAAW2I,EAAUH,EAG7CtF,EAAYsF,EAAa,SAAIA,EAAKtF,SAASL,EAAKK,UAAYlC,EAG5D6H,EAAmC,UAAvBhG,EAAKK,SAASb,MAAoBa,EAAWA,EAASL,EAAKK,SAAS4F,MAAQ9H,EAGxF+H,EAAQP,EAAKQ,KAAKnG,EAAKK,SAAS4F,MAAQ,WAGxC,KAAMC,EAAyB,gBAAVA,GAAqBvI,EAAEyI,UAAUF,GAASA,EAAS,MAAMtB,IAY9E,GATAiB,EAASlI,EAAE+C,OAAOc,KAAU+D,EAAKc,SAAUrG,EACzB,gBAAVkG,GAAqBnG,EAAgBmG,GAAS/H,EACrD4B,EAAgBiG,GAAa3F,IAG9BuF,EAAaC,EAAOzE,SACpByE,EAAO9H,GAAKA,EAGT,iBAAqB8H,GAAO5F,QAAQC,KAAM,CAI5C,GAHAlC,EAAO2H,EAAK3H,KAAK6H,EAAO5F,QAAQjC,MAG7B6H,EAAO5F,QAAQjC,OAASa,IAASb,EAG7B,MAAOa,EAH8BgH,GAAO5F,QAAQC,KAAOlC,EAsBnE,GAfI4H,EAAWU,UAAU1G,SAAUgG,EAAWU,UAAYR,GACvDF,EAAW/H,SAAWgB,IAAS+G,EAAW/H,OAASkI,GACnDF,EAAOtE,KAAK1D,SAAWgB,IAASgH,EAAOtE,KAAK1D,OAASkI,GACrDF,EAAOtE,KAAKgF,OAAS/E,IAAQqE,EAAOtE,KAAKgF,KAAOX,EAAWU,UAAUjC,QAAQ,SAC7EwB,EAAOnE,KAAK7D,SAAWgB,IAASgH,EAAOnE,KAAK7D,OAASkI,GACrDF,EAAOzE,SAASoF,WAAahF,IAAQqE,EAAOzE,SAASoF,SAAWZ,EAAWU,WAG9EV,EAAWU,UAAYV,EAAWU,UAAUG,GAAG,GAG/Cb,EAAWtE,GAAK,GAAIoF,GAAOd,EAAWtE,GAAIE,GAC1CoE,EAAWvE,GAAK,GAAIqF,GAAOd,EAAWvE,IAGnCsE,EAAKQ,KAAK7H,GACZ,GAAGuH,EAAOc,UACThB,EAAKjI,KAAK,WAAW,OAEjB,IAAGmI,EAAOc,YAAc9H,EAC5B,MAAOA,EAiBT,OAZA8G,GAAK3H,KAAK4I,EAAU7I,GAGjB8H,EAAOgB,WAAa3F,EAAQyE,EAAK3H,KAAK,WAExC2H,EAAKmB,WAAW,SAAS9I,KAAK+I,GAAU7F,GAAOlD,KAAK,QAAS,IAI9DkE,EAAM,GAAItE,GAAK+H,EAAME,EAAQ9H,IAAMC,GACnC2H,EAAKQ,KAAK7H,EAAW4D,GAEdA,EA0PR,QAAS8E,GAAMC,GAAK,MAAOA,GAAEC,OAAO,GAAGC,cAAgBF,EAAEG,MAAM,GAO/D,QAASC,GAAU1B,EAAM2B,GACxB,GAECC,GAAKC,EAFFC,EAASH,EAAKJ,OAAO,GAAGC,cAAgBG,EAAKF,MAAM,GACtDM,GAASJ,EAAO,IAAMK,GAAYrE,KAAKmE,EAAS,KAAOA,GAAQnF,MAAM,KAC3DH,EAAI,CAGf,IAAGyF,GAASN,GAAS,MAAO3B,GAAKkC,IAAID,GAASN,GAE9C,MAAOC,EAAMG,EAAMvF,MAClB,IAAIqF,EAAM7B,EAAKkC,IAAIN,MAAUnK,EAC5B,MAAOwK,IAASN,GAAQC,EAAKC,EAMhC,QAASM,GAAOnC,EAAM2B,GACrB,MAAOS,MAAKC,KAAKC,WAAWZ,EAAU1B,EAAM2B,KAwB7C,QAASY,GAAIxK,EAAMI,GAClBG,KAAKkK,IAAM,MACXlK,KAAKH,QAAUA,EACfG,KAAKmK,OAAStK,EAAQsK,OACtBnK,KAAKoK,MAASvK,EAAQwK,MAAOxK,EAAQyK,QAGrCtK,KAAKyH,KAAOzH,KAAKP,KAAOA,GA7/DzB,GAsBA6H,GAAMiD,EAAW9B,EAAQ+B,EAiBzBC,EAvCIlH,GAAO,EACX3C,GAAQ,EACRV,EAAO,KAGPwK,EAAI,IAAKC,EAAI,IACbC,EAAQ,QACRC,EAAS,SAGTC,EAAM,MACNC,EAAO,OACPC,EAAS,SACTC,EAAQ,QACRC,EAAS,SAITC,EAAa,aACbC,EAAQ,QAIRvH,KACAxD,EAAY,OACZsI,EAAW,eACXpB,EAAU,eACVpC,GAAU,YAAa,cACvBkB,EAAW,IAAIhG,EACfgL,EAAkB,mEAAmEhH,MAAM,KAE3FiH,EAAcjL,EAAU,SACxBkL,EAAgBlL,EAAY,WAC5BmL,EAAcnL,EAAY,SAC1BoL,EAAcpL,EAAY,SAC1ByF,EAAiBzF,EAAU,YAE3BqL,EAAgB,kBAChB5C,GAAW,WAIX6C,IAOCC,GAAK,WACJ,IACC,GAAIC,GAAI,EAAG3H,EAAIhF,EAAS4M,cAAc,QACrC5H,EAAE6H,UAAY,iBAAmBF,EAAI,0BAA4B3H,EAAE8H,qBAAqB,KAAK,GAC9FH,GAAG,GAEJ,MAAOA,GAAI,EAAIA,EAAII,OAMpBC,IAAKlC,YACH,IAAM,yDAAyDlF,KAAKqH,UAAUC,aAAe,EAAE,KAAK,IACpGC,QAAQ,YAAa,OAAOA,QAAQ,IAAK,KAAKA,QAAQ,IAAK,MACxDzL,EA6BN2J,GAAY5K,EAAK2M,UAEjB/B,EAAUgC,MAAQ,SAASC,GAC1B,MAAO9M,GAAE+M,KAAKzH,MAAMtF,EAAG8M,IAGxBjC,EAAUmC,OAAS,SAASpJ,GAC3B,GAAGtD,KAAKe,UAAYf,KAAKgB,UAAa,MAAOhB,KAE7C,IAUCC,GAVG0M,EAAO3M,KACVH,EAAUG,KAAKH,QACfY,EAAQT,KAAKS,MACbN,EAAWH,KAAKG,SAChB8B,EAAOpC,EAAQmC,QAAQC,KACvBgB,EAAQpD,EAAQmC,QAAQiB,MACxBC,EAASrD,EAAQmC,QAAQkB,OACzByE,EAAa9H,EAAQsD,SAErBqJ,GADY,IAAIxM,KAAKI,IAAI,OAgG1B,OA3FAV,GAAEK,KAAKC,KAAKJ,OAAO,GAAI,mBAAoBI,KAAKI,KAGhDK,EAAMmM,SAAW5M,KAAK6M,iBACpB7M,KAAKmD,UAAaC,GAAIuE,EAAWvE,GAAIC,GAAIsE,EAAWtE,KAAMD,IAI5DpD,KAAKC,QAAUE,EAASF,QAAUA,EAAUP,EAAE,UAC7CI,GAAME,KAAKI,IACX0M,SAAWzM,EAAWkL,EAAe1L,EAAQ6D,MAAMC,QAASlD,EAAMmM,UAAWvH,KAAK,KAClFgF,MAASxK,EAAQ6D,MAAM2G,OAAS,GAChCC,OAAUzK,EAAQ6D,MAAM4G,QAAU,GAClCyC,SAAkC,UAAtBpF,EAAW/H,QAAsB+H,EAAWqF,OAAOC,MAG/DC,KAAQ,QACRC,YAAa,SACbC,cAAexM,EACfyM,mBAAoBrN,KAAKI,IAAM,WAC/BkN,cAAe/J,IAEfgK,YAAYzH,EAAgB9F,KAAKW,UACjCZ,KAAKwH,EAASvH,KAAKF,IACnBoI,KAAK7H,EAAWL,MAChBwN,SAAS7F,EAAWU,WACpBoF,OAEAtN,EAAS6B,QAAUtC,EAAE,WACpBoN,QAASzM,EAAY,WACrBP,GAAME,KAAKI,IAAM,WACjBgN,cAAe7J,KAKjBvD,KAAKe,SAAW,GAChBf,KAAKmB,YAAcoC,EAGhBN,IACFjD,KAAK0N,eAGDhO,EAAEgC,WAAWuB,IAChBuJ,EAAUzH,KAAM/E,KAAK2N,aAAa1K,EAAOrC,KAKxCsC,GAAUlD,KAAK4N,gBAGdlO,EAAEgC,WAAWO,IAChBuK,EAAUzH,KAAM/E,KAAK6N,eAAe5L,EAAMrB,IAE3CZ,KAAKe,SAAWwC,EAGhBvD,KAAK8N,aAGLpO,EAAEkE,KAAKC,EAAS,SAASmE,GACxB,GAAI+F,EACmB,YAApB/N,KAAKgO,aAA4BD,EAAW/N,KAAK2M,MACnDA,EAAKnM,QAAQwH,GAAQ+F,KAKvB/N,KAAKiO,kBACLjO,KAAKkO,gBAGLlO,KAAKuM,MAAMC,GAAW3K,KAAK,WAE1B8K,EAAKwB,SAAS,UAGdxB,EAAKxL,YAAcP,EAGf+L,EAAKzL,mBAAqBrB,EAAQyD,KAAKE,QAASF,GACnDqJ,EAAK3G,OAAOzC,EAAM9C,EAAMC,MAAOE,GAEhC+L,EAAKzL,iBAAmBN,IAIzB0G,EAAKhF,IAAItC,KAAKF,IAAME,KAEbA,MAGRuK,EAAU6D,QAAU,SAASC,GAK5B,QAASC,KACR,IAAGtO,KAAKgB,UAAR,CACAhB,KAAKgB,UAAYuC,CAEjB,IAECgL,GAFG3O,EAASI,KAAKJ,OACjBqD,EAAQrD,EAAOG,KAAK+I,GAIlB9I,MAAKe,UACPf,KAAKC,QAAQuO,KAAK,EAAE,GAAGC,KAAK,KAAKC,SAASC,MAAMD,SAIjDhP,EAAEkE,KAAK5D,KAAKQ,QAAS,WACpBR,KAAKoO,SAAWpO,KAAKoO,WAItB,KAAIG,IAASvO,MAAKM,OACjByF,aAAa/F,KAAKM,OAAOiO,GAI1B3O,GAAOgP,WAAWvO,GAChBwI,WAAWtB,GACXsB,WAAWF,GACXE,WAAW,oBAGV7I,KAAKH,QAAQ+I,UAAY3F,GAC3BrD,EAAOG,KAAK,QAASkD,GAAO4F,WAAWC,IAIxC9I,KAAKiO,kBAILjO,KAAKH,QAAUG,KAAKG,SAAWH,KAAKS,MAAQT,KAAKM,OAChDN,KAAKQ,QAAUR,KAAKiN,MAAQ/M,QAGtBoH,GAAKhF,IAAItC,KAAKF,KA7CtB,MAAGE,MAAKgB,UAAoBhB,KAAKJ,QAiD7ByO,IAAc9K,GAA4B,SAApBvD,KAAKoB,aAA0BpB,KAAKe,SAMvDuN,EAAQ3I,KAAK3F,OALnBA,KAAKC,QAAQ4O,IAAI,gBAAiBnP,EAAEgG,MAAM4I,EAAStO,QAClDA,KAAKoB,YAAcpB,KAAKyD,QAMnBzD,KAAKJ,SA+Fb4K,EAASD,EAAU3F,QAClBkK,SAECC,OAAQ,SAAS9K,EAAK+K,EAAGnD,EAAGoD,GAC3B,GAAInP,GAAK+L,IAAMtI,EAAO+D,EAAK4H,OAASrD,EACnCsD,EAAS9O,EAAY,IAAMP,CAEzBA,KAAOc,GAASd,EAAG6B,OAAS,IAAMjC,EAAE,IAAIyP,GAAQxN,QAClD3B,KAAKI,IAAM+O,EAERnP,KAAKe,WACPf,KAAKC,QAAQ,GAAGH,GAAKE,KAAKI,IAC1BJ,KAAKG,SAAS6B,QAAQ,GAAGlC,GAAKE,KAAKI,IAAM,WACzCJ,KAAKG,SAAS8C,MAAM,GAAGnD,GAAKE,KAAKI,IAAM,WAGlC6D,EAAI+K,GAAKC,GAEjBG,aAAc,SAASnL,EAAK+K,EAAGnD,GAC9BA,IAAM7L,KAAKe,UAAYf,KAAK0M,OAAO1M,KAAKH,QAAQyD,KAAKE,QAItD6L,iBAAkB,SAASpL,EAAK+K,EAAGnD,GAClC7L,KAAK6N,eAAehC,IAErByD,iBAAkB,SAASrL,EAAK+K,EAAGnD,EAAGoD,GAClCjP,KAAKH,QAAQmC,QAAQC,OAASjC,KAAKJ,OAAOG,KAAKkP,IACjDjP,KAAK6N,eAAgB7N,KAAKJ,OAAOG,KAAK8L,KAGxC0D,kBAAmB,SAAStL,EAAK+K,EAAGnD,GAEnC,MAAIA,IAGJA,IAAM7L,KAAKG,SAAS8C,OAASjD,KAAK0N,mBAClC1N,MAAK2N,aAAa9B,IAJF7L,KAAKwP,gBAMtBC,mBAAoB,SAASxL,EAAK+K,EAAGnD,GACpC7L,KAAK0P,cAAc7D,IAEpB8D,gCAAiC,SAAS1L,EAAK+K,EAAGnD,GACjD7L,KAAK6C,IAAI,WAAWmM,EAAGnD,IAIxB+D,qBAAsB,SAAS3L,EAAK+K,EAAGnD,GACtC,gBAAoBA,KAAM7L,KAAKmD,SAAS6L,GAAK/K,EAAI+K,GAAK,GAAIvG,GAAOoD,EAAS,OAANmD,KAErEa,uBAAwB,SAAS5L,EAAK+K,EAAGnD,GACxC7L,KAAKe,UAAYf,KAAKC,QAAQuN,SAAS3B,IAIxCiE,eAAgB,SAAS7L,EAAK+K,EAAGnD,GAChCA,KAAO7L,KAAKe,UAAYf,KAAK0M,OAAOnJ,IAASvD,KAAKgG,OAAOzC,KAI1DwM,kBAAmB,SAAS9L,EAAK+K,EAAGnD,EAAGmE,GACtChQ,KAAKe,UAAYf,KAAKC,QAAQgQ,YAAYD,GAAGE,SAASrE,IAEvDsE,wBAAyB,SAASlM,EAAK+K,EAAGnD,GACzC7L,KAAKe,UAAYf,KAAKC,QAAQ2J,IAAIoF,EAAGnD,IAEtCuE,8BAA+B,WAC9BpQ,KAAKe,UAAYf,KAAK8N,cAEvBuC,aAAc,SAASpM,EAAK+K,EAAGnD,GAC9B7L,KAAKe,UAAYf,KAAKC,QAAQsN,YAAYhC,IAAiBM,IAI5DyE,8CAA+C,SAASrM,EAAK+K,EAAGnD,GAC/D7L,KAAKe,UAAYf,KAAKC,SAASP,EAAEgC,WAAWmK,GAAK,GAAK,MAAQ,QAAQ,UAAUmD,EAAGnD,IAIpF0E,qFAAsF,WACrF,GAAIvQ,KAAKe,SAAT,CAGA,GAAI4G,GAAa3H,KAAKH,QAAQsD,QAC9BnD,MAAKC,QAAQF,KAAK,WAAkC,UAAtB4H,EAAW/H,QAAsB+H,EAAWqF,OAAOC,OAGjFjN,KAAKiO,kBACLjO,KAAKkO,oBAoBR3D,EAAUiG,IAAM,SAASxM,GACxB,GAAGhE,KAAKgB,UAAa,MAAOhB,KAE5B,IAAIgP,GAAIjL,EAAgB/D,KAAKH,QAASmE,EAASyM,eAC9CC,EAAS1B,EAAE,GAAIA,EAAE,GAElB,OAAO0B,GAAOC,WAAaD,EAAOE,SAAWF,EAqB9C,IAAIG,IAAQ,iFACXC,GAAU,yBAEXvG,GAAU1H,IAAM,SAASsB,EAAQ4M,GAChC,GAAG/Q,KAAKgB,UAAa,MAAOhB,KAE5B,EAAA,GAICgI,GAJGjH,EAAWf,KAAKe,SACnBiG,EAAapG,EACbf,EAAUG,KAAKH,OACNG,MAAK4E,OA2Cf,MAvCG,gBAAoBT,IACtB6D,EAAO7D,EAAQA,KAAaA,EAAO6D,GAAQ+I,GAErC5M,EAASzE,EAAE+C,UAAW0B,GAG7BzE,EAAEkE,KAAKO,EAAQ,SAASH,EAAU+M,GACjC,GAAGhQ,GAAY+P,GAAQtK,KAAKxC,GACF,kBAAlBG,GAAOH,EAIf,IAA4DgN,GAAxD/M,EAAMF,EAAgBlE,EAASmE,EAASyM,cAC5CO,GAAW/M,EAAI,GAAIA,EAAI,IACvBA,EAAI,GAAIA,EAAI,IAAO8M,GAASA,EAAME,SAAWvR,EAAEqR,GAASA,EAGxD/J,EAAa6J,GAAMrK,KAAKxC,IAAagD,EAGrC7C,EAAOH,IAAaC,EAAI,GAAIA,EAAI,GAAI8M,EAAOC,KAI5ClP,EAAgBjC,GAMhBG,KAAKmB,YAAcoC,EACnB7D,EAAEkE,KAAKO,EAAQzE,EAAEgG,MAAMnB,EAAavE,OACpCA,KAAKmB,YAAcP,EAGhBZ,KAAKe,UAAYf,KAAKC,QAAQ,GAAG8G,YAAc,GAAKC,GACtDhH,KAAKgH,WAAwC,UAA5BnH,EAAQsD,SAASvD,OAAqBM,EAAOF,KAAKS,MAAMC,OAGnEV,MAEPuK,EAAU2G,QAAU,SAASlP,EAASmP,GACtC,GAAIxE,GAAO3M,KACVS,EAAQT,KAAKS,KAGd,OAAIT,MAAKe,UAAaiB,GAGnBtC,EAAEgC,WAAWM,KACfA,EAAUA,EAAQ2D,KAAK3F,KAAKG,SAASP,OAAQa,EAAMC,MAAOV,OAAS,IAIjEN,EAAEgC,WAAWM,EAAQH,OACvBpB,EAAMQ,QAAUsC,EACTvB,EAAQH,KAAK,SAASJ,GAE5B,MADAhB,GAAMQ,QAAUL,EACT+L,EAAKuE,QAAQzP,EAAG0P,IACrBjR,EAAM,SAASyG,GACjB,MAAOgG,GAAKuE,QAAQvK,EAAGwK,MAKtBnP,IAAYpB,IAAWoB,GAAuB,KAAZA,EAA0BpB,GAG5DoB,EAAQJ,QAAUI,EAAQL,OAAS,EACrCwP,EAAQC,QAAQ3D,OACfzL,EAAQ4H,KAAMyH,QAAS,QAASC,WAAY,aAKvCH,EAAQI,KAAKvP,GAGbhC,KAAKwR,gBAAgBL,GAAStP,KAAK,SAAS4P,GAC/C9E,EAAK5L,UAAY4L,EAAK1M,QAAQ,GAAG8G,YAAc,GACjD4F,EAAK3F,WAAWvG,EAAMC,OAAQ+Q,EAAO9P,YAlCCf,GAuCzC2J,EAAUiH,gBAAkB,SAASL,GACpC,GAAI1Q,GAAQT,KAAKS,KAMjB,OAHAA,GAAMQ,QAAUsC,GAGP7D,EAAEF,GAAGkS,aAAeP,EAAQO,eAAiBhS,EAAEiS,WAAWC,aACjEvP,KAAK,WAAa5B,EAAMQ,QAAUL,IAClCiR,WAGHtH,EAAUsD,eAAiB,SAAS7L,EAASgF,GAC5ChH,KAAKkR,QAAQlP,EAAShC,KAAKG,SAAS6B,QAASgF,IAG9CuD,EAAUoD,aAAe,SAAS3L,EAASgF,GACvChH,KAAKkR,QAAQlP,EAAShC,KAAKG,SAAS8C,MAAO+D,KAAgBpG,GAC7DZ,KAAKwP,aAAa5O,IAIpB2J,EAAUmD,aAAe,WAExB,GAAIvN,GAAWH,KAAKG,SACnBL,EAAKE,KAAKI,IAAI,QAGZD,GAAS2R,UAAY9R,KAAKwP,eAG7BrP,EAAS2R,SAAWpS,EAAE,WACrBoN,QAASzM,EAAY,cAAgBL,KAAKH,QAAQ6D,MAAMqO,OAAS9M,EAAkB,UAAY,MAE/FwI,OACAtN,EAAS8C,MAAQvD,EAAE,WAClBI,GAAMA,EACNgN,QAASzM,EAAY,SACrB+M,cAAe7J,KAGhByO,aAAa7R,EAAS6B,SAGtBiF,SAAS,cAAe,2CAA4C,SAASvG,GAC7EhB,EAAEM,MAAMuN,YAAY,iCAA4D,SAA1B7M,EAAMa,KAAK0Q,OAAO,OAExEhL,SAAS,cAAe,qBAAsB,SAASvG,GACvDhB,EAAEM,MAAMuN,YAAY,iBAAiC,cAAf7M,EAAMa,QAI1CvB,KAAKH,QAAQmC,QAAQkB,QAAUlD,KAAK4N,iBAGxCrD,EAAUiF,aAAe,SAASxI,GAEjC,GAAI7G,GAAWH,KAAKG,QAEjBA,GAAS8C,QACX9C,EAAS2R,SAASpD,SAClBvO,EAAS2R,SAAW3R,EAAS8C,MAAQ9C,EAAS+C,OAAShD,EAGpD8G,IAAepG,GAASZ,KAAKgH,eAGjCuD,EAAUsC,gBAAkB,SAASzJ,GACrC,MAAO/C,GAAY,SAAW+C,GAAMpD,KAAKH,QAAQsD,SAASC,IAAI8O,UAG/D3H,EAAUvD,WAAa,SAAStG,EAAOyR,GACtC,IAAInS,KAAKe,UAAYf,KAAKmB,aAAenB,KAAKgB,UAAa,MAAOhB,KAGlEA,MAAKmB,YAAcoC,CAEnB,IAqBC6O,GAAoBjI,EAAQkI,EAAUC,EArBnC7R,EAAQT,KAAKS,MAChBR,EAAUD,KAAKC,QACf0H,EAAa3H,KAAKH,QAAQsD,SAC1BvD,EAAS+H,EAAW/H,OACpBwD,EAAKuE,EAAWvE,GAChBC,EAAKsE,EAAWtE,GAChBkF,EAAWZ,EAAWY,SACtBF,EAAYV,EAAWU,UACvB2E,EAASrF,EAAWqF,OACpB5F,EAAS4F,EAAO5F,OAAO/C,MAAM,KAC7BkO,EAAetS,EAAQuS,WAAW5R,GAClC6R,EAAgBxS,EAAQyS,YAAY9R,GACpC+R,EAAc,EACdC,EAAe,EACfrR,EAAOtB,EAAQ2J,IAAI,YACnBzG,GAAa0P,KAAM,EAAGC,IAAK,GAC3BC,EAAU9S,EAAQ,GAAG8G,YAAc,EACnCiM,EAAWtS,GAAwB,WAAfA,EAAMa,KAC1B0R,EAAMvT,EAAET,GACRiU,EAAM7K,EAAU,GAAG8K,cACnBlG,EAAQjN,KAAKiN,KAId,IAAGvN,EAAE0T,QAAQxT,IAA6B,IAAlBA,EAAO+B,OAE9B0B,GAAOgQ,EAAGtI,EAAMuI,EAAGxI,GACnB3H,GAAa0P,KAAMjT,EAAO,GAAIkT,IAAKlT,EAAO,QAItC,IAAc,UAAXA,EAEPyD,GAAOgQ,EAAGtI,EAAMuI,EAAGxI,KAGdkC,EAAOC,OAASjN,KAAKH,QAAQ4D,KAAK8P,WAAa9S,EAAM+S,QAAU/S,EAAM+S,OAAOC,MAChF/S,EAASD,EAAM+S,QAIP9S,GAAUA,IAAyB,WAAfA,EAAMa,MAAoC,WAAfb,EAAMa,MAC7Db,EAAQD,EAAMC,MAIPuM,GAASA,EAAMwG,QACtB/S,EAAQuM,GAIG,WAAT1L,IAAqB4B,EAAWkF,EAAU8B,UAC1C+I,EAAI7L,KAAKN,eAAiB9H,EAAOyU,YAAcR,EAAIS,gBAAgBC,eACrEzJ,EAASzK,EAAER,EAASmI,MAAM8C,UAI3BhH,GACC0P,KAAMnS,EAAM+S,MAAQtQ,EAAS0P,MAAQ1I,GAAUA,EAAO0I,MAAQ,GAC9DC,IAAKpS,EAAMmT,MAAQ1Q,EAAS2P,KAAO3I,GAAUA,EAAO2I,KAAO,IAIzD9F,EAAOC,OAAS+F,GAAY/F,IAC9B9J,EAAS0P,OAAS5F,EAAM6G,SAAW,GAAKb,EAAIc,aAC5C5Q,EAAS2P,MAAQ7F,EAAM+G,SAAW,GAAKf,EAAIgB,iBAKxC,CAiBJ,GAfc,UAAXrU,EACCc,GAASA,EAAMd,QAAyB,WAAfc,EAAMa,MAAoC,WAAfb,EAAMa,KAC5Dd,EAAMb,OAASF,EAAEgB,EAAMd,QAEfc,EAAMd,SACda,EAAMb,OAASI,KAAKG,SAASP,QAGZ,UAAXA,IACPa,EAAMb,OAASF,EAAEE,EAAOgC,OAAShC,EAASI,KAAKG,SAASP,SAEzDA,EAASa,EAAMb,OAGfA,EAASF,EAAEE,GAAQ4I,GAAG,GACD,IAAlB5I,EAAO+B,OAAgB,MAAO3B,KAGzBJ,GAAO,KAAOV,GAAYU,EAAO,KAAOX,GAC/C0T,EAAchH,GAAQO,IAAMjN,EAAOyU,WAAa9T,EAAOyK,QACvDuI,EAAejH,GAAQO,IAAMjN,EAAOiV,YAActU,EAAO0K,SAEtD1K,EAAO,KAAOX,IAChBkE,GACC2P,KAAMvK,GAAY3I,GAAQqU,YAC1BpB,MAAOtK,GAAY3I,GAAQmU,gBAMtBlQ,EAAQsQ,UAAYvU,EAAOwU,GAAG,QACrChC,EAAqBvO,EAAQsQ,SAASnU,KAAMJ,EAAQyD,EAAIQ,EAAQ0E,SAAWnB,EAASxG,GAI7EiD,EAAQwQ,KAAOzU,GAAUA,EAAO,GAAG0U,gBAC1ClC,EAAqBvO,EAAQwQ,IAAIrU,KAAMJ,EAAQyD,EAAIQ,EAAQ0E,SAAWnB,EAASxG,IAK/E+R,EAAc/S,EAAO4S,WAAW5R,GAChCgS,EAAehT,EAAO8S,YAAY9R,GAClCuC,EAAWvD,EAAOuK,UAIhBiI,IACFO,EAAcP,EAAmB/H,MACjCuI,EAAeR,EAAmB9H,OAClCH,EAASiI,EAAmBjI,OAC5BhH,EAAWiP,EAAmBjP,UAI/BA,EAAWnD,KAAKgH,WAAWmD,OAAOvK,EAAQuD,EAAUkF,IAGhDsD,GAAQO,IAAM,KAAOP,GAAQO,IAAM,KACrCP,GAAQO,KAAO,KAAOP,GAAQO,IAAM,OACnCP,GAAQO,KAAgB,UAAT3K,KAEjB4B,EAAS0P,MAAQI,EAAIc,aACrB5Q,EAAS2P,KAAOG,EAAIgB,eAIjB7B,GAAuBA,GAAsBA,EAAmBmC,aAAe3T,KAClFuC,EAAS0P,MAAQxP,EAAGgQ,IAAMpI,EAAQ0H,EAActP,EAAGgQ,IAAMnI,EAASyH,EAAc,EAAI,EACpFxP,EAAS2P,KAAOzP,EAAGiQ,IAAMtI,EAAS4H,EAAevP,EAAGiQ,IAAMpI,EAAS0H,EAAe,EAAI,GA+BxF,MA1BAzP,GAAS0P,MAAQ7F,EAAOqG,GAAKjQ,EAAGiQ,IAAMpI,GAASsH,EAAenP,EAAGiQ,IAAMnI,GAAUqH,EAAe,EAAI,GACpGpP,EAAS2P,KAAO9F,EAAOsG,GAAKlQ,EAAGkQ,IAAMtI,GAAUyH,EAAgBrP,EAAGkQ,IAAMpI,GAAUuH,EAAgB,EAAI,GAGnG5O,EAAQ0E,UACV8J,EAAWlP,EAASkP,SAAWxO,EAAQ0E,SACtCvI,KAAMmD,EAAUwE,EAAYgL,EAAaC,EAAcL,EAAcE,GAInEtI,GAAUkI,EAASQ,OAAQ1P,EAAS0P,MAAQ1I,EAAO0I,MACnD1I,GAAUkI,EAASS,MAAQ3P,EAAS2P,KAAO3I,EAAO2I,KAGlDT,EAASjP,KAAMpD,KAAKmD,SAASC,GAAKiP,EAASjP,KAIxCD,EAASkP,UAAaQ,KAAM,EAAGC,IAAK,GAGxCrS,EAAMmM,YAAc0F,EAAWtS,KAAK6M,gBAAgB7M,KAAKmD,SAASC,MACpEnD,EAAQgQ,YAAYxP,EAAMmM,UAAUsD,SAAWzP,EAAMmM,SAAW0F,GAI7DtS,KAAKmO,SAAS,QAAShL,EAAUoF,EAASb,MAAQa,GAAW7H,UAC1DyC,GAASkP,SAGbF,IAAWvR,IAAUmS,GAAWyB,MAAMrR,EAAS0P,OAAS2B,MAAMrR,EAAS2P,MAAmB,UAAXlT,IAAuBF,EAAEgC,WAAWiG,EAAWwK,QAChIlS,EAAQ2J,IAAIzG,GAILzD,EAAEgC,WAAWiG,EAAWwK,UAC/BxK,EAAWwK,OAAOxM,KAAK1F,EAASD,KAAMN,EAAE+C,UAAWU,IACnDlD,EAAQwU,MAAM,SAASC,GAEtBhV,EAAEM,MAAM4J,KAAM+K,QAAS,GAAIrK,OAAQ,KAChCqB,GAAQC,IAAM5L,KAAK0D,MAAMkR,gBAAgB,UAE5CF,OAKF1U,KAAKmB,YAAcP,EAEZZ,MAvB2EA,MA2BnFuK,EAAUvD,WAAWmD,OAAS,SAASzC,EAAMmN,EAAKxM,GAQjD,QAASyM,GAAOnO,EAAGzC,GAClB2Q,EAAIhC,MAAQ3O,EAAIyC,EAAEoN,aAClBc,EAAI/B,KAAO5O,EAAIyC,EAAEsN,YATlB,IAAI5L,EAAU,GAAM,MAAOwM,EAE3B,IAGCE,GAAU5R,EAAU6R,EAAcC,EAH/B9B,EAAgBzT,EAAEgI,EAAK,GAAGyL,eAC7B+B,IAAWvJ,GAAQC,IAA8B,eAAxB1M,EAASiW,WAClCC,EAAS/M,EAAU,EASpB,GAC+C,YAA1ClF,EAAWzD,EAAEkK,IAAIwL,EAAQ,eACZ,UAAbjS,GACF6R,EAAeI,EAAOC,wBACtBP,EAAO3B,EAAe,MAGtB6B,EAAetV,EAAE0V,GAAQjS,WACzB6R,EAAanC,MAAS7I,WAAWtK,EAAEkK,IAAIwL,EAAQ,qBAAuB,EACtEJ,EAAalC,KAAQ9I,WAAWtK,EAAEkK,IAAIwL,EAAQ,oBAAsB,GAGrEP,EAAIhC,MAAQmC,EAAanC,MAAQ7I,WAAWtK,EAAEkK,IAAIwL,EAAQ,gBAAkB,GAC5EP,EAAI/B,KAAOkC,EAAalC,KAAO9I,WAAWtK,EAAEkK,IAAIwL,EAAQ,eAAiB,GAGrEL,GAAuD,YAA1CE,EAAWvV,EAAEkK,IAAIwL,EAAQ,cAA0C,YAAbH,IAA0BF,EAAWrV,EAAE0V,WAGzGA,EAASA,EAAOE,aAOvB,OAJGP,KAAaA,EAAS,KAAO5B,EAAc,IAAM+B,IACnDJ,EAAOC,EAAU,GAGXF,EAIR,IAAIU,KAAK9M,EAAS8B,EAAUvD,WAAWwO,OAAS,SAASC,EAAQC,GAChED,GAAU,GAAKA,GAAQpJ,QAAQ,UAAW,OAAOA,QAAQ,WAAYnB,GAAQuF,cAC7EzQ,KAAKqT,GAAKoC,EAAO9Q,MAAM,gBAAkB8Q,EAAO9Q,MAAM,YAAc,YAAY,GAAG8L,cACnFzQ,KAAKsT,GAAKmC,EAAO9Q,MAAM,wBAA0B,YAAY,GAAG8L,cAChEzQ,KAAK0V,SAAWA,CAEhB,IAAIC,GAAIF,EAAOxM,OAAO,EACtBjJ,MAAK2Q,WAAoB,MAANgF,GAAmB,MAANA,EAAYhL,EAAID,IAC9C4B,SAEHiJ,IAAEK,OAAS,SAASC,EAAGC,GACtB9V,KAAK6V,GAAK7V,KAAK6V,KAAO9K,EAAOE,EAAQjL,KAAK6V,KAAO5K,EAAQF,EAAO+K,GAAU9V,KAAK6V,IAGhFN,GAAE3E,OAAS,SAASvL,GACnB,GAAIgO,GAAIrT,KAAKqT,EAAGC,EAAItT,KAAKsT,EAErB5C,EAAS2C,IAAMC,EACX,WAAND,GAAwB,WAANC,IAAmBtT,KAAK2Q,aAAehG,GAAK3K,KAAK0V,SAClEpC,EAAED,IAAMA,EAAEC,IAEZD,EAED,OAAOhO,MAAS,EAAQqL,EAAOrL,KAAK,KAAOqL,GAG5C6E,GAAErD,OAAS,WACV,GAAIxB,GAAS1Q,KAAK4Q,QAAO,EACzB,OAAOF,GAAO,GAAGzH,OAAO,IAAMyH,EAAO,IAAMA,EAAO,GAAGzH,OAAO,IAAM,KAGnEsM,GAAEQ,MAAQ,WACT,MAAO,IAAItN,GAAQzI,KAAK4Q,SAAU5Q,KAAK0V,SAIxCnL,EAAUvE,OAAS,SAASgQ,EAAOtV,GAClC,GAAID,GAAQT,KAAKS,MAChBZ,EAAUG,KAAKH,QACfI,EAAUD,KAAKC,OAGhB,IAAGS,EAAO,CACT,GAAG,aAAe8F,KAAK9F,EAAMa,OAASd,EAAMC,OAAS,YAAc8F,KAAK/F,EAAMC,MAAMa,OACnF1B,EAAQyD,KAAK1D,OAAOqW,IAAIvV,EAAMd,QAAQ+B,SAAW9B,EAAQyD,KAAK1D,OAAO+B,QACrE1B,EAAQiW,IAAIxV,EAAMwF,eAAevE,OACjC,MAAO3B,KAIRS,GAAMC,MAAQhB,EAAEgB,MAAMyV,IAAIzV,GAO3B,GAHAV,KAAKiB,UAAY+U,IAAUhW,KAAKkB,iBAAmBqC,IAG/CvD,KAAKe,SAAY,MAAOiV,GAAQhW,KAAK0M,OAAO,GAAK1M,IAChD,IAAGA,KAAKgB,WAAahB,KAAKW,SAAY,MAAOX,KAElD,IASCoW,GAAgBC,EAAyBC,EATtC/U,EAAOyU,EAAQ,OAAS,OAC3BjU,EAAO/B,KAAKH,QAAQ0B,GAEpBoG,GADY3H,KAAKH,QAAUmW,EAAiB,OAAT,QACtBhW,KAAKH,QAAQsD,UAC1BoT,EAAiBvW,KAAKH,QAAQmC,QAC9BqI,EAAQrK,KAAKC,QAAQ2J,IAAI,SACzBmJ,EAAU/S,KAAKC,QAAQmU,GAAG,YAC1BoC,EAAUR,GAAgC,IAAvBjU,EAAKnC,OAAO+B,OAC/B8U,GAAc/V,GAASqB,EAAKnC,OAAO+B,OAAS,GAAKlB,EAAMb,OAAO,KAAOc,EAAMd,MAa5E,cATWoW,IAAOU,OAAO,oBAAqBV,GAASjD,GAGvDqD,GAAkBnW,EAAQmU,GAAG,cAAgBrB,IAAYiD,GAASS,EAGlEJ,EAASD,EAA+ClW,IAA5BF,KAAKmO,SAAS5M,GAAO,KAG9CvB,KAAKgB,UAAoBhB,MAGzBqW,IAAUzV,GAASoV,GAAShW,KAAK2W,MAAMjW,IAGtC2V,GAASD,EAAyBpW,MAGtCN,EAAEK,KAAKE,EAAQ,GAAI,eAAkB+V,GAGlCA,GAEFhW,KAAKiN,QAAUxM,EAAM+S,OAAS9T,EAAEgB,MAAMyV,IAAInW,KAAKiN,QAG5CvN,EAAEgC,WAAW6U,EAAetU,OAASjC,KAAK6N,eAAe0I,EAAetU,KAAMrB,GAC9ElB,EAAEgC,WAAW6U,EAAetT,QAAUjD,KAAK2N,aAAa4I,EAAetT,MAAOrC,IAG7E6J,GAAuC,UAAtB9C,EAAW/H,QAAsB+H,EAAWqF,OAAOC,QACvEvN,EAAER,GAAU0X,KAAK,aAAavW,EAAWL,KAAK6W,aAC9CpM,EAAgBlH,GAIb8G,GAASpK,EAAQ2J,IAAI,QAAS3J,EAAQuS,WAAW5R,IACrDZ,KAAKgH,WAAWtG,EAAO8G,UAAU,IAC7B6C,GAASpK,EAAQ2J,IAAI,QAAS,IAG7B7H,EAAKuG,OACa,gBAAdvG,GAAKuG,KAAoB5I,EAAEqC,EAAKuG,MAAQ5I,EAAE2G,EAAUtE,EAAKuG,OAC/DwO,IAAI7W,GAAS6W,IAAI/U,EAAKnC,QAAQH,KAAK,OAAQC,EAAEqX,MAAM,kBAKtDhR,aAAa/F,KAAKM,OAAOgD,YAGlB7C,GAAM+S,OAGV/I,IAAkB/K,EAAE2G,EAAS,4BAA6BtE,EAAKuG,MAAMwO,IAAI7W,GAAS0B,SACpFjC,EAAER,GAAU8X,OAAO,aAAa3W,GAChCoK,EAAgB7J,GAIjBZ,KAAKiX,KAAKvW,IAIX4V,EAAQ5W,EAAEgG,MAAM,WACZsQ,GAECrK,GAAQC,IAAM3L,EAAQ,GAAGyD,MAAMkR,gBAAgB,UAGlD3U,EAAQ2J,IAAI,WAAY,IAGrB,gBAAoB7H,GAAKmV,WAC3BxX,EAAEM,KAAKH,QAAQyD,KAAK4T,UAAWjX,GAAS0W,QAIzC3W,KAAKH,QAAQyD,KAAK1D,OAAOuX,QAAQ,QAAQnX,KAAKF,GAAG,cAIjDG,EAAQ2J,KACPyH,QAAS,GACTC,WAAY,GACZqD,QAAS,GACT9B,KAAM,GACNC,IAAK,KAKP9S,KAAKmO,SAAS6H,EAAQ,UAAY,WAChChW,MAGA+B,EAAKoQ,SAAWvR,GAAS4V,IAAY5V,GACvCX,EAASsB,KACT+U,KAIO5W,EAAEgC,WAAWK,EAAKoQ,SACzBlS,EAAQuO,KAAK,EAAG,GAChBzM,EAAKoQ,OAAOxM,KAAK1F,EAASD,MAC1BC,EAAQwU,MAAM,KAAM,SAAS2C,GAC5Bd,IAASc,OAKJnX,EAAQoX,OAAO,GAAIrB,EAAQ,EAAI,EAAGM,GAGtCN,GAASjU,EAAKnC,OAAOuX,QAAQ,QAAQnX,KAAKF,GAAG,aAEzCE,QAGRuK,EAAUjH,KAAO,SAAS5C,GAAS,MAAOV,MAAKgG,OAAOzC,EAAM7C,IAE5D6J,EAAU9G,KAAO,SAAS/C,GAAS,MAAOV,MAAKgG,OAAOpF,EAAOF,IAC5D6J,EAAUoM,MAAQ,SAASjW,GAC3B,IAAIV,KAAKe,UAAYf,KAAKgB,UAAa,MAAOhB,KAE9C,IAAIsX,GAAQ5X,EAAE2G,GACbpG,EAAUD,KAAKC,QACfsX,EAAWC,SAASvX,EAAQ,GAAGyD,MAAM+T,OAAQ,IAC7CC,EAAWpQ,EAAKqQ,OAASL,EAAM3V,MAyBhC,OArBI1B,GAAQ4F,SAAS2F,IAEjBxL,KAAKmO,SAAS,SAAUuJ,GAAWhX,KAElC6W,IAAaG,IAEfJ,EAAM1T,KAAK,WACP5D,KAAK0D,MAAM+T,OAASF,IACtBvX,KAAK0D,MAAM+T,OAASzX,KAAK0D,MAAM+T,OAAS,KAK1CH,EAAMM,OAAO,IAAMpM,GAAa/L,KAAK,OAAQiB,IAI9CT,EAAQiQ,SAAS1E,GAAa,GAAG9H,MAAM+T,OAASC,GAI3C1X,MAGRuK,EAAU0M,KAAO,SAASvW,GACzB,OAAIV,KAAKe,UAAYf,KAAKgB,UAAoBhB,MAG9CA,KAAKC,QAAQgQ,YAAYzE,GAGzBxL,KAAKmO,SAAS,QAAUnO,KAAKC,QAAQ2J,IAAI,WAAalJ,GAE/CV,OAEPuK,EAAUsN,QAAU,SAAS7B,GAC7B,MAAGhW,MAAKgB,UAAoBhB,MAGf,WAAVgW,EACFA,IAAUhW,KAAKe,SAAWf,KAAKC,QAAQ4F,SAASC,GAAkB9F,KAAKW,UAIhE,iBAAqBqV,KAC5BA,EAAQzS,GAGNvD,KAAKe,UACPf,KAAKC,QAAQsN,YAAYzH,EAAgBkQ,GACvCjW,KAAK,gBAAiBiW,GAGzBhW,KAAKW,WAAaqV,EAEXhW,OAGRuK,EAAUuN,OAAS,WAAa,MAAO9X,MAAK6X,QAAQjX,IACnD2J,EAAUqD,cAAgB,WAE1B,GAAIjB,GAAO3M,KACVG,EAAWH,KAAKG,SAChBF,EAAUE,EAASF,QACnBiD,EAASlD,KAAKH,QAAQmC,QAAQkB,OAC9B6U,EAA6B,gBAAX7U,GAClB8U,EAAQD,EAAW7U,EAAS,eAE1B/C,GAAS+C,QAAU/C,EAAS+C,OAAOwL,SAIrCvO,EAAS+C,OADPA,EAAOtB,OACSsB,EAGAxD,EAAE,SACnBoN,QAAS,eAAiB9M,KAAKH,QAAQ6D,MAAMqO,OAAS,GAAK1R,EAAU,SACrE4C,MAAS+U,EACTC,aAAcD,IAEdE,QACAxY,EAAE,YACDoN,QAAS,wBACTyE,KAAQ,aAMXpR,EAAS+C,OAAOsK,SAASrN,EAAS2R,UAAY7R,GAC5CF,KAAK,OAAQ,UACboY,MAAM,SAASzX,GAEf,MADIT,GAAQ4F,SAASC,IAAmB6G,EAAKlJ,KAAK/C,GAC3CE,KAIV2J,EAAUmF,cAAgB,SAASxM,GAGlC,IAAIlD,KAAKe,SAAY,MAAOH,EAE5B,IAAI8G,GAAO1H,KAAKG,SAAS+C,MACtBA,GAAUlD,KAAK4N,gBACXlG,EAAKgH,UAQbnE,EAAUuD,WAAa,WAEtB,GAAIsK,GAAKpY,KAAKH,QAAQ6D,MAAMqO,OAC3B5R,EAAWH,KAAKG,SAChBF,EAAUE,EAASF,QACnBU,EAAWV,EAAQ4F,SAASC,EAE7B7F,GAAQgQ,YAAYnK,GACpBA,EAAiBsS,EAAK,oBAAsB,gBAC5CnY,EAAQsN,YAAYzH,EAAgBnF,GAEpCV,EAAQsN,YAAY,mBAAmBtI,IAAqBmT,GAAI7K,YAAYhC,EAAevL,KAAKH,QAAQ6D,MAAM2U,MAAQD,GAEnHjY,EAAS6B,SACX7B,EAAS6B,QAAQuL,YAAatI,EAAkB,WAAYmT,GAE1DjY,EAAS2R,UACX3R,EAAS2R,SAASvE,YAAatI,EAAkB,UAAWmT,GAE1DjY,EAAS+C,QACX/C,EAAS+C,OAAOqK,YAAYlN,EAAU,SAAU+X,IAgFlD7N,EAAUsM,YAAc,SAASnW,GAEhC,OADCV,KAAKiN,MAAQvN,EAAEgB,MAAMyV,IAAIzV,IAAQa,KAAO,YAClCvB,MAIRuK,EAAU+N,MAAQ,SAASC,EAASpR,EAAQC,EAAQoR,EAAQ9V,GAC3D,GAAI6V,GAAYnR,GAAWD,EAAOxF,OAAlC,CACA,GAAI8W,GAAK,IAAMzY,KAAKI,KAAOoY,EAAS,IAAIA,EAAS,GAKjD,OAJA9Y,GAAE6Y,GAAS3B,MACTzP,EAAO9C,MAAQ8C,EAASA,EAAO9B,KAAKoT,EAAK,MAAQA,EAClD/Y,EAAEgG,MAAM0B,EAAQ1E,GAAW1C,OAErBA,OAERuK,EAAUmO,QAAU,SAASH,EAASC,GAErC,MADAD,IAAW7Y,EAAE6Y,GAASvB,OAAO,IAAMhX,KAAKI,KAAOoY,EAAS,IAAIA,EAAS,KAC9DxY,MAcRuK,EAAU4D,SAAW,SAAS5M,EAAMiD,EAAM9D,GACzC,GAAI6E,GAAW7F,EAAEqX,MAAM,UAAUxV,EAOjC,OANAgE,GAASoT,cAAiBjY,GAAShB,EAAE+C,UAAW/B,IAAWV,KAAKS,MAAMC,OAASR,EAE/EF,KAAKoB,WAAaG,EAClBvB,KAAKC,QAAQkX,QAAQ5R,GAAWvF,MAAMoF,OAAOZ,QAC7CxE,KAAKoB,WAAaR,GAEV2E,EAASqT,sBAGlBrO,EAAUsO,YAAc,SAASC,EAAYC,EAAYC,EAAaC,EAAarT,EAAYK,GAE9F,GAAIiT,GAAiBF,EAAYpB,OAAQqB,GAAchD,IAAKgD,EAAYrB,OAAOoB,IAC9EG,IAGED,GAAevX,SAGjBjC,EAAEkE,KAAKmV,EAAY,SAAS7U,EAAG3C,GAC9B,GAAI6X,GAAY1Z,EAAE2Z,QAAQ9X,EAAMuX,EAIhCM,GAAY,IAAMD,EAAapU,KAAM+T,EAAWQ,OAAQF,EAAW,GAAI,MAIrED,EAAaxX,SAEf3B,KAAKsY,MAAMY,EAAgBC,EAAc,SAASzY,GACjD,GAAIsV,GAAQhW,KAAKe,SAAWf,KAAKC,QAAQ,GAAG8G,YAAc,GAAI,GAC7DiP,EAAQ/P,EAAaL,GAAYD,KAAK3F,KAAMU,KAI9CsY,EAAcA,EAAYlC,IAAIoC,GAC9BD,EAAcA,EAAYnC,IAAIoC,KAKhClZ,KAAKsY,MAAMU,EAAaF,EAAYlT,GACpC5F,KAAKsY,MAAMW,EAAaF,EAAY9S,IAGrCsE,EAAUgP,qBAAuB,SAAS7Y,GA+BzC,QAAS8Y,GAAY9Y,GAEpB,MAAGV,MAAKW,UAAYX,KAAKgB,UAAoBJ,GAG7CZ,KAAKS,MAAMC,MAAQA,GAAShB,EAAEgB,MAAMyV,IAAIzV,GACxCV,KAAKS,MAAMb,OAASc,GAAShB,EAAEgB,EAAMd,QAGrCmG,aAAa/F,KAAKM,OAAOgD,WACzBtD,KAAKM,OAAOgD,KAAOgC,EAAMK,KAAK3F,KAC7B,WAAaA,KAAK0M,OAAwB,gBAAVhM,IAAsBb,EAAQyD,KAAKE,QACnE3D,EAAQ4Z,UAAY,EAAI5Z,EAAQyD,KAAKgC,SA1CvC,GAAIzF,GAAUG,KAAKH,QAClB6Z,EAAa7Z,EAAQyD,KAAK1D,OAC1B+Z,EAAa9Z,EAAQ4D,KAAK7D,OAC1BkZ,EAAajZ,EAAQyD,KAAK5C,MAAQhB,EAAEka,KAAK,GAAK/Z,EAAQyD,KAAK5C,OAAO2D,MAAM,QACxE0U,EAAalZ,EAAQ4D,KAAK/C,MAAQhB,EAAEka,KAAK,GAAK/Z,EAAQ4D,KAAK/C,OAAO2D,MAAM,OAGzErE,MAAKsY,MAAMtY,KAAKG,SAASP,QAAS,SAAU,cAAe,WAC1DI,KAAKoO,SAAQ,IACX,WAMA,qBAAqB5H,KAAK3G,EAAQyD,KAAK5C,SAAW,oBAAoB8F,KAAK3G,EAAQ4D,KAAK/C,QAC1FqY,EAAWhU,KAAK,cAQjB/E,KAAKsY,MAAMoB,EAAY,YAAa,SAAShZ,GAC5CV,KAAK6W,YAAYnW,GACjBV,KAAKS,MAAMoZ,SAAWtW,IAqBvBvD,KAAK6Y,YAAYC,EAAYC,EAAYW,EAAYC,EAAYH,EAAa,WAC7E,MAAIxZ,MAAKM,WACTyF,cAAa/F,KAAKM,OAAOgD,MADC1C,KAKxBf,EAAQyD,KAAKE,OAAS3D,EAAQ4Z,YAAaD,EAAY7T,KAAK3F,KAAMU,IAItE6J,EAAU2D,cAAgB,WACzB,GAAIvB,GAAO3M,KACVH,EAAUG,KAAKH,QACf8H,EAAa9H,EAAQsD,SAErBlD,EAAUD,KAAKC,QACfyZ,EAAa7Z,EAAQyD,KAAK1D,OAC1B+Z,EAAa9Z,EAAQ4D,KAAK7D,OAC1Bka,EAAkBnS,EAAWU,UAC7B0R,EAAiBpS,EAAWY,SAC5ByR,EAAiBta,EAAER,GAEnB+a,GADava,EAAER,EAASmI,MACT3H,EAAET,IAEjB6Z,EAAajZ,EAAQyD,KAAK5C,MAAQhB,EAAEka,KAAK,GAAK/Z,EAAQyD,KAAK5C,OAAO2D,MAAM,QACxE0U,EAAalZ,EAAQ4D,KAAK/C,MAAQhB,EAAEka,KAAK,GAAK/Z,EAAQ4D,KAAK/C,OAAO2D,MAAM,OAIzE3E,GAAEkE,KAAK/D,EAAQsH,OAAQ,SAASa,EAAMzC,GACrCoH,EAAK2L,MAAMrY,EAAkB,WAAT+H,GAAqB,cAAc,gBAAkB,UAAUA,GAAOzC,EAAU,KAAMtF,KAIxG,oBAAoBuG,KAAK3G,EAAQ4D,KAAK/C,QAAiC,WAAvBb,EAAQ4D,KAAKyW,OAC/Dla,KAAKsY,MAAM0B,GAAiB,WAAY,QAAS,SAAStZ,GACrD,gBAAgB8F,KAAK9F,EAAMd,OAAOua,WAAczZ,EAAMwF,eACzDlG,KAAKyD,KAAK/C,KAMVb,EAAQ4D,KAAK8C,MACfoT,EAAaA,EAAW1D,IAAKhW,EAAQiQ,SAAS5E,IAOvC,qBAAqB9E,KAAK3G,EAAQyD,KAAK5C,QAC9CV,KAAKsY,MAAMqB,EAAY,aAAc,WACpC5T,aAAa/F,KAAKM,OAAOgD,SAKvB,GAAKzD,EAAQ4D,KAAK/C,OAAO0Z,QAAQ,WAAa,IACjDpa,KAAKsY,MAAMwB,EAAgB1T,QAAQ,SAAU,YAAa,cAAe,SAAS1F,GACjF,GAAIgH,GAAOhI,EAAEgB,EAAMd,QAClBya,EAAUra,KAAKe,WAAaf,KAAKC,QAAQ4F,SAASC,IAAmB9F,KAAKC,QAAQ,GAAG8G,YAAc,EACnGuT,EAAa5S,EAAK6S,QAAQlU,GAAUuR,OAAO5X,KAAKC,QAAQ,IAAI0B,OAAS,CAEnE+F,GAAK,KAAO1H,KAAKJ,OAAO,IAAM8H,EAAK,KAAO1H,KAAKC,QAAQ,IAAOqa,GAC/Dta,KAAKJ,OAAOsW,IAAIxO,EAAK,IAAI/F,SAAU0Y,GAEpCra,KAAKyD,KAAK/C,KAMV,gBAAoBb,GAAQ4D,KAAKoD,WAEnC7G,KAAKsY,MAAMoB,EAAY,QAAQ1Z,KAAKF,GAAG,YAAa8G,EAAgB,YAGpE5G,KAAKsY,MAAMqB,EAAW1D,IAAIhW,GAAUqH,EAAKkT,eAAgB5T,IAI1D5G,KAAK6Y,YAAYC,EAAYC,EAAYW,EAAYC,EAAY/T,EAAYK,GAG7EjG,KAAKsY,MAAMoB,EAAWzD,IAAIhW,GAAU,YAAa,SAASS,GAEzD,GAAG,gBAAoBb,GAAQ4D,KAAK8P,SAAU,CAC7C,GAAIC,GAASxT,KAAKS,MAAM+S,WACvBiH,EAAQza,KAAKH,QAAQ4D,KAAK8P,SAC1BmH,EAAM5Q,KAAK4Q,KAGTA,EAAIha,EAAM+S,MAAQD,EAAOC,QAAUgH,GAASC,EAAIha,EAAMmT,MAAQL,EAAOK,QAAU4G,IACjFza,KAAKyD,KAAK/C,GAKZV,KAAK6W,YAAYnW,KAIO,UAAtBiH,EAAW/H,QAEV+H,EAAWqF,OAAOC,QAEjBpN,EAAQ4D,KAAK/C,OAEfV,KAAKsY,MAAMoB,GAAa,aAAc,cAAe,SAAShZ,GAC7D,MAAIV,MAAKS,WACTT,KAAKS,MAAMoZ,SAA0B,eAAfnZ,EAAMa,MADJX,IAM1BZ,KAAKsY,MAAM0B,EAAgB,YAAa,SAAStZ,GAE7CV,KAAKe,UAAYf,KAAKS,MAAMoZ,WAAa7Z,KAAKC,QAAQ4F,SAASC,IAAmB9F,KAAKC,QAAQ,GAAG8G,YAAc,GAClH/G,KAAKgH,WAAWtG,OAOjBiH,EAAWqF,OAAO2N,QAAUZ,EAAepY,SAC7C3B,KAAKsY,MAAO5Y,EAAEgB,MAAMka,QAAQD,OAASZ,EAAiBE,EAAc,SAAUnT,GAI5Ea,EAAWqF,OAAO8H,QACpB9U,KAAKsY,MAAO2B,EAAahE,IAAItO,EAAWU,WAAY,SAAUvB,IAKhEyD,EAAU0D,gBAAkB,WAC3B,GAAIpO,GAAUG,KAAKH,QAClBmZ,EAAcnZ,EAAQyD,KAAK1D,OAC3BqZ,EAAcpZ,EAAQ4D,KAAK7D,OAC3B2Y,EAAU7Y,EAAEmb,MACX7a,KAAKG,SAASP,OAAO,GACrBI,KAAKe,UAAYf,KAAKC,QAAQ,GAC9BJ,EAAQsD,SAASkF,UAAU,GAC3BxI,EAAQsD,SAASoF,SAAS,GAC1B1I,EAAQsD,SAASkF,UAAUjC,QAAQ,QAAQ,GAC3CnH,EACAC,GACE,SAASgF,GACX,MAAoB,gBAANA,IAIb8U,IAAeA,EAAY8B,UAC7BvC,EAAUA,EAAQnT,OAAO4T,EAAY8B,YAEnC7B,GAAeA,EAAY6B,UAC7BvC,EAAUA,EAAQnT,OAAO6T,EAAY6B,YAItC9a,KAAK0Y,QAAQH,GACXG,QAAQH,EAAS,WACjBG,QAAQH,EAAS,aAIpB7Y,EAAE,WACDuH,EAASZ,GAAW,aAAc,cAAe,SAAS3F,GACzD,GAAIsV,GAAuB,eAAftV,EAAMa,KACjBtB,EAAUP,EAAEgB,EAAMqa,eAClBnb,EAASF,EAAEgB,EAAMwF,eAAiBxF,EAAMd,QACxCC,EAAUG,KAAKH,OAGbmW,IAEFhW,KAAK2W,MAAMjW,GAGXT,EAAQ4F,SAASyF,KAAiBrL,EAAQ4F,SAASC,IAAmBC,aAAa/F,KAAKM,OAAOmD,OAMhE,UAA5B5D,EAAQsD,SAASvD,QAAsBC,EAAQsD,SAAS6J,OAAOC,OACjEpN,EAAQ4D,KAAK/C,OAASb,EAAQyD,KAAK1D,SAAWA,EAAOwG,QAAQvG,EAAQyD,KAAK1D,OAAO,IAAI+B,QACrF3B,KAAKyD,KAAK/C,GAKZT,EAAQsN,YAAY9B,EAAauK,KAIlC/O,EAAS,IAAIM,EAAQ,IAAK8D,EAAiBzE,KAsF5CU,EAAO5H,EAAEF,GAAGC,KAAO,SAASI,EAASmE,EAAUgX,GAE9C,GAAIC,IAAW,GAAKpb,GAAS4Q,cAC5ByK,EAAWhb,EACXsE,EAAO9E,EAAEyb,UAAU3T,WAAW2B,MAAM,GACpCzI,EAAQ8D,EAAKA,EAAK7C,OAAS,GAC3BI,EAAO/B,KAAK,GAAKN,EAAEwI,KAAKlI,KAAK,GAAIK,GAAaH,CAG/C,QAAKsH,UAAU7F,QAAUI,GAAqB,QAAZkZ,EAC1BlZ,EAIA,gBAAoBlC,IAC3BG,KAAK4D,KAAK,WACT,GAAItB,GAAM5C,EAAEwI,KAAKlI,KAAMK,EACvB,KAAIiC,EAAO,MAAOiB,EAMlB,IAHG7C,GAASA,EAAM0a,YAAa9Y,EAAI7B,MAAMC,MAAQA,IAG9CsD,GAAyB,WAAZiX,GAAoC,YAAZA,EAWhC3Y,EAAI2Y,IACX3Y,EAAI2Y,GAASjW,MAAM1C,EAAKkC,OAZuC,CAC/D,GAAGwW,IAAa7b,IAAaO,EAAEsD,cAAcgB,GAK5C,MADAkX,GAAW5Y,EAAIkO,IAAIxM,GACZpD,CAJP0B,GAAIO,IAAImB,EAAUgX,MAcdE,IAAahb,EAAOgb,EAAWlb,MAI/B,gBAAoBH,IAAY2H,UAAU7F,OAA7C,QAEJI,EAAOD,EAAgBpC,EAAE+C,OAAOc,KAAU1D,IAEnCG,KAAK4D,KAAK,SAASM,GACzB,GAAI5B,GAAKxC,CAQT,OALAA,GAAKJ,EAAE0T,QAAQrR,EAAKjC,IAAMiC,EAAKjC,GAAGoE,GAAKnC,EAAKjC,GAC5CA,GAAMA,GAAMA,IAAOc,GAASd,EAAG6B,OAAS,GAAK2F,EAAKhF,IAAIxC,GAAMwH,EAAK4H,SAAWpP,EAG5EwC,EAAMmF,EAAK/H,EAAEM,MAAOF,EAAIiC,GACrBO,IAAQ1B,EAAgB2C,GACpB+D,EAAKhF,IAAIxC,GAAMwC,EAGtB5C,EAAEkE,KAAKC,EAAS,WACQ,eAApB7D,KAAKgO,YAA+BhO,KAAKsC,SAI7CA,GAAIiX,qBAAqB7Y,QAM5BhB,EAAED,KAAOE,EAGT2H,EAAKhF,OACJ5C,EAAEkE,MAEF7D,KAAM,SAASA,EAAMwJ,GACpB,GAAGvJ,KAAK2B,OAAQ,CACf,GAAIgL,GAAO3M,KAAK,GACfiD,EAAQ,QACRX,EAAM5C,EAAEwI,KAAKyE,EAAM,OAEpB,IAAG5M,IAASkD,GAASX,GAAO,gBAAoBA,IAAOA,EAAIzC,QAAQ+I,SAClE,MAAGpB,WAAU7F,OAAS,EACdjC,EAAEK,KAAK4M,EAAM7D,KAIlBxG,GAAOA,EAAIzC,QAAQmC,QAAQjC,OAASkD,GAASX,EAAI7B,MAAMV,MACzDuC,EAAIO,IAAI,eAAgB0G,GAIlBvJ,KAAKD,KAAK+I,GAAUS,IAI7B,MAAO7J,GAAEF,GAAG,OAAOkM,GAAe1G,MAAMhF,KAAMwH,YAI/CuO,MAAO,SAASsF,GACf,GAGAC,IAHa5b,MAGLA,EAAEF,GAAG,QAAQkM,GAAe1G,MAAMhF,KAAMwH,WAUhD,OAPI6T,IACHC,EAAM1D,OAAO,IAAI9O,GAAS,KAAK/I,KAAK,QAAS,WAC5C,MAAOL,GAAEK,KAAKC,KAAM8I,MAEpBD,WAAWC,IAGNwS,IAEN,SAAStT,EAAMuT,GACjB,IAAIA,GAAQ7b,EAAEF,GAAGwI,EAAK0D,GAAkB,MAAOnI,EAE/C,IAAIiY,GAAM9b,EAAEF,GAAGwI,EAAK0D,GAAiBhM,EAAEF,GAAGwI,EAC1CtI,GAAEF,GAAGwI,GAAQ,WACZ,MAAOuT,GAAKvW,MAAMhF,KAAMwH,YAAcgU,EAAIxW,MAAMhF,KAAMwH,cAQpD9H,EAAE+b,KACL/b,EAAE,YAAYgM,GAAiBhM,EAAEgc,UACjChc,EAAEgc,UAAY,SAAUJ,GACvB,IAAI,GAAW5T,GAAPxD,EAAI,GAAUwD,EAAOhI,EAAG4b,EAAMpX,KAAMvC,OAAQuC,IACnD,GAAGwD,EAAK3H,KAAK4I,GACZ,IAAMjB,EAAKiU,eAAe,cAC1B,MAAOhV,IAGTjH,EAAE,YAAYgM,GAAe1G,MAAMhF,KAAMwH,aAI3CF,EAAKsU,QAAU,YAGftU,EAAK4H,OAAS,EAGd5H,EAAKkT,eAAiBnP,EAGtB/D,EAAKqQ,OAAS,KAGdrQ,EAAKc,UACJqR,UAAW7Y,EACXd,GAAIc,EACJ8H,UAAWnF,EACXqF,SAAUrF,EACVvB,SACCC,KAAMsB,EACNxD,KAAM,QACNkD,MAAOrC,EACPsC,OAAQtC,GAETuC,UACCC,GAAI,WACJC,GAAI,eACJzD,OAAQgB,EACRyH,UAAWzH,EACX2H,SAAU3H,EACVoM,QACCqG,EAAG,EAAGC,EAAG,EACTrG,MAAO1J,EACPuR,OAAQvR,EACRoX,OAAQpX,EACR6D,OAAQ,yBAET+K,OAAQ,SAAS7P,EAAKuS,GACrBnV,EAAEM,MAAMwW,QAAQ3B,GACfrP,SAAU,IACViP,MAAO7T,MAIV0C,MACC1D,OAAQgB,EACRF,MAAO,aACPyR,OAAQ5O,EACR+B,MAAO,GACPgD,KAAM1H,EACN4C,MAAO5C,EACPsW,UAAWtW,GAEZ6C,MACC7D,OAAQgB,EACRF,MAAO,aACPyR,OAAQ5O,EACR+B,MAAO,EACPiB,MAAO3F,EACPiG,SAAUjG,EACVsZ,MAAO,SACP3G,SAAU3S,GAEX8C,OACCC,QAAS,GACToO,OAAQnR,EACRyJ,MAAOzJ,EACP0J,OAAQ1J,EACRyX,IAAK9U,GAEN4D,QACCuF,OAAQxM,EACR2b,KAAM3b,EACNoD,KAAMpD,EACNuD,KAAMvD,EACN8F,OAAQ9F,EACR6S,QAAS7S,EACT4b,OAAQ5b,EACRyW,MAAOzW,EACP+W,KAAM/W,GAGP,IAAI6b,IAMLC,GAAS,SACTC,GAAS,SACTC,GAAQ,QACRC,GAAW,mBACXC,GAAc,cACdC,GAAY,cAGZC,KAAcpd,EAAS4M,cAAc,UAAUyQ,WAG/CC,GAAU,8CAUN7S,MAAeD,IAAe,SAAU,IAAK,MAAO,KAuBxD,IAAI4S,GASH,GAAIG,IAAcxd,EAAOyd,kBAAoB,EAC5CC,GAAuB,WACtB,GAAIja,GAAUxD,EAAS4M,cAAc,UAAUyQ,WAAW,KAC1D,OAAO7Z,GAAQka,wBAA0Bla,EAAQma,8BAAgCna,EAAQoa,2BACvFpa,EAAQqa,0BAA4Bra,EAAQsa,yBAA2B,KAE1EC,GAAQR,GAAcE,OAdvB,IAAIO,IAAY,SAASC,EAAK1T,EAAO/F,GACpC,MAAO,YAAYyZ,EAAI,4DAA4D1T,GAAO,IACzF,yCAAyC/F,GAAO,IAAK,OA0BxDhE,GAAE+C,OAAOwH,EAAIqC,WACZ7E,KAAM,SAAShI,GACd,GAAIiD,GAAS0a,CAGbA,GAAMpd,KAAKmR,QAAU1R,EAAKU,SAASid,IAAM1d,EAAE,WAAaoN,QAASzM,EAAU,SAAUgd,UAAU5d,EAAKQ,SAGjGqc,IAEF5Z,EAAUhD,EAAE,cAAc8N,SAASxN,KAAKmR,SAAS,GAAGoL,WAAW,MAG/D7Z,EAAQ4a,SAAW,QACnB5a,EAAQ6a,WAAa,IACrB7a,EAAQ8a,SAGR9a,EAAUwa,GAAU,QAAS,oBAAqB,sBAClDld,KAAKmR,QAAQI,KAAK7O,EAAUA,GAG5BjD,EAAK6Y,MAAO5Y,EAAE,IAAK0d,GAAKnH,IAAImH,IAAO,QAAS,aAAc,SAAS1c,GAASA,EAAM+c,mBAAsBzd,KAAKkK,MAI9GzK,EAAK6Y,MAAM7Y,EAAKQ,QAAS,cAAeD,KAAKgH,WAAYhH,KAAKkK,IAAKlK,MAGnEA,KAAK0d,UAGNC,gBAAiB,WAChB3d,KAAKoK,KAAK,GAAKpK,KAAKH,QAAQyK,OAC5BtK,KAAKoK,KAAK,GAAKpK,KAAKH,QAAQwK,OAE7BuT,iBAAkB,WACjB5d,KAAKoK,KAAK,GAAKpK,KAAKH,QAAQwK,MAC5BrK,KAAKoK,KAAK,GAAKpK,KAAKH,QAAQyK,QAG7BuT,UAAW,SAASpI,GACnB,GAAI3D,GAAW9R,KAAKP,KAAKU,SAAS2R,QAClC,OAAOA,KACN2D,EAAOnC,IAAMxI,GAAQ2K,EAAOnC,IAAMpI,GAAUlL,KAAKmR,QAAQhO,WAAW2P,IAAO9S,KAAKoK,KAAK,GAAK,EAAKpK,KAAKH,QAAQsK,OAAS2H,EAASY,YAAYnP,KAI5Iua,aAAc,SAASrI,GACtB,GAAIrS,GAAKpD,KAAKP,KAAKI,QAAQsD,SAASC,EAcpC,OAXGqS,KAAW7U,GAASwC,IAAOxC,EAC7B6U,EAAS7U,EAEF6U,IAAWlS,EAClBkS,EAAS,GAAIhN,GAAQrF,EAAGwN,UAEhB6E,EAAO7E,SACf6E,EAAS,GAAIhN,GAAOgN,GACpBA,EAAOlP,MAAQhD,GAGTkS,GAGRsI,YAAa,SAAStI,EAAQuI,EAAMC,GACnC,GAAI9d,GAAWH,KAAKP,KAAKU,SACxBkJ,EAAO4S,GAASlT,EAAMiV,GAAQ,OAE/B,QAAQC,EAAMpU,EAAOoU,EAAK5U,GACzBQ,EAAO1J,EAAS6B,QAASqH,IACzBQ,EAAO7J,KAAK6d,UAAUpI,IAAWtV,EAAS2R,UAAY3R,EAAS6B,QAASqH,IACxEQ,EAAO1J,EAASF,QAASoJ,KACpB,GAGP6U,aAAc,SAASzI,GACtB,GAAItV,GAAWH,KAAKP,KAAKU,SACxBkJ,EAAO4S,GAASlT,EAAM0M,EAAOnC,GAAKvK,EAAM0M,EAAOpC,GAAK,QAErD,OAAO1H,IAAQC,GAAK,EAAI,EACvB/B,EAAO7J,KAAK6d,UAAUpI,IAAWtV,EAAS2R,UAAY3R,EAAS6B,QAASqH,IACxEQ,EAAO1J,EAASF,QAASoJ,IAAS,GAGpC8U,eAAgB,SAASzW,EAAM2B,EAAM+U,GACpC,GAAI7U,GAAM7B,EAAKkC,IAAIP,EACnB,QAAQE,GAAQ6U,GAAW7U,IAAQ7B,EAAKkC,IAAIwU,IAAa5B,GAAQhW,KAAK+C,GAAO3I,EAAQ2I,GAGtF8U,cAAe,SAAS5I,GACvB,GAAItV,GAAWH,KAAKP,KAAKU,SACxBid,EAAMpd,KAAKmR,QAAQvH,IAAI,UAAW,IAClC0U,EAAarC,GAASlT,EAAM0M,EAAQA,EAAO9E,aAAgB5H,EAAMmT,IACjEqC,EAAYve,KAAK6d,UAAUpI,IAAWtV,EAAS2R,UAAY3R,EAAS6B,QACpE4H,EAAM5J,KAAKme,eAAgBK,IAa5B,OAVAA,GAAM,GAAK5U,EAAIwT,EAAKjB,KAAavS,EAAI2U,EAAWpC,KAAavS,EAAIzJ,EAAS6B,QAASma,KAClFvS,EAAIzJ,EAASF,QAASkc,KAAaiB,EAAIxT,IAAIuS,IAG5CqC,EAAM,GAAK5U,EAAIwT,EAAKkB,EAAYpC,KAAUtS,EAAI2U,EAAWD,EAAYpC,KACpEtS,EAAIzJ,EAAS6B,QAASsc,EAAYpC,KAAUtS,EAAIzJ,EAASF,QAASqe,EAAYpC,KAAU/b,EAASF,QAAQ2J,IAAI0U,GAG9G5e,EAAE,IAAK0d,GAAKnH,IAAImH,GAAKxT,IAAI,UAAWuS,GAAS,IAAIC,GAAYC,GAAU,IAAIJ,GAAO,KAAKI,GAAU,KAE1FmC,GAGRC,eAAgB,SAAShJ,GACxB,GAOCiJ,GAAQC,EAAOjO,EAPZ4C,EAAImC,EAAO9E,aAAehG,EAC7BN,EAAQrK,KAAKH,QAAe,MAC5ByK,EAAStK,KAAKH,QAAgB,OAC9B+e,EAA+B,MAApBnJ,EAAOvD,SAClB2M,GAAQvL,EAAIjJ,EAAOC,IAAWsU,EAAW,GAAM,GAC/CE,EAAMhV,KAAKgV,IACXC,EAAQjV,KAAKiV,MAGdC,EAAWlV,KAAKmV,KAAMH,EAAID,EAAM,GAAKC,EAAIxU,EAAQ,IACjD4U,GAASlf,KAAKmf,OAASN,EAAQG,EAAWhf,KAAKmf,OAAS7U,EAAU0U,EASlE,OAPAE,GAAI,GAAKpV,KAAKmV,KAAMH,EAAII,EAAI,GAAI,GAAKJ,EAAI9e,KAAKmf,OAAQ,IACtDD,EAAI,GAAKpV,KAAKmV,KAAMH,EAAII,EAAI,GAAI,GAAKJ,EAAI9e,KAAKmf,OAAQ,IAEtDT,EAASM,EAAWE,EAAI,GAAKA,EAAI,IAAMN,EAAW,EAAIM,EAAI,IAC1DP,EAAQD,EAASM,EAEjBtO,GAAWqO,EAAMJ,EAAQtU,GAAQ0U,EAAMJ,EAAQrU,IACxCgJ,EAAI5C,EAASA,EAAO0O,WAI5BC,cAAe,SAAS5J,EAAQrL,EAAMkV,GACrCA,EAAQA,GAAS,EACjBlV,EAAOA,GAAQpK,KAAKoK,IAEpB,IAAIC,GAAQD,EAAK,GAAKkV,EACrBhV,EAASF,EAAK,GAAKkV,EACnBC,EAASzV,KAAKC,KAAKM,EAAQ,GAAImV,EAAU1V,KAAKC,KAAKO,EAAS,GAG7DmV,GACCC,IAAK,EAAE,EAAIrV,EAAMC,EAAQD,EAAM,GAC/BsV,IAAK,EAAE,EAAItV,EAAM,EAAI,EAAEC,GACvBsV,IAAK,EAAEtV,EAAQD,EAAM,EAAIA,EAAMC,GAC/BuV,IAAK,EAAE,EAAI,EAAEvV,EAASD,EAAMC,GAC5BwV,IAAK,EAAExV,EAAQiV,EAAO,EAAIlV,EAAMC,GAChCyV,IAAK,EAAE,EAAI1V,EAAM,EAAIkV,EAAOjV,GAC5B0V,IAAK,EAAE,EAAI3V,EAAMmV,EAAS,EAAElV,GAC5B2V,IAAK5V,EAAM,EAAGA,EAAMC,EAAQ,EAAEkV,GAO/B,OAHAC,GAAKS,GAAKT,EAAKC,GAAID,EAAKU,GAAKV,EAAKE,GAClCF,EAAKW,GAAKX,EAAKG,GAAIH,EAAKY,GAAKZ,EAAKI,GAE3BJ,EAAMhK,EAAOvD,WAIrBoO,YAAa,SAAS5d,EAAS6d,GAC9B7d,EAAQ8d,YACR9d,EAAQ+d,OAAOF,EAAO,GAAIA,EAAO,IACjC7d,EAAQge,OAAOH,EAAO,GAAIA,EAAO,IACjC7d,EAAQge,OAAOH,EAAO,GAAIA,EAAO,IACjC7d,EAAQie,aAGTjD,OAAQ,WAEP,GAAIjc,GAAIzB,KAAKyV,QAAU6G,IAAa3Q,GAAQC,KAAO5L,KAAK8d,aAAa9d,KAAKH,QAAQ4V,OAclF,QAXKzV,KAAKqa,UAAYra,KAAKyV,QAAmC,MAAzBzV,KAAKyV,OAAOvD,YAEhDlS,KAAKP,KAAKgB,MAAMgV,OAAShU,EAAEsU,QAG3B/V,KAAK4gB,UAIN5gB,KAAKmR,QAAQnL,OAAOhG,KAAKqa,SAElBra,KAAKyV,QAGbmL,OAAQ,SAASnL,EAAQtS,GACxB,IAAInD,KAAKqa,QAAW,MAAOra,KAE3B,IAOCwe,GAAO7N,EAAYjO,EACnB6d,EAAQM,EAAWC,EAAWC,EAAS5B,EARpChf,EAAWH,KAAKP,KAAKU,SACxBid,EAAMpd,KAAKmR,QACX6P,EAAQ5D,EAAI6D,WACZphB,EAAUG,KAAKH,QACfqhB,EAAUlhB,KAAKoK,KACf+W,EAAQthB,EAAQshB,MAChBpC,EAAQjV,KAAKiV,KAKVtJ,KAAUA,EAASzV,KAAKP,KAAKgB,MAAMgV,QAAUzV,KAAKyV,QAGnD0L,IAAUvgB,EAASugB,EAAQ1L,GAI7B0L,EAAQ,GAAI1Y,GAAO0Y,GACnBA,EAAMxQ,WAAa8E,EAAO9E,WAEX,YAAZwQ,EAAM9N,EAAmB8N,EAAM9N,EAAIoC,EAAOpC,EACzB,YAAZ8N,EAAM7N,EAAmB6N,EAAM7N,EAAImC,EAAOnC,EAC1C6N,EAAM9N,IAAM8N,EAAM7N,IACzB6N,EAAO1L,EAAO9E,YAAe8E,EAAQA,EAAO9E,cAG9CA,EAAawQ,EAAMxQ,WAGhB8E,EAAO9E,aAAejG,EAAK1K,KAAK2d,kBAC5B3d,KAAK4d,mBAGZY,EAAQxe,KAAKwe,MAAQxe,KAAKqe,cAAc5I,GAGrC+I,EAAM,KAAOpC,IAEf+C,EAASnf,KAAKmf,OAASnf,KAAK+d,YAAYtI,EAAQA,EAAOA,EAAO9E,aAG3D9Q,EAAQsf,QAAmB,EAATA,IAAe3C,GAAQhW,KAAKgY,EAAM,MAAOA,EAAM,GAAKA,EAAM,IAG/Exe,KAAKmf,OAASA,EAAStf,EAAQsf,SAAW5b,EAAO1D,EAAQsf,OAASA,GAI5Dnf,KAAKmf,OAASA,EAAS,EAG9B4B,EAAU/gB,KAAKoK,KAAOpK,KAAKye,eAAehJ,GAC1C2H,EAAIxT,KACHS,MAAO0W,EAAQ,GACfzW,OAAQyW,EAAQ,GAChBK,WAAYL,EAAQ,GAAG,OAKvBD,EADErL,EAAO9E,aAAehG,GAEvBoU,EAAMoC,EAAM9N,IAAMtI,EAAOoU,EAASgC,EAAM9N,IAAMpI,EAAQ8V,EAAQ,GAAKG,EAAQ,GAAK/B,GAAU4B,EAAQ,GAAKG,EAAQ,IAAM,GACrHnC,EAAMoC,EAAM7N,IAAMxI,EAAMiW,EAAQ,GAAKG,EAAQ,GAAK,KAKlDnC,EAAMoC,EAAM9N,IAAMtI,EAAOgW,EAAQ,GAAKG,EAAQ,GAAK,GACnDnC,EAAMoC,EAAM7N,IAAMxI,EAAMqU,EAASgC,EAAM7N,IAAMtI,EAAS+V,EAAQ,GAAKG,EAAQ,GAAK/B,GAAU4B,EAAQ,GAAKG,EAAQ,IAAM,IAKpH5E,IAEF5Z,EAAUse,EAAM,GAAGzE,WAAW,MAC9B7Z,EAAQ2e,UAAW3e,EAAQ8a,OAC3B9a,EAAQ4e,UAAU,EAAE,EAAE,IAAK,KAG3Bf,EAASvgB,KAAKqf,cAAc8B,EAAOD,EAASjE,IAC5C4D,EAAY7gB,KAAKqf,cAAc8B,EAAOnhB,KAAKoK,KAAM6S,IAGjD+D,EAAMjhB,KAAK6K,EAAOmW,EAAQ,GAAK9D,IAAOld,KAAK8K,EAAQkW,EAAQ,GAAK9D,IAChE+D,EAAMpX,IAAIgB,EAAOmW,EAAQ,IAAInX,IAAIiB,EAAQkW,EAAQ,IAGjD/gB,KAAKsgB,YAAY5d,EAASme,GAC1Bne,EAAQ6e,UAAY/C,EAAM,GAC1B9b,EAAQ8e,OAGR9e,EAAQoe,UAAUA,EAAU,GAAK7D,GAAO6D,EAAU,GAAK7D,IACvDjd,KAAKsgB,YAAY5d,EAAS6d,GAC1B7d,EAAQ6e,UAAY/C,EAAM,GAC1B9b,EAAQ8e,SAMRjB,EAASvgB,KAAKqf,cAAc8B,GAG5BZ,EAAS,IAAMA,EAAO,GAAK,IAAMA,EAAO,GAAK,KAAOA,EAAO,GAC1D,IAAMA,EAAO,GAAK,IAAMA,EAAO,GAAK,IAAMA,EAAO,GAAK,MAGvDO,EAAU,GAAK3B,GAAU,UAAU3Y,KAAKiP,EAAO7E,UAC/B,IAAfjF,GAAQC,GAAW,EAAI,EAAI,EAG5BoV,EAAMpX,KACL6X,UAAYV,EAAQ,GAAG5B,EAAU,KAAO4B,EAAQ,GAAG5B,GACnDuC,UAAW,IAAIP,EAAMvQ,SAASwJ,QAAQlP,GAAU,IAChD2H,KAAMiO,EAAU,GAAMA,EAAU,GAAKa,OAAOhR,IAAejG,GAC3DoI,IAAKgO,EAAU,GAAMA,EAAU,GAAKa,OAAOhR,IAAehG,GAC1DN,MAAO0W,EAAQ,GAAK5B,EACpB7U,OAAQyW,EAAQ,GAAK5B,IAErBvb,KAAK,SAASM,GACd,GAAI0d,GAAQliB,EAAEM,KAGd4hB,GAAOA,EAAMvY,KAAO,OAAS,SAC5BoY,UAAYV,EAAQ,GAAG5B,EAAU,KAAO4B,EAAQ,GAAG5B,GACnD0C,KAAMtB,EACNuB,UAAWtD,EAAM,GACjBuD,SAAU7d,EACV8d,SAAU9d,IAEV8B,UAAUmZ,IAAUjb,KAGpBA,GAAK0d,EAAMrQ,KAAM2L,GACjB,SAAU,WAAmB,EAAPiC,EAAU,cAAcX,EAAM,GAAG,6CAO1Dvf,EAAOgjB,OAASxc,WAAW,WAC1BtF,EAASid,IAAIxT,KACZyH,QAAS,eACTC,WAAY,aAEX,GAGAnO,IAAavC,GAASZ,KAAKkiB,UAAUzM,EAAQsL,IAGjDmB,UAAW,SAASzM,EAAQrL,GAC3B,IAAIpK,KAAKqa,QAAW,MAAOzZ,EAE3B,IAMC+P,GAAYwR,EANTxV,EAAO3M,KACVG,EAAWH,KAAKP,KAAKU,SACrBid,EAAMpd,KAAKmR,QACXiR,EAAapiB,KAAKH,QAAQsK,OAE1BhH,GADWhD,EAASF,QAAQ4F,SAAS,gBAsCtC,OAjCA4P,GAASA,GAAUzV,KAAKyV,OACxB9E,EAAa8E,EAAO9E,WAGpBvG,EAAOA,GAAQpK,KAAKye,eAAehJ,GAGnC0M,GAAY1M,EAAOpC,EAAGoC,EAAOnC,GAC1B3C,IAAejG,GAAKyX,EAAQ/C,UAG/B1f,EAAEkE,KAAKue,EAAS,SAASje,EAAG8Z,GAC3B,GAAIqE,GAAGtC,EAAIL,CAER1B,KAAS9S,GACXmX,EAAI1R,IAAehG,EAAII,EAAOD,EAC9B3H,EAAUkf,GAAM,MAChBlf,EAAS6Y,GAAO,IAAMqG,IAAMvY,KAAKiV,MAAM3U,EAAMuG,IAAehG,EAAI,EAAI,GAAM,GAAKyX,IAG/EC,EAAI1V,EAAKoR,YAAYtI,EAAQuI,EAAM7d,EAASF,SAC5C8f,EAAKpT,EAAKoR,YAAYtI,EAAQuI,EAAM7d,EAAS6B,SAC7C0d,EAAK/S,EAAKuR,aAAazI,GAEvBtS,EAAU6a,GAASlU,KAAKwY,KAAK3V,EAAKwS,OAAQjb,EAAI6b,EAAMqC,GAAc1C,EAAK2C,EAAI3C,GAAM2C;GAKnFlf,EAAUsS,EAAO9E,KAAiBvG,EAAMuG,IAAejG,EAAI,EAAI,GAG/D0S,EAAIxT,KAAM2Y,OAAQ,GAAIzP,IAAK,GAAI0P,OAAQ,GAAI3P,KAAM,GAAI4P,MAAO,KAAM7Y,IAAIzG,GAC/DA,GAGR6D,WAAY,SAAStG,EAAO4B,EAAKuS,GAYhC,QAAS6N,GAAUC,EAAWhS,EAAYiS,EAAW5E,EAAM6E,GAEvDF,IAAcvX,GAAS0X,EAAUnS,aAAeA,GAAc3D,EAAOgR,IAAS8E,EAAUF,KAAe1X,EACzG4X,EAAUnS,WAAamS,EAAUnS,aAAejG,EAAIC,EAAID,EAEjDiY,IAAcvX,GAAS4B,EAAOgR,KACrC8E,EAAUnS,GAAcmS,EAAUnS,KAAgBzF,EAChD8B,EAAOgR,GAAQ,EAAIA,EAAO6E,EAAaC,EAAUnS,KAAgBqN,EAAO6E,EAAW7E,GAIvF,QAAS+E,GAAUC,EAAIhF,EAAM6E,GACzBC,EAAUE,KAAQ9X,EACpBtB,EAAIoS,GAAO,IAAIgC,GAAQiF,EAAMD,GAAM7Y,EAAO6R,GAAO,IAAIgC,GAAQhR,EAAOgR,IAGpEvU,EAAQU,EAAO0Y,KAAc1jB,GAC1B6N,EAAOgR,IAAQ7T,EAAO6T,MAAahR,EAAOgR,GAAO7T,EAAO6T,KAEtDiF,EAAMD,GAAMlZ,KAAKwY,IAAI7Y,EAAM,GAAIA,EAAM,KAAOA,EAAM,KACtDoL,EAAImJ,IAAShR,EAAOgR,GACpBiF,EAAMjF,GAAQpd,GAGfgJ,EAAKO,EAAO0Y,KAAc1jB,EAAY0jB,EAAW7E,GAASiF,EAAMD,IAnClE,GAAIhjB,KAAKqa,QAAT,CAEA,GAOClQ,GAAkBV,EAPfhJ,EAAQ6B,EAAI7B,MACfqiB,EAAY9iB,KAAKyV,OAAOM,QACxB/I,EAAS6H,EAAIxC,SACbjL,EAAS9E,EAAIzC,QAAQsD,SAAS6J,OAAO5F,OAAO/C,MAAM,KAClD6e,EAAa9b,EAAO,GACpB+b,EAAW/b,EAAO,IAAMA,EAAO,GAC/B6b,GAAUpQ,KAAMjS,EAAOkS,IAAKlS,EAAOyS,EAAG,EAAGC,EAAG,GACpC1J,IA+BN5J,MAAKyV,OAAOlP,QAAUhD,IAExBmf,EAAUQ,EAAYxY,EAAGC,EAAGI,EAAME,GAClCyX,EAAUS,EAAUxY,EAAGD,EAAGI,EAAKE,IAG5B8X,EAAUlS,WAAanQ,EAAMgV,OAAO7E,UAAYnQ,EAAM2iB,YAAcpW,EAAO8F,KAAOrS,EAAM4iB,aAAerW,EAAO6F,OAChH7S,KAAK4gB,OAAOkC,EAAWliB,IAKzBuJ,EAASnK,KAAKkiB,UAAUY,GAGrB3Y,EAAOsY,QAAUtjB,IAAagL,EAAO0I,MAAQ1I,EAAOsY,OACpDtY,EAAOqY,SAAWrjB,IAAagL,EAAO2I,KAAO3I,EAAOqY,QACvDrY,EAAOmZ,KAAOtjB,KAAKmK,QAGhB8Y,EAAMpQ,KAAQqQ,IAAe9X,KAAW4B,EAAO6F,OAASkQ,EAAUrY,EAAGK,EAAME,IAC3EgY,EAAMnQ,IAAOqQ,IAAa/X,KAAW4B,EAAO8F,MAAQiQ,EAAUpY,EAAGG,EAAKE,GAOzEhL,KAAKmR,QAAQvH,IAAIA,GAAK5D,SAClBid,EAAM5P,GAAK4P,EAAM3P,GAAOwP,EAAUzP,IAAMnI,GAAU+X,EAAM3P,GAAOwP,EAAUxP,IAAMpI,GAAU+X,EAAM5P,IAInGwB,EAAIhC,MAAQ1I,EAAO0I,KAAK5J,OAASkB,EAAOmZ,KACvCJ,IAAe9X,GAAS6X,EAAMnQ,MAAQmQ,EAAMpQ,OAASoQ,EAAMnQ,IAAM3I,EAAO0I,KAAO7S,KAAKmf,OAAS,EAC9FtK,EAAI/B,KAAO3I,EAAO2I,IAAI7J,OAASkB,EAAOmZ,KACrCH,IAAa/X,GAAS6X,EAAMpQ,OAASoQ,EAAMpQ,OAASoQ,EAAMnQ,IAAM3I,EAAO2I,IAAM9S,KAAKmf,OAAS,EAG5F1e,EAAM4iB,WAAarW,EAAO6F,KAAMpS,EAAM2iB,UAAYpW,EAAO8F,IACzDrS,EAAMgV,OAASqN,EAAU/M,UAG1B3H,QAAS,WAERpO,KAAKP,KAAKiZ,QAAQ1Y,KAAKP,KAAKQ,QAASD,KAAKkK,KAGvClK,KAAKP,KAAKU,SAASid,KACrBpd,KAAKP,KAAKU,SAASid,IAAI3O,KAAK,KAC1BC,SAASC,MAAMD,YAKpBqN,GAAMlY,EAAQuZ,IAAM,SAAS9a,GAC5B,MAAO,IAAI2H,GAAI3H,EAAKA,EAAIzC,QAAQ6D,MAAM0Z,MAIvCrB,GAAI/N,WAAa,SAGjB+N,GAAIjY,SAAW,SAASjE,GACvB,GAAGA,EAAQ6D,OAAS,OAAS7D,GAAQ6D,MAAO,CAC3C,GAAI3B,GAAOlC,EAAQ6D,MAAM0Z,GACN,iBAATrb,KAAqBA,EAAOlC,EAAQ6D,MAAM0Z,KAAQ3H,OAAQ1T,IAChE,kBAAoByE,WAAYzE,GAAK0T,UAAW1T,EAAK0T,OAASlS,KAKpEiH,EAAO4S,KACNmG,gDAAiD,WAEhDvjB,KAAK0d,SAGL1d,KAAKP,KAAKuH,cAEXwc,6BAA8B,SAASvf,GAEtCjE,KAAKoK,MAASnG,EAAIoG,MAAOpG,EAAIqG,QAC7BtK,KAAK4gB,SAGL5gB,KAAKP,KAAKuH,cAEXyc,yCAA0C,WACzCzjB,KAAK4gB,WAKPlhB,EAAE+C,OAAOc,EAAM+D,EAAKc,UACnB1E,OACC0Z,KACC3H,OAAQlS,EACR4d,MAAOvgB,EACPyJ,MAAO,EACPC,OAAQ,EACR6U,OAAQ5b,EACR4G,OAAQ,MAIVtG,EAAQ0E,SAAW,SAASjG,EAAKa,EAAUwE,EAAYgL,EAAaC,EAAc8Q,EAAWC,GAkC7F,QAASzB,GAAUlE,EAAM4F,EAAWriB,EAAMyL,EAAQ6W,EAAOC,EAAOC,EAAYC,EAAcC,GACzF,GAAIC,GAAa/gB,EAAS0gB,GACzBM,EAAS/gB,EAAG4a,GACZoG,EAAS/gB,EAAG2a,GACZqG,EAAU9iB,IAAS6J,EACnBkZ,EAAWH,IAAWN,EAAQI,EAAaE,IAAWL,GAASG,GAAcA,EAAa,EAC1FM,EAAWH,IAAWP,EAAQG,EAAeI,IAAWN,GAASE,GAAgBA,EAAe,EAChGQ,EAAaC,EAAeZ,GAASa,EAAeb,IAAUc,EAAkB,EAAIC,EAAgBf,IACpGgB,EAAYL,EAAaN,EACzBY,EAAYZ,EAAaD,GAAcF,IAAenZ,EAAQma,EAAgBC,GAAkBR,EAChGra,EAASma,GAAYlhB,EAAGuN,aAAeqN,GAAQmG,IAAW/gB,EAAGwgB,GAAaW,EAAW,IAAMH,IAAWlZ,EAAS8Y,EAAe,EAAI,EAgDnI,OA7CGK,IACFla,GAAUga,IAAWN,EAAQ,EAAI,IAAMS,EAGvCnhB,EAAS0gB,IAAUgB,EAAY,EAAIA,EAAYC,EAAY,GAAKA,EAAY,EAC5E3hB,EAAS0gB,GAAS/Z,KAAKwY,KACrBsC,EAAgBf,GAASa,EAAeb,GACzCK,EAAa/Z,EACbL,KAAKmb,IACJnb,KAAKwY,KACHsC,EAAgBf,GAASa,EAAeb,IAAUE,IAAenZ,EAAQma,EAAgBC,GAC1Fd,EAAa/Z,GAEdhH,EAAS0gB,GAGE,WAAXM,EAAsBD,EAAaI,EAAW,QAShDtX,GAAWzL,IAAS4J,EAAa,EAAI,EAGlC0Z,EAAY,IAAMV,IAAWN,GAASiB,EAAY,IACpD3hB,EAAS0gB,IAAU1Z,EAAS6C,EAC5BkY,EAAMtP,OAAOoI,EAAM6F,IAIZiB,EAAY,IAAMX,IAAWL,GAASe,EAAY,KACzD1hB,EAAS0gB,KAAWM,IAAWjZ,GAAUf,EAASA,GAAU6C,EAC5DkY,EAAMtP,OAAOoI,EAAM8F,IAIjB3gB,EAAS0gB,GAASY,IAAmBthB,EAAS0gB,GAASiB,IACzD3hB,EAAS0gB,GAASK,EAAYgB,EAAQ9hB,EAAG2S,UAIpC5S,EAAS0gB,GAASK,EA1F1B,GAYC3d,GAAO2e,EAAON,EAAiBD,EAC/BI,EAAeC,EAAgBP,EAAgBC,EAb5C9kB,EAAS+H,EAAW/H,OACvBK,EAAUqC,EAAInC,SAASF,QACvBmD,EAAKuE,EAAWvE,GAChBC,EAAKsE,EAAWtE,GAChB2J,EAASrF,EAAWqF,OACpB5F,EAAS4F,EAAO5F,OAAO/C,MAAM,KAC7B8gB,EAAU/d,EAAO,GACjBge,EAAUhe,EAAO,IAAMA,EAAO,GAC9BmB,EAAWZ,EAAWY,SACtBF,EAAYV,EAAWU,UAEvBgK,GADQ/P,EAAI7B,OACCoS,KAAM,EAAGC,IAAK,GAK5B,OAAIvK,GAAS3G,QAAUhC,EAAO,KAAOX,GAAUW,EAAO,KAAOV,EAASmI,MAA0B,SAAlB2F,EAAO5F,QAKrFwd,EAAkBvc,EAAU8B,UAAYkI,EACxCsS,EAAgD,WAA9Btc,EAAUuB,IAAI,YAGhCrD,EAAoC,UAA5BtG,EAAQ2J,IAAI,YACpBmb,EAAgBxc,EAAS,KAAOtJ,EAASsJ,EAAS8B,QAAU9B,EAASiK,WAAW5R,GAChFokB,EAAiBzc,EAAS,KAAOtJ,EAASsJ,EAAS+B,SAAW/B,EAASmK,YAAY9R,GACnF6jB,GAAmB5R,KAAMtM,EAAQ,EAAIgC,EAASwL,aAAcjB,IAAKvM,EAAQ,EAAIgC,EAAS0L,aACtFyQ,EAAiBnc,EAAS4B,UAAYkI,GAiEvB,UAAZ8S,GAAmC,UAAZC,KAAuBF,EAAQ9hB,EAAG2S,SAG5D1D,GACCQ,KAAkB,SAAZsS,EAAqBjD,EAAWxX,EAAGC,EAAGwa,EAASnY,EAAOqG,EAAGtI,EAAME,EAAOL,EAAO+H,EAAa+Q,GAAc,EAC9G5Q,IAAiB,SAAZsS,EAAqBlD,EAAWvX,EAAGD,EAAG0a,EAASpY,EAAOsG,EAAGxI,EAAKE,EAAQH,EAAQ+H,EAAc+Q,GAAe,EAChHvgB,GAAI8hB,IAnFG7S,MAyFNpT,OAAQC"} \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/languages/gce-ca.mo b/wp-content/plugins/google-calendar-events/languages/gce-ca.mo deleted file mode 100644 index aa49c38..0000000 Binary files a/wp-content/plugins/google-calendar-events/languages/gce-ca.mo and /dev/null differ diff --git a/wp-content/plugins/google-calendar-events/languages/gce-ca.po b/wp-content/plugins/google-calendar-events/languages/gce-ca.po deleted file mode 100644 index e3b96d9..0000000 --- a/wp-content/plugins/google-calendar-events/languages/gce-ca.po +++ /dev/null @@ -1,1859 +0,0 @@ -# Copyright (C) 2010 Google Calendar Events -# This file is distributed under the same license as the Google Calendar Events package. -msgid "" -msgstr "" -"Project-Id-Version: Google Calendar Events 0.7.1\n" -"Report-Msgid-Bugs-To: https://github.com/pderksen/WP-Google-Calendar-Events/" -"issues\n" -"POT-Creation-Date: 2015-08-31 09:04:08+00:00\n" -"PO-Revision-Date: 2015-04-02 12:10+0100\n" -"Last-Translator: Toni Ginard \n" -"Language-Team: LANGUAGE \n" -"Language: ca\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.5.4\n" - -#: class-google-calendar-events-admin.php:138 -#: class-google-calendar-events-admin.php:139 -#: class-google-calendar-events-admin.php:235 -#: includes/register-settings.php:68 -msgid "General Settings" -msgstr "Opcions" - -#. Plugin Name of the plugin/theme -msgid "Google Calendar Events" -msgstr "Calendaris del Google" - -#: class-google-calendar-events-admin.php:236 -msgid "Feeds" -msgstr "Calendaris" - -#: class-google-calendar-events-admin.php:254 -#: class-google-calendar-events-admin.php:289 -#, fuzzy -msgid "Add Calendar" -msgstr "Graella de calendari" - -#: class-google-calendar-events-admin.php:290 -msgid "Add a calendar feed to your post." -msgstr "" - -#: class-google-calendar-events-admin.php:300 -#, fuzzy -msgid "Insert Calendar" -msgstr "ID del calendari" - -#: class-google-calendar-events-admin.php:302 -msgid "Could not find any calendars to add to this post." -msgstr "" - -#: class-google-calendar-events-admin.php:303 -#, fuzzy -msgid "Please add a new calendar feed first." -msgstr "Assegureu-vos que l'ID del calendari és correcte." - -#: class-google-calendar-events.php:162 -msgid "Loading..." -msgstr "S'està carregant..." - -#: google-calendar-events.php:34 -msgid "" -"Google Events Calendar requires PHP %1$s and WordPress %2$s to function " -"properly. PHP version found: %3$s. WordPress installed version: %4$s. Please " -"upgrade to meet the minimum requirements." -msgstr "" - -#: includes/admin/admin-functions.php:20 -msgid "Cache has been cleared for this feed." -msgstr "S'ha buidat la memòria cau d'aquest calendari" - -#: includes/admin/admin-functions.php:35 includes/admin/admin-functions.php:56 -msgid "Starts:" -msgstr "Comença:" - -#: includes/admin/admin-functions.php:36 includes/admin/admin-functions.php:58 -msgid "Ends:" -msgstr "Acaba:" - -#: includes/admin/admin-functions.php:37 includes/admin/admin-functions.php:60 -msgid "Location:" -msgstr "Ubicació:" - -#: includes/admin/admin-functions.php:38 includes/admin/admin-functions.php:61 -msgid "Description:" -msgstr "Descripció:" - -#: includes/admin/admin-functions.php:39 -msgid "More details..." -msgstr "Més detalls..." - -#: includes/admin/admin-functions.php:63 -msgid "More Details" -msgstr "Més detalls" - -#: includes/admin/admin-functions.php:77 includes/gce-feed-cpt.php:328 -#: includes/gce-feed-cpt.php:381 -msgid "Clear Cache" -msgstr "Buida la memòria cau" - -#: includes/admin/admin-notice.php:26 -msgid "GCal API Key Notice" -msgstr "Avís de la clau de l'API" - -#: includes/admin/admin-notice.php:28 -msgid "" -"GCal Events uses the Google Calendar API version 3. By default this plugin " -"uses a public shared key across all plugin users." -msgstr "" -"Aquesta extensió utilitza la versió 3 de l'API de Google. Per defecte, " -"aquesta extensió utilitza una clau pública compartida amb tots els usuaris " -"de l'extensió." - -#: includes/admin/admin-notice.php:30 -msgid "" -"This key is limited to 500,000 requests per day and 5 requests per second. " -"To avoid running into any potential limits you can use your own Google API " -"key." -msgstr "" -"Aquesta clau està limitada a 500.000 peticions per dia i a 5 peticions per " -"segon. Per evitar els possibles problemes introduïts per aquests límits, " -"podeu utilitzar la vostra pròpia clau de l'API de Google." - -#: includes/admin/admin-notice.php:33 -msgid "Enter your GCal API key" -msgstr "Introduïu la vostra clau de l'API de Google" - -#: includes/admin/admin-notice.php:34 -msgid "Configure GCal feeds" -msgstr "Configuració dels calendaris" - -#: includes/admin/admin-notice.php:35 -msgid "Hide this" -msgstr "Amaga això" - -#: includes/class-gce-display.php:193 includes/class-gce-display.php:303 -msgid "Back" -msgstr "Anterior" - -#: includes/class-gce-display.php:197 includes/class-gce-display.php:304 -#: includes/class-gce-display.php:310 includes/php-calendar.php:61 -#: includes/php-calendar.php:63 -msgid "Next" -msgstr "Següent" - -#: includes/class-gce-display.php:309 includes/php-calendar.php:55 -#: includes/php-calendar.php:57 -msgid "Previous" -msgstr "" - -#: includes/class-gce-display.php:406 -msgid "No events to display." -msgstr "No hi ha cap esdeveniment per mostrar." - -#: includes/class-gce-event.php:555 -msgid "%s year" -msgstr "%s any" - -#: includes/class-gce-event.php:555 -msgid "%s years" -msgstr "%s anys" - -#: includes/class-gce-event.php:556 -msgid "%s month" -msgstr "%s mes" - -#: includes/class-gce-event.php:556 -msgid "%s months" -msgstr "%s mesos" - -#: includes/class-gce-event.php:557 -msgid "%s week" -msgstr "%s setmana" - -#: includes/class-gce-event.php:557 -msgid "%s weeks" -msgstr "%s setmanes" - -#: includes/class-gce-event.php:558 -msgid "%s day" -msgstr "%s dia" - -#: includes/class-gce-event.php:558 -msgid "%s days" -msgstr "%s dies" - -#: includes/class-gce-event.php:559 -msgid "%s hour" -msgstr "%s hora" - -#: includes/class-gce-event.php:559 -msgid "%s hours" -msgstr "%s hores" - -#: includes/class-gce-event.php:560 -msgid "%s min" -msgstr "%s minut" - -#: includes/class-gce-event.php:560 -msgid "%s mins" -msgstr "%s minuts" - -#: includes/class-gce-feed.php:94 -msgid "" -"The Google Calendar ID has not been set. Please make sure to set it " -"correctly in the Feed settings." -msgstr "" -"No s'ha indicat l'ID del calendari. Si us plau, assegureu-vos d'introduir-lo " -"correctament als paràmetres del calendari" - -#: includes/class-gce-feed.php:226 -msgid "" -"Some data was retrieved, but could not be parsed successfully. Please ensure " -"your feed settings are correct." -msgstr "" -"S'han recuperat algunes dades, però no s'han pogut processar correctament. " -"Assegureu-vos de què els paràmetres del calendari són correctes." - -#: includes/class-gce-feed.php:229 -msgid "An error has occured." -msgstr "S'ha produït un error" - -#: includes/class-gce-feed.php:234 -msgid " Please ensure your calendar ID is correct." -msgstr "Assegureu-vos que l'ID del calendari és correcte." - -#: includes/gce-feed-cpt.php:21 -msgid "Google Calendar Feeds" -msgstr "Calendaris del Google" - -#: includes/gce-feed-cpt.php:22 includes/gce-feed-cpt.php:24 -#: includes/gce-feed-cpt.php:72 -msgid "Feed" -msgstr "Calendari" - -#: includes/gce-feed-cpt.php:23 -msgid "GCal Events" -msgstr "Google Calendar" - -#: includes/gce-feed-cpt.php:25 -msgid "Add New" -msgstr "Afegeix" - -#: includes/gce-feed-cpt.php:26 -msgid "Add New Feed" -msgstr "Afegeix un calendari nou" - -#: includes/gce-feed-cpt.php:27 -msgid "New Feed" -msgstr "Afegeix un calendari nou" - -#: includes/gce-feed-cpt.php:28 -msgid "Edit Feed" -msgstr "Edita el calendari" - -#: includes/gce-feed-cpt.php:29 -msgid "View Feed" -msgstr "Mostra el calendari" - -#: includes/gce-feed-cpt.php:30 -msgid "All GCal Feeds" -msgstr "Tots els calendaris" - -#: includes/gce-feed-cpt.php:31 -msgid "Search GCal Feeds" -msgstr "Cerca als calendaris" - -#: includes/gce-feed-cpt.php:32 -msgid "No feeds found." -msgstr "No s'ha trobat cap calendari." - -#: includes/gce-feed-cpt.php:33 -msgid "No feeds found in Trash." -msgstr "No s'ha trobat cap calendari a la paperera" - -#: includes/gce-feed-cpt.php:70 -msgid "feed" -msgstr "calendari" - -#: includes/gce-feed-cpt.php:75 includes/gce-feed-cpt.php:76 -msgid "%4$s updated. %1$sView %2$s%3$s" -msgstr "%4$s actualitzat. %1$sMostra %2$s%3$s" - -#: includes/gce-feed-cpt.php:77 -msgid "%4$s published. %1$sView %2$s%3$s" -msgstr "%4$s publicat. %1$sMostra %2$s%3$s" - -#: includes/gce-feed-cpt.php:78 -msgid "%4$s saved. %1$sView %2$s%3$s" -msgstr "%4$s desat. %1$sMostra %2$s%3$s" - -#: includes/gce-feed-cpt.php:79 -msgid "%4$s submitted. %1$sView %2$s%3$s" -msgstr "%4$s tramès. %1$sMostra %2$s%3$s" - -#: includes/gce-feed-cpt.php:80 -msgid "%4$s draft updated. %1$sView %2$s%3$s" -msgstr "%4$s esborrany actualitzat. %1$sMostra %2$s%3$s" - -#: includes/gce-feed-cpt.php:95 -msgid "Feed Settings" -msgstr "Paràmetres del calendari" - -#: includes/gce-feed-cpt.php:97 -msgid "Resources" -msgstr "" - -#: includes/gce-feed-cpt.php:98 -msgid "Display Options" -msgstr "Opcions de visualització" - -#: includes/gce-feed-cpt.php:269 -msgid "Feed ID" -msgstr "ID del calendari" - -#: includes/gce-feed-cpt.php:270 views/admin/gce-feed-meta-display.php:79 -msgid "Feed Shortcode" -msgstr "Codi curt" - -#: includes/gce-feed-cpt.php:271 -msgid "Display Type" -msgstr "Tipus de visualització" - -#: includes/gce-feed-cpt.php:306 -msgid "Grid" -msgstr "Graella" - -#: includes/gce-feed-cpt.php:308 views/admin/gce-feed-meta-display.php:155 -#: views/widgets.php:274 -msgid "List" -msgstr "Llista" - -#: includes/gce-feed-cpt.php:310 views/admin/gce-feed-meta-display.php:156 -#: views/widgets.php:275 -msgid "Grouped List" -msgstr "Llista agrupada" - -#: includes/gce-feed-cpt.php:312 -#, fuzzy -msgid "Custom Date Range" -msgstr "Utilitza un rang de dates personalitzat" - -#: includes/gce-feed-cpt.php:469 -#, fuzzy -msgid "Feed cache cleared." -msgid_plural "Cleared cache for %s feeds." -msgstr[0] "S'han esborrat les dades antigues de la memòria cau" -msgstr[1] "S'han esborrat les dades antigues de la memòria cau" - -#: includes/register-settings.php:29 -msgid "Google API Key" -msgstr "Clau de l'API de Google" - -#: includes/register-settings.php:30 -msgid "" -"If left blank all displayed Google calendars will use a public Google API " -"key shared across all plugin users." -msgstr "" -"Si es deixa buit, els calendaris utilitzaran una clau pública compartida amb " -"tots els usuaris d'aquesta extensió." - -#: includes/register-settings.php:31 -msgid "" -"Currently the shared key is limited to 500,000 requests per day and 5 " -"requests per second." -msgstr "" -"La clau compartida està limitada a 500.000 peticions diàries i a 5 peticions " -"per segon." - -#: includes/register-settings.php:32 -msgid "" -"To avoid these limits click here for " -"instructions on how to generate and use your own Google API key." -msgstr "" -"Per evitar aquests límits podeu generar una clau pròpia. Trobareu " -"instruccions sobre com fer-ho en aquesta " -"pàgina." - -#: includes/register-settings.php:39 -msgid "Always Enqueue Scripts & Styles" -msgstr "" - -#: includes/register-settings.php:40 -msgid "Enqueue this plugin's scripts and styles on every post and page." -msgstr "" - -#: includes/register-settings.php:41 -msgid "Useful if using shortcodes in widgets or other non-standard locations." -msgstr "" - -#: includes/register-settings.php:46 -msgid "Disable Plugin CSS" -msgstr "" - -#: includes/register-settings.php:47 -msgid "" -"If this option is checked, this plugin's CSS file will not be referenced." -msgstr "" - -#: includes/register-settings.php:52 -msgid "Save Settings" -msgstr "Paràmetres de desament" - -#: includes/register-settings.php:53 -#, fuzzy -msgid "Save your settings when uninstalling this plugin." -msgstr "" -"Manté els paràmetres a la base de dades quan es desinstal·li aquesta " -"extensió. Això és útil en actualitzar i en tornar a instal·lar." - -#: includes/register-settings.php:54 -#, fuzzy -msgid "Useful when upgrading or re-installing." -msgstr "" -"Manté els paràmetres a la base de dades quan es desinstal·li aquesta " -"extensió. Això és útil en actualitzar i en tornar a instal·lar." - -#: includes/register-settings.php:182 -msgid "" -"The callback function used for the %s setting is missing." -msgstr "" -"No es pot trobar la funció de retorn utilitzada pel paràmetre %s." - -#: includes/shortcodes.php:97 -msgid "" -"There was a problem with one or more of your feed IDs. Please check your " -"shortcode settings and make sure they are correct." -msgstr "" -"S'ha produït un problema amb un o més dels ID dels calendaris. Comproveu els " -"paràmetres dels codis curts i assegureu-vos de què són correctes" - -#: views/admin/display-options-meta.php:39 -msgid "" -"Check this box to use the simple display options below instead of the Event " -"Builder code on the left." -msgstr "" -"Marqueu aquesta casella per utilitzar les opcions de visualització simple en " -"lloc del codi del \"constructor d'esdeveniments\" que apareix a l'esquerra." - -#: views/admin/display-options-meta.php:44 -msgid "Start date / time display" -msgstr "Data i hora d'inici" - -#: views/admin/display-options-meta.php:45 -msgid "Select how to display the start date / time." -msgstr "Indiqueu com s'han de mostrar la data i l'hora d'inici." - -#: views/admin/display-options-meta.php:47 -#: views/admin/display-options-meta.php:61 -msgid "None" -msgstr "Cap" - -#: views/admin/display-options-meta.php:48 -msgid "Start time" -msgstr "Hora d'inici" - -#: views/admin/display-options-meta.php:49 -msgid "Start date" -msgstr "Data d'inici" - -#: views/admin/display-options-meta.php:50 -msgid "Start time and date" -msgstr "Hora i data d'inici" - -#: views/admin/display-options-meta.php:51 -msgid "Start date and time" -msgstr "Data i hora d'inici" - -#: views/admin/display-options-meta.php:53 -msgid "Text to display before the start time." -msgstr "Text a mostrar abans de l'hora d'inici." - -#: views/admin/display-options-meta.php:58 -msgid "End time/date display" -msgstr "Data i hora de finalització" - -#: views/admin/display-options-meta.php:59 -msgid "Select how to display the end date / time." -msgstr "Seleccioneu com s'ha de mostrar la data / hora de finalització." - -#: views/admin/display-options-meta.php:62 -msgid "End time" -msgstr "Hora de finalització" - -#: views/admin/display-options-meta.php:63 -msgid "End date" -msgstr "Data de finalització" - -#: views/admin/display-options-meta.php:64 -msgid "End time and date" -msgstr "Hora i data de finalització" - -#: views/admin/display-options-meta.php:65 -msgid "End date and time" -msgstr "Data i hora de finalització" - -#: views/admin/display-options-meta.php:67 -msgid "Text to display before the end time." -msgstr "Text a mostrar abans de la data de finalització" - -#: views/admin/display-options-meta.php:72 -msgid "Separator" -msgstr "Separador" - -#: views/admin/display-options-meta.php:74 -msgid "" -"If you have chosen to display both the time and date above, enter the text / " -"characters to display between the time and date here (including any spaces)." -msgstr "" -"Si heu triat mostrar tant l'hora com la data, introduïu aquí el text o els " -"caràcters que han d'aparèixer entre l'hora i la data (incloent espais)." - -#: views/admin/display-options-meta.php:80 -msgid "Location" -msgstr "Ubicació" - -#: views/admin/display-options-meta.php:82 -msgid "Show the location of events?" -msgstr "Mostra la ubicació dels esdeveniments?" - -#: views/admin/display-options-meta.php:83 -msgid "Text to display before the location." -msgstr "Text a mostrar abans de la ubicació." - -#: views/admin/display-options-meta.php:88 -msgid "Description" -msgstr "Descripció" - -#: views/admin/display-options-meta.php:91 -msgid "" -"Show the description of events? (URLs in the description will be made into " -"links)." -msgstr "" -"Mostra la descripció dels esdeveniments (Els URL de la descripció es " -"convertiran en enllaços)." - -#: views/admin/display-options-meta.php:93 -msgid "Text to display before the description." -msgstr "Text a mostrar abans de la descripció" - -#: views/admin/display-options-meta.php:95 -msgid "" -"Maximum number of words to show from description. Leave blank for no limit." -msgstr "" -"Nombre màxim de paraules a mostrar de la descripció. Deixeu l'espai en blanc " -"si no voleu posar cap límit." - -#: views/admin/display-options-meta.php:100 -msgid "Event Link" -msgstr "Enllaç de l'esdeveniment" - -#: views/admin/display-options-meta.php:103 -msgid "Show a link to the Google Calendar page for an event?" -msgstr "Mostra un enllaç a la pàgina del Google Calendar per a un esdeveniment" - -#: views/admin/display-options-meta.php:107 -msgid "Links open in a new window / tab?" -msgstr "Obre els enllaços en una finestra o pestanya noves" - -#: views/admin/display-options-meta.php:109 -msgid "The link text to be displayed." -msgstr "El text de l'enllaç que voleu mostrar." - -#: views/admin/gce-feed-meta-display.php:69 -msgid "Want to be in the know?" -msgstr "Voleu estar-ne informat/da?" - -#: views/admin/gce-feed-meta-display.php:72 -msgid "Get notified when new features are released" -msgstr "Avisa'm quan es publiquin funcionalitats noves" - -#: views/admin/gce-feed-meta-display.php:90 -msgid "" -"Copy and paste this shortcode to display this Google Calendar feed on any " -"post or page." -msgstr "" -"Copieu i enganxeu aquest codi curt per mostrar aquest calendari del Google " -"Calendar a qualsevol entrada o pàgina del WordPress" - -#: views/admin/gce-feed-meta-display.php:91 -msgid "" -"To avoid display issues, make sure to paste the shortcode in the Text tab of " -"the post editor." -msgstr "" -"Per evitar problemes de visualització, assegureu-vos de copiar correctament " -"el codi curt a la pestanya de text de l'editor visual." - -#: views/admin/gce-feed-meta-display.php:96 -msgid "Google Calendar ID" -msgstr "ID del calendari" - -#: views/admin/gce-feed-meta-display.php:100 -msgid "The Google Calendar ID." -msgstr "L'ID del calendari del Google Calendar" - -#: views/admin/gce-feed-meta-display.php:100 -msgid "Example" -msgstr "Exemple" - -#: views/admin/gce-feed-meta-display.php:102 -msgid "How to find your Google Calendar ID" -msgstr "Com trobar l'ID d'un calendari del Google Calendar" - -#: views/admin/gce-feed-meta-display.php:115 -msgid "Timezone" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:122 -msgid "It is recommended to use the calendar default timezone." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:127 -msgid "Search Query" -msgstr "Consulta de cerca" - -#: views/admin/gce-feed-meta-display.php:130 -msgid "Find and show events based on a search query." -msgstr "Troba i mostra esdeveniments basats en una consulta de cerca" - -#: views/admin/gce-feed-meta-display.php:135 -msgid "Expand Recurring Events?" -msgstr "Estendre el esdeveniments recurrents?" - -#: views/admin/gce-feed-meta-display.php:137 -msgid "Yes" -msgstr "Sí" - -#: views/admin/gce-feed-meta-display.php:138 -msgid "" -"Display recurring events each time they occur. If disabled, events will be " -"displayed only the first time they occur." -msgstr "" -"Això mostrarà els esdeveniments recurrents cada vegada que ocorrin, " -"altrament només es mostrarà un esdeveniment la primera vegada que ocorri." - -#: views/admin/gce-feed-meta-display.php:143 -msgid "Multiple Day Events" -msgstr "Esdeveniments de varis dies" - -#: views/admin/gce-feed-meta-display.php:145 -msgid "Show on each day" -msgstr "Mostra els esdeveniments d'un període cadascun dels dies?" - -#: views/admin/gce-feed-meta-display.php:146 -msgid "" -"Display multiple day events on each day that they span. If disabled, " -"multiple day events will be displayed only on the first day they occur." -msgstr "" -"Mostra els esdeveniments de varis dies tots els dies que estan vigents. En " -"cas contrari, només es mostraran el primer dia." - -#: views/admin/gce-feed-meta-display.php:151 -msgid "Display Mode" -msgstr "Mode de visualització" - -#: views/admin/gce-feed-meta-display.php:154 views/widgets.php:273 -msgid "Grid (Month view)" -msgstr "Graella (Vista mensual)" - -#: views/admin/gce-feed-meta-display.php:157 views/widgets.php:276 -msgid "Custom Date Range (List)" -msgstr "Rang de dates personalitzat (Llista)" - -#: views/admin/gce-feed-meta-display.php:158 views/widgets.php:277 -#, fuzzy -msgid "Custom Date Range (Grid)" -msgstr "Rang de dates personalitzat (Llista)" - -#: views/admin/gce-feed-meta-display.php:160 -msgid "Select how to display this feed." -msgstr "Indiqueu com s'han de mostrar els esdeveniments" - -#: views/admin/gce-feed-meta-display.php:165 -msgid "Events per Page" -msgstr "Esdeveniments per pàgina" - -#: views/admin/gce-feed-meta-display.php:168 views/widgets.php:292 -msgid "Number of Days" -msgstr "Nombre de dies" - -#: views/admin/gce-feed-meta-display.php:169 views/widgets.php:293 -msgid "Number of Events" -msgstr "Nombre d'esdeveniments" - -#: views/admin/gce-feed-meta-display.php:170 views/widgets.php:294 -msgid "One Week" -msgstr "Una setmana" - -#: views/admin/gce-feed-meta-display.php:171 views/widgets.php:295 -msgid "One Month" -msgstr "Un mes" - -#: views/admin/gce-feed-meta-display.php:176 -msgid "How many events to display per page (List View only)." -msgstr "" -"Quans d'esdeveniments es mostraran a cada pàgina (només a la vista de llista)" - -#: views/admin/gce-feed-meta-display.php:181 -msgid "Display Start Date Offset" -msgstr "Mostra la desviació de la data d'inici" - -#: views/admin/gce-feed-meta-display.php:184 -#: views/admin/gce-feed-meta-display.php:196 views/widgets.php:309 -msgid "Number of Days Back" -msgstr "Nombre de dies enrere" - -#: views/admin/gce-feed-meta-display.php:185 -#: views/admin/gce-feed-meta-display.php:215 views/widgets.php:310 -msgid "Number of Days Forward" -msgstr "Nombre de dies endavant" - -#: views/admin/gce-feed-meta-display.php:188 views/widgets.php:314 -msgid "" -"Change to initially display events on a date other than today (List View " -"only)." -msgstr "" -"Canvieu-ho si necessiteu mostrar esdeveniments inicialment en una data que " -"no és avui (només a la vista de llista)." - -#: views/admin/gce-feed-meta-display.php:193 -msgid "Earliest Feed Event Date" -msgstr "Data mínima dels esdeveniments" - -#: views/admin/gce-feed-meta-display.php:197 -msgid "Number of Months Back" -msgstr "Nombre de mesos cap enrere" - -#: views/admin/gce-feed-meta-display.php:198 -msgid "Number of Years Back" -msgstr "Nombre d'anys cap enrere" - -#: views/admin/gce-feed-meta-display.php:204 -msgid "Set how far back to retrieve events regardless of initial display." -msgstr "" -"Indica com d'enrere en el temps s'han de recuperar esdeveniments, " -"independentment del mes o pàgina que es visualitzi." - -#: views/admin/gce-feed-meta-display.php:206 -msgid "" -"Note: Total events are currently limited to 2,500 by the " -"Google Calendar API." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:212 -msgid "Latest Feed Event Date" -msgstr "Data màxima dels esdeveniments" - -#: views/admin/gce-feed-meta-display.php:216 -msgid "Number of Months Forward" -msgstr "Nombre de mesos cap endavant" - -#: views/admin/gce-feed-meta-display.php:217 -msgid "Number of Years Forward" -msgstr "Nombre d'anys cap endavant" - -#: views/admin/gce-feed-meta-display.php:222 -msgid "" -"Set how far in the future to retrieve events regardless of initial display." -msgstr "" -"Indica com d'endavant en el temps s'han de recuperar esdeveniments, " -"independentment del mes o pàgina que es visualitzi." - -#: views/admin/gce-feed-meta-display.php:227 -msgid "Use Custom Date Range" -msgstr "Utilitza un rang de dates personalitzat" - -#: views/admin/gce-feed-meta-display.php:233 -msgid "" -"Set a specific range of events to retrieve. Leaving either field blank will " -"set the date to the current day." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:239 views/widgets.php:324 -msgid "Show Paging Links" -msgstr "Mostra el paginador" - -#: views/admin/gce-feed-meta-display.php:242 -msgid "Display Next and Back navigation links." -msgstr "Mostra els enllaços de navegació anterior i següent" - -#: views/admin/gce-feed-meta-display.php:247 views/widgets.php:327 -msgid "Show Tooltips" -msgstr "Mostra descripcions emergents" - -#: views/admin/gce-feed-meta-display.php:250 -msgid "Display tooltips when hovering over events (Grid View only)." -msgstr "" -"Mostra un text emergent quan el punter del ratolí es troba damunt un " -"esdeveniment (només a la vista de graella)" - -#: views/admin/gce-feed-meta-display.php:255 -msgid "Date Format" -msgstr "Format de la data" - -#: views/admin/gce-feed-meta-display.php:259 -#: views/admin/gce-feed-meta-display.php:270 -msgid "Use %sPHP date formatting%s." -msgstr "Utilitza el %sformat de data del PHP%s." - -#: views/admin/gce-feed-meta-display.php:260 -#: views/admin/gce-feed-meta-display.php:271 -msgid "Leave blank to use the default." -msgstr "Deixeu-ho en blanc per utilitzar el valor per defecte." - -#: views/admin/gce-feed-meta-display.php:266 -msgid "Time Format" -msgstr "Format de l'hora" - -#: views/admin/gce-feed-meta-display.php:277 -msgid "Cache Duration" -msgstr "Durada de la memòria cau" - -#: views/admin/gce-feed-meta-display.php:280 -msgid "" -"The length of time, in seconds, to cache the feed (43200 = 12 hours). If " -"this feed changes regularly, you may want to reduce the cache duration." -msgstr "" -"La durada, en segons, de l'emmagatzemament del calendari a la memòria cau " -"(43200 = 12 hores). Si aquest flux canvia amb regularitat, és possible que " -"vulgueu reduir la durada de la memòria cau." - -#: views/admin/gce-feed-sidebar-help.php:6 -#, fuzzy -msgid "Documentation" -msgstr "Ubicació" - -#: views/admin/gce-feed-sidebar-help.php:11 -msgid "Community support forums" -msgstr "Fòrums de suport de la comunitat" - -#: views/admin/gce-feed-sidebar-help.php:16 -msgid "Get notified of new features" -msgstr "Notificació de noves funcionalitats" - -#: views/admin/gce-feed-sidebar-help.php:21 -msgid "" -"Are you finding our GCal plugin helpful? 5-star ratings keep us motivated!" -msgstr "" - -#: views/admin/gce-feed-sidebar-help.php:25 -msgid "Rate our plugin on wordpress.org" -msgstr "" - -#: views/widgets.php:28 -msgid "" -"Display a list or calendar grid of events from one or more Google Calendar " -"feeds you have added" -msgstr "" -"Mostra una llista o graella amb els esdeveniments d'un o més calendaris del " -"Google Calendar." - -#: views/widgets.php:146 -msgid "" -"No valid Feed IDs have been entered for this widget. Please check that you " -"have entered the IDs correctly in the widget settings (Appearance > " -"Widgets), and that the Feeds have not been deleted." -msgstr "" -"No hi ha cap ID de calendari vàlid en aquest giny. Comproveu que s'han " -"introduït els codis correctament en la configuració del giny (Aparença | " -"Ginys), i que els calendaris no s'han eliminat." - -#: views/widgets.php:186 -msgid "" -"There was a problem with one or more of your feed IDs. Please check your " -"widget settings and make sure they are correct." -msgstr "" -"S'ha produït un problema amb un o més ID de calendaris. Comproveu els " -"paràmetres dels vostres ginys i assegureu-vos de què són correctes" - -#: views/widgets.php:192 -msgid "You have not added any feeds yet." -msgstr "Encara no heu afegit cap calendari." - -#: views/widgets.php:235 -msgid "There are no feeds created yet." -msgstr "Encara no hi ha cap calendari creat." - -#: views/widgets.php:236 -msgid "Add your first feed!" -msgstr "Afegiu el primer calendari!" - -#: views/widgets.php:246 -msgid "Events on" -msgstr "Esdeveniments del" - -#: views/widgets.php:260 -msgid "Title:" -msgstr "Títol:" - -#: views/widgets.php:265 -msgid "Feeds to Display (comma separated list - i.e. 101,102,103):" -msgstr "" -"Calendaris a mostrar, en forma de llista separada per comes (per exemple: " -"101,102,103)." - -#: views/widgets.php:271 -msgid "Display Events as:" -msgstr "Mostra els esdeveniments com a:" - -#: views/widgets.php:282 -msgid "Sort Order (List View only):" -msgstr "Ordre (només a la vista de llista):" - -#: views/widgets.php:284 -msgid "Ascending" -msgstr "Ascendent" - -#: views/widgets.php:285 -msgid "Descending" -msgstr "Descendent" - -#: views/widgets.php:290 -msgid "Events per Page (List View only):" -msgstr "Nombre d'esdeveniments per pàgina (només a la vista de llista)" - -#: views/widgets.php:303 -msgid "" -"This setting will pull from the custom date range set in the main feed " -"settings and cannot be changed here." -msgstr "" -"Aquest paràmetre depèn del rang fixat als paràmetres del calendari i no es " -"pot canviar aquí." - -#: views/widgets.php:307 -msgid "Display Start Date Offset (List View only):" -msgstr "Mostra la desviació de la data d'inici (només a la vista de llista):" - -#: views/widgets.php:318 -msgid "" -"Display Title on Tooltip/List Item (e.g. 'Events on 7th March'). Grouped " -"lists always have a title displayed." -msgstr "" -"Voleu que es mostri un títol personalitzat? (per exemple: 'Esdeveniments del " -"7 de març'). A les llistes agrupades sempre es mostra el títol." - -#. Plugin URI of the plugin/theme -#, fuzzy -msgid "https://wordpress.org/plugins/google-calendar-events/" -msgstr "http://www.rhanney.co.uk/plugins/google-calendar-events" - -#. Description of the plugin/theme -msgid "" -"Show off your Google calendar in grid (month) or list view, in a post, page " -"or widget, and in a style that matches your site." -msgstr "" - -#. Author of the plugin/theme -msgid "Moonstone Media" -msgstr "" - -#. Author URI of the plugin/theme -msgid "http://moonstonemediagroup.com" -msgstr "" - -#: includes/class-gce-event.php:588 -#, fuzzy -msgctxt "human_time_diff" -msgid ", " -msgstr "," - -#: views/admin/gce-feed-meta-display.php:118 -#, fuzzy -msgctxt "Use the calendar default setting" -msgid "Calendar default" -msgstr "Graella de calendari" - -#: views/admin/gce-feed-meta-display.php:119 -msgctxt "Use this site default setting" -msgid "Site default" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:231 -msgctxt "separator between custom date range fields" -msgid "to" -msgstr "" - -#, fuzzy -#~ msgid "Review this Plugin Now" -#~ msgstr "Valora aquesta extensió" - -#~ msgid "Helpful Links" -#~ msgstr "Enllaços d'interès" - -#~ msgid "Set a specific range of events to retrieve." -#~ msgstr "Defineix un rang específic d'esdeveniments a recuperar" - -#~ msgid "Documentation & getting started" -#~ msgstr "Documentació i guia d'inici" - -#~ msgid "View our roadmap & vote" -#~ msgstr "Mostra el full de ruta i permet votar" - -#~ msgid "GCal Events Important Update (Nov. 19, 2014):" -#~ msgstr "Actualització important dels calendaris del Google (19-11-2014)" - -#~ msgid "" -#~ "By default a shared key is used across all plugin users, which is limited " -#~ "to 500,000 requests per day and 5 requests per second." -#~ msgstr "" -#~ "Per defecte s'utilitza una clau compartida entre tots els usuaris de " -#~ "l'extensió. Aquesta clau està limitada a 500.000 peticions per dia i a 5 " -#~ "peticions per segon." - -#~ msgid "To avoid these limits you can use your own Google API key." -#~ msgstr "" -#~ "Per evitar aquests límits podeu generar una clau pròpia de l'API de Google" - -#~ msgid "Update your API settings now" -#~ msgstr "Actualitza els paràmetres de l'API ara" - -#~ msgid "" -#~ "We're smack dab in the middle of building additional " -#~ "features for this plugin. Have ideas?" -#~ msgstr "" -#~ "Estem preparant noves funcionalitats per a aquesta extensió. Voleu fer-hi " -#~ "alguna aportació?" - -#~ msgid "Visit our roadmap and tell us what you're looking for" -#~ msgstr "Visiteu el nostre full de ruta i dieu-nos què esteu buscant" - -#~ msgid "" -#~ "Show events that span multiple days on each day that they span, rather " -#~ "than just the first day." -#~ msgstr "" -#~ "Mostra els esdeveniments que es repeteixin durant un període de temps en " -#~ "cadascun dels dies, en lloc de només el primer dia." - -#~ msgid "Choose how you want your calendar to be displayed." -#~ msgstr "Trieu com voleu que es mostri el vostre calendari" - -#~ msgid "Days" -#~ msgstr "Dies" - -#~ msgid "Events" -#~ msgstr "Esdeveniments" - -#~ msgid "Ahead" -#~ msgstr "Endavant" - -#~ msgid "Minimum Feed Start Date" -#~ msgstr "Data mínima d'inici dels esdeveniments" - -#~ msgid "Years" -#~ msgstr "Anys" - -#~ msgid "back" -#~ msgstr "enrere" - -#~ msgid "forward" -#~ msgstr "endavant" - -#~ msgid "Show Paging Links:" -#~ msgstr "Mostra el paginador:" - -#~ msgid "" -#~ "The feed could not be found (404). Please ensure your feed URL is correct." -#~ msgstr "" -#~ "No s'ha pogut trobar el calendari (404). Assegureu-vos que l'URL del " -#~ "calendari és correcte." - -#~ msgid "" -#~ "Access to this feed was denied (403). Please ensure you have public " -#~ "sharing enabled for your calendar." -#~ msgstr "" -#~ "S'ha denegat l'accés a aquest calendari (403). Assegureu-vos que el " -#~ "vostre calendari és públic." - -#~ msgid "" -#~ "The feed data could not be retrieved. Error code: %s. Please ensure your " -#~ "feed URL is correct." -#~ msgstr "" -#~ "No s'ha pogut recuperar la informació del calendari. Codi d'error: %s. " -#~ "Assegureu-vos que l'URL del calendari és correcte." - -#~ msgid "GCal Feed URL" -#~ msgstr "URL del calendari" - -#~ msgid "Want to know when we release something new?" -#~ msgstr "Voleu assabentar-vos de quan publiquem versions noves?" - -#~ msgid "Get notified of major plugin updates" -#~ msgstr "Avisa'm quan es publiqui una versió major d'aquesta extensió" - -#~ msgid "Retrieve Events From" -#~ msgstr "Recupera els esdeveniments des de" - -#~ msgid "Today" -#~ msgstr "Avui" - -#~ msgid "Start of current week" -#~ msgstr "Inici de la setmana actual" - -#~ msgid "Start of current month" -#~ msgstr "Inici del mes actual" - -#~ msgid "End of current month" -#~ msgstr "Final del mes actual" - -#~ msgid "The beginning of time" -#~ msgstr "El principi dels temps" - -#~ msgid "Specific date" -#~ msgstr "Data concreta" - -#~ msgid "The point in time at which to start retrieving events." -#~ msgstr "" -#~ "El punt en el temps en què començarà la recuperació d'esdeveniments." - -#~ msgid "Retrieve Events Until" -#~ msgstr "Recupera els esdeveniments fins a" - -#~ msgid "The end of time" -#~ msgstr "El final dels temps" - -#~ msgid "The point in time at which to stop retrieving events." -#~ msgstr "" -#~ "El punt en el temps en què s'aturarà la recuperació d'esdeveniments." - -#~ msgid "Maximum number of events to show." -#~ msgstr "Nombre màxim d'esdeveniments a mostrar" - -#~ msgid "Timezone Adjustment" -#~ msgstr "Configuració de la zona horària" - -#~ msgid "" -#~ "If you are having problems with dates and times displaying in the wrong " -#~ "timezone, select a city in your required timezone here." -#~ msgstr "" -#~ "Si les dates i hores que es mostren no es corresponen amb la zona horària " -#~ "correcta, seleccioneu una ciutat de la vostra zona horària." - -#~ msgid "" -#~ "This will clear your feed cache. This also automatically happens when you " -#~ "save your changes. %sIf you make changes you %sMUST%s save first or your " -#~ "changes will be lost." -#~ msgstr "" -#~ "Això buidarà la memòria cau d'aquest calendari. Això passa automàticament " -#~ "cada vegada que deseu els canvis. %sSi feu canvis %sHEU%s de desar-los en " -#~ "primer lloc o es perdran." - -#~ msgid "Now Accepting 5-Star Reviews!" -#~ msgstr "S'accepten revisions de 5 estrelles!" - -#~ msgid "Calendar Grid - with AJAX" -#~ msgstr "Graella de calendari - amb AJAX" - -#~ msgid "Maximum no. events to display. Enter 0 to show all retrieved." -#~ msgstr "" -#~ "Nombre màxim d'esdeveniments a mostrar. Poseu 0 per a mostrar-los tots." - -#~ msgid "Feed Title" -#~ msgstr "Títol de l'entrada" - -#~ msgid "Select display customization method" -#~ msgstr "Tria un mètode de visualització" - -#~ msgid "Event Display Builder" -#~ msgstr "Creador d'esdeveniments personalitzat" - -#~ msgid "Event display builder HTML and shortcodes" -#~ msgstr "Configura la visualització d'esdeveniments personalitzada" - -#~ msgid "Separator text / characters" -#~ msgstr "Separador de text / caràcters" - -#~ msgid "Display location?" -#~ msgstr "Voleu mostrar la ubicació?" - -#~ msgid "Display link to event?" -#~ msgstr "Voleu mostrar l'enllaç a l'esdeveniment?" - -#~ msgid "" -#~ "Make any changes you require to the feed details below, then click the " -#~ "Save Changes button." -#~ msgstr "" -#~ "Feu els canvis necessaris als detalls de l'entrada i després feu clic al " -#~ "botó Desa els canvis." - -#~ msgid "Anything you like. 'Upcoming Club Events', for example." -#~ msgstr "El que vulgueu. Per exemple: 'Esdeveniments propers del centre'." - -#~ msgid "" -#~ "This will probably be something like: http://www.google.com/" -#~ "calendar/feeds/your-email@gmail.com/public/full." -#~ msgstr "" -#~ "Això probablement serà semblant a: http://www.google.com/calendar/" -#~ "feeds/your-email@gmail.com/public/full." - -#~ msgid "" -#~ "or: http://www.google.com/calendar/feeds/your-email@gmail.com/" -#~ "private-d65741b037h695ff274247f90746b2ty/basic." -#~ msgstr "" -#~ "o: http://www.google.com/calendar/feeds/your-email@gmail.com/" -#~ "private-d65741b037h695ff274247f90746b2ty/basic." - -#~ msgid "" -#~ "The point in time at which to start retrieving events. Use the text-box " -#~ "to specify an additional offset from you chosen start point. The offset " -#~ "should be provided in seconds (3600 = 1 hour, 86400 = 1 day) and can be " -#~ "negative. If you have selected the 'Specific date / time' option, enter a " -#~ "UNIX " -#~ "timestamp in the text-box." -#~ msgstr "" -#~ "El punt en el temps en què es començaran a recuperar els esdeveniments. " -#~ "Feu servir la caixa de text per especificar un desplaçament addicional al " -#~ "punt triat inicialment. Aquest desplaçament s'ha de proporcionar en " -#~ "segons (3600 = 1 hora, 86400 = 1 dia) i pot ser negatiu. Si heu " -#~ "seleccionat l'opció 'Data / hora específics' poseu una marca de temps de UNIX " -#~ "a la caixa de text." - -#~ msgid "" -#~ "Set this to a few more than you actually want to display (due to caching " -#~ "and timezone issues). The exact number to display can be configured per " -#~ "shortcode / widget." -#~ msgstr "" -#~ "Definiu aquí una mica més del que realment voleu mostrar (per evitar " -#~ "problemes d'emmagatzematge en la memòria cau i la zona horària). El " -#~ "nombre exacte a mostrar es pot configurar per codi curt / ginys." - -#~ msgid "" -#~ "In PHP date format. Leave this blank if you'd rather stick with the " -#~ "default format for your blog." -#~ msgstr "" -#~ "En format de data en PHP. Deixeu l'espai en blanc si voleu fer servir " -#~ "el format predeterminat." - -#~ msgid "" -#~ "In PHP date format. Again, leave this blank to stick with the default." -#~ msgstr "" -#~ "En format de data en PHP. De nou, deixeu l'espai en blanc per fer " -#~ "servir el format predeterminat." - -#~ msgid "" -#~ "These settings control what information will be displayed for this feed " -#~ "in the tooltip (for grids), or in a list." -#~ msgstr "" -#~ "Aquests ajustaments controlen quina informació es mostra per a aquesta " -#~ "entrada en el títol (per graelles), o en una llista." - -#~ msgid "" -#~ "It is recommended that you use the event display builder option, as it " -#~ "provides much more flexibility than the simple display options. The event " -#~ "display builder can do everything the simple display options can, plus " -#~ "lots more!" -#~ msgstr "" -#~ "Es recomana que utilitzeu el creador d'esdeveniments personalitzat, ja " -#~ "que proporciona molta més flexibilitat que les opcions de visualització " -#~ "per defecte. La visualiitzacó personalitzada pot fer tot el que les " -#~ "opcions de visualització per defecte, a més de moltes més!" - -#~ msgid "Event display builder" -#~ msgstr "Creador d'esdeveniments personalitzat" - -#~ msgid "Simple display options" -#~ msgstr "Visualització d'esdeveniments per defecte" - -#~ msgid "" -#~ "Use the event display builder to customize how event information will be " -#~ "displayed in the grid tooltips and in lists. Use HTML and the shortcodes " -#~ "(explained below) to display the information you require. A basic example " -#~ "display format is provided as a starting point. For more information, " -#~ "take a look at the event display " -#~ "builder guide." -#~ msgstr "" -#~ "Utilitzeu el creador d'esdeveniments personalitzat per definir quina " -#~ "informació es mostrarà als títols de la graella i a les llistes. " -#~ "Utilitzeu HTML i codis curts (que s'explica més endavant) per mostrar la " -#~ "informació necessària. Com a punt de partida, es proporciona un format " -#~ "bàsic a mode d'exemple. Per obtenir més informació, feu un cop d'ull a la " -#~ "guia d'ús de creació d'esdeveniments " -#~ "personalitzats." - -#~ msgid "" -#~ "(More information on all of the below shortcodes and attributes, and " -#~ "working examples, can be found in the event display builder guide)" -#~ msgstr "" -#~ "(Podeu trobar més informació sobre tots els codis curts i atributs de " -#~ "baix, així com exemples de treball a la guia d'ús de creació d'esdeveniments personalitzats)" - -#~ msgid "Event information shortcodes:" -#~ msgstr "Informació sobre els esdeveniments i codis curts:" - -#~ msgid "" -#~ "The event title (possible attributes: html, markdown)" -#~ msgstr "" -#~ "El títol de l'esdeveniment (atributs possibles: html, " -#~ "markdown)" - -#~ msgid "" -#~ "The event start time. Will use the time format specified in the above " -#~ "settings" -#~ msgstr "" -#~ "L'hora en què comença l'esdeveniment. S'utilitzarà el format especificat " -#~ "en els paràmetres anteriors" - -#~ msgid "" -#~ "The event start date. Will use the date format specified in the above " -#~ "settings" -#~ msgstr "" -#~ "La data en què comença l'esdeveniment. S'utilitzarà el format especificat " -#~ "en els paràmetres anteriors" - -#~ msgid "" -#~ "The event start date / time. Will use the format specified in the " -#~ "format attribute (possible attributes: format)" -#~ msgstr "" -#~ "L'hora i la data en què comença l'esdeveniment. S'utilitzarà el format " -#~ "especificat a l'atribut format (atributs possibles: " -#~ "format)" - -#~ msgid "" -#~ "The difference between the start time of the event and the time now, in " -#~ "human-readable format, such as '1 hour', '4 days', '15 mins' (possible " -#~ "attributes: precision)" -#~ msgstr "" -#~ "La diferència entre l'hora d'inici de l'esdeveniment i l'hora actual, en " -#~ "un format llegible per les persones, com ara '1 hora', '4 dies', '15 " -#~ "minuts' (atributs possibles: precision)" - -#~ msgid "" -#~ "The event end time. Will use the time format specified in the above " -#~ "settings" -#~ msgstr "" -#~ "L'hora en què finalitza l'esdeveniment. S'utilitzarà el format " -#~ "especificat en els paràmetres anteriors" - -#~ msgid "" -#~ "The event end date. Will use the date format specified in the above " -#~ "settings" -#~ msgstr "" -#~ "La data en què acaba l'esdeveniment. S'utilitzarà el format especificat " -#~ "en els paràmetres anteriors" - -#~ msgid "" -#~ "The event end date / time. Will use the format specified in the " -#~ "format attribute (possible attributes: format)" -#~ msgstr "" -#~ "L'hora i la data en què acaba l'esdeveniment. S'utilitzarà el format " -#~ "especificat a l'atribut format (atributs possibles: " -#~ "format)" - -#~ msgid "" -#~ "The difference between the end time of the event and the time now, in " -#~ "human-readable format (possible attributes: precision)" -#~ msgstr "" -#~ "La diferència entre l'hora de finalització de l'esdeveniment i l'hora " -#~ "actual, en un format llegible per les persones, com ara '1 hora', '4 " -#~ "dies', '15 minuts' (atributs possibles: precision)" - -#~ msgid "" -#~ "The event location (possible attributes: html, " -#~ "markdown)" -#~ msgstr "" -#~ "La ubicació de l'esdeveniment (atributs possibles: html, " -#~ "markdown)" - -#~ msgid "" -#~ "Anything between the opening and closing shortcode tags (inlcuding " -#~ "further shortcodes) will be linked to Google Maps, using the event " -#~ "location as a search parameter (possible attributes: newwindow)" -#~ msgstr "" -#~ "Qualsevol cosa entre les etiquetes d'obertura i tancament (incloses les " -#~ "etiquetes futures) s'enllaçaran al Google Maps mitjançant la ubicació de " -#~ "l'esdeveniment, que s'utilitzarà com a paràmetre de cerca (atributs " -#~ "possibles: newwindow)" - -#~ msgid "" -#~ "The event description (possible attributes: html, " -#~ "markdown, limit)" -#~ msgstr "" -#~ "La descripció de l'esdeveniment (atributs possibles: html, " -#~ "markdown, limit)" - -#~ msgid "" -#~ "Anything between the opening and closing shortcode tags (inlcuding " -#~ "further shortcodes) will be linked to the Google Calendar page for the " -#~ "event (possible attributes: newwindow)" -#~ msgstr "" -#~ "Qualsevol cosa entre les etiquetes d'obertura i tancament (incloses les " -#~ "etiquetes futures) s'enllaçaran a la pàgina de l'esdeveniment al Google " -#~ "Calendar (atributs possibles: newwindow)" - -#~ msgid "The raw URL to the Google Calendar page for the event" -#~ msgstr "" -#~ "L'URL sense formatar a la pàgina de l'esdeveniment al Google Calendar" - -#~ msgid "" -#~ "The length of the event, in human-readable format (possible attributes: " -#~ "precision)" -#~ msgstr "" -#~ "La durada de l'esdeveniment en un format llegible per les persones " -#~ "(atributs possibles: precision)" - -#~ msgid "" -#~ "The position of the event in the current list, or the position of the " -#~ "event in the current month (for grids)" -#~ msgstr "" -#~ "La posició de l'esdeveniment a la llista actual o la posició de " -#~ "l'esdeveniment en el mes actual (per a les graelles)" - -#~ msgid "The event UID (a unique identifier assigned to the event by Google)" -#~ msgstr "" -#~ "L'UID de l'esdeveniment (un identificador únic assignat a l'esdeveniment " -#~ "pel Google)" - -#~ msgid "The title of the feed from which the event comes" -#~ msgstr "El títol de l'entrada d'on prové l'esdeveniment" - -#~ msgid "The ID of the feed from which the event comes" -#~ msgstr "L'ID de l'entrada d'on prové l'esdeveniment" - -#~ msgid "" -#~ "The calendar ID (a unique identifier assigned to the calendar by Google)" -#~ msgstr "" -#~ "L'ID del calendari (un identificador únic assignat al calendari pel " -#~ "Google)" - -#~ msgid "Conditional shortcodes:" -#~ msgstr "Codis curts condicionals:" - -#~ msgid "" -#~ "Anything entered between the opening and closing tags of each of the " -#~ "following shortcodes will only be displayed if its condition (below) is " -#~ "met." -#~ msgstr "" -#~ "Qualsevol cosa introduïda entre l'obertura i el tancament d'etiquetes de " -#~ "cadascun dels codis curts següents, només es mostrarà si es compleix la " -#~ "condició de sota." - -#~ msgid "The event is an all-day event" -#~ msgstr "L'esdeveniment dura tot el dia" - -#~ msgid "The event is not an all-day event" -#~ msgstr "L'esdeveniment no dura tot el dia" - -#~ msgid "The event has a title" -#~ msgstr "L'esdeveniment té títol" - -#~ msgid "The event has a description" -#~ msgstr "L'esdeveniment té descripció" - -#~ msgid "The event has a location" -#~ msgstr "L'esdeveniment té ubicació" - -#~ msgid "The event is to be displayed in a tooltip (not a list)" -#~ msgstr "" -#~ "L'esdeveniment s'ha de mostrar en un text emergent (no en una llista)" - -#~ msgid "The event is to be displayed in a list (not a tooltip)" -#~ msgstr "" -#~ "L'esdeveniment s'ha de mostrar en una llista (no en un text emergent)" - -#~ msgid "" -#~ "The event is taking place now (after the start time, but before the end " -#~ "time)" -#~ msgstr "" -#~ "L'esdeveniment està tenint lloc en aquests moments (després de l'hora " -#~ "d'inici, però abans de l'hora de finalització)" - -#~ msgid "" -#~ "The event is not taking place now (may have ended or not yet started)" -#~ msgstr "" -#~ "L'esdeveniment no està tenint lloc en aquests moments (pot haver acabat o " -#~ "no haver començat)" - -#~ msgid "The event has started (even if it has also ended)" -#~ msgstr "L'esdeveniment ha començat (pot haver acabat)" - -#~ msgid "The event has not started" -#~ msgstr "L'esdeveniment no ha començat" - -#~ msgid "The event has ended" -#~ msgstr "L'esdeveniment ha acabat" - -#~ msgid "The event has not ended (even if it hasn't started)" -#~ msgstr "L'esdeveniment no ha acabat (pot no haver començat)" - -#~ msgid "The event is the first of the day" -#~ msgstr "L'esdeveniment és el primer del dia" - -#~ msgid "The event is not the first of the day" -#~ msgstr "L'esdeveniment no és el primer del dia" - -#~ msgid "The event spans multiple days" -#~ msgstr "L'esdeveniment dura més d'un dia" - -#~ msgid "The event does not span multiple days" -#~ msgstr "L'esdeveniment comença i acaba el mateix dia" - -#~ msgid "Attributes:" -#~ msgstr "Atributs:" - -#~ msgid "The possible attributes mentioned above are explained here:" -#~ msgstr "Els possibles atributs abans esmentats s'expliquen aquí:" - -#~ msgid "" -#~ "Whether or not to parse HTML that has been entered in the relevant field. " -#~ "Can be true or false" -#~ msgstr "" -#~ "Si s'ha de parsejar o no el codi HTML que s'ha introduït en el camp. Pot " -#~ "ser true o false" - -#~ msgid "" -#~ "Whether or not to parse Markdown that has been entered in the " -#~ "relevant field. PHP Markdown must be installed for this to work. " -#~ "Can be true or false" -#~ msgstr "" -#~ "Si s'ha de parsejar o no el text del camp amb el Markdown. " -#~ "Cal haver instal·lat el PHP Markdown per a que això funcioni. Pot ser " -#~ "true o false" - -#~ msgid "" -#~ "The word limit for the field. Should be specified as a positive integer" -#~ msgstr "El nombre de paraules màxim pel camp. Ha de ser un número natural" - -#~ msgid "" -#~ "The date / time format to use. Should specified as a PHP date format " -#~ "string" -#~ msgstr "" -#~ "El format de data i hora que s'ha d'utilitzar. S'ha d'especificar amb una " -#~ "cadena de format de data PHP" - -#~ msgid "" -#~ "Whether or not the link should open in a new window / tab. Can be " -#~ "true or false" -#~ msgstr "" -#~ "Si l'enllaç s'ha d'obrir en una finestra o pestanya noves. Pot ser " -#~ "true o false" - -#~ msgid "" -#~ "How precise to be when displaying a time difference in human-readable " -#~ "format. Should be specified as a positive integer" -#~ msgstr "" -#~ "Com de precís s'ha de ser en mostrar la diferència de temps en un format " -#~ "llegible per les persones. S'ha d'especificar un número natural" - -#~ msgid "" -#~ "An offset (in seconds) to apply to start / end times before display. " -#~ "Should be specified as a (positive or negative) integer" -#~ msgstr "" -#~ "Un desplaçament (en segons) per aplicar a les hores d'inici / final abans " -#~ "de la visualització. S'ha d'especificar com un nombre sencer (positiu o " -#~ "negatiu)" - -#~ msgid "" -#~ "Whether or not to automatically convert URLs in the description to links. " -#~ "Can be true or false" -#~ msgstr "" -#~ "Si s'han de convertir automàticament en enllaços els URL que apareguin a " -#~ "les descripcions. Pot ser true o false" - -#~ msgid "" -#~ "You can use some HTML in the text fields, but ensure it is valid or " -#~ "things might go wonky. Text fields can be empty too." -#~ msgstr "" -#~ "Podeu fer servir HTML als camps de text, però assegureu-vos que és un " -#~ "HMTL vàlid on algunes coses poden funcionar malament. Els camps de text " -#~ "també poden estar buits." - -#~ msgid "Don't display start time or date" -#~ msgstr "No mostris la data o hora d'inici" - -#~ msgid "Display start time and date (in that order)" -#~ msgstr "Mostra l'hora i data d'inici (en aquest ordre)" - -#~ msgid "Display start date and time (in that order)" -#~ msgstr "Mostra la data i hora d'inici (en aquest ordre)" - -#~ msgid "Don't display end time or date" -#~ msgstr "No mostris l'hora o data de finalització" - -#~ msgid "Display end date" -#~ msgstr "Mostra la data de finalització" - -#~ msgid "Display end time and date (in that order)" -#~ msgstr "Mostra l'hora i data de finalització (en aquest ordre)" - -#~ msgid "Display end date and time (in that order)" -#~ msgstr "Mostra la data i hora de finalització (en aquest ordre)" - -#~ msgid "" -#~ "Show the description of events? (URLs in the description will be made " -#~ "into links)." -#~ msgstr "" -#~ "Voleu mostrar la descripció dels esdeveniments? (l'URL de la descripció " -#~ "es convertirà en un enllaç)." - -#~ msgid "Enter the feed details below, then click the Add Feed button." -#~ msgstr "" -#~ "Afegiu els detalls de l'entrada a sota, després feu clic al botó Afegeix " -#~ "entrada." - -#~ msgid "This will probably be something like:" -#~ msgstr "Això probablement serà similar a:" - -#~ msgid "or:" -#~ msgstr "o:" - -#~ msgid "" -#~ "The point in time at which to start retrieving events. Use the text-box " -#~ "to specify an additional offset from you chosen start point. The offset " -#~ "should be provided in seconds (3600 = 1 hour, 86400 = 1 day) and can be " -#~ "negative. If you have selected the 'Specific date / time' option, enter a" -#~ msgstr "" -#~ "El punt en el temps en què es començaran a recuperar els esdeveniments. " -#~ "Feu servir la caixa de text per especificar un desplaçament addicional al " -#~ "punt triat inicialment. Aquest desplaçament s'ha de proporcionar en " -#~ "segons (3600 = 1 hora, 86400 = 1 dia) i pot ser negatiu. Si heu " -#~ "seleccionat l'opció 'Data / hora específics' poseu una" - -#~ msgid "UNIX timestamp" -#~ msgstr "marca de temps de UNIX" - -#~ msgid "in the text-box." -#~ msgstr "a la caixa de text." - -#~ msgid "Now" -#~ msgstr "Ara" - -#~ msgid "00:00 today" -#~ msgstr "00:00 avui" - -#~ msgid "" -#~ "Use the event display builder to customize how event information will be " -#~ "displayed in the grid tooltips and in lists. Use HTML and the shortcodes " -#~ "(explained below) to display the information you require. A basic example " -#~ "display format is provided as a starting point. For more information, " -#~ "take a look at the" -#~ msgstr "" -#~ "Utilitzeu el creador d'esdeveniments personalitzat per definir quina " -#~ "informació es mostrarà als títols de la graella i a les llistes. " -#~ "Utilitzeu HTML i codis curts (que s'explica més endavant) per mostrar la " -#~ "informació necessària. Com a punt de partida, es proporciona un format " -#~ "bàsic a mode d'exemple. Per obtenir més informació, feu un cop d'ull a la" - -#~ msgid "event display builder guide" -#~ msgstr "guia d'ús de creació d'esdeveniments personalitzats" - -#~ msgid "" -#~ "(More information on all of the below shortcodes and attributes, and " -#~ "working examples, can be found in the" -#~ msgstr "" -#~ "(Podeu trobar més informació sobre tots els codis curts i atributs de " -#~ "baix, així com exemples de treball a la" - -#~ msgid "Refresh Feed Cache" -#~ msgstr "Refresca la memòria cau de les entrades" - -#~ msgid "" -#~ "The plugin will automatically refresh the cache when it expires, but you " -#~ "can manually clear the cache now by clicking the button below." -#~ msgstr "" -#~ "El connector actualitzarà automàticament la memòria cau quan expiri, però " -#~ "es pot esborrar manualment ara fent clic al botó de sota." - -#~ msgid "Are you want you want to clear the cache data for this feed?" -#~ msgstr "" -#~ "Esteu segurs que voleu esborrar les dades de la memòria cau d'aquesta " -#~ "entrada?" - -#~ msgid "Delete Feed" -#~ msgstr "Esborra l'entrada" - -#~ msgid "" -#~ "Are you want you want to delete this feed? (Remember to remove / adjust " -#~ "any widgets or shortcodes associated with this feed)." -#~ msgstr "" -#~ "Esteu segurs que voleu esborrar aquesta entrada? (Recordeu esborrar / " -#~ "ajustar els ginys o codis curts associats a aquesta entrada)." - -#~ msgid "Click here to add a new feed" -#~ msgstr "Feu clic aquí per afegir una entrada nova" - -#~ msgid "Add Feed" -#~ msgstr "Afegeix entrada" - -#~ msgid "Current Feeds" -#~ msgstr "Entrades actuals" - -#~ msgid "ID" -#~ msgstr "ID" - -#~ msgid "URL" -#~ msgstr "URL" - -#~ msgid "Refresh" -#~ msgstr "Refresca" - -#~ msgid "Edit" -#~ msgstr "Edita" - -#~ msgid "Delete" -#~ msgstr "Esborra" - -#~ msgid "Custom stylesheet URL" -#~ msgstr "URL del full d'estils personalitzat" - -#~ msgid "" -#~ "If you want to alter the default plugin styling, create a new stylesheet " -#~ "on your server (not in the google-calendar-events directory) " -#~ "and then enter its URL below." -#~ msgstr "" -#~ "Si voleu canviar l'estil per defecte del giny, creeu un full d'estil nou " -#~ "al vostre servidor (no al directori google-calendar-events) " -#~ "i poseu aquí l'URL." - -#~ msgid "Add JavaScript to footer?" -#~ msgstr "Voleu afegir JavaScript al peu de pàgina?" - -#~ msgid "" -#~ "If you are having issues with tooltips not appearing or the AJAX " -#~ "functionality not working, try ticking the checkbox below." -#~ msgstr "" -#~ "Si teniu problemes amb títols que no apareixen o l'AJAX no funciona, " -#~ "proveu a marcar la casella de sota." - -#~ msgid "Text to display while calendar data is loading (on AJAX requests)." -#~ msgstr "" -#~ "Text que es mostra mentre el calendari s'està carregant (en peticions " -#~ "AJAX)." - -#~ msgid "Error message" -#~ msgstr "Missatge d'error" - -#~ msgid "" -#~ "An error message to display to non-admin users if events cannot be " -#~ "displayed for any reason (admins will see a message indicating the cause " -#~ "of the problem)." -#~ msgstr "" -#~ "Missatge d'error que es mostrarà als usuaris que no siguin administradors " -#~ "si els esdeveniments no es poden mostrar per qualsevol motiu (els " -#~ "administradors veuran un missatge indicant la causa del problema)." - -#~ msgid "Optimise event retrieval?" -#~ msgstr "Voleu optimitzar la recuperació de l'esdeveniment?" - -#~ msgid "" -#~ "If this option is enabled, the plugin will use an experimental feature of " -#~ "the Google Data API, which can improve performance significantly, " -#~ "especially with large numbers of events. Google could potentially " -#~ "remove / change this feature at any time." -#~ msgstr "" -#~ "Si s'activa aquesta opció, el giny farà servir una característica " -#~ "experimental de l'API de dades de Google que pot millorar " -#~ "significativament el rendiment, sobretot si el nombre d'esdeveniments és " -#~ "elevat. Google pot eliminar / canviar aquesta funció en qualsevol moment." - -#~ msgid "Use old styles?" -#~ msgstr "Voleu fer servir estils antics?" - -#~ msgid "" -#~ "Some CSS changes were made in version 0.7. If this option is enabled, the " -#~ "old CSS will still be added along with the main stylesheet. You should " -#~ "consider updating your stylesheet so that you don't need this enabled." -#~ msgstr "" -#~ "Es van fer alguns canvis d'estil CSS en la versió 0.7. Si aquesta opció " -#~ "està activada, s'afegirà el CSS antic, juntament amb el full d'estils " -#~ "principal. Hauríeu de considerar actualitzar el vostre full d'estils per " -#~ "no tenir la necessitat d'activar aquesta opció." - -#~ msgid "Save" -#~ msgstr "Desa" - -#~ msgid "" -#~ "No feeds have been added yet. You can add a feed in the Google Calendar " -#~ "Events settings." -#~ msgstr "" -#~ "Encara no s'ha afegit cap entrada. Podeu afegir una entrada a la " -#~ "configuració d'esdeveniments del Google Calendar." - -#~ msgid "" -#~ "No feeds have been added yet. You can add feeds in the Google Calendar " -#~ "Events settings." -#~ msgstr "" -#~ "Encara no s'ha afegit cap entrada. Podeu afegir entrades a la " -#~ "configuració d'esdeveniments del Google Calendar." - -#~ msgid "List - grouped by date" -#~ msgstr "Llista - agrupada per data" - -#~ msgid "" -#~ "1 or more of your feeds could not be displayed. The following errors " -#~ "occurred:" -#~ msgstr "" -#~ "Una o més de les vostres entrades no es poden mostrar. S'han trobat els " -#~ "errors següents:" - -#~ msgid "Notice:" -#~ msgstr "Avís:" - -#~ msgid "" -#~ "The way in which Google Calendar Events stores cached data has been much " -#~ "improved in version 0.6. As you have upgraded from a previous version of " -#~ "the plugin, there is likely to be some data from the old caching system " -#~ "hanging around in your database that is now useless. Click below to clear " -#~ "expired cached data from your database." -#~ msgstr "" -#~ "La forma en què Esdeveniments de Google Calendar desa les dades a la " -#~ "memòria cau ha estat millorada a la versió 0.6. Com que heu actualitzat " -#~ "des d'una versió anterior del connector, pot ser que hi hagi dades dels " -#~ "sistema antic, que ja no són útils, a la vostra base de dades. Feu clic a " -#~ "continuació per esborrar aquestes dades antigues emmagatzemades a la " -#~ "memòria cau de la base de dades." - -#~ msgid "Clear expired cached data" -#~ msgstr "Esborra dades antigues de la memòria cau" - -#~ msgid "or" -#~ msgstr "o" - -#~ msgid "Ignore this notice" -#~ msgstr "Ignora aquest avís" - -#~ msgid "Cancel" -#~ msgstr "Cancel·la" - -#~ msgid "Refresh Feed" -#~ msgstr "Refresca l'entrada" - -#~ msgid "Save Changes" -#~ msgstr "Desa els canvis" - -#~ msgid "General options updated." -#~ msgstr "S'han desat les opcions generals" - -#~ msgid "" -#~ "No valid Feed IDs have been entered for this shortcode. Please check that " -#~ "you have entered the IDs correctly and that the Feeds have not been " -#~ "deleted." -#~ msgstr "" -#~ "No hi ha cap ID d'entrada vàlid en aquest codi curt. Comproveu que heu " -#~ "introduït els codis correctament i que les entrades no s'han eliminat." - -#~ msgid "" -#~ "Parses Google Calendar feeds and displays the events as a calendar grid " -#~ "or list on a page, post or widget." -#~ msgstr "" -#~ "Analitza les entrades de Google Calendar i mostra els esdeveniments com " -#~ "una graella de calendari, una llista en una pàgina, un article o un giny." diff --git a/wp-content/plugins/google-calendar-events/languages/gce-de_DE.mo b/wp-content/plugins/google-calendar-events/languages/gce-de_DE.mo deleted file mode 100644 index e43ae5d..0000000 Binary files a/wp-content/plugins/google-calendar-events/languages/gce-de_DE.mo and /dev/null differ diff --git a/wp-content/plugins/google-calendar-events/languages/gce-de_DE.po b/wp-content/plugins/google-calendar-events/languages/gce-de_DE.po deleted file mode 100644 index d1de649..0000000 --- a/wp-content/plugins/google-calendar-events/languages/gce-de_DE.po +++ /dev/null @@ -1,1121 +0,0 @@ -# Copyright (C) 2010 Google Calendar Events -# This file is distributed under the same license as the Google Calendar Events package. -msgid "" -msgstr "" -"Project-Id-Version: Google Calendar Events en español\n" -"Report-Msgid-Bugs-To: https://github.com/pderksen/WP-Google-Calendar-Events/" -"issues\n" -"POT-Creation-Date: 2015-08-31 09:04:08+00:00\n" -"PO-Revision-Date: \n" -"Last-Translator: David Arndt \n" -"Language-Team: \n" -"Language: de_DE\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Poedit 1.7.4\n" -"X-Poedit-Basepath: ..\n" -"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;" -"_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_ex:1,2c;" -"esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n" -"X-Poedit-SourceCharset: UTF-8\n" -"X-Poedit-SearchPath-0: .\n" - -# changelog 2015-03-02: -# see https://github.com/pderksen/WP-Google-Calendar-Events/pull/30 -# changelog 2014-10-26: -# removed inactive French translations from file -# switched translation header to de_DE -# synced translation with master file (gce-pot) and translated -#: class-google-calendar-events-admin.php:138 -#: class-google-calendar-events-admin.php:139 -#: class-google-calendar-events-admin.php:235 -#: includes/register-settings.php:68 -msgid "General Settings" -msgstr "Einstellungen" - -#. Plugin Name of the plugin/theme -msgid "Google Calendar Events" -msgstr "Google Calendar Events" - -#: class-google-calendar-events-admin.php:236 -msgid "Feeds" -msgstr "Feeds" - -#: class-google-calendar-events-admin.php:254 -#: class-google-calendar-events-admin.php:289 -msgid "Add Calendar" -msgstr "" - -#: class-google-calendar-events-admin.php:290 -msgid "Add a calendar feed to your post." -msgstr "" - -#: class-google-calendar-events-admin.php:300 -msgid "Insert Calendar" -msgstr "" - -#: class-google-calendar-events-admin.php:302 -msgid "Could not find any calendars to add to this post." -msgstr "" - -#: class-google-calendar-events-admin.php:303 -msgid "Please add a new calendar feed first." -msgstr "" - -#: class-google-calendar-events.php:162 -msgid "Loading..." -msgstr "" - -#: google-calendar-events.php:34 -msgid "" -"Google Events Calendar requires PHP %1$s and WordPress %2$s to function " -"properly. PHP version found: %3$s. WordPress installed version: %4$s. Please " -"upgrade to meet the minimum requirements." -msgstr "" - -#: includes/admin/admin-functions.php:20 -msgid "Cache has been cleared for this feed." -msgstr "Der Cache für diesen Feed wurde geleert." - -#: includes/admin/admin-functions.php:35 includes/admin/admin-functions.php:56 -msgid "Starts:" -msgstr "" - -#: includes/admin/admin-functions.php:36 includes/admin/admin-functions.php:58 -msgid "Ends:" -msgstr "" - -#: includes/admin/admin-functions.php:37 includes/admin/admin-functions.php:60 -msgid "Location:" -msgstr "" - -#: includes/admin/admin-functions.php:38 includes/admin/admin-functions.php:61 -#, fuzzy -msgid "Description:" -msgstr "Beschreibung" - -#: includes/admin/admin-functions.php:39 -msgid "More details..." -msgstr "" - -#: includes/admin/admin-functions.php:63 -msgid "More Details" -msgstr "" - -#: includes/admin/admin-functions.php:77 includes/gce-feed-cpt.php:328 -#: includes/gce-feed-cpt.php:381 -msgid "Clear Cache" -msgstr "Cache leeren" - -#: includes/admin/admin-notice.php:26 -msgid "GCal API Key Notice" -msgstr "" - -#: includes/admin/admin-notice.php:28 -msgid "" -"GCal Events uses the Google Calendar API version 3. By default this plugin " -"uses a public shared key across all plugin users." -msgstr "" - -#: includes/admin/admin-notice.php:30 -msgid "" -"This key is limited to 500,000 requests per day and 5 requests per second. " -"To avoid running into any potential limits you can use your own Google API " -"key." -msgstr "" - -#: includes/admin/admin-notice.php:33 -msgid "Enter your GCal API key" -msgstr "" - -#: includes/admin/admin-notice.php:34 -#, fuzzy -msgid "Configure GCal feeds" -msgstr "So finden Sie Ihre GCal Feed URL" - -#: includes/admin/admin-notice.php:35 -msgid "Hide this" -msgstr "" - -#: includes/class-gce-display.php:193 includes/class-gce-display.php:303 -msgid "Back" -msgstr "Zurück" - -#: includes/class-gce-display.php:197 includes/class-gce-display.php:304 -#: includes/class-gce-display.php:310 includes/php-calendar.php:61 -#: includes/php-calendar.php:63 -msgid "Next" -msgstr "Nächste" - -#: includes/class-gce-display.php:309 includes/php-calendar.php:55 -#: includes/php-calendar.php:57 -msgid "Previous" -msgstr "" - -#: includes/class-gce-display.php:406 -msgid "No events to display." -msgstr "Keine anstehenden Termine." - -#: includes/class-gce-event.php:555 -msgid "%s year" -msgstr "%s Jahr" - -#: includes/class-gce-event.php:555 -msgid "%s years" -msgstr "%s Jahre" - -#: includes/class-gce-event.php:556 -msgid "%s month" -msgstr "%s Monat" - -#: includes/class-gce-event.php:556 -msgid "%s months" -msgstr "%s Monate" - -#: includes/class-gce-event.php:557 -msgid "%s week" -msgstr "%s Woche" - -#: includes/class-gce-event.php:557 -msgid "%s weeks" -msgstr "%s Wochen" - -#: includes/class-gce-event.php:558 -msgid "%s day" -msgstr "%s Tag" - -#: includes/class-gce-event.php:558 -msgid "%s days" -msgstr "%s Tage" - -#: includes/class-gce-event.php:559 -msgid "%s hour" -msgstr "%s Stunde" - -#: includes/class-gce-event.php:559 -msgid "%s hours" -msgstr "%s Stunden" - -#: includes/class-gce-event.php:560 -msgid "%s min" -msgstr "%s Minute" - -#: includes/class-gce-event.php:560 -msgid "%s mins" -msgstr "%s Minuten" - -#: includes/class-gce-feed.php:94 -#, fuzzy -msgid "" -"The Google Calendar ID has not been set. Please make sure to set it " -"correctly in the Feed settings." -msgstr "" -"Die Feed URL wurde nicht definiert. Bitte vergewissern Sie sich, dass diese " -"in den Feed Einstellungen korrekt eingegeben haben." - -#: includes/class-gce-feed.php:226 -#, fuzzy -msgid "" -"Some data was retrieved, but could not be parsed successfully. Please ensure " -"your feed settings are correct." -msgstr "" -"Es wurden zwar Daten empfangen, konnten aber nicht erfolgreich verarbeitet " -"werden. Bitte vergewissern Sie sich, dass die Feed URL korrekt ist." - -#: includes/class-gce-feed.php:229 -msgid "An error has occured." -msgstr "" - -#: includes/class-gce-feed.php:234 -#, fuzzy -msgid " Please ensure your calendar ID is correct." -msgstr "Bitte stellen Sie sicher, dass die Feed URL korrekt ist." - -#: includes/gce-feed-cpt.php:21 -msgid "Google Calendar Feeds" -msgstr "Google Kalender Feeds" - -#: includes/gce-feed-cpt.php:22 includes/gce-feed-cpt.php:24 -#: includes/gce-feed-cpt.php:72 -msgid "Feed" -msgstr "Feed" - -#: includes/gce-feed-cpt.php:23 -msgid "GCal Events" -msgstr "GCal Termine" - -#: includes/gce-feed-cpt.php:25 -msgid "Add New" -msgstr "Hinzufügen" - -#: includes/gce-feed-cpt.php:26 -msgid "Add New Feed" -msgstr "Feed hinzufügen" - -#: includes/gce-feed-cpt.php:27 -msgid "New Feed" -msgstr "Neuer Feed" - -#: includes/gce-feed-cpt.php:28 -msgid "Edit Feed" -msgstr "Feed bearbeiten" - -#: includes/gce-feed-cpt.php:29 -msgid "View Feed" -msgstr "Feed anzeigen" - -#: includes/gce-feed-cpt.php:30 -msgid "All GCal Feeds" -msgstr "Alle GCal Feeds" - -#: includes/gce-feed-cpt.php:31 -msgid "Search GCal Feeds" -msgstr "GCal Feeds suchen" - -#: includes/gce-feed-cpt.php:32 -msgid "No feeds found." -msgstr "Keine Feeds gefunden." - -#: includes/gce-feed-cpt.php:33 -msgid "No feeds found in Trash." -msgstr "Keine Feeds im Papierkorb gefunden." - -#: includes/gce-feed-cpt.php:70 -msgid "feed" -msgstr "" - -#: includes/gce-feed-cpt.php:75 includes/gce-feed-cpt.php:76 -msgid "%4$s updated. %1$sView %2$s%3$s" -msgstr "%4$s wurde aktualisiert. %1$sZeige %2$s%3$s" - -#: includes/gce-feed-cpt.php:77 -msgid "%4$s published. %1$sView %2$s%3$s" -msgstr "%4$s wurde veröffentlicht. %1$sZeige %2$s%3$s" - -#: includes/gce-feed-cpt.php:78 -msgid "%4$s saved. %1$sView %2$s%3$s" -msgstr "%4$s wurde gespeichert. %1$sZeige %2$s%3$s" - -#: includes/gce-feed-cpt.php:79 -msgid "%4$s submitted. %1$sView %2$s%3$s" -msgstr "%4$s wurde gesendet. %1$sZeige %2$s%3$s" - -#: includes/gce-feed-cpt.php:80 -msgid "%4$s draft updated. %1$sView %2$s%3$s" -msgstr "Der Entwurf von %4$s wurde aktualisiert. %1$sZeige %2$s%3$s" - -#: includes/gce-feed-cpt.php:95 -#, fuzzy -msgid "Feed Settings" -msgstr "Einstellungen speichern" - -#: includes/gce-feed-cpt.php:97 -msgid "Resources" -msgstr "" - -#: includes/gce-feed-cpt.php:98 -#, fuzzy -msgid "Display Options" -msgstr "Anzeigemodus" - -#: includes/gce-feed-cpt.php:269 -msgid "Feed ID" -msgstr "Feed ID" - -#: includes/gce-feed-cpt.php:270 views/admin/gce-feed-meta-display.php:79 -msgid "Feed Shortcode" -msgstr "Feed Shortcode" - -#: includes/gce-feed-cpt.php:271 -msgid "Display Type" -msgstr "Anzeigemodus" - -#: includes/gce-feed-cpt.php:306 -msgid "Grid" -msgstr "Kalenderansicht" - -#: includes/gce-feed-cpt.php:308 views/admin/gce-feed-meta-display.php:155 -#: views/widgets.php:274 -msgid "List" -msgstr "Liste" - -#: includes/gce-feed-cpt.php:310 views/admin/gce-feed-meta-display.php:156 -#: views/widgets.php:275 -msgid "Grouped List" -msgstr "Gruppierte Liste" - -#: includes/gce-feed-cpt.php:312 -msgid "Custom Date Range" -msgstr "" - -#: includes/gce-feed-cpt.php:469 -msgid "Feed cache cleared." -msgid_plural "Cleared cache for %s feeds." -msgstr[0] "" -msgstr[1] "" - -#: includes/register-settings.php:29 -msgid "Google API Key" -msgstr "" - -#: includes/register-settings.php:30 -msgid "" -"If left blank all displayed Google calendars will use a public Google API " -"key shared across all plugin users." -msgstr "" - -#: includes/register-settings.php:31 -msgid "" -"Currently the shared key is limited to 500,000 requests per day and 5 " -"requests per second." -msgstr "" - -#: includes/register-settings.php:32 -msgid "" -"To avoid these limits click here for " -"instructions on how to generate and use your own Google API key." -msgstr "" - -#: includes/register-settings.php:39 -msgid "Always Enqueue Scripts & Styles" -msgstr "" - -#: includes/register-settings.php:40 -msgid "Enqueue this plugin's scripts and styles on every post and page." -msgstr "" - -#: includes/register-settings.php:41 -msgid "Useful if using shortcodes in widgets or other non-standard locations." -msgstr "" - -#: includes/register-settings.php:46 -msgid "Disable Plugin CSS" -msgstr "" - -#: includes/register-settings.php:47 -msgid "" -"If this option is checked, this plugin's CSS file will not be referenced." -msgstr "" - -#: includes/register-settings.php:52 -msgid "Save Settings" -msgstr "Einstellungen speichern" - -#: includes/register-settings.php:53 -#, fuzzy -msgid "Save your settings when uninstalling this plugin." -msgstr "" -"Behalten Sie Ihre Einstellungen, wenn Sie dieses Plugin deinstallieren. Dies " -"ist bei Upgrades oder Neuinstallation sinnvoll." - -#: includes/register-settings.php:54 -#, fuzzy -msgid "Useful when upgrading or re-installing." -msgstr "" -"Behalten Sie Ihre Einstellungen, wenn Sie dieses Plugin deinstallieren. Dies " -"ist bei Upgrades oder Neuinstallation sinnvoll." - -#: includes/register-settings.php:182 -msgid "" -"The callback function used for the %s setting is missing." -msgstr "" -"Die Callback-Funktion, welche für die %s Einstellung " -"benötigt wird, fehlt." - -#: includes/shortcodes.php:97 -msgid "" -"There was a problem with one or more of your feed IDs. Please check your " -"shortcode settings and make sure they are correct." -msgstr "" - -#: views/admin/display-options-meta.php:39 -msgid "" -"Check this box to use the simple display options below instead of the Event " -"Builder code on the left." -msgstr "" -"Aktivieren Sie diese Option, um die folgenden einfachen Anzeigeoptionen zu " -"benutzen, anstatt des Event Builder Codes auf der linken Seite." - -#: views/admin/display-options-meta.php:44 -msgid "Start date / time display" -msgstr "Anzeige von Beginndatum/-zeit" - -#: views/admin/display-options-meta.php:45 -msgid "Select how to display the start date / time." -msgstr "Wählen Sie aus, wie Beginndatum/-zeit angezeigt werden soll." - -#: views/admin/display-options-meta.php:47 -#: views/admin/display-options-meta.php:61 -msgid "None" -msgstr "Keine" - -#: views/admin/display-options-meta.php:48 -msgid "Start time" -msgstr "Beginnzeit" - -#: views/admin/display-options-meta.php:49 -msgid "Start date" -msgstr "Beginndatum" - -#: views/admin/display-options-meta.php:50 -msgid "Start time and date" -msgstr "Beginnzeit und -datum" - -#: views/admin/display-options-meta.php:51 -msgid "Start date and time" -msgstr "Beginndatum und -zeit" - -#: views/admin/display-options-meta.php:53 -msgid "Text to display before the start time." -msgstr "Text vor der Beginnzeit anzeigen." - -#: views/admin/display-options-meta.php:58 -msgid "End time/date display" -msgstr "Anzeige Endzeit/-datum" - -#: views/admin/display-options-meta.php:59 -msgid "Select how to display the end date / time." -msgstr "Wählen Sie aus, wie Enddatum/-zeit angezeigt werden soll." - -#: views/admin/display-options-meta.php:62 -msgid "End time" -msgstr "Endzeit" - -#: views/admin/display-options-meta.php:63 -msgid "End date" -msgstr "Enddatum" - -#: views/admin/display-options-meta.php:64 -msgid "End time and date" -msgstr "Endzeit und -datum" - -#: views/admin/display-options-meta.php:65 -msgid "End date and time" -msgstr "Enddatum und -zeit" - -#: views/admin/display-options-meta.php:67 -msgid "Text to display before the end time." -msgstr "Text vor Endzeit anzeigen." - -#: views/admin/display-options-meta.php:72 -msgid "Separator" -msgstr "Trennzeichen" - -#: views/admin/display-options-meta.php:74 -msgid "" -"If you have chosen to display both the time and date above, enter the text / " -"characters to display between the time and date here (including any spaces)." -msgstr "" -"Falls Sie ausgewählt haben, Zeit und Datum anzuzeigen, geben Sie den Text / " -"die Zeichen ein, welche zwischen diesen beiden Werten angezeigt werden soll " -"(inkl. eventueller Leerzeichen)." - -#: views/admin/display-options-meta.php:80 -msgid "Location" -msgstr "" - -#: views/admin/display-options-meta.php:82 -msgid "Show the location of events?" -msgstr "" - -#: views/admin/display-options-meta.php:83 -#, fuzzy -msgid "Text to display before the location." -msgstr "Text vor der Beschreibung anzeigen." - -#: views/admin/display-options-meta.php:88 -msgid "Description" -msgstr "Beschreibung" - -#: views/admin/display-options-meta.php:91 -msgid "" -"Show the description of events? (URLs in the description will be made into " -"links)." -msgstr "" -"Beschreibung zu Terminen anzeigen? (URLs in der Beschreibung werden in Links " -"umgewandelt)" - -#: views/admin/display-options-meta.php:93 -msgid "Text to display before the description." -msgstr "Text vor der Beschreibung anzeigen." - -#: views/admin/display-options-meta.php:95 -msgid "" -"Maximum number of words to show from description. Leave blank for no limit." -msgstr "" -"Maximale Zeichenanzahl, die von der Beschreibung angezeigt werden soll. " -"Lassen Sie das Feld leer, um den Text nicht zu kürzen." - -#: views/admin/display-options-meta.php:100 -msgid "Event Link" -msgstr "Termin-Link" - -#: views/admin/display-options-meta.php:103 -msgid "Show a link to the Google Calendar page for an event?" -msgstr "Link zur Google Kalender Seite eines Termins anzeigen?" - -#: views/admin/display-options-meta.php:107 -msgid "Links open in a new window / tab?" -msgstr "Link in neuem Fenster/Tab öffnen?" - -#: views/admin/display-options-meta.php:109 -msgid "The link text to be displayed." -msgstr "Anzuzeigender Linktext." - -#: views/admin/gce-feed-meta-display.php:69 -msgid "Want to be in the know?" -msgstr "Möchten Sie auf dem Laufenden bleiben?" - -#: views/admin/gce-feed-meta-display.php:72 -msgid "Get notified when new features are released" -msgstr "Hier können Sie unseren Newsletter abonnieren." - -#: views/admin/gce-feed-meta-display.php:90 -#, fuzzy -msgid "" -"Copy and paste this shortcode to display this Google Calendar feed on any " -"post or page." -msgstr "" -"Kopieren Sie diesen Shortcode und fügen Ihn in beliebigen Beiträgen oder " -"Seiten ein, um diesen Google Kalender Feed anzuzeigen." - -#: views/admin/gce-feed-meta-display.php:91 -msgid "" -"To avoid display issues, make sure to paste the shortcode in the Text tab of " -"the post editor." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:96 -#, fuzzy -msgid "Google Calendar ID" -msgstr "Google Kalender Feeds" - -#: views/admin/gce-feed-meta-display.php:100 -#, fuzzy -msgid "The Google Calendar ID." -msgstr "Die URL des Google Kalender Feeds." - -#: views/admin/gce-feed-meta-display.php:100 -msgid "Example" -msgstr "Beispiel" - -#: views/admin/gce-feed-meta-display.php:102 -#, fuzzy -msgid "How to find your Google Calendar ID" -msgstr "So finden Sie Ihre GCal Feed URL" - -#: views/admin/gce-feed-meta-display.php:115 -msgid "Timezone" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:122 -msgid "It is recommended to use the calendar default timezone." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:127 -msgid "Search Query" -msgstr "Suchabfrage" - -#: views/admin/gce-feed-meta-display.php:130 -msgid "Find and show events based on a search query." -msgstr "Termine auf Basis einer Suchanfrage finden und anzeigen lassen." - -#: views/admin/gce-feed-meta-display.php:135 -msgid "Expand Recurring Events?" -msgstr "Wiederkehrende Termine ausweiten" - -#: views/admin/gce-feed-meta-display.php:137 -msgid "Yes" -msgstr "Ja" - -#: views/admin/gce-feed-meta-display.php:138 -#, fuzzy -msgid "" -"Display recurring events each time they occur. If disabled, events will be " -"displayed only the first time they occur." -msgstr "" -"Diese Option zeigt wiederkehrende Termine jedes Mal an, wenn diese " -"stattfinden. Ansonsten wird der Termin nur beim ersten Vorkommen angezeigt." - -#: views/admin/gce-feed-meta-display.php:143 -msgid "Multiple Day Events" -msgstr "Mehrtägige Termine" - -#: views/admin/gce-feed-meta-display.php:145 -msgid "Show on each day" -msgstr "An jedem Tag anzeigen" - -#: views/admin/gce-feed-meta-display.php:146 -msgid "" -"Display multiple day events on each day that they span. If disabled, " -"multiple day events will be displayed only on the first day they occur." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:151 -msgid "Display Mode" -msgstr "Anzeigemodus" - -#: views/admin/gce-feed-meta-display.php:154 views/widgets.php:273 -msgid "Grid (Month view)" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:157 views/widgets.php:276 -msgid "Custom Date Range (List)" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:158 views/widgets.php:277 -msgid "Custom Date Range (Grid)" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:160 -#, fuzzy -msgid "Select how to display this feed." -msgstr "Wählen Sie aus, wie Beginndatum/-zeit angezeigt werden soll." - -#: views/admin/gce-feed-meta-display.php:165 -#, fuzzy -msgid "Events per Page" -msgstr "Anzahl an Terminen pro Seite" - -#: views/admin/gce-feed-meta-display.php:168 views/widgets.php:292 -msgid "Number of Days" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:169 views/widgets.php:293 -#, fuzzy -msgid "Number of Events" -msgstr "Anzahl an Terminen pro Seite" - -#: views/admin/gce-feed-meta-display.php:170 views/widgets.php:294 -msgid "One Week" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:171 views/widgets.php:295 -msgid "One Month" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:176 -msgid "How many events to display per page (List View only)." -msgstr "" -"Wie viele Termine sollen pro Seite angezeigt werden (nur Listenansicht)" - -#: views/admin/gce-feed-meta-display.php:181 -#, fuzzy -msgid "Display Start Date Offset" -msgstr "Abweichendes Startdatum" - -#: views/admin/gce-feed-meta-display.php:184 -#: views/admin/gce-feed-meta-display.php:196 views/widgets.php:309 -msgid "Number of Days Back" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:185 -#: views/admin/gce-feed-meta-display.php:215 views/widgets.php:310 -msgid "Number of Days Forward" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:188 views/widgets.php:314 -#, fuzzy -msgid "" -"Change to initially display events on a date other than today (List View " -"only)." -msgstr "" -"Ändern Sie diesen Wert wenn sie das Startdatum für die Terminanzeige vor " -"oder nach dem heutigen Tag setzen möchten (nur Listenansicht)." - -#: views/admin/gce-feed-meta-display.php:193 -msgid "Earliest Feed Event Date" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:197 -#, fuzzy -msgid "Number of Months Back" -msgstr "Anzahl an Terminen pro Seite" - -#: views/admin/gce-feed-meta-display.php:198 -#, fuzzy -msgid "Number of Years Back" -msgstr "Anzahl an Terminen pro Seite" - -#: views/admin/gce-feed-meta-display.php:204 -msgid "Set how far back to retrieve events regardless of initial display." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:206 -msgid "" -"Note: Total events are currently limited to 2,500 by the " -"Google Calendar API." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:212 -msgid "Latest Feed Event Date" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:216 -#, fuzzy -msgid "Number of Months Forward" -msgstr "Anzahl an Terminen pro Seite" - -#: views/admin/gce-feed-meta-display.php:217 -#, fuzzy -msgid "Number of Years Forward" -msgstr "Anzahl an Terminen pro Seite" - -#: views/admin/gce-feed-meta-display.php:222 -msgid "" -"Set how far in the future to retrieve events regardless of initial display." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:227 -msgid "Use Custom Date Range" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:233 -msgid "" -"Set a specific range of events to retrieve. Leaving either field blank will " -"set the date to the current day." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:239 views/widgets.php:324 -msgid "Show Paging Links" -msgstr "Seitennavigation anzeigen:" - -#: views/admin/gce-feed-meta-display.php:242 -#, fuzzy -msgid "Display Next and Back navigation links." -msgstr "Aktivieren um Vorherige/Nächste-links zur Navigation anzuzeigen." - -#: views/admin/gce-feed-meta-display.php:247 views/widgets.php:327 -msgid "Show Tooltips" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:250 -msgid "Display tooltips when hovering over events (Grid View only)." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:255 -msgid "Date Format" -msgstr "Datumsformat" - -#: views/admin/gce-feed-meta-display.php:259 -#: views/admin/gce-feed-meta-display.php:270 -msgid "Use %sPHP date formatting%s." -msgstr "Benutzen Sie %sPHP Datumsformate%s." - -#: views/admin/gce-feed-meta-display.php:260 -#: views/admin/gce-feed-meta-display.php:271 -#, fuzzy -msgid "Leave blank to use the default." -msgstr "Leer lassen, um die Standardwerte zu nutzen." - -#: views/admin/gce-feed-meta-display.php:266 -msgid "Time Format" -msgstr "Zeitformat" - -#: views/admin/gce-feed-meta-display.php:277 -msgid "Cache Duration" -msgstr "Cache Dauer" - -#: views/admin/gce-feed-meta-display.php:280 -msgid "" -"The length of time, in seconds, to cache the feed (43200 = 12 hours). If " -"this feed changes regularly, you may want to reduce the cache duration." -msgstr "" -"Zeitspanne in Sekunden, für welche der Feed im Cache zwischengespeichert " -"werden soll (43200 = 12 Stunden). Falls der Feed oft geändert wird, wollen " -"Sie die Cache Dauer möglicherweise verkürzen." - -#: views/admin/gce-feed-sidebar-help.php:6 -msgid "Documentation" -msgstr "" - -#: views/admin/gce-feed-sidebar-help.php:11 -msgid "Community support forums" -msgstr "Community Support-Foren" - -#: views/admin/gce-feed-sidebar-help.php:16 -msgid "Get notified of new features" -msgstr "Lassen Sie sich bei neuen Updates informieren" - -#: views/admin/gce-feed-sidebar-help.php:21 -msgid "" -"Are you finding our GCal plugin helpful? 5-star ratings keep us motivated!" -msgstr "" - -#: views/admin/gce-feed-sidebar-help.php:25 -msgid "Rate our plugin on wordpress.org" -msgstr "" - -#: views/widgets.php:28 -msgid "" -"Display a list or calendar grid of events from one or more Google Calendar " -"feeds you have added" -msgstr "" -"Zeigen Sie eine Liste oder Kalenderansicht der Termine aus einem oder " -"mehreren Ihrer hinzugefügten Google Kalender Feeds an" - -#: views/widgets.php:146 -msgid "" -"No valid Feed IDs have been entered for this widget. Please check that you " -"have entered the IDs correctly in the widget settings (Appearance > " -"Widgets), and that the Feeds have not been deleted." -msgstr "" -"Es wurden keine gültigen Feed-IDs für dieses Widget eingegeben. Bitte " -"stellen Sie sicher, dass Sie die IDs korrekt in den Widget-Einstellungen " -"angegeben haben (Design > Widgets) und dass die Feeds nicht gelöscht wurden." - -#: views/widgets.php:186 -msgid "" -"There was a problem with one or more of your feed IDs. Please check your " -"widget settings and make sure they are correct." -msgstr "" - -#: views/widgets.php:192 -msgid "You have not added any feeds yet." -msgstr "Sie haben noch keine Feeds hinzugefügt." - -#: views/widgets.php:235 -msgid "There are no feeds created yet." -msgstr "Es wurden noch keine Feeds erstellt." - -#: views/widgets.php:236 -msgid "Add your first feed!" -msgstr "Fügen Sie Ihren ersten Feed hinzu!" - -#: views/widgets.php:246 -#, fuzzy -msgid "Events on" -msgstr "Termine" - -#: views/widgets.php:260 -msgid "Title:" -msgstr "" - -#: views/widgets.php:265 -#, fuzzy -msgid "Feeds to Display (comma separated list - i.e. 101,102,103):" -msgstr "Anzuzeigende Feeds, als kommagetrennte Liste (z.B. 101,102,103)" - -#: views/widgets.php:271 -#, fuzzy -msgid "Display Events as:" -msgstr "Zeige Termine als:" - -#: views/widgets.php:282 -#, fuzzy -msgid "Sort Order (List View only):" -msgstr "Sortierreihenfolge (nur Listenansicht):" - -#: views/widgets.php:284 -msgid "Ascending" -msgstr "Aufsteigend" - -#: views/widgets.php:285 -msgid "Descending" -msgstr "Absteigend" - -#: views/widgets.php:290 -#, fuzzy -msgid "Events per Page (List View only):" -msgstr "Anzahl der Termine pro Seite (nur Listenansicht)" - -#: views/widgets.php:303 -msgid "" -"This setting will pull from the custom date range set in the main feed " -"settings and cannot be changed here." -msgstr "" - -#: views/widgets.php:307 -#, fuzzy -msgid "Display Start Date Offset (List View only):" -msgstr "Abweichendes Startdatum (nur Listenansicht)" - -#: views/widgets.php:318 -#, fuzzy -msgid "" -"Display Title on Tooltip/List Item (e.g. 'Events on 7th March'). Grouped " -"lists always have a title displayed." -msgstr "" -"Zeige Titel für Tooltipp / Listenelement an (z.B. 'Termine am 7. März'). Bei " -"gruppierten Listen wird immer ein Titel angezeigt." - -#. Plugin URI of the plugin/theme -msgid "https://wordpress.org/plugins/google-calendar-events/" -msgstr "" - -#. Description of the plugin/theme -msgid "" -"Show off your Google calendar in grid (month) or list view, in a post, page " -"or widget, and in a style that matches your site." -msgstr "" - -#. Author of the plugin/theme -msgid "Moonstone Media" -msgstr "" - -#. Author URI of the plugin/theme -msgid "http://moonstonemediagroup.com" -msgstr "" - -#: includes/class-gce-event.php:588 -msgctxt "human_time_diff" -msgid ", " -msgstr ", " - -#: views/admin/gce-feed-meta-display.php:118 -msgctxt "Use the calendar default setting" -msgid "Calendar default" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:119 -msgctxt "Use this site default setting" -msgid "Site default" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:231 -msgctxt "separator between custom date range fields" -msgid "to" -msgstr "" - -#, fuzzy -#~ msgid "Review this Plugin Now" -#~ msgstr "Dieses Plugin bewerten." - -#~ msgid "" -#~ "The feed could not be found (404). Please ensure your feed URL is correct." -#~ msgstr "" -#~ "Der Feed konnte nicht gefunden werden (404). Bitte vergewissern Sie sich, " -#~ "dass die Feed URL korrekt ist." - -#~ msgid "" -#~ "Access to this feed was denied (403). Please ensure you have public " -#~ "sharing enabled for your calendar." -#~ msgstr "" -#~ "Der Zugriff zu diesem Feed wurde verwehrt (403). Bitte stellen Sie " -#~ "sicher, dass Sie den Kalender öffentlich gemacht haben." - -#~ msgid "" -#~ "The feed data could not be retrieved. Error code: %s. Please ensure your " -#~ "feed URL is correct." -#~ msgstr "" -#~ "Die Feed Daten konnten nicht empfangen werden. Fehlercode: %s. Bitte " -#~ "stellen Sie sicher, dass die Feed URL korrekt ist." - -#~ msgid "" -#~ "We're smack dab in the middle of building additional " -#~ "features for this plugin. Have ideas?" -#~ msgstr "" -#~ "Wir sind mitten in der Entwicklung zusätzlicher Features für dieses " -#~ "Plugin. Haben Sie Ideen für uns?" - -#~ msgid "Visit our roadmap and tell us what you're looking for" -#~ msgstr "" -#~ "Sehen Sie sich unsere Roadmap an und sagen Sie uns, was Sie benötigen" - -#~ msgid "GCal Feed URL" -#~ msgstr "GCal Feed URL" - -#~ msgid "" -#~ "Show events that span multiple days on each day that they span, rather " -#~ "than just the first day." -#~ msgstr "" -#~ "Zeigen Sie Termine, welche über mehrere Tage andauern, an jedem dieser " -#~ "Tage an, anstatt nur am ersten Tag." - -#~ msgid "Choose how you want your calendar to be displayed." -#~ msgstr "Wählen Sie aus, wie Sie den Kalender anzeigen lassen möchten." - -#~ msgid "Days" -#~ msgstr "Tage" - -#~ msgid "Ahead" -#~ msgstr "in der Zukunft" - -#~ msgid "Documentation & getting started" -#~ msgstr "Dokumentation & Schnellstart-Anleitung" - -#~ msgid "Show paging links:" -#~ msgstr "Seitennavigation anzeigen:" - -#~ msgid "There are currently no events to display." -#~ msgstr "Derzeit sind keine Termine zum Anzeigen vorhanden." - -#~ msgid "Calendar Grid - with AJAX" -#~ msgstr "Kalenderansicht - mit AJAX" - -#~ msgid "Maximum no. events to display. Enter 0 to show all retrieved." -#~ msgstr "" -#~ "Maximal anzuzeigende Anzahl an Terminen. Geben Sie 0 ein, um alle " -#~ "empfangenen auszugeben." - -#~ msgid "Want to know when we release something new?" -#~ msgstr "Wollen Sie wissen, wann wir etwas Neues veröffentlichen?" - -#~ msgid "Get notified of major plugin updates" -#~ msgstr "Lassen Sie sich bei größeren Plugin Updates informieren" - -#~ msgid "Retrieve Events From" -#~ msgstr "Empfange Termine von" - -#~ msgid "Today" -#~ msgstr "Heute" - -#~ msgid "Start of current week" -#~ msgstr "Anfang dieser Woche" - -#~ msgid "Start of current month" -#~ msgstr "Anfang dieses Monats" - -#~ msgid "End of current month" -#~ msgstr "Ende diesen Monats" - -#~ msgid "The beginning of time" -#~ msgstr "Anfang der Zeitrechnung" - -#~ msgid "Specific date" -#~ msgstr "Bestimmtes Datum" - -#~ msgid "The point in time at which to start retrieving events." -#~ msgstr "Ab diesem Zeitpunkt sollen Termine abgerufen werden." - -#~ msgid "Retrieve Events Until" -#~ msgstr "Termine empfangen bis" - -#~ msgid "The end of time" -#~ msgstr "Ende der Zeitrechnung" - -#~ msgid "The point in time at which to stop retrieving events." -#~ msgstr "Bis zu diesem Zeitpunkt sollen Termine empfangen werden." - -#~ msgid "Maximum number of events to show." -#~ msgstr "Maximale Anzahl an Terminen, die angezeigt werden sollen." - -#~ msgctxt "References the Time Format option" -#~ msgid "Leave blank to use the default." -#~ msgstr "Leer lassen, um die Standardwerte zu nutzen." - -#~ msgid "Timezone Adjustment" -#~ msgstr "Zeitzonen-Anpassung" - -#~ msgid "" -#~ "If you are having problems with dates and times displaying in the wrong " -#~ "timezone, select a city in your required timezone here." -#~ msgstr "" -#~ "Falls Sie das Problem haben, dass Daten und Uhrzeiten in der falschen " -#~ "Zeitzone angezeigt werden, wählen Sie hier eine Stadt in Ihrer " -#~ "gewünschten Zeitzone." - -#~ msgid "" -#~ "This will clear your feed cache. This also automatically happens when you " -#~ "save your changes. %sIf you make changes you %sMUST%s save first or your " -#~ "changes will be lost." -#~ msgstr "" -#~ "Diese Option wird Ihren Feed Cache leeren. Dies passiert ebenfalls " -#~ "automatisch, sobald Sie Ihre Änderungen speichern. %sWenn Sie Änderungen " -#~ "vornehmen %sMÜSSEN%s Sie Ihre Änderungen zuerst speichern, sonst gehen " -#~ "diese verloren." - -#~ msgid "Now Accepting 5-Star Reviews!" -#~ msgstr "Ab sofort sind 5-Stern-Bewertungen möglich!" diff --git a/wp-content/plugins/google-calendar-events/languages/gce-es_ES.mo b/wp-content/plugins/google-calendar-events/languages/gce-es_ES.mo deleted file mode 100644 index 4fb462c..0000000 Binary files a/wp-content/plugins/google-calendar-events/languages/gce-es_ES.mo and /dev/null differ diff --git a/wp-content/plugins/google-calendar-events/languages/gce-es_ES.po b/wp-content/plugins/google-calendar-events/languages/gce-es_ES.po deleted file mode 100644 index b58067e..0000000 --- a/wp-content/plugins/google-calendar-events/languages/gce-es_ES.po +++ /dev/null @@ -1,1135 +0,0 @@ -# Copyright (C) 2010 Google Calendar Events -# This file is distributed under the same license as the Google Calendar Events package. -msgid "" -msgstr "" -"Project-Id-Version: Google Calendar Events en español\n" -"Report-Msgid-Bugs-To: https://github.com/pderksen/WP-Google-Calendar-Events/" -"issues\n" -"POT-Creation-Date: 2015-08-31 09:04:08+00:00\n" -"PO-Revision-Date: \n" -"Last-Translator: PNTE \n" -"Language-Team: PNTE \n" -"Language: es\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Poedit 1.6.10\n" -"X-Poedit-Basepath: ..\n" -"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;" -"_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_ex:1,2c;" -"esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n" -"X-Poedit-SourceCharset: UTF-8\n" -"X-Poedit-SearchPath-0: .\n" - -#: class-google-calendar-events-admin.php:138 -#: class-google-calendar-events-admin.php:139 -#: class-google-calendar-events-admin.php:235 -#: includes/register-settings.php:68 -msgid "General Settings" -msgstr "Configuración general" - -#. Plugin Name of the plugin/theme -msgid "Google Calendar Events" -msgstr "Google Calendar Events" - -#: class-google-calendar-events-admin.php:236 -msgid "Feeds" -msgstr "Fuentes RSS" - -#: class-google-calendar-events-admin.php:254 -#: class-google-calendar-events-admin.php:289 -msgid "Add Calendar" -msgstr "" - -#: class-google-calendar-events-admin.php:290 -msgid "Add a calendar feed to your post." -msgstr "" - -#: class-google-calendar-events-admin.php:300 -msgid "Insert Calendar" -msgstr "" - -#: class-google-calendar-events-admin.php:302 -msgid "Could not find any calendars to add to this post." -msgstr "" - -#: class-google-calendar-events-admin.php:303 -msgid "Please add a new calendar feed first." -msgstr "" - -#: class-google-calendar-events.php:162 -msgid "Loading..." -msgstr "" - -#: google-calendar-events.php:34 -msgid "" -"Google Events Calendar requires PHP %1$s and WordPress %2$s to function " -"properly. PHP version found: %3$s. WordPress installed version: %4$s. Please " -"upgrade to meet the minimum requirements." -msgstr "" - -#: includes/admin/admin-functions.php:20 -msgid "Cache has been cleared for this feed." -msgstr "La caché de esta fuente RSS ha sido vaciada." - -#: includes/admin/admin-functions.php:35 includes/admin/admin-functions.php:56 -msgid "Starts:" -msgstr "Comienza:" - -#: includes/admin/admin-functions.php:36 includes/admin/admin-functions.php:58 -msgid "Ends:" -msgstr "Finaliza:" - -#: includes/admin/admin-functions.php:37 includes/admin/admin-functions.php:60 -msgid "Location:" -msgstr "Ubicación:" - -#: includes/admin/admin-functions.php:38 includes/admin/admin-functions.php:61 -msgid "Description:" -msgstr "Descripción:" - -#: includes/admin/admin-functions.php:39 -msgid "More details..." -msgstr "Más detalles..." - -#: includes/admin/admin-functions.php:63 -msgid "More Details" -msgstr "Más detalles" - -#: includes/admin/admin-functions.php:77 includes/gce-feed-cpt.php:328 -#: includes/gce-feed-cpt.php:381 -msgid "Clear Cache" -msgstr "Vaciar la caché" - -#: includes/admin/admin-notice.php:26 -msgid "GCal API Key Notice" -msgstr "" - -#: includes/admin/admin-notice.php:28 -msgid "" -"GCal Events uses the Google Calendar API version 3. By default this plugin " -"uses a public shared key across all plugin users." -msgstr "" - -#: includes/admin/admin-notice.php:30 -msgid "" -"This key is limited to 500,000 requests per day and 5 requests per second. " -"To avoid running into any potential limits you can use your own Google API " -"key." -msgstr "" - -#: includes/admin/admin-notice.php:33 -msgid "Enter your GCal API key" -msgstr "" - -#: includes/admin/admin-notice.php:34 -#, fuzzy -msgid "Configure GCal feeds" -msgstr "Cómo encontrar la URL de la fuente RSS de GCal" - -#: includes/admin/admin-notice.php:35 -msgid "Hide this" -msgstr "" - -#: includes/class-gce-display.php:193 includes/class-gce-display.php:303 -msgid "Back" -msgstr "Anterior" - -#: includes/class-gce-display.php:197 includes/class-gce-display.php:304 -#: includes/class-gce-display.php:310 includes/php-calendar.php:61 -#: includes/php-calendar.php:63 -msgid "Next" -msgstr "Siguiente" - -#: includes/class-gce-display.php:309 includes/php-calendar.php:55 -#: includes/php-calendar.php:57 -#, fuzzy -msgid "Previous" -msgstr "Mes anterior" - -#: includes/class-gce-display.php:406 -msgid "No events to display." -msgstr "No hay ningún evento que mostrar." - -#: includes/class-gce-event.php:555 -msgid "%s year" -msgstr "%s año" - -#: includes/class-gce-event.php:555 -msgid "%s years" -msgstr "%s años" - -#: includes/class-gce-event.php:556 -msgid "%s month" -msgstr "%s mes" - -#: includes/class-gce-event.php:556 -msgid "%s months" -msgstr "%s meses" - -#: includes/class-gce-event.php:557 -msgid "%s week" -msgstr "%s semana" - -#: includes/class-gce-event.php:557 -msgid "%s weeks" -msgstr "%s semanas" - -#: includes/class-gce-event.php:558 -msgid "%s day" -msgstr "%s día" - -#: includes/class-gce-event.php:558 -msgid "%s days" -msgstr "%s días" - -#: includes/class-gce-event.php:559 -msgid "%s hour" -msgstr "%s hora" - -#: includes/class-gce-event.php:559 -msgid "%s hours" -msgstr "%s horas" - -#: includes/class-gce-event.php:560 -msgid "%s min" -msgstr "%s minuto" - -#: includes/class-gce-event.php:560 -msgid "%s mins" -msgstr "%s minutos" - -#: includes/class-gce-feed.php:94 -#, fuzzy -msgid "" -"The Google Calendar ID has not been set. Please make sure to set it " -"correctly in the Feed settings." -msgstr "" -"La URL de la fuente RSS no ha sido configurada. Por favor, asegúrate de que " -"la has configurado correctamente en la configuración de fuentes." - -#: includes/class-gce-feed.php:226 -#, fuzzy -msgid "" -"Some data was retrieved, but could not be parsed successfully. Please ensure " -"your feed settings are correct." -msgstr "" -"Se han recuperado algunos datos, pero no se han podido interpretar " -"correctamente. Por favor, asegúrate de que la URL de la fuente RSS es " -"correcta." - -#: includes/class-gce-feed.php:229 -msgid "An error has occured." -msgstr "" - -#: includes/class-gce-feed.php:234 -#, fuzzy -msgid " Please ensure your calendar ID is correct." -msgstr " Por favor, asegúrate de que la URL de la fuente RSS es correcta." - -#: includes/gce-feed-cpt.php:21 -msgid "Google Calendar Feeds" -msgstr "Fuentes RSS de Google Calendar" - -#: includes/gce-feed-cpt.php:22 includes/gce-feed-cpt.php:24 -#: includes/gce-feed-cpt.php:72 -msgid "Feed" -msgstr "Fuente RSS" - -#: includes/gce-feed-cpt.php:23 -msgid "GCal Events" -msgstr "Eventos de GCal" - -#: includes/gce-feed-cpt.php:25 -msgid "Add New" -msgstr "Añadir nueva" - -#: includes/gce-feed-cpt.php:26 -msgid "Add New Feed" -msgstr "Añadir una nueva fuente RSS" - -#: includes/gce-feed-cpt.php:27 -msgid "New Feed" -msgstr "Nueva fuente RSS" - -#: includes/gce-feed-cpt.php:28 -msgid "Edit Feed" -msgstr "Editar fuente RSS" - -#: includes/gce-feed-cpt.php:29 -msgid "View Feed" -msgstr "Ver fuente RSS" - -#: includes/gce-feed-cpt.php:30 -msgid "All GCal Feeds" -msgstr "Todas las fuentes RSS de GCal" - -#: includes/gce-feed-cpt.php:31 -msgid "Search GCal Feeds" -msgstr "Buscar fuentes RSS de GCal" - -#: includes/gce-feed-cpt.php:32 -msgid "No feeds found." -msgstr "No se ha encontrado ninguna fuente RSS." - -#: includes/gce-feed-cpt.php:33 -msgid "No feeds found in Trash." -msgstr "No se ha encontrado ninguna fuente RSS en la papelera." - -#: includes/gce-feed-cpt.php:70 -msgid "feed" -msgstr "" - -#: includes/gce-feed-cpt.php:75 includes/gce-feed-cpt.php:76 -msgid "%4$s updated. %1$sView %2$s%3$s" -msgstr "%4$s ha sido actualizada. %1$sVer %2$s%3$s" - -#: includes/gce-feed-cpt.php:77 -msgid "%4$s published. %1$sView %2$s%3$s" -msgstr "%4$s ha sido publicada. %1$sVer %2$s%3$s" - -#: includes/gce-feed-cpt.php:78 -msgid "%4$s saved. %1$sView %2$s%3$s" -msgstr "%4$s ha sido guardada. %1$sVer %2$s%3$s" - -#: includes/gce-feed-cpt.php:79 -msgid "%4$s submitted. %1$sView %2$s%3$s" -msgstr "%4$s ha sido enviada. %1$sVer %2$s%3$s" - -#: includes/gce-feed-cpt.php:80 -msgid "%4$s draft updated. %1$sView %2$s%3$s" -msgstr "El borrador de %4$s ha sido actualizado. %1$sVer %2$s%3$s" - -#: includes/gce-feed-cpt.php:95 -msgid "Feed Settings" -msgstr "Configuración de las fuentes RSS" - -#: includes/gce-feed-cpt.php:97 -msgid "Resources" -msgstr "" - -#: includes/gce-feed-cpt.php:98 -msgid "Display Options" -msgstr "Opciones de visualización" - -#: includes/gce-feed-cpt.php:269 -msgid "Feed ID" -msgstr "ID de la fuente RSS" - -#: includes/gce-feed-cpt.php:270 views/admin/gce-feed-meta-display.php:79 -msgid "Feed Shortcode" -msgstr "Shortcode de la fuente RSS" - -#: includes/gce-feed-cpt.php:271 -msgid "Display Type" -msgstr "Modo de presentación" - -#: includes/gce-feed-cpt.php:306 -msgid "Grid" -msgstr "Rejilla" - -#: includes/gce-feed-cpt.php:308 views/admin/gce-feed-meta-display.php:155 -#: views/widgets.php:274 -msgid "List" -msgstr "Lista" - -#: includes/gce-feed-cpt.php:310 views/admin/gce-feed-meta-display.php:156 -#: views/widgets.php:275 -msgid "Grouped List" -msgstr "Lista agrupada" - -#: includes/gce-feed-cpt.php:312 -msgid "Custom Date Range" -msgstr "" - -#: includes/gce-feed-cpt.php:469 -msgid "Feed cache cleared." -msgid_plural "Cleared cache for %s feeds." -msgstr[0] "" -msgstr[1] "" - -#: includes/register-settings.php:29 -msgid "Google API Key" -msgstr "" - -#: includes/register-settings.php:30 -msgid "" -"If left blank all displayed Google calendars will use a public Google API " -"key shared across all plugin users." -msgstr "" - -#: includes/register-settings.php:31 -msgid "" -"Currently the shared key is limited to 500,000 requests per day and 5 " -"requests per second." -msgstr "" - -#: includes/register-settings.php:32 -msgid "" -"To avoid these limits click here for " -"instructions on how to generate and use your own Google API key." -msgstr "" - -#: includes/register-settings.php:39 -msgid "Always Enqueue Scripts & Styles" -msgstr "" - -#: includes/register-settings.php:40 -msgid "Enqueue this plugin's scripts and styles on every post and page." -msgstr "" - -#: includes/register-settings.php:41 -msgid "Useful if using shortcodes in widgets or other non-standard locations." -msgstr "" - -#: includes/register-settings.php:46 -msgid "Disable Plugin CSS" -msgstr "" - -#: includes/register-settings.php:47 -msgid "" -"If this option is checked, this plugin's CSS file will not be referenced." -msgstr "" - -#: includes/register-settings.php:52 -msgid "Save Settings" -msgstr "Guardar la configuración" - -#: includes/register-settings.php:53 -#, fuzzy -msgid "Save your settings when uninstalling this plugin." -msgstr "" -"Guardar la configuración cuando se desinstale el plugin. Es una opción útil " -"en las actualizaciones, o al reinstalar." - -#: includes/register-settings.php:54 -#, fuzzy -msgid "Useful when upgrading or re-installing." -msgstr "" -"Guardar la configuración cuando se desinstale el plugin. Es una opción útil " -"en las actualizaciones, o al reinstalar." - -#: includes/register-settings.php:182 -msgid "" -"The callback function used for the %s setting is missing." -msgstr "" -"Falta la función de callback utilizada para la configuración de %s." - -#: includes/shortcodes.php:97 -msgid "" -"There was a problem with one or more of your feed IDs. Please check your " -"shortcode settings and make sure they are correct." -msgstr "" - -#: views/admin/display-options-meta.php:39 -msgid "" -"Check this box to use the simple display options below instead of the Event " -"Builder code on the left." -msgstr "" -"Marca esta casilla para utilizar las opciones de presentación sencillas que " -"aparecen a continuación, en lugar del código del constructor de eventos de " -"la izquierda." - -#: views/admin/display-options-meta.php:44 -msgid "Start date / time display" -msgstr "Presentación de la fecha y hora de comienzo" - -#: views/admin/display-options-meta.php:45 -msgid "Select how to display the start date / time." -msgstr "Selecciona cómo mostrar la fecha y hora del comienzo." - -#: views/admin/display-options-meta.php:47 -#: views/admin/display-options-meta.php:61 -msgid "None" -msgstr "Ninguna" - -#: views/admin/display-options-meta.php:48 -msgid "Start time" -msgstr "Hora del comienzo" - -#: views/admin/display-options-meta.php:49 -msgid "Start date" -msgstr "Fecha del comienzo" - -#: views/admin/display-options-meta.php:50 -msgid "Start time and date" -msgstr "Hora y fecha del comienzo" - -#: views/admin/display-options-meta.php:51 -msgid "Start date and time" -msgstr "Fecha y hora del comienzo" - -#: views/admin/display-options-meta.php:53 -msgid "Text to display before the start time." -msgstr "Texto que se mostrará antes de la hora del comienzo." - -#: views/admin/display-options-meta.php:58 -msgid "End time/date display" -msgstr "Presentación de la fecha y hora de fin" - -#: views/admin/display-options-meta.php:59 -msgid "Select how to display the end date / time." -msgstr "Selecciona cómo mostrar la fecha y hora del fin." - -#: views/admin/display-options-meta.php:62 -msgid "End time" -msgstr "Hora del fin" - -#: views/admin/display-options-meta.php:63 -msgid "End date" -msgstr "Fecha del fin" - -#: views/admin/display-options-meta.php:64 -msgid "End time and date" -msgstr "Hora y fecha del fin" - -#: views/admin/display-options-meta.php:65 -msgid "End date and time" -msgstr "Fecha y hora del fin" - -#: views/admin/display-options-meta.php:67 -msgid "Text to display before the end time." -msgstr "Texto que se mostrará antes de la hora del fin." - -#: views/admin/display-options-meta.php:72 -msgid "Separator" -msgstr "Separador" - -#: views/admin/display-options-meta.php:74 -msgid "" -"If you have chosen to display both the time and date above, enter the text / " -"characters to display between the time and date here (including any spaces)." -msgstr "" -"Si has seleccionado la opción de mostrar tanto la hora como la fecha, " -"escribe aquí el texto o caracteres que se mostrarán entre la hora y la fecha " -"(incluyendo los espacios)." - -#: views/admin/display-options-meta.php:80 -msgid "Location" -msgstr "Ubicación" - -#: views/admin/display-options-meta.php:82 -msgid "Show the location of events?" -msgstr "¿Quieres que aparezca la ubicación de los eventos?" - -#: views/admin/display-options-meta.php:83 -msgid "Text to display before the location." -msgstr "Texto que se mostrará antes de la ubicación." - -#: views/admin/display-options-meta.php:88 -msgid "Description" -msgstr "Descripción" - -#: views/admin/display-options-meta.php:91 -msgid "" -"Show the description of events? (URLs in the description will be made into " -"links)." -msgstr "" -"¿Quieres que aparezca la descripción de los eventos? (las URLs de las " -"descripciones se convertirán en enlaces)." - -#: views/admin/display-options-meta.php:93 -msgid "Text to display before the description." -msgstr "Texto que se mostrará antes de la descripción." - -#: views/admin/display-options-meta.php:95 -msgid "" -"Maximum number of words to show from description. Leave blank for no limit." -msgstr "" -"Número máximo de palabras que se mostrarán en la descripción. Deja este " -"campo vacío si no quieres ningún límite." - -#: views/admin/display-options-meta.php:100 -msgid "Event Link" -msgstr "Enlace del evento" - -#: views/admin/display-options-meta.php:103 -msgid "Show a link to the Google Calendar page for an event?" -msgstr "" -"¿Quieres que aparezca un enlace a la página de Google Calendar " -"correspondiente a un evento?" - -#: views/admin/display-options-meta.php:107 -msgid "Links open in a new window / tab?" -msgstr "¿Quieres que los enlaces se abran en una nueva ventana o pestaña?" - -#: views/admin/display-options-meta.php:109 -msgid "The link text to be displayed." -msgstr "El texto del enlace que se mostrará." - -#: views/admin/gce-feed-meta-display.php:69 -msgid "Want to be in the know?" -msgstr "¿Quieres estar informado?" - -#: views/admin/gce-feed-meta-display.php:72 -msgid "Get notified when new features are released" -msgstr "Consigue notificaciones de la publicación de las nuevas versiones" - -#: views/admin/gce-feed-meta-display.php:90 -msgid "" -"Copy and paste this shortcode to display this Google Calendar feed on any " -"post or page." -msgstr "" -"Copia y pega este shortcode para mostrar esta fuente RSS de Google Calendar " -"en cualquier entrada o página." - -#: views/admin/gce-feed-meta-display.php:91 -msgid "" -"To avoid display issues, make sure to paste the shortcode in the Text tab of " -"the post editor." -msgstr "" -"Para evitar problemas de presentación, asegúrate de copiar el shortcode " -"desde la pestaña \"Texto\" del editor de entradas." - -#: views/admin/gce-feed-meta-display.php:96 -#, fuzzy -msgid "Google Calendar ID" -msgstr "Fuentes RSS de Google Calendar" - -#: views/admin/gce-feed-meta-display.php:100 -#, fuzzy -msgid "The Google Calendar ID." -msgstr "La URL de la fuente RSS de Google Calendar." - -#: views/admin/gce-feed-meta-display.php:100 -msgid "Example" -msgstr "Ejemplo" - -#: views/admin/gce-feed-meta-display.php:102 -#, fuzzy -msgid "How to find your Google Calendar ID" -msgstr "Cómo encontrar la URL de la fuente RSS de GCal" - -#: views/admin/gce-feed-meta-display.php:115 -msgid "Timezone" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:122 -msgid "It is recommended to use the calendar default timezone." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:127 -msgid "Search Query" -msgstr "Consulta de búsqueda" - -#: views/admin/gce-feed-meta-display.php:130 -msgid "Find and show events based on a search query." -msgstr "Encuentra y muestra los eventos basados en una consulta de búsqueda." - -#: views/admin/gce-feed-meta-display.php:135 -msgid "Expand Recurring Events?" -msgstr "¿Quieres expandir los eventos recurrentes?" - -#: views/admin/gce-feed-meta-display.php:137 -msgid "Yes" -msgstr "Sí" - -#: views/admin/gce-feed-meta-display.php:138 -#, fuzzy -msgid "" -"Display recurring events each time they occur. If disabled, events will be " -"displayed only the first time they occur." -msgstr "" -"Esta opción mostrará los eventos recurrentes cada vez que ocurran; de otro " -"modo, solo mostrará el evento la primera vez que ocurra." - -#: views/admin/gce-feed-meta-display.php:143 -msgid "Multiple Day Events" -msgstr "Eventos de múltiples días" - -#: views/admin/gce-feed-meta-display.php:145 -msgid "Show on each day" -msgstr "Mostrar cada día" - -#: views/admin/gce-feed-meta-display.php:146 -msgid "" -"Display multiple day events on each day that they span. If disabled, " -"multiple day events will be displayed only on the first day they occur." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:151 -msgid "Display Mode" -msgstr "Modo de presentación" - -#: views/admin/gce-feed-meta-display.php:154 views/widgets.php:273 -msgid "Grid (Month view)" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:157 views/widgets.php:276 -msgid "Custom Date Range (List)" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:158 views/widgets.php:277 -msgid "Custom Date Range (Grid)" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:160 -#, fuzzy -msgid "Select how to display this feed." -msgstr "Selecciona cómo mostrar la fecha y hora del comienzo." - -#: views/admin/gce-feed-meta-display.php:165 -#, fuzzy -msgid "Events per Page" -msgstr "Número de eventos por página" - -#: views/admin/gce-feed-meta-display.php:168 views/widgets.php:292 -msgid "Number of Days" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:169 views/widgets.php:293 -#, fuzzy -msgid "Number of Events" -msgstr "Número de eventos por página" - -#: views/admin/gce-feed-meta-display.php:170 views/widgets.php:294 -msgid "One Week" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:171 views/widgets.php:295 -#, fuzzy -msgid "One Month" -msgstr "Meses" - -#: views/admin/gce-feed-meta-display.php:176 -msgid "How many events to display per page (List View only)." -msgstr "" -"¿Cuántos eventos quieres mostrar por página? (solo en la vista de lista)." - -#: views/admin/gce-feed-meta-display.php:181 -msgid "Display Start Date Offset" -msgstr "Mostrar el desplazamiento de la fecha de comienzo" - -#: views/admin/gce-feed-meta-display.php:184 -#: views/admin/gce-feed-meta-display.php:196 views/widgets.php:309 -msgid "Number of Days Back" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:185 -#: views/admin/gce-feed-meta-display.php:215 views/widgets.php:310 -msgid "Number of Days Forward" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:188 views/widgets.php:314 -#, fuzzy -msgid "" -"Change to initially display events on a date other than today (List View " -"only)." -msgstr "" -"Cambia este valor si necesitas mostrar inicialmente los eventos en una fecha " -"distinta a la de hoy (solo en la vista de lista)." - -#: views/admin/gce-feed-meta-display.php:193 -#, fuzzy -msgid "Earliest Feed Event Date" -msgstr "Fecha de inicio máxima de la fuente RSS" - -#: views/admin/gce-feed-meta-display.php:197 -#, fuzzy -msgid "Number of Months Back" -msgstr "Número de eventos por página" - -#: views/admin/gce-feed-meta-display.php:198 -#, fuzzy -msgid "Number of Years Back" -msgstr "Número de eventos por página" - -#: views/admin/gce-feed-meta-display.php:204 -#, fuzzy -msgid "Set how far back to retrieve events regardless of initial display." -msgstr "" -"Define desde qué momento en el pasado puedes recuperar los eventos, " -"independientemente del mes o de la página que se muestra." - -#: views/admin/gce-feed-meta-display.php:206 -msgid "" -"Note: Total events are currently limited to 2,500 by the " -"Google Calendar API." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:212 -#, fuzzy -msgid "Latest Feed Event Date" -msgstr "Fecha de inicio máxima de la fuente RSS" - -#: views/admin/gce-feed-meta-display.php:216 -#, fuzzy -msgid "Number of Months Forward" -msgstr "Número de eventos por página" - -#: views/admin/gce-feed-meta-display.php:217 -#, fuzzy -msgid "Number of Years Forward" -msgstr "Número de eventos por página" - -#: views/admin/gce-feed-meta-display.php:222 -#, fuzzy -msgid "" -"Set how far in the future to retrieve events regardless of initial display." -msgstr "" -"Define hasta qué momento en el futuro puedes recuperar los eventos, " -"independientemente del mes o de la página que se muestra." - -#: views/admin/gce-feed-meta-display.php:227 -msgid "Use Custom Date Range" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:233 -msgid "" -"Set a specific range of events to retrieve. Leaving either field blank will " -"set the date to the current day." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:239 views/widgets.php:324 -msgid "Show Paging Links" -msgstr "Mostrar enlaces de paginación" - -#: views/admin/gce-feed-meta-display.php:242 -#, fuzzy -msgid "Display Next and Back navigation links." -msgstr "" -"Marca esta opción para mostrar los enlaces de navegación \"Siguiente\" y " -"\"Anterior\"" - -#: views/admin/gce-feed-meta-display.php:247 views/widgets.php:327 -msgid "Show Tooltips" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:250 -msgid "Display tooltips when hovering over events (Grid View only)." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:255 -msgid "Date Format" -msgstr "Formato de fecha" - -#: views/admin/gce-feed-meta-display.php:259 -#: views/admin/gce-feed-meta-display.php:270 -msgid "Use %sPHP date formatting%s." -msgstr "Utilizar el %sformato de fecha de PHP%s." - -#: views/admin/gce-feed-meta-display.php:260 -#: views/admin/gce-feed-meta-display.php:271 -msgid "Leave blank to use the default." -msgstr "Deja este campo en blanco para utilizar el valor por defecto." - -#: views/admin/gce-feed-meta-display.php:266 -msgid "Time Format" -msgstr "Formato de hora" - -#: views/admin/gce-feed-meta-display.php:277 -msgid "Cache Duration" -msgstr "Duración de la caché" - -#: views/admin/gce-feed-meta-display.php:280 -msgid "" -"The length of time, in seconds, to cache the feed (43200 = 12 hours). If " -"this feed changes regularly, you may want to reduce the cache duration." -msgstr "" -"La cantidad de tiempo, en segundos, para mantener la fuente RSS en la caché " -"((43200 = 12 horas). Si esta fuente RSS cambia con regularidad, es " -"conveniente reducir la duración de la caché." - -#: views/admin/gce-feed-sidebar-help.php:6 -#, fuzzy -msgid "Documentation" -msgstr "Ubicación" - -#: views/admin/gce-feed-sidebar-help.php:11 -msgid "Community support forums" -msgstr "Foros de soporte de la comunidad" - -#: views/admin/gce-feed-sidebar-help.php:16 -msgid "Get notified of new features" -msgstr "Consigue notificaciones de nuevas funcionalidades" - -#: views/admin/gce-feed-sidebar-help.php:21 -msgid "" -"Are you finding our GCal plugin helpful? 5-star ratings keep us motivated!" -msgstr "" - -#: views/admin/gce-feed-sidebar-help.php:25 -msgid "Rate our plugin on wordpress.org" -msgstr "" - -#: views/widgets.php:28 -msgid "" -"Display a list or calendar grid of events from one or more Google Calendar " -"feeds you have added" -msgstr "" -"Muestra una lista o rejilla de calendario de los eventos de uno o más " -"fuentes RSS de Google Calendar que hayas añadido." - -#: views/widgets.php:146 -msgid "" -"No valid Feed IDs have been entered for this widget. Please check that you " -"have entered the IDs correctly in the widget settings (Appearance > " -"Widgets), and that the Feeds have not been deleted." -msgstr "" -"No se ha introducido en este widget ningún ID de fuente RSS válido. Por " -"favor, comprueba que has escrito el ID correctamente en la configuración del " -"widget (Apariencia > Widgets) y que la fuente RSS no ha sido borrada." - -#: views/widgets.php:186 -msgid "" -"There was a problem with one or more of your feed IDs. Please check your " -"widget settings and make sure they are correct." -msgstr "" - -#: views/widgets.php:192 -msgid "You have not added any feeds yet." -msgstr "Todavía no has añadido ninguna fuente RSS." - -#: views/widgets.php:235 -msgid "There are no feeds created yet." -msgstr "Todavía no se ha creado ninguna fuente RSS." - -#: views/widgets.php:236 -msgid "Add your first feed!" -msgstr "Añade tu primera fuente RSS." - -#: views/widgets.php:246 -msgid "Events on" -msgstr "Eventos del" - -#: views/widgets.php:260 -msgid "Title:" -msgstr "Título:" - -#: views/widgets.php:265 -msgid "Feeds to Display (comma separated list - i.e. 101,102,103):" -msgstr "" -"Fuentes RSS que deseas mostrar; sus IDs se deben anotar como una lista " -"separada por comas (por ejemplo, 101,102,103):" - -#: views/widgets.php:271 -msgid "Display Events as:" -msgstr "Mostrar los eventos como:" - -#: views/widgets.php:282 -msgid "Sort Order (List View only):" -msgstr "Criterio de ordenación (solo en la vista de lista):" - -#: views/widgets.php:284 -msgid "Ascending" -msgstr "Ascendente" - -#: views/widgets.php:285 -msgid "Descending" -msgstr "Descendente" - -#: views/widgets.php:290 -#, fuzzy -msgid "Events per Page (List View only):" -msgstr "Número de eventos por página (solo en la vista de lista):" - -#: views/widgets.php:303 -msgid "" -"This setting will pull from the custom date range set in the main feed " -"settings and cannot be changed here." -msgstr "" - -#: views/widgets.php:307 -msgid "Display Start Date Offset (List View only):" -msgstr "" -"Mostrar el desplazamiento de la fecha de comienzo (solo en la vista de " -"lista):" - -#: views/widgets.php:318 -msgid "" -"Display Title on Tooltip/List Item (e.g. 'Events on 7th March'). Grouped " -"lists always have a title displayed." -msgstr "" -"Mostrar el título en el globo de información o en el elemento de la lista " -"(por ejemplo, \"Eventos del 7 de marzo\"). Las listas agrupadas siempre " -"muestran el título." - -#. Plugin URI of the plugin/theme -msgid "https://wordpress.org/plugins/google-calendar-events/" -msgstr "" - -#. Description of the plugin/theme -msgid "" -"Show off your Google calendar in grid (month) or list view, in a post, page " -"or widget, and in a style that matches your site." -msgstr "" - -#. Author of the plugin/theme -msgid "Moonstone Media" -msgstr "" - -#. Author URI of the plugin/theme -msgid "http://moonstonemediagroup.com" -msgstr "" - -#: includes/class-gce-event.php:588 -msgctxt "human_time_diff" -msgid ", " -msgstr ", " - -#: views/admin/gce-feed-meta-display.php:118 -msgctxt "Use the calendar default setting" -msgid "Calendar default" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:119 -msgctxt "Use this site default setting" -msgid "Site default" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:231 -msgctxt "separator between custom date range fields" -msgid "to" -msgstr "" - -#, fuzzy -#~ msgid "Review this Plugin Now" -#~ msgstr "Valora este plugin" - -#~ msgid "Next month" -#~ msgstr "Mes siguiente" - -#~ msgid "" -#~ "The feed could not be found (404). Please ensure your feed URL is correct." -#~ msgstr "" -#~ "No se ha podido encontrar la fuente RSS (error 404). Por favor, asegúrate " -#~ "de que la URL de la fuente RSS es correcta." - -#~ msgid "" -#~ "Access to this feed was denied (403). Please ensure you have public " -#~ "sharing enabled for your calendar." -#~ msgstr "" -#~ "Se ha denegado el acceso a la fuente RSS (error 403). Por favor, " -#~ "asegúrate de que has configurado tu calendario para que sea compartido " -#~ "públicamente." - -#~ msgid "" -#~ "The feed data could not be retrieved. Error code: %s. Please ensure your " -#~ "feed URL is correct." -#~ msgstr "" -#~ "No se han podido recuperar los datos de la fuente RSS. Código de error: " -#~ "%s. Por favor, asegúrate de que la URL de tu fuente RSS es correcta." - -#~ msgid "Helpful Links" -#~ msgstr "Enlaces útiles" - -#~ msgid "" -#~ "We're smack dab in the middle of building additional " -#~ "features for this plugin. Have ideas?" -#~ msgstr "" -#~ "Estamos en proceso de construir funcionalidades adicionales para el " -#~ "plugin. ¿Tienes alguna idea?" - -#~ msgid "Visit our roadmap and tell us what you're looking for" -#~ msgstr "Visita nuestro mapa de ruta y dinos lo que estás buscando" - -#~ msgid "GCal Feed URL" -#~ msgstr "URL de la fuente RSS de GCal" - -#~ msgid "" -#~ "Show events that span multiple days on each day that they span, rather " -#~ "than just the first day." -#~ msgstr "" -#~ "Mostrar eventos que abarcan varios días en cada uno de dichos días, en " -#~ "lugar de solo en el primer día." - -#~ msgid "Choose how you want your calendar to be displayed." -#~ msgstr "Selecciona cómo quieres que se muestre tu calendario." - -#~ msgid "Days" -#~ msgstr "Días" - -#~ msgid "Events" -#~ msgstr "Eventos" - -#~ msgid "Ahead" -#~ msgstr "Siguiente" - -#~ msgid "Minimum Feed Start Date" -#~ msgstr "Fecha de inicio mínima de la fuente RSS" - -#~ msgid "Years" -#~ msgstr "Años" - -#~ msgid "back" -#~ msgstr "hacia atrás" - -#~ msgid "forward" -#~ msgstr "hacia adelante" - -#~ msgid "Documentation & getting started" -#~ msgstr "Documentación y comenzar" - -#~ msgid "Show Paging Links:" -#~ msgstr "Mostrar enlaces de paginación" - -#~ msgctxt "References the Time Format option" -#~ msgid "Leave blank to use the default." -#~ msgstr "Déjalo en blanco para utilizar el valor por defecto." - -#~ msgid "Show paging links:" -#~ msgstr "Mostrar enlaces de paginación:" - -#~ msgid "Retrieve Events From" -#~ msgstr "Recuperar eventos desde" - -#~ msgid "Today" -#~ msgstr "Hoy" - -#~ msgid "Start of current week" -#~ msgstr "Comienzo de la semana actual" - -#~ msgid "Start of current month" -#~ msgstr "Comienzo del mes actual" - -#~ msgid "End of current month" -#~ msgstr "Fin del mes actual" - -#~ msgid "The beginning of time" -#~ msgstr "El comienzo de la hora" - -#~ msgid "Specific date" -#~ msgstr "Fecha específica" - -#~ msgid "The point in time at which to start retrieving events." -#~ msgstr "" -#~ "El punto del tiempo a partir del cual se comenzará a recuperar los " -#~ "eventos." - -#~ msgid "Retrieve Events Until" -#~ msgstr "Recuperar eventos hasta" - -#~ msgid "The end of time" -#~ msgstr "El final de la hora" - -#~ msgid "The point in time at which to stop retrieving events." -#~ msgstr "" -#~ "El punto del tiempo a partir del cual se dejará de recuperar los eventos." - -#~ msgid "Maximum number of events to show." -#~ msgstr "Número máximo de eventos que se mostrarán" - -#~ msgid "" -#~ "This will clear your feed cache. This also automatically happens when you " -#~ "save your changes. %sIf you make changes you %sMUST%s save first or your " -#~ "changes will be lost." -#~ msgstr "" -#~ "Esta acción vaciará tu caché de fuentes RSS. Esto también ocurre " -#~ "automáticamente cuando guardar tus cambios. %sSi haces cambios, %sDEBES%s " -#~ "guardarlos en primer lugar, o tus cambios se perderán." - -#~ msgid "Calendar Grid - with AJAX" -#~ msgstr "Calendario en rejilla con AJAX" - -#~ msgid "Maximum no. events to display. Enter 0 to show all retrieved." -#~ msgstr "" -#~ "Número máximo de eventos que se mostrarán. Escribe el valor \"0\" para " -#~ "mostrar todos los recuperados." - -#~ msgid "Get new feature release notifications" -#~ msgstr "Consigue notificaciones de la publicación de las nuevas versiones" - -#~ msgid "Mind a plugin rating? Thanks!" -#~ msgstr "¿Te importa darle tu valoración al plugin? ¡Gracias!" diff --git a/wp-content/plugins/google-calendar-events/languages/gce-fi.mo b/wp-content/plugins/google-calendar-events/languages/gce-fi.mo deleted file mode 100644 index 289d722..0000000 Binary files a/wp-content/plugins/google-calendar-events/languages/gce-fi.mo and /dev/null differ diff --git a/wp-content/plugins/google-calendar-events/languages/gce-fi.po b/wp-content/plugins/google-calendar-events/languages/gce-fi.po deleted file mode 100644 index b991b51..0000000 --- a/wp-content/plugins/google-calendar-events/languages/gce-fi.po +++ /dev/null @@ -1,1036 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: Google Calendar Events\n" -"Report-Msgid-Bugs-To: https://github.com/pderksen/WP-Google-Calendar-Events/" -"issues\n" -"POT-Creation-Date: 2015-08-31 09:04:08+00:00\n" -"PO-Revision-Date: 2015-08-29 02:04+0200\n" -"Last-Translator: \n" -"Language-Team: Ville Myllymäki \n" -"Language: FIN\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.5.4\n" -"X-Poedit-Basepath: .\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Poedit-KeywordsList: __;_e\n" -"X-Poedit-SearchPath-0: google-calendar-events\n" - -#: class-google-calendar-events-admin.php:138 -#: class-google-calendar-events-admin.php:139 -#: class-google-calendar-events-admin.php:235 -#: includes/register-settings.php:68 -#, fuzzy -msgid "General Settings" -msgstr "Yleiset asetukset" - -#. Plugin Name of the plugin/theme -msgid "Google Calendar Events" -msgstr "Google Calendar Events" - -#: class-google-calendar-events-admin.php:236 -msgid "Feeds" -msgstr "Syötteet" - -#: class-google-calendar-events-admin.php:254 -#: class-google-calendar-events-admin.php:289 -msgid "Add Calendar" -msgstr "" - -#: class-google-calendar-events-admin.php:290 -msgid "Add a calendar feed to your post." -msgstr "" - -#: class-google-calendar-events-admin.php:300 -msgid "Insert Calendar" -msgstr "" - -#: class-google-calendar-events-admin.php:302 -msgid "Could not find any calendars to add to this post." -msgstr "" - -#: class-google-calendar-events-admin.php:303 -msgid "Please add a new calendar feed first." -msgstr "" - -#: class-google-calendar-events.php:162 -msgid "Loading..." -msgstr "Lataa..." - -#: google-calendar-events.php:34 -msgid "" -"Google Events Calendar requires PHP %1$s and WordPress %2$s to function " -"properly. PHP version found: %3$s. WordPress installed version: %4$s. Please " -"upgrade to meet the minimum requirements." -msgstr "" - -#: includes/admin/admin-functions.php:20 -msgid "Cache has been cleared for this feed." -msgstr "Tämän syötteen välimuisti on tyhjätty." - -#: includes/admin/admin-functions.php:35 includes/admin/admin-functions.php:56 -msgid "Starts:" -msgstr "Alkaa:" - -#: includes/admin/admin-functions.php:36 includes/admin/admin-functions.php:58 -msgid "Ends:" -msgstr "Loppuu:" - -#: includes/admin/admin-functions.php:37 includes/admin/admin-functions.php:60 -msgid "Location:" -msgstr "Sijainti:" - -#: includes/admin/admin-functions.php:38 includes/admin/admin-functions.php:61 -msgid "Description:" -msgstr "Kuvaus:" - -#: includes/admin/admin-functions.php:39 -msgid "More details..." -msgstr "Lisätietoja..." - -#: includes/admin/admin-functions.php:63 -msgid "More Details" -msgstr "Lisätietoja" - -#: includes/admin/admin-functions.php:77 includes/gce-feed-cpt.php:328 -#: includes/gce-feed-cpt.php:381 -msgid "Clear Cache" -msgstr "Tyhjää välimuisti" - -#: includes/admin/admin-notice.php:26 -msgid "GCal API Key Notice" -msgstr "" - -#: includes/admin/admin-notice.php:28 -msgid "" -"GCal Events uses the Google Calendar API version 3. By default this plugin " -"uses a public shared key across all plugin users." -msgstr "" - -#: includes/admin/admin-notice.php:30 -msgid "" -"This key is limited to 500,000 requests per day and 5 requests per second. " -"To avoid running into any potential limits you can use your own Google API " -"key." -msgstr "" - -#: includes/admin/admin-notice.php:33 -msgid "Enter your GCal API key" -msgstr "" - -#: includes/admin/admin-notice.php:34 -#, fuzzy -msgid "Configure GCal feeds" -msgstr "Miten löydät GCalin feedin osoitteen" - -#: includes/admin/admin-notice.php:35 -msgid "Hide this" -msgstr "" - -#: includes/class-gce-display.php:193 includes/class-gce-display.php:303 -msgid "Back" -msgstr "Takaisin" - -#: includes/class-gce-display.php:197 includes/class-gce-display.php:304 -#: includes/class-gce-display.php:310 includes/php-calendar.php:61 -#: includes/php-calendar.php:63 -msgid "Next" -msgstr "Seuraava" - -#: includes/class-gce-display.php:309 includes/php-calendar.php:55 -#: includes/php-calendar.php:57 -msgid "Previous" -msgstr "" - -#: includes/class-gce-display.php:406 -msgid "No events to display." -msgstr "Ei näytettäviä tapahtumia." - -#: includes/class-gce-event.php:555 -msgid "%s year" -msgstr "%s vuosi" - -#: includes/class-gce-event.php:555 -msgid "%s years" -msgstr "%s vuotta" - -#: includes/class-gce-event.php:556 -msgid "%s month" -msgstr "%s kuukausi" - -#: includes/class-gce-event.php:556 -msgid "%s months" -msgstr "%s kuukautta" - -#: includes/class-gce-event.php:557 -msgid "%s week" -msgstr "%s viikko" - -#: includes/class-gce-event.php:557 -msgid "%s weeks" -msgstr "%s viikkoa" - -#: includes/class-gce-event.php:558 -msgid "%s day" -msgstr "%s päivä" - -#: includes/class-gce-event.php:558 -msgid "%s days" -msgstr "%s päivää" - -#: includes/class-gce-event.php:559 -msgid "%s hour" -msgstr "%s tunti" - -#: includes/class-gce-event.php:559 -msgid "%s hours" -msgstr "%s tuntia" - -#: includes/class-gce-event.php:560 -msgid "%s min" -msgstr "%s minuutti" - -#: includes/class-gce-event.php:560 -msgid "%s mins" -msgstr "%s minuuttia" - -#: includes/class-gce-feed.php:94 -#, fuzzy -msgid "" -"The Google Calendar ID has not been set. Please make sure to set it " -"correctly in the Feed settings." -msgstr "" -"Syötteen URL-osoite ei ole asetettuna. Tarkista, että olet asettanut sen " -"syötteen asetuksista." - -#: includes/class-gce-feed.php:226 -#, fuzzy -msgid "" -"Some data was retrieved, but could not be parsed successfully. Please ensure " -"your feed settings are correct." -msgstr "" -"Osa tiedoista saatiin ladattua, mutta niitä ei voitu validoida kunnolla. " -"Tarkista, että syötteen osoite on oikein." - -#: includes/class-gce-feed.php:229 -msgid "An error has occured." -msgstr "" - -#: includes/class-gce-feed.php:234 -#, fuzzy -msgid " Please ensure your calendar ID is correct." -msgstr "Tarkista, että syötteen URL-osoite on oikein." - -#: includes/gce-feed-cpt.php:21 -msgid "Google Calendar Feeds" -msgstr "Google Kalenterin Syötteet" - -#: includes/gce-feed-cpt.php:22 includes/gce-feed-cpt.php:24 -#: includes/gce-feed-cpt.php:72 -msgid "Feed" -msgstr "Syöte" - -#: includes/gce-feed-cpt.php:23 -msgid "GCal Events" -msgstr "GCal tapahtumat" - -#: includes/gce-feed-cpt.php:25 -msgid "Add New" -msgstr "Lisää uusi" - -#: includes/gce-feed-cpt.php:26 -msgid "Add New Feed" -msgstr "Lisää uusi syöte" - -#: includes/gce-feed-cpt.php:27 -msgid "New Feed" -msgstr "Uusi syöte" - -#: includes/gce-feed-cpt.php:28 -msgid "Edit Feed" -msgstr "Muokkaa syötettä" - -#: includes/gce-feed-cpt.php:29 -msgid "View Feed" -msgstr "Näytä syöte" - -#: includes/gce-feed-cpt.php:30 -msgid "All GCal Feeds" -msgstr "Kaikki GCAL syötteet" - -#: includes/gce-feed-cpt.php:31 -msgid "Search GCal Feeds" -msgstr "Etsi GCAL syötteitä" - -#: includes/gce-feed-cpt.php:32 -msgid "No feeds found." -msgstr "Syötteitä ei löytynyt." - -#: includes/gce-feed-cpt.php:33 -msgid "No feeds found in Trash." -msgstr "Syötteitä ei löytynyt roskakorista." - -#: includes/gce-feed-cpt.php:70 -msgid "feed" -msgstr "syöte" - -#: includes/gce-feed-cpt.php:75 includes/gce-feed-cpt.php:76 -msgid "%4$s updated. %1$sView %2$s%3$s" -msgstr "%4$s päivitetty. %1$sNäytä %2$s%3$s" - -#: includes/gce-feed-cpt.php:77 -msgid "%4$s published. %1$sView %2$s%3$s" -msgstr "%4$s julkaistu. %1$sNäytä %2$s%3$s" - -#: includes/gce-feed-cpt.php:78 -msgid "%4$s saved. %1$sView %2$s%3$s" -msgstr "%4$s tallennettu. %1$sNäytä %2$s%3$s" - -#: includes/gce-feed-cpt.php:79 -msgid "%4$s submitted. %1$sView %2$s%3$s" -msgstr "%4$s lähetetty. %1$sNäytä %2$s%3$s" - -#: includes/gce-feed-cpt.php:80 -msgid "%4$s draft updated. %1$sView %2$s%3$s" -msgstr "%4$s vedos tallennettu. %1$sNäytä %2$s%3$s" - -#: includes/gce-feed-cpt.php:95 -#, fuzzy -msgid "Feed Settings" -msgstr "Tallenna asetukset" - -#: includes/gce-feed-cpt.php:97 -msgid "Resources" -msgstr "" - -#: includes/gce-feed-cpt.php:98 -#, fuzzy -msgid "Display Options" -msgstr "Näyttötapa" - -#: includes/gce-feed-cpt.php:269 -msgid "Feed ID" -msgstr "Syöte ID" - -#: includes/gce-feed-cpt.php:270 views/admin/gce-feed-meta-display.php:79 -msgid "Feed Shortcode" -msgstr "Syötteen lyhytkoodi" - -#: includes/gce-feed-cpt.php:271 -msgid "Display Type" -msgstr "Näyttötapa" - -#: includes/gce-feed-cpt.php:306 -msgid "Grid" -msgstr "Ruudukko" - -#: includes/gce-feed-cpt.php:308 views/admin/gce-feed-meta-display.php:155 -#: views/widgets.php:274 -msgid "List" -msgstr "Lista" - -#: includes/gce-feed-cpt.php:310 views/admin/gce-feed-meta-display.php:156 -#: views/widgets.php:275 -msgid "Grouped List" -msgstr "Ryhmitelty lista" - -#: includes/gce-feed-cpt.php:312 -msgid "Custom Date Range" -msgstr "" - -#: includes/gce-feed-cpt.php:469 -msgid "Feed cache cleared." -msgid_plural "Cleared cache for %s feeds." -msgstr[0] "" -msgstr[1] "" - -#: includes/register-settings.php:29 -msgid "Google API Key" -msgstr "" - -#: includes/register-settings.php:30 -msgid "" -"If left blank all displayed Google calendars will use a public Google API " -"key shared across all plugin users." -msgstr "" - -#: includes/register-settings.php:31 -msgid "" -"Currently the shared key is limited to 500,000 requests per day and 5 " -"requests per second." -msgstr "" - -#: includes/register-settings.php:32 -msgid "" -"To avoid these limits click here for " -"instructions on how to generate and use your own Google API key." -msgstr "" - -#: includes/register-settings.php:39 -msgid "Always Enqueue Scripts & Styles" -msgstr "" - -#: includes/register-settings.php:40 -msgid "Enqueue this plugin's scripts and styles on every post and page." -msgstr "" - -#: includes/register-settings.php:41 -msgid "Useful if using shortcodes in widgets or other non-standard locations." -msgstr "" - -#: includes/register-settings.php:46 -msgid "Disable Plugin CSS" -msgstr "" - -#: includes/register-settings.php:47 -msgid "" -"If this option is checked, this plugin's CSS file will not be referenced." -msgstr "" - -#: includes/register-settings.php:52 -msgid "Save Settings" -msgstr "Tallenna asetukset" - -#: includes/register-settings.php:53 -#, fuzzy -msgid "Save your settings when uninstalling this plugin." -msgstr "" -"Tallenna asetukset kun lisäosa poistetaan. Näppärää kun lisäosa päivitetään " -"tai asennetaan uudestaan." - -#: includes/register-settings.php:54 -#, fuzzy -msgid "Useful when upgrading or re-installing." -msgstr "" -"Tallenna asetukset kun lisäosa poistetaan. Näppärää kun lisäosa päivitetään " -"tai asennetaan uudestaan." - -#: includes/register-settings.php:182 -msgid "" -"The callback function used for the %s setting is missing." -msgstr "" -"%s-asetukselle käytettyä takaisinkutsufunktiota ei löydy." - -#: includes/shortcodes.php:97 -msgid "" -"There was a problem with one or more of your feed IDs. Please check your " -"shortcode settings and make sure they are correct." -msgstr "" - -#: views/admin/display-options-meta.php:39 -msgid "" -"Check this box to use the simple display options below instead of the Event " -"Builder code on the left." -msgstr "" -"Valitse tämä laatikko käyttääksesi yksinkertaista näyttövalintaa alla. " -"Muuten käytetään Event Builder-koodia vasemmalla." - -#: views/admin/display-options-meta.php:44 -msgid "Start date / time display" -msgstr "Aloitusaika / ajan näyttö" - -#: views/admin/display-options-meta.php:45 -msgid "Select how to display the start date / time." -msgstr "Valitse, kuinka aloituspäivä/aika näytetään." - -#: views/admin/display-options-meta.php:47 -#: views/admin/display-options-meta.php:61 -msgid "None" -msgstr "Ei mitään" - -#: views/admin/display-options-meta.php:48 -msgid "Start time" -msgstr "Aloitusaika" - -#: views/admin/display-options-meta.php:49 -msgid "Start date" -msgstr "Aloituspäivä" - -#: views/admin/display-options-meta.php:50 -msgid "Start time and date" -msgstr "Aloitus aika ja päivä" - -#: views/admin/display-options-meta.php:51 -msgid "Start date and time" -msgstr "Aloitus päivä ja aika" - -#: views/admin/display-options-meta.php:53 -msgid "Text to display before the start time." -msgstr "Ennen aloitusaikaa näytettävä teksti" - -#: views/admin/display-options-meta.php:58 -msgid "End time/date display" -msgstr "Loppumisajan/päivän näyttö" - -#: views/admin/display-options-meta.php:59 -msgid "Select how to display the end date / time." -msgstr "Valitse, miten loppumispäivä/aika näytetään." - -#: views/admin/display-options-meta.php:62 -msgid "End time" -msgstr "Loppumisaika" - -#: views/admin/display-options-meta.php:63 -msgid "End date" -msgstr "Loppumisaika" - -#: views/admin/display-options-meta.php:64 -msgid "End time and date" -msgstr "Loppumisaika ja -päivä" - -#: views/admin/display-options-meta.php:65 -msgid "End date and time" -msgstr "Loppumispäivä ja -aika" - -#: views/admin/display-options-meta.php:67 -msgid "Text to display before the end time." -msgstr "Ennen päättymisaikaa näytettävä teksti." - -#: views/admin/display-options-meta.php:72 -msgid "Separator" -msgstr "Erottaja" - -#: views/admin/display-options-meta.php:74 -msgid "" -"If you have chosen to display both the time and date above, enter the text / " -"characters to display between the time and date here (including any spaces)." -msgstr "" -"Jos olet valinnut sekä ajan että päivän näytettäväksi, kirjoita niiden " -"välillä näytettävät kirjaimet/merkit, sisältäen välilyönnit." - -#: views/admin/display-options-meta.php:80 -msgid "Location" -msgstr "Sijainti" - -#: views/admin/display-options-meta.php:82 -msgid "Show the location of events?" -msgstr "Näytä tapahtuman sijainti?" - -#: views/admin/display-options-meta.php:83 -msgid "Text to display before the location." -msgstr "Ennen sijaintia näytettävä teksti." - -#: views/admin/display-options-meta.php:88 -msgid "Description" -msgstr "Kuvaus" - -#: views/admin/display-options-meta.php:91 -msgid "" -"Show the description of events? (URLs in the description will be made into " -"links)." -msgstr "" -"Näytetäänkö kuvausten tapahtuma? (URL-osoitteet kuvauksessa tehdään " -"linkeiksi)." - -#: views/admin/display-options-meta.php:93 -msgid "Text to display before the description." -msgstr "Ennen kuvausta näytettävä teksti." - -#: views/admin/display-options-meta.php:95 -msgid "" -"Maximum number of words to show from description. Leave blank for no limit." -msgstr "" -"Suurin sanamäärä näytettäväksi kuvauksesta. Jätä tyhjäksi, jos et halua " -"rajoittaa." - -#: views/admin/display-options-meta.php:100 -msgid "Event Link" -msgstr "Tapahtuman linkki" - -#: views/admin/display-options-meta.php:103 -msgid "Show a link to the Google Calendar page for an event?" -msgstr "Näytä linkki tapahtuman Google kalenteri-sivulle?" - -#: views/admin/display-options-meta.php:107 -msgid "Links open in a new window / tab?" -msgstr "Linkit aukeavat uuteen ikkunaan/välilehteen?" - -#: views/admin/display-options-meta.php:109 -msgid "The link text to be displayed." -msgstr "Näytettävä linkkiteksti." - -#: views/admin/gce-feed-meta-display.php:69 -msgid "Want to be in the know?" -msgstr "Haluatko pysyä ajan tasalla?" - -#: views/admin/gce-feed-meta-display.php:72 -msgid "Get notified when new features are released" -msgstr "Pyydä muistutus, kun uusia ominaisuuksia julkaistaan" - -#: views/admin/gce-feed-meta-display.php:90 -msgid "" -"Copy and paste this shortcode to display this Google Calendar feed on any " -"post or page." -msgstr "Kopioi ja liitä tämä lyhytkoodi artikkeliin tai sivulle näyttääksesi " - -#: views/admin/gce-feed-meta-display.php:91 -msgid "" -"To avoid display issues, make sure to paste the shortcode in the Text tab of " -"the post editor." -msgstr "Välttääksesi ongelmia, liitä lyhytkoodi editorin tekstitilassa." - -#: views/admin/gce-feed-meta-display.php:96 -#, fuzzy -msgid "Google Calendar ID" -msgstr "Google Kalenterin Syötteet" - -#: views/admin/gce-feed-meta-display.php:100 -#, fuzzy -msgid "The Google Calendar ID." -msgstr "Google kalenterin feedin osoite." - -#: views/admin/gce-feed-meta-display.php:100 -msgid "Example" -msgstr "Esimerkki" - -#: views/admin/gce-feed-meta-display.php:102 -#, fuzzy -msgid "How to find your Google Calendar ID" -msgstr "Miten löydät GCalin feedin osoitteen" - -#: views/admin/gce-feed-meta-display.php:115 -msgid "Timezone" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:122 -msgid "It is recommended to use the calendar default timezone." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:127 -msgid "Search Query" -msgstr "Hakusana" - -#: views/admin/gce-feed-meta-display.php:130 -msgid "Find and show events based on a search query." -msgstr "Etsi ja näytä tapahtumat hakusanan perusteella." - -#: views/admin/gce-feed-meta-display.php:135 -msgid "Expand Recurring Events?" -msgstr "Laajenna toistuvat tapahtumat?" - -#: views/admin/gce-feed-meta-display.php:137 -msgid "Yes" -msgstr "Kyllä" - -#: views/admin/gce-feed-meta-display.php:138 -#, fuzzy -msgid "" -"Display recurring events each time they occur. If disabled, events will be " -"displayed only the first time they occur." -msgstr "" -"Näytetään toistuvat tapahtumat joka kerta. Muuten näytetään vain " -"ensimmäisellä kerralla." - -#: views/admin/gce-feed-meta-display.php:143 -msgid "Multiple Day Events" -msgstr "Monipäiväiset tapahtumat" - -#: views/admin/gce-feed-meta-display.php:145 -msgid "Show on each day" -msgstr "Näytä jokaisena päivänä" - -#: views/admin/gce-feed-meta-display.php:146 -msgid "" -"Display multiple day events on each day that they span. If disabled, " -"multiple day events will be displayed only on the first day they occur." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:151 -msgid "Display Mode" -msgstr "Näyttötila" - -#: views/admin/gce-feed-meta-display.php:154 views/widgets.php:273 -msgid "Grid (Month view)" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:157 views/widgets.php:276 -msgid "Custom Date Range (List)" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:158 views/widgets.php:277 -msgid "Custom Date Range (Grid)" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:160 -#, fuzzy -msgid "Select how to display this feed." -msgstr "Valitse, kuinka aloituspäivä/aika näytetään." - -#: views/admin/gce-feed-meta-display.php:165 -#, fuzzy -msgid "Events per Page" -msgstr "Tapahtumien määrä per sivu" - -#: views/admin/gce-feed-meta-display.php:168 views/widgets.php:292 -msgid "Number of Days" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:169 views/widgets.php:293 -#, fuzzy -msgid "Number of Events" -msgstr "Tapahtumien määrä per sivu" - -#: views/admin/gce-feed-meta-display.php:170 views/widgets.php:294 -msgid "One Week" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:171 views/widgets.php:295 -#, fuzzy -msgid "One Month" -msgstr "Kuukaudet" - -#: views/admin/gce-feed-meta-display.php:176 -msgid "How many events to display per page (List View only)." -msgstr "Miten monta tapahtumaa sivua kohti (listanäkymä vain)." - -#: views/admin/gce-feed-meta-display.php:181 -msgid "Display Start Date Offset" -msgstr "Miten monta päivää tapahtumien näyttämistä siirretään " - -#: views/admin/gce-feed-meta-display.php:184 -#: views/admin/gce-feed-meta-display.php:196 views/widgets.php:309 -msgid "Number of Days Back" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:185 -#: views/admin/gce-feed-meta-display.php:215 views/widgets.php:310 -msgid "Number of Days Forward" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:188 views/widgets.php:314 -#, fuzzy -msgid "" -"Change to initially display events on a date other than today (List View " -"only)." -msgstr "Muuta jos haluat näyttää muun kuin kuluvan päivän (Vain listanäkymä)" - -#: views/admin/gce-feed-meta-display.php:193 -#, fuzzy -msgid "Earliest Feed Event Date" -msgstr "Kaukaisimman feedin loppumisaika" - -#: views/admin/gce-feed-meta-display.php:197 -#, fuzzy -msgid "Number of Months Back" -msgstr "Tapahtumien määrä per sivu" - -#: views/admin/gce-feed-meta-display.php:198 -#, fuzzy -msgid "Number of Years Back" -msgstr "Tapahtumien määrä per sivu" - -#: views/admin/gce-feed-meta-display.php:204 -#, fuzzy -msgid "Set how far back to retrieve events regardless of initial display." -msgstr "" -"Miten kauas menneisyyteen haetaan huolimatta siitä, mikä kuukausi tai sivu " -"näytetään." - -#: views/admin/gce-feed-meta-display.php:206 -msgid "" -"Note: Total events are currently limited to 2,500 by the " -"Google Calendar API." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:212 -#, fuzzy -msgid "Latest Feed Event Date" -msgstr "Kaukaisimman feedin loppumisaika" - -#: views/admin/gce-feed-meta-display.php:216 -#, fuzzy -msgid "Number of Months Forward" -msgstr "Tapahtumien määrä per sivu" - -#: views/admin/gce-feed-meta-display.php:217 -#, fuzzy -msgid "Number of Years Forward" -msgstr "Tapahtumien määrä per sivu" - -#: views/admin/gce-feed-meta-display.php:222 -#, fuzzy -msgid "" -"Set how far in the future to retrieve events regardless of initial display." -msgstr "" -"Miten pitkälle tapahtumia haetaan riippumatta kuukaudesta tai näytettävästä " -"sivusta." - -#: views/admin/gce-feed-meta-display.php:227 -msgid "Use Custom Date Range" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:233 -msgid "" -"Set a specific range of events to retrieve. Leaving either field blank will " -"set the date to the current day." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:239 views/widgets.php:324 -msgid "Show Paging Links" -msgstr "Näytä navigaatiolinkit" - -#: views/admin/gce-feed-meta-display.php:242 -#, fuzzy -msgid "Display Next and Back navigation links." -msgstr "Valitse, jos haluat nähdä takaisin ja eteenpäin-navigointilinkit." - -#: views/admin/gce-feed-meta-display.php:247 views/widgets.php:327 -msgid "Show Tooltips" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:250 -msgid "Display tooltips when hovering over events (Grid View only)." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:255 -msgid "Date Format" -msgstr "Päivämäärän formaatti" - -#: views/admin/gce-feed-meta-display.php:259 -#: views/admin/gce-feed-meta-display.php:270 -msgid "Use %sPHP date formatting%s." -msgstr "Käytä %sPHP date formatting%s." - -#: views/admin/gce-feed-meta-display.php:260 -#: views/admin/gce-feed-meta-display.php:271 -msgid "Leave blank to use the default." -msgstr "Tyhjänä käytetään oletuksia." - -#: views/admin/gce-feed-meta-display.php:266 -msgid "Time Format" -msgstr "Aikamuoto" - -#: views/admin/gce-feed-meta-display.php:277 -msgid "Cache Duration" -msgstr "Välimuistin pituus" - -#: views/admin/gce-feed-meta-display.php:280 -msgid "" -"The length of time, in seconds, to cache the feed (43200 = 12 hours). If " -"this feed changes regularly, you may want to reduce the cache duration." -msgstr "" -"Feedin välimuistin päivitysväli (43200 = 12 tuntia). Jos feedi päivittyy " -"säännöllisesti, saatat haluta pienentää päivitysväliä." - -#: views/admin/gce-feed-sidebar-help.php:6 -#, fuzzy -msgid "Documentation" -msgstr "Sijainti" - -#: views/admin/gce-feed-sidebar-help.php:11 -msgid "Community support forums" -msgstr "Community support forum" - -#: views/admin/gce-feed-sidebar-help.php:16 -msgid "Get notified of new features" -msgstr "Saa ilmoitukset uusista ominaisuuksista" - -#: views/admin/gce-feed-sidebar-help.php:21 -msgid "" -"Are you finding our GCal plugin helpful? 5-star ratings keep us motivated!" -msgstr "" - -#: views/admin/gce-feed-sidebar-help.php:25 -msgid "Rate our plugin on wordpress.org" -msgstr "" - -#: views/widgets.php:28 -msgid "" -"Display a list or calendar grid of events from one or more Google Calendar " -"feeds you have added" -msgstr "" -"Näytä lista tai ruudukko vähintään yhdestä Google kalenteri-feedistä jonka " -"olet lisännyt" - -#: views/widgets.php:146 -msgid "" -"No valid Feed IDs have been entered for this widget. Please check that you " -"have entered the IDs correctly in the widget settings (Appearance > " -"Widgets), and that the Feeds have not been deleted." -msgstr "" -"Toimivaa Feed ID:tä ei ole lisätty tälle vimpaimelle. Tarkista, että olet " -"syöttänyt oikean ID:n vimpaimen asetuksiin (Ulkoasu >> Vimpaimet) ja että " -"Feedejä ei ole poistettu." - -#: views/widgets.php:186 -msgid "" -"There was a problem with one or more of your feed IDs. Please check your " -"widget settings and make sure they are correct." -msgstr "" - -#: views/widgets.php:192 -msgid "You have not added any feeds yet." -msgstr "Et ole lisännyt yhtään feediä." - -#: views/widgets.php:235 -msgid "There are no feeds created yet." -msgstr "Yhtään feediä ei ole luotu." - -#: views/widgets.php:236 -msgid "Add your first feed!" -msgstr "Lisää ensimmäinen feedi!" - -#: views/widgets.php:246 -#, fuzzy -msgid "Events on" -msgstr "Tapahtumat" - -#: views/widgets.php:260 -msgid "Title:" -msgstr "" - -#: views/widgets.php:265 -msgid "Feeds to Display (comma separated list - i.e. 101,102,103):" -msgstr "Lisättävät feedit (pilkulla eroteltu lista, esim 101,102,103):" - -#: views/widgets.php:271 -msgid "Display Events as:" -msgstr "Näytä tapahtumat kuten:" - -#: views/widgets.php:282 -msgid "Sort Order (List View only):" -msgstr "Aseta järjestys (vain listanäkymä):" - -#: views/widgets.php:284 -msgid "Ascending" -msgstr "Nouseva" - -#: views/widgets.php:285 -msgid "Descending" -msgstr "Laskeva" - -#: views/widgets.php:290 -#, fuzzy -msgid "Events per Page (List View only):" -msgstr "Tapahtumien määrä per sivu (vain listanäkymä):" - -#: views/widgets.php:303 -msgid "" -"This setting will pull from the custom date range set in the main feed " -"settings and cannot be changed here." -msgstr "" - -#: views/widgets.php:307 -msgid "Display Start Date Offset (List View only):" -msgstr "" -"Miten monta päivää tapahtumien näyttämistä siirretään (vain listanäkymä):" - -#: views/widgets.php:318 -msgid "" -"Display Title on Tooltip/List Item (e.g. 'Events on 7th March'). Grouped " -"lists always have a title displayed." -msgstr "" -"Näytä tapahtuman otsikko vihjelaatikossa tai listalla (esim. \"tapahtumat 7. " -"maaliskuuta). Yhdistetyt tapahtumat näytetään aina otsikon kanssa." - -#. Plugin URI of the plugin/theme -msgid "https://wordpress.org/plugins/google-calendar-events/" -msgstr "" - -#. Description of the plugin/theme -msgid "" -"Show off your Google calendar in grid (month) or list view, in a post, page " -"or widget, and in a style that matches your site." -msgstr "" - -#. Author of the plugin/theme -msgid "Moonstone Media" -msgstr "" - -#. Author URI of the plugin/theme -msgid "http://moonstonemediagroup.com" -msgstr "" - -#: includes/class-gce-event.php:588 -msgctxt "human_time_diff" -msgid ", " -msgstr "" - -#: views/admin/gce-feed-meta-display.php:118 -msgctxt "Use the calendar default setting" -msgid "Calendar default" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:119 -msgctxt "Use this site default setting" -msgid "Site default" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:231 -msgctxt "separator between custom date range fields" -msgid "to" -msgstr "" - -#~ msgid "" -#~ "The feed could not be found (404). Please ensure your feed URL is correct." -#~ msgstr "" -#~ "Syötettä ei saatu ladattua (virhe 404). Tarkista, että syötteen osoite on " -#~ "oikein." - -#~ msgid "" -#~ "Access to this feed was denied (403). Please ensure you have public " -#~ "sharing enabled for your calendar." -#~ msgstr "" -#~ "Pääsy tähän syötteeseen evätty (virhe 403). Tarkista, että olet asettanut " -#~ "kalenterin julkiseksi Google kalenterin asetuksista." - -#~ msgid "" -#~ "The feed data could not be retrieved. Error code: %s. Please ensure your " -#~ "feed URL is correct." -#~ msgstr "" -#~ "Syötettä ei voitu hakea. Virhekoodi: %s. Tarkista, että syötteen URL-" -#~ "osoite on oikein." - -#~ msgid "Helpful Links" -#~ msgstr "Hyödyllisiä linkkejä" - -#~ msgid "" -#~ "We're smack dab in the middle of building additional " -#~ "features for this plugin. Have ideas?" -#~ msgstr "" -#~ "Meillä on tiukka uusien ominaisuuksien rakennus kesken. Onko sinulla " -#~ "ideoita?" - -#~ msgid "Visit our roadmap and tell us what you're looking for" -#~ msgstr "Katsele aikajanaa ja kerro mitä haluaisit tietää" - -#~ msgid "GCal Feed URL" -#~ msgstr "GCal Feedin osoite" - -#~ msgid "" -#~ "Show events that span multiple days on each day that they span, rather " -#~ "than just the first day." -#~ msgstr "" -#~ "Näytä monen päivän tapahtumat jokaisena päivänä sen sijaan, että se " -#~ "näytettäisiin vain ensimmäisenä päivänä." - -#~ msgid "Choose how you want your calendar to be displayed." -#~ msgstr "Valitse, miten haluat kalenterisi näkyvän." - -#~ msgid "Days" -#~ msgstr "Päivät" - -#~ msgid "Ahead" -#~ msgstr "Eteenpäin" - -#~ msgid "Minimum Feed Start Date" -#~ msgstr "Pienin feedin lähtöpäivä" - -#~ msgid "Years" -#~ msgstr "Vuodet" - -#~ msgid "back" -#~ msgstr "takaisin" - -#~ msgid "forward" -#~ msgstr "eteenpäin" - -#~ msgid "Documentation & getting started" -#~ msgstr "Dokumentaatio & aloitusopas" - -#~ msgid "Rate this plugin" -#~ msgstr "Arvostele tämä liitännäinen" - -#~ msgid "Show Paging Links:" -#~ msgstr "Näytä kelauslinkit:" diff --git a/wp-content/plugins/google-calendar-events/languages/gce-fr_FR.mo b/wp-content/plugins/google-calendar-events/languages/gce-fr_FR.mo deleted file mode 100644 index 20904ef..0000000 Binary files a/wp-content/plugins/google-calendar-events/languages/gce-fr_FR.mo and /dev/null differ diff --git a/wp-content/plugins/google-calendar-events/languages/gce-fr_FR.po b/wp-content/plugins/google-calendar-events/languages/gce-fr_FR.po deleted file mode 100644 index 1da6c8f..0000000 --- a/wp-content/plugins/google-calendar-events/languages/gce-fr_FR.po +++ /dev/null @@ -1,1095 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: Google Calendar Events\n" -"Report-Msgid-Bugs-To: https://github.com/pderksen/WP-Google-Calendar-Events/" -"issues\n" -"POT-Creation-Date: 2015-08-31 09:04:08+00:00\n" -"PO-Revision-Date: 2015-07-27 16:44+0100\n" -"Last-Translator: Vincent B \n" -"Language-Team: Jojaba \n" -"Language: fr\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.6.9\n" -"X-Poedit-Basepath: .\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" -"X-Poedit-KeywordsList: __;_e\n" -"X-Poedit-SearchPath-0: google-calendar-events\n" -"X-Poedit-SearchPath-1: ..\n" - -#: class-google-calendar-events-admin.php:138 -#: class-google-calendar-events-admin.php:139 -#: class-google-calendar-events-admin.php:235 -#: includes/register-settings.php:68 -msgid "General Settings" -msgstr "Paramètres généraux" - -#. Plugin Name of the plugin/theme -msgid "Google Calendar Events" -msgstr "Google Calendar Events" - -#: class-google-calendar-events-admin.php:236 -msgid "Feeds" -msgstr "Flux" - -#: class-google-calendar-events-admin.php:254 -#: class-google-calendar-events-admin.php:289 -#, fuzzy -msgid "Add Calendar" -msgstr "ID de l'agenda Google" - -#: class-google-calendar-events-admin.php:290 -msgid "Add a calendar feed to your post." -msgstr "" - -#: class-google-calendar-events-admin.php:300 -#, fuzzy -msgid "Insert Calendar" -msgstr "ID de l'agenda Google" - -#: class-google-calendar-events-admin.php:302 -msgid "Could not find any calendars to add to this post." -msgstr "" - -#: class-google-calendar-events-admin.php:303 -#, fuzzy -msgid "Please add a new calendar feed first." -msgstr "Assurez-vous que l'ID de votre agenda est correcte." - -#: class-google-calendar-events.php:162 -msgid "Loading..." -msgstr "Chargement..." - -#: google-calendar-events.php:34 -msgid "" -"Google Events Calendar requires PHP %1$s and WordPress %2$s to function " -"properly. PHP version found: %3$s. WordPress installed version: %4$s. Please " -"upgrade to meet the minimum requirements." -msgstr "" -"Google Events Calendar nécessite PHP %1$s et WordPress %2$s pour fonctionner " -"de manière correcte. PHP version trouvée: %3$s. WordPress version " -"installée : %4$s. Merci de procéder aux mises à jour pour un fonctionnement " -"correct." - -#: includes/admin/admin-functions.php:20 -msgid "Cache has been cleared for this feed." -msgstr "Le cache a été vidé pour cet agenda." - -#: includes/admin/admin-functions.php:35 includes/admin/admin-functions.php:56 -msgid "Starts:" -msgstr "Début :" - -#: includes/admin/admin-functions.php:36 includes/admin/admin-functions.php:58 -msgid "Ends:" -msgstr "Fin :" - -#: includes/admin/admin-functions.php:37 includes/admin/admin-functions.php:60 -msgid "Location:" -msgstr "Lieu :" - -#: includes/admin/admin-functions.php:38 includes/admin/admin-functions.php:61 -msgid "Description:" -msgstr "Description :" - -#: includes/admin/admin-functions.php:39 -msgid "More details..." -msgstr "Plus de détails..." - -#: includes/admin/admin-functions.php:63 -msgid "More Details" -msgstr "Plus de détails" - -#: includes/admin/admin-functions.php:77 includes/gce-feed-cpt.php:328 -#: includes/gce-feed-cpt.php:381 -msgid "Clear Cache" -msgstr "Vider le cache" - -#: includes/admin/admin-notice.php:26 -msgid "GCal API Key Notice" -msgstr "Clé d'API Google" - -#: includes/admin/admin-notice.php:28 -msgid "" -"GCal Events uses the Google Calendar API version 3. By default this plugin " -"uses a public shared key across all plugin users." -msgstr "" -"GCal Events utilise à présent la version 3 de l'API Google, qui nécessite " -"l'utilisation d'une clé publique." - -#: includes/admin/admin-notice.php:30 -msgid "" -"This key is limited to 500,000 requests per day and 5 requests per second. " -"To avoid running into any potential limits you can use your own Google API " -"key." -msgstr "" -"Cette clé est limitée à 500,000 requêtes par jour et 5 par seconde. Pour " -"éviter de rencontrer des limitations, vous pouvez utiliser votre clé API " -"Google personnelle." - -#: includes/admin/admin-notice.php:33 -msgid "Enter your GCal API key" -msgstr "Entrez votre clé API GCal" - -#: includes/admin/admin-notice.php:34 -msgid "Configure GCal feeds" -msgstr "Configurez vos flux GCal" - -#: includes/admin/admin-notice.php:35 -msgid "Hide this" -msgstr "Masquer" - -#: includes/class-gce-display.php:193 includes/class-gce-display.php:303 -msgid "Back" -msgstr "Préc." - -#: includes/class-gce-display.php:197 includes/class-gce-display.php:304 -#: includes/class-gce-display.php:310 includes/php-calendar.php:61 -#: includes/php-calendar.php:63 -msgid "Next" -msgstr "Suiv." - -#: includes/class-gce-display.php:309 includes/php-calendar.php:55 -#: includes/php-calendar.php:57 -msgid "Previous" -msgstr "" - -#: includes/class-gce-display.php:406 -msgid "No events to display." -msgstr "Aucun évènement à afficher." - -#: includes/class-gce-event.php:555 -msgid "%s year" -msgstr "%s année" - -#: includes/class-gce-event.php:555 -msgid "%s years" -msgstr "%s années" - -#: includes/class-gce-event.php:556 -msgid "%s month" -msgstr "%s mois" - -#: includes/class-gce-event.php:556 -msgid "%s months" -msgstr "%s mois" - -#: includes/class-gce-event.php:557 -msgid "%s week" -msgstr "%s semaine" - -#: includes/class-gce-event.php:557 -msgid "%s weeks" -msgstr "%s semaines" - -#: includes/class-gce-event.php:558 -msgid "%s day" -msgstr "%s jour" - -#: includes/class-gce-event.php:558 -msgid "%s days" -msgstr "%s jours" - -#: includes/class-gce-event.php:559 -msgid "%s hour" -msgstr "%s heure" - -#: includes/class-gce-event.php:559 -msgid "%s hours" -msgstr "%s heures" - -#: includes/class-gce-event.php:560 -msgid "%s min" -msgstr "%s minute" - -#: includes/class-gce-event.php:560 -msgid "%s mins" -msgstr "%s minutes" - -#: includes/class-gce-feed.php:94 -msgid "" -"The Google Calendar ID has not been set. Please make sure to set it " -"correctly in the Feed settings." -msgstr "" -"L'ID de l'agenda n'a pas été indiqué. Veuillez vérifier qu'il est défini " -"correctement dans la configuration." - -#: includes/class-gce-feed.php:226 -msgid "" -"Some data was retrieved, but could not be parsed successfully. Please ensure " -"your feed settings are correct." -msgstr "" -"Des données ont été retrouvées mais n'ont pu être analysées. Assurez-vous " -"que les paramètres de votre agenda sont corrects." - -#: includes/class-gce-feed.php:229 -msgid "An error has occured." -msgstr "Une erreur est survenue." - -#: includes/class-gce-feed.php:234 -msgid " Please ensure your calendar ID is correct." -msgstr "Assurez-vous que l'ID de votre agenda est correcte." - -#: includes/gce-feed-cpt.php:21 -msgid "Google Calendar Feeds" -msgstr "Flux des agendas" - -#: includes/gce-feed-cpt.php:22 includes/gce-feed-cpt.php:24 -#: includes/gce-feed-cpt.php:72 -msgid "Feed" -msgstr "Flux" - -#: includes/gce-feed-cpt.php:23 -msgid "GCal Events" -msgstr "Évènements GCal" - -#: includes/gce-feed-cpt.php:25 -msgid "Add New" -msgstr "Ajouter" - -#: includes/gce-feed-cpt.php:26 -msgid "Add New Feed" -msgstr "Ajouter un nouvel agenda" - -#: includes/gce-feed-cpt.php:27 -msgid "New Feed" -msgstr "Nouvel agenda" - -#: includes/gce-feed-cpt.php:28 -msgid "Edit Feed" -msgstr "Éditer l'agenda" - -#: includes/gce-feed-cpt.php:29 -msgid "View Feed" -msgstr "Afficher l'agenda" - -#: includes/gce-feed-cpt.php:30 -msgid "All GCal Feeds" -msgstr "Tous les agendas" - -#: includes/gce-feed-cpt.php:31 -msgid "Search GCal Feeds" -msgstr "Chercher dans les agendas" - -#: includes/gce-feed-cpt.php:32 -msgid "No feeds found." -msgstr "Aucun agenda trouvé." - -#: includes/gce-feed-cpt.php:33 -msgid "No feeds found in Trash." -msgstr "Aucun agenda trouvé dans la corbeille." - -#: includes/gce-feed-cpt.php:70 -msgid "feed" -msgstr "agenda" - -#: includes/gce-feed-cpt.php:75 includes/gce-feed-cpt.php:76 -msgid "%4$s updated. %1$sView %2$s%3$s" -msgstr "%4$s mis à jour. %1$sVoir %2$s%3$s" - -#: includes/gce-feed-cpt.php:77 -msgid "%4$s published. %1$sView %2$s%3$s" -msgstr "%4$s publié. %1$sVoir %2$s%3$s" - -#: includes/gce-feed-cpt.php:78 -msgid "%4$s saved. %1$sView %2$s%3$s" -msgstr "%4$s enregistré. %1$sVoir %2$s%3$s" - -#: includes/gce-feed-cpt.php:79 -msgid "%4$s submitted. %1$sView %2$s%3$s" -msgstr "%4$s soumis. %1$sVoir %2$s%3$s" - -#: includes/gce-feed-cpt.php:80 -msgid "%4$s draft updated. %1$sView %2$s%3$s" -msgstr "%4$s brouillon mis à jour. %1$sVoir %2$s%3$s" - -#: includes/gce-feed-cpt.php:95 -msgid "Feed Settings" -msgstr "Paramètres du flux" - -#: includes/gce-feed-cpt.php:97 -msgid "Resources" -msgstr "Ressources" - -#: includes/gce-feed-cpt.php:98 -msgid "Display Options" -msgstr "Options d'affichage" - -#: includes/gce-feed-cpt.php:269 -msgid "Feed ID" -msgstr "ID de l'agenda" - -#: includes/gce-feed-cpt.php:270 views/admin/gce-feed-meta-display.php:79 -msgid "Feed Shortcode" -msgstr "Shortcode de l'agenda" - -#: includes/gce-feed-cpt.php:271 -msgid "Display Type" -msgstr "Type d'affichage" - -#: includes/gce-feed-cpt.php:306 -msgid "Grid" -msgstr "Tableau" - -#: includes/gce-feed-cpt.php:308 views/admin/gce-feed-meta-display.php:155 -#: views/widgets.php:274 -msgid "List" -msgstr "Liste" - -#: includes/gce-feed-cpt.php:310 views/admin/gce-feed-meta-display.php:156 -#: views/widgets.php:275 -msgid "Grouped List" -msgstr "Liste groupée" - -#: includes/gce-feed-cpt.php:312 -msgid "Custom Date Range" -msgstr "Utilisez une plage de dates spécifique" - -#: includes/gce-feed-cpt.php:469 -msgid "Feed cache cleared." -msgid_plural "Cleared cache for %s feeds." -msgstr[0] "" -msgstr[1] "" - -#: includes/register-settings.php:29 -msgid "Google API Key" -msgstr "Clé d'API Google" - -#: includes/register-settings.php:30 -msgid "" -"If left blank all displayed Google calendars will use a public Google API " -"key shared across all plugin users." -msgstr "" -"Si aucune clé n'est indiquée tous les agendas Google utiliseront une seule " -"et même clé d'API pour tous les utilisateurs de ce plugin." - -#: includes/register-settings.php:31 -msgid "" -"Currently the shared key is limited to 500,000 requests per day and 5 " -"requests per second." -msgstr "" -"Actuellement, la clé partagée vous limite à 500 000 requêtes par jour " -"et 5 requêtes par seconde." - -#: includes/register-settings.php:32 -msgid "" -"To avoid these limits click here for " -"instructions on how to generate and use your own Google API key." -msgstr "" -"Pour éviter ces limites cliquez ici pour " -"obtenir des instructions afin de générer et utiliser votre propre clé d'API " -"Google." - -#: includes/register-settings.php:39 -msgid "Always Enqueue Scripts & Styles" -msgstr "Toujours placer Scripts & Styles en file d'attente" - -#: includes/register-settings.php:40 -msgid "Enqueue this plugin's scripts and styles on every post and page." -msgstr "" -"Metttre les script du plugin et les feuilles de style sur le tampont de " -"chaque article et page." - -#: includes/register-settings.php:41 -msgid "Useful if using shortcodes in widgets or other non-standard locations." -msgstr "" -"Utile si vous utilisez les raccourcis dans les widgets ou d'autres " -"applicatifs non-standards" - -#: includes/register-settings.php:46 -msgid "Disable Plugin CSS" -msgstr "Désactiver le CSS du Plugin" - -#: includes/register-settings.php:47 -msgid "" -"If this option is checked, this plugin's CSS file will not be referenced." -msgstr "" -"Si cette option est cochée, le fichier CSS du Plugin ne sera pas référencé" - -#: includes/register-settings.php:52 -msgid "Save Settings" -msgstr "Enregistrer les paramètres" - -#: includes/register-settings.php:53 -msgid "Save your settings when uninstalling this plugin." -msgstr "" -"Enregistre vos modifications avant de désinstaller le plugin. Utile pour les " -"mises à jour ou réinstallations" - -#: includes/register-settings.php:54 -msgid "Useful when upgrading or re-installing." -msgstr "" -"Enregistre vos modifications avant de désinstaller le plugin. Utile pour les " -"mises à jour ou réinstallations." - -#: includes/register-settings.php:182 -msgid "" -"The callback function used for the %s setting is missing." -msgstr "" -"La fonction de rappel utilisée pour la configuration de %s " -"est introuvable." - -#: includes/shortcodes.php:97 -msgid "" -"There was a problem with one or more of your feed IDs. Please check your " -"shortcode settings and make sure they are correct." -msgstr "" -"Il y a eu un problème avec un ou plusieurs identifiants (ID) de vos flux. " -"Merci de vérifier la configuration de vos code et assurez-vous qu'ils soient " -"corrects." - -#: views/admin/display-options-meta.php:39 -msgid "" -"Check this box to use the simple display options below instead of the Event " -"Builder code on the left." -msgstr "" -"Cocher cette case pour utiliser les options d'affichage ci-dessous au lieu " -"du code du constructeur d'évènements à gauche." - -#: views/admin/display-options-meta.php:44 -msgid "Start date / time display" -msgstr "Affichage date / heure de début" - -#: views/admin/display-options-meta.php:45 -msgid "Select how to display the start date / time." -msgstr "Définit comment afficher la date / heure de début." - -#: views/admin/display-options-meta.php:47 -#: views/admin/display-options-meta.php:61 -msgid "None" -msgstr "Aucun" - -#: views/admin/display-options-meta.php:48 -msgid "Start time" -msgstr "Heure de début" - -#: views/admin/display-options-meta.php:49 -msgid "Start date" -msgstr "Date de début" - -#: views/admin/display-options-meta.php:50 -msgid "Start time and date" -msgstr "Heure et date de début" - -#: views/admin/display-options-meta.php:51 -msgid "Start date and time" -msgstr "Date et Heure de début" - -#: views/admin/display-options-meta.php:53 -msgid "Text to display before the start time." -msgstr "Texte à afficher avant l'heure de début." - -#: views/admin/display-options-meta.php:58 -msgid "End time/date display" -msgstr "Affichage de l'heure / date de fin" - -#: views/admin/display-options-meta.php:59 -msgid "Select how to display the end date / time." -msgstr "Définit comment afficher la date / heure de fin." - -#: views/admin/display-options-meta.php:62 -msgid "End time" -msgstr "Heure de fin" - -#: views/admin/display-options-meta.php:63 -msgid "End date" -msgstr "Date de fin" - -#: views/admin/display-options-meta.php:64 -msgid "End time and date" -msgstr "Heure et date de fin" - -#: views/admin/display-options-meta.php:65 -msgid "End date and time" -msgstr "Date et heure de fin" - -#: views/admin/display-options-meta.php:67 -msgid "Text to display before the end time." -msgstr "Texte à afficher avant l'heure de fin." - -#: views/admin/display-options-meta.php:72 -msgid "Separator" -msgstr "Séparateur" - -#: views/admin/display-options-meta.php:74 -msgid "" -"If you have chosen to display both the time and date above, enter the text / " -"characters to display between the time and date here (including any spaces)." -msgstr "" -"Si vous avez choisi d'afficher à la fois l'heure et la date ci-dessus, " -"indiquez le texte / les caractères à afficher entre la date et l'heure ici " -"(avec les espaces)." - -#: views/admin/display-options-meta.php:80 -msgid "Location" -msgstr "Lieu" - -#: views/admin/display-options-meta.php:82 -msgid "Show the location of events?" -msgstr "Afficher le lieu des évènements ?" - -#: views/admin/display-options-meta.php:83 -msgid "Text to display before the location." -msgstr "Texte à afficher avant le lieu." - -#: views/admin/display-options-meta.php:88 -msgid "Description" -msgstr "Description" - -#: views/admin/display-options-meta.php:91 -msgid "" -"Show the description of events? (URLs in the description will be made into " -"links)." -msgstr "" -"Afficher la description des évènements ? (les URL dans la description sont " -"converties en liens)." - -#: views/admin/display-options-meta.php:93 -msgid "Text to display before the description." -msgstr "Texte à afficher avant la description." - -#: views/admin/display-options-meta.php:95 -msgid "" -"Maximum number of words to show from description. Leave blank for no limit." -msgstr "" -"Nombre maximum de mots de la description à afficher . Laisser ce champ vide " -"si vous ne souhaitez aucune limite." - -#: views/admin/display-options-meta.php:100 -msgid "Event Link" -msgstr "Lien de l'évènement" - -#: views/admin/display-options-meta.php:103 -msgid "Show a link to the Google Calendar page for an event?" -msgstr "Afficher le lien vers la page de l'agenda Google pour un évènement ?" - -#: views/admin/display-options-meta.php:107 -msgid "Links open in a new window / tab?" -msgstr "Ouvrir les liens dans une nouvelle fenêtre / un nouvel onglet ?" - -#: views/admin/display-options-meta.php:109 -msgid "The link text to be displayed." -msgstr "Le texte du lien à afficher." - -#: views/admin/gce-feed-meta-display.php:69 -msgid "Want to be in the know?" -msgstr "Vous souhaitez être tenu informé ?" - -#: views/admin/gce-feed-meta-display.php:72 -msgid "Get notified when new features are released" -msgstr "" -"Soyez informé lors de la mise à disposition de nouvelles fonctionnalités." - -#: views/admin/gce-feed-meta-display.php:90 -msgid "" -"Copy and paste this shortcode to display this Google Calendar feed on any " -"post or page." -msgstr "" -"Copier / coller ce shortcode afin d'afficher l'agenda Google dans n'importe " -"quel article ou page." - -#: views/admin/gce-feed-meta-display.php:91 -msgid "" -"To avoid display issues, make sure to paste the shortcode in the Text tab of " -"the post editor." -msgstr "" -"Pour éviter des problèmes d'affichage, copier ce shortcode dans l'onglet " -"« Texte » de l'éditeur d'article." - -#: views/admin/gce-feed-meta-display.php:96 -msgid "Google Calendar ID" -msgstr "ID de l'agenda Google" - -#: views/admin/gce-feed-meta-display.php:100 -msgid "The Google Calendar ID." -msgstr "l'ID de l'agenda Google." - -#: views/admin/gce-feed-meta-display.php:100 -msgid "Example" -msgstr "Exemple" - -#: views/admin/gce-feed-meta-display.php:102 -msgid "How to find your Google Calendar ID" -msgstr "Comment trouver l'ID de votre agenda GCal?" - -#: views/admin/gce-feed-meta-display.php:115 -msgid "Timezone" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:122 -msgid "It is recommended to use the calendar default timezone." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:127 -msgid "Search Query" -msgstr "Requête de recherche" - -#: views/admin/gce-feed-meta-display.php:130 -msgid "Find and show events based on a search query." -msgstr "" -"Trouver et afficher les évènements à partir de la requête indiquée dans ce " -"champ." - -#: views/admin/gce-feed-meta-display.php:135 -msgid "Expand Recurring Events?" -msgstr "Évènements réccurents étendus ?" - -#: views/admin/gce-feed-meta-display.php:137 -msgid "Yes" -msgstr "Oui" - -#: views/admin/gce-feed-meta-display.php:138 -msgid "" -"Display recurring events each time they occur. If disabled, events will be " -"displayed only the first time they occur." -msgstr "" -"Cette option affiche les évènements récurrents à chaque fois qu'ils se " -"produisent. Sinon ils ne sont affichés que pour la 1ère " -"occurrence." - -#: views/admin/gce-feed-meta-display.php:143 -msgid "Multiple Day Events" -msgstr "Évènements sur plusieurs jours" - -#: views/admin/gce-feed-meta-display.php:145 -msgid "Show on each day" -msgstr "Afficher chaque jour" - -#: views/admin/gce-feed-meta-display.php:146 -msgid "" -"Display multiple day events on each day that they span. If disabled, " -"multiple day events will be displayed only on the first day they occur." -msgstr "" -"Afficher les événements recouvrant plusieurs jours sur chaque jour qu'ils " -"couvrent. Si désactivé, les événements sur plusieurs jour seront affichés " -"uniquement sur le premier jour qu'ils se produisent" - -#: views/admin/gce-feed-meta-display.php:151 -msgid "Display Mode" -msgstr "Mode d'affichage" - -#: views/admin/gce-feed-meta-display.php:154 views/widgets.php:273 -msgid "Grid (Month view)" -msgstr "Grille (vue mensuelle)" - -#: views/admin/gce-feed-meta-display.php:157 views/widgets.php:276 -msgid "Custom Date Range (List)" -msgstr "Plage de dates spécifique (Liste)" - -#: views/admin/gce-feed-meta-display.php:158 views/widgets.php:277 -msgid "Custom Date Range (Grid)" -msgstr "Plage de dates spécifique (Grille)" - -#: views/admin/gce-feed-meta-display.php:160 -msgid "Select how to display this feed." -msgstr "Définit comment afficher la date / heure de début." - -#: views/admin/gce-feed-meta-display.php:165 -msgid "Events per Page" -msgstr "Nombre d'évènements par page" - -#: views/admin/gce-feed-meta-display.php:168 views/widgets.php:292 -msgid "Number of Days" -msgstr "Nombre de jours" - -#: views/admin/gce-feed-meta-display.php:169 views/widgets.php:293 -msgid "Number of Events" -msgstr "Nombre d'évènements par page" - -#: views/admin/gce-feed-meta-display.php:170 views/widgets.php:294 -msgid "One Week" -msgstr "Une semaine" - -#: views/admin/gce-feed-meta-display.php:171 views/widgets.php:295 -msgid "One Month" -msgstr "Un Mois" - -#: views/admin/gce-feed-meta-display.php:176 -msgid "How many events to display per page (List View only)." -msgstr "Nombre d'évènements par page à afficher (uniquement pour les listes)" - -#: views/admin/gce-feed-meta-display.php:181 -msgid "Display Start Date Offset" -msgstr "Date de début d'affichage" - -#: views/admin/gce-feed-meta-display.php:184 -#: views/admin/gce-feed-meta-display.php:196 views/widgets.php:309 -msgid "Number of Days Back" -msgstr "Nombre de jours en arrière" - -#: views/admin/gce-feed-meta-display.php:185 -#: views/admin/gce-feed-meta-display.php:215 views/widgets.php:310 -msgid "Number of Days Forward" -msgstr "Nombre de jours en avant" - -#: views/admin/gce-feed-meta-display.php:188 views/widgets.php:314 -msgid "" -"Change to initially display events on a date other than today (List View " -"only)." -msgstr "" -"A modifier si vous souhaitez afficher la date de début d'affichage à une " -"autre date qu'aujourd'hui. (uniquement pour les listes)" - -#: views/admin/gce-feed-meta-display.php:193 -msgid "Earliest Feed Event Date" -msgstr "Date de début de l'agenda" - -#: views/admin/gce-feed-meta-display.php:197 -msgid "Number of Months Back" -msgstr "Nombre de mois en arrière" - -#: views/admin/gce-feed-meta-display.php:198 -msgid "Number of Years Back" -msgstr "Nombre d'années en arrière" - -#: views/admin/gce-feed-meta-display.php:204 -msgid "Set how far back to retrieve events regardless of initial display." -msgstr "" -"Définir de combien de temps revenir en arrière pour retrouver les évènements " -"passés quel que soit l'affichage (mois ou page)." - -#: views/admin/gce-feed-meta-display.php:206 -msgid "" -"Note: Total events are currently limited to 2,500 by the " -"Google Calendar API." -msgstr "" -"Note: Le total des événements est actuellement limité à " -"2500 par l'API Google Calendrier." - -#: views/admin/gce-feed-meta-display.php:212 -msgid "Latest Feed Event Date" -msgstr "Date de fin de l'agenda" - -#: views/admin/gce-feed-meta-display.php:216 -msgid "Number of Months Forward" -msgstr "Nombre de mois en avant" - -#: views/admin/gce-feed-meta-display.php:217 -msgid "Number of Years Forward" -msgstr "Nombre d'années en avant" - -#: views/admin/gce-feed-meta-display.php:222 -msgid "" -"Set how far in the future to retrieve events regardless of initial display." -msgstr "" -"Définir de combien de temps aller en avant pour retrouver les évènements " -"quel que soit l'affichage (mois ou page)." - -#: views/admin/gce-feed-meta-display.php:227 -msgid "Use Custom Date Range" -msgstr "Utilisez une plage de dates spécifique" - -#: views/admin/gce-feed-meta-display.php:233 -msgid "" -"Set a specific range of events to retrieve. Leaving either field blank will " -"set the date to the current day." -msgstr "" -"Définir une plage d'événements spécifiques pour récupérer. Laissez le champ " -"vide donnera la date du jour en cours." - -#: views/admin/gce-feed-meta-display.php:239 views/widgets.php:324 -msgid "Show Paging Links" -msgstr "Afficher les liens de pagination" - -#: views/admin/gce-feed-meta-display.php:242 -msgid "Display Next and Back navigation links." -msgstr "" -"Afficher les boutons « suiv. » et « préc. » afin de " -"naviguer de mois en mois." - -#: views/admin/gce-feed-meta-display.php:247 views/widgets.php:327 -msgid "Show Tooltips" -msgstr "Montrer les infobulles" - -#: views/admin/gce-feed-meta-display.php:250 -msgid "Display tooltips when hovering over events (Grid View only)." -msgstr "" -"Afficher les infobulles quand on passe la souris sur l'évènement (Vue Grille " -"uniquement)" - -#: views/admin/gce-feed-meta-display.php:255 -msgid "Date Format" -msgstr "Format de date" - -#: views/admin/gce-feed-meta-display.php:259 -#: views/admin/gce-feed-meta-display.php:270 -msgid "Use %sPHP date formatting%s." -msgstr "Utiliser le %sformat de date PHP%s." - -#: views/admin/gce-feed-meta-display.php:260 -#: views/admin/gce-feed-meta-display.php:271 -msgid "Leave blank to use the default." -msgstr "Laisser vide pour utiliser le paramètre par défaut." - -#: views/admin/gce-feed-meta-display.php:266 -msgid "Time Format" -msgstr "Format d'heure" - -#: views/admin/gce-feed-meta-display.php:277 -msgid "Cache Duration" -msgstr "Durée du cache" - -#: views/admin/gce-feed-meta-display.php:280 -msgid "" -"The length of time, in seconds, to cache the feed (43200 = 12 hours). If " -"this feed changes regularly, you may want to reduce the cache duration." -msgstr "" -"La durée en secondes de conservation du flux en cache (43200 = 12 heures). " -"Si ce flux change fréquemment, réduisez cette durée." - -#: views/admin/gce-feed-sidebar-help.php:6 -msgid "Documentation" -msgstr "Documentation" - -#: views/admin/gce-feed-sidebar-help.php:11 -msgid "Community support forums" -msgstr "Forum d'aide communautaire" - -#: views/admin/gce-feed-sidebar-help.php:16 -msgid "Get notified of new features" -msgstr "Être averti des nouvelles fonctionnalités" - -#: views/admin/gce-feed-sidebar-help.php:21 -msgid "" -"Are you finding our GCal plugin helpful? 5-star ratings keep us motivated!" -msgstr "" - -#: views/admin/gce-feed-sidebar-help.php:25 -msgid "Rate our plugin on wordpress.org" -msgstr "" - -#: views/widgets.php:28 -msgid "" -"Display a list or calendar grid of events from one or more Google Calendar " -"feeds you have added" -msgstr "" -"Affiche une liste ou un tableau d'évènements à partir d'un ou plusieurs " -"agendas Google ajoutés par vos soins." - -#: views/widgets.php:146 -msgid "" -"No valid Feed IDs have been entered for this widget. Please check that you " -"have entered the IDs correctly in the widget settings (Appearance > " -"Widgets), and that the Feeds have not been deleted." -msgstr "" -"Aucune ID d'agenda valide n'a été ajoutée pour ce widget. Merci de vérifier " -"que l'ID est correctement définie dans la configuration (Apparence > " -"Widgets) et que les agendas n'ont pas été supprimés." - -#: views/widgets.php:186 -msgid "" -"There was a problem with one or more of your feed IDs. Please check your " -"widget settings and make sure they are correct." -msgstr "" -"Il y a eu un problème avec un ou plusieurs identifiants (ID) de vos flux. " -"Merci de vérifier la configuration de vos code et assurez-vous qu'ils soient " -"corrects." - -#: views/widgets.php:192 -msgid "You have not added any feeds yet." -msgstr "Vous n'avez pas encore ajouté d'agenda." - -#: views/widgets.php:235 -msgid "There are no feeds created yet." -msgstr "Aucun agenda n'a encore été créé." - -#: views/widgets.php:236 -msgid "Add your first feed!" -msgstr "Ajoutez votre premier agenda !" - -#: views/widgets.php:246 -msgid "Events on" -msgstr "Évènements le" - -#: views/widgets.php:260 -msgid "Title:" -msgstr "Titre :" - -#: views/widgets.php:265 -msgid "Feeds to Display (comma separated list - i.e. 101,102,103):" -msgstr "" -"Agendas à afficher (liste séparée par une virgule - ex. : 101,102,103) :" - -#: views/widgets.php:271 -msgid "Display Events as:" -msgstr "Afficher les évènements comme :" - -#: views/widgets.php:282 -msgid "Sort Order (List View only):" -msgstr "Ordre de tri (uniquement pour les listes) :" - -#: views/widgets.php:284 -msgid "Ascending" -msgstr "Croissant" - -#: views/widgets.php:285 -msgid "Descending" -msgstr "Décroissant" - -#: views/widgets.php:290 -msgid "Events per Page (List View only):" -msgstr "Nombre d'évènements par page (uniquement pour les listes) :" - -#: views/widgets.php:303 -msgid "" -"This setting will pull from the custom date range set in the main feed " -"settings and cannot be changed here." -msgstr "" -"Ce paramètre est issu de la plage de dates spécifique défini dans les " -"paramètres principaux du flux et ne peut-être modifié ici." - -#: views/widgets.php:307 -msgid "Display Start Date Offset (List View only):" -msgstr "Date de début d'affichage (uniquement pour les listes) :" - -#: views/widgets.php:318 -msgid "" -"Display Title on Tooltip/List Item (e.g. 'Events on 7th March'). Grouped " -"lists always have a title displayed." -msgstr "" -"Afficher le titre dans l'infobulle / l'élément de liste (ex. : " -"'Évènements du 7 mars'). Les listes groupées affichent toujours un titre." - -#. Plugin URI of the plugin/theme -msgid "https://wordpress.org/plugins/google-calendar-events/" -msgstr "" - -#. Description of the plugin/theme -msgid "" -"Show off your Google calendar in grid (month) or list view, in a post, page " -"or widget, and in a style that matches your site." -msgstr "" - -#. Author of the plugin/theme -msgid "Moonstone Media" -msgstr "" - -#. Author URI of the plugin/theme -msgid "http://moonstonemediagroup.com" -msgstr "" - -#: includes/class-gce-event.php:588 -msgctxt "human_time_diff" -msgid ", " -msgstr "" - -#: views/admin/gce-feed-meta-display.php:118 -msgctxt "Use the calendar default setting" -msgid "Calendar default" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:119 -msgctxt "Use this site default setting" -msgid "Site default" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:231 -msgctxt "separator between custom date range fields" -msgid "to" -msgstr "" - -#~ msgid "Your review helps more folks find our plugin. Thanks so much!" -#~ msgstr "" -#~ "Votre revue aide plus de personnes à trouver notre plugin. Merci " -#~ "beaucoup !" - -#~ msgid "Review this Plugin Now" -#~ msgstr "Noter ce plugin." - -#~ msgid "Helpful Links" -#~ msgstr "Liens utiles" - -#~ msgid "Set a specific range of events to retrieve." -#~ msgstr "Définir une plage d'évènements à retrouver" - -#~ msgid "Documentation & getting started" -#~ msgstr "Documentation & guide de démarrage" - -#~ msgid "View our roadmap & vote" -#~ msgstr "Afficher notre plan de route et votez" - -#~ msgid "Show Paging Links:" -#~ msgstr "Afficher les liens de pagination :" - -#~ msgid "Days" -#~ msgstr "Jours" - -#~ msgid "Events" -#~ msgstr "Évènements" - -#~ msgid "Ahead" -#~ msgstr "Après" - -#~ msgid "GCal Events Important Update (Nov. 19, 2014):" -#~ msgstr "GCal Events, mise à jour importante (19 nov. 2014) :" - -#~ msgid "" -#~ "By default a shared key is used across all plugin users, which is limited " -#~ "to 500,000 requests per day and 5 requests per second." -#~ msgstr "" -#~ "Par défaut, une clé commune à tous les utilisateurs du plugin est " -#~ "utilisée. Elle limite son utilisation à 500 000 requêtes par jour et " -#~ "5 requêtes par seconde." - -#~ msgid "To avoid these limits you can use your own Google API key." -#~ msgstr "" -#~ "Pour éviter ces limites, vous pouvez utiliser votre propre clé d'API " -#~ "Google." - -#~ msgid "Update your API settings now" -#~ msgstr "Mettre à jour vos paramètres d'API maintenant" - -#~ msgid "" -#~ "We're smack dab in the middle of building additional " -#~ "features for this plugin. Have ideas?" -#~ msgstr "" -#~ "Nous sommes actuellement en train d'ajouter des fonctionnalités pour ce " -#~ "plugin. Des suggestions ?" - -#~ msgid "Visit our roadmap and tell us what you're looking for" -#~ msgstr "Visitez notre plan de route et dites-nous ce que vous souhaiteriez." - -#~ msgid "" -#~ "Show events that span multiple days on each day that they span, rather " -#~ "than just the first day." -#~ msgstr "" -#~ "Affiche les évènements ayant lieu sur plusieurs jours chaque jour, plutôt " -#~ "qu'uniquement sur le premier jour." - -#~ msgid "Choose how you want your calendar to be displayed." -#~ msgstr "Choisissez comment vous souhaitez afficher votre agenda." - -#~ msgid "Minimum Feed Start Date" -#~ msgstr "Date de début de l'agenda" - -#~ msgid "Years" -#~ msgstr "Années" - -#~ msgid "back" -#~ msgstr "Avant" - -#~ msgid "forward" -#~ msgstr "Après" - -#~ msgid "" -#~ "The feed could not be found (404). Please ensure your feed URL is correct." -#~ msgstr "" -#~ "Le Flux n'a pas pu être trouvé (404). Assurez-vous que l'URL du Flux est " -#~ "correcte." - -#~ msgid "" -#~ "Access to this feed was denied (403). Please ensure you have public " -#~ "sharing enabled for your calendar." -#~ msgstr "" -#~ "L'accès à ce flux a été refusé (403). Assurez-vous que vous avez défini " -#~ "un accès partagé Public à votre Calendrier." - -#~ msgid "" -#~ "The feed data could not be retrieved. Error code: %s. Please ensure your " -#~ "feed URL is correct." -#~ msgstr "" -#~ "Les données du Flux n'ont pu être retrouvées. Le code de l'erreur est %s. " -#~ "Assurez-vous que l'URL de votre Flux est correcte." - -#~ msgid "GCal Feed URL" -#~ msgstr "URL du Flux GCal" diff --git a/wp-content/plugins/google-calendar-events/languages/gce-it_IT.mo b/wp-content/plugins/google-calendar-events/languages/gce-it_IT.mo deleted file mode 100644 index 1054fae..0000000 Binary files a/wp-content/plugins/google-calendar-events/languages/gce-it_IT.mo and /dev/null differ diff --git a/wp-content/plugins/google-calendar-events/languages/gce-it_IT.po b/wp-content/plugins/google-calendar-events/languages/gce-it_IT.po deleted file mode 100644 index 76eff40..0000000 --- a/wp-content/plugins/google-calendar-events/languages/gce-it_IT.po +++ /dev/null @@ -1,1274 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: Google Calendar Events\n" -"Report-Msgid-Bugs-To: https://github.com/pderksen/WP-Google-Calendar-Events/" -"issues\n" -"POT-Creation-Date: 2015-08-31 09:04:08+00:00\n" -"PO-Revision-Date: 2015-02-26 09:45+0100\n" -"Last-Translator: Francesco Paccagnella \n" -"Language-Team: \n" -"Language: it\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.7.1\n" -"X-Poedit-Basepath: .\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Poedit-KeywordsList: __;_e;_x\n" -"X-Poedit-SearchPath-0: .\n" - -#: class-google-calendar-events-admin.php:138 -#: class-google-calendar-events-admin.php:139 -#: class-google-calendar-events-admin.php:235 -#: includes/register-settings.php:68 -msgid "General Settings" -msgstr "Impostazioni Generali" - -#. Plugin Name of the plugin/theme -msgid "Google Calendar Events" -msgstr "Eventi Google Calendar" - -#: class-google-calendar-events-admin.php:236 -msgid "Feeds" -msgstr "Feeds" - -#: class-google-calendar-events-admin.php:254 -#: class-google-calendar-events-admin.php:289 -#, fuzzy -msgid "Add Calendar" -msgstr "ID Calendario Google" - -#: class-google-calendar-events-admin.php:290 -msgid "Add a calendar feed to your post." -msgstr "" - -#: class-google-calendar-events-admin.php:300 -#, fuzzy -msgid "Insert Calendar" -msgstr "ID Calendario Google" - -#: class-google-calendar-events-admin.php:302 -msgid "Could not find any calendars to add to this post." -msgstr "" - -#: class-google-calendar-events-admin.php:303 -#, fuzzy -msgid "Please add a new calendar feed first." -msgstr "Assicurarsi che l'ID del calendario sia corretto." - -#: class-google-calendar-events.php:162 -msgid "Loading..." -msgstr "Caricamento..." - -#: google-calendar-events.php:34 -msgid "" -"Google Events Calendar requires PHP %1$s and WordPress %2$s to function " -"properly. PHP version found: %3$s. WordPress installed version: %4$s. Please " -"upgrade to meet the minimum requirements." -msgstr "" - -#: includes/admin/admin-functions.php:20 -msgid "Cache has been cleared for this feed." -msgstr "La cache di questo feed è stata cancellata." - -#: includes/admin/admin-functions.php:35 includes/admin/admin-functions.php:56 -msgid "Starts:" -msgstr "Inizia:" - -#: includes/admin/admin-functions.php:36 includes/admin/admin-functions.php:58 -msgid "Ends:" -msgstr "Finisce:" - -#: includes/admin/admin-functions.php:37 includes/admin/admin-functions.php:60 -msgid "Location:" -msgstr "Luogo:" - -#: includes/admin/admin-functions.php:38 includes/admin/admin-functions.php:61 -msgid "Description:" -msgstr "Descrizione:" - -#: includes/admin/admin-functions.php:39 -msgid "More details..." -msgstr "Meggiori dettagli..." - -#: includes/admin/admin-functions.php:63 -msgid "More Details" -msgstr "Maggiori Dettagli" - -#: includes/admin/admin-functions.php:77 includes/gce-feed-cpt.php:328 -#: includes/gce-feed-cpt.php:381 -msgid "Clear Cache" -msgstr "Cancella Cache" - -#: includes/admin/admin-notice.php:26 -msgid "GCal API Key Notice" -msgstr "Notifica Chiave API GCal" - -#: includes/admin/admin-notice.php:28 -msgid "" -"GCal Events uses the Google Calendar API version 3. By default this plugin " -"uses a public shared key across all plugin users." -msgstr "" -"GCal Events usa l'API di Google Calendar versione 3. Per impostazione " -"predefinita, questo plugin usa una chiave pubblica condivisa fra tutti gli " -"utenti." - -#: includes/admin/admin-notice.php:30 -msgid "" -"This key is limited to 500,000 requests per day and 5 requests per second. " -"To avoid running into any potential limits you can use your own Google API " -"key." -msgstr "" -"Questa chiave è limitata a 500.000 richieste per giorno e 5 richieste per " -"secondo. Per evitare di incorrere in eventuali limiti è possibile la propria " -"chiave Google API." - -#: includes/admin/admin-notice.php:33 -msgid "Enter your GCal API key" -msgstr "Inserire la propria chiave API di GCal" - -#: includes/admin/admin-notice.php:34 -msgid "Configure GCal feeds" -msgstr "Configurazione feed di GCal" - -#: includes/admin/admin-notice.php:35 -msgid "Hide this" -msgstr "Nascondere questo" - -#: includes/class-gce-display.php:193 includes/class-gce-display.php:303 -msgid "Back" -msgstr "Precedente" - -#: includes/class-gce-display.php:197 includes/class-gce-display.php:304 -#: includes/class-gce-display.php:310 includes/php-calendar.php:61 -#: includes/php-calendar.php:63 -msgid "Next" -msgstr "Successivo" - -#: includes/class-gce-display.php:309 includes/php-calendar.php:55 -#: includes/php-calendar.php:57 -msgid "Previous" -msgstr "" - -#: includes/class-gce-display.php:406 -msgid "No events to display." -msgstr "Nessun evento da visualizzare." - -#: includes/class-gce-event.php:555 -msgid "%s year" -msgstr "%s anno" - -#: includes/class-gce-event.php:555 -msgid "%s years" -msgstr "%s anni" - -#: includes/class-gce-event.php:556 -msgid "%s month" -msgstr "%s mese" - -#: includes/class-gce-event.php:556 -msgid "%s months" -msgstr "%s mesi" - -#: includes/class-gce-event.php:557 -msgid "%s week" -msgstr "%s settimana" - -#: includes/class-gce-event.php:557 -msgid "%s weeks" -msgstr "%s settimane" - -#: includes/class-gce-event.php:558 -msgid "%s day" -msgstr "%s giorno" - -#: includes/class-gce-event.php:558 -msgid "%s days" -msgstr "%s giorni" - -#: includes/class-gce-event.php:559 -msgid "%s hour" -msgstr "%s ora" - -#: includes/class-gce-event.php:559 -msgid "%s hours" -msgstr "%s ore" - -#: includes/class-gce-event.php:560 -msgid "%s min" -msgstr "%s minuto" - -#: includes/class-gce-event.php:560 -msgid "%s mins" -msgstr "%s minuti" - -#: includes/class-gce-feed.php:94 -msgid "" -"The Google Calendar ID has not been set. Please make sure to set it " -"correctly in the Feed settings." -msgstr "" -"L'ID di Google Calendar non è stato impostato. Assicurarsi di averlo " -"inserito correttamente nelle impostazioni dei Feed." - -#: includes/class-gce-feed.php:226 -msgid "" -"Some data was retrieved, but could not be parsed successfully. Please ensure " -"your feed settings are correct." -msgstr "" -"Qualche dato è stato ricevuto, ma non può essere analizzato correttamente. " -"Assicurarsi che le impostazioni del feed siano corrette." - -#: includes/class-gce-feed.php:229 -msgid "An error has occured." -msgstr "Si è verificato un errore." - -#: includes/class-gce-feed.php:234 -msgid " Please ensure your calendar ID is correct." -msgstr "Assicurarsi che l'ID del calendario sia corretto." - -#: includes/gce-feed-cpt.php:21 -msgid "Google Calendar Feeds" -msgstr "Feed di Google Calendar" - -#: includes/gce-feed-cpt.php:22 includes/gce-feed-cpt.php:24 -#: includes/gce-feed-cpt.php:72 -msgid "Feed" -msgstr "Feed" - -#: includes/gce-feed-cpt.php:23 -msgid "GCal Events" -msgstr "Eventi GCal" - -#: includes/gce-feed-cpt.php:25 -msgid "Add New" -msgstr "Aggiungi Nuovo" - -#: includes/gce-feed-cpt.php:26 -msgid "Add New Feed" -msgstr "Aggiungi Nuovo Feed" - -#: includes/gce-feed-cpt.php:27 -msgid "New Feed" -msgstr "Nuovo Feed" - -#: includes/gce-feed-cpt.php:28 -msgid "Edit Feed" -msgstr "Modifica Feed" - -#: includes/gce-feed-cpt.php:29 -msgid "View Feed" -msgstr "Visualizza Feed" - -#: includes/gce-feed-cpt.php:30 -msgid "All GCal Feeds" -msgstr "Tutti i Feeds GCal" - -#: includes/gce-feed-cpt.php:31 -msgid "Search GCal Feeds" -msgstr "Cerca Feeds GCal" - -#: includes/gce-feed-cpt.php:32 -msgid "No feeds found." -msgstr "Nessun feed trovato." - -#: includes/gce-feed-cpt.php:33 -msgid "No feeds found in Trash." -msgstr "Nessun feed trovato nel Cestino." - -#: includes/gce-feed-cpt.php:70 -msgid "feed" -msgstr "feed" - -#: includes/gce-feed-cpt.php:75 includes/gce-feed-cpt.php:76 -msgid "%4$s updated. %1$sView %2$s%3$s" -msgstr "%4$s aggiornato. %1$sVisualizza %2$s%3$s" - -#: includes/gce-feed-cpt.php:77 -msgid "%4$s published. %1$sView %2$s%3$s" -msgstr "%4$s pubblicato. %1$sVisualizza %2$s%3$s" - -#: includes/gce-feed-cpt.php:78 -msgid "%4$s saved. %1$sView %2$s%3$s" -msgstr "%4$s salvato. %1$sVisualizza %2$s%3$s" - -#: includes/gce-feed-cpt.php:79 -msgid "%4$s submitted. %1$sView %2$s%3$s" -msgstr "%4$s inviato. %1$sVisualizza %2$s%3$s" - -#: includes/gce-feed-cpt.php:80 -msgid "%4$s draft updated. %1$sView %2$s%3$s" -msgstr "%4$s bozza aggiornata. %1$sVisualizza %2$s%3$s" - -#: includes/gce-feed-cpt.php:95 -msgid "Feed Settings" -msgstr "Impostazioni Feed" - -#: includes/gce-feed-cpt.php:97 -msgid "Resources" -msgstr "" - -#: includes/gce-feed-cpt.php:98 -msgid "Display Options" -msgstr "Opzioni Visualizzazione" - -#: includes/gce-feed-cpt.php:269 -msgid "Feed ID" -msgstr "ID del Feed" - -#: includes/gce-feed-cpt.php:270 views/admin/gce-feed-meta-display.php:79 -msgid "Feed Shortcode" -msgstr "Shortcode del Feed" - -#: includes/gce-feed-cpt.php:271 -msgid "Display Type" -msgstr "Tipo di Visualizzazione" - -#: includes/gce-feed-cpt.php:306 -msgid "Grid" -msgstr "Griglia" - -#: includes/gce-feed-cpt.php:308 views/admin/gce-feed-meta-display.php:155 -#: views/widgets.php:274 -msgid "List" -msgstr "Lista" - -#: includes/gce-feed-cpt.php:310 views/admin/gce-feed-meta-display.php:156 -#: views/widgets.php:275 -msgid "Grouped List" -msgstr "Lista Raggruppata" - -#: includes/gce-feed-cpt.php:312 -#, fuzzy -msgid "Custom Date Range" -msgstr "Utilizza l'Estensione Personalizzata della Data" - -#: includes/gce-feed-cpt.php:469 -msgid "Feed cache cleared." -msgid_plural "Cleared cache for %s feeds." -msgstr[0] "" -msgstr[1] "" - -#: includes/register-settings.php:29 -msgid "Google API Key" -msgstr "Chiave API Google" - -#: includes/register-settings.php:30 -msgid "" -"If left blank all displayed Google calendars will use a public Google API " -"key shared across all plugin users." -msgstr "" -"Se lasciato vuoto tutti i calendari Google visualizzati utilizzeranno una " -"chiave API Google pubblica condivisa tra tutti gli utenti del plugin." - -#: includes/register-settings.php:31 -msgid "" -"Currently the shared key is limited to 500,000 requests per day and 5 " -"requests per second." -msgstr "" -"Attualmente la chiave condivisa è limitata a 500.000 richieste al giorno e 5 " -"richieste al secondo." - -#: includes/register-settings.php:32 -msgid "" -"To avoid these limits click here for " -"instructions on how to generate and use your own Google API key." -msgstr "" -"Per evitare questi limiti cliccare qui per " -"ottenere istruzioni su come generare ed usare la propria chiave API Google " -"API." - -#: includes/register-settings.php:39 -msgid "Always Enqueue Scripts & Styles" -msgstr "" - -#: includes/register-settings.php:40 -msgid "Enqueue this plugin's scripts and styles on every post and page." -msgstr "" - -#: includes/register-settings.php:41 -msgid "Useful if using shortcodes in widgets or other non-standard locations." -msgstr "" - -#: includes/register-settings.php:46 -msgid "Disable Plugin CSS" -msgstr "" - -#: includes/register-settings.php:47 -msgid "" -"If this option is checked, this plugin's CSS file will not be referenced." -msgstr "" - -#: includes/register-settings.php:52 -msgid "Save Settings" -msgstr "Salva Impostazioni" - -#: includes/register-settings.php:53 -#, fuzzy -msgid "Save your settings when uninstalling this plugin." -msgstr "" -"Salva le impostazioni alla disinstallazione del plugin. Utile quando si " -"aggiorna o si reinstalla." - -#: includes/register-settings.php:54 -#, fuzzy -msgid "Useful when upgrading or re-installing." -msgstr "" -"Salva le impostazioni alla disinstallazione del plugin. Utile quando si " -"aggiorna o si reinstalla." - -#: includes/register-settings.php:182 -msgid "" -"The callback function used for the %s setting is missing." -msgstr "" -"La funzione richiamata utilizzata per l'impostazione %s è " -"assente." - -#: includes/shortcodes.php:97 -msgid "" -"There was a problem with one or more of your feed IDs. Please check your " -"shortcode settings and make sure they are correct." -msgstr "" -"C'è stato un problema con uno o più ID dei feed. Verificare le impostazioni " -"degli shortcode e assicurarsi che siano corrette." - -#: views/admin/display-options-meta.php:39 -msgid "" -"Check this box to use the simple display options below instead of the Event " -"Builder code on the left." -msgstr "" -"Spuntare questa casella per usare le opzioni nella visualizzazione " -"semplificata più sotto anziché utilizzare il codice in Event Builder sulla " -"sinistra." - -#: views/admin/display-options-meta.php:44 -msgid "Start date / time display" -msgstr "Data / ora d'inizio visualizzazione" - -#: views/admin/display-options-meta.php:45 -msgid "Select how to display the start date / time." -msgstr "Selezionare come visualizzare la data / ora d'inizio." - -#: views/admin/display-options-meta.php:47 -#: views/admin/display-options-meta.php:61 -msgid "None" -msgstr "Nessuno" - -#: views/admin/display-options-meta.php:48 -msgid "Start time" -msgstr "Ora d'inizio" - -#: views/admin/display-options-meta.php:49 -msgid "Start date" -msgstr "Data d'inizio" - -#: views/admin/display-options-meta.php:50 -msgid "Start time and date" -msgstr "Ora e data d'inizio" - -#: views/admin/display-options-meta.php:51 -msgid "Start date and time" -msgstr "Data e ora d'inizio." - -#: views/admin/display-options-meta.php:53 -msgid "Text to display before the start time." -msgstr "Testo da visualizzare prima dell'ora d'inizio." - -#: views/admin/display-options-meta.php:58 -msgid "End time/date display" -msgstr "Ora/data di fine visualizzazione" - -#: views/admin/display-options-meta.php:59 -msgid "Select how to display the end date / time." -msgstr "Scegliere come visualizzare la data / ora della fine." - -#: views/admin/display-options-meta.php:62 -msgid "End time" -msgstr "Ora della fine" - -#: views/admin/display-options-meta.php:63 -msgid "End date" -msgstr "Data della fine" - -#: views/admin/display-options-meta.php:64 -msgid "End time and date" -msgstr "Ora e data della fine" - -#: views/admin/display-options-meta.php:65 -msgid "End date and time" -msgstr "Data e ora della fine" - -#: views/admin/display-options-meta.php:67 -msgid "Text to display before the end time." -msgstr "Testo da visualizzare prima dell'ora della fine." - -#: views/admin/display-options-meta.php:72 -msgid "Separator" -msgstr "Separatore" - -#: views/admin/display-options-meta.php:74 -msgid "" -"If you have chosen to display both the time and date above, enter the text / " -"characters to display between the time and date here (including any spaces)." -msgstr "" -"Se è stato scelto di visualizzare sia la data che l'ora, inserire qui il " -"testo o i caratteri da visualizzare tra l'ora e la data (includendo anche " -"gli eventuali spazi)." - -#: views/admin/display-options-meta.php:80 -msgid "Location" -msgstr "Luogo" - -#: views/admin/display-options-meta.php:82 -msgid "Show the location of events?" -msgstr "Visualizzare il luogo dell'evento?" - -#: views/admin/display-options-meta.php:83 -msgid "Text to display before the location." -msgstr "Testo da visualizzare prima del luogo." - -#: views/admin/display-options-meta.php:88 -msgid "Description" -msgstr "Descrizione" - -#: views/admin/display-options-meta.php:91 -msgid "" -"Show the description of events? (URLs in the description will be made into " -"links)." -msgstr "" -"Visualizza la descrizione degli eventi? (Gli indirizzi nella descrizione " -"saranno riportati come link)." - -#: views/admin/display-options-meta.php:93 -msgid "Text to display before the description." -msgstr "Testo da visualizzare prima della descrizione." - -#: views/admin/display-options-meta.php:95 -msgid "" -"Maximum number of words to show from description. Leave blank for no limit." -msgstr "" -"Numero massimo di parole da visualizzare nella descrizione. Lasciare vuoto " -"per non impostare limiti." - -#: views/admin/display-options-meta.php:100 -msgid "Event Link" -msgstr "Link dell'Evento" - -#: views/admin/display-options-meta.php:103 -msgid "Show a link to the Google Calendar page for an event?" -msgstr "Visualizzare un link alla pagina di Google Calendar per un evento?" - -#: views/admin/display-options-meta.php:107 -msgid "Links open in a new window / tab?" -msgstr "I link si aprono in una nuova finestra / tab?" - -#: views/admin/display-options-meta.php:109 -msgid "The link text to be displayed." -msgstr "Il testo del link da visualizzare." - -#: views/admin/gce-feed-meta-display.php:69 -msgid "Want to be in the know?" -msgstr "Vuoi essere aggiornato?" - -#: views/admin/gce-feed-meta-display.php:72 -msgid "Get notified when new features are released" -msgstr "Ricevi notifiche delle nuove funzionalità" - -#: views/admin/gce-feed-meta-display.php:90 -msgid "" -"Copy and paste this shortcode to display this Google Calendar feed on any " -"post or page." -msgstr "" -"Copia ed incolla questo shortcode per visualizzare questo feed di Google " -"Calendar in qualsiasi post o pagina." - -#: views/admin/gce-feed-meta-display.php:91 -msgid "" -"To avoid display issues, make sure to paste the shortcode in the Text tab of " -"the post editor." -msgstr "" -"Per evitare problemi di visualizzazione, assicurarsi di incollare il " -"shortcode nel tab Text dell'editor dei post." - -#: views/admin/gce-feed-meta-display.php:96 -msgid "Google Calendar ID" -msgstr "ID Calendario Google" - -#: views/admin/gce-feed-meta-display.php:100 -msgid "The Google Calendar ID." -msgstr "L'ID del Calendario Google" - -#: views/admin/gce-feed-meta-display.php:100 -msgid "Example" -msgstr "Esempio" - -#: views/admin/gce-feed-meta-display.php:102 -msgid "How to find your Google Calendar ID" -msgstr "Come trovare il proprio ID di Google Calendar" - -#: views/admin/gce-feed-meta-display.php:115 -msgid "Timezone" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:122 -msgid "It is recommended to use the calendar default timezone." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:127 -msgid "Search Query" -msgstr "Query di Ricerca" - -#: views/admin/gce-feed-meta-display.php:130 -msgid "Find and show events based on a search query." -msgstr "Trova e visualizza gli eventi basati su una query di ricerca." - -#: views/admin/gce-feed-meta-display.php:135 -msgid "Expand Recurring Events?" -msgstr "Espandere Eventi Ricorrenti?" - -#: views/admin/gce-feed-meta-display.php:137 -msgid "Yes" -msgstr "Sì" - -#: views/admin/gce-feed-meta-display.php:138 -msgid "" -"Display recurring events each time they occur. If disabled, events will be " -"displayed only the first time they occur." -msgstr "" -"Visualizza gli eventi ricorrenti ogni volta in cui si verificano. Se " -"disabilitato, gli eventi saranno visualizzati solo la prima volta che si " -"verificano." - -#: views/admin/gce-feed-meta-display.php:143 -msgid "Multiple Day Events" -msgstr "Eventi in Giorni Multipli" - -#: views/admin/gce-feed-meta-display.php:145 -msgid "Show on each day" -msgstr "Visualizza in ogni giorno" - -#: views/admin/gce-feed-meta-display.php:146 -msgid "" -"Display multiple day events on each day that they span. If disabled, " -"multiple day events will be displayed only on the first day they occur." -msgstr "" -"Visualizza gli eventi che durano più giorni per tutta la durata. Se " -"disabilitato, gli eventi che durano più giorni saranno visualizzati " -"solamente nel primo giorno in cui si verificano." - -#: views/admin/gce-feed-meta-display.php:151 -msgid "Display Mode" -msgstr "Modo di Visualizzazione" - -#: views/admin/gce-feed-meta-display.php:154 views/widgets.php:273 -msgid "Grid (Month view)" -msgstr "Griglia (visualizzazione mensile)" - -#: views/admin/gce-feed-meta-display.php:157 views/widgets.php:276 -msgid "Custom Date Range (List)" -msgstr "Estensione Data Personalizzata (Lista)" - -#: views/admin/gce-feed-meta-display.php:158 views/widgets.php:277 -#, fuzzy -msgid "Custom Date Range (Grid)" -msgstr "Estensione Data Personalizzata (Lista)" - -#: views/admin/gce-feed-meta-display.php:160 -msgid "Select how to display this feed." -msgstr "Selezionare come visualizzare questo feed." - -#: views/admin/gce-feed-meta-display.php:165 -msgid "Events per Page" -msgstr "Eventi per Pagina" - -#: views/admin/gce-feed-meta-display.php:168 views/widgets.php:292 -msgid "Number of Days" -msgstr "Numero di Giorni" - -#: views/admin/gce-feed-meta-display.php:169 views/widgets.php:293 -msgid "Number of Events" -msgstr "Numero di Eventi" - -#: views/admin/gce-feed-meta-display.php:170 views/widgets.php:294 -msgid "One Week" -msgstr "Una Settimana" - -#: views/admin/gce-feed-meta-display.php:171 views/widgets.php:295 -msgid "One Month" -msgstr "Un Mese" - -#: views/admin/gce-feed-meta-display.php:176 -msgid "How many events to display per page (List View only)." -msgstr "" -"Quanti eventi visualizzare per pagina (solo nella visualizzazione a lista)" - -#: views/admin/gce-feed-meta-display.php:181 -msgid "Display Start Date Offset" -msgstr "Offset Data di Inizio" - -#: views/admin/gce-feed-meta-display.php:184 -#: views/admin/gce-feed-meta-display.php:196 views/widgets.php:309 -msgid "Number of Days Back" -msgstr "Numero di Giorni Indietro" - -#: views/admin/gce-feed-meta-display.php:185 -#: views/admin/gce-feed-meta-display.php:215 views/widgets.php:310 -msgid "Number of Days Forward" -msgstr "Numero di Giorni in Avanti" - -#: views/admin/gce-feed-meta-display.php:188 views/widgets.php:314 -msgid "" -"Change to initially display events on a date other than today (List View " -"only)." -msgstr "" -"Modificare per visualizzare gli eventi a partire da una data diversa da oggi " -"(solamente nella Visualizzazione a Lista)" - -#: views/admin/gce-feed-meta-display.php:193 -msgid "Earliest Feed Event Date" -msgstr "Prima Data Evento Feed" - -#: views/admin/gce-feed-meta-display.php:197 -msgid "Number of Months Back" -msgstr "Numero di Mesi Indietro" - -#: views/admin/gce-feed-meta-display.php:198 -msgid "Number of Years Back" -msgstr "Numero di Anni Indietro" - -#: views/admin/gce-feed-meta-display.php:204 -msgid "Set how far back to retrieve events regardless of initial display." -msgstr "" -"Imposta quanto indietro nel tempo recuperare gli eventi indipendentemente " -"dalla visualizzazione iniziale." - -#: views/admin/gce-feed-meta-display.php:206 -msgid "" -"Note: Total events are currently limited to 2,500 by the " -"Google Calendar API." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:212 -msgid "Latest Feed Event Date" -msgstr "Ultima Data Evento Feed" - -#: views/admin/gce-feed-meta-display.php:216 -msgid "Number of Months Forward" -msgstr "Numero di Mesi in Avanti" - -#: views/admin/gce-feed-meta-display.php:217 -msgid "Number of Years Forward" -msgstr "Numero di Anni in Avanti" - -#: views/admin/gce-feed-meta-display.php:222 -msgid "" -"Set how far in the future to retrieve events regardless of initial display." -msgstr "" -"Imposta quanto lontano nel futuro recuperare gli eventi indipendentemente " -"dalla visualizzazione iniziale." - -#: views/admin/gce-feed-meta-display.php:227 -msgid "Use Custom Date Range" -msgstr "Utilizza l'Estensione Personalizzata della Data" - -#: views/admin/gce-feed-meta-display.php:233 -msgid "" -"Set a specific range of events to retrieve. Leaving either field blank will " -"set the date to the current day." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:239 views/widgets.php:324 -msgid "Show Paging Links" -msgstr "Visualizza Link di Pagina" - -#: views/admin/gce-feed-meta-display.php:242 -msgid "Display Next and Back navigation links." -msgstr "Visualizza i link di navigazione Avanti ed Indietro." - -#: views/admin/gce-feed-meta-display.php:247 views/widgets.php:327 -msgid "Show Tooltips" -msgstr "Visualizza Tooltips" - -#: views/admin/gce-feed-meta-display.php:250 -msgid "Display tooltips when hovering over events (Grid View only)." -msgstr "" -"Visualizza tooltips passando sopra agli eventi (solamente Visualizzazione " -"Griglia)." - -#: views/admin/gce-feed-meta-display.php:255 -msgid "Date Format" -msgstr "Formato Data" - -#: views/admin/gce-feed-meta-display.php:259 -#: views/admin/gce-feed-meta-display.php:270 -msgid "Use %sPHP date formatting%s." -msgstr "Usa il %sil formato data di PHP%s." - -#: views/admin/gce-feed-meta-display.php:260 -#: views/admin/gce-feed-meta-display.php:271 -msgid "Leave blank to use the default." -msgstr "Lasciare vuoto per utilizzare il predefinito." - -#: views/admin/gce-feed-meta-display.php:266 -msgid "Time Format" -msgstr "Formato Ora" - -#: views/admin/gce-feed-meta-display.php:277 -msgid "Cache Duration" -msgstr "Durata della Cache" - -#: views/admin/gce-feed-meta-display.php:280 -msgid "" -"The length of time, in seconds, to cache the feed (43200 = 12 hours). If " -"this feed changes regularly, you may want to reduce the cache duration." -msgstr "" -"Il periodo, in secondi, di aggiornamento della cache (43200 = 12 ore). Se " -"questo feed cambia regolarmente, potrebbe essere necessario ridurre la " -"durata della cache." - -#: views/admin/gce-feed-sidebar-help.php:6 -#, fuzzy -msgid "Documentation" -msgstr "Luogo" - -#: views/admin/gce-feed-sidebar-help.php:11 -msgid "Community support forums" -msgstr "Forum di Supporto della Comunità" - -#: views/admin/gce-feed-sidebar-help.php:16 -msgid "Get notified of new features" -msgstr "Ricevi notifiche delle nuove funzionalità" - -#: views/admin/gce-feed-sidebar-help.php:21 -msgid "" -"Are you finding our GCal plugin helpful? 5-star ratings keep us motivated!" -msgstr "" - -#: views/admin/gce-feed-sidebar-help.php:25 -msgid "Rate our plugin on wordpress.org" -msgstr "" - -#: views/widgets.php:28 -msgid "" -"Display a list or calendar grid of events from one or more Google Calendar " -"feeds you have added" -msgstr "" -"Visualizza una lista o una griglia di eventi da uno o più feed di Google " -"Calendar che sono stati aggiunti" - -#: views/widgets.php:146 -msgid "" -"No valid Feed IDs have been entered for this widget. Please check that you " -"have entered the IDs correctly in the widget settings (Appearance > " -"Widgets), and that the Feeds have not been deleted." -msgstr "" -"Non è stato inserito alcun Feed ID valido in questo widget. Controllare di " -"aver inserito correttamente gli ID nelle impostazioni del widget (Aspetto > " -"Widgets), e che i Feed non siano stati cancellati." - -#: views/widgets.php:186 -msgid "" -"There was a problem with one or more of your feed IDs. Please check your " -"widget settings and make sure they are correct." -msgstr "" -"C'è stato un problema con uno o più ID dei feed. Verificare le impostazioni " -"del widget e assicurarsi che siano corrette." - -#: views/widgets.php:192 -msgid "You have not added any feeds yet." -msgstr "Non è stato aggiunto ancora alcun feed." - -#: views/widgets.php:235 -msgid "There are no feeds created yet." -msgstr "Non è ancora stato creato alcun feed." - -#: views/widgets.php:236 -msgid "Add your first feed!" -msgstr "Aggiungere il primo feed!" - -#: views/widgets.php:246 -msgid "Events on" -msgstr "Eventi" - -#: views/widgets.php:260 -msgid "Title:" -msgstr "Titolo:" - -#: views/widgets.php:265 -msgid "Feeds to Display (comma separated list - i.e. 101,102,103):" -msgstr "" -"Feed da Visualizzare (come lista separata da virgole, esempio 101,102,103)" - -#: views/widgets.php:271 -msgid "Display Events as:" -msgstr "Visualizza Eventi come:" - -#: views/widgets.php:282 -msgid "Sort Order (List View only):" -msgstr "Ordinamento (solo nella visualizzazione a lista):" - -#: views/widgets.php:284 -msgid "Ascending" -msgstr "Ascendente" - -#: views/widgets.php:285 -msgid "Descending" -msgstr "Discendente" - -#: views/widgets.php:290 -msgid "Events per Page (List View only):" -msgstr "Eventi per Pagina (solamente Visualizzazione Lista):" - -#: views/widgets.php:303 -msgid "" -"This setting will pull from the custom date range set in the main feed " -"settings and cannot be changed here." -msgstr "" -"Questa impostazione è recuperata dal range di date personalizzato nelle " -"impostazioni principali del feed e non può essere modificata qui." - -#: views/widgets.php:307 -msgid "Display Start Date Offset (List View only):" -msgstr "Offset della Data di Inizio (solo nella visualizzazione a lista):" - -#: views/widgets.php:318 -msgid "" -"Display Title on Tooltip/List Item (e.g. 'Events on 7th March'). Grouped " -"lists always have a title displayed." -msgstr "" -"Visualizza il Titolo su Tooltip / Lista (esempio 'Eventi del 7 Marzo'). Le " -"liste raggruppate visualizzano sempre il titolo." - -#. Plugin URI of the plugin/theme -msgid "https://wordpress.org/plugins/google-calendar-events/" -msgstr "" - -#. Description of the plugin/theme -msgid "" -"Show off your Google calendar in grid (month) or list view, in a post, page " -"or widget, and in a style that matches your site." -msgstr "" - -#. Author of the plugin/theme -msgid "Moonstone Media" -msgstr "" - -#. Author URI of the plugin/theme -msgid "http://moonstonemediagroup.com" -msgstr "" - -#: includes/class-gce-event.php:588 -#, fuzzy -msgctxt "human_time_diff" -msgid ", " -msgstr ", " - -#: views/admin/gce-feed-meta-display.php:118 -msgctxt "Use the calendar default setting" -msgid "Calendar default" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:119 -msgctxt "Use this site default setting" -msgid "Site default" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:231 -msgctxt "separator between custom date range fields" -msgid "to" -msgstr "" - -#, fuzzy -#~ msgid "Review this Plugin Now" -#~ msgstr "Vota questo plugin" - -#~ msgid "Helpful Links" -#~ msgstr "Link utili" - -#~ msgid "Set a specific range of events to retrieve." -#~ msgstr "Imposta uno specifico range di eventi da recuperare." - -#~ msgid "Documentation & getting started" -#~ msgstr "Documentazione & Come Iniziare" - -#~ msgid "View our roadmap & vote" -#~ msgstr "Visualizza la nostra roadmap e vota" - -#~ msgid "" -#~ "The feed URL has not been set. Please make sure to set it correctly in " -#~ "the Feed settings." -#~ msgstr "" -#~ "L'indirizzo del feed non è stato impostato. Assicurarsi di averlo " -#~ "impostato correttamente nelle impostazioni dei Feed." - -#~ msgid "GCal Events Important Update (Nov. 19, 2014):" -#~ msgstr "Aggiornamento Importante GCal Events (Nov. 19, 2014):" - -#~ msgid "" -#~ "GCal Events now uses the Google API version 3, which requires use of a " -#~ "public key." -#~ msgstr "" -#~ "GCal Events ora utilizza le API Google versione 3, che richiedono " -#~ "l'utilizzo di una chiave pubblica." - -#~ msgid "" -#~ "By default a shared key is used across all plugin users, which is limited " -#~ "to 500,000 requests per day and 5 requests per second." -#~ msgstr "" -#~ "Per impostazione predefinita una chiave condivisa è utilizzata da tutti " -#~ "gli utenti del plugin ed è limitata a 500.000 richieste al giorno e 5 " -#~ "richieste al secondo." - -#~ msgid "To avoid these limits you can use your own Google API key." -#~ msgstr "" -#~ "Per evitare questi limiti è possibile utilizzare una propria chiave API " -#~ "Google." - -#~ msgid "Update your API settings now" -#~ msgstr "Aggiorna ora le impostazioni API" - -#~ msgid "" -#~ "We're smack dab in the middle of building additional " -#~ "features for this plugin. Have ideas?" -#~ msgstr "" -#~ "Siamo esattamente nel pieno dello sviluppo di funzioni " -#~ "aggiuntive per questo plugin. Qualche idea?" - -#~ msgid "Visit our roadmap and tell us what you're looking for" -#~ msgstr "Visita la nostra roadmap e riportaci quello che stai cercando" - -#~ msgid "How to find your GCal calendar ID" -#~ msgstr "Come trovare l'indirizzo del proprio feed di GCal" - -#~ msgid "" -#~ "This will show recurring events each time they occur, otherwise it will " -#~ "only show the event the first time it occurs." -#~ msgstr "" -#~ "Questo visualizzerà gli eventi ricorrenti ogni volta che accadono, " -#~ "altrimenti l'evento verrà visualizzato solamente la prima volta che " -#~ "accade." - -#~ msgid "" -#~ "Show events that span multiple days on each day that they span, rather " -#~ "than just the first day." -#~ msgstr "" -#~ "Visualizza gli eventi che durano più giorni in ogni giorno in cui " -#~ "accadono, anziché solamente nel primo giorno." - -#~ msgid "Choose how you want your calendar to be displayed." -#~ msgstr "Scegliere come vi vuole visualizzare il proprio calendario." - -#~ msgid "Check this option to display Next and Back navigation links." -#~ msgstr "" -#~ "Seleziona questa spunta per visualizzare i link di navigazione Precedente " -#~ "e Successivo" - -#~ msgid "Number of Events per Page" -#~ msgstr "Numero di Eventi per Pagina" - -#~ msgid "Days" -#~ msgstr "Giorni" - -#~ msgid "Events" -#~ msgstr "Eventi" - -#~ msgid "Ahead" -#~ msgstr "Avanti" - -#~ msgid "" -#~ "Change if you need to initially display events on a date other than today " -#~ "(List View only)." -#~ msgstr "" -#~ "Modificare per visualizzare eventi che iniziano in un giorno diverso da " -#~ "oggi. (Solo nella visualizzazione a lista)" - -#~ msgid "Minimum Feed Start Date" -#~ msgstr "Minima Data Inizio Feed" - -#~ msgid "Months" -#~ msgstr "Mesi" - -#~ msgid "Years" -#~ msgstr "Anni" - -#~ msgid "back" -#~ msgstr "indietro" - -#~ msgid "" -#~ "Set how far back to retrieve events regardless of month or page being " -#~ "displayed." -#~ msgstr "" -#~ "Imposta quanto indietro recuperare gli eventi, indipendentemente dal mese " -#~ "o dalla pagina visualizzati." - -#~ msgid "Maximum Feed End Date" -#~ msgstr "Massima Data Fine Feed" - -#~ msgid "forward" -#~ msgstr "avanti" - -#~ msgid "" -#~ "Set how far in the future to retrieve events regardless of month or page " -#~ "being displayed." -#~ msgstr "" -#~ "Imposta quanto lontano nel futuro recuperare gli eventi, " -#~ "indipendentemente dal mese o pagina visualizzati." - -#~ msgid "Show Paging Links:" -#~ msgstr "Visualizza Link di Pagina:" - -#~ msgid "Number of Events per Page (List View only):" -#~ msgstr "Numero di Eventi per Pagina (solo nella visualizzazione a lista):" - -#~ msgid "" -#~ "Some data was retrieved, but could not be parsed successfully. Please " -#~ "ensure your feed URL is correct." -#~ msgstr "" -#~ "E' stato ricevuto qualche dato, ma non può essere analizzato " -#~ "correttamente. Assicurarsi che l'indirizzo del feed sia corretto." - -#~ msgid "" -#~ "The feed could not be found (404). Please ensure your feed URL is correct." -#~ msgstr "" -#~ "Il feed non è stato trovato (404). Assicurarsi che l'indirizzo del feed " -#~ "sia corretto." - -#~ msgid "" -#~ "Access to this feed was denied (403). Please ensure you have public " -#~ "sharing enabled for your calendar." -#~ msgstr "" -#~ "Non è consentito l'accesso al feed (403). Assicurarsi che sia abilitata " -#~ "la condivisione pubblica nel calendario." - -#~ msgid "" -#~ "The feed data could not be retrieved. Error code: %s. Please ensure your " -#~ "feed URL is correct." -#~ msgstr "" -#~ "I dati del feed non possono essere recuperati. Codice errore: %s. " -#~ "Assicurarsi che l'indirizzo del feed sia corretto." - -#~ msgid " Please ensure your feed URL is correct." -#~ msgstr "Assicurarsi che l'indirizzo del feed sia corretto." - -#~ msgid "" -#~ "Copy and paste this shortcode to display this Google Calendar feed in any " -#~ "post or page." -#~ msgstr "" -#~ "Copia ed incolla questo shortcode per visualizzare questo feed di Google " -#~ "Calendar in qualsiasi post o pagina." - -#~ msgid "GCal Feed URL" -#~ msgstr "Indirizzo del Feed GCal" - -#~ msgid "The Google Calendar feed URL." -#~ msgstr "L'indirizzo del feed di Google Calendar." - -#~ msgid "How to find your GCal feed URL" -#~ msgstr "Come trovare l'indirizzo del proprio feed di GCal" - -#~ msgid "Start Date Offset" -#~ msgstr "Offset Data di Inizio" - -#~ msgid "" -#~ "If you need to show events starting on a day other than today. (List View " -#~ "only)." -#~ msgstr "" -#~ "Per visualizzare eventi che iniziano in un giorno diverso da oggi. (Solo " -#~ "nella visualizzazione a lista)" - -#~ msgid "Feeds to display, as a comma separated list (e.g. 101,102,103):" -#~ msgstr "" -#~ "Feed da visualizzare, come lista separata da virgole (esempio 101,102,103)" - -#~ msgid "Display events as:" -#~ msgstr "Visualizza eventi come:" - -#~ msgid "Show paging links:" -#~ msgstr "Visualizza link di pagina:" - -#~ msgid "Sort order (List View only):" -#~ msgstr "Ordinamento (si applica soltanto alle liste):" - -#~ msgid "Number of events per page (List View only):" -#~ msgstr "Numero di eventi per pagina (solo nella visualizzazione a lista):" - -#~ msgid "Start date offset (List View only):" -#~ msgstr "Offset della data di inizio (solo nella visualizzazione a lista):" - -#~ msgid "" -#~ "Display title on tooltip/list item (e.g. 'Events on 7th March'). Grouped " -#~ "lists always have a title displayed." -#~ msgstr "" -#~ "Visualizza il titolo su tooltip / lista (esempio 'Eventi del 7 Marzo'). " -#~ "Le liste raggruppate visualizzano sempre il titolo." - -#~ msgid "Want to know when we release something new?" -#~ msgstr "Vuoi sapere quando rilasceremo qualcosa di nuovo?" - -#~ msgid "Get notified of major plugin updates" -#~ msgstr "Ricevi un avviso per gli aggiornamenti più importanti del plugin" - -#~ msgid "Retrieve Events From" -#~ msgstr "Recupera Eventi Da" - -#~ msgid "Today" -#~ msgstr "Oggi" - -#~ msgid "Start of current week" -#~ msgstr "L'inizio della settimana corrente" - -#~ msgid "Start of current month" -#~ msgstr "L'inizio del mese corrente" - -#~ msgid "End of current month" -#~ msgstr "La fine del mese corrente" - -#~ msgid "The beginning of time" -#~ msgstr "L'inizio del tempo" - -#~ msgid "Specific date" -#~ msgstr "Una data specifica" - -#~ msgid "The point in time at which to start retrieving events." -#~ msgstr "Il punto nel tempo dal quale iniziare a recuperare gli eventi." - -#~ msgid "Retrieve Events Until" -#~ msgstr "Recupera Eventi Fino" - -#~ msgid "The end of time" -#~ msgstr "La fine del tempo" - -#~ msgid "The point in time at which to stop retrieving events." -#~ msgstr "Il punto nel tempo nel quale terminare il recupero degli eventi." - -#~ msgid "Maximum number of events to show." -#~ msgstr "Massimo numero di eventi da visualizzare." - -#~ msgid "Timezone Adjustment" -#~ msgstr "Regolazione del Fuso Orario" - -#~ msgid "" -#~ "If you are having problems with dates and times displaying in the wrong " -#~ "timezone, select a city in your required timezone here." -#~ msgstr "" -#~ "Se si incontrano problemi con date e orari che visualizzano fusi orari " -#~ "sbagliati, selezionare qui una città nel fuso orario richiesto." - -#~ msgid "" -#~ "This will clear your feed cache. This also automatically happens when you " -#~ "save your changes. %sIf you make changes you %sMUST%s save first or your " -#~ "changes will be lost." -#~ msgstr "" -#~ "Questo cancellerà la cache del feed. Ciò accade automaticamente anche " -#~ "quando si salvano le modifiche. %sSe si effettuano modifiche è " -#~ "%sOBBLIGATORIO%s salvare prima, altrimenti saranno perse." - -#~ msgid "Now Accepting 5-Star Reviews!" -#~ msgstr "Si Accettano Ora Recensioni 5 Stelle!" - -#~ msgid "Calendar Grid - with AJAX" -#~ msgstr "Calendario a Griglia - con AJAX" - -#~ msgid "Maximum no. events to display. Enter 0 to show all retrieved." -#~ msgstr "" -#~ "Massimo numero di eventi da visualizzare. Inserire 0 per visualizzare " -#~ "tutti quelli recuperati." diff --git a/wp-content/plugins/google-calendar-events/languages/gce-lt_LT.mo b/wp-content/plugins/google-calendar-events/languages/gce-lt_LT.mo deleted file mode 100644 index 840c539..0000000 Binary files a/wp-content/plugins/google-calendar-events/languages/gce-lt_LT.mo and /dev/null differ diff --git a/wp-content/plugins/google-calendar-events/languages/gce-lt_LT.po b/wp-content/plugins/google-calendar-events/languages/gce-lt_LT.po deleted file mode 100644 index 91fa900..0000000 --- a/wp-content/plugins/google-calendar-events/languages/gce-lt_LT.po +++ /dev/null @@ -1,1245 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: Google Calendar Events v2.1.4\n" -"Report-Msgid-Bugs-To: https://github.com/pderksen/WP-Google-Calendar-Events/" -"issues\n" -"POT-Creation-Date: 2015-08-31 09:04:08+00:00\n" -"PO-Revision-Date: 2014-11-26 10:07:04+0000\n" -"Last-Translator: Andrius Mazeika \n" -"Language-Team: \n" -"Language: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n" -"%100<10 || n%100>=20) ? 1 : 2;\n" -"X-Generator: Poedit 1.6.10\n" -"X-Poedit-Language: \n" -"X-Poedit-Country: \n" -"X-Poedit-SourceCharset: utf-8\n" -"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;" -"_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n" -"X-Poedit-Basepath: .\n" -"X-Poedit-Bookmarks: \n" -"X-Poedit-SearchPath-0: google-calendar-events\n" -"X-Textdomain-Support: yes\n" - -# @ gce -#: class-google-calendar-events-admin.php:138 -#: class-google-calendar-events-admin.php:139 -#: class-google-calendar-events-admin.php:235 -#: includes/register-settings.php:68 -msgid "General Settings" -msgstr "Bendrieji nustatymai" - -# @ gce -#. Plugin Name of the plugin/theme -msgid "Google Calendar Events" -msgstr "Google kalendoriaus įvykiai" - -# @ gce -#: class-google-calendar-events-admin.php:236 -msgid "Feeds" -msgstr "Srautai" - -# @ gce -#: class-google-calendar-events-admin.php:254 -#: class-google-calendar-events-admin.php:289 -#, fuzzy -msgid "Add Calendar" -msgstr "Google kalendoriaus ID" - -#: class-google-calendar-events-admin.php:290 -msgid "Add a calendar feed to your post." -msgstr "" - -# @ gce -#: class-google-calendar-events-admin.php:300 -#, fuzzy -msgid "Insert Calendar" -msgstr "Google kalendoriaus ID" - -#: class-google-calendar-events-admin.php:302 -msgid "Could not find any calendars to add to this post." -msgstr "" - -# @ gce -#: class-google-calendar-events-admin.php:303 -#, fuzzy -msgid "Please add a new calendar feed first." -msgstr "Patikrinkite, ar teisingai įvestas kalendoriaus ID." - -# @ gce -#: class-google-calendar-events.php:162 -msgid "Loading..." -msgstr "Kraunama..." - -#: google-calendar-events.php:34 -msgid "" -"Google Events Calendar requires PHP %1$s and WordPress %2$s to function " -"properly. PHP version found: %3$s. WordPress installed version: %4$s. Please " -"upgrade to meet the minimum requirements." -msgstr "" - -# @ gce -#: includes/admin/admin-functions.php:20 -msgid "Cache has been cleared for this feed." -msgstr "Srauto laikinoji talpyklė išvalyta." - -# @ gce -#: includes/admin/admin-functions.php:35 includes/admin/admin-functions.php:56 -msgid "Starts:" -msgstr "Prasideda:" - -# @ gce -#: includes/admin/admin-functions.php:36 includes/admin/admin-functions.php:58 -msgid "Ends:" -msgstr "Baigiasi:" - -# @ gce -#: includes/admin/admin-functions.php:37 includes/admin/admin-functions.php:60 -msgid "Location:" -msgstr "Vieta:" - -# @ gce -#: includes/admin/admin-functions.php:38 includes/admin/admin-functions.php:61 -msgid "Description:" -msgstr "Aprašymas:" - -# @ gce -#: includes/admin/admin-functions.php:39 -msgid "More details..." -msgstr "Plačiau..." - -# @ gce -#: includes/admin/admin-functions.php:63 -msgid "More Details" -msgstr "Plačiau..." - -# @ gce -#: includes/admin/admin-functions.php:77 includes/gce-feed-cpt.php:328 -#: includes/gce-feed-cpt.php:381 -msgid "Clear Cache" -msgstr "Išvalyti laikinąją talpyklę." - -# @ gce -#: includes/admin/admin-notice.php:26 -#, fuzzy -msgid "GCal API Key Notice" -msgstr "Google API raktas" - -# @ gce -#: includes/admin/admin-notice.php:28 -#, fuzzy -msgid "" -"GCal Events uses the Google Calendar API version 3. By default this plugin " -"uses a public shared key across all plugin users." -msgstr "" -"'GCal Įvykiai' nuo šiol naudoja trečiąją Google API versiją, kuriai būtinas " -"viešojo rakto naudojimas." - -#: includes/admin/admin-notice.php:30 -msgid "" -"This key is limited to 500,000 requests per day and 5 requests per second. " -"To avoid running into any potential limits you can use your own Google API " -"key." -msgstr "" - -#: includes/admin/admin-notice.php:33 -msgid "Enter your GCal API key" -msgstr "" - -#: includes/admin/admin-notice.php:34 -msgid "Configure GCal feeds" -msgstr "" - -# @ gce -#: includes/admin/admin-notice.php:35 -msgid "Hide this" -msgstr "Paslėpti" - -# @ gce -#: includes/class-gce-display.php:193 includes/class-gce-display.php:303 -msgid "Back" -msgstr "Atgal" - -# @ gce -#: includes/class-gce-display.php:197 includes/class-gce-display.php:304 -#: includes/class-gce-display.php:310 includes/php-calendar.php:61 -#: includes/php-calendar.php:63 -msgid "Next" -msgstr "Pirmyn" - -# @ gce -#: includes/class-gce-display.php:309 includes/php-calendar.php:55 -#: includes/php-calendar.php:57 -#, fuzzy -msgid "Previous" -msgstr "Ansktesnis mėnuo" - -# @ gce -#: includes/class-gce-display.php:406 -msgid "No events to display." -msgstr "Įvykių nėra." - -# @ gce -#: includes/class-gce-event.php:555 -msgid "%s year" -msgstr "%s metai" - -# @ gce -#: includes/class-gce-event.php:555 -msgid "%s years" -msgstr "%s metai" - -# @ gce -#: includes/class-gce-event.php:556 -msgid "%s month" -msgstr "%s mėnuo" - -# @ gce -#: includes/class-gce-event.php:556 -msgid "%s months" -msgstr "%s mėnesiai" - -# @ gce -#: includes/class-gce-event.php:557 -msgid "%s week" -msgstr "%s savaitė" - -# @ gce -#: includes/class-gce-event.php:557 -msgid "%s weeks" -msgstr "%s savaitės" - -# @ gce -#: includes/class-gce-event.php:558 -msgid "%s day" -msgstr "%s diena" - -# @ gce -#: includes/class-gce-event.php:558 -msgid "%s days" -msgstr "%s dienos" - -# @ gce -#: includes/class-gce-event.php:559 -msgid "%s hour" -msgstr "%s valanda" - -# @ gce -#: includes/class-gce-event.php:559 -msgid "%s hours" -msgstr "%s valandos" - -# @ gce -#: includes/class-gce-event.php:560 -msgid "%s min" -msgstr "%s minutė" - -# @ gce -#: includes/class-gce-event.php:560 -msgid "%s mins" -msgstr "%s minutės" - -# @ gce -#: includes/class-gce-feed.php:94 -#, fuzzy -msgid "" -"The Google Calendar ID has not been set. Please make sure to set it " -"correctly in the Feed settings." -msgstr "" -"Srauto adresas (URL) nenurodytas. Įrašykite tikslų srauto adresą į 'Srauto " -"nustatymus'." - -# @ gce -#: includes/class-gce-feed.php:226 -msgid "" -"Some data was retrieved, but could not be parsed successfully. Please ensure " -"your feed settings are correct." -msgstr "" -"Dalis duomenų gauta, bet nepavyko jų teisingai apdoroti. Patikrinkite srauto " -"nustatymus." - -# @ gce -#: includes/class-gce-feed.php:229 -msgid "An error has occured." -msgstr "Įvyko klaida." - -# @ gce -#: includes/class-gce-feed.php:234 -msgid " Please ensure your calendar ID is correct." -msgstr "Patikrinkite, ar teisingai įvestas kalendoriaus ID." - -# @ gce -#: includes/gce-feed-cpt.php:21 -msgid "Google Calendar Feeds" -msgstr "Google kalendoriaus srautai" - -# @ gce -#: includes/gce-feed-cpt.php:22 includes/gce-feed-cpt.php:24 -#: includes/gce-feed-cpt.php:72 -msgid "Feed" -msgstr "Srautas" - -# @ gce -#: includes/gce-feed-cpt.php:23 -msgid "GCal Events" -msgstr "GCal įvykiai" - -# @ gce -#: includes/gce-feed-cpt.php:25 -msgid "Add New" -msgstr "Įtraukti naują" - -# @ gce -#: includes/gce-feed-cpt.php:26 -msgid "Add New Feed" -msgstr "Įtraukti naują srautą" - -# @ gce -#: includes/gce-feed-cpt.php:27 -msgid "New Feed" -msgstr "Naujas srautas" - -# @ gce -#: includes/gce-feed-cpt.php:28 -msgid "Edit Feed" -msgstr "Redaguoti srautą" - -# @ gce -#: includes/gce-feed-cpt.php:29 -msgid "View Feed" -msgstr "Peržiūrėti srautą" - -# @ gce -#: includes/gce-feed-cpt.php:30 -msgid "All GCal Feeds" -msgstr "Visi GCal srautai" - -# @ gce -#: includes/gce-feed-cpt.php:31 -msgid "Search GCal Feeds" -msgstr "Paieška GCal srautuose" - -# @ gce -#: includes/gce-feed-cpt.php:32 -msgid "No feeds found." -msgstr "Srautų nerasta." - -# @ gce -#: includes/gce-feed-cpt.php:33 -msgid "No feeds found in Trash." -msgstr "Šiukšlinėje srautų nerasta." - -# @ gce -#: includes/gce-feed-cpt.php:70 -msgid "feed" -msgstr "srautas" - -# @ gce -#: includes/gce-feed-cpt.php:75 includes/gce-feed-cpt.php:76 -msgid "%4$s updated. %1$sView %2$s%3$s" -msgstr "%4$s atnaujinta. %1$sPeržiūrėti %2$s%3$s" - -# @ gce -#: includes/gce-feed-cpt.php:77 -msgid "%4$s published. %1$sView %2$s%3$s" -msgstr "%4$s publikuota. %1$sPeržiūrėti %2$s%3$s" - -# @ gce -#: includes/gce-feed-cpt.php:78 -msgid "%4$s saved. %1$sView %2$s%3$s" -msgstr "%4$s įrašyta. %1$sPeržiūrėti %2$s%3$s" - -# @ gce -#: includes/gce-feed-cpt.php:79 -msgid "%4$s submitted. %1$sView %2$s%3$s" -msgstr "%4$s pateikta. %1$sPeržiūrėti %2$s%3$s" - -# @ gce -#: includes/gce-feed-cpt.php:80 -msgid "%4$s draft updated. %1$sView %2$s%3$s" -msgstr "%4$s juodraštis atnaujintas. %1$sPeržiūrėti %2$s%3$s" - -# @ gce -#: includes/gce-feed-cpt.php:95 -msgid "Feed Settings" -msgstr "Srauto nustatymai" - -#: includes/gce-feed-cpt.php:97 -msgid "Resources" -msgstr "" - -# @ gce -#: includes/gce-feed-cpt.php:98 -msgid "Display Options" -msgstr "Atvaizdavimo parinktys" - -# @ gce -#: includes/gce-feed-cpt.php:269 -msgid "Feed ID" -msgstr "Srauto ID" - -# @ gce -#: includes/gce-feed-cpt.php:270 views/admin/gce-feed-meta-display.php:79 -msgid "Feed Shortcode" -msgstr "Srauto trumpasis kodas" - -# @ gce -#: includes/gce-feed-cpt.php:271 -msgid "Display Type" -msgstr "Rodymo būdas" - -# @ gce -#: includes/gce-feed-cpt.php:306 -msgid "Grid" -msgstr "Tinklelis" - -# @ gce -#: includes/gce-feed-cpt.php:308 views/admin/gce-feed-meta-display.php:155 -#: views/widgets.php:274 -msgid "List" -msgstr "Sąrašas" - -# @ gce -#: includes/gce-feed-cpt.php:310 views/admin/gce-feed-meta-display.php:156 -#: views/widgets.php:275 -msgid "Grouped List" -msgstr "Sugrupuotas sąrašas" - -#: includes/gce-feed-cpt.php:312 -msgid "Custom Date Range" -msgstr "" - -#: includes/gce-feed-cpt.php:469 -msgid "Feed cache cleared." -msgid_plural "Cleared cache for %s feeds." -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" - -# @ gce -#: includes/register-settings.php:29 -msgid "Google API Key" -msgstr "Google API raktas" - -# @ gce -#: includes/register-settings.php:30 -msgid "" -"If left blank all displayed Google calendars will use a public Google API " -"key shared across all plugin users." -msgstr "" -"Palikite tuščią jeigu norite naudoti viešąjį Google API raktą, kuriuo " -"dalinasi visi šio įskiepio vartotojai." - -# @ gce -#: includes/register-settings.php:31 -msgid "" -"Currently the shared key is limited to 500,000 requests per day and 5 " -"requests per second." -msgstr "" -"Šiuo metu viešasis Google API raktas apribotas iki 500.000 užklausų per " -"dieną ir iki 5 užklausų per sekundę." - -# @ gce -#: includes/register-settings.php:32 -msgid "" -"To avoid these limits click here for " -"instructions on how to generate and use your own Google API key." -msgstr "" -"Jeigu norite išvengti šių apribojimų skaitykite, kaip susigeneruoti nuosavą Google API raktą." - -#: includes/register-settings.php:39 -msgid "Always Enqueue Scripts & Styles" -msgstr "" - -#: includes/register-settings.php:40 -msgid "Enqueue this plugin's scripts and styles on every post and page." -msgstr "" - -#: includes/register-settings.php:41 -msgid "Useful if using shortcodes in widgets or other non-standard locations." -msgstr "" - -#: includes/register-settings.php:46 -msgid "Disable Plugin CSS" -msgstr "" - -#: includes/register-settings.php:47 -msgid "" -"If this option is checked, this plugin's CSS file will not be referenced." -msgstr "" - -# @ gce -#: includes/register-settings.php:52 -msgid "Save Settings" -msgstr "Įšsaugoti nustatymus" - -# @ gce -#: includes/register-settings.php:53 -#, fuzzy -msgid "Save your settings when uninstalling this plugin." -msgstr "" -"Išsaugokite nustatymus prieš pašalindami šį įskiepį. Naudinga atliekant " -"atnaujinimą ar diegiant iš naujo." - -# @ gce -#: includes/register-settings.php:54 -#, fuzzy -msgid "Useful when upgrading or re-installing." -msgstr "" -"Išsaugokite nustatymus prieš pašalindami šį įskiepį. Naudinga atliekant " -"atnaujinimą ar diegiant iš naujo." - -# @ gce -#: includes/register-settings.php:182 -msgid "" -"The callback function used for the %s setting is missing." -msgstr "" -"Nerasta atsakymo (callback) funkcija, naudojama %s " -"nustatyme." - -#: includes/shortcodes.php:97 -msgid "" -"There was a problem with one or more of your feed IDs. Please check your " -"shortcode settings and make sure they are correct." -msgstr "" - -# @ gce -#: views/admin/display-options-meta.php:39 -msgid "" -"Check this box to use the simple display options below instead of the Event " -"Builder code on the left." -msgstr "" -"Pažymėkite, jeigu norite naudoti paprastąsias atvaizdavimo parinktis vietoje " -"'Event Builder' kodo rodomo kairėje." - -# @ gce -#: views/admin/display-options-meta.php:44 -msgid "Start date / time display" -msgstr "Pradžios datos / laiko rodymas" - -# @ gce -#: views/admin/display-options-meta.php:45 -msgid "Select how to display the start date / time." -msgstr "Pasirinkite, kaip rodyti pradžios datą / laiką" - -# @ gce -#: views/admin/display-options-meta.php:47 -#: views/admin/display-options-meta.php:61 -msgid "None" -msgstr "Nieko" - -# @ gce -#: views/admin/display-options-meta.php:48 -msgid "Start time" -msgstr "Pradžios laikas" - -# @ gce -#: views/admin/display-options-meta.php:49 -msgid "Start date" -msgstr "Pradžios data" - -# @ gce -#: views/admin/display-options-meta.php:50 -msgid "Start time and date" -msgstr "Pradžios laikas ir data" - -# @ gce -#: views/admin/display-options-meta.php:51 -msgid "Start date and time" -msgstr "Pradžios data ir laikas" - -# @ gce -#: views/admin/display-options-meta.php:53 -msgid "Text to display before the start time." -msgstr "Rodyti šį tekstą prieš pradžios laiką" - -# @ gce -#: views/admin/display-options-meta.php:58 -msgid "End time/date display" -msgstr "Pabaigos laiko / datos rodymas" - -# @ gce -#: views/admin/display-options-meta.php:59 -msgid "Select how to display the end date / time." -msgstr "Pasirinkite, kaip rodyti pabaigos datą / laiką." - -# @ gce -#: views/admin/display-options-meta.php:62 -msgid "End time" -msgstr "Pabaigos laikas" - -# @ gce -#: views/admin/display-options-meta.php:63 -msgid "End date" -msgstr "Pabaigos data" - -# @ gce -#: views/admin/display-options-meta.php:64 -msgid "End time and date" -msgstr "Pabaigos laikas ir data" - -# @ gce -#: views/admin/display-options-meta.php:65 -msgid "End date and time" -msgstr "Pabaigos data ir laikas" - -# @ gce -#: views/admin/display-options-meta.php:67 -msgid "Text to display before the end time." -msgstr "Rodyti šį tekstą prieš pabaigos laiką." - -# @ gce -#: views/admin/display-options-meta.php:72 -msgid "Separator" -msgstr "Skirtukas" - -# @ gce -#: views/admin/display-options-meta.php:74 -msgid "" -"If you have chosen to display both the time and date above, enter the text / " -"characters to display between the time and date here (including any spaces)." -msgstr "" -"Jeigu pasirinkote rodyti ir laiką ir datą, įveskite tekstą / simbolius, " -"kuriais norite atskirti datą nuo laiko (įskaitant ir tarpus)." - -# @ gce -#: views/admin/display-options-meta.php:80 -msgid "Location" -msgstr "Vieta" - -# @ gce -#: views/admin/display-options-meta.php:82 -msgid "Show the location of events?" -msgstr "Rodyti įvykių vietą" - -# @ gce -#: views/admin/display-options-meta.php:83 -msgid "Text to display before the location." -msgstr "Rodyti šį tekstą prieš įvykio vietą" - -# @ gce -#: views/admin/display-options-meta.php:88 -msgid "Description" -msgstr "Aprašymas" - -# @ gce -#: views/admin/display-options-meta.php:91 -msgid "" -"Show the description of events? (URLs in the description will be made into " -"links)." -msgstr "" -"Rodyti įvykių aprašymus (URL adresai aprašymuose bus konvertuoti į nuorodas)." - -# @ gce -#: views/admin/display-options-meta.php:93 -msgid "Text to display before the description." -msgstr "Rodyti šį tekstą prieš įvykio aprašymą." - -# @ gce -#: views/admin/display-options-meta.php:95 -msgid "" -"Maximum number of words to show from description. Leave blank for no limit." -msgstr "" -"Maksimalus žodžių skaičius, kurį norite rodyti įvykio aprašyme. Palikite " -"tuščią, jeigu apriboti nenorite." - -# @ gce -#: views/admin/display-options-meta.php:100 -msgid "Event Link" -msgstr "Įvykio nuoroda" - -# @ gce -#: views/admin/display-options-meta.php:103 -msgid "Show a link to the Google Calendar page for an event?" -msgstr "Rodyti nuorodą į įvykio puslapį Google kalendoriuje" - -# @ gce -#: views/admin/display-options-meta.php:107 -msgid "Links open in a new window / tab?" -msgstr "Atversti nuorodas naujame lange / kortelėje" - -# @ gce -#: views/admin/display-options-meta.php:109 -msgid "The link text to be displayed." -msgstr "Nuorodos tekstas." - -# @ gce -#: views/admin/gce-feed-meta-display.php:69 -msgid "Want to be in the know?" -msgstr "Norite sekti įskiepio naujienas?" - -# @ gce -#: views/admin/gce-feed-meta-display.php:72 -msgid "Get notified when new features are released" -msgstr "Gaukite pranešimus apie naujas įskiepio galimybes" - -# @ gce -#: views/admin/gce-feed-meta-display.php:90 -msgid "" -"Copy and paste this shortcode to display this Google Calendar feed on any " -"post or page." -msgstr "" -"Nukopijuokite ir įklijuokite šį trumpąjį kodą norėdami atvaizduoti šį Google " -"kalendoriaus srautą bet kuriame įraše ar puslapyje." - -# @ gce -#: views/admin/gce-feed-meta-display.php:91 -msgid "" -"To avoid display issues, make sure to paste the shortcode in the Text tab of " -"the post editor." -msgstr "" -"Tam, kad išvengtumėte nesklandumų, įklijuokite šį trumpąjį kodą naudodami " -"tekstinį įrašo redaktorių." - -# @ gce -#: views/admin/gce-feed-meta-display.php:96 -msgid "Google Calendar ID" -msgstr "Google kalendoriaus ID" - -# @ gce -#: views/admin/gce-feed-meta-display.php:100 -msgid "The Google Calendar ID." -msgstr "Google kalendoriaus ID" - -# @ gce -#: views/admin/gce-feed-meta-display.php:100 -msgid "Example" -msgstr "Pavyzdys" - -# @ gce -#: views/admin/gce-feed-meta-display.php:102 -#, fuzzy -msgid "How to find your Google Calendar ID" -msgstr "Kaip sužinoti Google kalendoriaus ID" - -#: views/admin/gce-feed-meta-display.php:115 -msgid "Timezone" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:122 -msgid "It is recommended to use the calendar default timezone." -msgstr "" - -# @ gce -#: views/admin/gce-feed-meta-display.php:127 -msgid "Search Query" -msgstr "Paieškos užklausa" - -# @ gce -#: views/admin/gce-feed-meta-display.php:130 -msgid "Find and show events based on a search query." -msgstr "Surasti ir rodyti įvykius pagal įvestą paieškos užklausą." - -# @ gce -#: views/admin/gce-feed-meta-display.php:135 -msgid "Expand Recurring Events?" -msgstr "Išskleisti pasikartojančius įvykius" - -# @ gce -#: views/admin/gce-feed-meta-display.php:137 -msgid "Yes" -msgstr "Taip" - -# @ gce -#: views/admin/gce-feed-meta-display.php:138 -#, fuzzy -msgid "" -"Display recurring events each time they occur. If disabled, events will be " -"displayed only the first time they occur." -msgstr "" -"Pažymėkite, jeigu norite rodyti pasikartojančius įvykius kiekvieną kartą. " -"Nepasirinkus šio nustatymo bus rodomas tik pirmasis įvykis." - -# @ gce -#: views/admin/gce-feed-meta-display.php:143 -msgid "Multiple Day Events" -msgstr "Kelias dienas trunkantys įvykiai" - -# @ gce -#: views/admin/gce-feed-meta-display.php:145 -msgid "Show on each day" -msgstr "Rodyti kiekvieną dieną" - -#: views/admin/gce-feed-meta-display.php:146 -msgid "" -"Display multiple day events on each day that they span. If disabled, " -"multiple day events will be displayed only on the first day they occur." -msgstr "" - -# @ gce -#: views/admin/gce-feed-meta-display.php:151 -msgid "Display Mode" -msgstr "Rodymo būdas" - -#: views/admin/gce-feed-meta-display.php:154 views/widgets.php:273 -msgid "Grid (Month view)" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:157 views/widgets.php:276 -msgid "Custom Date Range (List)" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:158 views/widgets.php:277 -msgid "Custom Date Range (Grid)" -msgstr "" - -# @ gce -#: views/admin/gce-feed-meta-display.php:160 -#, fuzzy -msgid "Select how to display this feed." -msgstr "Pasirinkite, kaip rodyti pradžios datą / laiką" - -# @ gce -#: views/admin/gce-feed-meta-display.php:165 -#, fuzzy -msgid "Events per Page" -msgstr "Viename puslapyje rodomų įvykių skaičius" - -#: views/admin/gce-feed-meta-display.php:168 views/widgets.php:292 -msgid "Number of Days" -msgstr "" - -# @ gce -#: views/admin/gce-feed-meta-display.php:169 views/widgets.php:293 -#, fuzzy -msgid "Number of Events" -msgstr "Viename puslapyje rodomų įvykių skaičius" - -#: views/admin/gce-feed-meta-display.php:170 views/widgets.php:294 -msgid "One Week" -msgstr "" - -# @ gce -#: views/admin/gce-feed-meta-display.php:171 views/widgets.php:295 -#, fuzzy -msgid "One Month" -msgstr "Mėnesiai" - -# @ gce -#: views/admin/gce-feed-meta-display.php:176 -msgid "How many events to display per page (List View only)." -msgstr "Kiek įvykių rodyti viename puslapyje (galioja tik sąrašo rodiniui)?" - -# @ gce -#: views/admin/gce-feed-meta-display.php:181 -msgid "Display Start Date Offset" -msgstr "Rodyti pradžios datos poslinkį [offset]" - -#: views/admin/gce-feed-meta-display.php:184 -#: views/admin/gce-feed-meta-display.php:196 views/widgets.php:309 -msgid "Number of Days Back" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:185 -#: views/admin/gce-feed-meta-display.php:215 views/widgets.php:310 -msgid "Number of Days Forward" -msgstr "" - -# @ gce -#: views/admin/gce-feed-meta-display.php:188 views/widgets.php:314 -#, fuzzy -msgid "" -"Change to initially display events on a date other than today (List View " -"only)." -msgstr "" -"Pakeiskite, jeigu reikia rodyti ne šiandienos įvykius (galioja tik sąrašo " -"rodiniui)." - -# @ gce -#: views/admin/gce-feed-meta-display.php:193 -#, fuzzy -msgid "Earliest Feed Event Date" -msgstr "Maksimali srauto pabaigos data" - -# @ gce -#: views/admin/gce-feed-meta-display.php:197 -#, fuzzy -msgid "Number of Months Back" -msgstr "Viename puslapyje rodomų įvykių skaičius" - -# @ gce -#: views/admin/gce-feed-meta-display.php:198 -#, fuzzy -msgid "Number of Years Back" -msgstr "Viename puslapyje rodomų įvykių skaičius" - -# @ gce -#: views/admin/gce-feed-meta-display.php:204 -#, fuzzy -msgid "Set how far back to retrieve events regardless of initial display." -msgstr "" -"Pasirinkite, kiek istorinių įvykių rodyti nepaisant rodomo mėnesio ar " -"puslapio." - -#: views/admin/gce-feed-meta-display.php:206 -msgid "" -"Note: Total events are currently limited to 2,500 by the " -"Google Calendar API." -msgstr "" - -# @ gce -#: views/admin/gce-feed-meta-display.php:212 -#, fuzzy -msgid "Latest Feed Event Date" -msgstr "Maksimali srauto pabaigos data" - -# @ gce -#: views/admin/gce-feed-meta-display.php:216 -#, fuzzy -msgid "Number of Months Forward" -msgstr "Viename puslapyje rodomų įvykių skaičius" - -# @ gce -#: views/admin/gce-feed-meta-display.php:217 -#, fuzzy -msgid "Number of Years Forward" -msgstr "Viename puslapyje rodomų įvykių skaičius" - -# @ gce -#: views/admin/gce-feed-meta-display.php:222 -#, fuzzy -msgid "" -"Set how far in the future to retrieve events regardless of initial display." -msgstr "" -"Pasirinkite, kiek ateities įvykių rodyti nepaisant rodomo mėnesio ar " -"puslapio." - -#: views/admin/gce-feed-meta-display.php:227 -msgid "Use Custom Date Range" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:233 -msgid "" -"Set a specific range of events to retrieve. Leaving either field blank will " -"set the date to the current day." -msgstr "" - -# @ gce -#: views/admin/gce-feed-meta-display.php:239 views/widgets.php:324 -msgid "Show Paging Links" -msgstr "Rodyti puslapių numeracijos nuorodas" - -# @ gce -#: views/admin/gce-feed-meta-display.php:242 -#, fuzzy -msgid "Display Next and Back navigation links." -msgstr "" -"Pažymėkite, jeigu norite rodyti 'Pirmyn' ir 'Atgal' navigacijos nuorodas." - -#: views/admin/gce-feed-meta-display.php:247 views/widgets.php:327 -msgid "Show Tooltips" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:250 -msgid "Display tooltips when hovering over events (Grid View only)." -msgstr "" - -# @ gce -#: views/admin/gce-feed-meta-display.php:255 -msgid "Date Format" -msgstr "Datos formatas" - -# @ gce -#: views/admin/gce-feed-meta-display.php:259 -#: views/admin/gce-feed-meta-display.php:270 -msgid "Use %sPHP date formatting%s." -msgstr "Naudoti %sPHP datos formatą%s." - -# @ gce -#: views/admin/gce-feed-meta-display.php:260 -#: views/admin/gce-feed-meta-display.php:271 -msgid "Leave blank to use the default." -msgstr "Palikite tuščią, jei norite naudoti numatytąją reikšmę." - -# @ gce -#: views/admin/gce-feed-meta-display.php:266 -msgid "Time Format" -msgstr "Laiko formatas" - -# @ gce -#: views/admin/gce-feed-meta-display.php:277 -msgid "Cache Duration" -msgstr "Laikinosios atminties saugojimo trukmė" - -# @ gce -#: views/admin/gce-feed-meta-display.php:280 -msgid "" -"The length of time, in seconds, to cache the feed (43200 = 12 hours). If " -"this feed changes regularly, you may want to reduce the cache duration." -msgstr "" -"Kiek laiko (sekundėmis) laikyti srauto duomenis laikinojoje atmintyje (43200 " -"= 12 valandų). Jei šio srauto duomenys keičiasi dažnai, sumažinkite " -"laikinosios atminties trukmę." - -# @ gce -#: views/admin/gce-feed-sidebar-help.php:6 -#, fuzzy -msgid "Documentation" -msgstr "Vieta" - -# @ gce -#: views/admin/gce-feed-sidebar-help.php:11 -msgid "Community support forums" -msgstr "Bendruomenės palaikymo forumai" - -# @ gce -#: views/admin/gce-feed-sidebar-help.php:16 -msgid "Get notified of new features" -msgstr "Gaukite pranešimus apie naujas įskiepio galimybes" - -#: views/admin/gce-feed-sidebar-help.php:21 -msgid "" -"Are you finding our GCal plugin helpful? 5-star ratings keep us motivated!" -msgstr "" - -#: views/admin/gce-feed-sidebar-help.php:25 -msgid "Rate our plugin on wordpress.org" -msgstr "" - -# @ gce -#: views/widgets.php:28 -msgid "" -"Display a list or calendar grid of events from one or more Google Calendar " -"feeds you have added" -msgstr "" -"Rodyti įvykių sąrašą arba kalendoriaus tinklelį iš vieno ar daugiau Google " -"kalendoriaus srautų." - -# @ gce -#: views/widgets.php:146 -msgid "" -"No valid Feed IDs have been entered for this widget. Please check that you " -"have entered the IDs correctly in the widget settings (Appearance > " -"Widgets), and that the Feeds have not been deleted." -msgstr "" -"Neįvestas nei vienas veikiantis srauto ID. Patikrinkite, ar teisingai " -"įvedėte srauto ID numerius į valdiklio nustatymus (Išvaizda > Valdikliai) ir " -"ar srautai nebuvo ištrinti." - -#: views/widgets.php:186 -msgid "" -"There was a problem with one or more of your feed IDs. Please check your " -"widget settings and make sure they are correct." -msgstr "" - -# @ gce -#: views/widgets.php:192 -msgid "You have not added any feeds yet." -msgstr "Kol kas neįtraukėte nei vieno srauto." - -# @ gce -#: views/widgets.php:235 -msgid "There are no feeds created yet." -msgstr "Kol kas nėra jokių srautų." - -# @ gce -#: views/widgets.php:236 -msgid "Add your first feed!" -msgstr "Įtraukite pirmąjį srautą." - -# @ gce -#: views/widgets.php:246 -msgid "Events on" -msgstr "Įvykiai" - -# @ gce -#: views/widgets.php:260 -msgid "Title:" -msgstr "Pavadinimas:" - -# @ gce -#: views/widgets.php:265 -msgid "Feeds to Display (comma separated list - i.e. 101,102,103):" -msgstr "Rodyti šiuos srautus (atskirti kableliais - pav. 101,102,103):" - -# @ gce -#: views/widgets.php:271 -msgid "Display Events as:" -msgstr "Rodyti įvykius kaip:" - -# @ gce -#: views/widgets.php:282 -msgid "Sort Order (List View only):" -msgstr "Rikiavimas (galioja tik sąrašo rodiniui)" - -# @ gce -#: views/widgets.php:284 -msgid "Ascending" -msgstr "Didėjimo tvarka" - -# @ gce -#: views/widgets.php:285 -msgid "Descending" -msgstr "Mažėjimo tvarka" - -# @ gce -#: views/widgets.php:290 -#, fuzzy -msgid "Events per Page (List View only):" -msgstr "Įvykių skaičius viename puslapyje (galioja tik sąrašo rodiniui):" - -#: views/widgets.php:303 -msgid "" -"This setting will pull from the custom date range set in the main feed " -"settings and cannot be changed here." -msgstr "" - -# @ gce -#: views/widgets.php:307 -msgid "Display Start Date Offset (List View only):" -msgstr "Rodyti pradžios datos poslinkį [offset] (galioja tik sąrašo rodiniui):" - -# @ gce -#: views/widgets.php:318 -msgid "" -"Display Title on Tooltip/List Item (e.g. 'Events on 7th March'). Grouped " -"lists always have a title displayed." -msgstr "" -"Rodyti įvykio pavadinimą ant mygtuko etiketės [tooltip] (pav. 'Įvykiai kovo " -"7-ąją'). Įvykio pavadinimas visuomet rodomas sugrupuoto sąrašo rodinyje." - -#. Plugin URI of the plugin/theme -msgid "https://wordpress.org/plugins/google-calendar-events/" -msgstr "" - -#. Description of the plugin/theme -msgid "" -"Show off your Google calendar in grid (month) or list view, in a post, page " -"or widget, and in a style that matches your site." -msgstr "" - -#. Author of the plugin/theme -msgid "Moonstone Media" -msgstr "" - -#. Author URI of the plugin/theme -msgid "http://moonstonemediagroup.com" -msgstr "" - -# @ default -#: includes/class-gce-event.php:588 -msgctxt "human_time_diff" -msgid ", " -msgstr "" - -#: views/admin/gce-feed-meta-display.php:118 -msgctxt "Use the calendar default setting" -msgid "Calendar default" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:119 -msgctxt "Use this site default setting" -msgid "Site default" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:231 -msgctxt "separator between custom date range fields" -msgid "to" -msgstr "" - -# @ gce -#, fuzzy -#~ msgid "Review this Plugin Now" -#~ msgstr "Įvertinkite šį įskiepį" - -# @ gce -#~ msgid "Helpful Links" -#~ msgstr "Naudingos nuorodos" - -# @ gce -#~ msgid "" -#~ "We're smack dab in the middle of building additional " -#~ "features for this plugin. Have ideas?" -#~ msgstr "" -#~ "Mes dar tik pusiaukelėje šio įskiepio kūrime. Turite " -#~ "idėjų?" - -# @ gce -#~ msgid "Visit our roadmap and tell us what you're looking for" -#~ msgstr "" -#~ "Peržvelkite tolimesnius mūsų planus ir parašykite mums savo poreikius" - -# @ gce -#~ msgid "" -#~ "Show events that span multiple days on each day that they span, rather " -#~ "than just the first day." -#~ msgstr "" -#~ "Rodyti kelių dienų trukmės įvykius kiekvieną įvykio dieną, o ne tik " -#~ "pirmąją." - -# @ gce -#~ msgid "Choose how you want your calendar to be displayed." -#~ msgstr "Pasirinkite kalendoriaus atvaizdavimo būdą." - -# @ gce -#~ msgid "Days" -#~ msgstr "Dienos" - -# @ gce -#~ msgid "Events" -#~ msgstr "Įvykiai" - -# @ gce -#~ msgid "Ahead" -#~ msgstr "Priekyje" - -# @ gce -#~ msgid "Minimum Feed Start Date" -#~ msgstr "Minimali srauto pradžios data" - -# @ gce -#~ msgid "Years" -#~ msgstr "Metai" - -# @ gce -#~ msgid "back" -#~ msgstr "atgal" - -# @ gce -#~ msgid "forward" -#~ msgstr "pirmyn" - -# @ gce -#~ msgid "Documentation & getting started" -#~ msgstr "Dokumentacija ir pradžios pagalba" - -# @ gce -#~ msgid "Show Paging Links:" -#~ msgstr "Rodyti puslapių keitimo nuorodas:" - -# @ gce -#~ msgid "" -#~ "Parses Google Calendar feeds and displays the events as a calendar grid " -#~ "or list on a page, post or widget." -#~ msgstr "" -#~ "Surenka Google kalendoriaus srautus ir atvaizduoja įvykius tinklelio arba " -#~ "sąrašo formatu puslapyje, įraše arba valdiklyje." - -# @ gce -#~ msgid "Next month" -#~ msgstr "Sekantis mėnuo" - -# @ gce -#~ msgid "GCal Events Important Update (Nov. 19, 2014):" -#~ msgstr "Svarbus pranešimas (Lapkričio 19, 2014)" - -# @ gce -#~ msgid "" -#~ "By default a shared key is used across all plugin users, which is limited " -#~ "to 500,000 requests per day and 5 requests per second." -#~ msgstr "" -#~ "Pagal nutylėjimą visi įskiepio naudotojai naudojasi bendru API raktu, " -#~ "kuris apribotas iki 500.000 užklausų per dieną ir 5 užklausų per sekundę." - -# @ gce -#~ msgid "To avoid these limits you can use your own Google API key." -#~ msgstr "" -#~ "Jeigu norite išvengti šių apribojimų, naudokite nuosavą Google API raktą." - -# @ gce -#~ msgid "Update your API settings now" -#~ msgstr "Atnaujinkite API nustatymus" diff --git a/wp-content/plugins/google-calendar-events/languages/gce-nb_NO.mo b/wp-content/plugins/google-calendar-events/languages/gce-nb_NO.mo deleted file mode 100644 index 91f56c3..0000000 Binary files a/wp-content/plugins/google-calendar-events/languages/gce-nb_NO.mo and /dev/null differ diff --git a/wp-content/plugins/google-calendar-events/languages/gce-nb_NO.po b/wp-content/plugins/google-calendar-events/languages/gce-nb_NO.po deleted file mode 100644 index 7389d17..0000000 --- a/wp-content/plugins/google-calendar-events/languages/gce-nb_NO.po +++ /dev/null @@ -1,1050 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: Google Calendar Events\n" -"Report-Msgid-Bugs-To: https://github.com/pderksen/WP-Google-Calendar-Events/" -"issues\n" -"POT-Creation-Date: 2015-08-31 09:04:08+00:00\n" -"PO-Revision-Date: 2015-08-09 13:26+0100\n" -"Last-Translator: Tore Hjartland \n" -"Language-Team: \n" -"Language: nb_NO\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.7.7\n" -"X-Poedit-Basepath: .\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Poedit-KeywordsList: __;_e\n" -"X-Poedit-SearchPath-0: google-calendar-events\n" - -#: class-google-calendar-events-admin.php:138 -#: class-google-calendar-events-admin.php:139 -#: class-google-calendar-events-admin.php:235 -#: includes/register-settings.php:68 -msgid "General Settings" -msgstr "Generelle innstillinger" - -#. Plugin Name of the plugin/theme -msgid "Google Calendar Events" -msgstr "Google Calendar Events" - -#: class-google-calendar-events-admin.php:236 -msgid "Feeds" -msgstr "Feeds" - -#: class-google-calendar-events-admin.php:254 -#: class-google-calendar-events-admin.php:289 -msgid "Add Calendar" -msgstr "Legg til kalender" - -#: class-google-calendar-events-admin.php:290 -msgid "Add a calendar feed to your post." -msgstr "Legg til en kalender-feed til innlegget ditt." - -#: class-google-calendar-events-admin.php:300 -msgid "Insert Calendar" -msgstr "Legg inn kalender" - -#: class-google-calendar-events-admin.php:302 -msgid "Could not find any calendars to add to this post." -msgstr "Kunne ikke finne noen kaleder å legge til dette innlegget." - -#: class-google-calendar-events-admin.php:303 -msgid "Please add a new calendar feed first." -msgstr "Vennligst legg til en ny kalender-feed først." - -#: class-google-calendar-events.php:162 -msgid "Loading..." -msgstr "Laster..." - -#: google-calendar-events.php:34 -msgid "" -"Google Events Calendar requires PHP %1$s and WordPress %2$s to function " -"properly. PHP version found: %3$s. WordPress installed version: %4$s. Please " -"upgrade to meet the minimum requirements." -msgstr "" -"Google Events Calendarkrever PHP %1$s og WordPress %2$s for å fungere " -"skikkelig. PHP-versjon funnet: %3$s. WordPress installert versjon: %4$s. " -"Vennligst oppgrader for å møte minimumskravene." - -#: includes/admin/admin-functions.php:20 -msgid "Cache has been cleared for this feed." -msgstr "Bufferen har blitt tømt for denne feed'en." - -#: includes/admin/admin-functions.php:35 includes/admin/admin-functions.php:56 -msgid "Starts:" -msgstr "Starter:" - -#: includes/admin/admin-functions.php:36 includes/admin/admin-functions.php:58 -msgid "Ends:" -msgstr "Slutter:" - -#: includes/admin/admin-functions.php:37 includes/admin/admin-functions.php:60 -msgid "Location:" -msgstr "Sted:" - -#: includes/admin/admin-functions.php:38 includes/admin/admin-functions.php:61 -msgid "Description:" -msgstr "Beskrivelse:" - -#: includes/admin/admin-functions.php:39 -msgid "More details..." -msgstr "Flere detaljer..." - -#: includes/admin/admin-functions.php:63 -msgid "More Details" -msgstr "Flere detaljer" - -#: includes/admin/admin-functions.php:77 includes/gce-feed-cpt.php:328 -#: includes/gce-feed-cpt.php:381 -msgid "Clear Cache" -msgstr "Tøm buffer" - -#: includes/admin/admin-notice.php:26 -msgid "GCal API Key Notice" -msgstr "Melding om GCal API-nøkkel" - -#: includes/admin/admin-notice.php:28 -msgid "" -"GCal Events uses the Google Calendar API version 3. By default this plugin " -"uses a public shared key across all plugin users." -msgstr "" -"GCal Events benytter Google Calendar API versjon 3. Som standard benytter " -"denne utvidelsen en offentlig delt nøkkel for alle brukere av utvidelsen." - -#: includes/admin/admin-notice.php:30 -msgid "" -"This key is limited to 500,000 requests per day and 5 requests per second. " -"To avoid running into any potential limits you can use your own Google API " -"key." -msgstr "" -"Nøkkelen er begrenset til 500 000 forespørsler per dag og 5 forespørsler per " -"sekund. For å unngå å møte potensielle begrensninger kan du benytte din egen " -"Google API-nøkkel." - -#: includes/admin/admin-notice.php:33 -msgid "Enter your GCal API key" -msgstr "Skriv inn GCAL API-nøkkelen din" - -#: includes/admin/admin-notice.php:34 -msgid "Configure GCal feeds" -msgstr "Konfigurer GCal feeds" - -#: includes/admin/admin-notice.php:35 -msgid "Hide this" -msgstr "Skjul dette" - -#: includes/class-gce-display.php:193 includes/class-gce-display.php:303 -msgid "Back" -msgstr "Forrige" - -#: includes/class-gce-display.php:197 includes/class-gce-display.php:304 -#: includes/class-gce-display.php:310 includes/php-calendar.php:61 -#: includes/php-calendar.php:63 -msgid "Next" -msgstr "Neste" - -#: includes/class-gce-display.php:309 includes/php-calendar.php:55 -#: includes/php-calendar.php:57 -msgid "Previous" -msgstr "Forrige" - -#: includes/class-gce-display.php:406 -msgid "No events to display." -msgstr "Ingen arrangement å vise" - -#: includes/class-gce-event.php:555 -msgid "%s year" -msgstr "%s år" - -#: includes/class-gce-event.php:555 -msgid "%s years" -msgstr "%s år" - -#: includes/class-gce-event.php:556 -msgid "%s month" -msgstr "%s måned" - -#: includes/class-gce-event.php:556 -msgid "%s months" -msgstr "%s måneder" - -#: includes/class-gce-event.php:557 -msgid "%s week" -msgstr "%s uke" - -#: includes/class-gce-event.php:557 -msgid "%s weeks" -msgstr "%s uker" - -#: includes/class-gce-event.php:558 -msgid "%s day" -msgstr "%s dag" - -#: includes/class-gce-event.php:558 -msgid "%s days" -msgstr "%s dager" - -#: includes/class-gce-event.php:559 -msgid "%s hour" -msgstr "%s time" - -#: includes/class-gce-event.php:559 -msgid "%s hours" -msgstr "%s timer" - -#: includes/class-gce-event.php:560 -msgid "%s min" -msgstr "%s min" - -#: includes/class-gce-event.php:560 -msgid "%s mins" -msgstr "%s minutter" - -#: includes/class-gce-feed.php:94 -msgid "" -"The Google Calendar ID has not been set. Please make sure to set it " -"correctly in the Feed settings." -msgstr "" -"Google Calendar IDen har ikke blitt satt. Vennligst påse å sette den korrekt " -"i feedinnstillingene." - -#: includes/class-gce-feed.php:226 -msgid "" -"Some data was retrieved, but could not be parsed successfully. Please ensure " -"your feed settings are correct." -msgstr "" -"Noen data ble hentet, men kunne ikke analyseres vellykket. Vennligst sikre " -"at feedinnstillingene er korrekte." - -#: includes/class-gce-feed.php:229 -msgid "An error has occured." -msgstr "En feil har oppstått." - -#: includes/class-gce-feed.php:234 -msgid " Please ensure your calendar ID is correct." -msgstr "Vennligst sikre at kalender-ID'en din er korrekt." - -#: includes/gce-feed-cpt.php:21 -msgid "Google Calendar Feeds" -msgstr "Google Calendar feeds" - -#: includes/gce-feed-cpt.php:22 includes/gce-feed-cpt.php:24 -#: includes/gce-feed-cpt.php:72 -msgid "Feed" -msgstr "Feed" - -#: includes/gce-feed-cpt.php:23 -msgid "GCal Events" -msgstr "GCal-feeds" - -#: includes/gce-feed-cpt.php:25 -msgid "Add New" -msgstr "Legg til ny" - -#: includes/gce-feed-cpt.php:26 -msgid "Add New Feed" -msgstr "Legg til ny feed" - -#: includes/gce-feed-cpt.php:27 -msgid "New Feed" -msgstr "Ny feed" - -#: includes/gce-feed-cpt.php:28 -msgid "Edit Feed" -msgstr "Rediger feed" - -#: includes/gce-feed-cpt.php:29 -msgid "View Feed" -msgstr "Vis feed" - -#: includes/gce-feed-cpt.php:30 -msgid "All GCal Feeds" -msgstr "Alle GCAL-feeds" - -#: includes/gce-feed-cpt.php:31 -msgid "Search GCal Feeds" -msgstr "Søk i GCal-feeds" - -#: includes/gce-feed-cpt.php:32 -msgid "No feeds found." -msgstr "Ingen feeds funnet." - -#: includes/gce-feed-cpt.php:33 -msgid "No feeds found in Trash." -msgstr "Ingen feeds funnet i søpla." - -#: includes/gce-feed-cpt.php:70 -msgid "feed" -msgstr "feed" - -#: includes/gce-feed-cpt.php:75 includes/gce-feed-cpt.php:76 -msgid "%4$s updated. %1$sView %2$s%3$s" -msgstr "%4$s oppdatert. %1$sVis %2$s%3$s" - -#: includes/gce-feed-cpt.php:77 -msgid "%4$s published. %1$sView %2$s%3$s" -msgstr "%4$s publisert. %1$sVis %2$s%3$s" - -#: includes/gce-feed-cpt.php:78 -msgid "%4$s saved. %1$sView %2$s%3$s" -msgstr "%4$s lagret. %1$sVis %2$s%3$s" - -#: includes/gce-feed-cpt.php:79 -msgid "%4$s submitted. %1$sView %2$s%3$s" -msgstr "%4$s innsendt. %1$sVis %2$s%3$s" - -#: includes/gce-feed-cpt.php:80 -msgid "%4$s draft updated. %1$sView %2$s%3$s" -msgstr "%4$s utkast oppdatert. %1$sVis %2$s%3$s" - -#: includes/gce-feed-cpt.php:95 -msgid "Feed Settings" -msgstr "Feed-innstillinger" - -#: includes/gce-feed-cpt.php:97 -msgid "Resources" -msgstr "Ressurser" - -#: includes/gce-feed-cpt.php:98 -msgid "Display Options" -msgstr "Visningsvalg" - -#: includes/gce-feed-cpt.php:269 -msgid "Feed ID" -msgstr "Feed-ID" - -#: includes/gce-feed-cpt.php:270 views/admin/gce-feed-meta-display.php:79 -msgid "Feed Shortcode" -msgstr "Feed hurtigkode" - -#: includes/gce-feed-cpt.php:271 -msgid "Display Type" -msgstr "Visningstype" - -#: includes/gce-feed-cpt.php:306 -msgid "Grid" -msgstr "Matrise" - -#: includes/gce-feed-cpt.php:308 views/admin/gce-feed-meta-display.php:155 -#: views/widgets.php:274 -msgid "List" -msgstr "Liste" - -#: includes/gce-feed-cpt.php:310 views/admin/gce-feed-meta-display.php:156 -#: views/widgets.php:275 -msgid "Grouped List" -msgstr "Gruppert list" - -#: includes/gce-feed-cpt.php:312 -msgid "Custom Date Range" -msgstr "Tillpasset datointervall" - -#: includes/gce-feed-cpt.php:469 -msgid "Feed cache cleared." -msgid_plural "Cleared cache for %s feeds." -msgstr[0] "Feedbuffer tømt." -msgstr[1] "Tømt buffer for %s feeds." - -#: includes/register-settings.php:29 -msgid "Google API Key" -msgstr "Google API-nøkkel" - -#: includes/register-settings.php:30 -msgid "" -"If left blank all displayed Google calendars will use a public Google API " -"key shared across all plugin users." -msgstr "" -"Dersom tomt vil alle viste Google-kalendere benytte en offentlig Google API-" -"nøkkel delt med alle brukere av utvidelsen." - -#: includes/register-settings.php:31 -msgid "" -"Currently the shared key is limited to 500,000 requests per day and 5 " -"requests per second." -msgstr "" -"Per i dag er den delte nøkkelen begrenset til 500 000 forespørsler per dag " -"og 5 forespørsler per sekund." - -#: includes/register-settings.php:32 -msgid "" -"To avoid these limits click here for " -"instructions on how to generate and use your own Google API key." -msgstr "" -"For å unngå disse begrensningene klikk her " -"for instrukser for hvordan å generere og bruke din egen Google API-nøkkel" - -#: includes/register-settings.php:39 -msgid "Always Enqueue Scripts & Styles" -msgstr "Alltid legg Skripter & Maler i kø" - -#: includes/register-settings.php:40 -msgid "Enqueue this plugin's scripts and styles on every post and page." -msgstr "" -"Legg denne utvidelsens skripter og maler i kø på hvert innlegg og hver side." - -#: includes/register-settings.php:41 -msgid "Useful if using shortcodes in widgets or other non-standard locations." -msgstr "" -"Nyttig ved bruk av hurtigkoder i widgets eller andre ikke-standard-steder." - -#: includes/register-settings.php:46 -msgid "Disable Plugin CSS" -msgstr "Deaktiver utvidelsens CSS" - -#: includes/register-settings.php:47 -msgid "" -"If this option is checked, this plugin's CSS file will not be referenced." -msgstr "" -"Derson dette valget er huket av, vil det ikke bli referert til denne " -"utvidelsens CSS." - -#: includes/register-settings.php:52 -msgid "Save Settings" -msgstr "Lagre innstillinger" - -#: includes/register-settings.php:53 -msgid "Save your settings when uninstalling this plugin." -msgstr "Lagre innstillingene dine når du avinnstallerer denne utvidelsen. " - -#: includes/register-settings.php:54 -msgid "Useful when upgrading or re-installing." -msgstr "Nyttig ved oppgradering eller reinstallasjon." - -#: includes/register-settings.php:182 -msgid "" -"The callback function used for the %s setting is missing." -msgstr "" -"Tilbakekallingsfunksjonen som brukes til %s-innstillingen " -"mangler." - -#: includes/shortcodes.php:97 -msgid "" -"There was a problem with one or more of your feed IDs. Please check your " -"shortcode settings and make sure they are correct." -msgstr "" -"De oppsto et problem med en eller flere feed'ene dines ID'er. Vennligst " -"sjekke hurtigodeinnstillingene dine og sørg for at det er korrekte." - -#: views/admin/display-options-meta.php:39 -msgid "" -"Check this box to use the simple display options below instead of the Event " -"Builder code on the left." -msgstr "" -"Huk av denne boksen for å benytte enkle visningsvalg nedenfor i stedet for " -"Event Builder-koden til vensstre." - -#: views/admin/display-options-meta.php:44 -msgid "Start date / time display" -msgstr "Visning av startdato / -tid" - -#: views/admin/display-options-meta.php:45 -msgid "Select how to display the start date / time." -msgstr "Velg hvordan å vise startdato / -tid" - -#: views/admin/display-options-meta.php:47 -#: views/admin/display-options-meta.php:61 -msgid "None" -msgstr "Ingen" - -#: views/admin/display-options-meta.php:48 -msgid "Start time" -msgstr "Starttid" - -#: views/admin/display-options-meta.php:49 -msgid "Start date" -msgstr "Startdato" - -#: views/admin/display-options-meta.php:50 -msgid "Start time and date" -msgstr "Starttid og -dato" - -#: views/admin/display-options-meta.php:51 -msgid "Start date and time" -msgstr "Startdato / -tid" - -#: views/admin/display-options-meta.php:53 -msgid "Text to display before the start time." -msgstr "Tekst å vise før starttiden." - -#: views/admin/display-options-meta.php:58 -msgid "End time/date display" -msgstr "Visning av sluttid/dato" - -#: views/admin/display-options-meta.php:59 -msgid "Select how to display the end date / time." -msgstr "Velg hvordan å vise sluttdato / -tid" - -#: views/admin/display-options-meta.php:62 -msgid "End time" -msgstr "Sluttid" - -#: views/admin/display-options-meta.php:63 -msgid "End date" -msgstr "Sluttdato" - -#: views/admin/display-options-meta.php:64 -msgid "End time and date" -msgstr "Sluttid og -dato" - -#: views/admin/display-options-meta.php:65 -msgid "End date and time" -msgstr "Sluttdato og -tid" - -#: views/admin/display-options-meta.php:67 -msgid "Text to display before the end time." -msgstr "Tekst å vise før sluttiden." - -#: views/admin/display-options-meta.php:72 -msgid "Separator" -msgstr "Skiller" - -#: views/admin/display-options-meta.php:74 -msgid "" -"If you have chosen to display both the time and date above, enter the text / " -"characters to display between the time and date here (including any spaces)." -msgstr "" -"Hvis du har valgt å vise både klokkeslett og dato ovenfor, skriv inn " -"teksten / tegnene for å vise mellom klokkeslett og dato her (inkludert " -"mellomrom)." - -#: views/admin/display-options-meta.php:80 -msgid "Location" -msgstr "Sted" - -#: views/admin/display-options-meta.php:82 -msgid "Show the location of events?" -msgstr "Vise arrangementssted?" - -#: views/admin/display-options-meta.php:83 -msgid "Text to display before the location." -msgstr "Tekst å vise før arrangementsstedet." - -#: views/admin/display-options-meta.php:88 -msgid "Description" -msgstr "Beskrivelse" - -#: views/admin/display-options-meta.php:91 -msgid "" -"Show the description of events? (URLs in the description will be made into " -"links)." -msgstr "" -"Vis arrangementsbeskrivelser? (URLer i beskrivelsen vil bli omgjort til " -"lenker)." - -#: views/admin/display-options-meta.php:93 -msgid "Text to display before the description." -msgstr "Tekst å vise før beskrivelsen." - -#: views/admin/display-options-meta.php:95 -msgid "" -"Maximum number of words to show from description. Leave blank for no limit." -msgstr "Maks antall ord å vise fra beskrivelsen. La stå tomt for ingen grense." - -#: views/admin/display-options-meta.php:100 -msgid "Event Link" -msgstr "Arrangementslink" - -#: views/admin/display-options-meta.php:103 -msgid "Show a link to the Google Calendar page for an event?" -msgstr "Vis en lenke til Google Calendar-siden for et arrangement?" - -#: views/admin/display-options-meta.php:107 -msgid "Links open in a new window / tab?" -msgstr "Åpner lenker i et nytt vindu/arkfane?" - -#: views/admin/display-options-meta.php:109 -msgid "The link text to be displayed." -msgstr "Lenketeksten å vise." - -#: views/admin/gce-feed-meta-display.php:69 -msgid "Want to be in the know?" -msgstr "Lyst til å være oppdatert?" - -#: views/admin/gce-feed-meta-display.php:72 -msgid "Get notified when new features are released" -msgstr "Bli varslet når nye funksjoner blir lansert" - -#: views/admin/gce-feed-meta-display.php:90 -msgid "" -"Copy and paste this shortcode to display this Google Calendar feed on any " -"post or page." -msgstr "" -"Klipp og lim denne hurtigkoden for å vise denne Googlekalenderen i hvilket " -"som helst innlegg eller side." - -#: views/admin/gce-feed-meta-display.php:91 -msgid "" -"To avoid display issues, make sure to paste the shortcode in the Text tab of " -"the post editor." -msgstr "" -"For å unngå visningsproblemer, sørg for å lime inn hurtigkoden i tekstfanen " -"på innleggsredigereren." - -#: views/admin/gce-feed-meta-display.php:96 -msgid "Google Calendar ID" -msgstr "Google Calendar ID" - -#: views/admin/gce-feed-meta-display.php:100 -msgid "The Google Calendar ID." -msgstr "Google Calendar IDen." - -#: views/admin/gce-feed-meta-display.php:100 -msgid "Example" -msgstr "Eksempel" - -#: views/admin/gce-feed-meta-display.php:102 -msgid "How to find your Google Calendar ID" -msgstr "Hvordan å finne Google Calendar IDen din" - -#: views/admin/gce-feed-meta-display.php:115 -msgid "Timezone" -msgstr "Tidssone" - -#: views/admin/gce-feed-meta-display.php:122 -msgid "It is recommended to use the calendar default timezone." -msgstr "Det er anbefalt å benytte kalenderens standard tidssone." - -#: views/admin/gce-feed-meta-display.php:127 -msgid "Search Query" -msgstr "Søk" - -#: views/admin/gce-feed-meta-display.php:130 -msgid "Find and show events based on a search query." -msgstr "Finn og vis arrangement basert på et søk." - -#: views/admin/gce-feed-meta-display.php:135 -msgid "Expand Recurring Events?" -msgstr "Utvid gjentakende arrangementer?" - -#: views/admin/gce-feed-meta-display.php:137 -msgid "Yes" -msgstr "Ja" - -#: views/admin/gce-feed-meta-display.php:138 -msgid "" -"Display recurring events each time they occur. If disabled, events will be " -"displayed only the first time they occur." -msgstr "" -"Vis tilbakevendende arrangement hver gang de oppstår. Dersom deaktivert, vil " -"det bare vise arrangement første gang de oppstår." - -#: views/admin/gce-feed-meta-display.php:143 -msgid "Multiple Day Events" -msgstr "Arrangement over fler dager" - -#: views/admin/gce-feed-meta-display.php:145 -msgid "Show on each day" -msgstr "Vis på hver dag" - -#: views/admin/gce-feed-meta-display.php:146 -msgid "" -"Display multiple day events on each day that they span. If disabled, " -"multiple day events will be displayed only on the first day they occur." -msgstr "" -"Vis flerdagsarrangement på hver dag de omfatter. Dersom deaktivert, vil " -"flerdagsarrangement bli vist kun på den første dagen de oppstår." - -#: views/admin/gce-feed-meta-display.php:151 -msgid "Display Mode" -msgstr "Visningsmodus" - -#: views/admin/gce-feed-meta-display.php:154 views/widgets.php:273 -msgid "Grid (Month view)" -msgstr "Matrise (månedsvisning)" - -#: views/admin/gce-feed-meta-display.php:157 views/widgets.php:276 -msgid "Custom Date Range (List)" -msgstr "Tilpasset datointervall (liste)" - -#: views/admin/gce-feed-meta-display.php:158 views/widgets.php:277 -msgid "Custom Date Range (Grid)" -msgstr "Tilpasset datointervall (matrise)" - -#: views/admin/gce-feed-meta-display.php:160 -msgid "Select how to display this feed." -msgstr "Velg hvordan å vise denne feed'en" - -#: views/admin/gce-feed-meta-display.php:165 -msgid "Events per Page" -msgstr "Arrangement per side" - -#: views/admin/gce-feed-meta-display.php:168 views/widgets.php:292 -msgid "Number of Days" -msgstr "Antall dager" - -#: views/admin/gce-feed-meta-display.php:169 views/widgets.php:293 -msgid "Number of Events" -msgstr "Antall arrangement" - -#: views/admin/gce-feed-meta-display.php:170 views/widgets.php:294 -msgid "One Week" -msgstr "Én uke" - -#: views/admin/gce-feed-meta-display.php:171 views/widgets.php:295 -msgid "One Month" -msgstr "Én måned" - -#: views/admin/gce-feed-meta-display.php:176 -msgid "How many events to display per page (List View only)." -msgstr "Hvor mange arrangement å vise per side (kun listevisning)." - -#: views/admin/gce-feed-meta-display.php:181 -msgid "Display Start Date Offset" -msgstr "Vis Startdatooffsett" - -#: views/admin/gce-feed-meta-display.php:184 -#: views/admin/gce-feed-meta-display.php:196 views/widgets.php:309 -msgid "Number of Days Back" -msgstr "Antall dager tilbake" - -#: views/admin/gce-feed-meta-display.php:185 -#: views/admin/gce-feed-meta-display.php:215 views/widgets.php:310 -msgid "Number of Days Forward" -msgstr "Antall dager fremover" - -#: views/admin/gce-feed-meta-display.php:188 views/widgets.php:314 -msgid "" -"Change to initially display events on a date other than today (List View " -"only)." -msgstr "" -"Endre for å vise arrangement på en annen dato enn i dag. (kun listevisning)." - -#: views/admin/gce-feed-meta-display.php:193 -msgid "Earliest Feed Event Date" -msgstr "Tidligste arrangementsdato for feed'en" - -#: views/admin/gce-feed-meta-display.php:197 -msgid "Number of Months Back" -msgstr "Antall måneder tilbake" - -#: views/admin/gce-feed-meta-display.php:198 -msgid "Number of Years Back" -msgstr "Antall år tilbake" - -#: views/admin/gce-feed-meta-display.php:204 -msgid "Set how far back to retrieve events regardless of initial display." -msgstr "" -"Sett hvor langt tilbake i tid å hente arrangement uavhengig av " -"åpningsvisningen." - -#: views/admin/gce-feed-meta-display.php:206 -msgid "" -"Note: Total events are currently limited to 2,500 by the " -"Google Calendar API." -msgstr "" -"Merk: Antall arrangemet er per i dag begrenset til 2 500 av " -"Google Calendar API." - -#: views/admin/gce-feed-meta-display.php:212 -msgid "Latest Feed Event Date" -msgstr "Seneste arrangementsdato for feed'en" - -#: views/admin/gce-feed-meta-display.php:216 -msgid "Number of Months Forward" -msgstr "Antall måneder fremover" - -#: views/admin/gce-feed-meta-display.php:217 -msgid "Number of Years Forward" -msgstr "Antall år fremover" - -#: views/admin/gce-feed-meta-display.php:222 -msgid "" -"Set how far in the future to retrieve events regardless of initial display." -msgstr "" -"Sett hvor langt inn i fremtiden å hente arrangement uavhengig av " -"åpningsvisningen." - -#: views/admin/gce-feed-meta-display.php:227 -msgid "Use Custom Date Range" -msgstr "Benytte tilpasset datointervall" - -#: views/admin/gce-feed-meta-display.php:233 -msgid "" -"Set a specific range of events to retrieve. Leaving either field blank will " -"set the date to the current day." -msgstr "" -"Sett et spesifikt intervall av arrangementer å hente. Ved å la et felt stå " -"tomt vil sette datoen til dagens dato." - -#: views/admin/gce-feed-meta-display.php:239 views/widgets.php:324 -msgid "Show Paging Links" -msgstr "Vis sidelenker" - -#: views/admin/gce-feed-meta-display.php:242 -msgid "Display Next and Back navigation links." -msgstr "Vis Neste og Forrige navigasjonslenker." - -#: views/admin/gce-feed-meta-display.php:247 views/widgets.php:327 -msgid "Show Tooltips" -msgstr "Vis verktøytips" - -#: views/admin/gce-feed-meta-display.php:250 -msgid "Display tooltips when hovering over events (Grid View only)." -msgstr "Vis verktøytips ved sveving over arrangement (kun matrisevisning)." - -#: views/admin/gce-feed-meta-display.php:255 -msgid "Date Format" -msgstr "Datoformat" - -#: views/admin/gce-feed-meta-display.php:259 -#: views/admin/gce-feed-meta-display.php:270 -msgid "Use %sPHP date formatting%s." -msgstr "Benytt %sPHP datoformatering%s." - -#: views/admin/gce-feed-meta-display.php:260 -#: views/admin/gce-feed-meta-display.php:271 -msgid "Leave blank to use the default." -msgstr "La stå tom for å benytte standard." - -#: views/admin/gce-feed-meta-display.php:266 -msgid "Time Format" -msgstr "Tidsformat" - -#: views/admin/gce-feed-meta-display.php:277 -msgid "Cache Duration" -msgstr "Buffervarighet" - -#: views/admin/gce-feed-meta-display.php:280 -msgid "" -"The length of time, in seconds, to cache the feed (43200 = 12 hours). If " -"this feed changes regularly, you may want to reduce the cache duration." -msgstr "" -"Hvor lang tid, i sekunder, å bufre feeden (43 200 = 12 timer). Hvis denne " -"feed'en endres regelmessig, kan det være lurt å redusere buffervarighet." - -#: views/admin/gce-feed-sidebar-help.php:6 -msgid "Documentation" -msgstr "Dokumentasjon" - -#: views/admin/gce-feed-sidebar-help.php:11 -msgid "Community support forums" -msgstr "Støttefora" - -#: views/admin/gce-feed-sidebar-help.php:16 -msgid "Get notified of new features" -msgstr "Bli varslet om nye funksjoner" - -#: views/admin/gce-feed-sidebar-help.php:21 -msgid "" -"Are you finding our GCal plugin helpful? 5-star ratings keep us motivated!" -msgstr "" - -#: views/admin/gce-feed-sidebar-help.php:25 -msgid "Rate our plugin on wordpress.org" -msgstr "" - -#: views/widgets.php:28 -msgid "" -"Display a list or calendar grid of events from one or more Google Calendar " -"feeds you have added" -msgstr "" -"Vis en liste eller kalendergrid over arrangement fra en eller flere " -"Googlekalenderfeeds som du har lagt til" - -#: views/widgets.php:146 -msgid "" -"No valid Feed IDs have been entered for this widget. Please check that you " -"have entered the IDs correctly in the widget settings (Appearance > " -"Widgets), and that the Feeds have not been deleted." -msgstr "" -"Ingen gyldig feed-IDer er angitt for denne widgeten. Vennligst sjekk at du " -"har skrevet IDer riktig i widgetinnstillinger (utseende> Widgets), og at " -"Feeds ikke har blitt slettet." - -#: views/widgets.php:186 -msgid "" -"There was a problem with one or more of your feed IDs. Please check your " -"widget settings and make sure they are correct." -msgstr "" -"Det oppsto et problem med en eller flere av dine feeds IDer. Vennligst sjekk " -"widgetinnstillingene dine og sørg for at de er korrekte." - -#: views/widgets.php:192 -msgid "You have not added any feeds yet." -msgstr "Du har ikke lagt til noen feeds ennå." - -#: views/widgets.php:235 -msgid "There are no feeds created yet." -msgstr "Ingen feed er opprettet ennå." - -#: views/widgets.php:236 -msgid "Add your first feed!" -msgstr "Legg til din første feed!" - -#: views/widgets.php:246 -msgid "Events on" -msgstr "Arrangementer på" - -#: views/widgets.php:260 -msgid "Title:" -msgstr "Tittel:" - -#: views/widgets.php:265 -msgid "Feeds to Display (comma separated list - i.e. 101,102,103):" -msgstr "Feeds å vise (kommaseparert liste - f.eks. 101, 102, 103):" - -#: views/widgets.php:271 -msgid "Display Events as:" -msgstr "Vis arrangement som:" - -#: views/widgets.php:282 -msgid "Sort Order (List View only):" -msgstr "Sorteringsrekkefølge (kun listevisning):" - -#: views/widgets.php:284 -msgid "Ascending" -msgstr "Stigende" - -#: views/widgets.php:285 -msgid "Descending" -msgstr "Synkende" - -#: views/widgets.php:290 -msgid "Events per Page (List View only):" -msgstr "Antall arrangement per side (kun listevisning):" - -#: views/widgets.php:303 -msgid "" -"This setting will pull from the custom date range set in the main feed " -"settings and cannot be changed here." -msgstr "" -"Denne innstillingen vil hente fra datointervallet satt i hovedinnstillingene " -"for feed'en og kan ikke endres her." - -#: views/widgets.php:307 -msgid "Display Start Date Offset (List View only):" -msgstr "Vis Startdatooffsett (kun listevisning)" - -#: views/widgets.php:318 -msgid "" -"Display Title on Tooltip/List Item (e.g. 'Events on 7th March'). Grouped " -"lists always have a title displayed." -msgstr "" -"Vis tittel på verktøytips / listegjenstand (f.eks. 'Arrangement den 7. " -"mars'). Grupperte lister har alltid en tittel vist." - -#. Plugin URI of the plugin/theme -msgid "https://wordpress.org/plugins/google-calendar-events/" -msgstr "https://wordpress.org/plugins/google-calendar-events/" - -#. Description of the plugin/theme -msgid "" -"Show off your Google calendar in grid (month) or list view, in a post, page " -"or widget, and in a style that matches your site." -msgstr "" -"Vis Googlekalenderen din i matrise- (måned) eller listevisning, i et innlegg " -"eller widget, samt i en stil som matcher websidene dine." - -#. Author of the plugin/theme -msgid "Moonstone Media" -msgstr "Moonstone Media" - -#. Author URI of the plugin/theme -msgid "http://moonstonemediagroup.com" -msgstr "http://moonstonemediagroup.com" - -#: includes/class-gce-event.php:588 -msgctxt "human_time_diff" -msgid ", " -msgstr "," - -#: views/admin/gce-feed-meta-display.php:118 -msgctxt "Use the calendar default setting" -msgid "Calendar default" -msgstr "Kalenderstandard" - -#: views/admin/gce-feed-meta-display.php:119 -msgctxt "Use this site default setting" -msgid "Site default" -msgstr "Websidestandard" - -#: views/admin/gce-feed-meta-display.php:231 -msgctxt "separator between custom date range fields" -msgid "to" -msgstr "til" - -#~ msgid "Your review helps more folks find our plugin. Thanks so much!" -#~ msgstr "" -#~ "Tilbakemeldingen din hjelper flere å finne utvidelsen vår. Takk så mye!" - -#~ msgid "Review this Plugin Now" -#~ msgstr "Gi denne utvidelsen en anmeldelse nå" - -#~ msgid "" -#~ "The feed could not be found (404). Please ensure your feed URL is correct." -#~ msgstr "" -#~ "Feed'en ble ikke funnet (404). Vennligst sikre at feed-URLen er korrekt." - -#~ msgid "" -#~ "Access to this feed was denied (403). Please ensure you have public " -#~ "sharing enabled for your calendar." -#~ msgstr "" -#~ "Tilgang til denne feed'en ble avvist (403). Vennligst påse at du har " -#~ "offentlig deling aktivert for kalenderen din." - -#~ msgid "" -#~ "The feed data could not be retrieved. Error code: %s. Please ensure your " -#~ "feed URL is correct." -#~ msgstr "" -#~ "Feeddataen kunne ikke hentes. Feilkode: %s. Vennligst påse at feed-URLen " -#~ "er korrekt" - -#~ msgid "Helpful Links" -#~ msgstr "Nyttige lenker" - -#~ msgid "" -#~ "We're smack dab in the middle of building additional " -#~ "features for this plugin. Have ideas?" -#~ msgstr "" -#~ "Vi er midt i byggingen av ekstra funksjoner for denne " -#~ "plugin. Har du ideer?" - -#~ msgid "Visit our roadmap and tell us what you're looking for" -#~ msgstr "Besøk veikartet vårt og fortell oss hva du etterspør" - -#~ msgid "GCal Feed URL" -#~ msgstr "GCal-feed-URL" - -#~ msgid "" -#~ "Show events that span multiple days on each day that they span, rather " -#~ "than just the first day." -#~ msgstr "" -#~ "Vis arrangement som går over flere dager på hver dag det går over, og " -#~ "ikke bare den første dagen." - -#~ msgid "Choose how you want your calendar to be displayed." -#~ msgstr "Velg hvordan du vil vise kalenderen din." - -#~ msgid "Days" -#~ msgstr "Dager" - -#~ msgid "Ahead" -#~ msgstr "Forover" - -#~ msgid "Minimum Feed Start Date" -#~ msgstr "Minimum feed startdato" - -#~ msgid "Years" -#~ msgstr "År" - -#~ msgid "back" -#~ msgstr "forrige" - -#~ msgid "forward" -#~ msgstr "fremover" - -#~ msgid "Documentation & getting started" -#~ msgstr "Dokumentasjon & komme i gang" - -#~ msgid "Show Paging Links:" -#~ msgstr "Vis sidelenker:" - -#~ msgid "Disable to hide Next/Back links." -#~ msgstr "Deaktiver for å skjule Neste/Tilbake-lenker" - -#~ msgid "Calendar Grid - with AJAX" -#~ msgstr "Kalendergrid - med AJAX" - -#~ msgid "Sort order (only applies to lists):" -#~ msgstr "Sorteringsrekkefølge (gjelder bare for lister):" diff --git a/wp-content/plugins/google-calendar-events/languages/gce-nl_NL.mo b/wp-content/plugins/google-calendar-events/languages/gce-nl_NL.mo deleted file mode 100644 index 3dfff78..0000000 Binary files a/wp-content/plugins/google-calendar-events/languages/gce-nl_NL.mo and /dev/null differ diff --git a/wp-content/plugins/google-calendar-events/languages/gce-nl_NL.po b/wp-content/plugins/google-calendar-events/languages/gce-nl_NL.po deleted file mode 100644 index cb7c601..0000000 --- a/wp-content/plugins/google-calendar-events/languages/gce-nl_NL.po +++ /dev/null @@ -1,1054 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: Google Calendar Events\n" -"Report-Msgid-Bugs-To: https://github.com/pderksen/WP-Google-Calendar-Events/" -"issues\n" -"POT-Creation-Date: 2015-08-31 09:04:08+00:00\n" -"PO-Revision-Date: 2014-11-21 22:41+0100\n" -"Last-Translator: \n" -"Language-Team: \n" -"Language: nl_NL\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.6.10\n" -"X-Poedit-Basepath: .\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Poedit-KeywordsList: __;_e\n" -"X-Poedit-SearchPath-0: google-calendar-events\n" - -#: class-google-calendar-events-admin.php:138 -#: class-google-calendar-events-admin.php:139 -#: class-google-calendar-events-admin.php:235 -#: includes/register-settings.php:68 -msgid "General Settings" -msgstr "Algemene instellingen" - -#. Plugin Name of the plugin/theme -msgid "Google Calendar Events" -msgstr "Google Agenda Evenementen" - -#: class-google-calendar-events-admin.php:236 -msgid "Feeds" -msgstr "Feeds" - -#: class-google-calendar-events-admin.php:254 -#: class-google-calendar-events-admin.php:289 -#, fuzzy -msgid "Add Calendar" -msgstr "Google Agenda ID" - -#: class-google-calendar-events-admin.php:290 -msgid "Add a calendar feed to your post." -msgstr "" - -#: class-google-calendar-events-admin.php:300 -#, fuzzy -msgid "Insert Calendar" -msgstr "Google Agenda ID" - -#: class-google-calendar-events-admin.php:302 -msgid "Could not find any calendars to add to this post." -msgstr "" - -#: class-google-calendar-events-admin.php:303 -msgid "Please add a new calendar feed first." -msgstr "" - -#: class-google-calendar-events.php:162 -msgid "Loading..." -msgstr "Laden..." - -#: google-calendar-events.php:34 -msgid "" -"Google Events Calendar requires PHP %1$s and WordPress %2$s to function " -"properly. PHP version found: %3$s. WordPress installed version: %4$s. Please " -"upgrade to meet the minimum requirements." -msgstr "" - -#: includes/admin/admin-functions.php:20 -msgid "Cache has been cleared for this feed." -msgstr "Het cachegeheugen voor deze feed is verwijderd." - -#: includes/admin/admin-functions.php:35 includes/admin/admin-functions.php:56 -msgid "Starts:" -msgstr "Aanvang:" - -#: includes/admin/admin-functions.php:36 includes/admin/admin-functions.php:58 -msgid "Ends:" -msgstr "Einde:" - -#: includes/admin/admin-functions.php:37 includes/admin/admin-functions.php:60 -msgid "Location:" -msgstr "Locatie:" - -#: includes/admin/admin-functions.php:38 includes/admin/admin-functions.php:61 -msgid "Description:" -msgstr "Omschrijving" - -#: includes/admin/admin-functions.php:39 -msgid "More details..." -msgstr "Meer details..." - -#: includes/admin/admin-functions.php:63 -msgid "More Details" -msgstr "Meer details" - -#: includes/admin/admin-functions.php:77 includes/gce-feed-cpt.php:328 -#: includes/gce-feed-cpt.php:381 -msgid "Clear Cache" -msgstr "Cachegeheugen verwijderen" - -#: includes/admin/admin-notice.php:26 -#, fuzzy -msgid "GCal API Key Notice" -msgstr "Google API Sleutel" - -#: includes/admin/admin-notice.php:28 -#, fuzzy -msgid "" -"GCal Events uses the Google Calendar API version 3. By default this plugin " -"uses a public shared key across all plugin users." -msgstr "" -"GCal Evenementen gebruikt nu Google API versie 3, waarvoor een publieke " -"sleutel nodig is." - -#: includes/admin/admin-notice.php:30 -msgid "" -"This key is limited to 500,000 requests per day and 5 requests per second. " -"To avoid running into any potential limits you can use your own Google API " -"key." -msgstr "" - -#: includes/admin/admin-notice.php:33 -msgid "Enter your GCal API key" -msgstr "" - -#: includes/admin/admin-notice.php:34 -msgid "Configure GCal feeds" -msgstr "" - -#: includes/admin/admin-notice.php:35 -msgid "Hide this" -msgstr "Verbergen" - -#: includes/class-gce-display.php:193 includes/class-gce-display.php:303 -msgid "Back" -msgstr "Terug" - -#: includes/class-gce-display.php:197 includes/class-gce-display.php:304 -#: includes/class-gce-display.php:310 includes/php-calendar.php:61 -#: includes/php-calendar.php:63 -msgid "Next" -msgstr "Verder" - -#: includes/class-gce-display.php:309 includes/php-calendar.php:55 -#: includes/php-calendar.php:57 -msgid "Previous" -msgstr "" - -#: includes/class-gce-display.php:406 -msgid "No events to display." -msgstr "Er zijn geen evenementen om weer te geven." - -#: includes/class-gce-event.php:555 -msgid "%s year" -msgstr "%s jaar" - -#: includes/class-gce-event.php:555 -msgid "%s years" -msgstr "%s jaar" - -#: includes/class-gce-event.php:556 -msgid "%s month" -msgstr "%s maand" - -#: includes/class-gce-event.php:556 -msgid "%s months" -msgstr "%s maanden" - -#: includes/class-gce-event.php:557 -msgid "%s week" -msgstr "%s week" - -#: includes/class-gce-event.php:557 -msgid "%s weeks" -msgstr "%s weken" - -#: includes/class-gce-event.php:558 -msgid "%s day" -msgstr "%s dag" - -#: includes/class-gce-event.php:558 -msgid "%s days" -msgstr "%s dagen" - -#: includes/class-gce-event.php:559 -msgid "%s hour" -msgstr "%s uur" - -#: includes/class-gce-event.php:559 -msgid "%s hours" -msgstr "%s uur" - -#: includes/class-gce-event.php:560 -msgid "%s min" -msgstr "%s minuut" - -#: includes/class-gce-event.php:560 -msgid "%s mins" -msgstr "%s minuten" - -#: includes/class-gce-feed.php:94 -#, fuzzy -msgid "" -"The Google Calendar ID has not been set. Please make sure to set it " -"correctly in the Feed settings." -msgstr "" -"De URL van de feed is niet ingesteld. Voer a.u.b. de URL in bij de " -"instellingen van de Feed." - -#: includes/class-gce-feed.php:226 -msgid "" -"Some data was retrieved, but could not be parsed successfully. Please ensure " -"your feed settings are correct." -msgstr "" -"Er zijn enkele gegevens ontvangen, maar deze konden niet worden verwerkt. " -"Controleer a.u.b. de instellingen van de feed." - -#: includes/class-gce-feed.php:229 -msgid "An error has occured." -msgstr "" - -#: includes/class-gce-feed.php:234 -#, fuzzy -msgid " Please ensure your calendar ID is correct." -msgstr "Zorg a.u.b. dat de feed URL correct is." - -#: includes/gce-feed-cpt.php:21 -msgid "Google Calendar Feeds" -msgstr "Google Agenda Feeds" - -#: includes/gce-feed-cpt.php:22 includes/gce-feed-cpt.php:24 -#: includes/gce-feed-cpt.php:72 -msgid "Feed" -msgstr "Feed" - -#: includes/gce-feed-cpt.php:23 -msgid "GCal Events" -msgstr "GCal Evenementen" - -#: includes/gce-feed-cpt.php:25 -msgid "Add New" -msgstr "Nieuwe toevoegen" - -#: includes/gce-feed-cpt.php:26 -msgid "Add New Feed" -msgstr "Voeg nieuwe Feed toe" - -#: includes/gce-feed-cpt.php:27 -msgid "New Feed" -msgstr "Nieuwe Feed" - -#: includes/gce-feed-cpt.php:28 -msgid "Edit Feed" -msgstr "Feed bewerken" - -#: includes/gce-feed-cpt.php:29 -msgid "View Feed" -msgstr "Feed weergeven" - -#: includes/gce-feed-cpt.php:30 -msgid "All GCal Feeds" -msgstr "Alle GCal Feeds" - -#: includes/gce-feed-cpt.php:31 -msgid "Search GCal Feeds" -msgstr "GCal Feeds zoeken" - -#: includes/gce-feed-cpt.php:32 -msgid "No feeds found." -msgstr "Geen feeds gevonden." - -#: includes/gce-feed-cpt.php:33 -msgid "No feeds found in Trash." -msgstr "Geen feeds gevonden in de Prullenbak" - -#: includes/gce-feed-cpt.php:70 -msgid "feed" -msgstr "feed" - -#: includes/gce-feed-cpt.php:75 includes/gce-feed-cpt.php:76 -msgid "%4$s updated. %1$sView %2$s%3$s" -msgstr "%4$s bijgewerkt. %1$sWeergave %2$s%3$s" - -#: includes/gce-feed-cpt.php:77 -msgid "%4$s published. %1$sView %2$s%3$s" -msgstr "%4$s gepubliceerd. %1$sWeergave %2$s%3$s" - -#: includes/gce-feed-cpt.php:78 -msgid "%4$s saved. %1$sView %2$s%3$s" -msgstr "%4$s opgeslagen. %1$sWeergave %2$s%3$s" - -#: includes/gce-feed-cpt.php:79 -msgid "%4$s submitted. %1$sView %2$s%3$s" -msgstr "%4$s verzonden. %1$sWeergave %2$s%3$s" - -#: includes/gce-feed-cpt.php:80 -msgid "%4$s draft updated. %1$sView %2$s%3$s" -msgstr "%4$s concept bijgewerkt. %1$sWeergave %2$s%3$s" - -#: includes/gce-feed-cpt.php:95 -#, fuzzy -msgid "Feed Settings" -msgstr "Instellingen Opslaan" - -#: includes/gce-feed-cpt.php:97 -msgid "Resources" -msgstr "" - -#: includes/gce-feed-cpt.php:98 -#, fuzzy -msgid "Display Options" -msgstr "Weergave Type" - -#: includes/gce-feed-cpt.php:269 -msgid "Feed ID" -msgstr "Feed ID" - -#: includes/gce-feed-cpt.php:270 views/admin/gce-feed-meta-display.php:79 -msgid "Feed Shortcode" -msgstr "Feed Shortcode" - -#: includes/gce-feed-cpt.php:271 -msgid "Display Type" -msgstr "Weergave Type" - -#: includes/gce-feed-cpt.php:306 -msgid "Grid" -msgstr "Raster" - -#: includes/gce-feed-cpt.php:308 views/admin/gce-feed-meta-display.php:155 -#: views/widgets.php:274 -msgid "List" -msgstr "Lijst" - -#: includes/gce-feed-cpt.php:310 views/admin/gce-feed-meta-display.php:156 -#: views/widgets.php:275 -msgid "Grouped List" -msgstr "Gegroepeerde lijst" - -#: includes/gce-feed-cpt.php:312 -msgid "Custom Date Range" -msgstr "" - -#: includes/gce-feed-cpt.php:469 -msgid "Feed cache cleared." -msgid_plural "Cleared cache for %s feeds." -msgstr[0] "" -msgstr[1] "" - -#: includes/register-settings.php:29 -msgid "Google API Key" -msgstr "Google API Sleutel" - -#: includes/register-settings.php:30 -msgid "" -"If left blank all displayed Google calendars will use a public Google API " -"key shared across all plugin users." -msgstr "" -"Als niets wordt ingevuld zullen de Google Agenda's een publieke Google API " -"sleutel gebruiken die voor alle plugin gebruikers beschikbaar is." - -#: includes/register-settings.php:31 -msgid "" -"Currently the shared key is limited to 500,000 requests per day and 5 " -"requests per second." -msgstr "" -"Momenteel is deze gedeelde sleutel beperkt tot 500.000 aanvragen per dag en " -"5 aanvragen per seconde." - -#: includes/register-settings.php:32 -msgid "" -"To avoid these limits click here for " -"instructions on how to generate and use your own Google API key." -msgstr "" -"Als u deze beperking wilt voorkomen, kunt u hier instructies vinden over hoe u uw eigen Google API sleutel kunt " -"aanmaken en gebruiken." - -#: includes/register-settings.php:39 -msgid "Always Enqueue Scripts & Styles" -msgstr "" - -#: includes/register-settings.php:40 -msgid "Enqueue this plugin's scripts and styles on every post and page." -msgstr "" - -#: includes/register-settings.php:41 -msgid "Useful if using shortcodes in widgets or other non-standard locations." -msgstr "" - -#: includes/register-settings.php:46 -msgid "Disable Plugin CSS" -msgstr "" - -#: includes/register-settings.php:47 -msgid "" -"If this option is checked, this plugin's CSS file will not be referenced." -msgstr "" - -#: includes/register-settings.php:52 -msgid "Save Settings" -msgstr "Instellingen Opslaan" - -#: includes/register-settings.php:53 -#, fuzzy -msgid "Save your settings when uninstalling this plugin." -msgstr "" -"Sla uw instellingen op wanneer de plugin wordt gedeïnstalleerd. Nuttig " -"bij het bijwerken of herinstalleren van de plugin." - -#: includes/register-settings.php:54 -#, fuzzy -msgid "Useful when upgrading or re-installing." -msgstr "" -"Sla uw instellingen op wanneer de plugin wordt gedeïnstalleerd. Nuttig " -"bij het bijwerken of herinstalleren van de plugin." - -#: includes/register-settings.php:182 -msgid "" -"The callback function used for the %s setting is missing." -msgstr "" -"De callback-functie die wordt gebruikt voor de %s " -"instelling ontbreekt." - -#: includes/shortcodes.php:97 -msgid "" -"There was a problem with one or more of your feed IDs. Please check your " -"shortcode settings and make sure they are correct." -msgstr "" - -#: views/admin/display-options-meta.php:39 -msgid "" -"Check this box to use the simple display options below instead of the Event " -"Builder code on the left." -msgstr "" -"Vink deze optie aan om de eenvoudige weergaveopties hieronder te gebruiken " -"in plaats van de Evenement Weergavecode aan de linkerkant." - -#: views/admin/display-options-meta.php:44 -msgid "Start date / time display" -msgstr "Aanvangsdatum / -tijdsweergave" - -#: views/admin/display-options-meta.php:45 -msgid "Select how to display the start date / time." -msgstr "Selecteer hoe de aanvangsdatum / -tijd moet worden weergegeven." - -#: views/admin/display-options-meta.php:47 -#: views/admin/display-options-meta.php:61 -msgid "None" -msgstr "Geen" - -#: views/admin/display-options-meta.php:48 -msgid "Start time" -msgstr "Aanvangstijd" - -#: views/admin/display-options-meta.php:49 -msgid "Start date" -msgstr "Aanvangsdatum" - -#: views/admin/display-options-meta.php:50 -msgid "Start time and date" -msgstr "Aanvangstijd en -datum" - -#: views/admin/display-options-meta.php:51 -msgid "Start date and time" -msgstr "Aanvangsdatum en -tijd" - -#: views/admin/display-options-meta.php:53 -msgid "Text to display before the start time." -msgstr "Tekst om voor de aanvangstijd weer te geven." - -#: views/admin/display-options-meta.php:58 -msgid "End time/date display" -msgstr "Eindtijd/-datum weergave" - -#: views/admin/display-options-meta.php:59 -msgid "Select how to display the end date / time." -msgstr "Selecteer hoe de einddatum / -tijd weergegeven moet worden." - -#: views/admin/display-options-meta.php:62 -msgid "End time" -msgstr "Eindtijd" - -#: views/admin/display-options-meta.php:63 -msgid "End date" -msgstr "Einddatum" - -#: views/admin/display-options-meta.php:64 -msgid "End time and date" -msgstr "Eindtijd en -datum" - -#: views/admin/display-options-meta.php:65 -msgid "End date and time" -msgstr "Einddatum en -tijd" - -#: views/admin/display-options-meta.php:67 -msgid "Text to display before the end time." -msgstr "Tekst om voor de eindtijd weer te geven." - -#: views/admin/display-options-meta.php:72 -msgid "Separator" -msgstr "Scheidingsteken" - -#: views/admin/display-options-meta.php:74 -msgid "" -"If you have chosen to display both the time and date above, enter the text / " -"characters to display between the time and date here (including any spaces)." -msgstr "" -"Als je hierboven hebt gekozen om zowel tijd als datum weer te geven, voer " -"dan hier de tekst / leestekens in om weer te geven tussen de tijd en de " -"datum (inclusief evt. spaties)." - -#: views/admin/display-options-meta.php:80 -msgid "Location" -msgstr "Locatie" - -#: views/admin/display-options-meta.php:82 -msgid "Show the location of events?" -msgstr "Locatie van evenementen weergeven?" - -#: views/admin/display-options-meta.php:83 -msgid "Text to display before the location." -msgstr "Tekst om voor de locatie weer te geven." - -#: views/admin/display-options-meta.php:88 -msgid "Description" -msgstr "Omschrijving" - -#: views/admin/display-options-meta.php:91 -msgid "" -"Show the description of events? (URLs in the description will be made into " -"links)." -msgstr "" -"Omschrijving van evenementen weergeven? (URL's in de omschrijving worden " -"omgezet in links)." - -#: views/admin/display-options-meta.php:93 -msgid "Text to display before the description." -msgstr "Tekst om voor de omschrijving weer te geven." - -#: views/admin/display-options-meta.php:95 -msgid "" -"Maximum number of words to show from description. Leave blank for no limit." -msgstr "" -"Maximum aantal woorden van de omschrijving om weer te geven. Leeglaten om " -"volledige omschrijving weer te geven." - -#: views/admin/display-options-meta.php:100 -msgid "Event Link" -msgstr "Link naar evenement" - -#: views/admin/display-options-meta.php:103 -msgid "Show a link to the Google Calendar page for an event?" -msgstr "Link weergeven naar de Google Agenda pagina voor een evenement?" - -#: views/admin/display-options-meta.php:107 -msgid "Links open in a new window / tab?" -msgstr "Link in een nieuw venster of tab openen?" - -#: views/admin/display-options-meta.php:109 -msgid "The link text to be displayed." -msgstr "De weer te geven tekst voor de link." - -#: views/admin/gce-feed-meta-display.php:69 -msgid "Want to be in the know?" -msgstr "Wilt u op de hoogte gehouden worden?" - -#: views/admin/gce-feed-meta-display.php:72 -msgid "Get notified when new features are released" -msgstr "Ontvang een melding wanneer nieuwe functies zijn vrijgegeven" - -#: views/admin/gce-feed-meta-display.php:90 -msgid "" -"Copy and paste this shortcode to display this Google Calendar feed on any " -"post or page." -msgstr "" -"Kopiëer en plak deze shortcode om deze Google Agenda feed in een " -"bericht of op een pagina weer te geven." - -#: views/admin/gce-feed-meta-display.php:91 -msgid "" -"To avoid display issues, make sure to paste the shortcode in the Text tab of " -"the post editor." -msgstr "" -"Om weergaveproblemen te voorkomen kunt u de shortcode het beste in het Tekst-" -"tab van het bericht plakken." - -#: views/admin/gce-feed-meta-display.php:96 -msgid "Google Calendar ID" -msgstr "Google Agenda ID" - -#: views/admin/gce-feed-meta-display.php:100 -msgid "The Google Calendar ID." -msgstr "De Google Agenda ID." - -#: views/admin/gce-feed-meta-display.php:100 -msgid "Example" -msgstr "Voorbeeld" - -#: views/admin/gce-feed-meta-display.php:102 -#, fuzzy -msgid "How to find your Google Calendar ID" -msgstr "Hoe vindt u uw Google Agenda ID" - -#: views/admin/gce-feed-meta-display.php:115 -msgid "Timezone" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:122 -msgid "It is recommended to use the calendar default timezone." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:127 -msgid "Search Query" -msgstr "Zoekopdracht" - -#: views/admin/gce-feed-meta-display.php:130 -msgid "Find and show events based on a search query." -msgstr "Evenementen zoeken en weergeven op basis van een zoekopdracht." - -#: views/admin/gce-feed-meta-display.php:135 -msgid "Expand Recurring Events?" -msgstr "Terugkerende evenementen herhalen?" - -#: views/admin/gce-feed-meta-display.php:137 -msgid "Yes" -msgstr "Ja" - -#: views/admin/gce-feed-meta-display.php:138 -#, fuzzy -msgid "" -"Display recurring events each time they occur. If disabled, events will be " -"displayed only the first time they occur." -msgstr "" -"Hiermee worden terugkerende evenementen bij elke herhaling weergegeven, " -"anders worden ze alleen de eerste keer weergegeven." - -#: views/admin/gce-feed-meta-display.php:143 -msgid "Multiple Day Events" -msgstr "Evenementen op meerdere dagen" - -#: views/admin/gce-feed-meta-display.php:145 -msgid "Show on each day" -msgstr "Op elke dag weergeven" - -#: views/admin/gce-feed-meta-display.php:146 -msgid "" -"Display multiple day events on each day that they span. If disabled, " -"multiple day events will be displayed only on the first day they occur." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:151 -msgid "Display Mode" -msgstr "Weergavemodus" - -#: views/admin/gce-feed-meta-display.php:154 views/widgets.php:273 -msgid "Grid (Month view)" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:157 views/widgets.php:276 -msgid "Custom Date Range (List)" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:158 views/widgets.php:277 -msgid "Custom Date Range (Grid)" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:160 -#, fuzzy -msgid "Select how to display this feed." -msgstr "Selecteer hoe de aanvangsdatum / -tijd moet worden weergegeven." - -#: views/admin/gce-feed-meta-display.php:165 -#, fuzzy -msgid "Events per Page" -msgstr "Aantal evenementen per pagina" - -#: views/admin/gce-feed-meta-display.php:168 views/widgets.php:292 -msgid "Number of Days" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:169 views/widgets.php:293 -#, fuzzy -msgid "Number of Events" -msgstr "Aantal evenementen per pagina" - -#: views/admin/gce-feed-meta-display.php:170 views/widgets.php:294 -msgid "One Week" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:171 views/widgets.php:295 -#, fuzzy -msgid "One Month" -msgstr "Maanden" - -#: views/admin/gce-feed-meta-display.php:176 -msgid "How many events to display per page (List View only)." -msgstr "" -"Hoeveel evenementen per pagina er worden weergeven (alleen voor " -"Lijstweergave)." - -#: views/admin/gce-feed-meta-display.php:181 -msgid "Display Start Date Offset" -msgstr "" -"Geef weer op welke dag - ten opzichte van de huidige datum - de lijst " -"standaard moet starten (alleen voor Lijstweergave):" - -#: views/admin/gce-feed-meta-display.php:184 -#: views/admin/gce-feed-meta-display.php:196 views/widgets.php:309 -msgid "Number of Days Back" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:185 -#: views/admin/gce-feed-meta-display.php:215 views/widgets.php:310 -msgid "Number of Days Forward" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:188 views/widgets.php:314 -#, fuzzy -msgid "" -"Change to initially display events on a date other than today (List View " -"only)." -msgstr "" -"Pas dit aan als u standaard evenementen wilt weergeven op een andere dan de " -"huidige dag (alleen voor Lijstweergave)." - -#: views/admin/gce-feed-meta-display.php:193 -#, fuzzy -msgid "Earliest Feed Event Date" -msgstr "Maximale feed einddatum" - -#: views/admin/gce-feed-meta-display.php:197 -#, fuzzy -msgid "Number of Months Back" -msgstr "Aantal evenementen per pagina" - -#: views/admin/gce-feed-meta-display.php:198 -#, fuzzy -msgid "Number of Years Back" -msgstr "Aantal evenementen per pagina" - -#: views/admin/gce-feed-meta-display.php:204 -#, fuzzy -msgid "Set how far back to retrieve events regardless of initial display." -msgstr "" -"Stel in van hoe lang geleden u evenementen wilt ophalen, onafhankelijk van " -"de maand of pagina die wordt weergegeven." - -#: views/admin/gce-feed-meta-display.php:206 -msgid "" -"Note: Total events are currently limited to 2,500 by the " -"Google Calendar API." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:212 -#, fuzzy -msgid "Latest Feed Event Date" -msgstr "Maximale feed einddatum" - -#: views/admin/gce-feed-meta-display.php:216 -#, fuzzy -msgid "Number of Months Forward" -msgstr "Aantal evenementen per pagina" - -#: views/admin/gce-feed-meta-display.php:217 -#, fuzzy -msgid "Number of Years Forward" -msgstr "Aantal evenementen per pagina" - -#: views/admin/gce-feed-meta-display.php:222 -#, fuzzy -msgid "" -"Set how far in the future to retrieve events regardless of initial display." -msgstr "" -"Stel in hoe ver in de toekomst u evenenementen wilt ophalen, onafhankelijk " -"van de maand of pagina die wordt weergegeven." - -#: views/admin/gce-feed-meta-display.php:227 -msgid "Use Custom Date Range" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:233 -msgid "" -"Set a specific range of events to retrieve. Leaving either field blank will " -"set the date to the current day." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:239 views/widgets.php:324 -msgid "Show Paging Links" -msgstr "Links tonen om te bladeren" - -#: views/admin/gce-feed-meta-display.php:242 -#, fuzzy -msgid "Display Next and Back navigation links." -msgstr "Vink deze optie aan om Vorige en Volgende links weer te geven." - -#: views/admin/gce-feed-meta-display.php:247 views/widgets.php:327 -msgid "Show Tooltips" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:250 -msgid "Display tooltips when hovering over events (Grid View only)." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:255 -msgid "Date Format" -msgstr "Datumnotatie" - -#: views/admin/gce-feed-meta-display.php:259 -#: views/admin/gce-feed-meta-display.php:270 -msgid "Use %sPHP date formatting%s." -msgstr "Gebruik %sPHP datumnotatie%s." - -#: views/admin/gce-feed-meta-display.php:260 -#: views/admin/gce-feed-meta-display.php:271 -msgid "Leave blank to use the default." -msgstr "Leeglaten om de standaardinstelling te gebruiken." - -#: views/admin/gce-feed-meta-display.php:266 -msgid "Time Format" -msgstr "Tijdsnotatie" - -#: views/admin/gce-feed-meta-display.php:277 -msgid "Cache Duration" -msgstr "Tijdsduur cachegeheugen" - -#: views/admin/gce-feed-meta-display.php:280 -msgid "" -"The length of time, in seconds, to cache the feed (43200 = 12 hours). If " -"this feed changes regularly, you may want to reduce the cache duration." -msgstr "" -"De tijdsperiode, in seconden, dat het cachegeheugen van de feed wordt " -"bewaard (43200 = 12 uur). Als deze feed regelmatig wijzigt, wilt u de " -"tijdsduur van het cachegeheugen wellicht verlagen." - -#: views/admin/gce-feed-sidebar-help.php:6 -#, fuzzy -msgid "Documentation" -msgstr "Locatie" - -#: views/admin/gce-feed-sidebar-help.php:11 -msgid "Community support forums" -msgstr "Community support forums" - -#: views/admin/gce-feed-sidebar-help.php:16 -msgid "Get notified of new features" -msgstr "Blijf op de hoogte van nieuwe functies" - -#: views/admin/gce-feed-sidebar-help.php:21 -msgid "" -"Are you finding our GCal plugin helpful? 5-star ratings keep us motivated!" -msgstr "" - -#: views/admin/gce-feed-sidebar-help.php:25 -msgid "Rate our plugin on wordpress.org" -msgstr "" - -#: views/widgets.php:28 -msgid "" -"Display a list or calendar grid of events from one or more Google Calendar " -"feeds you have added" -msgstr "" -"Geef een lijst of agendaraster van evenementen weer van een of meer Google " -"Agenda feeds die u heeft toegevoegd" - -#: views/widgets.php:146 -msgid "" -"No valid Feed IDs have been entered for this widget. Please check that you " -"have entered the IDs correctly in the widget settings (Appearance > " -"Widgets), and that the Feeds have not been deleted." -msgstr "" -"Er zijn geen geldige Feed ID's toegevoegd voor deze widget. Controleer a.u." -"b. of u de ID's op de juiste wijze hebt ingevoerd in de widget instellingen " -"(Weergave > Widgets), en of de Feeds niet zijn verwijderd." - -#: views/widgets.php:186 -msgid "" -"There was a problem with one or more of your feed IDs. Please check your " -"widget settings and make sure they are correct." -msgstr "" - -#: views/widgets.php:192 -msgid "You have not added any feeds yet." -msgstr "U hebt nog geen feeds toegevoegd." - -#: views/widgets.php:235 -msgid "There are no feeds created yet." -msgstr "Er zijn nog geen feeds aangemaakt." - -#: views/widgets.php:236 -msgid "Add your first feed!" -msgstr "Voeg uw eerste feed toe!" - -#: views/widgets.php:246 -#, fuzzy -msgid "Events on" -msgstr "Evenementen" - -#: views/widgets.php:260 -msgid "Title:" -msgstr "" - -#: views/widgets.php:265 -msgid "Feeds to Display (comma separated list - i.e. 101,102,103):" -msgstr "Weer te geven feeds (kommagescheiden lijst, bijv. 101,102,103):" - -#: views/widgets.php:271 -msgid "Display Events as:" -msgstr "Evenementen weergeven als:" - -#: views/widgets.php:282 -msgid "Sort Order (List View only):" -msgstr "Sorteervolgorde (alleen voor Lijstweergave):" - -#: views/widgets.php:284 -msgid "Ascending" -msgstr "Oplopend" - -#: views/widgets.php:285 -msgid "Descending" -msgstr "Aflopend" - -#: views/widgets.php:290 -#, fuzzy -msgid "Events per Page (List View only):" -msgstr "Aantal evenementen per pagina (alleen voor Lijstweergave):" - -#: views/widgets.php:303 -msgid "" -"This setting will pull from the custom date range set in the main feed " -"settings and cannot be changed here." -msgstr "" - -#: views/widgets.php:307 -msgid "Display Start Date Offset (List View only):" -msgstr "" -"Geef weer op welke dag - ten opzichte van de huidige datum - de lijst " -"standaard moet starten (alleen voor Lijstweergave):" - -#: views/widgets.php:318 -msgid "" -"Display Title on Tooltip/List Item (e.g. 'Events on 7th March'). Grouped " -"lists always have a title displayed." -msgstr "" -"Geef de titel weer op de knopinfo / lijstonderdeel (bijv. 'Evenementen op 7 " -"maart'). Bij gegroepeerde lijsten wordt altijd een titel weergegeven." - -#. Plugin URI of the plugin/theme -msgid "https://wordpress.org/plugins/google-calendar-events/" -msgstr "" - -#. Description of the plugin/theme -msgid "" -"Show off your Google calendar in grid (month) or list view, in a post, page " -"or widget, and in a style that matches your site." -msgstr "" - -#. Author of the plugin/theme -msgid "Moonstone Media" -msgstr "" - -#. Author URI of the plugin/theme -msgid "http://moonstonemediagroup.com" -msgstr "" - -#: includes/class-gce-event.php:588 -msgctxt "human_time_diff" -msgid ", " -msgstr "" - -#: views/admin/gce-feed-meta-display.php:118 -msgctxt "Use the calendar default setting" -msgid "Calendar default" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:119 -msgctxt "Use this site default setting" -msgid "Site default" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:231 -msgctxt "separator between custom date range fields" -msgid "to" -msgstr "" - -#, fuzzy -#~ msgid "Review this Plugin Now" -#~ msgstr "Beoordeel deze plugin" - -#~ msgid "Helpful Links" -#~ msgstr "Nuttige links" - -#~ msgid "GCal Events Important Update (Nov. 19, 2014):" -#~ msgstr "Belangrijke update van GCal Evenementen (19 Nov 2014):" - -#~ msgid "" -#~ "By default a shared key is used across all plugin users, which is limited " -#~ "to 500,000 requests per day and 5 requests per second." -#~ msgstr "" -#~ "Standaard wordt de gedeelde sleutel gebruikt door alle plugin gebruikers. " -#~ "Deze is beperkt tot 500.000 aanvragen per dag en 5 aanvragen per seconde." - -#~ msgid "To avoid these limits you can use your own Google API key." -#~ msgstr "" -#~ "Om deze beperkingen te voorkomen kun je je eigen Google API sleutel " -#~ "gebruiken." - -#~ msgid "Update your API settings now" -#~ msgstr "Pas je API instellingen nu aan" - -#~ msgid "" -#~ "We're smack dab in the middle of building additional " -#~ "features for this plugin. Have ideas?" -#~ msgstr "" -#~ "We zijn op dit moment extra functies voor deze plugin " -#~ "aan het bouwen. Hebt u ideeën?" - -#~ msgid "Visit our roadmap and tell us what you're looking for" -#~ msgstr "Bezoek onze \"roadmap\" en vertel ons waar je naar op zoek bent" - -#~ msgid "" -#~ "Show events that span multiple days on each day that they span, rather " -#~ "than just the first day." -#~ msgstr "" -#~ "Geef evenementen die over meerdere dagen verspreid zijn weer op elke dag, " -#~ "in plaats van alleen op de eerste dag." - -#~ msgid "Choose how you want your calendar to be displayed." -#~ msgstr "Kies hoe u uw agenda wilt weergeven." - -#~ msgid "Days" -#~ msgstr "Dagen" - -#~ msgid "Ahead" -#~ msgstr "Vooruit" - -#~ msgid "Minimum Feed Start Date" -#~ msgstr "Minimale startdatum van de feed" - -#~ msgid "Years" -#~ msgstr "Jaar" - -#~ msgid "back" -#~ msgstr "geleden" - -#~ msgid "forward" -#~ msgstr "vooruit" - -#~ msgid "Documentation & getting started" -#~ msgstr "Documentatie & aan de slag" - -#~ msgid "Show Paging Links:" -#~ msgstr "Links tonen om te bladeren:" diff --git a/wp-content/plugins/google-calendar-events/languages/gce-pl_PL.mo b/wp-content/plugins/google-calendar-events/languages/gce-pl_PL.mo deleted file mode 100644 index b748cfd..0000000 Binary files a/wp-content/plugins/google-calendar-events/languages/gce-pl_PL.mo and /dev/null differ diff --git a/wp-content/plugins/google-calendar-events/languages/gce-pl_PL.po b/wp-content/plugins/google-calendar-events/languages/gce-pl_PL.po deleted file mode 100644 index 2db887b..0000000 --- a/wp-content/plugins/google-calendar-events/languages/gce-pl_PL.po +++ /dev/null @@ -1,1050 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: Google Calendar Events\n" -"Report-Msgid-Bugs-To: https://github.com/pderksen/WP-Google-Calendar-Events/" -"issues\n" -"POT-Creation-Date: 2015-08-31 09:04:08+00:00\n" -"PO-Revision-Date: 2014-10-31 19:32+0100\n" -"Last-Translator: Michał Pasternak \n" -"Language-Team: \n" -"Language: en\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.6.10\n" -"X-Poedit-Basepath: .\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Poedit-KeywordsList: __;_e\n" -"X-Poedit-SearchPath-0: google-calendar-events\n" - -#: class-google-calendar-events-admin.php:138 -#: class-google-calendar-events-admin.php:139 -#: class-google-calendar-events-admin.php:235 -#: includes/register-settings.php:68 -msgid "General Settings" -msgstr "Ustawienia ogólne" - -#. Plugin Name of the plugin/theme -msgid "Google Calendar Events" -msgstr "Wydarzenia w kalendarzu Google" - -#: class-google-calendar-events-admin.php:236 -msgid "Feeds" -msgstr "Kalendarze" - -#: class-google-calendar-events-admin.php:254 -#: class-google-calendar-events-admin.php:289 -msgid "Add Calendar" -msgstr "" - -#: class-google-calendar-events-admin.php:290 -msgid "Add a calendar feed to your post." -msgstr "" - -#: class-google-calendar-events-admin.php:300 -msgid "Insert Calendar" -msgstr "" - -#: class-google-calendar-events-admin.php:302 -msgid "Could not find any calendars to add to this post." -msgstr "" - -#: class-google-calendar-events-admin.php:303 -msgid "Please add a new calendar feed first." -msgstr "" - -#: class-google-calendar-events.php:162 -msgid "Loading..." -msgstr "Wczytuję..." - -#: google-calendar-events.php:34 -msgid "" -"Google Events Calendar requires PHP %1$s and WordPress %2$s to function " -"properly. PHP version found: %3$s. WordPress installed version: %4$s. Please " -"upgrade to meet the minimum requirements." -msgstr "" - -#: includes/admin/admin-functions.php:20 -msgid "Cache has been cleared for this feed." -msgstr "Pamięć podręczna została wyczyszczona dla tego kalendarza." - -#: includes/admin/admin-functions.php:35 includes/admin/admin-functions.php:56 -msgid "Starts:" -msgstr "Początek: " - -#: includes/admin/admin-functions.php:36 includes/admin/admin-functions.php:58 -msgid "Ends:" -msgstr "Koniec: " - -#: includes/admin/admin-functions.php:37 includes/admin/admin-functions.php:60 -msgid "Location:" -msgstr "Miejsce: " - -#: includes/admin/admin-functions.php:38 includes/admin/admin-functions.php:61 -msgid "Description:" -msgstr "Opis:" - -#: includes/admin/admin-functions.php:39 -msgid "More details..." -msgstr "Więcej szczegółów..." - -#: includes/admin/admin-functions.php:63 -msgid "More Details" -msgstr "Więcej szczegółów" - -#: includes/admin/admin-functions.php:77 includes/gce-feed-cpt.php:328 -#: includes/gce-feed-cpt.php:381 -msgid "Clear Cache" -msgstr "Wyczyść pamięć podręczną" - -#: includes/admin/admin-notice.php:26 -msgid "GCal API Key Notice" -msgstr "" - -#: includes/admin/admin-notice.php:28 -msgid "" -"GCal Events uses the Google Calendar API version 3. By default this plugin " -"uses a public shared key across all plugin users." -msgstr "" - -#: includes/admin/admin-notice.php:30 -msgid "" -"This key is limited to 500,000 requests per day and 5 requests per second. " -"To avoid running into any potential limits you can use your own Google API " -"key." -msgstr "" - -#: includes/admin/admin-notice.php:33 -msgid "Enter your GCal API key" -msgstr "" - -#: includes/admin/admin-notice.php:34 -#, fuzzy -msgid "Configure GCal feeds" -msgstr "Jak odnaleźć adres kalendarza Google?" - -#: includes/admin/admin-notice.php:35 -msgid "Hide this" -msgstr "" - -#: includes/class-gce-display.php:193 includes/class-gce-display.php:303 -msgid "Back" -msgstr "Wstecz" - -#: includes/class-gce-display.php:197 includes/class-gce-display.php:304 -#: includes/class-gce-display.php:310 includes/php-calendar.php:61 -#: includes/php-calendar.php:63 -msgid "Next" -msgstr "Następny" - -#: includes/class-gce-display.php:309 includes/php-calendar.php:55 -#: includes/php-calendar.php:57 -msgid "Previous" -msgstr "" - -#: includes/class-gce-display.php:406 -msgid "No events to display." -msgstr "Brak zdarzeń do wyświetlenia." - -#: includes/class-gce-event.php:555 -msgid "%s year" -msgstr "%s rok" - -#: includes/class-gce-event.php:555 -msgid "%s years" -msgstr "%s lat" - -#: includes/class-gce-event.php:556 -msgid "%s month" -msgstr "%s miesiąc" - -#: includes/class-gce-event.php:556 -msgid "%s months" -msgstr "%s miesiące" - -#: includes/class-gce-event.php:557 -msgid "%s week" -msgstr "%s tydzień" - -#: includes/class-gce-event.php:557 -msgid "%s weeks" -msgstr "%s tygodnie" - -#: includes/class-gce-event.php:558 -msgid "%s day" -msgstr "%s dzień" - -#: includes/class-gce-event.php:558 -msgid "%s days" -msgstr "%s dni" - -#: includes/class-gce-event.php:559 -msgid "%s hour" -msgstr "%s godzina" - -#: includes/class-gce-event.php:559 -msgid "%s hours" -msgstr "%s godziny" - -#: includes/class-gce-event.php:560 -msgid "%s min" -msgstr "%s minuta" - -#: includes/class-gce-event.php:560 -msgid "%s mins" -msgstr "%s minuty" - -#: includes/class-gce-feed.php:94 -#, fuzzy -msgid "" -"The Google Calendar ID has not been set. Please make sure to set it " -"correctly in the Feed settings." -msgstr "" -"Adres URL kalendarza nie został ustawiony. Upewnij się, że wpisałeś/aś go " -"poprawnie w Ustawieniach kalendarza." - -#: includes/class-gce-feed.php:226 -#, fuzzy -msgid "" -"Some data was retrieved, but could not be parsed successfully. Please ensure " -"your feed settings are correct." -msgstr "" -"Otrzymano część danych, ale nie mogły być one zanalizowane prawidłowo. " -"Upewnij się, że adres URL kalendarza jest poprawny." - -#: includes/class-gce-feed.php:229 -msgid "An error has occured." -msgstr "" - -#: includes/class-gce-feed.php:234 -#, fuzzy -msgid " Please ensure your calendar ID is correct." -msgstr "Upewnij się, że adres URL kalendarza jest poprawny." - -#: includes/gce-feed-cpt.php:21 -msgid "Google Calendar Feeds" -msgstr "Kalendarze Google" - -#: includes/gce-feed-cpt.php:22 includes/gce-feed-cpt.php:24 -#: includes/gce-feed-cpt.php:72 -msgid "Feed" -msgstr "Kalendarz" - -#: includes/gce-feed-cpt.php:23 -msgid "GCal Events" -msgstr "Wydarzenia GCal" - -#: includes/gce-feed-cpt.php:25 -msgid "Add New" -msgstr "Dodaj nowy" - -#: includes/gce-feed-cpt.php:26 -msgid "Add New Feed" -msgstr "Dodaj nowy kalendarz" - -#: includes/gce-feed-cpt.php:27 -msgid "New Feed" -msgstr "Nowy kalendarz" - -#: includes/gce-feed-cpt.php:28 -msgid "Edit Feed" -msgstr "Edytuj kalendarz" - -#: includes/gce-feed-cpt.php:29 -msgid "View Feed" -msgstr "Pokaż kalendarz" - -#: includes/gce-feed-cpt.php:30 -msgid "All GCal Feeds" -msgstr "Wszystkie kalendarze" - -#: includes/gce-feed-cpt.php:31 -msgid "Search GCal Feeds" -msgstr "Przeszukaj kalendarze" - -#: includes/gce-feed-cpt.php:32 -msgid "No feeds found." -msgstr "Nie znaleziono kalendarzy." - -#: includes/gce-feed-cpt.php:33 -msgid "No feeds found in Trash." -msgstr "Nie znaleziono kalendarzy w Śmietniku." - -#: includes/gce-feed-cpt.php:70 -#, fuzzy -msgid "feed" -msgstr "Kalendarz" - -#: includes/gce-feed-cpt.php:75 includes/gce-feed-cpt.php:76 -msgid "%4$s updated. %1$sView %2$s%3$s" -msgstr "%4$s zaktualizowano. %1$sObejrzyj %2$s%3$s" - -#: includes/gce-feed-cpt.php:77 -msgid "%4$s published. %1$sView %2$s%3$s" -msgstr "%4$s opublikowano. %1$sObejrzyj %2$s%3$s" - -#: includes/gce-feed-cpt.php:78 -msgid "%4$s saved. %1$sView %2$s%3$s" -msgstr "%4$s zapisano. %1$sObejrzyj %2$s%3$s" - -#: includes/gce-feed-cpt.php:79 -msgid "%4$s submitted. %1$sView %2$s%3$s" -msgstr "%4$s wysłano. %1$sObejrzyj %2$s%3$s" - -#: includes/gce-feed-cpt.php:80 -msgid "%4$s draft updated. %1$sView %2$s%3$s" -msgstr "%4$s szkiców zaktualizowano. %1$sObejrzyj %2$s%3$s" - -#: includes/gce-feed-cpt.php:95 -#, fuzzy -msgid "Feed Settings" -msgstr "Zapisz ustawienia" - -#: includes/gce-feed-cpt.php:97 -msgid "Resources" -msgstr "" - -#: includes/gce-feed-cpt.php:98 -#, fuzzy -msgid "Display Options" -msgstr "Rodzaj widoku" - -#: includes/gce-feed-cpt.php:269 -msgid "Feed ID" -msgstr "ID kalendarza" - -#: includes/gce-feed-cpt.php:270 views/admin/gce-feed-meta-display.php:79 -msgid "Feed Shortcode" -msgstr "Krótki kod kalednarza" - -#: includes/gce-feed-cpt.php:271 -msgid "Display Type" -msgstr "Rodzaj widoku" - -#: includes/gce-feed-cpt.php:306 -msgid "Grid" -msgstr "Siatka" - -#: includes/gce-feed-cpt.php:308 views/admin/gce-feed-meta-display.php:155 -#: views/widgets.php:274 -msgid "List" -msgstr "Lista" - -#: includes/gce-feed-cpt.php:310 views/admin/gce-feed-meta-display.php:156 -#: views/widgets.php:275 -msgid "Grouped List" -msgstr "Zgrupowana lista" - -#: includes/gce-feed-cpt.php:312 -msgid "Custom Date Range" -msgstr "" - -#: includes/gce-feed-cpt.php:469 -msgid "Feed cache cleared." -msgid_plural "Cleared cache for %s feeds." -msgstr[0] "" -msgstr[1] "" - -#: includes/register-settings.php:29 -msgid "Google API Key" -msgstr "" - -#: includes/register-settings.php:30 -msgid "" -"If left blank all displayed Google calendars will use a public Google API " -"key shared across all plugin users." -msgstr "" - -#: includes/register-settings.php:31 -msgid "" -"Currently the shared key is limited to 500,000 requests per day and 5 " -"requests per second." -msgstr "" - -#: includes/register-settings.php:32 -msgid "" -"To avoid these limits click here for " -"instructions on how to generate and use your own Google API key." -msgstr "" - -#: includes/register-settings.php:39 -msgid "Always Enqueue Scripts & Styles" -msgstr "" - -#: includes/register-settings.php:40 -msgid "Enqueue this plugin's scripts and styles on every post and page." -msgstr "" - -#: includes/register-settings.php:41 -msgid "Useful if using shortcodes in widgets or other non-standard locations." -msgstr "" - -#: includes/register-settings.php:46 -msgid "Disable Plugin CSS" -msgstr "" - -#: includes/register-settings.php:47 -msgid "" -"If this option is checked, this plugin's CSS file will not be referenced." -msgstr "" - -#: includes/register-settings.php:52 -msgid "Save Settings" -msgstr "Zapisz ustawienia" - -#: includes/register-settings.php:53 -#, fuzzy -msgid "Save your settings when uninstalling this plugin." -msgstr "" -"Zapisz swoje ustawienia gdy odinstalowujesz tą wtyczkę. Użyteczne gdy " -"aktualizujesz lub re-instalujesz." - -#: includes/register-settings.php:54 -#, fuzzy -msgid "Useful when upgrading or re-installing." -msgstr "" -"Zapisz swoje ustawienia gdy odinstalowujesz tą wtyczkę. Użyteczne gdy " -"aktualizujesz lub re-instalujesz." - -#: includes/register-settings.php:182 -msgid "" -"The callback function used for the %s setting is missing." -msgstr "Brakuje funkcji callback używanej dla ustawienia %s. " - -#: includes/shortcodes.php:97 -msgid "" -"There was a problem with one or more of your feed IDs. Please check your " -"shortcode settings and make sure they are correct." -msgstr "" - -#: views/admin/display-options-meta.php:39 -msgid "" -"Check this box to use the simple display options below instead of the Event " -"Builder code on the left." -msgstr "" -"Zaznacz tą opcję, aby użyć opcji prostego wyświetlania dostępnych poniżej, " -"zamiast kodu Budowniczego Wydarzeń dostępnego po lewej. " - -#: views/admin/display-options-meta.php:44 -msgid "Start date / time display" -msgstr "Wyświetlaj początkową datę / czas" - -#: views/admin/display-options-meta.php:45 -msgid "Select how to display the start date / time." -msgstr "Określ, jak wyświetlać początkową datę / czas" - -#: views/admin/display-options-meta.php:47 -#: views/admin/display-options-meta.php:61 -msgid "None" -msgstr "Nie wyświetlaj" - -#: views/admin/display-options-meta.php:48 -msgid "Start time" -msgstr "Początkowy czas" - -#: views/admin/display-options-meta.php:49 -msgid "Start date" -msgstr "Początkowa data" - -#: views/admin/display-options-meta.php:50 -msgid "Start time and date" -msgstr "Początkowy czas i data" - -#: views/admin/display-options-meta.php:51 -msgid "Start date and time" -msgstr "Początkowa data i czas" - -#: views/admin/display-options-meta.php:53 -msgid "Text to display before the start time." -msgstr "Tekst do wyświetlenia przed czasem rozpoczęcia." - -#: views/admin/display-options-meta.php:58 -msgid "End time/date display" -msgstr "Wyświetlaj końcowy czas/datę" - -#: views/admin/display-options-meta.php:59 -msgid "Select how to display the end date / time." -msgstr "Określ, jak wyświetlać końcową datę i czas." - -#: views/admin/display-options-meta.php:62 -msgid "End time" -msgstr "Końcowy czas" - -#: views/admin/display-options-meta.php:63 -msgid "End date" -msgstr "Końcowa data" - -#: views/admin/display-options-meta.php:64 -msgid "End time and date" -msgstr "Końcowy czas i data" - -#: views/admin/display-options-meta.php:65 -msgid "End date and time" -msgstr "Końcowa data i czas" - -#: views/admin/display-options-meta.php:67 -msgid "Text to display before the end time." -msgstr "Tekst do wyświetlenia przed czasem zakończenia." - -#: views/admin/display-options-meta.php:72 -msgid "Separator" -msgstr "Separator" - -#: views/admin/display-options-meta.php:74 -msgid "" -"If you have chosen to display both the time and date above, enter the text / " -"characters to display between the time and date here (including any spaces)." -msgstr "" -"Jeżeli wybrałeś/aś aby wyświetlać zarówno czas i datę powyżej, wpisz tekst / " -"znaki do wyświetlenia pomiędzy czasem i datą (ze spacjami włącznie)." - -#: views/admin/display-options-meta.php:80 -msgid "Location" -msgstr "Miejsce" - -#: views/admin/display-options-meta.php:82 -msgid "Show the location of events?" -msgstr "Wyświetlać miejsce zdarzenia?" - -#: views/admin/display-options-meta.php:83 -msgid "Text to display before the location." -msgstr "Tekst do wyświetlenia przed miejscem." - -#: views/admin/display-options-meta.php:88 -msgid "Description" -msgstr "Opis" - -#: views/admin/display-options-meta.php:91 -msgid "" -"Show the description of events? (URLs in the description will be made into " -"links)." -msgstr "" -"Czy pokazywać opis wydarzeń? (adresy URL w opisie zostaną zamienione na " -"odnośniki)." - -#: views/admin/display-options-meta.php:93 -msgid "Text to display before the description." -msgstr "Tekst do wyświetlenia przed opisem." - -#: views/admin/display-options-meta.php:95 -msgid "" -"Maximum number of words to show from description. Leave blank for no limit." -msgstr "" -"Maksymalna liczba słów opisu do wyświetlenia. Pozostaw puste aby nie " -"ograniczać." - -#: views/admin/display-options-meta.php:100 -msgid "Event Link" -msgstr "Odnośnik do wydarzenia" - -#: views/admin/display-options-meta.php:103 -msgid "Show a link to the Google Calendar page for an event?" -msgstr "Czy pokazywać odnośnik do kalendarza Google dla zdarzenia?" - -#: views/admin/display-options-meta.php:107 -msgid "Links open in a new window / tab?" -msgstr "Odnośniki otwierają się w nowym oknie / zakładce?" - -#: views/admin/display-options-meta.php:109 -msgid "The link text to be displayed." -msgstr "Tekst odnośnika do wyświetlenia." - -#: views/admin/gce-feed-meta-display.php:69 -msgid "Want to be in the know?" -msgstr "Chcesz być poinformowany?" - -#: views/admin/gce-feed-meta-display.php:72 -msgid "Get notified when new features are released" -msgstr "Bądź poinformowany, gdy nowe funkcje będą dostępne" - -#: views/admin/gce-feed-meta-display.php:90 -#, fuzzy -msgid "" -"Copy and paste this shortcode to display this Google Calendar feed on any " -"post or page." -msgstr "" -"Skopiuj i wklej ten krótki kod, aby wyświetlić ten kalendarz Google na " -"dowolnej stronie lub wpisie." - -#: views/admin/gce-feed-meta-display.php:91 -msgid "" -"To avoid display issues, make sure to paste the shortcode in the Text tab of " -"the post editor." -msgstr "" -"Aby uniknąć problemów z wyświetlaniem, upewnij się, że wklejasz ten krótki " -"kod do zakładki \"Tekst\" edytora wpisów." - -#: views/admin/gce-feed-meta-display.php:96 -#, fuzzy -msgid "Google Calendar ID" -msgstr "Kalendarze Google" - -#: views/admin/gce-feed-meta-display.php:100 -#, fuzzy -msgid "The Google Calendar ID." -msgstr "Adres kalendarza w Google Calendar" - -#: views/admin/gce-feed-meta-display.php:100 -msgid "Example" -msgstr "Przykład" - -#: views/admin/gce-feed-meta-display.php:102 -#, fuzzy -msgid "How to find your Google Calendar ID" -msgstr "Jak odnaleźć adres kalendarza Google?" - -#: views/admin/gce-feed-meta-display.php:115 -msgid "Timezone" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:122 -msgid "It is recommended to use the calendar default timezone." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:127 -msgid "Search Query" -msgstr "Zapytanie" - -#: views/admin/gce-feed-meta-display.php:130 -msgid "Find and show events based on a search query." -msgstr "Znajdź i wyświetl wydarzenia, bazując na wyszukiwaniu" - -#: views/admin/gce-feed-meta-display.php:135 -msgid "Expand Recurring Events?" -msgstr "Wyświetlać wszystkie powtórzenia dla powtarzającego się wydarzenia?" - -#: views/admin/gce-feed-meta-display.php:137 -msgid "Yes" -msgstr "Tak" - -#: views/admin/gce-feed-meta-display.php:138 -#, fuzzy -msgid "" -"Display recurring events each time they occur. If disabled, events will be " -"displayed only the first time they occur." -msgstr "" -"Ta opcja pokaże wydarzenia powtarzające się za każdym razem, gdy występują, " -"w przeciwnym wypadku pokaże tylko pierwsze wystąpienie danego wydarzenia." - -#: views/admin/gce-feed-meta-display.php:143 -msgid "Multiple Day Events" -msgstr "Wydarzenia kilkudniowe" - -#: views/admin/gce-feed-meta-display.php:145 -msgid "Show on each day" -msgstr "Pokazuj każdego dnia" - -#: views/admin/gce-feed-meta-display.php:146 -msgid "" -"Display multiple day events on each day that they span. If disabled, " -"multiple day events will be displayed only on the first day they occur." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:151 -msgid "Display Mode" -msgstr "Tryb wyświetlania" - -#: views/admin/gce-feed-meta-display.php:154 views/widgets.php:273 -msgid "Grid (Month view)" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:157 views/widgets.php:276 -msgid "Custom Date Range (List)" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:158 views/widgets.php:277 -msgid "Custom Date Range (Grid)" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:160 -#, fuzzy -msgid "Select how to display this feed." -msgstr "Określ, jak wyświetlać początkową datę / czas" - -#: views/admin/gce-feed-meta-display.php:165 -#, fuzzy -msgid "Events per Page" -msgstr "Ilość wydarzeń na stronę" - -#: views/admin/gce-feed-meta-display.php:168 views/widgets.php:292 -msgid "Number of Days" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:169 views/widgets.php:293 -#, fuzzy -msgid "Number of Events" -msgstr "Ilość wydarzeń na stronę" - -#: views/admin/gce-feed-meta-display.php:170 views/widgets.php:294 -msgid "One Week" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:171 views/widgets.php:295 -#, fuzzy -msgid "One Month" -msgstr "%s miesiące" - -#: views/admin/gce-feed-meta-display.php:176 -msgid "How many events to display per page (List View only)." -msgstr "Jak dużo wydarzeń wyświetlać na stronie (tylko widok listy). " - -#: views/admin/gce-feed-meta-display.php:181 -#, fuzzy -msgid "Display Start Date Offset" -msgstr "Przesunięcie daty początkowej" - -#: views/admin/gce-feed-meta-display.php:184 -#: views/admin/gce-feed-meta-display.php:196 views/widgets.php:309 -msgid "Number of Days Back" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:185 -#: views/admin/gce-feed-meta-display.php:215 views/widgets.php:310 -msgid "Number of Days Forward" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:188 views/widgets.php:314 -#, fuzzy -msgid "" -"Change to initially display events on a date other than today (List View " -"only)." -msgstr "" -"Jeżeli potrzebujesz pokazać zdarzenia zaczynające się innego dnia, niż " -"dzisiaj (tylko widok listy)." - -#: views/admin/gce-feed-meta-display.php:193 -#, fuzzy -msgid "Earliest Feed Event Date" -msgstr "Końcowa data" - -#: views/admin/gce-feed-meta-display.php:197 -#, fuzzy -msgid "Number of Months Back" -msgstr "Ilość wydarzeń na stronę" - -#: views/admin/gce-feed-meta-display.php:198 -#, fuzzy -msgid "Number of Years Back" -msgstr "Ilość wydarzeń na stronę" - -#: views/admin/gce-feed-meta-display.php:204 -#, fuzzy -msgid "Set how far back to retrieve events regardless of initial display." -msgstr "" -"Ustal, jak dawne wydarzenia pobierać, niezależnie od wyświetlanego miesiąca " -"lub strony. " - -#: views/admin/gce-feed-meta-display.php:206 -msgid "" -"Note: Total events are currently limited to 2,500 by the " -"Google Calendar API." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:212 -#, fuzzy -msgid "Latest Feed Event Date" -msgstr "Końcowa data" - -#: views/admin/gce-feed-meta-display.php:216 -#, fuzzy -msgid "Number of Months Forward" -msgstr "Ilość wydarzeń na stronę" - -#: views/admin/gce-feed-meta-display.php:217 -#, fuzzy -msgid "Number of Years Forward" -msgstr "Ilość wydarzeń na stronę" - -#: views/admin/gce-feed-meta-display.php:222 -#, fuzzy -msgid "" -"Set how far in the future to retrieve events regardless of initial display." -msgstr "" -"Ustaw, jak daleko w przyszłość wybiegać pobierając wydarzenia, niezależnie " -"od wyświetlanego miesiąca lub strony." - -#: views/admin/gce-feed-meta-display.php:227 -msgid "Use Custom Date Range" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:233 -msgid "" -"Set a specific range of events to retrieve. Leaving either field blank will " -"set the date to the current day." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:239 views/widgets.php:324 -msgid "Show Paging Links" -msgstr "Pokaż przewijanie" - -#: views/admin/gce-feed-meta-display.php:242 -#, fuzzy -msgid "Display Next and Back navigation links." -msgstr "" -"Zaznacz tą opcję, aby pokazywać nawigację (\"poprzedni\", \"następny\")" - -#: views/admin/gce-feed-meta-display.php:247 views/widgets.php:327 -msgid "Show Tooltips" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:250 -msgid "Display tooltips when hovering over events (Grid View only)." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:255 -msgid "Date Format" -msgstr "Format daty" - -#: views/admin/gce-feed-meta-display.php:259 -#: views/admin/gce-feed-meta-display.php:270 -msgid "Use %sPHP date formatting%s." -msgstr "Użyj %sPHP date formatting%s." - -#: views/admin/gce-feed-meta-display.php:260 -#: views/admin/gce-feed-meta-display.php:271 -msgid "Leave blank to use the default." -msgstr "Pozostaw puste, aby użyć wartości domyślnej." - -#: views/admin/gce-feed-meta-display.php:266 -msgid "Time Format" -msgstr "Format czasu" - -#: views/admin/gce-feed-meta-display.php:277 -msgid "Cache Duration" -msgstr "Okres pamięci podręcznej" - -#: views/admin/gce-feed-meta-display.php:280 -msgid "" -"The length of time, in seconds, to cache the feed (43200 = 12 hours). If " -"this feed changes regularly, you may want to reduce the cache duration." -msgstr "" -"Okres czasu, w sekundach, przez który kalendarz będzie przetrzymywany w " -"pamięci podręcznej. Jeżeli ten kalendarz zmienia się często, możesz " -"zmniejszyć tą wartość. 43200 = 12 godzin. " - -#: views/admin/gce-feed-sidebar-help.php:6 -#, fuzzy -msgid "Documentation" -msgstr "Miejsce" - -#: views/admin/gce-feed-sidebar-help.php:11 -msgid "Community support forums" -msgstr "Forum wsparcia" - -#: views/admin/gce-feed-sidebar-help.php:16 -msgid "Get notified of new features" -msgstr "Bądź informowany o nowych możliwościach" - -#: views/admin/gce-feed-sidebar-help.php:21 -msgid "" -"Are you finding our GCal plugin helpful? 5-star ratings keep us motivated!" -msgstr "" - -#: views/admin/gce-feed-sidebar-help.php:25 -msgid "Rate our plugin on wordpress.org" -msgstr "" - -#: views/widgets.php:28 -msgid "" -"Display a list or calendar grid of events from one or more Google Calendar " -"feeds you have added" -msgstr "" -"Wyświetla listę lub siatkę wydarzeń z jednego lub więcej kalendarzy Google" - -#: views/widgets.php:146 -msgid "" -"No valid Feed IDs have been entered for this widget. Please check that you " -"have entered the IDs correctly in the widget settings (Appearance > " -"Widgets), and that the Feeds have not been deleted." -msgstr "" -"Nie wpisano prawidłowych ID kalendarzy. Proszę upewnij się, że wpisano " -"prawidłowe ID kalendarzy w ustawieniach kontrolki (Wygląd -> Widżety) oraz, " -"że kalendarz nie został usunięty." - -#: views/widgets.php:186 -msgid "" -"There was a problem with one or more of your feed IDs. Please check your " -"widget settings and make sure they are correct." -msgstr "" - -#: views/widgets.php:192 -msgid "You have not added any feeds yet." -msgstr "Nie dodano żadnych kalendarzy" - -#: views/widgets.php:235 -msgid "There are no feeds created yet." -msgstr "Nie utworzono żadnych kalendarzy" - -#: views/widgets.php:236 -msgid "Add your first feed!" -msgstr "Dodaj swój pierwszy kalendarz!" - -#: views/widgets.php:246 -#, fuzzy -msgid "Events on" -msgstr "Wydarzenia" - -#: views/widgets.php:260 -msgid "Title:" -msgstr "" - -#: views/widgets.php:265 -msgid "Feeds to Display (comma separated list - i.e. 101,102,103):" -msgstr "" -"Kalendarze do wyświetlenia (w formacie listy oddzielanej przecinkami, czyli " -"101,102,103):" - -#: views/widgets.php:271 -#, fuzzy -msgid "Display Events as:" -msgstr "Wyświetlaj wydarzenia jako:" - -#: views/widgets.php:282 -msgid "Sort Order (List View only):" -msgstr "Porządek wyświetlania (tylko widok listy):" - -#: views/widgets.php:284 -msgid "Ascending" -msgstr "Rosnąco" - -#: views/widgets.php:285 -msgid "Descending" -msgstr "Malejąco" - -#: views/widgets.php:290 -#, fuzzy -msgid "Events per Page (List View only):" -msgstr "Ilość zdarzeń na stronę (tylko widok listy):" - -#: views/widgets.php:303 -msgid "" -"This setting will pull from the custom date range set in the main feed " -"settings and cannot be changed here." -msgstr "" - -#: views/widgets.php:307 -#, fuzzy -msgid "Display Start Date Offset (List View only):" -msgstr "Przesunięcie daty początkowej (tylko widok listy):" - -#: views/widgets.php:318 -msgid "" -"Display Title on Tooltip/List Item (e.g. 'Events on 7th March'). Grouped " -"lists always have a title displayed." -msgstr "" -"Wyświetlaj tytuł na etykiecie narzędzia/elemencie listy (np. 'Wydarzenia 7. " -"marca'). Etykieta narzędziowa zawsze wyświetlana jest dla list zgrupowanych." - -#. Plugin URI of the plugin/theme -msgid "https://wordpress.org/plugins/google-calendar-events/" -msgstr "" - -#. Description of the plugin/theme -msgid "" -"Show off your Google calendar in grid (month) or list view, in a post, page " -"or widget, and in a style that matches your site." -msgstr "" - -#. Author of the plugin/theme -msgid "Moonstone Media" -msgstr "" - -#. Author URI of the plugin/theme -msgid "http://moonstonemediagroup.com" -msgstr "" - -#: includes/class-gce-event.php:588 -msgctxt "human_time_diff" -msgid ", " -msgstr "" - -#: views/admin/gce-feed-meta-display.php:118 -msgctxt "Use the calendar default setting" -msgid "Calendar default" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:119 -msgctxt "Use this site default setting" -msgid "Site default" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:231 -msgctxt "separator between custom date range fields" -msgid "to" -msgstr "" - -#, fuzzy -#~ msgid "Review this Plugin Now" -#~ msgstr "Oceń tą wtyczkę" - -#~ msgid "" -#~ "The feed could not be found (404). Please ensure your feed URL is correct." -#~ msgstr "" -#~ "Nie znaleziono kalendarza (błąd 404 Not found). Upewnij się, że adres URL " -#~ "jest prawidłowy." - -#~ msgid "" -#~ "Access to this feed was denied (403). Please ensure you have public " -#~ "sharing enabled for your calendar." -#~ msgstr "" -#~ "Brak dostępu (błąd 403 Forbidden). Upewnij się, że ten kalendarz jest " -#~ "publicznie dostępny." - -#~ msgid "" -#~ "The feed data could not be retrieved. Error code: %s. Please ensure your " -#~ "feed URL is correct." -#~ msgstr "" -#~ "Nie otrzymano danych kalendarza. Kod błędu: %s. Upewnij się, że adres URL " -#~ "kalendarza jest poprawny." - -#~ msgid "Helpful Links" -#~ msgstr "Pomocne adresy" - -#~ msgid "" -#~ "We're smack dab in the middle of building additional " -#~ "features for this plugin. Have ideas?" -#~ msgstr "Obecnie rozbudowujemy tą wtyczkę. Masz jakieś pomysły?" - -#~ msgid "Visit our roadmap and tell us what you're looking for" -#~ msgstr "Obejrzyj nasz plan pracy i powiedz nam, czego poszukujesz" - -#~ msgid "GCal Feed URL" -#~ msgstr "Adres kalendarza" - -#~ msgid "" -#~ "Show events that span multiple days on each day that they span, rather " -#~ "than just the first day." -#~ msgstr "" -#~ "Pokazuj wydarzenia, które rozciągają się na klika dni, przez wszystkie " -#~ "dni, zamiast tylko pierwszego dnia." - -#~ msgid "Choose how you want your calendar to be displayed." -#~ msgstr "Wybierz, jak chcesz wyświetlać swój kalendarz." - -#~ msgid "Days" -#~ msgstr "Dni" - -#~ msgid "Ahead" -#~ msgstr "W przód" - -#~ msgid "Minimum Feed Start Date" -#~ msgstr "Minimalna początkowa data" - -#, fuzzy -#~ msgid "Years" -#~ msgstr "%s lat" - -#~ msgid "back" -#~ msgstr "wstecz" - -#~ msgid "forward" -#~ msgstr "naprzód" - -#~ msgid "Documentation & getting started" -#~ msgstr "Dokumentacja & konfiguracja wstępna" - -#~ msgid "Show Paging Links:" -#~ msgstr "Pokaż przewijanie" - -#~ msgid "Show paging links:" -#~ msgstr "Pokazuj przyciski przewijania stron:" diff --git a/wp-content/plugins/google-calendar-events/languages/gce-pt_BR.mo b/wp-content/plugins/google-calendar-events/languages/gce-pt_BR.mo deleted file mode 100644 index 764c820..0000000 Binary files a/wp-content/plugins/google-calendar-events/languages/gce-pt_BR.mo and /dev/null differ diff --git a/wp-content/plugins/google-calendar-events/languages/gce-pt_BR.po b/wp-content/plugins/google-calendar-events/languages/gce-pt_BR.po deleted file mode 100644 index 6beaa1c..0000000 --- a/wp-content/plugins/google-calendar-events/languages/gce-pt_BR.po +++ /dev/null @@ -1,986 +0,0 @@ -# Copyright (C) 2015 WebPress - CodeLayer -# This file is distributed under the same license as the WordPress package. -msgid "" -msgstr "" -"Project-Id-Version: Google Calendar Events\n" -"Report-Msgid-Bugs-To: https://github.com/pderksen/WP-Google-Calendar-Events/" -"issues\n" -"POT-Creation-Date: 2015-08-31 09:04:08+00:00\n" -"PO-Revision-Date: \n" -"Last-Translator: CodeLayer \n" -"Language-Team: CodeLayer \n" -"Language: pt_BR\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" -"X-Poedit-SourceCharset: UTF-8\n" -"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;" -"_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;" -"esc_html_e\n" -"X-Poedit-Basepath: ../\n" -"X-Textdomain-Support: yes\n" -"X-Generator: Poedit 1.7.5\n" -"X-Poedit-SearchPath-0: .\n" - -#: class-google-calendar-events-admin.php:138 -#: class-google-calendar-events-admin.php:139 -#: class-google-calendar-events-admin.php:235 -#: includes/register-settings.php:68 -msgid "General Settings" -msgstr "Configurações Gerais" - -#. Plugin Name of the plugin/theme -msgid "Google Calendar Events" -msgstr "Google Calendar Events" - -#: class-google-calendar-events-admin.php:236 -msgid "Feeds" -msgstr "Feeds" - -#: class-google-calendar-events-admin.php:254 -#: class-google-calendar-events-admin.php:289 -#, fuzzy -msgid "Add Calendar" -msgstr "ID Google Calendar" - -#: class-google-calendar-events-admin.php:290 -msgid "Add a calendar feed to your post." -msgstr "" - -#: class-google-calendar-events-admin.php:300 -#, fuzzy -msgid "Insert Calendar" -msgstr "ID Google Calendar" - -#: class-google-calendar-events-admin.php:302 -msgid "Could not find any calendars to add to this post." -msgstr "" - -#: class-google-calendar-events-admin.php:303 -#, fuzzy -msgid "Please add a new calendar feed first." -msgstr "Por favor certifique-se que a ID do calendário está correta" - -#: class-google-calendar-events.php:162 -msgid "Loading..." -msgstr "Carregando..." - -#: google-calendar-events.php:34 -msgid "" -"Google Events Calendar requires PHP %1$s and WordPress %2$s to function " -"properly. PHP version found: %3$s. WordPress installed version: %4$s. Please " -"upgrade to meet the minimum requirements." -msgstr "" - -#: includes/admin/admin-functions.php:20 -msgid "Cache has been cleared for this feed." -msgstr "Cache foi esvaziado para este feed." - -#: includes/admin/admin-functions.php:35 includes/admin/admin-functions.php:56 -msgid "Starts:" -msgstr "Inicia:" - -#: includes/admin/admin-functions.php:36 includes/admin/admin-functions.php:58 -msgid "Ends:" -msgstr "Termina:" - -#: includes/admin/admin-functions.php:37 includes/admin/admin-functions.php:60 -msgid "Location:" -msgstr "Local:" - -#: includes/admin/admin-functions.php:38 includes/admin/admin-functions.php:61 -msgid "Description:" -msgstr "Descrição:" - -#: includes/admin/admin-functions.php:39 -msgid "More details..." -msgstr "Mais detalhes..." - -#: includes/admin/admin-functions.php:63 -msgid "More Details" -msgstr "Mais Detalhes" - -#: includes/admin/admin-functions.php:77 includes/gce-feed-cpt.php:328 -#: includes/gce-feed-cpt.php:381 -msgid "Clear Cache" -msgstr "Limpar Cache" - -#: includes/admin/admin-notice.php:26 -msgid "GCal API Key Notice" -msgstr "GCal API Key Notice" - -#: includes/admin/admin-notice.php:28 -msgid "" -"GCal Events uses the Google Calendar API version 3. By default this plugin " -"uses a public shared key across all plugin users." -msgstr "" -"GCal Events usa a API versão 3 do Google Calendar. Por padrão este plugin " -"usa uma chave compartilhada pública para todos os usuários deste plugin." - -#: includes/admin/admin-notice.php:30 -msgid "" -"This key is limited to 500,000 requests per day and 5 requests per second. " -"To avoid running into any potential limits you can use your own Google API " -"key." -msgstr "" -"Esta chave é limitada a 500.000 requisições por dia e 5 requisições por " -"segundo. Para evitar ultrapassar limites você pode usar a sua própria chave " -"API." - -#: includes/admin/admin-notice.php:33 -msgid "Enter your GCal API key" -msgstr "Digite a sua chave GCal API" - -#: includes/admin/admin-notice.php:34 -msgid "Configure GCal feeds" -msgstr "Configurar feeds GCal" - -#: includes/admin/admin-notice.php:35 -msgid "Hide this" -msgstr "Esconder isto" - -#: includes/class-gce-display.php:193 includes/class-gce-display.php:303 -msgid "Back" -msgstr "Voltar" - -#: includes/class-gce-display.php:197 includes/class-gce-display.php:304 -#: includes/class-gce-display.php:310 includes/php-calendar.php:61 -#: includes/php-calendar.php:63 -msgid "Next" -msgstr "Próximo" - -#: includes/class-gce-display.php:309 includes/php-calendar.php:55 -#: includes/php-calendar.php:57 -msgid "Previous" -msgstr "" - -#: includes/class-gce-display.php:406 -msgid "No events to display." -msgstr "Nenhum evento para exibir" - -#: includes/class-gce-event.php:555 -msgid "%s year" -msgstr "%s ano" - -#: includes/class-gce-event.php:555 -msgid "%s years" -msgstr "%s anos" - -#: includes/class-gce-event.php:556 -msgid "%s month" -msgstr "%s mês" - -#: includes/class-gce-event.php:556 -msgid "%s months" -msgstr "%s meses" - -#: includes/class-gce-event.php:557 -msgid "%s week" -msgstr "%s semana" - -#: includes/class-gce-event.php:557 -msgid "%s weeks" -msgstr "%s semanas" - -#: includes/class-gce-event.php:558 -msgid "%s day" -msgstr "%s dia" - -#: includes/class-gce-event.php:558 -msgid "%s days" -msgstr "%s dias" - -#: includes/class-gce-event.php:559 -msgid "%s hour" -msgstr "%s hora" - -#: includes/class-gce-event.php:559 -msgid "%s hours" -msgstr "%s horas" - -#: includes/class-gce-event.php:560 -msgid "%s min" -msgstr "%s min" - -#: includes/class-gce-event.php:560 -msgid "%s mins" -msgstr "%s mins" - -#: includes/class-gce-feed.php:94 -msgid "" -"The Google Calendar ID has not been set. Please make sure to set it " -"correctly in the Feed settings." -msgstr "" -"A ID do Google Calendar não foi definida. Por favor certifique-se de definí-" -"la corretamente nas configurações do Feed." - -#: includes/class-gce-feed.php:226 -msgid "" -"Some data was retrieved, but could not be parsed successfully. Please ensure " -"your feed settings are correct." -msgstr "" -"Dados foram recebidos, mas não foi possível interpretá-los corretamente. " -"Certifique-se que suas configurações do feed estão corretas." - -#: includes/class-gce-feed.php:229 -msgid "An error has occured." -msgstr "Um erro ocorreu." - -#: includes/class-gce-feed.php:234 -msgid " Please ensure your calendar ID is correct." -msgstr "Por favor certifique-se que a ID do calendário está correta" - -#: includes/gce-feed-cpt.php:21 -msgid "Google Calendar Feeds" -msgstr "Feeds do Google Calendas" - -#: includes/gce-feed-cpt.php:22 includes/gce-feed-cpt.php:24 -#: includes/gce-feed-cpt.php:72 -msgid "Feed" -msgstr "Feed" - -#: includes/gce-feed-cpt.php:23 -msgid "GCal Events" -msgstr "Eventos GCal" - -#: includes/gce-feed-cpt.php:25 -msgid "Add New" -msgstr "Adicionar Novo" - -#: includes/gce-feed-cpt.php:26 -msgid "Add New Feed" -msgstr "Adicionar novo feed" - -#: includes/gce-feed-cpt.php:27 -msgid "New Feed" -msgstr "Novo feed" - -#: includes/gce-feed-cpt.php:28 -msgid "Edit Feed" -msgstr "Editar feed" - -#: includes/gce-feed-cpt.php:29 -msgid "View Feed" -msgstr "Visualizar feed" - -#: includes/gce-feed-cpt.php:30 -msgid "All GCal Feeds" -msgstr "Todos os feeds GCal" - -#: includes/gce-feed-cpt.php:31 -msgid "Search GCal Feeds" -msgstr "Pesquisar Feeds GCal" - -#: includes/gce-feed-cpt.php:32 -msgid "No feeds found." -msgstr "Nenhum fed encontrado." - -#: includes/gce-feed-cpt.php:33 -msgid "No feeds found in Trash." -msgstr "Nenhum feed encontrado na lixeira." - -#: includes/gce-feed-cpt.php:70 -msgid "feed" -msgstr "feed" - -#: includes/gce-feed-cpt.php:75 includes/gce-feed-cpt.php:76 -msgid "%4$s updated. %1$sView %2$s%3$s" -msgstr "%4$s atualizado. %1$sVer %2$s%3$s" - -#: includes/gce-feed-cpt.php:77 -msgid "%4$s published. %1$sView %2$s%3$s" -msgstr "%4$s publicado. %1$sVer %2$s%3$s" - -#: includes/gce-feed-cpt.php:78 -msgid "%4$s saved. %1$sView %2$s%3$s" -msgstr "%4$s salvo. %1$sVer %2$s%3$s" - -#: includes/gce-feed-cpt.php:79 -msgid "%4$s submitted. %1$sView %2$s%3$s" -msgstr "%4$s submetido. %1$sVer %2$s%3$s" - -#: includes/gce-feed-cpt.php:80 -msgid "%4$s draft updated. %1$sView %2$s%3$s" -msgstr "Rascunho %4$s atualizado. %1$sVer %2$s%3$s" - -#: includes/gce-feed-cpt.php:95 -msgid "Feed Settings" -msgstr "Configurações de Feed" - -#: includes/gce-feed-cpt.php:97 -msgid "Resources" -msgstr "" - -#: includes/gce-feed-cpt.php:98 -msgid "Display Options" -msgstr "Opções de exibição" - -#: includes/gce-feed-cpt.php:269 -msgid "Feed ID" -msgstr "ID Feed" - -#: includes/gce-feed-cpt.php:270 views/admin/gce-feed-meta-display.php:79 -msgid "Feed Shortcode" -msgstr "Shortcode Feed" - -#: includes/gce-feed-cpt.php:271 -msgid "Display Type" -msgstr "Tipo de exibição" - -#: includes/gce-feed-cpt.php:306 -msgid "Grid" -msgstr "Grid" - -#: includes/gce-feed-cpt.php:308 views/admin/gce-feed-meta-display.php:155 -#: views/widgets.php:274 -msgid "List" -msgstr "Lista" - -#: includes/gce-feed-cpt.php:310 views/admin/gce-feed-meta-display.php:156 -#: views/widgets.php:275 -msgid "Grouped List" -msgstr "Lista agrupada" - -#: includes/gce-feed-cpt.php:312 -msgid "Custom Date Range" -msgstr "Faixa de datas personalizada" - -#: includes/gce-feed-cpt.php:469 -msgid "Feed cache cleared." -msgid_plural "Cleared cache for %s feeds." -msgstr[0] "" -msgstr[1] "" - -#: includes/register-settings.php:29 -msgid "Google API Key" -msgstr "Chave API Google" - -#: includes/register-settings.php:30 -msgid "" -"If left blank all displayed Google calendars will use a public Google API " -"key shared across all plugin users." -msgstr "" -"Se deixado em branco todos os Google Calendars usarão uma chave de API " -"pública, compartilhada entre todos os usuários do plugin. " - -#: includes/register-settings.php:31 -msgid "" -"Currently the shared key is limited to 500,000 requests per day and 5 " -"requests per second." -msgstr "" -"Atualmente a chave compartilhada é limitada a 500.000 requisições por dia e " -"5 por segundo." - -#: includes/register-settings.php:32 -msgid "" -"To avoid these limits click here for " -"instructions on how to generate and use your own Google API key." -msgstr "" -"Para evitar ultrapassar limites você pode usar a sua própria chave API." - -#: includes/register-settings.php:39 -msgid "Always Enqueue Scripts & Styles" -msgstr "Sempre carregar scripts e estilos" - -#: includes/register-settings.php:40 -msgid "Enqueue this plugin's scripts and styles on every post and page." -msgstr "" - -#: includes/register-settings.php:41 -msgid "Useful if using shortcodes in widgets or other non-standard locations." -msgstr "" - -#: includes/register-settings.php:46 -msgid "Disable Plugin CSS" -msgstr "Desativar CSS do plugin" - -#: includes/register-settings.php:47 -msgid "" -"If this option is checked, this plugin's CSS file will not be referenced." -msgstr "Se a opção é marcada, o CSS deste plugin não será referenciado." - -#: includes/register-settings.php:52 -msgid "Save Settings" -msgstr "Salvar Configurações" - -#: includes/register-settings.php:53 -#, fuzzy -msgid "Save your settings when uninstalling this plugin." -msgstr "" -"Salvar suas configurações ao desinstalar este plugin, útil ao atualizar ou " -"reinstalar." - -#: includes/register-settings.php:54 -#, fuzzy -msgid "Useful when upgrading or re-installing." -msgstr "" -"Salvar suas configurações ao desinstalar este plugin, útil ao atualizar ou " -"reinstalar." - -#: includes/register-settings.php:182 -msgid "" -"The callback function used for the %s setting is missing." -msgstr "" -"A função de callback usada para configuração %s está " -"ausente." - -#: includes/shortcodes.php:97 -msgid "" -"There was a problem with one or more of your feed IDs. Please check your " -"shortcode settings and make sure they are correct." -msgstr "" -"Há um problema com um ou mais IDs de feed. Verifique se a configuração do " -"shortcode está correta." - -#: views/admin/display-options-meta.php:39 -msgid "" -"Check this box to use the simple display options below instead of the Event " -"Builder code on the left." -msgstr "" -"Marque esta cauxa para usar as opções de exição simples abaixo ao invés do " -"código do Contrutor de Evento à esquerda." - -#: views/admin/display-options-meta.php:44 -msgid "Start date / time display" -msgstr "Exibição data / hora inicial" - -#: views/admin/display-options-meta.php:45 -msgid "Select how to display the start date / time." -msgstr "Selecione como exibir data / hora inicial." - -#: views/admin/display-options-meta.php:47 -#: views/admin/display-options-meta.php:61 -msgid "None" -msgstr "Nenhuma" - -#: views/admin/display-options-meta.php:48 -msgid "Start time" -msgstr "Hora inicial" - -#: views/admin/display-options-meta.php:49 -msgid "Start date" -msgstr "Data inicial" - -#: views/admin/display-options-meta.php:50 -msgid "Start time and date" -msgstr "Hora e data inicial" - -#: views/admin/display-options-meta.php:51 -msgid "Start date and time" -msgstr "Data e hora inicial" - -#: views/admin/display-options-meta.php:53 -msgid "Text to display before the start time." -msgstr "Texto para exibir antes da hora inicial." - -#: views/admin/display-options-meta.php:58 -msgid "End time/date display" -msgstr "Exibição data / hora final" - -#: views/admin/display-options-meta.php:59 -msgid "Select how to display the end date / time." -msgstr "Selecione como exibir data / hora final." - -#: views/admin/display-options-meta.php:62 -msgid "End time" -msgstr "Hora final" - -#: views/admin/display-options-meta.php:63 -msgid "End date" -msgstr "Data final" - -#: views/admin/display-options-meta.php:64 -msgid "End time and date" -msgstr "Hora e data final" - -#: views/admin/display-options-meta.php:65 -msgid "End date and time" -msgstr "Data e hora final" - -#: views/admin/display-options-meta.php:67 -msgid "Text to display before the end time." -msgstr "Texto para exibir antes da hora final." - -#: views/admin/display-options-meta.php:72 -msgid "Separator" -msgstr "Separador" - -#: views/admin/display-options-meta.php:74 -msgid "" -"If you have chosen to display both the time and date above, enter the text / " -"characters to display between the time and date here (including any spaces)." -msgstr "" -"Se você escolher para exibir data e hora acima, digite o texto/caracteres " -"para exibir entre a hora e data aqui (incluindo espaços)." - -#: views/admin/display-options-meta.php:80 -msgid "Location" -msgstr "Local" - -#: views/admin/display-options-meta.php:82 -msgid "Show the location of events?" -msgstr "Exibir local de eventos?" - -#: views/admin/display-options-meta.php:83 -msgid "Text to display before the location." -msgstr "Texto para exibir antes do local." - -#: views/admin/display-options-meta.php:88 -msgid "Description" -msgstr "Descrição" - -#: views/admin/display-options-meta.php:91 -msgid "" -"Show the description of events? (URLs in the description will be made into " -"links)." -msgstr "" -"Exibir a descrição dos eventos? (URLS na descrição serão transformadas em " -"links)." - -#: views/admin/display-options-meta.php:93 -msgid "Text to display before the description." -msgstr "Texto para exibir antes da descrição." - -#: views/admin/display-options-meta.php:95 -msgid "" -"Maximum number of words to show from description. Leave blank for no limit." -msgstr "" -"Número máximo de palavras para exibir na descrição. Deixe em branco para " -"nenhum limite." - -#: views/admin/display-options-meta.php:100 -msgid "Event Link" -msgstr "Link do evento" - -#: views/admin/display-options-meta.php:103 -msgid "Show a link to the Google Calendar page for an event?" -msgstr "Exibir um link para a página do Google Calendar para um evento?" - -#: views/admin/display-options-meta.php:107 -msgid "Links open in a new window / tab?" -msgstr "Links abertos em nova aba / janela?" - -#: views/admin/display-options-meta.php:109 -msgid "The link text to be displayed." -msgstr "O texto do link para ser exibido." - -#: views/admin/gce-feed-meta-display.php:69 -msgid "Want to be in the know?" -msgstr "Quer estar a saber?" - -#: views/admin/gce-feed-meta-display.php:72 -msgid "Get notified when new features are released" -msgstr "Seja notificado quando novos recursos forem lançados" - -#: views/admin/gce-feed-meta-display.php:90 -msgid "" -"Copy and paste this shortcode to display this Google Calendar feed on any " -"post or page." -msgstr "" -"Copie e cole este shortcode para exibir este Feed do Google Calendar em " -"qualquer post ou página." - -#: views/admin/gce-feed-meta-display.php:91 -msgid "" -"To avoid display issues, make sure to paste the shortcode in the Text tab of " -"the post editor." -msgstr "" -"Para evitar problemas de exibição, certifique-se de colar o shortcode na aba " -"texto do editor do post/página." - -#: views/admin/gce-feed-meta-display.php:96 -msgid "Google Calendar ID" -msgstr "ID Google Calendar" - -#: views/admin/gce-feed-meta-display.php:100 -msgid "The Google Calendar ID." -msgstr "A ID do Google Calendar." - -#: views/admin/gce-feed-meta-display.php:100 -msgid "Example" -msgstr "Exemplo" - -#: views/admin/gce-feed-meta-display.php:102 -msgid "How to find your Google Calendar ID" -msgstr "Como encontrar ID do Google Calendar" - -#: views/admin/gce-feed-meta-display.php:115 -msgid "Timezone" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:122 -msgid "It is recommended to use the calendar default timezone." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:127 -msgid "Search Query" -msgstr "Consulta" - -#: views/admin/gce-feed-meta-display.php:130 -msgid "Find and show events based on a search query." -msgstr "Enontre e exiba eventos baseado em consulta." - -#: views/admin/gce-feed-meta-display.php:135 -msgid "Expand Recurring Events?" -msgstr "Expandir eventos recorrentes?" - -#: views/admin/gce-feed-meta-display.php:137 -msgid "Yes" -msgstr "Sim" - -#: views/admin/gce-feed-meta-display.php:138 -msgid "" -"Display recurring events each time they occur. If disabled, events will be " -"displayed only the first time they occur." -msgstr "" -"Exibir eventos recorrentes cada vez que ocorrer. Se desativado, eventos " -"aparecerão apenas na primeira vez que ocorre." - -#: views/admin/gce-feed-meta-display.php:143 -msgid "Multiple Day Events" -msgstr "Eventos de múltiplos dias." - -#: views/admin/gce-feed-meta-display.php:145 -msgid "Show on each day" -msgstr "Exibir em cada dia" - -#: views/admin/gce-feed-meta-display.php:146 -msgid "" -"Display multiple day events on each day that they span. If disabled, " -"multiple day events will be displayed only on the first day they occur." -msgstr "" -"Exibir eventos de múltiplos dias em cada dia de sua duração. Se desativado, " -"eventos de múltiplos dias serão exibidos apenas no primeiro dia que ocorrem. " - -#: views/admin/gce-feed-meta-display.php:151 -msgid "Display Mode" -msgstr "Modo de exibição" - -#: views/admin/gce-feed-meta-display.php:154 views/widgets.php:273 -msgid "Grid (Month view)" -msgstr "Grade (Mês)" - -#: views/admin/gce-feed-meta-display.php:157 views/widgets.php:276 -msgid "Custom Date Range (List)" -msgstr "Intervalo de datas personalizado (lista)" - -#: views/admin/gce-feed-meta-display.php:158 views/widgets.php:277 -msgid "Custom Date Range (Grid)" -msgstr "Intervalo de datas personalizado (grade)" - -#: views/admin/gce-feed-meta-display.php:160 -msgid "Select how to display this feed." -msgstr "Selecione como exibir este feed." - -#: views/admin/gce-feed-meta-display.php:165 -msgid "Events per Page" -msgstr "Eventos por págian" - -#: views/admin/gce-feed-meta-display.php:168 views/widgets.php:292 -msgid "Number of Days" -msgstr "Número de dias" - -#: views/admin/gce-feed-meta-display.php:169 views/widgets.php:293 -msgid "Number of Events" -msgstr "Número de eventos" - -#: views/admin/gce-feed-meta-display.php:170 views/widgets.php:294 -msgid "One Week" -msgstr "Uma semana" - -#: views/admin/gce-feed-meta-display.php:171 views/widgets.php:295 -msgid "One Month" -msgstr "Um mês" - -#: views/admin/gce-feed-meta-display.php:176 -msgid "How many events to display per page (List View only)." -msgstr "Quantos eventos exibir por página (apenas lista)." - -#: views/admin/gce-feed-meta-display.php:181 -msgid "Display Start Date Offset" -msgstr "Offset de exibição de data inicial" - -#: views/admin/gce-feed-meta-display.php:184 -#: views/admin/gce-feed-meta-display.php:196 views/widgets.php:309 -msgid "Number of Days Back" -msgstr "Número de dias antes" - -#: views/admin/gce-feed-meta-display.php:185 -#: views/admin/gce-feed-meta-display.php:215 views/widgets.php:310 -msgid "Number of Days Forward" -msgstr "Número de dias depois" - -#: views/admin/gce-feed-meta-display.php:188 views/widgets.php:314 -msgid "" -"Change to initially display events on a date other than today (List View " -"only)." -msgstr "" -"Mudar para exibir inicialmente eventos em uma data diferente de hoje (apenas " -"lista)." - -#: views/admin/gce-feed-meta-display.php:193 -msgid "Earliest Feed Event Date" -msgstr "Primeira Data de evento do Feed" - -#: views/admin/gce-feed-meta-display.php:197 -msgid "Number of Months Back" -msgstr "Número de meses antes" - -#: views/admin/gce-feed-meta-display.php:198 -msgid "Number of Years Back" -msgstr "Número de anos antes" - -#: views/admin/gce-feed-meta-display.php:204 -msgid "Set how far back to retrieve events regardless of initial display." -msgstr "" -"Defina o quão longe no passado para recuperar eventos independente da " -"exibição inicial." - -#: views/admin/gce-feed-meta-display.php:206 -msgid "" -"Note: Total events are currently limited to 2,500 by the " -"Google Calendar API." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:212 -msgid "Latest Feed Event Date" -msgstr "Última Data de evento do Feed" - -#: views/admin/gce-feed-meta-display.php:216 -msgid "Number of Months Forward" -msgstr "Número de meses depois" - -#: views/admin/gce-feed-meta-display.php:217 -msgid "Number of Years Forward" -msgstr "Número de anos depois" - -#: views/admin/gce-feed-meta-display.php:222 -msgid "" -"Set how far in the future to retrieve events regardless of initial display." -msgstr "" -"Defina o quão longe no futuro para recuperar eventos independente da " -"exibição inicial." - -#: views/admin/gce-feed-meta-display.php:227 -msgid "Use Custom Date Range" -msgstr "Usar intervalo de datas personalizado" - -#: views/admin/gce-feed-meta-display.php:233 -msgid "" -"Set a specific range of events to retrieve. Leaving either field blank will " -"set the date to the current day." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:239 views/widgets.php:324 -msgid "Show Paging Links" -msgstr "Exibir links de paginação" - -#: views/admin/gce-feed-meta-display.php:242 -msgid "Display Next and Back navigation links." -msgstr "Exibir links de navegação Próximo e Anterior" - -#: views/admin/gce-feed-meta-display.php:247 views/widgets.php:327 -msgid "Show Tooltips" -msgstr "Exibir Tooltips" - -#: views/admin/gce-feed-meta-display.php:250 -msgid "Display tooltips when hovering over events (Grid View only)." -msgstr "Exibir dicas ao pair sobre eventos (apenas grade)." - -#: views/admin/gce-feed-meta-display.php:255 -msgid "Date Format" -msgstr "Formato de Data" - -#: views/admin/gce-feed-meta-display.php:259 -#: views/admin/gce-feed-meta-display.php:270 -msgid "Use %sPHP date formatting%s." -msgstr "Usar %sformato de data PHP%s." - -#: views/admin/gce-feed-meta-display.php:260 -#: views/admin/gce-feed-meta-display.php:271 -msgid "Leave blank to use the default." -msgstr "Deixar em branco para padrão." - -#: views/admin/gce-feed-meta-display.php:266 -msgid "Time Format" -msgstr "Formato de Hora" - -#: views/admin/gce-feed-meta-display.php:277 -msgid "Cache Duration" -msgstr "Duração do cache" - -#: views/admin/gce-feed-meta-display.php:280 -msgid "" -"The length of time, in seconds, to cache the feed (43200 = 12 hours). If " -"this feed changes regularly, you may want to reduce the cache duration." -msgstr "" -"A duração do tempo, em segundos do cache do feed (43200 = 12 horas). Se este " -"feed se altera regularmente, você vai querer reduzir a duração do cache." - -#: views/admin/gce-feed-sidebar-help.php:6 -#, fuzzy -msgid "Documentation" -msgstr "Local" - -#: views/admin/gce-feed-sidebar-help.php:11 -msgid "Community support forums" -msgstr "Fóruns de suporte" - -#: views/admin/gce-feed-sidebar-help.php:16 -msgid "Get notified of new features" -msgstr "Seja notificado de novos recursos" - -#: views/admin/gce-feed-sidebar-help.php:21 -msgid "" -"Are you finding our GCal plugin helpful? 5-star ratings keep us motivated!" -msgstr "" - -#: views/admin/gce-feed-sidebar-help.php:25 -msgid "Rate our plugin on wordpress.org" -msgstr "" - -#: views/widgets.php:28 -msgid "" -"Display a list or calendar grid of events from one or more Google Calendar " -"feeds you have added" -msgstr "" -"Exibir uma lista ou grade de calendário de eventos de um ou mais feeds do " -"Google Calendar adicionado" - -#: views/widgets.php:146 -msgid "" -"No valid Feed IDs have been entered for this widget. Please check that you " -"have entered the IDs correctly in the widget settings (Appearance > " -"Widgets), and that the Feeds have not been deleted." -msgstr "" -"Nenhum ID de feed válido foi digitado para este widget. Por favor verifique " -"se você digitou corretamente na configuração do widget (Aparência > " -"Widgets), e que os seus feeds não foram excluídos." - -#: views/widgets.php:186 -msgid "" -"There was a problem with one or more of your feed IDs. Please check your " -"widget settings and make sure they are correct." -msgstr "" -"Há um problema com um ou mais IDs de Feed. Por favor verifique se as " -"configurações do widget estão corretas." - -#: views/widgets.php:192 -msgid "You have not added any feeds yet." -msgstr "Você não adicionou nenhum feed ainda." - -#: views/widgets.php:235 -msgid "There are no feeds created yet." -msgstr "Não foram criados feeds ainda." - -#: views/widgets.php:236 -msgid "Add your first feed!" -msgstr "Adicione seu primeiro feed!" - -#: views/widgets.php:246 -msgid "Events on" -msgstr "Eventos em" - -#: views/widgets.php:260 -msgid "Title:" -msgstr "Título:" - -#: views/widgets.php:265 -msgid "Feeds to Display (comma separated list - i.e. 101,102,103):" -msgstr "Feeds para Exibir (separados por vírgula, ex.: 101,102,103):" - -#: views/widgets.php:271 -msgid "Display Events as:" -msgstr "Exibir eventos como:" - -#: views/widgets.php:282 -msgid "Sort Order (List View only):" -msgstr "Ordenação (apenas lista):" - -#: views/widgets.php:284 -msgid "Ascending" -msgstr "Ascendente" - -#: views/widgets.php:285 -msgid "Descending" -msgstr "Descendente" - -#: views/widgets.php:290 -msgid "Events per Page (List View only):" -msgstr "Eventos por página (apenas lista):" - -#: views/widgets.php:303 -msgid "" -"This setting will pull from the custom date range set in the main feed " -"settings and cannot be changed here." -msgstr "" -"Essa configuração vai puxar a partir do intervalo de datas personalizado " -"definido nas configurações principais do feed e não pode ser alterada aqui." - -#: views/widgets.php:307 -msgid "Display Start Date Offset (List View only):" -msgstr "Exibir offset de data incial (apenas lista):" - -#: views/widgets.php:318 -msgid "" -"Display Title on Tooltip/List Item (e.g. 'Events on 7th March'). Grouped " -"lists always have a title displayed." -msgstr "" -"Exibir título na tooltop/lista (ex.: 'Eventos em 7 de março'). Listas " -"agrupadas sempre tem um título exibido." - -#. Plugin URI of the plugin/theme -msgid "https://wordpress.org/plugins/google-calendar-events/" -msgstr "" - -#. Description of the plugin/theme -msgid "" -"Show off your Google calendar in grid (month) or list view, in a post, page " -"or widget, and in a style that matches your site." -msgstr "" - -#. Author of the plugin/theme -msgid "Moonstone Media" -msgstr "" - -#. Author URI of the plugin/theme -msgid "http://moonstonemediagroup.com" -msgstr "" - -#: includes/class-gce-event.php:588 -msgctxt "human_time_diff" -msgid ", " -msgstr ", " - -#: views/admin/gce-feed-meta-display.php:118 -msgctxt "Use the calendar default setting" -msgid "Calendar default" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:119 -msgctxt "Use this site default setting" -msgid "Site default" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:231 -msgctxt "separator between custom date range fields" -msgid "to" -msgstr "à" - -#, fuzzy -#~ msgid "Review this Plugin Now" -#~ msgstr "Avalie este plugin" - -#~ msgid "Helpful Links" -#~ msgstr "Links úteis" - -#~ msgid "Set a specific range of events to retrieve." -#~ msgstr "Definir um intervalo específico de eventos para coletar." - -#~ msgid "Documentation & getting started" -#~ msgstr "Documentação & Primeiros passos" - -#~ msgid "View our roadmap & vote" -#~ msgstr "Veja nossos planos & vote" diff --git a/wp-content/plugins/google-calendar-events/languages/gce-ru_RU.mo b/wp-content/plugins/google-calendar-events/languages/gce-ru_RU.mo deleted file mode 100644 index d150e82..0000000 Binary files a/wp-content/plugins/google-calendar-events/languages/gce-ru_RU.mo and /dev/null differ diff --git a/wp-content/plugins/google-calendar-events/languages/gce-ru_RU.po b/wp-content/plugins/google-calendar-events/languages/gce-ru_RU.po deleted file mode 100644 index b2f46d2..0000000 --- a/wp-content/plugins/google-calendar-events/languages/gce-ru_RU.po +++ /dev/null @@ -1,992 +0,0 @@ -# Copyright (C) 2015 WebPress - CodeLayer -# This file is distributed under the same license as the WordPress package. -msgid "" -msgstr "" -"Project-Id-Version: Google Calendar Events\n" -"Report-Msgid-Bugs-To: https://github.com/pderksen/WP-Google-Calendar-Events/" -"issues\n" -"POT-Creation-Date: 2015-08-31 09:04:08+00:00\n" -"PO-Revision-Date: \n" -"Last-Translator: Vadim Rc <0xrcva@gmail.com>\n" -"Language-Team: rcva <0xrcva@gmail.com>\n" -"Language: ru_RU\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" -"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" -"X-Poedit-SourceCharset: UTF-8\n" -"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;" -"_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;" -"esc_html_e\n" -"X-Poedit-Basepath: ../\n" -"X-Textdomain-Support: yes\n" -"X-Generator: Poedit 1.7.6\n" -"X-Poedit-SearchPath-0: .\n" - -#: class-google-calendar-events-admin.php:138 -#: class-google-calendar-events-admin.php:139 -#: class-google-calendar-events-admin.php:235 -#: includes/register-settings.php:68 -msgid "General Settings" -msgstr "Основные настройки" - -#. Plugin Name of the plugin/theme -msgid "Google Calendar Events" -msgstr "Google Calendar Events" - -#: class-google-calendar-events-admin.php:236 -msgid "Feeds" -msgstr "Каналы" - -#: class-google-calendar-events-admin.php:254 -#: class-google-calendar-events-admin.php:289 -#, fuzzy -msgid "Add Calendar" -msgstr "Идентификатор (ID) Google Calendar" - -#: class-google-calendar-events-admin.php:290 -msgid "Add a calendar feed to your post." -msgstr "" - -#: class-google-calendar-events-admin.php:300 -#, fuzzy -msgid "Insert Calendar" -msgstr "Идентификатор (ID) Google Calendar" - -#: class-google-calendar-events-admin.php:302 -msgid "Could not find any calendars to add to this post." -msgstr "" - -#: class-google-calendar-events-admin.php:303 -#, fuzzy -msgid "Please add a new calendar feed first." -msgstr "Пожалуйста, убедитесь что идентификатор (ID) календаря корректен" - -#: class-google-calendar-events.php:162 -msgid "Loading..." -msgstr "Загрузка..." - -#: google-calendar-events.php:34 -msgid "" -"Google Events Calendar requires PHP %1$s and WordPress %2$s to function " -"properly. PHP version found: %3$s. WordPress installed version: %4$s. Please " -"upgrade to meet the minimum requirements." -msgstr "" - -#: includes/admin/admin-functions.php:20 -msgid "Cache has been cleared for this feed." -msgstr "Кэш этого потока очищен." - -#: includes/admin/admin-functions.php:35 includes/admin/admin-functions.php:56 -msgid "Starts:" -msgstr "Начало:" - -#: includes/admin/admin-functions.php:36 includes/admin/admin-functions.php:58 -msgid "Ends:" -msgstr "Конец:" - -#: includes/admin/admin-functions.php:37 includes/admin/admin-functions.php:60 -msgid "Location:" -msgstr "Место:" - -#: includes/admin/admin-functions.php:38 includes/admin/admin-functions.php:61 -msgid "Description:" -msgstr "Описание:" - -#: includes/admin/admin-functions.php:39 -msgid "More details..." -msgstr "Подробнее..." - -#: includes/admin/admin-functions.php:63 -msgid "More Details" -msgstr "Подробнее" - -#: includes/admin/admin-functions.php:77 includes/gce-feed-cpt.php:328 -#: includes/gce-feed-cpt.php:381 -msgid "Clear Cache" -msgstr "Очистить кеш" - -#: includes/admin/admin-notice.php:26 -msgid "GCal API Key Notice" -msgstr "GCal API Key Notice" - -#: includes/admin/admin-notice.php:28 -msgid "" -"GCal Events uses the Google Calendar API version 3. By default this plugin " -"uses a public shared key across all plugin users." -msgstr "" -"GCal Events использует Google Calendar API версии 3. По умолчанию этот " -"плагин использует общедоступный публичный ключ." - -#: includes/admin/admin-notice.php:30 -msgid "" -"This key is limited to 500,000 requests per day and 5 requests per second. " -"To avoid running into any potential limits you can use your own Google API " -"key." -msgstr "" -"Этот ключ лимитирован 500.000 запросами в день и 5 запросами в секунду. " -"Чтобы избежать потенциальный ограничений вы можете использовать свой " -"собственный ключ Google API." - -#: includes/admin/admin-notice.php:33 -msgid "Enter your GCal API key" -msgstr "Введите ваш ключ GCal API" - -#: includes/admin/admin-notice.php:34 -msgid "Configure GCal feeds" -msgstr "Настроить каналы GCal" - -#: includes/admin/admin-notice.php:35 -msgid "Hide this" -msgstr "Скрыть" - -#: includes/class-gce-display.php:193 includes/class-gce-display.php:303 -msgid "Back" -msgstr "Назад" - -#: includes/class-gce-display.php:197 includes/class-gce-display.php:304 -#: includes/class-gce-display.php:310 includes/php-calendar.php:61 -#: includes/php-calendar.php:63 -msgid "Next" -msgstr "Вперед" - -#: includes/class-gce-display.php:309 includes/php-calendar.php:55 -#: includes/php-calendar.php:57 -msgid "Previous" -msgstr "" - -#: includes/class-gce-display.php:406 -msgid "No events to display." -msgstr "События отсутствуют" - -#: includes/class-gce-event.php:555 -msgid "%s year" -msgstr "%s год" - -#: includes/class-gce-event.php:555 -msgid "%s years" -msgstr "%s лет" - -#: includes/class-gce-event.php:556 -msgid "%s month" -msgstr "%s месяц" - -#: includes/class-gce-event.php:556 -msgid "%s months" -msgstr "%s месяцев" - -#: includes/class-gce-event.php:557 -msgid "%s week" -msgstr "%s неделя" - -#: includes/class-gce-event.php:557 -msgid "%s weeks" -msgstr "%s недель" - -#: includes/class-gce-event.php:558 -msgid "%s day" -msgstr "%s день" - -#: includes/class-gce-event.php:558 -msgid "%s days" -msgstr "%s дней" - -#: includes/class-gce-event.php:559 -msgid "%s hour" -msgstr "%s час" - -#: includes/class-gce-event.php:559 -msgid "%s hours" -msgstr "%s часов" - -#: includes/class-gce-event.php:560 -msgid "%s min" -msgstr "%s минута" - -#: includes/class-gce-event.php:560 -msgid "%s mins" -msgstr "%s минут" - -#: includes/class-gce-feed.php:94 -msgid "" -"The Google Calendar ID has not been set. Please make sure to set it " -"correctly in the Feed settings." -msgstr "" -"Не указан идентификатор (ID) от Google Calendar. Пожалуйста, убедитесь, что " -"вы указали его в пункте \"Каналы\"." - -#: includes/class-gce-feed.php:226 -msgid "" -"Some data was retrieved, but could not be parsed successfully. Please ensure " -"your feed settings are correct." -msgstr "" -"Часть данных была загружен, но не была успешно распознана. Пожалуйста, " -"убедитесь что настройки верны." - -#: includes/class-gce-feed.php:229 -msgid "An error has occured." -msgstr "Произошла ошибка." - -#: includes/class-gce-feed.php:234 -msgid " Please ensure your calendar ID is correct." -msgstr "Пожалуйста, убедитесь что идентификатор (ID) календаря корректен" - -#: includes/gce-feed-cpt.php:21 -msgid "Google Calendar Feeds" -msgstr "Каналы Google Calendar" - -#: includes/gce-feed-cpt.php:22 includes/gce-feed-cpt.php:24 -#: includes/gce-feed-cpt.php:72 -msgid "Feed" -msgstr "Канал" - -#: includes/gce-feed-cpt.php:23 -msgid "GCal Events" -msgstr "События GCal" - -#: includes/gce-feed-cpt.php:25 -msgid "Add New" -msgstr "Добавить новый" - -#: includes/gce-feed-cpt.php:26 -msgid "Add New Feed" -msgstr "Добавить новый канал" - -#: includes/gce-feed-cpt.php:27 -msgid "New Feed" -msgstr "Новый канал" - -#: includes/gce-feed-cpt.php:28 -msgid "Edit Feed" -msgstr "Изменить канал" - -#: includes/gce-feed-cpt.php:29 -msgid "View Feed" -msgstr "Просмотреть канал" - -#: includes/gce-feed-cpt.php:30 -msgid "All GCal Feeds" -msgstr "Все каналы GCal" - -#: includes/gce-feed-cpt.php:31 -msgid "Search GCal Feeds" -msgstr "Поиск GCal каналов" - -#: includes/gce-feed-cpt.php:32 -msgid "No feeds found." -msgstr "Каналы не найдены." - -#: includes/gce-feed-cpt.php:33 -msgid "No feeds found in Trash." -msgstr "Каналы в Корзине не найдены." - -#: includes/gce-feed-cpt.php:70 -msgid "feed" -msgstr "канал" - -#: includes/gce-feed-cpt.php:75 includes/gce-feed-cpt.php:76 -msgid "%4$s updated. %1$sView %2$s%3$s" -msgstr "%4$s обновлено. %1$sПросмотреть %2$s%3$s" - -#: includes/gce-feed-cpt.php:77 -msgid "%4$s published. %1$sView %2$s%3$s" -msgstr "%4$s опубликовано. %1$sПросмотреть %2$s%3$s" - -#: includes/gce-feed-cpt.php:78 -msgid "%4$s saved. %1$sView %2$s%3$s" -msgstr "%4$s сохранено. %1$sПросмотреть %2$s%3$s" - -#: includes/gce-feed-cpt.php:79 -msgid "%4$s submitted. %1$sView %2$s%3$s" -msgstr "%4$s отправлено. %1$sПросмотреть %2$s%3$s" - -#: includes/gce-feed-cpt.php:80 -msgid "%4$s draft updated. %1$sView %2$s%3$s" -msgstr "%4$s черновиков обновлено. %1$sView %2$s%3$s" - -#: includes/gce-feed-cpt.php:95 -msgid "Feed Settings" -msgstr "Настройки канала" - -#: includes/gce-feed-cpt.php:97 -msgid "Resources" -msgstr "" - -#: includes/gce-feed-cpt.php:98 -msgid "Display Options" -msgstr "Настройки отображения" - -#: includes/gce-feed-cpt.php:269 -msgid "Feed ID" -msgstr "Идентификатор (ID) канала" - -#: includes/gce-feed-cpt.php:270 views/admin/gce-feed-meta-display.php:79 -msgid "Feed Shortcode" -msgstr "Шорткод канала" - -#: includes/gce-feed-cpt.php:271 -msgid "Display Type" -msgstr "Тип отображения" - -#: includes/gce-feed-cpt.php:306 -msgid "Grid" -msgstr "Сетка" - -#: includes/gce-feed-cpt.php:308 views/admin/gce-feed-meta-display.php:155 -#: views/widgets.php:274 -msgid "List" -msgstr "Список" - -#: includes/gce-feed-cpt.php:310 views/admin/gce-feed-meta-display.php:156 -#: views/widgets.php:275 -msgid "Grouped List" -msgstr "Группированный список" - -#: includes/gce-feed-cpt.php:312 -msgid "Custom Date Range" -msgstr "Установленный промежуток времени" - -#: includes/gce-feed-cpt.php:469 -msgid "Feed cache cleared." -msgid_plural "Cleared cache for %s feeds." -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" - -#: includes/register-settings.php:29 -msgid "Google API Key" -msgstr "Ключ Google API" - -#: includes/register-settings.php:30 -msgid "" -"If left blank all displayed Google calendars will use a public Google API " -"key shared across all plugin users." -msgstr "" -"Если оставить пустым, все выводимые календари Google будут использовать " -"публичный ключ Google API, общий для всех пользователей плагина." - -#: includes/register-settings.php:31 -msgid "" -"Currently the shared key is limited to 500,000 requests per day and 5 " -"requests per second." -msgstr "" -"Сейчас общий ключ ограничен 500,000 запросов в сутки и 5 запросами в секунду." - -#: includes/register-settings.php:32 -msgid "" -"To avoid these limits click here for " -"instructions on how to generate and use your own Google API key." -msgstr "" -"Чтобы избежать этих ограничений кликните " -"здесь чтобы узнать как получить свой собственный ключ Google API." - -#: includes/register-settings.php:39 -msgid "Always Enqueue Scripts & Styles" -msgstr "Всегда подключать стили и скрипты" - -#: includes/register-settings.php:40 -msgid "Enqueue this plugin's scripts and styles on every post and page." -msgstr "" - -#: includes/register-settings.php:41 -msgid "Useful if using shortcodes in widgets or other non-standard locations." -msgstr "" - -#: includes/register-settings.php:46 -msgid "Disable Plugin CSS" -msgstr "Отключить CSS плагина" - -#: includes/register-settings.php:47 -msgid "" -"If this option is checked, this plugin's CSS file will not be referenced." -msgstr "Если эта опция активна, CSS-файлы плагина будут проигнорированы." - -#: includes/register-settings.php:52 -msgid "Save Settings" -msgstr "Сохранить настройки" - -#: includes/register-settings.php:53 -#, fuzzy -msgid "Save your settings when uninstalling this plugin." -msgstr "" -"Сохранить настройки при удалении плагина. Полезно при обновлении и при " -"переустановке." - -#: includes/register-settings.php:54 -#, fuzzy -msgid "Useful when upgrading or re-installing." -msgstr "" -"Сохранить настройки при удалении плагина. Полезно при обновлении и при " -"переустановке." - -#: includes/register-settings.php:182 -#, fuzzy -msgid "" -"The callback function used for the %s setting is missing." -msgstr "" -"The callback function used for the %s setting is missing." - -#: includes/shortcodes.php:97 -msgid "" -"There was a problem with one or more of your feed IDs. Please check your " -"shortcode settings and make sure they are correct." -msgstr "" -"С одним из идентификаторов вашего канала что-то пошло не так. Пожалуйста, " -"перепроверьте ваш шорткод." - -#: views/admin/display-options-meta.php:39 -msgid "" -"Check this box to use the simple display options below instead of the Event " -"Builder code on the left." -msgstr "" -"Установите галочку чтобы просто вывести настройки внизу, вместо " -"использования \"Мастера событий\" слева." - -#: views/admin/display-options-meta.php:44 -msgid "Start date / time display" -msgstr "Отображение времени / даты начала" - -#: views/admin/display-options-meta.php:45 -msgid "Select how to display the start date / time." -msgstr "Выберите как отображать время / дату начала" - -#: views/admin/display-options-meta.php:47 -#: views/admin/display-options-meta.php:61 -msgid "None" -msgstr "Нет" - -#: views/admin/display-options-meta.php:48 -msgid "Start time" -msgstr "Время начала" - -#: views/admin/display-options-meta.php:49 -msgid "Start date" -msgstr "Дата начала" - -#: views/admin/display-options-meta.php:50 -msgid "Start time and date" -msgstr "Время и дата начала" - -#: views/admin/display-options-meta.php:51 -msgid "Start date and time" -msgstr "Дата и время начала" - -#: views/admin/display-options-meta.php:53 -msgid "Text to display before the start time." -msgstr "Текст, выводимый перед временем начала." - -#: views/admin/display-options-meta.php:58 -msgid "End time/date display" -msgstr "Отображение времени / даты завершения" - -#: views/admin/display-options-meta.php:59 -msgid "Select how to display the end date / time." -msgstr "Выберите как отображать время / дату завершения" - -#: views/admin/display-options-meta.php:62 -msgid "End time" -msgstr "Время завершения" - -#: views/admin/display-options-meta.php:63 -msgid "End date" -msgstr "Дата завешения" - -#: views/admin/display-options-meta.php:64 -msgid "End time and date" -msgstr "Время и дата завершения" - -#: views/admin/display-options-meta.php:65 -msgid "End date and time" -msgstr "Дата и время завершения" - -#: views/admin/display-options-meta.php:67 -msgid "Text to display before the end time." -msgstr "Текст, выводимый перед временем завершения" - -#: views/admin/display-options-meta.php:72 -msgid "Separator" -msgstr "Разделитель" - -#: views/admin/display-options-meta.php:74 -msgid "" -"If you have chosen to display both the time and date above, enter the text / " -"characters to display between the time and date here (including any spaces)." -msgstr "" -"Если вы выше выбрали отображение как времени так и даты, введите текст / " -"набор символов (в том числе и пробелы), который будет отделять одно от " -"другого ." - -#: views/admin/display-options-meta.php:80 -msgid "Location" -msgstr "Место" - -#: views/admin/display-options-meta.php:82 -msgid "Show the location of events?" -msgstr "Показывать местоположение событий?" - -#: views/admin/display-options-meta.php:83 -msgid "Text to display before the location." -msgstr "Текст, выводимый перед местом." - -#: views/admin/display-options-meta.php:88 -msgid "Description" -msgstr "Описание" - -#: views/admin/display-options-meta.php:91 -msgid "" -"Show the description of events? (URLs in the description will be made into " -"links)." -msgstr "" -"Оказывать описание событий? (URL'ы в описаниях будут отображены как ссылки)." - -#: views/admin/display-options-meta.php:93 -msgid "Text to display before the description." -msgstr "Текст, выводимый перед описанием." - -#: views/admin/display-options-meta.php:95 -msgid "" -"Maximum number of words to show from description. Leave blank for no limit." -msgstr "" -"Максимально количество выводимых слов описания. Оставьте поле пустым, если " -"не хотите вводить это ограничение." - -#: views/admin/display-options-meta.php:100 -msgid "Event Link" -msgstr "Ссылка на событие" - -#: views/admin/display-options-meta.php:103 -msgid "Show a link to the Google Calendar page for an event?" -msgstr "Показывать ссылку на событие, ведущую на Google Calendar?" - -#: views/admin/display-options-meta.php:107 -msgid "Links open in a new window / tab?" -msgstr "Открывать ссылку в новом окне / вкладке?" - -#: views/admin/display-options-meta.php:109 -msgid "The link text to be displayed." -msgstr "Ссылка, которая будут показана." - -#: views/admin/gce-feed-meta-display.php:69 -msgid "Want to be in the know?" -msgstr "Хотите быть в курсе?" - -#: views/admin/gce-feed-meta-display.php:72 -msgid "Get notified when new features are released" -msgstr "Получать уведомление о новых функциях" - -#: views/admin/gce-feed-meta-display.php:90 -msgid "" -"Copy and paste this shortcode to display this Google Calendar feed on any " -"post or page." -msgstr "" -"Скопируйте этот шорткод чтобы добавлять этот Google Calendar на любую " -"страницу или в запись." - -#: views/admin/gce-feed-meta-display.php:91 -msgid "" -"To avoid display issues, make sure to paste the shortcode in the Text tab of " -"the post editor." -msgstr "" -"Чтобы избежать проблем с отображением, убедитесь что вы вставили шорткод в " -"текстовое представление редактора" - -#: views/admin/gce-feed-meta-display.php:96 -msgid "Google Calendar ID" -msgstr "Идентификатор (ID) Google Calendar" - -#: views/admin/gce-feed-meta-display.php:100 -msgid "The Google Calendar ID." -msgstr "Идентификатор (ID) Google Calendar" - -#: views/admin/gce-feed-meta-display.php:100 -msgid "Example" -msgstr "Пример" - -#: views/admin/gce-feed-meta-display.php:102 -msgid "How to find your Google Calendar ID" -msgstr "Как найти идентификатор вашего Google Calendar" - -#: views/admin/gce-feed-meta-display.php:115 -msgid "Timezone" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:122 -msgid "It is recommended to use the calendar default timezone." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:127 -msgid "Search Query" -msgstr "Строка поиска" - -#: views/admin/gce-feed-meta-display.php:130 -msgid "Find and show events based on a search query." -msgstr "Найти и показать события, опираясь на поисковую строку." - -#: views/admin/gce-feed-meta-display.php:135 -msgid "Expand Recurring Events?" -msgstr "Отображать цикличные события?" - -#: views/admin/gce-feed-meta-display.php:137 -msgid "Yes" -msgstr "Да" - -#: views/admin/gce-feed-meta-display.php:138 -msgid "" -"Display recurring events each time they occur. If disabled, events will be " -"displayed only the first time they occur." -msgstr "" -"Отображать каждое повторение цикличного события. Если выключено, будет " -"показано только первое повторение." - -#: views/admin/gce-feed-meta-display.php:143 -msgid "Multiple Day Events" -msgstr "Многодневные события" - -#: views/admin/gce-feed-meta-display.php:145 -msgid "Show on each day" -msgstr "Показывать все дни" - -#: views/admin/gce-feed-meta-display.php:146 -msgid "" -"Display multiple day events on each day that they span. If disabled, " -"multiple day events will be displayed only on the first day they occur." -msgstr "" -"Показывать многодневные события в каждом дне, в рамках которых они " -"происходят. Если отключено, многодневные события будут показаны только в " -"день своего начала." - -#: views/admin/gce-feed-meta-display.php:151 -msgid "Display Mode" -msgstr "Режим отображения" - -#: views/admin/gce-feed-meta-display.php:154 views/widgets.php:273 -msgid "Grid (Month view)" -msgstr "Сетка (по месяцам)" - -#: views/admin/gce-feed-meta-display.php:157 views/widgets.php:276 -msgid "Custom Date Range (List)" -msgstr "В рамках определенного промежутка (список)" - -#: views/admin/gce-feed-meta-display.php:158 views/widgets.php:277 -msgid "Custom Date Range (Grid)" -msgstr "В рамках определенного промежутка (сетка)" - -#: views/admin/gce-feed-meta-display.php:160 -msgid "Select how to display this feed." -msgstr "Выберите, в каком режиме показывать этот канал." - -#: views/admin/gce-feed-meta-display.php:165 -msgid "Events per Page" -msgstr "Событий в день" - -#: views/admin/gce-feed-meta-display.php:168 views/widgets.php:292 -msgid "Number of Days" -msgstr "Количество дней" - -#: views/admin/gce-feed-meta-display.php:169 views/widgets.php:293 -msgid "Number of Events" -msgstr "Количество событий" - -#: views/admin/gce-feed-meta-display.php:170 views/widgets.php:294 -msgid "One Week" -msgstr "Одна неделя" - -#: views/admin/gce-feed-meta-display.php:171 views/widgets.php:295 -msgid "One Month" -msgstr "Один месяц" - -#: views/admin/gce-feed-meta-display.php:176 -msgid "How many events to display per page (List View only)." -msgstr "Как много событий отображать на каждой странице (только для списка)." - -#: views/admin/gce-feed-meta-display.php:181 -msgid "Display Start Date Offset" -msgstr "Показывать смещение даты начала" - -#: views/admin/gce-feed-meta-display.php:184 -#: views/admin/gce-feed-meta-display.php:196 views/widgets.php:309 -msgid "Number of Days Back" -msgstr "Количество дней до" - -#: views/admin/gce-feed-meta-display.php:185 -#: views/admin/gce-feed-meta-display.php:215 views/widgets.php:310 -msgid "Number of Days Forward" -msgstr "Количество дней после" - -#: views/admin/gce-feed-meta-display.php:188 views/widgets.php:314 -msgid "" -"Change to initially display events on a date other than today (List View " -"only)." -msgstr "" -"Измените чтобы изнчально показывать события на дни, отличные от текущего " -"(только для списка)." - -#: views/admin/gce-feed-meta-display.php:193 -msgid "Earliest Feed Event Date" -msgstr "Дата самого раннего события" - -#: views/admin/gce-feed-meta-display.php:197 -#, fuzzy -msgid "Number of Months Back" -msgstr "Количество прошедших месяцев" - -#: views/admin/gce-feed-meta-display.php:198 -#, fuzzy -msgid "Number of Years Back" -msgstr "Количество прошедших лет" - -#: views/admin/gce-feed-meta-display.php:204 -#, fuzzy -msgid "Set how far back to retrieve events regardless of initial display." -msgstr "Укажите, насколько давние события загружать." - -#: views/admin/gce-feed-meta-display.php:206 -msgid "" -"Note: Total events are currently limited to 2,500 by the " -"Google Calendar API." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:212 -msgid "Latest Feed Event Date" -msgstr "Дата самого позднего события" - -#: views/admin/gce-feed-meta-display.php:216 -#, fuzzy -msgid "Number of Months Forward" -msgstr "Количество грядущих месяцев" - -#: views/admin/gce-feed-meta-display.php:217 -#, fuzzy -msgid "Number of Years Forward" -msgstr "Количество грядущих лет" - -#: views/admin/gce-feed-meta-display.php:222 -#, fuzzy -msgid "" -"Set how far in the future to retrieve events regardless of initial display." -msgstr "Укажите, насколько будущие события загружать." - -#: views/admin/gce-feed-meta-display.php:227 -msgid "Use Custom Date Range" -msgstr "Использовать определенный промежуток" - -#: views/admin/gce-feed-meta-display.php:233 -msgid "" -"Set a specific range of events to retrieve. Leaving either field blank will " -"set the date to the current day." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:239 views/widgets.php:324 -msgid "Show Paging Links" -msgstr "Показать ссылки перехода со страницы на страницу" - -#: views/admin/gce-feed-meta-display.php:242 -msgid "Display Next and Back navigation links." -msgstr "Показывать навигационные ссылки \"Назад\" и \"Вперед\"." - -#: views/admin/gce-feed-meta-display.php:247 views/widgets.php:327 -msgid "Show Tooltips" -msgstr "Показывать подсказки" - -#: views/admin/gce-feed-meta-display.php:250 -msgid "Display tooltips when hovering over events (Grid View only)." -msgstr "Показывать всплывающие подсказки над событиями (только для сетки)." - -#: views/admin/gce-feed-meta-display.php:255 -msgid "Date Format" -msgstr "Формат даты" - -#: views/admin/gce-feed-meta-display.php:259 -#: views/admin/gce-feed-meta-display.php:270 -msgid "Use %sPHP date formatting%s." -msgstr "Используете правила %sформатирования даты в PHP%s." - -#: views/admin/gce-feed-meta-display.php:260 -#: views/admin/gce-feed-meta-display.php:271 -msgid "Leave blank to use the default." -msgstr "Оставьте незаполненным чтобы использовать значение по умолчанию." - -#: views/admin/gce-feed-meta-display.php:266 -msgid "Time Format" -msgstr "Формат времени" - -#: views/admin/gce-feed-meta-display.php:277 -msgid "Cache Duration" -msgstr "Время жизни кеша" - -#: views/admin/gce-feed-meta-display.php:280 -msgid "" -"The length of time, in seconds, to cache the feed (43200 = 12 hours). If " -"this feed changes regularly, you may want to reduce the cache duration." -msgstr "" -"Время жизни кеша (в секундах) для канала (43200 = 12 часов). Если этот канал " -"изменяется регулярно, возможно вы захотите уменьшить время жизни кеша." - -#: views/admin/gce-feed-sidebar-help.php:6 -#, fuzzy -msgid "Documentation" -msgstr "Место" - -#: views/admin/gce-feed-sidebar-help.php:11 -msgid "Community support forums" -msgstr "Форумы поддержки сообщества" - -#: views/admin/gce-feed-sidebar-help.php:16 -msgid "Get notified of new features" -msgstr "Получать уведомления о новых функциях" - -#: views/admin/gce-feed-sidebar-help.php:21 -msgid "" -"Are you finding our GCal plugin helpful? 5-star ratings keep us motivated!" -msgstr "" - -#: views/admin/gce-feed-sidebar-help.php:25 -msgid "Rate our plugin on wordpress.org" -msgstr "" - -#: views/widgets.php:28 -msgid "" -"Display a list or calendar grid of events from one or more Google Calendar " -"feeds you have added" -msgstr "" -"Показывает список или календарную сетку событий из одного или нескольких " -"ваших календарей Google" - -#: views/widgets.php:146 -msgid "" -"No valid Feed IDs have been entered for this widget. Please check that you " -"have entered the IDs correctly in the widget settings (Appearance > " -"Widgets), and that the Feeds have not been deleted." -msgstr "" -"Для этого виджета не добавлено ни одного валидного идентификатора (ID) " -"канала. Пожалуйста, убедитесь, что вы правильно указали идентификатор (ID) в " -"настройках виджета (Вид > Виджеты), и что канал не был удален." - -#: views/widgets.php:186 -msgid "" -"There was a problem with one or more of your feed IDs. Please check your " -"widget settings and make sure they are correct." -msgstr "" -"С одним из идентификаторов вашего канала что-то пошло не так. Пожалуйста, " -"проверьте настройки виджета и убедитесь, что они верны." - -#: views/widgets.php:192 -msgid "You have not added any feeds yet." -msgstr "Вы еще не добавили ни одного канала." - -#: views/widgets.php:235 -msgid "There are no feeds created yet." -msgstr "Не создано ни одного канала." - -#: views/widgets.php:236 -msgid "Add your first feed!" -msgstr "Добавьте ваш первый канал!" - -#: views/widgets.php:246 -msgid "Events on" -msgstr "События за" - -#: views/widgets.php:260 -msgid "Title:" -msgstr "Название:" - -#: views/widgets.php:265 -msgid "Feeds to Display (comma separated list - i.e. 101,102,103):" -msgstr "" -"Отображаемые каналы (список, разделенный запятой - например, " -"\"101,102,103\"):" - -#: views/widgets.php:271 -msgid "Display Events as:" -msgstr "Показывать события как:" - -#: views/widgets.php:282 -msgid "Sort Order (List View only):" -msgstr "Порядок сортировки (только для списка):" - -#: views/widgets.php:284 -msgid "Ascending" -msgstr "Возрастающий" - -#: views/widgets.php:285 -msgid "Descending" -msgstr "Убывающий" - -#: views/widgets.php:290 -msgid "Events per Page (List View only):" -msgstr "Событий на страницу (только для списка):" - -#: views/widgets.php:303 -msgid "" -"This setting will pull from the custom date range set in the main feed " -"settings and cannot be changed here." -msgstr "" -"Этот параметр будет взят из установленного временного промежутка в основных " -"настройках канала и не может быть здесь изменен." - -#: views/widgets.php:307 -msgid "Display Start Date Offset (List View only):" -msgstr "Показывать смещение даты начала (только для списка):" - -#: views/widgets.php:318 -msgid "" -"Display Title on Tooltip/List Item (e.g. 'Events on 7th March'). Grouped " -"lists always have a title displayed." -msgstr "" -"Показывать название на всплывающей подсказке / элементе списка (например, " -"'События на 7ое марта'). В группированном списке названия выводятся всегда." - -#. Plugin URI of the plugin/theme -msgid "https://wordpress.org/plugins/google-calendar-events/" -msgstr "" - -#. Description of the plugin/theme -msgid "" -"Show off your Google calendar in grid (month) or list view, in a post, page " -"or widget, and in a style that matches your site." -msgstr "" - -#. Author of the plugin/theme -msgid "Moonstone Media" -msgstr "" - -#. Author URI of the plugin/theme -msgid "http://moonstonemediagroup.com" -msgstr "" - -#: includes/class-gce-event.php:588 -msgctxt "human_time_diff" -msgid ", " -msgstr ", " - -#: views/admin/gce-feed-meta-display.php:118 -msgctxt "Use the calendar default setting" -msgid "Calendar default" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:119 -msgctxt "Use this site default setting" -msgid "Site default" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:231 -msgctxt "separator between custom date range fields" -msgid "to" -msgstr "по" - -#, fuzzy -#~ msgid "Review this Plugin Now" -#~ msgstr "Оцените этот плагин" - -#~ msgid "Helpful Links" -#~ msgstr "Полезные ссылки" - -#~ msgid "Set a specific range of events to retrieve." -#~ msgstr "Укажите промежуток для отбора событий." - -#~ msgid "Documentation & getting started" -#~ msgstr "Документация и краткая инструкция" - -#~ msgid "View our roadmap & vote" -#~ msgstr "Посмотрите наши планы развития и проголосуйте" diff --git a/wp-content/plugins/google-calendar-events/languages/gce-sv_SE.mo b/wp-content/plugins/google-calendar-events/languages/gce-sv_SE.mo deleted file mode 100644 index 882a853..0000000 Binary files a/wp-content/plugins/google-calendar-events/languages/gce-sv_SE.mo and /dev/null differ diff --git a/wp-content/plugins/google-calendar-events/languages/gce-sv_SE.po b/wp-content/plugins/google-calendar-events/languages/gce-sv_SE.po deleted file mode 100644 index 338d6d9..0000000 --- a/wp-content/plugins/google-calendar-events/languages/gce-sv_SE.po +++ /dev/null @@ -1,978 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: Google Calendar Events ver 2.2.5\n" -"Report-Msgid-Bugs-To: https://github.com/pderksen/WP-Google-Calendar-Events/" -"issues\n" -"POT-Creation-Date: 2015-08-31 09:04:08+00:00\n" -"PO-Revision-Date: 2015-05-17 23:25+0100\n" -"Last-Translator: Tommy Wikström \n" -"Language-Team: \n" -"Language: sv_SE\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.7.4\n" -"X-Poedit-Basepath: .\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Poedit-KeywordsList: __;_e\n" -"X-Poedit-SearchPath-0: google-calendar-events\n" - -#: class-google-calendar-events-admin.php:138 -#: class-google-calendar-events-admin.php:139 -#: class-google-calendar-events-admin.php:235 -#: includes/register-settings.php:68 -msgid "General Settings" -msgstr "Allmänna inställningar" - -#. Plugin Name of the plugin/theme -msgid "Google Calendar Events" -msgstr "Google Calendar Events" - -#: class-google-calendar-events-admin.php:236 -msgid "Feeds" -msgstr "Överföringar" - -#: class-google-calendar-events-admin.php:254 -#: class-google-calendar-events-admin.php:289 -#, fuzzy -msgid "Add Calendar" -msgstr "Google Kalender-ID" - -#: class-google-calendar-events-admin.php:290 -msgid "Add a calendar feed to your post." -msgstr "" - -#: class-google-calendar-events-admin.php:300 -#, fuzzy -msgid "Insert Calendar" -msgstr "Google Kalender-ID" - -#: class-google-calendar-events-admin.php:302 -msgid "Could not find any calendars to add to this post." -msgstr "" - -#: class-google-calendar-events-admin.php:303 -#, fuzzy -msgid "Please add a new calendar feed first." -msgstr "Kontrollera att din kalender-ID är korrekt." - -#: class-google-calendar-events.php:162 -msgid "Loading..." -msgstr "Laddar …" - -#: google-calendar-events.php:34 -msgid "" -"Google Events Calendar requires PHP %1$s and WordPress %2$s to function " -"properly. PHP version found: %3$s. WordPress installed version: %4$s. Please " -"upgrade to meet the minimum requirements." -msgstr "" - -#: includes/admin/admin-functions.php:20 -msgid "Cache has been cleared for this feed." -msgstr "Cache har rensats för denna överföring." - -#: includes/admin/admin-functions.php:35 includes/admin/admin-functions.php:56 -msgid "Starts:" -msgstr "Börjar:" - -#: includes/admin/admin-functions.php:36 includes/admin/admin-functions.php:58 -msgid "Ends:" -msgstr "Slutar:" - -#: includes/admin/admin-functions.php:37 includes/admin/admin-functions.php:60 -msgid "Location:" -msgstr "Plats:" - -#: includes/admin/admin-functions.php:38 includes/admin/admin-functions.php:61 -msgid "Description:" -msgstr "Beskrivning:" - -#: includes/admin/admin-functions.php:39 -msgid "More details..." -msgstr "Fler detaljer..." - -#: includes/admin/admin-functions.php:63 -msgid "More Details" -msgstr "Fler Detaljer" - -#: includes/admin/admin-functions.php:77 includes/gce-feed-cpt.php:328 -#: includes/gce-feed-cpt.php:381 -msgid "Clear Cache" -msgstr "Rensa Cache" - -#: includes/admin/admin-notice.php:26 -msgid "GCal API Key Notice" -msgstr "GCal API-nyckel meddelande" - -#: includes/admin/admin-notice.php:28 -msgid "" -"GCal Events uses the Google Calendar API version 3. By default this plugin " -"uses a public shared key across all plugin users." -msgstr "" -"GCal Events använder Google Kalender API version 3. Som standard använder " -"denna plugin en offentlig delad nyckel för alla plugin-användare." - -#: includes/admin/admin-notice.php:30 -msgid "" -"This key is limited to 500,000 requests per day and 5 requests per second. " -"To avoid running into any potential limits you can use your own Google API " -"key." -msgstr "" -"Denna nyckel är begränsad till 500 000 begäran per dag och 5 begäran per " -"sekund. För att undvika att överskrida eventuella begränsningar kan du " -"använda din egen Google API-nyckel." - -#: includes/admin/admin-notice.php:33 -msgid "Enter your GCal API key" -msgstr "Ange din GCal API-nyckel" - -#: includes/admin/admin-notice.php:34 -msgid "Configure GCal feeds" -msgstr "Konfigurera GCal överföringar" - -#: includes/admin/admin-notice.php:35 -msgid "Hide this" -msgstr "Dölj detta" - -#: includes/class-gce-display.php:193 includes/class-gce-display.php:303 -msgid "Back" -msgstr "Föregående" - -#: includes/class-gce-display.php:197 includes/class-gce-display.php:304 -#: includes/class-gce-display.php:310 includes/php-calendar.php:61 -#: includes/php-calendar.php:63 -msgid "Next" -msgstr "Nästa" - -#: includes/class-gce-display.php:309 includes/php-calendar.php:55 -#: includes/php-calendar.php:57 -msgid "Previous" -msgstr "" - -#: includes/class-gce-display.php:406 -msgid "No events to display." -msgstr "Inga händelser att visa." - -#: includes/class-gce-event.php:555 -msgid "%s year" -msgstr "%s år" - -#: includes/class-gce-event.php:555 -msgid "%s years" -msgstr "%s år" - -#: includes/class-gce-event.php:556 -msgid "%s month" -msgstr "%s månad" - -#: includes/class-gce-event.php:556 -msgid "%s months" -msgstr "%s månader" - -#: includes/class-gce-event.php:557 -msgid "%s week" -msgstr "%s vecka" - -#: includes/class-gce-event.php:557 -msgid "%s weeks" -msgstr "%s veckor" - -#: includes/class-gce-event.php:558 -msgid "%s day" -msgstr "%s dag" - -#: includes/class-gce-event.php:558 -msgid "%s days" -msgstr "%s dagar" - -#: includes/class-gce-event.php:559 -msgid "%s hour" -msgstr "%s timme" - -#: includes/class-gce-event.php:559 -msgid "%s hours" -msgstr "%s timmar" - -#: includes/class-gce-event.php:560 -msgid "%s min" -msgstr "%s minut" - -#: includes/class-gce-event.php:560 -msgid "%s mins" -msgstr "%s minuter" - -#: includes/class-gce-feed.php:94 -msgid "" -"The Google Calendar ID has not been set. Please make sure to set it " -"correctly in the Feed settings." -msgstr "" -"Google Kalender-ID har inte angetts. Se till att ställa in det korrekt i " -"överförings-inställningarna." - -#: includes/class-gce-feed.php:226 -msgid "" -"Some data was retrieved, but could not be parsed successfully. Please ensure " -"your feed settings are correct." -msgstr "" -"Vissa data hämtades, men gick inte att tolka framgångsrikt. Kontrollera att " -"dina överförings-inställningar är korrekta." - -#: includes/class-gce-feed.php:229 -msgid "An error has occured." -msgstr "Ett fel har uppstått." - -#: includes/class-gce-feed.php:234 -msgid " Please ensure your calendar ID is correct." -msgstr "Kontrollera att din kalender-ID är korrekt." - -#: includes/gce-feed-cpt.php:21 -msgid "Google Calendar Feeds" -msgstr "Google Calendar Överföringar" - -#: includes/gce-feed-cpt.php:22 includes/gce-feed-cpt.php:24 -#: includes/gce-feed-cpt.php:72 -msgid "Feed" -msgstr "Överföring" - -#: includes/gce-feed-cpt.php:23 -msgid "GCal Events" -msgstr "GCal Events" - -#: includes/gce-feed-cpt.php:25 -msgid "Add New" -msgstr "Lägg till ny" - -#: includes/gce-feed-cpt.php:26 -msgid "Add New Feed" -msgstr "Lägga till ny överföring" - -#: includes/gce-feed-cpt.php:27 -msgid "New Feed" -msgstr "Ny överföring" - -#: includes/gce-feed-cpt.php:28 -msgid "Edit Feed" -msgstr "Redigera överföring" - -#: includes/gce-feed-cpt.php:29 -msgid "View Feed" -msgstr "Visa Överföring" - -#: includes/gce-feed-cpt.php:30 -msgid "All GCal Feeds" -msgstr "Alla GCal Överföringar" - -#: includes/gce-feed-cpt.php:31 -msgid "Search GCal Feeds" -msgstr "Sök GCal Överföringar" - -#: includes/gce-feed-cpt.php:32 -msgid "No feeds found." -msgstr "Inga överföringar hittades." - -#: includes/gce-feed-cpt.php:33 -msgid "No feeds found in Trash." -msgstr "Inga överföringar hittades i papperskorgen." - -#: includes/gce-feed-cpt.php:70 -msgid "feed" -msgstr "överföring" - -#: includes/gce-feed-cpt.php:75 includes/gce-feed-cpt.php:76 -msgid "%4$s updated. %1$sView %2$s%3$s" -msgstr "%4$s uppdaterad. %1$sView %2$s %3$s" - -#: includes/gce-feed-cpt.php:77 -msgid "%4$s published. %1$sView %2$s%3$s" -msgstr "%4$s publicerad. %1$sView %2$s %3$s" - -#: includes/gce-feed-cpt.php:78 -msgid "%4$s saved. %1$sView %2$s%3$s" -msgstr "%4$s sparad. %1$sView %2$s %3$s" - -#: includes/gce-feed-cpt.php:79 -msgid "%4$s submitted. %1$sView %2$s%3$s" -msgstr "%4$s skickad. %1$sView %2$s %3$s" - -#: includes/gce-feed-cpt.php:80 -msgid "%4$s draft updated. %1$sView %2$s%3$s" -msgstr "%4$s utkastet uppdaterat. %1$sView %2$s %3$s" - -#: includes/gce-feed-cpt.php:95 -msgid "Feed Settings" -msgstr "Överföringsinsällningar" - -#: includes/gce-feed-cpt.php:97 -msgid "Resources" -msgstr "" - -#: includes/gce-feed-cpt.php:98 -msgid "Display Options" -msgstr "Visningsalternativ" - -#: includes/gce-feed-cpt.php:269 -msgid "Feed ID" -msgstr "Överförings ID" - -#: includes/gce-feed-cpt.php:270 views/admin/gce-feed-meta-display.php:79 -msgid "Feed Shortcode" -msgstr "Överföringens Shortcode" - -#: includes/gce-feed-cpt.php:271 -msgid "Display Type" -msgstr "Displaytyp" - -#: includes/gce-feed-cpt.php:306 -msgid "Grid" -msgstr "Tabell" - -#: includes/gce-feed-cpt.php:308 views/admin/gce-feed-meta-display.php:155 -#: views/widgets.php:274 -msgid "List" -msgstr "Lista" - -#: includes/gce-feed-cpt.php:310 views/admin/gce-feed-meta-display.php:156 -#: views/widgets.php:275 -msgid "Grouped List" -msgstr "Grupperad Lista" - -#: includes/gce-feed-cpt.php:312 -#, fuzzy -msgid "Custom Date Range" -msgstr "Använd Anpassat Datumintervall" - -#: includes/gce-feed-cpt.php:469 -msgid "Feed cache cleared." -msgid_plural "Cleared cache for %s feeds." -msgstr[0] "" -msgstr[1] "" - -#: includes/register-settings.php:29 -msgid "Google API Key" -msgstr "Google API Nyckel" - -#: includes/register-settings.php:30 -msgid "" -"If left blank all displayed Google calendars will use a public Google API " -"key shared across all plugin users." -msgstr "" -"Om detta lämnas tomt, kommer alla visade Google-kalendrar att använda en " -"offentlig Google API nyckel som delas av alla plugin-användare." - -#: includes/register-settings.php:31 -msgid "" -"Currently the shared key is limited to 500,000 requests per day and 5 " -"requests per second." -msgstr "" -"För närvarande är den delade nyckeln begränsad till 500.000 anrop per dag " -"och 5 anrop per sekund." - -#: includes/register-settings.php:32 -msgid "" -"To avoid these limits click here for " -"instructions on how to generate and use your own Google API key." -msgstr "" -"För att undvika dessa begränsningar klicka " -"här för instruktioner om hur du skapar och använda din egen Google API-" -"nyckel." - -#: includes/register-settings.php:39 -msgid "Always Enqueue Scripts & Styles" -msgstr "" - -#: includes/register-settings.php:40 -msgid "Enqueue this plugin's scripts and styles on every post and page." -msgstr "" - -#: includes/register-settings.php:41 -msgid "Useful if using shortcodes in widgets or other non-standard locations." -msgstr "" - -#: includes/register-settings.php:46 -msgid "Disable Plugin CSS" -msgstr "" - -#: includes/register-settings.php:47 -msgid "" -"If this option is checked, this plugin's CSS file will not be referenced." -msgstr "" - -#: includes/register-settings.php:52 -msgid "Save Settings" -msgstr "Spara Inställningar" - -#: includes/register-settings.php:53 -#, fuzzy -msgid "Save your settings when uninstalling this plugin." -msgstr "" -"Spara dina inställningar när du avinstallerar denna plugin. Användbart vid " -"uppgradering eller ominstallation." - -#: includes/register-settings.php:54 -#, fuzzy -msgid "Useful when upgrading or re-installing." -msgstr "" -"Spara dina inställningar när du avinstallerar denna plugin. Användbart vid " -"uppgradering eller ominstallation." - -#: includes/register-settings.php:182 -msgid "" -"The callback function used for the %s setting is missing." -msgstr "" -"Callback-funktionen som används för %s inställningen saknas." - -#: includes/shortcodes.php:97 -msgid "" -"There was a problem with one or more of your feed IDs. Please check your " -"shortcode settings and make sure they are correct." -msgstr "" -"Det fanns ett problem med ett eller flera av dina överförings-ID. " -"Kontrollera dina shortcode-inställningar och se till att de är korrekta." - -#: views/admin/display-options-meta.php:39 -msgid "" -"Check this box to use the simple display options below instead of the Event " -"Builder code on the left." -msgstr "" -"Markera rutan för att använda enkla visningsalternativ nedan i stället för " -"Event Builder - koden till vänster." - -#: views/admin/display-options-meta.php:44 -msgid "Start date / time display" -msgstr "Startdatum / tid visning" - -#: views/admin/display-options-meta.php:45 -msgid "Select how to display the start date / time." -msgstr "Välj hur du vill visa startdatum / tid." - -#: views/admin/display-options-meta.php:47 -#: views/admin/display-options-meta.php:61 -msgid "None" -msgstr "Inget" - -#: views/admin/display-options-meta.php:48 -msgid "Start time" -msgstr "Starttid" - -#: views/admin/display-options-meta.php:49 -msgid "Start date" -msgstr "Startdatum" - -#: views/admin/display-options-meta.php:50 -msgid "Start time and date" -msgstr "Starttid och -datum" - -#: views/admin/display-options-meta.php:51 -msgid "Start date and time" -msgstr "Startdatum och -tid" - -#: views/admin/display-options-meta.php:53 -msgid "Text to display before the start time." -msgstr "Text som ska visas framför starttiden." - -#: views/admin/display-options-meta.php:58 -msgid "End time/date display" -msgstr "Sluttid / -datum visning" - -#: views/admin/display-options-meta.php:59 -msgid "Select how to display the end date / time." -msgstr "Välj hur du vill visa slutdatum / -tid." - -#: views/admin/display-options-meta.php:62 -msgid "End time" -msgstr "Sluttid" - -#: views/admin/display-options-meta.php:63 -msgid "End date" -msgstr "Slutdatum" - -#: views/admin/display-options-meta.php:64 -msgid "End time and date" -msgstr "Sluttid och -datum" - -#: views/admin/display-options-meta.php:65 -msgid "End date and time" -msgstr "Slutdatum och -tid" - -#: views/admin/display-options-meta.php:67 -msgid "Text to display before the end time." -msgstr "Text att visa framför sluttiden." - -#: views/admin/display-options-meta.php:72 -msgid "Separator" -msgstr "Avskiljare" - -#: views/admin/display-options-meta.php:74 -msgid "" -"If you have chosen to display both the time and date above, enter the text / " -"characters to display between the time and date here (including any spaces)." -msgstr "" -"Om du har valt att visa både tiden och datumet ovan, ange text / tecken att " -"visa mellan tid och datum här (inklusive eventuella mellanslag)." - -#: views/admin/display-options-meta.php:80 -msgid "Location" -msgstr "Plats" - -#: views/admin/display-options-meta.php:82 -msgid "Show the location of events?" -msgstr "Visa platsen för händelserna?" - -#: views/admin/display-options-meta.php:83 -msgid "Text to display before the location." -msgstr "Text att visa framför platsen." - -#: views/admin/display-options-meta.php:88 -msgid "Description" -msgstr "Beskrivning" - -#: views/admin/display-options-meta.php:91 -msgid "" -"Show the description of events? (URLs in the description will be made into " -"links)." -msgstr "" -"Visa beskrivningen av händelserna? (URL: er i beskrivningen kommer att göras " -"till länkar)." - -#: views/admin/display-options-meta.php:93 -msgid "Text to display before the description." -msgstr "Text att visa framför beskrivningen." - -#: views/admin/display-options-meta.php:95 -msgid "" -"Maximum number of words to show from description. Leave blank for no limit." -msgstr "" -"Maximalt antal ord för att visa av beskrivningen. Lämna tomt för gränslöst." - -#: views/admin/display-options-meta.php:100 -msgid "Event Link" -msgstr "Händelselänk" - -#: views/admin/display-options-meta.php:103 -msgid "Show a link to the Google Calendar page for an event?" -msgstr "Visa en länk till sidan Google Kalender för en händelse?" - -#: views/admin/display-options-meta.php:107 -msgid "Links open in a new window / tab?" -msgstr "Länkar öppnas i ett nytt fönster / flik?" - -#: views/admin/display-options-meta.php:109 -msgid "The link text to be displayed." -msgstr "Länktexten som ska visas." - -#: views/admin/gce-feed-meta-display.php:69 -msgid "Want to be in the know?" -msgstr "Vill du känna till?" - -#: views/admin/gce-feed-meta-display.php:72 -msgid "Get notified when new features are released" -msgstr "Få ett meddelande när nya funktioner släpps" - -#: views/admin/gce-feed-meta-display.php:90 -msgid "" -"Copy and paste this shortcode to display this Google Calendar feed on any " -"post or page." -msgstr "" -"Kopiera och klistra in denna shortcode för att visa denna Google Kalender-" -"överföring på valfritt inlägg eller sida." - -#: views/admin/gce-feed-meta-display.php:91 -msgid "" -"To avoid display issues, make sure to paste the shortcode in the Text tab of " -"the post editor." -msgstr "" -"För att undvika problem med visningen, se till att klistra in shortcoden på " -"Textfliken i inläggsredigeraren." - -#: views/admin/gce-feed-meta-display.php:96 -msgid "Google Calendar ID" -msgstr "Google Kalender-ID" - -#: views/admin/gce-feed-meta-display.php:100 -msgid "The Google Calendar ID." -msgstr "Google Kalender ID:t." - -#: views/admin/gce-feed-meta-display.php:100 -msgid "Example" -msgstr "Exempel" - -#: views/admin/gce-feed-meta-display.php:102 -msgid "How to find your Google Calendar ID" -msgstr "Hur du hittar din Google Kalender-ID" - -#: views/admin/gce-feed-meta-display.php:115 -msgid "Timezone" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:122 -msgid "It is recommended to use the calendar default timezone." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:127 -msgid "Search Query" -msgstr "Sökfråga" - -#: views/admin/gce-feed-meta-display.php:130 -msgid "Find and show events based on a search query." -msgstr "Hitta och visa händelser baserat på en sökfråga." - -#: views/admin/gce-feed-meta-display.php:135 -msgid "Expand Recurring Events?" -msgstr "Expandera Återkommande Händelser?" - -#: views/admin/gce-feed-meta-display.php:137 -msgid "Yes" -msgstr "Ja" - -#: views/admin/gce-feed-meta-display.php:138 -msgid "" -"Display recurring events each time they occur. If disabled, events will be " -"displayed only the first time they occur." -msgstr "" -"Visa återkommande händelser varje gång de förekommer. Om avstängd, visas " -"händelser endast första gången de förekommer." - -#: views/admin/gce-feed-meta-display.php:143 -msgid "Multiple Day Events" -msgstr "Flerdagars Händelser" - -#: views/admin/gce-feed-meta-display.php:145 -msgid "Show on each day" -msgstr "Visa för varje dag" - -#: views/admin/gce-feed-meta-display.php:146 -msgid "" -"Display multiple day events on each day that they span. If disabled, " -"multiple day events will be displayed only on the first day they occur." -msgstr "" -"Visa flerdagars händelser varje dag som de omfattar. Om avstängd, visas " -"flera dagars händelser endast på den första dagen som de inträffar." - -#: views/admin/gce-feed-meta-display.php:151 -msgid "Display Mode" -msgstr "Visningsläge" - -#: views/admin/gce-feed-meta-display.php:154 views/widgets.php:273 -msgid "Grid (Month view)" -msgstr "Tabell (Månadsvy)" - -#: views/admin/gce-feed-meta-display.php:157 views/widgets.php:276 -msgid "Custom Date Range (List)" -msgstr "Anpassat Datumintervall (Lista)" - -#: views/admin/gce-feed-meta-display.php:158 views/widgets.php:277 -#, fuzzy -msgid "Custom Date Range (Grid)" -msgstr "Anpassat Datumintervall (Lista)" - -#: views/admin/gce-feed-meta-display.php:160 -msgid "Select how to display this feed." -msgstr "Välj hur du vill visa denna överföring." - -#: views/admin/gce-feed-meta-display.php:165 -msgid "Events per Page" -msgstr "Händelser per Sida" - -#: views/admin/gce-feed-meta-display.php:168 views/widgets.php:292 -msgid "Number of Days" -msgstr "Antal Dagar" - -#: views/admin/gce-feed-meta-display.php:169 views/widgets.php:293 -msgid "Number of Events" -msgstr "Antal Händelser" - -#: views/admin/gce-feed-meta-display.php:170 views/widgets.php:294 -msgid "One Week" -msgstr "En Vecka" - -#: views/admin/gce-feed-meta-display.php:171 views/widgets.php:295 -msgid "One Month" -msgstr "En Månad" - -#: views/admin/gce-feed-meta-display.php:176 -msgid "How many events to display per page (List View only)." -msgstr "Hur många händelser som ska visas per sida (endast Listvy)." - -#: views/admin/gce-feed-meta-display.php:181 -msgid "Display Start Date Offset" -msgstr "Visa Start Datum Offset" - -#: views/admin/gce-feed-meta-display.php:184 -#: views/admin/gce-feed-meta-display.php:196 views/widgets.php:309 -msgid "Number of Days Back" -msgstr "Antal Dagar bakåt" - -#: views/admin/gce-feed-meta-display.php:185 -#: views/admin/gce-feed-meta-display.php:215 views/widgets.php:310 -msgid "Number of Days Forward" -msgstr "Antal Dagar Framåt" - -#: views/admin/gce-feed-meta-display.php:188 views/widgets.php:314 -msgid "" -"Change to initially display events on a date other than today (List View " -"only)." -msgstr "" -"Ändra till att från början visa händelser på ett annat datum än idag (endast " -"Listvy)." - -#: views/admin/gce-feed-meta-display.php:193 -msgid "Earliest Feed Event Date" -msgstr "Tidigaste Händelseöverföringsdatum" - -#: views/admin/gce-feed-meta-display.php:197 -msgid "Number of Months Back" -msgstr "Antal Månader Bakåt" - -#: views/admin/gce-feed-meta-display.php:198 -msgid "Number of Years Back" -msgstr "Antal År Bakåt" - -#: views/admin/gce-feed-meta-display.php:204 -msgid "Set how far back to retrieve events regardless of initial display." -msgstr "Ange hur långt tillbaka händelser ska hämtas oavsett första visning." - -#: views/admin/gce-feed-meta-display.php:206 -msgid "" -"Note: Total events are currently limited to 2,500 by the " -"Google Calendar API." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:212 -msgid "Latest Feed Event Date" -msgstr "Senaste Händelseöverföringsdatum" - -#: views/admin/gce-feed-meta-display.php:216 -msgid "Number of Months Forward" -msgstr "Antal Månader Framåt" - -#: views/admin/gce-feed-meta-display.php:217 -msgid "Number of Years Forward" -msgstr "Antal År Framåt" - -#: views/admin/gce-feed-meta-display.php:222 -msgid "" -"Set how far in the future to retrieve events regardless of initial display." -msgstr "Ange hur långt i framtiden händelser sk hämtas oavsett första visning." - -#: views/admin/gce-feed-meta-display.php:227 -msgid "Use Custom Date Range" -msgstr "Använd Anpassat Datumintervall" - -#: views/admin/gce-feed-meta-display.php:233 -msgid "" -"Set a specific range of events to retrieve. Leaving either field blank will " -"set the date to the current day." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:239 views/widgets.php:324 -msgid "Show Paging Links" -msgstr "Visa Paging-länkar" - -#: views/admin/gce-feed-meta-display.php:242 -msgid "Display Next and Back navigation links." -msgstr "Visa Navigeringslänkarna Nästa och Föregående." - -#: views/admin/gce-feed-meta-display.php:247 views/widgets.php:327 -msgid "Show Tooltips" -msgstr "Visa Inforutor" - -#: views/admin/gce-feed-meta-display.php:250 -msgid "Display tooltips when hovering over events (Grid View only)." -msgstr "Visa inforutor när man hovrar över händelser (endast Tabellvy)." - -#: views/admin/gce-feed-meta-display.php:255 -msgid "Date Format" -msgstr "Datumformat" - -#: views/admin/gce-feed-meta-display.php:259 -#: views/admin/gce-feed-meta-display.php:270 -msgid "Use %sPHP date formatting%s." -msgstr "Använd % sPHP datumformatering %s." - -#: views/admin/gce-feed-meta-display.php:260 -#: views/admin/gce-feed-meta-display.php:271 -msgid "Leave blank to use the default." -msgstr "Lämna tomt för att använda förinställt." - -#: views/admin/gce-feed-meta-display.php:266 -msgid "Time Format" -msgstr "Tidsformat" - -#: views/admin/gce-feed-meta-display.php:277 -msgid "Cache Duration" -msgstr "Varaktighet för Cache" - -#: views/admin/gce-feed-meta-display.php:280 -msgid "" -"The length of time, in seconds, to cache the feed (43200 = 12 hours). If " -"this feed changes regularly, you may want to reduce the cache duration." -msgstr "" -"Tidsrymd i sekunder, att cachelagra överföringen (43200 = 12 timmar). Om " -"denna överföring ändras regelbundet, kanske du vill minska tidsgränsen för " -"cache." - -#: views/admin/gce-feed-sidebar-help.php:6 -#, fuzzy -msgid "Documentation" -msgstr "Plats" - -#: views/admin/gce-feed-sidebar-help.php:11 -msgid "Community support forums" -msgstr "Användarnas supportforum" - -#: views/admin/gce-feed-sidebar-help.php:16 -msgid "Get notified of new features" -msgstr "Få meddelande om nya funktioner" - -#: views/admin/gce-feed-sidebar-help.php:21 -msgid "" -"Are you finding our GCal plugin helpful? 5-star ratings keep us motivated!" -msgstr "" - -#: views/admin/gce-feed-sidebar-help.php:25 -msgid "Rate our plugin on wordpress.org" -msgstr "" - -#: views/widgets.php:28 -msgid "" -"Display a list or calendar grid of events from one or more Google Calendar " -"feeds you have added" -msgstr "" -"Visa en lista eller kalender tabell med händelser från en eller flera Google " -"Kalender överföringar som du har lagt till" - -#: views/widgets.php:146 -msgid "" -"No valid Feed IDs have been entered for this widget. Please check that you " -"have entered the IDs correctly in the widget settings (Appearance > " -"Widgets), and that the Feeds have not been deleted." -msgstr "" -"Inget giltigt Överförings-ID har registrerats för denna widget. Kontrollera " -"att du har angett ID:na korrekt i widgetinställningarna (Utseende > " -"Widgets), och att Överföringarna inte har raderats." - -#: views/widgets.php:186 -msgid "" -"There was a problem with one or more of your feed IDs. Please check your " -"widget settings and make sure they are correct." -msgstr "" -"Det fanns ett problem med ett eller flera av dina överförings-ID. " -"Kontrollera dina widget-inställningar och se till att de är korrekta." - -#: views/widgets.php:192 -msgid "You have not added any feeds yet." -msgstr "Du har inte lagt några överföringar ännu." - -#: views/widgets.php:235 -msgid "There are no feeds created yet." -msgstr "Det har inte skapats några överföringar ännu." - -#: views/widgets.php:236 -msgid "Add your first feed!" -msgstr "Lägg till din första överföring!" - -#: views/widgets.php:246 -msgid "Events on" -msgstr "Händelser den" - -#: views/widgets.php:260 -msgid "Title:" -msgstr "Rubrik:" - -#: views/widgets.php:265 -msgid "Feeds to Display (comma separated list - i.e. 101,102,103):" -msgstr "Överföringar att Visa (kommaseparerad lista - dvs 101,102,103):" - -#: views/widgets.php:271 -msgid "Display Events as:" -msgstr "Visa Händelser som:" - -#: views/widgets.php:282 -msgid "Sort Order (List View only):" -msgstr "Sorteringsordning (endast Listvy):" - -#: views/widgets.php:284 -msgid "Ascending" -msgstr "Stigande" - -#: views/widgets.php:285 -msgid "Descending" -msgstr "Fallande" - -#: views/widgets.php:290 -msgid "Events per Page (List View only):" -msgstr "Händelser per Sida (endast Listvy):" - -#: views/widgets.php:303 -msgid "" -"This setting will pull from the custom date range set in the main feed " -"settings and cannot be changed here." -msgstr "" -"Denna inställning kommer att hämta från det anpassade datumintervall som " -"angetts i de generella överföringsinställningarna och kan inte ändras här." - -#: views/widgets.php:307 -msgid "Display Start Date Offset (List View only):" -msgstr "Visa Startdatum Offset (endast Listvy):" - -#: views/widgets.php:318 -msgid "" -"Display Title on Tooltip/List Item (e.g. 'Events on 7th March'). Grouped " -"lists always have a title displayed." -msgstr "" -"Visa Rubrik i Inforuta/Listobjekt (t.ex. \"Händelser den 7:e Mars\"). " -"Grupperade listor visas alltid med en rubrik." - -#. Plugin URI of the plugin/theme -msgid "https://wordpress.org/plugins/google-calendar-events/" -msgstr "" - -#. Description of the plugin/theme -msgid "" -"Show off your Google calendar in grid (month) or list view, in a post, page " -"or widget, and in a style that matches your site." -msgstr "" - -#. Author of the plugin/theme -msgid "Moonstone Media" -msgstr "" - -#. Author URI of the plugin/theme -msgid "http://moonstonemediagroup.com" -msgstr "" - -#: includes/class-gce-event.php:588 -msgctxt "human_time_diff" -msgid ", " -msgstr "" - -#: views/admin/gce-feed-meta-display.php:118 -msgctxt "Use the calendar default setting" -msgid "Calendar default" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:119 -msgctxt "Use this site default setting" -msgid "Site default" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:231 -msgctxt "separator between custom date range fields" -msgid "to" -msgstr "" - -#, fuzzy -#~ msgid "Review this Plugin Now" -#~ msgstr "Betygsätt denna plugin" - -#~ msgid "Helpful Links" -#~ msgstr "Användbara länkar" - -#~ msgid "Set a specific range of events to retrieve." -#~ msgstr "Ange ett specifikt händelseinervall som ska hämtas." - -#~ msgid "Documentation & getting started" -#~ msgstr "Dokumentation & komma igång" - -#~ msgid "View our roadmap & vote" -#~ msgstr "Läs vår färdplan & rösta" diff --git a/wp-content/plugins/google-calendar-events/languages/gce.pot b/wp-content/plugins/google-calendar-events/languages/gce.pot deleted file mode 100644 index c27fdee..0000000 --- a/wp-content/plugins/google-calendar-events/languages/gce.pot +++ /dev/null @@ -1,903 +0,0 @@ -# Copyright (C) 2015 Moonstone Media -# This file is distributed under the same license as the Google Calendar Events package. -msgid "" -msgstr "" -"Project-Id-Version: Google Calendar Events 2.3.1\n" -"Report-Msgid-Bugs-To: " -"https://github.com/pderksen/WP-Google-Calendar-Events/issues\n" -"POT-Creation-Date: 2015-08-31 09:04:08+00:00\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"PO-Revision-Date: 2015-MO-DA HO:MI+ZONE\n" -"Last-Translator: Phil Derksen \n" -"Language-Team: Phil Derksen \n" -"X-Generator: grunt-wp-i18n 0.5.3\n" -"X-Poedit-KeywordsList: " -"__;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_" -"attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c;\n" -"Language: en\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Poedit-Country: United States\n" -"X-Poedit-SourceCharset: UTF-8\n" -"X-Poedit-Basepath: ../\n" -"X-Poedit-SearchPath-0: .\n" -"X-Poedit-Bookmarks: \n" -"X-Textdomain-Support: yes\n" - -#: class-google-calendar-events-admin.php:138 -#: class-google-calendar-events-admin.php:139 -#: class-google-calendar-events-admin.php:235 includes/register-settings.php:68 -msgid "General Settings" -msgstr "" - -#. Plugin Name of the plugin/theme -msgid "Google Calendar Events" -msgstr "" - -#: class-google-calendar-events-admin.php:236 -msgid "Feeds" -msgstr "" - -#: class-google-calendar-events-admin.php:254 -#: class-google-calendar-events-admin.php:289 -msgid "Add Calendar" -msgstr "" - -#: class-google-calendar-events-admin.php:290 -msgid "Add a calendar feed to your post." -msgstr "" - -#: class-google-calendar-events-admin.php:300 -msgid "Insert Calendar" -msgstr "" - -#: class-google-calendar-events-admin.php:302 -msgid "Could not find any calendars to add to this post." -msgstr "" - -#: class-google-calendar-events-admin.php:303 -msgid "Please add a new calendar feed first." -msgstr "" - -#: class-google-calendar-events.php:162 -msgid "Loading..." -msgstr "" - -#: google-calendar-events.php:34 -msgid "" -"Google Events Calendar requires PHP %1$s and WordPress %2$s to function " -"properly. PHP version found: %3$s. WordPress installed version: %4$s. " -"Please upgrade to meet the minimum requirements." -msgstr "" - -#: includes/admin/admin-functions.php:20 -msgid "Cache has been cleared for this feed." -msgstr "" - -#: includes/admin/admin-functions.php:35 includes/admin/admin-functions.php:56 -msgid "Starts:" -msgstr "" - -#: includes/admin/admin-functions.php:36 includes/admin/admin-functions.php:58 -msgid "Ends:" -msgstr "" - -#: includes/admin/admin-functions.php:37 includes/admin/admin-functions.php:60 -msgid "Location:" -msgstr "" - -#: includes/admin/admin-functions.php:38 includes/admin/admin-functions.php:61 -msgid "Description:" -msgstr "" - -#: includes/admin/admin-functions.php:39 -msgid "More details..." -msgstr "" - -#: includes/admin/admin-functions.php:63 -msgid "More Details" -msgstr "" - -#: includes/admin/admin-functions.php:77 includes/gce-feed-cpt.php:328 -#: includes/gce-feed-cpt.php:381 -msgid "Clear Cache" -msgstr "" - -#: includes/admin/admin-notice.php:26 -msgid "GCal API Key Notice" -msgstr "" - -#: includes/admin/admin-notice.php:28 -msgid "" -"GCal Events uses the Google Calendar API version 3. By default this plugin " -"uses a public shared key across all plugin users." -msgstr "" - -#: includes/admin/admin-notice.php:30 -msgid "" -"This key is limited to 500,000 requests per day and 5 requests per second. " -"To avoid running into any potential limits you can use your own Google API " -"key." -msgstr "" - -#: includes/admin/admin-notice.php:33 -msgid "Enter your GCal API key" -msgstr "" - -#: includes/admin/admin-notice.php:34 -msgid "Configure GCal feeds" -msgstr "" - -#: includes/admin/admin-notice.php:35 -msgid "Hide this" -msgstr "" - -#: includes/class-gce-display.php:193 includes/class-gce-display.php:303 -msgid "Back" -msgstr "" - -#: includes/class-gce-display.php:197 includes/class-gce-display.php:304 -#: includes/class-gce-display.php:310 includes/php-calendar.php:61 -#: includes/php-calendar.php:63 -msgid "Next" -msgstr "" - -#: includes/class-gce-display.php:309 includes/php-calendar.php:55 -#: includes/php-calendar.php:57 -msgid "Previous" -msgstr "" - -#: includes/class-gce-display.php:406 -msgid "No events to display." -msgstr "" - -#: includes/class-gce-event.php:555 -msgid "%s year" -msgstr "" - -#: includes/class-gce-event.php:555 -msgid "%s years" -msgstr "" - -#: includes/class-gce-event.php:556 -msgid "%s month" -msgstr "" - -#: includes/class-gce-event.php:556 -msgid "%s months" -msgstr "" - -#: includes/class-gce-event.php:557 -msgid "%s week" -msgstr "" - -#: includes/class-gce-event.php:557 -msgid "%s weeks" -msgstr "" - -#: includes/class-gce-event.php:558 -msgid "%s day" -msgstr "" - -#: includes/class-gce-event.php:558 -msgid "%s days" -msgstr "" - -#: includes/class-gce-event.php:559 -msgid "%s hour" -msgstr "" - -#: includes/class-gce-event.php:559 -msgid "%s hours" -msgstr "" - -#: includes/class-gce-event.php:560 -msgid "%s min" -msgstr "" - -#: includes/class-gce-event.php:560 -msgid "%s mins" -msgstr "" - -#: includes/class-gce-feed.php:94 -msgid "" -"The Google Calendar ID has not been set. Please make sure to set it " -"correctly in the Feed settings." -msgstr "" - -#: includes/class-gce-feed.php:226 -msgid "" -"Some data was retrieved, but could not be parsed successfully. Please " -"ensure your feed settings are correct." -msgstr "" - -#: includes/class-gce-feed.php:229 -msgid "An error has occured." -msgstr "" - -#: includes/class-gce-feed.php:234 -msgid " Please ensure your calendar ID is correct." -msgstr "" - -#: includes/gce-feed-cpt.php:21 -msgid "Google Calendar Feeds" -msgstr "" - -#: includes/gce-feed-cpt.php:22 includes/gce-feed-cpt.php:24 -#: includes/gce-feed-cpt.php:72 -msgid "Feed" -msgstr "" - -#: includes/gce-feed-cpt.php:23 -msgid "GCal Events" -msgstr "" - -#: includes/gce-feed-cpt.php:25 -msgid "Add New" -msgstr "" - -#: includes/gce-feed-cpt.php:26 -msgid "Add New Feed" -msgstr "" - -#: includes/gce-feed-cpt.php:27 -msgid "New Feed" -msgstr "" - -#: includes/gce-feed-cpt.php:28 -msgid "Edit Feed" -msgstr "" - -#: includes/gce-feed-cpt.php:29 -msgid "View Feed" -msgstr "" - -#: includes/gce-feed-cpt.php:30 -msgid "All GCal Feeds" -msgstr "" - -#: includes/gce-feed-cpt.php:31 -msgid "Search GCal Feeds" -msgstr "" - -#: includes/gce-feed-cpt.php:32 -msgid "No feeds found." -msgstr "" - -#: includes/gce-feed-cpt.php:33 -msgid "No feeds found in Trash." -msgstr "" - -#: includes/gce-feed-cpt.php:70 -msgid "feed" -msgstr "" - -#: includes/gce-feed-cpt.php:75 includes/gce-feed-cpt.php:76 -msgid "%4$s updated. %1$sView %2$s%3$s" -msgstr "" - -#: includes/gce-feed-cpt.php:77 -msgid "%4$s published. %1$sView %2$s%3$s" -msgstr "" - -#: includes/gce-feed-cpt.php:78 -msgid "%4$s saved. %1$sView %2$s%3$s" -msgstr "" - -#: includes/gce-feed-cpt.php:79 -msgid "%4$s submitted. %1$sView %2$s%3$s" -msgstr "" - -#: includes/gce-feed-cpt.php:80 -msgid "%4$s draft updated. %1$sView %2$s%3$s" -msgstr "" - -#: includes/gce-feed-cpt.php:95 -msgid "Feed Settings" -msgstr "" - -#: includes/gce-feed-cpt.php:97 -msgid "Resources" -msgstr "" - -#: includes/gce-feed-cpt.php:98 -msgid "Display Options" -msgstr "" - -#: includes/gce-feed-cpt.php:269 -msgid "Feed ID" -msgstr "" - -#: includes/gce-feed-cpt.php:270 views/admin/gce-feed-meta-display.php:79 -msgid "Feed Shortcode" -msgstr "" - -#: includes/gce-feed-cpt.php:271 -msgid "Display Type" -msgstr "" - -#: includes/gce-feed-cpt.php:306 -msgid "Grid" -msgstr "" - -#: includes/gce-feed-cpt.php:308 views/admin/gce-feed-meta-display.php:155 -#: views/widgets.php:274 -msgid "List" -msgstr "" - -#: includes/gce-feed-cpt.php:310 views/admin/gce-feed-meta-display.php:156 -#: views/widgets.php:275 -msgid "Grouped List" -msgstr "" - -#: includes/gce-feed-cpt.php:312 -msgid "Custom Date Range" -msgstr "" - -#: includes/gce-feed-cpt.php:469 -msgid "Feed cache cleared." -msgid_plural "Cleared cache for %s feeds." -msgstr[0] "" -msgstr[1] "" - -#: includes/register-settings.php:29 -msgid "Google API Key" -msgstr "" - -#: includes/register-settings.php:30 -msgid "" -"If left blank all displayed Google calendars will use a public Google API " -"key shared across all plugin users." -msgstr "" - -#: includes/register-settings.php:31 -msgid "" -"Currently the shared key is limited to 500,000 requests per day and 5 " -"requests per second." -msgstr "" - -#: includes/register-settings.php:32 -msgid "" -"To avoid these limits click here for " -"instructions on how to generate and use your own Google API key." -msgstr "" - -#: includes/register-settings.php:39 -msgid "Always Enqueue Scripts & Styles" -msgstr "" - -#: includes/register-settings.php:40 -msgid "Enqueue this plugin's scripts and styles on every post and page." -msgstr "" - -#: includes/register-settings.php:41 -msgid "Useful if using shortcodes in widgets or other non-standard locations." -msgstr "" - -#: includes/register-settings.php:46 -msgid "Disable Plugin CSS" -msgstr "" - -#: includes/register-settings.php:47 -msgid "If this option is checked, this plugin's CSS file will not be referenced." -msgstr "" - -#: includes/register-settings.php:52 -msgid "Save Settings" -msgstr "" - -#: includes/register-settings.php:53 -msgid "Save your settings when uninstalling this plugin." -msgstr "" - -#: includes/register-settings.php:54 -msgid "Useful when upgrading or re-installing." -msgstr "" - -#: includes/register-settings.php:182 -msgid "The callback function used for the %s setting is missing." -msgstr "" - -#: includes/shortcodes.php:97 -msgid "" -"There was a problem with one or more of your feed IDs. Please check your " -"shortcode settings and make sure they are correct." -msgstr "" - -#: views/admin/display-options-meta.php:39 -msgid "" -"Check this box to use the simple display options below instead of the Event " -"Builder code on the left." -msgstr "" - -#: views/admin/display-options-meta.php:44 -msgid "Start date / time display" -msgstr "" - -#: views/admin/display-options-meta.php:45 -msgid "Select how to display the start date / time." -msgstr "" - -#: views/admin/display-options-meta.php:47 -#: views/admin/display-options-meta.php:61 -msgid "None" -msgstr "" - -#: views/admin/display-options-meta.php:48 -msgid "Start time" -msgstr "" - -#: views/admin/display-options-meta.php:49 -msgid "Start date" -msgstr "" - -#: views/admin/display-options-meta.php:50 -msgid "Start time and date" -msgstr "" - -#: views/admin/display-options-meta.php:51 -msgid "Start date and time" -msgstr "" - -#: views/admin/display-options-meta.php:53 -msgid "Text to display before the start time." -msgstr "" - -#: views/admin/display-options-meta.php:58 -msgid "End time/date display" -msgstr "" - -#: views/admin/display-options-meta.php:59 -msgid "Select how to display the end date / time." -msgstr "" - -#: views/admin/display-options-meta.php:62 -msgid "End time" -msgstr "" - -#: views/admin/display-options-meta.php:63 -msgid "End date" -msgstr "" - -#: views/admin/display-options-meta.php:64 -msgid "End time and date" -msgstr "" - -#: views/admin/display-options-meta.php:65 -msgid "End date and time" -msgstr "" - -#: views/admin/display-options-meta.php:67 -msgid "Text to display before the end time." -msgstr "" - -#: views/admin/display-options-meta.php:72 -msgid "Separator" -msgstr "" - -#: views/admin/display-options-meta.php:74 -msgid "" -"If you have chosen to display both the time and date above, enter the text " -"/ characters to display between the time and date here (including any " -"spaces)." -msgstr "" - -#: views/admin/display-options-meta.php:80 -msgid "Location" -msgstr "" - -#: views/admin/display-options-meta.php:82 -msgid "Show the location of events?" -msgstr "" - -#: views/admin/display-options-meta.php:83 -msgid "Text to display before the location." -msgstr "" - -#: views/admin/display-options-meta.php:88 -msgid "Description" -msgstr "" - -#: views/admin/display-options-meta.php:91 -msgid "" -"Show the description of events? (URLs in the description will be made into " -"links)." -msgstr "" - -#: views/admin/display-options-meta.php:93 -msgid "Text to display before the description." -msgstr "" - -#: views/admin/display-options-meta.php:95 -msgid "Maximum number of words to show from description. Leave blank for no limit." -msgstr "" - -#: views/admin/display-options-meta.php:100 -msgid "Event Link" -msgstr "" - -#: views/admin/display-options-meta.php:103 -msgid "Show a link to the Google Calendar page for an event?" -msgstr "" - -#: views/admin/display-options-meta.php:107 -msgid "Links open in a new window / tab?" -msgstr "" - -#: views/admin/display-options-meta.php:109 -msgid "The link text to be displayed." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:69 -msgid "Want to be in the know?" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:72 -msgid "Get notified when new features are released" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:90 -msgid "" -"Copy and paste this shortcode to display this Google Calendar feed on any " -"post or page." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:91 -msgid "" -"To avoid display issues, make sure to paste the shortcode in the Text tab " -"of the post editor." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:96 -msgid "Google Calendar ID" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:100 -msgid "The Google Calendar ID." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:100 -msgid "Example" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:102 -msgid "How to find your Google Calendar ID" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:115 -msgid "Timezone" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:122 -msgid "It is recommended to use the calendar default timezone." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:127 -msgid "Search Query" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:130 -msgid "Find and show events based on a search query." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:135 -msgid "Expand Recurring Events?" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:137 -msgid "Yes" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:138 -msgid "" -"Display recurring events each time they occur. If disabled, events will be " -"displayed only the first time they occur." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:143 -msgid "Multiple Day Events" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:145 -msgid "Show on each day" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:146 -msgid "" -"Display multiple day events on each day that they span. If disabled, " -"multiple day events will be displayed only on the first day they occur." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:151 -msgid "Display Mode" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:154 views/widgets.php:273 -msgid "Grid (Month view)" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:157 views/widgets.php:276 -msgid "Custom Date Range (List)" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:158 views/widgets.php:277 -msgid "Custom Date Range (Grid)" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:160 -msgid "Select how to display this feed." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:165 -msgid "Events per Page" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:168 views/widgets.php:292 -msgid "Number of Days" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:169 views/widgets.php:293 -msgid "Number of Events" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:170 views/widgets.php:294 -msgid "One Week" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:171 views/widgets.php:295 -msgid "One Month" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:176 -msgid "How many events to display per page (List View only)." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:181 -msgid "Display Start Date Offset" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:184 -#: views/admin/gce-feed-meta-display.php:196 views/widgets.php:309 -msgid "Number of Days Back" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:185 -#: views/admin/gce-feed-meta-display.php:215 views/widgets.php:310 -msgid "Number of Days Forward" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:188 views/widgets.php:314 -msgid "" -"Change to initially display events on a date other than today (List View " -"only)." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:193 -msgid "Earliest Feed Event Date" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:197 -msgid "Number of Months Back" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:198 -msgid "Number of Years Back" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:204 -msgid "Set how far back to retrieve events regardless of initial display." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:206 -msgid "" -"Note: Total events are currently limited to 2,500 by the " -"Google Calendar API." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:212 -msgid "Latest Feed Event Date" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:216 -msgid "Number of Months Forward" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:217 -msgid "Number of Years Forward" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:222 -msgid "Set how far in the future to retrieve events regardless of initial display." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:227 -msgid "Use Custom Date Range" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:233 -msgid "" -"Set a specific range of events to retrieve. Leaving either field blank will " -"set the date to the current day." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:239 views/widgets.php:324 -msgid "Show Paging Links" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:242 -msgid "Display Next and Back navigation links." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:247 views/widgets.php:327 -msgid "Show Tooltips" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:250 -msgid "Display tooltips when hovering over events (Grid View only)." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:255 -msgid "Date Format" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:259 -#: views/admin/gce-feed-meta-display.php:270 -msgid "Use %sPHP date formatting%s." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:260 -#: views/admin/gce-feed-meta-display.php:271 -msgid "Leave blank to use the default." -msgstr "" - -#: views/admin/gce-feed-meta-display.php:266 -msgid "Time Format" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:277 -msgid "Cache Duration" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:280 -msgid "" -"The length of time, in seconds, to cache the feed (43200 = 12 hours). If " -"this feed changes regularly, you may want to reduce the cache duration." -msgstr "" - -#: views/admin/gce-feed-sidebar-help.php:6 -msgid "Documentation" -msgstr "" - -#: views/admin/gce-feed-sidebar-help.php:11 -msgid "Community support forums" -msgstr "" - -#: views/admin/gce-feed-sidebar-help.php:16 -msgid "Get notified of new features" -msgstr "" - -#: views/admin/gce-feed-sidebar-help.php:21 -msgid "Are you finding our GCal plugin helpful? 5-star ratings keep us motivated!" -msgstr "" - -#: views/admin/gce-feed-sidebar-help.php:25 -msgid "Rate our plugin on wordpress.org" -msgstr "" - -#: views/widgets.php:28 -msgid "" -"Display a list or calendar grid of events from one or more Google Calendar " -"feeds you have added" -msgstr "" - -#: views/widgets.php:146 -msgid "" -"No valid Feed IDs have been entered for this widget. Please check that you " -"have entered the IDs correctly in the widget settings (Appearance > " -"Widgets), and that the Feeds have not been deleted." -msgstr "" - -#: views/widgets.php:186 -msgid "" -"There was a problem with one or more of your feed IDs. Please check your " -"widget settings and make sure they are correct." -msgstr "" - -#: views/widgets.php:192 -msgid "You have not added any feeds yet." -msgstr "" - -#: views/widgets.php:235 -msgid "There are no feeds created yet." -msgstr "" - -#: views/widgets.php:236 -msgid "Add your first feed!" -msgstr "" - -#: views/widgets.php:246 -msgid "Events on" -msgstr "" - -#: views/widgets.php:260 -msgid "Title:" -msgstr "" - -#: views/widgets.php:265 -msgid "Feeds to Display (comma separated list - i.e. 101,102,103):" -msgstr "" - -#: views/widgets.php:271 -msgid "Display Events as:" -msgstr "" - -#: views/widgets.php:282 -msgid "Sort Order (List View only):" -msgstr "" - -#: views/widgets.php:284 -msgid "Ascending" -msgstr "" - -#: views/widgets.php:285 -msgid "Descending" -msgstr "" - -#: views/widgets.php:290 -msgid "Events per Page (List View only):" -msgstr "" - -#: views/widgets.php:303 -msgid "" -"This setting will pull from the custom date range set in the main feed " -"settings and cannot be changed here." -msgstr "" - -#: views/widgets.php:307 -msgid "Display Start Date Offset (List View only):" -msgstr "" - -#: views/widgets.php:318 -msgid "" -"Display Title on Tooltip/List Item (e.g. 'Events on 7th March'). Grouped " -"lists always have a title displayed." -msgstr "" - -#. Plugin URI of the plugin/theme -msgid "https://wordpress.org/plugins/google-calendar-events/" -msgstr "" - -#. Description of the plugin/theme -msgid "" -"Show off your Google calendar in grid (month) or list view, in a post, page " -"or widget, and in a style that matches your site." -msgstr "" - -#. Author of the plugin/theme -msgid "Moonstone Media" -msgstr "" - -#. Author URI of the plugin/theme -msgid "http://moonstonemediagroup.com" -msgstr "" - -#: includes/class-gce-event.php:588 -msgctxt "human_time_diff" -msgid ", " -msgstr "" - -#: views/admin/gce-feed-meta-display.php:118 -msgctxt "Use the calendar default setting" -msgid "Calendar default" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:119 -msgctxt "Use this site default setting" -msgid "Site default" -msgstr "" - -#: views/admin/gce-feed-meta-display.php:231 -msgctxt "separator between custom date range fields" -msgid "to" -msgstr "" \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/readme.txt b/wp-content/plugins/google-calendar-events/readme.txt index bc2158e..55ff4aa 100644 --- a/wp-content/plugins/google-calendar-events/readme.txt +++ b/wp-content/plugins/google-calendar-events/readme.txt @@ -1,103 +1,181 @@ -=== Google Calendar Events === +=== Simple Calendar - Google Calendar Plugin === Contributors: moonstonemedia, pderksen, nickyoung87, nekojira, rosshanney -Tags: google calendar, google, calendar, events, gcal -Requires at least: 3.9 -Tested up to: 4.3 -Stable tag: 2.4.0 +Tags: calendar, calendars, calendar manager, custom calendar, custom calendars, event, events, events feed, google calendar, google +Requires at least: 4.0 +Tested up to: 4.4 +Stable tag: 3.0.10 License: GPLv2 or later +License URI: http://www.gnu.org/licenses/gpl-2.0.html -Parses Google Calendar feeds and displays the events as a calendar grid or list on a page, post or widget. +Add Google Calendar events to your WordPress site in minutes. Beautiful calendar displays. Fully responsive. == Description == -Parses Google Calendar feeds and displays the events as a calendar grid or list on a page, post or widget. +[Simple Calendar](https://simplecalendar.io/?utm_source=wordpress.org&utm_medium=link&utm_campaign=simple-cal-readme&utm_content=description) is the easiest way to add Google Calendar events to your WordPress site. Keep managing everything in Google Calendar. Fine tune the display of your calendars to your liking. Add advanced features with add-ons. -= Features = += SIMPLE CALENDAR FEATURES = -* Parses Google Calendar feeds to extract events. -* Displays events as a list or within a calendar grid. -* Events from multiple Google Calendar feeds can be shown in a single list / grid. -* Lists and grids can be displayed in posts, pages or within a widget. -* Options to change the number of events retrieved, date / time format, cache duration, etc. -* Complete customisation of the event information displayed. -* Calendar grids can have the ability to change the month displayed. +* Display events from any public Google Calendar. +* Keep managing events in Google Calendar. No need to create events in WordPress. +* Out-of-the-box designs that match your theme’s look and feel. +* Fully responsive and mobile-friendly monthly grid and list views. +* Customize event content display using simple tags. No coding required. +* Combine multiple calendars into single displays explicitly or using categories. +* Intuitive admin settings for simple configuration changes. +* Advanced settings to adjust time zones, date/time formats and start of the week. +* Many translations available with more being added on a regular basis. [Translations welcome!](https://translate.wordpress.org/projects/wp-plugins/google-calendar-events) +* Fully extensible to support add-ons with advanced features for more specific needs. +* Open source with code hosted on GitHub. [Contributions welcome!](https://github.com/moonstonemedia/Simple-Calendar) -[Plugin Documentation & Getting Started](http://wpdocs.philderksen.com/google-calendar-events/?utm_source=wordpress_org&utm_medium=link&utm_campaign=gce_lite) +**[Try out a Live Demo](http://demo.simplecalendar.io/?utm_source=wordpress.org&utm_medium=link&utm_campaign=simple-cal-readme&utm_content=description)** -###Updates### +>**[Love the plugin? Please consider purchasing our Google Calendar Pro add-on](https://simplecalendar.io/addons/google-calendar-pro/?utm_source=wordpress.org&utm_medium=link&utm_campaign=simple-cal-readme&utm_content=description)** -* [Get notified when new features are released](https://www.getdrip.com/forms/9434542/submissions/new) -* [Follow this project on Github](https://github.com/moonstonemedia/WP-Google-Calendar-Events) += GOOGLE CALENDAR PRO ADD-ON FEATURES = -This plugin was originally created by [Ross Hanney](http://www.rhanney.co.uk), a web developer based in the UK specialising in WordPress and PHP. +* Display events from **Private** Google Calendars. +* Secure connection established between your site and Google using the OAuth standard. +* Highlight events with colors that match those selected within each Google Calendar event. +* Display event guest information for any private or public event such as their avatar and if they’re attending. +* Display event organizer information. +* Display a list of attachments with links to their original source. +* Automatic easy updates. +* Priority email support with a 24-hour response time during weekdays backed by a top-notch team. -## Available Translations ## - -* Catalan - Provided by Toni Ginard & Monica Grau of [agora.xtec.cat](http://agora.xtec.cat/). -* Dutch - Provided by Henri van Werkhoven. -* Finnish - Provided by Ville Myllymäki. -* French - Provided by Vincent Bray. -* German - Provided by Stefanie Drucker of [kreativhuhn.at](http://www.kreativhuhn.at/). -* Italian - Provided by Francesco Paccagnella of [pacca.it](http://www.pacca.it/). -* Lithuanian - Provided by Andrius Mazeika of [mazeika.info](http://mazeika.info/). -* Norwegian - Provided by Tore Hjartland of [aliom.no](http://www.aliom.no/). -* Polish - Provided by Michał Pasternak of [iplweb.pl](http://iplweb.pl/). -* Portuguese (Brazilian) - Provided by CodeLayer. -* Russian - Provided by Vadim Reutskiy. -* Spanish - Provided by Eduardo Larequi of [educacion.navarra.es/web/pnte/](http://www.educacion.navarra.es/web/pnte/). -* Swedish - Provided by Familjedaghemmet Chicos of [chicos.nu](http://www.chicos.nu/). +>**[Get these additional features with Google Calendar Pro](https://simplecalendar.io/addons/google-calendar-pro/?utm_source=wordpress.org&utm_medium=link&utm_campaign=simple-cal-readme&utm_content=description)** == Installation == -There are several ways to install this plugin. - -= Admin Search = -1. In your WordPress admin, go to `Plugins > Add`. -1. Search for `Google Calendar`. -1. Find the plugin that's labeled `Google Calendar Events` by `Moonstone Media`. -1. Click `Install Now`. -1. Activate the plugin. -1. A new menu item `GCal Events` will appear in the main menu. - -= Admin Upload = -1. Download the plugin zip file using the large orange button to the right. -1. In your WordPress admin, go to `Plugins > Add`. -1. Select `Upload Plugin` at the top. -1. Find and upload the zip file you just downloaded. -1. Activate the plugin. -1. A new menu item `GCal Events` will appear in the main menu. - -= FTP Upload = -1. Download the plugin zip file using the large orange button to the right. -1. Unzip the zip file contents. -1. Upload the `google-calendar-events` folder to the `/wp-content/plugins/` directory of your site. -1. Activate the plugin on the `Installed Plugins` listing. -1. A new menu item `GCal Events` will appear in the main menu. +[Plugin installation instructions](http://docs.simplecalendar.io/simple-calendar-installation/?utm_source=wordpress.org&utm_medium=link&utm_campaign=simple-cal-readme&utm_content=installation) == Frequently Asked Questions == -[Plugin Documentation & Getting Started](http://wpdocs.philderksen.com/google-calendar-events/?utm_source=wordpress_org&utm_medium=link&utm_campaign=gce_lite) += Where's your plugin documentation? = + +Find our docs at [docs.simplecalendar.io](http://docs.simplecalendar.io/?utm_source=wordpress.org&utm_medium=link&utm_campaign=simple-cal-readme&utm_content=faq) + += Can I get notified by email of new releases? = + +[Subscribe here](https://www.getdrip.com/forms/9434542/submissions/new) to be notified by email of major features or updates. + += How do I contribute to Simple Calendar? = + +We'd love your help! Here's a few things you can do: + +* [Rate our plugin](https://wordpress.org/support/view/plugin-reviews/google-calendar-events?postform#postform) and help spread the word! +* Help answer questions in our [community support forum](https://wordpress.org/support/plugin/google-calendar-events). +* Report bugs (with steps to reproduce) or submit pull requests [on GitHub](https://github.com/moonstonemedia/Simple-Calendar). +* Help add or update a [plugin translation](https://translate.wordpress.org/projects/wp-plugins/google-calendar-events). == Screenshots == -1. Grid display in full page with tooltip -1. Grid display in widget -1. List display in widget -1. Simple display options -1. Calendar feed settings -1. Calendar widget settings -1. Event display builder editor +1. Basic Grid view +2. Basic List view +3. Calendar settings - Events +4. Calendar settings - Appearance +5. Calendar settings - Google Calendar +6. Calendar settings - Advanced +7. Add a calendar widget +8. Attach a calendar to a post or page == Changelog == += 3.0.10 - December 21, 2015 = + +* Fix: Pagination tweak to prevent grouped calendars from getting cut off by last calendar in list. +* Fix: Welcome screen now shows up correctly after a fresh installation. +* Fix: i18n short day names should now display properly. +* Fix: i18n truncated event titles should now display properly. +* Tweak: Allow setting a cache duration of 0. +* Tweak: Pagination will now always show unless the calendar is static. +* Tweak: Allow responsive grid view to use hover option. + += 3.0.9 - December 16, 2015 = + +* Fix: Fixed all-day events with an end time showing on an extra day. +* Fix: Fixed a bug with site default timezone setting not pulling in correctly. +* Tweak: Make always enqueue option enabled by default for new installs. +* Tweak: Translations moved from .po/.mo files to official wordpress.org translation packs. +* Tweak: Minor text fixes to admin UI. + += 3.0.8 - December 1, 2015 = + +* Fix: Fixed bug for Google Calendar Pro add-on organizer event builder code. +* Fix: Fixed some inconsistencies with all-day events and multi-day events when combined. + += 3.0.7 - November 28, 2015 = + +* Fix: Fixed all day multi-day events showing on an extra day. +* Fix: Fixed multi-day events that span less than 24 hours to show up on both days. +* Fix: Fixed multi-day events that span 2 days to show up correctly. +* Fix: Fixed issues with grouped calendars using categories not loading. +* Tweak: Additional empty check for previous array_combine PHP error. +* Tweak: Remove extra qtip triangle image from popup. + += 3.0.6 - November 24, 2015 = + +* Fix: Fixed bug with days being off by one day. +* Fix: Added check for array to avoid array_combine() PHP error. +* Fix: Allow last list event to show correctly. +* Tweak: Update shortcode to not check for a singular page. + += 3.0.5 - November 19, 2015 = + +* Fix: Fixed a bug where HTML in event description was not being rendered properly. +* Fix: Fixed a script loading issue when using the CPT view. +* Feature: Check for required PHP extensions upon plugin activation (curl and mbstring so far). + += 3.0.4 - November 18, 2015 = + +* Fix: Fixed always enqueue option to work correctly. +* Fix: Fixed issue where multiple shortcodes would sometimes not load scripts correctly. +* Fix: Fixed z-index issue for admin tooltips. +* Tweak: Change default "today" color to blue (#1e73be). + += 3.0.3 - November 13, 2015 = + +* Feature: Added option to display a compact list view. +* Feature: Added option to hide the header in list view. +* Tweak: Improved CSS styling for default list and grid CSS. + += 3.0.2 - November 12, 2015 = + +* Fix: Fixed bug where calendar days were off by one day. + += 3.0.1 - November 9, 2015 = + +* Fix: Fixed bug with update script being skipped via attachment to activation hook. + += 3.0.0 - November 8, 2015 = + +* Announcement: Plugin renamed to Simple Calendar. +* Announcement: Visit our new website at [simplecalendar.io](https://simplecalendar.io/?utm_source=wordpress.org&utm_medium=link&utm_campaign=simple-cal-readme&utm_content=changelog)! +* Feature: Modular and extensible plugin, add-ons ready. +* Feature: Reworked default calendar views, now fully responsive (and titles in grid). +* Feature: Completely redesigned the admin user interface. +* Feature: Many new settings panel in admin dashboard, with better semantics and organization. +* Feature: A System Report page to help you troubleshoot problems and improve support response. +* Tweak: Use categories to organize your calendars. +* Tweak: Feeds moved from 'gce_feed' to 'calendar' post type slug, permalink change. +* Fix: Timezones handling are more accurate. +* Fix: Incompatibilities with themes and other plugins. +* Fix: Several other bugfixes. +* Refactor: Plugin rebuilt from ground up: namespaces, closures, Composer support, entirely OOP. +* Dev: PHP 5.3 minimum required. +* Dev: All requests to Google from now on will be handled with the official Google API PHP Client. +* Dev: Tested up to WordPress 4.4. + = 2.4.0 - September 29, 2015 = + * Announcement: Simple Calendar is coming, changes ahead. * Deprecation: The bundled/default Google API key reached it's quota and was shut off. Using your own API key is now required. = 2.3.2 - September 1, 2015 = + * Fix: Bug in HTML support in events description. = 2.3.1 - August 31, 2015 = + * Fix: Fallback for DateTime::setTimestamp() for installations still using PHP 5.2. * Fix: Support HTML in events description when using `html="true"` attribute in shortcode. * Localization: Added Finnish translations, courtesy of Ville Myllymäki. @@ -208,16 +286,16 @@ There are several ways to install this plugin. * Error messaging updates. * Security improvements. -= 2.1.7 = += 2.1.7 - December 14, 2014 = * Restructured next and back paging navigation script. * Updated Italian translation files. -= 2.1.6.1 = += 2.1.6.1 - December 5, 2014 = * More tooltip (qTip2) effects & styling. -= 2.1.6 = += 2.1.6 - December 5, 2014 = * Fixed bug with tooltip (qTip2) in some cases by now including it's imagesLoaded script. * Tooltip style improvements. @@ -227,11 +305,11 @@ There are several ways to install this plugin. * Fix bug with grouped-list multi-day event title. * Fix bug when saving a bulk edit. -= 2.1.5 = += 2.1.5 - December 2, 2014 = * Updated jQuery tooltip library to [qTip2](http://qtip2.com/). Previously using unmaintained original qTip library. -= 2.1.4 = += 2.1.4 - November 26, 2014 = * Reverted CSS enqueue change. * Added Catalan translation - Provided by Toni Ginard & Monica Grau of [agora.xtec.cat](http://agora.xtec.cat/). @@ -240,14 +318,14 @@ There are several ways to install this plugin. * Updated French translation - Pull Request by @Jojaba * Tested up to WordPress 4.1. -= 2.1.3 = += 2.1.3 - November 23, 2014 = * Only load plugin scripts and stylesheets when the viewable page is rendering output from this plugin. * Fixed bugs with simple display options. * Added better error checking and output options to help in debugging GCal feeds. * Added Dutch translation - Provided by Henri van Werkhoven. -= 2.1.2 = += 2.1.2 - November 21, 2014 = * Fixed bug with quick edit clearing out feed settings. * Fix bug with pagination creating extra DOM elements. @@ -256,20 +334,20 @@ There are several ways to install this plugin. * Fixed bug with [cal-id] event builder code. * Add in post data resets. -= 2.1.1 = += 2.1.1 - November 20, 2014 = * Fixed bug with all day events not displaying. * Added missing timezone parameter to internal query. -= 2.1.0 = += 2.1.0 - November 19, 2014 = * Updated to use Google Calendar API version 3. Version 2 deprecated on Nov. 17, 2014. -= 2.0.7.1 = += 2.0.7.1 -November 17, 2014 = * As of Nov. 17, 2014 the GCal API v2 is deprecated, which breaks all calendar feed displays. This update will temporarily hide the display while we work on a solution that uses GCal API v3. -= 2.0.7 = += 2.0.7 - October 28, 2014 = * Events will now display if it hasn't ended yet for list views. * Fixed bug with date() call causing a display error in some cases. @@ -280,11 +358,11 @@ There are several ways to install this plugin. * Simplified text domain function. * Added Lithuanian translation - Provided by Andrius Mazeika of [mazeika.info](http://mazeika.info/). -= 2.0.6.2 = += 2.0.6.2 - October 22, 2014 = * Reverted previous bug fix that introduced new bugs. -= 2.0.6.1 = += 2.0.6.1 - October 22, 2014 = * Added Polish translation - Provided by Michał Pasternak of [iplweb.pl](http://iplweb.pl/). * Updated Italian translation. @@ -292,17 +370,17 @@ There are several ways to install this plugin. * Fixed bug with date() call causing a display error in some cases. * Minor bug fixes. -= 2.0.6 = += 2.0.6 - October 16, 2014 = * Added minimum and maximum feed date options to fix event display issues and boost performance. * Fixed a caching issue to increase performance. * Fixed bug where backslashes kept getting added to event titles that already contained single quotes when navigating through pages in widget. -= 2.0.5.1 = += 2.0.5.1 - October 15, 2014 = * Fix timezone issue. -= 2.0.5 = += 2.0.5 - October 10, 2014 = * Fixed display bug with event date and grouped lists. * Fixed broken paging links when feed IDs contain spaces between them. @@ -311,7 +389,7 @@ There are several ways to install this plugin. * Added German translation - Provided by Stefanie Drucker of [kreativhuhn.at](http://www.kreativhuhn.at/). * Added Norwegian translation - Provided by Tore Hjartland of [aliom.no](http://www.aliom.no/). -= 2.0.4 = += 2.0.4 - October 7, 2014 = * Added option to show/hide paging. * Added option to limit display to any number of days or events per page. @@ -335,157 +413,35 @@ There are several ways to install this plugin. * JavaScript restructured to fit more in line with best practices. * Remove unused admin script file. -= 2.0.3.1 = += 2.0.3.1 - October 7, 2014= * Fixed bug where retrieve from/until dates were accidentally removed. -= 2.0.3 = += 2.0.3 - September 20, 2014 = * Fixed bug where calendar feed caches weren't getting cleared properly. * Fixed feed settings metabox content wrapping issue. -= 2.0.2 = += 2.0.2 - September 17, 2014 = * Added Spanish translation - Provided by Eduardo Larequi of [educacion.navarra.es/web/pnte/](http://www.educacion.navarra.es/web/pnte/). * Fixed timezone issues by forcing calendar feeds to use the timezone selected in the site's General Settings. Feed-specific timezone setting removed. * Fixed a bug with recurring events display. * Fixed an upgrade bug with multiple day events. -= 2.0.1 = += 2.0.1 - September 11, 2014 = * Fixed display errors with certain event builder shortcodes. * Added language folder. -= 2.0.0 = += 2.0.0 - September 9, 2014 = * Plugin rewritten from scratch. * Now using custom post types for storing and customizing Google calendar feeds. * Introduced the shortcode `[gcal]` (old shortcode still supported). -= 0.7.3.1 = - -* Include missing file: upgrade-notice.php. - -= 0.7.3 = - -* Added warning about upcoming version 2.0 release. -* Added option to save settings upon uninstall. -* Tested with WordPress 4.0. - -= 0.7.2 = - -* Fixed a bug causing the "More details" Google Calendar information to be displayed in the wrong timezone -* Fixed a bug that prevented setting the cache duration to 0 from working correctly -* Fixed an issue that prevented Ajax from working with FORCE_SSL_ADMIN enabled -* Now uses [wp_enqueue_scripts](http://wpdevel.wordpress.com/2011/12/12/use-wp_enqueue_scripts-not-wp_print_styles-to-enqueue-scripts-and-styles-for-the-frontend/) - -= 0.7.1 = - -* Fixed bug causing AJAX enabled calendar grids to not function correctly -* Fixed bug causing all-day events from outside required date range to be displayed -* Fixed bug causing tooltip date title heading setting to be ignored -* Added further data sanitisation on output -* Feeds with no events will now be cached to prevent HTTP requests on every page load - -= 0.7 = - -* Fixed bug causing event dates / times to be displayed in the wrong timezone -* Changed the [link-path] Event Display Builder shortcode to [url] -* Fixed an Opera specific CSS issue causing page lists to be hidden -* Lists can now be displayed in descending or ascending order -* Added [event-id] and [cal-id] Event Display Builder shortcodes -* Added an offset parameter for date / time based Event Display Builder shortcodes -* Added an autolink parameter for enabling / disabling automatic linking of URLs -* Added gce-day-past or gce-day-future classes to calendar grid cells -* Cleaned up CSS - -= 0.6 = - -* Drastically reduced memory usage -* Improved feed data caching system -* Improved error reporting -* General performance and efficiency improvements -* Added a few more shortcodes to the event display builder -* Other [miscellaneous changes / additions and bug fixes](http://www.rhanney.co.uk/2011/04/29/google-calendar-events-0-6) - -= 0.5 = - -* Added [event display builder](http://www.rhanney.co.uk/plugins/google-calendar-events/event-display-builder) feature, which vastly improves the customization possibilities of the plugin. This feature encompasses many of the most requested features, such as: - - All-day events can be handled differently than 'normal' events - - Start and end times / dates can be displayed on the same line (as can any other event information) - - HTML (and Markdown) entered in Google Calendar fields can be properly parsed -* Start and end times for retrieval of events are now much more flexible -* A custom error message for non-admin users can now be specified -* No longer loads SimplePie when it is not required - -= 0.4.1 = - -* Fix / workaround for the long-running timezone bug. Please take a look at [this](http://www.rhanney.co.uk/2011/01/16/google-calendar-events-0-4-1) for more information. -* Added additional 'Maximum no. events to display' option to widget / shortcode (mainly to address a further issue caused by the above fix) -* i18n related bug fix -* Added support for widget_title filter (courtesy of [James](http://lunasea-studios.com)) -* Added Hungarian (hu_HU) translation ([danieltakacs](http://ek.klog.hu)) -* Now using minified version of jQuery qTip script - -= 0.4 = - -* More control over how start and end dates / times are displayed -* Events can now be limited to a specified timeframe (number of days) -* Events on the same day in lists can now be shown under a single date title -* JavaScript can now be added to the footer rather than the header, via an option -* The 'Loading...' text can now be customized -* Description text can now be limited to a specified number of words -* Multi-day events can be shown on each day that they span ([sort of](http://www.rhanney.co.uk/2010/08/19/google-calendar-events-0-4#multiday)) -* Bug fixes -* i18n / l10n fixes - -= 0.3.1 = - -* l10n / i18n fixes. Dates should now be localized correctly and should maintain localization after an AJAX request -* MU / Multi-site issues. Issues preventing adding of feeds have been addressed - -= 0.3 = - -* Now allows events from multiple Google Calendar feeds to be displayed on a single calendar grid / list -* Internationalization support added - -= 0.2.1 = - -* Added option to allow 'More details' links to open in new window / tab. -* Added option to choose a specific timezone for each feed -* Line breaks in an event description will now be preserved -* Fixed a bug casing the title to not be displayed on lists -* Other minor bug fixes - -= 0.2 = - -* Added customization options for how information is displayed. -* Can now display: start time, end time and date, location, description and event link. -* Tooltips now using qTip jQuery plugin. - -= 0.1.4 = - -* More bug fixes. - -= 0.1.3 = - -* Several bug fixes, including fixing JavaScript problems that prevented tooltips appearing. - -= 0.1.2 = - -* Bug fixes. - -= 0.1.1 = - -* Fix to prevent conflicts with other plugins. -* Changes to readme.txt. - -= 0.1 = - -* Initial release. - == Upgrade Notice == -= 2.1.0 = += 3.0.0 = -Updated to use Google Calendar API version 3. Version 2 deprecated on Nov. 17, 2014. +This is a major rewrite of the plugin with lots of additions and changes. Please backup before proceeding. diff --git a/wp-content/plugins/google-calendar-events/uninstall.php b/wp-content/plugins/google-calendar-events/uninstall.php index 1e4cefe..1d5d20c 100644 --- a/wp-content/plugins/google-calendar-events/uninstall.php +++ b/wp-content/plugins/google-calendar-events/uninstall.php @@ -2,106 +2,66 @@ /** * Fired when the plugin is uninstalled. * - * @package GCE - * @author Phil Derksen , Nick Young - * @license GPL-2.0+ - * @copyright 2014 Phil Derksen + * @package SimpleCalendar */ -// If uninstall not called from WordPress, then exit +// Exit if not uninstalling from WordPress. if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) { exit; } -$general = get_option( 'gce_settings_general' ); +// Get user options whether to delete settings and/or data. +$settings = get_option( 'simple-calendar_settings_advanced' ); -// If this is empty then it means it is unchecked and we should delete everything -if ( empty( $general['save_settings'] ) ) { - - /*** VERSION 2.0.0 GCE OPTIONS ***/ - - // Remove CPTs and transients - $feeds = get_posts( array( - 'post_type' => 'gce_feed', - 'post_status' => array( - 'any', - 'trash', - 'auto-draft', - 'trash', - 'draft', - 'pending', - 'future', - 'private', - 'inherit' - ) - )); +if ( isset( $settings['installation']['delete_settings'] ) ) { + $delete_settings = 'yes' == $settings['installation']['delete_settings'] ? true : false; +} else { + $delete_settings = false; +} - foreach( $feeds as $f ) { - // delete the transient while we have the post ID available - delete_transient( 'gce_feed_' . $f->ID ); +if ( isset( $settings['installation']['erase_data'] ) ) { + $erase_data = 'yes' == $settings['installation']['erase_data'] ? true : false; +} else { + $erase_data = false; +} - // Now delete the post - wp_delete_post( $f->ID, true ); +global $wpdb; + +// Delete settings. +if ( ( $delete_settings === true ) || ( $erase_data === true ) ) { + $wpdb->query( + " +DELETE FROM $wpdb->options WHERE option_name LIKE '%simple-calendar%'; +" + ); +} + +// Delete calendar data. +if ( $erase_data === true ) { + + // Delete calendar posts. + $wpdb->query( + " +DELETE FROM {$wpdb->posts} WHERE post_type IN ( 'calendar' ); +" + ); + + // Delete calendar postmeta. + $wpdb->query( " +DELETE meta FROM {$wpdb->postmeta} meta LEFT JOIN {$wpdb->posts} posts ON posts.ID = meta.post_id WHERE posts.ID IS NULL; +" + ); + + // Delete calendar terms. + $terms = get_terms( array( + 'calendar_category', + 'calendar_feed', + 'calendar_type', + ) ); + if ( ! empty( $terms ) && is_array( $terms ) ) { + foreach ( $terms as $term ) { + wp_delete_term( $term->term_id, $term->taxonomy ); + } } - // Remove all post meta - delete_post_meta_by_key( 'gce_feed_url' ); - delete_post_meta_by_key( 'gce_retrieve_from' ); - delete_post_meta_by_key( 'gce_retrieve_until' ); - delete_post_meta_by_key( 'gce_retrieve_max' ); - delete_post_meta_by_key( 'gce_date_format' ); - delete_post_meta_by_key( 'gce_time_format' ); - delete_post_meta_by_key( 'gce_cache' ); - delete_post_meta_by_key( 'gce_multi_day_events' ); - delete_post_meta_by_key( 'gce_display_mode' ); - delete_post_meta_by_key( 'gce_custom_from' ); - delete_post_meta_by_key( 'gce_custom_until' ); - delete_post_meta_by_key( 'gce_paging' ); - delete_post_meta_by_key( 'gce_list_max_num' ); - delete_post_meta_by_key( 'gce_list_max_length' ); - delete_post_meta_by_key( 'gce_list_start_offset_num' ); - delete_post_meta_by_key( 'gce_list_start_offset_direction' ); - delete_post_meta_by_key( 'old_gce_id' ); - delete_post_meta_by_key( 'gce_display_link' ); - delete_post_meta_by_key( 'gce_display_link_text' ); - delete_post_meta_by_key( 'gce_display_end' ); - delete_post_meta_by_key( 'gce_display_end_text' ); - delete_post_meta_by_key( 'gce_display_separator' ); - delete_post_meta_by_key( 'gce_display_location_text' ); - delete_post_meta_by_key( 'gce_display_description_text' ); - delete_post_meta_by_key( 'gce_expand_recurring' ); - delete_post_meta_by_key( 'gce_feed_end' ); - delete_post_meta_by_key( 'gce_feed_end_interval' ); - delete_post_meta_by_key( 'gce_display_start' ); - delete_post_meta_by_key( 'gce_display_start_text' ); - delete_post_meta_by_key( 'gce_paging_widget' ); - delete_post_meta_by_key( 'gce_widget_paging_interval' ); - delete_post_meta_by_key( 'gce_feed_end_custom' ); - delete_post_meta_by_key( 'gce_feed_end_num' ); - delete_post_meta_by_key( 'gce_feed_start_custom' ); - delete_post_meta_by_key( 'gce_feed_start_num' ); - delete_post_meta_by_key( 'gce_per_page_to' ); - delete_post_meta_by_key( 'gce_per_page_from' ); - delete_post_meta_by_key( 'gce_per_page_num' ); - delete_post_meta_by_key( 'gce_events_per_page' ); - delete_post_meta_by_key( 'gce_end_date' ); - delete_post_meta_by_key( 'gce_date_range' ); - delete_post_meta_by_key( 'gce_start_date' ); - - // Remove options - delete_option( 'gce_upgrade_has_run' ); - delete_option( 'gce_version' ); - delete_option( 'gce_settings_general' ); - delete_option( 'gce_cpt_setup' ); - - // Remove widgets - delete_option( 'widget_gce_widget' ); - - - /*** OLD GCE VERSION OPTIONS ***/ - - delete_option( 'gce_options' ); - delete_option( 'gce_general' ); - delete_option( 'gce_clear_old_transients' ); - delete_option( 'gce_show_upgrade_notice' ); } diff --git a/wp-content/plugins/google-calendar-events/vendor/autoload.php b/wp-content/plugins/google-calendar-events/vendor/autoload.php new file mode 100644 index 0000000..7ea88b7 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/autoload.php @@ -0,0 +1,7 @@ +getBrowser() == Browser::BROWSER_FIREFOX && $browser->getVersion() >= 2 ) { + echo 'You have FireFox version 2 or greater'; +} +``` + +12/9/2008 Update +* removed an unused constant and renamed the constructor to use the PHP magic method __construct (thanks to Robin for locating the legacy constant and suggesting the use of the magic method). + +2/19/2009 Update +* updated typical usage to show a correct example! (thanks David!) + +2/24/2009 Update +* fixed typo in the usage! (thanks Adam!) + +3/14/2009 Update +* added support for the iPod; added iPod and iPhone as platforms; added Google.s Android + +4/22/2009 Update +* added support for GoogleBot, the W3C Validator and Yahoo! Slurp + +4/27/2009 Update +* John pointed out a terrible typo (see below) . removed the typo + +11/08/2009 Update +* A lot of changes to the script, thank you to everyone for the suggestions and emails. This release should add all of the requested features. Added BlackBerry, mobile detection, Opera Mini support, robot detection, Opera 10.s UserAgent .mess., detection for IceCat and Shiretoko! + +3/7/2010 Update +* Version 1.7 was a *MAJOR* Rebuild (preg_match and other .slow. routine removal(s)) included the following changes: +* Almost allof Gary.s original code has been replaced +* Large PHPUNIT testing environment created to validate new releases and additions +* Added FreeBSD Platform +* Added OpenBSD Platform +* Added NetBSD Platform +* Added SunOS Platform +* Added OpenSolaris Platform +* Added support of the Iceweazel Browser +* Added isChromeFrame() call to check if chromeframe is in use +* Moved the Opera check in front of the Firefox check due to legacy Opera User Agents +* Added the __toString() method (Thanks Deano) + +4/27/2010: Update (Version 1.8) +* Added iPad support + +8/20/2010: Update (Version 1.9) +* Added MSN Explorer Browser +* Added Bing/MSN Robot +* Added the Android Platform +* Fixed issue with Android 1.6/2.2 \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/cbschuld/browser.php/composer.json b/wp-content/plugins/google-calendar-events/vendor/cbschuld/browser.php/composer.json new file mode 100644 index 0000000..219e839 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/cbschuld/browser.php/composer.json @@ -0,0 +1,18 @@ +{ + "name": "cbschuld/browser.php", + "description": "", + "version": "1.0.0", + "keywords": ["browser", "user agent", "detection"], + "homepage": "http://chrisschuld.com/projects/browser-php-detecting-a-users-browser-from-php.html", + "license": "MIT", + "authors": [ + { + "name": "Chris Schuld", + "email": "chris@chrisschuld.com", + "homepage": "http://chrisschuld.com" + } + ], + "autoload": { + "files": ["lib/Browser.php"] + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/cbschuld/browser.php/lib/Browser.php b/wp-content/plugins/google-calendar-events/vendor/cbschuld/browser.php/lib/Browser.php new file mode 100644 index 0000000..8a869b0 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/cbschuld/browser.php/lib/Browser.php @@ -0,0 +1,1282 @@ +getBrowser() == Browser::BROWSER_FIREFOX && $browser->getVersion() >= 2 ) { + * echo 'You have FireFox version 2 or greater'; + * } + * + * User Agents Sampled from: http://www.useragentstring.com/ + * + * This implementation is based on the original work from Gary White + * http://apptools.com/phptools/browser/ + * + */ + +class Browser +{ + private $_agent = ''; + private $_browser_name = ''; + private $_version = ''; + private $_platform = ''; + private $_os = ''; + private $_is_aol = false; + private $_is_mobile = false; + private $_is_tablet = false; + private $_is_robot = false; + private $_is_facebook = false; + private $_aol_version = ''; + + const BROWSER_UNKNOWN = 'unknown'; + const VERSION_UNKNOWN = 'unknown'; + + const BROWSER_OPERA = 'Opera'; // http://www.opera.com/ + const BROWSER_OPERA_MINI = 'Opera Mini'; // http://www.opera.com/mini/ + const BROWSER_WEBTV = 'WebTV'; // http://www.webtv.net/pc/ + const BROWSER_IE = 'Internet Explorer'; // http://www.microsoft.com/ie/ + const BROWSER_POCKET_IE = 'Pocket Internet Explorer'; // http://en.wikipedia.org/wiki/Internet_Explorer_Mobile + const BROWSER_KONQUEROR = 'Konqueror'; // http://www.konqueror.org/ + const BROWSER_ICAB = 'iCab'; // http://www.icab.de/ + const BROWSER_OMNIWEB = 'OmniWeb'; // http://www.omnigroup.com/applications/omniweb/ + const BROWSER_FIREBIRD = 'Firebird'; // http://www.ibphoenix.com/ + const BROWSER_FIREFOX = 'Firefox'; // http://www.mozilla.com/en-US/firefox/firefox.html + const BROWSER_ICEWEASEL = 'Iceweasel'; // http://www.geticeweasel.org/ + const BROWSER_SHIRETOKO = 'Shiretoko'; // http://wiki.mozilla.org/Projects/shiretoko + const BROWSER_MOZILLA = 'Mozilla'; // http://www.mozilla.com/en-US/ + const BROWSER_AMAYA = 'Amaya'; // http://www.w3.org/Amaya/ + const BROWSER_LYNX = 'Lynx'; // http://en.wikipedia.org/wiki/Lynx + const BROWSER_SAFARI = 'Safari'; // http://apple.com + const BROWSER_IPHONE = 'iPhone'; // http://apple.com + const BROWSER_IPOD = 'iPod'; // http://apple.com + const BROWSER_IPAD = 'iPad'; // http://apple.com + const BROWSER_CHROME = 'Chrome'; // http://www.google.com/chrome + const BROWSER_ANDROID = 'Android'; // http://www.android.com/ + const BROWSER_GOOGLEBOT = 'GoogleBot'; // http://en.wikipedia.org/wiki/Googlebot + const BROWSER_SLURP = 'Yahoo! Slurp'; // http://en.wikipedia.org/wiki/Yahoo!_Slurp + const BROWSER_W3CVALIDATOR = 'W3C Validator'; // http://validator.w3.org/ + const BROWSER_BLACKBERRY = 'BlackBerry'; // http://www.blackberry.com/ + const BROWSER_ICECAT = 'IceCat'; // http://en.wikipedia.org/wiki/GNU_IceCat + const BROWSER_NOKIA_S60 = 'Nokia S60 OSS Browser'; // http://en.wikipedia.org/wiki/Web_Browser_for_S60 + const BROWSER_NOKIA = 'Nokia Browser'; // * all other WAP-based browsers on the Nokia Platform + const BROWSER_MSN = 'MSN Browser'; // http://explorer.msn.com/ + const BROWSER_MSNBOT = 'MSN Bot'; // http://search.msn.com/msnbot.htm + const BROWSER_BINGBOT = 'Bing Bot'; // http://en.wikipedia.org/wiki/Bingbot + + const BROWSER_NETSCAPE_NAVIGATOR = 'Netscape Navigator'; // http://browser.netscape.com/ (DEPRECATED) + const BROWSER_GALEON = 'Galeon'; // http://galeon.sourceforge.net/ (DEPRECATED) + const BROWSER_NETPOSITIVE = 'NetPositive'; // http://en.wikipedia.org/wiki/NetPositive (DEPRECATED) + const BROWSER_PHOENIX = 'Phoenix'; // http://en.wikipedia.org/wiki/History_of_Mozilla_Firefox (DEPRECATED) + + const PLATFORM_UNKNOWN = 'unknown'; + const PLATFORM_WINDOWS = 'Windows'; + const PLATFORM_WINDOWS_CE = 'Windows CE'; + const PLATFORM_APPLE = 'Apple'; + const PLATFORM_LINUX = 'Linux'; + const PLATFORM_OS2 = 'OS/2'; + const PLATFORM_BEOS = 'BeOS'; + const PLATFORM_IPHONE = 'iPhone'; + const PLATFORM_IPOD = 'iPod'; + const PLATFORM_IPAD = 'iPad'; + const PLATFORM_BLACKBERRY = 'BlackBerry'; + const PLATFORM_NOKIA = 'Nokia'; + const PLATFORM_FREEBSD = 'FreeBSD'; + const PLATFORM_OPENBSD = 'OpenBSD'; + const PLATFORM_NETBSD = 'NetBSD'; + const PLATFORM_SUNOS = 'SunOS'; + const PLATFORM_OPENSOLARIS = 'OpenSolaris'; + const PLATFORM_ANDROID = 'Android'; + + const OPERATING_SYSTEM_UNKNOWN = 'unknown'; + + public function Browser($userAgent = "") + { + $this->reset(); + if ($userAgent != "") { + $this->setUserAgent($userAgent); + } else { + $this->determine(); + } + } + + /** + * Reset all properties + */ + public function reset() + { + $this->_agent = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : ""; + $this->_browser_name = self::BROWSER_UNKNOWN; + $this->_version = self::VERSION_UNKNOWN; + $this->_platform = self::PLATFORM_UNKNOWN; + $this->_os = self::OPERATING_SYSTEM_UNKNOWN; + $this->_is_aol = false; + $this->_is_mobile = false; + $this->_is_tablet = false; + $this->_is_robot = false; + $this->_is_facebook = false; + $this->_aol_version = self::VERSION_UNKNOWN; + } + + /** + * Check to see if the specific browser is valid + * @param string $browserName + * @return bool True if the browser is the specified browser + */ + function isBrowser($browserName) + { + return (0 == strcasecmp($this->_browser_name, trim($browserName))); + } + + /** + * The name of the browser. All return types are from the class contants + * @return string Name of the browser + */ + public function getBrowser() + { + return $this->_browser_name; + } + + /** + * Set the name of the browser + * @param $browser string The name of the Browser + */ + public function setBrowser($browser) + { + $this->_browser_name = $browser; + } + + /** + * The name of the platform. All return types are from the class contants + * @return string Name of the browser + */ + public function getPlatform() + { + return $this->_platform; + } + + /** + * Set the name of the platform + * @param string $platform The name of the Platform + */ + public function setPlatform($platform) + { + $this->_platform = $platform; + } + + /** + * The version of the browser. + * @return string Version of the browser (will only contain alpha-numeric characters and a period) + */ + public function getVersion() + { + return $this->_version; + } + + /** + * Set the version of the browser + * @param string $version The version of the Browser + */ + public function setVersion($version) + { + $this->_version = preg_replace('/[^0-9,.,a-z,A-Z-]/', '', $version); + } + + /** + * The version of AOL. + * @return string Version of AOL (will only contain alpha-numeric characters and a period) + */ + public function getAolVersion() + { + return $this->_aol_version; + } + + /** + * Set the version of AOL + * @param string $version The version of AOL + */ + public function setAolVersion($version) + { + $this->_aol_version = preg_replace('/[^0-9,.,a-z,A-Z]/', '', $version); + } + + /** + * Is the browser from AOL? + * @return boolean True if the browser is from AOL otherwise false + */ + public function isAol() + { + return $this->_is_aol; + } + + /** + * Is the browser from a mobile device? + * @return boolean True if the browser is from a mobile device otherwise false + */ + public function isMobile() + { + return $this->_is_mobile; + } + + /** + * Is the browser from a tablet device? + * @return boolean True if the browser is from a tablet device otherwise false + */ + public function isTablet() + { + return $this->_is_tablet; + } + + /** + * Is the browser from a robot (ex Slurp,GoogleBot)? + * @return boolean True if the browser is from a robot otherwise false + */ + public function isRobot() + { + return $this->_is_robot; + } + + /** + * Is the browser from facebook? + * @return boolean True if the browser is from facebook otherwise false + */ + public function isFacebook() + { + return $this->_is_facebook; + } + + /** + * Set the browser to be from AOL + * @param $isAol + */ + public function setAol($isAol) + { + $this->_is_aol = $isAol; + } + + /** + * Set the Browser to be mobile + * @param boolean $value is the browser a mobile browser or not + */ + protected function setMobile($value = true) + { + $this->_is_mobile = $value; + } + + /** + * Set the Browser to be tablet + * @param boolean $value is the browser a tablet browser or not + */ + protected function setTablet($value = true) + { + $this->_is_tablet = $value; + } + + /** + * Set the Browser to be a robot + * @param boolean $value is the browser a robot or not + */ + protected function setRobot($value = true) + { + $this->_is_robot = $value; + } + + /** + * Set the Browser to be a Facebook request + * @param boolean $value is the browser a robot or not + */ + protected function setFacebook($value = true) + { + $this->_is_facebook = $value; + } + + /** + * Get the user agent value in use to determine the browser + * @return string The user agent from the HTTP header + */ + public function getUserAgent() + { + return $this->_agent; + } + + /** + * Set the user agent value (the construction will use the HTTP header value - this will overwrite it) + * @param string $agent_string The value for the User Agent + */ + public function setUserAgent($agent_string) + { + $this->reset(); + $this->_agent = $agent_string; + $this->determine(); + } + + /** + * Used to determine if the browser is actually "chromeframe" + * @since 1.7 + * @return boolean True if the browser is using chromeframe + */ + public function isChromeFrame() + { + return (strpos($this->_agent, "chromeframe") !== false); + } + + /** + * Returns a formatted string with a summary of the details of the browser. + * @return string formatted string with a summary of the browser + */ + public function __toString() + { + return "Browser Name: {$this->getBrowser()}
              \n" . + "Browser Version: {$this->getVersion()}
              \n" . + "Browser User Agent String: {$this->getUserAgent()}
              \n" . + "Platform: {$this->getPlatform()}
              "; + } + + /** + * Protected routine to calculate and determine what the browser is in use (including platform) + */ + protected function determine() + { + $this->checkPlatform(); + $this->checkBrowsers(); + $this->checkForAol(); + } + + /** + * Protected routine to determine the browser type + * @return boolean True if the browser was detected otherwise false + */ + protected function checkBrowsers() + { + return ( + // well-known, well-used + // Special Notes: + // (1) Opera must be checked before FireFox due to the odd + // user agents used in some older versions of Opera + // (2) WebTV is strapped onto Internet Explorer so we must + // check for WebTV before IE + // (3) (deprecated) Galeon is based on Firefox and needs to be + // tested before Firefox is tested + // (4) OmniWeb is based on Safari so OmniWeb check must occur + // before Safari + // (5) Netscape 9+ is based on Firefox so Netscape checks + // before FireFox are necessary + $this->checkBrowserWebTv() || + $this->checkBrowserInternetExplorer() || + $this->checkBrowserOpera() || + $this->checkBrowserGaleon() || + $this->checkBrowserNetscapeNavigator9Plus() || + $this->checkBrowserFirefox() || + $this->checkBrowserChrome() || + $this->checkBrowserOmniWeb() || + + // common mobile + $this->checkBrowserAndroid() || + $this->checkBrowseriPad() || + $this->checkBrowseriPod() || + $this->checkBrowseriPhone() || + $this->checkBrowserBlackBerry() || + $this->checkBrowserNokia() || + + // common bots + $this->checkBrowserGoogleBot() || + $this->checkBrowserMSNBot() || + $this->checkBrowserBingBot() || + $this->checkBrowserSlurp() || + + // check for facebook external hit when loading URL + $this->checkFacebookExternalHit() || + + // WebKit base check (post mobile and others) + $this->checkBrowserSafari() || + + // everyone else + $this->checkBrowserNetPositive() || + $this->checkBrowserFirebird() || + $this->checkBrowserKonqueror() || + $this->checkBrowserIcab() || + $this->checkBrowserPhoenix() || + $this->checkBrowserAmaya() || + $this->checkBrowserLynx() || + $this->checkBrowserShiretoko() || + $this->checkBrowserIceCat() || + $this->checkBrowserIceweasel() || + $this->checkBrowserW3CValidator() || + $this->checkBrowserMozilla() /* Mozilla is such an open standard that you must check it last */ + ); + } + + /** + * Determine if the user is using a BlackBerry (last updated 1.7) + * @return boolean True if the browser is the BlackBerry browser otherwise false + */ + protected function checkBrowserBlackBerry() + { + if (stripos($this->_agent, 'blackberry') !== false) { + $aresult = explode("/", stristr($this->_agent, "BlackBerry")); + if (isset($aresult[1])) { + $aversion = explode(' ', $aresult[1]); + $this->setVersion($aversion[0]); + $this->_browser_name = self::BROWSER_BLACKBERRY; + $this->setMobile(true); + return true; + } + } + return false; + } + + /** + * Determine if the user is using an AOL User Agent (last updated 1.7) + * @return boolean True if the browser is from AOL otherwise false + */ + protected function checkForAol() + { + $this->setAol(false); + $this->setAolVersion(self::VERSION_UNKNOWN); + + if (stripos($this->_agent, 'aol') !== false) { + $aversion = explode(' ', stristr($this->_agent, 'AOL')); + if (isset($aversion[1])) { + $this->setAol(true); + $this->setAolVersion(preg_replace('/[^0-9\.a-z]/i', '', $aversion[1])); + return true; + } + } + return false; + } + + /** + * Determine if the browser is the GoogleBot or not (last updated 1.7) + * @return boolean True if the browser is the GoogletBot otherwise false + */ + protected function checkBrowserGoogleBot() + { + if (stripos($this->_agent, 'googlebot') !== false) { + $aresult = explode('/', stristr($this->_agent, 'googlebot')); + if (isset($aresult[1])) { + $aversion = explode(' ', $aresult[1]); + $this->setVersion(str_replace(';', '', $aversion[0])); + $this->_browser_name = self::BROWSER_GOOGLEBOT; + $this->setRobot(true); + return true; + } + } + return false; + } + + /** + * Determine if the browser is the MSNBot or not (last updated 1.9) + * @return boolean True if the browser is the MSNBot otherwise false + */ + protected function checkBrowserMSNBot() + { + if (stripos($this->_agent, "msnbot") !== false) { + $aresult = explode("/", stristr($this->_agent, "msnbot")); + if (isset($aresult[1])) { + $aversion = explode(" ", $aresult[1]); + $this->setVersion(str_replace(";", "", $aversion[0])); + $this->_browser_name = self::BROWSER_MSNBOT; + $this->setRobot(true); + return true; + } + } + return false; + } + + /** + * Determine if the browser is the BingBot or not (last updated 1.9) + * @return boolean True if the browser is the BingBot otherwise false + */ + protected function checkBrowserBingBot() + { + if (stripos($this->_agent, "bingbot") !== false) { + $aresult = explode("/", stristr($this->_agent, "bingbot")); + if (isset($aresult[1])) { + $aversion = explode(" ", $aresult[1]); + $this->setVersion(str_replace(";", "", $aversion[0])); + $this->_browser_name = self::BROWSER_BINGBOT; + $this->setRobot(true); + return true; + } + } + return false; + } + + /** + * Determine if the browser is the W3C Validator or not (last updated 1.7) + * @return boolean True if the browser is the W3C Validator otherwise false + */ + protected function checkBrowserW3CValidator() + { + if (stripos($this->_agent, 'W3C-checklink') !== false) { + $aresult = explode('/', stristr($this->_agent, 'W3C-checklink')); + if (isset($aresult[1])) { + $aversion = explode(' ', $aresult[1]); + $this->setVersion($aversion[0]); + $this->_browser_name = self::BROWSER_W3CVALIDATOR; + return true; + } + } else if (stripos($this->_agent, 'W3C_Validator') !== false) { + // Some of the Validator versions do not delineate w/ a slash - add it back in + $ua = str_replace("W3C_Validator ", "W3C_Validator/", $this->_agent); + $aresult = explode('/', stristr($ua, 'W3C_Validator')); + if (isset($aresult[1])) { + $aversion = explode(' ', $aresult[1]); + $this->setVersion($aversion[0]); + $this->_browser_name = self::BROWSER_W3CVALIDATOR; + return true; + } + } else if (stripos($this->_agent, 'W3C-mobileOK') !== false) { + $this->_browser_name = self::BROWSER_W3CVALIDATOR; + $this->setMobile(true); + return true; + } + return false; + } + + /** + * Determine if the browser is the Yahoo! Slurp Robot or not (last updated 1.7) + * @return boolean True if the browser is the Yahoo! Slurp Robot otherwise false + */ + protected function checkBrowserSlurp() + { + if (stripos($this->_agent, 'slurp') !== false) { + $aresult = explode('/', stristr($this->_agent, 'Slurp')); + if (isset($aresult[1])) { + $aversion = explode(' ', $aresult[1]); + $this->setVersion($aversion[0]); + $this->_browser_name = self::BROWSER_SLURP; + $this->setRobot(true); + $this->setMobile(false); + return true; + } + } + return false; + } + + /** + * Determine if the browser is Internet Explorer or not (last updated 1.7) + * @return boolean True if the browser is Internet Explorer otherwise false + */ + protected function checkBrowserInternetExplorer() + { + // Test for IE11 + if( stripos($this->_agent,'Trident/7.0; rv:11.0') !== false ) { + $this->setBrowser(self::BROWSER_IE); + $this->setVersion('11.0'); + return true; + } + // Test for v1 - v1.5 IE + else if (stripos($this->_agent, 'microsoft internet explorer') !== false) { + $this->setBrowser(self::BROWSER_IE); + $this->setVersion('1.0'); + $aresult = stristr($this->_agent, '/'); + if (preg_match('/308|425|426|474|0b1/i', $aresult)) { + $this->setVersion('1.5'); + } + return true; + } // Test for versions > 1.5 + else if (stripos($this->_agent, 'msie') !== false && stripos($this->_agent, 'opera') === false) { + // See if the browser is the odd MSN Explorer + if (stripos($this->_agent, 'msnb') !== false) { + $aresult = explode(' ', stristr(str_replace(';', '; ', $this->_agent), 'MSN')); + if (isset($aresult[1])) { + $this->setBrowser(self::BROWSER_MSN); + $this->setVersion(str_replace(array('(', ')', ';'), '', $aresult[1])); + return true; + } + } + $aresult = explode(' ', stristr(str_replace(';', '; ', $this->_agent), 'msie')); + if (isset($aresult[1])) { + $this->setBrowser(self::BROWSER_IE); + $this->setVersion(str_replace(array('(', ')', ';'), '', $aresult[1])); + if(stripos($this->_agent, 'IEMobile') !== false) { + $this->setBrowser(self::BROWSER_POCKET_IE); + $this->setMobile(true); + } + return true; + } + } // Test for versions > IE 10 + else if(stripos($this->_agent, 'trident') !== false) { + $this->setBrowser(self::BROWSER_IE); + $result = explode('rv:', $this->_agent); + if (isset($result[1])) { + $this->setVersion(preg_replace('/[^0-9.]+/', '', $result[1])); + $this->_agent = str_replace(array("Mozilla", "Gecko"), "MSIE", $this->_agent); + } + } // Test for Pocket IE + else if (stripos($this->_agent, 'mspie') !== false || stripos($this->_agent, 'pocket') !== false) { + $aresult = explode(' ', stristr($this->_agent, 'mspie')); + if (isset($aresult[1])) { + $this->setPlatform(self::PLATFORM_WINDOWS_CE); + $this->setBrowser(self::BROWSER_POCKET_IE); + $this->setMobile(true); + + if (stripos($this->_agent, 'mspie') !== false) { + $this->setVersion($aresult[1]); + } else { + $aversion = explode('/', $this->_agent); + if (isset($aversion[1])) { + $this->setVersion($aversion[1]); + } + } + return true; + } + } + return false; + } + + /** + * Determine if the browser is Opera or not (last updated 1.7) + * @return boolean True if the browser is Opera otherwise false + */ + protected function checkBrowserOpera() + { + if (stripos($this->_agent, 'opera mini') !== false) { + $resultant = stristr($this->_agent, 'opera mini'); + if (preg_match('/\//', $resultant)) { + $aresult = explode('/', $resultant); + if (isset($aresult[1])) { + $aversion = explode(' ', $aresult[1]); + $this->setVersion($aversion[0]); + } + } else { + $aversion = explode(' ', stristr($resultant, 'opera mini')); + if (isset($aversion[1])) { + $this->setVersion($aversion[1]); + } + } + $this->_browser_name = self::BROWSER_OPERA_MINI; + $this->setMobile(true); + return true; + } else if (stripos($this->_agent, 'opera') !== false) { + $resultant = stristr($this->_agent, 'opera'); + if (preg_match('/Version\/(1*.*)$/', $resultant, $matches)) { + $this->setVersion($matches[1]); + } else if (preg_match('/\//', $resultant)) { + $aresult = explode('/', str_replace("(", " ", $resultant)); + if (isset($aresult[1])) { + $aversion = explode(' ', $aresult[1]); + $this->setVersion($aversion[0]); + } + } else { + $aversion = explode(' ', stristr($resultant, 'opera')); + $this->setVersion(isset($aversion[1]) ? $aversion[1] : ""); + } + if (stripos($this->_agent, 'Opera Mobi') !== false) { + $this->setMobile(true); + } + $this->_browser_name = self::BROWSER_OPERA; + return true; + } else if (stripos($this->_agent, 'OPR') !== false) { + $resultant = stristr($this->_agent, 'OPR'); + if (preg_match('/\//', $resultant)) { + $aresult = explode('/', str_replace("(", " ", $resultant)); + if (isset($aresult[1])) { + $aversion = explode(' ', $aresult[1]); + $this->setVersion($aversion[0]); + } + } + if (stripos($this->_agent, 'Mobile') !== false) { + $this->setMobile(true); + } + $this->_browser_name = self::BROWSER_OPERA; + return true; + } + return false; + } + + /** + * Determine if the browser is Chrome or not (last updated 1.7) + * @return boolean True if the browser is Chrome otherwise false + */ + protected function checkBrowserChrome() + { + if (stripos($this->_agent, 'Chrome') !== false) { + $aresult = explode('/', stristr($this->_agent, 'Chrome')); + if (isset($aresult[1])) { + $aversion = explode(' ', $aresult[1]); + $this->setVersion($aversion[0]); + $this->setBrowser(self::BROWSER_CHROME); + //Chrome on Android + if (stripos($this->_agent, 'Android') !== false) { + if (stripos($this->_agent, 'Mobile') !== false) { + $this->setMobile(true); + } else { + $this->setTablet(true); + } + } + return true; + } + } + return false; + } + + + /** + * Determine if the browser is WebTv or not (last updated 1.7) + * @return boolean True if the browser is WebTv otherwise false + */ + protected function checkBrowserWebTv() + { + if (stripos($this->_agent, 'webtv') !== false) { + $aresult = explode('/', stristr($this->_agent, 'webtv')); + if (isset($aresult[1])) { + $aversion = explode(' ', $aresult[1]); + $this->setVersion($aversion[0]); + $this->setBrowser(self::BROWSER_WEBTV); + return true; + } + } + return false; + } + + /** + * Determine if the browser is NetPositive or not (last updated 1.7) + * @return boolean True if the browser is NetPositive otherwise false + */ + protected function checkBrowserNetPositive() + { + if (stripos($this->_agent, 'NetPositive') !== false) { + $aresult = explode('/', stristr($this->_agent, 'NetPositive')); + if (isset($aresult[1])) { + $aversion = explode(' ', $aresult[1]); + $this->setVersion(str_replace(array('(', ')', ';'), '', $aversion[0])); + $this->setBrowser(self::BROWSER_NETPOSITIVE); + return true; + } + } + return false; + } + + /** + * Determine if the browser is Galeon or not (last updated 1.7) + * @return boolean True if the browser is Galeon otherwise false + */ + protected function checkBrowserGaleon() + { + if (stripos($this->_agent, 'galeon') !== false) { + $aresult = explode(' ', stristr($this->_agent, 'galeon')); + $aversion = explode('/', $aresult[0]); + if (isset($aversion[1])) { + $this->setVersion($aversion[1]); + $this->setBrowser(self::BROWSER_GALEON); + return true; + } + } + return false; + } + + /** + * Determine if the browser is Konqueror or not (last updated 1.7) + * @return boolean True if the browser is Konqueror otherwise false + */ + protected function checkBrowserKonqueror() + { + if (stripos($this->_agent, 'Konqueror') !== false) { + $aresult = explode(' ', stristr($this->_agent, 'Konqueror')); + $aversion = explode('/', $aresult[0]); + if (isset($aversion[1])) { + $this->setVersion($aversion[1]); + $this->setBrowser(self::BROWSER_KONQUEROR); + return true; + } + } + return false; + } + + /** + * Determine if the browser is iCab or not (last updated 1.7) + * @return boolean True if the browser is iCab otherwise false + */ + protected function checkBrowserIcab() + { + if (stripos($this->_agent, 'icab') !== false) { + $aversion = explode(' ', stristr(str_replace('/', ' ', $this->_agent), 'icab')); + if (isset($aversion[1])) { + $this->setVersion($aversion[1]); + $this->setBrowser(self::BROWSER_ICAB); + return true; + } + } + return false; + } + + /** + * Determine if the browser is OmniWeb or not (last updated 1.7) + * @return boolean True if the browser is OmniWeb otherwise false + */ + protected function checkBrowserOmniWeb() + { + if (stripos($this->_agent, 'omniweb') !== false) { + $aresult = explode('/', stristr($this->_agent, 'omniweb')); + $aversion = explode(' ', isset($aresult[1]) ? $aresult[1] : ""); + $this->setVersion($aversion[0]); + $this->setBrowser(self::BROWSER_OMNIWEB); + return true; + } + return false; + } + + /** + * Determine if the browser is Phoenix or not (last updated 1.7) + * @return boolean True if the browser is Phoenix otherwise false + */ + protected function checkBrowserPhoenix() + { + if (stripos($this->_agent, 'Phoenix') !== false) { + $aversion = explode('/', stristr($this->_agent, 'Phoenix')); + if (isset($aversion[1])) { + $this->setVersion($aversion[1]); + $this->setBrowser(self::BROWSER_PHOENIX); + return true; + } + } + return false; + } + + /** + * Determine if the browser is Firebird or not (last updated 1.7) + * @return boolean True if the browser is Firebird otherwise false + */ + protected function checkBrowserFirebird() + { + if (stripos($this->_agent, 'Firebird') !== false) { + $aversion = explode('/', stristr($this->_agent, 'Firebird')); + if (isset($aversion[1])) { + $this->setVersion($aversion[1]); + $this->setBrowser(self::BROWSER_FIREBIRD); + return true; + } + } + return false; + } + + /** + * Determine if the browser is Netscape Navigator 9+ or not (last updated 1.7) + * NOTE: (http://browser.netscape.com/ - Official support ended on March 1st, 2008) + * @return boolean True if the browser is Netscape Navigator 9+ otherwise false + */ + protected function checkBrowserNetscapeNavigator9Plus() + { + if (stripos($this->_agent, 'Firefox') !== false && preg_match('/Navigator\/([^ ]*)/i', $this->_agent, $matches)) { + $this->setVersion($matches[1]); + $this->setBrowser(self::BROWSER_NETSCAPE_NAVIGATOR); + return true; + } else if (stripos($this->_agent, 'Firefox') === false && preg_match('/Netscape6?\/([^ ]*)/i', $this->_agent, $matches)) { + $this->setVersion($matches[1]); + $this->setBrowser(self::BROWSER_NETSCAPE_NAVIGATOR); + return true; + } + return false; + } + + /** + * Determine if the browser is Shiretoko or not (https://wiki.mozilla.org/Projects/shiretoko) (last updated 1.7) + * @return boolean True if the browser is Shiretoko otherwise false + */ + protected function checkBrowserShiretoko() + { + if (stripos($this->_agent, 'Mozilla') !== false && preg_match('/Shiretoko\/([^ ]*)/i', $this->_agent, $matches)) { + $this->setVersion($matches[1]); + $this->setBrowser(self::BROWSER_SHIRETOKO); + return true; + } + return false; + } + + /** + * Determine if the browser is Ice Cat or not (http://en.wikipedia.org/wiki/GNU_IceCat) (last updated 1.7) + * @return boolean True if the browser is Ice Cat otherwise false + */ + protected function checkBrowserIceCat() + { + if (stripos($this->_agent, 'Mozilla') !== false && preg_match('/IceCat\/([^ ]*)/i', $this->_agent, $matches)) { + $this->setVersion($matches[1]); + $this->setBrowser(self::BROWSER_ICECAT); + return true; + } + return false; + } + + /** + * Determine if the browser is Nokia or not (last updated 1.7) + * @return boolean True if the browser is Nokia otherwise false + */ + protected function checkBrowserNokia() + { + if (preg_match("/Nokia([^\/]+)\/([^ SP]+)/i", $this->_agent, $matches)) { + $this->setVersion($matches[2]); + if (stripos($this->_agent, 'Series60') !== false || strpos($this->_agent, 'S60') !== false) { + $this->setBrowser(self::BROWSER_NOKIA_S60); + } else { + $this->setBrowser(self::BROWSER_NOKIA); + } + $this->setMobile(true); + return true; + } + return false; + } + + /** + * Determine if the browser is Firefox or not (last updated 1.7) + * @return boolean True if the browser is Firefox otherwise false + */ + protected function checkBrowserFirefox() + { + if (stripos($this->_agent, 'safari') === false) { + if (preg_match("/Firefox[\/ \(]([^ ;\)]+)/i", $this->_agent, $matches)) { + $this->setVersion($matches[1]); + $this->setBrowser(self::BROWSER_FIREFOX); + //Firefox on Android + if (stripos($this->_agent, 'Android') !== false) { + if (stripos($this->_agent, 'Mobile') !== false) { + $this->setMobile(true); + } else { + $this->setTablet(true); + } + } + return true; + } else if (preg_match("/Firefox$/i", $this->_agent, $matches)) { + $this->setVersion(""); + $this->setBrowser(self::BROWSER_FIREFOX); + return true; + } + } + return false; + } + + /** + * Determine if the browser is Firefox or not (last updated 1.7) + * @return boolean True if the browser is Firefox otherwise false + */ + protected function checkBrowserIceweasel() + { + if (stripos($this->_agent, 'Iceweasel') !== false) { + $aresult = explode('/', stristr($this->_agent, 'Iceweasel')); + if (isset($aresult[1])) { + $aversion = explode(' ', $aresult[1]); + $this->setVersion($aversion[0]); + $this->setBrowser(self::BROWSER_ICEWEASEL); + return true; + } + } + return false; + } + + /** + * Determine if the browser is Mozilla or not (last updated 1.7) + * @return boolean True if the browser is Mozilla otherwise false + */ + protected function checkBrowserMozilla() + { + if (stripos($this->_agent, 'mozilla') !== false && preg_match('/rv:[0-9].[0-9][a-b]?/i', $this->_agent) && stripos($this->_agent, 'netscape') === false) { + $aversion = explode(' ', stristr($this->_agent, 'rv:')); + preg_match('/rv:[0-9].[0-9][a-b]?/i', $this->_agent, $aversion); + $this->setVersion(str_replace('rv:', '', $aversion[0])); + $this->setBrowser(self::BROWSER_MOZILLA); + return true; + } else if (stripos($this->_agent, 'mozilla') !== false && preg_match('/rv:[0-9]\.[0-9]/i', $this->_agent) && stripos($this->_agent, 'netscape') === false) { + $aversion = explode('', stristr($this->_agent, 'rv:')); + $this->setVersion(str_replace('rv:', '', $aversion[0])); + $this->setBrowser(self::BROWSER_MOZILLA); + return true; + } else if (stripos($this->_agent, 'mozilla') !== false && preg_match('/mozilla\/([^ ]*)/i', $this->_agent, $matches) && stripos($this->_agent, 'netscape') === false) { + $this->setVersion($matches[1]); + $this->setBrowser(self::BROWSER_MOZILLA); + return true; + } + return false; + } + + /** + * Determine if the browser is Lynx or not (last updated 1.7) + * @return boolean True if the browser is Lynx otherwise false + */ + protected function checkBrowserLynx() + { + if (stripos($this->_agent, 'lynx') !== false) { + $aresult = explode('/', stristr($this->_agent, 'Lynx')); + $aversion = explode(' ', (isset($aresult[1]) ? $aresult[1] : "")); + $this->setVersion($aversion[0]); + $this->setBrowser(self::BROWSER_LYNX); + return true; + } + return false; + } + + /** + * Determine if the browser is Amaya or not (last updated 1.7) + * @return boolean True if the browser is Amaya otherwise false + */ + protected function checkBrowserAmaya() + { + if (stripos($this->_agent, 'amaya') !== false) { + $aresult = explode('/', stristr($this->_agent, 'Amaya')); + if (isset($aresult[1])) { + $aversion = explode(' ', $aresult[1]); + $this->setVersion($aversion[0]); + $this->setBrowser(self::BROWSER_AMAYA); + return true; + } + } + return false; + } + + /** + * Determine if the browser is Safari or not (last updated 1.7) + * @return boolean True if the browser is Safari otherwise false + */ + protected function checkBrowserSafari() + { + if (stripos($this->_agent, 'Safari') !== false + && stripos($this->_agent, 'iPhone') === false + && stripos($this->_agent, 'iPod') === false) { + + $aresult = explode('/', stristr($this->_agent, 'Version')); + if (isset($aresult[1])) { + $aversion = explode(' ', $aresult[1]); + $this->setVersion($aversion[0]); + } else { + $this->setVersion(self::VERSION_UNKNOWN); + } + $this->setBrowser(self::BROWSER_SAFARI); + return true; + } + return false; + } + + /** + * Detect if URL is loaded from FacebookExternalHit + * @return boolean True if it detects FacebookExternalHit otherwise false + */ + protected function checkFacebookExternalHit() + { + if(stristr($this->_agent,'FacebookExternalHit')) + { + $this->setRobot(true); + $this->setFacebook(true); + return true; + } + return false; + } + + /** + * Detect if URL is being loaded from internal Facebook browser + * @return boolean True if it detects internal Facebook browser otherwise false + */ + protected function checkForFacebookIos() + { + if(stristr($this->_agent,'FBIOS')) + { + $this->setFacebook(true); + return true; + } + return false; + } + + /** + * Detect Version for the Safari browser on iOS devices + * @return boolean True if it detects the version correctly otherwise false + */ + protected function getSafariVersionOnIos() + { + $aresult = explode('/',stristr($this->_agent,'Version')); + if( isset($aresult[1]) ) + { + $aversion = explode(' ',$aresult[1]); + $this->setVersion($aversion[0]); + return true; + } + return false; + } + + /** + * Detect Version for the Chrome browser on iOS devices + * @return boolean True if it detects the version correctly otherwise false + */ + protected function getChromeVersionOnIos() + { + $aresult = explode('/',stristr($this->_agent,'CriOS')); + if( isset($aresult[1]) ) + { + $aversion = explode(' ',$aresult[1]); + $this->setVersion($aversion[0]); + $this->setBrowser(self::BROWSER_CHROME); + return true; + } + return false; + } + + /** + * Determine if the browser is iPhone or not (last updated 1.7) + * @return boolean True if the browser is iPhone otherwise false + */ + protected function checkBrowseriPhone() { + if( stripos($this->_agent,'iPhone') !== false ) { + $this->setVersion(self::VERSION_UNKNOWN); + $this->setBrowser(self::BROWSER_IPHONE); + $this->getSafariVersionOnIos(); + $this->getChromeVersionOnIos(); + $this->checkForFacebookIos(); + $this->setMobile(true); + return true; + } + return false; + } + + /** + * Determine if the browser is iPad or not (last updated 1.7) + * @return boolean True if the browser is iPad otherwise false + */ + protected function checkBrowseriPad() { + if( stripos($this->_agent,'iPad') !== false ) { + $this->setVersion(self::VERSION_UNKNOWN); + $this->setBrowser(self::BROWSER_IPAD); + $this->getSafariVersionOnIos(); + $this->getChromeVersionOnIos(); + $this->checkForFacebookIos(); + $this->setTablet(true); + return true; + } + return false; + } + + /** + * Determine if the browser is iPod or not (last updated 1.7) + * @return boolean True if the browser is iPod otherwise false + */ + protected function checkBrowseriPod() { + if( stripos($this->_agent,'iPod') !== false ) { + $this->setVersion(self::VERSION_UNKNOWN); + $this->setBrowser(self::BROWSER_IPOD); + $this->getSafariVersionOnIos(); + $this->getChromeVersionOnIos(); + $this->checkForFacebookIos(); + $this->setMobile(true); + return true; + } + return false; + } + + /** + * Determine if the browser is Android or not (last updated 1.7) + * @return boolean True if the browser is Android otherwise false + */ + protected function checkBrowserAndroid() + { + if (stripos($this->_agent, 'Android') !== false) { + $aresult = explode(' ', stristr($this->_agent, 'Android')); + if (isset($aresult[1])) { + $aversion = explode(' ', $aresult[1]); + $this->setVersion($aversion[0]); + } else { + $this->setVersion(self::VERSION_UNKNOWN); + } + if (stripos($this->_agent, 'Mobile') !== false) { + $this->setMobile(true); + } else { + $this->setTablet(true); + } + $this->setBrowser(self::BROWSER_ANDROID); + return true; + } + return false; + } + + /** + * Determine the user's platform (last updated 1.7) + */ + protected function checkPlatform() + { + if (stripos($this->_agent, 'windows') !== false) + { + $this->_platform = self::PLATFORM_WINDOWS; + } + else if (stripos($this->_agent, 'iPad') !== false) + { + $this->_platform = self::PLATFORM_IPAD; + } + else if (stripos($this->_agent, 'iPod') !== false) + { + $this->_platform = self::PLATFORM_IPOD; + } + else if (stripos($this->_agent, 'iPhone') !== false) + { + $this->_platform = self::PLATFORM_IPHONE; + } + elseif (stripos($this->_agent, 'mac') !== false) + { + $this->_platform = self::PLATFORM_APPLE; + } + elseif (stripos($this->_agent, 'android') !== false) + { + $this->_platform = self::PLATFORM_ANDROID; + } + elseif (stripos($this->_agent, 'linux') !== false) + { + $this->_platform = self::PLATFORM_LINUX; + } + else if (stripos($this->_agent, 'Nokia') !== false) + { + $this->_platform = self::PLATFORM_NOKIA; + } + else if (stripos($this->_agent, 'BlackBerry') !== false) + { + $this->_platform = self::PLATFORM_BLACKBERRY; + } + elseif (stripos($this->_agent, 'FreeBSD') !== false) + { + $this->_platform = self::PLATFORM_FREEBSD; + } + elseif (stripos($this->_agent, 'OpenBSD') !== false) + { + $this->_platform = self::PLATFORM_OPENBSD; + } + elseif (stripos($this->_agent, 'NetBSD') !== false) + { + $this->_platform = self::PLATFORM_NETBSD; + } + elseif (stripos($this->_agent, 'OpenSolaris') !== false) + { + $this->_platform = self::PLATFORM_OPENSOLARIS; + } + elseif (stripos($this->_agent, 'SunOS') !== false) + { + $this->_platform = self::PLATFORM_SUNOS; + } + elseif (stripos($this->_agent, 'OS\/2') !== false) + { + $this->_platform = self::PLATFORM_OS2; + } + elseif (stripos($this->_agent, 'BeOS') !== false) + { + $this->_platform = self::PLATFORM_BEOS; + } + elseif (stripos($this->_agent, 'win') !== false) + { + $this->_platform = self::PLATFORM_WINDOWS; + } + + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/cbschuld/browser.php/phpunit.xml.dist b/wp-content/plugins/google-calendar-events/vendor/cbschuld/browser.php/phpunit.xml.dist new file mode 100644 index 0000000..79c5c67 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/cbschuld/browser.php/phpunit.xml.dist @@ -0,0 +1,29 @@ + + + + + test/Unit + + + + + lib/ + + + diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/ClassLoader.php b/wp-content/plugins/google-calendar-events/vendor/composer/ClassLoader.php new file mode 100644 index 0000000..5e1469e --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/ClassLoader.php @@ -0,0 +1,413 @@ + + * Jordi Boggiano + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Composer\Autoload; + +/** + * ClassLoader implements a PSR-0 class loader + * + * See https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md + * + * $loader = new \Composer\Autoload\ClassLoader(); + * + * // register classes with namespaces + * $loader->add('Symfony\Component', __DIR__.'/component'); + * $loader->add('Symfony', __DIR__.'/framework'); + * + * // activate the autoloader + * $loader->register(); + * + * // to enable searching the include path (eg. for PEAR packages) + * $loader->setUseIncludePath(true); + * + * In this example, if you try to use a class in the Symfony\Component + * namespace or one of its children (Symfony\Component\Console for instance), + * the autoloader will first look for the class under the component/ + * directory, and it will then fallback to the framework/ directory if not + * found before giving up. + * + * This class is loosely based on the Symfony UniversalClassLoader. + * + * @author Fabien Potencier + * @author Jordi Boggiano + */ +class ClassLoader +{ + // PSR-4 + private $prefixLengthsPsr4 = array(); + private $prefixDirsPsr4 = array(); + private $fallbackDirsPsr4 = array(); + + // PSR-0 + private $prefixesPsr0 = array(); + private $fallbackDirsPsr0 = array(); + + private $useIncludePath = false; + private $classMap = array(); + + private $classMapAuthoritative = false; + + public function getPrefixes() + { + if (!empty($this->prefixesPsr0)) { + return call_user_func_array('array_merge', $this->prefixesPsr0); + } + + return array(); + } + + public function getPrefixesPsr4() + { + return $this->prefixDirsPsr4; + } + + public function getFallbackDirs() + { + return $this->fallbackDirsPsr0; + } + + public function getFallbackDirsPsr4() + { + return $this->fallbackDirsPsr4; + } + + public function getClassMap() + { + return $this->classMap; + } + + /** + * @param array $classMap Class to filename map + */ + public function addClassMap(array $classMap) + { + if ($this->classMap) { + $this->classMap = array_merge($this->classMap, $classMap); + } else { + $this->classMap = $classMap; + } + } + + /** + * Registers a set of PSR-0 directories for a given prefix, either + * appending or prepending to the ones previously set for this prefix. + * + * @param string $prefix The prefix + * @param array|string $paths The PSR-0 root directories + * @param bool $prepend Whether to prepend the directories + */ + public function add($prefix, $paths, $prepend = false) + { + if (!$prefix) { + if ($prepend) { + $this->fallbackDirsPsr0 = array_merge( + (array) $paths, + $this->fallbackDirsPsr0 + ); + } else { + $this->fallbackDirsPsr0 = array_merge( + $this->fallbackDirsPsr0, + (array) $paths + ); + } + + return; + } + + $first = $prefix[0]; + if (!isset($this->prefixesPsr0[$first][$prefix])) { + $this->prefixesPsr0[$first][$prefix] = (array) $paths; + + return; + } + if ($prepend) { + $this->prefixesPsr0[$first][$prefix] = array_merge( + (array) $paths, + $this->prefixesPsr0[$first][$prefix] + ); + } else { + $this->prefixesPsr0[$first][$prefix] = array_merge( + $this->prefixesPsr0[$first][$prefix], + (array) $paths + ); + } + } + + /** + * Registers a set of PSR-4 directories for a given namespace, either + * appending or prepending to the ones previously set for this namespace. + * + * @param string $prefix The prefix/namespace, with trailing '\\' + * @param array|string $paths The PSR-0 base directories + * @param bool $prepend Whether to prepend the directories + * + * @throws \InvalidArgumentException + */ + public function addPsr4($prefix, $paths, $prepend = false) + { + if (!$prefix) { + // Register directories for the root namespace. + if ($prepend) { + $this->fallbackDirsPsr4 = array_merge( + (array) $paths, + $this->fallbackDirsPsr4 + ); + } else { + $this->fallbackDirsPsr4 = array_merge( + $this->fallbackDirsPsr4, + (array) $paths + ); + } + } elseif (!isset($this->prefixDirsPsr4[$prefix])) { + // Register directories for a new namespace. + $length = strlen($prefix); + if ('\\' !== $prefix[$length - 1]) { + throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator."); + } + $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length; + $this->prefixDirsPsr4[$prefix] = (array) $paths; + } elseif ($prepend) { + // Prepend directories for an already registered namespace. + $this->prefixDirsPsr4[$prefix] = array_merge( + (array) $paths, + $this->prefixDirsPsr4[$prefix] + ); + } else { + // Append directories for an already registered namespace. + $this->prefixDirsPsr4[$prefix] = array_merge( + $this->prefixDirsPsr4[$prefix], + (array) $paths + ); + } + } + + /** + * Registers a set of PSR-0 directories for a given prefix, + * replacing any others previously set for this prefix. + * + * @param string $prefix The prefix + * @param array|string $paths The PSR-0 base directories + */ + public function set($prefix, $paths) + { + if (!$prefix) { + $this->fallbackDirsPsr0 = (array) $paths; + } else { + $this->prefixesPsr0[$prefix[0]][$prefix] = (array) $paths; + } + } + + /** + * Registers a set of PSR-4 directories for a given namespace, + * replacing any others previously set for this namespace. + * + * @param string $prefix The prefix/namespace, with trailing '\\' + * @param array|string $paths The PSR-4 base directories + * + * @throws \InvalidArgumentException + */ + public function setPsr4($prefix, $paths) + { + if (!$prefix) { + $this->fallbackDirsPsr4 = (array) $paths; + } else { + $length = strlen($prefix); + if ('\\' !== $prefix[$length - 1]) { + throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator."); + } + $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length; + $this->prefixDirsPsr4[$prefix] = (array) $paths; + } + } + + /** + * Turns on searching the include path for class files. + * + * @param bool $useIncludePath + */ + public function setUseIncludePath($useIncludePath) + { + $this->useIncludePath = $useIncludePath; + } + + /** + * Can be used to check if the autoloader uses the include path to check + * for classes. + * + * @return bool + */ + public function getUseIncludePath() + { + return $this->useIncludePath; + } + + /** + * Turns off searching the prefix and fallback directories for classes + * that have not been registered with the class map. + * + * @param bool $classMapAuthoritative + */ + public function setClassMapAuthoritative($classMapAuthoritative) + { + $this->classMapAuthoritative = $classMapAuthoritative; + } + + /** + * Should class lookup fail if not found in the current class map? + * + * @return bool + */ + public function isClassMapAuthoritative() + { + return $this->classMapAuthoritative; + } + + /** + * Registers this instance as an autoloader. + * + * @param bool $prepend Whether to prepend the autoloader or not + */ + public function register($prepend = false) + { + spl_autoload_register(array($this, 'loadClass'), true, $prepend); + } + + /** + * Unregisters this instance as an autoloader. + */ + public function unregister() + { + spl_autoload_unregister(array($this, 'loadClass')); + } + + /** + * Loads the given class or interface. + * + * @param string $class The name of the class + * @return bool|null True if loaded, null otherwise + */ + public function loadClass($class) + { + if ($file = $this->findFile($class)) { + includeFile($file); + + return true; + } + } + + /** + * Finds the path to the file where the class is defined. + * + * @param string $class The name of the class + * + * @return string|false The path if found, false otherwise + */ + public function findFile($class) + { + // work around for PHP 5.3.0 - 5.3.2 https://bugs.php.net/50731 + if ('\\' == $class[0]) { + $class = substr($class, 1); + } + + // class map lookup + if (isset($this->classMap[$class])) { + return $this->classMap[$class]; + } + if ($this->classMapAuthoritative) { + return false; + } + + $file = $this->findFileWithExtension($class, '.php'); + + // Search for Hack files if we are running on HHVM + if ($file === null && defined('HHVM_VERSION')) { + $file = $this->findFileWithExtension($class, '.hh'); + } + + if ($file === null) { + // Remember that this class does not exist. + return $this->classMap[$class] = false; + } + + return $file; + } + + private function findFileWithExtension($class, $ext) + { + // PSR-4 lookup + $logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR) . $ext; + + $first = $class[0]; + if (isset($this->prefixLengthsPsr4[$first])) { + foreach ($this->prefixLengthsPsr4[$first] as $prefix => $length) { + if (0 === strpos($class, $prefix)) { + foreach ($this->prefixDirsPsr4[$prefix] as $dir) { + if (file_exists($file = $dir . DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $length))) { + return $file; + } + } + } + } + } + + // PSR-4 fallback dirs + foreach ($this->fallbackDirsPsr4 as $dir) { + if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) { + return $file; + } + } + + // PSR-0 lookup + if (false !== $pos = strrpos($class, '\\')) { + // namespaced class name + $logicalPathPsr0 = substr($logicalPathPsr4, 0, $pos + 1) + . strtr(substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR); + } else { + // PEAR-like class name + $logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR) . $ext; + } + + if (isset($this->prefixesPsr0[$first])) { + foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) { + if (0 === strpos($class, $prefix)) { + foreach ($dirs as $dir) { + if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) { + return $file; + } + } + } + } + } + + // PSR-0 fallback dirs + foreach ($this->fallbackDirsPsr0 as $dir) { + if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) { + return $file; + } + } + + // PSR-0 include paths. + if ($this->useIncludePath && $file = stream_resolve_include_path($logicalPathPsr0)) { + return $file; + } + } +} + +/** + * Scope isolated include. + * + * Prevents access to $this/self from included files. + */ +function includeFile($file) +{ + include $file; +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/ClassLoader52.php b/wp-content/plugins/google-calendar-events/vendor/composer/ClassLoader52.php new file mode 100644 index 0000000..d721c7e --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/ClassLoader52.php @@ -0,0 +1,271 @@ + + * - Jordi Boggiano + */ + +class xrstf_Composer52_ClassLoader { + private $prefixes = array(); + private $fallbackDirs = array(); + private $useIncludePath = false; + private $classMap = array(); + private $classMapAuthoratative = false; + private $allowUnderscore = false; + + /** + * @param boolean $flag true to allow class names with a leading underscore, false to disable + */ + public function setAllowUnderscore($flag) { + $this->allowUnderscore = (boolean) $flag; + } + + /** + * @return array + */ + public function getPrefixes() { + return $this->prefixes; + } + + /** + * Turns off searching the prefix and fallback directories for classes + * that have not been registered with the class map. + * + * @param bool $classMapAuthoratative + */ + public function setClassMapAuthoritative($classMapAuthoratative) { + $this->classMapAuthoratative = $classMapAuthoratative; + } + + /** + * Should class lookup fail if not found in the current class map? + * + * @return bool + */ + public function getClassMapAuthoratative() { + return $this->classMapAuthoratative; + } + + /** + * @return array + */ + public function getFallbackDirs() { + return $this->fallbackDirs; + } + + /** + * @return array + */ + public function getClassMap() { + return $this->classMap; + } + + /** + * @param array $classMap class to filename map + */ + public function addClassMap(array $classMap) { + if ($this->classMap) { + $this->classMap = array_merge($this->classMap, $classMap); + } + else { + $this->classMap = $classMap; + } + } + + /** + * Registers a set of classes, merging with any others previously set. + * + * @param string $prefix the classes prefix + * @param array|string $paths the location(s) of the classes + * @param bool $prepend prepend the location(s) + */ + public function add($prefix, $paths, $prepend = false) { + if (!$prefix) { + if ($prepend) { + $this->fallbackDirs = array_merge( + (array) $paths, + $this->fallbackDirs + ); + } + else { + $this->fallbackDirs = array_merge( + $this->fallbackDirs, + (array) $paths + ); + } + + return; + } + + if (!isset($this->prefixes[$prefix])) { + $this->prefixes[$prefix] = (array) $paths; + return; + } + + if ($prepend) { + $this->prefixes[$prefix] = array_merge( + (array) $paths, + $this->prefixes[$prefix] + ); + } + else { + $this->prefixes[$prefix] = array_merge( + $this->prefixes[$prefix], + (array) $paths + ); + } + } + + /** + * Registers a set of classes, replacing any others previously set. + * + * @param string $prefix the classes prefix + * @param array|string $paths the location(s) of the classes + */ + public function set($prefix, $paths) { + if (!$prefix) { + $this->fallbackDirs = (array) $paths; + return; + } + + $this->prefixes[$prefix] = (array) $paths; + } + + /** + * Turns on searching the include path for class files. + * + * @param bool $useIncludePath + */ + public function setUseIncludePath($useIncludePath) { + $this->useIncludePath = $useIncludePath; + } + + /** + * Can be used to check if the autoloader uses the include path to check + * for classes. + * + * @return bool + */ + public function getUseIncludePath() { + return $this->useIncludePath; + } + + /** + * Registers this instance as an autoloader. + */ + public function register() { + spl_autoload_register(array($this, 'loadClass'), true); + } + + /** + * Unregisters this instance as an autoloader. + */ + public function unregister() { + spl_autoload_unregister(array($this, 'loadClass')); + } + + /** + * Loads the given class or interface. + * + * @param string $class the name of the class + * @return bool|null true, if loaded + */ + public function loadClass($class) { + if ($file = $this->findFile($class)) { + include $file; + return true; + } + } + + /** + * Finds the path to the file where the class is defined. + * + * @param string $class the name of the class + * @return string|null the path, if found + */ + public function findFile($class) { + if ('\\' === $class[0]) { + $class = substr($class, 1); + } + + if (isset($this->classMap[$class])) { + return $this->classMap[$class]; + } + elseif ($this->classMapAuthoratative) { + return false; + } + + $classPath = $this->getClassPath($class); + + foreach ($this->prefixes as $prefix => $dirs) { + if (0 === strpos($class, $prefix)) { + foreach ($dirs as $dir) { + if (file_exists($dir.DIRECTORY_SEPARATOR.$classPath)) { + return $dir.DIRECTORY_SEPARATOR.$classPath; + } + } + } + } + + foreach ($this->fallbackDirs as $dir) { + if (file_exists($dir.DIRECTORY_SEPARATOR.$classPath)) { + return $dir.DIRECTORY_SEPARATOR.$classPath; + } + } + + if ($this->useIncludePath && $file = self::resolveIncludePath($classPath)) { + return $file; + } + + return $this->classMap[$class] = false; + } + + private function getClassPath($class) { + if (false !== $pos = strrpos($class, '\\')) { + // namespaced class name + $classPath = str_replace('\\', DIRECTORY_SEPARATOR, substr($class, 0, $pos)).DIRECTORY_SEPARATOR; + $className = substr($class, $pos + 1); + } + else { + // PEAR-like class name + $classPath = null; + $className = $class; + } + + $className = str_replace('_', DIRECTORY_SEPARATOR, $className); + + // restore the prefix + if ($this->allowUnderscore && DIRECTORY_SEPARATOR === $className[0]) { + $className[0] = '_'; + } + + $classPath .= $className.'.php'; + + return $classPath; + } + + public static function resolveIncludePath($classPath) { + $paths = explode(PATH_SEPARATOR, get_include_path()); + + foreach ($paths as $path) { + $path = rtrim($path, '/\\'); + + if ($file = file_exists($path.DIRECTORY_SEPARATOR.$file)) { + return $file; + } + } + + return false; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/LICENSE b/wp-content/plugins/google-calendar-events/vendor/composer/LICENSE new file mode 100644 index 0000000..c8d57af --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/LICENSE @@ -0,0 +1,21 @@ + +Copyright (c) 2015 Nils Adermann, Jordi Boggiano + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is furnished +to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/autoload_classmap.php b/wp-content/plugins/google-calendar-events/vendor/composer/autoload_classmap.php new file mode 100644 index 0000000..71e725f --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/autoload_classmap.php @@ -0,0 +1,3710 @@ + $vendorDir . '/nesbot/carbon/src/Carbon/Carbon.php', + 'Carbon\\CarbonInterval' => $vendorDir . '/nesbot/carbon/src/Carbon/CarbonInterval.php', + 'Composer\\Installers\\AglInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/AglInstaller.php', + 'Composer\\Installers\\AimeosInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/AimeosInstaller.php', + 'Composer\\Installers\\AnnotateCmsInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php', + 'Composer\\Installers\\AsgardInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/AsgardInstaller.php', + 'Composer\\Installers\\BaseInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/BaseInstaller.php', + 'Composer\\Installers\\BitrixInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/BitrixInstaller.php', + 'Composer\\Installers\\BonefishInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/BonefishInstaller.php', + 'Composer\\Installers\\CakePHPInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/CakePHPInstaller.php', + 'Composer\\Installers\\ChefInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ChefInstaller.php', + 'Composer\\Installers\\ClanCatsFrameworkInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php', + 'Composer\\Installers\\CodeIgniterInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php', + 'Composer\\Installers\\Concrete5Installer' => $vendorDir . '/composer/installers/src/Composer/Installers/Concrete5Installer.php', + 'Composer\\Installers\\CraftInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/CraftInstaller.php', + 'Composer\\Installers\\CroogoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/CroogoInstaller.php', + 'Composer\\Installers\\DokuWikiInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/DokuWikiInstaller.php', + 'Composer\\Installers\\DolibarrInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/DolibarrInstaller.php', + 'Composer\\Installers\\DrupalInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/DrupalInstaller.php', + 'Composer\\Installers\\ElggInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ElggInstaller.php', + 'Composer\\Installers\\FuelInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/FuelInstaller.php', + 'Composer\\Installers\\FuelphpInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/FuelphpInstaller.php', + 'Composer\\Installers\\GravInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/GravInstaller.php', + 'Composer\\Installers\\HuradInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/HuradInstaller.php', + 'Composer\\Installers\\Installer' => $vendorDir . '/composer/installers/src/Composer/Installers/Installer.php', + 'Composer\\Installers\\JoomlaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/JoomlaInstaller.php', + 'Composer\\Installers\\KirbyInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/KirbyInstaller.php', + 'Composer\\Installers\\KodiCMSInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/KodiCMSInstaller.php', + 'Composer\\Installers\\KohanaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/KohanaInstaller.php', + 'Composer\\Installers\\LaravelInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/LaravelInstaller.php', + 'Composer\\Installers\\LithiumInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/LithiumInstaller.php', + 'Composer\\Installers\\MODULEWorkInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php', + 'Composer\\Installers\\MODXEvoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MODXEvoInstaller.php', + 'Composer\\Installers\\MagentoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MagentoInstaller.php', + 'Composer\\Installers\\MakoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MakoInstaller.php', + 'Composer\\Installers\\MediaWikiInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MediaWikiInstaller.php', + 'Composer\\Installers\\MicroweberInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MicroweberInstaller.php', + 'Composer\\Installers\\MoodleInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MoodleInstaller.php', + 'Composer\\Installers\\OctoberInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/OctoberInstaller.php', + 'Composer\\Installers\\OxidInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/OxidInstaller.php', + 'Composer\\Installers\\PPIInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PPIInstaller.php', + 'Composer\\Installers\\PhpBBInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PhpBBInstaller.php', + 'Composer\\Installers\\PimcoreInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PimcoreInstaller.php', + 'Composer\\Installers\\PiwikInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PiwikInstaller.php', + 'Composer\\Installers\\Plugin' => $vendorDir . '/composer/installers/src/Composer/Installers/Plugin.php', + 'Composer\\Installers\\PrestashopInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PrestashopInstaller.php', + 'Composer\\Installers\\PuppetInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PuppetInstaller.php', + 'Composer\\Installers\\RedaxoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/RedaxoInstaller.php', + 'Composer\\Installers\\RoundcubeInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/RoundcubeInstaller.php', + 'Composer\\Installers\\SMFInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/SMFInstaller.php', + 'Composer\\Installers\\ShopwareInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ShopwareInstaller.php', + 'Composer\\Installers\\SilverStripeInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/SilverStripeInstaller.php', + 'Composer\\Installers\\Symfony1Installer' => $vendorDir . '/composer/installers/src/Composer/Installers/Symfony1Installer.php', + 'Composer\\Installers\\TYPO3CmsInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php', + 'Composer\\Installers\\TYPO3FlowInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php', + 'Composer\\Installers\\TheliaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/TheliaInstaller.php', + 'Composer\\Installers\\TuskInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/TuskInstaller.php', + 'Composer\\Installers\\WHMCSInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/WHMCSInstaller.php', + 'Composer\\Installers\\WolfCMSInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/WolfCMSInstaller.php', + 'Composer\\Installers\\WordPressInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/WordPressInstaller.php', + 'Composer\\Installers\\ZendInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ZendInstaller.php', + 'Composer\\Installers\\ZikulaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ZikulaInstaller.php', + 'Google_Auth_Abstract' => $vendorDir . '/google/apiclient/src/Google/Auth/Abstract.php', + 'Google_Auth_AppIdentity' => $vendorDir . '/google/apiclient/src/Google/Auth/AppIdentity.php', + 'Google_Auth_AssertionCredentials' => $vendorDir . '/google/apiclient/src/Google/Auth/AssertionCredentials.php', + 'Google_Auth_ComputeEngine' => $vendorDir . '/google/apiclient/src/Google/Auth/ComputeEngine.php', + 'Google_Auth_Exception' => $vendorDir . '/google/apiclient/src/Google/Auth/Exception.php', + 'Google_Auth_LoginTicket' => $vendorDir . '/google/apiclient/src/Google/Auth/LoginTicket.php', + 'Google_Auth_OAuth2' => $vendorDir . '/google/apiclient/src/Google/Auth/OAuth2.php', + 'Google_Auth_Simple' => $vendorDir . '/google/apiclient/src/Google/Auth/Simple.php', + 'Google_Cache_Abstract' => $vendorDir . '/google/apiclient/src/Google/Cache/Abstract.php', + 'Google_Cache_Apc' => $vendorDir . '/google/apiclient/src/Google/Cache/Apc.php', + 'Google_Cache_Exception' => $vendorDir . '/google/apiclient/src/Google/Cache/Exception.php', + 'Google_Cache_File' => $vendorDir . '/google/apiclient/src/Google/Cache/File.php', + 'Google_Cache_Memcache' => $vendorDir . '/google/apiclient/src/Google/Cache/Memcache.php', + 'Google_Cache_Null' => $vendorDir . '/google/apiclient/src/Google/Cache/Null.php', + 'Google_Client' => $vendorDir . '/google/apiclient/src/Google/Client.php', + 'Google_Collection' => $vendorDir . '/google/apiclient/src/Google/Collection.php', + 'Google_Config' => $vendorDir . '/google/apiclient/src/Google/Config.php', + 'Google_Exception' => $vendorDir . '/google/apiclient/src/Google/Exception.php', + 'Google_Http_Batch' => $vendorDir . '/google/apiclient/src/Google/Http/Batch.php', + 'Google_Http_CacheParser' => $vendorDir . '/google/apiclient/src/Google/Http/CacheParser.php', + 'Google_Http_MediaFileUpload' => $vendorDir . '/google/apiclient/src/Google/Http/MediaFileUpload.php', + 'Google_Http_REST' => $vendorDir . '/google/apiclient/src/Google/Http/REST.php', + 'Google_Http_Request' => $vendorDir . '/google/apiclient/src/Google/Http/Request.php', + 'Google_IO_Abstract' => $vendorDir . '/google/apiclient/src/Google/IO/Abstract.php', + 'Google_IO_Curl' => $vendorDir . '/google/apiclient/src/Google/IO/Curl.php', + 'Google_IO_Exception' => $vendorDir . '/google/apiclient/src/Google/IO/Exception.php', + 'Google_IO_Stream' => $vendorDir . '/google/apiclient/src/Google/IO/Stream.php', + 'Google_Logger_Abstract' => $vendorDir . '/google/apiclient/src/Google/Logger/Abstract.php', + 'Google_Logger_Exception' => $vendorDir . '/google/apiclient/src/Google/Logger/Exception.php', + 'Google_Logger_File' => $vendorDir . '/google/apiclient/src/Google/Logger/File.php', + 'Google_Logger_Null' => $vendorDir . '/google/apiclient/src/Google/Logger/Null.php', + 'Google_Logger_Psr' => $vendorDir . '/google/apiclient/src/Google/Logger/Psr.php', + 'Google_Model' => $vendorDir . '/google/apiclient/src/Google/Model.php', + 'Google_Service' => $vendorDir . '/google/apiclient/src/Google/Service.php', + 'Google_Service_AdExchangeBuyer' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_Account' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_AccountBidderLocation' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_AccountsList' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_Accounts_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_AdSize' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_AdSlotDto' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_AddOrderDealsRequest' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_AddOrderDealsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_AddOrderNotesRequest' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_AddOrderNotesResponse' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_AdvertiserDto' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_AudienceSegment' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_BillingInfo' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_BillingInfoList' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_BillingInfo_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_BrandDto' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_Budget' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_Budget_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_Buyer' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_BuyerDto' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_ClientAccessCapabilities' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_Clientaccess_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_ContactInformation' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_CreateOrdersRequest' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_CreateOrdersResponse' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_Creative' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_CreativeCorrections' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_CreativeFilteringReasons' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_CreativeFilteringReasonsReasons' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_CreativeNativeAd' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_CreativeNativeAdAppIcon' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_CreativeNativeAdImage' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_CreativeNativeAdLogo' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_CreativeServingRestrictions' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_CreativeServingRestrictionsContexts' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_CreativeServingRestrictionsDisapprovalReasons' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_CreativesList' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_Creatives_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_DateTime' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_DealPartyDto' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_DealTerms' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTerms' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedAuctionTerms' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedFixedPriceTerms' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_Deals_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_DeleteOrderDealsRequest' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_DeleteOrderDealsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_DeliveryControl' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_DeliveryControlFrequencyCap' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_EditAllOrderDealsRequest' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_EditAllOrderDealsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_EditHistoryDto' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_GetFinalizedNegotiationByExternalDealIdRequest' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_GetNegotiationByIdRequest' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_GetNegotiationsRequest' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_GetNegotiationsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_GetOffersResponse' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_GetOrderDealsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_GetOrderNotesResponse' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_GetOrdersResponse' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_InventorySegmentTargeting' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_ListClientAccessCapabilitiesRequest' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_ListClientAccessCapabilitiesResponse' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_ListOffersRequest' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_ListOffersResponse' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_MarketplaceDeal' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_MarketplaceDealParty' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_MarketplaceLabel' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_MarketplaceNote' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_MarketplaceOffer' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_MarketplaceOrder' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_Marketplacedeals_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_Marketplacenotes_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_Marketplaceoffers_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_Marketplaceorders_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_MoneyDto' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_NegotiationDto' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_NegotiationRoundDto' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_Negotiationrounds_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_Negotiations_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_OfferDto' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_Offers_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_PerformanceReport' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_PerformanceReportList' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_PerformanceReport_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_PretargetingConfig' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_PretargetingConfigDimensions' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_PretargetingConfigExcludedPlacements' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_PretargetingConfigList' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_PretargetingConfigPlacements' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_PretargetingConfig_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_Price' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_PricePerBuyer' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_PrivateData' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_RuleKeyValuePair' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_Seller' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_SharedTargeting' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_StatsDto' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_TargetingValue' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_TargetingValueCreativeSize' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_TargetingValueDayPartTargeting' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_TargetingValueDayPartTargetingDayPart' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_TargetingValueSize' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_TermsDto' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeBuyer_WebPropertyDto' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeBuyer.php', + 'Google_Service_AdExchangeSeller' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeSeller.php', + 'Google_Service_AdExchangeSeller_Account' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeSeller.php', + 'Google_Service_AdExchangeSeller_Accounts' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeSeller.php', + 'Google_Service_AdExchangeSeller_AccountsAdclients_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeSeller.php', + 'Google_Service_AdExchangeSeller_AccountsAlerts_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeSeller.php', + 'Google_Service_AdExchangeSeller_AccountsCustomchannels_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeSeller.php', + 'Google_Service_AdExchangeSeller_AccountsMetadataDimensions_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeSeller.php', + 'Google_Service_AdExchangeSeller_AccountsMetadataMetrics_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeSeller.php', + 'Google_Service_AdExchangeSeller_AccountsMetadata_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeSeller.php', + 'Google_Service_AdExchangeSeller_AccountsPreferreddeals_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeSeller.php', + 'Google_Service_AdExchangeSeller_AccountsReportsSaved_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeSeller.php', + 'Google_Service_AdExchangeSeller_AccountsReports_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeSeller.php', + 'Google_Service_AdExchangeSeller_AccountsUrlchannels_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeSeller.php', + 'Google_Service_AdExchangeSeller_Accounts_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeSeller.php', + 'Google_Service_AdExchangeSeller_AdClient' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeSeller.php', + 'Google_Service_AdExchangeSeller_AdClients' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeSeller.php', + 'Google_Service_AdExchangeSeller_Alert' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeSeller.php', + 'Google_Service_AdExchangeSeller_Alerts' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeSeller.php', + 'Google_Service_AdExchangeSeller_CustomChannel' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeSeller.php', + 'Google_Service_AdExchangeSeller_CustomChannelTargetingInfo' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeSeller.php', + 'Google_Service_AdExchangeSeller_CustomChannels' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeSeller.php', + 'Google_Service_AdExchangeSeller_Metadata' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeSeller.php', + 'Google_Service_AdExchangeSeller_PreferredDeal' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeSeller.php', + 'Google_Service_AdExchangeSeller_PreferredDeals' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeSeller.php', + 'Google_Service_AdExchangeSeller_Report' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeSeller.php', + 'Google_Service_AdExchangeSeller_ReportHeaders' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeSeller.php', + 'Google_Service_AdExchangeSeller_ReportingMetadataEntry' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeSeller.php', + 'Google_Service_AdExchangeSeller_SavedReport' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeSeller.php', + 'Google_Service_AdExchangeSeller_SavedReports' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeSeller.php', + 'Google_Service_AdExchangeSeller_UrlChannel' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeSeller.php', + 'Google_Service_AdExchangeSeller_UrlChannels' => $vendorDir . '/google/apiclient/src/Google/Service/AdExchangeSeller.php', + 'Google_Service_AdSense' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSenseHost' => $vendorDir . '/google/apiclient/src/Google/Service/AdSenseHost.php', + 'Google_Service_AdSenseHost_Account' => $vendorDir . '/google/apiclient/src/Google/Service/AdSenseHost.php', + 'Google_Service_AdSenseHost_Accounts' => $vendorDir . '/google/apiclient/src/Google/Service/AdSenseHost.php', + 'Google_Service_AdSenseHost_AccountsAdclients_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdSenseHost.php', + 'Google_Service_AdSenseHost_AccountsAdunits_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdSenseHost.php', + 'Google_Service_AdSenseHost_AccountsReports_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdSenseHost.php', + 'Google_Service_AdSenseHost_Accounts_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdSenseHost.php', + 'Google_Service_AdSenseHost_AdClient' => $vendorDir . '/google/apiclient/src/Google/Service/AdSenseHost.php', + 'Google_Service_AdSenseHost_AdClients' => $vendorDir . '/google/apiclient/src/Google/Service/AdSenseHost.php', + 'Google_Service_AdSenseHost_AdCode' => $vendorDir . '/google/apiclient/src/Google/Service/AdSenseHost.php', + 'Google_Service_AdSenseHost_AdStyle' => $vendorDir . '/google/apiclient/src/Google/Service/AdSenseHost.php', + 'Google_Service_AdSenseHost_AdStyleColors' => $vendorDir . '/google/apiclient/src/Google/Service/AdSenseHost.php', + 'Google_Service_AdSenseHost_AdStyleFont' => $vendorDir . '/google/apiclient/src/Google/Service/AdSenseHost.php', + 'Google_Service_AdSenseHost_AdUnit' => $vendorDir . '/google/apiclient/src/Google/Service/AdSenseHost.php', + 'Google_Service_AdSenseHost_AdUnitContentAdsSettings' => $vendorDir . '/google/apiclient/src/Google/Service/AdSenseHost.php', + 'Google_Service_AdSenseHost_AdUnitContentAdsSettingsBackupOption' => $vendorDir . '/google/apiclient/src/Google/Service/AdSenseHost.php', + 'Google_Service_AdSenseHost_AdUnitMobileContentAdsSettings' => $vendorDir . '/google/apiclient/src/Google/Service/AdSenseHost.php', + 'Google_Service_AdSenseHost_AdUnits' => $vendorDir . '/google/apiclient/src/Google/Service/AdSenseHost.php', + 'Google_Service_AdSenseHost_Adclients_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdSenseHost.php', + 'Google_Service_AdSenseHost_AssociationSession' => $vendorDir . '/google/apiclient/src/Google/Service/AdSenseHost.php', + 'Google_Service_AdSenseHost_Associationsessions_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdSenseHost.php', + 'Google_Service_AdSenseHost_CustomChannel' => $vendorDir . '/google/apiclient/src/Google/Service/AdSenseHost.php', + 'Google_Service_AdSenseHost_CustomChannels' => $vendorDir . '/google/apiclient/src/Google/Service/AdSenseHost.php', + 'Google_Service_AdSenseHost_Customchannels_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdSenseHost.php', + 'Google_Service_AdSenseHost_Report' => $vendorDir . '/google/apiclient/src/Google/Service/AdSenseHost.php', + 'Google_Service_AdSenseHost_ReportHeaders' => $vendorDir . '/google/apiclient/src/Google/Service/AdSenseHost.php', + 'Google_Service_AdSenseHost_Reports_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdSenseHost.php', + 'Google_Service_AdSenseHost_UrlChannel' => $vendorDir . '/google/apiclient/src/Google/Service/AdSenseHost.php', + 'Google_Service_AdSenseHost_UrlChannels' => $vendorDir . '/google/apiclient/src/Google/Service/AdSenseHost.php', + 'Google_Service_AdSenseHost_Urlchannels_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdSenseHost.php', + 'Google_Service_AdSense_Account' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_Accounts' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_AccountsAdclients_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_AccountsAdunitsCustomchannels_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_AccountsAdunits_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_AccountsAlerts_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_AccountsCustomchannelsAdunits_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_AccountsCustomchannels_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_AccountsPayments_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_AccountsReportsSaved_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_AccountsReports_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_AccountsSavedadstyles_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_AccountsUrlchannels_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_Accounts_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_AdClient' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_AdClients' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_AdCode' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_AdStyle' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_AdStyleColors' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_AdStyleFont' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_AdUnit' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_AdUnitContentAdsSettings' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_AdUnitContentAdsSettingsBackupOption' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_AdUnitFeedAdsSettings' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_AdUnitMobileContentAdsSettings' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_AdUnits' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_Adclients_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_AdsenseReportsGenerateResponse' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_AdsenseReportsGenerateResponseHeaders' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_AdunitsCustomchannels_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_Adunits_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_Alert' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_Alerts' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_Alerts_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_CustomChannel' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_CustomChannelTargetingInfo' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_CustomChannels' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_CustomchannelsAdunits_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_Customchannels_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_Metadata' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_MetadataDimensions_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_MetadataMetrics_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_Metadata_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_Payment' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_Payments' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_Payments_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_ReportingMetadataEntry' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_ReportsSaved_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_Reports_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_SavedAdStyle' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_SavedAdStyles' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_SavedReport' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_SavedReports' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_Savedadstyles_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_UrlChannel' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_UrlChannels' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_AdSense_Urlchannels_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AdSense.php', + 'Google_Service_Admin' => $vendorDir . '/google/apiclient/src/Google/Service/Admin.php', + 'Google_Service_Admin_MailItem' => $vendorDir . '/google/apiclient/src/Google/Service/Admin.php', + 'Google_Service_Admin_Mail_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Admin.php', + 'Google_Service_Analytics' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_Account' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_AccountChildLink' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_AccountPermissions' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_AccountRef' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_AccountSummaries' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_AccountSummary' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_AccountTicket' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_Accounts' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_AdWordsAccount' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_AnalyticsDataimportDeleteUploadDataRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_Column' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_ColumnAttributes' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_Columns' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_CustomDataSource' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_CustomDataSourceChildLink' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_CustomDataSourceParentLink' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_CustomDataSources' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_CustomDimension' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_CustomDimensionParentLink' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_CustomDimensions' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_CustomMetric' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_CustomMetricParentLink' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_CustomMetrics' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_DataGa_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_DataMcf_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_DataRealtime_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_Data_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_EntityAdWordsLink' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_EntityAdWordsLinkEntity' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_EntityAdWordsLinks' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_EntityUserLink' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_EntityUserLinkEntity' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_EntityUserLinkPermissions' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_EntityUserLinks' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_Experiment' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_ExperimentParentLink' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_ExperimentVariations' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_Experiments' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_Filter' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_FilterAdvancedDetails' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_FilterExpression' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_FilterLowercaseDetails' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_FilterParentLink' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_FilterRef' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_FilterSearchAndReplaceDetails' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_FilterUppercaseDetails' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_Filters' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_GaData' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_GaDataColumnHeaders' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_GaDataDataTable' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_GaDataDataTableCols' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_GaDataDataTableRows' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_GaDataDataTableRowsC' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_GaDataProfileInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_GaDataQuery' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_GaDataTotalsForAllResults' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_Goal' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_GoalEventDetails' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_GoalEventDetailsEventConditions' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_GoalParentLink' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_GoalUrlDestinationDetails' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_GoalUrlDestinationDetailsSteps' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_GoalVisitNumPagesDetails' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_GoalVisitTimeOnSiteDetails' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_Goals' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_ManagementAccountSummaries_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_ManagementAccountUserLinks_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_ManagementAccounts_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_ManagementCustomDataSources_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_ManagementCustomDimensions_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_ManagementCustomMetrics_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_ManagementExperiments_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_ManagementFilters_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_ManagementGoals_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_ManagementProfileFilterLinks_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_ManagementProfileUserLinks_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_ManagementProfiles_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_ManagementSegments_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_ManagementUnsampledReports_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_ManagementUploads_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_ManagementWebPropertyAdWordsLinks_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_ManagementWebproperties_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_ManagementWebpropertyUserLinks_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_Management_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_McfData' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_McfDataColumnHeaders' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_McfDataProfileInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_McfDataQuery' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_McfDataRows' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_McfDataRowsConversionPathValue' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_McfDataTotalsForAllResults' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_MetadataColumns_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_Metadata_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_Profile' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_ProfileChildLink' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_ProfileFilterLink' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_ProfileFilterLinks' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_ProfileParentLink' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_ProfilePermissions' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_ProfileRef' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_ProfileSummary' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_Profiles' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_Provisioning_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_RealtimeData' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_RealtimeDataColumnHeaders' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_RealtimeDataProfileInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_RealtimeDataQuery' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_RealtimeDataTotalsForAllResults' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_Segment' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_Segments' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_UnsampledReport' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_UnsampledReportCloudStorageDownloadDetails' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_UnsampledReportDriveDownloadDetails' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_UnsampledReports' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_Upload' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_Uploads' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_UserRef' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_WebPropertyRef' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_WebPropertySummary' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_Webproperties' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_Webproperty' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_WebpropertyChildLink' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_WebpropertyParentLink' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_Analytics_WebpropertyPermissions' => $vendorDir . '/google/apiclient/src/Google/Service/Analytics.php', + 'Google_Service_AndroidEnterprise' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidEnterprise.php', + 'Google_Service_AndroidEnterprise_AppRestrictionsSchema' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidEnterprise.php', + 'Google_Service_AndroidEnterprise_AppRestrictionsSchemaRestriction' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidEnterprise.php', + 'Google_Service_AndroidEnterprise_AppRestrictionsSchemaRestrictionRestrictionValue' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidEnterprise.php', + 'Google_Service_AndroidEnterprise_AppVersion' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidEnterprise.php', + 'Google_Service_AndroidEnterprise_ApprovalUrlInfo' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidEnterprise.php', + 'Google_Service_AndroidEnterprise_Collection' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidEnterprise.php', + 'Google_Service_AndroidEnterprise_CollectionViewersListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidEnterprise.php', + 'Google_Service_AndroidEnterprise_CollectionsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidEnterprise.php', + 'Google_Service_AndroidEnterprise_Collections_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidEnterprise.php', + 'Google_Service_AndroidEnterprise_Collectionviewers_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidEnterprise.php', + 'Google_Service_AndroidEnterprise_Device' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidEnterprise.php', + 'Google_Service_AndroidEnterprise_DeviceState' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidEnterprise.php', + 'Google_Service_AndroidEnterprise_DevicesListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidEnterprise.php', + 'Google_Service_AndroidEnterprise_Devices_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidEnterprise.php', + 'Google_Service_AndroidEnterprise_Enterprise' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidEnterprise.php', + 'Google_Service_AndroidEnterprise_EnterpriseAccount' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidEnterprise.php', + 'Google_Service_AndroidEnterprise_EnterprisesListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidEnterprise.php', + 'Google_Service_AndroidEnterprise_EnterprisesSendTestPushNotificationResponse' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidEnterprise.php', + 'Google_Service_AndroidEnterprise_Enterprises_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidEnterprise.php', + 'Google_Service_AndroidEnterprise_Entitlement' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidEnterprise.php', + 'Google_Service_AndroidEnterprise_EntitlementsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidEnterprise.php', + 'Google_Service_AndroidEnterprise_Entitlements_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidEnterprise.php', + 'Google_Service_AndroidEnterprise_GroupLicense' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidEnterprise.php', + 'Google_Service_AndroidEnterprise_GroupLicenseUsersListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidEnterprise.php', + 'Google_Service_AndroidEnterprise_GroupLicensesListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidEnterprise.php', + 'Google_Service_AndroidEnterprise_Grouplicenses_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidEnterprise.php', + 'Google_Service_AndroidEnterprise_Grouplicenseusers_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidEnterprise.php', + 'Google_Service_AndroidEnterprise_Install' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidEnterprise.php', + 'Google_Service_AndroidEnterprise_InstallsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidEnterprise.php', + 'Google_Service_AndroidEnterprise_Installs_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidEnterprise.php', + 'Google_Service_AndroidEnterprise_Permission' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidEnterprise.php', + 'Google_Service_AndroidEnterprise_Permissions_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidEnterprise.php', + 'Google_Service_AndroidEnterprise_Product' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidEnterprise.php', + 'Google_Service_AndroidEnterprise_ProductPermission' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidEnterprise.php', + 'Google_Service_AndroidEnterprise_ProductPermissions' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidEnterprise.php', + 'Google_Service_AndroidEnterprise_ProductSet' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidEnterprise.php', + 'Google_Service_AndroidEnterprise_ProductsApproveRequest' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidEnterprise.php', + 'Google_Service_AndroidEnterprise_ProductsGenerateApprovalUrlResponse' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidEnterprise.php', + 'Google_Service_AndroidEnterprise_Products_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidEnterprise.php', + 'Google_Service_AndroidEnterprise_User' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidEnterprise.php', + 'Google_Service_AndroidEnterprise_UserToken' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidEnterprise.php', + 'Google_Service_AndroidEnterprise_UsersListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidEnterprise.php', + 'Google_Service_AndroidEnterprise_Users_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidEnterprise.php', + 'Google_Service_AndroidPublisher' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_Apk' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_ApkBinary' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_ApkListing' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_ApkListingsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_ApksAddExternallyHostedRequest' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_ApksAddExternallyHostedResponse' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_ApksListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_AppDetails' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_AppEdit' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_EditsApklistings_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_EditsApks_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_EditsDetails_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_EditsExpansionfiles_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_EditsImages_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_EditsListings_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_EditsTesters_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_EditsTracks_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_Edits_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_Entitlement' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_EntitlementsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_Entitlements_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_ExpansionFile' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_ExpansionFilesUploadResponse' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_ExternallyHostedApk' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_ExternallyHostedApkUsesPermission' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_Image' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_ImagesDeleteAllResponse' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_ImagesListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_ImagesUploadResponse' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_InAppProduct' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_InAppProductListing' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_InAppProductListings' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_InAppProductPrices' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_InappproductsBatchRequest' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_InappproductsBatchRequestEntry' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_InappproductsBatchResponse' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_InappproductsBatchResponseEntry' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_InappproductsInsertRequest' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_InappproductsInsertResponse' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_InappproductsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_InappproductsUpdateRequest' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_InappproductsUpdateResponse' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_Inappproducts_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_Listing' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_ListingsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_MonthDay' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_PageInfo' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_Price' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_ProductPurchase' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_PurchasesProducts_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_PurchasesSubscriptions_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_Purchases_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_Season' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_SubscriptionDeferralInfo' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_SubscriptionPurchase' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_SubscriptionPurchasesDeferRequest' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_SubscriptionPurchasesDeferResponse' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_Testers' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_TokenPagination' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_Track' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AndroidPublisher_TracksListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/AndroidPublisher.php', + 'Google_Service_AppState' => $vendorDir . '/google/apiclient/src/Google/Service/AppState.php', + 'Google_Service_AppState_GetResponse' => $vendorDir . '/google/apiclient/src/Google/Service/AppState.php', + 'Google_Service_AppState_ListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/AppState.php', + 'Google_Service_AppState_States_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/AppState.php', + 'Google_Service_AppState_UpdateRequest' => $vendorDir . '/google/apiclient/src/Google/Service/AppState.php', + 'Google_Service_AppState_WriteResult' => $vendorDir . '/google/apiclient/src/Google/Service/AppState.php', + 'Google_Service_Appengine' => $vendorDir . '/google/apiclient/src/Google/Service/Appengine.php', + 'Google_Service_Appengine_ApiConfigHandler' => $vendorDir . '/google/apiclient/src/Google/Service/Appengine.php', + 'Google_Service_Appengine_ApiEndpointHandler' => $vendorDir . '/google/apiclient/src/Google/Service/Appengine.php', + 'Google_Service_Appengine_Application' => $vendorDir . '/google/apiclient/src/Google/Service/Appengine.php', + 'Google_Service_Appengine_AppsModulesVersions_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Appengine.php', + 'Google_Service_Appengine_AppsModules_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Appengine.php', + 'Google_Service_Appengine_AppsOperations_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Appengine.php', + 'Google_Service_Appengine_Apps_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Appengine.php', + 'Google_Service_Appengine_AutomaticScaling' => $vendorDir . '/google/apiclient/src/Google/Service/Appengine.php', + 'Google_Service_Appengine_BasicScaling' => $vendorDir . '/google/apiclient/src/Google/Service/Appengine.php', + 'Google_Service_Appengine_ContainerInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Appengine.php', + 'Google_Service_Appengine_CpuUtilization' => $vendorDir . '/google/apiclient/src/Google/Service/Appengine.php', + 'Google_Service_Appengine_Deployment' => $vendorDir . '/google/apiclient/src/Google/Service/Appengine.php', + 'Google_Service_Appengine_DeploymentFiles' => $vendorDir . '/google/apiclient/src/Google/Service/Appengine.php', + 'Google_Service_Appengine_ErrorHandler' => $vendorDir . '/google/apiclient/src/Google/Service/Appengine.php', + 'Google_Service_Appengine_FileInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Appengine.php', + 'Google_Service_Appengine_HealthCheck' => $vendorDir . '/google/apiclient/src/Google/Service/Appengine.php', + 'Google_Service_Appengine_Library' => $vendorDir . '/google/apiclient/src/Google/Service/Appengine.php', + 'Google_Service_Appengine_ListModulesResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Appengine.php', + 'Google_Service_Appengine_ListOperationsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Appengine.php', + 'Google_Service_Appengine_ListVersionsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Appengine.php', + 'Google_Service_Appengine_ManualScaling' => $vendorDir . '/google/apiclient/src/Google/Service/Appengine.php', + 'Google_Service_Appengine_Module' => $vendorDir . '/google/apiclient/src/Google/Service/Appengine.php', + 'Google_Service_Appengine_Network' => $vendorDir . '/google/apiclient/src/Google/Service/Appengine.php', + 'Google_Service_Appengine_Operation' => $vendorDir . '/google/apiclient/src/Google/Service/Appengine.php', + 'Google_Service_Appengine_OperationMetadata' => $vendorDir . '/google/apiclient/src/Google/Service/Appengine.php', + 'Google_Service_Appengine_OperationResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Appengine.php', + 'Google_Service_Appengine_Resources' => $vendorDir . '/google/apiclient/src/Google/Service/Appengine.php', + 'Google_Service_Appengine_ScriptHandler' => $vendorDir . '/google/apiclient/src/Google/Service/Appengine.php', + 'Google_Service_Appengine_SourceReference' => $vendorDir . '/google/apiclient/src/Google/Service/Appengine.php', + 'Google_Service_Appengine_StaticDirectoryHandler' => $vendorDir . '/google/apiclient/src/Google/Service/Appengine.php', + 'Google_Service_Appengine_StaticDirectoryHandlerHttpHeaders' => $vendorDir . '/google/apiclient/src/Google/Service/Appengine.php', + 'Google_Service_Appengine_StaticFilesHandler' => $vendorDir . '/google/apiclient/src/Google/Service/Appengine.php', + 'Google_Service_Appengine_StaticFilesHandlerHttpHeaders' => $vendorDir . '/google/apiclient/src/Google/Service/Appengine.php', + 'Google_Service_Appengine_Status' => $vendorDir . '/google/apiclient/src/Google/Service/Appengine.php', + 'Google_Service_Appengine_StatusDetails' => $vendorDir . '/google/apiclient/src/Google/Service/Appengine.php', + 'Google_Service_Appengine_TrafficSplit' => $vendorDir . '/google/apiclient/src/Google/Service/Appengine.php', + 'Google_Service_Appengine_TrafficSplitAllocations' => $vendorDir . '/google/apiclient/src/Google/Service/Appengine.php', + 'Google_Service_Appengine_UrlDispatchRule' => $vendorDir . '/google/apiclient/src/Google/Service/Appengine.php', + 'Google_Service_Appengine_UrlMap' => $vendorDir . '/google/apiclient/src/Google/Service/Appengine.php', + 'Google_Service_Appengine_Version' => $vendorDir . '/google/apiclient/src/Google/Service/Appengine.php', + 'Google_Service_Appengine_VersionBetaSettings' => $vendorDir . '/google/apiclient/src/Google/Service/Appengine.php', + 'Google_Service_Appengine_VersionEnvVariables' => $vendorDir . '/google/apiclient/src/Google/Service/Appengine.php', + 'Google_Service_Appsactivity' => $vendorDir . '/google/apiclient/src/Google/Service/Appsactivity.php', + 'Google_Service_Appsactivity_Activities_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Appsactivity.php', + 'Google_Service_Appsactivity_Activity' => $vendorDir . '/google/apiclient/src/Google/Service/Appsactivity.php', + 'Google_Service_Appsactivity_Event' => $vendorDir . '/google/apiclient/src/Google/Service/Appsactivity.php', + 'Google_Service_Appsactivity_ListActivitiesResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Appsactivity.php', + 'Google_Service_Appsactivity_Move' => $vendorDir . '/google/apiclient/src/Google/Service/Appsactivity.php', + 'Google_Service_Appsactivity_Parent' => $vendorDir . '/google/apiclient/src/Google/Service/Appsactivity.php', + 'Google_Service_Appsactivity_Permission' => $vendorDir . '/google/apiclient/src/Google/Service/Appsactivity.php', + 'Google_Service_Appsactivity_PermissionChange' => $vendorDir . '/google/apiclient/src/Google/Service/Appsactivity.php', + 'Google_Service_Appsactivity_Photo' => $vendorDir . '/google/apiclient/src/Google/Service/Appsactivity.php', + 'Google_Service_Appsactivity_Rename' => $vendorDir . '/google/apiclient/src/Google/Service/Appsactivity.php', + 'Google_Service_Appsactivity_Target' => $vendorDir . '/google/apiclient/src/Google/Service/Appsactivity.php', + 'Google_Service_Appsactivity_User' => $vendorDir . '/google/apiclient/src/Google/Service/Appsactivity.php', + 'Google_Service_Audit' => $vendorDir . '/google/apiclient/src/Google/Service/Audit.php', + 'Google_Service_Audit_Activities' => $vendorDir . '/google/apiclient/src/Google/Service/Audit.php', + 'Google_Service_Audit_Activities_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Audit.php', + 'Google_Service_Audit_Activity' => $vendorDir . '/google/apiclient/src/Google/Service/Audit.php', + 'Google_Service_Audit_ActivityActor' => $vendorDir . '/google/apiclient/src/Google/Service/Audit.php', + 'Google_Service_Audit_ActivityEvents' => $vendorDir . '/google/apiclient/src/Google/Service/Audit.php', + 'Google_Service_Audit_ActivityEventsParameters' => $vendorDir . '/google/apiclient/src/Google/Service/Audit.php', + 'Google_Service_Audit_ActivityId' => $vendorDir . '/google/apiclient/src/Google/Service/Audit.php', + 'Google_Service_Autoscaler' => $vendorDir . '/google/apiclient/src/Google/Service/Autoscaler.php', + 'Google_Service_Autoscaler_Autoscaler' => $vendorDir . '/google/apiclient/src/Google/Service/Autoscaler.php', + 'Google_Service_Autoscaler_AutoscalerListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Autoscaler.php', + 'Google_Service_Autoscaler_Autoscalers_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Autoscaler.php', + 'Google_Service_Autoscaler_AutoscalingPolicy' => $vendorDir . '/google/apiclient/src/Google/Service/Autoscaler.php', + 'Google_Service_Autoscaler_AutoscalingPolicyCpuUtilization' => $vendorDir . '/google/apiclient/src/Google/Service/Autoscaler.php', + 'Google_Service_Autoscaler_AutoscalingPolicyCustomMetricUtilization' => $vendorDir . '/google/apiclient/src/Google/Service/Autoscaler.php', + 'Google_Service_Autoscaler_AutoscalingPolicyLoadBalancingUtilization' => $vendorDir . '/google/apiclient/src/Google/Service/Autoscaler.php', + 'Google_Service_Autoscaler_DeprecationStatus' => $vendorDir . '/google/apiclient/src/Google/Service/Autoscaler.php', + 'Google_Service_Autoscaler_Operation' => $vendorDir . '/google/apiclient/src/Google/Service/Autoscaler.php', + 'Google_Service_Autoscaler_OperationError' => $vendorDir . '/google/apiclient/src/Google/Service/Autoscaler.php', + 'Google_Service_Autoscaler_OperationErrorErrors' => $vendorDir . '/google/apiclient/src/Google/Service/Autoscaler.php', + 'Google_Service_Autoscaler_OperationList' => $vendorDir . '/google/apiclient/src/Google/Service/Autoscaler.php', + 'Google_Service_Autoscaler_OperationWarnings' => $vendorDir . '/google/apiclient/src/Google/Service/Autoscaler.php', + 'Google_Service_Autoscaler_OperationWarningsData' => $vendorDir . '/google/apiclient/src/Google/Service/Autoscaler.php', + 'Google_Service_Autoscaler_Zone' => $vendorDir . '/google/apiclient/src/Google/Service/Autoscaler.php', + 'Google_Service_Autoscaler_ZoneList' => $vendorDir . '/google/apiclient/src/Google/Service/Autoscaler.php', + 'Google_Service_Autoscaler_ZoneMaintenanceWindows' => $vendorDir . '/google/apiclient/src/Google/Service/Autoscaler.php', + 'Google_Service_Autoscaler_ZoneOperations_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Autoscaler.php', + 'Google_Service_Autoscaler_Zones_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Autoscaler.php', + 'Google_Service_Bigquery' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_CsvOptions' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_Dataset' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_DatasetAccess' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_DatasetList' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_DatasetListDatasets' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_DatasetReference' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_Datasets_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_ErrorProto' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_ExternalDataConfiguration' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_GetQueryResultsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_Job' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_JobCancelResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_JobConfiguration' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_JobConfigurationExtract' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_JobConfigurationLink' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_JobConfigurationLoad' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_JobConfigurationQuery' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_JobConfigurationQueryTableDefinitions' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_JobConfigurationTableCopy' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_JobList' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_JobListJobs' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_JobReference' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_JobStatistics' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_JobStatistics2' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_JobStatistics3' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_JobStatistics4' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_JobStatus' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_Jobs_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_JsonObject' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_ProjectList' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_ProjectListProjects' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_ProjectReference' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_Projects_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_QueryRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_QueryResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_Streamingbuffer' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_Table' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_TableCell' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_TableDataInsertAllRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_TableDataInsertAllRequestRows' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_TableDataInsertAllResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_TableDataInsertAllResponseInsertErrors' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_TableDataList' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_TableFieldSchema' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_TableList' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_TableListTables' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_TableReference' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_TableRow' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_TableSchema' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_Tabledata_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_Tables_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_UserDefinedFunctionResource' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Bigquery_ViewDefinition' => $vendorDir . '/google/apiclient/src/Google/Service/Bigquery.php', + 'Google_Service_Blogger' => $vendorDir . '/google/apiclient/src/Google/Service/Blogger.php', + 'Google_Service_Blogger_Blog' => $vendorDir . '/google/apiclient/src/Google/Service/Blogger.php', + 'Google_Service_Blogger_BlogList' => $vendorDir . '/google/apiclient/src/Google/Service/Blogger.php', + 'Google_Service_Blogger_BlogLocale' => $vendorDir . '/google/apiclient/src/Google/Service/Blogger.php', + 'Google_Service_Blogger_BlogPages' => $vendorDir . '/google/apiclient/src/Google/Service/Blogger.php', + 'Google_Service_Blogger_BlogPerUserInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Blogger.php', + 'Google_Service_Blogger_BlogPosts' => $vendorDir . '/google/apiclient/src/Google/Service/Blogger.php', + 'Google_Service_Blogger_BlogUserInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Blogger.php', + 'Google_Service_Blogger_BlogUserInfos_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Blogger.php', + 'Google_Service_Blogger_Blogs_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Blogger.php', + 'Google_Service_Blogger_Comment' => $vendorDir . '/google/apiclient/src/Google/Service/Blogger.php', + 'Google_Service_Blogger_CommentAuthor' => $vendorDir . '/google/apiclient/src/Google/Service/Blogger.php', + 'Google_Service_Blogger_CommentAuthorImage' => $vendorDir . '/google/apiclient/src/Google/Service/Blogger.php', + 'Google_Service_Blogger_CommentBlog' => $vendorDir . '/google/apiclient/src/Google/Service/Blogger.php', + 'Google_Service_Blogger_CommentInReplyTo' => $vendorDir . '/google/apiclient/src/Google/Service/Blogger.php', + 'Google_Service_Blogger_CommentList' => $vendorDir . '/google/apiclient/src/Google/Service/Blogger.php', + 'Google_Service_Blogger_CommentPost' => $vendorDir . '/google/apiclient/src/Google/Service/Blogger.php', + 'Google_Service_Blogger_Comments_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Blogger.php', + 'Google_Service_Blogger_Page' => $vendorDir . '/google/apiclient/src/Google/Service/Blogger.php', + 'Google_Service_Blogger_PageAuthor' => $vendorDir . '/google/apiclient/src/Google/Service/Blogger.php', + 'Google_Service_Blogger_PageAuthorImage' => $vendorDir . '/google/apiclient/src/Google/Service/Blogger.php', + 'Google_Service_Blogger_PageBlog' => $vendorDir . '/google/apiclient/src/Google/Service/Blogger.php', + 'Google_Service_Blogger_PageList' => $vendorDir . '/google/apiclient/src/Google/Service/Blogger.php', + 'Google_Service_Blogger_PageViews_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Blogger.php', + 'Google_Service_Blogger_Pages_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Blogger.php', + 'Google_Service_Blogger_Pageviews' => $vendorDir . '/google/apiclient/src/Google/Service/Blogger.php', + 'Google_Service_Blogger_PageviewsCounts' => $vendorDir . '/google/apiclient/src/Google/Service/Blogger.php', + 'Google_Service_Blogger_Post' => $vendorDir . '/google/apiclient/src/Google/Service/Blogger.php', + 'Google_Service_Blogger_PostAuthor' => $vendorDir . '/google/apiclient/src/Google/Service/Blogger.php', + 'Google_Service_Blogger_PostAuthorImage' => $vendorDir . '/google/apiclient/src/Google/Service/Blogger.php', + 'Google_Service_Blogger_PostBlog' => $vendorDir . '/google/apiclient/src/Google/Service/Blogger.php', + 'Google_Service_Blogger_PostImages' => $vendorDir . '/google/apiclient/src/Google/Service/Blogger.php', + 'Google_Service_Blogger_PostList' => $vendorDir . '/google/apiclient/src/Google/Service/Blogger.php', + 'Google_Service_Blogger_PostLocation' => $vendorDir . '/google/apiclient/src/Google/Service/Blogger.php', + 'Google_Service_Blogger_PostPerUserInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Blogger.php', + 'Google_Service_Blogger_PostReplies' => $vendorDir . '/google/apiclient/src/Google/Service/Blogger.php', + 'Google_Service_Blogger_PostUserInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Blogger.php', + 'Google_Service_Blogger_PostUserInfosList' => $vendorDir . '/google/apiclient/src/Google/Service/Blogger.php', + 'Google_Service_Blogger_PostUserInfos_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Blogger.php', + 'Google_Service_Blogger_Posts_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Blogger.php', + 'Google_Service_Blogger_User' => $vendorDir . '/google/apiclient/src/Google/Service/Blogger.php', + 'Google_Service_Blogger_UserBlogs' => $vendorDir . '/google/apiclient/src/Google/Service/Blogger.php', + 'Google_Service_Blogger_UserLocale' => $vendorDir . '/google/apiclient/src/Google/Service/Blogger.php', + 'Google_Service_Blogger_Users_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Blogger.php', + 'Google_Service_Books' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_Annotation' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_AnnotationClientVersionRanges' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_AnnotationCurrentVersionRanges' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_AnnotationLayerSummary' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_Annotationdata' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_Annotations' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_AnnotationsSummary' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_AnnotationsSummaryLayers' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_Annotationsdata' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_BooksAnnotationsRange' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_BooksCloudloadingResource' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_BooksVolumesRecommendedRateResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_Bookshelf' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_Bookshelves' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_BookshelvesVolumes_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_Bookshelves_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_Category' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_CategoryItems' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_Cloudloading_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_ConcurrentAccessRestriction' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_Dictionary_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_Dictlayerdata' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_DictlayerdataCommon' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_DictlayerdataDict' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_DictlayerdataDictSource' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_DictlayerdataDictWords' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_DictlayerdataDictWordsDerivatives' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_DictlayerdataDictWordsDerivativesSource' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_DictlayerdataDictWordsExamples' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_DictlayerdataDictWordsExamplesSource' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_DictlayerdataDictWordsSenses' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_DictlayerdataDictWordsSensesConjugations' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_DictlayerdataDictWordsSensesDefinitions' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamples' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamplesSource' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_DictlayerdataDictWordsSensesSource' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_DictlayerdataDictWordsSensesSynonyms' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_DictlayerdataDictWordsSensesSynonymsSource' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_DictlayerdataDictWordsSource' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_Discoveryclusters' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_DiscoveryclustersClusters' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_DiscoveryclustersClustersBannerWithContentContainer' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_DownloadAccessRestriction' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_DownloadAccesses' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_Geolayerdata' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_GeolayerdataCommon' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_GeolayerdataGeo' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_GeolayerdataGeoBoundary' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_GeolayerdataGeoViewport' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_GeolayerdataGeoViewportHi' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_GeolayerdataGeoViewportLo' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_LayersAnnotationData_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_LayersVolumeAnnotations_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_Layers_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_Layersummaries' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_Layersummary' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_Metadata' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_MetadataItems' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_Myconfig_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_MylibraryAnnotations_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_MylibraryBookshelvesVolumes_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_MylibraryBookshelves_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_MylibraryReadingpositions_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_Mylibrary_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_Notification' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_Notification_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_Offers' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_OffersItems' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_OffersItemsItems' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_Onboarding_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_Personalizedstream_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_Promooffer_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_ReadingPosition' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_RequestAccess' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_Review' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_ReviewAuthor' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_ReviewSource' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_Usersettings' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_UsersettingsNotesExport' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_UsersettingsNotification' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_UsersettingsNotificationMoreFromAuthors' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_Volume' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_Volume2' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_VolumeAccessInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_VolumeAccessInfoEpub' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_VolumeAccessInfoPdf' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_VolumeLayerInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_VolumeLayerInfoLayers' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_VolumeRecommendedInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_VolumeSaleInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_VolumeSaleInfoListPrice' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_VolumeSaleInfoOffers' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_VolumeSaleInfoOffersListPrice' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_VolumeSaleInfoOffersRentalDuration' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_VolumeSaleInfoOffersRetailPrice' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_VolumeSaleInfoRetailPrice' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_VolumeSearchInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_VolumeUserInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_VolumeUserInfoCopy' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_VolumeUserInfoRentalPeriod' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_VolumeUserInfoUserUploadedVolumeInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_VolumeVolumeInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_VolumeVolumeInfoDimensions' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_VolumeVolumeInfoImageLinks' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_VolumeVolumeInfoIndustryIdentifiers' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_Volumeannotation' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_VolumeannotationContentRanges' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_Volumeannotations' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_Volumes' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_VolumesAssociated_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_VolumesMybooks_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_VolumesRecommended_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_VolumesUseruploaded_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Books_Volumes_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Books.php', + 'Google_Service_Calendar' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_Acl' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_AclRule' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_AclRuleScope' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_Acl_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_Calendar' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_CalendarList' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_CalendarListEntry' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_CalendarListEntryNotificationSettings' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_CalendarList_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_CalendarNotification' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_Calendars_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_Channel' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_ChannelParams' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_Channels_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_ColorDefinition' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_Colors' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_ColorsCalendar' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_ColorsEvent' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_Colors_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_Error' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_Event' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_EventAttachment' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_EventAttendee' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_EventCreator' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_EventDateTime' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_EventExtendedProperties' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_EventExtendedPropertiesPrivate' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_EventExtendedPropertiesShared' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_EventGadget' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_EventGadgetPreferences' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_EventOrganizer' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_EventReminder' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_EventReminders' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_EventSource' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_Events' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_Events_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_FreeBusyCalendar' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_FreeBusyGroup' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_FreeBusyRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_FreeBusyRequestItem' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_FreeBusyResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_FreeBusyResponseCalendars' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_FreeBusyResponseGroups' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_Freebusy_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_Setting' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_Settings' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_Settings_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_Calendar_TimePeriod' => $vendorDir . '/google/apiclient/src/Google/Service/Calendar.php', + 'Google_Service_CivicInfo' => $vendorDir . '/google/apiclient/src/Google/Service/CivicInfo.php', + 'Google_Service_CivicInfo_AdministrationRegion' => $vendorDir . '/google/apiclient/src/Google/Service/CivicInfo.php', + 'Google_Service_CivicInfo_AdministrativeBody' => $vendorDir . '/google/apiclient/src/Google/Service/CivicInfo.php', + 'Google_Service_CivicInfo_Candidate' => $vendorDir . '/google/apiclient/src/Google/Service/CivicInfo.php', + 'Google_Service_CivicInfo_Channel' => $vendorDir . '/google/apiclient/src/Google/Service/CivicInfo.php', + 'Google_Service_CivicInfo_Contest' => $vendorDir . '/google/apiclient/src/Google/Service/CivicInfo.php', + 'Google_Service_CivicInfo_DivisionSearchResponse' => $vendorDir . '/google/apiclient/src/Google/Service/CivicInfo.php', + 'Google_Service_CivicInfo_DivisionSearchResult' => $vendorDir . '/google/apiclient/src/Google/Service/CivicInfo.php', + 'Google_Service_CivicInfo_Divisions_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/CivicInfo.php', + 'Google_Service_CivicInfo_Election' => $vendorDir . '/google/apiclient/src/Google/Service/CivicInfo.php', + 'Google_Service_CivicInfo_ElectionOfficial' => $vendorDir . '/google/apiclient/src/Google/Service/CivicInfo.php', + 'Google_Service_CivicInfo_ElectionsQueryResponse' => $vendorDir . '/google/apiclient/src/Google/Service/CivicInfo.php', + 'Google_Service_CivicInfo_Elections_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/CivicInfo.php', + 'Google_Service_CivicInfo_ElectoralDistrict' => $vendorDir . '/google/apiclient/src/Google/Service/CivicInfo.php', + 'Google_Service_CivicInfo_GeographicDivision' => $vendorDir . '/google/apiclient/src/Google/Service/CivicInfo.php', + 'Google_Service_CivicInfo_Office' => $vendorDir . '/google/apiclient/src/Google/Service/CivicInfo.php', + 'Google_Service_CivicInfo_Official' => $vendorDir . '/google/apiclient/src/Google/Service/CivicInfo.php', + 'Google_Service_CivicInfo_PollingLocation' => $vendorDir . '/google/apiclient/src/Google/Service/CivicInfo.php', + 'Google_Service_CivicInfo_RepresentativeInfoData' => $vendorDir . '/google/apiclient/src/Google/Service/CivicInfo.php', + 'Google_Service_CivicInfo_RepresentativeInfoDataDivisions' => $vendorDir . '/google/apiclient/src/Google/Service/CivicInfo.php', + 'Google_Service_CivicInfo_RepresentativeInfoResponse' => $vendorDir . '/google/apiclient/src/Google/Service/CivicInfo.php', + 'Google_Service_CivicInfo_RepresentativeInfoResponseDivisions' => $vendorDir . '/google/apiclient/src/Google/Service/CivicInfo.php', + 'Google_Service_CivicInfo_Representatives_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/CivicInfo.php', + 'Google_Service_CivicInfo_SimpleAddressType' => $vendorDir . '/google/apiclient/src/Google/Service/CivicInfo.php', + 'Google_Service_CivicInfo_Source' => $vendorDir . '/google/apiclient/src/Google/Service/CivicInfo.php', + 'Google_Service_CivicInfo_VoterInfoResponse' => $vendorDir . '/google/apiclient/src/Google/Service/CivicInfo.php', + 'Google_Service_Classroom' => $vendorDir . '/google/apiclient/src/Google/Service/Classroom.php', + 'Google_Service_Classroom_Course' => $vendorDir . '/google/apiclient/src/Google/Service/Classroom.php', + 'Google_Service_Classroom_CourseAlias' => $vendorDir . '/google/apiclient/src/Google/Service/Classroom.php', + 'Google_Service_Classroom_CoursesAliases_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Classroom.php', + 'Google_Service_Classroom_CoursesStudents_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Classroom.php', + 'Google_Service_Classroom_CoursesTeachers_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Classroom.php', + 'Google_Service_Classroom_Courses_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Classroom.php', + 'Google_Service_Classroom_Empty' => $vendorDir . '/google/apiclient/src/Google/Service/Classroom.php', + 'Google_Service_Classroom_GlobalPermission' => $vendorDir . '/google/apiclient/src/Google/Service/Classroom.php', + 'Google_Service_Classroom_Invitation' => $vendorDir . '/google/apiclient/src/Google/Service/Classroom.php', + 'Google_Service_Classroom_Invitations_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Classroom.php', + 'Google_Service_Classroom_ListCourseAliasesResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Classroom.php', + 'Google_Service_Classroom_ListCoursesResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Classroom.php', + 'Google_Service_Classroom_ListInvitationsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Classroom.php', + 'Google_Service_Classroom_ListStudentsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Classroom.php', + 'Google_Service_Classroom_ListTeachersResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Classroom.php', + 'Google_Service_Classroom_Name' => $vendorDir . '/google/apiclient/src/Google/Service/Classroom.php', + 'Google_Service_Classroom_Student' => $vendorDir . '/google/apiclient/src/Google/Service/Classroom.php', + 'Google_Service_Classroom_Teacher' => $vendorDir . '/google/apiclient/src/Google/Service/Classroom.php', + 'Google_Service_Classroom_UserProfile' => $vendorDir . '/google/apiclient/src/Google/Service/Classroom.php', + 'Google_Service_Classroom_UserProfiles_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Classroom.php', + 'Google_Service_CloudMonitoring' => $vendorDir . '/google/apiclient/src/Google/Service/CloudMonitoring.php', + 'Google_Service_CloudMonitoring_DeleteMetricDescriptorResponse' => $vendorDir . '/google/apiclient/src/Google/Service/CloudMonitoring.php', + 'Google_Service_CloudMonitoring_ListMetricDescriptorsRequest' => $vendorDir . '/google/apiclient/src/Google/Service/CloudMonitoring.php', + 'Google_Service_CloudMonitoring_ListMetricDescriptorsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/CloudMonitoring.php', + 'Google_Service_CloudMonitoring_ListTimeseriesDescriptorsRequest' => $vendorDir . '/google/apiclient/src/Google/Service/CloudMonitoring.php', + 'Google_Service_CloudMonitoring_ListTimeseriesDescriptorsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/CloudMonitoring.php', + 'Google_Service_CloudMonitoring_ListTimeseriesRequest' => $vendorDir . '/google/apiclient/src/Google/Service/CloudMonitoring.php', + 'Google_Service_CloudMonitoring_ListTimeseriesResponse' => $vendorDir . '/google/apiclient/src/Google/Service/CloudMonitoring.php', + 'Google_Service_CloudMonitoring_MetricDescriptor' => $vendorDir . '/google/apiclient/src/Google/Service/CloudMonitoring.php', + 'Google_Service_CloudMonitoring_MetricDescriptorLabelDescriptor' => $vendorDir . '/google/apiclient/src/Google/Service/CloudMonitoring.php', + 'Google_Service_CloudMonitoring_MetricDescriptorTypeDescriptor' => $vendorDir . '/google/apiclient/src/Google/Service/CloudMonitoring.php', + 'Google_Service_CloudMonitoring_MetricDescriptors_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/CloudMonitoring.php', + 'Google_Service_CloudMonitoring_Point' => $vendorDir . '/google/apiclient/src/Google/Service/CloudMonitoring.php', + 'Google_Service_CloudMonitoring_PointDistribution' => $vendorDir . '/google/apiclient/src/Google/Service/CloudMonitoring.php', + 'Google_Service_CloudMonitoring_PointDistributionBucket' => $vendorDir . '/google/apiclient/src/Google/Service/CloudMonitoring.php', + 'Google_Service_CloudMonitoring_PointDistributionOverflowBucket' => $vendorDir . '/google/apiclient/src/Google/Service/CloudMonitoring.php', + 'Google_Service_CloudMonitoring_PointDistributionUnderflowBucket' => $vendorDir . '/google/apiclient/src/Google/Service/CloudMonitoring.php', + 'Google_Service_CloudMonitoring_Timeseries' => $vendorDir . '/google/apiclient/src/Google/Service/CloudMonitoring.php', + 'Google_Service_CloudMonitoring_TimeseriesDescriptor' => $vendorDir . '/google/apiclient/src/Google/Service/CloudMonitoring.php', + 'Google_Service_CloudMonitoring_TimeseriesDescriptorLabel' => $vendorDir . '/google/apiclient/src/Google/Service/CloudMonitoring.php', + 'Google_Service_CloudMonitoring_TimeseriesDescriptorLabels' => $vendorDir . '/google/apiclient/src/Google/Service/CloudMonitoring.php', + 'Google_Service_CloudMonitoring_TimeseriesDescriptors_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/CloudMonitoring.php', + 'Google_Service_CloudMonitoring_TimeseriesPoint' => $vendorDir . '/google/apiclient/src/Google/Service/CloudMonitoring.php', + 'Google_Service_CloudMonitoring_Timeseries_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/CloudMonitoring.php', + 'Google_Service_CloudMonitoring_WriteTimeseriesRequest' => $vendorDir . '/google/apiclient/src/Google/Service/CloudMonitoring.php', + 'Google_Service_CloudMonitoring_WriteTimeseriesRequestCommonLabels' => $vendorDir . '/google/apiclient/src/Google/Service/CloudMonitoring.php', + 'Google_Service_CloudMonitoring_WriteTimeseriesResponse' => $vendorDir . '/google/apiclient/src/Google/Service/CloudMonitoring.php', + 'Google_Service_CloudUserAccounts' => $vendorDir . '/google/apiclient/src/Google/Service/CloudUserAccounts.php', + 'Google_Service_CloudUserAccounts_AuthorizedKeysView' => $vendorDir . '/google/apiclient/src/Google/Service/CloudUserAccounts.php', + 'Google_Service_CloudUserAccounts_Binding' => $vendorDir . '/google/apiclient/src/Google/Service/CloudUserAccounts.php', + 'Google_Service_CloudUserAccounts_Condition' => $vendorDir . '/google/apiclient/src/Google/Service/CloudUserAccounts.php', + 'Google_Service_CloudUserAccounts_GlobalAccountsOperations_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/CloudUserAccounts.php', + 'Google_Service_CloudUserAccounts_Group' => $vendorDir . '/google/apiclient/src/Google/Service/CloudUserAccounts.php', + 'Google_Service_CloudUserAccounts_GroupList' => $vendorDir . '/google/apiclient/src/Google/Service/CloudUserAccounts.php', + 'Google_Service_CloudUserAccounts_GroupsAddMemberRequest' => $vendorDir . '/google/apiclient/src/Google/Service/CloudUserAccounts.php', + 'Google_Service_CloudUserAccounts_GroupsRemoveMemberRequest' => $vendorDir . '/google/apiclient/src/Google/Service/CloudUserAccounts.php', + 'Google_Service_CloudUserAccounts_Groups_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/CloudUserAccounts.php', + 'Google_Service_CloudUserAccounts_LinuxAccountViews' => $vendorDir . '/google/apiclient/src/Google/Service/CloudUserAccounts.php', + 'Google_Service_CloudUserAccounts_LinuxGetAuthorizedKeysViewResponse' => $vendorDir . '/google/apiclient/src/Google/Service/CloudUserAccounts.php', + 'Google_Service_CloudUserAccounts_LinuxGetLinuxAccountViewsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/CloudUserAccounts.php', + 'Google_Service_CloudUserAccounts_LinuxGroupView' => $vendorDir . '/google/apiclient/src/Google/Service/CloudUserAccounts.php', + 'Google_Service_CloudUserAccounts_LinuxUserView' => $vendorDir . '/google/apiclient/src/Google/Service/CloudUserAccounts.php', + 'Google_Service_CloudUserAccounts_Linux_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/CloudUserAccounts.php', + 'Google_Service_CloudUserAccounts_LogConfig' => $vendorDir . '/google/apiclient/src/Google/Service/CloudUserAccounts.php', + 'Google_Service_CloudUserAccounts_LogConfigCounterOptions' => $vendorDir . '/google/apiclient/src/Google/Service/CloudUserAccounts.php', + 'Google_Service_CloudUserAccounts_Operation' => $vendorDir . '/google/apiclient/src/Google/Service/CloudUserAccounts.php', + 'Google_Service_CloudUserAccounts_OperationError' => $vendorDir . '/google/apiclient/src/Google/Service/CloudUserAccounts.php', + 'Google_Service_CloudUserAccounts_OperationErrorErrors' => $vendorDir . '/google/apiclient/src/Google/Service/CloudUserAccounts.php', + 'Google_Service_CloudUserAccounts_OperationList' => $vendorDir . '/google/apiclient/src/Google/Service/CloudUserAccounts.php', + 'Google_Service_CloudUserAccounts_OperationWarnings' => $vendorDir . '/google/apiclient/src/Google/Service/CloudUserAccounts.php', + 'Google_Service_CloudUserAccounts_OperationWarningsData' => $vendorDir . '/google/apiclient/src/Google/Service/CloudUserAccounts.php', + 'Google_Service_CloudUserAccounts_Policy' => $vendorDir . '/google/apiclient/src/Google/Service/CloudUserAccounts.php', + 'Google_Service_CloudUserAccounts_PublicKey' => $vendorDir . '/google/apiclient/src/Google/Service/CloudUserAccounts.php', + 'Google_Service_CloudUserAccounts_Rule' => $vendorDir . '/google/apiclient/src/Google/Service/CloudUserAccounts.php', + 'Google_Service_CloudUserAccounts_TestPermissionsRequest' => $vendorDir . '/google/apiclient/src/Google/Service/CloudUserAccounts.php', + 'Google_Service_CloudUserAccounts_TestPermissionsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/CloudUserAccounts.php', + 'Google_Service_CloudUserAccounts_User' => $vendorDir . '/google/apiclient/src/Google/Service/CloudUserAccounts.php', + 'Google_Service_CloudUserAccounts_UserList' => $vendorDir . '/google/apiclient/src/Google/Service/CloudUserAccounts.php', + 'Google_Service_CloudUserAccounts_Users_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/CloudUserAccounts.php', + 'Google_Service_Cloudbilling' => $vendorDir . '/google/apiclient/src/Google/Service/Cloudbilling.php', + 'Google_Service_Cloudbilling_BillingAccount' => $vendorDir . '/google/apiclient/src/Google/Service/Cloudbilling.php', + 'Google_Service_Cloudbilling_BillingAccountsProjects_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Cloudbilling.php', + 'Google_Service_Cloudbilling_BillingAccounts_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Cloudbilling.php', + 'Google_Service_Cloudbilling_ListBillingAccountsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Cloudbilling.php', + 'Google_Service_Cloudbilling_ListProjectBillingInfoResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Cloudbilling.php', + 'Google_Service_Cloudbilling_ProjectBillingInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Cloudbilling.php', + 'Google_Service_Cloudbilling_Projects_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Cloudbilling.php', + 'Google_Service_Clouddebugger' => $vendorDir . '/google/apiclient/src/Google/Service/Clouddebugger.php', + 'Google_Service_Clouddebugger_Breakpoint' => $vendorDir . '/google/apiclient/src/Google/Service/Clouddebugger.php', + 'Google_Service_Clouddebugger_CloudRepoSourceContext' => $vendorDir . '/google/apiclient/src/Google/Service/Clouddebugger.php', + 'Google_Service_Clouddebugger_CloudWorkspaceId' => $vendorDir . '/google/apiclient/src/Google/Service/Clouddebugger.php', + 'Google_Service_Clouddebugger_CloudWorkspaceSourceContext' => $vendorDir . '/google/apiclient/src/Google/Service/Clouddebugger.php', + 'Google_Service_Clouddebugger_ControllerDebuggeesBreakpoints_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Clouddebugger.php', + 'Google_Service_Clouddebugger_ControllerDebuggees_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Clouddebugger.php', + 'Google_Service_Clouddebugger_Controller_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Clouddebugger.php', + 'Google_Service_Clouddebugger_Debuggee' => $vendorDir . '/google/apiclient/src/Google/Service/Clouddebugger.php', + 'Google_Service_Clouddebugger_DebuggeeLabels' => $vendorDir . '/google/apiclient/src/Google/Service/Clouddebugger.php', + 'Google_Service_Clouddebugger_DebuggerDebuggeesBreakpoints_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Clouddebugger.php', + 'Google_Service_Clouddebugger_DebuggerDebuggees_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Clouddebugger.php', + 'Google_Service_Clouddebugger_Debugger_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Clouddebugger.php', + 'Google_Service_Clouddebugger_Empty' => $vendorDir . '/google/apiclient/src/Google/Service/Clouddebugger.php', + 'Google_Service_Clouddebugger_FormatMessage' => $vendorDir . '/google/apiclient/src/Google/Service/Clouddebugger.php', + 'Google_Service_Clouddebugger_GerritSourceContext' => $vendorDir . '/google/apiclient/src/Google/Service/Clouddebugger.php', + 'Google_Service_Clouddebugger_GetBreakpointResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Clouddebugger.php', + 'Google_Service_Clouddebugger_GitSourceContext' => $vendorDir . '/google/apiclient/src/Google/Service/Clouddebugger.php', + 'Google_Service_Clouddebugger_ListActiveBreakpointsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Clouddebugger.php', + 'Google_Service_Clouddebugger_ListBreakpointsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Clouddebugger.php', + 'Google_Service_Clouddebugger_ListDebuggeesResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Clouddebugger.php', + 'Google_Service_Clouddebugger_ProjectRepoId' => $vendorDir . '/google/apiclient/src/Google/Service/Clouddebugger.php', + 'Google_Service_Clouddebugger_RegisterDebuggeeRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Clouddebugger.php', + 'Google_Service_Clouddebugger_RegisterDebuggeeResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Clouddebugger.php', + 'Google_Service_Clouddebugger_RepoId' => $vendorDir . '/google/apiclient/src/Google/Service/Clouddebugger.php', + 'Google_Service_Clouddebugger_SetBreakpointResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Clouddebugger.php', + 'Google_Service_Clouddebugger_SourceContext' => $vendorDir . '/google/apiclient/src/Google/Service/Clouddebugger.php', + 'Google_Service_Clouddebugger_SourceLocation' => $vendorDir . '/google/apiclient/src/Google/Service/Clouddebugger.php', + 'Google_Service_Clouddebugger_StackFrame' => $vendorDir . '/google/apiclient/src/Google/Service/Clouddebugger.php', + 'Google_Service_Clouddebugger_StatusMessage' => $vendorDir . '/google/apiclient/src/Google/Service/Clouddebugger.php', + 'Google_Service_Clouddebugger_UpdateActiveBreakpointRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Clouddebugger.php', + 'Google_Service_Clouddebugger_UpdateActiveBreakpointResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Clouddebugger.php', + 'Google_Service_Clouddebugger_Variable' => $vendorDir . '/google/apiclient/src/Google/Service/Clouddebugger.php', + 'Google_Service_Cloudlatencytest' => $vendorDir . '/google/apiclient/src/Google/Service/Cloudlatencytest.php', + 'Google_Service_Cloudlatencytest_AggregatedStats' => $vendorDir . '/google/apiclient/src/Google/Service/Cloudlatencytest.php', + 'Google_Service_Cloudlatencytest_AggregatedStatsReply' => $vendorDir . '/google/apiclient/src/Google/Service/Cloudlatencytest.php', + 'Google_Service_Cloudlatencytest_DoubleValue' => $vendorDir . '/google/apiclient/src/Google/Service/Cloudlatencytest.php', + 'Google_Service_Cloudlatencytest_IntValue' => $vendorDir . '/google/apiclient/src/Google/Service/Cloudlatencytest.php', + 'Google_Service_Cloudlatencytest_Stats' => $vendorDir . '/google/apiclient/src/Google/Service/Cloudlatencytest.php', + 'Google_Service_Cloudlatencytest_StatsReply' => $vendorDir . '/google/apiclient/src/Google/Service/Cloudlatencytest.php', + 'Google_Service_Cloudlatencytest_Statscollection_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Cloudlatencytest.php', + 'Google_Service_Cloudlatencytest_StringValue' => $vendorDir . '/google/apiclient/src/Google/Service/Cloudlatencytest.php', + 'Google_Service_Cloudresourcemanager' => $vendorDir . '/google/apiclient/src/Google/Service/Cloudresourcemanager.php', + 'Google_Service_Cloudresourcemanager_Binding' => $vendorDir . '/google/apiclient/src/Google/Service/Cloudresourcemanager.php', + 'Google_Service_Cloudresourcemanager_Empty' => $vendorDir . '/google/apiclient/src/Google/Service/Cloudresourcemanager.php', + 'Google_Service_Cloudresourcemanager_GetIamPolicyRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Cloudresourcemanager.php', + 'Google_Service_Cloudresourcemanager_ListOrganizationsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Cloudresourcemanager.php', + 'Google_Service_Cloudresourcemanager_ListProjectsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Cloudresourcemanager.php', + 'Google_Service_Cloudresourcemanager_Organization' => $vendorDir . '/google/apiclient/src/Google/Service/Cloudresourcemanager.php', + 'Google_Service_Cloudresourcemanager_OrganizationOwner' => $vendorDir . '/google/apiclient/src/Google/Service/Cloudresourcemanager.php', + 'Google_Service_Cloudresourcemanager_Organizations_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Cloudresourcemanager.php', + 'Google_Service_Cloudresourcemanager_Policy' => $vendorDir . '/google/apiclient/src/Google/Service/Cloudresourcemanager.php', + 'Google_Service_Cloudresourcemanager_Project' => $vendorDir . '/google/apiclient/src/Google/Service/Cloudresourcemanager.php', + 'Google_Service_Cloudresourcemanager_ProjectLabels' => $vendorDir . '/google/apiclient/src/Google/Service/Cloudresourcemanager.php', + 'Google_Service_Cloudresourcemanager_Projects_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Cloudresourcemanager.php', + 'Google_Service_Cloudresourcemanager_ResourceId' => $vendorDir . '/google/apiclient/src/Google/Service/Cloudresourcemanager.php', + 'Google_Service_Cloudresourcemanager_SetIamPolicyRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Cloudresourcemanager.php', + 'Google_Service_Cloudresourcemanager_TestIamPermissionsRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Cloudresourcemanager.php', + 'Google_Service_Cloudresourcemanager_TestIamPermissionsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Cloudresourcemanager.php', + 'Google_Service_Cloudsearch' => $vendorDir . '/google/apiclient/src/Google/Service/Cloudsearch.php', + 'Google_Service_Cloudtrace' => $vendorDir . '/google/apiclient/src/Google/Service/Cloudtrace.php', + 'Google_Service_Cloudtrace_Empty' => $vendorDir . '/google/apiclient/src/Google/Service/Cloudtrace.php', + 'Google_Service_Cloudtrace_ListTracesResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Cloudtrace.php', + 'Google_Service_Cloudtrace_ProjectsTraces_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Cloudtrace.php', + 'Google_Service_Cloudtrace_Projects_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Cloudtrace.php', + 'Google_Service_Cloudtrace_Trace' => $vendorDir . '/google/apiclient/src/Google/Service/Cloudtrace.php', + 'Google_Service_Cloudtrace_TraceSpan' => $vendorDir . '/google/apiclient/src/Google/Service/Cloudtrace.php', + 'Google_Service_Cloudtrace_TraceSpanLabels' => $vendorDir . '/google/apiclient/src/Google/Service/Cloudtrace.php', + 'Google_Service_Cloudtrace_Traces' => $vendorDir . '/google/apiclient/src/Google/Service/Cloudtrace.php', + 'Google_Service_Cloudtrace_V1_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Cloudtrace.php', + 'Google_Service_Compute' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_AccessConfig' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_Address' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_AddressAggregatedList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_AddressAggregatedListItems' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_AddressList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_AddressesScopedList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_AddressesScopedListWarning' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_AddressesScopedListWarningData' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_Addresses_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_AttachedDisk' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_AttachedDiskInitializeParams' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_Autoscaler' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_AutoscalerAggregatedList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_AutoscalerAggregatedListItems' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_AutoscalerList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_AutoscalersScopedList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_AutoscalersScopedListWarning' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_AutoscalersScopedListWarningData' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_Autoscalers_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_AutoscalingPolicy' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_AutoscalingPolicyCpuUtilization' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_AutoscalingPolicyCustomMetricUtilization' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_AutoscalingPolicyLoadBalancingUtilization' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_Backend' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_BackendService' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_BackendServiceGroupHealth' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_BackendServiceList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_BackendServices_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_DeprecationStatus' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_Disk' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_DiskAggregatedList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_DiskAggregatedListItems' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_DiskList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_DiskMoveRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_DiskType' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_DiskTypeAggregatedList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_DiskTypeAggregatedListItems' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_DiskTypeList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_DiskTypesScopedList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_DiskTypesScopedListWarning' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_DiskTypesScopedListWarningData' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_DiskTypes_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_DisksScopedList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_DisksScopedListWarning' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_DisksScopedListWarningData' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_Disks_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_Firewall' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_FirewallAllowed' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_FirewallList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_Firewalls_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_ForwardingRule' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_ForwardingRuleAggregatedList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_ForwardingRuleAggregatedListItems' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_ForwardingRuleList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_ForwardingRulesScopedList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_ForwardingRulesScopedListWarning' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_ForwardingRulesScopedListWarningData' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_ForwardingRules_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_GlobalAddresses_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_GlobalForwardingRules_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_GlobalOperations_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_HealthCheckReference' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_HealthStatus' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_HostRule' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_HttpHealthCheck' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_HttpHealthCheckList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_HttpHealthChecks_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_Image' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_ImageList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_ImageRawDisk' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_Images_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_Instance' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_InstanceAggregatedList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_InstanceAggregatedListItems' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_InstanceGroup' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_InstanceGroupAggregatedList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_InstanceGroupAggregatedListItems' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_InstanceGroupList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_InstanceGroupManager' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_InstanceGroupManagerActionsSummary' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_InstanceGroupManagerAggregatedList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_InstanceGroupManagerAggregatedListItems' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_InstanceGroupManagerList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_InstanceGroupManagersAbandonInstancesRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_InstanceGroupManagersDeleteInstancesRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_InstanceGroupManagersListManagedInstancesResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_InstanceGroupManagersRecreateInstancesRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_InstanceGroupManagersScopedList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_InstanceGroupManagersScopedListWarning' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_InstanceGroupManagersScopedListWarningData' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_InstanceGroupManagersSetInstanceTemplateRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_InstanceGroupManagersSetTargetPoolsRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_InstanceGroupManagers_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_InstanceGroupsAddInstancesRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_InstanceGroupsListInstances' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_InstanceGroupsListInstancesRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_InstanceGroupsRemoveInstancesRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_InstanceGroupsScopedList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_InstanceGroupsScopedListWarning' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_InstanceGroupsScopedListWarningData' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_InstanceGroupsSetNamedPortsRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_InstanceGroups_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_InstanceList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_InstanceMoveRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_InstanceProperties' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_InstanceReference' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_InstanceTemplate' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_InstanceTemplateList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_InstanceTemplates_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_InstanceWithNamedPorts' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_InstancesScopedList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_InstancesScopedListWarning' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_InstancesScopedListWarningData' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_Instances_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_License' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_Licenses_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_MachineType' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_MachineTypeAggregatedList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_MachineTypeAggregatedListItems' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_MachineTypeList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_MachineTypeScratchDisks' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_MachineTypesScopedList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_MachineTypesScopedListWarning' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_MachineTypesScopedListWarningData' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_MachineTypes_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_ManagedInstance' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_ManagedInstanceLastAttempt' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_ManagedInstanceLastAttemptErrors' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_ManagedInstanceLastAttemptErrorsErrors' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_Metadata' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_MetadataItems' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_NamedPort' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_Network' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_NetworkInterface' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_NetworkList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_Networks_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_Operation' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_OperationAggregatedList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_OperationAggregatedListItems' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_OperationError' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_OperationErrorErrors' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_OperationList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_OperationWarnings' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_OperationWarningsData' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_OperationsScopedList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_OperationsScopedListWarning' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_OperationsScopedListWarningData' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_PathMatcher' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_PathRule' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_Project' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_Projects_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_Quota' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_Region' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_RegionList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_RegionOperations_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_Regions_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_ResourceGroupReference' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_Route' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_RouteList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_RouteWarnings' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_RouteWarningsData' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_Routes_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_Scheduling' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_SerialPortOutput' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_ServiceAccount' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_Snapshot' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_SnapshotList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_Snapshots_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_Tags' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_TargetHttpProxies_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_TargetHttpProxy' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_TargetHttpProxyList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_TargetInstance' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_TargetInstanceAggregatedList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_TargetInstanceAggregatedListItems' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_TargetInstanceList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_TargetInstancesScopedList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_TargetInstancesScopedListWarning' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_TargetInstancesScopedListWarningData' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_TargetInstances_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_TargetPool' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_TargetPoolAggregatedList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_TargetPoolAggregatedListItems' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_TargetPoolInstanceHealth' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_TargetPoolList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_TargetPoolsAddHealthCheckRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_TargetPoolsAddInstanceRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_TargetPoolsRemoveHealthCheckRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_TargetPoolsRemoveInstanceRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_TargetPoolsScopedList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_TargetPoolsScopedListWarning' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_TargetPoolsScopedListWarningData' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_TargetPools_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_TargetReference' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_TargetVpnGateway' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_TargetVpnGatewayAggregatedList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_TargetVpnGatewayAggregatedListItems' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_TargetVpnGatewayList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_TargetVpnGatewaysScopedList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_TargetVpnGatewaysScopedListWarning' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_TargetVpnGatewaysScopedListWarningData' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_TargetVpnGateways_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_TestFailure' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_UrlMap' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_UrlMapList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_UrlMapReference' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_UrlMapTest' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_UrlMapValidationResult' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_UrlMapsValidateRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_UrlMapsValidateResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_UrlMaps_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_UsageExportLocation' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_VpnTunnel' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_VpnTunnelAggregatedList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_VpnTunnelAggregatedListItems' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_VpnTunnelList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_VpnTunnelsScopedList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_VpnTunnelsScopedListWarning' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_VpnTunnelsScopedListWarningData' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_VpnTunnels_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_Zone' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_ZoneList' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_ZoneMaintenanceWindows' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_ZoneOperations_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Compute_Zones_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Compute.php', + 'Google_Service_Computeaccounts' => $vendorDir . '/google/apiclient/src/Google/Service/Computeaccounts.php', + 'Google_Service_Computeaccounts_AuthorizedKeysView' => $vendorDir . '/google/apiclient/src/Google/Service/Computeaccounts.php', + 'Google_Service_Computeaccounts_GlobalAccountsOperations_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Computeaccounts.php', + 'Google_Service_Computeaccounts_Group' => $vendorDir . '/google/apiclient/src/Google/Service/Computeaccounts.php', + 'Google_Service_Computeaccounts_GroupList' => $vendorDir . '/google/apiclient/src/Google/Service/Computeaccounts.php', + 'Google_Service_Computeaccounts_GroupsAddMemberRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Computeaccounts.php', + 'Google_Service_Computeaccounts_GroupsRemoveMemberRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Computeaccounts.php', + 'Google_Service_Computeaccounts_Groups_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Computeaccounts.php', + 'Google_Service_Computeaccounts_LinuxAccountViews' => $vendorDir . '/google/apiclient/src/Google/Service/Computeaccounts.php', + 'Google_Service_Computeaccounts_LinuxGetAuthorizedKeysViewResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Computeaccounts.php', + 'Google_Service_Computeaccounts_LinuxGetLinuxAccountViewsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Computeaccounts.php', + 'Google_Service_Computeaccounts_LinuxGroupView' => $vendorDir . '/google/apiclient/src/Google/Service/Computeaccounts.php', + 'Google_Service_Computeaccounts_LinuxUserView' => $vendorDir . '/google/apiclient/src/Google/Service/Computeaccounts.php', + 'Google_Service_Computeaccounts_Linux_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Computeaccounts.php', + 'Google_Service_Computeaccounts_Operation' => $vendorDir . '/google/apiclient/src/Google/Service/Computeaccounts.php', + 'Google_Service_Computeaccounts_OperationError' => $vendorDir . '/google/apiclient/src/Google/Service/Computeaccounts.php', + 'Google_Service_Computeaccounts_OperationErrorErrors' => $vendorDir . '/google/apiclient/src/Google/Service/Computeaccounts.php', + 'Google_Service_Computeaccounts_OperationList' => $vendorDir . '/google/apiclient/src/Google/Service/Computeaccounts.php', + 'Google_Service_Computeaccounts_OperationWarnings' => $vendorDir . '/google/apiclient/src/Google/Service/Computeaccounts.php', + 'Google_Service_Computeaccounts_OperationWarningsData' => $vendorDir . '/google/apiclient/src/Google/Service/Computeaccounts.php', + 'Google_Service_Computeaccounts_PublicKey' => $vendorDir . '/google/apiclient/src/Google/Service/Computeaccounts.php', + 'Google_Service_Computeaccounts_User' => $vendorDir . '/google/apiclient/src/Google/Service/Computeaccounts.php', + 'Google_Service_Computeaccounts_UserList' => $vendorDir . '/google/apiclient/src/Google/Service/Computeaccounts.php', + 'Google_Service_Computeaccounts_Users_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Computeaccounts.php', + 'Google_Service_Container' => $vendorDir . '/google/apiclient/src/Google/Service/Container.php', + 'Google_Service_Container_Cluster' => $vendorDir . '/google/apiclient/src/Google/Service/Container.php', + 'Google_Service_Container_ClusterUpdate' => $vendorDir . '/google/apiclient/src/Google/Service/Container.php', + 'Google_Service_Container_CreateClusterRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Container.php', + 'Google_Service_Container_ListClustersResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Container.php', + 'Google_Service_Container_ListOperationsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Container.php', + 'Google_Service_Container_MasterAuth' => $vendorDir . '/google/apiclient/src/Google/Service/Container.php', + 'Google_Service_Container_NodeConfig' => $vendorDir . '/google/apiclient/src/Google/Service/Container.php', + 'Google_Service_Container_Operation' => $vendorDir . '/google/apiclient/src/Google/Service/Container.php', + 'Google_Service_Container_ProjectsZonesClusters_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Container.php', + 'Google_Service_Container_ProjectsZonesOperations_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Container.php', + 'Google_Service_Container_ProjectsZones_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Container.php', + 'Google_Service_Container_Projects_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Container.php', + 'Google_Service_Container_ServerConfig' => $vendorDir . '/google/apiclient/src/Google/Service/Container.php', + 'Google_Service_Container_UpdateClusterRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Container.php', + 'Google_Service_Coordinate' => $vendorDir . '/google/apiclient/src/Google/Service/Coordinate.php', + 'Google_Service_Coordinate_CustomField' => $vendorDir . '/google/apiclient/src/Google/Service/Coordinate.php', + 'Google_Service_Coordinate_CustomFieldDef' => $vendorDir . '/google/apiclient/src/Google/Service/Coordinate.php', + 'Google_Service_Coordinate_CustomFieldDefListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Coordinate.php', + 'Google_Service_Coordinate_CustomFieldDef_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Coordinate.php', + 'Google_Service_Coordinate_CustomFields' => $vendorDir . '/google/apiclient/src/Google/Service/Coordinate.php', + 'Google_Service_Coordinate_EnumItemDef' => $vendorDir . '/google/apiclient/src/Google/Service/Coordinate.php', + 'Google_Service_Coordinate_Job' => $vendorDir . '/google/apiclient/src/Google/Service/Coordinate.php', + 'Google_Service_Coordinate_JobChange' => $vendorDir . '/google/apiclient/src/Google/Service/Coordinate.php', + 'Google_Service_Coordinate_JobListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Coordinate.php', + 'Google_Service_Coordinate_JobState' => $vendorDir . '/google/apiclient/src/Google/Service/Coordinate.php', + 'Google_Service_Coordinate_Jobs_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Coordinate.php', + 'Google_Service_Coordinate_Location' => $vendorDir . '/google/apiclient/src/Google/Service/Coordinate.php', + 'Google_Service_Coordinate_LocationListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Coordinate.php', + 'Google_Service_Coordinate_LocationRecord' => $vendorDir . '/google/apiclient/src/Google/Service/Coordinate.php', + 'Google_Service_Coordinate_Location_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Coordinate.php', + 'Google_Service_Coordinate_Schedule' => $vendorDir . '/google/apiclient/src/Google/Service/Coordinate.php', + 'Google_Service_Coordinate_Schedule_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Coordinate.php', + 'Google_Service_Coordinate_Team' => $vendorDir . '/google/apiclient/src/Google/Service/Coordinate.php', + 'Google_Service_Coordinate_TeamListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Coordinate.php', + 'Google_Service_Coordinate_Team_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Coordinate.php', + 'Google_Service_Coordinate_TokenPagination' => $vendorDir . '/google/apiclient/src/Google/Service/Coordinate.php', + 'Google_Service_Coordinate_Worker' => $vendorDir . '/google/apiclient/src/Google/Service/Coordinate.php', + 'Google_Service_Coordinate_WorkerListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Coordinate.php', + 'Google_Service_Coordinate_Worker_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Coordinate.php', + 'Google_Service_Customsearch' => $vendorDir . '/google/apiclient/src/Google/Service/Customsearch.php', + 'Google_Service_Customsearch_Context' => $vendorDir . '/google/apiclient/src/Google/Service/Customsearch.php', + 'Google_Service_Customsearch_ContextFacets' => $vendorDir . '/google/apiclient/src/Google/Service/Customsearch.php', + 'Google_Service_Customsearch_Cse_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Customsearch.php', + 'Google_Service_Customsearch_Promotion' => $vendorDir . '/google/apiclient/src/Google/Service/Customsearch.php', + 'Google_Service_Customsearch_PromotionBodyLines' => $vendorDir . '/google/apiclient/src/Google/Service/Customsearch.php', + 'Google_Service_Customsearch_PromotionImage' => $vendorDir . '/google/apiclient/src/Google/Service/Customsearch.php', + 'Google_Service_Customsearch_Query' => $vendorDir . '/google/apiclient/src/Google/Service/Customsearch.php', + 'Google_Service_Customsearch_Result' => $vendorDir . '/google/apiclient/src/Google/Service/Customsearch.php', + 'Google_Service_Customsearch_ResultImage' => $vendorDir . '/google/apiclient/src/Google/Service/Customsearch.php', + 'Google_Service_Customsearch_ResultLabels' => $vendorDir . '/google/apiclient/src/Google/Service/Customsearch.php', + 'Google_Service_Customsearch_ResultPagemap' => $vendorDir . '/google/apiclient/src/Google/Service/Customsearch.php', + 'Google_Service_Customsearch_ResultPagemapItemElement' => $vendorDir . '/google/apiclient/src/Google/Service/Customsearch.php', + 'Google_Service_Customsearch_Search' => $vendorDir . '/google/apiclient/src/Google/Service/Customsearch.php', + 'Google_Service_Customsearch_SearchQueries' => $vendorDir . '/google/apiclient/src/Google/Service/Customsearch.php', + 'Google_Service_Customsearch_SearchSearchInformation' => $vendorDir . '/google/apiclient/src/Google/Service/Customsearch.php', + 'Google_Service_Customsearch_SearchSpelling' => $vendorDir . '/google/apiclient/src/Google/Service/Customsearch.php', + 'Google_Service_Customsearch_SearchUrl' => $vendorDir . '/google/apiclient/src/Google/Service/Customsearch.php', + 'Google_Service_DataTransfer' => $vendorDir . '/google/apiclient/src/Google/Service/DataTransfer.php', + 'Google_Service_DataTransfer_Application' => $vendorDir . '/google/apiclient/src/Google/Service/DataTransfer.php', + 'Google_Service_DataTransfer_ApplicationDataTransfer' => $vendorDir . '/google/apiclient/src/Google/Service/DataTransfer.php', + 'Google_Service_DataTransfer_ApplicationTransferParam' => $vendorDir . '/google/apiclient/src/Google/Service/DataTransfer.php', + 'Google_Service_DataTransfer_ApplicationsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/DataTransfer.php', + 'Google_Service_DataTransfer_Applications_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/DataTransfer.php', + 'Google_Service_DataTransfer_DataTransfer' => $vendorDir . '/google/apiclient/src/Google/Service/DataTransfer.php', + 'Google_Service_DataTransfer_DataTransfersListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/DataTransfer.php', + 'Google_Service_DataTransfer_Transfers_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/DataTransfer.php', + 'Google_Service_Dataflow' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_ApproximateProgress' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_AutoscalingSettings' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_ComputationTopology' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_ConcatPosition' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_CustomSourceLocation' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_DataDiskAssignment' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_DerivedSource' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_Disk' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_DynamicSourceSplit' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_Environment' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_EnvironmentInternalExperiments' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_EnvironmentSdkPipelineOptions' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_EnvironmentUserAgent' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_EnvironmentVersion' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_FlattenInstruction' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_InstructionInput' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_InstructionOutput' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_InstructionOutputCodec' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_Job' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_JobExecutionInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_JobExecutionInfoStages' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_JobExecutionStageInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_JobMessage' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_JobMetrics' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_JobTransformNameMapping' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_KeyRangeDataDiskAssignment' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_KeyRangeLocation' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_LeaseWorkItemRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_LeaseWorkItemResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_ListJobMessagesResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_ListJobsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_MapTask' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_MetricStructuredName' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_MetricStructuredNameContext' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_MetricUpdate' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_MountedDataDisk' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_MultiOutputInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_Package' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_ParDoInstruction' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_ParDoInstructionUserFn' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_ParallelInstruction' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_PartialGroupByKeyInstruction' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_PartialGroupByKeyInstructionInputElementCodec' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_PartialGroupByKeyInstructionValueCombiningFn' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_Position' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_ProjectsJobsMessages_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_ProjectsJobsWorkItems_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_ProjectsJobs_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_Projects_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_PubsubLocation' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_ReadInstruction' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_ReportWorkItemStatusRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_ReportWorkItemStatusResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_SeqMapTask' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_SeqMapTaskOutputInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_SeqMapTaskUserFn' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_ShellTask' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_SideInputInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_SideInputInfoKind' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_Sink' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_SinkCodec' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_SinkSpec' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_Source' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_SourceBaseSpecs' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_SourceCodec' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_SourceFork' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_SourceGetMetadataRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_SourceGetMetadataResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_SourceMetadata' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_SourceOperationRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_SourceOperationResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_SourceSpec' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_SourceSplitOptions' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_SourceSplitRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_SourceSplitResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_SourceSplitShard' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_StateFamilyConfig' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_Status' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_StatusDetails' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_Step' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_StepProperties' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_StreamLocation' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_StreamingComputationRanges' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_StreamingComputationTask' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_StreamingSetupTask' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_StreamingSideInputLocation' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_StreamingStageLocation' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_TaskRunnerSettings' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_TopologyConfig' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_TopologyConfigUserStageToComputationNameMap' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_WorkItem' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_WorkItemServiceState' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_WorkItemServiceStateHarnessData' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_WorkItemStatus' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_WorkerPool' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_WorkerPoolMetadata' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_WorkerPoolPoolArgs' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_WorkerSettings' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Dataflow_WriteInstruction' => $vendorDir . '/google/apiclient/src/Google/Service/Dataflow.php', + 'Google_Service_Datastore' => $vendorDir . '/google/apiclient/src/Google/Service/Datastore.php', + 'Google_Service_Datastore_AllocateIdsRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Datastore.php', + 'Google_Service_Datastore_AllocateIdsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Datastore.php', + 'Google_Service_Datastore_BeginTransactionRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Datastore.php', + 'Google_Service_Datastore_BeginTransactionResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Datastore.php', + 'Google_Service_Datastore_CommitRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Datastore.php', + 'Google_Service_Datastore_CommitResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Datastore.php', + 'Google_Service_Datastore_CompositeFilter' => $vendorDir . '/google/apiclient/src/Google/Service/Datastore.php', + 'Google_Service_Datastore_Datasets_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Datastore.php', + 'Google_Service_Datastore_Entity' => $vendorDir . '/google/apiclient/src/Google/Service/Datastore.php', + 'Google_Service_Datastore_EntityProperties' => $vendorDir . '/google/apiclient/src/Google/Service/Datastore.php', + 'Google_Service_Datastore_EntityResult' => $vendorDir . '/google/apiclient/src/Google/Service/Datastore.php', + 'Google_Service_Datastore_Filter' => $vendorDir . '/google/apiclient/src/Google/Service/Datastore.php', + 'Google_Service_Datastore_GqlQuery' => $vendorDir . '/google/apiclient/src/Google/Service/Datastore.php', + 'Google_Service_Datastore_GqlQueryArg' => $vendorDir . '/google/apiclient/src/Google/Service/Datastore.php', + 'Google_Service_Datastore_Key' => $vendorDir . '/google/apiclient/src/Google/Service/Datastore.php', + 'Google_Service_Datastore_KeyPathElement' => $vendorDir . '/google/apiclient/src/Google/Service/Datastore.php', + 'Google_Service_Datastore_KindExpression' => $vendorDir . '/google/apiclient/src/Google/Service/Datastore.php', + 'Google_Service_Datastore_LookupRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Datastore.php', + 'Google_Service_Datastore_LookupResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Datastore.php', + 'Google_Service_Datastore_Mutation' => $vendorDir . '/google/apiclient/src/Google/Service/Datastore.php', + 'Google_Service_Datastore_MutationResult' => $vendorDir . '/google/apiclient/src/Google/Service/Datastore.php', + 'Google_Service_Datastore_PartitionId' => $vendorDir . '/google/apiclient/src/Google/Service/Datastore.php', + 'Google_Service_Datastore_Property' => $vendorDir . '/google/apiclient/src/Google/Service/Datastore.php', + 'Google_Service_Datastore_PropertyExpression' => $vendorDir . '/google/apiclient/src/Google/Service/Datastore.php', + 'Google_Service_Datastore_PropertyFilter' => $vendorDir . '/google/apiclient/src/Google/Service/Datastore.php', + 'Google_Service_Datastore_PropertyOrder' => $vendorDir . '/google/apiclient/src/Google/Service/Datastore.php', + 'Google_Service_Datastore_PropertyReference' => $vendorDir . '/google/apiclient/src/Google/Service/Datastore.php', + 'Google_Service_Datastore_Query' => $vendorDir . '/google/apiclient/src/Google/Service/Datastore.php', + 'Google_Service_Datastore_QueryResultBatch' => $vendorDir . '/google/apiclient/src/Google/Service/Datastore.php', + 'Google_Service_Datastore_ReadOptions' => $vendorDir . '/google/apiclient/src/Google/Service/Datastore.php', + 'Google_Service_Datastore_ResponseHeader' => $vendorDir . '/google/apiclient/src/Google/Service/Datastore.php', + 'Google_Service_Datastore_RollbackRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Datastore.php', + 'Google_Service_Datastore_RollbackResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Datastore.php', + 'Google_Service_Datastore_RunQueryRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Datastore.php', + 'Google_Service_Datastore_RunQueryResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Datastore.php', + 'Google_Service_Datastore_Value' => $vendorDir . '/google/apiclient/src/Google/Service/Datastore.php', + 'Google_Service_DeploymentManager' => $vendorDir . '/google/apiclient/src/Google/Service/DeploymentManager.php', + 'Google_Service_DeploymentManager_ConfigFile' => $vendorDir . '/google/apiclient/src/Google/Service/DeploymentManager.php', + 'Google_Service_DeploymentManager_Deployment' => $vendorDir . '/google/apiclient/src/Google/Service/DeploymentManager.php', + 'Google_Service_DeploymentManager_DeploymentUpdate' => $vendorDir . '/google/apiclient/src/Google/Service/DeploymentManager.php', + 'Google_Service_DeploymentManager_DeploymentmanagerResource' => $vendorDir . '/google/apiclient/src/Google/Service/DeploymentManager.php', + 'Google_Service_DeploymentManager_DeploymentmanagerResourceWarnings' => $vendorDir . '/google/apiclient/src/Google/Service/DeploymentManager.php', + 'Google_Service_DeploymentManager_DeploymentmanagerResourceWarningsData' => $vendorDir . '/google/apiclient/src/Google/Service/DeploymentManager.php', + 'Google_Service_DeploymentManager_DeploymentsCancelPreviewRequest' => $vendorDir . '/google/apiclient/src/Google/Service/DeploymentManager.php', + 'Google_Service_DeploymentManager_DeploymentsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/DeploymentManager.php', + 'Google_Service_DeploymentManager_DeploymentsStopRequest' => $vendorDir . '/google/apiclient/src/Google/Service/DeploymentManager.php', + 'Google_Service_DeploymentManager_Deployments_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/DeploymentManager.php', + 'Google_Service_DeploymentManager_ImportFile' => $vendorDir . '/google/apiclient/src/Google/Service/DeploymentManager.php', + 'Google_Service_DeploymentManager_Manifest' => $vendorDir . '/google/apiclient/src/Google/Service/DeploymentManager.php', + 'Google_Service_DeploymentManager_ManifestsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/DeploymentManager.php', + 'Google_Service_DeploymentManager_Manifests_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/DeploymentManager.php', + 'Google_Service_DeploymentManager_Operation' => $vendorDir . '/google/apiclient/src/Google/Service/DeploymentManager.php', + 'Google_Service_DeploymentManager_OperationError' => $vendorDir . '/google/apiclient/src/Google/Service/DeploymentManager.php', + 'Google_Service_DeploymentManager_OperationErrorErrors' => $vendorDir . '/google/apiclient/src/Google/Service/DeploymentManager.php', + 'Google_Service_DeploymentManager_OperationWarnings' => $vendorDir . '/google/apiclient/src/Google/Service/DeploymentManager.php', + 'Google_Service_DeploymentManager_OperationWarningsData' => $vendorDir . '/google/apiclient/src/Google/Service/DeploymentManager.php', + 'Google_Service_DeploymentManager_OperationsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/DeploymentManager.php', + 'Google_Service_DeploymentManager_Operations_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/DeploymentManager.php', + 'Google_Service_DeploymentManager_ResourceUpdate' => $vendorDir . '/google/apiclient/src/Google/Service/DeploymentManager.php', + 'Google_Service_DeploymentManager_ResourceUpdateError' => $vendorDir . '/google/apiclient/src/Google/Service/DeploymentManager.php', + 'Google_Service_DeploymentManager_ResourceUpdateErrorErrors' => $vendorDir . '/google/apiclient/src/Google/Service/DeploymentManager.php', + 'Google_Service_DeploymentManager_ResourceUpdateWarnings' => $vendorDir . '/google/apiclient/src/Google/Service/DeploymentManager.php', + 'Google_Service_DeploymentManager_ResourceUpdateWarningsData' => $vendorDir . '/google/apiclient/src/Google/Service/DeploymentManager.php', + 'Google_Service_DeploymentManager_ResourcesListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/DeploymentManager.php', + 'Google_Service_DeploymentManager_Resources_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/DeploymentManager.php', + 'Google_Service_DeploymentManager_TargetConfiguration' => $vendorDir . '/google/apiclient/src/Google/Service/DeploymentManager.php', + 'Google_Service_DeploymentManager_Type' => $vendorDir . '/google/apiclient/src/Google/Service/DeploymentManager.php', + 'Google_Service_DeploymentManager_TypesListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/DeploymentManager.php', + 'Google_Service_DeploymentManager_Types_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/DeploymentManager.php', + 'Google_Service_Dfareporting' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_Account' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_AccountActiveAdSummaries_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_AccountActiveAdSummary' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_AccountPermission' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_AccountPermissionGroup' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_AccountPermissionGroupsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_AccountPermissionGroups_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_AccountPermissionsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_AccountPermissions_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_AccountUserProfile' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_AccountUserProfilesListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_AccountUserProfiles_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_AccountsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_Accounts_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_Activities' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_Ad' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_AdSlot' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_AdsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_Ads_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_Advertiser' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_AdvertiserGroup' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_AdvertiserGroupsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_AdvertiserGroups_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_AdvertisersListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_Advertisers_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_AudienceSegment' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_AudienceSegmentGroup' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_Browser' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_BrowsersListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_Browsers_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_Campaign' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_CampaignCreativeAssociation' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_CampaignCreativeAssociationsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_CampaignCreativeAssociations_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_CampaignsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_Campaigns_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_ChangeLog' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_ChangeLogsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_ChangeLogs_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_CitiesListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_Cities_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_City' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_ClickTag' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_ClickThroughUrl' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_ClickThroughUrlSuffixProperties' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_CompanionClickThroughOverride' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_CompatibleFields' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_ConnectionType' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_ConnectionTypesListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_ConnectionTypes_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_ContentCategoriesListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_ContentCategories_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_ContentCategory' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_CountriesListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_Countries_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_Country' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_Creative' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_CreativeAsset' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_CreativeAssetId' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_CreativeAssetMetadata' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_CreativeAssets_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_CreativeAssignment' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_CreativeCustomEvent' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_CreativeField' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_CreativeFieldAssignment' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_CreativeFieldValue' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_CreativeFieldValuesListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_CreativeFieldValues_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_CreativeFieldsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_CreativeFields_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_CreativeGroup' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_CreativeGroupAssignment' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_CreativeGroupsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_CreativeGroups_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_CreativeOptimizationConfiguration' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_CreativeRotation' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_CreativeSettings' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_CreativesListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_Creatives_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_CrossDimensionReachReportCompatibleFields' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_CustomRichMediaEvents' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_DateRange' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_DayPartTargeting' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_DefaultClickThroughEventTagProperties' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_DeliverySchedule' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_DfareportingFile' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_DfareportingFileUrls' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_DfpSettings' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_Dimension' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_DimensionFilter' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_DimensionValue' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_DimensionValueList' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_DimensionValueRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_DimensionValues_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_DirectorySite' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_DirectorySiteContact' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_DirectorySiteContactAssignment' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_DirectorySiteContactsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_DirectorySiteContacts_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_DirectorySiteSettings' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_DirectorySitesListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_DirectorySites_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_EventTag' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_EventTagOverride' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_EventTagsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_EventTags_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_FileList' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_Files_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_Flight' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_FloodlightActivitiesGenerateTagResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_FloodlightActivitiesListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_FloodlightActivities_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_FloodlightActivity' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_FloodlightActivityDynamicTag' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_FloodlightActivityGroup' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_FloodlightActivityGroupsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_FloodlightActivityGroups_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_FloodlightActivityPublisherDynamicTag' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_FloodlightConfiguration' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_FloodlightConfigurationsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_FloodlightConfigurations_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_FloodlightReportCompatibleFields' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_FrequencyCap' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_FsCommand' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_GeoTargeting' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_InventoryItem' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_InventoryItemsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_InventoryItems_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_KeyValueTargetingExpression' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_LandingPage' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_LandingPagesListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_LandingPages_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_LastModifiedInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_ListPopulationClause' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_ListPopulationRule' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_ListPopulationTerm' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_ListTargetingExpression' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_LookbackConfiguration' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_Metric' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_Metro' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_MetrosListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_Metros_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_MobileCarrier' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_MobileCarriersListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_MobileCarriers_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_ObjectFilter' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_OffsetPosition' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_OmnitureSettings' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_OperatingSystem' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_OperatingSystemVersion' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_OperatingSystemVersionsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_OperatingSystemVersions_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_OperatingSystemsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_OperatingSystems_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_OptimizationActivity' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_Order' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_OrderContact' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_OrderDocument' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_OrderDocumentsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_OrderDocuments_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_OrdersListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_Orders_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_PathToConversionReportCompatibleFields' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_Placement' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_PlacementAssignment' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_PlacementGroup' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_PlacementGroupsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_PlacementGroups_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_PlacementStrategiesListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_PlacementStrategies_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_PlacementStrategy' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_PlacementTag' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_PlacementsGenerateTagsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_PlacementsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_Placements_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_PlatformType' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_PlatformTypesListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_PlatformTypes_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_PopupWindowProperties' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_PostalCode' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_PostalCodesListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_PostalCodes_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_Pricing' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_PricingSchedule' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_PricingSchedulePricingPeriod' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_ProgrammaticSetting' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_Project' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_ProjectsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_Projects_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_ReachReportCompatibleFields' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_Recipient' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_Region' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_RegionsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_Regions_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_RemarketingList' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_RemarketingListShare' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_RemarketingListShares_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_RemarketingListsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_RemarketingLists_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_Report' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_ReportCompatibleFields' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_ReportCriteria' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_ReportCrossDimensionReachCriteria' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_ReportDelivery' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_ReportFloodlightCriteria' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_ReportFloodlightCriteriaReportProperties' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_ReportList' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_ReportPathToConversionCriteria' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_ReportPathToConversionCriteriaReportProperties' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_ReportReachCriteria' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_ReportSchedule' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_ReportsCompatibleFields_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_ReportsConfiguration' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_ReportsFiles_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_Reports_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_RichMediaExitOverride' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_Site' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_SiteContact' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_SiteSettings' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_SitesListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_Sites_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_Size' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_SizesListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_Sizes_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_SortedDimension' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_Subaccount' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_SubaccountsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_Subaccounts_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_TagData' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_TagSetting' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_TagSettings' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_TargetWindow' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_TargetableRemarketingList' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_TargetableRemarketingListsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_TargetableRemarketingLists_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_TechnologyTargeting' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_ThirdPartyTrackingUrl' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_UserDefinedVariableConfiguration' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_UserProfile' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_UserProfileList' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_UserProfiles_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_UserRole' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_UserRolePermission' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_UserRolePermissionGroup' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_UserRolePermissionGroupsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_UserRolePermissionGroups_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_UserRolePermissionsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_UserRolePermissions_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_UserRolesListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Dfareporting_UserRoles_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dfareporting.php', + 'Google_Service_Directory' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_Alias' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_Aliases' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_Asp' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_Asps' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_Asps_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_Channel' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_ChannelParams' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_Channels_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_ChromeOsDevice' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_ChromeOsDeviceActiveTimeRanges' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_ChromeOsDeviceRecentUsers' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_ChromeOsDevices' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_Chromeosdevices_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_Customer' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_CustomerPostalAddress' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_Customers_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_DomainAlias' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_DomainAliases' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_DomainAliases_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_Domains' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_Domains2' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_Domains_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_Group' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_Groups' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_GroupsAliases_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_Groups_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_Member' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_Members' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_Members_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_MobileDevice' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_MobileDeviceAction' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_MobileDeviceApplications' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_MobileDevices' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_Mobiledevices_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_Notification' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_Notifications' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_Notifications_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_OrgUnit' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_OrgUnits' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_Orgunits_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_Schema' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_SchemaFieldSpec' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_SchemaFieldSpecNumericIndexingSpec' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_Schemas' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_Schemas_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_Token' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_Tokens' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_Tokens_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_User' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_UserAbout' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_UserAddress' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_UserCustomProperties' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_UserCustomSchemas' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_UserEmail' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_UserExternalId' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_UserIm' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_UserMakeAdmin' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_UserName' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_UserOrganization' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_UserPhone' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_UserPhoto' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_UserRelation' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_UserUndelete' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_UserWebsite' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_Users' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_UsersAliases_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_UsersPhotos_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_Users_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_VerificationCode' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_VerificationCodes' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Directory_VerificationCodes_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Directory.php', + 'Google_Service_Dns' => $vendorDir . '/google/apiclient/src/Google/Service/Dns.php', + 'Google_Service_Dns_Change' => $vendorDir . '/google/apiclient/src/Google/Service/Dns.php', + 'Google_Service_Dns_ChangesListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dns.php', + 'Google_Service_Dns_Changes_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dns.php', + 'Google_Service_Dns_ManagedZone' => $vendorDir . '/google/apiclient/src/Google/Service/Dns.php', + 'Google_Service_Dns_ManagedZonesListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dns.php', + 'Google_Service_Dns_ManagedZones_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dns.php', + 'Google_Service_Dns_Project' => $vendorDir . '/google/apiclient/src/Google/Service/Dns.php', + 'Google_Service_Dns_Projects_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dns.php', + 'Google_Service_Dns_Quota' => $vendorDir . '/google/apiclient/src/Google/Service/Dns.php', + 'Google_Service_Dns_ResourceRecordSet' => $vendorDir . '/google/apiclient/src/Google/Service/Dns.php', + 'Google_Service_Dns_ResourceRecordSetsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Dns.php', + 'Google_Service_Dns_ResourceRecordSets_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Dns.php', + 'Google_Service_DoubleClickBidManager' => $vendorDir . '/google/apiclient/src/Google/Service/DoubleClickBidManager.php', + 'Google_Service_DoubleClickBidManager_DownloadLineItemsRequest' => $vendorDir . '/google/apiclient/src/Google/Service/DoubleClickBidManager.php', + 'Google_Service_DoubleClickBidManager_DownloadLineItemsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/DoubleClickBidManager.php', + 'Google_Service_DoubleClickBidManager_FilterPair' => $vendorDir . '/google/apiclient/src/Google/Service/DoubleClickBidManager.php', + 'Google_Service_DoubleClickBidManager_Lineitems_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/DoubleClickBidManager.php', + 'Google_Service_DoubleClickBidManager_ListQueriesResponse' => $vendorDir . '/google/apiclient/src/Google/Service/DoubleClickBidManager.php', + 'Google_Service_DoubleClickBidManager_ListReportsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/DoubleClickBidManager.php', + 'Google_Service_DoubleClickBidManager_Parameters' => $vendorDir . '/google/apiclient/src/Google/Service/DoubleClickBidManager.php', + 'Google_Service_DoubleClickBidManager_Queries_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/DoubleClickBidManager.php', + 'Google_Service_DoubleClickBidManager_Query' => $vendorDir . '/google/apiclient/src/Google/Service/DoubleClickBidManager.php', + 'Google_Service_DoubleClickBidManager_QueryMetadata' => $vendorDir . '/google/apiclient/src/Google/Service/DoubleClickBidManager.php', + 'Google_Service_DoubleClickBidManager_QuerySchedule' => $vendorDir . '/google/apiclient/src/Google/Service/DoubleClickBidManager.php', + 'Google_Service_DoubleClickBidManager_Report' => $vendorDir . '/google/apiclient/src/Google/Service/DoubleClickBidManager.php', + 'Google_Service_DoubleClickBidManager_ReportFailure' => $vendorDir . '/google/apiclient/src/Google/Service/DoubleClickBidManager.php', + 'Google_Service_DoubleClickBidManager_ReportKey' => $vendorDir . '/google/apiclient/src/Google/Service/DoubleClickBidManager.php', + 'Google_Service_DoubleClickBidManager_ReportMetadata' => $vendorDir . '/google/apiclient/src/Google/Service/DoubleClickBidManager.php', + 'Google_Service_DoubleClickBidManager_ReportStatus' => $vendorDir . '/google/apiclient/src/Google/Service/DoubleClickBidManager.php', + 'Google_Service_DoubleClickBidManager_Reports_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/DoubleClickBidManager.php', + 'Google_Service_DoubleClickBidManager_RowStatus' => $vendorDir . '/google/apiclient/src/Google/Service/DoubleClickBidManager.php', + 'Google_Service_DoubleClickBidManager_RunQueryRequest' => $vendorDir . '/google/apiclient/src/Google/Service/DoubleClickBidManager.php', + 'Google_Service_DoubleClickBidManager_UploadLineItemsRequest' => $vendorDir . '/google/apiclient/src/Google/Service/DoubleClickBidManager.php', + 'Google_Service_DoubleClickBidManager_UploadLineItemsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/DoubleClickBidManager.php', + 'Google_Service_DoubleClickBidManager_UploadStatus' => $vendorDir . '/google/apiclient/src/Google/Service/DoubleClickBidManager.php', + 'Google_Service_Doubleclicksearch' => $vendorDir . '/google/apiclient/src/Google/Service/Doubleclicksearch.php', + 'Google_Service_Doubleclicksearch_Availability' => $vendorDir . '/google/apiclient/src/Google/Service/Doubleclicksearch.php', + 'Google_Service_Doubleclicksearch_Conversion' => $vendorDir . '/google/apiclient/src/Google/Service/Doubleclicksearch.php', + 'Google_Service_Doubleclicksearch_ConversionList' => $vendorDir . '/google/apiclient/src/Google/Service/Doubleclicksearch.php', + 'Google_Service_Doubleclicksearch_Conversion_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Doubleclicksearch.php', + 'Google_Service_Doubleclicksearch_CustomDimension' => $vendorDir . '/google/apiclient/src/Google/Service/Doubleclicksearch.php', + 'Google_Service_Doubleclicksearch_CustomMetric' => $vendorDir . '/google/apiclient/src/Google/Service/Doubleclicksearch.php', + 'Google_Service_Doubleclicksearch_Report' => $vendorDir . '/google/apiclient/src/Google/Service/Doubleclicksearch.php', + 'Google_Service_Doubleclicksearch_ReportApiColumnSpec' => $vendorDir . '/google/apiclient/src/Google/Service/Doubleclicksearch.php', + 'Google_Service_Doubleclicksearch_ReportFiles' => $vendorDir . '/google/apiclient/src/Google/Service/Doubleclicksearch.php', + 'Google_Service_Doubleclicksearch_ReportRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Doubleclicksearch.php', + 'Google_Service_Doubleclicksearch_ReportRequestFilters' => $vendorDir . '/google/apiclient/src/Google/Service/Doubleclicksearch.php', + 'Google_Service_Doubleclicksearch_ReportRequestOrderBy' => $vendorDir . '/google/apiclient/src/Google/Service/Doubleclicksearch.php', + 'Google_Service_Doubleclicksearch_ReportRequestReportScope' => $vendorDir . '/google/apiclient/src/Google/Service/Doubleclicksearch.php', + 'Google_Service_Doubleclicksearch_ReportRequestTimeRange' => $vendorDir . '/google/apiclient/src/Google/Service/Doubleclicksearch.php', + 'Google_Service_Doubleclicksearch_ReportRow' => $vendorDir . '/google/apiclient/src/Google/Service/Doubleclicksearch.php', + 'Google_Service_Doubleclicksearch_Reports_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Doubleclicksearch.php', + 'Google_Service_Doubleclicksearch_SavedColumn' => $vendorDir . '/google/apiclient/src/Google/Service/Doubleclicksearch.php', + 'Google_Service_Doubleclicksearch_SavedColumnList' => $vendorDir . '/google/apiclient/src/Google/Service/Doubleclicksearch.php', + 'Google_Service_Doubleclicksearch_SavedColumns_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Doubleclicksearch.php', + 'Google_Service_Doubleclicksearch_UpdateAvailabilityRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Doubleclicksearch.php', + 'Google_Service_Doubleclicksearch_UpdateAvailabilityResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Doubleclicksearch.php', + 'Google_Service_Drive' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_About' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_AboutAdditionalRoleInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_AboutAdditionalRoleInfoRoleSets' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_AboutExportFormats' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_AboutFeatures' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_AboutImportFormats' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_AboutMaxUploadSizes' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_AboutQuotaBytesByService' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_About_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_App' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_AppIcons' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_AppList' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_Apps_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_Change' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_ChangeList' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_Changes_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_Channel' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_ChannelParams' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_Channels_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_ChildList' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_ChildReference' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_Children_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_Comment' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_CommentContext' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_CommentList' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_CommentReply' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_CommentReplyList' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_Comments_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_DriveFile' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_DriveFileExportLinks' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_DriveFileImageMediaMetadata' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_DriveFileImageMediaMetadataLocation' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_DriveFileIndexableText' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_DriveFileLabels' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_DriveFileOpenWithLinks' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_DriveFileThumbnail' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_DriveFileVideoMediaMetadata' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_FileList' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_Files_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_GeneratedIds' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_ParentList' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_ParentReference' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_Parents_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_Permission' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_PermissionId' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_PermissionList' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_Permissions_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_Properties_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_Property' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_PropertyList' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_Realtime_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_Replies_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_Revision' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_RevisionExportLinks' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_RevisionList' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_Revisions_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_User' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Drive_UserPicture' => $vendorDir . '/google/apiclient/src/Google/Service/Drive.php', + 'Google_Service_Exception' => $vendorDir . '/google/apiclient/src/Google/Service/Exception.php', + 'Google_Service_Fitness' => $vendorDir . '/google/apiclient/src/Google/Service/Fitness.php', + 'Google_Service_Fitness_AggregateBucket' => $vendorDir . '/google/apiclient/src/Google/Service/Fitness.php', + 'Google_Service_Fitness_AggregateBy' => $vendorDir . '/google/apiclient/src/Google/Service/Fitness.php', + 'Google_Service_Fitness_AggregateRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Fitness.php', + 'Google_Service_Fitness_AggregateResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Fitness.php', + 'Google_Service_Fitness_Application' => $vendorDir . '/google/apiclient/src/Google/Service/Fitness.php', + 'Google_Service_Fitness_BucketByActivity' => $vendorDir . '/google/apiclient/src/Google/Service/Fitness.php', + 'Google_Service_Fitness_BucketBySession' => $vendorDir . '/google/apiclient/src/Google/Service/Fitness.php', + 'Google_Service_Fitness_BucketByTime' => $vendorDir . '/google/apiclient/src/Google/Service/Fitness.php', + 'Google_Service_Fitness_DataPoint' => $vendorDir . '/google/apiclient/src/Google/Service/Fitness.php', + 'Google_Service_Fitness_DataSource' => $vendorDir . '/google/apiclient/src/Google/Service/Fitness.php', + 'Google_Service_Fitness_DataType' => $vendorDir . '/google/apiclient/src/Google/Service/Fitness.php', + 'Google_Service_Fitness_DataTypeField' => $vendorDir . '/google/apiclient/src/Google/Service/Fitness.php', + 'Google_Service_Fitness_Dataset' => $vendorDir . '/google/apiclient/src/Google/Service/Fitness.php', + 'Google_Service_Fitness_Device' => $vendorDir . '/google/apiclient/src/Google/Service/Fitness.php', + 'Google_Service_Fitness_ListDataSourcesResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Fitness.php', + 'Google_Service_Fitness_ListSessionsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Fitness.php', + 'Google_Service_Fitness_MapValue' => $vendorDir . '/google/apiclient/src/Google/Service/Fitness.php', + 'Google_Service_Fitness_Session' => $vendorDir . '/google/apiclient/src/Google/Service/Fitness.php', + 'Google_Service_Fitness_UsersDataSourcesDatasets_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Fitness.php', + 'Google_Service_Fitness_UsersDataSources_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Fitness.php', + 'Google_Service_Fitness_UsersDataset_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Fitness.php', + 'Google_Service_Fitness_UsersSessions_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Fitness.php', + 'Google_Service_Fitness_Users_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Fitness.php', + 'Google_Service_Fitness_Value' => $vendorDir . '/google/apiclient/src/Google/Service/Fitness.php', + 'Google_Service_Fitness_ValueMapValEntry' => $vendorDir . '/google/apiclient/src/Google/Service/Fitness.php', + 'Google_Service_Freebase' => $vendorDir . '/google/apiclient/src/Google/Service/Freebase.php', + 'Google_Service_Freebase_ReconcileCandidate' => $vendorDir . '/google/apiclient/src/Google/Service/Freebase.php', + 'Google_Service_Freebase_ReconcileCandidateNotable' => $vendorDir . '/google/apiclient/src/Google/Service/Freebase.php', + 'Google_Service_Freebase_ReconcileGet' => $vendorDir . '/google/apiclient/src/Google/Service/Freebase.php', + 'Google_Service_Freebase_ReconcileGetCosts' => $vendorDir . '/google/apiclient/src/Google/Service/Freebase.php', + 'Google_Service_Freebase_ReconcileGetWarning' => $vendorDir . '/google/apiclient/src/Google/Service/Freebase.php', + 'Google_Service_Fusiontables' => $vendorDir . '/google/apiclient/src/Google/Service/Fusiontables.php', + 'Google_Service_Fusiontables_Bucket' => $vendorDir . '/google/apiclient/src/Google/Service/Fusiontables.php', + 'Google_Service_Fusiontables_Column' => $vendorDir . '/google/apiclient/src/Google/Service/Fusiontables.php', + 'Google_Service_Fusiontables_ColumnBaseColumn' => $vendorDir . '/google/apiclient/src/Google/Service/Fusiontables.php', + 'Google_Service_Fusiontables_ColumnList' => $vendorDir . '/google/apiclient/src/Google/Service/Fusiontables.php', + 'Google_Service_Fusiontables_Column_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Fusiontables.php', + 'Google_Service_Fusiontables_Geometry' => $vendorDir . '/google/apiclient/src/Google/Service/Fusiontables.php', + 'Google_Service_Fusiontables_Import' => $vendorDir . '/google/apiclient/src/Google/Service/Fusiontables.php', + 'Google_Service_Fusiontables_Line' => $vendorDir . '/google/apiclient/src/Google/Service/Fusiontables.php', + 'Google_Service_Fusiontables_LineStyle' => $vendorDir . '/google/apiclient/src/Google/Service/Fusiontables.php', + 'Google_Service_Fusiontables_Point' => $vendorDir . '/google/apiclient/src/Google/Service/Fusiontables.php', + 'Google_Service_Fusiontables_PointStyle' => $vendorDir . '/google/apiclient/src/Google/Service/Fusiontables.php', + 'Google_Service_Fusiontables_Polygon' => $vendorDir . '/google/apiclient/src/Google/Service/Fusiontables.php', + 'Google_Service_Fusiontables_PolygonStyle' => $vendorDir . '/google/apiclient/src/Google/Service/Fusiontables.php', + 'Google_Service_Fusiontables_Query_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Fusiontables.php', + 'Google_Service_Fusiontables_Sqlresponse' => $vendorDir . '/google/apiclient/src/Google/Service/Fusiontables.php', + 'Google_Service_Fusiontables_StyleFunction' => $vendorDir . '/google/apiclient/src/Google/Service/Fusiontables.php', + 'Google_Service_Fusiontables_StyleFunctionGradient' => $vendorDir . '/google/apiclient/src/Google/Service/Fusiontables.php', + 'Google_Service_Fusiontables_StyleFunctionGradientColors' => $vendorDir . '/google/apiclient/src/Google/Service/Fusiontables.php', + 'Google_Service_Fusiontables_StyleSetting' => $vendorDir . '/google/apiclient/src/Google/Service/Fusiontables.php', + 'Google_Service_Fusiontables_StyleSettingList' => $vendorDir . '/google/apiclient/src/Google/Service/Fusiontables.php', + 'Google_Service_Fusiontables_Style_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Fusiontables.php', + 'Google_Service_Fusiontables_Table' => $vendorDir . '/google/apiclient/src/Google/Service/Fusiontables.php', + 'Google_Service_Fusiontables_TableList' => $vendorDir . '/google/apiclient/src/Google/Service/Fusiontables.php', + 'Google_Service_Fusiontables_Table_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Fusiontables.php', + 'Google_Service_Fusiontables_Task' => $vendorDir . '/google/apiclient/src/Google/Service/Fusiontables.php', + 'Google_Service_Fusiontables_TaskList' => $vendorDir . '/google/apiclient/src/Google/Service/Fusiontables.php', + 'Google_Service_Fusiontables_Task_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Fusiontables.php', + 'Google_Service_Fusiontables_Template' => $vendorDir . '/google/apiclient/src/Google/Service/Fusiontables.php', + 'Google_Service_Fusiontables_TemplateList' => $vendorDir . '/google/apiclient/src/Google/Service/Fusiontables.php', + 'Google_Service_Fusiontables_Template_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Fusiontables.php', + 'Google_Service_Games' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_GamesConfiguration' => $vendorDir . '/google/apiclient/src/Google/Service/GamesConfiguration.php', + 'Google_Service_GamesConfiguration_AchievementConfiguration' => $vendorDir . '/google/apiclient/src/Google/Service/GamesConfiguration.php', + 'Google_Service_GamesConfiguration_AchievementConfigurationDetail' => $vendorDir . '/google/apiclient/src/Google/Service/GamesConfiguration.php', + 'Google_Service_GamesConfiguration_AchievementConfigurationListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/GamesConfiguration.php', + 'Google_Service_GamesConfiguration_AchievementConfigurations_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/GamesConfiguration.php', + 'Google_Service_GamesConfiguration_GamesNumberAffixConfiguration' => $vendorDir . '/google/apiclient/src/Google/Service/GamesConfiguration.php', + 'Google_Service_GamesConfiguration_GamesNumberFormatConfiguration' => $vendorDir . '/google/apiclient/src/Google/Service/GamesConfiguration.php', + 'Google_Service_GamesConfiguration_ImageConfiguration' => $vendorDir . '/google/apiclient/src/Google/Service/GamesConfiguration.php', + 'Google_Service_GamesConfiguration_ImageConfigurations_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/GamesConfiguration.php', + 'Google_Service_GamesConfiguration_LeaderboardConfiguration' => $vendorDir . '/google/apiclient/src/Google/Service/GamesConfiguration.php', + 'Google_Service_GamesConfiguration_LeaderboardConfigurationDetail' => $vendorDir . '/google/apiclient/src/Google/Service/GamesConfiguration.php', + 'Google_Service_GamesConfiguration_LeaderboardConfigurationListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/GamesConfiguration.php', + 'Google_Service_GamesConfiguration_LeaderboardConfigurations_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/GamesConfiguration.php', + 'Google_Service_GamesConfiguration_LocalizedString' => $vendorDir . '/google/apiclient/src/Google/Service/GamesConfiguration.php', + 'Google_Service_GamesConfiguration_LocalizedStringBundle' => $vendorDir . '/google/apiclient/src/Google/Service/GamesConfiguration.php', + 'Google_Service_GamesManagement' => $vendorDir . '/google/apiclient/src/Google/Service/GamesManagement.php', + 'Google_Service_GamesManagement_AchievementResetAllResponse' => $vendorDir . '/google/apiclient/src/Google/Service/GamesManagement.php', + 'Google_Service_GamesManagement_AchievementResetMultipleForAllRequest' => $vendorDir . '/google/apiclient/src/Google/Service/GamesManagement.php', + 'Google_Service_GamesManagement_AchievementResetResponse' => $vendorDir . '/google/apiclient/src/Google/Service/GamesManagement.php', + 'Google_Service_GamesManagement_Achievements_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/GamesManagement.php', + 'Google_Service_GamesManagement_Applications_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/GamesManagement.php', + 'Google_Service_GamesManagement_EventsResetMultipleForAllRequest' => $vendorDir . '/google/apiclient/src/Google/Service/GamesManagement.php', + 'Google_Service_GamesManagement_Events_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/GamesManagement.php', + 'Google_Service_GamesManagement_GamesPlayedResource' => $vendorDir . '/google/apiclient/src/Google/Service/GamesManagement.php', + 'Google_Service_GamesManagement_GamesPlayerExperienceInfoResource' => $vendorDir . '/google/apiclient/src/Google/Service/GamesManagement.php', + 'Google_Service_GamesManagement_GamesPlayerLevelResource' => $vendorDir . '/google/apiclient/src/Google/Service/GamesManagement.php', + 'Google_Service_GamesManagement_HiddenPlayer' => $vendorDir . '/google/apiclient/src/Google/Service/GamesManagement.php', + 'Google_Service_GamesManagement_HiddenPlayerList' => $vendorDir . '/google/apiclient/src/Google/Service/GamesManagement.php', + 'Google_Service_GamesManagement_Player' => $vendorDir . '/google/apiclient/src/Google/Service/GamesManagement.php', + 'Google_Service_GamesManagement_PlayerName' => $vendorDir . '/google/apiclient/src/Google/Service/GamesManagement.php', + 'Google_Service_GamesManagement_PlayerScoreResetAllResponse' => $vendorDir . '/google/apiclient/src/Google/Service/GamesManagement.php', + 'Google_Service_GamesManagement_PlayerScoreResetResponse' => $vendorDir . '/google/apiclient/src/Google/Service/GamesManagement.php', + 'Google_Service_GamesManagement_Players_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/GamesManagement.php', + 'Google_Service_GamesManagement_QuestsResetMultipleForAllRequest' => $vendorDir . '/google/apiclient/src/Google/Service/GamesManagement.php', + 'Google_Service_GamesManagement_Quests_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/GamesManagement.php', + 'Google_Service_GamesManagement_Rooms_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/GamesManagement.php', + 'Google_Service_GamesManagement_ScoresResetMultipleForAllRequest' => $vendorDir . '/google/apiclient/src/Google/Service/GamesManagement.php', + 'Google_Service_GamesManagement_Scores_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/GamesManagement.php', + 'Google_Service_GamesManagement_TurnBasedMatches_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/GamesManagement.php', + 'Google_Service_Games_AchievementDefinition' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_AchievementDefinitionsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_AchievementDefinitions_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_AchievementIncrementResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_AchievementRevealResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_AchievementSetStepsAtLeastResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_AchievementUnlockResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_AchievementUpdateMultipleRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_AchievementUpdateMultipleResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_AchievementUpdateRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_AchievementUpdateResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_Achievements_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_AggregateStats' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_AnonymousPlayer' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_Application' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_ApplicationCategory' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_Applications_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_Category' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_CategoryListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_EventBatchRecordFailure' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_EventChild' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_EventDefinition' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_EventDefinitionListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_EventPeriodRange' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_EventPeriodUpdate' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_EventRecordFailure' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_EventRecordRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_EventUpdateRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_EventUpdateResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_Events_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_GamesAchievementIncrement' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_GamesAchievementSetStepsAtLeast' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_ImageAsset' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_Instance' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_InstanceAndroidDetails' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_InstanceIosDetails' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_InstanceWebDetails' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_Leaderboard' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_LeaderboardEntry' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_LeaderboardListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_LeaderboardScoreRank' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_LeaderboardScores' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_Leaderboards_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_MetagameConfig' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_Metagame_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_NetworkDiagnostics' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_ParticipantResult' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_PeerChannelDiagnostics' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_PeerSessionDiagnostics' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_Played' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_Player' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_PlayerAchievement' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_PlayerAchievementListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_PlayerEvent' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_PlayerEventListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_PlayerExperienceInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_PlayerLeaderboardScore' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_PlayerLeaderboardScoreListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_PlayerLevel' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_PlayerListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_PlayerName' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_PlayerScore' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_PlayerScoreListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_PlayerScoreResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_PlayerScoreSubmissionList' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_Players_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_PushToken' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_PushTokenId' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_PushTokenIdIos' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_Pushtokens_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_Quest' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_QuestContribution' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_QuestCriterion' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_QuestListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_QuestMilestone' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_QuestMilestones_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_Quests_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_RevisionCheckResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_Revisions_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_Room' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_RoomAutoMatchStatus' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_RoomAutoMatchingCriteria' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_RoomClientAddress' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_RoomCreateRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_RoomJoinRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_RoomLeaveDiagnostics' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_RoomLeaveRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_RoomList' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_RoomModification' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_RoomP2PStatus' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_RoomP2PStatuses' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_RoomParticipant' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_RoomStatus' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_Rooms_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_ScoreSubmission' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_Scores_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_Snapshot' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_SnapshotImage' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_SnapshotListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_Snapshots_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_TurnBasedAutoMatchingCriteria' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_TurnBasedMatch' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_TurnBasedMatchCreateRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_TurnBasedMatchData' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_TurnBasedMatchDataRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_TurnBasedMatchList' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_TurnBasedMatchModification' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_TurnBasedMatchParticipant' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_TurnBasedMatchRematch' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_TurnBasedMatchResults' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_TurnBasedMatchSync' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_TurnBasedMatchTurn' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Games_TurnBasedMatches_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Games.php', + 'Google_Service_Genomics' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_Binding' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_CallSet' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_CallSetInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_Callsets_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_CancelOperationRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_CigarUnit' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_CoverageBucket' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_Dataset' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_Datasets_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_Empty' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_Experiment' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_ExportReadGroupSetRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_ExportVariantSetRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_GetIamPolicyRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_ImportReadGroupSetsRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_ImportReadGroupSetsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_ImportVariantsRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_ImportVariantsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_LinearAlignment' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_ListBasesResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_ListCoverageBucketsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_ListDatasetsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_ListOperationsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_Operation' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_OperationEvent' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_OperationMetadata' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_OperationMetadataRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_OperationResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_Operations_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_Policy' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_Position' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_Program' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_Range' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_Read' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_ReadGroup' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_ReadGroupInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_ReadGroupSet' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_ReadGroupSetInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_ReadInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_ReadgroupsetsCoveragebuckets_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_Readgroupsets_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_Reads_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_Reference' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_ReferenceBound' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_ReferenceSet' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_ReferencesBases_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_References_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_Referencesets_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_SearchCallSetsRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_SearchCallSetsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_SearchReadGroupSetsRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_SearchReadGroupSetsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_SearchReadsRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_SearchReadsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_SearchReferenceSetsRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_SearchReferenceSetsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_SearchReferencesRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_SearchReferencesResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_SearchVariantSetsRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_SearchVariantSetsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_SearchVariantsRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_SearchVariantsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_SetIamPolicyRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_Status' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_StatusDetails' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_TestIamPermissionsRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_TestIamPermissionsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_UndeleteDatasetRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_Variant' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_VariantCall' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_VariantCallInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_VariantInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_VariantSet' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_VariantSetMetadata' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_VariantSetMetadataInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_Variants_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Genomics_Variantsets_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Genomics.php', + 'Google_Service_Gmail' => $vendorDir . '/google/apiclient/src/Google/Service/Gmail.php', + 'Google_Service_Gmail_Draft' => $vendorDir . '/google/apiclient/src/Google/Service/Gmail.php', + 'Google_Service_Gmail_History' => $vendorDir . '/google/apiclient/src/Google/Service/Gmail.php', + 'Google_Service_Gmail_HistoryLabelAdded' => $vendorDir . '/google/apiclient/src/Google/Service/Gmail.php', + 'Google_Service_Gmail_HistoryLabelRemoved' => $vendorDir . '/google/apiclient/src/Google/Service/Gmail.php', + 'Google_Service_Gmail_HistoryMessageAdded' => $vendorDir . '/google/apiclient/src/Google/Service/Gmail.php', + 'Google_Service_Gmail_HistoryMessageDeleted' => $vendorDir . '/google/apiclient/src/Google/Service/Gmail.php', + 'Google_Service_Gmail_Label' => $vendorDir . '/google/apiclient/src/Google/Service/Gmail.php', + 'Google_Service_Gmail_ListDraftsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Gmail.php', + 'Google_Service_Gmail_ListHistoryResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Gmail.php', + 'Google_Service_Gmail_ListLabelsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Gmail.php', + 'Google_Service_Gmail_ListMessagesResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Gmail.php', + 'Google_Service_Gmail_ListThreadsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Gmail.php', + 'Google_Service_Gmail_Message' => $vendorDir . '/google/apiclient/src/Google/Service/Gmail.php', + 'Google_Service_Gmail_MessagePart' => $vendorDir . '/google/apiclient/src/Google/Service/Gmail.php', + 'Google_Service_Gmail_MessagePartBody' => $vendorDir . '/google/apiclient/src/Google/Service/Gmail.php', + 'Google_Service_Gmail_MessagePartHeader' => $vendorDir . '/google/apiclient/src/Google/Service/Gmail.php', + 'Google_Service_Gmail_ModifyMessageRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Gmail.php', + 'Google_Service_Gmail_ModifyThreadRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Gmail.php', + 'Google_Service_Gmail_Profile' => $vendorDir . '/google/apiclient/src/Google/Service/Gmail.php', + 'Google_Service_Gmail_Thread' => $vendorDir . '/google/apiclient/src/Google/Service/Gmail.php', + 'Google_Service_Gmail_UsersDrafts_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Gmail.php', + 'Google_Service_Gmail_UsersHistory_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Gmail.php', + 'Google_Service_Gmail_UsersLabels_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Gmail.php', + 'Google_Service_Gmail_UsersMessagesAttachments_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Gmail.php', + 'Google_Service_Gmail_UsersMessages_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Gmail.php', + 'Google_Service_Gmail_UsersThreads_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Gmail.php', + 'Google_Service_Gmail_Users_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Gmail.php', + 'Google_Service_Gmail_WatchRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Gmail.php', + 'Google_Service_Gmail_WatchResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Gmail.php', + 'Google_Service_GroupsMigration' => $vendorDir . '/google/apiclient/src/Google/Service/GroupsMigration.php', + 'Google_Service_GroupsMigration_Archive_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/GroupsMigration.php', + 'Google_Service_GroupsMigration_Groups' => $vendorDir . '/google/apiclient/src/Google/Service/GroupsMigration.php', + 'Google_Service_Groupssettings' => $vendorDir . '/google/apiclient/src/Google/Service/Groupssettings.php', + 'Google_Service_Groupssettings_Groups' => $vendorDir . '/google/apiclient/src/Google/Service/Groupssettings.php', + 'Google_Service_Groupssettings_Groups_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Groupssettings.php', + 'Google_Service_IdentityToolkit' => $vendorDir . '/google/apiclient/src/Google/Service/IdentityToolkit.php', + 'Google_Service_IdentityToolkit_CreateAuthUriResponse' => $vendorDir . '/google/apiclient/src/Google/Service/IdentityToolkit.php', + 'Google_Service_IdentityToolkit_DeleteAccountResponse' => $vendorDir . '/google/apiclient/src/Google/Service/IdentityToolkit.php', + 'Google_Service_IdentityToolkit_DownloadAccountResponse' => $vendorDir . '/google/apiclient/src/Google/Service/IdentityToolkit.php', + 'Google_Service_IdentityToolkit_GetAccountInfoResponse' => $vendorDir . '/google/apiclient/src/Google/Service/IdentityToolkit.php', + 'Google_Service_IdentityToolkit_GetOobConfirmationCodeResponse' => $vendorDir . '/google/apiclient/src/Google/Service/IdentityToolkit.php', + 'Google_Service_IdentityToolkit_GetRecaptchaParamResponse' => $vendorDir . '/google/apiclient/src/Google/Service/IdentityToolkit.php', + 'Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyCreateAuthUriRequest' => $vendorDir . '/google/apiclient/src/Google/Service/IdentityToolkit.php', + 'Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyDeleteAccountRequest' => $vendorDir . '/google/apiclient/src/Google/Service/IdentityToolkit.php', + 'Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyDownloadAccountRequest' => $vendorDir . '/google/apiclient/src/Google/Service/IdentityToolkit.php', + 'Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyGetAccountInfoRequest' => $vendorDir . '/google/apiclient/src/Google/Service/IdentityToolkit.php', + 'Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyGetPublicKeysResponse' => $vendorDir . '/google/apiclient/src/Google/Service/IdentityToolkit.php', + 'Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyResetPasswordRequest' => $vendorDir . '/google/apiclient/src/Google/Service/IdentityToolkit.php', + 'Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartySetAccountInfoRequest' => $vendorDir . '/google/apiclient/src/Google/Service/IdentityToolkit.php', + 'Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyUploadAccountRequest' => $vendorDir . '/google/apiclient/src/Google/Service/IdentityToolkit.php', + 'Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyVerifyAssertionRequest' => $vendorDir . '/google/apiclient/src/Google/Service/IdentityToolkit.php', + 'Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyVerifyPasswordRequest' => $vendorDir . '/google/apiclient/src/Google/Service/IdentityToolkit.php', + 'Google_Service_IdentityToolkit_Relyingparty' => $vendorDir . '/google/apiclient/src/Google/Service/IdentityToolkit.php', + 'Google_Service_IdentityToolkit_Relyingparty_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/IdentityToolkit.php', + 'Google_Service_IdentityToolkit_ResetPasswordResponse' => $vendorDir . '/google/apiclient/src/Google/Service/IdentityToolkit.php', + 'Google_Service_IdentityToolkit_SetAccountInfoResponse' => $vendorDir . '/google/apiclient/src/Google/Service/IdentityToolkit.php', + 'Google_Service_IdentityToolkit_SetAccountInfoResponseProviderUserInfo' => $vendorDir . '/google/apiclient/src/Google/Service/IdentityToolkit.php', + 'Google_Service_IdentityToolkit_UploadAccountResponse' => $vendorDir . '/google/apiclient/src/Google/Service/IdentityToolkit.php', + 'Google_Service_IdentityToolkit_UploadAccountResponseError' => $vendorDir . '/google/apiclient/src/Google/Service/IdentityToolkit.php', + 'Google_Service_IdentityToolkit_UserInfo' => $vendorDir . '/google/apiclient/src/Google/Service/IdentityToolkit.php', + 'Google_Service_IdentityToolkit_UserInfoProviderUserInfo' => $vendorDir . '/google/apiclient/src/Google/Service/IdentityToolkit.php', + 'Google_Service_IdentityToolkit_VerifyAssertionResponse' => $vendorDir . '/google/apiclient/src/Google/Service/IdentityToolkit.php', + 'Google_Service_IdentityToolkit_VerifyPasswordResponse' => $vendorDir . '/google/apiclient/src/Google/Service/IdentityToolkit.php', + 'Google_Service_Licensing' => $vendorDir . '/google/apiclient/src/Google/Service/Licensing.php', + 'Google_Service_Licensing_LicenseAssignment' => $vendorDir . '/google/apiclient/src/Google/Service/Licensing.php', + 'Google_Service_Licensing_LicenseAssignmentInsert' => $vendorDir . '/google/apiclient/src/Google/Service/Licensing.php', + 'Google_Service_Licensing_LicenseAssignmentList' => $vendorDir . '/google/apiclient/src/Google/Service/Licensing.php', + 'Google_Service_Licensing_LicenseAssignments_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Licensing.php', + 'Google_Service_Logging' => $vendorDir . '/google/apiclient/src/Google/Service/Logging.php', + 'Google_Service_Logging_LogLine' => $vendorDir . '/google/apiclient/src/Google/Service/Logging.php', + 'Google_Service_Logging_RequestLog' => $vendorDir . '/google/apiclient/src/Google/Service/Logging.php', + 'Google_Service_Logging_SourceLocation' => $vendorDir . '/google/apiclient/src/Google/Service/Logging.php', + 'Google_Service_Logging_SourceReference' => $vendorDir . '/google/apiclient/src/Google/Service/Logging.php', + 'Google_Service_Manager' => $vendorDir . '/google/apiclient/src/Google/Service/Manager.php', + 'Google_Service_Manager_AccessConfig' => $vendorDir . '/google/apiclient/src/Google/Service/Manager.php', + 'Google_Service_Manager_Action' => $vendorDir . '/google/apiclient/src/Google/Service/Manager.php', + 'Google_Service_Manager_AllowedRule' => $vendorDir . '/google/apiclient/src/Google/Service/Manager.php', + 'Google_Service_Manager_AutoscalingModule' => $vendorDir . '/google/apiclient/src/Google/Service/Manager.php', + 'Google_Service_Manager_AutoscalingModuleStatus' => $vendorDir . '/google/apiclient/src/Google/Service/Manager.php', + 'Google_Service_Manager_DeployState' => $vendorDir . '/google/apiclient/src/Google/Service/Manager.php', + 'Google_Service_Manager_Deployment' => $vendorDir . '/google/apiclient/src/Google/Service/Manager.php', + 'Google_Service_Manager_DeploymentModules' => $vendorDir . '/google/apiclient/src/Google/Service/Manager.php', + 'Google_Service_Manager_DeploymentsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Manager.php', + 'Google_Service_Manager_Deployments_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Manager.php', + 'Google_Service_Manager_DiskAttachment' => $vendorDir . '/google/apiclient/src/Google/Service/Manager.php', + 'Google_Service_Manager_EnvVariable' => $vendorDir . '/google/apiclient/src/Google/Service/Manager.php', + 'Google_Service_Manager_ExistingDisk' => $vendorDir . '/google/apiclient/src/Google/Service/Manager.php', + 'Google_Service_Manager_FirewallModule' => $vendorDir . '/google/apiclient/src/Google/Service/Manager.php', + 'Google_Service_Manager_FirewallModuleStatus' => $vendorDir . '/google/apiclient/src/Google/Service/Manager.php', + 'Google_Service_Manager_HealthCheckModule' => $vendorDir . '/google/apiclient/src/Google/Service/Manager.php', + 'Google_Service_Manager_HealthCheckModuleStatus' => $vendorDir . '/google/apiclient/src/Google/Service/Manager.php', + 'Google_Service_Manager_LbModule' => $vendorDir . '/google/apiclient/src/Google/Service/Manager.php', + 'Google_Service_Manager_LbModuleStatus' => $vendorDir . '/google/apiclient/src/Google/Service/Manager.php', + 'Google_Service_Manager_Metadata' => $vendorDir . '/google/apiclient/src/Google/Service/Manager.php', + 'Google_Service_Manager_MetadataItem' => $vendorDir . '/google/apiclient/src/Google/Service/Manager.php', + 'Google_Service_Manager_Module' => $vendorDir . '/google/apiclient/src/Google/Service/Manager.php', + 'Google_Service_Manager_ModuleStatus' => $vendorDir . '/google/apiclient/src/Google/Service/Manager.php', + 'Google_Service_Manager_NetworkInterface' => $vendorDir . '/google/apiclient/src/Google/Service/Manager.php', + 'Google_Service_Manager_NetworkModule' => $vendorDir . '/google/apiclient/src/Google/Service/Manager.php', + 'Google_Service_Manager_NetworkModuleStatus' => $vendorDir . '/google/apiclient/src/Google/Service/Manager.php', + 'Google_Service_Manager_NewDisk' => $vendorDir . '/google/apiclient/src/Google/Service/Manager.php', + 'Google_Service_Manager_NewDiskInitializeParams' => $vendorDir . '/google/apiclient/src/Google/Service/Manager.php', + 'Google_Service_Manager_ParamOverride' => $vendorDir . '/google/apiclient/src/Google/Service/Manager.php', + 'Google_Service_Manager_ReplicaPoolModule' => $vendorDir . '/google/apiclient/src/Google/Service/Manager.php', + 'Google_Service_Manager_ReplicaPoolModuleEnvVariables' => $vendorDir . '/google/apiclient/src/Google/Service/Manager.php', + 'Google_Service_Manager_ReplicaPoolModuleStatus' => $vendorDir . '/google/apiclient/src/Google/Service/Manager.php', + 'Google_Service_Manager_ReplicaPoolParams' => $vendorDir . '/google/apiclient/src/Google/Service/Manager.php', + 'Google_Service_Manager_ReplicaPoolParamsV1Beta1' => $vendorDir . '/google/apiclient/src/Google/Service/Manager.php', + 'Google_Service_Manager_ServiceAccount' => $vendorDir . '/google/apiclient/src/Google/Service/Manager.php', + 'Google_Service_Manager_Tag' => $vendorDir . '/google/apiclient/src/Google/Service/Manager.php', + 'Google_Service_Manager_Template' => $vendorDir . '/google/apiclient/src/Google/Service/Manager.php', + 'Google_Service_Manager_TemplateActions' => $vendorDir . '/google/apiclient/src/Google/Service/Manager.php', + 'Google_Service_Manager_TemplateModules' => $vendorDir . '/google/apiclient/src/Google/Service/Manager.php', + 'Google_Service_Manager_TemplatesListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Manager.php', + 'Google_Service_Manager_Templates_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Manager.php', + 'Google_Service_MapsEngine' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_AcquisitionTime' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_Asset' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_AssetsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_AssetsParents_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_AssetsPermissions_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_Assets_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_Border' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_Color' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_Datasource' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_DisplayRule' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_Feature' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_FeatureInfo' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_FeaturesBatchDeleteRequest' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_FeaturesBatchInsertRequest' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_FeaturesBatchPatchRequest' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_FeaturesListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_Filter' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_GeoJsonGeometry' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_GeoJsonGeometryCollection' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_GeoJsonLineString' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_GeoJsonMultiLineString' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_GeoJsonMultiPoint' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_GeoJsonMultiPolygon' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_GeoJsonPoint' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_GeoJsonPolygon' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_GeoJsonProperties' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_Icon' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_IconStyle' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_IconsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_LabelStyle' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_Layer' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_LayersListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_LayersParents_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_LayersPermissions_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_Layers_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_LineStyle' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_LineStyleStroke' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_Map' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_MapFolder' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_MapItem' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_MapKmlLink' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_MapLayer' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_MapsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_MapsPermissions_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_Maps_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_MapsengineFile' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_Parent' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_ParentsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_Permission' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_PermissionsBatchDeleteRequest' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_PermissionsBatchDeleteResponse' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_PermissionsBatchUpdateRequest' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_PermissionsBatchUpdateResponse' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_PermissionsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_PointStyle' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_PolygonStyle' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_ProcessResponse' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_Project' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_ProjectsIcons_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_ProjectsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_Projects_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_PublishResponse' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_PublishedLayer' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_PublishedLayersListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_PublishedMap' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_PublishedMapsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_Raster' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_RasterCollection' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_RasterCollectionsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_RasterCollectionsParents_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_RasterCollectionsPermissions_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_RasterCollectionsRaster' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_RasterCollectionsRasterBatchDeleteRequest' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_RasterCollectionsRastersBatchDeleteResponse' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_RasterCollectionsRastersBatchInsertRequest' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_RasterCollectionsRastersBatchInsertResponse' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_RasterCollectionsRastersListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_RasterCollectionsRasters_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_RasterCollections_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_RastersFiles_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_RastersListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_RastersParents_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_RastersPermissions_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_Rasters_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_ScaledShape' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_ScalingFunction' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_Schema' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_SizeRange' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_Table' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_TableColumn' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_TablesFeatures_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_TablesFiles_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_TablesListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_TablesParents_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_TablesPermissions_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_Tables_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_ValueRange' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_VectorStyle' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_MapsEngine_ZoomLevels' => $vendorDir . '/google/apiclient/src/Google/Service/MapsEngine.php', + 'Google_Service_Mirror' => $vendorDir . '/google/apiclient/src/Google/Service/Mirror.php', + 'Google_Service_Mirror_Account' => $vendorDir . '/google/apiclient/src/Google/Service/Mirror.php', + 'Google_Service_Mirror_Accounts_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Mirror.php', + 'Google_Service_Mirror_Attachment' => $vendorDir . '/google/apiclient/src/Google/Service/Mirror.php', + 'Google_Service_Mirror_AttachmentsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Mirror.php', + 'Google_Service_Mirror_AuthToken' => $vendorDir . '/google/apiclient/src/Google/Service/Mirror.php', + 'Google_Service_Mirror_Command' => $vendorDir . '/google/apiclient/src/Google/Service/Mirror.php', + 'Google_Service_Mirror_Contact' => $vendorDir . '/google/apiclient/src/Google/Service/Mirror.php', + 'Google_Service_Mirror_ContactsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Mirror.php', + 'Google_Service_Mirror_Contacts_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Mirror.php', + 'Google_Service_Mirror_Location' => $vendorDir . '/google/apiclient/src/Google/Service/Mirror.php', + 'Google_Service_Mirror_LocationsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Mirror.php', + 'Google_Service_Mirror_Locations_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Mirror.php', + 'Google_Service_Mirror_MenuItem' => $vendorDir . '/google/apiclient/src/Google/Service/Mirror.php', + 'Google_Service_Mirror_MenuValue' => $vendorDir . '/google/apiclient/src/Google/Service/Mirror.php', + 'Google_Service_Mirror_Notification' => $vendorDir . '/google/apiclient/src/Google/Service/Mirror.php', + 'Google_Service_Mirror_NotificationConfig' => $vendorDir . '/google/apiclient/src/Google/Service/Mirror.php', + 'Google_Service_Mirror_Setting' => $vendorDir . '/google/apiclient/src/Google/Service/Mirror.php', + 'Google_Service_Mirror_Settings_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Mirror.php', + 'Google_Service_Mirror_Subscription' => $vendorDir . '/google/apiclient/src/Google/Service/Mirror.php', + 'Google_Service_Mirror_SubscriptionsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Mirror.php', + 'Google_Service_Mirror_Subscriptions_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Mirror.php', + 'Google_Service_Mirror_TimelineAttachments_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Mirror.php', + 'Google_Service_Mirror_TimelineItem' => $vendorDir . '/google/apiclient/src/Google/Service/Mirror.php', + 'Google_Service_Mirror_TimelineListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Mirror.php', + 'Google_Service_Mirror_Timeline_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Mirror.php', + 'Google_Service_Mirror_UserAction' => $vendorDir . '/google/apiclient/src/Google/Service/Mirror.php', + 'Google_Service_Mirror_UserData' => $vendorDir . '/google/apiclient/src/Google/Service/Mirror.php', + 'Google_Service_Oauth2' => $vendorDir . '/google/apiclient/src/Google/Service/Oauth2.php', + 'Google_Service_Oauth2_Jwk' => $vendorDir . '/google/apiclient/src/Google/Service/Oauth2.php', + 'Google_Service_Oauth2_JwkKeys' => $vendorDir . '/google/apiclient/src/Google/Service/Oauth2.php', + 'Google_Service_Oauth2_Tokeninfo' => $vendorDir . '/google/apiclient/src/Google/Service/Oauth2.php', + 'Google_Service_Oauth2_UserinfoV2Me_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Oauth2.php', + 'Google_Service_Oauth2_UserinfoV2_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Oauth2.php', + 'Google_Service_Oauth2_Userinfo_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Oauth2.php', + 'Google_Service_Oauth2_Userinfoplus' => $vendorDir . '/google/apiclient/src/Google/Service/Oauth2.php', + 'Google_Service_Pagespeedonline' => $vendorDir . '/google/apiclient/src/Google/Service/Pagespeedonline.php', + 'Google_Service_Pagespeedonline_PagespeedApiFormatStringV2' => $vendorDir . '/google/apiclient/src/Google/Service/Pagespeedonline.php', + 'Google_Service_Pagespeedonline_PagespeedApiFormatStringV2Args' => $vendorDir . '/google/apiclient/src/Google/Service/Pagespeedonline.php', + 'Google_Service_Pagespeedonline_PagespeedApiFormatStringV2ArgsRects' => $vendorDir . '/google/apiclient/src/Google/Service/Pagespeedonline.php', + 'Google_Service_Pagespeedonline_PagespeedApiFormatStringV2ArgsSecondaryRects' => $vendorDir . '/google/apiclient/src/Google/Service/Pagespeedonline.php', + 'Google_Service_Pagespeedonline_PagespeedApiImageV2' => $vendorDir . '/google/apiclient/src/Google/Service/Pagespeedonline.php', + 'Google_Service_Pagespeedonline_PagespeedApiImageV2PageRect' => $vendorDir . '/google/apiclient/src/Google/Service/Pagespeedonline.php', + 'Google_Service_Pagespeedonline_Pagespeedapi_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Pagespeedonline.php', + 'Google_Service_Pagespeedonline_Result' => $vendorDir . '/google/apiclient/src/Google/Service/Pagespeedonline.php', + 'Google_Service_Pagespeedonline_ResultFormattedResults' => $vendorDir . '/google/apiclient/src/Google/Service/Pagespeedonline.php', + 'Google_Service_Pagespeedonline_ResultFormattedResultsRuleResults' => $vendorDir . '/google/apiclient/src/Google/Service/Pagespeedonline.php', + 'Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElement' => $vendorDir . '/google/apiclient/src/Google/Service/Pagespeedonline.php', + 'Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocks' => $vendorDir . '/google/apiclient/src/Google/Service/Pagespeedonline.php', + 'Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksUrls' => $vendorDir . '/google/apiclient/src/Google/Service/Pagespeedonline.php', + 'Google_Service_Pagespeedonline_ResultPageStats' => $vendorDir . '/google/apiclient/src/Google/Service/Pagespeedonline.php', + 'Google_Service_Pagespeedonline_ResultRuleGroups' => $vendorDir . '/google/apiclient/src/Google/Service/Pagespeedonline.php', + 'Google_Service_Pagespeedonline_ResultRuleGroupsElement' => $vendorDir . '/google/apiclient/src/Google/Service/Pagespeedonline.php', + 'Google_Service_Pagespeedonline_ResultVersion' => $vendorDir . '/google/apiclient/src/Google/Service/Pagespeedonline.php', + 'Google_Service_Partners' => $vendorDir . '/google/apiclient/src/Google/Service/Partners.php', + 'Google_Service_Partners_CertificationExamStatus' => $vendorDir . '/google/apiclient/src/Google/Service/Partners.php', + 'Google_Service_Partners_CertificationStatus' => $vendorDir . '/google/apiclient/src/Google/Service/Partners.php', + 'Google_Service_Partners_ClientMessages_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Partners.php', + 'Google_Service_Partners_CompaniesLeads_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Partners.php', + 'Google_Service_Partners_Companies_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Partners.php', + 'Google_Service_Partners_Company' => $vendorDir . '/google/apiclient/src/Google/Service/Partners.php', + 'Google_Service_Partners_CreateLeadRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Partners.php', + 'Google_Service_Partners_CreateLeadResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Partners.php', + 'Google_Service_Partners_DebugInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Partners.php', + 'Google_Service_Partners_EventData' => $vendorDir . '/google/apiclient/src/Google/Service/Partners.php', + 'Google_Service_Partners_GetCompanyResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Partners.php', + 'Google_Service_Partners_LatLng' => $vendorDir . '/google/apiclient/src/Google/Service/Partners.php', + 'Google_Service_Partners_Lead' => $vendorDir . '/google/apiclient/src/Google/Service/Partners.php', + 'Google_Service_Partners_ListCompaniesResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Partners.php', + 'Google_Service_Partners_ListUserStatesResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Partners.php', + 'Google_Service_Partners_LocalizedCompanyInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Partners.php', + 'Google_Service_Partners_Location' => $vendorDir . '/google/apiclient/src/Google/Service/Partners.php', + 'Google_Service_Partners_LogMessageRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Partners.php', + 'Google_Service_Partners_LogMessageRequestClientInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Partners.php', + 'Google_Service_Partners_LogMessageResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Partners.php', + 'Google_Service_Partners_LogUserEventRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Partners.php', + 'Google_Service_Partners_LogUserEventResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Partners.php', + 'Google_Service_Partners_Money' => $vendorDir . '/google/apiclient/src/Google/Service/Partners.php', + 'Google_Service_Partners_PublicProfile' => $vendorDir . '/google/apiclient/src/Google/Service/Partners.php', + 'Google_Service_Partners_Rank' => $vendorDir . '/google/apiclient/src/Google/Service/Partners.php', + 'Google_Service_Partners_RecaptchaChallenge' => $vendorDir . '/google/apiclient/src/Google/Service/Partners.php', + 'Google_Service_Partners_RequestMetadata' => $vendorDir . '/google/apiclient/src/Google/Service/Partners.php', + 'Google_Service_Partners_ResponseMetadata' => $vendorDir . '/google/apiclient/src/Google/Service/Partners.php', + 'Google_Service_Partners_TrafficSource' => $vendorDir . '/google/apiclient/src/Google/Service/Partners.php', + 'Google_Service_Partners_UserEvents_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Partners.php', + 'Google_Service_Partners_UserOverrides' => $vendorDir . '/google/apiclient/src/Google/Service/Partners.php', + 'Google_Service_Partners_UserStates_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Partners.php', + 'Google_Service_Playmoviespartner' => $vendorDir . '/google/apiclient/src/Google/Service/Playmoviespartner.php', + 'Google_Service_Playmoviespartner_AccountsAvails_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Playmoviespartner.php', + 'Google_Service_Playmoviespartner_AccountsExperienceLocales_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Playmoviespartner.php', + 'Google_Service_Playmoviespartner_AccountsOrders_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Playmoviespartner.php', + 'Google_Service_Playmoviespartner_AccountsStoreInfosCountry_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Playmoviespartner.php', + 'Google_Service_Playmoviespartner_AccountsStoreInfos_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Playmoviespartner.php', + 'Google_Service_Playmoviespartner_Accounts_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Playmoviespartner.php', + 'Google_Service_Playmoviespartner_Avail' => $vendorDir . '/google/apiclient/src/Google/Service/Playmoviespartner.php', + 'Google_Service_Playmoviespartner_ExperienceLocale' => $vendorDir . '/google/apiclient/src/Google/Service/Playmoviespartner.php', + 'Google_Service_Playmoviespartner_ListAvailsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Playmoviespartner.php', + 'Google_Service_Playmoviespartner_ListExperienceLocalesResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Playmoviespartner.php', + 'Google_Service_Playmoviespartner_ListOrdersResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Playmoviespartner.php', + 'Google_Service_Playmoviespartner_ListStoreInfosResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Playmoviespartner.php', + 'Google_Service_Playmoviespartner_Order' => $vendorDir . '/google/apiclient/src/Google/Service/Playmoviespartner.php', + 'Google_Service_Playmoviespartner_StoreInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Playmoviespartner.php', + 'Google_Service_Plus' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_PlusDomains' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_Acl' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_Activities_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_Activity' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_ActivityActor' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_ActivityActorClientSpecificActorInfo' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_ActivityActorClientSpecificActorInfoYoutubeActorInfo' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_ActivityActorImage' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_ActivityActorName' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_ActivityActorVerification' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_ActivityFeed' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_ActivityObject' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_ActivityObjectActor' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_ActivityObjectActorClientSpecificActorInfo' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_ActivityObjectActorImage' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_ActivityObjectActorVerification' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_ActivityObjectAttachments' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_ActivityObjectAttachmentsEmbed' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_ActivityObjectAttachmentsFullImage' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_ActivityObjectAttachmentsImage' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_ActivityObjectAttachmentsPreviewThumbnails' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_ActivityObjectAttachmentsThumbnails' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_ActivityObjectAttachmentsThumbnailsImage' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_ActivityObjectPlusoners' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_ActivityObjectReplies' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_ActivityObjectResharers' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_ActivityObjectStatusForViewer' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_ActivityProvider' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_Audience' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_AudiencesFeed' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_Audiences_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_Circle' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_CircleFeed' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_CirclePeople' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_Circles_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_Comment' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_CommentActor' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_CommentActorClientSpecificActorInfo' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_CommentActorClientSpecificActorInfoYoutubeActorInfo' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_CommentActorImage' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_CommentActorVerification' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_CommentFeed' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_CommentInReplyTo' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_CommentObject' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_CommentPlusoners' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_Comments_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_Media' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_MediaAuthor' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_MediaAuthorImage' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_MediaExif' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_Media_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_PeopleFeed' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_People_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_Person' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_PersonCover' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_PersonCoverCoverInfo' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_PersonCoverCoverPhoto' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_PersonEmails' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_PersonImage' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_PersonName' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_PersonOrganizations' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_PersonPlacesLived' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_PersonUrls' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_Place' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_PlaceAddress' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_PlacePosition' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_PlusDomainsAclentryResource' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_PlusDomains_Videostream' => $vendorDir . '/google/apiclient/src/Google/Service/PlusDomains.php', + 'Google_Service_Plus_Acl' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_Activities_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_Activity' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_ActivityActor' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_ActivityActorClientSpecificActorInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_ActivityActorClientSpecificActorInfoYoutubeActorInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_ActivityActorImage' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_ActivityActorName' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_ActivityActorVerification' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_ActivityFeed' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_ActivityObject' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_ActivityObjectActor' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_ActivityObjectActorClientSpecificActorInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_ActivityObjectActorImage' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_ActivityObjectActorVerification' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_ActivityObjectAttachments' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_ActivityObjectAttachmentsEmbed' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_ActivityObjectAttachmentsFullImage' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_ActivityObjectAttachmentsImage' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_ActivityObjectAttachmentsThumbnails' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_ActivityObjectAttachmentsThumbnailsImage' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_ActivityObjectPlusoners' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_ActivityObjectReplies' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_ActivityObjectResharers' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_ActivityProvider' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_Comment' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_CommentActor' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_CommentActorClientSpecificActorInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_CommentActorClientSpecificActorInfoYoutubeActorInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_CommentActorImage' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_CommentActorVerification' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_CommentFeed' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_CommentInReplyTo' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_CommentObject' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_CommentPlusoners' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_Comments_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_ItemScope' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_Moment' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_MomentsFeed' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_Moments_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_PeopleFeed' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_People_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_Person' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_PersonAgeRange' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_PersonCover' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_PersonCoverCoverInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_PersonCoverCoverPhoto' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_PersonEmails' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_PersonImage' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_PersonName' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_PersonOrganizations' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_PersonPlacesLived' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_PersonUrls' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_Place' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_PlaceAddress' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_PlacePosition' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Plus_PlusAclentryResource' => $vendorDir . '/google/apiclient/src/Google/Service/Plus.php', + 'Google_Service_Prediction' => $vendorDir . '/google/apiclient/src/Google/Service/Prediction.php', + 'Google_Service_Prediction_Analyze' => $vendorDir . '/google/apiclient/src/Google/Service/Prediction.php', + 'Google_Service_Prediction_AnalyzeDataDescription' => $vendorDir . '/google/apiclient/src/Google/Service/Prediction.php', + 'Google_Service_Prediction_AnalyzeDataDescriptionFeatures' => $vendorDir . '/google/apiclient/src/Google/Service/Prediction.php', + 'Google_Service_Prediction_AnalyzeDataDescriptionFeaturesCategorical' => $vendorDir . '/google/apiclient/src/Google/Service/Prediction.php', + 'Google_Service_Prediction_AnalyzeDataDescriptionFeaturesCategoricalValues' => $vendorDir . '/google/apiclient/src/Google/Service/Prediction.php', + 'Google_Service_Prediction_AnalyzeDataDescriptionFeaturesNumeric' => $vendorDir . '/google/apiclient/src/Google/Service/Prediction.php', + 'Google_Service_Prediction_AnalyzeDataDescriptionFeaturesText' => $vendorDir . '/google/apiclient/src/Google/Service/Prediction.php', + 'Google_Service_Prediction_AnalyzeDataDescriptionOutputFeature' => $vendorDir . '/google/apiclient/src/Google/Service/Prediction.php', + 'Google_Service_Prediction_AnalyzeDataDescriptionOutputFeatureNumeric' => $vendorDir . '/google/apiclient/src/Google/Service/Prediction.php', + 'Google_Service_Prediction_AnalyzeDataDescriptionOutputFeatureText' => $vendorDir . '/google/apiclient/src/Google/Service/Prediction.php', + 'Google_Service_Prediction_AnalyzeErrors' => $vendorDir . '/google/apiclient/src/Google/Service/Prediction.php', + 'Google_Service_Prediction_AnalyzeModelDescription' => $vendorDir . '/google/apiclient/src/Google/Service/Prediction.php', + 'Google_Service_Prediction_AnalyzeModelDescriptionConfusionMatrix' => $vendorDir . '/google/apiclient/src/Google/Service/Prediction.php', + 'Google_Service_Prediction_AnalyzeModelDescriptionConfusionMatrixElement' => $vendorDir . '/google/apiclient/src/Google/Service/Prediction.php', + 'Google_Service_Prediction_AnalyzeModelDescriptionConfusionMatrixRowTotals' => $vendorDir . '/google/apiclient/src/Google/Service/Prediction.php', + 'Google_Service_Prediction_Hostedmodels_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Prediction.php', + 'Google_Service_Prediction_Input' => $vendorDir . '/google/apiclient/src/Google/Service/Prediction.php', + 'Google_Service_Prediction_InputInput' => $vendorDir . '/google/apiclient/src/Google/Service/Prediction.php', + 'Google_Service_Prediction_Insert' => $vendorDir . '/google/apiclient/src/Google/Service/Prediction.php', + 'Google_Service_Prediction_Insert2' => $vendorDir . '/google/apiclient/src/Google/Service/Prediction.php', + 'Google_Service_Prediction_Insert2ModelInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Prediction.php', + 'Google_Service_Prediction_InsertTrainingInstances' => $vendorDir . '/google/apiclient/src/Google/Service/Prediction.php', + 'Google_Service_Prediction_InsertUtility' => $vendorDir . '/google/apiclient/src/Google/Service/Prediction.php', + 'Google_Service_Prediction_Output' => $vendorDir . '/google/apiclient/src/Google/Service/Prediction.php', + 'Google_Service_Prediction_OutputOutputMulti' => $vendorDir . '/google/apiclient/src/Google/Service/Prediction.php', + 'Google_Service_Prediction_PredictionList' => $vendorDir . '/google/apiclient/src/Google/Service/Prediction.php', + 'Google_Service_Prediction_Trainedmodels_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Prediction.php', + 'Google_Service_Prediction_Update' => $vendorDir . '/google/apiclient/src/Google/Service/Prediction.php', + 'Google_Service_Proximitybeacon' => $vendorDir . '/google/apiclient/src/Google/Service/Proximitybeacon.php', + 'Google_Service_Proximitybeacon_AdvertisedId' => $vendorDir . '/google/apiclient/src/Google/Service/Proximitybeacon.php', + 'Google_Service_Proximitybeacon_AttachmentInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Proximitybeacon.php', + 'Google_Service_Proximitybeacon_Beacon' => $vendorDir . '/google/apiclient/src/Google/Service/Proximitybeacon.php', + 'Google_Service_Proximitybeacon_BeaconAttachment' => $vendorDir . '/google/apiclient/src/Google/Service/Proximitybeacon.php', + 'Google_Service_Proximitybeacon_BeaconInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Proximitybeacon.php', + 'Google_Service_Proximitybeacon_BeaconProperties' => $vendorDir . '/google/apiclient/src/Google/Service/Proximitybeacon.php', + 'Google_Service_Proximitybeacon_Beaconinfo_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Proximitybeacon.php', + 'Google_Service_Proximitybeacon_BeaconsAttachments_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Proximitybeacon.php', + 'Google_Service_Proximitybeacon_BeaconsDiagnostics_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Proximitybeacon.php', + 'Google_Service_Proximitybeacon_Beacons_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Proximitybeacon.php', + 'Google_Service_Proximitybeacon_Date' => $vendorDir . '/google/apiclient/src/Google/Service/Proximitybeacon.php', + 'Google_Service_Proximitybeacon_DeleteAttachmentsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Proximitybeacon.php', + 'Google_Service_Proximitybeacon_Diagnostics' => $vendorDir . '/google/apiclient/src/Google/Service/Proximitybeacon.php', + 'Google_Service_Proximitybeacon_Empty' => $vendorDir . '/google/apiclient/src/Google/Service/Proximitybeacon.php', + 'Google_Service_Proximitybeacon_GetInfoForObservedBeaconsRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Proximitybeacon.php', + 'Google_Service_Proximitybeacon_GetInfoForObservedBeaconsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Proximitybeacon.php', + 'Google_Service_Proximitybeacon_IndoorLevel' => $vendorDir . '/google/apiclient/src/Google/Service/Proximitybeacon.php', + 'Google_Service_Proximitybeacon_LatLng' => $vendorDir . '/google/apiclient/src/Google/Service/Proximitybeacon.php', + 'Google_Service_Proximitybeacon_ListBeaconAttachmentsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Proximitybeacon.php', + 'Google_Service_Proximitybeacon_ListBeaconsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Proximitybeacon.php', + 'Google_Service_Proximitybeacon_ListDiagnosticsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Proximitybeacon.php', + 'Google_Service_Proximitybeacon_ListNamespacesResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Proximitybeacon.php', + 'Google_Service_Proximitybeacon_Namespaces_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Proximitybeacon.php', + 'Google_Service_Proximitybeacon_Observation' => $vendorDir . '/google/apiclient/src/Google/Service/Proximitybeacon.php', + 'Google_Service_Proximitybeacon_ProximitybeaconNamespace' => $vendorDir . '/google/apiclient/src/Google/Service/Proximitybeacon.php', + 'Google_Service_Pubsub' => $vendorDir . '/google/apiclient/src/Google/Service/Pubsub.php', + 'Google_Service_Pubsub_AcknowledgeRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Pubsub.php', + 'Google_Service_Pubsub_Label' => $vendorDir . '/google/apiclient/src/Google/Service/Pubsub.php', + 'Google_Service_Pubsub_ListSubscriptionsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Pubsub.php', + 'Google_Service_Pubsub_ListTopicsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Pubsub.php', + 'Google_Service_Pubsub_ModifyAckDeadlineRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Pubsub.php', + 'Google_Service_Pubsub_ModifyPushConfigRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Pubsub.php', + 'Google_Service_Pubsub_PublishBatchRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Pubsub.php', + 'Google_Service_Pubsub_PublishBatchResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Pubsub.php', + 'Google_Service_Pubsub_PublishRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Pubsub.php', + 'Google_Service_Pubsub_PubsubEvent' => $vendorDir . '/google/apiclient/src/Google/Service/Pubsub.php', + 'Google_Service_Pubsub_PubsubMessage' => $vendorDir . '/google/apiclient/src/Google/Service/Pubsub.php', + 'Google_Service_Pubsub_PullBatchRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Pubsub.php', + 'Google_Service_Pubsub_PullBatchResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Pubsub.php', + 'Google_Service_Pubsub_PullRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Pubsub.php', + 'Google_Service_Pubsub_PullResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Pubsub.php', + 'Google_Service_Pubsub_PushConfig' => $vendorDir . '/google/apiclient/src/Google/Service/Pubsub.php', + 'Google_Service_Pubsub_Subscription' => $vendorDir . '/google/apiclient/src/Google/Service/Pubsub.php', + 'Google_Service_Pubsub_Subscriptions_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Pubsub.php', + 'Google_Service_Pubsub_Topic' => $vendorDir . '/google/apiclient/src/Google/Service/Pubsub.php', + 'Google_Service_Pubsub_Topics_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Pubsub.php', + 'Google_Service_QPXExpress' => $vendorDir . '/google/apiclient/src/Google/Service/QPXExpress.php', + 'Google_Service_QPXExpress_AircraftData' => $vendorDir . '/google/apiclient/src/Google/Service/QPXExpress.php', + 'Google_Service_QPXExpress_AirportData' => $vendorDir . '/google/apiclient/src/Google/Service/QPXExpress.php', + 'Google_Service_QPXExpress_BagDescriptor' => $vendorDir . '/google/apiclient/src/Google/Service/QPXExpress.php', + 'Google_Service_QPXExpress_CarrierData' => $vendorDir . '/google/apiclient/src/Google/Service/QPXExpress.php', + 'Google_Service_QPXExpress_CityData' => $vendorDir . '/google/apiclient/src/Google/Service/QPXExpress.php', + 'Google_Service_QPXExpress_Data' => $vendorDir . '/google/apiclient/src/Google/Service/QPXExpress.php', + 'Google_Service_QPXExpress_FareInfo' => $vendorDir . '/google/apiclient/src/Google/Service/QPXExpress.php', + 'Google_Service_QPXExpress_FlightInfo' => $vendorDir . '/google/apiclient/src/Google/Service/QPXExpress.php', + 'Google_Service_QPXExpress_FreeBaggageAllowance' => $vendorDir . '/google/apiclient/src/Google/Service/QPXExpress.php', + 'Google_Service_QPXExpress_LegInfo' => $vendorDir . '/google/apiclient/src/Google/Service/QPXExpress.php', + 'Google_Service_QPXExpress_PassengerCounts' => $vendorDir . '/google/apiclient/src/Google/Service/QPXExpress.php', + 'Google_Service_QPXExpress_PricingInfo' => $vendorDir . '/google/apiclient/src/Google/Service/QPXExpress.php', + 'Google_Service_QPXExpress_SegmentInfo' => $vendorDir . '/google/apiclient/src/Google/Service/QPXExpress.php', + 'Google_Service_QPXExpress_SegmentPricing' => $vendorDir . '/google/apiclient/src/Google/Service/QPXExpress.php', + 'Google_Service_QPXExpress_SliceInfo' => $vendorDir . '/google/apiclient/src/Google/Service/QPXExpress.php', + 'Google_Service_QPXExpress_SliceInput' => $vendorDir . '/google/apiclient/src/Google/Service/QPXExpress.php', + 'Google_Service_QPXExpress_TaxData' => $vendorDir . '/google/apiclient/src/Google/Service/QPXExpress.php', + 'Google_Service_QPXExpress_TaxInfo' => $vendorDir . '/google/apiclient/src/Google/Service/QPXExpress.php', + 'Google_Service_QPXExpress_TimeOfDayRange' => $vendorDir . '/google/apiclient/src/Google/Service/QPXExpress.php', + 'Google_Service_QPXExpress_TripOption' => $vendorDir . '/google/apiclient/src/Google/Service/QPXExpress.php', + 'Google_Service_QPXExpress_TripOptionsRequest' => $vendorDir . '/google/apiclient/src/Google/Service/QPXExpress.php', + 'Google_Service_QPXExpress_TripOptionsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/QPXExpress.php', + 'Google_Service_QPXExpress_TripsSearchRequest' => $vendorDir . '/google/apiclient/src/Google/Service/QPXExpress.php', + 'Google_Service_QPXExpress_TripsSearchResponse' => $vendorDir . '/google/apiclient/src/Google/Service/QPXExpress.php', + 'Google_Service_QPXExpress_Trips_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/QPXExpress.php', + 'Google_Service_Replicapool' => $vendorDir . '/google/apiclient/src/Google/Service/Replicapool.php', + 'Google_Service_Replicapool_InstanceGroupManager' => $vendorDir . '/google/apiclient/src/Google/Service/Replicapool.php', + 'Google_Service_Replicapool_InstanceGroupManagerList' => $vendorDir . '/google/apiclient/src/Google/Service/Replicapool.php', + 'Google_Service_Replicapool_InstanceGroupManagersAbandonInstancesRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Replicapool.php', + 'Google_Service_Replicapool_InstanceGroupManagersDeleteInstancesRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Replicapool.php', + 'Google_Service_Replicapool_InstanceGroupManagersRecreateInstancesRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Replicapool.php', + 'Google_Service_Replicapool_InstanceGroupManagersSetInstanceTemplateRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Replicapool.php', + 'Google_Service_Replicapool_InstanceGroupManagersSetTargetPoolsRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Replicapool.php', + 'Google_Service_Replicapool_InstanceGroupManagers_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Replicapool.php', + 'Google_Service_Replicapool_Operation' => $vendorDir . '/google/apiclient/src/Google/Service/Replicapool.php', + 'Google_Service_Replicapool_OperationError' => $vendorDir . '/google/apiclient/src/Google/Service/Replicapool.php', + 'Google_Service_Replicapool_OperationErrorErrors' => $vendorDir . '/google/apiclient/src/Google/Service/Replicapool.php', + 'Google_Service_Replicapool_OperationList' => $vendorDir . '/google/apiclient/src/Google/Service/Replicapool.php', + 'Google_Service_Replicapool_OperationWarnings' => $vendorDir . '/google/apiclient/src/Google/Service/Replicapool.php', + 'Google_Service_Replicapool_OperationWarningsData' => $vendorDir . '/google/apiclient/src/Google/Service/Replicapool.php', + 'Google_Service_Replicapool_ReplicaPoolAutoHealingPolicy' => $vendorDir . '/google/apiclient/src/Google/Service/Replicapool.php', + 'Google_Service_Replicapool_ZoneOperations_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Replicapool.php', + 'Google_Service_Replicapoolupdater' => $vendorDir . '/google/apiclient/src/Google/Service/Replicapoolupdater.php', + 'Google_Service_Replicapoolupdater_InstanceUpdate' => $vendorDir . '/google/apiclient/src/Google/Service/Replicapoolupdater.php', + 'Google_Service_Replicapoolupdater_InstanceUpdateError' => $vendorDir . '/google/apiclient/src/Google/Service/Replicapoolupdater.php', + 'Google_Service_Replicapoolupdater_InstanceUpdateErrorErrors' => $vendorDir . '/google/apiclient/src/Google/Service/Replicapoolupdater.php', + 'Google_Service_Replicapoolupdater_InstanceUpdateList' => $vendorDir . '/google/apiclient/src/Google/Service/Replicapoolupdater.php', + 'Google_Service_Replicapoolupdater_Operation' => $vendorDir . '/google/apiclient/src/Google/Service/Replicapoolupdater.php', + 'Google_Service_Replicapoolupdater_OperationError' => $vendorDir . '/google/apiclient/src/Google/Service/Replicapoolupdater.php', + 'Google_Service_Replicapoolupdater_OperationErrorErrors' => $vendorDir . '/google/apiclient/src/Google/Service/Replicapoolupdater.php', + 'Google_Service_Replicapoolupdater_OperationList' => $vendorDir . '/google/apiclient/src/Google/Service/Replicapoolupdater.php', + 'Google_Service_Replicapoolupdater_OperationWarnings' => $vendorDir . '/google/apiclient/src/Google/Service/Replicapoolupdater.php', + 'Google_Service_Replicapoolupdater_OperationWarningsData' => $vendorDir . '/google/apiclient/src/Google/Service/Replicapoolupdater.php', + 'Google_Service_Replicapoolupdater_RollingUpdate' => $vendorDir . '/google/apiclient/src/Google/Service/Replicapoolupdater.php', + 'Google_Service_Replicapoolupdater_RollingUpdateError' => $vendorDir . '/google/apiclient/src/Google/Service/Replicapoolupdater.php', + 'Google_Service_Replicapoolupdater_RollingUpdateErrorErrors' => $vendorDir . '/google/apiclient/src/Google/Service/Replicapoolupdater.php', + 'Google_Service_Replicapoolupdater_RollingUpdateList' => $vendorDir . '/google/apiclient/src/Google/Service/Replicapoolupdater.php', + 'Google_Service_Replicapoolupdater_RollingUpdatePolicy' => $vendorDir . '/google/apiclient/src/Google/Service/Replicapoolupdater.php', + 'Google_Service_Replicapoolupdater_RollingUpdates_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Replicapoolupdater.php', + 'Google_Service_Replicapoolupdater_ZoneOperations_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Replicapoolupdater.php', + 'Google_Service_Reports' => $vendorDir . '/google/apiclient/src/Google/Service/Reports.php', + 'Google_Service_Reports_Activities' => $vendorDir . '/google/apiclient/src/Google/Service/Reports.php', + 'Google_Service_Reports_Activities_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Reports.php', + 'Google_Service_Reports_Activity' => $vendorDir . '/google/apiclient/src/Google/Service/Reports.php', + 'Google_Service_Reports_ActivityActor' => $vendorDir . '/google/apiclient/src/Google/Service/Reports.php', + 'Google_Service_Reports_ActivityEvents' => $vendorDir . '/google/apiclient/src/Google/Service/Reports.php', + 'Google_Service_Reports_ActivityEventsParameters' => $vendorDir . '/google/apiclient/src/Google/Service/Reports.php', + 'Google_Service_Reports_ActivityId' => $vendorDir . '/google/apiclient/src/Google/Service/Reports.php', + 'Google_Service_Reports_Channel' => $vendorDir . '/google/apiclient/src/Google/Service/Reports.php', + 'Google_Service_Reports_ChannelParams' => $vendorDir . '/google/apiclient/src/Google/Service/Reports.php', + 'Google_Service_Reports_Channels_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Reports.php', + 'Google_Service_Reports_CustomerUsageReports_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Reports.php', + 'Google_Service_Reports_UsageReport' => $vendorDir . '/google/apiclient/src/Google/Service/Reports.php', + 'Google_Service_Reports_UsageReportEntity' => $vendorDir . '/google/apiclient/src/Google/Service/Reports.php', + 'Google_Service_Reports_UsageReportParameters' => $vendorDir . '/google/apiclient/src/Google/Service/Reports.php', + 'Google_Service_Reports_UsageReportParametersMsgValue' => $vendorDir . '/google/apiclient/src/Google/Service/Reports.php', + 'Google_Service_Reports_UsageReports' => $vendorDir . '/google/apiclient/src/Google/Service/Reports.php', + 'Google_Service_Reports_UsageReportsWarnings' => $vendorDir . '/google/apiclient/src/Google/Service/Reports.php', + 'Google_Service_Reports_UsageReportsWarningsData' => $vendorDir . '/google/apiclient/src/Google/Service/Reports.php', + 'Google_Service_Reports_UserUsageReport_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Reports.php', + 'Google_Service_Reseller' => $vendorDir . '/google/apiclient/src/Google/Service/Reseller.php', + 'Google_Service_Reseller_Address' => $vendorDir . '/google/apiclient/src/Google/Service/Reseller.php', + 'Google_Service_Reseller_ChangePlanRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Reseller.php', + 'Google_Service_Reseller_Customer' => $vendorDir . '/google/apiclient/src/Google/Service/Reseller.php', + 'Google_Service_Reseller_Customers_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Reseller.php', + 'Google_Service_Reseller_RenewalSettings' => $vendorDir . '/google/apiclient/src/Google/Service/Reseller.php', + 'Google_Service_Reseller_Seats' => $vendorDir . '/google/apiclient/src/Google/Service/Reseller.php', + 'Google_Service_Reseller_Subscription' => $vendorDir . '/google/apiclient/src/Google/Service/Reseller.php', + 'Google_Service_Reseller_SubscriptionPlan' => $vendorDir . '/google/apiclient/src/Google/Service/Reseller.php', + 'Google_Service_Reseller_SubscriptionPlanCommitmentInterval' => $vendorDir . '/google/apiclient/src/Google/Service/Reseller.php', + 'Google_Service_Reseller_SubscriptionTransferInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Reseller.php', + 'Google_Service_Reseller_SubscriptionTrialSettings' => $vendorDir . '/google/apiclient/src/Google/Service/Reseller.php', + 'Google_Service_Reseller_Subscriptions' => $vendorDir . '/google/apiclient/src/Google/Service/Reseller.php', + 'Google_Service_Reseller_Subscriptions_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Reseller.php', + 'Google_Service_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Resource.php', + 'Google_Service_Resourceviews' => $vendorDir . '/google/apiclient/src/Google/Service/Resourceviews.php', + 'Google_Service_Resourceviews_Label' => $vendorDir . '/google/apiclient/src/Google/Service/Resourceviews.php', + 'Google_Service_Resourceviews_ListResourceResponseItem' => $vendorDir . '/google/apiclient/src/Google/Service/Resourceviews.php', + 'Google_Service_Resourceviews_ListResourceResponseItemEndpoints' => $vendorDir . '/google/apiclient/src/Google/Service/Resourceviews.php', + 'Google_Service_Resourceviews_Operation' => $vendorDir . '/google/apiclient/src/Google/Service/Resourceviews.php', + 'Google_Service_Resourceviews_OperationError' => $vendorDir . '/google/apiclient/src/Google/Service/Resourceviews.php', + 'Google_Service_Resourceviews_OperationErrorErrors' => $vendorDir . '/google/apiclient/src/Google/Service/Resourceviews.php', + 'Google_Service_Resourceviews_OperationList' => $vendorDir . '/google/apiclient/src/Google/Service/Resourceviews.php', + 'Google_Service_Resourceviews_OperationWarnings' => $vendorDir . '/google/apiclient/src/Google/Service/Resourceviews.php', + 'Google_Service_Resourceviews_OperationWarningsData' => $vendorDir . '/google/apiclient/src/Google/Service/Resourceviews.php', + 'Google_Service_Resourceviews_ResourceView' => $vendorDir . '/google/apiclient/src/Google/Service/Resourceviews.php', + 'Google_Service_Resourceviews_ServiceEndpoint' => $vendorDir . '/google/apiclient/src/Google/Service/Resourceviews.php', + 'Google_Service_Resourceviews_ZoneOperations_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Resourceviews.php', + 'Google_Service_Resourceviews_ZoneViewsAddResourcesRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Resourceviews.php', + 'Google_Service_Resourceviews_ZoneViewsGetServiceResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Resourceviews.php', + 'Google_Service_Resourceviews_ZoneViewsList' => $vendorDir . '/google/apiclient/src/Google/Service/Resourceviews.php', + 'Google_Service_Resourceviews_ZoneViewsListResourcesResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Resourceviews.php', + 'Google_Service_Resourceviews_ZoneViewsRemoveResourcesRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Resourceviews.php', + 'Google_Service_Resourceviews_ZoneViewsSetServiceRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Resourceviews.php', + 'Google_Service_Resourceviews_ZoneViews_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Resourceviews.php', + 'Google_Service_SQLAdmin' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_AclEntry' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_BackupConfiguration' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_BackupRun' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_BackupRunsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_BackupRuns_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_BinLogCoordinates' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_CloneContext' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_Database' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_DatabaseFlags' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_DatabaseInstance' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_DatabasesListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_Databases_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_ExportContext' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_ExportContextCsvExportOptions' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_ExportContextSqlExportOptions' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_FailoverContext' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_Flag' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_FlagsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_Flags_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_ImportContext' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_ImportContextCsvImportOptions' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_InstancesCloneRequest' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_InstancesExportRequest' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_InstancesFailoverRequest' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_InstancesImportRequest' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_InstancesListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_InstancesRestoreBackupRequest' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_Instances_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_IpConfiguration' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_IpMapping' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_LocationPreference' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_MySqlReplicaConfiguration' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_OnPremisesConfiguration' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_Operation' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_OperationError' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_OperationErrors' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_OperationsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_Operations_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_ReplicaConfiguration' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_RestoreBackupContext' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_Settings' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_SslCert' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_SslCertDetail' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_SslCertsCreateEphemeralRequest' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_SslCertsInsertRequest' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_SslCertsInsertResponse' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_SslCertsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_SslCerts_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_Tier' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_TiersListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_Tiers_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_User' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_UsersListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_SQLAdmin_Users_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/SQLAdmin.php', + 'Google_Service_Script' => $vendorDir . '/google/apiclient/src/Google/Service/Script.php', + 'Google_Service_Script_ExecutionError' => $vendorDir . '/google/apiclient/src/Google/Service/Script.php', + 'Google_Service_Script_ExecutionRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Script.php', + 'Google_Service_Script_ExecutionResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Script.php', + 'Google_Service_Script_Operation' => $vendorDir . '/google/apiclient/src/Google/Service/Script.php', + 'Google_Service_Script_OperationMetadata' => $vendorDir . '/google/apiclient/src/Google/Service/Script.php', + 'Google_Service_Script_OperationResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Script.php', + 'Google_Service_Script_ScriptStackTraceElement' => $vendorDir . '/google/apiclient/src/Google/Service/Script.php', + 'Google_Service_Script_Scripts_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Script.php', + 'Google_Service_Script_Status' => $vendorDir . '/google/apiclient/src/Google/Service/Script.php', + 'Google_Service_Script_StatusDetails' => $vendorDir . '/google/apiclient/src/Google/Service/Script.php', + 'Google_Service_ShoppingContent' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_Account' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_AccountAdwordsLink' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_AccountIdentifier' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_AccountShipping' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_AccountShippingCarrierRate' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_AccountShippingCondition' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_AccountShippingLocationGroup' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_AccountShippingPostalCodeRange' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_AccountShippingRateTable' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_AccountShippingRateTableCell' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_AccountShippingShippingService' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_AccountShippingShippingServiceCalculationMethod' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_AccountShippingShippingServiceCostRule' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_AccountStatus' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_AccountStatusDataQualityIssue' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_AccountStatusExampleItem' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_AccountTax' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_AccountTaxTaxRule' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_AccountUser' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_AccountsAuthInfoResponse' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_AccountsCustomBatchRequest' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_AccountsCustomBatchRequestEntry' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_AccountsCustomBatchResponse' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_AccountsCustomBatchResponseEntry' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_AccountsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_Accounts_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_AccountshippingCustomBatchRequest' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_AccountshippingCustomBatchRequestEntry' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_AccountshippingCustomBatchResponse' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_AccountshippingCustomBatchResponseEntry' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_AccountshippingListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_Accountshipping_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_AccountstatusesCustomBatchRequest' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_AccountstatusesCustomBatchRequestEntry' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_AccountstatusesCustomBatchResponse' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_AccountstatusesCustomBatchResponseEntry' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_AccountstatusesListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_Accountstatuses_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_AccounttaxCustomBatchRequest' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_AccounttaxCustomBatchRequestEntry' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_AccounttaxCustomBatchResponse' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_AccounttaxCustomBatchResponseEntry' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_AccounttaxListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_Accounttax_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_Datafeed' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_DatafeedFetchSchedule' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_DatafeedFormat' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_DatafeedStatus' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_DatafeedStatusError' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_DatafeedStatusExample' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_DatafeedsCustomBatchRequest' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_DatafeedsCustomBatchRequestEntry' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_DatafeedsCustomBatchResponse' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_DatafeedsCustomBatchResponseEntry' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_DatafeedsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_Datafeeds_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_DatafeedstatusesCustomBatchRequest' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_DatafeedstatusesCustomBatchRequestEntry' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponse' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponseEntry' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_DatafeedstatusesListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_Datafeedstatuses_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_Error' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_Errors' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_Inventory' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_InventoryCustomBatchRequest' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_InventoryCustomBatchRequestEntry' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_InventoryCustomBatchResponse' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_InventoryCustomBatchResponseEntry' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_InventorySetRequest' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_InventorySetResponse' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_Inventory_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_LoyaltyPoints' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_Order' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrderAddress' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrderCancellation' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrderCustomer' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrderDeliveryDetails' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrderLineItem' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrderLineItemProduct' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrderLineItemProductVariantAttribute' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrderLineItemReturnInfo' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrderLineItemShippingDetails' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrderLineItemShippingDetailsMethod' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrderPaymentMethod' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrderRefund' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrderReturn' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrderShipment' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrderShipmentLineItemShipment' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrdersAcknowledgeRequest' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrdersAcknowledgeResponse' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrdersAdvanceTestOrderResponse' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrdersCancelLineItemRequest' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrdersCancelLineItemResponse' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrdersCancelRequest' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrdersCancelResponse' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrdersCreateTestOrderRequest' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrdersCreateTestOrderResponse' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrdersCustomBatchRequest' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrdersCustomBatchRequestEntry' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryCancel' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryCancelLineItem' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryRefund' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryReturnLineItem' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryShipLineItems' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryUpdateShipment' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrdersCustomBatchResponse' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrdersCustomBatchResponseEntry' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrdersGetByMerchantOrderIdResponse' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrdersGetTestOrderTemplateResponse' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrdersListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrdersRefundRequest' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrdersRefundResponse' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrdersReturnLineItemRequest' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrdersReturnLineItemResponse' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrdersShipLineItemsRequest' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrdersShipLineItemsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrdersUpdateMerchantOrderIdRequest' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrdersUpdateMerchantOrderIdResponse' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrdersUpdateShipmentRequest' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_OrdersUpdateShipmentResponse' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_Orders_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_Price' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_Product' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_ProductAspect' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_ProductCustomAttribute' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_ProductCustomGroup' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_ProductDestination' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_ProductInstallment' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_ProductShipping' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_ProductShippingDimension' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_ProductShippingWeight' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_ProductStatus' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_ProductStatusDataQualityIssue' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_ProductStatusDestinationStatus' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_ProductTax' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_ProductUnitPricingBaseMeasure' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_ProductUnitPricingMeasure' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_ProductsCustomBatchRequest' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_ProductsCustomBatchRequestEntry' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_ProductsCustomBatchResponse' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_ProductsCustomBatchResponseEntry' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_ProductsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_Products_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_ProductstatusesCustomBatchRequest' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_ProductstatusesCustomBatchRequestEntry' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_ProductstatusesCustomBatchResponse' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_ProductstatusesCustomBatchResponseEntry' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_ProductstatusesListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_Productstatuses_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_TestOrder' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_TestOrderCustomer' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_TestOrderLineItem' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_TestOrderLineItemProduct' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_TestOrderPaymentMethod' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_ShoppingContent_Weight' => $vendorDir . '/google/apiclient/src/Google/Service/ShoppingContent.php', + 'Google_Service_SiteVerification' => $vendorDir . '/google/apiclient/src/Google/Service/SiteVerification.php', + 'Google_Service_SiteVerification_SiteVerificationWebResourceGettokenRequest' => $vendorDir . '/google/apiclient/src/Google/Service/SiteVerification.php', + 'Google_Service_SiteVerification_SiteVerificationWebResourceGettokenRequestSite' => $vendorDir . '/google/apiclient/src/Google/Service/SiteVerification.php', + 'Google_Service_SiteVerification_SiteVerificationWebResourceGettokenResponse' => $vendorDir . '/google/apiclient/src/Google/Service/SiteVerification.php', + 'Google_Service_SiteVerification_SiteVerificationWebResourceListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/SiteVerification.php', + 'Google_Service_SiteVerification_SiteVerificationWebResourceResource' => $vendorDir . '/google/apiclient/src/Google/Service/SiteVerification.php', + 'Google_Service_SiteVerification_SiteVerificationWebResourceResourceSite' => $vendorDir . '/google/apiclient/src/Google/Service/SiteVerification.php', + 'Google_Service_SiteVerification_WebResource_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/SiteVerification.php', + 'Google_Service_Spectrum' => $vendorDir . '/google/apiclient/src/Google/Service/Spectrum.php', + 'Google_Service_Spectrum_AntennaCharacteristics' => $vendorDir . '/google/apiclient/src/Google/Service/Spectrum.php', + 'Google_Service_Spectrum_DatabaseSpec' => $vendorDir . '/google/apiclient/src/Google/Service/Spectrum.php', + 'Google_Service_Spectrum_DbUpdateSpec' => $vendorDir . '/google/apiclient/src/Google/Service/Spectrum.php', + 'Google_Service_Spectrum_DeviceCapabilities' => $vendorDir . '/google/apiclient/src/Google/Service/Spectrum.php', + 'Google_Service_Spectrum_DeviceDescriptor' => $vendorDir . '/google/apiclient/src/Google/Service/Spectrum.php', + 'Google_Service_Spectrum_DeviceOwner' => $vendorDir . '/google/apiclient/src/Google/Service/Spectrum.php', + 'Google_Service_Spectrum_DeviceValidity' => $vendorDir . '/google/apiclient/src/Google/Service/Spectrum.php', + 'Google_Service_Spectrum_EventTime' => $vendorDir . '/google/apiclient/src/Google/Service/Spectrum.php', + 'Google_Service_Spectrum_FrequencyRange' => $vendorDir . '/google/apiclient/src/Google/Service/Spectrum.php', + 'Google_Service_Spectrum_GeoLocation' => $vendorDir . '/google/apiclient/src/Google/Service/Spectrum.php', + 'Google_Service_Spectrum_GeoLocationEllipse' => $vendorDir . '/google/apiclient/src/Google/Service/Spectrum.php', + 'Google_Service_Spectrum_GeoLocationPoint' => $vendorDir . '/google/apiclient/src/Google/Service/Spectrum.php', + 'Google_Service_Spectrum_GeoLocationPolygon' => $vendorDir . '/google/apiclient/src/Google/Service/Spectrum.php', + 'Google_Service_Spectrum_GeoSpectrumSchedule' => $vendorDir . '/google/apiclient/src/Google/Service/Spectrum.php', + 'Google_Service_Spectrum_PawsGetSpectrumBatchRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Spectrum.php', + 'Google_Service_Spectrum_PawsGetSpectrumBatchResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Spectrum.php', + 'Google_Service_Spectrum_PawsGetSpectrumRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Spectrum.php', + 'Google_Service_Spectrum_PawsGetSpectrumResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Spectrum.php', + 'Google_Service_Spectrum_PawsInitRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Spectrum.php', + 'Google_Service_Spectrum_PawsInitResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Spectrum.php', + 'Google_Service_Spectrum_PawsNotifySpectrumUseRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Spectrum.php', + 'Google_Service_Spectrum_PawsNotifySpectrumUseResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Spectrum.php', + 'Google_Service_Spectrum_PawsRegisterRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Spectrum.php', + 'Google_Service_Spectrum_PawsRegisterResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Spectrum.php', + 'Google_Service_Spectrum_PawsVerifyDeviceRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Spectrum.php', + 'Google_Service_Spectrum_PawsVerifyDeviceResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Spectrum.php', + 'Google_Service_Spectrum_Paws_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Spectrum.php', + 'Google_Service_Spectrum_RulesetInfo' => $vendorDir . '/google/apiclient/src/Google/Service/Spectrum.php', + 'Google_Service_Spectrum_SpectrumMessage' => $vendorDir . '/google/apiclient/src/Google/Service/Spectrum.php', + 'Google_Service_Spectrum_SpectrumSchedule' => $vendorDir . '/google/apiclient/src/Google/Service/Spectrum.php', + 'Google_Service_Spectrum_Vcard' => $vendorDir . '/google/apiclient/src/Google/Service/Spectrum.php', + 'Google_Service_Spectrum_VcardAddress' => $vendorDir . '/google/apiclient/src/Google/Service/Spectrum.php', + 'Google_Service_Spectrum_VcardTelephone' => $vendorDir . '/google/apiclient/src/Google/Service/Spectrum.php', + 'Google_Service_Spectrum_VcardTypedText' => $vendorDir . '/google/apiclient/src/Google/Service/Spectrum.php', + 'Google_Service_Storage' => $vendorDir . '/google/apiclient/src/Google/Service/Storage.php', + 'Google_Service_Storage_Bucket' => $vendorDir . '/google/apiclient/src/Google/Service/Storage.php', + 'Google_Service_Storage_BucketAccessControl' => $vendorDir . '/google/apiclient/src/Google/Service/Storage.php', + 'Google_Service_Storage_BucketAccessControlProjectTeam' => $vendorDir . '/google/apiclient/src/Google/Service/Storage.php', + 'Google_Service_Storage_BucketAccessControls' => $vendorDir . '/google/apiclient/src/Google/Service/Storage.php', + 'Google_Service_Storage_BucketAccessControls_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Storage.php', + 'Google_Service_Storage_BucketCors' => $vendorDir . '/google/apiclient/src/Google/Service/Storage.php', + 'Google_Service_Storage_BucketLifecycle' => $vendorDir . '/google/apiclient/src/Google/Service/Storage.php', + 'Google_Service_Storage_BucketLifecycleRule' => $vendorDir . '/google/apiclient/src/Google/Service/Storage.php', + 'Google_Service_Storage_BucketLifecycleRuleAction' => $vendorDir . '/google/apiclient/src/Google/Service/Storage.php', + 'Google_Service_Storage_BucketLifecycleRuleCondition' => $vendorDir . '/google/apiclient/src/Google/Service/Storage.php', + 'Google_Service_Storage_BucketLogging' => $vendorDir . '/google/apiclient/src/Google/Service/Storage.php', + 'Google_Service_Storage_BucketOwner' => $vendorDir . '/google/apiclient/src/Google/Service/Storage.php', + 'Google_Service_Storage_BucketVersioning' => $vendorDir . '/google/apiclient/src/Google/Service/Storage.php', + 'Google_Service_Storage_BucketWebsite' => $vendorDir . '/google/apiclient/src/Google/Service/Storage.php', + 'Google_Service_Storage_Buckets' => $vendorDir . '/google/apiclient/src/Google/Service/Storage.php', + 'Google_Service_Storage_Buckets_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Storage.php', + 'Google_Service_Storage_Channel' => $vendorDir . '/google/apiclient/src/Google/Service/Storage.php', + 'Google_Service_Storage_ChannelParams' => $vendorDir . '/google/apiclient/src/Google/Service/Storage.php', + 'Google_Service_Storage_Channels_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Storage.php', + 'Google_Service_Storage_ComposeRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Storage.php', + 'Google_Service_Storage_ComposeRequestSourceObjects' => $vendorDir . '/google/apiclient/src/Google/Service/Storage.php', + 'Google_Service_Storage_ComposeRequestSourceObjectsObjectPreconditions' => $vendorDir . '/google/apiclient/src/Google/Service/Storage.php', + 'Google_Service_Storage_DefaultObjectAccessControls_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Storage.php', + 'Google_Service_Storage_ObjectAccessControl' => $vendorDir . '/google/apiclient/src/Google/Service/Storage.php', + 'Google_Service_Storage_ObjectAccessControlProjectTeam' => $vendorDir . '/google/apiclient/src/Google/Service/Storage.php', + 'Google_Service_Storage_ObjectAccessControls' => $vendorDir . '/google/apiclient/src/Google/Service/Storage.php', + 'Google_Service_Storage_ObjectAccessControls_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Storage.php', + 'Google_Service_Storage_Objects' => $vendorDir . '/google/apiclient/src/Google/Service/Storage.php', + 'Google_Service_Storage_Objects_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Storage.php', + 'Google_Service_Storage_RewriteResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Storage.php', + 'Google_Service_Storage_StorageObject' => $vendorDir . '/google/apiclient/src/Google/Service/Storage.php', + 'Google_Service_Storage_StorageObjectMetadata' => $vendorDir . '/google/apiclient/src/Google/Service/Storage.php', + 'Google_Service_Storage_StorageObjectOwner' => $vendorDir . '/google/apiclient/src/Google/Service/Storage.php', + 'Google_Service_Storagetransfer' => $vendorDir . '/google/apiclient/src/Google/Service/Storagetransfer.php', + 'Google_Service_Storagetransfer_AwsAccessKey' => $vendorDir . '/google/apiclient/src/Google/Service/Storagetransfer.php', + 'Google_Service_Storagetransfer_AwsS3Data' => $vendorDir . '/google/apiclient/src/Google/Service/Storagetransfer.php', + 'Google_Service_Storagetransfer_Date' => $vendorDir . '/google/apiclient/src/Google/Service/Storagetransfer.php', + 'Google_Service_Storagetransfer_Empty' => $vendorDir . '/google/apiclient/src/Google/Service/Storagetransfer.php', + 'Google_Service_Storagetransfer_ErrorLogEntry' => $vendorDir . '/google/apiclient/src/Google/Service/Storagetransfer.php', + 'Google_Service_Storagetransfer_ErrorSummary' => $vendorDir . '/google/apiclient/src/Google/Service/Storagetransfer.php', + 'Google_Service_Storagetransfer_GcsData' => $vendorDir . '/google/apiclient/src/Google/Service/Storagetransfer.php', + 'Google_Service_Storagetransfer_GoogleServiceAccount' => $vendorDir . '/google/apiclient/src/Google/Service/Storagetransfer.php', + 'Google_Service_Storagetransfer_GoogleServiceAccounts_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Storagetransfer.php', + 'Google_Service_Storagetransfer_HttpData' => $vendorDir . '/google/apiclient/src/Google/Service/Storagetransfer.php', + 'Google_Service_Storagetransfer_ListOperationsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Storagetransfer.php', + 'Google_Service_Storagetransfer_ListTransferJobsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Storagetransfer.php', + 'Google_Service_Storagetransfer_ObjectConditions' => $vendorDir . '/google/apiclient/src/Google/Service/Storagetransfer.php', + 'Google_Service_Storagetransfer_Operation' => $vendorDir . '/google/apiclient/src/Google/Service/Storagetransfer.php', + 'Google_Service_Storagetransfer_OperationMetadata' => $vendorDir . '/google/apiclient/src/Google/Service/Storagetransfer.php', + 'Google_Service_Storagetransfer_OperationResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Storagetransfer.php', + 'Google_Service_Storagetransfer_PauseTransferOperationRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Storagetransfer.php', + 'Google_Service_Storagetransfer_ResumeTransferOperationRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Storagetransfer.php', + 'Google_Service_Storagetransfer_Schedule' => $vendorDir . '/google/apiclient/src/Google/Service/Storagetransfer.php', + 'Google_Service_Storagetransfer_Status' => $vendorDir . '/google/apiclient/src/Google/Service/Storagetransfer.php', + 'Google_Service_Storagetransfer_StatusDetails' => $vendorDir . '/google/apiclient/src/Google/Service/Storagetransfer.php', + 'Google_Service_Storagetransfer_TimeOfDay' => $vendorDir . '/google/apiclient/src/Google/Service/Storagetransfer.php', + 'Google_Service_Storagetransfer_TransferCounters' => $vendorDir . '/google/apiclient/src/Google/Service/Storagetransfer.php', + 'Google_Service_Storagetransfer_TransferJob' => $vendorDir . '/google/apiclient/src/Google/Service/Storagetransfer.php', + 'Google_Service_Storagetransfer_TransferJobs_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Storagetransfer.php', + 'Google_Service_Storagetransfer_TransferOperation' => $vendorDir . '/google/apiclient/src/Google/Service/Storagetransfer.php', + 'Google_Service_Storagetransfer_TransferOperations_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Storagetransfer.php', + 'Google_Service_Storagetransfer_TransferOptions' => $vendorDir . '/google/apiclient/src/Google/Service/Storagetransfer.php', + 'Google_Service_Storagetransfer_TransferSpec' => $vendorDir . '/google/apiclient/src/Google/Service/Storagetransfer.php', + 'Google_Service_Storagetransfer_UpdateTransferJobRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Storagetransfer.php', + 'Google_Service_Storagetransfer_V1_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Storagetransfer.php', + 'Google_Service_TagManager' => $vendorDir . '/google/apiclient/src/Google/Service/TagManager.php', + 'Google_Service_TagManager_Account' => $vendorDir . '/google/apiclient/src/Google/Service/TagManager.php', + 'Google_Service_TagManager_AccountAccess' => $vendorDir . '/google/apiclient/src/Google/Service/TagManager.php', + 'Google_Service_TagManager_AccountsContainersFoldersEntities_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/TagManager.php', + 'Google_Service_TagManager_AccountsContainersFolders_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/TagManager.php', + 'Google_Service_TagManager_AccountsContainersMoveFolders_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/TagManager.php', + 'Google_Service_TagManager_AccountsContainersTags_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/TagManager.php', + 'Google_Service_TagManager_AccountsContainersTriggers_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/TagManager.php', + 'Google_Service_TagManager_AccountsContainersVariables_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/TagManager.php', + 'Google_Service_TagManager_AccountsContainersVersions_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/TagManager.php', + 'Google_Service_TagManager_AccountsContainers_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/TagManager.php', + 'Google_Service_TagManager_AccountsPermissions_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/TagManager.php', + 'Google_Service_TagManager_Accounts_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/TagManager.php', + 'Google_Service_TagManager_Condition' => $vendorDir . '/google/apiclient/src/Google/Service/TagManager.php', + 'Google_Service_TagManager_Container' => $vendorDir . '/google/apiclient/src/Google/Service/TagManager.php', + 'Google_Service_TagManager_ContainerAccess' => $vendorDir . '/google/apiclient/src/Google/Service/TagManager.php', + 'Google_Service_TagManager_ContainerVersion' => $vendorDir . '/google/apiclient/src/Google/Service/TagManager.php', + 'Google_Service_TagManager_ContainerVersionHeader' => $vendorDir . '/google/apiclient/src/Google/Service/TagManager.php', + 'Google_Service_TagManager_CreateContainerVersionRequestVersionOptions' => $vendorDir . '/google/apiclient/src/Google/Service/TagManager.php', + 'Google_Service_TagManager_CreateContainerVersionResponse' => $vendorDir . '/google/apiclient/src/Google/Service/TagManager.php', + 'Google_Service_TagManager_Folder' => $vendorDir . '/google/apiclient/src/Google/Service/TagManager.php', + 'Google_Service_TagManager_FolderEntities' => $vendorDir . '/google/apiclient/src/Google/Service/TagManager.php', + 'Google_Service_TagManager_ListAccountUsersResponse' => $vendorDir . '/google/apiclient/src/Google/Service/TagManager.php', + 'Google_Service_TagManager_ListAccountsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/TagManager.php', + 'Google_Service_TagManager_ListContainerVersionsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/TagManager.php', + 'Google_Service_TagManager_ListContainersResponse' => $vendorDir . '/google/apiclient/src/Google/Service/TagManager.php', + 'Google_Service_TagManager_ListFoldersResponse' => $vendorDir . '/google/apiclient/src/Google/Service/TagManager.php', + 'Google_Service_TagManager_ListTagsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/TagManager.php', + 'Google_Service_TagManager_ListTriggersResponse' => $vendorDir . '/google/apiclient/src/Google/Service/TagManager.php', + 'Google_Service_TagManager_ListVariablesResponse' => $vendorDir . '/google/apiclient/src/Google/Service/TagManager.php', + 'Google_Service_TagManager_Macro' => $vendorDir . '/google/apiclient/src/Google/Service/TagManager.php', + 'Google_Service_TagManager_Parameter' => $vendorDir . '/google/apiclient/src/Google/Service/TagManager.php', + 'Google_Service_TagManager_PublishContainerVersionResponse' => $vendorDir . '/google/apiclient/src/Google/Service/TagManager.php', + 'Google_Service_TagManager_Rule' => $vendorDir . '/google/apiclient/src/Google/Service/TagManager.php', + 'Google_Service_TagManager_SetupTag' => $vendorDir . '/google/apiclient/src/Google/Service/TagManager.php', + 'Google_Service_TagManager_Tag' => $vendorDir . '/google/apiclient/src/Google/Service/TagManager.php', + 'Google_Service_TagManager_TeardownTag' => $vendorDir . '/google/apiclient/src/Google/Service/TagManager.php', + 'Google_Service_TagManager_Trigger' => $vendorDir . '/google/apiclient/src/Google/Service/TagManager.php', + 'Google_Service_TagManager_UserAccess' => $vendorDir . '/google/apiclient/src/Google/Service/TagManager.php', + 'Google_Service_TagManager_Variable' => $vendorDir . '/google/apiclient/src/Google/Service/TagManager.php', + 'Google_Service_Taskqueue' => $vendorDir . '/google/apiclient/src/Google/Service/Taskqueue.php', + 'Google_Service_Taskqueue_Task' => $vendorDir . '/google/apiclient/src/Google/Service/Taskqueue.php', + 'Google_Service_Taskqueue_TaskQueue' => $vendorDir . '/google/apiclient/src/Google/Service/Taskqueue.php', + 'Google_Service_Taskqueue_TaskQueueAcl' => $vendorDir . '/google/apiclient/src/Google/Service/Taskqueue.php', + 'Google_Service_Taskqueue_TaskQueueStats' => $vendorDir . '/google/apiclient/src/Google/Service/Taskqueue.php', + 'Google_Service_Taskqueue_Taskqueues_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Taskqueue.php', + 'Google_Service_Taskqueue_Tasks' => $vendorDir . '/google/apiclient/src/Google/Service/Taskqueue.php', + 'Google_Service_Taskqueue_Tasks2' => $vendorDir . '/google/apiclient/src/Google/Service/Taskqueue.php', + 'Google_Service_Taskqueue_Tasks_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Taskqueue.php', + 'Google_Service_Tasks' => $vendorDir . '/google/apiclient/src/Google/Service/Tasks.php', + 'Google_Service_Tasks_Task' => $vendorDir . '/google/apiclient/src/Google/Service/Tasks.php', + 'Google_Service_Tasks_TaskLinks' => $vendorDir . '/google/apiclient/src/Google/Service/Tasks.php', + 'Google_Service_Tasks_TaskList' => $vendorDir . '/google/apiclient/src/Google/Service/Tasks.php', + 'Google_Service_Tasks_TaskLists' => $vendorDir . '/google/apiclient/src/Google/Service/Tasks.php', + 'Google_Service_Tasks_Tasklists_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Tasks.php', + 'Google_Service_Tasks_Tasks' => $vendorDir . '/google/apiclient/src/Google/Service/Tasks.php', + 'Google_Service_Tasks_Tasks_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Tasks.php', + 'Google_Service_Translate' => $vendorDir . '/google/apiclient/src/Google/Service/Translate.php', + 'Google_Service_Translate_DetectionsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Translate.php', + 'Google_Service_Translate_DetectionsResourceItems' => $vendorDir . '/google/apiclient/src/Google/Service/Translate.php', + 'Google_Service_Translate_Detections_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Translate.php', + 'Google_Service_Translate_LanguagesListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Translate.php', + 'Google_Service_Translate_LanguagesResource' => $vendorDir . '/google/apiclient/src/Google/Service/Translate.php', + 'Google_Service_Translate_Languages_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Translate.php', + 'Google_Service_Translate_TranslationsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Translate.php', + 'Google_Service_Translate_TranslationsResource' => $vendorDir . '/google/apiclient/src/Google/Service/Translate.php', + 'Google_Service_Translate_Translations_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Translate.php', + 'Google_Service_Urlshortener' => $vendorDir . '/google/apiclient/src/Google/Service/Urlshortener.php', + 'Google_Service_Urlshortener_AnalyticsSnapshot' => $vendorDir . '/google/apiclient/src/Google/Service/Urlshortener.php', + 'Google_Service_Urlshortener_AnalyticsSummary' => $vendorDir . '/google/apiclient/src/Google/Service/Urlshortener.php', + 'Google_Service_Urlshortener_StringCount' => $vendorDir . '/google/apiclient/src/Google/Service/Urlshortener.php', + 'Google_Service_Urlshortener_Url' => $vendorDir . '/google/apiclient/src/Google/Service/Urlshortener.php', + 'Google_Service_Urlshortener_UrlHistory' => $vendorDir . '/google/apiclient/src/Google/Service/Urlshortener.php', + 'Google_Service_Urlshortener_Url_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Urlshortener.php', + 'Google_Service_Webfonts' => $vendorDir . '/google/apiclient/src/Google/Service/Webfonts.php', + 'Google_Service_Webfonts_Webfont' => $vendorDir . '/google/apiclient/src/Google/Service/Webfonts.php', + 'Google_Service_Webfonts_WebfontFiles' => $vendorDir . '/google/apiclient/src/Google/Service/Webfonts.php', + 'Google_Service_Webfonts_WebfontList' => $vendorDir . '/google/apiclient/src/Google/Service/Webfonts.php', + 'Google_Service_Webfonts_Webfonts_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Webfonts.php', + 'Google_Service_Webmasters' => $vendorDir . '/google/apiclient/src/Google/Service/Webmasters.php', + 'Google_Service_Webmasters_ApiDataRow' => $vendorDir . '/google/apiclient/src/Google/Service/Webmasters.php', + 'Google_Service_Webmasters_ApiDimensionFilter' => $vendorDir . '/google/apiclient/src/Google/Service/Webmasters.php', + 'Google_Service_Webmasters_ApiDimensionFilterGroup' => $vendorDir . '/google/apiclient/src/Google/Service/Webmasters.php', + 'Google_Service_Webmasters_SearchAnalyticsQueryRequest' => $vendorDir . '/google/apiclient/src/Google/Service/Webmasters.php', + 'Google_Service_Webmasters_SearchAnalyticsQueryResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Webmasters.php', + 'Google_Service_Webmasters_Searchanalytics_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Webmasters.php', + 'Google_Service_Webmasters_SitemapsListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Webmasters.php', + 'Google_Service_Webmasters_Sitemaps_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Webmasters.php', + 'Google_Service_Webmasters_SitesListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Webmasters.php', + 'Google_Service_Webmasters_Sites_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Webmasters.php', + 'Google_Service_Webmasters_UrlCrawlErrorCount' => $vendorDir . '/google/apiclient/src/Google/Service/Webmasters.php', + 'Google_Service_Webmasters_UrlCrawlErrorCountsPerType' => $vendorDir . '/google/apiclient/src/Google/Service/Webmasters.php', + 'Google_Service_Webmasters_UrlCrawlErrorsCountsQueryResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Webmasters.php', + 'Google_Service_Webmasters_UrlCrawlErrorsSample' => $vendorDir . '/google/apiclient/src/Google/Service/Webmasters.php', + 'Google_Service_Webmasters_UrlCrawlErrorsSamplesListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/Webmasters.php', + 'Google_Service_Webmasters_UrlSampleDetails' => $vendorDir . '/google/apiclient/src/Google/Service/Webmasters.php', + 'Google_Service_Webmasters_Urlcrawlerrorscounts_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Webmasters.php', + 'Google_Service_Webmasters_Urlcrawlerrorssamples_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Webmasters.php', + 'Google_Service_Webmasters_WmxSite' => $vendorDir . '/google/apiclient/src/Google/Service/Webmasters.php', + 'Google_Service_Webmasters_WmxSitemap' => $vendorDir . '/google/apiclient/src/Google/Service/Webmasters.php', + 'Google_Service_Webmasters_WmxSitemapContent' => $vendorDir . '/google/apiclient/src/Google/Service/Webmasters.php', + 'Google_Service_YouTube' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTubeAnalytics' => $vendorDir . '/google/apiclient/src/Google/Service/YouTubeAnalytics.php', + 'Google_Service_YouTubeAnalytics_BatchReport' => $vendorDir . '/google/apiclient/src/Google/Service/YouTubeAnalytics.php', + 'Google_Service_YouTubeAnalytics_BatchReportDefinition' => $vendorDir . '/google/apiclient/src/Google/Service/YouTubeAnalytics.php', + 'Google_Service_YouTubeAnalytics_BatchReportDefinitionList' => $vendorDir . '/google/apiclient/src/Google/Service/YouTubeAnalytics.php', + 'Google_Service_YouTubeAnalytics_BatchReportDefinitions_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/YouTubeAnalytics.php', + 'Google_Service_YouTubeAnalytics_BatchReportList' => $vendorDir . '/google/apiclient/src/Google/Service/YouTubeAnalytics.php', + 'Google_Service_YouTubeAnalytics_BatchReportOutputs' => $vendorDir . '/google/apiclient/src/Google/Service/YouTubeAnalytics.php', + 'Google_Service_YouTubeAnalytics_BatchReportTimeSpan' => $vendorDir . '/google/apiclient/src/Google/Service/YouTubeAnalytics.php', + 'Google_Service_YouTubeAnalytics_BatchReports_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/YouTubeAnalytics.php', + 'Google_Service_YouTubeAnalytics_Group' => $vendorDir . '/google/apiclient/src/Google/Service/YouTubeAnalytics.php', + 'Google_Service_YouTubeAnalytics_GroupContentDetails' => $vendorDir . '/google/apiclient/src/Google/Service/YouTubeAnalytics.php', + 'Google_Service_YouTubeAnalytics_GroupItem' => $vendorDir . '/google/apiclient/src/Google/Service/YouTubeAnalytics.php', + 'Google_Service_YouTubeAnalytics_GroupItemListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/YouTubeAnalytics.php', + 'Google_Service_YouTubeAnalytics_GroupItemResource' => $vendorDir . '/google/apiclient/src/Google/Service/YouTubeAnalytics.php', + 'Google_Service_YouTubeAnalytics_GroupItems_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/YouTubeAnalytics.php', + 'Google_Service_YouTubeAnalytics_GroupListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/YouTubeAnalytics.php', + 'Google_Service_YouTubeAnalytics_GroupSnippet' => $vendorDir . '/google/apiclient/src/Google/Service/YouTubeAnalytics.php', + 'Google_Service_YouTubeAnalytics_Groups_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/YouTubeAnalytics.php', + 'Google_Service_YouTubeAnalytics_Reports_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/YouTubeAnalytics.php', + 'Google_Service_YouTubeAnalytics_ResultTable' => $vendorDir . '/google/apiclient/src/Google/Service/YouTubeAnalytics.php', + 'Google_Service_YouTubeAnalytics_ResultTableColumnHeaders' => $vendorDir . '/google/apiclient/src/Google/Service/YouTubeAnalytics.php', + 'Google_Service_YouTubeReporting' => $vendorDir . '/google/apiclient/src/Google/Service/YouTubeReporting.php', + 'Google_Service_YouTubeReporting_Empty' => $vendorDir . '/google/apiclient/src/Google/Service/YouTubeReporting.php', + 'Google_Service_YouTubeReporting_Job' => $vendorDir . '/google/apiclient/src/Google/Service/YouTubeReporting.php', + 'Google_Service_YouTubeReporting_JobsReports_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/YouTubeReporting.php', + 'Google_Service_YouTubeReporting_Jobs_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/YouTubeReporting.php', + 'Google_Service_YouTubeReporting_ListJobsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/YouTubeReporting.php', + 'Google_Service_YouTubeReporting_ListReportTypesResponse' => $vendorDir . '/google/apiclient/src/Google/Service/YouTubeReporting.php', + 'Google_Service_YouTubeReporting_ListReportsResponse' => $vendorDir . '/google/apiclient/src/Google/Service/YouTubeReporting.php', + 'Google_Service_YouTubeReporting_Media' => $vendorDir . '/google/apiclient/src/Google/Service/YouTubeReporting.php', + 'Google_Service_YouTubeReporting_Media_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/YouTubeReporting.php', + 'Google_Service_YouTubeReporting_Report' => $vendorDir . '/google/apiclient/src/Google/Service/YouTubeReporting.php', + 'Google_Service_YouTubeReporting_ReportType' => $vendorDir . '/google/apiclient/src/Google/Service/YouTubeReporting.php', + 'Google_Service_YouTubeReporting_ReportTypes_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/YouTubeReporting.php', + 'Google_Service_YouTube_AccessPolicy' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_Activities_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_Activity' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_ActivityContentDetails' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_ActivityContentDetailsBulletin' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_ActivityContentDetailsChannelItem' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_ActivityContentDetailsComment' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_ActivityContentDetailsFavorite' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_ActivityContentDetailsLike' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_ActivityContentDetailsPlaylistItem' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_ActivityContentDetailsPromotedItem' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_ActivityContentDetailsRecommendation' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_ActivityContentDetailsSocial' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_ActivityContentDetailsSubscription' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_ActivityContentDetailsUpload' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_ActivityListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_ActivitySnippet' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_Caption' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_CaptionListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_CaptionSnippet' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_Captions_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_CdnSettings' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_Channel' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_ChannelAuditDetails' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_ChannelBannerResource' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_ChannelBanners_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_ChannelBrandingSettings' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_ChannelContentDetails' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_ChannelContentDetailsRelatedPlaylists' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_ChannelContentOwnerDetails' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_ChannelConversionPing' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_ChannelConversionPings' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_ChannelId' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_ChannelListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_ChannelLocalization' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_ChannelLocalizations' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_ChannelSection' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_ChannelSectionContentDetails' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_ChannelSectionListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_ChannelSectionLocalization' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_ChannelSectionLocalizations' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_ChannelSectionSnippet' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_ChannelSectionTargeting' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_ChannelSections_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_ChannelSettings' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_ChannelSnippet' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_ChannelStatistics' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_ChannelStatus' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_ChannelTopicDetails' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_Channels_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_Comment' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_CommentListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_CommentSnippet' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_CommentThread' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_CommentThreadListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_CommentThreadReplies' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_CommentThreadSnippet' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_CommentThreads_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_Comments_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_ContentRating' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_GeoPoint' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_GuideCategories_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_GuideCategory' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_GuideCategoryListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_GuideCategorySnippet' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_I18nLanguage' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_I18nLanguageListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_I18nLanguageSnippet' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_I18nLanguages_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_I18nRegion' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_I18nRegionListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_I18nRegionSnippet' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_I18nRegions_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_ImageSettings' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_IngestionInfo' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_InvideoBranding' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_InvideoPosition' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_InvideoPromotion' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_InvideoTiming' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_LanguageTag' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_LiveBroadcast' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_LiveBroadcastContentDetails' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_LiveBroadcastListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_LiveBroadcastSnippet' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_LiveBroadcastStatistics' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_LiveBroadcastStatus' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_LiveBroadcastTopic' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_LiveBroadcastTopicDetails' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_LiveBroadcastTopicSnippet' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_LiveBroadcasts_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_LiveStream' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_LiveStreamConfigurationIssue' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_LiveStreamContentDetails' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_LiveStreamHealthStatus' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_LiveStreamListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_LiveStreamSnippet' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_LiveStreamStatus' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_LiveStreams_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_LocalizedProperty' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_LocalizedString' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_MonitorStreamInfo' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_PageInfo' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_Playlist' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_PlaylistContentDetails' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_PlaylistItem' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_PlaylistItemContentDetails' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_PlaylistItemListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_PlaylistItemSnippet' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_PlaylistItemStatus' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_PlaylistItems_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_PlaylistListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_PlaylistLocalization' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_PlaylistLocalizations' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_PlaylistPlayer' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_PlaylistSnippet' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_PlaylistStatus' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_Playlists_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_PromotedItem' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_PromotedItemId' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_PropertyValue' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_ResourceId' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_SearchListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_SearchResult' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_SearchResultSnippet' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_Search_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_Subscription' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_SubscriptionContentDetails' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_SubscriptionListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_SubscriptionSnippet' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_SubscriptionSubscriberSnippet' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_Subscriptions_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_Thumbnail' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_ThumbnailDetails' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_ThumbnailSetResponse' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_Thumbnails_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_TokenPagination' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_Video' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_VideoAbuseReport' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_VideoAbuseReportReason' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_VideoAbuseReportReasonListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_VideoAbuseReportReasonSnippet' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_VideoAbuseReportReasons_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_VideoAbuseReportSecondaryReason' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_VideoAgeGating' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_VideoCategories_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_VideoCategory' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_VideoCategoryListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_VideoCategorySnippet' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_VideoContentDetails' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_VideoContentDetailsRegionRestriction' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_VideoConversionPing' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_VideoConversionPings' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_VideoFileDetails' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_VideoFileDetailsAudioStream' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_VideoFileDetailsVideoStream' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_VideoGetRatingResponse' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_VideoListResponse' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_VideoLiveStreamingDetails' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_VideoLocalization' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_VideoLocalizations' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_VideoMonetizationDetails' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_VideoPlayer' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_VideoProcessingDetails' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_VideoProcessingDetailsProcessingProgress' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_VideoProjectDetails' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_VideoRating' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_VideoRecordingDetails' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_VideoSnippet' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_VideoStatistics' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_VideoStatus' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_VideoSuggestions' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_VideoSuggestionsTagSuggestion' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_VideoTopicDetails' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_Videos_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_WatchSettings' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Service_YouTube_Watermarks_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/YouTube.php', + 'Google_Signer_Abstract' => $vendorDir . '/google/apiclient/src/Google/Signer/Abstract.php', + 'Google_Signer_P12' => $vendorDir . '/google/apiclient/src/Google/Signer/P12.php', + 'Google_Task_Exception' => $vendorDir . '/google/apiclient/src/Google/Task/Exception.php', + 'Google_Task_Retryable' => $vendorDir . '/google/apiclient/src/Google/Task/Retryable.php', + 'Google_Task_Runner' => $vendorDir . '/google/apiclient/src/Google/Task/Runner.php', + 'Google_Utils' => $vendorDir . '/google/apiclient/src/Google/Utils.php', + 'Google_Utils_URITemplate' => $vendorDir . '/google/apiclient/src/Google/Utils/URITemplate.php', + 'Google_Verifier_Abstract' => $vendorDir . '/google/apiclient/src/Google/Verifier/Abstract.php', + 'Google_Verifier_Pem' => $vendorDir . '/google/apiclient/src/Google/Verifier/Pem.php', + 'Mexitek\\PHPColors\\Color' => $vendorDir . '/mexitek/phpcolors/src/Mexitek/PHPColors/Color.php', + 'Parsedown' => $vendorDir . '/erusev/parsedown/Parsedown.php', + 'Symfony\\Component\\Translation\\Catalogue\\AbstractOperation' => $vendorDir . '/symfony/translation/Catalogue/AbstractOperation.php', + 'Symfony\\Component\\Translation\\Catalogue\\MergeOperation' => $vendorDir . '/symfony/translation/Catalogue/MergeOperation.php', + 'Symfony\\Component\\Translation\\Catalogue\\OperationInterface' => $vendorDir . '/symfony/translation/Catalogue/OperationInterface.php', + 'Symfony\\Component\\Translation\\Catalogue\\TargetOperation' => $vendorDir . '/symfony/translation/Catalogue/TargetOperation.php', + 'Symfony\\Component\\Translation\\DataCollectorTranslator' => $vendorDir . '/symfony/translation/DataCollectorTranslator.php', + 'Symfony\\Component\\Translation\\DataCollector\\TranslationDataCollector' => $vendorDir . '/symfony/translation/DataCollector/TranslationDataCollector.php', + 'Symfony\\Component\\Translation\\Dumper\\CsvFileDumper' => $vendorDir . '/symfony/translation/Dumper/CsvFileDumper.php', + 'Symfony\\Component\\Translation\\Dumper\\DumperInterface' => $vendorDir . '/symfony/translation/Dumper/DumperInterface.php', + 'Symfony\\Component\\Translation\\Dumper\\FileDumper' => $vendorDir . '/symfony/translation/Dumper/FileDumper.php', + 'Symfony\\Component\\Translation\\Dumper\\IcuResFileDumper' => $vendorDir . '/symfony/translation/Dumper/IcuResFileDumper.php', + 'Symfony\\Component\\Translation\\Dumper\\IniFileDumper' => $vendorDir . '/symfony/translation/Dumper/IniFileDumper.php', + 'Symfony\\Component\\Translation\\Dumper\\JsonFileDumper' => $vendorDir . '/symfony/translation/Dumper/JsonFileDumper.php', + 'Symfony\\Component\\Translation\\Dumper\\MoFileDumper' => $vendorDir . '/symfony/translation/Dumper/MoFileDumper.php', + 'Symfony\\Component\\Translation\\Dumper\\PhpFileDumper' => $vendorDir . '/symfony/translation/Dumper/PhpFileDumper.php', + 'Symfony\\Component\\Translation\\Dumper\\PoFileDumper' => $vendorDir . '/symfony/translation/Dumper/PoFileDumper.php', + 'Symfony\\Component\\Translation\\Dumper\\QtFileDumper' => $vendorDir . '/symfony/translation/Dumper/QtFileDumper.php', + 'Symfony\\Component\\Translation\\Dumper\\XliffFileDumper' => $vendorDir . '/symfony/translation/Dumper/XliffFileDumper.php', + 'Symfony\\Component\\Translation\\Dumper\\YamlFileDumper' => $vendorDir . '/symfony/translation/Dumper/YamlFileDumper.php', + 'Symfony\\Component\\Translation\\Exception\\ExceptionInterface' => $vendorDir . '/symfony/translation/Exception/ExceptionInterface.php', + 'Symfony\\Component\\Translation\\Exception\\InvalidResourceException' => $vendorDir . '/symfony/translation/Exception/InvalidResourceException.php', + 'Symfony\\Component\\Translation\\Exception\\NotFoundResourceException' => $vendorDir . '/symfony/translation/Exception/NotFoundResourceException.php', + 'Symfony\\Component\\Translation\\Extractor\\AbstractFileExtractor' => $vendorDir . '/symfony/translation/Extractor/AbstractFileExtractor.php', + 'Symfony\\Component\\Translation\\Extractor\\ChainExtractor' => $vendorDir . '/symfony/translation/Extractor/ChainExtractor.php', + 'Symfony\\Component\\Translation\\Extractor\\ExtractorInterface' => $vendorDir . '/symfony/translation/Extractor/ExtractorInterface.php', + 'Symfony\\Component\\Translation\\IdentityTranslator' => $vendorDir . '/symfony/translation/IdentityTranslator.php', + 'Symfony\\Component\\Translation\\Interval' => $vendorDir . '/symfony/translation/Interval.php', + 'Symfony\\Component\\Translation\\Loader\\ArrayLoader' => $vendorDir . '/symfony/translation/Loader/ArrayLoader.php', + 'Symfony\\Component\\Translation\\Loader\\CsvFileLoader' => $vendorDir . '/symfony/translation/Loader/CsvFileLoader.php', + 'Symfony\\Component\\Translation\\Loader\\FileLoader' => $vendorDir . '/symfony/translation/Loader/FileLoader.php', + 'Symfony\\Component\\Translation\\Loader\\IcuDatFileLoader' => $vendorDir . '/symfony/translation/Loader/IcuDatFileLoader.php', + 'Symfony\\Component\\Translation\\Loader\\IcuResFileLoader' => $vendorDir . '/symfony/translation/Loader/IcuResFileLoader.php', + 'Symfony\\Component\\Translation\\Loader\\IniFileLoader' => $vendorDir . '/symfony/translation/Loader/IniFileLoader.php', + 'Symfony\\Component\\Translation\\Loader\\JsonFileLoader' => $vendorDir . '/symfony/translation/Loader/JsonFileLoader.php', + 'Symfony\\Component\\Translation\\Loader\\LoaderInterface' => $vendorDir . '/symfony/translation/Loader/LoaderInterface.php', + 'Symfony\\Component\\Translation\\Loader\\MoFileLoader' => $vendorDir . '/symfony/translation/Loader/MoFileLoader.php', + 'Symfony\\Component\\Translation\\Loader\\PhpFileLoader' => $vendorDir . '/symfony/translation/Loader/PhpFileLoader.php', + 'Symfony\\Component\\Translation\\Loader\\PoFileLoader' => $vendorDir . '/symfony/translation/Loader/PoFileLoader.php', + 'Symfony\\Component\\Translation\\Loader\\QtFileLoader' => $vendorDir . '/symfony/translation/Loader/QtFileLoader.php', + 'Symfony\\Component\\Translation\\Loader\\XliffFileLoader' => $vendorDir . '/symfony/translation/Loader/XliffFileLoader.php', + 'Symfony\\Component\\Translation\\Loader\\YamlFileLoader' => $vendorDir . '/symfony/translation/Loader/YamlFileLoader.php', + 'Symfony\\Component\\Translation\\LoggingTranslator' => $vendorDir . '/symfony/translation/LoggingTranslator.php', + 'Symfony\\Component\\Translation\\MessageCatalogue' => $vendorDir . '/symfony/translation/MessageCatalogue.php', + 'Symfony\\Component\\Translation\\MessageCatalogueInterface' => $vendorDir . '/symfony/translation/MessageCatalogueInterface.php', + 'Symfony\\Component\\Translation\\MessageSelector' => $vendorDir . '/symfony/translation/MessageSelector.php', + 'Symfony\\Component\\Translation\\MetadataAwareInterface' => $vendorDir . '/symfony/translation/MetadataAwareInterface.php', + 'Symfony\\Component\\Translation\\PluralizationRules' => $vendorDir . '/symfony/translation/PluralizationRules.php', + 'Symfony\\Component\\Translation\\Tests\\Catalogue\\AbstractOperationTest' => $vendorDir . '/symfony/translation/Tests/Catalogue/AbstractOperationTest.php', + 'Symfony\\Component\\Translation\\Tests\\Catalogue\\MergeOperationTest' => $vendorDir . '/symfony/translation/Tests/Catalogue/MergeOperationTest.php', + 'Symfony\\Component\\Translation\\Tests\\Catalogue\\TargetOperationTest' => $vendorDir . '/symfony/translation/Tests/Catalogue/TargetOperationTest.php', + 'Symfony\\Component\\Translation\\Tests\\DataCollectorTranslatorTest' => $vendorDir . '/symfony/translation/Tests/DataCollectorTranslatorTest.php', + 'Symfony\\Component\\Translation\\Tests\\DataCollector\\TranslationDataCollectorTest' => $vendorDir . '/symfony/translation/Tests/DataCollector/TranslationDataCollectorTest.php', + 'Symfony\\Component\\Translation\\Tests\\Dumper\\ConcreteFileDumper' => $vendorDir . '/symfony/translation/Tests/Dumper/FileDumperTest.php', + 'Symfony\\Component\\Translation\\Tests\\Dumper\\CsvFileDumperTest' => $vendorDir . '/symfony/translation/Tests/Dumper/CsvFileDumperTest.php', + 'Symfony\\Component\\Translation\\Tests\\Dumper\\FileDumperTest' => $vendorDir . '/symfony/translation/Tests/Dumper/FileDumperTest.php', + 'Symfony\\Component\\Translation\\Tests\\Dumper\\IcuResFileDumperTest' => $vendorDir . '/symfony/translation/Tests/Dumper/IcuResFileDumperTest.php', + 'Symfony\\Component\\Translation\\Tests\\Dumper\\IniFileDumperTest' => $vendorDir . '/symfony/translation/Tests/Dumper/IniFileDumperTest.php', + 'Symfony\\Component\\Translation\\Tests\\Dumper\\JsonFileDumperTest' => $vendorDir . '/symfony/translation/Tests/Dumper/JsonFileDumperTest.php', + 'Symfony\\Component\\Translation\\Tests\\Dumper\\MoFileDumperTest' => $vendorDir . '/symfony/translation/Tests/Dumper/MoFileDumperTest.php', + 'Symfony\\Component\\Translation\\Tests\\Dumper\\PhpFileDumperTest' => $vendorDir . '/symfony/translation/Tests/Dumper/PhpFileDumperTest.php', + 'Symfony\\Component\\Translation\\Tests\\Dumper\\PoFileDumperTest' => $vendorDir . '/symfony/translation/Tests/Dumper/PoFileDumperTest.php', + 'Symfony\\Component\\Translation\\Tests\\Dumper\\QtFileDumperTest' => $vendorDir . '/symfony/translation/Tests/Dumper/QtFileDumperTest.php', + 'Symfony\\Component\\Translation\\Tests\\Dumper\\XliffFileDumperTest' => $vendorDir . '/symfony/translation/Tests/Dumper/XliffFileDumperTest.php', + 'Symfony\\Component\\Translation\\Tests\\Dumper\\YamlFileDumperTest' => $vendorDir . '/symfony/translation/Tests/Dumper/YamlFileDumperTest.php', + 'Symfony\\Component\\Translation\\Tests\\IdentityTranslatorTest' => $vendorDir . '/symfony/translation/Tests/IdentityTranslatorTest.php', + 'Symfony\\Component\\Translation\\Tests\\IntervalTest' => $vendorDir . '/symfony/translation/Tests/IntervalTest.php', + 'Symfony\\Component\\Translation\\Tests\\Loader\\CsvFileLoaderTest' => $vendorDir . '/symfony/translation/Tests/Loader/CsvFileLoaderTest.php', + 'Symfony\\Component\\Translation\\Tests\\Loader\\IcuDatFileLoaderTest' => $vendorDir . '/symfony/translation/Tests/Loader/IcuDatFileLoaderTest.php', + 'Symfony\\Component\\Translation\\Tests\\Loader\\IcuResFileLoaderTest' => $vendorDir . '/symfony/translation/Tests/Loader/IcuResFileLoaderTest.php', + 'Symfony\\Component\\Translation\\Tests\\Loader\\IniFileLoaderTest' => $vendorDir . '/symfony/translation/Tests/Loader/IniFileLoaderTest.php', + 'Symfony\\Component\\Translation\\Tests\\Loader\\JsonFileLoaderTest' => $vendorDir . '/symfony/translation/Tests/Loader/JsonFileLoaderTest.php', + 'Symfony\\Component\\Translation\\Tests\\Loader\\LocalizedTestCase' => $vendorDir . '/symfony/translation/Tests/Loader/LocalizedTestCase.php', + 'Symfony\\Component\\Translation\\Tests\\Loader\\MoFileLoaderTest' => $vendorDir . '/symfony/translation/Tests/Loader/MoFileLoaderTest.php', + 'Symfony\\Component\\Translation\\Tests\\Loader\\PhpFileLoaderTest' => $vendorDir . '/symfony/translation/Tests/Loader/PhpFileLoaderTest.php', + 'Symfony\\Component\\Translation\\Tests\\Loader\\PoFileLoaderTest' => $vendorDir . '/symfony/translation/Tests/Loader/PoFileLoaderTest.php', + 'Symfony\\Component\\Translation\\Tests\\Loader\\QtFileLoaderTest' => $vendorDir . '/symfony/translation/Tests/Loader/QtFileLoaderTest.php', + 'Symfony\\Component\\Translation\\Tests\\Loader\\XliffFileLoaderTest' => $vendorDir . '/symfony/translation/Tests/Loader/XliffFileLoaderTest.php', + 'Symfony\\Component\\Translation\\Tests\\Loader\\YamlFileLoaderTest' => $vendorDir . '/symfony/translation/Tests/Loader/YamlFileLoaderTest.php', + 'Symfony\\Component\\Translation\\Tests\\LoggingTranslatorTest' => $vendorDir . '/symfony/translation/Tests/LoggingTranslatorTest.php', + 'Symfony\\Component\\Translation\\Tests\\MessageCatalogueTest' => $vendorDir . '/symfony/translation/Tests/MessageCatalogueTest.php', + 'Symfony\\Component\\Translation\\Tests\\MessageSelectorTest' => $vendorDir . '/symfony/translation/Tests/MessageSelectorTest.php', + 'Symfony\\Component\\Translation\\Tests\\PluralizationRulesTest' => $vendorDir . '/symfony/translation/Tests/PluralizationRulesTest.php', + 'Symfony\\Component\\Translation\\Tests\\StaleResource' => $vendorDir . '/symfony/translation/Tests/TranslatorCacheTest.php', + 'Symfony\\Component\\Translation\\Tests\\StringClass' => $vendorDir . '/symfony/translation/Tests/TranslatorTest.php', + 'Symfony\\Component\\Translation\\Tests\\TranslatorCacheTest' => $vendorDir . '/symfony/translation/Tests/TranslatorCacheTest.php', + 'Symfony\\Component\\Translation\\Tests\\TranslatorTest' => $vendorDir . '/symfony/translation/Tests/TranslatorTest.php', + 'Symfony\\Component\\Translation\\Tests\\Util\\ArrayConverterTest' => $vendorDir . '/symfony/translation/Tests/Util/ArrayConverterTest.php', + 'Symfony\\Component\\Translation\\Translator' => $vendorDir . '/symfony/translation/Translator.php', + 'Symfony\\Component\\Translation\\TranslatorBagInterface' => $vendorDir . '/symfony/translation/TranslatorBagInterface.php', + 'Symfony\\Component\\Translation\\TranslatorInterface' => $vendorDir . '/symfony/translation/TranslatorInterface.php', + 'Symfony\\Component\\Translation\\Util\\ArrayConverter' => $vendorDir . '/symfony/translation/Util/ArrayConverter.php', + 'Symfony\\Component\\Translation\\Writer\\TranslationWriter' => $vendorDir . '/symfony/translation/Writer/TranslationWriter.php', + 'Symfony\\Polyfill\\Mbstring\\Mbstring' => $vendorDir . '/symfony/polyfill-mbstring/Mbstring.php', + 'WP_Requirements' => $vendorDir . '/nekojira/wp-requirements/src/wp-requirements.php', + 'xrstf\\Composer52\\AutoloadGenerator' => $vendorDir . '/xrstf/composer-php52/lib/xrstf/Composer52/AutoloadGenerator.php', + 'xrstf\\Composer52\\Generator' => $vendorDir . '/xrstf/composer-php52/lib/xrstf/Composer52/Generator.php', +); diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/autoload_files.php b/wp-content/plugins/google-calendar-events/vendor/composer/autoload_files.php new file mode 100644 index 0000000..2bdea45 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/autoload_files.php @@ -0,0 +1,11 @@ + array($vendorDir . '/xrstf/composer-php52/lib'), + 'Parsedown' => array($vendorDir . '/erusev/parsedown'), + 'Composer\\Installers\\' => array($vendorDir . '/composer/installers/src'), + '' => array($vendorDir . '/nekojira/wp-requirements/src'), +); diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/autoload_psr4.php b/wp-content/plugins/google-calendar-events/vendor/composer/autoload_psr4.php new file mode 100644 index 0000000..498ba34 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/autoload_psr4.php @@ -0,0 +1,12 @@ + array($vendorDir . '/symfony/polyfill-mbstring'), + 'Symfony\\Component\\Translation\\' => array($vendorDir . '/symfony/translation'), + 'Carbon\\' => array($vendorDir . '/nesbot/carbon/src/Carbon'), +); diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/autoload_real.php b/wp-content/plugins/google-calendar-events/vendor/composer/autoload_real.php new file mode 100644 index 0000000..010a5ca --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/autoload_real.php @@ -0,0 +1,55 @@ + $path) { + $loader->set($namespace, $path); + } + + $map = require __DIR__ . '/autoload_psr4.php'; + foreach ($map as $namespace => $path) { + $loader->setPsr4($namespace, $path); + } + + $classMap = require __DIR__ . '/autoload_classmap.php'; + if ($classMap) { + $loader->addClassMap($classMap); + } + + $loader->register(true); + + $includeFiles = require __DIR__ . '/autoload_files.php'; + foreach ($includeFiles as $file) { + composerRequiref26f36ad9bd5c1fa2fd296c51b641376($file); + } + + return $loader; + } +} + +function composerRequiref26f36ad9bd5c1fa2fd296c51b641376($file) +{ + require $file; +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/autoload_real_52.php b/wp-content/plugins/google-calendar-events/vendor/composer/autoload_real_52.php new file mode 100644 index 0000000..b69b06f --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/autoload_real_52.php @@ -0,0 +1,47 @@ + $path) { + $loader->add($namespace, $path); + } + + $classMap = require $dir.'/autoload_classmap.php'; + if ($classMap) { + $loader->addClassMap($classMap); + } + + $loader->register(true); + +// require $vendorDir . '/symfony/polyfill-mbstring/bootstrap.php'; // disabled because of PHP 5.3 syntax + require $vendorDir . '/cbschuld/browser.php/lib/Browser.php'; + + return $loader; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installed.json b/wp-content/plugins/google-calendar-events/vendor/composer/installed.json new file mode 100644 index 0000000..14761c8 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installed.json @@ -0,0 +1,527 @@ +[ + { + "name": "cbschuld/browser.php", + "version": "dev-master", + "version_normalized": "9999999-dev", + "source": { + "type": "git", + "url": "https://github.com/cbschuld/Browser.php.git", + "reference": "45f4e96082c1b63357088f2204cc544574c713cf" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/cbschuld/Browser.php/zipball/45f4e96082c1b63357088f2204cc544574c713cf", + "reference": "45f4e96082c1b63357088f2204cc544574c713cf", + "shasum": "" + }, + "time": "2015-02-09 13:43:55", + "type": "library", + "installation-source": "source", + "autoload": { + "files": [ + "lib/Browser.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Chris Schuld", + "email": "chris@chrisschuld.com", + "homepage": "http://chrisschuld.com" + } + ], + "homepage": "http://chrisschuld.com/projects/browser-php-detecting-a-users-browser-from-php.html", + "keywords": [ + "browser", + "detection", + "user agent" + ] + }, + { + "name": "erusev/parsedown", + "version": "1.6.0", + "version_normalized": "1.6.0.0", + "source": { + "type": "git", + "url": "https://github.com/erusev/parsedown.git", + "reference": "3ebbd730b5c2cf5ce78bc1bf64071407fc6674b7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/erusev/parsedown/zipball/3ebbd730b5c2cf5ce78bc1bf64071407fc6674b7", + "reference": "3ebbd730b5c2cf5ce78bc1bf64071407fc6674b7", + "shasum": "" + }, + "time": "2015-10-04 16:44:32", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-0": { + "Parsedown": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Emanuil Rusev", + "email": "hello@erusev.com", + "homepage": "http://erusev.com" + } + ], + "description": "Parser for Markdown.", + "homepage": "http://parsedown.org", + "keywords": [ + "markdown", + "parser" + ] + }, + { + "name": "xrstf/composer-php52", + "version": "v1.0.19", + "version_normalized": "1.0.19.0", + "source": { + "type": "hg", + "url": "https://bitbucket.org/xrstf/composer-php52", + "reference": "9a4a9c46d0347b39bf9159815301dc66fc25324e" + }, + "dist": { + "type": "zip", + "url": "https://bitbucket.org/xrstf/composer-php52/get/9a4a9c46d0347b39bf9159815301dc66fc25324e.zip", + "reference": "9a4a9c46d0347b39bf9159815301dc66fc25324e", + "shasum": "" + }, + "time": "2015-10-01 14:11:58", + "type": "library", + "extra": { + "branch-alias": { + "dev-default": "1.x-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-0": { + "xrstf\\Composer52": "lib/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "homepage": "http://www.xrstf.de/" + }, + { + "name": "nekojira/wp-requirements", + "version": "1.4.1", + "version_normalized": "1.4.1.0", + "source": { + "type": "git", + "url": "https://github.com/unfulvio/wp-requirements.git", + "reference": "c12147245286b5b9053d1745995677e6df36e96d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/unfulvio/wp-requirements/zipball/c12147245286b5b9053d1745995677e6df36e96d", + "reference": "c12147245286b5b9053d1745995677e6df36e96d", + "shasum": "" + }, + "time": "2015-10-05 09:08:37", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-0": { + "": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "GPL-2.0+" + ], + "authors": [ + { + "name": "Fulvio Notarstefano", + "email": "fulvio.notarstefano@gmail.com", + "homepage": "https://github.com/nekojira", + "role": "Developer" + } + ], + "description": "Utility for WordPress plugin developers to check PHP version, WordPress version and presence of PHP extensions in current installation.", + "homepage": "https://github.com/nekojira/wp-requirements/", + "keywords": [ + "php", + "requirements", + "version", + "wordpress" + ] + }, + { + "name": "mexitek/phpcolors", + "version": "dev-master", + "version_normalized": "9999999-dev", + "source": { + "type": "git", + "url": "https://github.com/mexitek/phpColors.git", + "reference": "89bf30473a68dc8845e46e9db3e536b969e18c11" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/mexitek/phpColors/zipball/89bf30473a68dc8845e46e9db3e536b969e18c11", + "reference": "89bf30473a68dc8845e46e9db3e536b969e18c11", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "time": "2015-09-09 15:43:06", + "type": "library", + "installation-source": "source", + "autoload": { + "classmap": [ + "src" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Arlo Carreon", + "homepage": "http://arlocarreon.com", + "role": "creator" + } + ], + "description": "A series of methods that let you manipulate colors. Just incase you ever need different shades of one color on the fly.", + "homepage": "http://mexitek.github.com/phpColors/", + "keywords": [ + "color", + "css", + "design", + "frontend", + "ui" + ] + }, + { + "name": "nesbot/carbon", + "version": "1.21.0", + "version_normalized": "1.21.0.0", + "source": { + "type": "git", + "url": "https://github.com/briannesbitt/Carbon.git", + "reference": "7b08ec6f75791e130012f206e3f7b0e76e18e3d7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/7b08ec6f75791e130012f206e3f7b0e76e18e3d7", + "reference": "7b08ec6f75791e130012f206e3f7b0e76e18e3d7", + "shasum": "" + }, + "require": { + "php": ">=5.3.0", + "symfony/translation": "~2.6|~3.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.0|~5.0" + }, + "time": "2015-11-04 20:07:17", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-4": { + "Carbon\\": "src/Carbon/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Brian Nesbitt", + "email": "brian@nesbot.com", + "homepage": "http://nesbot.com" + } + ], + "description": "A simple API extension for DateTime.", + "homepage": "http://carbon.nesbot.com", + "keywords": [ + "date", + "datetime", + "time" + ] + }, + { + "name": "google/apiclient", + "version": "1.1.6", + "version_normalized": "1.1.6.0", + "source": { + "type": "git", + "url": "https://github.com/google/google-api-php-client.git", + "reference": "a25dc9d5c109ebb02945ba1ff6336cc937c27628" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/google/google-api-php-client/zipball/a25dc9d5c109ebb02945ba1ff6336cc937c27628", + "reference": "a25dc9d5c109ebb02945ba1ff6336cc937c27628", + "shasum": "" + }, + "require": { + "php": ">=5.2.1" + }, + "require-dev": { + "phpunit/phpunit": "3.7.*", + "squizlabs/php_codesniffer": "~2.3" + }, + "time": "2015-10-16 22:11:08", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.1.x-dev" + } + }, + "installation-source": "dist", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "description": "Client library for Google APIs", + "homepage": "http://developers.google.com/api-client-library/php", + "keywords": [ + "google" + ] + }, + { + "name": "symfony/polyfill-mbstring", + "version": "v1.0.0", + "version_normalized": "1.0.0.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-mbstring.git", + "reference": "0b6a8940385311a24e060ec1fe35680e17c74497" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/0b6a8940385311a24e060ec1fe35680e17c74497", + "reference": "0b6a8940385311a24e060ec1fe35680e17c74497", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "time": "2015-11-04 20:28:58", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Mbstring\\": "" + }, + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for the Mbstring extension", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "mbstring", + "polyfill", + "portable", + "shim" + ] + }, + { + "name": "symfony/translation", + "version": "v3.0.0", + "version_normalized": "3.0.0.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/translation.git", + "reference": "7f14717150a7445f8475864d1235875dd04061fb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/translation/zipball/7f14717150a7445f8475864d1235875dd04061fb", + "reference": "7f14717150a7445f8475864d1235875dd04061fb", + "shasum": "" + }, + "require": { + "php": ">=5.5.9", + "symfony/polyfill-mbstring": "~1.0" + }, + "conflict": { + "symfony/config": "<2.8" + }, + "require-dev": { + "psr/log": "~1.0", + "symfony/config": "~2.8|~3.0", + "symfony/intl": "~2.8|~3.0", + "symfony/yaml": "~2.8|~3.0" + }, + "suggest": { + "psr/log": "To use logging capability in translator", + "symfony/config": "", + "symfony/yaml": "" + }, + "time": "2015-11-18 13:48:51", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Symfony\\Component\\Translation\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Translation Component", + "homepage": "https://symfony.com" + }, + { + "name": "composer/installers", + "version": "v1.0.22", + "version_normalized": "1.0.22.0", + "source": { + "type": "git", + "url": "https://github.com/composer/installers.git", + "reference": "bd9b14f094c89c8b5804a4e41edeb7853bb85046" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/composer/installers/zipball/bd9b14f094c89c8b5804a4e41edeb7853bb85046", + "reference": "bd9b14f094c89c8b5804a4e41edeb7853bb85046", + "shasum": "" + }, + "require": { + "composer-plugin-api": "1.0.0" + }, + "replace": { + "roundcube/plugin-installer": "*", + "shama/baton": "*" + }, + "require-dev": { + "composer/composer": "1.0.*@dev", + "phpunit/phpunit": "4.1.*" + }, + "time": "2015-10-29 23:28:48", + "type": "composer-plugin", + "extra": { + "class": "Composer\\Installers\\Plugin", + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-0": { + "Composer\\Installers\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Kyle Robinson Young", + "email": "kyle@dontkry.com", + "homepage": "https://github.com/shama" + } + ], + "description": "A multi-framework Composer library installer", + "homepage": "http://composer.github.com/installers/", + "keywords": [ + "Craft", + "Dolibarr", + "Hurad", + "MODX Evo", + "OXID", + "SMF", + "Thelia", + "WolfCMS", + "agl", + "aimeos", + "annotatecms", + "bitrix", + "cakephp", + "chef", + "codeigniter", + "concrete5", + "croogo", + "dokuwiki", + "drupal", + "elgg", + "fuelphp", + "grav", + "installer", + "joomla", + "kohana", + "laravel", + "lithium", + "magento", + "mako", + "mediawiki", + "modulework", + "moodle", + "phpbb", + "piwik", + "ppi", + "puppet", + "roundcube", + "shopware", + "silverstripe", + "symfony", + "typo3", + "wordpress", + "zend", + "zikula" + ] + } +] diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/LICENSE b/wp-content/plugins/google-calendar-events/vendor/composer/installers/LICENSE new file mode 100644 index 0000000..85f97fc --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2012 Kyle Robinson Young + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is furnished +to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/README.md b/wp-content/plugins/google-calendar-events/vendor/composer/installers/README.md new file mode 100644 index 0000000..3a9664e --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/README.md @@ -0,0 +1,193 @@ +# A Multi-Framework [Composer](http://getcomposer.org) Library Installer + +[![Build Status](http://img.shields.io/travis/composer/installers.svg)](http://travis-ci.org/composer/installers) + +This is for PHP package authors to require in their `composer.json`. It will +install their package to the correct location based on the specified package +type. + +The goal of `installers` is to be a simple package type to install path map. +Users can also customize the install path per package and package authors can +modify the package name upon installing. + +`installers` isn't intended on replacing all custom installers. If your +package requires special installation handling then by all means, create a +custom installer to handle it. + +**Natively Supported Frameworks**: + +The following frameworks natively work with Composer and will be +installed to the default `vendor` directory. `composer/installers` +is not needed to install packages with these frameworks: + +* Aura +* Symfony2 +* Yii +* Yii2 + +**Current Supported Package Types**: + +> Stable types are marked as **bold**, this means that installation paths +> for those type will not be changed. Any adjustment for those types would +> require creation of brand new type that will cover required changes. + +| Framework | Types +| --------- | ----- +| Aimeos | `aimeos-extension` +| Asgard | `asgard-module`
              `asgard-theme` +| AGL | `agl-module` +| Bonefish | `bonefish-package` +| AnnotateCms | `annotatecms-module`
              `annotatecms-component`
              `annotatecms-service` +| Bitrix | `bitrix-module`
              `bitrix-component`
              `bitrix-theme` +| CakePHP 2+ | **`cakephp-plugin`** +| Chef | `chef-cookbook`
              `chef-role` +| CCFramework | `ccframework-ship`
              `ccframework-theme` +| CodeIgniter | `codeigniter-library`
              `codeigniter-third-party`
              `codeigniter-module` +| concrete5 | `concrete5-block`
              `concrete5-package`
              `concrete5-theme`
              `concrete5-update` +| Craft | `craft-plugin` +| Croogo | `croogo-plugin`
              `croogo-theme` +| DokuWiki | `dokuwiki-plugin`
              `dokuwiki-template` +| Dolibarr | `dolibarr-module` +| Drupal | `drupal-module`
              `drupal-theme`

              `drupal-library`
              `drupal-profile`
              `drupal-drush` +| Elgg | `elgg-plugin` +| FuelPHP v1.x | `fuel-module`
              `fuel-package`
              `fuel-theme` +| FuelPHP v2.x | `fuelphp-component` +| Grav | `grav-plugin`
              `grav-theme` +| Hurad | `hurad-plugin`
              `hurad-theme` +| Joomla | `joomla-component`
              `joomla-module`
              `joomla-template`
              `joomla-plugin`
              `joomla-library` +| Kirby | **`kirby-plugin`** +| KodiCMS | `kodicms-plugin`
              `kodicms-media` +| Kohana | **`kohana-module`** +| Laravel | `laravel-library` +| Lithium | **`lithium-library`
              `lithium-source`** +| Magento | `magento-library`
              `magento-skin`
              `magento-theme` +| Mako | `mako-package` +| MODX Evo | `modxevo-snippet`
              `modxevo-plugin`
              `modxevo-module`
              `modxevo-template`
              `modxevo-lib` +| MediaWiki | `mediawiki-extension` +| October | **`october-module`
              `october-plugin`
              `october-theme`** +| OXID | `oxid-module`
              `oxid-theme`
              `oxid-out` +| MODULEWork | `modulework-module` +| Moodle | `moodle-*` (Please [check source](https://raw.githubusercontent.com/composer/installers/master/src/Composer/Installers/MoodleInstaller.php) for all supported types) +| Piwik | `piwik-plugin` +| phpBB | `phpbb-extension`
              `phpbb-style`
              `phpbb-language` +| Pimcore | `pimcore-plugin` +| PPI | **`ppi-module`** +| Puppet | `puppet-module` +| REDAXO | `redaxo-addon` +| Roundcube | `roundcube-plugin` +| shopware | `shopware-backend-plugin`
              `shopware-core-plugin`
              `shopware-frontend-plugin`
              `shopware-theme` +| SilverStripe | `silverstripe-module`
              `silverstripe-theme` +| SMF | `smf-module`
              `smf-theme` +| symfony1 | **`symfony1-plugin`** +| Tusk | `tusk-task`
              `tusk-command`
              `tusk-asset` +| TYPO3 Flow | `typo3-flow-package`
              `typo3-flow-framework`
              `typo3-flow-plugin`
              `typo3-flow-site`
              `typo3-flow-boilerplate`
              `typo3-flow-build` +| TYPO3 CMS | `typo3-cms-extension` +| Wolf CMS | `wolfcms-plugin` +| WordPress | `wordpress-plugin`
              `wordpress-theme`

              `wordpress-muplugin` +| Zend | `zend-library`
              `zend-extra`
              `zend-module` +| Zikula | `zikula-module`
              `zikula-theme` +| Prestashop | `prestashop-module`
              `prestashop-theme` + +## Example `composer.json` File + +This is an example for a CakePHP plugin. The only important parts to set in your +composer.json file are `"type": "cakephp-plugin"` which describes what your +package is and `"require": { "composer/installers": "~1.0" }` which tells composer +to load the custom installers. + +```json +{ + "name": "you/ftp", + "type": "cakephp-plugin", + "require": { + "composer/installers": "~1.0" + } +} +``` + +This would install your package to the `Plugin/Ftp/` folder of a CakePHP app +when a user runs `php composer.phar install`. + +So submit your packages to [packagist.org](http://packagist.org)! + +## Custom Install Paths + +If you are consuming a package that uses the `composer/installers` you can +override the install path with the following extra in your `composer.json`: + +```json +{ + "extra": { + "installer-paths": { + "your/custom/path/{$name}/": ["shama/ftp", "vendor/package"] + } + } +} +``` + +A package type can have a custom installation path with a `type:` prefix. + +``` json +{ + "extra": { + "installer-paths": { + "your/custom/path/{$name}/": ["type:wordpress-plugin"] + } + } +} +``` + +This would use your custom path for each of the listed packages. The available +variables to use in your paths are: `{$name}`, `{$vendor}`, `{$type}`. + +## Custom Install Names + +If you're a package author and need your package to be named differently when +installed consider using the `installer-name` extra. + +For example you have a package named `shama/cakephp-ftp` with the type +`cakephp-plugin`. Installing with `composer/installers` would install to the +path `Plugin/CakephpFtp`. Due to the strict naming conventions, you as a +package author actually need the package to be named and installed to +`Plugin/Ftp`. Using the following config within your **package** `composer.json` +will allow this: + +```json +{ + "name": "shama/cakephp-ftp", + "type": "cakephp-plugin", + "extra": { + "installer-name": "Ftp" + } +} +``` + +Please note the name entered into `installer-name` will be the final and will +not be inflected. + +## Contribute! + +* [Fork and clone](https://help.github.com/articles/fork-a-repo). +* Run the command `php composer.phar install` to install the dependencies. + This will also install the dev dependencies. See [Composer](https://getcomposer.org/doc/03-cli.md#install). +* Use the command `phpunit` to run the tests. See [PHPUnit](http://phpunit.de). +* Create a branch, commit, push and send us a + [pull request](https://help.github.com/articles/using-pull-requests). + +To ensure a consistent code base, you should make sure the code follows the +[Coding Standards](http://symfony.com/doc/2.0/contributing/code/standards.html) +which we borrowed from Symfony. + +If you would like to help, please take a look at the list of +[issues](https://github.com/composer/installers/issues). + +### Should we allow dynamic package types or paths? No. +What are they? The ability for a package author to determine where a package +will be installed either through setting the path directly in their +`composer.json` or through a dynamic package type: `"type": +"framework-install-here"`. + +It has been proposed many times. Even implemented once early on and then +removed. `installers` won't do this because it would allow a single package +author to wipe out entire folders without the user's consent. That user would +then come here to yell at us. diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/composer.json b/wp-content/plugins/google-calendar-events/vendor/composer/installers/composer.json new file mode 100644 index 0000000..19e5f0f --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/composer.json @@ -0,0 +1,80 @@ +{ + "name": "composer/installers", + "type": "composer-plugin", + "license": "MIT", + "description": "A multi-framework Composer library installer", + "keywords": [ + "installer", + "Aimeos", + "AGL", + "AnnotateCms", + "Bitrix", + "CakePHP", + "Chef", + "CodeIgniter", + "concrete5", + "Craft", + "Croogo", + "DokuWiki", + "Dolibarr", + "Drupal", + "Elgg", + "FuelPHP", + "Grav", + "Hurad", + "Joomla", + "Kohana", + "Laravel", + "Lithium", + "Magento", + "Mako", + "MODX Evo", + "MediaWiki", + "OXID", + "MODULEWork", + "Moodle", + "Piwik", + "phpBB", + "PPI", + "Puppet", + "Roundcube", + "shopware", + "SilverStripe", + "SMF", + "symfony", + "Thelia", + "TYPO3", + "WolfCMS", + "WordPress", + "Zend", + "Zikula" + ], + "homepage": "http://composer.github.com/installers/", + "authors": [ + { + "name": "Kyle Robinson Young", + "email": "kyle@dontkry.com", + "homepage": "https://github.com/shama" + } + ], + "autoload": { + "psr-0": { "Composer\\Installers\\": "src/" } + }, + "extra": { + "class": "Composer\\Installers\\Plugin", + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "replace": { + "shama/baton": "*", + "roundcube/plugin-installer": "*" + }, + "require": { + "composer-plugin-api": "1.0.0" + }, + "require-dev": { + "composer/composer": "1.0.*@dev", + "phpunit/phpunit": "4.1.*" + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/phpunit.xml.dist b/wp-content/plugins/google-calendar-events/vendor/composer/installers/phpunit.xml.dist new file mode 100644 index 0000000..cc5cc99 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/phpunit.xml.dist @@ -0,0 +1,25 @@ + + + + + + tests/Composer/Installers + + + + + + src/Composer/Installers + + + \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/AglInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/AglInstaller.php new file mode 100644 index 0000000..01b8a41 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/AglInstaller.php @@ -0,0 +1,21 @@ + 'More/{$name}/', + ); + + /** + * Format package name to CamelCase + */ + public function inflectPackageVars($vars) + { + $vars['name'] = preg_replace_callback('/(?:^|_|-)(.?)/', function ($matches) { + return strtoupper($matches[1]); + }, $vars['name']); + + return $vars; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/AimeosInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/AimeosInstaller.php new file mode 100644 index 0000000..79a0e95 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/AimeosInstaller.php @@ -0,0 +1,9 @@ + 'ext/{$name}/', + ); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php new file mode 100644 index 0000000..89d7ad9 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php @@ -0,0 +1,11 @@ + 'addons/modules/{$name}/', + 'component' => 'addons/components/{$name}/', + 'service' => 'addons/services/{$name}/', + ); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/AsgardInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/AsgardInstaller.php new file mode 100644 index 0000000..995ee2b --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/AsgardInstaller.php @@ -0,0 +1,45 @@ + 'Modules/{$name}/', + 'theme' => 'Themes/{$name}/' + ); + + /** + * Format package name. + * + * For package type asgard-module, cut off a trailing '-plugin' if present. + * + * For package type asgard-theme, cut off a trailing '-theme' if present. + * + */ + public function inflectPackageVars($vars) + { + if ($vars['type'] === 'asgard-module') { + return $this->inflectPluginVars($vars); + } + + if ($vars['type'] === 'asgard-theme') { + return $this->inflectThemeVars($vars); + } + + return $vars; + } + + protected function inflectPluginVars($vars) + { + $vars['name'] = ucfirst(preg_replace('/-module/', '', $vars['name'])); + + return $vars; + } + + protected function inflectThemeVars($vars) + { + $vars['name'] = ucfirst(preg_replace('/-theme$/', '', $vars['name'])); + + return $vars; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/BaseInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/BaseInstaller.php new file mode 100644 index 0000000..43938ec --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/BaseInstaller.php @@ -0,0 +1,135 @@ +composer = $composer; + $this->package = $package; + $this->io = $io; + } + + /** + * Return the install path based on package type. + * + * @param PackageInterface $package + * @param string $frameworkType + * @return string + */ + public function getInstallPath(PackageInterface $package, $frameworkType = '') + { + $type = $this->package->getType(); + + $prettyName = $this->package->getPrettyName(); + if (strpos($prettyName, '/') !== false) { + list($vendor, $name) = explode('/', $prettyName); + } else { + $vendor = ''; + $name = $prettyName; + } + + $availableVars = $this->inflectPackageVars(compact('name', 'vendor', 'type')); + + $extra = $package->getExtra(); + if (!empty($extra['installer-name'])) { + $availableVars['name'] = $extra['installer-name']; + } + + if ($this->composer->getPackage()) { + $extra = $this->composer->getPackage()->getExtra(); + if (!empty($extra['installer-paths'])) { + $customPath = $this->mapCustomInstallPaths($extra['installer-paths'], $prettyName, $type); + if ($customPath !== false) { + return $this->templatePath($customPath, $availableVars); + } + } + } + + $packageType = substr($type, strlen($frameworkType) + 1); + $locations = $this->getLocations(); + if (!isset($locations[$packageType])) { + throw new \InvalidArgumentException(sprintf('Package type "%s" is not supported', $type)); + } + + return $this->templatePath($locations[$packageType], $availableVars); + } + + /** + * For an installer to override to modify the vars per installer. + * + * @param array $vars + * @return array + */ + public function inflectPackageVars($vars) + { + return $vars; + } + + /** + * Gets the installer's locations + * + * @return array + */ + public function getLocations() + { + return $this->locations; + } + + /** + * Replace vars in a path + * + * @param string $path + * @param array $vars + * @return string + */ + protected function templatePath($path, array $vars = array()) + { + if (strpos($path, '{') !== false) { + extract($vars); + preg_match_all('@\{\$([A-Za-z0-9_]*)\}@i', $path, $matches); + if (!empty($matches[1])) { + foreach ($matches[1] as $var) { + $path = str_replace('{$' . $var . '}', $$var, $path); + } + } + } + + return $path; + } + + /** + * Search through a passed paths array for a custom install path. + * + * @param array $paths + * @param string $name + * @param string $type + * @return string + */ + protected function mapCustomInstallPaths(array $paths, $name, $type) + { + foreach ($paths as $path => $names) { + if (in_array($name, $names) || in_array('type:' . $type, $names)) { + return $path; + } + } + + return false; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php new file mode 100644 index 0000000..9c79838 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php @@ -0,0 +1,89 @@ + + * @author Denis Kulichkin + */ +class BitrixInstaller extends BaseInstaller +{ + protected $locations = array( + 'module' => 'bitrix/modules/{$name}/', + 'component' => 'bitrix/components/{$name}/', + 'theme' => 'bitrix/templates/{$name}/', + ); + + /** + * @var array Storage for informations about duplicates at all the time of installation packages + */ + private static $checkedDuplicates = array(); + + /** + * {@inheritdoc} + */ + protected function templatePath($path, array $vars = array()) + { + $templatePath = parent::templatePath($path, $vars); + $this->checkDuplicates($templatePath, $vars); + + return $templatePath; + } + + /** + * Duplicates search packages + * + * @param string $templatePath + * @param array $vars + */ + protected function checkDuplicates($templatePath, array $vars = array()) + { + /** + * Incorrect paths for backward compatibility + */ + $oldLocations = array( + 'module' => 'local/modules/{$name}/', + 'component' => 'local/components/{$name}/', + 'theme' => 'local/templates/{$name}/' + ); + + $packageType = substr($vars['type'], strlen('bitrix') + 1); + $oldLocation = str_replace('{$name}', $vars['name'], $oldLocations[$packageType]); + + if (in_array($oldLocation, static::$checkedDuplicates)) { + return; + } + + if ($oldLocation !== $templatePath && file_exists($oldLocation) && $this->io && $this->io->isInteractive()) { + + $this->io->writeError(' Duplication of packages:'); + $this->io->writeError(' Package ' . $oldLocation . ' will be called instead package ' . $templatePath . ''); + + while (true) { + switch ($this->io->ask(' Delete ' . $oldLocation . ' [y,n,?]? ', '?')) { + case 'y': + $fs = new Filesystem(); + $fs->removeDirectory($oldLocation); + break 2; + + case 'n': + break 2; + + case '?': + default: + $this->io->writeError(array( + ' y - delete package ' . $oldLocation . ' and to continue with the installation', + ' n - don\'t delete and to continue with the installation', + )); + $this->io->writeError(' ? - print help'); + break; + } + } + } + + static::$checkedDuplicates[] = $oldLocation; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/BonefishInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/BonefishInstaller.php new file mode 100644 index 0000000..da3aad2 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/BonefishInstaller.php @@ -0,0 +1,9 @@ + 'Packages/{$vendor}/{$name}/' + ); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php new file mode 100644 index 0000000..176c91a --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php @@ -0,0 +1,84 @@ + 'Plugin/{$name}/', + ); + + /** + * Format package name to CamelCase + */ + public function inflectPackageVars($vars) + { + if ($this->matchesCakeVersion('>=', '3.0.0')) { + return $vars; + } + + $nameParts = explode('/', $vars['name']); + foreach ($nameParts as &$value) { + $value = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $value)); + $value = str_replace(array('-', '_'), ' ', $value); + $value = str_replace(' ', '', ucwords($value)); + } + $vars['name'] = implode('/', $nameParts); + + return $vars; + } + + /** + * Change the default plugin location when cakephp >= 3.0 + */ + public function getLocations() + { + if ($this->matchesCakeVersion('>=', '3.0.0')) { + $this->locations['plugin'] = $this->composer->getConfig()->get('vendor-dir') . '/{$vendor}/{$name}/'; + } + return $this->locations; + } + + /** + * Check if CakePHP version matches against a version + * + * @param string $matcher + * @param string $version + * @return bool + */ + protected function matchesCakeVersion($matcher, $version) + { + if (class_exists('Composer\Semver\Constraint\MultiConstraint')) { + $multiClass = 'Composer\Semver\Constraint\MultiConstraint'; + $constraintClass = 'Composer\Semver\Constraint\Constraint'; + } else { + $multiClass = 'Composer\Package\LinkConstraint\MultiConstraint'; + $constraintClass = 'Composer\Package\LinkConstraint\VersionConstraint'; + } + + $repositoryManager = $this->composer->getRepositoryManager(); + if ($repositoryManager) { + $repos = $repositoryManager->getLocalRepository(); + if (!$repos) { + return false; + } + $cake3 = new $multiClass(array( + new $constraintClass($matcher, $version), + new $constraintClass('!=', '9999999-dev'), + )); + $pool = new Pool('dev'); + $pool->addRepository($repos); + $packages = $pool->whatProvides('cakephp/cakephp'); + foreach ($packages as $package) { + $installed = new $constraintClass('=', $package->getVersion()); + if ($cake3->matches($installed)) { + return true; + break; + } + } + } + return false; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/ChefInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/ChefInstaller.php new file mode 100644 index 0000000..ab2f9aa --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/ChefInstaller.php @@ -0,0 +1,11 @@ + 'Chef/{$vendor}/{$name}/', + 'role' => 'Chef/roles/{$name}/', + ); +} + diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php new file mode 100644 index 0000000..c887815 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php @@ -0,0 +1,10 @@ + 'CCF/orbit/{$name}/', + 'theme' => 'CCF/app/themes/{$name}/', + ); +} \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php new file mode 100644 index 0000000..3b4a4ec --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php @@ -0,0 +1,11 @@ + 'application/libraries/{$name}/', + 'third-party' => 'application/third_party/{$name}/', + 'module' => 'application/modules/{$name}/', + ); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/Concrete5Installer.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/Concrete5Installer.php new file mode 100644 index 0000000..4d398a4 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/Concrete5Installer.php @@ -0,0 +1,12 @@ + 'blocks/{$name}/', + 'package' => 'packages/{$name}/', + 'theme' => 'themes/{$name}/', + 'update' => 'updates/{$name}/', + ); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/CraftInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/CraftInstaller.php new file mode 100644 index 0000000..d37a77a --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/CraftInstaller.php @@ -0,0 +1,35 @@ + 'craft/plugins/{$name}/', + ); + + /** + * Strip `craft-` prefix and/or `-plugin` suffix from package names + * + * @param array $vars + * + * @return array + */ + final public function inflectPackageVars($vars) + { + return $this->inflectPluginVars($vars); + } + + private function inflectPluginVars($vars) + { + $vars['name'] = preg_replace('/-' . self::NAME_SUFFIX . '$/i', '', $vars['name']); + $vars['name'] = preg_replace('/^' . self::NAME_PREFIX . '-/i', '', $vars['name']); + + return $vars; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/CroogoInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/CroogoInstaller.php new file mode 100644 index 0000000..d94219d --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/CroogoInstaller.php @@ -0,0 +1,21 @@ + 'Plugin/{$name}/', + 'theme' => 'View/Themed/{$name}/', + ); + + /** + * Format package name to CamelCase + */ + public function inflectPackageVars($vars) + { + $vars['name'] = strtolower(str_replace(array('-', '_'), ' ', $vars['name'])); + $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); + + return $vars; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/DokuWikiInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/DokuWikiInstaller.php new file mode 100644 index 0000000..cfd638d --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/DokuWikiInstaller.php @@ -0,0 +1,50 @@ + 'lib/plugins/{$name}/', + 'template' => 'lib/tpl/{$name}/', + ); + + /** + * Format package name. + * + * For package type dokuwiki-plugin, cut off a trailing '-plugin', + * or leading dokuwiki_ if present. + * + * For package type dokuwiki-template, cut off a trailing '-template' if present. + * + */ + public function inflectPackageVars($vars) + { + + if ($vars['type'] === 'dokuwiki-plugin') { + return $this->inflectPluginVars($vars); + } + + if ($vars['type'] === 'dokuwiki-template') { + return $this->inflectTemplateVars($vars); + } + + return $vars; + } + + protected function inflectPluginVars($vars) + { + $vars['name'] = preg_replace('/-plugin$/', '', $vars['name']); + $vars['name'] = preg_replace('/^dokuwiki_?-?/', '', $vars['name']); + + return $vars; + } + + protected function inflectTemplateVars($vars) + { + $vars['name'] = preg_replace('/-template$/', '', $vars['name']); + $vars['name'] = preg_replace('/^dokuwiki_?-?/', '', $vars['name']); + + return $vars; + } + +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/DolibarrInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/DolibarrInstaller.php new file mode 100644 index 0000000..21f7e8e --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/DolibarrInstaller.php @@ -0,0 +1,16 @@ + + */ +class DolibarrInstaller extends BaseInstaller +{ + //TODO: Add support for scripts and themes + protected $locations = array( + 'module' => 'htdocs/custom/{$name}/', + ); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/DrupalInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/DrupalInstaller.php new file mode 100644 index 0000000..1794131 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/DrupalInstaller.php @@ -0,0 +1,14 @@ + 'core/', + 'module' => 'modules/{$name}/', + 'theme' => 'themes/{$name}/', + 'library' => 'libraries/{$name}/', + 'profile' => 'profiles/{$name}/', + 'drush' => 'drush/{$name}/', + ); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/ElggInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/ElggInstaller.php new file mode 100644 index 0000000..c0bb609 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/ElggInstaller.php @@ -0,0 +1,9 @@ + 'mod/{$name}/', + ); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/FuelInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/FuelInstaller.php new file mode 100644 index 0000000..6eba2e3 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/FuelInstaller.php @@ -0,0 +1,11 @@ + 'fuel/app/modules/{$name}/', + 'package' => 'fuel/packages/{$name}/', + 'theme' => 'fuel/app/themes/{$name}/', + ); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/FuelphpInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/FuelphpInstaller.php new file mode 100644 index 0000000..29d980b --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/FuelphpInstaller.php @@ -0,0 +1,9 @@ + 'components/{$name}/', + ); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/GravInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/GravInstaller.php new file mode 100644 index 0000000..dbe63e0 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/GravInstaller.php @@ -0,0 +1,30 @@ + 'user/plugins/{$name}/', + 'theme' => 'user/themes/{$name}/', + ); + + /** + * Format package name + * + * @param array $vars + * + * @return array + */ + public function inflectPackageVars($vars) + { + $restrictedWords = implode('|', array_keys($this->locations)); + + $vars['name'] = strtolower($vars['name']); + $vars['name'] = preg_replace('/^(?:grav-)?(?:(?:'.$restrictedWords.')-)?(.*?)(?:-(?:'.$restrictedWords.'))?$/ui', + '$1', + $vars['name'] + ); + + return $vars; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/HuradInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/HuradInstaller.php new file mode 100644 index 0000000..8fe017f --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/HuradInstaller.php @@ -0,0 +1,25 @@ + 'plugins/{$name}/', + 'theme' => 'plugins/{$name}/', + ); + + /** + * Format package name to CamelCase + */ + public function inflectPackageVars($vars) + { + $nameParts = explode('/', $vars['name']); + foreach ($nameParts as &$value) { + $value = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $value)); + $value = str_replace(array('-', '_'), ' ', $value); + $value = str_replace(' ', '', ucwords($value)); + } + $vars['name'] = implode('/', $nameParts); + return $vars; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/Installer.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/Installer.php new file mode 100644 index 0000000..6d04c61 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/Installer.php @@ -0,0 +1,176 @@ + 'AimeosInstaller', + 'asgard' => 'AsgardInstaller', + 'agl' => 'AglInstaller', + 'annotatecms' => 'AnnotateCmsInstaller', + 'bitrix' => 'BitrixInstaller', + 'bonefish' => 'BonefishInstaller', + 'cakephp' => 'CakePHPInstaller', + 'chef' => 'ChefInstaller', + 'ccframework' => 'ClanCatsFrameworkInstaller', + 'codeigniter' => 'CodeIgniterInstaller', + 'concrete5' => 'Concrete5Installer', + 'craft' => 'CraftInstaller', + 'croogo' => 'CroogoInstaller', + 'dokuwiki' => 'DokuWikiInstaller', + 'dolibarr' => 'DolibarrInstaller', + 'drupal' => 'DrupalInstaller', + 'elgg' => 'ElggInstaller', + 'fuel' => 'FuelInstaller', + 'fuelphp' => 'FuelphpInstaller', + 'grav' => 'GravInstaller', + 'hurad' => 'HuradInstaller', + 'joomla' => 'JoomlaInstaller', + 'kirby' => 'KirbyInstaller', + 'kodicms' => 'KodiCMSInstaller', + 'kohana' => 'KohanaInstaller', + 'laravel' => 'LaravelInstaller', + 'lithium' => 'LithiumInstaller', + 'magento' => 'MagentoInstaller', + 'mako' => 'MakoInstaller', + 'mediawiki' => 'MediaWikiInstaller', + 'microweber' => 'MicroweberInstaller', + 'modulework' => 'MODULEWorkInstaller', + 'modxevo' => 'MODXEvoInstaller', + 'moodle' => 'MoodleInstaller', + 'october' => 'OctoberInstaller', + 'oxid' => 'OxidInstaller', + 'phpbb' => 'PhpBBInstaller', + 'pimcore' => 'PimcoreInstaller', + 'piwik' => 'PiwikInstaller', + 'ppi' => 'PPIInstaller', + 'puppet' => 'PuppetInstaller', + 'redaxo' => 'RedaxoInstaller', + 'roundcube' => 'RoundcubeInstaller', + 'shopware' => 'ShopwareInstaller', + 'silverstripe' => 'SilverStripeInstaller', + 'smf' => 'SMFInstaller', + 'symfony1' => 'Symfony1Installer', + 'thelia' => 'TheliaInstaller', + 'tusk' => 'TuskInstaller', + 'typo3-cms' => 'TYPO3CmsInstaller', + 'typo3-flow' => 'TYPO3FlowInstaller', + 'whmcs' => 'WHMCSInstaller', + 'wolfcms' => 'WolfCMSInstaller', + 'wordpress' => 'WordPressInstaller', + 'zend' => 'ZendInstaller', + 'zikula' => 'ZikulaInstaller', + 'prestashop' => 'PrestashopInstaller' + ); + + /** + * {@inheritDoc} + */ + public function getInstallPath(PackageInterface $package) + { + $type = $package->getType(); + $frameworkType = $this->findFrameworkType($type); + + if ($frameworkType === false) { + throw new \InvalidArgumentException( + 'Sorry the package type of this package is not yet supported.' + ); + } + + $class = 'Composer\\Installers\\' . $this->supportedTypes[$frameworkType]; + $installer = new $class($package, $this->composer, $this->getIO()); + + return $installer->getInstallPath($package, $frameworkType); + } + + public function uninstall(InstalledRepositoryInterface $repo, PackageInterface $package) + { + if (!$repo->hasPackage($package)) { + throw new \InvalidArgumentException('Package is not installed: '.$package); + } + + $repo->removePackage($package); + + $installPath = $this->getInstallPath($package); + $this->io->write(sprintf('Deleting %s - %s', $installPath, $this->filesystem->removeDirectory($installPath) ? 'deleted' : 'not deleted')); + } + + /** + * {@inheritDoc} + */ + public function supports($packageType) + { + $frameworkType = $this->findFrameworkType($packageType); + + if ($frameworkType === false) { + return false; + } + + $locationPattern = $this->getLocationPattern($frameworkType); + + return preg_match('#' . $frameworkType . '-' . $locationPattern . '#', $packageType, $matches) === 1; + } + + /** + * Finds a supported framework type if it exists and returns it + * + * @param string $type + * @return string + */ + protected function findFrameworkType($type) + { + $frameworkType = false; + + krsort($this->supportedTypes); + + foreach ($this->supportedTypes as $key => $val) { + if ($key === substr($type, 0, strlen($key))) { + $frameworkType = substr($type, 0, strlen($key)); + break; + } + } + + return $frameworkType; + } + + /** + * Get the second part of the regular expression to check for support of a + * package type + * + * @param string $frameworkType + * @return string + */ + protected function getLocationPattern($frameworkType) + { + $pattern = false; + if (!empty($this->supportedTypes[$frameworkType])) { + $frameworkClass = 'Composer\\Installers\\' . $this->supportedTypes[$frameworkType]; + /** @var BaseInstaller $framework */ + $framework = new $frameworkClass(null, $this->composer, $this->getIO()); + $locations = array_keys($framework->getLocations()); + $pattern = $locations ? '(' . implode('|', $locations) . ')' : false; + } + + return $pattern ? : '(\w+)'; + } + + /** + * Get I/O object + * + * @return IOInterface + */ + private function getIO() + { + return $this->io; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/JoomlaInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/JoomlaInstaller.php new file mode 100644 index 0000000..9ee7759 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/JoomlaInstaller.php @@ -0,0 +1,15 @@ + 'components/{$name}/', + 'module' => 'modules/{$name}/', + 'template' => 'templates/{$name}/', + 'plugin' => 'plugins/{$name}/', + 'library' => 'libraries/{$name}/', + ); + + // TODO: Add inflector for mod_ and com_ names +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/KirbyInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/KirbyInstaller.php new file mode 100644 index 0000000..ae7ba8a --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/KirbyInstaller.php @@ -0,0 +1,9 @@ + 'site/plugins/{$name}/', + ); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/KodiCMSInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/KodiCMSInstaller.php new file mode 100644 index 0000000..7143e23 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/KodiCMSInstaller.php @@ -0,0 +1,10 @@ + 'cms/plugins/{$name}/', + 'media' => 'cms/media/vendor/{$name}/' + ); +} \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/KohanaInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/KohanaInstaller.php new file mode 100644 index 0000000..dcd6d26 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/KohanaInstaller.php @@ -0,0 +1,9 @@ + 'modules/{$name}/', + ); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/LaravelInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/LaravelInstaller.php new file mode 100644 index 0000000..be4d53a --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/LaravelInstaller.php @@ -0,0 +1,9 @@ + 'libraries/{$name}/', + ); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/LithiumInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/LithiumInstaller.php new file mode 100644 index 0000000..47bbd4c --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/LithiumInstaller.php @@ -0,0 +1,10 @@ + 'libraries/{$name}/', + 'source' => 'libraries/_source/{$name}/', + ); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php new file mode 100644 index 0000000..9c2e9fb --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php @@ -0,0 +1,9 @@ + 'modules/{$name}/', + ); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/MODXEvoInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/MODXEvoInstaller.php new file mode 100644 index 0000000..5a66460 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/MODXEvoInstaller.php @@ -0,0 +1,16 @@ + 'assets/snippets/{$name}/', + 'plugin' => 'assets/plugins/{$name}/', + 'module' => 'assets/modules/{$name}/', + 'template' => 'assets/templates/{$name}/', + 'lib' => 'assets/lib/{$name}/' + ); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/MagentoInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/MagentoInstaller.php new file mode 100644 index 0000000..cf18e94 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/MagentoInstaller.php @@ -0,0 +1,11 @@ + 'app/design/frontend/{$name}/', + 'skin' => 'skin/frontend/default/{$name}/', + 'library' => 'lib/{$name}/', + ); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/MakoInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/MakoInstaller.php new file mode 100644 index 0000000..ca3cfac --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/MakoInstaller.php @@ -0,0 +1,9 @@ + 'app/packages/{$name}/', + ); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/MediaWikiInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/MediaWikiInstaller.php new file mode 100644 index 0000000..01008c6 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/MediaWikiInstaller.php @@ -0,0 +1,50 @@ + 'extensions/{$name}/', + 'skin' => 'skins/{$name}/', + ); + + /** + * Format package name. + * + * For package type mediawiki-extension, cut off a trailing '-extension' if present and transform + * to CamelCase keeping existing uppercase chars. + * + * For package type mediawiki-skin, cut off a trailing '-skin' if present. + * + */ + public function inflectPackageVars($vars) + { + + if ($vars['type'] === 'mediawiki-extension') { + return $this->inflectExtensionVars($vars); + } + + if ($vars['type'] === 'mediawiki-skin') { + return $this->inflectSkinVars($vars); + } + + return $vars; + } + + protected function inflectExtensionVars($vars) + { + $vars['name'] = preg_replace('/-extension$/', '', $vars['name']); + $vars['name'] = str_replace('-', ' ', $vars['name']); + $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); + + return $vars; + } + + protected function inflectSkinVars($vars) + { + $vars['name'] = preg_replace('/-skin$/', '', $vars['name']); + + return $vars; + } + +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/MicroweberInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/MicroweberInstaller.php new file mode 100644 index 0000000..4bbbec8 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/MicroweberInstaller.php @@ -0,0 +1,111 @@ + 'userfiles/modules/{$name}/', + 'module-skin' => 'userfiles/modules/{$name}/templates/', + 'template' => 'userfiles/templates/{$name}/', + 'element' => 'userfiles/elements/{$name}/', + 'vendor' => 'vendor/{$name}/', + 'components' => 'components/{$name}/' + ); + + /** + * Format package name. + * + * For package type microweber-module, cut off a trailing '-module' if present + * + * For package type microweber-template, cut off a trailing '-template' if present. + * + */ + public function inflectPackageVars($vars) + { + if ($vars['type'] === 'microweber-template') { + return $this->inflectTemplateVars($vars); + } + if ($vars['type'] === 'microweber-templates') { + return $this->inflectTemplatesVars($vars); + } + if ($vars['type'] === 'microweber-core') { + return $this->inflectCoreVars($vars); + } + if ($vars['type'] === 'microweber-adapter') { + return $this->inflectCoreVars($vars); + } + if ($vars['type'] === 'microweber-module') { + return $this->inflectModuleVars($vars); + } + if ($vars['type'] === 'microweber-modules') { + return $this->inflectModulesVars($vars); + } + if ($vars['type'] === 'microweber-skin') { + return $this->inflectSkinVars($vars); + } + if ($vars['type'] === 'microweber-element' or $vars['type'] === 'microweber-elements') { + return $this->inflectElementVars($vars); + } + + return $vars; + } + + protected function inflectTemplateVars($vars) + { + $vars['name'] = preg_replace('/-template$/', '', $vars['name']); + $vars['name'] = preg_replace('/template-$/', '', $vars['name']); + + return $vars; + } + + protected function inflectTemplatesVars($vars) + { + $vars['name'] = preg_replace('/-templates$/', '', $vars['name']); + $vars['name'] = preg_replace('/templates-$/', '', $vars['name']); + + return $vars; + } + + protected function inflectCoreVars($vars) + { + $vars['name'] = preg_replace('/-providers$/', '', $vars['name']); + $vars['name'] = preg_replace('/-provider$/', '', $vars['name']); + $vars['name'] = preg_replace('/-adapter$/', '', $vars['name']); + + return $vars; + } + + protected function inflectModuleVars($vars) + { + $vars['name'] = preg_replace('/-module$/', '', $vars['name']); + $vars['name'] = preg_replace('/module-$/', '', $vars['name']); + + return $vars; + } + + protected function inflectModulesVars($vars) + { + $vars['name'] = preg_replace('/-modules$/', '', $vars['name']); + $vars['name'] = preg_replace('/modules-$/', '', $vars['name']); + + return $vars; + } + + protected function inflectSkinVars($vars) + { + $vars['name'] = preg_replace('/-skin$/', '', $vars['name']); + $vars['name'] = preg_replace('/skin-$/', '', $vars['name']); + + return $vars; + } + + protected function inflectElementVars($vars) + { + $vars['name'] = preg_replace('/-elements$/', '', $vars['name']); + $vars['name'] = preg_replace('/elements-$/', '', $vars['name']); + $vars['name'] = preg_replace('/-element$/', '', $vars['name']); + $vars['name'] = preg_replace('/element-$/', '', $vars['name']); + + return $vars; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php new file mode 100644 index 0000000..3cdda6c --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php @@ -0,0 +1,56 @@ + 'mod/{$name}/', + 'admin_report' => 'admin/report/{$name}/', + 'atto' => 'lib/editor/atto/plugins/{$name}/', + 'tool' => 'admin/tool/{$name}/', + 'assignment' => 'mod/assignment/type/{$name}/', + 'assignsubmission' => 'mod/assign/submission/{$name}/', + 'assignfeedback' => 'mod/assign/feedback/{$name}/', + 'auth' => 'auth/{$name}/', + 'availability' => 'availability/condition/{$name}/', + 'block' => 'blocks/{$name}/', + 'booktool' => 'mod/book/tool/{$name}/', + 'cachestore' => 'cache/stores/{$name}/', + 'cachelock' => 'cache/locks/{$name}/', + 'calendartype' => 'calendar/type/{$name}/', + 'format' => 'course/format/{$name}/', + 'coursereport' => 'course/report/{$name}/', + 'datafield' => 'mod/data/field/{$name}/', + 'datapreset' => 'mod/data/preset/{$name}/', + 'editor' => 'lib/editor/{$name}/', + 'enrol' => 'enrol/{$name}/', + 'filter' => 'filter/{$name}/', + 'gradeexport' => 'grade/export/{$name}/', + 'gradeimport' => 'grade/import/{$name}/', + 'gradereport' => 'grade/report/{$name}/', + 'gradingform' => 'grade/grading/form/{$name}/', + 'local' => 'local/{$name}/', + 'logstore' => 'admin/tool/log/store/{$name}/', + 'ltisource' => 'mod/lti/source/{$name}/', + 'ltiservice' => 'mod/lti/service/{$name}/', + 'message' => 'message/output/{$name}/', + 'mnetservice' => 'mnet/service/{$name}/', + 'plagiarism' => 'plagiarism/{$name}/', + 'portfolio' => 'portfolio/{$name}/', + 'qbehaviour' => 'question/behaviour/{$name}/', + 'qformat' => 'question/format/{$name}/', + 'qtype' => 'question/type/{$name}/', + 'quizaccess' => 'mod/quiz/accessrule/{$name}/', + 'quiz' => 'mod/quiz/report/{$name}/', + 'report' => 'report/{$name}/', + 'repository' => 'repository/{$name}/', + 'scormreport' => 'mod/scorm/report/{$name}/', + 'theme' => 'theme/{$name}/', + 'tinymce' => 'lib/editor/tinymce/plugins/{$name}/', + 'profilefield' => 'user/profile/field/{$name}/', + 'webservice' => 'webservice/{$name}/', + 'workshopallocation' => 'mod/workshop/allocation/{$name}/', + 'workshopeval' => 'mod/workshop/eval/{$name}/', + 'workshopform' => 'mod/workshop/form/{$name}/' + ); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php new file mode 100644 index 0000000..6bf53fd --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php @@ -0,0 +1,46 @@ + 'modules/{$name}/', + 'plugin' => 'plugins/{$vendor}/{$name}/', + 'theme' => 'themes/{$name}/' + ); + + /** + * Format package name. + * + * For package type october-plugin, cut off a trailing '-plugin' if present. + * + * For package type october-theme, cut off a trailing '-theme' if present. + * + */ + public function inflectPackageVars($vars) + { + if ($vars['type'] === 'october-plugin') { + return $this->inflectPluginVars($vars); + } + + if ($vars['type'] === 'october-theme') { + return $this->inflectThemeVars($vars); + } + + return $vars; + } + + protected function inflectPluginVars($vars) + { + $vars['name'] = preg_replace('/-plugin$/', '', $vars['name']); + + return $vars; + } + + protected function inflectThemeVars($vars) + { + $vars['name'] = preg_replace('/-theme$/', '', $vars['name']); + + return $vars; + } +} \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/OxidInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/OxidInstaller.php new file mode 100644 index 0000000..22fb56a --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/OxidInstaller.php @@ -0,0 +1,11 @@ + 'modules/{$name}/', + 'theme' => 'application/views/{$name}/', + 'out' => 'out/{$name}/', + ); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/PPIInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/PPIInstaller.php new file mode 100644 index 0000000..170136f --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/PPIInstaller.php @@ -0,0 +1,9 @@ + 'modules/{$name}/', + ); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/PhpBBInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/PhpBBInstaller.php new file mode 100644 index 0000000..deb2b77 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/PhpBBInstaller.php @@ -0,0 +1,11 @@ + 'ext/{$vendor}/{$name}/', + 'language' => 'language/{$name}/', + 'style' => 'styles/{$name}/', + ); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/PimcoreInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/PimcoreInstaller.php new file mode 100644 index 0000000..4781fa6 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/PimcoreInstaller.php @@ -0,0 +1,21 @@ + 'plugins/{$name}/', + ); + + /** + * Format package name to CamelCase + */ + public function inflectPackageVars($vars) + { + $vars['name'] = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name'])); + $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']); + $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); + + return $vars; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/PiwikInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/PiwikInstaller.php new file mode 100644 index 0000000..c17f457 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/PiwikInstaller.php @@ -0,0 +1,32 @@ + 'plugins/{$name}/', + ); + + /** + * Format package name to CamelCase + * @param array $vars + * + * @return array + */ + public function inflectPackageVars($vars) + { + $vars['name'] = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name'])); + $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']); + $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); + + return $vars; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/Plugin.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/Plugin.php new file mode 100644 index 0000000..5eb04af --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/Plugin.php @@ -0,0 +1,17 @@ +getInstallationManager()->addInstaller($installer); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/PrestashopInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/PrestashopInstaller.php new file mode 100644 index 0000000..4c8421e --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/PrestashopInstaller.php @@ -0,0 +1,10 @@ + 'modules/{$name}/', + 'theme' => 'themes/{$name}/', + ); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/PuppetInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/PuppetInstaller.php new file mode 100644 index 0000000..77cc3dd --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/PuppetInstaller.php @@ -0,0 +1,11 @@ + 'modules/{$name}/', + ); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/RedaxoInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/RedaxoInstaller.php new file mode 100644 index 0000000..0954457 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/RedaxoInstaller.php @@ -0,0 +1,10 @@ + 'redaxo/include/addons/{$name}/', + 'bestyle-plugin' => 'redaxo/include/addons/be_style/plugins/{$name}/' + ); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/RoundcubeInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/RoundcubeInstaller.php new file mode 100644 index 0000000..d8d795b --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/RoundcubeInstaller.php @@ -0,0 +1,22 @@ + 'plugins/{$name}/', + ); + + /** + * Lowercase name and changes the name to a underscores + * + * @param array $vars + * @return array + */ + public function inflectPackageVars($vars) + { + $vars['name'] = strtolower(str_replace('-', '_', $vars['name'])); + + return $vars; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/SMFInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/SMFInstaller.php new file mode 100644 index 0000000..1acd3b1 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/SMFInstaller.php @@ -0,0 +1,10 @@ + 'Sources/{$name}/', + 'theme' => 'Themes/{$name}/', + ); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/ShopwareInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/ShopwareInstaller.php new file mode 100644 index 0000000..673f1fc --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/ShopwareInstaller.php @@ -0,0 +1,58 @@ + 'engine/Shopware/Plugins/Local/Backend/{$name}/', + 'core-plugin' => 'engine/Shopware/Plugins/Local/Core/{$name}/', + 'frontend-plugin' => 'engine/Shopware/Plugins/Local/Frontend/{$name}/', + 'theme' => 'templates/{$name}/' + ); + + /** + * Transforms the names + * @param array $vars + * @return array + */ + public function inflectPackageVars($vars) + { + if ($vars['type'] === 'shopware-theme') { + return $this->correctThemeName($vars); + } else { + return $this->correctPluginName($vars); + } + } + + /** + * Changes the name to a camelcased combination of vendor and name + * @param array $vars + * @return array + */ + private function correctPluginName($vars) + { + $camelCasedName = preg_replace_callback('/(-[a-z])/', function ($matches) { + return strtoupper($matches[0][1]); + }, $vars['name']); + + $vars['name'] = ucfirst($vars['vendor']) . ucfirst($camelCasedName); + + return $vars; + } + + /** + * Changes the name to a underscore separated name + * @param array $vars + * @return array + */ + private function correctThemeName($vars) + { + $vars['name'] = str_replace('-', '_', $vars['name']); + + return $vars; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/SilverStripeInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/SilverStripeInstaller.php new file mode 100644 index 0000000..17ca543 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/SilverStripeInstaller.php @@ -0,0 +1,36 @@ + '{$name}/', + 'theme' => 'themes/{$name}/', + ); + + /** + * Return the install path based on package type. + * + * Relies on built-in BaseInstaller behaviour with one exception: silverstripe/framework + * must be installed to 'sapphire' and not 'framework' if the version is <3.0.0 + * + * @param PackageInterface $package + * @param string $frameworkType + * @return string + */ + public function getInstallPath(PackageInterface $package, $frameworkType = '') + { + if ( + $package->getName() == 'silverstripe/framework' + && preg_match('/^\d+\.\d+\.\d+/', $package->getVersion()) + && version_compare($package->getVersion(), '2.999.999') < 0 + ) { + return $this->templatePath($this->locations['module'], array('name' => 'sapphire')); + } else { + return parent::getInstallPath($package, $frameworkType); + } + + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/Symfony1Installer.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/Symfony1Installer.php new file mode 100644 index 0000000..1675c4f --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/Symfony1Installer.php @@ -0,0 +1,26 @@ + + */ +class Symfony1Installer extends BaseInstaller +{ + protected $locations = array( + 'plugin' => 'plugins/{$name}/', + ); + + /** + * Format package name to CamelCase + */ + public function inflectPackageVars($vars) + { + $vars['name'] = preg_replace_callback('/(-[a-z])/', function ($matches) { + return strtoupper($matches[0][1]); + }, $vars['name']); + + return $vars; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php new file mode 100644 index 0000000..8220b40 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php @@ -0,0 +1,14 @@ + + */ +class TYPO3CmsInstaller extends BaseInstaller +{ + protected $locations = array( + 'extension' => 'typo3conf/ext/{$name}/', + ); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php new file mode 100644 index 0000000..42572f4 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php @@ -0,0 +1,38 @@ + 'Packages/Application/{$name}/', + 'framework' => 'Packages/Framework/{$name}/', + 'plugin' => 'Packages/Plugins/{$name}/', + 'site' => 'Packages/Sites/{$name}/', + 'boilerplate' => 'Packages/Boilerplates/{$name}/', + 'build' => 'Build/{$name}/', + ); + + /** + * Modify the package name to be a TYPO3 Flow style key. + * + * @param array $vars + * @return array + */ + public function inflectPackageVars($vars) + { + $autoload = $this->package->getAutoload(); + if (isset($autoload['psr-0']) && is_array($autoload['psr-0'])) { + $namespace = key($autoload['psr-0']); + $vars['name'] = str_replace('\\', '.', $namespace); + } + if (isset($autoload['psr-4']) && is_array($autoload['psr-4'])) { + $namespace = key($autoload['psr-4']); + $vars['name'] = rtrim(str_replace('\\', '.', $namespace), '.'); + } + + return $vars; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/TheliaInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/TheliaInstaller.php new file mode 100644 index 0000000..158af52 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/TheliaInstaller.php @@ -0,0 +1,12 @@ + 'local/modules/{$name}/', + 'frontoffice-template' => 'templates/frontOffice/{$name}/', + 'backoffice-template' => 'templates/backOffice/{$name}/', + 'email-template' => 'templates/email/{$name}/', + ); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/TuskInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/TuskInstaller.php new file mode 100644 index 0000000..7c0113b --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/TuskInstaller.php @@ -0,0 +1,14 @@ + + */ + class TuskInstaller extends BaseInstaller + { + protected $locations = array( + 'task' => '.tusk/tasks/{$name}/', + 'command' => '.tusk/commands/{$name}/', + 'asset' => 'assets/tusk/{$name}/', + ); + } diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/WHMCSInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/WHMCSInstaller.php new file mode 100644 index 0000000..2cbb4a4 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/WHMCSInstaller.php @@ -0,0 +1,10 @@ + 'modules/gateways/{$name}/', + ); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/WolfCMSInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/WolfCMSInstaller.php new file mode 100644 index 0000000..cb38788 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/WolfCMSInstaller.php @@ -0,0 +1,9 @@ + 'wolf/plugins/{$name}/', + ); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/WordPressInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/WordPressInstaller.php new file mode 100644 index 0000000..b03219c --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/WordPressInstaller.php @@ -0,0 +1,11 @@ + 'wp-content/plugins/{$name}/', + 'theme' => 'wp-content/themes/{$name}/', + 'muplugin' => 'wp-content/mu-plugins/{$name}/', + ); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/ZendInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/ZendInstaller.php new file mode 100644 index 0000000..bde9bc8 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/ZendInstaller.php @@ -0,0 +1,11 @@ + 'library/{$name}/', + 'extra' => 'extras/library/{$name}/', + 'module' => 'module/{$name}/', + ); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/ZikulaInstaller.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/ZikulaInstaller.php new file mode 100644 index 0000000..56cdf5d --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/Composer/Installers/ZikulaInstaller.php @@ -0,0 +1,10 @@ + 'modules/{$vendor}-{$name}/', + 'theme' => 'themes/{$vendor}-{$name}/' + ); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/bootstrap.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/bootstrap.php new file mode 100644 index 0000000..0de276e --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/src/bootstrap.php @@ -0,0 +1,13 @@ +installer = new AsgardInstaller( + new Package('NyanCat', '4.2', '4.2'), + new Composer() + ); + } + + /** + * @dataProvider packageNameInflectionProvider + */ + public function testInflectPackageVars($type, $name, $expected) + { + $this->assertEquals( + $this->installer->inflectPackageVars(array('name' => $name, 'type' => $type)), + array('name' => $expected, 'type' => $type) + ); + } + + public function packageNameInflectionProvider() + { + return array( + array( + 'asgard-module', + 'asgard-module', + 'Asgard' + ), + array( + 'asgard-module', + 'blog', + 'Blog' + ), + // tests that exactly one '-theme' is cut off + array( + 'asgard-theme', + 'some-theme-theme', + 'Some-theme', + ), + // tests that names without '-theme' suffix stay valid + array( + 'asgard-theme', + 'someothertheme', + 'Someothertheme', + ), + ); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/tests/Composer/Installers/Test/CakePHPInstallerTest.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/tests/Composer/Installers/Test/CakePHPInstallerTest.php new file mode 100644 index 0000000..523e847 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/tests/Composer/Installers/Test/CakePHPInstallerTest.php @@ -0,0 +1,115 @@ +package = new Package('CamelCased', '1.0', '1.0'); + $this->io = $this->getMock('Composer\IO\PackageInterface'); + $this->composer = new Composer(); + $this->composer->setConfig(new Config(false)); + } + + /** + * testInflectPackageVars + * + * @return void + */ + public function testInflectPackageVars() + { + $installer = new CakePHPInstaller($this->package, $this->composer); + $result = $installer->inflectPackageVars(array('name' => 'CamelCased')); + $this->assertEquals($result, array('name' => 'CamelCased')); + + $installer = new CakePHPInstaller($this->package, $this->composer); + $result = $installer->inflectPackageVars(array('name' => 'with-dash')); + $this->assertEquals($result, array('name' => 'WithDash')); + + $installer = new CakePHPInstaller($this->package, $this->composer); + $result = $installer->inflectPackageVars(array('name' => 'with_underscore')); + $this->assertEquals($result, array('name' => 'WithUnderscore')); + + $installer = new CakePHPInstaller($this->package, $this->composer); + $result = $installer->inflectPackageVars(array('name' => 'cake/acl')); + $this->assertEquals($result, array('name' => 'Cake/Acl')); + + $installer = new CakePHPInstaller($this->package, $this->composer); + $result = $installer->inflectPackageVars(array('name' => 'cake/debug-kit')); + $this->assertEquals($result, array('name' => 'Cake/DebugKit')); + } + + /** + * Test getLocations returning appropriate values based on CakePHP version + * + */ + public function testGetLocations() { + $package = new RootPackage('CamelCased', '1.0', '1.0'); + $composer = $this->composer; + $rm = new RepositoryManager( + $this->getMock('Composer\IO\IOInterface'), + $this->getMock('Composer\Config') + ); + $composer->setRepositoryManager($rm); + $installer = new CakePHPInstaller($package, $composer); + + // 2.0 < cakephp < 3.0 + $this->setCakephpVersion($rm, '2.0.0'); + $result = $installer->getLocations(); + $this->assertContains('Plugin/', $result['plugin']); + + $this->setCakephpVersion($rm, '2.5.9'); + $result = $installer->getLocations(); + $this->assertContains('Plugin/', $result['plugin']); + + $this->setCakephpVersion($rm, '~2.5'); + $result = $installer->getLocations(); + $this->assertContains('Plugin/', $result['plugin']); + + // special handling for 2.x versions when 3.x is still in development + $this->setCakephpVersion($rm, 'dev-master'); + $result = $installer->getLocations(); + $this->assertContains('Plugin/', $result['plugin']); + + $this->setCakephpVersion($rm, '>=2.5'); + $result = $installer->getLocations(); + $this->assertContains('Plugin/', $result['plugin']); + + // cakephp >= 3.0 + $this->setCakephpVersion($rm, '3.0.*-dev'); + $result = $installer->getLocations(); + $this->assertContains('vendor/{$vendor}/{$name}/', $result['plugin']); + + $this->setCakephpVersion($rm, '~8.8'); + $result = $installer->getLocations(); + $this->assertContains('vendor/{$vendor}/{$name}/', $result['plugin']); + } + + protected function setCakephpVersion($rm, $version) { + $parser = new VersionParser(); + list(, $version) = explode(' ', $parser->parseConstraints($version)); + $installed = new InstalledArrayRepository(); + $package = new Package('cakephp/cakephp', $version, $version); + $installed->addPackage($package); + $rm->setLocalRepository($installed); + } + +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/tests/Composer/Installers/Test/CraftInstallerTest.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/tests/Composer/Installers/Test/CraftInstallerTest.php new file mode 100644 index 0000000..31ccecd --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/tests/Composer/Installers/Test/CraftInstallerTest.php @@ -0,0 +1,83 @@ +installer = new CraftInstaller(); + } + + /** + * @param string $packageName + * @param string $expectedName + * + * @covers ::inflectPackageVars + * + * @dataProvider provideExpectedInflectionResults + */ + final public function testInflectPackageVars($packageName, $expectedName) + { + $installer = $this->installer; + + $vars = array('name' => $packageName); + $expected = array('name' => $expectedName); + + $actual = $installer->inflectPackageVars($vars); + + $this->assertEquals($actual, $expected); + } + + /** + * Provides various names for packages and the expected result after inflection + * + * @return array + */ + final public function provideExpectedInflectionResults() + { + return array( + // lowercase + array('foo', 'foo'), + array('craftfoo', 'craftfoo'), + array('fooplugin', 'fooplugin'), + array('craftfooplugin', 'craftfooplugin'), + // lowercase - dash + array('craft-foo', 'foo'), + array('foo-plugin', 'foo'), + array('craft-foo-plugin', 'foo'), + // lowercase - underscore + array('craft_foo', 'craft_foo'), + array('foo_plugin', 'foo_plugin'), + array('craft_foo_plugin', 'craft_foo_plugin'), + // CamelCase + array('Foo', 'Foo'), + array('CraftFoo', 'CraftFoo'), + array('FooPlugin', 'FooPlugin'), + array('CraftFooPlugin', 'CraftFooPlugin'), + // CamelCase - Dash + array('Craft-Foo', 'Foo'), + array('Foo-Plugin', 'Foo'), + array('Craft-Foo-Plugin', 'Foo'), + // CamelCase - underscore + array('Craft_Foo', 'Craft_Foo'), + array('Foo_Plugin', 'Foo_Plugin'), + array('Craft_Foo_Plugin', 'Craft_Foo_Plugin'), + ); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/tests/Composer/Installers/Test/DokuWikiInstallerTest.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/tests/Composer/Installers/Test/DokuWikiInstallerTest.php new file mode 100644 index 0000000..9e385e6 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/tests/Composer/Installers/Test/DokuWikiInstallerTest.php @@ -0,0 +1,89 @@ +installer = new DokuWikiInstaller( + new Package('NyanCat', '4.2', '4.2'), + new Composer() + ); + } + + /** + * @dataProvider packageNameInflectionProvider + */ + public function testInflectPackageVars($type, $name, $expected) + { + $this->assertEquals( + $this->installer->inflectPackageVars(array('name' => $name, 'type'=>$type)), + array('name' => $expected, 'type'=>$type) + ); + } + + public function packageNameInflectionProvider() + { + return array( + array( + 'dokuwiki-plugin', + 'dokuwiki-test-plugin', + 'test', + ), + array( + 'dokuwiki-plugin', + 'test-plugin', + 'test', + ), + array( + 'dokuwiki-plugin', + 'dokuwiki_test', + 'test', + ), + array( + 'dokuwiki-plugin', + 'test', + 'test', + ), + array( + 'dokuwiki-plugin', + 'test-template', + 'test-template', + ), + array( + 'dokuwiki-template', + 'dokuwiki-test-template', + 'test', + ), + array( + 'dokuwiki-template', + 'test-template', + 'test', + ), + array( + 'dokuwiki-template', + 'dokuwiki_test', + 'test', + ), + array( + 'dokuwiki-template', + 'test', + 'test', + ), + array( + 'dokuwiki-template', + 'test-plugin', + 'test-plugin', + ), + ); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/tests/Composer/Installers/Test/GravInstallerTest.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/tests/Composer/Installers/Test/GravInstallerTest.php new file mode 100644 index 0000000..b757799 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/tests/Composer/Installers/Test/GravInstallerTest.php @@ -0,0 +1,63 @@ +composer = new Composer(); + } + + public function testInflectPackageVars() + { + $package = $this->getPackage('vendor/name', '0.0.0'); + $installer = new GravInstaller($package, $this->composer); + $packageVars = $this->getPackageVars($package); + + $result = $installer->inflectPackageVars(array_merge($packageVars, array('name' => 'test'))); + $this->assertEquals('test', $result['name']); + + foreach ($installer->getLocations() as $name => $location) { + $result = $installer->inflectPackageVars(array_merge($packageVars, array('name' => "$name-test"))); + $this->assertEquals('test', $result['name']); + $result = $installer->inflectPackageVars(array_merge($packageVars, array('name' => "test-$name"))); + $this->assertEquals('test', $result['name']); + $result = $installer->inflectPackageVars(array_merge($packageVars, array('name' => "$name-test-test"))); + $this->assertEquals('test-test', $result['name']); + $result = $installer->inflectPackageVars(array_merge($packageVars, array('name' => "test-test-$name"))); + $this->assertEquals('test-test', $result['name']); + $result = $installer->inflectPackageVars(array_merge($packageVars, array('name' => "grav-$name-test"))); + $this->assertEquals('test', $result['name']); + $result = $installer->inflectPackageVars(array_merge($packageVars, array('name' => "grav-test-$name"))); + $this->assertEquals('test', $result['name']); + $result = $installer->inflectPackageVars(array_merge($packageVars, array('name' => "grav-$name-test-test"))); + $this->assertEquals('test-test', $result['name']); + $result = $installer->inflectPackageVars(array_merge($packageVars, array('name' => "grav-test-test-$name"))); + $this->assertEquals('test-test', $result['name']); + } + } + + /** + * @param $package \Composer\Package\PackageInterface + */ + public function getPackageVars($package) + { + $type = $package->getType(); + + $prettyName = $package->getPrettyName(); + if (strpos($prettyName, '/') !== false) { + list($vendor, $name) = explode('/', $prettyName); + } else { + $vendor = ''; + $name = $prettyName; + } + + return compact('name', 'vendor', 'type'); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/tests/Composer/Installers/Test/InstallerTest.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/tests/Composer/Installers/Test/InstallerTest.php new file mode 100644 index 0000000..610b8e6 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/tests/Composer/Installers/Test/InstallerTest.php @@ -0,0 +1,428 @@ +fs = new Filesystem; + + $this->composer = new Composer(); + $this->config = new Config(); + $this->composer->setConfig($this->config); + + $this->vendorDir = realpath(sys_get_temp_dir()) . DIRECTORY_SEPARATOR . 'baton-test-vendor'; + $this->ensureDirectoryExistsAndClear($this->vendorDir); + + $this->binDir = realpath(sys_get_temp_dir()) . DIRECTORY_SEPARATOR . 'baton-test-bin'; + $this->ensureDirectoryExistsAndClear($this->binDir); + + $this->config->merge(array( + 'config' => array( + 'vendor-dir' => $this->vendorDir, + 'bin-dir' => $this->binDir, + ), + )); + + $this->dm = $this->getMockBuilder('Composer\Downloader\DownloadManager') + ->disableOriginalConstructor() + ->getMock(); + $this->composer->setDownloadManager($this->dm); + + $this->repository = $this->getMock('Composer\Repository\InstalledRepositoryInterface'); + $this->io = $this->getMock('Composer\IO\IOInterface'); + } + + /** + * tearDown + * + * @return void + */ + public function tearDown() + { + $this->fs->removeDirectory($this->vendorDir); + $this->fs->removeDirectory($this->binDir); + } + + /** + * testSupports + * + * @return void + * + * @dataProvider dataForTestSupport + */ + public function testSupports($type, $expected) + { + $installer = new Installer($this->io, $this->composer); + $this->assertSame($expected, $installer->supports($type), sprintf('Failed to show support for %s', $type)); + } + + /** + * dataForTestSupport + */ + public function dataForTestSupport() + { + return array( + array('agl-module', true), + array('aimeos-extension', true), + array('annotatecms-module', true), + array('annotatecms-component', true), + array('annotatecms-service', true), + array('bitrix-module', true), + array('bitrix-component', true), + array('bitrix-theme', true), + array('bonefish-package', true), + array('cakephp', false), + array('cakephp-', false), + array('cakephp-app', false), + array('cakephp-plugin', true), + array('chef-cookbook', true), + array('chef-role', true), + array('codeigniter-app', false), + array('codeigniter-library', true), + array('codeigniter-third-party', true), + array('codeigniter-module', true), + array('concrete5-block', true), + array('concrete5-package', true), + array('concrete5-theme', true), + array('concrete5-update', true), + array('craft-plugin', true), + array('croogo-plugin', true), + array('croogo-theme', true), + array('dokuwiki-plugin', true), + array('dokuwiki-template', true), + array('drupal-module', true), + array('dolibarr-module', true), + array('elgg-plugin', true), + array('fuel-module', true), + array('fuel-package', true), + array('fuel-theme', true), + array('fuelphp-component', true), + array('hurad-plugin', true), + array('hurad-theme', true), + array('joomla-library', true), + array('kirby-plugin', true), + array('kohana-module', true), + array('laravel-library', true), + array('lithium-library', true), + array('magento-library', true), + array('mako-package', true), + array('modxevo-snippet', true), + array('modxevo-plugin', true), + array('modxevo-module', true), + array('modxevo-template', true), + array('modxevo-lib', true), + array('mediawiki-extension', true), + array('mediawiki-skin', true), + array('microweber-module', true), + array('modulework-module', true), + array('moodle-mod', true), + array('october-module', true), + array('october-plugin', true), + array('piwik-plugin', true), + array('phpbb-extension', true), + array('pimcore-plugin', true), + array('ppi-module', true), + array('prestashop-module', true), + array('prestashop-theme', true), + array('puppet-module', true), + array('redaxo-addon', true), + array('redaxo-bestyle-plugin', true), + array('roundcube-plugin', true), + array('shopware-backend-plugin', true), + array('shopware-core-plugin', true), + array('shopware-frontend-plugin', true), + array('shopware-theme', true), + array('silverstripe-module', true), + array('silverstripe-theme', true), + array('smf-module', true), + array('smf-theme', true), + array('symfony1-plugin', true), + array('thelia-module', true), + array('thelia-frontoffice-template', true), + array('thelia-backoffice-template', true), + array('thelia-email-template', true), + array('tusk-task', true), + array('tusk-asset', true), + array('typo3-flow-plugin', true), + array('typo3-cms-extension', true), + array('whmcs-gateway', true), + array('wolfcms-plugin', true), + array('wordpress-plugin', true), + array('wordpress-core', false), + array('zend-library', true), + array('zikula-module', true), + array('zikula-theme', true), + array('kodicms-plugin', true), + array('kodicms-media', true), + ); + } + + /** + * testInstallPath + * + * @dataProvider dataForTestInstallPath + */ + public function testInstallPath($type, $path, $name, $version = '1.0.0') + { + $installer = new Installer($this->io, $this->composer); + $package = new Package($name, $version, $version); + + $package->setType($type); + $result = $installer->getInstallPath($package); + $this->assertEquals($path, $result); + } + + /** + * dataFormTestInstallPath + */ + public function dataForTestInstallPath() + { + return array( + array('agl-module', 'More/MyTestPackage/', 'agl/my_test-package'), + array('aimeos-extension', 'ext/ai-test/', 'author/ai-test'), + array('annotatecms-module', 'addons/modules/my_module/', 'vysinsky/my_module'), + array('annotatecms-component', 'addons/components/my_component/', 'vysinsky/my_component'), + array('annotatecms-service', 'addons/services/my_service/', 'vysinsky/my_service'), + array('bitrix-module', 'bitrix/modules/my_module/', 'author/my_module'), + array('bitrix-component', 'bitrix/components/my_component/', 'author/my_component'), + array('bitrix-theme', 'bitrix/templates/my_theme/', 'author/my_theme'), + array('bonefish-package', 'Packages/bonefish/package/', 'bonefish/package'), + array('cakephp-plugin', 'Plugin/Ftp/', 'shama/ftp'), + array('chef-cookbook', 'Chef/mre/my_cookbook/', 'mre/my_cookbook'), + array('chef-role', 'Chef/roles/my_role/', 'mre/my_role'), + array('codeigniter-library', 'application/libraries/my_package/', 'shama/my_package'), + array('codeigniter-module', 'application/modules/my_package/', 'shama/my_package'), + array('concrete5-block', 'blocks/concrete5_block/', 'remo/concrete5_block'), + array('concrete5-package', 'packages/concrete5_package/', 'remo/concrete5_package'), + array('concrete5-theme', 'themes/concrete5_theme/', 'remo/concrete5_theme'), + array('concrete5-update', 'updates/concrete5/', 'concrete5/concrete5'), + array('craft-plugin', 'craft/plugins/my_plugin/', 'mdcpepper/my_plugin'), + array('croogo-plugin', 'Plugin/Sitemaps/', 'fahad19/sitemaps'), + array('croogo-theme', 'View/Themed/Readable/', 'rchavik/readable'), + array('dokuwiki-plugin', 'lib/plugins/someplugin/', 'author/someplugin'), + array('dokuwiki-template', 'lib/tpl/sometemplate/', 'author/sometemplate'), + array('dolibarr-module', 'htdocs/custom/my_module/', 'shama/my_module'), + array('drupal-module', 'modules/my_module/', 'shama/my_module'), + array('drupal-theme', 'themes/my_module/', 'shama/my_module'), + array('drupal-profile', 'profiles/my_module/', 'shama/my_module'), + array('drupal-drush', 'drush/my_module/', 'shama/my_module'), + array('elgg-plugin', 'mod/sample_plugin/', 'test/sample_plugin'), + array('fuel-module', 'fuel/app/modules/module/', 'fuel/module'), + array('fuel-package', 'fuel/packages/orm/', 'fuel/orm'), + array('fuel-theme', 'fuel/app/themes/theme/', 'fuel/theme'), + array('fuelphp-component', 'components/demo/', 'fuelphp/demo'), + array('hurad-plugin', 'plugins/Akismet/', 'atkrad/akismet'), + array('hurad-theme', 'plugins/Hurad2013/', 'atkrad/Hurad2013'), + array('joomla-plugin', 'plugins/my_plugin/', 'shama/my_plugin'), + array('kirby-plugin', 'site/plugins/my_plugin/', 'shama/my_plugin'), + array('kohana-module', 'modules/my_package/', 'shama/my_package'), + array('laravel-library', 'libraries/my_package/', 'shama/my_package'), + array('lithium-library', 'libraries/li3_test/', 'user/li3_test'), + array('magento-library', 'lib/foo/', 'test/foo'), + array('modxevo-snippet', 'assets/snippets/my_snippet/', 'shama/my_snippet'), + array('modxevo-plugin', 'assets/plugins/my_plugin/', 'shama/my_plugin'), + array('modxevo-module', 'assets/modules/my_module/', 'shama/my_module'), + array('modxevo-template', 'assets/templates/my_template/', 'shama/my_template'), + array('modxevo-lib', 'assets/lib/my_lib/', 'shama/my_lib'), + array('mako-package', 'app/packages/my_package/', 'shama/my_package'), + array('mediawiki-extension', 'extensions/APC/', 'author/APC'), + array('mediawiki-extension', 'extensions/APC/', 'author/APC-extension'), + array('mediawiki-extension', 'extensions/UploadWizard/', 'author/upload-wizard'), + array('mediawiki-extension', 'extensions/SyntaxHighlight_GeSHi/', 'author/syntax-highlight_GeSHi'), + array('mediawiki-skin', 'skins/someskin/', 'author/someskin-skin'), + array('mediawiki-skin', 'skins/someskin/', 'author/someskin'), + array('microweber-module', 'userfiles/modules/my-thing/', 'author/my-thing-module'), + array('modulework-module', 'modules/my_package/', 'shama/my_package'), + array('moodle-mod', 'mod/my_package/', 'shama/my_package'), + array('october-module', 'modules/my_plugin/', 'shama/my_plugin'), + array('october-plugin', 'plugins/shama/my_plugin/', 'shama/my_plugin'), + array('october-theme', 'themes/my_theme/', 'shama/my_theme'), + array('piwik-plugin', 'plugins/VisitSummary/', 'shama/visit-summary'), + array('prestashop-module', 'modules/a-module/', 'vendor/a-module'), + array('prestashop-theme', 'themes/a-theme/', 'vendor/a-theme'), + array('phpbb-extension', 'ext/test/foo/', 'test/foo'), + array('phpbb-style', 'styles/foo/', 'test/foo'), + array('phpbb-language', 'language/foo/', 'test/foo'), + array('pimcore-plugin', 'plugins/MyPlugin/', 'ubikz/my_plugin'), + array('ppi-module', 'modules/foo/', 'test/foo'), + array('puppet-module', 'modules/puppet-name/', 'puppet/puppet-name'), + array('redaxo-addon', 'redaxo/include/addons/my_plugin/', 'shama/my_plugin'), + array('redaxo-bestyle-plugin', 'redaxo/include/addons/be_style/plugins/my_plugin/', 'shama/my_plugin'), + array('roundcube-plugin', 'plugins/base/', 'test/base'), + array('roundcube-plugin', 'plugins/replace_dash/', 'test/replace-dash'), + array('shopware-backend-plugin', 'engine/Shopware/Plugins/Local/Backend/ShamaMyBackendPlugin/', 'shama/my-backend-plugin'), + array('shopware-core-plugin', 'engine/Shopware/Plugins/Local/Core/ShamaMyCorePlugin/', 'shama/my-core-plugin'), + array('shopware-frontend-plugin', 'engine/Shopware/Plugins/Local/Frontend/ShamaMyFrontendPlugin/', 'shama/my-frontend-plugin'), + array('shopware-theme', 'templates/my_theme/', 'shama/my-theme'), + array('silverstripe-module', 'my_module/', 'shama/my_module'), + array('silverstripe-module', 'sapphire/', 'silverstripe/framework', '2.4.0'), + array('silverstripe-module', 'framework/', 'silverstripe/framework', '3.0.0'), + array('silverstripe-module', 'framework/', 'silverstripe/framework', '3.0.0-rc1'), + array('silverstripe-module', 'framework/', 'silverstripe/framework', 'my/branch'), + array('silverstripe-theme', 'themes/my_theme/', 'shama/my_theme'), + array('smf-module', 'Sources/my_module/', 'shama/my_module'), + array('smf-theme', 'Themes/my_theme/', 'shama/my_theme'), + array('symfony1-plugin', 'plugins/sfShamaPlugin/', 'shama/sfShamaPlugin'), + array('symfony1-plugin', 'plugins/sfShamaPlugin/', 'shama/sf-shama-plugin'), + array('thelia-module', 'local/modules/my_module/', 'shama/my_module'), + array('thelia-frontoffice-template', 'templates/frontOffice/my_template_fo/', 'shama/my_template_fo'), + array('thelia-backoffice-template', 'templates/backOffice/my_template_bo/', 'shama/my_template_bo'), + array('thelia-email-template', 'templates/email/my_template_email/', 'shama/my_template_email'), + array('tusk-task', '.tusk/tasks/my_task/', 'shama/my_task'), + array('typo3-flow-package', 'Packages/Application/my_package/', 'shama/my_package'), + array('typo3-flow-build', 'Build/my_package/', 'shama/my_package'), + array('typo3-cms-extension', 'typo3conf/ext/my_extension/', 'shama/my_extension'), + array('whmcs-gateway', 'modules/gateways/gateway_name/', 'vendor/gateway_name'), + array('wolfcms-plugin', 'wolf/plugins/my_plugin/', 'shama/my_plugin'), + array('wordpress-plugin', 'wp-content/plugins/my_plugin/', 'shama/my_plugin'), + array('wordpress-muplugin', 'wp-content/mu-plugins/my_plugin/', 'shama/my_plugin'), + array('zend-extra', 'extras/library/zend_test/', 'shama/zend_test'), + array('zikula-module', 'modules/my-test_module/', 'my/test_module'), + array('zikula-theme', 'themes/my-test_theme/', 'my/test_theme'), + array('kodicms-media', 'cms/media/vendor/my_media/', 'shama/my_media'), + array('kodicms-plugin', 'cms/plugins/my_plugin/', 'shama/my_plugin'), + ); + } + + /** + * testGetCakePHPInstallPathException + * + * @return void + * + * @expectedException \InvalidArgumentException + */ + public function testGetCakePHPInstallPathException() + { + $installer = new Installer($this->io, $this->composer); + $package = new Package('shama/ftp', '1.0.0', '1.0.0'); + + $package->setType('cakephp-whoops'); + $result = $installer->getInstallPath($package); + } + + /** + * testCustomInstallPath + */ + public function testCustomInstallPath() + { + $installer = new Installer($this->io, $this->composer); + $package = new Package('shama/ftp', '1.0.0', '1.0.0'); + $package->setType('cakephp-plugin'); + $consumerPackage = new RootPackage('foo/bar', '1.0.0', '1.0.0'); + $this->composer->setPackage($consumerPackage); + $consumerPackage->setExtra(array( + 'installer-paths' => array( + 'my/custom/path/{$name}/' => array( + 'shama/ftp', + 'foo/bar', + ), + ), + )); + $result = $installer->getInstallPath($package); + $this->assertEquals('my/custom/path/Ftp/', $result); + } + + /** + * testCustomInstallerName + */ + public function testCustomInstallerName() + { + $installer = new Installer($this->io, $this->composer); + $package = new Package('shama/cakephp-ftp-plugin', '1.0.0', '1.0.0'); + $package->setType('cakephp-plugin'); + $package->setExtra(array( + 'installer-name' => 'FTP', + )); + $result = $installer->getInstallPath($package); + $this->assertEquals('Plugin/FTP/', $result); + } + + /** + * testCustomTypePath + */ + public function testCustomTypePath() + { + $installer = new Installer($this->io, $this->composer); + $package = new Package('slbmeh/my_plugin', '1.0.0', '1.0.0'); + $package->setType('wordpress-plugin'); + $consumerPackage = new RootPackage('foo/bar', '1.0.0', '1.0.0'); + $this->composer->setPackage($consumerPackage); + $consumerPackage->setExtra(array( + 'installer-paths' => array( + 'my/custom/path/{$name}/' => array( + 'type:wordpress-plugin' + ), + ), + )); + $result = $installer->getInstallPath($package); + $this->assertEquals('my/custom/path/my_plugin/', $result); + } + + /** + * testNoVendorName + */ + public function testNoVendorName() + { + $installer = new Installer($this->io, $this->composer); + $package = new Package('sfPhpunitPlugin', '1.0.0', '1.0.0'); + + $package->setType('symfony1-plugin'); + $result = $installer->getInstallPath($package); + $this->assertEquals('plugins/sfPhpunitPlugin/', $result); + } + + /** + * testTypo3Inflection + */ + public function testTypo3Inflection() + { + $installer = new Installer($this->io, $this->composer); + $package = new Package('typo3/fluid', '1.0.0', '1.0.0'); + + $package->setAutoload(array( + 'psr-0' => array( + 'TYPO3\\Fluid' => 'Classes', + ), + )); + + $package->setType('typo3-flow-package'); + $result = $installer->getInstallPath($package); + $this->assertEquals('Packages/Application/TYPO3.Fluid/', $result); + } + + public function testUninstallAndDeletePackageFromLocalRepo() + { + $package = new Package('foo', '1.0.0', '1.0.0'); + + $installer = $this->getMock('Composer\Installers\Installer', array('getInstallPath'), array($this->io, $this->composer)); + $installer->expects($this->once())->method('getInstallPath')->with($package)->will($this->returnValue(sys_get_temp_dir().'/foo')); + + $repo = $this->getMock('Composer\Repository\InstalledRepositoryInterface'); + $repo->expects($this->once())->method('hasPackage')->with($package)->will($this->returnValue(true)); + $repo->expects($this->once())->method('removePackage')->with($package); + + $installer->uninstall($repo, $package); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/tests/Composer/Installers/Test/MediaWikiInstallerTest.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/tests/Composer/Installers/Test/MediaWikiInstallerTest.php new file mode 100644 index 0000000..3675e18 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/tests/Composer/Installers/Test/MediaWikiInstallerTest.php @@ -0,0 +1,66 @@ +installer = new MediaWikiInstaller( + new Package('NyanCat', '4.2', '4.2'), + new Composer() + ); + } + + /** + * @dataProvider packageNameInflectionProvider + */ + public function testInflectPackageVars($type, $name, $expected) + { + $this->assertEquals( + $this->installer->inflectPackageVars(array('name' => $name, 'type'=>$type)), + array('name' => $expected, 'type'=>$type) + ); + } + + public function packageNameInflectionProvider() + { + return array( + array( + 'mediawiki-extension', + 'sub-page-list', + 'SubPageList', + ), + array( + 'mediawiki-extension', + 'sub-page-list-extension', + 'SubPageList', + ), + array( + 'mediawiki-extension', + 'semantic-mediawiki', + 'SemanticMediawiki', + ), + // tests that exactly one '-skin' is cut off, and that skins do not get ucwords treatment like extensions + array( + 'mediawiki-skin', + 'some-skin-skin', + 'some-skin', + ), + // tests that names without '-skin' suffix stay valid + array( + 'mediawiki-skin', + 'someotherskin', + 'someotherskin', + ), + ); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/tests/Composer/Installers/Test/OctoberInstallerTest.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/tests/Composer/Installers/Test/OctoberInstallerTest.php new file mode 100644 index 0000000..fd427cd --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/tests/Composer/Installers/Test/OctoberInstallerTest.php @@ -0,0 +1,66 @@ +installer = new OctoberInstaller( + new Package('NyanCat', '4.2', '4.2'), + new Composer() + ); + } + + /** + * @dataProvider packageNameInflectionProvider + */ + public function testInflectPackageVars($type, $name, $expected) + { + $this->assertEquals( + $this->installer->inflectPackageVars(array('name' => $name, 'type' => $type)), + array('name' => $expected, 'type' => $type) + ); + } + + public function packageNameInflectionProvider() + { + return array( + array( + 'october-plugin', + 'subpagelist', + 'subpagelist', + ), + array( + 'october-plugin', + 'subpagelist-plugin', + 'subpagelist', + ), + array( + 'october-plugin', + 'semanticoctober', + 'semanticoctober', + ), + // tests that exactly one '-theme' is cut off + array( + 'october-theme', + 'some-theme-theme', + 'some-theme', + ), + // tests that names without '-theme' suffix stay valid + array( + 'october-theme', + 'someothertheme', + 'someothertheme', + ), + ); + } +} \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/tests/Composer/Installers/Test/PimcoreInstallerTest.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/tests/Composer/Installers/Test/PimcoreInstallerTest.php new file mode 100644 index 0000000..ea79374 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/tests/Composer/Installers/Test/PimcoreInstallerTest.php @@ -0,0 +1,44 @@ +package = new Package('CamelCased', '1.0', '1.0'); + $this->io = $this->getMock('Composer\IO\PackageInterface'); + $this->composer = new Composer(); + } + + /** + * testInflectPackageVars + * + * @return void + */ + public function testInflectPackageVars() + { + $installer = new PimcoreInstaller($this->package, $this->composer); + $result = $installer->inflectPackageVars(array('name' => 'CamelCased')); + $this->assertEquals($result, array('name' => 'CamelCased')); + + $installer = new PimcoreInstaller($this->package, $this->composer); + $result = $installer->inflectPackageVars(array('name' => 'with-dash')); + $this->assertEquals($result, array('name' => 'WithDash')); + + $installer = new PimcoreInstaller($this->package, $this->composer); + $result = $installer->inflectPackageVars(array('name' => 'with_underscore')); + $this->assertEquals($result, array('name' => 'WithUnderscore')); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/tests/Composer/Installers/Test/PiwikInstallerTest.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/tests/Composer/Installers/Test/PiwikInstallerTest.php new file mode 100644 index 0000000..8d9ff3f --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/tests/Composer/Installers/Test/PiwikInstallerTest.php @@ -0,0 +1,63 @@ +package = new Package('VisitSummary', '1.0', '1.0'); + $this->io = $this->getMock('Composer\IO\PackageInterface'); + $this->composer = new Composer(); + } + + /** + * testInflectPackageVars + * + * @return void + */ + public function testInflectPackageVars() + { + $installer = new PiwikInstaller($this->package, $this->composer); + $result = $installer->inflectPackageVars(array('name' => 'VisitSummary')); + $this->assertEquals($result, array('name' => 'VisitSummary')); + + $installer = new PiwikInstaller($this->package, $this->composer); + $result = $installer->inflectPackageVars(array('name' => 'visit-summary')); + $this->assertEquals($result, array('name' => 'VisitSummary')); + + $installer = new PiwikInstaller($this->package, $this->composer); + $result = $installer->inflectPackageVars(array('name' => 'visit_summary')); + $this->assertEquals($result, array('name' => 'VisitSummary')); + } + +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/tests/Composer/Installers/Test/TestCase.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/tests/Composer/Installers/Test/TestCase.php new file mode 100644 index 0000000..6418a03 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/tests/Composer/Installers/Test/TestCase.php @@ -0,0 +1,64 @@ + + * Jordi Boggiano + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Composer\Installers\Test; + +use Composer\Package\Version\VersionParser; +use Composer\Package\Package; +use Composer\Package\AliasPackage; +use Composer\Package\LinkConstraint\VersionConstraint; +use Composer\Util\Filesystem; + +abstract class TestCase extends \PHPUnit_Framework_TestCase +{ + private static $parser; + + protected static function getVersionParser() + { + if (!self::$parser) { + self::$parser = new VersionParser(); + } + + return self::$parser; + } + + protected function getVersionConstraint($operator, $version) + { + return new VersionConstraint( + $operator, + self::getVersionParser()->normalize($version) + ); + } + + protected function getPackage($name, $version) + { + $normVersion = self::getVersionParser()->normalize($version); + + return new Package($name, $normVersion, $version); + } + + protected function getAliasPackage($package, $version) + { + $normVersion = self::getVersionParser()->normalize($version); + + return new AliasPackage($package, $normVersion, $version); + } + + protected function ensureDirectoryExistsAndClear($directory) + { + $fs = new Filesystem(); + if (is_dir($directory)) { + $fs->removeDirectory($directory); + } + mkdir($directory, 0777, true); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/composer/installers/tests/bootstrap.php b/wp-content/plugins/google-calendar-events/vendor/composer/installers/tests/bootstrap.php new file mode 100644 index 0000000..30c8fdc --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/composer/installers/tests/bootstrap.php @@ -0,0 +1,4 @@ +add('Composer\Installers\Test', __DIR__); diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/LICENSE.txt b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/LICENSE.txt new file mode 100644 index 0000000..baca86f --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/LICENSE.txt @@ -0,0 +1,20 @@ +The MIT License (MIT) + +Copyright (c) 2013 Emanuil Rusev, erusev.com + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/Parsedown.php b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/Parsedown.php new file mode 100644 index 0000000..c8c92a3 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/Parsedown.php @@ -0,0 +1,1528 @@ +DefinitionData = array(); + + # standardize line breaks + $text = str_replace(array("\r\n", "\r"), "\n", $text); + + # remove surrounding line breaks + $text = trim($text, "\n"); + + # split text into lines + $lines = explode("\n", $text); + + # iterate through lines to identify blocks + $markup = $this->lines($lines); + + # trim line breaks + $markup = trim($markup, "\n"); + + return $markup; + } + + # + # Setters + # + + function setBreaksEnabled($breaksEnabled) + { + $this->breaksEnabled = $breaksEnabled; + + return $this; + } + + protected $breaksEnabled; + + function setMarkupEscaped($markupEscaped) + { + $this->markupEscaped = $markupEscaped; + + return $this; + } + + protected $markupEscaped; + + function setUrlsLinked($urlsLinked) + { + $this->urlsLinked = $urlsLinked; + + return $this; + } + + protected $urlsLinked = true; + + # + # Lines + # + + protected $BlockTypes = array( + '#' => array('Header'), + '*' => array('Rule', 'List'), + '+' => array('List'), + '-' => array('SetextHeader', 'Table', 'Rule', 'List'), + '0' => array('List'), + '1' => array('List'), + '2' => array('List'), + '3' => array('List'), + '4' => array('List'), + '5' => array('List'), + '6' => array('List'), + '7' => array('List'), + '8' => array('List'), + '9' => array('List'), + ':' => array('Table'), + '<' => array('Comment', 'Markup'), + '=' => array('SetextHeader'), + '>' => array('Quote'), + '[' => array('Reference'), + '_' => array('Rule'), + '`' => array('FencedCode'), + '|' => array('Table'), + '~' => array('FencedCode'), + ); + + # ~ + + protected $unmarkedBlockTypes = array( + 'Code', + ); + + # + # Blocks + # + + private function lines(array $lines) + { + $CurrentBlock = null; + + foreach ($lines as $line) + { + if (chop($line) === '') + { + if (isset($CurrentBlock)) + { + $CurrentBlock['interrupted'] = true; + } + + continue; + } + + if (strpos($line, "\t") !== false) + { + $parts = explode("\t", $line); + + $line = $parts[0]; + + unset($parts[0]); + + foreach ($parts as $part) + { + $shortage = 4 - mb_strlen($line, 'utf-8') % 4; + + $line .= str_repeat(' ', $shortage); + $line .= $part; + } + } + + $indent = 0; + + while (isset($line[$indent]) and $line[$indent] === ' ') + { + $indent ++; + } + + $text = $indent > 0 ? substr($line, $indent) : $line; + + # ~ + + $Line = array('body' => $line, 'indent' => $indent, 'text' => $text); + + # ~ + + if (isset($CurrentBlock['continuable'])) + { + $Block = $this->{'block'.$CurrentBlock['type'].'Continue'}($Line, $CurrentBlock); + + if (isset($Block)) + { + $CurrentBlock = $Block; + + continue; + } + else + { + if (method_exists($this, 'block'.$CurrentBlock['type'].'Complete')) + { + $CurrentBlock = $this->{'block'.$CurrentBlock['type'].'Complete'}($CurrentBlock); + } + } + } + + # ~ + + $marker = $text[0]; + + # ~ + + $blockTypes = $this->unmarkedBlockTypes; + + if (isset($this->BlockTypes[$marker])) + { + foreach ($this->BlockTypes[$marker] as $blockType) + { + $blockTypes []= $blockType; + } + } + + # + # ~ + + foreach ($blockTypes as $blockType) + { + $Block = $this->{'block'.$blockType}($Line, $CurrentBlock); + + if (isset($Block)) + { + $Block['type'] = $blockType; + + if ( ! isset($Block['identified'])) + { + $Blocks []= $CurrentBlock; + + $Block['identified'] = true; + } + + if (method_exists($this, 'block'.$blockType.'Continue')) + { + $Block['continuable'] = true; + } + + $CurrentBlock = $Block; + + continue 2; + } + } + + # ~ + + if (isset($CurrentBlock) and ! isset($CurrentBlock['type']) and ! isset($CurrentBlock['interrupted'])) + { + $CurrentBlock['element']['text'] .= "\n".$text; + } + else + { + $Blocks []= $CurrentBlock; + + $CurrentBlock = $this->paragraph($Line); + + $CurrentBlock['identified'] = true; + } + } + + # ~ + + if (isset($CurrentBlock['continuable']) and method_exists($this, 'block'.$CurrentBlock['type'].'Complete')) + { + $CurrentBlock = $this->{'block'.$CurrentBlock['type'].'Complete'}($CurrentBlock); + } + + # ~ + + $Blocks []= $CurrentBlock; + + unset($Blocks[0]); + + # ~ + + $markup = ''; + + foreach ($Blocks as $Block) + { + if (isset($Block['hidden'])) + { + continue; + } + + $markup .= "\n"; + $markup .= isset($Block['markup']) ? $Block['markup'] : $this->element($Block['element']); + } + + $markup .= "\n"; + + # ~ + + return $markup; + } + + # + # Code + + protected function blockCode($Line, $Block = null) + { + if (isset($Block) and ! isset($Block['type']) and ! isset($Block['interrupted'])) + { + return; + } + + if ($Line['indent'] >= 4) + { + $text = substr($Line['body'], 4); + + $Block = array( + 'element' => array( + 'name' => 'pre', + 'handler' => 'element', + 'text' => array( + 'name' => 'code', + 'text' => $text, + ), + ), + ); + + return $Block; + } + } + + protected function blockCodeContinue($Line, $Block) + { + if ($Line['indent'] >= 4) + { + if (isset($Block['interrupted'])) + { + $Block['element']['text']['text'] .= "\n"; + + unset($Block['interrupted']); + } + + $Block['element']['text']['text'] .= "\n"; + + $text = substr($Line['body'], 4); + + $Block['element']['text']['text'] .= $text; + + return $Block; + } + } + + protected function blockCodeComplete($Block) + { + $text = $Block['element']['text']['text']; + + $text = htmlspecialchars($text, ENT_NOQUOTES, 'UTF-8'); + + $Block['element']['text']['text'] = $text; + + return $Block; + } + + # + # Comment + + protected function blockComment($Line) + { + if ($this->markupEscaped) + { + return; + } + + if (isset($Line['text'][3]) and $Line['text'][3] === '-' and $Line['text'][2] === '-' and $Line['text'][1] === '!') + { + $Block = array( + 'markup' => $Line['body'], + ); + + if (preg_match('/-->$/', $Line['text'])) + { + $Block['closed'] = true; + } + + return $Block; + } + } + + protected function blockCommentContinue($Line, array $Block) + { + if (isset($Block['closed'])) + { + return; + } + + $Block['markup'] .= "\n" . $Line['body']; + + if (preg_match('/-->$/', $Line['text'])) + { + $Block['closed'] = true; + } + + return $Block; + } + + # + # Fenced Code + + protected function blockFencedCode($Line) + { + if (preg_match('/^['.$Line['text'][0].']{3,}[ ]*([\w-]+)?[ ]*$/', $Line['text'], $matches)) + { + $Element = array( + 'name' => 'code', + 'text' => '', + ); + + if (isset($matches[1])) + { + $class = 'language-'.$matches[1]; + + $Element['attributes'] = array( + 'class' => $class, + ); + } + + $Block = array( + 'char' => $Line['text'][0], + 'element' => array( + 'name' => 'pre', + 'handler' => 'element', + 'text' => $Element, + ), + ); + + return $Block; + } + } + + protected function blockFencedCodeContinue($Line, $Block) + { + if (isset($Block['complete'])) + { + return; + } + + if (isset($Block['interrupted'])) + { + $Block['element']['text']['text'] .= "\n"; + + unset($Block['interrupted']); + } + + if (preg_match('/^'.$Block['char'].'{3,}[ ]*$/', $Line['text'])) + { + $Block['element']['text']['text'] = substr($Block['element']['text']['text'], 1); + + $Block['complete'] = true; + + return $Block; + } + + $Block['element']['text']['text'] .= "\n".$Line['body'];; + + return $Block; + } + + protected function blockFencedCodeComplete($Block) + { + $text = $Block['element']['text']['text']; + + $text = htmlspecialchars($text, ENT_NOQUOTES, 'UTF-8'); + + $Block['element']['text']['text'] = $text; + + return $Block; + } + + # + # Header + + protected function blockHeader($Line) + { + if (isset($Line['text'][1])) + { + $level = 1; + + while (isset($Line['text'][$level]) and $Line['text'][$level] === '#') + { + $level ++; + } + + if ($level > 6) + { + return; + } + + $text = trim($Line['text'], '# '); + + $Block = array( + 'element' => array( + 'name' => 'h' . min(6, $level), + 'text' => $text, + 'handler' => 'line', + ), + ); + + return $Block; + } + } + + # + # List + + protected function blockList($Line) + { + list($name, $pattern) = $Line['text'][0] <= '-' ? array('ul', '[*+-]') : array('ol', '[0-9]+[.]'); + + if (preg_match('/^('.$pattern.'[ ]+)(.*)/', $Line['text'], $matches)) + { + $Block = array( + 'indent' => $Line['indent'], + 'pattern' => $pattern, + 'element' => array( + 'name' => $name, + 'handler' => 'elements', + ), + ); + + $Block['li'] = array( + 'name' => 'li', + 'handler' => 'li', + 'text' => array( + $matches[2], + ), + ); + + $Block['element']['text'] []= & $Block['li']; + + return $Block; + } + } + + protected function blockListContinue($Line, array $Block) + { + if ($Block['indent'] === $Line['indent'] and preg_match('/^'.$Block['pattern'].'(?:[ ]+(.*)|$)/', $Line['text'], $matches)) + { + if (isset($Block['interrupted'])) + { + $Block['li']['text'] []= ''; + + unset($Block['interrupted']); + } + + unset($Block['li']); + + $text = isset($matches[1]) ? $matches[1] : ''; + + $Block['li'] = array( + 'name' => 'li', + 'handler' => 'li', + 'text' => array( + $text, + ), + ); + + $Block['element']['text'] []= & $Block['li']; + + return $Block; + } + + if ($Line['text'][0] === '[' and $this->blockReference($Line)) + { + return $Block; + } + + if ( ! isset($Block['interrupted'])) + { + $text = preg_replace('/^[ ]{0,4}/', '', $Line['body']); + + $Block['li']['text'] []= $text; + + return $Block; + } + + if ($Line['indent'] > 0) + { + $Block['li']['text'] []= ''; + + $text = preg_replace('/^[ ]{0,4}/', '', $Line['body']); + + $Block['li']['text'] []= $text; + + unset($Block['interrupted']); + + return $Block; + } + } + + # + # Quote + + protected function blockQuote($Line) + { + if (preg_match('/^>[ ]?(.*)/', $Line['text'], $matches)) + { + $Block = array( + 'element' => array( + 'name' => 'blockquote', + 'handler' => 'lines', + 'text' => (array) $matches[1], + ), + ); + + return $Block; + } + } + + protected function blockQuoteContinue($Line, array $Block) + { + if ($Line['text'][0] === '>' and preg_match('/^>[ ]?(.*)/', $Line['text'], $matches)) + { + if (isset($Block['interrupted'])) + { + $Block['element']['text'] []= ''; + + unset($Block['interrupted']); + } + + $Block['element']['text'] []= $matches[1]; + + return $Block; + } + + if ( ! isset($Block['interrupted'])) + { + $Block['element']['text'] []= $Line['text']; + + return $Block; + } + } + + # + # Rule + + protected function blockRule($Line) + { + if (preg_match('/^(['.$Line['text'][0].'])([ ]*\1){2,}[ ]*$/', $Line['text'])) + { + $Block = array( + 'element' => array( + 'name' => 'hr' + ), + ); + + return $Block; + } + } + + # + # Setext + + protected function blockSetextHeader($Line, array $Block = null) + { + if ( ! isset($Block) or isset($Block['type']) or isset($Block['interrupted'])) + { + return; + } + + if (chop($Line['text'], $Line['text'][0]) === '') + { + $Block['element']['name'] = $Line['text'][0] === '=' ? 'h1' : 'h2'; + + return $Block; + } + } + + # + # Markup + + protected function blockMarkup($Line) + { + if ($this->markupEscaped) + { + return; + } + + if (preg_match('/^<(\w*)(?:[ ]*'.$this->regexHtmlAttribute.')*[ ]*(\/)?>/', $Line['text'], $matches)) + { + $element = strtolower($matches[1]); + + if (in_array($element, $this->textLevelElements)) + { + return; + } + + $Block = array( + 'name' => $matches[1], + 'depth' => 0, + 'markup' => $Line['text'], + ); + + $length = strlen($matches[0]); + + $remainder = substr($Line['text'], $length); + + if (trim($remainder) === '') + { + if (isset($matches[2]) or in_array($matches[1], $this->voidElements)) + { + $Block['closed'] = true; + + $Block['void'] = true; + } + } + else + { + if (isset($matches[2]) or in_array($matches[1], $this->voidElements)) + { + return; + } + + if (preg_match('/<\/'.$matches[1].'>[ ]*$/i', $remainder)) + { + $Block['closed'] = true; + } + } + + return $Block; + } + } + + protected function blockMarkupContinue($Line, array $Block) + { + if (isset($Block['closed'])) + { + return; + } + + if (preg_match('/^<'.$Block['name'].'(?:[ ]*'.$this->regexHtmlAttribute.')*[ ]*>/i', $Line['text'])) # open + { + $Block['depth'] ++; + } + + if (preg_match('/(.*?)<\/'.$Block['name'].'>[ ]*$/i', $Line['text'], $matches)) # close + { + if ($Block['depth'] > 0) + { + $Block['depth'] --; + } + else + { + $Block['closed'] = true; + } + } + + if (isset($Block['interrupted'])) + { + $Block['markup'] .= "\n"; + + unset($Block['interrupted']); + } + + $Block['markup'] .= "\n".$Line['body']; + + return $Block; + } + + # + # Reference + + protected function blockReference($Line) + { + if (preg_match('/^\[(.+?)\]:[ ]*?(?:[ ]+["\'(](.+)["\')])?[ ]*$/', $Line['text'], $matches)) + { + $id = strtolower($matches[1]); + + $Data = array( + 'url' => $matches[2], + 'title' => null, + ); + + if (isset($matches[3])) + { + $Data['title'] = $matches[3]; + } + + $this->DefinitionData['Reference'][$id] = $Data; + + $Block = array( + 'hidden' => true, + ); + + return $Block; + } + } + + # + # Table + + protected function blockTable($Line, array $Block = null) + { + if ( ! isset($Block) or isset($Block['type']) or isset($Block['interrupted'])) + { + return; + } + + if (strpos($Block['element']['text'], '|') !== false and chop($Line['text'], ' -:|') === '') + { + $alignments = array(); + + $divider = $Line['text']; + + $divider = trim($divider); + $divider = trim($divider, '|'); + + $dividerCells = explode('|', $divider); + + foreach ($dividerCells as $dividerCell) + { + $dividerCell = trim($dividerCell); + + if ($dividerCell === '') + { + continue; + } + + $alignment = null; + + if ($dividerCell[0] === ':') + { + $alignment = 'left'; + } + + if (substr($dividerCell, - 1) === ':') + { + $alignment = $alignment === 'left' ? 'center' : 'right'; + } + + $alignments []= $alignment; + } + + # ~ + + $HeaderElements = array(); + + $header = $Block['element']['text']; + + $header = trim($header); + $header = trim($header, '|'); + + $headerCells = explode('|', $header); + + foreach ($headerCells as $index => $headerCell) + { + $headerCell = trim($headerCell); + + $HeaderElement = array( + 'name' => 'th', + 'text' => $headerCell, + 'handler' => 'line', + ); + + if (isset($alignments[$index])) + { + $alignment = $alignments[$index]; + + $HeaderElement['attributes'] = array( + 'style' => 'text-align: '.$alignment.';', + ); + } + + $HeaderElements []= $HeaderElement; + } + + # ~ + + $Block = array( + 'alignments' => $alignments, + 'identified' => true, + 'element' => array( + 'name' => 'table', + 'handler' => 'elements', + ), + ); + + $Block['element']['text'] []= array( + 'name' => 'thead', + 'handler' => 'elements', + ); + + $Block['element']['text'] []= array( + 'name' => 'tbody', + 'handler' => 'elements', + 'text' => array(), + ); + + $Block['element']['text'][0]['text'] []= array( + 'name' => 'tr', + 'handler' => 'elements', + 'text' => $HeaderElements, + ); + + return $Block; + } + } + + protected function blockTableContinue($Line, array $Block) + { + if (isset($Block['interrupted'])) + { + return; + } + + if ($Line['text'][0] === '|' or strpos($Line['text'], '|')) + { + $Elements = array(); + + $row = $Line['text']; + + $row = trim($row); + $row = trim($row, '|'); + + preg_match_all('/(?:(\\\\[|])|[^|`]|`[^`]+`|`)+/', $row, $matches); + + foreach ($matches[0] as $index => $cell) + { + $cell = trim($cell); + + $Element = array( + 'name' => 'td', + 'handler' => 'line', + 'text' => $cell, + ); + + if (isset($Block['alignments'][$index])) + { + $Element['attributes'] = array( + 'style' => 'text-align: '.$Block['alignments'][$index].';', + ); + } + + $Elements []= $Element; + } + + $Element = array( + 'name' => 'tr', + 'handler' => 'elements', + 'text' => $Elements, + ); + + $Block['element']['text'][1]['text'] []= $Element; + + return $Block; + } + } + + # + # ~ + # + + protected function paragraph($Line) + { + $Block = array( + 'element' => array( + 'name' => 'p', + 'text' => $Line['text'], + 'handler' => 'line', + ), + ); + + return $Block; + } + + # + # Inline Elements + # + + protected $InlineTypes = array( + '"' => array('SpecialCharacter'), + '!' => array('Image'), + '&' => array('SpecialCharacter'), + '*' => array('Emphasis'), + ':' => array('Url'), + '<' => array('UrlTag', 'EmailTag', 'Markup', 'SpecialCharacter'), + '>' => array('SpecialCharacter'), + '[' => array('Link'), + '_' => array('Emphasis'), + '`' => array('Code'), + '~' => array('Strikethrough'), + '\\' => array('EscapeSequence'), + ); + + # ~ + + protected $inlineMarkerList = '!"*_&[:<>`~\\'; + + # + # ~ + # + + public function line($text) + { + $markup = ''; + + # $excerpt is based on the first occurrence of a marker + + while ($excerpt = strpbrk($text, $this->inlineMarkerList)) + { + $marker = $excerpt[0]; + + $markerPosition = strpos($text, $marker); + + $Excerpt = array('text' => $excerpt, 'context' => $text); + + foreach ($this->InlineTypes[$marker] as $inlineType) + { + $Inline = $this->{'inline'.$inlineType}($Excerpt); + + if ( ! isset($Inline)) + { + continue; + } + + # makes sure that the inline belongs to "our" marker + + if (isset($Inline['position']) and $Inline['position'] > $markerPosition) + { + continue; + } + + # sets a default inline position + + if ( ! isset($Inline['position'])) + { + $Inline['position'] = $markerPosition; + } + + # the text that comes before the inline + $unmarkedText = substr($text, 0, $Inline['position']); + + # compile the unmarked text + $markup .= $this->unmarkedText($unmarkedText); + + # compile the inline + $markup .= isset($Inline['markup']) ? $Inline['markup'] : $this->element($Inline['element']); + + # remove the examined text + $text = substr($text, $Inline['position'] + $Inline['extent']); + + continue 2; + } + + # the marker does not belong to an inline + + $unmarkedText = substr($text, 0, $markerPosition + 1); + + $markup .= $this->unmarkedText($unmarkedText); + + $text = substr($text, $markerPosition + 1); + } + + $markup .= $this->unmarkedText($text); + + return $markup; + } + + # + # ~ + # + + protected function inlineCode($Excerpt) + { + $marker = $Excerpt['text'][0]; + + if (preg_match('/^('.$marker.'+)[ ]*(.+?)[ ]*(? strlen($matches[0]), + 'element' => array( + 'name' => 'code', + 'text' => $text, + ), + ); + } + } + + protected function inlineEmailTag($Excerpt) + { + if (strpos($Excerpt['text'], '>') !== false and preg_match('/^<((mailto:)?\S+?@\S+?)>/i', $Excerpt['text'], $matches)) + { + $url = $matches[1]; + + if ( ! isset($matches[2])) + { + $url = 'mailto:' . $url; + } + + return array( + 'extent' => strlen($matches[0]), + 'element' => array( + 'name' => 'a', + 'text' => $matches[1], + 'attributes' => array( + 'href' => $url, + ), + ), + ); + } + } + + protected function inlineEmphasis($Excerpt) + { + if ( ! isset($Excerpt['text'][1])) + { + return; + } + + $marker = $Excerpt['text'][0]; + + if ($Excerpt['text'][1] === $marker and preg_match($this->StrongRegex[$marker], $Excerpt['text'], $matches)) + { + $emphasis = 'strong'; + } + elseif (preg_match($this->EmRegex[$marker], $Excerpt['text'], $matches)) + { + $emphasis = 'em'; + } + else + { + return; + } + + return array( + 'extent' => strlen($matches[0]), + 'element' => array( + 'name' => $emphasis, + 'handler' => 'line', + 'text' => $matches[1], + ), + ); + } + + protected function inlineEscapeSequence($Excerpt) + { + if (isset($Excerpt['text'][1]) and in_array($Excerpt['text'][1], $this->specialCharacters)) + { + return array( + 'markup' => $Excerpt['text'][1], + 'extent' => 2, + ); + } + } + + protected function inlineImage($Excerpt) + { + if ( ! isset($Excerpt['text'][1]) or $Excerpt['text'][1] !== '[') + { + return; + } + + $Excerpt['text']= substr($Excerpt['text'], 1); + + $Link = $this->inlineLink($Excerpt); + + if ($Link === null) + { + return; + } + + $Inline = array( + 'extent' => $Link['extent'] + 1, + 'element' => array( + 'name' => 'img', + 'attributes' => array( + 'src' => $Link['element']['attributes']['href'], + 'alt' => $Link['element']['text'], + ), + ), + ); + + $Inline['element']['attributes'] += $Link['element']['attributes']; + + unset($Inline['element']['attributes']['href']); + + return $Inline; + } + + protected function inlineLink($Excerpt) + { + $Element = array( + 'name' => 'a', + 'handler' => 'line', + 'text' => null, + 'attributes' => array( + 'href' => null, + 'title' => null, + ), + ); + + $extent = 0; + + $remainder = $Excerpt['text']; + + if (preg_match('/\[((?:[^][]|(?R))*)\]/', $remainder, $matches)) + { + $Element['text'] = $matches[1]; + + $extent += strlen($matches[0]); + + $remainder = substr($remainder, $extent); + } + else + { + return; + } + + if (preg_match('/^[(]((?:[^ ()]|[(][^ )]+[)])+)(?:[ ]+("[^"]*"|\'[^\']*\'))?[)]/', $remainder, $matches)) + { + $Element['attributes']['href'] = $matches[1]; + + if (isset($matches[2])) + { + $Element['attributes']['title'] = substr($matches[2], 1, - 1); + } + + $extent += strlen($matches[0]); + } + else + { + if (preg_match('/^\s*\[(.*?)\]/', $remainder, $matches)) + { + $definition = strlen($matches[1]) ? $matches[1] : $Element['text']; + $definition = strtolower($definition); + + $extent += strlen($matches[0]); + } + else + { + $definition = strtolower($Element['text']); + } + + if ( ! isset($this->DefinitionData['Reference'][$definition])) + { + return; + } + + $Definition = $this->DefinitionData['Reference'][$definition]; + + $Element['attributes']['href'] = $Definition['url']; + $Element['attributes']['title'] = $Definition['title']; + } + + $Element['attributes']['href'] = str_replace(array('&', '<'), array('&', '<'), $Element['attributes']['href']); + + return array( + 'extent' => $extent, + 'element' => $Element, + ); + } + + protected function inlineMarkup($Excerpt) + { + if ($this->markupEscaped or strpos($Excerpt['text'], '>') === false) + { + return; + } + + if ($Excerpt['text'][1] === '/' and preg_match('/^<\/\w*[ ]*>/s', $Excerpt['text'], $matches)) + { + return array( + 'markup' => $matches[0], + 'extent' => strlen($matches[0]), + ); + } + + if ($Excerpt['text'][1] === '!' and preg_match('/^/s', $Excerpt['text'], $matches)) + { + return array( + 'markup' => $matches[0], + 'extent' => strlen($matches[0]), + ); + } + + if ($Excerpt['text'][1] !== ' ' and preg_match('/^<\w*(?:[ ]*'.$this->regexHtmlAttribute.')*[ ]*\/?>/s', $Excerpt['text'], $matches)) + { + return array( + 'markup' => $matches[0], + 'extent' => strlen($matches[0]), + ); + } + } + + protected function inlineSpecialCharacter($Excerpt) + { + if ($Excerpt['text'][0] === '&' and ! preg_match('/^&#?\w+;/', $Excerpt['text'])) + { + return array( + 'markup' => '&', + 'extent' => 1, + ); + } + + $SpecialCharacter = array('>' => 'gt', '<' => 'lt', '"' => 'quot'); + + if (isset($SpecialCharacter[$Excerpt['text'][0]])) + { + return array( + 'markup' => '&'.$SpecialCharacter[$Excerpt['text'][0]].';', + 'extent' => 1, + ); + } + } + + protected function inlineStrikethrough($Excerpt) + { + if ( ! isset($Excerpt['text'][1])) + { + return; + } + + if ($Excerpt['text'][1] === '~' and preg_match('/^~~(?=\S)(.+?)(?<=\S)~~/', $Excerpt['text'], $matches)) + { + return array( + 'extent' => strlen($matches[0]), + 'element' => array( + 'name' => 'del', + 'text' => $matches[1], + 'handler' => 'line', + ), + ); + } + } + + protected function inlineUrl($Excerpt) + { + if ($this->urlsLinked !== true or ! isset($Excerpt['text'][2]) or $Excerpt['text'][2] !== '/') + { + return; + } + + if (preg_match('/\bhttps?:[\/]{2}[^\s<]+\b\/*/ui', $Excerpt['context'], $matches, PREG_OFFSET_CAPTURE)) + { + $Inline = array( + 'extent' => strlen($matches[0][0]), + 'position' => $matches[0][1], + 'element' => array( + 'name' => 'a', + 'text' => $matches[0][0], + 'attributes' => array( + 'href' => $matches[0][0], + ), + ), + ); + + return $Inline; + } + } + + protected function inlineUrlTag($Excerpt) + { + if (strpos($Excerpt['text'], '>') !== false and preg_match('/^<(\w+:\/{2}[^ >]+)>/i', $Excerpt['text'], $matches)) + { + $url = str_replace(array('&', '<'), array('&', '<'), $matches[1]); + + return array( + 'extent' => strlen($matches[0]), + 'element' => array( + 'name' => 'a', + 'text' => $url, + 'attributes' => array( + 'href' => $url, + ), + ), + ); + } + } + + # ~ + + protected function unmarkedText($text) + { + if ($this->breaksEnabled) + { + $text = preg_replace('/[ ]*\n/', "
              \n", $text); + } + else + { + $text = preg_replace('/(?:[ ][ ]+|[ ]*\\\\)\n/', "
              \n", $text); + $text = str_replace(" \n", "\n", $text); + } + + return $text; + } + + # + # Handlers + # + + protected function element(array $Element) + { + $markup = '<'.$Element['name']; + + if (isset($Element['attributes'])) + { + foreach ($Element['attributes'] as $name => $value) + { + if ($value === null) + { + continue; + } + + $markup .= ' '.$name.'="'.$value.'"'; + } + } + + if (isset($Element['text'])) + { + $markup .= '>'; + + if (isset($Element['handler'])) + { + $markup .= $this->{$Element['handler']}($Element['text']); + } + else + { + $markup .= $Element['text']; + } + + $markup .= ''; + } + else + { + $markup .= ' />'; + } + + return $markup; + } + + protected function elements(array $Elements) + { + $markup = ''; + + foreach ($Elements as $Element) + { + $markup .= "\n" . $this->element($Element); + } + + $markup .= "\n"; + + return $markup; + } + + # ~ + + protected function li($lines) + { + $markup = $this->lines($lines); + + $trimmedMarkup = trim($markup); + + if ( ! in_array('', $lines) and substr($trimmedMarkup, 0, 3) === '

              ') + { + $markup = $trimmedMarkup; + $markup = substr($markup, 3); + + $position = strpos($markup, "

              "); + + $markup = substr_replace($markup, '', $position, 4); + } + + return $markup; + } + + # + # Deprecated Methods + # + + function parse($text) + { + $markup = $this->text($text); + + return $markup; + } + + # + # Static Methods + # + + static function instance($name = 'default') + { + if (isset(self::$instances[$name])) + { + return self::$instances[$name]; + } + + $instance = new static(); + + self::$instances[$name] = $instance; + + return $instance; + } + + private static $instances = array(); + + # + # Fields + # + + protected $DefinitionData; + + # + # Read-Only + + protected $specialCharacters = array( + '\\', '`', '*', '_', '{', '}', '[', ']', '(', ')', '>', '#', '+', '-', '.', '!', '|', + ); + + protected $StrongRegex = array( + '*' => '/^[*]{2}((?:\\\\\*|[^*]|[*][^*]*[*])+?)[*]{2}(?![*])/s', + '_' => '/^__((?:\\\\_|[^_]|_[^_]*_)+?)__(?!_)/us', + ); + + protected $EmRegex = array( + '*' => '/^[*]((?:\\\\\*|[^*]|[*][*][^*]+?[*][*])+?)[*](?![*])/s', + '_' => '/^_((?:\\\\_|[^_]|__[^_]*__)+?)_(?!_)\b/us', + ); + + protected $regexHtmlAttribute = '[a-zA-Z_:][\w:.-]*(?:\s*=\s*(?:[^"\'=<>`\s]+|"[^"]*"|\'[^\']*\'))?'; + + protected $voidElements = array( + 'area', 'base', 'br', 'col', 'command', 'embed', 'hr', 'img', 'input', 'link', 'meta', 'param', 'source', + ); + + protected $textLevelElements = array( + 'a', 'br', 'bdo', 'abbr', 'blink', 'nextid', 'acronym', 'basefont', + 'b', 'em', 'big', 'cite', 'small', 'spacer', 'listing', + 'i', 'rp', 'del', 'code', 'strike', 'marquee', + 'q', 'rt', 'ins', 'font', 'strong', + 's', 'tt', 'sub', 'mark', + 'u', 'xm', 'sup', 'nobr', + 'var', 'ruby', + 'wbr', 'span', + 'time', + ); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/README.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/README.md new file mode 100644 index 0000000..6f9f649 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/README.md @@ -0,0 +1,57 @@ +## Parsedown + +[![Build Status](https://img.shields.io/travis/erusev/parsedown/master.svg?style=flat-square)](https://travis-ci.org/erusev/parsedown) + + +Better Markdown Parser in PHP + +[Demo](http://parsedown.org/demo) | +[Benchmarks](http://parsedown.org/speed) | +[Tests](http://parsedown.org/tests/) | +[Documentation](https://github.com/erusev/parsedown/wiki/) + +### Features + +* Super Fast +* [GitHub flavored](https://help.github.com/articles/github-flavored-markdown) +* Extensible +* Tested in 5.3 to 5.6 +* [Markdown Extra extension](https://github.com/erusev/parsedown-extra) + +### Installation + +Include `Parsedown.php` or install [the composer package](https://packagist.org/packages/erusev/parsedown). + +### Example + +``` php +$Parsedown = new Parsedown(); + +echo $Parsedown->text('Hello _Parsedown_!'); # prints:

              Hello Parsedown!

              +``` + +More examples in [the wiki](https://github.com/erusev/parsedown/wiki/) and in [this video tutorial](http://youtu.be/wYZBY8DEikI). + +### Questions + +**How does Parsedown work?** + +It tries to read Markdown like a human. First, it looks at the lines. It’s interested in how the lines start. This helps it recognise blocks. It knows, for example, that if a line start with a `-` then it perhaps belong to a list. Once it recognises the blocks, it continues to the content. As it reads, it watches out for special characters. This helps it recognise inline elements (or inlines). + +We call this approach "line based". We believe that Parsedown is the first Markdown parser to use it. Since the release of Parsedown, other developers have used the same approach to develop other Markdown parsers in PHP and in other languages. + +**Is it compliant with CommonMark?** + +It passes most of the CommonMark tests. Most of the tests that don't pass deal with cases that are quite uncommon. Still, as CommonMark matures, compliance should improve. + +**Who uses it?** + +[phpDocumentor](http://www.phpdoc.org/), [October CMS](http://octobercms.com/), [Bolt CMS](http://bolt.cm/), [Kirby CMS](http://getkirby.com/), [Grav CMS](http://getgrav.org/), [Statamic CMS](http://www.statamic.com/), [RaspberryPi.org](http://www.raspberrypi.org/) and [more](https://www.versioneye.com/php/erusev:parsedown/references). + +**How can I help?** + +Use it, star it, share it and if you feel generous, [donate](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=528P3NZQMP8N2). + +--- + +You might also like [Caret](http://caret.io) - our Markdown editor for the desktop. diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/composer.json b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/composer.json new file mode 100644 index 0000000..1439b82 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/composer.json @@ -0,0 +1,18 @@ +{ + "name": "erusev/parsedown", + "description": "Parser for Markdown.", + "keywords": ["markdown", "parser"], + "homepage": "http://parsedown.org", + "type": "library", + "license": "MIT", + "authors": [ + { + "name": "Emanuil Rusev", + "email": "hello@erusev.com", + "homepage": "http://erusev.com" + } + ], + "autoload": { + "psr-0": {"Parsedown": ""} + } +} \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/phpunit.xml.dist b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/phpunit.xml.dist new file mode 100644 index 0000000..b2d5e9d --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/phpunit.xml.dist @@ -0,0 +1,8 @@ + + + + + test/ParsedownTest.php + + + \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/CommonMarkTest.php b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/CommonMarkTest.php new file mode 100644 index 0000000..9b8d116 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/CommonMarkTest.php @@ -0,0 +1,74 @@ +setUrlsLinked(false); + + $actualHtml = $Parsedown->text($markdown); + $actualHtml = $this->normalizeMarkup($actualHtml); + + $this->assertEquals($expectedHtml, $actualHtml); + } + + function data() + { + $spec = file_get_contents(self::SPEC_URL); + $spec = strstr($spec, '', true); + + $tests = array(); + $currentSection = ''; + + preg_replace_callback( + '/^\.\n([\s\S]*?)^\.\n([\s\S]*?)^\.$|^#{1,6} *(.*)$/m', + function($matches) use ( & $tests, & $currentSection, & $testCount) { + if (isset($matches[3]) and $matches[3]) { + $currentSection = $matches[3]; + } else { + $testCount++; + $markdown = $matches[1]; + $markdown = preg_replace('/→/', "\t", $markdown); + $expectedHtml = $matches[2]; + $expectedHtml = $this->normalizeMarkup($expectedHtml); + $tests []= array( + $currentSection, # section + $markdown, # markdown + $expectedHtml, # html + ); + } + }, + $spec + ); + + return $tests; + } + + private function normalizeMarkup($markup) + { + $markup = preg_replace("/\n+/", "\n", $markup); + $markup = preg_replace('/^\s+/m', '', $markup); + $markup = preg_replace('/^((?:<[\w]+>)+)\n/m', '$1', $markup); + $markup = preg_replace('/\n((?:<\/[\w]+>)+)$/m', '$1', $markup); + $markup = trim($markup); + + return $markup; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/ParsedownTest.php b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/ParsedownTest.php new file mode 100644 index 0000000..c922ab1 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/ParsedownTest.php @@ -0,0 +1,159 @@ +dirs = $this->initDirs(); + $this->Parsedown = $this->initParsedown(); + + parent::__construct($name, $data, $dataName); + } + + private $dirs, $Parsedown; + + /** + * @return array + */ + protected function initDirs() + { + $dirs []= dirname(__FILE__).'/data/'; + + return $dirs; + } + + /** + * @return Parsedown + */ + protected function initParsedown() + { + $Parsedown = new Parsedown(); + + return $Parsedown; + } + + /** + * @dataProvider data + * @param $test + * @param $dir + */ + function test_($test, $dir) + { + $markdown = file_get_contents($dir . $test . '.md'); + + $expectedMarkup = file_get_contents($dir . $test . '.html'); + + $expectedMarkup = str_replace("\r\n", "\n", $expectedMarkup); + $expectedMarkup = str_replace("\r", "\n", $expectedMarkup); + + $actualMarkup = $this->Parsedown->text($markdown); + + $this->assertEquals($expectedMarkup, $actualMarkup); + } + + function data() + { + $data = array(); + + foreach ($this->dirs as $dir) + { + $Folder = new DirectoryIterator($dir); + + foreach ($Folder as $File) + { + /** @var $File DirectoryIterator */ + + if ( ! $File->isFile()) + { + continue; + } + + $filename = $File->getFilename(); + + $extension = pathinfo($filename, PATHINFO_EXTENSION); + + if ($extension !== 'md') + { + continue; + } + + $basename = $File->getBasename('.md'); + + if (file_exists($dir . $basename . '.html')) + { + $data []= array($basename, $dir); + } + } + } + + return $data; + } + + public function test_no_markup() + { + $markdownWithHtml = <<_content_
              + +sparse: + +
              +
              +_content_ +
              +
              + +paragraph + + + +comment + + +MARKDOWN_WITH_MARKUP; + + $expectedHtml = <<<div>content</div>

              +

              sparse:

              +

              <div> +<div class="inner"> +content +</div> +</div>

              +

              paragraph

              +

              <style type="text/css"> +p { +color: red; +} +</style>

              +

              comment

              +

              <!-- html comment -->

              +EXPECTED_HTML; + $parsedownWithNoMarkup = new Parsedown(); + $parsedownWithNoMarkup->setMarkupEscaped(true); + $this->assertEquals($expectedHtml, $parsedownWithNoMarkup->text($markdownWithHtml)); + } + + public function testLateStaticBinding() + { + include 'test/TestParsedown.php'; + + $parsedown = Parsedown::instance(); + $this->assertInstanceOf('Parsedown', $parsedown); + + // After instance is already called on Parsedown + // subsequent calls with the same arguments return the same instance + $sameParsedown = TestParsedown::instance(); + $this->assertInstanceOf('Parsedown', $sameParsedown); + $this->assertSame($parsedown, $sameParsedown); + + $testParsedown = TestParsedown::instance('test late static binding'); + $this->assertInstanceOf('TestParsedown', $testParsedown); + + $sameInstanceAgain = TestParsedown::instance('test late static binding'); + $this->assertSame($testParsedown, $sameInstanceAgain); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/TestParsedown.php b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/TestParsedown.php new file mode 100644 index 0000000..7024dfb --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/TestParsedown.php @@ -0,0 +1,5 @@ + + + +header 1 +header 2 + + + + +cell 1.1 +cell 1.2 + + +cell 2.1 +cell 2.2 + + + \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/aesthetic_table.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/aesthetic_table.md new file mode 100644 index 0000000..5245e6c --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/aesthetic_table.md @@ -0,0 +1,4 @@ +| header 1 | header 2 | +| -------- | -------- | +| cell 1.1 | cell 1.2 | +| cell 2.1 | cell 2.2 | \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/aligned_table.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/aligned_table.html new file mode 100644 index 0000000..c4acfcb --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/aligned_table.html @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + +
              header 1header 2header 2
              cell 1.1cell 1.2cell 1.3
              cell 2.1cell 2.2cell 2.3
              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/aligned_table.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/aligned_table.md new file mode 100644 index 0000000..69a45f9 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/aligned_table.md @@ -0,0 +1,4 @@ +| header 1 | header 2 | header 2 | +| :------- | :------: | -------: | +| cell 1.1 | cell 1.2 | cell 1.3 | +| cell 2.1 | cell 2.2 | cell 2.3 | \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/atx_heading.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/atx_heading.html new file mode 100644 index 0000000..751f873 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/atx_heading.html @@ -0,0 +1,9 @@ +

              h1

              +

              h2

              +

              h3

              +

              h4

              +
              h5
              +
              h6
              +

              ####### not a heading

              +

              closed h1

              +

              #

              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/atx_heading.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/atx_heading.md new file mode 100644 index 0000000..ad97b44 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/atx_heading.md @@ -0,0 +1,17 @@ +# h1 + +## h2 + +### h3 + +#### h4 + +##### h5 + +###### h6 + +####### not a heading + +# closed h1 # + +# \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/automatic_link.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/automatic_link.html new file mode 100644 index 0000000..50a94ba --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/automatic_link.html @@ -0,0 +1 @@ +

              http://example.com

              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/automatic_link.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/automatic_link.md new file mode 100644 index 0000000..08d3bf4 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/automatic_link.md @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/block-level_html.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/block-level_html.html new file mode 100644 index 0000000..6443a4a --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/block-level_html.html @@ -0,0 +1,12 @@ +
              _content_
              +

              paragraph

              +
              +
              + _content_ +
              +
              + +
              + home
              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/block-level_html.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/block-level_html.md new file mode 100644 index 0000000..17cbc22 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/block-level_html.md @@ -0,0 +1,16 @@ +
              _content_
              + +paragraph + +
              +
              + _content_ +
              +
              + + + +
              + home
              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/code_block.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/code_block.html new file mode 100644 index 0000000..889b02d --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/code_block.html @@ -0,0 +1,8 @@ +
              <?php
              +
              +$message = 'Hello World!';
              +echo $message;
              +
              +
              > not a quote
              +- not a list item
              +[not a reference]: http://foo.com
              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/code_block.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/code_block.md new file mode 100644 index 0000000..2cfc953 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/code_block.md @@ -0,0 +1,10 @@ + not a quote + - not a list item + [not a reference]: http://foo.com \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/code_span.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/code_span.html new file mode 100644 index 0000000..5c4c231 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/code_span.html @@ -0,0 +1,6 @@ +

              a code span

              +

              this is also a codespan trailing text

              +

              and look at this one!

              +

              single backtick in a code span: `

              +

              backtick-delimited string in a code span: `foo`

              +

              sth `` sth

              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/code_span.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/code_span.md new file mode 100644 index 0000000..c2f1a74 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/code_span.md @@ -0,0 +1,11 @@ +a `code span` + +`this is also a codespan` trailing text + +`and look at this one!` + +single backtick in a code span: `` ` `` + +backtick-delimited string in a code span: `` `foo` `` + +`sth `` sth` \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/compound_blockquote.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/compound_blockquote.html new file mode 100644 index 0000000..37afb57 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/compound_blockquote.html @@ -0,0 +1,9 @@ +
              +

              header

              +

              paragraph

              +
                +
              • li
              • +
              +
              +

              paragraph

              +
              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/compound_blockquote.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/compound_blockquote.md new file mode 100644 index 0000000..80c4aed --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/compound_blockquote.md @@ -0,0 +1,10 @@ +> header +> ------ +> +> paragraph +> +> - li +> +> --- +> +> paragraph \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/compound_emphasis.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/compound_emphasis.html new file mode 100644 index 0000000..178dd54 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/compound_emphasis.html @@ -0,0 +1,2 @@ +

              code code

              +

              codecodecode

              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/compound_emphasis.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/compound_emphasis.md new file mode 100644 index 0000000..6fe07f2 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/compound_emphasis.md @@ -0,0 +1,4 @@ +_`code`_ __`code`__ + +*`code`**`code`**`code`* + diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/compound_list.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/compound_list.html new file mode 100644 index 0000000..f5593c1 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/compound_list.html @@ -0,0 +1,12 @@ +
                +
              • +

                paragraph

                +

                paragraph

                +
              • +
              • +

                paragraph

                +
                +

                quote

                +
                +
              • +
              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/compound_list.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/compound_list.md new file mode 100644 index 0000000..ed7f0c6 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/compound_list.md @@ -0,0 +1,7 @@ +- paragraph + + paragraph + +- paragraph + + > quote \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/deeply_nested_list.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/deeply_nested_list.html new file mode 100644 index 0000000..d2c7e5a --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/deeply_nested_list.html @@ -0,0 +1,12 @@ +
                +
              • li +
                  +
                • li +
                    +
                  • li
                  • +
                  • li
                  • +
                • +
                • li
                • +
              • +
              • li
              • +
              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/deeply_nested_list.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/deeply_nested_list.md new file mode 100644 index 0000000..76b7552 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/deeply_nested_list.md @@ -0,0 +1,6 @@ +- li + - li + - li + - li + - li +- li \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/em_strong.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/em_strong.html new file mode 100644 index 0000000..323d60a --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/em_strong.html @@ -0,0 +1,8 @@ +

              em strong

              +

              em strong strong

              +

              strong em strong

              +

              strong em strong strong

              +

              em strong

              +

              em strong strong

              +

              strong em strong

              +

              strong em strong strong

              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/em_strong.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/em_strong.md new file mode 100644 index 0000000..9abeb3f --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/em_strong.md @@ -0,0 +1,15 @@ +___em strong___ + +___em strong_ strong__ + +__strong _em strong___ + +__strong _em strong_ strong__ + +***em strong*** + +***em strong* strong** + +**strong *em strong*** + +**strong *em strong* strong** \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/email.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/email.html new file mode 100644 index 0000000..c40759c --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/email.html @@ -0,0 +1 @@ +

              my email is me@example.com

              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/email.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/email.md new file mode 100644 index 0000000..26b7b6c --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/email.md @@ -0,0 +1 @@ +my email is \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/emphasis.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/emphasis.html new file mode 100644 index 0000000..60ff4bd --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/emphasis.html @@ -0,0 +1,8 @@ +

              underscore, asterisk, one two, three four, a, b

              +

              strong and em and strong and em

              +

              line +line +line

              +

              this_is_not_an_emphasis

              +

              an empty emphasis __ ** is not an emphasis

              +

              *mixed *double and single asterisk** spans

              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/emphasis.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/emphasis.md new file mode 100644 index 0000000..85b9d22 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/emphasis.md @@ -0,0 +1,13 @@ +_underscore_, *asterisk*, _one two_, *three four*, _a_, *b* + +**strong** and *em* and **strong** and *em* + +_line +line +line_ + +this_is_not_an_emphasis + +an empty emphasis __ ** is not an emphasis + +*mixed **double and* single asterisk** spans \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/escaping.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/escaping.html new file mode 100644 index 0000000..ab1c41f --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/escaping.html @@ -0,0 +1,6 @@ +

              escaped *emphasis*.

              +

              escaped \*emphasis\* in a code span

              +
              escaped \*emphasis\* in a code block
              +

              \ ` * _ { } [ ] ( ) > # + - . !

              +

              one_two one_two

              +

              one*two one*two

              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/escaping.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/escaping.md new file mode 100644 index 0000000..9f174e9 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/escaping.md @@ -0,0 +1,11 @@ +escaped \*emphasis\*. + +`escaped \*emphasis\* in a code span` + + escaped \*emphasis\* in a code block + +\\ \` \* \_ \{ \} \[ \] \( \) \> \# \+ \- \. \! + +_one\_two_ __one\_two__ + +*one\*two* **one\*two** \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/fenced_code_block.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/fenced_code_block.html new file mode 100644 index 0000000..8bdabba --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/fenced_code_block.html @@ -0,0 +1,6 @@ +
              <?php
              +
              +$message = 'fenced code block';
              +echo $message;
              +
              tilde
              +
              echo 'language identifier';
              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/fenced_code_block.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/fenced_code_block.md new file mode 100644 index 0000000..cbed8eb --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/fenced_code_block.md @@ -0,0 +1,14 @@ +``` + +
              +
              +
              +
              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/horizontal_rule.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/horizontal_rule.md new file mode 100644 index 0000000..bf461a9 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/horizontal_rule.md @@ -0,0 +1,9 @@ +--- + +- - - + + - - - + +*** + +___ \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/html_comment.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/html_comment.html new file mode 100644 index 0000000..566dc3a --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/html_comment.html @@ -0,0 +1,5 @@ + +

              paragraph

              + +

              paragraph

              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/html_comment.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/html_comment.md new file mode 100644 index 0000000..6ddfdb4 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/html_comment.md @@ -0,0 +1,8 @@ + + +paragraph + + + +paragraph \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/html_entity.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/html_entity.html new file mode 100644 index 0000000..4d23e3c --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/html_entity.html @@ -0,0 +1 @@ +

              & © {

              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/html_entity.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/html_entity.md new file mode 100644 index 0000000..ff545ea --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/html_entity.md @@ -0,0 +1 @@ +& © { \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/image_reference.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/image_reference.html new file mode 100644 index 0000000..67fbd2c --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/image_reference.html @@ -0,0 +1,2 @@ +

              Markdown Logo

              +

              ![missing reference]

              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/image_reference.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/image_reference.md new file mode 100644 index 0000000..1e11d94 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/image_reference.md @@ -0,0 +1,5 @@ +![Markdown Logo][image] + +[image]: /md.png + +![missing reference] \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/image_title.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/image_title.html new file mode 100644 index 0000000..957c950 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/image_title.html @@ -0,0 +1,2 @@ +

              alt

              +

              blank title

              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/image_title.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/image_title.md new file mode 100644 index 0000000..7ce2849 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/image_title.md @@ -0,0 +1,3 @@ +![alt](/md.png "title") + +![blank title](/md.png "") \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/implicit_reference.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/implicit_reference.html new file mode 100644 index 0000000..24b51c1 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/implicit_reference.html @@ -0,0 +1,4 @@ +

              an implicit reference link

              +

              an implicit reference link with an empty link definition

              +

              an implicit reference link followed by another

              +

              an explicit reference link with a title

              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/implicit_reference.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/implicit_reference.md new file mode 100644 index 0000000..f850df9 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/implicit_reference.md @@ -0,0 +1,13 @@ +an [implicit] reference link + +[implicit]: http://example.com + +an [implicit][] reference link with an empty link definition + +an [implicit][] reference link followed by [another][] + +[another]: http://cnn.com + +an [explicit][example] reference link with a title + +[example]: http://example.com "Example" \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/inline_link.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/inline_link.html new file mode 100644 index 0000000..5ad564a --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/inline_link.html @@ -0,0 +1,6 @@ +

              link

              +

              link with parentheses in URL

              +

              (link) in parentheses

              +

              link

              +

              MD Logo

              +

              MD Logo and text

              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/inline_link.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/inline_link.md new file mode 100644 index 0000000..6bac0b3 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/inline_link.md @@ -0,0 +1,11 @@ +[link](http://example.com) + +[link](/url-(parentheses)) with parentheses in URL + +([link](/index.php)) in parentheses + +[`link`](http://example.com) + +[![MD Logo](http://parsedown.org/md.png)](http://example.com) + +[![MD Logo](http://parsedown.org/md.png) and text](http://example.com) \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/inline_link_title.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/inline_link_title.html new file mode 100644 index 0000000..ecdfd03 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/inline_link_title.html @@ -0,0 +1,6 @@ +

              single quotes

              +

              double quotes

              +

              single quotes blank

              +

              double quotes blank

              +

              space

              +

              parentheses

              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/inline_link_title.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/inline_link_title.md new file mode 100644 index 0000000..6e1c5af --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/inline_link_title.md @@ -0,0 +1,11 @@ +[single quotes](http://example.com 'Title') + +[double quotes](http://example.com "Title") + +[single quotes blank](http://example.com '') + +[double quotes blank](http://example.com "") + +[space](http://example.com "2 Words") + +[parentheses](http://example.com/url-(parentheses) "Title") \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/inline_title.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/inline_title.html new file mode 100644 index 0000000..bbab93b --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/inline_title.html @@ -0,0 +1 @@ +

              single quotes and double quotes

              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/inline_title.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/inline_title.md new file mode 100644 index 0000000..cb09344 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/inline_title.md @@ -0,0 +1 @@ +[single quotes](http://example.com 'Example') and [double quotes](http://example.com "Example") \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/lazy_blockquote.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/lazy_blockquote.html new file mode 100644 index 0000000..0a2a2aa --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/lazy_blockquote.html @@ -0,0 +1,6 @@ +
              +

              quote +the rest of it

              +

              another paragraph +the rest of it

              +
              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/lazy_blockquote.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/lazy_blockquote.md new file mode 100644 index 0000000..48f645f --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/lazy_blockquote.md @@ -0,0 +1,5 @@ +> quote +the rest of it + +> another paragraph +the rest of it \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/lazy_list.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/lazy_list.html new file mode 100644 index 0000000..1a51992 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/lazy_list.html @@ -0,0 +1,4 @@ +
                +
              • li +the rest of it
              • +
              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/lazy_list.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/lazy_list.md new file mode 100644 index 0000000..62ad9d7 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/lazy_list.md @@ -0,0 +1,2 @@ +- li +the rest of it \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/line_break.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/line_break.html new file mode 100644 index 0000000..5f37d85 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/line_break.html @@ -0,0 +1,2 @@ +

              line
              +line

              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/line_break.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/line_break.md new file mode 100644 index 0000000..04dff43 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/line_break.md @@ -0,0 +1,2 @@ +line +line \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/multiline_list_paragraph.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/multiline_list_paragraph.html new file mode 100644 index 0000000..3247bd2 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/multiline_list_paragraph.html @@ -0,0 +1,7 @@ +
                +
              • +

                li

                +

                line +line

                +
              • +
              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/multiline_list_paragraph.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/multiline_list_paragraph.md new file mode 100644 index 0000000..f5b4272 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/multiline_list_paragraph.md @@ -0,0 +1,4 @@ +- li + + line + line \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/nested_block-level_html.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/nested_block-level_html.html new file mode 100644 index 0000000..bfbef54 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/nested_block-level_html.html @@ -0,0 +1,10 @@ +
              +_parent_ +
              +_child_ +
              +
              +_adopted child_
              +
              +
              +

              outside

              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/nested_block-level_html.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/nested_block-level_html.md new file mode 100644 index 0000000..5e01e10 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/nested_block-level_html.md @@ -0,0 +1,11 @@ +
              +_parent_ +
              +_child_ +
              +
              +_adopted child_
              +
              +
              + +_outside_ \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/ordered_list.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/ordered_list.html new file mode 100644 index 0000000..b6c5216 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/ordered_list.html @@ -0,0 +1,13 @@ +
                +
              1. one
              2. +
              3. two
              4. +
              +

              repeating numbers:

              +
                +
              1. one
              2. +
              3. two
              4. +
              +

              large numbers:

              +
                +
              1. one
              2. +
              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/ordered_list.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/ordered_list.md new file mode 100644 index 0000000..b307032 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/ordered_list.md @@ -0,0 +1,11 @@ +1. one +2. two + +repeating numbers: + +1. one +1. two + +large numbers: + +123. one \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/paragraph_list.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/paragraph_list.html new file mode 100644 index 0000000..ced1c43 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/paragraph_list.html @@ -0,0 +1,12 @@ +

              paragraph

              +
                +
              • li
              • +
              • li
              • +
              +

              paragraph

              +
                +
              • +

                li

                +
              • +
              • li
              • +
              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/paragraph_list.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/paragraph_list.md new file mode 100644 index 0000000..b973908 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/paragraph_list.md @@ -0,0 +1,9 @@ +paragraph +- li +- li + +paragraph + + * li + + * li \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/reference_title.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/reference_title.html new file mode 100644 index 0000000..8f2be94 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/reference_title.html @@ -0,0 +1,2 @@ +

              double quotes and single quotes and parentheses

              +

              [invalid title]: http://example.com example title

              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/reference_title.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/reference_title.md new file mode 100644 index 0000000..43cb217 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/reference_title.md @@ -0,0 +1,6 @@ +[double quotes] and [single quotes] and [parentheses] + +[double quotes]: http://example.com "example title" +[single quotes]: http://example.com 'example title' +[parentheses]: http://example.com (example title) +[invalid title]: http://example.com example title \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/self-closing_html.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/self-closing_html.html new file mode 100644 index 0000000..4d072b4 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/self-closing_html.html @@ -0,0 +1,12 @@ +
              +

              paragraph

              +
              +

              paragraph

              +
              +

              paragraph

              +
              +

              paragraph

              +
              +

              paragraph

              +
              +

              paragraph

              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/self-closing_html.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/self-closing_html.md new file mode 100644 index 0000000..acb2032 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/self-closing_html.md @@ -0,0 +1,12 @@ +
              +paragraph +
              +paragraph +
              +paragraph +
              +paragraph +
              +paragraph +
              +paragraph \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/separated_nested_list.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/separated_nested_list.html new file mode 100644 index 0000000..80a5cae --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/separated_nested_list.html @@ -0,0 +1,9 @@ +
                +
              • +

                li

                +
                  +
                • li
                • +
                • li
                • +
                +
              • +
              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/separated_nested_list.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/separated_nested_list.md new file mode 100644 index 0000000..d7cd1af --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/separated_nested_list.md @@ -0,0 +1,4 @@ +- li + + - li + - li \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/setext_header.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/setext_header.html new file mode 100644 index 0000000..60aac08 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/setext_header.html @@ -0,0 +1,5 @@ +

              h1

              +

              h2

              +

              single character

              +

              not a header

              +
              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/setext_header.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/setext_header.md new file mode 100644 index 0000000..c43b52c --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/setext_header.md @@ -0,0 +1,12 @@ +h1 +== + +h2 +-- + +single character +- + +not a header + +------------ \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/simple_blockquote.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/simple_blockquote.html new file mode 100644 index 0000000..8225d57 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/simple_blockquote.html @@ -0,0 +1,11 @@ +
              +

              quote

              +
              +

              indented:

              +
              +

              quote

              +
              +

              no space after >:

              +
              +

              quote

              +
              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/simple_blockquote.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/simple_blockquote.md new file mode 100644 index 0000000..22b6b11 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/simple_blockquote.md @@ -0,0 +1,7 @@ +> quote + +indented: + > quote + +no space after `>`: +>quote \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/simple_table.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/simple_table.html new file mode 100644 index 0000000..237d7ef --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/simple_table.html @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + +
              header 1header 2
              cell 1.1cell 1.2
              cell 2.1cell 2.2
              +
              + + + + + + + + + + + + + + + + + +
              header 1header 2
              cell 1.1cell 1.2
              cell 2.1cell 2.2
              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/simple_table.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/simple_table.md new file mode 100644 index 0000000..466d140 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/simple_table.md @@ -0,0 +1,11 @@ +header 1 | header 2 +-------- | -------- +cell 1.1 | cell 1.2 +cell 2.1 | cell 2.2 + +--- + +header 1 | header 2 +:------- | -------- +cell 1.1 | cell 1.2 +cell 2.1 | cell 2.2 \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/span-level_html.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/span-level_html.html new file mode 100644 index 0000000..f852a25 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/span-level_html.html @@ -0,0 +1,5 @@ +

              an important link

              +

              broken
              +line

              +

              inline tag at the beginning

              +

              http://example.com

              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/span-level_html.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/span-level_html.md new file mode 100644 index 0000000..f221965 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/span-level_html.md @@ -0,0 +1,8 @@ +an important link + +broken
              +line + +inline tag at the beginning + +http://example.com \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/sparse_dense_list.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/sparse_dense_list.html new file mode 100644 index 0000000..095bc73 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/sparse_dense_list.html @@ -0,0 +1,7 @@ +
                +
              • +

                li

                +
              • +
              • li
              • +
              • li
              • +
              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/sparse_dense_list.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/sparse_dense_list.md new file mode 100644 index 0000000..5768422 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/sparse_dense_list.md @@ -0,0 +1,4 @@ +- li + +- li +- li \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/sparse_html.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/sparse_html.html new file mode 100644 index 0000000..9e89627 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/sparse_html.html @@ -0,0 +1,8 @@ +
              +line 1 + +line 2 +line 3 + +line 4 +
              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/sparse_html.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/sparse_html.md new file mode 100644 index 0000000..9e89627 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/sparse_html.md @@ -0,0 +1,8 @@ +
              +line 1 + +line 2 +line 3 + +line 4 +
              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/sparse_list.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/sparse_list.html new file mode 100644 index 0000000..452b2b8 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/sparse_list.html @@ -0,0 +1,15 @@ +
                +
              • +

                li

                +
              • +
              • li
              • +
              +
              +
                +
              • +

                li

                +
                  +
                • indented li
                • +
                +
              • +
              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/sparse_list.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/sparse_list.md new file mode 100644 index 0000000..362a35f --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/sparse_list.md @@ -0,0 +1,9 @@ +- li + +- li + +--- + +- li + + - indented li \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/special_characters.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/special_characters.html new file mode 100644 index 0000000..3b652c3 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/special_characters.html @@ -0,0 +1,6 @@ +

              AT&T has an ampersand in their name

              +

              this & that

              +

              4 < 5 and 6 > 5

              +

              http://example.com/autolink?a=1&b=2

              +

              inline link

              +

              reference link

              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/special_characters.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/special_characters.md new file mode 100644 index 0000000..111b03b --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/special_characters.md @@ -0,0 +1,13 @@ +AT&T has an ampersand in their name + +this & that + +4 < 5 and 6 > 5 + + + +[inline link](/script?a=1&b=2) + +[reference link][1] + +[1]: http://example.com/?a=1&b=2 \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/strikethrough.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/strikethrough.html new file mode 100644 index 0000000..2a9da98 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/strikethrough.html @@ -0,0 +1,3 @@ +

              strikethrough

              +

              here's one followed by another one

              +

              ~~ this ~~ is not one neither is ~this~

              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/strikethrough.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/strikethrough.md new file mode 100644 index 0000000..d169144 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/strikethrough.md @@ -0,0 +1,5 @@ +~~strikethrough~~ + +here's ~~one~~ followed by ~~another one~~ + +~~ this ~~ is not one neither is ~this~ \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/strong_em.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/strong_em.html new file mode 100644 index 0000000..b709c99 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/strong_em.html @@ -0,0 +1,6 @@ +

              em strong em

              +

              strong em em

              +

              em strong em em

              +

              em strong em

              +

              strong em em

              +

              em strong em em

              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/strong_em.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/strong_em.md new file mode 100644 index 0000000..f2aa3c7 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/strong_em.md @@ -0,0 +1,11 @@ +*em **strong em*** + +***strong em** em* + +*em **strong em** em* + +_em __strong em___ + +___strong em__ em_ + +_em __strong em__ em_ \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/tab-indented_code_block.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/tab-indented_code_block.html new file mode 100644 index 0000000..7c140de --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/tab-indented_code_block.html @@ -0,0 +1,6 @@ +
              <?php
              +
              +$message = 'Hello World!';
              +echo $message;
              +
              +echo "following a blank line";
              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/tab-indented_code_block.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/tab-indented_code_block.md new file mode 100644 index 0000000..a405a16 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/tab-indented_code_block.md @@ -0,0 +1,6 @@ + + + +header 1 +header 2 + + + + +cell 1.1 +cell 1.2 + + +| 2.1 +| 2.2 + + +\| 2.1 +link + + + \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/table_inline_markdown.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/table_inline_markdown.md new file mode 100644 index 0000000..2f3c620 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/table_inline_markdown.md @@ -0,0 +1,5 @@ +| _header_ 1 | header 2 | +| ------------ | ------------ | +| _cell_ 1.1 | ~~cell~~ 1.2 | +| `|` 2.1 | \| 2.2 | +| `\|` 2.1 | [link](/) | \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/text_reference.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/text_reference.html new file mode 100644 index 0000000..11e4d37 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/text_reference.html @@ -0,0 +1,8 @@ +

              reference link

              +

              one with a semantic name

              +

              [one][404] with no definition

              +

              multiline +one defined on 2 lines

              +

              one with a mixed case label and an upper case definition

              +

              one with the a label on the next line

              +

              link

              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/text_reference.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/text_reference.md new file mode 100644 index 0000000..1a66a5c --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/text_reference.md @@ -0,0 +1,21 @@ +[reference link][1] + +[1]: http://example.com + +[one][website] with a semantic name + +[website]: http://example.com + +[one][404] with no definition + +[multiline +one][website] defined on 2 lines + +[one][Label] with a mixed case label and an upper case definition + +[LABEL]: http://example.com + +[one] +[1] with the a label on the next line + +[`link`][website] \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/unordered_list.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/unordered_list.html new file mode 100644 index 0000000..cd95567 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/unordered_list.html @@ -0,0 +1,10 @@ +
                +
              • li
              • +
              • li
              • +
              +

              mixed markers:

              +
                +
              • li
              • +
              • li
              • +
              • li
              • +
              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/unordered_list.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/unordered_list.md new file mode 100644 index 0000000..cf62c99 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/unordered_list.md @@ -0,0 +1,8 @@ +- li +- li + +mixed markers: + +* li ++ li +- li \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/untidy_table.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/untidy_table.html new file mode 100644 index 0000000..88e1c2b --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/untidy_table.html @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + +
              header 1header 2
              cell 1.1cell 1.2
              cell 2.1cell 2.2
              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/untidy_table.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/untidy_table.md new file mode 100644 index 0000000..8524eb1 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/untidy_table.md @@ -0,0 +1,4 @@ +| header 1 | header 2 | +| ------------- | ----------- | +| cell 1.1 | cell 1.2 | +| cell 2.1 | cell 2.2 | \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/url_autolinking.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/url_autolinking.html new file mode 100644 index 0000000..58ca94c --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/url_autolinking.html @@ -0,0 +1,3 @@ +

              an autolink http://example.com

              +

              inside of brackets [http://example.com], inside of braces {http://example.com}, inside of parentheses (http://example.com)

              +

              trailing slash http://example.com/ and http://example.com/path/

              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/url_autolinking.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/url_autolinking.md new file mode 100644 index 0000000..840f354 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/url_autolinking.md @@ -0,0 +1,5 @@ +an autolink http://example.com + +inside of brackets [http://example.com], inside of braces {http://example.com}, inside of parentheses (http://example.com) + +trailing slash http://example.com/ and http://example.com/path/ \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/whitespace.html b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/whitespace.html new file mode 100644 index 0000000..f2dd7a0 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/whitespace.html @@ -0,0 +1 @@ +
              code
              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/whitespace.md b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/whitespace.md new file mode 100644 index 0000000..4cf926a --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/erusev/parsedown/test/data/whitespace.md @@ -0,0 +1,5 @@ + + + code + + \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/CONTRIBUTING.md b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/CONTRIBUTING.md new file mode 100644 index 0000000..e852a93 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/CONTRIBUTING.md @@ -0,0 +1,22 @@ +# How to become a contributor and submit your own code + +## Contributor License Agreements + +We'd love to accept your code patches! However, before we can take them, we have to jump a couple of legal hurdles. + +Please fill out either the individual or corporate Contributor License Agreement (CLA). + + * If you are an individual writing original source code and you're sure you own the intellectual property, then you'll need to sign an [individual CLA](http://code.google.com/legal/individual-cla-v1.0.html). + * If you work for a company that wants to allow you to contribute your work to this client library, then you'll need to sign a[corporate CLA](http://code.google.com/legal/corporate-cla-v1.0.html). + +Follow either of the two links above to access the appropriate CLA and instructions for how to sign and return it. Once we receive it, we'll add you to the official list of contributors and be able to accept your patches. + +## Submitting Patches + +1. Fork the PHP client library on GitHub +1. Decide which code you want to submit. A submission should be a set of changes that addresses one issue in the issue tracker. Please file one change per issue, and address one issue per change. If you want to make a change that doesn't have a corresponding issue in the issue tracker, please file a new ticket! +1. Ensure that your code adheres to standard PHP conventions, as used in the rest of the library. +1. Ensure that there are unit tests for your code. +1. Sign a Contributor License Agreement (see above). +1. Submit a pull request with your patch on Github. + diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/LICENSE b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/LICENSE new file mode 100644 index 0000000..a148ba5 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/LICENSE @@ -0,0 +1,203 @@ +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + +"License" shall mean the terms and conditions for use, reproduction, +and distribution as defined by Sections 1 through 9 of this document. + +"Licensor" shall mean the copyright owner or entity authorized by +the copyright owner that is granting the License. + +"Legal Entity" shall mean the union of the acting entity and all +other entities that control, are controlled by, or are under common +control with that entity. For the purposes of this definition, +"control" means (i) the power, direct or indirect, to cause the +direction or management of such entity, whether by contract or +otherwise, or (ii) ownership of fifty percent (50%) or more of the +outstanding shares, or (iii) beneficial ownership of such entity. + +"You" (or "Your") shall mean an individual or Legal Entity +exercising permissions granted by this License. + +"Source" form shall mean the preferred form for making modifications, +including but not limited to software source code, documentation +source, and configuration files. + +"Object" form shall mean any form resulting from mechanical +transformation or translation of a Source form, including but +not limited to compiled object code, generated documentation, +and conversions to other media types. + +"Work" shall mean the work of authorship, whether in Source or +Object form, made available under the License, as indicated by a +copyright notice that is included in or attached to the work +(an example is provided in the Appendix below). + +"Derivative Works" shall mean any work, whether in Source or Object +form, that is based on (or derived from) the Work and for which the +editorial revisions, annotations, elaborations, or other modifications +represent, as a whole, an original work of authorship. For the purposes +of this License, Derivative Works shall not include works that remain +separable from, or merely link (or bind by name) to the interfaces of, +the Work and Derivative Works thereof. + +"Contribution" shall mean any work of authorship, including +the original version of the Work and any modifications or additions +to that Work or Derivative Works thereof, that is intentionally +submitted to Licensor for inclusion in the Work by the copyright owner +or by an individual or Legal Entity authorized to submit on behalf of +the copyright owner. For the purposes of this definition, "submitted" +means any form of electronic, verbal, or written communication sent +to the Licensor or its representatives, including but not limited to +communication on electronic mailing lists, source code control systems, +and issue tracking systems that are managed by, or on behalf of, the +Licensor for the purpose of discussing and improving the Work, but +excluding communication that is conspicuously marked or otherwise +designated in writing by the copyright owner as "Not a Contribution." + +"Contributor" shall mean Licensor and any individual or Legal Entity +on behalf of whom a Contribution has been received by Licensor and +subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of +this License, each Contributor hereby grants to You a perpetual, +worldwide, non-exclusive, no-charge, royalty-free, irrevocable +copyright license to reproduce, prepare Derivative Works of, +publicly display, publicly perform, sublicense, and distribute the +Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of +this License, each Contributor hereby grants to You a perpetual, +worldwide, non-exclusive, no-charge, royalty-free, irrevocable +(except as stated in this section) patent license to make, have made, +use, offer to sell, sell, import, and otherwise transfer the Work, +where such license applies only to those patent claims licensable +by such Contributor that are necessarily infringed by their +Contribution(s) alone or by combination of their Contribution(s) +with the Work to which such Contribution(s) was submitted. If You +institute patent litigation against any entity (including a +cross-claim or counterclaim in a lawsuit) alleging that the Work +or a Contribution incorporated within the Work constitutes direct +or contributory patent infringement, then any patent licenses +granted to You under this License for that Work shall terminate +as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the +Work or Derivative Works thereof in any medium, with or without +modifications, and in Source or Object form, provided that You +meet the following conditions: + +(a) You must give any other recipients of the Work or +Derivative Works a copy of this License; and + +(b) You must cause any modified files to carry prominent notices +stating that You changed the files; and + +(c) You must retain, in the Source form of any Derivative Works +that You distribute, all copyright, patent, trademark, and +attribution notices from the Source form of the Work, +excluding those notices that do not pertain to any part of +the Derivative Works; and + +(d) If the Work includes a "NOTICE" text file as part of its +distribution, then any Derivative Works that You distribute must +include a readable copy of the attribution notices contained +within such NOTICE file, excluding those notices that do not +pertain to any part of the Derivative Works, in at least one +of the following places: within a NOTICE text file distributed +as part of the Derivative Works; within the Source form or +documentation, if provided along with the Derivative Works; or, +within a display generated by the Derivative Works, if and +wherever such third-party notices normally appear. The contents +of the NOTICE file are for informational purposes only and +do not modify the License. You may add Your own attribution +notices within Derivative Works that You distribute, alongside +or as an addendum to the NOTICE text from the Work, provided +that such additional attribution notices cannot be construed +as modifying the License. + +You may add Your own copyright statement to Your modifications and +may provide additional or different license terms and conditions +for use, reproduction, or distribution of Your modifications, or +for any such Derivative Works as a whole, provided Your use, +reproduction, and distribution of the Work otherwise complies with +the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, +any Contribution intentionally submitted for inclusion in the Work +by You to the Licensor shall be under the terms and conditions of +this License, without any additional terms or conditions. +Notwithstanding the above, nothing herein shall supersede or modify +the terms of any separate license agreement you may have executed +with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade +names, trademarks, service marks, or product names of the Licensor, +except as required for reasonable and customary use in describing the +origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or +agreed to in writing, Licensor provides the Work (and each +Contributor provides its Contributions) on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +implied, including, without limitation, any warranties or conditions +of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A +PARTICULAR PURPOSE. You are solely responsible for determining the +appropriateness of using or redistributing the Work and assume any +risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, +whether in tort (including negligence), contract, or otherwise, +unless required by applicable law (such as deliberate and grossly +negligent acts) or agreed to in writing, shall any Contributor be +liable to You for damages, including any direct, indirect, special, +incidental, or consequential damages of any character arising as a +result of this License or out of the use or inability to use the +Work (including but not limited to damages for loss of goodwill, +work stoppage, computer failure or malfunction, or any and all +other commercial damages or losses), even if such Contributor +has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing +the Work or Derivative Works thereof, You may choose to offer, +and charge a fee for, acceptance of support, warranty, indemnity, +or other liability obligations and/or rights consistent with this +License. However, in accepting such obligations, You may act only +on Your own behalf and on Your sole responsibility, not on behalf +of any other Contributor, and only if You agree to indemnify, +defend, and hold each Contributor harmless for any liability +incurred by, or claims asserted against, such Contributor by reason +of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following +boilerplate notice, with the fields enclosed by brackets "[]" +replaced with your own identifying information. (Don't include +the brackets!) The text should be enclosed in the appropriate +comment syntax for the file format. We also recommend that a +file or class name and description of purpose be included on the +same "printed page" as the copyright notice for easier +identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + + diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/README.md b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/README.md new file mode 100644 index 0000000..d9797b8 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/README.md @@ -0,0 +1,105 @@ +[![Build Status](https://travis-ci.org/google/google-api-php-client.svg)](https://travis-ci.org/google/google-api-php-client) + +# Google APIs Client Library for PHP # + +## Description ## +The Google API Client Library enables you to work with Google APIs such as Google+, Drive, or YouTube on your server. + +## Beta ## +This library is in Beta. We're comfortable enough with the stability and features of the library that we want you to build real production applications on it. We will make an effort to support the public and protected surface of the library and maintain backwards compatibility in the future. While we are still in Beta, we reserve the right to make incompatible changes. If we do remove some functionality (typically because better functionality exists or if the feature proved infeasible), our intention is to deprecate and provide ample time for developers to update their code. + +## Requirements ## +* [PHP 5.2.1 or higher](http://www.php.net/) +* [PHP JSON extension](http://php.net/manual/en/book.json.php) + +*Note*: some features (service accounts and id token verification) require PHP 5.3.0 and above due to cryptographic algorithm requirements. + +## Developer Documentation ## +http://developers.google.com/api-client-library/php + +## Installation ## + +For the latest installation and setup instructions, see [the documentation](https://developers.google.com/api-client-library/php/start/installation). + +## Basic Example ## +See the examples/ directory for examples of the key client features. +```PHP +setApplicationName("Client_Library_Examples"); + $client->setDeveloperKey("YOUR_APP_KEY"); + + $service = new Google_Service_Books($client); + $optParams = array('filter' => 'free-ebooks'); + $results = $service->volumes->listVolumes('Henry David Thoreau', $optParams); + + foreach ($results as $item) { + echo $item['volumeInfo']['title'], "
              \n"; + } + +``` + +### Service Specific Examples ### + +YouTube: https://github.com/youtube/api-samples/tree/master/php + +## Frequently Asked Questions ## + +### What do I do if something isn't working? ### + +For support with the library the best place to ask is via the google-api-php-client tag on StackOverflow: http://stackoverflow.com/questions/tagged/google-api-php-client + +If there is a specific bug with the library, please file a issue in the Github issues tracker, including a (minimal) example of the failing code and any specific errors retrieved. Feature requests can also be filed, as long as they are core library requests, and not-API specific: for those, refer to the documentation for the individual APIs for the best place to file requests. Please try to provide a clear statement of the problem that the feature would address. + +### How do I contribute? ### + +We accept contributions via Github Pull Requests, but all contributors need to be covered by the standard Google Contributor License Agreement. You can find links, and more instructions, in the documentation: https://developers.google.com/api-client-library/php/contribute + +### I want an example of X! ### + +If X is a feature of the library, file away! If X is an example of using a specific service, the best place to go is to the teams for those specific APIs - our preference is to link to their examples rather than add them to the library, as they can then pin to specific versions of the library. If you have any examples for other APIs, let us know and we will happily add a link to the README above! + +### Why do you still support 5.2? ### + +When we started working on the 1.0.0 branch we knew there were several fundamental issues to fix with the 0.6 releases of the library. At that time we looked at the usage of the library, and other related projects, and determined that there was still a large and active base of PHP 5.2 installs. You can see this in statistics such as the PHP versions chart in the WordPress stats: http://wordpress.org/about/stats/. We will keep looking at the types of usage we see, and try to take advantage of newer PHP features where possible. + +### Why does Google_..._Service have weird names? ### + +The _Service classes are generally automatically generated from the API discovery documents: https://developers.google.com/discovery/. Sometimes new features are added to APIs with unusual names, which can cause some unexpected or non-standard style naming in the PHP classes. + +### How do I deal with non-JSON response types? ### + +Some services return XML or similar by default, rather than JSON, which is what the library supports. You can request a JSON response by adding an 'alt' argument to optional params that is normally the last argument to a method call: + +``` +$opt_params = array( + 'alt' => "json" +); +``` + +### How do I set a field to null? ### + +The library strips out nulls from the objects sent to the Google APIs as its the default value of all of the uninitialised properties. To work around this, set the field you want to null to Google_Model::NULL_VALUE. This is a placeholder that will be replaced with a true null when sent over the wire. + +## Code Quality ## + +Run the PHPUnit tests with PHPUnit. You can configure an API key and token in BaseTest.php to run all calls, but this will require some setup on the Google Developer Console. + + phpunit tests/ + +### Coding Style + +To check for coding style violations, run + +``` +vendor/bin/phpcs src --standard=style/ruleset.xml -np +``` + +To automatically fix (fixable) coding style violations, run + +``` +vendor/bin/phpcbf src --standard=style/ruleset.xml +``` diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/autoload.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/autoload.php new file mode 100644 index 0000000..4e50f13 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/autoload.php @@ -0,0 +1,26 @@ +=5.2.1" + }, + "require-dev": { + "phpunit/phpunit": "3.7.*", + "squizlabs/php_codesniffer": "~2.3" + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "extra": { + "branch-alias": { + "dev-master": "1.1.x-dev" + } + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/examples/appengineauth.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/examples/appengineauth.php new file mode 100644 index 0000000..7b147e9 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/examples/appengineauth.php @@ -0,0 +1,46 @@ +setApplicationName("Client_Library_Examples"); + +$auth = new Google_Auth_AppIdentity($client); +$token = $auth->authenticateForScope(Google_Service_Storage::DEVSTORAGE_READ_ONLY); +if (!$token) { + die("Could not authenticate to AppIdentity service"); +} +$client->setAuth($auth); + +$service = new Google_Service_Storage($client); +$results = $service->buckets->listBuckets(str_replace("s~", "", $_SERVER['APPLICATION_ID'])); + +echo "

              Results Of Call:

              "; +echo "
              ";
              +var_dump($results);
              +echo "
              "; + +echo pageFooter(__FILE__); diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/examples/batch.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/examples/batch.php new file mode 100644 index 0000000..3c8812f --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/examples/batch.php @@ -0,0 +1,82 @@ +setApplicationName("Client_Library_Examples"); +$apiKey = ""; // Change to your API key. +// Warn if the API key isn't changed! +if (strpos($apiKey, "<") !== false) { + echo missingApiKeyWarning(); + exit; +} else { + $client->setDeveloperKey($apiKey); + + $service = new Google_Service_Books($client); + + /************************************************ + To actually make the batch call we need to + enable batching on the client - this will apply + globally until we set it to false. This causes + call to the service methods to return the query + rather than immediately executing. + ************************************************/ + $client->setUseBatch(true); + + /************************************************ + We then create a batch, and add each query we + want to execute with keys of our choice - these + keys will be reflected in the returned array. + ************************************************/ + $batch = new Google_Http_Batch($client); + $optParams = array('filter' => 'free-ebooks'); + $req1 = $service->volumes->listVolumes('Henry David Thoreau', $optParams); + $batch->add($req1, "thoreau"); + $req2 = $service->volumes->listVolumes('George Bernard Shaw', $optParams); + $batch->add($req2, "shaw"); + + /************************************************ + Executing the batch will send all requests off + at once. + ************************************************/ + $results = $batch->execute(); + + echo "

              Results Of Call 1:

              "; + foreach ($results['response-thoreau'] as $item) { + echo $item['volumeInfo']['title'], "
              \n"; + } + echo "

              Results Of Call 2:

              "; + foreach ($results['response-shaw'] as $item) { + echo $item['volumeInfo']['title'], "
              \n"; + } +} + +echo pageFooter(__FILE__); diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/examples/fileupload.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/examples/fileupload.php new file mode 100644 index 0000000..2247087 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/examples/fileupload.php @@ -0,0 +1,154 @@ +'; +$client_secret = ''; +$redirect_uri = ''; + +$client = new Google_Client(); +$client->setClientId($client_id); +$client->setClientSecret($client_secret); +$client->setRedirectUri($redirect_uri); +$client->addScope("https://www.googleapis.com/auth/drive"); +$service = new Google_Service_Drive($client); + +if (isset($_REQUEST['logout'])) { + unset($_SESSION['upload_token']); +} + +if (isset($_GET['code'])) { + $client->authenticate($_GET['code']); + $_SESSION['upload_token'] = $client->getAccessToken(); + $redirect = 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']; + header('Location: ' . filter_var($redirect, FILTER_SANITIZE_URL)); +} + +if (isset($_SESSION['upload_token']) && $_SESSION['upload_token']) { + $client->setAccessToken($_SESSION['upload_token']); + if ($client->isAccessTokenExpired()) { + unset($_SESSION['upload_token']); + } +} else { + $authUrl = $client->createAuthUrl(); +} + +/************************************************ + If we're signed in then lets try to upload our + file. + ************************************************/ +if ($client->getAccessToken()) { + $file = new Google_Service_Drive_DriveFile(); + $file->title = "Big File"; + $chunkSizeBytes = 1 * 1024 * 1024; + + // Call the API with the media upload, defer so it doesn't immediately return. + $client->setDefer(true); + $request = $service->files->insert($file); + + // Create a media file upload to represent our upload process. + $media = new Google_Http_MediaFileUpload( + $client, + $request, + 'text/plain', + null, + true, + $chunkSizeBytes + ); + $media->setFileSize(filesize(TESTFILE)); + + // Upload the various chunks. $status will be false until the process is + // complete. + $status = false; + $handle = fopen(TESTFILE, "rb"); + while (!$status && !feof($handle)) { + // read until you get $chunkSizeBytes from TESTFILE + // fread will never return more than 8192 bytes if the stream is read buffered and it does not represent a plain file + // An example of a read buffered file is when reading from a URL + $chunk = readVideoChunk($handle, $chunkSizeBytes); + $status = $media->nextChunk($chunk); + } + + // The final value of $status will be the data from the API for the object + // that has been uploaded. + $result = false; + if ($status != false) { + $result = $status; + } + + fclose($handle); +} +echo pageHeader("File Upload - Uploading a large file"); +if (strpos($client_id, "googleusercontent") == false) { + echo missingClientSecretsWarning(); + exit; +} +function readVideoChunk ($handle, $chunkSize) +{ + $byteCount = 0; + $giantChunk = ""; + while (!feof($handle)) { + // fread will never return more than 8192 bytes if the stream is read buffered and it does not represent a plain file + $chunk = fread($handle, 8192); + $byteCount += strlen($chunk); + $giantChunk .= $chunk; + if ($byteCount >= $chunkSize) + { + return $giantChunk; + } + } + return $giantChunk; +} +?> +
              +
              +Connect Me!"; +} +?> +
              + +
              + +
              +
              +'; +$client_secret = ''; +$redirect_uri = ''; + +$client = new Google_Client(); +$client->setClientId($client_id); +$client->setClientSecret($client_secret); +$client->setRedirectUri($redirect_uri); +$client->setScopes('email'); + +/************************************************ + If we're logging out we just need to clear our + local access token in this case + ************************************************/ +if (isset($_REQUEST['logout'])) { + unset($_SESSION['access_token']); +} + +/************************************************ + If we have a code back from the OAuth 2.0 flow, + we need to exchange that with the authenticate() + function. We store the resultant access token + bundle in the session, and redirect to ourself. + ************************************************/ +if (isset($_GET['code'])) { + $client->authenticate($_GET['code']); + $_SESSION['access_token'] = $client->getAccessToken(); + $redirect = 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']; + header('Location: ' . filter_var($redirect, FILTER_SANITIZE_URL)); +} + +/************************************************ + If we have an access token, we can make + requests, else we generate an authentication URL. + ************************************************/ +if (isset($_SESSION['access_token']) && $_SESSION['access_token']) { + $client->setAccessToken($_SESSION['access_token']); +} else { + $authUrl = $client->createAuthUrl(); +} + +/************************************************ + If we're signed in we can go ahead and retrieve + the ID token, which is part of the bundle of + data that is exchange in the authenticate step + - we only need to do a network call if we have + to retrieve the Google certificate to verify it, + and that can be cached. + ************************************************/ +if ($client->getAccessToken()) { + $_SESSION['access_token'] = $client->getAccessToken(); + $token_data = $client->verifyIdToken()->getAttributes(); +} + +echo pageHeader("User Query - Retrieving An Id Token"); +if (strpos($client_id, "googleusercontent") == false) { + echo missingClientSecretsWarning(); + exit; +} +?> +
              +
              +Connect Me!"; +} else { + echo "Logout"; +} +?> +
              + +
              + +
              +
              + + +'; + $client_secret = ''; + $redirect_uri = ''; + +/************************************************ + Make an API request on behalf of a user. In + this case we need to have a valid OAuth 2.0 + token for the user, so we need to send them + through a login flow. To do this we need some + information from our API console project. + ************************************************/ +$client = new Google_Client(); +$client->setClientId($client_id); +$client->setClientSecret($client_secret); +$client->setRedirectUri($redirect_uri); +$client->addScope("https://www.googleapis.com/auth/drive"); +$client->addScope("https://www.googleapis.com/auth/youtube"); + +/************************************************ + We are going to create both YouTube and Drive + services, and query both. + ************************************************/ +$yt_service = new Google_Service_YouTube($client); +$dr_service = new Google_Service_Drive($client); + + +/************************************************ + Boilerplate auth management - see + user-example.php for details. + ************************************************/ +if (isset($_REQUEST['logout'])) { + unset($_SESSION['access_token']); +} +if (isset($_GET['code'])) { + $client->authenticate($_GET['code']); + $_SESSION['access_token'] = $client->getAccessToken(); + $redirect = 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']; + header('Location: ' . filter_var($redirect, FILTER_SANITIZE_URL)); +} + +if (isset($_SESSION['access_token']) && $_SESSION['access_token']) { + $client->setAccessToken($_SESSION['access_token']); +} else { + $authUrl = $client->createAuthUrl(); +} + +/************************************************ + If we're signed in, retrieve channels from YouTube + and a list of files from Drive. + ************************************************/ +if ($client->getAccessToken()) { + $_SESSION['access_token'] = $client->getAccessToken(); + + $dr_results = $dr_service->files->listFiles(array('maxResults' => 10)); + + $yt_channels = $yt_service->channels->listChannels('contentDetails', array("mine" => true)); + $likePlaylist = $yt_channels[0]->contentDetails->relatedPlaylists->likes; + $yt_results = $yt_service->playlistItems->listPlaylistItems( + "snippet", + array("playlistId" => $likePlaylist) + ); +} + +echo pageHeader("User Query - Multiple APIs"); +if (strpos($client_id, "googleusercontent") == false) { + echo missingClientSecretsWarning(); + exit; +} +?> +
              +
              +Connect Me!"; +} else { + echo "

              Results Of Drive List:

              "; + foreach ($dr_results as $item) { + echo $item->title, "
              \n"; + } + + echo "

              Results Of YouTube Likes:

              "; + foreach ($yt_results as $item) { + echo $item['snippet']['title'], "
              \n"; + } +} ?> +
              +
              +'; //Client ID +$service_account_name = ''; //Email Address +$key_file_location = ''; //key.p12 + +echo pageHeader("Service Account Access"); +if (strpos($client_id, "googleusercontent") == false + || !strlen($service_account_name) + || !strlen($key_file_location)) { + echo missingServiceAccountDetailsWarning(); + exit; +} + +$client = new Google_Client(); +$client->setApplicationName("Client_Library_Examples"); +$service = new Google_Service_Books($client); + +/************************************************ + If we have an access token, we can carry on. + Otherwise, we'll get one with the help of an + assertion credential. In other examples the list + of scopes was managed by the Client, but here + we have to list them manually. We also supply + the service account + ************************************************/ +if (isset($_SESSION['service_token'])) { + $client->setAccessToken($_SESSION['service_token']); +} +$key = file_get_contents($key_file_location); +$cred = new Google_Auth_AssertionCredentials( + $service_account_name, + array('https://www.googleapis.com/auth/books'), + $key +); +$client->setAssertionCredentials($cred); +if ($client->getAuth()->isAccessTokenExpired()) { + $client->getAuth()->refreshTokenWithAssertion($cred); +} +$_SESSION['service_token'] = $client->getAccessToken(); + +/************************************************ + We're just going to make the same call as in the + simple query as an example. + ************************************************/ +$optParams = array('filter' => 'free-ebooks'); +$results = $service->volumes->listVolumes('Henry David Thoreau', $optParams); +echo "

              Results Of Call:

              "; +foreach ($results as $item) { + echo $item['volumeInfo']['title'], "
              \n"; +} + +echo pageFooter(__FILE__); diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/examples/simple-query.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/examples/simple-query.php new file mode 100644 index 0000000..c0f1149 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/examples/simple-query.php @@ -0,0 +1,87 @@ +setApplicationName("Client_Library_Examples"); +$apiKey = ""; // Change this line. +// Warn if the API key isn't changed. +if (strpos($apiKey, "<") !== false) { + echo missingApiKeyWarning(); + exit; +} +$client->setDeveloperKey($apiKey); + +$service = new Google_Service_Books($client); + +/************************************************ + We make a call to our service, which will + normally map to the structure of the API. + In this case $service is Books API, the + resource is volumes, and the method is + listVolumes. We pass it a required parameters + (the query), and an array of named optional + parameters. + ************************************************/ +$optParams = array('filter' => 'free-ebooks'); +$results = $service->volumes->listVolumes('Henry David Thoreau', $optParams); + +/************************************************ + This call returns a list of volumes, so we + can iterate over them as normal with any + array. + Some calls will return a single item which we + can immediately use. The individual responses + are typed as Google_Service_Books_Volume, but + can be treated as an array. + ***********************************************/ +echo "

              Results Of Call:

              "; +foreach ($results as $item) { + echo $item['volumeInfo']['title'], "
              \n"; +} + +/************************************************ + This is an example of deferring a call. + ***********************************************/ +$client->setDefer(true); +$optParams = array('filter' => 'free-ebooks'); +$request = $service->volumes->listVolumes('Henry David Thoreau', $optParams); +$results = $client->execute($request); + +echo "

              Results Of Deferred Call:

              "; +foreach ($results as $item) { + echo $item['volumeInfo']['title'], "
              \n"; +} + +echo pageFooter(__FILE__); diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/examples/simplefileupload.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/examples/simplefileupload.php new file mode 100644 index 0000000..4525998 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/examples/simplefileupload.php @@ -0,0 +1,123 @@ +'; +$client_secret = ''; +$redirect_uri = ''; + +$client = new Google_Client(); +$client->setClientId($client_id); +$client->setClientSecret($client_secret); +$client->setRedirectUri($redirect_uri); +$client->addScope("https://www.googleapis.com/auth/drive"); +$service = new Google_Service_Drive($client); + +if (isset($_REQUEST['logout'])) { + unset($_SESSION['upload_token']); +} + +if (isset($_GET['code'])) { + $client->authenticate($_GET['code']); + $_SESSION['upload_token'] = $client->getAccessToken(); + $redirect = 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']; + header('Location: ' . filter_var($redirect, FILTER_SANITIZE_URL)); +} + +if (isset($_SESSION['upload_token']) && $_SESSION['upload_token']) { + $client->setAccessToken($_SESSION['upload_token']); + if ($client->isAccessTokenExpired()) { + unset($_SESSION['upload_token']); + } +} else { + $authUrl = $client->createAuthUrl(); +} + +/************************************************ + If we're signed in then lets try to upload our + file. For larger files, see fileupload.php. + ************************************************/ +if ($client->getAccessToken()) { + // This is uploading a file directly, with no metadata associated. + $file = new Google_Service_Drive_DriveFile(); + $result = $service->files->insert( + $file, + array( + 'data' => file_get_contents(TESTFILE), + 'mimeType' => 'application/octet-stream', + 'uploadType' => 'media' + ) + ); + + // Now lets try and send the metadata as well using multipart! + $file = new Google_Service_Drive_DriveFile(); + $file->setTitle("Hello World!"); + $result2 = $service->files->insert( + $file, + array( + 'data' => file_get_contents(TESTFILE), + 'mimeType' => 'application/octet-stream', + 'uploadType' => 'multipart' + ) + ); +} + +echo pageHeader("File Upload - Uploading a small file"); +if (strpos($client_id, "googleusercontent") == false) { + echo missingClientSecretsWarning(); + exit; +} +?> +
              +
              +Connect Me!"; +} +?> +
              + +
              +title); + var_dump($result2->title); +} +?> +
              +
              + + + + " . $title . " + + + \n"; + if ($_SERVER['PHP_SELF'] != "/index.php") { + $ret .= "

              Back

              "; + } + $ret .= "

              " . $title . "

              "; + } + return $ret; +} + + +function pageFooter($file = null) +{ + $ret = ""; + if (isWebRequest()) { + // Echo the code if in an example. + if ($file) { + $ret .= "

              Code:

              "; + $ret .= "
              ";
              +      $ret .= htmlspecialchars(file_get_contents($file));
              +      $ret .= "
              "; + } + $ret .= ""; + } + return $ret; +} + +function missingApiKeyWarning() +{ + $ret = ""; + if (isWebRequest()) { + $ret = " +

              + Warning: You need to set a Simple API Access key from the + Google API console +

              "; + } else { + $ret = "Warning: You need to set a Simple API Access key from the Google API console:"; + $ret .= "\nhttp://developers.google.com/console\n"; + } + return $ret; +} + +function missingClientSecretsWarning() +{ + $ret = ""; + if (isWebRequest()) { + $ret = " +

              + Warning: You need to set Client ID, Client Secret and Redirect URI from the + Google API console +

              "; + } else { + $ret = "Warning: You need to set Client ID, Client Secret and Redirect URI from the"; + $ret .= " Google API console:\nhttp://developers.google.com/console\n"; + } + return $ret; +} + +function missingServiceAccountDetailsWarning() +{ + $ret = ""; + if (isWebRequest()) { + $ret = " +

              + Warning: You need to set Client ID, Email address and the location of the Key from the + Google API console +

              "; + } else { + $ret = "Warning: You need to set Client ID, Email address and the location of the Key from the"; + $ret .= " Google API console:\nhttp://developers.google.com/console\n"; + } + return $ret; +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/examples/user-example.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/examples/user-example.php new file mode 100644 index 0000000..df09e45 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/examples/user-example.php @@ -0,0 +1,132 @@ +'; + $client_secret = ''; + $redirect_uri = ''; + +/************************************************ + Make an API request on behalf of a user. In + this case we need to have a valid OAuth 2.0 + token for the user, so we need to send them + through a login flow. To do this we need some + information from our API console project. + ************************************************/ +$client = new Google_Client(); +$client->setClientId($client_id); +$client->setClientSecret($client_secret); +$client->setRedirectUri($redirect_uri); +$client->addScope("https://www.googleapis.com/auth/urlshortener"); + +/************************************************ + When we create the service here, we pass the + client to it. The client then queries the service + for the required scopes, and uses that when + generating the authentication URL later. + ************************************************/ +$service = new Google_Service_Urlshortener($client); + +/************************************************ + If we're logging out we just need to clear our + local access token in this case + ************************************************/ +if (isset($_REQUEST['logout'])) { + unset($_SESSION['access_token']); +} + +/************************************************ + If we have a code back from the OAuth 2.0 flow, + we need to exchange that with the authenticate() + function. We store the resultant access token + bundle in the session, and redirect to ourself. + ************************************************/ +if (isset($_GET['code'])) { + $client->authenticate($_GET['code']); + $_SESSION['access_token'] = $client->getAccessToken(); + $redirect = 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']; + header('Location: ' . filter_var($redirect, FILTER_SANITIZE_URL)); +} + +/************************************************ + If we have an access token, we can make + requests, else we generate an authentication URL. + ************************************************/ +if (isset($_SESSION['access_token']) && $_SESSION['access_token']) { + $client->setAccessToken($_SESSION['access_token']); +} else { + $authUrl = $client->createAuthUrl(); +} + +/************************************************ + If we're signed in and have a request to shorten + a URL, then we create a new URL object, set the + unshortened URL, and call the 'insert' method on + the 'url' resource. Note that we re-store the + access_token bundle, just in case anything + changed during the request - the main thing that + might happen here is the access token itself is + refreshed if the application has offline access. + ************************************************/ +if ($client->getAccessToken() && isset($_GET['url'])) { + $url = new Google_Service_Urlshortener_Url(); + $url->longUrl = $_GET['url']; + $short = $service->url->insert($url); + $_SESSION['access_token'] = $client->getAccessToken(); +} + +echo pageHeader("User Query - URL Shortener"); +if (strpos($client_id, "googleusercontent") == false) { + echo missingClientSecretsWarning(); + exit; +} +?> +
              +
              +Connect Me!"; +} else { + echo << + + + + Logout +END; +} +?> +
              + +
              + +
              +
              + + + + + tests/youtube + + + tests/tasks + + + tests/pagespeed + + + tests/urlshortener + + + tests/plus + + + tests/adsense + + + tests/general + + + + + tests + + + diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Auth/Abstract.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Auth/Abstract.php new file mode 100644 index 0000000..4cd7b55 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Auth/Abstract.php @@ -0,0 +1,38 @@ + + * + */ +abstract class Google_Auth_Abstract +{ + /** + * An utility function that first calls $this->auth->sign($request) and then + * executes makeRequest() on that signed request. Used for when a request + * should be authenticated + * @param Google_Http_Request $request + * @return Google_Http_Request $request + */ + abstract public function authenticatedRequest(Google_Http_Request $request); + abstract public function sign(Google_Http_Request $request); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Auth/AppIdentity.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Auth/AppIdentity.php new file mode 100644 index 0000000..5fb6699 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Auth/AppIdentity.php @@ -0,0 +1,120 @@ +client = $client; + } + + /** + * Retrieve an access token for the scopes supplied. + */ + public function authenticateForScope($scopes) + { + if ($this->token && $this->tokenScopes == $scopes) { + return $this->token; + } + + $cacheKey = self::CACHE_PREFIX; + if (is_string($scopes)) { + $cacheKey .= $scopes; + } else if (is_array($scopes)) { + $cacheKey .= implode(":", $scopes); + } + + $this->token = $this->client->getCache()->get($cacheKey); + if (!$this->token) { + $this->retrieveToken($scopes, $cacheKey); + } else if ($this->token['expiration_time'] < time()) { + $this->client->getCache()->delete($cacheKey); + $this->retrieveToken($scopes, $cacheKey); + } + + $this->tokenScopes = $scopes; + return $this->token; + } + + /** + * Retrieve a new access token and store it in cache + * @param mixed $scopes + * @param string $cacheKey + */ + private function retrieveToken($scopes, $cacheKey) + { + $this->token = AppIdentityService::getAccessToken($scopes); + if ($this->token) { + $this->client->getCache()->set( + $cacheKey, + $this->token + ); + } + } + + /** + * Perform an authenticated / signed apiHttpRequest. + * This function takes the apiHttpRequest, calls apiAuth->sign on it + * (which can modify the request in what ever way fits the auth mechanism) + * and then calls apiCurlIO::makeRequest on the signed request + * + * @param Google_Http_Request $request + * @return Google_Http_Request The resulting HTTP response including the + * responseHttpCode, responseHeaders and responseBody. + */ + public function authenticatedRequest(Google_Http_Request $request) + { + $request = $this->sign($request); + return $this->client->getIo()->makeRequest($request); + } + + public function sign(Google_Http_Request $request) + { + if (!$this->token) { + // No token, so nothing to do. + return $request; + } + + $this->client->getLogger()->debug('App Identity authentication'); + + // Add the OAuth2 header to the request + $request->setRequestHeaders( + array('Authorization' => 'Bearer ' . $this->token['access_token']) + ); + + return $request; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Auth/AssertionCredentials.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Auth/AssertionCredentials.php new file mode 100644 index 0000000..831d374 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Auth/AssertionCredentials.php @@ -0,0 +1,136 @@ +serviceAccountName = $serviceAccountName; + $this->scopes = is_string($scopes) ? $scopes : implode(' ', $scopes); + $this->privateKey = $privateKey; + $this->privateKeyPassword = $privateKeyPassword; + $this->assertionType = $assertionType; + $this->sub = $sub; + $this->prn = $sub; + $this->useCache = $useCache; + } + + /** + * Generate a unique key to represent this credential. + * @return string + */ + public function getCacheKey() + { + if (!$this->useCache) { + return false; + } + $h = $this->sub; + $h .= $this->assertionType; + $h .= $this->privateKey; + $h .= $this->scopes; + $h .= $this->serviceAccountName; + return md5($h); + } + + public function generateAssertion() + { + $now = time(); + + $jwtParams = array( + 'aud' => Google_Auth_OAuth2::OAUTH2_TOKEN_URI, + 'scope' => $this->scopes, + 'iat' => $now, + 'exp' => $now + self::MAX_TOKEN_LIFETIME_SECS, + 'iss' => $this->serviceAccountName, + ); + + if ($this->sub !== false) { + $jwtParams['sub'] = $this->sub; + } else if ($this->prn !== false) { + $jwtParams['prn'] = $this->prn; + } + + return $this->makeSignedJwt($jwtParams); + } + + /** + * Creates a signed JWT. + * @param array $payload + * @return string The signed JWT. + */ + private function makeSignedJwt($payload) + { + $header = array('typ' => 'JWT', 'alg' => 'RS256'); + + $payload = json_encode($payload); + // Handle some overzealous escaping in PHP json that seemed to cause some errors + // with claimsets. + $payload = str_replace('\/', '/', $payload); + + $segments = array( + Google_Utils::urlSafeB64Encode(json_encode($header)), + Google_Utils::urlSafeB64Encode($payload) + ); + + $signingInput = implode('.', $segments); + $signer = new Google_Signer_P12($this->privateKey, $this->privateKeyPassword); + $signature = $signer->sign($signingInput); + $segments[] = Google_Utils::urlSafeB64Encode($signature); + + return implode(".", $segments); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Auth/ComputeEngine.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Auth/ComputeEngine.php new file mode 100644 index 0000000..88ff6ff --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Auth/ComputeEngine.php @@ -0,0 +1,146 @@ + + */ +class Google_Auth_ComputeEngine extends Google_Auth_Abstract +{ + const METADATA_AUTH_URL = + 'http://metadata/computeMetadata/v1/instance/service-accounts/default/token'; + private $client; + private $token; + + public function __construct(Google_Client $client, $config = null) + { + $this->client = $client; + } + + /** + * Perform an authenticated / signed apiHttpRequest. + * This function takes the apiHttpRequest, calls apiAuth->sign on it + * (which can modify the request in what ever way fits the auth mechanism) + * and then calls apiCurlIO::makeRequest on the signed request + * + * @param Google_Http_Request $request + * @return Google_Http_Request The resulting HTTP response including the + * responseHttpCode, responseHeaders and responseBody. + */ + public function authenticatedRequest(Google_Http_Request $request) + { + $request = $this->sign($request); + return $this->client->getIo()->makeRequest($request); + } + + /** + * @param string $token + * @throws Google_Auth_Exception + */ + public function setAccessToken($token) + { + $token = json_decode($token, true); + if ($token == null) { + throw new Google_Auth_Exception('Could not json decode the token'); + } + if (! isset($token['access_token'])) { + throw new Google_Auth_Exception("Invalid token format"); + } + $token['created'] = time(); + $this->token = $token; + } + + public function getAccessToken() + { + return json_encode($this->token); + } + + /** + * Acquires a new access token from the compute engine metadata server. + * @throws Google_Auth_Exception + */ + public function acquireAccessToken() + { + $request = new Google_Http_Request( + self::METADATA_AUTH_URL, + 'GET', + array( + 'Metadata-Flavor' => 'Google' + ) + ); + $request->disableGzip(); + $response = $this->client->getIo()->makeRequest($request); + + if ($response->getResponseHttpCode() == 200) { + $this->setAccessToken($response->getResponseBody()); + $this->token['created'] = time(); + return $this->getAccessToken(); + } else { + throw new Google_Auth_Exception( + sprintf( + "Error fetching service account access token, message: '%s'", + $response->getResponseBody() + ), + $response->getResponseHttpCode() + ); + } + } + + /** + * Include an accessToken in a given apiHttpRequest. + * @param Google_Http_Request $request + * @return Google_Http_Request + * @throws Google_Auth_Exception + */ + public function sign(Google_Http_Request $request) + { + if ($this->isAccessTokenExpired()) { + $this->acquireAccessToken(); + } + + $this->client->getLogger()->debug('Compute engine service account authentication'); + + $request->setRequestHeaders( + array('Authorization' => 'Bearer ' . $this->token['access_token']) + ); + + return $request; + } + + /** + * Returns if the access_token is expired. + * @return bool Returns True if the access_token is expired. + */ + public function isAccessTokenExpired() + { + if (!$this->token || !isset($this->token['created'])) { + return true; + } + + // If the token is set to expire in the next 30 seconds. + $expired = ($this->token['created'] + + ($this->token['expires_in'] - 30)) < time(); + + return $expired; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Auth/Exception.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Auth/Exception.php new file mode 100644 index 0000000..e4b75c1 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Auth/Exception.php @@ -0,0 +1,24 @@ + + */ +class Google_Auth_LoginTicket +{ + const USER_ATTR = "sub"; + + // Information from id token envelope. + private $envelope; + + // Information from id token payload. + private $payload; + + /** + * Creates a user based on the supplied token. + * + * @param string $envelope Header from a verified authentication token. + * @param string $payload Information from a verified authentication token. + */ + public function __construct($envelope, $payload) + { + $this->envelope = $envelope; + $this->payload = $payload; + } + + /** + * Returns the numeric identifier for the user. + * @throws Google_Auth_Exception + * @return + */ + public function getUserId() + { + if (array_key_exists(self::USER_ATTR, $this->payload)) { + return $this->payload[self::USER_ATTR]; + } + throw new Google_Auth_Exception("No user_id in token"); + } + + /** + * Returns attributes from the login ticket. This can contain + * various information about the user session. + * @return array + */ + public function getAttributes() + { + return array("envelope" => $this->envelope, "payload" => $this->payload); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Auth/OAuth2.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Auth/OAuth2.php new file mode 100644 index 0000000..40f2076 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Auth/OAuth2.php @@ -0,0 +1,646 @@ +client = $client; + } + + /** + * Perform an authenticated / signed apiHttpRequest. + * This function takes the apiHttpRequest, calls apiAuth->sign on it + * (which can modify the request in what ever way fits the auth mechanism) + * and then calls apiCurlIO::makeRequest on the signed request + * + * @param Google_Http_Request $request + * @return Google_Http_Request The resulting HTTP response including the + * responseHttpCode, responseHeaders and responseBody. + */ + public function authenticatedRequest(Google_Http_Request $request) + { + $request = $this->sign($request); + return $this->client->getIo()->makeRequest($request); + } + + /** + * @param string $code + * @param boolean $crossClient + * @throws Google_Auth_Exception + * @return string + */ + public function authenticate($code, $crossClient = false) + { + if (strlen($code) == 0) { + throw new Google_Auth_Exception("Invalid code"); + } + + $arguments = array( + 'code' => $code, + 'grant_type' => 'authorization_code', + 'client_id' => $this->client->getClassConfig($this, 'client_id'), + 'client_secret' => $this->client->getClassConfig($this, 'client_secret') + ); + + if ($crossClient !== true) { + $arguments['redirect_uri'] = $this->client->getClassConfig($this, 'redirect_uri'); + } + + // We got here from the redirect from a successful authorization grant, + // fetch the access token + $request = new Google_Http_Request( + self::OAUTH2_TOKEN_URI, + 'POST', + array(), + $arguments + ); + $request->disableGzip(); + $response = $this->client->getIo()->makeRequest($request); + + if ($response->getResponseHttpCode() == 200) { + $this->setAccessToken($response->getResponseBody()); + $this->token['created'] = time(); + return $this->getAccessToken(); + } else { + $decodedResponse = json_decode($response->getResponseBody(), true); + if ($decodedResponse != null && $decodedResponse['error']) { + $errorText = $decodedResponse['error']; + if (isset($decodedResponse['error_description'])) { + $errorText .= ": " . $decodedResponse['error_description']; + } + } + throw new Google_Auth_Exception( + sprintf( + "Error fetching OAuth2 access token, message: '%s'", + $errorText + ), + $response->getResponseHttpCode() + ); + } + } + + /** + * Create a URL to obtain user authorization. + * The authorization endpoint allows the user to first + * authenticate, and then grant/deny the access request. + * @param string $scope The scope is expressed as a list of space-delimited strings. + * @return string + */ + public function createAuthUrl($scope) + { + $params = array( + 'response_type' => 'code', + 'redirect_uri' => $this->client->getClassConfig($this, 'redirect_uri'), + 'client_id' => $this->client->getClassConfig($this, 'client_id'), + 'scope' => $scope, + 'access_type' => $this->client->getClassConfig($this, 'access_type'), + ); + + // Prefer prompt to approval prompt. + if ($this->client->getClassConfig($this, 'prompt')) { + $params = $this->maybeAddParam($params, 'prompt'); + } else { + $params = $this->maybeAddParam($params, 'approval_prompt'); + } + $params = $this->maybeAddParam($params, 'login_hint'); + $params = $this->maybeAddParam($params, 'hd'); + $params = $this->maybeAddParam($params, 'openid.realm'); + $params = $this->maybeAddParam($params, 'include_granted_scopes'); + + // If the list of scopes contains plus.login, add request_visible_actions + // to auth URL. + $rva = $this->client->getClassConfig($this, 'request_visible_actions'); + if (strpos($scope, 'plus.login') && strlen($rva) > 0) { + $params['request_visible_actions'] = $rva; + } + + if (isset($this->state)) { + $params['state'] = $this->state; + } + + return self::OAUTH2_AUTH_URL . "?" . http_build_query($params, '', '&'); + } + + /** + * @param string $token + * @throws Google_Auth_Exception + */ + public function setAccessToken($token) + { + $token = json_decode($token, true); + if ($token == null) { + throw new Google_Auth_Exception('Could not json decode the token'); + } + if (! isset($token['access_token'])) { + throw new Google_Auth_Exception("Invalid token format"); + } + $this->token = $token; + } + + public function getAccessToken() + { + return json_encode($this->token); + } + + public function getRefreshToken() + { + if (array_key_exists('refresh_token', $this->token)) { + return $this->token['refresh_token']; + } else { + return null; + } + } + + public function setState($state) + { + $this->state = $state; + } + + public function setAssertionCredentials(Google_Auth_AssertionCredentials $creds) + { + $this->assertionCredentials = $creds; + } + + /** + * Include an accessToken in a given apiHttpRequest. + * @param Google_Http_Request $request + * @return Google_Http_Request + * @throws Google_Auth_Exception + */ + public function sign(Google_Http_Request $request) + { + // add the developer key to the request before signing it + if ($this->client->getClassConfig($this, 'developer_key')) { + $request->setQueryParam('key', $this->client->getClassConfig($this, 'developer_key')); + } + + // Cannot sign the request without an OAuth access token. + if (null == $this->token && null == $this->assertionCredentials) { + return $request; + } + + // Check if the token is set to expire in the next 30 seconds + // (or has already expired). + if ($this->isAccessTokenExpired()) { + if ($this->assertionCredentials) { + $this->refreshTokenWithAssertion(); + } else { + $this->client->getLogger()->debug('OAuth2 access token expired'); + if (! array_key_exists('refresh_token', $this->token)) { + $error = "The OAuth 2.0 access token has expired," + ." and a refresh token is not available. Refresh tokens" + ." are not returned for responses that were auto-approved."; + + $this->client->getLogger()->error($error); + throw new Google_Auth_Exception($error); + } + $this->refreshToken($this->token['refresh_token']); + } + } + + $this->client->getLogger()->debug('OAuth2 authentication'); + + // Add the OAuth2 header to the request + $request->setRequestHeaders( + array('Authorization' => 'Bearer ' . $this->token['access_token']) + ); + + return $request; + } + + /** + * Fetches a fresh access token with the given refresh token. + * @param string $refreshToken + * @return void + */ + public function refreshToken($refreshToken) + { + $this->refreshTokenRequest( + array( + 'client_id' => $this->client->getClassConfig($this, 'client_id'), + 'client_secret' => $this->client->getClassConfig($this, 'client_secret'), + 'refresh_token' => $refreshToken, + 'grant_type' => 'refresh_token' + ) + ); + } + + /** + * Fetches a fresh access token with a given assertion token. + * @param Google_Auth_AssertionCredentials $assertionCredentials optional. + * @return void + */ + public function refreshTokenWithAssertion($assertionCredentials = null) + { + if (!$assertionCredentials) { + $assertionCredentials = $this->assertionCredentials; + } + + $cacheKey = $assertionCredentials->getCacheKey(); + + if ($cacheKey) { + // We can check whether we have a token available in the + // cache. If it is expired, we can retrieve a new one from + // the assertion. + $token = $this->client->getCache()->get($cacheKey); + if ($token) { + $this->setAccessToken($token); + } + if (!$this->isAccessTokenExpired()) { + return; + } + } + + $this->client->getLogger()->debug('OAuth2 access token expired'); + $this->refreshTokenRequest( + array( + 'grant_type' => 'assertion', + 'assertion_type' => $assertionCredentials->assertionType, + 'assertion' => $assertionCredentials->generateAssertion(), + ) + ); + + if ($cacheKey) { + // Attempt to cache the token. + $this->client->getCache()->set( + $cacheKey, + $this->getAccessToken() + ); + } + } + + private function refreshTokenRequest($params) + { + if (isset($params['assertion'])) { + $this->client->getLogger()->info( + 'OAuth2 access token refresh with Signed JWT assertion grants.' + ); + } else { + $this->client->getLogger()->info('OAuth2 access token refresh'); + } + + $http = new Google_Http_Request( + self::OAUTH2_TOKEN_URI, + 'POST', + array(), + $params + ); + $http->disableGzip(); + $request = $this->client->getIo()->makeRequest($http); + + $code = $request->getResponseHttpCode(); + $body = $request->getResponseBody(); + if (200 == $code) { + $token = json_decode($body, true); + if ($token == null) { + throw new Google_Auth_Exception("Could not json decode the access token"); + } + + if (! isset($token['access_token']) || ! isset($token['expires_in'])) { + throw new Google_Auth_Exception("Invalid token format"); + } + + if (isset($token['id_token'])) { + $this->token['id_token'] = $token['id_token']; + } + $this->token['access_token'] = $token['access_token']; + $this->token['expires_in'] = $token['expires_in']; + $this->token['created'] = time(); + } else { + throw new Google_Auth_Exception("Error refreshing the OAuth2 token, message: '$body'", $code); + } + } + + /** + * Revoke an OAuth2 access token or refresh token. This method will revoke the current access + * token, if a token isn't provided. + * @throws Google_Auth_Exception + * @param string|null $token The token (access token or a refresh token) that should be revoked. + * @return boolean Returns True if the revocation was successful, otherwise False. + */ + public function revokeToken($token = null) + { + if (!$token) { + if (!$this->token) { + // Not initialized, no token to actually revoke + return false; + } elseif (array_key_exists('refresh_token', $this->token)) { + $token = $this->token['refresh_token']; + } else { + $token = $this->token['access_token']; + } + } + $request = new Google_Http_Request( + self::OAUTH2_REVOKE_URI, + 'POST', + array(), + "token=$token" + ); + $request->disableGzip(); + $response = $this->client->getIo()->makeRequest($request); + $code = $response->getResponseHttpCode(); + if ($code == 200) { + $this->token = null; + return true; + } + + return false; + } + + /** + * Returns if the access_token is expired. + * @return bool Returns True if the access_token is expired. + */ + public function isAccessTokenExpired() + { + if (!$this->token || !isset($this->token['created'])) { + return true; + } + + // If the token is set to expire in the next 30 seconds. + $expired = ($this->token['created'] + + ($this->token['expires_in'] - 30)) < time(); + + return $expired; + } + + // Gets federated sign-on certificates to use for verifying identity tokens. + // Returns certs as array structure, where keys are key ids, and values + // are PEM encoded certificates. + private function getFederatedSignOnCerts() + { + return $this->retrieveCertsFromLocation( + $this->client->getClassConfig($this, 'federated_signon_certs_url') + ); + } + + /** + * Retrieve and cache a certificates file. + * + * @param $url string location + * @throws Google_Auth_Exception + * @return array certificates + */ + public function retrieveCertsFromLocation($url) + { + // If we're retrieving a local file, just grab it. + if ("http" != substr($url, 0, 4)) { + $file = file_get_contents($url); + if ($file) { + return json_decode($file, true); + } else { + throw new Google_Auth_Exception( + "Failed to retrieve verification certificates: '" . + $url . "'." + ); + } + } + + // This relies on makeRequest caching certificate responses. + $request = $this->client->getIo()->makeRequest( + new Google_Http_Request( + $url + ) + ); + if ($request->getResponseHttpCode() == 200) { + $certs = json_decode($request->getResponseBody(), true); + if ($certs) { + return $certs; + } + } + throw new Google_Auth_Exception( + "Failed to retrieve verification certificates: '" . + $request->getResponseBody() . "'.", + $request->getResponseHttpCode() + ); + } + + /** + * Verifies an id token and returns the authenticated apiLoginTicket. + * Throws an exception if the id token is not valid. + * The audience parameter can be used to control which id tokens are + * accepted. By default, the id token must have been issued to this OAuth2 client. + * + * @param $id_token + * @param $audience + * @return Google_Auth_LoginTicket + */ + public function verifyIdToken($id_token = null, $audience = null) + { + if (!$id_token) { + $id_token = $this->token['id_token']; + } + $certs = $this->getFederatedSignonCerts(); + if (!$audience) { + $audience = $this->client->getClassConfig($this, 'client_id'); + } + + return $this->verifySignedJwtWithCerts( + $id_token, + $certs, + $audience, + array(self::OAUTH2_ISSUER, self::OAUTH2_ISSUER_HTTPS) + ); + } + + /** + * Verifies the id token, returns the verified token contents. + * + * @param $jwt string the token + * @param $certs array of certificates + * @param $required_audience string the expected consumer of the token + * @param [$issuer] the expected issues, defaults to Google + * @param [$max_expiry] the max lifetime of a token, defaults to MAX_TOKEN_LIFETIME_SECS + * @throws Google_Auth_Exception + * @return mixed token information if valid, false if not + */ + public function verifySignedJwtWithCerts( + $jwt, + $certs, + $required_audience, + $issuer = null, + $max_expiry = null + ) { + if (!$max_expiry) { + // Set the maximum time we will accept a token for. + $max_expiry = self::MAX_TOKEN_LIFETIME_SECS; + } + + $segments = explode(".", $jwt); + if (count($segments) != 3) { + throw new Google_Auth_Exception("Wrong number of segments in token: $jwt"); + } + $signed = $segments[0] . "." . $segments[1]; + $signature = Google_Utils::urlSafeB64Decode($segments[2]); + + // Parse envelope. + $envelope = json_decode(Google_Utils::urlSafeB64Decode($segments[0]), true); + if (!$envelope) { + throw new Google_Auth_Exception("Can't parse token envelope: " . $segments[0]); + } + + // Parse token + $json_body = Google_Utils::urlSafeB64Decode($segments[1]); + $payload = json_decode($json_body, true); + if (!$payload) { + throw new Google_Auth_Exception("Can't parse token payload: " . $segments[1]); + } + + // Check signature + $verified = false; + foreach ($certs as $keyName => $pem) { + $public_key = new Google_Verifier_Pem($pem); + if ($public_key->verify($signed, $signature)) { + $verified = true; + break; + } + } + + if (!$verified) { + throw new Google_Auth_Exception("Invalid token signature: $jwt"); + } + + // Check issued-at timestamp + $iat = 0; + if (array_key_exists("iat", $payload)) { + $iat = $payload["iat"]; + } + if (!$iat) { + throw new Google_Auth_Exception("No issue time in token: $json_body"); + } + $earliest = $iat - self::CLOCK_SKEW_SECS; + + // Check expiration timestamp + $now = time(); + $exp = 0; + if (array_key_exists("exp", $payload)) { + $exp = $payload["exp"]; + } + if (!$exp) { + throw new Google_Auth_Exception("No expiration time in token: $json_body"); + } + if ($exp >= $now + $max_expiry) { + throw new Google_Auth_Exception( + sprintf("Expiration time too far in future: %s", $json_body) + ); + } + + $latest = $exp + self::CLOCK_SKEW_SECS; + if ($now < $earliest) { + throw new Google_Auth_Exception( + sprintf( + "Token used too early, %s < %s: %s", + $now, + $earliest, + $json_body + ) + ); + } + if ($now > $latest) { + throw new Google_Auth_Exception( + sprintf( + "Token used too late, %s > %s: %s", + $now, + $latest, + $json_body + ) + ); + } + + // support HTTP and HTTPS issuers + // @see https://developers.google.com/identity/sign-in/web/backend-auth + $iss = $payload['iss']; + if ($issuer && !in_array($iss, (array) $issuer)) { + throw new Google_Auth_Exception( + sprintf( + "Invalid issuer, %s not in %s: %s", + $iss, + "[".implode(",", (array) $issuer)."]", + $json_body + ) + ); + } + + // Check audience + $aud = $payload["aud"]; + if ($aud != $required_audience) { + throw new Google_Auth_Exception( + sprintf( + "Wrong recipient, %s != %s:", + $aud, + $required_audience, + $json_body + ) + ); + } + + // All good. + return new Google_Auth_LoginTicket($envelope, $payload); + } + + /** + * Add a parameter to the auth params if not empty string. + */ + private function maybeAddParam($params, $name) + { + $param = $this->client->getClassConfig($this, $name); + if ($param != '') { + $params[$name] = $param; + } + return $params; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Auth/Simple.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Auth/Simple.php new file mode 100644 index 0000000..9a8e58c --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Auth/Simple.php @@ -0,0 +1,63 @@ +client = $client; + } + + /** + * Perform an authenticated / signed apiHttpRequest. + * This function takes the apiHttpRequest, calls apiAuth->sign on it + * (which can modify the request in what ever way fits the auth mechanism) + * and then calls apiCurlIO::makeRequest on the signed request + * + * @param Google_Http_Request $request + * @return Google_Http_Request The resulting HTTP response including the + * responseHttpCode, responseHeaders and responseBody. + */ + public function authenticatedRequest(Google_Http_Request $request) + { + $request = $this->sign($request); + return $this->io->makeRequest($request); + } + + public function sign(Google_Http_Request $request) + { + $key = $this->client->getClassConfig($this, 'developer_key'); + if ($key) { + $this->client->getLogger()->debug( + 'Simple API Access developer key authentication' + ); + $request->setQueryParam('key', $key); + } + return $request; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Cache/Abstract.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Cache/Abstract.php new file mode 100644 index 0000000..ff19f36 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Cache/Abstract.php @@ -0,0 +1,53 @@ + + */ +abstract class Google_Cache_Abstract +{ + + abstract public function __construct(Google_Client $client); + + /** + * Retrieves the data for the given key, or false if they + * key is unknown or expired + * + * @param String $key The key who's data to retrieve + * @param boolean|int $expiration Expiration time in seconds + * + */ + abstract public function get($key, $expiration = false); + + /** + * Store the key => $value set. The $value is serialized + * by this function so can be of any type + * + * @param string $key Key of the data + * @param string $value data + */ + abstract public function set($key, $value); + + /** + * Removes the key/data pair for the given $key + * + * @param String $key + */ + abstract public function delete($key); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Cache/Apc.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Cache/Apc.php new file mode 100644 index 0000000..67a64dd --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Cache/Apc.php @@ -0,0 +1,113 @@ + + */ +class Google_Cache_Apc extends Google_Cache_Abstract +{ + /** + * @var Google_Client the current client + */ + private $client; + + public function __construct(Google_Client $client) + { + if (! function_exists('apc_add') ) { + $error = "Apc functions not available"; + + $client->getLogger()->error($error); + throw new Google_Cache_Exception($error); + } + + $this->client = $client; + } + + /** + * @inheritDoc + */ + public function get($key, $expiration = false) + { + $ret = apc_fetch($key); + if ($ret === false) { + $this->client->getLogger()->debug( + 'APC cache miss', + array('key' => $key) + ); + return false; + } + if (is_numeric($expiration) && (time() - $ret['time'] > $expiration)) { + $this->client->getLogger()->debug( + 'APC cache miss (expired)', + array('key' => $key, 'var' => $ret) + ); + $this->delete($key); + return false; + } + + $this->client->getLogger()->debug( + 'APC cache hit', + array('key' => $key, 'var' => $ret) + ); + + return $ret['data']; + } + + /** + * @inheritDoc + */ + public function set($key, $value) + { + $var = array('time' => time(), 'data' => $value); + $rc = apc_store($key, $var); + + if ($rc == false) { + $this->client->getLogger()->error( + 'APC cache set failed', + array('key' => $key, 'var' => $var) + ); + throw new Google_Cache_Exception("Couldn't store data"); + } + + $this->client->getLogger()->debug( + 'APC cache set', + array('key' => $key, 'var' => $var) + ); + } + + /** + * @inheritDoc + * @param String $key + */ + public function delete($key) + { + $this->client->getLogger()->debug( + 'APC cache delete', + array('key' => $key) + ); + apc_delete($key); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Cache/Exception.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Cache/Exception.php new file mode 100644 index 0000000..2d751d5 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Cache/Exception.php @@ -0,0 +1,24 @@ + + */ +class Google_Cache_File extends Google_Cache_Abstract +{ + const MAX_LOCK_RETRIES = 10; + private $path; + private $fh; + + /** + * @var Google_Client the current client + */ + private $client; + + public function __construct(Google_Client $client) + { + $this->client = $client; + $this->path = $this->client->getClassConfig($this, 'directory'); + } + + public function get($key, $expiration = false) + { + $storageFile = $this->getCacheFile($key); + $data = false; + + if (!file_exists($storageFile)) { + $this->client->getLogger()->debug( + 'File cache miss', + array('key' => $key, 'file' => $storageFile) + ); + return false; + } + + if ($expiration) { + $mtime = filemtime($storageFile); + if ((time() - $mtime) >= $expiration) { + $this->client->getLogger()->debug( + 'File cache miss (expired)', + array('key' => $key, 'file' => $storageFile) + ); + $this->delete($key); + return false; + } + } + + if ($this->acquireReadLock($storageFile)) { + if (filesize($storageFile) > 0) { + $data = fread($this->fh, filesize($storageFile)); + $data = unserialize($data); + } else { + $this->client->getLogger()->debug( + 'Cache file was empty', + array('file' => $storageFile) + ); + } + $this->unlock($storageFile); + } + + $this->client->getLogger()->debug( + 'File cache hit', + array('key' => $key, 'file' => $storageFile, 'var' => $data) + ); + + return $data; + } + + public function set($key, $value) + { + $storageFile = $this->getWriteableCacheFile($key); + if ($this->acquireWriteLock($storageFile)) { + // We serialize the whole request object, since we don't only want the + // responseContent but also the postBody used, headers, size, etc. + $data = serialize($value); + $result = fwrite($this->fh, $data); + $this->unlock($storageFile); + + $this->client->getLogger()->debug( + 'File cache set', + array('key' => $key, 'file' => $storageFile, 'var' => $value) + ); + } else { + $this->client->getLogger()->notice( + 'File cache set failed', + array('key' => $key, 'file' => $storageFile) + ); + } + } + + public function delete($key) + { + $file = $this->getCacheFile($key); + if (file_exists($file) && !unlink($file)) { + $this->client->getLogger()->error( + 'File cache delete failed', + array('key' => $key, 'file' => $file) + ); + throw new Google_Cache_Exception("Cache file could not be deleted"); + } + + $this->client->getLogger()->debug( + 'File cache delete', + array('key' => $key, 'file' => $file) + ); + } + + private function getWriteableCacheFile($file) + { + return $this->getCacheFile($file, true); + } + + private function getCacheFile($file, $forWrite = false) + { + return $this->getCacheDir($file, $forWrite) . '/' . md5($file); + } + + private function getCacheDir($file, $forWrite) + { + // use the first 2 characters of the hash as a directory prefix + // this should prevent slowdowns due to huge directory listings + // and thus give some basic amount of scalability + $storageDir = $this->path . '/' . substr(md5($file), 0, 2); + if ($forWrite && ! is_dir($storageDir)) { + if (! mkdir($storageDir, 0700, true)) { + $this->client->getLogger()->error( + 'File cache creation failed', + array('dir' => $storageDir) + ); + throw new Google_Cache_Exception("Could not create storage directory: $storageDir"); + } + } + return $storageDir; + } + + private function acquireReadLock($storageFile) + { + return $this->acquireLock(LOCK_SH, $storageFile); + } + + private function acquireWriteLock($storageFile) + { + $rc = $this->acquireLock(LOCK_EX, $storageFile); + if (!$rc) { + $this->client->getLogger()->notice( + 'File cache write lock failed', + array('file' => $storageFile) + ); + $this->delete($storageFile); + } + return $rc; + } + + private function acquireLock($type, $storageFile) + { + $mode = $type == LOCK_EX ? "w" : "r"; + $this->fh = fopen($storageFile, $mode); + if (!$this->fh) { + $this->client->getLogger()->error( + 'Failed to open file during lock acquisition', + array('file' => $storageFile) + ); + return false; + } + if ($type == LOCK_EX) { + chmod($storageFile, 0600); + } + $count = 0; + while (!flock($this->fh, $type | LOCK_NB)) { + // Sleep for 10ms. + usleep(10000); + if (++$count < self::MAX_LOCK_RETRIES) { + return false; + } + } + return true; + } + + public function unlock($storageFile) + { + if ($this->fh) { + flock($this->fh, LOCK_UN); + } + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Cache/Memcache.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Cache/Memcache.php new file mode 100644 index 0000000..4a415af --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Cache/Memcache.php @@ -0,0 +1,184 @@ + + */ +class Google_Cache_Memcache extends Google_Cache_Abstract +{ + private $connection = false; + private $mc = false; + private $host; + private $port; + + /** + * @var Google_Client the current client + */ + private $client; + + public function __construct(Google_Client $client) + { + if (!function_exists('memcache_connect') && !class_exists("Memcached")) { + $error = "Memcache functions not available"; + + $client->getLogger()->error($error); + throw new Google_Cache_Exception($error); + } + + $this->client = $client; + + if ($client->isAppEngine()) { + // No credentials needed for GAE. + $this->mc = new Memcached(); + $this->connection = true; + } else { + $this->host = $client->getClassConfig($this, 'host'); + $this->port = $client->getClassConfig($this, 'port'); + if (empty($this->host) || (empty($this->port) && (string) $this->port != "0")) { + $error = "You need to supply a valid memcache host and port"; + + $client->getLogger()->error($error); + throw new Google_Cache_Exception($error); + } + } + } + + /** + * @inheritDoc + */ + public function get($key, $expiration = false) + { + $this->connect(); + $ret = false; + if ($this->mc) { + $ret = $this->mc->get($key); + } else { + $ret = memcache_get($this->connection, $key); + } + if ($ret === false) { + $this->client->getLogger()->debug( + 'Memcache cache miss', + array('key' => $key) + ); + return false; + } + if (is_numeric($expiration) && (time() - $ret['time'] > $expiration)) { + $this->client->getLogger()->debug( + 'Memcache cache miss (expired)', + array('key' => $key, 'var' => $ret) + ); + $this->delete($key); + return false; + } + + $this->client->getLogger()->debug( + 'Memcache cache hit', + array('key' => $key, 'var' => $ret) + ); + + return $ret['data']; + } + + /** + * @inheritDoc + * @param string $key + * @param string $value + * @throws Google_Cache_Exception + */ + public function set($key, $value) + { + $this->connect(); + // we store it with the cache_time default expiration so objects will at + // least get cleaned eventually. + $data = array('time' => time(), 'data' => $value); + $rc = false; + if ($this->mc) { + $rc = $this->mc->set($key, $data); + } else { + $rc = memcache_set($this->connection, $key, $data, false); + } + if ($rc == false) { + $this->client->getLogger()->error( + 'Memcache cache set failed', + array('key' => $key, 'var' => $data) + ); + + throw new Google_Cache_Exception("Couldn't store data in cache"); + } + + $this->client->getLogger()->debug( + 'Memcache cache set', + array('key' => $key, 'var' => $data) + ); + } + + /** + * @inheritDoc + * @param String $key + */ + public function delete($key) + { + $this->connect(); + if ($this->mc) { + $this->mc->delete($key, 0); + } else { + memcache_delete($this->connection, $key, 0); + } + + $this->client->getLogger()->debug( + 'Memcache cache delete', + array('key' => $key) + ); + } + + /** + * Lazy initialiser for memcache connection. Uses pconnect for to take + * advantage of the persistence pool where possible. + */ + private function connect() + { + if ($this->connection) { + return; + } + + if (class_exists("Memcached")) { + $this->mc = new Memcached(); + $this->mc->addServer($this->host, $this->port); + $this->connection = true; + } else { + $this->connection = memcache_pconnect($this->host, $this->port); + } + + if (! $this->connection) { + $error = "Couldn't connect to memcache server"; + + $this->client->getLogger()->error($error); + throw new Google_Cache_Exception($error); + } + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Cache/Null.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Cache/Null.php new file mode 100644 index 0000000..21b6a1c --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Cache/Null.php @@ -0,0 +1,57 @@ +isAppEngine()) { + // Automatically use Memcache if we're in AppEngine. + $config->setCacheClass('Google_Cache_Memcache'); + } + + if (version_compare(phpversion(), "5.3.4", "<=") || $this->isAppEngine()) { + // Automatically disable compress.zlib, as currently unsupported. + $config->setClassConfig('Google_Http_Request', 'disable_gzip', true); + } + } + + if ($config->getIoClass() == Google_Config::USE_AUTO_IO_SELECTION) { + if (function_exists('curl_version') && function_exists('curl_exec') + && !$this->isAppEngine()) { + $config->setIoClass("Google_IO_Curl"); + } else { + $config->setIoClass("Google_IO_Stream"); + } + } + + $this->config = $config; + } + + /** + * Get a string containing the version of the library. + * + * @return string + */ + public function getLibraryVersion() + { + return self::LIBVER; + } + + /** + * Attempt to exchange a code for an valid authentication token. + * If $crossClient is set to true, the request body will not include + * the request_uri argument + * Helper wrapped around the OAuth 2.0 implementation. + * + * @param $code string code from accounts.google.com + * @param $crossClient boolean, whether this is a cross-client authentication + * @return string token + */ + public function authenticate($code, $crossClient = false) + { + $this->authenticated = true; + return $this->getAuth()->authenticate($code, $crossClient); + } + + /** + * Loads a service account key and parameters from a JSON + * file from the Google Developer Console. Uses that and the + * given array of scopes to return an assertion credential for + * use with refreshTokenWithAssertionCredential. + * + * @param string $jsonLocation File location of the project-key.json. + * @param array $scopes The scopes to assert. + * @return Google_Auth_AssertionCredentials. + * @ + */ + public function loadServiceAccountJson($jsonLocation, $scopes) + { + $data = json_decode(file_get_contents($jsonLocation)); + if (isset($data->type) && $data->type == 'service_account') { + // Service Account format. + $cred = new Google_Auth_AssertionCredentials( + $data->client_email, + $scopes, + $data->private_key + ); + return $cred; + } else { + throw new Google_Exception("Invalid service account JSON file."); + } + } + + /** + * Set the auth config from the JSON string provided. + * This structure should match the file downloaded from + * the "Download JSON" button on in the Google Developer + * Console. + * @param string $json the configuration json + * @throws Google_Exception + */ + public function setAuthConfig($json) + { + $data = json_decode($json); + $key = isset($data->installed) ? 'installed' : 'web'; + if (!isset($data->$key)) { + throw new Google_Exception("Invalid client secret JSON file."); + } + $this->setClientId($data->$key->client_id); + $this->setClientSecret($data->$key->client_secret); + if (isset($data->$key->redirect_uris)) { + $this->setRedirectUri($data->$key->redirect_uris[0]); + } + } + + /** + * Set the auth config from the JSON file in the path + * provided. This should match the file downloaded from + * the "Download JSON" button on in the Google Developer + * Console. + * @param string $file the file location of the client json + */ + public function setAuthConfigFile($file) + { + $this->setAuthConfig(file_get_contents($file)); + } + + /** + * @throws Google_Auth_Exception + * @return array + * @visible For Testing + */ + public function prepareScopes() + { + if (empty($this->requestedScopes)) { + throw new Google_Auth_Exception("No scopes specified"); + } + $scopes = implode(' ', $this->requestedScopes); + return $scopes; + } + + /** + * Set the OAuth 2.0 access token using the string that resulted from calling createAuthUrl() + * or Google_Client#getAccessToken(). + * @param string $accessToken JSON encoded string containing in the following format: + * {"access_token":"TOKEN", "refresh_token":"TOKEN", "token_type":"Bearer", + * "expires_in":3600, "id_token":"TOKEN", "created":1320790426} + */ + public function setAccessToken($accessToken) + { + if ($accessToken == 'null') { + $accessToken = null; + } + $this->getAuth()->setAccessToken($accessToken); + } + + + + /** + * Set the authenticator object + * @param Google_Auth_Abstract $auth + */ + public function setAuth(Google_Auth_Abstract $auth) + { + $this->config->setAuthClass(get_class($auth)); + $this->auth = $auth; + } + + /** + * Set the IO object + * @param Google_IO_Abstract $io + */ + public function setIo(Google_IO_Abstract $io) + { + $this->config->setIoClass(get_class($io)); + $this->io = $io; + } + + /** + * Set the Cache object + * @param Google_Cache_Abstract $cache + */ + public function setCache(Google_Cache_Abstract $cache) + { + $this->config->setCacheClass(get_class($cache)); + $this->cache = $cache; + } + + /** + * Set the Logger object + * @param Google_Logger_Abstract $logger + */ + public function setLogger(Google_Logger_Abstract $logger) + { + $this->config->setLoggerClass(get_class($logger)); + $this->logger = $logger; + } + + /** + * Construct the OAuth 2.0 authorization request URI. + * @return string + */ + public function createAuthUrl() + { + $scopes = $this->prepareScopes(); + return $this->getAuth()->createAuthUrl($scopes); + } + + /** + * Get the OAuth 2.0 access token. + * @return string $accessToken JSON encoded string in the following format: + * {"access_token":"TOKEN", "refresh_token":"TOKEN", "token_type":"Bearer", + * "expires_in":3600,"id_token":"TOKEN", "created":1320790426} + */ + public function getAccessToken() + { + $token = $this->getAuth()->getAccessToken(); + // The response is json encoded, so could be the string null. + // It is arguable whether this check should be here or lower + // in the library. + return (null == $token || 'null' == $token || '[]' == $token) ? null : $token; + } + + /** + * Get the OAuth 2.0 refresh token. + * @return string $refreshToken refresh token or null if not available + */ + public function getRefreshToken() + { + return $this->getAuth()->getRefreshToken(); + } + + /** + * Returns if the access_token is expired. + * @return bool Returns True if the access_token is expired. + */ + public function isAccessTokenExpired() + { + return $this->getAuth()->isAccessTokenExpired(); + } + + /** + * Set OAuth 2.0 "state" parameter to achieve per-request customization. + * @see http://tools.ietf.org/html/draft-ietf-oauth-v2-22#section-3.1.2.2 + * @param string $state + */ + public function setState($state) + { + $this->getAuth()->setState($state); + } + + /** + * @param string $accessType Possible values for access_type include: + * {@code "offline"} to request offline access from the user. + * {@code "online"} to request online access from the user. + */ + public function setAccessType($accessType) + { + $this->config->setAccessType($accessType); + } + + /** + * @param string $approvalPrompt Possible values for approval_prompt include: + * {@code "force"} to force the approval UI to appear. (This is the default value) + * {@code "auto"} to request auto-approval when possible. + */ + public function setApprovalPrompt($approvalPrompt) + { + $this->config->setApprovalPrompt($approvalPrompt); + } + + /** + * Set the login hint, email address or sub id. + * @param string $loginHint + */ + public function setLoginHint($loginHint) + { + $this->config->setLoginHint($loginHint); + } + + /** + * Set the application name, this is included in the User-Agent HTTP header. + * @param string $applicationName + */ + public function setApplicationName($applicationName) + { + $this->config->setApplicationName($applicationName); + } + + /** + * Set the OAuth 2.0 Client ID. + * @param string $clientId + */ + public function setClientId($clientId) + { + $this->config->setClientId($clientId); + } + + /** + * Set the OAuth 2.0 Client Secret. + * @param string $clientSecret + */ + public function setClientSecret($clientSecret) + { + $this->config->setClientSecret($clientSecret); + } + + /** + * Set the OAuth 2.0 Redirect URI. + * @param string $redirectUri + */ + public function setRedirectUri($redirectUri) + { + $this->config->setRedirectUri($redirectUri); + } + + /** + * If 'plus.login' is included in the list of requested scopes, you can use + * this method to define types of app activities that your app will write. + * You can find a list of available types here: + * @link https://developers.google.com/+/api/moment-types + * + * @param array $requestVisibleActions Array of app activity types + */ + public function setRequestVisibleActions($requestVisibleActions) + { + if (is_array($requestVisibleActions)) { + $requestVisibleActions = join(" ", $requestVisibleActions); + } + $this->config->setRequestVisibleActions($requestVisibleActions); + } + + /** + * Set the developer key to use, these are obtained through the API Console. + * @see http://code.google.com/apis/console-help/#generatingdevkeys + * @param string $developerKey + */ + public function setDeveloperKey($developerKey) + { + $this->config->setDeveloperKey($developerKey); + } + + /** + * Set the hd (hosted domain) parameter streamlines the login process for + * Google Apps hosted accounts. By including the domain of the user, you + * restrict sign-in to accounts at that domain. + * @param $hd string - the domain to use. + */ + public function setHostedDomain($hd) + { + $this->config->setHostedDomain($hd); + } + + /** + * Set the prompt hint. Valid values are none, consent and select_account. + * If no value is specified and the user has not previously authorized + * access, then the user is shown a consent screen. + * @param $prompt string + */ + public function setPrompt($prompt) + { + $this->config->setPrompt($prompt); + } + + /** + * openid.realm is a parameter from the OpenID 2.0 protocol, not from OAuth + * 2.0. It is used in OpenID 2.0 requests to signify the URL-space for which + * an authentication request is valid. + * @param $realm string - the URL-space to use. + */ + public function setOpenidRealm($realm) + { + $this->config->setOpenidRealm($realm); + } + + /** + * If this is provided with the value true, and the authorization request is + * granted, the authorization will include any previous authorizations + * granted to this user/application combination for other scopes. + * @param $include boolean - the URL-space to use. + */ + public function setIncludeGrantedScopes($include) + { + $this->config->setIncludeGrantedScopes($include); + } + + /** + * Fetches a fresh OAuth 2.0 access token with the given refresh token. + * @param string $refreshToken + */ + public function refreshToken($refreshToken) + { + $this->getAuth()->refreshToken($refreshToken); + } + + /** + * Revoke an OAuth2 access token or refresh token. This method will revoke the current access + * token, if a token isn't provided. + * @throws Google_Auth_Exception + * @param string|null $token The token (access token or a refresh token) that should be revoked. + * @return boolean Returns True if the revocation was successful, otherwise False. + */ + public function revokeToken($token = null) + { + return $this->getAuth()->revokeToken($token); + } + + /** + * Verify an id_token. This method will verify the current id_token, if one + * isn't provided. + * @throws Google_Auth_Exception + * @param string|null $token The token (id_token) that should be verified. + * @return Google_Auth_LoginTicket Returns an apiLoginTicket if the verification was + * successful. + */ + public function verifyIdToken($token = null) + { + return $this->getAuth()->verifyIdToken($token); + } + + /** + * Verify a JWT that was signed with your own certificates. + * + * @param $id_token string The JWT token + * @param $cert_location array of certificates + * @param $audience string the expected consumer of the token + * @param $issuer string the expected issuer, defaults to Google + * @param [$max_expiry] the max lifetime of a token, defaults to MAX_TOKEN_LIFETIME_SECS + * @return mixed token information if valid, false if not + */ + public function verifySignedJwt($id_token, $cert_location, $audience, $issuer, $max_expiry = null) + { + $auth = new Google_Auth_OAuth2($this); + $certs = $auth->retrieveCertsFromLocation($cert_location); + return $auth->verifySignedJwtWithCerts($id_token, $certs, $audience, $issuer, $max_expiry); + } + + /** + * @param $creds Google_Auth_AssertionCredentials + */ + public function setAssertionCredentials(Google_Auth_AssertionCredentials $creds) + { + $this->getAuth()->setAssertionCredentials($creds); + } + + /** + * Set the scopes to be requested. Must be called before createAuthUrl(). + * Will remove any previously configured scopes. + * @param array $scopes, ie: array('https://www.googleapis.com/auth/plus.login', + * 'https://www.googleapis.com/auth/moderator') + */ + public function setScopes($scopes) + { + $this->requestedScopes = array(); + $this->addScope($scopes); + } + + /** + * This functions adds a scope to be requested as part of the OAuth2.0 flow. + * Will append any scopes not previously requested to the scope parameter. + * A single string will be treated as a scope to request. An array of strings + * will each be appended. + * @param $scope_or_scopes string|array e.g. "profile" + */ + public function addScope($scope_or_scopes) + { + if (is_string($scope_or_scopes) && !in_array($scope_or_scopes, $this->requestedScopes)) { + $this->requestedScopes[] = $scope_or_scopes; + } else if (is_array($scope_or_scopes)) { + foreach ($scope_or_scopes as $scope) { + $this->addScope($scope); + } + } + } + + /** + * Returns the list of scopes requested by the client + * @return array the list of scopes + * + */ + public function getScopes() + { + return $this->requestedScopes; + } + + /** + * Declare whether batch calls should be used. This may increase throughput + * by making multiple requests in one connection. + * + * @param boolean $useBatch True if the batch support should + * be enabled. Defaults to False. + */ + public function setUseBatch($useBatch) + { + // This is actually an alias for setDefer. + $this->setDefer($useBatch); + } + + /** + * Declare whether making API calls should make the call immediately, or + * return a request which can be called with ->execute(); + * + * @param boolean $defer True if calls should not be executed right away. + */ + public function setDefer($defer) + { + $this->deferExecution = $defer; + } + + /** + * Helper method to execute deferred HTTP requests. + * + * @param $request Google_Http_Request|Google_Http_Batch + * @throws Google_Exception + * @return object of the type of the expected class or array. + */ + public function execute($request) + { + if ($request instanceof Google_Http_Request) { + $request->setUserAgent( + $this->getApplicationName() + . " " . self::USER_AGENT_SUFFIX + . $this->getLibraryVersion() + ); + if (!$this->getClassConfig("Google_Http_Request", "disable_gzip")) { + $request->enableGzip(); + } + $request->maybeMoveParametersToBody(); + return Google_Http_REST::execute($this, $request); + } else if ($request instanceof Google_Http_Batch) { + return $request->execute(); + } else { + throw new Google_Exception("Do not know how to execute this type of object."); + } + } + + /** + * Whether or not to return raw requests + * @return boolean + */ + public function shouldDefer() + { + return $this->deferExecution; + } + + /** + * @return Google_Auth_Abstract Authentication implementation + */ + public function getAuth() + { + if (!isset($this->auth)) { + $class = $this->config->getAuthClass(); + $this->auth = new $class($this); + } + return $this->auth; + } + + /** + * @return Google_IO_Abstract IO implementation + */ + public function getIo() + { + if (!isset($this->io)) { + $class = $this->config->getIoClass(); + $this->io = new $class($this); + } + return $this->io; + } + + /** + * @return Google_Cache_Abstract Cache implementation + */ + public function getCache() + { + if (!isset($this->cache)) { + $class = $this->config->getCacheClass(); + $this->cache = new $class($this); + } + return $this->cache; + } + + /** + * @return Google_Logger_Abstract Logger implementation + */ + public function getLogger() + { + if (!isset($this->logger)) { + $class = $this->config->getLoggerClass(); + $this->logger = new $class($this); + } + return $this->logger; + } + + /** + * Retrieve custom configuration for a specific class. + * @param $class string|object - class or instance of class to retrieve + * @param $key string optional - key to retrieve + * @return array + */ + public function getClassConfig($class, $key = null) + { + if (!is_string($class)) { + $class = get_class($class); + } + return $this->config->getClassConfig($class, $key); + } + + /** + * Set configuration specific to a given class. + * $config->setClassConfig('Google_Cache_File', + * array('directory' => '/tmp/cache')); + * @param $class string|object - The class name for the configuration + * @param $config string key or an array of configuration values + * @param $value string optional - if $config is a key, the value + * + */ + public function setClassConfig($class, $config, $value = null) + { + if (!is_string($class)) { + $class = get_class($class); + } + $this->config->setClassConfig($class, $config, $value); + + } + + /** + * @return string the base URL to use for calls to the APIs + */ + public function getBasePath() + { + return $this->config->getBasePath(); + } + + /** + * @return string the name of the application + */ + public function getApplicationName() + { + return $this->config->getApplicationName(); + } + + /** + * Are we running in Google AppEngine? + * return bool + */ + public function isAppEngine() + { + return (isset($_SERVER['SERVER_SOFTWARE']) && + strpos($_SERVER['SERVER_SOFTWARE'], 'Google App Engine') !== false); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Collection.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Collection.php new file mode 100644 index 0000000..b26e9e5 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Collection.php @@ -0,0 +1,101 @@ +modelData[$this->collection_key]) + && is_array($this->modelData[$this->collection_key])) { + reset($this->modelData[$this->collection_key]); + } + } + + public function current() + { + $this->coerceType($this->key()); + if (is_array($this->modelData[$this->collection_key])) { + return current($this->modelData[$this->collection_key]); + } + } + + public function key() + { + if (isset($this->modelData[$this->collection_key]) + && is_array($this->modelData[$this->collection_key])) { + return key($this->modelData[$this->collection_key]); + } + } + + public function next() + { + return next($this->modelData[$this->collection_key]); + } + + public function valid() + { + $key = $this->key(); + return $key !== null && $key !== false; + } + + public function count() + { + if (!isset($this->modelData[$this->collection_key])) { + return 0; + } + return count($this->modelData[$this->collection_key]); + } + + public function offsetExists($offset) + { + if (!is_numeric($offset)) { + return parent::offsetExists($offset); + } + return isset($this->modelData[$this->collection_key][$offset]); + } + + public function offsetGet($offset) + { + if (!is_numeric($offset)) { + return parent::offsetGet($offset); + } + $this->coerceType($offset); + return $this->modelData[$this->collection_key][$offset]; + } + + public function offsetSet($offset, $value) + { + if (!is_numeric($offset)) { + return parent::offsetSet($offset, $value); + } + $this->modelData[$this->collection_key][$offset] = $value; + } + + public function offsetUnset($offset) + { + if (!is_numeric($offset)) { + return parent::offsetUnset($offset); + } + unset($this->modelData[$this->collection_key][$offset]); + } + + private function coerceType($offset) + { + $typeKey = $this->keyType($this->collection_key); + if (isset($this->$typeKey) && !is_object($this->modelData[$this->collection_key][$offset])) { + $type = $this->$typeKey; + $this->modelData[$this->collection_key][$offset] = + new $type($this->modelData[$this->collection_key][$offset]); + } + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Config.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Config.php new file mode 100644 index 0000000..d582d83 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Config.php @@ -0,0 +1,452 @@ +configuration = array( + // The application_name is included in the User-Agent HTTP header. + 'application_name' => '', + + // Which Authentication, Storage and HTTP IO classes to use. + 'auth_class' => 'Google_Auth_OAuth2', + 'io_class' => self::USE_AUTO_IO_SELECTION, + 'cache_class' => 'Google_Cache_File', + 'logger_class' => 'Google_Logger_Null', + + // Don't change these unless you're working against a special development + // or testing environment. + 'base_path' => 'https://www.googleapis.com', + + // Definition of class specific values, like file paths and so on. + 'classes' => array( + 'Google_IO_Abstract' => array( + 'request_timeout_seconds' => 100, + ), + 'Google_Logger_Abstract' => array( + 'level' => 'debug', + 'log_format' => "[%datetime%] %level%: %message% %context%\n", + 'date_format' => 'd/M/Y:H:i:s O', + 'allow_newlines' => true + ), + 'Google_Logger_File' => array( + 'file' => 'php://stdout', + 'mode' => 0640, + 'lock' => false, + ), + 'Google_Http_Request' => array( + // Disable the use of gzip on calls if set to true. Defaults to false. + 'disable_gzip' => self::GZIP_ENABLED, + + // We default gzip to disabled on uploads even if gzip is otherwise + // enabled, due to some issues seen with small packet sizes for uploads. + // Please test with this option before enabling gzip for uploads in + // a production environment. + 'enable_gzip_for_uploads' => self::GZIP_UPLOADS_DISABLED, + ), + // If you want to pass in OAuth 2.0 settings, they will need to be + // structured like this. + 'Google_Auth_OAuth2' => array( + // Keys for OAuth 2.0 access, see the API console at + // https://developers.google.com/console + 'client_id' => '', + 'client_secret' => '', + 'redirect_uri' => '', + + // Simple API access key, also from the API console. Ensure you get + // a Server key, and not a Browser key. + 'developer_key' => '', + + // Other parameters. + 'hd' => '', + 'prompt' => '', + 'openid.realm' => '', + 'include_granted_scopes' => '', + 'login_hint' => '', + 'request_visible_actions' => '', + 'access_type' => 'online', + 'approval_prompt' => 'auto', + 'federated_signon_certs_url' => + 'https://www.googleapis.com/oauth2/v1/certs', + ), + 'Google_Task_Runner' => array( + // Delays are specified in seconds + 'initial_delay' => 1, + 'max_delay' => 60, + // Base number for exponential backoff + 'factor' => 2, + // A random number between -jitter and jitter will be added to the + // factor on each iteration to allow for better distribution of + // retries. + 'jitter' => .5, + // Maximum number of retries allowed + 'retries' => 0 + ), + 'Google_Service_Exception' => array( + 'retry_map' => array( + '500' => self::TASK_RETRY_ALWAYS, + '503' => self::TASK_RETRY_ALWAYS, + 'rateLimitExceeded' => self::TASK_RETRY_ALWAYS, + 'userRateLimitExceeded' => self::TASK_RETRY_ALWAYS + ) + ), + 'Google_IO_Exception' => array( + 'retry_map' => !extension_loaded('curl') ? array() : array( + CURLE_COULDNT_RESOLVE_HOST => self::TASK_RETRY_ALWAYS, + CURLE_COULDNT_CONNECT => self::TASK_RETRY_ALWAYS, + CURLE_OPERATION_TIMEOUTED => self::TASK_RETRY_ALWAYS, + CURLE_SSL_CONNECT_ERROR => self::TASK_RETRY_ALWAYS, + CURLE_GOT_NOTHING => self::TASK_RETRY_ALWAYS + ) + ), + // Set a default directory for the file cache. + 'Google_Cache_File' => array( + 'directory' => sys_get_temp_dir() . '/Google_Client' + ) + ), + ); + if ($ini_file_location) { + $ini = parse_ini_file($ini_file_location, true); + if (is_array($ini) && count($ini)) { + $merged_configuration = $ini + $this->configuration; + if (isset($ini['classes']) && isset($this->configuration['classes'])) { + $merged_configuration['classes'] = $ini['classes'] + $this->configuration['classes']; + } + $this->configuration = $merged_configuration; + } + } + } + + /** + * Set configuration specific to a given class. + * $config->setClassConfig('Google_Cache_File', + * array('directory' => '/tmp/cache')); + * @param $class string The class name for the configuration + * @param $config string key or an array of configuration values + * @param $value string optional - if $config is a key, the value + */ + public function setClassConfig($class, $config, $value = null) + { + if (!is_array($config)) { + if (!isset($this->configuration['classes'][$class])) { + $this->configuration['classes'][$class] = array(); + } + $this->configuration['classes'][$class][$config] = $value; + } else { + $this->configuration['classes'][$class] = $config; + } + } + + public function getClassConfig($class, $key = null) + { + if (!isset($this->configuration['classes'][$class])) { + return null; + } + if ($key === null) { + return $this->configuration['classes'][$class]; + } else { + return $this->configuration['classes'][$class][$key]; + } + } + + /** + * Return the configured cache class. + * @return string + */ + public function getCacheClass() + { + return $this->configuration['cache_class']; + } + + /** + * Return the configured logger class. + * @return string + */ + public function getLoggerClass() + { + return $this->configuration['logger_class']; + } + + /** + * Return the configured Auth class. + * @return string + */ + public function getAuthClass() + { + return $this->configuration['auth_class']; + } + + /** + * Set the auth class. + * + * @param $class string the class name to set + */ + public function setAuthClass($class) + { + $prev = $this->configuration['auth_class']; + if (!isset($this->configuration['classes'][$class]) && + isset($this->configuration['classes'][$prev])) { + $this->configuration['classes'][$class] = + $this->configuration['classes'][$prev]; + } + $this->configuration['auth_class'] = $class; + } + + /** + * Set the IO class. + * + * @param $class string the class name to set + */ + public function setIoClass($class) + { + $prev = $this->configuration['io_class']; + if (!isset($this->configuration['classes'][$class]) && + isset($this->configuration['classes'][$prev])) { + $this->configuration['classes'][$class] = + $this->configuration['classes'][$prev]; + } + $this->configuration['io_class'] = $class; + } + + /** + * Set the cache class. + * + * @param $class string the class name to set + */ + public function setCacheClass($class) + { + $prev = $this->configuration['cache_class']; + if (!isset($this->configuration['classes'][$class]) && + isset($this->configuration['classes'][$prev])) { + $this->configuration['classes'][$class] = + $this->configuration['classes'][$prev]; + } + $this->configuration['cache_class'] = $class; + } + + /** + * Set the logger class. + * + * @param $class string the class name to set + */ + public function setLoggerClass($class) + { + $prev = $this->configuration['logger_class']; + if (!isset($this->configuration['classes'][$class]) && + isset($this->configuration['classes'][$prev])) { + $this->configuration['classes'][$class] = + $this->configuration['classes'][$prev]; + } + $this->configuration['logger_class'] = $class; + } + + /** + * Return the configured IO class. + * + * @return string + */ + public function getIoClass() + { + return $this->configuration['io_class']; + } + + /** + * Set the application name, this is included in the User-Agent HTTP header. + * @param string $name + */ + public function setApplicationName($name) + { + $this->configuration['application_name'] = $name; + } + + /** + * @return string the name of the application + */ + public function getApplicationName() + { + return $this->configuration['application_name']; + } + + /** + * Set the client ID for the auth class. + * @param $clientId string - the API console client ID + */ + public function setClientId($clientId) + { + $this->setAuthConfig('client_id', $clientId); + } + + /** + * Set the client secret for the auth class. + * @param $secret string - the API console client secret + */ + public function setClientSecret($secret) + { + $this->setAuthConfig('client_secret', $secret); + } + + /** + * Set the redirect uri for the auth class. Note that if using the + * Javascript based sign in flow, this should be the string 'postmessage'. + * + * @param $uri string - the URI that users should be redirected to + */ + public function setRedirectUri($uri) + { + $this->setAuthConfig('redirect_uri', $uri); + } + + /** + * Set the app activities for the auth class. + * @param $rva string a space separated list of app activity types + */ + public function setRequestVisibleActions($rva) + { + $this->setAuthConfig('request_visible_actions', $rva); + } + + /** + * Set the the access type requested (offline or online.) + * @param $access string - the access type + */ + public function setAccessType($access) + { + $this->setAuthConfig('access_type', $access); + } + + /** + * Set when to show the approval prompt (auto or force) + * @param $approval string - the approval request + */ + public function setApprovalPrompt($approval) + { + $this->setAuthConfig('approval_prompt', $approval); + } + + /** + * Set the login hint (email address or sub identifier) + * @param $hint string + */ + public function setLoginHint($hint) + { + $this->setAuthConfig('login_hint', $hint); + } + + /** + * Set the developer key for the auth class. Note that this is separate value + * from the client ID - if it looks like a URL, its a client ID! + * @param $key string - the API console developer key + */ + public function setDeveloperKey($key) + { + $this->setAuthConfig('developer_key', $key); + } + + /** + * Set the hd (hosted domain) parameter streamlines the login process for + * Google Apps hosted accounts. By including the domain of the user, you + * restrict sign-in to accounts at that domain. + * + * This should not be used to ensure security on your application - check + * the hd values within an id token (@see Google_Auth_LoginTicket) after sign + * in to ensure that the user is from the domain you were expecting. + * + * @param $hd string - the domain to use. + */ + public function setHostedDomain($hd) + { + $this->setAuthConfig('hd', $hd); + } + + /** + * Set the prompt hint. Valid values are none, consent and select_account. + * If no value is specified and the user has not previously authorized + * access, then the user is shown a consent screen. + * @param $prompt string + */ + public function setPrompt($prompt) + { + $this->setAuthConfig('prompt', $prompt); + } + + /** + * openid.realm is a parameter from the OpenID 2.0 protocol, not from OAuth + * 2.0. It is used in OpenID 2.0 requests to signify the URL-space for which + * an authentication request is valid. + * @param $realm string - the URL-space to use. + */ + public function setOpenidRealm($realm) + { + $this->setAuthConfig('openid.realm', $realm); + } + + /** + * If this is provided with the value true, and the authorization request is + * granted, the authorization will include any previous authorizations + * granted to this user/application combination for other scopes. + * @param $include boolean - the URL-space to use. + */ + public function setIncludeGrantedScopes($include) + { + $this->setAuthConfig( + 'include_granted_scopes', + $include ? "true" : "false" + ); + } + + /** + * @return string the base URL to use for API calls + */ + public function getBasePath() + { + return $this->configuration['base_path']; + } + + /** + * Set the auth configuration for the current auth class. + * @param $key - the key to set + * @param $value - the parameter value + */ + private function setAuthConfig($key, $value) + { + if (!isset($this->configuration['classes'][$this->getAuthClass()])) { + $this->configuration['classes'][$this->getAuthClass()] = array(); + } + $this->configuration['classes'][$this->getAuthClass()][$key] = $value; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Exception.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Exception.php new file mode 100644 index 0000000..af80269 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Exception.php @@ -0,0 +1,20 @@ +client = $client; + $this->root_url = rtrim($rootUrl ? $rootUrl : $this->client->getBasePath(), '/'); + $this->batch_path = $batchPath ? $batchPath : 'batch'; + $this->expected_classes = array(); + $boundary = (false == $boundary) ? mt_rand() : $boundary; + $this->boundary = str_replace('"', '', $boundary); + } + + public function add(Google_Http_Request $request, $key = false) + { + if (false == $key) { + $key = mt_rand(); + } + + $this->requests[$key] = $request; + } + + public function execute() + { + $body = ''; + + /** @var Google_Http_Request $req */ + foreach ($this->requests as $key => $req) { + $body .= "--{$this->boundary}\n"; + $body .= $req->toBatchString($key) . "\n\n"; + $this->expected_classes["response-" . $key] = $req->getExpectedClass(); + } + + $body .= "--{$this->boundary}--"; + + $url = $this->root_url . '/' . $this->batch_path; + $httpRequest = new Google_Http_Request($url, 'POST'); + $httpRequest->setRequestHeaders( + array('Content-Type' => 'multipart/mixed; boundary=' . $this->boundary) + ); + + $httpRequest->setPostBody($body); + $response = $this->client->getIo()->makeRequest($httpRequest); + + return $this->parseResponse($response); + } + + public function parseResponse(Google_Http_Request $response) + { + $contentType = $response->getResponseHeader('content-type'); + $contentType = explode(';', $contentType); + $boundary = false; + foreach ($contentType as $part) { + $part = (explode('=', $part, 2)); + if (isset($part[0]) && 'boundary' == trim($part[0])) { + $boundary = $part[1]; + } + } + + $body = $response->getResponseBody(); + if ($body) { + $body = str_replace("--$boundary--", "--$boundary", $body); + $parts = explode("--$boundary", $body); + $responses = array(); + + foreach ($parts as $part) { + $part = trim($part); + if (!empty($part)) { + list($metaHeaders, $part) = explode("\r\n\r\n", $part, 2); + $metaHeaders = $this->client->getIo()->getHttpResponseHeaders($metaHeaders); + + $status = substr($part, 0, strpos($part, "\n")); + $status = explode(" ", $status); + $status = $status[1]; + + list($partHeaders, $partBody) = $this->client->getIo()->ParseHttpResponse($part, false); + $response = new Google_Http_Request(""); + $response->setResponseHttpCode($status); + $response->setResponseHeaders($partHeaders); + $response->setResponseBody($partBody); + + // Need content id. + $key = $metaHeaders['content-id']; + + if (isset($this->expected_classes[$key]) && + strlen($this->expected_classes[$key]) > 0) { + $class = $this->expected_classes[$key]; + $response->setExpectedClass($class); + } + + try { + $response = Google_Http_REST::decodeHttpResponse($response, $this->client); + $responses[$key] = $response; + } catch (Google_Service_Exception $e) { + // Store the exception as the response, so successful responses + // can be processed. + $responses[$key] = $e; + } + } + } + + return $responses; + } + + return null; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Http/CacheParser.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Http/CacheParser.php new file mode 100644 index 0000000..a6167ad --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Http/CacheParser.php @@ -0,0 +1,185 @@ +getRequestMethod(); + if (! in_array($method, self::$CACHEABLE_HTTP_METHODS)) { + return false; + } + + // Don't cache authorized requests/responses. + // [rfc2616-14.8] When a shared cache receives a request containing an + // Authorization field, it MUST NOT return the corresponding response + // as a reply to any other request... + if ($resp->getRequestHeader("authorization")) { + return false; + } + + return true; + } + + /** + * Check if an HTTP response can be cached by a private local cache. + * + * @static + * @param Google_Http_Request $resp + * @return bool True if the response is cacheable. + * False if the response is un-cacheable. + */ + public static function isResponseCacheable(Google_Http_Request $resp) + { + // First, check if the HTTP request was cacheable before inspecting the + // HTTP response. + if (false == self::isRequestCacheable($resp)) { + return false; + } + + $code = $resp->getResponseHttpCode(); + if (! in_array($code, self::$CACHEABLE_STATUS_CODES)) { + return false; + } + + // The resource is uncacheable if the resource is already expired and + // the resource doesn't have an ETag for revalidation. + $etag = $resp->getResponseHeader("etag"); + if (self::isExpired($resp) && $etag == false) { + return false; + } + + // [rfc2616-14.9.2] If [no-store is] sent in a response, a cache MUST NOT + // store any part of either this response or the request that elicited it. + $cacheControl = $resp->getParsedCacheControl(); + if (isset($cacheControl['no-store'])) { + return false; + } + + // Pragma: no-cache is an http request directive, but is occasionally + // used as a response header incorrectly. + $pragma = $resp->getResponseHeader('pragma'); + if ($pragma == 'no-cache' || strpos($pragma, 'no-cache') !== false) { + return false; + } + + // [rfc2616-14.44] Vary: * is extremely difficult to cache. "It implies that + // a cache cannot determine from the request headers of a subsequent request + // whether this response is the appropriate representation." + // Given this, we deem responses with the Vary header as uncacheable. + $vary = $resp->getResponseHeader('vary'); + if ($vary) { + return false; + } + + return true; + } + + /** + * @static + * @param Google_Http_Request $resp + * @return bool True if the HTTP response is considered to be expired. + * False if it is considered to be fresh. + */ + public static function isExpired(Google_Http_Request $resp) + { + // HTTP/1.1 clients and caches MUST treat other invalid date formats, + // especially including the value “0”, as in the past. + $parsedExpires = false; + $responseHeaders = $resp->getResponseHeaders(); + + if (isset($responseHeaders['expires'])) { + $rawExpires = $responseHeaders['expires']; + // Check for a malformed expires header first. + if (empty($rawExpires) || (is_numeric($rawExpires) && $rawExpires <= 0)) { + return true; + } + + // See if we can parse the expires header. + $parsedExpires = strtotime($rawExpires); + if (false == $parsedExpires || $parsedExpires <= 0) { + return true; + } + } + + // Calculate the freshness of an http response. + $freshnessLifetime = false; + $cacheControl = $resp->getParsedCacheControl(); + if (isset($cacheControl['max-age'])) { + $freshnessLifetime = $cacheControl['max-age']; + } + + $rawDate = $resp->getResponseHeader('date'); + $parsedDate = strtotime($rawDate); + + if (empty($rawDate) || false == $parsedDate) { + // We can't default this to now, as that means future cache reads + // will always pass with the logic below, so we will require a + // date be injected if not supplied. + throw new Google_Exception("All cacheable requests must have creation dates."); + } + + if (false == $freshnessLifetime && isset($responseHeaders['expires'])) { + $freshnessLifetime = $parsedExpires - $parsedDate; + } + + if (false == $freshnessLifetime) { + return true; + } + + // Calculate the age of an http response. + $age = max(0, time() - $parsedDate); + if (isset($responseHeaders['age'])) { + $age = max($age, strtotime($responseHeaders['age'])); + } + + return $freshnessLifetime <= $age; + } + + /** + * Determine if a cache entry should be revalidated with by the origin. + * + * @param Google_Http_Request $response + * @return bool True if the entry is expired, else return false. + */ + public static function mustRevalidate(Google_Http_Request $response) + { + // [13.3] When a cache has a stale entry that it would like to use as a + // response to a client's request, it first has to check with the origin + // server to see if its cached entry is still usable. + return self::isExpired($response); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Http/MediaFileUpload.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Http/MediaFileUpload.php new file mode 100644 index 0000000..02a2f45 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Http/MediaFileUpload.php @@ -0,0 +1,341 @@ +client = $client; + $this->request = $request; + $this->mimeType = $mimeType; + $this->data = $data; + $this->size = strlen($this->data); + $this->resumable = $resumable; + if (!$chunkSize) { + $chunkSize = 256 * 1024; + } + $this->chunkSize = $chunkSize; + $this->progress = 0; + $this->boundary = $boundary; + + // Process Media Request + $this->process(); + } + + /** + * Set the size of the file that is being uploaded. + * @param $size - int file size in bytes + */ + public function setFileSize($size) + { + $this->size = $size; + } + + /** + * Return the progress on the upload + * @return int progress in bytes uploaded. + */ + public function getProgress() + { + return $this->progress; + } + + /** + * Return the HTTP result code from the last call made. + * @return int code + */ + public function getHttpResultCode() + { + return $this->httpResultCode; + } + + /** + * Sends a PUT-Request to google drive and parses the response, + * setting the appropiate variables from the response() + * + * @param Google_Http_Request $httpRequest the Reuqest which will be send + * + * @return false|mixed false when the upload is unfinished or the decoded http response + * + */ + private function makePutRequest(Google_Http_Request $httpRequest) + { + if ($this->client->getClassConfig("Google_Http_Request", "enable_gzip_for_uploads")) { + $httpRequest->enableGzip(); + } else { + $httpRequest->disableGzip(); + } + + $response = $this->client->getIo()->makeRequest($httpRequest); + $response->setExpectedClass($this->request->getExpectedClass()); + $code = $response->getResponseHttpCode(); + $this->httpResultCode = $code; + + if (308 == $code) { + // Track the amount uploaded. + $range = explode('-', $response->getResponseHeader('range')); + $this->progress = $range[1] + 1; + + // Allow for changing upload URLs. + $location = $response->getResponseHeader('location'); + if ($location) { + $this->resumeUri = $location; + } + + // No problems, but upload not complete. + return false; + } else { + return Google_Http_REST::decodeHttpResponse($response, $this->client); + } + } + + /** + * Send the next part of the file to upload. + * @param [$chunk] the next set of bytes to send. If false will used $data passed + * at construct time. + */ + public function nextChunk($chunk = false) + { + if (false == $this->resumeUri) { + $this->resumeUri = $this->fetchResumeUri(); + } + + if (false == $chunk) { + $chunk = substr($this->data, $this->progress, $this->chunkSize); + } + $lastBytePos = $this->progress + strlen($chunk) - 1; + $headers = array( + 'content-range' => "bytes $this->progress-$lastBytePos/$this->size", + 'content-type' => $this->request->getRequestHeader('content-type'), + 'content-length' => $this->chunkSize, + 'expect' => '', + ); + + $httpRequest = new Google_Http_Request( + $this->resumeUri, + 'PUT', + $headers, + $chunk + ); + return $this->makePutRequest($httpRequest); + } + + /** + * Resume a previously unfinished upload + * @param $resumeUri the resume-URI of the unfinished, resumable upload. + */ + public function resume($resumeUri) + { + $this->resumeUri = $resumeUri; + $headers = array( + 'content-range' => "bytes */$this->size", + 'content-length' => 0, + ); + $httpRequest = new Google_Http_Request( + $this->resumeUri, + 'PUT', + $headers + ); + return $this->makePutRequest($httpRequest); + } + + /** + * @return array|bool + * @visible for testing + */ + private function process() + { + $postBody = false; + $contentType = false; + + $meta = $this->request->getPostBody(); + $meta = is_string($meta) ? json_decode($meta, true) : $meta; + + $uploadType = $this->getUploadType($meta); + $this->request->setQueryParam('uploadType', $uploadType); + $this->transformToUploadUrl(); + $mimeType = $this->mimeType ? + $this->mimeType : + $this->request->getRequestHeader('content-type'); + + if (self::UPLOAD_RESUMABLE_TYPE == $uploadType) { + $contentType = $mimeType; + $postBody = is_string($meta) ? $meta : json_encode($meta); + } else if (self::UPLOAD_MEDIA_TYPE == $uploadType) { + $contentType = $mimeType; + $postBody = $this->data; + } else if (self::UPLOAD_MULTIPART_TYPE == $uploadType) { + // This is a multipart/related upload. + $boundary = $this->boundary ? $this->boundary : mt_rand(); + $boundary = str_replace('"', '', $boundary); + $contentType = 'multipart/related; boundary=' . $boundary; + $related = "--$boundary\r\n"; + $related .= "Content-Type: application/json; charset=UTF-8\r\n"; + $related .= "\r\n" . json_encode($meta) . "\r\n"; + $related .= "--$boundary\r\n"; + $related .= "Content-Type: $mimeType\r\n"; + $related .= "Content-Transfer-Encoding: base64\r\n"; + $related .= "\r\n" . base64_encode($this->data) . "\r\n"; + $related .= "--$boundary--"; + $postBody = $related; + } + + $this->request->setPostBody($postBody); + + if (isset($contentType) && $contentType) { + $contentTypeHeader['content-type'] = $contentType; + $this->request->setRequestHeaders($contentTypeHeader); + } + } + + private function transformToUploadUrl() + { + $base = $this->request->getBaseComponent(); + $this->request->setBaseComponent($base . '/upload'); + } + + /** + * Valid upload types: + * - resumable (UPLOAD_RESUMABLE_TYPE) + * - media (UPLOAD_MEDIA_TYPE) + * - multipart (UPLOAD_MULTIPART_TYPE) + * @param $meta + * @return string + * @visible for testing + */ + public function getUploadType($meta) + { + if ($this->resumable) { + return self::UPLOAD_RESUMABLE_TYPE; + } + + if (false == $meta && $this->data) { + return self::UPLOAD_MEDIA_TYPE; + } + + return self::UPLOAD_MULTIPART_TYPE; + } + + public function getResumeUri() + { + return ( $this->resumeUri !== null ? $this->resumeUri : $this->fetchResumeUri() ); + } + + private function fetchResumeUri() + { + $result = null; + $body = $this->request->getPostBody(); + if ($body) { + $headers = array( + 'content-type' => 'application/json; charset=UTF-8', + 'content-length' => Google_Utils::getStrLen($body), + 'x-upload-content-type' => $this->mimeType, + 'x-upload-content-length' => $this->size, + 'expect' => '', + ); + $this->request->setRequestHeaders($headers); + } + + $response = $this->client->getIo()->makeRequest($this->request); + $location = $response->getResponseHeader('location'); + $code = $response->getResponseHttpCode(); + + if (200 == $code && true == $location) { + return $location; + } + $message = $code; + $body = @json_decode($response->getResponseBody()); + if (!empty($body->error->errors) ) { + $message .= ': '; + foreach ($body->error->errors as $error) { + $message .= "{$error->domain}, {$error->message};"; + } + $message = rtrim($message, ';'); + } + + $error = "Failed to start the resumable upload (HTTP {$message})"; + $this->client->getLogger()->error($error); + throw new Google_Exception($error); + } + + public function setChunkSize($chunkSize) + { + $this->chunkSize = $chunkSize; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Http/REST.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Http/REST.php new file mode 100644 index 0000000..491c068 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Http/REST.php @@ -0,0 +1,178 @@ +getRequestMethod(), $req->getUrl()), + array(get_class(), 'doExecute'), + array($client, $req) + ); + + return $runner->run(); + } + + /** + * Executes a Google_Http_Request + * + * @param Google_Client $client + * @param Google_Http_Request $req + * @return array decoded result + * @throws Google_Service_Exception on server side error (ie: not authenticated, + * invalid or malformed post body, invalid url) + */ + public static function doExecute(Google_Client $client, Google_Http_Request $req) + { + $httpRequest = $client->getIo()->makeRequest($req); + $httpRequest->setExpectedClass($req->getExpectedClass()); + return self::decodeHttpResponse($httpRequest, $client); + } + + /** + * Decode an HTTP Response. + * @static + * @throws Google_Service_Exception + * @param Google_Http_Request $response The http response to be decoded. + * @param Google_Client $client + * @return mixed|null + */ + public static function decodeHttpResponse($response, Google_Client $client = null) + { + $code = $response->getResponseHttpCode(); + $body = $response->getResponseBody(); + $decoded = null; + + if ((intVal($code)) >= 300) { + $decoded = json_decode($body, true); + $err = 'Error calling ' . $response->getRequestMethod() . ' ' . $response->getUrl(); + if (isset($decoded['error']) && + isset($decoded['error']['message']) && + isset($decoded['error']['code'])) { + // if we're getting a json encoded error definition, use that instead of the raw response + // body for improved readability + $err .= ": ({$decoded['error']['code']}) {$decoded['error']['message']}"; + } else { + $err .= ": ($code) $body"; + } + + $errors = null; + // Specific check for APIs which don't return error details, such as Blogger. + if (isset($decoded['error']) && isset($decoded['error']['errors'])) { + $errors = $decoded['error']['errors']; + } + + $map = null; + if ($client) { + $client->getLogger()->error( + $err, + array('code' => $code, 'errors' => $errors) + ); + + $map = $client->getClassConfig( + 'Google_Service_Exception', + 'retry_map' + ); + } + throw new Google_Service_Exception($err, $code, null, $errors, $map); + } + + // Only attempt to decode the response, if the response code wasn't (204) 'no content' + if ($code != '204') { + if ($response->getExpectedRaw()) { + return $body; + } + + $decoded = json_decode($body, true); + if ($decoded === null || $decoded === "") { + $error = "Invalid json in service response: $body"; + if ($client) { + $client->getLogger()->error($error); + } + throw new Google_Service_Exception($error); + } + + if ($response->getExpectedClass()) { + $class = $response->getExpectedClass(); + $decoded = new $class($decoded); + } + } + return $decoded; + } + + /** + * Parse/expand request parameters and create a fully qualified + * request uri. + * @static + * @param string $servicePath + * @param string $restPath + * @param array $params + * @return string $requestUrl + */ + public static function createRequestUri($servicePath, $restPath, $params) + { + $requestUrl = $servicePath . $restPath; + $uriTemplateVars = array(); + $queryVars = array(); + foreach ($params as $paramName => $paramSpec) { + if ($paramSpec['type'] == 'boolean') { + $paramSpec['value'] = ($paramSpec['value']) ? 'true' : 'false'; + } + if ($paramSpec['location'] == 'path') { + $uriTemplateVars[$paramName] = $paramSpec['value']; + } else if ($paramSpec['location'] == 'query') { + if (isset($paramSpec['repeated']) && is_array($paramSpec['value'])) { + foreach ($paramSpec['value'] as $value) { + $queryVars[] = $paramName . '=' . rawurlencode(rawurldecode($value)); + } + } else { + $queryVars[] = $paramName . '=' . rawurlencode(rawurldecode($paramSpec['value'])); + } + } + } + + if (count($uriTemplateVars)) { + $uriTemplateParser = new Google_Utils_URITemplate(); + $requestUrl = $uriTemplateParser->parse($requestUrl, $uriTemplateVars); + } + + if (count($queryVars)) { + $requestUrl .= '?' . implode($queryVars, '&'); + } + + return $requestUrl; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Http/Request.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Http/Request.php new file mode 100644 index 0000000..c09a9d9 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Http/Request.php @@ -0,0 +1,504 @@ + + * @author Chirag Shah + * + */ +class Google_Http_Request +{ + const GZIP_UA = " (gzip)"; + + private $batchHeaders = array( + 'Content-Type' => 'application/http', + 'Content-Transfer-Encoding' => 'binary', + 'MIME-Version' => '1.0', + ); + + protected $queryParams; + protected $requestMethod; + protected $requestHeaders; + protected $baseComponent = null; + protected $path; + protected $postBody; + protected $userAgent; + protected $canGzip = null; + + protected $responseHttpCode; + protected $responseHeaders; + protected $responseBody; + + protected $expectedClass; + protected $expectedRaw = false; + + public $accessKey; + + public function __construct( + $url, + $method = 'GET', + $headers = array(), + $postBody = null + ) { + $this->setUrl($url); + $this->setRequestMethod($method); + $this->setRequestHeaders($headers); + $this->setPostBody($postBody); + } + + /** + * Misc function that returns the base url component of the $url + * used by the OAuth signing class to calculate the base string + * @return string The base url component of the $url. + */ + public function getBaseComponent() + { + return $this->baseComponent; + } + + /** + * Set the base URL that path and query parameters will be added to. + * @param $baseComponent string + */ + public function setBaseComponent($baseComponent) + { + $this->baseComponent = rtrim($baseComponent, '/'); + } + + /** + * Enable support for gzipped responses with this request. + */ + public function enableGzip() + { + $this->setRequestHeaders(array("Accept-Encoding" => "gzip")); + $this->canGzip = true; + $this->setUserAgent($this->userAgent); + } + + /** + * Disable support for gzip responses with this request. + */ + public function disableGzip() + { + if ( + isset($this->requestHeaders['accept-encoding']) && + $this->requestHeaders['accept-encoding'] == "gzip" + ) { + unset($this->requestHeaders['accept-encoding']); + } + $this->canGzip = false; + $this->userAgent = str_replace(self::GZIP_UA, "", $this->userAgent); + } + + /** + * Can this request accept a gzip response? + * @return bool + */ + public function canGzip() + { + return $this->canGzip; + } + + /** + * Misc function that returns an array of the query parameters of the current + * url used by the OAuth signing class to calculate the signature + * @return array Query parameters in the query string. + */ + public function getQueryParams() + { + return $this->queryParams; + } + + /** + * Set a new query parameter. + * @param $key - string to set, does not need to be URL encoded + * @param $value - string to set, does not need to be URL encoded + */ + public function setQueryParam($key, $value) + { + $this->queryParams[$key] = $value; + } + + /** + * @return string HTTP Response Code. + */ + public function getResponseHttpCode() + { + return (int) $this->responseHttpCode; + } + + /** + * @param int $responseHttpCode HTTP Response Code. + */ + public function setResponseHttpCode($responseHttpCode) + { + $this->responseHttpCode = $responseHttpCode; + } + + /** + * @return $responseHeaders (array) HTTP Response Headers. + */ + public function getResponseHeaders() + { + return $this->responseHeaders; + } + + /** + * @return string HTTP Response Body + */ + public function getResponseBody() + { + return $this->responseBody; + } + + /** + * Set the class the response to this request should expect. + * + * @param $class string the class name + */ + public function setExpectedClass($class) + { + $this->expectedClass = $class; + } + + /** + * Retrieve the expected class the response should expect. + * @return string class name + */ + public function getExpectedClass() + { + return $this->expectedClass; + } + + /** + * Enable expected raw response + */ + public function enableExpectedRaw() + { + $this->expectedRaw = true; + } + + /** + * Disable expected raw response + */ + public function disableExpectedRaw() + { + $this->expectedRaw = false; + } + + /** + * Expected raw response or not. + * @return boolean expected raw response + */ + public function getExpectedRaw() + { + return $this->expectedRaw; + } + + /** + * @param array $headers The HTTP response headers + * to be normalized. + */ + public function setResponseHeaders($headers) + { + $headers = Google_Utils::normalize($headers); + if ($this->responseHeaders) { + $headers = array_merge($this->responseHeaders, $headers); + } + + $this->responseHeaders = $headers; + } + + /** + * @param string $key + * @return array|boolean Returns the requested HTTP header or + * false if unavailable. + */ + public function getResponseHeader($key) + { + return isset($this->responseHeaders[$key]) + ? $this->responseHeaders[$key] + : false; + } + + /** + * @param string $responseBody The HTTP response body. + */ + public function setResponseBody($responseBody) + { + $this->responseBody = $responseBody; + } + + /** + * @return string $url The request URL. + */ + public function getUrl() + { + return $this->baseComponent . $this->path . + (count($this->queryParams) ? + "?" . $this->buildQuery($this->queryParams) : + ''); + } + + /** + * @return string $method HTTP Request Method. + */ + public function getRequestMethod() + { + return $this->requestMethod; + } + + /** + * @return array $headers HTTP Request Headers. + */ + public function getRequestHeaders() + { + return $this->requestHeaders; + } + + /** + * @param string $key + * @return array|boolean Returns the requested HTTP header or + * false if unavailable. + */ + public function getRequestHeader($key) + { + return isset($this->requestHeaders[$key]) + ? $this->requestHeaders[$key] + : false; + } + + /** + * @return string $postBody HTTP Request Body. + */ + public function getPostBody() + { + return $this->postBody; + } + + /** + * @param string $url the url to set + */ + public function setUrl($url) + { + if (substr($url, 0, 4) != 'http') { + // Force the path become relative. + if (substr($url, 0, 1) !== '/') { + $url = '/' . $url; + } + } + $parts = parse_url($url); + if (isset($parts['host'])) { + $this->baseComponent = sprintf( + "%s%s%s", + isset($parts['scheme']) ? $parts['scheme'] . "://" : '', + isset($parts['host']) ? $parts['host'] : '', + isset($parts['port']) ? ":" . $parts['port'] : '' + ); + } + $this->path = isset($parts['path']) ? $parts['path'] : ''; + $this->queryParams = array(); + if (isset($parts['query'])) { + $this->queryParams = $this->parseQuery($parts['query']); + } + } + + /** + * @param string $method Set he HTTP Method and normalize + * it to upper-case, as required by HTTP. + * + */ + public function setRequestMethod($method) + { + $this->requestMethod = strtoupper($method); + } + + /** + * @param array $headers The HTTP request headers + * to be set and normalized. + */ + public function setRequestHeaders($headers) + { + $headers = Google_Utils::normalize($headers); + if ($this->requestHeaders) { + $headers = array_merge($this->requestHeaders, $headers); + } + $this->requestHeaders = $headers; + } + + /** + * @param string $postBody the postBody to set + */ + public function setPostBody($postBody) + { + $this->postBody = $postBody; + } + + /** + * Set the User-Agent Header. + * @param string $userAgent The User-Agent. + */ + public function setUserAgent($userAgent) + { + $this->userAgent = $userAgent; + if ($this->canGzip) { + $this->userAgent = $userAgent . self::GZIP_UA; + } + } + + /** + * @return string The User-Agent. + */ + public function getUserAgent() + { + return $this->userAgent; + } + + /** + * Returns a cache key depending on if this was an OAuth signed request + * in which case it will use the non-signed url and access key to make this + * cache key unique per authenticated user, else use the plain request url + * @return string The md5 hash of the request cache key. + */ + public function getCacheKey() + { + $key = $this->getUrl(); + + if (isset($this->accessKey)) { + $key .= $this->accessKey; + } + + if (isset($this->requestHeaders['authorization'])) { + $key .= $this->requestHeaders['authorization']; + } + + return md5($key); + } + + public function getParsedCacheControl() + { + $parsed = array(); + $rawCacheControl = $this->getResponseHeader('cache-control'); + if ($rawCacheControl) { + $rawCacheControl = str_replace(', ', '&', $rawCacheControl); + parse_str($rawCacheControl, $parsed); + } + + return $parsed; + } + + /** + * @param string $id + * @return string A string representation of the HTTP Request. + */ + public function toBatchString($id) + { + $str = ''; + $path = parse_url($this->getUrl(), PHP_URL_PATH) . "?" . + http_build_query($this->queryParams); + $str .= $this->getRequestMethod() . ' ' . $path . " HTTP/1.1\n"; + + foreach ($this->getRequestHeaders() as $key => $val) { + $str .= $key . ': ' . $val . "\n"; + } + + if ($this->getPostBody()) { + $str .= "\n"; + $str .= $this->getPostBody(); + } + + $headers = ''; + foreach ($this->batchHeaders as $key => $val) { + $headers .= $key . ': ' . $val . "\n"; + } + + $headers .= "Content-ID: $id\n"; + $str = $headers . "\n" . $str; + + return $str; + } + + /** + * Our own version of parse_str that allows for multiple variables + * with the same name. + * @param $string - the query string to parse + */ + private function parseQuery($string) + { + $return = array(); + $parts = explode("&", $string); + foreach ($parts as $part) { + list($key, $value) = explode('=', $part, 2); + $value = urldecode($value); + if (isset($return[$key])) { + if (!is_array($return[$key])) { + $return[$key] = array($return[$key]); + } + $return[$key][] = $value; + } else { + $return[$key] = $value; + } + } + return $return; + } + + /** + * A version of build query that allows for multiple + * duplicate keys. + * @param $parts array of key value pairs + */ + private function buildQuery($parts) + { + $return = array(); + foreach ($parts as $key => $value) { + if (is_array($value)) { + foreach ($value as $v) { + $return[] = urlencode($key) . "=" . urlencode($v); + } + } else { + $return[] = urlencode($key) . "=" . urlencode($value); + } + } + return implode('&', $return); + } + + /** + * If we're POSTing and have no body to send, we can send the query + * parameters in there, which avoids length issues with longer query + * params. + */ + public function maybeMoveParametersToBody() + { + if ($this->getRequestMethod() == "POST" && empty($this->postBody)) { + $this->setRequestHeaders( + array( + "content-type" => + "application/x-www-form-urlencoded; charset=UTF-8" + ) + ); + $this->setPostBody($this->buildQuery($this->queryParams)); + $this->queryParams = array(); + } + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/IO/Abstract.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/IO/Abstract.php new file mode 100644 index 0000000..34a3fc5 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/IO/Abstract.php @@ -0,0 +1,339 @@ + null, "PUT" => null); + private static $HOP_BY_HOP = array( + 'connection' => true, + 'keep-alive' => true, + 'proxy-authenticate' => true, + 'proxy-authorization' => true, + 'te' => true, + 'trailers' => true, + 'transfer-encoding' => true, + 'upgrade' => true + ); + + + /** @var Google_Client */ + protected $client; + + public function __construct(Google_Client $client) + { + $this->client = $client; + $timeout = $client->getClassConfig('Google_IO_Abstract', 'request_timeout_seconds'); + if ($timeout > 0) { + $this->setTimeout($timeout); + } + } + + /** + * Executes a Google_Http_Request + * @param Google_Http_Request $request the http request to be executed + * @return array containing response headers, body, and http code + * @throws Google_IO_Exception on curl or IO error + */ + abstract public function executeRequest(Google_Http_Request $request); + + /** + * Set options that update the transport implementation's behavior. + * @param $options + */ + abstract public function setOptions($options); + + /** + * Set the maximum request time in seconds. + * @param $timeout in seconds + */ + abstract public function setTimeout($timeout); + + /** + * Get the maximum request time in seconds. + * @return timeout in seconds + */ + abstract public function getTimeout(); + + /** + * Test for the presence of a cURL header processing bug + * + * The cURL bug was present in versions prior to 7.30.0 and caused the header + * length to be miscalculated when a "Connection established" header added by + * some proxies was present. + * + * @return boolean + */ + abstract protected function needsQuirk(); + + /** + * @visible for testing. + * Cache the response to an HTTP request if it is cacheable. + * @param Google_Http_Request $request + * @return bool Returns true if the insertion was successful. + * Otherwise, return false. + */ + public function setCachedRequest(Google_Http_Request $request) + { + // Determine if the request is cacheable. + if (Google_Http_CacheParser::isResponseCacheable($request)) { + $this->client->getCache()->set($request->getCacheKey(), $request); + return true; + } + + return false; + } + + /** + * Execute an HTTP Request + * + * @param Google_Http_Request $request the http request to be executed + * @return Google_Http_Request http request with the response http code, + * response headers and response body filled in + * @throws Google_IO_Exception on curl or IO error + */ + public function makeRequest(Google_Http_Request $request) + { + // First, check to see if we have a valid cached version. + $cached = $this->getCachedRequest($request); + if ($cached !== false && $cached instanceof Google_Http_Request) { + if (!$this->checkMustRevalidateCachedRequest($cached, $request)) { + return $cached; + } + } + + if (array_key_exists($request->getRequestMethod(), self::$ENTITY_HTTP_METHODS)) { + $request = $this->processEntityRequest($request); + } + + list($responseData, $responseHeaders, $respHttpCode) = $this->executeRequest($request); + + if ($respHttpCode == 304 && $cached) { + // If the server responded NOT_MODIFIED, return the cached request. + $this->updateCachedRequest($cached, $responseHeaders); + return $cached; + } + + if (!isset($responseHeaders['Date']) && !isset($responseHeaders['date'])) { + $responseHeaders['date'] = date("r"); + } + + $request->setResponseHttpCode($respHttpCode); + $request->setResponseHeaders($responseHeaders); + $request->setResponseBody($responseData); + // Store the request in cache (the function checks to see if the request + // can actually be cached) + $this->setCachedRequest($request); + return $request; + } + + /** + * @visible for testing. + * @param Google_Http_Request $request + * @return Google_Http_Request|bool Returns the cached object or + * false if the operation was unsuccessful. + */ + public function getCachedRequest(Google_Http_Request $request) + { + if (false === Google_Http_CacheParser::isRequestCacheable($request)) { + return false; + } + + return $this->client->getCache()->get($request->getCacheKey()); + } + + /** + * @visible for testing + * Process an http request that contains an enclosed entity. + * @param Google_Http_Request $request + * @return Google_Http_Request Processed request with the enclosed entity. + */ + public function processEntityRequest(Google_Http_Request $request) + { + $postBody = $request->getPostBody(); + $contentType = $request->getRequestHeader("content-type"); + + // Set the default content-type as application/x-www-form-urlencoded. + if (false == $contentType) { + $contentType = self::FORM_URLENCODED; + $request->setRequestHeaders(array('content-type' => $contentType)); + } + + // Force the payload to match the content-type asserted in the header. + if ($contentType == self::FORM_URLENCODED && is_array($postBody)) { + $postBody = http_build_query($postBody, '', '&'); + $request->setPostBody($postBody); + } + + // Make sure the content-length header is set. + if (!$postBody || is_string($postBody)) { + $postsLength = strlen($postBody); + $request->setRequestHeaders(array('content-length' => $postsLength)); + } + + return $request; + } + + /** + * Check if an already cached request must be revalidated, and if so update + * the request with the correct ETag headers. + * @param Google_Http_Request $cached A previously cached response. + * @param Google_Http_Request $request The outbound request. + * return bool If the cached object needs to be revalidated, false if it is + * still current and can be re-used. + */ + protected function checkMustRevalidateCachedRequest($cached, $request) + { + if (Google_Http_CacheParser::mustRevalidate($cached)) { + $addHeaders = array(); + if ($cached->getResponseHeader('etag')) { + // [13.3.4] If an entity tag has been provided by the origin server, + // we must use that entity tag in any cache-conditional request. + $addHeaders['If-None-Match'] = $cached->getResponseHeader('etag'); + } elseif ($cached->getResponseHeader('date')) { + $addHeaders['If-Modified-Since'] = $cached->getResponseHeader('date'); + } + + $request->setRequestHeaders($addHeaders); + return true; + } else { + return false; + } + } + + /** + * Update a cached request, using the headers from the last response. + * @param Google_Http_Request $cached A previously cached response. + * @param mixed Associative array of response headers from the last request. + */ + protected function updateCachedRequest($cached, $responseHeaders) + { + $hopByHop = self::$HOP_BY_HOP; + if (!empty($responseHeaders['connection'])) { + $connectionHeaders = array_map( + 'strtolower', + array_filter( + array_map('trim', explode(',', $responseHeaders['connection'])) + ) + ); + $hopByHop += array_fill_keys($connectionHeaders, true); + } + + $endToEnd = array_diff_key($responseHeaders, $hopByHop); + $cached->setResponseHeaders($endToEnd); + } + + /** + * Used by the IO lib and also the batch processing. + * + * @param $respData + * @param $headerSize + * @return array + */ + public function parseHttpResponse($respData, $headerSize) + { + // check proxy header + foreach (self::$CONNECTION_ESTABLISHED_HEADERS as $established_header) { + if (stripos($respData, $established_header) !== false) { + // existed, remove it + $respData = str_ireplace($established_header, '', $respData); + // Subtract the proxy header size unless the cURL bug prior to 7.30.0 + // is present which prevented the proxy header size from being taken into + // account. + if (!$this->needsQuirk()) { + $headerSize -= strlen($established_header); + } + break; + } + } + + if ($headerSize) { + $responseBody = substr($respData, $headerSize); + $responseHeaders = substr($respData, 0, $headerSize); + } else { + $responseSegments = explode("\r\n\r\n", $respData, 2); + $responseHeaders = $responseSegments[0]; + $responseBody = isset($responseSegments[1]) ? $responseSegments[1] : + null; + } + + $responseHeaders = $this->getHttpResponseHeaders($responseHeaders); + return array($responseHeaders, $responseBody); + } + + /** + * Parse out headers from raw headers + * @param rawHeaders array or string + * @return array + */ + public function getHttpResponseHeaders($rawHeaders) + { + if (is_array($rawHeaders)) { + return $this->parseArrayHeaders($rawHeaders); + } else { + return $this->parseStringHeaders($rawHeaders); + } + } + + private function parseStringHeaders($rawHeaders) + { + $headers = array(); + $responseHeaderLines = explode("\r\n", $rawHeaders); + foreach ($responseHeaderLines as $headerLine) { + if ($headerLine && strpos($headerLine, ':') !== false) { + list($header, $value) = explode(': ', $headerLine, 2); + $header = strtolower($header); + if (isset($headers[$header])) { + $headers[$header] .= "\n" . $value; + } else { + $headers[$header] = $value; + } + } + } + return $headers; + } + + private function parseArrayHeaders($rawHeaders) + { + $header_count = count($rawHeaders); + $headers = array(); + + for ($i = 0; $i < $header_count; $i++) { + $header = $rawHeaders[$i]; + // Times will have colons in - so we just want the first match. + $header_parts = explode(': ', $header, 2); + if (count($header_parts) == 2) { + $headers[strtolower($header_parts[0])] = $header_parts[1]; + } + } + + return $headers; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/IO/Curl.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/IO/Curl.php new file mode 100644 index 0000000..c250ec9 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/IO/Curl.php @@ -0,0 +1,182 @@ + + */ + +if (!class_exists('Google_Client')) { + require_once dirname(__FILE__) . '/../autoload.php'; +} + +class Google_IO_Curl extends Google_IO_Abstract +{ + // cURL hex representation of version 7.30.0 + const NO_QUIRK_VERSION = 0x071E00; + + private $options = array(); + + public function __construct(Google_Client $client) + { + if (!extension_loaded('curl')) { + $error = 'The cURL IO handler requires the cURL extension to be enabled'; + $client->getLogger()->critical($error); + throw new Google_IO_Exception($error); + } + + parent::__construct($client); + } + + /** + * Execute an HTTP Request + * + * @param Google_Http_Request $request the http request to be executed + * @return array containing response headers, body, and http code + * @throws Google_IO_Exception on curl or IO error + */ + public function executeRequest(Google_Http_Request $request) + { + $curl = curl_init(); + + if ($request->getPostBody()) { + curl_setopt($curl, CURLOPT_POSTFIELDS, $request->getPostBody()); + } + + $requestHeaders = $request->getRequestHeaders(); + if ($requestHeaders && is_array($requestHeaders)) { + $curlHeaders = array(); + foreach ($requestHeaders as $k => $v) { + $curlHeaders[] = "$k: $v"; + } + curl_setopt($curl, CURLOPT_HTTPHEADER, $curlHeaders); + } + curl_setopt($curl, CURLOPT_URL, $request->getUrl()); + + curl_setopt($curl, CURLOPT_CUSTOMREQUEST, $request->getRequestMethod()); + curl_setopt($curl, CURLOPT_USERAGENT, $request->getUserAgent()); + + curl_setopt($curl, CURLOPT_FOLLOWLOCATION, false); + curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, true); + + // The SSL version will be determined by the underlying library + // @see https://github.com/google/google-api-php-client/pull/644 + //curl_setopt($curl, CURLOPT_SSLVERSION, 1); + + curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); + curl_setopt($curl, CURLOPT_HEADER, true); + + if ($request->canGzip()) { + curl_setopt($curl, CURLOPT_ENCODING, 'gzip,deflate'); + } + + $options = $this->client->getClassConfig('Google_IO_Curl', 'options'); + if (is_array($options)) { + $this->setOptions($options); + } + + foreach ($this->options as $key => $var) { + curl_setopt($curl, $key, $var); + } + + if (!isset($this->options[CURLOPT_CAINFO])) { + curl_setopt($curl, CURLOPT_CAINFO, dirname(__FILE__) . '/cacerts.pem'); + } + + $this->client->getLogger()->debug( + 'cURL request', + array( + 'url' => $request->getUrl(), + 'method' => $request->getRequestMethod(), + 'headers' => $requestHeaders, + 'body' => $request->getPostBody() + ) + ); + + $response = curl_exec($curl); + if ($response === false) { + $error = curl_error($curl); + $code = curl_errno($curl); + $map = $this->client->getClassConfig('Google_IO_Exception', 'retry_map'); + + $this->client->getLogger()->error('cURL ' . $error); + throw new Google_IO_Exception($error, $code, null, $map); + } + $headerSize = curl_getinfo($curl, CURLINFO_HEADER_SIZE); + + list($responseHeaders, $responseBody) = $this->parseHttpResponse($response, $headerSize); + $responseCode = curl_getinfo($curl, CURLINFO_HTTP_CODE); + + $this->client->getLogger()->debug( + 'cURL response', + array( + 'code' => $responseCode, + 'headers' => $responseHeaders, + 'body' => $responseBody, + ) + ); + + return array($responseBody, $responseHeaders, $responseCode); + } + + /** + * Set options that update the transport implementation's behavior. + * @param $options + */ + public function setOptions($options) + { + $this->options = $options + $this->options; + } + + /** + * Set the maximum request time in seconds. + * @param $timeout in seconds + */ + public function setTimeout($timeout) + { + // Since this timeout is really for putting a bound on the time + // we'll set them both to the same. If you need to specify a longer + // CURLOPT_TIMEOUT, or a higher CONNECTTIMEOUT, the best thing to + // do is use the setOptions method for the values individually. + $this->options[CURLOPT_CONNECTTIMEOUT] = $timeout; + $this->options[CURLOPT_TIMEOUT] = $timeout; + } + + /** + * Get the maximum request time in seconds. + * @return timeout in seconds + */ + public function getTimeout() + { + return $this->options[CURLOPT_TIMEOUT]; + } + + /** + * Test for the presence of a cURL header processing bug + * + * {@inheritDoc} + * + * @return boolean + */ + protected function needsQuirk() + { + $ver = curl_version(); + $versionNum = $ver['version_number']; + return $versionNum < Google_IO_Curl::NO_QUIRK_VERSION; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/IO/Exception.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/IO/Exception.php new file mode 100644 index 0000000..da9342d --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/IO/Exception.php @@ -0,0 +1,69 @@ += 0) { + parent::__construct($message, $code, $previous); + } else { + parent::__construct($message, $code); + } + + if (is_array($retryMap)) { + $this->retryMap = $retryMap; + } + } + + /** + * Gets the number of times the associated task can be retried. + * + * NOTE: -1 is returned if the task can be retried indefinitely + * + * @return integer + */ + public function allowedRetries() + { + if (isset($this->retryMap[$this->code])) { + return $this->retryMap[$this->code]; + } + + return 0; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/IO/Stream.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/IO/Stream.php new file mode 100644 index 0000000..2c5178f --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/IO/Stream.php @@ -0,0 +1,243 @@ + + */ + +if (!class_exists('Google_Client')) { + require_once dirname(__FILE__) . '/../autoload.php'; +} + +class Google_IO_Stream extends Google_IO_Abstract +{ + const TIMEOUT = "timeout"; + const ZLIB = "compress.zlib://"; + private $options = array(); + private $trappedErrorNumber; + private $trappedErrorString; + + private static $DEFAULT_HTTP_CONTEXT = array( + "follow_location" => 0, + "ignore_errors" => 1, + ); + + private static $DEFAULT_SSL_CONTEXT = array( + "verify_peer" => true, + ); + + public function __construct(Google_Client $client) + { + if (!ini_get('allow_url_fopen')) { + $error = 'The stream IO handler requires the allow_url_fopen runtime ' . + 'configuration to be enabled'; + $client->getLogger()->critical($error); + throw new Google_IO_Exception($error); + } + + parent::__construct($client); + } + + /** + * Execute an HTTP Request + * + * @param Google_Http_Request $request the http request to be executed + * @return array containing response headers, body, and http code + * @throws Google_IO_Exception on curl or IO error + */ + public function executeRequest(Google_Http_Request $request) + { + $default_options = stream_context_get_options(stream_context_get_default()); + + $requestHttpContext = array_key_exists('http', $default_options) ? + $default_options['http'] : array(); + + if ($request->getPostBody()) { + $requestHttpContext["content"] = $request->getPostBody(); + } + + $requestHeaders = $request->getRequestHeaders(); + if ($requestHeaders && is_array($requestHeaders)) { + $headers = ""; + foreach ($requestHeaders as $k => $v) { + $headers .= "$k: $v\r\n"; + } + $requestHttpContext["header"] = $headers; + } + + $requestHttpContext["method"] = $request->getRequestMethod(); + $requestHttpContext["user_agent"] = $request->getUserAgent(); + + $requestSslContext = array_key_exists('ssl', $default_options) ? + $default_options['ssl'] : array(); + + if (!$this->client->isAppEngine() && !array_key_exists("cafile", $requestSslContext)) { + $requestSslContext["cafile"] = dirname(__FILE__) . '/cacerts.pem'; + } + + $options = array( + "http" => array_merge( + self::$DEFAULT_HTTP_CONTEXT, + $requestHttpContext + ), + "ssl" => array_merge( + self::$DEFAULT_SSL_CONTEXT, + $requestSslContext + ) + ); + + $context = stream_context_create($options); + + $url = $request->getUrl(); + + if ($request->canGzip()) { + $url = self::ZLIB . $url; + } + + $this->client->getLogger()->debug( + 'Stream request', + array( + 'url' => $url, + 'method' => $request->getRequestMethod(), + 'headers' => $requestHeaders, + 'body' => $request->getPostBody() + ) + ); + + // We are trapping any thrown errors in this method only and + // throwing an exception. + $this->trappedErrorNumber = null; + $this->trappedErrorString = null; + + // START - error trap. + set_error_handler(array($this, 'trapError')); + $fh = fopen($url, 'r', false, $context); + restore_error_handler(); + // END - error trap. + + if ($this->trappedErrorNumber) { + $error = sprintf( + "HTTP Error: Unable to connect: '%s'", + $this->trappedErrorString + ); + + $this->client->getLogger()->error('Stream ' . $error); + throw new Google_IO_Exception($error, $this->trappedErrorNumber); + } + + $response_data = false; + $respHttpCode = self::UNKNOWN_CODE; + if ($fh) { + if (isset($this->options[self::TIMEOUT])) { + stream_set_timeout($fh, $this->options[self::TIMEOUT]); + } + + $response_data = stream_get_contents($fh); + fclose($fh); + + $respHttpCode = $this->getHttpResponseCode($http_response_header); + } + + if (false === $response_data) { + $error = sprintf( + "HTTP Error: Unable to connect: '%s'", + $respHttpCode + ); + + $this->client->getLogger()->error('Stream ' . $error); + throw new Google_IO_Exception($error, $respHttpCode); + } + + $responseHeaders = $this->getHttpResponseHeaders($http_response_header); + + $this->client->getLogger()->debug( + 'Stream response', + array( + 'code' => $respHttpCode, + 'headers' => $responseHeaders, + 'body' => $response_data, + ) + ); + + return array($response_data, $responseHeaders, $respHttpCode); + } + + /** + * Set options that update the transport implementation's behavior. + * @param $options + */ + public function setOptions($options) + { + $this->options = $options + $this->options; + } + + /** + * Method to handle errors, used for error handling around + * stream connection methods. + */ + public function trapError($errno, $errstr) + { + $this->trappedErrorNumber = $errno; + $this->trappedErrorString = $errstr; + } + + /** + * Set the maximum request time in seconds. + * @param $timeout in seconds + */ + public function setTimeout($timeout) + { + $this->options[self::TIMEOUT] = $timeout; + } + + /** + * Get the maximum request time in seconds. + * @return timeout in seconds + */ + public function getTimeout() + { + return $this->options[self::TIMEOUT]; + } + + /** + * Test for the presence of a cURL header processing bug + * + * {@inheritDoc} + * + * @return boolean + */ + protected function needsQuirk() + { + return false; + } + + protected function getHttpResponseCode($response_headers) + { + $header_count = count($response_headers); + + for ($i = 0; $i < $header_count; $i++) { + $header = $response_headers[$i]; + if (strncasecmp("HTTP", $header, strlen("HTTP")) == 0) { + $response = explode(' ', $header); + return $response[1]; + } + } + return self::UNKNOWN_CODE; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/IO/cacerts.pem b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/IO/cacerts.pem new file mode 100644 index 0000000..70990f1 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/IO/cacerts.pem @@ -0,0 +1,2183 @@ +# Issuer: CN=GTE CyberTrust Global Root O=GTE Corporation OU=GTE CyberTrust Solutions, Inc. +# Subject: CN=GTE CyberTrust Global Root O=GTE Corporation OU=GTE CyberTrust Solutions, Inc. +# Label: "GTE CyberTrust Global Root" +# Serial: 421 +# MD5 Fingerprint: ca:3d:d3:68:f1:03:5c:d0:32:fa:b8:2b:59:e8:5a:db +# SHA1 Fingerprint: 97:81:79:50:d8:1c:96:70:cc:34:d8:09:cf:79:44:31:36:7e:f4:74 +# SHA256 Fingerprint: a5:31:25:18:8d:21:10:aa:96:4b:02:c7:b7:c6:da:32:03:17:08:94:e5:fb:71:ff:fb:66:67:d5:e6:81:0a:36 +-----BEGIN CERTIFICATE----- +MIICWjCCAcMCAgGlMA0GCSqGSIb3DQEBBAUAMHUxCzAJBgNVBAYTAlVTMRgwFgYD +VQQKEw9HVEUgQ29ycG9yYXRpb24xJzAlBgNVBAsTHkdURSBDeWJlclRydXN0IFNv +bHV0aW9ucywgSW5jLjEjMCEGA1UEAxMaR1RFIEN5YmVyVHJ1c3QgR2xvYmFsIFJv +b3QwHhcNOTgwODEzMDAyOTAwWhcNMTgwODEzMjM1OTAwWjB1MQswCQYDVQQGEwJV +UzEYMBYGA1UEChMPR1RFIENvcnBvcmF0aW9uMScwJQYDVQQLEx5HVEUgQ3liZXJU +cnVzdCBTb2x1dGlvbnMsIEluYy4xIzAhBgNVBAMTGkdURSBDeWJlclRydXN0IEds +b2JhbCBSb290MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCVD6C28FCc6HrH +iM3dFw4usJTQGz0O9pTAipTHBsiQl8i4ZBp6fmw8U+E3KHNgf7KXUwefU/ltWJTS +r41tiGeA5u2ylc9yMcqlHHK6XALnZELn+aks1joNrI1CqiQBOeacPwGFVw1Yh0X4 +04Wqk2kmhXBIgD8SFcd5tB8FLztimQIDAQABMA0GCSqGSIb3DQEBBAUAA4GBAG3r +GwnpXtlR22ciYaQqPEh346B8pt5zohQDhT37qw4wxYMWM4ETCJ57NE7fQMh017l9 +3PR2VX2bY1QY6fDq81yx2YtCHrnAlU66+tXifPVoYb+O7AWXX1uw16OFNMQkpw0P +lZPvy5TYnh+dXIVtx6quTx8itc2VrbqnzPmrC3p/ +-----END CERTIFICATE----- + +# Issuer: CN=Thawte Server CA O=Thawte Consulting cc OU=Certification Services Division +# Subject: CN=Thawte Server CA O=Thawte Consulting cc OU=Certification Services Division +# Label: "Thawte Server CA" +# Serial: 1 +# MD5 Fingerprint: c5:70:c4:a2:ed:53:78:0c:c8:10:53:81:64:cb:d0:1d +# SHA1 Fingerprint: 23:e5:94:94:51:95:f2:41:48:03:b4:d5:64:d2:a3:a3:f5:d8:8b:8c +# SHA256 Fingerprint: b4:41:0b:73:e2:e6:ea:ca:47:fb:c4:2f:8f:a4:01:8a:f4:38:1d:c5:4c:fa:a8:44:50:46:1e:ed:09:45:4d:e9 +-----BEGIN CERTIFICATE----- +MIIDEzCCAnygAwIBAgIBATANBgkqhkiG9w0BAQQFADCBxDELMAkGA1UEBhMCWkEx +FTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMR0wGwYD +VQQKExRUaGF3dGUgQ29uc3VsdGluZyBjYzEoMCYGA1UECxMfQ2VydGlmaWNhdGlv +biBTZXJ2aWNlcyBEaXZpc2lvbjEZMBcGA1UEAxMQVGhhd3RlIFNlcnZlciBDQTEm +MCQGCSqGSIb3DQEJARYXc2VydmVyLWNlcnRzQHRoYXd0ZS5jb20wHhcNOTYwODAx +MDAwMDAwWhcNMjAxMjMxMjM1OTU5WjCBxDELMAkGA1UEBhMCWkExFTATBgNVBAgT +DFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMR0wGwYDVQQKExRUaGF3 +dGUgQ29uc3VsdGluZyBjYzEoMCYGA1UECxMfQ2VydGlmaWNhdGlvbiBTZXJ2aWNl +cyBEaXZpc2lvbjEZMBcGA1UEAxMQVGhhd3RlIFNlcnZlciBDQTEmMCQGCSqGSIb3 +DQEJARYXc2VydmVyLWNlcnRzQHRoYXd0ZS5jb20wgZ8wDQYJKoZIhvcNAQEBBQAD +gY0AMIGJAoGBANOkUG7I/1Zr5s9dtuoMaHVHoqrC2oQl/Kj0R1HahbUgdJSGHg91 +yekIYfUGbTBuFRkC6VLAYttNmZ7iagxEOM3+vuNkCXDF/rFrKbYvScg71CcEJRCX +L+eQbcAoQpnXTEPew/UhbVSfXcNY4cDk2VuwuNy0e982OsK1ZiIS1ocNAgMBAAGj +EzARMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQEEBQADgYEAB/pMaVz7lcxG +7oWDTSEwjsrZqG9JGubaUeNgcGyEYRGhGshIPllDfU+VPaGLtwtimHp1it2ITk6e +QNuozDJ0uW8NxuOzRAvZim+aKZuZGCg70eNAKJpaPNW15yAbi8qkq43pUdniTCxZ +qdq5snUb9kLy78fyGPmJvKP/iiMucEc= +-----END CERTIFICATE----- + +# Issuer: CN=Thawte Premium Server CA O=Thawte Consulting cc OU=Certification Services Division +# Subject: CN=Thawte Premium Server CA O=Thawte Consulting cc OU=Certification Services Division +# Label: "Thawte Premium Server CA" +# Serial: 1 +# MD5 Fingerprint: 06:9f:69:79:16:66:90:02:1b:8c:8c:a2:c3:07:6f:3a +# SHA1 Fingerprint: 62:7f:8d:78:27:65:63:99:d2:7d:7f:90:44:c9:fe:b3:f3:3e:fa:9a +# SHA256 Fingerprint: ab:70:36:36:5c:71:54:aa:29:c2:c2:9f:5d:41:91:16:3b:16:2a:22:25:01:13:57:d5:6d:07:ff:a7:bc:1f:72 +-----BEGIN CERTIFICATE----- +MIIDJzCCApCgAwIBAgIBATANBgkqhkiG9w0BAQQFADCBzjELMAkGA1UEBhMCWkEx +FTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMR0wGwYD +VQQKExRUaGF3dGUgQ29uc3VsdGluZyBjYzEoMCYGA1UECxMfQ2VydGlmaWNhdGlv +biBTZXJ2aWNlcyBEaXZpc2lvbjEhMB8GA1UEAxMYVGhhd3RlIFByZW1pdW0gU2Vy +dmVyIENBMSgwJgYJKoZIhvcNAQkBFhlwcmVtaXVtLXNlcnZlckB0aGF3dGUuY29t +MB4XDTk2MDgwMTAwMDAwMFoXDTIwMTIzMTIzNTk1OVowgc4xCzAJBgNVBAYTAlpB +MRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEdMBsG +A1UEChMUVGhhd3RlIENvbnN1bHRpbmcgY2MxKDAmBgNVBAsTH0NlcnRpZmljYXRp +b24gU2VydmljZXMgRGl2aXNpb24xITAfBgNVBAMTGFRoYXd0ZSBQcmVtaXVtIFNl +cnZlciBDQTEoMCYGCSqGSIb3DQEJARYZcHJlbWl1bS1zZXJ2ZXJAdGhhd3RlLmNv +bTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA0jY2aovXwlue2oFBYo847kkE +VdbQ7xwblRZH7xhINTpS9CtqBo87L+pW46+GjZ4X9560ZXUCTe/LCaIhUdib0GfQ +ug2SBhRz1JPLlyoAnFxODLz6FVL88kRu2hFKbgifLy3j+ao6hnO2RlNYyIkFvYMR +uHM/qgeN9EJN50CdHDcCAwEAAaMTMBEwDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG +9w0BAQQFAAOBgQAmSCwWwlj66BZ0DKqqX1Q/8tfJeGBeXm43YyJ3Nn6yF8Q0ufUI +hfzJATj/Tb7yFkJD57taRvvBxhEf8UqwKEbJw8RCfbz6q1lu1bdRiBHjpIUZa4JM +pAwSremkrj/xw0llmozFyD4lt5SZu5IycQfwhl7tUCemDaYj+bvLpgcUQg== +-----END CERTIFICATE----- + +# Issuer: O=Equifax OU=Equifax Secure Certificate Authority +# Subject: O=Equifax OU=Equifax Secure Certificate Authority +# Label: "Equifax Secure CA" +# Serial: 903804111 +# MD5 Fingerprint: 67:cb:9d:c0:13:24:8a:82:9b:b2:17:1e:d1:1b:ec:d4 +# SHA1 Fingerprint: d2:32:09:ad:23:d3:14:23:21:74:e4:0d:7f:9d:62:13:97:86:63:3a +# SHA256 Fingerprint: 08:29:7a:40:47:db:a2:36:80:c7:31:db:6e:31:76:53:ca:78:48:e1:be:bd:3a:0b:01:79:a7:07:f9:2c:f1:78 +-----BEGIN CERTIFICATE----- +MIIDIDCCAomgAwIBAgIENd70zzANBgkqhkiG9w0BAQUFADBOMQswCQYDVQQGEwJV +UzEQMA4GA1UEChMHRXF1aWZheDEtMCsGA1UECxMkRXF1aWZheCBTZWN1cmUgQ2Vy +dGlmaWNhdGUgQXV0aG9yaXR5MB4XDTk4MDgyMjE2NDE1MVoXDTE4MDgyMjE2NDE1 +MVowTjELMAkGA1UEBhMCVVMxEDAOBgNVBAoTB0VxdWlmYXgxLTArBgNVBAsTJEVx +dWlmYXggU2VjdXJlIENlcnRpZmljYXRlIEF1dGhvcml0eTCBnzANBgkqhkiG9w0B +AQEFAAOBjQAwgYkCgYEAwV2xWGcIYu6gmi0fCG2RFGiYCh7+2gRvE4RiIcPRfM6f +BeC4AfBONOziipUEZKzxa1NfBbPLZ4C/QgKO/t0BCezhABRP/PvwDN1Dulsr4R+A +cJkVV5MW8Q+XarfCaCMczE1ZMKxRHjuvK9buY0V7xdlfUNLjUA86iOe/FP3gx7kC +AwEAAaOCAQkwggEFMHAGA1UdHwRpMGcwZaBjoGGkXzBdMQswCQYDVQQGEwJVUzEQ +MA4GA1UEChMHRXF1aWZheDEtMCsGA1UECxMkRXF1aWZheCBTZWN1cmUgQ2VydGlm +aWNhdGUgQXV0aG9yaXR5MQ0wCwYDVQQDEwRDUkwxMBoGA1UdEAQTMBGBDzIwMTgw +ODIyMTY0MTUxWjALBgNVHQ8EBAMCAQYwHwYDVR0jBBgwFoAUSOZo+SvSspXXR9gj +IBBPM5iQn9QwHQYDVR0OBBYEFEjmaPkr0rKV10fYIyAQTzOYkJ/UMAwGA1UdEwQF +MAMBAf8wGgYJKoZIhvZ9B0EABA0wCxsFVjMuMGMDAgbAMA0GCSqGSIb3DQEBBQUA +A4GBAFjOKer89961zgK5F7WF0bnj4JXMJTENAKaSbn+2kmOeUJXRmm/kEd5jhW6Y +7qj/WsjTVbJmcVfewCHrPSqnI0kBBIZCe/zuf6IWUrVnZ9NA2zsmWLIodz2uFHdh +1voqZiegDfqnc1zqcPGUIWVEX/r87yloqaKHee9570+sB3c4 +-----END CERTIFICATE----- + +# Issuer: O=VeriSign, Inc. OU=Class 3 Public Primary Certification Authority +# Subject: O=VeriSign, Inc. OU=Class 3 Public Primary Certification Authority +# Label: "Verisign Class 3 Public Primary Certification Authority" +# Serial: 149843929435818692848040365716851702463 +# MD5 Fingerprint: 10:fc:63:5d:f6:26:3e:0d:f3:25:be:5f:79:cd:67:67 +# SHA1 Fingerprint: 74:2c:31:92:e6:07:e4:24:eb:45:49:54:2b:e1:bb:c5:3e:61:74:e2 +# SHA256 Fingerprint: e7:68:56:34:ef:ac:f6:9a:ce:93:9a:6b:25:5b:7b:4f:ab:ef:42:93:5b:50:a2:65:ac:b5:cb:60:27:e4:4e:70 +-----BEGIN CERTIFICATE----- +MIICPDCCAaUCEHC65B0Q2Sk0tjjKewPMur8wDQYJKoZIhvcNAQECBQAwXzELMAkG +A1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFz +cyAzIFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTk2 +MDEyOTAwMDAwMFoXDTI4MDgwMTIzNTk1OVowXzELMAkGA1UEBhMCVVMxFzAVBgNV +BAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFzcyAzIFB1YmxpYyBQcmlt +YXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIGfMA0GCSqGSIb3DQEBAQUAA4GN +ADCBiQKBgQDJXFme8huKARS0EN8EQNvjV69qRUCPhAwL0TPZ2RHP7gJYHyX3KqhE +BarsAx94f56TuZoAqiN91qyFomNFx3InzPRMxnVx0jnvT0Lwdd8KkMaOIG+YD/is +I19wKTakyYbnsZogy1Olhec9vn2a/iRFM9x2Fe0PonFkTGUugWhFpwIDAQABMA0G +CSqGSIb3DQEBAgUAA4GBALtMEivPLCYATxQT3ab7/AoRhIzzKBxnki98tsX63/Do +lbwdj2wsqFHMc9ikwFPwTtYmwHYBV4GSXiHx0bH/59AhWM1pF+NEHJwZRDmJXNyc +AA9WjQKZ7aKQRUzkuxCkPfAyAw7xzvjoyVGM5mKf5p/AfbdynMk2OmufTqj/ZA1k +-----END CERTIFICATE----- + +# Issuer: O=VeriSign, Inc. OU=Class 3 Public Primary Certification Authority - G2/(c) 1998 VeriSign, Inc. - For authorized use only/VeriSign Trust Network +# Subject: O=VeriSign, Inc. OU=Class 3 Public Primary Certification Authority - G2/(c) 1998 VeriSign, Inc. - For authorized use only/VeriSign Trust Network +# Label: "Verisign Class 3 Public Primary Certification Authority - G2" +# Serial: 167285380242319648451154478808036881606 +# MD5 Fingerprint: a2:33:9b:4c:74:78:73:d4:6c:e7:c1:f3:8d:cb:5c:e9 +# SHA1 Fingerprint: 85:37:1c:a6:e5:50:14:3d:ce:28:03:47:1b:de:3a:09:e8:f8:77:0f +# SHA256 Fingerprint: 83:ce:3c:12:29:68:8a:59:3d:48:5f:81:97:3c:0f:91:95:43:1e:da:37:cc:5e:36:43:0e:79:c7:a8:88:63:8b +-----BEGIN CERTIFICATE----- +MIIDAjCCAmsCEH3Z/gfPqB63EHln+6eJNMYwDQYJKoZIhvcNAQEFBQAwgcExCzAJ +BgNVBAYTAlVTMRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjE8MDoGA1UECxMzQ2xh +c3MgMyBQdWJsaWMgUHJpbWFyeSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSAtIEcy +MTowOAYDVQQLEzEoYykgMTk5OCBWZXJpU2lnbiwgSW5jLiAtIEZvciBhdXRob3Jp +emVkIHVzZSBvbmx5MR8wHQYDVQQLExZWZXJpU2lnbiBUcnVzdCBOZXR3b3JrMB4X +DTk4MDUxODAwMDAwMFoXDTI4MDgwMTIzNTk1OVowgcExCzAJBgNVBAYTAlVTMRcw +FQYDVQQKEw5WZXJpU2lnbiwgSW5jLjE8MDoGA1UECxMzQ2xhc3MgMyBQdWJsaWMg +UHJpbWFyeSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSAtIEcyMTowOAYDVQQLEzEo +YykgMTk5OCBWZXJpU2lnbiwgSW5jLiAtIEZvciBhdXRob3JpemVkIHVzZSBvbmx5 +MR8wHQYDVQQLExZWZXJpU2lnbiBUcnVzdCBOZXR3b3JrMIGfMA0GCSqGSIb3DQEB +AQUAA4GNADCBiQKBgQDMXtERXVxp0KvTuWpMmR9ZmDCOFoUgRm1HP9SFIIThbbP4 +pO0M8RcPO/mn+SXXwc+EY/J8Y8+iR/LGWzOOZEAEaMGAuWQcRXfH2G71lSk8UOg0 +13gfqLptQ5GVj0VXXn7F+8qkBOvqlzdUMG+7AUcyM83cV5tkaWH4mx0ciU9cZwID +AQABMA0GCSqGSIb3DQEBBQUAA4GBAFFNzb5cy5gZnBWyATl4Lk0PZ3BwmcYQWpSk +U01UbSuvDV1Ai2TT1+7eVmGSX6bEHRBhNtMsJzzoKQm5EWR0zLVznxxIqbxhAe7i +F6YM40AIOw7n60RzKprxaZLvcRTDOaxxp5EJb+RxBrO6WVcmeQD2+A2iMzAo1KpY +oJ2daZH9 +-----END CERTIFICATE----- + +# Issuer: CN=GlobalSign Root CA O=GlobalSign nv-sa OU=Root CA +# Subject: CN=GlobalSign Root CA O=GlobalSign nv-sa OU=Root CA +# Label: "GlobalSign Root CA" +# Serial: 4835703278459707669005204 +# MD5 Fingerprint: 3e:45:52:15:09:51:92:e1:b7:5d:37:9f:b1:87:29:8a +# SHA1 Fingerprint: b1:bc:96:8b:d4:f4:9d:62:2a:a8:9a:81:f2:15:01:52:a4:1d:82:9c +# SHA256 Fingerprint: eb:d4:10:40:e4:bb:3e:c7:42:c9:e3:81:d3:1e:f2:a4:1a:48:b6:68:5c:96:e7:ce:f3:c1:df:6c:d4:33:1c:99 +-----BEGIN CERTIFICATE----- +MIIDdTCCAl2gAwIBAgILBAAAAAABFUtaw5QwDQYJKoZIhvcNAQEFBQAwVzELMAkG +A1UEBhMCQkUxGTAXBgNVBAoTEEdsb2JhbFNpZ24gbnYtc2ExEDAOBgNVBAsTB1Jv +b3QgQ0ExGzAZBgNVBAMTEkdsb2JhbFNpZ24gUm9vdCBDQTAeFw05ODA5MDExMjAw +MDBaFw0yODAxMjgxMjAwMDBaMFcxCzAJBgNVBAYTAkJFMRkwFwYDVQQKExBHbG9i +YWxTaWduIG52LXNhMRAwDgYDVQQLEwdSb290IENBMRswGQYDVQQDExJHbG9iYWxT +aWduIFJvb3QgQ0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDaDuaZ +jc6j40+Kfvvxi4Mla+pIH/EqsLmVEQS98GPR4mdmzxzdzxtIK+6NiY6arymAZavp +xy0Sy6scTHAHoT0KMM0VjU/43dSMUBUc71DuxC73/OlS8pF94G3VNTCOXkNz8kHp +1Wrjsok6Vjk4bwY8iGlbKk3Fp1S4bInMm/k8yuX9ifUSPJJ4ltbcdG6TRGHRjcdG +snUOhugZitVtbNV4FpWi6cgKOOvyJBNPc1STE4U6G7weNLWLBYy5d4ux2x8gkasJ +U26Qzns3dLlwR5EiUWMWea6xrkEmCMgZK9FGqkjWZCrXgzT/LCrBbBlDSgeF59N8 +9iFo7+ryUp9/k5DPAgMBAAGjQjBAMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8E +BTADAQH/MB0GA1UdDgQWBBRge2YaRQ2XyolQL30EzTSo//z9SzANBgkqhkiG9w0B +AQUFAAOCAQEA1nPnfE920I2/7LqivjTFKDK1fPxsnCwrvQmeU79rXqoRSLblCKOz +yj1hTdNGCbM+w6DjY1Ub8rrvrTnhQ7k4o+YviiY776BQVvnGCv04zcQLcFGUl5gE +38NflNUVyRRBnMRddWQVDf9VMOyGj/8N7yy5Y0b2qvzfvGn9LhJIZJrglfCm7ymP +AbEVtQwdpf5pLGkkeB6zpxxxYu7KyJesF12KwvhHhm4qxFYxldBniYUr+WymXUad +DKqC5JlR3XC321Y9YeRq4VzW9v493kHMB65jUr9TU/Qr6cf9tveCX4XSQRjbgbME +HMUfpIBvFSDJ3gyICh3WZlXi/EjJKSZp4A== +-----END CERTIFICATE----- + +# Issuer: CN=GlobalSign O=GlobalSign OU=GlobalSign Root CA - R2 +# Subject: CN=GlobalSign O=GlobalSign OU=GlobalSign Root CA - R2 +# Label: "GlobalSign Root CA - R2" +# Serial: 4835703278459682885658125 +# MD5 Fingerprint: 94:14:77:7e:3e:5e:fd:8f:30:bd:41:b0:cf:e7:d0:30 +# SHA1 Fingerprint: 75:e0:ab:b6:13:85:12:27:1c:04:f8:5f:dd:de:38:e4:b7:24:2e:fe +# SHA256 Fingerprint: ca:42:dd:41:74:5f:d0:b8:1e:b9:02:36:2c:f9:d8:bf:71:9d:a1:bd:1b:1e:fc:94:6f:5b:4c:99:f4:2c:1b:9e +-----BEGIN CERTIFICATE----- +MIIDujCCAqKgAwIBAgILBAAAAAABD4Ym5g0wDQYJKoZIhvcNAQEFBQAwTDEgMB4G +A1UECxMXR2xvYmFsU2lnbiBSb290IENBIC0gUjIxEzARBgNVBAoTCkdsb2JhbFNp +Z24xEzARBgNVBAMTCkdsb2JhbFNpZ24wHhcNMDYxMjE1MDgwMDAwWhcNMjExMjE1 +MDgwMDAwWjBMMSAwHgYDVQQLExdHbG9iYWxTaWduIFJvb3QgQ0EgLSBSMjETMBEG +A1UEChMKR2xvYmFsU2lnbjETMBEGA1UEAxMKR2xvYmFsU2lnbjCCASIwDQYJKoZI +hvcNAQEBBQADggEPADCCAQoCggEBAKbPJA6+Lm8omUVCxKs+IVSbC9N/hHD6ErPL +v4dfxn+G07IwXNb9rfF73OX4YJYJkhD10FPe+3t+c4isUoh7SqbKSaZeqKeMWhG8 +eoLrvozps6yWJQeXSpkqBy+0Hne/ig+1AnwblrjFuTosvNYSuetZfeLQBoZfXklq +tTleiDTsvHgMCJiEbKjNS7SgfQx5TfC4LcshytVsW33hoCmEofnTlEnLJGKRILzd +C9XZzPnqJworc5HGnRusyMvo4KD0L5CLTfuwNhv2GXqF4G3yYROIXJ/gkwpRl4pa +zq+r1feqCapgvdzZX99yqWATXgAByUr6P6TqBwMhAo6CygPCm48CAwEAAaOBnDCB +mTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUm+IH +V2ccHsBqBt5ZtJot39wZhi4wNgYDVR0fBC8wLTAroCmgJ4YlaHR0cDovL2NybC5n +bG9iYWxzaWduLm5ldC9yb290LXIyLmNybDAfBgNVHSMEGDAWgBSb4gdXZxwewGoG +3lm0mi3f3BmGLjANBgkqhkiG9w0BAQUFAAOCAQEAmYFThxxol4aR7OBKuEQLq4Gs +J0/WwbgcQ3izDJr86iw8bmEbTUsp9Z8FHSbBuOmDAGJFtqkIk7mpM0sYmsL4h4hO +291xNBrBVNpGP+DTKqttVCL1OmLNIG+6KYnX3ZHu01yiPqFbQfXf5WRDLenVOavS +ot+3i9DAgBkcRcAtjOj4LaR0VknFBbVPFd5uRHg5h6h+u/N5GJG79G+dwfCMNYxd +AfvDbbnvRG15RjF+Cv6pgsH/76tuIMRQyV+dTZsXjAzlAcmgQWpzU/qlULRuJQ/7 +TBj0/VLZjmmx6BEP3ojY+x1J96relc8geMJgEtslQIxq/H5COEBkEveegeGTLg== +-----END CERTIFICATE----- + +# Issuer: CN=http://www.valicert.com/ O=ValiCert, Inc. OU=ValiCert Class 1 Policy Validation Authority +# Subject: CN=http://www.valicert.com/ O=ValiCert, Inc. OU=ValiCert Class 1 Policy Validation Authority +# Label: "ValiCert Class 1 VA" +# Serial: 1 +# MD5 Fingerprint: 65:58:ab:15:ad:57:6c:1e:a8:a7:b5:69:ac:bf:ff:eb +# SHA1 Fingerprint: e5:df:74:3c:b6:01:c4:9b:98:43:dc:ab:8c:e8:6a:81:10:9f:e4:8e +# SHA256 Fingerprint: f4:c1:49:55:1a:30:13:a3:5b:c7:bf:fe:17:a7:f3:44:9b:c1:ab:5b:5a:0a:e7:4b:06:c2:3b:90:00:4c:01:04 +-----BEGIN CERTIFICATE----- +MIIC5zCCAlACAQEwDQYJKoZIhvcNAQEFBQAwgbsxJDAiBgNVBAcTG1ZhbGlDZXJ0 +IFZhbGlkYXRpb24gTmV0d29yazEXMBUGA1UEChMOVmFsaUNlcnQsIEluYy4xNTAz +BgNVBAsTLFZhbGlDZXJ0IENsYXNzIDEgUG9saWN5IFZhbGlkYXRpb24gQXV0aG9y +aXR5MSEwHwYDVQQDExhodHRwOi8vd3d3LnZhbGljZXJ0LmNvbS8xIDAeBgkqhkiG +9w0BCQEWEWluZm9AdmFsaWNlcnQuY29tMB4XDTk5MDYyNTIyMjM0OFoXDTE5MDYy +NTIyMjM0OFowgbsxJDAiBgNVBAcTG1ZhbGlDZXJ0IFZhbGlkYXRpb24gTmV0d29y +azEXMBUGA1UEChMOVmFsaUNlcnQsIEluYy4xNTAzBgNVBAsTLFZhbGlDZXJ0IENs +YXNzIDEgUG9saWN5IFZhbGlkYXRpb24gQXV0aG9yaXR5MSEwHwYDVQQDExhodHRw +Oi8vd3d3LnZhbGljZXJ0LmNvbS8xIDAeBgkqhkiG9w0BCQEWEWluZm9AdmFsaWNl +cnQuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDYWYJ6ibiWuqYvaG9Y +LqdUHAZu9OqNSLwxlBfw8068srg1knaw0KWlAdcAAxIiGQj4/xEjm84H9b9pGib+ +TunRf50sQB1ZaG6m+FiwnRqP0z/x3BkGgagO4DrdyFNFCQbmD3DD+kCmDuJWBQ8Y +TfwggtFzVXSNdnKgHZ0dwN0/cQIDAQABMA0GCSqGSIb3DQEBBQUAA4GBAFBoPUn0 +LBwGlN+VYH+Wexf+T3GtZMjdd9LvWVXoP+iOBSoh8gfStadS/pyxtuJbdxdA6nLW +I8sogTLDAHkY7FkXicnGah5xyf23dKUlRWnFSKsZ4UWKJWsZ7uW7EvV/96aNUcPw +nXS3qT6gpf+2SQMT2iLM7XGCK5nPOrf1LXLI +-----END CERTIFICATE----- + +# Issuer: CN=http://www.valicert.com/ O=ValiCert, Inc. OU=ValiCert Class 2 Policy Validation Authority +# Subject: CN=http://www.valicert.com/ O=ValiCert, Inc. OU=ValiCert Class 2 Policy Validation Authority +# Label: "ValiCert Class 2 VA" +# Serial: 1 +# MD5 Fingerprint: a9:23:75:9b:ba:49:36:6e:31:c2:db:f2:e7:66:ba:87 +# SHA1 Fingerprint: 31:7a:2a:d0:7f:2b:33:5e:f5:a1:c3:4e:4b:57:e8:b7:d8:f1:fc:a6 +# SHA256 Fingerprint: 58:d0:17:27:9c:d4:dc:63:ab:dd:b1:96:a6:c9:90:6c:30:c4:e0:87:83:ea:e8:c1:60:99:54:d6:93:55:59:6b +-----BEGIN CERTIFICATE----- +MIIC5zCCAlACAQEwDQYJKoZIhvcNAQEFBQAwgbsxJDAiBgNVBAcTG1ZhbGlDZXJ0 +IFZhbGlkYXRpb24gTmV0d29yazEXMBUGA1UEChMOVmFsaUNlcnQsIEluYy4xNTAz +BgNVBAsTLFZhbGlDZXJ0IENsYXNzIDIgUG9saWN5IFZhbGlkYXRpb24gQXV0aG9y +aXR5MSEwHwYDVQQDExhodHRwOi8vd3d3LnZhbGljZXJ0LmNvbS8xIDAeBgkqhkiG +9w0BCQEWEWluZm9AdmFsaWNlcnQuY29tMB4XDTk5MDYyNjAwMTk1NFoXDTE5MDYy +NjAwMTk1NFowgbsxJDAiBgNVBAcTG1ZhbGlDZXJ0IFZhbGlkYXRpb24gTmV0d29y +azEXMBUGA1UEChMOVmFsaUNlcnQsIEluYy4xNTAzBgNVBAsTLFZhbGlDZXJ0IENs +YXNzIDIgUG9saWN5IFZhbGlkYXRpb24gQXV0aG9yaXR5MSEwHwYDVQQDExhodHRw +Oi8vd3d3LnZhbGljZXJ0LmNvbS8xIDAeBgkqhkiG9w0BCQEWEWluZm9AdmFsaWNl +cnQuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDOOnHK5avIWZJV16vY +dA757tn2VUdZZUcOBVXc65g2PFxTXdMwzzjsvUGJ7SVCCSRrCl6zfN1SLUzm1NZ9 +WlmpZdRJEy0kTRxQb7XBhVQ7/nHk01xC+YDgkRoKWzk2Z/M/VXwbP7RfZHM047QS +v4dk+NoS/zcnwbNDu+97bi5p9wIDAQABMA0GCSqGSIb3DQEBBQUAA4GBADt/UG9v +UJSZSWI4OB9L+KXIPqeCgfYrx+jFzug6EILLGACOTb2oWH+heQC1u+mNr0HZDzTu +IYEZoDJJKPTEjlbVUjP9UNV+mWwD5MlM/Mtsq2azSiGM5bUMMj4QssxsodyamEwC +W/POuZ6lcg5Ktz885hZo+L7tdEy8W9ViH0Pd +-----END CERTIFICATE----- + +# Issuer: CN=http://www.valicert.com/ O=ValiCert, Inc. OU=ValiCert Class 3 Policy Validation Authority +# Subject: CN=http://www.valicert.com/ O=ValiCert, Inc. OU=ValiCert Class 3 Policy Validation Authority +# Label: "RSA Root Certificate 1" +# Serial: 1 +# MD5 Fingerprint: a2:6f:53:b7:ee:40:db:4a:68:e7:fa:18:d9:10:4b:72 +# SHA1 Fingerprint: 69:bd:8c:f4:9c:d3:00:fb:59:2e:17:93:ca:55:6a:f3:ec:aa:35:fb +# SHA256 Fingerprint: bc:23:f9:8a:31:3c:b9:2d:e3:bb:fc:3a:5a:9f:44:61:ac:39:49:4c:4a:e1:5a:9e:9d:f1:31:e9:9b:73:01:9a +-----BEGIN CERTIFICATE----- +MIIC5zCCAlACAQEwDQYJKoZIhvcNAQEFBQAwgbsxJDAiBgNVBAcTG1ZhbGlDZXJ0 +IFZhbGlkYXRpb24gTmV0d29yazEXMBUGA1UEChMOVmFsaUNlcnQsIEluYy4xNTAz +BgNVBAsTLFZhbGlDZXJ0IENsYXNzIDMgUG9saWN5IFZhbGlkYXRpb24gQXV0aG9y +aXR5MSEwHwYDVQQDExhodHRwOi8vd3d3LnZhbGljZXJ0LmNvbS8xIDAeBgkqhkiG +9w0BCQEWEWluZm9AdmFsaWNlcnQuY29tMB4XDTk5MDYyNjAwMjIzM1oXDTE5MDYy +NjAwMjIzM1owgbsxJDAiBgNVBAcTG1ZhbGlDZXJ0IFZhbGlkYXRpb24gTmV0d29y +azEXMBUGA1UEChMOVmFsaUNlcnQsIEluYy4xNTAzBgNVBAsTLFZhbGlDZXJ0IENs +YXNzIDMgUG9saWN5IFZhbGlkYXRpb24gQXV0aG9yaXR5MSEwHwYDVQQDExhodHRw +Oi8vd3d3LnZhbGljZXJ0LmNvbS8xIDAeBgkqhkiG9w0BCQEWEWluZm9AdmFsaWNl +cnQuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDjmFGWHOjVsQaBalfD +cnWTq8+epvzzFlLWLU2fNUSoLgRNB0mKOCn1dzfnt6td3zZxFJmP3MKS8edgkpfs +2Ejcv8ECIMYkpChMMFp2bbFc893enhBxoYjHW5tBbcqwuI4V7q0zK89HBFx1cQqY +JJgpp0lZpd34t0NiYfPT4tBVPwIDAQABMA0GCSqGSIb3DQEBBQUAA4GBAFa7AliE +Zwgs3x/be0kz9dNnnfS0ChCzycUs4pJqcXgn8nCDQtM+z6lU9PHYkhaM0QTLS6vJ +n0WuPIqpsHEzXcjFV9+vqDWzf4mH6eglkrh/hXqu1rweN1gqZ8mRzyqBPu3GOd/A +PhmcGcwTTYJBtYze4D1gCCAPRX5ron+jjBXu +-----END CERTIFICATE----- + +# Issuer: CN=VeriSign Class 3 Public Primary Certification Authority - G3 O=VeriSign, Inc. OU=VeriSign Trust Network/(c) 1999 VeriSign, Inc. - For authorized use only +# Subject: CN=VeriSign Class 3 Public Primary Certification Authority - G3 O=VeriSign, Inc. OU=VeriSign Trust Network/(c) 1999 VeriSign, Inc. - For authorized use only +# Label: "Verisign Class 3 Public Primary Certification Authority - G3" +# Serial: 206684696279472310254277870180966723415 +# MD5 Fingerprint: cd:68:b6:a7:c7:c4:ce:75:e0:1d:4f:57:44:61:92:09 +# SHA1 Fingerprint: 13:2d:0d:45:53:4b:69:97:cd:b2:d5:c3:39:e2:55:76:60:9b:5c:c6 +# SHA256 Fingerprint: eb:04:cf:5e:b1:f3:9a:fa:76:2f:2b:b1:20:f2:96:cb:a5:20:c1:b9:7d:b1:58:95:65:b8:1c:b9:a1:7b:72:44 +-----BEGIN CERTIFICATE----- +MIIEGjCCAwICEQCbfgZJoz5iudXukEhxKe9XMA0GCSqGSIb3DQEBBQUAMIHKMQsw +CQYDVQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZl +cmlTaWduIFRydXN0IE5ldHdvcmsxOjA4BgNVBAsTMShjKSAxOTk5IFZlcmlTaWdu +LCBJbmMuIC0gRm9yIGF1dGhvcml6ZWQgdXNlIG9ubHkxRTBDBgNVBAMTPFZlcmlT +aWduIENsYXNzIDMgUHVibGljIFByaW1hcnkgQ2VydGlmaWNhdGlvbiBBdXRob3Jp +dHkgLSBHMzAeFw05OTEwMDEwMDAwMDBaFw0zNjA3MTYyMzU5NTlaMIHKMQswCQYD +VQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZlcmlT +aWduIFRydXN0IE5ldHdvcmsxOjA4BgNVBAsTMShjKSAxOTk5IFZlcmlTaWduLCBJ +bmMuIC0gRm9yIGF1dGhvcml6ZWQgdXNlIG9ubHkxRTBDBgNVBAMTPFZlcmlTaWdu +IENsYXNzIDMgUHVibGljIFByaW1hcnkgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkg +LSBHMzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMu6nFL8eB8aHm8b +N3O9+MlrlBIwT/A2R/XQkQr1F8ilYcEWQE37imGQ5XYgwREGfassbqb1EUGO+i2t +KmFZpGcmTNDovFJbcCAEWNF6yaRpvIMXZK0Fi7zQWM6NjPXr8EJJC52XJ2cybuGu +kxUccLwgTS8Y3pKI6GyFVxEa6X7jJhFUokWWVYPKMIno3Nij7SqAP395ZVc+FSBm +CC+Vk7+qRy+oRpfwEuL+wgorUeZ25rdGt+INpsyow0xZVYnm6FNcHOqd8GIWC6fJ +Xwzw3sJ2zq/3avL6QaaiMxTJ5Xpj055iN9WFZZ4O5lMkdBteHRJTW8cs54NJOxWu +imi5V5cCAwEAATANBgkqhkiG9w0BAQUFAAOCAQEAERSWwauSCPc/L8my/uRan2Te +2yFPhpk0djZX3dAVL8WtfxUfN2JzPtTnX84XA9s1+ivbrmAJXx5fj267Cz3qWhMe +DGBvtcC1IyIuBwvLqXTLR7sdwdela8wv0kL9Sd2nic9TutoAWii/gt/4uhMdUIaC +/Y4wjylGsB49Ndo4YhYYSq3mtlFs3q9i6wHQHiT+eo8SGhJouPtmmRQURVyu565p +F4ErWjfJXir0xuKhXFSbplQAz/DxwceYMBo7Nhbbo27q/a2ywtrvAkcTisDxszGt +TxzhT5yvDwyd93gN2PQ1VoDat20Xj50egWTh/sVFuq1ruQp6Tk9LhO5L8X3dEQ== +-----END CERTIFICATE----- + +# Issuer: CN=VeriSign Class 4 Public Primary Certification Authority - G3 O=VeriSign, Inc. OU=VeriSign Trust Network/(c) 1999 VeriSign, Inc. - For authorized use only +# Subject: CN=VeriSign Class 4 Public Primary Certification Authority - G3 O=VeriSign, Inc. OU=VeriSign Trust Network/(c) 1999 VeriSign, Inc. - For authorized use only +# Label: "Verisign Class 4 Public Primary Certification Authority - G3" +# Serial: 314531972711909413743075096039378935511 +# MD5 Fingerprint: db:c8:f2:27:2e:b1:ea:6a:29:23:5d:fe:56:3e:33:df +# SHA1 Fingerprint: c8:ec:8c:87:92:69:cb:4b:ab:39:e9:8d:7e:57:67:f3:14:95:73:9d +# SHA256 Fingerprint: e3:89:36:0d:0f:db:ae:b3:d2:50:58:4b:47:30:31:4e:22:2f:39:c1:56:a0:20:14:4e:8d:96:05:61:79:15:06 +-----BEGIN CERTIFICATE----- +MIIEGjCCAwICEQDsoKeLbnVqAc/EfMwvlF7XMA0GCSqGSIb3DQEBBQUAMIHKMQsw +CQYDVQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZl +cmlTaWduIFRydXN0IE5ldHdvcmsxOjA4BgNVBAsTMShjKSAxOTk5IFZlcmlTaWdu +LCBJbmMuIC0gRm9yIGF1dGhvcml6ZWQgdXNlIG9ubHkxRTBDBgNVBAMTPFZlcmlT +aWduIENsYXNzIDQgUHVibGljIFByaW1hcnkgQ2VydGlmaWNhdGlvbiBBdXRob3Jp +dHkgLSBHMzAeFw05OTEwMDEwMDAwMDBaFw0zNjA3MTYyMzU5NTlaMIHKMQswCQYD +VQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZlcmlT +aWduIFRydXN0IE5ldHdvcmsxOjA4BgNVBAsTMShjKSAxOTk5IFZlcmlTaWduLCBJ +bmMuIC0gRm9yIGF1dGhvcml6ZWQgdXNlIG9ubHkxRTBDBgNVBAMTPFZlcmlTaWdu +IENsYXNzIDQgUHVibGljIFByaW1hcnkgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkg +LSBHMzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK3LpRFpxlmr8Y+1 +GQ9Wzsy1HyDkniYlS+BzZYlZ3tCD5PUPtbut8XzoIfzk6AzufEUiGXaStBO3IFsJ ++mGuqPKljYXCKtbeZjbSmwL0qJJgfJxptI8kHtCGUvYynEFYHiK9zUVilQhu0Gbd +U6LM8BDcVHOLBKFGMzNcF0C5nk3T875Vg+ixiY5afJqWIpA7iCXy0lOIAgwLePLm +NxdLMEYH5IBtptiWLugs+BGzOA1mppvqySNb247i8xOOGlktqgLw7KSHZtzBP/XY +ufTsgsbSPZUd5cBPhMnZo0QoBmrXRazwa2rvTl/4EYIeOGM0ZlDUPpNz+jDDZq3/ +ky2X7wMCAwEAATANBgkqhkiG9w0BAQUFAAOCAQEAj/ola09b5KROJ1WrIhVZPMq1 +CtRK26vdoV9TxaBXOcLORyu+OshWv8LZJxA6sQU8wHcxuzrTBXttmhwwjIDLk5Mq +g6sFUYICABFna/OIYUdfA5PVWw3g8dShMjWFsjrbsIKr0csKvE+MW8VLADsfKoKm +fjaF3H48ZwC15DtS4KjrXRX5xm3wrR0OhbepmnMUWluPQSjA1egtTaRezarZ7c7c +2NU8Qh0XwRJdRTjDOPP8hS6DRkiy1yBfkjaP53kPmF6Z6PDQpLv1U70qzlmwr25/ +bLvSHgCwIe34QWKCudiyxLtGUPMxxY8BqHTr9Xgn2uf3ZkPznoM+IKrDNWCRzg== +-----END CERTIFICATE----- + +# Issuer: CN=Entrust.net Secure Server Certification Authority O=Entrust.net OU=www.entrust.net/CPS incorp. by ref. (limits liab.)/(c) 1999 Entrust.net Limited +# Subject: CN=Entrust.net Secure Server Certification Authority O=Entrust.net OU=www.entrust.net/CPS incorp. by ref. (limits liab.)/(c) 1999 Entrust.net Limited +# Label: "Entrust.net Secure Server CA" +# Serial: 927650371 +# MD5 Fingerprint: df:f2:80:73:cc:f1:e6:61:73:fc:f5:42:e9:c5:7c:ee +# SHA1 Fingerprint: 99:a6:9b:e6:1a:fe:88:6b:4d:2b:82:00:7c:b8:54:fc:31:7e:15:39 +# SHA256 Fingerprint: 62:f2:40:27:8c:56:4c:4d:d8:bf:7d:9d:4f:6f:36:6e:a8:94:d2:2f:5f:34:d9:89:a9:83:ac:ec:2f:ff:ed:50 +-----BEGIN CERTIFICATE----- +MIIE2DCCBEGgAwIBAgIEN0rSQzANBgkqhkiG9w0BAQUFADCBwzELMAkGA1UEBhMC +VVMxFDASBgNVBAoTC0VudHJ1c3QubmV0MTswOQYDVQQLEzJ3d3cuZW50cnVzdC5u +ZXQvQ1BTIGluY29ycC4gYnkgcmVmLiAobGltaXRzIGxpYWIuKTElMCMGA1UECxMc +KGMpIDE5OTkgRW50cnVzdC5uZXQgTGltaXRlZDE6MDgGA1UEAxMxRW50cnVzdC5u +ZXQgU2VjdXJlIFNlcnZlciBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAeFw05OTA1 +MjUxNjA5NDBaFw0xOTA1MjUxNjM5NDBaMIHDMQswCQYDVQQGEwJVUzEUMBIGA1UE +ChMLRW50cnVzdC5uZXQxOzA5BgNVBAsTMnd3dy5lbnRydXN0Lm5ldC9DUFMgaW5j +b3JwLiBieSByZWYuIChsaW1pdHMgbGlhYi4pMSUwIwYDVQQLExwoYykgMTk5OSBF +bnRydXN0Lm5ldCBMaW1pdGVkMTowOAYDVQQDEzFFbnRydXN0Lm5ldCBTZWN1cmUg +U2VydmVyIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIGdMA0GCSqGSIb3DQEBAQUA +A4GLADCBhwKBgQDNKIM0VBuJ8w+vN5Ex/68xYMmo6LIQaO2f55M28Qpku0f1BBc/ +I0dNxScZgSYMVHINiC3ZH5oSn7yzcdOAGT9HZnuMNSjSuQrfJNqc1lB5gXpa0zf3 +wkrYKZImZNHkmGw6AIr1NJtl+O3jEP/9uElY3KDegjlrgbEWGWG5VLbmQwIBA6OC +AdcwggHTMBEGCWCGSAGG+EIBAQQEAwIABzCCARkGA1UdHwSCARAwggEMMIHeoIHb +oIHYpIHVMIHSMQswCQYDVQQGEwJVUzEUMBIGA1UEChMLRW50cnVzdC5uZXQxOzA5 +BgNVBAsTMnd3dy5lbnRydXN0Lm5ldC9DUFMgaW5jb3JwLiBieSByZWYuIChsaW1p +dHMgbGlhYi4pMSUwIwYDVQQLExwoYykgMTk5OSBFbnRydXN0Lm5ldCBMaW1pdGVk +MTowOAYDVQQDEzFFbnRydXN0Lm5ldCBTZWN1cmUgU2VydmVyIENlcnRpZmljYXRp +b24gQXV0aG9yaXR5MQ0wCwYDVQQDEwRDUkwxMCmgJ6AlhiNodHRwOi8vd3d3LmVu +dHJ1c3QubmV0L0NSTC9uZXQxLmNybDArBgNVHRAEJDAigA8xOTk5MDUyNTE2MDk0 +MFqBDzIwMTkwNTI1MTYwOTQwWjALBgNVHQ8EBAMCAQYwHwYDVR0jBBgwFoAU8Bdi +E1U9s/8KAGv7UISX8+1i0BowHQYDVR0OBBYEFPAXYhNVPbP/CgBr+1CEl/PtYtAa +MAwGA1UdEwQFMAMBAf8wGQYJKoZIhvZ9B0EABAwwChsEVjQuMAMCBJAwDQYJKoZI +hvcNAQEFBQADgYEAkNwwAvpkdMKnCqV8IY00F6j7Rw7/JXyNEwr75Ji174z4xRAN +95K+8cPV1ZVqBLssziY2ZcgxxufuP+NXdYR6Ee9GTxj005i7qIcyunL2POI9n9cd +2cNgQ4xYDiKWL2KjLB+6rQXvqzJ4h6BUcxm1XAX5Uj5tLUUL9wqT6u0G+bI= +-----END CERTIFICATE----- + +# Issuer: CN=Entrust.net Certification Authority (2048) O=Entrust.net OU=www.entrust.net/CPS_2048 incorp. by ref. (limits liab.)/(c) 1999 Entrust.net Limited +# Subject: CN=Entrust.net Certification Authority (2048) O=Entrust.net OU=www.entrust.net/CPS_2048 incorp. by ref. (limits liab.)/(c) 1999 Entrust.net Limited +# Label: "Entrust.net Premium 2048 Secure Server CA" +# Serial: 946059622 +# MD5 Fingerprint: ba:21:ea:20:d6:dd:db:8f:c1:57:8b:40:ad:a1:fc:fc +# SHA1 Fingerprint: 80:1d:62:d0:7b:44:9d:5c:5c:03:5c:98:ea:61:fa:44:3c:2a:58:fe +# SHA256 Fingerprint: d1:c3:39:ea:27:84:eb:87:0f:93:4f:c5:63:4e:4a:a9:ad:55:05:01:64:01:f2:64:65:d3:7a:57:46:63:35:9f +-----BEGIN CERTIFICATE----- +MIIEXDCCA0SgAwIBAgIEOGO5ZjANBgkqhkiG9w0BAQUFADCBtDEUMBIGA1UEChML +RW50cnVzdC5uZXQxQDA+BgNVBAsUN3d3dy5lbnRydXN0Lm5ldC9DUFNfMjA0OCBp +bmNvcnAuIGJ5IHJlZi4gKGxpbWl0cyBsaWFiLikxJTAjBgNVBAsTHChjKSAxOTk5 +IEVudHJ1c3QubmV0IExpbWl0ZWQxMzAxBgNVBAMTKkVudHJ1c3QubmV0IENlcnRp +ZmljYXRpb24gQXV0aG9yaXR5ICgyMDQ4KTAeFw05OTEyMjQxNzUwNTFaFw0xOTEy +MjQxODIwNTFaMIG0MRQwEgYDVQQKEwtFbnRydXN0Lm5ldDFAMD4GA1UECxQ3d3d3 +LmVudHJ1c3QubmV0L0NQU18yMDQ4IGluY29ycC4gYnkgcmVmLiAobGltaXRzIGxp +YWIuKTElMCMGA1UECxMcKGMpIDE5OTkgRW50cnVzdC5uZXQgTGltaXRlZDEzMDEG +A1UEAxMqRW50cnVzdC5uZXQgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkgKDIwNDgp +MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArU1LqRKGsuqjIAcVFmQq +K0vRvwtKTY7tgHalZ7d4QMBzQshowNtTK91euHaYNZOLGp18EzoOH1u3Hs/lJBQe +sYGpjX24zGtLA/ECDNyrpUAkAH90lKGdCCmziAv1h3edVc3kw37XamSrhRSGlVuX +MlBvPci6Zgzj/L24ScF2iUkZ/cCovYmjZy/Gn7xxGWC4LeksyZB2ZnuU4q941mVT +XTzWnLLPKQP5L6RQstRIzgUyVYr9smRMDuSYB3Xbf9+5CFVghTAp+XtIpGmG4zU/ +HoZdenoVve8AjhUiVBcAkCaTvA5JaJG/+EfTnZVCwQ5N328mz8MYIWJmQ3DW1cAH +4QIDAQABo3QwcjARBglghkgBhvhCAQEEBAMCAAcwHwYDVR0jBBgwFoAUVeSB0RGA +vtiJuQijMfmhJAkWuXAwHQYDVR0OBBYEFFXkgdERgL7YibkIozH5oSQJFrlwMB0G +CSqGSIb2fQdBAAQQMA4bCFY1LjA6NC4wAwIEkDANBgkqhkiG9w0BAQUFAAOCAQEA +WUesIYSKF8mciVMeuoCFGsY8Tj6xnLZ8xpJdGGQC49MGCBFhfGPjK50xA3B20qMo +oPS7mmNz7W3lKtvtFKkrxjYR0CvrB4ul2p5cGZ1WEvVUKcgF7bISKo30Axv/55IQ +h7A6tcOdBTcSo8f0FbnVpDkWm1M6I5HxqIKiaohowXkCIryqptau37AUX7iH0N18 +f3v/rxzP5tsHrV7bhZ3QKw0z2wTR5klAEyt2+z7pnIkPFc4YsIV4IU9rTw76NmfN +B/L/CNDi3tm/Kq+4h4YhPATKt5Rof8886ZjXOP/swNlQ8C5LWK5Gb9Auw2DaclVy +vUxFnmG6v4SBkgPR0ml8xQ== +-----END CERTIFICATE----- + +# Issuer: CN=Baltimore CyberTrust Root O=Baltimore OU=CyberTrust +# Subject: CN=Baltimore CyberTrust Root O=Baltimore OU=CyberTrust +# Label: "Baltimore CyberTrust Root" +# Serial: 33554617 +# MD5 Fingerprint: ac:b6:94:a5:9c:17:e0:d7:91:52:9b:b1:97:06:a6:e4 +# SHA1 Fingerprint: d4:de:20:d0:5e:66:fc:53:fe:1a:50:88:2c:78:db:28:52:ca:e4:74 +# SHA256 Fingerprint: 16:af:57:a9:f6:76:b0:ab:12:60:95:aa:5e:ba:de:f2:2a:b3:11:19:d6:44:ac:95:cd:4b:93:db:f3:f2:6a:eb +-----BEGIN CERTIFICATE----- +MIIDdzCCAl+gAwIBAgIEAgAAuTANBgkqhkiG9w0BAQUFADBaMQswCQYDVQQGEwJJ +RTESMBAGA1UEChMJQmFsdGltb3JlMRMwEQYDVQQLEwpDeWJlclRydXN0MSIwIAYD +VQQDExlCYWx0aW1vcmUgQ3liZXJUcnVzdCBSb290MB4XDTAwMDUxMjE4NDYwMFoX +DTI1MDUxMjIzNTkwMFowWjELMAkGA1UEBhMCSUUxEjAQBgNVBAoTCUJhbHRpbW9y +ZTETMBEGA1UECxMKQ3liZXJUcnVzdDEiMCAGA1UEAxMZQmFsdGltb3JlIEN5YmVy +VHJ1c3QgUm9vdDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKMEuyKr +mD1X6CZymrV51Cni4eiVgLGw41uOKymaZN+hXe2wCQVt2yguzmKiYv60iNoS6zjr +IZ3AQSsBUnuId9Mcj8e6uYi1agnnc+gRQKfRzMpijS3ljwumUNKoUMMo6vWrJYeK +mpYcqWe4PwzV9/lSEy/CG9VwcPCPwBLKBsua4dnKM3p31vjsufFoREJIE9LAwqSu +XmD+tqYF/LTdB1kC1FkYmGP1pWPgkAx9XbIGevOF6uvUA65ehD5f/xXtabz5OTZy +dc93Uk3zyZAsuT3lySNTPx8kmCFcB5kpvcY67Oduhjprl3RjM71oGDHweI12v/ye +jl0qhqdNkNwnGjkCAwEAAaNFMEMwHQYDVR0OBBYEFOWdWTCCR1jMrPoIVDaGezq1 +BE3wMBIGA1UdEwEB/wQIMAYBAf8CAQMwDgYDVR0PAQH/BAQDAgEGMA0GCSqGSIb3 +DQEBBQUAA4IBAQCFDF2O5G9RaEIFoN27TyclhAO992T9Ldcw46QQF+vaKSm2eT92 +9hkTI7gQCvlYpNRhcL0EYWoSihfVCr3FvDB81ukMJY2GQE/szKN+OMY3EU/t3Wgx +jkzSswF07r51XgdIGn9w/xZchMB5hbgF/X++ZRGjD8ACtPhSNzkE1akxehi/oCr0 +Epn3o0WC4zxe9Z2etciefC7IpJ5OCBRLbf1wbWsaY71k5h+3zvDyny67G7fyUIhz +ksLi4xaNmjICq44Y3ekQEe5+NauQrz4wlHrQMz2nZQ/1/I6eYs9HRCwBXbsdtTLS +R9I4LtD+gdwyah617jzV/OeBHRnDJELqYzmp +-----END CERTIFICATE----- + +# Issuer: CN=Equifax Secure Global eBusiness CA-1 O=Equifax Secure Inc. +# Subject: CN=Equifax Secure Global eBusiness CA-1 O=Equifax Secure Inc. +# Label: "Equifax Secure Global eBusiness CA" +# Serial: 1 +# MD5 Fingerprint: 8f:5d:77:06:27:c4:98:3c:5b:93:78:e7:d7:7d:9b:cc +# SHA1 Fingerprint: 7e:78:4a:10:1c:82:65:cc:2d:e1:f1:6d:47:b4:40:ca:d9:0a:19:45 +# SHA256 Fingerprint: 5f:0b:62:ea:b5:e3:53:ea:65:21:65:16:58:fb:b6:53:59:f4:43:28:0a:4a:fb:d1:04:d7:7d:10:f9:f0:4c:07 +-----BEGIN CERTIFICATE----- +MIICkDCCAfmgAwIBAgIBATANBgkqhkiG9w0BAQQFADBaMQswCQYDVQQGEwJVUzEc +MBoGA1UEChMTRXF1aWZheCBTZWN1cmUgSW5jLjEtMCsGA1UEAxMkRXF1aWZheCBT +ZWN1cmUgR2xvYmFsIGVCdXNpbmVzcyBDQS0xMB4XDTk5MDYyMTA0MDAwMFoXDTIw +MDYyMTA0MDAwMFowWjELMAkGA1UEBhMCVVMxHDAaBgNVBAoTE0VxdWlmYXggU2Vj +dXJlIEluYy4xLTArBgNVBAMTJEVxdWlmYXggU2VjdXJlIEdsb2JhbCBlQnVzaW5l +c3MgQ0EtMTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuucXkAJlsTRVPEnC +UdXfp9E3j9HngXNBUmCbnaEXJnitx7HoJpQytd4zjTov2/KaelpzmKNc6fuKcxtc +58O/gGzNqfTWK8D3+ZmqY6KxRwIP1ORROhI8bIpaVIRw28HFkM9yRcuoWcDNM50/ +o5brhTMhHD4ePmBudpxnhcXIw2ECAwEAAaNmMGQwEQYJYIZIAYb4QgEBBAQDAgAH +MA8GA1UdEwEB/wQFMAMBAf8wHwYDVR0jBBgwFoAUvqigdHJQa0S3ySPY+6j/s1dr +aGwwHQYDVR0OBBYEFL6ooHRyUGtEt8kj2Puo/7NXa2hsMA0GCSqGSIb3DQEBBAUA +A4GBADDiAVGqx+pf2rnQZQ8w1j7aDRRJbpGTJxQx78T3LUX47Me/okENI7SS+RkA +Z70Br83gcfxaz2TE4JaY0KNA4gGK7ycH8WUBikQtBmV1UsCGECAhX2xrD2yuCRyv +8qIYNMR1pHMc8Y3c7635s3a0kr/clRAevsvIO1qEYBlWlKlV +-----END CERTIFICATE----- + +# Issuer: CN=Equifax Secure eBusiness CA-1 O=Equifax Secure Inc. +# Subject: CN=Equifax Secure eBusiness CA-1 O=Equifax Secure Inc. +# Label: "Equifax Secure eBusiness CA 1" +# Serial: 4 +# MD5 Fingerprint: 64:9c:ef:2e:44:fc:c6:8f:52:07:d0:51:73:8f:cb:3d +# SHA1 Fingerprint: da:40:18:8b:91:89:a3:ed:ee:ae:da:97:fe:2f:9d:f5:b7:d1:8a:41 +# SHA256 Fingerprint: cf:56:ff:46:a4:a1:86:10:9d:d9:65:84:b5:ee:b5:8a:51:0c:42:75:b0:e5:f9:4f:40:bb:ae:86:5e:19:f6:73 +-----BEGIN CERTIFICATE----- +MIICgjCCAeugAwIBAgIBBDANBgkqhkiG9w0BAQQFADBTMQswCQYDVQQGEwJVUzEc +MBoGA1UEChMTRXF1aWZheCBTZWN1cmUgSW5jLjEmMCQGA1UEAxMdRXF1aWZheCBT +ZWN1cmUgZUJ1c2luZXNzIENBLTEwHhcNOTkwNjIxMDQwMDAwWhcNMjAwNjIxMDQw +MDAwWjBTMQswCQYDVQQGEwJVUzEcMBoGA1UEChMTRXF1aWZheCBTZWN1cmUgSW5j +LjEmMCQGA1UEAxMdRXF1aWZheCBTZWN1cmUgZUJ1c2luZXNzIENBLTEwgZ8wDQYJ +KoZIhvcNAQEBBQADgY0AMIGJAoGBAM4vGbwXt3fek6lfWg0XTzQaDJj0ItlZ1MRo +RvC0NcWFAyDGr0WlIVFFQesWWDYyb+JQYmT5/VGcqiTZ9J2DKocKIdMSODRsjQBu +WqDZQu4aIZX5UkxVWsUPOE9G+m34LjXWHXzr4vCwdYDIqROsvojvOm6rXyo4YgKw +Env+j6YDAgMBAAGjZjBkMBEGCWCGSAGG+EIBAQQEAwIABzAPBgNVHRMBAf8EBTAD +AQH/MB8GA1UdIwQYMBaAFEp4MlIR21kWNl7fwRQ2QGpHfEyhMB0GA1UdDgQWBBRK +eDJSEdtZFjZe38EUNkBqR3xMoTANBgkqhkiG9w0BAQQFAAOBgQB1W6ibAxHm6VZM +zfmpTMANmvPMZWnmJXbMWbfWVMMdzZmsGd20hdXgPfxiIKeES1hl8eL5lSE/9dR+ +WB5Hh1Q+WKG1tfgq73HnvMP2sUlG4tega+VWeponmHxGYhTnyfxuAxJ5gDgdSIKN +/Bf+KpYrtWKmpj29f5JZzVoqgrI3eQ== +-----END CERTIFICATE----- + +# Issuer: O=Equifax Secure OU=Equifax Secure eBusiness CA-2 +# Subject: O=Equifax Secure OU=Equifax Secure eBusiness CA-2 +# Label: "Equifax Secure eBusiness CA 2" +# Serial: 930140085 +# MD5 Fingerprint: aa:bf:bf:64:97:da:98:1d:6f:c6:08:3a:95:70:33:ca +# SHA1 Fingerprint: 39:4f:f6:85:0b:06:be:52:e5:18:56:cc:10:e1:80:e8:82:b3:85:cc +# SHA256 Fingerprint: 2f:27:4e:48:ab:a4:ac:7b:76:59:33:10:17:75:50:6d:c3:0e:e3:8e:f6:ac:d5:c0:49:32:cf:e0:41:23:42:20 +-----BEGIN CERTIFICATE----- +MIIDIDCCAomgAwIBAgIEN3DPtTANBgkqhkiG9w0BAQUFADBOMQswCQYDVQQGEwJV +UzEXMBUGA1UEChMORXF1aWZheCBTZWN1cmUxJjAkBgNVBAsTHUVxdWlmYXggU2Vj +dXJlIGVCdXNpbmVzcyBDQS0yMB4XDTk5MDYyMzEyMTQ0NVoXDTE5MDYyMzEyMTQ0 +NVowTjELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDkVxdWlmYXggU2VjdXJlMSYwJAYD +VQQLEx1FcXVpZmF4IFNlY3VyZSBlQnVzaW5lc3MgQ0EtMjCBnzANBgkqhkiG9w0B +AQEFAAOBjQAwgYkCgYEA5Dk5kx5SBhsoNviyoynF7Y6yEb3+6+e0dMKP/wXn2Z0G +vxLIPw7y1tEkshHe0XMJitSxLJgJDR5QRrKDpkWNYmi7hRsgcDKqQM2mll/EcTc/ +BPO3QSQ5BxoeLmFYoBIL5aXfxavqN3HMHMg3OrmXUqesxWoklE6ce8/AatbfIb0C +AwEAAaOCAQkwggEFMHAGA1UdHwRpMGcwZaBjoGGkXzBdMQswCQYDVQQGEwJVUzEX +MBUGA1UEChMORXF1aWZheCBTZWN1cmUxJjAkBgNVBAsTHUVxdWlmYXggU2VjdXJl +IGVCdXNpbmVzcyBDQS0yMQ0wCwYDVQQDEwRDUkwxMBoGA1UdEAQTMBGBDzIwMTkw +NjIzMTIxNDQ1WjALBgNVHQ8EBAMCAQYwHwYDVR0jBBgwFoAUUJ4L6q9euSBIplBq +y/3YIHqngnYwHQYDVR0OBBYEFFCeC+qvXrkgSKZQasv92CB6p4J2MAwGA1UdEwQF +MAMBAf8wGgYJKoZIhvZ9B0EABA0wCxsFVjMuMGMDAgbAMA0GCSqGSIb3DQEBBQUA +A4GBAAyGgq3oThr1jokn4jVYPSm0B482UJW/bsGe68SQsoWou7dC4A8HOd/7npCy +0cE+U58DRLB+S/Rv5Hwf5+Kx5Lia78O9zt4LMjTZ3ijtM2vE1Nc9ElirfQkty3D1 +E4qUoSek1nDFbZS1yX2doNLGCEnZZpum0/QL3MUmV+GRMOrN +-----END CERTIFICATE----- + +# Issuer: CN=AddTrust Class 1 CA Root O=AddTrust AB OU=AddTrust TTP Network +# Subject: CN=AddTrust Class 1 CA Root O=AddTrust AB OU=AddTrust TTP Network +# Label: "AddTrust Low-Value Services Root" +# Serial: 1 +# MD5 Fingerprint: 1e:42:95:02:33:92:6b:b9:5f:c0:7f:da:d6:b2:4b:fc +# SHA1 Fingerprint: cc:ab:0e:a0:4c:23:01:d6:69:7b:dd:37:9f:cd:12:eb:24:e3:94:9d +# SHA256 Fingerprint: 8c:72:09:27:9a:c0:4e:27:5e:16:d0:7f:d3:b7:75:e8:01:54:b5:96:80:46:e3:1f:52:dd:25:76:63:24:e9:a7 +-----BEGIN CERTIFICATE----- +MIIEGDCCAwCgAwIBAgIBATANBgkqhkiG9w0BAQUFADBlMQswCQYDVQQGEwJTRTEU +MBIGA1UEChMLQWRkVHJ1c3QgQUIxHTAbBgNVBAsTFEFkZFRydXN0IFRUUCBOZXR3 +b3JrMSEwHwYDVQQDExhBZGRUcnVzdCBDbGFzcyAxIENBIFJvb3QwHhcNMDAwNTMw +MTAzODMxWhcNMjAwNTMwMTAzODMxWjBlMQswCQYDVQQGEwJTRTEUMBIGA1UEChML +QWRkVHJ1c3QgQUIxHTAbBgNVBAsTFEFkZFRydXN0IFRUUCBOZXR3b3JrMSEwHwYD +VQQDExhBZGRUcnVzdCBDbGFzcyAxIENBIFJvb3QwggEiMA0GCSqGSIb3DQEBAQUA +A4IBDwAwggEKAoIBAQCWltQhSWDia+hBBwzexODcEyPNwTXH+9ZOEQpnXvUGW2ul +CDtbKRY654eyNAbFvAWlA3yCyykQruGIgb3WntP+LVbBFc7jJp0VLhD7Bo8wBN6n +tGO0/7Gcrjyvd7ZWxbWroulpOj0OM3kyP3CCkplhbY0wCI9xP6ZIVxn4JdxLZlyl +dI+Yrsj5wAYi56xz36Uu+1LcsRVlIPo1Zmne3yzxbrww2ywkEtvrNTVokMsAsJch +PXQhI2U0K7t4WaPW4XY5mqRJjox0r26kmqPZm9I4XJuiGMx1I4S+6+JNM3GOGvDC ++Mcdoq0Dlyz4zyXG9rgkMbFjXZJ/Y/AlyVMuH79NAgMBAAGjgdIwgc8wHQYDVR0O +BBYEFJWxtPCUtr3H2tERCSG+wa9J/RB7MAsGA1UdDwQEAwIBBjAPBgNVHRMBAf8E +BTADAQH/MIGPBgNVHSMEgYcwgYSAFJWxtPCUtr3H2tERCSG+wa9J/RB7oWmkZzBl +MQswCQYDVQQGEwJTRTEUMBIGA1UEChMLQWRkVHJ1c3QgQUIxHTAbBgNVBAsTFEFk +ZFRydXN0IFRUUCBOZXR3b3JrMSEwHwYDVQQDExhBZGRUcnVzdCBDbGFzcyAxIENB +IFJvb3SCAQEwDQYJKoZIhvcNAQEFBQADggEBACxtZBsfzQ3duQH6lmM0MkhHma6X +7f1yFqZzR1r0693p9db7RcwpiURdv0Y5PejuvE1Uhh4dbOMXJ0PhiVYrqW9yTkkz +43J8KiOavD7/KCrto/8cI7pDVwlnTUtiBi34/2ydYB7YHEt9tTEv2dB8Xfjea4MY +eDdXL+gzB2ffHsdrKpV2ro9Xo/D0UrSpUwjP4E/TelOL/bscVjby/rK25Xa71SJl +pz/+0WatC7xrmYbvP33zGDLKe8bjq2RGlfgmadlVg3sslgf/WSxEo8bl6ancoWOA +WiFeIc9TVPC6b4nbqKqVz4vjccweGyBECMB6tkD9xOQ14R0WHNC8K47Wcdk= +-----END CERTIFICATE----- + +# Issuer: CN=AddTrust External CA Root O=AddTrust AB OU=AddTrust External TTP Network +# Subject: CN=AddTrust External CA Root O=AddTrust AB OU=AddTrust External TTP Network +# Label: "AddTrust External Root" +# Serial: 1 +# MD5 Fingerprint: 1d:35:54:04:85:78:b0:3f:42:42:4d:bf:20:73:0a:3f +# SHA1 Fingerprint: 02:fa:f3:e2:91:43:54:68:60:78:57:69:4d:f5:e4:5b:68:85:18:68 +# SHA256 Fingerprint: 68:7f:a4:51:38:22:78:ff:f0:c8:b1:1f:8d:43:d5:76:67:1c:6e:b2:bc:ea:b4:13:fb:83:d9:65:d0:6d:2f:f2 +-----BEGIN CERTIFICATE----- +MIIENjCCAx6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBvMQswCQYDVQQGEwJTRTEU +MBIGA1UEChMLQWRkVHJ1c3QgQUIxJjAkBgNVBAsTHUFkZFRydXN0IEV4dGVybmFs +IFRUUCBOZXR3b3JrMSIwIAYDVQQDExlBZGRUcnVzdCBFeHRlcm5hbCBDQSBSb290 +MB4XDTAwMDUzMDEwNDgzOFoXDTIwMDUzMDEwNDgzOFowbzELMAkGA1UEBhMCU0Ux +FDASBgNVBAoTC0FkZFRydXN0IEFCMSYwJAYDVQQLEx1BZGRUcnVzdCBFeHRlcm5h +bCBUVFAgTmV0d29yazEiMCAGA1UEAxMZQWRkVHJ1c3QgRXh0ZXJuYWwgQ0EgUm9v +dDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALf3GjPm8gAELTngTlvt +H7xsD821+iO2zt6bETOXpClMfZOfvUq8k+0DGuOPz+VtUFrWlymUWoCwSXrbLpX9 +uMq/NzgtHj6RQa1wVsfwTz/oMp50ysiQVOnGXw94nZpAPA6sYapeFI+eh6FqUNzX +mk6vBbOmcZSccbNQYArHE504B4YCqOmoaSYYkKtMsE8jqzpPhNjfzp/haW+710LX +a0Tkx63ubUFfclpxCDezeWWkWaCUN/cALw3CknLa0Dhy2xSoRcRdKn23tNbE7qzN +E0S3ySvdQwAl+mG5aWpYIxG3pzOPVnVZ9c0p10a3CitlttNCbxWyuHv77+ldU9U0 +WicCAwEAAaOB3DCB2TAdBgNVHQ4EFgQUrb2YejS0Jvf6xCZU7wO94CTLVBowCwYD +VR0PBAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wgZkGA1UdIwSBkTCBjoAUrb2YejS0 +Jvf6xCZU7wO94CTLVBqhc6RxMG8xCzAJBgNVBAYTAlNFMRQwEgYDVQQKEwtBZGRU +cnVzdCBBQjEmMCQGA1UECxMdQWRkVHJ1c3QgRXh0ZXJuYWwgVFRQIE5ldHdvcmsx +IjAgBgNVBAMTGUFkZFRydXN0IEV4dGVybmFsIENBIFJvb3SCAQEwDQYJKoZIhvcN +AQEFBQADggEBALCb4IUlwtYj4g+WBpKdQZic2YR5gdkeWxQHIzZlj7DYd7usQWxH +YINRsPkyPef89iYTx4AWpb9a/IfPeHmJIZriTAcKhjW88t5RxNKWt9x+Tu5w/Rw5 +6wwCURQtjr0W4MHfRnXnJK3s9EK0hZNwEGe6nQY1ShjTK3rMUUKhemPR5ruhxSvC +Nr4TDea9Y355e6cJDUCrat2PisP29owaQgVR1EX1n6diIWgVIEM8med8vSTYqZEX +c4g/VhsxOBi0cQ+azcgOno4uG+GMmIPLHzHxREzGBHNJdmAPx/i9F4BrLunMTA5a +mnkPIAou1Z5jJh5VkpTYghdae9C8x49OhgQ= +-----END CERTIFICATE----- + +# Issuer: CN=AddTrust Public CA Root O=AddTrust AB OU=AddTrust TTP Network +# Subject: CN=AddTrust Public CA Root O=AddTrust AB OU=AddTrust TTP Network +# Label: "AddTrust Public Services Root" +# Serial: 1 +# MD5 Fingerprint: c1:62:3e:23:c5:82:73:9c:03:59:4b:2b:e9:77:49:7f +# SHA1 Fingerprint: 2a:b6:28:48:5e:78:fb:f3:ad:9e:79:10:dd:6b:df:99:72:2c:96:e5 +# SHA256 Fingerprint: 07:91:ca:07:49:b2:07:82:aa:d3:c7:d7:bd:0c:df:c9:48:58:35:84:3e:b2:d7:99:60:09:ce:43:ab:6c:69:27 +-----BEGIN CERTIFICATE----- +MIIEFTCCAv2gAwIBAgIBATANBgkqhkiG9w0BAQUFADBkMQswCQYDVQQGEwJTRTEU +MBIGA1UEChMLQWRkVHJ1c3QgQUIxHTAbBgNVBAsTFEFkZFRydXN0IFRUUCBOZXR3 +b3JrMSAwHgYDVQQDExdBZGRUcnVzdCBQdWJsaWMgQ0EgUm9vdDAeFw0wMDA1MzAx +MDQxNTBaFw0yMDA1MzAxMDQxNTBaMGQxCzAJBgNVBAYTAlNFMRQwEgYDVQQKEwtB +ZGRUcnVzdCBBQjEdMBsGA1UECxMUQWRkVHJ1c3QgVFRQIE5ldHdvcmsxIDAeBgNV +BAMTF0FkZFRydXN0IFB1YmxpYyBDQSBSb290MIIBIjANBgkqhkiG9w0BAQEFAAOC +AQ8AMIIBCgKCAQEA6Rowj4OIFMEg2Dybjxt+A3S72mnTRqX4jsIMEZBRpS9mVEBV +6tsfSlbunyNu9DnLoblv8n75XYcmYZ4c+OLspoH4IcUkzBEMP9smcnrHAZcHF/nX +GCwwfQ56HmIexkvA/X1id9NEHif2P0tEs7c42TkfYNVRknMDtABp4/MUTu7R3AnP +dzRGULD4EfL+OHn3Bzn+UZKXC1sIXzSGAa2Il+tmzV7R/9x98oTaunet3IAIx6eH +1lWfl2royBFkuucZKT8Rs3iQhCBSWxHveNCD9tVIkNAwHM+A+WD+eeSI8t0A65RF +62WUaUC6wNW0uLp9BBGo6zEFlpROWCGOn9Bg/QIDAQABo4HRMIHOMB0GA1UdDgQW +BBSBPjfYkrAfd59ctKtzquf2NGAv+jALBgNVHQ8EBAMCAQYwDwYDVR0TAQH/BAUw +AwEB/zCBjgYDVR0jBIGGMIGDgBSBPjfYkrAfd59ctKtzquf2NGAv+qFopGYwZDEL +MAkGA1UEBhMCU0UxFDASBgNVBAoTC0FkZFRydXN0IEFCMR0wGwYDVQQLExRBZGRU +cnVzdCBUVFAgTmV0d29yazEgMB4GA1UEAxMXQWRkVHJ1c3QgUHVibGljIENBIFJv +b3SCAQEwDQYJKoZIhvcNAQEFBQADggEBAAP3FUr4JNojVhaTdt02KLmuG7jD8WS6 +IBh4lSknVwW8fCr0uVFV2ocC3g8WFzH4qnkuCRO7r7IgGRLlk/lL+YPoRNWyQSW/ +iHVv/xD8SlTQX/D67zZzfRs2RcYhbbQVuE7PnFylPVoAjgbjPGsye/Kf8Lb93/Ao +GEjwxrzQvzSAlsJKsW2Ox5BF3i9nrEUEo3rcVZLJR2bYGozH7ZxOmuASu7VqTITh +4SINhwBk/ox9Yjllpu9CtoAlEmEBqCQTcAARJl/6NVDFSMwGR+gn2HCNX2TmoUQm +XiLsks3/QppEIW1cxeMiHV9HEufOX1362KqxMy3ZdvJOOjMMK7MtkAY= +-----END CERTIFICATE----- + +# Issuer: CN=AddTrust Qualified CA Root O=AddTrust AB OU=AddTrust TTP Network +# Subject: CN=AddTrust Qualified CA Root O=AddTrust AB OU=AddTrust TTP Network +# Label: "AddTrust Qualified Certificates Root" +# Serial: 1 +# MD5 Fingerprint: 27:ec:39:47:cd:da:5a:af:e2:9a:01:65:21:a9:4c:bb +# SHA1 Fingerprint: 4d:23:78:ec:91:95:39:b5:00:7f:75:8f:03:3b:21:1e:c5:4d:8b:cf +# SHA256 Fingerprint: 80:95:21:08:05:db:4b:bc:35:5e:44:28:d8:fd:6e:c2:cd:e3:ab:5f:b9:7a:99:42:98:8e:b8:f4:dc:d0:60:16 +-----BEGIN CERTIFICATE----- +MIIEHjCCAwagAwIBAgIBATANBgkqhkiG9w0BAQUFADBnMQswCQYDVQQGEwJTRTEU +MBIGA1UEChMLQWRkVHJ1c3QgQUIxHTAbBgNVBAsTFEFkZFRydXN0IFRUUCBOZXR3 +b3JrMSMwIQYDVQQDExpBZGRUcnVzdCBRdWFsaWZpZWQgQ0EgUm9vdDAeFw0wMDA1 +MzAxMDQ0NTBaFw0yMDA1MzAxMDQ0NTBaMGcxCzAJBgNVBAYTAlNFMRQwEgYDVQQK +EwtBZGRUcnVzdCBBQjEdMBsGA1UECxMUQWRkVHJ1c3QgVFRQIE5ldHdvcmsxIzAh +BgNVBAMTGkFkZFRydXN0IFF1YWxpZmllZCBDQSBSb290MIIBIjANBgkqhkiG9w0B +AQEFAAOCAQ8AMIIBCgKCAQEA5B6a/twJWoekn0e+EV+vhDTbYjx5eLfpMLXsDBwq +xBb/4Oxx64r1EW7tTw2R0hIYLUkVAcKkIhPHEWT/IhKauY5cLwjPcWqzZwFZ8V1G +87B4pfYOQnrjfxvM0PC3KP0q6p6zsLkEqv32x7SxuCqg+1jxGaBvcCV+PmlKfw8i +2O+tCBGaKZnhqkRFmhJePp1tUvznoD1oL/BLcHwTOK28FSXx1s6rosAx1i+f4P8U +WfyEk9mHfExUE+uf0S0R+Bg6Ot4l2ffTQO2kBhLEO+GRwVY18BTcZTYJbqukB8c1 +0cIDMzZbdSZtQvESa0NvS3GU+jQd7RNuyoB/mC9suWXY6QIDAQABo4HUMIHRMB0G +A1UdDgQWBBQ5lYtii1zJ1IC6WA+XPxUIQ8yYpzALBgNVHQ8EBAMCAQYwDwYDVR0T +AQH/BAUwAwEB/zCBkQYDVR0jBIGJMIGGgBQ5lYtii1zJ1IC6WA+XPxUIQ8yYp6Fr +pGkwZzELMAkGA1UEBhMCU0UxFDASBgNVBAoTC0FkZFRydXN0IEFCMR0wGwYDVQQL +ExRBZGRUcnVzdCBUVFAgTmV0d29yazEjMCEGA1UEAxMaQWRkVHJ1c3QgUXVhbGlm +aWVkIENBIFJvb3SCAQEwDQYJKoZIhvcNAQEFBQADggEBABmrder4i2VhlRO6aQTv +hsoToMeqT2QbPxj2qC0sVY8FtzDqQmodwCVRLae/DLPt7wh/bDxGGuoYQ992zPlm +hpwsaPXpF/gxsxjE1kh9I0xowX67ARRvxdlu3rsEQmr49lx95dr6h+sNNVJn0J6X +dgWTP5XHAeZpVTh/EGGZyeNfpso+gmNIquIISD6q8rKFYqa0p9m9N5xotS1WfbC3 +P6CxB9bpT9zeRXEwMn8bLgn5v1Kh7sKAPgZcLlVAwRv1cEWw3F369nJad9Jjzc9Y +iQBCYz95OdBEsIJuQRno3eDBiFrRHnGTHyQwdOUeqN48Jzd/g66ed8/wMLH/S5no +xqE= +-----END CERTIFICATE----- + +# Issuer: CN=Entrust Root Certification Authority O=Entrust, Inc. OU=www.entrust.net/CPS is incorporated by reference/(c) 2006 Entrust, Inc. +# Subject: CN=Entrust Root Certification Authority O=Entrust, Inc. OU=www.entrust.net/CPS is incorporated by reference/(c) 2006 Entrust, Inc. +# Label: "Entrust Root Certification Authority" +# Serial: 1164660820 +# MD5 Fingerprint: d6:a5:c3:ed:5d:dd:3e:00:c1:3d:87:92:1f:1d:3f:e4 +# SHA1 Fingerprint: b3:1e:b1:b7:40:e3:6c:84:02:da:dc:37:d4:4d:f5:d4:67:49:52:f9 +# SHA256 Fingerprint: 73:c1:76:43:4f:1b:c6:d5:ad:f4:5b:0e:76:e7:27:28:7c:8d:e5:76:16:c1:e6:e6:14:1a:2b:2c:bc:7d:8e:4c +-----BEGIN CERTIFICATE----- +MIIEkTCCA3mgAwIBAgIERWtQVDANBgkqhkiG9w0BAQUFADCBsDELMAkGA1UEBhMC +VVMxFjAUBgNVBAoTDUVudHJ1c3QsIEluYy4xOTA3BgNVBAsTMHd3dy5lbnRydXN0 +Lm5ldC9DUFMgaXMgaW5jb3Jwb3JhdGVkIGJ5IHJlZmVyZW5jZTEfMB0GA1UECxMW +KGMpIDIwMDYgRW50cnVzdCwgSW5jLjEtMCsGA1UEAxMkRW50cnVzdCBSb290IENl +cnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA2MTEyNzIwMjM0MloXDTI2MTEyNzIw +NTM0MlowgbAxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1FbnRydXN0LCBJbmMuMTkw +NwYDVQQLEzB3d3cuZW50cnVzdC5uZXQvQ1BTIGlzIGluY29ycG9yYXRlZCBieSBy +ZWZlcmVuY2UxHzAdBgNVBAsTFihjKSAyMDA2IEVudHJ1c3QsIEluYy4xLTArBgNV +BAMTJEVudHJ1c3QgUm9vdCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTCCASIwDQYJ +KoZIhvcNAQEBBQADggEPADCCAQoCggEBALaVtkNC+sZtKm9I35RMOVcF7sN5EUFo +Nu3s/poBj6E4KPz3EEZmLk0eGrEaTsbRwJWIsMn/MYszA9u3g3s+IIRe7bJWKKf4 +4LlAcTfFy0cOlypowCKVYhXbR9n10Cv/gkvJrT7eTNuQgFA/CYqEAOwwCj0Yzfv9 +KlmaI5UXLEWeH25DeW0MXJj+SKfFI0dcXv1u5x609mhF0YaDW6KKjbHjKYD+JXGI +rb68j6xSlkuqUY3kEzEZ6E5Nn9uss2rVvDlUccp6en+Q3X0dgNmBu1kmwhH+5pPi +94DkZfs0Nw4pgHBNrziGLp5/V6+eF67rHMsoIV+2HNjnogQi+dPa2MsCAwEAAaOB +sDCBrTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zArBgNVHRAEJDAi +gA8yMDA2MTEyNzIwMjM0MlqBDzIwMjYxMTI3MjA1MzQyWjAfBgNVHSMEGDAWgBRo +kORnpKZTgMeGZqTx90tD+4S9bTAdBgNVHQ4EFgQUaJDkZ6SmU4DHhmak8fdLQ/uE +vW0wHQYJKoZIhvZ9B0EABBAwDhsIVjcuMTo0LjADAgSQMA0GCSqGSIb3DQEBBQUA +A4IBAQCT1DCw1wMgKtD5Y+iRDAUgqV8ZyntyTtSx29CW+1RaGSwMCPeyvIWonX9t +O1KzKtvn1ISMY/YPyyYBkVBs9F8U4pN0wBOeMDpQ47RgxRzwIkSNcUesyBrJ6Zua +AGAT/3B+XxFNSRuzFVJ7yVTav52Vr2ua2J7p8eRDjeIRRDq/r72DQnNSi6q7pynP +9WQcCk3RvKqsnyrQ/39/2n3qse0wJcGE2jTSW3iDVuycNsMm4hH2Z0kdkquM++v/ +eu6FSqdQgPCnXEqULl8FmTxSQeDNtGPPAUO6nIPcj2A781q0tHuu2guQOHXvgR1m +0vdXcDazv/wor3ElhVsT/h5/WrQ8 +-----END CERTIFICATE----- + +# Issuer: CN=GeoTrust Global CA O=GeoTrust Inc. +# Subject: CN=GeoTrust Global CA O=GeoTrust Inc. +# Label: "GeoTrust Global CA" +# Serial: 144470 +# MD5 Fingerprint: f7:75:ab:29:fb:51:4e:b7:77:5e:ff:05:3c:99:8e:f5 +# SHA1 Fingerprint: de:28:f4:a4:ff:e5:b9:2f:a3:c5:03:d1:a3:49:a7:f9:96:2a:82:12 +# SHA256 Fingerprint: ff:85:6a:2d:25:1d:cd:88:d3:66:56:f4:50:12:67:98:cf:ab:aa:de:40:79:9c:72:2d:e4:d2:b5:db:36:a7:3a +-----BEGIN CERTIFICATE----- +MIIDVDCCAjygAwIBAgIDAjRWMA0GCSqGSIb3DQEBBQUAMEIxCzAJBgNVBAYTAlVT +MRYwFAYDVQQKEw1HZW9UcnVzdCBJbmMuMRswGQYDVQQDExJHZW9UcnVzdCBHbG9i +YWwgQ0EwHhcNMDIwNTIxMDQwMDAwWhcNMjIwNTIxMDQwMDAwWjBCMQswCQYDVQQG +EwJVUzEWMBQGA1UEChMNR2VvVHJ1c3QgSW5jLjEbMBkGA1UEAxMSR2VvVHJ1c3Qg +R2xvYmFsIENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2swYYzD9 +9BcjGlZ+W988bDjkcbd4kdS8odhM+KhDtgPpTSEHCIjaWC9mOSm9BXiLnTjoBbdq +fnGk5sRgprDvgOSJKA+eJdbtg/OtppHHmMlCGDUUna2YRpIuT8rxh0PBFpVXLVDv +iS2Aelet8u5fa9IAjbkU+BQVNdnARqN7csiRv8lVK83Qlz6cJmTM386DGXHKTubU +1XupGc1V3sjs0l44U+VcT4wt/lAjNvxm5suOpDkZALeVAjmRCw7+OC7RHQWa9k0+ +bw8HHa8sHo9gOeL6NlMTOdReJivbPagUvTLrGAMoUgRx5aszPeE4uwc2hGKceeoW +MPRfwCvocWvk+QIDAQABo1MwUTAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBTA +ephojYn7qwVkDBF9qn1luMrMTjAfBgNVHSMEGDAWgBTAephojYn7qwVkDBF9qn1l +uMrMTjANBgkqhkiG9w0BAQUFAAOCAQEANeMpauUvXVSOKVCUn5kaFOSPeCpilKIn +Z57QzxpeR+nBsqTP3UEaBU6bS+5Kb1VSsyShNwrrZHYqLizz/Tt1kL/6cdjHPTfS +tQWVYrmm3ok9Nns4d0iXrKYgjy6myQzCsplFAMfOEVEiIuCl6rYVSAlk6l5PdPcF +PseKUgzbFbS9bZvlxrFUaKnjaZC2mqUPuLk/IH2uSrW4nOQdtqvmlKXBx4Ot2/Un +hw4EbNX/3aBd7YdStysVAq45pmp06drE57xNNB6pXE0zX5IJL4hmXXeXxx12E6nV +5fEWCRE11azbJHFwLJhWC9kXtNHjUStedejV0NxPNO3CBWaAocvmMw== +-----END CERTIFICATE----- + +# Issuer: CN=GeoTrust Global CA 2 O=GeoTrust Inc. +# Subject: CN=GeoTrust Global CA 2 O=GeoTrust Inc. +# Label: "GeoTrust Global CA 2" +# Serial: 1 +# MD5 Fingerprint: 0e:40:a7:6c:de:03:5d:8f:d1:0f:e4:d1:8d:f9:6c:a9 +# SHA1 Fingerprint: a9:e9:78:08:14:37:58:88:f2:05:19:b0:6d:2b:0d:2b:60:16:90:7d +# SHA256 Fingerprint: ca:2d:82:a0:86:77:07:2f:8a:b6:76:4f:f0:35:67:6c:fe:3e:5e:32:5e:01:21:72:df:3f:92:09:6d:b7:9b:85 +-----BEGIN CERTIFICATE----- +MIIDZjCCAk6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBEMQswCQYDVQQGEwJVUzEW +MBQGA1UEChMNR2VvVHJ1c3QgSW5jLjEdMBsGA1UEAxMUR2VvVHJ1c3QgR2xvYmFs +IENBIDIwHhcNMDQwMzA0MDUwMDAwWhcNMTkwMzA0MDUwMDAwWjBEMQswCQYDVQQG +EwJVUzEWMBQGA1UEChMNR2VvVHJ1c3QgSW5jLjEdMBsGA1UEAxMUR2VvVHJ1c3Qg +R2xvYmFsIENBIDIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDvPE1A +PRDfO1MA4Wf+lGAVPoWI8YkNkMgoI5kF6CsgncbzYEbYwbLVjDHZ3CB5JIG/NTL8 +Y2nbsSpr7iFY8gjpeMtvy/wWUsiRxP89c96xPqfCfWbB9X5SJBri1WeR0IIQ13hL +TytCOb1kLUCgsBDTOEhGiKEMuzozKmKY+wCdE1l/bztyqu6mD4b5BWHqZ38MN5aL +5mkWRxHCJ1kDs6ZgwiFAVvqgx306E+PsV8ez1q6diYD3Aecs9pYrEw15LNnA5IZ7 +S4wMcoKK+xfNAGw6EzywhIdLFnopsk/bHdQL82Y3vdj2V7teJHq4PIu5+pIaGoSe +2HSPqht/XvT+RSIhAgMBAAGjYzBhMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYE +FHE4NvICMVNHK266ZUapEBVYIAUJMB8GA1UdIwQYMBaAFHE4NvICMVNHK266ZUap +EBVYIAUJMA4GA1UdDwEB/wQEAwIBhjANBgkqhkiG9w0BAQUFAAOCAQEAA/e1K6td +EPx7srJerJsOflN4WT5CBP51o62sgU7XAotexC3IUnbHLB/8gTKY0UvGkpMzNTEv +/NgdRN3ggX+d6YvhZJFiCzkIjKx0nVnZellSlxG5FntvRdOW2TF9AjYPnDtuzywN +A0ZF66D0f0hExghAzN4bcLUprbqLOzRldRtxIR0sFAqwlpW41uryZfspuk/qkZN0 +abby/+Ea0AzRdoXLiiW9l14sbxWZJue2Kf8i7MkCx1YAzUm5s2x7UwQa4qjJqhIF +I8LO57sEAszAR6LkxCkvW0VXiVHuPOtSCP8HNR6fNWpHSlaY0VqFH4z1Ir+rzoPz +4iIprn2DQKi6bA== +-----END CERTIFICATE----- + +# Issuer: CN=GeoTrust Universal CA O=GeoTrust Inc. +# Subject: CN=GeoTrust Universal CA O=GeoTrust Inc. +# Label: "GeoTrust Universal CA" +# Serial: 1 +# MD5 Fingerprint: 92:65:58:8b:a2:1a:31:72:73:68:5c:b4:a5:7a:07:48 +# SHA1 Fingerprint: e6:21:f3:35:43:79:05:9a:4b:68:30:9d:8a:2f:74:22:15:87:ec:79 +# SHA256 Fingerprint: a0:45:9b:9f:63:b2:25:59:f5:fa:5d:4c:6d:b3:f9:f7:2f:f1:93:42:03:35:78:f0:73:bf:1d:1b:46:cb:b9:12 +-----BEGIN CERTIFICATE----- +MIIFaDCCA1CgAwIBAgIBATANBgkqhkiG9w0BAQUFADBFMQswCQYDVQQGEwJVUzEW +MBQGA1UEChMNR2VvVHJ1c3QgSW5jLjEeMBwGA1UEAxMVR2VvVHJ1c3QgVW5pdmVy +c2FsIENBMB4XDTA0MDMwNDA1MDAwMFoXDTI5MDMwNDA1MDAwMFowRTELMAkGA1UE +BhMCVVMxFjAUBgNVBAoTDUdlb1RydXN0IEluYy4xHjAcBgNVBAMTFUdlb1RydXN0 +IFVuaXZlcnNhbCBDQTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAKYV +VaCjxuAfjJ0hUNfBvitbtaSeodlyWL0AG0y/YckUHUWCq8YdgNY96xCcOq9tJPi8 +cQGeBvV8Xx7BDlXKg5pZMK4ZyzBIle0iN430SppyZj6tlcDgFgDgEB8rMQ7XlFTT +QjOgNB0eRXbdT8oYN+yFFXoZCPzVx5zw8qkuEKmS5j1YPakWaDwvdSEYfyh3peFh +F7em6fgemdtzbvQKoiFs7tqqhZJmr/Z6a4LauiIINQ/PQvE1+mrufislzDoR5G2v +c7J2Ha3QsnhnGqQ5HFELZ1aD/ThdDc7d8Lsrlh/eezJS/R27tQahsiFepdaVaH/w +mZ7cRQg+59IJDTWU3YBOU5fXtQlEIGQWFwMCTFMNaN7VqnJNk22CDtucvc+081xd +VHppCZbW2xHBjXWotM85yM48vCR85mLK4b19p71XZQvk/iXttmkQ3CgaRr0BHdCX +teGYO8A3ZNY9lO4L4fUorgtWv3GLIylBjobFS1J72HGrH4oVpjuDWtdYAVHGTEHZ +f9hBZ3KiKN9gg6meyHv8U3NyWfWTehd2Ds735VzZC1U0oqpbtWpU5xPKV+yXbfRe +Bi9Fi1jUIxaS5BZuKGNZMN9QAZxjiRqf2xeUgnA3wySemkfWWspOqGmJch+RbNt+ +nhutxx9z3SxPGWX9f5NAEC7S8O08ni4oPmkmM8V7AgMBAAGjYzBhMA8GA1UdEwEB +/wQFMAMBAf8wHQYDVR0OBBYEFNq7LqqwDLiIJlF0XG0D08DYj3rWMB8GA1UdIwQY +MBaAFNq7LqqwDLiIJlF0XG0D08DYj3rWMA4GA1UdDwEB/wQEAwIBhjANBgkqhkiG +9w0BAQUFAAOCAgEAMXjmx7XfuJRAyXHEqDXsRh3ChfMoWIawC/yOsjmPRFWrZIRc +aanQmjg8+uUfNeVE44B5lGiku8SfPeE0zTBGi1QrlaXv9z+ZhP015s8xxtxqv6fX +IwjhmF7DWgh2qaavdy+3YL1ERmrvl/9zlcGO6JP7/TG37FcREUWbMPEaiDnBTzyn +ANXH/KttgCJwpQzgXQQpAvvLoJHRfNbDflDVnVi+QTjruXU8FdmbyUqDWcDaU/0z +uzYYm4UPFd3uLax2k7nZAY1IEKj79TiG8dsKxr2EoyNB3tZ3b4XUhRxQ4K5RirqN +Pnbiucon8l+f725ZDQbYKxek0nxru18UGkiPGkzns0ccjkxFKyDuSN/n3QmOGKja +QI2SJhFTYXNd673nxE0pN2HrrDktZy4W1vUAg4WhzH92xH3kt0tm7wNFYGm2DFKW +koRepqO1pD4r2czYG0eq8kTaT/kD6PAUyz/zg97QwVTjt+gKN02LIFkDMBmhLMi9 +ER/frslKxfMnZmaGrGiR/9nmUxwPi1xpZQomyB40w11Re9epnAahNt3ViZS82eQt +DF4JbAiXfKM9fJP/P6EUp8+1Xevb2xzEdt+Iub1FBZUbrvxGakyvSOPOrg/Sfuvm +bJxPgWp6ZKy7PtXny3YuxadIwVyQD8vIP/rmMuGNG2+k5o7Y+SlIis5z/iw= +-----END CERTIFICATE----- + +# Issuer: CN=GeoTrust Universal CA 2 O=GeoTrust Inc. +# Subject: CN=GeoTrust Universal CA 2 O=GeoTrust Inc. +# Label: "GeoTrust Universal CA 2" +# Serial: 1 +# MD5 Fingerprint: 34:fc:b8:d0:36:db:9e:14:b3:c2:f2:db:8f:e4:94:c7 +# SHA1 Fingerprint: 37:9a:19:7b:41:85:45:35:0c:a6:03:69:f3:3c:2e:af:47:4f:20:79 +# SHA256 Fingerprint: a0:23:4f:3b:c8:52:7c:a5:62:8e:ec:81:ad:5d:69:89:5d:a5:68:0d:c9:1d:1c:b8:47:7f:33:f8:78:b9:5b:0b +-----BEGIN CERTIFICATE----- +MIIFbDCCA1SgAwIBAgIBATANBgkqhkiG9w0BAQUFADBHMQswCQYDVQQGEwJVUzEW +MBQGA1UEChMNR2VvVHJ1c3QgSW5jLjEgMB4GA1UEAxMXR2VvVHJ1c3QgVW5pdmVy +c2FsIENBIDIwHhcNMDQwMzA0MDUwMDAwWhcNMjkwMzA0MDUwMDAwWjBHMQswCQYD +VQQGEwJVUzEWMBQGA1UEChMNR2VvVHJ1c3QgSW5jLjEgMB4GA1UEAxMXR2VvVHJ1 +c3QgVW5pdmVyc2FsIENBIDIwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoIC +AQCzVFLByT7y2dyxUxpZKeexw0Uo5dfR7cXFS6GqdHtXr0om/Nj1XqduGdt0DE81 +WzILAePb63p3NeqqWuDW6KFXlPCQo3RWlEQwAx5cTiuFJnSCegx2oG9NzkEtoBUG +FF+3Qs17j1hhNNwqCPkuwwGmIkQcTAeC5lvO0Ep8BNMZcyfwqph/Lq9O64ceJHdq +XbboW0W63MOhBW9Wjo8QJqVJwy7XQYci4E+GymC16qFjwAGXEHm9ADwSbSsVsaxL +se4YuU6W3Nx2/zu+z18DwPw76L5GG//aQMJS9/7jOvdqdzXQ2o3rXhhqMcceujwb +KNZrVMaqW9eiLBsZzKIC9ptZvTdrhrVtgrrY6slWvKk2WP0+GfPtDCapkzj4T8Fd +IgbQl+rhrcZV4IErKIM6+vR7IVEAvlI4zs1meaj0gVbi0IMJR1FbUGrP20gaXT73 +y/Zl92zxlfgCOzJWgjl6W70viRu/obTo/3+NjN8D8WBOWBFM66M/ECuDmgFz2ZRt +hAAnZqzwcEAJQpKtT5MNYQlRJNiS1QuUYbKHsu3/mjX/hVTK7URDrBs8FmtISgoc +QIgfksILAAX/8sgCSqSqqcyZlpwvWOB94b67B9xfBHJcMTTD7F8t4D1kkCLm0ey4 +Lt1ZrtmhN79UNdxzMk+MBB4zsslG8dhcyFVQyWi9qLo2CQIDAQABo2MwYTAPBgNV +HRMBAf8EBTADAQH/MB0GA1UdDgQWBBR281Xh+qQ2+/CfXGJx7Tz0RzgQKzAfBgNV +HSMEGDAWgBR281Xh+qQ2+/CfXGJx7Tz0RzgQKzAOBgNVHQ8BAf8EBAMCAYYwDQYJ +KoZIhvcNAQEFBQADggIBAGbBxiPz2eAubl/oz66wsCVNK/g7WJtAJDday6sWSf+z +dXkzoS9tcBc0kf5nfo/sm+VegqlVHy/c1FEHEv6sFj4sNcZj/NwQ6w2jqtB8zNHQ +L1EuxBRa3ugZ4T7GzKQp5y6EqgYweHZUcyiYWTjgAA1i00J9IZ+uPTqM1fp3DRgr +Fg5fNuH8KrUwJM/gYwx7WBr+mbpCErGR9Hxo4sjoryzqyX6uuyo9DRXcNJW2GHSo +ag/HtPQTxORb7QrSpJdMKu0vbBKJPfEncKpqA1Ihn0CoZ1Dy81of398j9tx4TuaY +T1U6U+Pv8vSfx3zYWK8pIpe44L2RLrB27FcRz+8pRPPphXpgY+RdM4kX2TGq2tbz +GDVyz4crL2MjhF2EjD9XoIj8mZEoJmmZ1I+XRL6O1UixpCgp8RW04eWe3fiPpm8m +1wk8OhwRDqZsN/etRIcsKMfYdIKz0G9KV7s1KSegi+ghp4dkNl3M2Basx7InQJJV +OCiNUW7dFGdTbHFcJoRNdVq2fmBWqU2t+5sel/MN2dKXVHfaPRK34B7vCAas+YWH +6aLcr34YEoP9VhdBLtUpgn2Z9DH2canPLAEnpQW5qrJITirvn5NSUZU8UnOOVkwX +QMAJKOSLakhT2+zNVVXxxvjpoixMptEmX36vWkzaH6byHCx+rgIW0lbQL1dTR+iS +-----END CERTIFICATE----- + +# Issuer: CN=America Online Root Certification Authority 1 O=America Online Inc. +# Subject: CN=America Online Root Certification Authority 1 O=America Online Inc. +# Label: "America Online Root Certification Authority 1" +# Serial: 1 +# MD5 Fingerprint: 14:f1:08:ad:9d:fa:64:e2:89:e7:1c:cf:a8:ad:7d:5e +# SHA1 Fingerprint: 39:21:c1:15:c1:5d:0e:ca:5c:cb:5b:c4:f0:7d:21:d8:05:0b:56:6a +# SHA256 Fingerprint: 77:40:73:12:c6:3a:15:3d:5b:c0:0b:4e:51:75:9c:df:da:c2:37:dc:2a:33:b6:79:46:e9:8e:9b:fa:68:0a:e3 +-----BEGIN CERTIFICATE----- +MIIDpDCCAoygAwIBAgIBATANBgkqhkiG9w0BAQUFADBjMQswCQYDVQQGEwJVUzEc +MBoGA1UEChMTQW1lcmljYSBPbmxpbmUgSW5jLjE2MDQGA1UEAxMtQW1lcmljYSBP +bmxpbmUgUm9vdCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSAxMB4XDTAyMDUyODA2 +MDAwMFoXDTM3MTExOTIwNDMwMFowYzELMAkGA1UEBhMCVVMxHDAaBgNVBAoTE0Ft +ZXJpY2EgT25saW5lIEluYy4xNjA0BgNVBAMTLUFtZXJpY2EgT25saW5lIFJvb3Qg +Q2VydGlmaWNhdGlvbiBBdXRob3JpdHkgMTCCASIwDQYJKoZIhvcNAQEBBQADggEP +ADCCAQoCggEBAKgv6KRpBgNHw+kqmP8ZonCaxlCyfqXfaE0bfA+2l2h9LaaLl+lk +hsmj76CGv2BlnEtUiMJIxUo5vxTjWVXlGbR0yLQFOVwWpeKVBeASrlmLojNoWBym +1BW32J/X3HGrfpq/m44zDyL9Hy7nBzbvYjnF3cu6JRQj3gzGPTzOggjmZj7aUTsW +OqMFf6Dch9Wc/HKpoH145LcxVR5lu9RhsCFg7RAycsWSJR74kEoYeEfffjA3PlAb +2xzTa5qGUwew76wGePiEmf4hjUyAtgyC9mZweRrTT6PP8c9GsEsPPt2IYriMqQko +O3rHl+Ee5fSfwMCuJKDIodkP1nsmgmkyPacCAwEAAaNjMGEwDwYDVR0TAQH/BAUw +AwEB/zAdBgNVHQ4EFgQUAK3Zo/Z59m50qX8zPYEX10zPM94wHwYDVR0jBBgwFoAU +AK3Zo/Z59m50qX8zPYEX10zPM94wDgYDVR0PAQH/BAQDAgGGMA0GCSqGSIb3DQEB +BQUAA4IBAQB8itEfGDeC4Liwo+1WlchiYZwFos3CYiZhzRAW18y0ZTTQEYqtqKkF +Zu90821fnZmv9ov761KyBZiibyrFVL0lvV+uyIbqRizBs73B6UlwGBaXCBOMIOAb +LjpHyx7kADCVW/RFo8AasAFOq73AI25jP4BKxQft3OJvx8Fi8eNy1gTIdGcL+oir +oQHIb/AUr9KZzVGTfu0uOMe9zkZQPXLjeSWdm4grECDdpbgyn43gKd8hdIaC2y+C +MMbHNYaz+ZZfRtsMRf3zUMNvxsNIrUam4SdHCh0Om7bCd39j8uB9Gr784N/Xx6ds +sPmuujz9dLQR6FgNgLzTqIA6me11zEZ7 +-----END CERTIFICATE----- + +# Issuer: CN=America Online Root Certification Authority 2 O=America Online Inc. +# Subject: CN=America Online Root Certification Authority 2 O=America Online Inc. +# Label: "America Online Root Certification Authority 2" +# Serial: 1 +# MD5 Fingerprint: d6:ed:3c:ca:e2:66:0f:af:10:43:0d:77:9b:04:09:bf +# SHA1 Fingerprint: 85:b5:ff:67:9b:0c:79:96:1f:c8:6e:44:22:00:46:13:db:17:92:84 +# SHA256 Fingerprint: 7d:3b:46:5a:60:14:e5:26:c0:af:fc:ee:21:27:d2:31:17:27:ad:81:1c:26:84:2d:00:6a:f3:73:06:cc:80:bd +-----BEGIN CERTIFICATE----- +MIIFpDCCA4ygAwIBAgIBATANBgkqhkiG9w0BAQUFADBjMQswCQYDVQQGEwJVUzEc +MBoGA1UEChMTQW1lcmljYSBPbmxpbmUgSW5jLjE2MDQGA1UEAxMtQW1lcmljYSBP +bmxpbmUgUm9vdCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSAyMB4XDTAyMDUyODA2 +MDAwMFoXDTM3MDkyOTE0MDgwMFowYzELMAkGA1UEBhMCVVMxHDAaBgNVBAoTE0Ft +ZXJpY2EgT25saW5lIEluYy4xNjA0BgNVBAMTLUFtZXJpY2EgT25saW5lIFJvb3Qg +Q2VydGlmaWNhdGlvbiBBdXRob3JpdHkgMjCCAiIwDQYJKoZIhvcNAQEBBQADggIP +ADCCAgoCggIBAMxBRR3pPU0Q9oyxQcngXssNt79Hc9PwVU3dxgz6sWYFas14tNwC +206B89enfHG8dWOgXeMHDEjsJcQDIPT/DjsS/5uN4cbVG7RtIuOx238hZK+GvFci +KtZHgVdEglZTvYYUAQv8f3SkWq7xuhG1m1hagLQ3eAkzfDJHA1zEpYNI9FdWboE2 +JxhP7JsowtS013wMPgwr38oE18aO6lhOqKSlGBxsRZijQdEt0sdtjRnxrXm3gT+9 +BoInLRBYBbV4Bbkv2wxrkJB+FFk4u5QkE+XRnRTf04JNRvCAOVIyD+OEsnpD8l7e +Xz8d3eOyG6ChKiMDbi4BFYdcpnV1x5dhvt6G3NRI270qv0pV2uh9UPu0gBe4lL8B +PeraunzgWGcXuVjgiIZGZ2ydEEdYMtA1fHkqkKJaEBEjNa0vzORKW6fIJ/KD3l67 +Xnfn6KVuY8INXWHQjNJsWiEOyiijzirplcdIz5ZvHZIlyMbGwcEMBawmxNJ10uEq +Z8A9W6Wa6897GqidFEXlD6CaZd4vKL3Ob5Rmg0gp2OpljK+T2WSfVVcmv2/LNzGZ +o2C7HK2JNDJiuEMhBnIMoVxtRsX6Kc8w3onccVvdtjc+31D1uAclJuW8tf48ArO3 ++L5DwYcRlJ4jbBeKuIonDFRH8KmzwICMoCfrHRnjB453cMor9H124HhnAgMBAAGj +YzBhMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFE1FwWg4u3OpaaEg5+31IqEj +FNeeMB8GA1UdIwQYMBaAFE1FwWg4u3OpaaEg5+31IqEjFNeeMA4GA1UdDwEB/wQE +AwIBhjANBgkqhkiG9w0BAQUFAAOCAgEAZ2sGuV9FOypLM7PmG2tZTiLMubekJcmn +xPBUlgtk87FYT15R/LKXeydlwuXK5w0MJXti4/qftIe3RUavg6WXSIylvfEWK5t2 +LHo1YGwRgJfMqZJS5ivmae2p+DYtLHe/YUjRYwu5W1LtGLBDQiKmsXeu3mnFzccc +obGlHBD7GL4acN3Bkku+KVqdPzW+5X1R+FXgJXUjhx5c3LqdsKyzadsXg8n33gy8 +CNyRnqjQ1xU3c6U1uPx+xURABsPr+CKAXEfOAuMRn0T//ZoyzH1kUQ7rVyZ2OuMe +IjzCpjbdGe+n/BLzJsBZMYVMnNjP36TMzCmT/5RtdlwTCJfy7aULTd3oyWgOZtMA +DjMSW7yV5TKQqLPGbIOtd+6Lfn6xqavT4fG2wLHqiMDn05DpKJKUe2h7lyoKZy2F +AjgQ5ANh1NolNscIWC2hp1GvMApJ9aZphwctREZ2jirlmjvXGKL8nDgQzMY70rUX +Om/9riW99XJZZLF0KjhfGEzfz3EEWjbUvy+ZnOjZurGV5gJLIaFb1cFPj65pbVPb +AZO1XB4Y3WRayhgoPmMEEf0cjQAPuDffZ4qdZqkCapH/E8ovXYO8h5Ns3CRRFgQl +Zvqz2cK6Kb6aSDiCmfS/O0oxGfm/jiEzFMpPVF/7zvuPcX/9XhmgD0uRuMRUvAaw +RY8mkaKO/qk= +-----END CERTIFICATE----- + +# Issuer: CN=AAA Certificate Services O=Comodo CA Limited +# Subject: CN=AAA Certificate Services O=Comodo CA Limited +# Label: "Comodo AAA Services root" +# Serial: 1 +# MD5 Fingerprint: 49:79:04:b0:eb:87:19:ac:47:b0:bc:11:51:9b:74:d0 +# SHA1 Fingerprint: d1:eb:23:a4:6d:17:d6:8f:d9:25:64:c2:f1:f1:60:17:64:d8:e3:49 +# SHA256 Fingerprint: d7:a7:a0:fb:5d:7e:27:31:d7:71:e9:48:4e:bc:de:f7:1d:5f:0c:3e:0a:29:48:78:2b:c8:3e:e0:ea:69:9e:f4 +-----BEGIN CERTIFICATE----- +MIIEMjCCAxqgAwIBAgIBATANBgkqhkiG9w0BAQUFADB7MQswCQYDVQQGEwJHQjEb +MBkGA1UECAwSR3JlYXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHDAdTYWxmb3JkMRow +GAYDVQQKDBFDb21vZG8gQ0EgTGltaXRlZDEhMB8GA1UEAwwYQUFBIENlcnRpZmlj +YXRlIFNlcnZpY2VzMB4XDTA0MDEwMTAwMDAwMFoXDTI4MTIzMTIzNTk1OVowezEL +MAkGA1UEBhMCR0IxGzAZBgNVBAgMEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UE +BwwHU2FsZm9yZDEaMBgGA1UECgwRQ29tb2RvIENBIExpbWl0ZWQxITAfBgNVBAMM +GEFBQSBDZXJ0aWZpY2F0ZSBTZXJ2aWNlczCCASIwDQYJKoZIhvcNAQEBBQADggEP +ADCCAQoCggEBAL5AnfRu4ep2hxxNRUSOvkbIgwadwSr+GB+O5AL686tdUIoWMQua +BtDFcCLNSS1UY8y2bmhGC1Pqy0wkwLxyTurxFa70VJoSCsN6sjNg4tqJVfMiWPPe +3M/vg4aijJRPn2jymJBGhCfHdr/jzDUsi14HZGWCwEiwqJH5YZ92IFCokcdmtet4 +YgNW8IoaE+oxox6gmf049vYnMlhvB/VruPsUK6+3qszWY19zjNoFmag4qMsXeDZR +rOme9Hg6jc8P2ULimAyrL58OAd7vn5lJ8S3frHRNG5i1R8XlKdH5kBjHYpy+g8cm +ez6KJcfA3Z3mNWgQIJ2P2N7Sw4ScDV7oL8kCAwEAAaOBwDCBvTAdBgNVHQ4EFgQU +oBEKIz6W8Qfs4q8p74Klf9AwpLQwDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQF +MAMBAf8wewYDVR0fBHQwcjA4oDagNIYyaHR0cDovL2NybC5jb21vZG9jYS5jb20v +QUFBQ2VydGlmaWNhdGVTZXJ2aWNlcy5jcmwwNqA0oDKGMGh0dHA6Ly9jcmwuY29t +b2RvLm5ldC9BQUFDZXJ0aWZpY2F0ZVNlcnZpY2VzLmNybDANBgkqhkiG9w0BAQUF +AAOCAQEACFb8AvCb6P+k+tZ7xkSAzk/ExfYAWMymtrwUSWgEdujm7l3sAg9g1o1Q +GE8mTgHj5rCl7r+8dFRBv/38ErjHT1r0iWAFf2C3BUrz9vHCv8S5dIa2LX1rzNLz +Rt0vxuBqw8M0Ayx9lt1awg6nCpnBBYurDC/zXDrPbDdVCYfeU0BsWO/8tqtlbgT2 +G9w84FoVxp7Z8VlIMCFlA2zs6SFz7JsDoeA3raAVGI/6ugLOpyypEBMs1OUIJqsi +l2D4kF501KKaU73yqWjgom7C12yxow+ev+to51byrvLjKzg6CYG1a4XXvi3tPxq3 +smPi9WIsgtRqAEFQ8TmDn5XpNpaYbg== +-----END CERTIFICATE----- + +# Issuer: CN=Secure Certificate Services O=Comodo CA Limited +# Subject: CN=Secure Certificate Services O=Comodo CA Limited +# Label: "Comodo Secure Services root" +# Serial: 1 +# MD5 Fingerprint: d3:d9:bd:ae:9f:ac:67:24:b3:c8:1b:52:e1:b9:a9:bd +# SHA1 Fingerprint: 4a:65:d5:f4:1d:ef:39:b8:b8:90:4a:4a:d3:64:81:33:cf:c7:a1:d1 +# SHA256 Fingerprint: bd:81:ce:3b:4f:65:91:d1:1a:67:b5:fc:7a:47:fd:ef:25:52:1b:f9:aa:4e:18:b9:e3:df:2e:34:a7:80:3b:e8 +-----BEGIN CERTIFICATE----- +MIIEPzCCAyegAwIBAgIBATANBgkqhkiG9w0BAQUFADB+MQswCQYDVQQGEwJHQjEb +MBkGA1UECAwSR3JlYXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHDAdTYWxmb3JkMRow +GAYDVQQKDBFDb21vZG8gQ0EgTGltaXRlZDEkMCIGA1UEAwwbU2VjdXJlIENlcnRp +ZmljYXRlIFNlcnZpY2VzMB4XDTA0MDEwMTAwMDAwMFoXDTI4MTIzMTIzNTk1OVow +fjELMAkGA1UEBhMCR0IxGzAZBgNVBAgMEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4G +A1UEBwwHU2FsZm9yZDEaMBgGA1UECgwRQ29tb2RvIENBIExpbWl0ZWQxJDAiBgNV +BAMMG1NlY3VyZSBDZXJ0aWZpY2F0ZSBTZXJ2aWNlczCCASIwDQYJKoZIhvcNAQEB +BQADggEPADCCAQoCggEBAMBxM4KK0HDrc4eCQNUd5MvJDkKQ+d40uaG6EfQlhfPM +cm3ye5drswfxdySRXyWP9nQ95IDC+DwN879A6vfIUtFyb+/Iq0G4bi4XKpVpDM3S +HpR7LZQdqnXXs5jLrLxkU0C8j6ysNstcrbvd4JQX7NFc0L/vpZXJkMWwrPsbQ996 +CF23uPJAGysnnlDOXmWCiIxe004MeuoIkbY2qitC++rCoznl2yY4rYsK7hljxxwk +3wN42ubqwUcaCwtGCd0C/N7Lh1/XMGNooa7cMqG6vv5Eq2i2pRcV/b3Vp6ea5EQz +6YiO/O1R65NxTq0B50SOqy3LqP4BSUjwwN3HaNiS/j0CAwEAAaOBxzCBxDAdBgNV +HQ4EFgQUPNiTiMLAggnMAZkGkyDpnnAJY08wDgYDVR0PAQH/BAQDAgEGMA8GA1Ud +EwEB/wQFMAMBAf8wgYEGA1UdHwR6MHgwO6A5oDeGNWh0dHA6Ly9jcmwuY29tb2Rv +Y2EuY29tL1NlY3VyZUNlcnRpZmljYXRlU2VydmljZXMuY3JsMDmgN6A1hjNodHRw +Oi8vY3JsLmNvbW9kby5uZXQvU2VjdXJlQ2VydGlmaWNhdGVTZXJ2aWNlcy5jcmww +DQYJKoZIhvcNAQEFBQADggEBAIcBbSMdflsXfcFhMs+P5/OKlFlm4J4oqF7Tt/Q0 +5qo5spcWxYJvMqTpjOev/e/C6LlLqqP05tqNZSH7uoDrJiiFGv45jN5bBAS0VPmj +Z55B+glSzAVIqMk/IQQezkhr/IXownuvf7fM+F86/TXGDe+X3EyrEeFryzHRbPtI +gKvcnDe4IRRLDXE97IMzbtFuMhbsmMcWi1mmNKsFVy2T96oTy9IT4rcuO81rUBcJ +aD61JlfutuC23bkpgHl9j6PwpCikFcSF9CfUa7/lXORlAnZUtOM3ZiTTGWHIUhDl +izeauan5Hb/qmZJhlv8BzaFfDbxxvA6sCx1HRR3B7Hzs/Sk= +-----END CERTIFICATE----- + +# Issuer: CN=Trusted Certificate Services O=Comodo CA Limited +# Subject: CN=Trusted Certificate Services O=Comodo CA Limited +# Label: "Comodo Trusted Services root" +# Serial: 1 +# MD5 Fingerprint: 91:1b:3f:6e:cd:9e:ab:ee:07:fe:1f:71:d2:b3:61:27 +# SHA1 Fingerprint: e1:9f:e3:0e:8b:84:60:9e:80:9b:17:0d:72:a8:c5:ba:6e:14:09:bd +# SHA256 Fingerprint: 3f:06:e5:56:81:d4:96:f5:be:16:9e:b5:38:9f:9f:2b:8f:f6:1e:17:08:df:68:81:72:48:49:cd:5d:27:cb:69 +-----BEGIN CERTIFICATE----- +MIIEQzCCAyugAwIBAgIBATANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJHQjEb +MBkGA1UECAwSR3JlYXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHDAdTYWxmb3JkMRow +GAYDVQQKDBFDb21vZG8gQ0EgTGltaXRlZDElMCMGA1UEAwwcVHJ1c3RlZCBDZXJ0 +aWZpY2F0ZSBTZXJ2aWNlczAeFw0wNDAxMDEwMDAwMDBaFw0yODEyMzEyMzU5NTla +MH8xCzAJBgNVBAYTAkdCMRswGQYDVQQIDBJHcmVhdGVyIE1hbmNoZXN0ZXIxEDAO +BgNVBAcMB1NhbGZvcmQxGjAYBgNVBAoMEUNvbW9kbyBDQSBMaW1pdGVkMSUwIwYD +VQQDDBxUcnVzdGVkIENlcnRpZmljYXRlIFNlcnZpY2VzMIIBIjANBgkqhkiG9w0B +AQEFAAOCAQ8AMIIBCgKCAQEA33FvNlhTWvI2VFeAxHQIIO0Yfyod5jWaHiWsnOWW +fnJSoBVC21ndZHoa0Lh73TkVvFVIxO06AOoxEbrycXQaZ7jPM8yoMa+j49d/vzMt +TGo87IvDktJTdyR0nAducPy9C1t2ul/y/9c3S0pgePfw+spwtOpZqqPOSC+pw7IL +fhdyFgymBwwbOM/JYrc/oJOlh0Hyt3BAd9i+FHzjqMB6juljatEPmsbS9Is6FARW +1O24zG71++IsWL1/T2sr92AkWCTOJu80kTrV44HQsvAEAtdbtz6SrGsSivnkBbA7 +kUlcsutT6vifR4buv5XAwAaf0lteERv0xwQ1KdJVXOTt6wIDAQABo4HJMIHGMB0G +A1UdDgQWBBTFe1i97doladL3WRaoszLAeydb9DAOBgNVHQ8BAf8EBAMCAQYwDwYD +VR0TAQH/BAUwAwEB/zCBgwYDVR0fBHwwejA8oDqgOIY2aHR0cDovL2NybC5jb21v +ZG9jYS5jb20vVHJ1c3RlZENlcnRpZmljYXRlU2VydmljZXMuY3JsMDqgOKA2hjRo +dHRwOi8vY3JsLmNvbW9kby5uZXQvVHJ1c3RlZENlcnRpZmljYXRlU2VydmljZXMu +Y3JsMA0GCSqGSIb3DQEBBQUAA4IBAQDIk4E7ibSvuIQSTI3S8NtwuleGFTQQuS9/ +HrCoiWChisJ3DFBKmwCL2Iv0QeLQg4pKHBQGsKNoBXAxMKdTmw7pSqBYaWcOrp32 +pSxBvzwGa+RZzG0Q8ZZvH9/0BAKkn0U+yNj6NkZEUD+Cl5EfKNsYEYwq5GWDVxIS +jBc/lDb+XbDABHcTuPQV1T84zJQ6VdCsmPW6AF/ghhmBeC8owH7TzEIK9a5QoNE+ +xqFx7D+gIIxmOom0jtTYsU0lR+4viMi14QVFwL4Ucd56/Y57fU0IlqUSc/Atyjcn +dBInTMu2l+nZrghtWjlA3QVHdWpaIbOjGM9O9y5Xt5hwXsjEeLBi +-----END CERTIFICATE----- + +# Issuer: CN=UTN - DATACorp SGC O=The USERTRUST Network OU=http://www.usertrust.com +# Subject: CN=UTN - DATACorp SGC O=The USERTRUST Network OU=http://www.usertrust.com +# Label: "UTN DATACorp SGC Root CA" +# Serial: 91374294542884689855167577680241077609 +# MD5 Fingerprint: b3:a5:3e:77:21:6d:ac:4a:c0:c9:fb:d5:41:3d:ca:06 +# SHA1 Fingerprint: 58:11:9f:0e:12:82:87:ea:50:fd:d9:87:45:6f:4f:78:dc:fa:d6:d4 +# SHA256 Fingerprint: 85:fb:2f:91:dd:12:27:5a:01:45:b6:36:53:4f:84:02:4a:d6:8b:69:b8:ee:88:68:4f:f7:11:37:58:05:b3:48 +-----BEGIN CERTIFICATE----- +MIIEXjCCA0agAwIBAgIQRL4Mi1AAIbQR0ypoBqmtaTANBgkqhkiG9w0BAQUFADCB +kzELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAlVUMRcwFQYDVQQHEw5TYWx0IExha2Ug +Q2l0eTEeMBwGA1UEChMVVGhlIFVTRVJUUlVTVCBOZXR3b3JrMSEwHwYDVQQLExho +dHRwOi8vd3d3LnVzZXJ0cnVzdC5jb20xGzAZBgNVBAMTElVUTiAtIERBVEFDb3Jw +IFNHQzAeFw05OTA2MjQxODU3MjFaFw0xOTA2MjQxOTA2MzBaMIGTMQswCQYDVQQG +EwJVUzELMAkGA1UECBMCVVQxFzAVBgNVBAcTDlNhbHQgTGFrZSBDaXR5MR4wHAYD +VQQKExVUaGUgVVNFUlRSVVNUIE5ldHdvcmsxITAfBgNVBAsTGGh0dHA6Ly93d3cu +dXNlcnRydXN0LmNvbTEbMBkGA1UEAxMSVVROIC0gREFUQUNvcnAgU0dDMIIBIjAN +BgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA3+5YEKIrblXEjr8uRgnn4AgPLit6 +E5Qbvfa2gI5lBZMAHryv4g+OGQ0SR+ysraP6LnD43m77VkIVni5c7yPeIbkFdicZ +D0/Ww5y0vpQZY/KmEQrrU0icvvIpOxboGqBMpsn0GFlowHDyUwDAXlCCpVZvNvlK +4ESGoE1O1kduSUrLZ9emxAW5jh70/P/N5zbgnAVssjMiFdC04MwXwLLA9P4yPykq +lXvY8qdOD1R8oQ2AswkDwf9c3V6aPryuvEeKaq5xyh+xKrhfQgUL7EYw0XILyulW +bfXv33i+Ybqypa4ETLyorGkVl73v67SMvzX41MPRKA5cOp9wGDMgd8SirwIDAQAB +o4GrMIGoMAsGA1UdDwQEAwIBxjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBRT +MtGzz3/64PGgXYVOktKeRR20TzA9BgNVHR8ENjA0MDKgMKAuhixodHRwOi8vY3Js +LnVzZXJ0cnVzdC5jb20vVVROLURBVEFDb3JwU0dDLmNybDAqBgNVHSUEIzAhBggr +BgEFBQcDAQYKKwYBBAGCNwoDAwYJYIZIAYb4QgQBMA0GCSqGSIb3DQEBBQUAA4IB +AQAnNZcAiosovcYzMB4p/OL31ZjUQLtgyr+rFywJNn9Q+kHcrpY6CiM+iVnJowft +Gzet/Hy+UUla3joKVAgWRcKZsYfNjGjgaQPpxE6YsjuMFrMOoAyYUJuTqXAJyCyj +j98C5OBxOvG0I3KgqgHf35g+FFCgMSa9KOlaMCZ1+XtgHI3zzVAmbQQnmt/VDUVH +KWss5nbZqSl9Mt3JNjy9rjXxEZ4du5A/EkdOjtd+D2JzHVImOBwYSf0wdJrE5SIv +2MCN7ZF6TACPcn9d2t0bi0Vr591pl6jFVkwPDPafepE39peC4N1xaf92P2BNPM/3 +mfnGV/TJVTl4uix5yaaIK/QI +-----END CERTIFICATE----- + +# Issuer: CN=UTN-USERFirst-Hardware O=The USERTRUST Network OU=http://www.usertrust.com +# Subject: CN=UTN-USERFirst-Hardware O=The USERTRUST Network OU=http://www.usertrust.com +# Label: "UTN USERFirst Hardware Root CA" +# Serial: 91374294542884704022267039221184531197 +# MD5 Fingerprint: 4c:56:41:e5:0d:bb:2b:e8:ca:a3:ed:18:08:ad:43:39 +# SHA1 Fingerprint: 04:83:ed:33:99:ac:36:08:05:87:22:ed:bc:5e:46:00:e3:be:f9:d7 +# SHA256 Fingerprint: 6e:a5:47:41:d0:04:66:7e:ed:1b:48:16:63:4a:a3:a7:9e:6e:4b:96:95:0f:82:79:da:fc:8d:9b:d8:81:21:37 +-----BEGIN CERTIFICATE----- +MIIEdDCCA1ygAwIBAgIQRL4Mi1AAJLQR0zYq/mUK/TANBgkqhkiG9w0BAQUFADCB +lzELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAlVUMRcwFQYDVQQHEw5TYWx0IExha2Ug +Q2l0eTEeMBwGA1UEChMVVGhlIFVTRVJUUlVTVCBOZXR3b3JrMSEwHwYDVQQLExho +dHRwOi8vd3d3LnVzZXJ0cnVzdC5jb20xHzAdBgNVBAMTFlVUTi1VU0VSRmlyc3Qt +SGFyZHdhcmUwHhcNOTkwNzA5MTgxMDQyWhcNMTkwNzA5MTgxOTIyWjCBlzELMAkG +A1UEBhMCVVMxCzAJBgNVBAgTAlVUMRcwFQYDVQQHEw5TYWx0IExha2UgQ2l0eTEe +MBwGA1UEChMVVGhlIFVTRVJUUlVTVCBOZXR3b3JrMSEwHwYDVQQLExhodHRwOi8v +d3d3LnVzZXJ0cnVzdC5jb20xHzAdBgNVBAMTFlVUTi1VU0VSRmlyc3QtSGFyZHdh +cmUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCx98M4P7Sof885glFn +0G2f0v9Y8+efK+wNiVSZuTiZFvfgIXlIwrthdBKWHTxqctU8EGc6Oe0rE81m65UJ +M6Rsl7HoxuzBdXmcRl6Nq9Bq/bkqVRcQVLMZ8Jr28bFdtqdt++BxF2uiiPsA3/4a +MXcMmgF6sTLjKwEHOG7DpV4jvEWbe1DByTCP2+UretNb+zNAHqDVmBe8i4fDidNd +oI6yqqr2jmmIBsX6iSHzCJ1pLgkzmykNRg+MzEk0sGlRvfkGzWitZky8PqxhvQqI +DsjfPe58BEydCl5rkdbux+0ojatNh4lz0G6k0B4WixThdkQDf2Os5M1JnMWS9Ksy +oUhbAgMBAAGjgbkwgbYwCwYDVR0PBAQDAgHGMA8GA1UdEwEB/wQFMAMBAf8wHQYD +VR0OBBYEFKFyXyYbKJhDlV0HN9WFlp1L0sNFMEQGA1UdHwQ9MDswOaA3oDWGM2h0 +dHA6Ly9jcmwudXNlcnRydXN0LmNvbS9VVE4tVVNFUkZpcnN0LUhhcmR3YXJlLmNy +bDAxBgNVHSUEKjAoBggrBgEFBQcDAQYIKwYBBQUHAwUGCCsGAQUFBwMGBggrBgEF +BQcDBzANBgkqhkiG9w0BAQUFAAOCAQEARxkP3nTGmZev/K0oXnWO6y1n7k57K9cM +//bey1WiCuFMVGWTYGufEpytXoMs61quwOQt9ABjHbjAbPLPSbtNk28Gpgoiskli +CE7/yMgUsogWXecB5BKV5UU0s4tpvc+0hY91UZ59Ojg6FEgSxvunOxqNDYJAB+gE +CJChicsZUN/KHAG8HQQZexB2lzvukJDKxA4fFm517zP4029bHpbj4HR3dHuKom4t +3XbWOTCC8KucUvIqx69JXn7HaOWCgchqJ/kniCrVWFCVH/A7HFe7fRQ5YiuayZSS +KqMiDP+JJn1fIytH1xUdqWqeUQ0qUZ6B+dQ7XnASfxAynB67nfhmqA== +-----END CERTIFICATE----- + +# Issuer: CN=XRamp Global Certification Authority O=XRamp Security Services Inc OU=www.xrampsecurity.com +# Subject: CN=XRamp Global Certification Authority O=XRamp Security Services Inc OU=www.xrampsecurity.com +# Label: "XRamp Global CA Root" +# Serial: 107108908803651509692980124233745014957 +# MD5 Fingerprint: a1:0b:44:b3:ca:10:d8:00:6e:9d:0f:d8:0f:92:0a:d1 +# SHA1 Fingerprint: b8:01:86:d1:eb:9c:86:a5:41:04:cf:30:54:f3:4c:52:b7:e5:58:c6 +# SHA256 Fingerprint: ce:cd:dc:90:50:99:d8:da:df:c5:b1:d2:09:b7:37:cb:e2:c1:8c:fb:2c:10:c0:ff:0b:cf:0d:32:86:fc:1a:a2 +-----BEGIN CERTIFICATE----- +MIIEMDCCAxigAwIBAgIQUJRs7Bjq1ZxN1ZfvdY+grTANBgkqhkiG9w0BAQUFADCB +gjELMAkGA1UEBhMCVVMxHjAcBgNVBAsTFXd3dy54cmFtcHNlY3VyaXR5LmNvbTEk +MCIGA1UEChMbWFJhbXAgU2VjdXJpdHkgU2VydmljZXMgSW5jMS0wKwYDVQQDEyRY +UmFtcCBHbG9iYWwgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMDQxMTAxMTcx +NDA0WhcNMzUwMTAxMDUzNzE5WjCBgjELMAkGA1UEBhMCVVMxHjAcBgNVBAsTFXd3 +dy54cmFtcHNlY3VyaXR5LmNvbTEkMCIGA1UEChMbWFJhbXAgU2VjdXJpdHkgU2Vy +dmljZXMgSW5jMS0wKwYDVQQDEyRYUmFtcCBHbG9iYWwgQ2VydGlmaWNhdGlvbiBB +dXRob3JpdHkwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCYJB69FbS6 +38eMpSe2OAtp87ZOqCwuIR1cRN8hXX4jdP5efrRKt6atH67gBhbim1vZZ3RrXYCP +KZ2GG9mcDZhtdhAoWORlsH9KmHmf4MMxfoArtYzAQDsRhtDLooY2YKTVMIJt2W7Q +DxIEM5dfT2Fa8OT5kavnHTu86M/0ay00fOJIYRyO82FEzG+gSqmUsE3a56k0enI4 +qEHMPJQRfevIpoy3hsvKMzvZPTeL+3o+hiznc9cKV6xkmxnr9A8ECIqsAxcZZPRa +JSKNNCyy9mgdEm3Tih4U2sSPpuIjhdV6Db1q4Ons7Be7QhtnqiXtRYMh/MHJfNVi +PvryxS3T/dRlAgMBAAGjgZ8wgZwwEwYJKwYBBAGCNxQCBAYeBABDAEEwCwYDVR0P +BAQDAgGGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFMZPoj0GY4QJnM5i5ASs +jVy16bYbMDYGA1UdHwQvMC0wK6ApoCeGJWh0dHA6Ly9jcmwueHJhbXBzZWN1cml0 +eS5jb20vWEdDQS5jcmwwEAYJKwYBBAGCNxUBBAMCAQEwDQYJKoZIhvcNAQEFBQAD +ggEBAJEVOQMBG2f7Shz5CmBbodpNl2L5JFMn14JkTpAuw0kbK5rc/Kh4ZzXxHfAR +vbdI4xD2Dd8/0sm2qlWkSLoC295ZLhVbO50WfUfXN+pfTXYSNrsf16GBBEYgoyxt +qZ4Bfj8pzgCT3/3JknOJiWSe5yvkHJEs0rnOfc5vMZnT5r7SHpDwCRR5XCOrTdLa +IR9NmXmd4c8nnxCbHIgNsIpkQTG4DmyQJKSbXHGPurt+HBvbaoAPIbzp26a3QPSy +i6mx5O+aGtA9aZnuqCij4Tyz8LIRnM98QObd50N9otg6tamN8jSZxNQQ4Qb9CYQQ +O+7ETPTsJ3xCwnR8gooJybQDJbw= +-----END CERTIFICATE----- + +# Issuer: O=The Go Daddy Group, Inc. OU=Go Daddy Class 2 Certification Authority +# Subject: O=The Go Daddy Group, Inc. OU=Go Daddy Class 2 Certification Authority +# Label: "Go Daddy Class 2 CA" +# Serial: 0 +# MD5 Fingerprint: 91:de:06:25:ab:da:fd:32:17:0c:bb:25:17:2a:84:67 +# SHA1 Fingerprint: 27:96:ba:e6:3f:18:01:e2:77:26:1b:a0:d7:77:70:02:8f:20:ee:e4 +# SHA256 Fingerprint: c3:84:6b:f2:4b:9e:93:ca:64:27:4c:0e:c6:7c:1e:cc:5e:02:4f:fc:ac:d2:d7:40:19:35:0e:81:fe:54:6a:e4 +-----BEGIN CERTIFICATE----- +MIIEADCCAuigAwIBAgIBADANBgkqhkiG9w0BAQUFADBjMQswCQYDVQQGEwJVUzEh +MB8GA1UEChMYVGhlIEdvIERhZGR5IEdyb3VwLCBJbmMuMTEwLwYDVQQLEyhHbyBE +YWRkeSBDbGFzcyAyIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA0MDYyOTE3 +MDYyMFoXDTM0MDYyOTE3MDYyMFowYzELMAkGA1UEBhMCVVMxITAfBgNVBAoTGFRo +ZSBHbyBEYWRkeSBHcm91cCwgSW5jLjExMC8GA1UECxMoR28gRGFkZHkgQ2xhc3Mg +MiBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTCCASAwDQYJKoZIhvcNAQEBBQADggEN +ADCCAQgCggEBAN6d1+pXGEmhW+vXX0iG6r7d/+TvZxz0ZWizV3GgXne77ZtJ6XCA +PVYYYwhv2vLM0D9/AlQiVBDYsoHUwHU9S3/Hd8M+eKsaA7Ugay9qK7HFiH7Eux6w +wdhFJ2+qN1j3hybX2C32qRe3H3I2TqYXP2WYktsqbl2i/ojgC95/5Y0V4evLOtXi +EqITLdiOr18SPaAIBQi2XKVlOARFmR6jYGB0xUGlcmIbYsUfb18aQr4CUWWoriMY +avx4A6lNf4DD+qta/KFApMoZFv6yyO9ecw3ud72a9nmYvLEHZ6IVDd2gWMZEewo+ +YihfukEHU1jPEX44dMX4/7VpkI+EdOqXG68CAQOjgcAwgb0wHQYDVR0OBBYEFNLE +sNKR1EwRcbNhyz2h/t2oatTjMIGNBgNVHSMEgYUwgYKAFNLEsNKR1EwRcbNhyz2h +/t2oatTjoWekZTBjMQswCQYDVQQGEwJVUzEhMB8GA1UEChMYVGhlIEdvIERhZGR5 +IEdyb3VwLCBJbmMuMTEwLwYDVQQLEyhHbyBEYWRkeSBDbGFzcyAyIENlcnRpZmlj +YXRpb24gQXV0aG9yaXR5ggEAMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQAD +ggEBADJL87LKPpH8EsahB4yOd6AzBhRckB4Y9wimPQoZ+YeAEW5p5JYXMP80kWNy +OO7MHAGjHZQopDH2esRU1/blMVgDoszOYtuURXO1v0XJJLXVggKtI3lpjbi2Tc7P +TMozI+gciKqdi0FuFskg5YmezTvacPd+mSYgFFQlq25zheabIZ0KbIIOqPjCDPoQ +HmyW74cNxA9hi63ugyuV+I6ShHI56yDqg+2DzZduCLzrTia2cyvk0/ZM/iZx4mER +dEr/VxqHD3VILs9RaRegAhJhldXRQLIQTO7ErBBDpqWeCtWVYpoNz4iCxTIM5Cuf +ReYNnyicsbkqWletNw+vHX/bvZ8= +-----END CERTIFICATE----- + +# Issuer: O=Starfield Technologies, Inc. OU=Starfield Class 2 Certification Authority +# Subject: O=Starfield Technologies, Inc. OU=Starfield Class 2 Certification Authority +# Label: "Starfield Class 2 CA" +# Serial: 0 +# MD5 Fingerprint: 32:4a:4b:bb:c8:63:69:9b:be:74:9a:c6:dd:1d:46:24 +# SHA1 Fingerprint: ad:7e:1c:28:b0:64:ef:8f:60:03:40:20:14:c3:d0:e3:37:0e:b5:8a +# SHA256 Fingerprint: 14:65:fa:20:53:97:b8:76:fa:a6:f0:a9:95:8e:55:90:e4:0f:cc:7f:aa:4f:b7:c2:c8:67:75:21:fb:5f:b6:58 +-----BEGIN CERTIFICATE----- +MIIEDzCCAvegAwIBAgIBADANBgkqhkiG9w0BAQUFADBoMQswCQYDVQQGEwJVUzEl +MCMGA1UEChMcU3RhcmZpZWxkIFRlY2hub2xvZ2llcywgSW5jLjEyMDAGA1UECxMp +U3RhcmZpZWxkIENsYXNzIDIgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMDQw +NjI5MTczOTE2WhcNMzQwNjI5MTczOTE2WjBoMQswCQYDVQQGEwJVUzElMCMGA1UE +ChMcU3RhcmZpZWxkIFRlY2hub2xvZ2llcywgSW5jLjEyMDAGA1UECxMpU3RhcmZp +ZWxkIENsYXNzIDIgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwggEgMA0GCSqGSIb3 +DQEBAQUAA4IBDQAwggEIAoIBAQC3Msj+6XGmBIWtDBFk385N78gDGIc/oav7PKaf +8MOh2tTYbitTkPskpD6E8J7oX+zlJ0T1KKY/e97gKvDIr1MvnsoFAZMej2YcOadN ++lq2cwQlZut3f+dZxkqZJRRU6ybH838Z1TBwj6+wRir/resp7defqgSHo9T5iaU0 +X9tDkYI22WY8sbi5gv2cOj4QyDvvBmVmepsZGD3/cVE8MC5fvj13c7JdBmzDI1aa +K4UmkhynArPkPw2vCHmCuDY96pzTNbO8acr1zJ3o/WSNF4Azbl5KXZnJHoe0nRrA +1W4TNSNe35tfPe/W93bC6j67eA0cQmdrBNj41tpvi/JEoAGrAgEDo4HFMIHCMB0G +A1UdDgQWBBS/X7fRzt0fhvRbVazc1xDCDqmI5zCBkgYDVR0jBIGKMIGHgBS/X7fR +zt0fhvRbVazc1xDCDqmI56FspGowaDELMAkGA1UEBhMCVVMxJTAjBgNVBAoTHFN0 +YXJmaWVsZCBUZWNobm9sb2dpZXMsIEluYy4xMjAwBgNVBAsTKVN0YXJmaWVsZCBD +bGFzcyAyIENlcnRpZmljYXRpb24gQXV0aG9yaXR5ggEAMAwGA1UdEwQFMAMBAf8w +DQYJKoZIhvcNAQEFBQADggEBAAWdP4id0ckaVaGsafPzWdqbAYcaT1epoXkJKtv3 +L7IezMdeatiDh6GX70k1PncGQVhiv45YuApnP+yz3SFmH8lU+nLMPUxA2IGvd56D +eruix/U0F47ZEUD0/CwqTRV/p2JdLiXTAAsgGh1o+Re49L2L7ShZ3U0WixeDyLJl +xy16paq8U4Zt3VekyvggQQto8PT7dL5WXXp59fkdheMtlb71cZBDzI0fmgAKhynp +VSJYACPq4xJDKVtHCN2MQWplBqjlIapBtJUhlbl90TSrE9atvNziPTnNvT51cKEY +WQPJIrSPnNVeKtelttQKbfi3QBFGmh95DmK/D5fs4C8fF5Q= +-----END CERTIFICATE----- + +# Issuer: CN=StartCom Certification Authority O=StartCom Ltd. OU=Secure Digital Certificate Signing +# Subject: CN=StartCom Certification Authority O=StartCom Ltd. OU=Secure Digital Certificate Signing +# Label: "StartCom Certification Authority" +# Serial: 1 +# MD5 Fingerprint: 22:4d:8f:8a:fc:f7:35:c2:bb:57:34:90:7b:8b:22:16 +# SHA1 Fingerprint: 3e:2b:f7:f2:03:1b:96:f3:8c:e6:c4:d8:a8:5d:3e:2d:58:47:6a:0f +# SHA256 Fingerprint: c7:66:a9:be:f2:d4:07:1c:86:3a:31:aa:49:20:e8:13:b2:d1:98:60:8c:b7:b7:cf:e2:11:43:b8:36:df:09:ea +-----BEGIN CERTIFICATE----- +MIIHyTCCBbGgAwIBAgIBATANBgkqhkiG9w0BAQUFADB9MQswCQYDVQQGEwJJTDEW +MBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2VjdXJlIERpZ2l0YWwg +Q2VydGlmaWNhdGUgU2lnbmluZzEpMCcGA1UEAxMgU3RhcnRDb20gQ2VydGlmaWNh +dGlvbiBBdXRob3JpdHkwHhcNMDYwOTE3MTk0NjM2WhcNMzYwOTE3MTk0NjM2WjB9 +MQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMi +U2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzEpMCcGA1UEAxMgU3Rh +cnRDb20gQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwggIiMA0GCSqGSIb3DQEBAQUA +A4ICDwAwggIKAoICAQDBiNsJvGxGfHiflXu1M5DycmLWwTYgIiRezul38kMKogZk +pMyONvg45iPwbm2xPN1yo4UcodM9tDMr0y+v/uqwQVlntsQGfQqedIXWeUyAN3rf +OQVSWff0G0ZDpNKFhdLDcfN1YjS6LIp/Ho/u7TTQEceWzVI9ujPW3U3eCztKS5/C +Ji/6tRYccjV3yjxd5srhJosaNnZcAdt0FCX+7bWgiA/deMotHweXMAEtcnn6RtYT +Kqi5pquDSR3l8u/d5AGOGAqPY1MWhWKpDhk6zLVmpsJrdAfkK+F2PrRt2PZE4XNi +HzvEvqBTViVsUQn3qqvKv3b9bZvzndu/PWa8DFaqr5hIlTpL36dYUNk4dalb6kMM +Av+Z6+hsTXBbKWWc3apdzK8BMewM69KN6Oqce+Zu9ydmDBpI125C4z/eIT574Q1w ++2OqqGwaVLRcJXrJosmLFqa7LH4XXgVNWG4SHQHuEhANxjJ/GP/89PrNbpHoNkm+ +Gkhpi8KWTRoSsmkXwQqQ1vp5Iki/untp+HDH+no32NgN0nZPV/+Qt+OR0t3vwmC3 +Zzrd/qqc8NSLf3Iizsafl7b4r4qgEKjZ+xjGtrVcUjyJthkqcwEKDwOzEmDyei+B +26Nu/yYwl/WL3YlXtq09s68rxbd2AvCl1iuahhQqcvbjM4xdCUsT37uMdBNSSwID +AQABo4ICUjCCAk4wDAYDVR0TBAUwAwEB/zALBgNVHQ8EBAMCAa4wHQYDVR0OBBYE +FE4L7xqkQFulF2mHMMo0aEPQQa7yMGQGA1UdHwRdMFswLKAqoCiGJmh0dHA6Ly9j +ZXJ0LnN0YXJ0Y29tLm9yZy9zZnNjYS1jcmwuY3JsMCugKaAnhiVodHRwOi8vY3Js +LnN0YXJ0Y29tLm9yZy9zZnNjYS1jcmwuY3JsMIIBXQYDVR0gBIIBVDCCAVAwggFM +BgsrBgEEAYG1NwEBATCCATswLwYIKwYBBQUHAgEWI2h0dHA6Ly9jZXJ0LnN0YXJ0 +Y29tLm9yZy9wb2xpY3kucGRmMDUGCCsGAQUFBwIBFilodHRwOi8vY2VydC5zdGFy +dGNvbS5vcmcvaW50ZXJtZWRpYXRlLnBkZjCB0AYIKwYBBQUHAgIwgcMwJxYgU3Rh +cnQgQ29tbWVyY2lhbCAoU3RhcnRDb20pIEx0ZC4wAwIBARqBl0xpbWl0ZWQgTGlh +YmlsaXR5LCByZWFkIHRoZSBzZWN0aW9uICpMZWdhbCBMaW1pdGF0aW9ucyogb2Yg +dGhlIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5IFBvbGljeSBhdmFp +bGFibGUgYXQgaHR0cDovL2NlcnQuc3RhcnRjb20ub3JnL3BvbGljeS5wZGYwEQYJ +YIZIAYb4QgEBBAQDAgAHMDgGCWCGSAGG+EIBDQQrFilTdGFydENvbSBGcmVlIFNT +TCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTANBgkqhkiG9w0BAQUFAAOCAgEAFmyZ +9GYMNPXQhV59CuzaEE44HF7fpiUFS5Eyweg78T3dRAlbB0mKKctmArexmvclmAk8 +jhvh3TaHK0u7aNM5Zj2gJsfyOZEdUauCe37Vzlrk4gNXcGmXCPleWKYK34wGmkUW +FjgKXlf2Ysd6AgXmvB618p70qSmD+LIU424oh0TDkBreOKk8rENNZEXO3SipXPJz +ewT4F+irsfMuXGRuczE6Eri8sxHkfY+BUZo7jYn0TZNmezwD7dOaHZrzZVD1oNB1 +ny+v8OqCQ5j4aZyJecRDjkZy42Q2Eq/3JR44iZB3fsNrarnDy0RLrHiQi+fHLB5L +EUTINFInzQpdn4XBidUaePKVEFMy3YCEZnXZtWgo+2EuvoSoOMCZEoalHmdkrQYu +L6lwhceWD3yJZfWOQ1QOq92lgDmUYMA0yZZwLKMS9R9Ie70cfmu3nZD0Ijuu+Pwq +yvqCUqDvr0tVk+vBtfAii6w0TiYiBKGHLHVKt+V9E9e4DGTANtLJL4YSjCMJwRuC +O3NJo2pXh5Tl1njFmUNj403gdy3hZZlyaQQaRwnmDwFWJPsfvw55qVguucQJAX6V +um0ABj6y6koQOdjQK/W/7HW/lwLFCRsI3FU34oH7N4RDYiDK51ZLZer+bMEkkySh +NOsF/5oirpt9P/FlUQqmMGqz9IgcgA38corog14= +-----END CERTIFICATE----- + +# Issuer: CN=DigiCert Assured ID Root CA O=DigiCert Inc OU=www.digicert.com +# Subject: CN=DigiCert Assured ID Root CA O=DigiCert Inc OU=www.digicert.com +# Label: "DigiCert Assured ID Root CA" +# Serial: 17154717934120587862167794914071425081 +# MD5 Fingerprint: 87:ce:0b:7b:2a:0e:49:00:e1:58:71:9b:37:a8:93:72 +# SHA1 Fingerprint: 05:63:b8:63:0d:62:d7:5a:bb:c8:ab:1e:4b:df:b5:a8:99:b2:4d:43 +# SHA256 Fingerprint: 3e:90:99:b5:01:5e:8f:48:6c:00:bc:ea:9d:11:1e:e7:21:fa:ba:35:5a:89:bc:f1:df:69:56:1e:3d:c6:32:5c +-----BEGIN CERTIFICATE----- +MIIDtzCCAp+gAwIBAgIQDOfg5RfYRv6P5WD8G/AwOTANBgkqhkiG9w0BAQUFADBl +MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3 +d3cuZGlnaWNlcnQuY29tMSQwIgYDVQQDExtEaWdpQ2VydCBBc3N1cmVkIElEIFJv +b3QgQ0EwHhcNMDYxMTEwMDAwMDAwWhcNMzExMTEwMDAwMDAwWjBlMQswCQYDVQQG +EwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNl +cnQuY29tMSQwIgYDVQQDExtEaWdpQ2VydCBBc3N1cmVkIElEIFJvb3QgQ0EwggEi +MA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCtDhXO5EOAXLGH87dg+XESpa7c +JpSIqvTO9SA5KFhgDPiA2qkVlTJhPLWxKISKityfCgyDF3qPkKyK53lTXDGEKvYP +mDI2dsze3Tyoou9q+yHyUmHfnyDXH+Kx2f4YZNISW1/5WBg1vEfNoTb5a3/UsDg+ +wRvDjDPZ2C8Y/igPs6eD1sNuRMBhNZYW/lmci3Zt1/GiSw0r/wty2p5g0I6QNcZ4 +VYcgoc/lbQrISXwxmDNsIumH0DJaoroTghHtORedmTpyoeb6pNnVFzF1roV9Iq4/ +AUaG9ih5yLHa5FcXxH4cDrC0kqZWs72yl+2qp/C3xag/lRbQ/6GW6whfGHdPAgMB +AAGjYzBhMA4GA1UdDwEB/wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQW +BBRF66Kv9JLLgjEtUYunpyGd823IDzAfBgNVHSMEGDAWgBRF66Kv9JLLgjEtUYun +pyGd823IDzANBgkqhkiG9w0BAQUFAAOCAQEAog683+Lt8ONyc3pklL/3cmbYMuRC +dWKuh+vy1dneVrOfzM4UKLkNl2BcEkxY5NM9g0lFWJc1aRqoR+pWxnmrEthngYTf +fwk8lOa4JiwgvT2zKIn3X/8i4peEH+ll74fg38FnSbNd67IJKusm7Xi+fT8r87cm +NW1fiQG2SVufAQWbqz0lwcy2f8Lxb4bG+mRo64EtlOtCt/qMHt1i8b5QZ7dsvfPx +H2sMNgcWfzd8qVttevESRmCD1ycEvkvOl77DZypoEd+A5wwzZr8TDRRu838fYxAe ++o0bJW1sj6W3YQGx0qMmoRBxna3iw/nDmVG3KwcIzi7mULKn+gpFL6Lw8g== +-----END CERTIFICATE----- + +# Issuer: CN=DigiCert Global Root CA O=DigiCert Inc OU=www.digicert.com +# Subject: CN=DigiCert Global Root CA O=DigiCert Inc OU=www.digicert.com +# Label: "DigiCert Global Root CA" +# Serial: 10944719598952040374951832963794454346 +# MD5 Fingerprint: 79:e4:a9:84:0d:7d:3a:96:d7:c0:4f:e2:43:4c:89:2e +# SHA1 Fingerprint: a8:98:5d:3a:65:e5:e5:c4:b2:d7:d6:6d:40:c6:dd:2f:b1:9c:54:36 +# SHA256 Fingerprint: 43:48:a0:e9:44:4c:78:cb:26:5e:05:8d:5e:89:44:b4:d8:4f:96:62:bd:26:db:25:7f:89:34:a4:43:c7:01:61 +-----BEGIN CERTIFICATE----- +MIIDrzCCApegAwIBAgIQCDvgVpBCRrGhdWrJWZHHSjANBgkqhkiG9w0BAQUFADBh +MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3 +d3cuZGlnaWNlcnQuY29tMSAwHgYDVQQDExdEaWdpQ2VydCBHbG9iYWwgUm9vdCBD +QTAeFw0wNjExMTAwMDAwMDBaFw0zMTExMTAwMDAwMDBaMGExCzAJBgNVBAYTAlVT +MRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdpY2VydC5j +b20xIDAeBgNVBAMTF0RpZ2lDZXJ0IEdsb2JhbCBSb290IENBMIIBIjANBgkqhkiG +9w0BAQEFAAOCAQ8AMIIBCgKCAQEA4jvhEXLeqKTTo1eqUKKPC3eQyaKl7hLOllsB +CSDMAZOnTjC3U/dDxGkAV53ijSLdhwZAAIEJzs4bg7/fzTtxRuLWZscFs3YnFo97 +nh6Vfe63SKMI2tavegw5BmV/Sl0fvBf4q77uKNd0f3p4mVmFaG5cIzJLv07A6Fpt +43C/dxC//AH2hdmoRBBYMql1GNXRor5H4idq9Joz+EkIYIvUX7Q6hL+hqkpMfT7P +T19sdl6gSzeRntwi5m3OFBqOasv+zbMUZBfHWymeMr/y7vrTC0LUq7dBMtoM1O/4 +gdW7jVg/tRvoSSiicNoxBN33shbyTApOB6jtSj1etX+jkMOvJwIDAQABo2MwYTAO +BgNVHQ8BAf8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUA95QNVbR +TLtm8KPiGxvDl7I90VUwHwYDVR0jBBgwFoAUA95QNVbRTLtm8KPiGxvDl7I90VUw +DQYJKoZIhvcNAQEFBQADggEBAMucN6pIExIK+t1EnE9SsPTfrgT1eXkIoyQY/Esr +hMAtudXH/vTBH1jLuG2cenTnmCmrEbXjcKChzUyImZOMkXDiqw8cvpOp/2PV5Adg +06O/nVsJ8dWO41P0jmP6P6fbtGbfYmbW0W5BjfIttep3Sp+dWOIrWcBAI+0tKIJF +PnlUkiaY4IBIqDfv8NZ5YBberOgOzW6sRBc4L0na4UU+Krk2U886UAb3LujEV0ls +YSEY1QSteDwsOoBrp+uvFRTp2InBuThs4pFsiv9kuXclVzDAGySj4dzp30d8tbQk +CAUw7C29C79Fv1C5qfPrmAESrciIxpg0X40KPMbp1ZWVbd4= +-----END CERTIFICATE----- + +# Issuer: CN=DigiCert High Assurance EV Root CA O=DigiCert Inc OU=www.digicert.com +# Subject: CN=DigiCert High Assurance EV Root CA O=DigiCert Inc OU=www.digicert.com +# Label: "DigiCert High Assurance EV Root CA" +# Serial: 3553400076410547919724730734378100087 +# MD5 Fingerprint: d4:74:de:57:5c:39:b2:d3:9c:85:83:c5:c0:65:49:8a +# SHA1 Fingerprint: 5f:b7:ee:06:33:e2:59:db:ad:0c:4c:9a:e6:d3:8f:1a:61:c7:dc:25 +# SHA256 Fingerprint: 74:31:e5:f4:c3:c1:ce:46:90:77:4f:0b:61:e0:54:40:88:3b:a9:a0:1e:d0:0b:a6:ab:d7:80:6e:d3:b1:18:cf +-----BEGIN CERTIFICATE----- +MIIDxTCCAq2gAwIBAgIQAqxcJmoLQJuPC3nyrkYldzANBgkqhkiG9w0BAQUFADBs +MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3 +d3cuZGlnaWNlcnQuY29tMSswKQYDVQQDEyJEaWdpQ2VydCBIaWdoIEFzc3VyYW5j +ZSBFViBSb290IENBMB4XDTA2MTExMDAwMDAwMFoXDTMxMTExMDAwMDAwMFowbDEL +MAkGA1UEBhMCVVMxFTATBgNVBAoTDERpZ2lDZXJ0IEluYzEZMBcGA1UECxMQd3d3 +LmRpZ2ljZXJ0LmNvbTErMCkGA1UEAxMiRGlnaUNlcnQgSGlnaCBBc3N1cmFuY2Ug +RVYgUm9vdCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMbM5XPm ++9S75S0tMqbf5YE/yc0lSbZxKsPVlDRnogocsF9ppkCxxLeyj9CYpKlBWTrT3JTW +PNt0OKRKzE0lgvdKpVMSOO7zSW1xkX5jtqumX8OkhPhPYlG++MXs2ziS4wblCJEM +xChBVfvLWokVfnHoNb9Ncgk9vjo4UFt3MRuNs8ckRZqnrG0AFFoEt7oT61EKmEFB +Ik5lYYeBQVCmeVyJ3hlKV9Uu5l0cUyx+mM0aBhakaHPQNAQTXKFx01p8VdteZOE3 +hzBWBOURtCmAEvF5OYiiAhF8J2a3iLd48soKqDirCmTCv2ZdlYTBoSUeh10aUAsg +EsxBu24LUTi4S8sCAwEAAaNjMGEwDgYDVR0PAQH/BAQDAgGGMA8GA1UdEwEB/wQF +MAMBAf8wHQYDVR0OBBYEFLE+w2kD+L9HAdSYJhoIAu9jZCvDMB8GA1UdIwQYMBaA +FLE+w2kD+L9HAdSYJhoIAu9jZCvDMA0GCSqGSIb3DQEBBQUAA4IBAQAcGgaX3Nec +nzyIZgYIVyHbIUf4KmeqvxgydkAQV8GK83rZEWWONfqe/EW1ntlMMUu4kehDLI6z +eM7b41N5cdblIZQB2lWHmiRk9opmzN6cN82oNLFpmyPInngiK3BD41VHMWEZ71jF +hS9OMPagMRYjyOfiZRYzy78aG6A9+MpeizGLYAiJLQwGXFK3xPkKmNEVX58Svnw2 +Yzi9RKR/5CYrCsSXaQ3pjOLAEFe4yHYSkVXySGnYvCoCWw9E1CAx2/S6cCZdkGCe +vEsXCS+0yx5DaMkHJ8HSXPfqIbloEpw8nL+e/IBcm2PN7EeqJSdnoDfzAIJ9VNep ++OkuE6N36B9K +-----END CERTIFICATE----- + +# Issuer: CN=GeoTrust Primary Certification Authority O=GeoTrust Inc. +# Subject: CN=GeoTrust Primary Certification Authority O=GeoTrust Inc. +# Label: "GeoTrust Primary Certification Authority" +# Serial: 32798226551256963324313806436981982369 +# MD5 Fingerprint: 02:26:c3:01:5e:08:30:37:43:a9:d0:7d:cf:37:e6:bf +# SHA1 Fingerprint: 32:3c:11:8e:1b:f7:b8:b6:52:54:e2:e2:10:0d:d6:02:90:37:f0:96 +# SHA256 Fingerprint: 37:d5:10:06:c5:12:ea:ab:62:64:21:f1:ec:8c:92:01:3f:c5:f8:2a:e9:8e:e5:33:eb:46:19:b8:de:b4:d0:6c +-----BEGIN CERTIFICATE----- +MIIDfDCCAmSgAwIBAgIQGKy1av1pthU6Y2yv2vrEoTANBgkqhkiG9w0BAQUFADBY +MQswCQYDVQQGEwJVUzEWMBQGA1UEChMNR2VvVHJ1c3QgSW5jLjExMC8GA1UEAxMo +R2VvVHJ1c3QgUHJpbWFyeSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0wNjEx +MjcwMDAwMDBaFw0zNjA3MTYyMzU5NTlaMFgxCzAJBgNVBAYTAlVTMRYwFAYDVQQK +Ew1HZW9UcnVzdCBJbmMuMTEwLwYDVQQDEyhHZW9UcnVzdCBQcmltYXJ5IENlcnRp +ZmljYXRpb24gQXV0aG9yaXR5MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC +AQEAvrgVe//UfH1nrYNke8hCUy3f9oQIIGHWAVlqnEQRr+92/ZV+zmEwu3qDXwK9 +AWbK7hWNb6EwnL2hhZ6UOvNWiAAxz9juapYC2e0DjPt1befquFUWBRaa9OBesYjA +ZIVcFU2Ix7e64HXprQU9nceJSOC7KMgD4TCTZF5SwFlwIjVXiIrxlQqD17wxcwE0 +7e9GceBrAqg1cmuXm2bgyxx5X9gaBGgeRwLmnWDiNpcB3841kt++Z8dtd1k7j53W +kBWUvEI0EME5+bEnPn7WinXFsq+W06Lem+SYvn3h6YGttm/81w7a4DSwDRp35+MI +mO9Y+pyEtzavwt+s0vQQBnBxNQIDAQABo0IwQDAPBgNVHRMBAf8EBTADAQH/MA4G +A1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQULNVQQZcVi/CPNmFbSvtr2ZnJM5IwDQYJ +KoZIhvcNAQEFBQADggEBAFpwfyzdtzRP9YZRqSa+S7iq8XEN3GHHoOo0Hnp3DwQ1 +6CePbJC/kRYkRj5KTs4rFtULUh38H2eiAkUxT87z+gOneZ1TatnaYzr4gNfTmeGl +4b7UVXGYNTq+k+qurUKykG/g/CFNNWMziUnWm07Kx+dOCQD32sfvmWKZd7aVIl6K +oKv0uHiYyjgZmclynnjNS6yvGaBzEi38wkG6gZHaFloxt/m0cYASSJlyc1pZU8Fj +UjPtp8nSOQJw+uCxQmYpqptR7TBUIhRf2asdweSU8Pj1K/fqynhG1riR/aYNKxoU +AT6A8EKglQdebc3MS6RFjasS6LPeWuWgfOgPIh1a6Vk= +-----END CERTIFICATE----- + +# Issuer: CN=thawte Primary Root CA O=thawte, Inc. OU=Certification Services Division/(c) 2006 thawte, Inc. - For authorized use only +# Subject: CN=thawte Primary Root CA O=thawte, Inc. OU=Certification Services Division/(c) 2006 thawte, Inc. - For authorized use only +# Label: "thawte Primary Root CA" +# Serial: 69529181992039203566298953787712940909 +# MD5 Fingerprint: 8c:ca:dc:0b:22:ce:f5:be:72:ac:41:1a:11:a8:d8:12 +# SHA1 Fingerprint: 91:c6:d6:ee:3e:8a:c8:63:84:e5:48:c2:99:29:5c:75:6c:81:7b:81 +# SHA256 Fingerprint: 8d:72:2f:81:a9:c1:13:c0:79:1d:f1:36:a2:96:6d:b2:6c:95:0a:97:1d:b4:6b:41:99:f4:ea:54:b7:8b:fb:9f +-----BEGIN CERTIFICATE----- +MIIEIDCCAwigAwIBAgIQNE7VVyDV7exJ9C/ON9srbTANBgkqhkiG9w0BAQUFADCB +qTELMAkGA1UEBhMCVVMxFTATBgNVBAoTDHRoYXd0ZSwgSW5jLjEoMCYGA1UECxMf +Q2VydGlmaWNhdGlvbiBTZXJ2aWNlcyBEaXZpc2lvbjE4MDYGA1UECxMvKGMpIDIw +MDYgdGhhd3RlLCBJbmMuIC0gRm9yIGF1dGhvcml6ZWQgdXNlIG9ubHkxHzAdBgNV +BAMTFnRoYXd0ZSBQcmltYXJ5IFJvb3QgQ0EwHhcNMDYxMTE3MDAwMDAwWhcNMzYw +NzE2MjM1OTU5WjCBqTELMAkGA1UEBhMCVVMxFTATBgNVBAoTDHRoYXd0ZSwgSW5j +LjEoMCYGA1UECxMfQ2VydGlmaWNhdGlvbiBTZXJ2aWNlcyBEaXZpc2lvbjE4MDYG +A1UECxMvKGMpIDIwMDYgdGhhd3RlLCBJbmMuIC0gRm9yIGF1dGhvcml6ZWQgdXNl +IG9ubHkxHzAdBgNVBAMTFnRoYXd0ZSBQcmltYXJ5IFJvb3QgQ0EwggEiMA0GCSqG +SIb3DQEBAQUAA4IBDwAwggEKAoIBAQCsoPD7gFnUnMekz52hWXMJEEUMDSxuaPFs +W0hoSVk3/AszGcJ3f8wQLZU0HObrTQmnHNK4yZc2AreJ1CRfBsDMRJSUjQJib+ta +3RGNKJpchJAQeg29dGYvajig4tVUROsdB58Hum/u6f1OCyn1PoSgAfGcq/gcfomk +6KHYcWUNo1F77rzSImANuVud37r8UVsLr5iy6S7pBOhih94ryNdOwUxkHt3Ph1i6 +Sk/KaAcdHJ1KxtUvkcx8cXIcxcBn6zL9yZJclNqFwJu/U30rCfSMnZEfl2pSy94J +NqR32HuHUETVPm4pafs5SSYeCaWAe0At6+gnhcn+Yf1+5nyXHdWdAgMBAAGjQjBA +MA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBR7W0XP +r87Lev0xkhpqtvNG61dIUDANBgkqhkiG9w0BAQUFAAOCAQEAeRHAS7ORtvzw6WfU +DW5FvlXok9LOAz/t2iWwHVfLHjp2oEzsUHboZHIMpKnxuIvW1oeEuzLlQRHAd9mz +YJ3rG9XRbkREqaYB7FViHXe4XI5ISXycO1cRrK1zN44veFyQaEfZYGDm/Ac9IiAX +xPcW6cTYcvnIc3zfFi8VqT79aie2oetaupgf1eNNZAqdE8hhuvU5HIe6uL17In/2 +/qxAeeWsEG89jxt5dovEN7MhGITlNgDrYyCZuen+MwS7QcjBAvlEYyCegc5C09Y/ +LHbTY5xZ3Y+m4Q6gLkH3LpVHz7z9M/P2C2F+fpErgUfCJzDupxBdN49cOSvkBPB7 +jVaMaA== +-----END CERTIFICATE----- + +# Issuer: CN=VeriSign Class 3 Public Primary Certification Authority - G5 O=VeriSign, Inc. OU=VeriSign Trust Network/(c) 2006 VeriSign, Inc. - For authorized use only +# Subject: CN=VeriSign Class 3 Public Primary Certification Authority - G5 O=VeriSign, Inc. OU=VeriSign Trust Network/(c) 2006 VeriSign, Inc. - For authorized use only +# Label: "VeriSign Class 3 Public Primary Certification Authority - G5" +# Serial: 33037644167568058970164719475676101450 +# MD5 Fingerprint: cb:17:e4:31:67:3e:e2:09:fe:45:57:93:f3:0a:fa:1c +# SHA1 Fingerprint: 4e:b6:d5:78:49:9b:1c:cf:5f:58:1e:ad:56:be:3d:9b:67:44:a5:e5 +# SHA256 Fingerprint: 9a:cf:ab:7e:43:c8:d8:80:d0:6b:26:2a:94:de:ee:e4:b4:65:99:89:c3:d0:ca:f1:9b:af:64:05:e4:1a:b7:df +-----BEGIN CERTIFICATE----- +MIIE0zCCA7ugAwIBAgIQGNrRniZ96LtKIVjNzGs7SjANBgkqhkiG9w0BAQUFADCB +yjELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQL +ExZWZXJpU2lnbiBUcnVzdCBOZXR3b3JrMTowOAYDVQQLEzEoYykgMjAwNiBWZXJp +U2lnbiwgSW5jLiAtIEZvciBhdXRob3JpemVkIHVzZSBvbmx5MUUwQwYDVQQDEzxW +ZXJpU2lnbiBDbGFzcyAzIFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0 +aG9yaXR5IC0gRzUwHhcNMDYxMTA4MDAwMDAwWhcNMzYwNzE2MjM1OTU5WjCByjEL +MAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQLExZW +ZXJpU2lnbiBUcnVzdCBOZXR3b3JrMTowOAYDVQQLEzEoYykgMjAwNiBWZXJpU2ln +biwgSW5jLiAtIEZvciBhdXRob3JpemVkIHVzZSBvbmx5MUUwQwYDVQQDEzxWZXJp +U2lnbiBDbGFzcyAzIFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0aG9y +aXR5IC0gRzUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCvJAgIKXo1 +nmAMqudLO07cfLw8RRy7K+D+KQL5VwijZIUVJ/XxrcgxiV0i6CqqpkKzj/i5Vbex +t0uz/o9+B1fs70PbZmIVYc9gDaTY3vjgw2IIPVQT60nKWVSFJuUrjxuf6/WhkcIz +SdhDY2pSS9KP6HBRTdGJaXvHcPaz3BJ023tdS1bTlr8Vd6Gw9KIl8q8ckmcY5fQG +BO+QueQA5N06tRn/Arr0PO7gi+s3i+z016zy9vA9r911kTMZHRxAy3QkGSGT2RT+ +rCpSx4/VBEnkjWNHiDxpg8v+R70rfk/Fla4OndTRQ8Bnc+MUCH7lP59zuDMKz10/ +NIeWiu5T6CUVAgMBAAGjgbIwga8wDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8E +BAMCAQYwbQYIKwYBBQUHAQwEYTBfoV2gWzBZMFcwVRYJaW1hZ2UvZ2lmMCEwHzAH +BgUrDgMCGgQUj+XTGoasjY5rw8+AatRIGCx7GS4wJRYjaHR0cDovL2xvZ28udmVy +aXNpZ24uY29tL3ZzbG9nby5naWYwHQYDVR0OBBYEFH/TZafC3ey78DAJ80M5+gKv +MzEzMA0GCSqGSIb3DQEBBQUAA4IBAQCTJEowX2LP2BqYLz3q3JktvXf2pXkiOOzE +p6B4Eq1iDkVwZMXnl2YtmAl+X6/WzChl8gGqCBpH3vn5fJJaCGkgDdk+bW48DW7Y +5gaRQBi5+MHt39tBquCWIMnNZBU4gcmU7qKEKQsTb47bDN0lAtukixlE0kF6BWlK +WE9gyn6CagsCqiUXObXbf+eEZSqVir2G3l6BFoMtEMze/aiCKm0oHw0LxOXnGiYZ +4fQRbxC1lfznQgUy286dUV4otp6F01vvpX1FQHKOtw5rDgb7MzVIcbidJ4vEZV8N +hnacRHr2lVz2XTIIM6RUthg/aFzyQkqFOFSDX9HoLPKsEdao7WNq +-----END CERTIFICATE----- + +# Issuer: CN=COMODO Certification Authority O=COMODO CA Limited +# Subject: CN=COMODO Certification Authority O=COMODO CA Limited +# Label: "COMODO Certification Authority" +# Serial: 104350513648249232941998508985834464573 +# MD5 Fingerprint: 5c:48:dc:f7:42:72:ec:56:94:6d:1c:cc:71:35:80:75 +# SHA1 Fingerprint: 66:31:bf:9e:f7:4f:9e:b6:c9:d5:a6:0c:ba:6a:be:d1:f7:bd:ef:7b +# SHA256 Fingerprint: 0c:2c:d6:3d:f7:80:6f:a3:99:ed:e8:09:11:6b:57:5b:f8:79:89:f0:65:18:f9:80:8c:86:05:03:17:8b:af:66 +-----BEGIN CERTIFICATE----- +MIIEHTCCAwWgAwIBAgIQToEtioJl4AsC7j41AkblPTANBgkqhkiG9w0BAQUFADCB +gTELMAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4G +A1UEBxMHU2FsZm9yZDEaMBgGA1UEChMRQ09NT0RPIENBIExpbWl0ZWQxJzAlBgNV +BAMTHkNPTU9ETyBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0wNjEyMDEwMDAw +MDBaFw0yOTEyMzEyMzU5NTlaMIGBMQswCQYDVQQGEwJHQjEbMBkGA1UECBMSR3Jl +YXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHEwdTYWxmb3JkMRowGAYDVQQKExFDT01P +RE8gQ0EgTGltaXRlZDEnMCUGA1UEAxMeQ09NT0RPIENlcnRpZmljYXRpb24gQXV0 +aG9yaXR5MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0ECLi3LjkRv3 +UcEbVASY06m/weaKXTuH+7uIzg3jLz8GlvCiKVCZrts7oVewdFFxze1CkU1B/qnI +2GqGd0S7WWaXUF601CxwRM/aN5VCaTwwxHGzUvAhTaHYujl8HJ6jJJ3ygxaYqhZ8 +Q5sVW7euNJH+1GImGEaaP+vB+fGQV+useg2L23IwambV4EajcNxo2f8ESIl33rXp ++2dtQem8Ob0y2WIC8bGoPW43nOIv4tOiJovGuFVDiOEjPqXSJDlqR6sA1KGzqSX+ +DT+nHbrTUcELpNqsOO9VUCQFZUaTNE8tja3G1CEZ0o7KBWFxB3NH5YoZEr0ETc5O +nKVIrLsm9wIDAQABo4GOMIGLMB0GA1UdDgQWBBQLWOWLxkwVN6RAqTCpIb5HNlpW +/zAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zBJBgNVHR8EQjBAMD6g +PKA6hjhodHRwOi8vY3JsLmNvbW9kb2NhLmNvbS9DT01PRE9DZXJ0aWZpY2F0aW9u +QXV0aG9yaXR5LmNybDANBgkqhkiG9w0BAQUFAAOCAQEAPpiem/Yb6dc5t3iuHXIY +SdOH5EOC6z/JqvWote9VfCFSZfnVDeFs9D6Mk3ORLgLETgdxb8CPOGEIqB6BCsAv +IC9Bi5HcSEW88cbeunZrM8gALTFGTO3nnc+IlP8zwFboJIYmuNg4ON8qa90SzMc/ +RxdMosIGlgnW2/4/PEZB31jiVg88O8EckzXZOFKs7sjsLjBOlDW0JB9LeGna8gI4 +zJVSk/BwJVmcIGfE7vmLV2H0knZ9P4SNVbfo5azV8fUZVqZa+5Acr5Pr5RzUZ5dd +BA6+C4OmF4O5MBKgxTMVBbkN+8cFduPYSo38NBejxiEovjBFMR7HeL5YYTisO+IB +ZQ== +-----END CERTIFICATE----- + +# Issuer: CN=Network Solutions Certificate Authority O=Network Solutions L.L.C. +# Subject: CN=Network Solutions Certificate Authority O=Network Solutions L.L.C. +# Label: "Network Solutions Certificate Authority" +# Serial: 116697915152937497490437556386812487904 +# MD5 Fingerprint: d3:f3:a6:16:c0:fa:6b:1d:59:b1:2d:96:4d:0e:11:2e +# SHA1 Fingerprint: 74:f8:a3:c3:ef:e7:b3:90:06:4b:83:90:3c:21:64:60:20:e5:df:ce +# SHA256 Fingerprint: 15:f0:ba:00:a3:ac:7a:f3:ac:88:4c:07:2b:10:11:a0:77:bd:77:c0:97:f4:01:64:b2:f8:59:8a:bd:83:86:0c +-----BEGIN CERTIFICATE----- +MIID5jCCAs6gAwIBAgIQV8szb8JcFuZHFhfjkDFo4DANBgkqhkiG9w0BAQUFADBi +MQswCQYDVQQGEwJVUzEhMB8GA1UEChMYTmV0d29yayBTb2x1dGlvbnMgTC5MLkMu +MTAwLgYDVQQDEydOZXR3b3JrIFNvbHV0aW9ucyBDZXJ0aWZpY2F0ZSBBdXRob3Jp +dHkwHhcNMDYxMjAxMDAwMDAwWhcNMjkxMjMxMjM1OTU5WjBiMQswCQYDVQQGEwJV +UzEhMB8GA1UEChMYTmV0d29yayBTb2x1dGlvbnMgTC5MLkMuMTAwLgYDVQQDEydO +ZXR3b3JrIFNvbHV0aW9ucyBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkwggEiMA0GCSqG +SIb3DQEBAQUAA4IBDwAwggEKAoIBAQDkvH6SMG3G2I4rC7xGzuAnlt7e+foS0zwz +c7MEL7xxjOWftiJgPl9dzgn/ggwbmlFQGiaJ3dVhXRncEg8tCqJDXRfQNJIg6nPP +OCwGJgl6cvf6UDL4wpPTaaIjzkGxzOTVHzbRijr4jGPiFFlp7Q3Tf2vouAPlT2rl +mGNpSAW+Lv8ztumXWWn4Zxmuk2GWRBXTcrA/vGp97Eh/jcOrqnErU2lBUzS1sLnF +BgrEsEX1QV1uiUV7PTsmjHTC5dLRfbIR1PtYMiKagMnc/Qzpf14Dl847ABSHJ3A4 +qY5usyd2mFHgBeMhqxrVhSI8KbWaFsWAqPS7azCPL0YCorEMIuDTAgMBAAGjgZcw +gZQwHQYDVR0OBBYEFCEwyfsA106Y2oeqKtCnLrFAMadMMA4GA1UdDwEB/wQEAwIB +BjAPBgNVHRMBAf8EBTADAQH/MFIGA1UdHwRLMEkwR6BFoEOGQWh0dHA6Ly9jcmwu +bmV0c29sc3NsLmNvbS9OZXR3b3JrU29sdXRpb25zQ2VydGlmaWNhdGVBdXRob3Jp +dHkuY3JsMA0GCSqGSIb3DQEBBQUAA4IBAQC7rkvnt1frf6ott3NHhWrB5KUd5Oc8 +6fRZZXe1eltajSU24HqXLjjAV2CDmAaDn7l2em5Q4LqILPxFzBiwmZVRDuwduIj/ +h1AcgsLj4DKAv6ALR8jDMe+ZZzKATxcheQxpXN5eNK4CtSbqUN9/GGUsyfJj4akH +/nxxH2szJGoeBfcFaMBqEssuXmHLrijTfsK0ZpEmXzwuJF/LWA/rKOyvEZbz3Htv +wKeI8lN3s2Berq4o2jUsbzRF0ybh3uxbTydrFny9RAQYgrOJeRcQcT16ohZO9QHN +pGxlaKFJdlxDydi8NmdspZS11My5vWo1ViHe2MPr+8ukYEywVaCge1ey +-----END CERTIFICATE----- + +# Issuer: CN=COMODO ECC Certification Authority O=COMODO CA Limited +# Subject: CN=COMODO ECC Certification Authority O=COMODO CA Limited +# Label: "COMODO ECC Certification Authority" +# Serial: 41578283867086692638256921589707938090 +# MD5 Fingerprint: 7c:62:ff:74:9d:31:53:5e:68:4a:d5:78:aa:1e:bf:23 +# SHA1 Fingerprint: 9f:74:4e:9f:2b:4d:ba:ec:0f:31:2c:50:b6:56:3b:8e:2d:93:c3:11 +# SHA256 Fingerprint: 17:93:92:7a:06:14:54:97:89:ad:ce:2f:8f:34:f7:f0:b6:6d:0f:3a:e3:a3:b8:4d:21:ec:15:db:ba:4f:ad:c7 +-----BEGIN CERTIFICATE----- +MIICiTCCAg+gAwIBAgIQH0evqmIAcFBUTAGem2OZKjAKBggqhkjOPQQDAzCBhTEL +MAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UE +BxMHU2FsZm9yZDEaMBgGA1UEChMRQ09NT0RPIENBIExpbWl0ZWQxKzApBgNVBAMT +IkNPTU9ETyBFQ0MgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMDgwMzA2MDAw +MDAwWhcNMzgwMTE4MjM1OTU5WjCBhTELMAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdy +ZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEaMBgGA1UEChMRQ09N +T0RPIENBIExpbWl0ZWQxKzApBgNVBAMTIkNPTU9ETyBFQ0MgQ2VydGlmaWNhdGlv +biBBdXRob3JpdHkwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAAQDR3svdcmCFYX7deSR +FtSrYpn1PlILBs5BAH+X4QokPB0BBO490o0JlwzgdeT6+3eKKvUDYEs2ixYjFq0J +cfRK9ChQtP6IHG4/bC8vCVlbpVsLM5niwz2J+Wos77LTBumjQjBAMB0GA1UdDgQW +BBR1cacZSBm8nZ3qQUfflMRId5nTeTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/ +BAUwAwEB/zAKBggqhkjOPQQDAwNoADBlAjEA7wNbeqy3eApyt4jf/7VGFAkK+qDm +fQjGGoe9GKhzvSbKYAydzpmfz1wPMOG+FDHqAjAU9JM8SaczepBGR7NjfRObTrdv +GDeAU/7dIOA1mjbRxwG55tzd8/8dLDoWV9mSOdY= +-----END CERTIFICATE----- + +# Issuer: CN=TC TrustCenter Class 2 CA II O=TC TrustCenter GmbH OU=TC TrustCenter Class 2 CA +# Subject: CN=TC TrustCenter Class 2 CA II O=TC TrustCenter GmbH OU=TC TrustCenter Class 2 CA +# Label: "TC TrustCenter Class 2 CA II" +# Serial: 941389028203453866782103406992443 +# MD5 Fingerprint: ce:78:33:5c:59:78:01:6e:18:ea:b9:36:a0:b9:2e:23 +# SHA1 Fingerprint: ae:50:83:ed:7c:f4:5c:bc:8f:61:c6:21:fe:68:5d:79:42:21:15:6e +# SHA256 Fingerprint: e6:b8:f8:76:64:85:f8:07:ae:7f:8d:ac:16:70:46:1f:07:c0:a1:3e:ef:3a:1f:f7:17:53:8d:7a:ba:d3:91:b4 +-----BEGIN CERTIFICATE----- +MIIEqjCCA5KgAwIBAgIOLmoAAQACH9dSISwRXDswDQYJKoZIhvcNAQEFBQAwdjEL +MAkGA1UEBhMCREUxHDAaBgNVBAoTE1RDIFRydXN0Q2VudGVyIEdtYkgxIjAgBgNV +BAsTGVRDIFRydXN0Q2VudGVyIENsYXNzIDIgQ0ExJTAjBgNVBAMTHFRDIFRydXN0 +Q2VudGVyIENsYXNzIDIgQ0EgSUkwHhcNMDYwMTEyMTQzODQzWhcNMjUxMjMxMjI1 +OTU5WjB2MQswCQYDVQQGEwJERTEcMBoGA1UEChMTVEMgVHJ1c3RDZW50ZXIgR21i +SDEiMCAGA1UECxMZVEMgVHJ1c3RDZW50ZXIgQ2xhc3MgMiBDQTElMCMGA1UEAxMc +VEMgVHJ1c3RDZW50ZXIgQ2xhc3MgMiBDQSBJSTCCASIwDQYJKoZIhvcNAQEBBQAD +ggEPADCCAQoCggEBAKuAh5uO8MN8h9foJIIRszzdQ2Lu+MNF2ujhoF/RKrLqk2jf +tMjWQ+nEdVl//OEd+DFwIxuInie5e/060smp6RQvkL4DUsFJzfb95AhmC1eKokKg +uNV/aVyQMrKXDcpK3EY+AlWJU+MaWss2xgdW94zPEfRMuzBwBJWl9jmM/XOBCH2J +XjIeIqkiRUuwZi4wzJ9l/fzLganx4Duvo4bRierERXlQXa7pIXSSTYtZgo+U4+lK +8edJsBTj9WLL1XK9H7nSn6DNqPoByNkN39r8R52zyFTfSUrxIan+GE7uSNQZu+99 +5OKdy1u2bv/jzVrndIIFuoAlOMvkaZ6vQaoahPUCAwEAAaOCATQwggEwMA8GA1Ud +EwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBTjq1RMgKHbVkO3 +kUrL84J6E1wIqzCB7QYDVR0fBIHlMIHiMIHfoIHcoIHZhjVodHRwOi8vd3d3LnRy +dXN0Y2VudGVyLmRlL2NybC92Mi90Y19jbGFzc18yX2NhX0lJLmNybIaBn2xkYXA6 +Ly93d3cudHJ1c3RjZW50ZXIuZGUvQ049VEMlMjBUcnVzdENlbnRlciUyMENsYXNz +JTIwMiUyMENBJTIwSUksTz1UQyUyMFRydXN0Q2VudGVyJTIwR21iSCxPVT1yb290 +Y2VydHMsREM9dHJ1c3RjZW50ZXIsREM9ZGU/Y2VydGlmaWNhdGVSZXZvY2F0aW9u +TGlzdD9iYXNlPzANBgkqhkiG9w0BAQUFAAOCAQEAjNfffu4bgBCzg/XbEeprS6iS +GNn3Bzn1LL4GdXpoUxUc6krtXvwjshOg0wn/9vYua0Fxec3ibf2uWWuFHbhOIprt +ZjluS5TmVfwLG4t3wVMTZonZKNaL80VKY7f9ewthXbhtvsPcW3nS7Yblok2+XnR8 +au0WOB9/WIFaGusyiC2y8zl3gK9etmF1KdsjTYjKUCjLhdLTEKJZbtOTVAB6okaV +hgWcqRmY5TFyDADiZ9lA4CQze28suVyrZZ0srHbqNZn1l7kPJOzHdiEoZa5X6AeI +dUpWoNIFOqTmjZKILPPy4cHGYdtBxceb9w4aUUXCYWvcZCcXjFq32nQozZfkvQ== +-----END CERTIFICATE----- + +# Issuer: CN=TC TrustCenter Class 3 CA II O=TC TrustCenter GmbH OU=TC TrustCenter Class 3 CA +# Subject: CN=TC TrustCenter Class 3 CA II O=TC TrustCenter GmbH OU=TC TrustCenter Class 3 CA +# Label: "TC TrustCenter Class 3 CA II" +# Serial: 1506523511417715638772220530020799 +# MD5 Fingerprint: 56:5f:aa:80:61:12:17:f6:67:21:e6:2b:6d:61:56:8e +# SHA1 Fingerprint: 80:25:ef:f4:6e:70:c8:d4:72:24:65:84:fe:40:3b:8a:8d:6a:db:f5 +# SHA256 Fingerprint: 8d:a0:84:fc:f9:9c:e0:77:22:f8:9b:32:05:93:98:06:fa:5c:b8:11:e1:c8:13:f6:a1:08:c7:d3:36:b3:40:8e +-----BEGIN CERTIFICATE----- +MIIEqjCCA5KgAwIBAgIOSkcAAQAC5aBd1j8AUb8wDQYJKoZIhvcNAQEFBQAwdjEL +MAkGA1UEBhMCREUxHDAaBgNVBAoTE1RDIFRydXN0Q2VudGVyIEdtYkgxIjAgBgNV +BAsTGVRDIFRydXN0Q2VudGVyIENsYXNzIDMgQ0ExJTAjBgNVBAMTHFRDIFRydXN0 +Q2VudGVyIENsYXNzIDMgQ0EgSUkwHhcNMDYwMTEyMTQ0MTU3WhcNMjUxMjMxMjI1 +OTU5WjB2MQswCQYDVQQGEwJERTEcMBoGA1UEChMTVEMgVHJ1c3RDZW50ZXIgR21i +SDEiMCAGA1UECxMZVEMgVHJ1c3RDZW50ZXIgQ2xhc3MgMyBDQTElMCMGA1UEAxMc +VEMgVHJ1c3RDZW50ZXIgQ2xhc3MgMyBDQSBJSTCCASIwDQYJKoZIhvcNAQEBBQAD +ggEPADCCAQoCggEBALTgu1G7OVyLBMVMeRwjhjEQY0NVJz/GRcekPewJDRoeIMJW +Ht4bNwcwIi9v8Qbxq63WyKthoy9DxLCyLfzDlml7forkzMA5EpBCYMnMNWju2l+Q +Vl/NHE1bWEnrDgFPZPosPIlY2C8u4rBo6SI7dYnWRBpl8huXJh0obazovVkdKyT2 +1oQDZogkAHhg8fir/gKya/si+zXmFtGt9i4S5Po1auUZuV3bOx4a+9P/FRQI2Alq +ukWdFHlgfa9Aigdzs5OW03Q0jTo3Kd5c7PXuLjHCINy+8U9/I1LZW+Jk2ZyqBwi1 +Rb3R0DHBq1SfqdLDYmAD8bs5SpJKPQq5ncWg/jcCAwEAAaOCATQwggEwMA8GA1Ud +EwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBTUovyfs8PYA9NX +XAek0CSnwPIA1DCB7QYDVR0fBIHlMIHiMIHfoIHcoIHZhjVodHRwOi8vd3d3LnRy +dXN0Y2VudGVyLmRlL2NybC92Mi90Y19jbGFzc18zX2NhX0lJLmNybIaBn2xkYXA6 +Ly93d3cudHJ1c3RjZW50ZXIuZGUvQ049VEMlMjBUcnVzdENlbnRlciUyMENsYXNz +JTIwMyUyMENBJTIwSUksTz1UQyUyMFRydXN0Q2VudGVyJTIwR21iSCxPVT1yb290 +Y2VydHMsREM9dHJ1c3RjZW50ZXIsREM9ZGU/Y2VydGlmaWNhdGVSZXZvY2F0aW9u +TGlzdD9iYXNlPzANBgkqhkiG9w0BAQUFAAOCAQEANmDkcPcGIEPZIxpC8vijsrlN +irTzwppVMXzEO2eatN9NDoqTSheLG43KieHPOh6sHfGcMrSOWXaiQYUlN6AT0PV8 +TtXqluJucsG7Kv5sbviRmEb8yRtXW+rIGjs/sFGYPAfaLFkB2otE6OF0/ado3VS6 +g0bsyEa1+K+XwDsJHI/OcpY9M1ZwvJbL2NV9IJqDnxrcOfHFcqMRA/07QlIp2+gB +95tejNaNhk4Z+rwcvsUhpYeeeC422wlxo3I0+GzjBgnyXlal092Y+tTmBvTwtiBj +S+opvaqCZh77gaqnN60TGOaSw4HBM7uIHqHn4rS9MWwOUT1v+5ZWgOI2F9Hc5A== +-----END CERTIFICATE----- + +# Issuer: CN=TC TrustCenter Universal CA I O=TC TrustCenter GmbH OU=TC TrustCenter Universal CA +# Subject: CN=TC TrustCenter Universal CA I O=TC TrustCenter GmbH OU=TC TrustCenter Universal CA +# Label: "TC TrustCenter Universal CA I" +# Serial: 601024842042189035295619584734726 +# MD5 Fingerprint: 45:e1:a5:72:c5:a9:36:64:40:9e:f5:e4:58:84:67:8c +# SHA1 Fingerprint: 6b:2f:34:ad:89:58:be:62:fd:b0:6b:5c:ce:bb:9d:d9:4f:4e:39:f3 +# SHA256 Fingerprint: eb:f3:c0:2a:87:89:b1:fb:7d:51:19:95:d6:63:b7:29:06:d9:13:ce:0d:5e:10:56:8a:8a:77:e2:58:61:67:e7 +-----BEGIN CERTIFICATE----- +MIID3TCCAsWgAwIBAgIOHaIAAQAC7LdggHiNtgYwDQYJKoZIhvcNAQEFBQAweTEL +MAkGA1UEBhMCREUxHDAaBgNVBAoTE1RDIFRydXN0Q2VudGVyIEdtYkgxJDAiBgNV +BAsTG1RDIFRydXN0Q2VudGVyIFVuaXZlcnNhbCBDQTEmMCQGA1UEAxMdVEMgVHJ1 +c3RDZW50ZXIgVW5pdmVyc2FsIENBIEkwHhcNMDYwMzIyMTU1NDI4WhcNMjUxMjMx +MjI1OTU5WjB5MQswCQYDVQQGEwJERTEcMBoGA1UEChMTVEMgVHJ1c3RDZW50ZXIg +R21iSDEkMCIGA1UECxMbVEMgVHJ1c3RDZW50ZXIgVW5pdmVyc2FsIENBMSYwJAYD +VQQDEx1UQyBUcnVzdENlbnRlciBVbml2ZXJzYWwgQ0EgSTCCASIwDQYJKoZIhvcN +AQEBBQADggEPADCCAQoCggEBAKR3I5ZEr5D0MacQ9CaHnPM42Q9e3s9B6DGtxnSR +JJZ4Hgmgm5qVSkr1YnwCqMqs+1oEdjneX/H5s7/zA1hV0qq34wQi0fiU2iIIAI3T +fCZdzHd55yx4Oagmcw6iXSVphU9VDprvxrlE4Vc93x9UIuVvZaozhDrzznq+VZeu +jRIPFDPiUHDDSYcTvFHe15gSWu86gzOSBnWLknwSaHtwag+1m7Z3W0hZneTvWq3z +wZ7U10VOylY0Ibw+F1tvdwxIAUMpsN0/lm7mlaoMwCC2/T42J5zjXM9OgdwZu5GQ +fezmlwQek8wiSdeXhrYTCjxDI3d+8NzmzSQfO4ObNDqDNOMCAwEAAaNjMGEwHwYD +VR0jBBgwFoAUkqR1LKSevoFE63n8isWVpesQdXMwDwYDVR0TAQH/BAUwAwEB/zAO +BgNVHQ8BAf8EBAMCAYYwHQYDVR0OBBYEFJKkdSyknr6BROt5/IrFlaXrEHVzMA0G +CSqGSIb3DQEBBQUAA4IBAQAo0uCG1eb4e/CX3CJrO5UUVg8RMKWaTzqwOuAGy2X1 +7caXJ/4l8lfmXpWMPmRgFVp/Lw0BxbFg/UU1z/CyvwbZ71q+s2IhtNerNXxTPqYn +8aEt2hojnczd7Dwtnic0XQ/CNnm8yUpiLe1r2X1BQ3y2qsrtYbE3ghUJGooWMNjs +ydZHcnhLEEYUjl8Or+zHL6sQ17bxbuyGssLoDZJz3KL0Dzq/YSMQiZxIQG5wALPT +ujdEWBF6AmqI8Dc08BnprNRlc/ZpjGSUOnmFKbAWKwyCPwacx/0QK54PLLae4xW/ +2TYcuiUaUj0a7CIMHOCkoj3w6DnPgcB77V0fb8XQC9eY +-----END CERTIFICATE----- + +# Issuer: CN=Cybertrust Global Root O=Cybertrust, Inc +# Subject: CN=Cybertrust Global Root O=Cybertrust, Inc +# Label: "Cybertrust Global Root" +# Serial: 4835703278459682877484360 +# MD5 Fingerprint: 72:e4:4a:87:e3:69:40:80:77:ea:bc:e3:f4:ff:f0:e1 +# SHA1 Fingerprint: 5f:43:e5:b1:bf:f8:78:8c:ac:1c:c7:ca:4a:9a:c6:22:2b:cc:34:c6 +# SHA256 Fingerprint: 96:0a:df:00:63:e9:63:56:75:0c:29:65:dd:0a:08:67:da:0b:9c:bd:6e:77:71:4a:ea:fb:23:49:ab:39:3d:a3 +-----BEGIN CERTIFICATE----- +MIIDoTCCAomgAwIBAgILBAAAAAABD4WqLUgwDQYJKoZIhvcNAQEFBQAwOzEYMBYG +A1UEChMPQ3liZXJ0cnVzdCwgSW5jMR8wHQYDVQQDExZDeWJlcnRydXN0IEdsb2Jh +bCBSb290MB4XDTA2MTIxNTA4MDAwMFoXDTIxMTIxNTA4MDAwMFowOzEYMBYGA1UE +ChMPQ3liZXJ0cnVzdCwgSW5jMR8wHQYDVQQDExZDeWJlcnRydXN0IEdsb2JhbCBS +b290MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA+Mi8vRRQZhP/8NN5 +7CPytxrHjoXxEnOmGaoQ25yiZXRadz5RfVb23CO21O1fWLE3TdVJDm71aofW0ozS +J8bi/zafmGWgE07GKmSb1ZASzxQG9Dvj1Ci+6A74q05IlG2OlTEQXO2iLb3VOm2y +HLtgwEZLAfVJrn5GitB0jaEMAs7u/OePuGtm839EAL9mJRQr3RAwHQeWP032a7iP +t3sMpTjr3kfb1V05/Iin89cqdPHoWqI7n1C6poxFNcJQZZXcY4Lv3b93TZxiyWNz +FtApD0mpSPCzqrdsxacwOUBdrsTiXSZT8M4cIwhhqJQZugRiQOwfOHB3EgZxpzAY +XSUnpQIDAQABo4GlMIGiMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/ +MB0GA1UdDgQWBBS2CHsNesysIEyGVjJez6tuhS1wVzA/BgNVHR8EODA2MDSgMqAw +hi5odHRwOi8vd3d3Mi5wdWJsaWMtdHJ1c3QuY29tL2NybC9jdC9jdHJvb3QuY3Js +MB8GA1UdIwQYMBaAFLYIew16zKwgTIZWMl7Pq26FLXBXMA0GCSqGSIb3DQEBBQUA +A4IBAQBW7wojoFROlZfJ+InaRcHUowAl9B8Tq7ejhVhpwjCt2BWKLePJzYFa+HMj +Wqd8BfP9IjsO0QbE2zZMcwSO5bAi5MXzLqXZI+O4Tkogp24CJJ8iYGd7ix1yCcUx +XOl5n4BHPa2hCwcUPUf/A2kaDAtE52Mlp3+yybh2hO0j9n0Hq0V+09+zv+mKts2o +omcrUtW3ZfA5TGOgkXmTUg9U3YO7n9GPp1Nzw8v/MOx8BLjYRB+TX3EJIrduPuoc +A06dGiBh+4E37F78CkWr1+cXVdCg6mCbpvbjjFspwgZgFJ0tl0ypkxWdYcQBX0jW +WL1WMRJOEcgh4LMRkWXbtKaIOM5V +-----END CERTIFICATE----- + +# Issuer: CN=GeoTrust Primary Certification Authority - G3 O=GeoTrust Inc. OU=(c) 2008 GeoTrust Inc. - For authorized use only +# Subject: CN=GeoTrust Primary Certification Authority - G3 O=GeoTrust Inc. OU=(c) 2008 GeoTrust Inc. - For authorized use only +# Label: "GeoTrust Primary Certification Authority - G3" +# Serial: 28809105769928564313984085209975885599 +# MD5 Fingerprint: b5:e8:34:36:c9:10:44:58:48:70:6d:2e:83:d4:b8:05 +# SHA1 Fingerprint: 03:9e:ed:b8:0b:e7:a0:3c:69:53:89:3b:20:d2:d9:32:3a:4c:2a:fd +# SHA256 Fingerprint: b4:78:b8:12:25:0d:f8:78:63:5c:2a:a7:ec:7d:15:5e:aa:62:5e:e8:29:16:e2:cd:29:43:61:88:6c:d1:fb:d4 +-----BEGIN CERTIFICATE----- +MIID/jCCAuagAwIBAgIQFaxulBmyeUtB9iepwxgPHzANBgkqhkiG9w0BAQsFADCB +mDELMAkGA1UEBhMCVVMxFjAUBgNVBAoTDUdlb1RydXN0IEluYy4xOTA3BgNVBAsT +MChjKSAyMDA4IEdlb1RydXN0IEluYy4gLSBGb3IgYXV0aG9yaXplZCB1c2Ugb25s +eTE2MDQGA1UEAxMtR2VvVHJ1c3QgUHJpbWFyeSBDZXJ0aWZpY2F0aW9uIEF1dGhv +cml0eSAtIEczMB4XDTA4MDQwMjAwMDAwMFoXDTM3MTIwMTIzNTk1OVowgZgxCzAJ +BgNVBAYTAlVTMRYwFAYDVQQKEw1HZW9UcnVzdCBJbmMuMTkwNwYDVQQLEzAoYykg +MjAwOCBHZW9UcnVzdCBJbmMuIC0gRm9yIGF1dGhvcml6ZWQgdXNlIG9ubHkxNjA0 +BgNVBAMTLUdlb1RydXN0IFByaW1hcnkgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkg +LSBHMzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANziXmJYHTNXOTIz ++uvLh4yn1ErdBojqZI4xmKU4kB6Yzy5jK/BGvESyiaHAKAxJcCGVn2TAppMSAmUm +hsalifD614SgcK9PGpc/BkTVyetyEH3kMSj7HGHmKAdEc5IiaacDiGydY8hS2pgn +5whMcD60yRLBxWeDXTPzAxHsatBT4tG6NmCUgLthY2xbF37fQJQeqw3CIShwiP/W +JmxsYAQlTlV+fe+/lEjetx3dcI0FX4ilm/LC7urRQEFtYjgdVgbFA0dRIBn8exAL +DmKudlW/X3e+PkkBUz2YJQN2JFodtNuJ6nnltrM7P7pMKEF/BqxqjsHQ9gUdfeZC +huOl1UcCAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYw +HQYDVR0OBBYEFMR5yo6hTgMdHNxr2zFblD4/MH8tMA0GCSqGSIb3DQEBCwUAA4IB +AQAtxRPPVoB7eni9n64smefv2t+UXglpp+duaIy9cr5HqQ6XErhK8WTTOd8lNNTB +zU6B8A8ExCSzNJbGpqow32hhc9f5joWJ7w5elShKKiePEI4ufIbEAp7aDHdlDkQN +kv39sxY2+hENHYwOB4lqKVb3cvTdFZx3NWZXqxNT2I7BQMXXExZacse3aQHEerGD +AWh9jUGhlBjBJVz88P6DAod8DQ3PLghcSkANPuyBYeYk28rgDi0Hsj5W3I31QYUH +SJsMC8tJP33st/3LjWeJGqvtux6jAAgIFyqCXDFdRootD4abdNlF+9RAsXqqaC2G +spki4cErx5z481+oghLrGREt +-----END CERTIFICATE----- + +# Issuer: CN=thawte Primary Root CA - G2 O=thawte, Inc. OU=(c) 2007 thawte, Inc. - For authorized use only +# Subject: CN=thawte Primary Root CA - G2 O=thawte, Inc. OU=(c) 2007 thawte, Inc. - For authorized use only +# Label: "thawte Primary Root CA - G2" +# Serial: 71758320672825410020661621085256472406 +# MD5 Fingerprint: 74:9d:ea:60:24:c4:fd:22:53:3e:cc:3a:72:d9:29:4f +# SHA1 Fingerprint: aa:db:bc:22:23:8f:c4:01:a1:27:bb:38:dd:f4:1d:db:08:9e:f0:12 +# SHA256 Fingerprint: a4:31:0d:50:af:18:a6:44:71:90:37:2a:86:af:af:8b:95:1f:fb:43:1d:83:7f:1e:56:88:b4:59:71:ed:15:57 +-----BEGIN CERTIFICATE----- +MIICiDCCAg2gAwIBAgIQNfwmXNmET8k9Jj1Xm67XVjAKBggqhkjOPQQDAzCBhDEL +MAkGA1UEBhMCVVMxFTATBgNVBAoTDHRoYXd0ZSwgSW5jLjE4MDYGA1UECxMvKGMp +IDIwMDcgdGhhd3RlLCBJbmMuIC0gRm9yIGF1dGhvcml6ZWQgdXNlIG9ubHkxJDAi +BgNVBAMTG3RoYXd0ZSBQcmltYXJ5IFJvb3QgQ0EgLSBHMjAeFw0wNzExMDUwMDAw +MDBaFw0zODAxMTgyMzU5NTlaMIGEMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMdGhh +d3RlLCBJbmMuMTgwNgYDVQQLEy8oYykgMjAwNyB0aGF3dGUsIEluYy4gLSBGb3Ig +YXV0aG9yaXplZCB1c2Ugb25seTEkMCIGA1UEAxMbdGhhd3RlIFByaW1hcnkgUm9v +dCBDQSAtIEcyMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEotWcgnuVnfFSeIf+iha/ +BebfowJPDQfGAFG6DAJSLSKkQjnE/o/qycG+1E3/n3qe4rF8mq2nhglzh9HnmuN6 +papu+7qzcMBniKI11KOasf2twu8x+qi58/sIxpHR+ymVo0IwQDAPBgNVHRMBAf8E +BTADAQH/MA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUmtgAMADna3+FGO6Lts6K +DPgR4bswCgYIKoZIzj0EAwMDaQAwZgIxAN344FdHW6fmCsO99YCKlzUNG4k8VIZ3 +KMqh9HneteY4sPBlcIx/AlTCv//YoT7ZzwIxAMSNlPzcU9LcnXgWHxUzI1NS41ox +XZ3Krr0TKUQNJ1uo52icEvdYPy5yAlejj6EULg== +-----END CERTIFICATE----- + +# Issuer: CN=thawte Primary Root CA - G3 O=thawte, Inc. OU=Certification Services Division/(c) 2008 thawte, Inc. - For authorized use only +# Subject: CN=thawte Primary Root CA - G3 O=thawte, Inc. OU=Certification Services Division/(c) 2008 thawte, Inc. - For authorized use only +# Label: "thawte Primary Root CA - G3" +# Serial: 127614157056681299805556476275995414779 +# MD5 Fingerprint: fb:1b:5d:43:8a:94:cd:44:c6:76:f2:43:4b:47:e7:31 +# SHA1 Fingerprint: f1:8b:53:8d:1b:e9:03:b6:a6:f0:56:43:5b:17:15:89:ca:f3:6b:f2 +# SHA256 Fingerprint: 4b:03:f4:58:07:ad:70:f2:1b:fc:2c:ae:71:c9:fd:e4:60:4c:06:4c:f5:ff:b6:86:ba:e5:db:aa:d7:fd:d3:4c +-----BEGIN CERTIFICATE----- +MIIEKjCCAxKgAwIBAgIQYAGXt0an6rS0mtZLL/eQ+zANBgkqhkiG9w0BAQsFADCB +rjELMAkGA1UEBhMCVVMxFTATBgNVBAoTDHRoYXd0ZSwgSW5jLjEoMCYGA1UECxMf +Q2VydGlmaWNhdGlvbiBTZXJ2aWNlcyBEaXZpc2lvbjE4MDYGA1UECxMvKGMpIDIw +MDggdGhhd3RlLCBJbmMuIC0gRm9yIGF1dGhvcml6ZWQgdXNlIG9ubHkxJDAiBgNV +BAMTG3RoYXd0ZSBQcmltYXJ5IFJvb3QgQ0EgLSBHMzAeFw0wODA0MDIwMDAwMDBa +Fw0zNzEyMDEyMzU5NTlaMIGuMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMdGhhd3Rl +LCBJbmMuMSgwJgYDVQQLEx9DZXJ0aWZpY2F0aW9uIFNlcnZpY2VzIERpdmlzaW9u +MTgwNgYDVQQLEy8oYykgMjAwOCB0aGF3dGUsIEluYy4gLSBGb3IgYXV0aG9yaXpl +ZCB1c2Ugb25seTEkMCIGA1UEAxMbdGhhd3RlIFByaW1hcnkgUm9vdCBDQSAtIEcz +MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsr8nLPvb2FvdeHsbnndm +gcs+vHyu86YnmjSjaDFxODNi5PNxZnmxqWWjpYvVj2AtP0LMqmsywCPLLEHd5N/8 +YZzic7IilRFDGF/Eth9XbAoFWCLINkw6fKXRz4aviKdEAhN0cXMKQlkC+BsUa0Lf +b1+6a4KinVvnSr0eAXLbS3ToO39/fR8EtCab4LRarEc9VbjXsCZSKAExQGbY2SS9 +9irY7CFJXJv2eul/VTV+lmuNk5Mny5K76qxAwJ/C+IDPXfRa3M50hqY+bAtTyr2S +zhkGcuYMXDhpxwTWvGzOW/b3aJzcJRVIiKHpqfiYnODz1TEoYRFsZ5aNOZnLwkUk +OQIDAQABo0IwQDAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBBjAdBgNV +HQ4EFgQUrWyqlGCc7eT/+j4KdCtjA/e2Wb8wDQYJKoZIhvcNAQELBQADggEBABpA +2JVlrAmSicY59BDlqQ5mU1143vokkbvnRFHfxhY0Cu9qRFHqKweKA3rD6z8KLFIW +oCtDuSWQP3CpMyVtRRooOyfPqsMpQhvfO0zAMzRbQYi/aytlryjvsvXDqmbOe1bu +t8jLZ8HJnBoYuMTDSQPxYA5QzUbF83d597YV4Djbxy8ooAw/dyZ02SUS2jHaGh7c +KUGRIjxpp7sC8rZcJwOJ9Abqm+RyguOhCcHpABnTPtRwa7pxpqpYrvS76Wy274fM +m7v/OeZWYdMKp8RcTGB7BXcmer/YB1IsYvdwY9k5vG8cwnncdimvzsUsZAReiDZu +MdRAGmI0Nj81Aa6sY6A= +-----END CERTIFICATE----- + +# Issuer: CN=GeoTrust Primary Certification Authority - G2 O=GeoTrust Inc. OU=(c) 2007 GeoTrust Inc. - For authorized use only +# Subject: CN=GeoTrust Primary Certification Authority - G2 O=GeoTrust Inc. OU=(c) 2007 GeoTrust Inc. - For authorized use only +# Label: "GeoTrust Primary Certification Authority - G2" +# Serial: 80682863203381065782177908751794619243 +# MD5 Fingerprint: 01:5e:d8:6b:bd:6f:3d:8e:a1:31:f8:12:e0:98:73:6a +# SHA1 Fingerprint: 8d:17:84:d5:37:f3:03:7d:ec:70:fe:57:8b:51:9a:99:e6:10:d7:b0 +# SHA256 Fingerprint: 5e:db:7a:c4:3b:82:a0:6a:87:61:e8:d7:be:49:79:eb:f2:61:1f:7d:d7:9b:f9:1c:1c:6b:56:6a:21:9e:d7:66 +-----BEGIN CERTIFICATE----- +MIICrjCCAjWgAwIBAgIQPLL0SAoA4v7rJDteYD7DazAKBggqhkjOPQQDAzCBmDEL +MAkGA1UEBhMCVVMxFjAUBgNVBAoTDUdlb1RydXN0IEluYy4xOTA3BgNVBAsTMChj +KSAyMDA3IEdlb1RydXN0IEluYy4gLSBGb3IgYXV0aG9yaXplZCB1c2Ugb25seTE2 +MDQGA1UEAxMtR2VvVHJ1c3QgUHJpbWFyeSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0 +eSAtIEcyMB4XDTA3MTEwNTAwMDAwMFoXDTM4MDExODIzNTk1OVowgZgxCzAJBgNV +BAYTAlVTMRYwFAYDVQQKEw1HZW9UcnVzdCBJbmMuMTkwNwYDVQQLEzAoYykgMjAw +NyBHZW9UcnVzdCBJbmMuIC0gRm9yIGF1dGhvcml6ZWQgdXNlIG9ubHkxNjA0BgNV +BAMTLUdlb1RydXN0IFByaW1hcnkgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkgLSBH +MjB2MBAGByqGSM49AgEGBSuBBAAiA2IABBWx6P0DFUPlrOuHNxFi79KDNlJ9RVcL +So17VDs6bl8VAsBQps8lL33KSLjHUGMcKiEIfJo22Av+0SbFWDEwKCXzXV2juLal +tJLtbCyf691DiaI8S0iRHVDsJt/WYC69IaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAO +BgNVHQ8BAf8EBAMCAQYwHQYDVR0OBBYEFBVfNVdRVfslsq0DafwBo/q+EVXVMAoG +CCqGSM49BAMDA2cAMGQCMGSWWaboCd6LuvpaiIjwH5HTRqjySkwCY/tsXzjbLkGT +qQ7mndwxHLKgpxgceeHHNgIwOlavmnRs9vuD4DPTCF+hnMJbn0bWtsuRBmOiBucz +rD6ogRLQy7rQkgu2npaqBA+K +-----END CERTIFICATE----- + +# Issuer: CN=VeriSign Universal Root Certification Authority O=VeriSign, Inc. OU=VeriSign Trust Network/(c) 2008 VeriSign, Inc. - For authorized use only +# Subject: CN=VeriSign Universal Root Certification Authority O=VeriSign, Inc. OU=VeriSign Trust Network/(c) 2008 VeriSign, Inc. - For authorized use only +# Label: "VeriSign Universal Root Certification Authority" +# Serial: 85209574734084581917763752644031726877 +# MD5 Fingerprint: 8e:ad:b5:01:aa:4d:81:e4:8c:1d:d1:e1:14:00:95:19 +# SHA1 Fingerprint: 36:79:ca:35:66:87:72:30:4d:30:a5:fb:87:3b:0f:a7:7b:b7:0d:54 +# SHA256 Fingerprint: 23:99:56:11:27:a5:71:25:de:8c:ef:ea:61:0d:df:2f:a0:78:b5:c8:06:7f:4e:82:82:90:bf:b8:60:e8:4b:3c +-----BEGIN CERTIFICATE----- +MIIEuTCCA6GgAwIBAgIQQBrEZCGzEyEDDrvkEhrFHTANBgkqhkiG9w0BAQsFADCB +vTELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQL +ExZWZXJpU2lnbiBUcnVzdCBOZXR3b3JrMTowOAYDVQQLEzEoYykgMjAwOCBWZXJp +U2lnbiwgSW5jLiAtIEZvciBhdXRob3JpemVkIHVzZSBvbmx5MTgwNgYDVQQDEy9W +ZXJpU2lnbiBVbml2ZXJzYWwgUm9vdCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAe +Fw0wODA0MDIwMDAwMDBaFw0zNzEyMDEyMzU5NTlaMIG9MQswCQYDVQQGEwJVUzEX +MBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZlcmlTaWduIFRydXN0 +IE5ldHdvcmsxOjA4BgNVBAsTMShjKSAyMDA4IFZlcmlTaWduLCBJbmMuIC0gRm9y +IGF1dGhvcml6ZWQgdXNlIG9ubHkxODA2BgNVBAMTL1ZlcmlTaWduIFVuaXZlcnNh +bCBSb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIIBIjANBgkqhkiG9w0BAQEF +AAOCAQ8AMIIBCgKCAQEAx2E3XrEBNNti1xWb/1hajCMj1mCOkdeQmIN65lgZOIzF +9uVkhbSicfvtvbnazU0AtMgtc6XHaXGVHzk8skQHnOgO+k1KxCHfKWGPMiJhgsWH +H26MfF8WIFFE0XBPV+rjHOPMee5Y2A7Cs0WTwCznmhcrewA3ekEzeOEz4vMQGn+H +LL729fdC4uW/h2KJXwBL38Xd5HVEMkE6HnFuacsLdUYI0crSK5XQz/u5QGtkjFdN +/BMReYTtXlT2NJ8IAfMQJQYXStrxHXpma5hgZqTZ79IugvHw7wnqRMkVauIDbjPT +rJ9VAMf2CGqUuV/c4DPxhGD5WycRtPwW8rtWaoAljQIDAQABo4GyMIGvMA8GA1Ud +EwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMG0GCCsGAQUFBwEMBGEwX6FdoFsw +WTBXMFUWCWltYWdlL2dpZjAhMB8wBwYFKw4DAhoEFI/l0xqGrI2Oa8PPgGrUSBgs +exkuMCUWI2h0dHA6Ly9sb2dvLnZlcmlzaWduLmNvbS92c2xvZ28uZ2lmMB0GA1Ud +DgQWBBS2d/ppSEefUxLVwuoHMnYH0ZcHGTANBgkqhkiG9w0BAQsFAAOCAQEASvj4 +sAPmLGd75JR3Y8xuTPl9Dg3cyLk1uXBPY/ok+myDjEedO2Pzmvl2MpWRsXe8rJq+ +seQxIcaBlVZaDrHC1LGmWazxY8u4TB1ZkErvkBYoH1quEPuBUDgMbMzxPcP1Y+Oz +4yHJJDnp/RVmRvQbEdBNc6N9Rvk97ahfYtTxP/jgdFcrGJ2BtMQo2pSXpXDrrB2+ +BxHw1dvd5Yzw1TKwg+ZX4o+/vqGqvz0dtdQ46tewXDpPaj+PwGZsY6rp2aQW9IHR +lRQOfc2VNNnSj3BzgXucfr2YYdhFh5iQxeuGMMY1v/D/w1WIg0vvBZIGcfK4mJO3 +7M2CYfE45k+XmCpajQ== +-----END CERTIFICATE----- + +# Issuer: CN=VeriSign Class 3 Public Primary Certification Authority - G4 O=VeriSign, Inc. OU=VeriSign Trust Network/(c) 2007 VeriSign, Inc. - For authorized use only +# Subject: CN=VeriSign Class 3 Public Primary Certification Authority - G4 O=VeriSign, Inc. OU=VeriSign Trust Network/(c) 2007 VeriSign, Inc. - For authorized use only +# Label: "VeriSign Class 3 Public Primary Certification Authority - G4" +# Serial: 63143484348153506665311985501458640051 +# MD5 Fingerprint: 3a:52:e1:e7:fd:6f:3a:e3:6f:f3:6f:99:1b:f9:22:41 +# SHA1 Fingerprint: 22:d5:d8:df:8f:02:31:d1:8d:f7:9d:b7:cf:8a:2d:64:c9:3f:6c:3a +# SHA256 Fingerprint: 69:dd:d7:ea:90:bb:57:c9:3e:13:5d:c8:5e:a6:fc:d5:48:0b:60:32:39:bd:c4:54:fc:75:8b:2a:26:cf:7f:79 +-----BEGIN CERTIFICATE----- +MIIDhDCCAwqgAwIBAgIQL4D+I4wOIg9IZxIokYesszAKBggqhkjOPQQDAzCByjEL +MAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQLExZW +ZXJpU2lnbiBUcnVzdCBOZXR3b3JrMTowOAYDVQQLEzEoYykgMjAwNyBWZXJpU2ln +biwgSW5jLiAtIEZvciBhdXRob3JpemVkIHVzZSBvbmx5MUUwQwYDVQQDEzxWZXJp +U2lnbiBDbGFzcyAzIFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0aG9y +aXR5IC0gRzQwHhcNMDcxMTA1MDAwMDAwWhcNMzgwMTE4MjM1OTU5WjCByjELMAkG +A1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQLExZWZXJp +U2lnbiBUcnVzdCBOZXR3b3JrMTowOAYDVQQLEzEoYykgMjAwNyBWZXJpU2lnbiwg +SW5jLiAtIEZvciBhdXRob3JpemVkIHVzZSBvbmx5MUUwQwYDVQQDEzxWZXJpU2ln +biBDbGFzcyAzIFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5 +IC0gRzQwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAASnVnp8Utpkmw4tXNherJI9/gHm +GUo9FANL+mAnINmDiWn6VMaaGF5VKmTeBvaNSjutEDxlPZCIBIngMGGzrl0Bp3ve +fLK+ymVhAIau2o970ImtTR1ZmkGxvEeA3J5iw/mjgbIwga8wDwYDVR0TAQH/BAUw +AwEB/zAOBgNVHQ8BAf8EBAMCAQYwbQYIKwYBBQUHAQwEYTBfoV2gWzBZMFcwVRYJ +aW1hZ2UvZ2lmMCEwHzAHBgUrDgMCGgQUj+XTGoasjY5rw8+AatRIGCx7GS4wJRYj +aHR0cDovL2xvZ28udmVyaXNpZ24uY29tL3ZzbG9nby5naWYwHQYDVR0OBBYEFLMW +kf3upm7ktS5Jj4d4gYDs5bG1MAoGCCqGSM49BAMDA2gAMGUCMGYhDBgmYFo4e1ZC +4Kf8NoRRkSAsdk1DPcQdhCPQrNZ8NQbOzWm9kA3bbEhCHQ6qQgIxAJw9SDkjOVga +FRJZap7v1VmyHVIsmXHNxynfGyphe3HR3vPA5Q06Sqotp9iGKt0uEA== +-----END CERTIFICATE----- + +# Issuer: O=VeriSign, Inc. OU=Class 3 Public Primary Certification Authority +# Subject: O=VeriSign, Inc. OU=Class 3 Public Primary Certification Authority +# Label: "Verisign Class 3 Public Primary Certification Authority" +# Serial: 80507572722862485515306429940691309246 +# MD5 Fingerprint: ef:5a:f1:33:ef:f1:cd:bb:51:02:ee:12:14:4b:96:c4 +# SHA1 Fingerprint: a1:db:63:93:91:6f:17:e4:18:55:09:40:04:15:c7:02:40:b0:ae:6b +# SHA256 Fingerprint: a4:b6:b3:99:6f:c2:f3:06:b3:fd:86:81:bd:63:41:3d:8c:50:09:cc:4f:a3:29:c2:cc:f0:e2:fa:1b:14:03:05 +-----BEGIN CERTIFICATE----- +MIICPDCCAaUCEDyRMcsf9tAbDpq40ES/Er4wDQYJKoZIhvcNAQEFBQAwXzELMAkG +A1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFz +cyAzIFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTk2 +MDEyOTAwMDAwMFoXDTI4MDgwMjIzNTk1OVowXzELMAkGA1UEBhMCVVMxFzAVBgNV +BAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFzcyAzIFB1YmxpYyBQcmlt +YXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIGfMA0GCSqGSIb3DQEBAQUAA4GN +ADCBiQKBgQDJXFme8huKARS0EN8EQNvjV69qRUCPhAwL0TPZ2RHP7gJYHyX3KqhE +BarsAx94f56TuZoAqiN91qyFomNFx3InzPRMxnVx0jnvT0Lwdd8KkMaOIG+YD/is +I19wKTakyYbnsZogy1Olhec9vn2a/iRFM9x2Fe0PonFkTGUugWhFpwIDAQABMA0G +CSqGSIb3DQEBBQUAA4GBABByUqkFFBkyCEHwxWsKzH4PIRnN5GfcX6kb5sroc50i +2JhucwNhkcV8sEVAbkSdjbCxlnRhLQ2pRdKkkirWmnWXbj9T/UWZYB2oK0z5XqcJ +2HUw19JlYD1n1khVdWk/kfVIC0dpImmClr7JyDiGSnoscxlIaU5rfGW/D/xwzoiQ +-----END CERTIFICATE----- + +# Issuer: CN=GlobalSign O=GlobalSign OU=GlobalSign Root CA - R3 +# Subject: CN=GlobalSign O=GlobalSign OU=GlobalSign Root CA - R3 +# Label: "GlobalSign Root CA - R3" +# Serial: 4835703278459759426209954 +# MD5 Fingerprint: c5:df:b8:49:ca:05:13:55:ee:2d:ba:1a:c3:3e:b0:28 +# SHA1 Fingerprint: d6:9b:56:11:48:f0:1c:77:c5:45:78:c1:09:26:df:5b:85:69:76:ad +# SHA256 Fingerprint: cb:b5:22:d7:b7:f1:27:ad:6a:01:13:86:5b:df:1c:d4:10:2e:7d:07:59:af:63:5a:7c:f4:72:0d:c9:63:c5:3b +-----BEGIN CERTIFICATE----- +MIIDXzCCAkegAwIBAgILBAAAAAABIVhTCKIwDQYJKoZIhvcNAQELBQAwTDEgMB4G +A1UECxMXR2xvYmFsU2lnbiBSb290IENBIC0gUjMxEzARBgNVBAoTCkdsb2JhbFNp +Z24xEzARBgNVBAMTCkdsb2JhbFNpZ24wHhcNMDkwMzE4MTAwMDAwWhcNMjkwMzE4 +MTAwMDAwWjBMMSAwHgYDVQQLExdHbG9iYWxTaWduIFJvb3QgQ0EgLSBSMzETMBEG +A1UEChMKR2xvYmFsU2lnbjETMBEGA1UEAxMKR2xvYmFsU2lnbjCCASIwDQYJKoZI +hvcNAQEBBQADggEPADCCAQoCggEBAMwldpB5BngiFvXAg7aEyiie/QV2EcWtiHL8 +RgJDx7KKnQRfJMsuS+FggkbhUqsMgUdwbN1k0ev1LKMPgj0MK66X17YUhhB5uzsT +gHeMCOFJ0mpiLx9e+pZo34knlTifBtc+ycsmWQ1z3rDI6SYOgxXG71uL0gRgykmm +KPZpO/bLyCiR5Z2KYVc3rHQU3HTgOu5yLy6c+9C7v/U9AOEGM+iCK65TpjoWc4zd +QQ4gOsC0p6Hpsk+QLjJg6VfLuQSSaGjlOCZgdbKfd/+RFO+uIEn8rUAVSNECMWEZ +XriX7613t2Saer9fwRPvm2L7DWzgVGkWqQPabumDk3F2xmmFghcCAwEAAaNCMEAw +DgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFI/wS3+o +LkUkrk1Q+mOai97i3Ru8MA0GCSqGSIb3DQEBCwUAA4IBAQBLQNvAUKr+yAzv95ZU +RUm7lgAJQayzE4aGKAczymvmdLm6AC2upArT9fHxD4q/c2dKg8dEe3jgr25sbwMp +jjM5RcOO5LlXbKr8EpbsU8Yt5CRsuZRj+9xTaGdWPoO4zzUhw8lo/s7awlOqzJCK +6fBdRoyV3XpYKBovHd7NADdBj+1EbddTKJd+82cEHhXXipa0095MJ6RMG3NzdvQX +mcIfeg7jLQitChws/zyrVQ4PkX4268NXSb7hLi18YIvDQVETI53O9zJrlAGomecs +Mx86OyXShkDOOyyGeMlhLxS67ttVb9+E7gUJTb0o2HLO02JQZR7rkpeDMdmztcpH +WD9f +-----END CERTIFICATE----- + +# Issuer: CN=TC TrustCenter Universal CA III O=TC TrustCenter GmbH OU=TC TrustCenter Universal CA +# Subject: CN=TC TrustCenter Universal CA III O=TC TrustCenter GmbH OU=TC TrustCenter Universal CA +# Label: "TC TrustCenter Universal CA III" +# Serial: 2010889993983507346460533407902964 +# MD5 Fingerprint: 9f:dd:db:ab:ff:8e:ff:45:21:5f:f0:6c:9d:8f:fe:2b +# SHA1 Fingerprint: 96:56:cd:7b:57:96:98:95:d0:e1:41:46:68:06:fb:b8:c6:11:06:87 +# SHA256 Fingerprint: 30:9b:4a:87:f6:ca:56:c9:31:69:aa:a9:9c:6d:98:88:54:d7:89:2b:d5:43:7e:2d:07:b2:9c:be:da:55:d3:5d +-----BEGIN CERTIFICATE----- +MIID4TCCAsmgAwIBAgIOYyUAAQACFI0zFQLkbPQwDQYJKoZIhvcNAQEFBQAwezEL +MAkGA1UEBhMCREUxHDAaBgNVBAoTE1RDIFRydXN0Q2VudGVyIEdtYkgxJDAiBgNV +BAsTG1RDIFRydXN0Q2VudGVyIFVuaXZlcnNhbCBDQTEoMCYGA1UEAxMfVEMgVHJ1 +c3RDZW50ZXIgVW5pdmVyc2FsIENBIElJSTAeFw0wOTA5MDkwODE1MjdaFw0yOTEy +MzEyMzU5NTlaMHsxCzAJBgNVBAYTAkRFMRwwGgYDVQQKExNUQyBUcnVzdENlbnRl +ciBHbWJIMSQwIgYDVQQLExtUQyBUcnVzdENlbnRlciBVbml2ZXJzYWwgQ0ExKDAm +BgNVBAMTH1RDIFRydXN0Q2VudGVyIFVuaXZlcnNhbCBDQSBJSUkwggEiMA0GCSqG +SIb3DQEBAQUAA4IBDwAwggEKAoIBAQDC2pxisLlxErALyBpXsq6DFJmzNEubkKLF +5+cvAqBNLaT6hdqbJYUtQCggbergvbFIgyIpRJ9Og+41URNzdNW88jBmlFPAQDYv +DIRlzg9uwliT6CwLOunBjvvya8o84pxOjuT5fdMnnxvVZ3iHLX8LR7PH6MlIfK8v +zArZQe+f/prhsq75U7Xl6UafYOPfjdN/+5Z+s7Vy+EutCHnNaYlAJ/Uqwa1D7KRT +yGG299J5KmcYdkhtWyUB0SbFt1dpIxVbYYqt8Bst2a9c8SaQaanVDED1M4BDj5yj +dipFtK+/fz6HP3bFzSreIMUWWMv5G/UPyw0RUmS40nZid4PxWJ//AgMBAAGjYzBh +MB8GA1UdIwQYMBaAFFbn4VslQ4Dg9ozhcbyO5YAvxEjiMA8GA1UdEwEB/wQFMAMB +Af8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBRW5+FbJUOA4PaM4XG8juWAL8RI +4jANBgkqhkiG9w0BAQUFAAOCAQEAg8ev6n9NCjw5sWi+e22JLumzCecYV42Fmhfz +dkJQEw/HkG8zrcVJYCtsSVgZ1OK+t7+rSbyUyKu+KGwWaODIl0YgoGhnYIg5IFHY +aAERzqf2EQf27OysGh+yZm5WZ2B6dF7AbZc2rrUNXWZzwCUyRdhKBgePxLcHsU0G +DeGl6/R1yrqc0L2z0zIkTO5+4nYES0lT2PLpVDP85XEfPRRclkvxOvIAu2y0+pZV +CIgJwcyRGSmwIC3/yzikQOEXvnlhgP8HA4ZMTnsGnxGGjYnuJ8Tb4rwZjgvDwxPH +LQNjO9Po5KIqwoIIlBZU8O8fJ5AluA0OKBtHd0e9HKgl8ZS0Zg== +-----END CERTIFICATE----- + +# Issuer: CN=Go Daddy Root Certificate Authority - G2 O=GoDaddy.com, Inc. +# Subject: CN=Go Daddy Root Certificate Authority - G2 O=GoDaddy.com, Inc. +# Label: "Go Daddy Root Certificate Authority - G2" +# Serial: 0 +# MD5 Fingerprint: 80:3a:bc:22:c1:e6:fb:8d:9b:3b:27:4a:32:1b:9a:01 +# SHA1 Fingerprint: 47:be:ab:c9:22:ea:e8:0e:78:78:34:62:a7:9f:45:c2:54:fd:e6:8b +# SHA256 Fingerprint: 45:14:0b:32:47:eb:9c:c8:c5:b4:f0:d7:b5:30:91:f7:32:92:08:9e:6e:5a:63:e2:74:9d:d3:ac:a9:19:8e:da +-----BEGIN CERTIFICATE----- +MIIDxTCCAq2gAwIBAgIBADANBgkqhkiG9w0BAQsFADCBgzELMAkGA1UEBhMCVVMx +EDAOBgNVBAgTB0FyaXpvbmExEzARBgNVBAcTClNjb3R0c2RhbGUxGjAYBgNVBAoT +EUdvRGFkZHkuY29tLCBJbmMuMTEwLwYDVQQDEyhHbyBEYWRkeSBSb290IENlcnRp +ZmljYXRlIEF1dGhvcml0eSAtIEcyMB4XDTA5MDkwMTAwMDAwMFoXDTM3MTIzMTIz +NTk1OVowgYMxCzAJBgNVBAYTAlVTMRAwDgYDVQQIEwdBcml6b25hMRMwEQYDVQQH +EwpTY290dHNkYWxlMRowGAYDVQQKExFHb0RhZGR5LmNvbSwgSW5jLjExMC8GA1UE +AxMoR28gRGFkZHkgUm9vdCBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkgLSBHMjCCASIw +DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL9xYgjx+lk09xvJGKP3gElY6SKD +E6bFIEMBO4Tx5oVJnyfq9oQbTqC023CYxzIBsQU+B07u9PpPL1kwIuerGVZr4oAH +/PMWdYA5UXvl+TW2dE6pjYIT5LY/qQOD+qK+ihVqf94Lw7YZFAXK6sOoBJQ7Rnwy +DfMAZiLIjWltNowRGLfTshxgtDj6AozO091GB94KPutdfMh8+7ArU6SSYmlRJQVh +GkSBjCypQ5Yj36w6gZoOKcUcqeldHraenjAKOc7xiID7S13MMuyFYkMlNAJWJwGR +tDtwKj9useiciAF9n9T521NtYJ2/LOdYq7hfRvzOxBsDPAnrSTFcaUaz4EcCAwEA +AaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYDVR0OBBYE +FDqahQcQZyi27/a9BUFuIMGU2g/eMA0GCSqGSIb3DQEBCwUAA4IBAQCZ21151fmX +WWcDYfF+OwYxdS2hII5PZYe096acvNjpL9DbWu7PdIxztDhC2gV7+AJ1uP2lsdeu +9tfeE8tTEH6KRtGX+rcuKxGrkLAngPnon1rpN5+r5N9ss4UXnT3ZJE95kTXWXwTr +gIOrmgIttRD02JDHBHNA7XIloKmf7J6raBKZV8aPEjoJpL1E/QYVN8Gb5DKj7Tjo +2GTzLH4U/ALqn83/B2gX2yKQOC16jdFU8WnjXzPKej17CuPKf1855eJ1usV2GDPO +LPAvTK33sefOT6jEm0pUBsV/fdUID+Ic/n4XuKxe9tQWskMJDE32p2u0mYRlynqI +4uJEvlz36hz1 +-----END CERTIFICATE----- + +# Issuer: CN=Starfield Root Certificate Authority - G2 O=Starfield Technologies, Inc. +# Subject: CN=Starfield Root Certificate Authority - G2 O=Starfield Technologies, Inc. +# Label: "Starfield Root Certificate Authority - G2" +# Serial: 0 +# MD5 Fingerprint: d6:39:81:c6:52:7e:96:69:fc:fc:ca:66:ed:05:f2:96 +# SHA1 Fingerprint: b5:1c:06:7c:ee:2b:0c:3d:f8:55:ab:2d:92:f4:fe:39:d4:e7:0f:0e +# SHA256 Fingerprint: 2c:e1:cb:0b:f9:d2:f9:e1:02:99:3f:be:21:51:52:c3:b2:dd:0c:ab:de:1c:68:e5:31:9b:83:91:54:db:b7:f5 +-----BEGIN CERTIFICATE----- +MIID3TCCAsWgAwIBAgIBADANBgkqhkiG9w0BAQsFADCBjzELMAkGA1UEBhMCVVMx +EDAOBgNVBAgTB0FyaXpvbmExEzARBgNVBAcTClNjb3R0c2RhbGUxJTAjBgNVBAoT +HFN0YXJmaWVsZCBUZWNobm9sb2dpZXMsIEluYy4xMjAwBgNVBAMTKVN0YXJmaWVs +ZCBSb290IENlcnRpZmljYXRlIEF1dGhvcml0eSAtIEcyMB4XDTA5MDkwMTAwMDAw +MFoXDTM3MTIzMTIzNTk1OVowgY8xCzAJBgNVBAYTAlVTMRAwDgYDVQQIEwdBcml6 +b25hMRMwEQYDVQQHEwpTY290dHNkYWxlMSUwIwYDVQQKExxTdGFyZmllbGQgVGVj +aG5vbG9naWVzLCBJbmMuMTIwMAYDVQQDEylTdGFyZmllbGQgUm9vdCBDZXJ0aWZp +Y2F0ZSBBdXRob3JpdHkgLSBHMjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC +ggEBAL3twQP89o/8ArFvW59I2Z154qK3A2FWGMNHttfKPTUuiUP3oWmb3ooa/RMg +nLRJdzIpVv257IzdIvpy3Cdhl+72WoTsbhm5iSzchFvVdPtrX8WJpRBSiUZV9Lh1 +HOZ/5FSuS/hVclcCGfgXcVnrHigHdMWdSL5stPSksPNkN3mSwOxGXn/hbVNMYq/N +Hwtjuzqd+/x5AJhhdM8mgkBj87JyahkNmcrUDnXMN/uLicFZ8WJ/X7NfZTD4p7dN +dloedl40wOiWVpmKs/B/pM293DIxfJHP4F8R+GuqSVzRmZTRouNjWwl2tVZi4Ut0 +HZbUJtQIBFnQmA4O5t78w+wfkPECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAO +BgNVHQ8BAf8EBAMCAQYwHQYDVR0OBBYEFHwMMh+n2TB/xH1oo2Kooc6rB1snMA0G +CSqGSIb3DQEBCwUAA4IBAQARWfolTwNvlJk7mh+ChTnUdgWUXuEok21iXQnCoKjU +sHU48TRqneSfioYmUeYs0cYtbpUgSpIB7LiKZ3sx4mcujJUDJi5DnUox9g61DLu3 +4jd/IroAow57UvtruzvE03lRTs2Q9GcHGcg8RnoNAX3FWOdt5oUwF5okxBDgBPfg +8n/Uqgr/Qh037ZTlZFkSIHc40zI+OIF1lnP6aI+xy84fxez6nH7PfrHxBy22/L/K +pL/QlwVKvOoYKAKQvVR4CSFx09F9HdkWsKlhPdAKACL8x3vLCWRFCztAgfd9fDL1 +mMpYjn0q7pBZc2T5NnReJaH1ZgUufzkVqSr7UIuOhWn0 +-----END CERTIFICATE----- + +# Issuer: CN=Starfield Services Root Certificate Authority - G2 O=Starfield Technologies, Inc. +# Subject: CN=Starfield Services Root Certificate Authority - G2 O=Starfield Technologies, Inc. +# Label: "Starfield Services Root Certificate Authority - G2" +# Serial: 0 +# MD5 Fingerprint: 17:35:74:af:7b:61:1c:eb:f4:f9:3c:e2:ee:40:f9:a2 +# SHA1 Fingerprint: 92:5a:8f:8d:2c:6d:04:e0:66:5f:59:6a:ff:22:d8:63:e8:25:6f:3f +# SHA256 Fingerprint: 56:8d:69:05:a2:c8:87:08:a4:b3:02:51:90:ed:cf:ed:b1:97:4a:60:6a:13:c6:e5:29:0f:cb:2a:e6:3e:da:b5 +-----BEGIN CERTIFICATE----- +MIID7zCCAtegAwIBAgIBADANBgkqhkiG9w0BAQsFADCBmDELMAkGA1UEBhMCVVMx +EDAOBgNVBAgTB0FyaXpvbmExEzARBgNVBAcTClNjb3R0c2RhbGUxJTAjBgNVBAoT +HFN0YXJmaWVsZCBUZWNobm9sb2dpZXMsIEluYy4xOzA5BgNVBAMTMlN0YXJmaWVs +ZCBTZXJ2aWNlcyBSb290IENlcnRpZmljYXRlIEF1dGhvcml0eSAtIEcyMB4XDTA5 +MDkwMTAwMDAwMFoXDTM3MTIzMTIzNTk1OVowgZgxCzAJBgNVBAYTAlVTMRAwDgYD +VQQIEwdBcml6b25hMRMwEQYDVQQHEwpTY290dHNkYWxlMSUwIwYDVQQKExxTdGFy +ZmllbGQgVGVjaG5vbG9naWVzLCBJbmMuMTswOQYDVQQDEzJTdGFyZmllbGQgU2Vy +dmljZXMgUm9vdCBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkgLSBHMjCCASIwDQYJKoZI +hvcNAQEBBQADggEPADCCAQoCggEBANUMOsQq+U7i9b4Zl1+OiFOxHz/Lz58gE20p +OsgPfTz3a3Y4Y9k2YKibXlwAgLIvWX/2h/klQ4bnaRtSmpDhcePYLQ1Ob/bISdm2 +8xpWriu2dBTrz/sm4xq6HZYuajtYlIlHVv8loJNwU4PahHQUw2eeBGg6345AWh1K +Ts9DkTvnVtYAcMtS7nt9rjrnvDH5RfbCYM8TWQIrgMw0R9+53pBlbQLPLJGmpufe +hRhJfGZOozptqbXuNC66DQO4M99H67FrjSXZm86B0UVGMpZwh94CDklDhbZsc7tk +6mFBrMnUVN+HL8cisibMn1lUaJ/8viovxFUcdUBgF4UCVTmLfwUCAwEAAaNCMEAw +DwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYDVR0OBBYEFJxfAN+q +AdcwKziIorhtSpzyEZGDMA0GCSqGSIb3DQEBCwUAA4IBAQBLNqaEd2ndOxmfZyMI +bw5hyf2E3F/YNoHN2BtBLZ9g3ccaaNnRbobhiCPPE95Dz+I0swSdHynVv/heyNXB +ve6SbzJ08pGCL72CQnqtKrcgfU28elUSwhXqvfdqlS5sdJ/PHLTyxQGjhdByPq1z +qwubdQxtRbeOlKyWN7Wg0I8VRw7j6IPdj/3vQQF3zCepYoUz8jcI73HPdwbeyBkd +iEDPfUYd/x7H4c7/I9vG+o1VTqkC50cRRj70/b17KSa7qWFiNyi2LSr2EIZkyXCn +0q23KXB56jzaYyWf/Wi3MOxw+3WKt21gZ7IeyLnp2KhvAotnDU0mV3HaIPzBSlCN +sSi6 +-----END CERTIFICATE----- + +# Issuer: CN=AffirmTrust Commercial O=AffirmTrust +# Subject: CN=AffirmTrust Commercial O=AffirmTrust +# Label: "AffirmTrust Commercial" +# Serial: 8608355977964138876 +# MD5 Fingerprint: 82:92:ba:5b:ef:cd:8a:6f:a6:3d:55:f9:84:f6:d6:b7 +# SHA1 Fingerprint: f9:b5:b6:32:45:5f:9c:be:ec:57:5f:80:dc:e9:6e:2c:c7:b2:78:b7 +# SHA256 Fingerprint: 03:76:ab:1d:54:c5:f9:80:3c:e4:b2:e2:01:a0:ee:7e:ef:7b:57:b6:36:e8:a9:3c:9b:8d:48:60:c9:6f:5f:a7 +-----BEGIN CERTIFICATE----- +MIIDTDCCAjSgAwIBAgIId3cGJyapsXwwDQYJKoZIhvcNAQELBQAwRDELMAkGA1UE +BhMCVVMxFDASBgNVBAoMC0FmZmlybVRydXN0MR8wHQYDVQQDDBZBZmZpcm1UcnVz +dCBDb21tZXJjaWFsMB4XDTEwMDEyOTE0MDYwNloXDTMwMTIzMTE0MDYwNlowRDEL +MAkGA1UEBhMCVVMxFDASBgNVBAoMC0FmZmlybVRydXN0MR8wHQYDVQQDDBZBZmZp +cm1UcnVzdCBDb21tZXJjaWFsMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC +AQEA9htPZwcroRX1BiLLHwGy43NFBkRJLLtJJRTWzsO3qyxPxkEylFf6EqdbDuKP +Hx6GGaeqtS25Xw2Kwq+FNXkyLbscYjfysVtKPcrNcV/pQr6U6Mje+SJIZMblq8Yr +ba0F8PrVC8+a5fBQpIs7R6UjW3p6+DM/uO+Zl+MgwdYoic+U+7lF7eNAFxHUdPAL +MeIrJmqbTFeurCA+ukV6BfO9m2kVrn1OIGPENXY6BwLJN/3HR+7o8XYdcxXyl6S1 +yHp52UKqK39c/s4mT6NmgTWvRLpUHhwwMmWd5jyTXlBOeuM61G7MGvv50jeuJCqr +VwMiKA1JdX+3KNp1v47j3A55MQIDAQABo0IwQDAdBgNVHQ4EFgQUnZPGU4teyq8/ +nx4P5ZmVvCT2lI8wDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwDQYJ +KoZIhvcNAQELBQADggEBAFis9AQOzcAN/wr91LoWXym9e2iZWEnStB03TX8nfUYG +XUPGhi4+c7ImfU+TqbbEKpqrIZcUsd6M06uJFdhrJNTxFq7YpFzUf1GO7RgBsZNj +vbz4YYCanrHOQnDiqX0GJX0nof5v7LMeJNrjS1UaADs1tDvZ110w/YETifLCBivt +Z8SOyUOyXGsViQK8YvxO8rUzqrJv0wqiUOP2O+guRMLbZjipM1ZI8W0bM40NjD9g +N53Tym1+NH4Nn3J2ixufcv1SNUFFApYvHLKac0khsUlHRUe072o0EclNmsxZt9YC +nlpOZbWUrhvfKbAW8b8Angc6F2S1BLUjIZkKlTuXfO8= +-----END CERTIFICATE----- + +# Issuer: CN=AffirmTrust Networking O=AffirmTrust +# Subject: CN=AffirmTrust Networking O=AffirmTrust +# Label: "AffirmTrust Networking" +# Serial: 8957382827206547757 +# MD5 Fingerprint: 42:65:ca:be:01:9a:9a:4c:a9:8c:41:49:cd:c0:d5:7f +# SHA1 Fingerprint: 29:36:21:02:8b:20:ed:02:f5:66:c5:32:d1:d6:ed:90:9f:45:00:2f +# SHA256 Fingerprint: 0a:81:ec:5a:92:97:77:f1:45:90:4a:f3:8d:5d:50:9f:66:b5:e2:c5:8f:cd:b5:31:05:8b:0e:17:f3:f0:b4:1b +-----BEGIN CERTIFICATE----- +MIIDTDCCAjSgAwIBAgIIfE8EORzUmS0wDQYJKoZIhvcNAQEFBQAwRDELMAkGA1UE +BhMCVVMxFDASBgNVBAoMC0FmZmlybVRydXN0MR8wHQYDVQQDDBZBZmZpcm1UcnVz +dCBOZXR3b3JraW5nMB4XDTEwMDEyOTE0MDgyNFoXDTMwMTIzMTE0MDgyNFowRDEL +MAkGA1UEBhMCVVMxFDASBgNVBAoMC0FmZmlybVRydXN0MR8wHQYDVQQDDBZBZmZp +cm1UcnVzdCBOZXR3b3JraW5nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC +AQEAtITMMxcua5Rsa2FSoOujz3mUTOWUgJnLVWREZY9nZOIG41w3SfYvm4SEHi3y +YJ0wTsyEheIszx6e/jarM3c1RNg1lho9Nuh6DtjVR6FqaYvZ/Ls6rnla1fTWcbua +kCNrmreIdIcMHl+5ni36q1Mr3Lt2PpNMCAiMHqIjHNRqrSK6mQEubWXLviRmVSRL +QESxG9fhwoXA3hA/Pe24/PHxI1Pcv2WXb9n5QHGNfb2V1M6+oF4nI979ptAmDgAp +6zxG8D1gvz9Q0twmQVGeFDdCBKNwV6gbh+0t+nvujArjqWaJGctB+d1ENmHP4ndG +yH329JKBNv3bNPFyfvMMFr20FQIDAQABo0IwQDAdBgNVHQ4EFgQUBx/S55zawm6i +QLSwelAQUHTEyL0wDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwDQYJ +KoZIhvcNAQEFBQADggEBAIlXshZ6qML91tmbmzTCnLQyFE2npN/svqe++EPbkTfO +tDIuUFUaNU52Q3Eg75N3ThVwLofDwR1t3Mu1J9QsVtFSUzpE0nPIxBsFZVpikpzu +QY0x2+c06lkh1QF612S4ZDnNye2v7UsDSKegmQGA3GWjNq5lWUhPgkvIZfFXHeVZ +Lgo/bNjR9eUJtGxUAArgFU2HdW23WJZa3W3SAKD0m0i+wzekujbgfIeFlxoVot4u +olu9rxj5kFDNcFn4J2dHy8egBzp90SxdbBk6ZrV9/ZFvgrG+CJPbFEfxojfHRZ48 +x3evZKiT3/Zpg4Jg8klCNO1aAFSFHBY2kgxc+qatv9s= +-----END CERTIFICATE----- + +# Issuer: CN=AffirmTrust Premium O=AffirmTrust +# Subject: CN=AffirmTrust Premium O=AffirmTrust +# Label: "AffirmTrust Premium" +# Serial: 7893706540734352110 +# MD5 Fingerprint: c4:5d:0e:48:b6:ac:28:30:4e:0a:bc:f9:38:16:87:57 +# SHA1 Fingerprint: d8:a6:33:2c:e0:03:6f:b1:85:f6:63:4f:7d:6a:06:65:26:32:28:27 +# SHA256 Fingerprint: 70:a7:3f:7f:37:6b:60:07:42:48:90:45:34:b1:14:82:d5:bf:0e:69:8e:cc:49:8d:f5:25:77:eb:f2:e9:3b:9a +-----BEGIN CERTIFICATE----- +MIIFRjCCAy6gAwIBAgIIbYwURrGmCu4wDQYJKoZIhvcNAQEMBQAwQTELMAkGA1UE +BhMCVVMxFDASBgNVBAoMC0FmZmlybVRydXN0MRwwGgYDVQQDDBNBZmZpcm1UcnVz +dCBQcmVtaXVtMB4XDTEwMDEyOTE0MTAzNloXDTQwMTIzMTE0MTAzNlowQTELMAkG +A1UEBhMCVVMxFDASBgNVBAoMC0FmZmlybVRydXN0MRwwGgYDVQQDDBNBZmZpcm1U +cnVzdCBQcmVtaXVtMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAxBLf +qV/+Qd3d9Z+K4/as4Tx4mrzY8H96oDMq3I0gW64tb+eT2TZwamjPjlGjhVtnBKAQ +JG9dKILBl1fYSCkTtuG+kU3fhQxTGJoeJKJPj/CihQvL9Cl/0qRY7iZNyaqoe5rZ ++jjeRFcV5fiMyNlI4g0WJx0eyIOFJbe6qlVBzAMiSy2RjYvmia9mx+n/K+k8rNrS +s8PhaJyJ+HoAVt70VZVs+7pk3WKL3wt3MutizCaam7uqYoNMtAZ6MMgpv+0GTZe5 +HMQxK9VfvFMSF5yZVylmd2EhMQcuJUmdGPLu8ytxjLW6OQdJd/zvLpKQBY0tL3d7 +70O/Nbua2Plzpyzy0FfuKE4mX4+QaAkvuPjcBukumj5Rp9EixAqnOEhss/n/fauG +V+O61oV4d7pD6kh/9ti+I20ev9E2bFhc8e6kGVQa9QPSdubhjL08s9NIS+LI+H+S +qHZGnEJlPqQewQcDWkYtuJfzt9WyVSHvutxMAJf7FJUnM7/oQ0dG0giZFmA7mn7S +5u046uwBHjxIVkkJx0w3AJ6IDsBz4W9m6XJHMD4Q5QsDyZpCAGzFlH5hxIrff4Ia +C1nEWTJ3s7xgaVY5/bQGeyzWZDbZvUjthB9+pSKPKrhC9IK31FOQeE4tGv2Bb0TX +OwF0lkLgAOIua+rF7nKsu7/+6qqo+Nz2snmKtmcCAwEAAaNCMEAwHQYDVR0OBBYE +FJ3AZ6YMItkm9UWrpmVSESfYRaxjMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/ +BAQDAgEGMA0GCSqGSIb3DQEBDAUAA4ICAQCzV00QYk465KzquByvMiPIs0laUZx2 +KI15qldGF9X1Uva3ROgIRL8YhNILgM3FEv0AVQVhh0HctSSePMTYyPtwni94loMg +Nt58D2kTiKV1NpgIpsbfrM7jWNa3Pt668+s0QNiigfV4Py/VpfzZotReBA4Xrf5B +8OWycvpEgjNC6C1Y91aMYj+6QrCcDFx+LmUmXFNPALJ4fqENmS2NuB2OosSw/WDQ +MKSOyARiqcTtNd56l+0OOF6SL5Nwpamcb6d9Ex1+xghIsV5n61EIJenmJWtSKZGc +0jlzCFfemQa0W50QBuHCAKi4HEoCChTQwUHK+4w1IX2COPKpVJEZNZOUbWo6xbLQ +u4mGk+ibyQ86p3q4ofB4Rvr8Ny/lioTz3/4E2aFooC8k4gmVBtWVyuEklut89pMF +u+1z6S3RdTnX5yTb2E5fQ4+e0BQ5v1VwSJlXMbSc7kqYA5YwH2AG7hsj/oFgIxpH +YoWlzBk0gG+zrBrjn/B7SK3VAdlntqlyk+otZrWyuOQ9PLLvTIzq6we/qzWaVYa8 +GKa1qF60g2xraUDTn9zxw2lrueFtCfTxqlB2Cnp9ehehVZZCmTEJ3WARjQUwfuaO +RtGdFNrHF+QFlozEJLUbzxQHskD4o55BhrwE0GuWyCqANP2/7waj3VjFhT0+j/6e +KeC2uAloGRwYQw== +-----END CERTIFICATE----- + +# Issuer: CN=AffirmTrust Premium ECC O=AffirmTrust +# Subject: CN=AffirmTrust Premium ECC O=AffirmTrust +# Label: "AffirmTrust Premium ECC" +# Serial: 8401224907861490260 +# MD5 Fingerprint: 64:b0:09:55:cf:b1:d5:99:e2:be:13:ab:a6:5d:ea:4d +# SHA1 Fingerprint: b8:23:6b:00:2f:1d:16:86:53:01:55:6c:11:a4:37:ca:eb:ff:c3:bb +# SHA256 Fingerprint: bd:71:fd:f6:da:97:e4:cf:62:d1:64:7a:dd:25:81:b0:7d:79:ad:f8:39:7e:b4:ec:ba:9c:5e:84:88:82:14:23 +-----BEGIN CERTIFICATE----- +MIIB/jCCAYWgAwIBAgIIdJclisc/elQwCgYIKoZIzj0EAwMwRTELMAkGA1UEBhMC +VVMxFDASBgNVBAoMC0FmZmlybVRydXN0MSAwHgYDVQQDDBdBZmZpcm1UcnVzdCBQ +cmVtaXVtIEVDQzAeFw0xMDAxMjkxNDIwMjRaFw00MDEyMzExNDIwMjRaMEUxCzAJ +BgNVBAYTAlVTMRQwEgYDVQQKDAtBZmZpcm1UcnVzdDEgMB4GA1UEAwwXQWZmaXJt +VHJ1c3QgUHJlbWl1bSBFQ0MwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAAQNMF4bFZ0D +0KF5Nbc6PJJ6yhUczWLznCZcBz3lVPqj1swS6vQUX+iOGasvLkjmrBhDeKzQN8O9 +ss0s5kfiGuZjuD0uL3jET9v0D6RoTFVya5UdThhClXjMNzyR4ptlKymjQjBAMB0G +A1UdDgQWBBSaryl6wBE1NSZRMADDav5A1a7WPDAPBgNVHRMBAf8EBTADAQH/MA4G +A1UdDwEB/wQEAwIBBjAKBggqhkjOPQQDAwNnADBkAjAXCfOHiFBar8jAQr9HX/Vs +aobgxCd05DhT1wV/GzTjxi+zygk8N53X57hG8f2h4nECMEJZh0PUUd+60wkyWs6I +flc9nF9Ca/UHLbXwgpP5WW+uZPpY5Yse42O+tYHNbwKMeQ== +-----END CERTIFICATE----- + +# Issuer: CN=StartCom Certification Authority O=StartCom Ltd. OU=Secure Digital Certificate Signing +# Subject: CN=StartCom Certification Authority O=StartCom Ltd. OU=Secure Digital Certificate Signing +# Label: "StartCom Certification Authority" +# Serial: 45 +# MD5 Fingerprint: c9:3b:0d:84:41:fc:a4:76:79:23:08:57:de:10:19:16 +# SHA1 Fingerprint: a3:f1:33:3f:e2:42:bf:cf:c5:d1:4e:8f:39:42:98:40:68:10:d1:a0 +# SHA256 Fingerprint: e1:78:90:ee:09:a3:fb:f4:f4:8b:9c:41:4a:17:d6:37:b7:a5:06:47:e9:bc:75:23:22:72:7f:cc:17:42:a9:11 +-----BEGIN CERTIFICATE----- +MIIHhzCCBW+gAwIBAgIBLTANBgkqhkiG9w0BAQsFADB9MQswCQYDVQQGEwJJTDEW +MBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2VjdXJlIERpZ2l0YWwg +Q2VydGlmaWNhdGUgU2lnbmluZzEpMCcGA1UEAxMgU3RhcnRDb20gQ2VydGlmaWNh +dGlvbiBBdXRob3JpdHkwHhcNMDYwOTE3MTk0NjM3WhcNMzYwOTE3MTk0NjM2WjB9 +MQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMi +U2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzEpMCcGA1UEAxMgU3Rh +cnRDb20gQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwggIiMA0GCSqGSIb3DQEBAQUA +A4ICDwAwggIKAoICAQDBiNsJvGxGfHiflXu1M5DycmLWwTYgIiRezul38kMKogZk +pMyONvg45iPwbm2xPN1yo4UcodM9tDMr0y+v/uqwQVlntsQGfQqedIXWeUyAN3rf +OQVSWff0G0ZDpNKFhdLDcfN1YjS6LIp/Ho/u7TTQEceWzVI9ujPW3U3eCztKS5/C +Ji/6tRYccjV3yjxd5srhJosaNnZcAdt0FCX+7bWgiA/deMotHweXMAEtcnn6RtYT +Kqi5pquDSR3l8u/d5AGOGAqPY1MWhWKpDhk6zLVmpsJrdAfkK+F2PrRt2PZE4XNi +HzvEvqBTViVsUQn3qqvKv3b9bZvzndu/PWa8DFaqr5hIlTpL36dYUNk4dalb6kMM +Av+Z6+hsTXBbKWWc3apdzK8BMewM69KN6Oqce+Zu9ydmDBpI125C4z/eIT574Q1w ++2OqqGwaVLRcJXrJosmLFqa7LH4XXgVNWG4SHQHuEhANxjJ/GP/89PrNbpHoNkm+ +Gkhpi8KWTRoSsmkXwQqQ1vp5Iki/untp+HDH+no32NgN0nZPV/+Qt+OR0t3vwmC3 +Zzrd/qqc8NSLf3Iizsafl7b4r4qgEKjZ+xjGtrVcUjyJthkqcwEKDwOzEmDyei+B +26Nu/yYwl/WL3YlXtq09s68rxbd2AvCl1iuahhQqcvbjM4xdCUsT37uMdBNSSwID +AQABo4ICEDCCAgwwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYD +VR0OBBYEFE4L7xqkQFulF2mHMMo0aEPQQa7yMB8GA1UdIwQYMBaAFE4L7xqkQFul +F2mHMMo0aEPQQa7yMIIBWgYDVR0gBIIBUTCCAU0wggFJBgsrBgEEAYG1NwEBATCC +ATgwLgYIKwYBBQUHAgEWImh0dHA6Ly93d3cuc3RhcnRzc2wuY29tL3BvbGljeS5w +ZGYwNAYIKwYBBQUHAgEWKGh0dHA6Ly93d3cuc3RhcnRzc2wuY29tL2ludGVybWVk +aWF0ZS5wZGYwgc8GCCsGAQUFBwICMIHCMCcWIFN0YXJ0IENvbW1lcmNpYWwgKFN0 +YXJ0Q29tKSBMdGQuMAMCAQEagZZMaW1pdGVkIExpYWJpbGl0eSwgcmVhZCB0aGUg +c2VjdGlvbiAqTGVnYWwgTGltaXRhdGlvbnMqIG9mIHRoZSBTdGFydENvbSBDZXJ0 +aWZpY2F0aW9uIEF1dGhvcml0eSBQb2xpY3kgYXZhaWxhYmxlIGF0IGh0dHA6Ly93 +d3cuc3RhcnRzc2wuY29tL3BvbGljeS5wZGYwEQYJYIZIAYb4QgEBBAQDAgAHMDgG +CWCGSAGG+EIBDQQrFilTdGFydENvbSBGcmVlIFNTTCBDZXJ0aWZpY2F0aW9uIEF1 +dGhvcml0eTANBgkqhkiG9w0BAQsFAAOCAgEAjo/n3JR5fPGFf59Jb2vKXfuM/gTF +wWLRfUKKvFO3lANmMD+x5wqnUCBVJX92ehQN6wQOQOY+2IirByeDqXWmN3PH/UvS +Ta0XQMhGvjt/UfzDtgUx3M2FIk5xt/JxXrAaxrqTi3iSSoX4eA+D/i+tLPfkpLst +0OcNOrg+zvZ49q5HJMqjNTbOx8aHmNrs++myziebiMMEofYLWWivydsQD032ZGNc +pRJvkrKTlMeIFw6Ttn5ii5B/q06f/ON1FE8qMt9bDeD1e5MNq6HPh+GlBEXoPBKl +CcWw0bdT82AUuoVpaiF8H3VhFyAXe2w7QSlc4axa0c2Mm+tgHRns9+Ww2vl5GKVF +P0lDV9LdJNUso/2RjSe15esUBppMeyG7Oq0wBhjA2MFrLH9ZXF2RsXAiV+uKa0hK +1Q8p7MZAwC+ITGgBF3f0JBlPvfrhsiAhS90a2Cl9qrjeVOwhVYBsHvUwyKMQ5bLm +KhQxw4UtjJixhlpPiVktucf3HMiKf8CdBUrmQk9io20ppB+Fq9vlgcitKj1MXVuE +JnHEhV5xJMqlG2zYYdMa4FTbzrqpMrUi9nNBCV24F10OD5mQ1kfabwo6YigUZ4LZ +8dCAWZvLMdibD4x3TrVoivJs9iQOLWxwxXPR3hTQcY+203sC9uO41Alua551hDnm +fyWl8kgAwKQB2j8= +-----END CERTIFICATE----- + +# Issuer: CN=StartCom Certification Authority G2 O=StartCom Ltd. +# Subject: CN=StartCom Certification Authority G2 O=StartCom Ltd. +# Label: "StartCom Certification Authority G2" +# Serial: 59 +# MD5 Fingerprint: 78:4b:fb:9e:64:82:0a:d3:b8:4c:62:f3:64:f2:90:64 +# SHA1 Fingerprint: 31:f1:fd:68:22:63:20:ee:c6:3b:3f:9d:ea:4a:3e:53:7c:7c:39:17 +# SHA256 Fingerprint: c7:ba:65:67:de:93:a7:98:ae:1f:aa:79:1e:71:2d:37:8f:ae:1f:93:c4:39:7f:ea:44:1b:b7:cb:e6:fd:59:95 +-----BEGIN CERTIFICATE----- +MIIFYzCCA0ugAwIBAgIBOzANBgkqhkiG9w0BAQsFADBTMQswCQYDVQQGEwJJTDEW +MBQGA1UEChMNU3RhcnRDb20gTHRkLjEsMCoGA1UEAxMjU3RhcnRDb20gQ2VydGlm +aWNhdGlvbiBBdXRob3JpdHkgRzIwHhcNMTAwMTAxMDEwMDAxWhcNMzkxMjMxMjM1 +OTAxWjBTMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjEsMCoG +A1UEAxMjU3RhcnRDb20gQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkgRzIwggIiMA0G +CSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQC2iTZbB7cgNr2Cu+EWIAOVeq8Oo1XJ +JZlKxdBWQYeQTSFgpBSHO839sj60ZwNq7eEPS8CRhXBF4EKe3ikj1AENoBB5uNsD +vfOpL9HG4A/LnooUCri99lZi8cVytjIl2bLzvWXFDSxu1ZJvGIsAQRSCb0AgJnoo +D/Uefyf3lLE3PbfHkffiAez9lInhzG7TNtYKGXmu1zSCZf98Qru23QumNK9LYP5/ +Q0kGi4xDuFby2X8hQxfqp0iVAXV16iulQ5XqFYSdCI0mblWbq9zSOdIxHWDirMxW +RST1HFSr7obdljKF+ExP6JV2tgXdNiNnvP8V4so75qbsO+wmETRIjfaAKxojAuuK +HDp2KntWFhxyKrOq42ClAJ8Em+JvHhRYW6Vsi1g8w7pOOlz34ZYrPu8HvKTlXcxN +nw3h3Kq74W4a7I/htkxNeXJdFzULHdfBR9qWJODQcqhaX2YtENwvKhOuJv4KHBnM +0D4LnMgJLvlblnpHnOl68wVQdJVznjAJ85eCXuaPOQgeWeU1FEIT/wCc976qUM/i +UUjXuG+v+E5+M5iSFGI6dWPPe/regjupuznixL0sAA7IF6wT700ljtizkC+p2il9 +Ha90OrInwMEePnWjFqmveiJdnxMaz6eg6+OGCtP95paV1yPIN93EfKo2rJgaErHg +TuixO/XWb/Ew1wIDAQABo0IwQDAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQE +AwIBBjAdBgNVHQ4EFgQUS8W0QGutHLOlHGVuRjaJhwUMDrYwDQYJKoZIhvcNAQEL +BQADggIBAHNXPyzVlTJ+N9uWkusZXn5T50HsEbZH77Xe7XRcxfGOSeD8bpkTzZ+K +2s06Ctg6Wgk/XzTQLwPSZh0avZyQN8gMjgdalEVGKua+etqhqaRpEpKwfTbURIfX +UfEpY9Z1zRbkJ4kd+MIySP3bmdCPX1R0zKxnNBFi2QwKN4fRoxdIjtIXHfbX/dtl +6/2o1PXWT6RbdejF0mCy2wl+JYt7ulKSnj7oxXehPOBKc2thz4bcQ///If4jXSRK +9dNtD2IEBVeC2m6kMyV5Sy5UGYvMLD0w6dEG/+gyRr61M3Z3qAFdlsHB1b6uJcDJ +HgoJIIihDsnzb02CVAAgp9KP5DlUFy6NHrgbuxu9mk47EDTcnIhT76IxW1hPkWLI +wpqazRVdOKnWvvgTtZ8SafJQYqz7Fzf07rh1Z2AQ+4NQ+US1dZxAF7L+/XldblhY +XzD8AK6vM8EOTmy6p6ahfzLbOOCxchcKK5HsamMm7YnUeMx0HgX4a/6ManY5Ka5l +IxKVCCIcl85bBu4M4ru8H0ST9tg4RQUh7eStqxK2A6RCLi3ECToDZ2mEmuFZkIoo +hdVddLHRDiBYmxOlsGOm7XtH/UVVMKTumtTm4ofvmMkyghEpIrwACjFeLQ/Ajulr +so8uBtjRkcfGEvRM/TAXw8HaOFvjqermobp573PYtlNXLfbQ4ddI +-----END CERTIFICATE----- diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Logger/Abstract.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Logger/Abstract.php new file mode 100644 index 0000000..d759b95 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Logger/Abstract.php @@ -0,0 +1,408 @@ + 600, + self::ALERT => 550, + self::CRITICAL => 500, + self::ERROR => 400, + self::WARNING => 300, + self::NOTICE => 250, + self::INFO => 200, + self::DEBUG => 100, + ); + + /** + * @var integer $level The minimum logging level + */ + protected $level = self::DEBUG; + + /** + * @var string $logFormat The current log format + */ + protected $logFormat = self::DEFAULT_LOG_FORMAT; + /** + * @var string $dateFormat The current date format + */ + protected $dateFormat = self::DEFAULT_DATE_FORMAT; + + /** + * @var boolean $allowNewLines If newlines are allowed + */ + protected $allowNewLines = false; + + /** + * @param Google_Client $client The current Google client + */ + public function __construct(Google_Client $client) + { + $this->setLevel( + $client->getClassConfig('Google_Logger_Abstract', 'level') + ); + + $format = $client->getClassConfig('Google_Logger_Abstract', 'log_format'); + $this->logFormat = $format ? $format : self::DEFAULT_LOG_FORMAT; + + $format = $client->getClassConfig('Google_Logger_Abstract', 'date_format'); + $this->dateFormat = $format ? $format : self::DEFAULT_DATE_FORMAT; + + $this->allowNewLines = (bool) $client->getClassConfig( + 'Google_Logger_Abstract', + 'allow_newlines' + ); + } + + /** + * Sets the minimum logging level that this logger handles. + * + * @param integer $level + */ + public function setLevel($level) + { + $this->level = $this->normalizeLevel($level); + } + + /** + * Checks if the logger should handle messages at the provided level. + * + * @param integer $level + * @return boolean + */ + public function shouldHandle($level) + { + return $this->normalizeLevel($level) >= $this->level; + } + + /** + * System is unusable. + * + * @param string $message The log message + * @param array $context The log context + */ + public function emergency($message, array $context = array()) + { + $this->log(self::EMERGENCY, $message, $context); + } + + /** + * Action must be taken immediately. + * + * Example: Entire website down, database unavailable, etc. This should + * trigger the SMS alerts and wake you up. + * + * @param string $message The log message + * @param array $context The log context + */ + public function alert($message, array $context = array()) + { + $this->log(self::ALERT, $message, $context); + } + + /** + * Critical conditions. + * + * Example: Application component unavailable, unexpected exception. + * + * @param string $message The log message + * @param array $context The log context + */ + public function critical($message, array $context = array()) + { + $this->log(self::CRITICAL, $message, $context); + } + + /** + * Runtime errors that do not require immediate action but should typically + * be logged and monitored. + * + * @param string $message The log message + * @param array $context The log context + */ + public function error($message, array $context = array()) + { + $this->log(self::ERROR, $message, $context); + } + + /** + * Exceptional occurrences that are not errors. + * + * Example: Use of deprecated APIs, poor use of an API, undesirable things + * that are not necessarily wrong. + * + * @param string $message The log message + * @param array $context The log context + */ + public function warning($message, array $context = array()) + { + $this->log(self::WARNING, $message, $context); + } + + /** + * Normal but significant events. + * + * @param string $message The log message + * @param array $context The log context + */ + public function notice($message, array $context = array()) + { + $this->log(self::NOTICE, $message, $context); + } + + /** + * Interesting events. + * + * Example: User logs in, SQL logs. + * + * @param string $message The log message + * @param array $context The log context + */ + public function info($message, array $context = array()) + { + $this->log(self::INFO, $message, $context); + } + + /** + * Detailed debug information. + * + * @param string $message The log message + * @param array $context The log context + */ + public function debug($message, array $context = array()) + { + $this->log(self::DEBUG, $message, $context); + } + + /** + * Logs with an arbitrary level. + * + * @param mixed $level The log level + * @param string $message The log message + * @param array $context The log context + */ + public function log($level, $message, array $context = array()) + { + if (!$this->shouldHandle($level)) { + return false; + } + + $levelName = is_int($level) ? array_search($level, self::$levels) : $level; + $message = $this->interpolate( + array( + 'message' => $message, + 'context' => $context, + 'level' => strtoupper($levelName), + 'datetime' => new DateTime(), + ) + ); + + $this->write($message); + } + + /** + * Interpolates log variables into the defined log format. + * + * @param array $variables The log variables. + * @return string + */ + protected function interpolate(array $variables = array()) + { + $template = $this->logFormat; + + if (!$variables['context']) { + $template = str_replace('%context%', '', $template); + unset($variables['context']); + } else { + $this->reverseJsonInContext($variables['context']); + } + + foreach ($variables as $key => $value) { + if (strpos($template, '%'. $key .'%') !== false) { + $template = str_replace( + '%' . $key . '%', + $this->export($value), + $template + ); + } + } + + return $template; + } + + /** + * Reverses JSON encoded PHP arrays and objects so that they log better. + * + * @param array $context The log context + */ + protected function reverseJsonInContext(array &$context) + { + if (!$context) { + return; + } + + foreach ($context as $key => $val) { + if (!$val || !is_string($val) || !($val[0] == '{' || $val[0] == '[')) { + continue; + } + + $json = @json_decode($val); + if (is_object($json) || is_array($json)) { + $context[$key] = $json; + } + } + } + + /** + * Exports a PHP value for logging to a string. + * + * @param mixed $value The value to + */ + protected function export($value) + { + if (is_string($value)) { + if ($this->allowNewLines) { + return $value; + } + + return preg_replace('/[\r\n]+/', ' ', $value); + } + + if (is_resource($value)) { + return sprintf( + 'resource(%d) of type (%s)', + $value, + get_resource_type($value) + ); + } + + if ($value instanceof DateTime) { + return $value->format($this->dateFormat); + } + + if (version_compare(PHP_VERSION, '5.4.0', '>=')) { + $options = JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE; + + if ($this->allowNewLines) { + $options |= JSON_PRETTY_PRINT; + } + + return @json_encode($value, $options); + } + + return str_replace('\\/', '/', @json_encode($value)); + } + + /** + * Converts a given log level to the integer form. + * + * @param mixed $level The logging level + * @return integer $level The normalized level + * @throws Google_Logger_Exception If $level is invalid + */ + protected function normalizeLevel($level) + { + if (is_int($level) && array_search($level, self::$levels) !== false) { + return $level; + } + + if (is_string($level) && isset(self::$levels[$level])) { + return self::$levels[$level]; + } + + throw new Google_Logger_Exception( + sprintf("Unknown LogLevel: '%s'", $level) + ); + } + + /** + * Writes a message to the current log implementation. + * + * @param string $message The message + */ + abstract protected function write($message); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Logger/Exception.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Logger/Exception.php new file mode 100644 index 0000000..6b0e873 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Logger/Exception.php @@ -0,0 +1,24 @@ +getClassConfig('Google_Logger_File', 'file'); + if (!is_string($file) && !is_resource($file)) { + throw new Google_Logger_Exception( + 'File logger requires a filename or a valid file pointer' + ); + } + + $mode = $client->getClassConfig('Google_Logger_File', 'mode'); + if (!$mode) { + $this->mode = $mode; + } + + $this->lock = (bool) $client->getClassConfig('Google_Logger_File', 'lock'); + $this->file = $file; + } + + /** + * {@inheritdoc} + */ + protected function write($message) + { + if (is_string($this->file)) { + $this->open(); + } elseif (!is_resource($this->file)) { + throw new Google_Logger_Exception('File pointer is no longer available'); + } + + if ($this->lock) { + flock($this->file, LOCK_EX); + } + + fwrite($this->file, (string) $message); + + if ($this->lock) { + flock($this->file, LOCK_UN); + } + } + + /** + * Opens the log for writing. + * + * @return resource + */ + private function open() + { + // Used for trapping `fopen()` errors. + $this->trappedErrorNumber = null; + $this->trappedErrorString = null; + + $old = set_error_handler(array($this, 'trapError')); + + $needsChmod = !file_exists($this->file); + $fh = fopen($this->file, 'a'); + + restore_error_handler(); + + // Handles trapped `fopen()` errors. + if ($this->trappedErrorNumber) { + throw new Google_Logger_Exception( + sprintf( + "Logger Error: '%s'", + $this->trappedErrorString + ), + $this->trappedErrorNumber + ); + } + + if ($needsChmod) { + @chmod($this->file, $this->mode & ~umask()); + } + + return $this->file = $fh; + } + + /** + * Closes the log stream resource. + */ + private function close() + { + if (is_resource($this->file)) { + fclose($this->file); + } + } + + /** + * Traps `fopen()` errors. + * + * @param integer $errno The error number + * @param string $errstr The error string + */ + private function trapError($errno, $errstr) + { + $this->trappedErrorNumber = $errno; + $this->trappedErrorString = $errstr; + } + + public function __destruct() + { + $this->close(); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Logger/Null.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Logger/Null.php new file mode 100644 index 0000000..62fa890 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Logger/Null.php @@ -0,0 +1,43 @@ +setLogger($logger); + } + } + + /** + * Sets the PSR-3 logger where logging will be delegated. + * + * NOTE: The `$logger` should technically implement + * `Psr\Log\LoggerInterface`, but we don't explicitly require this so that + * we can be compatible with PHP 5.2. + * + * @param Psr\Log\LoggerInterface $logger The PSR-3 logger + */ + public function setLogger(/*Psr\Log\LoggerInterface*/ $logger) + { + $this->logger = $logger; + } + + /** + * {@inheritdoc} + */ + public function shouldHandle($level) + { + return isset($this->logger) && parent::shouldHandle($level); + } + + /** + * {@inheritdoc} + */ + public function log($level, $message, array $context = array()) + { + if (!$this->shouldHandle($level)) { + return false; + } + + if ($context) { + $this->reverseJsonInContext($context); + } + + $levelName = is_int($level) ? array_search($level, self::$levels) : $level; + $this->logger->log($levelName, $message, $context); + } + + /** + * {@inheritdoc} + */ + protected function write($message, array $context = array()) + { + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Model.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Model.php new file mode 100644 index 0000000..df8216a --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Model.php @@ -0,0 +1,295 @@ +mapTypes($array); + } + $this->gapiInit(); + } + + /** + * Getter that handles passthrough access to the data array, and lazy object creation. + * @param string $key Property name. + * @return mixed The value if any, or null. + */ + public function __get($key) + { + $keyTypeName = $this->keyType($key); + $keyDataType = $this->dataType($key); + if (isset($this->$keyTypeName) && !isset($this->processed[$key])) { + if (isset($this->modelData[$key])) { + $val = $this->modelData[$key]; + } else if (isset($this->$keyDataType) && + ($this->$keyDataType == 'array' || $this->$keyDataType == 'map')) { + $val = array(); + } else { + $val = null; + } + + if ($this->isAssociativeArray($val)) { + if (isset($this->$keyDataType) && 'map' == $this->$keyDataType) { + foreach ($val as $arrayKey => $arrayItem) { + $this->modelData[$key][$arrayKey] = + $this->createObjectFromName($keyTypeName, $arrayItem); + } + } else { + $this->modelData[$key] = $this->createObjectFromName($keyTypeName, $val); + } + } else if (is_array($val)) { + $arrayObject = array(); + foreach ($val as $arrayIndex => $arrayItem) { + $arrayObject[$arrayIndex] = + $this->createObjectFromName($keyTypeName, $arrayItem); + } + $this->modelData[$key] = $arrayObject; + } + $this->processed[$key] = true; + } + + return isset($this->modelData[$key]) ? $this->modelData[$key] : null; + } + + /** + * Initialize this object's properties from an array. + * + * @param array $array Used to seed this object's properties. + * @return void + */ + protected function mapTypes($array) + { + // Hard initialise simple types, lazy load more complex ones. + foreach ($array as $key => $val) { + if ( !property_exists($this, $this->keyType($key)) && + property_exists($this, $key)) { + $this->$key = $val; + unset($array[$key]); + } elseif (property_exists($this, $camelKey = Google_Utils::camelCase($key))) { + // This checks if property exists as camelCase, leaving it in array as snake_case + // in case of backwards compatibility issues. + $this->$camelKey = $val; + } + } + $this->modelData = $array; + } + + /** + * Blank initialiser to be used in subclasses to do post-construction initialisation - this + * avoids the need for subclasses to have to implement the variadics handling in their + * constructors. + */ + protected function gapiInit() + { + return; + } + + /** + * Create a simplified object suitable for straightforward + * conversion to JSON. This is relatively expensive + * due to the usage of reflection, but shouldn't be called + * a whole lot, and is the most straightforward way to filter. + */ + public function toSimpleObject() + { + $object = new stdClass(); + + // Process all other data. + foreach ($this->modelData as $key => $val) { + $result = $this->getSimpleValue($val); + if ($result !== null) { + $object->$key = $this->nullPlaceholderCheck($result); + } + } + + // Process all public properties. + $reflect = new ReflectionObject($this); + $props = $reflect->getProperties(ReflectionProperty::IS_PUBLIC); + foreach ($props as $member) { + $name = $member->getName(); + $result = $this->getSimpleValue($this->$name); + if ($result !== null) { + $name = $this->getMappedName($name); + $object->$name = $this->nullPlaceholderCheck($result); + } + } + + return $object; + } + + /** + * Handle different types of values, primarily + * other objects and map and array data types. + */ + private function getSimpleValue($value) + { + if ($value instanceof Google_Model) { + return $value->toSimpleObject(); + } else if (is_array($value)) { + $return = array(); + foreach ($value as $key => $a_value) { + $a_value = $this->getSimpleValue($a_value); + if ($a_value !== null) { + $key = $this->getMappedName($key); + $return[$key] = $this->nullPlaceholderCheck($a_value); + } + } + return $return; + } + return $value; + } + + /** + * Check whether the value is the null placeholder and return true null. + */ + private function nullPlaceholderCheck($value) + { + if ($value === self::NULL_VALUE) { + return null; + } + return $value; + } + + /** + * If there is an internal name mapping, use that. + */ + private function getMappedName($key) + { + if (isset($this->internal_gapi_mappings) && + isset($this->internal_gapi_mappings[$key])) { + $key = $this->internal_gapi_mappings[$key]; + } + return $key; + } + + /** + * Returns true only if the array is associative. + * @param array $array + * @return bool True if the array is associative. + */ + protected function isAssociativeArray($array) + { + if (!is_array($array)) { + return false; + } + $keys = array_keys($array); + foreach ($keys as $key) { + if (is_string($key)) { + return true; + } + } + return false; + } + + /** + * Given a variable name, discover its type. + * + * @param $name + * @param $item + * @return object The object from the item. + */ + private function createObjectFromName($name, $item) + { + $type = $this->$name; + return new $type($item); + } + + /** + * Verify if $obj is an array. + * @throws Google_Exception Thrown if $obj isn't an array. + * @param array $obj Items that should be validated. + * @param string $method Method expecting an array as an argument. + */ + public function assertIsArray($obj, $method) + { + if ($obj && !is_array($obj)) { + throw new Google_Exception( + "Incorrect parameter type passed to $method(). Expected an array." + ); + } + } + + public function offsetExists($offset) + { + return isset($this->$offset) || isset($this->modelData[$offset]); + } + + public function offsetGet($offset) + { + return isset($this->$offset) ? + $this->$offset : + $this->__get($offset); + } + + public function offsetSet($offset, $value) + { + if (property_exists($this, $offset)) { + $this->$offset = $value; + } else { + $this->modelData[$offset] = $value; + $this->processed[$offset] = true; + } + } + + public function offsetUnset($offset) + { + unset($this->modelData[$offset]); + } + + protected function keyType($key) + { + return $key . "Type"; + } + + protected function dataType($key) + { + return $key . "DataType"; + } + + public function __isset($key) + { + return isset($this->modelData[$key]); + } + + public function __unset($key) + { + unset($this->modelData[$key]); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service.php new file mode 100644 index 0000000..d3fd3b4 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service.php @@ -0,0 +1,56 @@ +client = $client; + } + + /** + * Return the associated Google_Client class. + * @return Google_Client + */ + public function getClient() + { + return $this->client; + } + + /** + * Create a new HTTP Batch handler for this service + * + * @return Google_Http_Batch + */ + public function createBatch() + { + return new Google_Http_Batch( + $this->client, + false, + $this->rootUrl, + $this->batchPath + ); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/AdExchangeBuyer.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/AdExchangeBuyer.php new file mode 100644 index 0000000..84d401c --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/AdExchangeBuyer.php @@ -0,0 +1,6646 @@ + + * Accesses your bidding-account information, submits creatives for validation, + * finds available direct deals, and retrieves performance reports.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_AdExchangeBuyer extends Google_Service +{ + /** Manage your Ad Exchange buyer account configuration. */ + const ADEXCHANGE_BUYER = + "https://www.googleapis.com/auth/adexchange.buyer"; + + public $accounts; + public $billingInfo; + public $budget; + public $clientaccess; + public $creatives; + public $deals; + public $marketplacedeals; + public $marketplacenotes; + public $marketplaceoffers; + public $marketplaceorders; + public $negotiationrounds; + public $negotiations; + public $offers; + public $performanceReport; + public $pretargetingConfig; + + + /** + * Constructs the internal representation of the AdExchangeBuyer service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'adexchangebuyer/v1.4/'; + $this->version = 'v1.4'; + $this->serviceName = 'adexchangebuyer'; + + $this->accounts = new Google_Service_AdExchangeBuyer_Accounts_Resource( + $this, + $this->serviceName, + 'accounts', + array( + 'methods' => array( + 'get' => array( + 'path' => 'accounts/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'accounts', + 'httpMethod' => 'GET', + 'parameters' => array(), + ),'patch' => array( + 'path' => 'accounts/{id}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'accounts/{id}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->billingInfo = new Google_Service_AdExchangeBuyer_BillingInfo_Resource( + $this, + $this->serviceName, + 'billingInfo', + array( + 'methods' => array( + 'get' => array( + 'path' => 'billinginfo/{accountId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'billinginfo', + 'httpMethod' => 'GET', + 'parameters' => array(), + ), + ) + ) + ); + $this->budget = new Google_Service_AdExchangeBuyer_Budget_Resource( + $this, + $this->serviceName, + 'budget', + array( + 'methods' => array( + 'get' => array( + 'path' => 'billinginfo/{accountId}/{billingId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'billingId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'billinginfo/{accountId}/{billingId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'billingId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'billinginfo/{accountId}/{billingId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'billingId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->clientaccess = new Google_Service_AdExchangeBuyer_Clientaccess_Resource( + $this, + $this->serviceName, + 'clientaccess', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'clientAccess/{clientAccountId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'clientAccountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sponsorAccountId' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'clientAccess/{clientAccountId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'clientAccountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sponsorAccountId' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'clientAccess', + 'httpMethod' => 'POST', + 'parameters' => array( + 'clientAccountId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sponsorAccountId' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'list' => array( + 'path' => 'clientAccess', + 'httpMethod' => 'GET', + 'parameters' => array(), + ),'patch' => array( + 'path' => 'clientAccess/{clientAccountId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'clientAccountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sponsorAccountId' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'clientAccess/{clientAccountId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'clientAccountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sponsorAccountId' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->creatives = new Google_Service_AdExchangeBuyer_Creatives_Resource( + $this, + $this->serviceName, + 'creatives', + array( + 'methods' => array( + 'get' => array( + 'path' => 'creatives/{accountId}/{buyerCreativeId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + 'buyerCreativeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'creatives', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'list' => array( + 'path' => 'creatives', + 'httpMethod' => 'GET', + 'parameters' => array( + 'openAuctionStatusFilter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'buyerCreativeId' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'dealsStatusFilter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'accountId' => array( + 'location' => 'query', + 'type' => 'integer', + 'repeated' => true, + ), + ), + ), + ) + ) + ); + $this->deals = new Google_Service_AdExchangeBuyer_Deals_Resource( + $this, + $this->serviceName, + 'deals', + array( + 'methods' => array( + 'get' => array( + 'path' => 'deals/{dealId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'dealId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->marketplacedeals = new Google_Service_AdExchangeBuyer_Marketplacedeals_Resource( + $this, + $this->serviceName, + 'marketplacedeals', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'marketplaceOrders/{orderId}/deals/delete', + 'httpMethod' => 'POST', + 'parameters' => array( + 'orderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'marketplaceOrders/{orderId}/deals/insert', + 'httpMethod' => 'POST', + 'parameters' => array( + 'orderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'marketplaceOrders/{orderId}/deals', + 'httpMethod' => 'GET', + 'parameters' => array( + 'orderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'marketplaceOrders/{orderId}/deals/update', + 'httpMethod' => 'POST', + 'parameters' => array( + 'orderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->marketplacenotes = new Google_Service_AdExchangeBuyer_Marketplacenotes_Resource( + $this, + $this->serviceName, + 'marketplacenotes', + array( + 'methods' => array( + 'insert' => array( + 'path' => 'marketplaceOrders/{orderId}/notes/insert', + 'httpMethod' => 'POST', + 'parameters' => array( + 'orderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'marketplaceOrders/{orderId}/notes', + 'httpMethod' => 'GET', + 'parameters' => array( + 'orderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->marketplaceoffers = new Google_Service_AdExchangeBuyer_Marketplaceoffers_Resource( + $this, + $this->serviceName, + 'marketplaceoffers', + array( + 'methods' => array( + 'get' => array( + 'path' => 'marketplaceOffers/{offerId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'offerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'search' => array( + 'path' => 'marketplaceOffers/search', + 'httpMethod' => 'GET', + 'parameters' => array( + 'pqlQuery' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->marketplaceorders = new Google_Service_AdExchangeBuyer_Marketplaceorders_Resource( + $this, + $this->serviceName, + 'marketplaceorders', + array( + 'methods' => array( + 'get' => array( + 'path' => 'marketplaceOrders/{orderId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'orderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'marketplaceOrders/insert', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'patch' => array( + 'path' => 'marketplaceOrders/{orderId}/{revisionNumber}/{updateAction}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'orderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'revisionNumber' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'updateAction' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'search' => array( + 'path' => 'marketplaceOrders/search', + 'httpMethod' => 'GET', + 'parameters' => array( + 'pqlQuery' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'marketplaceOrders/{orderId}/{revisionNumber}/{updateAction}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'orderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'revisionNumber' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'updateAction' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->negotiationrounds = new Google_Service_AdExchangeBuyer_Negotiationrounds_Resource( + $this, + $this->serviceName, + 'negotiationrounds', + array( + 'methods' => array( + 'insert' => array( + 'path' => 'negotiations/{negotiationId}/negotiationrounds', + 'httpMethod' => 'POST', + 'parameters' => array( + 'negotiationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->negotiations = new Google_Service_AdExchangeBuyer_Negotiations_Resource( + $this, + $this->serviceName, + 'negotiations', + array( + 'methods' => array( + 'get' => array( + 'path' => 'negotiations/{negotiationId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'negotiationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'negotiations', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'list' => array( + 'path' => 'negotiations', + 'httpMethod' => 'GET', + 'parameters' => array(), + ), + ) + ) + ); + $this->offers = new Google_Service_AdExchangeBuyer_Offers_Resource( + $this, + $this->serviceName, + 'offers', + array( + 'methods' => array( + 'get' => array( + 'path' => 'offers/{offerId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'offerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'offers', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'list' => array( + 'path' => 'offers', + 'httpMethod' => 'GET', + 'parameters' => array(), + ), + ) + ) + ); + $this->performanceReport = new Google_Service_AdExchangeBuyer_PerformanceReport_Resource( + $this, + $this->serviceName, + 'performanceReport', + array( + 'methods' => array( + 'list' => array( + 'path' => 'performancereport', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'endDateTime' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'startDateTime' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->pretargetingConfig = new Google_Service_AdExchangeBuyer_PretargetingConfig_Resource( + $this, + $this->serviceName, + 'pretargetingConfig', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'pretargetingconfigs/{accountId}/{configId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'configId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'pretargetingconfigs/{accountId}/{configId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'configId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'pretargetingconfigs/{accountId}', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'pretargetingconfigs/{accountId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'pretargetingconfigs/{accountId}/{configId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'configId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'pretargetingconfigs/{accountId}/{configId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'configId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "accounts" collection of methods. + * Typical usage is: + * + * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...); + * $accounts = $adexchangebuyerService->accounts; + * + */ +class Google_Service_AdExchangeBuyer_Accounts_Resource extends Google_Service_Resource +{ + + /** + * Gets one account by ID. (accounts.get) + * + * @param int $id The account id + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_Account + */ + public function get($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_Account"); + } + + /** + * Retrieves the authenticated user's list of accounts. (accounts.listAccounts) + * + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_AccountsList + */ + public function listAccounts($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_AccountsList"); + } + + /** + * Updates an existing account. This method supports patch semantics. + * (accounts.patch) + * + * @param int $id The account id + * @param Google_Account $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_Account + */ + public function patch($id, Google_Service_AdExchangeBuyer_Account $postBody, $optParams = array()) + { + $params = array('id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_AdExchangeBuyer_Account"); + } + + /** + * Updates an existing account. (accounts.update) + * + * @param int $id The account id + * @param Google_Account $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_Account + */ + public function update($id, Google_Service_AdExchangeBuyer_Account $postBody, $optParams = array()) + { + $params = array('id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_Account"); + } +} + +/** + * The "billingInfo" collection of methods. + * Typical usage is: + * + * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...); + * $billingInfo = $adexchangebuyerService->billingInfo; + * + */ +class Google_Service_AdExchangeBuyer_BillingInfo_Resource extends Google_Service_Resource +{ + + /** + * Returns the billing information for one account specified by account ID. + * (billingInfo.get) + * + * @param int $accountId The account id. + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_BillingInfo + */ + public function get($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_BillingInfo"); + } + + /** + * Retrieves a list of billing information for all accounts of the authenticated + * user. (billingInfo.listBillingInfo) + * + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_BillingInfoList + */ + public function listBillingInfo($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_BillingInfoList"); + } +} + +/** + * The "budget" collection of methods. + * Typical usage is: + * + * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...); + * $budget = $adexchangebuyerService->budget; + * + */ +class Google_Service_AdExchangeBuyer_Budget_Resource extends Google_Service_Resource +{ + + /** + * Returns the budget information for the adgroup specified by the accountId and + * billingId. (budget.get) + * + * @param string $accountId The account id to get the budget information for. + * @param string $billingId The billing id to get the budget information for. + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_Budget + */ + public function get($accountId, $billingId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'billingId' => $billingId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_Budget"); + } + + /** + * Updates the budget amount for the budget of the adgroup specified by the + * accountId and billingId, with the budget amount in the request. This method + * supports patch semantics. (budget.patch) + * + * @param string $accountId The account id associated with the budget being + * updated. + * @param string $billingId The billing id associated with the budget being + * updated. + * @param Google_Budget $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_Budget + */ + public function patch($accountId, $billingId, Google_Service_AdExchangeBuyer_Budget $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'billingId' => $billingId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_AdExchangeBuyer_Budget"); + } + + /** + * Updates the budget amount for the budget of the adgroup specified by the + * accountId and billingId, with the budget amount in the request. + * (budget.update) + * + * @param string $accountId The account id associated with the budget being + * updated. + * @param string $billingId The billing id associated with the budget being + * updated. + * @param Google_Budget $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_Budget + */ + public function update($accountId, $billingId, Google_Service_AdExchangeBuyer_Budget $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'billingId' => $billingId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_Budget"); + } +} + +/** + * The "clientaccess" collection of methods. + * Typical usage is: + * + * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...); + * $clientaccess = $adexchangebuyerService->clientaccess; + * + */ +class Google_Service_AdExchangeBuyer_Clientaccess_Resource extends Google_Service_Resource +{ + + /** + * (clientaccess.delete) + * + * @param string $clientAccountId + * @param int $sponsorAccountId + * @param array $optParams Optional parameters. + */ + public function delete($clientAccountId, $sponsorAccountId, $optParams = array()) + { + $params = array('clientAccountId' => $clientAccountId, 'sponsorAccountId' => $sponsorAccountId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * (clientaccess.get) + * + * @param string $clientAccountId + * @param int $sponsorAccountId + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_ClientAccessCapabilities + */ + public function get($clientAccountId, $sponsorAccountId, $optParams = array()) + { + $params = array('clientAccountId' => $clientAccountId, 'sponsorAccountId' => $sponsorAccountId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_ClientAccessCapabilities"); + } + + /** + * (clientaccess.insert) + * + * @param Google_ClientAccessCapabilities $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string clientAccountId + * @opt_param int sponsorAccountId + * @return Google_Service_AdExchangeBuyer_ClientAccessCapabilities + */ + public function insert(Google_Service_AdExchangeBuyer_ClientAccessCapabilities $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_ClientAccessCapabilities"); + } + + /** + * (clientaccess.listClientaccess) + * + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_ListClientAccessCapabilitiesResponse + */ + public function listClientaccess($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_ListClientAccessCapabilitiesResponse"); + } + + /** + * (clientaccess.patch) + * + * @param string $clientAccountId + * @param int $sponsorAccountId + * @param Google_ClientAccessCapabilities $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_ClientAccessCapabilities + */ + public function patch($clientAccountId, $sponsorAccountId, Google_Service_AdExchangeBuyer_ClientAccessCapabilities $postBody, $optParams = array()) + { + $params = array('clientAccountId' => $clientAccountId, 'sponsorAccountId' => $sponsorAccountId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_AdExchangeBuyer_ClientAccessCapabilities"); + } + + /** + * (clientaccess.update) + * + * @param string $clientAccountId + * @param int $sponsorAccountId + * @param Google_ClientAccessCapabilities $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_ClientAccessCapabilities + */ + public function update($clientAccountId, $sponsorAccountId, Google_Service_AdExchangeBuyer_ClientAccessCapabilities $postBody, $optParams = array()) + { + $params = array('clientAccountId' => $clientAccountId, 'sponsorAccountId' => $sponsorAccountId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_ClientAccessCapabilities"); + } +} + +/** + * The "creatives" collection of methods. + * Typical usage is: + * + * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...); + * $creatives = $adexchangebuyerService->creatives; + * + */ +class Google_Service_AdExchangeBuyer_Creatives_Resource extends Google_Service_Resource +{ + + /** + * Gets the status for a single creative. A creative will be available 30-40 + * minutes after submission. (creatives.get) + * + * @param int $accountId The id for the account that will serve this creative. + * @param string $buyerCreativeId The buyer-specific id for this creative. + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_Creative + */ + public function get($accountId, $buyerCreativeId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'buyerCreativeId' => $buyerCreativeId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_Creative"); + } + + /** + * Submit a new creative. (creatives.insert) + * + * @param Google_Creative $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_Creative + */ + public function insert(Google_Service_AdExchangeBuyer_Creative $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_Creative"); + } + + /** + * Retrieves a list of the authenticated user's active creatives. A creative + * will be available 30-40 minutes after submission. (creatives.listCreatives) + * + * @param array $optParams Optional parameters. + * + * @opt_param string openAuctionStatusFilter When specified, only creatives + * having the given open auction status are returned. + * @opt_param string maxResults Maximum number of entries returned on one result + * page. If not set, the default is 100. Optional. + * @opt_param string pageToken A continuation token, used to page through ad + * clients. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. Optional. + * @opt_param string buyerCreativeId When specified, only creatives for the + * given buyer creative ids are returned. + * @opt_param string dealsStatusFilter When specified, only creatives having the + * given direct deals status are returned. + * @opt_param int accountId When specified, only creatives for the given account + * ids are returned. + * @return Google_Service_AdExchangeBuyer_CreativesList + */ + public function listCreatives($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_CreativesList"); + } +} + +/** + * The "deals" collection of methods. + * Typical usage is: + * + * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...); + * $deals = $adexchangebuyerService->deals; + * + */ +class Google_Service_AdExchangeBuyer_Deals_Resource extends Google_Service_Resource +{ + + /** + * Gets the requested deal. (deals.get) + * + * @param string $dealId + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_NegotiationDto + */ + public function get($dealId, $optParams = array()) + { + $params = array('dealId' => $dealId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_NegotiationDto"); + } +} + +/** + * The "marketplacedeals" collection of methods. + * Typical usage is: + * + * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...); + * $marketplacedeals = $adexchangebuyerService->marketplacedeals; + * + */ +class Google_Service_AdExchangeBuyer_Marketplacedeals_Resource extends Google_Service_Resource +{ + + /** + * Delete the specified deals from the order (marketplacedeals.delete) + * + * @param string $orderId The orderId to delete deals from. + * @param Google_DeleteOrderDealsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_DeleteOrderDealsResponse + */ + public function delete($orderId, Google_Service_AdExchangeBuyer_DeleteOrderDealsRequest $postBody, $optParams = array()) + { + $params = array('orderId' => $orderId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_AdExchangeBuyer_DeleteOrderDealsResponse"); + } + + /** + * Add new deals for the specified order (marketplacedeals.insert) + * + * @param string $orderId OrderId for which deals need to be added. + * @param Google_AddOrderDealsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_AddOrderDealsResponse + */ + public function insert($orderId, Google_Service_AdExchangeBuyer_AddOrderDealsRequest $postBody, $optParams = array()) + { + $params = array('orderId' => $orderId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_AddOrderDealsResponse"); + } + + /** + * List all the deals for a given order (marketplacedeals.listMarketplacedeals) + * + * @param string $orderId The orderId to get deals for. + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_GetOrderDealsResponse + */ + public function listMarketplacedeals($orderId, $optParams = array()) + { + $params = array('orderId' => $orderId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_GetOrderDealsResponse"); + } + + /** + * Replaces all the deals in the order with the passed in deals + * (marketplacedeals.update) + * + * @param string $orderId The orderId to edit deals on. + * @param Google_EditAllOrderDealsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_EditAllOrderDealsResponse + */ + public function update($orderId, Google_Service_AdExchangeBuyer_EditAllOrderDealsRequest $postBody, $optParams = array()) + { + $params = array('orderId' => $orderId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_EditAllOrderDealsResponse"); + } +} + +/** + * The "marketplacenotes" collection of methods. + * Typical usage is: + * + * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...); + * $marketplacenotes = $adexchangebuyerService->marketplacenotes; + * + */ +class Google_Service_AdExchangeBuyer_Marketplacenotes_Resource extends Google_Service_Resource +{ + + /** + * Add notes to the order (marketplacenotes.insert) + * + * @param string $orderId The orderId to add notes for. + * @param Google_AddOrderNotesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_AddOrderNotesResponse + */ + public function insert($orderId, Google_Service_AdExchangeBuyer_AddOrderNotesRequest $postBody, $optParams = array()) + { + $params = array('orderId' => $orderId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_AddOrderNotesResponse"); + } + + /** + * Get all the notes associated with an order + * (marketplacenotes.listMarketplacenotes) + * + * @param string $orderId The orderId to get notes for. + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_GetOrderNotesResponse + */ + public function listMarketplacenotes($orderId, $optParams = array()) + { + $params = array('orderId' => $orderId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_GetOrderNotesResponse"); + } +} + +/** + * The "marketplaceoffers" collection of methods. + * Typical usage is: + * + * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...); + * $marketplaceoffers = $adexchangebuyerService->marketplaceoffers; + * + */ +class Google_Service_AdExchangeBuyer_Marketplaceoffers_Resource extends Google_Service_Resource +{ + + /** + * Gets the requested negotiation. (marketplaceoffers.get) + * + * @param string $offerId The offerId for the offer to get the head revision + * for. + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_MarketplaceOffer + */ + public function get($offerId, $optParams = array()) + { + $params = array('offerId' => $offerId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_MarketplaceOffer"); + } + + /** + * Gets the requested negotiation. (marketplaceoffers.search) + * + * @param array $optParams Optional parameters. + * + * @opt_param string pqlQuery The pql query used to query for offers. + * @return Google_Service_AdExchangeBuyer_GetOffersResponse + */ + public function search($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('search', array($params), "Google_Service_AdExchangeBuyer_GetOffersResponse"); + } +} + +/** + * The "marketplaceorders" collection of methods. + * Typical usage is: + * + * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...); + * $marketplaceorders = $adexchangebuyerService->marketplaceorders; + * + */ +class Google_Service_AdExchangeBuyer_Marketplaceorders_Resource extends Google_Service_Resource +{ + + /** + * Get an order given its id (marketplaceorders.get) + * + * @param string $orderId Id of the order to retrieve. + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_MarketplaceOrder + */ + public function get($orderId, $optParams = array()) + { + $params = array('orderId' => $orderId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_MarketplaceOrder"); + } + + /** + * Create the given list of orders (marketplaceorders.insert) + * + * @param Google_CreateOrdersRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_CreateOrdersResponse + */ + public function insert(Google_Service_AdExchangeBuyer_CreateOrdersRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_CreateOrdersResponse"); + } + + /** + * Update the given order. This method supports patch semantics. + * (marketplaceorders.patch) + * + * @param string $orderId The order id to update. + * @param string $revisionNumber The last known revision number to update. If + * the head revision in the marketplace database has since changed, an error + * will be thrown. The caller should then fetch the lastest order at head + * revision and retry the update at that revision. + * @param string $updateAction The proposed action to take on the order. + * @param Google_MarketplaceOrder $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_MarketplaceOrder + */ + public function patch($orderId, $revisionNumber, $updateAction, Google_Service_AdExchangeBuyer_MarketplaceOrder $postBody, $optParams = array()) + { + $params = array('orderId' => $orderId, 'revisionNumber' => $revisionNumber, 'updateAction' => $updateAction, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_AdExchangeBuyer_MarketplaceOrder"); + } + + /** + * Search for orders using pql query (marketplaceorders.search) + * + * @param array $optParams Optional parameters. + * + * @opt_param string pqlQuery Query string to retrieve specific orders. + * @return Google_Service_AdExchangeBuyer_GetOrdersResponse + */ + public function search($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('search', array($params), "Google_Service_AdExchangeBuyer_GetOrdersResponse"); + } + + /** + * Update the given order (marketplaceorders.update) + * + * @param string $orderId The order id to update. + * @param string $revisionNumber The last known revision number to update. If + * the head revision in the marketplace database has since changed, an error + * will be thrown. The caller should then fetch the lastest order at head + * revision and retry the update at that revision. + * @param string $updateAction The proposed action to take on the order. + * @param Google_MarketplaceOrder $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_MarketplaceOrder + */ + public function update($orderId, $revisionNumber, $updateAction, Google_Service_AdExchangeBuyer_MarketplaceOrder $postBody, $optParams = array()) + { + $params = array('orderId' => $orderId, 'revisionNumber' => $revisionNumber, 'updateAction' => $updateAction, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_MarketplaceOrder"); + } +} + +/** + * The "negotiationrounds" collection of methods. + * Typical usage is: + * + * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...); + * $negotiationrounds = $adexchangebuyerService->negotiationrounds; + * + */ +class Google_Service_AdExchangeBuyer_Negotiationrounds_Resource extends Google_Service_Resource +{ + + /** + * Adds the requested negotiationRound to the requested negotiation. + * (negotiationrounds.insert) + * + * @param string $negotiationId + * @param Google_NegotiationRoundDto $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_NegotiationRoundDto + */ + public function insert($negotiationId, Google_Service_AdExchangeBuyer_NegotiationRoundDto $postBody, $optParams = array()) + { + $params = array('negotiationId' => $negotiationId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_NegotiationRoundDto"); + } +} + +/** + * The "negotiations" collection of methods. + * Typical usage is: + * + * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...); + * $negotiations = $adexchangebuyerService->negotiations; + * + */ +class Google_Service_AdExchangeBuyer_Negotiations_Resource extends Google_Service_Resource +{ + + /** + * Gets the requested negotiation. (negotiations.get) + * + * @param string $negotiationId + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_NegotiationDto + */ + public function get($negotiationId, $optParams = array()) + { + $params = array('negotiationId' => $negotiationId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_NegotiationDto"); + } + + /** + * Creates or updates the requested negotiation. (negotiations.insert) + * + * @param Google_NegotiationDto $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_NegotiationDto + */ + public function insert(Google_Service_AdExchangeBuyer_NegotiationDto $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_NegotiationDto"); + } + + /** + * Lists all negotiations the authenticated user has access to. + * (negotiations.listNegotiations) + * + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_GetNegotiationsResponse + */ + public function listNegotiations($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_GetNegotiationsResponse"); + } +} + +/** + * The "offers" collection of methods. + * Typical usage is: + * + * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...); + * $offers = $adexchangebuyerService->offers; + * + */ +class Google_Service_AdExchangeBuyer_Offers_Resource extends Google_Service_Resource +{ + + /** + * Gets the requested offer. (offers.get) + * + * @param string $offerId + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_OfferDto + */ + public function get($offerId, $optParams = array()) + { + $params = array('offerId' => $offerId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_OfferDto"); + } + + /** + * Creates or updates the requested offer. (offers.insert) + * + * @param Google_OfferDto $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_OfferDto + */ + public function insert(Google_Service_AdExchangeBuyer_OfferDto $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_OfferDto"); + } + + /** + * Lists all offers the authenticated user has access to. (offers.listOffers) + * + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_ListOffersResponse + */ + public function listOffers($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_ListOffersResponse"); + } +} + +/** + * The "performanceReport" collection of methods. + * Typical usage is: + * + * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...); + * $performanceReport = $adexchangebuyerService->performanceReport; + * + */ +class Google_Service_AdExchangeBuyer_PerformanceReport_Resource extends Google_Service_Resource +{ + + /** + * Retrieves the authenticated user's list of performance metrics. + * (performanceReport.listPerformanceReport) + * + * @param string $accountId The account id to get the reports. + * @param string $endDateTime The end time of the report in ISO 8601 timestamp + * format using UTC. + * @param string $startDateTime The start time of the report in ISO 8601 + * timestamp format using UTC. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken A continuation token, used to page through + * performance reports. To retrieve the next page, set this parameter to the + * value of "nextPageToken" from the previous response. Optional. + * @opt_param string maxResults Maximum number of entries returned on one result + * page. If not set, the default is 100. Optional. + * @return Google_Service_AdExchangeBuyer_PerformanceReportList + */ + public function listPerformanceReport($accountId, $endDateTime, $startDateTime, $optParams = array()) + { + $params = array('accountId' => $accountId, 'endDateTime' => $endDateTime, 'startDateTime' => $startDateTime); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_PerformanceReportList"); + } +} + +/** + * The "pretargetingConfig" collection of methods. + * Typical usage is: + * + * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...); + * $pretargetingConfig = $adexchangebuyerService->pretargetingConfig; + * + */ +class Google_Service_AdExchangeBuyer_PretargetingConfig_Resource extends Google_Service_Resource +{ + + /** + * Deletes an existing pretargeting config. (pretargetingConfig.delete) + * + * @param string $accountId The account id to delete the pretargeting config + * for. + * @param string $configId The specific id of the configuration to delete. + * @param array $optParams Optional parameters. + */ + public function delete($accountId, $configId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'configId' => $configId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Gets a specific pretargeting configuration (pretargetingConfig.get) + * + * @param string $accountId The account id to get the pretargeting config for. + * @param string $configId The specific id of the configuration to retrieve. + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_PretargetingConfig + */ + public function get($accountId, $configId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'configId' => $configId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfig"); + } + + /** + * Inserts a new pretargeting configuration. (pretargetingConfig.insert) + * + * @param string $accountId The account id to insert the pretargeting config + * for. + * @param Google_PretargetingConfig $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_PretargetingConfig + */ + public function insert($accountId, Google_Service_AdExchangeBuyer_PretargetingConfig $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfig"); + } + + /** + * Retrieves a list of the authenticated user's pretargeting configurations. + * (pretargetingConfig.listPretargetingConfig) + * + * @param string $accountId The account id to get the pretargeting configs for. + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_PretargetingConfigList + */ + public function listPretargetingConfig($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfigList"); + } + + /** + * Updates an existing pretargeting config. This method supports patch + * semantics. (pretargetingConfig.patch) + * + * @param string $accountId The account id to update the pretargeting config + * for. + * @param string $configId The specific id of the configuration to update. + * @param Google_PretargetingConfig $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_PretargetingConfig + */ + public function patch($accountId, $configId, Google_Service_AdExchangeBuyer_PretargetingConfig $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'configId' => $configId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfig"); + } + + /** + * Updates an existing pretargeting config. (pretargetingConfig.update) + * + * @param string $accountId The account id to update the pretargeting config + * for. + * @param string $configId The specific id of the configuration to update. + * @param Google_PretargetingConfig $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeBuyer_PretargetingConfig + */ + public function update($accountId, $configId, Google_Service_AdExchangeBuyer_PretargetingConfig $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'configId' => $configId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfig"); + } +} + + + + +class Google_Service_AdExchangeBuyer_Account extends Google_Collection +{ + protected $collection_key = 'bidderLocation'; + protected $internal_gapi_mappings = array( + ); + protected $bidderLocationType = 'Google_Service_AdExchangeBuyer_AccountBidderLocation'; + protected $bidderLocationDataType = 'array'; + public $cookieMatchingNid; + public $cookieMatchingUrl; + public $id; + public $kind; + public $maximumActiveCreatives; + public $maximumTotalQps; + public $numberActiveCreatives; + + + public function setBidderLocation($bidderLocation) + { + $this->bidderLocation = $bidderLocation; + } + public function getBidderLocation() + { + return $this->bidderLocation; + } + public function setCookieMatchingNid($cookieMatchingNid) + { + $this->cookieMatchingNid = $cookieMatchingNid; + } + public function getCookieMatchingNid() + { + return $this->cookieMatchingNid; + } + public function setCookieMatchingUrl($cookieMatchingUrl) + { + $this->cookieMatchingUrl = $cookieMatchingUrl; + } + public function getCookieMatchingUrl() + { + return $this->cookieMatchingUrl; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMaximumActiveCreatives($maximumActiveCreatives) + { + $this->maximumActiveCreatives = $maximumActiveCreatives; + } + public function getMaximumActiveCreatives() + { + return $this->maximumActiveCreatives; + } + public function setMaximumTotalQps($maximumTotalQps) + { + $this->maximumTotalQps = $maximumTotalQps; + } + public function getMaximumTotalQps() + { + return $this->maximumTotalQps; + } + public function setNumberActiveCreatives($numberActiveCreatives) + { + $this->numberActiveCreatives = $numberActiveCreatives; + } + public function getNumberActiveCreatives() + { + return $this->numberActiveCreatives; + } +} + +class Google_Service_AdExchangeBuyer_AccountBidderLocation extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $maximumQps; + public $region; + public $url; + + + public function setMaximumQps($maximumQps) + { + $this->maximumQps = $maximumQps; + } + public function getMaximumQps() + { + return $this->maximumQps; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_AdExchangeBuyer_AccountsList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_AdExchangeBuyer_Account'; + protected $itemsDataType = 'array'; + public $kind; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_AdExchangeBuyer_AdSize extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $height; + public $width; + + + public function setHeight($height) + { + $this->height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} + +class Google_Service_AdExchangeBuyer_AdSlotDto extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $channelCode; + public $channelId; + public $description; + public $name; + public $size; + public $webPropertyId; + + + public function setChannelCode($channelCode) + { + $this->channelCode = $channelCode; + } + public function getChannelCode() + { + return $this->channelCode; + } + public function setChannelId($channelId) + { + $this->channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSize($size) + { + $this->size = $size; + } + public function getSize() + { + return $this->size; + } + public function setWebPropertyId($webPropertyId) + { + $this->webPropertyId = $webPropertyId; + } + public function getWebPropertyId() + { + return $this->webPropertyId; + } +} + +class Google_Service_AdExchangeBuyer_AddOrderDealsRequest extends Google_Collection +{ + protected $collection_key = 'deals'; + protected $internal_gapi_mappings = array( + ); + protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal'; + protected $dealsDataType = 'array'; + public $orderRevisionNumber; + public $updateAction; + + + public function setDeals($deals) + { + $this->deals = $deals; + } + public function getDeals() + { + return $this->deals; + } + public function setOrderRevisionNumber($orderRevisionNumber) + { + $this->orderRevisionNumber = $orderRevisionNumber; + } + public function getOrderRevisionNumber() + { + return $this->orderRevisionNumber; + } + public function setUpdateAction($updateAction) + { + $this->updateAction = $updateAction; + } + public function getUpdateAction() + { + return $this->updateAction; + } +} + +class Google_Service_AdExchangeBuyer_AddOrderDealsResponse extends Google_Collection +{ + protected $collection_key = 'deals'; + protected $internal_gapi_mappings = array( + ); + protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal'; + protected $dealsDataType = 'array'; + public $orderRevisionNumber; + + + public function setDeals($deals) + { + $this->deals = $deals; + } + public function getDeals() + { + return $this->deals; + } + public function setOrderRevisionNumber($orderRevisionNumber) + { + $this->orderRevisionNumber = $orderRevisionNumber; + } + public function getOrderRevisionNumber() + { + return $this->orderRevisionNumber; + } +} + +class Google_Service_AdExchangeBuyer_AddOrderNotesRequest extends Google_Collection +{ + protected $collection_key = 'notes'; + protected $internal_gapi_mappings = array( + ); + protected $notesType = 'Google_Service_AdExchangeBuyer_MarketplaceNote'; + protected $notesDataType = 'array'; + + + public function setNotes($notes) + { + $this->notes = $notes; + } + public function getNotes() + { + return $this->notes; + } +} + +class Google_Service_AdExchangeBuyer_AddOrderNotesResponse extends Google_Collection +{ + protected $collection_key = 'notes'; + protected $internal_gapi_mappings = array( + ); + protected $notesType = 'Google_Service_AdExchangeBuyer_MarketplaceNote'; + protected $notesDataType = 'array'; + + + public function setNotes($notes) + { + $this->notes = $notes; + } + public function getNotes() + { + return $this->notes; + } +} + +class Google_Service_AdExchangeBuyer_AdvertiserDto extends Google_Collection +{ + protected $collection_key = 'brands'; + protected $internal_gapi_mappings = array( + ); + protected $brandsType = 'Google_Service_AdExchangeBuyer_BrandDto'; + protected $brandsDataType = 'array'; + public $id; + public $name; + public $status; + + + public function setBrands($brands) + { + $this->brands = $brands; + } + public function getBrands() + { + return $this->brands; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} + +class Google_Service_AdExchangeBuyer_AudienceSegment extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $description; + public $id; + public $name; + public $numCookies; + + + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNumCookies($numCookies) + { + $this->numCookies = $numCookies; + } + public function getNumCookies() + { + return $this->numCookies; + } +} + +class Google_Service_AdExchangeBuyer_BillingInfo extends Google_Collection +{ + protected $collection_key = 'billingId'; + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $accountName; + public $billingId; + public $kind; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAccountName($accountName) + { + $this->accountName = $accountName; + } + public function getAccountName() + { + return $this->accountName; + } + public function setBillingId($billingId) + { + $this->billingId = $billingId; + } + public function getBillingId() + { + return $this->billingId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_AdExchangeBuyer_BillingInfoList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_AdExchangeBuyer_BillingInfo'; + protected $itemsDataType = 'array'; + public $kind; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_AdExchangeBuyer_BrandDto extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $advertiserId; + public $id; + public $name; + + + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_AdExchangeBuyer_Budget extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $billingId; + public $budgetAmount; + public $currencyCode; + public $id; + public $kind; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setBillingId($billingId) + { + $this->billingId = $billingId; + } + public function getBillingId() + { + return $this->billingId; + } + public function setBudgetAmount($budgetAmount) + { + $this->budgetAmount = $budgetAmount; + } + public function getBudgetAmount() + { + return $this->budgetAmount; + } + public function setCurrencyCode($currencyCode) + { + $this->currencyCode = $currencyCode; + } + public function getCurrencyCode() + { + return $this->currencyCode; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_AdExchangeBuyer_Buyer extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $accountId; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } +} + +class Google_Service_AdExchangeBuyer_BuyerDto extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $customerId; + public $displayName; + public $enabledForInterestTargetingDeals; + public $enabledForPreferredDeals; + public $id; + public $sponsorAccountId; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setCustomerId($customerId) + { + $this->customerId = $customerId; + } + public function getCustomerId() + { + return $this->customerId; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setEnabledForInterestTargetingDeals($enabledForInterestTargetingDeals) + { + $this->enabledForInterestTargetingDeals = $enabledForInterestTargetingDeals; + } + public function getEnabledForInterestTargetingDeals() + { + return $this->enabledForInterestTargetingDeals; + } + public function setEnabledForPreferredDeals($enabledForPreferredDeals) + { + $this->enabledForPreferredDeals = $enabledForPreferredDeals; + } + public function getEnabledForPreferredDeals() + { + return $this->enabledForPreferredDeals; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setSponsorAccountId($sponsorAccountId) + { + $this->sponsorAccountId = $sponsorAccountId; + } + public function getSponsorAccountId() + { + return $this->sponsorAccountId; + } +} + +class Google_Service_AdExchangeBuyer_ClientAccessCapabilities extends Google_Collection +{ + protected $collection_key = 'capabilities'; + protected $internal_gapi_mappings = array( + ); + public $capabilities; + public $clientAccountId; + + + public function setCapabilities($capabilities) + { + $this->capabilities = $capabilities; + } + public function getCapabilities() + { + return $this->capabilities; + } + public function setClientAccountId($clientAccountId) + { + $this->clientAccountId = $clientAccountId; + } + public function getClientAccountId() + { + return $this->clientAccountId; + } +} + +class Google_Service_AdExchangeBuyer_ContactInformation extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $email; + public $name; + + + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_AdExchangeBuyer_CreateOrdersRequest extends Google_Collection +{ + protected $collection_key = 'orders'; + protected $internal_gapi_mappings = array( + ); + protected $ordersType = 'Google_Service_AdExchangeBuyer_MarketplaceOrder'; + protected $ordersDataType = 'array'; + public $webPropertyCode; + + + public function setOrders($orders) + { + $this->orders = $orders; + } + public function getOrders() + { + return $this->orders; + } + public function setWebPropertyCode($webPropertyCode) + { + $this->webPropertyCode = $webPropertyCode; + } + public function getWebPropertyCode() + { + return $this->webPropertyCode; + } +} + +class Google_Service_AdExchangeBuyer_CreateOrdersResponse extends Google_Collection +{ + protected $collection_key = 'orders'; + protected $internal_gapi_mappings = array( + ); + protected $ordersType = 'Google_Service_AdExchangeBuyer_MarketplaceOrder'; + protected $ordersDataType = 'array'; + + + public function setOrders($orders) + { + $this->orders = $orders; + } + public function getOrders() + { + return $this->orders; + } +} + +class Google_Service_AdExchangeBuyer_Creative extends Google_Collection +{ + protected $collection_key = 'vendorType'; + protected $internal_gapi_mappings = array( + "hTMLSnippet" => "HTMLSnippet", + "apiUploadTimestamp" => "api_upload_timestamp", + ); + public $hTMLSnippet; + public $accountId; + public $advertiserId; + public $advertiserName; + public $agencyId; + public $apiUploadTimestamp; + public $attribute; + public $buyerCreativeId; + public $clickThroughUrl; + protected $correctionsType = 'Google_Service_AdExchangeBuyer_CreativeCorrections'; + protected $correctionsDataType = 'array'; + public $dealsStatus; + protected $filteringReasonsType = 'Google_Service_AdExchangeBuyer_CreativeFilteringReasons'; + protected $filteringReasonsDataType = ''; + public $height; + public $impressionTrackingUrl; + public $kind; + protected $nativeAdType = 'Google_Service_AdExchangeBuyer_CreativeNativeAd'; + protected $nativeAdDataType = ''; + public $openAuctionStatus; + public $productCategories; + public $restrictedCategories; + public $sensitiveCategories; + protected $servingRestrictionsType = 'Google_Service_AdExchangeBuyer_CreativeServingRestrictions'; + protected $servingRestrictionsDataType = 'array'; + public $vendorType; + public $version; + public $videoURL; + public $width; + + + public function setHTMLSnippet($hTMLSnippet) + { + $this->hTMLSnippet = $hTMLSnippet; + } + public function getHTMLSnippet() + { + return $this->hTMLSnippet; + } + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setAdvertiserName($advertiserName) + { + $this->advertiserName = $advertiserName; + } + public function getAdvertiserName() + { + return $this->advertiserName; + } + public function setAgencyId($agencyId) + { + $this->agencyId = $agencyId; + } + public function getAgencyId() + { + return $this->agencyId; + } + public function setApiUploadTimestamp($apiUploadTimestamp) + { + $this->apiUploadTimestamp = $apiUploadTimestamp; + } + public function getApiUploadTimestamp() + { + return $this->apiUploadTimestamp; + } + public function setAttribute($attribute) + { + $this->attribute = $attribute; + } + public function getAttribute() + { + return $this->attribute; + } + public function setBuyerCreativeId($buyerCreativeId) + { + $this->buyerCreativeId = $buyerCreativeId; + } + public function getBuyerCreativeId() + { + return $this->buyerCreativeId; + } + public function setClickThroughUrl($clickThroughUrl) + { + $this->clickThroughUrl = $clickThroughUrl; + } + public function getClickThroughUrl() + { + return $this->clickThroughUrl; + } + public function setCorrections($corrections) + { + $this->corrections = $corrections; + } + public function getCorrections() + { + return $this->corrections; + } + public function setDealsStatus($dealsStatus) + { + $this->dealsStatus = $dealsStatus; + } + public function getDealsStatus() + { + return $this->dealsStatus; + } + public function setFilteringReasons(Google_Service_AdExchangeBuyer_CreativeFilteringReasons $filteringReasons) + { + $this->filteringReasons = $filteringReasons; + } + public function getFilteringReasons() + { + return $this->filteringReasons; + } + public function setHeight($height) + { + $this->height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setImpressionTrackingUrl($impressionTrackingUrl) + { + $this->impressionTrackingUrl = $impressionTrackingUrl; + } + public function getImpressionTrackingUrl() + { + return $this->impressionTrackingUrl; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNativeAd(Google_Service_AdExchangeBuyer_CreativeNativeAd $nativeAd) + { + $this->nativeAd = $nativeAd; + } + public function getNativeAd() + { + return $this->nativeAd; + } + public function setOpenAuctionStatus($openAuctionStatus) + { + $this->openAuctionStatus = $openAuctionStatus; + } + public function getOpenAuctionStatus() + { + return $this->openAuctionStatus; + } + public function setProductCategories($productCategories) + { + $this->productCategories = $productCategories; + } + public function getProductCategories() + { + return $this->productCategories; + } + public function setRestrictedCategories($restrictedCategories) + { + $this->restrictedCategories = $restrictedCategories; + } + public function getRestrictedCategories() + { + return $this->restrictedCategories; + } + public function setSensitiveCategories($sensitiveCategories) + { + $this->sensitiveCategories = $sensitiveCategories; + } + public function getSensitiveCategories() + { + return $this->sensitiveCategories; + } + public function setServingRestrictions($servingRestrictions) + { + $this->servingRestrictions = $servingRestrictions; + } + public function getServingRestrictions() + { + return $this->servingRestrictions; + } + public function setVendorType($vendorType) + { + $this->vendorType = $vendorType; + } + public function getVendorType() + { + return $this->vendorType; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } + public function setVideoURL($videoURL) + { + $this->videoURL = $videoURL; + } + public function getVideoURL() + { + return $this->videoURL; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} + +class Google_Service_AdExchangeBuyer_CreativeCorrections extends Google_Collection +{ + protected $collection_key = 'details'; + protected $internal_gapi_mappings = array( + ); + public $details; + public $reason; + + + public function setDetails($details) + { + $this->details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } +} + +class Google_Service_AdExchangeBuyer_CreativeFilteringReasons extends Google_Collection +{ + protected $collection_key = 'reasons'; + protected $internal_gapi_mappings = array( + ); + public $date; + protected $reasonsType = 'Google_Service_AdExchangeBuyer_CreativeFilteringReasonsReasons'; + protected $reasonsDataType = 'array'; + + + public function setDate($date) + { + $this->date = $date; + } + public function getDate() + { + return $this->date; + } + public function setReasons($reasons) + { + $this->reasons = $reasons; + } + public function getReasons() + { + return $this->reasons; + } +} + +class Google_Service_AdExchangeBuyer_CreativeFilteringReasonsReasons extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $filteringCount; + public $filteringStatus; + + + public function setFilteringCount($filteringCount) + { + $this->filteringCount = $filteringCount; + } + public function getFilteringCount() + { + return $this->filteringCount; + } + public function setFilteringStatus($filteringStatus) + { + $this->filteringStatus = $filteringStatus; + } + public function getFilteringStatus() + { + return $this->filteringStatus; + } +} + +class Google_Service_AdExchangeBuyer_CreativeNativeAd extends Google_Collection +{ + protected $collection_key = 'impressionTrackingUrl'; + protected $internal_gapi_mappings = array( + ); + public $advertiser; + protected $appIconType = 'Google_Service_AdExchangeBuyer_CreativeNativeAdAppIcon'; + protected $appIconDataType = ''; + public $body; + public $callToAction; + public $clickTrackingUrl; + public $headline; + protected $imageType = 'Google_Service_AdExchangeBuyer_CreativeNativeAdImage'; + protected $imageDataType = ''; + public $impressionTrackingUrl; + protected $logoType = 'Google_Service_AdExchangeBuyer_CreativeNativeAdLogo'; + protected $logoDataType = ''; + public $price; + public $starRating; + public $store; + + + public function setAdvertiser($advertiser) + { + $this->advertiser = $advertiser; + } + public function getAdvertiser() + { + return $this->advertiser; + } + public function setAppIcon(Google_Service_AdExchangeBuyer_CreativeNativeAdAppIcon $appIcon) + { + $this->appIcon = $appIcon; + } + public function getAppIcon() + { + return $this->appIcon; + } + public function setBody($body) + { + $this->body = $body; + } + public function getBody() + { + return $this->body; + } + public function setCallToAction($callToAction) + { + $this->callToAction = $callToAction; + } + public function getCallToAction() + { + return $this->callToAction; + } + public function setClickTrackingUrl($clickTrackingUrl) + { + $this->clickTrackingUrl = $clickTrackingUrl; + } + public function getClickTrackingUrl() + { + return $this->clickTrackingUrl; + } + public function setHeadline($headline) + { + $this->headline = $headline; + } + public function getHeadline() + { + return $this->headline; + } + public function setImage(Google_Service_AdExchangeBuyer_CreativeNativeAdImage $image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } + public function setImpressionTrackingUrl($impressionTrackingUrl) + { + $this->impressionTrackingUrl = $impressionTrackingUrl; + } + public function getImpressionTrackingUrl() + { + return $this->impressionTrackingUrl; + } + public function setLogo(Google_Service_AdExchangeBuyer_CreativeNativeAdLogo $logo) + { + $this->logo = $logo; + } + public function getLogo() + { + return $this->logo; + } + public function setPrice($price) + { + $this->price = $price; + } + public function getPrice() + { + return $this->price; + } + public function setStarRating($starRating) + { + $this->starRating = $starRating; + } + public function getStarRating() + { + return $this->starRating; + } + public function setStore($store) + { + $this->store = $store; + } + public function getStore() + { + return $this->store; + } +} + +class Google_Service_AdExchangeBuyer_CreativeNativeAdAppIcon extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $height; + public $url; + public $width; + + + public function setHeight($height) + { + $this->height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} + +class Google_Service_AdExchangeBuyer_CreativeNativeAdImage extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $height; + public $url; + public $width; + + + public function setHeight($height) + { + $this->height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} + +class Google_Service_AdExchangeBuyer_CreativeNativeAdLogo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $height; + public $url; + public $width; + + + public function setHeight($height) + { + $this->height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} + +class Google_Service_AdExchangeBuyer_CreativeServingRestrictions extends Google_Collection +{ + protected $collection_key = 'disapprovalReasons'; + protected $internal_gapi_mappings = array( + ); + protected $contextsType = 'Google_Service_AdExchangeBuyer_CreativeServingRestrictionsContexts'; + protected $contextsDataType = 'array'; + protected $disapprovalReasonsType = 'Google_Service_AdExchangeBuyer_CreativeServingRestrictionsDisapprovalReasons'; + protected $disapprovalReasonsDataType = 'array'; + public $reason; + + + public function setContexts($contexts) + { + $this->contexts = $contexts; + } + public function getContexts() + { + return $this->contexts; + } + public function setDisapprovalReasons($disapprovalReasons) + { + $this->disapprovalReasons = $disapprovalReasons; + } + public function getDisapprovalReasons() + { + return $this->disapprovalReasons; + } + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } +} + +class Google_Service_AdExchangeBuyer_CreativeServingRestrictionsContexts extends Google_Collection +{ + protected $collection_key = 'platform'; + protected $internal_gapi_mappings = array( + ); + public $auctionType; + public $contextType; + public $geoCriteriaId; + public $platform; + + + public function setAuctionType($auctionType) + { + $this->auctionType = $auctionType; + } + public function getAuctionType() + { + return $this->auctionType; + } + public function setContextType($contextType) + { + $this->contextType = $contextType; + } + public function getContextType() + { + return $this->contextType; + } + public function setGeoCriteriaId($geoCriteriaId) + { + $this->geoCriteriaId = $geoCriteriaId; + } + public function getGeoCriteriaId() + { + return $this->geoCriteriaId; + } + public function setPlatform($platform) + { + $this->platform = $platform; + } + public function getPlatform() + { + return $this->platform; + } +} + +class Google_Service_AdExchangeBuyer_CreativeServingRestrictionsDisapprovalReasons extends Google_Collection +{ + protected $collection_key = 'details'; + protected $internal_gapi_mappings = array( + ); + public $details; + public $reason; + + + public function setDetails($details) + { + $this->details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } +} + +class Google_Service_AdExchangeBuyer_CreativesList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_AdExchangeBuyer_Creative'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_AdExchangeBuyer_DateTime extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $day; + public $hour; + public $minute; + public $month; + public $second; + public $timeZoneId; + public $year; + + + public function setDay($day) + { + $this->day = $day; + } + public function getDay() + { + return $this->day; + } + public function setHour($hour) + { + $this->hour = $hour; + } + public function getHour() + { + return $this->hour; + } + public function setMinute($minute) + { + $this->minute = $minute; + } + public function getMinute() + { + return $this->minute; + } + public function setMonth($month) + { + $this->month = $month; + } + public function getMonth() + { + return $this->month; + } + public function setSecond($second) + { + $this->second = $second; + } + public function getSecond() + { + return $this->second; + } + public function setTimeZoneId($timeZoneId) + { + $this->timeZoneId = $timeZoneId; + } + public function getTimeZoneId() + { + return $this->timeZoneId; + } + public function setYear($year) + { + $this->year = $year; + } + public function getYear() + { + return $this->year; + } +} + +class Google_Service_AdExchangeBuyer_DealPartyDto extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $buyerType = 'Google_Service_AdExchangeBuyer_BuyerDto'; + protected $buyerDataType = ''; + public $buyerSellerRole; + public $customerId; + public $name; + protected $webPropertyType = 'Google_Service_AdExchangeBuyer_WebPropertyDto'; + protected $webPropertyDataType = ''; + + + public function setBuyer(Google_Service_AdExchangeBuyer_BuyerDto $buyer) + { + $this->buyer = $buyer; + } + public function getBuyer() + { + return $this->buyer; + } + public function setBuyerSellerRole($buyerSellerRole) + { + $this->buyerSellerRole = $buyerSellerRole; + } + public function getBuyerSellerRole() + { + return $this->buyerSellerRole; + } + public function setCustomerId($customerId) + { + $this->customerId = $customerId; + } + public function getCustomerId() + { + return $this->customerId; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setWebProperty(Google_Service_AdExchangeBuyer_WebPropertyDto $webProperty) + { + $this->webProperty = $webProperty; + } + public function getWebProperty() + { + return $this->webProperty; + } +} + +class Google_Service_AdExchangeBuyer_DealTerms extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $description; + protected $guaranteedFixedPriceTermsType = 'Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTerms'; + protected $guaranteedFixedPriceTermsDataType = ''; + protected $nonGuaranteedAuctionTermsType = 'Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedAuctionTerms'; + protected $nonGuaranteedAuctionTermsDataType = ''; + protected $nonGuaranteedFixedPriceTermsType = 'Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedFixedPriceTerms'; + protected $nonGuaranteedFixedPriceTermsDataType = ''; + + + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setGuaranteedFixedPriceTerms(Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTerms $guaranteedFixedPriceTerms) + { + $this->guaranteedFixedPriceTerms = $guaranteedFixedPriceTerms; + } + public function getGuaranteedFixedPriceTerms() + { + return $this->guaranteedFixedPriceTerms; + } + public function setNonGuaranteedAuctionTerms(Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedAuctionTerms $nonGuaranteedAuctionTerms) + { + $this->nonGuaranteedAuctionTerms = $nonGuaranteedAuctionTerms; + } + public function getNonGuaranteedAuctionTerms() + { + return $this->nonGuaranteedAuctionTerms; + } + public function setNonGuaranteedFixedPriceTerms(Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedFixedPriceTerms $nonGuaranteedFixedPriceTerms) + { + $this->nonGuaranteedFixedPriceTerms = $nonGuaranteedFixedPriceTerms; + } + public function getNonGuaranteedFixedPriceTerms() + { + return $this->nonGuaranteedFixedPriceTerms; + } +} + +class Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTerms extends Google_Collection +{ + protected $collection_key = 'fixedPrices'; + protected $internal_gapi_mappings = array( + ); + protected $fixedPricesType = 'Google_Service_AdExchangeBuyer_PricePerBuyer'; + protected $fixedPricesDataType = 'array'; + public $guaranteedImpressions; + public $guaranteedLooks; + + + public function setFixedPrices($fixedPrices) + { + $this->fixedPrices = $fixedPrices; + } + public function getFixedPrices() + { + return $this->fixedPrices; + } + public function setGuaranteedImpressions($guaranteedImpressions) + { + $this->guaranteedImpressions = $guaranteedImpressions; + } + public function getGuaranteedImpressions() + { + return $this->guaranteedImpressions; + } + public function setGuaranteedLooks($guaranteedLooks) + { + $this->guaranteedLooks = $guaranteedLooks; + } + public function getGuaranteedLooks() + { + return $this->guaranteedLooks; + } +} + +class Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedAuctionTerms extends Google_Collection +{ + protected $collection_key = 'reservePricePerBuyers'; + protected $internal_gapi_mappings = array( + ); + public $privateAuctionId; + protected $reservePricePerBuyersType = 'Google_Service_AdExchangeBuyer_PricePerBuyer'; + protected $reservePricePerBuyersDataType = 'array'; + + + public function setPrivateAuctionId($privateAuctionId) + { + $this->privateAuctionId = $privateAuctionId; + } + public function getPrivateAuctionId() + { + return $this->privateAuctionId; + } + public function setReservePricePerBuyers($reservePricePerBuyers) + { + $this->reservePricePerBuyers = $reservePricePerBuyers; + } + public function getReservePricePerBuyers() + { + return $this->reservePricePerBuyers; + } +} + +class Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedFixedPriceTerms extends Google_Collection +{ + protected $collection_key = 'fixedPrices'; + protected $internal_gapi_mappings = array( + ); + protected $fixedPricesType = 'Google_Service_AdExchangeBuyer_PricePerBuyer'; + protected $fixedPricesDataType = 'array'; + + + public function setFixedPrices($fixedPrices) + { + $this->fixedPrices = $fixedPrices; + } + public function getFixedPrices() + { + return $this->fixedPrices; + } +} + +class Google_Service_AdExchangeBuyer_DeleteOrderDealsRequest extends Google_Collection +{ + protected $collection_key = 'dealIds'; + protected $internal_gapi_mappings = array( + ); + public $dealIds; + public $orderRevisionNumber; + public $updateAction; + + + public function setDealIds($dealIds) + { + $this->dealIds = $dealIds; + } + public function getDealIds() + { + return $this->dealIds; + } + public function setOrderRevisionNumber($orderRevisionNumber) + { + $this->orderRevisionNumber = $orderRevisionNumber; + } + public function getOrderRevisionNumber() + { + return $this->orderRevisionNumber; + } + public function setUpdateAction($updateAction) + { + $this->updateAction = $updateAction; + } + public function getUpdateAction() + { + return $this->updateAction; + } +} + +class Google_Service_AdExchangeBuyer_DeleteOrderDealsResponse extends Google_Collection +{ + protected $collection_key = 'deals'; + protected $internal_gapi_mappings = array( + ); + protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal'; + protected $dealsDataType = 'array'; + public $orderRevisionNumber; + + + public function setDeals($deals) + { + $this->deals = $deals; + } + public function getDeals() + { + return $this->deals; + } + public function setOrderRevisionNumber($orderRevisionNumber) + { + $this->orderRevisionNumber = $orderRevisionNumber; + } + public function getOrderRevisionNumber() + { + return $this->orderRevisionNumber; + } +} + +class Google_Service_AdExchangeBuyer_DeliveryControl extends Google_Collection +{ + protected $collection_key = 'frequencyCaps'; + protected $internal_gapi_mappings = array( + ); + public $deliveryRateType; + protected $frequencyCapsType = 'Google_Service_AdExchangeBuyer_DeliveryControlFrequencyCap'; + protected $frequencyCapsDataType = 'array'; + + + public function setDeliveryRateType($deliveryRateType) + { + $this->deliveryRateType = $deliveryRateType; + } + public function getDeliveryRateType() + { + return $this->deliveryRateType; + } + public function setFrequencyCaps($frequencyCaps) + { + $this->frequencyCaps = $frequencyCaps; + } + public function getFrequencyCaps() + { + return $this->frequencyCaps; + } +} + +class Google_Service_AdExchangeBuyer_DeliveryControlFrequencyCap extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $maxImpressions; + public $numTimeUnits; + public $timeUnitType; + + + public function setMaxImpressions($maxImpressions) + { + $this->maxImpressions = $maxImpressions; + } + public function getMaxImpressions() + { + return $this->maxImpressions; + } + public function setNumTimeUnits($numTimeUnits) + { + $this->numTimeUnits = $numTimeUnits; + } + public function getNumTimeUnits() + { + return $this->numTimeUnits; + } + public function setTimeUnitType($timeUnitType) + { + $this->timeUnitType = $timeUnitType; + } + public function getTimeUnitType() + { + return $this->timeUnitType; + } +} + +class Google_Service_AdExchangeBuyer_EditAllOrderDealsRequest extends Google_Collection +{ + protected $collection_key = 'deals'; + protected $internal_gapi_mappings = array( + ); + protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal'; + protected $dealsDataType = 'array'; + protected $orderType = 'Google_Service_AdExchangeBuyer_MarketplaceOrder'; + protected $orderDataType = ''; + public $orderRevisionNumber; + public $updateAction; + + + public function setDeals($deals) + { + $this->deals = $deals; + } + public function getDeals() + { + return $this->deals; + } + public function setOrder(Google_Service_AdExchangeBuyer_MarketplaceOrder $order) + { + $this->order = $order; + } + public function getOrder() + { + return $this->order; + } + public function setOrderRevisionNumber($orderRevisionNumber) + { + $this->orderRevisionNumber = $orderRevisionNumber; + } + public function getOrderRevisionNumber() + { + return $this->orderRevisionNumber; + } + public function setUpdateAction($updateAction) + { + $this->updateAction = $updateAction; + } + public function getUpdateAction() + { + return $this->updateAction; + } +} + +class Google_Service_AdExchangeBuyer_EditAllOrderDealsResponse extends Google_Collection +{ + protected $collection_key = 'deals'; + protected $internal_gapi_mappings = array( + ); + protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal'; + protected $dealsDataType = 'array'; + + + public function setDeals($deals) + { + $this->deals = $deals; + } + public function getDeals() + { + return $this->deals; + } +} + +class Google_Service_AdExchangeBuyer_EditHistoryDto extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $createdByLoginName; + public $createdTimeStamp; + public $lastUpdateTimeStamp; + public $lastUpdatedByLoginName; + + + public function setCreatedByLoginName($createdByLoginName) + { + $this->createdByLoginName = $createdByLoginName; + } + public function getCreatedByLoginName() + { + return $this->createdByLoginName; + } + public function setCreatedTimeStamp($createdTimeStamp) + { + $this->createdTimeStamp = $createdTimeStamp; + } + public function getCreatedTimeStamp() + { + return $this->createdTimeStamp; + } + public function setLastUpdateTimeStamp($lastUpdateTimeStamp) + { + $this->lastUpdateTimeStamp = $lastUpdateTimeStamp; + } + public function getLastUpdateTimeStamp() + { + return $this->lastUpdateTimeStamp; + } + public function setLastUpdatedByLoginName($lastUpdatedByLoginName) + { + $this->lastUpdatedByLoginName = $lastUpdatedByLoginName; + } + public function getLastUpdatedByLoginName() + { + return $this->lastUpdatedByLoginName; + } +} + +class Google_Service_AdExchangeBuyer_GetFinalizedNegotiationByExternalDealIdRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $includePrivateAuctions; + + + public function setIncludePrivateAuctions($includePrivateAuctions) + { + $this->includePrivateAuctions = $includePrivateAuctions; + } + public function getIncludePrivateAuctions() + { + return $this->includePrivateAuctions; + } +} + +class Google_Service_AdExchangeBuyer_GetNegotiationByIdRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $includePrivateAuctions; + + + public function setIncludePrivateAuctions($includePrivateAuctions) + { + $this->includePrivateAuctions = $includePrivateAuctions; + } + public function getIncludePrivateAuctions() + { + return $this->includePrivateAuctions; + } +} + +class Google_Service_AdExchangeBuyer_GetNegotiationsRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $finalized; + public $includePrivateAuctions; + public $sinceTimestampMillis; + + + public function setFinalized($finalized) + { + $this->finalized = $finalized; + } + public function getFinalized() + { + return $this->finalized; + } + public function setIncludePrivateAuctions($includePrivateAuctions) + { + $this->includePrivateAuctions = $includePrivateAuctions; + } + public function getIncludePrivateAuctions() + { + return $this->includePrivateAuctions; + } + public function setSinceTimestampMillis($sinceTimestampMillis) + { + $this->sinceTimestampMillis = $sinceTimestampMillis; + } + public function getSinceTimestampMillis() + { + return $this->sinceTimestampMillis; + } +} + +class Google_Service_AdExchangeBuyer_GetNegotiationsResponse extends Google_Collection +{ + protected $collection_key = 'negotiations'; + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $negotiationsType = 'Google_Service_AdExchangeBuyer_NegotiationDto'; + protected $negotiationsDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNegotiations($negotiations) + { + $this->negotiations = $negotiations; + } + public function getNegotiations() + { + return $this->negotiations; + } +} + +class Google_Service_AdExchangeBuyer_GetOffersResponse extends Google_Collection +{ + protected $collection_key = 'offers'; + protected $internal_gapi_mappings = array( + ); + protected $offersType = 'Google_Service_AdExchangeBuyer_MarketplaceOffer'; + protected $offersDataType = 'array'; + + + public function setOffers($offers) + { + $this->offers = $offers; + } + public function getOffers() + { + return $this->offers; + } +} + +class Google_Service_AdExchangeBuyer_GetOrderDealsResponse extends Google_Collection +{ + protected $collection_key = 'deals'; + protected $internal_gapi_mappings = array( + ); + protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal'; + protected $dealsDataType = 'array'; + + + public function setDeals($deals) + { + $this->deals = $deals; + } + public function getDeals() + { + return $this->deals; + } +} + +class Google_Service_AdExchangeBuyer_GetOrderNotesResponse extends Google_Collection +{ + protected $collection_key = 'notes'; + protected $internal_gapi_mappings = array( + ); + protected $notesType = 'Google_Service_AdExchangeBuyer_MarketplaceNote'; + protected $notesDataType = 'array'; + + + public function setNotes($notes) + { + $this->notes = $notes; + } + public function getNotes() + { + return $this->notes; + } +} + +class Google_Service_AdExchangeBuyer_GetOrdersResponse extends Google_Collection +{ + protected $collection_key = 'orders'; + protected $internal_gapi_mappings = array( + ); + protected $ordersType = 'Google_Service_AdExchangeBuyer_MarketplaceOrder'; + protected $ordersDataType = 'array'; + + + public function setOrders($orders) + { + $this->orders = $orders; + } + public function getOrders() + { + return $this->orders; + } +} + +class Google_Service_AdExchangeBuyer_InventorySegmentTargeting extends Google_Collection +{ + protected $collection_key = 'positiveXfpPlacements'; + protected $internal_gapi_mappings = array( + ); + protected $negativeAdSizesType = 'Google_Service_AdExchangeBuyer_AdSize'; + protected $negativeAdSizesDataType = 'array'; + public $negativeAdTypeSegments; + public $negativeAudienceSegments; + public $negativeDeviceCategories; + public $negativeIcmBrands; + public $negativeIcmInterests; + public $negativeInventorySlots; + protected $negativeKeyValuesType = 'Google_Service_AdExchangeBuyer_RuleKeyValuePair'; + protected $negativeKeyValuesDataType = 'array'; + public $negativeLocations; + public $negativeMobileApps; + public $negativeOperatingSystemVersions; + public $negativeOperatingSystems; + public $negativeSiteUrls; + public $negativeSizes; + public $negativeVideoAdPositionSegments; + public $negativeVideoDurationSegments; + public $negativeXfpAdSlots; + public $negativeXfpPlacements; + protected $positiveAdSizesType = 'Google_Service_AdExchangeBuyer_AdSize'; + protected $positiveAdSizesDataType = 'array'; + public $positiveAdTypeSegments; + public $positiveAudienceSegments; + public $positiveDeviceCategories; + public $positiveIcmBrands; + public $positiveIcmInterests; + public $positiveInventorySlots; + protected $positiveKeyValuesType = 'Google_Service_AdExchangeBuyer_RuleKeyValuePair'; + protected $positiveKeyValuesDataType = 'array'; + public $positiveLocations; + public $positiveMobileApps; + public $positiveOperatingSystemVersions; + public $positiveOperatingSystems; + public $positiveSiteUrls; + public $positiveSizes; + public $positiveVideoAdPositionSegments; + public $positiveVideoDurationSegments; + public $positiveXfpAdSlots; + public $positiveXfpPlacements; + + + public function setNegativeAdSizes($negativeAdSizes) + { + $this->negativeAdSizes = $negativeAdSizes; + } + public function getNegativeAdSizes() + { + return $this->negativeAdSizes; + } + public function setNegativeAdTypeSegments($negativeAdTypeSegments) + { + $this->negativeAdTypeSegments = $negativeAdTypeSegments; + } + public function getNegativeAdTypeSegments() + { + return $this->negativeAdTypeSegments; + } + public function setNegativeAudienceSegments($negativeAudienceSegments) + { + $this->negativeAudienceSegments = $negativeAudienceSegments; + } + public function getNegativeAudienceSegments() + { + return $this->negativeAudienceSegments; + } + public function setNegativeDeviceCategories($negativeDeviceCategories) + { + $this->negativeDeviceCategories = $negativeDeviceCategories; + } + public function getNegativeDeviceCategories() + { + return $this->negativeDeviceCategories; + } + public function setNegativeIcmBrands($negativeIcmBrands) + { + $this->negativeIcmBrands = $negativeIcmBrands; + } + public function getNegativeIcmBrands() + { + return $this->negativeIcmBrands; + } + public function setNegativeIcmInterests($negativeIcmInterests) + { + $this->negativeIcmInterests = $negativeIcmInterests; + } + public function getNegativeIcmInterests() + { + return $this->negativeIcmInterests; + } + public function setNegativeInventorySlots($negativeInventorySlots) + { + $this->negativeInventorySlots = $negativeInventorySlots; + } + public function getNegativeInventorySlots() + { + return $this->negativeInventorySlots; + } + public function setNegativeKeyValues($negativeKeyValues) + { + $this->negativeKeyValues = $negativeKeyValues; + } + public function getNegativeKeyValues() + { + return $this->negativeKeyValues; + } + public function setNegativeLocations($negativeLocations) + { + $this->negativeLocations = $negativeLocations; + } + public function getNegativeLocations() + { + return $this->negativeLocations; + } + public function setNegativeMobileApps($negativeMobileApps) + { + $this->negativeMobileApps = $negativeMobileApps; + } + public function getNegativeMobileApps() + { + return $this->negativeMobileApps; + } + public function setNegativeOperatingSystemVersions($negativeOperatingSystemVersions) + { + $this->negativeOperatingSystemVersions = $negativeOperatingSystemVersions; + } + public function getNegativeOperatingSystemVersions() + { + return $this->negativeOperatingSystemVersions; + } + public function setNegativeOperatingSystems($negativeOperatingSystems) + { + $this->negativeOperatingSystems = $negativeOperatingSystems; + } + public function getNegativeOperatingSystems() + { + return $this->negativeOperatingSystems; + } + public function setNegativeSiteUrls($negativeSiteUrls) + { + $this->negativeSiteUrls = $negativeSiteUrls; + } + public function getNegativeSiteUrls() + { + return $this->negativeSiteUrls; + } + public function setNegativeSizes($negativeSizes) + { + $this->negativeSizes = $negativeSizes; + } + public function getNegativeSizes() + { + return $this->negativeSizes; + } + public function setNegativeVideoAdPositionSegments($negativeVideoAdPositionSegments) + { + $this->negativeVideoAdPositionSegments = $negativeVideoAdPositionSegments; + } + public function getNegativeVideoAdPositionSegments() + { + return $this->negativeVideoAdPositionSegments; + } + public function setNegativeVideoDurationSegments($negativeVideoDurationSegments) + { + $this->negativeVideoDurationSegments = $negativeVideoDurationSegments; + } + public function getNegativeVideoDurationSegments() + { + return $this->negativeVideoDurationSegments; + } + public function setNegativeXfpAdSlots($negativeXfpAdSlots) + { + $this->negativeXfpAdSlots = $negativeXfpAdSlots; + } + public function getNegativeXfpAdSlots() + { + return $this->negativeXfpAdSlots; + } + public function setNegativeXfpPlacements($negativeXfpPlacements) + { + $this->negativeXfpPlacements = $negativeXfpPlacements; + } + public function getNegativeXfpPlacements() + { + return $this->negativeXfpPlacements; + } + public function setPositiveAdSizes($positiveAdSizes) + { + $this->positiveAdSizes = $positiveAdSizes; + } + public function getPositiveAdSizes() + { + return $this->positiveAdSizes; + } + public function setPositiveAdTypeSegments($positiveAdTypeSegments) + { + $this->positiveAdTypeSegments = $positiveAdTypeSegments; + } + public function getPositiveAdTypeSegments() + { + return $this->positiveAdTypeSegments; + } + public function setPositiveAudienceSegments($positiveAudienceSegments) + { + $this->positiveAudienceSegments = $positiveAudienceSegments; + } + public function getPositiveAudienceSegments() + { + return $this->positiveAudienceSegments; + } + public function setPositiveDeviceCategories($positiveDeviceCategories) + { + $this->positiveDeviceCategories = $positiveDeviceCategories; + } + public function getPositiveDeviceCategories() + { + return $this->positiveDeviceCategories; + } + public function setPositiveIcmBrands($positiveIcmBrands) + { + $this->positiveIcmBrands = $positiveIcmBrands; + } + public function getPositiveIcmBrands() + { + return $this->positiveIcmBrands; + } + public function setPositiveIcmInterests($positiveIcmInterests) + { + $this->positiveIcmInterests = $positiveIcmInterests; + } + public function getPositiveIcmInterests() + { + return $this->positiveIcmInterests; + } + public function setPositiveInventorySlots($positiveInventorySlots) + { + $this->positiveInventorySlots = $positiveInventorySlots; + } + public function getPositiveInventorySlots() + { + return $this->positiveInventorySlots; + } + public function setPositiveKeyValues($positiveKeyValues) + { + $this->positiveKeyValues = $positiveKeyValues; + } + public function getPositiveKeyValues() + { + return $this->positiveKeyValues; + } + public function setPositiveLocations($positiveLocations) + { + $this->positiveLocations = $positiveLocations; + } + public function getPositiveLocations() + { + return $this->positiveLocations; + } + public function setPositiveMobileApps($positiveMobileApps) + { + $this->positiveMobileApps = $positiveMobileApps; + } + public function getPositiveMobileApps() + { + return $this->positiveMobileApps; + } + public function setPositiveOperatingSystemVersions($positiveOperatingSystemVersions) + { + $this->positiveOperatingSystemVersions = $positiveOperatingSystemVersions; + } + public function getPositiveOperatingSystemVersions() + { + return $this->positiveOperatingSystemVersions; + } + public function setPositiveOperatingSystems($positiveOperatingSystems) + { + $this->positiveOperatingSystems = $positiveOperatingSystems; + } + public function getPositiveOperatingSystems() + { + return $this->positiveOperatingSystems; + } + public function setPositiveSiteUrls($positiveSiteUrls) + { + $this->positiveSiteUrls = $positiveSiteUrls; + } + public function getPositiveSiteUrls() + { + return $this->positiveSiteUrls; + } + public function setPositiveSizes($positiveSizes) + { + $this->positiveSizes = $positiveSizes; + } + public function getPositiveSizes() + { + return $this->positiveSizes; + } + public function setPositiveVideoAdPositionSegments($positiveVideoAdPositionSegments) + { + $this->positiveVideoAdPositionSegments = $positiveVideoAdPositionSegments; + } + public function getPositiveVideoAdPositionSegments() + { + return $this->positiveVideoAdPositionSegments; + } + public function setPositiveVideoDurationSegments($positiveVideoDurationSegments) + { + $this->positiveVideoDurationSegments = $positiveVideoDurationSegments; + } + public function getPositiveVideoDurationSegments() + { + return $this->positiveVideoDurationSegments; + } + public function setPositiveXfpAdSlots($positiveXfpAdSlots) + { + $this->positiveXfpAdSlots = $positiveXfpAdSlots; + } + public function getPositiveXfpAdSlots() + { + return $this->positiveXfpAdSlots; + } + public function setPositiveXfpPlacements($positiveXfpPlacements) + { + $this->positiveXfpPlacements = $positiveXfpPlacements; + } + public function getPositiveXfpPlacements() + { + return $this->positiveXfpPlacements; + } +} + +class Google_Service_AdExchangeBuyer_ListClientAccessCapabilitiesRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $sponsorAccountId; + + + public function setSponsorAccountId($sponsorAccountId) + { + $this->sponsorAccountId = $sponsorAccountId; + } + public function getSponsorAccountId() + { + return $this->sponsorAccountId; + } +} + +class Google_Service_AdExchangeBuyer_ListClientAccessCapabilitiesResponse extends Google_Collection +{ + protected $collection_key = 'clientAccessPermissions'; + protected $internal_gapi_mappings = array( + ); + protected $clientAccessPermissionsType = 'Google_Service_AdExchangeBuyer_ClientAccessCapabilities'; + protected $clientAccessPermissionsDataType = 'array'; + + + public function setClientAccessPermissions($clientAccessPermissions) + { + $this->clientAccessPermissions = $clientAccessPermissions; + } + public function getClientAccessPermissions() + { + return $this->clientAccessPermissions; + } +} + +class Google_Service_AdExchangeBuyer_ListOffersRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $sinceTimestampMillis; + + + public function setSinceTimestampMillis($sinceTimestampMillis) + { + $this->sinceTimestampMillis = $sinceTimestampMillis; + } + public function getSinceTimestampMillis() + { + return $this->sinceTimestampMillis; + } +} + +class Google_Service_AdExchangeBuyer_ListOffersResponse extends Google_Collection +{ + protected $collection_key = 'offers'; + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $offersType = 'Google_Service_AdExchangeBuyer_OfferDto'; + protected $offersDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setOffers($offers) + { + $this->offers = $offers; + } + public function getOffers() + { + return $this->offers; + } +} + +class Google_Service_AdExchangeBuyer_MarketplaceDeal extends Google_Collection +{ + protected $collection_key = 'sharedTargetings'; + protected $internal_gapi_mappings = array( + ); + protected $buyerPrivateDataType = 'Google_Service_AdExchangeBuyer_PrivateData'; + protected $buyerPrivateDataDataType = ''; + public $creationTimeMs; + public $dealId; + protected $deliveryControlType = 'Google_Service_AdExchangeBuyer_DeliveryControl'; + protected $deliveryControlDataType = ''; + public $externalDealId; + public $flightEndTimeMs; + public $flightStartTimeMs; + public $inventoryDescription; + public $kind; + public $lastUpdateTimeMs; + public $name; + public $offerId; + public $offerRevisionNumber; + public $orderId; + protected $sellerContactsType = 'Google_Service_AdExchangeBuyer_ContactInformation'; + protected $sellerContactsDataType = 'array'; + protected $sharedTargetingsType = 'Google_Service_AdExchangeBuyer_SharedTargeting'; + protected $sharedTargetingsDataType = 'array'; + public $syndicationProduct; + protected $termsType = 'Google_Service_AdExchangeBuyer_DealTerms'; + protected $termsDataType = ''; + public $webPropertyCode; + + + public function setBuyerPrivateData(Google_Service_AdExchangeBuyer_PrivateData $buyerPrivateData) + { + $this->buyerPrivateData = $buyerPrivateData; + } + public function getBuyerPrivateData() + { + return $this->buyerPrivateData; + } + public function setCreationTimeMs($creationTimeMs) + { + $this->creationTimeMs = $creationTimeMs; + } + public function getCreationTimeMs() + { + return $this->creationTimeMs; + } + public function setDealId($dealId) + { + $this->dealId = $dealId; + } + public function getDealId() + { + return $this->dealId; + } + public function setDeliveryControl(Google_Service_AdExchangeBuyer_DeliveryControl $deliveryControl) + { + $this->deliveryControl = $deliveryControl; + } + public function getDeliveryControl() + { + return $this->deliveryControl; + } + public function setExternalDealId($externalDealId) + { + $this->externalDealId = $externalDealId; + } + public function getExternalDealId() + { + return $this->externalDealId; + } + public function setFlightEndTimeMs($flightEndTimeMs) + { + $this->flightEndTimeMs = $flightEndTimeMs; + } + public function getFlightEndTimeMs() + { + return $this->flightEndTimeMs; + } + public function setFlightStartTimeMs($flightStartTimeMs) + { + $this->flightStartTimeMs = $flightStartTimeMs; + } + public function getFlightStartTimeMs() + { + return $this->flightStartTimeMs; + } + public function setInventoryDescription($inventoryDescription) + { + $this->inventoryDescription = $inventoryDescription; + } + public function getInventoryDescription() + { + return $this->inventoryDescription; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastUpdateTimeMs($lastUpdateTimeMs) + { + $this->lastUpdateTimeMs = $lastUpdateTimeMs; + } + public function getLastUpdateTimeMs() + { + return $this->lastUpdateTimeMs; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOfferId($offerId) + { + $this->offerId = $offerId; + } + public function getOfferId() + { + return $this->offerId; + } + public function setOfferRevisionNumber($offerRevisionNumber) + { + $this->offerRevisionNumber = $offerRevisionNumber; + } + public function getOfferRevisionNumber() + { + return $this->offerRevisionNumber; + } + public function setOrderId($orderId) + { + $this->orderId = $orderId; + } + public function getOrderId() + { + return $this->orderId; + } + public function setSellerContacts($sellerContacts) + { + $this->sellerContacts = $sellerContacts; + } + public function getSellerContacts() + { + return $this->sellerContacts; + } + public function setSharedTargetings($sharedTargetings) + { + $this->sharedTargetings = $sharedTargetings; + } + public function getSharedTargetings() + { + return $this->sharedTargetings; + } + public function setSyndicationProduct($syndicationProduct) + { + $this->syndicationProduct = $syndicationProduct; + } + public function getSyndicationProduct() + { + return $this->syndicationProduct; + } + public function setTerms(Google_Service_AdExchangeBuyer_DealTerms $terms) + { + $this->terms = $terms; + } + public function getTerms() + { + return $this->terms; + } + public function setWebPropertyCode($webPropertyCode) + { + $this->webPropertyCode = $webPropertyCode; + } + public function getWebPropertyCode() + { + return $this->webPropertyCode; + } +} + +class Google_Service_AdExchangeBuyer_MarketplaceDealParty extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $buyerType = 'Google_Service_AdExchangeBuyer_Buyer'; + protected $buyerDataType = ''; + protected $sellerType = 'Google_Service_AdExchangeBuyer_Seller'; + protected $sellerDataType = ''; + + + public function setBuyer(Google_Service_AdExchangeBuyer_Buyer $buyer) + { + $this->buyer = $buyer; + } + public function getBuyer() + { + return $this->buyer; + } + public function setSeller(Google_Service_AdExchangeBuyer_Seller $seller) + { + $this->seller = $seller; + } + public function getSeller() + { + return $this->seller; + } +} + +class Google_Service_AdExchangeBuyer_MarketplaceLabel extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $createTimeMs; + protected $deprecatedMarketplaceDealPartyType = 'Google_Service_AdExchangeBuyer_MarketplaceDealParty'; + protected $deprecatedMarketplaceDealPartyDataType = ''; + public $label; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setCreateTimeMs($createTimeMs) + { + $this->createTimeMs = $createTimeMs; + } + public function getCreateTimeMs() + { + return $this->createTimeMs; + } + public function setDeprecatedMarketplaceDealParty(Google_Service_AdExchangeBuyer_MarketplaceDealParty $deprecatedMarketplaceDealParty) + { + $this->deprecatedMarketplaceDealParty = $deprecatedMarketplaceDealParty; + } + public function getDeprecatedMarketplaceDealParty() + { + return $this->deprecatedMarketplaceDealParty; + } + public function setLabel($label) + { + $this->label = $label; + } + public function getLabel() + { + return $this->label; + } +} + +class Google_Service_AdExchangeBuyer_MarketplaceNote extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $creatorRole; + public $dealId; + public $kind; + public $note; + public $noteId; + public $orderId; + public $orderRevisionNumber; + public $timestampMs; + + + public function setCreatorRole($creatorRole) + { + $this->creatorRole = $creatorRole; + } + public function getCreatorRole() + { + return $this->creatorRole; + } + public function setDealId($dealId) + { + $this->dealId = $dealId; + } + public function getDealId() + { + return $this->dealId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNote($note) + { + $this->note = $note; + } + public function getNote() + { + return $this->note; + } + public function setNoteId($noteId) + { + $this->noteId = $noteId; + } + public function getNoteId() + { + return $this->noteId; + } + public function setOrderId($orderId) + { + $this->orderId = $orderId; + } + public function getOrderId() + { + return $this->orderId; + } + public function setOrderRevisionNumber($orderRevisionNumber) + { + $this->orderRevisionNumber = $orderRevisionNumber; + } + public function getOrderRevisionNumber() + { + return $this->orderRevisionNumber; + } + public function setTimestampMs($timestampMs) + { + $this->timestampMs = $timestampMs; + } + public function getTimestampMs() + { + return $this->timestampMs; + } +} + +class Google_Service_AdExchangeBuyer_MarketplaceOffer extends Google_Collection +{ + protected $collection_key = 'sharedTargetings'; + protected $internal_gapi_mappings = array( + ); + public $creationTimeMs; + protected $creatorContactsType = 'Google_Service_AdExchangeBuyer_ContactInformation'; + protected $creatorContactsDataType = 'array'; + public $flightEndTimeMs; + public $flightStartTimeMs; + public $hasCreatorSignedOff; + public $kind; + protected $labelsType = 'Google_Service_AdExchangeBuyer_MarketplaceLabel'; + protected $labelsDataType = 'array'; + public $lastUpdateTimeMs; + public $name; + public $offerId; + public $revisionNumber; + protected $sellerType = 'Google_Service_AdExchangeBuyer_Seller'; + protected $sellerDataType = ''; + protected $sharedTargetingsType = 'Google_Service_AdExchangeBuyer_SharedTargeting'; + protected $sharedTargetingsDataType = 'array'; + public $state; + public $syndicationProduct; + protected $termsType = 'Google_Service_AdExchangeBuyer_DealTerms'; + protected $termsDataType = ''; + public $webPropertyCode; + + + public function setCreationTimeMs($creationTimeMs) + { + $this->creationTimeMs = $creationTimeMs; + } + public function getCreationTimeMs() + { + return $this->creationTimeMs; + } + public function setCreatorContacts($creatorContacts) + { + $this->creatorContacts = $creatorContacts; + } + public function getCreatorContacts() + { + return $this->creatorContacts; + } + public function setFlightEndTimeMs($flightEndTimeMs) + { + $this->flightEndTimeMs = $flightEndTimeMs; + } + public function getFlightEndTimeMs() + { + return $this->flightEndTimeMs; + } + public function setFlightStartTimeMs($flightStartTimeMs) + { + $this->flightStartTimeMs = $flightStartTimeMs; + } + public function getFlightStartTimeMs() + { + return $this->flightStartTimeMs; + } + public function setHasCreatorSignedOff($hasCreatorSignedOff) + { + $this->hasCreatorSignedOff = $hasCreatorSignedOff; + } + public function getHasCreatorSignedOff() + { + return $this->hasCreatorSignedOff; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setLastUpdateTimeMs($lastUpdateTimeMs) + { + $this->lastUpdateTimeMs = $lastUpdateTimeMs; + } + public function getLastUpdateTimeMs() + { + return $this->lastUpdateTimeMs; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOfferId($offerId) + { + $this->offerId = $offerId; + } + public function getOfferId() + { + return $this->offerId; + } + public function setRevisionNumber($revisionNumber) + { + $this->revisionNumber = $revisionNumber; + } + public function getRevisionNumber() + { + return $this->revisionNumber; + } + public function setSeller(Google_Service_AdExchangeBuyer_Seller $seller) + { + $this->seller = $seller; + } + public function getSeller() + { + return $this->seller; + } + public function setSharedTargetings($sharedTargetings) + { + $this->sharedTargetings = $sharedTargetings; + } + public function getSharedTargetings() + { + return $this->sharedTargetings; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } + public function setSyndicationProduct($syndicationProduct) + { + $this->syndicationProduct = $syndicationProduct; + } + public function getSyndicationProduct() + { + return $this->syndicationProduct; + } + public function setTerms(Google_Service_AdExchangeBuyer_DealTerms $terms) + { + $this->terms = $terms; + } + public function getTerms() + { + return $this->terms; + } + public function setWebPropertyCode($webPropertyCode) + { + $this->webPropertyCode = $webPropertyCode; + } + public function getWebPropertyCode() + { + return $this->webPropertyCode; + } +} + +class Google_Service_AdExchangeBuyer_MarketplaceOrder extends Google_Collection +{ + protected $collection_key = 'sellerContacts'; + protected $internal_gapi_mappings = array( + ); + protected $billedBuyerType = 'Google_Service_AdExchangeBuyer_Buyer'; + protected $billedBuyerDataType = ''; + protected $buyerType = 'Google_Service_AdExchangeBuyer_Buyer'; + protected $buyerDataType = ''; + protected $buyerContactsType = 'Google_Service_AdExchangeBuyer_ContactInformation'; + protected $buyerContactsDataType = 'array'; + protected $buyerPrivateDataType = 'Google_Service_AdExchangeBuyer_PrivateData'; + protected $buyerPrivateDataDataType = ''; + public $hasBuyerSignedOff; + public $hasSellerSignedOff; + public $isRenegotiating; + public $isSetupComplete; + public $kind; + protected $labelsType = 'Google_Service_AdExchangeBuyer_MarketplaceLabel'; + protected $labelsDataType = 'array'; + public $lastUpdaterOrCommentorRole; + public $lastUpdaterRole; + public $name; + public $orderId; + public $orderState; + public $originatorRole; + public $revisionNumber; + public $revisionTimeMs; + protected $sellerType = 'Google_Service_AdExchangeBuyer_Seller'; + protected $sellerDataType = ''; + protected $sellerContactsType = 'Google_Service_AdExchangeBuyer_ContactInformation'; + protected $sellerContactsDataType = 'array'; + + + public function setBilledBuyer(Google_Service_AdExchangeBuyer_Buyer $billedBuyer) + { + $this->billedBuyer = $billedBuyer; + } + public function getBilledBuyer() + { + return $this->billedBuyer; + } + public function setBuyer(Google_Service_AdExchangeBuyer_Buyer $buyer) + { + $this->buyer = $buyer; + } + public function getBuyer() + { + return $this->buyer; + } + public function setBuyerContacts($buyerContacts) + { + $this->buyerContacts = $buyerContacts; + } + public function getBuyerContacts() + { + return $this->buyerContacts; + } + public function setBuyerPrivateData(Google_Service_AdExchangeBuyer_PrivateData $buyerPrivateData) + { + $this->buyerPrivateData = $buyerPrivateData; + } + public function getBuyerPrivateData() + { + return $this->buyerPrivateData; + } + public function setHasBuyerSignedOff($hasBuyerSignedOff) + { + $this->hasBuyerSignedOff = $hasBuyerSignedOff; + } + public function getHasBuyerSignedOff() + { + return $this->hasBuyerSignedOff; + } + public function setHasSellerSignedOff($hasSellerSignedOff) + { + $this->hasSellerSignedOff = $hasSellerSignedOff; + } + public function getHasSellerSignedOff() + { + return $this->hasSellerSignedOff; + } + public function setIsRenegotiating($isRenegotiating) + { + $this->isRenegotiating = $isRenegotiating; + } + public function getIsRenegotiating() + { + return $this->isRenegotiating; + } + public function setIsSetupComplete($isSetupComplete) + { + $this->isSetupComplete = $isSetupComplete; + } + public function getIsSetupComplete() + { + return $this->isSetupComplete; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setLastUpdaterOrCommentorRole($lastUpdaterOrCommentorRole) + { + $this->lastUpdaterOrCommentorRole = $lastUpdaterOrCommentorRole; + } + public function getLastUpdaterOrCommentorRole() + { + return $this->lastUpdaterOrCommentorRole; + } + public function setLastUpdaterRole($lastUpdaterRole) + { + $this->lastUpdaterRole = $lastUpdaterRole; + } + public function getLastUpdaterRole() + { + return $this->lastUpdaterRole; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOrderId($orderId) + { + $this->orderId = $orderId; + } + public function getOrderId() + { + return $this->orderId; + } + public function setOrderState($orderState) + { + $this->orderState = $orderState; + } + public function getOrderState() + { + return $this->orderState; + } + public function setOriginatorRole($originatorRole) + { + $this->originatorRole = $originatorRole; + } + public function getOriginatorRole() + { + return $this->originatorRole; + } + public function setRevisionNumber($revisionNumber) + { + $this->revisionNumber = $revisionNumber; + } + public function getRevisionNumber() + { + return $this->revisionNumber; + } + public function setRevisionTimeMs($revisionTimeMs) + { + $this->revisionTimeMs = $revisionTimeMs; + } + public function getRevisionTimeMs() + { + return $this->revisionTimeMs; + } + public function setSeller(Google_Service_AdExchangeBuyer_Seller $seller) + { + $this->seller = $seller; + } + public function getSeller() + { + return $this->seller; + } + public function setSellerContacts($sellerContacts) + { + $this->sellerContacts = $sellerContacts; + } + public function getSellerContacts() + { + return $this->sellerContacts; + } +} + +class Google_Service_AdExchangeBuyer_MoneyDto extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $currencyCode; + public $micros; + + + public function setCurrencyCode($currencyCode) + { + $this->currencyCode = $currencyCode; + } + public function getCurrencyCode() + { + return $this->currencyCode; + } + public function setMicros($micros) + { + $this->micros = $micros; + } + public function getMicros() + { + return $this->micros; + } +} + +class Google_Service_AdExchangeBuyer_NegotiationDto extends Google_Collection +{ + protected $collection_key = 'sellerEmailContacts'; + protected $internal_gapi_mappings = array( + ); + protected $billedBuyerType = 'Google_Service_AdExchangeBuyer_DealPartyDto'; + protected $billedBuyerDataType = ''; + protected $buyerType = 'Google_Service_AdExchangeBuyer_DealPartyDto'; + protected $buyerDataType = ''; + public $buyerEmailContacts; + public $dealType; + public $externalDealId; + public $kind; + public $labelNames; + public $negotiationId; + protected $negotiationRoundsType = 'Google_Service_AdExchangeBuyer_NegotiationRoundDto'; + protected $negotiationRoundsDataType = 'array'; + public $negotiationState; + public $offerId; + protected $sellerType = 'Google_Service_AdExchangeBuyer_DealPartyDto'; + protected $sellerDataType = ''; + public $sellerEmailContacts; + protected $statsType = 'Google_Service_AdExchangeBuyer_StatsDto'; + protected $statsDataType = ''; + public $status; + + + public function setBilledBuyer(Google_Service_AdExchangeBuyer_DealPartyDto $billedBuyer) + { + $this->billedBuyer = $billedBuyer; + } + public function getBilledBuyer() + { + return $this->billedBuyer; + } + public function setBuyer(Google_Service_AdExchangeBuyer_DealPartyDto $buyer) + { + $this->buyer = $buyer; + } + public function getBuyer() + { + return $this->buyer; + } + public function setBuyerEmailContacts($buyerEmailContacts) + { + $this->buyerEmailContacts = $buyerEmailContacts; + } + public function getBuyerEmailContacts() + { + return $this->buyerEmailContacts; + } + public function setDealType($dealType) + { + $this->dealType = $dealType; + } + public function getDealType() + { + return $this->dealType; + } + public function setExternalDealId($externalDealId) + { + $this->externalDealId = $externalDealId; + } + public function getExternalDealId() + { + return $this->externalDealId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLabelNames($labelNames) + { + $this->labelNames = $labelNames; + } + public function getLabelNames() + { + return $this->labelNames; + } + public function setNegotiationId($negotiationId) + { + $this->negotiationId = $negotiationId; + } + public function getNegotiationId() + { + return $this->negotiationId; + } + public function setNegotiationRounds($negotiationRounds) + { + $this->negotiationRounds = $negotiationRounds; + } + public function getNegotiationRounds() + { + return $this->negotiationRounds; + } + public function setNegotiationState($negotiationState) + { + $this->negotiationState = $negotiationState; + } + public function getNegotiationState() + { + return $this->negotiationState; + } + public function setOfferId($offerId) + { + $this->offerId = $offerId; + } + public function getOfferId() + { + return $this->offerId; + } + public function setSeller(Google_Service_AdExchangeBuyer_DealPartyDto $seller) + { + $this->seller = $seller; + } + public function getSeller() + { + return $this->seller; + } + public function setSellerEmailContacts($sellerEmailContacts) + { + $this->sellerEmailContacts = $sellerEmailContacts; + } + public function getSellerEmailContacts() + { + return $this->sellerEmailContacts; + } + public function setStats(Google_Service_AdExchangeBuyer_StatsDto $stats) + { + $this->stats = $stats; + } + public function getStats() + { + return $this->stats; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} + +class Google_Service_AdExchangeBuyer_NegotiationRoundDto extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $action; + public $dbmPartnerId; + protected $editHistoryType = 'Google_Service_AdExchangeBuyer_EditHistoryDto'; + protected $editHistoryDataType = ''; + public $kind; + public $negotiationId; + public $notes; + public $originatorRole; + public $roundNumber; + protected $termsType = 'Google_Service_AdExchangeBuyer_TermsDto'; + protected $termsDataType = ''; + + + public function setAction($action) + { + $this->action = $action; + } + public function getAction() + { + return $this->action; + } + public function setDbmPartnerId($dbmPartnerId) + { + $this->dbmPartnerId = $dbmPartnerId; + } + public function getDbmPartnerId() + { + return $this->dbmPartnerId; + } + public function setEditHistory(Google_Service_AdExchangeBuyer_EditHistoryDto $editHistory) + { + $this->editHistory = $editHistory; + } + public function getEditHistory() + { + return $this->editHistory; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNegotiationId($negotiationId) + { + $this->negotiationId = $negotiationId; + } + public function getNegotiationId() + { + return $this->negotiationId; + } + public function setNotes($notes) + { + $this->notes = $notes; + } + public function getNotes() + { + return $this->notes; + } + public function setOriginatorRole($originatorRole) + { + $this->originatorRole = $originatorRole; + } + public function getOriginatorRole() + { + return $this->originatorRole; + } + public function setRoundNumber($roundNumber) + { + $this->roundNumber = $roundNumber; + } + public function getRoundNumber() + { + return $this->roundNumber; + } + public function setTerms(Google_Service_AdExchangeBuyer_TermsDto $terms) + { + $this->terms = $terms; + } + public function getTerms() + { + return $this->terms; + } +} + +class Google_Service_AdExchangeBuyer_OfferDto extends Google_Collection +{ + protected $collection_key = 'openToDealParties'; + protected $internal_gapi_mappings = array( + ); + public $anonymous; + protected $billedBuyerType = 'Google_Service_AdExchangeBuyer_DealPartyDto'; + protected $billedBuyerDataType = ''; + protected $closedToDealPartiesType = 'Google_Service_AdExchangeBuyer_DealPartyDto'; + protected $closedToDealPartiesDataType = 'array'; + protected $creatorType = 'Google_Service_AdExchangeBuyer_DealPartyDto'; + protected $creatorDataType = ''; + public $emailContacts; + public $isOpen; + public $kind; + public $labelNames; + public $offerId; + public $offerState; + protected $openToDealPartiesType = 'Google_Service_AdExchangeBuyer_DealPartyDto'; + protected $openToDealPartiesDataType = 'array'; + public $pointOfContact; + public $status; + protected $termsType = 'Google_Service_AdExchangeBuyer_TermsDto'; + protected $termsDataType = ''; + + + public function setAnonymous($anonymous) + { + $this->anonymous = $anonymous; + } + public function getAnonymous() + { + return $this->anonymous; + } + public function setBilledBuyer(Google_Service_AdExchangeBuyer_DealPartyDto $billedBuyer) + { + $this->billedBuyer = $billedBuyer; + } + public function getBilledBuyer() + { + return $this->billedBuyer; + } + public function setClosedToDealParties($closedToDealParties) + { + $this->closedToDealParties = $closedToDealParties; + } + public function getClosedToDealParties() + { + return $this->closedToDealParties; + } + public function setCreator(Google_Service_AdExchangeBuyer_DealPartyDto $creator) + { + $this->creator = $creator; + } + public function getCreator() + { + return $this->creator; + } + public function setEmailContacts($emailContacts) + { + $this->emailContacts = $emailContacts; + } + public function getEmailContacts() + { + return $this->emailContacts; + } + public function setIsOpen($isOpen) + { + $this->isOpen = $isOpen; + } + public function getIsOpen() + { + return $this->isOpen; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLabelNames($labelNames) + { + $this->labelNames = $labelNames; + } + public function getLabelNames() + { + return $this->labelNames; + } + public function setOfferId($offerId) + { + $this->offerId = $offerId; + } + public function getOfferId() + { + return $this->offerId; + } + public function setOfferState($offerState) + { + $this->offerState = $offerState; + } + public function getOfferState() + { + return $this->offerState; + } + public function setOpenToDealParties($openToDealParties) + { + $this->openToDealParties = $openToDealParties; + } + public function getOpenToDealParties() + { + return $this->openToDealParties; + } + public function setPointOfContact($pointOfContact) + { + $this->pointOfContact = $pointOfContact; + } + public function getPointOfContact() + { + return $this->pointOfContact; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setTerms(Google_Service_AdExchangeBuyer_TermsDto $terms) + { + $this->terms = $terms; + } + public function getTerms() + { + return $this->terms; + } +} + +class Google_Service_AdExchangeBuyer_PerformanceReport extends Google_Collection +{ + protected $collection_key = 'hostedMatchStatusRate'; + protected $internal_gapi_mappings = array( + ); + public $bidRate; + public $bidRequestRate; + public $calloutStatusRate; + public $cookieMatcherStatusRate; + public $creativeStatusRate; + public $filteredBidRate; + public $hostedMatchStatusRate; + public $inventoryMatchRate; + public $kind; + public $latency50thPercentile; + public $latency85thPercentile; + public $latency95thPercentile; + public $noQuotaInRegion; + public $outOfQuota; + public $pixelMatchRequests; + public $pixelMatchResponses; + public $quotaConfiguredLimit; + public $quotaThrottledLimit; + public $region; + public $successfulRequestRate; + public $timestamp; + public $unsuccessfulRequestRate; + + + public function setBidRate($bidRate) + { + $this->bidRate = $bidRate; + } + public function getBidRate() + { + return $this->bidRate; + } + public function setBidRequestRate($bidRequestRate) + { + $this->bidRequestRate = $bidRequestRate; + } + public function getBidRequestRate() + { + return $this->bidRequestRate; + } + public function setCalloutStatusRate($calloutStatusRate) + { + $this->calloutStatusRate = $calloutStatusRate; + } + public function getCalloutStatusRate() + { + return $this->calloutStatusRate; + } + public function setCookieMatcherStatusRate($cookieMatcherStatusRate) + { + $this->cookieMatcherStatusRate = $cookieMatcherStatusRate; + } + public function getCookieMatcherStatusRate() + { + return $this->cookieMatcherStatusRate; + } + public function setCreativeStatusRate($creativeStatusRate) + { + $this->creativeStatusRate = $creativeStatusRate; + } + public function getCreativeStatusRate() + { + return $this->creativeStatusRate; + } + public function setFilteredBidRate($filteredBidRate) + { + $this->filteredBidRate = $filteredBidRate; + } + public function getFilteredBidRate() + { + return $this->filteredBidRate; + } + public function setHostedMatchStatusRate($hostedMatchStatusRate) + { + $this->hostedMatchStatusRate = $hostedMatchStatusRate; + } + public function getHostedMatchStatusRate() + { + return $this->hostedMatchStatusRate; + } + public function setInventoryMatchRate($inventoryMatchRate) + { + $this->inventoryMatchRate = $inventoryMatchRate; + } + public function getInventoryMatchRate() + { + return $this->inventoryMatchRate; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLatency50thPercentile($latency50thPercentile) + { + $this->latency50thPercentile = $latency50thPercentile; + } + public function getLatency50thPercentile() + { + return $this->latency50thPercentile; + } + public function setLatency85thPercentile($latency85thPercentile) + { + $this->latency85thPercentile = $latency85thPercentile; + } + public function getLatency85thPercentile() + { + return $this->latency85thPercentile; + } + public function setLatency95thPercentile($latency95thPercentile) + { + $this->latency95thPercentile = $latency95thPercentile; + } + public function getLatency95thPercentile() + { + return $this->latency95thPercentile; + } + public function setNoQuotaInRegion($noQuotaInRegion) + { + $this->noQuotaInRegion = $noQuotaInRegion; + } + public function getNoQuotaInRegion() + { + return $this->noQuotaInRegion; + } + public function setOutOfQuota($outOfQuota) + { + $this->outOfQuota = $outOfQuota; + } + public function getOutOfQuota() + { + return $this->outOfQuota; + } + public function setPixelMatchRequests($pixelMatchRequests) + { + $this->pixelMatchRequests = $pixelMatchRequests; + } + public function getPixelMatchRequests() + { + return $this->pixelMatchRequests; + } + public function setPixelMatchResponses($pixelMatchResponses) + { + $this->pixelMatchResponses = $pixelMatchResponses; + } + public function getPixelMatchResponses() + { + return $this->pixelMatchResponses; + } + public function setQuotaConfiguredLimit($quotaConfiguredLimit) + { + $this->quotaConfiguredLimit = $quotaConfiguredLimit; + } + public function getQuotaConfiguredLimit() + { + return $this->quotaConfiguredLimit; + } + public function setQuotaThrottledLimit($quotaThrottledLimit) + { + $this->quotaThrottledLimit = $quotaThrottledLimit; + } + public function getQuotaThrottledLimit() + { + return $this->quotaThrottledLimit; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setSuccessfulRequestRate($successfulRequestRate) + { + $this->successfulRequestRate = $successfulRequestRate; + } + public function getSuccessfulRequestRate() + { + return $this->successfulRequestRate; + } + public function setTimestamp($timestamp) + { + $this->timestamp = $timestamp; + } + public function getTimestamp() + { + return $this->timestamp; + } + public function setUnsuccessfulRequestRate($unsuccessfulRequestRate) + { + $this->unsuccessfulRequestRate = $unsuccessfulRequestRate; + } + public function getUnsuccessfulRequestRate() + { + return $this->unsuccessfulRequestRate; + } +} + +class Google_Service_AdExchangeBuyer_PerformanceReportList extends Google_Collection +{ + protected $collection_key = 'performanceReport'; + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $performanceReportType = 'Google_Service_AdExchangeBuyer_PerformanceReport'; + protected $performanceReportDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPerformanceReport($performanceReport) + { + $this->performanceReport = $performanceReport; + } + public function getPerformanceReport() + { + return $this->performanceReport; + } +} + +class Google_Service_AdExchangeBuyer_PretargetingConfig extends Google_Collection +{ + protected $collection_key = 'verticals'; + protected $internal_gapi_mappings = array( + ); + public $billingId; + public $configId; + public $configName; + public $creativeType; + protected $dimensionsType = 'Google_Service_AdExchangeBuyer_PretargetingConfigDimensions'; + protected $dimensionsDataType = 'array'; + public $excludedContentLabels; + public $excludedGeoCriteriaIds; + protected $excludedPlacementsType = 'Google_Service_AdExchangeBuyer_PretargetingConfigExcludedPlacements'; + protected $excludedPlacementsDataType = 'array'; + public $excludedUserLists; + public $excludedVerticals; + public $geoCriteriaIds; + public $isActive; + public $kind; + public $languages; + public $mobileCarriers; + public $mobileDevices; + public $mobileOperatingSystemVersions; + protected $placementsType = 'Google_Service_AdExchangeBuyer_PretargetingConfigPlacements'; + protected $placementsDataType = 'array'; + public $platforms; + public $supportedCreativeAttributes; + public $userLists; + public $vendorTypes; + public $verticals; + + + public function setBillingId($billingId) + { + $this->billingId = $billingId; + } + public function getBillingId() + { + return $this->billingId; + } + public function setConfigId($configId) + { + $this->configId = $configId; + } + public function getConfigId() + { + return $this->configId; + } + public function setConfigName($configName) + { + $this->configName = $configName; + } + public function getConfigName() + { + return $this->configName; + } + public function setCreativeType($creativeType) + { + $this->creativeType = $creativeType; + } + public function getCreativeType() + { + return $this->creativeType; + } + public function setDimensions($dimensions) + { + $this->dimensions = $dimensions; + } + public function getDimensions() + { + return $this->dimensions; + } + public function setExcludedContentLabels($excludedContentLabels) + { + $this->excludedContentLabels = $excludedContentLabels; + } + public function getExcludedContentLabels() + { + return $this->excludedContentLabels; + } + public function setExcludedGeoCriteriaIds($excludedGeoCriteriaIds) + { + $this->excludedGeoCriteriaIds = $excludedGeoCriteriaIds; + } + public function getExcludedGeoCriteriaIds() + { + return $this->excludedGeoCriteriaIds; + } + public function setExcludedPlacements($excludedPlacements) + { + $this->excludedPlacements = $excludedPlacements; + } + public function getExcludedPlacements() + { + return $this->excludedPlacements; + } + public function setExcludedUserLists($excludedUserLists) + { + $this->excludedUserLists = $excludedUserLists; + } + public function getExcludedUserLists() + { + return $this->excludedUserLists; + } + public function setExcludedVerticals($excludedVerticals) + { + $this->excludedVerticals = $excludedVerticals; + } + public function getExcludedVerticals() + { + return $this->excludedVerticals; + } + public function setGeoCriteriaIds($geoCriteriaIds) + { + $this->geoCriteriaIds = $geoCriteriaIds; + } + public function getGeoCriteriaIds() + { + return $this->geoCriteriaIds; + } + public function setIsActive($isActive) + { + $this->isActive = $isActive; + } + public function getIsActive() + { + return $this->isActive; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLanguages($languages) + { + $this->languages = $languages; + } + public function getLanguages() + { + return $this->languages; + } + public function setMobileCarriers($mobileCarriers) + { + $this->mobileCarriers = $mobileCarriers; + } + public function getMobileCarriers() + { + return $this->mobileCarriers; + } + public function setMobileDevices($mobileDevices) + { + $this->mobileDevices = $mobileDevices; + } + public function getMobileDevices() + { + return $this->mobileDevices; + } + public function setMobileOperatingSystemVersions($mobileOperatingSystemVersions) + { + $this->mobileOperatingSystemVersions = $mobileOperatingSystemVersions; + } + public function getMobileOperatingSystemVersions() + { + return $this->mobileOperatingSystemVersions; + } + public function setPlacements($placements) + { + $this->placements = $placements; + } + public function getPlacements() + { + return $this->placements; + } + public function setPlatforms($platforms) + { + $this->platforms = $platforms; + } + public function getPlatforms() + { + return $this->platforms; + } + public function setSupportedCreativeAttributes($supportedCreativeAttributes) + { + $this->supportedCreativeAttributes = $supportedCreativeAttributes; + } + public function getSupportedCreativeAttributes() + { + return $this->supportedCreativeAttributes; + } + public function setUserLists($userLists) + { + $this->userLists = $userLists; + } + public function getUserLists() + { + return $this->userLists; + } + public function setVendorTypes($vendorTypes) + { + $this->vendorTypes = $vendorTypes; + } + public function getVendorTypes() + { + return $this->vendorTypes; + } + public function setVerticals($verticals) + { + $this->verticals = $verticals; + } + public function getVerticals() + { + return $this->verticals; + } +} + +class Google_Service_AdExchangeBuyer_PretargetingConfigDimensions extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $height; + public $width; + + + public function setHeight($height) + { + $this->height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} + +class Google_Service_AdExchangeBuyer_PretargetingConfigExcludedPlacements extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $token; + public $type; + + + public function setToken($token) + { + $this->token = $token; + } + public function getToken() + { + return $this->token; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_AdExchangeBuyer_PretargetingConfigList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_AdExchangeBuyer_PretargetingConfig'; + protected $itemsDataType = 'array'; + public $kind; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_AdExchangeBuyer_PretargetingConfigPlacements extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $token; + public $type; + + + public function setToken($token) + { + $this->token = $token; + } + public function getToken() + { + return $this->token; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_AdExchangeBuyer_Price extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $amountMicros; + public $currencyCode; + + + public function setAmountMicros($amountMicros) + { + $this->amountMicros = $amountMicros; + } + public function getAmountMicros() + { + return $this->amountMicros; + } + public function setCurrencyCode($currencyCode) + { + $this->currencyCode = $currencyCode; + } + public function getCurrencyCode() + { + return $this->currencyCode; + } +} + +class Google_Service_AdExchangeBuyer_PricePerBuyer extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $buyerType = 'Google_Service_AdExchangeBuyer_Buyer'; + protected $buyerDataType = ''; + protected $priceType = 'Google_Service_AdExchangeBuyer_Price'; + protected $priceDataType = ''; + + + public function setBuyer(Google_Service_AdExchangeBuyer_Buyer $buyer) + { + $this->buyer = $buyer; + } + public function getBuyer() + { + return $this->buyer; + } + public function setPrice(Google_Service_AdExchangeBuyer_Price $price) + { + $this->price = $price; + } + public function getPrice() + { + return $this->price; + } +} + +class Google_Service_AdExchangeBuyer_PrivateData extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $referenceId; + public $referencePayload; + + + public function setReferenceId($referenceId) + { + $this->referenceId = $referenceId; + } + public function getReferenceId() + { + return $this->referenceId; + } + public function setReferencePayload($referencePayload) + { + $this->referencePayload = $referencePayload; + } + public function getReferencePayload() + { + return $this->referencePayload; + } +} + +class Google_Service_AdExchangeBuyer_RuleKeyValuePair extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $keyName; + public $value; + + + public function setKeyName($keyName) + { + $this->keyName = $keyName; + } + public function getKeyName() + { + return $this->keyName; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_AdExchangeBuyer_Seller extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $subAccountId; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setSubAccountId($subAccountId) + { + $this->subAccountId = $subAccountId; + } + public function getSubAccountId() + { + return $this->subAccountId; + } +} + +class Google_Service_AdExchangeBuyer_SharedTargeting extends Google_Collection +{ + protected $collection_key = 'inclusions'; + protected $internal_gapi_mappings = array( + ); + protected $exclusionsType = 'Google_Service_AdExchangeBuyer_TargetingValue'; + protected $exclusionsDataType = 'array'; + protected $inclusionsType = 'Google_Service_AdExchangeBuyer_TargetingValue'; + protected $inclusionsDataType = 'array'; + public $key; + + + public function setExclusions($exclusions) + { + $this->exclusions = $exclusions; + } + public function getExclusions() + { + return $this->exclusions; + } + public function setInclusions($inclusions) + { + $this->inclusions = $inclusions; + } + public function getInclusions() + { + return $this->inclusions; + } + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } +} + +class Google_Service_AdExchangeBuyer_StatsDto extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $bids; + public $goodBids; + public $impressions; + public $requests; + protected $revenueType = 'Google_Service_AdExchangeBuyer_MoneyDto'; + protected $revenueDataType = ''; + protected $spendType = 'Google_Service_AdExchangeBuyer_MoneyDto'; + protected $spendDataType = ''; + + + public function setBids($bids) + { + $this->bids = $bids; + } + public function getBids() + { + return $this->bids; + } + public function setGoodBids($goodBids) + { + $this->goodBids = $goodBids; + } + public function getGoodBids() + { + return $this->goodBids; + } + public function setImpressions($impressions) + { + $this->impressions = $impressions; + } + public function getImpressions() + { + return $this->impressions; + } + public function setRequests($requests) + { + $this->requests = $requests; + } + public function getRequests() + { + return $this->requests; + } + public function setRevenue(Google_Service_AdExchangeBuyer_MoneyDto $revenue) + { + $this->revenue = $revenue; + } + public function getRevenue() + { + return $this->revenue; + } + public function setSpend(Google_Service_AdExchangeBuyer_MoneyDto $spend) + { + $this->spend = $spend; + } + public function getSpend() + { + return $this->spend; + } +} + +class Google_Service_AdExchangeBuyer_TargetingValue extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $creativeSizeValueType = 'Google_Service_AdExchangeBuyer_TargetingValueCreativeSize'; + protected $creativeSizeValueDataType = ''; + protected $dayPartTargetingValueType = 'Google_Service_AdExchangeBuyer_TargetingValueDayPartTargeting'; + protected $dayPartTargetingValueDataType = ''; + public $longValue; + public $stringValue; + + + public function setCreativeSizeValue(Google_Service_AdExchangeBuyer_TargetingValueCreativeSize $creativeSizeValue) + { + $this->creativeSizeValue = $creativeSizeValue; + } + public function getCreativeSizeValue() + { + return $this->creativeSizeValue; + } + public function setDayPartTargetingValue(Google_Service_AdExchangeBuyer_TargetingValueDayPartTargeting $dayPartTargetingValue) + { + $this->dayPartTargetingValue = $dayPartTargetingValue; + } + public function getDayPartTargetingValue() + { + return $this->dayPartTargetingValue; + } + public function setLongValue($longValue) + { + $this->longValue = $longValue; + } + public function getLongValue() + { + return $this->longValue; + } + public function setStringValue($stringValue) + { + $this->stringValue = $stringValue; + } + public function getStringValue() + { + return $this->stringValue; + } +} + +class Google_Service_AdExchangeBuyer_TargetingValueCreativeSize extends Google_Collection +{ + protected $collection_key = 'companionSizes'; + protected $internal_gapi_mappings = array( + ); + protected $companionSizesType = 'Google_Service_AdExchangeBuyer_TargetingValueSize'; + protected $companionSizesDataType = 'array'; + public $creativeSizeType; + protected $sizeType = 'Google_Service_AdExchangeBuyer_TargetingValueSize'; + protected $sizeDataType = ''; + + + public function setCompanionSizes($companionSizes) + { + $this->companionSizes = $companionSizes; + } + public function getCompanionSizes() + { + return $this->companionSizes; + } + public function setCreativeSizeType($creativeSizeType) + { + $this->creativeSizeType = $creativeSizeType; + } + public function getCreativeSizeType() + { + return $this->creativeSizeType; + } + public function setSize(Google_Service_AdExchangeBuyer_TargetingValueSize $size) + { + $this->size = $size; + } + public function getSize() + { + return $this->size; + } +} + +class Google_Service_AdExchangeBuyer_TargetingValueDayPartTargeting extends Google_Collection +{ + protected $collection_key = 'dayParts'; + protected $internal_gapi_mappings = array( + ); + protected $dayPartsType = 'Google_Service_AdExchangeBuyer_TargetingValueDayPartTargetingDayPart'; + protected $dayPartsDataType = 'array'; + public $timeZoneType; + + + public function setDayParts($dayParts) + { + $this->dayParts = $dayParts; + } + public function getDayParts() + { + return $this->dayParts; + } + public function setTimeZoneType($timeZoneType) + { + $this->timeZoneType = $timeZoneType; + } + public function getTimeZoneType() + { + return $this->timeZoneType; + } +} + +class Google_Service_AdExchangeBuyer_TargetingValueDayPartTargetingDayPart extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $dayOfWeek; + public $endHour; + public $endMinute; + public $startHour; + public $startMinute; + + + public function setDayOfWeek($dayOfWeek) + { + $this->dayOfWeek = $dayOfWeek; + } + public function getDayOfWeek() + { + return $this->dayOfWeek; + } + public function setEndHour($endHour) + { + $this->endHour = $endHour; + } + public function getEndHour() + { + return $this->endHour; + } + public function setEndMinute($endMinute) + { + $this->endMinute = $endMinute; + } + public function getEndMinute() + { + return $this->endMinute; + } + public function setStartHour($startHour) + { + $this->startHour = $startHour; + } + public function getStartHour() + { + return $this->startHour; + } + public function setStartMinute($startMinute) + { + $this->startMinute = $startMinute; + } + public function getStartMinute() + { + return $this->startMinute; + } +} + +class Google_Service_AdExchangeBuyer_TargetingValueSize extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $height; + public $width; + + + public function setHeight($height) + { + $this->height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} + +class Google_Service_AdExchangeBuyer_TermsDto extends Google_Collection +{ + protected $collection_key = 'urls'; + protected $internal_gapi_mappings = array( + ); + protected $adSlotsType = 'Google_Service_AdExchangeBuyer_AdSlotDto'; + protected $adSlotsDataType = 'array'; + protected $advertisersType = 'Google_Service_AdExchangeBuyer_AdvertiserDto'; + protected $advertisersDataType = 'array'; + protected $audienceSegmentType = 'Google_Service_AdExchangeBuyer_AudienceSegment'; + protected $audienceSegmentDataType = ''; + public $audienceSegmentDescription; + public $billingTerms; + public $buyerBillingType; + protected $cpmType = 'Google_Service_AdExchangeBuyer_MoneyDto'; + protected $cpmDataType = ''; + public $creativeBlockingLevel; + public $creativeReviewPolicy; + protected $dealPremiumType = 'Google_Service_AdExchangeBuyer_MoneyDto'; + protected $dealPremiumDataType = ''; + public $description; + public $descriptiveName; + protected $endDateType = 'Google_Service_AdExchangeBuyer_DateTime'; + protected $endDateDataType = ''; + public $estimatedImpressionsPerDay; + protected $estimatedSpendType = 'Google_Service_AdExchangeBuyer_MoneyDto'; + protected $estimatedSpendDataType = ''; + public $finalizeAutomatically; + protected $inventorySegmentTargetingType = 'Google_Service_AdExchangeBuyer_InventorySegmentTargeting'; + protected $inventorySegmentTargetingDataType = ''; + public $isReservation; + public $minimumSpendMicros; + public $minimumTrueLooks; + public $monetizerType; + public $semiTransparent; + protected $startDateType = 'Google_Service_AdExchangeBuyer_DateTime'; + protected $startDateDataType = ''; + public $targetByDealId; + public $targetingAllAdSlots; + public $termsAttributes; + public $urls; + + + public function setAdSlots($adSlots) + { + $this->adSlots = $adSlots; + } + public function getAdSlots() + { + return $this->adSlots; + } + public function setAdvertisers($advertisers) + { + $this->advertisers = $advertisers; + } + public function getAdvertisers() + { + return $this->advertisers; + } + public function setAudienceSegment(Google_Service_AdExchangeBuyer_AudienceSegment $audienceSegment) + { + $this->audienceSegment = $audienceSegment; + } + public function getAudienceSegment() + { + return $this->audienceSegment; + } + public function setAudienceSegmentDescription($audienceSegmentDescription) + { + $this->audienceSegmentDescription = $audienceSegmentDescription; + } + public function getAudienceSegmentDescription() + { + return $this->audienceSegmentDescription; + } + public function setBillingTerms($billingTerms) + { + $this->billingTerms = $billingTerms; + } + public function getBillingTerms() + { + return $this->billingTerms; + } + public function setBuyerBillingType($buyerBillingType) + { + $this->buyerBillingType = $buyerBillingType; + } + public function getBuyerBillingType() + { + return $this->buyerBillingType; + } + public function setCpm(Google_Service_AdExchangeBuyer_MoneyDto $cpm) + { + $this->cpm = $cpm; + } + public function getCpm() + { + return $this->cpm; + } + public function setCreativeBlockingLevel($creativeBlockingLevel) + { + $this->creativeBlockingLevel = $creativeBlockingLevel; + } + public function getCreativeBlockingLevel() + { + return $this->creativeBlockingLevel; + } + public function setCreativeReviewPolicy($creativeReviewPolicy) + { + $this->creativeReviewPolicy = $creativeReviewPolicy; + } + public function getCreativeReviewPolicy() + { + return $this->creativeReviewPolicy; + } + public function setDealPremium(Google_Service_AdExchangeBuyer_MoneyDto $dealPremium) + { + $this->dealPremium = $dealPremium; + } + public function getDealPremium() + { + return $this->dealPremium; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDescriptiveName($descriptiveName) + { + $this->descriptiveName = $descriptiveName; + } + public function getDescriptiveName() + { + return $this->descriptiveName; + } + public function setEndDate(Google_Service_AdExchangeBuyer_DateTime $endDate) + { + $this->endDate = $endDate; + } + public function getEndDate() + { + return $this->endDate; + } + public function setEstimatedImpressionsPerDay($estimatedImpressionsPerDay) + { + $this->estimatedImpressionsPerDay = $estimatedImpressionsPerDay; + } + public function getEstimatedImpressionsPerDay() + { + return $this->estimatedImpressionsPerDay; + } + public function setEstimatedSpend(Google_Service_AdExchangeBuyer_MoneyDto $estimatedSpend) + { + $this->estimatedSpend = $estimatedSpend; + } + public function getEstimatedSpend() + { + return $this->estimatedSpend; + } + public function setFinalizeAutomatically($finalizeAutomatically) + { + $this->finalizeAutomatically = $finalizeAutomatically; + } + public function getFinalizeAutomatically() + { + return $this->finalizeAutomatically; + } + public function setInventorySegmentTargeting(Google_Service_AdExchangeBuyer_InventorySegmentTargeting $inventorySegmentTargeting) + { + $this->inventorySegmentTargeting = $inventorySegmentTargeting; + } + public function getInventorySegmentTargeting() + { + return $this->inventorySegmentTargeting; + } + public function setIsReservation($isReservation) + { + $this->isReservation = $isReservation; + } + public function getIsReservation() + { + return $this->isReservation; + } + public function setMinimumSpendMicros($minimumSpendMicros) + { + $this->minimumSpendMicros = $minimumSpendMicros; + } + public function getMinimumSpendMicros() + { + return $this->minimumSpendMicros; + } + public function setMinimumTrueLooks($minimumTrueLooks) + { + $this->minimumTrueLooks = $minimumTrueLooks; + } + public function getMinimumTrueLooks() + { + return $this->minimumTrueLooks; + } + public function setMonetizerType($monetizerType) + { + $this->monetizerType = $monetizerType; + } + public function getMonetizerType() + { + return $this->monetizerType; + } + public function setSemiTransparent($semiTransparent) + { + $this->semiTransparent = $semiTransparent; + } + public function getSemiTransparent() + { + return $this->semiTransparent; + } + public function setStartDate(Google_Service_AdExchangeBuyer_DateTime $startDate) + { + $this->startDate = $startDate; + } + public function getStartDate() + { + return $this->startDate; + } + public function setTargetByDealId($targetByDealId) + { + $this->targetByDealId = $targetByDealId; + } + public function getTargetByDealId() + { + return $this->targetByDealId; + } + public function setTargetingAllAdSlots($targetingAllAdSlots) + { + $this->targetingAllAdSlots = $targetingAllAdSlots; + } + public function getTargetingAllAdSlots() + { + return $this->targetingAllAdSlots; + } + public function setTermsAttributes($termsAttributes) + { + $this->termsAttributes = $termsAttributes; + } + public function getTermsAttributes() + { + return $this->termsAttributes; + } + public function setUrls($urls) + { + $this->urls = $urls; + } + public function getUrls() + { + return $this->urls; + } +} + +class Google_Service_AdExchangeBuyer_WebPropertyDto extends Google_Collection +{ + protected $collection_key = 'siteUrls'; + protected $internal_gapi_mappings = array( + ); + public $allowInterestTargetedAds; + public $enabledForPreferredDeals; + public $id; + public $name; + public $propertyCode; + public $siteUrls; + public $syndicationProduct; + + + public function setAllowInterestTargetedAds($allowInterestTargetedAds) + { + $this->allowInterestTargetedAds = $allowInterestTargetedAds; + } + public function getAllowInterestTargetedAds() + { + return $this->allowInterestTargetedAds; + } + public function setEnabledForPreferredDeals($enabledForPreferredDeals) + { + $this->enabledForPreferredDeals = $enabledForPreferredDeals; + } + public function getEnabledForPreferredDeals() + { + return $this->enabledForPreferredDeals; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPropertyCode($propertyCode) + { + $this->propertyCode = $propertyCode; + } + public function getPropertyCode() + { + return $this->propertyCode; + } + public function setSiteUrls($siteUrls) + { + $this->siteUrls = $siteUrls; + } + public function getSiteUrls() + { + return $this->siteUrls; + } + public function setSyndicationProduct($syndicationProduct) + { + $this->syndicationProduct = $syndicationProduct; + } + public function getSyndicationProduct() + { + return $this->syndicationProduct; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/AdExchangeSeller.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/AdExchangeSeller.php new file mode 100644 index 0000000..d48dbaf --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/AdExchangeSeller.php @@ -0,0 +1,1713 @@ + + * Gives Ad Exchange seller users access to their inventory and the ability to + * generate reports

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_AdExchangeSeller extends Google_Service +{ + /** View and manage your Ad Exchange data. */ + const ADEXCHANGE_SELLER = + "https://www.googleapis.com/auth/adexchange.seller"; + /** View your Ad Exchange data. */ + const ADEXCHANGE_SELLER_READONLY = + "https://www.googleapis.com/auth/adexchange.seller.readonly"; + + public $accounts; + public $accounts_adclients; + public $accounts_alerts; + public $accounts_customchannels; + public $accounts_metadata_dimensions; + public $accounts_metadata_metrics; + public $accounts_preferreddeals; + public $accounts_reports; + public $accounts_reports_saved; + public $accounts_urlchannels; + + + /** + * Constructs the internal representation of the AdExchangeSeller service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'adexchangeseller/v2.0/'; + $this->version = 'v2.0'; + $this->serviceName = 'adexchangeseller'; + + $this->accounts = new Google_Service_AdExchangeSeller_Accounts_Resource( + $this, + $this->serviceName, + 'accounts', + array( + 'methods' => array( + 'get' => array( + 'path' => 'accounts/{accountId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'accounts', + 'httpMethod' => 'GET', + 'parameters' => array( + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->accounts_adclients = new Google_Service_AdExchangeSeller_AccountsAdclients_Resource( + $this, + $this->serviceName, + 'adclients', + array( + 'methods' => array( + 'list' => array( + 'path' => 'accounts/{accountId}/adclients', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->accounts_alerts = new Google_Service_AdExchangeSeller_AccountsAlerts_Resource( + $this, + $this->serviceName, + 'alerts', + array( + 'methods' => array( + 'list' => array( + 'path' => 'accounts/{accountId}/alerts', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->accounts_customchannels = new Google_Service_AdExchangeSeller_AccountsCustomchannels_Resource( + $this, + $this->serviceName, + 'customchannels', + array( + 'methods' => array( + 'get' => array( + 'path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customChannelId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->accounts_metadata_dimensions = new Google_Service_AdExchangeSeller_AccountsMetadataDimensions_Resource( + $this, + $this->serviceName, + 'dimensions', + array( + 'methods' => array( + 'list' => array( + 'path' => 'accounts/{accountId}/metadata/dimensions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->accounts_metadata_metrics = new Google_Service_AdExchangeSeller_AccountsMetadataMetrics_Resource( + $this, + $this->serviceName, + 'metrics', + array( + 'methods' => array( + 'list' => array( + 'path' => 'accounts/{accountId}/metadata/metrics', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->accounts_preferreddeals = new Google_Service_AdExchangeSeller_AccountsPreferreddeals_Resource( + $this, + $this->serviceName, + 'preferreddeals', + array( + 'methods' => array( + 'get' => array( + 'path' => 'accounts/{accountId}/preferreddeals/{dealId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dealId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'accounts/{accountId}/preferreddeals', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->accounts_reports = new Google_Service_AdExchangeSeller_AccountsReports_Resource( + $this, + $this->serviceName, + 'reports', + array( + 'methods' => array( + 'generate' => array( + 'path' => 'accounts/{accountId}/reports', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'startDate' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'endDate' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'sort' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'metric' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'startIndex' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'dimension' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ), + ) + ) + ); + $this->accounts_reports_saved = new Google_Service_AdExchangeSeller_AccountsReportsSaved_Resource( + $this, + $this->serviceName, + 'saved', + array( + 'methods' => array( + 'generate' => array( + 'path' => 'accounts/{accountId}/reports/{savedReportId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'savedReportId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startIndex' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'list' => array( + 'path' => 'accounts/{accountId}/reports/saved', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->accounts_urlchannels = new Google_Service_AdExchangeSeller_AccountsUrlchannels_Resource( + $this, + $this->serviceName, + 'urlchannels', + array( + 'methods' => array( + 'list' => array( + 'path' => 'accounts/{accountId}/adclients/{adClientId}/urlchannels', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "accounts" collection of methods. + * Typical usage is: + * + * $adexchangesellerService = new Google_Service_AdExchangeSeller(...); + * $accounts = $adexchangesellerService->accounts; + * + */ +class Google_Service_AdExchangeSeller_Accounts_Resource extends Google_Service_Resource +{ + + /** + * Get information about the selected Ad Exchange account. (accounts.get) + * + * @param string $accountId Account to get information about. Tip: 'myaccount' + * is a valid ID. + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeSeller_Account + */ + public function get($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdExchangeSeller_Account"); + } + + /** + * List all accounts available to this Ad Exchange account. + * (accounts.listAccounts) + * + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken A continuation token, used to page through + * accounts. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @opt_param int maxResults The maximum number of accounts to include in the + * response, used for paging. + * @return Google_Service_AdExchangeSeller_Accounts + */ + public function listAccounts($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdExchangeSeller_Accounts"); + } +} + +/** + * The "adclients" collection of methods. + * Typical usage is: + * + * $adexchangesellerService = new Google_Service_AdExchangeSeller(...); + * $adclients = $adexchangesellerService->adclients; + * + */ +class Google_Service_AdExchangeSeller_AccountsAdclients_Resource extends Google_Service_Resource +{ + + /** + * List all ad clients in this Ad Exchange account. + * (adclients.listAccountsAdclients) + * + * @param string $accountId Account to which the ad client belongs. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken A continuation token, used to page through ad + * clients. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @opt_param string maxResults The maximum number of ad clients to include in + * the response, used for paging. + * @return Google_Service_AdExchangeSeller_AdClients + */ + public function listAccountsAdclients($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdExchangeSeller_AdClients"); + } +} +/** + * The "alerts" collection of methods. + * Typical usage is: + * + * $adexchangesellerService = new Google_Service_AdExchangeSeller(...); + * $alerts = $adexchangesellerService->alerts; + * + */ +class Google_Service_AdExchangeSeller_AccountsAlerts_Resource extends Google_Service_Resource +{ + + /** + * List the alerts for this Ad Exchange account. (alerts.listAccountsAlerts) + * + * @param string $accountId Account owning the alerts. + * @param array $optParams Optional parameters. + * + * @opt_param string locale The locale to use for translating alert messages. + * The account locale will be used if this is not supplied. The AdSense default + * (English) will be used if the supplied locale is invalid or unsupported. + * @return Google_Service_AdExchangeSeller_Alerts + */ + public function listAccountsAlerts($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdExchangeSeller_Alerts"); + } +} +/** + * The "customchannels" collection of methods. + * Typical usage is: + * + * $adexchangesellerService = new Google_Service_AdExchangeSeller(...); + * $customchannels = $adexchangesellerService->customchannels; + * + */ +class Google_Service_AdExchangeSeller_AccountsCustomchannels_Resource extends Google_Service_Resource +{ + + /** + * Get the specified custom channel from the specified ad client. + * (customchannels.get) + * + * @param string $accountId Account to which the ad client belongs. + * @param string $adClientId Ad client which contains the custom channel. + * @param string $customChannelId Custom channel to retrieve. + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeSeller_CustomChannel + */ + public function get($accountId, $adClientId, $customChannelId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'customChannelId' => $customChannelId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdExchangeSeller_CustomChannel"); + } + + /** + * List all custom channels in the specified ad client for this Ad Exchange + * account. (customchannels.listAccountsCustomchannels) + * + * @param string $accountId Account to which the ad client belongs. + * @param string $adClientId Ad client for which to list custom channels. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken A continuation token, used to page through custom + * channels. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @opt_param string maxResults The maximum number of custom channels to include + * in the response, used for paging. + * @return Google_Service_AdExchangeSeller_CustomChannels + */ + public function listAccountsCustomchannels($accountId, $adClientId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'adClientId' => $adClientId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdExchangeSeller_CustomChannels"); + } +} +/** + * The "metadata" collection of methods. + * Typical usage is: + * + * $adexchangesellerService = new Google_Service_AdExchangeSeller(...); + * $metadata = $adexchangesellerService->metadata; + * + */ +class Google_Service_AdExchangeSeller_AccountsMetadata_Resource extends Google_Service_Resource +{ +} + +/** + * The "dimensions" collection of methods. + * Typical usage is: + * + * $adexchangesellerService = new Google_Service_AdExchangeSeller(...); + * $dimensions = $adexchangesellerService->dimensions; + * + */ +class Google_Service_AdExchangeSeller_AccountsMetadataDimensions_Resource extends Google_Service_Resource +{ + + /** + * List the metadata for the dimensions available to this AdExchange account. + * (dimensions.listAccountsMetadataDimensions) + * + * @param string $accountId Account with visibility to the dimensions. + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeSeller_Metadata + */ + public function listAccountsMetadataDimensions($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdExchangeSeller_Metadata"); + } +} +/** + * The "metrics" collection of methods. + * Typical usage is: + * + * $adexchangesellerService = new Google_Service_AdExchangeSeller(...); + * $metrics = $adexchangesellerService->metrics; + * + */ +class Google_Service_AdExchangeSeller_AccountsMetadataMetrics_Resource extends Google_Service_Resource +{ + + /** + * List the metadata for the metrics available to this AdExchange account. + * (metrics.listAccountsMetadataMetrics) + * + * @param string $accountId Account with visibility to the metrics. + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeSeller_Metadata + */ + public function listAccountsMetadataMetrics($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdExchangeSeller_Metadata"); + } +} +/** + * The "preferreddeals" collection of methods. + * Typical usage is: + * + * $adexchangesellerService = new Google_Service_AdExchangeSeller(...); + * $preferreddeals = $adexchangesellerService->preferreddeals; + * + */ +class Google_Service_AdExchangeSeller_AccountsPreferreddeals_Resource extends Google_Service_Resource +{ + + /** + * Get information about the selected Ad Exchange Preferred Deal. + * (preferreddeals.get) + * + * @param string $accountId Account owning the deal. + * @param string $dealId Preferred deal to get information about. + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeSeller_PreferredDeal + */ + public function get($accountId, $dealId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'dealId' => $dealId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdExchangeSeller_PreferredDeal"); + } + + /** + * List the preferred deals for this Ad Exchange account. + * (preferreddeals.listAccountsPreferreddeals) + * + * @param string $accountId Account owning the deals. + * @param array $optParams Optional parameters. + * @return Google_Service_AdExchangeSeller_PreferredDeals + */ + public function listAccountsPreferreddeals($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdExchangeSeller_PreferredDeals"); + } +} +/** + * The "reports" collection of methods. + * Typical usage is: + * + * $adexchangesellerService = new Google_Service_AdExchangeSeller(...); + * $reports = $adexchangesellerService->reports; + * + */ +class Google_Service_AdExchangeSeller_AccountsReports_Resource extends Google_Service_Resource +{ + + /** + * Generate an Ad Exchange report based on the report request sent in the query + * parameters. Returns the result as JSON; to retrieve output in CSV format + * specify "alt=csv" as a query parameter. (reports.generate) + * + * @param string $accountId Account which owns the generated report. + * @param string $startDate Start of the date range to report on in "YYYY-MM-DD" + * format, inclusive. + * @param string $endDate End of the date range to report on in "YYYY-MM-DD" + * format, inclusive. + * @param array $optParams Optional parameters. + * + * @opt_param string sort The name of a dimension or metric to sort the + * resulting report on, optionally prefixed with "+" to sort ascending or "-" to + * sort descending. If no prefix is specified, the column is sorted ascending. + * @opt_param string locale Optional locale to use for translating report output + * to a local language. Defaults to "en_US" if not specified. + * @opt_param string metric Numeric columns to include in the report. + * @opt_param string maxResults The maximum number of rows of report data to + * return. + * @opt_param string filter Filters to be run on the report. + * @opt_param string startIndex Index of the first row of report data to return. + * @opt_param string dimension Dimensions to base the report on. + * @return Google_Service_AdExchangeSeller_Report + */ + public function generate($accountId, $startDate, $endDate, $optParams = array()) + { + $params = array('accountId' => $accountId, 'startDate' => $startDate, 'endDate' => $endDate); + $params = array_merge($params, $optParams); + return $this->call('generate', array($params), "Google_Service_AdExchangeSeller_Report"); + } +} + +/** + * The "saved" collection of methods. + * Typical usage is: + * + * $adexchangesellerService = new Google_Service_AdExchangeSeller(...); + * $saved = $adexchangesellerService->saved; + * + */ +class Google_Service_AdExchangeSeller_AccountsReportsSaved_Resource extends Google_Service_Resource +{ + + /** + * Generate an Ad Exchange report based on the saved report ID sent in the query + * parameters. (saved.generate) + * + * @param string $accountId Account owning the saved report. + * @param string $savedReportId The saved report to retrieve. + * @param array $optParams Optional parameters. + * + * @opt_param string locale Optional locale to use for translating report output + * to a local language. Defaults to "en_US" if not specified. + * @opt_param int startIndex Index of the first row of report data to return. + * @opt_param int maxResults The maximum number of rows of report data to + * return. + * @return Google_Service_AdExchangeSeller_Report + */ + public function generate($accountId, $savedReportId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'savedReportId' => $savedReportId); + $params = array_merge($params, $optParams); + return $this->call('generate', array($params), "Google_Service_AdExchangeSeller_Report"); + } + + /** + * List all saved reports in this Ad Exchange account. + * (saved.listAccountsReportsSaved) + * + * @param string $accountId Account owning the saved reports. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken A continuation token, used to page through saved + * reports. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @opt_param int maxResults The maximum number of saved reports to include in + * the response, used for paging. + * @return Google_Service_AdExchangeSeller_SavedReports + */ + public function listAccountsReportsSaved($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdExchangeSeller_SavedReports"); + } +} +/** + * The "urlchannels" collection of methods. + * Typical usage is: + * + * $adexchangesellerService = new Google_Service_AdExchangeSeller(...); + * $urlchannels = $adexchangesellerService->urlchannels; + * + */ +class Google_Service_AdExchangeSeller_AccountsUrlchannels_Resource extends Google_Service_Resource +{ + + /** + * List all URL channels in the specified ad client for this Ad Exchange + * account. (urlchannels.listAccountsUrlchannels) + * + * @param string $accountId Account to which the ad client belongs. + * @param string $adClientId Ad client for which to list URL channels. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken A continuation token, used to page through URL + * channels. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @opt_param string maxResults The maximum number of URL channels to include in + * the response, used for paging. + * @return Google_Service_AdExchangeSeller_UrlChannels + */ + public function listAccountsUrlchannels($accountId, $adClientId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'adClientId' => $adClientId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdExchangeSeller_UrlChannels"); + } +} + + + + +class Google_Service_AdExchangeSeller_Account extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $kind; + public $name; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_AdExchangeSeller_Accounts extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_AdExchangeSeller_Account'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_AdExchangeSeller_AdClient extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $arcOptIn; + public $id; + public $kind; + public $productCode; + public $supportsReporting; + + + public function setArcOptIn($arcOptIn) + { + $this->arcOptIn = $arcOptIn; + } + public function getArcOptIn() + { + return $this->arcOptIn; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setProductCode($productCode) + { + $this->productCode = $productCode; + } + public function getProductCode() + { + return $this->productCode; + } + public function setSupportsReporting($supportsReporting) + { + $this->supportsReporting = $supportsReporting; + } + public function getSupportsReporting() + { + return $this->supportsReporting; + } +} + +class Google_Service_AdExchangeSeller_AdClients extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_AdExchangeSeller_AdClient'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_AdExchangeSeller_Alert extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $kind; + public $message; + public $severity; + public $type; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } + public function setSeverity($severity) + { + $this->severity = $severity; + } + public function getSeverity() + { + return $this->severity; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_AdExchangeSeller_Alerts extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_AdExchangeSeller_Alert'; + protected $itemsDataType = 'array'; + public $kind; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_AdExchangeSeller_CustomChannel extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $code; + public $id; + public $kind; + public $name; + protected $targetingInfoType = 'Google_Service_AdExchangeSeller_CustomChannelTargetingInfo'; + protected $targetingInfoDataType = ''; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setTargetingInfo(Google_Service_AdExchangeSeller_CustomChannelTargetingInfo $targetingInfo) + { + $this->targetingInfo = $targetingInfo; + } + public function getTargetingInfo() + { + return $this->targetingInfo; + } +} + +class Google_Service_AdExchangeSeller_CustomChannelTargetingInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $adsAppearOn; + public $description; + public $location; + public $siteLanguage; + + + public function setAdsAppearOn($adsAppearOn) + { + $this->adsAppearOn = $adsAppearOn; + } + public function getAdsAppearOn() + { + return $this->adsAppearOn; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setSiteLanguage($siteLanguage) + { + $this->siteLanguage = $siteLanguage; + } + public function getSiteLanguage() + { + return $this->siteLanguage; + } +} + +class Google_Service_AdExchangeSeller_CustomChannels extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_AdExchangeSeller_CustomChannel'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_AdExchangeSeller_Metadata extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_AdExchangeSeller_ReportingMetadataEntry'; + protected $itemsDataType = 'array'; + public $kind; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_AdExchangeSeller_PreferredDeal extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $advertiserName; + public $buyerNetworkName; + public $currencyCode; + public $endTime; + public $fixedCpm; + public $id; + public $kind; + public $startTime; + + + public function setAdvertiserName($advertiserName) + { + $this->advertiserName = $advertiserName; + } + public function getAdvertiserName() + { + return $this->advertiserName; + } + public function setBuyerNetworkName($buyerNetworkName) + { + $this->buyerNetworkName = $buyerNetworkName; + } + public function getBuyerNetworkName() + { + return $this->buyerNetworkName; + } + public function setCurrencyCode($currencyCode) + { + $this->currencyCode = $currencyCode; + } + public function getCurrencyCode() + { + return $this->currencyCode; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setFixedCpm($fixedCpm) + { + $this->fixedCpm = $fixedCpm; + } + public function getFixedCpm() + { + return $this->fixedCpm; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } +} + +class Google_Service_AdExchangeSeller_PreferredDeals extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_AdExchangeSeller_PreferredDeal'; + protected $itemsDataType = 'array'; + public $kind; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_AdExchangeSeller_Report extends Google_Collection +{ + protected $collection_key = 'warnings'; + protected $internal_gapi_mappings = array( + ); + public $averages; + protected $headersType = 'Google_Service_AdExchangeSeller_ReportHeaders'; + protected $headersDataType = 'array'; + public $kind; + public $rows; + public $totalMatchedRows; + public $totals; + public $warnings; + + + public function setAverages($averages) + { + $this->averages = $averages; + } + public function getAverages() + { + return $this->averages; + } + public function setHeaders($headers) + { + $this->headers = $headers; + } + public function getHeaders() + { + return $this->headers; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRows($rows) + { + $this->rows = $rows; + } + public function getRows() + { + return $this->rows; + } + public function setTotalMatchedRows($totalMatchedRows) + { + $this->totalMatchedRows = $totalMatchedRows; + } + public function getTotalMatchedRows() + { + return $this->totalMatchedRows; + } + public function setTotals($totals) + { + $this->totals = $totals; + } + public function getTotals() + { + return $this->totals; + } + public function setWarnings($warnings) + { + $this->warnings = $warnings; + } + public function getWarnings() + { + return $this->warnings; + } +} + +class Google_Service_AdExchangeSeller_ReportHeaders extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $currency; + public $name; + public $type; + + + public function setCurrency($currency) + { + $this->currency = $currency; + } + public function getCurrency() + { + return $this->currency; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_AdExchangeSeller_ReportingMetadataEntry extends Google_Collection +{ + protected $collection_key = 'supportedProducts'; + protected $internal_gapi_mappings = array( + ); + public $compatibleDimensions; + public $compatibleMetrics; + public $id; + public $kind; + public $requiredDimensions; + public $requiredMetrics; + public $supportedProducts; + + + public function setCompatibleDimensions($compatibleDimensions) + { + $this->compatibleDimensions = $compatibleDimensions; + } + public function getCompatibleDimensions() + { + return $this->compatibleDimensions; + } + public function setCompatibleMetrics($compatibleMetrics) + { + $this->compatibleMetrics = $compatibleMetrics; + } + public function getCompatibleMetrics() + { + return $this->compatibleMetrics; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRequiredDimensions($requiredDimensions) + { + $this->requiredDimensions = $requiredDimensions; + } + public function getRequiredDimensions() + { + return $this->requiredDimensions; + } + public function setRequiredMetrics($requiredMetrics) + { + $this->requiredMetrics = $requiredMetrics; + } + public function getRequiredMetrics() + { + return $this->requiredMetrics; + } + public function setSupportedProducts($supportedProducts) + { + $this->supportedProducts = $supportedProducts; + } + public function getSupportedProducts() + { + return $this->supportedProducts; + } +} + +class Google_Service_AdExchangeSeller_SavedReport extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $kind; + public $name; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_AdExchangeSeller_SavedReports extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_AdExchangeSeller_SavedReport'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_AdExchangeSeller_UrlChannel extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $kind; + public $urlPattern; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setUrlPattern($urlPattern) + { + $this->urlPattern = $urlPattern; + } + public function getUrlPattern() + { + return $this->urlPattern; + } +} + +class Google_Service_AdExchangeSeller_UrlChannels extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_AdExchangeSeller_UrlChannel'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/AdSense.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/AdSense.php new file mode 100644 index 0000000..3979ff3 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/AdSense.php @@ -0,0 +1,3596 @@ + + * Gives AdSense publishers access to their inventory and the ability to + * generate reports

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_AdSense extends Google_Service +{ + /** View and manage your AdSense data. */ + const ADSENSE = + "https://www.googleapis.com/auth/adsense"; + /** View your AdSense data. */ + const ADSENSE_READONLY = + "https://www.googleapis.com/auth/adsense.readonly"; + + public $accounts; + public $accounts_adclients; + public $accounts_adunits; + public $accounts_adunits_customchannels; + public $accounts_alerts; + public $accounts_customchannels; + public $accounts_customchannels_adunits; + public $accounts_payments; + public $accounts_reports; + public $accounts_reports_saved; + public $accounts_savedadstyles; + public $accounts_urlchannels; + public $adclients; + public $adunits; + public $adunits_customchannels; + public $alerts; + public $customchannels; + public $customchannels_adunits; + public $metadata_dimensions; + public $metadata_metrics; + public $payments; + public $reports; + public $reports_saved; + public $savedadstyles; + public $urlchannels; + + + /** + * Constructs the internal representation of the AdSense service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'adsense/v1.4/'; + $this->version = 'v1.4'; + $this->serviceName = 'adsense'; + + $this->accounts = new Google_Service_AdSense_Accounts_Resource( + $this, + $this->serviceName, + 'accounts', + array( + 'methods' => array( + 'get' => array( + 'path' => 'accounts/{accountId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'tree' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'list' => array( + 'path' => 'accounts', + 'httpMethod' => 'GET', + 'parameters' => array( + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->accounts_adclients = new Google_Service_AdSense_AccountsAdclients_Resource( + $this, + $this->serviceName, + 'adclients', + array( + 'methods' => array( + 'list' => array( + 'path' => 'accounts/{accountId}/adclients', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->accounts_adunits = new Google_Service_AdSense_AccountsAdunits_Resource( + $this, + $this->serviceName, + 'adunits', + array( + 'methods' => array( + 'get' => array( + 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adUnitId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getAdCode' => array( + 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/adcode', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adUnitId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'includeInactive' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->accounts_adunits_customchannels = new Google_Service_AdSense_AccountsAdunitsCustomchannels_Resource( + $this, + $this->serviceName, + 'customchannels', + array( + 'methods' => array( + 'list' => array( + 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/customchannels', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adUnitId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->accounts_alerts = new Google_Service_AdSense_AccountsAlerts_Resource( + $this, + $this->serviceName, + 'alerts', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'accounts/{accountId}/alerts/{alertId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'alertId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'accounts/{accountId}/alerts', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->accounts_customchannels = new Google_Service_AdSense_AccountsCustomchannels_Resource( + $this, + $this->serviceName, + 'customchannels', + array( + 'methods' => array( + 'get' => array( + 'path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customChannelId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->accounts_customchannels_adunits = new Google_Service_AdSense_AccountsCustomchannelsAdunits_Resource( + $this, + $this->serviceName, + 'adunits', + array( + 'methods' => array( + 'list' => array( + 'path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}/adunits', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customChannelId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'includeInactive' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->accounts_payments = new Google_Service_AdSense_AccountsPayments_Resource( + $this, + $this->serviceName, + 'payments', + array( + 'methods' => array( + 'list' => array( + 'path' => 'accounts/{accountId}/payments', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->accounts_reports = new Google_Service_AdSense_AccountsReports_Resource( + $this, + $this->serviceName, + 'reports', + array( + 'methods' => array( + 'generate' => array( + 'path' => 'accounts/{accountId}/reports', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'startDate' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'endDate' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'sort' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'metric' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'currency' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startIndex' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'useTimezoneReporting' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'dimension' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ), + ) + ) + ); + $this->accounts_reports_saved = new Google_Service_AdSense_AccountsReportsSaved_Resource( + $this, + $this->serviceName, + 'saved', + array( + 'methods' => array( + 'generate' => array( + 'path' => 'accounts/{accountId}/reports/{savedReportId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'savedReportId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startIndex' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'list' => array( + 'path' => 'accounts/{accountId}/reports/saved', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->accounts_savedadstyles = new Google_Service_AdSense_AccountsSavedadstyles_Resource( + $this, + $this->serviceName, + 'savedadstyles', + array( + 'methods' => array( + 'get' => array( + 'path' => 'accounts/{accountId}/savedadstyles/{savedAdStyleId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'savedAdStyleId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'accounts/{accountId}/savedadstyles', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->accounts_urlchannels = new Google_Service_AdSense_AccountsUrlchannels_Resource( + $this, + $this->serviceName, + 'urlchannels', + array( + 'methods' => array( + 'list' => array( + 'path' => 'accounts/{accountId}/adclients/{adClientId}/urlchannels', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->adclients = new Google_Service_AdSense_Adclients_Resource( + $this, + $this->serviceName, + 'adclients', + array( + 'methods' => array( + 'list' => array( + 'path' => 'adclients', + 'httpMethod' => 'GET', + 'parameters' => array( + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->adunits = new Google_Service_AdSense_Adunits_Resource( + $this, + $this->serviceName, + 'adunits', + array( + 'methods' => array( + 'get' => array( + 'path' => 'adclients/{adClientId}/adunits/{adUnitId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adUnitId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getAdCode' => array( + 'path' => 'adclients/{adClientId}/adunits/{adUnitId}/adcode', + 'httpMethod' => 'GET', + 'parameters' => array( + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adUnitId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'adclients/{adClientId}/adunits', + 'httpMethod' => 'GET', + 'parameters' => array( + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'includeInactive' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->adunits_customchannels = new Google_Service_AdSense_AdunitsCustomchannels_Resource( + $this, + $this->serviceName, + 'customchannels', + array( + 'methods' => array( + 'list' => array( + 'path' => 'adclients/{adClientId}/adunits/{adUnitId}/customchannels', + 'httpMethod' => 'GET', + 'parameters' => array( + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adUnitId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->alerts = new Google_Service_AdSense_Alerts_Resource( + $this, + $this->serviceName, + 'alerts', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'alerts/{alertId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'alertId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'alerts', + 'httpMethod' => 'GET', + 'parameters' => array( + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->customchannels = new Google_Service_AdSense_Customchannels_Resource( + $this, + $this->serviceName, + 'customchannels', + array( + 'methods' => array( + 'get' => array( + 'path' => 'adclients/{adClientId}/customchannels/{customChannelId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customChannelId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'adclients/{adClientId}/customchannels', + 'httpMethod' => 'GET', + 'parameters' => array( + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->customchannels_adunits = new Google_Service_AdSense_CustomchannelsAdunits_Resource( + $this, + $this->serviceName, + 'adunits', + array( + 'methods' => array( + 'list' => array( + 'path' => 'adclients/{adClientId}/customchannels/{customChannelId}/adunits', + 'httpMethod' => 'GET', + 'parameters' => array( + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customChannelId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'includeInactive' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->metadata_dimensions = new Google_Service_AdSense_MetadataDimensions_Resource( + $this, + $this->serviceName, + 'dimensions', + array( + 'methods' => array( + 'list' => array( + 'path' => 'metadata/dimensions', + 'httpMethod' => 'GET', + 'parameters' => array(), + ), + ) + ) + ); + $this->metadata_metrics = new Google_Service_AdSense_MetadataMetrics_Resource( + $this, + $this->serviceName, + 'metrics', + array( + 'methods' => array( + 'list' => array( + 'path' => 'metadata/metrics', + 'httpMethod' => 'GET', + 'parameters' => array(), + ), + ) + ) + ); + $this->payments = new Google_Service_AdSense_Payments_Resource( + $this, + $this->serviceName, + 'payments', + array( + 'methods' => array( + 'list' => array( + 'path' => 'payments', + 'httpMethod' => 'GET', + 'parameters' => array(), + ), + ) + ) + ); + $this->reports = new Google_Service_AdSense_Reports_Resource( + $this, + $this->serviceName, + 'reports', + array( + 'methods' => array( + 'generate' => array( + 'path' => 'reports', + 'httpMethod' => 'GET', + 'parameters' => array( + 'startDate' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'endDate' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'sort' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'metric' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'currency' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startIndex' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'useTimezoneReporting' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'dimension' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'accountId' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ), + ) + ) + ); + $this->reports_saved = new Google_Service_AdSense_ReportsSaved_Resource( + $this, + $this->serviceName, + 'saved', + array( + 'methods' => array( + 'generate' => array( + 'path' => 'reports/{savedReportId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'savedReportId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startIndex' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'list' => array( + 'path' => 'reports/saved', + 'httpMethod' => 'GET', + 'parameters' => array( + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->savedadstyles = new Google_Service_AdSense_Savedadstyles_Resource( + $this, + $this->serviceName, + 'savedadstyles', + array( + 'methods' => array( + 'get' => array( + 'path' => 'savedadstyles/{savedAdStyleId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'savedAdStyleId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'savedadstyles', + 'httpMethod' => 'GET', + 'parameters' => array( + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->urlchannels = new Google_Service_AdSense_Urlchannels_Resource( + $this, + $this->serviceName, + 'urlchannels', + array( + 'methods' => array( + 'list' => array( + 'path' => 'adclients/{adClientId}/urlchannels', + 'httpMethod' => 'GET', + 'parameters' => array( + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "accounts" collection of methods. + * Typical usage is: + * + * $adsenseService = new Google_Service_AdSense(...); + * $accounts = $adsenseService->accounts; + * + */ +class Google_Service_AdSense_Accounts_Resource extends Google_Service_Resource +{ + + /** + * Get information about the selected AdSense account. (accounts.get) + * + * @param string $accountId Account to get information about. + * @param array $optParams Optional parameters. + * + * @opt_param bool tree Whether the tree of sub accounts should be returned. + * @return Google_Service_AdSense_Account + */ + public function get($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdSense_Account"); + } + + /** + * List all accounts available to this AdSense account. (accounts.listAccounts) + * + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken A continuation token, used to page through + * accounts. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @opt_param int maxResults The maximum number of accounts to include in the + * response, used for paging. + * @return Google_Service_AdSense_Accounts + */ + public function listAccounts($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSense_Accounts"); + } +} + +/** + * The "adclients" collection of methods. + * Typical usage is: + * + * $adsenseService = new Google_Service_AdSense(...); + * $adclients = $adsenseService->adclients; + * + */ +class Google_Service_AdSense_AccountsAdclients_Resource extends Google_Service_Resource +{ + + /** + * List all ad clients in the specified account. + * (adclients.listAccountsAdclients) + * + * @param string $accountId Account for which to list ad clients. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken A continuation token, used to page through ad + * clients. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @opt_param int maxResults The maximum number of ad clients to include in the + * response, used for paging. + * @return Google_Service_AdSense_AdClients + */ + public function listAccountsAdclients($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSense_AdClients"); + } +} +/** + * The "adunits" collection of methods. + * Typical usage is: + * + * $adsenseService = new Google_Service_AdSense(...); + * $adunits = $adsenseService->adunits; + * + */ +class Google_Service_AdSense_AccountsAdunits_Resource extends Google_Service_Resource +{ + + /** + * Gets the specified ad unit in the specified ad client for the specified + * account. (adunits.get) + * + * @param string $accountId Account to which the ad client belongs. + * @param string $adClientId Ad client for which to get the ad unit. + * @param string $adUnitId Ad unit to retrieve. + * @param array $optParams Optional parameters. + * @return Google_Service_AdSense_AdUnit + */ + public function get($accountId, $adClientId, $adUnitId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdSense_AdUnit"); + } + + /** + * Get ad code for the specified ad unit. (adunits.getAdCode) + * + * @param string $accountId Account which contains the ad client. + * @param string $adClientId Ad client with contains the ad unit. + * @param string $adUnitId Ad unit to get the code for. + * @param array $optParams Optional parameters. + * @return Google_Service_AdSense_AdCode + */ + public function getAdCode($accountId, $adClientId, $adUnitId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId); + $params = array_merge($params, $optParams); + return $this->call('getAdCode', array($params), "Google_Service_AdSense_AdCode"); + } + + /** + * List all ad units in the specified ad client for the specified account. + * (adunits.listAccountsAdunits) + * + * @param string $accountId Account to which the ad client belongs. + * @param string $adClientId Ad client for which to list ad units. + * @param array $optParams Optional parameters. + * + * @opt_param bool includeInactive Whether to include inactive ad units. + * Default: true. + * @opt_param string pageToken A continuation token, used to page through ad + * units. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @opt_param int maxResults The maximum number of ad units to include in the + * response, used for paging. + * @return Google_Service_AdSense_AdUnits + */ + public function listAccountsAdunits($accountId, $adClientId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'adClientId' => $adClientId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSense_AdUnits"); + } +} + +/** + * The "customchannels" collection of methods. + * Typical usage is: + * + * $adsenseService = new Google_Service_AdSense(...); + * $customchannels = $adsenseService->customchannels; + * + */ +class Google_Service_AdSense_AccountsAdunitsCustomchannels_Resource extends Google_Service_Resource +{ + + /** + * List all custom channels which the specified ad unit belongs to. + * (customchannels.listAccountsAdunitsCustomchannels) + * + * @param string $accountId Account to which the ad client belongs. + * @param string $adClientId Ad client which contains the ad unit. + * @param string $adUnitId Ad unit for which to list custom channels. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken A continuation token, used to page through custom + * channels. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @opt_param int maxResults The maximum number of custom channels to include in + * the response, used for paging. + * @return Google_Service_AdSense_CustomChannels + */ + public function listAccountsAdunitsCustomchannels($accountId, $adClientId, $adUnitId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSense_CustomChannels"); + } +} +/** + * The "alerts" collection of methods. + * Typical usage is: + * + * $adsenseService = new Google_Service_AdSense(...); + * $alerts = $adsenseService->alerts; + * + */ +class Google_Service_AdSense_AccountsAlerts_Resource extends Google_Service_Resource +{ + + /** + * Dismiss (delete) the specified alert from the specified publisher AdSense + * account. (alerts.delete) + * + * @param string $accountId Account which contains the ad unit. + * @param string $alertId Alert to delete. + * @param array $optParams Optional parameters. + */ + public function delete($accountId, $alertId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'alertId' => $alertId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * List the alerts for the specified AdSense account. + * (alerts.listAccountsAlerts) + * + * @param string $accountId Account for which to retrieve the alerts. + * @param array $optParams Optional parameters. + * + * @opt_param string locale The locale to use for translating alert messages. + * The account locale will be used if this is not supplied. The AdSense default + * (English) will be used if the supplied locale is invalid or unsupported. + * @return Google_Service_AdSense_Alerts + */ + public function listAccountsAlerts($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSense_Alerts"); + } +} +/** + * The "customchannels" collection of methods. + * Typical usage is: + * + * $adsenseService = new Google_Service_AdSense(...); + * $customchannels = $adsenseService->customchannels; + * + */ +class Google_Service_AdSense_AccountsCustomchannels_Resource extends Google_Service_Resource +{ + + /** + * Get the specified custom channel from the specified ad client for the + * specified account. (customchannels.get) + * + * @param string $accountId Account to which the ad client belongs. + * @param string $adClientId Ad client which contains the custom channel. + * @param string $customChannelId Custom channel to retrieve. + * @param array $optParams Optional parameters. + * @return Google_Service_AdSense_CustomChannel + */ + public function get($accountId, $adClientId, $customChannelId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'customChannelId' => $customChannelId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdSense_CustomChannel"); + } + + /** + * List all custom channels in the specified ad client for the specified + * account. (customchannels.listAccountsCustomchannels) + * + * @param string $accountId Account to which the ad client belongs. + * @param string $adClientId Ad client for which to list custom channels. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken A continuation token, used to page through custom + * channels. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @opt_param int maxResults The maximum number of custom channels to include in + * the response, used for paging. + * @return Google_Service_AdSense_CustomChannels + */ + public function listAccountsCustomchannels($accountId, $adClientId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'adClientId' => $adClientId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSense_CustomChannels"); + } +} + +/** + * The "adunits" collection of methods. + * Typical usage is: + * + * $adsenseService = new Google_Service_AdSense(...); + * $adunits = $adsenseService->adunits; + * + */ +class Google_Service_AdSense_AccountsCustomchannelsAdunits_Resource extends Google_Service_Resource +{ + + /** + * List all ad units in the specified custom channel. + * (adunits.listAccountsCustomchannelsAdunits) + * + * @param string $accountId Account to which the ad client belongs. + * @param string $adClientId Ad client which contains the custom channel. + * @param string $customChannelId Custom channel for which to list ad units. + * @param array $optParams Optional parameters. + * + * @opt_param bool includeInactive Whether to include inactive ad units. + * Default: true. + * @opt_param int maxResults The maximum number of ad units to include in the + * response, used for paging. + * @opt_param string pageToken A continuation token, used to page through ad + * units. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @return Google_Service_AdSense_AdUnits + */ + public function listAccountsCustomchannelsAdunits($accountId, $adClientId, $customChannelId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'customChannelId' => $customChannelId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSense_AdUnits"); + } +} +/** + * The "payments" collection of methods. + * Typical usage is: + * + * $adsenseService = new Google_Service_AdSense(...); + * $payments = $adsenseService->payments; + * + */ +class Google_Service_AdSense_AccountsPayments_Resource extends Google_Service_Resource +{ + + /** + * List the payments for the specified AdSense account. + * (payments.listAccountsPayments) + * + * @param string $accountId Account for which to retrieve the payments. + * @param array $optParams Optional parameters. + * @return Google_Service_AdSense_Payments + */ + public function listAccountsPayments($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSense_Payments"); + } +} +/** + * The "reports" collection of methods. + * Typical usage is: + * + * $adsenseService = new Google_Service_AdSense(...); + * $reports = $adsenseService->reports; + * + */ +class Google_Service_AdSense_AccountsReports_Resource extends Google_Service_Resource +{ + + /** + * Generate an AdSense report based on the report request sent in the query + * parameters. Returns the result as JSON; to retrieve output in CSV format + * specify "alt=csv" as a query parameter. (reports.generate) + * + * @param string $accountId Account upon which to report. + * @param string $startDate Start of the date range to report on in "YYYY-MM-DD" + * format, inclusive. + * @param string $endDate End of the date range to report on in "YYYY-MM-DD" + * format, inclusive. + * @param array $optParams Optional parameters. + * + * @opt_param string sort The name of a dimension or metric to sort the + * resulting report on, optionally prefixed with "+" to sort ascending or "-" to + * sort descending. If no prefix is specified, the column is sorted ascending. + * @opt_param string locale Optional locale to use for translating report output + * to a local language. Defaults to "en_US" if not specified. + * @opt_param string metric Numeric columns to include in the report. + * @opt_param int maxResults The maximum number of rows of report data to + * return. + * @opt_param string filter Filters to be run on the report. + * @opt_param string currency Optional currency to use when reporting on + * monetary metrics. Defaults to the account's currency if not set. + * @opt_param int startIndex Index of the first row of report data to return. + * @opt_param bool useTimezoneReporting Whether the report should be generated + * in the AdSense account's local timezone. If false default PST/PDT timezone + * will be used. + * @opt_param string dimension Dimensions to base the report on. + * @return Google_Service_AdSense_AdsenseReportsGenerateResponse + */ + public function generate($accountId, $startDate, $endDate, $optParams = array()) + { + $params = array('accountId' => $accountId, 'startDate' => $startDate, 'endDate' => $endDate); + $params = array_merge($params, $optParams); + return $this->call('generate', array($params), "Google_Service_AdSense_AdsenseReportsGenerateResponse"); + } +} + +/** + * The "saved" collection of methods. + * Typical usage is: + * + * $adsenseService = new Google_Service_AdSense(...); + * $saved = $adsenseService->saved; + * + */ +class Google_Service_AdSense_AccountsReportsSaved_Resource extends Google_Service_Resource +{ + + /** + * Generate an AdSense report based on the saved report ID sent in the query + * parameters. (saved.generate) + * + * @param string $accountId Account to which the saved reports belong. + * @param string $savedReportId The saved report to retrieve. + * @param array $optParams Optional parameters. + * + * @opt_param string locale Optional locale to use for translating report output + * to a local language. Defaults to "en_US" if not specified. + * @opt_param int startIndex Index of the first row of report data to return. + * @opt_param int maxResults The maximum number of rows of report data to + * return. + * @return Google_Service_AdSense_AdsenseReportsGenerateResponse + */ + public function generate($accountId, $savedReportId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'savedReportId' => $savedReportId); + $params = array_merge($params, $optParams); + return $this->call('generate', array($params), "Google_Service_AdSense_AdsenseReportsGenerateResponse"); + } + + /** + * List all saved reports in the specified AdSense account. + * (saved.listAccountsReportsSaved) + * + * @param string $accountId Account to which the saved reports belong. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken A continuation token, used to page through saved + * reports. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @opt_param int maxResults The maximum number of saved reports to include in + * the response, used for paging. + * @return Google_Service_AdSense_SavedReports + */ + public function listAccountsReportsSaved($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSense_SavedReports"); + } +} +/** + * The "savedadstyles" collection of methods. + * Typical usage is: + * + * $adsenseService = new Google_Service_AdSense(...); + * $savedadstyles = $adsenseService->savedadstyles; + * + */ +class Google_Service_AdSense_AccountsSavedadstyles_Resource extends Google_Service_Resource +{ + + /** + * List a specific saved ad style for the specified account. (savedadstyles.get) + * + * @param string $accountId Account for which to get the saved ad style. + * @param string $savedAdStyleId Saved ad style to retrieve. + * @param array $optParams Optional parameters. + * @return Google_Service_AdSense_SavedAdStyle + */ + public function get($accountId, $savedAdStyleId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'savedAdStyleId' => $savedAdStyleId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdSense_SavedAdStyle"); + } + + /** + * List all saved ad styles in the specified account. + * (savedadstyles.listAccountsSavedadstyles) + * + * @param string $accountId Account for which to list saved ad styles. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken A continuation token, used to page through saved + * ad styles. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @opt_param int maxResults The maximum number of saved ad styles to include in + * the response, used for paging. + * @return Google_Service_AdSense_SavedAdStyles + */ + public function listAccountsSavedadstyles($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSense_SavedAdStyles"); + } +} +/** + * The "urlchannels" collection of methods. + * Typical usage is: + * + * $adsenseService = new Google_Service_AdSense(...); + * $urlchannels = $adsenseService->urlchannels; + * + */ +class Google_Service_AdSense_AccountsUrlchannels_Resource extends Google_Service_Resource +{ + + /** + * List all URL channels in the specified ad client for the specified account. + * (urlchannels.listAccountsUrlchannels) + * + * @param string $accountId Account to which the ad client belongs. + * @param string $adClientId Ad client for which to list URL channels. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken A continuation token, used to page through URL + * channels. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @opt_param int maxResults The maximum number of URL channels to include in + * the response, used for paging. + * @return Google_Service_AdSense_UrlChannels + */ + public function listAccountsUrlchannels($accountId, $adClientId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'adClientId' => $adClientId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSense_UrlChannels"); + } +} + +/** + * The "adclients" collection of methods. + * Typical usage is: + * + * $adsenseService = new Google_Service_AdSense(...); + * $adclients = $adsenseService->adclients; + * + */ +class Google_Service_AdSense_Adclients_Resource extends Google_Service_Resource +{ + + /** + * List all ad clients in this AdSense account. (adclients.listAdclients) + * + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken A continuation token, used to page through ad + * clients. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @opt_param int maxResults The maximum number of ad clients to include in the + * response, used for paging. + * @return Google_Service_AdSense_AdClients + */ + public function listAdclients($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSense_AdClients"); + } +} + +/** + * The "adunits" collection of methods. + * Typical usage is: + * + * $adsenseService = new Google_Service_AdSense(...); + * $adunits = $adsenseService->adunits; + * + */ +class Google_Service_AdSense_Adunits_Resource extends Google_Service_Resource +{ + + /** + * Gets the specified ad unit in the specified ad client. (adunits.get) + * + * @param string $adClientId Ad client for which to get the ad unit. + * @param string $adUnitId Ad unit to retrieve. + * @param array $optParams Optional parameters. + * @return Google_Service_AdSense_AdUnit + */ + public function get($adClientId, $adUnitId, $optParams = array()) + { + $params = array('adClientId' => $adClientId, 'adUnitId' => $adUnitId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdSense_AdUnit"); + } + + /** + * Get ad code for the specified ad unit. (adunits.getAdCode) + * + * @param string $adClientId Ad client with contains the ad unit. + * @param string $adUnitId Ad unit to get the code for. + * @param array $optParams Optional parameters. + * @return Google_Service_AdSense_AdCode + */ + public function getAdCode($adClientId, $adUnitId, $optParams = array()) + { + $params = array('adClientId' => $adClientId, 'adUnitId' => $adUnitId); + $params = array_merge($params, $optParams); + return $this->call('getAdCode', array($params), "Google_Service_AdSense_AdCode"); + } + + /** + * List all ad units in the specified ad client for this AdSense account. + * (adunits.listAdunits) + * + * @param string $adClientId Ad client for which to list ad units. + * @param array $optParams Optional parameters. + * + * @opt_param bool includeInactive Whether to include inactive ad units. + * Default: true. + * @opt_param string pageToken A continuation token, used to page through ad + * units. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @opt_param int maxResults The maximum number of ad units to include in the + * response, used for paging. + * @return Google_Service_AdSense_AdUnits + */ + public function listAdunits($adClientId, $optParams = array()) + { + $params = array('adClientId' => $adClientId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSense_AdUnits"); + } +} + +/** + * The "customchannels" collection of methods. + * Typical usage is: + * + * $adsenseService = new Google_Service_AdSense(...); + * $customchannels = $adsenseService->customchannels; + * + */ +class Google_Service_AdSense_AdunitsCustomchannels_Resource extends Google_Service_Resource +{ + + /** + * List all custom channels which the specified ad unit belongs to. + * (customchannels.listAdunitsCustomchannels) + * + * @param string $adClientId Ad client which contains the ad unit. + * @param string $adUnitId Ad unit for which to list custom channels. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken A continuation token, used to page through custom + * channels. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @opt_param int maxResults The maximum number of custom channels to include in + * the response, used for paging. + * @return Google_Service_AdSense_CustomChannels + */ + public function listAdunitsCustomchannels($adClientId, $adUnitId, $optParams = array()) + { + $params = array('adClientId' => $adClientId, 'adUnitId' => $adUnitId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSense_CustomChannels"); + } +} + +/** + * The "alerts" collection of methods. + * Typical usage is: + * + * $adsenseService = new Google_Service_AdSense(...); + * $alerts = $adsenseService->alerts; + * + */ +class Google_Service_AdSense_Alerts_Resource extends Google_Service_Resource +{ + + /** + * Dismiss (delete) the specified alert from the publisher's AdSense account. + * (alerts.delete) + * + * @param string $alertId Alert to delete. + * @param array $optParams Optional parameters. + */ + public function delete($alertId, $optParams = array()) + { + $params = array('alertId' => $alertId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * List the alerts for this AdSense account. (alerts.listAlerts) + * + * @param array $optParams Optional parameters. + * + * @opt_param string locale The locale to use for translating alert messages. + * The account locale will be used if this is not supplied. The AdSense default + * (English) will be used if the supplied locale is invalid or unsupported. + * @return Google_Service_AdSense_Alerts + */ + public function listAlerts($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSense_Alerts"); + } +} + +/** + * The "customchannels" collection of methods. + * Typical usage is: + * + * $adsenseService = new Google_Service_AdSense(...); + * $customchannels = $adsenseService->customchannels; + * + */ +class Google_Service_AdSense_Customchannels_Resource extends Google_Service_Resource +{ + + /** + * Get the specified custom channel from the specified ad client. + * (customchannels.get) + * + * @param string $adClientId Ad client which contains the custom channel. + * @param string $customChannelId Custom channel to retrieve. + * @param array $optParams Optional parameters. + * @return Google_Service_AdSense_CustomChannel + */ + public function get($adClientId, $customChannelId, $optParams = array()) + { + $params = array('adClientId' => $adClientId, 'customChannelId' => $customChannelId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdSense_CustomChannel"); + } + + /** + * List all custom channels in the specified ad client for this AdSense account. + * (customchannels.listCustomchannels) + * + * @param string $adClientId Ad client for which to list custom channels. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken A continuation token, used to page through custom + * channels. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @opt_param int maxResults The maximum number of custom channels to include in + * the response, used for paging. + * @return Google_Service_AdSense_CustomChannels + */ + public function listCustomchannels($adClientId, $optParams = array()) + { + $params = array('adClientId' => $adClientId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSense_CustomChannels"); + } +} + +/** + * The "adunits" collection of methods. + * Typical usage is: + * + * $adsenseService = new Google_Service_AdSense(...); + * $adunits = $adsenseService->adunits; + * + */ +class Google_Service_AdSense_CustomchannelsAdunits_Resource extends Google_Service_Resource +{ + + /** + * List all ad units in the specified custom channel. + * (adunits.listCustomchannelsAdunits) + * + * @param string $adClientId Ad client which contains the custom channel. + * @param string $customChannelId Custom channel for which to list ad units. + * @param array $optParams Optional parameters. + * + * @opt_param bool includeInactive Whether to include inactive ad units. + * Default: true. + * @opt_param string pageToken A continuation token, used to page through ad + * units. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @opt_param int maxResults The maximum number of ad units to include in the + * response, used for paging. + * @return Google_Service_AdSense_AdUnits + */ + public function listCustomchannelsAdunits($adClientId, $customChannelId, $optParams = array()) + { + $params = array('adClientId' => $adClientId, 'customChannelId' => $customChannelId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSense_AdUnits"); + } +} + +/** + * The "metadata" collection of methods. + * Typical usage is: + * + * $adsenseService = new Google_Service_AdSense(...); + * $metadata = $adsenseService->metadata; + * + */ +class Google_Service_AdSense_Metadata_Resource extends Google_Service_Resource +{ +} + +/** + * The "dimensions" collection of methods. + * Typical usage is: + * + * $adsenseService = new Google_Service_AdSense(...); + * $dimensions = $adsenseService->dimensions; + * + */ +class Google_Service_AdSense_MetadataDimensions_Resource extends Google_Service_Resource +{ + + /** + * List the metadata for the dimensions available to this AdSense account. + * (dimensions.listMetadataDimensions) + * + * @param array $optParams Optional parameters. + * @return Google_Service_AdSense_Metadata + */ + public function listMetadataDimensions($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSense_Metadata"); + } +} +/** + * The "metrics" collection of methods. + * Typical usage is: + * + * $adsenseService = new Google_Service_AdSense(...); + * $metrics = $adsenseService->metrics; + * + */ +class Google_Service_AdSense_MetadataMetrics_Resource extends Google_Service_Resource +{ + + /** + * List the metadata for the metrics available to this AdSense account. + * (metrics.listMetadataMetrics) + * + * @param array $optParams Optional parameters. + * @return Google_Service_AdSense_Metadata + */ + public function listMetadataMetrics($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSense_Metadata"); + } +} + +/** + * The "payments" collection of methods. + * Typical usage is: + * + * $adsenseService = new Google_Service_AdSense(...); + * $payments = $adsenseService->payments; + * + */ +class Google_Service_AdSense_Payments_Resource extends Google_Service_Resource +{ + + /** + * List the payments for this AdSense account. (payments.listPayments) + * + * @param array $optParams Optional parameters. + * @return Google_Service_AdSense_Payments + */ + public function listPayments($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSense_Payments"); + } +} + +/** + * The "reports" collection of methods. + * Typical usage is: + * + * $adsenseService = new Google_Service_AdSense(...); + * $reports = $adsenseService->reports; + * + */ +class Google_Service_AdSense_Reports_Resource extends Google_Service_Resource +{ + + /** + * Generate an AdSense report based on the report request sent in the query + * parameters. Returns the result as JSON; to retrieve output in CSV format + * specify "alt=csv" as a query parameter. (reports.generate) + * + * @param string $startDate Start of the date range to report on in "YYYY-MM-DD" + * format, inclusive. + * @param string $endDate End of the date range to report on in "YYYY-MM-DD" + * format, inclusive. + * @param array $optParams Optional parameters. + * + * @opt_param string sort The name of a dimension or metric to sort the + * resulting report on, optionally prefixed with "+" to sort ascending or "-" to + * sort descending. If no prefix is specified, the column is sorted ascending. + * @opt_param string locale Optional locale to use for translating report output + * to a local language. Defaults to "en_US" if not specified. + * @opt_param string metric Numeric columns to include in the report. + * @opt_param int maxResults The maximum number of rows of report data to + * return. + * @opt_param string filter Filters to be run on the report. + * @opt_param string currency Optional currency to use when reporting on + * monetary metrics. Defaults to the account's currency if not set. + * @opt_param int startIndex Index of the first row of report data to return. + * @opt_param bool useTimezoneReporting Whether the report should be generated + * in the AdSense account's local timezone. If false default PST/PDT timezone + * will be used. + * @opt_param string dimension Dimensions to base the report on. + * @opt_param string accountId Accounts upon which to report. + * @return Google_Service_AdSense_AdsenseReportsGenerateResponse + */ + public function generate($startDate, $endDate, $optParams = array()) + { + $params = array('startDate' => $startDate, 'endDate' => $endDate); + $params = array_merge($params, $optParams); + return $this->call('generate', array($params), "Google_Service_AdSense_AdsenseReportsGenerateResponse"); + } +} + +/** + * The "saved" collection of methods. + * Typical usage is: + * + * $adsenseService = new Google_Service_AdSense(...); + * $saved = $adsenseService->saved; + * + */ +class Google_Service_AdSense_ReportsSaved_Resource extends Google_Service_Resource +{ + + /** + * Generate an AdSense report based on the saved report ID sent in the query + * parameters. (saved.generate) + * + * @param string $savedReportId The saved report to retrieve. + * @param array $optParams Optional parameters. + * + * @opt_param string locale Optional locale to use for translating report output + * to a local language. Defaults to "en_US" if not specified. + * @opt_param int startIndex Index of the first row of report data to return. + * @opt_param int maxResults The maximum number of rows of report data to + * return. + * @return Google_Service_AdSense_AdsenseReportsGenerateResponse + */ + public function generate($savedReportId, $optParams = array()) + { + $params = array('savedReportId' => $savedReportId); + $params = array_merge($params, $optParams); + return $this->call('generate', array($params), "Google_Service_AdSense_AdsenseReportsGenerateResponse"); + } + + /** + * List all saved reports in this AdSense account. (saved.listReportsSaved) + * + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken A continuation token, used to page through saved + * reports. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @opt_param int maxResults The maximum number of saved reports to include in + * the response, used for paging. + * @return Google_Service_AdSense_SavedReports + */ + public function listReportsSaved($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSense_SavedReports"); + } +} + +/** + * The "savedadstyles" collection of methods. + * Typical usage is: + * + * $adsenseService = new Google_Service_AdSense(...); + * $savedadstyles = $adsenseService->savedadstyles; + * + */ +class Google_Service_AdSense_Savedadstyles_Resource extends Google_Service_Resource +{ + + /** + * Get a specific saved ad style from the user's account. (savedadstyles.get) + * + * @param string $savedAdStyleId Saved ad style to retrieve. + * @param array $optParams Optional parameters. + * @return Google_Service_AdSense_SavedAdStyle + */ + public function get($savedAdStyleId, $optParams = array()) + { + $params = array('savedAdStyleId' => $savedAdStyleId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdSense_SavedAdStyle"); + } + + /** + * List all saved ad styles in the user's account. + * (savedadstyles.listSavedadstyles) + * + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken A continuation token, used to page through saved + * ad styles. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @opt_param int maxResults The maximum number of saved ad styles to include in + * the response, used for paging. + * @return Google_Service_AdSense_SavedAdStyles + */ + public function listSavedadstyles($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSense_SavedAdStyles"); + } +} + +/** + * The "urlchannels" collection of methods. + * Typical usage is: + * + * $adsenseService = new Google_Service_AdSense(...); + * $urlchannels = $adsenseService->urlchannels; + * + */ +class Google_Service_AdSense_Urlchannels_Resource extends Google_Service_Resource +{ + + /** + * List all URL channels in the specified ad client for this AdSense account. + * (urlchannels.listUrlchannels) + * + * @param string $adClientId Ad client for which to list URL channels. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken A continuation token, used to page through URL + * channels. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @opt_param int maxResults The maximum number of URL channels to include in + * the response, used for paging. + * @return Google_Service_AdSense_UrlChannels + */ + public function listUrlchannels($adClientId, $optParams = array()) + { + $params = array('adClientId' => $adClientId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSense_UrlChannels"); + } +} + + + + +class Google_Service_AdSense_Account extends Google_Collection +{ + protected $collection_key = 'subAccounts'; + protected $internal_gapi_mappings = array( + "creationTime" => "creation_time", + ); + public $creationTime; + public $id; + public $kind; + public $name; + public $premium; + protected $subAccountsType = 'Google_Service_AdSense_Account'; + protected $subAccountsDataType = 'array'; + public $timezone; + + + public function setCreationTime($creationTime) + { + $this->creationTime = $creationTime; + } + public function getCreationTime() + { + return $this->creationTime; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPremium($premium) + { + $this->premium = $premium; + } + public function getPremium() + { + return $this->premium; + } + public function setSubAccounts($subAccounts) + { + $this->subAccounts = $subAccounts; + } + public function getSubAccounts() + { + return $this->subAccounts; + } + public function setTimezone($timezone) + { + $this->timezone = $timezone; + } + public function getTimezone() + { + return $this->timezone; + } +} + +class Google_Service_AdSense_Accounts extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_AdSense_Account'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_AdSense_AdClient extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $arcOptIn; + public $arcReviewMode; + public $id; + public $kind; + public $productCode; + public $supportsReporting; + + + public function setArcOptIn($arcOptIn) + { + $this->arcOptIn = $arcOptIn; + } + public function getArcOptIn() + { + return $this->arcOptIn; + } + public function setArcReviewMode($arcReviewMode) + { + $this->arcReviewMode = $arcReviewMode; + } + public function getArcReviewMode() + { + return $this->arcReviewMode; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setProductCode($productCode) + { + $this->productCode = $productCode; + } + public function getProductCode() + { + return $this->productCode; + } + public function setSupportsReporting($supportsReporting) + { + $this->supportsReporting = $supportsReporting; + } + public function getSupportsReporting() + { + return $this->supportsReporting; + } +} + +class Google_Service_AdSense_AdClients extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_AdSense_AdClient'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_AdSense_AdCode extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $adCode; + public $kind; + + + public function setAdCode($adCode) + { + $this->adCode = $adCode; + } + public function getAdCode() + { + return $this->adCode; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_AdSense_AdStyle extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $colorsType = 'Google_Service_AdSense_AdStyleColors'; + protected $colorsDataType = ''; + public $corners; + protected $fontType = 'Google_Service_AdSense_AdStyleFont'; + protected $fontDataType = ''; + public $kind; + + + public function setColors(Google_Service_AdSense_AdStyleColors $colors) + { + $this->colors = $colors; + } + public function getColors() + { + return $this->colors; + } + public function setCorners($corners) + { + $this->corners = $corners; + } + public function getCorners() + { + return $this->corners; + } + public function setFont(Google_Service_AdSense_AdStyleFont $font) + { + $this->font = $font; + } + public function getFont() + { + return $this->font; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_AdSense_AdStyleColors extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $background; + public $border; + public $text; + public $title; + public $url; + + + public function setBackground($background) + { + $this->background = $background; + } + public function getBackground() + { + return $this->background; + } + public function setBorder($border) + { + $this->border = $border; + } + public function getBorder() + { + return $this->border; + } + public function setText($text) + { + $this->text = $text; + } + public function getText() + { + return $this->text; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_AdSense_AdStyleFont extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $family; + public $size; + + + public function setFamily($family) + { + $this->family = $family; + } + public function getFamily() + { + return $this->family; + } + public function setSize($size) + { + $this->size = $size; + } + public function getSize() + { + return $this->size; + } +} + +class Google_Service_AdSense_AdUnit extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $code; + protected $contentAdsSettingsType = 'Google_Service_AdSense_AdUnitContentAdsSettings'; + protected $contentAdsSettingsDataType = ''; + protected $customStyleType = 'Google_Service_AdSense_AdStyle'; + protected $customStyleDataType = ''; + protected $feedAdsSettingsType = 'Google_Service_AdSense_AdUnitFeedAdsSettings'; + protected $feedAdsSettingsDataType = ''; + public $id; + public $kind; + protected $mobileContentAdsSettingsType = 'Google_Service_AdSense_AdUnitMobileContentAdsSettings'; + protected $mobileContentAdsSettingsDataType = ''; + public $name; + public $savedStyleId; + public $status; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setContentAdsSettings(Google_Service_AdSense_AdUnitContentAdsSettings $contentAdsSettings) + { + $this->contentAdsSettings = $contentAdsSettings; + } + public function getContentAdsSettings() + { + return $this->contentAdsSettings; + } + public function setCustomStyle(Google_Service_AdSense_AdStyle $customStyle) + { + $this->customStyle = $customStyle; + } + public function getCustomStyle() + { + return $this->customStyle; + } + public function setFeedAdsSettings(Google_Service_AdSense_AdUnitFeedAdsSettings $feedAdsSettings) + { + $this->feedAdsSettings = $feedAdsSettings; + } + public function getFeedAdsSettings() + { + return $this->feedAdsSettings; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMobileContentAdsSettings(Google_Service_AdSense_AdUnitMobileContentAdsSettings $mobileContentAdsSettings) + { + $this->mobileContentAdsSettings = $mobileContentAdsSettings; + } + public function getMobileContentAdsSettings() + { + return $this->mobileContentAdsSettings; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSavedStyleId($savedStyleId) + { + $this->savedStyleId = $savedStyleId; + } + public function getSavedStyleId() + { + return $this->savedStyleId; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} + +class Google_Service_AdSense_AdUnitContentAdsSettings extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $backupOptionType = 'Google_Service_AdSense_AdUnitContentAdsSettingsBackupOption'; + protected $backupOptionDataType = ''; + public $size; + public $type; + + + public function setBackupOption(Google_Service_AdSense_AdUnitContentAdsSettingsBackupOption $backupOption) + { + $this->backupOption = $backupOption; + } + public function getBackupOption() + { + return $this->backupOption; + } + public function setSize($size) + { + $this->size = $size; + } + public function getSize() + { + return $this->size; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_AdSense_AdUnitContentAdsSettingsBackupOption extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $color; + public $type; + public $url; + + + public function setColor($color) + { + $this->color = $color; + } + public function getColor() + { + return $this->color; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_AdSense_AdUnitFeedAdsSettings extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $adPosition; + public $frequency; + public $minimumWordCount; + public $type; + + + public function setAdPosition($adPosition) + { + $this->adPosition = $adPosition; + } + public function getAdPosition() + { + return $this->adPosition; + } + public function setFrequency($frequency) + { + $this->frequency = $frequency; + } + public function getFrequency() + { + return $this->frequency; + } + public function setMinimumWordCount($minimumWordCount) + { + $this->minimumWordCount = $minimumWordCount; + } + public function getMinimumWordCount() + { + return $this->minimumWordCount; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_AdSense_AdUnitMobileContentAdsSettings extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $markupLanguage; + public $scriptingLanguage; + public $size; + public $type; + + + public function setMarkupLanguage($markupLanguage) + { + $this->markupLanguage = $markupLanguage; + } + public function getMarkupLanguage() + { + return $this->markupLanguage; + } + public function setScriptingLanguage($scriptingLanguage) + { + $this->scriptingLanguage = $scriptingLanguage; + } + public function getScriptingLanguage() + { + return $this->scriptingLanguage; + } + public function setSize($size) + { + $this->size = $size; + } + public function getSize() + { + return $this->size; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_AdSense_AdUnits extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_AdSense_AdUnit'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_AdSense_AdsenseReportsGenerateResponse extends Google_Collection +{ + protected $collection_key = 'warnings'; + protected $internal_gapi_mappings = array( + ); + public $averages; + public $endDate; + protected $headersType = 'Google_Service_AdSense_AdsenseReportsGenerateResponseHeaders'; + protected $headersDataType = 'array'; + public $kind; + public $rows; + public $startDate; + public $totalMatchedRows; + public $totals; + public $warnings; + + + public function setAverages($averages) + { + $this->averages = $averages; + } + public function getAverages() + { + return $this->averages; + } + public function setEndDate($endDate) + { + $this->endDate = $endDate; + } + public function getEndDate() + { + return $this->endDate; + } + public function setHeaders($headers) + { + $this->headers = $headers; + } + public function getHeaders() + { + return $this->headers; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRows($rows) + { + $this->rows = $rows; + } + public function getRows() + { + return $this->rows; + } + public function setStartDate($startDate) + { + $this->startDate = $startDate; + } + public function getStartDate() + { + return $this->startDate; + } + public function setTotalMatchedRows($totalMatchedRows) + { + $this->totalMatchedRows = $totalMatchedRows; + } + public function getTotalMatchedRows() + { + return $this->totalMatchedRows; + } + public function setTotals($totals) + { + $this->totals = $totals; + } + public function getTotals() + { + return $this->totals; + } + public function setWarnings($warnings) + { + $this->warnings = $warnings; + } + public function getWarnings() + { + return $this->warnings; + } +} + +class Google_Service_AdSense_AdsenseReportsGenerateResponseHeaders extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $currency; + public $name; + public $type; + + + public function setCurrency($currency) + { + $this->currency = $currency; + } + public function getCurrency() + { + return $this->currency; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_AdSense_Alert extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $isDismissible; + public $kind; + public $message; + public $severity; + public $type; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIsDismissible($isDismissible) + { + $this->isDismissible = $isDismissible; + } + public function getIsDismissible() + { + return $this->isDismissible; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } + public function setSeverity($severity) + { + $this->severity = $severity; + } + public function getSeverity() + { + return $this->severity; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_AdSense_Alerts extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_AdSense_Alert'; + protected $itemsDataType = 'array'; + public $kind; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_AdSense_CustomChannel extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $code; + public $id; + public $kind; + public $name; + protected $targetingInfoType = 'Google_Service_AdSense_CustomChannelTargetingInfo'; + protected $targetingInfoDataType = ''; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setTargetingInfo(Google_Service_AdSense_CustomChannelTargetingInfo $targetingInfo) + { + $this->targetingInfo = $targetingInfo; + } + public function getTargetingInfo() + { + return $this->targetingInfo; + } +} + +class Google_Service_AdSense_CustomChannelTargetingInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $adsAppearOn; + public $description; + public $location; + public $siteLanguage; + + + public function setAdsAppearOn($adsAppearOn) + { + $this->adsAppearOn = $adsAppearOn; + } + public function getAdsAppearOn() + { + return $this->adsAppearOn; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setSiteLanguage($siteLanguage) + { + $this->siteLanguage = $siteLanguage; + } + public function getSiteLanguage() + { + return $this->siteLanguage; + } +} + +class Google_Service_AdSense_CustomChannels extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_AdSense_CustomChannel'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_AdSense_Metadata extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_AdSense_ReportingMetadataEntry'; + protected $itemsDataType = 'array'; + public $kind; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_AdSense_Payment extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $kind; + public $paymentAmount; + public $paymentAmountCurrencyCode; + public $paymentDate; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPaymentAmount($paymentAmount) + { + $this->paymentAmount = $paymentAmount; + } + public function getPaymentAmount() + { + return $this->paymentAmount; + } + public function setPaymentAmountCurrencyCode($paymentAmountCurrencyCode) + { + $this->paymentAmountCurrencyCode = $paymentAmountCurrencyCode; + } + public function getPaymentAmountCurrencyCode() + { + return $this->paymentAmountCurrencyCode; + } + public function setPaymentDate($paymentDate) + { + $this->paymentDate = $paymentDate; + } + public function getPaymentDate() + { + return $this->paymentDate; + } +} + +class Google_Service_AdSense_Payments extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_AdSense_Payment'; + protected $itemsDataType = 'array'; + public $kind; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_AdSense_ReportingMetadataEntry extends Google_Collection +{ + protected $collection_key = 'supportedProducts'; + protected $internal_gapi_mappings = array( + ); + public $compatibleDimensions; + public $compatibleMetrics; + public $id; + public $kind; + public $requiredDimensions; + public $requiredMetrics; + public $supportedProducts; + + + public function setCompatibleDimensions($compatibleDimensions) + { + $this->compatibleDimensions = $compatibleDimensions; + } + public function getCompatibleDimensions() + { + return $this->compatibleDimensions; + } + public function setCompatibleMetrics($compatibleMetrics) + { + $this->compatibleMetrics = $compatibleMetrics; + } + public function getCompatibleMetrics() + { + return $this->compatibleMetrics; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRequiredDimensions($requiredDimensions) + { + $this->requiredDimensions = $requiredDimensions; + } + public function getRequiredDimensions() + { + return $this->requiredDimensions; + } + public function setRequiredMetrics($requiredMetrics) + { + $this->requiredMetrics = $requiredMetrics; + } + public function getRequiredMetrics() + { + return $this->requiredMetrics; + } + public function setSupportedProducts($supportedProducts) + { + $this->supportedProducts = $supportedProducts; + } + public function getSupportedProducts() + { + return $this->supportedProducts; + } +} + +class Google_Service_AdSense_SavedAdStyle extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $adStyleType = 'Google_Service_AdSense_AdStyle'; + protected $adStyleDataType = ''; + public $id; + public $kind; + public $name; + + + public function setAdStyle(Google_Service_AdSense_AdStyle $adStyle) + { + $this->adStyle = $adStyle; + } + public function getAdStyle() + { + return $this->adStyle; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_AdSense_SavedAdStyles extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_AdSense_SavedAdStyle'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_AdSense_SavedReport extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $kind; + public $name; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_AdSense_SavedReports extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_AdSense_SavedReport'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_AdSense_UrlChannel extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $kind; + public $urlPattern; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setUrlPattern($urlPattern) + { + $this->urlPattern = $urlPattern; + } + public function getUrlPattern() + { + return $this->urlPattern; + } +} + +class Google_Service_AdSense_UrlChannels extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_AdSense_UrlChannel'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/AdSenseHost.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/AdSenseHost.php new file mode 100644 index 0000000..101eab2 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/AdSenseHost.php @@ -0,0 +1,2166 @@ + + * Gives AdSense Hosts access to report generation, ad code generation, and + * publisher management capabilities.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_AdSenseHost extends Google_Service +{ + /** View and manage your AdSense host data and associated accounts. */ + const ADSENSEHOST = + "https://www.googleapis.com/auth/adsensehost"; + + public $accounts; + public $accounts_adclients; + public $accounts_adunits; + public $accounts_reports; + public $adclients; + public $associationsessions; + public $customchannels; + public $reports; + public $urlchannels; + + + /** + * Constructs the internal representation of the AdSenseHost service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'adsensehost/v4.1/'; + $this->version = 'v4.1'; + $this->serviceName = 'adsensehost'; + + $this->accounts = new Google_Service_AdSenseHost_Accounts_Resource( + $this, + $this->serviceName, + 'accounts', + array( + 'methods' => array( + 'get' => array( + 'path' => 'accounts/{accountId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'accounts', + 'httpMethod' => 'GET', + 'parameters' => array( + 'filterAdClientId' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->accounts_adclients = new Google_Service_AdSenseHost_AccountsAdclients_Resource( + $this, + $this->serviceName, + 'adclients', + array( + 'methods' => array( + 'get' => array( + 'path' => 'accounts/{accountId}/adclients/{adClientId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'accounts/{accountId}/adclients', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->accounts_adunits = new Google_Service_AdSenseHost_AccountsAdunits_Resource( + $this, + $this->serviceName, + 'adunits', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adUnitId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adUnitId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getAdCode' => array( + 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/adcode', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adUnitId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'hostCustomChannelId' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ),'insert' => array( + 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'includeInactive' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adUnitId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->accounts_reports = new Google_Service_AdSenseHost_AccountsReports_Resource( + $this, + $this->serviceName, + 'reports', + array( + 'methods' => array( + 'generate' => array( + 'path' => 'accounts/{accountId}/reports', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'startDate' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'endDate' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'sort' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'metric' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'startIndex' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'dimension' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ), + ) + ) + ); + $this->adclients = new Google_Service_AdSenseHost_Adclients_Resource( + $this, + $this->serviceName, + 'adclients', + array( + 'methods' => array( + 'get' => array( + 'path' => 'adclients/{adClientId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'adclients', + 'httpMethod' => 'GET', + 'parameters' => array( + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->associationsessions = new Google_Service_AdSenseHost_Associationsessions_Resource( + $this, + $this->serviceName, + 'associationsessions', + array( + 'methods' => array( + 'start' => array( + 'path' => 'associationsessions/start', + 'httpMethod' => 'GET', + 'parameters' => array( + 'productCode' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + 'required' => true, + ), + 'websiteUrl' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'websiteLocale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'userLocale' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'verify' => array( + 'path' => 'associationsessions/verify', + 'httpMethod' => 'GET', + 'parameters' => array( + 'token' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->customchannels = new Google_Service_AdSenseHost_Customchannels_Resource( + $this, + $this->serviceName, + 'customchannels', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'adclients/{adClientId}/customchannels/{customChannelId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customChannelId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'adclients/{adClientId}/customchannels/{customChannelId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customChannelId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'adclients/{adClientId}/customchannels', + 'httpMethod' => 'POST', + 'parameters' => array( + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'adclients/{adClientId}/customchannels', + 'httpMethod' => 'GET', + 'parameters' => array( + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => 'adclients/{adClientId}/customchannels', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customChannelId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'adclients/{adClientId}/customchannels', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->reports = new Google_Service_AdSenseHost_Reports_Resource( + $this, + $this->serviceName, + 'reports', + array( + 'methods' => array( + 'generate' => array( + 'path' => 'reports', + 'httpMethod' => 'GET', + 'parameters' => array( + 'startDate' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'endDate' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'sort' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'metric' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'startIndex' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'dimension' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ), + ) + ) + ); + $this->urlchannels = new Google_Service_AdSenseHost_Urlchannels_Resource( + $this, + $this->serviceName, + 'urlchannels', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'adclients/{adClientId}/urlchannels/{urlChannelId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'urlChannelId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'adclients/{adClientId}/urlchannels', + 'httpMethod' => 'POST', + 'parameters' => array( + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'adclients/{adClientId}/urlchannels', + 'httpMethod' => 'GET', + 'parameters' => array( + 'adClientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "accounts" collection of methods. + * Typical usage is: + * + * $adsensehostService = new Google_Service_AdSenseHost(...); + * $accounts = $adsensehostService->accounts; + * + */ +class Google_Service_AdSenseHost_Accounts_Resource extends Google_Service_Resource +{ + + /** + * Get information about the selected associated AdSense account. (accounts.get) + * + * @param string $accountId Account to get information about. + * @param array $optParams Optional parameters. + * @return Google_Service_AdSenseHost_Account + */ + public function get($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdSenseHost_Account"); + } + + /** + * List hosted accounts associated with this AdSense account by ad client id. + * (accounts.listAccounts) + * + * @param string $filterAdClientId Ad clients to list accounts for. + * @param array $optParams Optional parameters. + * @return Google_Service_AdSenseHost_Accounts + */ + public function listAccounts($filterAdClientId, $optParams = array()) + { + $params = array('filterAdClientId' => $filterAdClientId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSenseHost_Accounts"); + } +} + +/** + * The "adclients" collection of methods. + * Typical usage is: + * + * $adsensehostService = new Google_Service_AdSenseHost(...); + * $adclients = $adsensehostService->adclients; + * + */ +class Google_Service_AdSenseHost_AccountsAdclients_Resource extends Google_Service_Resource +{ + + /** + * Get information about one of the ad clients in the specified publisher's + * AdSense account. (adclients.get) + * + * @param string $accountId Account which contains the ad client. + * @param string $adClientId Ad client to get. + * @param array $optParams Optional parameters. + * @return Google_Service_AdSenseHost_AdClient + */ + public function get($accountId, $adClientId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'adClientId' => $adClientId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdSenseHost_AdClient"); + } + + /** + * List all hosted ad clients in the specified hosted account. + * (adclients.listAccountsAdclients) + * + * @param string $accountId Account for which to list ad clients. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken A continuation token, used to page through ad + * clients. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @opt_param string maxResults The maximum number of ad clients to include in + * the response, used for paging. + * @return Google_Service_AdSenseHost_AdClients + */ + public function listAccountsAdclients($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSenseHost_AdClients"); + } +} +/** + * The "adunits" collection of methods. + * Typical usage is: + * + * $adsensehostService = new Google_Service_AdSenseHost(...); + * $adunits = $adsensehostService->adunits; + * + */ +class Google_Service_AdSenseHost_AccountsAdunits_Resource extends Google_Service_Resource +{ + + /** + * Delete the specified ad unit from the specified publisher AdSense account. + * (adunits.delete) + * + * @param string $accountId Account which contains the ad unit. + * @param string $adClientId Ad client for which to get ad unit. + * @param string $adUnitId Ad unit to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_AdSenseHost_AdUnit + */ + public function delete($accountId, $adClientId, $adUnitId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_AdSenseHost_AdUnit"); + } + + /** + * Get the specified host ad unit in this AdSense account. (adunits.get) + * + * @param string $accountId Account which contains the ad unit. + * @param string $adClientId Ad client for which to get ad unit. + * @param string $adUnitId Ad unit to get. + * @param array $optParams Optional parameters. + * @return Google_Service_AdSenseHost_AdUnit + */ + public function get($accountId, $adClientId, $adUnitId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdSenseHost_AdUnit"); + } + + /** + * Get ad code for the specified ad unit, attaching the specified host custom + * channels. (adunits.getAdCode) + * + * @param string $accountId Account which contains the ad client. + * @param string $adClientId Ad client with contains the ad unit. + * @param string $adUnitId Ad unit to get the code for. + * @param array $optParams Optional parameters. + * + * @opt_param string hostCustomChannelId Host custom channel to attach to the ad + * code. + * @return Google_Service_AdSenseHost_AdCode + */ + public function getAdCode($accountId, $adClientId, $adUnitId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId); + $params = array_merge($params, $optParams); + return $this->call('getAdCode', array($params), "Google_Service_AdSenseHost_AdCode"); + } + + /** + * Insert the supplied ad unit into the specified publisher AdSense account. + * (adunits.insert) + * + * @param string $accountId Account which will contain the ad unit. + * @param string $adClientId Ad client into which to insert the ad unit. + * @param Google_AdUnit $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdSenseHost_AdUnit + */ + public function insert($accountId, $adClientId, Google_Service_AdSenseHost_AdUnit $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_AdSenseHost_AdUnit"); + } + + /** + * List all ad units in the specified publisher's AdSense account. + * (adunits.listAccountsAdunits) + * + * @param string $accountId Account which contains the ad client. + * @param string $adClientId Ad client for which to list ad units. + * @param array $optParams Optional parameters. + * + * @opt_param bool includeInactive Whether to include inactive ad units. + * Default: true. + * @opt_param string pageToken A continuation token, used to page through ad + * units. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @opt_param string maxResults The maximum number of ad units to include in the + * response, used for paging. + * @return Google_Service_AdSenseHost_AdUnits + */ + public function listAccountsAdunits($accountId, $adClientId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'adClientId' => $adClientId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSenseHost_AdUnits"); + } + + /** + * Update the supplied ad unit in the specified publisher AdSense account. This + * method supports patch semantics. (adunits.patch) + * + * @param string $accountId Account which contains the ad client. + * @param string $adClientId Ad client which contains the ad unit. + * @param string $adUnitId Ad unit to get. + * @param Google_AdUnit $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdSenseHost_AdUnit + */ + public function patch($accountId, $adClientId, $adUnitId, Google_Service_AdSenseHost_AdUnit $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_AdSenseHost_AdUnit"); + } + + /** + * Update the supplied ad unit in the specified publisher AdSense account. + * (adunits.update) + * + * @param string $accountId Account which contains the ad client. + * @param string $adClientId Ad client which contains the ad unit. + * @param Google_AdUnit $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdSenseHost_AdUnit + */ + public function update($accountId, $adClientId, Google_Service_AdSenseHost_AdUnit $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AdSenseHost_AdUnit"); + } +} +/** + * The "reports" collection of methods. + * Typical usage is: + * + * $adsensehostService = new Google_Service_AdSenseHost(...); + * $reports = $adsensehostService->reports; + * + */ +class Google_Service_AdSenseHost_AccountsReports_Resource extends Google_Service_Resource +{ + + /** + * Generate an AdSense report based on the report request sent in the query + * parameters. Returns the result as JSON; to retrieve output in CSV format + * specify "alt=csv" as a query parameter. (reports.generate) + * + * @param string $accountId Hosted account upon which to report. + * @param string $startDate Start of the date range to report on in "YYYY-MM-DD" + * format, inclusive. + * @param string $endDate End of the date range to report on in "YYYY-MM-DD" + * format, inclusive. + * @param array $optParams Optional parameters. + * + * @opt_param string sort The name of a dimension or metric to sort the + * resulting report on, optionally prefixed with "+" to sort ascending or "-" to + * sort descending. If no prefix is specified, the column is sorted ascending. + * @opt_param string locale Optional locale to use for translating report output + * to a local language. Defaults to "en_US" if not specified. + * @opt_param string metric Numeric columns to include in the report. + * @opt_param string maxResults The maximum number of rows of report data to + * return. + * @opt_param string filter Filters to be run on the report. + * @opt_param string startIndex Index of the first row of report data to return. + * @opt_param string dimension Dimensions to base the report on. + * @return Google_Service_AdSenseHost_Report + */ + public function generate($accountId, $startDate, $endDate, $optParams = array()) + { + $params = array('accountId' => $accountId, 'startDate' => $startDate, 'endDate' => $endDate); + $params = array_merge($params, $optParams); + return $this->call('generate', array($params), "Google_Service_AdSenseHost_Report"); + } +} + +/** + * The "adclients" collection of methods. + * Typical usage is: + * + * $adsensehostService = new Google_Service_AdSenseHost(...); + * $adclients = $adsensehostService->adclients; + * + */ +class Google_Service_AdSenseHost_Adclients_Resource extends Google_Service_Resource +{ + + /** + * Get information about one of the ad clients in the Host AdSense account. + * (adclients.get) + * + * @param string $adClientId Ad client to get. + * @param array $optParams Optional parameters. + * @return Google_Service_AdSenseHost_AdClient + */ + public function get($adClientId, $optParams = array()) + { + $params = array('adClientId' => $adClientId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdSenseHost_AdClient"); + } + + /** + * List all host ad clients in this AdSense account. (adclients.listAdclients) + * + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken A continuation token, used to page through ad + * clients. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @opt_param string maxResults The maximum number of ad clients to include in + * the response, used for paging. + * @return Google_Service_AdSenseHost_AdClients + */ + public function listAdclients($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSenseHost_AdClients"); + } +} + +/** + * The "associationsessions" collection of methods. + * Typical usage is: + * + * $adsensehostService = new Google_Service_AdSenseHost(...); + * $associationsessions = $adsensehostService->associationsessions; + * + */ +class Google_Service_AdSenseHost_Associationsessions_Resource extends Google_Service_Resource +{ + + /** + * Create an association session for initiating an association with an AdSense + * user. (associationsessions.start) + * + * @param string $productCode Products to associate with the user. + * @param string $websiteUrl The URL of the user's hosted website. + * @param array $optParams Optional parameters. + * + * @opt_param string websiteLocale The locale of the user's hosted website. + * @opt_param string userLocale The preferred locale of the user. + * @return Google_Service_AdSenseHost_AssociationSession + */ + public function start($productCode, $websiteUrl, $optParams = array()) + { + $params = array('productCode' => $productCode, 'websiteUrl' => $websiteUrl); + $params = array_merge($params, $optParams); + return $this->call('start', array($params), "Google_Service_AdSenseHost_AssociationSession"); + } + + /** + * Verify an association session after the association callback returns from + * AdSense signup. (associationsessions.verify) + * + * @param string $token The token returned to the association callback URL. + * @param array $optParams Optional parameters. + * @return Google_Service_AdSenseHost_AssociationSession + */ + public function verify($token, $optParams = array()) + { + $params = array('token' => $token); + $params = array_merge($params, $optParams); + return $this->call('verify', array($params), "Google_Service_AdSenseHost_AssociationSession"); + } +} + +/** + * The "customchannels" collection of methods. + * Typical usage is: + * + * $adsensehostService = new Google_Service_AdSenseHost(...); + * $customchannels = $adsensehostService->customchannels; + * + */ +class Google_Service_AdSenseHost_Customchannels_Resource extends Google_Service_Resource +{ + + /** + * Delete a specific custom channel from the host AdSense account. + * (customchannels.delete) + * + * @param string $adClientId Ad client from which to delete the custom channel. + * @param string $customChannelId Custom channel to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_AdSenseHost_CustomChannel + */ + public function delete($adClientId, $customChannelId, $optParams = array()) + { + $params = array('adClientId' => $adClientId, 'customChannelId' => $customChannelId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_AdSenseHost_CustomChannel"); + } + + /** + * Get a specific custom channel from the host AdSense account. + * (customchannels.get) + * + * @param string $adClientId Ad client from which to get the custom channel. + * @param string $customChannelId Custom channel to get. + * @param array $optParams Optional parameters. + * @return Google_Service_AdSenseHost_CustomChannel + */ + public function get($adClientId, $customChannelId, $optParams = array()) + { + $params = array('adClientId' => $adClientId, 'customChannelId' => $customChannelId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AdSenseHost_CustomChannel"); + } + + /** + * Add a new custom channel to the host AdSense account. (customchannels.insert) + * + * @param string $adClientId Ad client to which the new custom channel will be + * added. + * @param Google_CustomChannel $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdSenseHost_CustomChannel + */ + public function insert($adClientId, Google_Service_AdSenseHost_CustomChannel $postBody, $optParams = array()) + { + $params = array('adClientId' => $adClientId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_AdSenseHost_CustomChannel"); + } + + /** + * List all host custom channels in this AdSense account. + * (customchannels.listCustomchannels) + * + * @param string $adClientId Ad client for which to list custom channels. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken A continuation token, used to page through custom + * channels. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @opt_param string maxResults The maximum number of custom channels to include + * in the response, used for paging. + * @return Google_Service_AdSenseHost_CustomChannels + */ + public function listCustomchannels($adClientId, $optParams = array()) + { + $params = array('adClientId' => $adClientId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSenseHost_CustomChannels"); + } + + /** + * Update a custom channel in the host AdSense account. This method supports + * patch semantics. (customchannels.patch) + * + * @param string $adClientId Ad client in which the custom channel will be + * updated. + * @param string $customChannelId Custom channel to get. + * @param Google_CustomChannel $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdSenseHost_CustomChannel + */ + public function patch($adClientId, $customChannelId, Google_Service_AdSenseHost_CustomChannel $postBody, $optParams = array()) + { + $params = array('adClientId' => $adClientId, 'customChannelId' => $customChannelId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_AdSenseHost_CustomChannel"); + } + + /** + * Update a custom channel in the host AdSense account. (customchannels.update) + * + * @param string $adClientId Ad client in which the custom channel will be + * updated. + * @param Google_CustomChannel $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdSenseHost_CustomChannel + */ + public function update($adClientId, Google_Service_AdSenseHost_CustomChannel $postBody, $optParams = array()) + { + $params = array('adClientId' => $adClientId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AdSenseHost_CustomChannel"); + } +} + +/** + * The "reports" collection of methods. + * Typical usage is: + * + * $adsensehostService = new Google_Service_AdSenseHost(...); + * $reports = $adsensehostService->reports; + * + */ +class Google_Service_AdSenseHost_Reports_Resource extends Google_Service_Resource +{ + + /** + * Generate an AdSense report based on the report request sent in the query + * parameters. Returns the result as JSON; to retrieve output in CSV format + * specify "alt=csv" as a query parameter. (reports.generate) + * + * @param string $startDate Start of the date range to report on in "YYYY-MM-DD" + * format, inclusive. + * @param string $endDate End of the date range to report on in "YYYY-MM-DD" + * format, inclusive. + * @param array $optParams Optional parameters. + * + * @opt_param string sort The name of a dimension or metric to sort the + * resulting report on, optionally prefixed with "+" to sort ascending or "-" to + * sort descending. If no prefix is specified, the column is sorted ascending. + * @opt_param string locale Optional locale to use for translating report output + * to a local language. Defaults to "en_US" if not specified. + * @opt_param string metric Numeric columns to include in the report. + * @opt_param string maxResults The maximum number of rows of report data to + * return. + * @opt_param string filter Filters to be run on the report. + * @opt_param string startIndex Index of the first row of report data to return. + * @opt_param string dimension Dimensions to base the report on. + * @return Google_Service_AdSenseHost_Report + */ + public function generate($startDate, $endDate, $optParams = array()) + { + $params = array('startDate' => $startDate, 'endDate' => $endDate); + $params = array_merge($params, $optParams); + return $this->call('generate', array($params), "Google_Service_AdSenseHost_Report"); + } +} + +/** + * The "urlchannels" collection of methods. + * Typical usage is: + * + * $adsensehostService = new Google_Service_AdSenseHost(...); + * $urlchannels = $adsensehostService->urlchannels; + * + */ +class Google_Service_AdSenseHost_Urlchannels_Resource extends Google_Service_Resource +{ + + /** + * Delete a URL channel from the host AdSense account. (urlchannels.delete) + * + * @param string $adClientId Ad client from which to delete the URL channel. + * @param string $urlChannelId URL channel to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_AdSenseHost_UrlChannel + */ + public function delete($adClientId, $urlChannelId, $optParams = array()) + { + $params = array('adClientId' => $adClientId, 'urlChannelId' => $urlChannelId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_AdSenseHost_UrlChannel"); + } + + /** + * Add a new URL channel to the host AdSense account. (urlchannels.insert) + * + * @param string $adClientId Ad client to which the new URL channel will be + * added. + * @param Google_UrlChannel $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AdSenseHost_UrlChannel + */ + public function insert($adClientId, Google_Service_AdSenseHost_UrlChannel $postBody, $optParams = array()) + { + $params = array('adClientId' => $adClientId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_AdSenseHost_UrlChannel"); + } + + /** + * List all host URL channels in the host AdSense account. + * (urlchannels.listUrlchannels) + * + * @param string $adClientId Ad client for which to list URL channels. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken A continuation token, used to page through URL + * channels. To retrieve the next page, set this parameter to the value of + * "nextPageToken" from the previous response. + * @opt_param string maxResults The maximum number of URL channels to include in + * the response, used for paging. + * @return Google_Service_AdSenseHost_UrlChannels + */ + public function listUrlchannels($adClientId, $optParams = array()) + { + $params = array('adClientId' => $adClientId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AdSenseHost_UrlChannels"); + } +} + + + + +class Google_Service_AdSenseHost_Account extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $kind; + public $name; + public $status; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} + +class Google_Service_AdSenseHost_Accounts extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_AdSenseHost_Account'; + protected $itemsDataType = 'array'; + public $kind; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_AdSenseHost_AdClient extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $arcOptIn; + public $id; + public $kind; + public $productCode; + public $supportsReporting; + + + public function setArcOptIn($arcOptIn) + { + $this->arcOptIn = $arcOptIn; + } + public function getArcOptIn() + { + return $this->arcOptIn; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setProductCode($productCode) + { + $this->productCode = $productCode; + } + public function getProductCode() + { + return $this->productCode; + } + public function setSupportsReporting($supportsReporting) + { + $this->supportsReporting = $supportsReporting; + } + public function getSupportsReporting() + { + return $this->supportsReporting; + } +} + +class Google_Service_AdSenseHost_AdClients extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_AdSenseHost_AdClient'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_AdSenseHost_AdCode extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $adCode; + public $kind; + + + public function setAdCode($adCode) + { + $this->adCode = $adCode; + } + public function getAdCode() + { + return $this->adCode; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_AdSenseHost_AdStyle extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $colorsType = 'Google_Service_AdSenseHost_AdStyleColors'; + protected $colorsDataType = ''; + public $corners; + protected $fontType = 'Google_Service_AdSenseHost_AdStyleFont'; + protected $fontDataType = ''; + public $kind; + + + public function setColors(Google_Service_AdSenseHost_AdStyleColors $colors) + { + $this->colors = $colors; + } + public function getColors() + { + return $this->colors; + } + public function setCorners($corners) + { + $this->corners = $corners; + } + public function getCorners() + { + return $this->corners; + } + public function setFont(Google_Service_AdSenseHost_AdStyleFont $font) + { + $this->font = $font; + } + public function getFont() + { + return $this->font; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_AdSenseHost_AdStyleColors extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $background; + public $border; + public $text; + public $title; + public $url; + + + public function setBackground($background) + { + $this->background = $background; + } + public function getBackground() + { + return $this->background; + } + public function setBorder($border) + { + $this->border = $border; + } + public function getBorder() + { + return $this->border; + } + public function setText($text) + { + $this->text = $text; + } + public function getText() + { + return $this->text; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_AdSenseHost_AdStyleFont extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $family; + public $size; + + + public function setFamily($family) + { + $this->family = $family; + } + public function getFamily() + { + return $this->family; + } + public function setSize($size) + { + $this->size = $size; + } + public function getSize() + { + return $this->size; + } +} + +class Google_Service_AdSenseHost_AdUnit extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $code; + protected $contentAdsSettingsType = 'Google_Service_AdSenseHost_AdUnitContentAdsSettings'; + protected $contentAdsSettingsDataType = ''; + protected $customStyleType = 'Google_Service_AdSenseHost_AdStyle'; + protected $customStyleDataType = ''; + public $id; + public $kind; + protected $mobileContentAdsSettingsType = 'Google_Service_AdSenseHost_AdUnitMobileContentAdsSettings'; + protected $mobileContentAdsSettingsDataType = ''; + public $name; + public $status; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setContentAdsSettings(Google_Service_AdSenseHost_AdUnitContentAdsSettings $contentAdsSettings) + { + $this->contentAdsSettings = $contentAdsSettings; + } + public function getContentAdsSettings() + { + return $this->contentAdsSettings; + } + public function setCustomStyle(Google_Service_AdSenseHost_AdStyle $customStyle) + { + $this->customStyle = $customStyle; + } + public function getCustomStyle() + { + return $this->customStyle; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMobileContentAdsSettings(Google_Service_AdSenseHost_AdUnitMobileContentAdsSettings $mobileContentAdsSettings) + { + $this->mobileContentAdsSettings = $mobileContentAdsSettings; + } + public function getMobileContentAdsSettings() + { + return $this->mobileContentAdsSettings; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} + +class Google_Service_AdSenseHost_AdUnitContentAdsSettings extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $backupOptionType = 'Google_Service_AdSenseHost_AdUnitContentAdsSettingsBackupOption'; + protected $backupOptionDataType = ''; + public $size; + public $type; + + + public function setBackupOption(Google_Service_AdSenseHost_AdUnitContentAdsSettingsBackupOption $backupOption) + { + $this->backupOption = $backupOption; + } + public function getBackupOption() + { + return $this->backupOption; + } + public function setSize($size) + { + $this->size = $size; + } + public function getSize() + { + return $this->size; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_AdSenseHost_AdUnitContentAdsSettingsBackupOption extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $color; + public $type; + public $url; + + + public function setColor($color) + { + $this->color = $color; + } + public function getColor() + { + return $this->color; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_AdSenseHost_AdUnitMobileContentAdsSettings extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $markupLanguage; + public $scriptingLanguage; + public $size; + public $type; + + + public function setMarkupLanguage($markupLanguage) + { + $this->markupLanguage = $markupLanguage; + } + public function getMarkupLanguage() + { + return $this->markupLanguage; + } + public function setScriptingLanguage($scriptingLanguage) + { + $this->scriptingLanguage = $scriptingLanguage; + } + public function getScriptingLanguage() + { + return $this->scriptingLanguage; + } + public function setSize($size) + { + $this->size = $size; + } + public function getSize() + { + return $this->size; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_AdSenseHost_AdUnits extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_AdSenseHost_AdUnit'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_AdSenseHost_AssociationSession extends Google_Collection +{ + protected $collection_key = 'productCodes'; + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $id; + public $kind; + public $productCodes; + public $redirectUrl; + public $status; + public $userLocale; + public $websiteLocale; + public $websiteUrl; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setProductCodes($productCodes) + { + $this->productCodes = $productCodes; + } + public function getProductCodes() + { + return $this->productCodes; + } + public function setRedirectUrl($redirectUrl) + { + $this->redirectUrl = $redirectUrl; + } + public function getRedirectUrl() + { + return $this->redirectUrl; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setUserLocale($userLocale) + { + $this->userLocale = $userLocale; + } + public function getUserLocale() + { + return $this->userLocale; + } + public function setWebsiteLocale($websiteLocale) + { + $this->websiteLocale = $websiteLocale; + } + public function getWebsiteLocale() + { + return $this->websiteLocale; + } + public function setWebsiteUrl($websiteUrl) + { + $this->websiteUrl = $websiteUrl; + } + public function getWebsiteUrl() + { + return $this->websiteUrl; + } +} + +class Google_Service_AdSenseHost_CustomChannel extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $code; + public $id; + public $kind; + public $name; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_AdSenseHost_CustomChannels extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_AdSenseHost_CustomChannel'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_AdSenseHost_Report extends Google_Collection +{ + protected $collection_key = 'warnings'; + protected $internal_gapi_mappings = array( + ); + public $averages; + protected $headersType = 'Google_Service_AdSenseHost_ReportHeaders'; + protected $headersDataType = 'array'; + public $kind; + public $rows; + public $totalMatchedRows; + public $totals; + public $warnings; + + + public function setAverages($averages) + { + $this->averages = $averages; + } + public function getAverages() + { + return $this->averages; + } + public function setHeaders($headers) + { + $this->headers = $headers; + } + public function getHeaders() + { + return $this->headers; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRows($rows) + { + $this->rows = $rows; + } + public function getRows() + { + return $this->rows; + } + public function setTotalMatchedRows($totalMatchedRows) + { + $this->totalMatchedRows = $totalMatchedRows; + } + public function getTotalMatchedRows() + { + return $this->totalMatchedRows; + } + public function setTotals($totals) + { + $this->totals = $totals; + } + public function getTotals() + { + return $this->totals; + } + public function setWarnings($warnings) + { + $this->warnings = $warnings; + } + public function getWarnings() + { + return $this->warnings; + } +} + +class Google_Service_AdSenseHost_ReportHeaders extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $currency; + public $name; + public $type; + + + public function setCurrency($currency) + { + $this->currency = $currency; + } + public function getCurrency() + { + return $this->currency; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_AdSenseHost_UrlChannel extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $kind; + public $urlPattern; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setUrlPattern($urlPattern) + { + $this->urlPattern = $urlPattern; + } + public function getUrlPattern() + { + return $this->urlPattern; + } +} + +class Google_Service_AdSenseHost_UrlChannels extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_AdSenseHost_UrlChannel'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Admin.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Admin.php new file mode 100644 index 0000000..3ed7499 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Admin.php @@ -0,0 +1,194 @@ + + * Email Migration API lets you migrate emails of users to Google backends.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Admin extends Google_Service +{ + /** Manage email messages of users on your domain. */ + const EMAIL_MIGRATION = + "https://www.googleapis.com/auth/email.migration"; + + public $mail; + + + /** + * Constructs the internal representation of the Admin service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'email/v2/users/'; + $this->version = 'email_migration_v2'; + $this->serviceName = 'admin'; + + $this->mail = new Google_Service_Admin_Mail_Resource( + $this, + $this->serviceName, + 'mail', + array( + 'methods' => array( + 'insert' => array( + 'path' => '{userKey}/mail', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "mail" collection of methods. + * Typical usage is: + * + * $adminService = new Google_Service_Admin(...); + * $mail = $adminService->mail; + * + */ +class Google_Service_Admin_Mail_Resource extends Google_Service_Resource +{ + + /** + * Insert Mail into Google's Gmail backends (mail.insert) + * + * @param string $userKey The email or immutable id of the user + * @param Google_MailItem $postBody + * @param array $optParams Optional parameters. + */ + public function insert($userKey, Google_Service_Admin_MailItem $postBody, $optParams = array()) + { + $params = array('userKey' => $userKey, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params)); + } +} + + + + +class Google_Service_Admin_MailItem extends Google_Collection +{ + protected $collection_key = 'labels'; + protected $internal_gapi_mappings = array( + ); + public $isDeleted; + public $isDraft; + public $isInbox; + public $isSent; + public $isStarred; + public $isTrash; + public $isUnread; + public $kind; + public $labels; + + + public function setIsDeleted($isDeleted) + { + $this->isDeleted = $isDeleted; + } + public function getIsDeleted() + { + return $this->isDeleted; + } + public function setIsDraft($isDraft) + { + $this->isDraft = $isDraft; + } + public function getIsDraft() + { + return $this->isDraft; + } + public function setIsInbox($isInbox) + { + $this->isInbox = $isInbox; + } + public function getIsInbox() + { + return $this->isInbox; + } + public function setIsSent($isSent) + { + $this->isSent = $isSent; + } + public function getIsSent() + { + return $this->isSent; + } + public function setIsStarred($isStarred) + { + $this->isStarred = $isStarred; + } + public function getIsStarred() + { + return $this->isStarred; + } + public function setIsTrash($isTrash) + { + $this->isTrash = $isTrash; + } + public function getIsTrash() + { + return $this->isTrash; + } + public function setIsUnread($isUnread) + { + $this->isUnread = $isUnread; + } + public function getIsUnread() + { + return $this->isUnread; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Analytics.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Analytics.php new file mode 100644 index 0000000..954ca0f --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Analytics.php @@ -0,0 +1,9899 @@ + + * View and manage your Google Analytics data

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Analytics extends Google_Service +{ + /** View and manage your Google Analytics data. */ + const ANALYTICS = + "https://www.googleapis.com/auth/analytics"; + /** Edit Google Analytics management entities. */ + const ANALYTICS_EDIT = + "https://www.googleapis.com/auth/analytics.edit"; + /** Manage Google Analytics Account users by email address. */ + const ANALYTICS_MANAGE_USERS = + "https://www.googleapis.com/auth/analytics.manage.users"; + /** View Google Analytics user permissions. */ + const ANALYTICS_MANAGE_USERS_READONLY = + "https://www.googleapis.com/auth/analytics.manage.users.readonly"; + /** Create a new Google Analytics account along with its default property and view. */ + const ANALYTICS_PROVISION = + "https://www.googleapis.com/auth/analytics.provision"; + /** View your Google Analytics data. */ + const ANALYTICS_READONLY = + "https://www.googleapis.com/auth/analytics.readonly"; + + public $data_ga; + public $data_mcf; + public $data_realtime; + public $management_accountSummaries; + public $management_accountUserLinks; + public $management_accounts; + public $management_customDataSources; + public $management_customDimensions; + public $management_customMetrics; + public $management_experiments; + public $management_filters; + public $management_goals; + public $management_profileFilterLinks; + public $management_profileUserLinks; + public $management_profiles; + public $management_segments; + public $management_unsampledReports; + public $management_uploads; + public $management_webPropertyAdWordsLinks; + public $management_webproperties; + public $management_webpropertyUserLinks; + public $metadata_columns; + public $provisioning; + + + /** + * Constructs the internal representation of the Analytics service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'analytics/v3/'; + $this->version = 'v3'; + $this->serviceName = 'analytics'; + + $this->data_ga = new Google_Service_Analytics_DataGa_Resource( + $this, + $this->serviceName, + 'ga', + array( + 'methods' => array( + 'get' => array( + 'path' => 'data/ga', + 'httpMethod' => 'GET', + 'parameters' => array( + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'start-date' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'end-date' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'metrics' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'max-results' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'sort' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'dimensions' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'start-index' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'segment' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'samplingLevel' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'filters' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'output' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->data_mcf = new Google_Service_Analytics_DataMcf_Resource( + $this, + $this->serviceName, + 'mcf', + array( + 'methods' => array( + 'get' => array( + 'path' => 'data/mcf', + 'httpMethod' => 'GET', + 'parameters' => array( + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'start-date' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'end-date' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'metrics' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'max-results' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'sort' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'dimensions' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'start-index' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'samplingLevel' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'filters' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->data_realtime = new Google_Service_Analytics_DataRealtime_Resource( + $this, + $this->serviceName, + 'realtime', + array( + 'methods' => array( + 'get' => array( + 'path' => 'data/realtime', + 'httpMethod' => 'GET', + 'parameters' => array( + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'metrics' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'max-results' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'sort' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'dimensions' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'filters' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->management_accountSummaries = new Google_Service_Analytics_ManagementAccountSummaries_Resource( + $this, + $this->serviceName, + 'accountSummaries', + array( + 'methods' => array( + 'list' => array( + 'path' => 'management/accountSummaries', + 'httpMethod' => 'GET', + 'parameters' => array( + 'max-results' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'start-index' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->management_accountUserLinks = new Google_Service_Analytics_ManagementAccountUserLinks_Resource( + $this, + $this->serviceName, + 'accountUserLinks', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'management/accounts/{accountId}/entityUserLinks/{linkId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'linkId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'management/accounts/{accountId}/entityUserLinks', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'management/accounts/{accountId}/entityUserLinks', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'max-results' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'start-index' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'update' => array( + 'path' => 'management/accounts/{accountId}/entityUserLinks/{linkId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'linkId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->management_accounts = new Google_Service_Analytics_ManagementAccounts_Resource( + $this, + $this->serviceName, + 'accounts', + array( + 'methods' => array( + 'list' => array( + 'path' => 'management/accounts', + 'httpMethod' => 'GET', + 'parameters' => array( + 'max-results' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'start-index' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->management_customDataSources = new Google_Service_Analytics_ManagementCustomDataSources_Resource( + $this, + $this->serviceName, + 'customDataSources', + array( + 'methods' => array( + 'list' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'max-results' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'start-index' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->management_customDimensions = new Google_Service_Analytics_ManagementCustomDimensions_Resource( + $this, + $this->serviceName, + 'customDimensions', + array( + 'methods' => array( + 'get' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customDimensionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'max-results' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'start-index' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customDimensionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'ignoreCustomDataSourceLinks' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'update' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customDimensionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'ignoreCustomDataSourceLinks' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->management_customMetrics = new Google_Service_Analytics_ManagementCustomMetrics_Resource( + $this, + $this->serviceName, + 'customMetrics', + array( + 'methods' => array( + 'get' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customMetricId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'max-results' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'start-index' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customMetricId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'ignoreCustomDataSourceLinks' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'update' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customMetricId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'ignoreCustomDataSourceLinks' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->management_experiments = new Google_Service_Analytics_ManagementExperiments_Resource( + $this, + $this->serviceName, + 'experiments', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'experimentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'experimentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'max-results' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'start-index' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'experimentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'experimentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->management_filters = new Google_Service_Analytics_ManagementFilters_Resource( + $this, + $this->serviceName, + 'filters', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'management/accounts/{accountId}/filters/{filterId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filterId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'management/accounts/{accountId}/filters/{filterId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filterId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'management/accounts/{accountId}/filters', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'management/accounts/{accountId}/filters', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'max-results' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'start-index' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => 'management/accounts/{accountId}/filters/{filterId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filterId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'management/accounts/{accountId}/filters/{filterId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filterId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->management_goals = new Google_Service_Analytics_ManagementGoals_Resource( + $this, + $this->serviceName, + 'goals', + array( + 'methods' => array( + 'get' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'goalId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'max-results' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'start-index' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'goalId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'goalId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->management_profileFilterLinks = new Google_Service_Analytics_ManagementProfileFilterLinks_Resource( + $this, + $this->serviceName, + 'profileFilterLinks', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'linkId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'linkId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'max-results' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'start-index' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'linkId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'linkId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->management_profileUserLinks = new Google_Service_Analytics_ManagementProfileUserLinks_Resource( + $this, + $this->serviceName, + 'profileUserLinks', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'linkId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'max-results' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'start-index' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'update' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'linkId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->management_profiles = new Google_Service_Analytics_ManagementProfiles_Resource( + $this, + $this->serviceName, + 'profiles', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'max-results' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'start-index' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->management_segments = new Google_Service_Analytics_ManagementSegments_Resource( + $this, + $this->serviceName, + 'segments', + array( + 'methods' => array( + 'list' => array( + 'path' => 'management/segments', + 'httpMethod' => 'GET', + 'parameters' => array( + 'max-results' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'start-index' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->management_unsampledReports = new Google_Service_Analytics_ManagementUnsampledReports_Resource( + $this, + $this->serviceName, + 'unsampledReports', + array( + 'methods' => array( + 'get' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports/{unsampledReportId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'unsampledReportId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'max-results' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'start-index' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->management_uploads = new Google_Service_Analytics_ManagementUploads_Resource( + $this, + $this->serviceName, + 'uploads', + array( + 'methods' => array( + 'deleteUploadData' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/deleteUploadData', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customDataSourceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads/{uploadId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customDataSourceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'uploadId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customDataSourceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'max-results' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'start-index' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'uploadData' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customDataSourceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->management_webPropertyAdWordsLinks = new Google_Service_Analytics_ManagementWebPropertyAdWordsLinks_Resource( + $this, + $this->serviceName, + 'webPropertyAdWordsLinks', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyAdWordsLinkId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyAdWordsLinkId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'max-results' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'start-index' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyAdWordsLinkId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyAdWordsLinkId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->management_webproperties = new Google_Service_Analytics_ManagementWebproperties_Resource( + $this, + $this->serviceName, + 'webproperties', + array( + 'methods' => array( + 'get' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'management/accounts/{accountId}/webproperties', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'management/accounts/{accountId}/webproperties', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'max-results' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'start-index' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->management_webpropertyUserLinks = new Google_Service_Analytics_ManagementWebpropertyUserLinks_Resource( + $this, + $this->serviceName, + 'webpropertyUserLinks', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'linkId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'max-results' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'start-index' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'update' => array( + 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'webPropertyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'linkId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->metadata_columns = new Google_Service_Analytics_MetadataColumns_Resource( + $this, + $this->serviceName, + 'columns', + array( + 'methods' => array( + 'list' => array( + 'path' => 'metadata/{reportType}/columns', + 'httpMethod' => 'GET', + 'parameters' => array( + 'reportType' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->provisioning = new Google_Service_Analytics_Provisioning_Resource( + $this, + $this->serviceName, + 'provisioning', + array( + 'methods' => array( + 'createAccountTicket' => array( + 'path' => 'provisioning/createAccountTicket', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + } +} + + +/** + * The "data" collection of methods. + * Typical usage is: + * + * $analyticsService = new Google_Service_Analytics(...); + * $data = $analyticsService->data; + * + */ +class Google_Service_Analytics_Data_Resource extends Google_Service_Resource +{ +} + +/** + * The "ga" collection of methods. + * Typical usage is: + * + * $analyticsService = new Google_Service_Analytics(...); + * $ga = $analyticsService->ga; + * + */ +class Google_Service_Analytics_DataGa_Resource extends Google_Service_Resource +{ + + /** + * Returns Analytics data for a view (profile). (ga.get) + * + * @param string $ids Unique table ID for retrieving Analytics data. Table ID is + * of the form ga:XXXX, where XXXX is the Analytics view (profile) ID. + * @param string $startDate Start date for fetching Analytics data. Requests can + * specify a start date formatted as YYYY-MM-DD, or as a relative date (e.g., + * today, yesterday, or 7daysAgo). The default value is 7daysAgo. + * @param string $endDate End date for fetching Analytics data. Request can + * should specify an end date formatted as YYYY-MM-DD, or as a relative date + * (e.g., today, yesterday, or 7daysAgo). The default value is yesterday. + * @param string $metrics A comma-separated list of Analytics metrics. E.g., + * 'ga:sessions,ga:pageviews'. At least one metric must be specified. + * @param array $optParams Optional parameters. + * + * @opt_param int max-results The maximum number of entries to include in this + * feed. + * @opt_param string sort A comma-separated list of dimensions or metrics that + * determine the sort order for Analytics data. + * @opt_param string dimensions A comma-separated list of Analytics dimensions. + * E.g., 'ga:browser,ga:city'. + * @opt_param int start-index An index of the first entity to retrieve. Use this + * parameter as a pagination mechanism along with the max-results parameter. + * @opt_param string segment An Analytics segment to be applied to data. + * @opt_param string samplingLevel The desired sampling level. + * @opt_param string filters A comma-separated list of dimension or metric + * filters to be applied to Analytics data. + * @opt_param string output The selected format for the response. Default format + * is JSON. + * @return Google_Service_Analytics_GaData + */ + public function get($ids, $startDate, $endDate, $metrics, $optParams = array()) + { + $params = array('ids' => $ids, 'start-date' => $startDate, 'end-date' => $endDate, 'metrics' => $metrics); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Analytics_GaData"); + } +} +/** + * The "mcf" collection of methods. + * Typical usage is: + * + * $analyticsService = new Google_Service_Analytics(...); + * $mcf = $analyticsService->mcf; + * + */ +class Google_Service_Analytics_DataMcf_Resource extends Google_Service_Resource +{ + + /** + * Returns Analytics Multi-Channel Funnels data for a view (profile). (mcf.get) + * + * @param string $ids Unique table ID for retrieving Analytics data. Table ID is + * of the form ga:XXXX, where XXXX is the Analytics view (profile) ID. + * @param string $startDate Start date for fetching Analytics data. Requests can + * specify a start date formatted as YYYY-MM-DD, or as a relative date (e.g., + * today, yesterday, or 7daysAgo). The default value is 7daysAgo. + * @param string $endDate End date for fetching Analytics data. Requests can + * specify a start date formatted as YYYY-MM-DD, or as a relative date (e.g., + * today, yesterday, or 7daysAgo). The default value is 7daysAgo. + * @param string $metrics A comma-separated list of Multi-Channel Funnels + * metrics. E.g., 'mcf:totalConversions,mcf:totalConversionValue'. At least one + * metric must be specified. + * @param array $optParams Optional parameters. + * + * @opt_param int max-results The maximum number of entries to include in this + * feed. + * @opt_param string sort A comma-separated list of dimensions or metrics that + * determine the sort order for the Analytics data. + * @opt_param string dimensions A comma-separated list of Multi-Channel Funnels + * dimensions. E.g., 'mcf:source,mcf:medium'. + * @opt_param int start-index An index of the first entity to retrieve. Use this + * parameter as a pagination mechanism along with the max-results parameter. + * @opt_param string samplingLevel The desired sampling level. + * @opt_param string filters A comma-separated list of dimension or metric + * filters to be applied to the Analytics data. + * @return Google_Service_Analytics_McfData + */ + public function get($ids, $startDate, $endDate, $metrics, $optParams = array()) + { + $params = array('ids' => $ids, 'start-date' => $startDate, 'end-date' => $endDate, 'metrics' => $metrics); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Analytics_McfData"); + } +} +/** + * The "realtime" collection of methods. + * Typical usage is: + * + * $analyticsService = new Google_Service_Analytics(...); + * $realtime = $analyticsService->realtime; + * + */ +class Google_Service_Analytics_DataRealtime_Resource extends Google_Service_Resource +{ + + /** + * Returns real time data for a view (profile). (realtime.get) + * + * @param string $ids Unique table ID for retrieving real time data. Table ID is + * of the form ga:XXXX, where XXXX is the Analytics view (profile) ID. + * @param string $metrics A comma-separated list of real time metrics. E.g., + * 'rt:activeUsers'. At least one metric must be specified. + * @param array $optParams Optional parameters. + * + * @opt_param int max-results The maximum number of entries to include in this + * feed. + * @opt_param string sort A comma-separated list of dimensions or metrics that + * determine the sort order for real time data. + * @opt_param string dimensions A comma-separated list of real time dimensions. + * E.g., 'rt:medium,rt:city'. + * @opt_param string filters A comma-separated list of dimension or metric + * filters to be applied to real time data. + * @return Google_Service_Analytics_RealtimeData + */ + public function get($ids, $metrics, $optParams = array()) + { + $params = array('ids' => $ids, 'metrics' => $metrics); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Analytics_RealtimeData"); + } +} + +/** + * The "management" collection of methods. + * Typical usage is: + * + * $analyticsService = new Google_Service_Analytics(...); + * $management = $analyticsService->management; + * + */ +class Google_Service_Analytics_Management_Resource extends Google_Service_Resource +{ +} + +/** + * The "accountSummaries" collection of methods. + * Typical usage is: + * + * $analyticsService = new Google_Service_Analytics(...); + * $accountSummaries = $analyticsService->accountSummaries; + * + */ +class Google_Service_Analytics_ManagementAccountSummaries_Resource extends Google_Service_Resource +{ + + /** + * Lists account summaries (lightweight tree comprised of + * accounts/properties/profiles) to which the user has access. + * (accountSummaries.listManagementAccountSummaries) + * + * @param array $optParams Optional parameters. + * + * @opt_param int max-results The maximum number of account summaries to include + * in this response, where the largest acceptable value is 1000. + * @opt_param int start-index An index of the first entity to retrieve. Use this + * parameter as a pagination mechanism along with the max-results parameter. + * @return Google_Service_Analytics_AccountSummaries + */ + public function listManagementAccountSummaries($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Analytics_AccountSummaries"); + } +} +/** + * The "accountUserLinks" collection of methods. + * Typical usage is: + * + * $analyticsService = new Google_Service_Analytics(...); + * $accountUserLinks = $analyticsService->accountUserLinks; + * + */ +class Google_Service_Analytics_ManagementAccountUserLinks_Resource extends Google_Service_Resource +{ + + /** + * Removes a user from the given account. (accountUserLinks.delete) + * + * @param string $accountId Account ID to delete the user link for. + * @param string $linkId Link ID to delete the user link for. + * @param array $optParams Optional parameters. + */ + public function delete($accountId, $linkId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'linkId' => $linkId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Adds a new user to the given account. (accountUserLinks.insert) + * + * @param string $accountId Account ID to create the user link for. + * @param Google_EntityUserLink $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_EntityUserLink + */ + public function insert($accountId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Analytics_EntityUserLink"); + } + + /** + * Lists account-user links for a given account. + * (accountUserLinks.listManagementAccountUserLinks) + * + * @param string $accountId Account ID to retrieve the user links for. + * @param array $optParams Optional parameters. + * + * @opt_param int max-results The maximum number of account-user links to + * include in this response. + * @opt_param int start-index An index of the first account-user link to + * retrieve. Use this parameter as a pagination mechanism along with the max- + * results parameter. + * @return Google_Service_Analytics_EntityUserLinks + */ + public function listManagementAccountUserLinks($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Analytics_EntityUserLinks"); + } + + /** + * Updates permissions for an existing user on the given account. + * (accountUserLinks.update) + * + * @param string $accountId Account ID to update the account-user link for. + * @param string $linkId Link ID to update the account-user link for. + * @param Google_EntityUserLink $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_EntityUserLink + */ + public function update($accountId, $linkId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'linkId' => $linkId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Analytics_EntityUserLink"); + } +} +/** + * The "accounts" collection of methods. + * Typical usage is: + * + * $analyticsService = new Google_Service_Analytics(...); + * $accounts = $analyticsService->accounts; + * + */ +class Google_Service_Analytics_ManagementAccounts_Resource extends Google_Service_Resource +{ + + /** + * Lists all accounts to which the user has access. + * (accounts.listManagementAccounts) + * + * @param array $optParams Optional parameters. + * + * @opt_param int max-results The maximum number of accounts to include in this + * response. + * @opt_param int start-index An index of the first account to retrieve. Use + * this parameter as a pagination mechanism along with the max-results + * parameter. + * @return Google_Service_Analytics_Accounts + */ + public function listManagementAccounts($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Analytics_Accounts"); + } +} +/** + * The "customDataSources" collection of methods. + * Typical usage is: + * + * $analyticsService = new Google_Service_Analytics(...); + * $customDataSources = $analyticsService->customDataSources; + * + */ +class Google_Service_Analytics_ManagementCustomDataSources_Resource extends Google_Service_Resource +{ + + /** + * List custom data sources to which the user has access. + * (customDataSources.listManagementCustomDataSources) + * + * @param string $accountId Account Id for the custom data sources to retrieve. + * @param string $webPropertyId Web property Id for the custom data sources to + * retrieve. + * @param array $optParams Optional parameters. + * + * @opt_param int max-results The maximum number of custom data sources to + * include in this response. + * @opt_param int start-index A 1-based index of the first custom data source to + * retrieve. Use this parameter as a pagination mechanism along with the max- + * results parameter. + * @return Google_Service_Analytics_CustomDataSources + */ + public function listManagementCustomDataSources($accountId, $webPropertyId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Analytics_CustomDataSources"); + } +} +/** + * The "customDimensions" collection of methods. + * Typical usage is: + * + * $analyticsService = new Google_Service_Analytics(...); + * $customDimensions = $analyticsService->customDimensions; + * + */ +class Google_Service_Analytics_ManagementCustomDimensions_Resource extends Google_Service_Resource +{ + + /** + * Get a custom dimension to which the user has access. (customDimensions.get) + * + * @param string $accountId Account ID for the custom dimension to retrieve. + * @param string $webPropertyId Web property ID for the custom dimension to + * retrieve. + * @param string $customDimensionId The ID of the custom dimension to retrieve. + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_CustomDimension + */ + public function get($accountId, $webPropertyId, $customDimensionId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDimensionId' => $customDimensionId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Analytics_CustomDimension"); + } + + /** + * Create a new custom dimension. (customDimensions.insert) + * + * @param string $accountId Account ID for the custom dimension to create. + * @param string $webPropertyId Web property ID for the custom dimension to + * create. + * @param Google_CustomDimension $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_CustomDimension + */ + public function insert($accountId, $webPropertyId, Google_Service_Analytics_CustomDimension $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Analytics_CustomDimension"); + } + + /** + * Lists custom dimensions to which the user has access. + * (customDimensions.listManagementCustomDimensions) + * + * @param string $accountId Account ID for the custom dimensions to retrieve. + * @param string $webPropertyId Web property ID for the custom dimensions to + * retrieve. + * @param array $optParams Optional parameters. + * + * @opt_param int max-results The maximum number of custom dimensions to include + * in this response. + * @opt_param int start-index An index of the first entity to retrieve. Use this + * parameter as a pagination mechanism along with the max-results parameter. + * @return Google_Service_Analytics_CustomDimensions + */ + public function listManagementCustomDimensions($accountId, $webPropertyId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Analytics_CustomDimensions"); + } + + /** + * Updates an existing custom dimension. This method supports patch semantics. + * (customDimensions.patch) + * + * @param string $accountId Account ID for the custom dimension to update. + * @param string $webPropertyId Web property ID for the custom dimension to + * update. + * @param string $customDimensionId Custom dimension ID for the custom dimension + * to update. + * @param Google_CustomDimension $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool ignoreCustomDataSourceLinks Force the update and ignore any + * warnings related to the custom dimension being linked to a custom data source + * / data set. + * @return Google_Service_Analytics_CustomDimension + */ + public function patch($accountId, $webPropertyId, $customDimensionId, Google_Service_Analytics_CustomDimension $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDimensionId' => $customDimensionId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Analytics_CustomDimension"); + } + + /** + * Updates an existing custom dimension. (customDimensions.update) + * + * @param string $accountId Account ID for the custom dimension to update. + * @param string $webPropertyId Web property ID for the custom dimension to + * update. + * @param string $customDimensionId Custom dimension ID for the custom dimension + * to update. + * @param Google_CustomDimension $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool ignoreCustomDataSourceLinks Force the update and ignore any + * warnings related to the custom dimension being linked to a custom data source + * / data set. + * @return Google_Service_Analytics_CustomDimension + */ + public function update($accountId, $webPropertyId, $customDimensionId, Google_Service_Analytics_CustomDimension $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDimensionId' => $customDimensionId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Analytics_CustomDimension"); + } +} +/** + * The "customMetrics" collection of methods. + * Typical usage is: + * + * $analyticsService = new Google_Service_Analytics(...); + * $customMetrics = $analyticsService->customMetrics; + * + */ +class Google_Service_Analytics_ManagementCustomMetrics_Resource extends Google_Service_Resource +{ + + /** + * Get a custom metric to which the user has access. (customMetrics.get) + * + * @param string $accountId Account ID for the custom metric to retrieve. + * @param string $webPropertyId Web property ID for the custom metric to + * retrieve. + * @param string $customMetricId The ID of the custom metric to retrieve. + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_CustomMetric + */ + public function get($accountId, $webPropertyId, $customMetricId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customMetricId' => $customMetricId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Analytics_CustomMetric"); + } + + /** + * Create a new custom metric. (customMetrics.insert) + * + * @param string $accountId Account ID for the custom metric to create. + * @param string $webPropertyId Web property ID for the custom dimension to + * create. + * @param Google_CustomMetric $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_CustomMetric + */ + public function insert($accountId, $webPropertyId, Google_Service_Analytics_CustomMetric $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Analytics_CustomMetric"); + } + + /** + * Lists custom metrics to which the user has access. + * (customMetrics.listManagementCustomMetrics) + * + * @param string $accountId Account ID for the custom metrics to retrieve. + * @param string $webPropertyId Web property ID for the custom metrics to + * retrieve. + * @param array $optParams Optional parameters. + * + * @opt_param int max-results The maximum number of custom metrics to include in + * this response. + * @opt_param int start-index An index of the first entity to retrieve. Use this + * parameter as a pagination mechanism along with the max-results parameter. + * @return Google_Service_Analytics_CustomMetrics + */ + public function listManagementCustomMetrics($accountId, $webPropertyId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Analytics_CustomMetrics"); + } + + /** + * Updates an existing custom metric. This method supports patch semantics. + * (customMetrics.patch) + * + * @param string $accountId Account ID for the custom metric to update. + * @param string $webPropertyId Web property ID for the custom metric to update. + * @param string $customMetricId Custom metric ID for the custom metric to + * update. + * @param Google_CustomMetric $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool ignoreCustomDataSourceLinks Force the update and ignore any + * warnings related to the custom metric being linked to a custom data source / + * data set. + * @return Google_Service_Analytics_CustomMetric + */ + public function patch($accountId, $webPropertyId, $customMetricId, Google_Service_Analytics_CustomMetric $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customMetricId' => $customMetricId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Analytics_CustomMetric"); + } + + /** + * Updates an existing custom metric. (customMetrics.update) + * + * @param string $accountId Account ID for the custom metric to update. + * @param string $webPropertyId Web property ID for the custom metric to update. + * @param string $customMetricId Custom metric ID for the custom metric to + * update. + * @param Google_CustomMetric $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool ignoreCustomDataSourceLinks Force the update and ignore any + * warnings related to the custom metric being linked to a custom data source / + * data set. + * @return Google_Service_Analytics_CustomMetric + */ + public function update($accountId, $webPropertyId, $customMetricId, Google_Service_Analytics_CustomMetric $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customMetricId' => $customMetricId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Analytics_CustomMetric"); + } +} +/** + * The "experiments" collection of methods. + * Typical usage is: + * + * $analyticsService = new Google_Service_Analytics(...); + * $experiments = $analyticsService->experiments; + * + */ +class Google_Service_Analytics_ManagementExperiments_Resource extends Google_Service_Resource +{ + + /** + * Delete an experiment. (experiments.delete) + * + * @param string $accountId Account ID to which the experiment belongs + * @param string $webPropertyId Web property ID to which the experiment belongs + * @param string $profileId View (Profile) ID to which the experiment belongs + * @param string $experimentId ID of the experiment to delete + * @param array $optParams Optional parameters. + */ + public function delete($accountId, $webPropertyId, $profileId, $experimentId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Returns an experiment to which the user has access. (experiments.get) + * + * @param string $accountId Account ID to retrieve the experiment for. + * @param string $webPropertyId Web property ID to retrieve the experiment for. + * @param string $profileId View (Profile) ID to retrieve the experiment for. + * @param string $experimentId Experiment ID to retrieve the experiment for. + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Experiment + */ + public function get($accountId, $webPropertyId, $profileId, $experimentId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Analytics_Experiment"); + } + + /** + * Create a new experiment. (experiments.insert) + * + * @param string $accountId Account ID to create the experiment for. + * @param string $webPropertyId Web property ID to create the experiment for. + * @param string $profileId View (Profile) ID to create the experiment for. + * @param Google_Experiment $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Experiment + */ + public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Experiment $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Analytics_Experiment"); + } + + /** + * Lists experiments to which the user has access. + * (experiments.listManagementExperiments) + * + * @param string $accountId Account ID to retrieve experiments for. + * @param string $webPropertyId Web property ID to retrieve experiments for. + * @param string $profileId View (Profile) ID to retrieve experiments for. + * @param array $optParams Optional parameters. + * + * @opt_param int max-results The maximum number of experiments to include in + * this response. + * @opt_param int start-index An index of the first experiment to retrieve. Use + * this parameter as a pagination mechanism along with the max-results + * parameter. + * @return Google_Service_Analytics_Experiments + */ + public function listManagementExperiments($accountId, $webPropertyId, $profileId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Analytics_Experiments"); + } + + /** + * Update an existing experiment. This method supports patch semantics. + * (experiments.patch) + * + * @param string $accountId Account ID of the experiment to update. + * @param string $webPropertyId Web property ID of the experiment to update. + * @param string $profileId View (Profile) ID of the experiment to update. + * @param string $experimentId Experiment ID of the experiment to update. + * @param Google_Experiment $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Experiment + */ + public function patch($accountId, $webPropertyId, $profileId, $experimentId, Google_Service_Analytics_Experiment $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Analytics_Experiment"); + } + + /** + * Update an existing experiment. (experiments.update) + * + * @param string $accountId Account ID of the experiment to update. + * @param string $webPropertyId Web property ID of the experiment to update. + * @param string $profileId View (Profile) ID of the experiment to update. + * @param string $experimentId Experiment ID of the experiment to update. + * @param Google_Experiment $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Experiment + */ + public function update($accountId, $webPropertyId, $profileId, $experimentId, Google_Service_Analytics_Experiment $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Analytics_Experiment"); + } +} +/** + * The "filters" collection of methods. + * Typical usage is: + * + * $analyticsService = new Google_Service_Analytics(...); + * $filters = $analyticsService->filters; + * + */ +class Google_Service_Analytics_ManagementFilters_Resource extends Google_Service_Resource +{ + + /** + * Delete a filter. (filters.delete) + * + * @param string $accountId Account ID to delete the filter for. + * @param string $filterId ID of the filter to be deleted. + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Filter + */ + public function delete($accountId, $filterId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'filterId' => $filterId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Analytics_Filter"); + } + + /** + * Returns a filters to which the user has access. (filters.get) + * + * @param string $accountId Account ID to retrieve filters for. + * @param string $filterId Filter ID to retrieve filters for. + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Filter + */ + public function get($accountId, $filterId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'filterId' => $filterId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Analytics_Filter"); + } + + /** + * Create a new filter. (filters.insert) + * + * @param string $accountId Account ID to create filter for. + * @param Google_Filter $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Filter + */ + public function insert($accountId, Google_Service_Analytics_Filter $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Analytics_Filter"); + } + + /** + * Lists all filters for an account (filters.listManagementFilters) + * + * @param string $accountId Account ID to retrieve filters for. + * @param array $optParams Optional parameters. + * + * @opt_param int max-results The maximum number of filters to include in this + * response. + * @opt_param int start-index An index of the first entity to retrieve. Use this + * parameter as a pagination mechanism along with the max-results parameter. + * @return Google_Service_Analytics_Filters + */ + public function listManagementFilters($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Analytics_Filters"); + } + + /** + * Updates an existing filter. This method supports patch semantics. + * (filters.patch) + * + * @param string $accountId Account ID to which the filter belongs. + * @param string $filterId ID of the filter to be updated. + * @param Google_Filter $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Filter + */ + public function patch($accountId, $filterId, Google_Service_Analytics_Filter $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'filterId' => $filterId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Analytics_Filter"); + } + + /** + * Updates an existing filter. (filters.update) + * + * @param string $accountId Account ID to which the filter belongs. + * @param string $filterId ID of the filter to be updated. + * @param Google_Filter $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Filter + */ + public function update($accountId, $filterId, Google_Service_Analytics_Filter $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'filterId' => $filterId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Analytics_Filter"); + } +} +/** + * The "goals" collection of methods. + * Typical usage is: + * + * $analyticsService = new Google_Service_Analytics(...); + * $goals = $analyticsService->goals; + * + */ +class Google_Service_Analytics_ManagementGoals_Resource extends Google_Service_Resource +{ + + /** + * Gets a goal to which the user has access. (goals.get) + * + * @param string $accountId Account ID to retrieve the goal for. + * @param string $webPropertyId Web property ID to retrieve the goal for. + * @param string $profileId View (Profile) ID to retrieve the goal for. + * @param string $goalId Goal ID to retrieve the goal for. + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Goal + */ + public function get($accountId, $webPropertyId, $profileId, $goalId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Analytics_Goal"); + } + + /** + * Create a new goal. (goals.insert) + * + * @param string $accountId Account ID to create the goal for. + * @param string $webPropertyId Web property ID to create the goal for. + * @param string $profileId View (Profile) ID to create the goal for. + * @param Google_Goal $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Goal + */ + public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Goal $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Analytics_Goal"); + } + + /** + * Lists goals to which the user has access. (goals.listManagementGoals) + * + * @param string $accountId Account ID to retrieve goals for. Can either be a + * specific account ID or '~all', which refers to all the accounts that user has + * access to. + * @param string $webPropertyId Web property ID to retrieve goals for. Can + * either be a specific web property ID or '~all', which refers to all the web + * properties that user has access to. + * @param string $profileId View (Profile) ID to retrieve goals for. Can either + * be a specific view (profile) ID or '~all', which refers to all the views + * (profiles) that user has access to. + * @param array $optParams Optional parameters. + * + * @opt_param int max-results The maximum number of goals to include in this + * response. + * @opt_param int start-index An index of the first goal to retrieve. Use this + * parameter as a pagination mechanism along with the max-results parameter. + * @return Google_Service_Analytics_Goals + */ + public function listManagementGoals($accountId, $webPropertyId, $profileId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Analytics_Goals"); + } + + /** + * Updates an existing view (profile). This method supports patch semantics. + * (goals.patch) + * + * @param string $accountId Account ID to update the goal. + * @param string $webPropertyId Web property ID to update the goal. + * @param string $profileId View (Profile) ID to update the goal. + * @param string $goalId Index of the goal to be updated. + * @param Google_Goal $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Goal + */ + public function patch($accountId, $webPropertyId, $profileId, $goalId, Google_Service_Analytics_Goal $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Analytics_Goal"); + } + + /** + * Updates an existing view (profile). (goals.update) + * + * @param string $accountId Account ID to update the goal. + * @param string $webPropertyId Web property ID to update the goal. + * @param string $profileId View (Profile) ID to update the goal. + * @param string $goalId Index of the goal to be updated. + * @param Google_Goal $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Goal + */ + public function update($accountId, $webPropertyId, $profileId, $goalId, Google_Service_Analytics_Goal $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Analytics_Goal"); + } +} +/** + * The "profileFilterLinks" collection of methods. + * Typical usage is: + * + * $analyticsService = new Google_Service_Analytics(...); + * $profileFilterLinks = $analyticsService->profileFilterLinks; + * + */ +class Google_Service_Analytics_ManagementProfileFilterLinks_Resource extends Google_Service_Resource +{ + + /** + * Delete a profile filter link. (profileFilterLinks.delete) + * + * @param string $accountId Account ID to which the profile filter link belongs. + * @param string $webPropertyId Web property Id to which the profile filter link + * belongs. + * @param string $profileId Profile ID to which the filter link belongs. + * @param string $linkId ID of the profile filter link to delete. + * @param array $optParams Optional parameters. + */ + public function delete($accountId, $webPropertyId, $profileId, $linkId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Returns a single profile filter link. (profileFilterLinks.get) + * + * @param string $accountId Account ID to retrieve profile filter link for. + * @param string $webPropertyId Web property Id to retrieve profile filter link + * for. + * @param string $profileId Profile ID to retrieve filter link for. + * @param string $linkId ID of the profile filter link. + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_ProfileFilterLink + */ + public function get($accountId, $webPropertyId, $profileId, $linkId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Analytics_ProfileFilterLink"); + } + + /** + * Create a new profile filter link. (profileFilterLinks.insert) + * + * @param string $accountId Account ID to create profile filter link for. + * @param string $webPropertyId Web property Id to create profile filter link + * for. + * @param string $profileId Profile ID to create filter link for. + * @param Google_ProfileFilterLink $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_ProfileFilterLink + */ + public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_ProfileFilterLink $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Analytics_ProfileFilterLink"); + } + + /** + * Lists all profile filter links for a profile. + * (profileFilterLinks.listManagementProfileFilterLinks) + * + * @param string $accountId Account ID to retrieve profile filter links for. + * @param string $webPropertyId Web property Id for profile filter links for. + * Can either be a specific web property ID or '~all', which refers to all the + * web properties that user has access to. + * @param string $profileId Profile ID to retrieve filter links for. Can either + * be a specific profile ID or '~all', which refers to all the profiles that + * user has access to. + * @param array $optParams Optional parameters. + * + * @opt_param int max-results The maximum number of profile filter links to + * include in this response. + * @opt_param int start-index An index of the first entity to retrieve. Use this + * parameter as a pagination mechanism along with the max-results parameter. + * @return Google_Service_Analytics_ProfileFilterLinks + */ + public function listManagementProfileFilterLinks($accountId, $webPropertyId, $profileId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Analytics_ProfileFilterLinks"); + } + + /** + * Update an existing profile filter link. This method supports patch semantics. + * (profileFilterLinks.patch) + * + * @param string $accountId Account ID to which profile filter link belongs. + * @param string $webPropertyId Web property Id to which profile filter link + * belongs + * @param string $profileId Profile ID to which filter link belongs + * @param string $linkId ID of the profile filter link to be updated. + * @param Google_ProfileFilterLink $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_ProfileFilterLink + */ + public function patch($accountId, $webPropertyId, $profileId, $linkId, Google_Service_Analytics_ProfileFilterLink $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Analytics_ProfileFilterLink"); + } + + /** + * Update an existing profile filter link. (profileFilterLinks.update) + * + * @param string $accountId Account ID to which profile filter link belongs. + * @param string $webPropertyId Web property Id to which profile filter link + * belongs + * @param string $profileId Profile ID to which filter link belongs + * @param string $linkId ID of the profile filter link to be updated. + * @param Google_ProfileFilterLink $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_ProfileFilterLink + */ + public function update($accountId, $webPropertyId, $profileId, $linkId, Google_Service_Analytics_ProfileFilterLink $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Analytics_ProfileFilterLink"); + } +} +/** + * The "profileUserLinks" collection of methods. + * Typical usage is: + * + * $analyticsService = new Google_Service_Analytics(...); + * $profileUserLinks = $analyticsService->profileUserLinks; + * + */ +class Google_Service_Analytics_ManagementProfileUserLinks_Resource extends Google_Service_Resource +{ + + /** + * Removes a user from the given view (profile). (profileUserLinks.delete) + * + * @param string $accountId Account ID to delete the user link for. + * @param string $webPropertyId Web Property ID to delete the user link for. + * @param string $profileId View (Profile) ID to delete the user link for. + * @param string $linkId Link ID to delete the user link for. + * @param array $optParams Optional parameters. + */ + public function delete($accountId, $webPropertyId, $profileId, $linkId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Adds a new user to the given view (profile). (profileUserLinks.insert) + * + * @param string $accountId Account ID to create the user link for. + * @param string $webPropertyId Web Property ID to create the user link for. + * @param string $profileId View (Profile) ID to create the user link for. + * @param Google_EntityUserLink $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_EntityUserLink + */ + public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Analytics_EntityUserLink"); + } + + /** + * Lists profile-user links for a given view (profile). + * (profileUserLinks.listManagementProfileUserLinks) + * + * @param string $accountId Account ID which the given view (profile) belongs + * to. + * @param string $webPropertyId Web Property ID which the given view (profile) + * belongs to. Can either be a specific web property ID or '~all', which refers + * to all the web properties that user has access to. + * @param string $profileId View (Profile) ID to retrieve the profile-user links + * for. Can either be a specific profile ID or '~all', which refers to all the + * profiles that user has access to. + * @param array $optParams Optional parameters. + * + * @opt_param int max-results The maximum number of profile-user links to + * include in this response. + * @opt_param int start-index An index of the first profile-user link to + * retrieve. Use this parameter as a pagination mechanism along with the max- + * results parameter. + * @return Google_Service_Analytics_EntityUserLinks + */ + public function listManagementProfileUserLinks($accountId, $webPropertyId, $profileId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Analytics_EntityUserLinks"); + } + + /** + * Updates permissions for an existing user on the given view (profile). + * (profileUserLinks.update) + * + * @param string $accountId Account ID to update the user link for. + * @param string $webPropertyId Web Property ID to update the user link for. + * @param string $profileId View (Profile ID) to update the user link for. + * @param string $linkId Link ID to update the user link for. + * @param Google_EntityUserLink $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_EntityUserLink + */ + public function update($accountId, $webPropertyId, $profileId, $linkId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Analytics_EntityUserLink"); + } +} +/** + * The "profiles" collection of methods. + * Typical usage is: + * + * $analyticsService = new Google_Service_Analytics(...); + * $profiles = $analyticsService->profiles; + * + */ +class Google_Service_Analytics_ManagementProfiles_Resource extends Google_Service_Resource +{ + + /** + * Deletes a view (profile). (profiles.delete) + * + * @param string $accountId Account ID to delete the view (profile) for. + * @param string $webPropertyId Web property ID to delete the view (profile) + * for. + * @param string $profileId ID of the view (profile) to be deleted. + * @param array $optParams Optional parameters. + */ + public function delete($accountId, $webPropertyId, $profileId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Gets a view (profile) to which the user has access. (profiles.get) + * + * @param string $accountId Account ID to retrieve the goal for. + * @param string $webPropertyId Web property ID to retrieve the goal for. + * @param string $profileId View (Profile) ID to retrieve the goal for. + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Profile + */ + public function get($accountId, $webPropertyId, $profileId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Analytics_Profile"); + } + + /** + * Create a new view (profile). (profiles.insert) + * + * @param string $accountId Account ID to create the view (profile) for. + * @param string $webPropertyId Web property ID to create the view (profile) + * for. + * @param Google_Profile $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Profile + */ + public function insert($accountId, $webPropertyId, Google_Service_Analytics_Profile $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Analytics_Profile"); + } + + /** + * Lists views (profiles) to which the user has access. + * (profiles.listManagementProfiles) + * + * @param string $accountId Account ID for the view (profiles) to retrieve. Can + * either be a specific account ID or '~all', which refers to all the accounts + * to which the user has access. + * @param string $webPropertyId Web property ID for the views (profiles) to + * retrieve. Can either be a specific web property ID or '~all', which refers to + * all the web properties to which the user has access. + * @param array $optParams Optional parameters. + * + * @opt_param int max-results The maximum number of views (profiles) to include + * in this response. + * @opt_param int start-index An index of the first entity to retrieve. Use this + * parameter as a pagination mechanism along with the max-results parameter. + * @return Google_Service_Analytics_Profiles + */ + public function listManagementProfiles($accountId, $webPropertyId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Analytics_Profiles"); + } + + /** + * Updates an existing view (profile). This method supports patch semantics. + * (profiles.patch) + * + * @param string $accountId Account ID to which the view (profile) belongs + * @param string $webPropertyId Web property ID to which the view (profile) + * belongs + * @param string $profileId ID of the view (profile) to be updated. + * @param Google_Profile $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Profile + */ + public function patch($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Profile $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Analytics_Profile"); + } + + /** + * Updates an existing view (profile). (profiles.update) + * + * @param string $accountId Account ID to which the view (profile) belongs + * @param string $webPropertyId Web property ID to which the view (profile) + * belongs + * @param string $profileId ID of the view (profile) to be updated. + * @param Google_Profile $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Profile + */ + public function update($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Profile $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Analytics_Profile"); + } +} +/** + * The "segments" collection of methods. + * Typical usage is: + * + * $analyticsService = new Google_Service_Analytics(...); + * $segments = $analyticsService->segments; + * + */ +class Google_Service_Analytics_ManagementSegments_Resource extends Google_Service_Resource +{ + + /** + * Lists segments to which the user has access. + * (segments.listManagementSegments) + * + * @param array $optParams Optional parameters. + * + * @opt_param int max-results The maximum number of segments to include in this + * response. + * @opt_param int start-index An index of the first segment to retrieve. Use + * this parameter as a pagination mechanism along with the max-results + * parameter. + * @return Google_Service_Analytics_Segments + */ + public function listManagementSegments($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Analytics_Segments"); + } +} +/** + * The "unsampledReports" collection of methods. + * Typical usage is: + * + * $analyticsService = new Google_Service_Analytics(...); + * $unsampledReports = $analyticsService->unsampledReports; + * + */ +class Google_Service_Analytics_ManagementUnsampledReports_Resource extends Google_Service_Resource +{ + + /** + * Returns a single unsampled report. (unsampledReports.get) + * + * @param string $accountId Account ID to retrieve unsampled report for. + * @param string $webPropertyId Web property ID to retrieve unsampled reports + * for. + * @param string $profileId View (Profile) ID to retrieve unsampled report for. + * @param string $unsampledReportId ID of the unsampled report to retrieve. + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_UnsampledReport + */ + public function get($accountId, $webPropertyId, $profileId, $unsampledReportId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'unsampledReportId' => $unsampledReportId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Analytics_UnsampledReport"); + } + + /** + * Create a new unsampled report. (unsampledReports.insert) + * + * @param string $accountId Account ID to create the unsampled report for. + * @param string $webPropertyId Web property ID to create the unsampled report + * for. + * @param string $profileId View (Profile) ID to create the unsampled report + * for. + * @param Google_UnsampledReport $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_UnsampledReport + */ + public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_UnsampledReport $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Analytics_UnsampledReport"); + } + + /** + * Lists unsampled reports to which the user has access. + * (unsampledReports.listManagementUnsampledReports) + * + * @param string $accountId Account ID to retrieve unsampled reports for. Must + * be a specific account ID, ~all is not supported. + * @param string $webPropertyId Web property ID to retrieve unsampled reports + * for. Must be a specific web property ID, ~all is not supported. + * @param string $profileId View (Profile) ID to retrieve unsampled reports for. + * Must be a specific view (profile) ID, ~all is not supported. + * @param array $optParams Optional parameters. + * + * @opt_param int max-results The maximum number of unsampled reports to include + * in this response. + * @opt_param int start-index An index of the first unsampled report to + * retrieve. Use this parameter as a pagination mechanism along with the max- + * results parameter. + * @return Google_Service_Analytics_UnsampledReports + */ + public function listManagementUnsampledReports($accountId, $webPropertyId, $profileId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Analytics_UnsampledReports"); + } +} +/** + * The "uploads" collection of methods. + * Typical usage is: + * + * $analyticsService = new Google_Service_Analytics(...); + * $uploads = $analyticsService->uploads; + * + */ +class Google_Service_Analytics_ManagementUploads_Resource extends Google_Service_Resource +{ + + /** + * Delete data associated with a previous upload. (uploads.deleteUploadData) + * + * @param string $accountId Account Id for the uploads to be deleted. + * @param string $webPropertyId Web property Id for the uploads to be deleted. + * @param string $customDataSourceId Custom data source Id for the uploads to be + * deleted. + * @param Google_AnalyticsDataimportDeleteUploadDataRequest $postBody + * @param array $optParams Optional parameters. + */ + public function deleteUploadData($accountId, $webPropertyId, $customDataSourceId, Google_Service_Analytics_AnalyticsDataimportDeleteUploadDataRequest $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('deleteUploadData', array($params)); + } + + /** + * List uploads to which the user has access. (uploads.get) + * + * @param string $accountId Account Id for the upload to retrieve. + * @param string $webPropertyId Web property Id for the upload to retrieve. + * @param string $customDataSourceId Custom data source Id for upload to + * retrieve. + * @param string $uploadId Upload Id to retrieve. + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Upload + */ + public function get($accountId, $webPropertyId, $customDataSourceId, $uploadId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'uploadId' => $uploadId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Analytics_Upload"); + } + + /** + * List uploads to which the user has access. (uploads.listManagementUploads) + * + * @param string $accountId Account Id for the uploads to retrieve. + * @param string $webPropertyId Web property Id for the uploads to retrieve. + * @param string $customDataSourceId Custom data source Id for uploads to + * retrieve. + * @param array $optParams Optional parameters. + * + * @opt_param int max-results The maximum number of uploads to include in this + * response. + * @opt_param int start-index A 1-based index of the first upload to retrieve. + * Use this parameter as a pagination mechanism along with the max-results + * parameter. + * @return Google_Service_Analytics_Uploads + */ + public function listManagementUploads($accountId, $webPropertyId, $customDataSourceId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Analytics_Uploads"); + } + + /** + * Upload data for a custom data source. (uploads.uploadData) + * + * @param string $accountId Account Id associated with the upload. + * @param string $webPropertyId Web property UA-string associated with the + * upload. + * @param string $customDataSourceId Custom data source Id to which the data + * being uploaded belongs. + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Upload + */ + public function uploadData($accountId, $webPropertyId, $customDataSourceId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId); + $params = array_merge($params, $optParams); + return $this->call('uploadData', array($params), "Google_Service_Analytics_Upload"); + } +} +/** + * The "webPropertyAdWordsLinks" collection of methods. + * Typical usage is: + * + * $analyticsService = new Google_Service_Analytics(...); + * $webPropertyAdWordsLinks = $analyticsService->webPropertyAdWordsLinks; + * + */ +class Google_Service_Analytics_ManagementWebPropertyAdWordsLinks_Resource extends Google_Service_Resource +{ + + /** + * Deletes a web property-AdWords link. (webPropertyAdWordsLinks.delete) + * + * @param string $accountId ID of the account which the given web property + * belongs to. + * @param string $webPropertyId Web property ID to delete the AdWords link for. + * @param string $webPropertyAdWordsLinkId Web property AdWords link ID. + * @param array $optParams Optional parameters. + */ + public function delete($accountId, $webPropertyId, $webPropertyAdWordsLinkId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Returns a web property-AdWords link to which the user has access. + * (webPropertyAdWordsLinks.get) + * + * @param string $accountId ID of the account which the given web property + * belongs to. + * @param string $webPropertyId Web property ID to retrieve the AdWords link + * for. + * @param string $webPropertyAdWordsLinkId Web property-AdWords link ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_EntityAdWordsLink + */ + public function get($accountId, $webPropertyId, $webPropertyAdWordsLinkId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Analytics_EntityAdWordsLink"); + } + + /** + * Creates a webProperty-AdWords link. (webPropertyAdWordsLinks.insert) + * + * @param string $accountId ID of the Google Analytics account to create the + * link for. + * @param string $webPropertyId Web property ID to create the link for. + * @param Google_EntityAdWordsLink $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_EntityAdWordsLink + */ + public function insert($accountId, $webPropertyId, Google_Service_Analytics_EntityAdWordsLink $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Analytics_EntityAdWordsLink"); + } + + /** + * Lists webProperty-AdWords links for a given web property. + * (webPropertyAdWordsLinks.listManagementWebPropertyAdWordsLinks) + * + * @param string $accountId ID of the account which the given web property + * belongs to. + * @param string $webPropertyId Web property ID to retrieve the AdWords links + * for. + * @param array $optParams Optional parameters. + * + * @opt_param int max-results The maximum number of webProperty-AdWords links to + * include in this response. + * @opt_param int start-index An index of the first webProperty-AdWords link to + * retrieve. Use this parameter as a pagination mechanism along with the max- + * results parameter. + * @return Google_Service_Analytics_EntityAdWordsLinks + */ + public function listManagementWebPropertyAdWordsLinks($accountId, $webPropertyId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Analytics_EntityAdWordsLinks"); + } + + /** + * Updates an existing webProperty-AdWords link. This method supports patch + * semantics. (webPropertyAdWordsLinks.patch) + * + * @param string $accountId ID of the account which the given web property + * belongs to. + * @param string $webPropertyId Web property ID to retrieve the AdWords link + * for. + * @param string $webPropertyAdWordsLinkId Web property-AdWords link ID. + * @param Google_EntityAdWordsLink $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_EntityAdWordsLink + */ + public function patch($accountId, $webPropertyId, $webPropertyAdWordsLinkId, Google_Service_Analytics_EntityAdWordsLink $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Analytics_EntityAdWordsLink"); + } + + /** + * Updates an existing webProperty-AdWords link. + * (webPropertyAdWordsLinks.update) + * + * @param string $accountId ID of the account which the given web property + * belongs to. + * @param string $webPropertyId Web property ID to retrieve the AdWords link + * for. + * @param string $webPropertyAdWordsLinkId Web property-AdWords link ID. + * @param Google_EntityAdWordsLink $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_EntityAdWordsLink + */ + public function update($accountId, $webPropertyId, $webPropertyAdWordsLinkId, Google_Service_Analytics_EntityAdWordsLink $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Analytics_EntityAdWordsLink"); + } +} +/** + * The "webproperties" collection of methods. + * Typical usage is: + * + * $analyticsService = new Google_Service_Analytics(...); + * $webproperties = $analyticsService->webproperties; + * + */ +class Google_Service_Analytics_ManagementWebproperties_Resource extends Google_Service_Resource +{ + + /** + * Gets a web property to which the user has access. (webproperties.get) + * + * @param string $accountId Account ID to retrieve the web property for. + * @param string $webPropertyId ID to retrieve the web property for. + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Webproperty + */ + public function get($accountId, $webPropertyId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Analytics_Webproperty"); + } + + /** + * Create a new property if the account has fewer than 20 properties. Web + * properties are visible in the Google Analytics interface only if they have at + * least one profile. (webproperties.insert) + * + * @param string $accountId Account ID to create the web property for. + * @param Google_Webproperty $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Webproperty + */ + public function insert($accountId, Google_Service_Analytics_Webproperty $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Analytics_Webproperty"); + } + + /** + * Lists web properties to which the user has access. + * (webproperties.listManagementWebproperties) + * + * @param string $accountId Account ID to retrieve web properties for. Can + * either be a specific account ID or '~all', which refers to all the accounts + * that user has access to. + * @param array $optParams Optional parameters. + * + * @opt_param int max-results The maximum number of web properties to include in + * this response. + * @opt_param int start-index An index of the first entity to retrieve. Use this + * parameter as a pagination mechanism along with the max-results parameter. + * @return Google_Service_Analytics_Webproperties + */ + public function listManagementWebproperties($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Analytics_Webproperties"); + } + + /** + * Updates an existing web property. This method supports patch semantics. + * (webproperties.patch) + * + * @param string $accountId Account ID to which the web property belongs + * @param string $webPropertyId Web property ID + * @param Google_Webproperty $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Webproperty + */ + public function patch($accountId, $webPropertyId, Google_Service_Analytics_Webproperty $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Analytics_Webproperty"); + } + + /** + * Updates an existing web property. (webproperties.update) + * + * @param string $accountId Account ID to which the web property belongs + * @param string $webPropertyId Web property ID + * @param Google_Webproperty $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Webproperty + */ + public function update($accountId, $webPropertyId, Google_Service_Analytics_Webproperty $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Analytics_Webproperty"); + } +} +/** + * The "webpropertyUserLinks" collection of methods. + * Typical usage is: + * + * $analyticsService = new Google_Service_Analytics(...); + * $webpropertyUserLinks = $analyticsService->webpropertyUserLinks; + * + */ +class Google_Service_Analytics_ManagementWebpropertyUserLinks_Resource extends Google_Service_Resource +{ + + /** + * Removes a user from the given web property. (webpropertyUserLinks.delete) + * + * @param string $accountId Account ID to delete the user link for. + * @param string $webPropertyId Web Property ID to delete the user link for. + * @param string $linkId Link ID to delete the user link for. + * @param array $optParams Optional parameters. + */ + public function delete($accountId, $webPropertyId, $linkId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'linkId' => $linkId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Adds a new user to the given web property. (webpropertyUserLinks.insert) + * + * @param string $accountId Account ID to create the user link for. + * @param string $webPropertyId Web Property ID to create the user link for. + * @param Google_EntityUserLink $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_EntityUserLink + */ + public function insert($accountId, $webPropertyId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Analytics_EntityUserLink"); + } + + /** + * Lists webProperty-user links for a given web property. + * (webpropertyUserLinks.listManagementWebpropertyUserLinks) + * + * @param string $accountId Account ID which the given web property belongs to. + * @param string $webPropertyId Web Property ID for the webProperty-user links + * to retrieve. Can either be a specific web property ID or '~all', which refers + * to all the web properties that user has access to. + * @param array $optParams Optional parameters. + * + * @opt_param int max-results The maximum number of webProperty-user Links to + * include in this response. + * @opt_param int start-index An index of the first webProperty-user link to + * retrieve. Use this parameter as a pagination mechanism along with the max- + * results parameter. + * @return Google_Service_Analytics_EntityUserLinks + */ + public function listManagementWebpropertyUserLinks($accountId, $webPropertyId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Analytics_EntityUserLinks"); + } + + /** + * Updates permissions for an existing user on the given web property. + * (webpropertyUserLinks.update) + * + * @param string $accountId Account ID to update the account-user link for. + * @param string $webPropertyId Web property ID to update the account-user link + * for. + * @param string $linkId Link ID to update the account-user link for. + * @param Google_EntityUserLink $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_EntityUserLink + */ + public function update($accountId, $webPropertyId, $linkId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'linkId' => $linkId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Analytics_EntityUserLink"); + } +} + +/** + * The "metadata" collection of methods. + * Typical usage is: + * + * $analyticsService = new Google_Service_Analytics(...); + * $metadata = $analyticsService->metadata; + * + */ +class Google_Service_Analytics_Metadata_Resource extends Google_Service_Resource +{ +} + +/** + * The "columns" collection of methods. + * Typical usage is: + * + * $analyticsService = new Google_Service_Analytics(...); + * $columns = $analyticsService->columns; + * + */ +class Google_Service_Analytics_MetadataColumns_Resource extends Google_Service_Resource +{ + + /** + * Lists all columns for a report type (columns.listMetadataColumns) + * + * @param string $reportType Report type. Allowed Values: 'ga'. Where 'ga' + * corresponds to the Core Reporting API + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_Columns + */ + public function listMetadataColumns($reportType, $optParams = array()) + { + $params = array('reportType' => $reportType); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Analytics_Columns"); + } +} + +/** + * The "provisioning" collection of methods. + * Typical usage is: + * + * $analyticsService = new Google_Service_Analytics(...); + * $provisioning = $analyticsService->provisioning; + * + */ +class Google_Service_Analytics_Provisioning_Resource extends Google_Service_Resource +{ + + /** + * Creates an account ticket. (provisioning.createAccountTicket) + * + * @param Google_AccountTicket $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Analytics_AccountTicket + */ + public function createAccountTicket(Google_Service_Analytics_AccountTicket $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('createAccountTicket', array($params), "Google_Service_Analytics_AccountTicket"); + } +} + + + + +class Google_Service_Analytics_Account extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $childLinkType = 'Google_Service_Analytics_AccountChildLink'; + protected $childLinkDataType = ''; + public $created; + public $id; + public $kind; + public $name; + protected $permissionsType = 'Google_Service_Analytics_AccountPermissions'; + protected $permissionsDataType = ''; + public $selfLink; + public $updated; + + + public function setChildLink(Google_Service_Analytics_AccountChildLink $childLink) + { + $this->childLink = $childLink; + } + public function getChildLink() + { + return $this->childLink; + } + public function setCreated($created) + { + $this->created = $created; + } + public function getCreated() + { + return $this->created; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPermissions(Google_Service_Analytics_AccountPermissions $permissions) + { + $this->permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } +} + +class Google_Service_Analytics_AccountChildLink extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $href; + public $type; + + + public function setHref($href) + { + $this->href = $href; + } + public function getHref() + { + return $this->href; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Analytics_AccountPermissions extends Google_Collection +{ + protected $collection_key = 'effective'; + protected $internal_gapi_mappings = array( + ); + public $effective; + + + public function setEffective($effective) + { + $this->effective = $effective; + } + public function getEffective() + { + return $this->effective; + } +} + +class Google_Service_Analytics_AccountRef extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $href; + public $id; + public $kind; + public $name; + + + public function setHref($href) + { + $this->href = $href; + } + public function getHref() + { + return $this->href; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_Analytics_AccountSummaries extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Analytics_AccountSummary'; + protected $itemsDataType = 'array'; + public $itemsPerPage; + public $kind; + public $nextLink; + public $previousLink; + public $startIndex; + public $totalResults; + public $username; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setItemsPerPage($itemsPerPage) + { + $this->itemsPerPage = $itemsPerPage; + } + public function getItemsPerPage() + { + return $this->itemsPerPage; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setPreviousLink($previousLink) + { + $this->previousLink = $previousLink; + } + public function getPreviousLink() + { + return $this->previousLink; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } + public function setUsername($username) + { + $this->username = $username; + } + public function getUsername() + { + return $this->username; + } +} + +class Google_Service_Analytics_AccountSummary extends Google_Collection +{ + protected $collection_key = 'webProperties'; + protected $internal_gapi_mappings = array( + ); + public $id; + public $kind; + public $name; + protected $webPropertiesType = 'Google_Service_Analytics_WebPropertySummary'; + protected $webPropertiesDataType = 'array'; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setWebProperties($webProperties) + { + $this->webProperties = $webProperties; + } + public function getWebProperties() + { + return $this->webProperties; + } +} + +class Google_Service_Analytics_AccountTicket extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $accountType = 'Google_Service_Analytics_Account'; + protected $accountDataType = ''; + public $id; + public $kind; + protected $profileType = 'Google_Service_Analytics_Profile'; + protected $profileDataType = ''; + public $redirectUri; + protected $webpropertyType = 'Google_Service_Analytics_Webproperty'; + protected $webpropertyDataType = ''; + + + public function setAccount(Google_Service_Analytics_Account $account) + { + $this->account = $account; + } + public function getAccount() + { + return $this->account; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setProfile(Google_Service_Analytics_Profile $profile) + { + $this->profile = $profile; + } + public function getProfile() + { + return $this->profile; + } + public function setRedirectUri($redirectUri) + { + $this->redirectUri = $redirectUri; + } + public function getRedirectUri() + { + return $this->redirectUri; + } + public function setWebproperty(Google_Service_Analytics_Webproperty $webproperty) + { + $this->webproperty = $webproperty; + } + public function getWebproperty() + { + return $this->webproperty; + } +} + +class Google_Service_Analytics_Accounts extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Analytics_Account'; + protected $itemsDataType = 'array'; + public $itemsPerPage; + public $kind; + public $nextLink; + public $previousLink; + public $startIndex; + public $totalResults; + public $username; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setItemsPerPage($itemsPerPage) + { + $this->itemsPerPage = $itemsPerPage; + } + public function getItemsPerPage() + { + return $this->itemsPerPage; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setPreviousLink($previousLink) + { + $this->previousLink = $previousLink; + } + public function getPreviousLink() + { + return $this->previousLink; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } + public function setUsername($username) + { + $this->username = $username; + } + public function getUsername() + { + return $this->username; + } +} + +class Google_Service_Analytics_AdWordsAccount extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $autoTaggingEnabled; + public $customerId; + public $kind; + + + public function setAutoTaggingEnabled($autoTaggingEnabled) + { + $this->autoTaggingEnabled = $autoTaggingEnabled; + } + public function getAutoTaggingEnabled() + { + return $this->autoTaggingEnabled; + } + public function setCustomerId($customerId) + { + $this->customerId = $customerId; + } + public function getCustomerId() + { + return $this->customerId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Analytics_AnalyticsDataimportDeleteUploadDataRequest extends Google_Collection +{ + protected $collection_key = 'customDataImportUids'; + protected $internal_gapi_mappings = array( + ); + public $customDataImportUids; + + + public function setCustomDataImportUids($customDataImportUids) + { + $this->customDataImportUids = $customDataImportUids; + } + public function getCustomDataImportUids() + { + return $this->customDataImportUids; + } +} + +class Google_Service_Analytics_Column extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $attributes; + public $id; + public $kind; + + + public function setAttributes($attributes) + { + $this->attributes = $attributes; + } + public function getAttributes() + { + return $this->attributes; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Analytics_ColumnAttributes extends Google_Model +{ +} + +class Google_Service_Analytics_Columns extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $attributeNames; + public $etag; + protected $itemsType = 'Google_Service_Analytics_Column'; + protected $itemsDataType = 'array'; + public $kind; + public $totalResults; + + + public function setAttributeNames($attributeNames) + { + $this->attributeNames = $attributeNames; + } + public function getAttributeNames() + { + return $this->attributeNames; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } +} + +class Google_Service_Analytics_CustomDataSource extends Google_Collection +{ + protected $collection_key = 'profilesLinked'; + protected $internal_gapi_mappings = array( + ); + public $accountId; + protected $childLinkType = 'Google_Service_Analytics_CustomDataSourceChildLink'; + protected $childLinkDataType = ''; + public $created; + public $description; + public $id; + public $importBehavior; + public $kind; + public $name; + protected $parentLinkType = 'Google_Service_Analytics_CustomDataSourceParentLink'; + protected $parentLinkDataType = ''; + public $profilesLinked; + public $selfLink; + public $type; + public $updated; + public $uploadType; + public $webPropertyId; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setChildLink(Google_Service_Analytics_CustomDataSourceChildLink $childLink) + { + $this->childLink = $childLink; + } + public function getChildLink() + { + return $this->childLink; + } + public function setCreated($created) + { + $this->created = $created; + } + public function getCreated() + { + return $this->created; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImportBehavior($importBehavior) + { + $this->importBehavior = $importBehavior; + } + public function getImportBehavior() + { + return $this->importBehavior; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setParentLink(Google_Service_Analytics_CustomDataSourceParentLink $parentLink) + { + $this->parentLink = $parentLink; + } + public function getParentLink() + { + return $this->parentLink; + } + public function setProfilesLinked($profilesLinked) + { + $this->profilesLinked = $profilesLinked; + } + public function getProfilesLinked() + { + return $this->profilesLinked; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setUploadType($uploadType) + { + $this->uploadType = $uploadType; + } + public function getUploadType() + { + return $this->uploadType; + } + public function setWebPropertyId($webPropertyId) + { + $this->webPropertyId = $webPropertyId; + } + public function getWebPropertyId() + { + return $this->webPropertyId; + } +} + +class Google_Service_Analytics_CustomDataSourceChildLink extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $href; + public $type; + + + public function setHref($href) + { + $this->href = $href; + } + public function getHref() + { + return $this->href; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Analytics_CustomDataSourceParentLink extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $href; + public $type; + + + public function setHref($href) + { + $this->href = $href; + } + public function getHref() + { + return $this->href; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Analytics_CustomDataSources extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Analytics_CustomDataSource'; + protected $itemsDataType = 'array'; + public $itemsPerPage; + public $kind; + public $nextLink; + public $previousLink; + public $startIndex; + public $totalResults; + public $username; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setItemsPerPage($itemsPerPage) + { + $this->itemsPerPage = $itemsPerPage; + } + public function getItemsPerPage() + { + return $this->itemsPerPage; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setPreviousLink($previousLink) + { + $this->previousLink = $previousLink; + } + public function getPreviousLink() + { + return $this->previousLink; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } + public function setUsername($username) + { + $this->username = $username; + } + public function getUsername() + { + return $this->username; + } +} + +class Google_Service_Analytics_CustomDimension extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $active; + public $created; + public $id; + public $index; + public $kind; + public $name; + protected $parentLinkType = 'Google_Service_Analytics_CustomDimensionParentLink'; + protected $parentLinkDataType = ''; + public $scope; + public $selfLink; + public $updated; + public $webPropertyId; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setActive($active) + { + $this->active = $active; + } + public function getActive() + { + return $this->active; + } + public function setCreated($created) + { + $this->created = $created; + } + public function getCreated() + { + return $this->created; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIndex($index) + { + $this->index = $index; + } + public function getIndex() + { + return $this->index; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setParentLink(Google_Service_Analytics_CustomDimensionParentLink $parentLink) + { + $this->parentLink = $parentLink; + } + public function getParentLink() + { + return $this->parentLink; + } + public function setScope($scope) + { + $this->scope = $scope; + } + public function getScope() + { + return $this->scope; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setWebPropertyId($webPropertyId) + { + $this->webPropertyId = $webPropertyId; + } + public function getWebPropertyId() + { + return $this->webPropertyId; + } +} + +class Google_Service_Analytics_CustomDimensionParentLink extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $href; + public $type; + + + public function setHref($href) + { + $this->href = $href; + } + public function getHref() + { + return $this->href; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Analytics_CustomDimensions extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Analytics_CustomDimension'; + protected $itemsDataType = 'array'; + public $itemsPerPage; + public $kind; + public $nextLink; + public $previousLink; + public $startIndex; + public $totalResults; + public $username; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setItemsPerPage($itemsPerPage) + { + $this->itemsPerPage = $itemsPerPage; + } + public function getItemsPerPage() + { + return $this->itemsPerPage; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setPreviousLink($previousLink) + { + $this->previousLink = $previousLink; + } + public function getPreviousLink() + { + return $this->previousLink; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } + public function setUsername($username) + { + $this->username = $username; + } + public function getUsername() + { + return $this->username; + } +} + +class Google_Service_Analytics_CustomMetric extends Google_Model +{ + protected $internal_gapi_mappings = array( + "maxValue" => "max_value", + "minValue" => "min_value", + ); + public $accountId; + public $active; + public $created; + public $id; + public $index; + public $kind; + public $maxValue; + public $minValue; + public $name; + protected $parentLinkType = 'Google_Service_Analytics_CustomMetricParentLink'; + protected $parentLinkDataType = ''; + public $scope; + public $selfLink; + public $type; + public $updated; + public $webPropertyId; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setActive($active) + { + $this->active = $active; + } + public function getActive() + { + return $this->active; + } + public function setCreated($created) + { + $this->created = $created; + } + public function getCreated() + { + return $this->created; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIndex($index) + { + $this->index = $index; + } + public function getIndex() + { + return $this->index; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMaxValue($maxValue) + { + $this->maxValue = $maxValue; + } + public function getMaxValue() + { + return $this->maxValue; + } + public function setMinValue($minValue) + { + $this->minValue = $minValue; + } + public function getMinValue() + { + return $this->minValue; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setParentLink(Google_Service_Analytics_CustomMetricParentLink $parentLink) + { + $this->parentLink = $parentLink; + } + public function getParentLink() + { + return $this->parentLink; + } + public function setScope($scope) + { + $this->scope = $scope; + } + public function getScope() + { + return $this->scope; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setWebPropertyId($webPropertyId) + { + $this->webPropertyId = $webPropertyId; + } + public function getWebPropertyId() + { + return $this->webPropertyId; + } +} + +class Google_Service_Analytics_CustomMetricParentLink extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $href; + public $type; + + + public function setHref($href) + { + $this->href = $href; + } + public function getHref() + { + return $this->href; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Analytics_CustomMetrics extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Analytics_CustomMetric'; + protected $itemsDataType = 'array'; + public $itemsPerPage; + public $kind; + public $nextLink; + public $previousLink; + public $startIndex; + public $totalResults; + public $username; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setItemsPerPage($itemsPerPage) + { + $this->itemsPerPage = $itemsPerPage; + } + public function getItemsPerPage() + { + return $this->itemsPerPage; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setPreviousLink($previousLink) + { + $this->previousLink = $previousLink; + } + public function getPreviousLink() + { + return $this->previousLink; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } + public function setUsername($username) + { + $this->username = $username; + } + public function getUsername() + { + return $this->username; + } +} + +class Google_Service_Analytics_EntityAdWordsLink extends Google_Collection +{ + protected $collection_key = 'profileIds'; + protected $internal_gapi_mappings = array( + ); + protected $adWordsAccountsType = 'Google_Service_Analytics_AdWordsAccount'; + protected $adWordsAccountsDataType = 'array'; + protected $entityType = 'Google_Service_Analytics_EntityAdWordsLinkEntity'; + protected $entityDataType = ''; + public $id; + public $kind; + public $name; + public $profileIds; + public $selfLink; + + + public function setAdWordsAccounts($adWordsAccounts) + { + $this->adWordsAccounts = $adWordsAccounts; + } + public function getAdWordsAccounts() + { + return $this->adWordsAccounts; + } + public function setEntity(Google_Service_Analytics_EntityAdWordsLinkEntity $entity) + { + $this->entity = $entity; + } + public function getEntity() + { + return $this->entity; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setProfileIds($profileIds) + { + $this->profileIds = $profileIds; + } + public function getProfileIds() + { + return $this->profileIds; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Analytics_EntityAdWordsLinkEntity extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $webPropertyRefType = 'Google_Service_Analytics_WebPropertyRef'; + protected $webPropertyRefDataType = ''; + + + public function setWebPropertyRef(Google_Service_Analytics_WebPropertyRef $webPropertyRef) + { + $this->webPropertyRef = $webPropertyRef; + } + public function getWebPropertyRef() + { + return $this->webPropertyRef; + } +} + +class Google_Service_Analytics_EntityAdWordsLinks extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Analytics_EntityAdWordsLink'; + protected $itemsDataType = 'array'; + public $itemsPerPage; + public $kind; + public $nextLink; + public $previousLink; + public $startIndex; + public $totalResults; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setItemsPerPage($itemsPerPage) + { + $this->itemsPerPage = $itemsPerPage; + } + public function getItemsPerPage() + { + return $this->itemsPerPage; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setPreviousLink($previousLink) + { + $this->previousLink = $previousLink; + } + public function getPreviousLink() + { + return $this->previousLink; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } +} + +class Google_Service_Analytics_EntityUserLink extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $entityType = 'Google_Service_Analytics_EntityUserLinkEntity'; + protected $entityDataType = ''; + public $id; + public $kind; + protected $permissionsType = 'Google_Service_Analytics_EntityUserLinkPermissions'; + protected $permissionsDataType = ''; + public $selfLink; + protected $userRefType = 'Google_Service_Analytics_UserRef'; + protected $userRefDataType = ''; + + + public function setEntity(Google_Service_Analytics_EntityUserLinkEntity $entity) + { + $this->entity = $entity; + } + public function getEntity() + { + return $this->entity; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPermissions(Google_Service_Analytics_EntityUserLinkPermissions $permissions) + { + $this->permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setUserRef(Google_Service_Analytics_UserRef $userRef) + { + $this->userRef = $userRef; + } + public function getUserRef() + { + return $this->userRef; + } +} + +class Google_Service_Analytics_EntityUserLinkEntity extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $accountRefType = 'Google_Service_Analytics_AccountRef'; + protected $accountRefDataType = ''; + protected $profileRefType = 'Google_Service_Analytics_ProfileRef'; + protected $profileRefDataType = ''; + protected $webPropertyRefType = 'Google_Service_Analytics_WebPropertyRef'; + protected $webPropertyRefDataType = ''; + + + public function setAccountRef(Google_Service_Analytics_AccountRef $accountRef) + { + $this->accountRef = $accountRef; + } + public function getAccountRef() + { + return $this->accountRef; + } + public function setProfileRef(Google_Service_Analytics_ProfileRef $profileRef) + { + $this->profileRef = $profileRef; + } + public function getProfileRef() + { + return $this->profileRef; + } + public function setWebPropertyRef(Google_Service_Analytics_WebPropertyRef $webPropertyRef) + { + $this->webPropertyRef = $webPropertyRef; + } + public function getWebPropertyRef() + { + return $this->webPropertyRef; + } +} + +class Google_Service_Analytics_EntityUserLinkPermissions extends Google_Collection +{ + protected $collection_key = 'local'; + protected $internal_gapi_mappings = array( + ); + public $effective; + public $local; + + + public function setEffective($effective) + { + $this->effective = $effective; + } + public function getEffective() + { + return $this->effective; + } + public function setLocal($local) + { + $this->local = $local; + } + public function getLocal() + { + return $this->local; + } +} + +class Google_Service_Analytics_EntityUserLinks extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Analytics_EntityUserLink'; + protected $itemsDataType = 'array'; + public $itemsPerPage; + public $kind; + public $nextLink; + public $previousLink; + public $startIndex; + public $totalResults; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setItemsPerPage($itemsPerPage) + { + $this->itemsPerPage = $itemsPerPage; + } + public function getItemsPerPage() + { + return $this->itemsPerPage; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setPreviousLink($previousLink) + { + $this->previousLink = $previousLink; + } + public function getPreviousLink() + { + return $this->previousLink; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } +} + +class Google_Service_Analytics_Experiment extends Google_Collection +{ + protected $collection_key = 'variations'; + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $created; + public $description; + public $editableInGaUi; + public $endTime; + public $equalWeighting; + public $id; + public $internalWebPropertyId; + public $kind; + public $minimumExperimentLengthInDays; + public $name; + public $objectiveMetric; + public $optimizationType; + protected $parentLinkType = 'Google_Service_Analytics_ExperimentParentLink'; + protected $parentLinkDataType = ''; + public $profileId; + public $reasonExperimentEnded; + public $rewriteVariationUrlsAsOriginal; + public $selfLink; + public $servingFramework; + public $snippet; + public $startTime; + public $status; + public $trafficCoverage; + public $updated; + protected $variationsType = 'Google_Service_Analytics_ExperimentVariations'; + protected $variationsDataType = 'array'; + public $webPropertyId; + public $winnerConfidenceLevel; + public $winnerFound; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setCreated($created) + { + $this->created = $created; + } + public function getCreated() + { + return $this->created; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEditableInGaUi($editableInGaUi) + { + $this->editableInGaUi = $editableInGaUi; + } + public function getEditableInGaUi() + { + return $this->editableInGaUi; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setEqualWeighting($equalWeighting) + { + $this->equalWeighting = $equalWeighting; + } + public function getEqualWeighting() + { + return $this->equalWeighting; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInternalWebPropertyId($internalWebPropertyId) + { + $this->internalWebPropertyId = $internalWebPropertyId; + } + public function getInternalWebPropertyId() + { + return $this->internalWebPropertyId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMinimumExperimentLengthInDays($minimumExperimentLengthInDays) + { + $this->minimumExperimentLengthInDays = $minimumExperimentLengthInDays; + } + public function getMinimumExperimentLengthInDays() + { + return $this->minimumExperimentLengthInDays; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setObjectiveMetric($objectiveMetric) + { + $this->objectiveMetric = $objectiveMetric; + } + public function getObjectiveMetric() + { + return $this->objectiveMetric; + } + public function setOptimizationType($optimizationType) + { + $this->optimizationType = $optimizationType; + } + public function getOptimizationType() + { + return $this->optimizationType; + } + public function setParentLink(Google_Service_Analytics_ExperimentParentLink $parentLink) + { + $this->parentLink = $parentLink; + } + public function getParentLink() + { + return $this->parentLink; + } + public function setProfileId($profileId) + { + $this->profileId = $profileId; + } + public function getProfileId() + { + return $this->profileId; + } + public function setReasonExperimentEnded($reasonExperimentEnded) + { + $this->reasonExperimentEnded = $reasonExperimentEnded; + } + public function getReasonExperimentEnded() + { + return $this->reasonExperimentEnded; + } + public function setRewriteVariationUrlsAsOriginal($rewriteVariationUrlsAsOriginal) + { + $this->rewriteVariationUrlsAsOriginal = $rewriteVariationUrlsAsOriginal; + } + public function getRewriteVariationUrlsAsOriginal() + { + return $this->rewriteVariationUrlsAsOriginal; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setServingFramework($servingFramework) + { + $this->servingFramework = $servingFramework; + } + public function getServingFramework() + { + return $this->servingFramework; + } + public function setSnippet($snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setTrafficCoverage($trafficCoverage) + { + $this->trafficCoverage = $trafficCoverage; + } + public function getTrafficCoverage() + { + return $this->trafficCoverage; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setVariations($variations) + { + $this->variations = $variations; + } + public function getVariations() + { + return $this->variations; + } + public function setWebPropertyId($webPropertyId) + { + $this->webPropertyId = $webPropertyId; + } + public function getWebPropertyId() + { + return $this->webPropertyId; + } + public function setWinnerConfidenceLevel($winnerConfidenceLevel) + { + $this->winnerConfidenceLevel = $winnerConfidenceLevel; + } + public function getWinnerConfidenceLevel() + { + return $this->winnerConfidenceLevel; + } + public function setWinnerFound($winnerFound) + { + $this->winnerFound = $winnerFound; + } + public function getWinnerFound() + { + return $this->winnerFound; + } +} + +class Google_Service_Analytics_ExperimentParentLink extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $href; + public $type; + + + public function setHref($href) + { + $this->href = $href; + } + public function getHref() + { + return $this->href; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Analytics_ExperimentVariations extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $name; + public $status; + public $url; + public $weight; + public $won; + + + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setWeight($weight) + { + $this->weight = $weight; + } + public function getWeight() + { + return $this->weight; + } + public function setWon($won) + { + $this->won = $won; + } + public function getWon() + { + return $this->won; + } +} + +class Google_Service_Analytics_Experiments extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Analytics_Experiment'; + protected $itemsDataType = 'array'; + public $itemsPerPage; + public $kind; + public $nextLink; + public $previousLink; + public $startIndex; + public $totalResults; + public $username; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setItemsPerPage($itemsPerPage) + { + $this->itemsPerPage = $itemsPerPage; + } + public function getItemsPerPage() + { + return $this->itemsPerPage; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setPreviousLink($previousLink) + { + $this->previousLink = $previousLink; + } + public function getPreviousLink() + { + return $this->previousLink; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } + public function setUsername($username) + { + $this->username = $username; + } + public function getUsername() + { + return $this->username; + } +} + +class Google_Service_Analytics_Filter extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $accountId; + protected $advancedDetailsType = 'Google_Service_Analytics_FilterAdvancedDetails'; + protected $advancedDetailsDataType = ''; + public $created; + protected $excludeDetailsType = 'Google_Service_Analytics_FilterExpression'; + protected $excludeDetailsDataType = ''; + public $id; + protected $includeDetailsType = 'Google_Service_Analytics_FilterExpression'; + protected $includeDetailsDataType = ''; + public $kind; + protected $lowercaseDetailsType = 'Google_Service_Analytics_FilterLowercaseDetails'; + protected $lowercaseDetailsDataType = ''; + public $name; + protected $parentLinkType = 'Google_Service_Analytics_FilterParentLink'; + protected $parentLinkDataType = ''; + protected $searchAndReplaceDetailsType = 'Google_Service_Analytics_FilterSearchAndReplaceDetails'; + protected $searchAndReplaceDetailsDataType = ''; + public $selfLink; + public $type; + public $updated; + protected $uppercaseDetailsType = 'Google_Service_Analytics_FilterUppercaseDetails'; + protected $uppercaseDetailsDataType = ''; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAdvancedDetails(Google_Service_Analytics_FilterAdvancedDetails $advancedDetails) + { + $this->advancedDetails = $advancedDetails; + } + public function getAdvancedDetails() + { + return $this->advancedDetails; + } + public function setCreated($created) + { + $this->created = $created; + } + public function getCreated() + { + return $this->created; + } + public function setExcludeDetails(Google_Service_Analytics_FilterExpression $excludeDetails) + { + $this->excludeDetails = $excludeDetails; + } + public function getExcludeDetails() + { + return $this->excludeDetails; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIncludeDetails(Google_Service_Analytics_FilterExpression $includeDetails) + { + $this->includeDetails = $includeDetails; + } + public function getIncludeDetails() + { + return $this->includeDetails; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLowercaseDetails(Google_Service_Analytics_FilterLowercaseDetails $lowercaseDetails) + { + $this->lowercaseDetails = $lowercaseDetails; + } + public function getLowercaseDetails() + { + return $this->lowercaseDetails; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setParentLink(Google_Service_Analytics_FilterParentLink $parentLink) + { + $this->parentLink = $parentLink; + } + public function getParentLink() + { + return $this->parentLink; + } + public function setSearchAndReplaceDetails(Google_Service_Analytics_FilterSearchAndReplaceDetails $searchAndReplaceDetails) + { + $this->searchAndReplaceDetails = $searchAndReplaceDetails; + } + public function getSearchAndReplaceDetails() + { + return $this->searchAndReplaceDetails; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setUppercaseDetails(Google_Service_Analytics_FilterUppercaseDetails $uppercaseDetails) + { + $this->uppercaseDetails = $uppercaseDetails; + } + public function getUppercaseDetails() + { + return $this->uppercaseDetails; + } +} + +class Google_Service_Analytics_FilterAdvancedDetails extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $caseSensitive; + public $extractA; + public $extractB; + public $fieldA; + public $fieldAIndex; + public $fieldARequired; + public $fieldB; + public $fieldBIndex; + public $fieldBRequired; + public $outputConstructor; + public $outputToField; + public $outputToFieldIndex; + public $overrideOutputField; + + + public function setCaseSensitive($caseSensitive) + { + $this->caseSensitive = $caseSensitive; + } + public function getCaseSensitive() + { + return $this->caseSensitive; + } + public function setExtractA($extractA) + { + $this->extractA = $extractA; + } + public function getExtractA() + { + return $this->extractA; + } + public function setExtractB($extractB) + { + $this->extractB = $extractB; + } + public function getExtractB() + { + return $this->extractB; + } + public function setFieldA($fieldA) + { + $this->fieldA = $fieldA; + } + public function getFieldA() + { + return $this->fieldA; + } + public function setFieldAIndex($fieldAIndex) + { + $this->fieldAIndex = $fieldAIndex; + } + public function getFieldAIndex() + { + return $this->fieldAIndex; + } + public function setFieldARequired($fieldARequired) + { + $this->fieldARequired = $fieldARequired; + } + public function getFieldARequired() + { + return $this->fieldARequired; + } + public function setFieldB($fieldB) + { + $this->fieldB = $fieldB; + } + public function getFieldB() + { + return $this->fieldB; + } + public function setFieldBIndex($fieldBIndex) + { + $this->fieldBIndex = $fieldBIndex; + } + public function getFieldBIndex() + { + return $this->fieldBIndex; + } + public function setFieldBRequired($fieldBRequired) + { + $this->fieldBRequired = $fieldBRequired; + } + public function getFieldBRequired() + { + return $this->fieldBRequired; + } + public function setOutputConstructor($outputConstructor) + { + $this->outputConstructor = $outputConstructor; + } + public function getOutputConstructor() + { + return $this->outputConstructor; + } + public function setOutputToField($outputToField) + { + $this->outputToField = $outputToField; + } + public function getOutputToField() + { + return $this->outputToField; + } + public function setOutputToFieldIndex($outputToFieldIndex) + { + $this->outputToFieldIndex = $outputToFieldIndex; + } + public function getOutputToFieldIndex() + { + return $this->outputToFieldIndex; + } + public function setOverrideOutputField($overrideOutputField) + { + $this->overrideOutputField = $overrideOutputField; + } + public function getOverrideOutputField() + { + return $this->overrideOutputField; + } +} + +class Google_Service_Analytics_FilterExpression extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $caseSensitive; + public $expressionValue; + public $field; + public $fieldIndex; + public $kind; + public $matchType; + + + public function setCaseSensitive($caseSensitive) + { + $this->caseSensitive = $caseSensitive; + } + public function getCaseSensitive() + { + return $this->caseSensitive; + } + public function setExpressionValue($expressionValue) + { + $this->expressionValue = $expressionValue; + } + public function getExpressionValue() + { + return $this->expressionValue; + } + public function setField($field) + { + $this->field = $field; + } + public function getField() + { + return $this->field; + } + public function setFieldIndex($fieldIndex) + { + $this->fieldIndex = $fieldIndex; + } + public function getFieldIndex() + { + return $this->fieldIndex; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMatchType($matchType) + { + $this->matchType = $matchType; + } + public function getMatchType() + { + return $this->matchType; + } +} + +class Google_Service_Analytics_FilterLowercaseDetails extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $field; + public $fieldIndex; + + + public function setField($field) + { + $this->field = $field; + } + public function getField() + { + return $this->field; + } + public function setFieldIndex($fieldIndex) + { + $this->fieldIndex = $fieldIndex; + } + public function getFieldIndex() + { + return $this->fieldIndex; + } +} + +class Google_Service_Analytics_FilterParentLink extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $href; + public $type; + + + public function setHref($href) + { + $this->href = $href; + } + public function getHref() + { + return $this->href; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Analytics_FilterRef extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $href; + public $id; + public $kind; + public $name; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setHref($href) + { + $this->href = $href; + } + public function getHref() + { + return $this->href; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_Analytics_FilterSearchAndReplaceDetails extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $caseSensitive; + public $field; + public $fieldIndex; + public $replaceString; + public $searchString; + + + public function setCaseSensitive($caseSensitive) + { + $this->caseSensitive = $caseSensitive; + } + public function getCaseSensitive() + { + return $this->caseSensitive; + } + public function setField($field) + { + $this->field = $field; + } + public function getField() + { + return $this->field; + } + public function setFieldIndex($fieldIndex) + { + $this->fieldIndex = $fieldIndex; + } + public function getFieldIndex() + { + return $this->fieldIndex; + } + public function setReplaceString($replaceString) + { + $this->replaceString = $replaceString; + } + public function getReplaceString() + { + return $this->replaceString; + } + public function setSearchString($searchString) + { + $this->searchString = $searchString; + } + public function getSearchString() + { + return $this->searchString; + } +} + +class Google_Service_Analytics_FilterUppercaseDetails extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $field; + public $fieldIndex; + + + public function setField($field) + { + $this->field = $field; + } + public function getField() + { + return $this->field; + } + public function setFieldIndex($fieldIndex) + { + $this->fieldIndex = $fieldIndex; + } + public function getFieldIndex() + { + return $this->fieldIndex; + } +} + +class Google_Service_Analytics_Filters extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Analytics_Filter'; + protected $itemsDataType = 'array'; + public $itemsPerPage; + public $kind; + public $nextLink; + public $previousLink; + public $startIndex; + public $totalResults; + public $username; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setItemsPerPage($itemsPerPage) + { + $this->itemsPerPage = $itemsPerPage; + } + public function getItemsPerPage() + { + return $this->itemsPerPage; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setPreviousLink($previousLink) + { + $this->previousLink = $previousLink; + } + public function getPreviousLink() + { + return $this->previousLink; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } + public function setUsername($username) + { + $this->username = $username; + } + public function getUsername() + { + return $this->username; + } +} + +class Google_Service_Analytics_GaData extends Google_Collection +{ + protected $collection_key = 'rows'; + protected $internal_gapi_mappings = array( + ); + protected $columnHeadersType = 'Google_Service_Analytics_GaDataColumnHeaders'; + protected $columnHeadersDataType = 'array'; + public $containsSampledData; + protected $dataTableType = 'Google_Service_Analytics_GaDataDataTable'; + protected $dataTableDataType = ''; + public $id; + public $itemsPerPage; + public $kind; + public $nextLink; + public $previousLink; + protected $profileInfoType = 'Google_Service_Analytics_GaDataProfileInfo'; + protected $profileInfoDataType = ''; + protected $queryType = 'Google_Service_Analytics_GaDataQuery'; + protected $queryDataType = ''; + public $rows; + public $sampleSize; + public $sampleSpace; + public $selfLink; + public $totalResults; + public $totalsForAllResults; + + + public function setColumnHeaders($columnHeaders) + { + $this->columnHeaders = $columnHeaders; + } + public function getColumnHeaders() + { + return $this->columnHeaders; + } + public function setContainsSampledData($containsSampledData) + { + $this->containsSampledData = $containsSampledData; + } + public function getContainsSampledData() + { + return $this->containsSampledData; + } + public function setDataTable(Google_Service_Analytics_GaDataDataTable $dataTable) + { + $this->dataTable = $dataTable; + } + public function getDataTable() + { + return $this->dataTable; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItemsPerPage($itemsPerPage) + { + $this->itemsPerPage = $itemsPerPage; + } + public function getItemsPerPage() + { + return $this->itemsPerPage; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setPreviousLink($previousLink) + { + $this->previousLink = $previousLink; + } + public function getPreviousLink() + { + return $this->previousLink; + } + public function setProfileInfo(Google_Service_Analytics_GaDataProfileInfo $profileInfo) + { + $this->profileInfo = $profileInfo; + } + public function getProfileInfo() + { + return $this->profileInfo; + } + public function setQuery(Google_Service_Analytics_GaDataQuery $query) + { + $this->query = $query; + } + public function getQuery() + { + return $this->query; + } + public function setRows($rows) + { + $this->rows = $rows; + } + public function getRows() + { + return $this->rows; + } + public function setSampleSize($sampleSize) + { + $this->sampleSize = $sampleSize; + } + public function getSampleSize() + { + return $this->sampleSize; + } + public function setSampleSpace($sampleSpace) + { + $this->sampleSpace = $sampleSpace; + } + public function getSampleSpace() + { + return $this->sampleSpace; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } + public function setTotalsForAllResults($totalsForAllResults) + { + $this->totalsForAllResults = $totalsForAllResults; + } + public function getTotalsForAllResults() + { + return $this->totalsForAllResults; + } +} + +class Google_Service_Analytics_GaDataColumnHeaders extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $columnType; + public $dataType; + public $name; + + + public function setColumnType($columnType) + { + $this->columnType = $columnType; + } + public function getColumnType() + { + return $this->columnType; + } + public function setDataType($dataType) + { + $this->dataType = $dataType; + } + public function getDataType() + { + return $this->dataType; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_Analytics_GaDataDataTable extends Google_Collection +{ + protected $collection_key = 'rows'; + protected $internal_gapi_mappings = array( + ); + protected $colsType = 'Google_Service_Analytics_GaDataDataTableCols'; + protected $colsDataType = 'array'; + protected $rowsType = 'Google_Service_Analytics_GaDataDataTableRows'; + protected $rowsDataType = 'array'; + + + public function setCols($cols) + { + $this->cols = $cols; + } + public function getCols() + { + return $this->cols; + } + public function setRows($rows) + { + $this->rows = $rows; + } + public function getRows() + { + return $this->rows; + } +} + +class Google_Service_Analytics_GaDataDataTableCols extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $label; + public $type; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setLabel($label) + { + $this->label = $label; + } + public function getLabel() + { + return $this->label; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Analytics_GaDataDataTableRows extends Google_Collection +{ + protected $collection_key = 'c'; + protected $internal_gapi_mappings = array( + ); + protected $cType = 'Google_Service_Analytics_GaDataDataTableRowsC'; + protected $cDataType = 'array'; + + + public function setC($c) + { + $this->c = $c; + } + public function getC() + { + return $this->c; + } +} + +class Google_Service_Analytics_GaDataDataTableRowsC extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $v; + + + public function setV($v) + { + $this->v = $v; + } + public function getV() + { + return $this->v; + } +} + +class Google_Service_Analytics_GaDataProfileInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $internalWebPropertyId; + public $profileId; + public $profileName; + public $tableId; + public $webPropertyId; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setInternalWebPropertyId($internalWebPropertyId) + { + $this->internalWebPropertyId = $internalWebPropertyId; + } + public function getInternalWebPropertyId() + { + return $this->internalWebPropertyId; + } + public function setProfileId($profileId) + { + $this->profileId = $profileId; + } + public function getProfileId() + { + return $this->profileId; + } + public function setProfileName($profileName) + { + $this->profileName = $profileName; + } + public function getProfileName() + { + return $this->profileName; + } + public function setTableId($tableId) + { + $this->tableId = $tableId; + } + public function getTableId() + { + return $this->tableId; + } + public function setWebPropertyId($webPropertyId) + { + $this->webPropertyId = $webPropertyId; + } + public function getWebPropertyId() + { + return $this->webPropertyId; + } +} + +class Google_Service_Analytics_GaDataQuery extends Google_Collection +{ + protected $collection_key = 'sort'; + protected $internal_gapi_mappings = array( + "endDate" => "end-date", + "maxResults" => "max-results", + "startDate" => "start-date", + "startIndex" => "start-index", + ); + public $dimensions; + public $endDate; + public $filters; + public $ids; + public $maxResults; + public $metrics; + public $samplingLevel; + public $segment; + public $sort; + public $startDate; + public $startIndex; + + + public function setDimensions($dimensions) + { + $this->dimensions = $dimensions; + } + public function getDimensions() + { + return $this->dimensions; + } + public function setEndDate($endDate) + { + $this->endDate = $endDate; + } + public function getEndDate() + { + return $this->endDate; + } + public function setFilters($filters) + { + $this->filters = $filters; + } + public function getFilters() + { + return $this->filters; + } + public function setIds($ids) + { + $this->ids = $ids; + } + public function getIds() + { + return $this->ids; + } + public function setMaxResults($maxResults) + { + $this->maxResults = $maxResults; + } + public function getMaxResults() + { + return $this->maxResults; + } + public function setMetrics($metrics) + { + $this->metrics = $metrics; + } + public function getMetrics() + { + return $this->metrics; + } + public function setSamplingLevel($samplingLevel) + { + $this->samplingLevel = $samplingLevel; + } + public function getSamplingLevel() + { + return $this->samplingLevel; + } + public function setSegment($segment) + { + $this->segment = $segment; + } + public function getSegment() + { + return $this->segment; + } + public function setSort($sort) + { + $this->sort = $sort; + } + public function getSort() + { + return $this->sort; + } + public function setStartDate($startDate) + { + $this->startDate = $startDate; + } + public function getStartDate() + { + return $this->startDate; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } +} + +class Google_Service_Analytics_GaDataTotalsForAllResults extends Google_Model +{ +} + +class Google_Service_Analytics_Goal extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $active; + public $created; + protected $eventDetailsType = 'Google_Service_Analytics_GoalEventDetails'; + protected $eventDetailsDataType = ''; + public $id; + public $internalWebPropertyId; + public $kind; + public $name; + protected $parentLinkType = 'Google_Service_Analytics_GoalParentLink'; + protected $parentLinkDataType = ''; + public $profileId; + public $selfLink; + public $type; + public $updated; + protected $urlDestinationDetailsType = 'Google_Service_Analytics_GoalUrlDestinationDetails'; + protected $urlDestinationDetailsDataType = ''; + public $value; + protected $visitNumPagesDetailsType = 'Google_Service_Analytics_GoalVisitNumPagesDetails'; + protected $visitNumPagesDetailsDataType = ''; + protected $visitTimeOnSiteDetailsType = 'Google_Service_Analytics_GoalVisitTimeOnSiteDetails'; + protected $visitTimeOnSiteDetailsDataType = ''; + public $webPropertyId; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setActive($active) + { + $this->active = $active; + } + public function getActive() + { + return $this->active; + } + public function setCreated($created) + { + $this->created = $created; + } + public function getCreated() + { + return $this->created; + } + public function setEventDetails(Google_Service_Analytics_GoalEventDetails $eventDetails) + { + $this->eventDetails = $eventDetails; + } + public function getEventDetails() + { + return $this->eventDetails; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInternalWebPropertyId($internalWebPropertyId) + { + $this->internalWebPropertyId = $internalWebPropertyId; + } + public function getInternalWebPropertyId() + { + return $this->internalWebPropertyId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setParentLink(Google_Service_Analytics_GoalParentLink $parentLink) + { + $this->parentLink = $parentLink; + } + public function getParentLink() + { + return $this->parentLink; + } + public function setProfileId($profileId) + { + $this->profileId = $profileId; + } + public function getProfileId() + { + return $this->profileId; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setUrlDestinationDetails(Google_Service_Analytics_GoalUrlDestinationDetails $urlDestinationDetails) + { + $this->urlDestinationDetails = $urlDestinationDetails; + } + public function getUrlDestinationDetails() + { + return $this->urlDestinationDetails; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } + public function setVisitNumPagesDetails(Google_Service_Analytics_GoalVisitNumPagesDetails $visitNumPagesDetails) + { + $this->visitNumPagesDetails = $visitNumPagesDetails; + } + public function getVisitNumPagesDetails() + { + return $this->visitNumPagesDetails; + } + public function setVisitTimeOnSiteDetails(Google_Service_Analytics_GoalVisitTimeOnSiteDetails $visitTimeOnSiteDetails) + { + $this->visitTimeOnSiteDetails = $visitTimeOnSiteDetails; + } + public function getVisitTimeOnSiteDetails() + { + return $this->visitTimeOnSiteDetails; + } + public function setWebPropertyId($webPropertyId) + { + $this->webPropertyId = $webPropertyId; + } + public function getWebPropertyId() + { + return $this->webPropertyId; + } +} + +class Google_Service_Analytics_GoalEventDetails extends Google_Collection +{ + protected $collection_key = 'eventConditions'; + protected $internal_gapi_mappings = array( + ); + protected $eventConditionsType = 'Google_Service_Analytics_GoalEventDetailsEventConditions'; + protected $eventConditionsDataType = 'array'; + public $useEventValue; + + + public function setEventConditions($eventConditions) + { + $this->eventConditions = $eventConditions; + } + public function getEventConditions() + { + return $this->eventConditions; + } + public function setUseEventValue($useEventValue) + { + $this->useEventValue = $useEventValue; + } + public function getUseEventValue() + { + return $this->useEventValue; + } +} + +class Google_Service_Analytics_GoalEventDetailsEventConditions extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $comparisonType; + public $comparisonValue; + public $expression; + public $matchType; + public $type; + + + public function setComparisonType($comparisonType) + { + $this->comparisonType = $comparisonType; + } + public function getComparisonType() + { + return $this->comparisonType; + } + public function setComparisonValue($comparisonValue) + { + $this->comparisonValue = $comparisonValue; + } + public function getComparisonValue() + { + return $this->comparisonValue; + } + public function setExpression($expression) + { + $this->expression = $expression; + } + public function getExpression() + { + return $this->expression; + } + public function setMatchType($matchType) + { + $this->matchType = $matchType; + } + public function getMatchType() + { + return $this->matchType; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Analytics_GoalParentLink extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $href; + public $type; + + + public function setHref($href) + { + $this->href = $href; + } + public function getHref() + { + return $this->href; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Analytics_GoalUrlDestinationDetails extends Google_Collection +{ + protected $collection_key = 'steps'; + protected $internal_gapi_mappings = array( + ); + public $caseSensitive; + public $firstStepRequired; + public $matchType; + protected $stepsType = 'Google_Service_Analytics_GoalUrlDestinationDetailsSteps'; + protected $stepsDataType = 'array'; + public $url; + + + public function setCaseSensitive($caseSensitive) + { + $this->caseSensitive = $caseSensitive; + } + public function getCaseSensitive() + { + return $this->caseSensitive; + } + public function setFirstStepRequired($firstStepRequired) + { + $this->firstStepRequired = $firstStepRequired; + } + public function getFirstStepRequired() + { + return $this->firstStepRequired; + } + public function setMatchType($matchType) + { + $this->matchType = $matchType; + } + public function getMatchType() + { + return $this->matchType; + } + public function setSteps($steps) + { + $this->steps = $steps; + } + public function getSteps() + { + return $this->steps; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_Analytics_GoalUrlDestinationDetailsSteps extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $name; + public $number; + public $url; + + + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNumber($number) + { + $this->number = $number; + } + public function getNumber() + { + return $this->number; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_Analytics_GoalVisitNumPagesDetails extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $comparisonType; + public $comparisonValue; + + + public function setComparisonType($comparisonType) + { + $this->comparisonType = $comparisonType; + } + public function getComparisonType() + { + return $this->comparisonType; + } + public function setComparisonValue($comparisonValue) + { + $this->comparisonValue = $comparisonValue; + } + public function getComparisonValue() + { + return $this->comparisonValue; + } +} + +class Google_Service_Analytics_GoalVisitTimeOnSiteDetails extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $comparisonType; + public $comparisonValue; + + + public function setComparisonType($comparisonType) + { + $this->comparisonType = $comparisonType; + } + public function getComparisonType() + { + return $this->comparisonType; + } + public function setComparisonValue($comparisonValue) + { + $this->comparisonValue = $comparisonValue; + } + public function getComparisonValue() + { + return $this->comparisonValue; + } +} + +class Google_Service_Analytics_Goals extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Analytics_Goal'; + protected $itemsDataType = 'array'; + public $itemsPerPage; + public $kind; + public $nextLink; + public $previousLink; + public $startIndex; + public $totalResults; + public $username; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setItemsPerPage($itemsPerPage) + { + $this->itemsPerPage = $itemsPerPage; + } + public function getItemsPerPage() + { + return $this->itemsPerPage; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setPreviousLink($previousLink) + { + $this->previousLink = $previousLink; + } + public function getPreviousLink() + { + return $this->previousLink; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } + public function setUsername($username) + { + $this->username = $username; + } + public function getUsername() + { + return $this->username; + } +} + +class Google_Service_Analytics_McfData extends Google_Collection +{ + protected $collection_key = 'rows'; + protected $internal_gapi_mappings = array( + ); + protected $columnHeadersType = 'Google_Service_Analytics_McfDataColumnHeaders'; + protected $columnHeadersDataType = 'array'; + public $containsSampledData; + public $id; + public $itemsPerPage; + public $kind; + public $nextLink; + public $previousLink; + protected $profileInfoType = 'Google_Service_Analytics_McfDataProfileInfo'; + protected $profileInfoDataType = ''; + protected $queryType = 'Google_Service_Analytics_McfDataQuery'; + protected $queryDataType = ''; + protected $rowsType = 'Google_Service_Analytics_McfDataRows'; + protected $rowsDataType = 'array'; + public $sampleSize; + public $sampleSpace; + public $selfLink; + public $totalResults; + public $totalsForAllResults; + + + public function setColumnHeaders($columnHeaders) + { + $this->columnHeaders = $columnHeaders; + } + public function getColumnHeaders() + { + return $this->columnHeaders; + } + public function setContainsSampledData($containsSampledData) + { + $this->containsSampledData = $containsSampledData; + } + public function getContainsSampledData() + { + return $this->containsSampledData; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItemsPerPage($itemsPerPage) + { + $this->itemsPerPage = $itemsPerPage; + } + public function getItemsPerPage() + { + return $this->itemsPerPage; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setPreviousLink($previousLink) + { + $this->previousLink = $previousLink; + } + public function getPreviousLink() + { + return $this->previousLink; + } + public function setProfileInfo(Google_Service_Analytics_McfDataProfileInfo $profileInfo) + { + $this->profileInfo = $profileInfo; + } + public function getProfileInfo() + { + return $this->profileInfo; + } + public function setQuery(Google_Service_Analytics_McfDataQuery $query) + { + $this->query = $query; + } + public function getQuery() + { + return $this->query; + } + public function setRows($rows) + { + $this->rows = $rows; + } + public function getRows() + { + return $this->rows; + } + public function setSampleSize($sampleSize) + { + $this->sampleSize = $sampleSize; + } + public function getSampleSize() + { + return $this->sampleSize; + } + public function setSampleSpace($sampleSpace) + { + $this->sampleSpace = $sampleSpace; + } + public function getSampleSpace() + { + return $this->sampleSpace; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } + public function setTotalsForAllResults($totalsForAllResults) + { + $this->totalsForAllResults = $totalsForAllResults; + } + public function getTotalsForAllResults() + { + return $this->totalsForAllResults; + } +} + +class Google_Service_Analytics_McfDataColumnHeaders extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $columnType; + public $dataType; + public $name; + + + public function setColumnType($columnType) + { + $this->columnType = $columnType; + } + public function getColumnType() + { + return $this->columnType; + } + public function setDataType($dataType) + { + $this->dataType = $dataType; + } + public function getDataType() + { + return $this->dataType; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_Analytics_McfDataProfileInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $internalWebPropertyId; + public $profileId; + public $profileName; + public $tableId; + public $webPropertyId; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setInternalWebPropertyId($internalWebPropertyId) + { + $this->internalWebPropertyId = $internalWebPropertyId; + } + public function getInternalWebPropertyId() + { + return $this->internalWebPropertyId; + } + public function setProfileId($profileId) + { + $this->profileId = $profileId; + } + public function getProfileId() + { + return $this->profileId; + } + public function setProfileName($profileName) + { + $this->profileName = $profileName; + } + public function getProfileName() + { + return $this->profileName; + } + public function setTableId($tableId) + { + $this->tableId = $tableId; + } + public function getTableId() + { + return $this->tableId; + } + public function setWebPropertyId($webPropertyId) + { + $this->webPropertyId = $webPropertyId; + } + public function getWebPropertyId() + { + return $this->webPropertyId; + } +} + +class Google_Service_Analytics_McfDataQuery extends Google_Collection +{ + protected $collection_key = 'sort'; + protected $internal_gapi_mappings = array( + "endDate" => "end-date", + "maxResults" => "max-results", + "startDate" => "start-date", + "startIndex" => "start-index", + ); + public $dimensions; + public $endDate; + public $filters; + public $ids; + public $maxResults; + public $metrics; + public $samplingLevel; + public $segment; + public $sort; + public $startDate; + public $startIndex; + + + public function setDimensions($dimensions) + { + $this->dimensions = $dimensions; + } + public function getDimensions() + { + return $this->dimensions; + } + public function setEndDate($endDate) + { + $this->endDate = $endDate; + } + public function getEndDate() + { + return $this->endDate; + } + public function setFilters($filters) + { + $this->filters = $filters; + } + public function getFilters() + { + return $this->filters; + } + public function setIds($ids) + { + $this->ids = $ids; + } + public function getIds() + { + return $this->ids; + } + public function setMaxResults($maxResults) + { + $this->maxResults = $maxResults; + } + public function getMaxResults() + { + return $this->maxResults; + } + public function setMetrics($metrics) + { + $this->metrics = $metrics; + } + public function getMetrics() + { + return $this->metrics; + } + public function setSamplingLevel($samplingLevel) + { + $this->samplingLevel = $samplingLevel; + } + public function getSamplingLevel() + { + return $this->samplingLevel; + } + public function setSegment($segment) + { + $this->segment = $segment; + } + public function getSegment() + { + return $this->segment; + } + public function setSort($sort) + { + $this->sort = $sort; + } + public function getSort() + { + return $this->sort; + } + public function setStartDate($startDate) + { + $this->startDate = $startDate; + } + public function getStartDate() + { + return $this->startDate; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } +} + +class Google_Service_Analytics_McfDataRows extends Google_Collection +{ + protected $collection_key = 'conversionPathValue'; + protected $internal_gapi_mappings = array( + ); + protected $conversionPathValueType = 'Google_Service_Analytics_McfDataRowsConversionPathValue'; + protected $conversionPathValueDataType = 'array'; + public $primitiveValue; + + + public function setConversionPathValue($conversionPathValue) + { + $this->conversionPathValue = $conversionPathValue; + } + public function getConversionPathValue() + { + return $this->conversionPathValue; + } + public function setPrimitiveValue($primitiveValue) + { + $this->primitiveValue = $primitiveValue; + } + public function getPrimitiveValue() + { + return $this->primitiveValue; + } +} + +class Google_Service_Analytics_McfDataRowsConversionPathValue extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $interactionType; + public $nodeValue; + + + public function setInteractionType($interactionType) + { + $this->interactionType = $interactionType; + } + public function getInteractionType() + { + return $this->interactionType; + } + public function setNodeValue($nodeValue) + { + $this->nodeValue = $nodeValue; + } + public function getNodeValue() + { + return $this->nodeValue; + } +} + +class Google_Service_Analytics_McfDataTotalsForAllResults extends Google_Model +{ +} + +class Google_Service_Analytics_Profile extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $accountId; + protected $childLinkType = 'Google_Service_Analytics_ProfileChildLink'; + protected $childLinkDataType = ''; + public $created; + public $currency; + public $defaultPage; + public $eCommerceTracking; + public $enhancedECommerceTracking; + public $excludeQueryParameters; + public $id; + public $internalWebPropertyId; + public $kind; + public $name; + protected $parentLinkType = 'Google_Service_Analytics_ProfileParentLink'; + protected $parentLinkDataType = ''; + protected $permissionsType = 'Google_Service_Analytics_ProfilePermissions'; + protected $permissionsDataType = ''; + public $selfLink; + public $siteSearchCategoryParameters; + public $siteSearchQueryParameters; + public $stripSiteSearchCategoryParameters; + public $stripSiteSearchQueryParameters; + public $timezone; + public $type; + public $updated; + public $webPropertyId; + public $websiteUrl; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setChildLink(Google_Service_Analytics_ProfileChildLink $childLink) + { + $this->childLink = $childLink; + } + public function getChildLink() + { + return $this->childLink; + } + public function setCreated($created) + { + $this->created = $created; + } + public function getCreated() + { + return $this->created; + } + public function setCurrency($currency) + { + $this->currency = $currency; + } + public function getCurrency() + { + return $this->currency; + } + public function setDefaultPage($defaultPage) + { + $this->defaultPage = $defaultPage; + } + public function getDefaultPage() + { + return $this->defaultPage; + } + public function setECommerceTracking($eCommerceTracking) + { + $this->eCommerceTracking = $eCommerceTracking; + } + public function getECommerceTracking() + { + return $this->eCommerceTracking; + } + public function setEnhancedECommerceTracking($enhancedECommerceTracking) + { + $this->enhancedECommerceTracking = $enhancedECommerceTracking; + } + public function getEnhancedECommerceTracking() + { + return $this->enhancedECommerceTracking; + } + public function setExcludeQueryParameters($excludeQueryParameters) + { + $this->excludeQueryParameters = $excludeQueryParameters; + } + public function getExcludeQueryParameters() + { + return $this->excludeQueryParameters; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInternalWebPropertyId($internalWebPropertyId) + { + $this->internalWebPropertyId = $internalWebPropertyId; + } + public function getInternalWebPropertyId() + { + return $this->internalWebPropertyId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setParentLink(Google_Service_Analytics_ProfileParentLink $parentLink) + { + $this->parentLink = $parentLink; + } + public function getParentLink() + { + return $this->parentLink; + } + public function setPermissions(Google_Service_Analytics_ProfilePermissions $permissions) + { + $this->permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setSiteSearchCategoryParameters($siteSearchCategoryParameters) + { + $this->siteSearchCategoryParameters = $siteSearchCategoryParameters; + } + public function getSiteSearchCategoryParameters() + { + return $this->siteSearchCategoryParameters; + } + public function setSiteSearchQueryParameters($siteSearchQueryParameters) + { + $this->siteSearchQueryParameters = $siteSearchQueryParameters; + } + public function getSiteSearchQueryParameters() + { + return $this->siteSearchQueryParameters; + } + public function setStripSiteSearchCategoryParameters($stripSiteSearchCategoryParameters) + { + $this->stripSiteSearchCategoryParameters = $stripSiteSearchCategoryParameters; + } + public function getStripSiteSearchCategoryParameters() + { + return $this->stripSiteSearchCategoryParameters; + } + public function setStripSiteSearchQueryParameters($stripSiteSearchQueryParameters) + { + $this->stripSiteSearchQueryParameters = $stripSiteSearchQueryParameters; + } + public function getStripSiteSearchQueryParameters() + { + return $this->stripSiteSearchQueryParameters; + } + public function setTimezone($timezone) + { + $this->timezone = $timezone; + } + public function getTimezone() + { + return $this->timezone; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setWebPropertyId($webPropertyId) + { + $this->webPropertyId = $webPropertyId; + } + public function getWebPropertyId() + { + return $this->webPropertyId; + } + public function setWebsiteUrl($websiteUrl) + { + $this->websiteUrl = $websiteUrl; + } + public function getWebsiteUrl() + { + return $this->websiteUrl; + } +} + +class Google_Service_Analytics_ProfileChildLink extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $href; + public $type; + + + public function setHref($href) + { + $this->href = $href; + } + public function getHref() + { + return $this->href; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Analytics_ProfileFilterLink extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $filterRefType = 'Google_Service_Analytics_FilterRef'; + protected $filterRefDataType = ''; + public $id; + public $kind; + protected $profileRefType = 'Google_Service_Analytics_ProfileRef'; + protected $profileRefDataType = ''; + public $rank; + public $selfLink; + + + public function setFilterRef(Google_Service_Analytics_FilterRef $filterRef) + { + $this->filterRef = $filterRef; + } + public function getFilterRef() + { + return $this->filterRef; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setProfileRef(Google_Service_Analytics_ProfileRef $profileRef) + { + $this->profileRef = $profileRef; + } + public function getProfileRef() + { + return $this->profileRef; + } + public function setRank($rank) + { + $this->rank = $rank; + } + public function getRank() + { + return $this->rank; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Analytics_ProfileFilterLinks extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Analytics_ProfileFilterLink'; + protected $itemsDataType = 'array'; + public $itemsPerPage; + public $kind; + public $nextLink; + public $previousLink; + public $startIndex; + public $totalResults; + public $username; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setItemsPerPage($itemsPerPage) + { + $this->itemsPerPage = $itemsPerPage; + } + public function getItemsPerPage() + { + return $this->itemsPerPage; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setPreviousLink($previousLink) + { + $this->previousLink = $previousLink; + } + public function getPreviousLink() + { + return $this->previousLink; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } + public function setUsername($username) + { + $this->username = $username; + } + public function getUsername() + { + return $this->username; + } +} + +class Google_Service_Analytics_ProfileParentLink extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $href; + public $type; + + + public function setHref($href) + { + $this->href = $href; + } + public function getHref() + { + return $this->href; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Analytics_ProfilePermissions extends Google_Collection +{ + protected $collection_key = 'effective'; + protected $internal_gapi_mappings = array( + ); + public $effective; + + + public function setEffective($effective) + { + $this->effective = $effective; + } + public function getEffective() + { + return $this->effective; + } +} + +class Google_Service_Analytics_ProfileRef extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $href; + public $id; + public $internalWebPropertyId; + public $kind; + public $name; + public $webPropertyId; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setHref($href) + { + $this->href = $href; + } + public function getHref() + { + return $this->href; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInternalWebPropertyId($internalWebPropertyId) + { + $this->internalWebPropertyId = $internalWebPropertyId; + } + public function getInternalWebPropertyId() + { + return $this->internalWebPropertyId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setWebPropertyId($webPropertyId) + { + $this->webPropertyId = $webPropertyId; + } + public function getWebPropertyId() + { + return $this->webPropertyId; + } +} + +class Google_Service_Analytics_ProfileSummary extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $kind; + public $name; + public $type; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Analytics_Profiles extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Analytics_Profile'; + protected $itemsDataType = 'array'; + public $itemsPerPage; + public $kind; + public $nextLink; + public $previousLink; + public $startIndex; + public $totalResults; + public $username; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setItemsPerPage($itemsPerPage) + { + $this->itemsPerPage = $itemsPerPage; + } + public function getItemsPerPage() + { + return $this->itemsPerPage; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setPreviousLink($previousLink) + { + $this->previousLink = $previousLink; + } + public function getPreviousLink() + { + return $this->previousLink; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } + public function setUsername($username) + { + $this->username = $username; + } + public function getUsername() + { + return $this->username; + } +} + +class Google_Service_Analytics_RealtimeData extends Google_Collection +{ + protected $collection_key = 'rows'; + protected $internal_gapi_mappings = array( + ); + protected $columnHeadersType = 'Google_Service_Analytics_RealtimeDataColumnHeaders'; + protected $columnHeadersDataType = 'array'; + public $id; + public $kind; + protected $profileInfoType = 'Google_Service_Analytics_RealtimeDataProfileInfo'; + protected $profileInfoDataType = ''; + protected $queryType = 'Google_Service_Analytics_RealtimeDataQuery'; + protected $queryDataType = ''; + public $rows; + public $selfLink; + public $totalResults; + public $totalsForAllResults; + + + public function setColumnHeaders($columnHeaders) + { + $this->columnHeaders = $columnHeaders; + } + public function getColumnHeaders() + { + return $this->columnHeaders; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setProfileInfo(Google_Service_Analytics_RealtimeDataProfileInfo $profileInfo) + { + $this->profileInfo = $profileInfo; + } + public function getProfileInfo() + { + return $this->profileInfo; + } + public function setQuery(Google_Service_Analytics_RealtimeDataQuery $query) + { + $this->query = $query; + } + public function getQuery() + { + return $this->query; + } + public function setRows($rows) + { + $this->rows = $rows; + } + public function getRows() + { + return $this->rows; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } + public function setTotalsForAllResults($totalsForAllResults) + { + $this->totalsForAllResults = $totalsForAllResults; + } + public function getTotalsForAllResults() + { + return $this->totalsForAllResults; + } +} + +class Google_Service_Analytics_RealtimeDataColumnHeaders extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $columnType; + public $dataType; + public $name; + + + public function setColumnType($columnType) + { + $this->columnType = $columnType; + } + public function getColumnType() + { + return $this->columnType; + } + public function setDataType($dataType) + { + $this->dataType = $dataType; + } + public function getDataType() + { + return $this->dataType; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_Analytics_RealtimeDataProfileInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $internalWebPropertyId; + public $profileId; + public $profileName; + public $tableId; + public $webPropertyId; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setInternalWebPropertyId($internalWebPropertyId) + { + $this->internalWebPropertyId = $internalWebPropertyId; + } + public function getInternalWebPropertyId() + { + return $this->internalWebPropertyId; + } + public function setProfileId($profileId) + { + $this->profileId = $profileId; + } + public function getProfileId() + { + return $this->profileId; + } + public function setProfileName($profileName) + { + $this->profileName = $profileName; + } + public function getProfileName() + { + return $this->profileName; + } + public function setTableId($tableId) + { + $this->tableId = $tableId; + } + public function getTableId() + { + return $this->tableId; + } + public function setWebPropertyId($webPropertyId) + { + $this->webPropertyId = $webPropertyId; + } + public function getWebPropertyId() + { + return $this->webPropertyId; + } +} + +class Google_Service_Analytics_RealtimeDataQuery extends Google_Collection +{ + protected $collection_key = 'sort'; + protected $internal_gapi_mappings = array( + "maxResults" => "max-results", + ); + public $dimensions; + public $filters; + public $ids; + public $maxResults; + public $metrics; + public $sort; + + + public function setDimensions($dimensions) + { + $this->dimensions = $dimensions; + } + public function getDimensions() + { + return $this->dimensions; + } + public function setFilters($filters) + { + $this->filters = $filters; + } + public function getFilters() + { + return $this->filters; + } + public function setIds($ids) + { + $this->ids = $ids; + } + public function getIds() + { + return $this->ids; + } + public function setMaxResults($maxResults) + { + $this->maxResults = $maxResults; + } + public function getMaxResults() + { + return $this->maxResults; + } + public function setMetrics($metrics) + { + $this->metrics = $metrics; + } + public function getMetrics() + { + return $this->metrics; + } + public function setSort($sort) + { + $this->sort = $sort; + } + public function getSort() + { + return $this->sort; + } +} + +class Google_Service_Analytics_RealtimeDataTotalsForAllResults extends Google_Model +{ +} + +class Google_Service_Analytics_Segment extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $created; + public $definition; + public $id; + public $kind; + public $name; + public $segmentId; + public $selfLink; + public $type; + public $updated; + + + public function setCreated($created) + { + $this->created = $created; + } + public function getCreated() + { + return $this->created; + } + public function setDefinition($definition) + { + $this->definition = $definition; + } + public function getDefinition() + { + return $this->definition; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSegmentId($segmentId) + { + $this->segmentId = $segmentId; + } + public function getSegmentId() + { + return $this->segmentId; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } +} + +class Google_Service_Analytics_Segments extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Analytics_Segment'; + protected $itemsDataType = 'array'; + public $itemsPerPage; + public $kind; + public $nextLink; + public $previousLink; + public $startIndex; + public $totalResults; + public $username; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setItemsPerPage($itemsPerPage) + { + $this->itemsPerPage = $itemsPerPage; + } + public function getItemsPerPage() + { + return $this->itemsPerPage; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setPreviousLink($previousLink) + { + $this->previousLink = $previousLink; + } + public function getPreviousLink() + { + return $this->previousLink; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } + public function setUsername($username) + { + $this->username = $username; + } + public function getUsername() + { + return $this->username; + } +} + +class Google_Service_Analytics_UnsampledReport extends Google_Model +{ + protected $internal_gapi_mappings = array( + "endDate" => "end-date", + "startDate" => "start-date", + ); + public $accountId; + protected $cloudStorageDownloadDetailsType = 'Google_Service_Analytics_UnsampledReportCloudStorageDownloadDetails'; + protected $cloudStorageDownloadDetailsDataType = ''; + public $created; + public $dimensions; + public $downloadType; + protected $driveDownloadDetailsType = 'Google_Service_Analytics_UnsampledReportDriveDownloadDetails'; + protected $driveDownloadDetailsDataType = ''; + public $endDate; + public $filters; + public $id; + public $kind; + public $metrics; + public $profileId; + public $segment; + public $selfLink; + public $startDate; + public $status; + public $title; + public $updated; + public $webPropertyId; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setCloudStorageDownloadDetails(Google_Service_Analytics_UnsampledReportCloudStorageDownloadDetails $cloudStorageDownloadDetails) + { + $this->cloudStorageDownloadDetails = $cloudStorageDownloadDetails; + } + public function getCloudStorageDownloadDetails() + { + return $this->cloudStorageDownloadDetails; + } + public function setCreated($created) + { + $this->created = $created; + } + public function getCreated() + { + return $this->created; + } + public function setDimensions($dimensions) + { + $this->dimensions = $dimensions; + } + public function getDimensions() + { + return $this->dimensions; + } + public function setDownloadType($downloadType) + { + $this->downloadType = $downloadType; + } + public function getDownloadType() + { + return $this->downloadType; + } + public function setDriveDownloadDetails(Google_Service_Analytics_UnsampledReportDriveDownloadDetails $driveDownloadDetails) + { + $this->driveDownloadDetails = $driveDownloadDetails; + } + public function getDriveDownloadDetails() + { + return $this->driveDownloadDetails; + } + public function setEndDate($endDate) + { + $this->endDate = $endDate; + } + public function getEndDate() + { + return $this->endDate; + } + public function setFilters($filters) + { + $this->filters = $filters; + } + public function getFilters() + { + return $this->filters; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMetrics($metrics) + { + $this->metrics = $metrics; + } + public function getMetrics() + { + return $this->metrics; + } + public function setProfileId($profileId) + { + $this->profileId = $profileId; + } + public function getProfileId() + { + return $this->profileId; + } + public function setSegment($segment) + { + $this->segment = $segment; + } + public function getSegment() + { + return $this->segment; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStartDate($startDate) + { + $this->startDate = $startDate; + } + public function getStartDate() + { + return $this->startDate; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setWebPropertyId($webPropertyId) + { + $this->webPropertyId = $webPropertyId; + } + public function getWebPropertyId() + { + return $this->webPropertyId; + } +} + +class Google_Service_Analytics_UnsampledReportCloudStorageDownloadDetails extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $bucketId; + public $objectId; + + + public function setBucketId($bucketId) + { + $this->bucketId = $bucketId; + } + public function getBucketId() + { + return $this->bucketId; + } + public function setObjectId($objectId) + { + $this->objectId = $objectId; + } + public function getObjectId() + { + return $this->objectId; + } +} + +class Google_Service_Analytics_UnsampledReportDriveDownloadDetails extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $documentId; + + + public function setDocumentId($documentId) + { + $this->documentId = $documentId; + } + public function getDocumentId() + { + return $this->documentId; + } +} + +class Google_Service_Analytics_UnsampledReports extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Analytics_UnsampledReport'; + protected $itemsDataType = 'array'; + public $itemsPerPage; + public $kind; + public $nextLink; + public $previousLink; + public $startIndex; + public $totalResults; + public $username; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setItemsPerPage($itemsPerPage) + { + $this->itemsPerPage = $itemsPerPage; + } + public function getItemsPerPage() + { + return $this->itemsPerPage; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setPreviousLink($previousLink) + { + $this->previousLink = $previousLink; + } + public function getPreviousLink() + { + return $this->previousLink; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } + public function setUsername($username) + { + $this->username = $username; + } + public function getUsername() + { + return $this->username; + } +} + +class Google_Service_Analytics_Upload extends Google_Collection +{ + protected $collection_key = 'errors'; + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $customDataSourceId; + public $errors; + public $id; + public $kind; + public $status; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setCustomDataSourceId($customDataSourceId) + { + $this->customDataSourceId = $customDataSourceId; + } + public function getCustomDataSourceId() + { + return $this->customDataSourceId; + } + public function setErrors($errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} + +class Google_Service_Analytics_Uploads extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Analytics_Upload'; + protected $itemsDataType = 'array'; + public $itemsPerPage; + public $kind; + public $nextLink; + public $previousLink; + public $startIndex; + public $totalResults; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setItemsPerPage($itemsPerPage) + { + $this->itemsPerPage = $itemsPerPage; + } + public function getItemsPerPage() + { + return $this->itemsPerPage; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setPreviousLink($previousLink) + { + $this->previousLink = $previousLink; + } + public function getPreviousLink() + { + return $this->previousLink; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } +} + +class Google_Service_Analytics_UserRef extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $email; + public $id; + public $kind; + + + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Analytics_WebPropertyRef extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $href; + public $id; + public $internalWebPropertyId; + public $kind; + public $name; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setHref($href) + { + $this->href = $href; + } + public function getHref() + { + return $this->href; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInternalWebPropertyId($internalWebPropertyId) + { + $this->internalWebPropertyId = $internalWebPropertyId; + } + public function getInternalWebPropertyId() + { + return $this->internalWebPropertyId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_Analytics_WebPropertySummary extends Google_Collection +{ + protected $collection_key = 'profiles'; + protected $internal_gapi_mappings = array( + ); + public $id; + public $internalWebPropertyId; + public $kind; + public $level; + public $name; + protected $profilesType = 'Google_Service_Analytics_ProfileSummary'; + protected $profilesDataType = 'array'; + public $websiteUrl; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInternalWebPropertyId($internalWebPropertyId) + { + $this->internalWebPropertyId = $internalWebPropertyId; + } + public function getInternalWebPropertyId() + { + return $this->internalWebPropertyId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLevel($level) + { + $this->level = $level; + } + public function getLevel() + { + return $this->level; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setProfiles($profiles) + { + $this->profiles = $profiles; + } + public function getProfiles() + { + return $this->profiles; + } + public function setWebsiteUrl($websiteUrl) + { + $this->websiteUrl = $websiteUrl; + } + public function getWebsiteUrl() + { + return $this->websiteUrl; + } +} + +class Google_Service_Analytics_Webproperties extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Analytics_Webproperty'; + protected $itemsDataType = 'array'; + public $itemsPerPage; + public $kind; + public $nextLink; + public $previousLink; + public $startIndex; + public $totalResults; + public $username; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setItemsPerPage($itemsPerPage) + { + $this->itemsPerPage = $itemsPerPage; + } + public function getItemsPerPage() + { + return $this->itemsPerPage; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setPreviousLink($previousLink) + { + $this->previousLink = $previousLink; + } + public function getPreviousLink() + { + return $this->previousLink; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } + public function setUsername($username) + { + $this->username = $username; + } + public function getUsername() + { + return $this->username; + } +} + +class Google_Service_Analytics_Webproperty extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $accountId; + protected $childLinkType = 'Google_Service_Analytics_WebpropertyChildLink'; + protected $childLinkDataType = ''; + public $created; + public $defaultProfileId; + public $id; + public $industryVertical; + public $internalWebPropertyId; + public $kind; + public $level; + public $name; + protected $parentLinkType = 'Google_Service_Analytics_WebpropertyParentLink'; + protected $parentLinkDataType = ''; + protected $permissionsType = 'Google_Service_Analytics_WebpropertyPermissions'; + protected $permissionsDataType = ''; + public $profileCount; + public $selfLink; + public $updated; + public $websiteUrl; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setChildLink(Google_Service_Analytics_WebpropertyChildLink $childLink) + { + $this->childLink = $childLink; + } + public function getChildLink() + { + return $this->childLink; + } + public function setCreated($created) + { + $this->created = $created; + } + public function getCreated() + { + return $this->created; + } + public function setDefaultProfileId($defaultProfileId) + { + $this->defaultProfileId = $defaultProfileId; + } + public function getDefaultProfileId() + { + return $this->defaultProfileId; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIndustryVertical($industryVertical) + { + $this->industryVertical = $industryVertical; + } + public function getIndustryVertical() + { + return $this->industryVertical; + } + public function setInternalWebPropertyId($internalWebPropertyId) + { + $this->internalWebPropertyId = $internalWebPropertyId; + } + public function getInternalWebPropertyId() + { + return $this->internalWebPropertyId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLevel($level) + { + $this->level = $level; + } + public function getLevel() + { + return $this->level; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setParentLink(Google_Service_Analytics_WebpropertyParentLink $parentLink) + { + $this->parentLink = $parentLink; + } + public function getParentLink() + { + return $this->parentLink; + } + public function setPermissions(Google_Service_Analytics_WebpropertyPermissions $permissions) + { + $this->permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } + public function setProfileCount($profileCount) + { + $this->profileCount = $profileCount; + } + public function getProfileCount() + { + return $this->profileCount; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setWebsiteUrl($websiteUrl) + { + $this->websiteUrl = $websiteUrl; + } + public function getWebsiteUrl() + { + return $this->websiteUrl; + } +} + +class Google_Service_Analytics_WebpropertyChildLink extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $href; + public $type; + + + public function setHref($href) + { + $this->href = $href; + } + public function getHref() + { + return $this->href; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Analytics_WebpropertyParentLink extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $href; + public $type; + + + public function setHref($href) + { + $this->href = $href; + } + public function getHref() + { + return $this->href; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Analytics_WebpropertyPermissions extends Google_Collection +{ + protected $collection_key = 'effective'; + protected $internal_gapi_mappings = array( + ); + public $effective; + + + public function setEffective($effective) + { + $this->effective = $effective; + } + public function getEffective() + { + return $this->effective; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/AndroidEnterprise.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/AndroidEnterprise.php new file mode 100644 index 0000000..8499619 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/AndroidEnterprise.php @@ -0,0 +1,3109 @@ + + * Allows MDMs/EMMs and enterprises to manage the deployment of apps to Android + * for Work users.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_AndroidEnterprise extends Google_Service +{ + /** Manage corporate Android devices. */ + const ANDROIDENTERPRISE = + "https://www.googleapis.com/auth/androidenterprise"; + + public $collections; + public $collectionviewers; + public $devices; + public $enterprises; + public $entitlements; + public $grouplicenses; + public $grouplicenseusers; + public $installs; + public $permissions; + public $products; + public $users; + + + /** + * Constructs the internal representation of the AndroidEnterprise service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'androidenterprise/v1/'; + $this->version = 'v1'; + $this->serviceName = 'androidenterprise'; + + $this->collections = new Google_Service_AndroidEnterprise_Collections_Resource( + $this, + $this->serviceName, + 'collections', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'enterprises/{enterpriseId}/collections/{collectionId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'collectionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'enterprises/{enterpriseId}/collections/{collectionId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'collectionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'enterprises/{enterpriseId}/collections', + 'httpMethod' => 'POST', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'enterprises/{enterpriseId}/collections', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'enterprises/{enterpriseId}/collections/{collectionId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'collectionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'enterprises/{enterpriseId}/collections/{collectionId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'collectionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->collectionviewers = new Google_Service_AndroidEnterprise_Collectionviewers_Resource( + $this, + $this->serviceName, + 'collectionviewers', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'enterprises/{enterpriseId}/collections/{collectionId}/users/{userId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'collectionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'enterprises/{enterpriseId}/collections/{collectionId}/users/{userId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'collectionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'enterprises/{enterpriseId}/collections/{collectionId}/users', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'collectionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'enterprises/{enterpriseId}/collections/{collectionId}/users/{userId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'collectionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'enterprises/{enterpriseId}/collections/{collectionId}/users/{userId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'collectionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->devices = new Google_Service_AndroidEnterprise_Devices_Resource( + $this, + $this->serviceName, + 'devices', + array( + 'methods' => array( + 'get' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deviceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getState' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/state', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deviceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setState' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/state', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deviceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->enterprises = new Google_Service_AndroidEnterprise_Enterprises_Resource( + $this, + $this->serviceName, + 'enterprises', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'enterprises/{enterpriseId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'enroll' => array( + 'path' => 'enterprises/enroll', + 'httpMethod' => 'POST', + 'parameters' => array( + 'token' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'enterprises/{enterpriseId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'enterprises', + 'httpMethod' => 'POST', + 'parameters' => array( + 'token' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'enterprises', + 'httpMethod' => 'GET', + 'parameters' => array( + 'domain' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'sendTestPushNotification' => array( + 'path' => 'enterprises/{enterpriseId}/sendTestPushNotification', + 'httpMethod' => 'POST', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setAccount' => array( + 'path' => 'enterprises/{enterpriseId}/account', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'unenroll' => array( + 'path' => 'enterprises/{enterpriseId}/unenroll', + 'httpMethod' => 'POST', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->entitlements = new Google_Service_AndroidEnterprise_Entitlements_Resource( + $this, + $this->serviceName, + 'entitlements', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'entitlementId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'entitlementId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/entitlements', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'entitlementId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'install' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'update' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'entitlementId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'install' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->grouplicenses = new Google_Service_AndroidEnterprise_Grouplicenses_Resource( + $this, + $this->serviceName, + 'grouplicenses', + array( + 'methods' => array( + 'get' => array( + 'path' => 'enterprises/{enterpriseId}/groupLicenses/{groupLicenseId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'groupLicenseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'enterprises/{enterpriseId}/groupLicenses', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->grouplicenseusers = new Google_Service_AndroidEnterprise_Grouplicenseusers_Resource( + $this, + $this->serviceName, + 'grouplicenseusers', + array( + 'methods' => array( + 'list' => array( + 'path' => 'enterprises/{enterpriseId}/groupLicenses/{groupLicenseId}/users', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'groupLicenseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->installs = new Google_Service_AndroidEnterprise_Installs_Resource( + $this, + $this->serviceName, + 'installs', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deviceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'installId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deviceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'installId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deviceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deviceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'installId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deviceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'installId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->permissions = new Google_Service_AndroidEnterprise_Permissions_Resource( + $this, + $this->serviceName, + 'permissions', + array( + 'methods' => array( + 'get' => array( + 'path' => 'permissions/{permissionId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'permissionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->products = new Google_Service_AndroidEnterprise_Products_Resource( + $this, + $this->serviceName, + 'products', + array( + 'methods' => array( + 'approve' => array( + 'path' => 'enterprises/{enterpriseId}/products/{productId}/approve', + 'httpMethod' => 'POST', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'generateApprovalUrl' => array( + 'path' => 'enterprises/{enterpriseId}/products/{productId}/generateApprovalUrl', + 'httpMethod' => 'POST', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'languageCode' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'get' => array( + 'path' => 'enterprises/{enterpriseId}/products/{productId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'getAppRestrictionsSchema' => array( + 'path' => 'enterprises/{enterpriseId}/products/{productId}/appRestrictionsSchema', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'getPermissions' => array( + 'path' => 'enterprises/{enterpriseId}/products/{productId}/permissions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'updatePermissions' => array( + 'path' => 'enterprises/{enterpriseId}/products/{productId}/permissions', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->users = new Google_Service_AndroidEnterprise_Users_Resource( + $this, + $this->serviceName, + 'users', + array( + 'methods' => array( + 'generateToken' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/token', + 'httpMethod' => 'POST', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getAvailableProductSet' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/availableProductSet', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'enterprises/{enterpriseId}/users', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'email' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'revokeToken' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/token', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setAvailableProductSet' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/availableProductSet', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "collections" collection of methods. + * Typical usage is: + * + * $androidenterpriseService = new Google_Service_AndroidEnterprise(...); + * $collections = $androidenterpriseService->collections; + * + */ +class Google_Service_AndroidEnterprise_Collections_Resource extends Google_Service_Resource +{ + + /** + * Deletes a collection. (collections.delete) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $collectionId The ID of the collection. + * @param array $optParams Optional parameters. + */ + public function delete($enterpriseId, $collectionId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Retrieves the details of a collection. (collections.get) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $collectionId The ID of the collection. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_Collection + */ + public function get($enterpriseId, $collectionId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AndroidEnterprise_Collection"); + } + + /** + * Creates a new collection. (collections.insert) + * + * @param string $enterpriseId The ID of the enterprise. + * @param Google_Collection $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_Collection + */ + public function insert($enterpriseId, Google_Service_AndroidEnterprise_Collection $postBody, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_AndroidEnterprise_Collection"); + } + + /** + * Retrieves the IDs of all the collections for an enterprise. + * (collections.listCollections) + * + * @param string $enterpriseId The ID of the enterprise. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_CollectionsListResponse + */ + public function listCollections($enterpriseId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AndroidEnterprise_CollectionsListResponse"); + } + + /** + * Updates a collection. This method supports patch semantics. + * (collections.patch) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $collectionId The ID of the collection. + * @param Google_Collection $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_Collection + */ + public function patch($enterpriseId, $collectionId, Google_Service_AndroidEnterprise_Collection $postBody, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_AndroidEnterprise_Collection"); + } + + /** + * Updates a collection. (collections.update) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $collectionId The ID of the collection. + * @param Google_Collection $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_Collection + */ + public function update($enterpriseId, $collectionId, Google_Service_AndroidEnterprise_Collection $postBody, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AndroidEnterprise_Collection"); + } +} + +/** + * The "collectionviewers" collection of methods. + * Typical usage is: + * + * $androidenterpriseService = new Google_Service_AndroidEnterprise(...); + * $collectionviewers = $androidenterpriseService->collectionviewers; + * + */ +class Google_Service_AndroidEnterprise_Collectionviewers_Resource extends Google_Service_Resource +{ + + /** + * Removes the user from the list of those specifically allowed to see the + * collection. If the collection's visibility is set to viewersOnly then only + * such users will see the collection. (collectionviewers.delete) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $collectionId The ID of the collection. + * @param string $userId The ID of the user. + * @param array $optParams Optional parameters. + */ + public function delete($enterpriseId, $collectionId, $userId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId, 'userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Retrieves the ID of the user if they have been specifically allowed to see + * the collection. If the collection's visibility is set to viewersOnly then + * only these users will see the collection. (collectionviewers.get) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $collectionId The ID of the collection. + * @param string $userId The ID of the user. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_User + */ + public function get($enterpriseId, $collectionId, $userId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId, 'userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AndroidEnterprise_User"); + } + + /** + * Retrieves the IDs of the users who have been specifically allowed to see the + * collection. If the collection's visibility is set to viewersOnly then only + * these users will see the collection. + * (collectionviewers.listCollectionviewers) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $collectionId The ID of the collection. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_CollectionViewersListResponse + */ + public function listCollectionviewers($enterpriseId, $collectionId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AndroidEnterprise_CollectionViewersListResponse"); + } + + /** + * Adds the user to the list of those specifically allowed to see the + * collection. If the collection's visibility is set to viewersOnly then only + * such users will see the collection. This method supports patch semantics. + * (collectionviewers.patch) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $collectionId The ID of the collection. + * @param string $userId The ID of the user. + * @param Google_User $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_User + */ + public function patch($enterpriseId, $collectionId, $userId, Google_Service_AndroidEnterprise_User $postBody, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId, 'userId' => $userId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_AndroidEnterprise_User"); + } + + /** + * Adds the user to the list of those specifically allowed to see the + * collection. If the collection's visibility is set to viewersOnly then only + * such users will see the collection. (collectionviewers.update) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $collectionId The ID of the collection. + * @param string $userId The ID of the user. + * @param Google_User $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_User + */ + public function update($enterpriseId, $collectionId, $userId, Google_Service_AndroidEnterprise_User $postBody, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId, 'userId' => $userId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AndroidEnterprise_User"); + } +} + +/** + * The "devices" collection of methods. + * Typical usage is: + * + * $androidenterpriseService = new Google_Service_AndroidEnterprise(...); + * $devices = $androidenterpriseService->devices; + * + */ +class Google_Service_AndroidEnterprise_Devices_Resource extends Google_Service_Resource +{ + + /** + * Retrieves the details of a device. (devices.get) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param string $deviceId The ID of the device. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_Device + */ + public function get($enterpriseId, $userId, $deviceId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AndroidEnterprise_Device"); + } + + /** + * Retrieves whether a device is enabled or disabled for access by the user to + * Google services. The device state takes effect only if enforcing EMM policies + * on Android devices is enabled in the Google Admin Console. Otherwise, the + * device state is ignored and all devices are allowed access to Google + * services. (devices.getState) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param string $deviceId The ID of the device. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_DeviceState + */ + public function getState($enterpriseId, $userId, $deviceId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId); + $params = array_merge($params, $optParams); + return $this->call('getState', array($params), "Google_Service_AndroidEnterprise_DeviceState"); + } + + /** + * Retrieves the IDs of all of a user's devices. (devices.listDevices) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_DevicesListResponse + */ + public function listDevices($enterpriseId, $userId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AndroidEnterprise_DevicesListResponse"); + } + + /** + * Sets whether a device is enabled or disabled for access by the user to Google + * services. The device state takes effect only if enforcing EMM policies on + * Android devices is enabled in the Google Admin Console. Otherwise, the device + * state is ignored and all devices are allowed access to Google services. + * (devices.setState) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param string $deviceId The ID of the device. + * @param Google_DeviceState $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_DeviceState + */ + public function setState($enterpriseId, $userId, $deviceId, Google_Service_AndroidEnterprise_DeviceState $postBody, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setState', array($params), "Google_Service_AndroidEnterprise_DeviceState"); + } +} + +/** + * The "enterprises" collection of methods. + * Typical usage is: + * + * $androidenterpriseService = new Google_Service_AndroidEnterprise(...); + * $enterprises = $androidenterpriseService->enterprises; + * + */ +class Google_Service_AndroidEnterprise_Enterprises_Resource extends Google_Service_Resource +{ + + /** + * Deletes the binding between the MDM and enterprise. This is now deprecated; + * use this to unenroll customers that were previously enrolled with the + * 'insert' call, then enroll them again with the 'enroll' call. + * (enterprises.delete) + * + * @param string $enterpriseId The ID of the enterprise. + * @param array $optParams Optional parameters. + */ + public function delete($enterpriseId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Enrolls an enterprise with the calling MDM. (enterprises.enroll) + * + * @param string $token The token provided by the enterprise to register the + * MDM. + * @param Google_Enterprise $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_Enterprise + */ + public function enroll($token, Google_Service_AndroidEnterprise_Enterprise $postBody, $optParams = array()) + { + $params = array('token' => $token, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('enroll', array($params), "Google_Service_AndroidEnterprise_Enterprise"); + } + + /** + * Retrieves the name and domain of an enterprise. (enterprises.get) + * + * @param string $enterpriseId The ID of the enterprise. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_Enterprise + */ + public function get($enterpriseId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AndroidEnterprise_Enterprise"); + } + + /** + * Establishes the binding between the MDM and an enterprise. This is now + * deprecated; use enroll instead. (enterprises.insert) + * + * @param string $token The token provided by the enterprise to register the + * MDM. + * @param Google_Enterprise $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_Enterprise + */ + public function insert($token, Google_Service_AndroidEnterprise_Enterprise $postBody, $optParams = array()) + { + $params = array('token' => $token, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_AndroidEnterprise_Enterprise"); + } + + /** + * Looks up an enterprise by domain name. (enterprises.listEnterprises) + * + * @param string $domain The exact primary domain name of the enterprise to look + * up. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_EnterprisesListResponse + */ + public function listEnterprises($domain, $optParams = array()) + { + $params = array('domain' => $domain); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AndroidEnterprise_EnterprisesListResponse"); + } + + /** + * Sends a test push notification to validate the MDM integration with the + * Google Cloud Pub/Sub service for this enterprise. + * (enterprises.sendTestPushNotification) + * + * @param string $enterpriseId The ID of the enterprise. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_EnterprisesSendTestPushNotificationResponse + */ + public function sendTestPushNotification($enterpriseId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId); + $params = array_merge($params, $optParams); + return $this->call('sendTestPushNotification', array($params), "Google_Service_AndroidEnterprise_EnterprisesSendTestPushNotificationResponse"); + } + + /** + * Set the account that will be used to authenticate to the API as the + * enterprise. (enterprises.setAccount) + * + * @param string $enterpriseId The ID of the enterprise. + * @param Google_EnterpriseAccount $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_EnterpriseAccount + */ + public function setAccount($enterpriseId, Google_Service_AndroidEnterprise_EnterpriseAccount $postBody, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setAccount', array($params), "Google_Service_AndroidEnterprise_EnterpriseAccount"); + } + + /** + * Unenrolls an enterprise from the calling MDM. (enterprises.unenroll) + * + * @param string $enterpriseId The ID of the enterprise. + * @param array $optParams Optional parameters. + */ + public function unenroll($enterpriseId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId); + $params = array_merge($params, $optParams); + return $this->call('unenroll', array($params)); + } +} + +/** + * The "entitlements" collection of methods. + * Typical usage is: + * + * $androidenterpriseService = new Google_Service_AndroidEnterprise(...); + * $entitlements = $androidenterpriseService->entitlements; + * + */ +class Google_Service_AndroidEnterprise_Entitlements_Resource extends Google_Service_Resource +{ + + /** + * Removes an entitlement to an app for a user and uninstalls it. + * (entitlements.delete) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param string $entitlementId The ID of the entitlement, e.g. + * "app:com.google.android.gm". + * @param array $optParams Optional parameters. + */ + public function delete($enterpriseId, $userId, $entitlementId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'entitlementId' => $entitlementId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Retrieves details of an entitlement. (entitlements.get) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param string $entitlementId The ID of the entitlement, e.g. + * "app:com.google.android.gm". + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_Entitlement + */ + public function get($enterpriseId, $userId, $entitlementId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'entitlementId' => $entitlementId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AndroidEnterprise_Entitlement"); + } + + /** + * List of all entitlements for the specified user. Only the ID is set. + * (entitlements.listEntitlements) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_EntitlementsListResponse + */ + public function listEntitlements($enterpriseId, $userId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AndroidEnterprise_EntitlementsListResponse"); + } + + /** + * Adds or updates an entitlement to an app for a user. This method supports + * patch semantics. (entitlements.patch) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param string $entitlementId The ID of the entitlement, e.g. + * "app:com.google.android.gm". + * @param Google_Entitlement $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool install Set to true to also install the product on all the + * user's devices where possible. Failure to install on one or more devices will + * not prevent this operation from returning successfully, as long as the + * entitlement was successfully assigned to the user. + * @return Google_Service_AndroidEnterprise_Entitlement + */ + public function patch($enterpriseId, $userId, $entitlementId, Google_Service_AndroidEnterprise_Entitlement $postBody, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'entitlementId' => $entitlementId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_AndroidEnterprise_Entitlement"); + } + + /** + * Adds or updates an entitlement to an app for a user. (entitlements.update) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param string $entitlementId The ID of the entitlement, e.g. + * "app:com.google.android.gm". + * @param Google_Entitlement $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool install Set to true to also install the product on all the + * user's devices where possible. Failure to install on one or more devices will + * not prevent this operation from returning successfully, as long as the + * entitlement was successfully assigned to the user. + * @return Google_Service_AndroidEnterprise_Entitlement + */ + public function update($enterpriseId, $userId, $entitlementId, Google_Service_AndroidEnterprise_Entitlement $postBody, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'entitlementId' => $entitlementId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AndroidEnterprise_Entitlement"); + } +} + +/** + * The "grouplicenses" collection of methods. + * Typical usage is: + * + * $androidenterpriseService = new Google_Service_AndroidEnterprise(...); + * $grouplicenses = $androidenterpriseService->grouplicenses; + * + */ +class Google_Service_AndroidEnterprise_Grouplicenses_Resource extends Google_Service_Resource +{ + + /** + * Retrieves details of an enterprise's group license for a product. + * (grouplicenses.get) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $groupLicenseId The ID of the product the group license is for, + * e.g. "app:com.google.android.gm". + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_GroupLicense + */ + public function get($enterpriseId, $groupLicenseId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'groupLicenseId' => $groupLicenseId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AndroidEnterprise_GroupLicense"); + } + + /** + * Retrieves IDs of all products for which the enterprise has a group license. + * (grouplicenses.listGrouplicenses) + * + * @param string $enterpriseId The ID of the enterprise. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_GroupLicensesListResponse + */ + public function listGrouplicenses($enterpriseId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AndroidEnterprise_GroupLicensesListResponse"); + } +} + +/** + * The "grouplicenseusers" collection of methods. + * Typical usage is: + * + * $androidenterpriseService = new Google_Service_AndroidEnterprise(...); + * $grouplicenseusers = $androidenterpriseService->grouplicenseusers; + * + */ +class Google_Service_AndroidEnterprise_Grouplicenseusers_Resource extends Google_Service_Resource +{ + + /** + * Retrieves the IDs of the users who have been granted entitlements under the + * license. (grouplicenseusers.listGrouplicenseusers) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $groupLicenseId The ID of the product the group license is for, + * e.g. "app:com.google.android.gm". + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_GroupLicenseUsersListResponse + */ + public function listGrouplicenseusers($enterpriseId, $groupLicenseId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'groupLicenseId' => $groupLicenseId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AndroidEnterprise_GroupLicenseUsersListResponse"); + } +} + +/** + * The "installs" collection of methods. + * Typical usage is: + * + * $androidenterpriseService = new Google_Service_AndroidEnterprise(...); + * $installs = $androidenterpriseService->installs; + * + */ +class Google_Service_AndroidEnterprise_Installs_Resource extends Google_Service_Resource +{ + + /** + * Requests to remove an app from a device. A call to get or list will still + * show the app as installed on the device until it is actually removed. + * (installs.delete) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param string $deviceId The Android ID of the device. + * @param string $installId The ID of the product represented by the install, + * e.g. "app:com.google.android.gm". + * @param array $optParams Optional parameters. + */ + public function delete($enterpriseId, $userId, $deviceId, $installId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'installId' => $installId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Retrieves details of an installation of an app on a device. (installs.get) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param string $deviceId The Android ID of the device. + * @param string $installId The ID of the product represented by the install, + * e.g. "app:com.google.android.gm". + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_Install + */ + public function get($enterpriseId, $userId, $deviceId, $installId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'installId' => $installId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AndroidEnterprise_Install"); + } + + /** + * Retrieves the details of all apps installed on the specified device. + * (installs.listInstalls) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param string $deviceId The Android ID of the device. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_InstallsListResponse + */ + public function listInstalls($enterpriseId, $userId, $deviceId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AndroidEnterprise_InstallsListResponse"); + } + + /** + * Requests to install the latest version of an app to a device. If the app is + * already installed then it is updated to the latest version if necessary. This + * method supports patch semantics. (installs.patch) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param string $deviceId The Android ID of the device. + * @param string $installId The ID of the product represented by the install, + * e.g. "app:com.google.android.gm". + * @param Google_Install $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_Install + */ + public function patch($enterpriseId, $userId, $deviceId, $installId, Google_Service_AndroidEnterprise_Install $postBody, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'installId' => $installId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_AndroidEnterprise_Install"); + } + + /** + * Requests to install the latest version of an app to a device. If the app is + * already installed then it is updated to the latest version if necessary. + * (installs.update) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param string $deviceId The Android ID of the device. + * @param string $installId The ID of the product represented by the install, + * e.g. "app:com.google.android.gm". + * @param Google_Install $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_Install + */ + public function update($enterpriseId, $userId, $deviceId, $installId, Google_Service_AndroidEnterprise_Install $postBody, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'installId' => $installId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AndroidEnterprise_Install"); + } +} + +/** + * The "permissions" collection of methods. + * Typical usage is: + * + * $androidenterpriseService = new Google_Service_AndroidEnterprise(...); + * $permissions = $androidenterpriseService->permissions; + * + */ +class Google_Service_AndroidEnterprise_Permissions_Resource extends Google_Service_Resource +{ + + /** + * Retrieves details of an Android app permission for display to an enterprise + * admin. (permissions.get) + * + * @param string $permissionId The ID of the permission. + * @param array $optParams Optional parameters. + * + * @opt_param string language The BCP47 tag for the user's preferred language + * (e.g. "en-US", "de") + * @return Google_Service_AndroidEnterprise_Permission + */ + public function get($permissionId, $optParams = array()) + { + $params = array('permissionId' => $permissionId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AndroidEnterprise_Permission"); + } +} + +/** + * The "products" collection of methods. + * Typical usage is: + * + * $androidenterpriseService = new Google_Service_AndroidEnterprise(...); + * $products = $androidenterpriseService->products; + * + */ +class Google_Service_AndroidEnterprise_Products_Resource extends Google_Service_Resource +{ + + /** + * Approves the specified product (and the relevant app permissions, if any). + * (products.approve) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $productId The ID of the product. + * @param Google_ProductsApproveRequest $postBody + * @param array $optParams Optional parameters. + */ + public function approve($enterpriseId, $productId, Google_Service_AndroidEnterprise_ProductsApproveRequest $postBody, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'productId' => $productId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('approve', array($params)); + } + + /** + * Generates a URL that can be rendered in an iframe to display the permissions + * (if any) of a product. An enterprise admin must view these permissions and + * accept them on behalf of their organization in order to approve that product. + * + * Admins should accept the displayed permissions by interacting with a separate + * UI element in the EMM console, which in turn should trigger the use of this + * URL as the approvalUrlInfo.approvalUrl property in a Products.approve call to + * approve the product. This URL can only be used to display permissions for up + * to 1 day. (products.generateApprovalUrl) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $productId The ID of the product. + * @param array $optParams Optional parameters. + * + * @opt_param string languageCode The BCP 47 language code used for permission + * names and descriptions in the returned iframe, for instance "en-US". + * @return Google_Service_AndroidEnterprise_ProductsGenerateApprovalUrlResponse + */ + public function generateApprovalUrl($enterpriseId, $productId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'productId' => $productId); + $params = array_merge($params, $optParams); + return $this->call('generateApprovalUrl', array($params), "Google_Service_AndroidEnterprise_ProductsGenerateApprovalUrlResponse"); + } + + /** + * Retrieves details of a product for display to an enterprise admin. + * (products.get) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $productId The ID of the product, e.g. + * "app:com.google.android.gm". + * @param array $optParams Optional parameters. + * + * @opt_param string language The BCP47 tag for the user's preferred language + * (e.g. "en-US", "de"). + * @return Google_Service_AndroidEnterprise_Product + */ + public function get($enterpriseId, $productId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'productId' => $productId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AndroidEnterprise_Product"); + } + + /** + * Retrieves the schema defining app restrictions configurable for this product. + * All products have a schema, but this may be empty if no app restrictions are + * defined. (products.getAppRestrictionsSchema) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $productId The ID of the product. + * @param array $optParams Optional parameters. + * + * @opt_param string language The BCP47 tag for the user's preferred language + * (e.g. "en-US", "de"). + * @return Google_Service_AndroidEnterprise_AppRestrictionsSchema + */ + public function getAppRestrictionsSchema($enterpriseId, $productId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'productId' => $productId); + $params = array_merge($params, $optParams); + return $this->call('getAppRestrictionsSchema', array($params), "Google_Service_AndroidEnterprise_AppRestrictionsSchema"); + } + + /** + * Retrieves the Android app permissions required by this app. + * (products.getPermissions) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $productId The ID of the product. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_ProductPermissions + */ + public function getPermissions($enterpriseId, $productId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'productId' => $productId); + $params = array_merge($params, $optParams); + return $this->call('getPermissions', array($params), "Google_Service_AndroidEnterprise_ProductPermissions"); + } + + /** + * Updates the set of Android app permissions for this app that have been + * accepted by the enterprise. (products.updatePermissions) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $productId The ID of the product. + * @param Google_ProductPermissions $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_ProductPermissions + */ + public function updatePermissions($enterpriseId, $productId, Google_Service_AndroidEnterprise_ProductPermissions $postBody, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'productId' => $productId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('updatePermissions', array($params), "Google_Service_AndroidEnterprise_ProductPermissions"); + } +} + +/** + * The "users" collection of methods. + * Typical usage is: + * + * $androidenterpriseService = new Google_Service_AndroidEnterprise(...); + * $users = $androidenterpriseService->users; + * + */ +class Google_Service_AndroidEnterprise_Users_Resource extends Google_Service_Resource +{ + + /** + * Generates a token (activation code) to allow this user to configure their + * work account in the Android Setup Wizard. Revokes any previously generated + * token. (users.generateToken) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_UserToken + */ + public function generateToken($enterpriseId, $userId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('generateToken', array($params), "Google_Service_AndroidEnterprise_UserToken"); + } + + /** + * Retrieves a user's details. (users.get) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_User + */ + public function get($enterpriseId, $userId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AndroidEnterprise_User"); + } + + /** + * Retrieves the set of products a user is entitled to access. + * (users.getAvailableProductSet) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_ProductSet + */ + public function getAvailableProductSet($enterpriseId, $userId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('getAvailableProductSet', array($params), "Google_Service_AndroidEnterprise_ProductSet"); + } + + /** + * Looks up a user by email address. (users.listUsers) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $email The exact primary email address of the user to look up. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_UsersListResponse + */ + public function listUsers($enterpriseId, $email, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'email' => $email); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AndroidEnterprise_UsersListResponse"); + } + + /** + * Revokes a previously generated token (activation code) for the user. + * (users.revokeToken) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param array $optParams Optional parameters. + */ + public function revokeToken($enterpriseId, $userId, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('revokeToken', array($params)); + } + + /** + * Modifies the set of products a user is entitled to access. + * (users.setAvailableProductSet) + * + * @param string $enterpriseId The ID of the enterprise. + * @param string $userId The ID of the user. + * @param Google_ProductSet $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidEnterprise_ProductSet + */ + public function setAvailableProductSet($enterpriseId, $userId, Google_Service_AndroidEnterprise_ProductSet $postBody, $optParams = array()) + { + $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setAvailableProductSet', array($params), "Google_Service_AndroidEnterprise_ProductSet"); + } +} + + + + +class Google_Service_AndroidEnterprise_AppRestrictionsSchema extends Google_Collection +{ + protected $collection_key = 'restrictions'; + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $restrictionsType = 'Google_Service_AndroidEnterprise_AppRestrictionsSchemaRestriction'; + protected $restrictionsDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRestrictions($restrictions) + { + $this->restrictions = $restrictions; + } + public function getRestrictions() + { + return $this->restrictions; + } +} + +class Google_Service_AndroidEnterprise_AppRestrictionsSchemaRestriction extends Google_Collection +{ + protected $collection_key = 'entryValue'; + protected $internal_gapi_mappings = array( + ); + protected $defaultValueType = 'Google_Service_AndroidEnterprise_AppRestrictionsSchemaRestrictionRestrictionValue'; + protected $defaultValueDataType = ''; + public $description; + public $entry; + public $entryValue; + public $key; + public $restrictionType; + public $title; + + + public function setDefaultValue(Google_Service_AndroidEnterprise_AppRestrictionsSchemaRestrictionRestrictionValue $defaultValue) + { + $this->defaultValue = $defaultValue; + } + public function getDefaultValue() + { + return $this->defaultValue; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEntry($entry) + { + $this->entry = $entry; + } + public function getEntry() + { + return $this->entry; + } + public function setEntryValue($entryValue) + { + $this->entryValue = $entryValue; + } + public function getEntryValue() + { + return $this->entryValue; + } + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setRestrictionType($restrictionType) + { + $this->restrictionType = $restrictionType; + } + public function getRestrictionType() + { + return $this->restrictionType; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} + +class Google_Service_AndroidEnterprise_AppRestrictionsSchemaRestrictionRestrictionValue extends Google_Collection +{ + protected $collection_key = 'valueMultiselect'; + protected $internal_gapi_mappings = array( + ); + public $type; + public $valueBool; + public $valueInteger; + public $valueMultiselect; + public $valueString; + + + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setValueBool($valueBool) + { + $this->valueBool = $valueBool; + } + public function getValueBool() + { + return $this->valueBool; + } + public function setValueInteger($valueInteger) + { + $this->valueInteger = $valueInteger; + } + public function getValueInteger() + { + return $this->valueInteger; + } + public function setValueMultiselect($valueMultiselect) + { + $this->valueMultiselect = $valueMultiselect; + } + public function getValueMultiselect() + { + return $this->valueMultiselect; + } + public function setValueString($valueString) + { + $this->valueString = $valueString; + } + public function getValueString() + { + return $this->valueString; + } +} + +class Google_Service_AndroidEnterprise_AppVersion extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $versionCode; + public $versionString; + + + public function setVersionCode($versionCode) + { + $this->versionCode = $versionCode; + } + public function getVersionCode() + { + return $this->versionCode; + } + public function setVersionString($versionString) + { + $this->versionString = $versionString; + } + public function getVersionString() + { + return $this->versionString; + } +} + +class Google_Service_AndroidEnterprise_ApprovalUrlInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $approvalUrl; + public $kind; + + + public function setApprovalUrl($approvalUrl) + { + $this->approvalUrl = $approvalUrl; + } + public function getApprovalUrl() + { + return $this->approvalUrl; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_AndroidEnterprise_Collection extends Google_Collection +{ + protected $collection_key = 'productId'; + protected $internal_gapi_mappings = array( + ); + public $collectionId; + public $kind; + public $name; + public $productId; + public $visibility; + + + public function setCollectionId($collectionId) + { + $this->collectionId = $collectionId; + } + public function getCollectionId() + { + return $this->collectionId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setProductId($productId) + { + $this->productId = $productId; + } + public function getProductId() + { + return $this->productId; + } + public function setVisibility($visibility) + { + $this->visibility = $visibility; + } + public function getVisibility() + { + return $this->visibility; + } +} + +class Google_Service_AndroidEnterprise_CollectionViewersListResponse extends Google_Collection +{ + protected $collection_key = 'user'; + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $userType = 'Google_Service_AndroidEnterprise_User'; + protected $userDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setUser($user) + { + $this->user = $user; + } + public function getUser() + { + return $this->user; + } +} + +class Google_Service_AndroidEnterprise_CollectionsListResponse extends Google_Collection +{ + protected $collection_key = 'collection'; + protected $internal_gapi_mappings = array( + ); + protected $collectionType = 'Google_Service_AndroidEnterprise_Collection'; + protected $collectionDataType = 'array'; + public $kind; + + + public function setCollection($collection) + { + $this->collection = $collection; + } + public function getCollection() + { + return $this->collection; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_AndroidEnterprise_Device extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $androidId; + public $kind; + public $managementType; + + + public function setAndroidId($androidId) + { + $this->androidId = $androidId; + } + public function getAndroidId() + { + return $this->androidId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setManagementType($managementType) + { + $this->managementType = $managementType; + } + public function getManagementType() + { + return $this->managementType; + } +} + +class Google_Service_AndroidEnterprise_DeviceState extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $accountState; + public $kind; + + + public function setAccountState($accountState) + { + $this->accountState = $accountState; + } + public function getAccountState() + { + return $this->accountState; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_AndroidEnterprise_DevicesListResponse extends Google_Collection +{ + protected $collection_key = 'device'; + protected $internal_gapi_mappings = array( + ); + protected $deviceType = 'Google_Service_AndroidEnterprise_Device'; + protected $deviceDataType = 'array'; + public $kind; + + + public function setDevice($device) + { + $this->device = $device; + } + public function getDevice() + { + return $this->device; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_AndroidEnterprise_Enterprise extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $kind; + public $name; + public $primaryDomain; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPrimaryDomain($primaryDomain) + { + $this->primaryDomain = $primaryDomain; + } + public function getPrimaryDomain() + { + return $this->primaryDomain; + } +} + +class Google_Service_AndroidEnterprise_EnterpriseAccount extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $accountEmail; + public $kind; + + + public function setAccountEmail($accountEmail) + { + $this->accountEmail = $accountEmail; + } + public function getAccountEmail() + { + return $this->accountEmail; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_AndroidEnterprise_EnterprisesListResponse extends Google_Collection +{ + protected $collection_key = 'enterprise'; + protected $internal_gapi_mappings = array( + ); + protected $enterpriseType = 'Google_Service_AndroidEnterprise_Enterprise'; + protected $enterpriseDataType = 'array'; + public $kind; + + + public function setEnterprise($enterprise) + { + $this->enterprise = $enterprise; + } + public function getEnterprise() + { + return $this->enterprise; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_AndroidEnterprise_EnterprisesSendTestPushNotificationResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $messageId; + public $topicName; + + + public function setMessageId($messageId) + { + $this->messageId = $messageId; + } + public function getMessageId() + { + return $this->messageId; + } + public function setTopicName($topicName) + { + $this->topicName = $topicName; + } + public function getTopicName() + { + return $this->topicName; + } +} + +class Google_Service_AndroidEnterprise_Entitlement extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + public $productId; + public $reason; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setProductId($productId) + { + $this->productId = $productId; + } + public function getProductId() + { + return $this->productId; + } + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } +} + +class Google_Service_AndroidEnterprise_EntitlementsListResponse extends Google_Collection +{ + protected $collection_key = 'entitlement'; + protected $internal_gapi_mappings = array( + ); + protected $entitlementType = 'Google_Service_AndroidEnterprise_Entitlement'; + protected $entitlementDataType = 'array'; + public $kind; + + + public function setEntitlement($entitlement) + { + $this->entitlement = $entitlement; + } + public function getEntitlement() + { + return $this->entitlement; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_AndroidEnterprise_GroupLicense extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $acquisitionKind; + public $approval; + public $kind; + public $numProvisioned; + public $numPurchased; + public $productId; + + + public function setAcquisitionKind($acquisitionKind) + { + $this->acquisitionKind = $acquisitionKind; + } + public function getAcquisitionKind() + { + return $this->acquisitionKind; + } + public function setApproval($approval) + { + $this->approval = $approval; + } + public function getApproval() + { + return $this->approval; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNumProvisioned($numProvisioned) + { + $this->numProvisioned = $numProvisioned; + } + public function getNumProvisioned() + { + return $this->numProvisioned; + } + public function setNumPurchased($numPurchased) + { + $this->numPurchased = $numPurchased; + } + public function getNumPurchased() + { + return $this->numPurchased; + } + public function setProductId($productId) + { + $this->productId = $productId; + } + public function getProductId() + { + return $this->productId; + } +} + +class Google_Service_AndroidEnterprise_GroupLicenseUsersListResponse extends Google_Collection +{ + protected $collection_key = 'user'; + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $userType = 'Google_Service_AndroidEnterprise_User'; + protected $userDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setUser($user) + { + $this->user = $user; + } + public function getUser() + { + return $this->user; + } +} + +class Google_Service_AndroidEnterprise_GroupLicensesListResponse extends Google_Collection +{ + protected $collection_key = 'groupLicense'; + protected $internal_gapi_mappings = array( + ); + protected $groupLicenseType = 'Google_Service_AndroidEnterprise_GroupLicense'; + protected $groupLicenseDataType = 'array'; + public $kind; + + + public function setGroupLicense($groupLicense) + { + $this->groupLicense = $groupLicense; + } + public function getGroupLicense() + { + return $this->groupLicense; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_AndroidEnterprise_Install extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $installState; + public $kind; + public $productId; + public $versionCode; + + + public function setInstallState($installState) + { + $this->installState = $installState; + } + public function getInstallState() + { + return $this->installState; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setProductId($productId) + { + $this->productId = $productId; + } + public function getProductId() + { + return $this->productId; + } + public function setVersionCode($versionCode) + { + $this->versionCode = $versionCode; + } + public function getVersionCode() + { + return $this->versionCode; + } +} + +class Google_Service_AndroidEnterprise_InstallsListResponse extends Google_Collection +{ + protected $collection_key = 'install'; + protected $internal_gapi_mappings = array( + ); + protected $installType = 'Google_Service_AndroidEnterprise_Install'; + protected $installDataType = 'array'; + public $kind; + + + public function setInstall($install) + { + $this->install = $install; + } + public function getInstall() + { + return $this->install; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_AndroidEnterprise_Permission extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $description; + public $kind; + public $name; + public $permissionId; + + + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPermissionId($permissionId) + { + $this->permissionId = $permissionId; + } + public function getPermissionId() + { + return $this->permissionId; + } +} + +class Google_Service_AndroidEnterprise_Product extends Google_Collection +{ + protected $collection_key = 'appVersion'; + protected $internal_gapi_mappings = array( + ); + protected $appVersionType = 'Google_Service_AndroidEnterprise_AppVersion'; + protected $appVersionDataType = 'array'; + public $authorName; + public $detailsUrl; + public $distributionChannel; + public $iconUrl; + public $kind; + public $productId; + public $requiresContainerApp; + public $title; + public $workDetailsUrl; + + + public function setAppVersion($appVersion) + { + $this->appVersion = $appVersion; + } + public function getAppVersion() + { + return $this->appVersion; + } + public function setAuthorName($authorName) + { + $this->authorName = $authorName; + } + public function getAuthorName() + { + return $this->authorName; + } + public function setDetailsUrl($detailsUrl) + { + $this->detailsUrl = $detailsUrl; + } + public function getDetailsUrl() + { + return $this->detailsUrl; + } + public function setDistributionChannel($distributionChannel) + { + $this->distributionChannel = $distributionChannel; + } + public function getDistributionChannel() + { + return $this->distributionChannel; + } + public function setIconUrl($iconUrl) + { + $this->iconUrl = $iconUrl; + } + public function getIconUrl() + { + return $this->iconUrl; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setProductId($productId) + { + $this->productId = $productId; + } + public function getProductId() + { + return $this->productId; + } + public function setRequiresContainerApp($requiresContainerApp) + { + $this->requiresContainerApp = $requiresContainerApp; + } + public function getRequiresContainerApp() + { + return $this->requiresContainerApp; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setWorkDetailsUrl($workDetailsUrl) + { + $this->workDetailsUrl = $workDetailsUrl; + } + public function getWorkDetailsUrl() + { + return $this->workDetailsUrl; + } +} + +class Google_Service_AndroidEnterprise_ProductPermission extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $permissionId; + public $state; + + + public function setPermissionId($permissionId) + { + $this->permissionId = $permissionId; + } + public function getPermissionId() + { + return $this->permissionId; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } +} + +class Google_Service_AndroidEnterprise_ProductPermissions extends Google_Collection +{ + protected $collection_key = 'permission'; + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $permissionType = 'Google_Service_AndroidEnterprise_ProductPermission'; + protected $permissionDataType = 'array'; + public $productId; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPermission($permission) + { + $this->permission = $permission; + } + public function getPermission() + { + return $this->permission; + } + public function setProductId($productId) + { + $this->productId = $productId; + } + public function getProductId() + { + return $this->productId; + } +} + +class Google_Service_AndroidEnterprise_ProductSet extends Google_Collection +{ + protected $collection_key = 'productId'; + protected $internal_gapi_mappings = array( + ); + public $kind; + public $productId; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setProductId($productId) + { + $this->productId = $productId; + } + public function getProductId() + { + return $this->productId; + } +} + +class Google_Service_AndroidEnterprise_ProductsApproveRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $approvalUrlInfoType = 'Google_Service_AndroidEnterprise_ApprovalUrlInfo'; + protected $approvalUrlInfoDataType = ''; + + + public function setApprovalUrlInfo(Google_Service_AndroidEnterprise_ApprovalUrlInfo $approvalUrlInfo) + { + $this->approvalUrlInfo = $approvalUrlInfo; + } + public function getApprovalUrlInfo() + { + return $this->approvalUrlInfo; + } +} + +class Google_Service_AndroidEnterprise_ProductsGenerateApprovalUrlResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $url; + + + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_AndroidEnterprise_User extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $kind; + public $primaryEmail; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPrimaryEmail($primaryEmail) + { + $this->primaryEmail = $primaryEmail; + } + public function getPrimaryEmail() + { + return $this->primaryEmail; + } +} + +class Google_Service_AndroidEnterprise_UserToken extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + public $token; + public $userId; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setToken($token) + { + $this->token = $token; + } + public function getToken() + { + return $this->token; + } + public function setUserId($userId) + { + $this->userId = $userId; + } + public function getUserId() + { + return $this->userId; + } +} + +class Google_Service_AndroidEnterprise_UsersListResponse extends Google_Collection +{ + protected $collection_key = 'user'; + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $userType = 'Google_Service_AndroidEnterprise_User'; + protected $userDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setUser($user) + { + $this->user = $user; + } + public function getUser() + { + return $this->user; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/AndroidPublisher.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/AndroidPublisher.php new file mode 100644 index 0000000..8b211a2 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/AndroidPublisher.php @@ -0,0 +1,3842 @@ + + * Lets Android application developers access their Google Play accounts.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_AndroidPublisher extends Google_Service +{ + /** View and manage your Google Play Developer account. */ + const ANDROIDPUBLISHER = + "https://www.googleapis.com/auth/androidpublisher"; + + public $edits; + public $edits_apklistings; + public $edits_apks; + public $edits_details; + public $edits_expansionfiles; + public $edits_images; + public $edits_listings; + public $edits_testers; + public $edits_tracks; + public $entitlements; + public $inappproducts; + public $purchases_products; + public $purchases_subscriptions; + + + /** + * Constructs the internal representation of the AndroidPublisher service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'androidpublisher/v2/applications/'; + $this->version = 'v2'; + $this->serviceName = 'androidpublisher'; + + $this->edits = new Google_Service_AndroidPublisher_Edits_Resource( + $this, + $this->serviceName, + 'edits', + array( + 'methods' => array( + 'commit' => array( + 'path' => '{packageName}/edits/{editId}:commit', + 'httpMethod' => 'POST', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => '{packageName}/edits/{editId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{packageName}/edits/{editId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{packageName}/edits', + 'httpMethod' => 'POST', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'validate' => array( + 'path' => '{packageName}/edits/{editId}:validate', + 'httpMethod' => 'POST', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->edits_apklistings = new Google_Service_AndroidPublisher_EditsApklistings_Resource( + $this, + $this->serviceName, + 'apklistings', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'apkVersionCode' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + 'language' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'deleteall' => array( + 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'apkVersionCode' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'apkVersionCode' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + 'language' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings', + 'httpMethod' => 'GET', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'apkVersionCode' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'apkVersionCode' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + 'language' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'apkVersionCode' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + 'language' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->edits_apks = new Google_Service_AndroidPublisher_EditsApks_Resource( + $this, + $this->serviceName, + 'apks', + array( + 'methods' => array( + 'addexternallyhosted' => array( + 'path' => '{packageName}/edits/{editId}/apks/externallyHosted', + 'httpMethod' => 'POST', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{packageName}/edits/{editId}/apks', + 'httpMethod' => 'GET', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'upload' => array( + 'path' => '{packageName}/edits/{editId}/apks', + 'httpMethod' => 'POST', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->edits_details = new Google_Service_AndroidPublisher_EditsDetails_Resource( + $this, + $this->serviceName, + 'details', + array( + 'methods' => array( + 'get' => array( + 'path' => '{packageName}/edits/{editId}/details', + 'httpMethod' => 'GET', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => '{packageName}/edits/{editId}/details', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{packageName}/edits/{editId}/details', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->edits_expansionfiles = new Google_Service_AndroidPublisher_EditsExpansionfiles_Resource( + $this, + $this->serviceName, + 'expansionfiles', + array( + 'methods' => array( + 'get' => array( + 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'apkVersionCode' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + 'expansionFileType' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'apkVersionCode' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + 'expansionFileType' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'apkVersionCode' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + 'expansionFileType' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'upload' => array( + 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', + 'httpMethod' => 'POST', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'apkVersionCode' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + 'expansionFileType' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->edits_images = new Google_Service_AndroidPublisher_EditsImages_Resource( + $this, + $this->serviceName, + 'images', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}/{imageId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'language' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'imageType' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'imageId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'deleteall' => array( + 'path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'language' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'imageType' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'language' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'imageType' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'upload' => array( + 'path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}', + 'httpMethod' => 'POST', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'language' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'imageType' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->edits_listings = new Google_Service_AndroidPublisher_EditsListings_Resource( + $this, + $this->serviceName, + 'listings', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{packageName}/edits/{editId}/listings/{language}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'language' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'deleteall' => array( + 'path' => '{packageName}/edits/{editId}/listings', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{packageName}/edits/{editId}/listings/{language}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'language' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{packageName}/edits/{editId}/listings', + 'httpMethod' => 'GET', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => '{packageName}/edits/{editId}/listings/{language}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'language' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{packageName}/edits/{editId}/listings/{language}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'language' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->edits_testers = new Google_Service_AndroidPublisher_EditsTesters_Resource( + $this, + $this->serviceName, + 'testers', + array( + 'methods' => array( + 'get' => array( + 'path' => '{packageName}/edits/{editId}/testers/{track}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'track' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => '{packageName}/edits/{editId}/testers/{track}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'track' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{packageName}/edits/{editId}/testers/{track}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'track' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->edits_tracks = new Google_Service_AndroidPublisher_EditsTracks_Resource( + $this, + $this->serviceName, + 'tracks', + array( + 'methods' => array( + 'get' => array( + 'path' => '{packageName}/edits/{editId}/tracks/{track}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'track' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{packageName}/edits/{editId}/tracks', + 'httpMethod' => 'GET', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => '{packageName}/edits/{editId}/tracks/{track}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'track' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{packageName}/edits/{editId}/tracks/{track}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'editId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'track' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->entitlements = new Google_Service_AndroidPublisher_Entitlements_Resource( + $this, + $this->serviceName, + 'entitlements', + array( + 'methods' => array( + 'list' => array( + 'path' => '{packageName}/entitlements', + 'httpMethod' => 'GET', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'token' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startIndex' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'productId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->inappproducts = new Google_Service_AndroidPublisher_Inappproducts_Resource( + $this, + $this->serviceName, + 'inappproducts', + array( + 'methods' => array( + 'batch' => array( + 'path' => 'inappproducts/batch', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'delete' => array( + 'path' => '{packageName}/inappproducts/{sku}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sku' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{packageName}/inappproducts/{sku}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sku' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{packageName}/inappproducts', + 'httpMethod' => 'POST', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'autoConvertMissingPrices' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'list' => array( + 'path' => '{packageName}/inappproducts', + 'httpMethod' => 'GET', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'token' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startIndex' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => '{packageName}/inappproducts/{sku}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sku' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'autoConvertMissingPrices' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'update' => array( + 'path' => '{packageName}/inappproducts/{sku}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sku' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'autoConvertMissingPrices' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->purchases_products = new Google_Service_AndroidPublisher_PurchasesProducts_Resource( + $this, + $this->serviceName, + 'products', + array( + 'methods' => array( + 'get' => array( + 'path' => '{packageName}/purchases/products/{productId}/tokens/{token}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'token' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->purchases_subscriptions = new Google_Service_AndroidPublisher_PurchasesSubscriptions_Resource( + $this, + $this->serviceName, + 'subscriptions', + array( + 'methods' => array( + 'cancel' => array( + 'path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel', + 'httpMethod' => 'POST', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'subscriptionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'token' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'defer' => array( + 'path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:defer', + 'httpMethod' => 'POST', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'subscriptionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'token' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'subscriptionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'token' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'refund' => array( + 'path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:refund', + 'httpMethod' => 'POST', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'subscriptionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'token' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'revoke' => array( + 'path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:revoke', + 'httpMethod' => 'POST', + 'parameters' => array( + 'packageName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'subscriptionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'token' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "edits" collection of methods. + * Typical usage is: + * + * $androidpublisherService = new Google_Service_AndroidPublisher(...); + * $edits = $androidpublisherService->edits; + * + */ +class Google_Service_AndroidPublisher_Edits_Resource extends Google_Service_Resource +{ + + /** + * Commits/applies the changes made in this edit back to the app. (edits.commit) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_AppEdit + */ + public function commit($packageName, $editId, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId); + $params = array_merge($params, $optParams); + return $this->call('commit', array($params), "Google_Service_AndroidPublisher_AppEdit"); + } + + /** + * Deletes an edit for an app. Creating a new edit will automatically delete any + * of your previous edits so this method need only be called if you want to + * preemptively abandon an edit. (edits.delete) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param array $optParams Optional parameters. + */ + public function delete($packageName, $editId, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Returns information about the edit specified. Calls will fail if the edit is + * no long active (e.g. has been deleted, superseded or expired). (edits.get) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_AppEdit + */ + public function get($packageName, $editId, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AndroidPublisher_AppEdit"); + } + + /** + * Creates a new edit for an app, populated with the app's current state. + * (edits.insert) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param Google_AppEdit $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_AppEdit + */ + public function insert($packageName, Google_Service_AndroidPublisher_AppEdit $postBody, $optParams = array()) + { + $params = array('packageName' => $packageName, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_AndroidPublisher_AppEdit"); + } + + /** + * Checks that the edit can be successfully committed. The edit's changes are + * not applied to the live app. (edits.validate) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_AppEdit + */ + public function validate($packageName, $editId, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId); + $params = array_merge($params, $optParams); + return $this->call('validate', array($params), "Google_Service_AndroidPublisher_AppEdit"); + } +} + +/** + * The "apklistings" collection of methods. + * Typical usage is: + * + * $androidpublisherService = new Google_Service_AndroidPublisher(...); + * $apklistings = $androidpublisherService->apklistings; + * + */ +class Google_Service_AndroidPublisher_EditsApklistings_Resource extends Google_Service_Resource +{ + + /** + * Deletes the APK-specific localized listing for a specified APK and language + * code. (apklistings.delete) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param int $apkVersionCode The APK version code whose APK-specific listings + * should be read or modified. + * @param string $language The language code (a BCP-47 language tag) of the APK- + * specific localized listing to read or modify. For example, to select Austrian + * German, pass "de-AT". + * @param array $optParams Optional parameters. + */ + public function delete($packageName, $editId, $apkVersionCode, $language, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'language' => $language); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Deletes all the APK-specific localized listings for a specified APK. + * (apklistings.deleteall) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param int $apkVersionCode The APK version code whose APK-specific listings + * should be read or modified. + * @param array $optParams Optional parameters. + */ + public function deleteall($packageName, $editId, $apkVersionCode, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode); + $params = array_merge($params, $optParams); + return $this->call('deleteall', array($params)); + } + + /** + * Fetches the APK-specific localized listing for a specified APK and language + * code. (apklistings.get) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param int $apkVersionCode The APK version code whose APK-specific listings + * should be read or modified. + * @param string $language The language code (a BCP-47 language tag) of the APK- + * specific localized listing to read or modify. For example, to select Austrian + * German, pass "de-AT". + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_ApkListing + */ + public function get($packageName, $editId, $apkVersionCode, $language, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'language' => $language); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AndroidPublisher_ApkListing"); + } + + /** + * Lists all the APK-specific localized listings for a specified APK. + * (apklistings.listEditsApklistings) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param int $apkVersionCode The APK version code whose APK-specific listings + * should be read or modified. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_ApkListingsListResponse + */ + public function listEditsApklistings($packageName, $editId, $apkVersionCode, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AndroidPublisher_ApkListingsListResponse"); + } + + /** + * Updates or creates the APK-specific localized listing for a specified APK and + * language code. This method supports patch semantics. (apklistings.patch) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param int $apkVersionCode The APK version code whose APK-specific listings + * should be read or modified. + * @param string $language The language code (a BCP-47 language tag) of the APK- + * specific localized listing to read or modify. For example, to select Austrian + * German, pass "de-AT". + * @param Google_ApkListing $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_ApkListing + */ + public function patch($packageName, $editId, $apkVersionCode, $language, Google_Service_AndroidPublisher_ApkListing $postBody, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'language' => $language, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_AndroidPublisher_ApkListing"); + } + + /** + * Updates or creates the APK-specific localized listing for a specified APK and + * language code. (apklistings.update) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param int $apkVersionCode The APK version code whose APK-specific listings + * should be read or modified. + * @param string $language The language code (a BCP-47 language tag) of the APK- + * specific localized listing to read or modify. For example, to select Austrian + * German, pass "de-AT". + * @param Google_ApkListing $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_ApkListing + */ + public function update($packageName, $editId, $apkVersionCode, $language, Google_Service_AndroidPublisher_ApkListing $postBody, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'language' => $language, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AndroidPublisher_ApkListing"); + } +} +/** + * The "apks" collection of methods. + * Typical usage is: + * + * $androidpublisherService = new Google_Service_AndroidPublisher(...); + * $apks = $androidpublisherService->apks; + * + */ +class Google_Service_AndroidPublisher_EditsApks_Resource extends Google_Service_Resource +{ + + /** + * Creates a new APK without uploading the APK itself to Google Play, instead + * hosting the APK at a specified URL. This function is only available to + * enterprises using Google Play for Work whose application is configured to + * restrict distribution to the enterprise domain. (apks.addexternallyhosted) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param Google_ApksAddExternallyHostedRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_ApksAddExternallyHostedResponse + */ + public function addexternallyhosted($packageName, $editId, Google_Service_AndroidPublisher_ApksAddExternallyHostedRequest $postBody, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('addexternallyhosted', array($params), "Google_Service_AndroidPublisher_ApksAddExternallyHostedResponse"); + } + + /** + * (apks.listEditsApks) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_ApksListResponse + */ + public function listEditsApks($packageName, $editId, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AndroidPublisher_ApksListResponse"); + } + + /** + * (apks.upload) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_Apk + */ + public function upload($packageName, $editId, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId); + $params = array_merge($params, $optParams); + return $this->call('upload', array($params), "Google_Service_AndroidPublisher_Apk"); + } +} +/** + * The "details" collection of methods. + * Typical usage is: + * + * $androidpublisherService = new Google_Service_AndroidPublisher(...); + * $details = $androidpublisherService->details; + * + */ +class Google_Service_AndroidPublisher_EditsDetails_Resource extends Google_Service_Resource +{ + + /** + * Fetches app details for this edit. This includes the default language and + * developer support contact information. (details.get) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_AppDetails + */ + public function get($packageName, $editId, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AndroidPublisher_AppDetails"); + } + + /** + * Updates app details for this edit. This method supports patch semantics. + * (details.patch) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param Google_AppDetails $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_AppDetails + */ + public function patch($packageName, $editId, Google_Service_AndroidPublisher_AppDetails $postBody, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_AndroidPublisher_AppDetails"); + } + + /** + * Updates app details for this edit. (details.update) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param Google_AppDetails $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_AppDetails + */ + public function update($packageName, $editId, Google_Service_AndroidPublisher_AppDetails $postBody, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AndroidPublisher_AppDetails"); + } +} +/** + * The "expansionfiles" collection of methods. + * Typical usage is: + * + * $androidpublisherService = new Google_Service_AndroidPublisher(...); + * $expansionfiles = $androidpublisherService->expansionfiles; + * + */ +class Google_Service_AndroidPublisher_EditsExpansionfiles_Resource extends Google_Service_Resource +{ + + /** + * Fetches the Expansion File configuration for the APK specified. + * (expansionfiles.get) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param int $apkVersionCode The version code of the APK whose Expansion File + * configuration is being read or modified. + * @param string $expansionFileType + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_ExpansionFile + */ + public function get($packageName, $editId, $apkVersionCode, $expansionFileType, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'expansionFileType' => $expansionFileType); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AndroidPublisher_ExpansionFile"); + } + + /** + * Updates the APK's Expansion File configuration to reference another APK's + * Expansion Files. To add a new Expansion File use the Upload method. This + * method supports patch semantics. (expansionfiles.patch) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param int $apkVersionCode The version code of the APK whose Expansion File + * configuration is being read or modified. + * @param string $expansionFileType + * @param Google_ExpansionFile $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_ExpansionFile + */ + public function patch($packageName, $editId, $apkVersionCode, $expansionFileType, Google_Service_AndroidPublisher_ExpansionFile $postBody, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'expansionFileType' => $expansionFileType, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_AndroidPublisher_ExpansionFile"); + } + + /** + * Updates the APK's Expansion File configuration to reference another APK's + * Expansion Files. To add a new Expansion File use the Upload method. + * (expansionfiles.update) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param int $apkVersionCode The version code of the APK whose Expansion File + * configuration is being read or modified. + * @param string $expansionFileType + * @param Google_ExpansionFile $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_ExpansionFile + */ + public function update($packageName, $editId, $apkVersionCode, $expansionFileType, Google_Service_AndroidPublisher_ExpansionFile $postBody, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'expansionFileType' => $expansionFileType, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AndroidPublisher_ExpansionFile"); + } + + /** + * Uploads and attaches a new Expansion File to the APK specified. + * (expansionfiles.upload) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param int $apkVersionCode The version code of the APK whose Expansion File + * configuration is being read or modified. + * @param string $expansionFileType + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_ExpansionFilesUploadResponse + */ + public function upload($packageName, $editId, $apkVersionCode, $expansionFileType, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'expansionFileType' => $expansionFileType); + $params = array_merge($params, $optParams); + return $this->call('upload', array($params), "Google_Service_AndroidPublisher_ExpansionFilesUploadResponse"); + } +} +/** + * The "images" collection of methods. + * Typical usage is: + * + * $androidpublisherService = new Google_Service_AndroidPublisher(...); + * $images = $androidpublisherService->images; + * + */ +class Google_Service_AndroidPublisher_EditsImages_Resource extends Google_Service_Resource +{ + + /** + * Deletes the image (specified by id) from the edit. (images.delete) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param string $language The language code (a BCP-47 language tag) of the + * localized listing whose images are to read or modified. For example, to + * select Austrian German, pass "de-AT". + * @param string $imageType + * @param string $imageId Unique identifier an image within the set of images + * attached to this edit. + * @param array $optParams Optional parameters. + */ + public function delete($packageName, $editId, $language, $imageType, $imageId, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'imageType' => $imageType, 'imageId' => $imageId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Deletes all images for the specified language and image type. + * (images.deleteall) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param string $language The language code (a BCP-47 language tag) of the + * localized listing whose images are to read or modified. For example, to + * select Austrian German, pass "de-AT". + * @param string $imageType + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_ImagesDeleteAllResponse + */ + public function deleteall($packageName, $editId, $language, $imageType, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'imageType' => $imageType); + $params = array_merge($params, $optParams); + return $this->call('deleteall', array($params), "Google_Service_AndroidPublisher_ImagesDeleteAllResponse"); + } + + /** + * Lists all images for the specified language and image type. + * (images.listEditsImages) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param string $language The language code (a BCP-47 language tag) of the + * localized listing whose images are to read or modified. For example, to + * select Austrian German, pass "de-AT". + * @param string $imageType + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_ImagesListResponse + */ + public function listEditsImages($packageName, $editId, $language, $imageType, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'imageType' => $imageType); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AndroidPublisher_ImagesListResponse"); + } + + /** + * Uploads a new image and adds it to the list of images for the specified + * language and image type. (images.upload) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param string $language The language code (a BCP-47 language tag) of the + * localized listing whose images are to read or modified. For example, to + * select Austrian German, pass "de-AT". + * @param string $imageType + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_ImagesUploadResponse + */ + public function upload($packageName, $editId, $language, $imageType, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'imageType' => $imageType); + $params = array_merge($params, $optParams); + return $this->call('upload', array($params), "Google_Service_AndroidPublisher_ImagesUploadResponse"); + } +} +/** + * The "listings" collection of methods. + * Typical usage is: + * + * $androidpublisherService = new Google_Service_AndroidPublisher(...); + * $listings = $androidpublisherService->listings; + * + */ +class Google_Service_AndroidPublisher_EditsListings_Resource extends Google_Service_Resource +{ + + /** + * Deletes the specified localized store listing from an edit. (listings.delete) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param string $language The language code (a BCP-47 language tag) of the + * localized listing to read or modify. For example, to select Austrian German, + * pass "de-AT". + * @param array $optParams Optional parameters. + */ + public function delete($packageName, $editId, $language, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Deletes all localized listings from an edit. (listings.deleteall) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param array $optParams Optional parameters. + */ + public function deleteall($packageName, $editId, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId); + $params = array_merge($params, $optParams); + return $this->call('deleteall', array($params)); + } + + /** + * Fetches information about a localized store listing. (listings.get) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param string $language The language code (a BCP-47 language tag) of the + * localized listing to read or modify. For example, to select Austrian German, + * pass "de-AT". + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_Listing + */ + public function get($packageName, $editId, $language, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AndroidPublisher_Listing"); + } + + /** + * Returns all of the localized store listings attached to this edit. + * (listings.listEditsListings) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_ListingsListResponse + */ + public function listEditsListings($packageName, $editId, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AndroidPublisher_ListingsListResponse"); + } + + /** + * Creates or updates a localized store listing. This method supports patch + * semantics. (listings.patch) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param string $language The language code (a BCP-47 language tag) of the + * localized listing to read or modify. For example, to select Austrian German, + * pass "de-AT". + * @param Google_Listing $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_Listing + */ + public function patch($packageName, $editId, $language, Google_Service_AndroidPublisher_Listing $postBody, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_AndroidPublisher_Listing"); + } + + /** + * Creates or updates a localized store listing. (listings.update) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param string $language The language code (a BCP-47 language tag) of the + * localized listing to read or modify. For example, to select Austrian German, + * pass "de-AT". + * @param Google_Listing $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_Listing + */ + public function update($packageName, $editId, $language, Google_Service_AndroidPublisher_Listing $postBody, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AndroidPublisher_Listing"); + } +} +/** + * The "testers" collection of methods. + * Typical usage is: + * + * $androidpublisherService = new Google_Service_AndroidPublisher(...); + * $testers = $androidpublisherService->testers; + * + */ +class Google_Service_AndroidPublisher_EditsTesters_Resource extends Google_Service_Resource +{ + + /** + * (testers.get) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param string $track + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_Testers + */ + public function get($packageName, $editId, $track, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AndroidPublisher_Testers"); + } + + /** + * (testers.patch) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param string $track + * @param Google_Testers $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_Testers + */ + public function patch($packageName, $editId, $track, Google_Service_AndroidPublisher_Testers $postBody, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_AndroidPublisher_Testers"); + } + + /** + * (testers.update) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param string $track + * @param Google_Testers $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_Testers + */ + public function update($packageName, $editId, $track, Google_Service_AndroidPublisher_Testers $postBody, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AndroidPublisher_Testers"); + } +} +/** + * The "tracks" collection of methods. + * Typical usage is: + * + * $androidpublisherService = new Google_Service_AndroidPublisher(...); + * $tracks = $androidpublisherService->tracks; + * + */ +class Google_Service_AndroidPublisher_EditsTracks_Resource extends Google_Service_Resource +{ + + /** + * Fetches the track configuration for the specified track type. Includes the + * APK version codes that are in this track. (tracks.get) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param string $track The track type to read or modify. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_Track + */ + public function get($packageName, $editId, $track, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AndroidPublisher_Track"); + } + + /** + * Lists all the track configurations for this edit. (tracks.listEditsTracks) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_TracksListResponse + */ + public function listEditsTracks($packageName, $editId, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AndroidPublisher_TracksListResponse"); + } + + /** + * Updates the track configuration for the specified track type. When halted, + * the rollout track cannot be updated without adding new APKs, and adding new + * APKs will cause it to resume. This method supports patch semantics. + * (tracks.patch) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param string $track The track type to read or modify. + * @param Google_Track $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_Track + */ + public function patch($packageName, $editId, $track, Google_Service_AndroidPublisher_Track $postBody, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_AndroidPublisher_Track"); + } + + /** + * Updates the track configuration for the specified track type. When halted, + * the rollout track cannot be updated without adding new APKs, and adding new + * APKs will cause it to resume. (tracks.update) + * + * @param string $packageName Unique identifier for the Android app that is + * being updated; for example, "com.spiffygame". + * @param string $editId Unique identifier for this edit. + * @param string $track The track type to read or modify. + * @param Google_Track $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_Track + */ + public function update($packageName, $editId, $track, Google_Service_AndroidPublisher_Track $postBody, $optParams = array()) + { + $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AndroidPublisher_Track"); + } +} + +/** + * The "entitlements" collection of methods. + * Typical usage is: + * + * $androidpublisherService = new Google_Service_AndroidPublisher(...); + * $entitlements = $androidpublisherService->entitlements; + * + */ +class Google_Service_AndroidPublisher_Entitlements_Resource extends Google_Service_Resource +{ + + /** + * Lists the user's current inapp item or subscription entitlements + * (entitlements.listEntitlements) + * + * @param string $packageName The package name of the application the inapp + * product was sold in (for example, 'com.some.thing'). + * @param array $optParams Optional parameters. + * + * @opt_param string token + * @opt_param string startIndex + * @opt_param string maxResults + * @opt_param string productId The product id of the inapp product (for example, + * 'sku1'). This can be used to restrict the result set. + * @return Google_Service_AndroidPublisher_EntitlementsListResponse + */ + public function listEntitlements($packageName, $optParams = array()) + { + $params = array('packageName' => $packageName); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AndroidPublisher_EntitlementsListResponse"); + } +} + +/** + * The "inappproducts" collection of methods. + * Typical usage is: + * + * $androidpublisherService = new Google_Service_AndroidPublisher(...); + * $inappproducts = $androidpublisherService->inappproducts; + * + */ +class Google_Service_AndroidPublisher_Inappproducts_Resource extends Google_Service_Resource +{ + + /** + * (inappproducts.batch) + * + * @param Google_InappproductsBatchRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_InappproductsBatchResponse + */ + public function batch(Google_Service_AndroidPublisher_InappproductsBatchRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('batch', array($params), "Google_Service_AndroidPublisher_InappproductsBatchResponse"); + } + + /** + * Delete an in-app product for an app. (inappproducts.delete) + * + * @param string $packageName Unique identifier for the Android app with the in- + * app product; for example, "com.spiffygame". + * @param string $sku Unique identifier for the in-app product. + * @param array $optParams Optional parameters. + */ + public function delete($packageName, $sku, $optParams = array()) + { + $params = array('packageName' => $packageName, 'sku' => $sku); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Returns information about the in-app product specified. (inappproducts.get) + * + * @param string $packageName + * @param string $sku Unique identifier for the in-app product. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_InAppProduct + */ + public function get($packageName, $sku, $optParams = array()) + { + $params = array('packageName' => $packageName, 'sku' => $sku); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AndroidPublisher_InAppProduct"); + } + + /** + * Creates a new in-app product for an app. (inappproducts.insert) + * + * @param string $packageName Unique identifier for the Android app; for + * example, "com.spiffygame". + * @param Google_InAppProduct $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool autoConvertMissingPrices If true the prices for all regions + * targeted by the parent app that don't have a price specified for this in-app + * product will be auto converted to the target currency based on the default + * price. Defaults to false. + * @return Google_Service_AndroidPublisher_InAppProduct + */ + public function insert($packageName, Google_Service_AndroidPublisher_InAppProduct $postBody, $optParams = array()) + { + $params = array('packageName' => $packageName, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_AndroidPublisher_InAppProduct"); + } + + /** + * List all the in-app products for an Android app, both subscriptions and + * managed in-app products.. (inappproducts.listInappproducts) + * + * @param string $packageName Unique identifier for the Android app with in-app + * products; for example, "com.spiffygame". + * @param array $optParams Optional parameters. + * + * @opt_param string token + * @opt_param string startIndex + * @opt_param string maxResults + * @return Google_Service_AndroidPublisher_InappproductsListResponse + */ + public function listInappproducts($packageName, $optParams = array()) + { + $params = array('packageName' => $packageName); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AndroidPublisher_InappproductsListResponse"); + } + + /** + * Updates the details of an in-app product. This method supports patch + * semantics. (inappproducts.patch) + * + * @param string $packageName Unique identifier for the Android app with the in- + * app product; for example, "com.spiffygame". + * @param string $sku Unique identifier for the in-app product. + * @param Google_InAppProduct $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool autoConvertMissingPrices If true the prices for all regions + * targeted by the parent app that don't have a price specified for this in-app + * product will be auto converted to the target currency based on the default + * price. Defaults to false. + * @return Google_Service_AndroidPublisher_InAppProduct + */ + public function patch($packageName, $sku, Google_Service_AndroidPublisher_InAppProduct $postBody, $optParams = array()) + { + $params = array('packageName' => $packageName, 'sku' => $sku, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_AndroidPublisher_InAppProduct"); + } + + /** + * Updates the details of an in-app product. (inappproducts.update) + * + * @param string $packageName Unique identifier for the Android app with the in- + * app product; for example, "com.spiffygame". + * @param string $sku Unique identifier for the in-app product. + * @param Google_InAppProduct $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool autoConvertMissingPrices If true the prices for all regions + * targeted by the parent app that don't have a price specified for this in-app + * product will be auto converted to the target currency based on the default + * price. Defaults to false. + * @return Google_Service_AndroidPublisher_InAppProduct + */ + public function update($packageName, $sku, Google_Service_AndroidPublisher_InAppProduct $postBody, $optParams = array()) + { + $params = array('packageName' => $packageName, 'sku' => $sku, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AndroidPublisher_InAppProduct"); + } +} + +/** + * The "purchases" collection of methods. + * Typical usage is: + * + * $androidpublisherService = new Google_Service_AndroidPublisher(...); + * $purchases = $androidpublisherService->purchases; + * + */ +class Google_Service_AndroidPublisher_Purchases_Resource extends Google_Service_Resource +{ +} + +/** + * The "products" collection of methods. + * Typical usage is: + * + * $androidpublisherService = new Google_Service_AndroidPublisher(...); + * $products = $androidpublisherService->products; + * + */ +class Google_Service_AndroidPublisher_PurchasesProducts_Resource extends Google_Service_Resource +{ + + /** + * Checks the purchase and consumption status of an inapp item. (products.get) + * + * @param string $packageName The package name of the application the inapp + * product was sold in (for example, 'com.some.thing'). + * @param string $productId The inapp product SKU (for example, + * 'com.some.thing.inapp1'). + * @param string $token The token provided to the user's device when the inapp + * product was purchased. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_ProductPurchase + */ + public function get($packageName, $productId, $token, $optParams = array()) + { + $params = array('packageName' => $packageName, 'productId' => $productId, 'token' => $token); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AndroidPublisher_ProductPurchase"); + } +} +/** + * The "subscriptions" collection of methods. + * Typical usage is: + * + * $androidpublisherService = new Google_Service_AndroidPublisher(...); + * $subscriptions = $androidpublisherService->subscriptions; + * + */ +class Google_Service_AndroidPublisher_PurchasesSubscriptions_Resource extends Google_Service_Resource +{ + + /** + * Cancels a user's subscription purchase. The subscription remains valid until + * its expiration time. (subscriptions.cancel) + * + * @param string $packageName The package name of the application for which this + * subscription was purchased (for example, 'com.some.thing'). + * @param string $subscriptionId The purchased subscription ID (for example, + * 'monthly001'). + * @param string $token The token provided to the user's device when the + * subscription was purchased. + * @param array $optParams Optional parameters. + */ + public function cancel($packageName, $subscriptionId, $token, $optParams = array()) + { + $params = array('packageName' => $packageName, 'subscriptionId' => $subscriptionId, 'token' => $token); + $params = array_merge($params, $optParams); + return $this->call('cancel', array($params)); + } + + /** + * Defers a user's subscription purchase until a specified future expiration + * time. (subscriptions.defer) + * + * @param string $packageName The package name of the application for which this + * subscription was purchased (for example, 'com.some.thing'). + * @param string $subscriptionId The purchased subscription ID (for example, + * 'monthly001'). + * @param string $token The token provided to the user's device when the + * subscription was purchased. + * @param Google_SubscriptionPurchasesDeferRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_SubscriptionPurchasesDeferResponse + */ + public function defer($packageName, $subscriptionId, $token, Google_Service_AndroidPublisher_SubscriptionPurchasesDeferRequest $postBody, $optParams = array()) + { + $params = array('packageName' => $packageName, 'subscriptionId' => $subscriptionId, 'token' => $token, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('defer', array($params), "Google_Service_AndroidPublisher_SubscriptionPurchasesDeferResponse"); + } + + /** + * Checks whether a user's subscription purchase is valid and returns its expiry + * time. (subscriptions.get) + * + * @param string $packageName The package name of the application for which this + * subscription was purchased (for example, 'com.some.thing'). + * @param string $subscriptionId The purchased subscription ID (for example, + * 'monthly001'). + * @param string $token The token provided to the user's device when the + * subscription was purchased. + * @param array $optParams Optional parameters. + * @return Google_Service_AndroidPublisher_SubscriptionPurchase + */ + public function get($packageName, $subscriptionId, $token, $optParams = array()) + { + $params = array('packageName' => $packageName, 'subscriptionId' => $subscriptionId, 'token' => $token); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AndroidPublisher_SubscriptionPurchase"); + } + + /** + * Refunds a user's subscription purchase, but the subscription remains valid + * until its expiration time and it will continue to recur. + * (subscriptions.refund) + * + * @param string $packageName The package name of the application for which this + * subscription was purchased (for example, 'com.some.thing'). + * @param string $subscriptionId The purchased subscription ID (for example, + * 'monthly001'). + * @param string $token The token provided to the user's device when the + * subscription was purchased. + * @param array $optParams Optional parameters. + */ + public function refund($packageName, $subscriptionId, $token, $optParams = array()) + { + $params = array('packageName' => $packageName, 'subscriptionId' => $subscriptionId, 'token' => $token); + $params = array_merge($params, $optParams); + return $this->call('refund', array($params)); + } + + /** + * Refunds and immediately revokes a user's subscription purchase. Access to the + * subscription will be terminated immediately and it will stop recurring. + * (subscriptions.revoke) + * + * @param string $packageName The package name of the application for which this + * subscription was purchased (for example, 'com.some.thing'). + * @param string $subscriptionId The purchased subscription ID (for example, + * 'monthly001'). + * @param string $token The token provided to the user's device when the + * subscription was purchased. + * @param array $optParams Optional parameters. + */ + public function revoke($packageName, $subscriptionId, $token, $optParams = array()) + { + $params = array('packageName' => $packageName, 'subscriptionId' => $subscriptionId, 'token' => $token); + $params = array_merge($params, $optParams); + return $this->call('revoke', array($params)); + } +} + + + + +class Google_Service_AndroidPublisher_Apk extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $binaryType = 'Google_Service_AndroidPublisher_ApkBinary'; + protected $binaryDataType = ''; + public $versionCode; + + + public function setBinary(Google_Service_AndroidPublisher_ApkBinary $binary) + { + $this->binary = $binary; + } + public function getBinary() + { + return $this->binary; + } + public function setVersionCode($versionCode) + { + $this->versionCode = $versionCode; + } + public function getVersionCode() + { + return $this->versionCode; + } +} + +class Google_Service_AndroidPublisher_ApkBinary extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $sha1; + + + public function setSha1($sha1) + { + $this->sha1 = $sha1; + } + public function getSha1() + { + return $this->sha1; + } +} + +class Google_Service_AndroidPublisher_ApkListing extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $language; + public $recentChanges; + + + public function setLanguage($language) + { + $this->language = $language; + } + public function getLanguage() + { + return $this->language; + } + public function setRecentChanges($recentChanges) + { + $this->recentChanges = $recentChanges; + } + public function getRecentChanges() + { + return $this->recentChanges; + } +} + +class Google_Service_AndroidPublisher_ApkListingsListResponse extends Google_Collection +{ + protected $collection_key = 'listings'; + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $listingsType = 'Google_Service_AndroidPublisher_ApkListing'; + protected $listingsDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setListings($listings) + { + $this->listings = $listings; + } + public function getListings() + { + return $this->listings; + } +} + +class Google_Service_AndroidPublisher_ApksAddExternallyHostedRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $externallyHostedApkType = 'Google_Service_AndroidPublisher_ExternallyHostedApk'; + protected $externallyHostedApkDataType = ''; + + + public function setExternallyHostedApk(Google_Service_AndroidPublisher_ExternallyHostedApk $externallyHostedApk) + { + $this->externallyHostedApk = $externallyHostedApk; + } + public function getExternallyHostedApk() + { + return $this->externallyHostedApk; + } +} + +class Google_Service_AndroidPublisher_ApksAddExternallyHostedResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $externallyHostedApkType = 'Google_Service_AndroidPublisher_ExternallyHostedApk'; + protected $externallyHostedApkDataType = ''; + + + public function setExternallyHostedApk(Google_Service_AndroidPublisher_ExternallyHostedApk $externallyHostedApk) + { + $this->externallyHostedApk = $externallyHostedApk; + } + public function getExternallyHostedApk() + { + return $this->externallyHostedApk; + } +} + +class Google_Service_AndroidPublisher_ApksListResponse extends Google_Collection +{ + protected $collection_key = 'apks'; + protected $internal_gapi_mappings = array( + ); + protected $apksType = 'Google_Service_AndroidPublisher_Apk'; + protected $apksDataType = 'array'; + public $kind; + + + public function setApks($apks) + { + $this->apks = $apks; + } + public function getApks() + { + return $this->apks; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_AndroidPublisher_AppDetails extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $contactEmail; + public $contactPhone; + public $contactWebsite; + public $defaultLanguage; + + + public function setContactEmail($contactEmail) + { + $this->contactEmail = $contactEmail; + } + public function getContactEmail() + { + return $this->contactEmail; + } + public function setContactPhone($contactPhone) + { + $this->contactPhone = $contactPhone; + } + public function getContactPhone() + { + return $this->contactPhone; + } + public function setContactWebsite($contactWebsite) + { + $this->contactWebsite = $contactWebsite; + } + public function getContactWebsite() + { + return $this->contactWebsite; + } + public function setDefaultLanguage($defaultLanguage) + { + $this->defaultLanguage = $defaultLanguage; + } + public function getDefaultLanguage() + { + return $this->defaultLanguage; + } +} + +class Google_Service_AndroidPublisher_AppEdit extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $expiryTimeSeconds; + public $id; + + + public function setExpiryTimeSeconds($expiryTimeSeconds) + { + $this->expiryTimeSeconds = $expiryTimeSeconds; + } + public function getExpiryTimeSeconds() + { + return $this->expiryTimeSeconds; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } +} + +class Google_Service_AndroidPublisher_Entitlement extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + public $productId; + public $productType; + public $token; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setProductId($productId) + { + $this->productId = $productId; + } + public function getProductId() + { + return $this->productId; + } + public function setProductType($productType) + { + $this->productType = $productType; + } + public function getProductType() + { + return $this->productType; + } + public function setToken($token) + { + $this->token = $token; + } + public function getToken() + { + return $this->token; + } +} + +class Google_Service_AndroidPublisher_EntitlementsListResponse extends Google_Collection +{ + protected $collection_key = 'resources'; + protected $internal_gapi_mappings = array( + ); + protected $pageInfoType = 'Google_Service_AndroidPublisher_PageInfo'; + protected $pageInfoDataType = ''; + protected $resourcesType = 'Google_Service_AndroidPublisher_Entitlement'; + protected $resourcesDataType = 'array'; + protected $tokenPaginationType = 'Google_Service_AndroidPublisher_TokenPagination'; + protected $tokenPaginationDataType = ''; + + + public function setPageInfo(Google_Service_AndroidPublisher_PageInfo $pageInfo) + { + $this->pageInfo = $pageInfo; + } + public function getPageInfo() + { + return $this->pageInfo; + } + public function setResources($resources) + { + $this->resources = $resources; + } + public function getResources() + { + return $this->resources; + } + public function setTokenPagination(Google_Service_AndroidPublisher_TokenPagination $tokenPagination) + { + $this->tokenPagination = $tokenPagination; + } + public function getTokenPagination() + { + return $this->tokenPagination; + } +} + +class Google_Service_AndroidPublisher_ExpansionFile extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $fileSize; + public $referencesVersion; + + + public function setFileSize($fileSize) + { + $this->fileSize = $fileSize; + } + public function getFileSize() + { + return $this->fileSize; + } + public function setReferencesVersion($referencesVersion) + { + $this->referencesVersion = $referencesVersion; + } + public function getReferencesVersion() + { + return $this->referencesVersion; + } +} + +class Google_Service_AndroidPublisher_ExpansionFilesUploadResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $expansionFileType = 'Google_Service_AndroidPublisher_ExpansionFile'; + protected $expansionFileDataType = ''; + + + public function setExpansionFile(Google_Service_AndroidPublisher_ExpansionFile $expansionFile) + { + $this->expansionFile = $expansionFile; + } + public function getExpansionFile() + { + return $this->expansionFile; + } +} + +class Google_Service_AndroidPublisher_ExternallyHostedApk extends Google_Collection +{ + protected $collection_key = 'usesPermissions'; + protected $internal_gapi_mappings = array( + ); + public $applicationLabel; + public $certificateBase64s; + public $externallyHostedUrl; + public $fileSha1Base64; + public $fileSha256Base64; + public $fileSize; + public $iconBase64; + public $maximumSdk; + public $minimumSdk; + public $nativeCodes; + public $packageName; + public $usesFeatures; + protected $usesPermissionsType = 'Google_Service_AndroidPublisher_ExternallyHostedApkUsesPermission'; + protected $usesPermissionsDataType = 'array'; + public $versionCode; + public $versionName; + + + public function setApplicationLabel($applicationLabel) + { + $this->applicationLabel = $applicationLabel; + } + public function getApplicationLabel() + { + return $this->applicationLabel; + } + public function setCertificateBase64s($certificateBase64s) + { + $this->certificateBase64s = $certificateBase64s; + } + public function getCertificateBase64s() + { + return $this->certificateBase64s; + } + public function setExternallyHostedUrl($externallyHostedUrl) + { + $this->externallyHostedUrl = $externallyHostedUrl; + } + public function getExternallyHostedUrl() + { + return $this->externallyHostedUrl; + } + public function setFileSha1Base64($fileSha1Base64) + { + $this->fileSha1Base64 = $fileSha1Base64; + } + public function getFileSha1Base64() + { + return $this->fileSha1Base64; + } + public function setFileSha256Base64($fileSha256Base64) + { + $this->fileSha256Base64 = $fileSha256Base64; + } + public function getFileSha256Base64() + { + return $this->fileSha256Base64; + } + public function setFileSize($fileSize) + { + $this->fileSize = $fileSize; + } + public function getFileSize() + { + return $this->fileSize; + } + public function setIconBase64($iconBase64) + { + $this->iconBase64 = $iconBase64; + } + public function getIconBase64() + { + return $this->iconBase64; + } + public function setMaximumSdk($maximumSdk) + { + $this->maximumSdk = $maximumSdk; + } + public function getMaximumSdk() + { + return $this->maximumSdk; + } + public function setMinimumSdk($minimumSdk) + { + $this->minimumSdk = $minimumSdk; + } + public function getMinimumSdk() + { + return $this->minimumSdk; + } + public function setNativeCodes($nativeCodes) + { + $this->nativeCodes = $nativeCodes; + } + public function getNativeCodes() + { + return $this->nativeCodes; + } + public function setPackageName($packageName) + { + $this->packageName = $packageName; + } + public function getPackageName() + { + return $this->packageName; + } + public function setUsesFeatures($usesFeatures) + { + $this->usesFeatures = $usesFeatures; + } + public function getUsesFeatures() + { + return $this->usesFeatures; + } + public function setUsesPermissions($usesPermissions) + { + $this->usesPermissions = $usesPermissions; + } + public function getUsesPermissions() + { + return $this->usesPermissions; + } + public function setVersionCode($versionCode) + { + $this->versionCode = $versionCode; + } + public function getVersionCode() + { + return $this->versionCode; + } + public function setVersionName($versionName) + { + $this->versionName = $versionName; + } + public function getVersionName() + { + return $this->versionName; + } +} + +class Google_Service_AndroidPublisher_ExternallyHostedApkUsesPermission extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $maxSdkVersion; + public $name; + + + public function setMaxSdkVersion($maxSdkVersion) + { + $this->maxSdkVersion = $maxSdkVersion; + } + public function getMaxSdkVersion() + { + return $this->maxSdkVersion; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_AndroidPublisher_Image extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $sha1; + public $url; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setSha1($sha1) + { + $this->sha1 = $sha1; + } + public function getSha1() + { + return $this->sha1; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_AndroidPublisher_ImagesDeleteAllResponse extends Google_Collection +{ + protected $collection_key = 'deleted'; + protected $internal_gapi_mappings = array( + ); + protected $deletedType = 'Google_Service_AndroidPublisher_Image'; + protected $deletedDataType = 'array'; + + + public function setDeleted($deleted) + { + $this->deleted = $deleted; + } + public function getDeleted() + { + return $this->deleted; + } +} + +class Google_Service_AndroidPublisher_ImagesListResponse extends Google_Collection +{ + protected $collection_key = 'images'; + protected $internal_gapi_mappings = array( + ); + protected $imagesType = 'Google_Service_AndroidPublisher_Image'; + protected $imagesDataType = 'array'; + + + public function setImages($images) + { + $this->images = $images; + } + public function getImages() + { + return $this->images; + } +} + +class Google_Service_AndroidPublisher_ImagesUploadResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $imageType = 'Google_Service_AndroidPublisher_Image'; + protected $imageDataType = ''; + + + public function setImage(Google_Service_AndroidPublisher_Image $image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } +} + +class Google_Service_AndroidPublisher_InAppProduct extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $defaultLanguage; + protected $defaultPriceType = 'Google_Service_AndroidPublisher_Price'; + protected $defaultPriceDataType = ''; + protected $listingsType = 'Google_Service_AndroidPublisher_InAppProductListing'; + protected $listingsDataType = 'map'; + public $packageName; + protected $pricesType = 'Google_Service_AndroidPublisher_Price'; + protected $pricesDataType = 'map'; + public $purchaseType; + protected $seasonType = 'Google_Service_AndroidPublisher_Season'; + protected $seasonDataType = ''; + public $sku; + public $status; + public $subscriptionPeriod; + public $trialPeriod; + + + public function setDefaultLanguage($defaultLanguage) + { + $this->defaultLanguage = $defaultLanguage; + } + public function getDefaultLanguage() + { + return $this->defaultLanguage; + } + public function setDefaultPrice(Google_Service_AndroidPublisher_Price $defaultPrice) + { + $this->defaultPrice = $defaultPrice; + } + public function getDefaultPrice() + { + return $this->defaultPrice; + } + public function setListings($listings) + { + $this->listings = $listings; + } + public function getListings() + { + return $this->listings; + } + public function setPackageName($packageName) + { + $this->packageName = $packageName; + } + public function getPackageName() + { + return $this->packageName; + } + public function setPrices($prices) + { + $this->prices = $prices; + } + public function getPrices() + { + return $this->prices; + } + public function setPurchaseType($purchaseType) + { + $this->purchaseType = $purchaseType; + } + public function getPurchaseType() + { + return $this->purchaseType; + } + public function setSeason(Google_Service_AndroidPublisher_Season $season) + { + $this->season = $season; + } + public function getSeason() + { + return $this->season; + } + public function setSku($sku) + { + $this->sku = $sku; + } + public function getSku() + { + return $this->sku; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setSubscriptionPeriod($subscriptionPeriod) + { + $this->subscriptionPeriod = $subscriptionPeriod; + } + public function getSubscriptionPeriod() + { + return $this->subscriptionPeriod; + } + public function setTrialPeriod($trialPeriod) + { + $this->trialPeriod = $trialPeriod; + } + public function getTrialPeriod() + { + return $this->trialPeriod; + } +} + +class Google_Service_AndroidPublisher_InAppProductListing extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $description; + public $title; + + + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} + +class Google_Service_AndroidPublisher_InAppProductListings extends Google_Model +{ +} + +class Google_Service_AndroidPublisher_InAppProductPrices extends Google_Model +{ +} + +class Google_Service_AndroidPublisher_InappproductsBatchRequest extends Google_Collection +{ + protected $collection_key = 'entrys'; + protected $internal_gapi_mappings = array( + ); + protected $entrysType = 'Google_Service_AndroidPublisher_InappproductsBatchRequestEntry'; + protected $entrysDataType = 'array'; + + + public function setEntrys($entrys) + { + $this->entrys = $entrys; + } + public function getEntrys() + { + return $this->entrys; + } +} + +class Google_Service_AndroidPublisher_InappproductsBatchRequestEntry extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $batchId; + protected $inappproductsinsertrequestType = 'Google_Service_AndroidPublisher_InappproductsInsertRequest'; + protected $inappproductsinsertrequestDataType = ''; + protected $inappproductsupdaterequestType = 'Google_Service_AndroidPublisher_InappproductsUpdateRequest'; + protected $inappproductsupdaterequestDataType = ''; + public $methodName; + + + public function setBatchId($batchId) + { + $this->batchId = $batchId; + } + public function getBatchId() + { + return $this->batchId; + } + public function setInappproductsinsertrequest(Google_Service_AndroidPublisher_InappproductsInsertRequest $inappproductsinsertrequest) + { + $this->inappproductsinsertrequest = $inappproductsinsertrequest; + } + public function getInappproductsinsertrequest() + { + return $this->inappproductsinsertrequest; + } + public function setInappproductsupdaterequest(Google_Service_AndroidPublisher_InappproductsUpdateRequest $inappproductsupdaterequest) + { + $this->inappproductsupdaterequest = $inappproductsupdaterequest; + } + public function getInappproductsupdaterequest() + { + return $this->inappproductsupdaterequest; + } + public function setMethodName($methodName) + { + $this->methodName = $methodName; + } + public function getMethodName() + { + return $this->methodName; + } +} + +class Google_Service_AndroidPublisher_InappproductsBatchResponse extends Google_Collection +{ + protected $collection_key = 'entrys'; + protected $internal_gapi_mappings = array( + ); + protected $entrysType = 'Google_Service_AndroidPublisher_InappproductsBatchResponseEntry'; + protected $entrysDataType = 'array'; + public $kind; + + + public function setEntrys($entrys) + { + $this->entrys = $entrys; + } + public function getEntrys() + { + return $this->entrys; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_AndroidPublisher_InappproductsBatchResponseEntry extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $batchId; + protected $inappproductsinsertresponseType = 'Google_Service_AndroidPublisher_InappproductsInsertResponse'; + protected $inappproductsinsertresponseDataType = ''; + protected $inappproductsupdateresponseType = 'Google_Service_AndroidPublisher_InappproductsUpdateResponse'; + protected $inappproductsupdateresponseDataType = ''; + + + public function setBatchId($batchId) + { + $this->batchId = $batchId; + } + public function getBatchId() + { + return $this->batchId; + } + public function setInappproductsinsertresponse(Google_Service_AndroidPublisher_InappproductsInsertResponse $inappproductsinsertresponse) + { + $this->inappproductsinsertresponse = $inappproductsinsertresponse; + } + public function getInappproductsinsertresponse() + { + return $this->inappproductsinsertresponse; + } + public function setInappproductsupdateresponse(Google_Service_AndroidPublisher_InappproductsUpdateResponse $inappproductsupdateresponse) + { + $this->inappproductsupdateresponse = $inappproductsupdateresponse; + } + public function getInappproductsupdateresponse() + { + return $this->inappproductsupdateresponse; + } +} + +class Google_Service_AndroidPublisher_InappproductsInsertRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $inappproductType = 'Google_Service_AndroidPublisher_InAppProduct'; + protected $inappproductDataType = ''; + + + public function setInappproduct(Google_Service_AndroidPublisher_InAppProduct $inappproduct) + { + $this->inappproduct = $inappproduct; + } + public function getInappproduct() + { + return $this->inappproduct; + } +} + +class Google_Service_AndroidPublisher_InappproductsInsertResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $inappproductType = 'Google_Service_AndroidPublisher_InAppProduct'; + protected $inappproductDataType = ''; + + + public function setInappproduct(Google_Service_AndroidPublisher_InAppProduct $inappproduct) + { + $this->inappproduct = $inappproduct; + } + public function getInappproduct() + { + return $this->inappproduct; + } +} + +class Google_Service_AndroidPublisher_InappproductsListResponse extends Google_Collection +{ + protected $collection_key = 'inappproduct'; + protected $internal_gapi_mappings = array( + ); + protected $inappproductType = 'Google_Service_AndroidPublisher_InAppProduct'; + protected $inappproductDataType = 'array'; + public $kind; + protected $pageInfoType = 'Google_Service_AndroidPublisher_PageInfo'; + protected $pageInfoDataType = ''; + protected $tokenPaginationType = 'Google_Service_AndroidPublisher_TokenPagination'; + protected $tokenPaginationDataType = ''; + + + public function setInappproduct($inappproduct) + { + $this->inappproduct = $inappproduct; + } + public function getInappproduct() + { + return $this->inappproduct; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPageInfo(Google_Service_AndroidPublisher_PageInfo $pageInfo) + { + $this->pageInfo = $pageInfo; + } + public function getPageInfo() + { + return $this->pageInfo; + } + public function setTokenPagination(Google_Service_AndroidPublisher_TokenPagination $tokenPagination) + { + $this->tokenPagination = $tokenPagination; + } + public function getTokenPagination() + { + return $this->tokenPagination; + } +} + +class Google_Service_AndroidPublisher_InappproductsUpdateRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $inappproductType = 'Google_Service_AndroidPublisher_InAppProduct'; + protected $inappproductDataType = ''; + + + public function setInappproduct(Google_Service_AndroidPublisher_InAppProduct $inappproduct) + { + $this->inappproduct = $inappproduct; + } + public function getInappproduct() + { + return $this->inappproduct; + } +} + +class Google_Service_AndroidPublisher_InappproductsUpdateResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $inappproductType = 'Google_Service_AndroidPublisher_InAppProduct'; + protected $inappproductDataType = ''; + + + public function setInappproduct(Google_Service_AndroidPublisher_InAppProduct $inappproduct) + { + $this->inappproduct = $inappproduct; + } + public function getInappproduct() + { + return $this->inappproduct; + } +} + +class Google_Service_AndroidPublisher_Listing extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $fullDescription; + public $language; + public $shortDescription; + public $title; + public $video; + + + public function setFullDescription($fullDescription) + { + $this->fullDescription = $fullDescription; + } + public function getFullDescription() + { + return $this->fullDescription; + } + public function setLanguage($language) + { + $this->language = $language; + } + public function getLanguage() + { + return $this->language; + } + public function setShortDescription($shortDescription) + { + $this->shortDescription = $shortDescription; + } + public function getShortDescription() + { + return $this->shortDescription; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setVideo($video) + { + $this->video = $video; + } + public function getVideo() + { + return $this->video; + } +} + +class Google_Service_AndroidPublisher_ListingsListResponse extends Google_Collection +{ + protected $collection_key = 'listings'; + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $listingsType = 'Google_Service_AndroidPublisher_Listing'; + protected $listingsDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setListings($listings) + { + $this->listings = $listings; + } + public function getListings() + { + return $this->listings; + } +} + +class Google_Service_AndroidPublisher_MonthDay extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $day; + public $month; + + + public function setDay($day) + { + $this->day = $day; + } + public function getDay() + { + return $this->day; + } + public function setMonth($month) + { + $this->month = $month; + } + public function getMonth() + { + return $this->month; + } +} + +class Google_Service_AndroidPublisher_PageInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $resultPerPage; + public $startIndex; + public $totalResults; + + + public function setResultPerPage($resultPerPage) + { + $this->resultPerPage = $resultPerPage; + } + public function getResultPerPage() + { + return $this->resultPerPage; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } +} + +class Google_Service_AndroidPublisher_Price extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $currency; + public $priceMicros; + + + public function setCurrency($currency) + { + $this->currency = $currency; + } + public function getCurrency() + { + return $this->currency; + } + public function setPriceMicros($priceMicros) + { + $this->priceMicros = $priceMicros; + } + public function getPriceMicros() + { + return $this->priceMicros; + } +} + +class Google_Service_AndroidPublisher_ProductPurchase extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $consumptionState; + public $developerPayload; + public $kind; + public $purchaseState; + public $purchaseTimeMillis; + + + public function setConsumptionState($consumptionState) + { + $this->consumptionState = $consumptionState; + } + public function getConsumptionState() + { + return $this->consumptionState; + } + public function setDeveloperPayload($developerPayload) + { + $this->developerPayload = $developerPayload; + } + public function getDeveloperPayload() + { + return $this->developerPayload; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPurchaseState($purchaseState) + { + $this->purchaseState = $purchaseState; + } + public function getPurchaseState() + { + return $this->purchaseState; + } + public function setPurchaseTimeMillis($purchaseTimeMillis) + { + $this->purchaseTimeMillis = $purchaseTimeMillis; + } + public function getPurchaseTimeMillis() + { + return $this->purchaseTimeMillis; + } +} + +class Google_Service_AndroidPublisher_Season extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $endType = 'Google_Service_AndroidPublisher_MonthDay'; + protected $endDataType = ''; + protected $startType = 'Google_Service_AndroidPublisher_MonthDay'; + protected $startDataType = ''; + + + public function setEnd(Google_Service_AndroidPublisher_MonthDay $end) + { + $this->end = $end; + } + public function getEnd() + { + return $this->end; + } + public function setStart(Google_Service_AndroidPublisher_MonthDay $start) + { + $this->start = $start; + } + public function getStart() + { + return $this->start; + } +} + +class Google_Service_AndroidPublisher_SubscriptionDeferralInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $desiredExpiryTimeMillis; + public $expectedExpiryTimeMillis; + + + public function setDesiredExpiryTimeMillis($desiredExpiryTimeMillis) + { + $this->desiredExpiryTimeMillis = $desiredExpiryTimeMillis; + } + public function getDesiredExpiryTimeMillis() + { + return $this->desiredExpiryTimeMillis; + } + public function setExpectedExpiryTimeMillis($expectedExpiryTimeMillis) + { + $this->expectedExpiryTimeMillis = $expectedExpiryTimeMillis; + } + public function getExpectedExpiryTimeMillis() + { + return $this->expectedExpiryTimeMillis; + } +} + +class Google_Service_AndroidPublisher_SubscriptionPurchase extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $autoRenewing; + public $expiryTimeMillis; + public $kind; + public $startTimeMillis; + + + public function setAutoRenewing($autoRenewing) + { + $this->autoRenewing = $autoRenewing; + } + public function getAutoRenewing() + { + return $this->autoRenewing; + } + public function setExpiryTimeMillis($expiryTimeMillis) + { + $this->expiryTimeMillis = $expiryTimeMillis; + } + public function getExpiryTimeMillis() + { + return $this->expiryTimeMillis; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setStartTimeMillis($startTimeMillis) + { + $this->startTimeMillis = $startTimeMillis; + } + public function getStartTimeMillis() + { + return $this->startTimeMillis; + } +} + +class Google_Service_AndroidPublisher_SubscriptionPurchasesDeferRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $deferralInfoType = 'Google_Service_AndroidPublisher_SubscriptionDeferralInfo'; + protected $deferralInfoDataType = ''; + + + public function setDeferralInfo(Google_Service_AndroidPublisher_SubscriptionDeferralInfo $deferralInfo) + { + $this->deferralInfo = $deferralInfo; + } + public function getDeferralInfo() + { + return $this->deferralInfo; + } +} + +class Google_Service_AndroidPublisher_SubscriptionPurchasesDeferResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $newExpiryTimeMillis; + + + public function setNewExpiryTimeMillis($newExpiryTimeMillis) + { + $this->newExpiryTimeMillis = $newExpiryTimeMillis; + } + public function getNewExpiryTimeMillis() + { + return $this->newExpiryTimeMillis; + } +} + +class Google_Service_AndroidPublisher_Testers extends Google_Collection +{ + protected $collection_key = 'googlePlusCommunities'; + protected $internal_gapi_mappings = array( + ); + public $googleGroups; + public $googlePlusCommunities; + + + public function setGoogleGroups($googleGroups) + { + $this->googleGroups = $googleGroups; + } + public function getGoogleGroups() + { + return $this->googleGroups; + } + public function setGooglePlusCommunities($googlePlusCommunities) + { + $this->googlePlusCommunities = $googlePlusCommunities; + } + public function getGooglePlusCommunities() + { + return $this->googlePlusCommunities; + } +} + +class Google_Service_AndroidPublisher_TokenPagination extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $nextPageToken; + public $previousPageToken; + + + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPreviousPageToken($previousPageToken) + { + $this->previousPageToken = $previousPageToken; + } + public function getPreviousPageToken() + { + return $this->previousPageToken; + } +} + +class Google_Service_AndroidPublisher_Track extends Google_Collection +{ + protected $collection_key = 'versionCodes'; + protected $internal_gapi_mappings = array( + ); + public $track; + public $userFraction; + public $versionCodes; + + + public function setTrack($track) + { + $this->track = $track; + } + public function getTrack() + { + return $this->track; + } + public function setUserFraction($userFraction) + { + $this->userFraction = $userFraction; + } + public function getUserFraction() + { + return $this->userFraction; + } + public function setVersionCodes($versionCodes) + { + $this->versionCodes = $versionCodes; + } + public function getVersionCodes() + { + return $this->versionCodes; + } +} + +class Google_Service_AndroidPublisher_TracksListResponse extends Google_Collection +{ + protected $collection_key = 'tracks'; + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $tracksType = 'Google_Service_AndroidPublisher_Track'; + protected $tracksDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setTracks($tracks) + { + $this->tracks = $tracks; + } + public function getTracks() + { + return $this->tracks; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/AppState.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/AppState.php new file mode 100644 index 0000000..33edce5 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/AppState.php @@ -0,0 +1,369 @@ + + * The Google App State API.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_AppState extends Google_Service +{ + /** View and manage your data for this application. */ + const APPSTATE = + "https://www.googleapis.com/auth/appstate"; + + public $states; + + + /** + * Constructs the internal representation of the AppState service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'appstate/v1/'; + $this->version = 'v1'; + $this->serviceName = 'appstate'; + + $this->states = new Google_Service_AppState_States_Resource( + $this, + $this->serviceName, + 'states', + array( + 'methods' => array( + 'clear' => array( + 'path' => 'states/{stateKey}/clear', + 'httpMethod' => 'POST', + 'parameters' => array( + 'stateKey' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + 'currentDataVersion' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'delete' => array( + 'path' => 'states/{stateKey}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'stateKey' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'states/{stateKey}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'stateKey' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'states', + 'httpMethod' => 'GET', + 'parameters' => array( + 'includeData' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'update' => array( + 'path' => 'states/{stateKey}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'stateKey' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + 'currentStateVersion' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "states" collection of methods. + * Typical usage is: + * + * $appstateService = new Google_Service_AppState(...); + * $states = $appstateService->states; + * + */ +class Google_Service_AppState_States_Resource extends Google_Service_Resource +{ + + /** + * Clears (sets to empty) the data for the passed key if and only if the passed + * version matches the currently stored version. This method results in a + * conflict error on version mismatch. (states.clear) + * + * @param int $stateKey The key for the data to be retrieved. + * @param array $optParams Optional parameters. + * + * @opt_param string currentDataVersion The version of the data to be cleared. + * Version strings are returned by the server. + * @return Google_Service_AppState_WriteResult + */ + public function clear($stateKey, $optParams = array()) + { + $params = array('stateKey' => $stateKey); + $params = array_merge($params, $optParams); + return $this->call('clear', array($params), "Google_Service_AppState_WriteResult"); + } + + /** + * Deletes a key and the data associated with it. The key is removed and no + * longer counts against the key quota. Note that since this method is not safe + * in the face of concurrent modifications, it should only be used for + * development and testing purposes. Invoking this method in shipping code can + * result in data loss and data corruption. (states.delete) + * + * @param int $stateKey The key for the data to be retrieved. + * @param array $optParams Optional parameters. + */ + public function delete($stateKey, $optParams = array()) + { + $params = array('stateKey' => $stateKey); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Retrieves the data corresponding to the passed key. If the key does not exist + * on the server, an HTTP 404 will be returned. (states.get) + * + * @param int $stateKey The key for the data to be retrieved. + * @param array $optParams Optional parameters. + * @return Google_Service_AppState_GetResponse + */ + public function get($stateKey, $optParams = array()) + { + $params = array('stateKey' => $stateKey); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_AppState_GetResponse"); + } + + /** + * Lists all the states keys, and optionally the state data. (states.listStates) + * + * @param array $optParams Optional parameters. + * + * @opt_param bool includeData Whether to include the full data in addition to + * the version number + * @return Google_Service_AppState_ListResponse + */ + public function listStates($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_AppState_ListResponse"); + } + + /** + * Update the data associated with the input key if and only if the passed + * version matches the currently stored version. This method is safe in the face + * of concurrent writes. Maximum per-key size is 128KB. (states.update) + * + * @param int $stateKey The key for the data to be retrieved. + * @param Google_UpdateRequest $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string currentStateVersion The version of the app state your + * application is attempting to update. If this does not match the current + * version, this method will return a conflict error. If there is no data stored + * on the server for this key, the update will succeed irrespective of the value + * of this parameter. + * @return Google_Service_AppState_WriteResult + */ + public function update($stateKey, Google_Service_AppState_UpdateRequest $postBody, $optParams = array()) + { + $params = array('stateKey' => $stateKey, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_AppState_WriteResult"); + } +} + + + + +class Google_Service_AppState_GetResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $currentStateVersion; + public $data; + public $kind; + public $stateKey; + + + public function setCurrentStateVersion($currentStateVersion) + { + $this->currentStateVersion = $currentStateVersion; + } + public function getCurrentStateVersion() + { + return $this->currentStateVersion; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setStateKey($stateKey) + { + $this->stateKey = $stateKey; + } + public function getStateKey() + { + return $this->stateKey; + } +} + +class Google_Service_AppState_ListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_AppState_GetResponse'; + protected $itemsDataType = 'array'; + public $kind; + public $maximumKeyCount; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMaximumKeyCount($maximumKeyCount) + { + $this->maximumKeyCount = $maximumKeyCount; + } + public function getMaximumKeyCount() + { + return $this->maximumKeyCount; + } +} + +class Google_Service_AppState_UpdateRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $data; + public $kind; + + + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_AppState_WriteResult extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $currentStateVersion; + public $kind; + public $stateKey; + + + public function setCurrentStateVersion($currentStateVersion) + { + $this->currentStateVersion = $currentStateVersion; + } + public function getCurrentStateVersion() + { + return $this->currentStateVersion; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setStateKey($stateKey) + { + $this->stateKey = $stateKey; + } + public function getStateKey() + { + return $this->stateKey; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Appengine.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Appengine.php new file mode 100644 index 0000000..e990eb4 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Appengine.php @@ -0,0 +1,2032 @@ + + * The Google App Engine Admin API enables developers to provision and manage + * their App Engine applications.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Appengine extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + + public $apps; + public $apps_modules; + public $apps_modules_versions; + public $apps_operations; + + + /** + * Constructs the internal representation of the Appengine service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://appengine.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1beta4'; + $this->serviceName = 'appengine'; + + $this->apps = new Google_Service_Appengine_Apps_Resource( + $this, + $this->serviceName, + 'apps', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v1beta4/apps/{appsId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'appsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'ensureResourcesExist' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->apps_modules = new Google_Service_Appengine_AppsModules_Resource( + $this, + $this->serviceName, + 'modules', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'v1beta4/apps/{appsId}/modules/{modulesId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'appsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'modulesId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1beta4/apps/{appsId}/modules/{modulesId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'appsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'modulesId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1beta4/apps/{appsId}/modules', + 'httpMethod' => 'GET', + 'parameters' => array( + 'appsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'v1beta4/apps/{appsId}/modules/{modulesId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'appsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'modulesId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'migrateTraffic' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'mask' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->apps_modules_versions = new Google_Service_Appengine_AppsModulesVersions_Resource( + $this, + $this->serviceName, + 'versions', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1beta4/apps/{appsId}/modules/{modulesId}/versions', + 'httpMethod' => 'POST', + 'parameters' => array( + 'appsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'modulesId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v1beta4/apps/{appsId}/modules/{modulesId}/versions/{versionsId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'appsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'modulesId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'versionsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1beta4/apps/{appsId}/modules/{modulesId}/versions/{versionsId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'appsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'modulesId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'versionsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'v1beta4/apps/{appsId}/modules/{modulesId}/versions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'appsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'modulesId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->apps_operations = new Google_Service_Appengine_AppsOperations_Resource( + $this, + $this->serviceName, + 'operations', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v1beta4/apps/{appsId}/operations/{operationsId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'appsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'operationsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1beta4/apps/{appsId}/operations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'appsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "apps" collection of methods. + * Typical usage is: + * + * $appengineService = new Google_Service_Appengine(...); + * $apps = $appengineService->apps; + * + */ +class Google_Service_Appengine_Apps_Resource extends Google_Service_Resource +{ + + /** + * Gets information about an application. (apps.get) + * + * @param string $appsId Part of `name`. Name of the application to get. For + * example: "apps/myapp". + * @param array $optParams Optional parameters. + * + * @opt_param bool ensureResourcesExist Certain resources associated with an + * application are created on-demand. Controls whether these resources should be + * created when performing the `GET` operation. If specified and any resources + * cloud not be created, the request will fail with an error code. + * @return Google_Service_Appengine_Application + */ + public function get($appsId, $optParams = array()) + { + $params = array('appsId' => $appsId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Appengine_Application"); + } +} + +/** + * The "modules" collection of methods. + * Typical usage is: + * + * $appengineService = new Google_Service_Appengine(...); + * $modules = $appengineService->modules; + * + */ +class Google_Service_Appengine_AppsModules_Resource extends Google_Service_Resource +{ + + /** + * Deletes a module and all enclosed versions. (modules.delete) + * + * @param string $appsId Part of `name`. Name of the resource requested. For + * example: "apps/myapp/modules/default". + * @param string $modulesId Part of `name`. See documentation of `appsId`. + * @param array $optParams Optional parameters. + * @return Google_Service_Appengine_Operation + */ + public function delete($appsId, $modulesId, $optParams = array()) + { + $params = array('appsId' => $appsId, 'modulesId' => $modulesId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Appengine_Operation"); + } + + /** + * Gets the current configuration of the module. (modules.get) + * + * @param string $appsId Part of `name`. Name of the resource requested. For + * example: "apps/myapp/modules/default". + * @param string $modulesId Part of `name`. See documentation of `appsId`. + * @param array $optParams Optional parameters. + * @return Google_Service_Appengine_Module + */ + public function get($appsId, $modulesId, $optParams = array()) + { + $params = array('appsId' => $appsId, 'modulesId' => $modulesId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Appengine_Module"); + } + + /** + * Lists all the modules in the application. (modules.listAppsModules) + * + * @param string $appsId Part of `name`. Name of the resource requested. For + * example: "apps/myapp". + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize Maximum results to return per page. + * @opt_param string pageToken Continuation token for fetching the next page of + * results. + * @return Google_Service_Appengine_ListModulesResponse + */ + public function listAppsModules($appsId, $optParams = array()) + { + $params = array('appsId' => $appsId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Appengine_ListModulesResponse"); + } + + /** + * Updates the configuration of the specified module. (modules.patch) + * + * @param string $appsId Part of `name`. Name of the resource to update. For + * example: "apps/myapp/modules/default". + * @param string $modulesId Part of `name`. See documentation of `appsId`. + * @param Google_Module $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool migrateTraffic Whether to use Traffic Migration to shift + * traffic gradually. Traffic can only be migrated from a single version to + * another single version. + * @opt_param string mask Standard field mask for the set of fields to be + * updated. + * @return Google_Service_Appengine_Operation + */ + public function patch($appsId, $modulesId, Google_Service_Appengine_Module $postBody, $optParams = array()) + { + $params = array('appsId' => $appsId, 'modulesId' => $modulesId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Appengine_Operation"); + } +} + +/** + * The "versions" collection of methods. + * Typical usage is: + * + * $appengineService = new Google_Service_Appengine(...); + * $versions = $appengineService->versions; + * + */ +class Google_Service_Appengine_AppsModulesVersions_Resource extends Google_Service_Resource +{ + + /** + * Deploys new code and resource files to a version. (versions.create) + * + * @param string $appsId Part of `name`. Name of the resource to update. For + * example: "apps/myapp/modules/default". + * @param string $modulesId Part of `name`. See documentation of `appsId`. + * @param Google_Version $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Appengine_Operation + */ + public function create($appsId, $modulesId, Google_Service_Appengine_Version $postBody, $optParams = array()) + { + $params = array('appsId' => $appsId, 'modulesId' => $modulesId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Appengine_Operation"); + } + + /** + * Deletes an existing version. (versions.delete) + * + * @param string $appsId Part of `name`. Name of the resource requested. For + * example: "apps/myapp/modules/default/versions/v1". + * @param string $modulesId Part of `name`. See documentation of `appsId`. + * @param string $versionsId Part of `name`. See documentation of `appsId`. + * @param array $optParams Optional parameters. + * @return Google_Service_Appengine_Operation + */ + public function delete($appsId, $modulesId, $versionsId, $optParams = array()) + { + $params = array('appsId' => $appsId, 'modulesId' => $modulesId, 'versionsId' => $versionsId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Appengine_Operation"); + } + + /** + * Gets application deployment information. (versions.get) + * + * @param string $appsId Part of `name`. Name of the resource requested. For + * example: "apps/myapp/modules/default/versions/v1". + * @param string $modulesId Part of `name`. See documentation of `appsId`. + * @param string $versionsId Part of `name`. See documentation of `appsId`. + * @param array $optParams Optional parameters. + * + * @opt_param string view Controls the set of fields returned in the `Get` + * response. + * @return Google_Service_Appengine_Version + */ + public function get($appsId, $modulesId, $versionsId, $optParams = array()) + { + $params = array('appsId' => $appsId, 'modulesId' => $modulesId, 'versionsId' => $versionsId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Appengine_Version"); + } + + /** + * Lists the versions of a module. (versions.listAppsModulesVersions) + * + * @param string $appsId Part of `name`. Name of the resource requested. For + * example: "apps/myapp/modules/default". + * @param string $modulesId Part of `name`. See documentation of `appsId`. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Continuation token for fetching the next page of + * results. + * @opt_param int pageSize Maximum results to return per page. + * @opt_param string view Controls the set of fields returned in the `List` + * response. + * @return Google_Service_Appengine_ListVersionsResponse + */ + public function listAppsModulesVersions($appsId, $modulesId, $optParams = array()) + { + $params = array('appsId' => $appsId, 'modulesId' => $modulesId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Appengine_ListVersionsResponse"); + } +} +/** + * The "operations" collection of methods. + * Typical usage is: + * + * $appengineService = new Google_Service_Appengine(...); + * $operations = $appengineService->operations; + * + */ +class Google_Service_Appengine_AppsOperations_Resource extends Google_Service_Resource +{ + + /** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. (operations.get) + * + * @param string $appsId Part of `name`. The name of the operation resource. + * @param string $operationsId Part of `name`. See documentation of `appsId`. + * @param array $optParams Optional parameters. + * @return Google_Service_Appengine_Operation + */ + public function get($appsId, $operationsId, $optParams = array()) + { + $params = array('appsId' => $appsId, 'operationsId' => $operationsId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Appengine_Operation"); + } + + /** + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the + * `name` binding below allows API services to override the binding to use + * different resource name schemes, such as `users/operations`. + * (operations.listAppsOperations) + * + * @param string $appsId Part of `name`. The name of the operation collection. + * @param array $optParams Optional parameters. + * + * @opt_param string filter The standard list filter. + * @opt_param int pageSize The standard list page size. + * @opt_param string pageToken The standard list page token. + * @return Google_Service_Appengine_ListOperationsResponse + */ + public function listAppsOperations($appsId, $optParams = array()) + { + $params = array('appsId' => $appsId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Appengine_ListOperationsResponse"); + } +} + + + + +class Google_Service_Appengine_ApiConfigHandler extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $authFailAction; + public $login; + public $script; + public $securityLevel; + public $url; + + + public function setAuthFailAction($authFailAction) + { + $this->authFailAction = $authFailAction; + } + public function getAuthFailAction() + { + return $this->authFailAction; + } + public function setLogin($login) + { + $this->login = $login; + } + public function getLogin() + { + return $this->login; + } + public function setScript($script) + { + $this->script = $script; + } + public function getScript() + { + return $this->script; + } + public function setSecurityLevel($securityLevel) + { + $this->securityLevel = $securityLevel; + } + public function getSecurityLevel() + { + return $this->securityLevel; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_Appengine_ApiEndpointHandler extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $scriptPath; + + + public function setScriptPath($scriptPath) + { + $this->scriptPath = $scriptPath; + } + public function getScriptPath() + { + return $this->scriptPath; + } +} + +class Google_Service_Appengine_Application extends Google_Collection +{ + protected $collection_key = 'dispatchRules'; + protected $internal_gapi_mappings = array( + ); + public $codeBucket; + protected $dispatchRulesType = 'Google_Service_Appengine_UrlDispatchRule'; + protected $dispatchRulesDataType = 'array'; + public $id; + public $location; + public $name; + + + public function setCodeBucket($codeBucket) + { + $this->codeBucket = $codeBucket; + } + public function getCodeBucket() + { + return $this->codeBucket; + } + public function setDispatchRules($dispatchRules) + { + $this->dispatchRules = $dispatchRules; + } + public function getDispatchRules() + { + return $this->dispatchRules; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_Appengine_AutomaticScaling extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $coolDownPeriod; + protected $cpuUtilizationType = 'Google_Service_Appengine_CpuUtilization'; + protected $cpuUtilizationDataType = ''; + public $maxConcurrentRequests; + public $maxIdleInstances; + public $maxPendingLatency; + public $maxTotalInstances; + public $minIdleInstances; + public $minPendingLatency; + public $minTotalInstances; + + + public function setCoolDownPeriod($coolDownPeriod) + { + $this->coolDownPeriod = $coolDownPeriod; + } + public function getCoolDownPeriod() + { + return $this->coolDownPeriod; + } + public function setCpuUtilization(Google_Service_Appengine_CpuUtilization $cpuUtilization) + { + $this->cpuUtilization = $cpuUtilization; + } + public function getCpuUtilization() + { + return $this->cpuUtilization; + } + public function setMaxConcurrentRequests($maxConcurrentRequests) + { + $this->maxConcurrentRequests = $maxConcurrentRequests; + } + public function getMaxConcurrentRequests() + { + return $this->maxConcurrentRequests; + } + public function setMaxIdleInstances($maxIdleInstances) + { + $this->maxIdleInstances = $maxIdleInstances; + } + public function getMaxIdleInstances() + { + return $this->maxIdleInstances; + } + public function setMaxPendingLatency($maxPendingLatency) + { + $this->maxPendingLatency = $maxPendingLatency; + } + public function getMaxPendingLatency() + { + return $this->maxPendingLatency; + } + public function setMaxTotalInstances($maxTotalInstances) + { + $this->maxTotalInstances = $maxTotalInstances; + } + public function getMaxTotalInstances() + { + return $this->maxTotalInstances; + } + public function setMinIdleInstances($minIdleInstances) + { + $this->minIdleInstances = $minIdleInstances; + } + public function getMinIdleInstances() + { + return $this->minIdleInstances; + } + public function setMinPendingLatency($minPendingLatency) + { + $this->minPendingLatency = $minPendingLatency; + } + public function getMinPendingLatency() + { + return $this->minPendingLatency; + } + public function setMinTotalInstances($minTotalInstances) + { + $this->minTotalInstances = $minTotalInstances; + } + public function getMinTotalInstances() + { + return $this->minTotalInstances; + } +} + +class Google_Service_Appengine_BasicScaling extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $idleTimeout; + public $maxInstances; + + + public function setIdleTimeout($idleTimeout) + { + $this->idleTimeout = $idleTimeout; + } + public function getIdleTimeout() + { + return $this->idleTimeout; + } + public function setMaxInstances($maxInstances) + { + $this->maxInstances = $maxInstances; + } + public function getMaxInstances() + { + return $this->maxInstances; + } +} + +class Google_Service_Appengine_ContainerInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $image; + + + public function setImage($image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } +} + +class Google_Service_Appengine_CpuUtilization extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $aggregationWindowLength; + public $targetUtilization; + + + public function setAggregationWindowLength($aggregationWindowLength) + { + $this->aggregationWindowLength = $aggregationWindowLength; + } + public function getAggregationWindowLength() + { + return $this->aggregationWindowLength; + } + public function setTargetUtilization($targetUtilization) + { + $this->targetUtilization = $targetUtilization; + } + public function getTargetUtilization() + { + return $this->targetUtilization; + } +} + +class Google_Service_Appengine_Deployment extends Google_Collection +{ + protected $collection_key = 'sourceReferences'; + protected $internal_gapi_mappings = array( + ); + protected $containerType = 'Google_Service_Appengine_ContainerInfo'; + protected $containerDataType = ''; + protected $filesType = 'Google_Service_Appengine_FileInfo'; + protected $filesDataType = 'map'; + protected $sourceReferencesType = 'Google_Service_Appengine_SourceReference'; + protected $sourceReferencesDataType = 'array'; + + + public function setContainer(Google_Service_Appengine_ContainerInfo $container) + { + $this->container = $container; + } + public function getContainer() + { + return $this->container; + } + public function setFiles($files) + { + $this->files = $files; + } + public function getFiles() + { + return $this->files; + } + public function setSourceReferences($sourceReferences) + { + $this->sourceReferences = $sourceReferences; + } + public function getSourceReferences() + { + return $this->sourceReferences; + } +} + +class Google_Service_Appengine_DeploymentFiles extends Google_Model +{ +} + +class Google_Service_Appengine_ErrorHandler extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $errorCode; + public $mimeType; + public $staticFile; + + + public function setErrorCode($errorCode) + { + $this->errorCode = $errorCode; + } + public function getErrorCode() + { + return $this->errorCode; + } + public function setMimeType($mimeType) + { + $this->mimeType = $mimeType; + } + public function getMimeType() + { + return $this->mimeType; + } + public function setStaticFile($staticFile) + { + $this->staticFile = $staticFile; + } + public function getStaticFile() + { + return $this->staticFile; + } +} + +class Google_Service_Appengine_FileInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $mimeType; + public $sha1Sum; + public $sourceUrl; + + + public function setMimeType($mimeType) + { + $this->mimeType = $mimeType; + } + public function getMimeType() + { + return $this->mimeType; + } + public function setSha1Sum($sha1Sum) + { + $this->sha1Sum = $sha1Sum; + } + public function getSha1Sum() + { + return $this->sha1Sum; + } + public function setSourceUrl($sourceUrl) + { + $this->sourceUrl = $sourceUrl; + } + public function getSourceUrl() + { + return $this->sourceUrl; + } +} + +class Google_Service_Appengine_HealthCheck extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $checkInterval; + public $disableHealthCheck; + public $healthyThreshold; + public $host; + public $restartThreshold; + public $timeout; + public $unhealthyThreshold; + + + public function setCheckInterval($checkInterval) + { + $this->checkInterval = $checkInterval; + } + public function getCheckInterval() + { + return $this->checkInterval; + } + public function setDisableHealthCheck($disableHealthCheck) + { + $this->disableHealthCheck = $disableHealthCheck; + } + public function getDisableHealthCheck() + { + return $this->disableHealthCheck; + } + public function setHealthyThreshold($healthyThreshold) + { + $this->healthyThreshold = $healthyThreshold; + } + public function getHealthyThreshold() + { + return $this->healthyThreshold; + } + public function setHost($host) + { + $this->host = $host; + } + public function getHost() + { + return $this->host; + } + public function setRestartThreshold($restartThreshold) + { + $this->restartThreshold = $restartThreshold; + } + public function getRestartThreshold() + { + return $this->restartThreshold; + } + public function setTimeout($timeout) + { + $this->timeout = $timeout; + } + public function getTimeout() + { + return $this->timeout; + } + public function setUnhealthyThreshold($unhealthyThreshold) + { + $this->unhealthyThreshold = $unhealthyThreshold; + } + public function getUnhealthyThreshold() + { + return $this->unhealthyThreshold; + } +} + +class Google_Service_Appengine_Library extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $name; + public $version; + + + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} + +class Google_Service_Appengine_ListModulesResponse extends Google_Collection +{ + protected $collection_key = 'modules'; + protected $internal_gapi_mappings = array( + ); + protected $modulesType = 'Google_Service_Appengine_Module'; + protected $modulesDataType = 'array'; + public $nextPageToken; + + + public function setModules($modules) + { + $this->modules = $modules; + } + public function getModules() + { + return $this->modules; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Appengine_ListOperationsResponse extends Google_Collection +{ + protected $collection_key = 'operations'; + protected $internal_gapi_mappings = array( + ); + public $nextPageToken; + protected $operationsType = 'Google_Service_Appengine_Operation'; + protected $operationsDataType = 'array'; + + + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setOperations($operations) + { + $this->operations = $operations; + } + public function getOperations() + { + return $this->operations; + } +} + +class Google_Service_Appengine_ListVersionsResponse extends Google_Collection +{ + protected $collection_key = 'versions'; + protected $internal_gapi_mappings = array( + ); + public $nextPageToken; + protected $versionsType = 'Google_Service_Appengine_Version'; + protected $versionsDataType = 'array'; + + + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setVersions($versions) + { + $this->versions = $versions; + } + public function getVersions() + { + return $this->versions; + } +} + +class Google_Service_Appengine_ManualScaling extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $instances; + + + public function setInstances($instances) + { + $this->instances = $instances; + } + public function getInstances() + { + return $this->instances; + } +} + +class Google_Service_Appengine_Module extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $name; + protected $splitType = 'Google_Service_Appengine_TrafficSplit'; + protected $splitDataType = ''; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSplit(Google_Service_Appengine_TrafficSplit $split) + { + $this->split = $split; + } + public function getSplit() + { + return $this->split; + } +} + +class Google_Service_Appengine_Network extends Google_Collection +{ + protected $collection_key = 'forwardedPorts'; + protected $internal_gapi_mappings = array( + ); + public $forwardedPorts; + public $instanceTag; + public $name; + + + public function setForwardedPorts($forwardedPorts) + { + $this->forwardedPorts = $forwardedPorts; + } + public function getForwardedPorts() + { + return $this->forwardedPorts; + } + public function setInstanceTag($instanceTag) + { + $this->instanceTag = $instanceTag; + } + public function getInstanceTag() + { + return $this->instanceTag; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_Appengine_Operation extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $done; + protected $errorType = 'Google_Service_Appengine_Status'; + protected $errorDataType = ''; + public $metadata; + public $name; + public $response; + + + public function setDone($done) + { + $this->done = $done; + } + public function getDone() + { + return $this->done; + } + public function setError(Google_Service_Appengine_Status $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setMetadata($metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setResponse($response) + { + $this->response = $response; + } + public function getResponse() + { + return $this->response; + } +} + +class Google_Service_Appengine_OperationMetadata extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $endTime; + public $insertTime; + public $method; + public $operationType; + public $target; + public $user; + + + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setInsertTime($insertTime) + { + $this->insertTime = $insertTime; + } + public function getInsertTime() + { + return $this->insertTime; + } + public function setMethod($method) + { + $this->method = $method; + } + public function getMethod() + { + return $this->method; + } + public function setOperationType($operationType) + { + $this->operationType = $operationType; + } + public function getOperationType() + { + return $this->operationType; + } + public function setTarget($target) + { + $this->target = $target; + } + public function getTarget() + { + return $this->target; + } + public function setUser($user) + { + $this->user = $user; + } + public function getUser() + { + return $this->user; + } +} + +class Google_Service_Appengine_OperationResponse extends Google_Model +{ +} + +class Google_Service_Appengine_Resources extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $cpu; + public $diskGb; + public $memoryGb; + + + public function setCpu($cpu) + { + $this->cpu = $cpu; + } + public function getCpu() + { + return $this->cpu; + } + public function setDiskGb($diskGb) + { + $this->diskGb = $diskGb; + } + public function getDiskGb() + { + return $this->diskGb; + } + public function setMemoryGb($memoryGb) + { + $this->memoryGb = $memoryGb; + } + public function getMemoryGb() + { + return $this->memoryGb; + } +} + +class Google_Service_Appengine_ScriptHandler extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $scriptPath; + + + public function setScriptPath($scriptPath) + { + $this->scriptPath = $scriptPath; + } + public function getScriptPath() + { + return $this->scriptPath; + } +} + +class Google_Service_Appengine_SourceReference extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $repository; + public $revisionId; + + + public function setRepository($repository) + { + $this->repository = $repository; + } + public function getRepository() + { + return $this->repository; + } + public function setRevisionId($revisionId) + { + $this->revisionId = $revisionId; + } + public function getRevisionId() + { + return $this->revisionId; + } +} + +class Google_Service_Appengine_StaticDirectoryHandler extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $applicationReadable; + public $directory; + public $expiration; + public $httpHeaders; + public $mimeType; + public $requireMatchingFile; + + + public function setApplicationReadable($applicationReadable) + { + $this->applicationReadable = $applicationReadable; + } + public function getApplicationReadable() + { + return $this->applicationReadable; + } + public function setDirectory($directory) + { + $this->directory = $directory; + } + public function getDirectory() + { + return $this->directory; + } + public function setExpiration($expiration) + { + $this->expiration = $expiration; + } + public function getExpiration() + { + return $this->expiration; + } + public function setHttpHeaders($httpHeaders) + { + $this->httpHeaders = $httpHeaders; + } + public function getHttpHeaders() + { + return $this->httpHeaders; + } + public function setMimeType($mimeType) + { + $this->mimeType = $mimeType; + } + public function getMimeType() + { + return $this->mimeType; + } + public function setRequireMatchingFile($requireMatchingFile) + { + $this->requireMatchingFile = $requireMatchingFile; + } + public function getRequireMatchingFile() + { + return $this->requireMatchingFile; + } +} + +class Google_Service_Appengine_StaticDirectoryHandlerHttpHeaders extends Google_Model +{ +} + +class Google_Service_Appengine_StaticFilesHandler extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $applicationReadable; + public $expiration; + public $httpHeaders; + public $mimeType; + public $path; + public $requireMatchingFile; + public $uploadPathRegex; + + + public function setApplicationReadable($applicationReadable) + { + $this->applicationReadable = $applicationReadable; + } + public function getApplicationReadable() + { + return $this->applicationReadable; + } + public function setExpiration($expiration) + { + $this->expiration = $expiration; + } + public function getExpiration() + { + return $this->expiration; + } + public function setHttpHeaders($httpHeaders) + { + $this->httpHeaders = $httpHeaders; + } + public function getHttpHeaders() + { + return $this->httpHeaders; + } + public function setMimeType($mimeType) + { + $this->mimeType = $mimeType; + } + public function getMimeType() + { + return $this->mimeType; + } + public function setPath($path) + { + $this->path = $path; + } + public function getPath() + { + return $this->path; + } + public function setRequireMatchingFile($requireMatchingFile) + { + $this->requireMatchingFile = $requireMatchingFile; + } + public function getRequireMatchingFile() + { + return $this->requireMatchingFile; + } + public function setUploadPathRegex($uploadPathRegex) + { + $this->uploadPathRegex = $uploadPathRegex; + } + public function getUploadPathRegex() + { + return $this->uploadPathRegex; + } +} + +class Google_Service_Appengine_StaticFilesHandlerHttpHeaders extends Google_Model +{ +} + +class Google_Service_Appengine_Status extends Google_Collection +{ + protected $collection_key = 'details'; + protected $internal_gapi_mappings = array( + ); + public $code; + public $details; + public $message; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setDetails($details) + { + $this->details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_Appengine_StatusDetails extends Google_Model +{ +} + +class Google_Service_Appengine_TrafficSplit extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $allocations; + public $shardBy; + + + public function setAllocations($allocations) + { + $this->allocations = $allocations; + } + public function getAllocations() + { + return $this->allocations; + } + public function setShardBy($shardBy) + { + $this->shardBy = $shardBy; + } + public function getShardBy() + { + return $this->shardBy; + } +} + +class Google_Service_Appengine_TrafficSplitAllocations extends Google_Model +{ +} + +class Google_Service_Appengine_UrlDispatchRule extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $domain; + public $module; + public $path; + + + public function setDomain($domain) + { + $this->domain = $domain; + } + public function getDomain() + { + return $this->domain; + } + public function setModule($module) + { + $this->module = $module; + } + public function getModule() + { + return $this->module; + } + public function setPath($path) + { + $this->path = $path; + } + public function getPath() + { + return $this->path; + } +} + +class Google_Service_Appengine_UrlMap extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $apiEndpointType = 'Google_Service_Appengine_ApiEndpointHandler'; + protected $apiEndpointDataType = ''; + public $authFailAction; + public $login; + public $redirectHttpResponseCode; + protected $scriptType = 'Google_Service_Appengine_ScriptHandler'; + protected $scriptDataType = ''; + public $securityLevel; + protected $staticDirectoryType = 'Google_Service_Appengine_StaticDirectoryHandler'; + protected $staticDirectoryDataType = ''; + protected $staticFilesType = 'Google_Service_Appengine_StaticFilesHandler'; + protected $staticFilesDataType = ''; + public $urlRegex; + + + public function setApiEndpoint(Google_Service_Appengine_ApiEndpointHandler $apiEndpoint) + { + $this->apiEndpoint = $apiEndpoint; + } + public function getApiEndpoint() + { + return $this->apiEndpoint; + } + public function setAuthFailAction($authFailAction) + { + $this->authFailAction = $authFailAction; + } + public function getAuthFailAction() + { + return $this->authFailAction; + } + public function setLogin($login) + { + $this->login = $login; + } + public function getLogin() + { + return $this->login; + } + public function setRedirectHttpResponseCode($redirectHttpResponseCode) + { + $this->redirectHttpResponseCode = $redirectHttpResponseCode; + } + public function getRedirectHttpResponseCode() + { + return $this->redirectHttpResponseCode; + } + public function setScript(Google_Service_Appengine_ScriptHandler $script) + { + $this->script = $script; + } + public function getScript() + { + return $this->script; + } + public function setSecurityLevel($securityLevel) + { + $this->securityLevel = $securityLevel; + } + public function getSecurityLevel() + { + return $this->securityLevel; + } + public function setStaticDirectory(Google_Service_Appengine_StaticDirectoryHandler $staticDirectory) + { + $this->staticDirectory = $staticDirectory; + } + public function getStaticDirectory() + { + return $this->staticDirectory; + } + public function setStaticFiles(Google_Service_Appengine_StaticFilesHandler $staticFiles) + { + $this->staticFiles = $staticFiles; + } + public function getStaticFiles() + { + return $this->staticFiles; + } + public function setUrlRegex($urlRegex) + { + $this->urlRegex = $urlRegex; + } + public function getUrlRegex() + { + return $this->urlRegex; + } +} + +class Google_Service_Appengine_Version extends Google_Collection +{ + protected $collection_key = 'libraries'; + protected $internal_gapi_mappings = array( + ); + protected $apiConfigType = 'Google_Service_Appengine_ApiConfigHandler'; + protected $apiConfigDataType = ''; + protected $automaticScalingType = 'Google_Service_Appengine_AutomaticScaling'; + protected $automaticScalingDataType = ''; + protected $basicScalingType = 'Google_Service_Appengine_BasicScaling'; + protected $basicScalingDataType = ''; + public $betaSettings; + public $creationTime; + public $defaultExpiration; + public $deployer; + protected $deploymentType = 'Google_Service_Appengine_Deployment'; + protected $deploymentDataType = ''; + public $env; + public $envVariables; + protected $errorHandlersType = 'Google_Service_Appengine_ErrorHandler'; + protected $errorHandlersDataType = 'array'; + protected $handlersType = 'Google_Service_Appengine_UrlMap'; + protected $handlersDataType = 'array'; + protected $healthCheckType = 'Google_Service_Appengine_HealthCheck'; + protected $healthCheckDataType = ''; + public $id; + public $inboundServices; + public $instanceClass; + protected $librariesType = 'Google_Service_Appengine_Library'; + protected $librariesDataType = 'array'; + protected $manualScalingType = 'Google_Service_Appengine_ManualScaling'; + protected $manualScalingDataType = ''; + public $name; + protected $networkType = 'Google_Service_Appengine_Network'; + protected $networkDataType = ''; + public $nobuildFilesRegex; + protected $resourcesType = 'Google_Service_Appengine_Resources'; + protected $resourcesDataType = ''; + public $runtime; + public $servingStatus; + public $threadsafe; + public $vm; + + + public function setApiConfig(Google_Service_Appengine_ApiConfigHandler $apiConfig) + { + $this->apiConfig = $apiConfig; + } + public function getApiConfig() + { + return $this->apiConfig; + } + public function setAutomaticScaling(Google_Service_Appengine_AutomaticScaling $automaticScaling) + { + $this->automaticScaling = $automaticScaling; + } + public function getAutomaticScaling() + { + return $this->automaticScaling; + } + public function setBasicScaling(Google_Service_Appengine_BasicScaling $basicScaling) + { + $this->basicScaling = $basicScaling; + } + public function getBasicScaling() + { + return $this->basicScaling; + } + public function setBetaSettings($betaSettings) + { + $this->betaSettings = $betaSettings; + } + public function getBetaSettings() + { + return $this->betaSettings; + } + public function setCreationTime($creationTime) + { + $this->creationTime = $creationTime; + } + public function getCreationTime() + { + return $this->creationTime; + } + public function setDefaultExpiration($defaultExpiration) + { + $this->defaultExpiration = $defaultExpiration; + } + public function getDefaultExpiration() + { + return $this->defaultExpiration; + } + public function setDeployer($deployer) + { + $this->deployer = $deployer; + } + public function getDeployer() + { + return $this->deployer; + } + public function setDeployment(Google_Service_Appengine_Deployment $deployment) + { + $this->deployment = $deployment; + } + public function getDeployment() + { + return $this->deployment; + } + public function setEnv($env) + { + $this->env = $env; + } + public function getEnv() + { + return $this->env; + } + public function setEnvVariables($envVariables) + { + $this->envVariables = $envVariables; + } + public function getEnvVariables() + { + return $this->envVariables; + } + public function setErrorHandlers($errorHandlers) + { + $this->errorHandlers = $errorHandlers; + } + public function getErrorHandlers() + { + return $this->errorHandlers; + } + public function setHandlers($handlers) + { + $this->handlers = $handlers; + } + public function getHandlers() + { + return $this->handlers; + } + public function setHealthCheck(Google_Service_Appengine_HealthCheck $healthCheck) + { + $this->healthCheck = $healthCheck; + } + public function getHealthCheck() + { + return $this->healthCheck; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInboundServices($inboundServices) + { + $this->inboundServices = $inboundServices; + } + public function getInboundServices() + { + return $this->inboundServices; + } + public function setInstanceClass($instanceClass) + { + $this->instanceClass = $instanceClass; + } + public function getInstanceClass() + { + return $this->instanceClass; + } + public function setLibraries($libraries) + { + $this->libraries = $libraries; + } + public function getLibraries() + { + return $this->libraries; + } + public function setManualScaling(Google_Service_Appengine_ManualScaling $manualScaling) + { + $this->manualScaling = $manualScaling; + } + public function getManualScaling() + { + return $this->manualScaling; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNetwork(Google_Service_Appengine_Network $network) + { + $this->network = $network; + } + public function getNetwork() + { + return $this->network; + } + public function setNobuildFilesRegex($nobuildFilesRegex) + { + $this->nobuildFilesRegex = $nobuildFilesRegex; + } + public function getNobuildFilesRegex() + { + return $this->nobuildFilesRegex; + } + public function setResources(Google_Service_Appengine_Resources $resources) + { + $this->resources = $resources; + } + public function getResources() + { + return $this->resources; + } + public function setRuntime($runtime) + { + $this->runtime = $runtime; + } + public function getRuntime() + { + return $this->runtime; + } + public function setServingStatus($servingStatus) + { + $this->servingStatus = $servingStatus; + } + public function getServingStatus() + { + return $this->servingStatus; + } + public function setThreadsafe($threadsafe) + { + $this->threadsafe = $threadsafe; + } + public function getThreadsafe() + { + return $this->threadsafe; + } + public function setVm($vm) + { + $this->vm = $vm; + } + public function getVm() + { + return $this->vm; + } +} + +class Google_Service_Appengine_VersionBetaSettings extends Google_Model +{ +} + +class Google_Service_Appengine_VersionEnvVariables extends Google_Model +{ +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Appsactivity.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Appsactivity.php new file mode 100644 index 0000000..9a7de2a --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Appsactivity.php @@ -0,0 +1,570 @@ + + * Provides a historical view of activity.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Appsactivity extends Google_Service +{ + /** View the activity history of your Google Apps. */ + const ACTIVITY = + "https://www.googleapis.com/auth/activity"; + /** View and manage the files in your Google Drive. */ + const DRIVE = + "https://www.googleapis.com/auth/drive"; + /** View and manage metadata of files in your Google Drive. */ + const DRIVE_METADATA = + "https://www.googleapis.com/auth/drive.metadata"; + /** View metadata for files in your Google Drive. */ + const DRIVE_METADATA_READONLY = + "https://www.googleapis.com/auth/drive.metadata.readonly"; + /** View the files in your Google Drive. */ + const DRIVE_READONLY = + "https://www.googleapis.com/auth/drive.readonly"; + + public $activities; + + + /** + * Constructs the internal representation of the Appsactivity service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'appsactivity/v1/'; + $this->version = 'v1'; + $this->serviceName = 'appsactivity'; + + $this->activities = new Google_Service_Appsactivity_Activities_Resource( + $this, + $this->serviceName, + 'activities', + array( + 'methods' => array( + 'list' => array( + 'path' => 'activities', + 'httpMethod' => 'GET', + 'parameters' => array( + 'drive.ancestorId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'userId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'groupingStrategy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'drive.fileId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "activities" collection of methods. + * Typical usage is: + * + * $appsactivityService = new Google_Service_Appsactivity(...); + * $activities = $appsactivityService->activities; + * + */ +class Google_Service_Appsactivity_Activities_Resource extends Google_Service_Resource +{ + + /** + * Returns a list of activities visible to the current logged in user. Visible + * activities are determined by the visiblity settings of the object that was + * acted on, e.g. Drive files a user can see. An activity is a record of past + * events. Multiple events may be merged if they are similar. A request is + * scoped to activities from a given Google service using the source parameter. + * (activities.listActivities) + * + * @param array $optParams Optional parameters. + * + * @opt_param string drive.ancestorId Identifies the Drive folder containing the + * items for which to return activities. + * @opt_param int pageSize The maximum number of events to return on a page. The + * response includes a continuation token if there are more events. + * @opt_param string pageToken A token to retrieve a specific page of results. + * @opt_param string userId Indicates the user to return activity for. Use the + * special value me to indicate the currently authenticated user. + * @opt_param string groupingStrategy Indicates the strategy to use when + * grouping singleEvents items in the associated combinedEvent object. + * @opt_param string drive.fileId Identifies the Drive item to return activities + * for. + * @opt_param string source The Google service from which to return activities. + * Possible values of source are: - drive.google.com + * @return Google_Service_Appsactivity_ListActivitiesResponse + */ + public function listActivities($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Appsactivity_ListActivitiesResponse"); + } +} + + + + +class Google_Service_Appsactivity_Activity extends Google_Collection +{ + protected $collection_key = 'singleEvents'; + protected $internal_gapi_mappings = array( + ); + protected $combinedEventType = 'Google_Service_Appsactivity_Event'; + protected $combinedEventDataType = ''; + protected $singleEventsType = 'Google_Service_Appsactivity_Event'; + protected $singleEventsDataType = 'array'; + + + public function setCombinedEvent(Google_Service_Appsactivity_Event $combinedEvent) + { + $this->combinedEvent = $combinedEvent; + } + public function getCombinedEvent() + { + return $this->combinedEvent; + } + public function setSingleEvents($singleEvents) + { + $this->singleEvents = $singleEvents; + } + public function getSingleEvents() + { + return $this->singleEvents; + } +} + +class Google_Service_Appsactivity_Event extends Google_Collection +{ + protected $collection_key = 'permissionChanges'; + protected $internal_gapi_mappings = array( + ); + public $additionalEventTypes; + public $eventTimeMillis; + public $fromUserDeletion; + protected $moveType = 'Google_Service_Appsactivity_Move'; + protected $moveDataType = ''; + protected $permissionChangesType = 'Google_Service_Appsactivity_PermissionChange'; + protected $permissionChangesDataType = 'array'; + public $primaryEventType; + protected $renameType = 'Google_Service_Appsactivity_Rename'; + protected $renameDataType = ''; + protected $targetType = 'Google_Service_Appsactivity_Target'; + protected $targetDataType = ''; + protected $userType = 'Google_Service_Appsactivity_User'; + protected $userDataType = ''; + + + public function setAdditionalEventTypes($additionalEventTypes) + { + $this->additionalEventTypes = $additionalEventTypes; + } + public function getAdditionalEventTypes() + { + return $this->additionalEventTypes; + } + public function setEventTimeMillis($eventTimeMillis) + { + $this->eventTimeMillis = $eventTimeMillis; + } + public function getEventTimeMillis() + { + return $this->eventTimeMillis; + } + public function setFromUserDeletion($fromUserDeletion) + { + $this->fromUserDeletion = $fromUserDeletion; + } + public function getFromUserDeletion() + { + return $this->fromUserDeletion; + } + public function setMove(Google_Service_Appsactivity_Move $move) + { + $this->move = $move; + } + public function getMove() + { + return $this->move; + } + public function setPermissionChanges($permissionChanges) + { + $this->permissionChanges = $permissionChanges; + } + public function getPermissionChanges() + { + return $this->permissionChanges; + } + public function setPrimaryEventType($primaryEventType) + { + $this->primaryEventType = $primaryEventType; + } + public function getPrimaryEventType() + { + return $this->primaryEventType; + } + public function setRename(Google_Service_Appsactivity_Rename $rename) + { + $this->rename = $rename; + } + public function getRename() + { + return $this->rename; + } + public function setTarget(Google_Service_Appsactivity_Target $target) + { + $this->target = $target; + } + public function getTarget() + { + return $this->target; + } + public function setUser(Google_Service_Appsactivity_User $user) + { + $this->user = $user; + } + public function getUser() + { + return $this->user; + } +} + +class Google_Service_Appsactivity_ListActivitiesResponse extends Google_Collection +{ + protected $collection_key = 'activities'; + protected $internal_gapi_mappings = array( + ); + protected $activitiesType = 'Google_Service_Appsactivity_Activity'; + protected $activitiesDataType = 'array'; + public $nextPageToken; + + + public function setActivities($activities) + { + $this->activities = $activities; + } + public function getActivities() + { + return $this->activities; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Appsactivity_Move extends Google_Collection +{ + protected $collection_key = 'removedParents'; + protected $internal_gapi_mappings = array( + ); + protected $addedParentsType = 'Google_Service_Appsactivity_Parent'; + protected $addedParentsDataType = 'array'; + protected $removedParentsType = 'Google_Service_Appsactivity_Parent'; + protected $removedParentsDataType = 'array'; + + + public function setAddedParents($addedParents) + { + $this->addedParents = $addedParents; + } + public function getAddedParents() + { + return $this->addedParents; + } + public function setRemovedParents($removedParents) + { + $this->removedParents = $removedParents; + } + public function getRemovedParents() + { + return $this->removedParents; + } +} + +class Google_Service_Appsactivity_Parent extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $isRoot; + public $title; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIsRoot($isRoot) + { + $this->isRoot = $isRoot; + } + public function getIsRoot() + { + return $this->isRoot; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} + +class Google_Service_Appsactivity_Permission extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $name; + public $permissionId; + public $role; + public $type; + protected $userType = 'Google_Service_Appsactivity_User'; + protected $userDataType = ''; + public $withLink; + + + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPermissionId($permissionId) + { + $this->permissionId = $permissionId; + } + public function getPermissionId() + { + return $this->permissionId; + } + public function setRole($role) + { + $this->role = $role; + } + public function getRole() + { + return $this->role; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUser(Google_Service_Appsactivity_User $user) + { + $this->user = $user; + } + public function getUser() + { + return $this->user; + } + public function setWithLink($withLink) + { + $this->withLink = $withLink; + } + public function getWithLink() + { + return $this->withLink; + } +} + +class Google_Service_Appsactivity_PermissionChange extends Google_Collection +{ + protected $collection_key = 'removedPermissions'; + protected $internal_gapi_mappings = array( + ); + protected $addedPermissionsType = 'Google_Service_Appsactivity_Permission'; + protected $addedPermissionsDataType = 'array'; + protected $removedPermissionsType = 'Google_Service_Appsactivity_Permission'; + protected $removedPermissionsDataType = 'array'; + + + public function setAddedPermissions($addedPermissions) + { + $this->addedPermissions = $addedPermissions; + } + public function getAddedPermissions() + { + return $this->addedPermissions; + } + public function setRemovedPermissions($removedPermissions) + { + $this->removedPermissions = $removedPermissions; + } + public function getRemovedPermissions() + { + return $this->removedPermissions; + } +} + +class Google_Service_Appsactivity_Photo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $url; + + + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_Appsactivity_Rename extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $newTitle; + public $oldTitle; + + + public function setNewTitle($newTitle) + { + $this->newTitle = $newTitle; + } + public function getNewTitle() + { + return $this->newTitle; + } + public function setOldTitle($oldTitle) + { + $this->oldTitle = $oldTitle; + } + public function getOldTitle() + { + return $this->oldTitle; + } +} + +class Google_Service_Appsactivity_Target extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $mimeType; + public $name; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setMimeType($mimeType) + { + $this->mimeType = $mimeType; + } + public function getMimeType() + { + return $this->mimeType; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_Appsactivity_User extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $name; + protected $photoType = 'Google_Service_Appsactivity_Photo'; + protected $photoDataType = ''; + + + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPhoto(Google_Service_Appsactivity_Photo $photo) + { + $this->photo = $photo; + } + public function getPhoto() + { + return $this->photo; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Audit.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Audit.php new file mode 100644 index 0000000..60672ec --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Audit.php @@ -0,0 +1,416 @@ + + * Lets you access user activities in your enterprise made through various + * applications.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Audit extends Google_Service +{ + + + public $activities; + + + /** + * Constructs the internal representation of the Audit service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->servicePath = 'apps/reporting/audit/v1/'; + $this->version = 'v1'; + $this->serviceName = 'audit'; + + $this->activities = new Google_Service_Audit_Activities_Resource( + $this, + $this->serviceName, + 'activities', + array( + 'methods' => array( + 'list' => array( + 'path' => '{customerId}/{applicationId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'applicationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'actorEmail' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'actorApplicationId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'actorIpAddress' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'caller' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'eventName' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'endTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'continuationToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "activities" collection of methods. + * Typical usage is: + * + * $auditService = new Google_Service_Audit(...); + * $activities = $auditService->activities; + * + */ +class Google_Service_Audit_Activities_Resource extends Google_Service_Resource +{ + + /** + * Retrieves a list of activities for a specific customer and application. + * (activities.listActivities) + * + * @param string $customerId Represents the customer who is the owner of target + * object on which action was performed. + * @param string $applicationId Application ID of the application on which the + * event was performed. + * @param array $optParams Optional parameters. + * + * @opt_param string actorEmail Email address of the user who performed the + * action. + * @opt_param string actorApplicationId Application ID of the application which + * interacted on behalf of the user while performing the event. + * @opt_param string actorIpAddress IP Address of host where the event was + * performed. Supports both IPv4 and IPv6 addresses. + * @opt_param string caller Type of the caller. + * @opt_param int maxResults Number of activity records to be shown in each + * page. + * @opt_param string eventName Name of the event being queried. + * @opt_param string startTime Return events which occured at or after this + * time. + * @opt_param string endTime Return events which occured at or before this time. + * @opt_param string continuationToken Next page URL. + * @return Google_Service_Audit_Activities + */ + public function listActivities($customerId, $applicationId, $optParams = array()) + { + $params = array('customerId' => $customerId, 'applicationId' => $applicationId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Audit_Activities"); + } +} + + + + +class Google_Service_Audit_Activities extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Audit_Activity'; + protected $itemsDataType = 'array'; + public $kind; + public $next; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNext($next) + { + $this->next = $next; + } + public function getNext() + { + return $this->next; + } +} + +class Google_Service_Audit_Activity extends Google_Collection +{ + protected $collection_key = 'events'; + protected $internal_gapi_mappings = array( + ); + protected $actorType = 'Google_Service_Audit_ActivityActor'; + protected $actorDataType = ''; + protected $eventsType = 'Google_Service_Audit_ActivityEvents'; + protected $eventsDataType = 'array'; + protected $idType = 'Google_Service_Audit_ActivityId'; + protected $idDataType = ''; + public $ipAddress; + public $kind; + public $ownerDomain; + + + public function setActor(Google_Service_Audit_ActivityActor $actor) + { + $this->actor = $actor; + } + public function getActor() + { + return $this->actor; + } + public function setEvents($events) + { + $this->events = $events; + } + public function getEvents() + { + return $this->events; + } + public function setId(Google_Service_Audit_ActivityId $id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIpAddress($ipAddress) + { + $this->ipAddress = $ipAddress; + } + public function getIpAddress() + { + return $this->ipAddress; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setOwnerDomain($ownerDomain) + { + $this->ownerDomain = $ownerDomain; + } + public function getOwnerDomain() + { + return $this->ownerDomain; + } +} + +class Google_Service_Audit_ActivityActor extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $applicationId; + public $callerType; + public $email; + public $key; + + + public function setApplicationId($applicationId) + { + $this->applicationId = $applicationId; + } + public function getApplicationId() + { + return $this->applicationId; + } + public function setCallerType($callerType) + { + $this->callerType = $callerType; + } + public function getCallerType() + { + return $this->callerType; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } +} + +class Google_Service_Audit_ActivityEvents extends Google_Collection +{ + protected $collection_key = 'parameters'; + protected $internal_gapi_mappings = array( + ); + public $eventType; + public $name; + protected $parametersType = 'Google_Service_Audit_ActivityEventsParameters'; + protected $parametersDataType = 'array'; + + + public function setEventType($eventType) + { + $this->eventType = $eventType; + } + public function getEventType() + { + return $this->eventType; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setParameters($parameters) + { + $this->parameters = $parameters; + } + public function getParameters() + { + return $this->parameters; + } +} + +class Google_Service_Audit_ActivityEventsParameters extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $name; + public $value; + + + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Audit_ActivityId extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $applicationId; + public $customerId; + public $time; + public $uniqQualifier; + + + public function setApplicationId($applicationId) + { + $this->applicationId = $applicationId; + } + public function getApplicationId() + { + return $this->applicationId; + } + public function setCustomerId($customerId) + { + $this->customerId = $customerId; + } + public function getCustomerId() + { + return $this->customerId; + } + public function setTime($time) + { + $this->time = $time; + } + public function getTime() + { + return $this->time; + } + public function setUniqQualifier($uniqQualifier) + { + $this->uniqQualifier = $uniqQualifier; + } + public function getUniqQualifier() + { + return $this->uniqQualifier; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Autoscaler.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Autoscaler.php new file mode 100644 index 0000000..c3d1c19 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Autoscaler.php @@ -0,0 +1,1401 @@ + + * The Google Compute Engine Autoscaler API provides autoscaling for groups of + * Cloud VMs.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Autoscaler extends Google_Service +{ + /** View and manage your Google Compute Engine resources. */ + const COMPUTE = + "https://www.googleapis.com/auth/compute"; + /** View your Google Compute Engine resources. */ + const COMPUTE_READONLY = + "https://www.googleapis.com/auth/compute.readonly"; + + public $autoscalers; + public $zoneOperations; + public $zones; + + + /** + * Constructs the internal representation of the Autoscaler service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'autoscaler/v1beta2/'; + $this->version = 'v1beta2'; + $this->serviceName = 'autoscaler'; + + $this->autoscalers = new Google_Service_Autoscaler_Autoscalers_Resource( + $this, + $this->serviceName, + 'autoscalers', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'autoscaler' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'autoscaler' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'projects/{project}/zones/{zone}/autoscalers', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'projects/{project}/zones/{zone}/autoscalers', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'autoscaler' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'autoscaler' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->zoneOperations = new Google_Service_Autoscaler_ZoneOperations_Resource( + $this, + $this->serviceName, + 'zoneOperations', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{project}/zones/{zone}/operations/{operation}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'operation' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/zones/{zone}/operations/{operation}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'operation' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/zones/{zone}/operations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->zones = new Google_Service_Autoscaler_Zones_Resource( + $this, + $this->serviceName, + 'zones', + array( + 'methods' => array( + 'list' => array( + 'path' => '{project}/zones', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "autoscalers" collection of methods. + * Typical usage is: + * + * $autoscalerService = new Google_Service_Autoscaler(...); + * $autoscalers = $autoscalerService->autoscalers; + * + */ +class Google_Service_Autoscaler_Autoscalers_Resource extends Google_Service_Resource +{ + + /** + * Deletes the specified Autoscaler resource. (autoscalers.delete) + * + * @param string $project Project ID of Autoscaler resource. + * @param string $zone Zone name of Autoscaler resource. + * @param string $autoscaler Name of the Autoscaler resource. + * @param array $optParams Optional parameters. + * @return Google_Service_Autoscaler_Operation + */ + public function delete($project, $zone, $autoscaler, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Autoscaler_Operation"); + } + + /** + * Gets the specified Autoscaler resource. (autoscalers.get) + * + * @param string $project Project ID of Autoscaler resource. + * @param string $zone Zone name of Autoscaler resource. + * @param string $autoscaler Name of the Autoscaler resource. + * @param array $optParams Optional parameters. + * @return Google_Service_Autoscaler_Autoscaler + */ + public function get($project, $zone, $autoscaler, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Autoscaler_Autoscaler"); + } + + /** + * Adds new Autoscaler resource. (autoscalers.insert) + * + * @param string $project Project ID of Autoscaler resource. + * @param string $zone Zone name of Autoscaler resource. + * @param Google_Autoscaler $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Autoscaler_Operation + */ + public function insert($project, $zone, Google_Service_Autoscaler_Autoscaler $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Autoscaler_Operation"); + } + + /** + * Lists all Autoscaler resources in this zone. (autoscalers.listAutoscalers) + * + * @param string $project Project ID of Autoscaler resource. + * @param string $zone Zone name of Autoscaler resource. + * @param array $optParams Optional parameters. + * + * @opt_param string filter + * @opt_param string pageToken + * @opt_param string maxResults + * @return Google_Service_Autoscaler_AutoscalerListResponse + */ + public function listAutoscalers($project, $zone, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Autoscaler_AutoscalerListResponse"); + } + + /** + * Update the entire content of the Autoscaler resource. This method supports + * patch semantics. (autoscalers.patch) + * + * @param string $project Project ID of Autoscaler resource. + * @param string $zone Zone name of Autoscaler resource. + * @param string $autoscaler Name of the Autoscaler resource. + * @param Google_Autoscaler $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Autoscaler_Operation + */ + public function patch($project, $zone, $autoscaler, Google_Service_Autoscaler_Autoscaler $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Autoscaler_Operation"); + } + + /** + * Update the entire content of the Autoscaler resource. (autoscalers.update) + * + * @param string $project Project ID of Autoscaler resource. + * @param string $zone Zone name of Autoscaler resource. + * @param string $autoscaler Name of the Autoscaler resource. + * @param Google_Autoscaler $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Autoscaler_Operation + */ + public function update($project, $zone, $autoscaler, Google_Service_Autoscaler_Autoscaler $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Autoscaler_Operation"); + } +} + +/** + * The "zoneOperations" collection of methods. + * Typical usage is: + * + * $autoscalerService = new Google_Service_Autoscaler(...); + * $zoneOperations = $autoscalerService->zoneOperations; + * + */ +class Google_Service_Autoscaler_ZoneOperations_Resource extends Google_Service_Resource +{ + + /** + * Deletes the specified zone-specific operation resource. + * (zoneOperations.delete) + * + * @param string $project + * @param string $zone + * @param string $operation + * @param array $optParams Optional parameters. + */ + public function delete($project, $zone, $operation, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Retrieves the specified zone-specific operation resource. + * (zoneOperations.get) + * + * @param string $project + * @param string $zone + * @param string $operation + * @param array $optParams Optional parameters. + * @return Google_Service_Autoscaler_Operation + */ + public function get($project, $zone, $operation, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Autoscaler_Operation"); + } + + /** + * Retrieves the list of operation resources contained within the specified + * zone. (zoneOperations.listZoneOperations) + * + * @param string $project + * @param string $zone + * @param array $optParams Optional parameters. + * + * @opt_param string filter + * @opt_param string pageToken + * @opt_param string maxResults + * @return Google_Service_Autoscaler_OperationList + */ + public function listZoneOperations($project, $zone, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Autoscaler_OperationList"); + } +} + +/** + * The "zones" collection of methods. + * Typical usage is: + * + * $autoscalerService = new Google_Service_Autoscaler(...); + * $zones = $autoscalerService->zones; + * + */ +class Google_Service_Autoscaler_Zones_Resource extends Google_Service_Resource +{ + + /** + * (zones.listZones) + * + * @param string $project + * @param array $optParams Optional parameters. + * + * @opt_param string filter + * @opt_param string pageToken + * @opt_param string maxResults + * @return Google_Service_Autoscaler_ZoneList + */ + public function listZones($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Autoscaler_ZoneList"); + } +} + + + + +class Google_Service_Autoscaler_Autoscaler extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $autoscalingPolicyType = 'Google_Service_Autoscaler_AutoscalingPolicy'; + protected $autoscalingPolicyDataType = ''; + public $creationTimestamp; + public $description; + public $id; + public $kind; + public $name; + public $selfLink; + public $target; + + + public function setAutoscalingPolicy(Google_Service_Autoscaler_AutoscalingPolicy $autoscalingPolicy) + { + $this->autoscalingPolicy = $autoscalingPolicy; + } + public function getAutoscalingPolicy() + { + return $this->autoscalingPolicy; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTarget($target) + { + $this->target = $target; + } + public function getTarget() + { + return $this->target; + } +} + +class Google_Service_Autoscaler_AutoscalerListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Autoscaler_Autoscaler'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Autoscaler_AutoscalingPolicy extends Google_Collection +{ + protected $collection_key = 'customMetricUtilizations'; + protected $internal_gapi_mappings = array( + ); + public $coolDownPeriodSec; + protected $cpuUtilizationType = 'Google_Service_Autoscaler_AutoscalingPolicyCpuUtilization'; + protected $cpuUtilizationDataType = ''; + protected $customMetricUtilizationsType = 'Google_Service_Autoscaler_AutoscalingPolicyCustomMetricUtilization'; + protected $customMetricUtilizationsDataType = 'array'; + protected $loadBalancingUtilizationType = 'Google_Service_Autoscaler_AutoscalingPolicyLoadBalancingUtilization'; + protected $loadBalancingUtilizationDataType = ''; + public $maxNumReplicas; + public $minNumReplicas; + + + public function setCoolDownPeriodSec($coolDownPeriodSec) + { + $this->coolDownPeriodSec = $coolDownPeriodSec; + } + public function getCoolDownPeriodSec() + { + return $this->coolDownPeriodSec; + } + public function setCpuUtilization(Google_Service_Autoscaler_AutoscalingPolicyCpuUtilization $cpuUtilization) + { + $this->cpuUtilization = $cpuUtilization; + } + public function getCpuUtilization() + { + return $this->cpuUtilization; + } + public function setCustomMetricUtilizations($customMetricUtilizations) + { + $this->customMetricUtilizations = $customMetricUtilizations; + } + public function getCustomMetricUtilizations() + { + return $this->customMetricUtilizations; + } + public function setLoadBalancingUtilization(Google_Service_Autoscaler_AutoscalingPolicyLoadBalancingUtilization $loadBalancingUtilization) + { + $this->loadBalancingUtilization = $loadBalancingUtilization; + } + public function getLoadBalancingUtilization() + { + return $this->loadBalancingUtilization; + } + public function setMaxNumReplicas($maxNumReplicas) + { + $this->maxNumReplicas = $maxNumReplicas; + } + public function getMaxNumReplicas() + { + return $this->maxNumReplicas; + } + public function setMinNumReplicas($minNumReplicas) + { + $this->minNumReplicas = $minNumReplicas; + } + public function getMinNumReplicas() + { + return $this->minNumReplicas; + } +} + +class Google_Service_Autoscaler_AutoscalingPolicyCpuUtilization extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $utilizationTarget; + + + public function setUtilizationTarget($utilizationTarget) + { + $this->utilizationTarget = $utilizationTarget; + } + public function getUtilizationTarget() + { + return $this->utilizationTarget; + } +} + +class Google_Service_Autoscaler_AutoscalingPolicyCustomMetricUtilization extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $metric; + public $utilizationTarget; + public $utilizationTargetType; + + + public function setMetric($metric) + { + $this->metric = $metric; + } + public function getMetric() + { + return $this->metric; + } + public function setUtilizationTarget($utilizationTarget) + { + $this->utilizationTarget = $utilizationTarget; + } + public function getUtilizationTarget() + { + return $this->utilizationTarget; + } + public function setUtilizationTargetType($utilizationTargetType) + { + $this->utilizationTargetType = $utilizationTargetType; + } + public function getUtilizationTargetType() + { + return $this->utilizationTargetType; + } +} + +class Google_Service_Autoscaler_AutoscalingPolicyLoadBalancingUtilization extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $utilizationTarget; + + + public function setUtilizationTarget($utilizationTarget) + { + $this->utilizationTarget = $utilizationTarget; + } + public function getUtilizationTarget() + { + return $this->utilizationTarget; + } +} + +class Google_Service_Autoscaler_DeprecationStatus extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $deleted; + public $deprecated; + public $obsolete; + public $replacement; + public $state; + + + public function setDeleted($deleted) + { + $this->deleted = $deleted; + } + public function getDeleted() + { + return $this->deleted; + } + public function setDeprecated($deprecated) + { + $this->deprecated = $deprecated; + } + public function getDeprecated() + { + return $this->deprecated; + } + public function setObsolete($obsolete) + { + $this->obsolete = $obsolete; + } + public function getObsolete() + { + return $this->obsolete; + } + public function setReplacement($replacement) + { + $this->replacement = $replacement; + } + public function getReplacement() + { + return $this->replacement; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } +} + +class Google_Service_Autoscaler_Operation extends Google_Collection +{ + protected $collection_key = 'warnings'; + protected $internal_gapi_mappings = array( + ); + public $clientOperationId; + public $creationTimestamp; + public $endTime; + protected $errorType = 'Google_Service_Autoscaler_OperationError'; + protected $errorDataType = ''; + public $httpErrorMessage; + public $httpErrorStatusCode; + public $id; + public $insertTime; + public $kind; + public $name; + public $operationType; + public $progress; + public $region; + public $selfLink; + public $startTime; + public $status; + public $statusMessage; + public $targetId; + public $targetLink; + public $user; + protected $warningsType = 'Google_Service_Autoscaler_OperationWarnings'; + protected $warningsDataType = 'array'; + public $zone; + + + public function setClientOperationId($clientOperationId) + { + $this->clientOperationId = $clientOperationId; + } + public function getClientOperationId() + { + return $this->clientOperationId; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setError(Google_Service_Autoscaler_OperationError $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setHttpErrorMessage($httpErrorMessage) + { + $this->httpErrorMessage = $httpErrorMessage; + } + public function getHttpErrorMessage() + { + return $this->httpErrorMessage; + } + public function setHttpErrorStatusCode($httpErrorStatusCode) + { + $this->httpErrorStatusCode = $httpErrorStatusCode; + } + public function getHttpErrorStatusCode() + { + return $this->httpErrorStatusCode; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInsertTime($insertTime) + { + $this->insertTime = $insertTime; + } + public function getInsertTime() + { + return $this->insertTime; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOperationType($operationType) + { + $this->operationType = $operationType; + } + public function getOperationType() + { + return $this->operationType; + } + public function setProgress($progress) + { + $this->progress = $progress; + } + public function getProgress() + { + return $this->progress; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setStatusMessage($statusMessage) + { + $this->statusMessage = $statusMessage; + } + public function getStatusMessage() + { + return $this->statusMessage; + } + public function setTargetId($targetId) + { + $this->targetId = $targetId; + } + public function getTargetId() + { + return $this->targetId; + } + public function setTargetLink($targetLink) + { + $this->targetLink = $targetLink; + } + public function getTargetLink() + { + return $this->targetLink; + } + public function setUser($user) + { + $this->user = $user; + } + public function getUser() + { + return $this->user; + } + public function setWarnings($warnings) + { + $this->warnings = $warnings; + } + public function getWarnings() + { + return $this->warnings; + } + public function setZone($zone) + { + $this->zone = $zone; + } + public function getZone() + { + return $this->zone; + } +} + +class Google_Service_Autoscaler_OperationError extends Google_Collection +{ + protected $collection_key = 'errors'; + protected $internal_gapi_mappings = array( + ); + protected $errorsType = 'Google_Service_Autoscaler_OperationErrorErrors'; + protected $errorsDataType = 'array'; + + + public function setErrors($errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } +} + +class Google_Service_Autoscaler_OperationErrorErrors extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $code; + public $location; + public $message; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_Autoscaler_OperationList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Autoscaler_Operation'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Autoscaler_OperationWarnings extends Google_Collection +{ + protected $collection_key = 'data'; + protected $internal_gapi_mappings = array( + ); + public $code; + protected $dataType = 'Google_Service_Autoscaler_OperationWarningsData'; + protected $dataDataType = 'array'; + public $message; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_Autoscaler_OperationWarningsData extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $key; + public $value; + + + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Autoscaler_Zone extends Google_Collection +{ + protected $collection_key = 'maintenanceWindows'; + protected $internal_gapi_mappings = array( + ); + public $creationTimestamp; + protected $deprecatedType = 'Google_Service_Autoscaler_DeprecationStatus'; + protected $deprecatedDataType = ''; + public $description; + public $id; + public $kind; + protected $maintenanceWindowsType = 'Google_Service_Autoscaler_ZoneMaintenanceWindows'; + protected $maintenanceWindowsDataType = 'array'; + public $name; + public $region; + public $selfLink; + public $status; + + + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDeprecated(Google_Service_Autoscaler_DeprecationStatus $deprecated) + { + $this->deprecated = $deprecated; + } + public function getDeprecated() + { + return $this->deprecated; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMaintenanceWindows($maintenanceWindows) + { + $this->maintenanceWindows = $maintenanceWindows; + } + public function getMaintenanceWindows() + { + return $this->maintenanceWindows; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} + +class Google_Service_Autoscaler_ZoneList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Autoscaler_Zone'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Autoscaler_ZoneMaintenanceWindows extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $beginTime; + public $description; + public $endTime; + public $name; + + + public function setBeginTime($beginTime) + { + $this->beginTime = $beginTime; + } + public function getBeginTime() + { + return $this->beginTime; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Bigquery.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Bigquery.php new file mode 100644 index 0000000..0083616 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Bigquery.php @@ -0,0 +1,3607 @@ + + * A data platform for customers to create, manage, share and query data.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Bigquery extends Google_Service +{ + /** View and manage your data in Google BigQuery. */ + const BIGQUERY = + "https://www.googleapis.com/auth/bigquery"; + /** Insert data into Google BigQuery. */ + const BIGQUERY_INSERTDATA = + "https://www.googleapis.com/auth/bigquery.insertdata"; + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** View your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM_READ_ONLY = + "https://www.googleapis.com/auth/cloud-platform.read-only"; + /** Manage your data and permissions in Google Cloud Storage. */ + const DEVSTORAGE_FULL_CONTROL = + "https://www.googleapis.com/auth/devstorage.full_control"; + /** View your data in Google Cloud Storage. */ + const DEVSTORAGE_READ_ONLY = + "https://www.googleapis.com/auth/devstorage.read_only"; + /** Manage your data in Google Cloud Storage. */ + const DEVSTORAGE_READ_WRITE = + "https://www.googleapis.com/auth/devstorage.read_write"; + + public $datasets; + public $jobs; + public $projects; + public $tabledata; + public $tables; + + + /** + * Constructs the internal representation of the Bigquery service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'bigquery/v2/'; + $this->version = 'v2'; + $this->serviceName = 'bigquery'; + + $this->datasets = new Google_Service_Bigquery_Datasets_Resource( + $this, + $this->serviceName, + 'datasets', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'projects/{projectId}/datasets/{datasetId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deleteContents' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'get' => array( + 'path' => 'projects/{projectId}/datasets/{datasetId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'projects/{projectId}/datasets', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'projects/{projectId}/datasets', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'all' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => 'projects/{projectId}/datasets/{datasetId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'projects/{projectId}/datasets/{datasetId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->jobs = new Google_Service_Bigquery_Jobs_Resource( + $this, + $this->serviceName, + 'jobs', + array( + 'methods' => array( + 'cancel' => array( + 'path' => 'project/{projectId}/jobs/{jobId}/cancel', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'projects/{projectId}/jobs/{jobId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getQueryResults' => array( + 'path' => 'projects/{projectId}/queries/{jobId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'timeoutMs' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startIndex' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'insert' => array( + 'path' => 'projects/{projectId}/jobs', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'projects/{projectId}/jobs', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'stateFilter' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'allUsers' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'query' => array( + 'path' => 'projects/{projectId}/queries', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects = new Google_Service_Bigquery_Projects_Resource( + $this, + $this->serviceName, + 'projects', + array( + 'methods' => array( + 'list' => array( + 'path' => 'projects', + 'httpMethod' => 'GET', + 'parameters' => array( + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->tabledata = new Google_Service_Bigquery_Tabledata_Resource( + $this, + $this->serviceName, + 'tabledata', + array( + 'methods' => array( + 'insertAll' => array( + 'path' => 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}/insertAll', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}/data', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startIndex' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->tables = new Google_Service_Bigquery_Tables_Resource( + $this, + $this->serviceName, + 'tables', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'projects/{projectId}/datasets/{datasetId}/tables', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'projects/{projectId}/datasets/{datasetId}/tables', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "datasets" collection of methods. + * Typical usage is: + * + * $bigqueryService = new Google_Service_Bigquery(...); + * $datasets = $bigqueryService->datasets; + * + */ +class Google_Service_Bigquery_Datasets_Resource extends Google_Service_Resource +{ + + /** + * Deletes the dataset specified by the datasetId value. Before you can delete a + * dataset, you must delete all its tables, either manually or by specifying + * deleteContents. Immediately after deletion, you can create another dataset + * with the same name. (datasets.delete) + * + * @param string $projectId Project ID of the dataset being deleted + * @param string $datasetId Dataset ID of dataset being deleted + * @param array $optParams Optional parameters. + * + * @opt_param bool deleteContents If True, delete all the tables in the dataset. + * If False and the dataset contains tables, the request will fail. Default is + * False + */ + public function delete($projectId, $datasetId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'datasetId' => $datasetId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Returns the dataset specified by datasetID. (datasets.get) + * + * @param string $projectId Project ID of the requested dataset + * @param string $datasetId Dataset ID of the requested dataset + * @param array $optParams Optional parameters. + * @return Google_Service_Bigquery_Dataset + */ + public function get($projectId, $datasetId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'datasetId' => $datasetId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Bigquery_Dataset"); + } + + /** + * Creates a new empty dataset. (datasets.insert) + * + * @param string $projectId Project ID of the new dataset + * @param Google_Dataset $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Bigquery_Dataset + */ + public function insert($projectId, Google_Service_Bigquery_Dataset $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Bigquery_Dataset"); + } + + /** + * Lists all datasets in the specified project to which you have been granted + * the READER dataset role. (datasets.listDatasets) + * + * @param string $projectId Project ID of the datasets to be listed + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Page token, returned by a previous call, to + * request the next page of results + * @opt_param bool all Whether to list all datasets, including hidden ones + * @opt_param string maxResults The maximum number of results to return + * @return Google_Service_Bigquery_DatasetList + */ + public function listDatasets($projectId, $optParams = array()) + { + $params = array('projectId' => $projectId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Bigquery_DatasetList"); + } + + /** + * Updates information in an existing dataset. The update method replaces the + * entire dataset resource, whereas the patch method only replaces fields that + * are provided in the submitted dataset resource. This method supports patch + * semantics. (datasets.patch) + * + * @param string $projectId Project ID of the dataset being updated + * @param string $datasetId Dataset ID of the dataset being updated + * @param Google_Dataset $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Bigquery_Dataset + */ + public function patch($projectId, $datasetId, Google_Service_Bigquery_Dataset $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Bigquery_Dataset"); + } + + /** + * Updates information in an existing dataset. The update method replaces the + * entire dataset resource, whereas the patch method only replaces fields that + * are provided in the submitted dataset resource. (datasets.update) + * + * @param string $projectId Project ID of the dataset being updated + * @param string $datasetId Dataset ID of the dataset being updated + * @param Google_Dataset $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Bigquery_Dataset + */ + public function update($projectId, $datasetId, Google_Service_Bigquery_Dataset $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Bigquery_Dataset"); + } +} + +/** + * The "jobs" collection of methods. + * Typical usage is: + * + * $bigqueryService = new Google_Service_Bigquery(...); + * $jobs = $bigqueryService->jobs; + * + */ +class Google_Service_Bigquery_Jobs_Resource extends Google_Service_Resource +{ + + /** + * Requests that a job be cancelled. This call will return immediately, and the + * client will need to poll for the job status to see if the cancel completed + * successfully. Cancelled jobs may still incur costs. (jobs.cancel) + * + * @param string $projectId Project ID of the job to cancel + * @param string $jobId Job ID of the job to cancel + * @param array $optParams Optional parameters. + * @return Google_Service_Bigquery_JobCancelResponse + */ + public function cancel($projectId, $jobId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'jobId' => $jobId); + $params = array_merge($params, $optParams); + return $this->call('cancel', array($params), "Google_Service_Bigquery_JobCancelResponse"); + } + + /** + * Returns information about a specific job. Job information is available for a + * six month period after creation. Requires that you're the person who ran the + * job, or have the Is Owner project role. (jobs.get) + * + * @param string $projectId Project ID of the requested job + * @param string $jobId Job ID of the requested job + * @param array $optParams Optional parameters. + * @return Google_Service_Bigquery_Job + */ + public function get($projectId, $jobId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'jobId' => $jobId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Bigquery_Job"); + } + + /** + * Retrieves the results of a query job. (jobs.getQueryResults) + * + * @param string $projectId Project ID of the query job + * @param string $jobId Job ID of the query job + * @param array $optParams Optional parameters. + * + * @opt_param string timeoutMs How long to wait for the query to complete, in + * milliseconds, before returning. Default is 10 seconds. If the timeout passes + * before the job completes, the 'jobComplete' field in the response will be + * false + * @opt_param string maxResults Maximum number of results to read + * @opt_param string pageToken Page token, returned by a previous call, to + * request the next page of results + * @opt_param string startIndex Zero-based index of the starting row + * @return Google_Service_Bigquery_GetQueryResultsResponse + */ + public function getQueryResults($projectId, $jobId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'jobId' => $jobId); + $params = array_merge($params, $optParams); + return $this->call('getQueryResults', array($params), "Google_Service_Bigquery_GetQueryResultsResponse"); + } + + /** + * Starts a new asynchronous job. Requires the Can View project role. + * (jobs.insert) + * + * @param string $projectId Project ID of the project that will be billed for + * the job + * @param Google_Job $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Bigquery_Job + */ + public function insert($projectId, Google_Service_Bigquery_Job $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Bigquery_Job"); + } + + /** + * Lists all jobs that you started in the specified project. Job information is + * available for a six month period after creation. The job list is sorted in + * reverse chronological order, by job creation time. Requires the Can View + * project role, or the Is Owner project role if you set the allUsers property. + * (jobs.listJobs) + * + * @param string $projectId Project ID of the jobs to list + * @param array $optParams Optional parameters. + * + * @opt_param string projection Restrict information returned to a set of + * selected fields + * @opt_param string stateFilter Filter for job state + * @opt_param bool allUsers Whether to display jobs owned by all users in the + * project. Default false + * @opt_param string maxResults Maximum number of results to return + * @opt_param string pageToken Page token, returned by a previous call, to + * request the next page of results + * @return Google_Service_Bigquery_JobList + */ + public function listJobs($projectId, $optParams = array()) + { + $params = array('projectId' => $projectId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Bigquery_JobList"); + } + + /** + * Runs a BigQuery SQL query synchronously and returns query results if the + * query completes within a specified timeout. (jobs.query) + * + * @param string $projectId Project ID of the project billed for the query + * @param Google_QueryRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Bigquery_QueryResponse + */ + public function query($projectId, Google_Service_Bigquery_QueryRequest $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('query', array($params), "Google_Service_Bigquery_QueryResponse"); + } +} + +/** + * The "projects" collection of methods. + * Typical usage is: + * + * $bigqueryService = new Google_Service_Bigquery(...); + * $projects = $bigqueryService->projects; + * + */ +class Google_Service_Bigquery_Projects_Resource extends Google_Service_Resource +{ + + /** + * Lists all projects to which you have been granted any project role. + * (projects.listProjects) + * + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Page token, returned by a previous call, to + * request the next page of results + * @opt_param string maxResults Maximum number of results to return + * @return Google_Service_Bigquery_ProjectList + */ + public function listProjects($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Bigquery_ProjectList"); + } +} + +/** + * The "tabledata" collection of methods. + * Typical usage is: + * + * $bigqueryService = new Google_Service_Bigquery(...); + * $tabledata = $bigqueryService->tabledata; + * + */ +class Google_Service_Bigquery_Tabledata_Resource extends Google_Service_Resource +{ + + /** + * Streams data into BigQuery one record at a time without needing to run a load + * job. Requires the WRITER dataset role. (tabledata.insertAll) + * + * @param string $projectId Project ID of the destination table. + * @param string $datasetId Dataset ID of the destination table. + * @param string $tableId Table ID of the destination table. + * @param Google_TableDataInsertAllRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Bigquery_TableDataInsertAllResponse + */ + public function insertAll($projectId, $datasetId, $tableId, Google_Service_Bigquery_TableDataInsertAllRequest $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'tableId' => $tableId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insertAll', array($params), "Google_Service_Bigquery_TableDataInsertAllResponse"); + } + + /** + * Retrieves table data from a specified set of rows. Requires the READER + * dataset role. (tabledata.listTabledata) + * + * @param string $projectId Project ID of the table to read + * @param string $datasetId Dataset ID of the table to read + * @param string $tableId Table ID of the table to read + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults Maximum number of results to return + * @opt_param string pageToken Page token, returned by a previous call, + * identifying the result set + * @opt_param string startIndex Zero-based index of the starting row to read + * @return Google_Service_Bigquery_TableDataList + */ + public function listTabledata($projectId, $datasetId, $tableId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'tableId' => $tableId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Bigquery_TableDataList"); + } +} + +/** + * The "tables" collection of methods. + * Typical usage is: + * + * $bigqueryService = new Google_Service_Bigquery(...); + * $tables = $bigqueryService->tables; + * + */ +class Google_Service_Bigquery_Tables_Resource extends Google_Service_Resource +{ + + /** + * Deletes the table specified by tableId from the dataset. If the table + * contains data, all the data will be deleted. (tables.delete) + * + * @param string $projectId Project ID of the table to delete + * @param string $datasetId Dataset ID of the table to delete + * @param string $tableId Table ID of the table to delete + * @param array $optParams Optional parameters. + */ + public function delete($projectId, $datasetId, $tableId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'tableId' => $tableId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Gets the specified table resource by table ID. This method does not return + * the data in the table, it only returns the table resource, which describes + * the structure of this table. (tables.get) + * + * @param string $projectId Project ID of the requested table + * @param string $datasetId Dataset ID of the requested table + * @param string $tableId Table ID of the requested table + * @param array $optParams Optional parameters. + * @return Google_Service_Bigquery_Table + */ + public function get($projectId, $datasetId, $tableId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'tableId' => $tableId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Bigquery_Table"); + } + + /** + * Creates a new, empty table in the dataset. (tables.insert) + * + * @param string $projectId Project ID of the new table + * @param string $datasetId Dataset ID of the new table + * @param Google_Table $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Bigquery_Table + */ + public function insert($projectId, $datasetId, Google_Service_Bigquery_Table $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Bigquery_Table"); + } + + /** + * Lists all tables in the specified dataset. Requires the READER dataset role. + * (tables.listTables) + * + * @param string $projectId Project ID of the tables to list + * @param string $datasetId Dataset ID of the tables to list + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Page token, returned by a previous call, to + * request the next page of results + * @opt_param string maxResults Maximum number of results to return + * @return Google_Service_Bigquery_TableList + */ + public function listTables($projectId, $datasetId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'datasetId' => $datasetId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Bigquery_TableList"); + } + + /** + * Updates information in an existing table. The update method replaces the + * entire table resource, whereas the patch method only replaces fields that are + * provided in the submitted table resource. This method supports patch + * semantics. (tables.patch) + * + * @param string $projectId Project ID of the table to update + * @param string $datasetId Dataset ID of the table to update + * @param string $tableId Table ID of the table to update + * @param Google_Table $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Bigquery_Table + */ + public function patch($projectId, $datasetId, $tableId, Google_Service_Bigquery_Table $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'tableId' => $tableId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Bigquery_Table"); + } + + /** + * Updates information in an existing table. The update method replaces the + * entire table resource, whereas the patch method only replaces fields that are + * provided in the submitted table resource. (tables.update) + * + * @param string $projectId Project ID of the table to update + * @param string $datasetId Dataset ID of the table to update + * @param string $tableId Table ID of the table to update + * @param Google_Table $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Bigquery_Table + */ + public function update($projectId, $datasetId, $tableId, Google_Service_Bigquery_Table $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'tableId' => $tableId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Bigquery_Table"); + } +} + + + + +class Google_Service_Bigquery_CsvOptions extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $allowJaggedRows; + public $allowQuotedNewlines; + public $encoding; + public $fieldDelimiter; + public $quote; + public $skipLeadingRows; + + + public function setAllowJaggedRows($allowJaggedRows) + { + $this->allowJaggedRows = $allowJaggedRows; + } + public function getAllowJaggedRows() + { + return $this->allowJaggedRows; + } + public function setAllowQuotedNewlines($allowQuotedNewlines) + { + $this->allowQuotedNewlines = $allowQuotedNewlines; + } + public function getAllowQuotedNewlines() + { + return $this->allowQuotedNewlines; + } + public function setEncoding($encoding) + { + $this->encoding = $encoding; + } + public function getEncoding() + { + return $this->encoding; + } + public function setFieldDelimiter($fieldDelimiter) + { + $this->fieldDelimiter = $fieldDelimiter; + } + public function getFieldDelimiter() + { + return $this->fieldDelimiter; + } + public function setQuote($quote) + { + $this->quote = $quote; + } + public function getQuote() + { + return $this->quote; + } + public function setSkipLeadingRows($skipLeadingRows) + { + $this->skipLeadingRows = $skipLeadingRows; + } + public function getSkipLeadingRows() + { + return $this->skipLeadingRows; + } +} + +class Google_Service_Bigquery_Dataset extends Google_Collection +{ + protected $collection_key = 'access'; + protected $internal_gapi_mappings = array( + ); + protected $accessType = 'Google_Service_Bigquery_DatasetAccess'; + protected $accessDataType = 'array'; + public $creationTime; + protected $datasetReferenceType = 'Google_Service_Bigquery_DatasetReference'; + protected $datasetReferenceDataType = ''; + public $defaultTableExpirationMs; + public $description; + public $etag; + public $friendlyName; + public $id; + public $kind; + public $lastModifiedTime; + public $location; + public $selfLink; + + + public function setAccess($access) + { + $this->access = $access; + } + public function getAccess() + { + return $this->access; + } + public function setCreationTime($creationTime) + { + $this->creationTime = $creationTime; + } + public function getCreationTime() + { + return $this->creationTime; + } + public function setDatasetReference(Google_Service_Bigquery_DatasetReference $datasetReference) + { + $this->datasetReference = $datasetReference; + } + public function getDatasetReference() + { + return $this->datasetReference; + } + public function setDefaultTableExpirationMs($defaultTableExpirationMs) + { + $this->defaultTableExpirationMs = $defaultTableExpirationMs; + } + public function getDefaultTableExpirationMs() + { + return $this->defaultTableExpirationMs; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setFriendlyName($friendlyName) + { + $this->friendlyName = $friendlyName; + } + public function getFriendlyName() + { + return $this->friendlyName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastModifiedTime($lastModifiedTime) + { + $this->lastModifiedTime = $lastModifiedTime; + } + public function getLastModifiedTime() + { + return $this->lastModifiedTime; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Bigquery_DatasetAccess extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $domain; + public $groupByEmail; + public $role; + public $specialGroup; + public $userByEmail; + protected $viewType = 'Google_Service_Bigquery_TableReference'; + protected $viewDataType = ''; + + + public function setDomain($domain) + { + $this->domain = $domain; + } + public function getDomain() + { + return $this->domain; + } + public function setGroupByEmail($groupByEmail) + { + $this->groupByEmail = $groupByEmail; + } + public function getGroupByEmail() + { + return $this->groupByEmail; + } + public function setRole($role) + { + $this->role = $role; + } + public function getRole() + { + return $this->role; + } + public function setSpecialGroup($specialGroup) + { + $this->specialGroup = $specialGroup; + } + public function getSpecialGroup() + { + return $this->specialGroup; + } + public function setUserByEmail($userByEmail) + { + $this->userByEmail = $userByEmail; + } + public function getUserByEmail() + { + return $this->userByEmail; + } + public function setView(Google_Service_Bigquery_TableReference $view) + { + $this->view = $view; + } + public function getView() + { + return $this->view; + } +} + +class Google_Service_Bigquery_DatasetList extends Google_Collection +{ + protected $collection_key = 'datasets'; + protected $internal_gapi_mappings = array( + ); + protected $datasetsType = 'Google_Service_Bigquery_DatasetListDatasets'; + protected $datasetsDataType = 'array'; + public $etag; + public $kind; + public $nextPageToken; + + + public function setDatasets($datasets) + { + $this->datasets = $datasets; + } + public function getDatasets() + { + return $this->datasets; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Bigquery_DatasetListDatasets extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $datasetReferenceType = 'Google_Service_Bigquery_DatasetReference'; + protected $datasetReferenceDataType = ''; + public $friendlyName; + public $id; + public $kind; + + + public function setDatasetReference(Google_Service_Bigquery_DatasetReference $datasetReference) + { + $this->datasetReference = $datasetReference; + } + public function getDatasetReference() + { + return $this->datasetReference; + } + public function setFriendlyName($friendlyName) + { + $this->friendlyName = $friendlyName; + } + public function getFriendlyName() + { + return $this->friendlyName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Bigquery_DatasetReference extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $datasetId; + public $projectId; + + + public function setDatasetId($datasetId) + { + $this->datasetId = $datasetId; + } + public function getDatasetId() + { + return $this->datasetId; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } +} + +class Google_Service_Bigquery_ErrorProto extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $debugInfo; + public $location; + public $message; + public $reason; + + + public function setDebugInfo($debugInfo) + { + $this->debugInfo = $debugInfo; + } + public function getDebugInfo() + { + return $this->debugInfo; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } +} + +class Google_Service_Bigquery_ExternalDataConfiguration extends Google_Collection +{ + protected $collection_key = 'sourceUris'; + protected $internal_gapi_mappings = array( + ); + public $compression; + protected $csvOptionsType = 'Google_Service_Bigquery_CsvOptions'; + protected $csvOptionsDataType = ''; + public $ignoreUnknownValues; + public $maxBadRecords; + protected $schemaType = 'Google_Service_Bigquery_TableSchema'; + protected $schemaDataType = ''; + public $sourceFormat; + public $sourceUris; + + + public function setCompression($compression) + { + $this->compression = $compression; + } + public function getCompression() + { + return $this->compression; + } + public function setCsvOptions(Google_Service_Bigquery_CsvOptions $csvOptions) + { + $this->csvOptions = $csvOptions; + } + public function getCsvOptions() + { + return $this->csvOptions; + } + public function setIgnoreUnknownValues($ignoreUnknownValues) + { + $this->ignoreUnknownValues = $ignoreUnknownValues; + } + public function getIgnoreUnknownValues() + { + return $this->ignoreUnknownValues; + } + public function setMaxBadRecords($maxBadRecords) + { + $this->maxBadRecords = $maxBadRecords; + } + public function getMaxBadRecords() + { + return $this->maxBadRecords; + } + public function setSchema(Google_Service_Bigquery_TableSchema $schema) + { + $this->schema = $schema; + } + public function getSchema() + { + return $this->schema; + } + public function setSourceFormat($sourceFormat) + { + $this->sourceFormat = $sourceFormat; + } + public function getSourceFormat() + { + return $this->sourceFormat; + } + public function setSourceUris($sourceUris) + { + $this->sourceUris = $sourceUris; + } + public function getSourceUris() + { + return $this->sourceUris; + } +} + +class Google_Service_Bigquery_GetQueryResultsResponse extends Google_Collection +{ + protected $collection_key = 'rows'; + protected $internal_gapi_mappings = array( + ); + public $cacheHit; + protected $errorsType = 'Google_Service_Bigquery_ErrorProto'; + protected $errorsDataType = 'array'; + public $etag; + public $jobComplete; + protected $jobReferenceType = 'Google_Service_Bigquery_JobReference'; + protected $jobReferenceDataType = ''; + public $kind; + public $pageToken; + protected $rowsType = 'Google_Service_Bigquery_TableRow'; + protected $rowsDataType = 'array'; + protected $schemaType = 'Google_Service_Bigquery_TableSchema'; + protected $schemaDataType = ''; + public $totalBytesProcessed; + public $totalRows; + + + public function setCacheHit($cacheHit) + { + $this->cacheHit = $cacheHit; + } + public function getCacheHit() + { + return $this->cacheHit; + } + public function setErrors($errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setJobComplete($jobComplete) + { + $this->jobComplete = $jobComplete; + } + public function getJobComplete() + { + return $this->jobComplete; + } + public function setJobReference(Google_Service_Bigquery_JobReference $jobReference) + { + $this->jobReference = $jobReference; + } + public function getJobReference() + { + return $this->jobReference; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPageToken($pageToken) + { + $this->pageToken = $pageToken; + } + public function getPageToken() + { + return $this->pageToken; + } + public function setRows($rows) + { + $this->rows = $rows; + } + public function getRows() + { + return $this->rows; + } + public function setSchema(Google_Service_Bigquery_TableSchema $schema) + { + $this->schema = $schema; + } + public function getSchema() + { + return $this->schema; + } + public function setTotalBytesProcessed($totalBytesProcessed) + { + $this->totalBytesProcessed = $totalBytesProcessed; + } + public function getTotalBytesProcessed() + { + return $this->totalBytesProcessed; + } + public function setTotalRows($totalRows) + { + $this->totalRows = $totalRows; + } + public function getTotalRows() + { + return $this->totalRows; + } +} + +class Google_Service_Bigquery_Job extends Google_Model +{ + protected $internal_gapi_mappings = array( + "userEmail" => "user_email", + ); + protected $configurationType = 'Google_Service_Bigquery_JobConfiguration'; + protected $configurationDataType = ''; + public $etag; + public $id; + protected $jobReferenceType = 'Google_Service_Bigquery_JobReference'; + protected $jobReferenceDataType = ''; + public $kind; + public $selfLink; + protected $statisticsType = 'Google_Service_Bigquery_JobStatistics'; + protected $statisticsDataType = ''; + protected $statusType = 'Google_Service_Bigquery_JobStatus'; + protected $statusDataType = ''; + public $userEmail; + + + public function setConfiguration(Google_Service_Bigquery_JobConfiguration $configuration) + { + $this->configuration = $configuration; + } + public function getConfiguration() + { + return $this->configuration; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setJobReference(Google_Service_Bigquery_JobReference $jobReference) + { + $this->jobReference = $jobReference; + } + public function getJobReference() + { + return $this->jobReference; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStatistics(Google_Service_Bigquery_JobStatistics $statistics) + { + $this->statistics = $statistics; + } + public function getStatistics() + { + return $this->statistics; + } + public function setStatus(Google_Service_Bigquery_JobStatus $status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setUserEmail($userEmail) + { + $this->userEmail = $userEmail; + } + public function getUserEmail() + { + return $this->userEmail; + } +} + +class Google_Service_Bigquery_JobCancelResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $jobType = 'Google_Service_Bigquery_Job'; + protected $jobDataType = ''; + public $kind; + + + public function setJob(Google_Service_Bigquery_Job $job) + { + $this->job = $job; + } + public function getJob() + { + return $this->job; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Bigquery_JobConfiguration extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $copyType = 'Google_Service_Bigquery_JobConfigurationTableCopy'; + protected $copyDataType = ''; + public $dryRun; + protected $extractType = 'Google_Service_Bigquery_JobConfigurationExtract'; + protected $extractDataType = ''; + protected $linkType = 'Google_Service_Bigquery_JobConfigurationLink'; + protected $linkDataType = ''; + protected $loadType = 'Google_Service_Bigquery_JobConfigurationLoad'; + protected $loadDataType = ''; + protected $queryType = 'Google_Service_Bigquery_JobConfigurationQuery'; + protected $queryDataType = ''; + + + public function setCopy(Google_Service_Bigquery_JobConfigurationTableCopy $copy) + { + $this->copy = $copy; + } + public function getCopy() + { + return $this->copy; + } + public function setDryRun($dryRun) + { + $this->dryRun = $dryRun; + } + public function getDryRun() + { + return $this->dryRun; + } + public function setExtract(Google_Service_Bigquery_JobConfigurationExtract $extract) + { + $this->extract = $extract; + } + public function getExtract() + { + return $this->extract; + } + public function setLink(Google_Service_Bigquery_JobConfigurationLink $link) + { + $this->link = $link; + } + public function getLink() + { + return $this->link; + } + public function setLoad(Google_Service_Bigquery_JobConfigurationLoad $load) + { + $this->load = $load; + } + public function getLoad() + { + return $this->load; + } + public function setQuery(Google_Service_Bigquery_JobConfigurationQuery $query) + { + $this->query = $query; + } + public function getQuery() + { + return $this->query; + } +} + +class Google_Service_Bigquery_JobConfigurationExtract extends Google_Collection +{ + protected $collection_key = 'destinationUris'; + protected $internal_gapi_mappings = array( + ); + public $compression; + public $destinationFormat; + public $destinationUri; + public $destinationUris; + public $fieldDelimiter; + public $printHeader; + protected $sourceTableType = 'Google_Service_Bigquery_TableReference'; + protected $sourceTableDataType = ''; + + + public function setCompression($compression) + { + $this->compression = $compression; + } + public function getCompression() + { + return $this->compression; + } + public function setDestinationFormat($destinationFormat) + { + $this->destinationFormat = $destinationFormat; + } + public function getDestinationFormat() + { + return $this->destinationFormat; + } + public function setDestinationUri($destinationUri) + { + $this->destinationUri = $destinationUri; + } + public function getDestinationUri() + { + return $this->destinationUri; + } + public function setDestinationUris($destinationUris) + { + $this->destinationUris = $destinationUris; + } + public function getDestinationUris() + { + return $this->destinationUris; + } + public function setFieldDelimiter($fieldDelimiter) + { + $this->fieldDelimiter = $fieldDelimiter; + } + public function getFieldDelimiter() + { + return $this->fieldDelimiter; + } + public function setPrintHeader($printHeader) + { + $this->printHeader = $printHeader; + } + public function getPrintHeader() + { + return $this->printHeader; + } + public function setSourceTable(Google_Service_Bigquery_TableReference $sourceTable) + { + $this->sourceTable = $sourceTable; + } + public function getSourceTable() + { + return $this->sourceTable; + } +} + +class Google_Service_Bigquery_JobConfigurationLink extends Google_Collection +{ + protected $collection_key = 'sourceUri'; + protected $internal_gapi_mappings = array( + ); + public $createDisposition; + protected $destinationTableType = 'Google_Service_Bigquery_TableReference'; + protected $destinationTableDataType = ''; + public $sourceUri; + public $writeDisposition; + + + public function setCreateDisposition($createDisposition) + { + $this->createDisposition = $createDisposition; + } + public function getCreateDisposition() + { + return $this->createDisposition; + } + public function setDestinationTable(Google_Service_Bigquery_TableReference $destinationTable) + { + $this->destinationTable = $destinationTable; + } + public function getDestinationTable() + { + return $this->destinationTable; + } + public function setSourceUri($sourceUri) + { + $this->sourceUri = $sourceUri; + } + public function getSourceUri() + { + return $this->sourceUri; + } + public function setWriteDisposition($writeDisposition) + { + $this->writeDisposition = $writeDisposition; + } + public function getWriteDisposition() + { + return $this->writeDisposition; + } +} + +class Google_Service_Bigquery_JobConfigurationLoad extends Google_Collection +{ + protected $collection_key = 'sourceUris'; + protected $internal_gapi_mappings = array( + ); + public $allowJaggedRows; + public $allowQuotedNewlines; + public $createDisposition; + protected $destinationTableType = 'Google_Service_Bigquery_TableReference'; + protected $destinationTableDataType = ''; + public $encoding; + public $fieldDelimiter; + public $ignoreUnknownValues; + public $maxBadRecords; + public $projectionFields; + public $quote; + protected $schemaType = 'Google_Service_Bigquery_TableSchema'; + protected $schemaDataType = ''; + public $schemaInline; + public $schemaInlineFormat; + public $skipLeadingRows; + public $sourceFormat; + public $sourceUris; + public $writeDisposition; + + + public function setAllowJaggedRows($allowJaggedRows) + { + $this->allowJaggedRows = $allowJaggedRows; + } + public function getAllowJaggedRows() + { + return $this->allowJaggedRows; + } + public function setAllowQuotedNewlines($allowQuotedNewlines) + { + $this->allowQuotedNewlines = $allowQuotedNewlines; + } + public function getAllowQuotedNewlines() + { + return $this->allowQuotedNewlines; + } + public function setCreateDisposition($createDisposition) + { + $this->createDisposition = $createDisposition; + } + public function getCreateDisposition() + { + return $this->createDisposition; + } + public function setDestinationTable(Google_Service_Bigquery_TableReference $destinationTable) + { + $this->destinationTable = $destinationTable; + } + public function getDestinationTable() + { + return $this->destinationTable; + } + public function setEncoding($encoding) + { + $this->encoding = $encoding; + } + public function getEncoding() + { + return $this->encoding; + } + public function setFieldDelimiter($fieldDelimiter) + { + $this->fieldDelimiter = $fieldDelimiter; + } + public function getFieldDelimiter() + { + return $this->fieldDelimiter; + } + public function setIgnoreUnknownValues($ignoreUnknownValues) + { + $this->ignoreUnknownValues = $ignoreUnknownValues; + } + public function getIgnoreUnknownValues() + { + return $this->ignoreUnknownValues; + } + public function setMaxBadRecords($maxBadRecords) + { + $this->maxBadRecords = $maxBadRecords; + } + public function getMaxBadRecords() + { + return $this->maxBadRecords; + } + public function setProjectionFields($projectionFields) + { + $this->projectionFields = $projectionFields; + } + public function getProjectionFields() + { + return $this->projectionFields; + } + public function setQuote($quote) + { + $this->quote = $quote; + } + public function getQuote() + { + return $this->quote; + } + public function setSchema(Google_Service_Bigquery_TableSchema $schema) + { + $this->schema = $schema; + } + public function getSchema() + { + return $this->schema; + } + public function setSchemaInline($schemaInline) + { + $this->schemaInline = $schemaInline; + } + public function getSchemaInline() + { + return $this->schemaInline; + } + public function setSchemaInlineFormat($schemaInlineFormat) + { + $this->schemaInlineFormat = $schemaInlineFormat; + } + public function getSchemaInlineFormat() + { + return $this->schemaInlineFormat; + } + public function setSkipLeadingRows($skipLeadingRows) + { + $this->skipLeadingRows = $skipLeadingRows; + } + public function getSkipLeadingRows() + { + return $this->skipLeadingRows; + } + public function setSourceFormat($sourceFormat) + { + $this->sourceFormat = $sourceFormat; + } + public function getSourceFormat() + { + return $this->sourceFormat; + } + public function setSourceUris($sourceUris) + { + $this->sourceUris = $sourceUris; + } + public function getSourceUris() + { + return $this->sourceUris; + } + public function setWriteDisposition($writeDisposition) + { + $this->writeDisposition = $writeDisposition; + } + public function getWriteDisposition() + { + return $this->writeDisposition; + } +} + +class Google_Service_Bigquery_JobConfigurationQuery extends Google_Collection +{ + protected $collection_key = 'userDefinedFunctionResources'; + protected $internal_gapi_mappings = array( + ); + public $allowLargeResults; + public $createDisposition; + protected $defaultDatasetType = 'Google_Service_Bigquery_DatasetReference'; + protected $defaultDatasetDataType = ''; + protected $destinationTableType = 'Google_Service_Bigquery_TableReference'; + protected $destinationTableDataType = ''; + public $flattenResults; + public $preserveNulls; + public $priority; + public $query; + protected $tableDefinitionsType = 'Google_Service_Bigquery_ExternalDataConfiguration'; + protected $tableDefinitionsDataType = 'map'; + public $useQueryCache; + protected $userDefinedFunctionResourcesType = 'Google_Service_Bigquery_UserDefinedFunctionResource'; + protected $userDefinedFunctionResourcesDataType = 'array'; + public $writeDisposition; + + + public function setAllowLargeResults($allowLargeResults) + { + $this->allowLargeResults = $allowLargeResults; + } + public function getAllowLargeResults() + { + return $this->allowLargeResults; + } + public function setCreateDisposition($createDisposition) + { + $this->createDisposition = $createDisposition; + } + public function getCreateDisposition() + { + return $this->createDisposition; + } + public function setDefaultDataset(Google_Service_Bigquery_DatasetReference $defaultDataset) + { + $this->defaultDataset = $defaultDataset; + } + public function getDefaultDataset() + { + return $this->defaultDataset; + } + public function setDestinationTable(Google_Service_Bigquery_TableReference $destinationTable) + { + $this->destinationTable = $destinationTable; + } + public function getDestinationTable() + { + return $this->destinationTable; + } + public function setFlattenResults($flattenResults) + { + $this->flattenResults = $flattenResults; + } + public function getFlattenResults() + { + return $this->flattenResults; + } + public function setPreserveNulls($preserveNulls) + { + $this->preserveNulls = $preserveNulls; + } + public function getPreserveNulls() + { + return $this->preserveNulls; + } + public function setPriority($priority) + { + $this->priority = $priority; + } + public function getPriority() + { + return $this->priority; + } + public function setQuery($query) + { + $this->query = $query; + } + public function getQuery() + { + return $this->query; + } + public function setTableDefinitions($tableDefinitions) + { + $this->tableDefinitions = $tableDefinitions; + } + public function getTableDefinitions() + { + return $this->tableDefinitions; + } + public function setUseQueryCache($useQueryCache) + { + $this->useQueryCache = $useQueryCache; + } + public function getUseQueryCache() + { + return $this->useQueryCache; + } + public function setUserDefinedFunctionResources($userDefinedFunctionResources) + { + $this->userDefinedFunctionResources = $userDefinedFunctionResources; + } + public function getUserDefinedFunctionResources() + { + return $this->userDefinedFunctionResources; + } + public function setWriteDisposition($writeDisposition) + { + $this->writeDisposition = $writeDisposition; + } + public function getWriteDisposition() + { + return $this->writeDisposition; + } +} + +class Google_Service_Bigquery_JobConfigurationQueryTableDefinitions extends Google_Model +{ +} + +class Google_Service_Bigquery_JobConfigurationTableCopy extends Google_Collection +{ + protected $collection_key = 'sourceTables'; + protected $internal_gapi_mappings = array( + ); + public $createDisposition; + protected $destinationTableType = 'Google_Service_Bigquery_TableReference'; + protected $destinationTableDataType = ''; + protected $sourceTableType = 'Google_Service_Bigquery_TableReference'; + protected $sourceTableDataType = ''; + protected $sourceTablesType = 'Google_Service_Bigquery_TableReference'; + protected $sourceTablesDataType = 'array'; + public $writeDisposition; + + + public function setCreateDisposition($createDisposition) + { + $this->createDisposition = $createDisposition; + } + public function getCreateDisposition() + { + return $this->createDisposition; + } + public function setDestinationTable(Google_Service_Bigquery_TableReference $destinationTable) + { + $this->destinationTable = $destinationTable; + } + public function getDestinationTable() + { + return $this->destinationTable; + } + public function setSourceTable(Google_Service_Bigquery_TableReference $sourceTable) + { + $this->sourceTable = $sourceTable; + } + public function getSourceTable() + { + return $this->sourceTable; + } + public function setSourceTables($sourceTables) + { + $this->sourceTables = $sourceTables; + } + public function getSourceTables() + { + return $this->sourceTables; + } + public function setWriteDisposition($writeDisposition) + { + $this->writeDisposition = $writeDisposition; + } + public function getWriteDisposition() + { + return $this->writeDisposition; + } +} + +class Google_Service_Bigquery_JobList extends Google_Collection +{ + protected $collection_key = 'jobs'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $jobsType = 'Google_Service_Bigquery_JobListJobs'; + protected $jobsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setJobs($jobs) + { + $this->jobs = $jobs; + } + public function getJobs() + { + return $this->jobs; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Bigquery_JobListJobs extends Google_Model +{ + protected $internal_gapi_mappings = array( + "userEmail" => "user_email", + ); + protected $configurationType = 'Google_Service_Bigquery_JobConfiguration'; + protected $configurationDataType = ''; + protected $errorResultType = 'Google_Service_Bigquery_ErrorProto'; + protected $errorResultDataType = ''; + public $id; + protected $jobReferenceType = 'Google_Service_Bigquery_JobReference'; + protected $jobReferenceDataType = ''; + public $kind; + public $state; + protected $statisticsType = 'Google_Service_Bigquery_JobStatistics'; + protected $statisticsDataType = ''; + protected $statusType = 'Google_Service_Bigquery_JobStatus'; + protected $statusDataType = ''; + public $userEmail; + + + public function setConfiguration(Google_Service_Bigquery_JobConfiguration $configuration) + { + $this->configuration = $configuration; + } + public function getConfiguration() + { + return $this->configuration; + } + public function setErrorResult(Google_Service_Bigquery_ErrorProto $errorResult) + { + $this->errorResult = $errorResult; + } + public function getErrorResult() + { + return $this->errorResult; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setJobReference(Google_Service_Bigquery_JobReference $jobReference) + { + $this->jobReference = $jobReference; + } + public function getJobReference() + { + return $this->jobReference; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } + public function setStatistics(Google_Service_Bigquery_JobStatistics $statistics) + { + $this->statistics = $statistics; + } + public function getStatistics() + { + return $this->statistics; + } + public function setStatus(Google_Service_Bigquery_JobStatus $status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setUserEmail($userEmail) + { + $this->userEmail = $userEmail; + } + public function getUserEmail() + { + return $this->userEmail; + } +} + +class Google_Service_Bigquery_JobReference extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $jobId; + public $projectId; + + + public function setJobId($jobId) + { + $this->jobId = $jobId; + } + public function getJobId() + { + return $this->jobId; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } +} + +class Google_Service_Bigquery_JobStatistics extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $creationTime; + public $endTime; + protected $extractType = 'Google_Service_Bigquery_JobStatistics4'; + protected $extractDataType = ''; + protected $loadType = 'Google_Service_Bigquery_JobStatistics3'; + protected $loadDataType = ''; + protected $queryType = 'Google_Service_Bigquery_JobStatistics2'; + protected $queryDataType = ''; + public $startTime; + public $totalBytesProcessed; + + + public function setCreationTime($creationTime) + { + $this->creationTime = $creationTime; + } + public function getCreationTime() + { + return $this->creationTime; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setExtract(Google_Service_Bigquery_JobStatistics4 $extract) + { + $this->extract = $extract; + } + public function getExtract() + { + return $this->extract; + } + public function setLoad(Google_Service_Bigquery_JobStatistics3 $load) + { + $this->load = $load; + } + public function getLoad() + { + return $this->load; + } + public function setQuery(Google_Service_Bigquery_JobStatistics2 $query) + { + $this->query = $query; + } + public function getQuery() + { + return $this->query; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setTotalBytesProcessed($totalBytesProcessed) + { + $this->totalBytesProcessed = $totalBytesProcessed; + } + public function getTotalBytesProcessed() + { + return $this->totalBytesProcessed; + } +} + +class Google_Service_Bigquery_JobStatistics2 extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $billingTier; + public $cacheHit; + public $totalBytesBilled; + public $totalBytesProcessed; + + + public function setBillingTier($billingTier) + { + $this->billingTier = $billingTier; + } + public function getBillingTier() + { + return $this->billingTier; + } + public function setCacheHit($cacheHit) + { + $this->cacheHit = $cacheHit; + } + public function getCacheHit() + { + return $this->cacheHit; + } + public function setTotalBytesBilled($totalBytesBilled) + { + $this->totalBytesBilled = $totalBytesBilled; + } + public function getTotalBytesBilled() + { + return $this->totalBytesBilled; + } + public function setTotalBytesProcessed($totalBytesProcessed) + { + $this->totalBytesProcessed = $totalBytesProcessed; + } + public function getTotalBytesProcessed() + { + return $this->totalBytesProcessed; + } +} + +class Google_Service_Bigquery_JobStatistics3 extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $inputFileBytes; + public $inputFiles; + public $outputBytes; + public $outputRows; + + + public function setInputFileBytes($inputFileBytes) + { + $this->inputFileBytes = $inputFileBytes; + } + public function getInputFileBytes() + { + return $this->inputFileBytes; + } + public function setInputFiles($inputFiles) + { + $this->inputFiles = $inputFiles; + } + public function getInputFiles() + { + return $this->inputFiles; + } + public function setOutputBytes($outputBytes) + { + $this->outputBytes = $outputBytes; + } + public function getOutputBytes() + { + return $this->outputBytes; + } + public function setOutputRows($outputRows) + { + $this->outputRows = $outputRows; + } + public function getOutputRows() + { + return $this->outputRows; + } +} + +class Google_Service_Bigquery_JobStatistics4 extends Google_Collection +{ + protected $collection_key = 'destinationUriFileCounts'; + protected $internal_gapi_mappings = array( + ); + public $destinationUriFileCounts; + + + public function setDestinationUriFileCounts($destinationUriFileCounts) + { + $this->destinationUriFileCounts = $destinationUriFileCounts; + } + public function getDestinationUriFileCounts() + { + return $this->destinationUriFileCounts; + } +} + +class Google_Service_Bigquery_JobStatus extends Google_Collection +{ + protected $collection_key = 'errors'; + protected $internal_gapi_mappings = array( + ); + protected $errorResultType = 'Google_Service_Bigquery_ErrorProto'; + protected $errorResultDataType = ''; + protected $errorsType = 'Google_Service_Bigquery_ErrorProto'; + protected $errorsDataType = 'array'; + public $state; + + + public function setErrorResult(Google_Service_Bigquery_ErrorProto $errorResult) + { + $this->errorResult = $errorResult; + } + public function getErrorResult() + { + return $this->errorResult; + } + public function setErrors($errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } +} + +class Google_Service_Bigquery_JsonObject extends Google_Model +{ +} + +class Google_Service_Bigquery_ProjectList extends Google_Collection +{ + protected $collection_key = 'projects'; + protected $internal_gapi_mappings = array( + ); + public $etag; + public $kind; + public $nextPageToken; + protected $projectsType = 'Google_Service_Bigquery_ProjectListProjects'; + protected $projectsDataType = 'array'; + public $totalItems; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setProjects($projects) + { + $this->projects = $projects; + } + public function getProjects() + { + return $this->projects; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} + +class Google_Service_Bigquery_ProjectListProjects extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $friendlyName; + public $id; + public $kind; + public $numericId; + protected $projectReferenceType = 'Google_Service_Bigquery_ProjectReference'; + protected $projectReferenceDataType = ''; + + + public function setFriendlyName($friendlyName) + { + $this->friendlyName = $friendlyName; + } + public function getFriendlyName() + { + return $this->friendlyName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNumericId($numericId) + { + $this->numericId = $numericId; + } + public function getNumericId() + { + return $this->numericId; + } + public function setProjectReference(Google_Service_Bigquery_ProjectReference $projectReference) + { + $this->projectReference = $projectReference; + } + public function getProjectReference() + { + return $this->projectReference; + } +} + +class Google_Service_Bigquery_ProjectReference extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $projectId; + + + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } +} + +class Google_Service_Bigquery_QueryRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $defaultDatasetType = 'Google_Service_Bigquery_DatasetReference'; + protected $defaultDatasetDataType = ''; + public $dryRun; + public $kind; + public $maxResults; + public $preserveNulls; + public $query; + public $timeoutMs; + public $useQueryCache; + + + public function setDefaultDataset(Google_Service_Bigquery_DatasetReference $defaultDataset) + { + $this->defaultDataset = $defaultDataset; + } + public function getDefaultDataset() + { + return $this->defaultDataset; + } + public function setDryRun($dryRun) + { + $this->dryRun = $dryRun; + } + public function getDryRun() + { + return $this->dryRun; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMaxResults($maxResults) + { + $this->maxResults = $maxResults; + } + public function getMaxResults() + { + return $this->maxResults; + } + public function setPreserveNulls($preserveNulls) + { + $this->preserveNulls = $preserveNulls; + } + public function getPreserveNulls() + { + return $this->preserveNulls; + } + public function setQuery($query) + { + $this->query = $query; + } + public function getQuery() + { + return $this->query; + } + public function setTimeoutMs($timeoutMs) + { + $this->timeoutMs = $timeoutMs; + } + public function getTimeoutMs() + { + return $this->timeoutMs; + } + public function setUseQueryCache($useQueryCache) + { + $this->useQueryCache = $useQueryCache; + } + public function getUseQueryCache() + { + return $this->useQueryCache; + } +} + +class Google_Service_Bigquery_QueryResponse extends Google_Collection +{ + protected $collection_key = 'rows'; + protected $internal_gapi_mappings = array( + ); + public $cacheHit; + protected $errorsType = 'Google_Service_Bigquery_ErrorProto'; + protected $errorsDataType = 'array'; + public $jobComplete; + protected $jobReferenceType = 'Google_Service_Bigquery_JobReference'; + protected $jobReferenceDataType = ''; + public $kind; + public $pageToken; + protected $rowsType = 'Google_Service_Bigquery_TableRow'; + protected $rowsDataType = 'array'; + protected $schemaType = 'Google_Service_Bigquery_TableSchema'; + protected $schemaDataType = ''; + public $totalBytesProcessed; + public $totalRows; + + + public function setCacheHit($cacheHit) + { + $this->cacheHit = $cacheHit; + } + public function getCacheHit() + { + return $this->cacheHit; + } + public function setErrors($errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } + public function setJobComplete($jobComplete) + { + $this->jobComplete = $jobComplete; + } + public function getJobComplete() + { + return $this->jobComplete; + } + public function setJobReference(Google_Service_Bigquery_JobReference $jobReference) + { + $this->jobReference = $jobReference; + } + public function getJobReference() + { + return $this->jobReference; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPageToken($pageToken) + { + $this->pageToken = $pageToken; + } + public function getPageToken() + { + return $this->pageToken; + } + public function setRows($rows) + { + $this->rows = $rows; + } + public function getRows() + { + return $this->rows; + } + public function setSchema(Google_Service_Bigquery_TableSchema $schema) + { + $this->schema = $schema; + } + public function getSchema() + { + return $this->schema; + } + public function setTotalBytesProcessed($totalBytesProcessed) + { + $this->totalBytesProcessed = $totalBytesProcessed; + } + public function getTotalBytesProcessed() + { + return $this->totalBytesProcessed; + } + public function setTotalRows($totalRows) + { + $this->totalRows = $totalRows; + } + public function getTotalRows() + { + return $this->totalRows; + } +} + +class Google_Service_Bigquery_Streamingbuffer extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $estimatedBytes; + public $estimatedRows; + public $oldestEntryTime; + + + public function setEstimatedBytes($estimatedBytes) + { + $this->estimatedBytes = $estimatedBytes; + } + public function getEstimatedBytes() + { + return $this->estimatedBytes; + } + public function setEstimatedRows($estimatedRows) + { + $this->estimatedRows = $estimatedRows; + } + public function getEstimatedRows() + { + return $this->estimatedRows; + } + public function setOldestEntryTime($oldestEntryTime) + { + $this->oldestEntryTime = $oldestEntryTime; + } + public function getOldestEntryTime() + { + return $this->oldestEntryTime; + } +} + +class Google_Service_Bigquery_Table extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $creationTime; + public $description; + public $etag; + public $expirationTime; + protected $externalDataConfigurationType = 'Google_Service_Bigquery_ExternalDataConfiguration'; + protected $externalDataConfigurationDataType = ''; + public $friendlyName; + public $id; + public $kind; + public $lastModifiedTime; + public $location; + public $numBytes; + public $numRows; + protected $schemaType = 'Google_Service_Bigquery_TableSchema'; + protected $schemaDataType = ''; + public $selfLink; + protected $streamingBufferType = 'Google_Service_Bigquery_Streamingbuffer'; + protected $streamingBufferDataType = ''; + protected $tableReferenceType = 'Google_Service_Bigquery_TableReference'; + protected $tableReferenceDataType = ''; + public $type; + protected $viewType = 'Google_Service_Bigquery_ViewDefinition'; + protected $viewDataType = ''; + + + public function setCreationTime($creationTime) + { + $this->creationTime = $creationTime; + } + public function getCreationTime() + { + return $this->creationTime; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setExpirationTime($expirationTime) + { + $this->expirationTime = $expirationTime; + } + public function getExpirationTime() + { + return $this->expirationTime; + } + public function setExternalDataConfiguration(Google_Service_Bigquery_ExternalDataConfiguration $externalDataConfiguration) + { + $this->externalDataConfiguration = $externalDataConfiguration; + } + public function getExternalDataConfiguration() + { + return $this->externalDataConfiguration; + } + public function setFriendlyName($friendlyName) + { + $this->friendlyName = $friendlyName; + } + public function getFriendlyName() + { + return $this->friendlyName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastModifiedTime($lastModifiedTime) + { + $this->lastModifiedTime = $lastModifiedTime; + } + public function getLastModifiedTime() + { + return $this->lastModifiedTime; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setNumBytes($numBytes) + { + $this->numBytes = $numBytes; + } + public function getNumBytes() + { + return $this->numBytes; + } + public function setNumRows($numRows) + { + $this->numRows = $numRows; + } + public function getNumRows() + { + return $this->numRows; + } + public function setSchema(Google_Service_Bigquery_TableSchema $schema) + { + $this->schema = $schema; + } + public function getSchema() + { + return $this->schema; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStreamingBuffer(Google_Service_Bigquery_Streamingbuffer $streamingBuffer) + { + $this->streamingBuffer = $streamingBuffer; + } + public function getStreamingBuffer() + { + return $this->streamingBuffer; + } + public function setTableReference(Google_Service_Bigquery_TableReference $tableReference) + { + $this->tableReference = $tableReference; + } + public function getTableReference() + { + return $this->tableReference; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setView(Google_Service_Bigquery_ViewDefinition $view) + { + $this->view = $view; + } + public function getView() + { + return $this->view; + } +} + +class Google_Service_Bigquery_TableCell extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $v; + + + public function setV($v) + { + $this->v = $v; + } + public function getV() + { + return $this->v; + } +} + +class Google_Service_Bigquery_TableDataInsertAllRequest extends Google_Collection +{ + protected $collection_key = 'rows'; + protected $internal_gapi_mappings = array( + ); + public $ignoreUnknownValues; + public $kind; + protected $rowsType = 'Google_Service_Bigquery_TableDataInsertAllRequestRows'; + protected $rowsDataType = 'array'; + public $skipInvalidRows; + + + public function setIgnoreUnknownValues($ignoreUnknownValues) + { + $this->ignoreUnknownValues = $ignoreUnknownValues; + } + public function getIgnoreUnknownValues() + { + return $this->ignoreUnknownValues; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRows($rows) + { + $this->rows = $rows; + } + public function getRows() + { + return $this->rows; + } + public function setSkipInvalidRows($skipInvalidRows) + { + $this->skipInvalidRows = $skipInvalidRows; + } + public function getSkipInvalidRows() + { + return $this->skipInvalidRows; + } +} + +class Google_Service_Bigquery_TableDataInsertAllRequestRows extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $insertId; + public $json; + + + public function setInsertId($insertId) + { + $this->insertId = $insertId; + } + public function getInsertId() + { + return $this->insertId; + } + public function setJson($json) + { + $this->json = $json; + } + public function getJson() + { + return $this->json; + } +} + +class Google_Service_Bigquery_TableDataInsertAllResponse extends Google_Collection +{ + protected $collection_key = 'insertErrors'; + protected $internal_gapi_mappings = array( + ); + protected $insertErrorsType = 'Google_Service_Bigquery_TableDataInsertAllResponseInsertErrors'; + protected $insertErrorsDataType = 'array'; + public $kind; + + + public function setInsertErrors($insertErrors) + { + $this->insertErrors = $insertErrors; + } + public function getInsertErrors() + { + return $this->insertErrors; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Bigquery_TableDataInsertAllResponseInsertErrors extends Google_Collection +{ + protected $collection_key = 'errors'; + protected $internal_gapi_mappings = array( + ); + protected $errorsType = 'Google_Service_Bigquery_ErrorProto'; + protected $errorsDataType = 'array'; + public $index; + + + public function setErrors($errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } + public function setIndex($index) + { + $this->index = $index; + } + public function getIndex() + { + return $this->index; + } +} + +class Google_Service_Bigquery_TableDataList extends Google_Collection +{ + protected $collection_key = 'rows'; + protected $internal_gapi_mappings = array( + ); + public $etag; + public $kind; + public $pageToken; + protected $rowsType = 'Google_Service_Bigquery_TableRow'; + protected $rowsDataType = 'array'; + public $totalRows; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPageToken($pageToken) + { + $this->pageToken = $pageToken; + } + public function getPageToken() + { + return $this->pageToken; + } + public function setRows($rows) + { + $this->rows = $rows; + } + public function getRows() + { + return $this->rows; + } + public function setTotalRows($totalRows) + { + $this->totalRows = $totalRows; + } + public function getTotalRows() + { + return $this->totalRows; + } +} + +class Google_Service_Bigquery_TableFieldSchema extends Google_Collection +{ + protected $collection_key = 'fields'; + protected $internal_gapi_mappings = array( + ); + public $description; + protected $fieldsType = 'Google_Service_Bigquery_TableFieldSchema'; + protected $fieldsDataType = 'array'; + public $mode; + public $name; + public $type; + + + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setFields($fields) + { + $this->fields = $fields; + } + public function getFields() + { + return $this->fields; + } + public function setMode($mode) + { + $this->mode = $mode; + } + public function getMode() + { + return $this->mode; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Bigquery_TableList extends Google_Collection +{ + protected $collection_key = 'tables'; + protected $internal_gapi_mappings = array( + ); + public $etag; + public $kind; + public $nextPageToken; + protected $tablesType = 'Google_Service_Bigquery_TableListTables'; + protected $tablesDataType = 'array'; + public $totalItems; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTables($tables) + { + $this->tables = $tables; + } + public function getTables() + { + return $this->tables; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} + +class Google_Service_Bigquery_TableListTables extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $friendlyName; + public $id; + public $kind; + protected $tableReferenceType = 'Google_Service_Bigquery_TableReference'; + protected $tableReferenceDataType = ''; + public $type; + + + public function setFriendlyName($friendlyName) + { + $this->friendlyName = $friendlyName; + } + public function getFriendlyName() + { + return $this->friendlyName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setTableReference(Google_Service_Bigquery_TableReference $tableReference) + { + $this->tableReference = $tableReference; + } + public function getTableReference() + { + return $this->tableReference; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Bigquery_TableReference extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $datasetId; + public $projectId; + public $tableId; + + + public function setDatasetId($datasetId) + { + $this->datasetId = $datasetId; + } + public function getDatasetId() + { + return $this->datasetId; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } + public function setTableId($tableId) + { + $this->tableId = $tableId; + } + public function getTableId() + { + return $this->tableId; + } +} + +class Google_Service_Bigquery_TableRow extends Google_Collection +{ + protected $collection_key = 'f'; + protected $internal_gapi_mappings = array( + ); + protected $fType = 'Google_Service_Bigquery_TableCell'; + protected $fDataType = 'array'; + + + public function setF($f) + { + $this->f = $f; + } + public function getF() + { + return $this->f; + } +} + +class Google_Service_Bigquery_TableSchema extends Google_Collection +{ + protected $collection_key = 'fields'; + protected $internal_gapi_mappings = array( + ); + protected $fieldsType = 'Google_Service_Bigquery_TableFieldSchema'; + protected $fieldsDataType = 'array'; + + + public function setFields($fields) + { + $this->fields = $fields; + } + public function getFields() + { + return $this->fields; + } +} + +class Google_Service_Bigquery_UserDefinedFunctionResource extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $inlineCode; + public $resourceUri; + + + public function setInlineCode($inlineCode) + { + $this->inlineCode = $inlineCode; + } + public function getInlineCode() + { + return $this->inlineCode; + } + public function setResourceUri($resourceUri) + { + $this->resourceUri = $resourceUri; + } + public function getResourceUri() + { + return $this->resourceUri; + } +} + +class Google_Service_Bigquery_ViewDefinition extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $query; + + + public function setQuery($query) + { + $this->query = $query; + } + public function getQuery() + { + return $this->query; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Blogger.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Blogger.php new file mode 100644 index 0000000..1f86ac3 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Blogger.php @@ -0,0 +1,3330 @@ + + * API for access to the data within Blogger.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Blogger extends Google_Service +{ + /** Manage your Blogger account. */ + const BLOGGER = + "https://www.googleapis.com/auth/blogger"; + /** View your Blogger account. */ + const BLOGGER_READONLY = + "https://www.googleapis.com/auth/blogger.readonly"; + + public $blogUserInfos; + public $blogs; + public $comments; + public $pageViews; + public $pages; + public $postUserInfos; + public $posts; + public $users; + + + /** + * Constructs the internal representation of the Blogger service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'blogger/v3/'; + $this->version = 'v3'; + $this->serviceName = 'blogger'; + + $this->blogUserInfos = new Google_Service_Blogger_BlogUserInfos_Resource( + $this, + $this->serviceName, + 'blogUserInfos', + array( + 'methods' => array( + 'get' => array( + 'path' => 'users/{userId}/blogs/{blogId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxPosts' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->blogs = new Google_Service_Blogger_Blogs_Resource( + $this, + $this->serviceName, + 'blogs', + array( + 'methods' => array( + 'get' => array( + 'path' => 'blogs/{blogId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxPosts' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'getByUrl' => array( + 'path' => 'blogs/byurl', + 'httpMethod' => 'GET', + 'parameters' => array( + 'url' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'listByUser' => array( + 'path' => 'users/{userId}/blogs', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'fetchUserInfo' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'status' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'role' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->comments = new Google_Service_Blogger_Comments_Resource( + $this, + $this->serviceName, + 'comments', + array( + 'methods' => array( + 'approve' => array( + 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}/approve', + 'httpMethod' => 'POST', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'postId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'commentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'postId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'commentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'postId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'commentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'blogs/{blogId}/posts/{postId}/comments', + 'httpMethod' => 'GET', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'postId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'status' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'startDate' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'endDate' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'fetchBodies' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'listByBlog' => array( + 'path' => 'blogs/{blogId}/comments', + 'httpMethod' => 'GET', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'status' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'startDate' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'endDate' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'fetchBodies' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'markAsSpam' => array( + 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}/spam', + 'httpMethod' => 'POST', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'postId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'commentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'removeContent' => array( + 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}/removecontent', + 'httpMethod' => 'POST', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'postId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'commentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->pageViews = new Google_Service_Blogger_PageViews_Resource( + $this, + $this->serviceName, + 'pageViews', + array( + 'methods' => array( + 'get' => array( + 'path' => 'blogs/{blogId}/pageviews', + 'httpMethod' => 'GET', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'range' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ), + ) + ) + ); + $this->pages = new Google_Service_Blogger_Pages_Resource( + $this, + $this->serviceName, + 'pages', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'blogs/{blogId}/pages/{pageId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'blogs/{blogId}/pages/{pageId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'insert' => array( + 'path' => 'blogs/{blogId}/pages', + 'httpMethod' => 'POST', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'isDraft' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'list' => array( + 'path' => 'blogs/{blogId}/pages', + 'httpMethod' => 'GET', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'status' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'fetchBodies' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'blogs/{blogId}/pages/{pageId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'revert' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'publish' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'publish' => array( + 'path' => 'blogs/{blogId}/pages/{pageId}/publish', + 'httpMethod' => 'POST', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'revert' => array( + 'path' => 'blogs/{blogId}/pages/{pageId}/revert', + 'httpMethod' => 'POST', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'blogs/{blogId}/pages/{pageId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'revert' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'publish' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->postUserInfos = new Google_Service_Blogger_PostUserInfos_Resource( + $this, + $this->serviceName, + 'postUserInfos', + array( + 'methods' => array( + 'get' => array( + 'path' => 'users/{userId}/blogs/{blogId}/posts/{postId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'postId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxComments' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'list' => array( + 'path' => 'users/{userId}/blogs/{blogId}/posts', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startDate' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'endDate' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'labels' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'status' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'fetchBodies' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->posts = new Google_Service_Blogger_Posts_Resource( + $this, + $this->serviceName, + 'posts', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'blogs/{blogId}/posts/{postId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'postId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'blogs/{blogId}/posts/{postId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'postId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'fetchBody' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxComments' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'fetchImages' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'getByPath' => array( + 'path' => 'blogs/{blogId}/posts/bypath', + 'httpMethod' => 'GET', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'path' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'maxComments' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'insert' => array( + 'path' => 'blogs/{blogId}/posts', + 'httpMethod' => 'POST', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'fetchImages' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'isDraft' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'fetchBody' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'list' => array( + 'path' => 'blogs/{blogId}/posts', + 'httpMethod' => 'GET', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startDate' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'endDate' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'labels' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'fetchImages' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'status' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'fetchBodies' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'blogs/{blogId}/posts/{postId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'postId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'revert' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'publish' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'fetchBody' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxComments' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'fetchImages' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'publish' => array( + 'path' => 'blogs/{blogId}/posts/{postId}/publish', + 'httpMethod' => 'POST', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'postId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'publishDate' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'revert' => array( + 'path' => 'blogs/{blogId}/posts/{postId}/revert', + 'httpMethod' => 'POST', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'postId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'search' => array( + 'path' => 'blogs/{blogId}/posts/search', + 'httpMethod' => 'GET', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'q' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'fetchBodies' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'update' => array( + 'path' => 'blogs/{blogId}/posts/{postId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'blogId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'postId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'revert' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'publish' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'fetchBody' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxComments' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'fetchImages' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->users = new Google_Service_Blogger_Users_Resource( + $this, + $this->serviceName, + 'users', + array( + 'methods' => array( + 'get' => array( + 'path' => 'users/{userId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "blogUserInfos" collection of methods. + * Typical usage is: + * + * $bloggerService = new Google_Service_Blogger(...); + * $blogUserInfos = $bloggerService->blogUserInfos; + * + */ +class Google_Service_Blogger_BlogUserInfos_Resource extends Google_Service_Resource +{ + + /** + * Gets one blog and user info pair by blogId and userId. (blogUserInfos.get) + * + * @param string $userId ID of the user whose blogs are to be fetched. Either + * the word 'self' (sans quote marks) or the user's profile identifier. + * @param string $blogId The ID of the blog to get. + * @param array $optParams Optional parameters. + * + * @opt_param string maxPosts Maximum number of posts to pull back with the + * blog. + * @return Google_Service_Blogger_BlogUserInfo + */ + public function get($userId, $blogId, $optParams = array()) + { + $params = array('userId' => $userId, 'blogId' => $blogId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Blogger_BlogUserInfo"); + } +} + +/** + * The "blogs" collection of methods. + * Typical usage is: + * + * $bloggerService = new Google_Service_Blogger(...); + * $blogs = $bloggerService->blogs; + * + */ +class Google_Service_Blogger_Blogs_Resource extends Google_Service_Resource +{ + + /** + * Gets one blog by ID. (blogs.get) + * + * @param string $blogId The ID of the blog to get. + * @param array $optParams Optional parameters. + * + * @opt_param string maxPosts Maximum number of posts to pull back with the + * blog. + * @opt_param string view Access level with which to view the blog. Note that + * some fields require elevated access. + * @return Google_Service_Blogger_Blog + */ + public function get($blogId, $optParams = array()) + { + $params = array('blogId' => $blogId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Blogger_Blog"); + } + + /** + * Retrieve a Blog by URL. (blogs.getByUrl) + * + * @param string $url The URL of the blog to retrieve. + * @param array $optParams Optional parameters. + * + * @opt_param string view Access level with which to view the blog. Note that + * some fields require elevated access. + * @return Google_Service_Blogger_Blog + */ + public function getByUrl($url, $optParams = array()) + { + $params = array('url' => $url); + $params = array_merge($params, $optParams); + return $this->call('getByUrl', array($params), "Google_Service_Blogger_Blog"); + } + + /** + * Retrieves a list of blogs, possibly filtered. (blogs.listByUser) + * + * @param string $userId ID of the user whose blogs are to be fetched. Either + * the word 'self' (sans quote marks) or the user's profile identifier. + * @param array $optParams Optional parameters. + * + * @opt_param bool fetchUserInfo Whether the response is a list of blogs with + * per-user information instead of just blogs. + * @opt_param string status Blog statuses to include in the result (default: + * Live blogs only). Note that ADMIN access is required to view deleted blogs. + * @opt_param string role User access types for blogs to include in the results, + * e.g. AUTHOR will return blogs where the user has author level access. If no + * roles are specified, defaults to ADMIN and AUTHOR roles. + * @opt_param string view Access level with which to view the blogs. Note that + * some fields require elevated access. + * @return Google_Service_Blogger_BlogList + */ + public function listByUser($userId, $optParams = array()) + { + $params = array('userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('listByUser', array($params), "Google_Service_Blogger_BlogList"); + } +} + +/** + * The "comments" collection of methods. + * Typical usage is: + * + * $bloggerService = new Google_Service_Blogger(...); + * $comments = $bloggerService->comments; + * + */ +class Google_Service_Blogger_Comments_Resource extends Google_Service_Resource +{ + + /** + * Marks a comment as not spam. (comments.approve) + * + * @param string $blogId The ID of the Blog. + * @param string $postId The ID of the Post. + * @param string $commentId The ID of the comment to mark as not spam. + * @param array $optParams Optional parameters. + * @return Google_Service_Blogger_Comment + */ + public function approve($blogId, $postId, $commentId, $optParams = array()) + { + $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId); + $params = array_merge($params, $optParams); + return $this->call('approve', array($params), "Google_Service_Blogger_Comment"); + } + + /** + * Delete a comment by ID. (comments.delete) + * + * @param string $blogId The ID of the Blog. + * @param string $postId The ID of the Post. + * @param string $commentId The ID of the comment to delete. + * @param array $optParams Optional parameters. + */ + public function delete($blogId, $postId, $commentId, $optParams = array()) + { + $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Gets one comment by ID. (comments.get) + * + * @param string $blogId ID of the blog to containing the comment. + * @param string $postId ID of the post to fetch posts from. + * @param string $commentId The ID of the comment to get. + * @param array $optParams Optional parameters. + * + * @opt_param string view Access level for the requested comment (default: + * READER). Note that some comments will require elevated permissions, for + * example comments where the parent posts which is in a draft state, or + * comments that are pending moderation. + * @return Google_Service_Blogger_Comment + */ + public function get($blogId, $postId, $commentId, $optParams = array()) + { + $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Blogger_Comment"); + } + + /** + * Retrieves the comments for a post, possibly filtered. (comments.listComments) + * + * @param string $blogId ID of the blog to fetch comments from. + * @param string $postId ID of the post to fetch posts from. + * @param array $optParams Optional parameters. + * + * @opt_param string status + * @opt_param string startDate Earliest date of comment to fetch, a date-time + * with RFC 3339 formatting. + * @opt_param string endDate Latest date of comment to fetch, a date-time with + * RFC 3339 formatting. + * @opt_param string maxResults Maximum number of comments to include in the + * result. + * @opt_param string pageToken Continuation token if request is paged. + * @opt_param bool fetchBodies Whether the body content of the comments is + * included. + * @opt_param string view Access level with which to view the returned result. + * Note that some fields require elevated access. + * @return Google_Service_Blogger_CommentList + */ + public function listComments($blogId, $postId, $optParams = array()) + { + $params = array('blogId' => $blogId, 'postId' => $postId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Blogger_CommentList"); + } + + /** + * Retrieves the comments for a blog, across all posts, possibly filtered. + * (comments.listByBlog) + * + * @param string $blogId ID of the blog to fetch comments from. + * @param array $optParams Optional parameters. + * + * @opt_param string status + * @opt_param string startDate Earliest date of comment to fetch, a date-time + * with RFC 3339 formatting. + * @opt_param string endDate Latest date of comment to fetch, a date-time with + * RFC 3339 formatting. + * @opt_param string maxResults Maximum number of comments to include in the + * result. + * @opt_param string pageToken Continuation token if request is paged. + * @opt_param bool fetchBodies Whether the body content of the comments is + * included. + * @return Google_Service_Blogger_CommentList + */ + public function listByBlog($blogId, $optParams = array()) + { + $params = array('blogId' => $blogId); + $params = array_merge($params, $optParams); + return $this->call('listByBlog', array($params), "Google_Service_Blogger_CommentList"); + } + + /** + * Marks a comment as spam. (comments.markAsSpam) + * + * @param string $blogId The ID of the Blog. + * @param string $postId The ID of the Post. + * @param string $commentId The ID of the comment to mark as spam. + * @param array $optParams Optional parameters. + * @return Google_Service_Blogger_Comment + */ + public function markAsSpam($blogId, $postId, $commentId, $optParams = array()) + { + $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId); + $params = array_merge($params, $optParams); + return $this->call('markAsSpam', array($params), "Google_Service_Blogger_Comment"); + } + + /** + * Removes the content of a comment. (comments.removeContent) + * + * @param string $blogId The ID of the Blog. + * @param string $postId The ID of the Post. + * @param string $commentId The ID of the comment to delete content from. + * @param array $optParams Optional parameters. + * @return Google_Service_Blogger_Comment + */ + public function removeContent($blogId, $postId, $commentId, $optParams = array()) + { + $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId); + $params = array_merge($params, $optParams); + return $this->call('removeContent', array($params), "Google_Service_Blogger_Comment"); + } +} + +/** + * The "pageViews" collection of methods. + * Typical usage is: + * + * $bloggerService = new Google_Service_Blogger(...); + * $pageViews = $bloggerService->pageViews; + * + */ +class Google_Service_Blogger_PageViews_Resource extends Google_Service_Resource +{ + + /** + * Retrieve pageview stats for a Blog. (pageViews.get) + * + * @param string $blogId The ID of the blog to get. + * @param array $optParams Optional parameters. + * + * @opt_param string range + * @return Google_Service_Blogger_Pageviews + */ + public function get($blogId, $optParams = array()) + { + $params = array('blogId' => $blogId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Blogger_Pageviews"); + } +} + +/** + * The "pages" collection of methods. + * Typical usage is: + * + * $bloggerService = new Google_Service_Blogger(...); + * $pages = $bloggerService->pages; + * + */ +class Google_Service_Blogger_Pages_Resource extends Google_Service_Resource +{ + + /** + * Delete a page by ID. (pages.delete) + * + * @param string $blogId The ID of the Blog. + * @param string $pageId The ID of the Page. + * @param array $optParams Optional parameters. + */ + public function delete($blogId, $pageId, $optParams = array()) + { + $params = array('blogId' => $blogId, 'pageId' => $pageId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Gets one blog page by ID. (pages.get) + * + * @param string $blogId ID of the blog containing the page. + * @param string $pageId The ID of the page to get. + * @param array $optParams Optional parameters. + * + * @opt_param string view + * @return Google_Service_Blogger_Page + */ + public function get($blogId, $pageId, $optParams = array()) + { + $params = array('blogId' => $blogId, 'pageId' => $pageId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Blogger_Page"); + } + + /** + * Add a page. (pages.insert) + * + * @param string $blogId ID of the blog to add the page to. + * @param Google_Page $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool isDraft Whether to create the page as a draft (default: + * false). + * @return Google_Service_Blogger_Page + */ + public function insert($blogId, Google_Service_Blogger_Page $postBody, $optParams = array()) + { + $params = array('blogId' => $blogId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Blogger_Page"); + } + + /** + * Retrieves the pages for a blog, optionally including non-LIVE statuses. + * (pages.listPages) + * + * @param string $blogId ID of the blog to fetch Pages from. + * @param array $optParams Optional parameters. + * + * @opt_param string status + * @opt_param string maxResults Maximum number of Pages to fetch. + * @opt_param string pageToken Continuation token if the request is paged. + * @opt_param bool fetchBodies Whether to retrieve the Page bodies. + * @opt_param string view Access level with which to view the returned result. + * Note that some fields require elevated access. + * @return Google_Service_Blogger_PageList + */ + public function listPages($blogId, $optParams = array()) + { + $params = array('blogId' => $blogId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Blogger_PageList"); + } + + /** + * Update a page. This method supports patch semantics. (pages.patch) + * + * @param string $blogId The ID of the Blog. + * @param string $pageId The ID of the Page. + * @param Google_Page $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool revert Whether a revert action should be performed when the + * page is updated (default: false). + * @opt_param bool publish Whether a publish action should be performed when the + * page is updated (default: false). + * @return Google_Service_Blogger_Page + */ + public function patch($blogId, $pageId, Google_Service_Blogger_Page $postBody, $optParams = array()) + { + $params = array('blogId' => $blogId, 'pageId' => $pageId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Blogger_Page"); + } + + /** + * Publishes a draft page. (pages.publish) + * + * @param string $blogId The ID of the blog. + * @param string $pageId The ID of the page. + * @param array $optParams Optional parameters. + * @return Google_Service_Blogger_Page + */ + public function publish($blogId, $pageId, $optParams = array()) + { + $params = array('blogId' => $blogId, 'pageId' => $pageId); + $params = array_merge($params, $optParams); + return $this->call('publish', array($params), "Google_Service_Blogger_Page"); + } + + /** + * Revert a published or scheduled page to draft state. (pages.revert) + * + * @param string $blogId The ID of the blog. + * @param string $pageId The ID of the page. + * @param array $optParams Optional parameters. + * @return Google_Service_Blogger_Page + */ + public function revert($blogId, $pageId, $optParams = array()) + { + $params = array('blogId' => $blogId, 'pageId' => $pageId); + $params = array_merge($params, $optParams); + return $this->call('revert', array($params), "Google_Service_Blogger_Page"); + } + + /** + * Update a page. (pages.update) + * + * @param string $blogId The ID of the Blog. + * @param string $pageId The ID of the Page. + * @param Google_Page $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool revert Whether a revert action should be performed when the + * page is updated (default: false). + * @opt_param bool publish Whether a publish action should be performed when the + * page is updated (default: false). + * @return Google_Service_Blogger_Page + */ + public function update($blogId, $pageId, Google_Service_Blogger_Page $postBody, $optParams = array()) + { + $params = array('blogId' => $blogId, 'pageId' => $pageId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Blogger_Page"); + } +} + +/** + * The "postUserInfos" collection of methods. + * Typical usage is: + * + * $bloggerService = new Google_Service_Blogger(...); + * $postUserInfos = $bloggerService->postUserInfos; + * + */ +class Google_Service_Blogger_PostUserInfos_Resource extends Google_Service_Resource +{ + + /** + * Gets one post and user info pair, by post ID and user ID. The post user info + * contains per-user information about the post, such as access rights, specific + * to the user. (postUserInfos.get) + * + * @param string $userId ID of the user for the per-user information to be + * fetched. Either the word 'self' (sans quote marks) or the user's profile + * identifier. + * @param string $blogId The ID of the blog. + * @param string $postId The ID of the post to get. + * @param array $optParams Optional parameters. + * + * @opt_param string maxComments Maximum number of comments to pull back on a + * post. + * @return Google_Service_Blogger_PostUserInfo + */ + public function get($userId, $blogId, $postId, $optParams = array()) + { + $params = array('userId' => $userId, 'blogId' => $blogId, 'postId' => $postId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Blogger_PostUserInfo"); + } + + /** + * Retrieves a list of post and post user info pairs, possibly filtered. The + * post user info contains per-user information about the post, such as access + * rights, specific to the user. (postUserInfos.listPostUserInfos) + * + * @param string $userId ID of the user for the per-user information to be + * fetched. Either the word 'self' (sans quote marks) or the user's profile + * identifier. + * @param string $blogId ID of the blog to fetch posts from. + * @param array $optParams Optional parameters. + * + * @opt_param string orderBy Sort order applied to search results. Default is + * published. + * @opt_param string startDate Earliest post date to fetch, a date-time with RFC + * 3339 formatting. + * @opt_param string endDate Latest post date to fetch, a date-time with RFC + * 3339 formatting. + * @opt_param string labels Comma-separated list of labels to search for. + * @opt_param string maxResults Maximum number of posts to fetch. + * @opt_param string pageToken Continuation token if the request is paged. + * @opt_param string status + * @opt_param bool fetchBodies Whether the body content of posts is included. + * Default is false. + * @opt_param string view Access level with which to view the returned result. + * Note that some fields require elevated access. + * @return Google_Service_Blogger_PostUserInfosList + */ + public function listPostUserInfos($userId, $blogId, $optParams = array()) + { + $params = array('userId' => $userId, 'blogId' => $blogId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Blogger_PostUserInfosList"); + } +} + +/** + * The "posts" collection of methods. + * Typical usage is: + * + * $bloggerService = new Google_Service_Blogger(...); + * $posts = $bloggerService->posts; + * + */ +class Google_Service_Blogger_Posts_Resource extends Google_Service_Resource +{ + + /** + * Delete a post by ID. (posts.delete) + * + * @param string $blogId The ID of the Blog. + * @param string $postId The ID of the Post. + * @param array $optParams Optional parameters. + */ + public function delete($blogId, $postId, $optParams = array()) + { + $params = array('blogId' => $blogId, 'postId' => $postId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Get a post by ID. (posts.get) + * + * @param string $blogId ID of the blog to fetch the post from. + * @param string $postId The ID of the post + * @param array $optParams Optional parameters. + * + * @opt_param bool fetchBody Whether the body content of the post is included + * (default: true). This should be set to false when the post bodies are not + * required, to help minimize traffic. + * @opt_param string maxComments Maximum number of comments to pull back on a + * post. + * @opt_param bool fetchImages Whether image URL metadata for each post is + * included (default: false). + * @opt_param string view Access level with which to view the returned result. + * Note that some fields require elevated access. + * @return Google_Service_Blogger_Post + */ + public function get($blogId, $postId, $optParams = array()) + { + $params = array('blogId' => $blogId, 'postId' => $postId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Blogger_Post"); + } + + /** + * Retrieve a Post by Path. (posts.getByPath) + * + * @param string $blogId ID of the blog to fetch the post from. + * @param string $path Path of the Post to retrieve. + * @param array $optParams Optional parameters. + * + * @opt_param string maxComments Maximum number of comments to pull back on a + * post. + * @opt_param string view Access level with which to view the returned result. + * Note that some fields require elevated access. + * @return Google_Service_Blogger_Post + */ + public function getByPath($blogId, $path, $optParams = array()) + { + $params = array('blogId' => $blogId, 'path' => $path); + $params = array_merge($params, $optParams); + return $this->call('getByPath', array($params), "Google_Service_Blogger_Post"); + } + + /** + * Add a post. (posts.insert) + * + * @param string $blogId ID of the blog to add the post to. + * @param Google_Post $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool fetchImages Whether image URL metadata for each post is + * included in the returned result (default: false). + * @opt_param bool isDraft Whether to create the post as a draft (default: + * false). + * @opt_param bool fetchBody Whether the body content of the post is included + * with the result (default: true). + * @return Google_Service_Blogger_Post + */ + public function insert($blogId, Google_Service_Blogger_Post $postBody, $optParams = array()) + { + $params = array('blogId' => $blogId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Blogger_Post"); + } + + /** + * Retrieves a list of posts, possibly filtered. (posts.listPosts) + * + * @param string $blogId ID of the blog to fetch posts from. + * @param array $optParams Optional parameters. + * + * @opt_param string orderBy Sort search results + * @opt_param string startDate Earliest post date to fetch, a date-time with RFC + * 3339 formatting. + * @opt_param string endDate Latest post date to fetch, a date-time with RFC + * 3339 formatting. + * @opt_param string labels Comma-separated list of labels to search for. + * @opt_param string maxResults Maximum number of posts to fetch. + * @opt_param bool fetchImages Whether image URL metadata for each post is + * included. + * @opt_param string pageToken Continuation token if the request is paged. + * @opt_param string status Statuses to include in the results. + * @opt_param bool fetchBodies Whether the body content of posts is included + * (default: true). This should be set to false when the post bodies are not + * required, to help minimize traffic. + * @opt_param string view Access level with which to view the returned result. + * Note that some fields require escalated access. + * @return Google_Service_Blogger_PostList + */ + public function listPosts($blogId, $optParams = array()) + { + $params = array('blogId' => $blogId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Blogger_PostList"); + } + + /** + * Update a post. This method supports patch semantics. (posts.patch) + * + * @param string $blogId The ID of the Blog. + * @param string $postId The ID of the Post. + * @param Google_Post $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool revert Whether a revert action should be performed when the + * post is updated (default: false). + * @opt_param bool publish Whether a publish action should be performed when the + * post is updated (default: false). + * @opt_param bool fetchBody Whether the body content of the post is included + * with the result (default: true). + * @opt_param string maxComments Maximum number of comments to retrieve with the + * returned post. + * @opt_param bool fetchImages Whether image URL metadata for each post is + * included in the returned result (default: false). + * @return Google_Service_Blogger_Post + */ + public function patch($blogId, $postId, Google_Service_Blogger_Post $postBody, $optParams = array()) + { + $params = array('blogId' => $blogId, 'postId' => $postId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Blogger_Post"); + } + + /** + * Publishes a draft post, optionally at the specific time of the given + * publishDate parameter. (posts.publish) + * + * @param string $blogId The ID of the Blog. + * @param string $postId The ID of the Post. + * @param array $optParams Optional parameters. + * + * @opt_param string publishDate Optional date and time to schedule the + * publishing of the Blog. If no publishDate parameter is given, the post is + * either published at the a previously saved schedule date (if present), or the + * current time. If a future date is given, the post will be scheduled to be + * published. + * @return Google_Service_Blogger_Post + */ + public function publish($blogId, $postId, $optParams = array()) + { + $params = array('blogId' => $blogId, 'postId' => $postId); + $params = array_merge($params, $optParams); + return $this->call('publish', array($params), "Google_Service_Blogger_Post"); + } + + /** + * Revert a published or scheduled post to draft state. (posts.revert) + * + * @param string $blogId The ID of the Blog. + * @param string $postId The ID of the Post. + * @param array $optParams Optional parameters. + * @return Google_Service_Blogger_Post + */ + public function revert($blogId, $postId, $optParams = array()) + { + $params = array('blogId' => $blogId, 'postId' => $postId); + $params = array_merge($params, $optParams); + return $this->call('revert', array($params), "Google_Service_Blogger_Post"); + } + + /** + * Search for a post. (posts.search) + * + * @param string $blogId ID of the blog to fetch the post from. + * @param string $q Query terms to search this blog for matching posts. + * @param array $optParams Optional parameters. + * + * @opt_param string orderBy Sort search results + * @opt_param bool fetchBodies Whether the body content of posts is included + * (default: true). This should be set to false when the post bodies are not + * required, to help minimize traffic. + * @return Google_Service_Blogger_PostList + */ + public function search($blogId, $q, $optParams = array()) + { + $params = array('blogId' => $blogId, 'q' => $q); + $params = array_merge($params, $optParams); + return $this->call('search', array($params), "Google_Service_Blogger_PostList"); + } + + /** + * Update a post. (posts.update) + * + * @param string $blogId The ID of the Blog. + * @param string $postId The ID of the Post. + * @param Google_Post $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool revert Whether a revert action should be performed when the + * post is updated (default: false). + * @opt_param bool publish Whether a publish action should be performed when the + * post is updated (default: false). + * @opt_param bool fetchBody Whether the body content of the post is included + * with the result (default: true). + * @opt_param string maxComments Maximum number of comments to retrieve with the + * returned post. + * @opt_param bool fetchImages Whether image URL metadata for each post is + * included in the returned result (default: false). + * @return Google_Service_Blogger_Post + */ + public function update($blogId, $postId, Google_Service_Blogger_Post $postBody, $optParams = array()) + { + $params = array('blogId' => $blogId, 'postId' => $postId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Blogger_Post"); + } +} + +/** + * The "users" collection of methods. + * Typical usage is: + * + * $bloggerService = new Google_Service_Blogger(...); + * $users = $bloggerService->users; + * + */ +class Google_Service_Blogger_Users_Resource extends Google_Service_Resource +{ + + /** + * Gets one user by ID. (users.get) + * + * @param string $userId The ID of the user to get. + * @param array $optParams Optional parameters. + * @return Google_Service_Blogger_User + */ + public function get($userId, $optParams = array()) + { + $params = array('userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Blogger_User"); + } +} + + + + +class Google_Service_Blogger_Blog extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $customMetaData; + public $description; + public $id; + public $kind; + protected $localeType = 'Google_Service_Blogger_BlogLocale'; + protected $localeDataType = ''; + public $name; + protected $pagesType = 'Google_Service_Blogger_BlogPages'; + protected $pagesDataType = ''; + protected $postsType = 'Google_Service_Blogger_BlogPosts'; + protected $postsDataType = ''; + public $published; + public $selfLink; + public $status; + public $updated; + public $url; + + + public function setCustomMetaData($customMetaData) + { + $this->customMetaData = $customMetaData; + } + public function getCustomMetaData() + { + return $this->customMetaData; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLocale(Google_Service_Blogger_BlogLocale $locale) + { + $this->locale = $locale; + } + public function getLocale() + { + return $this->locale; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPages(Google_Service_Blogger_BlogPages $pages) + { + $this->pages = $pages; + } + public function getPages() + { + return $this->pages; + } + public function setPosts(Google_Service_Blogger_BlogPosts $posts) + { + $this->posts = $posts; + } + public function getPosts() + { + return $this->posts; + } + public function setPublished($published) + { + $this->published = $published; + } + public function getPublished() + { + return $this->published; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_Blogger_BlogList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $blogUserInfosType = 'Google_Service_Blogger_BlogUserInfo'; + protected $blogUserInfosDataType = 'array'; + protected $itemsType = 'Google_Service_Blogger_Blog'; + protected $itemsDataType = 'array'; + public $kind; + + + public function setBlogUserInfos($blogUserInfos) + { + $this->blogUserInfos = $blogUserInfos; + } + public function getBlogUserInfos() + { + return $this->blogUserInfos; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Blogger_BlogLocale extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $country; + public $language; + public $variant; + + + public function setCountry($country) + { + $this->country = $country; + } + public function getCountry() + { + return $this->country; + } + public function setLanguage($language) + { + $this->language = $language; + } + public function getLanguage() + { + return $this->language; + } + public function setVariant($variant) + { + $this->variant = $variant; + } + public function getVariant() + { + return $this->variant; + } +} + +class Google_Service_Blogger_BlogPages extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $selfLink; + public $totalItems; + + + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} + +class Google_Service_Blogger_BlogPerUserInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $blogId; + public $hasAdminAccess; + public $kind; + public $photosAlbumKey; + public $role; + public $userId; + + + public function setBlogId($blogId) + { + $this->blogId = $blogId; + } + public function getBlogId() + { + return $this->blogId; + } + public function setHasAdminAccess($hasAdminAccess) + { + $this->hasAdminAccess = $hasAdminAccess; + } + public function getHasAdminAccess() + { + return $this->hasAdminAccess; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPhotosAlbumKey($photosAlbumKey) + { + $this->photosAlbumKey = $photosAlbumKey; + } + public function getPhotosAlbumKey() + { + return $this->photosAlbumKey; + } + public function setRole($role) + { + $this->role = $role; + } + public function getRole() + { + return $this->role; + } + public function setUserId($userId) + { + $this->userId = $userId; + } + public function getUserId() + { + return $this->userId; + } +} + +class Google_Service_Blogger_BlogPosts extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Blogger_Post'; + protected $itemsDataType = 'array'; + public $selfLink; + public $totalItems; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} + +class Google_Service_Blogger_BlogUserInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + "blogUserInfo" => "blog_user_info", + ); + protected $blogType = 'Google_Service_Blogger_Blog'; + protected $blogDataType = ''; + protected $blogUserInfoType = 'Google_Service_Blogger_BlogPerUserInfo'; + protected $blogUserInfoDataType = ''; + public $kind; + + + public function setBlog(Google_Service_Blogger_Blog $blog) + { + $this->blog = $blog; + } + public function getBlog() + { + return $this->blog; + } + public function setBlogUserInfo(Google_Service_Blogger_BlogPerUserInfo $blogUserInfo) + { + $this->blogUserInfo = $blogUserInfo; + } + public function getBlogUserInfo() + { + return $this->blogUserInfo; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Blogger_Comment extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $authorType = 'Google_Service_Blogger_CommentAuthor'; + protected $authorDataType = ''; + protected $blogType = 'Google_Service_Blogger_CommentBlog'; + protected $blogDataType = ''; + public $content; + public $id; + protected $inReplyToType = 'Google_Service_Blogger_CommentInReplyTo'; + protected $inReplyToDataType = ''; + public $kind; + protected $postType = 'Google_Service_Blogger_CommentPost'; + protected $postDataType = ''; + public $published; + public $selfLink; + public $status; + public $updated; + + + public function setAuthor(Google_Service_Blogger_CommentAuthor $author) + { + $this->author = $author; + } + public function getAuthor() + { + return $this->author; + } + public function setBlog(Google_Service_Blogger_CommentBlog $blog) + { + $this->blog = $blog; + } + public function getBlog() + { + return $this->blog; + } + public function setContent($content) + { + $this->content = $content; + } + public function getContent() + { + return $this->content; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInReplyTo(Google_Service_Blogger_CommentInReplyTo $inReplyTo) + { + $this->inReplyTo = $inReplyTo; + } + public function getInReplyTo() + { + return $this->inReplyTo; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPost(Google_Service_Blogger_CommentPost $post) + { + $this->post = $post; + } + public function getPost() + { + return $this->post; + } + public function setPublished($published) + { + $this->published = $published; + } + public function getPublished() + { + return $this->published; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } +} + +class Google_Service_Blogger_CommentAuthor extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $displayName; + public $id; + protected $imageType = 'Google_Service_Blogger_CommentAuthorImage'; + protected $imageDataType = ''; + public $url; + + + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImage(Google_Service_Blogger_CommentAuthorImage $image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_Blogger_CommentAuthorImage extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $url; + + + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_Blogger_CommentBlog extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } +} + +class Google_Service_Blogger_CommentInReplyTo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } +} + +class Google_Service_Blogger_CommentList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_Blogger_Comment'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $prevPageToken; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPrevPageToken($prevPageToken) + { + $this->prevPageToken = $prevPageToken; + } + public function getPrevPageToken() + { + return $this->prevPageToken; + } +} + +class Google_Service_Blogger_CommentPost extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } +} + +class Google_Service_Blogger_Page extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $authorType = 'Google_Service_Blogger_PageAuthor'; + protected $authorDataType = ''; + protected $blogType = 'Google_Service_Blogger_PageBlog'; + protected $blogDataType = ''; + public $content; + public $etag; + public $id; + public $kind; + public $published; + public $selfLink; + public $status; + public $title; + public $updated; + public $url; + + + public function setAuthor(Google_Service_Blogger_PageAuthor $author) + { + $this->author = $author; + } + public function getAuthor() + { + return $this->author; + } + public function setBlog(Google_Service_Blogger_PageBlog $blog) + { + $this->blog = $blog; + } + public function getBlog() + { + return $this->blog; + } + public function setContent($content) + { + $this->content = $content; + } + public function getContent() + { + return $this->content; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPublished($published) + { + $this->published = $published; + } + public function getPublished() + { + return $this->published; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_Blogger_PageAuthor extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $displayName; + public $id; + protected $imageType = 'Google_Service_Blogger_PageAuthorImage'; + protected $imageDataType = ''; + public $url; + + + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImage(Google_Service_Blogger_PageAuthorImage $image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_Blogger_PageAuthorImage extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $url; + + + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_Blogger_PageBlog extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } +} + +class Google_Service_Blogger_PageList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_Blogger_Page'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Blogger_Pageviews extends Google_Collection +{ + protected $collection_key = 'counts'; + protected $internal_gapi_mappings = array( + ); + public $blogId; + protected $countsType = 'Google_Service_Blogger_PageviewsCounts'; + protected $countsDataType = 'array'; + public $kind; + + + public function setBlogId($blogId) + { + $this->blogId = $blogId; + } + public function getBlogId() + { + return $this->blogId; + } + public function setCounts($counts) + { + $this->counts = $counts; + } + public function getCounts() + { + return $this->counts; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Blogger_PageviewsCounts extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $count; + public $timeRange; + + + public function setCount($count) + { + $this->count = $count; + } + public function getCount() + { + return $this->count; + } + public function setTimeRange($timeRange) + { + $this->timeRange = $timeRange; + } + public function getTimeRange() + { + return $this->timeRange; + } +} + +class Google_Service_Blogger_Post extends Google_Collection +{ + protected $collection_key = 'labels'; + protected $internal_gapi_mappings = array( + ); + protected $authorType = 'Google_Service_Blogger_PostAuthor'; + protected $authorDataType = ''; + protected $blogType = 'Google_Service_Blogger_PostBlog'; + protected $blogDataType = ''; + public $content; + public $customMetaData; + public $etag; + public $id; + protected $imagesType = 'Google_Service_Blogger_PostImages'; + protected $imagesDataType = 'array'; + public $kind; + public $labels; + protected $locationType = 'Google_Service_Blogger_PostLocation'; + protected $locationDataType = ''; + public $published; + public $readerComments; + protected $repliesType = 'Google_Service_Blogger_PostReplies'; + protected $repliesDataType = ''; + public $selfLink; + public $status; + public $title; + public $titleLink; + public $updated; + public $url; + + + public function setAuthor(Google_Service_Blogger_PostAuthor $author) + { + $this->author = $author; + } + public function getAuthor() + { + return $this->author; + } + public function setBlog(Google_Service_Blogger_PostBlog $blog) + { + $this->blog = $blog; + } + public function getBlog() + { + return $this->blog; + } + public function setContent($content) + { + $this->content = $content; + } + public function getContent() + { + return $this->content; + } + public function setCustomMetaData($customMetaData) + { + $this->customMetaData = $customMetaData; + } + public function getCustomMetaData() + { + return $this->customMetaData; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImages($images) + { + $this->images = $images; + } + public function getImages() + { + return $this->images; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setLocation(Google_Service_Blogger_PostLocation $location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setPublished($published) + { + $this->published = $published; + } + public function getPublished() + { + return $this->published; + } + public function setReaderComments($readerComments) + { + $this->readerComments = $readerComments; + } + public function getReaderComments() + { + return $this->readerComments; + } + public function setReplies(Google_Service_Blogger_PostReplies $replies) + { + $this->replies = $replies; + } + public function getReplies() + { + return $this->replies; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setTitleLink($titleLink) + { + $this->titleLink = $titleLink; + } + public function getTitleLink() + { + return $this->titleLink; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_Blogger_PostAuthor extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $displayName; + public $id; + protected $imageType = 'Google_Service_Blogger_PostAuthorImage'; + protected $imageDataType = ''; + public $url; + + + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImage(Google_Service_Blogger_PostAuthorImage $image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_Blogger_PostAuthorImage extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $url; + + + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_Blogger_PostBlog extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } +} + +class Google_Service_Blogger_PostImages extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $url; + + + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_Blogger_PostList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_Blogger_Post'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Blogger_PostLocation extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $lat; + public $lng; + public $name; + public $span; + + + public function setLat($lat) + { + $this->lat = $lat; + } + public function getLat() + { + return $this->lat; + } + public function setLng($lng) + { + $this->lng = $lng; + } + public function getLng() + { + return $this->lng; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSpan($span) + { + $this->span = $span; + } + public function getSpan() + { + return $this->span; + } +} + +class Google_Service_Blogger_PostPerUserInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $blogId; + public $hasEditAccess; + public $kind; + public $postId; + public $userId; + + + public function setBlogId($blogId) + { + $this->blogId = $blogId; + } + public function getBlogId() + { + return $this->blogId; + } + public function setHasEditAccess($hasEditAccess) + { + $this->hasEditAccess = $hasEditAccess; + } + public function getHasEditAccess() + { + return $this->hasEditAccess; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPostId($postId) + { + $this->postId = $postId; + } + public function getPostId() + { + return $this->postId; + } + public function setUserId($userId) + { + $this->userId = $userId; + } + public function getUserId() + { + return $this->userId; + } +} + +class Google_Service_Blogger_PostReplies extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Blogger_Comment'; + protected $itemsDataType = 'array'; + public $selfLink; + public $totalItems; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} + +class Google_Service_Blogger_PostUserInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + "postUserInfo" => "post_user_info", + ); + public $kind; + protected $postType = 'Google_Service_Blogger_Post'; + protected $postDataType = ''; + protected $postUserInfoType = 'Google_Service_Blogger_PostPerUserInfo'; + protected $postUserInfoDataType = ''; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPost(Google_Service_Blogger_Post $post) + { + $this->post = $post; + } + public function getPost() + { + return $this->post; + } + public function setPostUserInfo(Google_Service_Blogger_PostPerUserInfo $postUserInfo) + { + $this->postUserInfo = $postUserInfo; + } + public function getPostUserInfo() + { + return $this->postUserInfo; + } +} + +class Google_Service_Blogger_PostUserInfosList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Blogger_PostUserInfo'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Blogger_User extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $about; + protected $blogsType = 'Google_Service_Blogger_UserBlogs'; + protected $blogsDataType = ''; + public $created; + public $displayName; + public $id; + public $kind; + protected $localeType = 'Google_Service_Blogger_UserLocale'; + protected $localeDataType = ''; + public $selfLink; + public $url; + + + public function setAbout($about) + { + $this->about = $about; + } + public function getAbout() + { + return $this->about; + } + public function setBlogs(Google_Service_Blogger_UserBlogs $blogs) + { + $this->blogs = $blogs; + } + public function getBlogs() + { + return $this->blogs; + } + public function setCreated($created) + { + $this->created = $created; + } + public function getCreated() + { + return $this->created; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLocale(Google_Service_Blogger_UserLocale $locale) + { + $this->locale = $locale; + } + public function getLocale() + { + return $this->locale; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_Blogger_UserBlogs extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $selfLink; + + + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Blogger_UserLocale extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $country; + public $language; + public $variant; + + + public function setCountry($country) + { + $this->country = $country; + } + public function getCountry() + { + return $this->country; + } + public function setLanguage($language) + { + $this->language = $language; + } + public function getLanguage() + { + return $this->language; + } + public function setVariant($variant) + { + $this->variant = $variant; + } + public function getVariant() + { + return $this->variant; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Books.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Books.php new file mode 100644 index 0000000..c8c4c63 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Books.php @@ -0,0 +1,7132 @@ + + * Lets you search for books and manage your Google Books library.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Books extends Google_Service +{ + /** Manage your books. */ + const BOOKS = + "https://www.googleapis.com/auth/books"; + + public $bookshelves; + public $bookshelves_volumes; + public $cloudloading; + public $dictionary; + public $layers; + public $layers_annotationData; + public $layers_volumeAnnotations; + public $myconfig; + public $mylibrary_annotations; + public $mylibrary_bookshelves; + public $mylibrary_bookshelves_volumes; + public $mylibrary_readingpositions; + public $notification; + public $onboarding; + public $personalizedstream; + public $promooffer; + public $volumes; + public $volumes_associated; + public $volumes_mybooks; + public $volumes_recommended; + public $volumes_useruploaded; + + + /** + * Constructs the internal representation of the Books service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'books/v1/'; + $this->version = 'v1'; + $this->serviceName = 'books'; + + $this->bookshelves = new Google_Service_Books_Bookshelves_Resource( + $this, + $this->serviceName, + 'bookshelves', + array( + 'methods' => array( + 'get' => array( + 'path' => 'users/{userId}/bookshelves/{shelf}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'shelf' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'users/{userId}/bookshelves', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->bookshelves_volumes = new Google_Service_Books_BookshelvesVolumes_Resource( + $this, + $this->serviceName, + 'volumes', + array( + 'methods' => array( + 'list' => array( + 'path' => 'users/{userId}/bookshelves/{shelf}/volumes', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'shelf' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'showPreorders' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startIndex' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->cloudloading = new Google_Service_Books_Cloudloading_Resource( + $this, + $this->serviceName, + 'cloudloading', + array( + 'methods' => array( + 'addBook' => array( + 'path' => 'cloudloading/addBook', + 'httpMethod' => 'POST', + 'parameters' => array( + 'upload_client_token' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'drive_document_id' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'mime_type' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'name' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'deleteBook' => array( + 'path' => 'cloudloading/deleteBook', + 'httpMethod' => 'POST', + 'parameters' => array( + 'volumeId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'updateBook' => array( + 'path' => 'cloudloading/updateBook', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->dictionary = new Google_Service_Books_Dictionary_Resource( + $this, + $this->serviceName, + 'dictionary', + array( + 'methods' => array( + 'listOfflineMetadata' => array( + 'path' => 'dictionary/listOfflineMetadata', + 'httpMethod' => 'GET', + 'parameters' => array( + 'cpksver' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->layers = new Google_Service_Books_Layers_Resource( + $this, + $this->serviceName, + 'layers', + array( + 'methods' => array( + 'get' => array( + 'path' => 'volumes/{volumeId}/layersummary/{summaryId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'volumeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'summaryId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'contentVersion' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'volumes/{volumeId}/layersummary', + 'httpMethod' => 'GET', + 'parameters' => array( + 'volumeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'contentVersion' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->layers_annotationData = new Google_Service_Books_LayersAnnotationData_Resource( + $this, + $this->serviceName, + 'annotationData', + array( + 'methods' => array( + 'get' => array( + 'path' => 'volumes/{volumeId}/layers/{layerId}/data/{annotationDataId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'volumeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'layerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'annotationDataId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'contentVersion' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'scale' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'allowWebDefinitions' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'h' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'w' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'list' => array( + 'path' => 'volumes/{volumeId}/layers/{layerId}/data', + 'httpMethod' => 'GET', + 'parameters' => array( + 'volumeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'layerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'contentVersion' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'scale' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'h' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'updatedMax' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'annotationDataId' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'w' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'updatedMin' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->layers_volumeAnnotations = new Google_Service_Books_LayersVolumeAnnotations_Resource( + $this, + $this->serviceName, + 'volumeAnnotations', + array( + 'methods' => array( + 'get' => array( + 'path' => 'volumes/{volumeId}/layers/{layerId}/annotations/{annotationId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'volumeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'layerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'annotationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'volumes/{volumeId}/layers/{layerId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'volumeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'layerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'contentVersion' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'showDeleted' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'volumeAnnotationsVersion' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'endPosition' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'endOffset' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'updatedMin' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'updatedMax' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startOffset' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startPosition' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->myconfig = new Google_Service_Books_Myconfig_Resource( + $this, + $this->serviceName, + 'myconfig', + array( + 'methods' => array( + 'getUserSettings' => array( + 'path' => 'myconfig/getUserSettings', + 'httpMethod' => 'GET', + 'parameters' => array(), + ),'releaseDownloadAccess' => array( + 'path' => 'myconfig/releaseDownloadAccess', + 'httpMethod' => 'POST', + 'parameters' => array( + 'volumeIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + 'required' => true, + ), + 'cpksver' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'requestAccess' => array( + 'path' => 'myconfig/requestAccess', + 'httpMethod' => 'POST', + 'parameters' => array( + 'source' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'volumeId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'nonce' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'cpksver' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'licenseTypes' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'syncVolumeLicenses' => array( + 'path' => 'myconfig/syncVolumeLicenses', + 'httpMethod' => 'POST', + 'parameters' => array( + 'source' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'nonce' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'cpksver' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'features' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'showPreorders' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'volumeIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ),'updateUserSettings' => array( + 'path' => 'myconfig/updateUserSettings', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->mylibrary_annotations = new Google_Service_Books_MylibraryAnnotations_Resource( + $this, + $this->serviceName, + 'annotations', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'mylibrary/annotations/{annotationId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'annotationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'insert' => array( + 'path' => 'mylibrary/annotations', + 'httpMethod' => 'POST', + 'parameters' => array( + 'country' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'showOnlySummaryInResponse' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'mylibrary/annotations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'showDeleted' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'updatedMin' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'layerIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'volumeId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'updatedMax' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'contentVersion' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'layerId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'summary' => array( + 'path' => 'mylibrary/annotations/summary', + 'httpMethod' => 'POST', + 'parameters' => array( + 'layerIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + 'required' => true, + ), + 'volumeId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'mylibrary/annotations/{annotationId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'annotationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->mylibrary_bookshelves = new Google_Service_Books_MylibraryBookshelves_Resource( + $this, + $this->serviceName, + 'bookshelves', + array( + 'methods' => array( + 'addVolume' => array( + 'path' => 'mylibrary/bookshelves/{shelf}/addVolume', + 'httpMethod' => 'POST', + 'parameters' => array( + 'shelf' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'volumeId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'reason' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'clearVolumes' => array( + 'path' => 'mylibrary/bookshelves/{shelf}/clearVolumes', + 'httpMethod' => 'POST', + 'parameters' => array( + 'shelf' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'get' => array( + 'path' => 'mylibrary/bookshelves/{shelf}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'shelf' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'mylibrary/bookshelves', + 'httpMethod' => 'GET', + 'parameters' => array( + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'moveVolume' => array( + 'path' => 'mylibrary/bookshelves/{shelf}/moveVolume', + 'httpMethod' => 'POST', + 'parameters' => array( + 'shelf' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'volumeId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'volumePosition' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'removeVolume' => array( + 'path' => 'mylibrary/bookshelves/{shelf}/removeVolume', + 'httpMethod' => 'POST', + 'parameters' => array( + 'shelf' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'volumeId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'reason' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->mylibrary_bookshelves_volumes = new Google_Service_Books_MylibraryBookshelvesVolumes_Resource( + $this, + $this->serviceName, + 'volumes', + array( + 'methods' => array( + 'list' => array( + 'path' => 'mylibrary/bookshelves/{shelf}/volumes', + 'httpMethod' => 'GET', + 'parameters' => array( + 'shelf' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'country' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'showPreorders' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'q' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startIndex' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->mylibrary_readingpositions = new Google_Service_Books_MylibraryReadingpositions_Resource( + $this, + $this->serviceName, + 'readingpositions', + array( + 'methods' => array( + 'get' => array( + 'path' => 'mylibrary/readingpositions/{volumeId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'volumeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'contentVersion' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'setPosition' => array( + 'path' => 'mylibrary/readingpositions/{volumeId}/setPosition', + 'httpMethod' => 'POST', + 'parameters' => array( + 'volumeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'timestamp' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'position' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'deviceCookie' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'contentVersion' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'action' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->notification = new Google_Service_Books_Notification_Resource( + $this, + $this->serviceName, + 'notification', + array( + 'methods' => array( + 'get' => array( + 'path' => 'notification/get', + 'httpMethod' => 'GET', + 'parameters' => array( + 'notification_id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->onboarding = new Google_Service_Books_Onboarding_Resource( + $this, + $this->serviceName, + 'onboarding', + array( + 'methods' => array( + 'listCategories' => array( + 'path' => 'onboarding/listCategories', + 'httpMethod' => 'GET', + 'parameters' => array( + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'listCategoryVolumes' => array( + 'path' => 'onboarding/listCategoryVolumes', + 'httpMethod' => 'GET', + 'parameters' => array( + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxAllowedMaturityRating' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'categoryId' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->personalizedstream = new Google_Service_Books_Personalizedstream_Resource( + $this, + $this->serviceName, + 'personalizedstream', + array( + 'methods' => array( + 'get' => array( + 'path' => 'personalizedstream/get', + 'httpMethod' => 'GET', + 'parameters' => array( + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxAllowedMaturityRating' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->promooffer = new Google_Service_Books_Promooffer_Resource( + $this, + $this->serviceName, + 'promooffer', + array( + 'methods' => array( + 'accept' => array( + 'path' => 'promooffer/accept', + 'httpMethod' => 'POST', + 'parameters' => array( + 'product' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'volumeId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'offerId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'androidId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'device' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'model' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'serial' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'manufacturer' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'dismiss' => array( + 'path' => 'promooffer/dismiss', + 'httpMethod' => 'POST', + 'parameters' => array( + 'product' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'offerId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'androidId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'device' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'model' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'serial' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'manufacturer' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'get' => array( + 'path' => 'promooffer/get', + 'httpMethod' => 'GET', + 'parameters' => array( + 'product' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'androidId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'device' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'model' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'serial' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'manufacturer' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->volumes = new Google_Service_Books_Volumes_Resource( + $this, + $this->serviceName, + 'volumes', + array( + 'methods' => array( + 'get' => array( + 'path' => 'volumes/{volumeId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'volumeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'user_library_consistent_read' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'country' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'partner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'volumes', + 'httpMethod' => 'GET', + 'parameters' => array( + 'q' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'libraryRestrict' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'langRestrict' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'showPreorders' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'printType' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startIndex' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'download' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'partner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->volumes_associated = new Google_Service_Books_VolumesAssociated_Resource( + $this, + $this->serviceName, + 'associated', + array( + 'methods' => array( + 'list' => array( + 'path' => 'volumes/{volumeId}/associated', + 'httpMethod' => 'GET', + 'parameters' => array( + 'volumeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxAllowedMaturityRating' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'association' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->volumes_mybooks = new Google_Service_Books_VolumesMybooks_Resource( + $this, + $this->serviceName, + 'mybooks', + array( + 'methods' => array( + 'list' => array( + 'path' => 'volumes/mybooks', + 'httpMethod' => 'GET', + 'parameters' => array( + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startIndex' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'acquireMethod' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'processingState' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ), + ) + ) + ); + $this->volumes_recommended = new Google_Service_Books_VolumesRecommended_Resource( + $this, + $this->serviceName, + 'recommended', + array( + 'methods' => array( + 'list' => array( + 'path' => 'volumes/recommended', + 'httpMethod' => 'GET', + 'parameters' => array( + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxAllowedMaturityRating' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'rate' => array( + 'path' => 'volumes/recommended/rate', + 'httpMethod' => 'POST', + 'parameters' => array( + 'rating' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'volumeId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->volumes_useruploaded = new Google_Service_Books_VolumesUseruploaded_Resource( + $this, + $this->serviceName, + 'useruploaded', + array( + 'methods' => array( + 'list' => array( + 'path' => 'volumes/useruploaded', + 'httpMethod' => 'GET', + 'parameters' => array( + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'volumeId' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startIndex' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'processingState' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "bookshelves" collection of methods. + * Typical usage is: + * + * $booksService = new Google_Service_Books(...); + * $bookshelves = $booksService->bookshelves; + * + */ +class Google_Service_Books_Bookshelves_Resource extends Google_Service_Resource +{ + + /** + * Retrieves metadata for a specific bookshelf for the specified user. + * (bookshelves.get) + * + * @param string $userId ID of user for whom to retrieve bookshelves. + * @param string $shelf ID of bookshelf to retrieve. + * @param array $optParams Optional parameters. + * + * @opt_param string source String to identify the originator of this request. + * @return Google_Service_Books_Bookshelf + */ + public function get($userId, $shelf, $optParams = array()) + { + $params = array('userId' => $userId, 'shelf' => $shelf); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Books_Bookshelf"); + } + + /** + * Retrieves a list of public bookshelves for the specified user. + * (bookshelves.listBookshelves) + * + * @param string $userId ID of user for whom to retrieve bookshelves. + * @param array $optParams Optional parameters. + * + * @opt_param string source String to identify the originator of this request. + * @return Google_Service_Books_Bookshelves + */ + public function listBookshelves($userId, $optParams = array()) + { + $params = array('userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Books_Bookshelves"); + } +} + +/** + * The "volumes" collection of methods. + * Typical usage is: + * + * $booksService = new Google_Service_Books(...); + * $volumes = $booksService->volumes; + * + */ +class Google_Service_Books_BookshelvesVolumes_Resource extends Google_Service_Resource +{ + + /** + * Retrieves volumes in a specific bookshelf for the specified user. + * (volumes.listBookshelvesVolumes) + * + * @param string $userId ID of user for whom to retrieve bookshelf volumes. + * @param string $shelf ID of bookshelf to retrieve volumes. + * @param array $optParams Optional parameters. + * + * @opt_param bool showPreorders Set to true to show pre-ordered books. Defaults + * to false. + * @opt_param string maxResults Maximum number of results to return + * @opt_param string source String to identify the originator of this request. + * @opt_param string startIndex Index of the first element to return (starts at + * 0) + * @return Google_Service_Books_Volumes + */ + public function listBookshelvesVolumes($userId, $shelf, $optParams = array()) + { + $params = array('userId' => $userId, 'shelf' => $shelf); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Books_Volumes"); + } +} + +/** + * The "cloudloading" collection of methods. + * Typical usage is: + * + * $booksService = new Google_Service_Books(...); + * $cloudloading = $booksService->cloudloading; + * + */ +class Google_Service_Books_Cloudloading_Resource extends Google_Service_Resource +{ + + /** + * (cloudloading.addBook) + * + * @param array $optParams Optional parameters. + * + * @opt_param string upload_client_token + * @opt_param string drive_document_id A drive document id. The + * upload_client_token must not be set. + * @opt_param string mime_type The document MIME type. It can be set only if the + * drive_document_id is set. + * @opt_param string name The document name. It can be set only if the + * drive_document_id is set. + * @return Google_Service_Books_BooksCloudloadingResource + */ + public function addBook($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('addBook', array($params), "Google_Service_Books_BooksCloudloadingResource"); + } + + /** + * Remove the book and its contents (cloudloading.deleteBook) + * + * @param string $volumeId The id of the book to be removed. + * @param array $optParams Optional parameters. + */ + public function deleteBook($volumeId, $optParams = array()) + { + $params = array('volumeId' => $volumeId); + $params = array_merge($params, $optParams); + return $this->call('deleteBook', array($params)); + } + + /** + * (cloudloading.updateBook) + * + * @param Google_BooksCloudloadingResource $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Books_BooksCloudloadingResource + */ + public function updateBook(Google_Service_Books_BooksCloudloadingResource $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('updateBook', array($params), "Google_Service_Books_BooksCloudloadingResource"); + } +} + +/** + * The "dictionary" collection of methods. + * Typical usage is: + * + * $booksService = new Google_Service_Books(...); + * $dictionary = $booksService->dictionary; + * + */ +class Google_Service_Books_Dictionary_Resource extends Google_Service_Resource +{ + + /** + * Returns a list of offline dictionary metadata available + * (dictionary.listOfflineMetadata) + * + * @param string $cpksver The device/version ID from which to request the data. + * @param array $optParams Optional parameters. + * @return Google_Service_Books_Metadata + */ + public function listOfflineMetadata($cpksver, $optParams = array()) + { + $params = array('cpksver' => $cpksver); + $params = array_merge($params, $optParams); + return $this->call('listOfflineMetadata', array($params), "Google_Service_Books_Metadata"); + } +} + +/** + * The "layers" collection of methods. + * Typical usage is: + * + * $booksService = new Google_Service_Books(...); + * $layers = $booksService->layers; + * + */ +class Google_Service_Books_Layers_Resource extends Google_Service_Resource +{ + + /** + * Gets the layer summary for a volume. (layers.get) + * + * @param string $volumeId The volume to retrieve layers for. + * @param string $summaryId The ID for the layer to get the summary for. + * @param array $optParams Optional parameters. + * + * @opt_param string source String to identify the originator of this request. + * @opt_param string contentVersion The content version for the requested + * volume. + * @return Google_Service_Books_Layersummary + */ + public function get($volumeId, $summaryId, $optParams = array()) + { + $params = array('volumeId' => $volumeId, 'summaryId' => $summaryId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Books_Layersummary"); + } + + /** + * List the layer summaries for a volume. (layers.listLayers) + * + * @param string $volumeId The volume to retrieve layers for. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The value of the nextToken from the previous + * page. + * @opt_param string contentVersion The content version for the requested + * volume. + * @opt_param string maxResults Maximum number of results to return + * @opt_param string source String to identify the originator of this request. + * @return Google_Service_Books_Layersummaries + */ + public function listLayers($volumeId, $optParams = array()) + { + $params = array('volumeId' => $volumeId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Books_Layersummaries"); + } +} + +/** + * The "annotationData" collection of methods. + * Typical usage is: + * + * $booksService = new Google_Service_Books(...); + * $annotationData = $booksService->annotationData; + * + */ +class Google_Service_Books_LayersAnnotationData_Resource extends Google_Service_Resource +{ + + /** + * Gets the annotation data. (annotationData.get) + * + * @param string $volumeId The volume to retrieve annotations for. + * @param string $layerId The ID for the layer to get the annotations. + * @param string $annotationDataId The ID of the annotation data to retrieve. + * @param string $contentVersion The content version for the volume you are + * trying to retrieve. + * @param array $optParams Optional parameters. + * + * @opt_param int scale The requested scale for the image. + * @opt_param string source String to identify the originator of this request. + * @opt_param bool allowWebDefinitions For the dictionary layer. Whether or not + * to allow web definitions. + * @opt_param int h The requested pixel height for any images. If height is + * provided width must also be provided. + * @opt_param string locale The locale information for the data. ISO-639-1 + * language and ISO-3166-1 country code. Ex: 'en_US'. + * @opt_param int w The requested pixel width for any images. If width is + * provided height must also be provided. + * @return Google_Service_Books_Annotationdata + */ + public function get($volumeId, $layerId, $annotationDataId, $contentVersion, $optParams = array()) + { + $params = array('volumeId' => $volumeId, 'layerId' => $layerId, 'annotationDataId' => $annotationDataId, 'contentVersion' => $contentVersion); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Books_Annotationdata"); + } + + /** + * Gets the annotation data for a volume and layer. + * (annotationData.listLayersAnnotationData) + * + * @param string $volumeId The volume to retrieve annotation data for. + * @param string $layerId The ID for the layer to get the annotation data. + * @param string $contentVersion The content version for the requested volume. + * @param array $optParams Optional parameters. + * + * @opt_param int scale The requested scale for the image. + * @opt_param string source String to identify the originator of this request. + * @opt_param string locale The locale information for the data. ISO-639-1 + * language and ISO-3166-1 country code. Ex: 'en_US'. + * @opt_param int h The requested pixel height for any images. If height is + * provided width must also be provided. + * @opt_param string updatedMax RFC 3339 timestamp to restrict to items updated + * prior to this timestamp (exclusive). + * @opt_param string maxResults Maximum number of results to return + * @opt_param string annotationDataId The list of Annotation Data Ids to + * retrieve. Pagination is ignored if this is set. + * @opt_param string pageToken The value of the nextToken from the previous + * page. + * @opt_param int w The requested pixel width for any images. If width is + * provided height must also be provided. + * @opt_param string updatedMin RFC 3339 timestamp to restrict to items updated + * since this timestamp (inclusive). + * @return Google_Service_Books_Annotationsdata + */ + public function listLayersAnnotationData($volumeId, $layerId, $contentVersion, $optParams = array()) + { + $params = array('volumeId' => $volumeId, 'layerId' => $layerId, 'contentVersion' => $contentVersion); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Books_Annotationsdata"); + } +} +/** + * The "volumeAnnotations" collection of methods. + * Typical usage is: + * + * $booksService = new Google_Service_Books(...); + * $volumeAnnotations = $booksService->volumeAnnotations; + * + */ +class Google_Service_Books_LayersVolumeAnnotations_Resource extends Google_Service_Resource +{ + + /** + * Gets the volume annotation. (volumeAnnotations.get) + * + * @param string $volumeId The volume to retrieve annotations for. + * @param string $layerId The ID for the layer to get the annotations. + * @param string $annotationId The ID of the volume annotation to retrieve. + * @param array $optParams Optional parameters. + * + * @opt_param string locale The locale information for the data. ISO-639-1 + * language and ISO-3166-1 country code. Ex: 'en_US'. + * @opt_param string source String to identify the originator of this request. + * @return Google_Service_Books_Volumeannotation + */ + public function get($volumeId, $layerId, $annotationId, $optParams = array()) + { + $params = array('volumeId' => $volumeId, 'layerId' => $layerId, 'annotationId' => $annotationId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Books_Volumeannotation"); + } + + /** + * Gets the volume annotations for a volume and layer. + * (volumeAnnotations.listLayersVolumeAnnotations) + * + * @param string $volumeId The volume to retrieve annotations for. + * @param string $layerId The ID for the layer to get the annotations. + * @param string $contentVersion The content version for the requested volume. + * @param array $optParams Optional parameters. + * + * @opt_param bool showDeleted Set to true to return deleted annotations. + * updatedMin must be in the request to use this. Defaults to false. + * @opt_param string volumeAnnotationsVersion The version of the volume + * annotations that you are requesting. + * @opt_param string endPosition The end position to end retrieving data from. + * @opt_param string endOffset The end offset to end retrieving data from. + * @opt_param string locale The locale information for the data. ISO-639-1 + * language and ISO-3166-1 country code. Ex: 'en_US'. + * @opt_param string updatedMin RFC 3339 timestamp to restrict to items updated + * since this timestamp (inclusive). + * @opt_param string updatedMax RFC 3339 timestamp to restrict to items updated + * prior to this timestamp (exclusive). + * @opt_param string maxResults Maximum number of results to return + * @opt_param string pageToken The value of the nextToken from the previous + * page. + * @opt_param string source String to identify the originator of this request. + * @opt_param string startOffset The start offset to start retrieving data from. + * @opt_param string startPosition The start position to start retrieving data + * from. + * @return Google_Service_Books_Volumeannotations + */ + public function listLayersVolumeAnnotations($volumeId, $layerId, $contentVersion, $optParams = array()) + { + $params = array('volumeId' => $volumeId, 'layerId' => $layerId, 'contentVersion' => $contentVersion); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Books_Volumeannotations"); + } +} + +/** + * The "myconfig" collection of methods. + * Typical usage is: + * + * $booksService = new Google_Service_Books(...); + * $myconfig = $booksService->myconfig; + * + */ +class Google_Service_Books_Myconfig_Resource extends Google_Service_Resource +{ + + /** + * Gets the current settings for the user. (myconfig.getUserSettings) + * + * @param array $optParams Optional parameters. + * @return Google_Service_Books_Usersettings + */ + public function getUserSettings($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('getUserSettings', array($params), "Google_Service_Books_Usersettings"); + } + + /** + * Release downloaded content access restriction. + * (myconfig.releaseDownloadAccess) + * + * @param string $volumeIds The volume(s) to release restrictions for. + * @param string $cpksver The device/version ID from which to release the + * restriction. + * @param array $optParams Optional parameters. + * + * @opt_param string locale ISO-639-1, ISO-3166-1 codes for message + * localization, i.e. en_US. + * @opt_param string source String to identify the originator of this request. + * @return Google_Service_Books_DownloadAccesses + */ + public function releaseDownloadAccess($volumeIds, $cpksver, $optParams = array()) + { + $params = array('volumeIds' => $volumeIds, 'cpksver' => $cpksver); + $params = array_merge($params, $optParams); + return $this->call('releaseDownloadAccess', array($params), "Google_Service_Books_DownloadAccesses"); + } + + /** + * Request concurrent and download access restrictions. (myconfig.requestAccess) + * + * @param string $source String to identify the originator of this request. + * @param string $volumeId The volume to request concurrent/download + * restrictions for. + * @param string $nonce The client nonce value. + * @param string $cpksver The device/version ID from which to request the + * restrictions. + * @param array $optParams Optional parameters. + * + * @opt_param string licenseTypes The type of access license to request. If not + * specified, the default is BOTH. + * @opt_param string locale ISO-639-1, ISO-3166-1 codes for message + * localization, i.e. en_US. + * @return Google_Service_Books_RequestAccess + */ + public function requestAccess($source, $volumeId, $nonce, $cpksver, $optParams = array()) + { + $params = array('source' => $source, 'volumeId' => $volumeId, 'nonce' => $nonce, 'cpksver' => $cpksver); + $params = array_merge($params, $optParams); + return $this->call('requestAccess', array($params), "Google_Service_Books_RequestAccess"); + } + + /** + * Request downloaded content access for specified volumes on the My eBooks + * shelf. (myconfig.syncVolumeLicenses) + * + * @param string $source String to identify the originator of this request. + * @param string $nonce The client nonce value. + * @param string $cpksver The device/version ID from which to release the + * restriction. + * @param array $optParams Optional parameters. + * + * @opt_param string features List of features supported by the client, i.e., + * 'RENTALS' + * @opt_param string locale ISO-639-1, ISO-3166-1 codes for message + * localization, i.e. en_US. + * @opt_param bool showPreorders Set to true to show pre-ordered books. Defaults + * to false. + * @opt_param string volumeIds The volume(s) to request download restrictions + * for. + * @return Google_Service_Books_Volumes + */ + public function syncVolumeLicenses($source, $nonce, $cpksver, $optParams = array()) + { + $params = array('source' => $source, 'nonce' => $nonce, 'cpksver' => $cpksver); + $params = array_merge($params, $optParams); + return $this->call('syncVolumeLicenses', array($params), "Google_Service_Books_Volumes"); + } + + /** + * Sets the settings for the user. If a sub-object is specified, it will + * overwrite the existing sub-object stored in the server. Unspecified sub- + * objects will retain the existing value. (myconfig.updateUserSettings) + * + * @param Google_Usersettings $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Books_Usersettings + */ + public function updateUserSettings(Google_Service_Books_Usersettings $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('updateUserSettings', array($params), "Google_Service_Books_Usersettings"); + } +} + +/** + * The "mylibrary" collection of methods. + * Typical usage is: + * + * $booksService = new Google_Service_Books(...); + * $mylibrary = $booksService->mylibrary; + * + */ +class Google_Service_Books_Mylibrary_Resource extends Google_Service_Resource +{ +} + +/** + * The "annotations" collection of methods. + * Typical usage is: + * + * $booksService = new Google_Service_Books(...); + * $annotations = $booksService->annotations; + * + */ +class Google_Service_Books_MylibraryAnnotations_Resource extends Google_Service_Resource +{ + + /** + * Deletes an annotation. (annotations.delete) + * + * @param string $annotationId The ID for the annotation to delete. + * @param array $optParams Optional parameters. + * + * @opt_param string source String to identify the originator of this request. + */ + public function delete($annotationId, $optParams = array()) + { + $params = array('annotationId' => $annotationId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Inserts a new annotation. (annotations.insert) + * + * @param Google_Annotation $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string country ISO-3166-1 code to override the IP-based location. + * @opt_param bool showOnlySummaryInResponse Requests that only the summary of + * the specified layer be provided in the response. + * @opt_param string source String to identify the originator of this request. + * @return Google_Service_Books_Annotation + */ + public function insert(Google_Service_Books_Annotation $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Books_Annotation"); + } + + /** + * Retrieves a list of annotations, possibly filtered. + * (annotations.listMylibraryAnnotations) + * + * @param array $optParams Optional parameters. + * + * @opt_param bool showDeleted Set to true to return deleted annotations. + * updatedMin must be in the request to use this. Defaults to false. + * @opt_param string updatedMin RFC 3339 timestamp to restrict to items updated + * since this timestamp (inclusive). + * @opt_param string layerIds The layer ID(s) to limit annotation by. + * @opt_param string volumeId The volume to restrict annotations to. + * @opt_param string maxResults Maximum number of results to return + * @opt_param string pageToken The value of the nextToken from the previous + * page. + * @opt_param string updatedMax RFC 3339 timestamp to restrict to items updated + * prior to this timestamp (exclusive). + * @opt_param string contentVersion The content version for the requested + * volume. + * @opt_param string source String to identify the originator of this request. + * @opt_param string layerId The layer ID to limit annotation by. + * @return Google_Service_Books_Annotations + */ + public function listMylibraryAnnotations($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Books_Annotations"); + } + + /** + * Gets the summary of specified layers. (annotations.summary) + * + * @param string $layerIds Array of layer IDs to get the summary for. + * @param string $volumeId Volume id to get the summary for. + * @param array $optParams Optional parameters. + * @return Google_Service_Books_AnnotationsSummary + */ + public function summary($layerIds, $volumeId, $optParams = array()) + { + $params = array('layerIds' => $layerIds, 'volumeId' => $volumeId); + $params = array_merge($params, $optParams); + return $this->call('summary', array($params), "Google_Service_Books_AnnotationsSummary"); + } + + /** + * Updates an existing annotation. (annotations.update) + * + * @param string $annotationId The ID for the annotation to update. + * @param Google_Annotation $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string source String to identify the originator of this request. + * @return Google_Service_Books_Annotation + */ + public function update($annotationId, Google_Service_Books_Annotation $postBody, $optParams = array()) + { + $params = array('annotationId' => $annotationId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Books_Annotation"); + } +} +/** + * The "bookshelves" collection of methods. + * Typical usage is: + * + * $booksService = new Google_Service_Books(...); + * $bookshelves = $booksService->bookshelves; + * + */ +class Google_Service_Books_MylibraryBookshelves_Resource extends Google_Service_Resource +{ + + /** + * Adds a volume to a bookshelf. (bookshelves.addVolume) + * + * @param string $shelf ID of bookshelf to which to add a volume. + * @param string $volumeId ID of volume to add. + * @param array $optParams Optional parameters. + * + * @opt_param string reason The reason for which the book is added to the + * library. + * @opt_param string source String to identify the originator of this request. + */ + public function addVolume($shelf, $volumeId, $optParams = array()) + { + $params = array('shelf' => $shelf, 'volumeId' => $volumeId); + $params = array_merge($params, $optParams); + return $this->call('addVolume', array($params)); + } + + /** + * Clears all volumes from a bookshelf. (bookshelves.clearVolumes) + * + * @param string $shelf ID of bookshelf from which to remove a volume. + * @param array $optParams Optional parameters. + * + * @opt_param string source String to identify the originator of this request. + */ + public function clearVolumes($shelf, $optParams = array()) + { + $params = array('shelf' => $shelf); + $params = array_merge($params, $optParams); + return $this->call('clearVolumes', array($params)); + } + + /** + * Retrieves metadata for a specific bookshelf belonging to the authenticated + * user. (bookshelves.get) + * + * @param string $shelf ID of bookshelf to retrieve. + * @param array $optParams Optional parameters. + * + * @opt_param string source String to identify the originator of this request. + * @return Google_Service_Books_Bookshelf + */ + public function get($shelf, $optParams = array()) + { + $params = array('shelf' => $shelf); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Books_Bookshelf"); + } + + /** + * Retrieves a list of bookshelves belonging to the authenticated user. + * (bookshelves.listMylibraryBookshelves) + * + * @param array $optParams Optional parameters. + * + * @opt_param string source String to identify the originator of this request. + * @return Google_Service_Books_Bookshelves + */ + public function listMylibraryBookshelves($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Books_Bookshelves"); + } + + /** + * Moves a volume within a bookshelf. (bookshelves.moveVolume) + * + * @param string $shelf ID of bookshelf with the volume. + * @param string $volumeId ID of volume to move. + * @param int $volumePosition Position on shelf to move the item (0 puts the + * item before the current first item, 1 puts it between the first and the + * second and so on.) + * @param array $optParams Optional parameters. + * + * @opt_param string source String to identify the originator of this request. + */ + public function moveVolume($shelf, $volumeId, $volumePosition, $optParams = array()) + { + $params = array('shelf' => $shelf, 'volumeId' => $volumeId, 'volumePosition' => $volumePosition); + $params = array_merge($params, $optParams); + return $this->call('moveVolume', array($params)); + } + + /** + * Removes a volume from a bookshelf. (bookshelves.removeVolume) + * + * @param string $shelf ID of bookshelf from which to remove a volume. + * @param string $volumeId ID of volume to remove. + * @param array $optParams Optional parameters. + * + * @opt_param string reason The reason for which the book is removed from the + * library. + * @opt_param string source String to identify the originator of this request. + */ + public function removeVolume($shelf, $volumeId, $optParams = array()) + { + $params = array('shelf' => $shelf, 'volumeId' => $volumeId); + $params = array_merge($params, $optParams); + return $this->call('removeVolume', array($params)); + } +} + +/** + * The "volumes" collection of methods. + * Typical usage is: + * + * $booksService = new Google_Service_Books(...); + * $volumes = $booksService->volumes; + * + */ +class Google_Service_Books_MylibraryBookshelvesVolumes_Resource extends Google_Service_Resource +{ + + /** + * Gets volume information for volumes on a bookshelf. + * (volumes.listMylibraryBookshelvesVolumes) + * + * @param string $shelf The bookshelf ID or name retrieve volumes for. + * @param array $optParams Optional parameters. + * + * @opt_param string projection Restrict information returned to a set of + * selected fields. + * @opt_param string country ISO-3166-1 code to override the IP-based location. + * @opt_param bool showPreorders Set to true to show pre-ordered books. Defaults + * to false. + * @opt_param string maxResults Maximum number of results to return + * @opt_param string q Full-text search query string in this bookshelf. + * @opt_param string source String to identify the originator of this request. + * @opt_param string startIndex Index of the first element to return (starts at + * 0) + * @return Google_Service_Books_Volumes + */ + public function listMylibraryBookshelvesVolumes($shelf, $optParams = array()) + { + $params = array('shelf' => $shelf); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Books_Volumes"); + } +} +/** + * The "readingpositions" collection of methods. + * Typical usage is: + * + * $booksService = new Google_Service_Books(...); + * $readingpositions = $booksService->readingpositions; + * + */ +class Google_Service_Books_MylibraryReadingpositions_Resource extends Google_Service_Resource +{ + + /** + * Retrieves my reading position information for a volume. + * (readingpositions.get) + * + * @param string $volumeId ID of volume for which to retrieve a reading + * position. + * @param array $optParams Optional parameters. + * + * @opt_param string source String to identify the originator of this request. + * @opt_param string contentVersion Volume content version for which this + * reading position is requested. + * @return Google_Service_Books_ReadingPosition + */ + public function get($volumeId, $optParams = array()) + { + $params = array('volumeId' => $volumeId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Books_ReadingPosition"); + } + + /** + * Sets my reading position information for a volume. + * (readingpositions.setPosition) + * + * @param string $volumeId ID of volume for which to update the reading + * position. + * @param string $timestamp RFC 3339 UTC format timestamp associated with this + * reading position. + * @param string $position Position string for the new volume reading position. + * @param array $optParams Optional parameters. + * + * @opt_param string deviceCookie Random persistent device cookie optional on + * set position. + * @opt_param string source String to identify the originator of this request. + * @opt_param string contentVersion Volume content version for which this + * reading position applies. + * @opt_param string action Action that caused this reading position to be set. + */ + public function setPosition($volumeId, $timestamp, $position, $optParams = array()) + { + $params = array('volumeId' => $volumeId, 'timestamp' => $timestamp, 'position' => $position); + $params = array_merge($params, $optParams); + return $this->call('setPosition', array($params)); + } +} + +/** + * The "notification" collection of methods. + * Typical usage is: + * + * $booksService = new Google_Service_Books(...); + * $notification = $booksService->notification; + * + */ +class Google_Service_Books_Notification_Resource extends Google_Service_Resource +{ + + /** + * Returns notification details for a given notification id. (notification.get) + * + * @param string $notificationId String to identify the notification. + * @param array $optParams Optional parameters. + * + * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex: + * 'en_US'. Used for generating notification title and body. + * @opt_param string source String to identify the originator of this request. + * @return Google_Service_Books_Notification + */ + public function get($notificationId, $optParams = array()) + { + $params = array('notification_id' => $notificationId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Books_Notification"); + } +} + +/** + * The "onboarding" collection of methods. + * Typical usage is: + * + * $booksService = new Google_Service_Books(...); + * $onboarding = $booksService->onboarding; + * + */ +class Google_Service_Books_Onboarding_Resource extends Google_Service_Resource +{ + + /** + * List categories for onboarding experience. (onboarding.listCategories) + * + * @param array $optParams Optional parameters. + * + * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. + * Default is en-US if unset. + * @return Google_Service_Books_Category + */ + public function listCategories($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('listCategories', array($params), "Google_Service_Books_Category"); + } + + /** + * List available volumes under categories for onboarding experience. + * (onboarding.listCategoryVolumes) + * + * @param array $optParams Optional parameters. + * + * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. + * Default is en-US if unset. + * @opt_param string pageToken The value of the nextToken from the previous + * page. + * @opt_param string maxAllowedMaturityRating The maximum allowed maturity + * rating of returned volumes. Books with a higher maturity rating are filtered + * out. + * @opt_param string categoryId List of category ids requested. + * @opt_param string pageSize Number of maximum results per page to be included + * in the response. + * @return Google_Service_Books_Volume2 + */ + public function listCategoryVolumes($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('listCategoryVolumes', array($params), "Google_Service_Books_Volume2"); + } +} + +/** + * The "personalizedstream" collection of methods. + * Typical usage is: + * + * $booksService = new Google_Service_Books(...); + * $personalizedstream = $booksService->personalizedstream; + * + */ +class Google_Service_Books_Personalizedstream_Resource extends Google_Service_Resource +{ + + /** + * Returns a stream of personalized book clusters (personalizedstream.get) + * + * @param array $optParams Optional parameters. + * + * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex: + * 'en_US'. Used for generating recommendations. + * @opt_param string source String to identify the originator of this request. + * @opt_param string maxAllowedMaturityRating The maximum allowed maturity + * rating of returned recommendations. Books with a higher maturity rating are + * filtered out. + * @return Google_Service_Books_Discoveryclusters + */ + public function get($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Books_Discoveryclusters"); + } +} + +/** + * The "promooffer" collection of methods. + * Typical usage is: + * + * $booksService = new Google_Service_Books(...); + * $promooffer = $booksService->promooffer; + * + */ +class Google_Service_Books_Promooffer_Resource extends Google_Service_Resource +{ + + /** + * (promooffer.accept) + * + * @param array $optParams Optional parameters. + * + * @opt_param string product device product + * @opt_param string volumeId Volume id to exercise the offer + * @opt_param string offerId + * @opt_param string androidId device android_id + * @opt_param string device device device + * @opt_param string model device model + * @opt_param string serial device serial + * @opt_param string manufacturer device manufacturer + */ + public function accept($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('accept', array($params)); + } + + /** + * (promooffer.dismiss) + * + * @param array $optParams Optional parameters. + * + * @opt_param string product device product + * @opt_param string offerId Offer to dimiss + * @opt_param string androidId device android_id + * @opt_param string device device device + * @opt_param string model device model + * @opt_param string serial device serial + * @opt_param string manufacturer device manufacturer + */ + public function dismiss($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('dismiss', array($params)); + } + + /** + * Returns a list of promo offers available to the user (promooffer.get) + * + * @param array $optParams Optional parameters. + * + * @opt_param string product device product + * @opt_param string androidId device android_id + * @opt_param string device device device + * @opt_param string model device model + * @opt_param string serial device serial + * @opt_param string manufacturer device manufacturer + * @return Google_Service_Books_Offers + */ + public function get($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Books_Offers"); + } +} + +/** + * The "volumes" collection of methods. + * Typical usage is: + * + * $booksService = new Google_Service_Books(...); + * $volumes = $booksService->volumes; + * + */ +class Google_Service_Books_Volumes_Resource extends Google_Service_Resource +{ + + /** + * Gets volume information for a single volume. (volumes.get) + * + * @param string $volumeId ID of volume to retrieve. + * @param array $optParams Optional parameters. + * + * @opt_param bool user_library_consistent_read + * @opt_param string projection Restrict information returned to a set of + * selected fields. + * @opt_param string country ISO-3166-1 code to override the IP-based location. + * @opt_param string source String to identify the originator of this request. + * @opt_param string partner Brand results for partner ID. + * @return Google_Service_Books_Volume + */ + public function get($volumeId, $optParams = array()) + { + $params = array('volumeId' => $volumeId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Books_Volume"); + } + + /** + * Performs a book search. (volumes.listVolumes) + * + * @param string $q Full-text search query string. + * @param array $optParams Optional parameters. + * + * @opt_param string orderBy Sort search results. + * @opt_param string projection Restrict information returned to a set of + * selected fields. + * @opt_param string libraryRestrict Restrict search to this user's library. + * @opt_param string langRestrict Restrict results to books with this language + * code. + * @opt_param bool showPreorders Set to true to show books available for + * preorder. Defaults to false. + * @opt_param string printType Restrict to books or magazines. + * @opt_param string maxResults Maximum number of results to return. + * @opt_param string filter Filter search results. + * @opt_param string source String to identify the originator of this request. + * @opt_param string startIndex Index of the first result to return (starts at + * 0) + * @opt_param string download Restrict to volumes by download availability. + * @opt_param string partner Restrict and brand results for partner ID. + * @return Google_Service_Books_Volumes + */ + public function listVolumes($q, $optParams = array()) + { + $params = array('q' => $q); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Books_Volumes"); + } +} + +/** + * The "associated" collection of methods. + * Typical usage is: + * + * $booksService = new Google_Service_Books(...); + * $associated = $booksService->associated; + * + */ +class Google_Service_Books_VolumesAssociated_Resource extends Google_Service_Resource +{ + + /** + * Return a list of associated books. (associated.listVolumesAssociated) + * + * @param string $volumeId ID of the source volume. + * @param array $optParams Optional parameters. + * + * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex: + * 'en_US'. Used for generating recommendations. + * @opt_param string source String to identify the originator of this request. + * @opt_param string maxAllowedMaturityRating The maximum allowed maturity + * rating of returned recommendations. Books with a higher maturity rating are + * filtered out. + * @opt_param string association Association type. + * @return Google_Service_Books_Volumes + */ + public function listVolumesAssociated($volumeId, $optParams = array()) + { + $params = array('volumeId' => $volumeId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Books_Volumes"); + } +} +/** + * The "mybooks" collection of methods. + * Typical usage is: + * + * $booksService = new Google_Service_Books(...); + * $mybooks = $booksService->mybooks; + * + */ +class Google_Service_Books_VolumesMybooks_Resource extends Google_Service_Resource +{ + + /** + * Return a list of books in My Library. (mybooks.listVolumesMybooks) + * + * @param array $optParams Optional parameters. + * + * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. + * Ex:'en_US'. Used for generating recommendations. + * @opt_param string startIndex Index of the first result to return (starts at + * 0) + * @opt_param string maxResults Maximum number of results to return. + * @opt_param string source String to identify the originator of this request. + * @opt_param string acquireMethod How the book was aquired + * @opt_param string processingState The processing state of the user uploaded + * volumes to be returned. Applicable only if the UPLOADED is specified in the + * acquireMethod. + * @return Google_Service_Books_Volumes + */ + public function listVolumesMybooks($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Books_Volumes"); + } +} +/** + * The "recommended" collection of methods. + * Typical usage is: + * + * $booksService = new Google_Service_Books(...); + * $recommended = $booksService->recommended; + * + */ +class Google_Service_Books_VolumesRecommended_Resource extends Google_Service_Resource +{ + + /** + * Return a list of recommended books for the current user. + * (recommended.listVolumesRecommended) + * + * @param array $optParams Optional parameters. + * + * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex: + * 'en_US'. Used for generating recommendations. + * @opt_param string source String to identify the originator of this request. + * @opt_param string maxAllowedMaturityRating The maximum allowed maturity + * rating of returned recommendations. Books with a higher maturity rating are + * filtered out. + * @return Google_Service_Books_Volumes + */ + public function listVolumesRecommended($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Books_Volumes"); + } + + /** + * Rate a recommended book for the current user. (recommended.rate) + * + * @param string $rating Rating to be given to the volume. + * @param string $volumeId ID of the source volume. + * @param array $optParams Optional parameters. + * + * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex: + * 'en_US'. Used for generating recommendations. + * @opt_param string source String to identify the originator of this request. + * @return Google_Service_Books_BooksVolumesRecommendedRateResponse + */ + public function rate($rating, $volumeId, $optParams = array()) + { + $params = array('rating' => $rating, 'volumeId' => $volumeId); + $params = array_merge($params, $optParams); + return $this->call('rate', array($params), "Google_Service_Books_BooksVolumesRecommendedRateResponse"); + } +} +/** + * The "useruploaded" collection of methods. + * Typical usage is: + * + * $booksService = new Google_Service_Books(...); + * $useruploaded = $booksService->useruploaded; + * + */ +class Google_Service_Books_VolumesUseruploaded_Resource extends Google_Service_Resource +{ + + /** + * Return a list of books uploaded by the current user. + * (useruploaded.listVolumesUseruploaded) + * + * @param array $optParams Optional parameters. + * + * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex: + * 'en_US'. Used for generating recommendations. + * @opt_param string volumeId The ids of the volumes to be returned. If not + * specified all that match the processingState are returned. + * @opt_param string maxResults Maximum number of results to return. + * @opt_param string source String to identify the originator of this request. + * @opt_param string startIndex Index of the first result to return (starts at + * 0) + * @opt_param string processingState The processing state of the user uploaded + * volumes to be returned. + * @return Google_Service_Books_Volumes + */ + public function listVolumesUseruploaded($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Books_Volumes"); + } +} + + + + +class Google_Service_Books_Annotation extends Google_Collection +{ + protected $collection_key = 'pageIds'; + protected $internal_gapi_mappings = array( + ); + public $afterSelectedText; + public $beforeSelectedText; + protected $clientVersionRangesType = 'Google_Service_Books_AnnotationClientVersionRanges'; + protected $clientVersionRangesDataType = ''; + public $created; + protected $currentVersionRangesType = 'Google_Service_Books_AnnotationCurrentVersionRanges'; + protected $currentVersionRangesDataType = ''; + public $data; + public $deleted; + public $highlightStyle; + public $id; + public $kind; + public $layerId; + protected $layerSummaryType = 'Google_Service_Books_AnnotationLayerSummary'; + protected $layerSummaryDataType = ''; + public $pageIds; + public $selectedText; + public $selfLink; + public $updated; + public $volumeId; + + + public function setAfterSelectedText($afterSelectedText) + { + $this->afterSelectedText = $afterSelectedText; + } + public function getAfterSelectedText() + { + return $this->afterSelectedText; + } + public function setBeforeSelectedText($beforeSelectedText) + { + $this->beforeSelectedText = $beforeSelectedText; + } + public function getBeforeSelectedText() + { + return $this->beforeSelectedText; + } + public function setClientVersionRanges(Google_Service_Books_AnnotationClientVersionRanges $clientVersionRanges) + { + $this->clientVersionRanges = $clientVersionRanges; + } + public function getClientVersionRanges() + { + return $this->clientVersionRanges; + } + public function setCreated($created) + { + $this->created = $created; + } + public function getCreated() + { + return $this->created; + } + public function setCurrentVersionRanges(Google_Service_Books_AnnotationCurrentVersionRanges $currentVersionRanges) + { + $this->currentVersionRanges = $currentVersionRanges; + } + public function getCurrentVersionRanges() + { + return $this->currentVersionRanges; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setDeleted($deleted) + { + $this->deleted = $deleted; + } + public function getDeleted() + { + return $this->deleted; + } + public function setHighlightStyle($highlightStyle) + { + $this->highlightStyle = $highlightStyle; + } + public function getHighlightStyle() + { + return $this->highlightStyle; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLayerId($layerId) + { + $this->layerId = $layerId; + } + public function getLayerId() + { + return $this->layerId; + } + public function setLayerSummary(Google_Service_Books_AnnotationLayerSummary $layerSummary) + { + $this->layerSummary = $layerSummary; + } + public function getLayerSummary() + { + return $this->layerSummary; + } + public function setPageIds($pageIds) + { + $this->pageIds = $pageIds; + } + public function getPageIds() + { + return $this->pageIds; + } + public function setSelectedText($selectedText) + { + $this->selectedText = $selectedText; + } + public function getSelectedText() + { + return $this->selectedText; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setVolumeId($volumeId) + { + $this->volumeId = $volumeId; + } + public function getVolumeId() + { + return $this->volumeId; + } +} + +class Google_Service_Books_AnnotationClientVersionRanges extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $cfiRangeType = 'Google_Service_Books_BooksAnnotationsRange'; + protected $cfiRangeDataType = ''; + public $contentVersion; + protected $gbImageRangeType = 'Google_Service_Books_BooksAnnotationsRange'; + protected $gbImageRangeDataType = ''; + protected $gbTextRangeType = 'Google_Service_Books_BooksAnnotationsRange'; + protected $gbTextRangeDataType = ''; + protected $imageCfiRangeType = 'Google_Service_Books_BooksAnnotationsRange'; + protected $imageCfiRangeDataType = ''; + + + public function setCfiRange(Google_Service_Books_BooksAnnotationsRange $cfiRange) + { + $this->cfiRange = $cfiRange; + } + public function getCfiRange() + { + return $this->cfiRange; + } + public function setContentVersion($contentVersion) + { + $this->contentVersion = $contentVersion; + } + public function getContentVersion() + { + return $this->contentVersion; + } + public function setGbImageRange(Google_Service_Books_BooksAnnotationsRange $gbImageRange) + { + $this->gbImageRange = $gbImageRange; + } + public function getGbImageRange() + { + return $this->gbImageRange; + } + public function setGbTextRange(Google_Service_Books_BooksAnnotationsRange $gbTextRange) + { + $this->gbTextRange = $gbTextRange; + } + public function getGbTextRange() + { + return $this->gbTextRange; + } + public function setImageCfiRange(Google_Service_Books_BooksAnnotationsRange $imageCfiRange) + { + $this->imageCfiRange = $imageCfiRange; + } + public function getImageCfiRange() + { + return $this->imageCfiRange; + } +} + +class Google_Service_Books_AnnotationCurrentVersionRanges extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $cfiRangeType = 'Google_Service_Books_BooksAnnotationsRange'; + protected $cfiRangeDataType = ''; + public $contentVersion; + protected $gbImageRangeType = 'Google_Service_Books_BooksAnnotationsRange'; + protected $gbImageRangeDataType = ''; + protected $gbTextRangeType = 'Google_Service_Books_BooksAnnotationsRange'; + protected $gbTextRangeDataType = ''; + protected $imageCfiRangeType = 'Google_Service_Books_BooksAnnotationsRange'; + protected $imageCfiRangeDataType = ''; + + + public function setCfiRange(Google_Service_Books_BooksAnnotationsRange $cfiRange) + { + $this->cfiRange = $cfiRange; + } + public function getCfiRange() + { + return $this->cfiRange; + } + public function setContentVersion($contentVersion) + { + $this->contentVersion = $contentVersion; + } + public function getContentVersion() + { + return $this->contentVersion; + } + public function setGbImageRange(Google_Service_Books_BooksAnnotationsRange $gbImageRange) + { + $this->gbImageRange = $gbImageRange; + } + public function getGbImageRange() + { + return $this->gbImageRange; + } + public function setGbTextRange(Google_Service_Books_BooksAnnotationsRange $gbTextRange) + { + $this->gbTextRange = $gbTextRange; + } + public function getGbTextRange() + { + return $this->gbTextRange; + } + public function setImageCfiRange(Google_Service_Books_BooksAnnotationsRange $imageCfiRange) + { + $this->imageCfiRange = $imageCfiRange; + } + public function getImageCfiRange() + { + return $this->imageCfiRange; + } +} + +class Google_Service_Books_AnnotationLayerSummary extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $allowedCharacterCount; + public $limitType; + public $remainingCharacterCount; + + + public function setAllowedCharacterCount($allowedCharacterCount) + { + $this->allowedCharacterCount = $allowedCharacterCount; + } + public function getAllowedCharacterCount() + { + return $this->allowedCharacterCount; + } + public function setLimitType($limitType) + { + $this->limitType = $limitType; + } + public function getLimitType() + { + return $this->limitType; + } + public function setRemainingCharacterCount($remainingCharacterCount) + { + $this->remainingCharacterCount = $remainingCharacterCount; + } + public function getRemainingCharacterCount() + { + return $this->remainingCharacterCount; + } +} + +class Google_Service_Books_Annotationdata extends Google_Model +{ + protected $internal_gapi_mappings = array( + "encodedData" => "encoded_data", + ); + public $annotationType; + public $data; + public $encodedData; + public $id; + public $kind; + public $layerId; + public $selfLink; + public $updated; + public $volumeId; + + + public function setAnnotationType($annotationType) + { + $this->annotationType = $annotationType; + } + public function getAnnotationType() + { + return $this->annotationType; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setEncodedData($encodedData) + { + $this->encodedData = $encodedData; + } + public function getEncodedData() + { + return $this->encodedData; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLayerId($layerId) + { + $this->layerId = $layerId; + } + public function getLayerId() + { + return $this->layerId; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setVolumeId($volumeId) + { + $this->volumeId = $volumeId; + } + public function getVolumeId() + { + return $this->volumeId; + } +} + +class Google_Service_Books_Annotations extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Books_Annotation'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $totalItems; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} + +class Google_Service_Books_AnnotationsSummary extends Google_Collection +{ + protected $collection_key = 'layers'; + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $layersType = 'Google_Service_Books_AnnotationsSummaryLayers'; + protected $layersDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLayers($layers) + { + $this->layers = $layers; + } + public function getLayers() + { + return $this->layers; + } +} + +class Google_Service_Books_AnnotationsSummaryLayers extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $allowedCharacterCount; + public $layerId; + public $limitType; + public $remainingCharacterCount; + public $updated; + + + public function setAllowedCharacterCount($allowedCharacterCount) + { + $this->allowedCharacterCount = $allowedCharacterCount; + } + public function getAllowedCharacterCount() + { + return $this->allowedCharacterCount; + } + public function setLayerId($layerId) + { + $this->layerId = $layerId; + } + public function getLayerId() + { + return $this->layerId; + } + public function setLimitType($limitType) + { + $this->limitType = $limitType; + } + public function getLimitType() + { + return $this->limitType; + } + public function setRemainingCharacterCount($remainingCharacterCount) + { + $this->remainingCharacterCount = $remainingCharacterCount; + } + public function getRemainingCharacterCount() + { + return $this->remainingCharacterCount; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } +} + +class Google_Service_Books_Annotationsdata extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Books_Annotationdata'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $totalItems; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} + +class Google_Service_Books_BooksAnnotationsRange extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $endOffset; + public $endPosition; + public $startOffset; + public $startPosition; + + + public function setEndOffset($endOffset) + { + $this->endOffset = $endOffset; + } + public function getEndOffset() + { + return $this->endOffset; + } + public function setEndPosition($endPosition) + { + $this->endPosition = $endPosition; + } + public function getEndPosition() + { + return $this->endPosition; + } + public function setStartOffset($startOffset) + { + $this->startOffset = $startOffset; + } + public function getStartOffset() + { + return $this->startOffset; + } + public function setStartPosition($startPosition) + { + $this->startPosition = $startPosition; + } + public function getStartPosition() + { + return $this->startPosition; + } +} + +class Google_Service_Books_BooksCloudloadingResource extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $author; + public $processingState; + public $title; + public $volumeId; + + + public function setAuthor($author) + { + $this->author = $author; + } + public function getAuthor() + { + return $this->author; + } + public function setProcessingState($processingState) + { + $this->processingState = $processingState; + } + public function getProcessingState() + { + return $this->processingState; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setVolumeId($volumeId) + { + $this->volumeId = $volumeId; + } + public function getVolumeId() + { + return $this->volumeId; + } +} + +class Google_Service_Books_BooksVolumesRecommendedRateResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + "consistencyToken" => "consistency_token", + ); + public $consistencyToken; + + + public function setConsistencyToken($consistencyToken) + { + $this->consistencyToken = $consistencyToken; + } + public function getConsistencyToken() + { + return $this->consistencyToken; + } +} + +class Google_Service_Books_Bookshelf extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $access; + public $created; + public $description; + public $id; + public $kind; + public $selfLink; + public $title; + public $updated; + public $volumeCount; + public $volumesLastUpdated; + + + public function setAccess($access) + { + $this->access = $access; + } + public function getAccess() + { + return $this->access; + } + public function setCreated($created) + { + $this->created = $created; + } + public function getCreated() + { + return $this->created; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setVolumeCount($volumeCount) + { + $this->volumeCount = $volumeCount; + } + public function getVolumeCount() + { + return $this->volumeCount; + } + public function setVolumesLastUpdated($volumesLastUpdated) + { + $this->volumesLastUpdated = $volumesLastUpdated; + } + public function getVolumesLastUpdated() + { + return $this->volumesLastUpdated; + } +} + +class Google_Service_Books_Bookshelves extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Books_Bookshelf'; + protected $itemsDataType = 'array'; + public $kind; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Books_Category extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Books_CategoryItems'; + protected $itemsDataType = 'array'; + public $kind; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Books_CategoryItems extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $badgeUrl; + public $categoryId; + public $name; + + + public function setBadgeUrl($badgeUrl) + { + $this->badgeUrl = $badgeUrl; + } + public function getBadgeUrl() + { + return $this->badgeUrl; + } + public function setCategoryId($categoryId) + { + $this->categoryId = $categoryId; + } + public function getCategoryId() + { + return $this->categoryId; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_Books_ConcurrentAccessRestriction extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $deviceAllowed; + public $kind; + public $maxConcurrentDevices; + public $message; + public $nonce; + public $reasonCode; + public $restricted; + public $signature; + public $source; + public $timeWindowSeconds; + public $volumeId; + + + public function setDeviceAllowed($deviceAllowed) + { + $this->deviceAllowed = $deviceAllowed; + } + public function getDeviceAllowed() + { + return $this->deviceAllowed; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMaxConcurrentDevices($maxConcurrentDevices) + { + $this->maxConcurrentDevices = $maxConcurrentDevices; + } + public function getMaxConcurrentDevices() + { + return $this->maxConcurrentDevices; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } + public function setNonce($nonce) + { + $this->nonce = $nonce; + } + public function getNonce() + { + return $this->nonce; + } + public function setReasonCode($reasonCode) + { + $this->reasonCode = $reasonCode; + } + public function getReasonCode() + { + return $this->reasonCode; + } + public function setRestricted($restricted) + { + $this->restricted = $restricted; + } + public function getRestricted() + { + return $this->restricted; + } + public function setSignature($signature) + { + $this->signature = $signature; + } + public function getSignature() + { + return $this->signature; + } + public function setSource($source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } + public function setTimeWindowSeconds($timeWindowSeconds) + { + $this->timeWindowSeconds = $timeWindowSeconds; + } + public function getTimeWindowSeconds() + { + return $this->timeWindowSeconds; + } + public function setVolumeId($volumeId) + { + $this->volumeId = $volumeId; + } + public function getVolumeId() + { + return $this->volumeId; + } +} + +class Google_Service_Books_Dictlayerdata extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $commonType = 'Google_Service_Books_DictlayerdataCommon'; + protected $commonDataType = ''; + protected $dictType = 'Google_Service_Books_DictlayerdataDict'; + protected $dictDataType = ''; + public $kind; + + + public function setCommon(Google_Service_Books_DictlayerdataCommon $common) + { + $this->common = $common; + } + public function getCommon() + { + return $this->common; + } + public function setDict(Google_Service_Books_DictlayerdataDict $dict) + { + $this->dict = $dict; + } + public function getDict() + { + return $this->dict; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Books_DictlayerdataCommon extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $title; + + + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} + +class Google_Service_Books_DictlayerdataDict extends Google_Collection +{ + protected $collection_key = 'words'; + protected $internal_gapi_mappings = array( + ); + protected $sourceType = 'Google_Service_Books_DictlayerdataDictSource'; + protected $sourceDataType = ''; + protected $wordsType = 'Google_Service_Books_DictlayerdataDictWords'; + protected $wordsDataType = 'array'; + + + public function setSource(Google_Service_Books_DictlayerdataDictSource $source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } + public function setWords($words) + { + $this->words = $words; + } + public function getWords() + { + return $this->words; + } +} + +class Google_Service_Books_DictlayerdataDictSource extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $attribution; + public $url; + + + public function setAttribution($attribution) + { + $this->attribution = $attribution; + } + public function getAttribution() + { + return $this->attribution; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_Books_DictlayerdataDictWords extends Google_Collection +{ + protected $collection_key = 'senses'; + protected $internal_gapi_mappings = array( + ); + protected $derivativesType = 'Google_Service_Books_DictlayerdataDictWordsDerivatives'; + protected $derivativesDataType = 'array'; + protected $examplesType = 'Google_Service_Books_DictlayerdataDictWordsExamples'; + protected $examplesDataType = 'array'; + protected $sensesType = 'Google_Service_Books_DictlayerdataDictWordsSenses'; + protected $sensesDataType = 'array'; + protected $sourceType = 'Google_Service_Books_DictlayerdataDictWordsSource'; + protected $sourceDataType = ''; + + + public function setDerivatives($derivatives) + { + $this->derivatives = $derivatives; + } + public function getDerivatives() + { + return $this->derivatives; + } + public function setExamples($examples) + { + $this->examples = $examples; + } + public function getExamples() + { + return $this->examples; + } + public function setSenses($senses) + { + $this->senses = $senses; + } + public function getSenses() + { + return $this->senses; + } + public function setSource(Google_Service_Books_DictlayerdataDictWordsSource $source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } +} + +class Google_Service_Books_DictlayerdataDictWordsDerivatives extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $sourceType = 'Google_Service_Books_DictlayerdataDictWordsDerivativesSource'; + protected $sourceDataType = ''; + public $text; + + + public function setSource(Google_Service_Books_DictlayerdataDictWordsDerivativesSource $source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } + public function setText($text) + { + $this->text = $text; + } + public function getText() + { + return $this->text; + } +} + +class Google_Service_Books_DictlayerdataDictWordsDerivativesSource extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $attribution; + public $url; + + + public function setAttribution($attribution) + { + $this->attribution = $attribution; + } + public function getAttribution() + { + return $this->attribution; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_Books_DictlayerdataDictWordsExamples extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $sourceType = 'Google_Service_Books_DictlayerdataDictWordsExamplesSource'; + protected $sourceDataType = ''; + public $text; + + + public function setSource(Google_Service_Books_DictlayerdataDictWordsExamplesSource $source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } + public function setText($text) + { + $this->text = $text; + } + public function getText() + { + return $this->text; + } +} + +class Google_Service_Books_DictlayerdataDictWordsExamplesSource extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $attribution; + public $url; + + + public function setAttribution($attribution) + { + $this->attribution = $attribution; + } + public function getAttribution() + { + return $this->attribution; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_Books_DictlayerdataDictWordsSenses extends Google_Collection +{ + protected $collection_key = 'synonyms'; + protected $internal_gapi_mappings = array( + ); + protected $conjugationsType = 'Google_Service_Books_DictlayerdataDictWordsSensesConjugations'; + protected $conjugationsDataType = 'array'; + protected $definitionsType = 'Google_Service_Books_DictlayerdataDictWordsSensesDefinitions'; + protected $definitionsDataType = 'array'; + public $partOfSpeech; + public $pronunciation; + public $pronunciationUrl; + protected $sourceType = 'Google_Service_Books_DictlayerdataDictWordsSensesSource'; + protected $sourceDataType = ''; + public $syllabification; + protected $synonymsType = 'Google_Service_Books_DictlayerdataDictWordsSensesSynonyms'; + protected $synonymsDataType = 'array'; + + + public function setConjugations($conjugations) + { + $this->conjugations = $conjugations; + } + public function getConjugations() + { + return $this->conjugations; + } + public function setDefinitions($definitions) + { + $this->definitions = $definitions; + } + public function getDefinitions() + { + return $this->definitions; + } + public function setPartOfSpeech($partOfSpeech) + { + $this->partOfSpeech = $partOfSpeech; + } + public function getPartOfSpeech() + { + return $this->partOfSpeech; + } + public function setPronunciation($pronunciation) + { + $this->pronunciation = $pronunciation; + } + public function getPronunciation() + { + return $this->pronunciation; + } + public function setPronunciationUrl($pronunciationUrl) + { + $this->pronunciationUrl = $pronunciationUrl; + } + public function getPronunciationUrl() + { + return $this->pronunciationUrl; + } + public function setSource(Google_Service_Books_DictlayerdataDictWordsSensesSource $source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } + public function setSyllabification($syllabification) + { + $this->syllabification = $syllabification; + } + public function getSyllabification() + { + return $this->syllabification; + } + public function setSynonyms($synonyms) + { + $this->synonyms = $synonyms; + } + public function getSynonyms() + { + return $this->synonyms; + } +} + +class Google_Service_Books_DictlayerdataDictWordsSensesConjugations extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $type; + public $value; + + + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Books_DictlayerdataDictWordsSensesDefinitions extends Google_Collection +{ + protected $collection_key = 'examples'; + protected $internal_gapi_mappings = array( + ); + public $definition; + protected $examplesType = 'Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamples'; + protected $examplesDataType = 'array'; + + + public function setDefinition($definition) + { + $this->definition = $definition; + } + public function getDefinition() + { + return $this->definition; + } + public function setExamples($examples) + { + $this->examples = $examples; + } + public function getExamples() + { + return $this->examples; + } +} + +class Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamples extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $sourceType = 'Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamplesSource'; + protected $sourceDataType = ''; + public $text; + + + public function setSource(Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamplesSource $source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } + public function setText($text) + { + $this->text = $text; + } + public function getText() + { + return $this->text; + } +} + +class Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamplesSource extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $attribution; + public $url; + + + public function setAttribution($attribution) + { + $this->attribution = $attribution; + } + public function getAttribution() + { + return $this->attribution; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_Books_DictlayerdataDictWordsSensesSource extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $attribution; + public $url; + + + public function setAttribution($attribution) + { + $this->attribution = $attribution; + } + public function getAttribution() + { + return $this->attribution; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_Books_DictlayerdataDictWordsSensesSynonyms extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $sourceType = 'Google_Service_Books_DictlayerdataDictWordsSensesSynonymsSource'; + protected $sourceDataType = ''; + public $text; + + + public function setSource(Google_Service_Books_DictlayerdataDictWordsSensesSynonymsSource $source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } + public function setText($text) + { + $this->text = $text; + } + public function getText() + { + return $this->text; + } +} + +class Google_Service_Books_DictlayerdataDictWordsSensesSynonymsSource extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $attribution; + public $url; + + + public function setAttribution($attribution) + { + $this->attribution = $attribution; + } + public function getAttribution() + { + return $this->attribution; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_Books_DictlayerdataDictWordsSource extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $attribution; + public $url; + + + public function setAttribution($attribution) + { + $this->attribution = $attribution; + } + public function getAttribution() + { + return $this->attribution; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_Books_Discoveryclusters extends Google_Collection +{ + protected $collection_key = 'clusters'; + protected $internal_gapi_mappings = array( + ); + protected $clustersType = 'Google_Service_Books_DiscoveryclustersClusters'; + protected $clustersDataType = 'array'; + public $kind; + public $totalClusters; + + + public function setClusters($clusters) + { + $this->clusters = $clusters; + } + public function getClusters() + { + return $this->clusters; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setTotalClusters($totalClusters) + { + $this->totalClusters = $totalClusters; + } + public function getTotalClusters() + { + return $this->totalClusters; + } +} + +class Google_Service_Books_DiscoveryclustersClusters extends Google_Collection +{ + protected $collection_key = 'volumes'; + protected $internal_gapi_mappings = array( + "bannerWithContentContainer" => "banner_with_content_container", + ); + protected $bannerWithContentContainerType = 'Google_Service_Books_DiscoveryclustersClustersBannerWithContentContainer'; + protected $bannerWithContentContainerDataType = ''; + public $subTitle; + public $title; + public $totalVolumes; + public $uid; + protected $volumesType = 'Google_Service_Books_Volume'; + protected $volumesDataType = 'array'; + + + public function setBannerWithContentContainer(Google_Service_Books_DiscoveryclustersClustersBannerWithContentContainer $bannerWithContentContainer) + { + $this->bannerWithContentContainer = $bannerWithContentContainer; + } + public function getBannerWithContentContainer() + { + return $this->bannerWithContentContainer; + } + public function setSubTitle($subTitle) + { + $this->subTitle = $subTitle; + } + public function getSubTitle() + { + return $this->subTitle; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setTotalVolumes($totalVolumes) + { + $this->totalVolumes = $totalVolumes; + } + public function getTotalVolumes() + { + return $this->totalVolumes; + } + public function setUid($uid) + { + $this->uid = $uid; + } + public function getUid() + { + return $this->uid; + } + public function setVolumes($volumes) + { + $this->volumes = $volumes; + } + public function getVolumes() + { + return $this->volumes; + } +} + +class Google_Service_Books_DiscoveryclustersClustersBannerWithContentContainer extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $fillColorArgb; + public $imageUrl; + public $maskColorArgb; + public $moreButtonText; + public $moreButtonUrl; + public $textColorArgb; + + + public function setFillColorArgb($fillColorArgb) + { + $this->fillColorArgb = $fillColorArgb; + } + public function getFillColorArgb() + { + return $this->fillColorArgb; + } + public function setImageUrl($imageUrl) + { + $this->imageUrl = $imageUrl; + } + public function getImageUrl() + { + return $this->imageUrl; + } + public function setMaskColorArgb($maskColorArgb) + { + $this->maskColorArgb = $maskColorArgb; + } + public function getMaskColorArgb() + { + return $this->maskColorArgb; + } + public function setMoreButtonText($moreButtonText) + { + $this->moreButtonText = $moreButtonText; + } + public function getMoreButtonText() + { + return $this->moreButtonText; + } + public function setMoreButtonUrl($moreButtonUrl) + { + $this->moreButtonUrl = $moreButtonUrl; + } + public function getMoreButtonUrl() + { + return $this->moreButtonUrl; + } + public function setTextColorArgb($textColorArgb) + { + $this->textColorArgb = $textColorArgb; + } + public function getTextColorArgb() + { + return $this->textColorArgb; + } +} + +class Google_Service_Books_DownloadAccessRestriction extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $deviceAllowed; + public $downloadsAcquired; + public $justAcquired; + public $kind; + public $maxDownloadDevices; + public $message; + public $nonce; + public $reasonCode; + public $restricted; + public $signature; + public $source; + public $volumeId; + + + public function setDeviceAllowed($deviceAllowed) + { + $this->deviceAllowed = $deviceAllowed; + } + public function getDeviceAllowed() + { + return $this->deviceAllowed; + } + public function setDownloadsAcquired($downloadsAcquired) + { + $this->downloadsAcquired = $downloadsAcquired; + } + public function getDownloadsAcquired() + { + return $this->downloadsAcquired; + } + public function setJustAcquired($justAcquired) + { + $this->justAcquired = $justAcquired; + } + public function getJustAcquired() + { + return $this->justAcquired; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMaxDownloadDevices($maxDownloadDevices) + { + $this->maxDownloadDevices = $maxDownloadDevices; + } + public function getMaxDownloadDevices() + { + return $this->maxDownloadDevices; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } + public function setNonce($nonce) + { + $this->nonce = $nonce; + } + public function getNonce() + { + return $this->nonce; + } + public function setReasonCode($reasonCode) + { + $this->reasonCode = $reasonCode; + } + public function getReasonCode() + { + return $this->reasonCode; + } + public function setRestricted($restricted) + { + $this->restricted = $restricted; + } + public function getRestricted() + { + return $this->restricted; + } + public function setSignature($signature) + { + $this->signature = $signature; + } + public function getSignature() + { + return $this->signature; + } + public function setSource($source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } + public function setVolumeId($volumeId) + { + $this->volumeId = $volumeId; + } + public function getVolumeId() + { + return $this->volumeId; + } +} + +class Google_Service_Books_DownloadAccesses extends Google_Collection +{ + protected $collection_key = 'downloadAccessList'; + protected $internal_gapi_mappings = array( + ); + protected $downloadAccessListType = 'Google_Service_Books_DownloadAccessRestriction'; + protected $downloadAccessListDataType = 'array'; + public $kind; + + + public function setDownloadAccessList($downloadAccessList) + { + $this->downloadAccessList = $downloadAccessList; + } + public function getDownloadAccessList() + { + return $this->downloadAccessList; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Books_Geolayerdata extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $commonType = 'Google_Service_Books_GeolayerdataCommon'; + protected $commonDataType = ''; + protected $geoType = 'Google_Service_Books_GeolayerdataGeo'; + protected $geoDataType = ''; + public $kind; + + + public function setCommon(Google_Service_Books_GeolayerdataCommon $common) + { + $this->common = $common; + } + public function getCommon() + { + return $this->common; + } + public function setGeo(Google_Service_Books_GeolayerdataGeo $geo) + { + $this->geo = $geo; + } + public function getGeo() + { + return $this->geo; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Books_GeolayerdataCommon extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $lang; + public $previewImageUrl; + public $snippet; + public $snippetUrl; + public $title; + + + public function setLang($lang) + { + $this->lang = $lang; + } + public function getLang() + { + return $this->lang; + } + public function setPreviewImageUrl($previewImageUrl) + { + $this->previewImageUrl = $previewImageUrl; + } + public function getPreviewImageUrl() + { + return $this->previewImageUrl; + } + public function setSnippet($snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } + public function setSnippetUrl($snippetUrl) + { + $this->snippetUrl = $snippetUrl; + } + public function getSnippetUrl() + { + return $this->snippetUrl; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} + +class Google_Service_Books_GeolayerdataGeo extends Google_Collection +{ + protected $collection_key = 'boundary'; + protected $internal_gapi_mappings = array( + ); + protected $boundaryType = 'Google_Service_Books_GeolayerdataGeoBoundary'; + protected $boundaryDataType = 'array'; + public $cachePolicy; + public $countryCode; + public $latitude; + public $longitude; + public $mapType; + protected $viewportType = 'Google_Service_Books_GeolayerdataGeoViewport'; + protected $viewportDataType = ''; + public $zoom; + + + public function setBoundary($boundary) + { + $this->boundary = $boundary; + } + public function getBoundary() + { + return $this->boundary; + } + public function setCachePolicy($cachePolicy) + { + $this->cachePolicy = $cachePolicy; + } + public function getCachePolicy() + { + return $this->cachePolicy; + } + public function setCountryCode($countryCode) + { + $this->countryCode = $countryCode; + } + public function getCountryCode() + { + return $this->countryCode; + } + public function setLatitude($latitude) + { + $this->latitude = $latitude; + } + public function getLatitude() + { + return $this->latitude; + } + public function setLongitude($longitude) + { + $this->longitude = $longitude; + } + public function getLongitude() + { + return $this->longitude; + } + public function setMapType($mapType) + { + $this->mapType = $mapType; + } + public function getMapType() + { + return $this->mapType; + } + public function setViewport(Google_Service_Books_GeolayerdataGeoViewport $viewport) + { + $this->viewport = $viewport; + } + public function getViewport() + { + return $this->viewport; + } + public function setZoom($zoom) + { + $this->zoom = $zoom; + } + public function getZoom() + { + return $this->zoom; + } +} + +class Google_Service_Books_GeolayerdataGeoBoundary extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $latitude; + public $longitude; + + + public function setLatitude($latitude) + { + $this->latitude = $latitude; + } + public function getLatitude() + { + return $this->latitude; + } + public function setLongitude($longitude) + { + $this->longitude = $longitude; + } + public function getLongitude() + { + return $this->longitude; + } +} + +class Google_Service_Books_GeolayerdataGeoViewport extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $hiType = 'Google_Service_Books_GeolayerdataGeoViewportHi'; + protected $hiDataType = ''; + protected $loType = 'Google_Service_Books_GeolayerdataGeoViewportLo'; + protected $loDataType = ''; + + + public function setHi(Google_Service_Books_GeolayerdataGeoViewportHi $hi) + { + $this->hi = $hi; + } + public function getHi() + { + return $this->hi; + } + public function setLo(Google_Service_Books_GeolayerdataGeoViewportLo $lo) + { + $this->lo = $lo; + } + public function getLo() + { + return $this->lo; + } +} + +class Google_Service_Books_GeolayerdataGeoViewportHi extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $latitude; + public $longitude; + + + public function setLatitude($latitude) + { + $this->latitude = $latitude; + } + public function getLatitude() + { + return $this->latitude; + } + public function setLongitude($longitude) + { + $this->longitude = $longitude; + } + public function getLongitude() + { + return $this->longitude; + } +} + +class Google_Service_Books_GeolayerdataGeoViewportLo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $latitude; + public $longitude; + + + public function setLatitude($latitude) + { + $this->latitude = $latitude; + } + public function getLatitude() + { + return $this->latitude; + } + public function setLongitude($longitude) + { + $this->longitude = $longitude; + } + public function getLongitude() + { + return $this->longitude; + } +} + +class Google_Service_Books_Layersummaries extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Books_Layersummary'; + protected $itemsDataType = 'array'; + public $kind; + public $totalItems; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} + +class Google_Service_Books_Layersummary extends Google_Collection +{ + protected $collection_key = 'annotationTypes'; + protected $internal_gapi_mappings = array( + ); + public $annotationCount; + public $annotationTypes; + public $annotationsDataLink; + public $annotationsLink; + public $contentVersion; + public $dataCount; + public $id; + public $kind; + public $layerId; + public $selfLink; + public $updated; + public $volumeAnnotationsVersion; + public $volumeId; + + + public function setAnnotationCount($annotationCount) + { + $this->annotationCount = $annotationCount; + } + public function getAnnotationCount() + { + return $this->annotationCount; + } + public function setAnnotationTypes($annotationTypes) + { + $this->annotationTypes = $annotationTypes; + } + public function getAnnotationTypes() + { + return $this->annotationTypes; + } + public function setAnnotationsDataLink($annotationsDataLink) + { + $this->annotationsDataLink = $annotationsDataLink; + } + public function getAnnotationsDataLink() + { + return $this->annotationsDataLink; + } + public function setAnnotationsLink($annotationsLink) + { + $this->annotationsLink = $annotationsLink; + } + public function getAnnotationsLink() + { + return $this->annotationsLink; + } + public function setContentVersion($contentVersion) + { + $this->contentVersion = $contentVersion; + } + public function getContentVersion() + { + return $this->contentVersion; + } + public function setDataCount($dataCount) + { + $this->dataCount = $dataCount; + } + public function getDataCount() + { + return $this->dataCount; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLayerId($layerId) + { + $this->layerId = $layerId; + } + public function getLayerId() + { + return $this->layerId; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setVolumeAnnotationsVersion($volumeAnnotationsVersion) + { + $this->volumeAnnotationsVersion = $volumeAnnotationsVersion; + } + public function getVolumeAnnotationsVersion() + { + return $this->volumeAnnotationsVersion; + } + public function setVolumeId($volumeId) + { + $this->volumeId = $volumeId; + } + public function getVolumeId() + { + return $this->volumeId; + } +} + +class Google_Service_Books_Metadata extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Books_MetadataItems'; + protected $itemsDataType = 'array'; + public $kind; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Books_MetadataItems extends Google_Model +{ + protected $internal_gapi_mappings = array( + "downloadUrl" => "download_url", + "encryptedKey" => "encrypted_key", + ); + public $downloadUrl; + public $encryptedKey; + public $language; + public $size; + public $version; + + + public function setDownloadUrl($downloadUrl) + { + $this->downloadUrl = $downloadUrl; + } + public function getDownloadUrl() + { + return $this->downloadUrl; + } + public function setEncryptedKey($encryptedKey) + { + $this->encryptedKey = $encryptedKey; + } + public function getEncryptedKey() + { + return $this->encryptedKey; + } + public function setLanguage($language) + { + $this->language = $language; + } + public function getLanguage() + { + return $this->language; + } + public function setSize($size) + { + $this->size = $size; + } + public function getSize() + { + return $this->size; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} + +class Google_Service_Books_Notification extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $body; + public $iconUrl; + public $kind; + public $linkUrl; + public $title; + + + public function setBody($body) + { + $this->body = $body; + } + public function getBody() + { + return $this->body; + } + public function setIconUrl($iconUrl) + { + $this->iconUrl = $iconUrl; + } + public function getIconUrl() + { + return $this->iconUrl; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLinkUrl($linkUrl) + { + $this->linkUrl = $linkUrl; + } + public function getLinkUrl() + { + return $this->linkUrl; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} + +class Google_Service_Books_Offers extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Books_OffersItems'; + protected $itemsDataType = 'array'; + public $kind; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Books_OffersItems extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $artUrl; + public $gservicesKey; + public $id; + protected $itemsType = 'Google_Service_Books_OffersItemsItems'; + protected $itemsDataType = 'array'; + + + public function setArtUrl($artUrl) + { + $this->artUrl = $artUrl; + } + public function getArtUrl() + { + return $this->artUrl; + } + public function setGservicesKey($gservicesKey) + { + $this->gservicesKey = $gservicesKey; + } + public function getGservicesKey() + { + return $this->gservicesKey; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } +} + +class Google_Service_Books_OffersItemsItems extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $author; + public $canonicalVolumeLink; + public $coverUrl; + public $description; + public $title; + public $volumeId; + + + public function setAuthor($author) + { + $this->author = $author; + } + public function getAuthor() + { + return $this->author; + } + public function setCanonicalVolumeLink($canonicalVolumeLink) + { + $this->canonicalVolumeLink = $canonicalVolumeLink; + } + public function getCanonicalVolumeLink() + { + return $this->canonicalVolumeLink; + } + public function setCoverUrl($coverUrl) + { + $this->coverUrl = $coverUrl; + } + public function getCoverUrl() + { + return $this->coverUrl; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setVolumeId($volumeId) + { + $this->volumeId = $volumeId; + } + public function getVolumeId() + { + return $this->volumeId; + } +} + +class Google_Service_Books_ReadingPosition extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $epubCfiPosition; + public $gbImagePosition; + public $gbTextPosition; + public $kind; + public $pdfPosition; + public $updated; + public $volumeId; + + + public function setEpubCfiPosition($epubCfiPosition) + { + $this->epubCfiPosition = $epubCfiPosition; + } + public function getEpubCfiPosition() + { + return $this->epubCfiPosition; + } + public function setGbImagePosition($gbImagePosition) + { + $this->gbImagePosition = $gbImagePosition; + } + public function getGbImagePosition() + { + return $this->gbImagePosition; + } + public function setGbTextPosition($gbTextPosition) + { + $this->gbTextPosition = $gbTextPosition; + } + public function getGbTextPosition() + { + return $this->gbTextPosition; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPdfPosition($pdfPosition) + { + $this->pdfPosition = $pdfPosition; + } + public function getPdfPosition() + { + return $this->pdfPosition; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setVolumeId($volumeId) + { + $this->volumeId = $volumeId; + } + public function getVolumeId() + { + return $this->volumeId; + } +} + +class Google_Service_Books_RequestAccess extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $concurrentAccessType = 'Google_Service_Books_ConcurrentAccessRestriction'; + protected $concurrentAccessDataType = ''; + protected $downloadAccessType = 'Google_Service_Books_DownloadAccessRestriction'; + protected $downloadAccessDataType = ''; + public $kind; + + + public function setConcurrentAccess(Google_Service_Books_ConcurrentAccessRestriction $concurrentAccess) + { + $this->concurrentAccess = $concurrentAccess; + } + public function getConcurrentAccess() + { + return $this->concurrentAccess; + } + public function setDownloadAccess(Google_Service_Books_DownloadAccessRestriction $downloadAccess) + { + $this->downloadAccess = $downloadAccess; + } + public function getDownloadAccess() + { + return $this->downloadAccess; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Books_Review extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $authorType = 'Google_Service_Books_ReviewAuthor'; + protected $authorDataType = ''; + public $content; + public $date; + public $fullTextUrl; + public $kind; + public $rating; + protected $sourceType = 'Google_Service_Books_ReviewSource'; + protected $sourceDataType = ''; + public $title; + public $type; + public $volumeId; + + + public function setAuthor(Google_Service_Books_ReviewAuthor $author) + { + $this->author = $author; + } + public function getAuthor() + { + return $this->author; + } + public function setContent($content) + { + $this->content = $content; + } + public function getContent() + { + return $this->content; + } + public function setDate($date) + { + $this->date = $date; + } + public function getDate() + { + return $this->date; + } + public function setFullTextUrl($fullTextUrl) + { + $this->fullTextUrl = $fullTextUrl; + } + public function getFullTextUrl() + { + return $this->fullTextUrl; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRating($rating) + { + $this->rating = $rating; + } + public function getRating() + { + return $this->rating; + } + public function setSource(Google_Service_Books_ReviewSource $source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setVolumeId($volumeId) + { + $this->volumeId = $volumeId; + } + public function getVolumeId() + { + return $this->volumeId; + } +} + +class Google_Service_Books_ReviewAuthor extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $displayName; + + + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } +} + +class Google_Service_Books_ReviewSource extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $description; + public $extraDescription; + public $url; + + + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setExtraDescription($extraDescription) + { + $this->extraDescription = $extraDescription; + } + public function getExtraDescription() + { + return $this->extraDescription; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_Books_Usersettings extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $notesExportType = 'Google_Service_Books_UsersettingsNotesExport'; + protected $notesExportDataType = ''; + protected $notificationType = 'Google_Service_Books_UsersettingsNotification'; + protected $notificationDataType = ''; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNotesExport(Google_Service_Books_UsersettingsNotesExport $notesExport) + { + $this->notesExport = $notesExport; + } + public function getNotesExport() + { + return $this->notesExport; + } + public function setNotification(Google_Service_Books_UsersettingsNotification $notification) + { + $this->notification = $notification; + } + public function getNotification() + { + return $this->notification; + } +} + +class Google_Service_Books_UsersettingsNotesExport extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $folderName; + public $isEnabled; + + + public function setFolderName($folderName) + { + $this->folderName = $folderName; + } + public function getFolderName() + { + return $this->folderName; + } + public function setIsEnabled($isEnabled) + { + $this->isEnabled = $isEnabled; + } + public function getIsEnabled() + { + return $this->isEnabled; + } +} + +class Google_Service_Books_UsersettingsNotification extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $moreFromAuthorsType = 'Google_Service_Books_UsersettingsNotificationMoreFromAuthors'; + protected $moreFromAuthorsDataType = ''; + + + public function setMoreFromAuthors(Google_Service_Books_UsersettingsNotificationMoreFromAuthors $moreFromAuthors) + { + $this->moreFromAuthors = $moreFromAuthors; + } + public function getMoreFromAuthors() + { + return $this->moreFromAuthors; + } +} + +class Google_Service_Books_UsersettingsNotificationMoreFromAuthors extends Google_Model +{ + protected $internal_gapi_mappings = array( + "optedState" => "opted_state", + ); + public $optedState; + + + public function setOptedState($optedState) + { + $this->optedState = $optedState; + } + public function getOptedState() + { + return $this->optedState; + } +} + +class Google_Service_Books_Volume extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $accessInfoType = 'Google_Service_Books_VolumeAccessInfo'; + protected $accessInfoDataType = ''; + public $etag; + public $id; + public $kind; + protected $layerInfoType = 'Google_Service_Books_VolumeLayerInfo'; + protected $layerInfoDataType = ''; + protected $recommendedInfoType = 'Google_Service_Books_VolumeRecommendedInfo'; + protected $recommendedInfoDataType = ''; + protected $saleInfoType = 'Google_Service_Books_VolumeSaleInfo'; + protected $saleInfoDataType = ''; + protected $searchInfoType = 'Google_Service_Books_VolumeSearchInfo'; + protected $searchInfoDataType = ''; + public $selfLink; + protected $userInfoType = 'Google_Service_Books_VolumeUserInfo'; + protected $userInfoDataType = ''; + protected $volumeInfoType = 'Google_Service_Books_VolumeVolumeInfo'; + protected $volumeInfoDataType = ''; + + + public function setAccessInfo(Google_Service_Books_VolumeAccessInfo $accessInfo) + { + $this->accessInfo = $accessInfo; + } + public function getAccessInfo() + { + return $this->accessInfo; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLayerInfo(Google_Service_Books_VolumeLayerInfo $layerInfo) + { + $this->layerInfo = $layerInfo; + } + public function getLayerInfo() + { + return $this->layerInfo; + } + public function setRecommendedInfo(Google_Service_Books_VolumeRecommendedInfo $recommendedInfo) + { + $this->recommendedInfo = $recommendedInfo; + } + public function getRecommendedInfo() + { + return $this->recommendedInfo; + } + public function setSaleInfo(Google_Service_Books_VolumeSaleInfo $saleInfo) + { + $this->saleInfo = $saleInfo; + } + public function getSaleInfo() + { + return $this->saleInfo; + } + public function setSearchInfo(Google_Service_Books_VolumeSearchInfo $searchInfo) + { + $this->searchInfo = $searchInfo; + } + public function getSearchInfo() + { + return $this->searchInfo; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setUserInfo(Google_Service_Books_VolumeUserInfo $userInfo) + { + $this->userInfo = $userInfo; + } + public function getUserInfo() + { + return $this->userInfo; + } + public function setVolumeInfo(Google_Service_Books_VolumeVolumeInfo $volumeInfo) + { + $this->volumeInfo = $volumeInfo; + } + public function getVolumeInfo() + { + return $this->volumeInfo; + } +} + +class Google_Service_Books_Volume2 extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Books_Volume'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Books_VolumeAccessInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $accessViewStatus; + public $country; + protected $downloadAccessType = 'Google_Service_Books_DownloadAccessRestriction'; + protected $downloadAccessDataType = ''; + public $driveImportedContentLink; + public $embeddable; + protected $epubType = 'Google_Service_Books_VolumeAccessInfoEpub'; + protected $epubDataType = ''; + public $explicitOfflineLicenseManagement; + protected $pdfType = 'Google_Service_Books_VolumeAccessInfoPdf'; + protected $pdfDataType = ''; + public $publicDomain; + public $quoteSharingAllowed; + public $textToSpeechPermission; + public $viewOrderUrl; + public $viewability; + public $webReaderLink; + + + public function setAccessViewStatus($accessViewStatus) + { + $this->accessViewStatus = $accessViewStatus; + } + public function getAccessViewStatus() + { + return $this->accessViewStatus; + } + public function setCountry($country) + { + $this->country = $country; + } + public function getCountry() + { + return $this->country; + } + public function setDownloadAccess(Google_Service_Books_DownloadAccessRestriction $downloadAccess) + { + $this->downloadAccess = $downloadAccess; + } + public function getDownloadAccess() + { + return $this->downloadAccess; + } + public function setDriveImportedContentLink($driveImportedContentLink) + { + $this->driveImportedContentLink = $driveImportedContentLink; + } + public function getDriveImportedContentLink() + { + return $this->driveImportedContentLink; + } + public function setEmbeddable($embeddable) + { + $this->embeddable = $embeddable; + } + public function getEmbeddable() + { + return $this->embeddable; + } + public function setEpub(Google_Service_Books_VolumeAccessInfoEpub $epub) + { + $this->epub = $epub; + } + public function getEpub() + { + return $this->epub; + } + public function setExplicitOfflineLicenseManagement($explicitOfflineLicenseManagement) + { + $this->explicitOfflineLicenseManagement = $explicitOfflineLicenseManagement; + } + public function getExplicitOfflineLicenseManagement() + { + return $this->explicitOfflineLicenseManagement; + } + public function setPdf(Google_Service_Books_VolumeAccessInfoPdf $pdf) + { + $this->pdf = $pdf; + } + public function getPdf() + { + return $this->pdf; + } + public function setPublicDomain($publicDomain) + { + $this->publicDomain = $publicDomain; + } + public function getPublicDomain() + { + return $this->publicDomain; + } + public function setQuoteSharingAllowed($quoteSharingAllowed) + { + $this->quoteSharingAllowed = $quoteSharingAllowed; + } + public function getQuoteSharingAllowed() + { + return $this->quoteSharingAllowed; + } + public function setTextToSpeechPermission($textToSpeechPermission) + { + $this->textToSpeechPermission = $textToSpeechPermission; + } + public function getTextToSpeechPermission() + { + return $this->textToSpeechPermission; + } + public function setViewOrderUrl($viewOrderUrl) + { + $this->viewOrderUrl = $viewOrderUrl; + } + public function getViewOrderUrl() + { + return $this->viewOrderUrl; + } + public function setViewability($viewability) + { + $this->viewability = $viewability; + } + public function getViewability() + { + return $this->viewability; + } + public function setWebReaderLink($webReaderLink) + { + $this->webReaderLink = $webReaderLink; + } + public function getWebReaderLink() + { + return $this->webReaderLink; + } +} + +class Google_Service_Books_VolumeAccessInfoEpub extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $acsTokenLink; + public $downloadLink; + public $isAvailable; + + + public function setAcsTokenLink($acsTokenLink) + { + $this->acsTokenLink = $acsTokenLink; + } + public function getAcsTokenLink() + { + return $this->acsTokenLink; + } + public function setDownloadLink($downloadLink) + { + $this->downloadLink = $downloadLink; + } + public function getDownloadLink() + { + return $this->downloadLink; + } + public function setIsAvailable($isAvailable) + { + $this->isAvailable = $isAvailable; + } + public function getIsAvailable() + { + return $this->isAvailable; + } +} + +class Google_Service_Books_VolumeAccessInfoPdf extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $acsTokenLink; + public $downloadLink; + public $isAvailable; + + + public function setAcsTokenLink($acsTokenLink) + { + $this->acsTokenLink = $acsTokenLink; + } + public function getAcsTokenLink() + { + return $this->acsTokenLink; + } + public function setDownloadLink($downloadLink) + { + $this->downloadLink = $downloadLink; + } + public function getDownloadLink() + { + return $this->downloadLink; + } + public function setIsAvailable($isAvailable) + { + $this->isAvailable = $isAvailable; + } + public function getIsAvailable() + { + return $this->isAvailable; + } +} + +class Google_Service_Books_VolumeLayerInfo extends Google_Collection +{ + protected $collection_key = 'layers'; + protected $internal_gapi_mappings = array( + ); + protected $layersType = 'Google_Service_Books_VolumeLayerInfoLayers'; + protected $layersDataType = 'array'; + + + public function setLayers($layers) + { + $this->layers = $layers; + } + public function getLayers() + { + return $this->layers; + } +} + +class Google_Service_Books_VolumeLayerInfoLayers extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $layerId; + public $volumeAnnotationsVersion; + + + public function setLayerId($layerId) + { + $this->layerId = $layerId; + } + public function getLayerId() + { + return $this->layerId; + } + public function setVolumeAnnotationsVersion($volumeAnnotationsVersion) + { + $this->volumeAnnotationsVersion = $volumeAnnotationsVersion; + } + public function getVolumeAnnotationsVersion() + { + return $this->volumeAnnotationsVersion; + } +} + +class Google_Service_Books_VolumeRecommendedInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $explanation; + + + public function setExplanation($explanation) + { + $this->explanation = $explanation; + } + public function getExplanation() + { + return $this->explanation; + } +} + +class Google_Service_Books_VolumeSaleInfo extends Google_Collection +{ + protected $collection_key = 'offers'; + protected $internal_gapi_mappings = array( + ); + public $buyLink; + public $country; + public $isEbook; + protected $listPriceType = 'Google_Service_Books_VolumeSaleInfoListPrice'; + protected $listPriceDataType = ''; + protected $offersType = 'Google_Service_Books_VolumeSaleInfoOffers'; + protected $offersDataType = 'array'; + public $onSaleDate; + protected $retailPriceType = 'Google_Service_Books_VolumeSaleInfoRetailPrice'; + protected $retailPriceDataType = ''; + public $saleability; + + + public function setBuyLink($buyLink) + { + $this->buyLink = $buyLink; + } + public function getBuyLink() + { + return $this->buyLink; + } + public function setCountry($country) + { + $this->country = $country; + } + public function getCountry() + { + return $this->country; + } + public function setIsEbook($isEbook) + { + $this->isEbook = $isEbook; + } + public function getIsEbook() + { + return $this->isEbook; + } + public function setListPrice(Google_Service_Books_VolumeSaleInfoListPrice $listPrice) + { + $this->listPrice = $listPrice; + } + public function getListPrice() + { + return $this->listPrice; + } + public function setOffers($offers) + { + $this->offers = $offers; + } + public function getOffers() + { + return $this->offers; + } + public function setOnSaleDate($onSaleDate) + { + $this->onSaleDate = $onSaleDate; + } + public function getOnSaleDate() + { + return $this->onSaleDate; + } + public function setRetailPrice(Google_Service_Books_VolumeSaleInfoRetailPrice $retailPrice) + { + $this->retailPrice = $retailPrice; + } + public function getRetailPrice() + { + return $this->retailPrice; + } + public function setSaleability($saleability) + { + $this->saleability = $saleability; + } + public function getSaleability() + { + return $this->saleability; + } +} + +class Google_Service_Books_VolumeSaleInfoListPrice extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $amount; + public $currencyCode; + + + public function setAmount($amount) + { + $this->amount = $amount; + } + public function getAmount() + { + return $this->amount; + } + public function setCurrencyCode($currencyCode) + { + $this->currencyCode = $currencyCode; + } + public function getCurrencyCode() + { + return $this->currencyCode; + } +} + +class Google_Service_Books_VolumeSaleInfoOffers extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $finskyOfferType; + protected $listPriceType = 'Google_Service_Books_VolumeSaleInfoOffersListPrice'; + protected $listPriceDataType = ''; + protected $rentalDurationType = 'Google_Service_Books_VolumeSaleInfoOffersRentalDuration'; + protected $rentalDurationDataType = ''; + protected $retailPriceType = 'Google_Service_Books_VolumeSaleInfoOffersRetailPrice'; + protected $retailPriceDataType = ''; + + + public function setFinskyOfferType($finskyOfferType) + { + $this->finskyOfferType = $finskyOfferType; + } + public function getFinskyOfferType() + { + return $this->finskyOfferType; + } + public function setListPrice(Google_Service_Books_VolumeSaleInfoOffersListPrice $listPrice) + { + $this->listPrice = $listPrice; + } + public function getListPrice() + { + return $this->listPrice; + } + public function setRentalDuration(Google_Service_Books_VolumeSaleInfoOffersRentalDuration $rentalDuration) + { + $this->rentalDuration = $rentalDuration; + } + public function getRentalDuration() + { + return $this->rentalDuration; + } + public function setRetailPrice(Google_Service_Books_VolumeSaleInfoOffersRetailPrice $retailPrice) + { + $this->retailPrice = $retailPrice; + } + public function getRetailPrice() + { + return $this->retailPrice; + } +} + +class Google_Service_Books_VolumeSaleInfoOffersListPrice extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $amountInMicros; + public $currencyCode; + + + public function setAmountInMicros($amountInMicros) + { + $this->amountInMicros = $amountInMicros; + } + public function getAmountInMicros() + { + return $this->amountInMicros; + } + public function setCurrencyCode($currencyCode) + { + $this->currencyCode = $currencyCode; + } + public function getCurrencyCode() + { + return $this->currencyCode; + } +} + +class Google_Service_Books_VolumeSaleInfoOffersRentalDuration extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $count; + public $unit; + + + public function setCount($count) + { + $this->count = $count; + } + public function getCount() + { + return $this->count; + } + public function setUnit($unit) + { + $this->unit = $unit; + } + public function getUnit() + { + return $this->unit; + } +} + +class Google_Service_Books_VolumeSaleInfoOffersRetailPrice extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $amountInMicros; + public $currencyCode; + + + public function setAmountInMicros($amountInMicros) + { + $this->amountInMicros = $amountInMicros; + } + public function getAmountInMicros() + { + return $this->amountInMicros; + } + public function setCurrencyCode($currencyCode) + { + $this->currencyCode = $currencyCode; + } + public function getCurrencyCode() + { + return $this->currencyCode; + } +} + +class Google_Service_Books_VolumeSaleInfoRetailPrice extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $amount; + public $currencyCode; + + + public function setAmount($amount) + { + $this->amount = $amount; + } + public function getAmount() + { + return $this->amount; + } + public function setCurrencyCode($currencyCode) + { + $this->currencyCode = $currencyCode; + } + public function getCurrencyCode() + { + return $this->currencyCode; + } +} + +class Google_Service_Books_VolumeSearchInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $textSnippet; + + + public function setTextSnippet($textSnippet) + { + $this->textSnippet = $textSnippet; + } + public function getTextSnippet() + { + return $this->textSnippet; + } +} + +class Google_Service_Books_VolumeUserInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $acquisitionType; + protected $copyType = 'Google_Service_Books_VolumeUserInfoCopy'; + protected $copyDataType = ''; + public $entitlementType; + public $isInMyBooks; + public $isPreordered; + public $isPurchased; + public $isUploaded; + protected $readingPositionType = 'Google_Service_Books_ReadingPosition'; + protected $readingPositionDataType = ''; + protected $rentalPeriodType = 'Google_Service_Books_VolumeUserInfoRentalPeriod'; + protected $rentalPeriodDataType = ''; + public $rentalState; + protected $reviewType = 'Google_Service_Books_Review'; + protected $reviewDataType = ''; + public $updated; + protected $userUploadedVolumeInfoType = 'Google_Service_Books_VolumeUserInfoUserUploadedVolumeInfo'; + protected $userUploadedVolumeInfoDataType = ''; + + + public function setAcquisitionType($acquisitionType) + { + $this->acquisitionType = $acquisitionType; + } + public function getAcquisitionType() + { + return $this->acquisitionType; + } + public function setCopy(Google_Service_Books_VolumeUserInfoCopy $copy) + { + $this->copy = $copy; + } + public function getCopy() + { + return $this->copy; + } + public function setEntitlementType($entitlementType) + { + $this->entitlementType = $entitlementType; + } + public function getEntitlementType() + { + return $this->entitlementType; + } + public function setIsInMyBooks($isInMyBooks) + { + $this->isInMyBooks = $isInMyBooks; + } + public function getIsInMyBooks() + { + return $this->isInMyBooks; + } + public function setIsPreordered($isPreordered) + { + $this->isPreordered = $isPreordered; + } + public function getIsPreordered() + { + return $this->isPreordered; + } + public function setIsPurchased($isPurchased) + { + $this->isPurchased = $isPurchased; + } + public function getIsPurchased() + { + return $this->isPurchased; + } + public function setIsUploaded($isUploaded) + { + $this->isUploaded = $isUploaded; + } + public function getIsUploaded() + { + return $this->isUploaded; + } + public function setReadingPosition(Google_Service_Books_ReadingPosition $readingPosition) + { + $this->readingPosition = $readingPosition; + } + public function getReadingPosition() + { + return $this->readingPosition; + } + public function setRentalPeriod(Google_Service_Books_VolumeUserInfoRentalPeriod $rentalPeriod) + { + $this->rentalPeriod = $rentalPeriod; + } + public function getRentalPeriod() + { + return $this->rentalPeriod; + } + public function setRentalState($rentalState) + { + $this->rentalState = $rentalState; + } + public function getRentalState() + { + return $this->rentalState; + } + public function setReview(Google_Service_Books_Review $review) + { + $this->review = $review; + } + public function getReview() + { + return $this->review; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setUserUploadedVolumeInfo(Google_Service_Books_VolumeUserInfoUserUploadedVolumeInfo $userUploadedVolumeInfo) + { + $this->userUploadedVolumeInfo = $userUploadedVolumeInfo; + } + public function getUserUploadedVolumeInfo() + { + return $this->userUploadedVolumeInfo; + } +} + +class Google_Service_Books_VolumeUserInfoCopy extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $allowedCharacterCount; + public $limitType; + public $remainingCharacterCount; + public $updated; + + + public function setAllowedCharacterCount($allowedCharacterCount) + { + $this->allowedCharacterCount = $allowedCharacterCount; + } + public function getAllowedCharacterCount() + { + return $this->allowedCharacterCount; + } + public function setLimitType($limitType) + { + $this->limitType = $limitType; + } + public function getLimitType() + { + return $this->limitType; + } + public function setRemainingCharacterCount($remainingCharacterCount) + { + $this->remainingCharacterCount = $remainingCharacterCount; + } + public function getRemainingCharacterCount() + { + return $this->remainingCharacterCount; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } +} + +class Google_Service_Books_VolumeUserInfoRentalPeriod extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $endUtcSec; + public $startUtcSec; + + + public function setEndUtcSec($endUtcSec) + { + $this->endUtcSec = $endUtcSec; + } + public function getEndUtcSec() + { + return $this->endUtcSec; + } + public function setStartUtcSec($startUtcSec) + { + $this->startUtcSec = $startUtcSec; + } + public function getStartUtcSec() + { + return $this->startUtcSec; + } +} + +class Google_Service_Books_VolumeUserInfoUserUploadedVolumeInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $processingState; + + + public function setProcessingState($processingState) + { + $this->processingState = $processingState; + } + public function getProcessingState() + { + return $this->processingState; + } +} + +class Google_Service_Books_VolumeVolumeInfo extends Google_Collection +{ + protected $collection_key = 'industryIdentifiers'; + protected $internal_gapi_mappings = array( + ); + public $allowAnonLogging; + public $authors; + public $averageRating; + public $canonicalVolumeLink; + public $categories; + public $contentVersion; + public $description; + protected $dimensionsType = 'Google_Service_Books_VolumeVolumeInfoDimensions'; + protected $dimensionsDataType = ''; + protected $imageLinksType = 'Google_Service_Books_VolumeVolumeInfoImageLinks'; + protected $imageLinksDataType = ''; + protected $industryIdentifiersType = 'Google_Service_Books_VolumeVolumeInfoIndustryIdentifiers'; + protected $industryIdentifiersDataType = 'array'; + public $infoLink; + public $language; + public $mainCategory; + public $maturityRating; + public $pageCount; + public $previewLink; + public $printType; + public $printedPageCount; + public $publishedDate; + public $publisher; + public $ratingsCount; + public $readingModes; + public $samplePageCount; + public $subtitle; + public $title; + + + public function setAllowAnonLogging($allowAnonLogging) + { + $this->allowAnonLogging = $allowAnonLogging; + } + public function getAllowAnonLogging() + { + return $this->allowAnonLogging; + } + public function setAuthors($authors) + { + $this->authors = $authors; + } + public function getAuthors() + { + return $this->authors; + } + public function setAverageRating($averageRating) + { + $this->averageRating = $averageRating; + } + public function getAverageRating() + { + return $this->averageRating; + } + public function setCanonicalVolumeLink($canonicalVolumeLink) + { + $this->canonicalVolumeLink = $canonicalVolumeLink; + } + public function getCanonicalVolumeLink() + { + return $this->canonicalVolumeLink; + } + public function setCategories($categories) + { + $this->categories = $categories; + } + public function getCategories() + { + return $this->categories; + } + public function setContentVersion($contentVersion) + { + $this->contentVersion = $contentVersion; + } + public function getContentVersion() + { + return $this->contentVersion; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDimensions(Google_Service_Books_VolumeVolumeInfoDimensions $dimensions) + { + $this->dimensions = $dimensions; + } + public function getDimensions() + { + return $this->dimensions; + } + public function setImageLinks(Google_Service_Books_VolumeVolumeInfoImageLinks $imageLinks) + { + $this->imageLinks = $imageLinks; + } + public function getImageLinks() + { + return $this->imageLinks; + } + public function setIndustryIdentifiers($industryIdentifiers) + { + $this->industryIdentifiers = $industryIdentifiers; + } + public function getIndustryIdentifiers() + { + return $this->industryIdentifiers; + } + public function setInfoLink($infoLink) + { + $this->infoLink = $infoLink; + } + public function getInfoLink() + { + return $this->infoLink; + } + public function setLanguage($language) + { + $this->language = $language; + } + public function getLanguage() + { + return $this->language; + } + public function setMainCategory($mainCategory) + { + $this->mainCategory = $mainCategory; + } + public function getMainCategory() + { + return $this->mainCategory; + } + public function setMaturityRating($maturityRating) + { + $this->maturityRating = $maturityRating; + } + public function getMaturityRating() + { + return $this->maturityRating; + } + public function setPageCount($pageCount) + { + $this->pageCount = $pageCount; + } + public function getPageCount() + { + return $this->pageCount; + } + public function setPreviewLink($previewLink) + { + $this->previewLink = $previewLink; + } + public function getPreviewLink() + { + return $this->previewLink; + } + public function setPrintType($printType) + { + $this->printType = $printType; + } + public function getPrintType() + { + return $this->printType; + } + public function setPrintedPageCount($printedPageCount) + { + $this->printedPageCount = $printedPageCount; + } + public function getPrintedPageCount() + { + return $this->printedPageCount; + } + public function setPublishedDate($publishedDate) + { + $this->publishedDate = $publishedDate; + } + public function getPublishedDate() + { + return $this->publishedDate; + } + public function setPublisher($publisher) + { + $this->publisher = $publisher; + } + public function getPublisher() + { + return $this->publisher; + } + public function setRatingsCount($ratingsCount) + { + $this->ratingsCount = $ratingsCount; + } + public function getRatingsCount() + { + return $this->ratingsCount; + } + public function setReadingModes($readingModes) + { + $this->readingModes = $readingModes; + } + public function getReadingModes() + { + return $this->readingModes; + } + public function setSamplePageCount($samplePageCount) + { + $this->samplePageCount = $samplePageCount; + } + public function getSamplePageCount() + { + return $this->samplePageCount; + } + public function setSubtitle($subtitle) + { + $this->subtitle = $subtitle; + } + public function getSubtitle() + { + return $this->subtitle; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} + +class Google_Service_Books_VolumeVolumeInfoDimensions extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $height; + public $thickness; + public $width; + + + public function setHeight($height) + { + $this->height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setThickness($thickness) + { + $this->thickness = $thickness; + } + public function getThickness() + { + return $this->thickness; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} + +class Google_Service_Books_VolumeVolumeInfoImageLinks extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $extraLarge; + public $large; + public $medium; + public $small; + public $smallThumbnail; + public $thumbnail; + + + public function setExtraLarge($extraLarge) + { + $this->extraLarge = $extraLarge; + } + public function getExtraLarge() + { + return $this->extraLarge; + } + public function setLarge($large) + { + $this->large = $large; + } + public function getLarge() + { + return $this->large; + } + public function setMedium($medium) + { + $this->medium = $medium; + } + public function getMedium() + { + return $this->medium; + } + public function setSmall($small) + { + $this->small = $small; + } + public function getSmall() + { + return $this->small; + } + public function setSmallThumbnail($smallThumbnail) + { + $this->smallThumbnail = $smallThumbnail; + } + public function getSmallThumbnail() + { + return $this->smallThumbnail; + } + public function setThumbnail($thumbnail) + { + $this->thumbnail = $thumbnail; + } + public function getThumbnail() + { + return $this->thumbnail; + } +} + +class Google_Service_Books_VolumeVolumeInfoIndustryIdentifiers extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $identifier; + public $type; + + + public function setIdentifier($identifier) + { + $this->identifier = $identifier; + } + public function getIdentifier() + { + return $this->identifier; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Books_Volumeannotation extends Google_Collection +{ + protected $collection_key = 'pageIds'; + protected $internal_gapi_mappings = array( + ); + public $annotationDataId; + public $annotationDataLink; + public $annotationType; + protected $contentRangesType = 'Google_Service_Books_VolumeannotationContentRanges'; + protected $contentRangesDataType = ''; + public $data; + public $deleted; + public $id; + public $kind; + public $layerId; + public $pageIds; + public $selectedText; + public $selfLink; + public $updated; + public $volumeId; + + + public function setAnnotationDataId($annotationDataId) + { + $this->annotationDataId = $annotationDataId; + } + public function getAnnotationDataId() + { + return $this->annotationDataId; + } + public function setAnnotationDataLink($annotationDataLink) + { + $this->annotationDataLink = $annotationDataLink; + } + public function getAnnotationDataLink() + { + return $this->annotationDataLink; + } + public function setAnnotationType($annotationType) + { + $this->annotationType = $annotationType; + } + public function getAnnotationType() + { + return $this->annotationType; + } + public function setContentRanges(Google_Service_Books_VolumeannotationContentRanges $contentRanges) + { + $this->contentRanges = $contentRanges; + } + public function getContentRanges() + { + return $this->contentRanges; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setDeleted($deleted) + { + $this->deleted = $deleted; + } + public function getDeleted() + { + return $this->deleted; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLayerId($layerId) + { + $this->layerId = $layerId; + } + public function getLayerId() + { + return $this->layerId; + } + public function setPageIds($pageIds) + { + $this->pageIds = $pageIds; + } + public function getPageIds() + { + return $this->pageIds; + } + public function setSelectedText($selectedText) + { + $this->selectedText = $selectedText; + } + public function getSelectedText() + { + return $this->selectedText; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setVolumeId($volumeId) + { + $this->volumeId = $volumeId; + } + public function getVolumeId() + { + return $this->volumeId; + } +} + +class Google_Service_Books_VolumeannotationContentRanges extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $cfiRangeType = 'Google_Service_Books_BooksAnnotationsRange'; + protected $cfiRangeDataType = ''; + public $contentVersion; + protected $gbImageRangeType = 'Google_Service_Books_BooksAnnotationsRange'; + protected $gbImageRangeDataType = ''; + protected $gbTextRangeType = 'Google_Service_Books_BooksAnnotationsRange'; + protected $gbTextRangeDataType = ''; + + + public function setCfiRange(Google_Service_Books_BooksAnnotationsRange $cfiRange) + { + $this->cfiRange = $cfiRange; + } + public function getCfiRange() + { + return $this->cfiRange; + } + public function setContentVersion($contentVersion) + { + $this->contentVersion = $contentVersion; + } + public function getContentVersion() + { + return $this->contentVersion; + } + public function setGbImageRange(Google_Service_Books_BooksAnnotationsRange $gbImageRange) + { + $this->gbImageRange = $gbImageRange; + } + public function getGbImageRange() + { + return $this->gbImageRange; + } + public function setGbTextRange(Google_Service_Books_BooksAnnotationsRange $gbTextRange) + { + $this->gbTextRange = $gbTextRange; + } + public function getGbTextRange() + { + return $this->gbTextRange; + } +} + +class Google_Service_Books_Volumeannotations extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Books_Volumeannotation'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $totalItems; + public $version; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} + +class Google_Service_Books_Volumes extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Books_Volume'; + protected $itemsDataType = 'array'; + public $kind; + public $totalItems; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Calendar.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Calendar.php new file mode 100644 index 0000000..5105c78 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Calendar.php @@ -0,0 +1,3890 @@ + + * Lets you manipulate events and other calendar data.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Calendar extends Google_Service +{ + /** Manage your calendars. */ + const CALENDAR = + "https://www.googleapis.com/auth/calendar"; + /** View your calendars. */ + const CALENDAR_READONLY = + "https://www.googleapis.com/auth/calendar.readonly"; + + public $acl; + public $calendarList; + public $calendars; + public $channels; + public $colors; + public $events; + public $freebusy; + public $settings; + + + /** + * Constructs the internal representation of the Calendar service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'calendar/v3/'; + $this->version = 'v3'; + $this->serviceName = 'calendar'; + + $this->acl = new Google_Service_Calendar_Acl_Resource( + $this, + $this->serviceName, + 'acl', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'calendars/{calendarId}/acl/{ruleId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'ruleId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'calendars/{calendarId}/acl/{ruleId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'ruleId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'calendars/{calendarId}/acl', + 'httpMethod' => 'POST', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'calendars/{calendarId}/acl', + 'httpMethod' => 'GET', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'syncToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'showDeleted' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'patch' => array( + 'path' => 'calendars/{calendarId}/acl/{ruleId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'ruleId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'calendars/{calendarId}/acl/{ruleId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'ruleId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'watch' => array( + 'path' => 'calendars/{calendarId}/acl/watch', + 'httpMethod' => 'POST', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'syncToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'showDeleted' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->calendarList = new Google_Service_Calendar_CalendarList_Resource( + $this, + $this->serviceName, + 'calendarList', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'users/me/calendarList/{calendarId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'users/me/calendarList/{calendarId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'users/me/calendarList', + 'httpMethod' => 'POST', + 'parameters' => array( + 'colorRgbFormat' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'list' => array( + 'path' => 'users/me/calendarList', + 'httpMethod' => 'GET', + 'parameters' => array( + 'syncToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'showDeleted' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'minAccessRole' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'showHidden' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'patch' => array( + 'path' => 'users/me/calendarList/{calendarId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'colorRgbFormat' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'update' => array( + 'path' => 'users/me/calendarList/{calendarId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'colorRgbFormat' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'watch' => array( + 'path' => 'users/me/calendarList/watch', + 'httpMethod' => 'POST', + 'parameters' => array( + 'syncToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'showDeleted' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'minAccessRole' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'showHidden' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->calendars = new Google_Service_Calendar_Calendars_Resource( + $this, + $this->serviceName, + 'calendars', + array( + 'methods' => array( + 'clear' => array( + 'path' => 'calendars/{calendarId}/clear', + 'httpMethod' => 'POST', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'calendars/{calendarId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'calendars/{calendarId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'calendars', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'patch' => array( + 'path' => 'calendars/{calendarId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'calendars/{calendarId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->channels = new Google_Service_Calendar_Channels_Resource( + $this, + $this->serviceName, + 'channels', + array( + 'methods' => array( + 'stop' => array( + 'path' => 'channels/stop', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->colors = new Google_Service_Calendar_Colors_Resource( + $this, + $this->serviceName, + 'colors', + array( + 'methods' => array( + 'get' => array( + 'path' => 'colors', + 'httpMethod' => 'GET', + 'parameters' => array(), + ), + ) + ) + ); + $this->events = new Google_Service_Calendar_Events_Resource( + $this, + $this->serviceName, + 'events', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'calendars/{calendarId}/events/{eventId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'eventId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sendNotifications' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'get' => array( + 'path' => 'calendars/{calendarId}/events/{eventId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'eventId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'timeZone' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'alwaysIncludeEmail' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxAttendees' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'import' => array( + 'path' => 'calendars/{calendarId}/events/import', + 'httpMethod' => 'POST', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'supportsAttachments' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'insert' => array( + 'path' => 'calendars/{calendarId}/events', + 'httpMethod' => 'POST', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'supportsAttachments' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'sendNotifications' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxAttendees' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'instances' => array( + 'path' => 'calendars/{calendarId}/events/{eventId}/instances', + 'httpMethod' => 'GET', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'eventId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'showDeleted' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'timeMax' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'alwaysIncludeEmail' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'timeMin' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'timeZone' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'originalStart' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxAttendees' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'list' => array( + 'path' => 'calendars/{calendarId}/events', + 'httpMethod' => 'GET', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'showHiddenInvitations' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'syncToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'showDeleted' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'iCalUID' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'updatedMin' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'singleEvents' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'timeMax' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'alwaysIncludeEmail' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'q' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'timeMin' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'timeZone' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'privateExtendedProperty' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'sharedExtendedProperty' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxAttendees' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'move' => array( + 'path' => 'calendars/{calendarId}/events/{eventId}/move', + 'httpMethod' => 'POST', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'eventId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'destination' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'sendNotifications' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'patch' => array( + 'path' => 'calendars/{calendarId}/events/{eventId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'eventId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sendNotifications' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'alwaysIncludeEmail' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'supportsAttachments' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxAttendees' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'quickAdd' => array( + 'path' => 'calendars/{calendarId}/events/quickAdd', + 'httpMethod' => 'POST', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'text' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'sendNotifications' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'update' => array( + 'path' => 'calendars/{calendarId}/events/{eventId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'eventId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sendNotifications' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'alwaysIncludeEmail' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'supportsAttachments' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxAttendees' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'watch' => array( + 'path' => 'calendars/{calendarId}/events/watch', + 'httpMethod' => 'POST', + 'parameters' => array( + 'calendarId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'showHiddenInvitations' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'syncToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'showDeleted' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'iCalUID' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'updatedMin' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'singleEvents' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'timeMax' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'alwaysIncludeEmail' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'q' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'timeMin' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'timeZone' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'privateExtendedProperty' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'sharedExtendedProperty' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxAttendees' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->freebusy = new Google_Service_Calendar_Freebusy_Resource( + $this, + $this->serviceName, + 'freebusy', + array( + 'methods' => array( + 'query' => array( + 'path' => 'freeBusy', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->settings = new Google_Service_Calendar_Settings_Resource( + $this, + $this->serviceName, + 'settings', + array( + 'methods' => array( + 'get' => array( + 'path' => 'users/me/settings/{setting}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'setting' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'users/me/settings', + 'httpMethod' => 'GET', + 'parameters' => array( + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'syncToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'watch' => array( + 'path' => 'users/me/settings/watch', + 'httpMethod' => 'POST', + 'parameters' => array( + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'syncToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "acl" collection of methods. + * Typical usage is: + * + * $calendarService = new Google_Service_Calendar(...); + * $acl = $calendarService->acl; + * + */ +class Google_Service_Calendar_Acl_Resource extends Google_Service_Resource +{ + + /** + * Deletes an access control rule. (acl.delete) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param string $ruleId ACL rule identifier. + * @param array $optParams Optional parameters. + */ + public function delete($calendarId, $ruleId, $optParams = array()) + { + $params = array('calendarId' => $calendarId, 'ruleId' => $ruleId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Returns an access control rule. (acl.get) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param string $ruleId ACL rule identifier. + * @param array $optParams Optional parameters. + * @return Google_Service_Calendar_AclRule + */ + public function get($calendarId, $ruleId, $optParams = array()) + { + $params = array('calendarId' => $calendarId, 'ruleId' => $ruleId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Calendar_AclRule"); + } + + /** + * Creates an access control rule. (acl.insert) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param Google_AclRule $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Calendar_AclRule + */ + public function insert($calendarId, Google_Service_Calendar_AclRule $postBody, $optParams = array()) + { + $params = array('calendarId' => $calendarId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Calendar_AclRule"); + } + + /** + * Returns the rules in the access control list for the calendar. (acl.listAcl) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Token specifying which result page to return. + * Optional. + * @opt_param string syncToken Token obtained from the nextSyncToken field + * returned on the last page of results from the previous list request. It makes + * the result of this list request contain only entries that have changed since + * then. All entries deleted since the previous list request will always be in + * the result set and it is not allowed to set showDeleted to False. If the + * syncToken expires, the server will respond with a 410 GONE response code and + * the client should clear its storage and perform a full synchronization + * without any syncToken. Learn more about incremental synchronization. + * Optional. The default is to return all entries. + * @opt_param int maxResults Maximum number of entries returned on one result + * page. By default the value is 100 entries. The page size can never be larger + * than 250 entries. Optional. + * @opt_param bool showDeleted Whether to include deleted ACLs in the result. + * Deleted ACLs are represented by role equal to "none". Deleted ACLs will + * always be included if syncToken is provided. Optional. The default is False. + * @return Google_Service_Calendar_Acl + */ + public function listAcl($calendarId, $optParams = array()) + { + $params = array('calendarId' => $calendarId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Calendar_Acl"); + } + + /** + * Updates an access control rule. This method supports patch semantics. + * (acl.patch) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param string $ruleId ACL rule identifier. + * @param Google_AclRule $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Calendar_AclRule + */ + public function patch($calendarId, $ruleId, Google_Service_Calendar_AclRule $postBody, $optParams = array()) + { + $params = array('calendarId' => $calendarId, 'ruleId' => $ruleId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Calendar_AclRule"); + } + + /** + * Updates an access control rule. (acl.update) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param string $ruleId ACL rule identifier. + * @param Google_AclRule $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Calendar_AclRule + */ + public function update($calendarId, $ruleId, Google_Service_Calendar_AclRule $postBody, $optParams = array()) + { + $params = array('calendarId' => $calendarId, 'ruleId' => $ruleId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Calendar_AclRule"); + } + + /** + * Watch for changes to ACL resources. (acl.watch) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param Google_Channel $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Token specifying which result page to return. + * Optional. + * @opt_param string syncToken Token obtained from the nextSyncToken field + * returned on the last page of results from the previous list request. It makes + * the result of this list request contain only entries that have changed since + * then. All entries deleted since the previous list request will always be in + * the result set and it is not allowed to set showDeleted to False. If the + * syncToken expires, the server will respond with a 410 GONE response code and + * the client should clear its storage and perform a full synchronization + * without any syncToken. Learn more about incremental synchronization. + * Optional. The default is to return all entries. + * @opt_param int maxResults Maximum number of entries returned on one result + * page. By default the value is 100 entries. The page size can never be larger + * than 250 entries. Optional. + * @opt_param bool showDeleted Whether to include deleted ACLs in the result. + * Deleted ACLs are represented by role equal to "none". Deleted ACLs will + * always be included if syncToken is provided. Optional. The default is False. + * @return Google_Service_Calendar_Channel + */ + public function watch($calendarId, Google_Service_Calendar_Channel $postBody, $optParams = array()) + { + $params = array('calendarId' => $calendarId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('watch', array($params), "Google_Service_Calendar_Channel"); + } +} + +/** + * The "calendarList" collection of methods. + * Typical usage is: + * + * $calendarService = new Google_Service_Calendar(...); + * $calendarList = $calendarService->calendarList; + * + */ +class Google_Service_Calendar_CalendarList_Resource extends Google_Service_Resource +{ + + /** + * Deletes an entry on the user's calendar list. (calendarList.delete) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param array $optParams Optional parameters. + */ + public function delete($calendarId, $optParams = array()) + { + $params = array('calendarId' => $calendarId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Returns an entry on the user's calendar list. (calendarList.get) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param array $optParams Optional parameters. + * @return Google_Service_Calendar_CalendarListEntry + */ + public function get($calendarId, $optParams = array()) + { + $params = array('calendarId' => $calendarId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Calendar_CalendarListEntry"); + } + + /** + * Adds an entry to the user's calendar list. (calendarList.insert) + * + * @param Google_CalendarListEntry $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool colorRgbFormat Whether to use the foregroundColor and + * backgroundColor fields to write the calendar colors (RGB). If this feature is + * used, the index-based colorId field will be set to the best matching option + * automatically. Optional. The default is False. + * @return Google_Service_Calendar_CalendarListEntry + */ + public function insert(Google_Service_Calendar_CalendarListEntry $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Calendar_CalendarListEntry"); + } + + /** + * Returns entries on the user's calendar list. (calendarList.listCalendarList) + * + * @param array $optParams Optional parameters. + * + * @opt_param string syncToken Token obtained from the nextSyncToken field + * returned on the last page of results from the previous list request. It makes + * the result of this list request contain only entries that have changed since + * then. If only read-only fields such as calendar properties or ACLs have + * changed, the entry won't be returned. All entries deleted and hidden since + * the previous list request will always be in the result set and it is not + * allowed to set showDeleted neither showHidden to False. To ensure client + * state consistency minAccessRole query parameter cannot be specified together + * with nextSyncToken. If the syncToken expires, the server will respond with a + * 410 GONE response code and the client should clear its storage and perform a + * full synchronization without any syncToken. Learn more about incremental + * synchronization. Optional. The default is to return all entries. + * @opt_param bool showDeleted Whether to include deleted calendar list entries + * in the result. Optional. The default is False. + * @opt_param string minAccessRole The minimum access role for the user in the + * returned entries. Optional. The default is no restriction. + * @opt_param int maxResults Maximum number of entries returned on one result + * page. By default the value is 100 entries. The page size can never be larger + * than 250 entries. Optional. + * @opt_param string pageToken Token specifying which result page to return. + * Optional. + * @opt_param bool showHidden Whether to show hidden entries. Optional. The + * default is False. + * @return Google_Service_Calendar_CalendarList + */ + public function listCalendarList($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Calendar_CalendarList"); + } + + /** + * Updates an entry on the user's calendar list. This method supports patch + * semantics. (calendarList.patch) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param Google_CalendarListEntry $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool colorRgbFormat Whether to use the foregroundColor and + * backgroundColor fields to write the calendar colors (RGB). If this feature is + * used, the index-based colorId field will be set to the best matching option + * automatically. Optional. The default is False. + * @return Google_Service_Calendar_CalendarListEntry + */ + public function patch($calendarId, Google_Service_Calendar_CalendarListEntry $postBody, $optParams = array()) + { + $params = array('calendarId' => $calendarId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Calendar_CalendarListEntry"); + } + + /** + * Updates an entry on the user's calendar list. (calendarList.update) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param Google_CalendarListEntry $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool colorRgbFormat Whether to use the foregroundColor and + * backgroundColor fields to write the calendar colors (RGB). If this feature is + * used, the index-based colorId field will be set to the best matching option + * automatically. Optional. The default is False. + * @return Google_Service_Calendar_CalendarListEntry + */ + public function update($calendarId, Google_Service_Calendar_CalendarListEntry $postBody, $optParams = array()) + { + $params = array('calendarId' => $calendarId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Calendar_CalendarListEntry"); + } + + /** + * Watch for changes to CalendarList resources. (calendarList.watch) + * + * @param Google_Channel $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string syncToken Token obtained from the nextSyncToken field + * returned on the last page of results from the previous list request. It makes + * the result of this list request contain only entries that have changed since + * then. If only read-only fields such as calendar properties or ACLs have + * changed, the entry won't be returned. All entries deleted and hidden since + * the previous list request will always be in the result set and it is not + * allowed to set showDeleted neither showHidden to False. To ensure client + * state consistency minAccessRole query parameter cannot be specified together + * with nextSyncToken. If the syncToken expires, the server will respond with a + * 410 GONE response code and the client should clear its storage and perform a + * full synchronization without any syncToken. Learn more about incremental + * synchronization. Optional. The default is to return all entries. + * @opt_param bool showDeleted Whether to include deleted calendar list entries + * in the result. Optional. The default is False. + * @opt_param string minAccessRole The minimum access role for the user in the + * returned entries. Optional. The default is no restriction. + * @opt_param int maxResults Maximum number of entries returned on one result + * page. By default the value is 100 entries. The page size can never be larger + * than 250 entries. Optional. + * @opt_param string pageToken Token specifying which result page to return. + * Optional. + * @opt_param bool showHidden Whether to show hidden entries. Optional. The + * default is False. + * @return Google_Service_Calendar_Channel + */ + public function watch(Google_Service_Calendar_Channel $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('watch', array($params), "Google_Service_Calendar_Channel"); + } +} + +/** + * The "calendars" collection of methods. + * Typical usage is: + * + * $calendarService = new Google_Service_Calendar(...); + * $calendars = $calendarService->calendars; + * + */ +class Google_Service_Calendar_Calendars_Resource extends Google_Service_Resource +{ + + /** + * Clears a primary calendar. This operation deletes all events associated with + * the primary calendar of an account. (calendars.clear) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param array $optParams Optional parameters. + */ + public function clear($calendarId, $optParams = array()) + { + $params = array('calendarId' => $calendarId); + $params = array_merge($params, $optParams); + return $this->call('clear', array($params)); + } + + /** + * Deletes a secondary calendar. Use calendars.clear for clearing all events on + * primary calendars. (calendars.delete) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param array $optParams Optional parameters. + */ + public function delete($calendarId, $optParams = array()) + { + $params = array('calendarId' => $calendarId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Returns metadata for a calendar. (calendars.get) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param array $optParams Optional parameters. + * @return Google_Service_Calendar_Calendar + */ + public function get($calendarId, $optParams = array()) + { + $params = array('calendarId' => $calendarId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Calendar_Calendar"); + } + + /** + * Creates a secondary calendar. (calendars.insert) + * + * @param Google_Calendar $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Calendar_Calendar + */ + public function insert(Google_Service_Calendar_Calendar $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Calendar_Calendar"); + } + + /** + * Updates metadata for a calendar. This method supports patch semantics. + * (calendars.patch) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param Google_Calendar $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Calendar_Calendar + */ + public function patch($calendarId, Google_Service_Calendar_Calendar $postBody, $optParams = array()) + { + $params = array('calendarId' => $calendarId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Calendar_Calendar"); + } + + /** + * Updates metadata for a calendar. (calendars.update) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param Google_Calendar $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Calendar_Calendar + */ + public function update($calendarId, Google_Service_Calendar_Calendar $postBody, $optParams = array()) + { + $params = array('calendarId' => $calendarId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Calendar_Calendar"); + } +} + +/** + * The "channels" collection of methods. + * Typical usage is: + * + * $calendarService = new Google_Service_Calendar(...); + * $channels = $calendarService->channels; + * + */ +class Google_Service_Calendar_Channels_Resource extends Google_Service_Resource +{ + + /** + * Stop watching resources through this channel (channels.stop) + * + * @param Google_Channel $postBody + * @param array $optParams Optional parameters. + */ + public function stop(Google_Service_Calendar_Channel $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('stop', array($params)); + } +} + +/** + * The "colors" collection of methods. + * Typical usage is: + * + * $calendarService = new Google_Service_Calendar(...); + * $colors = $calendarService->colors; + * + */ +class Google_Service_Calendar_Colors_Resource extends Google_Service_Resource +{ + + /** + * Returns the color definitions for calendars and events. (colors.get) + * + * @param array $optParams Optional parameters. + * @return Google_Service_Calendar_Colors + */ + public function get($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Calendar_Colors"); + } +} + +/** + * The "events" collection of methods. + * Typical usage is: + * + * $calendarService = new Google_Service_Calendar(...); + * $events = $calendarService->events; + * + */ +class Google_Service_Calendar_Events_Resource extends Google_Service_Resource +{ + + /** + * Deletes an event. (events.delete) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param string $eventId Event identifier. + * @param array $optParams Optional parameters. + * + * @opt_param bool sendNotifications Whether to send notifications about the + * deletion of the event. Optional. The default is False. + */ + public function delete($calendarId, $eventId, $optParams = array()) + { + $params = array('calendarId' => $calendarId, 'eventId' => $eventId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Returns an event. (events.get) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param string $eventId Event identifier. + * @param array $optParams Optional parameters. + * + * @opt_param string timeZone Time zone used in the response. Optional. The + * default is the time zone of the calendar. + * @opt_param bool alwaysIncludeEmail Whether to always include a value in the + * email field for the organizer, creator and attendees, even if no real email + * is available (i.e. a generated, non-working value will be provided). The use + * of this option is discouraged and should only be used by clients which cannot + * handle the absence of an email address value in the mentioned places. + * Optional. The default is False. + * @opt_param int maxAttendees The maximum number of attendees to include in the + * response. If there are more than the specified number of attendees, only the + * participant is returned. Optional. + * @return Google_Service_Calendar_Event + */ + public function get($calendarId, $eventId, $optParams = array()) + { + $params = array('calendarId' => $calendarId, 'eventId' => $eventId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Calendar_Event"); + } + + /** + * Imports an event. This operation is used to add a private copy of an existing + * event to a calendar. (events.import) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param Google_Event $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool supportsAttachments Whether API client performing operation + * supports event attachments. Optional. The default is False. + * @return Google_Service_Calendar_Event + */ + public function import($calendarId, Google_Service_Calendar_Event $postBody, $optParams = array()) + { + $params = array('calendarId' => $calendarId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('import', array($params), "Google_Service_Calendar_Event"); + } + + /** + * Creates an event. (events.insert) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param Google_Event $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool supportsAttachments Whether API client performing operation + * supports event attachments. Optional. The default is False. + * @opt_param bool sendNotifications Whether to send notifications about the + * creation of the new event. Optional. The default is False. + * @opt_param int maxAttendees The maximum number of attendees to include in the + * response. If there are more than the specified number of attendees, only the + * participant is returned. Optional. + * @return Google_Service_Calendar_Event + */ + public function insert($calendarId, Google_Service_Calendar_Event $postBody, $optParams = array()) + { + $params = array('calendarId' => $calendarId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Calendar_Event"); + } + + /** + * Returns instances of the specified recurring event. (events.instances) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param string $eventId Recurring event identifier. + * @param array $optParams Optional parameters. + * + * @opt_param bool showDeleted Whether to include deleted events (with status + * equals "cancelled") in the result. Cancelled instances of recurring events + * will still be included if singleEvents is False. Optional. The default is + * False. + * @opt_param string timeMax Upper bound (exclusive) for an event's start time + * to filter by. Optional. The default is not to filter by start time. Must be + * an RFC3339 timestamp with mandatory time zone offset. + * @opt_param bool alwaysIncludeEmail Whether to always include a value in the + * email field for the organizer, creator and attendees, even if no real email + * is available (i.e. a generated, non-working value will be provided). The use + * of this option is discouraged and should only be used by clients which cannot + * handle the absence of an email address value in the mentioned places. + * Optional. The default is False. + * @opt_param int maxResults Maximum number of events returned on one result + * page. By default the value is 250 events. The page size can never be larger + * than 2500 events. Optional. + * @opt_param string pageToken Token specifying which result page to return. + * Optional. + * @opt_param string timeMin Lower bound (inclusive) for an event's end time to + * filter by. Optional. The default is not to filter by end time. Must be an + * RFC3339 timestamp with mandatory time zone offset. + * @opt_param string timeZone Time zone used in the response. Optional. The + * default is the time zone of the calendar. + * @opt_param string originalStart The original start time of the instance in + * the result. Optional. + * @opt_param int maxAttendees The maximum number of attendees to include in the + * response. If there are more than the specified number of attendees, only the + * participant is returned. Optional. + * @return Google_Service_Calendar_Events + */ + public function instances($calendarId, $eventId, $optParams = array()) + { + $params = array('calendarId' => $calendarId, 'eventId' => $eventId); + $params = array_merge($params, $optParams); + return $this->call('instances', array($params), "Google_Service_Calendar_Events"); + } + + /** + * Returns events on the specified calendar. (events.listEvents) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param array $optParams Optional parameters. + * + * @opt_param string orderBy The order of the events returned in the result. + * Optional. The default is an unspecified, stable order. + * @opt_param bool showHiddenInvitations Whether to include hidden invitations + * in the result. Optional. The default is False. + * @opt_param string syncToken Token obtained from the nextSyncToken field + * returned on the last page of results from the previous list request. It makes + * the result of this list request contain only entries that have changed since + * then. All events deleted since the previous list request will always be in + * the result set and it is not allowed to set showDeleted to False. There are + * several query parameters that cannot be specified together with nextSyncToken + * to ensure consistency of the client state. + * + * These are: - iCalUID - orderBy - privateExtendedProperty - q - + * sharedExtendedProperty - timeMin - timeMax - updatedMin If the syncToken + * expires, the server will respond with a 410 GONE response code and the client + * should clear its storage and perform a full synchronization without any + * syncToken. Learn more about incremental synchronization. Optional. The + * default is to return all entries. + * @opt_param bool showDeleted Whether to include deleted events (with status + * equals "cancelled") in the result. Cancelled instances of recurring events + * (but not the underlying recurring event) will still be included if + * showDeleted and singleEvents are both False. If showDeleted and singleEvents + * are both True, only single instances of deleted events (but not the + * underlying recurring events) are returned. Optional. The default is False. + * @opt_param string iCalUID Specifies event ID in the iCalendar format to be + * included in the response. Optional. + * @opt_param string updatedMin Lower bound for an event's last modification + * time (as a RFC3339 timestamp) to filter by. When specified, entries deleted + * since this time will always be included regardless of showDeleted. Optional. + * The default is not to filter by last modification time. + * @opt_param bool singleEvents Whether to expand recurring events into + * instances and only return single one-off events and instances of recurring + * events, but not the underlying recurring events themselves. Optional. The + * default is False. + * @opt_param string timeMax Upper bound (exclusive) for an event's start time + * to filter by. Optional. The default is not to filter by start time. Must be + * an RFC3339 timestamp with mandatory time zone offset, e.g., + * 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided + * but will be ignored. + * @opt_param bool alwaysIncludeEmail Whether to always include a value in the + * email field for the organizer, creator and attendees, even if no real email + * is available (i.e. a generated, non-working value will be provided). The use + * of this option is discouraged and should only be used by clients which cannot + * handle the absence of an email address value in the mentioned places. + * Optional. The default is False. + * @opt_param int maxResults Maximum number of events returned on one result + * page. By default the value is 250 events. The page size can never be larger + * than 2500 events. Optional. + * @opt_param string q Free text search terms to find events that match these + * terms in any field, except for extended properties. Optional. + * @opt_param string pageToken Token specifying which result page to return. + * Optional. + * @opt_param string timeMin Lower bound (inclusive) for an event's end time to + * filter by. Optional. The default is not to filter by end time. Must be an + * RFC3339 timestamp with mandatory time zone offset, e.g., + * 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided + * but will be ignored. + * @opt_param string timeZone Time zone used in the response. Optional. The + * default is the time zone of the calendar. + * @opt_param string privateExtendedProperty Extended properties constraint + * specified as propertyName=value. Matches only private properties. This + * parameter might be repeated multiple times to return events that match all + * given constraints. + * @opt_param string sharedExtendedProperty Extended properties constraint + * specified as propertyName=value. Matches only shared properties. This + * parameter might be repeated multiple times to return events that match all + * given constraints. + * @opt_param int maxAttendees The maximum number of attendees to include in the + * response. If there are more than the specified number of attendees, only the + * participant is returned. Optional. + * @return Google_Service_Calendar_Events + */ + public function listEvents($calendarId, $optParams = array()) + { + $params = array('calendarId' => $calendarId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Calendar_Events"); + } + + /** + * Moves an event to another calendar, i.e. changes an event's organizer. + * (events.move) + * + * @param string $calendarId Calendar identifier of the source calendar where + * the event currently is on. + * @param string $eventId Event identifier. + * @param string $destination Calendar identifier of the target calendar where + * the event is to be moved to. + * @param array $optParams Optional parameters. + * + * @opt_param bool sendNotifications Whether to send notifications about the + * change of the event's organizer. Optional. The default is False. + * @return Google_Service_Calendar_Event + */ + public function move($calendarId, $eventId, $destination, $optParams = array()) + { + $params = array('calendarId' => $calendarId, 'eventId' => $eventId, 'destination' => $destination); + $params = array_merge($params, $optParams); + return $this->call('move', array($params), "Google_Service_Calendar_Event"); + } + + /** + * Updates an event. This method supports patch semantics. (events.patch) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param string $eventId Event identifier. + * @param Google_Event $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool sendNotifications Whether to send notifications about the + * event update (e.g. attendee's responses, title changes, etc.). Optional. The + * default is False. + * @opt_param bool alwaysIncludeEmail Whether to always include a value in the + * email field for the organizer, creator and attendees, even if no real email + * is available (i.e. a generated, non-working value will be provided). The use + * of this option is discouraged and should only be used by clients which cannot + * handle the absence of an email address value in the mentioned places. + * Optional. The default is False. + * @opt_param bool supportsAttachments Whether API client performing operation + * supports event attachments. Optional. The default is False. + * @opt_param int maxAttendees The maximum number of attendees to include in the + * response. If there are more than the specified number of attendees, only the + * participant is returned. Optional. + * @return Google_Service_Calendar_Event + */ + public function patch($calendarId, $eventId, Google_Service_Calendar_Event $postBody, $optParams = array()) + { + $params = array('calendarId' => $calendarId, 'eventId' => $eventId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Calendar_Event"); + } + + /** + * Creates an event based on a simple text string. (events.quickAdd) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param string $text The text describing the event to be created. + * @param array $optParams Optional parameters. + * + * @opt_param bool sendNotifications Whether to send notifications about the + * creation of the event. Optional. The default is False. + * @return Google_Service_Calendar_Event + */ + public function quickAdd($calendarId, $text, $optParams = array()) + { + $params = array('calendarId' => $calendarId, 'text' => $text); + $params = array_merge($params, $optParams); + return $this->call('quickAdd', array($params), "Google_Service_Calendar_Event"); + } + + /** + * Updates an event. (events.update) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param string $eventId Event identifier. + * @param Google_Event $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool sendNotifications Whether to send notifications about the + * event update (e.g. attendee's responses, title changes, etc.). Optional. The + * default is False. + * @opt_param bool alwaysIncludeEmail Whether to always include a value in the + * email field for the organizer, creator and attendees, even if no real email + * is available (i.e. a generated, non-working value will be provided). The use + * of this option is discouraged and should only be used by clients which cannot + * handle the absence of an email address value in the mentioned places. + * Optional. The default is False. + * @opt_param bool supportsAttachments Whether API client performing operation + * supports event attachments. Optional. The default is False. + * @opt_param int maxAttendees The maximum number of attendees to include in the + * response. If there are more than the specified number of attendees, only the + * participant is returned. Optional. + * @return Google_Service_Calendar_Event + */ + public function update($calendarId, $eventId, Google_Service_Calendar_Event $postBody, $optParams = array()) + { + $params = array('calendarId' => $calendarId, 'eventId' => $eventId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Calendar_Event"); + } + + /** + * Watch for changes to Events resources. (events.watch) + * + * @param string $calendarId Calendar identifier. To retrieve calendar IDs call + * the calendarList.list method. If you want to access the primary calendar of + * the currently logged in user, use the "primary" keyword. + * @param Google_Channel $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string orderBy The order of the events returned in the result. + * Optional. The default is an unspecified, stable order. + * @opt_param bool showHiddenInvitations Whether to include hidden invitations + * in the result. Optional. The default is False. + * @opt_param string syncToken Token obtained from the nextSyncToken field + * returned on the last page of results from the previous list request. It makes + * the result of this list request contain only entries that have changed since + * then. All events deleted since the previous list request will always be in + * the result set and it is not allowed to set showDeleted to False. There are + * several query parameters that cannot be specified together with nextSyncToken + * to ensure consistency of the client state. + * + * These are: - iCalUID - orderBy - privateExtendedProperty - q - + * sharedExtendedProperty - timeMin - timeMax - updatedMin If the syncToken + * expires, the server will respond with a 410 GONE response code and the client + * should clear its storage and perform a full synchronization without any + * syncToken. Learn more about incremental synchronization. Optional. The + * default is to return all entries. + * @opt_param bool showDeleted Whether to include deleted events (with status + * equals "cancelled") in the result. Cancelled instances of recurring events + * (but not the underlying recurring event) will still be included if + * showDeleted and singleEvents are both False. If showDeleted and singleEvents + * are both True, only single instances of deleted events (but not the + * underlying recurring events) are returned. Optional. The default is False. + * @opt_param string iCalUID Specifies event ID in the iCalendar format to be + * included in the response. Optional. + * @opt_param string updatedMin Lower bound for an event's last modification + * time (as a RFC3339 timestamp) to filter by. When specified, entries deleted + * since this time will always be included regardless of showDeleted. Optional. + * The default is not to filter by last modification time. + * @opt_param bool singleEvents Whether to expand recurring events into + * instances and only return single one-off events and instances of recurring + * events, but not the underlying recurring events themselves. Optional. The + * default is False. + * @opt_param string timeMax Upper bound (exclusive) for an event's start time + * to filter by. Optional. The default is not to filter by start time. Must be + * an RFC3339 timestamp with mandatory time zone offset, e.g., + * 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided + * but will be ignored. + * @opt_param bool alwaysIncludeEmail Whether to always include a value in the + * email field for the organizer, creator and attendees, even if no real email + * is available (i.e. a generated, non-working value will be provided). The use + * of this option is discouraged and should only be used by clients which cannot + * handle the absence of an email address value in the mentioned places. + * Optional. The default is False. + * @opt_param int maxResults Maximum number of events returned on one result + * page. By default the value is 250 events. The page size can never be larger + * than 2500 events. Optional. + * @opt_param string q Free text search terms to find events that match these + * terms in any field, except for extended properties. Optional. + * @opt_param string pageToken Token specifying which result page to return. + * Optional. + * @opt_param string timeMin Lower bound (inclusive) for an event's end time to + * filter by. Optional. The default is not to filter by end time. Must be an + * RFC3339 timestamp with mandatory time zone offset, e.g., + * 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided + * but will be ignored. + * @opt_param string timeZone Time zone used in the response. Optional. The + * default is the time zone of the calendar. + * @opt_param string privateExtendedProperty Extended properties constraint + * specified as propertyName=value. Matches only private properties. This + * parameter might be repeated multiple times to return events that match all + * given constraints. + * @opt_param string sharedExtendedProperty Extended properties constraint + * specified as propertyName=value. Matches only shared properties. This + * parameter might be repeated multiple times to return events that match all + * given constraints. + * @opt_param int maxAttendees The maximum number of attendees to include in the + * response. If there are more than the specified number of attendees, only the + * participant is returned. Optional. + * @return Google_Service_Calendar_Channel + */ + public function watch($calendarId, Google_Service_Calendar_Channel $postBody, $optParams = array()) + { + $params = array('calendarId' => $calendarId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('watch', array($params), "Google_Service_Calendar_Channel"); + } +} + +/** + * The "freebusy" collection of methods. + * Typical usage is: + * + * $calendarService = new Google_Service_Calendar(...); + * $freebusy = $calendarService->freebusy; + * + */ +class Google_Service_Calendar_Freebusy_Resource extends Google_Service_Resource +{ + + /** + * Returns free/busy information for a set of calendars. (freebusy.query) + * + * @param Google_FreeBusyRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Calendar_FreeBusyResponse + */ + public function query(Google_Service_Calendar_FreeBusyRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('query', array($params), "Google_Service_Calendar_FreeBusyResponse"); + } +} + +/** + * The "settings" collection of methods. + * Typical usage is: + * + * $calendarService = new Google_Service_Calendar(...); + * $settings = $calendarService->settings; + * + */ +class Google_Service_Calendar_Settings_Resource extends Google_Service_Resource +{ + + /** + * Returns a single user setting. (settings.get) + * + * @param string $setting The id of the user setting. + * @param array $optParams Optional parameters. + * @return Google_Service_Calendar_Setting + */ + public function get($setting, $optParams = array()) + { + $params = array('setting' => $setting); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Calendar_Setting"); + } + + /** + * Returns all user settings for the authenticated user. (settings.listSettings) + * + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Token specifying which result page to return. + * Optional. + * @opt_param int maxResults Maximum number of entries returned on one result + * page. By default the value is 100 entries. The page size can never be larger + * than 250 entries. Optional. + * @opt_param string syncToken Token obtained from the nextSyncToken field + * returned on the last page of results from the previous list request. It makes + * the result of this list request contain only entries that have changed since + * then. If the syncToken expires, the server will respond with a 410 GONE + * response code and the client should clear its storage and perform a full + * synchronization without any syncToken. Learn more about incremental + * synchronization. Optional. The default is to return all entries. + * @return Google_Service_Calendar_Settings + */ + public function listSettings($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Calendar_Settings"); + } + + /** + * Watch for changes to Settings resources. (settings.watch) + * + * @param Google_Channel $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Token specifying which result page to return. + * Optional. + * @opt_param int maxResults Maximum number of entries returned on one result + * page. By default the value is 100 entries. The page size can never be larger + * than 250 entries. Optional. + * @opt_param string syncToken Token obtained from the nextSyncToken field + * returned on the last page of results from the previous list request. It makes + * the result of this list request contain only entries that have changed since + * then. If the syncToken expires, the server will respond with a 410 GONE + * response code and the client should clear its storage and perform a full + * synchronization without any syncToken. Learn more about incremental + * synchronization. Optional. The default is to return all entries. + * @return Google_Service_Calendar_Channel + */ + public function watch(Google_Service_Calendar_Channel $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('watch', array($params), "Google_Service_Calendar_Channel"); + } +} + + + + +class Google_Service_Calendar_Acl extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_Calendar_AclRule'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $nextSyncToken; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setNextSyncToken($nextSyncToken) + { + $this->nextSyncToken = $nextSyncToken; + } + public function getNextSyncToken() + { + return $this->nextSyncToken; + } +} + +class Google_Service_Calendar_AclRule extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $etag; + public $id; + public $kind; + public $role; + protected $scopeType = 'Google_Service_Calendar_AclRuleScope'; + protected $scopeDataType = ''; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRole($role) + { + $this->role = $role; + } + public function getRole() + { + return $this->role; + } + public function setScope(Google_Service_Calendar_AclRuleScope $scope) + { + $this->scope = $scope; + } + public function getScope() + { + return $this->scope; + } +} + +class Google_Service_Calendar_AclRuleScope extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $type; + public $value; + + + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Calendar_Calendar extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $description; + public $etag; + public $id; + public $kind; + public $location; + public $summary; + public $timeZone; + + + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setSummary($summary) + { + $this->summary = $summary; + } + public function getSummary() + { + return $this->summary; + } + public function setTimeZone($timeZone) + { + $this->timeZone = $timeZone; + } + public function getTimeZone() + { + return $this->timeZone; + } +} + +class Google_Service_Calendar_CalendarList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_Calendar_CalendarListEntry'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $nextSyncToken; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setNextSyncToken($nextSyncToken) + { + $this->nextSyncToken = $nextSyncToken; + } + public function getNextSyncToken() + { + return $this->nextSyncToken; + } +} + +class Google_Service_Calendar_CalendarListEntry extends Google_Collection +{ + protected $collection_key = 'defaultReminders'; + protected $internal_gapi_mappings = array( + ); + public $accessRole; + public $backgroundColor; + public $colorId; + protected $defaultRemindersType = 'Google_Service_Calendar_EventReminder'; + protected $defaultRemindersDataType = 'array'; + public $deleted; + public $description; + public $etag; + public $foregroundColor; + public $hidden; + public $id; + public $kind; + public $location; + protected $notificationSettingsType = 'Google_Service_Calendar_CalendarListEntryNotificationSettings'; + protected $notificationSettingsDataType = ''; + public $primary; + public $selected; + public $summary; + public $summaryOverride; + public $timeZone; + + + public function setAccessRole($accessRole) + { + $this->accessRole = $accessRole; + } + public function getAccessRole() + { + return $this->accessRole; + } + public function setBackgroundColor($backgroundColor) + { + $this->backgroundColor = $backgroundColor; + } + public function getBackgroundColor() + { + return $this->backgroundColor; + } + public function setColorId($colorId) + { + $this->colorId = $colorId; + } + public function getColorId() + { + return $this->colorId; + } + public function setDefaultReminders($defaultReminders) + { + $this->defaultReminders = $defaultReminders; + } + public function getDefaultReminders() + { + return $this->defaultReminders; + } + public function setDeleted($deleted) + { + $this->deleted = $deleted; + } + public function getDeleted() + { + return $this->deleted; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setForegroundColor($foregroundColor) + { + $this->foregroundColor = $foregroundColor; + } + public function getForegroundColor() + { + return $this->foregroundColor; + } + public function setHidden($hidden) + { + $this->hidden = $hidden; + } + public function getHidden() + { + return $this->hidden; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setNotificationSettings(Google_Service_Calendar_CalendarListEntryNotificationSettings $notificationSettings) + { + $this->notificationSettings = $notificationSettings; + } + public function getNotificationSettings() + { + return $this->notificationSettings; + } + public function setPrimary($primary) + { + $this->primary = $primary; + } + public function getPrimary() + { + return $this->primary; + } + public function setSelected($selected) + { + $this->selected = $selected; + } + public function getSelected() + { + return $this->selected; + } + public function setSummary($summary) + { + $this->summary = $summary; + } + public function getSummary() + { + return $this->summary; + } + public function setSummaryOverride($summaryOverride) + { + $this->summaryOverride = $summaryOverride; + } + public function getSummaryOverride() + { + return $this->summaryOverride; + } + public function setTimeZone($timeZone) + { + $this->timeZone = $timeZone; + } + public function getTimeZone() + { + return $this->timeZone; + } +} + +class Google_Service_Calendar_CalendarListEntryNotificationSettings extends Google_Collection +{ + protected $collection_key = 'notifications'; + protected $internal_gapi_mappings = array( + ); + protected $notificationsType = 'Google_Service_Calendar_CalendarNotification'; + protected $notificationsDataType = 'array'; + + + public function setNotifications($notifications) + { + $this->notifications = $notifications; + } + public function getNotifications() + { + return $this->notifications; + } +} + +class Google_Service_Calendar_CalendarNotification extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $method; + public $type; + + + public function setMethod($method) + { + $this->method = $method; + } + public function getMethod() + { + return $this->method; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Calendar_Channel extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $address; + public $expiration; + public $id; + public $kind; + public $params; + public $payload; + public $resourceId; + public $resourceUri; + public $token; + public $type; + + + public function setAddress($address) + { + $this->address = $address; + } + public function getAddress() + { + return $this->address; + } + public function setExpiration($expiration) + { + $this->expiration = $expiration; + } + public function getExpiration() + { + return $this->expiration; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setParams($params) + { + $this->params = $params; + } + public function getParams() + { + return $this->params; + } + public function setPayload($payload) + { + $this->payload = $payload; + } + public function getPayload() + { + return $this->payload; + } + public function setResourceId($resourceId) + { + $this->resourceId = $resourceId; + } + public function getResourceId() + { + return $this->resourceId; + } + public function setResourceUri($resourceUri) + { + $this->resourceUri = $resourceUri; + } + public function getResourceUri() + { + return $this->resourceUri; + } + public function setToken($token) + { + $this->token = $token; + } + public function getToken() + { + return $this->token; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Calendar_ChannelParams extends Google_Model +{ +} + +class Google_Service_Calendar_ColorDefinition extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $background; + public $foreground; + + + public function setBackground($background) + { + $this->background = $background; + } + public function getBackground() + { + return $this->background; + } + public function setForeground($foreground) + { + $this->foreground = $foreground; + } + public function getForeground() + { + return $this->foreground; + } +} + +class Google_Service_Calendar_Colors extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $calendarType = 'Google_Service_Calendar_ColorDefinition'; + protected $calendarDataType = 'map'; + protected $eventType = 'Google_Service_Calendar_ColorDefinition'; + protected $eventDataType = 'map'; + public $kind; + public $updated; + + + public function setCalendar($calendar) + { + $this->calendar = $calendar; + } + public function getCalendar() + { + return $this->calendar; + } + public function setEvent($event) + { + $this->event = $event; + } + public function getEvent() + { + return $this->event; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } +} + +class Google_Service_Calendar_ColorsCalendar extends Google_Model +{ +} + +class Google_Service_Calendar_ColorsEvent extends Google_Model +{ +} + +class Google_Service_Calendar_Error extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $domain; + public $reason; + + + public function setDomain($domain) + { + $this->domain = $domain; + } + public function getDomain() + { + return $this->domain; + } + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } +} + +class Google_Service_Calendar_Event extends Google_Collection +{ + protected $collection_key = 'recurrence'; + protected $internal_gapi_mappings = array( + ); + public $anyoneCanAddSelf; + protected $attachmentsType = 'Google_Service_Calendar_EventAttachment'; + protected $attachmentsDataType = 'array'; + protected $attendeesType = 'Google_Service_Calendar_EventAttendee'; + protected $attendeesDataType = 'array'; + public $attendeesOmitted; + public $colorId; + public $created; + protected $creatorType = 'Google_Service_Calendar_EventCreator'; + protected $creatorDataType = ''; + public $description; + protected $endType = 'Google_Service_Calendar_EventDateTime'; + protected $endDataType = ''; + public $endTimeUnspecified; + public $etag; + protected $extendedPropertiesType = 'Google_Service_Calendar_EventExtendedProperties'; + protected $extendedPropertiesDataType = ''; + protected $gadgetType = 'Google_Service_Calendar_EventGadget'; + protected $gadgetDataType = ''; + public $guestsCanInviteOthers; + public $guestsCanModify; + public $guestsCanSeeOtherGuests; + public $hangoutLink; + public $htmlLink; + public $iCalUID; + public $id; + public $kind; + public $location; + public $locked; + protected $organizerType = 'Google_Service_Calendar_EventOrganizer'; + protected $organizerDataType = ''; + protected $originalStartTimeType = 'Google_Service_Calendar_EventDateTime'; + protected $originalStartTimeDataType = ''; + public $privateCopy; + public $recurrence; + public $recurringEventId; + protected $remindersType = 'Google_Service_Calendar_EventReminders'; + protected $remindersDataType = ''; + public $sequence; + protected $sourceType = 'Google_Service_Calendar_EventSource'; + protected $sourceDataType = ''; + protected $startType = 'Google_Service_Calendar_EventDateTime'; + protected $startDataType = ''; + public $status; + public $summary; + public $transparency; + public $updated; + public $visibility; + + + public function setAnyoneCanAddSelf($anyoneCanAddSelf) + { + $this->anyoneCanAddSelf = $anyoneCanAddSelf; + } + public function getAnyoneCanAddSelf() + { + return $this->anyoneCanAddSelf; + } + public function setAttachments($attachments) + { + $this->attachments = $attachments; + } + public function getAttachments() + { + return $this->attachments; + } + public function setAttendees($attendees) + { + $this->attendees = $attendees; + } + public function getAttendees() + { + return $this->attendees; + } + public function setAttendeesOmitted($attendeesOmitted) + { + $this->attendeesOmitted = $attendeesOmitted; + } + public function getAttendeesOmitted() + { + return $this->attendeesOmitted; + } + public function setColorId($colorId) + { + $this->colorId = $colorId; + } + public function getColorId() + { + return $this->colorId; + } + public function setCreated($created) + { + $this->created = $created; + } + public function getCreated() + { + return $this->created; + } + public function setCreator(Google_Service_Calendar_EventCreator $creator) + { + $this->creator = $creator; + } + public function getCreator() + { + return $this->creator; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEnd(Google_Service_Calendar_EventDateTime $end) + { + $this->end = $end; + } + public function getEnd() + { + return $this->end; + } + public function setEndTimeUnspecified($endTimeUnspecified) + { + $this->endTimeUnspecified = $endTimeUnspecified; + } + public function getEndTimeUnspecified() + { + return $this->endTimeUnspecified; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setExtendedProperties(Google_Service_Calendar_EventExtendedProperties $extendedProperties) + { + $this->extendedProperties = $extendedProperties; + } + public function getExtendedProperties() + { + return $this->extendedProperties; + } + public function setGadget(Google_Service_Calendar_EventGadget $gadget) + { + $this->gadget = $gadget; + } + public function getGadget() + { + return $this->gadget; + } + public function setGuestsCanInviteOthers($guestsCanInviteOthers) + { + $this->guestsCanInviteOthers = $guestsCanInviteOthers; + } + public function getGuestsCanInviteOthers() + { + return $this->guestsCanInviteOthers; + } + public function setGuestsCanModify($guestsCanModify) + { + $this->guestsCanModify = $guestsCanModify; + } + public function getGuestsCanModify() + { + return $this->guestsCanModify; + } + public function setGuestsCanSeeOtherGuests($guestsCanSeeOtherGuests) + { + $this->guestsCanSeeOtherGuests = $guestsCanSeeOtherGuests; + } + public function getGuestsCanSeeOtherGuests() + { + return $this->guestsCanSeeOtherGuests; + } + public function setHangoutLink($hangoutLink) + { + $this->hangoutLink = $hangoutLink; + } + public function getHangoutLink() + { + return $this->hangoutLink; + } + public function setHtmlLink($htmlLink) + { + $this->htmlLink = $htmlLink; + } + public function getHtmlLink() + { + return $this->htmlLink; + } + public function setICalUID($iCalUID) + { + $this->iCalUID = $iCalUID; + } + public function getICalUID() + { + return $this->iCalUID; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setLocked($locked) + { + $this->locked = $locked; + } + public function getLocked() + { + return $this->locked; + } + public function setOrganizer(Google_Service_Calendar_EventOrganizer $organizer) + { + $this->organizer = $organizer; + } + public function getOrganizer() + { + return $this->organizer; + } + public function setOriginalStartTime(Google_Service_Calendar_EventDateTime $originalStartTime) + { + $this->originalStartTime = $originalStartTime; + } + public function getOriginalStartTime() + { + return $this->originalStartTime; + } + public function setPrivateCopy($privateCopy) + { + $this->privateCopy = $privateCopy; + } + public function getPrivateCopy() + { + return $this->privateCopy; + } + public function setRecurrence($recurrence) + { + $this->recurrence = $recurrence; + } + public function getRecurrence() + { + return $this->recurrence; + } + public function setRecurringEventId($recurringEventId) + { + $this->recurringEventId = $recurringEventId; + } + public function getRecurringEventId() + { + return $this->recurringEventId; + } + public function setReminders(Google_Service_Calendar_EventReminders $reminders) + { + $this->reminders = $reminders; + } + public function getReminders() + { + return $this->reminders; + } + public function setSequence($sequence) + { + $this->sequence = $sequence; + } + public function getSequence() + { + return $this->sequence; + } + public function setSource(Google_Service_Calendar_EventSource $source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } + public function setStart(Google_Service_Calendar_EventDateTime $start) + { + $this->start = $start; + } + public function getStart() + { + return $this->start; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setSummary($summary) + { + $this->summary = $summary; + } + public function getSummary() + { + return $this->summary; + } + public function setTransparency($transparency) + { + $this->transparency = $transparency; + } + public function getTransparency() + { + return $this->transparency; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setVisibility($visibility) + { + $this->visibility = $visibility; + } + public function getVisibility() + { + return $this->visibility; + } +} + +class Google_Service_Calendar_EventAttachment extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $fileId; + public $fileUrl; + public $iconLink; + public $mimeType; + public $title; + + + public function setFileId($fileId) + { + $this->fileId = $fileId; + } + public function getFileId() + { + return $this->fileId; + } + public function setFileUrl($fileUrl) + { + $this->fileUrl = $fileUrl; + } + public function getFileUrl() + { + return $this->fileUrl; + } + public function setIconLink($iconLink) + { + $this->iconLink = $iconLink; + } + public function getIconLink() + { + return $this->iconLink; + } + public function setMimeType($mimeType) + { + $this->mimeType = $mimeType; + } + public function getMimeType() + { + return $this->mimeType; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} + +class Google_Service_Calendar_EventAttendee extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $additionalGuests; + public $comment; + public $displayName; + public $email; + public $id; + public $optional; + public $organizer; + public $resource; + public $responseStatus; + public $self; + + + public function setAdditionalGuests($additionalGuests) + { + $this->additionalGuests = $additionalGuests; + } + public function getAdditionalGuests() + { + return $this->additionalGuests; + } + public function setComment($comment) + { + $this->comment = $comment; + } + public function getComment() + { + return $this->comment; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setOptional($optional) + { + $this->optional = $optional; + } + public function getOptional() + { + return $this->optional; + } + public function setOrganizer($organizer) + { + $this->organizer = $organizer; + } + public function getOrganizer() + { + return $this->organizer; + } + public function setResource($resource) + { + $this->resource = $resource; + } + public function getResource() + { + return $this->resource; + } + public function setResponseStatus($responseStatus) + { + $this->responseStatus = $responseStatus; + } + public function getResponseStatus() + { + return $this->responseStatus; + } + public function setSelf($self) + { + $this->self = $self; + } + public function getSelf() + { + return $this->self; + } +} + +class Google_Service_Calendar_EventCreator extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $displayName; + public $email; + public $id; + public $self; + + + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setSelf($self) + { + $this->self = $self; + } + public function getSelf() + { + return $this->self; + } +} + +class Google_Service_Calendar_EventDateTime extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $date; + public $dateTime; + public $timeZone; + + + public function setDate($date) + { + $this->date = $date; + } + public function getDate() + { + return $this->date; + } + public function setDateTime($dateTime) + { + $this->dateTime = $dateTime; + } + public function getDateTime() + { + return $this->dateTime; + } + public function setTimeZone($timeZone) + { + $this->timeZone = $timeZone; + } + public function getTimeZone() + { + return $this->timeZone; + } +} + +class Google_Service_Calendar_EventExtendedProperties extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $private; + public $shared; + + + public function setPrivate($private) + { + $this->private = $private; + } + public function getPrivate() + { + return $this->private; + } + public function setShared($shared) + { + $this->shared = $shared; + } + public function getShared() + { + return $this->shared; + } +} + +class Google_Service_Calendar_EventExtendedPropertiesPrivate extends Google_Model +{ +} + +class Google_Service_Calendar_EventExtendedPropertiesShared extends Google_Model +{ +} + +class Google_Service_Calendar_EventGadget extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $display; + public $height; + public $iconLink; + public $link; + public $preferences; + public $title; + public $type; + public $width; + + + public function setDisplay($display) + { + $this->display = $display; + } + public function getDisplay() + { + return $this->display; + } + public function setHeight($height) + { + $this->height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setIconLink($iconLink) + { + $this->iconLink = $iconLink; + } + public function getIconLink() + { + return $this->iconLink; + } + public function setLink($link) + { + $this->link = $link; + } + public function getLink() + { + return $this->link; + } + public function setPreferences($preferences) + { + $this->preferences = $preferences; + } + public function getPreferences() + { + return $this->preferences; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} + +class Google_Service_Calendar_EventGadgetPreferences extends Google_Model +{ +} + +class Google_Service_Calendar_EventOrganizer extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $displayName; + public $email; + public $id; + public $self; + + + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setSelf($self) + { + $this->self = $self; + } + public function getSelf() + { + return $this->self; + } +} + +class Google_Service_Calendar_EventReminder extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $method; + public $minutes; + + + public function setMethod($method) + { + $this->method = $method; + } + public function getMethod() + { + return $this->method; + } + public function setMinutes($minutes) + { + $this->minutes = $minutes; + } + public function getMinutes() + { + return $this->minutes; + } +} + +class Google_Service_Calendar_EventReminders extends Google_Collection +{ + protected $collection_key = 'overrides'; + protected $internal_gapi_mappings = array( + ); + protected $overridesType = 'Google_Service_Calendar_EventReminder'; + protected $overridesDataType = 'array'; + public $useDefault; + + + public function setOverrides($overrides) + { + $this->overrides = $overrides; + } + public function getOverrides() + { + return $this->overrides; + } + public function setUseDefault($useDefault) + { + $this->useDefault = $useDefault; + } + public function getUseDefault() + { + return $this->useDefault; + } +} + +class Google_Service_Calendar_EventSource extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $title; + public $url; + + + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_Calendar_Events extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $accessRole; + protected $defaultRemindersType = 'Google_Service_Calendar_EventReminder'; + protected $defaultRemindersDataType = 'array'; + public $description; + public $etag; + protected $itemsType = 'Google_Service_Calendar_Event'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $nextSyncToken; + public $summary; + public $timeZone; + public $updated; + + + public function setAccessRole($accessRole) + { + $this->accessRole = $accessRole; + } + public function getAccessRole() + { + return $this->accessRole; + } + public function setDefaultReminders($defaultReminders) + { + $this->defaultReminders = $defaultReminders; + } + public function getDefaultReminders() + { + return $this->defaultReminders; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setNextSyncToken($nextSyncToken) + { + $this->nextSyncToken = $nextSyncToken; + } + public function getNextSyncToken() + { + return $this->nextSyncToken; + } + public function setSummary($summary) + { + $this->summary = $summary; + } + public function getSummary() + { + return $this->summary; + } + public function setTimeZone($timeZone) + { + $this->timeZone = $timeZone; + } + public function getTimeZone() + { + return $this->timeZone; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } +} + +class Google_Service_Calendar_FreeBusyCalendar extends Google_Collection +{ + protected $collection_key = 'errors'; + protected $internal_gapi_mappings = array( + ); + protected $busyType = 'Google_Service_Calendar_TimePeriod'; + protected $busyDataType = 'array'; + protected $errorsType = 'Google_Service_Calendar_Error'; + protected $errorsDataType = 'array'; + + + public function setBusy($busy) + { + $this->busy = $busy; + } + public function getBusy() + { + return $this->busy; + } + public function setErrors($errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } +} + +class Google_Service_Calendar_FreeBusyGroup extends Google_Collection +{ + protected $collection_key = 'errors'; + protected $internal_gapi_mappings = array( + ); + public $calendars; + protected $errorsType = 'Google_Service_Calendar_Error'; + protected $errorsDataType = 'array'; + + + public function setCalendars($calendars) + { + $this->calendars = $calendars; + } + public function getCalendars() + { + return $this->calendars; + } + public function setErrors($errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } +} + +class Google_Service_Calendar_FreeBusyRequest extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $calendarExpansionMax; + public $groupExpansionMax; + protected $itemsType = 'Google_Service_Calendar_FreeBusyRequestItem'; + protected $itemsDataType = 'array'; + public $timeMax; + public $timeMin; + public $timeZone; + + + public function setCalendarExpansionMax($calendarExpansionMax) + { + $this->calendarExpansionMax = $calendarExpansionMax; + } + public function getCalendarExpansionMax() + { + return $this->calendarExpansionMax; + } + public function setGroupExpansionMax($groupExpansionMax) + { + $this->groupExpansionMax = $groupExpansionMax; + } + public function getGroupExpansionMax() + { + return $this->groupExpansionMax; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setTimeMax($timeMax) + { + $this->timeMax = $timeMax; + } + public function getTimeMax() + { + return $this->timeMax; + } + public function setTimeMin($timeMin) + { + $this->timeMin = $timeMin; + } + public function getTimeMin() + { + return $this->timeMin; + } + public function setTimeZone($timeZone) + { + $this->timeZone = $timeZone; + } + public function getTimeZone() + { + return $this->timeZone; + } +} + +class Google_Service_Calendar_FreeBusyRequestItem extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } +} + +class Google_Service_Calendar_FreeBusyResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $calendarsType = 'Google_Service_Calendar_FreeBusyCalendar'; + protected $calendarsDataType = 'map'; + protected $groupsType = 'Google_Service_Calendar_FreeBusyGroup'; + protected $groupsDataType = 'map'; + public $kind; + public $timeMax; + public $timeMin; + + + public function setCalendars($calendars) + { + $this->calendars = $calendars; + } + public function getCalendars() + { + return $this->calendars; + } + public function setGroups($groups) + { + $this->groups = $groups; + } + public function getGroups() + { + return $this->groups; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setTimeMax($timeMax) + { + $this->timeMax = $timeMax; + } + public function getTimeMax() + { + return $this->timeMax; + } + public function setTimeMin($timeMin) + { + $this->timeMin = $timeMin; + } + public function getTimeMin() + { + return $this->timeMin; + } +} + +class Google_Service_Calendar_FreeBusyResponseCalendars extends Google_Model +{ +} + +class Google_Service_Calendar_FreeBusyResponseGroups extends Google_Model +{ +} + +class Google_Service_Calendar_Setting extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $etag; + public $id; + public $kind; + public $value; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Calendar_Settings extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_Calendar_Setting'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $nextSyncToken; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setNextSyncToken($nextSyncToken) + { + $this->nextSyncToken = $nextSyncToken; + } + public function getNextSyncToken() + { + return $this->nextSyncToken; + } +} + +class Google_Service_Calendar_TimePeriod extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $end; + public $start; + + + public function setEnd($end) + { + $this->end = $end; + } + public function getEnd() + { + return $this->end; + } + public function setStart($start) + { + $this->start = $start; + } + public function getStart() + { + return $this->start; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/CivicInfo.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/CivicInfo.php new file mode 100644 index 0000000..683cefe --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/CivicInfo.php @@ -0,0 +1,1650 @@ + + * An API for accessing civic information.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_CivicInfo extends Google_Service +{ + + + public $divisions; + public $elections; + public $representatives; + + + /** + * Constructs the internal representation of the CivicInfo service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'civicinfo/v2/'; + $this->version = 'v2'; + $this->serviceName = 'civicinfo'; + + $this->divisions = new Google_Service_CivicInfo_Divisions_Resource( + $this, + $this->serviceName, + 'divisions', + array( + 'methods' => array( + 'search' => array( + 'path' => 'divisions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'query' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->elections = new Google_Service_CivicInfo_Elections_Resource( + $this, + $this->serviceName, + 'elections', + array( + 'methods' => array( + 'electionQuery' => array( + 'path' => 'elections', + 'httpMethod' => 'GET', + 'parameters' => array(), + ),'voterInfoQuery' => array( + 'path' => 'voterinfo', + 'httpMethod' => 'GET', + 'parameters' => array( + 'address' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'electionId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'officialOnly' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->representatives = new Google_Service_CivicInfo_Representatives_Resource( + $this, + $this->serviceName, + 'representatives', + array( + 'methods' => array( + 'representativeInfoByAddress' => array( + 'path' => 'representatives', + 'httpMethod' => 'GET', + 'parameters' => array( + 'includeOffices' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'levels' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'roles' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'address' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'representativeInfoByDivision' => array( + 'path' => 'representatives/{ocdId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'ocdId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'levels' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'recursive' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'roles' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "divisions" collection of methods. + * Typical usage is: + * + * $civicinfoService = new Google_Service_CivicInfo(...); + * $divisions = $civicinfoService->divisions; + * + */ +class Google_Service_CivicInfo_Divisions_Resource extends Google_Service_Resource +{ + + /** + * Searches for political divisions by their natural name or OCD ID. + * (divisions.search) + * + * @param array $optParams Optional parameters. + * + * @opt_param string query The search query. Queries can cover any parts of a + * OCD ID or a human readable division name. All words given in the query are + * treated as required patterns. In addition to that, most query operators of + * the Apache Lucene library are supported. See + * http://lucene.apache.org/core/2_9_4/queryparsersyntax.html + * @return Google_Service_CivicInfo_DivisionSearchResponse + */ + public function search($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('search', array($params), "Google_Service_CivicInfo_DivisionSearchResponse"); + } +} + +/** + * The "elections" collection of methods. + * Typical usage is: + * + * $civicinfoService = new Google_Service_CivicInfo(...); + * $elections = $civicinfoService->elections; + * + */ +class Google_Service_CivicInfo_Elections_Resource extends Google_Service_Resource +{ + + /** + * List of available elections to query. (elections.electionQuery) + * + * @param array $optParams Optional parameters. + * @return Google_Service_CivicInfo_ElectionsQueryResponse + */ + public function electionQuery($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('electionQuery', array($params), "Google_Service_CivicInfo_ElectionsQueryResponse"); + } + + /** + * Looks up information relevant to a voter based on the voter's registered + * address. (elections.voterInfoQuery) + * + * @param string $address The registered address of the voter to look up. + * @param array $optParams Optional parameters. + * + * @opt_param string electionId The unique ID of the election to look up. A list + * of election IDs can be obtained at + * https://www.googleapis.com/civicinfo/{version}/elections + * @opt_param bool officialOnly If set to true, only data from official state + * sources will be returned. + * @return Google_Service_CivicInfo_VoterInfoResponse + */ + public function voterInfoQuery($address, $optParams = array()) + { + $params = array('address' => $address); + $params = array_merge($params, $optParams); + return $this->call('voterInfoQuery', array($params), "Google_Service_CivicInfo_VoterInfoResponse"); + } +} + +/** + * The "representatives" collection of methods. + * Typical usage is: + * + * $civicinfoService = new Google_Service_CivicInfo(...); + * $representatives = $civicinfoService->representatives; + * + */ +class Google_Service_CivicInfo_Representatives_Resource extends Google_Service_Resource +{ + + /** + * Looks up political geography and representative information for a single + * address. (representatives.representativeInfoByAddress) + * + * @param array $optParams Optional parameters. + * + * @opt_param bool includeOffices Whether to return information about offices + * and officials. If false, only the top-level district information will be + * returned. + * @opt_param string levels A list of office levels to filter by. Only offices + * that serve at least one of these levels will be returned. Divisions that + * don't contain a matching office will not be returned. + * @opt_param string roles A list of office roles to filter by. Only offices + * fulfilling one of these roles will be returned. Divisions that don't contain + * a matching office will not be returned. + * @opt_param string address The address to look up. May only be specified if + * the field ocdId is not given in the URL. + * @return Google_Service_CivicInfo_RepresentativeInfoResponse + */ + public function representativeInfoByAddress($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('representativeInfoByAddress', array($params), "Google_Service_CivicInfo_RepresentativeInfoResponse"); + } + + /** + * Looks up representative information for a single geographic division. + * (representatives.representativeInfoByDivision) + * + * @param string $ocdId The Open Civic Data division identifier of the division + * to look up. + * @param array $optParams Optional parameters. + * + * @opt_param string levels A list of office levels to filter by. Only offices + * that serve at least one of these levels will be returned. Divisions that + * don't contain a matching office will not be returned. + * @opt_param bool recursive If true, information about all divisions contained + * in the division requested will be included as well. For example, if querying + * ocd-division/country:us/district:dc, this would also return all DC's wards + * and ANCs. + * @opt_param string roles A list of office roles to filter by. Only offices + * fulfilling one of these roles will be returned. Divisions that don't contain + * a matching office will not be returned. + * @return Google_Service_CivicInfo_RepresentativeInfoData + */ + public function representativeInfoByDivision($ocdId, $optParams = array()) + { + $params = array('ocdId' => $ocdId); + $params = array_merge($params, $optParams); + return $this->call('representativeInfoByDivision', array($params), "Google_Service_CivicInfo_RepresentativeInfoData"); + } +} + + + + +class Google_Service_CivicInfo_AdministrationRegion extends Google_Collection +{ + protected $collection_key = 'sources'; + protected $internal_gapi_mappings = array( + "localJurisdiction" => "local_jurisdiction", + ); + protected $electionAdministrationBodyType = 'Google_Service_CivicInfo_AdministrativeBody'; + protected $electionAdministrationBodyDataType = ''; + public $id; + protected $localJurisdictionType = 'Google_Service_CivicInfo_AdministrationRegion'; + protected $localJurisdictionDataType = ''; + public $name; + protected $sourcesType = 'Google_Service_CivicInfo_Source'; + protected $sourcesDataType = 'array'; + + + public function setElectionAdministrationBody(Google_Service_CivicInfo_AdministrativeBody $electionAdministrationBody) + { + $this->electionAdministrationBody = $electionAdministrationBody; + } + public function getElectionAdministrationBody() + { + return $this->electionAdministrationBody; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setLocalJurisdiction(Google_Service_CivicInfo_AdministrationRegion $localJurisdiction) + { + $this->localJurisdiction = $localJurisdiction; + } + public function getLocalJurisdiction() + { + return $this->localJurisdiction; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSources($sources) + { + $this->sources = $sources; + } + public function getSources() + { + return $this->sources; + } +} + +class Google_Service_CivicInfo_AdministrativeBody extends Google_Collection +{ + protected $collection_key = 'voter_services'; + protected $internal_gapi_mappings = array( + "voterServices" => "voter_services", + ); + public $absenteeVotingInfoUrl; + public $ballotInfoUrl; + protected $correspondenceAddressType = 'Google_Service_CivicInfo_SimpleAddressType'; + protected $correspondenceAddressDataType = ''; + public $electionInfoUrl; + protected $electionOfficialsType = 'Google_Service_CivicInfo_ElectionOfficial'; + protected $electionOfficialsDataType = 'array'; + public $electionRegistrationConfirmationUrl; + public $electionRegistrationUrl; + public $electionRulesUrl; + public $hoursOfOperation; + public $name; + protected $physicalAddressType = 'Google_Service_CivicInfo_SimpleAddressType'; + protected $physicalAddressDataType = ''; + public $voterServices; + public $votingLocationFinderUrl; + + + public function setAbsenteeVotingInfoUrl($absenteeVotingInfoUrl) + { + $this->absenteeVotingInfoUrl = $absenteeVotingInfoUrl; + } + public function getAbsenteeVotingInfoUrl() + { + return $this->absenteeVotingInfoUrl; + } + public function setBallotInfoUrl($ballotInfoUrl) + { + $this->ballotInfoUrl = $ballotInfoUrl; + } + public function getBallotInfoUrl() + { + return $this->ballotInfoUrl; + } + public function setCorrespondenceAddress(Google_Service_CivicInfo_SimpleAddressType $correspondenceAddress) + { + $this->correspondenceAddress = $correspondenceAddress; + } + public function getCorrespondenceAddress() + { + return $this->correspondenceAddress; + } + public function setElectionInfoUrl($electionInfoUrl) + { + $this->electionInfoUrl = $electionInfoUrl; + } + public function getElectionInfoUrl() + { + return $this->electionInfoUrl; + } + public function setElectionOfficials($electionOfficials) + { + $this->electionOfficials = $electionOfficials; + } + public function getElectionOfficials() + { + return $this->electionOfficials; + } + public function setElectionRegistrationConfirmationUrl($electionRegistrationConfirmationUrl) + { + $this->electionRegistrationConfirmationUrl = $electionRegistrationConfirmationUrl; + } + public function getElectionRegistrationConfirmationUrl() + { + return $this->electionRegistrationConfirmationUrl; + } + public function setElectionRegistrationUrl($electionRegistrationUrl) + { + $this->electionRegistrationUrl = $electionRegistrationUrl; + } + public function getElectionRegistrationUrl() + { + return $this->electionRegistrationUrl; + } + public function setElectionRulesUrl($electionRulesUrl) + { + $this->electionRulesUrl = $electionRulesUrl; + } + public function getElectionRulesUrl() + { + return $this->electionRulesUrl; + } + public function setHoursOfOperation($hoursOfOperation) + { + $this->hoursOfOperation = $hoursOfOperation; + } + public function getHoursOfOperation() + { + return $this->hoursOfOperation; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPhysicalAddress(Google_Service_CivicInfo_SimpleAddressType $physicalAddress) + { + $this->physicalAddress = $physicalAddress; + } + public function getPhysicalAddress() + { + return $this->physicalAddress; + } + public function setVoterServices($voterServices) + { + $this->voterServices = $voterServices; + } + public function getVoterServices() + { + return $this->voterServices; + } + public function setVotingLocationFinderUrl($votingLocationFinderUrl) + { + $this->votingLocationFinderUrl = $votingLocationFinderUrl; + } + public function getVotingLocationFinderUrl() + { + return $this->votingLocationFinderUrl; + } +} + +class Google_Service_CivicInfo_Candidate extends Google_Collection +{ + protected $collection_key = 'channels'; + protected $internal_gapi_mappings = array( + ); + public $candidateUrl; + protected $channelsType = 'Google_Service_CivicInfo_Channel'; + protected $channelsDataType = 'array'; + public $email; + public $name; + public $orderOnBallot; + public $party; + public $phone; + public $photoUrl; + + + public function setCandidateUrl($candidateUrl) + { + $this->candidateUrl = $candidateUrl; + } + public function getCandidateUrl() + { + return $this->candidateUrl; + } + public function setChannels($channels) + { + $this->channels = $channels; + } + public function getChannels() + { + return $this->channels; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOrderOnBallot($orderOnBallot) + { + $this->orderOnBallot = $orderOnBallot; + } + public function getOrderOnBallot() + { + return $this->orderOnBallot; + } + public function setParty($party) + { + $this->party = $party; + } + public function getParty() + { + return $this->party; + } + public function setPhone($phone) + { + $this->phone = $phone; + } + public function getPhone() + { + return $this->phone; + } + public function setPhotoUrl($photoUrl) + { + $this->photoUrl = $photoUrl; + } + public function getPhotoUrl() + { + return $this->photoUrl; + } +} + +class Google_Service_CivicInfo_Channel extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $type; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_CivicInfo_Contest extends Google_Collection +{ + protected $collection_key = 'sources'; + protected $internal_gapi_mappings = array( + ); + public $ballotPlacement; + protected $candidatesType = 'Google_Service_CivicInfo_Candidate'; + protected $candidatesDataType = 'array'; + protected $districtType = 'Google_Service_CivicInfo_ElectoralDistrict'; + protected $districtDataType = ''; + public $electorateSpecifications; + public $id; + public $level; + public $numberElected; + public $numberVotingFor; + public $office; + public $primaryParty; + public $referendumBallotResponses; + public $referendumBrief; + public $referendumConStatement; + public $referendumEffectOfAbstain; + public $referendumPassageThreshold; + public $referendumProStatement; + public $referendumSubtitle; + public $referendumText; + public $referendumTitle; + public $referendumUrl; + public $roles; + protected $sourcesType = 'Google_Service_CivicInfo_Source'; + protected $sourcesDataType = 'array'; + public $special; + public $type; + + + public function setBallotPlacement($ballotPlacement) + { + $this->ballotPlacement = $ballotPlacement; + } + public function getBallotPlacement() + { + return $this->ballotPlacement; + } + public function setCandidates($candidates) + { + $this->candidates = $candidates; + } + public function getCandidates() + { + return $this->candidates; + } + public function setDistrict(Google_Service_CivicInfo_ElectoralDistrict $district) + { + $this->district = $district; + } + public function getDistrict() + { + return $this->district; + } + public function setElectorateSpecifications($electorateSpecifications) + { + $this->electorateSpecifications = $electorateSpecifications; + } + public function getElectorateSpecifications() + { + return $this->electorateSpecifications; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setLevel($level) + { + $this->level = $level; + } + public function getLevel() + { + return $this->level; + } + public function setNumberElected($numberElected) + { + $this->numberElected = $numberElected; + } + public function getNumberElected() + { + return $this->numberElected; + } + public function setNumberVotingFor($numberVotingFor) + { + $this->numberVotingFor = $numberVotingFor; + } + public function getNumberVotingFor() + { + return $this->numberVotingFor; + } + public function setOffice($office) + { + $this->office = $office; + } + public function getOffice() + { + return $this->office; + } + public function setPrimaryParty($primaryParty) + { + $this->primaryParty = $primaryParty; + } + public function getPrimaryParty() + { + return $this->primaryParty; + } + public function setReferendumBallotResponses($referendumBallotResponses) + { + $this->referendumBallotResponses = $referendumBallotResponses; + } + public function getReferendumBallotResponses() + { + return $this->referendumBallotResponses; + } + public function setReferendumBrief($referendumBrief) + { + $this->referendumBrief = $referendumBrief; + } + public function getReferendumBrief() + { + return $this->referendumBrief; + } + public function setReferendumConStatement($referendumConStatement) + { + $this->referendumConStatement = $referendumConStatement; + } + public function getReferendumConStatement() + { + return $this->referendumConStatement; + } + public function setReferendumEffectOfAbstain($referendumEffectOfAbstain) + { + $this->referendumEffectOfAbstain = $referendumEffectOfAbstain; + } + public function getReferendumEffectOfAbstain() + { + return $this->referendumEffectOfAbstain; + } + public function setReferendumPassageThreshold($referendumPassageThreshold) + { + $this->referendumPassageThreshold = $referendumPassageThreshold; + } + public function getReferendumPassageThreshold() + { + return $this->referendumPassageThreshold; + } + public function setReferendumProStatement($referendumProStatement) + { + $this->referendumProStatement = $referendumProStatement; + } + public function getReferendumProStatement() + { + return $this->referendumProStatement; + } + public function setReferendumSubtitle($referendumSubtitle) + { + $this->referendumSubtitle = $referendumSubtitle; + } + public function getReferendumSubtitle() + { + return $this->referendumSubtitle; + } + public function setReferendumText($referendumText) + { + $this->referendumText = $referendumText; + } + public function getReferendumText() + { + return $this->referendumText; + } + public function setReferendumTitle($referendumTitle) + { + $this->referendumTitle = $referendumTitle; + } + public function getReferendumTitle() + { + return $this->referendumTitle; + } + public function setReferendumUrl($referendumUrl) + { + $this->referendumUrl = $referendumUrl; + } + public function getReferendumUrl() + { + return $this->referendumUrl; + } + public function setRoles($roles) + { + $this->roles = $roles; + } + public function getRoles() + { + return $this->roles; + } + public function setSources($sources) + { + $this->sources = $sources; + } + public function getSources() + { + return $this->sources; + } + public function setSpecial($special) + { + $this->special = $special; + } + public function getSpecial() + { + return $this->special; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_CivicInfo_DivisionSearchResponse extends Google_Collection +{ + protected $collection_key = 'results'; + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $resultsType = 'Google_Service_CivicInfo_DivisionSearchResult'; + protected $resultsDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setResults($results) + { + $this->results = $results; + } + public function getResults() + { + return $this->results; + } +} + +class Google_Service_CivicInfo_DivisionSearchResult extends Google_Collection +{ + protected $collection_key = 'aliases'; + protected $internal_gapi_mappings = array( + ); + public $aliases; + public $name; + public $ocdId; + + + public function setAliases($aliases) + { + $this->aliases = $aliases; + } + public function getAliases() + { + return $this->aliases; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOcdId($ocdId) + { + $this->ocdId = $ocdId; + } + public function getOcdId() + { + return $this->ocdId; + } +} + +class Google_Service_CivicInfo_Election extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $electionDay; + public $id; + public $name; + public $ocdDivisionId; + + + public function setElectionDay($electionDay) + { + $this->electionDay = $electionDay; + } + public function getElectionDay() + { + return $this->electionDay; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOcdDivisionId($ocdDivisionId) + { + $this->ocdDivisionId = $ocdDivisionId; + } + public function getOcdDivisionId() + { + return $this->ocdDivisionId; + } +} + +class Google_Service_CivicInfo_ElectionOfficial extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $emailAddress; + public $faxNumber; + public $name; + public $officePhoneNumber; + public $title; + + + public function setEmailAddress($emailAddress) + { + $this->emailAddress = $emailAddress; + } + public function getEmailAddress() + { + return $this->emailAddress; + } + public function setFaxNumber($faxNumber) + { + $this->faxNumber = $faxNumber; + } + public function getFaxNumber() + { + return $this->faxNumber; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOfficePhoneNumber($officePhoneNumber) + { + $this->officePhoneNumber = $officePhoneNumber; + } + public function getOfficePhoneNumber() + { + return $this->officePhoneNumber; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} + +class Google_Service_CivicInfo_ElectionsQueryResponse extends Google_Collection +{ + protected $collection_key = 'elections'; + protected $internal_gapi_mappings = array( + ); + protected $electionsType = 'Google_Service_CivicInfo_Election'; + protected $electionsDataType = 'array'; + public $kind; + + + public function setElections($elections) + { + $this->elections = $elections; + } + public function getElections() + { + return $this->elections; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_CivicInfo_ElectoralDistrict extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $name; + public $scope; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setScope($scope) + { + $this->scope = $scope; + } + public function getScope() + { + return $this->scope; + } +} + +class Google_Service_CivicInfo_GeographicDivision extends Google_Collection +{ + protected $collection_key = 'officeIndices'; + protected $internal_gapi_mappings = array( + ); + public $alsoKnownAs; + public $name; + public $officeIndices; + + + public function setAlsoKnownAs($alsoKnownAs) + { + $this->alsoKnownAs = $alsoKnownAs; + } + public function getAlsoKnownAs() + { + return $this->alsoKnownAs; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOfficeIndices($officeIndices) + { + $this->officeIndices = $officeIndices; + } + public function getOfficeIndices() + { + return $this->officeIndices; + } +} + +class Google_Service_CivicInfo_Office extends Google_Collection +{ + protected $collection_key = 'sources'; + protected $internal_gapi_mappings = array( + ); + public $divisionId; + public $levels; + public $name; + public $officialIndices; + public $roles; + protected $sourcesType = 'Google_Service_CivicInfo_Source'; + protected $sourcesDataType = 'array'; + + + public function setDivisionId($divisionId) + { + $this->divisionId = $divisionId; + } + public function getDivisionId() + { + return $this->divisionId; + } + public function setLevels($levels) + { + $this->levels = $levels; + } + public function getLevels() + { + return $this->levels; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOfficialIndices($officialIndices) + { + $this->officialIndices = $officialIndices; + } + public function getOfficialIndices() + { + return $this->officialIndices; + } + public function setRoles($roles) + { + $this->roles = $roles; + } + public function getRoles() + { + return $this->roles; + } + public function setSources($sources) + { + $this->sources = $sources; + } + public function getSources() + { + return $this->sources; + } +} + +class Google_Service_CivicInfo_Official extends Google_Collection +{ + protected $collection_key = 'urls'; + protected $internal_gapi_mappings = array( + ); + protected $addressType = 'Google_Service_CivicInfo_SimpleAddressType'; + protected $addressDataType = 'array'; + protected $channelsType = 'Google_Service_CivicInfo_Channel'; + protected $channelsDataType = 'array'; + public $emails; + public $name; + public $party; + public $phones; + public $photoUrl; + public $urls; + + + public function setAddress($address) + { + $this->address = $address; + } + public function getAddress() + { + return $this->address; + } + public function setChannels($channels) + { + $this->channels = $channels; + } + public function getChannels() + { + return $this->channels; + } + public function setEmails($emails) + { + $this->emails = $emails; + } + public function getEmails() + { + return $this->emails; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setParty($party) + { + $this->party = $party; + } + public function getParty() + { + return $this->party; + } + public function setPhones($phones) + { + $this->phones = $phones; + } + public function getPhones() + { + return $this->phones; + } + public function setPhotoUrl($photoUrl) + { + $this->photoUrl = $photoUrl; + } + public function getPhotoUrl() + { + return $this->photoUrl; + } + public function setUrls($urls) + { + $this->urls = $urls; + } + public function getUrls() + { + return $this->urls; + } +} + +class Google_Service_CivicInfo_PollingLocation extends Google_Collection +{ + protected $collection_key = 'sources'; + protected $internal_gapi_mappings = array( + ); + protected $addressType = 'Google_Service_CivicInfo_SimpleAddressType'; + protected $addressDataType = ''; + public $endDate; + public $id; + public $name; + public $notes; + public $pollingHours; + protected $sourcesType = 'Google_Service_CivicInfo_Source'; + protected $sourcesDataType = 'array'; + public $startDate; + public $voterServices; + + + public function setAddress(Google_Service_CivicInfo_SimpleAddressType $address) + { + $this->address = $address; + } + public function getAddress() + { + return $this->address; + } + public function setEndDate($endDate) + { + $this->endDate = $endDate; + } + public function getEndDate() + { + return $this->endDate; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNotes($notes) + { + $this->notes = $notes; + } + public function getNotes() + { + return $this->notes; + } + public function setPollingHours($pollingHours) + { + $this->pollingHours = $pollingHours; + } + public function getPollingHours() + { + return $this->pollingHours; + } + public function setSources($sources) + { + $this->sources = $sources; + } + public function getSources() + { + return $this->sources; + } + public function setStartDate($startDate) + { + $this->startDate = $startDate; + } + public function getStartDate() + { + return $this->startDate; + } + public function setVoterServices($voterServices) + { + $this->voterServices = $voterServices; + } + public function getVoterServices() + { + return $this->voterServices; + } +} + +class Google_Service_CivicInfo_RepresentativeInfoData extends Google_Collection +{ + protected $collection_key = 'officials'; + protected $internal_gapi_mappings = array( + ); + protected $divisionsType = 'Google_Service_CivicInfo_GeographicDivision'; + protected $divisionsDataType = 'map'; + protected $officesType = 'Google_Service_CivicInfo_Office'; + protected $officesDataType = 'array'; + protected $officialsType = 'Google_Service_CivicInfo_Official'; + protected $officialsDataType = 'array'; + + + public function setDivisions($divisions) + { + $this->divisions = $divisions; + } + public function getDivisions() + { + return $this->divisions; + } + public function setOffices($offices) + { + $this->offices = $offices; + } + public function getOffices() + { + return $this->offices; + } + public function setOfficials($officials) + { + $this->officials = $officials; + } + public function getOfficials() + { + return $this->officials; + } +} + +class Google_Service_CivicInfo_RepresentativeInfoDataDivisions extends Google_Model +{ +} + +class Google_Service_CivicInfo_RepresentativeInfoResponse extends Google_Collection +{ + protected $collection_key = 'officials'; + protected $internal_gapi_mappings = array( + ); + protected $divisionsType = 'Google_Service_CivicInfo_GeographicDivision'; + protected $divisionsDataType = 'map'; + public $kind; + protected $normalizedInputType = 'Google_Service_CivicInfo_SimpleAddressType'; + protected $normalizedInputDataType = ''; + protected $officesType = 'Google_Service_CivicInfo_Office'; + protected $officesDataType = 'array'; + protected $officialsType = 'Google_Service_CivicInfo_Official'; + protected $officialsDataType = 'array'; + + + public function setDivisions($divisions) + { + $this->divisions = $divisions; + } + public function getDivisions() + { + return $this->divisions; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNormalizedInput(Google_Service_CivicInfo_SimpleAddressType $normalizedInput) + { + $this->normalizedInput = $normalizedInput; + } + public function getNormalizedInput() + { + return $this->normalizedInput; + } + public function setOffices($offices) + { + $this->offices = $offices; + } + public function getOffices() + { + return $this->offices; + } + public function setOfficials($officials) + { + $this->officials = $officials; + } + public function getOfficials() + { + return $this->officials; + } +} + +class Google_Service_CivicInfo_RepresentativeInfoResponseDivisions extends Google_Model +{ +} + +class Google_Service_CivicInfo_SimpleAddressType extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $city; + public $line1; + public $line2; + public $line3; + public $locationName; + public $state; + public $zip; + + + public function setCity($city) + { + $this->city = $city; + } + public function getCity() + { + return $this->city; + } + public function setLine1($line1) + { + $this->line1 = $line1; + } + public function getLine1() + { + return $this->line1; + } + public function setLine2($line2) + { + $this->line2 = $line2; + } + public function getLine2() + { + return $this->line2; + } + public function setLine3($line3) + { + $this->line3 = $line3; + } + public function getLine3() + { + return $this->line3; + } + public function setLocationName($locationName) + { + $this->locationName = $locationName; + } + public function getLocationName() + { + return $this->locationName; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } + public function setZip($zip) + { + $this->zip = $zip; + } + public function getZip() + { + return $this->zip; + } +} + +class Google_Service_CivicInfo_Source extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $name; + public $official; + + + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOfficial($official) + { + $this->official = $official; + } + public function getOfficial() + { + return $this->official; + } +} + +class Google_Service_CivicInfo_VoterInfoResponse extends Google_Collection +{ + protected $collection_key = 'state'; + protected $internal_gapi_mappings = array( + ); + protected $contestsType = 'Google_Service_CivicInfo_Contest'; + protected $contestsDataType = 'array'; + protected $dropOffLocationsType = 'Google_Service_CivicInfo_PollingLocation'; + protected $dropOffLocationsDataType = 'array'; + protected $earlyVoteSitesType = 'Google_Service_CivicInfo_PollingLocation'; + protected $earlyVoteSitesDataType = 'array'; + protected $electionType = 'Google_Service_CivicInfo_Election'; + protected $electionDataType = ''; + public $kind; + public $mailOnly; + protected $normalizedInputType = 'Google_Service_CivicInfo_SimpleAddressType'; + protected $normalizedInputDataType = ''; + protected $otherElectionsType = 'Google_Service_CivicInfo_Election'; + protected $otherElectionsDataType = 'array'; + protected $pollingLocationsType = 'Google_Service_CivicInfo_PollingLocation'; + protected $pollingLocationsDataType = 'array'; + public $precinctId; + protected $stateType = 'Google_Service_CivicInfo_AdministrationRegion'; + protected $stateDataType = 'array'; + + + public function setContests($contests) + { + $this->contests = $contests; + } + public function getContests() + { + return $this->contests; + } + public function setDropOffLocations($dropOffLocations) + { + $this->dropOffLocations = $dropOffLocations; + } + public function getDropOffLocations() + { + return $this->dropOffLocations; + } + public function setEarlyVoteSites($earlyVoteSites) + { + $this->earlyVoteSites = $earlyVoteSites; + } + public function getEarlyVoteSites() + { + return $this->earlyVoteSites; + } + public function setElection(Google_Service_CivicInfo_Election $election) + { + $this->election = $election; + } + public function getElection() + { + return $this->election; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMailOnly($mailOnly) + { + $this->mailOnly = $mailOnly; + } + public function getMailOnly() + { + return $this->mailOnly; + } + public function setNormalizedInput(Google_Service_CivicInfo_SimpleAddressType $normalizedInput) + { + $this->normalizedInput = $normalizedInput; + } + public function getNormalizedInput() + { + return $this->normalizedInput; + } + public function setOtherElections($otherElections) + { + $this->otherElections = $otherElections; + } + public function getOtherElections() + { + return $this->otherElections; + } + public function setPollingLocations($pollingLocations) + { + $this->pollingLocations = $pollingLocations; + } + public function getPollingLocations() + { + return $this->pollingLocations; + } + public function setPrecinctId($precinctId) + { + $this->precinctId = $precinctId; + } + public function getPrecinctId() + { + return $this->precinctId; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Classroom.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Classroom.php new file mode 100644 index 0000000..f63b3ea --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Classroom.php @@ -0,0 +1,1563 @@ + + * Google Classroom API

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Classroom extends Google_Service +{ + /** Manage your Google Classroom classes. */ + const CLASSROOM_COURSES = + "https://www.googleapis.com/auth/classroom.courses"; + /** View your Google Classroom classes. */ + const CLASSROOM_COURSES_READONLY = + "https://www.googleapis.com/auth/classroom.courses.readonly"; + /** View the email addresses of people in your classes. */ + const CLASSROOM_PROFILE_EMAILS = + "https://www.googleapis.com/auth/classroom.profile.emails"; + /** View the profile photos of people in your classes. */ + const CLASSROOM_PROFILE_PHOTOS = + "https://www.googleapis.com/auth/classroom.profile.photos"; + /** Manage your Google Classroom class rosters. */ + const CLASSROOM_ROSTERS = + "https://www.googleapis.com/auth/classroom.rosters"; + /** View your Google Classroom class rosters. */ + const CLASSROOM_ROSTERS_READONLY = + "https://www.googleapis.com/auth/classroom.rosters.readonly"; + + public $courses; + public $courses_aliases; + public $courses_students; + public $courses_teachers; + public $invitations; + public $userProfiles; + + + /** + * Constructs the internal representation of the Classroom service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://classroom.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'classroom'; + + $this->courses = new Google_Service_Classroom_Courses_Resource( + $this, + $this->serviceName, + 'courses', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/courses', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'delete' => array( + 'path' => 'v1/courses/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/courses/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/courses', + 'httpMethod' => 'GET', + 'parameters' => array( + 'teacherId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'studentId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => 'v1/courses/{id}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'updateMask' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'v1/courses/{id}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->courses_aliases = new Google_Service_Classroom_CoursesAliases_Resource( + $this, + $this->serviceName, + 'aliases', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/courses/{courseId}/aliases', + 'httpMethod' => 'POST', + 'parameters' => array( + 'courseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v1/courses/{courseId}/aliases/{alias}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'courseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'alias' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/courses/{courseId}/aliases', + 'httpMethod' => 'GET', + 'parameters' => array( + 'courseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->courses_students = new Google_Service_Classroom_CoursesStudents_Resource( + $this, + $this->serviceName, + 'students', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/courses/{courseId}/students', + 'httpMethod' => 'POST', + 'parameters' => array( + 'courseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'enrollmentCode' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'delete' => array( + 'path' => 'v1/courses/{courseId}/students/{userId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'courseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/courses/{courseId}/students/{userId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'courseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/courses/{courseId}/students', + 'httpMethod' => 'GET', + 'parameters' => array( + 'courseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->courses_teachers = new Google_Service_Classroom_CoursesTeachers_Resource( + $this, + $this->serviceName, + 'teachers', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/courses/{courseId}/teachers', + 'httpMethod' => 'POST', + 'parameters' => array( + 'courseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v1/courses/{courseId}/teachers/{userId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'courseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/courses/{courseId}/teachers/{userId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'courseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/courses/{courseId}/teachers', + 'httpMethod' => 'GET', + 'parameters' => array( + 'courseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->invitations = new Google_Service_Classroom_Invitations_Resource( + $this, + $this->serviceName, + 'invitations', + array( + 'methods' => array( + 'accept' => array( + 'path' => 'v1/invitations/{id}:accept', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'create' => array( + 'path' => 'v1/invitations', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'delete' => array( + 'path' => 'v1/invitations/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/invitations/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/invitations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'courseId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'userId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->userProfiles = new Google_Service_Classroom_UserProfiles_Resource( + $this, + $this->serviceName, + 'userProfiles', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v1/userProfiles/{userId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "courses" collection of methods. + * Typical usage is: + * + * $classroomService = new Google_Service_Classroom(...); + * $courses = $classroomService->courses; + * + */ +class Google_Service_Classroom_Courses_Resource extends Google_Service_Resource +{ + + /** + * Creates a course. The user specified in `ownerId` is the owner of the created + * course and added as a teacher. This method returns the following error codes: + * * `PERMISSION_DENIED` if the requesting user is not permitted to create + * courses or for [general user permission errors][User Permission Errors]. * + * `NOT_FOUND` if the primary teacher is not a valid user. * + * `FAILED_PRECONDITION` if the course owner's account is disabled. * + * `ALREADY_EXISTS` if an alias was specified in the `id` and already exists. + * (courses.create) + * + * @param Google_Course $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Classroom_Course + */ + public function create(Google_Service_Classroom_Course $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Classroom_Course"); + } + + /** + * Deletes a course. This method returns the following error codes: * + * `PERMISSION_DENIED` if the requesting user is not permitted to delete the + * requested course or for [general user permission errors][User Permission + * Errors]. * `NOT_FOUND` if no course exists with the requested ID. + * (courses.delete) + * + * @param string $id Identifier of the course to delete. This identifier can be + * either the Classroom-assigned identifier or an + * [alias][google.classroom.v1.CourseAlias]. + * @param array $optParams Optional parameters. + * @return Google_Service_Classroom_Empty + */ + public function delete($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Classroom_Empty"); + } + + /** + * Returns a course. This method returns the following error codes: * + * `PERMISSION_DENIED` if the requesting user is not permitted to access the + * requested course or for [general user permission errors][User Permission + * Errors]. * `NOT_FOUND` if no course exists with the requested ID. + * (courses.get) + * + * @param string $id Identifier of the course to return. This identifier can be + * either the Classroom-assigned identifier or an + * [alias][google.classroom.v1.CourseAlias]. + * @param array $optParams Optional parameters. + * @return Google_Service_Classroom_Course + */ + public function get($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Classroom_Course"); + } + + /** + * Returns a list of courses that the requesting user is permitted to view, + * restricted to those that match the request. This method returns the following + * error codes: * `PERMISSION_DENIED` for [general user permission errors][User + * Permission Errors]. * `INVALID_ARGUMENT` if the query argument is malformed. + * * `NOT_FOUND` if any users specified in the query arguments do not exist. + * (courses.listCourses) + * + * @param array $optParams Optional parameters. + * + * @opt_param string teacherId Restricts returned courses to those having a + * teacher with the specified identifier. The identifier can be one of the + * following: * the numeric identifier for the user * the email address of the + * user * the string literal `"me"`, indicating the requesting user + * @opt_param string pageToken + * [nextPageToken][google.classroom.v1.ListCoursesResponse.next_page_token] + * value returned from a previous + * [list][google.classroom.v1.Courses.ListCourses] call, indicating that the + * subsequent page of results should be returned. The + * [list][google.classroom.v1.Courses.ListCourses] request must be otherwise + * identical to the one that resulted in this token. + * @opt_param string studentId Restricts returned courses to those having a + * student with the specified identifier. The identifier can be one of the + * following: * the numeric identifier for the user * the email address of the + * user * the string literal `"me"`, indicating the requesting user + * @opt_param int pageSize Maximum number of items to return. Zero or + * unspecified indicates that the server may assign a maximum. The server may + * return fewer than the specified number of results. + * @return Google_Service_Classroom_ListCoursesResponse + */ + public function listCourses($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Classroom_ListCoursesResponse"); + } + + /** + * Updates one or more fields in a course. This method returns the following + * error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to + * modify the requested course or for [general user permission errors][User + * Permission Errors]. * `NOT_FOUND` if no course exists with the requested ID. + * * `INVALID_ARGUMENT` if invalid fields are specified in the update mask or if + * no update mask is supplied. (courses.patch) + * + * @param string $id Identifier of the course to update. This identifier can be + * either the Classroom-assigned identifier or an + * [alias][google.classroom.v1.CourseAlias]. + * @param Google_Course $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string updateMask Mask that identifies which fields on the course + * to update. This field is required to do an update. The update will fail if + * invalid fields are specified. The following fields are valid: * `name` * + * `section` * `descriptionHeading` * `description` * `room` * `courseState` + * When set in a query parameter, this field should be specified as + * `updateMask=,,...` + * @return Google_Service_Classroom_Course + */ + public function patch($id, Google_Service_Classroom_Course $postBody, $optParams = array()) + { + $params = array('id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Classroom_Course"); + } + + /** + * Updates a course. This method returns the following error codes: * + * `PERMISSION_DENIED` if the requesting user is not permitted to modify the + * requested course or for [general user permission errors][User Permission + * Errors]. * `NOT_FOUND` if no course exists with the requested ID. + * (courses.update) + * + * @param string $id Identifier of the course to update. This identifier can be + * either the Classroom-assigned identifier or an + * [alias][google.classroom.v1.CourseAlias]. + * @param Google_Course $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Classroom_Course + */ + public function update($id, Google_Service_Classroom_Course $postBody, $optParams = array()) + { + $params = array('id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Classroom_Course"); + } +} + +/** + * The "aliases" collection of methods. + * Typical usage is: + * + * $classroomService = new Google_Service_Classroom(...); + * $aliases = $classroomService->aliases; + * + */ +class Google_Service_Classroom_CoursesAliases_Resource extends Google_Service_Resource +{ + + /** + * Creates an alias for a course. This method returns the following error codes: + * * `PERMISSION_DENIED` if the requesting user is not permitted to create the + * alias or for [general user permission errors][User Permission Errors]. * + * `NOT_FOUND` if the course does not exist. * `ALREADY_EXISTS` if the alias + * already exists. (aliases.create) + * + * @param string $courseId Identifier of the course to alias. This identifier + * can be either the Classroom-assigned identifier or an + * [alias][google.classroom.v1.CourseAlias]. + * @param Google_CourseAlias $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Classroom_CourseAlias + */ + public function create($courseId, Google_Service_Classroom_CourseAlias $postBody, $optParams = array()) + { + $params = array('courseId' => $courseId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Classroom_CourseAlias"); + } + + /** + * Deletes an alias of a course. This method returns the following error codes: + * * `PERMISSION_DENIED` if the requesting user is not permitted to remove the + * alias or for [general user permission errors][User Permission Errors]. * + * `NOT_FOUND` if the alias does not exist. (aliases.delete) + * + * @param string $courseId Identifier of the course whose alias should be + * deleted. This identifier can be either the Classroom-assigned identifier or + * an [alias][google.classroom.v1.CourseAlias]. + * @param string $alias Alias to delete. This may not be the Classroom-assigned + * identifier. + * @param array $optParams Optional parameters. + * @return Google_Service_Classroom_Empty + */ + public function delete($courseId, $alias, $optParams = array()) + { + $params = array('courseId' => $courseId, 'alias' => $alias); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Classroom_Empty"); + } + + /** + * Returns a list of aliases for a course. This method returns the following + * error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to + * access the course or for [general user permission errors][User Permission + * Errors]. * `NOT_FOUND` if the course does not exist. + * (aliases.listCoursesAliases) + * + * @param string $courseId The identifier of the course. This identifier can be + * either the Classroom-assigned identifier or an + * [alias][google.classroom.v1.CourseAlias]. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken [nextPageToken][google.classroom.v1.ListCourseAli + * asesResponse.next_page_token] value returned from a previous + * [list][google.classroom.v1.Courses.ListCourseAliases] call, indicating that + * the subsequent page of results should be returned. The + * [list][google.classroom.v1.Courses.ListCourseAliases] request must be + * otherwise identical to the one that resulted in this token. + * @opt_param int pageSize Maximum number of items to return. Zero or + * unspecified indicates that the server may assign a maximum. The server may + * return fewer than the specified number of results. + * @return Google_Service_Classroom_ListCourseAliasesResponse + */ + public function listCoursesAliases($courseId, $optParams = array()) + { + $params = array('courseId' => $courseId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Classroom_ListCourseAliasesResponse"); + } +} +/** + * The "students" collection of methods. + * Typical usage is: + * + * $classroomService = new Google_Service_Classroom(...); + * $students = $classroomService->students; + * + */ +class Google_Service_Classroom_CoursesStudents_Resource extends Google_Service_Resource +{ + + /** + * Adds a user as a student of a course. This method returns the following error + * codes: * `PERMISSION_DENIED` if the requesting user is not permitted to + * create students in this course or for [general user permission errors][User + * Permission Errors]. * `NOT_FOUND` if the requested course ID does not exist. + * * `FAILED_PRECONDITION` if the requested user's account is disabled. * + * `ALREADY_EXISTS` if the user is already a student or teacher in the course. + * (students.create) + * + * @param string $courseId Identifier of the course to create the student in. + * This identifier can be either the Classroom-assigned identifier or an + * [alias][google.classroom.v1.CourseAlias]. + * @param Google_Student $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string enrollmentCode Enrollment code of the course to create the + * student in. This code is required if + * [userId][google.classroom.v1.Student.user_id] corresponds to the requesting + * user; it may be omitted if the requesting user has administrative permissions + * to create students for any user. + * @return Google_Service_Classroom_Student + */ + public function create($courseId, Google_Service_Classroom_Student $postBody, $optParams = array()) + { + $params = array('courseId' => $courseId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Classroom_Student"); + } + + /** + * Deletes a student of a course. This method returns the following error codes: + * * `PERMISSION_DENIED` if the requesting user is not permitted to delete + * students of this course or for [general user permission errors][User + * Permission Errors]. * `NOT_FOUND` if no student of this course has the + * requested ID or if the course does not exist. (students.delete) + * + * @param string $courseId Identifier of the course. This identifier can be + * either the Classroom-assigned identifier or an + * [alias][google.classroom.v1.CourseAlias]. + * @param string $userId Identifier of the student to delete. The identifier can + * be one of the following: * the numeric identifier for the user * the email + * address of the user * the string literal `"me"`, indicating the requesting + * user + * @param array $optParams Optional parameters. + * @return Google_Service_Classroom_Empty + */ + public function delete($courseId, $userId, $optParams = array()) + { + $params = array('courseId' => $courseId, 'userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Classroom_Empty"); + } + + /** + * Returns a student of a course. This method returns the following error codes: + * * `PERMISSION_DENIED` if the requesting user is not permitted to view + * students of this course or for [general user permission errors][User + * Permission Errors]. * `NOT_FOUND` if no student of this course has the + * requested ID or if the course does not exist. (students.get) + * + * @param string $courseId Identifier of the course. This identifier can be + * either the Classroom-assigned identifier or an + * [alias][google.classroom.v1.CourseAlias]. + * @param string $userId Identifier of the student to return. The identifier can + * be one of the following: * the numeric identifier for the user * the email + * address of the user * the string literal `"me"`, indicating the requesting + * user + * @param array $optParams Optional parameters. + * @return Google_Service_Classroom_Student + */ + public function get($courseId, $userId, $optParams = array()) + { + $params = array('courseId' => $courseId, 'userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Classroom_Student"); + } + + /** + * Returns a list of students of this course that the requester is permitted to + * view. This method returns the following error codes: * `NOT_FOUND` if the + * course does not exist. * `PERMISSION_DENIED` for [general user permission + * errors][User Permission Errors]. (students.listCoursesStudents) + * + * @param string $courseId Identifier of the course. This identifier can be + * either the Classroom-assigned identifier or an + * [alias][google.classroom.v1.CourseAlias]. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken + * [nextPageToken][google.classroom.v1.ListStudentsResponse.next_page_token] + * value returned from a previous [list][google.classroom.v1.Users.ListStudents] + * call, indicating that the subsequent page of results should be returned. The + * [list][google.classroom.v1.Users.ListStudents] request must be otherwise + * identical to the one that resulted in this token. + * @opt_param int pageSize Maximum number of items to return. Zero means no + * maximum. The server may return fewer than the specified number of results. + * @return Google_Service_Classroom_ListStudentsResponse + */ + public function listCoursesStudents($courseId, $optParams = array()) + { + $params = array('courseId' => $courseId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Classroom_ListStudentsResponse"); + } +} +/** + * The "teachers" collection of methods. + * Typical usage is: + * + * $classroomService = new Google_Service_Classroom(...); + * $teachers = $classroomService->teachers; + * + */ +class Google_Service_Classroom_CoursesTeachers_Resource extends Google_Service_Resource +{ + + /** + * Creates a teacher of a course. This method returns the following error codes: + * * `PERMISSION_DENIED` if the requesting user is not permitted to create + * teachers in this course or for [general user permission errors][User + * Permission Errors]. * `NOT_FOUND` if the requested course ID does not exist. + * * `FAILED_PRECONDITION` if the requested user's account is disabled. * + * `ALREADY_EXISTS` if the user is already a teacher or student in the course. + * (teachers.create) + * + * @param string $courseId Identifier of the course. This identifier can be + * either the Classroom-assigned identifier or an + * [alias][google.classroom.v1.CourseAlias]. + * @param Google_Teacher $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Classroom_Teacher + */ + public function create($courseId, Google_Service_Classroom_Teacher $postBody, $optParams = array()) + { + $params = array('courseId' => $courseId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Classroom_Teacher"); + } + + /** + * Deletes a teacher of a course. This method returns the following error codes: + * * `PERMISSION_DENIED` if the requesting user is not permitted to delete + * teachers of this course or for [general user permission errors][User + * Permission Errors]. * `NOT_FOUND` if no teacher of this course has the + * requested ID or if the course does not exist. * `FAILED_PRECONDITION` if the + * requested ID belongs to the primary teacher of this course. (teachers.delete) + * + * @param string $courseId Identifier of the course. This identifier can be + * either the Classroom-assigned identifier or an + * [alias][google.classroom.v1.CourseAlias]. + * @param string $userId Identifier of the teacher to delete. The identifier can + * be one of the following: * the numeric identifier for the user * the email + * address of the user * the string literal `"me"`, indicating the requesting + * user + * @param array $optParams Optional parameters. + * @return Google_Service_Classroom_Empty + */ + public function delete($courseId, $userId, $optParams = array()) + { + $params = array('courseId' => $courseId, 'userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Classroom_Empty"); + } + + /** + * Returns a teacher of a course. This method returns the following error codes: + * * `PERMISSION_DENIED` if the requesting user is not permitted to view + * teachers of this course or for [general user permission errors][User + * Permission Errors]. * `NOT_FOUND` if no teacher of this course has the + * requested ID or if the course does not exist. (teachers.get) + * + * @param string $courseId Identifier of the course. This identifier can be + * either the Classroom-assigned identifier or an + * [alias][google.classroom.v1.CourseAlias]. + * @param string $userId Identifier of the teacher to return. The identifier can + * be one of the following: * the numeric identifier for the user * the email + * address of the user * the string literal `"me"`, indicating the requesting + * user + * @param array $optParams Optional parameters. + * @return Google_Service_Classroom_Teacher + */ + public function get($courseId, $userId, $optParams = array()) + { + $params = array('courseId' => $courseId, 'userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Classroom_Teacher"); + } + + /** + * Returns a list of teachers of this course that the requester is permitted to + * view. This method returns the following error codes: * `NOT_FOUND` if the + * course does not exist. * `PERMISSION_DENIED` for [general user permission + * errors][User Permission Errors]. (teachers.listCoursesTeachers) + * + * @param string $courseId Identifier of the course. This identifier can be + * either the Classroom-assigned identifier or an + * [alias][google.classroom.v1.CourseAlias]. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken + * [nextPageToken][google.classroom.v1.ListTeachersResponse.next_page_token] + * value returned from a previous [list][google.classroom.v1.Users.ListTeachers] + * call, indicating that the subsequent page of results should be returned. The + * [list][google.classroom.v1.Users.ListTeachers] request must be otherwise + * identical to the one that resulted in this token. + * @opt_param int pageSize Maximum number of items to return. Zero means no + * maximum. The server may return fewer than the specified number of results. + * @return Google_Service_Classroom_ListTeachersResponse + */ + public function listCoursesTeachers($courseId, $optParams = array()) + { + $params = array('courseId' => $courseId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Classroom_ListTeachersResponse"); + } +} + +/** + * The "invitations" collection of methods. + * Typical usage is: + * + * $classroomService = new Google_Service_Classroom(...); + * $invitations = $classroomService->invitations; + * + */ +class Google_Service_Classroom_Invitations_Resource extends Google_Service_Resource +{ + + /** + * Accepts an invitation, removing it and adding the invited user to the + * teachers or students (as appropriate) of the specified course. Only the + * invited user may accept an invitation. This method returns the following + * error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to + * accept the requested invitation or for [general user permission errors][User + * Permission Errors]. * `NOT_FOUND` if no invitation exists with the requested + * ID. (invitations.accept) + * + * @param string $id Identifier of the invitation to accept. + * @param array $optParams Optional parameters. + * @return Google_Service_Classroom_Empty + */ + public function accept($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('accept', array($params), "Google_Service_Classroom_Empty"); + } + + /** + * Creates an invitation. Only one invitation for a user and course may exist at + * a time. Delete and re-create an invitation to make changes. This method + * returns the following error codes: * `PERMISSION_DENIED` if the requesting + * user is not permitted to create invitations for this course or for [general + * user permission errors][User Permission Errors]. * `NOT_FOUND` if the course + * or the user does not exist. * `FAILED_PRECONDITION` if the requested user's + * account is disabled or if the user already has this role or a role with + * greater permissions. * `ALREADY_EXISTS` if an invitation for the specified + * user and course already exists. (invitations.create) + * + * @param Google_Invitation $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Classroom_Invitation + */ + public function create(Google_Service_Classroom_Invitation $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Classroom_Invitation"); + } + + /** + * Deletes an invitation. This method returns the following error codes: * + * `PERMISSION_DENIED` if the requesting user is not permitted to delete the + * requested invitation or for [general user permission errors][User Permission + * Errors]. * `NOT_FOUND` if no invitation exists with the requested ID. + * (invitations.delete) + * + * @param string $id Identifier of the invitation to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Classroom_Empty + */ + public function delete($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Classroom_Empty"); + } + + /** + * Returns an invitation. This method returns the following error codes: * + * `PERMISSION_DENIED` if the requesting user is not permitted to view the + * requested invitation or for [general user permission errors][User Permission + * Errors]. * `NOT_FOUND` if no invitation exists with the requested ID. + * (invitations.get) + * + * @param string $id Identifier of the invitation to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Classroom_Invitation + */ + public function get($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Classroom_Invitation"); + } + + /** + * Returns a list of invitations that the requesting user is permitted to view, + * restricted to those that match the list request. *Note:* At least one of + * `user_id` or `course_id` must be supplied. Both fields can be supplied. This + * method returns the following error codes: * `PERMISSION_DENIED` for [general + * user permission errors][User Permission Errors]. + * (invitations.listInvitations) + * + * @param array $optParams Optional parameters. + * + * @opt_param string courseId Restricts returned invitations to those for a + * course with the specified identifier. + * @opt_param string pageToken + * [nextPageToken][google.classroom.v1.ListInvitationsResponse.next_page_token] + * value returned from a previous + * [list][google.classroom.v1.Invitations.ListInvitations] call, indicating that + * the subsequent page of results should be returned. The + * [list][google.classroom.v1.Invitations.ListInvitations] request must be + * otherwise identical to the one that resulted in this token. + * @opt_param string userId Restricts returned invitations to those for a + * specific user. The identifier can be one of the following: * the numeric + * identifier for the user * the email address of the user * the string literal + * `"me"`, indicating the requesting user + * @opt_param int pageSize Maximum number of items to return. Zero means no + * maximum. The server may return fewer than the specified number of results. + * @return Google_Service_Classroom_ListInvitationsResponse + */ + public function listInvitations($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Classroom_ListInvitationsResponse"); + } +} + +/** + * The "userProfiles" collection of methods. + * Typical usage is: + * + * $classroomService = new Google_Service_Classroom(...); + * $userProfiles = $classroomService->userProfiles; + * + */ +class Google_Service_Classroom_UserProfiles_Resource extends Google_Service_Resource +{ + + /** + * Returns a user profile. This method returns the following error codes: * + * `PERMISSION_DENIED` if the requesting user is not permitted to access this + * user profile or if no profile exists with the requested ID or for [general + * user permission errors][User Permission Errors]. (userProfiles.get) + * + * @param string $userId Identifier of the profile to return. The identifier can + * be one of the following: * the numeric identifier for the user * the email + * address of the user * the string literal `"me"`, indicating the requesting + * user + * @param array $optParams Optional parameters. + * @return Google_Service_Classroom_UserProfile + */ + public function get($userId, $optParams = array()) + { + $params = array('userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Classroom_UserProfile"); + } +} + + + + +class Google_Service_Classroom_Course extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $alternateLink; + public $courseState; + public $creationTime; + public $description; + public $descriptionHeading; + public $enrollmentCode; + public $id; + public $name; + public $ownerId; + public $room; + public $section; + public $updateTime; + + + public function setAlternateLink($alternateLink) + { + $this->alternateLink = $alternateLink; + } + public function getAlternateLink() + { + return $this->alternateLink; + } + public function setCourseState($courseState) + { + $this->courseState = $courseState; + } + public function getCourseState() + { + return $this->courseState; + } + public function setCreationTime($creationTime) + { + $this->creationTime = $creationTime; + } + public function getCreationTime() + { + return $this->creationTime; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDescriptionHeading($descriptionHeading) + { + $this->descriptionHeading = $descriptionHeading; + } + public function getDescriptionHeading() + { + return $this->descriptionHeading; + } + public function setEnrollmentCode($enrollmentCode) + { + $this->enrollmentCode = $enrollmentCode; + } + public function getEnrollmentCode() + { + return $this->enrollmentCode; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOwnerId($ownerId) + { + $this->ownerId = $ownerId; + } + public function getOwnerId() + { + return $this->ownerId; + } + public function setRoom($room) + { + $this->room = $room; + } + public function getRoom() + { + return $this->room; + } + public function setSection($section) + { + $this->section = $section; + } + public function getSection() + { + return $this->section; + } + public function setUpdateTime($updateTime) + { + $this->updateTime = $updateTime; + } + public function getUpdateTime() + { + return $this->updateTime; + } +} + +class Google_Service_Classroom_CourseAlias extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $alias; + + + public function setAlias($alias) + { + $this->alias = $alias; + } + public function getAlias() + { + return $this->alias; + } +} + +class Google_Service_Classroom_Empty extends Google_Model +{ +} + +class Google_Service_Classroom_GlobalPermission extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $permission; + + + public function setPermission($permission) + { + $this->permission = $permission; + } + public function getPermission() + { + return $this->permission; + } +} + +class Google_Service_Classroom_Invitation extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $courseId; + public $id; + public $role; + public $userId; + + + public function setCourseId($courseId) + { + $this->courseId = $courseId; + } + public function getCourseId() + { + return $this->courseId; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setRole($role) + { + $this->role = $role; + } + public function getRole() + { + return $this->role; + } + public function setUserId($userId) + { + $this->userId = $userId; + } + public function getUserId() + { + return $this->userId; + } +} + +class Google_Service_Classroom_ListCourseAliasesResponse extends Google_Collection +{ + protected $collection_key = 'aliases'; + protected $internal_gapi_mappings = array( + ); + protected $aliasesType = 'Google_Service_Classroom_CourseAlias'; + protected $aliasesDataType = 'array'; + public $nextPageToken; + + + public function setAliases($aliases) + { + $this->aliases = $aliases; + } + public function getAliases() + { + return $this->aliases; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Classroom_ListCoursesResponse extends Google_Collection +{ + protected $collection_key = 'courses'; + protected $internal_gapi_mappings = array( + ); + protected $coursesType = 'Google_Service_Classroom_Course'; + protected $coursesDataType = 'array'; + public $nextPageToken; + + + public function setCourses($courses) + { + $this->courses = $courses; + } + public function getCourses() + { + return $this->courses; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Classroom_ListInvitationsResponse extends Google_Collection +{ + protected $collection_key = 'invitations'; + protected $internal_gapi_mappings = array( + ); + protected $invitationsType = 'Google_Service_Classroom_Invitation'; + protected $invitationsDataType = 'array'; + public $nextPageToken; + + + public function setInvitations($invitations) + { + $this->invitations = $invitations; + } + public function getInvitations() + { + return $this->invitations; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Classroom_ListStudentsResponse extends Google_Collection +{ + protected $collection_key = 'students'; + protected $internal_gapi_mappings = array( + ); + public $nextPageToken; + protected $studentsType = 'Google_Service_Classroom_Student'; + protected $studentsDataType = 'array'; + + + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setStudents($students) + { + $this->students = $students; + } + public function getStudents() + { + return $this->students; + } +} + +class Google_Service_Classroom_ListTeachersResponse extends Google_Collection +{ + protected $collection_key = 'teachers'; + protected $internal_gapi_mappings = array( + ); + public $nextPageToken; + protected $teachersType = 'Google_Service_Classroom_Teacher'; + protected $teachersDataType = 'array'; + + + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTeachers($teachers) + { + $this->teachers = $teachers; + } + public function getTeachers() + { + return $this->teachers; + } +} + +class Google_Service_Classroom_Name extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $familyName; + public $fullName; + public $givenName; + + + public function setFamilyName($familyName) + { + $this->familyName = $familyName; + } + public function getFamilyName() + { + return $this->familyName; + } + public function setFullName($fullName) + { + $this->fullName = $fullName; + } + public function getFullName() + { + return $this->fullName; + } + public function setGivenName($givenName) + { + $this->givenName = $givenName; + } + public function getGivenName() + { + return $this->givenName; + } +} + +class Google_Service_Classroom_Student extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $courseId; + protected $profileType = 'Google_Service_Classroom_UserProfile'; + protected $profileDataType = ''; + public $userId; + + + public function setCourseId($courseId) + { + $this->courseId = $courseId; + } + public function getCourseId() + { + return $this->courseId; + } + public function setProfile(Google_Service_Classroom_UserProfile $profile) + { + $this->profile = $profile; + } + public function getProfile() + { + return $this->profile; + } + public function setUserId($userId) + { + $this->userId = $userId; + } + public function getUserId() + { + return $this->userId; + } +} + +class Google_Service_Classroom_Teacher extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $courseId; + protected $profileType = 'Google_Service_Classroom_UserProfile'; + protected $profileDataType = ''; + public $userId; + + + public function setCourseId($courseId) + { + $this->courseId = $courseId; + } + public function getCourseId() + { + return $this->courseId; + } + public function setProfile(Google_Service_Classroom_UserProfile $profile) + { + $this->profile = $profile; + } + public function getProfile() + { + return $this->profile; + } + public function setUserId($userId) + { + $this->userId = $userId; + } + public function getUserId() + { + return $this->userId; + } +} + +class Google_Service_Classroom_UserProfile extends Google_Collection +{ + protected $collection_key = 'permissions'; + protected $internal_gapi_mappings = array( + ); + public $emailAddress; + public $id; + protected $nameType = 'Google_Service_Classroom_Name'; + protected $nameDataType = ''; + protected $permissionsType = 'Google_Service_Classroom_GlobalPermission'; + protected $permissionsDataType = 'array'; + public $photoUrl; + + + public function setEmailAddress($emailAddress) + { + $this->emailAddress = $emailAddress; + } + public function getEmailAddress() + { + return $this->emailAddress; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setName(Google_Service_Classroom_Name $name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPermissions($permissions) + { + $this->permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } + public function setPhotoUrl($photoUrl) + { + $this->photoUrl = $photoUrl; + } + public function getPhotoUrl() + { + return $this->photoUrl; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/CloudMonitoring.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/CloudMonitoring.php new file mode 100644 index 0000000..cd07aa6 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/CloudMonitoring.php @@ -0,0 +1,1171 @@ + + * API for accessing Google Cloud and API monitoring data.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_CloudMonitoring extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** View and write monitoring data for all of your Google and third-party Cloud and API projects. */ + const MONITORING = + "https://www.googleapis.com/auth/monitoring"; + + public $metricDescriptors; + public $timeseries; + public $timeseriesDescriptors; + + + /** + * Constructs the internal representation of the CloudMonitoring service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'cloudmonitoring/v2beta2/projects/'; + $this->version = 'v2beta2'; + $this->serviceName = 'cloudmonitoring'; + + $this->metricDescriptors = new Google_Service_CloudMonitoring_MetricDescriptors_Resource( + $this, + $this->serviceName, + 'metricDescriptors', + array( + 'methods' => array( + 'create' => array( + 'path' => '{project}/metricDescriptors', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => '{project}/metricDescriptors/{metric}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'metric' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/metricDescriptors', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'count' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'query' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->timeseries = new Google_Service_CloudMonitoring_Timeseries_Resource( + $this, + $this->serviceName, + 'timeseries', + array( + 'methods' => array( + 'list' => array( + 'path' => '{project}/timeseries/{metric}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'metric' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'youngest' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'count' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'timespan' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'aggregator' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'labels' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'window' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'oldest' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'write' => array( + 'path' => '{project}/timeseries:write', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->timeseriesDescriptors = new Google_Service_CloudMonitoring_TimeseriesDescriptors_Resource( + $this, + $this->serviceName, + 'timeseriesDescriptors', + array( + 'methods' => array( + 'list' => array( + 'path' => '{project}/timeseriesDescriptors/{metric}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'metric' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'youngest' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'count' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'timespan' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'aggregator' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'labels' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'window' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'oldest' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "metricDescriptors" collection of methods. + * Typical usage is: + * + * $cloudmonitoringService = new Google_Service_CloudMonitoring(...); + * $metricDescriptors = $cloudmonitoringService->metricDescriptors; + * + */ +class Google_Service_CloudMonitoring_MetricDescriptors_Resource extends Google_Service_Resource +{ + + /** + * Create a new metric. (metricDescriptors.create) + * + * @param string $project The project id. The value can be the numeric project + * ID or string-based project name. + * @param Google_MetricDescriptor $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudMonitoring_MetricDescriptor + */ + public function create($project, Google_Service_CloudMonitoring_MetricDescriptor $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_CloudMonitoring_MetricDescriptor"); + } + + /** + * Delete an existing metric. (metricDescriptors.delete) + * + * @param string $project The project ID to which the metric belongs. + * @param string $metric Name of the metric. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudMonitoring_DeleteMetricDescriptorResponse + */ + public function delete($project, $metric, $optParams = array()) + { + $params = array('project' => $project, 'metric' => $metric); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_CloudMonitoring_DeleteMetricDescriptorResponse"); + } + + /** + * List metric descriptors that match the query. If the query is not set, then + * all of the metric descriptors will be returned. Large responses will be + * paginated, use the nextPageToken returned in the response to request + * subsequent pages of results by setting the pageToken query parameter to the + * value of the nextPageToken. (metricDescriptors.listMetricDescriptors) + * + * @param string $project The project id. The value can be the numeric project + * ID or string-based project name. + * @param array $optParams Optional parameters. + * + * @opt_param int count Maximum number of metric descriptors per page. Used for + * pagination. If not specified, count = 100. + * @opt_param string pageToken The pagination token, which is used to page + * through large result sets. Set this value to the value of the nextPageToken + * to retrieve the next page of results. + * @opt_param string query The query used to search against existing metrics. + * Separate keywords with a space; the service joins all keywords with AND, + * meaning that all keywords must match for a metric to be returned. If this + * field is omitted, all metrics are returned. If an empty string is passed with + * this field, no metrics are returned. + * @return Google_Service_CloudMonitoring_ListMetricDescriptorsResponse + */ + public function listMetricDescriptors($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_CloudMonitoring_ListMetricDescriptorsResponse"); + } +} + +/** + * The "timeseries" collection of methods. + * Typical usage is: + * + * $cloudmonitoringService = new Google_Service_CloudMonitoring(...); + * $timeseries = $cloudmonitoringService->timeseries; + * + */ +class Google_Service_CloudMonitoring_Timeseries_Resource extends Google_Service_Resource +{ + + /** + * List the data points of the time series that match the metric and labels + * values and that have data points in the interval. Large responses are + * paginated; use the nextPageToken returned in the response to request + * subsequent pages of results by setting the pageToken query parameter to the + * value of the nextPageToken. (timeseries.listTimeseries) + * + * @param string $project The project ID to which this time series belongs. The + * value can be the numeric project ID or string-based project name. + * @param string $metric Metric names are protocol-free URLs as listed in the + * Supported Metrics page. For example, + * compute.googleapis.com/instance/disk/read_ops_count. + * @param string $youngest End of the time interval (inclusive), which is + * expressed as an RFC 3339 timestamp. + * @param array $optParams Optional parameters. + * + * @opt_param int count Maximum number of data points per page, which is used + * for pagination of results. + * @opt_param string timespan Length of the time interval to query, which is an + * alternative way to declare the interval: (youngest - timespan, youngest]. The + * timespan and oldest parameters should not be used together. Units: - s: + * second - m: minute - h: hour - d: day - w: week Examples: 2s, 3m, 4w. + * Only one unit is allowed, for example: 2w3d is not allowed; you should use + * 17d instead. + * + * If neither oldest nor timespan is specified, the default time interval will + * be (youngest - 4 hours, youngest]. + * @opt_param string aggregator The aggregation function that will reduce the + * data points in each window to a single point. This parameter is only valid + * for non-cumulative metrics with a value type of INT64 or DOUBLE. + * @opt_param string labels A collection of labels for the matching time series, + * which are represented as: - key==value: key equals the value - key=~value: + * key regex matches the value - key!=value: key does not equal the value - + * key!~value: key regex does not match the value For example, to list all of + * the time series descriptors for the region us-central1, you could specify: + * label=cloud.googleapis.com%2Flocation=~us-central1.* + * @opt_param string pageToken The pagination token, which is used to page + * through large result sets. Set this value to the value of the nextPageToken + * to retrieve the next page of results. + * @opt_param string window The sampling window. At most one data point will be + * returned for each window in the requested time interval. This parameter is + * only valid for non-cumulative metric types. Units: - m: minute - h: hour - + * d: day - w: week Examples: 3m, 4w. Only one unit is allowed, for example: + * 2w3d is not allowed; you should use 17d instead. + * @opt_param string oldest Start of the time interval (exclusive), which is + * expressed as an RFC 3339 timestamp. If neither oldest nor timespan is + * specified, the default time interval will be (youngest - 4 hours, youngest] + * @return Google_Service_CloudMonitoring_ListTimeseriesResponse + */ + public function listTimeseries($project, $metric, $youngest, $optParams = array()) + { + $params = array('project' => $project, 'metric' => $metric, 'youngest' => $youngest); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_CloudMonitoring_ListTimeseriesResponse"); + } + + /** + * Put data points to one or more time series for one or more metrics. If a time + * series does not exist, a new time series will be created. It is not allowed + * to write a time series point that is older than the existing youngest point + * of that time series. Points that are older than the existing youngest point + * of that time series will be discarded silently. Therefore, users should make + * sure that points of a time series are written sequentially in the order of + * their end time. (timeseries.write) + * + * @param string $project The project ID. The value can be the numeric project + * ID or string-based project name. + * @param Google_WriteTimeseriesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudMonitoring_WriteTimeseriesResponse + */ + public function write($project, Google_Service_CloudMonitoring_WriteTimeseriesRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('write', array($params), "Google_Service_CloudMonitoring_WriteTimeseriesResponse"); + } +} + +/** + * The "timeseriesDescriptors" collection of methods. + * Typical usage is: + * + * $cloudmonitoringService = new Google_Service_CloudMonitoring(...); + * $timeseriesDescriptors = $cloudmonitoringService->timeseriesDescriptors; + * + */ +class Google_Service_CloudMonitoring_TimeseriesDescriptors_Resource extends Google_Service_Resource +{ + + /** + * List the descriptors of the time series that match the metric and labels + * values and that have data points in the interval. Large responses are + * paginated; use the nextPageToken returned in the response to request + * subsequent pages of results by setting the pageToken query parameter to the + * value of the nextPageToken. (timeseriesDescriptors.listTimeseriesDescriptors) + * + * @param string $project The project ID to which this time series belongs. The + * value can be the numeric project ID or string-based project name. + * @param string $metric Metric names are protocol-free URLs as listed in the + * Supported Metrics page. For example, + * compute.googleapis.com/instance/disk/read_ops_count. + * @param string $youngest End of the time interval (inclusive), which is + * expressed as an RFC 3339 timestamp. + * @param array $optParams Optional parameters. + * + * @opt_param int count Maximum number of time series descriptors per page. Used + * for pagination. If not specified, count = 100. + * @opt_param string timespan Length of the time interval to query, which is an + * alternative way to declare the interval: (youngest - timespan, youngest]. The + * timespan and oldest parameters should not be used together. Units: - s: + * second - m: minute - h: hour - d: day - w: week Examples: 2s, 3m, 4w. + * Only one unit is allowed, for example: 2w3d is not allowed; you should use + * 17d instead. + * + * If neither oldest nor timespan is specified, the default time interval will + * be (youngest - 4 hours, youngest]. + * @opt_param string aggregator The aggregation function that will reduce the + * data points in each window to a single point. This parameter is only valid + * for non-cumulative metrics with a value type of INT64 or DOUBLE. + * @opt_param string labels A collection of labels for the matching time series, + * which are represented as: - key==value: key equals the value - key=~value: + * key regex matches the value - key!=value: key does not equal the value - + * key!~value: key regex does not match the value For example, to list all of + * the time series descriptors for the region us-central1, you could specify: + * label=cloud.googleapis.com%2Flocation=~us-central1.* + * @opt_param string pageToken The pagination token, which is used to page + * through large result sets. Set this value to the value of the nextPageToken + * to retrieve the next page of results. + * @opt_param string window The sampling window. At most one data point will be + * returned for each window in the requested time interval. This parameter is + * only valid for non-cumulative metric types. Units: - m: minute - h: hour - + * d: day - w: week Examples: 3m, 4w. Only one unit is allowed, for example: + * 2w3d is not allowed; you should use 17d instead. + * @opt_param string oldest Start of the time interval (exclusive), which is + * expressed as an RFC 3339 timestamp. If neither oldest nor timespan is + * specified, the default time interval will be (youngest - 4 hours, youngest] + * @return Google_Service_CloudMonitoring_ListTimeseriesDescriptorsResponse + */ + public function listTimeseriesDescriptors($project, $metric, $youngest, $optParams = array()) + { + $params = array('project' => $project, 'metric' => $metric, 'youngest' => $youngest); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_CloudMonitoring_ListTimeseriesDescriptorsResponse"); + } +} + + + + +class Google_Service_CloudMonitoring_DeleteMetricDescriptorResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_CloudMonitoring_ListMetricDescriptorsRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_CloudMonitoring_ListMetricDescriptorsResponse extends Google_Collection +{ + protected $collection_key = 'metrics'; + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $metricsType = 'Google_Service_CloudMonitoring_MetricDescriptor'; + protected $metricsDataType = 'array'; + public $nextPageToken; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMetrics($metrics) + { + $this->metrics = $metrics; + } + public function getMetrics() + { + return $this->metrics; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_CloudMonitoring_ListTimeseriesDescriptorsRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_CloudMonitoring_ListTimeseriesDescriptorsResponse extends Google_Collection +{ + protected $collection_key = 'timeseries'; + protected $internal_gapi_mappings = array( + ); + public $kind; + public $nextPageToken; + public $oldest; + protected $timeseriesType = 'Google_Service_CloudMonitoring_TimeseriesDescriptor'; + protected $timeseriesDataType = 'array'; + public $youngest; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setOldest($oldest) + { + $this->oldest = $oldest; + } + public function getOldest() + { + return $this->oldest; + } + public function setTimeseries($timeseries) + { + $this->timeseries = $timeseries; + } + public function getTimeseries() + { + return $this->timeseries; + } + public function setYoungest($youngest) + { + $this->youngest = $youngest; + } + public function getYoungest() + { + return $this->youngest; + } +} + +class Google_Service_CloudMonitoring_ListTimeseriesRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_CloudMonitoring_ListTimeseriesResponse extends Google_Collection +{ + protected $collection_key = 'timeseries'; + protected $internal_gapi_mappings = array( + ); + public $kind; + public $nextPageToken; + public $oldest; + protected $timeseriesType = 'Google_Service_CloudMonitoring_Timeseries'; + protected $timeseriesDataType = 'array'; + public $youngest; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setOldest($oldest) + { + $this->oldest = $oldest; + } + public function getOldest() + { + return $this->oldest; + } + public function setTimeseries($timeseries) + { + $this->timeseries = $timeseries; + } + public function getTimeseries() + { + return $this->timeseries; + } + public function setYoungest($youngest) + { + $this->youngest = $youngest; + } + public function getYoungest() + { + return $this->youngest; + } +} + +class Google_Service_CloudMonitoring_MetricDescriptor extends Google_Collection +{ + protected $collection_key = 'labels'; + protected $internal_gapi_mappings = array( + ); + public $description; + protected $labelsType = 'Google_Service_CloudMonitoring_MetricDescriptorLabelDescriptor'; + protected $labelsDataType = 'array'; + public $name; + public $project; + protected $typeDescriptorType = 'Google_Service_CloudMonitoring_MetricDescriptorTypeDescriptor'; + protected $typeDescriptorDataType = ''; + + + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setProject($project) + { + $this->project = $project; + } + public function getProject() + { + return $this->project; + } + public function setTypeDescriptor(Google_Service_CloudMonitoring_MetricDescriptorTypeDescriptor $typeDescriptor) + { + $this->typeDescriptor = $typeDescriptor; + } + public function getTypeDescriptor() + { + return $this->typeDescriptor; + } +} + +class Google_Service_CloudMonitoring_MetricDescriptorLabelDescriptor extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $description; + public $key; + + + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } +} + +class Google_Service_CloudMonitoring_MetricDescriptorTypeDescriptor extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $metricType; + public $valueType; + + + public function setMetricType($metricType) + { + $this->metricType = $metricType; + } + public function getMetricType() + { + return $this->metricType; + } + public function setValueType($valueType) + { + $this->valueType = $valueType; + } + public function getValueType() + { + return $this->valueType; + } +} + +class Google_Service_CloudMonitoring_Point extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $boolValue; + protected $distributionValueType = 'Google_Service_CloudMonitoring_PointDistribution'; + protected $distributionValueDataType = ''; + public $doubleValue; + public $end; + public $int64Value; + public $start; + public $stringValue; + + + public function setBoolValue($boolValue) + { + $this->boolValue = $boolValue; + } + public function getBoolValue() + { + return $this->boolValue; + } + public function setDistributionValue(Google_Service_CloudMonitoring_PointDistribution $distributionValue) + { + $this->distributionValue = $distributionValue; + } + public function getDistributionValue() + { + return $this->distributionValue; + } + public function setDoubleValue($doubleValue) + { + $this->doubleValue = $doubleValue; + } + public function getDoubleValue() + { + return $this->doubleValue; + } + public function setEnd($end) + { + $this->end = $end; + } + public function getEnd() + { + return $this->end; + } + public function setInt64Value($int64Value) + { + $this->int64Value = $int64Value; + } + public function getInt64Value() + { + return $this->int64Value; + } + public function setStart($start) + { + $this->start = $start; + } + public function getStart() + { + return $this->start; + } + public function setStringValue($stringValue) + { + $this->stringValue = $stringValue; + } + public function getStringValue() + { + return $this->stringValue; + } +} + +class Google_Service_CloudMonitoring_PointDistribution extends Google_Collection +{ + protected $collection_key = 'buckets'; + protected $internal_gapi_mappings = array( + ); + protected $bucketsType = 'Google_Service_CloudMonitoring_PointDistributionBucket'; + protected $bucketsDataType = 'array'; + protected $overflowBucketType = 'Google_Service_CloudMonitoring_PointDistributionOverflowBucket'; + protected $overflowBucketDataType = ''; + protected $underflowBucketType = 'Google_Service_CloudMonitoring_PointDistributionUnderflowBucket'; + protected $underflowBucketDataType = ''; + + + public function setBuckets($buckets) + { + $this->buckets = $buckets; + } + public function getBuckets() + { + return $this->buckets; + } + public function setOverflowBucket(Google_Service_CloudMonitoring_PointDistributionOverflowBucket $overflowBucket) + { + $this->overflowBucket = $overflowBucket; + } + public function getOverflowBucket() + { + return $this->overflowBucket; + } + public function setUnderflowBucket(Google_Service_CloudMonitoring_PointDistributionUnderflowBucket $underflowBucket) + { + $this->underflowBucket = $underflowBucket; + } + public function getUnderflowBucket() + { + return $this->underflowBucket; + } +} + +class Google_Service_CloudMonitoring_PointDistributionBucket extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $count; + public $lowerBound; + public $upperBound; + + + public function setCount($count) + { + $this->count = $count; + } + public function getCount() + { + return $this->count; + } + public function setLowerBound($lowerBound) + { + $this->lowerBound = $lowerBound; + } + public function getLowerBound() + { + return $this->lowerBound; + } + public function setUpperBound($upperBound) + { + $this->upperBound = $upperBound; + } + public function getUpperBound() + { + return $this->upperBound; + } +} + +class Google_Service_CloudMonitoring_PointDistributionOverflowBucket extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $count; + public $lowerBound; + + + public function setCount($count) + { + $this->count = $count; + } + public function getCount() + { + return $this->count; + } + public function setLowerBound($lowerBound) + { + $this->lowerBound = $lowerBound; + } + public function getLowerBound() + { + return $this->lowerBound; + } +} + +class Google_Service_CloudMonitoring_PointDistributionUnderflowBucket extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $count; + public $upperBound; + + + public function setCount($count) + { + $this->count = $count; + } + public function getCount() + { + return $this->count; + } + public function setUpperBound($upperBound) + { + $this->upperBound = $upperBound; + } + public function getUpperBound() + { + return $this->upperBound; + } +} + +class Google_Service_CloudMonitoring_Timeseries extends Google_Collection +{ + protected $collection_key = 'points'; + protected $internal_gapi_mappings = array( + ); + protected $pointsType = 'Google_Service_CloudMonitoring_Point'; + protected $pointsDataType = 'array'; + protected $timeseriesDescType = 'Google_Service_CloudMonitoring_TimeseriesDescriptor'; + protected $timeseriesDescDataType = ''; + + + public function setPoints($points) + { + $this->points = $points; + } + public function getPoints() + { + return $this->points; + } + public function setTimeseriesDesc(Google_Service_CloudMonitoring_TimeseriesDescriptor $timeseriesDesc) + { + $this->timeseriesDesc = $timeseriesDesc; + } + public function getTimeseriesDesc() + { + return $this->timeseriesDesc; + } +} + +class Google_Service_CloudMonitoring_TimeseriesDescriptor extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $labels; + public $metric; + public $project; + + + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setMetric($metric) + { + $this->metric = $metric; + } + public function getMetric() + { + return $this->metric; + } + public function setProject($project) + { + $this->project = $project; + } + public function getProject() + { + return $this->project; + } +} + +class Google_Service_CloudMonitoring_TimeseriesDescriptorLabel extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $key; + public $value; + + + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_CloudMonitoring_TimeseriesDescriptorLabels extends Google_Model +{ +} + +class Google_Service_CloudMonitoring_TimeseriesPoint extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $pointType = 'Google_Service_CloudMonitoring_Point'; + protected $pointDataType = ''; + protected $timeseriesDescType = 'Google_Service_CloudMonitoring_TimeseriesDescriptor'; + protected $timeseriesDescDataType = ''; + + + public function setPoint(Google_Service_CloudMonitoring_Point $point) + { + $this->point = $point; + } + public function getPoint() + { + return $this->point; + } + public function setTimeseriesDesc(Google_Service_CloudMonitoring_TimeseriesDescriptor $timeseriesDesc) + { + $this->timeseriesDesc = $timeseriesDesc; + } + public function getTimeseriesDesc() + { + return $this->timeseriesDesc; + } +} + +class Google_Service_CloudMonitoring_WriteTimeseriesRequest extends Google_Collection +{ + protected $collection_key = 'timeseries'; + protected $internal_gapi_mappings = array( + ); + public $commonLabels; + protected $timeseriesType = 'Google_Service_CloudMonitoring_TimeseriesPoint'; + protected $timeseriesDataType = 'array'; + + + public function setCommonLabels($commonLabels) + { + $this->commonLabels = $commonLabels; + } + public function getCommonLabels() + { + return $this->commonLabels; + } + public function setTimeseries($timeseries) + { + $this->timeseries = $timeseries; + } + public function getTimeseries() + { + return $this->timeseries; + } +} + +class Google_Service_CloudMonitoring_WriteTimeseriesRequestCommonLabels extends Google_Model +{ +} + +class Google_Service_CloudMonitoring_WriteTimeseriesResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/CloudUserAccounts.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/CloudUserAccounts.php new file mode 100644 index 0000000..d310a30 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/CloudUserAccounts.php @@ -0,0 +1,2285 @@ + + * API for the Google Cloud User Accounts service.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_CloudUserAccounts extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** View your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM_READ_ONLY = + "https://www.googleapis.com/auth/cloud-platform.read-only"; + /** Manage your Google Cloud User Accounts. */ + const CLOUD_USERACCOUNTS = + "https://www.googleapis.com/auth/cloud.useraccounts"; + /** View your Google Cloud User Accounts. */ + const CLOUD_USERACCOUNTS_READONLY = + "https://www.googleapis.com/auth/cloud.useraccounts.readonly"; + + public $globalAccountsOperations; + public $groups; + public $linux; + public $users; + + + /** + * Constructs the internal representation of the CloudUserAccounts service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'clouduseraccounts/vm_alpha/projects/'; + $this->version = 'vm_alpha'; + $this->serviceName = 'clouduseraccounts'; + + $this->globalAccountsOperations = new Google_Service_CloudUserAccounts_GlobalAccountsOperations_Resource( + $this, + $this->serviceName, + 'globalAccountsOperations', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{project}/global/operations/{operation}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'operation' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/global/operations/{operation}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'operation' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/operations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->groups = new Google_Service_CloudUserAccounts_Groups_Resource( + $this, + $this->serviceName, + 'groups', + array( + 'methods' => array( + 'addMember' => array( + 'path' => '{project}/global/groups/{groupName}/addMember', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'groupName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => '{project}/global/groups/{groupName}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'groupName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/global/groups/{groupName}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'groupName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getIamPolicy' => array( + 'path' => '{project}/global/groups/{resource}/getIamPolicy', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/global/groups', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/groups', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'removeMember' => array( + 'path' => '{project}/global/groups/{groupName}/removeMember', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'groupName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setIamPolicy' => array( + 'path' => '{project}/global/groups/{resource}/setIamPolicy', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'testIamPermissions' => array( + 'path' => '{project}/global/groups/{resource}/testIamPermissions', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->linux = new Google_Service_CloudUserAccounts_Linux_Resource( + $this, + $this->serviceName, + 'linux', + array( + 'methods' => array( + 'getAuthorizedKeysView' => array( + 'path' => '{project}/zones/{zone}/authorizedKeysView/{user}', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'user' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'login' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'getLinuxAccountViews' => array( + 'path' => '{project}/zones/{zone}/linuxAccountViews', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->users = new Google_Service_CloudUserAccounts_Users_Resource( + $this, + $this->serviceName, + 'users', + array( + 'methods' => array( + 'addPublicKey' => array( + 'path' => '{project}/global/users/{user}/addPublicKey', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'user' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => '{project}/global/users/{user}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'user' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/global/users/{user}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'user' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getIamPolicy' => array( + 'path' => '{project}/global/users/{resource}/getIamPolicy', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/global/users', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/users', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'removePublicKey' => array( + 'path' => '{project}/global/users/{user}/removePublicKey', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'user' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'fingerprint' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setIamPolicy' => array( + 'path' => '{project}/global/users/{resource}/setIamPolicy', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'testIamPermissions' => array( + 'path' => '{project}/global/users/{resource}/testIamPermissions', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "globalAccountsOperations" collection of methods. + * Typical usage is: + * + * $clouduseraccountsService = new Google_Service_CloudUserAccounts(...); + * $globalAccountsOperations = $clouduseraccountsService->globalAccountsOperations; + * + */ +class Google_Service_CloudUserAccounts_GlobalAccountsOperations_Resource extends Google_Service_Resource +{ + + /** + * Deletes the specified operation resource. (globalAccountsOperations.delete) + * + * @param string $project Project ID for this request. + * @param string $operation Name of the Operations resource to delete. + * @param array $optParams Optional parameters. + */ + public function delete($project, $operation, $optParams = array()) + { + $params = array('project' => $project, 'operation' => $operation); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Retrieves the specified operation resource. (globalAccountsOperations.get) + * + * @param string $project Project ID for this request. + * @param string $operation Name of the Operations resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudUserAccounts_Operation + */ + public function get($project, $operation, $optParams = array()) + { + $params = array('project' => $project, 'operation' => $operation); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_CloudUserAccounts_Operation"); + } + + /** + * Retrieves the list of operation resources contained within the specified + * project. (globalAccountsOperations.listGlobalAccountsOperations) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string maxResults Maximum count of results to be returned. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @return Google_Service_CloudUserAccounts_OperationList + */ + public function listGlobalAccountsOperations($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_CloudUserAccounts_OperationList"); + } +} + +/** + * The "groups" collection of methods. + * Typical usage is: + * + * $clouduseraccountsService = new Google_Service_CloudUserAccounts(...); + * $groups = $clouduseraccountsService->groups; + * + */ +class Google_Service_CloudUserAccounts_Groups_Resource extends Google_Service_Resource +{ + + /** + * Adds users to the specified group. (groups.addMember) + * + * @param string $project Project ID for this request. + * @param string $groupName Name of the group for this request. + * @param Google_GroupsAddMemberRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudUserAccounts_Operation + */ + public function addMember($project, $groupName, Google_Service_CloudUserAccounts_GroupsAddMemberRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'groupName' => $groupName, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('addMember', array($params), "Google_Service_CloudUserAccounts_Operation"); + } + + /** + * Deletes the specified Group resource. (groups.delete) + * + * @param string $project Project ID for this request. + * @param string $groupName Name of the Group resource to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudUserAccounts_Operation + */ + public function delete($project, $groupName, $optParams = array()) + { + $params = array('project' => $project, 'groupName' => $groupName); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_CloudUserAccounts_Operation"); + } + + /** + * Returns the specified Group resource. (groups.get) + * + * @param string $project Project ID for this request. + * @param string $groupName Name of the Group resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudUserAccounts_Group + */ + public function get($project, $groupName, $optParams = array()) + { + $params = array('project' => $project, 'groupName' => $groupName); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_CloudUserAccounts_Group"); + } + + /** + * Gets the access control policy for a resource. May be empty if no such policy + * or resource exists. (groups.getIamPolicy) + * + * @param string $project Project ID for this request. + * @param string $resource Name of the resource for this request. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudUserAccounts_Policy + */ + public function getIamPolicy($project, $resource, $optParams = array()) + { + $params = array('project' => $project, 'resource' => $resource); + $params = array_merge($params, $optParams); + return $this->call('getIamPolicy', array($params), "Google_Service_CloudUserAccounts_Policy"); + } + + /** + * Creates a Group resource in the specified project using the data included in + * the request. (groups.insert) + * + * @param string $project Project ID for this request. + * @param Google_Group $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudUserAccounts_Operation + */ + public function insert($project, Google_Service_CloudUserAccounts_Group $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_CloudUserAccounts_Operation"); + } + + /** + * Retrieves the list of groups contained within the specified project. + * (groups.listGroups) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string maxResults Maximum count of results to be returned. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @return Google_Service_CloudUserAccounts_GroupList + */ + public function listGroups($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_CloudUserAccounts_GroupList"); + } + + /** + * Removes users from the specified group. (groups.removeMember) + * + * @param string $project Project ID for this request. + * @param string $groupName Name of the group for this request. + * @param Google_GroupsRemoveMemberRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudUserAccounts_Operation + */ + public function removeMember($project, $groupName, Google_Service_CloudUserAccounts_GroupsRemoveMemberRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'groupName' => $groupName, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('removeMember', array($params), "Google_Service_CloudUserAccounts_Operation"); + } + + /** + * Sets the access control policy on the specified resource. Replaces any + * existing policy. (groups.setIamPolicy) + * + * @param string $project Project ID for this request. + * @param string $resource Name of the resource for this request. + * @param Google_Policy $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudUserAccounts_Policy + */ + public function setIamPolicy($project, $resource, Google_Service_CloudUserAccounts_Policy $postBody, $optParams = array()) + { + $params = array('project' => $project, 'resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setIamPolicy', array($params), "Google_Service_CloudUserAccounts_Policy"); + } + + /** + * Returns permissions that a caller has on the specified resource. + * (groups.testIamPermissions) + * + * @param string $project Project ID for this request. + * @param string $resource Name of the resource for this request. + * @param Google_TestPermissionsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudUserAccounts_TestPermissionsResponse + */ + public function testIamPermissions($project, $resource, Google_Service_CloudUserAccounts_TestPermissionsRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('testIamPermissions', array($params), "Google_Service_CloudUserAccounts_TestPermissionsResponse"); + } +} + +/** + * The "linux" collection of methods. + * Typical usage is: + * + * $clouduseraccountsService = new Google_Service_CloudUserAccounts(...); + * $linux = $clouduseraccountsService->linux; + * + */ +class Google_Service_CloudUserAccounts_Linux_Resource extends Google_Service_Resource +{ + + /** + * Returns a list of authorized public keys for a specific user account. + * (linux.getAuthorizedKeysView) + * + * @param string $project Project ID for this request. + * @param string $zone Name of the zone for this request. + * @param string $user The user account for which you want to get a list of + * authorized public keys. + * @param string $instance The fully-qualified URL of the virtual machine + * requesting the view. + * @param array $optParams Optional parameters. + * + * @opt_param bool login Whether the view was requested as part of a user- + * initiated login. + * @return Google_Service_CloudUserAccounts_LinuxGetAuthorizedKeysViewResponse + */ + public function getAuthorizedKeysView($project, $zone, $user, $instance, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'user' => $user, 'instance' => $instance); + $params = array_merge($params, $optParams); + return $this->call('getAuthorizedKeysView', array($params), "Google_Service_CloudUserAccounts_LinuxGetAuthorizedKeysViewResponse"); + } + + /** + * Retrieves a list of user accounts for an instance within a specific project. + * (linux.getLinuxAccountViews) + * + * @param string $project Project ID for this request. + * @param string $zone Name of the zone for this request. + * @param string $instance The fully-qualified URL of the virtual machine + * requesting the views. + * @param array $optParams Optional parameters. + * + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @return Google_Service_CloudUserAccounts_LinuxGetLinuxAccountViewsResponse + */ + public function getLinuxAccountViews($project, $zone, $instance, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance); + $params = array_merge($params, $optParams); + return $this->call('getLinuxAccountViews', array($params), "Google_Service_CloudUserAccounts_LinuxGetLinuxAccountViewsResponse"); + } +} + +/** + * The "users" collection of methods. + * Typical usage is: + * + * $clouduseraccountsService = new Google_Service_CloudUserAccounts(...); + * $users = $clouduseraccountsService->users; + * + */ +class Google_Service_CloudUserAccounts_Users_Resource extends Google_Service_Resource +{ + + /** + * Adds a public key to the specified User resource with the data included in + * the request. (users.addPublicKey) + * + * @param string $project Project ID for this request. + * @param string $user Name of the user for this request. + * @param Google_PublicKey $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudUserAccounts_Operation + */ + public function addPublicKey($project, $user, Google_Service_CloudUserAccounts_PublicKey $postBody, $optParams = array()) + { + $params = array('project' => $project, 'user' => $user, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('addPublicKey', array($params), "Google_Service_CloudUserAccounts_Operation"); + } + + /** + * Deletes the specified User resource. (users.delete) + * + * @param string $project Project ID for this request. + * @param string $user Name of the user resource to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudUserAccounts_Operation + */ + public function delete($project, $user, $optParams = array()) + { + $params = array('project' => $project, 'user' => $user); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_CloudUserAccounts_Operation"); + } + + /** + * Returns the specified User resource. (users.get) + * + * @param string $project Project ID for this request. + * @param string $user Name of the user resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudUserAccounts_User + */ + public function get($project, $user, $optParams = array()) + { + $params = array('project' => $project, 'user' => $user); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_CloudUserAccounts_User"); + } + + /** + * Gets the access control policy for a resource. May be empty if no such policy + * or resource exists. (users.getIamPolicy) + * + * @param string $project Project ID for this request. + * @param string $resource Name of the resource for this request. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudUserAccounts_Policy + */ + public function getIamPolicy($project, $resource, $optParams = array()) + { + $params = array('project' => $project, 'resource' => $resource); + $params = array_merge($params, $optParams); + return $this->call('getIamPolicy', array($params), "Google_Service_CloudUserAccounts_Policy"); + } + + /** + * Creates a User resource in the specified project using the data included in + * the request. (users.insert) + * + * @param string $project Project ID for this request. + * @param Google_User $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudUserAccounts_Operation + */ + public function insert($project, Google_Service_CloudUserAccounts_User $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_CloudUserAccounts_Operation"); + } + + /** + * Retrieves a list of users contained within the specified project. + * (users.listUsers) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string orderBy Sorts list results by a certain order. By default, + * results are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation timestamp + * using orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result first). + * Use this to sort resources like operations so that the newest operation is + * returned first. + * + * Currently, only sorting by name or creationTimestamp desc is supported. + * @opt_param string maxResults Maximum count of results to be returned. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @return Google_Service_CloudUserAccounts_UserList + */ + public function listUsers($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_CloudUserAccounts_UserList"); + } + + /** + * Removes the specified public key from the user. (users.removePublicKey) + * + * @param string $project Project ID for this request. + * @param string $user Name of the user for this request. + * @param string $fingerprint The fingerprint of the public key to delete. + * Public keys are identified by their fingerprint, which is defined by RFC4716 + * to be the MD5 digest of the public key. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudUserAccounts_Operation + */ + public function removePublicKey($project, $user, $fingerprint, $optParams = array()) + { + $params = array('project' => $project, 'user' => $user, 'fingerprint' => $fingerprint); + $params = array_merge($params, $optParams); + return $this->call('removePublicKey', array($params), "Google_Service_CloudUserAccounts_Operation"); + } + + /** + * Sets the access control policy on the specified resource. Replaces any + * existing policy. (users.setIamPolicy) + * + * @param string $project Project ID for this request. + * @param string $resource Name of the resource for this request. + * @param Google_Policy $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudUserAccounts_Policy + */ + public function setIamPolicy($project, $resource, Google_Service_CloudUserAccounts_Policy $postBody, $optParams = array()) + { + $params = array('project' => $project, 'resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setIamPolicy', array($params), "Google_Service_CloudUserAccounts_Policy"); + } + + /** + * Returns permissions that a caller has on the specified resource. + * (users.testIamPermissions) + * + * @param string $project Project ID for this request. + * @param string $resource Name of the resource for this request. + * @param Google_TestPermissionsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudUserAccounts_TestPermissionsResponse + */ + public function testIamPermissions($project, $resource, Google_Service_CloudUserAccounts_TestPermissionsRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('testIamPermissions', array($params), "Google_Service_CloudUserAccounts_TestPermissionsResponse"); + } +} + + + + +class Google_Service_CloudUserAccounts_AuthorizedKeysView extends Google_Collection +{ + protected $collection_key = 'keys'; + protected $internal_gapi_mappings = array( + ); + public $keys; + public $sudoer; + + + public function setKeys($keys) + { + $this->keys = $keys; + } + public function getKeys() + { + return $this->keys; + } + public function setSudoer($sudoer) + { + $this->sudoer = $sudoer; + } + public function getSudoer() + { + return $this->sudoer; + } +} + +class Google_Service_CloudUserAccounts_Binding extends Google_Collection +{ + protected $collection_key = 'members'; + protected $internal_gapi_mappings = array( + ); + public $members; + public $role; + + + public function setMembers($members) + { + $this->members = $members; + } + public function getMembers() + { + return $this->members; + } + public function setRole($role) + { + $this->role = $role; + } + public function getRole() + { + return $this->role; + } +} + +class Google_Service_CloudUserAccounts_Condition extends Google_Collection +{ + protected $collection_key = 'values'; + protected $internal_gapi_mappings = array( + ); + public $iam; + public $op; + public $svc; + public $sys; + public $value; + public $values; + + + public function setIam($iam) + { + $this->iam = $iam; + } + public function getIam() + { + return $this->iam; + } + public function setOp($op) + { + $this->op = $op; + } + public function getOp() + { + return $this->op; + } + public function setSvc($svc) + { + $this->svc = $svc; + } + public function getSvc() + { + return $this->svc; + } + public function setSys($sys) + { + $this->sys = $sys; + } + public function getSys() + { + return $this->sys; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } + public function setValues($values) + { + $this->values = $values; + } + public function getValues() + { + return $this->values; + } +} + +class Google_Service_CloudUserAccounts_Group extends Google_Collection +{ + protected $collection_key = 'members'; + protected $internal_gapi_mappings = array( + ); + public $creationTimestamp; + public $description; + public $id; + public $kind; + public $members; + public $name; + public $selfLink; + + + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMembers($members) + { + $this->members = $members; + } + public function getMembers() + { + return $this->members; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_CloudUserAccounts_GroupList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_CloudUserAccounts_Group'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_CloudUserAccounts_GroupsAddMemberRequest extends Google_Collection +{ + protected $collection_key = 'users'; + protected $internal_gapi_mappings = array( + ); + public $users; + + + public function setUsers($users) + { + $this->users = $users; + } + public function getUsers() + { + return $this->users; + } +} + +class Google_Service_CloudUserAccounts_GroupsRemoveMemberRequest extends Google_Collection +{ + protected $collection_key = 'users'; + protected $internal_gapi_mappings = array( + ); + public $users; + + + public function setUsers($users) + { + $this->users = $users; + } + public function getUsers() + { + return $this->users; + } +} + +class Google_Service_CloudUserAccounts_LinuxAccountViews extends Google_Collection +{ + protected $collection_key = 'userViews'; + protected $internal_gapi_mappings = array( + ); + protected $groupViewsType = 'Google_Service_CloudUserAccounts_LinuxGroupView'; + protected $groupViewsDataType = 'array'; + public $kind; + protected $userViewsType = 'Google_Service_CloudUserAccounts_LinuxUserView'; + protected $userViewsDataType = 'array'; + + + public function setGroupViews($groupViews) + { + $this->groupViews = $groupViews; + } + public function getGroupViews() + { + return $this->groupViews; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setUserViews($userViews) + { + $this->userViews = $userViews; + } + public function getUserViews() + { + return $this->userViews; + } +} + +class Google_Service_CloudUserAccounts_LinuxGetAuthorizedKeysViewResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $resourceType = 'Google_Service_CloudUserAccounts_AuthorizedKeysView'; + protected $resourceDataType = ''; + + + public function setResource(Google_Service_CloudUserAccounts_AuthorizedKeysView $resource) + { + $this->resource = $resource; + } + public function getResource() + { + return $this->resource; + } +} + +class Google_Service_CloudUserAccounts_LinuxGetLinuxAccountViewsResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $resourceType = 'Google_Service_CloudUserAccounts_LinuxAccountViews'; + protected $resourceDataType = ''; + + + public function setResource(Google_Service_CloudUserAccounts_LinuxAccountViews $resource) + { + $this->resource = $resource; + } + public function getResource() + { + return $this->resource; + } +} + +class Google_Service_CloudUserAccounts_LinuxGroupView extends Google_Collection +{ + protected $collection_key = 'members'; + protected $internal_gapi_mappings = array( + ); + public $gid; + public $groupName; + public $members; + + + public function setGid($gid) + { + $this->gid = $gid; + } + public function getGid() + { + return $this->gid; + } + public function setGroupName($groupName) + { + $this->groupName = $groupName; + } + public function getGroupName() + { + return $this->groupName; + } + public function setMembers($members) + { + $this->members = $members; + } + public function getMembers() + { + return $this->members; + } +} + +class Google_Service_CloudUserAccounts_LinuxUserView extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $gecos; + public $gid; + public $homeDirectory; + public $shell; + public $uid; + public $username; + + + public function setGecos($gecos) + { + $this->gecos = $gecos; + } + public function getGecos() + { + return $this->gecos; + } + public function setGid($gid) + { + $this->gid = $gid; + } + public function getGid() + { + return $this->gid; + } + public function setHomeDirectory($homeDirectory) + { + $this->homeDirectory = $homeDirectory; + } + public function getHomeDirectory() + { + return $this->homeDirectory; + } + public function setShell($shell) + { + $this->shell = $shell; + } + public function getShell() + { + return $this->shell; + } + public function setUid($uid) + { + $this->uid = $uid; + } + public function getUid() + { + return $this->uid; + } + public function setUsername($username) + { + $this->username = $username; + } + public function getUsername() + { + return $this->username; + } +} + +class Google_Service_CloudUserAccounts_LogConfig extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $counterType = 'Google_Service_CloudUserAccounts_LogConfigCounterOptions'; + protected $counterDataType = ''; + + + public function setCounter(Google_Service_CloudUserAccounts_LogConfigCounterOptions $counter) + { + $this->counter = $counter; + } + public function getCounter() + { + return $this->counter; + } +} + +class Google_Service_CloudUserAccounts_LogConfigCounterOptions extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $field; + public $metric; + + + public function setField($field) + { + $this->field = $field; + } + public function getField() + { + return $this->field; + } + public function setMetric($metric) + { + $this->metric = $metric; + } + public function getMetric() + { + return $this->metric; + } +} + +class Google_Service_CloudUserAccounts_Operation extends Google_Collection +{ + protected $collection_key = 'warnings'; + protected $internal_gapi_mappings = array( + ); + public $clientOperationId; + public $creationTimestamp; + public $endTime; + protected $errorType = 'Google_Service_CloudUserAccounts_OperationError'; + protected $errorDataType = ''; + public $httpErrorMessage; + public $httpErrorStatusCode; + public $id; + public $insertTime; + public $kind; + public $name; + public $operationType; + public $progress; + public $region; + public $selfLink; + public $startTime; + public $status; + public $statusMessage; + public $targetId; + public $targetLink; + public $user; + protected $warningsType = 'Google_Service_CloudUserAccounts_OperationWarnings'; + protected $warningsDataType = 'array'; + public $zone; + + + public function setClientOperationId($clientOperationId) + { + $this->clientOperationId = $clientOperationId; + } + public function getClientOperationId() + { + return $this->clientOperationId; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setError(Google_Service_CloudUserAccounts_OperationError $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setHttpErrorMessage($httpErrorMessage) + { + $this->httpErrorMessage = $httpErrorMessage; + } + public function getHttpErrorMessage() + { + return $this->httpErrorMessage; + } + public function setHttpErrorStatusCode($httpErrorStatusCode) + { + $this->httpErrorStatusCode = $httpErrorStatusCode; + } + public function getHttpErrorStatusCode() + { + return $this->httpErrorStatusCode; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInsertTime($insertTime) + { + $this->insertTime = $insertTime; + } + public function getInsertTime() + { + return $this->insertTime; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOperationType($operationType) + { + $this->operationType = $operationType; + } + public function getOperationType() + { + return $this->operationType; + } + public function setProgress($progress) + { + $this->progress = $progress; + } + public function getProgress() + { + return $this->progress; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setStatusMessage($statusMessage) + { + $this->statusMessage = $statusMessage; + } + public function getStatusMessage() + { + return $this->statusMessage; + } + public function setTargetId($targetId) + { + $this->targetId = $targetId; + } + public function getTargetId() + { + return $this->targetId; + } + public function setTargetLink($targetLink) + { + $this->targetLink = $targetLink; + } + public function getTargetLink() + { + return $this->targetLink; + } + public function setUser($user) + { + $this->user = $user; + } + public function getUser() + { + return $this->user; + } + public function setWarnings($warnings) + { + $this->warnings = $warnings; + } + public function getWarnings() + { + return $this->warnings; + } + public function setZone($zone) + { + $this->zone = $zone; + } + public function getZone() + { + return $this->zone; + } +} + +class Google_Service_CloudUserAccounts_OperationError extends Google_Collection +{ + protected $collection_key = 'errors'; + protected $internal_gapi_mappings = array( + ); + protected $errorsType = 'Google_Service_CloudUserAccounts_OperationErrorErrors'; + protected $errorsDataType = 'array'; + + + public function setErrors($errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } +} + +class Google_Service_CloudUserAccounts_OperationErrorErrors extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $code; + public $location; + public $message; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_CloudUserAccounts_OperationList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_CloudUserAccounts_Operation'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_CloudUserAccounts_OperationWarnings extends Google_Collection +{ + protected $collection_key = 'data'; + protected $internal_gapi_mappings = array( + ); + public $code; + protected $dataType = 'Google_Service_CloudUserAccounts_OperationWarningsData'; + protected $dataDataType = 'array'; + public $message; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_CloudUserAccounts_OperationWarningsData extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $key; + public $value; + + + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_CloudUserAccounts_Policy extends Google_Collection +{ + protected $collection_key = 'rules'; + protected $internal_gapi_mappings = array( + ); + protected $bindingsType = 'Google_Service_CloudUserAccounts_Binding'; + protected $bindingsDataType = 'array'; + public $etag; + protected $rulesType = 'Google_Service_CloudUserAccounts_Rule'; + protected $rulesDataType = 'array'; + public $version; + + + public function setBindings($bindings) + { + $this->bindings = $bindings; + } + public function getBindings() + { + return $this->bindings; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setRules($rules) + { + $this->rules = $rules; + } + public function getRules() + { + return $this->rules; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} + +class Google_Service_CloudUserAccounts_PublicKey extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $creationTimestamp; + public $description; + public $expirationTimestamp; + public $fingerprint; + public $key; + + + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setExpirationTimestamp($expirationTimestamp) + { + $this->expirationTimestamp = $expirationTimestamp; + } + public function getExpirationTimestamp() + { + return $this->expirationTimestamp; + } + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } +} + +class Google_Service_CloudUserAccounts_Rule extends Google_Collection +{ + protected $collection_key = 'permissions'; + protected $internal_gapi_mappings = array( + ); + public $action; + protected $conditionsType = 'Google_Service_CloudUserAccounts_Condition'; + protected $conditionsDataType = 'array'; + public $description; + public $ins; + protected $logConfigsType = 'Google_Service_CloudUserAccounts_LogConfig'; + protected $logConfigsDataType = 'array'; + public $notIns; + public $permissions; + + + public function setAction($action) + { + $this->action = $action; + } + public function getAction() + { + return $this->action; + } + public function setConditions($conditions) + { + $this->conditions = $conditions; + } + public function getConditions() + { + return $this->conditions; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setIns($ins) + { + $this->ins = $ins; + } + public function getIns() + { + return $this->ins; + } + public function setLogConfigs($logConfigs) + { + $this->logConfigs = $logConfigs; + } + public function getLogConfigs() + { + return $this->logConfigs; + } + public function setNotIns($notIns) + { + $this->notIns = $notIns; + } + public function getNotIns() + { + return $this->notIns; + } + public function setPermissions($permissions) + { + $this->permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } +} + +class Google_Service_CloudUserAccounts_TestPermissionsRequest extends Google_Collection +{ + protected $collection_key = 'permissions'; + protected $internal_gapi_mappings = array( + ); + public $permissions; + + + public function setPermissions($permissions) + { + $this->permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } +} + +class Google_Service_CloudUserAccounts_TestPermissionsResponse extends Google_Collection +{ + protected $collection_key = 'permissions'; + protected $internal_gapi_mappings = array( + ); + public $permissions; + + + public function setPermissions($permissions) + { + $this->permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } +} + +class Google_Service_CloudUserAccounts_User extends Google_Collection +{ + protected $collection_key = 'publicKeys'; + protected $internal_gapi_mappings = array( + ); + public $creationTimestamp; + public $description; + public $groups; + public $id; + public $kind; + public $name; + public $owner; + protected $publicKeysType = 'Google_Service_CloudUserAccounts_PublicKey'; + protected $publicKeysDataType = 'array'; + public $selfLink; + + + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setGroups($groups) + { + $this->groups = $groups; + } + public function getGroups() + { + return $this->groups; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOwner($owner) + { + $this->owner = $owner; + } + public function getOwner() + { + return $this->owner; + } + public function setPublicKeys($publicKeys) + { + $this->publicKeys = $publicKeys; + } + public function getPublicKeys() + { + return $this->publicKeys; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_CloudUserAccounts_UserList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_CloudUserAccounts_User'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Cloudbilling.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Cloudbilling.php new file mode 100644 index 0000000..bdaa04f --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Cloudbilling.php @@ -0,0 +1,446 @@ + + * Retrieves Google Developers Console billing accounts and associates them with + * projects.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Cloudbilling extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + + public $billingAccounts; + public $billingAccounts_projects; + public $projects; + + + /** + * Constructs the internal representation of the Cloudbilling service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://cloudbilling.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'cloudbilling'; + + $this->billingAccounts = new Google_Service_Cloudbilling_BillingAccounts_Resource( + $this, + $this->serviceName, + 'billingAccounts', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/billingAccounts', + 'httpMethod' => 'GET', + 'parameters' => array( + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->billingAccounts_projects = new Google_Service_Cloudbilling_BillingAccountsProjects_Resource( + $this, + $this->serviceName, + 'projects', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v1/{+name}/projects', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->projects = new Google_Service_Cloudbilling_Projects_Resource( + $this, + $this->serviceName, + 'projects', + array( + 'methods' => array( + 'getBillingInfo' => array( + 'path' => 'v1/{+name}/billingInfo', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'updateBillingInfo' => array( + 'path' => 'v1/{+name}/billingInfo', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "billingAccounts" collection of methods. + * Typical usage is: + * + * $cloudbillingService = new Google_Service_Cloudbilling(...); + * $billingAccounts = $cloudbillingService->billingAccounts; + * + */ +class Google_Service_Cloudbilling_BillingAccounts_Resource extends Google_Service_Resource +{ + + /** + * Gets information about a billing account. The current authenticated user must + * be an [owner of the billing + * account](https://support.google.com/cloud/answer/4430947). + * (billingAccounts.get) + * + * @param string $name The resource name of the billing account to retrieve. For + * example, `billingAccounts/012345-567890-ABCDEF`. + * @param array $optParams Optional parameters. + * @return Google_Service_Cloudbilling_BillingAccount + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Cloudbilling_BillingAccount"); + } + + /** + * Lists the billing accounts that the current authenticated user + * [owns](https://support.google.com/cloud/answer/4430947). + * (billingAccounts.listBillingAccounts) + * + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken A token identifying a page of results to return. + * This should be a `next_page_token` value returned from a previous + * `ListBillingAccounts` call. If unspecified, the first page of results is + * returned. + * @opt_param int pageSize Requested page size. The maximum page size is 100; + * this is also the default. + * @return Google_Service_Cloudbilling_ListBillingAccountsResponse + */ + public function listBillingAccounts($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Cloudbilling_ListBillingAccountsResponse"); + } +} + +/** + * The "projects" collection of methods. + * Typical usage is: + * + * $cloudbillingService = new Google_Service_Cloudbilling(...); + * $projects = $cloudbillingService->projects; + * + */ +class Google_Service_Cloudbilling_BillingAccountsProjects_Resource extends Google_Service_Resource +{ + + /** + * Lists the projects associated with a billing account. The current + * authenticated user must be an [owner of the billing + * account](https://support.google.com/cloud/answer/4430947). + * (projects.listBillingAccountsProjects) + * + * @param string $name The resource name of the billing account associated with + * the projects that you want to list. For example, + * `billingAccounts/012345-567890-ABCDEF`. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken A token identifying a page of results to be + * returned. This should be a `next_page_token` value returned from a previous + * `ListProjectBillingInfo` call. If unspecified, the first page of results is + * returned. + * @opt_param int pageSize Requested page size. The maximum page size is 100; + * this is also the default. + * @return Google_Service_Cloudbilling_ListProjectBillingInfoResponse + */ + public function listBillingAccountsProjects($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Cloudbilling_ListProjectBillingInfoResponse"); + } +} + +/** + * The "projects" collection of methods. + * Typical usage is: + * + * $cloudbillingService = new Google_Service_Cloudbilling(...); + * $projects = $cloudbillingService->projects; + * + */ +class Google_Service_Cloudbilling_Projects_Resource extends Google_Service_Resource +{ + + /** + * Gets the billing information for a project. The current authenticated user + * must have [permission to view the project](https://cloud.google.com/docs + * /permissions-overview#h.bgs0oxofvnoo ). (projects.getBillingInfo) + * + * @param string $name The resource name of the project for which billing + * information is retrieved. For example, `projects/tokyo-rain-123`. + * @param array $optParams Optional parameters. + * @return Google_Service_Cloudbilling_ProjectBillingInfo + */ + public function getBillingInfo($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('getBillingInfo', array($params), "Google_Service_Cloudbilling_ProjectBillingInfo"); + } + + /** + * Sets or updates the billing account associated with a project. You specify + * the new billing account by setting the `billing_account_name` in the + * `ProjectBillingInfo` resource to the resource name of a billing account. + * Associating a project with an open billing account enables billing on the + * project and allows charges for resource usage. If the project already had a + * billing account, this method changes the billing account used for resource + * usage charges. *Note:* Incurred charges that have not yet been reported in + * the transaction history of the Google Developers Console may be billed to the + * new billing account, even if the charge occurred before the new billing + * account was assigned to the project. The current authenticated user must have + * ownership privileges for both the [project](https://cloud.google.com/docs + * /permissions-overview#h.bgs0oxofvnoo ) and the [billing + * account](https://support.google.com/cloud/answer/4430947). You can disable + * billing on the project by setting the `billing_account_name` field to empty. + * This action disassociates the current billing account from the project. Any + * billable activity of your in-use services will stop, and your application + * could stop functioning as expected. Any unbilled charges to date will be + * billed to the previously associated account. The current authenticated user + * must be either an owner of the project or an owner of the billing account for + * the project. Note that associating a project with a *closed* billing account + * will have much the same effect as disabling billing on the project: any paid + * resources used by the project will be shut down. Thus, unless you wish to + * disable billing, you should always call this method with the name of an + * *open* billing account. (projects.updateBillingInfo) + * + * @param string $name The resource name of the project associated with the + * billing information that you want to update. For example, `projects/tokyo- + * rain-123`. + * @param Google_ProjectBillingInfo $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Cloudbilling_ProjectBillingInfo + */ + public function updateBillingInfo($name, Google_Service_Cloudbilling_ProjectBillingInfo $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('updateBillingInfo', array($params), "Google_Service_Cloudbilling_ProjectBillingInfo"); + } +} + + + + +class Google_Service_Cloudbilling_BillingAccount extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $displayName; + public $name; + public $open; + + + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOpen($open) + { + $this->open = $open; + } + public function getOpen() + { + return $this->open; + } +} + +class Google_Service_Cloudbilling_ListBillingAccountsResponse extends Google_Collection +{ + protected $collection_key = 'billingAccounts'; + protected $internal_gapi_mappings = array( + ); + protected $billingAccountsType = 'Google_Service_Cloudbilling_BillingAccount'; + protected $billingAccountsDataType = 'array'; + public $nextPageToken; + + + public function setBillingAccounts($billingAccounts) + { + $this->billingAccounts = $billingAccounts; + } + public function getBillingAccounts() + { + return $this->billingAccounts; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Cloudbilling_ListProjectBillingInfoResponse extends Google_Collection +{ + protected $collection_key = 'projectBillingInfo'; + protected $internal_gapi_mappings = array( + ); + public $nextPageToken; + protected $projectBillingInfoType = 'Google_Service_Cloudbilling_ProjectBillingInfo'; + protected $projectBillingInfoDataType = 'array'; + + + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setProjectBillingInfo($projectBillingInfo) + { + $this->projectBillingInfo = $projectBillingInfo; + } + public function getProjectBillingInfo() + { + return $this->projectBillingInfo; + } +} + +class Google_Service_Cloudbilling_ProjectBillingInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $billingAccountName; + public $billingEnabled; + public $name; + public $projectId; + + + public function setBillingAccountName($billingAccountName) + { + $this->billingAccountName = $billingAccountName; + } + public function getBillingAccountName() + { + return $this->billingAccountName; + } + public function setBillingEnabled($billingEnabled) + { + $this->billingEnabled = $billingEnabled; + } + public function getBillingEnabled() + { + return $this->billingEnabled; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Clouddebugger.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Clouddebugger.php new file mode 100644 index 0000000..e9cda44 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Clouddebugger.php @@ -0,0 +1,1343 @@ + + * Lets you examine the stack and variables of your running application without + * stopping or slowing it down.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Clouddebugger extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** Manage cloud debugger. */ + const CLOUD_DEBUGGER = + "https://www.googleapis.com/auth/cloud_debugger"; + /** Manage active breakpoints in cloud debugger. */ + const CLOUD_DEBUGLETCONTROLLER = + "https://www.googleapis.com/auth/cloud_debugletcontroller"; + + public $controller_debuggees; + public $controller_debuggees_breakpoints; + public $debugger_debuggees; + public $debugger_debuggees_breakpoints; + + + /** + * Constructs the internal representation of the Clouddebugger service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://clouddebugger.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v2'; + $this->serviceName = 'clouddebugger'; + + $this->controller_debuggees = new Google_Service_Clouddebugger_ControllerDebuggees_Resource( + $this, + $this->serviceName, + 'debuggees', + array( + 'methods' => array( + 'register' => array( + 'path' => 'v2/controller/debuggees/register', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->controller_debuggees_breakpoints = new Google_Service_Clouddebugger_ControllerDebuggeesBreakpoints_Resource( + $this, + $this->serviceName, + 'breakpoints', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v2/controller/debuggees/{debuggeeId}/breakpoints', + 'httpMethod' => 'GET', + 'parameters' => array( + 'debuggeeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'waitToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'v2/controller/debuggees/{debuggeeId}/breakpoints/{id}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'debuggeeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->debugger_debuggees = new Google_Service_Clouddebugger_DebuggerDebuggees_Resource( + $this, + $this->serviceName, + 'debuggees', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v2/debugger/debuggees', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'includeInactive' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->debugger_debuggees_breakpoints = new Google_Service_Clouddebugger_DebuggerDebuggeesBreakpoints_Resource( + $this, + $this->serviceName, + 'breakpoints', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'debuggeeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'breakpointId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'debuggeeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'breakpointId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v2/debugger/debuggees/{debuggeeId}/breakpoints', + 'httpMethod' => 'GET', + 'parameters' => array( + 'debuggeeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'includeAllUsers' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'stripResults' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'action.value' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'includeInactive' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'waitToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'set' => array( + 'path' => 'v2/debugger/debuggees/{debuggeeId}/breakpoints/set', + 'httpMethod' => 'POST', + 'parameters' => array( + 'debuggeeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "controller" collection of methods. + * Typical usage is: + * + * $clouddebuggerService = new Google_Service_Clouddebugger(...); + * $controller = $clouddebuggerService->controller; + * + */ +class Google_Service_Clouddebugger_Controller_Resource extends Google_Service_Resource +{ +} + +/** + * The "debuggees" collection of methods. + * Typical usage is: + * + * $clouddebuggerService = new Google_Service_Clouddebugger(...); + * $debuggees = $clouddebuggerService->debuggees; + * + */ +class Google_Service_Clouddebugger_ControllerDebuggees_Resource extends Google_Service_Resource +{ + + /** + * Registers the debuggee with the controller. All agents should call this API + * with the same request content to get back the same stable 'debuggee_id'. + * Agents should call this API again whenever ListActiveBreakpoints or + * UpdateActiveBreakpoint return the error google.rpc.Code.NOT_FOUND. It allows + * the server to disable the agent or recover from any registration loss. If the + * debuggee is disabled server, the response will have is_disabled' set to true. + * (debuggees.register) + * + * @param Google_RegisterDebuggeeRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Clouddebugger_RegisterDebuggeeResponse + */ + public function register(Google_Service_Clouddebugger_RegisterDebuggeeRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('register', array($params), "Google_Service_Clouddebugger_RegisterDebuggeeResponse"); + } +} + +/** + * The "breakpoints" collection of methods. + * Typical usage is: + * + * $clouddebuggerService = new Google_Service_Clouddebugger(...); + * $breakpoints = $clouddebuggerService->breakpoints; + * + */ +class Google_Service_Clouddebugger_ControllerDebuggeesBreakpoints_Resource extends Google_Service_Resource +{ + + /** + * Returns the list of all active breakpoints for the specified debuggee. The + * breakpoint specification (location, condition, and expression fields) is + * semantically immutable, although the field values may change. For example, an + * agent may update the location line number to reflect the actual line the + * breakpoint was set to, but that doesn't change the breakpoint semantics. + * Thus, an agent does not need to check if a breakpoint has changed when it + * encounters the same breakpoint on a successive call. Moreover, an agent + * should remember breakpoints that are complete until the controller removes + * them from the active list to avoid setting those breakpoints again. + * (breakpoints.listControllerDebuggeesBreakpoints) + * + * @param string $debuggeeId Identifies the debuggee. + * @param array $optParams Optional parameters. + * + * @opt_param string waitToken A wait token that, if specified, blocks the + * method call until the list of active breakpoints has changed, or a server + * selected timeout has expired. The value should be set from the last returned + * response. The error code google.rpc.Code.ABORTED is returned on wait timeout + * (which does not require the agent to re-register with the server) + * @return Google_Service_Clouddebugger_ListActiveBreakpointsResponse + */ + public function listControllerDebuggeesBreakpoints($debuggeeId, $optParams = array()) + { + $params = array('debuggeeId' => $debuggeeId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Clouddebugger_ListActiveBreakpointsResponse"); + } + + /** + * Updates the breakpoint state or mutable fields. The entire Breakpoint + * protobuf must be sent back to the controller. Updates to active breakpoint + * fields are only allowed if the new value does not change the breakpoint + * specification. Updates to the 'location', 'condition' and 'expression' fields + * should not alter the breakpoint semantics. They are restricted to changes + * such as canonicalizing a value or snapping the location to the correct line + * of code. (breakpoints.update) + * + * @param string $debuggeeId Identifies the debuggee being debugged. + * @param string $id Breakpoint identifier, unique in the scope of the debuggee. + * @param Google_UpdateActiveBreakpointRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Clouddebugger_UpdateActiveBreakpointResponse + */ + public function update($debuggeeId, $id, Google_Service_Clouddebugger_UpdateActiveBreakpointRequest $postBody, $optParams = array()) + { + $params = array('debuggeeId' => $debuggeeId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Clouddebugger_UpdateActiveBreakpointResponse"); + } +} + +/** + * The "debugger" collection of methods. + * Typical usage is: + * + * $clouddebuggerService = new Google_Service_Clouddebugger(...); + * $debugger = $clouddebuggerService->debugger; + * + */ +class Google_Service_Clouddebugger_Debugger_Resource extends Google_Service_Resource +{ +} + +/** + * The "debuggees" collection of methods. + * Typical usage is: + * + * $clouddebuggerService = new Google_Service_Clouddebugger(...); + * $debuggees = $clouddebuggerService->debuggees; + * + */ +class Google_Service_Clouddebugger_DebuggerDebuggees_Resource extends Google_Service_Resource +{ + + /** + * Lists all the debuggees that the user can set breakpoints to. + * (debuggees.listDebuggerDebuggees) + * + * @param array $optParams Optional parameters. + * + * @opt_param string project Set to the project number of the Google Cloud + * Platform to list the debuggees that are part of that project. + * @opt_param bool includeInactive When set to true the result includes all + * debuggees, otherwise only debugees that are active. + * @return Google_Service_Clouddebugger_ListDebuggeesResponse + */ + public function listDebuggerDebuggees($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Clouddebugger_ListDebuggeesResponse"); + } +} + +/** + * The "breakpoints" collection of methods. + * Typical usage is: + * + * $clouddebuggerService = new Google_Service_Clouddebugger(...); + * $breakpoints = $clouddebuggerService->breakpoints; + * + */ +class Google_Service_Clouddebugger_DebuggerDebuggeesBreakpoints_Resource extends Google_Service_Resource +{ + + /** + * Deletes the breakpoint from the debuggee. (breakpoints.delete) + * + * @param string $debuggeeId The debuggee id to delete the breakpoint from. + * @param string $breakpointId The breakpoint to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Clouddebugger_Empty + */ + public function delete($debuggeeId, $breakpointId, $optParams = array()) + { + $params = array('debuggeeId' => $debuggeeId, 'breakpointId' => $breakpointId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Clouddebugger_Empty"); + } + + /** + * Gets breakpoint information. (breakpoints.get) + * + * @param string $debuggeeId The debuggee id to get the breakpoint from. + * @param string $breakpointId The breakpoint to get. + * @param array $optParams Optional parameters. + * @return Google_Service_Clouddebugger_GetBreakpointResponse + */ + public function get($debuggeeId, $breakpointId, $optParams = array()) + { + $params = array('debuggeeId' => $debuggeeId, 'breakpointId' => $breakpointId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Clouddebugger_GetBreakpointResponse"); + } + + /** + * Lists all breakpoints of the debuggee that the user has access to. + * (breakpoints.listDebuggerDebuggeesBreakpoints) + * + * @param string $debuggeeId The debuggee id to list breakpoint from. + * @param array $optParams Optional parameters. + * + * @opt_param bool includeAllUsers When set to true the response includes the + * list of breakpoints set by any user, otherwise only breakpoints set by the + * caller. + * @opt_param bool stripResults When set to true the response breakpoints will + * be stripped of the results fields: stack_frames, evaluated_expressions and + * variable_table. + * @opt_param string action.value Only breakpoints with the specified action + * will pass the filter. + * @opt_param bool includeInactive When set to true the response includes active + * and inactive breakpoints, otherwise only active breakpoints are returned. + * @opt_param string waitToken A wait token that, if specified, blocks the call + * until the breakpoints list has changed, or a server selected timeout has + * expired. The value should be set from the last response to ListBreakpoints. + * The error code ABORTED is returned on wait timeout, which should be called + * again with the same wait_token. + * @return Google_Service_Clouddebugger_ListBreakpointsResponse + */ + public function listDebuggerDebuggeesBreakpoints($debuggeeId, $optParams = array()) + { + $params = array('debuggeeId' => $debuggeeId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Clouddebugger_ListBreakpointsResponse"); + } + + /** + * Sets the breakpoint to the debuggee. (breakpoints.set) + * + * @param string $debuggeeId The debuggee id to set the breakpoint to. + * @param Google_Breakpoint $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Clouddebugger_SetBreakpointResponse + */ + public function set($debuggeeId, Google_Service_Clouddebugger_Breakpoint $postBody, $optParams = array()) + { + $params = array('debuggeeId' => $debuggeeId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('set', array($params), "Google_Service_Clouddebugger_SetBreakpointResponse"); + } +} + + + + +class Google_Service_Clouddebugger_Breakpoint extends Google_Collection +{ + protected $collection_key = 'variableTable'; + protected $internal_gapi_mappings = array( + ); + public $action; + public $condition; + public $createTime; + protected $evaluatedExpressionsType = 'Google_Service_Clouddebugger_Variable'; + protected $evaluatedExpressionsDataType = 'array'; + public $expressions; + public $finalTime; + public $id; + public $isFinalState; + protected $locationType = 'Google_Service_Clouddebugger_SourceLocation'; + protected $locationDataType = ''; + public $logLevel; + public $logMessageFormat; + protected $stackFramesType = 'Google_Service_Clouddebugger_StackFrame'; + protected $stackFramesDataType = 'array'; + protected $statusType = 'Google_Service_Clouddebugger_StatusMessage'; + protected $statusDataType = ''; + public $userEmail; + protected $variableTableType = 'Google_Service_Clouddebugger_Variable'; + protected $variableTableDataType = 'array'; + + + public function setAction($action) + { + $this->action = $action; + } + public function getAction() + { + return $this->action; + } + public function setCondition($condition) + { + $this->condition = $condition; + } + public function getCondition() + { + return $this->condition; + } + public function setCreateTime($createTime) + { + $this->createTime = $createTime; + } + public function getCreateTime() + { + return $this->createTime; + } + public function setEvaluatedExpressions($evaluatedExpressions) + { + $this->evaluatedExpressions = $evaluatedExpressions; + } + public function getEvaluatedExpressions() + { + return $this->evaluatedExpressions; + } + public function setExpressions($expressions) + { + $this->expressions = $expressions; + } + public function getExpressions() + { + return $this->expressions; + } + public function setFinalTime($finalTime) + { + $this->finalTime = $finalTime; + } + public function getFinalTime() + { + return $this->finalTime; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIsFinalState($isFinalState) + { + $this->isFinalState = $isFinalState; + } + public function getIsFinalState() + { + return $this->isFinalState; + } + public function setLocation(Google_Service_Clouddebugger_SourceLocation $location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setLogLevel($logLevel) + { + $this->logLevel = $logLevel; + } + public function getLogLevel() + { + return $this->logLevel; + } + public function setLogMessageFormat($logMessageFormat) + { + $this->logMessageFormat = $logMessageFormat; + } + public function getLogMessageFormat() + { + return $this->logMessageFormat; + } + public function setStackFrames($stackFrames) + { + $this->stackFrames = $stackFrames; + } + public function getStackFrames() + { + return $this->stackFrames; + } + public function setStatus(Google_Service_Clouddebugger_StatusMessage $status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setUserEmail($userEmail) + { + $this->userEmail = $userEmail; + } + public function getUserEmail() + { + return $this->userEmail; + } + public function setVariableTable($variableTable) + { + $this->variableTable = $variableTable; + } + public function getVariableTable() + { + return $this->variableTable; + } +} + +class Google_Service_Clouddebugger_CloudRepoSourceContext extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $aliasName; + protected $repoIdType = 'Google_Service_Clouddebugger_RepoId'; + protected $repoIdDataType = ''; + public $revisionId; + + + public function setAliasName($aliasName) + { + $this->aliasName = $aliasName; + } + public function getAliasName() + { + return $this->aliasName; + } + public function setRepoId(Google_Service_Clouddebugger_RepoId $repoId) + { + $this->repoId = $repoId; + } + public function getRepoId() + { + return $this->repoId; + } + public function setRevisionId($revisionId) + { + $this->revisionId = $revisionId; + } + public function getRevisionId() + { + return $this->revisionId; + } +} + +class Google_Service_Clouddebugger_CloudWorkspaceId extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $name; + protected $repoIdType = 'Google_Service_Clouddebugger_RepoId'; + protected $repoIdDataType = ''; + + + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setRepoId(Google_Service_Clouddebugger_RepoId $repoId) + { + $this->repoId = $repoId; + } + public function getRepoId() + { + return $this->repoId; + } +} + +class Google_Service_Clouddebugger_CloudWorkspaceSourceContext extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $snapshotId; + protected $workspaceIdType = 'Google_Service_Clouddebugger_CloudWorkspaceId'; + protected $workspaceIdDataType = ''; + + + public function setSnapshotId($snapshotId) + { + $this->snapshotId = $snapshotId; + } + public function getSnapshotId() + { + return $this->snapshotId; + } + public function setWorkspaceId(Google_Service_Clouddebugger_CloudWorkspaceId $workspaceId) + { + $this->workspaceId = $workspaceId; + } + public function getWorkspaceId() + { + return $this->workspaceId; + } +} + +class Google_Service_Clouddebugger_Debuggee extends Google_Collection +{ + protected $collection_key = 'sourceContexts'; + protected $internal_gapi_mappings = array( + ); + public $agentVersion; + public $description; + public $id; + public $isDisabled; + public $isInactive; + public $labels; + public $project; + protected $sourceContextsType = 'Google_Service_Clouddebugger_SourceContext'; + protected $sourceContextsDataType = 'array'; + protected $statusType = 'Google_Service_Clouddebugger_StatusMessage'; + protected $statusDataType = ''; + public $uniquifier; + + + public function setAgentVersion($agentVersion) + { + $this->agentVersion = $agentVersion; + } + public function getAgentVersion() + { + return $this->agentVersion; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIsDisabled($isDisabled) + { + $this->isDisabled = $isDisabled; + } + public function getIsDisabled() + { + return $this->isDisabled; + } + public function setIsInactive($isInactive) + { + $this->isInactive = $isInactive; + } + public function getIsInactive() + { + return $this->isInactive; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setProject($project) + { + $this->project = $project; + } + public function getProject() + { + return $this->project; + } + public function setSourceContexts($sourceContexts) + { + $this->sourceContexts = $sourceContexts; + } + public function getSourceContexts() + { + return $this->sourceContexts; + } + public function setStatus(Google_Service_Clouddebugger_StatusMessage $status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setUniquifier($uniquifier) + { + $this->uniquifier = $uniquifier; + } + public function getUniquifier() + { + return $this->uniquifier; + } +} + +class Google_Service_Clouddebugger_DebuggeeLabels extends Google_Model +{ +} + +class Google_Service_Clouddebugger_Empty extends Google_Model +{ +} + +class Google_Service_Clouddebugger_FormatMessage extends Google_Collection +{ + protected $collection_key = 'parameters'; + protected $internal_gapi_mappings = array( + ); + public $format; + public $parameters; + + + public function setFormat($format) + { + $this->format = $format; + } + public function getFormat() + { + return $this->format; + } + public function setParameters($parameters) + { + $this->parameters = $parameters; + } + public function getParameters() + { + return $this->parameters; + } +} + +class Google_Service_Clouddebugger_GerritSourceContext extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $aliasName; + public $gerritProject; + public $hostUri; + public $revisionId; + + + public function setAliasName($aliasName) + { + $this->aliasName = $aliasName; + } + public function getAliasName() + { + return $this->aliasName; + } + public function setGerritProject($gerritProject) + { + $this->gerritProject = $gerritProject; + } + public function getGerritProject() + { + return $this->gerritProject; + } + public function setHostUri($hostUri) + { + $this->hostUri = $hostUri; + } + public function getHostUri() + { + return $this->hostUri; + } + public function setRevisionId($revisionId) + { + $this->revisionId = $revisionId; + } + public function getRevisionId() + { + return $this->revisionId; + } +} + +class Google_Service_Clouddebugger_GetBreakpointResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $breakpointType = 'Google_Service_Clouddebugger_Breakpoint'; + protected $breakpointDataType = ''; + + + public function setBreakpoint(Google_Service_Clouddebugger_Breakpoint $breakpoint) + { + $this->breakpoint = $breakpoint; + } + public function getBreakpoint() + { + return $this->breakpoint; + } +} + +class Google_Service_Clouddebugger_GitSourceContext extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $revisionId; + public $url; + + + public function setRevisionId($revisionId) + { + $this->revisionId = $revisionId; + } + public function getRevisionId() + { + return $this->revisionId; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_Clouddebugger_ListActiveBreakpointsResponse extends Google_Collection +{ + protected $collection_key = 'breakpoints'; + protected $internal_gapi_mappings = array( + ); + protected $breakpointsType = 'Google_Service_Clouddebugger_Breakpoint'; + protected $breakpointsDataType = 'array'; + public $nextWaitToken; + + + public function setBreakpoints($breakpoints) + { + $this->breakpoints = $breakpoints; + } + public function getBreakpoints() + { + return $this->breakpoints; + } + public function setNextWaitToken($nextWaitToken) + { + $this->nextWaitToken = $nextWaitToken; + } + public function getNextWaitToken() + { + return $this->nextWaitToken; + } +} + +class Google_Service_Clouddebugger_ListBreakpointsResponse extends Google_Collection +{ + protected $collection_key = 'breakpoints'; + protected $internal_gapi_mappings = array( + ); + protected $breakpointsType = 'Google_Service_Clouddebugger_Breakpoint'; + protected $breakpointsDataType = 'array'; + public $nextWaitToken; + + + public function setBreakpoints($breakpoints) + { + $this->breakpoints = $breakpoints; + } + public function getBreakpoints() + { + return $this->breakpoints; + } + public function setNextWaitToken($nextWaitToken) + { + $this->nextWaitToken = $nextWaitToken; + } + public function getNextWaitToken() + { + return $this->nextWaitToken; + } +} + +class Google_Service_Clouddebugger_ListDebuggeesResponse extends Google_Collection +{ + protected $collection_key = 'debuggees'; + protected $internal_gapi_mappings = array( + ); + protected $debuggeesType = 'Google_Service_Clouddebugger_Debuggee'; + protected $debuggeesDataType = 'array'; + + + public function setDebuggees($debuggees) + { + $this->debuggees = $debuggees; + } + public function getDebuggees() + { + return $this->debuggees; + } +} + +class Google_Service_Clouddebugger_ProjectRepoId extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $projectId; + public $repoName; + + + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } + public function setRepoName($repoName) + { + $this->repoName = $repoName; + } + public function getRepoName() + { + return $this->repoName; + } +} + +class Google_Service_Clouddebugger_RegisterDebuggeeRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $debuggeeType = 'Google_Service_Clouddebugger_Debuggee'; + protected $debuggeeDataType = ''; + + + public function setDebuggee(Google_Service_Clouddebugger_Debuggee $debuggee) + { + $this->debuggee = $debuggee; + } + public function getDebuggee() + { + return $this->debuggee; + } +} + +class Google_Service_Clouddebugger_RegisterDebuggeeResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $debuggeeType = 'Google_Service_Clouddebugger_Debuggee'; + protected $debuggeeDataType = ''; + + + public function setDebuggee(Google_Service_Clouddebugger_Debuggee $debuggee) + { + $this->debuggee = $debuggee; + } + public function getDebuggee() + { + return $this->debuggee; + } +} + +class Google_Service_Clouddebugger_RepoId extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $projectRepoIdType = 'Google_Service_Clouddebugger_ProjectRepoId'; + protected $projectRepoIdDataType = ''; + public $uid; + + + public function setProjectRepoId(Google_Service_Clouddebugger_ProjectRepoId $projectRepoId) + { + $this->projectRepoId = $projectRepoId; + } + public function getProjectRepoId() + { + return $this->projectRepoId; + } + public function setUid($uid) + { + $this->uid = $uid; + } + public function getUid() + { + return $this->uid; + } +} + +class Google_Service_Clouddebugger_SetBreakpointResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $breakpointType = 'Google_Service_Clouddebugger_Breakpoint'; + protected $breakpointDataType = ''; + + + public function setBreakpoint(Google_Service_Clouddebugger_Breakpoint $breakpoint) + { + $this->breakpoint = $breakpoint; + } + public function getBreakpoint() + { + return $this->breakpoint; + } +} + +class Google_Service_Clouddebugger_SourceContext extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $cloudRepoType = 'Google_Service_Clouddebugger_CloudRepoSourceContext'; + protected $cloudRepoDataType = ''; + protected $cloudWorkspaceType = 'Google_Service_Clouddebugger_CloudWorkspaceSourceContext'; + protected $cloudWorkspaceDataType = ''; + protected $gerritType = 'Google_Service_Clouddebugger_GerritSourceContext'; + protected $gerritDataType = ''; + protected $gitType = 'Google_Service_Clouddebugger_GitSourceContext'; + protected $gitDataType = ''; + + + public function setCloudRepo(Google_Service_Clouddebugger_CloudRepoSourceContext $cloudRepo) + { + $this->cloudRepo = $cloudRepo; + } + public function getCloudRepo() + { + return $this->cloudRepo; + } + public function setCloudWorkspace(Google_Service_Clouddebugger_CloudWorkspaceSourceContext $cloudWorkspace) + { + $this->cloudWorkspace = $cloudWorkspace; + } + public function getCloudWorkspace() + { + return $this->cloudWorkspace; + } + public function setGerrit(Google_Service_Clouddebugger_GerritSourceContext $gerrit) + { + $this->gerrit = $gerrit; + } + public function getGerrit() + { + return $this->gerrit; + } + public function setGit(Google_Service_Clouddebugger_GitSourceContext $git) + { + $this->git = $git; + } + public function getGit() + { + return $this->git; + } +} + +class Google_Service_Clouddebugger_SourceLocation extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $line; + public $path; + + + public function setLine($line) + { + $this->line = $line; + } + public function getLine() + { + return $this->line; + } + public function setPath($path) + { + $this->path = $path; + } + public function getPath() + { + return $this->path; + } +} + +class Google_Service_Clouddebugger_StackFrame extends Google_Collection +{ + protected $collection_key = 'locals'; + protected $internal_gapi_mappings = array( + ); + protected $argumentsType = 'Google_Service_Clouddebugger_Variable'; + protected $argumentsDataType = 'array'; + public $function; + protected $localsType = 'Google_Service_Clouddebugger_Variable'; + protected $localsDataType = 'array'; + protected $locationType = 'Google_Service_Clouddebugger_SourceLocation'; + protected $locationDataType = ''; + + + public function setArguments($arguments) + { + $this->arguments = $arguments; + } + public function getArguments() + { + return $this->arguments; + } + public function setFunction($function) + { + $this->function = $function; + } + public function getFunction() + { + return $this->function; + } + public function setLocals($locals) + { + $this->locals = $locals; + } + public function getLocals() + { + return $this->locals; + } + public function setLocation(Google_Service_Clouddebugger_SourceLocation $location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } +} + +class Google_Service_Clouddebugger_StatusMessage extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $descriptionType = 'Google_Service_Clouddebugger_FormatMessage'; + protected $descriptionDataType = ''; + public $isError; + public $refersTo; + + + public function setDescription(Google_Service_Clouddebugger_FormatMessage $description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setIsError($isError) + { + $this->isError = $isError; + } + public function getIsError() + { + return $this->isError; + } + public function setRefersTo($refersTo) + { + $this->refersTo = $refersTo; + } + public function getRefersTo() + { + return $this->refersTo; + } +} + +class Google_Service_Clouddebugger_UpdateActiveBreakpointRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $breakpointType = 'Google_Service_Clouddebugger_Breakpoint'; + protected $breakpointDataType = ''; + + + public function setBreakpoint(Google_Service_Clouddebugger_Breakpoint $breakpoint) + { + $this->breakpoint = $breakpoint; + } + public function getBreakpoint() + { + return $this->breakpoint; + } +} + +class Google_Service_Clouddebugger_UpdateActiveBreakpointResponse extends Google_Model +{ +} + +class Google_Service_Clouddebugger_Variable extends Google_Collection +{ + protected $collection_key = 'members'; + protected $internal_gapi_mappings = array( + ); + protected $membersType = 'Google_Service_Clouddebugger_Variable'; + protected $membersDataType = 'array'; + public $name; + protected $statusType = 'Google_Service_Clouddebugger_StatusMessage'; + protected $statusDataType = ''; + public $value; + public $varTableIndex; + + + public function setMembers($members) + { + $this->members = $members; + } + public function getMembers() + { + return $this->members; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setStatus(Google_Service_Clouddebugger_StatusMessage $status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } + public function setVarTableIndex($varTableIndex) + { + $this->varTableIndex = $varTableIndex; + } + public function getVarTableIndex() + { + return $this->varTableIndex; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Cloudlatencytest.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Cloudlatencytest.php new file mode 100644 index 0000000..3af58bb --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Cloudlatencytest.php @@ -0,0 +1,295 @@ + + * A Test API to report latency data.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Cloudlatencytest extends Google_Service +{ + /** View monitoring data for all of your Google Cloud and API projects. */ + const MONITORING_READONLY = + "https://www.googleapis.com/auth/monitoring.readonly"; + + public $statscollection; + + + /** + * Constructs the internal representation of the Cloudlatencytest service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://cloudlatencytest-pa.googleapis.com/'; + $this->servicePath = 'v2/statscollection/'; + $this->version = 'v2'; + $this->serviceName = 'cloudlatencytest'; + + $this->statscollection = new Google_Service_Cloudlatencytest_Statscollection_Resource( + $this, + $this->serviceName, + 'statscollection', + array( + 'methods' => array( + 'updateaggregatedstats' => array( + 'path' => 'updateaggregatedstats', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'updatestats' => array( + 'path' => 'updatestats', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + } +} + + +/** + * The "statscollection" collection of methods. + * Typical usage is: + * + * $cloudlatencytestService = new Google_Service_Cloudlatencytest(...); + * $statscollection = $cloudlatencytestService->statscollection; + * + */ +class Google_Service_Cloudlatencytest_Statscollection_Resource extends Google_Service_Resource +{ + + /** + * RPC to update the new TCP stats. (statscollection.updateaggregatedstats) + * + * @param Google_AggregatedStats $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Cloudlatencytest_AggregatedStatsReply + */ + public function updateaggregatedstats(Google_Service_Cloudlatencytest_AggregatedStats $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('updateaggregatedstats', array($params), "Google_Service_Cloudlatencytest_AggregatedStatsReply"); + } + + /** + * RPC to update the new TCP stats. (statscollection.updatestats) + * + * @param Google_Stats $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Cloudlatencytest_StatsReply + */ + public function updatestats(Google_Service_Cloudlatencytest_Stats $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('updatestats', array($params), "Google_Service_Cloudlatencytest_StatsReply"); + } +} + + + + +class Google_Service_Cloudlatencytest_AggregatedStats extends Google_Collection +{ + protected $collection_key = 'stats'; + protected $internal_gapi_mappings = array( + ); + protected $statsType = 'Google_Service_Cloudlatencytest_Stats'; + protected $statsDataType = 'array'; + + + public function setStats($stats) + { + $this->stats = $stats; + } + public function getStats() + { + return $this->stats; + } +} + +class Google_Service_Cloudlatencytest_AggregatedStatsReply extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $testValue; + + + public function setTestValue($testValue) + { + $this->testValue = $testValue; + } + public function getTestValue() + { + return $this->testValue; + } +} + +class Google_Service_Cloudlatencytest_DoubleValue extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $label; + public $value; + + + public function setLabel($label) + { + $this->label = $label; + } + public function getLabel() + { + return $this->label; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Cloudlatencytest_IntValue extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $label; + public $value; + + + public function setLabel($label) + { + $this->label = $label; + } + public function getLabel() + { + return $this->label; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Cloudlatencytest_Stats extends Google_Collection +{ + protected $collection_key = 'stringValues'; + protected $internal_gapi_mappings = array( + ); + protected $doubleValuesType = 'Google_Service_Cloudlatencytest_DoubleValue'; + protected $doubleValuesDataType = 'array'; + protected $intValuesType = 'Google_Service_Cloudlatencytest_IntValue'; + protected $intValuesDataType = 'array'; + protected $stringValuesType = 'Google_Service_Cloudlatencytest_StringValue'; + protected $stringValuesDataType = 'array'; + public $time; + + + public function setDoubleValues($doubleValues) + { + $this->doubleValues = $doubleValues; + } + public function getDoubleValues() + { + return $this->doubleValues; + } + public function setIntValues($intValues) + { + $this->intValues = $intValues; + } + public function getIntValues() + { + return $this->intValues; + } + public function setStringValues($stringValues) + { + $this->stringValues = $stringValues; + } + public function getStringValues() + { + return $this->stringValues; + } + public function setTime($time) + { + $this->time = $time; + } + public function getTime() + { + return $this->time; + } +} + +class Google_Service_Cloudlatencytest_StatsReply extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $testValue; + + + public function setTestValue($testValue) + { + $this->testValue = $testValue; + } + public function getTestValue() + { + return $this->testValue; + } +} + +class Google_Service_Cloudlatencytest_StringValue extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $label; + public $value; + + + public function setLabel($label) + { + $this->label = $label; + } + public function getLabel() + { + return $this->label; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Cloudresourcemanager.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Cloudresourcemanager.php new file mode 100644 index 0000000..9d26a1d --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Cloudresourcemanager.php @@ -0,0 +1,912 @@ + + * The Google Cloud Resource Manager API provides methods for creating, reading, + * and updating of project metadata.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Cloudresourcemanager extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + + public $organizations; + public $projects; + + + /** + * Constructs the internal representation of the Cloudresourcemanager service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://cloudresourcemanager.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1beta1'; + $this->serviceName = 'cloudresourcemanager'; + + $this->organizations = new Google_Service_Cloudresourcemanager_Organizations_Resource( + $this, + $this->serviceName, + 'organizations', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v1beta1/organizations/{organizationId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'organizationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getIamPolicy' => array( + 'path' => 'v1beta1/organizations/{resource}:getIamPolicy', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1beta1/organizations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'setIamPolicy' => array( + 'path' => 'v1beta1/organizations/{resource}:setIamPolicy', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'testIamPermissions' => array( + 'path' => 'v1beta1/organizations/{resource}:testIamPermissions', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'v1beta1/organizations/{organizationId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'organizationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects = new Google_Service_Cloudresourcemanager_Projects_Resource( + $this, + $this->serviceName, + 'projects', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1beta1/projects', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'delete' => array( + 'path' => 'v1beta1/projects/{projectId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1beta1/projects/{projectId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getIamPolicy' => array( + 'path' => 'v1beta1/projects/{resource}:getIamPolicy', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1beta1/projects', + 'httpMethod' => 'GET', + 'parameters' => array( + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'setIamPolicy' => array( + 'path' => 'v1beta1/projects/{resource}:setIamPolicy', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'testIamPermissions' => array( + 'path' => 'v1beta1/projects/{resource}:testIamPermissions', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'undelete' => array( + 'path' => 'v1beta1/projects/{projectId}:undelete', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'v1beta1/projects/{projectId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "organizations" collection of methods. + * Typical usage is: + * + * $cloudresourcemanagerService = new Google_Service_Cloudresourcemanager(...); + * $organizations = $cloudresourcemanagerService->organizations; + * + */ +class Google_Service_Cloudresourcemanager_Organizations_Resource extends Google_Service_Resource +{ + + /** + * Fetches an Organization resource by id. (organizations.get) + * + * @param string $organizationId The id of the Organization resource to fetch. + * @param array $optParams Optional parameters. + * @return Google_Service_Cloudresourcemanager_Organization + */ + public function get($organizationId, $optParams = array()) + { + $params = array('organizationId' => $organizationId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Cloudresourcemanager_Organization"); + } + + /** + * Gets the access control policy for a Organization resource. May be empty if + * no such policy or resource exists. (organizations.getIamPolicy) + * + * @param string $resource REQUIRED: The resource for which policy is being + * requested. Resource is usually specified as a path, such as, + * `projects/{project}`. + * @param Google_GetIamPolicyRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Cloudresourcemanager_Policy + */ + public function getIamPolicy($resource, Google_Service_Cloudresourcemanager_GetIamPolicyRequest $postBody, $optParams = array()) + { + $params = array('resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('getIamPolicy', array($params), "Google_Service_Cloudresourcemanager_Policy"); + } + + /** + * Query Organization resources. (organizations.listOrganizations) + * + * @param array $optParams Optional parameters. + * + * @opt_param string filter An optional query string used to filter the + * Organizations to be return in the response. Filter rules are case- + * insensitive. Organizations may be filtered by `owner.directoryCustomerId` or + * by `domain`, where the domain is a Google for Work domain, for example: + * |Filter|Description| |------|-----------| + * |owner.directorycustomerid:123456789|Organizations with + * `owner.directory_customer_id` equal to `123456789`.| + * |domain:google.com|Organizations corresponding to the domain `google.com`.| + * This field is optional. + * @opt_param string pageToken A pagination token returned from a previous call + * to ListOrganizations that indicates from where listing should continue. This + * field is optional. + * @opt_param int pageSize The maximum number of Organizations to return in the + * response. This field is optional. + * @return Google_Service_Cloudresourcemanager_ListOrganizationsResponse + */ + public function listOrganizations($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Cloudresourcemanager_ListOrganizationsResponse"); + } + + /** + * Sets the access control policy on a Organization resource. Replaces any + * existing policy. (organizations.setIamPolicy) + * + * @param string $resource REQUIRED: The resource for which policy is being + * specified. `resource` is usually specified as a path, such as, + * `projects/{project}/zones/{zone}/disks/{disk}`. + * @param Google_SetIamPolicyRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Cloudresourcemanager_Policy + */ + public function setIamPolicy($resource, Google_Service_Cloudresourcemanager_SetIamPolicyRequest $postBody, $optParams = array()) + { + $params = array('resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setIamPolicy', array($params), "Google_Service_Cloudresourcemanager_Policy"); + } + + /** + * Returns permissions that a caller has on the specified Organization. + * (organizations.testIamPermissions) + * + * @param string $resource REQUIRED: The resource for which policy detail is + * being requested. `resource` is usually specified as a path, such as, + * `projects/{project}`. + * @param Google_TestIamPermissionsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Cloudresourcemanager_TestIamPermissionsResponse + */ + public function testIamPermissions($resource, Google_Service_Cloudresourcemanager_TestIamPermissionsRequest $postBody, $optParams = array()) + { + $params = array('resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('testIamPermissions', array($params), "Google_Service_Cloudresourcemanager_TestIamPermissionsResponse"); + } + + /** + * Updates an Organization resource. (organizations.update) + * + * @param string $organizationId An immutable id for the Organization that is + * assigned on creation. This should be omitted when creating a new + * Organization. This field is read-only. + * @param Google_Organization $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Cloudresourcemanager_Organization + */ + public function update($organizationId, Google_Service_Cloudresourcemanager_Organization $postBody, $optParams = array()) + { + $params = array('organizationId' => $organizationId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Cloudresourcemanager_Organization"); + } +} + +/** + * The "projects" collection of methods. + * Typical usage is: + * + * $cloudresourcemanagerService = new Google_Service_Cloudresourcemanager(...); + * $projects = $cloudresourcemanagerService->projects; + * + */ +class Google_Service_Cloudresourcemanager_Projects_Resource extends Google_Service_Resource +{ + + /** + * Creates a project resource. Initially, the project resource is owned by its + * creator exclusively. The creator can later grant permission to others to read + * or update the project. Several APIs are activated automatically for the + * project, including Google Cloud Storage. (projects.create) + * + * @param Google_Project $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Cloudresourcemanager_Project + */ + public function create(Google_Service_Cloudresourcemanager_Project $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Cloudresourcemanager_Project"); + } + + /** + * Marks the project identified by the specified `project_id` (for example, `my- + * project-123`) for deletion. This method will only affect the project if the + * following criteria are met: + The project does not have a billing account + * associated with it. + The project has a lifecycle state of + * [ACTIVE][google.cloudresourcemanager.projects.v1beta1.LifecycleState.ACTIVE]. + * This method changes the project's lifecycle state from + * [ACTIVE][google.cloudresourcemanager.projects.v1beta1.LifecycleState.ACTIVE] + * to [DELETE_REQUESTED] [google.cloudresourcemanager.projects.v1beta1.Lifecycle + * State.DELETE_REQUESTED]. The deletion starts at an unspecified time, at which + * point the lifecycle state changes to [DELETE_IN_PROGRESS] [google.cloudresour + * cemanager.projects.v1beta1.LifecycleState.DELETE_IN_PROGRESS]. Until the + * deletion completes, you can check the lifecycle state checked by retrieving + * the project with [GetProject] + * [google.cloudresourcemanager.projects.v1beta1.DeveloperProjects.GetProject], + * and the project remains visible to [ListProjects] [google.cloudresourcemanage + * r.projects.v1beta1.DeveloperProjects.ListProjects]. However, you cannot + * update the project. After the deletion completes, the project is not + * retrievable by the [GetProject] + * [google.cloudresourcemanager.projects.v1beta1.DeveloperProjects.GetProject] + * and [ListProjects] + * [google.cloudresourcemanager.projects.v1beta1.DeveloperProjects.ListProjects] + * methods. The caller must have modify permissions for this project. + * (projects.delete) + * + * @param string $projectId The project ID (for example, `foo-bar-123`). + * Required. + * @param array $optParams Optional parameters. + * @return Google_Service_Cloudresourcemanager_Empty + */ + public function delete($projectId, $optParams = array()) + { + $params = array('projectId' => $projectId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Cloudresourcemanager_Empty"); + } + + /** + * Retrieves the project identified by the specified `project_id` (for example, + * `my-project-123`). The caller must have read permissions for this project. + * (projects.get) + * + * @param string $projectId The project ID (for example, `my-project-123`). + * Required. + * @param array $optParams Optional parameters. + * @return Google_Service_Cloudresourcemanager_Project + */ + public function get($projectId, $optParams = array()) + { + $params = array('projectId' => $projectId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Cloudresourcemanager_Project"); + } + + /** + * Returns the IAM access control policy for specified project. + * (projects.getIamPolicy) + * + * @param string $resource REQUIRED: The resource for which policy is being + * requested. Resource is usually specified as a path, such as, + * `projects/{project}`. + * @param Google_GetIamPolicyRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Cloudresourcemanager_Policy + */ + public function getIamPolicy($resource, Google_Service_Cloudresourcemanager_GetIamPolicyRequest $postBody, $optParams = array()) + { + $params = array('resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('getIamPolicy', array($params), "Google_Service_Cloudresourcemanager_Policy"); + } + + /** + * Lists projects that are visible to the user and satisfy the specified filter. + * This method returns projects in an unspecified order. New projects do not + * necessarily appear at the end of the list. (projects.listProjects) + * + * @param array $optParams Optional parameters. + * + * @opt_param string filter An expression for filtering the results of the + * request. Filter rules are case insensitive. The fields eligible for filtering + * are: + `name` + `id` + labels.key where *key* is the name of a label Some + * examples of using labels as filters: |Filter|Description| + * |------|-----------| |name:*|The project has a name.| |name:Howl|The + * project's name is `Howl` or `howl`.| |name:HOWL|Equivalent to above.| + * |NAME:howl|Equivalent to above.| |labels.color:*|The project has the label + * `color`.| |labels.color:red|The project's label `color` has the value `red`.| + * |labels.color:red label.size:big|The project's label `color` has the value + * `red` and its label `size` has the value `big`. Optional. + * @opt_param string pageToken A pagination token returned from a previous call + * to ListProject that indicates from where listing should continue. Note: + * pagination is not yet supported; the server ignores this field. Optional. + * @opt_param int pageSize The maximum number of Projects to return in the + * response. The server can return fewer projects than requested. If + * unspecified, server picks an appropriate default. Note: pagination is not yet + * supported; the server ignores this field. Optional. + * @return Google_Service_Cloudresourcemanager_ListProjectsResponse + */ + public function listProjects($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Cloudresourcemanager_ListProjectsResponse"); + } + + /** + * Sets the IAM access control policy for the specified project. We do not + * currently support 'domain:' prefixed members in a Binding of a Policy. + * Calling this method requires enabling the App Engine Admin API. + * (projects.setIamPolicy) + * + * @param string $resource REQUIRED: The resource for which policy is being + * specified. `resource` is usually specified as a path, such as, + * `projects/{project}/zones/{zone}/disks/{disk}`. + * @param Google_SetIamPolicyRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Cloudresourcemanager_Policy + */ + public function setIamPolicy($resource, Google_Service_Cloudresourcemanager_SetIamPolicyRequest $postBody, $optParams = array()) + { + $params = array('resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setIamPolicy', array($params), "Google_Service_Cloudresourcemanager_Policy"); + } + + /** + * Tests the specified permissions against the IAM access control policy for the + * specified project. (projects.testIamPermissions) + * + * @param string $resource REQUIRED: The resource for which policy detail is + * being requested. `resource` is usually specified as a path, such as, + * `projects/{project}`. + * @param Google_TestIamPermissionsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Cloudresourcemanager_TestIamPermissionsResponse + */ + public function testIamPermissions($resource, Google_Service_Cloudresourcemanager_TestIamPermissionsRequest $postBody, $optParams = array()) + { + $params = array('resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('testIamPermissions', array($params), "Google_Service_Cloudresourcemanager_TestIamPermissionsResponse"); + } + + /** + * Restores the project identified by the specified `project_id` (for example, + * `my-project-123`). You can only use this method for a project that has a + * lifecycle state of [DELETE_REQUESTED] [google.cloudresourcemanager.projects.v + * 1beta1.LifecycleState.DELETE_REQUESTED]. After deletion starts, as indicated + * by a lifecycle state of [DELETE_IN_PROGRESS] [google.cloudresourcemanager.pro + * jects.v1beta1.LifecycleState.DELETE_IN_PROGRESS], the project cannot be + * restored. The caller must have modify permissions for this project. + * (projects.undelete) + * + * @param string $projectId The project ID (for example, `foo-bar-123`). + * Required. + * @param array $optParams Optional parameters. + * @return Google_Service_Cloudresourcemanager_Empty + */ + public function undelete($projectId, $optParams = array()) + { + $params = array('projectId' => $projectId); + $params = array_merge($params, $optParams); + return $this->call('undelete', array($params), "Google_Service_Cloudresourcemanager_Empty"); + } + + /** + * Updates the attributes of the project identified by the specified + * `project_id` (for example, `my-project-123`). The caller must have modify + * permissions for this project. (projects.update) + * + * @param string $projectId The project ID (for example, `my-project-123`). + * Required. + * @param Google_Project $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Cloudresourcemanager_Project + */ + public function update($projectId, Google_Service_Cloudresourcemanager_Project $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Cloudresourcemanager_Project"); + } +} + + + + +class Google_Service_Cloudresourcemanager_Binding extends Google_Collection +{ + protected $collection_key = 'members'; + protected $internal_gapi_mappings = array( + ); + public $members; + public $role; + + + public function setMembers($members) + { + $this->members = $members; + } + public function getMembers() + { + return $this->members; + } + public function setRole($role) + { + $this->role = $role; + } + public function getRole() + { + return $this->role; + } +} + +class Google_Service_Cloudresourcemanager_Empty extends Google_Model +{ +} + +class Google_Service_Cloudresourcemanager_GetIamPolicyRequest extends Google_Model +{ +} + +class Google_Service_Cloudresourcemanager_ListOrganizationsResponse extends Google_Collection +{ + protected $collection_key = 'organizations'; + protected $internal_gapi_mappings = array( + ); + public $nextPageToken; + protected $organizationsType = 'Google_Service_Cloudresourcemanager_Organization'; + protected $organizationsDataType = 'array'; + + + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setOrganizations($organizations) + { + $this->organizations = $organizations; + } + public function getOrganizations() + { + return $this->organizations; + } +} + +class Google_Service_Cloudresourcemanager_ListProjectsResponse extends Google_Collection +{ + protected $collection_key = 'projects'; + protected $internal_gapi_mappings = array( + ); + public $nextPageToken; + protected $projectsType = 'Google_Service_Cloudresourcemanager_Project'; + protected $projectsDataType = 'array'; + + + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setProjects($projects) + { + $this->projects = $projects; + } + public function getProjects() + { + return $this->projects; + } +} + +class Google_Service_Cloudresourcemanager_Organization extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $displayName; + public $organizationId; + protected $ownerType = 'Google_Service_Cloudresourcemanager_OrganizationOwner'; + protected $ownerDataType = ''; + + + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setOrganizationId($organizationId) + { + $this->organizationId = $organizationId; + } + public function getOrganizationId() + { + return $this->organizationId; + } + public function setOwner(Google_Service_Cloudresourcemanager_OrganizationOwner $owner) + { + $this->owner = $owner; + } + public function getOwner() + { + return $this->owner; + } +} + +class Google_Service_Cloudresourcemanager_OrganizationOwner extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $directoryCustomerId; + + + public function setDirectoryCustomerId($directoryCustomerId) + { + $this->directoryCustomerId = $directoryCustomerId; + } + public function getDirectoryCustomerId() + { + return $this->directoryCustomerId; + } +} + +class Google_Service_Cloudresourcemanager_Policy extends Google_Collection +{ + protected $collection_key = 'bindings'; + protected $internal_gapi_mappings = array( + ); + protected $bindingsType = 'Google_Service_Cloudresourcemanager_Binding'; + protected $bindingsDataType = 'array'; + public $etag; + public $version; + + + public function setBindings($bindings) + { + $this->bindings = $bindings; + } + public function getBindings() + { + return $this->bindings; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} + +class Google_Service_Cloudresourcemanager_Project extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $createTime; + public $labels; + public $lifecycleState; + public $name; + protected $parentType = 'Google_Service_Cloudresourcemanager_ResourceId'; + protected $parentDataType = ''; + public $projectId; + public $projectNumber; + + + public function setCreateTime($createTime) + { + $this->createTime = $createTime; + } + public function getCreateTime() + { + return $this->createTime; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setLifecycleState($lifecycleState) + { + $this->lifecycleState = $lifecycleState; + } + public function getLifecycleState() + { + return $this->lifecycleState; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setParent(Google_Service_Cloudresourcemanager_ResourceId $parent) + { + $this->parent = $parent; + } + public function getParent() + { + return $this->parent; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } + public function setProjectNumber($projectNumber) + { + $this->projectNumber = $projectNumber; + } + public function getProjectNumber() + { + return $this->projectNumber; + } +} + +class Google_Service_Cloudresourcemanager_ProjectLabels extends Google_Model +{ +} + +class Google_Service_Cloudresourcemanager_ResourceId extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $type; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Cloudresourcemanager_SetIamPolicyRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $policyType = 'Google_Service_Cloudresourcemanager_Policy'; + protected $policyDataType = ''; + + + public function setPolicy(Google_Service_Cloudresourcemanager_Policy $policy) + { + $this->policy = $policy; + } + public function getPolicy() + { + return $this->policy; + } +} + +class Google_Service_Cloudresourcemanager_TestIamPermissionsRequest extends Google_Collection +{ + protected $collection_key = 'permissions'; + protected $internal_gapi_mappings = array( + ); + public $permissions; + + + public function setPermissions($permissions) + { + $this->permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } +} + +class Google_Service_Cloudresourcemanager_TestIamPermissionsResponse extends Google_Collection +{ + protected $collection_key = 'permissions'; + protected $internal_gapi_mappings = array( + ); + public $permissions; + + + public function setPermissions($permissions) + { + $this->permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Cloudsearch.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Cloudsearch.php new file mode 100644 index 0000000..4a72df8 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Cloudsearch.php @@ -0,0 +1,53 @@ + + * The Google Cloud Search API defines an application interface to index + * documents that contain structured data and to search those indexes. It + * supports full text search.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Cloudsearch extends Google_Service +{ + + + + + + /** + * Constructs the internal representation of the Cloudsearch service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'cloudsearch'; + + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Cloudtrace.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Cloudtrace.php new file mode 100644 index 0000000..fe4857f --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Cloudtrace.php @@ -0,0 +1,460 @@ + + * The Google Cloud Trace API provides services for reading and writing runtime + * trace data for Cloud applications.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Cloudtrace extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + + public $projects; + public $projects_traces; + public $v1; + + + /** + * Constructs the internal representation of the Cloudtrace service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://cloudtrace.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'cloudtrace'; + + $this->projects = new Google_Service_Cloudtrace_Projects_Resource( + $this, + $this->serviceName, + 'projects', + array( + 'methods' => array( + 'patchTraces' => array( + 'path' => 'v1/projects/{projectId}/traces', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects_traces = new Google_Service_Cloudtrace_ProjectsTraces_Resource( + $this, + $this->serviceName, + 'traces', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v1/projects/{projectId}/traces/{traceId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'traceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/projects/{projectId}/traces', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'endTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->v1 = new Google_Service_Cloudtrace_V1_Resource( + $this, + $this->serviceName, + 'v1', + array( + 'methods' => array( + 'getDiscovery' => array( + 'path' => 'v1/discovery', + 'httpMethod' => 'GET', + 'parameters' => array( + 'labels' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'version' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'args' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'format' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "projects" collection of methods. + * Typical usage is: + * + * $cloudtraceService = new Google_Service_Cloudtrace(...); + * $projects = $cloudtraceService->projects; + * + */ +class Google_Service_Cloudtrace_Projects_Resource extends Google_Service_Resource +{ + + /** + * Updates the existing traces specified by PatchTracesRequest and inserts the + * new traces. Any existing trace or span fields included in an update are + * overwritten by the update, and any additional fields in an update are merged + * with the existing trace data. (projects.patchTraces) + * + * @param string $projectId The project id of the trace to patch. + * @param Google_Traces $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Cloudtrace_Empty + */ + public function patchTraces($projectId, Google_Service_Cloudtrace_Traces $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patchTraces', array($params), "Google_Service_Cloudtrace_Empty"); + } +} + +/** + * The "traces" collection of methods. + * Typical usage is: + * + * $cloudtraceService = new Google_Service_Cloudtrace(...); + * $traces = $cloudtraceService->traces; + * + */ +class Google_Service_Cloudtrace_ProjectsTraces_Resource extends Google_Service_Resource +{ + + /** + * Gets one trace by id. (traces.get) + * + * @param string $projectId The project id of the trace to return. + * @param string $traceId The trace id of the trace to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Cloudtrace_Trace + */ + public function get($projectId, $traceId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'traceId' => $traceId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Cloudtrace_Trace"); + } + + /** + * List traces matching the filter expression. (traces.listProjectsTraces) + * + * @param string $projectId The stringified-version of the project id. + * @param array $optParams Optional parameters. + * + * @opt_param string orderBy The trace field used to establish the order of + * traces returned by the ListTraces method. Possible options are: trace_id name + * (name field of root span) duration (different between end_time and start_time + * fields of root span) start (start_time field of root span) Descending order + * can be specified by appending "desc" to the sort field: name desc Only one + * sort field is permitted, though this may change in the future. + * @opt_param int pageSize Maximum number of topics to return. If not specified + * or <= 0, the implementation will select a reasonable value. The implemenation + * may always return fewer than the requested page_size. + * @opt_param string filter An optional filter for the request. + * @opt_param string pageToken The token identifying the page of results to + * return from the ListTraces method. If present, this value is should be taken + * from the next_page_token field of a previous ListTracesResponse. + * @opt_param string startTime End of the time interval (inclusive). + * @opt_param string endTime Start of the time interval (exclusive). + * @opt_param string view ViewType specifies the projection of the result. + * @return Google_Service_Cloudtrace_ListTracesResponse + */ + public function listProjectsTraces($projectId, $optParams = array()) + { + $params = array('projectId' => $projectId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Cloudtrace_ListTracesResponse"); + } +} + +/** + * The "v1" collection of methods. + * Typical usage is: + * + * $cloudtraceService = new Google_Service_Cloudtrace(...); + * $v1 = $cloudtraceService->v1; + * + */ +class Google_Service_Cloudtrace_V1_Resource extends Google_Service_Resource +{ + + /** + * Returns a discovery document in the specified `format`. The typeurl in the + * returned google.protobuf.Any value depends on the requested format. + * (v1.getDiscovery) + * + * @param array $optParams Optional parameters. + * + * @opt_param string labels A list of labels (like visibility) influencing the + * scope of the requested doc. + * @opt_param string version The API version of the requested discovery doc. + * @opt_param string args Any additional arguments. + * @opt_param string format The format requested for discovery. + */ + public function getDiscovery($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('getDiscovery', array($params)); + } +} + + + + +class Google_Service_Cloudtrace_Empty extends Google_Model +{ +} + +class Google_Service_Cloudtrace_ListTracesResponse extends Google_Collection +{ + protected $collection_key = 'traces'; + protected $internal_gapi_mappings = array( + ); + public $nextPageToken; + protected $tracesType = 'Google_Service_Cloudtrace_Trace'; + protected $tracesDataType = 'array'; + + + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTraces($traces) + { + $this->traces = $traces; + } + public function getTraces() + { + return $this->traces; + } +} + +class Google_Service_Cloudtrace_Trace extends Google_Collection +{ + protected $collection_key = 'spans'; + protected $internal_gapi_mappings = array( + ); + public $projectId; + protected $spansType = 'Google_Service_Cloudtrace_TraceSpan'; + protected $spansDataType = 'array'; + public $traceId; + + + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } + public function setSpans($spans) + { + $this->spans = $spans; + } + public function getSpans() + { + return $this->spans; + } + public function setTraceId($traceId) + { + $this->traceId = $traceId; + } + public function getTraceId() + { + return $this->traceId; + } +} + +class Google_Service_Cloudtrace_TraceSpan extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $endTime; + public $kind; + public $labels; + public $name; + public $parentSpanId; + public $spanId; + public $startTime; + + + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setParentSpanId($parentSpanId) + { + $this->parentSpanId = $parentSpanId; + } + public function getParentSpanId() + { + return $this->parentSpanId; + } + public function setSpanId($spanId) + { + $this->spanId = $spanId; + } + public function getSpanId() + { + return $this->spanId; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } +} + +class Google_Service_Cloudtrace_TraceSpanLabels extends Google_Model +{ +} + +class Google_Service_Cloudtrace_Traces extends Google_Collection +{ + protected $collection_key = 'traces'; + protected $internal_gapi_mappings = array( + ); + protected $tracesType = 'Google_Service_Cloudtrace_Trace'; + protected $tracesDataType = 'array'; + + + public function setTraces($traces) + { + $this->traces = $traces; + } + public function getTraces() + { + return $this->traces; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Compute.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Compute.php new file mode 100644 index 0000000..5a75948 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Compute.php @@ -0,0 +1,16857 @@ + + * API for the Google Compute Engine service.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Compute extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** View and manage your Google Compute Engine resources. */ + const COMPUTE = + "https://www.googleapis.com/auth/compute"; + /** View your Google Compute Engine resources. */ + const COMPUTE_READONLY = + "https://www.googleapis.com/auth/compute.readonly"; + /** Manage your data and permissions in Google Cloud Storage. */ + const DEVSTORAGE_FULL_CONTROL = + "https://www.googleapis.com/auth/devstorage.full_control"; + /** View your data in Google Cloud Storage. */ + const DEVSTORAGE_READ_ONLY = + "https://www.googleapis.com/auth/devstorage.read_only"; + /** Manage your data in Google Cloud Storage. */ + const DEVSTORAGE_READ_WRITE = + "https://www.googleapis.com/auth/devstorage.read_write"; + + public $addresses; + public $autoscalers; + public $backendServices; + public $diskTypes; + public $disks; + public $firewalls; + public $forwardingRules; + public $globalAddresses; + public $globalForwardingRules; + public $globalOperations; + public $httpHealthChecks; + public $images; + public $instanceGroupManagers; + public $instanceGroups; + public $instanceTemplates; + public $instances; + public $licenses; + public $machineTypes; + public $networks; + public $projects; + public $regionOperations; + public $regions; + public $routes; + public $snapshots; + public $targetHttpProxies; + public $targetInstances; + public $targetPools; + public $targetVpnGateways; + public $urlMaps; + public $vpnTunnels; + public $zoneOperations; + public $zones; + + + /** + * Constructs the internal representation of the Compute service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'compute/v1/projects/'; + $this->version = 'v1'; + $this->serviceName = 'compute'; + + $this->addresses = new Google_Service_Compute_Addresses_Resource( + $this, + $this->serviceName, + 'addresses', + array( + 'methods' => array( + 'aggregatedList' => array( + 'path' => '{project}/aggregated/addresses', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'delete' => array( + 'path' => '{project}/regions/{region}/addresses/{address}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'address' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/regions/{region}/addresses/{address}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'address' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/regions/{region}/addresses', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/regions/{region}/addresses', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->autoscalers = new Google_Service_Compute_Autoscalers_Resource( + $this, + $this->serviceName, + 'autoscalers', + array( + 'methods' => array( + 'aggregatedList' => array( + 'path' => '{project}/aggregated/autoscalers', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'delete' => array( + 'path' => '{project}/zones/{zone}/autoscalers/{autoscaler}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'autoscaler' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/zones/{zone}/autoscalers/{autoscaler}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'autoscaler' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/zones/{zone}/autoscalers', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/zones/{zone}/autoscalers', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => '{project}/zones/{zone}/autoscalers', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'autoscaler' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{project}/zones/{zone}/autoscalers', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'autoscaler' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->backendServices = new Google_Service_Compute_BackendServices_Resource( + $this, + $this->serviceName, + 'backendServices', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{project}/global/backendServices/{backendService}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'backendService' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/global/backendServices/{backendService}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'backendService' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getHealth' => array( + 'path' => '{project}/global/backendServices/{backendService}/getHealth', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'backendService' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/global/backendServices', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/backendServices', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => '{project}/global/backendServices/{backendService}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'backendService' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{project}/global/backendServices/{backendService}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'backendService' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->diskTypes = new Google_Service_Compute_DiskTypes_Resource( + $this, + $this->serviceName, + 'diskTypes', + array( + 'methods' => array( + 'aggregatedList' => array( + 'path' => '{project}/aggregated/diskTypes', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'get' => array( + 'path' => '{project}/zones/{zone}/diskTypes/{diskType}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'diskType' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/zones/{zone}/diskTypes', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->disks = new Google_Service_Compute_Disks_Resource( + $this, + $this->serviceName, + 'disks', + array( + 'methods' => array( + 'aggregatedList' => array( + 'path' => '{project}/aggregated/disks', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'createSnapshot' => array( + 'path' => '{project}/zones/{zone}/disks/{disk}/createSnapshot', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'disk' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => '{project}/zones/{zone}/disks/{disk}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'disk' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/zones/{zone}/disks/{disk}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'disk' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/zones/{zone}/disks', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sourceImage' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => '{project}/zones/{zone}/disks', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->firewalls = new Google_Service_Compute_Firewalls_Resource( + $this, + $this->serviceName, + 'firewalls', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{project}/global/firewalls/{firewall}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'firewall' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/global/firewalls/{firewall}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'firewall' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/global/firewalls', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/firewalls', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => '{project}/global/firewalls/{firewall}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'firewall' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{project}/global/firewalls/{firewall}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'firewall' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->forwardingRules = new Google_Service_Compute_ForwardingRules_Resource( + $this, + $this->serviceName, + 'forwardingRules', + array( + 'methods' => array( + 'aggregatedList' => array( + 'path' => '{project}/aggregated/forwardingRules', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'delete' => array( + 'path' => '{project}/regions/{region}/forwardingRules/{forwardingRule}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'forwardingRule' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/regions/{region}/forwardingRules/{forwardingRule}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'forwardingRule' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/regions/{region}/forwardingRules', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/regions/{region}/forwardingRules', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'setTarget' => array( + 'path' => '{project}/regions/{region}/forwardingRules/{forwardingRule}/setTarget', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'forwardingRule' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->globalAddresses = new Google_Service_Compute_GlobalAddresses_Resource( + $this, + $this->serviceName, + 'globalAddresses', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{project}/global/addresses/{address}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'address' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/global/addresses/{address}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'address' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/global/addresses', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/addresses', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->globalForwardingRules = new Google_Service_Compute_GlobalForwardingRules_Resource( + $this, + $this->serviceName, + 'globalForwardingRules', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{project}/global/forwardingRules/{forwardingRule}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'forwardingRule' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/global/forwardingRules/{forwardingRule}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'forwardingRule' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/global/forwardingRules', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/forwardingRules', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'setTarget' => array( + 'path' => '{project}/global/forwardingRules/{forwardingRule}/setTarget', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'forwardingRule' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->globalOperations = new Google_Service_Compute_GlobalOperations_Resource( + $this, + $this->serviceName, + 'globalOperations', + array( + 'methods' => array( + 'aggregatedList' => array( + 'path' => '{project}/aggregated/operations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'delete' => array( + 'path' => '{project}/global/operations/{operation}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'operation' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/global/operations/{operation}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'operation' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/operations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->httpHealthChecks = new Google_Service_Compute_HttpHealthChecks_Resource( + $this, + $this->serviceName, + 'httpHealthChecks', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{project}/global/httpHealthChecks/{httpHealthCheck}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'httpHealthCheck' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/global/httpHealthChecks/{httpHealthCheck}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'httpHealthCheck' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/global/httpHealthChecks', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/httpHealthChecks', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => '{project}/global/httpHealthChecks/{httpHealthCheck}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'httpHealthCheck' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{project}/global/httpHealthChecks/{httpHealthCheck}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'httpHealthCheck' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->images = new Google_Service_Compute_Images_Resource( + $this, + $this->serviceName, + 'images', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{project}/global/images/{image}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'image' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'deprecate' => array( + 'path' => '{project}/global/images/{image}/deprecate', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'image' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/global/images/{image}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'image' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/global/images', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/images', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->instanceGroupManagers = new Google_Service_Compute_InstanceGroupManagers_Resource( + $this, + $this->serviceName, + 'instanceGroupManagers', + array( + 'methods' => array( + 'abandonInstances' => array( + 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroupManager' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'aggregatedList' => array( + 'path' => '{project}/aggregated/instanceGroupManagers', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'delete' => array( + 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroupManager' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'deleteInstances' => array( + 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroupManager' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroupManager' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/zones/{zone}/instanceGroupManagers', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/zones/{zone}/instanceGroupManagers', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'listManagedInstances' => array( + 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroupManager' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'recreateInstances' => array( + 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroupManager' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'resize' => array( + 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroupManager' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'size' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'setInstanceTemplate' => array( + 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroupManager' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setTargetPools' => array( + 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroupManager' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->instanceGroups = new Google_Service_Compute_InstanceGroups_Resource( + $this, + $this->serviceName, + 'instanceGroups', + array( + 'methods' => array( + 'addInstances' => array( + 'path' => '{project}/zones/{zone}/instanceGroups/{instanceGroup}/addInstances', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroup' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'aggregatedList' => array( + 'path' => '{project}/aggregated/instanceGroups', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'delete' => array( + 'path' => '{project}/zones/{zone}/instanceGroups/{instanceGroup}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroup' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/zones/{zone}/instanceGroups/{instanceGroup}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroup' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/zones/{zone}/instanceGroups', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/zones/{zone}/instanceGroups', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'listInstances' => array( + 'path' => '{project}/zones/{zone}/instanceGroups/{instanceGroup}/listInstances', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroup' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'removeInstances' => array( + 'path' => '{project}/zones/{zone}/instanceGroups/{instanceGroup}/removeInstances', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroup' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setNamedPorts' => array( + 'path' => '{project}/zones/{zone}/instanceGroups/{instanceGroup}/setNamedPorts', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroup' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->instanceTemplates = new Google_Service_Compute_InstanceTemplates_Resource( + $this, + $this->serviceName, + 'instanceTemplates', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{project}/global/instanceTemplates/{instanceTemplate}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceTemplate' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/global/instanceTemplates/{instanceTemplate}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceTemplate' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/global/instanceTemplates', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/instanceTemplates', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->instances = new Google_Service_Compute_Instances_Resource( + $this, + $this->serviceName, + 'instances', + array( + 'methods' => array( + 'addAccessConfig' => array( + 'path' => '{project}/zones/{zone}/instances/{instance}/addAccessConfig', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'networkInterface' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'aggregatedList' => array( + 'path' => '{project}/aggregated/instances', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'attachDisk' => array( + 'path' => '{project}/zones/{zone}/instances/{instance}/attachDisk', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => '{project}/zones/{zone}/instances/{instance}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'deleteAccessConfig' => array( + 'path' => '{project}/zones/{zone}/instances/{instance}/deleteAccessConfig', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'accessConfig' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'networkInterface' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'detachDisk' => array( + 'path' => '{project}/zones/{zone}/instances/{instance}/detachDisk', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deviceName' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/zones/{zone}/instances/{instance}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getSerialPortOutput' => array( + 'path' => '{project}/zones/{zone}/instances/{instance}/serialPort', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'port' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'insert' => array( + 'path' => '{project}/zones/{zone}/instances', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/zones/{zone}/instances', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'reset' => array( + 'path' => '{project}/zones/{zone}/instances/{instance}/reset', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setDiskAutoDelete' => array( + 'path' => '{project}/zones/{zone}/instances/{instance}/setDiskAutoDelete', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'autoDelete' => array( + 'location' => 'query', + 'type' => 'boolean', + 'required' => true, + ), + 'deviceName' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setMetadata' => array( + 'path' => '{project}/zones/{zone}/instances/{instance}/setMetadata', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setScheduling' => array( + 'path' => '{project}/zones/{zone}/instances/{instance}/setScheduling', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setTags' => array( + 'path' => '{project}/zones/{zone}/instances/{instance}/setTags', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'start' => array( + 'path' => '{project}/zones/{zone}/instances/{instance}/start', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'stop' => array( + 'path' => '{project}/zones/{zone}/instances/{instance}/stop', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->licenses = new Google_Service_Compute_Licenses_Resource( + $this, + $this->serviceName, + 'licenses', + array( + 'methods' => array( + 'get' => array( + 'path' => '{project}/global/licenses/{license}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'license' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->machineTypes = new Google_Service_Compute_MachineTypes_Resource( + $this, + $this->serviceName, + 'machineTypes', + array( + 'methods' => array( + 'aggregatedList' => array( + 'path' => '{project}/aggregated/machineTypes', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'get' => array( + 'path' => '{project}/zones/{zone}/machineTypes/{machineType}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'machineType' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/zones/{zone}/machineTypes', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->networks = new Google_Service_Compute_Networks_Resource( + $this, + $this->serviceName, + 'networks', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{project}/global/networks/{network}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'network' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/global/networks/{network}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'network' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/global/networks', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/networks', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->projects = new Google_Service_Compute_Projects_Resource( + $this, + $this->serviceName, + 'projects', + array( + 'methods' => array( + 'get' => array( + 'path' => '{project}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'moveDisk' => array( + 'path' => '{project}/moveDisk', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'moveInstance' => array( + 'path' => '{project}/moveInstance', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setCommonInstanceMetadata' => array( + 'path' => '{project}/setCommonInstanceMetadata', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setUsageExportBucket' => array( + 'path' => '{project}/setUsageExportBucket', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->regionOperations = new Google_Service_Compute_RegionOperations_Resource( + $this, + $this->serviceName, + 'regionOperations', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{project}/regions/{region}/operations/{operation}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'operation' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/regions/{region}/operations/{operation}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'operation' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/regions/{region}/operations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->regions = new Google_Service_Compute_Regions_Resource( + $this, + $this->serviceName, + 'regions', + array( + 'methods' => array( + 'get' => array( + 'path' => '{project}/regions/{region}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/regions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->routes = new Google_Service_Compute_Routes_Resource( + $this, + $this->serviceName, + 'routes', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{project}/global/routes/{route}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'route' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/global/routes/{route}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'route' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/global/routes', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/routes', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->snapshots = new Google_Service_Compute_Snapshots_Resource( + $this, + $this->serviceName, + 'snapshots', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{project}/global/snapshots/{snapshot}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'snapshot' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/global/snapshots/{snapshot}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'snapshot' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/snapshots', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->targetHttpProxies = new Google_Service_Compute_TargetHttpProxies_Resource( + $this, + $this->serviceName, + 'targetHttpProxies', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{project}/global/targetHttpProxies/{targetHttpProxy}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'targetHttpProxy' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/global/targetHttpProxies/{targetHttpProxy}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'targetHttpProxy' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/global/targetHttpProxies', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/targetHttpProxies', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'setUrlMap' => array( + 'path' => '{project}/targetHttpProxies/{targetHttpProxy}/setUrlMap', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'targetHttpProxy' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->targetInstances = new Google_Service_Compute_TargetInstances_Resource( + $this, + $this->serviceName, + 'targetInstances', + array( + 'methods' => array( + 'aggregatedList' => array( + 'path' => '{project}/aggregated/targetInstances', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'delete' => array( + 'path' => '{project}/zones/{zone}/targetInstances/{targetInstance}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'targetInstance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/zones/{zone}/targetInstances/{targetInstance}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'targetInstance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/zones/{zone}/targetInstances', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/zones/{zone}/targetInstances', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->targetPools = new Google_Service_Compute_TargetPools_Resource( + $this, + $this->serviceName, + 'targetPools', + array( + 'methods' => array( + 'addHealthCheck' => array( + 'path' => '{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'targetPool' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'addInstance' => array( + 'path' => '{project}/regions/{region}/targetPools/{targetPool}/addInstance', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'targetPool' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'aggregatedList' => array( + 'path' => '{project}/aggregated/targetPools', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'delete' => array( + 'path' => '{project}/regions/{region}/targetPools/{targetPool}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'targetPool' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/regions/{region}/targetPools/{targetPool}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'targetPool' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getHealth' => array( + 'path' => '{project}/regions/{region}/targetPools/{targetPool}/getHealth', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'targetPool' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/regions/{region}/targetPools', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/regions/{region}/targetPools', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'removeHealthCheck' => array( + 'path' => '{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'targetPool' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'removeInstance' => array( + 'path' => '{project}/regions/{region}/targetPools/{targetPool}/removeInstance', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'targetPool' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setBackup' => array( + 'path' => '{project}/regions/{region}/targetPools/{targetPool}/setBackup', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'targetPool' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'failoverRatio' => array( + 'location' => 'query', + 'type' => 'number', + ), + ), + ), + ) + ) + ); + $this->targetVpnGateways = new Google_Service_Compute_TargetVpnGateways_Resource( + $this, + $this->serviceName, + 'targetVpnGateways', + array( + 'methods' => array( + 'aggregatedList' => array( + 'path' => '{project}/aggregated/targetVpnGateways', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'delete' => array( + 'path' => '{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'targetVpnGateway' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'targetVpnGateway' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/regions/{region}/targetVpnGateways', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/regions/{region}/targetVpnGateways', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->urlMaps = new Google_Service_Compute_UrlMaps_Resource( + $this, + $this->serviceName, + 'urlMaps', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{project}/global/urlMaps/{urlMap}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'urlMap' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/global/urlMaps/{urlMap}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'urlMap' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/global/urlMaps', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/urlMaps', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => '{project}/global/urlMaps/{urlMap}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'urlMap' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{project}/global/urlMaps/{urlMap}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'urlMap' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'validate' => array( + 'path' => '{project}/global/urlMaps/{urlMap}/validate', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'urlMap' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->vpnTunnels = new Google_Service_Compute_VpnTunnels_Resource( + $this, + $this->serviceName, + 'vpnTunnels', + array( + 'methods' => array( + 'aggregatedList' => array( + 'path' => '{project}/aggregated/vpnTunnels', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'delete' => array( + 'path' => '{project}/regions/{region}/vpnTunnels/{vpnTunnel}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'vpnTunnel' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/regions/{region}/vpnTunnels/{vpnTunnel}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'vpnTunnel' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/regions/{region}/vpnTunnels', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/regions/{region}/vpnTunnels', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->zoneOperations = new Google_Service_Compute_ZoneOperations_Resource( + $this, + $this->serviceName, + 'zoneOperations', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{project}/zones/{zone}/operations/{operation}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'operation' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/zones/{zone}/operations/{operation}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'operation' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/zones/{zone}/operations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->zones = new Google_Service_Compute_Zones_Resource( + $this, + $this->serviceName, + 'zones', + array( + 'methods' => array( + 'get' => array( + 'path' => '{project}/zones/{zone}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/zones', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "addresses" collection of methods. + * Typical usage is: + * + * $computeService = new Google_Service_Compute(...); + * $addresses = $computeService->addresses; + * + */ +class Google_Service_Compute_Addresses_Resource extends Google_Service_Resource +{ + + /** + * Retrieves the list of addresses grouped by scope. (addresses.aggregatedList) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_Compute_AddressAggregatedList + */ + public function aggregatedList($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('aggregatedList', array($params), "Google_Service_Compute_AddressAggregatedList"); + } + + /** + * Deletes the specified address resource. (addresses.delete) + * + * @param string $project Project ID for this request. + * @param string $region The name of the region for this request. + * @param string $address Name of the address resource to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $region, $address, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'address' => $address); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Returns the specified address resource. (addresses.get) + * + * @param string $project Project ID for this request. + * @param string $region The name of the region for this request. + * @param string $address Name of the address resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Address + */ + public function get($project, $region, $address, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'address' => $address); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_Address"); + } + + /** + * Creates an address resource in the specified project using the data included + * in the request. (addresses.insert) + * + * @param string $project Project ID for this request. + * @param string $region The name of the region for this request. + * @param Google_Address $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, $region, Google_Service_Compute_Address $postBody, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Retrieves the list of address resources contained within the specified + * region. (addresses.listAddresses) + * + * @param string $project Project ID for this request. + * @param string $region The name of the region for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_Compute_AddressList + */ + public function listAddresses($project, $region, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_AddressList"); + } +} + +/** + * The "autoscalers" collection of methods. + * Typical usage is: + * + * $computeService = new Google_Service_Compute(...); + * $autoscalers = $computeService->autoscalers; + * + */ +class Google_Service_Compute_Autoscalers_Resource extends Google_Service_Resource +{ + + /** + * Retrieves the list of autoscalers grouped by scope. + * (autoscalers.aggregatedList) + * + * @param string $project Name of the project scoping this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_Compute_AutoscalerAggregatedList + */ + public function aggregatedList($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('aggregatedList', array($params), "Google_Service_Compute_AutoscalerAggregatedList"); + } + + /** + * Deletes the specified autoscaler resource. (autoscalers.delete) + * + * @param string $project Name of the project scoping this request. + * @param string $zone Name of the zone scoping this request. + * @param string $autoscaler Name of the persistent autoscaler resource to + * delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $zone, $autoscaler, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Returns the specified autoscaler resource. (autoscalers.get) + * + * @param string $project Name of the project scoping this request. + * @param string $zone Name of the zone scoping this request. + * @param string $autoscaler Name of the persistent autoscaler resource to + * return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Autoscaler + */ + public function get($project, $zone, $autoscaler, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_Autoscaler"); + } + + /** + * Creates an autoscaler resource in the specified project using the data + * included in the request. (autoscalers.insert) + * + * @param string $project Name of the project scoping this request. + * @param string $zone Name of the zone scoping this request. + * @param Google_Autoscaler $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, $zone, Google_Service_Compute_Autoscaler $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Retrieves the list of autoscaler resources contained within the specified + * zone. (autoscalers.listAutoscalers) + * + * @param string $project Name of the project scoping this request. + * @param string $zone Name of the zone scoping this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_Compute_AutoscalerList + */ + public function listAutoscalers($project, $zone, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_AutoscalerList"); + } + + /** + * Updates an autoscaler resource in the specified project using the data + * included in the request. This method supports patch semantics. + * (autoscalers.patch) + * + * @param string $project Name of the project scoping this request. + * @param string $zone Name of the zone scoping this request. + * @param string $autoscaler Name of the autoscaler resource to update. + * @param Google_Autoscaler $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function patch($project, $zone, $autoscaler, Google_Service_Compute_Autoscaler $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Updates an autoscaler resource in the specified project using the data + * included in the request. (autoscalers.update) + * + * @param string $project Name of the project scoping this request. + * @param string $zone Name of the zone scoping this request. + * @param Google_Autoscaler $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string autoscaler Name of the autoscaler resource to update. + * @return Google_Service_Compute_Operation + */ + public function update($project, $zone, Google_Service_Compute_Autoscaler $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Compute_Operation"); + } +} + +/** + * The "backendServices" collection of methods. + * Typical usage is: + * + * $computeService = new Google_Service_Compute(...); + * $backendServices = $computeService->backendServices; + * + */ +class Google_Service_Compute_BackendServices_Resource extends Google_Service_Resource +{ + + /** + * Deletes the specified BackendService resource. (backendServices.delete) + * + * @param string $project Name of the project scoping this request. + * @param string $backendService Name of the BackendService resource to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $backendService, $optParams = array()) + { + $params = array('project' => $project, 'backendService' => $backendService); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Returns the specified BackendService resource. (backendServices.get) + * + * @param string $project Name of the project scoping this request. + * @param string $backendService Name of the BackendService resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_BackendService + */ + public function get($project, $backendService, $optParams = array()) + { + $params = array('project' => $project, 'backendService' => $backendService); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_BackendService"); + } + + /** + * Gets the most recent health check results for this BackendService. + * (backendServices.getHealth) + * + * @param string $project + * @param string $backendService Name of the BackendService resource to which + * the queried instance belongs. + * @param Google_ResourceGroupReference $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_BackendServiceGroupHealth + */ + public function getHealth($project, $backendService, Google_Service_Compute_ResourceGroupReference $postBody, $optParams = array()) + { + $params = array('project' => $project, 'backendService' => $backendService, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('getHealth', array($params), "Google_Service_Compute_BackendServiceGroupHealth"); + } + + /** + * Creates a BackendService resource in the specified project using the data + * included in the request. (backendServices.insert) + * + * @param string $project Name of the project scoping this request. + * @param Google_BackendService $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, Google_Service_Compute_BackendService $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Retrieves the list of BackendService resources available to the specified + * project. (backendServices.listBackendServices) + * + * @param string $project Name of the project scoping this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_Compute_BackendServiceList + */ + public function listBackendServices($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_BackendServiceList"); + } + + /** + * Update the entire content of the BackendService resource. This method + * supports patch semantics. (backendServices.patch) + * + * @param string $project Name of the project scoping this request. + * @param string $backendService Name of the BackendService resource to update. + * @param Google_BackendService $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function patch($project, $backendService, Google_Service_Compute_BackendService $postBody, $optParams = array()) + { + $params = array('project' => $project, 'backendService' => $backendService, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Update the entire content of the BackendService resource. + * (backendServices.update) + * + * @param string $project Name of the project scoping this request. + * @param string $backendService Name of the BackendService resource to update. + * @param Google_BackendService $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function update($project, $backendService, Google_Service_Compute_BackendService $postBody, $optParams = array()) + { + $params = array('project' => $project, 'backendService' => $backendService, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Compute_Operation"); + } +} + +/** + * The "diskTypes" collection of methods. + * Typical usage is: + * + * $computeService = new Google_Service_Compute(...); + * $diskTypes = $computeService->diskTypes; + * + */ +class Google_Service_Compute_DiskTypes_Resource extends Google_Service_Resource +{ + + /** + * Retrieves the list of disk type resources grouped by scope. + * (diskTypes.aggregatedList) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_Compute_DiskTypeAggregatedList + */ + public function aggregatedList($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('aggregatedList', array($params), "Google_Service_Compute_DiskTypeAggregatedList"); + } + + /** + * Returns the specified disk type resource. (diskTypes.get) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param string $diskType Name of the disk type resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_DiskType + */ + public function get($project, $zone, $diskType, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'diskType' => $diskType); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_DiskType"); + } + + /** + * Retrieves the list of disk type resources available to the specified project. + * (diskTypes.listDiskTypes) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_Compute_DiskTypeList + */ + public function listDiskTypes($project, $zone, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_DiskTypeList"); + } +} + +/** + * The "disks" collection of methods. + * Typical usage is: + * + * $computeService = new Google_Service_Compute(...); + * $disks = $computeService->disks; + * + */ +class Google_Service_Compute_Disks_Resource extends Google_Service_Resource +{ + + /** + * Retrieves the list of disks grouped by scope. (disks.aggregatedList) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_Compute_DiskAggregatedList + */ + public function aggregatedList($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('aggregatedList', array($params), "Google_Service_Compute_DiskAggregatedList"); + } + + /** + * Creates a snapshot of this disk. (disks.createSnapshot) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param string $disk Name of the persistent disk to snapshot. + * @param Google_Snapshot $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function createSnapshot($project, $zone, $disk, Google_Service_Compute_Snapshot $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'disk' => $disk, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('createSnapshot', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Deletes the specified persistent disk. Deleting a disk removes its data + * permanently and is irreversible. However, deleting a disk does not delete any + * snapshots previously made from the disk. You must separately delete + * snapshots. (disks.delete) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param string $disk Name of the persistent disk to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $zone, $disk, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'disk' => $disk); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Returns a specified persistent disk. (disks.get) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param string $disk Name of the persistent disk to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Disk + */ + public function get($project, $zone, $disk, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'disk' => $disk); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_Disk"); + } + + /** + * Creates a persistent disk in the specified project using the data included in + * the request. (disks.insert) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param Google_Disk $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string sourceImage Optional. Source image to restore onto a disk. + * @return Google_Service_Compute_Operation + */ + public function insert($project, $zone, Google_Service_Compute_Disk $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Retrieves the list of persistent disks contained within the specified zone. + * (disks.listDisks) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_Compute_DiskList + */ + public function listDisks($project, $zone, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_DiskList"); + } +} + +/** + * The "firewalls" collection of methods. + * Typical usage is: + * + * $computeService = new Google_Service_Compute(...); + * $firewalls = $computeService->firewalls; + * + */ +class Google_Service_Compute_Firewalls_Resource extends Google_Service_Resource +{ + + /** + * Deletes the specified firewall resource. (firewalls.delete) + * + * @param string $project Project ID for this request. + * @param string $firewall Name of the firewall resource to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $firewall, $optParams = array()) + { + $params = array('project' => $project, 'firewall' => $firewall); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Returns the specified firewall resource. (firewalls.get) + * + * @param string $project Project ID for this request. + * @param string $firewall Name of the firewall resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Firewall + */ + public function get($project, $firewall, $optParams = array()) + { + $params = array('project' => $project, 'firewall' => $firewall); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_Firewall"); + } + + /** + * Creates a firewall resource in the specified project using the data included + * in the request. (firewalls.insert) + * + * @param string $project Project ID for this request. + * @param Google_Firewall $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, Google_Service_Compute_Firewall $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Retrieves the list of firewall resources available to the specified project. + * (firewalls.listFirewalls) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_Compute_FirewallList + */ + public function listFirewalls($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_FirewallList"); + } + + /** + * Updates the specified firewall resource with the data included in the + * request. This method supports patch semantics. (firewalls.patch) + * + * @param string $project Project ID for this request. + * @param string $firewall Name of the firewall resource to update. + * @param Google_Firewall $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function patch($project, $firewall, Google_Service_Compute_Firewall $postBody, $optParams = array()) + { + $params = array('project' => $project, 'firewall' => $firewall, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Updates the specified firewall resource with the data included in the + * request. (firewalls.update) + * + * @param string $project Project ID for this request. + * @param string $firewall Name of the firewall resource to update. + * @param Google_Firewall $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function update($project, $firewall, Google_Service_Compute_Firewall $postBody, $optParams = array()) + { + $params = array('project' => $project, 'firewall' => $firewall, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Compute_Operation"); + } +} + +/** + * The "forwardingRules" collection of methods. + * Typical usage is: + * + * $computeService = new Google_Service_Compute(...); + * $forwardingRules = $computeService->forwardingRules; + * + */ +class Google_Service_Compute_ForwardingRules_Resource extends Google_Service_Resource +{ + + /** + * Retrieves the list of forwarding rules grouped by scope. + * (forwardingRules.aggregatedList) + * + * @param string $project Name of the project scoping this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_Compute_ForwardingRuleAggregatedList + */ + public function aggregatedList($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('aggregatedList', array($params), "Google_Service_Compute_ForwardingRuleAggregatedList"); + } + + /** + * Deletes the specified ForwardingRule resource. (forwardingRules.delete) + * + * @param string $project Name of the project scoping this request. + * @param string $region Name of the region scoping this request. + * @param string $forwardingRule Name of the ForwardingRule resource to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $region, $forwardingRule, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'forwardingRule' => $forwardingRule); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Returns the specified ForwardingRule resource. (forwardingRules.get) + * + * @param string $project Name of the project scoping this request. + * @param string $region Name of the region scoping this request. + * @param string $forwardingRule Name of the ForwardingRule resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_ForwardingRule + */ + public function get($project, $region, $forwardingRule, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'forwardingRule' => $forwardingRule); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_ForwardingRule"); + } + + /** + * Creates a ForwardingRule resource in the specified project and region using + * the data included in the request. (forwardingRules.insert) + * + * @param string $project Name of the project scoping this request. + * @param string $region Name of the region scoping this request. + * @param Google_ForwardingRule $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, $region, Google_Service_Compute_ForwardingRule $postBody, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Retrieves the list of ForwardingRule resources available to the specified + * project and region. (forwardingRules.listForwardingRules) + * + * @param string $project Name of the project scoping this request. + * @param string $region Name of the region scoping this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_Compute_ForwardingRuleList + */ + public function listForwardingRules($project, $region, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_ForwardingRuleList"); + } + + /** + * Changes target url for forwarding rule. (forwardingRules.setTarget) + * + * @param string $project Name of the project scoping this request. + * @param string $region Name of the region scoping this request. + * @param string $forwardingRule Name of the ForwardingRule resource in which + * target is to be set. + * @param Google_TargetReference $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function setTarget($project, $region, $forwardingRule, Google_Service_Compute_TargetReference $postBody, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'forwardingRule' => $forwardingRule, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setTarget', array($params), "Google_Service_Compute_Operation"); + } +} + +/** + * The "globalAddresses" collection of methods. + * Typical usage is: + * + * $computeService = new Google_Service_Compute(...); + * $globalAddresses = $computeService->globalAddresses; + * + */ +class Google_Service_Compute_GlobalAddresses_Resource extends Google_Service_Resource +{ + + /** + * Deletes the specified address resource. (globalAddresses.delete) + * + * @param string $project Project ID for this request. + * @param string $address Name of the address resource to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $address, $optParams = array()) + { + $params = array('project' => $project, 'address' => $address); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Returns the specified address resource. (globalAddresses.get) + * + * @param string $project Project ID for this request. + * @param string $address Name of the address resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Address + */ + public function get($project, $address, $optParams = array()) + { + $params = array('project' => $project, 'address' => $address); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_Address"); + } + + /** + * Creates an address resource in the specified project using the data included + * in the request. (globalAddresses.insert) + * + * @param string $project Project ID for this request. + * @param Google_Address $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, Google_Service_Compute_Address $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Retrieves the list of global address resources. + * (globalAddresses.listGlobalAddresses) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_Compute_AddressList + */ + public function listGlobalAddresses($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_AddressList"); + } +} + +/** + * The "globalForwardingRules" collection of methods. + * Typical usage is: + * + * $computeService = new Google_Service_Compute(...); + * $globalForwardingRules = $computeService->globalForwardingRules; + * + */ +class Google_Service_Compute_GlobalForwardingRules_Resource extends Google_Service_Resource +{ + + /** + * Deletes the specified ForwardingRule resource. (globalForwardingRules.delete) + * + * @param string $project Name of the project scoping this request. + * @param string $forwardingRule Name of the ForwardingRule resource to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $forwardingRule, $optParams = array()) + { + $params = array('project' => $project, 'forwardingRule' => $forwardingRule); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Returns the specified ForwardingRule resource. (globalForwardingRules.get) + * + * @param string $project Name of the project scoping this request. + * @param string $forwardingRule Name of the ForwardingRule resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_ForwardingRule + */ + public function get($project, $forwardingRule, $optParams = array()) + { + $params = array('project' => $project, 'forwardingRule' => $forwardingRule); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_ForwardingRule"); + } + + /** + * Creates a ForwardingRule resource in the specified project and region using + * the data included in the request. (globalForwardingRules.insert) + * + * @param string $project Name of the project scoping this request. + * @param Google_ForwardingRule $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, Google_Service_Compute_ForwardingRule $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Retrieves the list of ForwardingRule resources available to the specified + * project. (globalForwardingRules.listGlobalForwardingRules) + * + * @param string $project Name of the project scoping this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_Compute_ForwardingRuleList + */ + public function listGlobalForwardingRules($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_ForwardingRuleList"); + } + + /** + * Changes target url for forwarding rule. (globalForwardingRules.setTarget) + * + * @param string $project Name of the project scoping this request. + * @param string $forwardingRule Name of the ForwardingRule resource in which + * target is to be set. + * @param Google_TargetReference $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function setTarget($project, $forwardingRule, Google_Service_Compute_TargetReference $postBody, $optParams = array()) + { + $params = array('project' => $project, 'forwardingRule' => $forwardingRule, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setTarget', array($params), "Google_Service_Compute_Operation"); + } +} + +/** + * The "globalOperations" collection of methods. + * Typical usage is: + * + * $computeService = new Google_Service_Compute(...); + * $globalOperations = $computeService->globalOperations; + * + */ +class Google_Service_Compute_GlobalOperations_Resource extends Google_Service_Resource +{ + + /** + * Retrieves the list of all operations grouped by scope. + * (globalOperations.aggregatedList) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_Compute_OperationAggregatedList + */ + public function aggregatedList($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('aggregatedList', array($params), "Google_Service_Compute_OperationAggregatedList"); + } + + /** + * Deletes the specified Operations resource. (globalOperations.delete) + * + * @param string $project Project ID for this request. + * @param string $operation Name of the Operations resource to delete. + * @param array $optParams Optional parameters. + */ + public function delete($project, $operation, $optParams = array()) + { + $params = array('project' => $project, 'operation' => $operation); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Retrieves the specified Operations resource. (globalOperations.get) + * + * @param string $project Project ID for this request. + * @param string $operation Name of the Operations resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function get($project, $operation, $optParams = array()) + { + $params = array('project' => $project, 'operation' => $operation); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Retrieves the list of Operation resources contained within the specified + * project. (globalOperations.listGlobalOperations) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_Compute_OperationList + */ + public function listGlobalOperations($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_OperationList"); + } +} + +/** + * The "httpHealthChecks" collection of methods. + * Typical usage is: + * + * $computeService = new Google_Service_Compute(...); + * $httpHealthChecks = $computeService->httpHealthChecks; + * + */ +class Google_Service_Compute_HttpHealthChecks_Resource extends Google_Service_Resource +{ + + /** + * Deletes the specified HttpHealthCheck resource. (httpHealthChecks.delete) + * + * @param string $project Name of the project scoping this request. + * @param string $httpHealthCheck Name of the HttpHealthCheck resource to + * delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $httpHealthCheck, $optParams = array()) + { + $params = array('project' => $project, 'httpHealthCheck' => $httpHealthCheck); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Returns the specified HttpHealthCheck resource. (httpHealthChecks.get) + * + * @param string $project Name of the project scoping this request. + * @param string $httpHealthCheck Name of the HttpHealthCheck resource to + * return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_HttpHealthCheck + */ + public function get($project, $httpHealthCheck, $optParams = array()) + { + $params = array('project' => $project, 'httpHealthCheck' => $httpHealthCheck); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_HttpHealthCheck"); + } + + /** + * Creates a HttpHealthCheck resource in the specified project using the data + * included in the request. (httpHealthChecks.insert) + * + * @param string $project Name of the project scoping this request. + * @param Google_HttpHealthCheck $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, Google_Service_Compute_HttpHealthCheck $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Retrieves the list of HttpHealthCheck resources available to the specified + * project. (httpHealthChecks.listHttpHealthChecks) + * + * @param string $project Name of the project scoping this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_Compute_HttpHealthCheckList + */ + public function listHttpHealthChecks($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_HttpHealthCheckList"); + } + + /** + * Updates a HttpHealthCheck resource in the specified project using the data + * included in the request. This method supports patch semantics. + * (httpHealthChecks.patch) + * + * @param string $project Name of the project scoping this request. + * @param string $httpHealthCheck Name of the HttpHealthCheck resource to + * update. + * @param Google_HttpHealthCheck $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function patch($project, $httpHealthCheck, Google_Service_Compute_HttpHealthCheck $postBody, $optParams = array()) + { + $params = array('project' => $project, 'httpHealthCheck' => $httpHealthCheck, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Updates a HttpHealthCheck resource in the specified project using the data + * included in the request. (httpHealthChecks.update) + * + * @param string $project Name of the project scoping this request. + * @param string $httpHealthCheck Name of the HttpHealthCheck resource to + * update. + * @param Google_HttpHealthCheck $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function update($project, $httpHealthCheck, Google_Service_Compute_HttpHealthCheck $postBody, $optParams = array()) + { + $params = array('project' => $project, 'httpHealthCheck' => $httpHealthCheck, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Compute_Operation"); + } +} + +/** + * The "images" collection of methods. + * Typical usage is: + * + * $computeService = new Google_Service_Compute(...); + * $images = $computeService->images; + * + */ +class Google_Service_Compute_Images_Resource extends Google_Service_Resource +{ + + /** + * Deletes the specified image resource. (images.delete) + * + * @param string $project Project ID for this request. + * @param string $image Name of the image resource to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $image, $optParams = array()) + { + $params = array('project' => $project, 'image' => $image); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Sets the deprecation status of an image. + * + * If an empty request body is given, clears the deprecation status instead. + * (images.deprecate) + * + * @param string $project Project ID for this request. + * @param string $image Image name. + * @param Google_DeprecationStatus $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function deprecate($project, $image, Google_Service_Compute_DeprecationStatus $postBody, $optParams = array()) + { + $params = array('project' => $project, 'image' => $image, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('deprecate', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Returns the specified image resource. (images.get) + * + * @param string $project Project ID for this request. + * @param string $image Name of the image resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Image + */ + public function get($project, $image, $optParams = array()) + { + $params = array('project' => $project, 'image' => $image); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_Image"); + } + + /** + * Creates an image resource in the specified project using the data included in + * the request. (images.insert) + * + * @param string $project Project ID for this request. + * @param Google_Image $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, Google_Service_Compute_Image $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Retrieves the list of private images available to the specified project. + * Private images are images you create that belong to your project. This method + * does not get any images that belong to other projects, including publicly- + * available images, like Debian 7. If you want to get a list of publicly- + * available images, use this method to make a request to the respective image + * project, such as debian-cloud or windows-cloud. + * + * See Accessing images for more information. (images.listImages) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_Compute_ImageList + */ + public function listImages($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_ImageList"); + } +} + +/** + * The "instanceGroupManagers" collection of methods. + * Typical usage is: + * + * $computeService = new Google_Service_Compute(...); + * $instanceGroupManagers = $computeService->instanceGroupManagers; + * + */ +class Google_Service_Compute_InstanceGroupManagers_Resource extends Google_Service_Resource +{ + + /** + * Schedules a group action to remove the specified instances from the managed + * instance group. Abandoning an instance does not delete the instance, but it + * does remove the instance from any target pools that are applied by the + * managed instance group. This method reduces the targetSize of the managed + * instance group by the number of instances that you abandon. This operation is + * marked as DONE when the action is scheduled even if the instances have not + * yet been removed from the group. You must separately verify the status of the + * abandoning action with the listmanagedinstances method. + * (instanceGroupManagers.abandonInstances) + * + * @param string $project The project ID for this request. + * @param string $zone The name of the zone where the managed instance group is + * located. + * @param string $instanceGroupManager The name of the managed instance group. + * @param Google_InstanceGroupManagersAbandonInstancesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function abandonInstances($project, $zone, $instanceGroupManager, Google_Service_Compute_InstanceGroupManagersAbandonInstancesRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('abandonInstances', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Retrieves the list of managed instance groups and groups them by zone. + * (instanceGroupManagers.aggregatedList) + * + * @param string $project The project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_Compute_InstanceGroupManagerAggregatedList + */ + public function aggregatedList($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('aggregatedList', array($params), "Google_Service_Compute_InstanceGroupManagerAggregatedList"); + } + + /** + * Deletes the specified managed instance group and all of the instances in that + * group. (instanceGroupManagers.delete) + * + * @param string $project The project ID for this request. + * @param string $zone The name of the zone where the managed instance group is + * located. + * @param string $instanceGroupManager The name of the managed instance group to + * delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $zone, $instanceGroupManager, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Schedules a group action to delete the specified instances in the managed + * instance group. The instances are also removed from any target pools of which + * they were a member. This method reduces the targetSize of the managed + * instance group by the number of instances that you delete. This operation is + * marked as DONE when the action is scheduled even if the instances are still + * being deleted. You must separately verify the status of the deleting action + * with the listmanagedinstances method. (instanceGroupManagers.deleteInstances) + * + * @param string $project The project ID for this request. + * @param string $zone The name of the zone where the managed instance group is + * located. + * @param string $instanceGroupManager The name of the managed instance group. + * @param Google_InstanceGroupManagersDeleteInstancesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function deleteInstances($project, $zone, $instanceGroupManager, Google_Service_Compute_InstanceGroupManagersDeleteInstancesRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('deleteInstances', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Returns all of the details about the specified managed instance group. + * (instanceGroupManagers.get) + * + * @param string $project The project ID for this request. + * @param string $zone The name of the zone where the managed instance group is + * located. + * @param string $instanceGroupManager The name of the managed instance group. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_InstanceGroupManager + */ + public function get($project, $zone, $instanceGroupManager, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_InstanceGroupManager"); + } + + /** + * Creates a managed instance group using the information that you specify in + * the request. After the group is created, it schedules an action to create + * instances in the group using the specified instance template. This operation + * is marked as DONE when the group is created even if the instances in the + * group have not yet been created. You must separately verify the status of the + * individual instances with the listmanagedinstances method. + * (instanceGroupManagers.insert) + * + * @param string $project The project ID for this request. + * @param string $zone The name of the zone where you want to create the managed + * instance group. + * @param Google_InstanceGroupManager $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, $zone, Google_Service_Compute_InstanceGroupManager $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Retrieves a list of managed instance groups that are contained within the + * specified project and zone. (instanceGroupManagers.listInstanceGroupManagers) + * + * @param string $project The project ID for this request. + * @param string $zone The name of the zone where the managed instance group is + * located. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_Compute_InstanceGroupManagerList + */ + public function listInstanceGroupManagers($project, $zone, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_InstanceGroupManagerList"); + } + + /** + * Lists all of the instances in the managed instance group. Each instance in + * the list has a currentAction, which indicates the action that the managed + * instance group is performing on the instance. For example, if the group is + * still creating an instance, the currentAction is CREATING. If a previous + * action failed, the list displays the errors for that failed action. + * (instanceGroupManagers.listManagedInstances) + * + * @param string $project The project ID for this request. + * @param string $zone The name of the zone where the managed instance group is + * located. + * @param string $instanceGroupManager The name of the managed instance group. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_InstanceGroupManagersListManagedInstancesResponse + */ + public function listManagedInstances($project, $zone, $instanceGroupManager, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager); + $params = array_merge($params, $optParams); + return $this->call('listManagedInstances', array($params), "Google_Service_Compute_InstanceGroupManagersListManagedInstancesResponse"); + } + + /** + * Schedules a group action to recreate the specified instances in the managed + * instance group. The instances are deleted and recreated using the current + * instance template for the managed instance group. This operation is marked as + * DONE when the action is scheduled even if the instances have not yet been + * recreated. You must separately verify the status of the recreating action + * with the listmanagedinstances method. + * (instanceGroupManagers.recreateInstances) + * + * @param string $project The project ID for this request. + * @param string $zone The name of the zone where the managed instance group is + * located. + * @param string $instanceGroupManager The name of the managed instance group. + * @param Google_InstanceGroupManagersRecreateInstancesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function recreateInstances($project, $zone, $instanceGroupManager, Google_Service_Compute_InstanceGroupManagersRecreateInstancesRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('recreateInstances', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Resizes the managed instance group. If you increase the size, the group + * creates new instances using the current instance template. If you decrease + * the size, the group deletes instances. The resize operation is marked DONE + * when the resize actions are scheduled even if the group has not yet added or + * deleted any instances. You must separately verify the status of the creating + * or deleting actions with the listmanagedinstances method. + * (instanceGroupManagers.resize) + * + * @param string $project The project ID for this request. + * @param string $zone The name of the zone where the managed instance group is + * located. + * @param string $instanceGroupManager The name of the managed instance group. + * @param int $size The number of running instances that the managed instance + * group should maintain at any given time. The group automatically adds or + * removes instances to maintain the number of instances specified by this + * parameter. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function resize($project, $zone, $instanceGroupManager, $size, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'size' => $size); + $params = array_merge($params, $optParams); + return $this->call('resize', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Specifies the instance template to use when creating new instances in this + * group. The templates for existing instances in the group do not change unless + * you recreate them. (instanceGroupManagers.setInstanceTemplate) + * + * @param string $project The project ID for this request. + * @param string $zone The name of the zone where the managed instance group is + * located. + * @param string $instanceGroupManager The name of the managed instance group. + * @param Google_InstanceGroupManagersSetInstanceTemplateRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function setInstanceTemplate($project, $zone, $instanceGroupManager, Google_Service_Compute_InstanceGroupManagersSetInstanceTemplateRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setInstanceTemplate', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Modifies the target pools to which all instances in this managed instance + * group are assigned. The target pools automatically apply to all of the + * instances in the managed instance group. This operation is marked DONE when + * you make the request even if the instances have not yet been added to their + * target pools. The change might take some time to apply to all of the + * instances in the group depending on the size of the group. + * (instanceGroupManagers.setTargetPools) + * + * @param string $project The project ID for this request. + * @param string $zone The name of the zone where the managed instance group is + * located. + * @param string $instanceGroupManager The name of the managed instance group. + * @param Google_InstanceGroupManagersSetTargetPoolsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function setTargetPools($project, $zone, $instanceGroupManager, Google_Service_Compute_InstanceGroupManagersSetTargetPoolsRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setTargetPools', array($params), "Google_Service_Compute_Operation"); + } +} + +/** + * The "instanceGroups" collection of methods. + * Typical usage is: + * + * $computeService = new Google_Service_Compute(...); + * $instanceGroups = $computeService->instanceGroups; + * + */ +class Google_Service_Compute_InstanceGroups_Resource extends Google_Service_Resource +{ + + /** + * Adds a list of instances to the specified instance group. All of the + * instances in the instance group must be in the same network/subnetwork. TODO: + * Change to comment to state "if IG is load balanced." + * (instanceGroups.addInstances) + * + * @param string $project The project ID for this request. + * @param string $zone The name of the zone where the instance group is located. + * @param string $instanceGroup The name of the instance group where you are + * adding instances. + * @param Google_InstanceGroupsAddInstancesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function addInstances($project, $zone, $instanceGroup, Google_Service_Compute_InstanceGroupsAddInstancesRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instanceGroup' => $instanceGroup, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('addInstances', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Retrieves the list of instance groups and sorts them by zone. + * (instanceGroups.aggregatedList) + * + * @param string $project The project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_Compute_InstanceGroupAggregatedList + */ + public function aggregatedList($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('aggregatedList', array($params), "Google_Service_Compute_InstanceGroupAggregatedList"); + } + + /** + * Deletes the specified instance group. The instances in the group are not + * deleted. (instanceGroups.delete) + * + * @param string $project The project ID for this request. + * @param string $zone The name of the zone where the instance group is located. + * @param string $instanceGroup The name of the instance group to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $zone, $instanceGroup, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instanceGroup' => $instanceGroup); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Returns the specified instance group resource. (instanceGroups.get) + * + * @param string $project The project ID for this request. + * @param string $zone The name of the zone where the instance group is located. + * @param string $instanceGroup The name of the instance group. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_InstanceGroup + */ + public function get($project, $zone, $instanceGroup, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instanceGroup' => $instanceGroup); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_InstanceGroup"); + } + + /** + * Creates an instance group in the specified project using the parameters that + * are included in the request. (instanceGroups.insert) + * + * @param string $project The project ID for this request. + * @param string $zone The name of the zone where you want to create the + * instance group. + * @param Google_InstanceGroup $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, $zone, Google_Service_Compute_InstanceGroup $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Retrieves the list of instance groups that are located in the specified + * project and zone. (instanceGroups.listInstanceGroups) + * + * @param string $project The project ID for this request. + * @param string $zone The name of the zone where the instance group is located. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_Compute_InstanceGroupList + */ + public function listInstanceGroups($project, $zone, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_InstanceGroupList"); + } + + /** + * Lists the instances in the specified instance group. + * (instanceGroups.listInstances) + * + * @param string $project The project ID for this request. + * @param string $zone The name of the zone where the instance group is located. + * @param string $instanceGroup The name of the instance group from which you + * want to generate a list of included instances. + * @param Google_InstanceGroupsListInstancesRequest $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults Maximum count of results to be returned. + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @return Google_Service_Compute_InstanceGroupsListInstances + */ + public function listInstances($project, $zone, $instanceGroup, Google_Service_Compute_InstanceGroupsListInstancesRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instanceGroup' => $instanceGroup, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('listInstances', array($params), "Google_Service_Compute_InstanceGroupsListInstances"); + } + + /** + * Removes one or more instances from the specified instance group, but does not + * delete those instances. (instanceGroups.removeInstances) + * + * @param string $project The project ID for this request. + * @param string $zone The name of the zone where the instance group is located. + * @param string $instanceGroup The name of the instance group where the + * specified instances will be removed. + * @param Google_InstanceGroupsRemoveInstancesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function removeInstances($project, $zone, $instanceGroup, Google_Service_Compute_InstanceGroupsRemoveInstancesRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instanceGroup' => $instanceGroup, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('removeInstances', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Sets the named ports for the specified instance group. + * (instanceGroups.setNamedPorts) + * + * @param string $project The project ID for this request. + * @param string $zone The name of the zone where the instance group is located. + * @param string $instanceGroup The name of the instance group where the named + * ports are updated. + * @param Google_InstanceGroupsSetNamedPortsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function setNamedPorts($project, $zone, $instanceGroup, Google_Service_Compute_InstanceGroupsSetNamedPortsRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instanceGroup' => $instanceGroup, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setNamedPorts', array($params), "Google_Service_Compute_Operation"); + } +} + +/** + * The "instanceTemplates" collection of methods. + * Typical usage is: + * + * $computeService = new Google_Service_Compute(...); + * $instanceTemplates = $computeService->instanceTemplates; + * + */ +class Google_Service_Compute_InstanceTemplates_Resource extends Google_Service_Resource +{ + + /** + * Deletes the specified instance template. (instanceTemplates.delete) + * + * @param string $project The project ID for this request. + * @param string $instanceTemplate The name of the instance template to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $instanceTemplate, $optParams = array()) + { + $params = array('project' => $project, 'instanceTemplate' => $instanceTemplate); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Returns the specified instance template resource. (instanceTemplates.get) + * + * @param string $project The project ID for this request. + * @param string $instanceTemplate The name of the instance template. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_InstanceTemplate + */ + public function get($project, $instanceTemplate, $optParams = array()) + { + $params = array('project' => $project, 'instanceTemplate' => $instanceTemplate); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_InstanceTemplate"); + } + + /** + * Creates an instance template in the specified project using the data that is + * included in the request. (instanceTemplates.insert) + * + * @param string $project The project ID for this request. + * @param Google_InstanceTemplate $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, Google_Service_Compute_InstanceTemplate $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Retrieves a list of instance templates that are contained within the + * specified project and zone. (instanceTemplates.listInstanceTemplates) + * + * @param string $project The project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_Compute_InstanceTemplateList + */ + public function listInstanceTemplates($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_InstanceTemplateList"); + } +} + +/** + * The "instances" collection of methods. + * Typical usage is: + * + * $computeService = new Google_Service_Compute(...); + * $instances = $computeService->instances; + * + */ +class Google_Service_Compute_Instances_Resource extends Google_Service_Resource +{ + + /** + * Adds an access config to an instance's network interface. + * (instances.addAccessConfig) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param string $instance The instance name for this request. + * @param string $networkInterface The name of the network interface to add to + * this instance. + * @param Google_AccessConfig $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function addAccessConfig($project, $zone, $instance, $networkInterface, Google_Service_Compute_AccessConfig $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'networkInterface' => $networkInterface, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('addAccessConfig', array($params), "Google_Service_Compute_Operation"); + } + + /** + * (instances.aggregatedList) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_Compute_InstanceAggregatedList + */ + public function aggregatedList($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('aggregatedList', array($params), "Google_Service_Compute_InstanceAggregatedList"); + } + + /** + * Attaches a Disk resource to an instance. (instances.attachDisk) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param string $instance Instance name. + * @param Google_AttachedDisk $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function attachDisk($project, $zone, $instance, Google_Service_Compute_AttachedDisk $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('attachDisk', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Deletes the specified Instance resource. For more information, see Shutting + * down an instance. (instances.delete) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param string $instance Name of the instance resource to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $zone, $instance, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Deletes an access config from an instance's network interface. + * (instances.deleteAccessConfig) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param string $instance The instance name for this request. + * @param string $accessConfig The name of the access config to delete. + * @param string $networkInterface The name of the network interface. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function deleteAccessConfig($project, $zone, $instance, $accessConfig, $networkInterface, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'accessConfig' => $accessConfig, 'networkInterface' => $networkInterface); + $params = array_merge($params, $optParams); + return $this->call('deleteAccessConfig', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Detaches a disk from an instance. (instances.detachDisk) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param string $instance Instance name. + * @param string $deviceName Disk device name to detach. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function detachDisk($project, $zone, $instance, $deviceName, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'deviceName' => $deviceName); + $params = array_merge($params, $optParams); + return $this->call('detachDisk', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Returns the specified instance resource. (instances.get) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param string $instance Name of the instance resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Instance + */ + public function get($project, $zone, $instance, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_Instance"); + } + + /** + * Returns the specified instance's serial port output. + * (instances.getSerialPortOutput) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param string $instance Name of the instance scoping this request. + * @param array $optParams Optional parameters. + * + * @opt_param int port Specifies which COM or serial port to retrieve data from. + * @return Google_Service_Compute_SerialPortOutput + */ + public function getSerialPortOutput($project, $zone, $instance, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance); + $params = array_merge($params, $optParams); + return $this->call('getSerialPortOutput', array($params), "Google_Service_Compute_SerialPortOutput"); + } + + /** + * Creates an instance resource in the specified project using the data included + * in the request. (instances.insert) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param Google_Instance $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, $zone, Google_Service_Compute_Instance $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Retrieves the list of instance resources contained within the specified zone. + * (instances.listInstances) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_Compute_InstanceList + */ + public function listInstances($project, $zone, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_InstanceList"); + } + + /** + * Performs a hard reset on the instance. (instances.reset) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param string $instance Name of the instance scoping this request. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function reset($project, $zone, $instance, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance); + $params = array_merge($params, $optParams); + return $this->call('reset', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Sets the auto-delete flag for a disk attached to an instance. + * (instances.setDiskAutoDelete) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param string $instance The instance name. + * @param bool $autoDelete Whether to auto-delete the disk when the instance is + * deleted. + * @param string $deviceName The device name of the disk to modify. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function setDiskAutoDelete($project, $zone, $instance, $autoDelete, $deviceName, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'autoDelete' => $autoDelete, 'deviceName' => $deviceName); + $params = array_merge($params, $optParams); + return $this->call('setDiskAutoDelete', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Sets metadata for the specified instance to the data included in the request. + * (instances.setMetadata) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param string $instance Name of the instance scoping this request. + * @param Google_Metadata $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function setMetadata($project, $zone, $instance, Google_Service_Compute_Metadata $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setMetadata', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Sets an instance's scheduling options. (instances.setScheduling) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param string $instance Instance name. + * @param Google_Scheduling $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function setScheduling($project, $zone, $instance, Google_Service_Compute_Scheduling $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setScheduling', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Sets tags for the specified instance to the data included in the request. + * (instances.setTags) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param string $instance Name of the instance scoping this request. + * @param Google_Tags $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function setTags($project, $zone, $instance, Google_Service_Compute_Tags $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setTags', array($params), "Google_Service_Compute_Operation"); + } + + /** + * This method starts an instance that was stopped using the using the + * instances().stop method. For more information, see Restart an instance. + * (instances.start) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param string $instance Name of the instance resource to start. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function start($project, $zone, $instance, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance); + $params = array_merge($params, $optParams); + return $this->call('start', array($params), "Google_Service_Compute_Operation"); + } + + /** + * This method stops a running instance, shutting it down cleanly, and allows + * you to restart the instance at a later time. Stopped instances do not incur + * per-minute, virtual machine usage charges while they are stopped, but any + * resources that the virtual machine is using, such as persistent disks and + * static IP addresses,will continue to be charged until they are deleted. For + * more information, see Stopping an instance. (instances.stop) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param string $instance Name of the instance resource to stop. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function stop($project, $zone, $instance, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance); + $params = array_merge($params, $optParams); + return $this->call('stop', array($params), "Google_Service_Compute_Operation"); + } +} + +/** + * The "licenses" collection of methods. + * Typical usage is: + * + * $computeService = new Google_Service_Compute(...); + * $licenses = $computeService->licenses; + * + */ +class Google_Service_Compute_Licenses_Resource extends Google_Service_Resource +{ + + /** + * Returns the specified license resource. (licenses.get) + * + * @param string $project Project ID for this request. + * @param string $license Name of the license resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_License + */ + public function get($project, $license, $optParams = array()) + { + $params = array('project' => $project, 'license' => $license); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_License"); + } +} + +/** + * The "machineTypes" collection of methods. + * Typical usage is: + * + * $computeService = new Google_Service_Compute(...); + * $machineTypes = $computeService->machineTypes; + * + */ +class Google_Service_Compute_MachineTypes_Resource extends Google_Service_Resource +{ + + /** + * Retrieves the list of machine type resources grouped by scope. + * (machineTypes.aggregatedList) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_Compute_MachineTypeAggregatedList + */ + public function aggregatedList($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('aggregatedList', array($params), "Google_Service_Compute_MachineTypeAggregatedList"); + } + + /** + * Returns the specified machine type resource. (machineTypes.get) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param string $machineType Name of the machine type resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_MachineType + */ + public function get($project, $zone, $machineType, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'machineType' => $machineType); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_MachineType"); + } + + /** + * Retrieves the list of machine type resources available to the specified + * project. (machineTypes.listMachineTypes) + * + * @param string $project Project ID for this request. + * @param string $zone The name of the zone for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_Compute_MachineTypeList + */ + public function listMachineTypes($project, $zone, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_MachineTypeList"); + } +} + +/** + * The "networks" collection of methods. + * Typical usage is: + * + * $computeService = new Google_Service_Compute(...); + * $networks = $computeService->networks; + * + */ +class Google_Service_Compute_Networks_Resource extends Google_Service_Resource +{ + + /** + * Deletes the specified network resource. (networks.delete) + * + * @param string $project Project ID for this request. + * @param string $network Name of the network resource to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $network, $optParams = array()) + { + $params = array('project' => $project, 'network' => $network); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Returns the specified network resource. (networks.get) + * + * @param string $project Project ID for this request. + * @param string $network Name of the network resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Network + */ + public function get($project, $network, $optParams = array()) + { + $params = array('project' => $project, 'network' => $network); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_Network"); + } + + /** + * Creates a network resource in the specified project using the data included + * in the request. (networks.insert) + * + * @param string $project Project ID for this request. + * @param Google_Network $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, Google_Service_Compute_Network $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Retrieves the list of network resources available to the specified project. + * (networks.listNetworks) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_Compute_NetworkList + */ + public function listNetworks($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_NetworkList"); + } +} + +/** + * The "projects" collection of methods. + * Typical usage is: + * + * $computeService = new Google_Service_Compute(...); + * $projects = $computeService->projects; + * + */ +class Google_Service_Compute_Projects_Resource extends Google_Service_Resource +{ + + /** + * Returns the specified project resource. (projects.get) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Project + */ + public function get($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_Project"); + } + + /** + * Moves a persistent disk from one zone to another. (projects.moveDisk) + * + * @param string $project Project ID for this request. + * @param Google_DiskMoveRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function moveDisk($project, Google_Service_Compute_DiskMoveRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('moveDisk', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Moves an instance and its attached persistent disks from one zone to another. + * (projects.moveInstance) + * + * @param string $project Project ID for this request. + * @param Google_InstanceMoveRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function moveInstance($project, Google_Service_Compute_InstanceMoveRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('moveInstance', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Sets metadata common to all instances within the specified project using the + * data included in the request. (projects.setCommonInstanceMetadata) + * + * @param string $project Project ID for this request. + * @param Google_Metadata $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function setCommonInstanceMetadata($project, Google_Service_Compute_Metadata $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setCommonInstanceMetadata', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Enables the usage export feature and sets the usage export bucket where + * reports are stored. If you provide an empty request body using this method, + * the usage export feature will be disabled. (projects.setUsageExportBucket) + * + * @param string $project Project ID for this request. + * @param Google_UsageExportLocation $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function setUsageExportBucket($project, Google_Service_Compute_UsageExportLocation $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setUsageExportBucket', array($params), "Google_Service_Compute_Operation"); + } +} + +/** + * The "regionOperations" collection of methods. + * Typical usage is: + * + * $computeService = new Google_Service_Compute(...); + * $regionOperations = $computeService->regionOperations; + * + */ +class Google_Service_Compute_RegionOperations_Resource extends Google_Service_Resource +{ + + /** + * Deletes the specified region-specific Operations resource. + * (regionOperations.delete) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param string $operation Name of the Operations resource to delete. + * @param array $optParams Optional parameters. + */ + public function delete($project, $region, $operation, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'operation' => $operation); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Retrieves the specified region-specific Operations resource. + * (regionOperations.get) + * + * @param string $project Project ID for this request. + * @param string $region Name of the zone scoping this request. + * @param string $operation Name of the Operations resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function get($project, $region, $operation, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'operation' => $operation); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Retrieves the list of Operation resources contained within the specified + * region. (regionOperations.listRegionOperations) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region scoping this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_Compute_OperationList + */ + public function listRegionOperations($project, $region, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_OperationList"); + } +} + +/** + * The "regions" collection of methods. + * Typical usage is: + * + * $computeService = new Google_Service_Compute(...); + * $regions = $computeService->regions; + * + */ +class Google_Service_Compute_Regions_Resource extends Google_Service_Resource +{ + + /** + * Returns the specified region resource. (regions.get) + * + * @param string $project Project ID for this request. + * @param string $region Name of the region resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Region + */ + public function get($project, $region, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_Region"); + } + + /** + * Retrieves the list of region resources available to the specified project. + * (regions.listRegions) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_Compute_RegionList + */ + public function listRegions($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_RegionList"); + } +} + +/** + * The "routes" collection of methods. + * Typical usage is: + * + * $computeService = new Google_Service_Compute(...); + * $routes = $computeService->routes; + * + */ +class Google_Service_Compute_Routes_Resource extends Google_Service_Resource +{ + + /** + * Deletes the specified route resource. (routes.delete) + * + * @param string $project Name of the project scoping this request. + * @param string $route Name of the route resource to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $route, $optParams = array()) + { + $params = array('project' => $project, 'route' => $route); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Returns the specified route resource. (routes.get) + * + * @param string $project Name of the project scoping this request. + * @param string $route Name of the route resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Route + */ + public function get($project, $route, $optParams = array()) + { + $params = array('project' => $project, 'route' => $route); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_Route"); + } + + /** + * Creates a route resource in the specified project using the data included in + * the request. (routes.insert) + * + * @param string $project Name of the project scoping this request. + * @param Google_Route $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, Google_Service_Compute_Route $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Retrieves the list of route resources available to the specified project. + * (routes.listRoutes) + * + * @param string $project Name of the project scoping this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_Compute_RouteList + */ + public function listRoutes($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_RouteList"); + } +} + +/** + * The "snapshots" collection of methods. + * Typical usage is: + * + * $computeService = new Google_Service_Compute(...); + * $snapshots = $computeService->snapshots; + * + */ +class Google_Service_Compute_Snapshots_Resource extends Google_Service_Resource +{ + + /** + * Deletes the specified Snapshot resource. Keep in mind that deleting a single + * snapshot might not necessarily delete all the data on that snapshot. If any + * data on the snapshot that is marked for deletion is needed for subsequent + * snapshots, the data will be moved to the next corresponding snapshot. + * + * For more information, see Deleting snaphots. (snapshots.delete) + * + * @param string $project Name of the project scoping this request. + * @param string $snapshot Name of the Snapshot resource to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $snapshot, $optParams = array()) + { + $params = array('project' => $project, 'snapshot' => $snapshot); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Returns the specified Snapshot resource. (snapshots.get) + * + * @param string $project Name of the project scoping this request. + * @param string $snapshot Name of the Snapshot resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Snapshot + */ + public function get($project, $snapshot, $optParams = array()) + { + $params = array('project' => $project, 'snapshot' => $snapshot); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_Snapshot"); + } + + /** + * Retrieves the list of Snapshot resources contained within the specified + * project. (snapshots.listSnapshots) + * + * @param string $project Name of the project scoping this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_Compute_SnapshotList + */ + public function listSnapshots($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_SnapshotList"); + } +} + +/** + * The "targetHttpProxies" collection of methods. + * Typical usage is: + * + * $computeService = new Google_Service_Compute(...); + * $targetHttpProxies = $computeService->targetHttpProxies; + * + */ +class Google_Service_Compute_TargetHttpProxies_Resource extends Google_Service_Resource +{ + + /** + * Deletes the specified TargetHttpProxy resource. (targetHttpProxies.delete) + * + * @param string $project Name of the project scoping this request. + * @param string $targetHttpProxy Name of the TargetHttpProxy resource to + * delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $targetHttpProxy, $optParams = array()) + { + $params = array('project' => $project, 'targetHttpProxy' => $targetHttpProxy); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Returns the specified TargetHttpProxy resource. (targetHttpProxies.get) + * + * @param string $project Name of the project scoping this request. + * @param string $targetHttpProxy Name of the TargetHttpProxy resource to + * return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_TargetHttpProxy + */ + public function get($project, $targetHttpProxy, $optParams = array()) + { + $params = array('project' => $project, 'targetHttpProxy' => $targetHttpProxy); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_TargetHttpProxy"); + } + + /** + * Creates a TargetHttpProxy resource in the specified project using the data + * included in the request. (targetHttpProxies.insert) + * + * @param string $project Name of the project scoping this request. + * @param Google_TargetHttpProxy $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, Google_Service_Compute_TargetHttpProxy $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Retrieves the list of TargetHttpProxy resources available to the specified + * project. (targetHttpProxies.listTargetHttpProxies) + * + * @param string $project Name of the project scoping this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_Compute_TargetHttpProxyList + */ + public function listTargetHttpProxies($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_TargetHttpProxyList"); + } + + /** + * Changes the URL map for TargetHttpProxy. (targetHttpProxies.setUrlMap) + * + * @param string $project Name of the project scoping this request. + * @param string $targetHttpProxy Name of the TargetHttpProxy resource whose URL + * map is to be set. + * @param Google_UrlMapReference $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function setUrlMap($project, $targetHttpProxy, Google_Service_Compute_UrlMapReference $postBody, $optParams = array()) + { + $params = array('project' => $project, 'targetHttpProxy' => $targetHttpProxy, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setUrlMap', array($params), "Google_Service_Compute_Operation"); + } +} + +/** + * The "targetInstances" collection of methods. + * Typical usage is: + * + * $computeService = new Google_Service_Compute(...); + * $targetInstances = $computeService->targetInstances; + * + */ +class Google_Service_Compute_TargetInstances_Resource extends Google_Service_Resource +{ + + /** + * Retrieves the list of target instances grouped by scope. + * (targetInstances.aggregatedList) + * + * @param string $project Name of the project scoping this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_Compute_TargetInstanceAggregatedList + */ + public function aggregatedList($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('aggregatedList', array($params), "Google_Service_Compute_TargetInstanceAggregatedList"); + } + + /** + * Deletes the specified TargetInstance resource. (targetInstances.delete) + * + * @param string $project Name of the project scoping this request. + * @param string $zone Name of the zone scoping this request. + * @param string $targetInstance Name of the TargetInstance resource to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $zone, $targetInstance, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'targetInstance' => $targetInstance); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Returns the specified TargetInstance resource. (targetInstances.get) + * + * @param string $project Name of the project scoping this request. + * @param string $zone Name of the zone scoping this request. + * @param string $targetInstance Name of the TargetInstance resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_TargetInstance + */ + public function get($project, $zone, $targetInstance, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'targetInstance' => $targetInstance); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_TargetInstance"); + } + + /** + * Creates a TargetInstance resource in the specified project and zone using the + * data included in the request. (targetInstances.insert) + * + * @param string $project Name of the project scoping this request. + * @param string $zone Name of the zone scoping this request. + * @param Google_TargetInstance $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, $zone, Google_Service_Compute_TargetInstance $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Retrieves the list of TargetInstance resources available to the specified + * project and zone. (targetInstances.listTargetInstances) + * + * @param string $project Name of the project scoping this request. + * @param string $zone Name of the zone scoping this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_Compute_TargetInstanceList + */ + public function listTargetInstances($project, $zone, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_TargetInstanceList"); + } +} + +/** + * The "targetPools" collection of methods. + * Typical usage is: + * + * $computeService = new Google_Service_Compute(...); + * $targetPools = $computeService->targetPools; + * + */ +class Google_Service_Compute_TargetPools_Resource extends Google_Service_Resource +{ + + /** + * Adds health check URL to targetPool. (targetPools.addHealthCheck) + * + * @param string $project + * @param string $region Name of the region scoping this request. + * @param string $targetPool Name of the TargetPool resource to which + * health_check_url is to be added. + * @param Google_TargetPoolsAddHealthCheckRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function addHealthCheck($project, $region, $targetPool, Google_Service_Compute_TargetPoolsAddHealthCheckRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('addHealthCheck', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Adds instance url to targetPool. (targetPools.addInstance) + * + * @param string $project + * @param string $region Name of the region scoping this request. + * @param string $targetPool Name of the TargetPool resource to which + * instance_url is to be added. + * @param Google_TargetPoolsAddInstanceRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function addInstance($project, $region, $targetPool, Google_Service_Compute_TargetPoolsAddInstanceRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('addInstance', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Retrieves the list of target pools grouped by scope. + * (targetPools.aggregatedList) + * + * @param string $project Name of the project scoping this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_Compute_TargetPoolAggregatedList + */ + public function aggregatedList($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('aggregatedList', array($params), "Google_Service_Compute_TargetPoolAggregatedList"); + } + + /** + * Deletes the specified TargetPool resource. (targetPools.delete) + * + * @param string $project Name of the project scoping this request. + * @param string $region Name of the region scoping this request. + * @param string $targetPool Name of the TargetPool resource to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $region, $targetPool, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Returns the specified TargetPool resource. (targetPools.get) + * + * @param string $project Name of the project scoping this request. + * @param string $region Name of the region scoping this request. + * @param string $targetPool Name of the TargetPool resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_TargetPool + */ + public function get($project, $region, $targetPool, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_TargetPool"); + } + + /** + * Gets the most recent health check results for each IP for the given instance + * that is referenced by given TargetPool. (targetPools.getHealth) + * + * @param string $project + * @param string $region Name of the region scoping this request. + * @param string $targetPool Name of the TargetPool resource to which the + * queried instance belongs. + * @param Google_InstanceReference $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_TargetPoolInstanceHealth + */ + public function getHealth($project, $region, $targetPool, Google_Service_Compute_InstanceReference $postBody, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('getHealth', array($params), "Google_Service_Compute_TargetPoolInstanceHealth"); + } + + /** + * Creates a TargetPool resource in the specified project and region using the + * data included in the request. (targetPools.insert) + * + * @param string $project Name of the project scoping this request. + * @param string $region Name of the region scoping this request. + * @param Google_TargetPool $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, $region, Google_Service_Compute_TargetPool $postBody, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Retrieves the list of TargetPool resources available to the specified project + * and region. (targetPools.listTargetPools) + * + * @param string $project Name of the project scoping this request. + * @param string $region Name of the region scoping this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_Compute_TargetPoolList + */ + public function listTargetPools($project, $region, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_TargetPoolList"); + } + + /** + * Removes health check URL from targetPool. (targetPools.removeHealthCheck) + * + * @param string $project + * @param string $region Name of the region scoping this request. + * @param string $targetPool Name of the TargetPool resource to which + * health_check_url is to be removed. + * @param Google_TargetPoolsRemoveHealthCheckRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function removeHealthCheck($project, $region, $targetPool, Google_Service_Compute_TargetPoolsRemoveHealthCheckRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('removeHealthCheck', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Removes instance URL from targetPool. (targetPools.removeInstance) + * + * @param string $project + * @param string $region Name of the region scoping this request. + * @param string $targetPool Name of the TargetPool resource to which + * instance_url is to be removed. + * @param Google_TargetPoolsRemoveInstanceRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function removeInstance($project, $region, $targetPool, Google_Service_Compute_TargetPoolsRemoveInstanceRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('removeInstance', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Changes backup pool configurations. (targetPools.setBackup) + * + * @param string $project Name of the project scoping this request. + * @param string $region Name of the region scoping this request. + * @param string $targetPool Name of the TargetPool resource for which the + * backup is to be set. + * @param Google_TargetReference $postBody + * @param array $optParams Optional parameters. + * + * @opt_param float failoverRatio New failoverRatio value for the containing + * target pool. + * @return Google_Service_Compute_Operation + */ + public function setBackup($project, $region, $targetPool, Google_Service_Compute_TargetReference $postBody, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setBackup', array($params), "Google_Service_Compute_Operation"); + } +} + +/** + * The "targetVpnGateways" collection of methods. + * Typical usage is: + * + * $computeService = new Google_Service_Compute(...); + * $targetVpnGateways = $computeService->targetVpnGateways; + * + */ +class Google_Service_Compute_TargetVpnGateways_Resource extends Google_Service_Resource +{ + + /** + * Retrieves the list of target VPN gateways grouped by scope. + * (targetVpnGateways.aggregatedList) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_Compute_TargetVpnGatewayAggregatedList + */ + public function aggregatedList($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('aggregatedList', array($params), "Google_Service_Compute_TargetVpnGatewayAggregatedList"); + } + + /** + * Deletes the specified TargetVpnGateway resource. (targetVpnGateways.delete) + * + * @param string $project Project ID for this request. + * @param string $region The name of the region for this request. + * @param string $targetVpnGateway Name of the TargetVpnGateway resource to + * delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $region, $targetVpnGateway, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'targetVpnGateway' => $targetVpnGateway); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Returns the specified TargetVpnGateway resource. (targetVpnGateways.get) + * + * @param string $project Project ID for this request. + * @param string $region The name of the region for this request. + * @param string $targetVpnGateway Name of the TargetVpnGateway resource to + * return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_TargetVpnGateway + */ + public function get($project, $region, $targetVpnGateway, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'targetVpnGateway' => $targetVpnGateway); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_TargetVpnGateway"); + } + + /** + * Creates a TargetVpnGateway resource in the specified project and region using + * the data included in the request. (targetVpnGateways.insert) + * + * @param string $project Project ID for this request. + * @param string $region The name of the region for this request. + * @param Google_TargetVpnGateway $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, $region, Google_Service_Compute_TargetVpnGateway $postBody, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Retrieves the list of TargetVpnGateway resources available to the specified + * project and region. (targetVpnGateways.listTargetVpnGateways) + * + * @param string $project Project ID for this request. + * @param string $region The name of the region for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_Compute_TargetVpnGatewayList + */ + public function listTargetVpnGateways($project, $region, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_TargetVpnGatewayList"); + } +} + +/** + * The "urlMaps" collection of methods. + * Typical usage is: + * + * $computeService = new Google_Service_Compute(...); + * $urlMaps = $computeService->urlMaps; + * + */ +class Google_Service_Compute_UrlMaps_Resource extends Google_Service_Resource +{ + + /** + * Deletes the specified UrlMap resource. (urlMaps.delete) + * + * @param string $project Name of the project scoping this request. + * @param string $urlMap Name of the UrlMap resource to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $urlMap, $optParams = array()) + { + $params = array('project' => $project, 'urlMap' => $urlMap); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Returns the specified UrlMap resource. (urlMaps.get) + * + * @param string $project Name of the project scoping this request. + * @param string $urlMap Name of the UrlMap resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_UrlMap + */ + public function get($project, $urlMap, $optParams = array()) + { + $params = array('project' => $project, 'urlMap' => $urlMap); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_UrlMap"); + } + + /** + * Creates a UrlMap resource in the specified project using the data included in + * the request. (urlMaps.insert) + * + * @param string $project Name of the project scoping this request. + * @param Google_UrlMap $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, Google_Service_Compute_UrlMap $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Retrieves the list of UrlMap resources available to the specified project. + * (urlMaps.listUrlMaps) + * + * @param string $project Name of the project scoping this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_Compute_UrlMapList + */ + public function listUrlMaps($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_UrlMapList"); + } + + /** + * Update the entire content of the UrlMap resource. This method supports patch + * semantics. (urlMaps.patch) + * + * @param string $project Name of the project scoping this request. + * @param string $urlMap Name of the UrlMap resource to update. + * @param Google_UrlMap $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function patch($project, $urlMap, Google_Service_Compute_UrlMap $postBody, $optParams = array()) + { + $params = array('project' => $project, 'urlMap' => $urlMap, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Update the entire content of the UrlMap resource. (urlMaps.update) + * + * @param string $project Name of the project scoping this request. + * @param string $urlMap Name of the UrlMap resource to update. + * @param Google_UrlMap $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function update($project, $urlMap, Google_Service_Compute_UrlMap $postBody, $optParams = array()) + { + $params = array('project' => $project, 'urlMap' => $urlMap, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Run static validation for the UrlMap. In particular, the tests of the + * provided UrlMap will be run. Calling this method does NOT create the UrlMap. + * (urlMaps.validate) + * + * @param string $project Name of the project scoping this request. + * @param string $urlMap Name of the UrlMap resource to be validated as. + * @param Google_UrlMapsValidateRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_UrlMapsValidateResponse + */ + public function validate($project, $urlMap, Google_Service_Compute_UrlMapsValidateRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'urlMap' => $urlMap, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('validate', array($params), "Google_Service_Compute_UrlMapsValidateResponse"); + } +} + +/** + * The "vpnTunnels" collection of methods. + * Typical usage is: + * + * $computeService = new Google_Service_Compute(...); + * $vpnTunnels = $computeService->vpnTunnels; + * + */ +class Google_Service_Compute_VpnTunnels_Resource extends Google_Service_Resource +{ + + /** + * Retrieves the list of VPN tunnels grouped by scope. + * (vpnTunnels.aggregatedList) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_Compute_VpnTunnelAggregatedList + */ + public function aggregatedList($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('aggregatedList', array($params), "Google_Service_Compute_VpnTunnelAggregatedList"); + } + + /** + * Deletes the specified VpnTunnel resource. (vpnTunnels.delete) + * + * @param string $project Project ID for this request. + * @param string $region The name of the region for this request. + * @param string $vpnTunnel Name of the VpnTunnel resource to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function delete($project, $region, $vpnTunnel, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'vpnTunnel' => $vpnTunnel); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Returns the specified VpnTunnel resource. (vpnTunnels.get) + * + * @param string $project Project ID for this request. + * @param string $region The name of the region for this request. + * @param string $vpnTunnel Name of the VpnTunnel resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_VpnTunnel + */ + public function get($project, $region, $vpnTunnel, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'vpnTunnel' => $vpnTunnel); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_VpnTunnel"); + } + + /** + * Creates a VpnTunnel resource in the specified project and region using the + * data included in the request. (vpnTunnels.insert) + * + * @param string $project Project ID for this request. + * @param string $region The name of the region for this request. + * @param Google_VpnTunnel $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function insert($project, $region, Google_Service_Compute_VpnTunnel $postBody, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Retrieves the list of VpnTunnel resources contained in the specified project + * and region. (vpnTunnels.listVpnTunnels) + * + * @param string $project Project ID for this request. + * @param string $region The name of the region for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_Compute_VpnTunnelList + */ + public function listVpnTunnels($project, $region, $optParams = array()) + { + $params = array('project' => $project, 'region' => $region); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_VpnTunnelList"); + } +} + +/** + * The "zoneOperations" collection of methods. + * Typical usage is: + * + * $computeService = new Google_Service_Compute(...); + * $zoneOperations = $computeService->zoneOperations; + * + */ +class Google_Service_Compute_ZoneOperations_Resource extends Google_Service_Resource +{ + + /** + * Deletes the specified zone-specific Operations resource. + * (zoneOperations.delete) + * + * @param string $project Project ID for this request. + * @param string $zone Name of the zone scoping this request. + * @param string $operation Name of the Operations resource to delete. + * @param array $optParams Optional parameters. + */ + public function delete($project, $zone, $operation, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Retrieves the specified zone-specific Operations resource. + * (zoneOperations.get) + * + * @param string $project Project ID for this request. + * @param string $zone Name of the zone scoping this request. + * @param string $operation Name of the Operations resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Operation + */ + public function get($project, $zone, $operation, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_Operation"); + } + + /** + * Retrieves the list of Operation resources contained within the specified + * zone. (zoneOperations.listZoneOperations) + * + * @param string $project Project ID for this request. + * @param string $zone Name of the zone scoping this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_Compute_OperationList + */ + public function listZoneOperations($project, $zone, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_OperationList"); + } +} + +/** + * The "zones" collection of methods. + * Typical usage is: + * + * $computeService = new Google_Service_Compute(...); + * $zones = $computeService->zones; + * + */ +class Google_Service_Compute_Zones_Resource extends Google_Service_Resource +{ + + /** + * Returns the specified zone resource. (zones.get) + * + * @param string $project Project ID for this request. + * @param string $zone Name of the zone resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Compute_Zone + */ + public function get($project, $zone, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Compute_Zone"); + } + + /** + * Retrieves the list of zone resources available to the specified project. + * (zones.listZones) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_Compute_ZoneList + */ + public function listZones($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Compute_ZoneList"); + } +} + + + + +class Google_Service_Compute_AccessConfig extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + public $name; + public $natIP; + public $type; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNatIP($natIP) + { + $this->natIP = $natIP; + } + public function getNatIP() + { + return $this->natIP; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Compute_Address extends Google_Collection +{ + protected $collection_key = 'users'; + protected $internal_gapi_mappings = array( + ); + public $address; + public $creationTimestamp; + public $description; + public $id; + public $kind; + public $name; + public $region; + public $selfLink; + public $status; + public $users; + + + public function setAddress($address) + { + $this->address = $address; + } + public function getAddress() + { + return $this->address; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setUsers($users) + { + $this->users = $users; + } + public function getUsers() + { + return $this->users; + } +} + +class Google_Service_Compute_AddressAggregatedList extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Compute_AddressesScopedList'; + protected $itemsDataType = 'map'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Compute_AddressAggregatedListItems extends Google_Model +{ +} + +class Google_Service_Compute_AddressList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Compute_Address'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Compute_AddressesScopedList extends Google_Collection +{ + protected $collection_key = 'addresses'; + protected $internal_gapi_mappings = array( + ); + protected $addressesType = 'Google_Service_Compute_Address'; + protected $addressesDataType = 'array'; + protected $warningType = 'Google_Service_Compute_AddressesScopedListWarning'; + protected $warningDataType = ''; + + + public function setAddresses($addresses) + { + $this->addresses = $addresses; + } + public function getAddresses() + { + return $this->addresses; + } + public function setWarning(Google_Service_Compute_AddressesScopedListWarning $warning) + { + $this->warning = $warning; + } + public function getWarning() + { + return $this->warning; + } +} + +class Google_Service_Compute_AddressesScopedListWarning extends Google_Collection +{ + protected $collection_key = 'data'; + protected $internal_gapi_mappings = array( + ); + public $code; + protected $dataType = 'Google_Service_Compute_AddressesScopedListWarningData'; + protected $dataDataType = 'array'; + public $message; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_Compute_AddressesScopedListWarningData extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $key; + public $value; + + + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Compute_AttachedDisk extends Google_Collection +{ + protected $collection_key = 'licenses'; + protected $internal_gapi_mappings = array( + ); + public $autoDelete; + public $boot; + public $deviceName; + public $index; + protected $initializeParamsType = 'Google_Service_Compute_AttachedDiskInitializeParams'; + protected $initializeParamsDataType = ''; + public $interface; + public $kind; + public $licenses; + public $mode; + public $source; + public $type; + + + public function setAutoDelete($autoDelete) + { + $this->autoDelete = $autoDelete; + } + public function getAutoDelete() + { + return $this->autoDelete; + } + public function setBoot($boot) + { + $this->boot = $boot; + } + public function getBoot() + { + return $this->boot; + } + public function setDeviceName($deviceName) + { + $this->deviceName = $deviceName; + } + public function getDeviceName() + { + return $this->deviceName; + } + public function setIndex($index) + { + $this->index = $index; + } + public function getIndex() + { + return $this->index; + } + public function setInitializeParams(Google_Service_Compute_AttachedDiskInitializeParams $initializeParams) + { + $this->initializeParams = $initializeParams; + } + public function getInitializeParams() + { + return $this->initializeParams; + } + public function setInterface($interface) + { + $this->interface = $interface; + } + public function getInterface() + { + return $this->interface; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLicenses($licenses) + { + $this->licenses = $licenses; + } + public function getLicenses() + { + return $this->licenses; + } + public function setMode($mode) + { + $this->mode = $mode; + } + public function getMode() + { + return $this->mode; + } + public function setSource($source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Compute_AttachedDiskInitializeParams extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $diskName; + public $diskSizeGb; + public $diskType; + public $sourceImage; + + + public function setDiskName($diskName) + { + $this->diskName = $diskName; + } + public function getDiskName() + { + return $this->diskName; + } + public function setDiskSizeGb($diskSizeGb) + { + $this->diskSizeGb = $diskSizeGb; + } + public function getDiskSizeGb() + { + return $this->diskSizeGb; + } + public function setDiskType($diskType) + { + $this->diskType = $diskType; + } + public function getDiskType() + { + return $this->diskType; + } + public function setSourceImage($sourceImage) + { + $this->sourceImage = $sourceImage; + } + public function getSourceImage() + { + return $this->sourceImage; + } +} + +class Google_Service_Compute_Autoscaler extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $autoscalingPolicyType = 'Google_Service_Compute_AutoscalingPolicy'; + protected $autoscalingPolicyDataType = ''; + public $creationTimestamp; + public $description; + public $id; + public $kind; + public $name; + public $selfLink; + public $target; + public $zone; + + + public function setAutoscalingPolicy(Google_Service_Compute_AutoscalingPolicy $autoscalingPolicy) + { + $this->autoscalingPolicy = $autoscalingPolicy; + } + public function getAutoscalingPolicy() + { + return $this->autoscalingPolicy; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTarget($target) + { + $this->target = $target; + } + public function getTarget() + { + return $this->target; + } + public function setZone($zone) + { + $this->zone = $zone; + } + public function getZone() + { + return $this->zone; + } +} + +class Google_Service_Compute_AutoscalerAggregatedList extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Compute_AutoscalersScopedList'; + protected $itemsDataType = 'map'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Compute_AutoscalerAggregatedListItems extends Google_Model +{ +} + +class Google_Service_Compute_AutoscalerList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Compute_Autoscaler'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Compute_AutoscalersScopedList extends Google_Collection +{ + protected $collection_key = 'autoscalers'; + protected $internal_gapi_mappings = array( + ); + protected $autoscalersType = 'Google_Service_Compute_Autoscaler'; + protected $autoscalersDataType = 'array'; + protected $warningType = 'Google_Service_Compute_AutoscalersScopedListWarning'; + protected $warningDataType = ''; + + + public function setAutoscalers($autoscalers) + { + $this->autoscalers = $autoscalers; + } + public function getAutoscalers() + { + return $this->autoscalers; + } + public function setWarning(Google_Service_Compute_AutoscalersScopedListWarning $warning) + { + $this->warning = $warning; + } + public function getWarning() + { + return $this->warning; + } +} + +class Google_Service_Compute_AutoscalersScopedListWarning extends Google_Collection +{ + protected $collection_key = 'data'; + protected $internal_gapi_mappings = array( + ); + public $code; + protected $dataType = 'Google_Service_Compute_AutoscalersScopedListWarningData'; + protected $dataDataType = 'array'; + public $message; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_Compute_AutoscalersScopedListWarningData extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $key; + public $value; + + + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Compute_AutoscalingPolicy extends Google_Collection +{ + protected $collection_key = 'customMetricUtilizations'; + protected $internal_gapi_mappings = array( + ); + public $coolDownPeriodSec; + protected $cpuUtilizationType = 'Google_Service_Compute_AutoscalingPolicyCpuUtilization'; + protected $cpuUtilizationDataType = ''; + protected $customMetricUtilizationsType = 'Google_Service_Compute_AutoscalingPolicyCustomMetricUtilization'; + protected $customMetricUtilizationsDataType = 'array'; + protected $loadBalancingUtilizationType = 'Google_Service_Compute_AutoscalingPolicyLoadBalancingUtilization'; + protected $loadBalancingUtilizationDataType = ''; + public $maxNumReplicas; + public $minNumReplicas; + + + public function setCoolDownPeriodSec($coolDownPeriodSec) + { + $this->coolDownPeriodSec = $coolDownPeriodSec; + } + public function getCoolDownPeriodSec() + { + return $this->coolDownPeriodSec; + } + public function setCpuUtilization(Google_Service_Compute_AutoscalingPolicyCpuUtilization $cpuUtilization) + { + $this->cpuUtilization = $cpuUtilization; + } + public function getCpuUtilization() + { + return $this->cpuUtilization; + } + public function setCustomMetricUtilizations($customMetricUtilizations) + { + $this->customMetricUtilizations = $customMetricUtilizations; + } + public function getCustomMetricUtilizations() + { + return $this->customMetricUtilizations; + } + public function setLoadBalancingUtilization(Google_Service_Compute_AutoscalingPolicyLoadBalancingUtilization $loadBalancingUtilization) + { + $this->loadBalancingUtilization = $loadBalancingUtilization; + } + public function getLoadBalancingUtilization() + { + return $this->loadBalancingUtilization; + } + public function setMaxNumReplicas($maxNumReplicas) + { + $this->maxNumReplicas = $maxNumReplicas; + } + public function getMaxNumReplicas() + { + return $this->maxNumReplicas; + } + public function setMinNumReplicas($minNumReplicas) + { + $this->minNumReplicas = $minNumReplicas; + } + public function getMinNumReplicas() + { + return $this->minNumReplicas; + } +} + +class Google_Service_Compute_AutoscalingPolicyCpuUtilization extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $utilizationTarget; + + + public function setUtilizationTarget($utilizationTarget) + { + $this->utilizationTarget = $utilizationTarget; + } + public function getUtilizationTarget() + { + return $this->utilizationTarget; + } +} + +class Google_Service_Compute_AutoscalingPolicyCustomMetricUtilization extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $metric; + public $utilizationTarget; + public $utilizationTargetType; + + + public function setMetric($metric) + { + $this->metric = $metric; + } + public function getMetric() + { + return $this->metric; + } + public function setUtilizationTarget($utilizationTarget) + { + $this->utilizationTarget = $utilizationTarget; + } + public function getUtilizationTarget() + { + return $this->utilizationTarget; + } + public function setUtilizationTargetType($utilizationTargetType) + { + $this->utilizationTargetType = $utilizationTargetType; + } + public function getUtilizationTargetType() + { + return $this->utilizationTargetType; + } +} + +class Google_Service_Compute_AutoscalingPolicyLoadBalancingUtilization extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $utilizationTarget; + + + public function setUtilizationTarget($utilizationTarget) + { + $this->utilizationTarget = $utilizationTarget; + } + public function getUtilizationTarget() + { + return $this->utilizationTarget; + } +} + +class Google_Service_Compute_Backend extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $balancingMode; + public $capacityScaler; + public $description; + public $group; + public $maxRate; + public $maxRatePerInstance; + public $maxUtilization; + + + public function setBalancingMode($balancingMode) + { + $this->balancingMode = $balancingMode; + } + public function getBalancingMode() + { + return $this->balancingMode; + } + public function setCapacityScaler($capacityScaler) + { + $this->capacityScaler = $capacityScaler; + } + public function getCapacityScaler() + { + return $this->capacityScaler; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setGroup($group) + { + $this->group = $group; + } + public function getGroup() + { + return $this->group; + } + public function setMaxRate($maxRate) + { + $this->maxRate = $maxRate; + } + public function getMaxRate() + { + return $this->maxRate; + } + public function setMaxRatePerInstance($maxRatePerInstance) + { + $this->maxRatePerInstance = $maxRatePerInstance; + } + public function getMaxRatePerInstance() + { + return $this->maxRatePerInstance; + } + public function setMaxUtilization($maxUtilization) + { + $this->maxUtilization = $maxUtilization; + } + public function getMaxUtilization() + { + return $this->maxUtilization; + } +} + +class Google_Service_Compute_BackendService extends Google_Collection +{ + protected $collection_key = 'healthChecks'; + protected $internal_gapi_mappings = array( + ); + protected $backendsType = 'Google_Service_Compute_Backend'; + protected $backendsDataType = 'array'; + public $creationTimestamp; + public $description; + public $fingerprint; + public $healthChecks; + public $id; + public $kind; + public $name; + public $port; + public $portName; + public $protocol; + public $selfLink; + public $timeoutSec; + + + public function setBackends($backends) + { + $this->backends = $backends; + } + public function getBackends() + { + return $this->backends; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setHealthChecks($healthChecks) + { + $this->healthChecks = $healthChecks; + } + public function getHealthChecks() + { + return $this->healthChecks; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPort($port) + { + $this->port = $port; + } + public function getPort() + { + return $this->port; + } + public function setPortName($portName) + { + $this->portName = $portName; + } + public function getPortName() + { + return $this->portName; + } + public function setProtocol($protocol) + { + $this->protocol = $protocol; + } + public function getProtocol() + { + return $this->protocol; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTimeoutSec($timeoutSec) + { + $this->timeoutSec = $timeoutSec; + } + public function getTimeoutSec() + { + return $this->timeoutSec; + } +} + +class Google_Service_Compute_BackendServiceGroupHealth extends Google_Collection +{ + protected $collection_key = 'healthStatus'; + protected $internal_gapi_mappings = array( + ); + protected $healthStatusType = 'Google_Service_Compute_HealthStatus'; + protected $healthStatusDataType = 'array'; + public $kind; + + + public function setHealthStatus($healthStatus) + { + $this->healthStatus = $healthStatus; + } + public function getHealthStatus() + { + return $this->healthStatus; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Compute_BackendServiceList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Compute_BackendService'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Compute_DeprecationStatus extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $deleted; + public $deprecated; + public $obsolete; + public $replacement; + public $state; + + + public function setDeleted($deleted) + { + $this->deleted = $deleted; + } + public function getDeleted() + { + return $this->deleted; + } + public function setDeprecated($deprecated) + { + $this->deprecated = $deprecated; + } + public function getDeprecated() + { + return $this->deprecated; + } + public function setObsolete($obsolete) + { + $this->obsolete = $obsolete; + } + public function getObsolete() + { + return $this->obsolete; + } + public function setReplacement($replacement) + { + $this->replacement = $replacement; + } + public function getReplacement() + { + return $this->replacement; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } +} + +class Google_Service_Compute_Disk extends Google_Collection +{ + protected $collection_key = 'users'; + protected $internal_gapi_mappings = array( + ); + public $creationTimestamp; + public $description; + public $id; + public $kind; + public $lastAttachTimestamp; + public $lastDetachTimestamp; + public $licenses; + public $name; + public $options; + public $selfLink; + public $sizeGb; + public $sourceImage; + public $sourceImageId; + public $sourceSnapshot; + public $sourceSnapshotId; + public $status; + public $type; + public $users; + public $zone; + + + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastAttachTimestamp($lastAttachTimestamp) + { + $this->lastAttachTimestamp = $lastAttachTimestamp; + } + public function getLastAttachTimestamp() + { + return $this->lastAttachTimestamp; + } + public function setLastDetachTimestamp($lastDetachTimestamp) + { + $this->lastDetachTimestamp = $lastDetachTimestamp; + } + public function getLastDetachTimestamp() + { + return $this->lastDetachTimestamp; + } + public function setLicenses($licenses) + { + $this->licenses = $licenses; + } + public function getLicenses() + { + return $this->licenses; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOptions($options) + { + $this->options = $options; + } + public function getOptions() + { + return $this->options; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setSizeGb($sizeGb) + { + $this->sizeGb = $sizeGb; + } + public function getSizeGb() + { + return $this->sizeGb; + } + public function setSourceImage($sourceImage) + { + $this->sourceImage = $sourceImage; + } + public function getSourceImage() + { + return $this->sourceImage; + } + public function setSourceImageId($sourceImageId) + { + $this->sourceImageId = $sourceImageId; + } + public function getSourceImageId() + { + return $this->sourceImageId; + } + public function setSourceSnapshot($sourceSnapshot) + { + $this->sourceSnapshot = $sourceSnapshot; + } + public function getSourceSnapshot() + { + return $this->sourceSnapshot; + } + public function setSourceSnapshotId($sourceSnapshotId) + { + $this->sourceSnapshotId = $sourceSnapshotId; + } + public function getSourceSnapshotId() + { + return $this->sourceSnapshotId; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUsers($users) + { + $this->users = $users; + } + public function getUsers() + { + return $this->users; + } + public function setZone($zone) + { + $this->zone = $zone; + } + public function getZone() + { + return $this->zone; + } +} + +class Google_Service_Compute_DiskAggregatedList extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Compute_DisksScopedList'; + protected $itemsDataType = 'map'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Compute_DiskAggregatedListItems extends Google_Model +{ +} + +class Google_Service_Compute_DiskList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Compute_Disk'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Compute_DiskMoveRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $destinationZone; + public $targetDisk; + + + public function setDestinationZone($destinationZone) + { + $this->destinationZone = $destinationZone; + } + public function getDestinationZone() + { + return $this->destinationZone; + } + public function setTargetDisk($targetDisk) + { + $this->targetDisk = $targetDisk; + } + public function getTargetDisk() + { + return $this->targetDisk; + } +} + +class Google_Service_Compute_DiskType extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $creationTimestamp; + public $defaultDiskSizeGb; + protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus'; + protected $deprecatedDataType = ''; + public $description; + public $id; + public $kind; + public $name; + public $selfLink; + public $validDiskSize; + public $zone; + + + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDefaultDiskSizeGb($defaultDiskSizeGb) + { + $this->defaultDiskSizeGb = $defaultDiskSizeGb; + } + public function getDefaultDiskSizeGb() + { + return $this->defaultDiskSizeGb; + } + public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated) + { + $this->deprecated = $deprecated; + } + public function getDeprecated() + { + return $this->deprecated; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setValidDiskSize($validDiskSize) + { + $this->validDiskSize = $validDiskSize; + } + public function getValidDiskSize() + { + return $this->validDiskSize; + } + public function setZone($zone) + { + $this->zone = $zone; + } + public function getZone() + { + return $this->zone; + } +} + +class Google_Service_Compute_DiskTypeAggregatedList extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Compute_DiskTypesScopedList'; + protected $itemsDataType = 'map'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Compute_DiskTypeAggregatedListItems extends Google_Model +{ +} + +class Google_Service_Compute_DiskTypeList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Compute_DiskType'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Compute_DiskTypesScopedList extends Google_Collection +{ + protected $collection_key = 'diskTypes'; + protected $internal_gapi_mappings = array( + ); + protected $diskTypesType = 'Google_Service_Compute_DiskType'; + protected $diskTypesDataType = 'array'; + protected $warningType = 'Google_Service_Compute_DiskTypesScopedListWarning'; + protected $warningDataType = ''; + + + public function setDiskTypes($diskTypes) + { + $this->diskTypes = $diskTypes; + } + public function getDiskTypes() + { + return $this->diskTypes; + } + public function setWarning(Google_Service_Compute_DiskTypesScopedListWarning $warning) + { + $this->warning = $warning; + } + public function getWarning() + { + return $this->warning; + } +} + +class Google_Service_Compute_DiskTypesScopedListWarning extends Google_Collection +{ + protected $collection_key = 'data'; + protected $internal_gapi_mappings = array( + ); + public $code; + protected $dataType = 'Google_Service_Compute_DiskTypesScopedListWarningData'; + protected $dataDataType = 'array'; + public $message; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_Compute_DiskTypesScopedListWarningData extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $key; + public $value; + + + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Compute_DisksScopedList extends Google_Collection +{ + protected $collection_key = 'disks'; + protected $internal_gapi_mappings = array( + ); + protected $disksType = 'Google_Service_Compute_Disk'; + protected $disksDataType = 'array'; + protected $warningType = 'Google_Service_Compute_DisksScopedListWarning'; + protected $warningDataType = ''; + + + public function setDisks($disks) + { + $this->disks = $disks; + } + public function getDisks() + { + return $this->disks; + } + public function setWarning(Google_Service_Compute_DisksScopedListWarning $warning) + { + $this->warning = $warning; + } + public function getWarning() + { + return $this->warning; + } +} + +class Google_Service_Compute_DisksScopedListWarning extends Google_Collection +{ + protected $collection_key = 'data'; + protected $internal_gapi_mappings = array( + ); + public $code; + protected $dataType = 'Google_Service_Compute_DisksScopedListWarningData'; + protected $dataDataType = 'array'; + public $message; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_Compute_DisksScopedListWarningData extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $key; + public $value; + + + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Compute_Firewall extends Google_Collection +{ + protected $collection_key = 'targetTags'; + protected $internal_gapi_mappings = array( + ); + protected $allowedType = 'Google_Service_Compute_FirewallAllowed'; + protected $allowedDataType = 'array'; + public $creationTimestamp; + public $description; + public $id; + public $kind; + public $name; + public $network; + public $selfLink; + public $sourceRanges; + public $sourceTags; + public $targetTags; + + + public function setAllowed($allowed) + { + $this->allowed = $allowed; + } + public function getAllowed() + { + return $this->allowed; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNetwork($network) + { + $this->network = $network; + } + public function getNetwork() + { + return $this->network; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setSourceRanges($sourceRanges) + { + $this->sourceRanges = $sourceRanges; + } + public function getSourceRanges() + { + return $this->sourceRanges; + } + public function setSourceTags($sourceTags) + { + $this->sourceTags = $sourceTags; + } + public function getSourceTags() + { + return $this->sourceTags; + } + public function setTargetTags($targetTags) + { + $this->targetTags = $targetTags; + } + public function getTargetTags() + { + return $this->targetTags; + } +} + +class Google_Service_Compute_FirewallAllowed extends Google_Collection +{ + protected $collection_key = 'ports'; + protected $internal_gapi_mappings = array( + "iPProtocol" => "IPProtocol", + ); + public $iPProtocol; + public $ports; + + + public function setIPProtocol($iPProtocol) + { + $this->iPProtocol = $iPProtocol; + } + public function getIPProtocol() + { + return $this->iPProtocol; + } + public function setPorts($ports) + { + $this->ports = $ports; + } + public function getPorts() + { + return $this->ports; + } +} + +class Google_Service_Compute_FirewallList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Compute_Firewall'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Compute_ForwardingRule extends Google_Model +{ + protected $internal_gapi_mappings = array( + "iPAddress" => "IPAddress", + "iPProtocol" => "IPProtocol", + ); + public $iPAddress; + public $iPProtocol; + public $creationTimestamp; + public $description; + public $id; + public $kind; + public $name; + public $portRange; + public $region; + public $selfLink; + public $target; + + + public function setIPAddress($iPAddress) + { + $this->iPAddress = $iPAddress; + } + public function getIPAddress() + { + return $this->iPAddress; + } + public function setIPProtocol($iPProtocol) + { + $this->iPProtocol = $iPProtocol; + } + public function getIPProtocol() + { + return $this->iPProtocol; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPortRange($portRange) + { + $this->portRange = $portRange; + } + public function getPortRange() + { + return $this->portRange; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTarget($target) + { + $this->target = $target; + } + public function getTarget() + { + return $this->target; + } +} + +class Google_Service_Compute_ForwardingRuleAggregatedList extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Compute_ForwardingRulesScopedList'; + protected $itemsDataType = 'map'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Compute_ForwardingRuleAggregatedListItems extends Google_Model +{ +} + +class Google_Service_Compute_ForwardingRuleList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Compute_ForwardingRule'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Compute_ForwardingRulesScopedList extends Google_Collection +{ + protected $collection_key = 'forwardingRules'; + protected $internal_gapi_mappings = array( + ); + protected $forwardingRulesType = 'Google_Service_Compute_ForwardingRule'; + protected $forwardingRulesDataType = 'array'; + protected $warningType = 'Google_Service_Compute_ForwardingRulesScopedListWarning'; + protected $warningDataType = ''; + + + public function setForwardingRules($forwardingRules) + { + $this->forwardingRules = $forwardingRules; + } + public function getForwardingRules() + { + return $this->forwardingRules; + } + public function setWarning(Google_Service_Compute_ForwardingRulesScopedListWarning $warning) + { + $this->warning = $warning; + } + public function getWarning() + { + return $this->warning; + } +} + +class Google_Service_Compute_ForwardingRulesScopedListWarning extends Google_Collection +{ + protected $collection_key = 'data'; + protected $internal_gapi_mappings = array( + ); + public $code; + protected $dataType = 'Google_Service_Compute_ForwardingRulesScopedListWarningData'; + protected $dataDataType = 'array'; + public $message; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_Compute_ForwardingRulesScopedListWarningData extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $key; + public $value; + + + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Compute_HealthCheckReference extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $healthCheck; + + + public function setHealthCheck($healthCheck) + { + $this->healthCheck = $healthCheck; + } + public function getHealthCheck() + { + return $this->healthCheck; + } +} + +class Google_Service_Compute_HealthStatus extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $healthState; + public $instance; + public $ipAddress; + public $port; + + + public function setHealthState($healthState) + { + $this->healthState = $healthState; + } + public function getHealthState() + { + return $this->healthState; + } + public function setInstance($instance) + { + $this->instance = $instance; + } + public function getInstance() + { + return $this->instance; + } + public function setIpAddress($ipAddress) + { + $this->ipAddress = $ipAddress; + } + public function getIpAddress() + { + return $this->ipAddress; + } + public function setPort($port) + { + $this->port = $port; + } + public function getPort() + { + return $this->port; + } +} + +class Google_Service_Compute_HostRule extends Google_Collection +{ + protected $collection_key = 'hosts'; + protected $internal_gapi_mappings = array( + ); + public $description; + public $hosts; + public $pathMatcher; + + + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setHosts($hosts) + { + $this->hosts = $hosts; + } + public function getHosts() + { + return $this->hosts; + } + public function setPathMatcher($pathMatcher) + { + $this->pathMatcher = $pathMatcher; + } + public function getPathMatcher() + { + return $this->pathMatcher; + } +} + +class Google_Service_Compute_HttpHealthCheck extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $checkIntervalSec; + public $creationTimestamp; + public $description; + public $healthyThreshold; + public $host; + public $id; + public $kind; + public $name; + public $port; + public $requestPath; + public $selfLink; + public $timeoutSec; + public $unhealthyThreshold; + + + public function setCheckIntervalSec($checkIntervalSec) + { + $this->checkIntervalSec = $checkIntervalSec; + } + public function getCheckIntervalSec() + { + return $this->checkIntervalSec; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setHealthyThreshold($healthyThreshold) + { + $this->healthyThreshold = $healthyThreshold; + } + public function getHealthyThreshold() + { + return $this->healthyThreshold; + } + public function setHost($host) + { + $this->host = $host; + } + public function getHost() + { + return $this->host; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPort($port) + { + $this->port = $port; + } + public function getPort() + { + return $this->port; + } + public function setRequestPath($requestPath) + { + $this->requestPath = $requestPath; + } + public function getRequestPath() + { + return $this->requestPath; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTimeoutSec($timeoutSec) + { + $this->timeoutSec = $timeoutSec; + } + public function getTimeoutSec() + { + return $this->timeoutSec; + } + public function setUnhealthyThreshold($unhealthyThreshold) + { + $this->unhealthyThreshold = $unhealthyThreshold; + } + public function getUnhealthyThreshold() + { + return $this->unhealthyThreshold; + } +} + +class Google_Service_Compute_HttpHealthCheckList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Compute_HttpHealthCheck'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Compute_Image extends Google_Collection +{ + protected $collection_key = 'licenses'; + protected $internal_gapi_mappings = array( + ); + public $archiveSizeBytes; + public $creationTimestamp; + protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus'; + protected $deprecatedDataType = ''; + public $description; + public $diskSizeGb; + public $id; + public $kind; + public $licenses; + public $name; + protected $rawDiskType = 'Google_Service_Compute_ImageRawDisk'; + protected $rawDiskDataType = ''; + public $selfLink; + public $sourceDisk; + public $sourceDiskId; + public $sourceType; + public $status; + + + public function setArchiveSizeBytes($archiveSizeBytes) + { + $this->archiveSizeBytes = $archiveSizeBytes; + } + public function getArchiveSizeBytes() + { + return $this->archiveSizeBytes; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated) + { + $this->deprecated = $deprecated; + } + public function getDeprecated() + { + return $this->deprecated; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDiskSizeGb($diskSizeGb) + { + $this->diskSizeGb = $diskSizeGb; + } + public function getDiskSizeGb() + { + return $this->diskSizeGb; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLicenses($licenses) + { + $this->licenses = $licenses; + } + public function getLicenses() + { + return $this->licenses; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setRawDisk(Google_Service_Compute_ImageRawDisk $rawDisk) + { + $this->rawDisk = $rawDisk; + } + public function getRawDisk() + { + return $this->rawDisk; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setSourceDisk($sourceDisk) + { + $this->sourceDisk = $sourceDisk; + } + public function getSourceDisk() + { + return $this->sourceDisk; + } + public function setSourceDiskId($sourceDiskId) + { + $this->sourceDiskId = $sourceDiskId; + } + public function getSourceDiskId() + { + return $this->sourceDiskId; + } + public function setSourceType($sourceType) + { + $this->sourceType = $sourceType; + } + public function getSourceType() + { + return $this->sourceType; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} + +class Google_Service_Compute_ImageList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Compute_Image'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Compute_ImageRawDisk extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $containerType; + public $sha1Checksum; + public $source; + + + public function setContainerType($containerType) + { + $this->containerType = $containerType; + } + public function getContainerType() + { + return $this->containerType; + } + public function setSha1Checksum($sha1Checksum) + { + $this->sha1Checksum = $sha1Checksum; + } + public function getSha1Checksum() + { + return $this->sha1Checksum; + } + public function setSource($source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } +} + +class Google_Service_Compute_Instance extends Google_Collection +{ + protected $collection_key = 'serviceAccounts'; + protected $internal_gapi_mappings = array( + ); + public $canIpForward; + public $cpuPlatform; + public $creationTimestamp; + public $description; + protected $disksType = 'Google_Service_Compute_AttachedDisk'; + protected $disksDataType = 'array'; + public $id; + public $kind; + public $machineType; + protected $metadataType = 'Google_Service_Compute_Metadata'; + protected $metadataDataType = ''; + public $name; + protected $networkInterfacesType = 'Google_Service_Compute_NetworkInterface'; + protected $networkInterfacesDataType = 'array'; + protected $schedulingType = 'Google_Service_Compute_Scheduling'; + protected $schedulingDataType = ''; + public $selfLink; + protected $serviceAccountsType = 'Google_Service_Compute_ServiceAccount'; + protected $serviceAccountsDataType = 'array'; + public $status; + public $statusMessage; + protected $tagsType = 'Google_Service_Compute_Tags'; + protected $tagsDataType = ''; + public $zone; + + + public function setCanIpForward($canIpForward) + { + $this->canIpForward = $canIpForward; + } + public function getCanIpForward() + { + return $this->canIpForward; + } + public function setCpuPlatform($cpuPlatform) + { + $this->cpuPlatform = $cpuPlatform; + } + public function getCpuPlatform() + { + return $this->cpuPlatform; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDisks($disks) + { + $this->disks = $disks; + } + public function getDisks() + { + return $this->disks; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMachineType($machineType) + { + $this->machineType = $machineType; + } + public function getMachineType() + { + return $this->machineType; + } + public function setMetadata(Google_Service_Compute_Metadata $metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNetworkInterfaces($networkInterfaces) + { + $this->networkInterfaces = $networkInterfaces; + } + public function getNetworkInterfaces() + { + return $this->networkInterfaces; + } + public function setScheduling(Google_Service_Compute_Scheduling $scheduling) + { + $this->scheduling = $scheduling; + } + public function getScheduling() + { + return $this->scheduling; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setServiceAccounts($serviceAccounts) + { + $this->serviceAccounts = $serviceAccounts; + } + public function getServiceAccounts() + { + return $this->serviceAccounts; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setStatusMessage($statusMessage) + { + $this->statusMessage = $statusMessage; + } + public function getStatusMessage() + { + return $this->statusMessage; + } + public function setTags(Google_Service_Compute_Tags $tags) + { + $this->tags = $tags; + } + public function getTags() + { + return $this->tags; + } + public function setZone($zone) + { + $this->zone = $zone; + } + public function getZone() + { + return $this->zone; + } +} + +class Google_Service_Compute_InstanceAggregatedList extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Compute_InstancesScopedList'; + protected $itemsDataType = 'map'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Compute_InstanceAggregatedListItems extends Google_Model +{ +} + +class Google_Service_Compute_InstanceGroup extends Google_Collection +{ + protected $collection_key = 'namedPorts'; + protected $internal_gapi_mappings = array( + ); + public $creationTimestamp; + public $description; + public $fingerprint; + public $id; + public $kind; + public $name; + protected $namedPortsType = 'Google_Service_Compute_NamedPort'; + protected $namedPortsDataType = 'array'; + public $network; + public $selfLink; + public $size; + public $zone; + + + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNamedPorts($namedPorts) + { + $this->namedPorts = $namedPorts; + } + public function getNamedPorts() + { + return $this->namedPorts; + } + public function setNetwork($network) + { + $this->network = $network; + } + public function getNetwork() + { + return $this->network; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setSize($size) + { + $this->size = $size; + } + public function getSize() + { + return $this->size; + } + public function setZone($zone) + { + $this->zone = $zone; + } + public function getZone() + { + return $this->zone; + } +} + +class Google_Service_Compute_InstanceGroupAggregatedList extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Compute_InstanceGroupsScopedList'; + protected $itemsDataType = 'map'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Compute_InstanceGroupAggregatedListItems extends Google_Model +{ +} + +class Google_Service_Compute_InstanceGroupList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Compute_InstanceGroup'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Compute_InstanceGroupManager extends Google_Collection +{ + protected $collection_key = 'targetPools'; + protected $internal_gapi_mappings = array( + ); + public $baseInstanceName; + public $creationTimestamp; + protected $currentActionsType = 'Google_Service_Compute_InstanceGroupManagerActionsSummary'; + protected $currentActionsDataType = ''; + public $description; + public $fingerprint; + public $id; + public $instanceGroup; + public $instanceTemplate; + public $kind; + public $name; + public $selfLink; + public $targetPools; + public $targetSize; + public $zone; + + + public function setBaseInstanceName($baseInstanceName) + { + $this->baseInstanceName = $baseInstanceName; + } + public function getBaseInstanceName() + { + return $this->baseInstanceName; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setCurrentActions(Google_Service_Compute_InstanceGroupManagerActionsSummary $currentActions) + { + $this->currentActions = $currentActions; + } + public function getCurrentActions() + { + return $this->currentActions; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInstanceGroup($instanceGroup) + { + $this->instanceGroup = $instanceGroup; + } + public function getInstanceGroup() + { + return $this->instanceGroup; + } + public function setInstanceTemplate($instanceTemplate) + { + $this->instanceTemplate = $instanceTemplate; + } + public function getInstanceTemplate() + { + return $this->instanceTemplate; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTargetPools($targetPools) + { + $this->targetPools = $targetPools; + } + public function getTargetPools() + { + return $this->targetPools; + } + public function setTargetSize($targetSize) + { + $this->targetSize = $targetSize; + } + public function getTargetSize() + { + return $this->targetSize; + } + public function setZone($zone) + { + $this->zone = $zone; + } + public function getZone() + { + return $this->zone; + } +} + +class Google_Service_Compute_InstanceGroupManagerActionsSummary extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $abandoning; + public $creating; + public $deleting; + public $none; + public $recreating; + public $refreshing; + public $restarting; + + + public function setAbandoning($abandoning) + { + $this->abandoning = $abandoning; + } + public function getAbandoning() + { + return $this->abandoning; + } + public function setCreating($creating) + { + $this->creating = $creating; + } + public function getCreating() + { + return $this->creating; + } + public function setDeleting($deleting) + { + $this->deleting = $deleting; + } + public function getDeleting() + { + return $this->deleting; + } + public function setNone($none) + { + $this->none = $none; + } + public function getNone() + { + return $this->none; + } + public function setRecreating($recreating) + { + $this->recreating = $recreating; + } + public function getRecreating() + { + return $this->recreating; + } + public function setRefreshing($refreshing) + { + $this->refreshing = $refreshing; + } + public function getRefreshing() + { + return $this->refreshing; + } + public function setRestarting($restarting) + { + $this->restarting = $restarting; + } + public function getRestarting() + { + return $this->restarting; + } +} + +class Google_Service_Compute_InstanceGroupManagerAggregatedList extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Compute_InstanceGroupManagersScopedList'; + protected $itemsDataType = 'map'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Compute_InstanceGroupManagerAggregatedListItems extends Google_Model +{ +} + +class Google_Service_Compute_InstanceGroupManagerList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Compute_InstanceGroupManager'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Compute_InstanceGroupManagersAbandonInstancesRequest extends Google_Collection +{ + protected $collection_key = 'instances'; + protected $internal_gapi_mappings = array( + ); + public $instances; + + + public function setInstances($instances) + { + $this->instances = $instances; + } + public function getInstances() + { + return $this->instances; + } +} + +class Google_Service_Compute_InstanceGroupManagersDeleteInstancesRequest extends Google_Collection +{ + protected $collection_key = 'instances'; + protected $internal_gapi_mappings = array( + ); + public $instances; + + + public function setInstances($instances) + { + $this->instances = $instances; + } + public function getInstances() + { + return $this->instances; + } +} + +class Google_Service_Compute_InstanceGroupManagersListManagedInstancesResponse extends Google_Collection +{ + protected $collection_key = 'managedInstances'; + protected $internal_gapi_mappings = array( + ); + protected $managedInstancesType = 'Google_Service_Compute_ManagedInstance'; + protected $managedInstancesDataType = 'array'; + + + public function setManagedInstances($managedInstances) + { + $this->managedInstances = $managedInstances; + } + public function getManagedInstances() + { + return $this->managedInstances; + } +} + +class Google_Service_Compute_InstanceGroupManagersRecreateInstancesRequest extends Google_Collection +{ + protected $collection_key = 'instances'; + protected $internal_gapi_mappings = array( + ); + public $instances; + + + public function setInstances($instances) + { + $this->instances = $instances; + } + public function getInstances() + { + return $this->instances; + } +} + +class Google_Service_Compute_InstanceGroupManagersScopedList extends Google_Collection +{ + protected $collection_key = 'instanceGroupManagers'; + protected $internal_gapi_mappings = array( + ); + protected $instanceGroupManagersType = 'Google_Service_Compute_InstanceGroupManager'; + protected $instanceGroupManagersDataType = 'array'; + protected $warningType = 'Google_Service_Compute_InstanceGroupManagersScopedListWarning'; + protected $warningDataType = ''; + + + public function setInstanceGroupManagers($instanceGroupManagers) + { + $this->instanceGroupManagers = $instanceGroupManagers; + } + public function getInstanceGroupManagers() + { + return $this->instanceGroupManagers; + } + public function setWarning(Google_Service_Compute_InstanceGroupManagersScopedListWarning $warning) + { + $this->warning = $warning; + } + public function getWarning() + { + return $this->warning; + } +} + +class Google_Service_Compute_InstanceGroupManagersScopedListWarning extends Google_Collection +{ + protected $collection_key = 'data'; + protected $internal_gapi_mappings = array( + ); + public $code; + protected $dataType = 'Google_Service_Compute_InstanceGroupManagersScopedListWarningData'; + protected $dataDataType = 'array'; + public $message; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_Compute_InstanceGroupManagersScopedListWarningData extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $key; + public $value; + + + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Compute_InstanceGroupManagersSetInstanceTemplateRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $instanceTemplate; + + + public function setInstanceTemplate($instanceTemplate) + { + $this->instanceTemplate = $instanceTemplate; + } + public function getInstanceTemplate() + { + return $this->instanceTemplate; + } +} + +class Google_Service_Compute_InstanceGroupManagersSetTargetPoolsRequest extends Google_Collection +{ + protected $collection_key = 'targetPools'; + protected $internal_gapi_mappings = array( + ); + public $fingerprint; + public $targetPools; + + + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setTargetPools($targetPools) + { + $this->targetPools = $targetPools; + } + public function getTargetPools() + { + return $this->targetPools; + } +} + +class Google_Service_Compute_InstanceGroupsAddInstancesRequest extends Google_Collection +{ + protected $collection_key = 'instances'; + protected $internal_gapi_mappings = array( + ); + protected $instancesType = 'Google_Service_Compute_InstanceReference'; + protected $instancesDataType = 'array'; + + + public function setInstances($instances) + { + $this->instances = $instances; + } + public function getInstances() + { + return $this->instances; + } +} + +class Google_Service_Compute_InstanceGroupsListInstances extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Compute_InstanceWithNamedPorts'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Compute_InstanceGroupsListInstancesRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $instanceState; + + + public function setInstanceState($instanceState) + { + $this->instanceState = $instanceState; + } + public function getInstanceState() + { + return $this->instanceState; + } +} + +class Google_Service_Compute_InstanceGroupsRemoveInstancesRequest extends Google_Collection +{ + protected $collection_key = 'instances'; + protected $internal_gapi_mappings = array( + ); + protected $instancesType = 'Google_Service_Compute_InstanceReference'; + protected $instancesDataType = 'array'; + + + public function setInstances($instances) + { + $this->instances = $instances; + } + public function getInstances() + { + return $this->instances; + } +} + +class Google_Service_Compute_InstanceGroupsScopedList extends Google_Collection +{ + protected $collection_key = 'instanceGroups'; + protected $internal_gapi_mappings = array( + ); + protected $instanceGroupsType = 'Google_Service_Compute_InstanceGroup'; + protected $instanceGroupsDataType = 'array'; + protected $warningType = 'Google_Service_Compute_InstanceGroupsScopedListWarning'; + protected $warningDataType = ''; + + + public function setInstanceGroups($instanceGroups) + { + $this->instanceGroups = $instanceGroups; + } + public function getInstanceGroups() + { + return $this->instanceGroups; + } + public function setWarning(Google_Service_Compute_InstanceGroupsScopedListWarning $warning) + { + $this->warning = $warning; + } + public function getWarning() + { + return $this->warning; + } +} + +class Google_Service_Compute_InstanceGroupsScopedListWarning extends Google_Collection +{ + protected $collection_key = 'data'; + protected $internal_gapi_mappings = array( + ); + public $code; + protected $dataType = 'Google_Service_Compute_InstanceGroupsScopedListWarningData'; + protected $dataDataType = 'array'; + public $message; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_Compute_InstanceGroupsScopedListWarningData extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $key; + public $value; + + + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Compute_InstanceGroupsSetNamedPortsRequest extends Google_Collection +{ + protected $collection_key = 'namedPorts'; + protected $internal_gapi_mappings = array( + ); + public $fingerprint; + protected $namedPortsType = 'Google_Service_Compute_NamedPort'; + protected $namedPortsDataType = 'array'; + + + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setNamedPorts($namedPorts) + { + $this->namedPorts = $namedPorts; + } + public function getNamedPorts() + { + return $this->namedPorts; + } +} + +class Google_Service_Compute_InstanceList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Compute_Instance'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Compute_InstanceMoveRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $destinationZone; + public $targetInstance; + + + public function setDestinationZone($destinationZone) + { + $this->destinationZone = $destinationZone; + } + public function getDestinationZone() + { + return $this->destinationZone; + } + public function setTargetInstance($targetInstance) + { + $this->targetInstance = $targetInstance; + } + public function getTargetInstance() + { + return $this->targetInstance; + } +} + +class Google_Service_Compute_InstanceProperties extends Google_Collection +{ + protected $collection_key = 'serviceAccounts'; + protected $internal_gapi_mappings = array( + ); + public $canIpForward; + public $description; + protected $disksType = 'Google_Service_Compute_AttachedDisk'; + protected $disksDataType = 'array'; + public $machineType; + protected $metadataType = 'Google_Service_Compute_Metadata'; + protected $metadataDataType = ''; + protected $networkInterfacesType = 'Google_Service_Compute_NetworkInterface'; + protected $networkInterfacesDataType = 'array'; + protected $schedulingType = 'Google_Service_Compute_Scheduling'; + protected $schedulingDataType = ''; + protected $serviceAccountsType = 'Google_Service_Compute_ServiceAccount'; + protected $serviceAccountsDataType = 'array'; + protected $tagsType = 'Google_Service_Compute_Tags'; + protected $tagsDataType = ''; + + + public function setCanIpForward($canIpForward) + { + $this->canIpForward = $canIpForward; + } + public function getCanIpForward() + { + return $this->canIpForward; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDisks($disks) + { + $this->disks = $disks; + } + public function getDisks() + { + return $this->disks; + } + public function setMachineType($machineType) + { + $this->machineType = $machineType; + } + public function getMachineType() + { + return $this->machineType; + } + public function setMetadata(Google_Service_Compute_Metadata $metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setNetworkInterfaces($networkInterfaces) + { + $this->networkInterfaces = $networkInterfaces; + } + public function getNetworkInterfaces() + { + return $this->networkInterfaces; + } + public function setScheduling(Google_Service_Compute_Scheduling $scheduling) + { + $this->scheduling = $scheduling; + } + public function getScheduling() + { + return $this->scheduling; + } + public function setServiceAccounts($serviceAccounts) + { + $this->serviceAccounts = $serviceAccounts; + } + public function getServiceAccounts() + { + return $this->serviceAccounts; + } + public function setTags(Google_Service_Compute_Tags $tags) + { + $this->tags = $tags; + } + public function getTags() + { + return $this->tags; + } +} + +class Google_Service_Compute_InstanceReference extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $instance; + + + public function setInstance($instance) + { + $this->instance = $instance; + } + public function getInstance() + { + return $this->instance; + } +} + +class Google_Service_Compute_InstanceTemplate extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $creationTimestamp; + public $description; + public $id; + public $kind; + public $name; + protected $propertiesType = 'Google_Service_Compute_InstanceProperties'; + protected $propertiesDataType = ''; + public $selfLink; + + + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setProperties(Google_Service_Compute_InstanceProperties $properties) + { + $this->properties = $properties; + } + public function getProperties() + { + return $this->properties; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Compute_InstanceTemplateList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Compute_InstanceTemplate'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Compute_InstanceWithNamedPorts extends Google_Collection +{ + protected $collection_key = 'namedPorts'; + protected $internal_gapi_mappings = array( + ); + public $instance; + protected $namedPortsType = 'Google_Service_Compute_NamedPort'; + protected $namedPortsDataType = 'array'; + public $status; + + + public function setInstance($instance) + { + $this->instance = $instance; + } + public function getInstance() + { + return $this->instance; + } + public function setNamedPorts($namedPorts) + { + $this->namedPorts = $namedPorts; + } + public function getNamedPorts() + { + return $this->namedPorts; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} + +class Google_Service_Compute_InstancesScopedList extends Google_Collection +{ + protected $collection_key = 'instances'; + protected $internal_gapi_mappings = array( + ); + protected $instancesType = 'Google_Service_Compute_Instance'; + protected $instancesDataType = 'array'; + protected $warningType = 'Google_Service_Compute_InstancesScopedListWarning'; + protected $warningDataType = ''; + + + public function setInstances($instances) + { + $this->instances = $instances; + } + public function getInstances() + { + return $this->instances; + } + public function setWarning(Google_Service_Compute_InstancesScopedListWarning $warning) + { + $this->warning = $warning; + } + public function getWarning() + { + return $this->warning; + } +} + +class Google_Service_Compute_InstancesScopedListWarning extends Google_Collection +{ + protected $collection_key = 'data'; + protected $internal_gapi_mappings = array( + ); + public $code; + protected $dataType = 'Google_Service_Compute_InstancesScopedListWarningData'; + protected $dataDataType = 'array'; + public $message; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_Compute_InstancesScopedListWarningData extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $key; + public $value; + + + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Compute_License extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $chargesUseFee; + public $kind; + public $name; + public $selfLink; + + + public function setChargesUseFee($chargesUseFee) + { + $this->chargesUseFee = $chargesUseFee; + } + public function getChargesUseFee() + { + return $this->chargesUseFee; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Compute_MachineType extends Google_Collection +{ + protected $collection_key = 'scratchDisks'; + protected $internal_gapi_mappings = array( + ); + public $creationTimestamp; + protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus'; + protected $deprecatedDataType = ''; + public $description; + public $guestCpus; + public $id; + public $imageSpaceGb; + public $kind; + public $maximumPersistentDisks; + public $maximumPersistentDisksSizeGb; + public $memoryMb; + public $name; + protected $scratchDisksType = 'Google_Service_Compute_MachineTypeScratchDisks'; + protected $scratchDisksDataType = 'array'; + public $selfLink; + public $zone; + + + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated) + { + $this->deprecated = $deprecated; + } + public function getDeprecated() + { + return $this->deprecated; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setGuestCpus($guestCpus) + { + $this->guestCpus = $guestCpus; + } + public function getGuestCpus() + { + return $this->guestCpus; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImageSpaceGb($imageSpaceGb) + { + $this->imageSpaceGb = $imageSpaceGb; + } + public function getImageSpaceGb() + { + return $this->imageSpaceGb; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMaximumPersistentDisks($maximumPersistentDisks) + { + $this->maximumPersistentDisks = $maximumPersistentDisks; + } + public function getMaximumPersistentDisks() + { + return $this->maximumPersistentDisks; + } + public function setMaximumPersistentDisksSizeGb($maximumPersistentDisksSizeGb) + { + $this->maximumPersistentDisksSizeGb = $maximumPersistentDisksSizeGb; + } + public function getMaximumPersistentDisksSizeGb() + { + return $this->maximumPersistentDisksSizeGb; + } + public function setMemoryMb($memoryMb) + { + $this->memoryMb = $memoryMb; + } + public function getMemoryMb() + { + return $this->memoryMb; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setScratchDisks($scratchDisks) + { + $this->scratchDisks = $scratchDisks; + } + public function getScratchDisks() + { + return $this->scratchDisks; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setZone($zone) + { + $this->zone = $zone; + } + public function getZone() + { + return $this->zone; + } +} + +class Google_Service_Compute_MachineTypeAggregatedList extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Compute_MachineTypesScopedList'; + protected $itemsDataType = 'map'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Compute_MachineTypeAggregatedListItems extends Google_Model +{ +} + +class Google_Service_Compute_MachineTypeList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Compute_MachineType'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Compute_MachineTypeScratchDisks extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $diskGb; + + + public function setDiskGb($diskGb) + { + $this->diskGb = $diskGb; + } + public function getDiskGb() + { + return $this->diskGb; + } +} + +class Google_Service_Compute_MachineTypesScopedList extends Google_Collection +{ + protected $collection_key = 'machineTypes'; + protected $internal_gapi_mappings = array( + ); + protected $machineTypesType = 'Google_Service_Compute_MachineType'; + protected $machineTypesDataType = 'array'; + protected $warningType = 'Google_Service_Compute_MachineTypesScopedListWarning'; + protected $warningDataType = ''; + + + public function setMachineTypes($machineTypes) + { + $this->machineTypes = $machineTypes; + } + public function getMachineTypes() + { + return $this->machineTypes; + } + public function setWarning(Google_Service_Compute_MachineTypesScopedListWarning $warning) + { + $this->warning = $warning; + } + public function getWarning() + { + return $this->warning; + } +} + +class Google_Service_Compute_MachineTypesScopedListWarning extends Google_Collection +{ + protected $collection_key = 'data'; + protected $internal_gapi_mappings = array( + ); + public $code; + protected $dataType = 'Google_Service_Compute_MachineTypesScopedListWarningData'; + protected $dataDataType = 'array'; + public $message; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_Compute_MachineTypesScopedListWarningData extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $key; + public $value; + + + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Compute_ManagedInstance extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $currentAction; + public $id; + public $instance; + public $instanceStatus; + protected $lastAttemptType = 'Google_Service_Compute_ManagedInstanceLastAttempt'; + protected $lastAttemptDataType = ''; + + + public function setCurrentAction($currentAction) + { + $this->currentAction = $currentAction; + } + public function getCurrentAction() + { + return $this->currentAction; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInstance($instance) + { + $this->instance = $instance; + } + public function getInstance() + { + return $this->instance; + } + public function setInstanceStatus($instanceStatus) + { + $this->instanceStatus = $instanceStatus; + } + public function getInstanceStatus() + { + return $this->instanceStatus; + } + public function setLastAttempt(Google_Service_Compute_ManagedInstanceLastAttempt $lastAttempt) + { + $this->lastAttempt = $lastAttempt; + } + public function getLastAttempt() + { + return $this->lastAttempt; + } +} + +class Google_Service_Compute_ManagedInstanceLastAttempt extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $errorsType = 'Google_Service_Compute_ManagedInstanceLastAttemptErrors'; + protected $errorsDataType = ''; + + + public function setErrors(Google_Service_Compute_ManagedInstanceLastAttemptErrors $errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } +} + +class Google_Service_Compute_ManagedInstanceLastAttemptErrors extends Google_Collection +{ + protected $collection_key = 'errors'; + protected $internal_gapi_mappings = array( + ); + protected $errorsType = 'Google_Service_Compute_ManagedInstanceLastAttemptErrorsErrors'; + protected $errorsDataType = 'array'; + + + public function setErrors($errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } +} + +class Google_Service_Compute_ManagedInstanceLastAttemptErrorsErrors extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $code; + public $location; + public $message; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_Compute_Metadata extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $fingerprint; + protected $itemsType = 'Google_Service_Compute_MetadataItems'; + protected $itemsDataType = 'array'; + public $kind; + + + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Compute_MetadataItems extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $key; + public $value; + + + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Compute_NamedPort extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $name; + public $port; + + + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPort($port) + { + $this->port = $port; + } + public function getPort() + { + return $this->port; + } +} + +class Google_Service_Compute_Network extends Google_Model +{ + protected $internal_gapi_mappings = array( + "iPv4Range" => "IPv4Range", + ); + public $iPv4Range; + public $creationTimestamp; + public $description; + public $gatewayIPv4; + public $id; + public $kind; + public $name; + public $selfLink; + + + public function setIPv4Range($iPv4Range) + { + $this->iPv4Range = $iPv4Range; + } + public function getIPv4Range() + { + return $this->iPv4Range; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setGatewayIPv4($gatewayIPv4) + { + $this->gatewayIPv4 = $gatewayIPv4; + } + public function getGatewayIPv4() + { + return $this->gatewayIPv4; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Compute_NetworkInterface extends Google_Collection +{ + protected $collection_key = 'accessConfigs'; + protected $internal_gapi_mappings = array( + ); + protected $accessConfigsType = 'Google_Service_Compute_AccessConfig'; + protected $accessConfigsDataType = 'array'; + public $name; + public $network; + public $networkIP; + + + public function setAccessConfigs($accessConfigs) + { + $this->accessConfigs = $accessConfigs; + } + public function getAccessConfigs() + { + return $this->accessConfigs; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNetwork($network) + { + $this->network = $network; + } + public function getNetwork() + { + return $this->network; + } + public function setNetworkIP($networkIP) + { + $this->networkIP = $networkIP; + } + public function getNetworkIP() + { + return $this->networkIP; + } +} + +class Google_Service_Compute_NetworkList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Compute_Network'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Compute_Operation extends Google_Collection +{ + protected $collection_key = 'warnings'; + protected $internal_gapi_mappings = array( + ); + public $clientOperationId; + public $creationTimestamp; + public $endTime; + protected $errorType = 'Google_Service_Compute_OperationError'; + protected $errorDataType = ''; + public $httpErrorMessage; + public $httpErrorStatusCode; + public $id; + public $insertTime; + public $kind; + public $name; + public $operationType; + public $progress; + public $region; + public $selfLink; + public $startTime; + public $status; + public $statusMessage; + public $targetId; + public $targetLink; + public $user; + protected $warningsType = 'Google_Service_Compute_OperationWarnings'; + protected $warningsDataType = 'array'; + public $zone; + + + public function setClientOperationId($clientOperationId) + { + $this->clientOperationId = $clientOperationId; + } + public function getClientOperationId() + { + return $this->clientOperationId; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setError(Google_Service_Compute_OperationError $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setHttpErrorMessage($httpErrorMessage) + { + $this->httpErrorMessage = $httpErrorMessage; + } + public function getHttpErrorMessage() + { + return $this->httpErrorMessage; + } + public function setHttpErrorStatusCode($httpErrorStatusCode) + { + $this->httpErrorStatusCode = $httpErrorStatusCode; + } + public function getHttpErrorStatusCode() + { + return $this->httpErrorStatusCode; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInsertTime($insertTime) + { + $this->insertTime = $insertTime; + } + public function getInsertTime() + { + return $this->insertTime; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOperationType($operationType) + { + $this->operationType = $operationType; + } + public function getOperationType() + { + return $this->operationType; + } + public function setProgress($progress) + { + $this->progress = $progress; + } + public function getProgress() + { + return $this->progress; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setStatusMessage($statusMessage) + { + $this->statusMessage = $statusMessage; + } + public function getStatusMessage() + { + return $this->statusMessage; + } + public function setTargetId($targetId) + { + $this->targetId = $targetId; + } + public function getTargetId() + { + return $this->targetId; + } + public function setTargetLink($targetLink) + { + $this->targetLink = $targetLink; + } + public function getTargetLink() + { + return $this->targetLink; + } + public function setUser($user) + { + $this->user = $user; + } + public function getUser() + { + return $this->user; + } + public function setWarnings($warnings) + { + $this->warnings = $warnings; + } + public function getWarnings() + { + return $this->warnings; + } + public function setZone($zone) + { + $this->zone = $zone; + } + public function getZone() + { + return $this->zone; + } +} + +class Google_Service_Compute_OperationAggregatedList extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Compute_OperationsScopedList'; + protected $itemsDataType = 'map'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Compute_OperationAggregatedListItems extends Google_Model +{ +} + +class Google_Service_Compute_OperationError extends Google_Collection +{ + protected $collection_key = 'errors'; + protected $internal_gapi_mappings = array( + ); + protected $errorsType = 'Google_Service_Compute_OperationErrorErrors'; + protected $errorsDataType = 'array'; + + + public function setErrors($errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } +} + +class Google_Service_Compute_OperationErrorErrors extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $code; + public $location; + public $message; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_Compute_OperationList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Compute_Operation'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Compute_OperationWarnings extends Google_Collection +{ + protected $collection_key = 'data'; + protected $internal_gapi_mappings = array( + ); + public $code; + protected $dataType = 'Google_Service_Compute_OperationWarningsData'; + protected $dataDataType = 'array'; + public $message; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_Compute_OperationWarningsData extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $key; + public $value; + + + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Compute_OperationsScopedList extends Google_Collection +{ + protected $collection_key = 'operations'; + protected $internal_gapi_mappings = array( + ); + protected $operationsType = 'Google_Service_Compute_Operation'; + protected $operationsDataType = 'array'; + protected $warningType = 'Google_Service_Compute_OperationsScopedListWarning'; + protected $warningDataType = ''; + + + public function setOperations($operations) + { + $this->operations = $operations; + } + public function getOperations() + { + return $this->operations; + } + public function setWarning(Google_Service_Compute_OperationsScopedListWarning $warning) + { + $this->warning = $warning; + } + public function getWarning() + { + return $this->warning; + } +} + +class Google_Service_Compute_OperationsScopedListWarning extends Google_Collection +{ + protected $collection_key = 'data'; + protected $internal_gapi_mappings = array( + ); + public $code; + protected $dataType = 'Google_Service_Compute_OperationsScopedListWarningData'; + protected $dataDataType = 'array'; + public $message; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_Compute_OperationsScopedListWarningData extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $key; + public $value; + + + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Compute_PathMatcher extends Google_Collection +{ + protected $collection_key = 'pathRules'; + protected $internal_gapi_mappings = array( + ); + public $defaultService; + public $description; + public $name; + protected $pathRulesType = 'Google_Service_Compute_PathRule'; + protected $pathRulesDataType = 'array'; + + + public function setDefaultService($defaultService) + { + $this->defaultService = $defaultService; + } + public function getDefaultService() + { + return $this->defaultService; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPathRules($pathRules) + { + $this->pathRules = $pathRules; + } + public function getPathRules() + { + return $this->pathRules; + } +} + +class Google_Service_Compute_PathRule extends Google_Collection +{ + protected $collection_key = 'paths'; + protected $internal_gapi_mappings = array( + ); + public $paths; + public $service; + + + public function setPaths($paths) + { + $this->paths = $paths; + } + public function getPaths() + { + return $this->paths; + } + public function setService($service) + { + $this->service = $service; + } + public function getService() + { + return $this->service; + } +} + +class Google_Service_Compute_Project extends Google_Collection +{ + protected $collection_key = 'quotas'; + protected $internal_gapi_mappings = array( + ); + protected $commonInstanceMetadataType = 'Google_Service_Compute_Metadata'; + protected $commonInstanceMetadataDataType = ''; + public $creationTimestamp; + public $description; + public $enabledFeatures; + public $id; + public $kind; + public $name; + protected $quotasType = 'Google_Service_Compute_Quota'; + protected $quotasDataType = 'array'; + public $selfLink; + protected $usageExportLocationType = 'Google_Service_Compute_UsageExportLocation'; + protected $usageExportLocationDataType = ''; + + + public function setCommonInstanceMetadata(Google_Service_Compute_Metadata $commonInstanceMetadata) + { + $this->commonInstanceMetadata = $commonInstanceMetadata; + } + public function getCommonInstanceMetadata() + { + return $this->commonInstanceMetadata; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEnabledFeatures($enabledFeatures) + { + $this->enabledFeatures = $enabledFeatures; + } + public function getEnabledFeatures() + { + return $this->enabledFeatures; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setQuotas($quotas) + { + $this->quotas = $quotas; + } + public function getQuotas() + { + return $this->quotas; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setUsageExportLocation(Google_Service_Compute_UsageExportLocation $usageExportLocation) + { + $this->usageExportLocation = $usageExportLocation; + } + public function getUsageExportLocation() + { + return $this->usageExportLocation; + } +} + +class Google_Service_Compute_Quota extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $limit; + public $metric; + public $usage; + + + public function setLimit($limit) + { + $this->limit = $limit; + } + public function getLimit() + { + return $this->limit; + } + public function setMetric($metric) + { + $this->metric = $metric; + } + public function getMetric() + { + return $this->metric; + } + public function setUsage($usage) + { + $this->usage = $usage; + } + public function getUsage() + { + return $this->usage; + } +} + +class Google_Service_Compute_Region extends Google_Collection +{ + protected $collection_key = 'zones'; + protected $internal_gapi_mappings = array( + ); + public $creationTimestamp; + protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus'; + protected $deprecatedDataType = ''; + public $description; + public $id; + public $kind; + public $name; + protected $quotasType = 'Google_Service_Compute_Quota'; + protected $quotasDataType = 'array'; + public $selfLink; + public $status; + public $zones; + + + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated) + { + $this->deprecated = $deprecated; + } + public function getDeprecated() + { + return $this->deprecated; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setQuotas($quotas) + { + $this->quotas = $quotas; + } + public function getQuotas() + { + return $this->quotas; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setZones($zones) + { + $this->zones = $zones; + } + public function getZones() + { + return $this->zones; + } +} + +class Google_Service_Compute_RegionList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Compute_Region'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Compute_ResourceGroupReference extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $group; + + + public function setGroup($group) + { + $this->group = $group; + } + public function getGroup() + { + return $this->group; + } +} + +class Google_Service_Compute_Route extends Google_Collection +{ + protected $collection_key = 'warnings'; + protected $internal_gapi_mappings = array( + ); + public $creationTimestamp; + public $description; + public $destRange; + public $id; + public $kind; + public $name; + public $network; + public $nextHopGateway; + public $nextHopInstance; + public $nextHopIp; + public $nextHopNetwork; + public $nextHopVpnTunnel; + public $priority; + public $selfLink; + public $tags; + protected $warningsType = 'Google_Service_Compute_RouteWarnings'; + protected $warningsDataType = 'array'; + + + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDestRange($destRange) + { + $this->destRange = $destRange; + } + public function getDestRange() + { + return $this->destRange; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNetwork($network) + { + $this->network = $network; + } + public function getNetwork() + { + return $this->network; + } + public function setNextHopGateway($nextHopGateway) + { + $this->nextHopGateway = $nextHopGateway; + } + public function getNextHopGateway() + { + return $this->nextHopGateway; + } + public function setNextHopInstance($nextHopInstance) + { + $this->nextHopInstance = $nextHopInstance; + } + public function getNextHopInstance() + { + return $this->nextHopInstance; + } + public function setNextHopIp($nextHopIp) + { + $this->nextHopIp = $nextHopIp; + } + public function getNextHopIp() + { + return $this->nextHopIp; + } + public function setNextHopNetwork($nextHopNetwork) + { + $this->nextHopNetwork = $nextHopNetwork; + } + public function getNextHopNetwork() + { + return $this->nextHopNetwork; + } + public function setNextHopVpnTunnel($nextHopVpnTunnel) + { + $this->nextHopVpnTunnel = $nextHopVpnTunnel; + } + public function getNextHopVpnTunnel() + { + return $this->nextHopVpnTunnel; + } + public function setPriority($priority) + { + $this->priority = $priority; + } + public function getPriority() + { + return $this->priority; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTags($tags) + { + $this->tags = $tags; + } + public function getTags() + { + return $this->tags; + } + public function setWarnings($warnings) + { + $this->warnings = $warnings; + } + public function getWarnings() + { + return $this->warnings; + } +} + +class Google_Service_Compute_RouteList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Compute_Route'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Compute_RouteWarnings extends Google_Collection +{ + protected $collection_key = 'data'; + protected $internal_gapi_mappings = array( + ); + public $code; + protected $dataType = 'Google_Service_Compute_RouteWarningsData'; + protected $dataDataType = 'array'; + public $message; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_Compute_RouteWarningsData extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $key; + public $value; + + + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Compute_Scheduling extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $automaticRestart; + public $onHostMaintenance; + public $preemptible; + + + public function setAutomaticRestart($automaticRestart) + { + $this->automaticRestart = $automaticRestart; + } + public function getAutomaticRestart() + { + return $this->automaticRestart; + } + public function setOnHostMaintenance($onHostMaintenance) + { + $this->onHostMaintenance = $onHostMaintenance; + } + public function getOnHostMaintenance() + { + return $this->onHostMaintenance; + } + public function setPreemptible($preemptible) + { + $this->preemptible = $preemptible; + } + public function getPreemptible() + { + return $this->preemptible; + } +} + +class Google_Service_Compute_SerialPortOutput extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $contents; + public $kind; + public $selfLink; + + + public function setContents($contents) + { + $this->contents = $contents; + } + public function getContents() + { + return $this->contents; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Compute_ServiceAccount extends Google_Collection +{ + protected $collection_key = 'scopes'; + protected $internal_gapi_mappings = array( + ); + public $email; + public $scopes; + + + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setScopes($scopes) + { + $this->scopes = $scopes; + } + public function getScopes() + { + return $this->scopes; + } +} + +class Google_Service_Compute_Snapshot extends Google_Collection +{ + protected $collection_key = 'licenses'; + protected $internal_gapi_mappings = array( + ); + public $creationTimestamp; + public $description; + public $diskSizeGb; + public $id; + public $kind; + public $licenses; + public $name; + public $selfLink; + public $sourceDisk; + public $sourceDiskId; + public $status; + public $storageBytes; + public $storageBytesStatus; + + + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDiskSizeGb($diskSizeGb) + { + $this->diskSizeGb = $diskSizeGb; + } + public function getDiskSizeGb() + { + return $this->diskSizeGb; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLicenses($licenses) + { + $this->licenses = $licenses; + } + public function getLicenses() + { + return $this->licenses; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setSourceDisk($sourceDisk) + { + $this->sourceDisk = $sourceDisk; + } + public function getSourceDisk() + { + return $this->sourceDisk; + } + public function setSourceDiskId($sourceDiskId) + { + $this->sourceDiskId = $sourceDiskId; + } + public function getSourceDiskId() + { + return $this->sourceDiskId; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setStorageBytes($storageBytes) + { + $this->storageBytes = $storageBytes; + } + public function getStorageBytes() + { + return $this->storageBytes; + } + public function setStorageBytesStatus($storageBytesStatus) + { + $this->storageBytesStatus = $storageBytesStatus; + } + public function getStorageBytesStatus() + { + return $this->storageBytesStatus; + } +} + +class Google_Service_Compute_SnapshotList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Compute_Snapshot'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Compute_Tags extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $fingerprint; + public $items; + + + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } +} + +class Google_Service_Compute_TargetHttpProxy extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $creationTimestamp; + public $description; + public $id; + public $kind; + public $name; + public $selfLink; + public $urlMap; + + + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setUrlMap($urlMap) + { + $this->urlMap = $urlMap; + } + public function getUrlMap() + { + return $this->urlMap; + } +} + +class Google_Service_Compute_TargetHttpProxyList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Compute_TargetHttpProxy'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Compute_TargetInstance extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $creationTimestamp; + public $description; + public $id; + public $instance; + public $kind; + public $name; + public $natPolicy; + public $selfLink; + public $zone; + + + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInstance($instance) + { + $this->instance = $instance; + } + public function getInstance() + { + return $this->instance; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNatPolicy($natPolicy) + { + $this->natPolicy = $natPolicy; + } + public function getNatPolicy() + { + return $this->natPolicy; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setZone($zone) + { + $this->zone = $zone; + } + public function getZone() + { + return $this->zone; + } +} + +class Google_Service_Compute_TargetInstanceAggregatedList extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Compute_TargetInstancesScopedList'; + protected $itemsDataType = 'map'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Compute_TargetInstanceAggregatedListItems extends Google_Model +{ +} + +class Google_Service_Compute_TargetInstanceList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Compute_TargetInstance'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Compute_TargetInstancesScopedList extends Google_Collection +{ + protected $collection_key = 'targetInstances'; + protected $internal_gapi_mappings = array( + ); + protected $targetInstancesType = 'Google_Service_Compute_TargetInstance'; + protected $targetInstancesDataType = 'array'; + protected $warningType = 'Google_Service_Compute_TargetInstancesScopedListWarning'; + protected $warningDataType = ''; + + + public function setTargetInstances($targetInstances) + { + $this->targetInstances = $targetInstances; + } + public function getTargetInstances() + { + return $this->targetInstances; + } + public function setWarning(Google_Service_Compute_TargetInstancesScopedListWarning $warning) + { + $this->warning = $warning; + } + public function getWarning() + { + return $this->warning; + } +} + +class Google_Service_Compute_TargetInstancesScopedListWarning extends Google_Collection +{ + protected $collection_key = 'data'; + protected $internal_gapi_mappings = array( + ); + public $code; + protected $dataType = 'Google_Service_Compute_TargetInstancesScopedListWarningData'; + protected $dataDataType = 'array'; + public $message; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_Compute_TargetInstancesScopedListWarningData extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $key; + public $value; + + + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Compute_TargetPool extends Google_Collection +{ + protected $collection_key = 'instances'; + protected $internal_gapi_mappings = array( + ); + public $backupPool; + public $creationTimestamp; + public $description; + public $failoverRatio; + public $healthChecks; + public $id; + public $instances; + public $kind; + public $name; + public $region; + public $selfLink; + public $sessionAffinity; + + + public function setBackupPool($backupPool) + { + $this->backupPool = $backupPool; + } + public function getBackupPool() + { + return $this->backupPool; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setFailoverRatio($failoverRatio) + { + $this->failoverRatio = $failoverRatio; + } + public function getFailoverRatio() + { + return $this->failoverRatio; + } + public function setHealthChecks($healthChecks) + { + $this->healthChecks = $healthChecks; + } + public function getHealthChecks() + { + return $this->healthChecks; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInstances($instances) + { + $this->instances = $instances; + } + public function getInstances() + { + return $this->instances; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setSessionAffinity($sessionAffinity) + { + $this->sessionAffinity = $sessionAffinity; + } + public function getSessionAffinity() + { + return $this->sessionAffinity; + } +} + +class Google_Service_Compute_TargetPoolAggregatedList extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Compute_TargetPoolsScopedList'; + protected $itemsDataType = 'map'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Compute_TargetPoolAggregatedListItems extends Google_Model +{ +} + +class Google_Service_Compute_TargetPoolInstanceHealth extends Google_Collection +{ + protected $collection_key = 'healthStatus'; + protected $internal_gapi_mappings = array( + ); + protected $healthStatusType = 'Google_Service_Compute_HealthStatus'; + protected $healthStatusDataType = 'array'; + public $kind; + + + public function setHealthStatus($healthStatus) + { + $this->healthStatus = $healthStatus; + } + public function getHealthStatus() + { + return $this->healthStatus; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Compute_TargetPoolList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Compute_TargetPool'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Compute_TargetPoolsAddHealthCheckRequest extends Google_Collection +{ + protected $collection_key = 'healthChecks'; + protected $internal_gapi_mappings = array( + ); + protected $healthChecksType = 'Google_Service_Compute_HealthCheckReference'; + protected $healthChecksDataType = 'array'; + + + public function setHealthChecks($healthChecks) + { + $this->healthChecks = $healthChecks; + } + public function getHealthChecks() + { + return $this->healthChecks; + } +} + +class Google_Service_Compute_TargetPoolsAddInstanceRequest extends Google_Collection +{ + protected $collection_key = 'instances'; + protected $internal_gapi_mappings = array( + ); + protected $instancesType = 'Google_Service_Compute_InstanceReference'; + protected $instancesDataType = 'array'; + + + public function setInstances($instances) + { + $this->instances = $instances; + } + public function getInstances() + { + return $this->instances; + } +} + +class Google_Service_Compute_TargetPoolsRemoveHealthCheckRequest extends Google_Collection +{ + protected $collection_key = 'healthChecks'; + protected $internal_gapi_mappings = array( + ); + protected $healthChecksType = 'Google_Service_Compute_HealthCheckReference'; + protected $healthChecksDataType = 'array'; + + + public function setHealthChecks($healthChecks) + { + $this->healthChecks = $healthChecks; + } + public function getHealthChecks() + { + return $this->healthChecks; + } +} + +class Google_Service_Compute_TargetPoolsRemoveInstanceRequest extends Google_Collection +{ + protected $collection_key = 'instances'; + protected $internal_gapi_mappings = array( + ); + protected $instancesType = 'Google_Service_Compute_InstanceReference'; + protected $instancesDataType = 'array'; + + + public function setInstances($instances) + { + $this->instances = $instances; + } + public function getInstances() + { + return $this->instances; + } +} + +class Google_Service_Compute_TargetPoolsScopedList extends Google_Collection +{ + protected $collection_key = 'targetPools'; + protected $internal_gapi_mappings = array( + ); + protected $targetPoolsType = 'Google_Service_Compute_TargetPool'; + protected $targetPoolsDataType = 'array'; + protected $warningType = 'Google_Service_Compute_TargetPoolsScopedListWarning'; + protected $warningDataType = ''; + + + public function setTargetPools($targetPools) + { + $this->targetPools = $targetPools; + } + public function getTargetPools() + { + return $this->targetPools; + } + public function setWarning(Google_Service_Compute_TargetPoolsScopedListWarning $warning) + { + $this->warning = $warning; + } + public function getWarning() + { + return $this->warning; + } +} + +class Google_Service_Compute_TargetPoolsScopedListWarning extends Google_Collection +{ + protected $collection_key = 'data'; + protected $internal_gapi_mappings = array( + ); + public $code; + protected $dataType = 'Google_Service_Compute_TargetPoolsScopedListWarningData'; + protected $dataDataType = 'array'; + public $message; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_Compute_TargetPoolsScopedListWarningData extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $key; + public $value; + + + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Compute_TargetReference extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $target; + + + public function setTarget($target) + { + $this->target = $target; + } + public function getTarget() + { + return $this->target; + } +} + +class Google_Service_Compute_TargetVpnGateway extends Google_Collection +{ + protected $collection_key = 'tunnels'; + protected $internal_gapi_mappings = array( + ); + public $creationTimestamp; + public $description; + public $forwardingRules; + public $id; + public $kind; + public $name; + public $network; + public $region; + public $selfLink; + public $status; + public $tunnels; + + + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setForwardingRules($forwardingRules) + { + $this->forwardingRules = $forwardingRules; + } + public function getForwardingRules() + { + return $this->forwardingRules; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNetwork($network) + { + $this->network = $network; + } + public function getNetwork() + { + return $this->network; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setTunnels($tunnels) + { + $this->tunnels = $tunnels; + } + public function getTunnels() + { + return $this->tunnels; + } +} + +class Google_Service_Compute_TargetVpnGatewayAggregatedList extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Compute_TargetVpnGatewaysScopedList'; + protected $itemsDataType = 'map'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Compute_TargetVpnGatewayAggregatedListItems extends Google_Model +{ +} + +class Google_Service_Compute_TargetVpnGatewayList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Compute_TargetVpnGateway'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Compute_TargetVpnGatewaysScopedList extends Google_Collection +{ + protected $collection_key = 'targetVpnGateways'; + protected $internal_gapi_mappings = array( + ); + protected $targetVpnGatewaysType = 'Google_Service_Compute_TargetVpnGateway'; + protected $targetVpnGatewaysDataType = 'array'; + protected $warningType = 'Google_Service_Compute_TargetVpnGatewaysScopedListWarning'; + protected $warningDataType = ''; + + + public function setTargetVpnGateways($targetVpnGateways) + { + $this->targetVpnGateways = $targetVpnGateways; + } + public function getTargetVpnGateways() + { + return $this->targetVpnGateways; + } + public function setWarning(Google_Service_Compute_TargetVpnGatewaysScopedListWarning $warning) + { + $this->warning = $warning; + } + public function getWarning() + { + return $this->warning; + } +} + +class Google_Service_Compute_TargetVpnGatewaysScopedListWarning extends Google_Collection +{ + protected $collection_key = 'data'; + protected $internal_gapi_mappings = array( + ); + public $code; + protected $dataType = 'Google_Service_Compute_TargetVpnGatewaysScopedListWarningData'; + protected $dataDataType = 'array'; + public $message; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_Compute_TargetVpnGatewaysScopedListWarningData extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $key; + public $value; + + + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Compute_TestFailure extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $actualService; + public $expectedService; + public $host; + public $path; + + + public function setActualService($actualService) + { + $this->actualService = $actualService; + } + public function getActualService() + { + return $this->actualService; + } + public function setExpectedService($expectedService) + { + $this->expectedService = $expectedService; + } + public function getExpectedService() + { + return $this->expectedService; + } + public function setHost($host) + { + $this->host = $host; + } + public function getHost() + { + return $this->host; + } + public function setPath($path) + { + $this->path = $path; + } + public function getPath() + { + return $this->path; + } +} + +class Google_Service_Compute_UrlMap extends Google_Collection +{ + protected $collection_key = 'tests'; + protected $internal_gapi_mappings = array( + ); + public $creationTimestamp; + public $defaultService; + public $description; + public $fingerprint; + protected $hostRulesType = 'Google_Service_Compute_HostRule'; + protected $hostRulesDataType = 'array'; + public $id; + public $kind; + public $name; + protected $pathMatchersType = 'Google_Service_Compute_PathMatcher'; + protected $pathMatchersDataType = 'array'; + public $selfLink; + protected $testsType = 'Google_Service_Compute_UrlMapTest'; + protected $testsDataType = 'array'; + + + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDefaultService($defaultService) + { + $this->defaultService = $defaultService; + } + public function getDefaultService() + { + return $this->defaultService; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setHostRules($hostRules) + { + $this->hostRules = $hostRules; + } + public function getHostRules() + { + return $this->hostRules; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPathMatchers($pathMatchers) + { + $this->pathMatchers = $pathMatchers; + } + public function getPathMatchers() + { + return $this->pathMatchers; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTests($tests) + { + $this->tests = $tests; + } + public function getTests() + { + return $this->tests; + } +} + +class Google_Service_Compute_UrlMapList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Compute_UrlMap'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Compute_UrlMapReference extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $urlMap; + + + public function setUrlMap($urlMap) + { + $this->urlMap = $urlMap; + } + public function getUrlMap() + { + return $this->urlMap; + } +} + +class Google_Service_Compute_UrlMapTest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $description; + public $host; + public $path; + public $service; + + + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setHost($host) + { + $this->host = $host; + } + public function getHost() + { + return $this->host; + } + public function setPath($path) + { + $this->path = $path; + } + public function getPath() + { + return $this->path; + } + public function setService($service) + { + $this->service = $service; + } + public function getService() + { + return $this->service; + } +} + +class Google_Service_Compute_UrlMapValidationResult extends Google_Collection +{ + protected $collection_key = 'testFailures'; + protected $internal_gapi_mappings = array( + ); + public $loadErrors; + public $loadSucceeded; + protected $testFailuresType = 'Google_Service_Compute_TestFailure'; + protected $testFailuresDataType = 'array'; + public $testPassed; + + + public function setLoadErrors($loadErrors) + { + $this->loadErrors = $loadErrors; + } + public function getLoadErrors() + { + return $this->loadErrors; + } + public function setLoadSucceeded($loadSucceeded) + { + $this->loadSucceeded = $loadSucceeded; + } + public function getLoadSucceeded() + { + return $this->loadSucceeded; + } + public function setTestFailures($testFailures) + { + $this->testFailures = $testFailures; + } + public function getTestFailures() + { + return $this->testFailures; + } + public function setTestPassed($testPassed) + { + $this->testPassed = $testPassed; + } + public function getTestPassed() + { + return $this->testPassed; + } +} + +class Google_Service_Compute_UrlMapsValidateRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $resourceType = 'Google_Service_Compute_UrlMap'; + protected $resourceDataType = ''; + + + public function setResource(Google_Service_Compute_UrlMap $resource) + { + $this->resource = $resource; + } + public function getResource() + { + return $this->resource; + } +} + +class Google_Service_Compute_UrlMapsValidateResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $resultType = 'Google_Service_Compute_UrlMapValidationResult'; + protected $resultDataType = ''; + + + public function setResult(Google_Service_Compute_UrlMapValidationResult $result) + { + $this->result = $result; + } + public function getResult() + { + return $this->result; + } +} + +class Google_Service_Compute_UsageExportLocation extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $bucketName; + public $reportNamePrefix; + + + public function setBucketName($bucketName) + { + $this->bucketName = $bucketName; + } + public function getBucketName() + { + return $this->bucketName; + } + public function setReportNamePrefix($reportNamePrefix) + { + $this->reportNamePrefix = $reportNamePrefix; + } + public function getReportNamePrefix() + { + return $this->reportNamePrefix; + } +} + +class Google_Service_Compute_VpnTunnel extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $creationTimestamp; + public $description; + public $detailedStatus; + public $id; + public $ikeVersion; + public $kind; + public $name; + public $peerIp; + public $region; + public $selfLink; + public $sharedSecret; + public $sharedSecretHash; + public $status; + public $targetVpnGateway; + + + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDetailedStatus($detailedStatus) + { + $this->detailedStatus = $detailedStatus; + } + public function getDetailedStatus() + { + return $this->detailedStatus; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIkeVersion($ikeVersion) + { + $this->ikeVersion = $ikeVersion; + } + public function getIkeVersion() + { + return $this->ikeVersion; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPeerIp($peerIp) + { + $this->peerIp = $peerIp; + } + public function getPeerIp() + { + return $this->peerIp; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setSharedSecret($sharedSecret) + { + $this->sharedSecret = $sharedSecret; + } + public function getSharedSecret() + { + return $this->sharedSecret; + } + public function setSharedSecretHash($sharedSecretHash) + { + $this->sharedSecretHash = $sharedSecretHash; + } + public function getSharedSecretHash() + { + return $this->sharedSecretHash; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setTargetVpnGateway($targetVpnGateway) + { + $this->targetVpnGateway = $targetVpnGateway; + } + public function getTargetVpnGateway() + { + return $this->targetVpnGateway; + } +} + +class Google_Service_Compute_VpnTunnelAggregatedList extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Compute_VpnTunnelsScopedList'; + protected $itemsDataType = 'map'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Compute_VpnTunnelAggregatedListItems extends Google_Model +{ +} + +class Google_Service_Compute_VpnTunnelList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Compute_VpnTunnel'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Compute_VpnTunnelsScopedList extends Google_Collection +{ + protected $collection_key = 'vpnTunnels'; + protected $internal_gapi_mappings = array( + ); + protected $vpnTunnelsType = 'Google_Service_Compute_VpnTunnel'; + protected $vpnTunnelsDataType = 'array'; + protected $warningType = 'Google_Service_Compute_VpnTunnelsScopedListWarning'; + protected $warningDataType = ''; + + + public function setVpnTunnels($vpnTunnels) + { + $this->vpnTunnels = $vpnTunnels; + } + public function getVpnTunnels() + { + return $this->vpnTunnels; + } + public function setWarning(Google_Service_Compute_VpnTunnelsScopedListWarning $warning) + { + $this->warning = $warning; + } + public function getWarning() + { + return $this->warning; + } +} + +class Google_Service_Compute_VpnTunnelsScopedListWarning extends Google_Collection +{ + protected $collection_key = 'data'; + protected $internal_gapi_mappings = array( + ); + public $code; + protected $dataType = 'Google_Service_Compute_VpnTunnelsScopedListWarningData'; + protected $dataDataType = 'array'; + public $message; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_Compute_VpnTunnelsScopedListWarningData extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $key; + public $value; + + + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Compute_Zone extends Google_Collection +{ + protected $collection_key = 'maintenanceWindows'; + protected $internal_gapi_mappings = array( + ); + public $creationTimestamp; + protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus'; + protected $deprecatedDataType = ''; + public $description; + public $id; + public $kind; + protected $maintenanceWindowsType = 'Google_Service_Compute_ZoneMaintenanceWindows'; + protected $maintenanceWindowsDataType = 'array'; + public $name; + public $region; + public $selfLink; + public $status; + + + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated) + { + $this->deprecated = $deprecated; + } + public function getDeprecated() + { + return $this->deprecated; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMaintenanceWindows($maintenanceWindows) + { + $this->maintenanceWindows = $maintenanceWindows; + } + public function getMaintenanceWindows() + { + return $this->maintenanceWindows; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} + +class Google_Service_Compute_ZoneList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Compute_Zone'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Compute_ZoneMaintenanceWindows extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $beginTime; + public $description; + public $endTime; + public $name; + + + public function setBeginTime($beginTime) + { + $this->beginTime = $beginTime; + } + public function getBeginTime() + { + return $this->beginTime; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Computeaccounts.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Computeaccounts.php new file mode 100644 index 0000000..35eacaf --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Computeaccounts.php @@ -0,0 +1,1689 @@ + + * API for the Google Compute Accounts service.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Computeaccounts extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** New Service: https://www.googleapis.com/auth/computeaccounts. */ + const COMPUTEACCOUNTS = + "https://www.googleapis.com/auth/computeaccounts"; + /** New Service: https://www.googleapis.com/auth/computeaccounts.readonly. */ + const COMPUTEACCOUNTS_READONLY = + "https://www.googleapis.com/auth/computeaccounts.readonly"; + + public $globalAccountsOperations; + public $groups; + public $linux; + public $users; + + + /** + * Constructs the internal representation of the Computeaccounts service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->servicePath = 'computeaccounts/alpha/projects/'; + $this->version = 'alpha'; + $this->serviceName = 'computeaccounts'; + + $this->globalAccountsOperations = new Google_Service_Computeaccounts_GlobalAccountsOperations_Resource( + $this, + $this->serviceName, + 'globalAccountsOperations', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{project}/global/operations/{operation}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'operation' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/global/operations/{operation}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'operation' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/operations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->groups = new Google_Service_Computeaccounts_Groups_Resource( + $this, + $this->serviceName, + 'groups', + array( + 'methods' => array( + 'addMember' => array( + 'path' => '{project}/global/groups/{groupName}/addMember', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'groupName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => '{project}/global/groups/{groupName}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'groupName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/global/groups/{groupName}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'groupName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/global/groups', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/groups', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'removeMember' => array( + 'path' => '{project}/global/groups/{groupName}/removeMember', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'groupName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->linux = new Google_Service_Computeaccounts_Linux_Resource( + $this, + $this->serviceName, + 'linux', + array( + 'methods' => array( + 'getAuthorizedKeysView' => array( + 'path' => '{project}/zones/{zone}/authorizedKeysView/{user}', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'user' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getLinuxAccountViews' => array( + 'path' => '{project}/zones/{zone}/linuxAccountViews', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'user' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->users = new Google_Service_Computeaccounts_Users_Resource( + $this, + $this->serviceName, + 'users', + array( + 'methods' => array( + 'addPublicKey' => array( + 'path' => '{project}/global/users/{user}/addPublicKey', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'user' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => '{project}/global/users/{user}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'user' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/global/users/{user}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'user' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/global/users', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/users', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'removePublicKey' => array( + 'path' => '{project}/global/users/{user}/removePublicKey', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'user' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'fingerprint' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "globalAccountsOperations" collection of methods. + * Typical usage is: + * + * $computeaccountsService = new Google_Service_Computeaccounts(...); + * $globalAccountsOperations = $computeaccountsService->globalAccountsOperations; + * + */ +class Google_Service_Computeaccounts_GlobalAccountsOperations_Resource extends Google_Service_Resource +{ + + /** + * Deletes the specified operation resource. (globalAccountsOperations.delete) + * + * @param string $project Project ID for this request. + * @param string $operation Name of the operation resource to delete. + * @param array $optParams Optional parameters. + */ + public function delete($project, $operation, $optParams = array()) + { + $params = array('project' => $project, 'operation' => $operation); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Retrieves the specified operation resource. (globalAccountsOperations.get) + * + * @param string $project Project ID for this request. + * @param string $operation Name of the operation resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Computeaccounts_Operation + */ + public function get($project, $operation, $optParams = array()) + { + $params = array('project' => $project, 'operation' => $operation); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Computeaccounts_Operation"); + } + + /** + * Retrieves the list of operation resources contained within the specified + * project. (globalAccountsOperations.listGlobalAccountsOperations) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Optional. Filter expression for filtering listed + * resources. + * @opt_param string pageToken Optional. Tag returned by a previous list request + * truncated by maxResults. Used to continue a previous list request. + * @opt_param string maxResults Optional. Maximum count of results to be + * returned. Maximum value is 500 and default value is 500. + * @return Google_Service_Computeaccounts_OperationList + */ + public function listGlobalAccountsOperations($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Computeaccounts_OperationList"); + } +} + +/** + * The "groups" collection of methods. + * Typical usage is: + * + * $computeaccountsService = new Google_Service_Computeaccounts(...); + * $groups = $computeaccountsService->groups; + * + */ +class Google_Service_Computeaccounts_Groups_Resource extends Google_Service_Resource +{ + + /** + * Adds users to the specified group. (groups.addMember) + * + * @param string $project Project ID for this request. + * @param string $groupName Name of the group for this request. + * @param Google_GroupsAddMemberRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Computeaccounts_Operation + */ + public function addMember($project, $groupName, Google_Service_Computeaccounts_GroupsAddMemberRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'groupName' => $groupName, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('addMember', array($params), "Google_Service_Computeaccounts_Operation"); + } + + /** + * Deletes the specified group resource. (groups.delete) + * + * @param string $project Project ID for this request. + * @param string $groupName Name of the group resource to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Computeaccounts_Operation + */ + public function delete($project, $groupName, $optParams = array()) + { + $params = array('project' => $project, 'groupName' => $groupName); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Computeaccounts_Operation"); + } + + /** + * Returns the specified group resource. (groups.get) + * + * @param string $project Project ID for this request. + * @param string $groupName Name of the group resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Computeaccounts_Group + */ + public function get($project, $groupName, $optParams = array()) + { + $params = array('project' => $project, 'groupName' => $groupName); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Computeaccounts_Group"); + } + + /** + * Creates a group resource in the specified project using the data included in + * the request. (groups.insert) + * + * @param string $project Project ID for this request. + * @param Google_Group $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Computeaccounts_Operation + */ + public function insert($project, Google_Service_Computeaccounts_Group $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Computeaccounts_Operation"); + } + + /** + * Retrieves the list of groups contained within the specified project. + * (groups.listGroups) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Optional. Filter expression for filtering listed + * resources. + * @opt_param string pageToken Optional. Tag returned by a previous list request + * truncated by maxResults. Used to continue a previous list request. + * @opt_param string maxResults Optional. Maximum count of results to be + * returned. Maximum value is 500 and default value is 500. + * @return Google_Service_Computeaccounts_GroupList + */ + public function listGroups($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Computeaccounts_GroupList"); + } + + /** + * Removes users from the specified group. (groups.removeMember) + * + * @param string $project Project ID for this request. + * @param string $groupName Name of the group for this request. + * @param Google_GroupsRemoveMemberRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Computeaccounts_Operation + */ + public function removeMember($project, $groupName, Google_Service_Computeaccounts_GroupsRemoveMemberRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'groupName' => $groupName, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('removeMember', array($params), "Google_Service_Computeaccounts_Operation"); + } +} + +/** + * The "linux" collection of methods. + * Typical usage is: + * + * $computeaccountsService = new Google_Service_Computeaccounts(...); + * $linux = $computeaccountsService->linux; + * + */ +class Google_Service_Computeaccounts_Linux_Resource extends Google_Service_Resource +{ + + /** + * Returns the AuthorizedKeysView of the specified user. + * (linux.getAuthorizedKeysView) + * + * @param string $project Project ID for this request. + * @param string $zone Name of the zone for this request. + * @param string $user Username of the AuthorizedKeysView to return. + * @param string $instance The fully-qualified URL of the instance requesting + * the view. + * @param array $optParams Optional parameters. + * @return Google_Service_Computeaccounts_LinuxGetAuthorizedKeysViewResponse + */ + public function getAuthorizedKeysView($project, $zone, $user, $instance, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'user' => $user, 'instance' => $instance); + $params = array_merge($params, $optParams); + return $this->call('getAuthorizedKeysView', array($params), "Google_Service_Computeaccounts_LinuxGetAuthorizedKeysViewResponse"); + } + + /** + * Retrieves the Linux views for an instance contained within the specified + * project. (linux.getLinuxAccountViews) + * + * @param string $project Project ID for this request. + * @param string $zone Name of the zone for this request. + * @param string $instance The fully-qualified URL of the instance requesting + * the views. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Optional. Tag returned by a previous list request + * truncated by maxResults. Used to continue a previous list request. + * @opt_param string maxResults Optional. Maximum count of results to be + * returned. Maximum value is 500 and default value is 500. + * @opt_param string filter Optional. Filter expression for filtering listed + * resources. + * @opt_param string user If provided, the user whose login is triggering an + * immediate refresh of the views. + * @return Google_Service_Computeaccounts_LinuxGetLinuxAccountViewsResponse + */ + public function getLinuxAccountViews($project, $zone, $instance, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance); + $params = array_merge($params, $optParams); + return $this->call('getLinuxAccountViews', array($params), "Google_Service_Computeaccounts_LinuxGetLinuxAccountViewsResponse"); + } +} + +/** + * The "users" collection of methods. + * Typical usage is: + * + * $computeaccountsService = new Google_Service_Computeaccounts(...); + * $users = $computeaccountsService->users; + * + */ +class Google_Service_Computeaccounts_Users_Resource extends Google_Service_Resource +{ + + /** + * Adds a public key to the specified user using the data included in the + * request. (users.addPublicKey) + * + * @param string $project Project ID for this request. + * @param string $user Name of the user for this request. + * @param Google_PublicKey $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Computeaccounts_Operation + */ + public function addPublicKey($project, $user, Google_Service_Computeaccounts_PublicKey $postBody, $optParams = array()) + { + $params = array('project' => $project, 'user' => $user, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('addPublicKey', array($params), "Google_Service_Computeaccounts_Operation"); + } + + /** + * Deletes the specified user resource. (users.delete) + * + * @param string $project Project ID for this request. + * @param string $user Name of the user resource to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Computeaccounts_Operation + */ + public function delete($project, $user, $optParams = array()) + { + $params = array('project' => $project, 'user' => $user); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Computeaccounts_Operation"); + } + + /** + * Returns the specified user resource. (users.get) + * + * @param string $project Project ID for this request. + * @param string $user Name of the user resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Computeaccounts_User + */ + public function get($project, $user, $optParams = array()) + { + $params = array('project' => $project, 'user' => $user); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Computeaccounts_User"); + } + + /** + * Creates a user resource in the specified project using the data included in + * the request. (users.insert) + * + * @param string $project Project ID for this request. + * @param Google_User $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Computeaccounts_Operation + */ + public function insert($project, Google_Service_Computeaccounts_User $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Computeaccounts_Operation"); + } + + /** + * Retrieves the list of users contained within the specified project. + * (users.listUsers) + * + * @param string $project Project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Optional. Filter expression for filtering listed + * resources. + * @opt_param string pageToken Optional. Tag returned by a previous list request + * truncated by maxResults. Used to continue a previous list request. + * @opt_param string maxResults Optional. Maximum count of results to be + * returned. Maximum value is 500 and default value is 500. + * @return Google_Service_Computeaccounts_UserList + */ + public function listUsers($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Computeaccounts_UserList"); + } + + /** + * Removes the specified public key from the user. (users.removePublicKey) + * + * @param string $project Project ID for this request. + * @param string $user Name of the user for this request. + * @param string $fingerprint The fingerprint of the public key to delete. + * Public keys are identified by their fingerprint, which is defined by RFC4716 + * to be the MD5 digest of the public key. + * @param array $optParams Optional parameters. + * @return Google_Service_Computeaccounts_Operation + */ + public function removePublicKey($project, $user, $fingerprint, $optParams = array()) + { + $params = array('project' => $project, 'user' => $user, 'fingerprint' => $fingerprint); + $params = array_merge($params, $optParams); + return $this->call('removePublicKey', array($params), "Google_Service_Computeaccounts_Operation"); + } +} + + + + +class Google_Service_Computeaccounts_AuthorizedKeysView extends Google_Collection +{ + protected $collection_key = 'keys'; + protected $internal_gapi_mappings = array( + ); + public $keys; + + + public function setKeys($keys) + { + $this->keys = $keys; + } + public function getKeys() + { + return $this->keys; + } +} + +class Google_Service_Computeaccounts_Group extends Google_Collection +{ + protected $collection_key = 'members'; + protected $internal_gapi_mappings = array( + ); + public $creationTimestamp; + public $description; + public $id; + public $kind; + public $members; + public $name; + public $selfLink; + + + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMembers($members) + { + $this->members = $members; + } + public function getMembers() + { + return $this->members; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Computeaccounts_GroupList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Computeaccounts_Group'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Computeaccounts_GroupsAddMemberRequest extends Google_Collection +{ + protected $collection_key = 'users'; + protected $internal_gapi_mappings = array( + ); + public $users; + + + public function setUsers($users) + { + $this->users = $users; + } + public function getUsers() + { + return $this->users; + } +} + +class Google_Service_Computeaccounts_GroupsRemoveMemberRequest extends Google_Collection +{ + protected $collection_key = 'users'; + protected $internal_gapi_mappings = array( + ); + public $users; + + + public function setUsers($users) + { + $this->users = $users; + } + public function getUsers() + { + return $this->users; + } +} + +class Google_Service_Computeaccounts_LinuxAccountViews extends Google_Collection +{ + protected $collection_key = 'userViews'; + protected $internal_gapi_mappings = array( + ); + protected $groupViewsType = 'Google_Service_Computeaccounts_LinuxGroupView'; + protected $groupViewsDataType = 'array'; + public $kind; + protected $userViewsType = 'Google_Service_Computeaccounts_LinuxUserView'; + protected $userViewsDataType = 'array'; + + + public function setGroupViews($groupViews) + { + $this->groupViews = $groupViews; + } + public function getGroupViews() + { + return $this->groupViews; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setUserViews($userViews) + { + $this->userViews = $userViews; + } + public function getUserViews() + { + return $this->userViews; + } +} + +class Google_Service_Computeaccounts_LinuxGetAuthorizedKeysViewResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $resourceType = 'Google_Service_Computeaccounts_AuthorizedKeysView'; + protected $resourceDataType = ''; + + + public function setResource(Google_Service_Computeaccounts_AuthorizedKeysView $resource) + { + $this->resource = $resource; + } + public function getResource() + { + return $this->resource; + } +} + +class Google_Service_Computeaccounts_LinuxGetLinuxAccountViewsResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $resourceType = 'Google_Service_Computeaccounts_LinuxAccountViews'; + protected $resourceDataType = ''; + + + public function setResource(Google_Service_Computeaccounts_LinuxAccountViews $resource) + { + $this->resource = $resource; + } + public function getResource() + { + return $this->resource; + } +} + +class Google_Service_Computeaccounts_LinuxGroupView extends Google_Collection +{ + protected $collection_key = 'members'; + protected $internal_gapi_mappings = array( + ); + public $gid; + public $groupName; + public $members; + + + public function setGid($gid) + { + $this->gid = $gid; + } + public function getGid() + { + return $this->gid; + } + public function setGroupName($groupName) + { + $this->groupName = $groupName; + } + public function getGroupName() + { + return $this->groupName; + } + public function setMembers($members) + { + $this->members = $members; + } + public function getMembers() + { + return $this->members; + } +} + +class Google_Service_Computeaccounts_LinuxUserView extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $gecos; + public $gid; + public $homeDirectory; + public $shell; + public $uid; + public $username; + + + public function setGecos($gecos) + { + $this->gecos = $gecos; + } + public function getGecos() + { + return $this->gecos; + } + public function setGid($gid) + { + $this->gid = $gid; + } + public function getGid() + { + return $this->gid; + } + public function setHomeDirectory($homeDirectory) + { + $this->homeDirectory = $homeDirectory; + } + public function getHomeDirectory() + { + return $this->homeDirectory; + } + public function setShell($shell) + { + $this->shell = $shell; + } + public function getShell() + { + return $this->shell; + } + public function setUid($uid) + { + $this->uid = $uid; + } + public function getUid() + { + return $this->uid; + } + public function setUsername($username) + { + $this->username = $username; + } + public function getUsername() + { + return $this->username; + } +} + +class Google_Service_Computeaccounts_Operation extends Google_Collection +{ + protected $collection_key = 'warnings'; + protected $internal_gapi_mappings = array( + ); + public $clientOperationId; + public $creationTimestamp; + public $endTime; + protected $errorType = 'Google_Service_Computeaccounts_OperationError'; + protected $errorDataType = ''; + public $httpErrorMessage; + public $httpErrorStatusCode; + public $id; + public $insertTime; + public $kind; + public $name; + public $operationType; + public $progress; + public $region; + public $selfLink; + public $startTime; + public $status; + public $statusMessage; + public $targetId; + public $targetLink; + public $user; + protected $warningsType = 'Google_Service_Computeaccounts_OperationWarnings'; + protected $warningsDataType = 'array'; + public $zone; + + + public function setClientOperationId($clientOperationId) + { + $this->clientOperationId = $clientOperationId; + } + public function getClientOperationId() + { + return $this->clientOperationId; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setError(Google_Service_Computeaccounts_OperationError $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setHttpErrorMessage($httpErrorMessage) + { + $this->httpErrorMessage = $httpErrorMessage; + } + public function getHttpErrorMessage() + { + return $this->httpErrorMessage; + } + public function setHttpErrorStatusCode($httpErrorStatusCode) + { + $this->httpErrorStatusCode = $httpErrorStatusCode; + } + public function getHttpErrorStatusCode() + { + return $this->httpErrorStatusCode; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInsertTime($insertTime) + { + $this->insertTime = $insertTime; + } + public function getInsertTime() + { + return $this->insertTime; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOperationType($operationType) + { + $this->operationType = $operationType; + } + public function getOperationType() + { + return $this->operationType; + } + public function setProgress($progress) + { + $this->progress = $progress; + } + public function getProgress() + { + return $this->progress; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setStatusMessage($statusMessage) + { + $this->statusMessage = $statusMessage; + } + public function getStatusMessage() + { + return $this->statusMessage; + } + public function setTargetId($targetId) + { + $this->targetId = $targetId; + } + public function getTargetId() + { + return $this->targetId; + } + public function setTargetLink($targetLink) + { + $this->targetLink = $targetLink; + } + public function getTargetLink() + { + return $this->targetLink; + } + public function setUser($user) + { + $this->user = $user; + } + public function getUser() + { + return $this->user; + } + public function setWarnings($warnings) + { + $this->warnings = $warnings; + } + public function getWarnings() + { + return $this->warnings; + } + public function setZone($zone) + { + $this->zone = $zone; + } + public function getZone() + { + return $this->zone; + } +} + +class Google_Service_Computeaccounts_OperationError extends Google_Collection +{ + protected $collection_key = 'errors'; + protected $internal_gapi_mappings = array( + ); + protected $errorsType = 'Google_Service_Computeaccounts_OperationErrorErrors'; + protected $errorsDataType = 'array'; + + + public function setErrors($errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } +} + +class Google_Service_Computeaccounts_OperationErrorErrors extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $code; + public $location; + public $message; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_Computeaccounts_OperationList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Computeaccounts_Operation'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Computeaccounts_OperationWarnings extends Google_Collection +{ + protected $collection_key = 'data'; + protected $internal_gapi_mappings = array( + ); + public $code; + protected $dataType = 'Google_Service_Computeaccounts_OperationWarningsData'; + protected $dataDataType = 'array'; + public $message; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_Computeaccounts_OperationWarningsData extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $key; + public $value; + + + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Computeaccounts_PublicKey extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $creationTimestamp; + public $description; + public $expirationTimestamp; + public $fingerprint; + public $key; + + + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setExpirationTimestamp($expirationTimestamp) + { + $this->expirationTimestamp = $expirationTimestamp; + } + public function getExpirationTimestamp() + { + return $this->expirationTimestamp; + } + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } +} + +class Google_Service_Computeaccounts_User extends Google_Collection +{ + protected $collection_key = 'publicKeys'; + protected $internal_gapi_mappings = array( + ); + public $creationTimestamp; + public $description; + public $groups; + public $id; + public $kind; + public $name; + public $owner; + protected $publicKeysType = 'Google_Service_Computeaccounts_PublicKey'; + protected $publicKeysDataType = 'array'; + public $selfLink; + + + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setGroups($groups) + { + $this->groups = $groups; + } + public function getGroups() + { + return $this->groups; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOwner($owner) + { + $this->owner = $owner; + } + public function getOwner() + { + return $this->owner; + } + public function setPublicKeys($publicKeys) + { + $this->publicKeys = $publicKeys; + } + public function getPublicKeys() + { + return $this->publicKeys; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Computeaccounts_UserList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Computeaccounts_User'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Container.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Container.php new file mode 100644 index 0000000..2849bf4 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Container.php @@ -0,0 +1,913 @@ + + * The Google Container Engine API is used for building and managing container + * based applications, powered by the open source Kubernetes technology.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Container extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + + public $projects_zones; + public $projects_zones_clusters; + public $projects_zones_operations; + + + /** + * Constructs the internal representation of the Container service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://container.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'container'; + + $this->projects_zones = new Google_Service_Container_ProjectsZones_Resource( + $this, + $this->serviceName, + 'zones', + array( + 'methods' => array( + 'getServerconfig' => array( + 'path' => 'v1/projects/{projectId}/zones/{zone}/serverconfig', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects_zones_clusters = new Google_Service_Container_ProjectsZonesClusters_Resource( + $this, + $this->serviceName, + 'clusters', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'clusterId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'clusterId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'clusterId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects_zones_operations = new Google_Service_Container_ProjectsZonesOperations_Resource( + $this, + $this->serviceName, + 'operations', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v1/projects/{projectId}/zones/{zone}/operations/{operationId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'operationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/projects/{projectId}/zones/{zone}/operations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "projects" collection of methods. + * Typical usage is: + * + * $containerService = new Google_Service_Container(...); + * $projects = $containerService->projects; + * + */ +class Google_Service_Container_Projects_Resource extends Google_Service_Resource +{ +} + +/** + * The "zones" collection of methods. + * Typical usage is: + * + * $containerService = new Google_Service_Container(...); + * $zones = $containerService->zones; + * + */ +class Google_Service_Container_ProjectsZones_Resource extends Google_Service_Resource +{ + + /** + * Returns configuration info about the Container Engine service. + * (zones.getServerconfig) + * + * @param string $projectId The Google Developers Console [project ID or project + * number](https://developers.google.com/console/help/new/#projectnumber). + * @param string $zone The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) to return operations for, or "-" for + * all zones. + * @param array $optParams Optional parameters. + * @return Google_Service_Container_ServerConfig + */ + public function getServerconfig($projectId, $zone, $optParams = array()) + { + $params = array('projectId' => $projectId, 'zone' => $zone); + $params = array_merge($params, $optParams); + return $this->call('getServerconfig', array($params), "Google_Service_Container_ServerConfig"); + } +} + +/** + * The "clusters" collection of methods. + * Typical usage is: + * + * $containerService = new Google_Service_Container(...); + * $clusters = $containerService->clusters; + * + */ +class Google_Service_Container_ProjectsZonesClusters_Resource extends Google_Service_Resource +{ + + /** + * Creates a cluster, consisting of the specified number and type of Google + * Compute Engine instances, plus a Kubernetes master endpoint. By default, the + * cluster is created in the project's [default + * network](/compute/docs/networking#networks_1). One firewall is added for the + * cluster. After cluster creation, the cluster creates routes for each node to + * allow the containers on that node to communicate with all other instances in + * the cluster. Finally, an entry is added to the project's global metadata + * indicating which CIDR range is being used by the cluster. (clusters.create) + * + * @param string $projectId The Google Developers Console [project ID or project + * number](https://developers.google.com/console/help/new/#projectnumber). + * @param string $zone The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the cluster resides. + * @param Google_CreateClusterRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Container_Operation + */ + public function create($projectId, $zone, Google_Service_Container_CreateClusterRequest $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'zone' => $zone, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Container_Operation"); + } + + /** + * Deletes the cluster, including the Kubernetes endpoint and all worker nodes. + * Firewalls and routes that were configured during cluster creation are also + * deleted. (clusters.delete) + * + * @param string $projectId The Google Developers Console [project ID or project + * number](https://developers.google.com/console/help/new/#projectnumber). + * @param string $zone The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the cluster resides. + * @param string $clusterId The name of the cluster to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Container_Operation + */ + public function delete($projectId, $zone, $clusterId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'zone' => $zone, 'clusterId' => $clusterId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Container_Operation"); + } + + /** + * Gets a specific cluster. (clusters.get) + * + * @param string $projectId The Google Developers Console [project ID or project + * number](https://developers.google.com/console/help/new/#projectnumber). + * @param string $zone The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the cluster resides. + * @param string $clusterId The name of the cluster to retrieve. + * @param array $optParams Optional parameters. + * @return Google_Service_Container_Cluster + */ + public function get($projectId, $zone, $clusterId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'zone' => $zone, 'clusterId' => $clusterId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Container_Cluster"); + } + + /** + * Lists all clusters owned by a project in either the specified zone or all + * zones. (clusters.listProjectsZonesClusters) + * + * @param string $projectId The Google Developers Console [project ID or project + * number](https://developers.google.com/console/help/new/#projectnumber). + * @param string $zone The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the cluster resides, or "-" + * for all zones. + * @param array $optParams Optional parameters. + * @return Google_Service_Container_ListClustersResponse + */ + public function listProjectsZonesClusters($projectId, $zone, $optParams = array()) + { + $params = array('projectId' => $projectId, 'zone' => $zone); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Container_ListClustersResponse"); + } + + /** + * Update settings of a specific cluster. (clusters.update) + * + * @param string $projectId The Google Developers Console [project ID or project + * number](https://developers.google.com/console/help/new/#projectnumber). + * @param string $zone The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the cluster resides. + * @param string $clusterId The name of the cluster to upgrade. + * @param Google_UpdateClusterRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Container_Operation + */ + public function update($projectId, $zone, $clusterId, Google_Service_Container_UpdateClusterRequest $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'zone' => $zone, 'clusterId' => $clusterId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Container_Operation"); + } +} +/** + * The "operations" collection of methods. + * Typical usage is: + * + * $containerService = new Google_Service_Container(...); + * $operations = $containerService->operations; + * + */ +class Google_Service_Container_ProjectsZonesOperations_Resource extends Google_Service_Resource +{ + + /** + * Gets the specified operation. (operations.get) + * + * @param string $projectId The Google Developers Console [project ID or project + * number](https://developers.google.com/console/help/new/#projectnumber). + * @param string $zone The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) in which the cluster resides. + * @param string $operationId The server-assigned `name` of the operation. + * @param array $optParams Optional parameters. + * @return Google_Service_Container_Operation + */ + public function get($projectId, $zone, $operationId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'zone' => $zone, 'operationId' => $operationId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Container_Operation"); + } + + /** + * Lists all operations in a project in a specific zone or all zones. + * (operations.listProjectsZonesOperations) + * + * @param string $projectId The Google Developers Console [project ID or project + * number](https://developers.google.com/console/help/new/#projectnumber). + * @param string $zone The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) to return operations for, or "-" for + * all zones. + * @param array $optParams Optional parameters. + * @return Google_Service_Container_ListOperationsResponse + */ + public function listProjectsZonesOperations($projectId, $zone, $optParams = array()) + { + $params = array('projectId' => $projectId, 'zone' => $zone); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Container_ListOperationsResponse"); + } +} + + + + +class Google_Service_Container_Cluster extends Google_Collection +{ + protected $collection_key = 'instanceGroupUrls'; + protected $internal_gapi_mappings = array( + ); + public $clusterIpv4Cidr; + public $createTime; + public $currentMasterVersion; + public $currentNodeVersion; + public $description; + public $endpoint; + public $initialClusterVersion; + public $initialNodeCount; + public $instanceGroupUrls; + public $loggingService; + protected $masterAuthType = 'Google_Service_Container_MasterAuth'; + protected $masterAuthDataType = ''; + public $monitoringService; + public $name; + public $network; + protected $nodeConfigType = 'Google_Service_Container_NodeConfig'; + protected $nodeConfigDataType = ''; + public $nodeIpv4CidrSize; + public $selfLink; + public $servicesIpv4Cidr; + public $status; + public $statusMessage; + public $zone; + + + public function setClusterIpv4Cidr($clusterIpv4Cidr) + { + $this->clusterIpv4Cidr = $clusterIpv4Cidr; + } + public function getClusterIpv4Cidr() + { + return $this->clusterIpv4Cidr; + } + public function setCreateTime($createTime) + { + $this->createTime = $createTime; + } + public function getCreateTime() + { + return $this->createTime; + } + public function setCurrentMasterVersion($currentMasterVersion) + { + $this->currentMasterVersion = $currentMasterVersion; + } + public function getCurrentMasterVersion() + { + return $this->currentMasterVersion; + } + public function setCurrentNodeVersion($currentNodeVersion) + { + $this->currentNodeVersion = $currentNodeVersion; + } + public function getCurrentNodeVersion() + { + return $this->currentNodeVersion; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEndpoint($endpoint) + { + $this->endpoint = $endpoint; + } + public function getEndpoint() + { + return $this->endpoint; + } + public function setInitialClusterVersion($initialClusterVersion) + { + $this->initialClusterVersion = $initialClusterVersion; + } + public function getInitialClusterVersion() + { + return $this->initialClusterVersion; + } + public function setInitialNodeCount($initialNodeCount) + { + $this->initialNodeCount = $initialNodeCount; + } + public function getInitialNodeCount() + { + return $this->initialNodeCount; + } + public function setInstanceGroupUrls($instanceGroupUrls) + { + $this->instanceGroupUrls = $instanceGroupUrls; + } + public function getInstanceGroupUrls() + { + return $this->instanceGroupUrls; + } + public function setLoggingService($loggingService) + { + $this->loggingService = $loggingService; + } + public function getLoggingService() + { + return $this->loggingService; + } + public function setMasterAuth(Google_Service_Container_MasterAuth $masterAuth) + { + $this->masterAuth = $masterAuth; + } + public function getMasterAuth() + { + return $this->masterAuth; + } + public function setMonitoringService($monitoringService) + { + $this->monitoringService = $monitoringService; + } + public function getMonitoringService() + { + return $this->monitoringService; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNetwork($network) + { + $this->network = $network; + } + public function getNetwork() + { + return $this->network; + } + public function setNodeConfig(Google_Service_Container_NodeConfig $nodeConfig) + { + $this->nodeConfig = $nodeConfig; + } + public function getNodeConfig() + { + return $this->nodeConfig; + } + public function setNodeIpv4CidrSize($nodeIpv4CidrSize) + { + $this->nodeIpv4CidrSize = $nodeIpv4CidrSize; + } + public function getNodeIpv4CidrSize() + { + return $this->nodeIpv4CidrSize; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setServicesIpv4Cidr($servicesIpv4Cidr) + { + $this->servicesIpv4Cidr = $servicesIpv4Cidr; + } + public function getServicesIpv4Cidr() + { + return $this->servicesIpv4Cidr; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setStatusMessage($statusMessage) + { + $this->statusMessage = $statusMessage; + } + public function getStatusMessage() + { + return $this->statusMessage; + } + public function setZone($zone) + { + $this->zone = $zone; + } + public function getZone() + { + return $this->zone; + } +} + +class Google_Service_Container_ClusterUpdate extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $desiredNodeVersion; + + + public function setDesiredNodeVersion($desiredNodeVersion) + { + $this->desiredNodeVersion = $desiredNodeVersion; + } + public function getDesiredNodeVersion() + { + return $this->desiredNodeVersion; + } +} + +class Google_Service_Container_CreateClusterRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $clusterType = 'Google_Service_Container_Cluster'; + protected $clusterDataType = ''; + + + public function setCluster(Google_Service_Container_Cluster $cluster) + { + $this->cluster = $cluster; + } + public function getCluster() + { + return $this->cluster; + } +} + +class Google_Service_Container_ListClustersResponse extends Google_Collection +{ + protected $collection_key = 'clusters'; + protected $internal_gapi_mappings = array( + ); + protected $clustersType = 'Google_Service_Container_Cluster'; + protected $clustersDataType = 'array'; + + + public function setClusters($clusters) + { + $this->clusters = $clusters; + } + public function getClusters() + { + return $this->clusters; + } +} + +class Google_Service_Container_ListOperationsResponse extends Google_Collection +{ + protected $collection_key = 'operations'; + protected $internal_gapi_mappings = array( + ); + protected $operationsType = 'Google_Service_Container_Operation'; + protected $operationsDataType = 'array'; + + + public function setOperations($operations) + { + $this->operations = $operations; + } + public function getOperations() + { + return $this->operations; + } +} + +class Google_Service_Container_MasterAuth extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $clientCertificate; + public $clientKey; + public $clusterCaCertificate; + public $password; + public $username; + + + public function setClientCertificate($clientCertificate) + { + $this->clientCertificate = $clientCertificate; + } + public function getClientCertificate() + { + return $this->clientCertificate; + } + public function setClientKey($clientKey) + { + $this->clientKey = $clientKey; + } + public function getClientKey() + { + return $this->clientKey; + } + public function setClusterCaCertificate($clusterCaCertificate) + { + $this->clusterCaCertificate = $clusterCaCertificate; + } + public function getClusterCaCertificate() + { + return $this->clusterCaCertificate; + } + public function setPassword($password) + { + $this->password = $password; + } + public function getPassword() + { + return $this->password; + } + public function setUsername($username) + { + $this->username = $username; + } + public function getUsername() + { + return $this->username; + } +} + +class Google_Service_Container_NodeConfig extends Google_Collection +{ + protected $collection_key = 'oauthScopes'; + protected $internal_gapi_mappings = array( + ); + public $diskSizeGb; + public $machineType; + public $oauthScopes; + + + public function setDiskSizeGb($diskSizeGb) + { + $this->diskSizeGb = $diskSizeGb; + } + public function getDiskSizeGb() + { + return $this->diskSizeGb; + } + public function setMachineType($machineType) + { + $this->machineType = $machineType; + } + public function getMachineType() + { + return $this->machineType; + } + public function setOauthScopes($oauthScopes) + { + $this->oauthScopes = $oauthScopes; + } + public function getOauthScopes() + { + return $this->oauthScopes; + } +} + +class Google_Service_Container_Operation extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $name; + public $operationType; + public $selfLink; + public $status; + public $statusMessage; + public $targetLink; + public $zone; + + + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOperationType($operationType) + { + $this->operationType = $operationType; + } + public function getOperationType() + { + return $this->operationType; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setStatusMessage($statusMessage) + { + $this->statusMessage = $statusMessage; + } + public function getStatusMessage() + { + return $this->statusMessage; + } + public function setTargetLink($targetLink) + { + $this->targetLink = $targetLink; + } + public function getTargetLink() + { + return $this->targetLink; + } + public function setZone($zone) + { + $this->zone = $zone; + } + public function getZone() + { + return $this->zone; + } +} + +class Google_Service_Container_ServerConfig extends Google_Collection +{ + protected $collection_key = 'validNodeVersions'; + protected $internal_gapi_mappings = array( + ); + public $defaultClusterVersion; + public $validNodeVersions; + + + public function setDefaultClusterVersion($defaultClusterVersion) + { + $this->defaultClusterVersion = $defaultClusterVersion; + } + public function getDefaultClusterVersion() + { + return $this->defaultClusterVersion; + } + public function setValidNodeVersions($validNodeVersions) + { + $this->validNodeVersions = $validNodeVersions; + } + public function getValidNodeVersions() + { + return $this->validNodeVersions; + } +} + +class Google_Service_Container_UpdateClusterRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $updateType = 'Google_Service_Container_ClusterUpdate'; + protected $updateDataType = ''; + + + public function setUpdate(Google_Service_Container_ClusterUpdate $update) + { + $this->update = $update; + } + public function getUpdate() + { + return $this->update; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Coordinate.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Coordinate.php new file mode 100644 index 0000000..eadd3b8 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Coordinate.php @@ -0,0 +1,1570 @@ + + * Lets you view and manage jobs in a Coordinate team.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Coordinate extends Google_Service +{ + /** View and manage your Google Maps Coordinate jobs. */ + const COORDINATE = + "https://www.googleapis.com/auth/coordinate"; + /** View your Google Coordinate jobs. */ + const COORDINATE_READONLY = + "https://www.googleapis.com/auth/coordinate.readonly"; + + public $customFieldDef; + public $jobs; + public $location; + public $schedule; + public $team; + public $worker; + + + /** + * Constructs the internal representation of the Coordinate service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'coordinate/v1/'; + $this->version = 'v1'; + $this->serviceName = 'coordinate'; + + $this->customFieldDef = new Google_Service_Coordinate_CustomFieldDef_Resource( + $this, + $this->serviceName, + 'customFieldDef', + array( + 'methods' => array( + 'list' => array( + 'path' => 'teams/{teamId}/custom_fields', + 'httpMethod' => 'GET', + 'parameters' => array( + 'teamId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->jobs = new Google_Service_Coordinate_Jobs_Resource( + $this, + $this->serviceName, + 'jobs', + array( + 'methods' => array( + 'get' => array( + 'path' => 'teams/{teamId}/jobs/{jobId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'teamId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'teams/{teamId}/jobs', + 'httpMethod' => 'POST', + 'parameters' => array( + 'teamId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'address' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'lat' => array( + 'location' => 'query', + 'type' => 'number', + 'required' => true, + ), + 'lng' => array( + 'location' => 'query', + 'type' => 'number', + 'required' => true, + ), + 'title' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'customerName' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'note' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'assignee' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'customerPhoneNumber' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'customField' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ),'list' => array( + 'path' => 'teams/{teamId}/jobs', + 'httpMethod' => 'GET', + 'parameters' => array( + 'teamId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'minModifiedTimestampMs' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'omitJobChanges' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'patch' => array( + 'path' => 'teams/{teamId}/jobs/{jobId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'teamId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customerName' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'title' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'note' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'assignee' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'customerPhoneNumber' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'address' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'lat' => array( + 'location' => 'query', + 'type' => 'number', + ), + 'progress' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'lng' => array( + 'location' => 'query', + 'type' => 'number', + ), + 'customField' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ),'update' => array( + 'path' => 'teams/{teamId}/jobs/{jobId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'teamId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customerName' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'title' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'note' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'assignee' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'customerPhoneNumber' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'address' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'lat' => array( + 'location' => 'query', + 'type' => 'number', + ), + 'progress' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'lng' => array( + 'location' => 'query', + 'type' => 'number', + ), + 'customField' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ), + ) + ) + ); + $this->location = new Google_Service_Coordinate_Location_Resource( + $this, + $this->serviceName, + 'location', + array( + 'methods' => array( + 'list' => array( + 'path' => 'teams/{teamId}/workers/{workerEmail}/locations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'teamId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'workerEmail' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'startTimestampMs' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->schedule = new Google_Service_Coordinate_Schedule_Resource( + $this, + $this->serviceName, + 'schedule', + array( + 'methods' => array( + 'get' => array( + 'path' => 'teams/{teamId}/jobs/{jobId}/schedule', + 'httpMethod' => 'GET', + 'parameters' => array( + 'teamId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'teams/{teamId}/jobs/{jobId}/schedule', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'teamId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'allDay' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'startTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'duration' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'endTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'teams/{teamId}/jobs/{jobId}/schedule', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'teamId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'allDay' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'startTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'duration' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'endTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->team = new Google_Service_Coordinate_Team_Resource( + $this, + $this->serviceName, + 'team', + array( + 'methods' => array( + 'list' => array( + 'path' => 'teams', + 'httpMethod' => 'GET', + 'parameters' => array( + 'admin' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'worker' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'dispatcher' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->worker = new Google_Service_Coordinate_Worker_Resource( + $this, + $this->serviceName, + 'worker', + array( + 'methods' => array( + 'list' => array( + 'path' => 'teams/{teamId}/workers', + 'httpMethod' => 'GET', + 'parameters' => array( + 'teamId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "customFieldDef" collection of methods. + * Typical usage is: + * + * $coordinateService = new Google_Service_Coordinate(...); + * $customFieldDef = $coordinateService->customFieldDef; + * + */ +class Google_Service_Coordinate_CustomFieldDef_Resource extends Google_Service_Resource +{ + + /** + * Retrieves a list of custom field definitions for a team. + * (customFieldDef.listCustomFieldDef) + * + * @param string $teamId Team ID + * @param array $optParams Optional parameters. + * @return Google_Service_Coordinate_CustomFieldDefListResponse + */ + public function listCustomFieldDef($teamId, $optParams = array()) + { + $params = array('teamId' => $teamId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Coordinate_CustomFieldDefListResponse"); + } +} + +/** + * The "jobs" collection of methods. + * Typical usage is: + * + * $coordinateService = new Google_Service_Coordinate(...); + * $jobs = $coordinateService->jobs; + * + */ +class Google_Service_Coordinate_Jobs_Resource extends Google_Service_Resource +{ + + /** + * Retrieves a job, including all the changes made to the job. (jobs.get) + * + * @param string $teamId Team ID + * @param string $jobId Job number + * @param array $optParams Optional parameters. + * @return Google_Service_Coordinate_Job + */ + public function get($teamId, $jobId, $optParams = array()) + { + $params = array('teamId' => $teamId, 'jobId' => $jobId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Coordinate_Job"); + } + + /** + * Inserts a new job. Only the state field of the job should be set. + * (jobs.insert) + * + * @param string $teamId Team ID + * @param string $address Job address as newline (Unix) separated string + * @param double $lat The latitude coordinate of this job's location. + * @param double $lng The longitude coordinate of this job's location. + * @param string $title Job title + * @param Google_Job $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string customerName Customer name + * @opt_param string note Job note as newline (Unix) separated string + * @opt_param string assignee Assignee email address, or empty string to + * unassign. + * @opt_param string customerPhoneNumber Customer phone number + * @opt_param string customField Sets the value of custom fields. To set a + * custom field, pass the field id (from /team/teamId/custom_fields), a URL + * escaped '=' character, and the desired value as a parameter. For example, + * customField=12%3DAlice. Repeat the parameter for each custom field. Note that + * '=' cannot appear in the parameter value. Specifying an invalid, or inactive + * enum field will result in an error 500. + * @return Google_Service_Coordinate_Job + */ + public function insert($teamId, $address, $lat, $lng, $title, Google_Service_Coordinate_Job $postBody, $optParams = array()) + { + $params = array('teamId' => $teamId, 'address' => $address, 'lat' => $lat, 'lng' => $lng, 'title' => $title, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Coordinate_Job"); + } + + /** + * Retrieves jobs created or modified since the given timestamp. (jobs.listJobs) + * + * @param string $teamId Team ID + * @param array $optParams Optional parameters. + * + * @opt_param string minModifiedTimestampMs Minimum time a job was modified in + * milliseconds since epoch. + * @opt_param string pageToken Continuation token + * @opt_param string maxResults Maximum number of results to return in one page. + * @opt_param bool omitJobChanges Whether to omit detail job history + * information. + * @return Google_Service_Coordinate_JobListResponse + */ + public function listJobs($teamId, $optParams = array()) + { + $params = array('teamId' => $teamId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Coordinate_JobListResponse"); + } + + /** + * Updates a job. Fields that are set in the job state will be updated. This + * method supports patch semantics. (jobs.patch) + * + * @param string $teamId Team ID + * @param string $jobId Job number + * @param Google_Job $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string customerName Customer name + * @opt_param string title Job title + * @opt_param string note Job note as newline (Unix) separated string + * @opt_param string assignee Assignee email address, or empty string to + * unassign. + * @opt_param string customerPhoneNumber Customer phone number + * @opt_param string address Job address as newline (Unix) separated string + * @opt_param double lat The latitude coordinate of this job's location. + * @opt_param string progress Job progress + * @opt_param double lng The longitude coordinate of this job's location. + * @opt_param string customField Sets the value of custom fields. To set a + * custom field, pass the field id (from /team/teamId/custom_fields), a URL + * escaped '=' character, and the desired value as a parameter. For example, + * customField=12%3DAlice. Repeat the parameter for each custom field. Note that + * '=' cannot appear in the parameter value. Specifying an invalid, or inactive + * enum field will result in an error 500. + * @return Google_Service_Coordinate_Job + */ + public function patch($teamId, $jobId, Google_Service_Coordinate_Job $postBody, $optParams = array()) + { + $params = array('teamId' => $teamId, 'jobId' => $jobId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Coordinate_Job"); + } + + /** + * Updates a job. Fields that are set in the job state will be updated. + * (jobs.update) + * + * @param string $teamId Team ID + * @param string $jobId Job number + * @param Google_Job $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string customerName Customer name + * @opt_param string title Job title + * @opt_param string note Job note as newline (Unix) separated string + * @opt_param string assignee Assignee email address, or empty string to + * unassign. + * @opt_param string customerPhoneNumber Customer phone number + * @opt_param string address Job address as newline (Unix) separated string + * @opt_param double lat The latitude coordinate of this job's location. + * @opt_param string progress Job progress + * @opt_param double lng The longitude coordinate of this job's location. + * @opt_param string customField Sets the value of custom fields. To set a + * custom field, pass the field id (from /team/teamId/custom_fields), a URL + * escaped '=' character, and the desired value as a parameter. For example, + * customField=12%3DAlice. Repeat the parameter for each custom field. Note that + * '=' cannot appear in the parameter value. Specifying an invalid, or inactive + * enum field will result in an error 500. + * @return Google_Service_Coordinate_Job + */ + public function update($teamId, $jobId, Google_Service_Coordinate_Job $postBody, $optParams = array()) + { + $params = array('teamId' => $teamId, 'jobId' => $jobId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Coordinate_Job"); + } +} + +/** + * The "location" collection of methods. + * Typical usage is: + * + * $coordinateService = new Google_Service_Coordinate(...); + * $location = $coordinateService->location; + * + */ +class Google_Service_Coordinate_Location_Resource extends Google_Service_Resource +{ + + /** + * Retrieves a list of locations for a worker. (location.listLocation) + * + * @param string $teamId Team ID + * @param string $workerEmail Worker email address. + * @param string $startTimestampMs Start timestamp in milliseconds since the + * epoch. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Continuation token + * @opt_param string maxResults Maximum number of results to return in one page. + * @return Google_Service_Coordinate_LocationListResponse + */ + public function listLocation($teamId, $workerEmail, $startTimestampMs, $optParams = array()) + { + $params = array('teamId' => $teamId, 'workerEmail' => $workerEmail, 'startTimestampMs' => $startTimestampMs); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Coordinate_LocationListResponse"); + } +} + +/** + * The "schedule" collection of methods. + * Typical usage is: + * + * $coordinateService = new Google_Service_Coordinate(...); + * $schedule = $coordinateService->schedule; + * + */ +class Google_Service_Coordinate_Schedule_Resource extends Google_Service_Resource +{ + + /** + * Retrieves the schedule for a job. (schedule.get) + * + * @param string $teamId Team ID + * @param string $jobId Job number + * @param array $optParams Optional parameters. + * @return Google_Service_Coordinate_Schedule + */ + public function get($teamId, $jobId, $optParams = array()) + { + $params = array('teamId' => $teamId, 'jobId' => $jobId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Coordinate_Schedule"); + } + + /** + * Replaces the schedule of a job with the provided schedule. This method + * supports patch semantics. (schedule.patch) + * + * @param string $teamId Team ID + * @param string $jobId Job number + * @param Google_Schedule $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool allDay Whether the job is scheduled for the whole day. Time + * of day in start/end times is ignored if this is true. + * @opt_param string startTime Scheduled start time in milliseconds since epoch. + * @opt_param string duration Job duration in milliseconds. + * @opt_param string endTime Scheduled end time in milliseconds since epoch. + * @return Google_Service_Coordinate_Schedule + */ + public function patch($teamId, $jobId, Google_Service_Coordinate_Schedule $postBody, $optParams = array()) + { + $params = array('teamId' => $teamId, 'jobId' => $jobId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Coordinate_Schedule"); + } + + /** + * Replaces the schedule of a job with the provided schedule. (schedule.update) + * + * @param string $teamId Team ID + * @param string $jobId Job number + * @param Google_Schedule $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool allDay Whether the job is scheduled for the whole day. Time + * of day in start/end times is ignored if this is true. + * @opt_param string startTime Scheduled start time in milliseconds since epoch. + * @opt_param string duration Job duration in milliseconds. + * @opt_param string endTime Scheduled end time in milliseconds since epoch. + * @return Google_Service_Coordinate_Schedule + */ + public function update($teamId, $jobId, Google_Service_Coordinate_Schedule $postBody, $optParams = array()) + { + $params = array('teamId' => $teamId, 'jobId' => $jobId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Coordinate_Schedule"); + } +} + +/** + * The "team" collection of methods. + * Typical usage is: + * + * $coordinateService = new Google_Service_Coordinate(...); + * $team = $coordinateService->team; + * + */ +class Google_Service_Coordinate_Team_Resource extends Google_Service_Resource +{ + + /** + * Retrieves a list of teams for a user. (team.listTeam) + * + * @param array $optParams Optional parameters. + * + * @opt_param bool admin Whether to include teams for which the user has the + * Admin role. + * @opt_param bool worker Whether to include teams for which the user has the + * Worker role. + * @opt_param bool dispatcher Whether to include teams for which the user has + * the Dispatcher role. + * @return Google_Service_Coordinate_TeamListResponse + */ + public function listTeam($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Coordinate_TeamListResponse"); + } +} + +/** + * The "worker" collection of methods. + * Typical usage is: + * + * $coordinateService = new Google_Service_Coordinate(...); + * $worker = $coordinateService->worker; + * + */ +class Google_Service_Coordinate_Worker_Resource extends Google_Service_Resource +{ + + /** + * Retrieves a list of workers in a team. (worker.listWorker) + * + * @param string $teamId Team ID + * @param array $optParams Optional parameters. + * @return Google_Service_Coordinate_WorkerListResponse + */ + public function listWorker($teamId, $optParams = array()) + { + $params = array('teamId' => $teamId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Coordinate_WorkerListResponse"); + } +} + + + + +class Google_Service_Coordinate_CustomField extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $customFieldId; + public $kind; + public $value; + + + public function setCustomFieldId($customFieldId) + { + $this->customFieldId = $customFieldId; + } + public function getCustomFieldId() + { + return $this->customFieldId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Coordinate_CustomFieldDef extends Google_Collection +{ + protected $collection_key = 'enumitems'; + protected $internal_gapi_mappings = array( + ); + public $enabled; + protected $enumitemsType = 'Google_Service_Coordinate_EnumItemDef'; + protected $enumitemsDataType = 'array'; + public $id; + public $kind; + public $name; + public $requiredForCheckout; + public $type; + + + public function setEnabled($enabled) + { + $this->enabled = $enabled; + } + public function getEnabled() + { + return $this->enabled; + } + public function setEnumitems($enumitems) + { + $this->enumitems = $enumitems; + } + public function getEnumitems() + { + return $this->enumitems; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setRequiredForCheckout($requiredForCheckout) + { + $this->requiredForCheckout = $requiredForCheckout; + } + public function getRequiredForCheckout() + { + return $this->requiredForCheckout; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Coordinate_CustomFieldDefListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Coordinate_CustomFieldDef'; + protected $itemsDataType = 'array'; + public $kind; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Coordinate_CustomFields extends Google_Collection +{ + protected $collection_key = 'customField'; + protected $internal_gapi_mappings = array( + ); + protected $customFieldType = 'Google_Service_Coordinate_CustomField'; + protected $customFieldDataType = 'array'; + public $kind; + + + public function setCustomField($customField) + { + $this->customField = $customField; + } + public function getCustomField() + { + return $this->customField; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Coordinate_EnumItemDef extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $active; + public $kind; + public $value; + + + public function setActive($active) + { + $this->active = $active; + } + public function getActive() + { + return $this->active; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Coordinate_Job extends Google_Collection +{ + protected $collection_key = 'jobChange'; + protected $internal_gapi_mappings = array( + ); + public $id; + protected $jobChangeType = 'Google_Service_Coordinate_JobChange'; + protected $jobChangeDataType = 'array'; + public $kind; + protected $stateType = 'Google_Service_Coordinate_JobState'; + protected $stateDataType = ''; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setJobChange($jobChange) + { + $this->jobChange = $jobChange; + } + public function getJobChange() + { + return $this->jobChange; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setState(Google_Service_Coordinate_JobState $state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } +} + +class Google_Service_Coordinate_JobChange extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $stateType = 'Google_Service_Coordinate_JobState'; + protected $stateDataType = ''; + public $timestamp; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setState(Google_Service_Coordinate_JobState $state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } + public function setTimestamp($timestamp) + { + $this->timestamp = $timestamp; + } + public function getTimestamp() + { + return $this->timestamp; + } +} + +class Google_Service_Coordinate_JobListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Coordinate_Job'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Coordinate_JobState extends Google_Collection +{ + protected $collection_key = 'note'; + protected $internal_gapi_mappings = array( + ); + public $assignee; + protected $customFieldsType = 'Google_Service_Coordinate_CustomFields'; + protected $customFieldsDataType = ''; + public $customerName; + public $customerPhoneNumber; + public $kind; + protected $locationType = 'Google_Service_Coordinate_Location'; + protected $locationDataType = ''; + public $note; + public $progress; + public $title; + + + public function setAssignee($assignee) + { + $this->assignee = $assignee; + } + public function getAssignee() + { + return $this->assignee; + } + public function setCustomFields(Google_Service_Coordinate_CustomFields $customFields) + { + $this->customFields = $customFields; + } + public function getCustomFields() + { + return $this->customFields; + } + public function setCustomerName($customerName) + { + $this->customerName = $customerName; + } + public function getCustomerName() + { + return $this->customerName; + } + public function setCustomerPhoneNumber($customerPhoneNumber) + { + $this->customerPhoneNumber = $customerPhoneNumber; + } + public function getCustomerPhoneNumber() + { + return $this->customerPhoneNumber; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLocation(Google_Service_Coordinate_Location $location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setNote($note) + { + $this->note = $note; + } + public function getNote() + { + return $this->note; + } + public function setProgress($progress) + { + $this->progress = $progress; + } + public function getProgress() + { + return $this->progress; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} + +class Google_Service_Coordinate_Location extends Google_Collection +{ + protected $collection_key = 'addressLine'; + protected $internal_gapi_mappings = array( + ); + public $addressLine; + public $kind; + public $lat; + public $lng; + + + public function setAddressLine($addressLine) + { + $this->addressLine = $addressLine; + } + public function getAddressLine() + { + return $this->addressLine; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLat($lat) + { + $this->lat = $lat; + } + public function getLat() + { + return $this->lat; + } + public function setLng($lng) + { + $this->lng = $lng; + } + public function getLng() + { + return $this->lng; + } +} + +class Google_Service_Coordinate_LocationListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Coordinate_LocationRecord'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + protected $tokenPaginationType = 'Google_Service_Coordinate_TokenPagination'; + protected $tokenPaginationDataType = ''; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTokenPagination(Google_Service_Coordinate_TokenPagination $tokenPagination) + { + $this->tokenPagination = $tokenPagination; + } + public function getTokenPagination() + { + return $this->tokenPagination; + } +} + +class Google_Service_Coordinate_LocationRecord extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $collectionTime; + public $confidenceRadius; + public $kind; + public $latitude; + public $longitude; + + + public function setCollectionTime($collectionTime) + { + $this->collectionTime = $collectionTime; + } + public function getCollectionTime() + { + return $this->collectionTime; + } + public function setConfidenceRadius($confidenceRadius) + { + $this->confidenceRadius = $confidenceRadius; + } + public function getConfidenceRadius() + { + return $this->confidenceRadius; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLatitude($latitude) + { + $this->latitude = $latitude; + } + public function getLatitude() + { + return $this->latitude; + } + public function setLongitude($longitude) + { + $this->longitude = $longitude; + } + public function getLongitude() + { + return $this->longitude; + } +} + +class Google_Service_Coordinate_Schedule extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $allDay; + public $duration; + public $endTime; + public $kind; + public $startTime; + + + public function setAllDay($allDay) + { + $this->allDay = $allDay; + } + public function getAllDay() + { + return $this->allDay; + } + public function setDuration($duration) + { + $this->duration = $duration; + } + public function getDuration() + { + return $this->duration; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } +} + +class Google_Service_Coordinate_Team extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $kind; + public $name; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_Coordinate_TeamListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Coordinate_Team'; + protected $itemsDataType = 'array'; + public $kind; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Coordinate_TokenPagination extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + public $nextPageToken; + public $previousPageToken; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPreviousPageToken($previousPageToken) + { + $this->previousPageToken = $previousPageToken; + } + public function getPreviousPageToken() + { + return $this->previousPageToken; + } +} + +class Google_Service_Coordinate_Worker extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $kind; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Coordinate_WorkerListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Coordinate_Worker'; + protected $itemsDataType = 'array'; + public $kind; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Customsearch.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Customsearch.php new file mode 100644 index 0000000..0f181af --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Customsearch.php @@ -0,0 +1,1277 @@ + + * Lets you search over a website or collection of websites

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Customsearch extends Google_Service +{ + + + public $cse; + + + /** + * Constructs the internal representation of the Customsearch service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'customsearch/'; + $this->version = 'v1'; + $this->serviceName = 'customsearch'; + + $this->cse = new Google_Service_Customsearch_Cse_Resource( + $this, + $this->serviceName, + 'cse', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v1', + 'httpMethod' => 'GET', + 'parameters' => array( + 'q' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'sort' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'orTerms' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'highRange' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'num' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'cr' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'imgType' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'gl' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'relatedSite' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'searchType' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'fileType' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'start' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'imgDominantColor' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'lr' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'siteSearch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'cref' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'dateRestrict' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'safe' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'c2coff' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'googlehost' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'hq' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'exactTerms' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'hl' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'lowRange' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'imgSize' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'imgColorType' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'rights' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'excludeTerms' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'linkSite' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'cx' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'siteSearchFilter' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "cse" collection of methods. + * Typical usage is: + * + * $customsearchService = new Google_Service_Customsearch(...); + * $cse = $customsearchService->cse; + * + */ +class Google_Service_Customsearch_Cse_Resource extends Google_Service_Resource +{ + + /** + * Returns metadata about the search performed, metadata about the custom search + * engine used for the search, and the search results. (cse.listCse) + * + * @param string $q Query + * @param array $optParams Optional parameters. + * + * @opt_param string sort The sort expression to apply to the results + * @opt_param string orTerms Provides additional search terms to check for in a + * document, where each document in the search results must contain at least one + * of the additional search terms + * @opt_param string highRange Creates a range in form as_nlo value..as_nhi + * value and attempts to append it to query + * @opt_param string num Number of search results to return + * @opt_param string cr Country restrict(s). + * @opt_param string imgType Returns images of a type, which can be one of: + * clipart, face, lineart, news, and photo. + * @opt_param string gl Geolocation of end user. + * @opt_param string relatedSite Specifies that all search results should be + * pages that are related to the specified URL + * @opt_param string searchType Specifies the search type: image. + * @opt_param string fileType Returns images of a specified type. Some of the + * allowed values are: bmp, gif, png, jpg, svg, pdf, ... + * @opt_param string start The index of the first result to return + * @opt_param string imgDominantColor Returns images of a specific dominant + * color: yellow, green, teal, blue, purple, pink, white, gray, black and brown. + * @opt_param string lr The language restriction for the search results + * @opt_param string siteSearch Specifies all search results should be pages + * from a given site + * @opt_param string cref The URL of a linked custom search engine + * @opt_param string dateRestrict Specifies all search results are from a time + * period + * @opt_param string safe Search safety level + * @opt_param string c2coff Turns off the translation between zh-CN and zh-TW. + * @opt_param string googlehost The local Google domain to use to perform the + * search. + * @opt_param string hq Appends the extra query terms to the query. + * @opt_param string exactTerms Identifies a phrase that all documents in the + * search results must contain + * @opt_param string hl Sets the user interface language. + * @opt_param string lowRange Creates a range in form as_nlo value..as_nhi value + * and attempts to append it to query + * @opt_param string imgSize Returns images of a specified size, where size can + * be one of: icon, small, medium, large, xlarge, xxlarge, and huge. + * @opt_param string imgColorType Returns black and white, grayscale, or color + * images: mono, gray, and color. + * @opt_param string rights Filters based on licensing. Supported values + * include: cc_publicdomain, cc_attribute, cc_sharealike, cc_noncommercial, + * cc_nonderived and combinations of these. + * @opt_param string excludeTerms Identifies a word or phrase that should not + * appear in any documents in the search results + * @opt_param string filter Controls turning on or off the duplicate content + * filter. + * @opt_param string linkSite Specifies that all search results should contain a + * link to a particular URL + * @opt_param string cx The custom search engine ID to scope this search query + * @opt_param string siteSearchFilter Controls whether to include or exclude + * results from the site named in the as_sitesearch parameter + * @return Google_Service_Customsearch_Search + */ + public function listCse($q, $optParams = array()) + { + $params = array('q' => $q); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Customsearch_Search"); + } +} + + + + +class Google_Service_Customsearch_Context extends Google_Collection +{ + protected $collection_key = 'facets'; + protected $internal_gapi_mappings = array( + ); + protected $facetsType = 'Google_Service_Customsearch_ContextFacets'; + protected $facetsDataType = 'array'; + public $title; + + + public function setFacets($facets) + { + $this->facets = $facets; + } + public function getFacets() + { + return $this->facets; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} + +class Google_Service_Customsearch_ContextFacets extends Google_Model +{ + protected $internal_gapi_mappings = array( + "labelWithOp" => "label_with_op", + ); + public $anchor; + public $label; + public $labelWithOp; + + + public function setAnchor($anchor) + { + $this->anchor = $anchor; + } + public function getAnchor() + { + return $this->anchor; + } + public function setLabel($label) + { + $this->label = $label; + } + public function getLabel() + { + return $this->label; + } + public function setLabelWithOp($labelWithOp) + { + $this->labelWithOp = $labelWithOp; + } + public function getLabelWithOp() + { + return $this->labelWithOp; + } +} + +class Google_Service_Customsearch_Promotion extends Google_Collection +{ + protected $collection_key = 'bodyLines'; + protected $internal_gapi_mappings = array( + ); + protected $bodyLinesType = 'Google_Service_Customsearch_PromotionBodyLines'; + protected $bodyLinesDataType = 'array'; + public $displayLink; + public $htmlTitle; + protected $imageType = 'Google_Service_Customsearch_PromotionImage'; + protected $imageDataType = ''; + public $link; + public $title; + + + public function setBodyLines($bodyLines) + { + $this->bodyLines = $bodyLines; + } + public function getBodyLines() + { + return $this->bodyLines; + } + public function setDisplayLink($displayLink) + { + $this->displayLink = $displayLink; + } + public function getDisplayLink() + { + return $this->displayLink; + } + public function setHtmlTitle($htmlTitle) + { + $this->htmlTitle = $htmlTitle; + } + public function getHtmlTitle() + { + return $this->htmlTitle; + } + public function setImage(Google_Service_Customsearch_PromotionImage $image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } + public function setLink($link) + { + $this->link = $link; + } + public function getLink() + { + return $this->link; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} + +class Google_Service_Customsearch_PromotionBodyLines extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $htmlTitle; + public $link; + public $title; + public $url; + + + public function setHtmlTitle($htmlTitle) + { + $this->htmlTitle = $htmlTitle; + } + public function getHtmlTitle() + { + return $this->htmlTitle; + } + public function setLink($link) + { + $this->link = $link; + } + public function getLink() + { + return $this->link; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_Customsearch_PromotionImage extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $height; + public $source; + public $width; + + + public function setHeight($height) + { + $this->height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setSource($source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} + +class Google_Service_Customsearch_Query extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $count; + public $cr; + public $cref; + public $cx; + public $dateRestrict; + public $disableCnTwTranslation; + public $exactTerms; + public $excludeTerms; + public $fileType; + public $filter; + public $gl; + public $googleHost; + public $highRange; + public $hl; + public $hq; + public $imgColorType; + public $imgDominantColor; + public $imgSize; + public $imgType; + public $inputEncoding; + public $language; + public $linkSite; + public $lowRange; + public $orTerms; + public $outputEncoding; + public $relatedSite; + public $rights; + public $safe; + public $searchTerms; + public $searchType; + public $siteSearch; + public $siteSearchFilter; + public $sort; + public $startIndex; + public $startPage; + public $title; + public $totalResults; + + + public function setCount($count) + { + $this->count = $count; + } + public function getCount() + { + return $this->count; + } + public function setCr($cr) + { + $this->cr = $cr; + } + public function getCr() + { + return $this->cr; + } + public function setCref($cref) + { + $this->cref = $cref; + } + public function getCref() + { + return $this->cref; + } + public function setCx($cx) + { + $this->cx = $cx; + } + public function getCx() + { + return $this->cx; + } + public function setDateRestrict($dateRestrict) + { + $this->dateRestrict = $dateRestrict; + } + public function getDateRestrict() + { + return $this->dateRestrict; + } + public function setDisableCnTwTranslation($disableCnTwTranslation) + { + $this->disableCnTwTranslation = $disableCnTwTranslation; + } + public function getDisableCnTwTranslation() + { + return $this->disableCnTwTranslation; + } + public function setExactTerms($exactTerms) + { + $this->exactTerms = $exactTerms; + } + public function getExactTerms() + { + return $this->exactTerms; + } + public function setExcludeTerms($excludeTerms) + { + $this->excludeTerms = $excludeTerms; + } + public function getExcludeTerms() + { + return $this->excludeTerms; + } + public function setFileType($fileType) + { + $this->fileType = $fileType; + } + public function getFileType() + { + return $this->fileType; + } + public function setFilter($filter) + { + $this->filter = $filter; + } + public function getFilter() + { + return $this->filter; + } + public function setGl($gl) + { + $this->gl = $gl; + } + public function getGl() + { + return $this->gl; + } + public function setGoogleHost($googleHost) + { + $this->googleHost = $googleHost; + } + public function getGoogleHost() + { + return $this->googleHost; + } + public function setHighRange($highRange) + { + $this->highRange = $highRange; + } + public function getHighRange() + { + return $this->highRange; + } + public function setHl($hl) + { + $this->hl = $hl; + } + public function getHl() + { + return $this->hl; + } + public function setHq($hq) + { + $this->hq = $hq; + } + public function getHq() + { + return $this->hq; + } + public function setImgColorType($imgColorType) + { + $this->imgColorType = $imgColorType; + } + public function getImgColorType() + { + return $this->imgColorType; + } + public function setImgDominantColor($imgDominantColor) + { + $this->imgDominantColor = $imgDominantColor; + } + public function getImgDominantColor() + { + return $this->imgDominantColor; + } + public function setImgSize($imgSize) + { + $this->imgSize = $imgSize; + } + public function getImgSize() + { + return $this->imgSize; + } + public function setImgType($imgType) + { + $this->imgType = $imgType; + } + public function getImgType() + { + return $this->imgType; + } + public function setInputEncoding($inputEncoding) + { + $this->inputEncoding = $inputEncoding; + } + public function getInputEncoding() + { + return $this->inputEncoding; + } + public function setLanguage($language) + { + $this->language = $language; + } + public function getLanguage() + { + return $this->language; + } + public function setLinkSite($linkSite) + { + $this->linkSite = $linkSite; + } + public function getLinkSite() + { + return $this->linkSite; + } + public function setLowRange($lowRange) + { + $this->lowRange = $lowRange; + } + public function getLowRange() + { + return $this->lowRange; + } + public function setOrTerms($orTerms) + { + $this->orTerms = $orTerms; + } + public function getOrTerms() + { + return $this->orTerms; + } + public function setOutputEncoding($outputEncoding) + { + $this->outputEncoding = $outputEncoding; + } + public function getOutputEncoding() + { + return $this->outputEncoding; + } + public function setRelatedSite($relatedSite) + { + $this->relatedSite = $relatedSite; + } + public function getRelatedSite() + { + return $this->relatedSite; + } + public function setRights($rights) + { + $this->rights = $rights; + } + public function getRights() + { + return $this->rights; + } + public function setSafe($safe) + { + $this->safe = $safe; + } + public function getSafe() + { + return $this->safe; + } + public function setSearchTerms($searchTerms) + { + $this->searchTerms = $searchTerms; + } + public function getSearchTerms() + { + return $this->searchTerms; + } + public function setSearchType($searchType) + { + $this->searchType = $searchType; + } + public function getSearchType() + { + return $this->searchType; + } + public function setSiteSearch($siteSearch) + { + $this->siteSearch = $siteSearch; + } + public function getSiteSearch() + { + return $this->siteSearch; + } + public function setSiteSearchFilter($siteSearchFilter) + { + $this->siteSearchFilter = $siteSearchFilter; + } + public function getSiteSearchFilter() + { + return $this->siteSearchFilter; + } + public function setSort($sort) + { + $this->sort = $sort; + } + public function getSort() + { + return $this->sort; + } + public function setStartIndex($startIndex) + { + $this->startIndex = $startIndex; + } + public function getStartIndex() + { + return $this->startIndex; + } + public function setStartPage($startPage) + { + $this->startPage = $startPage; + } + public function getStartPage() + { + return $this->startPage; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } +} + +class Google_Service_Customsearch_Result extends Google_Collection +{ + protected $collection_key = 'labels'; + protected $internal_gapi_mappings = array( + ); + public $cacheId; + public $displayLink; + public $fileFormat; + public $formattedUrl; + public $htmlFormattedUrl; + public $htmlSnippet; + public $htmlTitle; + protected $imageType = 'Google_Service_Customsearch_ResultImage'; + protected $imageDataType = ''; + public $kind; + protected $labelsType = 'Google_Service_Customsearch_ResultLabels'; + protected $labelsDataType = 'array'; + public $link; + public $mime; + public $pagemap; + public $snippet; + public $title; + + + public function setCacheId($cacheId) + { + $this->cacheId = $cacheId; + } + public function getCacheId() + { + return $this->cacheId; + } + public function setDisplayLink($displayLink) + { + $this->displayLink = $displayLink; + } + public function getDisplayLink() + { + return $this->displayLink; + } + public function setFileFormat($fileFormat) + { + $this->fileFormat = $fileFormat; + } + public function getFileFormat() + { + return $this->fileFormat; + } + public function setFormattedUrl($formattedUrl) + { + $this->formattedUrl = $formattedUrl; + } + public function getFormattedUrl() + { + return $this->formattedUrl; + } + public function setHtmlFormattedUrl($htmlFormattedUrl) + { + $this->htmlFormattedUrl = $htmlFormattedUrl; + } + public function getHtmlFormattedUrl() + { + return $this->htmlFormattedUrl; + } + public function setHtmlSnippet($htmlSnippet) + { + $this->htmlSnippet = $htmlSnippet; + } + public function getHtmlSnippet() + { + return $this->htmlSnippet; + } + public function setHtmlTitle($htmlTitle) + { + $this->htmlTitle = $htmlTitle; + } + public function getHtmlTitle() + { + return $this->htmlTitle; + } + public function setImage(Google_Service_Customsearch_ResultImage $image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setLink($link) + { + $this->link = $link; + } + public function getLink() + { + return $this->link; + } + public function setMime($mime) + { + $this->mime = $mime; + } + public function getMime() + { + return $this->mime; + } + public function setPagemap($pagemap) + { + $this->pagemap = $pagemap; + } + public function getPagemap() + { + return $this->pagemap; + } + public function setSnippet($snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} + +class Google_Service_Customsearch_ResultImage extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $byteSize; + public $contextLink; + public $height; + public $thumbnailHeight; + public $thumbnailLink; + public $thumbnailWidth; + public $width; + + + public function setByteSize($byteSize) + { + $this->byteSize = $byteSize; + } + public function getByteSize() + { + return $this->byteSize; + } + public function setContextLink($contextLink) + { + $this->contextLink = $contextLink; + } + public function getContextLink() + { + return $this->contextLink; + } + public function setHeight($height) + { + $this->height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setThumbnailHeight($thumbnailHeight) + { + $this->thumbnailHeight = $thumbnailHeight; + } + public function getThumbnailHeight() + { + return $this->thumbnailHeight; + } + public function setThumbnailLink($thumbnailLink) + { + $this->thumbnailLink = $thumbnailLink; + } + public function getThumbnailLink() + { + return $this->thumbnailLink; + } + public function setThumbnailWidth($thumbnailWidth) + { + $this->thumbnailWidth = $thumbnailWidth; + } + public function getThumbnailWidth() + { + return $this->thumbnailWidth; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} + +class Google_Service_Customsearch_ResultLabels extends Google_Model +{ + protected $internal_gapi_mappings = array( + "labelWithOp" => "label_with_op", + ); + public $displayName; + public $labelWithOp; + public $name; + + + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setLabelWithOp($labelWithOp) + { + $this->labelWithOp = $labelWithOp; + } + public function getLabelWithOp() + { + return $this->labelWithOp; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_Customsearch_ResultPagemap extends Google_Model +{ +} + +class Google_Service_Customsearch_ResultPagemapItemElement extends Google_Model +{ +} + +class Google_Service_Customsearch_Search extends Google_Collection +{ + protected $collection_key = 'promotions'; + protected $internal_gapi_mappings = array( + ); + protected $contextType = 'Google_Service_Customsearch_Context'; + protected $contextDataType = ''; + protected $itemsType = 'Google_Service_Customsearch_Result'; + protected $itemsDataType = 'array'; + public $kind; + protected $promotionsType = 'Google_Service_Customsearch_Promotion'; + protected $promotionsDataType = 'array'; + protected $queriesType = 'Google_Service_Customsearch_Query'; + protected $queriesDataType = 'map'; + protected $searchInformationType = 'Google_Service_Customsearch_SearchSearchInformation'; + protected $searchInformationDataType = ''; + protected $spellingType = 'Google_Service_Customsearch_SearchSpelling'; + protected $spellingDataType = ''; + protected $urlType = 'Google_Service_Customsearch_SearchUrl'; + protected $urlDataType = ''; + + + public function setContext(Google_Service_Customsearch_Context $context) + { + $this->context = $context; + } + public function getContext() + { + return $this->context; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPromotions($promotions) + { + $this->promotions = $promotions; + } + public function getPromotions() + { + return $this->promotions; + } + public function setQueries($queries) + { + $this->queries = $queries; + } + public function getQueries() + { + return $this->queries; + } + public function setSearchInformation(Google_Service_Customsearch_SearchSearchInformation $searchInformation) + { + $this->searchInformation = $searchInformation; + } + public function getSearchInformation() + { + return $this->searchInformation; + } + public function setSpelling(Google_Service_Customsearch_SearchSpelling $spelling) + { + $this->spelling = $spelling; + } + public function getSpelling() + { + return $this->spelling; + } + public function setUrl(Google_Service_Customsearch_SearchUrl $url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_Customsearch_SearchQueries extends Google_Model +{ +} + +class Google_Service_Customsearch_SearchSearchInformation extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $formattedSearchTime; + public $formattedTotalResults; + public $searchTime; + public $totalResults; + + + public function setFormattedSearchTime($formattedSearchTime) + { + $this->formattedSearchTime = $formattedSearchTime; + } + public function getFormattedSearchTime() + { + return $this->formattedSearchTime; + } + public function setFormattedTotalResults($formattedTotalResults) + { + $this->formattedTotalResults = $formattedTotalResults; + } + public function getFormattedTotalResults() + { + return $this->formattedTotalResults; + } + public function setSearchTime($searchTime) + { + $this->searchTime = $searchTime; + } + public function getSearchTime() + { + return $this->searchTime; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } +} + +class Google_Service_Customsearch_SearchSpelling extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $correctedQuery; + public $htmlCorrectedQuery; + + + public function setCorrectedQuery($correctedQuery) + { + $this->correctedQuery = $correctedQuery; + } + public function getCorrectedQuery() + { + return $this->correctedQuery; + } + public function setHtmlCorrectedQuery($htmlCorrectedQuery) + { + $this->htmlCorrectedQuery = $htmlCorrectedQuery; + } + public function getHtmlCorrectedQuery() + { + return $this->htmlCorrectedQuery; + } +} + +class Google_Service_Customsearch_SearchUrl extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $template; + public $type; + + + public function setTemplate($template) + { + $this->template = $template; + } + public function getTemplate() + { + return $this->template; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/DataTransfer.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/DataTransfer.php new file mode 100644 index 0000000..ceec951 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/DataTransfer.php @@ -0,0 +1,554 @@ + + * Admin Data Transfer API lets you transfer user data from one user to another.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_DataTransfer extends Google_Service +{ + /** View and manage data transfers between users in your organization. */ + const ADMIN_DATATRANSFER = + "https://www.googleapis.com/auth/admin.datatransfer"; + /** View data transfers between users in your organization. */ + const ADMIN_DATATRANSFER_READONLY = + "https://www.googleapis.com/auth/admin.datatransfer.readonly"; + + public $applications; + public $transfers; + + + /** + * Constructs the internal representation of the DataTransfer service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'admin/datatransfer/v1/'; + $this->version = 'datatransfer_v1'; + $this->serviceName = 'admin'; + + $this->applications = new Google_Service_DataTransfer_Applications_Resource( + $this, + $this->serviceName, + 'applications', + array( + 'methods' => array( + 'get' => array( + 'path' => 'applications/{applicationId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'applicationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'applications', + 'httpMethod' => 'GET', + 'parameters' => array( + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'customerId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->transfers = new Google_Service_DataTransfer_Transfers_Resource( + $this, + $this->serviceName, + 'transfers', + array( + 'methods' => array( + 'get' => array( + 'path' => 'transfers/{dataTransferId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'dataTransferId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'transfers', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'list' => array( + 'path' => 'transfers', + 'httpMethod' => 'GET', + 'parameters' => array( + 'status' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'newOwnerUserId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'oldOwnerUserId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'customerId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "applications" collection of methods. + * Typical usage is: + * + * $adminService = new Google_Service_DataTransfer(...); + * $applications = $adminService->applications; + * + */ +class Google_Service_DataTransfer_Applications_Resource extends Google_Service_Resource +{ + + /** + * Retrieves information about an application for the given application ID. + * (applications.get) + * + * @param string $applicationId ID of the application resource to be retrieved. + * @param array $optParams Optional parameters. + * @return Google_Service_DataTransfer_Application + */ + public function get($applicationId, $optParams = array()) + { + $params = array('applicationId' => $applicationId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_DataTransfer_Application"); + } + + /** + * Lists the applications available for data transfer for a customer. + * (applications.listApplications) + * + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Token to specify next page in the list. + * @opt_param string customerId Immutable ID of the Google Apps account. + * @opt_param string maxResults Maximum number of results to return. Default is + * 100. + * @return Google_Service_DataTransfer_ApplicationsListResponse + */ + public function listApplications($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_DataTransfer_ApplicationsListResponse"); + } +} + +/** + * The "transfers" collection of methods. + * Typical usage is: + * + * $adminService = new Google_Service_DataTransfer(...); + * $transfers = $adminService->transfers; + * + */ +class Google_Service_DataTransfer_Transfers_Resource extends Google_Service_Resource +{ + + /** + * Retrieves a data transfer request by its resource ID. (transfers.get) + * + * @param string $dataTransferId ID of the resource to be retrieved. This is + * returned in the response from the insert method. + * @param array $optParams Optional parameters. + * @return Google_Service_DataTransfer_DataTransfer + */ + public function get($dataTransferId, $optParams = array()) + { + $params = array('dataTransferId' => $dataTransferId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_DataTransfer_DataTransfer"); + } + + /** + * Inserts a data transfer request. (transfers.insert) + * + * @param Google_DataTransfer $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_DataTransfer_DataTransfer + */ + public function insert(Google_Service_DataTransfer_DataTransfer $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_DataTransfer_DataTransfer"); + } + + /** + * Lists the transfers for a customer by source user, destination user, or + * status. (transfers.listTransfers) + * + * @param array $optParams Optional parameters. + * + * @opt_param string status Status of the transfer. + * @opt_param int maxResults Maximum number of results to return. Default is + * 100. + * @opt_param string newOwnerUserId Destination user's profile ID. + * @opt_param string oldOwnerUserId Source user's profile ID. + * @opt_param string pageToken Token to specify the next page in the list. + * @opt_param string customerId Immutable ID of the Google Apps account. + * @return Google_Service_DataTransfer_DataTransfersListResponse + */ + public function listTransfers($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_DataTransfer_DataTransfersListResponse"); + } +} + + + + +class Google_Service_DataTransfer_Application extends Google_Collection +{ + protected $collection_key = 'transferParams'; + protected $internal_gapi_mappings = array( + ); + public $etag; + public $id; + public $kind; + public $name; + protected $transferParamsType = 'Google_Service_DataTransfer_ApplicationTransferParam'; + protected $transferParamsDataType = 'array'; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setTransferParams($transferParams) + { + $this->transferParams = $transferParams; + } + public function getTransferParams() + { + return $this->transferParams; + } +} + +class Google_Service_DataTransfer_ApplicationDataTransfer extends Google_Collection +{ + protected $collection_key = 'applicationTransferParams'; + protected $internal_gapi_mappings = array( + ); + public $applicationId; + protected $applicationTransferParamsType = 'Google_Service_DataTransfer_ApplicationTransferParam'; + protected $applicationTransferParamsDataType = 'array'; + public $applicationTransferStatus; + + + public function setApplicationId($applicationId) + { + $this->applicationId = $applicationId; + } + public function getApplicationId() + { + return $this->applicationId; + } + public function setApplicationTransferParams($applicationTransferParams) + { + $this->applicationTransferParams = $applicationTransferParams; + } + public function getApplicationTransferParams() + { + return $this->applicationTransferParams; + } + public function setApplicationTransferStatus($applicationTransferStatus) + { + $this->applicationTransferStatus = $applicationTransferStatus; + } + public function getApplicationTransferStatus() + { + return $this->applicationTransferStatus; + } +} + +class Google_Service_DataTransfer_ApplicationTransferParam extends Google_Collection +{ + protected $collection_key = 'value'; + protected $internal_gapi_mappings = array( + ); + public $key; + public $value; + + + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_DataTransfer_ApplicationsListResponse extends Google_Collection +{ + protected $collection_key = 'applications'; + protected $internal_gapi_mappings = array( + ); + protected $applicationsType = 'Google_Service_DataTransfer_Application'; + protected $applicationsDataType = 'array'; + public $etag; + public $kind; + public $nextPageToken; + + + public function setApplications($applications) + { + $this->applications = $applications; + } + public function getApplications() + { + return $this->applications; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_DataTransfer_DataTransfer extends Google_Collection +{ + protected $collection_key = 'applicationDataTransfers'; + protected $internal_gapi_mappings = array( + ); + protected $applicationDataTransfersType = 'Google_Service_DataTransfer_ApplicationDataTransfer'; + protected $applicationDataTransfersDataType = 'array'; + public $etag; + public $id; + public $kind; + public $newOwnerUserId; + public $oldOwnerUserId; + public $overallTransferStatusCode; + public $requestTime; + + + public function setApplicationDataTransfers($applicationDataTransfers) + { + $this->applicationDataTransfers = $applicationDataTransfers; + } + public function getApplicationDataTransfers() + { + return $this->applicationDataTransfers; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNewOwnerUserId($newOwnerUserId) + { + $this->newOwnerUserId = $newOwnerUserId; + } + public function getNewOwnerUserId() + { + return $this->newOwnerUserId; + } + public function setOldOwnerUserId($oldOwnerUserId) + { + $this->oldOwnerUserId = $oldOwnerUserId; + } + public function getOldOwnerUserId() + { + return $this->oldOwnerUserId; + } + public function setOverallTransferStatusCode($overallTransferStatusCode) + { + $this->overallTransferStatusCode = $overallTransferStatusCode; + } + public function getOverallTransferStatusCode() + { + return $this->overallTransferStatusCode; + } + public function setRequestTime($requestTime) + { + $this->requestTime = $requestTime; + } + public function getRequestTime() + { + return $this->requestTime; + } +} + +class Google_Service_DataTransfer_DataTransfersListResponse extends Google_Collection +{ + protected $collection_key = 'dataTransfers'; + protected $internal_gapi_mappings = array( + ); + protected $dataTransfersType = 'Google_Service_DataTransfer_DataTransfer'; + protected $dataTransfersDataType = 'array'; + public $etag; + public $kind; + public $nextPageToken; + + + public function setDataTransfers($dataTransfers) + { + $this->dataTransfers = $dataTransfers; + } + public function getDataTransfers() + { + return $this->dataTransfers; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Dataflow.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Dataflow.php new file mode 100644 index 0000000..423afca --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Dataflow.php @@ -0,0 +1,3708 @@ + + * Google Dataflow API.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Dataflow extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** View your email address. */ + const USERINFO_EMAIL = + "https://www.googleapis.com/auth/userinfo.email"; + + public $projects_jobs; + public $projects_jobs_messages; + public $projects_jobs_workItems; + + + /** + * Constructs the internal representation of the Dataflow service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://dataflow.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1b3'; + $this->serviceName = 'dataflow'; + + $this->projects_jobs = new Google_Service_Dataflow_ProjectsJobs_Resource( + $this, + $this->serviceName, + 'jobs', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1b3/projects/{projectId}/jobs', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'replaceJobId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'get' => array( + 'path' => 'v1b3/projects/{projectId}/jobs/{jobId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'getMetrics' => array( + 'path' => 'v1b3/projects/{projectId}/jobs/{jobId}/metrics', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'startTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'v1b3/projects/{projectId}/jobs', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'v1b3/projects/{projectId}/jobs/{jobId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects_jobs_messages = new Google_Service_Dataflow_ProjectsJobsMessages_Resource( + $this, + $this->serviceName, + 'messages', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v1b3/projects/{projectId}/jobs/{jobId}/messages', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'endTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'minimumImportance' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->projects_jobs_workItems = new Google_Service_Dataflow_ProjectsJobsWorkItems_Resource( + $this, + $this->serviceName, + 'workItems', + array( + 'methods' => array( + 'lease' => array( + 'path' => 'v1b3/projects/{projectId}/jobs/{jobId}/workItems:lease', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'reportStatus' => array( + 'path' => 'v1b3/projects/{projectId}/jobs/{jobId}/workItems:reportStatus', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "projects" collection of methods. + * Typical usage is: + * + * $dataflowService = new Google_Service_Dataflow(...); + * $projects = $dataflowService->projects; + * + */ +class Google_Service_Dataflow_Projects_Resource extends Google_Service_Resource +{ +} + +/** + * The "jobs" collection of methods. + * Typical usage is: + * + * $dataflowService = new Google_Service_Dataflow(...); + * $jobs = $dataflowService->jobs; + * + */ +class Google_Service_Dataflow_ProjectsJobs_Resource extends Google_Service_Resource +{ + + /** + * Creates a dataflow job. (jobs.create) + * + * @param string $projectId The project which owns the job. + * @param Google_Job $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string replaceJobId DEPRECATED. This field is now on the Job + * message. + * @opt_param string view Level of information requested in response. + * @return Google_Service_Dataflow_Job + */ + public function create($projectId, Google_Service_Dataflow_Job $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Dataflow_Job"); + } + + /** + * Gets the state of the specified dataflow job. (jobs.get) + * + * @param string $projectId The project which owns the job. + * @param string $jobId Identifies a single job. + * @param array $optParams Optional parameters. + * + * @opt_param string view Level of information requested in response. + * @return Google_Service_Dataflow_Job + */ + public function get($projectId, $jobId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'jobId' => $jobId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dataflow_Job"); + } + + /** + * Request the job status. (jobs.getMetrics) + * + * @param string $projectId A project id. + * @param string $jobId The job to get messages for. + * @param array $optParams Optional parameters. + * + * @opt_param string startTime Return only metric data that has changed since + * this time. Default is to return all information about all metrics for the + * job. + * @return Google_Service_Dataflow_JobMetrics + */ + public function getMetrics($projectId, $jobId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'jobId' => $jobId); + $params = array_merge($params, $optParams); + return $this->call('getMetrics', array($params), "Google_Service_Dataflow_JobMetrics"); + } + + /** + * List the jobs of a project (jobs.listProjectsJobs) + * + * @param string $projectId The project which owns the jobs. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Set this to the 'next_page_token' field of a + * previous response to request additional results in a long list. + * @opt_param int pageSize If there are many jobs, limit response to at most + * this many. The actual number of jobs returned will be the lesser of + * max_responses and an unspecified server-defined limit. + * @opt_param string view Level of information requested in response. Default is + * SUMMARY. + * @return Google_Service_Dataflow_ListJobsResponse + */ + public function listProjectsJobs($projectId, $optParams = array()) + { + $params = array('projectId' => $projectId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dataflow_ListJobsResponse"); + } + + /** + * Updates the state of an existing dataflow job. (jobs.update) + * + * @param string $projectId The project which owns the job. + * @param string $jobId Identifies a single job. + * @param Google_Job $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dataflow_Job + */ + public function update($projectId, $jobId, Google_Service_Dataflow_Job $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'jobId' => $jobId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dataflow_Job"); + } +} + +/** + * The "messages" collection of methods. + * Typical usage is: + * + * $dataflowService = new Google_Service_Dataflow(...); + * $messages = $dataflowService->messages; + * + */ +class Google_Service_Dataflow_ProjectsJobsMessages_Resource extends Google_Service_Resource +{ + + /** + * Request the job status. (messages.listProjectsJobsMessages) + * + * @param string $projectId A project id. + * @param string $jobId The job to get messages about. + * @param array $optParams Optional parameters. + * + * @opt_param int pageSize If specified, determines the maximum number of + * messages to return. If unspecified, the service may choose an appropriate + * default, or may return an arbitrarily large number of results. + * @opt_param string pageToken If supplied, this should be the value of + * next_page_token returned by an earlier call. This will cause the next page of + * results to be returned. + * @opt_param string startTime If specified, return only messages with + * timestamps >= start_time. The default is the job creation time (i.e. + * beginning of messages). + * @opt_param string endTime Return only messages with timestamps < end_time. + * The default is now (i.e. return up to the latest messages available). + * @opt_param string minimumImportance Filter to only get messages with + * importance >= level + * @return Google_Service_Dataflow_ListJobMessagesResponse + */ + public function listProjectsJobsMessages($projectId, $jobId, $optParams = array()) + { + $params = array('projectId' => $projectId, 'jobId' => $jobId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dataflow_ListJobMessagesResponse"); + } +} +/** + * The "workItems" collection of methods. + * Typical usage is: + * + * $dataflowService = new Google_Service_Dataflow(...); + * $workItems = $dataflowService->workItems; + * + */ +class Google_Service_Dataflow_ProjectsJobsWorkItems_Resource extends Google_Service_Resource +{ + + /** + * Leases a dataflow WorkItem to run. (workItems.lease) + * + * @param string $projectId Identifies the project this worker belongs to. + * @param string $jobId Identifies the workflow job this worker belongs to. + * @param Google_LeaseWorkItemRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dataflow_LeaseWorkItemResponse + */ + public function lease($projectId, $jobId, Google_Service_Dataflow_LeaseWorkItemRequest $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'jobId' => $jobId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('lease', array($params), "Google_Service_Dataflow_LeaseWorkItemResponse"); + } + + /** + * Reports the status of dataflow WorkItems leased by a worker. + * (workItems.reportStatus) + * + * @param string $projectId The project which owns the WorkItem's job. + * @param string $jobId The job which the WorkItem is part of. + * @param Google_ReportWorkItemStatusRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dataflow_ReportWorkItemStatusResponse + */ + public function reportStatus($projectId, $jobId, Google_Service_Dataflow_ReportWorkItemStatusRequest $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'jobId' => $jobId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('reportStatus', array($params), "Google_Service_Dataflow_ReportWorkItemStatusResponse"); + } +} + + + + +class Google_Service_Dataflow_ApproximateProgress extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $percentComplete; + protected $positionType = 'Google_Service_Dataflow_Position'; + protected $positionDataType = ''; + public $remainingTime; + + + public function setPercentComplete($percentComplete) + { + $this->percentComplete = $percentComplete; + } + public function getPercentComplete() + { + return $this->percentComplete; + } + public function setPosition(Google_Service_Dataflow_Position $position) + { + $this->position = $position; + } + public function getPosition() + { + return $this->position; + } + public function setRemainingTime($remainingTime) + { + $this->remainingTime = $remainingTime; + } + public function getRemainingTime() + { + return $this->remainingTime; + } +} + +class Google_Service_Dataflow_AutoscalingSettings extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $algorithm; + public $maxNumWorkers; + + + public function setAlgorithm($algorithm) + { + $this->algorithm = $algorithm; + } + public function getAlgorithm() + { + return $this->algorithm; + } + public function setMaxNumWorkers($maxNumWorkers) + { + $this->maxNumWorkers = $maxNumWorkers; + } + public function getMaxNumWorkers() + { + return $this->maxNumWorkers; + } +} + +class Google_Service_Dataflow_ComputationTopology extends Google_Collection +{ + protected $collection_key = 'stateFamilies'; + protected $internal_gapi_mappings = array( + ); + public $computationId; + protected $inputsType = 'Google_Service_Dataflow_StreamLocation'; + protected $inputsDataType = 'array'; + protected $keyRangesType = 'Google_Service_Dataflow_KeyRangeLocation'; + protected $keyRangesDataType = 'array'; + protected $outputsType = 'Google_Service_Dataflow_StreamLocation'; + protected $outputsDataType = 'array'; + protected $stateFamiliesType = 'Google_Service_Dataflow_StateFamilyConfig'; + protected $stateFamiliesDataType = 'array'; + public $systemStageName; + public $userStageName; + + + public function setComputationId($computationId) + { + $this->computationId = $computationId; + } + public function getComputationId() + { + return $this->computationId; + } + public function setInputs($inputs) + { + $this->inputs = $inputs; + } + public function getInputs() + { + return $this->inputs; + } + public function setKeyRanges($keyRanges) + { + $this->keyRanges = $keyRanges; + } + public function getKeyRanges() + { + return $this->keyRanges; + } + public function setOutputs($outputs) + { + $this->outputs = $outputs; + } + public function getOutputs() + { + return $this->outputs; + } + public function setStateFamilies($stateFamilies) + { + $this->stateFamilies = $stateFamilies; + } + public function getStateFamilies() + { + return $this->stateFamilies; + } + public function setSystemStageName($systemStageName) + { + $this->systemStageName = $systemStageName; + } + public function getSystemStageName() + { + return $this->systemStageName; + } + public function setUserStageName($userStageName) + { + $this->userStageName = $userStageName; + } + public function getUserStageName() + { + return $this->userStageName; + } +} + +class Google_Service_Dataflow_ConcatPosition extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $index; + protected $positionType = 'Google_Service_Dataflow_Position'; + protected $positionDataType = ''; + + + public function setIndex($index) + { + $this->index = $index; + } + public function getIndex() + { + return $this->index; + } + public function setPosition(Google_Service_Dataflow_Position $position) + { + $this->position = $position; + } + public function getPosition() + { + return $this->position; + } +} + +class Google_Service_Dataflow_CustomSourceLocation extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $stateful; + + + public function setStateful($stateful) + { + $this->stateful = $stateful; + } + public function getStateful() + { + return $this->stateful; + } +} + +class Google_Service_Dataflow_DataDiskAssignment extends Google_Collection +{ + protected $collection_key = 'dataDisks'; + protected $internal_gapi_mappings = array( + ); + public $dataDisks; + public $vmInstance; + + + public function setDataDisks($dataDisks) + { + $this->dataDisks = $dataDisks; + } + public function getDataDisks() + { + return $this->dataDisks; + } + public function setVmInstance($vmInstance) + { + $this->vmInstance = $vmInstance; + } + public function getVmInstance() + { + return $this->vmInstance; + } +} + +class Google_Service_Dataflow_DerivedSource extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $derivationMode; + protected $sourceType = 'Google_Service_Dataflow_Source'; + protected $sourceDataType = ''; + + + public function setDerivationMode($derivationMode) + { + $this->derivationMode = $derivationMode; + } + public function getDerivationMode() + { + return $this->derivationMode; + } + public function setSource(Google_Service_Dataflow_Source $source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } +} + +class Google_Service_Dataflow_Disk extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $diskType; + public $mountPoint; + public $sizeGb; + + + public function setDiskType($diskType) + { + $this->diskType = $diskType; + } + public function getDiskType() + { + return $this->diskType; + } + public function setMountPoint($mountPoint) + { + $this->mountPoint = $mountPoint; + } + public function getMountPoint() + { + return $this->mountPoint; + } + public function setSizeGb($sizeGb) + { + $this->sizeGb = $sizeGb; + } + public function getSizeGb() + { + return $this->sizeGb; + } +} + +class Google_Service_Dataflow_DynamicSourceSplit extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $primaryType = 'Google_Service_Dataflow_DerivedSource'; + protected $primaryDataType = ''; + protected $residualType = 'Google_Service_Dataflow_DerivedSource'; + protected $residualDataType = ''; + + + public function setPrimary(Google_Service_Dataflow_DerivedSource $primary) + { + $this->primary = $primary; + } + public function getPrimary() + { + return $this->primary; + } + public function setResidual(Google_Service_Dataflow_DerivedSource $residual) + { + $this->residual = $residual; + } + public function getResidual() + { + return $this->residual; + } +} + +class Google_Service_Dataflow_Environment extends Google_Collection +{ + protected $collection_key = 'workerPools'; + protected $internal_gapi_mappings = array( + ); + public $clusterManagerApiService; + public $dataset; + public $experiments; + public $internalExperiments; + public $sdkPipelineOptions; + public $tempStoragePrefix; + public $userAgent; + public $version; + protected $workerPoolsType = 'Google_Service_Dataflow_WorkerPool'; + protected $workerPoolsDataType = 'array'; + + + public function setClusterManagerApiService($clusterManagerApiService) + { + $this->clusterManagerApiService = $clusterManagerApiService; + } + public function getClusterManagerApiService() + { + return $this->clusterManagerApiService; + } + public function setDataset($dataset) + { + $this->dataset = $dataset; + } + public function getDataset() + { + return $this->dataset; + } + public function setExperiments($experiments) + { + $this->experiments = $experiments; + } + public function getExperiments() + { + return $this->experiments; + } + public function setInternalExperiments($internalExperiments) + { + $this->internalExperiments = $internalExperiments; + } + public function getInternalExperiments() + { + return $this->internalExperiments; + } + public function setSdkPipelineOptions($sdkPipelineOptions) + { + $this->sdkPipelineOptions = $sdkPipelineOptions; + } + public function getSdkPipelineOptions() + { + return $this->sdkPipelineOptions; + } + public function setTempStoragePrefix($tempStoragePrefix) + { + $this->tempStoragePrefix = $tempStoragePrefix; + } + public function getTempStoragePrefix() + { + return $this->tempStoragePrefix; + } + public function setUserAgent($userAgent) + { + $this->userAgent = $userAgent; + } + public function getUserAgent() + { + return $this->userAgent; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } + public function setWorkerPools($workerPools) + { + $this->workerPools = $workerPools; + } + public function getWorkerPools() + { + return $this->workerPools; + } +} + +class Google_Service_Dataflow_EnvironmentInternalExperiments extends Google_Model +{ +} + +class Google_Service_Dataflow_EnvironmentSdkPipelineOptions extends Google_Model +{ +} + +class Google_Service_Dataflow_EnvironmentUserAgent extends Google_Model +{ +} + +class Google_Service_Dataflow_EnvironmentVersion extends Google_Model +{ +} + +class Google_Service_Dataflow_FlattenInstruction extends Google_Collection +{ + protected $collection_key = 'inputs'; + protected $internal_gapi_mappings = array( + ); + protected $inputsType = 'Google_Service_Dataflow_InstructionInput'; + protected $inputsDataType = 'array'; + + + public function setInputs($inputs) + { + $this->inputs = $inputs; + } + public function getInputs() + { + return $this->inputs; + } +} + +class Google_Service_Dataflow_InstructionInput extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $outputNum; + public $producerInstructionIndex; + + + public function setOutputNum($outputNum) + { + $this->outputNum = $outputNum; + } + public function getOutputNum() + { + return $this->outputNum; + } + public function setProducerInstructionIndex($producerInstructionIndex) + { + $this->producerInstructionIndex = $producerInstructionIndex; + } + public function getProducerInstructionIndex() + { + return $this->producerInstructionIndex; + } +} + +class Google_Service_Dataflow_InstructionOutput extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $codec; + public $name; + public $systemName; + + + public function setCodec($codec) + { + $this->codec = $codec; + } + public function getCodec() + { + return $this->codec; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSystemName($systemName) + { + $this->systemName = $systemName; + } + public function getSystemName() + { + return $this->systemName; + } +} + +class Google_Service_Dataflow_InstructionOutputCodec extends Google_Model +{ +} + +class Google_Service_Dataflow_Job extends Google_Collection +{ + protected $collection_key = 'steps'; + protected $internal_gapi_mappings = array( + ); + public $clientRequestId; + public $createTime; + public $currentState; + public $currentStateTime; + protected $environmentType = 'Google_Service_Dataflow_Environment'; + protected $environmentDataType = ''; + protected $executionInfoType = 'Google_Service_Dataflow_JobExecutionInfo'; + protected $executionInfoDataType = ''; + public $id; + public $name; + public $projectId; + public $replaceJobId; + public $replacedByJobId; + public $requestedState; + protected $stepsType = 'Google_Service_Dataflow_Step'; + protected $stepsDataType = 'array'; + public $transformNameMapping; + public $type; + + + public function setClientRequestId($clientRequestId) + { + $this->clientRequestId = $clientRequestId; + } + public function getClientRequestId() + { + return $this->clientRequestId; + } + public function setCreateTime($createTime) + { + $this->createTime = $createTime; + } + public function getCreateTime() + { + return $this->createTime; + } + public function setCurrentState($currentState) + { + $this->currentState = $currentState; + } + public function getCurrentState() + { + return $this->currentState; + } + public function setCurrentStateTime($currentStateTime) + { + $this->currentStateTime = $currentStateTime; + } + public function getCurrentStateTime() + { + return $this->currentStateTime; + } + public function setEnvironment(Google_Service_Dataflow_Environment $environment) + { + $this->environment = $environment; + } + public function getEnvironment() + { + return $this->environment; + } + public function setExecutionInfo(Google_Service_Dataflow_JobExecutionInfo $executionInfo) + { + $this->executionInfo = $executionInfo; + } + public function getExecutionInfo() + { + return $this->executionInfo; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } + public function setReplaceJobId($replaceJobId) + { + $this->replaceJobId = $replaceJobId; + } + public function getReplaceJobId() + { + return $this->replaceJobId; + } + public function setReplacedByJobId($replacedByJobId) + { + $this->replacedByJobId = $replacedByJobId; + } + public function getReplacedByJobId() + { + return $this->replacedByJobId; + } + public function setRequestedState($requestedState) + { + $this->requestedState = $requestedState; + } + public function getRequestedState() + { + return $this->requestedState; + } + public function setSteps($steps) + { + $this->steps = $steps; + } + public function getSteps() + { + return $this->steps; + } + public function setTransformNameMapping($transformNameMapping) + { + $this->transformNameMapping = $transformNameMapping; + } + public function getTransformNameMapping() + { + return $this->transformNameMapping; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Dataflow_JobExecutionInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $stagesType = 'Google_Service_Dataflow_JobExecutionStageInfo'; + protected $stagesDataType = 'map'; + + + public function setStages($stages) + { + $this->stages = $stages; + } + public function getStages() + { + return $this->stages; + } +} + +class Google_Service_Dataflow_JobExecutionInfoStages extends Google_Model +{ +} + +class Google_Service_Dataflow_JobExecutionStageInfo extends Google_Collection +{ + protected $collection_key = 'stepName'; + protected $internal_gapi_mappings = array( + ); + public $stepName; + + + public function setStepName($stepName) + { + $this->stepName = $stepName; + } + public function getStepName() + { + return $this->stepName; + } +} + +class Google_Service_Dataflow_JobMessage extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $messageImportance; + public $messageText; + public $time; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setMessageImportance($messageImportance) + { + $this->messageImportance = $messageImportance; + } + public function getMessageImportance() + { + return $this->messageImportance; + } + public function setMessageText($messageText) + { + $this->messageText = $messageText; + } + public function getMessageText() + { + return $this->messageText; + } + public function setTime($time) + { + $this->time = $time; + } + public function getTime() + { + return $this->time; + } +} + +class Google_Service_Dataflow_JobMetrics extends Google_Collection +{ + protected $collection_key = 'metrics'; + protected $internal_gapi_mappings = array( + ); + public $metricTime; + protected $metricsType = 'Google_Service_Dataflow_MetricUpdate'; + protected $metricsDataType = 'array'; + + + public function setMetricTime($metricTime) + { + $this->metricTime = $metricTime; + } + public function getMetricTime() + { + return $this->metricTime; + } + public function setMetrics($metrics) + { + $this->metrics = $metrics; + } + public function getMetrics() + { + return $this->metrics; + } +} + +class Google_Service_Dataflow_JobTransformNameMapping extends Google_Model +{ +} + +class Google_Service_Dataflow_KeyRangeDataDiskAssignment extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $dataDisk; + public $end; + public $start; + + + public function setDataDisk($dataDisk) + { + $this->dataDisk = $dataDisk; + } + public function getDataDisk() + { + return $this->dataDisk; + } + public function setEnd($end) + { + $this->end = $end; + } + public function getEnd() + { + return $this->end; + } + public function setStart($start) + { + $this->start = $start; + } + public function getStart() + { + return $this->start; + } +} + +class Google_Service_Dataflow_KeyRangeLocation extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $dataDisk; + public $deliveryEndpoint; + public $end; + public $persistentDirectory; + public $start; + + + public function setDataDisk($dataDisk) + { + $this->dataDisk = $dataDisk; + } + public function getDataDisk() + { + return $this->dataDisk; + } + public function setDeliveryEndpoint($deliveryEndpoint) + { + $this->deliveryEndpoint = $deliveryEndpoint; + } + public function getDeliveryEndpoint() + { + return $this->deliveryEndpoint; + } + public function setEnd($end) + { + $this->end = $end; + } + public function getEnd() + { + return $this->end; + } + public function setPersistentDirectory($persistentDirectory) + { + $this->persistentDirectory = $persistentDirectory; + } + public function getPersistentDirectory() + { + return $this->persistentDirectory; + } + public function setStart($start) + { + $this->start = $start; + } + public function getStart() + { + return $this->start; + } +} + +class Google_Service_Dataflow_LeaseWorkItemRequest extends Google_Collection +{ + protected $collection_key = 'workerCapabilities'; + protected $internal_gapi_mappings = array( + ); + public $currentWorkerTime; + public $requestedLeaseDuration; + public $workItemTypes; + public $workerCapabilities; + public $workerId; + + + public function setCurrentWorkerTime($currentWorkerTime) + { + $this->currentWorkerTime = $currentWorkerTime; + } + public function getCurrentWorkerTime() + { + return $this->currentWorkerTime; + } + public function setRequestedLeaseDuration($requestedLeaseDuration) + { + $this->requestedLeaseDuration = $requestedLeaseDuration; + } + public function getRequestedLeaseDuration() + { + return $this->requestedLeaseDuration; + } + public function setWorkItemTypes($workItemTypes) + { + $this->workItemTypes = $workItemTypes; + } + public function getWorkItemTypes() + { + return $this->workItemTypes; + } + public function setWorkerCapabilities($workerCapabilities) + { + $this->workerCapabilities = $workerCapabilities; + } + public function getWorkerCapabilities() + { + return $this->workerCapabilities; + } + public function setWorkerId($workerId) + { + $this->workerId = $workerId; + } + public function getWorkerId() + { + return $this->workerId; + } +} + +class Google_Service_Dataflow_LeaseWorkItemResponse extends Google_Collection +{ + protected $collection_key = 'workItems'; + protected $internal_gapi_mappings = array( + ); + protected $workItemsType = 'Google_Service_Dataflow_WorkItem'; + protected $workItemsDataType = 'array'; + + + public function setWorkItems($workItems) + { + $this->workItems = $workItems; + } + public function getWorkItems() + { + return $this->workItems; + } +} + +class Google_Service_Dataflow_ListJobMessagesResponse extends Google_Collection +{ + protected $collection_key = 'jobMessages'; + protected $internal_gapi_mappings = array( + ); + protected $jobMessagesType = 'Google_Service_Dataflow_JobMessage'; + protected $jobMessagesDataType = 'array'; + public $nextPageToken; + + + public function setJobMessages($jobMessages) + { + $this->jobMessages = $jobMessages; + } + public function getJobMessages() + { + return $this->jobMessages; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Dataflow_ListJobsResponse extends Google_Collection +{ + protected $collection_key = 'jobs'; + protected $internal_gapi_mappings = array( + ); + protected $jobsType = 'Google_Service_Dataflow_Job'; + protected $jobsDataType = 'array'; + public $nextPageToken; + + + public function setJobs($jobs) + { + $this->jobs = $jobs; + } + public function getJobs() + { + return $this->jobs; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Dataflow_MapTask extends Google_Collection +{ + protected $collection_key = 'instructions'; + protected $internal_gapi_mappings = array( + ); + protected $instructionsType = 'Google_Service_Dataflow_ParallelInstruction'; + protected $instructionsDataType = 'array'; + public $stageName; + public $systemName; + + + public function setInstructions($instructions) + { + $this->instructions = $instructions; + } + public function getInstructions() + { + return $this->instructions; + } + public function setStageName($stageName) + { + $this->stageName = $stageName; + } + public function getStageName() + { + return $this->stageName; + } + public function setSystemName($systemName) + { + $this->systemName = $systemName; + } + public function getSystemName() + { + return $this->systemName; + } +} + +class Google_Service_Dataflow_MetricStructuredName extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $context; + public $name; + public $origin; + + + public function setContext($context) + { + $this->context = $context; + } + public function getContext() + { + return $this->context; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOrigin($origin) + { + $this->origin = $origin; + } + public function getOrigin() + { + return $this->origin; + } +} + +class Google_Service_Dataflow_MetricStructuredNameContext extends Google_Model +{ +} + +class Google_Service_Dataflow_MetricUpdate extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $cumulative; + public $internal; + public $kind; + public $meanCount; + public $meanSum; + protected $nameType = 'Google_Service_Dataflow_MetricStructuredName'; + protected $nameDataType = ''; + public $scalar; + public $set; + public $updateTime; + + + public function setCumulative($cumulative) + { + $this->cumulative = $cumulative; + } + public function getCumulative() + { + return $this->cumulative; + } + public function setInternal($internal) + { + $this->internal = $internal; + } + public function getInternal() + { + return $this->internal; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMeanCount($meanCount) + { + $this->meanCount = $meanCount; + } + public function getMeanCount() + { + return $this->meanCount; + } + public function setMeanSum($meanSum) + { + $this->meanSum = $meanSum; + } + public function getMeanSum() + { + return $this->meanSum; + } + public function setName(Google_Service_Dataflow_MetricStructuredName $name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setScalar($scalar) + { + $this->scalar = $scalar; + } + public function getScalar() + { + return $this->scalar; + } + public function setSet($set) + { + $this->set = $set; + } + public function getSet() + { + return $this->set; + } + public function setUpdateTime($updateTime) + { + $this->updateTime = $updateTime; + } + public function getUpdateTime() + { + return $this->updateTime; + } +} + +class Google_Service_Dataflow_MountedDataDisk extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $dataDisk; + + + public function setDataDisk($dataDisk) + { + $this->dataDisk = $dataDisk; + } + public function getDataDisk() + { + return $this->dataDisk; + } +} + +class Google_Service_Dataflow_MultiOutputInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $tag; + + + public function setTag($tag) + { + $this->tag = $tag; + } + public function getTag() + { + return $this->tag; + } +} + +class Google_Service_Dataflow_Package extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $location; + public $name; + + + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_Dataflow_ParDoInstruction extends Google_Collection +{ + protected $collection_key = 'sideInputs'; + protected $internal_gapi_mappings = array( + ); + protected $inputType = 'Google_Service_Dataflow_InstructionInput'; + protected $inputDataType = ''; + protected $multiOutputInfosType = 'Google_Service_Dataflow_MultiOutputInfo'; + protected $multiOutputInfosDataType = 'array'; + public $numOutputs; + protected $sideInputsType = 'Google_Service_Dataflow_SideInputInfo'; + protected $sideInputsDataType = 'array'; + public $userFn; + + + public function setInput(Google_Service_Dataflow_InstructionInput $input) + { + $this->input = $input; + } + public function getInput() + { + return $this->input; + } + public function setMultiOutputInfos($multiOutputInfos) + { + $this->multiOutputInfos = $multiOutputInfos; + } + public function getMultiOutputInfos() + { + return $this->multiOutputInfos; + } + public function setNumOutputs($numOutputs) + { + $this->numOutputs = $numOutputs; + } + public function getNumOutputs() + { + return $this->numOutputs; + } + public function setSideInputs($sideInputs) + { + $this->sideInputs = $sideInputs; + } + public function getSideInputs() + { + return $this->sideInputs; + } + public function setUserFn($userFn) + { + $this->userFn = $userFn; + } + public function getUserFn() + { + return $this->userFn; + } +} + +class Google_Service_Dataflow_ParDoInstructionUserFn extends Google_Model +{ +} + +class Google_Service_Dataflow_ParallelInstruction extends Google_Collection +{ + protected $collection_key = 'outputs'; + protected $internal_gapi_mappings = array( + ); + protected $flattenType = 'Google_Service_Dataflow_FlattenInstruction'; + protected $flattenDataType = ''; + public $name; + protected $outputsType = 'Google_Service_Dataflow_InstructionOutput'; + protected $outputsDataType = 'array'; + protected $parDoType = 'Google_Service_Dataflow_ParDoInstruction'; + protected $parDoDataType = ''; + protected $partialGroupByKeyType = 'Google_Service_Dataflow_PartialGroupByKeyInstruction'; + protected $partialGroupByKeyDataType = ''; + protected $readType = 'Google_Service_Dataflow_ReadInstruction'; + protected $readDataType = ''; + public $systemName; + protected $writeType = 'Google_Service_Dataflow_WriteInstruction'; + protected $writeDataType = ''; + + + public function setFlatten(Google_Service_Dataflow_FlattenInstruction $flatten) + { + $this->flatten = $flatten; + } + public function getFlatten() + { + return $this->flatten; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOutputs($outputs) + { + $this->outputs = $outputs; + } + public function getOutputs() + { + return $this->outputs; + } + public function setParDo(Google_Service_Dataflow_ParDoInstruction $parDo) + { + $this->parDo = $parDo; + } + public function getParDo() + { + return $this->parDo; + } + public function setPartialGroupByKey(Google_Service_Dataflow_PartialGroupByKeyInstruction $partialGroupByKey) + { + $this->partialGroupByKey = $partialGroupByKey; + } + public function getPartialGroupByKey() + { + return $this->partialGroupByKey; + } + public function setRead(Google_Service_Dataflow_ReadInstruction $read) + { + $this->read = $read; + } + public function getRead() + { + return $this->read; + } + public function setSystemName($systemName) + { + $this->systemName = $systemName; + } + public function getSystemName() + { + return $this->systemName; + } + public function setWrite(Google_Service_Dataflow_WriteInstruction $write) + { + $this->write = $write; + } + public function getWrite() + { + return $this->write; + } +} + +class Google_Service_Dataflow_PartialGroupByKeyInstruction extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $inputType = 'Google_Service_Dataflow_InstructionInput'; + protected $inputDataType = ''; + public $inputElementCodec; + public $valueCombiningFn; + + + public function setInput(Google_Service_Dataflow_InstructionInput $input) + { + $this->input = $input; + } + public function getInput() + { + return $this->input; + } + public function setInputElementCodec($inputElementCodec) + { + $this->inputElementCodec = $inputElementCodec; + } + public function getInputElementCodec() + { + return $this->inputElementCodec; + } + public function setValueCombiningFn($valueCombiningFn) + { + $this->valueCombiningFn = $valueCombiningFn; + } + public function getValueCombiningFn() + { + return $this->valueCombiningFn; + } +} + +class Google_Service_Dataflow_PartialGroupByKeyInstructionInputElementCodec extends Google_Model +{ +} + +class Google_Service_Dataflow_PartialGroupByKeyInstructionValueCombiningFn extends Google_Model +{ +} + +class Google_Service_Dataflow_Position extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $byteOffset; + protected $concatPositionType = 'Google_Service_Dataflow_ConcatPosition'; + protected $concatPositionDataType = ''; + public $end; + public $key; + public $recordIndex; + public $shufflePosition; + + + public function setByteOffset($byteOffset) + { + $this->byteOffset = $byteOffset; + } + public function getByteOffset() + { + return $this->byteOffset; + } + public function setConcatPosition(Google_Service_Dataflow_ConcatPosition $concatPosition) + { + $this->concatPosition = $concatPosition; + } + public function getConcatPosition() + { + return $this->concatPosition; + } + public function setEnd($end) + { + $this->end = $end; + } + public function getEnd() + { + return $this->end; + } + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setRecordIndex($recordIndex) + { + $this->recordIndex = $recordIndex; + } + public function getRecordIndex() + { + return $this->recordIndex; + } + public function setShufflePosition($shufflePosition) + { + $this->shufflePosition = $shufflePosition; + } + public function getShufflePosition() + { + return $this->shufflePosition; + } +} + +class Google_Service_Dataflow_PubsubLocation extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $dropLateData; + public $idLabel; + public $subscription; + public $timestampLabel; + public $topic; + public $trackingSubscription; + + + public function setDropLateData($dropLateData) + { + $this->dropLateData = $dropLateData; + } + public function getDropLateData() + { + return $this->dropLateData; + } + public function setIdLabel($idLabel) + { + $this->idLabel = $idLabel; + } + public function getIdLabel() + { + return $this->idLabel; + } + public function setSubscription($subscription) + { + $this->subscription = $subscription; + } + public function getSubscription() + { + return $this->subscription; + } + public function setTimestampLabel($timestampLabel) + { + $this->timestampLabel = $timestampLabel; + } + public function getTimestampLabel() + { + return $this->timestampLabel; + } + public function setTopic($topic) + { + $this->topic = $topic; + } + public function getTopic() + { + return $this->topic; + } + public function setTrackingSubscription($trackingSubscription) + { + $this->trackingSubscription = $trackingSubscription; + } + public function getTrackingSubscription() + { + return $this->trackingSubscription; + } +} + +class Google_Service_Dataflow_ReadInstruction extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $sourceType = 'Google_Service_Dataflow_Source'; + protected $sourceDataType = ''; + + + public function setSource(Google_Service_Dataflow_Source $source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } +} + +class Google_Service_Dataflow_ReportWorkItemStatusRequest extends Google_Collection +{ + protected $collection_key = 'workItemStatuses'; + protected $internal_gapi_mappings = array( + ); + public $currentWorkerTime; + protected $workItemStatusesType = 'Google_Service_Dataflow_WorkItemStatus'; + protected $workItemStatusesDataType = 'array'; + public $workerId; + + + public function setCurrentWorkerTime($currentWorkerTime) + { + $this->currentWorkerTime = $currentWorkerTime; + } + public function getCurrentWorkerTime() + { + return $this->currentWorkerTime; + } + public function setWorkItemStatuses($workItemStatuses) + { + $this->workItemStatuses = $workItemStatuses; + } + public function getWorkItemStatuses() + { + return $this->workItemStatuses; + } + public function setWorkerId($workerId) + { + $this->workerId = $workerId; + } + public function getWorkerId() + { + return $this->workerId; + } +} + +class Google_Service_Dataflow_ReportWorkItemStatusResponse extends Google_Collection +{ + protected $collection_key = 'workItemServiceStates'; + protected $internal_gapi_mappings = array( + ); + protected $workItemServiceStatesType = 'Google_Service_Dataflow_WorkItemServiceState'; + protected $workItemServiceStatesDataType = 'array'; + + + public function setWorkItemServiceStates($workItemServiceStates) + { + $this->workItemServiceStates = $workItemServiceStates; + } + public function getWorkItemServiceStates() + { + return $this->workItemServiceStates; + } +} + +class Google_Service_Dataflow_SeqMapTask extends Google_Collection +{ + protected $collection_key = 'outputInfos'; + protected $internal_gapi_mappings = array( + ); + protected $inputsType = 'Google_Service_Dataflow_SideInputInfo'; + protected $inputsDataType = 'array'; + public $name; + protected $outputInfosType = 'Google_Service_Dataflow_SeqMapTaskOutputInfo'; + protected $outputInfosDataType = 'array'; + public $stageName; + public $systemName; + public $userFn; + + + public function setInputs($inputs) + { + $this->inputs = $inputs; + } + public function getInputs() + { + return $this->inputs; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOutputInfos($outputInfos) + { + $this->outputInfos = $outputInfos; + } + public function getOutputInfos() + { + return $this->outputInfos; + } + public function setStageName($stageName) + { + $this->stageName = $stageName; + } + public function getStageName() + { + return $this->stageName; + } + public function setSystemName($systemName) + { + $this->systemName = $systemName; + } + public function getSystemName() + { + return $this->systemName; + } + public function setUserFn($userFn) + { + $this->userFn = $userFn; + } + public function getUserFn() + { + return $this->userFn; + } +} + +class Google_Service_Dataflow_SeqMapTaskOutputInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $sinkType = 'Google_Service_Dataflow_Sink'; + protected $sinkDataType = ''; + public $tag; + + + public function setSink(Google_Service_Dataflow_Sink $sink) + { + $this->sink = $sink; + } + public function getSink() + { + return $this->sink; + } + public function setTag($tag) + { + $this->tag = $tag; + } + public function getTag() + { + return $this->tag; + } +} + +class Google_Service_Dataflow_SeqMapTaskUserFn extends Google_Model +{ +} + +class Google_Service_Dataflow_ShellTask extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $command; + public $exitCode; + + + public function setCommand($command) + { + $this->command = $command; + } + public function getCommand() + { + return $this->command; + } + public function setExitCode($exitCode) + { + $this->exitCode = $exitCode; + } + public function getExitCode() + { + return $this->exitCode; + } +} + +class Google_Service_Dataflow_SideInputInfo extends Google_Collection +{ + protected $collection_key = 'sources'; + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $sourcesType = 'Google_Service_Dataflow_Source'; + protected $sourcesDataType = 'array'; + public $tag; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSources($sources) + { + $this->sources = $sources; + } + public function getSources() + { + return $this->sources; + } + public function setTag($tag) + { + $this->tag = $tag; + } + public function getTag() + { + return $this->tag; + } +} + +class Google_Service_Dataflow_SideInputInfoKind extends Google_Model +{ +} + +class Google_Service_Dataflow_Sink extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $codec; + public $spec; + + + public function setCodec($codec) + { + $this->codec = $codec; + } + public function getCodec() + { + return $this->codec; + } + public function setSpec($spec) + { + $this->spec = $spec; + } + public function getSpec() + { + return $this->spec; + } +} + +class Google_Service_Dataflow_SinkCodec extends Google_Model +{ +} + +class Google_Service_Dataflow_SinkSpec extends Google_Model +{ +} + +class Google_Service_Dataflow_Source extends Google_Collection +{ + protected $collection_key = 'baseSpecs'; + protected $internal_gapi_mappings = array( + ); + public $baseSpecs; + public $codec; + public $doesNotNeedSplitting; + protected $metadataType = 'Google_Service_Dataflow_SourceMetadata'; + protected $metadataDataType = ''; + public $spec; + + + public function setBaseSpecs($baseSpecs) + { + $this->baseSpecs = $baseSpecs; + } + public function getBaseSpecs() + { + return $this->baseSpecs; + } + public function setCodec($codec) + { + $this->codec = $codec; + } + public function getCodec() + { + return $this->codec; + } + public function setDoesNotNeedSplitting($doesNotNeedSplitting) + { + $this->doesNotNeedSplitting = $doesNotNeedSplitting; + } + public function getDoesNotNeedSplitting() + { + return $this->doesNotNeedSplitting; + } + public function setMetadata(Google_Service_Dataflow_SourceMetadata $metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setSpec($spec) + { + $this->spec = $spec; + } + public function getSpec() + { + return $this->spec; + } +} + +class Google_Service_Dataflow_SourceBaseSpecs extends Google_Model +{ +} + +class Google_Service_Dataflow_SourceCodec extends Google_Model +{ +} + +class Google_Service_Dataflow_SourceFork extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $primaryType = 'Google_Service_Dataflow_SourceSplitShard'; + protected $primaryDataType = ''; + protected $primarySourceType = 'Google_Service_Dataflow_DerivedSource'; + protected $primarySourceDataType = ''; + protected $residualType = 'Google_Service_Dataflow_SourceSplitShard'; + protected $residualDataType = ''; + protected $residualSourceType = 'Google_Service_Dataflow_DerivedSource'; + protected $residualSourceDataType = ''; + + + public function setPrimary(Google_Service_Dataflow_SourceSplitShard $primary) + { + $this->primary = $primary; + } + public function getPrimary() + { + return $this->primary; + } + public function setPrimarySource(Google_Service_Dataflow_DerivedSource $primarySource) + { + $this->primarySource = $primarySource; + } + public function getPrimarySource() + { + return $this->primarySource; + } + public function setResidual(Google_Service_Dataflow_SourceSplitShard $residual) + { + $this->residual = $residual; + } + public function getResidual() + { + return $this->residual; + } + public function setResidualSource(Google_Service_Dataflow_DerivedSource $residualSource) + { + $this->residualSource = $residualSource; + } + public function getResidualSource() + { + return $this->residualSource; + } +} + +class Google_Service_Dataflow_SourceGetMetadataRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $sourceType = 'Google_Service_Dataflow_Source'; + protected $sourceDataType = ''; + + + public function setSource(Google_Service_Dataflow_Source $source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } +} + +class Google_Service_Dataflow_SourceGetMetadataResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $metadataType = 'Google_Service_Dataflow_SourceMetadata'; + protected $metadataDataType = ''; + + + public function setMetadata(Google_Service_Dataflow_SourceMetadata $metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } +} + +class Google_Service_Dataflow_SourceMetadata extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $estimatedSizeBytes; + public $infinite; + public $producesSortedKeys; + + + public function setEstimatedSizeBytes($estimatedSizeBytes) + { + $this->estimatedSizeBytes = $estimatedSizeBytes; + } + public function getEstimatedSizeBytes() + { + return $this->estimatedSizeBytes; + } + public function setInfinite($infinite) + { + $this->infinite = $infinite; + } + public function getInfinite() + { + return $this->infinite; + } + public function setProducesSortedKeys($producesSortedKeys) + { + $this->producesSortedKeys = $producesSortedKeys; + } + public function getProducesSortedKeys() + { + return $this->producesSortedKeys; + } +} + +class Google_Service_Dataflow_SourceOperationRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $getMetadataType = 'Google_Service_Dataflow_SourceGetMetadataRequest'; + protected $getMetadataDataType = ''; + protected $splitType = 'Google_Service_Dataflow_SourceSplitRequest'; + protected $splitDataType = ''; + + + public function setGetMetadata(Google_Service_Dataflow_SourceGetMetadataRequest $getMetadata) + { + $this->getMetadata = $getMetadata; + } + public function getGetMetadata() + { + return $this->getMetadata; + } + public function setSplit(Google_Service_Dataflow_SourceSplitRequest $split) + { + $this->split = $split; + } + public function getSplit() + { + return $this->split; + } +} + +class Google_Service_Dataflow_SourceOperationResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $getMetadataType = 'Google_Service_Dataflow_SourceGetMetadataResponse'; + protected $getMetadataDataType = ''; + protected $splitType = 'Google_Service_Dataflow_SourceSplitResponse'; + protected $splitDataType = ''; + + + public function setGetMetadata(Google_Service_Dataflow_SourceGetMetadataResponse $getMetadata) + { + $this->getMetadata = $getMetadata; + } + public function getGetMetadata() + { + return $this->getMetadata; + } + public function setSplit(Google_Service_Dataflow_SourceSplitResponse $split) + { + $this->split = $split; + } + public function getSplit() + { + return $this->split; + } +} + +class Google_Service_Dataflow_SourceSpec extends Google_Model +{ +} + +class Google_Service_Dataflow_SourceSplitOptions extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $desiredBundleSizeBytes; + public $desiredShardSizeBytes; + + + public function setDesiredBundleSizeBytes($desiredBundleSizeBytes) + { + $this->desiredBundleSizeBytes = $desiredBundleSizeBytes; + } + public function getDesiredBundleSizeBytes() + { + return $this->desiredBundleSizeBytes; + } + public function setDesiredShardSizeBytes($desiredShardSizeBytes) + { + $this->desiredShardSizeBytes = $desiredShardSizeBytes; + } + public function getDesiredShardSizeBytes() + { + return $this->desiredShardSizeBytes; + } +} + +class Google_Service_Dataflow_SourceSplitRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $optionsType = 'Google_Service_Dataflow_SourceSplitOptions'; + protected $optionsDataType = ''; + protected $sourceType = 'Google_Service_Dataflow_Source'; + protected $sourceDataType = ''; + + + public function setOptions(Google_Service_Dataflow_SourceSplitOptions $options) + { + $this->options = $options; + } + public function getOptions() + { + return $this->options; + } + public function setSource(Google_Service_Dataflow_Source $source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } +} + +class Google_Service_Dataflow_SourceSplitResponse extends Google_Collection +{ + protected $collection_key = 'shards'; + protected $internal_gapi_mappings = array( + ); + protected $bundlesType = 'Google_Service_Dataflow_DerivedSource'; + protected $bundlesDataType = 'array'; + public $outcome; + protected $shardsType = 'Google_Service_Dataflow_SourceSplitShard'; + protected $shardsDataType = 'array'; + + + public function setBundles($bundles) + { + $this->bundles = $bundles; + } + public function getBundles() + { + return $this->bundles; + } + public function setOutcome($outcome) + { + $this->outcome = $outcome; + } + public function getOutcome() + { + return $this->outcome; + } + public function setShards($shards) + { + $this->shards = $shards; + } + public function getShards() + { + return $this->shards; + } +} + +class Google_Service_Dataflow_SourceSplitShard extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $derivationMode; + protected $sourceType = 'Google_Service_Dataflow_Source'; + protected $sourceDataType = ''; + + + public function setDerivationMode($derivationMode) + { + $this->derivationMode = $derivationMode; + } + public function getDerivationMode() + { + return $this->derivationMode; + } + public function setSource(Google_Service_Dataflow_Source $source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } +} + +class Google_Service_Dataflow_StateFamilyConfig extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $isRead; + public $stateFamily; + + + public function setIsRead($isRead) + { + $this->isRead = $isRead; + } + public function getIsRead() + { + return $this->isRead; + } + public function setStateFamily($stateFamily) + { + $this->stateFamily = $stateFamily; + } + public function getStateFamily() + { + return $this->stateFamily; + } +} + +class Google_Service_Dataflow_Status extends Google_Collection +{ + protected $collection_key = 'details'; + protected $internal_gapi_mappings = array( + ); + public $code; + public $details; + public $message; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setDetails($details) + { + $this->details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_Dataflow_StatusDetails extends Google_Model +{ +} + +class Google_Service_Dataflow_Step extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + public $name; + public $properties; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setProperties($properties) + { + $this->properties = $properties; + } + public function getProperties() + { + return $this->properties; + } +} + +class Google_Service_Dataflow_StepProperties extends Google_Model +{ +} + +class Google_Service_Dataflow_StreamLocation extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $customSourceLocationType = 'Google_Service_Dataflow_CustomSourceLocation'; + protected $customSourceLocationDataType = ''; + protected $pubsubLocationType = 'Google_Service_Dataflow_PubsubLocation'; + protected $pubsubLocationDataType = ''; + protected $sideInputLocationType = 'Google_Service_Dataflow_StreamingSideInputLocation'; + protected $sideInputLocationDataType = ''; + protected $streamingStageLocationType = 'Google_Service_Dataflow_StreamingStageLocation'; + protected $streamingStageLocationDataType = ''; + + + public function setCustomSourceLocation(Google_Service_Dataflow_CustomSourceLocation $customSourceLocation) + { + $this->customSourceLocation = $customSourceLocation; + } + public function getCustomSourceLocation() + { + return $this->customSourceLocation; + } + public function setPubsubLocation(Google_Service_Dataflow_PubsubLocation $pubsubLocation) + { + $this->pubsubLocation = $pubsubLocation; + } + public function getPubsubLocation() + { + return $this->pubsubLocation; + } + public function setSideInputLocation(Google_Service_Dataflow_StreamingSideInputLocation $sideInputLocation) + { + $this->sideInputLocation = $sideInputLocation; + } + public function getSideInputLocation() + { + return $this->sideInputLocation; + } + public function setStreamingStageLocation(Google_Service_Dataflow_StreamingStageLocation $streamingStageLocation) + { + $this->streamingStageLocation = $streamingStageLocation; + } + public function getStreamingStageLocation() + { + return $this->streamingStageLocation; + } +} + +class Google_Service_Dataflow_StreamingComputationRanges extends Google_Collection +{ + protected $collection_key = 'rangeAssignments'; + protected $internal_gapi_mappings = array( + ); + public $computationId; + protected $rangeAssignmentsType = 'Google_Service_Dataflow_KeyRangeDataDiskAssignment'; + protected $rangeAssignmentsDataType = 'array'; + + + public function setComputationId($computationId) + { + $this->computationId = $computationId; + } + public function getComputationId() + { + return $this->computationId; + } + public function setRangeAssignments($rangeAssignments) + { + $this->rangeAssignments = $rangeAssignments; + } + public function getRangeAssignments() + { + return $this->rangeAssignments; + } +} + +class Google_Service_Dataflow_StreamingComputationTask extends Google_Collection +{ + protected $collection_key = 'dataDisks'; + protected $internal_gapi_mappings = array( + ); + protected $computationRangesType = 'Google_Service_Dataflow_StreamingComputationRanges'; + protected $computationRangesDataType = 'array'; + protected $dataDisksType = 'Google_Service_Dataflow_MountedDataDisk'; + protected $dataDisksDataType = 'array'; + public $taskType; + + + public function setComputationRanges($computationRanges) + { + $this->computationRanges = $computationRanges; + } + public function getComputationRanges() + { + return $this->computationRanges; + } + public function setDataDisks($dataDisks) + { + $this->dataDisks = $dataDisks; + } + public function getDataDisks() + { + return $this->dataDisks; + } + public function setTaskType($taskType) + { + $this->taskType = $taskType; + } + public function getTaskType() + { + return $this->taskType; + } +} + +class Google_Service_Dataflow_StreamingSetupTask extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $receiveWorkPort; + protected $streamingComputationTopologyType = 'Google_Service_Dataflow_TopologyConfig'; + protected $streamingComputationTopologyDataType = ''; + public $workerHarnessPort; + + + public function setReceiveWorkPort($receiveWorkPort) + { + $this->receiveWorkPort = $receiveWorkPort; + } + public function getReceiveWorkPort() + { + return $this->receiveWorkPort; + } + public function setStreamingComputationTopology(Google_Service_Dataflow_TopologyConfig $streamingComputationTopology) + { + $this->streamingComputationTopology = $streamingComputationTopology; + } + public function getStreamingComputationTopology() + { + return $this->streamingComputationTopology; + } + public function setWorkerHarnessPort($workerHarnessPort) + { + $this->workerHarnessPort = $workerHarnessPort; + } + public function getWorkerHarnessPort() + { + return $this->workerHarnessPort; + } +} + +class Google_Service_Dataflow_StreamingSideInputLocation extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $stateFamily; + public $tag; + + + public function setStateFamily($stateFamily) + { + $this->stateFamily = $stateFamily; + } + public function getStateFamily() + { + return $this->stateFamily; + } + public function setTag($tag) + { + $this->tag = $tag; + } + public function getTag() + { + return $this->tag; + } +} + +class Google_Service_Dataflow_StreamingStageLocation extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $streamId; + + + public function setStreamId($streamId) + { + $this->streamId = $streamId; + } + public function getStreamId() + { + return $this->streamId; + } +} + +class Google_Service_Dataflow_TaskRunnerSettings extends Google_Collection +{ + protected $collection_key = 'oauthScopes'; + protected $internal_gapi_mappings = array( + ); + public $alsologtostderr; + public $baseTaskDir; + public $baseUrl; + public $commandlinesFileName; + public $continueOnException; + public $dataflowApiVersion; + public $harnessCommand; + public $languageHint; + public $logDir; + public $logToSerialconsole; + public $logUploadLocation; + public $oauthScopes; + protected $parallelWorkerSettingsType = 'Google_Service_Dataflow_WorkerSettings'; + protected $parallelWorkerSettingsDataType = ''; + public $streamingWorkerMainClass; + public $taskGroup; + public $taskUser; + public $tempStoragePrefix; + public $vmId; + public $workflowFileName; + + + public function setAlsologtostderr($alsologtostderr) + { + $this->alsologtostderr = $alsologtostderr; + } + public function getAlsologtostderr() + { + return $this->alsologtostderr; + } + public function setBaseTaskDir($baseTaskDir) + { + $this->baseTaskDir = $baseTaskDir; + } + public function getBaseTaskDir() + { + return $this->baseTaskDir; + } + public function setBaseUrl($baseUrl) + { + $this->baseUrl = $baseUrl; + } + public function getBaseUrl() + { + return $this->baseUrl; + } + public function setCommandlinesFileName($commandlinesFileName) + { + $this->commandlinesFileName = $commandlinesFileName; + } + public function getCommandlinesFileName() + { + return $this->commandlinesFileName; + } + public function setContinueOnException($continueOnException) + { + $this->continueOnException = $continueOnException; + } + public function getContinueOnException() + { + return $this->continueOnException; + } + public function setDataflowApiVersion($dataflowApiVersion) + { + $this->dataflowApiVersion = $dataflowApiVersion; + } + public function getDataflowApiVersion() + { + return $this->dataflowApiVersion; + } + public function setHarnessCommand($harnessCommand) + { + $this->harnessCommand = $harnessCommand; + } + public function getHarnessCommand() + { + return $this->harnessCommand; + } + public function setLanguageHint($languageHint) + { + $this->languageHint = $languageHint; + } + public function getLanguageHint() + { + return $this->languageHint; + } + public function setLogDir($logDir) + { + $this->logDir = $logDir; + } + public function getLogDir() + { + return $this->logDir; + } + public function setLogToSerialconsole($logToSerialconsole) + { + $this->logToSerialconsole = $logToSerialconsole; + } + public function getLogToSerialconsole() + { + return $this->logToSerialconsole; + } + public function setLogUploadLocation($logUploadLocation) + { + $this->logUploadLocation = $logUploadLocation; + } + public function getLogUploadLocation() + { + return $this->logUploadLocation; + } + public function setOauthScopes($oauthScopes) + { + $this->oauthScopes = $oauthScopes; + } + public function getOauthScopes() + { + return $this->oauthScopes; + } + public function setParallelWorkerSettings(Google_Service_Dataflow_WorkerSettings $parallelWorkerSettings) + { + $this->parallelWorkerSettings = $parallelWorkerSettings; + } + public function getParallelWorkerSettings() + { + return $this->parallelWorkerSettings; + } + public function setStreamingWorkerMainClass($streamingWorkerMainClass) + { + $this->streamingWorkerMainClass = $streamingWorkerMainClass; + } + public function getStreamingWorkerMainClass() + { + return $this->streamingWorkerMainClass; + } + public function setTaskGroup($taskGroup) + { + $this->taskGroup = $taskGroup; + } + public function getTaskGroup() + { + return $this->taskGroup; + } + public function setTaskUser($taskUser) + { + $this->taskUser = $taskUser; + } + public function getTaskUser() + { + return $this->taskUser; + } + public function setTempStoragePrefix($tempStoragePrefix) + { + $this->tempStoragePrefix = $tempStoragePrefix; + } + public function getTempStoragePrefix() + { + return $this->tempStoragePrefix; + } + public function setVmId($vmId) + { + $this->vmId = $vmId; + } + public function getVmId() + { + return $this->vmId; + } + public function setWorkflowFileName($workflowFileName) + { + $this->workflowFileName = $workflowFileName; + } + public function getWorkflowFileName() + { + return $this->workflowFileName; + } +} + +class Google_Service_Dataflow_TopologyConfig extends Google_Collection +{ + protected $collection_key = 'dataDiskAssignments'; + protected $internal_gapi_mappings = array( + ); + protected $computationsType = 'Google_Service_Dataflow_ComputationTopology'; + protected $computationsDataType = 'array'; + protected $dataDiskAssignmentsType = 'Google_Service_Dataflow_DataDiskAssignment'; + protected $dataDiskAssignmentsDataType = 'array'; + public $userStageToComputationNameMap; + + + public function setComputations($computations) + { + $this->computations = $computations; + } + public function getComputations() + { + return $this->computations; + } + public function setDataDiskAssignments($dataDiskAssignments) + { + $this->dataDiskAssignments = $dataDiskAssignments; + } + public function getDataDiskAssignments() + { + return $this->dataDiskAssignments; + } + public function setUserStageToComputationNameMap($userStageToComputationNameMap) + { + $this->userStageToComputationNameMap = $userStageToComputationNameMap; + } + public function getUserStageToComputationNameMap() + { + return $this->userStageToComputationNameMap; + } +} + +class Google_Service_Dataflow_TopologyConfigUserStageToComputationNameMap extends Google_Model +{ +} + +class Google_Service_Dataflow_WorkItem extends Google_Collection +{ + protected $collection_key = 'packages'; + protected $internal_gapi_mappings = array( + ); + public $configuration; + public $id; + public $initialReportIndex; + public $jobId; + public $leaseExpireTime; + protected $mapTaskType = 'Google_Service_Dataflow_MapTask'; + protected $mapTaskDataType = ''; + protected $packagesType = 'Google_Service_Dataflow_Package'; + protected $packagesDataType = 'array'; + public $projectId; + public $reportStatusInterval; + protected $seqMapTaskType = 'Google_Service_Dataflow_SeqMapTask'; + protected $seqMapTaskDataType = ''; + protected $shellTaskType = 'Google_Service_Dataflow_ShellTask'; + protected $shellTaskDataType = ''; + protected $sourceOperationTaskType = 'Google_Service_Dataflow_SourceOperationRequest'; + protected $sourceOperationTaskDataType = ''; + protected $streamingComputationTaskType = 'Google_Service_Dataflow_StreamingComputationTask'; + protected $streamingComputationTaskDataType = ''; + protected $streamingSetupTaskType = 'Google_Service_Dataflow_StreamingSetupTask'; + protected $streamingSetupTaskDataType = ''; + + + public function setConfiguration($configuration) + { + $this->configuration = $configuration; + } + public function getConfiguration() + { + return $this->configuration; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInitialReportIndex($initialReportIndex) + { + $this->initialReportIndex = $initialReportIndex; + } + public function getInitialReportIndex() + { + return $this->initialReportIndex; + } + public function setJobId($jobId) + { + $this->jobId = $jobId; + } + public function getJobId() + { + return $this->jobId; + } + public function setLeaseExpireTime($leaseExpireTime) + { + $this->leaseExpireTime = $leaseExpireTime; + } + public function getLeaseExpireTime() + { + return $this->leaseExpireTime; + } + public function setMapTask(Google_Service_Dataflow_MapTask $mapTask) + { + $this->mapTask = $mapTask; + } + public function getMapTask() + { + return $this->mapTask; + } + public function setPackages($packages) + { + $this->packages = $packages; + } + public function getPackages() + { + return $this->packages; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } + public function setReportStatusInterval($reportStatusInterval) + { + $this->reportStatusInterval = $reportStatusInterval; + } + public function getReportStatusInterval() + { + return $this->reportStatusInterval; + } + public function setSeqMapTask(Google_Service_Dataflow_SeqMapTask $seqMapTask) + { + $this->seqMapTask = $seqMapTask; + } + public function getSeqMapTask() + { + return $this->seqMapTask; + } + public function setShellTask(Google_Service_Dataflow_ShellTask $shellTask) + { + $this->shellTask = $shellTask; + } + public function getShellTask() + { + return $this->shellTask; + } + public function setSourceOperationTask(Google_Service_Dataflow_SourceOperationRequest $sourceOperationTask) + { + $this->sourceOperationTask = $sourceOperationTask; + } + public function getSourceOperationTask() + { + return $this->sourceOperationTask; + } + public function setStreamingComputationTask(Google_Service_Dataflow_StreamingComputationTask $streamingComputationTask) + { + $this->streamingComputationTask = $streamingComputationTask; + } + public function getStreamingComputationTask() + { + return $this->streamingComputationTask; + } + public function setStreamingSetupTask(Google_Service_Dataflow_StreamingSetupTask $streamingSetupTask) + { + $this->streamingSetupTask = $streamingSetupTask; + } + public function getStreamingSetupTask() + { + return $this->streamingSetupTask; + } +} + +class Google_Service_Dataflow_WorkItemServiceState extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $harnessData; + public $leaseExpireTime; + public $nextReportIndex; + public $reportStatusInterval; + protected $suggestedStopPointType = 'Google_Service_Dataflow_ApproximateProgress'; + protected $suggestedStopPointDataType = ''; + protected $suggestedStopPositionType = 'Google_Service_Dataflow_Position'; + protected $suggestedStopPositionDataType = ''; + + + public function setHarnessData($harnessData) + { + $this->harnessData = $harnessData; + } + public function getHarnessData() + { + return $this->harnessData; + } + public function setLeaseExpireTime($leaseExpireTime) + { + $this->leaseExpireTime = $leaseExpireTime; + } + public function getLeaseExpireTime() + { + return $this->leaseExpireTime; + } + public function setNextReportIndex($nextReportIndex) + { + $this->nextReportIndex = $nextReportIndex; + } + public function getNextReportIndex() + { + return $this->nextReportIndex; + } + public function setReportStatusInterval($reportStatusInterval) + { + $this->reportStatusInterval = $reportStatusInterval; + } + public function getReportStatusInterval() + { + return $this->reportStatusInterval; + } + public function setSuggestedStopPoint(Google_Service_Dataflow_ApproximateProgress $suggestedStopPoint) + { + $this->suggestedStopPoint = $suggestedStopPoint; + } + public function getSuggestedStopPoint() + { + return $this->suggestedStopPoint; + } + public function setSuggestedStopPosition(Google_Service_Dataflow_Position $suggestedStopPosition) + { + $this->suggestedStopPosition = $suggestedStopPosition; + } + public function getSuggestedStopPosition() + { + return $this->suggestedStopPosition; + } +} + +class Google_Service_Dataflow_WorkItemServiceStateHarnessData extends Google_Model +{ +} + +class Google_Service_Dataflow_WorkItemStatus extends Google_Collection +{ + protected $collection_key = 'metricUpdates'; + protected $internal_gapi_mappings = array( + ); + public $completed; + protected $dynamicSourceSplitType = 'Google_Service_Dataflow_DynamicSourceSplit'; + protected $dynamicSourceSplitDataType = ''; + protected $errorsType = 'Google_Service_Dataflow_Status'; + protected $errorsDataType = 'array'; + protected $metricUpdatesType = 'Google_Service_Dataflow_MetricUpdate'; + protected $metricUpdatesDataType = 'array'; + protected $progressType = 'Google_Service_Dataflow_ApproximateProgress'; + protected $progressDataType = ''; + public $reportIndex; + public $requestedLeaseDuration; + protected $sourceForkType = 'Google_Service_Dataflow_SourceFork'; + protected $sourceForkDataType = ''; + protected $sourceOperationResponseType = 'Google_Service_Dataflow_SourceOperationResponse'; + protected $sourceOperationResponseDataType = ''; + protected $stopPositionType = 'Google_Service_Dataflow_Position'; + protected $stopPositionDataType = ''; + public $workItemId; + + + public function setCompleted($completed) + { + $this->completed = $completed; + } + public function getCompleted() + { + return $this->completed; + } + public function setDynamicSourceSplit(Google_Service_Dataflow_DynamicSourceSplit $dynamicSourceSplit) + { + $this->dynamicSourceSplit = $dynamicSourceSplit; + } + public function getDynamicSourceSplit() + { + return $this->dynamicSourceSplit; + } + public function setErrors($errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } + public function setMetricUpdates($metricUpdates) + { + $this->metricUpdates = $metricUpdates; + } + public function getMetricUpdates() + { + return $this->metricUpdates; + } + public function setProgress(Google_Service_Dataflow_ApproximateProgress $progress) + { + $this->progress = $progress; + } + public function getProgress() + { + return $this->progress; + } + public function setReportIndex($reportIndex) + { + $this->reportIndex = $reportIndex; + } + public function getReportIndex() + { + return $this->reportIndex; + } + public function setRequestedLeaseDuration($requestedLeaseDuration) + { + $this->requestedLeaseDuration = $requestedLeaseDuration; + } + public function getRequestedLeaseDuration() + { + return $this->requestedLeaseDuration; + } + public function setSourceFork(Google_Service_Dataflow_SourceFork $sourceFork) + { + $this->sourceFork = $sourceFork; + } + public function getSourceFork() + { + return $this->sourceFork; + } + public function setSourceOperationResponse(Google_Service_Dataflow_SourceOperationResponse $sourceOperationResponse) + { + $this->sourceOperationResponse = $sourceOperationResponse; + } + public function getSourceOperationResponse() + { + return $this->sourceOperationResponse; + } + public function setStopPosition(Google_Service_Dataflow_Position $stopPosition) + { + $this->stopPosition = $stopPosition; + } + public function getStopPosition() + { + return $this->stopPosition; + } + public function setWorkItemId($workItemId) + { + $this->workItemId = $workItemId; + } + public function getWorkItemId() + { + return $this->workItemId; + } +} + +class Google_Service_Dataflow_WorkerPool extends Google_Collection +{ + protected $collection_key = 'packages'; + protected $internal_gapi_mappings = array( + ); + protected $autoscalingSettingsType = 'Google_Service_Dataflow_AutoscalingSettings'; + protected $autoscalingSettingsDataType = ''; + protected $dataDisksType = 'Google_Service_Dataflow_Disk'; + protected $dataDisksDataType = 'array'; + public $defaultPackageSet; + public $diskSizeGb; + public $diskSourceImage; + public $diskType; + public $kind; + public $machineType; + public $metadata; + public $network; + public $numWorkers; + public $onHostMaintenance; + protected $packagesType = 'Google_Service_Dataflow_Package'; + protected $packagesDataType = 'array'; + public $poolArgs; + protected $taskrunnerSettingsType = 'Google_Service_Dataflow_TaskRunnerSettings'; + protected $taskrunnerSettingsDataType = ''; + public $teardownPolicy; + public $zone; + + + public function setAutoscalingSettings(Google_Service_Dataflow_AutoscalingSettings $autoscalingSettings) + { + $this->autoscalingSettings = $autoscalingSettings; + } + public function getAutoscalingSettings() + { + return $this->autoscalingSettings; + } + public function setDataDisks($dataDisks) + { + $this->dataDisks = $dataDisks; + } + public function getDataDisks() + { + return $this->dataDisks; + } + public function setDefaultPackageSet($defaultPackageSet) + { + $this->defaultPackageSet = $defaultPackageSet; + } + public function getDefaultPackageSet() + { + return $this->defaultPackageSet; + } + public function setDiskSizeGb($diskSizeGb) + { + $this->diskSizeGb = $diskSizeGb; + } + public function getDiskSizeGb() + { + return $this->diskSizeGb; + } + public function setDiskSourceImage($diskSourceImage) + { + $this->diskSourceImage = $diskSourceImage; + } + public function getDiskSourceImage() + { + return $this->diskSourceImage; + } + public function setDiskType($diskType) + { + $this->diskType = $diskType; + } + public function getDiskType() + { + return $this->diskType; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMachineType($machineType) + { + $this->machineType = $machineType; + } + public function getMachineType() + { + return $this->machineType; + } + public function setMetadata($metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setNetwork($network) + { + $this->network = $network; + } + public function getNetwork() + { + return $this->network; + } + public function setNumWorkers($numWorkers) + { + $this->numWorkers = $numWorkers; + } + public function getNumWorkers() + { + return $this->numWorkers; + } + public function setOnHostMaintenance($onHostMaintenance) + { + $this->onHostMaintenance = $onHostMaintenance; + } + public function getOnHostMaintenance() + { + return $this->onHostMaintenance; + } + public function setPackages($packages) + { + $this->packages = $packages; + } + public function getPackages() + { + return $this->packages; + } + public function setPoolArgs($poolArgs) + { + $this->poolArgs = $poolArgs; + } + public function getPoolArgs() + { + return $this->poolArgs; + } + public function setTaskrunnerSettings(Google_Service_Dataflow_TaskRunnerSettings $taskrunnerSettings) + { + $this->taskrunnerSettings = $taskrunnerSettings; + } + public function getTaskrunnerSettings() + { + return $this->taskrunnerSettings; + } + public function setTeardownPolicy($teardownPolicy) + { + $this->teardownPolicy = $teardownPolicy; + } + public function getTeardownPolicy() + { + return $this->teardownPolicy; + } + public function setZone($zone) + { + $this->zone = $zone; + } + public function getZone() + { + return $this->zone; + } +} + +class Google_Service_Dataflow_WorkerPoolMetadata extends Google_Model +{ +} + +class Google_Service_Dataflow_WorkerPoolPoolArgs extends Google_Model +{ +} + +class Google_Service_Dataflow_WorkerSettings extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $baseUrl; + public $reportingEnabled; + public $servicePath; + public $shuffleServicePath; + public $tempStoragePrefix; + public $workerId; + + + public function setBaseUrl($baseUrl) + { + $this->baseUrl = $baseUrl; + } + public function getBaseUrl() + { + return $this->baseUrl; + } + public function setReportingEnabled($reportingEnabled) + { + $this->reportingEnabled = $reportingEnabled; + } + public function getReportingEnabled() + { + return $this->reportingEnabled; + } + public function setServicePath($servicePath) + { + $this->servicePath = $servicePath; + } + public function getServicePath() + { + return $this->servicePath; + } + public function setShuffleServicePath($shuffleServicePath) + { + $this->shuffleServicePath = $shuffleServicePath; + } + public function getShuffleServicePath() + { + return $this->shuffleServicePath; + } + public function setTempStoragePrefix($tempStoragePrefix) + { + $this->tempStoragePrefix = $tempStoragePrefix; + } + public function getTempStoragePrefix() + { + return $this->tempStoragePrefix; + } + public function setWorkerId($workerId) + { + $this->workerId = $workerId; + } + public function getWorkerId() + { + return $this->workerId; + } +} + +class Google_Service_Dataflow_WriteInstruction extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $inputType = 'Google_Service_Dataflow_InstructionInput'; + protected $inputDataType = ''; + protected $sinkType = 'Google_Service_Dataflow_Sink'; + protected $sinkDataType = ''; + + + public function setInput(Google_Service_Dataflow_InstructionInput $input) + { + $this->input = $input; + } + public function getInput() + { + return $this->input; + } + public function setSink(Google_Service_Dataflow_Sink $sink) + { + $this->sink = $sink; + } + public function getSink() + { + return $this->sink; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Datastore.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Datastore.php new file mode 100644 index 0000000..a7c58db --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Datastore.php @@ -0,0 +1,1525 @@ + + * API for accessing Google Cloud Datastore.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Datastore extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** View and manage your Google Cloud Datastore data. */ + const DATASTORE = + "https://www.googleapis.com/auth/datastore"; + /** View your email address. */ + const USERINFO_EMAIL = + "https://www.googleapis.com/auth/userinfo.email"; + + public $datasets; + + + /** + * Constructs the internal representation of the Datastore service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'datastore/v1beta2/datasets/'; + $this->version = 'v1beta2'; + $this->serviceName = 'datastore'; + + $this->datasets = new Google_Service_Datastore_Datasets_Resource( + $this, + $this->serviceName, + 'datasets', + array( + 'methods' => array( + 'allocateIds' => array( + 'path' => '{datasetId}/allocateIds', + 'httpMethod' => 'POST', + 'parameters' => array( + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'beginTransaction' => array( + 'path' => '{datasetId}/beginTransaction', + 'httpMethod' => 'POST', + 'parameters' => array( + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'commit' => array( + 'path' => '{datasetId}/commit', + 'httpMethod' => 'POST', + 'parameters' => array( + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'lookup' => array( + 'path' => '{datasetId}/lookup', + 'httpMethod' => 'POST', + 'parameters' => array( + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'rollback' => array( + 'path' => '{datasetId}/rollback', + 'httpMethod' => 'POST', + 'parameters' => array( + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'runQuery' => array( + 'path' => '{datasetId}/runQuery', + 'httpMethod' => 'POST', + 'parameters' => array( + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "datasets" collection of methods. + * Typical usage is: + * + * $datastoreService = new Google_Service_Datastore(...); + * $datasets = $datastoreService->datasets; + * + */ +class Google_Service_Datastore_Datasets_Resource extends Google_Service_Resource +{ + + /** + * Allocate IDs for incomplete keys (useful for referencing an entity before it + * is inserted). (datasets.allocateIds) + * + * @param string $datasetId Identifies the dataset. + * @param Google_AllocateIdsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Datastore_AllocateIdsResponse + */ + public function allocateIds($datasetId, Google_Service_Datastore_AllocateIdsRequest $postBody, $optParams = array()) + { + $params = array('datasetId' => $datasetId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('allocateIds', array($params), "Google_Service_Datastore_AllocateIdsResponse"); + } + + /** + * Begin a new transaction. (datasets.beginTransaction) + * + * @param string $datasetId Identifies the dataset. + * @param Google_BeginTransactionRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Datastore_BeginTransactionResponse + */ + public function beginTransaction($datasetId, Google_Service_Datastore_BeginTransactionRequest $postBody, $optParams = array()) + { + $params = array('datasetId' => $datasetId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('beginTransaction', array($params), "Google_Service_Datastore_BeginTransactionResponse"); + } + + /** + * Commit a transaction, optionally creating, deleting or modifying some + * entities. (datasets.commit) + * + * @param string $datasetId Identifies the dataset. + * @param Google_CommitRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Datastore_CommitResponse + */ + public function commit($datasetId, Google_Service_Datastore_CommitRequest $postBody, $optParams = array()) + { + $params = array('datasetId' => $datasetId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('commit', array($params), "Google_Service_Datastore_CommitResponse"); + } + + /** + * Look up some entities by key. (datasets.lookup) + * + * @param string $datasetId Identifies the dataset. + * @param Google_LookupRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Datastore_LookupResponse + */ + public function lookup($datasetId, Google_Service_Datastore_LookupRequest $postBody, $optParams = array()) + { + $params = array('datasetId' => $datasetId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('lookup', array($params), "Google_Service_Datastore_LookupResponse"); + } + + /** + * Roll back a transaction. (datasets.rollback) + * + * @param string $datasetId Identifies the dataset. + * @param Google_RollbackRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Datastore_RollbackResponse + */ + public function rollback($datasetId, Google_Service_Datastore_RollbackRequest $postBody, $optParams = array()) + { + $params = array('datasetId' => $datasetId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('rollback', array($params), "Google_Service_Datastore_RollbackResponse"); + } + + /** + * Query for entities. (datasets.runQuery) + * + * @param string $datasetId Identifies the dataset. + * @param Google_RunQueryRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Datastore_RunQueryResponse + */ + public function runQuery($datasetId, Google_Service_Datastore_RunQueryRequest $postBody, $optParams = array()) + { + $params = array('datasetId' => $datasetId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('runQuery', array($params), "Google_Service_Datastore_RunQueryResponse"); + } +} + + + + +class Google_Service_Datastore_AllocateIdsRequest extends Google_Collection +{ + protected $collection_key = 'keys'; + protected $internal_gapi_mappings = array( + ); + protected $keysType = 'Google_Service_Datastore_Key'; + protected $keysDataType = 'array'; + + + public function setKeys($keys) + { + $this->keys = $keys; + } + public function getKeys() + { + return $this->keys; + } +} + +class Google_Service_Datastore_AllocateIdsResponse extends Google_Collection +{ + protected $collection_key = 'keys'; + protected $internal_gapi_mappings = array( + ); + protected $headerType = 'Google_Service_Datastore_ResponseHeader'; + protected $headerDataType = ''; + protected $keysType = 'Google_Service_Datastore_Key'; + protected $keysDataType = 'array'; + + + public function setHeader(Google_Service_Datastore_ResponseHeader $header) + { + $this->header = $header; + } + public function getHeader() + { + return $this->header; + } + public function setKeys($keys) + { + $this->keys = $keys; + } + public function getKeys() + { + return $this->keys; + } +} + +class Google_Service_Datastore_BeginTransactionRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $isolationLevel; + + + public function setIsolationLevel($isolationLevel) + { + $this->isolationLevel = $isolationLevel; + } + public function getIsolationLevel() + { + return $this->isolationLevel; + } +} + +class Google_Service_Datastore_BeginTransactionResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $headerType = 'Google_Service_Datastore_ResponseHeader'; + protected $headerDataType = ''; + public $transaction; + + + public function setHeader(Google_Service_Datastore_ResponseHeader $header) + { + $this->header = $header; + } + public function getHeader() + { + return $this->header; + } + public function setTransaction($transaction) + { + $this->transaction = $transaction; + } + public function getTransaction() + { + return $this->transaction; + } +} + +class Google_Service_Datastore_CommitRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $ignoreReadOnly; + public $mode; + protected $mutationType = 'Google_Service_Datastore_Mutation'; + protected $mutationDataType = ''; + public $transaction; + + + public function setIgnoreReadOnly($ignoreReadOnly) + { + $this->ignoreReadOnly = $ignoreReadOnly; + } + public function getIgnoreReadOnly() + { + return $this->ignoreReadOnly; + } + public function setMode($mode) + { + $this->mode = $mode; + } + public function getMode() + { + return $this->mode; + } + public function setMutation(Google_Service_Datastore_Mutation $mutation) + { + $this->mutation = $mutation; + } + public function getMutation() + { + return $this->mutation; + } + public function setTransaction($transaction) + { + $this->transaction = $transaction; + } + public function getTransaction() + { + return $this->transaction; + } +} + +class Google_Service_Datastore_CommitResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $headerType = 'Google_Service_Datastore_ResponseHeader'; + protected $headerDataType = ''; + protected $mutationResultType = 'Google_Service_Datastore_MutationResult'; + protected $mutationResultDataType = ''; + + + public function setHeader(Google_Service_Datastore_ResponseHeader $header) + { + $this->header = $header; + } + public function getHeader() + { + return $this->header; + } + public function setMutationResult(Google_Service_Datastore_MutationResult $mutationResult) + { + $this->mutationResult = $mutationResult; + } + public function getMutationResult() + { + return $this->mutationResult; + } +} + +class Google_Service_Datastore_CompositeFilter extends Google_Collection +{ + protected $collection_key = 'filters'; + protected $internal_gapi_mappings = array( + ); + protected $filtersType = 'Google_Service_Datastore_Filter'; + protected $filtersDataType = 'array'; + public $operator; + + + public function setFilters($filters) + { + $this->filters = $filters; + } + public function getFilters() + { + return $this->filters; + } + public function setOperator($operator) + { + $this->operator = $operator; + } + public function getOperator() + { + return $this->operator; + } +} + +class Google_Service_Datastore_Entity extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $keyType = 'Google_Service_Datastore_Key'; + protected $keyDataType = ''; + protected $propertiesType = 'Google_Service_Datastore_Property'; + protected $propertiesDataType = 'map'; + + + public function setKey(Google_Service_Datastore_Key $key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setProperties($properties) + { + $this->properties = $properties; + } + public function getProperties() + { + return $this->properties; + } +} + +class Google_Service_Datastore_EntityProperties extends Google_Model +{ +} + +class Google_Service_Datastore_EntityResult extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $entityType = 'Google_Service_Datastore_Entity'; + protected $entityDataType = ''; + + + public function setEntity(Google_Service_Datastore_Entity $entity) + { + $this->entity = $entity; + } + public function getEntity() + { + return $this->entity; + } +} + +class Google_Service_Datastore_Filter extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $compositeFilterType = 'Google_Service_Datastore_CompositeFilter'; + protected $compositeFilterDataType = ''; + protected $propertyFilterType = 'Google_Service_Datastore_PropertyFilter'; + protected $propertyFilterDataType = ''; + + + public function setCompositeFilter(Google_Service_Datastore_CompositeFilter $compositeFilter) + { + $this->compositeFilter = $compositeFilter; + } + public function getCompositeFilter() + { + return $this->compositeFilter; + } + public function setPropertyFilter(Google_Service_Datastore_PropertyFilter $propertyFilter) + { + $this->propertyFilter = $propertyFilter; + } + public function getPropertyFilter() + { + return $this->propertyFilter; + } +} + +class Google_Service_Datastore_GqlQuery extends Google_Collection +{ + protected $collection_key = 'numberArgs'; + protected $internal_gapi_mappings = array( + ); + public $allowLiteral; + protected $nameArgsType = 'Google_Service_Datastore_GqlQueryArg'; + protected $nameArgsDataType = 'array'; + protected $numberArgsType = 'Google_Service_Datastore_GqlQueryArg'; + protected $numberArgsDataType = 'array'; + public $queryString; + + + public function setAllowLiteral($allowLiteral) + { + $this->allowLiteral = $allowLiteral; + } + public function getAllowLiteral() + { + return $this->allowLiteral; + } + public function setNameArgs($nameArgs) + { + $this->nameArgs = $nameArgs; + } + public function getNameArgs() + { + return $this->nameArgs; + } + public function setNumberArgs($numberArgs) + { + $this->numberArgs = $numberArgs; + } + public function getNumberArgs() + { + return $this->numberArgs; + } + public function setQueryString($queryString) + { + $this->queryString = $queryString; + } + public function getQueryString() + { + return $this->queryString; + } +} + +class Google_Service_Datastore_GqlQueryArg extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $cursor; + public $name; + protected $valueType = 'Google_Service_Datastore_Value'; + protected $valueDataType = ''; + + + public function setCursor($cursor) + { + $this->cursor = $cursor; + } + public function getCursor() + { + return $this->cursor; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setValue(Google_Service_Datastore_Value $value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Datastore_Key extends Google_Collection +{ + protected $collection_key = 'path'; + protected $internal_gapi_mappings = array( + ); + protected $partitionIdType = 'Google_Service_Datastore_PartitionId'; + protected $partitionIdDataType = ''; + protected $pathType = 'Google_Service_Datastore_KeyPathElement'; + protected $pathDataType = 'array'; + + + public function setPartitionId(Google_Service_Datastore_PartitionId $partitionId) + { + $this->partitionId = $partitionId; + } + public function getPartitionId() + { + return $this->partitionId; + } + public function setPath($path) + { + $this->path = $path; + } + public function getPath() + { + return $this->path; + } +} + +class Google_Service_Datastore_KeyPathElement extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $kind; + public $name; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_Datastore_KindExpression extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $name; + + + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_Datastore_LookupRequest extends Google_Collection +{ + protected $collection_key = 'keys'; + protected $internal_gapi_mappings = array( + ); + protected $keysType = 'Google_Service_Datastore_Key'; + protected $keysDataType = 'array'; + protected $readOptionsType = 'Google_Service_Datastore_ReadOptions'; + protected $readOptionsDataType = ''; + + + public function setKeys($keys) + { + $this->keys = $keys; + } + public function getKeys() + { + return $this->keys; + } + public function setReadOptions(Google_Service_Datastore_ReadOptions $readOptions) + { + $this->readOptions = $readOptions; + } + public function getReadOptions() + { + return $this->readOptions; + } +} + +class Google_Service_Datastore_LookupResponse extends Google_Collection +{ + protected $collection_key = 'missing'; + protected $internal_gapi_mappings = array( + ); + protected $deferredType = 'Google_Service_Datastore_Key'; + protected $deferredDataType = 'array'; + protected $foundType = 'Google_Service_Datastore_EntityResult'; + protected $foundDataType = 'array'; + protected $headerType = 'Google_Service_Datastore_ResponseHeader'; + protected $headerDataType = ''; + protected $missingType = 'Google_Service_Datastore_EntityResult'; + protected $missingDataType = 'array'; + + + public function setDeferred($deferred) + { + $this->deferred = $deferred; + } + public function getDeferred() + { + return $this->deferred; + } + public function setFound($found) + { + $this->found = $found; + } + public function getFound() + { + return $this->found; + } + public function setHeader(Google_Service_Datastore_ResponseHeader $header) + { + $this->header = $header; + } + public function getHeader() + { + return $this->header; + } + public function setMissing($missing) + { + $this->missing = $missing; + } + public function getMissing() + { + return $this->missing; + } +} + +class Google_Service_Datastore_Mutation extends Google_Collection +{ + protected $collection_key = 'upsert'; + protected $internal_gapi_mappings = array( + ); + protected $deleteType = 'Google_Service_Datastore_Key'; + protected $deleteDataType = 'array'; + public $force; + protected $insertType = 'Google_Service_Datastore_Entity'; + protected $insertDataType = 'array'; + protected $insertAutoIdType = 'Google_Service_Datastore_Entity'; + protected $insertAutoIdDataType = 'array'; + protected $updateType = 'Google_Service_Datastore_Entity'; + protected $updateDataType = 'array'; + protected $upsertType = 'Google_Service_Datastore_Entity'; + protected $upsertDataType = 'array'; + + + public function setDelete($delete) + { + $this->delete = $delete; + } + public function getDelete() + { + return $this->delete; + } + public function setForce($force) + { + $this->force = $force; + } + public function getForce() + { + return $this->force; + } + public function setInsert($insert) + { + $this->insert = $insert; + } + public function getInsert() + { + return $this->insert; + } + public function setInsertAutoId($insertAutoId) + { + $this->insertAutoId = $insertAutoId; + } + public function getInsertAutoId() + { + return $this->insertAutoId; + } + public function setUpdate($update) + { + $this->update = $update; + } + public function getUpdate() + { + return $this->update; + } + public function setUpsert($upsert) + { + $this->upsert = $upsert; + } + public function getUpsert() + { + return $this->upsert; + } +} + +class Google_Service_Datastore_MutationResult extends Google_Collection +{ + protected $collection_key = 'insertAutoIdKeys'; + protected $internal_gapi_mappings = array( + ); + public $indexUpdates; + protected $insertAutoIdKeysType = 'Google_Service_Datastore_Key'; + protected $insertAutoIdKeysDataType = 'array'; + + + public function setIndexUpdates($indexUpdates) + { + $this->indexUpdates = $indexUpdates; + } + public function getIndexUpdates() + { + return $this->indexUpdates; + } + public function setInsertAutoIdKeys($insertAutoIdKeys) + { + $this->insertAutoIdKeys = $insertAutoIdKeys; + } + public function getInsertAutoIdKeys() + { + return $this->insertAutoIdKeys; + } +} + +class Google_Service_Datastore_PartitionId extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $datasetId; + public $namespace; + + + public function setDatasetId($datasetId) + { + $this->datasetId = $datasetId; + } + public function getDatasetId() + { + return $this->datasetId; + } + public function setNamespace($namespace) + { + $this->namespace = $namespace; + } + public function getNamespace() + { + return $this->namespace; + } +} + +class Google_Service_Datastore_Property extends Google_Collection +{ + protected $collection_key = 'listValue'; + protected $internal_gapi_mappings = array( + ); + public $blobKeyValue; + public $blobValue; + public $booleanValue; + public $dateTimeValue; + public $doubleValue; + protected $entityValueType = 'Google_Service_Datastore_Entity'; + protected $entityValueDataType = ''; + public $indexed; + public $integerValue; + protected $keyValueType = 'Google_Service_Datastore_Key'; + protected $keyValueDataType = ''; + protected $listValueType = 'Google_Service_Datastore_Value'; + protected $listValueDataType = 'array'; + public $meaning; + public $stringValue; + + + public function setBlobKeyValue($blobKeyValue) + { + $this->blobKeyValue = $blobKeyValue; + } + public function getBlobKeyValue() + { + return $this->blobKeyValue; + } + public function setBlobValue($blobValue) + { + $this->blobValue = $blobValue; + } + public function getBlobValue() + { + return $this->blobValue; + } + public function setBooleanValue($booleanValue) + { + $this->booleanValue = $booleanValue; + } + public function getBooleanValue() + { + return $this->booleanValue; + } + public function setDateTimeValue($dateTimeValue) + { + $this->dateTimeValue = $dateTimeValue; + } + public function getDateTimeValue() + { + return $this->dateTimeValue; + } + public function setDoubleValue($doubleValue) + { + $this->doubleValue = $doubleValue; + } + public function getDoubleValue() + { + return $this->doubleValue; + } + public function setEntityValue(Google_Service_Datastore_Entity $entityValue) + { + $this->entityValue = $entityValue; + } + public function getEntityValue() + { + return $this->entityValue; + } + public function setIndexed($indexed) + { + $this->indexed = $indexed; + } + public function getIndexed() + { + return $this->indexed; + } + public function setIntegerValue($integerValue) + { + $this->integerValue = $integerValue; + } + public function getIntegerValue() + { + return $this->integerValue; + } + public function setKeyValue(Google_Service_Datastore_Key $keyValue) + { + $this->keyValue = $keyValue; + } + public function getKeyValue() + { + return $this->keyValue; + } + public function setListValue($listValue) + { + $this->listValue = $listValue; + } + public function getListValue() + { + return $this->listValue; + } + public function setMeaning($meaning) + { + $this->meaning = $meaning; + } + public function getMeaning() + { + return $this->meaning; + } + public function setStringValue($stringValue) + { + $this->stringValue = $stringValue; + } + public function getStringValue() + { + return $this->stringValue; + } +} + +class Google_Service_Datastore_PropertyExpression extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $aggregationFunction; + protected $propertyType = 'Google_Service_Datastore_PropertyReference'; + protected $propertyDataType = ''; + + + public function setAggregationFunction($aggregationFunction) + { + $this->aggregationFunction = $aggregationFunction; + } + public function getAggregationFunction() + { + return $this->aggregationFunction; + } + public function setProperty(Google_Service_Datastore_PropertyReference $property) + { + $this->property = $property; + } + public function getProperty() + { + return $this->property; + } +} + +class Google_Service_Datastore_PropertyFilter extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $operator; + protected $propertyType = 'Google_Service_Datastore_PropertyReference'; + protected $propertyDataType = ''; + protected $valueType = 'Google_Service_Datastore_Value'; + protected $valueDataType = ''; + + + public function setOperator($operator) + { + $this->operator = $operator; + } + public function getOperator() + { + return $this->operator; + } + public function setProperty(Google_Service_Datastore_PropertyReference $property) + { + $this->property = $property; + } + public function getProperty() + { + return $this->property; + } + public function setValue(Google_Service_Datastore_Value $value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Datastore_PropertyOrder extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $direction; + protected $propertyType = 'Google_Service_Datastore_PropertyReference'; + protected $propertyDataType = ''; + + + public function setDirection($direction) + { + $this->direction = $direction; + } + public function getDirection() + { + return $this->direction; + } + public function setProperty(Google_Service_Datastore_PropertyReference $property) + { + $this->property = $property; + } + public function getProperty() + { + return $this->property; + } +} + +class Google_Service_Datastore_PropertyReference extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $name; + + + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_Datastore_Query extends Google_Collection +{ + protected $collection_key = 'projection'; + protected $internal_gapi_mappings = array( + ); + public $endCursor; + protected $filterType = 'Google_Service_Datastore_Filter'; + protected $filterDataType = ''; + protected $groupByType = 'Google_Service_Datastore_PropertyReference'; + protected $groupByDataType = 'array'; + protected $kindsType = 'Google_Service_Datastore_KindExpression'; + protected $kindsDataType = 'array'; + public $limit; + public $offset; + protected $orderType = 'Google_Service_Datastore_PropertyOrder'; + protected $orderDataType = 'array'; + protected $projectionType = 'Google_Service_Datastore_PropertyExpression'; + protected $projectionDataType = 'array'; + public $startCursor; + + + public function setEndCursor($endCursor) + { + $this->endCursor = $endCursor; + } + public function getEndCursor() + { + return $this->endCursor; + } + public function setFilter(Google_Service_Datastore_Filter $filter) + { + $this->filter = $filter; + } + public function getFilter() + { + return $this->filter; + } + public function setGroupBy($groupBy) + { + $this->groupBy = $groupBy; + } + public function getGroupBy() + { + return $this->groupBy; + } + public function setKinds($kinds) + { + $this->kinds = $kinds; + } + public function getKinds() + { + return $this->kinds; + } + public function setLimit($limit) + { + $this->limit = $limit; + } + public function getLimit() + { + return $this->limit; + } + public function setOffset($offset) + { + $this->offset = $offset; + } + public function getOffset() + { + return $this->offset; + } + public function setOrder($order) + { + $this->order = $order; + } + public function getOrder() + { + return $this->order; + } + public function setProjection($projection) + { + $this->projection = $projection; + } + public function getProjection() + { + return $this->projection; + } + public function setStartCursor($startCursor) + { + $this->startCursor = $startCursor; + } + public function getStartCursor() + { + return $this->startCursor; + } +} + +class Google_Service_Datastore_QueryResultBatch extends Google_Collection +{ + protected $collection_key = 'entityResults'; + protected $internal_gapi_mappings = array( + ); + public $endCursor; + public $entityResultType; + protected $entityResultsType = 'Google_Service_Datastore_EntityResult'; + protected $entityResultsDataType = 'array'; + public $moreResults; + public $skippedResults; + + + public function setEndCursor($endCursor) + { + $this->endCursor = $endCursor; + } + public function getEndCursor() + { + return $this->endCursor; + } + public function setEntityResultType($entityResultType) + { + $this->entityResultType = $entityResultType; + } + public function getEntityResultType() + { + return $this->entityResultType; + } + public function setEntityResults($entityResults) + { + $this->entityResults = $entityResults; + } + public function getEntityResults() + { + return $this->entityResults; + } + public function setMoreResults($moreResults) + { + $this->moreResults = $moreResults; + } + public function getMoreResults() + { + return $this->moreResults; + } + public function setSkippedResults($skippedResults) + { + $this->skippedResults = $skippedResults; + } + public function getSkippedResults() + { + return $this->skippedResults; + } +} + +class Google_Service_Datastore_ReadOptions extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $readConsistency; + public $transaction; + + + public function setReadConsistency($readConsistency) + { + $this->readConsistency = $readConsistency; + } + public function getReadConsistency() + { + return $this->readConsistency; + } + public function setTransaction($transaction) + { + $this->transaction = $transaction; + } + public function getTransaction() + { + return $this->transaction; + } +} + +class Google_Service_Datastore_ResponseHeader extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Datastore_RollbackRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $transaction; + + + public function setTransaction($transaction) + { + $this->transaction = $transaction; + } + public function getTransaction() + { + return $this->transaction; + } +} + +class Google_Service_Datastore_RollbackResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $headerType = 'Google_Service_Datastore_ResponseHeader'; + protected $headerDataType = ''; + + + public function setHeader(Google_Service_Datastore_ResponseHeader $header) + { + $this->header = $header; + } + public function getHeader() + { + return $this->header; + } +} + +class Google_Service_Datastore_RunQueryRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $gqlQueryType = 'Google_Service_Datastore_GqlQuery'; + protected $gqlQueryDataType = ''; + protected $partitionIdType = 'Google_Service_Datastore_PartitionId'; + protected $partitionIdDataType = ''; + protected $queryType = 'Google_Service_Datastore_Query'; + protected $queryDataType = ''; + protected $readOptionsType = 'Google_Service_Datastore_ReadOptions'; + protected $readOptionsDataType = ''; + + + public function setGqlQuery(Google_Service_Datastore_GqlQuery $gqlQuery) + { + $this->gqlQuery = $gqlQuery; + } + public function getGqlQuery() + { + return $this->gqlQuery; + } + public function setPartitionId(Google_Service_Datastore_PartitionId $partitionId) + { + $this->partitionId = $partitionId; + } + public function getPartitionId() + { + return $this->partitionId; + } + public function setQuery(Google_Service_Datastore_Query $query) + { + $this->query = $query; + } + public function getQuery() + { + return $this->query; + } + public function setReadOptions(Google_Service_Datastore_ReadOptions $readOptions) + { + $this->readOptions = $readOptions; + } + public function getReadOptions() + { + return $this->readOptions; + } +} + +class Google_Service_Datastore_RunQueryResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $batchType = 'Google_Service_Datastore_QueryResultBatch'; + protected $batchDataType = ''; + protected $headerType = 'Google_Service_Datastore_ResponseHeader'; + protected $headerDataType = ''; + + + public function setBatch(Google_Service_Datastore_QueryResultBatch $batch) + { + $this->batch = $batch; + } + public function getBatch() + { + return $this->batch; + } + public function setHeader(Google_Service_Datastore_ResponseHeader $header) + { + $this->header = $header; + } + public function getHeader() + { + return $this->header; + } +} + +class Google_Service_Datastore_Value extends Google_Collection +{ + protected $collection_key = 'listValue'; + protected $internal_gapi_mappings = array( + ); + public $blobKeyValue; + public $blobValue; + public $booleanValue; + public $dateTimeValue; + public $doubleValue; + protected $entityValueType = 'Google_Service_Datastore_Entity'; + protected $entityValueDataType = ''; + public $indexed; + public $integerValue; + protected $keyValueType = 'Google_Service_Datastore_Key'; + protected $keyValueDataType = ''; + protected $listValueType = 'Google_Service_Datastore_Value'; + protected $listValueDataType = 'array'; + public $meaning; + public $stringValue; + + + public function setBlobKeyValue($blobKeyValue) + { + $this->blobKeyValue = $blobKeyValue; + } + public function getBlobKeyValue() + { + return $this->blobKeyValue; + } + public function setBlobValue($blobValue) + { + $this->blobValue = $blobValue; + } + public function getBlobValue() + { + return $this->blobValue; + } + public function setBooleanValue($booleanValue) + { + $this->booleanValue = $booleanValue; + } + public function getBooleanValue() + { + return $this->booleanValue; + } + public function setDateTimeValue($dateTimeValue) + { + $this->dateTimeValue = $dateTimeValue; + } + public function getDateTimeValue() + { + return $this->dateTimeValue; + } + public function setDoubleValue($doubleValue) + { + $this->doubleValue = $doubleValue; + } + public function getDoubleValue() + { + return $this->doubleValue; + } + public function setEntityValue(Google_Service_Datastore_Entity $entityValue) + { + $this->entityValue = $entityValue; + } + public function getEntityValue() + { + return $this->entityValue; + } + public function setIndexed($indexed) + { + $this->indexed = $indexed; + } + public function getIndexed() + { + return $this->indexed; + } + public function setIntegerValue($integerValue) + { + $this->integerValue = $integerValue; + } + public function getIntegerValue() + { + return $this->integerValue; + } + public function setKeyValue(Google_Service_Datastore_Key $keyValue) + { + $this->keyValue = $keyValue; + } + public function getKeyValue() + { + return $this->keyValue; + } + public function setListValue($listValue) + { + $this->listValue = $listValue; + } + public function getListValue() + { + return $this->listValue; + } + public function setMeaning($meaning) + { + $this->meaning = $meaning; + } + public function getMeaning() + { + return $this->meaning; + } + public function setStringValue($stringValue) + { + $this->stringValue = $stringValue; + } + public function getStringValue() + { + return $this->stringValue; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/DeploymentManager.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/DeploymentManager.php new file mode 100644 index 0000000..59e8f31 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/DeploymentManager.php @@ -0,0 +1,2019 @@ + + * The Deployment Manager API allows users to declaratively configure, deploy + * and run complex solutions on the Google Cloud Platform.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_DeploymentManager extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** View your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM_READ_ONLY = + "https://www.googleapis.com/auth/cloud-platform.read-only"; + /** View and manage your Google Cloud Platform management resources and deployment status information. */ + const NDEV_CLOUDMAN = + "https://www.googleapis.com/auth/ndev.cloudman"; + /** View your Google Cloud Platform management resources and deployment status information. */ + const NDEV_CLOUDMAN_READONLY = + "https://www.googleapis.com/auth/ndev.cloudman.readonly"; + + public $deployments; + public $manifests; + public $operations; + public $resources; + public $types; + + + /** + * Constructs the internal representation of the DeploymentManager service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'deploymentmanager/v2/projects/'; + $this->version = 'v2'; + $this->serviceName = 'deploymentmanager'; + + $this->deployments = new Google_Service_DeploymentManager_Deployments_Resource( + $this, + $this->serviceName, + 'deployments', + array( + 'methods' => array( + 'cancelPreview' => array( + 'path' => '{project}/global/deployments/{deployment}/cancelPreview', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deployment' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => '{project}/global/deployments/{deployment}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deployment' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/global/deployments/{deployment}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deployment' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/global/deployments', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'preview' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'list' => array( + 'path' => '{project}/global/deployments', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => '{project}/global/deployments/{deployment}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deployment' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'preview' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'deletePolicy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'createPolicy' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'stop' => array( + 'path' => '{project}/global/deployments/{deployment}/stop', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deployment' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{project}/global/deployments/{deployment}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deployment' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'preview' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'deletePolicy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'createPolicy' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->manifests = new Google_Service_DeploymentManager_Manifests_Resource( + $this, + $this->serviceName, + 'manifests', + array( + 'methods' => array( + 'get' => array( + 'path' => '{project}/global/deployments/{deployment}/manifests/{manifest}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deployment' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'manifest' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/deployments/{deployment}/manifests', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deployment' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->operations = new Google_Service_DeploymentManager_Operations_Resource( + $this, + $this->serviceName, + 'operations', + array( + 'methods' => array( + 'get' => array( + 'path' => '{project}/global/operations/{operation}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'operation' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/operations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->resources = new Google_Service_DeploymentManager_Resources_Resource( + $this, + $this->serviceName, + 'resources', + array( + 'methods' => array( + 'get' => array( + 'path' => '{project}/global/deployments/{deployment}/resources/{resource}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deployment' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/deployments/{deployment}/resources', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deployment' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->types = new Google_Service_DeploymentManager_Types_Resource( + $this, + $this->serviceName, + 'types', + array( + 'methods' => array( + 'list' => array( + 'path' => '{project}/global/types', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "deployments" collection of methods. + * Typical usage is: + * + * $deploymentmanagerService = new Google_Service_DeploymentManager(...); + * $deployments = $deploymentmanagerService->deployments; + * + */ +class Google_Service_DeploymentManager_Deployments_Resource extends Google_Service_Resource +{ + + /** + * Cancels and removes the preview currently associated with the deployment. + * (deployments.cancelPreview) + * + * @param string $project The project ID for this request. + * @param string $deployment The name of the deployment for this request. + * @param Google_DeploymentsCancelPreviewRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_DeploymentManager_Operation + */ + public function cancelPreview($project, $deployment, Google_Service_DeploymentManager_DeploymentsCancelPreviewRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'deployment' => $deployment, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('cancelPreview', array($params), "Google_Service_DeploymentManager_Operation"); + } + + /** + * Deletes a deployment and all of the resources in the deployment. + * (deployments.delete) + * + * @param string $project The project ID for this request. + * @param string $deployment The name of the deployment for this request. + * @param array $optParams Optional parameters. + * @return Google_Service_DeploymentManager_Operation + */ + public function delete($project, $deployment, $optParams = array()) + { + $params = array('project' => $project, 'deployment' => $deployment); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_DeploymentManager_Operation"); + } + + /** + * Gets information about a specific deployment. (deployments.get) + * + * @param string $project The project ID for this request. + * @param string $deployment The name of the deployment for this request. + * @param array $optParams Optional parameters. + * @return Google_Service_DeploymentManager_Deployment + */ + public function get($project, $deployment, $optParams = array()) + { + $params = array('project' => $project, 'deployment' => $deployment); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_DeploymentManager_Deployment"); + } + + /** + * Creates a deployment and all of the resources described by the deployment + * manifest. (deployments.insert) + * + * @param string $project The project ID for this request. + * @param Google_Deployment $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool preview If set to true, creates a deployment and creates + * "shell" resources but does not actually instantiate these resources. This + * allows you to preview what your deployment looks like. After previewing a + * deployment, you can deploy your resources by making a request with the + * update() method or you can use the cancelPreview() method to cancel the + * preview altogether. Note that the deployment will still exist after you + * cancel the preview and you must separately delete this deployment if you want + * to remove it. + * @return Google_Service_DeploymentManager_Operation + */ + public function insert($project, Google_Service_DeploymentManager_Deployment $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_DeploymentManager_Operation"); + } + + /** + * Lists all deployments for a given project. (deployments.listDeployments) + * + * @param string $project The project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_DeploymentManager_DeploymentsListResponse + */ + public function listDeployments($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_DeploymentManager_DeploymentsListResponse"); + } + + /** + * Updates a deployment and all of the resources described by the deployment + * manifest. This method supports patch semantics. (deployments.patch) + * + * @param string $project The project ID for this request. + * @param string $deployment The name of the deployment for this request. + * @param Google_Deployment $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool preview If set to true, updates the deployment and creates + * and updates the "shell" resources but does not actually alter or instantiate + * these resources. This allows you to preview what your deployment looks like. + * You can use this intent to preview how an update would affect your + * deployment. You must provide a target.config with a configuration if this is + * set to true. After previewing a deployment, you can deploy your resources by + * making a request with the update() or you can cancelPreview() to remove the + * preview altogether. Note that the deployment will still exist after you + * cancel the preview and you must separately delete this deployment if you want + * to remove it. + * @opt_param string deletePolicy Sets the policy to use for deleting resources. + * @opt_param string createPolicy Sets the policy to use for creating new + * resources. + * @return Google_Service_DeploymentManager_Operation + */ + public function patch($project, $deployment, Google_Service_DeploymentManager_Deployment $postBody, $optParams = array()) + { + $params = array('project' => $project, 'deployment' => $deployment, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_DeploymentManager_Operation"); + } + + /** + * Stops an ongoing operation. This does not roll back any work that has already + * been completed, but prevents any new work from being started. + * (deployments.stop) + * + * @param string $project The project ID for this request. + * @param string $deployment The name of the deployment for this request. + * @param Google_DeploymentsStopRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_DeploymentManager_Operation + */ + public function stop($project, $deployment, Google_Service_DeploymentManager_DeploymentsStopRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'deployment' => $deployment, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('stop', array($params), "Google_Service_DeploymentManager_Operation"); + } + + /** + * Updates a deployment and all of the resources described by the deployment + * manifest. (deployments.update) + * + * @param string $project The project ID for this request. + * @param string $deployment The name of the deployment for this request. + * @param Google_Deployment $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool preview If set to true, updates the deployment and creates + * and updates the "shell" resources but does not actually alter or instantiate + * these resources. This allows you to preview what your deployment looks like. + * You can use this intent to preview how an update would affect your + * deployment. You must provide a target.config with a configuration if this is + * set to true. After previewing a deployment, you can deploy your resources by + * making a request with the update() or you can cancelPreview() to remove the + * preview altogether. Note that the deployment will still exist after you + * cancel the preview and you must separately delete this deployment if you want + * to remove it. + * @opt_param string deletePolicy Sets the policy to use for deleting resources. + * @opt_param string createPolicy Sets the policy to use for creating new + * resources. + * @return Google_Service_DeploymentManager_Operation + */ + public function update($project, $deployment, Google_Service_DeploymentManager_Deployment $postBody, $optParams = array()) + { + $params = array('project' => $project, 'deployment' => $deployment, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_DeploymentManager_Operation"); + } +} + +/** + * The "manifests" collection of methods. + * Typical usage is: + * + * $deploymentmanagerService = new Google_Service_DeploymentManager(...); + * $manifests = $deploymentmanagerService->manifests; + * + */ +class Google_Service_DeploymentManager_Manifests_Resource extends Google_Service_Resource +{ + + /** + * Gets information about a specific manifest. (manifests.get) + * + * @param string $project The project ID for this request. + * @param string $deployment The name of the deployment for this request. + * @param string $manifest The name of the manifest for this request. + * @param array $optParams Optional parameters. + * @return Google_Service_DeploymentManager_Manifest + */ + public function get($project, $deployment, $manifest, $optParams = array()) + { + $params = array('project' => $project, 'deployment' => $deployment, 'manifest' => $manifest); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_DeploymentManager_Manifest"); + } + + /** + * Lists all manifests for a given deployment. (manifests.listManifests) + * + * @param string $project The project ID for this request. + * @param string $deployment The name of the deployment for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_DeploymentManager_ManifestsListResponse + */ + public function listManifests($project, $deployment, $optParams = array()) + { + $params = array('project' => $project, 'deployment' => $deployment); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_DeploymentManager_ManifestsListResponse"); + } +} + +/** + * The "operations" collection of methods. + * Typical usage is: + * + * $deploymentmanagerService = new Google_Service_DeploymentManager(...); + * $operations = $deploymentmanagerService->operations; + * + */ +class Google_Service_DeploymentManager_Operations_Resource extends Google_Service_Resource +{ + + /** + * Gets information about a specific operation. (operations.get) + * + * @param string $project The project ID for this request. + * @param string $operation The name of the operation for this request. + * @param array $optParams Optional parameters. + * @return Google_Service_DeploymentManager_Operation + */ + public function get($project, $operation, $optParams = array()) + { + $params = array('project' => $project, 'operation' => $operation); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_DeploymentManager_Operation"); + } + + /** + * Lists all operations for a project. (operations.listOperations) + * + * @param string $project The project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_DeploymentManager_OperationsListResponse + */ + public function listOperations($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_DeploymentManager_OperationsListResponse"); + } +} + +/** + * The "resources" collection of methods. + * Typical usage is: + * + * $deploymentmanagerService = new Google_Service_DeploymentManager(...); + * $resources = $deploymentmanagerService->resources; + * + */ +class Google_Service_DeploymentManager_Resources_Resource extends Google_Service_Resource +{ + + /** + * Gets information about a single resource. (resources.get) + * + * @param string $project The project ID for this request. + * @param string $deployment The name of the deployment for this request. + * @param string $resource The name of the resource for this request. + * @param array $optParams Optional parameters. + * @return Google_Service_DeploymentManager_DeploymentmanagerResource + */ + public function get($project, $deployment, $resource, $optParams = array()) + { + $params = array('project' => $project, 'deployment' => $deployment, 'resource' => $resource); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_DeploymentManager_DeploymentmanagerResource"); + } + + /** + * Lists all resources in a given deployment. (resources.listResources) + * + * @param string $project The project ID for this request. + * @param string $deployment The name of the deployment for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_DeploymentManager_ResourcesListResponse + */ + public function listResources($project, $deployment, $optParams = array()) + { + $params = array('project' => $project, 'deployment' => $deployment); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_DeploymentManager_ResourcesListResponse"); + } +} + +/** + * The "types" collection of methods. + * Typical usage is: + * + * $deploymentmanagerService = new Google_Service_DeploymentManager(...); + * $types = $deploymentmanagerService->types; + * + */ +class Google_Service_DeploymentManager_Types_Resource extends Google_Service_Resource +{ + + /** + * Lists all resource types for Deployment Manager. (types.listTypes) + * + * @param string $project The project ID for this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Sets a filter expression for filtering listed + * resources, in the form filter={expression}. Your {expression} must be in the + * format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + * + * The FIELD_NAME is the name of the field you want to compare. Only atomic + * field types are supported (string, number, boolean). The COMPARISON_STRING + * must be either eq (equals) or ne (not equals). The LITERAL_STRING is the + * string value to filter to. The literal value must be valid for the type of + * field (string, number, boolean). For string fields, the literal value is + * interpreted as a regular expression using RE2 syntax. The literal value must + * match the entire field. + * + * For example, filter=name ne example-instance. + * @opt_param string pageToken Specifies a page token to use. Use this parameter + * if you want to list the next page of results. Set pageToken to the + * nextPageToken returned by a previous list request. + * @opt_param string maxResults Maximum count of results to be returned. + * @return Google_Service_DeploymentManager_TypesListResponse + */ + public function listTypes($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_DeploymentManager_TypesListResponse"); + } +} + + + + +class Google_Service_DeploymentManager_ConfigFile extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $content; + + + public function setContent($content) + { + $this->content = $content; + } + public function getContent() + { + return $this->content; + } +} + +class Google_Service_DeploymentManager_Deployment extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $description; + public $fingerprint; + public $id; + public $insertTime; + public $manifest; + public $name; + protected $operationType = 'Google_Service_DeploymentManager_Operation'; + protected $operationDataType = ''; + protected $targetType = 'Google_Service_DeploymentManager_TargetConfiguration'; + protected $targetDataType = ''; + protected $updateType = 'Google_Service_DeploymentManager_DeploymentUpdate'; + protected $updateDataType = ''; + + + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInsertTime($insertTime) + { + $this->insertTime = $insertTime; + } + public function getInsertTime() + { + return $this->insertTime; + } + public function setManifest($manifest) + { + $this->manifest = $manifest; + } + public function getManifest() + { + return $this->manifest; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOperation(Google_Service_DeploymentManager_Operation $operation) + { + $this->operation = $operation; + } + public function getOperation() + { + return $this->operation; + } + public function setTarget(Google_Service_DeploymentManager_TargetConfiguration $target) + { + $this->target = $target; + } + public function getTarget() + { + return $this->target; + } + public function setUpdate(Google_Service_DeploymentManager_DeploymentUpdate $update) + { + $this->update = $update; + } + public function getUpdate() + { + return $this->update; + } +} + +class Google_Service_DeploymentManager_DeploymentUpdate extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $manifest; + + + public function setManifest($manifest) + { + $this->manifest = $manifest; + } + public function getManifest() + { + return $this->manifest; + } +} + +class Google_Service_DeploymentManager_DeploymentmanagerResource extends Google_Collection +{ + protected $collection_key = 'warnings'; + protected $internal_gapi_mappings = array( + ); + public $finalProperties; + public $id; + public $insertTime; + public $manifest; + public $name; + public $properties; + public $type; + protected $updateType = 'Google_Service_DeploymentManager_ResourceUpdate'; + protected $updateDataType = ''; + public $updateTime; + public $url; + protected $warningsType = 'Google_Service_DeploymentManager_DeploymentmanagerResourceWarnings'; + protected $warningsDataType = 'array'; + + + public function setFinalProperties($finalProperties) + { + $this->finalProperties = $finalProperties; + } + public function getFinalProperties() + { + return $this->finalProperties; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInsertTime($insertTime) + { + $this->insertTime = $insertTime; + } + public function getInsertTime() + { + return $this->insertTime; + } + public function setManifest($manifest) + { + $this->manifest = $manifest; + } + public function getManifest() + { + return $this->manifest; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setProperties($properties) + { + $this->properties = $properties; + } + public function getProperties() + { + return $this->properties; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUpdate(Google_Service_DeploymentManager_ResourceUpdate $update) + { + $this->update = $update; + } + public function getUpdate() + { + return $this->update; + } + public function setUpdateTime($updateTime) + { + $this->updateTime = $updateTime; + } + public function getUpdateTime() + { + return $this->updateTime; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setWarnings($warnings) + { + $this->warnings = $warnings; + } + public function getWarnings() + { + return $this->warnings; + } +} + +class Google_Service_DeploymentManager_DeploymentmanagerResourceWarnings extends Google_Collection +{ + protected $collection_key = 'data'; + protected $internal_gapi_mappings = array( + ); + public $code; + protected $dataType = 'Google_Service_DeploymentManager_DeploymentmanagerResourceWarningsData'; + protected $dataDataType = 'array'; + public $message; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_DeploymentManager_DeploymentmanagerResourceWarningsData extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $key; + public $value; + + + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_DeploymentManager_DeploymentsCancelPreviewRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $fingerprint; + + + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } +} + +class Google_Service_DeploymentManager_DeploymentsListResponse extends Google_Collection +{ + protected $collection_key = 'deployments'; + protected $internal_gapi_mappings = array( + ); + protected $deploymentsType = 'Google_Service_DeploymentManager_Deployment'; + protected $deploymentsDataType = 'array'; + public $nextPageToken; + + + public function setDeployments($deployments) + { + $this->deployments = $deployments; + } + public function getDeployments() + { + return $this->deployments; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_DeploymentManager_DeploymentsStopRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $fingerprint; + + + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } +} + +class Google_Service_DeploymentManager_ImportFile extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $content; + public $name; + + + public function setContent($content) + { + $this->content = $content; + } + public function getContent() + { + return $this->content; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_DeploymentManager_Manifest extends Google_Collection +{ + protected $collection_key = 'imports'; + protected $internal_gapi_mappings = array( + ); + protected $configType = 'Google_Service_DeploymentManager_ConfigFile'; + protected $configDataType = ''; + public $expandedConfig; + public $id; + protected $importsType = 'Google_Service_DeploymentManager_ImportFile'; + protected $importsDataType = 'array'; + public $insertTime; + public $layout; + public $name; + public $selfLink; + + + public function setConfig(Google_Service_DeploymentManager_ConfigFile $config) + { + $this->config = $config; + } + public function getConfig() + { + return $this->config; + } + public function setExpandedConfig($expandedConfig) + { + $this->expandedConfig = $expandedConfig; + } + public function getExpandedConfig() + { + return $this->expandedConfig; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImports($imports) + { + $this->imports = $imports; + } + public function getImports() + { + return $this->imports; + } + public function setInsertTime($insertTime) + { + $this->insertTime = $insertTime; + } + public function getInsertTime() + { + return $this->insertTime; + } + public function setLayout($layout) + { + $this->layout = $layout; + } + public function getLayout() + { + return $this->layout; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_DeploymentManager_ManifestsListResponse extends Google_Collection +{ + protected $collection_key = 'manifests'; + protected $internal_gapi_mappings = array( + ); + protected $manifestsType = 'Google_Service_DeploymentManager_Manifest'; + protected $manifestsDataType = 'array'; + public $nextPageToken; + + + public function setManifests($manifests) + { + $this->manifests = $manifests; + } + public function getManifests() + { + return $this->manifests; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_DeploymentManager_Operation extends Google_Collection +{ + protected $collection_key = 'warnings'; + protected $internal_gapi_mappings = array( + ); + public $clientOperationId; + public $creationTimestamp; + public $endTime; + protected $errorType = 'Google_Service_DeploymentManager_OperationError'; + protected $errorDataType = ''; + public $httpErrorMessage; + public $httpErrorStatusCode; + public $id; + public $insertTime; + public $kind; + public $name; + public $operationType; + public $progress; + public $region; + public $selfLink; + public $startTime; + public $status; + public $statusMessage; + public $targetId; + public $targetLink; + public $user; + protected $warningsType = 'Google_Service_DeploymentManager_OperationWarnings'; + protected $warningsDataType = 'array'; + public $zone; + + + public function setClientOperationId($clientOperationId) + { + $this->clientOperationId = $clientOperationId; + } + public function getClientOperationId() + { + return $this->clientOperationId; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setError(Google_Service_DeploymentManager_OperationError $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setHttpErrorMessage($httpErrorMessage) + { + $this->httpErrorMessage = $httpErrorMessage; + } + public function getHttpErrorMessage() + { + return $this->httpErrorMessage; + } + public function setHttpErrorStatusCode($httpErrorStatusCode) + { + $this->httpErrorStatusCode = $httpErrorStatusCode; + } + public function getHttpErrorStatusCode() + { + return $this->httpErrorStatusCode; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInsertTime($insertTime) + { + $this->insertTime = $insertTime; + } + public function getInsertTime() + { + return $this->insertTime; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOperationType($operationType) + { + $this->operationType = $operationType; + } + public function getOperationType() + { + return $this->operationType; + } + public function setProgress($progress) + { + $this->progress = $progress; + } + public function getProgress() + { + return $this->progress; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setStatusMessage($statusMessage) + { + $this->statusMessage = $statusMessage; + } + public function getStatusMessage() + { + return $this->statusMessage; + } + public function setTargetId($targetId) + { + $this->targetId = $targetId; + } + public function getTargetId() + { + return $this->targetId; + } + public function setTargetLink($targetLink) + { + $this->targetLink = $targetLink; + } + public function getTargetLink() + { + return $this->targetLink; + } + public function setUser($user) + { + $this->user = $user; + } + public function getUser() + { + return $this->user; + } + public function setWarnings($warnings) + { + $this->warnings = $warnings; + } + public function getWarnings() + { + return $this->warnings; + } + public function setZone($zone) + { + $this->zone = $zone; + } + public function getZone() + { + return $this->zone; + } +} + +class Google_Service_DeploymentManager_OperationError extends Google_Collection +{ + protected $collection_key = 'errors'; + protected $internal_gapi_mappings = array( + ); + protected $errorsType = 'Google_Service_DeploymentManager_OperationErrorErrors'; + protected $errorsDataType = 'array'; + + + public function setErrors($errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } +} + +class Google_Service_DeploymentManager_OperationErrorErrors extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $code; + public $location; + public $message; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_DeploymentManager_OperationWarnings extends Google_Collection +{ + protected $collection_key = 'data'; + protected $internal_gapi_mappings = array( + ); + public $code; + protected $dataType = 'Google_Service_DeploymentManager_OperationWarningsData'; + protected $dataDataType = 'array'; + public $message; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_DeploymentManager_OperationWarningsData extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $key; + public $value; + + + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_DeploymentManager_OperationsListResponse extends Google_Collection +{ + protected $collection_key = 'operations'; + protected $internal_gapi_mappings = array( + ); + public $nextPageToken; + protected $operationsType = 'Google_Service_DeploymentManager_Operation'; + protected $operationsDataType = 'array'; + + + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setOperations($operations) + { + $this->operations = $operations; + } + public function getOperations() + { + return $this->operations; + } +} + +class Google_Service_DeploymentManager_ResourceUpdate extends Google_Collection +{ + protected $collection_key = 'warnings'; + protected $internal_gapi_mappings = array( + ); + protected $errorType = 'Google_Service_DeploymentManager_ResourceUpdateError'; + protected $errorDataType = ''; + public $finalProperties; + public $intent; + public $manifest; + public $properties; + public $state; + protected $warningsType = 'Google_Service_DeploymentManager_ResourceUpdateWarnings'; + protected $warningsDataType = 'array'; + + + public function setError(Google_Service_DeploymentManager_ResourceUpdateError $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setFinalProperties($finalProperties) + { + $this->finalProperties = $finalProperties; + } + public function getFinalProperties() + { + return $this->finalProperties; + } + public function setIntent($intent) + { + $this->intent = $intent; + } + public function getIntent() + { + return $this->intent; + } + public function setManifest($manifest) + { + $this->manifest = $manifest; + } + public function getManifest() + { + return $this->manifest; + } + public function setProperties($properties) + { + $this->properties = $properties; + } + public function getProperties() + { + return $this->properties; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } + public function setWarnings($warnings) + { + $this->warnings = $warnings; + } + public function getWarnings() + { + return $this->warnings; + } +} + +class Google_Service_DeploymentManager_ResourceUpdateError extends Google_Collection +{ + protected $collection_key = 'errors'; + protected $internal_gapi_mappings = array( + ); + protected $errorsType = 'Google_Service_DeploymentManager_ResourceUpdateErrorErrors'; + protected $errorsDataType = 'array'; + + + public function setErrors($errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } +} + +class Google_Service_DeploymentManager_ResourceUpdateErrorErrors extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $code; + public $location; + public $message; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_DeploymentManager_ResourceUpdateWarnings extends Google_Collection +{ + protected $collection_key = 'data'; + protected $internal_gapi_mappings = array( + ); + public $code; + protected $dataType = 'Google_Service_DeploymentManager_ResourceUpdateWarningsData'; + protected $dataDataType = 'array'; + public $message; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_DeploymentManager_ResourceUpdateWarningsData extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $key; + public $value; + + + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_DeploymentManager_ResourcesListResponse extends Google_Collection +{ + protected $collection_key = 'resources'; + protected $internal_gapi_mappings = array( + ); + public $nextPageToken; + protected $resourcesType = 'Google_Service_DeploymentManager_DeploymentmanagerResource'; + protected $resourcesDataType = 'array'; + + + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setResources($resources) + { + $this->resources = $resources; + } + public function getResources() + { + return $this->resources; + } +} + +class Google_Service_DeploymentManager_TargetConfiguration extends Google_Collection +{ + protected $collection_key = 'imports'; + protected $internal_gapi_mappings = array( + ); + protected $configType = 'Google_Service_DeploymentManager_ConfigFile'; + protected $configDataType = ''; + protected $importsType = 'Google_Service_DeploymentManager_ImportFile'; + protected $importsDataType = 'array'; + + + public function setConfig(Google_Service_DeploymentManager_ConfigFile $config) + { + $this->config = $config; + } + public function getConfig() + { + return $this->config; + } + public function setImports($imports) + { + $this->imports = $imports; + } + public function getImports() + { + return $this->imports; + } +} + +class Google_Service_DeploymentManager_Type extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $insertTime; + public $name; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInsertTime($insertTime) + { + $this->insertTime = $insertTime; + } + public function getInsertTime() + { + return $this->insertTime; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_DeploymentManager_TypesListResponse extends Google_Collection +{ + protected $collection_key = 'types'; + protected $internal_gapi_mappings = array( + ); + public $nextPageToken; + protected $typesType = 'Google_Service_DeploymentManager_Type'; + protected $typesDataType = 'array'; + + + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTypes($types) + { + $this->types = $types; + } + public function getTypes() + { + return $this->types; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Dfareporting.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Dfareporting.php new file mode 100644 index 0000000..11e14e2 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Dfareporting.php @@ -0,0 +1,21443 @@ + + * Manage your DoubleClick Campaign Manager ad campaigns and reports.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Dfareporting extends Google_Service +{ + /** View and manage DoubleClick for Advertisers reports. */ + const DFAREPORTING = + "https://www.googleapis.com/auth/dfareporting"; + /** View and manage your DoubleClick Campaign Manager's (DCM) display ad campaigns. */ + const DFATRAFFICKING = + "https://www.googleapis.com/auth/dfatrafficking"; + + public $accountActiveAdSummaries; + public $accountPermissionGroups; + public $accountPermissions; + public $accountUserProfiles; + public $accounts; + public $ads; + public $advertiserGroups; + public $advertisers; + public $browsers; + public $campaignCreativeAssociations; + public $campaigns; + public $changeLogs; + public $cities; + public $connectionTypes; + public $contentCategories; + public $countries; + public $creativeAssets; + public $creativeFieldValues; + public $creativeFields; + public $creativeGroups; + public $creatives; + public $dimensionValues; + public $directorySiteContacts; + public $directorySites; + public $eventTags; + public $files; + public $floodlightActivities; + public $floodlightActivityGroups; + public $floodlightConfigurations; + public $inventoryItems; + public $landingPages; + public $metros; + public $mobileCarriers; + public $operatingSystemVersions; + public $operatingSystems; + public $orderDocuments; + public $orders; + public $placementGroups; + public $placementStrategies; + public $placements; + public $platformTypes; + public $postalCodes; + public $projects; + public $regions; + public $remarketingListShares; + public $remarketingLists; + public $reports; + public $reports_compatibleFields; + public $reports_files; + public $sites; + public $sizes; + public $subaccounts; + public $targetableRemarketingLists; + public $userProfiles; + public $userRolePermissionGroups; + public $userRolePermissions; + public $userRoles; + + + /** + * Constructs the internal representation of the Dfareporting service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->servicePath = 'dfareporting/v2.1/'; + $this->version = 'v2.1'; + $this->serviceName = 'dfareporting'; + + $this->accountActiveAdSummaries = new Google_Service_Dfareporting_AccountActiveAdSummaries_Resource( + $this, + $this->serviceName, + 'accountActiveAdSummaries', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/accountActiveAdSummaries/{summaryAccountId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'summaryAccountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->accountPermissionGroups = new Google_Service_Dfareporting_AccountPermissionGroups_Resource( + $this, + $this->serviceName, + 'accountPermissionGroups', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/accountPermissionGroups/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/accountPermissionGroups', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->accountPermissions = new Google_Service_Dfareporting_AccountPermissions_Resource( + $this, + $this->serviceName, + 'accountPermissions', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/accountPermissions/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/accountPermissions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->accountUserProfiles = new Google_Service_Dfareporting_AccountUserProfiles_Resource( + $this, + $this->serviceName, + 'accountUserProfiles', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/accountUserProfiles/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/accountUserProfiles', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/accountUserProfiles', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'subaccountId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'userRoleId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'active' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/accountUserProfiles', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/accountUserProfiles', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->accounts = new Google_Service_Dfareporting_Accounts_Resource( + $this, + $this->serviceName, + 'accounts', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/accounts/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/accounts', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'active' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/accounts', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/accounts', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->ads = new Google_Service_Dfareporting_Ads_Resource( + $this, + $this->serviceName, + 'ads', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/ads/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/ads', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/ads', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'landingPageIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'overriddenEventTagId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'campaignIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'archived' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'creativeOptimizationConfigurationIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'sslCompliant' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'sizeIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'type' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'sslRequired' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'creativeIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'creativeType' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'placementIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'active' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'compatibility' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'advertiserId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'audienceSegmentIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'remarketingListIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'dynamicClickTracker' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/ads', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/ads', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->advertiserGroups = new Google_Service_Dfareporting_AdvertiserGroups_Resource( + $this, + $this->serviceName, + 'advertiserGroups', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'userprofiles/{profileId}/advertiserGroups/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'userprofiles/{profileId}/advertiserGroups/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/advertiserGroups', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/advertiserGroups', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/advertiserGroups', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/advertiserGroups', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->advertisers = new Google_Service_Dfareporting_Advertisers_Resource( + $this, + $this->serviceName, + 'advertisers', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/advertisers/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/advertisers', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/advertisers', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'status' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'subaccountId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'includeAdvertisersWithoutGroupsOnly' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onlyParent' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'floodlightConfigurationIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'advertiserGroupIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/advertisers', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/advertisers', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->browsers = new Google_Service_Dfareporting_Browsers_Resource( + $this, + $this->serviceName, + 'browsers', + array( + 'methods' => array( + 'list' => array( + 'path' => 'userprofiles/{profileId}/browsers', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->campaignCreativeAssociations = new Google_Service_Dfareporting_CampaignCreativeAssociations_Resource( + $this, + $this->serviceName, + 'campaignCreativeAssociations', + array( + 'methods' => array( + 'insert' => array( + 'path' => 'userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'campaignId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'campaignId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->campaigns = new Google_Service_Dfareporting_Campaigns_Resource( + $this, + $this->serviceName, + 'campaigns', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/campaigns/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/campaigns', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'defaultLandingPageName' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'defaultLandingPageUrl' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/campaigns', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'archived' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'subaccountId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'advertiserIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'excludedIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'advertiserGroupIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'overriddenEventTagId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'atLeastOneOptimizationActivity' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/campaigns', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/campaigns', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->changeLogs = new Google_Service_Dfareporting_ChangeLogs_Resource( + $this, + $this->serviceName, + 'changeLogs', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/changeLogs/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/changeLogs', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'minChangeTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxChangeTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'userProfileIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'objectIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'action' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'objectType' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->cities = new Google_Service_Dfareporting_Cities_Resource( + $this, + $this->serviceName, + 'cities', + array( + 'methods' => array( + 'list' => array( + 'path' => 'userprofiles/{profileId}/cities', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dartIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'namePrefix' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'regionDartIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'countryDartIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ), + ) + ) + ); + $this->connectionTypes = new Google_Service_Dfareporting_ConnectionTypes_Resource( + $this, + $this->serviceName, + 'connectionTypes', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/connectionTypes/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/connectionTypes', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->contentCategories = new Google_Service_Dfareporting_ContentCategories_Resource( + $this, + $this->serviceName, + 'contentCategories', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'userprofiles/{profileId}/contentCategories/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'userprofiles/{profileId}/contentCategories/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/contentCategories', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/contentCategories', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/contentCategories', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/contentCategories', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->countries = new Google_Service_Dfareporting_Countries_Resource( + $this, + $this->serviceName, + 'countries', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/countries/{dartId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dartId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/countries', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->creativeAssets = new Google_Service_Dfareporting_CreativeAssets_Resource( + $this, + $this->serviceName, + 'creativeAssets', + array( + 'methods' => array( + 'insert' => array( + 'path' => 'userprofiles/{profileId}/creativeAssets/{advertiserId}/creativeAssets', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'advertiserId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->creativeFieldValues = new Google_Service_Dfareporting_CreativeFieldValues_Resource( + $this, + $this->serviceName, + 'creativeFieldValues', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'creativeFieldId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'creativeFieldId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'creativeFieldId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'creativeFieldId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'creativeFieldId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'creativeFieldId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->creativeFields = new Google_Service_Dfareporting_CreativeFields_Resource( + $this, + $this->serviceName, + 'creativeFields', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'userprofiles/{profileId}/creativeFields/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'userprofiles/{profileId}/creativeFields/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/creativeFields', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/creativeFields', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'advertiserIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/creativeFields', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/creativeFields', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->creativeGroups = new Google_Service_Dfareporting_CreativeGroups_Resource( + $this, + $this->serviceName, + 'creativeGroups', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/creativeGroups/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/creativeGroups', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/creativeGroups', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'advertiserIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'groupNumber' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/creativeGroups', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/creativeGroups', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->creatives = new Google_Service_Dfareporting_Creatives_Resource( + $this, + $this->serviceName, + 'creatives', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/creatives/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/creatives', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/creatives', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sizeIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'archived' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'campaignId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'renderingIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'advertiserId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'studioCreativeId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'companionCreativeIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'active' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'creativeFieldIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'types' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/creatives', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/creatives', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->dimensionValues = new Google_Service_Dfareporting_DimensionValues_Resource( + $this, + $this->serviceName, + 'dimensionValues', + array( + 'methods' => array( + 'query' => array( + 'path' => 'userprofiles/{profileId}/dimensionvalues/query', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->directorySiteContacts = new Google_Service_Dfareporting_DirectorySiteContacts_Resource( + $this, + $this->serviceName, + 'directorySiteContacts', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/directorySiteContacts/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/directorySiteContacts', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'directorySiteIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->directorySites = new Google_Service_Dfareporting_DirectorySites_Resource( + $this, + $this->serviceName, + 'directorySites', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/directorySites/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/directorySites', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/directorySites', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'acceptsInterstitialPlacements' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'countryId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'acceptsInStreamVideoPlacements' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'acceptsPublisherPaidPlacements' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'parentId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'active' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'dfp_network_code' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->eventTags = new Google_Service_Dfareporting_EventTags_Resource( + $this, + $this->serviceName, + 'eventTags', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'userprofiles/{profileId}/eventTags/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'userprofiles/{profileId}/eventTags/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/eventTags', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/eventTags', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'campaignId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'enabled' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'advertiserId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'adId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'eventTagTypes' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'definitionsOnly' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/eventTags', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/eventTags', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->files = new Google_Service_Dfareporting_Files_Resource( + $this, + $this->serviceName, + 'files', + array( + 'methods' => array( + 'get' => array( + 'path' => 'reports/{reportId}/files/{fileId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'reportId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/files', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'scope' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->floodlightActivities = new Google_Service_Dfareporting_FloodlightActivities_Resource( + $this, + $this->serviceName, + 'floodlightActivities', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'userprofiles/{profileId}/floodlightActivities/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'generatetag' => array( + 'path' => 'userprofiles/{profileId}/floodlightActivities/generatetag', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'floodlightActivityId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'get' => array( + 'path' => 'userprofiles/{profileId}/floodlightActivities/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/floodlightActivities', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/floodlightActivities', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'floodlightActivityGroupIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'floodlightConfigurationId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'floodlightActivityGroupName' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'advertiserId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'tagString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'floodlightActivityGroupTagString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'floodlightActivityGroupType' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/floodlightActivities', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/floodlightActivities', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->floodlightActivityGroups = new Google_Service_Dfareporting_FloodlightActivityGroups_Resource( + $this, + $this->serviceName, + 'floodlightActivityGroups', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'userprofiles/{profileId}/floodlightActivityGroups/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'userprofiles/{profileId}/floodlightActivityGroups/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/floodlightActivityGroups', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/floodlightActivityGroups', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'floodlightConfigurationId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'advertiserId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'type' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/floodlightActivityGroups', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/floodlightActivityGroups', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->floodlightConfigurations = new Google_Service_Dfareporting_FloodlightConfigurations_Resource( + $this, + $this->serviceName, + 'floodlightConfigurations', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/floodlightConfigurations/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/floodlightConfigurations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/floodlightConfigurations', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/floodlightConfigurations', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->inventoryItems = new Google_Service_Dfareporting_InventoryItems_Resource( + $this, + $this->serviceName, + 'inventoryItems', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/projects/{projectId}/inventoryItems/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/projects/{projectId}/inventoryItems', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orderId' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'siteId' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'inPlan' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->landingPages = new Google_Service_Dfareporting_LandingPages_Resource( + $this, + $this->serviceName, + 'landingPages', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'campaignId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'campaignId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'campaignId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'campaignId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'campaignId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'campaignId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->metros = new Google_Service_Dfareporting_Metros_Resource( + $this, + $this->serviceName, + 'metros', + array( + 'methods' => array( + 'list' => array( + 'path' => 'userprofiles/{profileId}/metros', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->mobileCarriers = new Google_Service_Dfareporting_MobileCarriers_Resource( + $this, + $this->serviceName, + 'mobileCarriers', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/mobileCarriers/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/mobileCarriers', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->operatingSystemVersions = new Google_Service_Dfareporting_OperatingSystemVersions_Resource( + $this, + $this->serviceName, + 'operatingSystemVersions', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/operatingSystemVersions/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/operatingSystemVersions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->operatingSystems = new Google_Service_Dfareporting_OperatingSystems_Resource( + $this, + $this->serviceName, + 'operatingSystems', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/operatingSystems/{dartId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dartId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/operatingSystems', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->orderDocuments = new Google_Service_Dfareporting_OrderDocuments_Resource( + $this, + $this->serviceName, + 'orderDocuments', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/projects/{projectId}/orderDocuments/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/projects/{projectId}/orderDocuments', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orderId' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'siteId' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'approved' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->orders = new Google_Service_Dfareporting_Orders_Resource( + $this, + $this->serviceName, + 'orders', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/projects/{projectId}/orders/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/projects/{projectId}/orders', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'siteId' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->placementGroups = new Google_Service_Dfareporting_PlacementGroups_Resource( + $this, + $this->serviceName, + 'placementGroups', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/placementGroups/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/placementGroups', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/placementGroups', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'placementStrategyIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'archived' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'contentCategoryIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'directorySiteIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'advertiserIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'placementGroupType' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pricingTypes' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'siteIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'campaignIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/placementGroups', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/placementGroups', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->placementStrategies = new Google_Service_Dfareporting_PlacementStrategies_Resource( + $this, + $this->serviceName, + 'placementStrategies', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'userprofiles/{profileId}/placementStrategies/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'userprofiles/{profileId}/placementStrategies/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/placementStrategies', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/placementStrategies', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/placementStrategies', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/placementStrategies', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->placements = new Google_Service_Dfareporting_Placements_Resource( + $this, + $this->serviceName, + 'placements', + array( + 'methods' => array( + 'generatetags' => array( + 'path' => 'userprofiles/{profileId}/placements/generatetags', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'tagFormats' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'placementIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'campaignId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'get' => array( + 'path' => 'userprofiles/{profileId}/placements/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/placements', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/placements', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'placementStrategyIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'archived' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'contentCategoryIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'directorySiteIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'advertiserIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'paymentSource' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'sizeIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'compatibilities' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'groupIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'pricingTypes' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'siteIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'campaignIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/placements', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/placements', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->platformTypes = new Google_Service_Dfareporting_PlatformTypes_Resource( + $this, + $this->serviceName, + 'platformTypes', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/platformTypes/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/platformTypes', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->postalCodes = new Google_Service_Dfareporting_PostalCodes_Resource( + $this, + $this->serviceName, + 'postalCodes', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/postalCodes/{code}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'code' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/postalCodes', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects = new Google_Service_Dfareporting_Projects_Resource( + $this, + $this->serviceName, + 'projects', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/projects/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/projects', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'advertiserIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->regions = new Google_Service_Dfareporting_Regions_Resource( + $this, + $this->serviceName, + 'regions', + array( + 'methods' => array( + 'list' => array( + 'path' => 'userprofiles/{profileId}/regions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->remarketingListShares = new Google_Service_Dfareporting_RemarketingListShares_Resource( + $this, + $this->serviceName, + 'remarketingListShares', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/remarketingListShares/{remarketingListId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'remarketingListId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/remarketingListShares', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'remarketingListId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/remarketingListShares', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->remarketingLists = new Google_Service_Dfareporting_RemarketingLists_Resource( + $this, + $this->serviceName, + 'remarketingLists', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/remarketingLists/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/remarketingLists', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/remarketingLists', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'advertiserId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'name' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'active' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'floodlightActivityId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/remarketingLists', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/remarketingLists', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->reports = new Google_Service_Dfareporting_Reports_Resource( + $this, + $this->serviceName, + 'reports', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'userprofiles/{profileId}/reports/{reportId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'reportId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'userprofiles/{profileId}/reports/{reportId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'reportId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/reports', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/reports', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'scope' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/reports/{reportId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'reportId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'run' => array( + 'path' => 'userprofiles/{profileId}/reports/{reportId}/run', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'reportId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'synchronous' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/reports/{reportId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'reportId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->reports_compatibleFields = new Google_Service_Dfareporting_ReportsCompatibleFields_Resource( + $this, + $this->serviceName, + 'compatibleFields', + array( + 'methods' => array( + 'query' => array( + 'path' => 'userprofiles/{profileId}/reports/compatiblefields/query', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->reports_files = new Google_Service_Dfareporting_ReportsFiles_Resource( + $this, + $this->serviceName, + 'files', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/reports/{reportId}/files/{fileId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'reportId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/reports/{reportId}/files', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'reportId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->sites = new Google_Service_Dfareporting_Sites_Resource( + $this, + $this->serviceName, + 'sites', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/sites/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/sites', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/sites', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'acceptsInterstitialPlacements' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'subaccountId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'directorySiteIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'acceptsInStreamVideoPlacements' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'acceptsPublisherPaidPlacements' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'adWordsSite' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'unmappedSite' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'approved' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'campaignIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/sites', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/sites', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->sizes = new Google_Service_Dfareporting_Sizes_Resource( + $this, + $this->serviceName, + 'sizes', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/sizes/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/sizes', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/sizes', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'iabStandard' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'width' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'height' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->subaccounts = new Google_Service_Dfareporting_Subaccounts_Resource( + $this, + $this->serviceName, + 'subaccounts', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/subaccounts/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/subaccounts', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/subaccounts', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/subaccounts', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/subaccounts', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->targetableRemarketingLists = new Google_Service_Dfareporting_TargetableRemarketingLists_Resource( + $this, + $this->serviceName, + 'targetableRemarketingLists', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/targetableRemarketingLists/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/targetableRemarketingLists', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'advertiserId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'name' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'active' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->userProfiles = new Google_Service_Dfareporting_UserProfiles_Resource( + $this, + $this->serviceName, + 'userProfiles', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles', + 'httpMethod' => 'GET', + 'parameters' => array(), + ), + ) + ) + ); + $this->userRolePermissionGroups = new Google_Service_Dfareporting_UserRolePermissionGroups_Resource( + $this, + $this->serviceName, + 'userRolePermissionGroups', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/userRolePermissionGroups/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/userRolePermissionGroups', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->userRolePermissions = new Google_Service_Dfareporting_UserRolePermissions_Resource( + $this, + $this->serviceName, + 'userRolePermissions', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userprofiles/{profileId}/userRolePermissions/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/userRolePermissions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ), + ) + ) + ); + $this->userRoles = new Google_Service_Dfareporting_UserRoles_Resource( + $this, + $this->serviceName, + 'userRoles', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'userprofiles/{profileId}/userRoles/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'userprofiles/{profileId}/userRoles/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'userprofiles/{profileId}/userRoles', + 'httpMethod' => 'POST', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'userprofiles/{profileId}/userRoles', + 'httpMethod' => 'GET', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'searchString' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'subaccountId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortField' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'accountUserRoleOnly' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'patch' => array( + 'path' => 'userprofiles/{profileId}/userRoles', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'userprofiles/{profileId}/userRoles', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'profileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "accountActiveAdSummaries" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $accountActiveAdSummaries = $dfareportingService->accountActiveAdSummaries; + * + */ +class Google_Service_Dfareporting_AccountActiveAdSummaries_Resource extends Google_Service_Resource +{ + + /** + * Gets the account's active ad summary by account ID. + * (accountActiveAdSummaries.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $summaryAccountId Account ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_AccountActiveAdSummary + */ + public function get($profileId, $summaryAccountId, $optParams = array()) + { + $params = array('profileId' => $profileId, 'summaryAccountId' => $summaryAccountId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_AccountActiveAdSummary"); + } +} + +/** + * The "accountPermissionGroups" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $accountPermissionGroups = $dfareportingService->accountPermissionGroups; + * + */ +class Google_Service_Dfareporting_AccountPermissionGroups_Resource extends Google_Service_Resource +{ + + /** + * Gets one account permission group by ID. (accountPermissionGroups.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Account permission group ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_AccountPermissionGroup + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_AccountPermissionGroup"); + } + + /** + * Retrieves the list of account permission groups. + * (accountPermissionGroups.listAccountPermissionGroups) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_AccountPermissionGroupsListResponse + */ + public function listAccountPermissionGroups($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_AccountPermissionGroupsListResponse"); + } +} + +/** + * The "accountPermissions" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $accountPermissions = $dfareportingService->accountPermissions; + * + */ +class Google_Service_Dfareporting_AccountPermissions_Resource extends Google_Service_Resource +{ + + /** + * Gets one account permission by ID. (accountPermissions.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Account permission ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_AccountPermission + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_AccountPermission"); + } + + /** + * Retrieves the list of account permissions. + * (accountPermissions.listAccountPermissions) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_AccountPermissionsListResponse + */ + public function listAccountPermissions($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_AccountPermissionsListResponse"); + } +} + +/** + * The "accountUserProfiles" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $accountUserProfiles = $dfareportingService->accountUserProfiles; + * + */ +class Google_Service_Dfareporting_AccountUserProfiles_Resource extends Google_Service_Resource +{ + + /** + * Gets one account user profile by ID. (accountUserProfiles.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id User profile ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_AccountUserProfile + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_AccountUserProfile"); + } + + /** + * Inserts a new account user profile. (accountUserProfiles.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_AccountUserProfile $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_AccountUserProfile + */ + public function insert($profileId, Google_Service_Dfareporting_AccountUserProfile $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_AccountUserProfile"); + } + + /** + * Retrieves a list of account user profiles, possibly filtered. + * (accountUserProfiles.listAccountUserProfiles) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string searchString Allows searching for objects by name, ID or + * email. Wildcards (*) are allowed. For example, "user profile*2015" will + * return objects with names like "user profile June 2015", "user profile April + * 2015", or simply "user profile 2015". Most of the searches also add wildcards + * implicitly at the start and the end of the search string. For example, a + * search string of "user profile" will match objects with name "my user + * profile", "user profile 2015", or simply "user profile". + * @opt_param string subaccountId Select only user profiles with the specified + * subaccount ID. + * @opt_param string sortField Field by which to sort the list. + * @opt_param string ids Select only user profiles with these IDs. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string userRoleId Select only user profiles with the specified + * user role ID. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @opt_param bool active Select only active user profiles. + * @return Google_Service_Dfareporting_AccountUserProfilesListResponse + */ + public function listAccountUserProfiles($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_AccountUserProfilesListResponse"); + } + + /** + * Updates an existing account user profile. This method supports patch + * semantics. (accountUserProfiles.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id User profile ID. + * @param Google_AccountUserProfile $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_AccountUserProfile + */ + public function patch($profileId, $id, Google_Service_Dfareporting_AccountUserProfile $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_AccountUserProfile"); + } + + /** + * Updates an existing account user profile. (accountUserProfiles.update) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_AccountUserProfile $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_AccountUserProfile + */ + public function update($profileId, Google_Service_Dfareporting_AccountUserProfile $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_AccountUserProfile"); + } +} + +/** + * The "accounts" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $accounts = $dfareportingService->accounts; + * + */ +class Google_Service_Dfareporting_Accounts_Resource extends Google_Service_Resource +{ + + /** + * Gets one account by ID. (accounts.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Account ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Account + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_Account"); + } + + /** + * Retrieves the list of accounts, possibly filtered. (accounts.listAccounts) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string searchString Allows searching for objects by name or ID. + * Wildcards (*) are allowed. For example, "account*2015" will return objects + * with names like "account June 2015", "account April 2015", or simply "account + * 2015". Most of the searches also add wildcards implicitly at the start and + * the end of the search string. For example, a search string of "account" will + * match objects with name "my account", "account 2015", or simply "account". + * @opt_param string sortField Field by which to sort the list. + * @opt_param string ids Select only accounts with these IDs. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @opt_param bool active Select only active accounts. Don't set this field to + * select both active and non-active accounts. + * @return Google_Service_Dfareporting_AccountsListResponse + */ + public function listAccounts($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_AccountsListResponse"); + } + + /** + * Updates an existing account. This method supports patch semantics. + * (accounts.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Account ID. + * @param Google_Account $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Account + */ + public function patch($profileId, $id, Google_Service_Dfareporting_Account $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_Account"); + } + + /** + * Updates an existing account. (accounts.update) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Account $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Account + */ + public function update($profileId, Google_Service_Dfareporting_Account $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_Account"); + } +} + +/** + * The "ads" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $ads = $dfareportingService->ads; + * + */ +class Google_Service_Dfareporting_Ads_Resource extends Google_Service_Resource +{ + + /** + * Gets one ad by ID. (ads.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Ad ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Ad + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_Ad"); + } + + /** + * Inserts a new ad. (ads.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Ad $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Ad + */ + public function insert($profileId, Google_Service_Dfareporting_Ad $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_Ad"); + } + + /** + * Retrieves a list of ads, possibly filtered. (ads.listAds) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string landingPageIds Select only ads with these landing page IDs. + * @opt_param string overriddenEventTagId Select only ads with this event tag + * override ID. + * @opt_param string campaignIds Select only ads with these campaign IDs. + * @opt_param bool archived Select only archived ads. + * @opt_param string creativeOptimizationConfigurationIds Select only ads with + * these creative optimization configuration IDs. + * @opt_param bool sslCompliant Select only ads that are SSL-compliant. + * @opt_param string sizeIds Select only ads with these size IDs. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @opt_param string type Select only ads with these types. + * @opt_param bool sslRequired Select only ads that require SSL. + * @opt_param string creativeIds Select only ads with these creative IDs + * assigned. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string creativeType Select only ads with the specified + * creativeType. + * @opt_param string placementIds Select only ads with these placement IDs + * assigned. + * @opt_param bool active Select only active ads. + * @opt_param string compatibility Select default ads with the specified + * compatibility. Applicable when type is AD_SERVING_DEFAULT_AD. WEB and + * WEB_INTERSTITIAL refer to rendering either on desktop or on mobile devices + * for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are + * for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering an in- + * stream video ads developed with the VAST standard. + * @opt_param string advertiserId Select only ads with this advertiser ID. + * @opt_param string searchString Allows searching for objects by name or ID. + * Wildcards (*) are allowed. For example, "ad*2015" will return objects with + * names like "ad June 2015", "ad April 2015", or simply "ad 2015". Most of the + * searches also add wildcards implicitly at the start and the end of the search + * string. For example, a search string of "ad" will match objects with name "my + * ad", "ad 2015", or simply "ad". + * @opt_param string sortField Field by which to sort the list. + * @opt_param string audienceSegmentIds Select only ads with these audience + * segment IDs. + * @opt_param string ids Select only ads with these IDs. + * @opt_param string remarketingListIds Select only ads whose list targeting + * expression use these remarketing list IDs. + * @opt_param bool dynamicClickTracker Select only dynamic click trackers. + * Applicable when type is AD_SERVING_CLICK_TRACKER. If true, select dynamic + * click trackers. If false, select static click trackers. Leave unset to select + * both. + * @return Google_Service_Dfareporting_AdsListResponse + */ + public function listAds($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_AdsListResponse"); + } + + /** + * Updates an existing ad. This method supports patch semantics. (ads.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Ad ID. + * @param Google_Ad $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Ad + */ + public function patch($profileId, $id, Google_Service_Dfareporting_Ad $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_Ad"); + } + + /** + * Updates an existing ad. (ads.update) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Ad $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Ad + */ + public function update($profileId, Google_Service_Dfareporting_Ad $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_Ad"); + } +} + +/** + * The "advertiserGroups" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $advertiserGroups = $dfareportingService->advertiserGroups; + * + */ +class Google_Service_Dfareporting_AdvertiserGroups_Resource extends Google_Service_Resource +{ + + /** + * Deletes an existing advertiser group. (advertiserGroups.delete) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Advertiser group ID. + * @param array $optParams Optional parameters. + */ + public function delete($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Gets one advertiser group by ID. (advertiserGroups.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Advertiser group ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_AdvertiserGroup + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_AdvertiserGroup"); + } + + /** + * Inserts a new advertiser group. (advertiserGroups.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_AdvertiserGroup $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_AdvertiserGroup + */ + public function insert($profileId, Google_Service_Dfareporting_AdvertiserGroup $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_AdvertiserGroup"); + } + + /** + * Retrieves a list of advertiser groups, possibly filtered. + * (advertiserGroups.listAdvertiserGroups) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string searchString Allows searching for objects by name or ID. + * Wildcards (*) are allowed. For example, "advertiser*2015" will return objects + * with names like "advertiser group June 2015", "advertiser group April 2015", + * or simply "advertiser group 2015". Most of the searches also add wildcards + * implicitly at the start and the end of the search string. For example, a + * search string of "advertisergroup" will match objects with name "my + * advertisergroup", "advertisergroup 2015", or simply "advertisergroup". + * @opt_param string sortField Field by which to sort the list. + * @opt_param string ids Select only advertiser groups with these IDs. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @return Google_Service_Dfareporting_AdvertiserGroupsListResponse + */ + public function listAdvertiserGroups($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_AdvertiserGroupsListResponse"); + } + + /** + * Updates an existing advertiser group. This method supports patch semantics. + * (advertiserGroups.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Advertiser group ID. + * @param Google_AdvertiserGroup $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_AdvertiserGroup + */ + public function patch($profileId, $id, Google_Service_Dfareporting_AdvertiserGroup $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_AdvertiserGroup"); + } + + /** + * Updates an existing advertiser group. (advertiserGroups.update) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_AdvertiserGroup $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_AdvertiserGroup + */ + public function update($profileId, Google_Service_Dfareporting_AdvertiserGroup $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_AdvertiserGroup"); + } +} + +/** + * The "advertisers" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $advertisers = $dfareportingService->advertisers; + * + */ +class Google_Service_Dfareporting_Advertisers_Resource extends Google_Service_Resource +{ + + /** + * Gets one advertiser by ID. (advertisers.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Advertiser ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Advertiser + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_Advertiser"); + } + + /** + * Inserts a new advertiser. (advertisers.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Advertiser $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Advertiser + */ + public function insert($profileId, Google_Service_Dfareporting_Advertiser $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_Advertiser"); + } + + /** + * Retrieves a list of advertisers, possibly filtered. + * (advertisers.listAdvertisers) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string status Select only advertisers with the specified status. + * @opt_param string searchString Allows searching for objects by name or ID. + * Wildcards (*) are allowed. For example, "advertiser*2015" will return objects + * with names like "advertiser June 2015", "advertiser April 2015", or simply + * "advertiser 2015". Most of the searches also add wildcards implicitly at the + * start and the end of the search string. For example, a search string of + * "advertiser" will match objects with name "my advertiser", "advertiser 2015", + * or simply "advertiser". + * @opt_param string subaccountId Select only advertisers with these subaccount + * IDs. + * @opt_param bool includeAdvertisersWithoutGroupsOnly Select only advertisers + * which do not belong to any advertiser group. + * @opt_param string sortField Field by which to sort the list. + * @opt_param string ids Select only advertisers with these IDs. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param bool onlyParent Select only advertisers which use another + * advertiser's floodlight configuration. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @opt_param string floodlightConfigurationIds Select only advertisers with + * these floodlight configuration IDs. + * @opt_param string advertiserGroupIds Select only advertisers with these + * advertiser group IDs. + * @return Google_Service_Dfareporting_AdvertisersListResponse + */ + public function listAdvertisers($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_AdvertisersListResponse"); + } + + /** + * Updates an existing advertiser. This method supports patch semantics. + * (advertisers.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Advertiser ID. + * @param Google_Advertiser $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Advertiser + */ + public function patch($profileId, $id, Google_Service_Dfareporting_Advertiser $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_Advertiser"); + } + + /** + * Updates an existing advertiser. (advertisers.update) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Advertiser $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Advertiser + */ + public function update($profileId, Google_Service_Dfareporting_Advertiser $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_Advertiser"); + } +} + +/** + * The "browsers" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $browsers = $dfareportingService->browsers; + * + */ +class Google_Service_Dfareporting_Browsers_Resource extends Google_Service_Resource +{ + + /** + * Retrieves a list of browsers. (browsers.listBrowsers) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_BrowsersListResponse + */ + public function listBrowsers($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_BrowsersListResponse"); + } +} + +/** + * The "campaignCreativeAssociations" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $campaignCreativeAssociations = $dfareportingService->campaignCreativeAssociations; + * + */ +class Google_Service_Dfareporting_CampaignCreativeAssociations_Resource extends Google_Service_Resource +{ + + /** + * Associates a creative with the specified campaign. This method creates a + * default ad with dimensions matching the creative in the campaign if such a + * default ad does not exist already. (campaignCreativeAssociations.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param string $campaignId Campaign ID in this association. + * @param Google_CampaignCreativeAssociation $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_CampaignCreativeAssociation + */ + public function insert($profileId, $campaignId, Google_Service_Dfareporting_CampaignCreativeAssociation $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'campaignId' => $campaignId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_CampaignCreativeAssociation"); + } + + /** + * Retrieves the list of creative IDs associated with the specified campaign. + * (campaignCreativeAssociations.listCampaignCreativeAssociations) + * + * @param string $profileId User profile ID associated with this request. + * @param string $campaignId Campaign ID in this association. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @opt_param int maxResults Maximum number of results to return. + * @return Google_Service_Dfareporting_CampaignCreativeAssociationsListResponse + */ + public function listCampaignCreativeAssociations($profileId, $campaignId, $optParams = array()) + { + $params = array('profileId' => $profileId, 'campaignId' => $campaignId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_CampaignCreativeAssociationsListResponse"); + } +} + +/** + * The "campaigns" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $campaigns = $dfareportingService->campaigns; + * + */ +class Google_Service_Dfareporting_Campaigns_Resource extends Google_Service_Resource +{ + + /** + * Gets one campaign by ID. (campaigns.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Campaign ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Campaign + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_Campaign"); + } + + /** + * Inserts a new campaign. (campaigns.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param string $defaultLandingPageName Default landing page name for this new + * campaign. Must be less than 256 characters long. + * @param string $defaultLandingPageUrl Default landing page URL for this new + * campaign. + * @param Google_Campaign $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Campaign + */ + public function insert($profileId, $defaultLandingPageName, $defaultLandingPageUrl, Google_Service_Dfareporting_Campaign $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'defaultLandingPageName' => $defaultLandingPageName, 'defaultLandingPageUrl' => $defaultLandingPageUrl, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_Campaign"); + } + + /** + * Retrieves a list of campaigns, possibly filtered. (campaigns.listCampaigns) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param bool archived Select only archived campaigns. Don't set this field + * to select both archived and non-archived campaigns. + * @opt_param string searchString Allows searching for campaigns by name or ID. + * Wildcards (*) are allowed. For example, "campaign*2015" will return campaigns + * with names like "campaign June 2015", "campaign April 2015", or simply + * "campaign 2015". Most of the searches also add wildcards implicitly at the + * start and the end of the search string. For example, a search string of + * "campaign" will match campaigns with name "my campaign", "campaign 2015", or + * simply "campaign". + * @opt_param string subaccountId Select only campaigns that belong to this + * subaccount. + * @opt_param string sortField Field by which to sort the list. + * @opt_param string advertiserIds Select only campaigns that belong to these + * advertisers. + * @opt_param string ids Select only campaigns with these IDs. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string excludedIds Exclude campaigns with these IDs. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string advertiserGroupIds Select only campaigns whose advertisers + * belong to these advertiser groups. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @opt_param string overriddenEventTagId Select only campaigns that have + * overridden this event tag ID. + * @opt_param bool atLeastOneOptimizationActivity Select only campaigns that + * have at least one optimization activity. + * @return Google_Service_Dfareporting_CampaignsListResponse + */ + public function listCampaigns($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_CampaignsListResponse"); + } + + /** + * Updates an existing campaign. This method supports patch semantics. + * (campaigns.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Campaign ID. + * @param Google_Campaign $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Campaign + */ + public function patch($profileId, $id, Google_Service_Dfareporting_Campaign $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_Campaign"); + } + + /** + * Updates an existing campaign. (campaigns.update) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Campaign $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Campaign + */ + public function update($profileId, Google_Service_Dfareporting_Campaign $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_Campaign"); + } +} + +/** + * The "changeLogs" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $changeLogs = $dfareportingService->changeLogs; + * + */ +class Google_Service_Dfareporting_ChangeLogs_Resource extends Google_Service_Resource +{ + + /** + * Gets one change log by ID. (changeLogs.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Change log ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_ChangeLog + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_ChangeLog"); + } + + /** + * Retrieves a list of change logs. (changeLogs.listChangeLogs) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string minChangeTime Select only change logs whose change time is + * before the specified minChangeTime.The time should be formatted as an RFC3339 + * date/time string. For example, for 10:54 PM on July 18th, 2015, in the + * America/New York time zone, the format is "2015-07-18T22:54:00-04:00". In + * other words, the year, month, day, the letter T, the hour (24-hour clock + * system), minute, second, and then the time zone offset. + * @opt_param string searchString Select only change logs whose object ID, user + * name, old or new values match the search string. + * @opt_param string maxChangeTime Select only change logs whose change time is + * before the specified maxChangeTime.The time should be formatted as an RFC3339 + * date/time string. For example, for 10:54 PM on July 18th, 2015, in the + * America/New York time zone, the format is "2015-07-18T22:54:00-04:00". In + * other words, the year, month, day, the letter T, the hour (24-hour clock + * system), minute, second, and then the time zone offset. + * @opt_param string userProfileIds Select only change logs with these user + * profile IDs. + * @opt_param string ids Select only change logs with these IDs. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string objectIds Select only change logs with these object IDs. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string action Select only change logs with the specified action. + * @opt_param string objectType Select only change logs with the specified + * object type. + * @return Google_Service_Dfareporting_ChangeLogsListResponse + */ + public function listChangeLogs($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_ChangeLogsListResponse"); + } +} + +/** + * The "cities" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $cities = $dfareportingService->cities; + * + */ +class Google_Service_Dfareporting_Cities_Resource extends Google_Service_Resource +{ + + /** + * Retrieves a list of cities, possibly filtered. (cities.listCities) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string dartIds Select only cities with these DART IDs. + * @opt_param string namePrefix Select only cities with names starting with this + * prefix. + * @opt_param string regionDartIds Select only cities from these regions. + * @opt_param string countryDartIds Select only cities from these countries. + * @return Google_Service_Dfareporting_CitiesListResponse + */ + public function listCities($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_CitiesListResponse"); + } +} + +/** + * The "connectionTypes" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $connectionTypes = $dfareportingService->connectionTypes; + * + */ +class Google_Service_Dfareporting_ConnectionTypes_Resource extends Google_Service_Resource +{ + + /** + * Gets one connection type by ID. (connectionTypes.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Connection type ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_ConnectionType + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_ConnectionType"); + } + + /** + * Retrieves a list of connection types. (connectionTypes.listConnectionTypes) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_ConnectionTypesListResponse + */ + public function listConnectionTypes($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_ConnectionTypesListResponse"); + } +} + +/** + * The "contentCategories" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $contentCategories = $dfareportingService->contentCategories; + * + */ +class Google_Service_Dfareporting_ContentCategories_Resource extends Google_Service_Resource +{ + + /** + * Deletes an existing content category. (contentCategories.delete) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Content category ID. + * @param array $optParams Optional parameters. + */ + public function delete($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Gets one content category by ID. (contentCategories.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Content category ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_ContentCategory + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_ContentCategory"); + } + + /** + * Inserts a new content category. (contentCategories.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_ContentCategory $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_ContentCategory + */ + public function insert($profileId, Google_Service_Dfareporting_ContentCategory $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_ContentCategory"); + } + + /** + * Retrieves a list of content categories, possibly filtered. + * (contentCategories.listContentCategories) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string searchString Allows searching for objects by name or ID. + * Wildcards (*) are allowed. For example, "contentcategory*2015" will return + * objects with names like "contentcategory June 2015", "contentcategory April + * 2015", or simply "contentcategory 2015". Most of the searches also add + * wildcards implicitly at the start and the end of the search string. For + * example, a search string of "contentcategory" will match objects with name + * "my contentcategory", "contentcategory 2015", or simply "contentcategory". + * @opt_param string sortField Field by which to sort the list. + * @opt_param string ids Select only content categories with these IDs. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @return Google_Service_Dfareporting_ContentCategoriesListResponse + */ + public function listContentCategories($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_ContentCategoriesListResponse"); + } + + /** + * Updates an existing content category. This method supports patch semantics. + * (contentCategories.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Content category ID. + * @param Google_ContentCategory $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_ContentCategory + */ + public function patch($profileId, $id, Google_Service_Dfareporting_ContentCategory $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_ContentCategory"); + } + + /** + * Updates an existing content category. (contentCategories.update) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_ContentCategory $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_ContentCategory + */ + public function update($profileId, Google_Service_Dfareporting_ContentCategory $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_ContentCategory"); + } +} + +/** + * The "countries" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $countries = $dfareportingService->countries; + * + */ +class Google_Service_Dfareporting_Countries_Resource extends Google_Service_Resource +{ + + /** + * Gets one country by ID. (countries.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $dartId Country DART ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Country + */ + public function get($profileId, $dartId, $optParams = array()) + { + $params = array('profileId' => $profileId, 'dartId' => $dartId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_Country"); + } + + /** + * Retrieves a list of countries. (countries.listCountries) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_CountriesListResponse + */ + public function listCountries($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_CountriesListResponse"); + } +} + +/** + * The "creativeAssets" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $creativeAssets = $dfareportingService->creativeAssets; + * + */ +class Google_Service_Dfareporting_CreativeAssets_Resource extends Google_Service_Resource +{ + + /** + * Inserts a new creative asset. (creativeAssets.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param string $advertiserId Advertiser ID of this creative. This is a + * required field. + * @param Google_CreativeAssetMetadata $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_CreativeAssetMetadata + */ + public function insert($profileId, $advertiserId, Google_Service_Dfareporting_CreativeAssetMetadata $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'advertiserId' => $advertiserId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_CreativeAssetMetadata"); + } +} + +/** + * The "creativeFieldValues" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $creativeFieldValues = $dfareportingService->creativeFieldValues; + * + */ +class Google_Service_Dfareporting_CreativeFieldValues_Resource extends Google_Service_Resource +{ + + /** + * Deletes an existing creative field value. (creativeFieldValues.delete) + * + * @param string $profileId User profile ID associated with this request. + * @param string $creativeFieldId Creative field ID for this creative field + * value. + * @param string $id Creative Field Value ID + * @param array $optParams Optional parameters. + */ + public function delete($profileId, $creativeFieldId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'creativeFieldId' => $creativeFieldId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Gets one creative field value by ID. (creativeFieldValues.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $creativeFieldId Creative field ID for this creative field + * value. + * @param string $id Creative Field Value ID + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_CreativeFieldValue + */ + public function get($profileId, $creativeFieldId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'creativeFieldId' => $creativeFieldId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_CreativeFieldValue"); + } + + /** + * Inserts a new creative field value. (creativeFieldValues.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param string $creativeFieldId Creative field ID for this creative field + * value. + * @param Google_CreativeFieldValue $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_CreativeFieldValue + */ + public function insert($profileId, $creativeFieldId, Google_Service_Dfareporting_CreativeFieldValue $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'creativeFieldId' => $creativeFieldId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_CreativeFieldValue"); + } + + /** + * Retrieves a list of creative field values, possibly filtered. + * (creativeFieldValues.listCreativeFieldValues) + * + * @param string $profileId User profile ID associated with this request. + * @param string $creativeFieldId Creative field ID for this creative field + * value. + * @param array $optParams Optional parameters. + * + * @opt_param string searchString Allows searching for creative field values by + * their values. Wildcards (e.g. *) are not allowed. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string sortField Field by which to sort the list. + * @opt_param string ids Select only creative field values with these IDs. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @return Google_Service_Dfareporting_CreativeFieldValuesListResponse + */ + public function listCreativeFieldValues($profileId, $creativeFieldId, $optParams = array()) + { + $params = array('profileId' => $profileId, 'creativeFieldId' => $creativeFieldId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_CreativeFieldValuesListResponse"); + } + + /** + * Updates an existing creative field value. This method supports patch + * semantics. (creativeFieldValues.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $creativeFieldId Creative field ID for this creative field + * value. + * @param string $id Creative Field Value ID + * @param Google_CreativeFieldValue $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_CreativeFieldValue + */ + public function patch($profileId, $creativeFieldId, $id, Google_Service_Dfareporting_CreativeFieldValue $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'creativeFieldId' => $creativeFieldId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_CreativeFieldValue"); + } + + /** + * Updates an existing creative field value. (creativeFieldValues.update) + * + * @param string $profileId User profile ID associated with this request. + * @param string $creativeFieldId Creative field ID for this creative field + * value. + * @param Google_CreativeFieldValue $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_CreativeFieldValue + */ + public function update($profileId, $creativeFieldId, Google_Service_Dfareporting_CreativeFieldValue $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'creativeFieldId' => $creativeFieldId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_CreativeFieldValue"); + } +} + +/** + * The "creativeFields" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $creativeFields = $dfareportingService->creativeFields; + * + */ +class Google_Service_Dfareporting_CreativeFields_Resource extends Google_Service_Resource +{ + + /** + * Deletes an existing creative field. (creativeFields.delete) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Creative Field ID + * @param array $optParams Optional parameters. + */ + public function delete($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Gets one creative field by ID. (creativeFields.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Creative Field ID + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_CreativeField + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_CreativeField"); + } + + /** + * Inserts a new creative field. (creativeFields.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_CreativeField $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_CreativeField + */ + public function insert($profileId, Google_Service_Dfareporting_CreativeField $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_CreativeField"); + } + + /** + * Retrieves a list of creative fields, possibly filtered. + * (creativeFields.listCreativeFields) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string searchString Allows searching for creative fields by name + * or ID. Wildcards (*) are allowed. For example, "creativefield*2015" will + * return creative fields with names like "creativefield June 2015", + * "creativefield April 2015", or simply "creativefield 2015". Most of the + * searches also add wild-cards implicitly at the start and the end of the + * search string. For example, a search string of "creativefield" will match + * creative fields with the name "my creativefield", "creativefield 2015", or + * simply "creativefield". + * @opt_param string sortField Field by which to sort the list. + * @opt_param string advertiserIds Select only creative fields that belong to + * these advertisers. + * @opt_param string ids Select only creative fields with these IDs. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @return Google_Service_Dfareporting_CreativeFieldsListResponse + */ + public function listCreativeFields($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_CreativeFieldsListResponse"); + } + + /** + * Updates an existing creative field. This method supports patch semantics. + * (creativeFields.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Creative Field ID + * @param Google_CreativeField $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_CreativeField + */ + public function patch($profileId, $id, Google_Service_Dfareporting_CreativeField $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_CreativeField"); + } + + /** + * Updates an existing creative field. (creativeFields.update) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_CreativeField $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_CreativeField + */ + public function update($profileId, Google_Service_Dfareporting_CreativeField $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_CreativeField"); + } +} + +/** + * The "creativeGroups" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $creativeGroups = $dfareportingService->creativeGroups; + * + */ +class Google_Service_Dfareporting_CreativeGroups_Resource extends Google_Service_Resource +{ + + /** + * Gets one creative group by ID. (creativeGroups.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Creative group ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_CreativeGroup + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_CreativeGroup"); + } + + /** + * Inserts a new creative group. (creativeGroups.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_CreativeGroup $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_CreativeGroup + */ + public function insert($profileId, Google_Service_Dfareporting_CreativeGroup $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_CreativeGroup"); + } + + /** + * Retrieves a list of creative groups, possibly filtered. + * (creativeGroups.listCreativeGroups) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string searchString Allows searching for creative groups by name + * or ID. Wildcards (*) are allowed. For example, "creativegroup*2015" will + * return creative groups with names like "creativegroup June 2015", + * "creativegroup April 2015", or simply "creativegroup 2015". Most of the + * searches also add wild-cards implicitly at the start and the end of the + * search string. For example, a search string of "creativegroup" will match + * creative groups with the name "my creativegroup", "creativegroup 2015", or + * simply "creativegroup". + * @opt_param string sortField Field by which to sort the list. + * @opt_param string advertiserIds Select only creative groups that belong to + * these advertisers. + * @opt_param int groupNumber Select only creative groups that belong to this + * subgroup. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string ids Select only creative groups with these IDs. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @return Google_Service_Dfareporting_CreativeGroupsListResponse + */ + public function listCreativeGroups($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_CreativeGroupsListResponse"); + } + + /** + * Updates an existing creative group. This method supports patch semantics. + * (creativeGroups.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Creative group ID. + * @param Google_CreativeGroup $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_CreativeGroup + */ + public function patch($profileId, $id, Google_Service_Dfareporting_CreativeGroup $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_CreativeGroup"); + } + + /** + * Updates an existing creative group. (creativeGroups.update) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_CreativeGroup $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_CreativeGroup + */ + public function update($profileId, Google_Service_Dfareporting_CreativeGroup $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_CreativeGroup"); + } +} + +/** + * The "creatives" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $creatives = $dfareportingService->creatives; + * + */ +class Google_Service_Dfareporting_Creatives_Resource extends Google_Service_Resource +{ + + /** + * Gets one creative by ID. (creatives.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Creative ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Creative + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_Creative"); + } + + /** + * Inserts a new creative. (creatives.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Creative $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Creative + */ + public function insert($profileId, Google_Service_Dfareporting_Creative $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_Creative"); + } + + /** + * Retrieves a list of creatives, possibly filtered. (creatives.listCreatives) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string sizeIds Select only creatives with these size IDs. + * @opt_param bool archived Select only archived creatives. Leave blank to + * select archived and unarchived creatives. + * @opt_param string searchString Allows searching for objects by name or ID. + * Wildcards (*) are allowed. For example, "creative*2015" will return objects + * with names like "creative June 2015", "creative April 2015", or simply + * "creative 2015". Most of the searches also add wildcards implicitly at the + * start and the end of the search string. For example, a search string of + * "creative" will match objects with name "my creative", "creative 2015", or + * simply "creative". + * @opt_param string campaignId Select only creatives with this campaign ID. + * @opt_param string sortField Field by which to sort the list. + * @opt_param string renderingIds Select only creatives with these rendering + * IDs. + * @opt_param string ids Select only creatives with these IDs. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string advertiserId Select only creatives with this advertiser ID. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string studioCreativeId Select only creatives corresponding to + * this Studio creative ID. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @opt_param string companionCreativeIds Select only in-stream video creatives + * with these companion IDs. + * @opt_param bool active Select only active creatives. Leave blank to select + * active and inactive creatives. + * @opt_param string creativeFieldIds Select only creatives with these creative + * field IDs. + * @opt_param string types Select only creatives with these creative types. + * @return Google_Service_Dfareporting_CreativesListResponse + */ + public function listCreatives($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_CreativesListResponse"); + } + + /** + * Updates an existing creative. This method supports patch semantics. + * (creatives.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Creative ID. + * @param Google_Creative $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Creative + */ + public function patch($profileId, $id, Google_Service_Dfareporting_Creative $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_Creative"); + } + + /** + * Updates an existing creative. (creatives.update) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Creative $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Creative + */ + public function update($profileId, Google_Service_Dfareporting_Creative $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_Creative"); + } +} + +/** + * The "dimensionValues" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $dimensionValues = $dfareportingService->dimensionValues; + * + */ +class Google_Service_Dfareporting_DimensionValues_Resource extends Google_Service_Resource +{ + + /** + * Retrieves list of report dimension values for a list of filters. + * (dimensionValues.query) + * + * @param string $profileId The DFA user profile ID. + * @param Google_DimensionValueRequest $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The value of the nextToken from the previous + * result page. + * @opt_param int maxResults Maximum number of results to return. + * @return Google_Service_Dfareporting_DimensionValueList + */ + public function query($profileId, Google_Service_Dfareporting_DimensionValueRequest $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('query', array($params), "Google_Service_Dfareporting_DimensionValueList"); + } +} + +/** + * The "directorySiteContacts" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $directorySiteContacts = $dfareportingService->directorySiteContacts; + * + */ +class Google_Service_Dfareporting_DirectorySiteContacts_Resource extends Google_Service_Resource +{ + + /** + * Gets one directory site contact by ID. (directorySiteContacts.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Directory site contact ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_DirectorySiteContact + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_DirectorySiteContact"); + } + + /** + * Retrieves a list of directory site contacts, possibly filtered. + * (directorySiteContacts.listDirectorySiteContacts) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string searchString Allows searching for objects by name, ID or + * email. Wildcards (*) are allowed. For example, "directory site contact*2015" + * will return objects with names like "directory site contact June 2015", + * "directory site contact April 2015", or simply "directory site contact 2015". + * Most of the searches also add wildcards implicitly at the start and the end + * of the search string. For example, a search string of "directory site + * contact" will match objects with name "my directory site contact", "directory + * site contact 2015", or simply "directory site contact". + * @opt_param string directorySiteIds Select only directory site contacts with + * these directory site IDs. This is a required field. + * @opt_param string sortField Field by which to sort the list. + * @opt_param string ids Select only directory site contacts with these IDs. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @return Google_Service_Dfareporting_DirectorySiteContactsListResponse + */ + public function listDirectorySiteContacts($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_DirectorySiteContactsListResponse"); + } +} + +/** + * The "directorySites" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $directorySites = $dfareportingService->directorySites; + * + */ +class Google_Service_Dfareporting_DirectorySites_Resource extends Google_Service_Resource +{ + + /** + * Gets one directory site by ID. (directorySites.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Directory site ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_DirectorySite + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_DirectorySite"); + } + + /** + * Inserts a new directory site. (directorySites.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_DirectorySite $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_DirectorySite + */ + public function insert($profileId, Google_Service_Dfareporting_DirectorySite $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_DirectorySite"); + } + + /** + * Retrieves a list of directory sites, possibly filtered. + * (directorySites.listDirectorySites) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param bool acceptsInterstitialPlacements This search filter is no longer + * supported and will have no effect on the results returned. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @opt_param string searchString Allows searching for objects by name, ID or + * URL. Wildcards (*) are allowed. For example, "directory site*2015" will + * return objects with names like "directory site June 2015", "directory site + * April 2015", or simply "directory site 2015". Most of the searches also add + * wildcards implicitly at the start and the end of the search string. For + * example, a search string of "directory site" will match objects with name "my + * directory site", "directory site 2015" or simply, "directory site". + * @opt_param string countryId Select only directory sites with this country ID. + * @opt_param string sortField Field by which to sort the list. + * @opt_param bool acceptsInStreamVideoPlacements This search filter is no + * longer supported and will have no effect on the results returned. + * @opt_param string ids Select only directory sites with these IDs. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param bool acceptsPublisherPaidPlacements Select only directory sites + * that accept publisher paid placements. This field can be left blank. + * @opt_param string parentId Select only directory sites with this parent ID. + * @opt_param bool active Select only active directory sites. Leave blank to + * retrieve both active and inactive directory sites. + * @opt_param string dfp_network_code Select only directory sites with this DFP + * network code. + * @return Google_Service_Dfareporting_DirectorySitesListResponse + */ + public function listDirectorySites($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_DirectorySitesListResponse"); + } +} + +/** + * The "eventTags" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $eventTags = $dfareportingService->eventTags; + * + */ +class Google_Service_Dfareporting_EventTags_Resource extends Google_Service_Resource +{ + + /** + * Deletes an existing event tag. (eventTags.delete) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Event tag ID. + * @param array $optParams Optional parameters. + */ + public function delete($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Gets one event tag by ID. (eventTags.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Event tag ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_EventTag + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_EventTag"); + } + + /** + * Inserts a new event tag. (eventTags.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_EventTag $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_EventTag + */ + public function insert($profileId, Google_Service_Dfareporting_EventTag $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_EventTag"); + } + + /** + * Retrieves a list of event tags, possibly filtered. (eventTags.listEventTags) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string searchString Allows searching for objects by name or ID. + * Wildcards (*) are allowed. For example, "eventtag*2015" will return objects + * with names like "eventtag June 2015", "eventtag April 2015", or simply + * "eventtag 2015". Most of the searches also add wildcards implicitly at the + * start and the end of the search string. For example, a search string of + * "eventtag" will match objects with name "my eventtag", "eventtag 2015", or + * simply "eventtag". + * @opt_param string campaignId Select only event tags that belong to this + * campaign. + * @opt_param string sortField Field by which to sort the list. + * @opt_param bool enabled Select only enabled event tags. When definitionsOnly + * is set to true, only the specified advertiser or campaign's event tags' + * enabledByDefault field is examined. When definitionsOnly is set to false, the + * specified ad or specified campaign's parent advertiser's or parent campaign's + * event tags' enabledByDefault and status fields are examined as well. + * @opt_param string ids Select only event tags with these IDs. + * @opt_param string advertiserId Select only event tags that belong to this + * advertiser. + * @opt_param string adId Select only event tags that belong to this ad. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @opt_param string eventTagTypes Select only event tags with the specified + * event tag types. Event tag types can be used to specify whether to use a + * third-party pixel, a third-party JavaScript URL, or a third-party click- + * through URL for either impression or click tracking. + * @opt_param bool definitionsOnly Examine only the specified ad or campaign or + * advertiser's event tags for matching selector criteria. When set to false, + * the parent advertiser and parent campaign is examined as well. In addition, + * when set to false, the status field is examined as well along with the + * enabledByDefault field. + * @return Google_Service_Dfareporting_EventTagsListResponse + */ + public function listEventTags($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_EventTagsListResponse"); + } + + /** + * Updates an existing event tag. This method supports patch semantics. + * (eventTags.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Event tag ID. + * @param Google_EventTag $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_EventTag + */ + public function patch($profileId, $id, Google_Service_Dfareporting_EventTag $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_EventTag"); + } + + /** + * Updates an existing event tag. (eventTags.update) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_EventTag $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_EventTag + */ + public function update($profileId, Google_Service_Dfareporting_EventTag $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_EventTag"); + } +} + +/** + * The "files" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $files = $dfareportingService->files; + * + */ +class Google_Service_Dfareporting_Files_Resource extends Google_Service_Resource +{ + + /** + * Retrieves a report file by its report ID and file ID. (files.get) + * + * @param string $reportId The ID of the report. + * @param string $fileId The ID of the report file. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_DfareportingFile + */ + public function get($reportId, $fileId, $optParams = array()) + { + $params = array('reportId' => $reportId, 'fileId' => $fileId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_DfareportingFile"); + } + + /** + * Lists files for a user profile. (files.listFiles) + * + * @param string $profileId The DFA profile ID. + * @param array $optParams Optional parameters. + * + * @opt_param string sortField The field by which to sort the list. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken The value of the nextToken from the previous + * result page. + * @opt_param string sortOrder Order of sorted results, default is 'DESCENDING'. + * @opt_param string scope The scope that defines which results are returned, + * default is 'MINE'. + * @return Google_Service_Dfareporting_FileList + */ + public function listFiles($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_FileList"); + } +} + +/** + * The "floodlightActivities" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $floodlightActivities = $dfareportingService->floodlightActivities; + * + */ +class Google_Service_Dfareporting_FloodlightActivities_Resource extends Google_Service_Resource +{ + + /** + * Deletes an existing floodlight activity. (floodlightActivities.delete) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Floodlight activity ID. + * @param array $optParams Optional parameters. + */ + public function delete($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Generates a tag for a floodlight activity. (floodlightActivities.generatetag) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string floodlightActivityId Floodlight activity ID for which we + * want to generate a tag. + * @return Google_Service_Dfareporting_FloodlightActivitiesGenerateTagResponse + */ + public function generatetag($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('generatetag', array($params), "Google_Service_Dfareporting_FloodlightActivitiesGenerateTagResponse"); + } + + /** + * Gets one floodlight activity by ID. (floodlightActivities.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Floodlight activity ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_FloodlightActivity + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_FloodlightActivity"); + } + + /** + * Inserts a new floodlight activity. (floodlightActivities.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_FloodlightActivity $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_FloodlightActivity + */ + public function insert($profileId, Google_Service_Dfareporting_FloodlightActivity $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_FloodlightActivity"); + } + + /** + * Retrieves a list of floodlight activities, possibly filtered. + * (floodlightActivities.listFloodlightActivities) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string floodlightActivityGroupIds Select only floodlight + * activities with the specified floodlight activity group IDs. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @opt_param string searchString Allows searching for objects by name or ID. + * Wildcards (*) are allowed. For example, "floodlightactivity*2015" will return + * objects with names like "floodlightactivity June 2015", "floodlightactivity + * April 2015", or simply "floodlightactivity 2015". Most of the searches also + * add wildcards implicitly at the start and the end of the search string. For + * example, a search string of "floodlightactivity" will match objects with name + * "my floodlightactivity activity", "floodlightactivity 2015", or simply + * "floodlightactivity". + * @opt_param string sortField Field by which to sort the list. + * @opt_param string floodlightConfigurationId Select only floodlight activities + * for the specified floodlight configuration ID. Must specify either ids, + * advertiserId, or floodlightConfigurationId for a non-empty result. + * @opt_param string ids Select only floodlight activities with the specified + * IDs. Must specify either ids, advertiserId, or floodlightConfigurationId for + * a non-empty result. + * @opt_param string floodlightActivityGroupName Select only floodlight + * activities with the specified floodlight activity group name. + * @opt_param string advertiserId Select only floodlight activities for the + * specified advertiser ID. Must specify either ids, advertiserId, or + * floodlightConfigurationId for a non-empty result. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string tagString Select only floodlight activities with the + * specified tag string. + * @opt_param string floodlightActivityGroupTagString Select only floodlight + * activities with the specified floodlight activity group tag string. + * @opt_param string floodlightActivityGroupType Select only floodlight + * activities with the specified floodlight activity group type. + * @return Google_Service_Dfareporting_FloodlightActivitiesListResponse + */ + public function listFloodlightActivities($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_FloodlightActivitiesListResponse"); + } + + /** + * Updates an existing floodlight activity. This method supports patch + * semantics. (floodlightActivities.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Floodlight activity ID. + * @param Google_FloodlightActivity $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_FloodlightActivity + */ + public function patch($profileId, $id, Google_Service_Dfareporting_FloodlightActivity $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_FloodlightActivity"); + } + + /** + * Updates an existing floodlight activity. (floodlightActivities.update) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_FloodlightActivity $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_FloodlightActivity + */ + public function update($profileId, Google_Service_Dfareporting_FloodlightActivity $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_FloodlightActivity"); + } +} + +/** + * The "floodlightActivityGroups" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $floodlightActivityGroups = $dfareportingService->floodlightActivityGroups; + * + */ +class Google_Service_Dfareporting_FloodlightActivityGroups_Resource extends Google_Service_Resource +{ + + /** + * Deletes an existing floodlight activity group. + * (floodlightActivityGroups.delete) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Floodlight activity Group ID. + * @param array $optParams Optional parameters. + */ + public function delete($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Gets one floodlight activity group by ID. (floodlightActivityGroups.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Floodlight activity Group ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_FloodlightActivityGroup + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_FloodlightActivityGroup"); + } + + /** + * Inserts a new floodlight activity group. (floodlightActivityGroups.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_FloodlightActivityGroup $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_FloodlightActivityGroup + */ + public function insert($profileId, Google_Service_Dfareporting_FloodlightActivityGroup $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_FloodlightActivityGroup"); + } + + /** + * Retrieves a list of floodlight activity groups, possibly filtered. + * (floodlightActivityGroups.listFloodlightActivityGroups) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string searchString Allows searching for objects by name or ID. + * Wildcards (*) are allowed. For example, "floodlightactivitygroup*2015" will + * return objects with names like "floodlightactivitygroup June 2015", + * "floodlightactivitygroup April 2015", or simply "floodlightactivitygroup + * 2015". Most of the searches also add wildcards implicitly at the start and + * the end of the search string. For example, a search string of + * "floodlightactivitygroup" will match objects with name "my + * floodlightactivitygroup activity", "floodlightactivitygroup 2015", or simply + * "floodlightactivitygroup". + * @opt_param string sortField Field by which to sort the list. + * @opt_param string floodlightConfigurationId Select only floodlight activity + * groups with the specified floodlight configuration ID. Must specify either + * advertiserId, or floodlightConfigurationId for a non-empty result. + * @opt_param string ids Select only floodlight activity groups with the + * specified IDs. Must specify either advertiserId or floodlightConfigurationId + * for a non-empty result. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string advertiserId Select only floodlight activity groups with + * the specified advertiser ID. Must specify either advertiserId or + * floodlightConfigurationId for a non-empty result. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @opt_param string type Select only floodlight activity groups with the + * specified floodlight activity group type. + * @return Google_Service_Dfareporting_FloodlightActivityGroupsListResponse + */ + public function listFloodlightActivityGroups($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_FloodlightActivityGroupsListResponse"); + } + + /** + * Updates an existing floodlight activity group. This method supports patch + * semantics. (floodlightActivityGroups.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Floodlight activity Group ID. + * @param Google_FloodlightActivityGroup $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_FloodlightActivityGroup + */ + public function patch($profileId, $id, Google_Service_Dfareporting_FloodlightActivityGroup $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_FloodlightActivityGroup"); + } + + /** + * Updates an existing floodlight activity group. + * (floodlightActivityGroups.update) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_FloodlightActivityGroup $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_FloodlightActivityGroup + */ + public function update($profileId, Google_Service_Dfareporting_FloodlightActivityGroup $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_FloodlightActivityGroup"); + } +} + +/** + * The "floodlightConfigurations" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $floodlightConfigurations = $dfareportingService->floodlightConfigurations; + * + */ +class Google_Service_Dfareporting_FloodlightConfigurations_Resource extends Google_Service_Resource +{ + + /** + * Gets one floodlight configuration by ID. (floodlightConfigurations.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Floodlight configuration ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_FloodlightConfiguration + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_FloodlightConfiguration"); + } + + /** + * Retrieves a list of floodlight configurations, possibly filtered. + * (floodlightConfigurations.listFloodlightConfigurations) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string ids Set of IDs of floodlight configurations to retrieve. + * Required field; otherwise an empty list will be returned. + * @return Google_Service_Dfareporting_FloodlightConfigurationsListResponse + */ + public function listFloodlightConfigurations($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_FloodlightConfigurationsListResponse"); + } + + /** + * Updates an existing floodlight configuration. This method supports patch + * semantics. (floodlightConfigurations.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Floodlight configuration ID. + * @param Google_FloodlightConfiguration $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_FloodlightConfiguration + */ + public function patch($profileId, $id, Google_Service_Dfareporting_FloodlightConfiguration $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_FloodlightConfiguration"); + } + + /** + * Updates an existing floodlight configuration. + * (floodlightConfigurations.update) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_FloodlightConfiguration $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_FloodlightConfiguration + */ + public function update($profileId, Google_Service_Dfareporting_FloodlightConfiguration $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_FloodlightConfiguration"); + } +} + +/** + * The "inventoryItems" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $inventoryItems = $dfareportingService->inventoryItems; + * + */ +class Google_Service_Dfareporting_InventoryItems_Resource extends Google_Service_Resource +{ + + /** + * Gets one inventory item by ID. (inventoryItems.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $projectId Project ID for order documents. + * @param string $id Inventory item ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_InventoryItem + */ + public function get($profileId, $projectId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'projectId' => $projectId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_InventoryItem"); + } + + /** + * Retrieves a list of inventory items, possibly filtered. + * (inventoryItems.listInventoryItems) + * + * @param string $profileId User profile ID associated with this request. + * @param string $projectId Project ID for order documents. + * @param array $optParams Optional parameters. + * + * @opt_param string orderId Select only inventory items that belong to + * specified orders. + * @opt_param string ids Select only inventory items with these IDs. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string siteId Select only inventory items that are associated with + * these sites. + * @opt_param bool inPlan Select only inventory items that are in plan. + * @opt_param string sortField Field by which to sort the list. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @return Google_Service_Dfareporting_InventoryItemsListResponse + */ + public function listInventoryItems($profileId, $projectId, $optParams = array()) + { + $params = array('profileId' => $profileId, 'projectId' => $projectId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_InventoryItemsListResponse"); + } +} + +/** + * The "landingPages" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $landingPages = $dfareportingService->landingPages; + * + */ +class Google_Service_Dfareporting_LandingPages_Resource extends Google_Service_Resource +{ + + /** + * Deletes an existing campaign landing page. (landingPages.delete) + * + * @param string $profileId User profile ID associated with this request. + * @param string $campaignId Landing page campaign ID. + * @param string $id Landing page ID. + * @param array $optParams Optional parameters. + */ + public function delete($profileId, $campaignId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'campaignId' => $campaignId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Gets one campaign landing page by ID. (landingPages.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $campaignId Landing page campaign ID. + * @param string $id Landing page ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_LandingPage + */ + public function get($profileId, $campaignId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'campaignId' => $campaignId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_LandingPage"); + } + + /** + * Inserts a new landing page for the specified campaign. (landingPages.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param string $campaignId Landing page campaign ID. + * @param Google_LandingPage $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_LandingPage + */ + public function insert($profileId, $campaignId, Google_Service_Dfareporting_LandingPage $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'campaignId' => $campaignId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_LandingPage"); + } + + /** + * Retrieves the list of landing pages for the specified campaign. + * (landingPages.listLandingPages) + * + * @param string $profileId User profile ID associated with this request. + * @param string $campaignId Landing page campaign ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_LandingPagesListResponse + */ + public function listLandingPages($profileId, $campaignId, $optParams = array()) + { + $params = array('profileId' => $profileId, 'campaignId' => $campaignId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_LandingPagesListResponse"); + } + + /** + * Updates an existing campaign landing page. This method supports patch + * semantics. (landingPages.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $campaignId Landing page campaign ID. + * @param string $id Landing page ID. + * @param Google_LandingPage $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_LandingPage + */ + public function patch($profileId, $campaignId, $id, Google_Service_Dfareporting_LandingPage $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'campaignId' => $campaignId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_LandingPage"); + } + + /** + * Updates an existing campaign landing page. (landingPages.update) + * + * @param string $profileId User profile ID associated with this request. + * @param string $campaignId Landing page campaign ID. + * @param Google_LandingPage $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_LandingPage + */ + public function update($profileId, $campaignId, Google_Service_Dfareporting_LandingPage $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'campaignId' => $campaignId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_LandingPage"); + } +} + +/** + * The "metros" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $metros = $dfareportingService->metros; + * + */ +class Google_Service_Dfareporting_Metros_Resource extends Google_Service_Resource +{ + + /** + * Retrieves a list of metros. (metros.listMetros) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_MetrosListResponse + */ + public function listMetros($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_MetrosListResponse"); + } +} + +/** + * The "mobileCarriers" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $mobileCarriers = $dfareportingService->mobileCarriers; + * + */ +class Google_Service_Dfareporting_MobileCarriers_Resource extends Google_Service_Resource +{ + + /** + * Gets one mobile carrier by ID. (mobileCarriers.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Mobile carrier ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_MobileCarrier + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_MobileCarrier"); + } + + /** + * Retrieves a list of mobile carriers. (mobileCarriers.listMobileCarriers) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_MobileCarriersListResponse + */ + public function listMobileCarriers($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_MobileCarriersListResponse"); + } +} + +/** + * The "operatingSystemVersions" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $operatingSystemVersions = $dfareportingService->operatingSystemVersions; + * + */ +class Google_Service_Dfareporting_OperatingSystemVersions_Resource extends Google_Service_Resource +{ + + /** + * Gets one operating system version by ID. (operatingSystemVersions.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Operating system version ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_OperatingSystemVersion + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_OperatingSystemVersion"); + } + + /** + * Retrieves a list of operating system versions. + * (operatingSystemVersions.listOperatingSystemVersions) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_OperatingSystemVersionsListResponse + */ + public function listOperatingSystemVersions($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_OperatingSystemVersionsListResponse"); + } +} + +/** + * The "operatingSystems" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $operatingSystems = $dfareportingService->operatingSystems; + * + */ +class Google_Service_Dfareporting_OperatingSystems_Resource extends Google_Service_Resource +{ + + /** + * Gets one operating system by DART ID. (operatingSystems.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $dartId Operating system DART ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_OperatingSystem + */ + public function get($profileId, $dartId, $optParams = array()) + { + $params = array('profileId' => $profileId, 'dartId' => $dartId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_OperatingSystem"); + } + + /** + * Retrieves a list of operating systems. + * (operatingSystems.listOperatingSystems) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_OperatingSystemsListResponse + */ + public function listOperatingSystems($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_OperatingSystemsListResponse"); + } +} + +/** + * The "orderDocuments" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $orderDocuments = $dfareportingService->orderDocuments; + * + */ +class Google_Service_Dfareporting_OrderDocuments_Resource extends Google_Service_Resource +{ + + /** + * Gets one order document by ID. (orderDocuments.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $projectId Project ID for order documents. + * @param string $id Order document ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_OrderDocument + */ + public function get($profileId, $projectId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'projectId' => $projectId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_OrderDocument"); + } + + /** + * Retrieves a list of order documents, possibly filtered. + * (orderDocuments.listOrderDocuments) + * + * @param string $profileId User profile ID associated with this request. + * @param string $projectId Project ID for order documents. + * @param array $optParams Optional parameters. + * + * @opt_param string orderId Select only order documents for specified orders. + * @opt_param string searchString Allows searching for order documents by name + * or ID. Wildcards (*) are allowed. For example, "orderdocument*2015" will + * return order documents with names like "orderdocument June 2015", + * "orderdocument April 2015", or simply "orderdocument 2015". Most of the + * searches also add wildcards implicitly at the start and the end of the search + * string. For example, a search string of "orderdocument" will match order + * documents with name "my orderdocument", "orderdocument 2015", or simply + * "orderdocument". + * @opt_param string ids Select only order documents with these IDs. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string siteId Select only order documents that are associated with + * these sites. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @opt_param string sortField Field by which to sort the list. + * @opt_param bool approved Select only order documents that have been approved + * by at least one user. + * @return Google_Service_Dfareporting_OrderDocumentsListResponse + */ + public function listOrderDocuments($profileId, $projectId, $optParams = array()) + { + $params = array('profileId' => $profileId, 'projectId' => $projectId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_OrderDocumentsListResponse"); + } +} + +/** + * The "orders" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $orders = $dfareportingService->orders; + * + */ +class Google_Service_Dfareporting_Orders_Resource extends Google_Service_Resource +{ + + /** + * Gets one order by ID. (orders.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $projectId Project ID for orders. + * @param string $id Order ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Order + */ + public function get($profileId, $projectId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'projectId' => $projectId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_Order"); + } + + /** + * Retrieves a list of orders, possibly filtered. (orders.listOrders) + * + * @param string $profileId User profile ID associated with this request. + * @param string $projectId Project ID for orders. + * @param array $optParams Optional parameters. + * + * @opt_param string searchString Allows searching for orders by name or ID. + * Wildcards (*) are allowed. For example, "order*2015" will return orders with + * names like "order June 2015", "order April 2015", or simply "order 2015". + * Most of the searches also add wildcards implicitly at the start and the end + * of the search string. For example, a search string of "order" will match + * orders with name "my order", "order 2015", or simply "order". + * @opt_param string ids Select only orders with these IDs. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string siteId Select only orders that are associated with these + * site IDs. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @opt_param string sortField Field by which to sort the list. + * @return Google_Service_Dfareporting_OrdersListResponse + */ + public function listOrders($profileId, $projectId, $optParams = array()) + { + $params = array('profileId' => $profileId, 'projectId' => $projectId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_OrdersListResponse"); + } +} + +/** + * The "placementGroups" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $placementGroups = $dfareportingService->placementGroups; + * + */ +class Google_Service_Dfareporting_PlacementGroups_Resource extends Google_Service_Resource +{ + + /** + * Gets one placement group by ID. (placementGroups.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Placement group ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_PlacementGroup + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_PlacementGroup"); + } + + /** + * Inserts a new placement group. (placementGroups.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_PlacementGroup $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_PlacementGroup + */ + public function insert($profileId, Google_Service_Dfareporting_PlacementGroup $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_PlacementGroup"); + } + + /** + * Retrieves a list of placement groups, possibly filtered. + * (placementGroups.listPlacementGroups) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string placementStrategyIds Select only placement groups that are + * associated with these placement strategies. + * @opt_param bool archived Select only archived placements. Don't set this + * field to select both archived and non-archived placements. + * @opt_param string searchString Allows searching for placement groups by name + * or ID. Wildcards (*) are allowed. For example, "placement*2015" will return + * placement groups with names like "placement group June 2015", "placement + * group May 2015", or simply "placements 2015". Most of the searches also add + * wildcards implicitly at the start and the end of the search string. For + * example, a search string of "placementgroup" will match placement groups with + * name "my placementgroup", "placementgroup 2015", or simply "placementgroup". + * @opt_param string contentCategoryIds Select only placement groups that are + * associated with these content categories. + * @opt_param string directorySiteIds Select only placement groups that are + * associated with these directory sites. + * @opt_param string sortField Field by which to sort the list. + * @opt_param string advertiserIds Select only placement groups that belong to + * these advertisers. + * @opt_param string ids Select only placement groups with these IDs. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @opt_param string placementGroupType Select only placement groups belonging + * with this group type. A package is a simple group of placements that acts as + * a single pricing point for a group of tags. A roadblock is a group of + * placements that not only acts as a single pricing point but also assumes that + * all the tags in it will be served at the same time. A roadblock requires one + * of its assigned placements to be marked as primary for reporting. + * @opt_param string pricingTypes Select only placement groups with these + * pricing types. + * @opt_param string siteIds Select only placement groups that are associated + * with these sites. + * @opt_param string campaignIds Select only placement groups that belong to + * these campaigns. + * @return Google_Service_Dfareporting_PlacementGroupsListResponse + */ + public function listPlacementGroups($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_PlacementGroupsListResponse"); + } + + /** + * Updates an existing placement group. This method supports patch semantics. + * (placementGroups.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Placement group ID. + * @param Google_PlacementGroup $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_PlacementGroup + */ + public function patch($profileId, $id, Google_Service_Dfareporting_PlacementGroup $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_PlacementGroup"); + } + + /** + * Updates an existing placement group. (placementGroups.update) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_PlacementGroup $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_PlacementGroup + */ + public function update($profileId, Google_Service_Dfareporting_PlacementGroup $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_PlacementGroup"); + } +} + +/** + * The "placementStrategies" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $placementStrategies = $dfareportingService->placementStrategies; + * + */ +class Google_Service_Dfareporting_PlacementStrategies_Resource extends Google_Service_Resource +{ + + /** + * Deletes an existing placement strategy. (placementStrategies.delete) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Placement strategy ID. + * @param array $optParams Optional parameters. + */ + public function delete($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Gets one placement strategy by ID. (placementStrategies.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Placement strategy ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_PlacementStrategy + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_PlacementStrategy"); + } + + /** + * Inserts a new placement strategy. (placementStrategies.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_PlacementStrategy $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_PlacementStrategy + */ + public function insert($profileId, Google_Service_Dfareporting_PlacementStrategy $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_PlacementStrategy"); + } + + /** + * Retrieves a list of placement strategies, possibly filtered. + * (placementStrategies.listPlacementStrategies) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string searchString Allows searching for objects by name or ID. + * Wildcards (*) are allowed. For example, "placementstrategy*2015" will return + * objects with names like "placementstrategy June 2015", "placementstrategy + * April 2015", or simply "placementstrategy 2015". Most of the searches also + * add wildcards implicitly at the start and the end of the search string. For + * example, a search string of "placementstrategy" will match objects with name + * "my placementstrategy", "placementstrategy 2015", or simply + * "placementstrategy". + * @opt_param string sortField Field by which to sort the list. + * @opt_param string ids Select only placement strategies with these IDs. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @return Google_Service_Dfareporting_PlacementStrategiesListResponse + */ + public function listPlacementStrategies($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_PlacementStrategiesListResponse"); + } + + /** + * Updates an existing placement strategy. This method supports patch semantics. + * (placementStrategies.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Placement strategy ID. + * @param Google_PlacementStrategy $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_PlacementStrategy + */ + public function patch($profileId, $id, Google_Service_Dfareporting_PlacementStrategy $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_PlacementStrategy"); + } + + /** + * Updates an existing placement strategy. (placementStrategies.update) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_PlacementStrategy $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_PlacementStrategy + */ + public function update($profileId, Google_Service_Dfareporting_PlacementStrategy $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_PlacementStrategy"); + } +} + +/** + * The "placements" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $placements = $dfareportingService->placements; + * + */ +class Google_Service_Dfareporting_Placements_Resource extends Google_Service_Resource +{ + + /** + * Generates tags for a placement. (placements.generatetags) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string tagFormats Tag formats to generate for these placements. + * @opt_param string placementIds Generate tags for these placements. + * @opt_param string campaignId Generate placements belonging to this campaign. + * This is a required field. + * @return Google_Service_Dfareporting_PlacementsGenerateTagsResponse + */ + public function generatetags($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('generatetags', array($params), "Google_Service_Dfareporting_PlacementsGenerateTagsResponse"); + } + + /** + * Gets one placement by ID. (placements.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Placement ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Placement + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_Placement"); + } + + /** + * Inserts a new placement. (placements.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Placement $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Placement + */ + public function insert($profileId, Google_Service_Dfareporting_Placement $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_Placement"); + } + + /** + * Retrieves a list of placements, possibly filtered. + * (placements.listPlacements) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string placementStrategyIds Select only placements that are + * associated with these placement strategies. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @opt_param bool archived Select only archived placements. Don't set this + * field to select both archived and non-archived placements. + * @opt_param string searchString Allows searching for placements by name or ID. + * Wildcards (*) are allowed. For example, "placement*2015" will return + * placements with names like "placement June 2015", "placement May 2015", or + * simply "placements 2015". Most of the searches also add wildcards implicitly + * at the start and the end of the search string. For example, a search string + * of "placement" will match placements with name "my placement", "placement + * 2015", or simply "placement". + * @opt_param string contentCategoryIds Select only placements that are + * associated with these content categories. + * @opt_param string directorySiteIds Select only placements that are associated + * with these directory sites. + * @opt_param string sortField Field by which to sort the list. + * @opt_param string advertiserIds Select only placements that belong to these + * advertisers. + * @opt_param string paymentSource Select only placements with this payment + * source. + * @opt_param string ids Select only placements with these IDs. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string sizeIds Select only placements that are associated with + * these sizes. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string compatibilities Select only placements that are associated + * with these compatibilities. WEB and WEB_INTERSTITIAL refer to rendering + * either on desktop or on mobile devices for regular or interstitial ads + * respectively. APP and APP_INTERSTITIAL are for rendering in mobile + * apps.IN_STREAM_VIDEO refers to rendering in in-stream video ads developed + * with the VAST standard. + * @opt_param string groupIds Select only placements that belong to these + * placement groups. + * @opt_param string pricingTypes Select only placements with these pricing + * types. + * @opt_param string siteIds Select only placements that are associated with + * these sites. + * @opt_param string campaignIds Select only placements that belong to these + * campaigns. + * @return Google_Service_Dfareporting_PlacementsListResponse + */ + public function listPlacements($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_PlacementsListResponse"); + } + + /** + * Updates an existing placement. This method supports patch semantics. + * (placements.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Placement ID. + * @param Google_Placement $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Placement + */ + public function patch($profileId, $id, Google_Service_Dfareporting_Placement $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_Placement"); + } + + /** + * Updates an existing placement. (placements.update) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Placement $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Placement + */ + public function update($profileId, Google_Service_Dfareporting_Placement $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_Placement"); + } +} + +/** + * The "platformTypes" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $platformTypes = $dfareportingService->platformTypes; + * + */ +class Google_Service_Dfareporting_PlatformTypes_Resource extends Google_Service_Resource +{ + + /** + * Gets one platform type by ID. (platformTypes.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Platform type ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_PlatformType + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_PlatformType"); + } + + /** + * Retrieves a list of platform types. (platformTypes.listPlatformTypes) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_PlatformTypesListResponse + */ + public function listPlatformTypes($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_PlatformTypesListResponse"); + } +} + +/** + * The "postalCodes" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $postalCodes = $dfareportingService->postalCodes; + * + */ +class Google_Service_Dfareporting_PostalCodes_Resource extends Google_Service_Resource +{ + + /** + * Gets one postal code by ID. (postalCodes.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $code Postal code ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_PostalCode + */ + public function get($profileId, $code, $optParams = array()) + { + $params = array('profileId' => $profileId, 'code' => $code); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_PostalCode"); + } + + /** + * Retrieves a list of postal codes. (postalCodes.listPostalCodes) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_PostalCodesListResponse + */ + public function listPostalCodes($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_PostalCodesListResponse"); + } +} + +/** + * The "projects" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $projects = $dfareportingService->projects; + * + */ +class Google_Service_Dfareporting_Projects_Resource extends Google_Service_Resource +{ + + /** + * Gets one project by ID. (projects.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Project ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Project + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_Project"); + } + + /** + * Retrieves a list of projects, possibly filtered. (projects.listProjects) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string searchString Allows searching for projects by name or ID. + * Wildcards (*) are allowed. For example, "project*2015" will return projects + * with names like "project June 2015", "project April 2015", or simply "project + * 2015". Most of the searches also add wildcards implicitly at the start and + * the end of the search string. For example, a search string of "project" will + * match projects with name "my project", "project 2015", or simply "project". + * @opt_param string sortField Field by which to sort the list. + * @opt_param string advertiserIds Select only projects with these advertiser + * IDs. + * @opt_param string ids Select only projects with these IDs. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @return Google_Service_Dfareporting_ProjectsListResponse + */ + public function listProjects($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_ProjectsListResponse"); + } +} + +/** + * The "regions" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $regions = $dfareportingService->regions; + * + */ +class Google_Service_Dfareporting_Regions_Resource extends Google_Service_Resource +{ + + /** + * Retrieves a list of regions. (regions.listRegions) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_RegionsListResponse + */ + public function listRegions($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_RegionsListResponse"); + } +} + +/** + * The "remarketingListShares" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $remarketingListShares = $dfareportingService->remarketingListShares; + * + */ +class Google_Service_Dfareporting_RemarketingListShares_Resource extends Google_Service_Resource +{ + + /** + * Gets one remarketing list share by remarketing list ID. + * (remarketingListShares.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $remarketingListId Remarketing list ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_RemarketingListShare + */ + public function get($profileId, $remarketingListId, $optParams = array()) + { + $params = array('profileId' => $profileId, 'remarketingListId' => $remarketingListId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_RemarketingListShare"); + } + + /** + * Updates an existing remarketing list share. This method supports patch + * semantics. (remarketingListShares.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $remarketingListId Remarketing list ID. + * @param Google_RemarketingListShare $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_RemarketingListShare + */ + public function patch($profileId, $remarketingListId, Google_Service_Dfareporting_RemarketingListShare $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'remarketingListId' => $remarketingListId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_RemarketingListShare"); + } + + /** + * Updates an existing remarketing list share. (remarketingListShares.update) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_RemarketingListShare $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_RemarketingListShare + */ + public function update($profileId, Google_Service_Dfareporting_RemarketingListShare $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_RemarketingListShare"); + } +} + +/** + * The "remarketingLists" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $remarketingLists = $dfareportingService->remarketingLists; + * + */ +class Google_Service_Dfareporting_RemarketingLists_Resource extends Google_Service_Resource +{ + + /** + * Gets one remarketing list by ID. (remarketingLists.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Remarketing list ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_RemarketingList + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_RemarketingList"); + } + + /** + * Inserts a new remarketing list. (remarketingLists.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_RemarketingList $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_RemarketingList + */ + public function insert($profileId, Google_Service_Dfareporting_RemarketingList $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_RemarketingList"); + } + + /** + * Retrieves a list of remarketing lists, possibly filtered. + * (remarketingLists.listRemarketingLists) + * + * @param string $profileId User profile ID associated with this request. + * @param string $advertiserId Select only remarketing lists owned by this + * advertiser. + * @param array $optParams Optional parameters. + * + * @opt_param string name Allows searching for objects by name or ID. Wildcards + * (*) are allowed. For example, "remarketing list*2015" will return objects + * with names like "remarketing list June 2015", "remarketing list April 2015", + * or simply "remarketing list 2015". Most of the searches also add wildcards + * implicitly at the start and the end of the search string. For example, a + * search string of "remarketing list" will match objects with name "my + * remarketing list", "remarketing list 2015", or simply "remarketing list". + * @opt_param string sortField Field by which to sort the list. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @opt_param bool active Select only active or only inactive remarketing lists. + * @opt_param string floodlightActivityId Select only remarketing lists that + * have this floodlight activity ID. + * @return Google_Service_Dfareporting_RemarketingListsListResponse + */ + public function listRemarketingLists($profileId, $advertiserId, $optParams = array()) + { + $params = array('profileId' => $profileId, 'advertiserId' => $advertiserId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_RemarketingListsListResponse"); + } + + /** + * Updates an existing remarketing list. This method supports patch semantics. + * (remarketingLists.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Remarketing list ID. + * @param Google_RemarketingList $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_RemarketingList + */ + public function patch($profileId, $id, Google_Service_Dfareporting_RemarketingList $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_RemarketingList"); + } + + /** + * Updates an existing remarketing list. (remarketingLists.update) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_RemarketingList $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_RemarketingList + */ + public function update($profileId, Google_Service_Dfareporting_RemarketingList $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_RemarketingList"); + } +} + +/** + * The "reports" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $reports = $dfareportingService->reports; + * + */ +class Google_Service_Dfareporting_Reports_Resource extends Google_Service_Resource +{ + + /** + * Deletes a report by its ID. (reports.delete) + * + * @param string $profileId The DFA user profile ID. + * @param string $reportId The ID of the report. + * @param array $optParams Optional parameters. + */ + public function delete($profileId, $reportId, $optParams = array()) + { + $params = array('profileId' => $profileId, 'reportId' => $reportId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Retrieves a report by its ID. (reports.get) + * + * @param string $profileId The DFA user profile ID. + * @param string $reportId The ID of the report. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Report + */ + public function get($profileId, $reportId, $optParams = array()) + { + $params = array('profileId' => $profileId, 'reportId' => $reportId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_Report"); + } + + /** + * Creates a report. (reports.insert) + * + * @param string $profileId The DFA user profile ID. + * @param Google_Report $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Report + */ + public function insert($profileId, Google_Service_Dfareporting_Report $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_Report"); + } + + /** + * Retrieves list of reports. (reports.listReports) + * + * @param string $profileId The DFA user profile ID. + * @param array $optParams Optional parameters. + * + * @opt_param string sortField The field by which to sort the list. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken The value of the nextToken from the previous + * result page. + * @opt_param string sortOrder Order of sorted results, default is 'DESCENDING'. + * @opt_param string scope The scope that defines which results are returned, + * default is 'MINE'. + * @return Google_Service_Dfareporting_ReportList + */ + public function listReports($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_ReportList"); + } + + /** + * Updates a report. This method supports patch semantics. (reports.patch) + * + * @param string $profileId The DFA user profile ID. + * @param string $reportId The ID of the report. + * @param Google_Report $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Report + */ + public function patch($profileId, $reportId, Google_Service_Dfareporting_Report $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'reportId' => $reportId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_Report"); + } + + /** + * Runs a report. (reports.run) + * + * @param string $profileId The DFA profile ID. + * @param string $reportId The ID of the report. + * @param array $optParams Optional parameters. + * + * @opt_param bool synchronous If set and true, tries to run the report + * synchronously. + * @return Google_Service_Dfareporting_DfareportingFile + */ + public function run($profileId, $reportId, $optParams = array()) + { + $params = array('profileId' => $profileId, 'reportId' => $reportId); + $params = array_merge($params, $optParams); + return $this->call('run', array($params), "Google_Service_Dfareporting_DfareportingFile"); + } + + /** + * Updates a report. (reports.update) + * + * @param string $profileId The DFA user profile ID. + * @param string $reportId The ID of the report. + * @param Google_Report $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Report + */ + public function update($profileId, $reportId, Google_Service_Dfareporting_Report $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'reportId' => $reportId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_Report"); + } +} + +/** + * The "compatibleFields" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $compatibleFields = $dfareportingService->compatibleFields; + * + */ +class Google_Service_Dfareporting_ReportsCompatibleFields_Resource extends Google_Service_Resource +{ + + /** + * Returns the fields that are compatible to be selected in the respective + * sections of a report criteria, given the fields already selected in the input + * report and user permissions. (compatibleFields.query) + * + * @param string $profileId The DFA user profile ID. + * @param Google_Report $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_CompatibleFields + */ + public function query($profileId, Google_Service_Dfareporting_Report $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('query', array($params), "Google_Service_Dfareporting_CompatibleFields"); + } +} +/** + * The "files" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $files = $dfareportingService->files; + * + */ +class Google_Service_Dfareporting_ReportsFiles_Resource extends Google_Service_Resource +{ + + /** + * Retrieves a report file. (files.get) + * + * @param string $profileId The DFA profile ID. + * @param string $reportId The ID of the report. + * @param string $fileId The ID of the report file. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_DfareportingFile + */ + public function get($profileId, $reportId, $fileId, $optParams = array()) + { + $params = array('profileId' => $profileId, 'reportId' => $reportId, 'fileId' => $fileId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_DfareportingFile"); + } + + /** + * Lists files for a report. (files.listReportsFiles) + * + * @param string $profileId The DFA profile ID. + * @param string $reportId The ID of the parent report. + * @param array $optParams Optional parameters. + * + * @opt_param string sortField The field by which to sort the list. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken The value of the nextToken from the previous + * result page. + * @opt_param string sortOrder Order of sorted results, default is 'DESCENDING'. + * @return Google_Service_Dfareporting_FileList + */ + public function listReportsFiles($profileId, $reportId, $optParams = array()) + { + $params = array('profileId' => $profileId, 'reportId' => $reportId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_FileList"); + } +} + +/** + * The "sites" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $sites = $dfareportingService->sites; + * + */ +class Google_Service_Dfareporting_Sites_Resource extends Google_Service_Resource +{ + + /** + * Gets one site by ID. (sites.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Site ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Site + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_Site"); + } + + /** + * Inserts a new site. (sites.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Site $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Site + */ + public function insert($profileId, Google_Service_Dfareporting_Site $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_Site"); + } + + /** + * Retrieves a list of sites, possibly filtered. (sites.listSites) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param bool acceptsInterstitialPlacements This search filter is no longer + * supported and will have no effect on the results returned. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @opt_param string searchString Allows searching for objects by name, ID or + * keyName. Wildcards (*) are allowed. For example, "site*2015" will return + * objects with names like "site June 2015", "site April 2015", or simply "site + * 2015". Most of the searches also add wildcards implicitly at the start and + * the end of the search string. For example, a search string of "site" will + * match objects with name "my site", "site 2015", or simply "site". + * @opt_param string subaccountId Select only sites with this subaccount ID. + * @opt_param string directorySiteIds Select only sites with these directory + * site IDs. + * @opt_param bool acceptsInStreamVideoPlacements This search filter is no + * longer supported and will have no effect on the results returned. + * @opt_param string ids Select only sites with these IDs. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param bool acceptsPublisherPaidPlacements Select only sites that accept + * publisher paid placements. + * @opt_param string sortField Field by which to sort the list. + * @opt_param bool adWordsSite Select only AdWords sites. + * @opt_param bool unmappedSite Select only sites that have not been mapped to a + * directory site. + * @opt_param bool approved Select only approved sites. + * @opt_param string campaignIds Select only sites with these campaign IDs. + * @return Google_Service_Dfareporting_SitesListResponse + */ + public function listSites($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_SitesListResponse"); + } + + /** + * Updates an existing site. This method supports patch semantics. (sites.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Site ID. + * @param Google_Site $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Site + */ + public function patch($profileId, $id, Google_Service_Dfareporting_Site $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_Site"); + } + + /** + * Updates an existing site. (sites.update) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Site $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Site + */ + public function update($profileId, Google_Service_Dfareporting_Site $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_Site"); + } +} + +/** + * The "sizes" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $sizes = $dfareportingService->sizes; + * + */ +class Google_Service_Dfareporting_Sizes_Resource extends Google_Service_Resource +{ + + /** + * Gets one size by ID. (sizes.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Size ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Size + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_Size"); + } + + /** + * Inserts a new size. (sizes.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Size $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Size + */ + public function insert($profileId, Google_Service_Dfareporting_Size $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_Size"); + } + + /** + * Retrieves a list of sizes, possibly filtered. (sizes.listSizes) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param bool iabStandard Select only IAB standard sizes. + * @opt_param int width Select only sizes with this width. + * @opt_param string ids Select only sizes with these IDs. + * @opt_param int height Select only sizes with this height. + * @return Google_Service_Dfareporting_SizesListResponse + */ + public function listSizes($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_SizesListResponse"); + } +} + +/** + * The "subaccounts" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $subaccounts = $dfareportingService->subaccounts; + * + */ +class Google_Service_Dfareporting_Subaccounts_Resource extends Google_Service_Resource +{ + + /** + * Gets one subaccount by ID. (subaccounts.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Subaccount ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Subaccount + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_Subaccount"); + } + + /** + * Inserts a new subaccount. (subaccounts.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Subaccount $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Subaccount + */ + public function insert($profileId, Google_Service_Dfareporting_Subaccount $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_Subaccount"); + } + + /** + * Gets a list of subaccounts, possibly filtered. (subaccounts.listSubaccounts) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string searchString Allows searching for objects by name or ID. + * Wildcards (*) are allowed. For example, "subaccount*2015" will return objects + * with names like "subaccount June 2015", "subaccount April 2015", or simply + * "subaccount 2015". Most of the searches also add wildcards implicitly at the + * start and the end of the search string. For example, a search string of + * "subaccount" will match objects with name "my subaccount", "subaccount 2015", + * or simply "subaccount". + * @opt_param string sortField Field by which to sort the list. + * @opt_param string ids Select only subaccounts with these IDs. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @return Google_Service_Dfareporting_SubaccountsListResponse + */ + public function listSubaccounts($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_SubaccountsListResponse"); + } + + /** + * Updates an existing subaccount. This method supports patch semantics. + * (subaccounts.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Subaccount ID. + * @param Google_Subaccount $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Subaccount + */ + public function patch($profileId, $id, Google_Service_Dfareporting_Subaccount $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_Subaccount"); + } + + /** + * Updates an existing subaccount. (subaccounts.update) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_Subaccount $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_Subaccount + */ + public function update($profileId, Google_Service_Dfareporting_Subaccount $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_Subaccount"); + } +} + +/** + * The "targetableRemarketingLists" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $targetableRemarketingLists = $dfareportingService->targetableRemarketingLists; + * + */ +class Google_Service_Dfareporting_TargetableRemarketingLists_Resource extends Google_Service_Resource +{ + + /** + * Gets one remarketing list by ID. (targetableRemarketingLists.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id Remarketing list ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_TargetableRemarketingList + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_TargetableRemarketingList"); + } + + /** + * Retrieves a list of targetable remarketing lists, possibly filtered. + * (targetableRemarketingLists.listTargetableRemarketingLists) + * + * @param string $profileId User profile ID associated with this request. + * @param string $advertiserId Select only targetable remarketing lists + * targetable by these advertisers. + * @param array $optParams Optional parameters. + * + * @opt_param string name Allows searching for objects by name or ID. Wildcards + * (*) are allowed. For example, "remarketing list*2015" will return objects + * with names like "remarketing list June 2015", "remarketing list April 2015", + * or simply "remarketing list 2015". Most of the searches also add wildcards + * implicitly at the start and the end of the search string. For example, a + * search string of "remarketing list" will match objects with name "my + * remarketing list", "remarketing list 2015", or simply "remarketing list". + * @opt_param string sortField Field by which to sort the list. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @opt_param bool active Select only active or only inactive targetable + * remarketing lists. + * @return Google_Service_Dfareporting_TargetableRemarketingListsListResponse + */ + public function listTargetableRemarketingLists($profileId, $advertiserId, $optParams = array()) + { + $params = array('profileId' => $profileId, 'advertiserId' => $advertiserId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_TargetableRemarketingListsListResponse"); + } +} + +/** + * The "userProfiles" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $userProfiles = $dfareportingService->userProfiles; + * + */ +class Google_Service_Dfareporting_UserProfiles_Resource extends Google_Service_Resource +{ + + /** + * Gets one user profile by ID. (userProfiles.get) + * + * @param string $profileId The user profile ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_UserProfile + */ + public function get($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_UserProfile"); + } + + /** + * Retrieves list of user profiles for a user. (userProfiles.listUserProfiles) + * + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_UserProfileList + */ + public function listUserProfiles($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_UserProfileList"); + } +} + +/** + * The "userRolePermissionGroups" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $userRolePermissionGroups = $dfareportingService->userRolePermissionGroups; + * + */ +class Google_Service_Dfareporting_UserRolePermissionGroups_Resource extends Google_Service_Resource +{ + + /** + * Gets one user role permission group by ID. (userRolePermissionGroups.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id User role permission group ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_UserRolePermissionGroup + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_UserRolePermissionGroup"); + } + + /** + * Gets a list of all supported user role permission groups. + * (userRolePermissionGroups.listUserRolePermissionGroups) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_UserRolePermissionGroupsListResponse + */ + public function listUserRolePermissionGroups($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_UserRolePermissionGroupsListResponse"); + } +} + +/** + * The "userRolePermissions" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $userRolePermissions = $dfareportingService->userRolePermissions; + * + */ +class Google_Service_Dfareporting_UserRolePermissions_Resource extends Google_Service_Resource +{ + + /** + * Gets one user role permission by ID. (userRolePermissions.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id User role permission ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_UserRolePermission + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_UserRolePermission"); + } + + /** + * Gets a list of user role permissions, possibly filtered. + * (userRolePermissions.listUserRolePermissions) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string ids Select only user role permissions with these IDs. + * @return Google_Service_Dfareporting_UserRolePermissionsListResponse + */ + public function listUserRolePermissions($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_UserRolePermissionsListResponse"); + } +} + +/** + * The "userRoles" collection of methods. + * Typical usage is: + * + * $dfareportingService = new Google_Service_Dfareporting(...); + * $userRoles = $dfareportingService->userRoles; + * + */ +class Google_Service_Dfareporting_UserRoles_Resource extends Google_Service_Resource +{ + + /** + * Deletes an existing user role. (userRoles.delete) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id User role ID. + * @param array $optParams Optional parameters. + */ + public function delete($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Gets one user role by ID. (userRoles.get) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id User role ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_UserRole + */ + public function get($profileId, $id, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dfareporting_UserRole"); + } + + /** + * Inserts a new user role. (userRoles.insert) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_UserRole $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_UserRole + */ + public function insert($profileId, Google_Service_Dfareporting_UserRole $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Dfareporting_UserRole"); + } + + /** + * Retrieves a list of user roles, possibly filtered. (userRoles.listUserRoles) + * + * @param string $profileId User profile ID associated with this request. + * @param array $optParams Optional parameters. + * + * @opt_param string searchString Allows searching for objects by name or ID. + * Wildcards (*) are allowed. For example, "userrole*2015" will return objects + * with names like "userrole June 2015", "userrole April 2015", or simply + * "userrole 2015". Most of the searches also add wildcards implicitly at the + * start and the end of the search string. For example, a search string of + * "userrole" will match objects with name "my userrole", "userrole 2015", or + * simply "userrole". + * @opt_param string subaccountId Select only user roles that belong to this + * subaccount. + * @opt_param string sortField Field by which to sort the list. + * @opt_param string ids Select only user roles with the specified IDs. + * @opt_param int maxResults Maximum number of results to return. + * @opt_param string pageToken Value of the nextPageToken from the previous + * result page. + * @opt_param string sortOrder Order of sorted results, default is ASCENDING. + * @opt_param bool accountUserRoleOnly Select only account level user roles not + * associated with any specific subaccount. + * @return Google_Service_Dfareporting_UserRolesListResponse + */ + public function listUserRoles($profileId, $optParams = array()) + { + $params = array('profileId' => $profileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dfareporting_UserRolesListResponse"); + } + + /** + * Updates an existing user role. This method supports patch semantics. + * (userRoles.patch) + * + * @param string $profileId User profile ID associated with this request. + * @param string $id User role ID. + * @param Google_UserRole $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_UserRole + */ + public function patch($profileId, $id, Google_Service_Dfareporting_UserRole $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Dfareporting_UserRole"); + } + + /** + * Updates an existing user role. (userRoles.update) + * + * @param string $profileId User profile ID associated with this request. + * @param Google_UserRole $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dfareporting_UserRole + */ + public function update($profileId, Google_Service_Dfareporting_UserRole $postBody, $optParams = array()) + { + $params = array('profileId' => $profileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Dfareporting_UserRole"); + } +} + + + + +class Google_Service_Dfareporting_Account extends Google_Collection +{ + protected $collection_key = 'availablePermissionIds'; + protected $internal_gapi_mappings = array( + ); + public $accountPermissionIds; + public $accountProfile; + public $active; + public $activeAdsLimitTier; + public $activeViewOptOut; + public $availablePermissionIds; + public $comscoreVceEnabled; + public $countryId; + public $currencyId; + public $defaultCreativeSizeId; + public $description; + public $id; + public $kind; + public $locale; + public $maximumImageSize; + public $name; + public $nielsenOcrEnabled; + protected $reportsConfigurationType = 'Google_Service_Dfareporting_ReportsConfiguration'; + protected $reportsConfigurationDataType = ''; + public $teaserSizeLimit; + + + public function setAccountPermissionIds($accountPermissionIds) + { + $this->accountPermissionIds = $accountPermissionIds; + } + public function getAccountPermissionIds() + { + return $this->accountPermissionIds; + } + public function setAccountProfile($accountProfile) + { + $this->accountProfile = $accountProfile; + } + public function getAccountProfile() + { + return $this->accountProfile; + } + public function setActive($active) + { + $this->active = $active; + } + public function getActive() + { + return $this->active; + } + public function setActiveAdsLimitTier($activeAdsLimitTier) + { + $this->activeAdsLimitTier = $activeAdsLimitTier; + } + public function getActiveAdsLimitTier() + { + return $this->activeAdsLimitTier; + } + public function setActiveViewOptOut($activeViewOptOut) + { + $this->activeViewOptOut = $activeViewOptOut; + } + public function getActiveViewOptOut() + { + return $this->activeViewOptOut; + } + public function setAvailablePermissionIds($availablePermissionIds) + { + $this->availablePermissionIds = $availablePermissionIds; + } + public function getAvailablePermissionIds() + { + return $this->availablePermissionIds; + } + public function setComscoreVceEnabled($comscoreVceEnabled) + { + $this->comscoreVceEnabled = $comscoreVceEnabled; + } + public function getComscoreVceEnabled() + { + return $this->comscoreVceEnabled; + } + public function setCountryId($countryId) + { + $this->countryId = $countryId; + } + public function getCountryId() + { + return $this->countryId; + } + public function setCurrencyId($currencyId) + { + $this->currencyId = $currencyId; + } + public function getCurrencyId() + { + return $this->currencyId; + } + public function setDefaultCreativeSizeId($defaultCreativeSizeId) + { + $this->defaultCreativeSizeId = $defaultCreativeSizeId; + } + public function getDefaultCreativeSizeId() + { + return $this->defaultCreativeSizeId; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLocale($locale) + { + $this->locale = $locale; + } + public function getLocale() + { + return $this->locale; + } + public function setMaximumImageSize($maximumImageSize) + { + $this->maximumImageSize = $maximumImageSize; + } + public function getMaximumImageSize() + { + return $this->maximumImageSize; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNielsenOcrEnabled($nielsenOcrEnabled) + { + $this->nielsenOcrEnabled = $nielsenOcrEnabled; + } + public function getNielsenOcrEnabled() + { + return $this->nielsenOcrEnabled; + } + public function setReportsConfiguration(Google_Service_Dfareporting_ReportsConfiguration $reportsConfiguration) + { + $this->reportsConfiguration = $reportsConfiguration; + } + public function getReportsConfiguration() + { + return $this->reportsConfiguration; + } + public function setTeaserSizeLimit($teaserSizeLimit) + { + $this->teaserSizeLimit = $teaserSizeLimit; + } + public function getTeaserSizeLimit() + { + return $this->teaserSizeLimit; + } +} + +class Google_Service_Dfareporting_AccountActiveAdSummary extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $activeAds; + public $activeAdsLimitTier; + public $availableAds; + public $kind; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setActiveAds($activeAds) + { + $this->activeAds = $activeAds; + } + public function getActiveAds() + { + return $this->activeAds; + } + public function setActiveAdsLimitTier($activeAdsLimitTier) + { + $this->activeAdsLimitTier = $activeAdsLimitTier; + } + public function getActiveAdsLimitTier() + { + return $this->activeAdsLimitTier; + } + public function setAvailableAds($availableAds) + { + $this->availableAds = $availableAds; + } + public function getAvailableAds() + { + return $this->availableAds; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Dfareporting_AccountPermission extends Google_Collection +{ + protected $collection_key = 'accountProfiles'; + protected $internal_gapi_mappings = array( + ); + public $accountProfiles; + public $id; + public $kind; + public $level; + public $name; + public $permissionGroupId; + + + public function setAccountProfiles($accountProfiles) + { + $this->accountProfiles = $accountProfiles; + } + public function getAccountProfiles() + { + return $this->accountProfiles; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLevel($level) + { + $this->level = $level; + } + public function getLevel() + { + return $this->level; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPermissionGroupId($permissionGroupId) + { + $this->permissionGroupId = $permissionGroupId; + } + public function getPermissionGroupId() + { + return $this->permissionGroupId; + } +} + +class Google_Service_Dfareporting_AccountPermissionGroup extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $kind; + public $name; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_Dfareporting_AccountPermissionGroupsListResponse extends Google_Collection +{ + protected $collection_key = 'accountPermissionGroups'; + protected $internal_gapi_mappings = array( + ); + protected $accountPermissionGroupsType = 'Google_Service_Dfareporting_AccountPermissionGroup'; + protected $accountPermissionGroupsDataType = 'array'; + public $kind; + + + public function setAccountPermissionGroups($accountPermissionGroups) + { + $this->accountPermissionGroups = $accountPermissionGroups; + } + public function getAccountPermissionGroups() + { + return $this->accountPermissionGroups; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Dfareporting_AccountPermissionsListResponse extends Google_Collection +{ + protected $collection_key = 'accountPermissions'; + protected $internal_gapi_mappings = array( + ); + protected $accountPermissionsType = 'Google_Service_Dfareporting_AccountPermission'; + protected $accountPermissionsDataType = 'array'; + public $kind; + + + public function setAccountPermissions($accountPermissions) + { + $this->accountPermissions = $accountPermissions; + } + public function getAccountPermissions() + { + return $this->accountPermissions; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Dfareporting_AccountUserProfile extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $active; + protected $advertiserFilterType = 'Google_Service_Dfareporting_ObjectFilter'; + protected $advertiserFilterDataType = ''; + protected $campaignFilterType = 'Google_Service_Dfareporting_ObjectFilter'; + protected $campaignFilterDataType = ''; + public $comments; + public $email; + public $id; + public $kind; + public $locale; + public $name; + protected $siteFilterType = 'Google_Service_Dfareporting_ObjectFilter'; + protected $siteFilterDataType = ''; + public $subaccountId; + public $traffickerType; + public $userAccessType; + protected $userRoleFilterType = 'Google_Service_Dfareporting_ObjectFilter'; + protected $userRoleFilterDataType = ''; + public $userRoleId; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setActive($active) + { + $this->active = $active; + } + public function getActive() + { + return $this->active; + } + public function setAdvertiserFilter(Google_Service_Dfareporting_ObjectFilter $advertiserFilter) + { + $this->advertiserFilter = $advertiserFilter; + } + public function getAdvertiserFilter() + { + return $this->advertiserFilter; + } + public function setCampaignFilter(Google_Service_Dfareporting_ObjectFilter $campaignFilter) + { + $this->campaignFilter = $campaignFilter; + } + public function getCampaignFilter() + { + return $this->campaignFilter; + } + public function setComments($comments) + { + $this->comments = $comments; + } + public function getComments() + { + return $this->comments; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLocale($locale) + { + $this->locale = $locale; + } + public function getLocale() + { + return $this->locale; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSiteFilter(Google_Service_Dfareporting_ObjectFilter $siteFilter) + { + $this->siteFilter = $siteFilter; + } + public function getSiteFilter() + { + return $this->siteFilter; + } + public function setSubaccountId($subaccountId) + { + $this->subaccountId = $subaccountId; + } + public function getSubaccountId() + { + return $this->subaccountId; + } + public function setTraffickerType($traffickerType) + { + $this->traffickerType = $traffickerType; + } + public function getTraffickerType() + { + return $this->traffickerType; + } + public function setUserAccessType($userAccessType) + { + $this->userAccessType = $userAccessType; + } + public function getUserAccessType() + { + return $this->userAccessType; + } + public function setUserRoleFilter(Google_Service_Dfareporting_ObjectFilter $userRoleFilter) + { + $this->userRoleFilter = $userRoleFilter; + } + public function getUserRoleFilter() + { + return $this->userRoleFilter; + } + public function setUserRoleId($userRoleId) + { + $this->userRoleId = $userRoleId; + } + public function getUserRoleId() + { + return $this->userRoleId; + } +} + +class Google_Service_Dfareporting_AccountUserProfilesListResponse extends Google_Collection +{ + protected $collection_key = 'accountUserProfiles'; + protected $internal_gapi_mappings = array( + ); + protected $accountUserProfilesType = 'Google_Service_Dfareporting_AccountUserProfile'; + protected $accountUserProfilesDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setAccountUserProfiles($accountUserProfiles) + { + $this->accountUserProfiles = $accountUserProfiles; + } + public function getAccountUserProfiles() + { + return $this->accountUserProfiles; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Dfareporting_AccountsListResponse extends Google_Collection +{ + protected $collection_key = 'accounts'; + protected $internal_gapi_mappings = array( + ); + protected $accountsType = 'Google_Service_Dfareporting_Account'; + protected $accountsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setAccounts($accounts) + { + $this->accounts = $accounts; + } + public function getAccounts() + { + return $this->accounts; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Dfareporting_Activities extends Google_Collection +{ + protected $collection_key = 'metricNames'; + protected $internal_gapi_mappings = array( + ); + protected $filtersType = 'Google_Service_Dfareporting_DimensionValue'; + protected $filtersDataType = 'array'; + public $kind; + public $metricNames; + + + public function setFilters($filters) + { + $this->filters = $filters; + } + public function getFilters() + { + return $this->filters; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMetricNames($metricNames) + { + $this->metricNames = $metricNames; + } + public function getMetricNames() + { + return $this->metricNames; + } +} + +class Google_Service_Dfareporting_Ad extends Google_Collection +{ + protected $collection_key = 'placementAssignments'; + protected $internal_gapi_mappings = array( + "remarketingListExpression" => "remarketing_list_expression", + ); + public $accountId; + public $active; + public $advertiserId; + protected $advertiserIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue'; + protected $advertiserIdDimensionValueDataType = ''; + public $archived; + public $audienceSegmentId; + public $campaignId; + protected $campaignIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue'; + protected $campaignIdDimensionValueDataType = ''; + protected $clickThroughUrlType = 'Google_Service_Dfareporting_ClickThroughUrl'; + protected $clickThroughUrlDataType = ''; + protected $clickThroughUrlSuffixPropertiesType = 'Google_Service_Dfareporting_ClickThroughUrlSuffixProperties'; + protected $clickThroughUrlSuffixPropertiesDataType = ''; + public $comments; + public $compatibility; + protected $createInfoType = 'Google_Service_Dfareporting_LastModifiedInfo'; + protected $createInfoDataType = ''; + protected $creativeGroupAssignmentsType = 'Google_Service_Dfareporting_CreativeGroupAssignment'; + protected $creativeGroupAssignmentsDataType = 'array'; + protected $creativeRotationType = 'Google_Service_Dfareporting_CreativeRotation'; + protected $creativeRotationDataType = ''; + protected $dayPartTargetingType = 'Google_Service_Dfareporting_DayPartTargeting'; + protected $dayPartTargetingDataType = ''; + protected $defaultClickThroughEventTagPropertiesType = 'Google_Service_Dfareporting_DefaultClickThroughEventTagProperties'; + protected $defaultClickThroughEventTagPropertiesDataType = ''; + protected $deliveryScheduleType = 'Google_Service_Dfareporting_DeliverySchedule'; + protected $deliveryScheduleDataType = ''; + public $dynamicClickTracker; + public $endTime; + protected $eventTagOverridesType = 'Google_Service_Dfareporting_EventTagOverride'; + protected $eventTagOverridesDataType = 'array'; + protected $geoTargetingType = 'Google_Service_Dfareporting_GeoTargeting'; + protected $geoTargetingDataType = ''; + public $id; + protected $idDimensionValueType = 'Google_Service_Dfareporting_DimensionValue'; + protected $idDimensionValueDataType = ''; + protected $keyValueTargetingExpressionType = 'Google_Service_Dfareporting_KeyValueTargetingExpression'; + protected $keyValueTargetingExpressionDataType = ''; + public $kind; + protected $lastModifiedInfoType = 'Google_Service_Dfareporting_LastModifiedInfo'; + protected $lastModifiedInfoDataType = ''; + public $name; + protected $placementAssignmentsType = 'Google_Service_Dfareporting_PlacementAssignment'; + protected $placementAssignmentsDataType = 'array'; + protected $remarketingListExpressionType = 'Google_Service_Dfareporting_ListTargetingExpression'; + protected $remarketingListExpressionDataType = ''; + protected $sizeType = 'Google_Service_Dfareporting_Size'; + protected $sizeDataType = ''; + public $sslCompliant; + public $sslRequired; + public $startTime; + public $subaccountId; + protected $technologyTargetingType = 'Google_Service_Dfareporting_TechnologyTargeting'; + protected $technologyTargetingDataType = ''; + public $type; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setActive($active) + { + $this->active = $active; + } + public function getActive() + { + return $this->active; + } + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue) + { + $this->advertiserIdDimensionValue = $advertiserIdDimensionValue; + } + public function getAdvertiserIdDimensionValue() + { + return $this->advertiserIdDimensionValue; + } + public function setArchived($archived) + { + $this->archived = $archived; + } + public function getArchived() + { + return $this->archived; + } + public function setAudienceSegmentId($audienceSegmentId) + { + $this->audienceSegmentId = $audienceSegmentId; + } + public function getAudienceSegmentId() + { + return $this->audienceSegmentId; + } + public function setCampaignId($campaignId) + { + $this->campaignId = $campaignId; + } + public function getCampaignId() + { + return $this->campaignId; + } + public function setCampaignIdDimensionValue(Google_Service_Dfareporting_DimensionValue $campaignIdDimensionValue) + { + $this->campaignIdDimensionValue = $campaignIdDimensionValue; + } + public function getCampaignIdDimensionValue() + { + return $this->campaignIdDimensionValue; + } + public function setClickThroughUrl(Google_Service_Dfareporting_ClickThroughUrl $clickThroughUrl) + { + $this->clickThroughUrl = $clickThroughUrl; + } + public function getClickThroughUrl() + { + return $this->clickThroughUrl; + } + public function setClickThroughUrlSuffixProperties(Google_Service_Dfareporting_ClickThroughUrlSuffixProperties $clickThroughUrlSuffixProperties) + { + $this->clickThroughUrlSuffixProperties = $clickThroughUrlSuffixProperties; + } + public function getClickThroughUrlSuffixProperties() + { + return $this->clickThroughUrlSuffixProperties; + } + public function setComments($comments) + { + $this->comments = $comments; + } + public function getComments() + { + return $this->comments; + } + public function setCompatibility($compatibility) + { + $this->compatibility = $compatibility; + } + public function getCompatibility() + { + return $this->compatibility; + } + public function setCreateInfo(Google_Service_Dfareporting_LastModifiedInfo $createInfo) + { + $this->createInfo = $createInfo; + } + public function getCreateInfo() + { + return $this->createInfo; + } + public function setCreativeGroupAssignments($creativeGroupAssignments) + { + $this->creativeGroupAssignments = $creativeGroupAssignments; + } + public function getCreativeGroupAssignments() + { + return $this->creativeGroupAssignments; + } + public function setCreativeRotation(Google_Service_Dfareporting_CreativeRotation $creativeRotation) + { + $this->creativeRotation = $creativeRotation; + } + public function getCreativeRotation() + { + return $this->creativeRotation; + } + public function setDayPartTargeting(Google_Service_Dfareporting_DayPartTargeting $dayPartTargeting) + { + $this->dayPartTargeting = $dayPartTargeting; + } + public function getDayPartTargeting() + { + return $this->dayPartTargeting; + } + public function setDefaultClickThroughEventTagProperties(Google_Service_Dfareporting_DefaultClickThroughEventTagProperties $defaultClickThroughEventTagProperties) + { + $this->defaultClickThroughEventTagProperties = $defaultClickThroughEventTagProperties; + } + public function getDefaultClickThroughEventTagProperties() + { + return $this->defaultClickThroughEventTagProperties; + } + public function setDeliverySchedule(Google_Service_Dfareporting_DeliverySchedule $deliverySchedule) + { + $this->deliverySchedule = $deliverySchedule; + } + public function getDeliverySchedule() + { + return $this->deliverySchedule; + } + public function setDynamicClickTracker($dynamicClickTracker) + { + $this->dynamicClickTracker = $dynamicClickTracker; + } + public function getDynamicClickTracker() + { + return $this->dynamicClickTracker; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setEventTagOverrides($eventTagOverrides) + { + $this->eventTagOverrides = $eventTagOverrides; + } + public function getEventTagOverrides() + { + return $this->eventTagOverrides; + } + public function setGeoTargeting(Google_Service_Dfareporting_GeoTargeting $geoTargeting) + { + $this->geoTargeting = $geoTargeting; + } + public function getGeoTargeting() + { + return $this->geoTargeting; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue) + { + $this->idDimensionValue = $idDimensionValue; + } + public function getIdDimensionValue() + { + return $this->idDimensionValue; + } + public function setKeyValueTargetingExpression(Google_Service_Dfareporting_KeyValueTargetingExpression $keyValueTargetingExpression) + { + $this->keyValueTargetingExpression = $keyValueTargetingExpression; + } + public function getKeyValueTargetingExpression() + { + return $this->keyValueTargetingExpression; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastModifiedInfo(Google_Service_Dfareporting_LastModifiedInfo $lastModifiedInfo) + { + $this->lastModifiedInfo = $lastModifiedInfo; + } + public function getLastModifiedInfo() + { + return $this->lastModifiedInfo; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPlacementAssignments($placementAssignments) + { + $this->placementAssignments = $placementAssignments; + } + public function getPlacementAssignments() + { + return $this->placementAssignments; + } + public function setRemarketingListExpression(Google_Service_Dfareporting_ListTargetingExpression $remarketingListExpression) + { + $this->remarketingListExpression = $remarketingListExpression; + } + public function getRemarketingListExpression() + { + return $this->remarketingListExpression; + } + public function setSize(Google_Service_Dfareporting_Size $size) + { + $this->size = $size; + } + public function getSize() + { + return $this->size; + } + public function setSslCompliant($sslCompliant) + { + $this->sslCompliant = $sslCompliant; + } + public function getSslCompliant() + { + return $this->sslCompliant; + } + public function setSslRequired($sslRequired) + { + $this->sslRequired = $sslRequired; + } + public function getSslRequired() + { + return $this->sslRequired; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setSubaccountId($subaccountId) + { + $this->subaccountId = $subaccountId; + } + public function getSubaccountId() + { + return $this->subaccountId; + } + public function setTechnologyTargeting(Google_Service_Dfareporting_TechnologyTargeting $technologyTargeting) + { + $this->technologyTargeting = $technologyTargeting; + } + public function getTechnologyTargeting() + { + return $this->technologyTargeting; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Dfareporting_AdSlot extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $comment; + public $compatibility; + public $height; + public $linkedPlacementId; + public $name; + public $paymentSourceType; + public $primary; + public $width; + + + public function setComment($comment) + { + $this->comment = $comment; + } + public function getComment() + { + return $this->comment; + } + public function setCompatibility($compatibility) + { + $this->compatibility = $compatibility; + } + public function getCompatibility() + { + return $this->compatibility; + } + public function setHeight($height) + { + $this->height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setLinkedPlacementId($linkedPlacementId) + { + $this->linkedPlacementId = $linkedPlacementId; + } + public function getLinkedPlacementId() + { + return $this->linkedPlacementId; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPaymentSourceType($paymentSourceType) + { + $this->paymentSourceType = $paymentSourceType; + } + public function getPaymentSourceType() + { + return $this->paymentSourceType; + } + public function setPrimary($primary) + { + $this->primary = $primary; + } + public function getPrimary() + { + return $this->primary; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} + +class Google_Service_Dfareporting_AdsListResponse extends Google_Collection +{ + protected $collection_key = 'ads'; + protected $internal_gapi_mappings = array( + ); + protected $adsType = 'Google_Service_Dfareporting_Ad'; + protected $adsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setAds($ads) + { + $this->ads = $ads; + } + public function getAds() + { + return $this->ads; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Dfareporting_Advertiser extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $advertiserGroupId; + public $clickThroughUrlSuffix; + public $defaultClickThroughEventTagId; + public $defaultEmail; + public $floodlightConfigurationId; + protected $floodlightConfigurationIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue'; + protected $floodlightConfigurationIdDimensionValueDataType = ''; + public $id; + protected $idDimensionValueType = 'Google_Service_Dfareporting_DimensionValue'; + protected $idDimensionValueDataType = ''; + public $kind; + public $name; + public $originalFloodlightConfigurationId; + public $status; + public $subaccountId; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAdvertiserGroupId($advertiserGroupId) + { + $this->advertiserGroupId = $advertiserGroupId; + } + public function getAdvertiserGroupId() + { + return $this->advertiserGroupId; + } + public function setClickThroughUrlSuffix($clickThroughUrlSuffix) + { + $this->clickThroughUrlSuffix = $clickThroughUrlSuffix; + } + public function getClickThroughUrlSuffix() + { + return $this->clickThroughUrlSuffix; + } + public function setDefaultClickThroughEventTagId($defaultClickThroughEventTagId) + { + $this->defaultClickThroughEventTagId = $defaultClickThroughEventTagId; + } + public function getDefaultClickThroughEventTagId() + { + return $this->defaultClickThroughEventTagId; + } + public function setDefaultEmail($defaultEmail) + { + $this->defaultEmail = $defaultEmail; + } + public function getDefaultEmail() + { + return $this->defaultEmail; + } + public function setFloodlightConfigurationId($floodlightConfigurationId) + { + $this->floodlightConfigurationId = $floodlightConfigurationId; + } + public function getFloodlightConfigurationId() + { + return $this->floodlightConfigurationId; + } + public function setFloodlightConfigurationIdDimensionValue(Google_Service_Dfareporting_DimensionValue $floodlightConfigurationIdDimensionValue) + { + $this->floodlightConfigurationIdDimensionValue = $floodlightConfigurationIdDimensionValue; + } + public function getFloodlightConfigurationIdDimensionValue() + { + return $this->floodlightConfigurationIdDimensionValue; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue) + { + $this->idDimensionValue = $idDimensionValue; + } + public function getIdDimensionValue() + { + return $this->idDimensionValue; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOriginalFloodlightConfigurationId($originalFloodlightConfigurationId) + { + $this->originalFloodlightConfigurationId = $originalFloodlightConfigurationId; + } + public function getOriginalFloodlightConfigurationId() + { + return $this->originalFloodlightConfigurationId; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setSubaccountId($subaccountId) + { + $this->subaccountId = $subaccountId; + } + public function getSubaccountId() + { + return $this->subaccountId; + } +} + +class Google_Service_Dfareporting_AdvertiserGroup extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $id; + public $kind; + public $name; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_Dfareporting_AdvertiserGroupsListResponse extends Google_Collection +{ + protected $collection_key = 'advertiserGroups'; + protected $internal_gapi_mappings = array( + ); + protected $advertiserGroupsType = 'Google_Service_Dfareporting_AdvertiserGroup'; + protected $advertiserGroupsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setAdvertiserGroups($advertiserGroups) + { + $this->advertiserGroups = $advertiserGroups; + } + public function getAdvertiserGroups() + { + return $this->advertiserGroups; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Dfareporting_AdvertisersListResponse extends Google_Collection +{ + protected $collection_key = 'advertisers'; + protected $internal_gapi_mappings = array( + ); + protected $advertisersType = 'Google_Service_Dfareporting_Advertiser'; + protected $advertisersDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setAdvertisers($advertisers) + { + $this->advertisers = $advertisers; + } + public function getAdvertisers() + { + return $this->advertisers; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Dfareporting_AudienceSegment extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $allocation; + public $id; + public $name; + + + public function setAllocation($allocation) + { + $this->allocation = $allocation; + } + public function getAllocation() + { + return $this->allocation; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_Dfareporting_AudienceSegmentGroup extends Google_Collection +{ + protected $collection_key = 'audienceSegments'; + protected $internal_gapi_mappings = array( + ); + protected $audienceSegmentsType = 'Google_Service_Dfareporting_AudienceSegment'; + protected $audienceSegmentsDataType = 'array'; + public $id; + public $name; + + + public function setAudienceSegments($audienceSegments) + { + $this->audienceSegments = $audienceSegments; + } + public function getAudienceSegments() + { + return $this->audienceSegments; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_Dfareporting_Browser extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $browserVersionId; + public $dartId; + public $kind; + public $majorVersion; + public $minorVersion; + public $name; + + + public function setBrowserVersionId($browserVersionId) + { + $this->browserVersionId = $browserVersionId; + } + public function getBrowserVersionId() + { + return $this->browserVersionId; + } + public function setDartId($dartId) + { + $this->dartId = $dartId; + } + public function getDartId() + { + return $this->dartId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMajorVersion($majorVersion) + { + $this->majorVersion = $majorVersion; + } + public function getMajorVersion() + { + return $this->majorVersion; + } + public function setMinorVersion($minorVersion) + { + $this->minorVersion = $minorVersion; + } + public function getMinorVersion() + { + return $this->minorVersion; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_Dfareporting_BrowsersListResponse extends Google_Collection +{ + protected $collection_key = 'browsers'; + protected $internal_gapi_mappings = array( + ); + protected $browsersType = 'Google_Service_Dfareporting_Browser'; + protected $browsersDataType = 'array'; + public $kind; + + + public function setBrowsers($browsers) + { + $this->browsers = $browsers; + } + public function getBrowsers() + { + return $this->browsers; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Dfareporting_Campaign extends Google_Collection +{ + protected $collection_key = 'traffickerEmails'; + protected $internal_gapi_mappings = array( + ); + public $accountId; + protected $additionalCreativeOptimizationConfigurationsType = 'Google_Service_Dfareporting_CreativeOptimizationConfiguration'; + protected $additionalCreativeOptimizationConfigurationsDataType = 'array'; + public $advertiserGroupId; + public $advertiserId; + protected $advertiserIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue'; + protected $advertiserIdDimensionValueDataType = ''; + public $archived; + protected $audienceSegmentGroupsType = 'Google_Service_Dfareporting_AudienceSegmentGroup'; + protected $audienceSegmentGroupsDataType = 'array'; + public $billingInvoiceCode; + protected $clickThroughUrlSuffixPropertiesType = 'Google_Service_Dfareporting_ClickThroughUrlSuffixProperties'; + protected $clickThroughUrlSuffixPropertiesDataType = ''; + public $comment; + public $comscoreVceEnabled; + protected $createInfoType = 'Google_Service_Dfareporting_LastModifiedInfo'; + protected $createInfoDataType = ''; + public $creativeGroupIds; + protected $creativeOptimizationConfigurationType = 'Google_Service_Dfareporting_CreativeOptimizationConfiguration'; + protected $creativeOptimizationConfigurationDataType = ''; + protected $defaultClickThroughEventTagPropertiesType = 'Google_Service_Dfareporting_DefaultClickThroughEventTagProperties'; + protected $defaultClickThroughEventTagPropertiesDataType = ''; + public $endDate; + protected $eventTagOverridesType = 'Google_Service_Dfareporting_EventTagOverride'; + protected $eventTagOverridesDataType = 'array'; + public $externalId; + public $id; + protected $idDimensionValueType = 'Google_Service_Dfareporting_DimensionValue'; + protected $idDimensionValueDataType = ''; + public $kind; + protected $lastModifiedInfoType = 'Google_Service_Dfareporting_LastModifiedInfo'; + protected $lastModifiedInfoDataType = ''; + protected $lookbackConfigurationType = 'Google_Service_Dfareporting_LookbackConfiguration'; + protected $lookbackConfigurationDataType = ''; + public $name; + public $nielsenOcrEnabled; + public $startDate; + public $subaccountId; + public $traffickerEmails; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAdditionalCreativeOptimizationConfigurations($additionalCreativeOptimizationConfigurations) + { + $this->additionalCreativeOptimizationConfigurations = $additionalCreativeOptimizationConfigurations; + } + public function getAdditionalCreativeOptimizationConfigurations() + { + return $this->additionalCreativeOptimizationConfigurations; + } + public function setAdvertiserGroupId($advertiserGroupId) + { + $this->advertiserGroupId = $advertiserGroupId; + } + public function getAdvertiserGroupId() + { + return $this->advertiserGroupId; + } + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue) + { + $this->advertiserIdDimensionValue = $advertiserIdDimensionValue; + } + public function getAdvertiserIdDimensionValue() + { + return $this->advertiserIdDimensionValue; + } + public function setArchived($archived) + { + $this->archived = $archived; + } + public function getArchived() + { + return $this->archived; + } + public function setAudienceSegmentGroups($audienceSegmentGroups) + { + $this->audienceSegmentGroups = $audienceSegmentGroups; + } + public function getAudienceSegmentGroups() + { + return $this->audienceSegmentGroups; + } + public function setBillingInvoiceCode($billingInvoiceCode) + { + $this->billingInvoiceCode = $billingInvoiceCode; + } + public function getBillingInvoiceCode() + { + return $this->billingInvoiceCode; + } + public function setClickThroughUrlSuffixProperties(Google_Service_Dfareporting_ClickThroughUrlSuffixProperties $clickThroughUrlSuffixProperties) + { + $this->clickThroughUrlSuffixProperties = $clickThroughUrlSuffixProperties; + } + public function getClickThroughUrlSuffixProperties() + { + return $this->clickThroughUrlSuffixProperties; + } + public function setComment($comment) + { + $this->comment = $comment; + } + public function getComment() + { + return $this->comment; + } + public function setComscoreVceEnabled($comscoreVceEnabled) + { + $this->comscoreVceEnabled = $comscoreVceEnabled; + } + public function getComscoreVceEnabled() + { + return $this->comscoreVceEnabled; + } + public function setCreateInfo(Google_Service_Dfareporting_LastModifiedInfo $createInfo) + { + $this->createInfo = $createInfo; + } + public function getCreateInfo() + { + return $this->createInfo; + } + public function setCreativeGroupIds($creativeGroupIds) + { + $this->creativeGroupIds = $creativeGroupIds; + } + public function getCreativeGroupIds() + { + return $this->creativeGroupIds; + } + public function setCreativeOptimizationConfiguration(Google_Service_Dfareporting_CreativeOptimizationConfiguration $creativeOptimizationConfiguration) + { + $this->creativeOptimizationConfiguration = $creativeOptimizationConfiguration; + } + public function getCreativeOptimizationConfiguration() + { + return $this->creativeOptimizationConfiguration; + } + public function setDefaultClickThroughEventTagProperties(Google_Service_Dfareporting_DefaultClickThroughEventTagProperties $defaultClickThroughEventTagProperties) + { + $this->defaultClickThroughEventTagProperties = $defaultClickThroughEventTagProperties; + } + public function getDefaultClickThroughEventTagProperties() + { + return $this->defaultClickThroughEventTagProperties; + } + public function setEndDate($endDate) + { + $this->endDate = $endDate; + } + public function getEndDate() + { + return $this->endDate; + } + public function setEventTagOverrides($eventTagOverrides) + { + $this->eventTagOverrides = $eventTagOverrides; + } + public function getEventTagOverrides() + { + return $this->eventTagOverrides; + } + public function setExternalId($externalId) + { + $this->externalId = $externalId; + } + public function getExternalId() + { + return $this->externalId; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue) + { + $this->idDimensionValue = $idDimensionValue; + } + public function getIdDimensionValue() + { + return $this->idDimensionValue; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastModifiedInfo(Google_Service_Dfareporting_LastModifiedInfo $lastModifiedInfo) + { + $this->lastModifiedInfo = $lastModifiedInfo; + } + public function getLastModifiedInfo() + { + return $this->lastModifiedInfo; + } + public function setLookbackConfiguration(Google_Service_Dfareporting_LookbackConfiguration $lookbackConfiguration) + { + $this->lookbackConfiguration = $lookbackConfiguration; + } + public function getLookbackConfiguration() + { + return $this->lookbackConfiguration; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNielsenOcrEnabled($nielsenOcrEnabled) + { + $this->nielsenOcrEnabled = $nielsenOcrEnabled; + } + public function getNielsenOcrEnabled() + { + return $this->nielsenOcrEnabled; + } + public function setStartDate($startDate) + { + $this->startDate = $startDate; + } + public function getStartDate() + { + return $this->startDate; + } + public function setSubaccountId($subaccountId) + { + $this->subaccountId = $subaccountId; + } + public function getSubaccountId() + { + return $this->subaccountId; + } + public function setTraffickerEmails($traffickerEmails) + { + $this->traffickerEmails = $traffickerEmails; + } + public function getTraffickerEmails() + { + return $this->traffickerEmails; + } +} + +class Google_Service_Dfareporting_CampaignCreativeAssociation extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $creativeId; + public $kind; + + + public function setCreativeId($creativeId) + { + $this->creativeId = $creativeId; + } + public function getCreativeId() + { + return $this->creativeId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Dfareporting_CampaignCreativeAssociationsListResponse extends Google_Collection +{ + protected $collection_key = 'campaignCreativeAssociations'; + protected $internal_gapi_mappings = array( + ); + protected $campaignCreativeAssociationsType = 'Google_Service_Dfareporting_CampaignCreativeAssociation'; + protected $campaignCreativeAssociationsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setCampaignCreativeAssociations($campaignCreativeAssociations) + { + $this->campaignCreativeAssociations = $campaignCreativeAssociations; + } + public function getCampaignCreativeAssociations() + { + return $this->campaignCreativeAssociations; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Dfareporting_CampaignsListResponse extends Google_Collection +{ + protected $collection_key = 'campaigns'; + protected $internal_gapi_mappings = array( + ); + protected $campaignsType = 'Google_Service_Dfareporting_Campaign'; + protected $campaignsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setCampaigns($campaigns) + { + $this->campaigns = $campaigns; + } + public function getCampaigns() + { + return $this->campaigns; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Dfareporting_ChangeLog extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $action; + public $changeTime; + public $fieldName; + public $id; + public $kind; + public $newValue; + public $objectId; + public $objectType; + public $oldValue; + public $subaccountId; + public $transactionId; + public $userProfileId; + public $userProfileName; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAction($action) + { + $this->action = $action; + } + public function getAction() + { + return $this->action; + } + public function setChangeTime($changeTime) + { + $this->changeTime = $changeTime; + } + public function getChangeTime() + { + return $this->changeTime; + } + public function setFieldName($fieldName) + { + $this->fieldName = $fieldName; + } + public function getFieldName() + { + return $this->fieldName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNewValue($newValue) + { + $this->newValue = $newValue; + } + public function getNewValue() + { + return $this->newValue; + } + public function setObjectId($objectId) + { + $this->objectId = $objectId; + } + public function getObjectId() + { + return $this->objectId; + } + public function setObjectType($objectType) + { + $this->objectType = $objectType; + } + public function getObjectType() + { + return $this->objectType; + } + public function setOldValue($oldValue) + { + $this->oldValue = $oldValue; + } + public function getOldValue() + { + return $this->oldValue; + } + public function setSubaccountId($subaccountId) + { + $this->subaccountId = $subaccountId; + } + public function getSubaccountId() + { + return $this->subaccountId; + } + public function setTransactionId($transactionId) + { + $this->transactionId = $transactionId; + } + public function getTransactionId() + { + return $this->transactionId; + } + public function setUserProfileId($userProfileId) + { + $this->userProfileId = $userProfileId; + } + public function getUserProfileId() + { + return $this->userProfileId; + } + public function setUserProfileName($userProfileName) + { + $this->userProfileName = $userProfileName; + } + public function getUserProfileName() + { + return $this->userProfileName; + } +} + +class Google_Service_Dfareporting_ChangeLogsListResponse extends Google_Collection +{ + protected $collection_key = 'changeLogs'; + protected $internal_gapi_mappings = array( + ); + protected $changeLogsType = 'Google_Service_Dfareporting_ChangeLog'; + protected $changeLogsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setChangeLogs($changeLogs) + { + $this->changeLogs = $changeLogs; + } + public function getChangeLogs() + { + return $this->changeLogs; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Dfareporting_CitiesListResponse extends Google_Collection +{ + protected $collection_key = 'cities'; + protected $internal_gapi_mappings = array( + ); + protected $citiesType = 'Google_Service_Dfareporting_City'; + protected $citiesDataType = 'array'; + public $kind; + + + public function setCities($cities) + { + $this->cities = $cities; + } + public function getCities() + { + return $this->cities; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Dfareporting_City extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $countryCode; + public $countryDartId; + public $dartId; + public $kind; + public $metroCode; + public $metroDmaId; + public $name; + public $regionCode; + public $regionDartId; + + + public function setCountryCode($countryCode) + { + $this->countryCode = $countryCode; + } + public function getCountryCode() + { + return $this->countryCode; + } + public function setCountryDartId($countryDartId) + { + $this->countryDartId = $countryDartId; + } + public function getCountryDartId() + { + return $this->countryDartId; + } + public function setDartId($dartId) + { + $this->dartId = $dartId; + } + public function getDartId() + { + return $this->dartId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMetroCode($metroCode) + { + $this->metroCode = $metroCode; + } + public function getMetroCode() + { + return $this->metroCode; + } + public function setMetroDmaId($metroDmaId) + { + $this->metroDmaId = $metroDmaId; + } + public function getMetroDmaId() + { + return $this->metroDmaId; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setRegionCode($regionCode) + { + $this->regionCode = $regionCode; + } + public function getRegionCode() + { + return $this->regionCode; + } + public function setRegionDartId($regionDartId) + { + $this->regionDartId = $regionDartId; + } + public function getRegionDartId() + { + return $this->regionDartId; + } +} + +class Google_Service_Dfareporting_ClickTag extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $eventName; + public $name; + public $value; + + + public function setEventName($eventName) + { + $this->eventName = $eventName; + } + public function getEventName() + { + return $this->eventName; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Dfareporting_ClickThroughUrl extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $customClickThroughUrl; + public $defaultLandingPage; + public $landingPageId; + + + public function setCustomClickThroughUrl($customClickThroughUrl) + { + $this->customClickThroughUrl = $customClickThroughUrl; + } + public function getCustomClickThroughUrl() + { + return $this->customClickThroughUrl; + } + public function setDefaultLandingPage($defaultLandingPage) + { + $this->defaultLandingPage = $defaultLandingPage; + } + public function getDefaultLandingPage() + { + return $this->defaultLandingPage; + } + public function setLandingPageId($landingPageId) + { + $this->landingPageId = $landingPageId; + } + public function getLandingPageId() + { + return $this->landingPageId; + } +} + +class Google_Service_Dfareporting_ClickThroughUrlSuffixProperties extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $clickThroughUrlSuffix; + public $overrideInheritedSuffix; + + + public function setClickThroughUrlSuffix($clickThroughUrlSuffix) + { + $this->clickThroughUrlSuffix = $clickThroughUrlSuffix; + } + public function getClickThroughUrlSuffix() + { + return $this->clickThroughUrlSuffix; + } + public function setOverrideInheritedSuffix($overrideInheritedSuffix) + { + $this->overrideInheritedSuffix = $overrideInheritedSuffix; + } + public function getOverrideInheritedSuffix() + { + return $this->overrideInheritedSuffix; + } +} + +class Google_Service_Dfareporting_CompanionClickThroughOverride extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $clickThroughUrlType = 'Google_Service_Dfareporting_ClickThroughUrl'; + protected $clickThroughUrlDataType = ''; + public $creativeId; + + + public function setClickThroughUrl(Google_Service_Dfareporting_ClickThroughUrl $clickThroughUrl) + { + $this->clickThroughUrl = $clickThroughUrl; + } + public function getClickThroughUrl() + { + return $this->clickThroughUrl; + } + public function setCreativeId($creativeId) + { + $this->creativeId = $creativeId; + } + public function getCreativeId() + { + return $this->creativeId; + } +} + +class Google_Service_Dfareporting_CompatibleFields extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $crossDimensionReachReportCompatibleFieldsType = 'Google_Service_Dfareporting_CrossDimensionReachReportCompatibleFields'; + protected $crossDimensionReachReportCompatibleFieldsDataType = ''; + protected $floodlightReportCompatibleFieldsType = 'Google_Service_Dfareporting_FloodlightReportCompatibleFields'; + protected $floodlightReportCompatibleFieldsDataType = ''; + public $kind; + protected $pathToConversionReportCompatibleFieldsType = 'Google_Service_Dfareporting_PathToConversionReportCompatibleFields'; + protected $pathToConversionReportCompatibleFieldsDataType = ''; + protected $reachReportCompatibleFieldsType = 'Google_Service_Dfareporting_ReachReportCompatibleFields'; + protected $reachReportCompatibleFieldsDataType = ''; + protected $reportCompatibleFieldsType = 'Google_Service_Dfareporting_ReportCompatibleFields'; + protected $reportCompatibleFieldsDataType = ''; + + + public function setCrossDimensionReachReportCompatibleFields(Google_Service_Dfareporting_CrossDimensionReachReportCompatibleFields $crossDimensionReachReportCompatibleFields) + { + $this->crossDimensionReachReportCompatibleFields = $crossDimensionReachReportCompatibleFields; + } + public function getCrossDimensionReachReportCompatibleFields() + { + return $this->crossDimensionReachReportCompatibleFields; + } + public function setFloodlightReportCompatibleFields(Google_Service_Dfareporting_FloodlightReportCompatibleFields $floodlightReportCompatibleFields) + { + $this->floodlightReportCompatibleFields = $floodlightReportCompatibleFields; + } + public function getFloodlightReportCompatibleFields() + { + return $this->floodlightReportCompatibleFields; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPathToConversionReportCompatibleFields(Google_Service_Dfareporting_PathToConversionReportCompatibleFields $pathToConversionReportCompatibleFields) + { + $this->pathToConversionReportCompatibleFields = $pathToConversionReportCompatibleFields; + } + public function getPathToConversionReportCompatibleFields() + { + return $this->pathToConversionReportCompatibleFields; + } + public function setReachReportCompatibleFields(Google_Service_Dfareporting_ReachReportCompatibleFields $reachReportCompatibleFields) + { + $this->reachReportCompatibleFields = $reachReportCompatibleFields; + } + public function getReachReportCompatibleFields() + { + return $this->reachReportCompatibleFields; + } + public function setReportCompatibleFields(Google_Service_Dfareporting_ReportCompatibleFields $reportCompatibleFields) + { + $this->reportCompatibleFields = $reportCompatibleFields; + } + public function getReportCompatibleFields() + { + return $this->reportCompatibleFields; + } +} + +class Google_Service_Dfareporting_ConnectionType extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $kind; + public $name; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_Dfareporting_ConnectionTypesListResponse extends Google_Collection +{ + protected $collection_key = 'connectionTypes'; + protected $internal_gapi_mappings = array( + ); + protected $connectionTypesType = 'Google_Service_Dfareporting_ConnectionType'; + protected $connectionTypesDataType = 'array'; + public $kind; + + + public function setConnectionTypes($connectionTypes) + { + $this->connectionTypes = $connectionTypes; + } + public function getConnectionTypes() + { + return $this->connectionTypes; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Dfareporting_ContentCategoriesListResponse extends Google_Collection +{ + protected $collection_key = 'contentCategories'; + protected $internal_gapi_mappings = array( + ); + protected $contentCategoriesType = 'Google_Service_Dfareporting_ContentCategory'; + protected $contentCategoriesDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setContentCategories($contentCategories) + { + $this->contentCategories = $contentCategories; + } + public function getContentCategories() + { + return $this->contentCategories; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Dfareporting_ContentCategory extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $id; + public $kind; + public $name; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_Dfareporting_CountriesListResponse extends Google_Collection +{ + protected $collection_key = 'countries'; + protected $internal_gapi_mappings = array( + ); + protected $countriesType = 'Google_Service_Dfareporting_Country'; + protected $countriesDataType = 'array'; + public $kind; + + + public function setCountries($countries) + { + $this->countries = $countries; + } + public function getCountries() + { + return $this->countries; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Dfareporting_Country extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $countryCode; + public $dartId; + public $kind; + public $name; + public $sslEnabled; + + + public function setCountryCode($countryCode) + { + $this->countryCode = $countryCode; + } + public function getCountryCode() + { + return $this->countryCode; + } + public function setDartId($dartId) + { + $this->dartId = $dartId; + } + public function getDartId() + { + return $this->dartId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSslEnabled($sslEnabled) + { + $this->sslEnabled = $sslEnabled; + } + public function getSslEnabled() + { + return $this->sslEnabled; + } +} + +class Google_Service_Dfareporting_Creative extends Google_Collection +{ + protected $collection_key = 'timerCustomEvents'; + protected $internal_gapi_mappings = array( + "autoAdvanceImages" => "auto_advance_images", + ); + public $accountId; + public $active; + public $adParameters; + public $adTagKeys; + public $advertiserId; + public $allowScriptAccess; + public $archived; + public $artworkType; + public $authoringTool; + public $autoAdvanceImages; + public $backgroundColor; + public $backupImageClickThroughUrl; + public $backupImageFeatures; + public $backupImageReportingLabel; + protected $backupImageTargetWindowType = 'Google_Service_Dfareporting_TargetWindow'; + protected $backupImageTargetWindowDataType = ''; + protected $clickTagsType = 'Google_Service_Dfareporting_ClickTag'; + protected $clickTagsDataType = 'array'; + public $commercialId; + public $companionCreatives; + public $compatibility; + public $convertFlashToHtml5; + protected $counterCustomEventsType = 'Google_Service_Dfareporting_CreativeCustomEvent'; + protected $counterCustomEventsDataType = 'array'; + protected $creativeAssetsType = 'Google_Service_Dfareporting_CreativeAsset'; + protected $creativeAssetsDataType = 'array'; + protected $creativeFieldAssignmentsType = 'Google_Service_Dfareporting_CreativeFieldAssignment'; + protected $creativeFieldAssignmentsDataType = 'array'; + public $customKeyValues; + protected $exitCustomEventsType = 'Google_Service_Dfareporting_CreativeCustomEvent'; + protected $exitCustomEventsDataType = 'array'; + protected $fsCommandType = 'Google_Service_Dfareporting_FsCommand'; + protected $fsCommandDataType = ''; + public $htmlCode; + public $htmlCodeLocked; + public $id; + protected $idDimensionValueType = 'Google_Service_Dfareporting_DimensionValue'; + protected $idDimensionValueDataType = ''; + public $kind; + protected $lastModifiedInfoType = 'Google_Service_Dfareporting_LastModifiedInfo'; + protected $lastModifiedInfoDataType = ''; + public $latestTraffickedCreativeId; + public $name; + public $overrideCss; + public $redirectUrl; + public $renderingId; + protected $renderingIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue'; + protected $renderingIdDimensionValueDataType = ''; + public $requiredFlashPluginVersion; + public $requiredFlashVersion; + protected $sizeType = 'Google_Service_Dfareporting_Size'; + protected $sizeDataType = ''; + public $skippable; + public $sslCompliant; + public $studioAdvertiserId; + public $studioCreativeId; + public $studioTraffickedCreativeId; + public $subaccountId; + public $thirdPartyBackupImageImpressionsUrl; + public $thirdPartyRichMediaImpressionsUrl; + protected $thirdPartyUrlsType = 'Google_Service_Dfareporting_ThirdPartyTrackingUrl'; + protected $thirdPartyUrlsDataType = 'array'; + protected $timerCustomEventsType = 'Google_Service_Dfareporting_CreativeCustomEvent'; + protected $timerCustomEventsDataType = 'array'; + public $totalFileSize; + public $type; + public $version; + public $videoDescription; + public $videoDuration; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setActive($active) + { + $this->active = $active; + } + public function getActive() + { + return $this->active; + } + public function setAdParameters($adParameters) + { + $this->adParameters = $adParameters; + } + public function getAdParameters() + { + return $this->adParameters; + } + public function setAdTagKeys($adTagKeys) + { + $this->adTagKeys = $adTagKeys; + } + public function getAdTagKeys() + { + return $this->adTagKeys; + } + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setAllowScriptAccess($allowScriptAccess) + { + $this->allowScriptAccess = $allowScriptAccess; + } + public function getAllowScriptAccess() + { + return $this->allowScriptAccess; + } + public function setArchived($archived) + { + $this->archived = $archived; + } + public function getArchived() + { + return $this->archived; + } + public function setArtworkType($artworkType) + { + $this->artworkType = $artworkType; + } + public function getArtworkType() + { + return $this->artworkType; + } + public function setAuthoringTool($authoringTool) + { + $this->authoringTool = $authoringTool; + } + public function getAuthoringTool() + { + return $this->authoringTool; + } + public function setAutoAdvanceImages($autoAdvanceImages) + { + $this->autoAdvanceImages = $autoAdvanceImages; + } + public function getAutoAdvanceImages() + { + return $this->autoAdvanceImages; + } + public function setBackgroundColor($backgroundColor) + { + $this->backgroundColor = $backgroundColor; + } + public function getBackgroundColor() + { + return $this->backgroundColor; + } + public function setBackupImageClickThroughUrl($backupImageClickThroughUrl) + { + $this->backupImageClickThroughUrl = $backupImageClickThroughUrl; + } + public function getBackupImageClickThroughUrl() + { + return $this->backupImageClickThroughUrl; + } + public function setBackupImageFeatures($backupImageFeatures) + { + $this->backupImageFeatures = $backupImageFeatures; + } + public function getBackupImageFeatures() + { + return $this->backupImageFeatures; + } + public function setBackupImageReportingLabel($backupImageReportingLabel) + { + $this->backupImageReportingLabel = $backupImageReportingLabel; + } + public function getBackupImageReportingLabel() + { + return $this->backupImageReportingLabel; + } + public function setBackupImageTargetWindow(Google_Service_Dfareporting_TargetWindow $backupImageTargetWindow) + { + $this->backupImageTargetWindow = $backupImageTargetWindow; + } + public function getBackupImageTargetWindow() + { + return $this->backupImageTargetWindow; + } + public function setClickTags($clickTags) + { + $this->clickTags = $clickTags; + } + public function getClickTags() + { + return $this->clickTags; + } + public function setCommercialId($commercialId) + { + $this->commercialId = $commercialId; + } + public function getCommercialId() + { + return $this->commercialId; + } + public function setCompanionCreatives($companionCreatives) + { + $this->companionCreatives = $companionCreatives; + } + public function getCompanionCreatives() + { + return $this->companionCreatives; + } + public function setCompatibility($compatibility) + { + $this->compatibility = $compatibility; + } + public function getCompatibility() + { + return $this->compatibility; + } + public function setConvertFlashToHtml5($convertFlashToHtml5) + { + $this->convertFlashToHtml5 = $convertFlashToHtml5; + } + public function getConvertFlashToHtml5() + { + return $this->convertFlashToHtml5; + } + public function setCounterCustomEvents($counterCustomEvents) + { + $this->counterCustomEvents = $counterCustomEvents; + } + public function getCounterCustomEvents() + { + return $this->counterCustomEvents; + } + public function setCreativeAssets($creativeAssets) + { + $this->creativeAssets = $creativeAssets; + } + public function getCreativeAssets() + { + return $this->creativeAssets; + } + public function setCreativeFieldAssignments($creativeFieldAssignments) + { + $this->creativeFieldAssignments = $creativeFieldAssignments; + } + public function getCreativeFieldAssignments() + { + return $this->creativeFieldAssignments; + } + public function setCustomKeyValues($customKeyValues) + { + $this->customKeyValues = $customKeyValues; + } + public function getCustomKeyValues() + { + return $this->customKeyValues; + } + public function setExitCustomEvents($exitCustomEvents) + { + $this->exitCustomEvents = $exitCustomEvents; + } + public function getExitCustomEvents() + { + return $this->exitCustomEvents; + } + public function setFsCommand(Google_Service_Dfareporting_FsCommand $fsCommand) + { + $this->fsCommand = $fsCommand; + } + public function getFsCommand() + { + return $this->fsCommand; + } + public function setHtmlCode($htmlCode) + { + $this->htmlCode = $htmlCode; + } + public function getHtmlCode() + { + return $this->htmlCode; + } + public function setHtmlCodeLocked($htmlCodeLocked) + { + $this->htmlCodeLocked = $htmlCodeLocked; + } + public function getHtmlCodeLocked() + { + return $this->htmlCodeLocked; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue) + { + $this->idDimensionValue = $idDimensionValue; + } + public function getIdDimensionValue() + { + return $this->idDimensionValue; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastModifiedInfo(Google_Service_Dfareporting_LastModifiedInfo $lastModifiedInfo) + { + $this->lastModifiedInfo = $lastModifiedInfo; + } + public function getLastModifiedInfo() + { + return $this->lastModifiedInfo; + } + public function setLatestTraffickedCreativeId($latestTraffickedCreativeId) + { + $this->latestTraffickedCreativeId = $latestTraffickedCreativeId; + } + public function getLatestTraffickedCreativeId() + { + return $this->latestTraffickedCreativeId; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOverrideCss($overrideCss) + { + $this->overrideCss = $overrideCss; + } + public function getOverrideCss() + { + return $this->overrideCss; + } + public function setRedirectUrl($redirectUrl) + { + $this->redirectUrl = $redirectUrl; + } + public function getRedirectUrl() + { + return $this->redirectUrl; + } + public function setRenderingId($renderingId) + { + $this->renderingId = $renderingId; + } + public function getRenderingId() + { + return $this->renderingId; + } + public function setRenderingIdDimensionValue(Google_Service_Dfareporting_DimensionValue $renderingIdDimensionValue) + { + $this->renderingIdDimensionValue = $renderingIdDimensionValue; + } + public function getRenderingIdDimensionValue() + { + return $this->renderingIdDimensionValue; + } + public function setRequiredFlashPluginVersion($requiredFlashPluginVersion) + { + $this->requiredFlashPluginVersion = $requiredFlashPluginVersion; + } + public function getRequiredFlashPluginVersion() + { + return $this->requiredFlashPluginVersion; + } + public function setRequiredFlashVersion($requiredFlashVersion) + { + $this->requiredFlashVersion = $requiredFlashVersion; + } + public function getRequiredFlashVersion() + { + return $this->requiredFlashVersion; + } + public function setSize(Google_Service_Dfareporting_Size $size) + { + $this->size = $size; + } + public function getSize() + { + return $this->size; + } + public function setSkippable($skippable) + { + $this->skippable = $skippable; + } + public function getSkippable() + { + return $this->skippable; + } + public function setSslCompliant($sslCompliant) + { + $this->sslCompliant = $sslCompliant; + } + public function getSslCompliant() + { + return $this->sslCompliant; + } + public function setStudioAdvertiserId($studioAdvertiserId) + { + $this->studioAdvertiserId = $studioAdvertiserId; + } + public function getStudioAdvertiserId() + { + return $this->studioAdvertiserId; + } + public function setStudioCreativeId($studioCreativeId) + { + $this->studioCreativeId = $studioCreativeId; + } + public function getStudioCreativeId() + { + return $this->studioCreativeId; + } + public function setStudioTraffickedCreativeId($studioTraffickedCreativeId) + { + $this->studioTraffickedCreativeId = $studioTraffickedCreativeId; + } + public function getStudioTraffickedCreativeId() + { + return $this->studioTraffickedCreativeId; + } + public function setSubaccountId($subaccountId) + { + $this->subaccountId = $subaccountId; + } + public function getSubaccountId() + { + return $this->subaccountId; + } + public function setThirdPartyBackupImageImpressionsUrl($thirdPartyBackupImageImpressionsUrl) + { + $this->thirdPartyBackupImageImpressionsUrl = $thirdPartyBackupImageImpressionsUrl; + } + public function getThirdPartyBackupImageImpressionsUrl() + { + return $this->thirdPartyBackupImageImpressionsUrl; + } + public function setThirdPartyRichMediaImpressionsUrl($thirdPartyRichMediaImpressionsUrl) + { + $this->thirdPartyRichMediaImpressionsUrl = $thirdPartyRichMediaImpressionsUrl; + } + public function getThirdPartyRichMediaImpressionsUrl() + { + return $this->thirdPartyRichMediaImpressionsUrl; + } + public function setThirdPartyUrls($thirdPartyUrls) + { + $this->thirdPartyUrls = $thirdPartyUrls; + } + public function getThirdPartyUrls() + { + return $this->thirdPartyUrls; + } + public function setTimerCustomEvents($timerCustomEvents) + { + $this->timerCustomEvents = $timerCustomEvents; + } + public function getTimerCustomEvents() + { + return $this->timerCustomEvents; + } + public function setTotalFileSize($totalFileSize) + { + $this->totalFileSize = $totalFileSize; + } + public function getTotalFileSize() + { + return $this->totalFileSize; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } + public function setVideoDescription($videoDescription) + { + $this->videoDescription = $videoDescription; + } + public function getVideoDescription() + { + return $this->videoDescription; + } + public function setVideoDuration($videoDuration) + { + $this->videoDuration = $videoDuration; + } + public function getVideoDuration() + { + return $this->videoDuration; + } +} + +class Google_Service_Dfareporting_CreativeAsset extends Google_Collection +{ + protected $collection_key = 'detectedFeatures'; + protected $internal_gapi_mappings = array( + ); + public $actionScript3; + public $active; + public $alignment; + public $artworkType; + protected $assetIdentifierType = 'Google_Service_Dfareporting_CreativeAssetId'; + protected $assetIdentifierDataType = ''; + protected $backupImageExitType = 'Google_Service_Dfareporting_CreativeCustomEvent'; + protected $backupImageExitDataType = ''; + public $bitRate; + public $childAssetType; + protected $collapsedSizeType = 'Google_Service_Dfareporting_Size'; + protected $collapsedSizeDataType = ''; + public $customStartTimeValue; + public $detectedFeatures; + public $displayType; + public $duration; + public $durationType; + protected $expandedDimensionType = 'Google_Service_Dfareporting_Size'; + protected $expandedDimensionDataType = ''; + public $fileSize; + public $flashVersion; + public $hideFlashObjects; + public $hideSelectionBoxes; + public $horizontallyLocked; + public $id; + public $mimeType; + protected $offsetType = 'Google_Service_Dfareporting_OffsetPosition'; + protected $offsetDataType = ''; + public $originalBackup; + protected $positionType = 'Google_Service_Dfareporting_OffsetPosition'; + protected $positionDataType = ''; + public $positionLeftUnit; + public $positionTopUnit; + public $progressiveServingUrl; + public $pushdown; + public $pushdownDuration; + public $role; + protected $sizeType = 'Google_Service_Dfareporting_Size'; + protected $sizeDataType = ''; + public $sslCompliant; + public $startTimeType; + public $streamingServingUrl; + public $transparency; + public $verticallyLocked; + public $videoDuration; + public $windowMode; + public $zIndex; + public $zipFilename; + public $zipFilesize; + + + public function setActionScript3($actionScript3) + { + $this->actionScript3 = $actionScript3; + } + public function getActionScript3() + { + return $this->actionScript3; + } + public function setActive($active) + { + $this->active = $active; + } + public function getActive() + { + return $this->active; + } + public function setAlignment($alignment) + { + $this->alignment = $alignment; + } + public function getAlignment() + { + return $this->alignment; + } + public function setArtworkType($artworkType) + { + $this->artworkType = $artworkType; + } + public function getArtworkType() + { + return $this->artworkType; + } + public function setAssetIdentifier(Google_Service_Dfareporting_CreativeAssetId $assetIdentifier) + { + $this->assetIdentifier = $assetIdentifier; + } + public function getAssetIdentifier() + { + return $this->assetIdentifier; + } + public function setBackupImageExit(Google_Service_Dfareporting_CreativeCustomEvent $backupImageExit) + { + $this->backupImageExit = $backupImageExit; + } + public function getBackupImageExit() + { + return $this->backupImageExit; + } + public function setBitRate($bitRate) + { + $this->bitRate = $bitRate; + } + public function getBitRate() + { + return $this->bitRate; + } + public function setChildAssetType($childAssetType) + { + $this->childAssetType = $childAssetType; + } + public function getChildAssetType() + { + return $this->childAssetType; + } + public function setCollapsedSize(Google_Service_Dfareporting_Size $collapsedSize) + { + $this->collapsedSize = $collapsedSize; + } + public function getCollapsedSize() + { + return $this->collapsedSize; + } + public function setCustomStartTimeValue($customStartTimeValue) + { + $this->customStartTimeValue = $customStartTimeValue; + } + public function getCustomStartTimeValue() + { + return $this->customStartTimeValue; + } + public function setDetectedFeatures($detectedFeatures) + { + $this->detectedFeatures = $detectedFeatures; + } + public function getDetectedFeatures() + { + return $this->detectedFeatures; + } + public function setDisplayType($displayType) + { + $this->displayType = $displayType; + } + public function getDisplayType() + { + return $this->displayType; + } + public function setDuration($duration) + { + $this->duration = $duration; + } + public function getDuration() + { + return $this->duration; + } + public function setDurationType($durationType) + { + $this->durationType = $durationType; + } + public function getDurationType() + { + return $this->durationType; + } + public function setExpandedDimension(Google_Service_Dfareporting_Size $expandedDimension) + { + $this->expandedDimension = $expandedDimension; + } + public function getExpandedDimension() + { + return $this->expandedDimension; + } + public function setFileSize($fileSize) + { + $this->fileSize = $fileSize; + } + public function getFileSize() + { + return $this->fileSize; + } + public function setFlashVersion($flashVersion) + { + $this->flashVersion = $flashVersion; + } + public function getFlashVersion() + { + return $this->flashVersion; + } + public function setHideFlashObjects($hideFlashObjects) + { + $this->hideFlashObjects = $hideFlashObjects; + } + public function getHideFlashObjects() + { + return $this->hideFlashObjects; + } + public function setHideSelectionBoxes($hideSelectionBoxes) + { + $this->hideSelectionBoxes = $hideSelectionBoxes; + } + public function getHideSelectionBoxes() + { + return $this->hideSelectionBoxes; + } + public function setHorizontallyLocked($horizontallyLocked) + { + $this->horizontallyLocked = $horizontallyLocked; + } + public function getHorizontallyLocked() + { + return $this->horizontallyLocked; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setMimeType($mimeType) + { + $this->mimeType = $mimeType; + } + public function getMimeType() + { + return $this->mimeType; + } + public function setOffset(Google_Service_Dfareporting_OffsetPosition $offset) + { + $this->offset = $offset; + } + public function getOffset() + { + return $this->offset; + } + public function setOriginalBackup($originalBackup) + { + $this->originalBackup = $originalBackup; + } + public function getOriginalBackup() + { + return $this->originalBackup; + } + public function setPosition(Google_Service_Dfareporting_OffsetPosition $position) + { + $this->position = $position; + } + public function getPosition() + { + return $this->position; + } + public function setPositionLeftUnit($positionLeftUnit) + { + $this->positionLeftUnit = $positionLeftUnit; + } + public function getPositionLeftUnit() + { + return $this->positionLeftUnit; + } + public function setPositionTopUnit($positionTopUnit) + { + $this->positionTopUnit = $positionTopUnit; + } + public function getPositionTopUnit() + { + return $this->positionTopUnit; + } + public function setProgressiveServingUrl($progressiveServingUrl) + { + $this->progressiveServingUrl = $progressiveServingUrl; + } + public function getProgressiveServingUrl() + { + return $this->progressiveServingUrl; + } + public function setPushdown($pushdown) + { + $this->pushdown = $pushdown; + } + public function getPushdown() + { + return $this->pushdown; + } + public function setPushdownDuration($pushdownDuration) + { + $this->pushdownDuration = $pushdownDuration; + } + public function getPushdownDuration() + { + return $this->pushdownDuration; + } + public function setRole($role) + { + $this->role = $role; + } + public function getRole() + { + return $this->role; + } + public function setSize(Google_Service_Dfareporting_Size $size) + { + $this->size = $size; + } + public function getSize() + { + return $this->size; + } + public function setSslCompliant($sslCompliant) + { + $this->sslCompliant = $sslCompliant; + } + public function getSslCompliant() + { + return $this->sslCompliant; + } + public function setStartTimeType($startTimeType) + { + $this->startTimeType = $startTimeType; + } + public function getStartTimeType() + { + return $this->startTimeType; + } + public function setStreamingServingUrl($streamingServingUrl) + { + $this->streamingServingUrl = $streamingServingUrl; + } + public function getStreamingServingUrl() + { + return $this->streamingServingUrl; + } + public function setTransparency($transparency) + { + $this->transparency = $transparency; + } + public function getTransparency() + { + return $this->transparency; + } + public function setVerticallyLocked($verticallyLocked) + { + $this->verticallyLocked = $verticallyLocked; + } + public function getVerticallyLocked() + { + return $this->verticallyLocked; + } + public function setVideoDuration($videoDuration) + { + $this->videoDuration = $videoDuration; + } + public function getVideoDuration() + { + return $this->videoDuration; + } + public function setWindowMode($windowMode) + { + $this->windowMode = $windowMode; + } + public function getWindowMode() + { + return $this->windowMode; + } + public function setZIndex($zIndex) + { + $this->zIndex = $zIndex; + } + public function getZIndex() + { + return $this->zIndex; + } + public function setZipFilename($zipFilename) + { + $this->zipFilename = $zipFilename; + } + public function getZipFilename() + { + return $this->zipFilename; + } + public function setZipFilesize($zipFilesize) + { + $this->zipFilesize = $zipFilesize; + } + public function getZipFilesize() + { + return $this->zipFilesize; + } +} + +class Google_Service_Dfareporting_CreativeAssetId extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $name; + public $type; + + + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Dfareporting_CreativeAssetMetadata extends Google_Collection +{ + protected $collection_key = 'warnedValidationRules'; + protected $internal_gapi_mappings = array( + ); + protected $assetIdentifierType = 'Google_Service_Dfareporting_CreativeAssetId'; + protected $assetIdentifierDataType = ''; + protected $clickTagsType = 'Google_Service_Dfareporting_ClickTag'; + protected $clickTagsDataType = 'array'; + public $detectedFeatures; + public $kind; + public $warnedValidationRules; + + + public function setAssetIdentifier(Google_Service_Dfareporting_CreativeAssetId $assetIdentifier) + { + $this->assetIdentifier = $assetIdentifier; + } + public function getAssetIdentifier() + { + return $this->assetIdentifier; + } + public function setClickTags($clickTags) + { + $this->clickTags = $clickTags; + } + public function getClickTags() + { + return $this->clickTags; + } + public function setDetectedFeatures($detectedFeatures) + { + $this->detectedFeatures = $detectedFeatures; + } + public function getDetectedFeatures() + { + return $this->detectedFeatures; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setWarnedValidationRules($warnedValidationRules) + { + $this->warnedValidationRules = $warnedValidationRules; + } + public function getWarnedValidationRules() + { + return $this->warnedValidationRules; + } +} + +class Google_Service_Dfareporting_CreativeAssignment extends Google_Collection +{ + protected $collection_key = 'richMediaExitOverrides'; + protected $internal_gapi_mappings = array( + ); + public $active; + public $applyEventTags; + protected $clickThroughUrlType = 'Google_Service_Dfareporting_ClickThroughUrl'; + protected $clickThroughUrlDataType = ''; + protected $companionCreativeOverridesType = 'Google_Service_Dfareporting_CompanionClickThroughOverride'; + protected $companionCreativeOverridesDataType = 'array'; + protected $creativeGroupAssignmentsType = 'Google_Service_Dfareporting_CreativeGroupAssignment'; + protected $creativeGroupAssignmentsDataType = 'array'; + public $creativeId; + protected $creativeIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue'; + protected $creativeIdDimensionValueDataType = ''; + public $endTime; + protected $richMediaExitOverridesType = 'Google_Service_Dfareporting_RichMediaExitOverride'; + protected $richMediaExitOverridesDataType = 'array'; + public $sequence; + public $sslCompliant; + public $startTime; + public $weight; + + + public function setActive($active) + { + $this->active = $active; + } + public function getActive() + { + return $this->active; + } + public function setApplyEventTags($applyEventTags) + { + $this->applyEventTags = $applyEventTags; + } + public function getApplyEventTags() + { + return $this->applyEventTags; + } + public function setClickThroughUrl(Google_Service_Dfareporting_ClickThroughUrl $clickThroughUrl) + { + $this->clickThroughUrl = $clickThroughUrl; + } + public function getClickThroughUrl() + { + return $this->clickThroughUrl; + } + public function setCompanionCreativeOverrides($companionCreativeOverrides) + { + $this->companionCreativeOverrides = $companionCreativeOverrides; + } + public function getCompanionCreativeOverrides() + { + return $this->companionCreativeOverrides; + } + public function setCreativeGroupAssignments($creativeGroupAssignments) + { + $this->creativeGroupAssignments = $creativeGroupAssignments; + } + public function getCreativeGroupAssignments() + { + return $this->creativeGroupAssignments; + } + public function setCreativeId($creativeId) + { + $this->creativeId = $creativeId; + } + public function getCreativeId() + { + return $this->creativeId; + } + public function setCreativeIdDimensionValue(Google_Service_Dfareporting_DimensionValue $creativeIdDimensionValue) + { + $this->creativeIdDimensionValue = $creativeIdDimensionValue; + } + public function getCreativeIdDimensionValue() + { + return $this->creativeIdDimensionValue; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setRichMediaExitOverrides($richMediaExitOverrides) + { + $this->richMediaExitOverrides = $richMediaExitOverrides; + } + public function getRichMediaExitOverrides() + { + return $this->richMediaExitOverrides; + } + public function setSequence($sequence) + { + $this->sequence = $sequence; + } + public function getSequence() + { + return $this->sequence; + } + public function setSslCompliant($sslCompliant) + { + $this->sslCompliant = $sslCompliant; + } + public function getSslCompliant() + { + return $this->sslCompliant; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setWeight($weight) + { + $this->weight = $weight; + } + public function getWeight() + { + return $this->weight; + } +} + +class Google_Service_Dfareporting_CreativeCustomEvent extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $active; + public $advertiserCustomEventName; + public $advertiserCustomEventType; + public $artworkLabel; + public $artworkType; + public $exitUrl; + public $id; + protected $popupWindowPropertiesType = 'Google_Service_Dfareporting_PopupWindowProperties'; + protected $popupWindowPropertiesDataType = ''; + public $targetType; + public $videoReportingId; + + + public function setActive($active) + { + $this->active = $active; + } + public function getActive() + { + return $this->active; + } + public function setAdvertiserCustomEventName($advertiserCustomEventName) + { + $this->advertiserCustomEventName = $advertiserCustomEventName; + } + public function getAdvertiserCustomEventName() + { + return $this->advertiserCustomEventName; + } + public function setAdvertiserCustomEventType($advertiserCustomEventType) + { + $this->advertiserCustomEventType = $advertiserCustomEventType; + } + public function getAdvertiserCustomEventType() + { + return $this->advertiserCustomEventType; + } + public function setArtworkLabel($artworkLabel) + { + $this->artworkLabel = $artworkLabel; + } + public function getArtworkLabel() + { + return $this->artworkLabel; + } + public function setArtworkType($artworkType) + { + $this->artworkType = $artworkType; + } + public function getArtworkType() + { + return $this->artworkType; + } + public function setExitUrl($exitUrl) + { + $this->exitUrl = $exitUrl; + } + public function getExitUrl() + { + return $this->exitUrl; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setPopupWindowProperties(Google_Service_Dfareporting_PopupWindowProperties $popupWindowProperties) + { + $this->popupWindowProperties = $popupWindowProperties; + } + public function getPopupWindowProperties() + { + return $this->popupWindowProperties; + } + public function setTargetType($targetType) + { + $this->targetType = $targetType; + } + public function getTargetType() + { + return $this->targetType; + } + public function setVideoReportingId($videoReportingId) + { + $this->videoReportingId = $videoReportingId; + } + public function getVideoReportingId() + { + return $this->videoReportingId; + } +} + +class Google_Service_Dfareporting_CreativeField extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $advertiserId; + protected $advertiserIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue'; + protected $advertiserIdDimensionValueDataType = ''; + public $id; + public $kind; + public $name; + public $subaccountId; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue) + { + $this->advertiserIdDimensionValue = $advertiserIdDimensionValue; + } + public function getAdvertiserIdDimensionValue() + { + return $this->advertiserIdDimensionValue; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSubaccountId($subaccountId) + { + $this->subaccountId = $subaccountId; + } + public function getSubaccountId() + { + return $this->subaccountId; + } +} + +class Google_Service_Dfareporting_CreativeFieldAssignment extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $creativeFieldId; + public $creativeFieldValueId; + + + public function setCreativeFieldId($creativeFieldId) + { + $this->creativeFieldId = $creativeFieldId; + } + public function getCreativeFieldId() + { + return $this->creativeFieldId; + } + public function setCreativeFieldValueId($creativeFieldValueId) + { + $this->creativeFieldValueId = $creativeFieldValueId; + } + public function getCreativeFieldValueId() + { + return $this->creativeFieldValueId; + } +} + +class Google_Service_Dfareporting_CreativeFieldValue extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $kind; + public $value; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Dfareporting_CreativeFieldValuesListResponse extends Google_Collection +{ + protected $collection_key = 'creativeFieldValues'; + protected $internal_gapi_mappings = array( + ); + protected $creativeFieldValuesType = 'Google_Service_Dfareporting_CreativeFieldValue'; + protected $creativeFieldValuesDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setCreativeFieldValues($creativeFieldValues) + { + $this->creativeFieldValues = $creativeFieldValues; + } + public function getCreativeFieldValues() + { + return $this->creativeFieldValues; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Dfareporting_CreativeFieldsListResponse extends Google_Collection +{ + protected $collection_key = 'creativeFields'; + protected $internal_gapi_mappings = array( + ); + protected $creativeFieldsType = 'Google_Service_Dfareporting_CreativeField'; + protected $creativeFieldsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setCreativeFields($creativeFields) + { + $this->creativeFields = $creativeFields; + } + public function getCreativeFields() + { + return $this->creativeFields; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Dfareporting_CreativeGroup extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $advertiserId; + protected $advertiserIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue'; + protected $advertiserIdDimensionValueDataType = ''; + public $groupNumber; + public $id; + public $kind; + public $name; + public $subaccountId; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue) + { + $this->advertiserIdDimensionValue = $advertiserIdDimensionValue; + } + public function getAdvertiserIdDimensionValue() + { + return $this->advertiserIdDimensionValue; + } + public function setGroupNumber($groupNumber) + { + $this->groupNumber = $groupNumber; + } + public function getGroupNumber() + { + return $this->groupNumber; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSubaccountId($subaccountId) + { + $this->subaccountId = $subaccountId; + } + public function getSubaccountId() + { + return $this->subaccountId; + } +} + +class Google_Service_Dfareporting_CreativeGroupAssignment extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $creativeGroupId; + public $creativeGroupNumber; + + + public function setCreativeGroupId($creativeGroupId) + { + $this->creativeGroupId = $creativeGroupId; + } + public function getCreativeGroupId() + { + return $this->creativeGroupId; + } + public function setCreativeGroupNumber($creativeGroupNumber) + { + $this->creativeGroupNumber = $creativeGroupNumber; + } + public function getCreativeGroupNumber() + { + return $this->creativeGroupNumber; + } +} + +class Google_Service_Dfareporting_CreativeGroupsListResponse extends Google_Collection +{ + protected $collection_key = 'creativeGroups'; + protected $internal_gapi_mappings = array( + ); + protected $creativeGroupsType = 'Google_Service_Dfareporting_CreativeGroup'; + protected $creativeGroupsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setCreativeGroups($creativeGroups) + { + $this->creativeGroups = $creativeGroups; + } + public function getCreativeGroups() + { + return $this->creativeGroups; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Dfareporting_CreativeOptimizationConfiguration extends Google_Collection +{ + protected $collection_key = 'optimizationActivitys'; + protected $internal_gapi_mappings = array( + ); + public $id; + public $name; + protected $optimizationActivitysType = 'Google_Service_Dfareporting_OptimizationActivity'; + protected $optimizationActivitysDataType = 'array'; + public $optimizationModel; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOptimizationActivitys($optimizationActivitys) + { + $this->optimizationActivitys = $optimizationActivitys; + } + public function getOptimizationActivitys() + { + return $this->optimizationActivitys; + } + public function setOptimizationModel($optimizationModel) + { + $this->optimizationModel = $optimizationModel; + } + public function getOptimizationModel() + { + return $this->optimizationModel; + } +} + +class Google_Service_Dfareporting_CreativeRotation extends Google_Collection +{ + protected $collection_key = 'creativeAssignments'; + protected $internal_gapi_mappings = array( + ); + protected $creativeAssignmentsType = 'Google_Service_Dfareporting_CreativeAssignment'; + protected $creativeAssignmentsDataType = 'array'; + public $creativeOptimizationConfigurationId; + public $type; + public $weightCalculationStrategy; + + + public function setCreativeAssignments($creativeAssignments) + { + $this->creativeAssignments = $creativeAssignments; + } + public function getCreativeAssignments() + { + return $this->creativeAssignments; + } + public function setCreativeOptimizationConfigurationId($creativeOptimizationConfigurationId) + { + $this->creativeOptimizationConfigurationId = $creativeOptimizationConfigurationId; + } + public function getCreativeOptimizationConfigurationId() + { + return $this->creativeOptimizationConfigurationId; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setWeightCalculationStrategy($weightCalculationStrategy) + { + $this->weightCalculationStrategy = $weightCalculationStrategy; + } + public function getWeightCalculationStrategy() + { + return $this->weightCalculationStrategy; + } +} + +class Google_Service_Dfareporting_CreativeSettings extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $iFrameFooter; + public $iFrameHeader; + + + public function setIFrameFooter($iFrameFooter) + { + $this->iFrameFooter = $iFrameFooter; + } + public function getIFrameFooter() + { + return $this->iFrameFooter; + } + public function setIFrameHeader($iFrameHeader) + { + $this->iFrameHeader = $iFrameHeader; + } + public function getIFrameHeader() + { + return $this->iFrameHeader; + } +} + +class Google_Service_Dfareporting_CreativesListResponse extends Google_Collection +{ + protected $collection_key = 'creatives'; + protected $internal_gapi_mappings = array( + ); + protected $creativesType = 'Google_Service_Dfareporting_Creative'; + protected $creativesDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setCreatives($creatives) + { + $this->creatives = $creatives; + } + public function getCreatives() + { + return $this->creatives; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Dfareporting_CrossDimensionReachReportCompatibleFields extends Google_Collection +{ + protected $collection_key = 'overlapMetrics'; + protected $internal_gapi_mappings = array( + ); + protected $breakdownType = 'Google_Service_Dfareporting_Dimension'; + protected $breakdownDataType = 'array'; + protected $dimensionFiltersType = 'Google_Service_Dfareporting_Dimension'; + protected $dimensionFiltersDataType = 'array'; + public $kind; + protected $metricsType = 'Google_Service_Dfareporting_Metric'; + protected $metricsDataType = 'array'; + protected $overlapMetricsType = 'Google_Service_Dfareporting_Metric'; + protected $overlapMetricsDataType = 'array'; + + + public function setBreakdown($breakdown) + { + $this->breakdown = $breakdown; + } + public function getBreakdown() + { + return $this->breakdown; + } + public function setDimensionFilters($dimensionFilters) + { + $this->dimensionFilters = $dimensionFilters; + } + public function getDimensionFilters() + { + return $this->dimensionFilters; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMetrics($metrics) + { + $this->metrics = $metrics; + } + public function getMetrics() + { + return $this->metrics; + } + public function setOverlapMetrics($overlapMetrics) + { + $this->overlapMetrics = $overlapMetrics; + } + public function getOverlapMetrics() + { + return $this->overlapMetrics; + } +} + +class Google_Service_Dfareporting_CustomRichMediaEvents extends Google_Collection +{ + protected $collection_key = 'filteredEventIds'; + protected $internal_gapi_mappings = array( + ); + protected $filteredEventIdsType = 'Google_Service_Dfareporting_DimensionValue'; + protected $filteredEventIdsDataType = 'array'; + public $kind; + + + public function setFilteredEventIds($filteredEventIds) + { + $this->filteredEventIds = $filteredEventIds; + } + public function getFilteredEventIds() + { + return $this->filteredEventIds; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Dfareporting_DateRange extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $endDate; + public $kind; + public $relativeDateRange; + public $startDate; + + + public function setEndDate($endDate) + { + $this->endDate = $endDate; + } + public function getEndDate() + { + return $this->endDate; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRelativeDateRange($relativeDateRange) + { + $this->relativeDateRange = $relativeDateRange; + } + public function getRelativeDateRange() + { + return $this->relativeDateRange; + } + public function setStartDate($startDate) + { + $this->startDate = $startDate; + } + public function getStartDate() + { + return $this->startDate; + } +} + +class Google_Service_Dfareporting_DayPartTargeting extends Google_Collection +{ + protected $collection_key = 'hoursOfDay'; + protected $internal_gapi_mappings = array( + ); + public $daysOfWeek; + public $hoursOfDay; + public $userLocalTime; + + + public function setDaysOfWeek($daysOfWeek) + { + $this->daysOfWeek = $daysOfWeek; + } + public function getDaysOfWeek() + { + return $this->daysOfWeek; + } + public function setHoursOfDay($hoursOfDay) + { + $this->hoursOfDay = $hoursOfDay; + } + public function getHoursOfDay() + { + return $this->hoursOfDay; + } + public function setUserLocalTime($userLocalTime) + { + $this->userLocalTime = $userLocalTime; + } + public function getUserLocalTime() + { + return $this->userLocalTime; + } +} + +class Google_Service_Dfareporting_DefaultClickThroughEventTagProperties extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $defaultClickThroughEventTagId; + public $overrideInheritedEventTag; + + + public function setDefaultClickThroughEventTagId($defaultClickThroughEventTagId) + { + $this->defaultClickThroughEventTagId = $defaultClickThroughEventTagId; + } + public function getDefaultClickThroughEventTagId() + { + return $this->defaultClickThroughEventTagId; + } + public function setOverrideInheritedEventTag($overrideInheritedEventTag) + { + $this->overrideInheritedEventTag = $overrideInheritedEventTag; + } + public function getOverrideInheritedEventTag() + { + return $this->overrideInheritedEventTag; + } +} + +class Google_Service_Dfareporting_DeliverySchedule extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $frequencyCapType = 'Google_Service_Dfareporting_FrequencyCap'; + protected $frequencyCapDataType = ''; + public $hardCutoff; + public $impressionRatio; + public $priority; + + + public function setFrequencyCap(Google_Service_Dfareporting_FrequencyCap $frequencyCap) + { + $this->frequencyCap = $frequencyCap; + } + public function getFrequencyCap() + { + return $this->frequencyCap; + } + public function setHardCutoff($hardCutoff) + { + $this->hardCutoff = $hardCutoff; + } + public function getHardCutoff() + { + return $this->hardCutoff; + } + public function setImpressionRatio($impressionRatio) + { + $this->impressionRatio = $impressionRatio; + } + public function getImpressionRatio() + { + return $this->impressionRatio; + } + public function setPriority($priority) + { + $this->priority = $priority; + } + public function getPriority() + { + return $this->priority; + } +} + +class Google_Service_Dfareporting_DfareportingFile extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $dateRangeType = 'Google_Service_Dfareporting_DateRange'; + protected $dateRangeDataType = ''; + public $etag; + public $fileName; + public $format; + public $id; + public $kind; + public $lastModifiedTime; + public $reportId; + public $status; + protected $urlsType = 'Google_Service_Dfareporting_DfareportingFileUrls'; + protected $urlsDataType = ''; + + + public function setDateRange(Google_Service_Dfareporting_DateRange $dateRange) + { + $this->dateRange = $dateRange; + } + public function getDateRange() + { + return $this->dateRange; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setFileName($fileName) + { + $this->fileName = $fileName; + } + public function getFileName() + { + return $this->fileName; + } + public function setFormat($format) + { + $this->format = $format; + } + public function getFormat() + { + return $this->format; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastModifiedTime($lastModifiedTime) + { + $this->lastModifiedTime = $lastModifiedTime; + } + public function getLastModifiedTime() + { + return $this->lastModifiedTime; + } + public function setReportId($reportId) + { + $this->reportId = $reportId; + } + public function getReportId() + { + return $this->reportId; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setUrls(Google_Service_Dfareporting_DfareportingFileUrls $urls) + { + $this->urls = $urls; + } + public function getUrls() + { + return $this->urls; + } +} + +class Google_Service_Dfareporting_DfareportingFileUrls extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $apiUrl; + public $browserUrl; + + + public function setApiUrl($apiUrl) + { + $this->apiUrl = $apiUrl; + } + public function getApiUrl() + { + return $this->apiUrl; + } + public function setBrowserUrl($browserUrl) + { + $this->browserUrl = $browserUrl; + } + public function getBrowserUrl() + { + return $this->browserUrl; + } +} + +class Google_Service_Dfareporting_DfpSettings extends Google_Model +{ + protected $internal_gapi_mappings = array( + "dfpNetworkCode" => "dfp_network_code", + "dfpNetworkName" => "dfp_network_name", + ); + public $dfpNetworkCode; + public $dfpNetworkName; + public $programmaticPlacementAccepted; + public $pubPaidPlacementAccepted; + public $publisherPortalOnly; + + + public function setDfpNetworkCode($dfpNetworkCode) + { + $this->dfpNetworkCode = $dfpNetworkCode; + } + public function getDfpNetworkCode() + { + return $this->dfpNetworkCode; + } + public function setDfpNetworkName($dfpNetworkName) + { + $this->dfpNetworkName = $dfpNetworkName; + } + public function getDfpNetworkName() + { + return $this->dfpNetworkName; + } + public function setProgrammaticPlacementAccepted($programmaticPlacementAccepted) + { + $this->programmaticPlacementAccepted = $programmaticPlacementAccepted; + } + public function getProgrammaticPlacementAccepted() + { + return $this->programmaticPlacementAccepted; + } + public function setPubPaidPlacementAccepted($pubPaidPlacementAccepted) + { + $this->pubPaidPlacementAccepted = $pubPaidPlacementAccepted; + } + public function getPubPaidPlacementAccepted() + { + return $this->pubPaidPlacementAccepted; + } + public function setPublisherPortalOnly($publisherPortalOnly) + { + $this->publisherPortalOnly = $publisherPortalOnly; + } + public function getPublisherPortalOnly() + { + return $this->publisherPortalOnly; + } +} + +class Google_Service_Dfareporting_Dimension extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + public $name; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_Dfareporting_DimensionFilter extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $dimensionName; + public $kind; + public $value; + + + public function setDimensionName($dimensionName) + { + $this->dimensionName = $dimensionName; + } + public function getDimensionName() + { + return $this->dimensionName; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Dfareporting_DimensionValue extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $dimensionName; + public $etag; + public $id; + public $kind; + public $matchType; + public $value; + + + public function setDimensionName($dimensionName) + { + $this->dimensionName = $dimensionName; + } + public function getDimensionName() + { + return $this->dimensionName; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMatchType($matchType) + { + $this->matchType = $matchType; + } + public function getMatchType() + { + return $this->matchType; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Dfareporting_DimensionValueList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_Dfareporting_DimensionValue'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Dfareporting_DimensionValueRequest extends Google_Collection +{ + protected $collection_key = 'filters'; + protected $internal_gapi_mappings = array( + ); + public $dimensionName; + public $endDate; + protected $filtersType = 'Google_Service_Dfareporting_DimensionFilter'; + protected $filtersDataType = 'array'; + public $kind; + public $startDate; + + + public function setDimensionName($dimensionName) + { + $this->dimensionName = $dimensionName; + } + public function getDimensionName() + { + return $this->dimensionName; + } + public function setEndDate($endDate) + { + $this->endDate = $endDate; + } + public function getEndDate() + { + return $this->endDate; + } + public function setFilters($filters) + { + $this->filters = $filters; + } + public function getFilters() + { + return $this->filters; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setStartDate($startDate) + { + $this->startDate = $startDate; + } + public function getStartDate() + { + return $this->startDate; + } +} + +class Google_Service_Dfareporting_DirectorySite extends Google_Collection +{ + protected $collection_key = 'interstitialTagFormats'; + protected $internal_gapi_mappings = array( + ); + public $active; + protected $contactAssignmentsType = 'Google_Service_Dfareporting_DirectorySiteContactAssignment'; + protected $contactAssignmentsDataType = 'array'; + public $countryId; + public $currencyId; + public $description; + public $id; + protected $idDimensionValueType = 'Google_Service_Dfareporting_DimensionValue'; + protected $idDimensionValueDataType = ''; + public $inpageTagFormats; + public $interstitialTagFormats; + public $kind; + public $name; + public $parentId; + protected $settingsType = 'Google_Service_Dfareporting_DirectorySiteSettings'; + protected $settingsDataType = ''; + public $url; + + + public function setActive($active) + { + $this->active = $active; + } + public function getActive() + { + return $this->active; + } + public function setContactAssignments($contactAssignments) + { + $this->contactAssignments = $contactAssignments; + } + public function getContactAssignments() + { + return $this->contactAssignments; + } + public function setCountryId($countryId) + { + $this->countryId = $countryId; + } + public function getCountryId() + { + return $this->countryId; + } + public function setCurrencyId($currencyId) + { + $this->currencyId = $currencyId; + } + public function getCurrencyId() + { + return $this->currencyId; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue) + { + $this->idDimensionValue = $idDimensionValue; + } + public function getIdDimensionValue() + { + return $this->idDimensionValue; + } + public function setInpageTagFormats($inpageTagFormats) + { + $this->inpageTagFormats = $inpageTagFormats; + } + public function getInpageTagFormats() + { + return $this->inpageTagFormats; + } + public function setInterstitialTagFormats($interstitialTagFormats) + { + $this->interstitialTagFormats = $interstitialTagFormats; + } + public function getInterstitialTagFormats() + { + return $this->interstitialTagFormats; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setParentId($parentId) + { + $this->parentId = $parentId; + } + public function getParentId() + { + return $this->parentId; + } + public function setSettings(Google_Service_Dfareporting_DirectorySiteSettings $settings) + { + $this->settings = $settings; + } + public function getSettings() + { + return $this->settings; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_Dfareporting_DirectorySiteContact extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $address; + public $email; + public $firstName; + public $id; + public $kind; + public $lastName; + public $phone; + public $role; + public $title; + public $type; + + + public function setAddress($address) + { + $this->address = $address; + } + public function getAddress() + { + return $this->address; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setFirstName($firstName) + { + $this->firstName = $firstName; + } + public function getFirstName() + { + return $this->firstName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastName($lastName) + { + $this->lastName = $lastName; + } + public function getLastName() + { + return $this->lastName; + } + public function setPhone($phone) + { + $this->phone = $phone; + } + public function getPhone() + { + return $this->phone; + } + public function setRole($role) + { + $this->role = $role; + } + public function getRole() + { + return $this->role; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Dfareporting_DirectorySiteContactAssignment extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $contactId; + public $visibility; + + + public function setContactId($contactId) + { + $this->contactId = $contactId; + } + public function getContactId() + { + return $this->contactId; + } + public function setVisibility($visibility) + { + $this->visibility = $visibility; + } + public function getVisibility() + { + return $this->visibility; + } +} + +class Google_Service_Dfareporting_DirectorySiteContactsListResponse extends Google_Collection +{ + protected $collection_key = 'directorySiteContacts'; + protected $internal_gapi_mappings = array( + ); + protected $directorySiteContactsType = 'Google_Service_Dfareporting_DirectorySiteContact'; + protected $directorySiteContactsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setDirectorySiteContacts($directorySiteContacts) + { + $this->directorySiteContacts = $directorySiteContacts; + } + public function getDirectorySiteContacts() + { + return $this->directorySiteContacts; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Dfareporting_DirectorySiteSettings extends Google_Model +{ + protected $internal_gapi_mappings = array( + "dfpSettings" => "dfp_settings", + "instreamVideoPlacementAccepted" => "instream_video_placement_accepted", + ); + public $activeViewOptOut; + protected $dfpSettingsType = 'Google_Service_Dfareporting_DfpSettings'; + protected $dfpSettingsDataType = ''; + public $instreamVideoPlacementAccepted; + public $interstitialPlacementAccepted; + public $nielsenOcrOptOut; + public $verificationTagOptOut; + public $videoActiveViewOptOut; + + + public function setActiveViewOptOut($activeViewOptOut) + { + $this->activeViewOptOut = $activeViewOptOut; + } + public function getActiveViewOptOut() + { + return $this->activeViewOptOut; + } + public function setDfpSettings(Google_Service_Dfareporting_DfpSettings $dfpSettings) + { + $this->dfpSettings = $dfpSettings; + } + public function getDfpSettings() + { + return $this->dfpSettings; + } + public function setInstreamVideoPlacementAccepted($instreamVideoPlacementAccepted) + { + $this->instreamVideoPlacementAccepted = $instreamVideoPlacementAccepted; + } + public function getInstreamVideoPlacementAccepted() + { + return $this->instreamVideoPlacementAccepted; + } + public function setInterstitialPlacementAccepted($interstitialPlacementAccepted) + { + $this->interstitialPlacementAccepted = $interstitialPlacementAccepted; + } + public function getInterstitialPlacementAccepted() + { + return $this->interstitialPlacementAccepted; + } + public function setNielsenOcrOptOut($nielsenOcrOptOut) + { + $this->nielsenOcrOptOut = $nielsenOcrOptOut; + } + public function getNielsenOcrOptOut() + { + return $this->nielsenOcrOptOut; + } + public function setVerificationTagOptOut($verificationTagOptOut) + { + $this->verificationTagOptOut = $verificationTagOptOut; + } + public function getVerificationTagOptOut() + { + return $this->verificationTagOptOut; + } + public function setVideoActiveViewOptOut($videoActiveViewOptOut) + { + $this->videoActiveViewOptOut = $videoActiveViewOptOut; + } + public function getVideoActiveViewOptOut() + { + return $this->videoActiveViewOptOut; + } +} + +class Google_Service_Dfareporting_DirectorySitesListResponse extends Google_Collection +{ + protected $collection_key = 'directorySites'; + protected $internal_gapi_mappings = array( + ); + protected $directorySitesType = 'Google_Service_Dfareporting_DirectorySite'; + protected $directorySitesDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setDirectorySites($directorySites) + { + $this->directorySites = $directorySites; + } + public function getDirectorySites() + { + return $this->directorySites; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Dfareporting_EventTag extends Google_Collection +{ + protected $collection_key = 'siteIds'; + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $advertiserId; + protected $advertiserIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue'; + protected $advertiserIdDimensionValueDataType = ''; + public $campaignId; + protected $campaignIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue'; + protected $campaignIdDimensionValueDataType = ''; + public $enabledByDefault; + public $id; + public $kind; + public $name; + public $siteFilterType; + public $siteIds; + public $sslCompliant; + public $status; + public $subaccountId; + public $type; + public $url; + public $urlEscapeLevels; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue) + { + $this->advertiserIdDimensionValue = $advertiserIdDimensionValue; + } + public function getAdvertiserIdDimensionValue() + { + return $this->advertiserIdDimensionValue; + } + public function setCampaignId($campaignId) + { + $this->campaignId = $campaignId; + } + public function getCampaignId() + { + return $this->campaignId; + } + public function setCampaignIdDimensionValue(Google_Service_Dfareporting_DimensionValue $campaignIdDimensionValue) + { + $this->campaignIdDimensionValue = $campaignIdDimensionValue; + } + public function getCampaignIdDimensionValue() + { + return $this->campaignIdDimensionValue; + } + public function setEnabledByDefault($enabledByDefault) + { + $this->enabledByDefault = $enabledByDefault; + } + public function getEnabledByDefault() + { + return $this->enabledByDefault; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSiteFilterType($siteFilterType) + { + $this->siteFilterType = $siteFilterType; + } + public function getSiteFilterType() + { + return $this->siteFilterType; + } + public function setSiteIds($siteIds) + { + $this->siteIds = $siteIds; + } + public function getSiteIds() + { + return $this->siteIds; + } + public function setSslCompliant($sslCompliant) + { + $this->sslCompliant = $sslCompliant; + } + public function getSslCompliant() + { + return $this->sslCompliant; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setSubaccountId($subaccountId) + { + $this->subaccountId = $subaccountId; + } + public function getSubaccountId() + { + return $this->subaccountId; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setUrlEscapeLevels($urlEscapeLevels) + { + $this->urlEscapeLevels = $urlEscapeLevels; + } + public function getUrlEscapeLevels() + { + return $this->urlEscapeLevels; + } +} + +class Google_Service_Dfareporting_EventTagOverride extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $enabled; + public $id; + + + public function setEnabled($enabled) + { + $this->enabled = $enabled; + } + public function getEnabled() + { + return $this->enabled; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } +} + +class Google_Service_Dfareporting_EventTagsListResponse extends Google_Collection +{ + protected $collection_key = 'eventTags'; + protected $internal_gapi_mappings = array( + ); + protected $eventTagsType = 'Google_Service_Dfareporting_EventTag'; + protected $eventTagsDataType = 'array'; + public $kind; + + + public function setEventTags($eventTags) + { + $this->eventTags = $eventTags; + } + public function getEventTags() + { + return $this->eventTags; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Dfareporting_FileList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_Dfareporting_DfareportingFile'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Dfareporting_Flight extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $endDate; + public $rateOrCost; + public $startDate; + public $units; + + + public function setEndDate($endDate) + { + $this->endDate = $endDate; + } + public function getEndDate() + { + return $this->endDate; + } + public function setRateOrCost($rateOrCost) + { + $this->rateOrCost = $rateOrCost; + } + public function getRateOrCost() + { + return $this->rateOrCost; + } + public function setStartDate($startDate) + { + $this->startDate = $startDate; + } + public function getStartDate() + { + return $this->startDate; + } + public function setUnits($units) + { + $this->units = $units; + } + public function getUnits() + { + return $this->units; + } +} + +class Google_Service_Dfareporting_FloodlightActivitiesGenerateTagResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $floodlightActivityTag; + public $kind; + + + public function setFloodlightActivityTag($floodlightActivityTag) + { + $this->floodlightActivityTag = $floodlightActivityTag; + } + public function getFloodlightActivityTag() + { + return $this->floodlightActivityTag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Dfareporting_FloodlightActivitiesListResponse extends Google_Collection +{ + protected $collection_key = 'floodlightActivities'; + protected $internal_gapi_mappings = array( + ); + protected $floodlightActivitiesType = 'Google_Service_Dfareporting_FloodlightActivity'; + protected $floodlightActivitiesDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setFloodlightActivities($floodlightActivities) + { + $this->floodlightActivities = $floodlightActivities; + } + public function getFloodlightActivities() + { + return $this->floodlightActivities; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Dfareporting_FloodlightActivity extends Google_Collection +{ + protected $collection_key = 'userDefinedVariableTypes'; + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $advertiserId; + protected $advertiserIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue'; + protected $advertiserIdDimensionValueDataType = ''; + public $cacheBustingType; + public $countingMethod; + protected $defaultTagsType = 'Google_Service_Dfareporting_FloodlightActivityDynamicTag'; + protected $defaultTagsDataType = 'array'; + public $expectedUrl; + public $floodlightActivityGroupId; + public $floodlightActivityGroupName; + public $floodlightActivityGroupTagString; + public $floodlightActivityGroupType; + public $floodlightConfigurationId; + protected $floodlightConfigurationIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue'; + protected $floodlightConfigurationIdDimensionValueDataType = ''; + public $hidden; + public $id; + protected $idDimensionValueType = 'Google_Service_Dfareporting_DimensionValue'; + protected $idDimensionValueDataType = ''; + public $imageTagEnabled; + public $kind; + public $name; + public $notes; + protected $publisherTagsType = 'Google_Service_Dfareporting_FloodlightActivityPublisherDynamicTag'; + protected $publisherTagsDataType = 'array'; + public $secure; + public $sslCompliant; + public $sslRequired; + public $subaccountId; + public $tagFormat; + public $tagString; + public $userDefinedVariableTypes; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue) + { + $this->advertiserIdDimensionValue = $advertiserIdDimensionValue; + } + public function getAdvertiserIdDimensionValue() + { + return $this->advertiserIdDimensionValue; + } + public function setCacheBustingType($cacheBustingType) + { + $this->cacheBustingType = $cacheBustingType; + } + public function getCacheBustingType() + { + return $this->cacheBustingType; + } + public function setCountingMethod($countingMethod) + { + $this->countingMethod = $countingMethod; + } + public function getCountingMethod() + { + return $this->countingMethod; + } + public function setDefaultTags($defaultTags) + { + $this->defaultTags = $defaultTags; + } + public function getDefaultTags() + { + return $this->defaultTags; + } + public function setExpectedUrl($expectedUrl) + { + $this->expectedUrl = $expectedUrl; + } + public function getExpectedUrl() + { + return $this->expectedUrl; + } + public function setFloodlightActivityGroupId($floodlightActivityGroupId) + { + $this->floodlightActivityGroupId = $floodlightActivityGroupId; + } + public function getFloodlightActivityGroupId() + { + return $this->floodlightActivityGroupId; + } + public function setFloodlightActivityGroupName($floodlightActivityGroupName) + { + $this->floodlightActivityGroupName = $floodlightActivityGroupName; + } + public function getFloodlightActivityGroupName() + { + return $this->floodlightActivityGroupName; + } + public function setFloodlightActivityGroupTagString($floodlightActivityGroupTagString) + { + $this->floodlightActivityGroupTagString = $floodlightActivityGroupTagString; + } + public function getFloodlightActivityGroupTagString() + { + return $this->floodlightActivityGroupTagString; + } + public function setFloodlightActivityGroupType($floodlightActivityGroupType) + { + $this->floodlightActivityGroupType = $floodlightActivityGroupType; + } + public function getFloodlightActivityGroupType() + { + return $this->floodlightActivityGroupType; + } + public function setFloodlightConfigurationId($floodlightConfigurationId) + { + $this->floodlightConfigurationId = $floodlightConfigurationId; + } + public function getFloodlightConfigurationId() + { + return $this->floodlightConfigurationId; + } + public function setFloodlightConfigurationIdDimensionValue(Google_Service_Dfareporting_DimensionValue $floodlightConfigurationIdDimensionValue) + { + $this->floodlightConfigurationIdDimensionValue = $floodlightConfigurationIdDimensionValue; + } + public function getFloodlightConfigurationIdDimensionValue() + { + return $this->floodlightConfigurationIdDimensionValue; + } + public function setHidden($hidden) + { + $this->hidden = $hidden; + } + public function getHidden() + { + return $this->hidden; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue) + { + $this->idDimensionValue = $idDimensionValue; + } + public function getIdDimensionValue() + { + return $this->idDimensionValue; + } + public function setImageTagEnabled($imageTagEnabled) + { + $this->imageTagEnabled = $imageTagEnabled; + } + public function getImageTagEnabled() + { + return $this->imageTagEnabled; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNotes($notes) + { + $this->notes = $notes; + } + public function getNotes() + { + return $this->notes; + } + public function setPublisherTags($publisherTags) + { + $this->publisherTags = $publisherTags; + } + public function getPublisherTags() + { + return $this->publisherTags; + } + public function setSecure($secure) + { + $this->secure = $secure; + } + public function getSecure() + { + return $this->secure; + } + public function setSslCompliant($sslCompliant) + { + $this->sslCompliant = $sslCompliant; + } + public function getSslCompliant() + { + return $this->sslCompliant; + } + public function setSslRequired($sslRequired) + { + $this->sslRequired = $sslRequired; + } + public function getSslRequired() + { + return $this->sslRequired; + } + public function setSubaccountId($subaccountId) + { + $this->subaccountId = $subaccountId; + } + public function getSubaccountId() + { + return $this->subaccountId; + } + public function setTagFormat($tagFormat) + { + $this->tagFormat = $tagFormat; + } + public function getTagFormat() + { + return $this->tagFormat; + } + public function setTagString($tagString) + { + $this->tagString = $tagString; + } + public function getTagString() + { + return $this->tagString; + } + public function setUserDefinedVariableTypes($userDefinedVariableTypes) + { + $this->userDefinedVariableTypes = $userDefinedVariableTypes; + } + public function getUserDefinedVariableTypes() + { + return $this->userDefinedVariableTypes; + } +} + +class Google_Service_Dfareporting_FloodlightActivityDynamicTag extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $name; + public $tag; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setTag($tag) + { + $this->tag = $tag; + } + public function getTag() + { + return $this->tag; + } +} + +class Google_Service_Dfareporting_FloodlightActivityGroup extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $advertiserId; + protected $advertiserIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue'; + protected $advertiserIdDimensionValueDataType = ''; + public $floodlightConfigurationId; + protected $floodlightConfigurationIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue'; + protected $floodlightConfigurationIdDimensionValueDataType = ''; + public $id; + protected $idDimensionValueType = 'Google_Service_Dfareporting_DimensionValue'; + protected $idDimensionValueDataType = ''; + public $kind; + public $name; + public $subaccountId; + public $tagString; + public $type; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue) + { + $this->advertiserIdDimensionValue = $advertiserIdDimensionValue; + } + public function getAdvertiserIdDimensionValue() + { + return $this->advertiserIdDimensionValue; + } + public function setFloodlightConfigurationId($floodlightConfigurationId) + { + $this->floodlightConfigurationId = $floodlightConfigurationId; + } + public function getFloodlightConfigurationId() + { + return $this->floodlightConfigurationId; + } + public function setFloodlightConfigurationIdDimensionValue(Google_Service_Dfareporting_DimensionValue $floodlightConfigurationIdDimensionValue) + { + $this->floodlightConfigurationIdDimensionValue = $floodlightConfigurationIdDimensionValue; + } + public function getFloodlightConfigurationIdDimensionValue() + { + return $this->floodlightConfigurationIdDimensionValue; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue) + { + $this->idDimensionValue = $idDimensionValue; + } + public function getIdDimensionValue() + { + return $this->idDimensionValue; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSubaccountId($subaccountId) + { + $this->subaccountId = $subaccountId; + } + public function getSubaccountId() + { + return $this->subaccountId; + } + public function setTagString($tagString) + { + $this->tagString = $tagString; + } + public function getTagString() + { + return $this->tagString; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Dfareporting_FloodlightActivityGroupsListResponse extends Google_Collection +{ + protected $collection_key = 'floodlightActivityGroups'; + protected $internal_gapi_mappings = array( + ); + protected $floodlightActivityGroupsType = 'Google_Service_Dfareporting_FloodlightActivityGroup'; + protected $floodlightActivityGroupsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setFloodlightActivityGroups($floodlightActivityGroups) + { + $this->floodlightActivityGroups = $floodlightActivityGroups; + } + public function getFloodlightActivityGroups() + { + return $this->floodlightActivityGroups; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Dfareporting_FloodlightActivityPublisherDynamicTag extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $clickThrough; + public $directorySiteId; + protected $dynamicTagType = 'Google_Service_Dfareporting_FloodlightActivityDynamicTag'; + protected $dynamicTagDataType = ''; + public $siteId; + protected $siteIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue'; + protected $siteIdDimensionValueDataType = ''; + public $viewThrough; + + + public function setClickThrough($clickThrough) + { + $this->clickThrough = $clickThrough; + } + public function getClickThrough() + { + return $this->clickThrough; + } + public function setDirectorySiteId($directorySiteId) + { + $this->directorySiteId = $directorySiteId; + } + public function getDirectorySiteId() + { + return $this->directorySiteId; + } + public function setDynamicTag(Google_Service_Dfareporting_FloodlightActivityDynamicTag $dynamicTag) + { + $this->dynamicTag = $dynamicTag; + } + public function getDynamicTag() + { + return $this->dynamicTag; + } + public function setSiteId($siteId) + { + $this->siteId = $siteId; + } + public function getSiteId() + { + return $this->siteId; + } + public function setSiteIdDimensionValue(Google_Service_Dfareporting_DimensionValue $siteIdDimensionValue) + { + $this->siteIdDimensionValue = $siteIdDimensionValue; + } + public function getSiteIdDimensionValue() + { + return $this->siteIdDimensionValue; + } + public function setViewThrough($viewThrough) + { + $this->viewThrough = $viewThrough; + } + public function getViewThrough() + { + return $this->viewThrough; + } +} + +class Google_Service_Dfareporting_FloodlightConfiguration extends Google_Collection +{ + protected $collection_key = 'userDefinedVariableConfigurations'; + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $advertiserId; + protected $advertiserIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue'; + protected $advertiserIdDimensionValueDataType = ''; + public $analyticsDataSharingEnabled; + public $exposureToConversionEnabled; + public $firstDayOfWeek; + public $id; + protected $idDimensionValueType = 'Google_Service_Dfareporting_DimensionValue'; + protected $idDimensionValueDataType = ''; + public $kind; + protected $lookbackConfigurationType = 'Google_Service_Dfareporting_LookbackConfiguration'; + protected $lookbackConfigurationDataType = ''; + public $naturalSearchConversionAttributionOption; + protected $omnitureSettingsType = 'Google_Service_Dfareporting_OmnitureSettings'; + protected $omnitureSettingsDataType = ''; + public $sslRequired; + public $standardVariableTypes; + public $subaccountId; + protected $tagSettingsType = 'Google_Service_Dfareporting_TagSettings'; + protected $tagSettingsDataType = ''; + protected $userDefinedVariableConfigurationsType = 'Google_Service_Dfareporting_UserDefinedVariableConfiguration'; + protected $userDefinedVariableConfigurationsDataType = 'array'; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue) + { + $this->advertiserIdDimensionValue = $advertiserIdDimensionValue; + } + public function getAdvertiserIdDimensionValue() + { + return $this->advertiserIdDimensionValue; + } + public function setAnalyticsDataSharingEnabled($analyticsDataSharingEnabled) + { + $this->analyticsDataSharingEnabled = $analyticsDataSharingEnabled; + } + public function getAnalyticsDataSharingEnabled() + { + return $this->analyticsDataSharingEnabled; + } + public function setExposureToConversionEnabled($exposureToConversionEnabled) + { + $this->exposureToConversionEnabled = $exposureToConversionEnabled; + } + public function getExposureToConversionEnabled() + { + return $this->exposureToConversionEnabled; + } + public function setFirstDayOfWeek($firstDayOfWeek) + { + $this->firstDayOfWeek = $firstDayOfWeek; + } + public function getFirstDayOfWeek() + { + return $this->firstDayOfWeek; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue) + { + $this->idDimensionValue = $idDimensionValue; + } + public function getIdDimensionValue() + { + return $this->idDimensionValue; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLookbackConfiguration(Google_Service_Dfareporting_LookbackConfiguration $lookbackConfiguration) + { + $this->lookbackConfiguration = $lookbackConfiguration; + } + public function getLookbackConfiguration() + { + return $this->lookbackConfiguration; + } + public function setNaturalSearchConversionAttributionOption($naturalSearchConversionAttributionOption) + { + $this->naturalSearchConversionAttributionOption = $naturalSearchConversionAttributionOption; + } + public function getNaturalSearchConversionAttributionOption() + { + return $this->naturalSearchConversionAttributionOption; + } + public function setOmnitureSettings(Google_Service_Dfareporting_OmnitureSettings $omnitureSettings) + { + $this->omnitureSettings = $omnitureSettings; + } + public function getOmnitureSettings() + { + return $this->omnitureSettings; + } + public function setSslRequired($sslRequired) + { + $this->sslRequired = $sslRequired; + } + public function getSslRequired() + { + return $this->sslRequired; + } + public function setStandardVariableTypes($standardVariableTypes) + { + $this->standardVariableTypes = $standardVariableTypes; + } + public function getStandardVariableTypes() + { + return $this->standardVariableTypes; + } + public function setSubaccountId($subaccountId) + { + $this->subaccountId = $subaccountId; + } + public function getSubaccountId() + { + return $this->subaccountId; + } + public function setTagSettings(Google_Service_Dfareporting_TagSettings $tagSettings) + { + $this->tagSettings = $tagSettings; + } + public function getTagSettings() + { + return $this->tagSettings; + } + public function setUserDefinedVariableConfigurations($userDefinedVariableConfigurations) + { + $this->userDefinedVariableConfigurations = $userDefinedVariableConfigurations; + } + public function getUserDefinedVariableConfigurations() + { + return $this->userDefinedVariableConfigurations; + } +} + +class Google_Service_Dfareporting_FloodlightConfigurationsListResponse extends Google_Collection +{ + protected $collection_key = 'floodlightConfigurations'; + protected $internal_gapi_mappings = array( + ); + protected $floodlightConfigurationsType = 'Google_Service_Dfareporting_FloodlightConfiguration'; + protected $floodlightConfigurationsDataType = 'array'; + public $kind; + + + public function setFloodlightConfigurations($floodlightConfigurations) + { + $this->floodlightConfigurations = $floodlightConfigurations; + } + public function getFloodlightConfigurations() + { + return $this->floodlightConfigurations; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Dfareporting_FloodlightReportCompatibleFields extends Google_Collection +{ + protected $collection_key = 'metrics'; + protected $internal_gapi_mappings = array( + ); + protected $dimensionFiltersType = 'Google_Service_Dfareporting_Dimension'; + protected $dimensionFiltersDataType = 'array'; + protected $dimensionsType = 'Google_Service_Dfareporting_Dimension'; + protected $dimensionsDataType = 'array'; + public $kind; + protected $metricsType = 'Google_Service_Dfareporting_Metric'; + protected $metricsDataType = 'array'; + + + public function setDimensionFilters($dimensionFilters) + { + $this->dimensionFilters = $dimensionFilters; + } + public function getDimensionFilters() + { + return $this->dimensionFilters; + } + public function setDimensions($dimensions) + { + $this->dimensions = $dimensions; + } + public function getDimensions() + { + return $this->dimensions; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMetrics($metrics) + { + $this->metrics = $metrics; + } + public function getMetrics() + { + return $this->metrics; + } +} + +class Google_Service_Dfareporting_FrequencyCap extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $duration; + public $impressions; + + + public function setDuration($duration) + { + $this->duration = $duration; + } + public function getDuration() + { + return $this->duration; + } + public function setImpressions($impressions) + { + $this->impressions = $impressions; + } + public function getImpressions() + { + return $this->impressions; + } +} + +class Google_Service_Dfareporting_FsCommand extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $left; + public $positionOption; + public $top; + public $windowHeight; + public $windowWidth; + + + public function setLeft($left) + { + $this->left = $left; + } + public function getLeft() + { + return $this->left; + } + public function setPositionOption($positionOption) + { + $this->positionOption = $positionOption; + } + public function getPositionOption() + { + return $this->positionOption; + } + public function setTop($top) + { + $this->top = $top; + } + public function getTop() + { + return $this->top; + } + public function setWindowHeight($windowHeight) + { + $this->windowHeight = $windowHeight; + } + public function getWindowHeight() + { + return $this->windowHeight; + } + public function setWindowWidth($windowWidth) + { + $this->windowWidth = $windowWidth; + } + public function getWindowWidth() + { + return $this->windowWidth; + } +} + +class Google_Service_Dfareporting_GeoTargeting extends Google_Collection +{ + protected $collection_key = 'regions'; + protected $internal_gapi_mappings = array( + ); + protected $citiesType = 'Google_Service_Dfareporting_City'; + protected $citiesDataType = 'array'; + protected $countriesType = 'Google_Service_Dfareporting_Country'; + protected $countriesDataType = 'array'; + public $excludeCountries; + protected $metrosType = 'Google_Service_Dfareporting_Metro'; + protected $metrosDataType = 'array'; + protected $postalCodesType = 'Google_Service_Dfareporting_PostalCode'; + protected $postalCodesDataType = 'array'; + protected $regionsType = 'Google_Service_Dfareporting_Region'; + protected $regionsDataType = 'array'; + + + public function setCities($cities) + { + $this->cities = $cities; + } + public function getCities() + { + return $this->cities; + } + public function setCountries($countries) + { + $this->countries = $countries; + } + public function getCountries() + { + return $this->countries; + } + public function setExcludeCountries($excludeCountries) + { + $this->excludeCountries = $excludeCountries; + } + public function getExcludeCountries() + { + return $this->excludeCountries; + } + public function setMetros($metros) + { + $this->metros = $metros; + } + public function getMetros() + { + return $this->metros; + } + public function setPostalCodes($postalCodes) + { + $this->postalCodes = $postalCodes; + } + public function getPostalCodes() + { + return $this->postalCodes; + } + public function setRegions($regions) + { + $this->regions = $regions; + } + public function getRegions() + { + return $this->regions; + } +} + +class Google_Service_Dfareporting_InventoryItem extends Google_Collection +{ + protected $collection_key = 'adSlots'; + protected $internal_gapi_mappings = array( + ); + public $accountId; + protected $adSlotsType = 'Google_Service_Dfareporting_AdSlot'; + protected $adSlotsDataType = 'array'; + public $advertiserId; + public $contentCategoryId; + public $estimatedClickThroughRate; + public $estimatedConversionRate; + public $id; + public $inPlan; + public $kind; + protected $lastModifiedInfoType = 'Google_Service_Dfareporting_LastModifiedInfo'; + protected $lastModifiedInfoDataType = ''; + public $name; + public $negotiationChannelId; + public $orderId; + public $placementStrategyId; + protected $pricingType = 'Google_Service_Dfareporting_Pricing'; + protected $pricingDataType = ''; + public $projectId; + public $rfpId; + public $siteId; + public $subaccountId; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAdSlots($adSlots) + { + $this->adSlots = $adSlots; + } + public function getAdSlots() + { + return $this->adSlots; + } + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setContentCategoryId($contentCategoryId) + { + $this->contentCategoryId = $contentCategoryId; + } + public function getContentCategoryId() + { + return $this->contentCategoryId; + } + public function setEstimatedClickThroughRate($estimatedClickThroughRate) + { + $this->estimatedClickThroughRate = $estimatedClickThroughRate; + } + public function getEstimatedClickThroughRate() + { + return $this->estimatedClickThroughRate; + } + public function setEstimatedConversionRate($estimatedConversionRate) + { + $this->estimatedConversionRate = $estimatedConversionRate; + } + public function getEstimatedConversionRate() + { + return $this->estimatedConversionRate; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInPlan($inPlan) + { + $this->inPlan = $inPlan; + } + public function getInPlan() + { + return $this->inPlan; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastModifiedInfo(Google_Service_Dfareporting_LastModifiedInfo $lastModifiedInfo) + { + $this->lastModifiedInfo = $lastModifiedInfo; + } + public function getLastModifiedInfo() + { + return $this->lastModifiedInfo; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNegotiationChannelId($negotiationChannelId) + { + $this->negotiationChannelId = $negotiationChannelId; + } + public function getNegotiationChannelId() + { + return $this->negotiationChannelId; + } + public function setOrderId($orderId) + { + $this->orderId = $orderId; + } + public function getOrderId() + { + return $this->orderId; + } + public function setPlacementStrategyId($placementStrategyId) + { + $this->placementStrategyId = $placementStrategyId; + } + public function getPlacementStrategyId() + { + return $this->placementStrategyId; + } + public function setPricing(Google_Service_Dfareporting_Pricing $pricing) + { + $this->pricing = $pricing; + } + public function getPricing() + { + return $this->pricing; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } + public function setRfpId($rfpId) + { + $this->rfpId = $rfpId; + } + public function getRfpId() + { + return $this->rfpId; + } + public function setSiteId($siteId) + { + $this->siteId = $siteId; + } + public function getSiteId() + { + return $this->siteId; + } + public function setSubaccountId($subaccountId) + { + $this->subaccountId = $subaccountId; + } + public function getSubaccountId() + { + return $this->subaccountId; + } +} + +class Google_Service_Dfareporting_InventoryItemsListResponse extends Google_Collection +{ + protected $collection_key = 'inventoryItems'; + protected $internal_gapi_mappings = array( + ); + protected $inventoryItemsType = 'Google_Service_Dfareporting_InventoryItem'; + protected $inventoryItemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setInventoryItems($inventoryItems) + { + $this->inventoryItems = $inventoryItems; + } + public function getInventoryItems() + { + return $this->inventoryItems; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Dfareporting_KeyValueTargetingExpression extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $expression; + + + public function setExpression($expression) + { + $this->expression = $expression; + } + public function getExpression() + { + return $this->expression; + } +} + +class Google_Service_Dfareporting_LandingPage extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $default; + public $id; + public $kind; + public $name; + public $url; + + + public function setDefault($default) + { + $this->default = $default; + } + public function getDefault() + { + return $this->default; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_Dfareporting_LandingPagesListResponse extends Google_Collection +{ + protected $collection_key = 'landingPages'; + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $landingPagesType = 'Google_Service_Dfareporting_LandingPage'; + protected $landingPagesDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLandingPages($landingPages) + { + $this->landingPages = $landingPages; + } + public function getLandingPages() + { + return $this->landingPages; + } +} + +class Google_Service_Dfareporting_LastModifiedInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $time; + + + public function setTime($time) + { + $this->time = $time; + } + public function getTime() + { + return $this->time; + } +} + +class Google_Service_Dfareporting_ListPopulationClause extends Google_Collection +{ + protected $collection_key = 'terms'; + protected $internal_gapi_mappings = array( + ); + protected $termsType = 'Google_Service_Dfareporting_ListPopulationTerm'; + protected $termsDataType = 'array'; + + + public function setTerms($terms) + { + $this->terms = $terms; + } + public function getTerms() + { + return $this->terms; + } +} + +class Google_Service_Dfareporting_ListPopulationRule extends Google_Collection +{ + protected $collection_key = 'listPopulationClauses'; + protected $internal_gapi_mappings = array( + ); + public $floodlightActivityId; + public $floodlightActivityName; + protected $listPopulationClausesType = 'Google_Service_Dfareporting_ListPopulationClause'; + protected $listPopulationClausesDataType = 'array'; + + + public function setFloodlightActivityId($floodlightActivityId) + { + $this->floodlightActivityId = $floodlightActivityId; + } + public function getFloodlightActivityId() + { + return $this->floodlightActivityId; + } + public function setFloodlightActivityName($floodlightActivityName) + { + $this->floodlightActivityName = $floodlightActivityName; + } + public function getFloodlightActivityName() + { + return $this->floodlightActivityName; + } + public function setListPopulationClauses($listPopulationClauses) + { + $this->listPopulationClauses = $listPopulationClauses; + } + public function getListPopulationClauses() + { + return $this->listPopulationClauses; + } +} + +class Google_Service_Dfareporting_ListPopulationTerm extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $contains; + public $negation; + public $operator; + public $remarketingListId; + public $type; + public $value; + public $variableFriendlyName; + public $variableName; + + + public function setContains($contains) + { + $this->contains = $contains; + } + public function getContains() + { + return $this->contains; + } + public function setNegation($negation) + { + $this->negation = $negation; + } + public function getNegation() + { + return $this->negation; + } + public function setOperator($operator) + { + $this->operator = $operator; + } + public function getOperator() + { + return $this->operator; + } + public function setRemarketingListId($remarketingListId) + { + $this->remarketingListId = $remarketingListId; + } + public function getRemarketingListId() + { + return $this->remarketingListId; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } + public function setVariableFriendlyName($variableFriendlyName) + { + $this->variableFriendlyName = $variableFriendlyName; + } + public function getVariableFriendlyName() + { + return $this->variableFriendlyName; + } + public function setVariableName($variableName) + { + $this->variableName = $variableName; + } + public function getVariableName() + { + return $this->variableName; + } +} + +class Google_Service_Dfareporting_ListTargetingExpression extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $expression; + + + public function setExpression($expression) + { + $this->expression = $expression; + } + public function getExpression() + { + return $this->expression; + } +} + +class Google_Service_Dfareporting_LookbackConfiguration extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $clickDuration; + public $postImpressionActivitiesDuration; + + + public function setClickDuration($clickDuration) + { + $this->clickDuration = $clickDuration; + } + public function getClickDuration() + { + return $this->clickDuration; + } + public function setPostImpressionActivitiesDuration($postImpressionActivitiesDuration) + { + $this->postImpressionActivitiesDuration = $postImpressionActivitiesDuration; + } + public function getPostImpressionActivitiesDuration() + { + return $this->postImpressionActivitiesDuration; + } +} + +class Google_Service_Dfareporting_Metric extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + public $name; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_Dfareporting_Metro extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $countryCode; + public $countryDartId; + public $dartId; + public $dmaId; + public $kind; + public $metroCode; + public $name; + + + public function setCountryCode($countryCode) + { + $this->countryCode = $countryCode; + } + public function getCountryCode() + { + return $this->countryCode; + } + public function setCountryDartId($countryDartId) + { + $this->countryDartId = $countryDartId; + } + public function getCountryDartId() + { + return $this->countryDartId; + } + public function setDartId($dartId) + { + $this->dartId = $dartId; + } + public function getDartId() + { + return $this->dartId; + } + public function setDmaId($dmaId) + { + $this->dmaId = $dmaId; + } + public function getDmaId() + { + return $this->dmaId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMetroCode($metroCode) + { + $this->metroCode = $metroCode; + } + public function getMetroCode() + { + return $this->metroCode; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_Dfareporting_MetrosListResponse extends Google_Collection +{ + protected $collection_key = 'metros'; + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $metrosType = 'Google_Service_Dfareporting_Metro'; + protected $metrosDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMetros($metros) + { + $this->metros = $metros; + } + public function getMetros() + { + return $this->metros; + } +} + +class Google_Service_Dfareporting_MobileCarrier extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $countryCode; + public $countryDartId; + public $id; + public $kind; + public $name; + + + public function setCountryCode($countryCode) + { + $this->countryCode = $countryCode; + } + public function getCountryCode() + { + return $this->countryCode; + } + public function setCountryDartId($countryDartId) + { + $this->countryDartId = $countryDartId; + } + public function getCountryDartId() + { + return $this->countryDartId; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_Dfareporting_MobileCarriersListResponse extends Google_Collection +{ + protected $collection_key = 'mobileCarriers'; + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $mobileCarriersType = 'Google_Service_Dfareporting_MobileCarrier'; + protected $mobileCarriersDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMobileCarriers($mobileCarriers) + { + $this->mobileCarriers = $mobileCarriers; + } + public function getMobileCarriers() + { + return $this->mobileCarriers; + } +} + +class Google_Service_Dfareporting_ObjectFilter extends Google_Collection +{ + protected $collection_key = 'objectIds'; + protected $internal_gapi_mappings = array( + ); + public $kind; + public $objectIds; + public $status; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setObjectIds($objectIds) + { + $this->objectIds = $objectIds; + } + public function getObjectIds() + { + return $this->objectIds; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} + +class Google_Service_Dfareporting_OffsetPosition extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $left; + public $top; + + + public function setLeft($left) + { + $this->left = $left; + } + public function getLeft() + { + return $this->left; + } + public function setTop($top) + { + $this->top = $top; + } + public function getTop() + { + return $this->top; + } +} + +class Google_Service_Dfareporting_OmnitureSettings extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $omnitureCostDataEnabled; + public $omnitureIntegrationEnabled; + + + public function setOmnitureCostDataEnabled($omnitureCostDataEnabled) + { + $this->omnitureCostDataEnabled = $omnitureCostDataEnabled; + } + public function getOmnitureCostDataEnabled() + { + return $this->omnitureCostDataEnabled; + } + public function setOmnitureIntegrationEnabled($omnitureIntegrationEnabled) + { + $this->omnitureIntegrationEnabled = $omnitureIntegrationEnabled; + } + public function getOmnitureIntegrationEnabled() + { + return $this->omnitureIntegrationEnabled; + } +} + +class Google_Service_Dfareporting_OperatingSystem extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $dartId; + public $desktop; + public $kind; + public $mobile; + public $name; + + + public function setDartId($dartId) + { + $this->dartId = $dartId; + } + public function getDartId() + { + return $this->dartId; + } + public function setDesktop($desktop) + { + $this->desktop = $desktop; + } + public function getDesktop() + { + return $this->desktop; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMobile($mobile) + { + $this->mobile = $mobile; + } + public function getMobile() + { + return $this->mobile; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_Dfareporting_OperatingSystemVersion extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $kind; + public $majorVersion; + public $minorVersion; + public $name; + protected $operatingSystemType = 'Google_Service_Dfareporting_OperatingSystem'; + protected $operatingSystemDataType = ''; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMajorVersion($majorVersion) + { + $this->majorVersion = $majorVersion; + } + public function getMajorVersion() + { + return $this->majorVersion; + } + public function setMinorVersion($minorVersion) + { + $this->minorVersion = $minorVersion; + } + public function getMinorVersion() + { + return $this->minorVersion; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOperatingSystem(Google_Service_Dfareporting_OperatingSystem $operatingSystem) + { + $this->operatingSystem = $operatingSystem; + } + public function getOperatingSystem() + { + return $this->operatingSystem; + } +} + +class Google_Service_Dfareporting_OperatingSystemVersionsListResponse extends Google_Collection +{ + protected $collection_key = 'operatingSystemVersions'; + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $operatingSystemVersionsType = 'Google_Service_Dfareporting_OperatingSystemVersion'; + protected $operatingSystemVersionsDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setOperatingSystemVersions($operatingSystemVersions) + { + $this->operatingSystemVersions = $operatingSystemVersions; + } + public function getOperatingSystemVersions() + { + return $this->operatingSystemVersions; + } +} + +class Google_Service_Dfareporting_OperatingSystemsListResponse extends Google_Collection +{ + protected $collection_key = 'operatingSystems'; + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $operatingSystemsType = 'Google_Service_Dfareporting_OperatingSystem'; + protected $operatingSystemsDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setOperatingSystems($operatingSystems) + { + $this->operatingSystems = $operatingSystems; + } + public function getOperatingSystems() + { + return $this->operatingSystems; + } +} + +class Google_Service_Dfareporting_OptimizationActivity extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $floodlightActivityId; + protected $floodlightActivityIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue'; + protected $floodlightActivityIdDimensionValueDataType = ''; + public $weight; + + + public function setFloodlightActivityId($floodlightActivityId) + { + $this->floodlightActivityId = $floodlightActivityId; + } + public function getFloodlightActivityId() + { + return $this->floodlightActivityId; + } + public function setFloodlightActivityIdDimensionValue(Google_Service_Dfareporting_DimensionValue $floodlightActivityIdDimensionValue) + { + $this->floodlightActivityIdDimensionValue = $floodlightActivityIdDimensionValue; + } + public function getFloodlightActivityIdDimensionValue() + { + return $this->floodlightActivityIdDimensionValue; + } + public function setWeight($weight) + { + $this->weight = $weight; + } + public function getWeight() + { + return $this->weight; + } +} + +class Google_Service_Dfareporting_Order extends Google_Collection +{ + protected $collection_key = 'siteNames'; + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $advertiserId; + public $approverUserProfileIds; + public $buyerInvoiceId; + public $buyerOrganizationName; + public $comments; + protected $contactsType = 'Google_Service_Dfareporting_OrderContact'; + protected $contactsDataType = 'array'; + public $id; + public $kind; + protected $lastModifiedInfoType = 'Google_Service_Dfareporting_LastModifiedInfo'; + protected $lastModifiedInfoDataType = ''; + public $name; + public $notes; + public $planningTermId; + public $projectId; + public $sellerOrderId; + public $sellerOrganizationName; + public $siteId; + public $siteNames; + public $subaccountId; + public $termsAndConditions; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setApproverUserProfileIds($approverUserProfileIds) + { + $this->approverUserProfileIds = $approverUserProfileIds; + } + public function getApproverUserProfileIds() + { + return $this->approverUserProfileIds; + } + public function setBuyerInvoiceId($buyerInvoiceId) + { + $this->buyerInvoiceId = $buyerInvoiceId; + } + public function getBuyerInvoiceId() + { + return $this->buyerInvoiceId; + } + public function setBuyerOrganizationName($buyerOrganizationName) + { + $this->buyerOrganizationName = $buyerOrganizationName; + } + public function getBuyerOrganizationName() + { + return $this->buyerOrganizationName; + } + public function setComments($comments) + { + $this->comments = $comments; + } + public function getComments() + { + return $this->comments; + } + public function setContacts($contacts) + { + $this->contacts = $contacts; + } + public function getContacts() + { + return $this->contacts; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastModifiedInfo(Google_Service_Dfareporting_LastModifiedInfo $lastModifiedInfo) + { + $this->lastModifiedInfo = $lastModifiedInfo; + } + public function getLastModifiedInfo() + { + return $this->lastModifiedInfo; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNotes($notes) + { + $this->notes = $notes; + } + public function getNotes() + { + return $this->notes; + } + public function setPlanningTermId($planningTermId) + { + $this->planningTermId = $planningTermId; + } + public function getPlanningTermId() + { + return $this->planningTermId; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } + public function setSellerOrderId($sellerOrderId) + { + $this->sellerOrderId = $sellerOrderId; + } + public function getSellerOrderId() + { + return $this->sellerOrderId; + } + public function setSellerOrganizationName($sellerOrganizationName) + { + $this->sellerOrganizationName = $sellerOrganizationName; + } + public function getSellerOrganizationName() + { + return $this->sellerOrganizationName; + } + public function setSiteId($siteId) + { + $this->siteId = $siteId; + } + public function getSiteId() + { + return $this->siteId; + } + public function setSiteNames($siteNames) + { + $this->siteNames = $siteNames; + } + public function getSiteNames() + { + return $this->siteNames; + } + public function setSubaccountId($subaccountId) + { + $this->subaccountId = $subaccountId; + } + public function getSubaccountId() + { + return $this->subaccountId; + } + public function setTermsAndConditions($termsAndConditions) + { + $this->termsAndConditions = $termsAndConditions; + } + public function getTermsAndConditions() + { + return $this->termsAndConditions; + } +} + +class Google_Service_Dfareporting_OrderContact extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $contactInfo; + public $contactName; + public $contactTitle; + public $contactType; + public $signatureUserProfileId; + + + public function setContactInfo($contactInfo) + { + $this->contactInfo = $contactInfo; + } + public function getContactInfo() + { + return $this->contactInfo; + } + public function setContactName($contactName) + { + $this->contactName = $contactName; + } + public function getContactName() + { + return $this->contactName; + } + public function setContactTitle($contactTitle) + { + $this->contactTitle = $contactTitle; + } + public function getContactTitle() + { + return $this->contactTitle; + } + public function setContactType($contactType) + { + $this->contactType = $contactType; + } + public function getContactType() + { + return $this->contactType; + } + public function setSignatureUserProfileId($signatureUserProfileId) + { + $this->signatureUserProfileId = $signatureUserProfileId; + } + public function getSignatureUserProfileId() + { + return $this->signatureUserProfileId; + } +} + +class Google_Service_Dfareporting_OrderDocument extends Google_Collection +{ + protected $collection_key = 'approvedByUserProfileIds'; + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $advertiserId; + public $amendedOrderDocumentId; + public $approvedByUserProfileIds; + public $cancelled; + protected $createdInfoType = 'Google_Service_Dfareporting_LastModifiedInfo'; + protected $createdInfoDataType = ''; + public $effectiveDate; + public $id; + public $kind; + public $orderId; + public $projectId; + public $signed; + public $subaccountId; + public $title; + public $type; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setAmendedOrderDocumentId($amendedOrderDocumentId) + { + $this->amendedOrderDocumentId = $amendedOrderDocumentId; + } + public function getAmendedOrderDocumentId() + { + return $this->amendedOrderDocumentId; + } + public function setApprovedByUserProfileIds($approvedByUserProfileIds) + { + $this->approvedByUserProfileIds = $approvedByUserProfileIds; + } + public function getApprovedByUserProfileIds() + { + return $this->approvedByUserProfileIds; + } + public function setCancelled($cancelled) + { + $this->cancelled = $cancelled; + } + public function getCancelled() + { + return $this->cancelled; + } + public function setCreatedInfo(Google_Service_Dfareporting_LastModifiedInfo $createdInfo) + { + $this->createdInfo = $createdInfo; + } + public function getCreatedInfo() + { + return $this->createdInfo; + } + public function setEffectiveDate($effectiveDate) + { + $this->effectiveDate = $effectiveDate; + } + public function getEffectiveDate() + { + return $this->effectiveDate; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setOrderId($orderId) + { + $this->orderId = $orderId; + } + public function getOrderId() + { + return $this->orderId; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } + public function setSigned($signed) + { + $this->signed = $signed; + } + public function getSigned() + { + return $this->signed; + } + public function setSubaccountId($subaccountId) + { + $this->subaccountId = $subaccountId; + } + public function getSubaccountId() + { + return $this->subaccountId; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Dfareporting_OrderDocumentsListResponse extends Google_Collection +{ + protected $collection_key = 'orderDocuments'; + protected $internal_gapi_mappings = array( + ); + public $kind; + public $nextPageToken; + protected $orderDocumentsType = 'Google_Service_Dfareporting_OrderDocument'; + protected $orderDocumentsDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setOrderDocuments($orderDocuments) + { + $this->orderDocuments = $orderDocuments; + } + public function getOrderDocuments() + { + return $this->orderDocuments; + } +} + +class Google_Service_Dfareporting_OrdersListResponse extends Google_Collection +{ + protected $collection_key = 'orders'; + protected $internal_gapi_mappings = array( + ); + public $kind; + public $nextPageToken; + protected $ordersType = 'Google_Service_Dfareporting_Order'; + protected $ordersDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setOrders($orders) + { + $this->orders = $orders; + } + public function getOrders() + { + return $this->orders; + } +} + +class Google_Service_Dfareporting_PathToConversionReportCompatibleFields extends Google_Collection +{ + protected $collection_key = 'perInteractionDimensions'; + protected $internal_gapi_mappings = array( + ); + protected $conversionDimensionsType = 'Google_Service_Dfareporting_Dimension'; + protected $conversionDimensionsDataType = 'array'; + protected $customFloodlightVariablesType = 'Google_Service_Dfareporting_Dimension'; + protected $customFloodlightVariablesDataType = 'array'; + public $kind; + protected $metricsType = 'Google_Service_Dfareporting_Metric'; + protected $metricsDataType = 'array'; + protected $perInteractionDimensionsType = 'Google_Service_Dfareporting_Dimension'; + protected $perInteractionDimensionsDataType = 'array'; + + + public function setConversionDimensions($conversionDimensions) + { + $this->conversionDimensions = $conversionDimensions; + } + public function getConversionDimensions() + { + return $this->conversionDimensions; + } + public function setCustomFloodlightVariables($customFloodlightVariables) + { + $this->customFloodlightVariables = $customFloodlightVariables; + } + public function getCustomFloodlightVariables() + { + return $this->customFloodlightVariables; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMetrics($metrics) + { + $this->metrics = $metrics; + } + public function getMetrics() + { + return $this->metrics; + } + public function setPerInteractionDimensions($perInteractionDimensions) + { + $this->perInteractionDimensions = $perInteractionDimensions; + } + public function getPerInteractionDimensions() + { + return $this->perInteractionDimensions; + } +} + +class Google_Service_Dfareporting_Placement extends Google_Collection +{ + protected $collection_key = 'tagFormats'; + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $advertiserId; + protected $advertiserIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue'; + protected $advertiserIdDimensionValueDataType = ''; + public $archived; + public $campaignId; + protected $campaignIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue'; + protected $campaignIdDimensionValueDataType = ''; + public $comment; + public $compatibility; + public $contentCategoryId; + protected $createInfoType = 'Google_Service_Dfareporting_LastModifiedInfo'; + protected $createInfoDataType = ''; + public $directorySiteId; + protected $directorySiteIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue'; + protected $directorySiteIdDimensionValueDataType = ''; + public $externalId; + public $id; + protected $idDimensionValueType = 'Google_Service_Dfareporting_DimensionValue'; + protected $idDimensionValueDataType = ''; + public $keyName; + public $kind; + protected $lastModifiedInfoType = 'Google_Service_Dfareporting_LastModifiedInfo'; + protected $lastModifiedInfoDataType = ''; + protected $lookbackConfigurationType = 'Google_Service_Dfareporting_LookbackConfiguration'; + protected $lookbackConfigurationDataType = ''; + public $name; + public $paymentApproved; + public $paymentSource; + public $placementGroupId; + protected $placementGroupIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue'; + protected $placementGroupIdDimensionValueDataType = ''; + public $placementStrategyId; + protected $pricingScheduleType = 'Google_Service_Dfareporting_PricingSchedule'; + protected $pricingScheduleDataType = ''; + public $primary; + protected $publisherUpdateInfoType = 'Google_Service_Dfareporting_LastModifiedInfo'; + protected $publisherUpdateInfoDataType = ''; + public $siteId; + protected $siteIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue'; + protected $siteIdDimensionValueDataType = ''; + protected $sizeType = 'Google_Service_Dfareporting_Size'; + protected $sizeDataType = ''; + public $sslRequired; + public $status; + public $subaccountId; + public $tagFormats; + protected $tagSettingType = 'Google_Service_Dfareporting_TagSetting'; + protected $tagSettingDataType = ''; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue) + { + $this->advertiserIdDimensionValue = $advertiserIdDimensionValue; + } + public function getAdvertiserIdDimensionValue() + { + return $this->advertiserIdDimensionValue; + } + public function setArchived($archived) + { + $this->archived = $archived; + } + public function getArchived() + { + return $this->archived; + } + public function setCampaignId($campaignId) + { + $this->campaignId = $campaignId; + } + public function getCampaignId() + { + return $this->campaignId; + } + public function setCampaignIdDimensionValue(Google_Service_Dfareporting_DimensionValue $campaignIdDimensionValue) + { + $this->campaignIdDimensionValue = $campaignIdDimensionValue; + } + public function getCampaignIdDimensionValue() + { + return $this->campaignIdDimensionValue; + } + public function setComment($comment) + { + $this->comment = $comment; + } + public function getComment() + { + return $this->comment; + } + public function setCompatibility($compatibility) + { + $this->compatibility = $compatibility; + } + public function getCompatibility() + { + return $this->compatibility; + } + public function setContentCategoryId($contentCategoryId) + { + $this->contentCategoryId = $contentCategoryId; + } + public function getContentCategoryId() + { + return $this->contentCategoryId; + } + public function setCreateInfo(Google_Service_Dfareporting_LastModifiedInfo $createInfo) + { + $this->createInfo = $createInfo; + } + public function getCreateInfo() + { + return $this->createInfo; + } + public function setDirectorySiteId($directorySiteId) + { + $this->directorySiteId = $directorySiteId; + } + public function getDirectorySiteId() + { + return $this->directorySiteId; + } + public function setDirectorySiteIdDimensionValue(Google_Service_Dfareporting_DimensionValue $directorySiteIdDimensionValue) + { + $this->directorySiteIdDimensionValue = $directorySiteIdDimensionValue; + } + public function getDirectorySiteIdDimensionValue() + { + return $this->directorySiteIdDimensionValue; + } + public function setExternalId($externalId) + { + $this->externalId = $externalId; + } + public function getExternalId() + { + return $this->externalId; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue) + { + $this->idDimensionValue = $idDimensionValue; + } + public function getIdDimensionValue() + { + return $this->idDimensionValue; + } + public function setKeyName($keyName) + { + $this->keyName = $keyName; + } + public function getKeyName() + { + return $this->keyName; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastModifiedInfo(Google_Service_Dfareporting_LastModifiedInfo $lastModifiedInfo) + { + $this->lastModifiedInfo = $lastModifiedInfo; + } + public function getLastModifiedInfo() + { + return $this->lastModifiedInfo; + } + public function setLookbackConfiguration(Google_Service_Dfareporting_LookbackConfiguration $lookbackConfiguration) + { + $this->lookbackConfiguration = $lookbackConfiguration; + } + public function getLookbackConfiguration() + { + return $this->lookbackConfiguration; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPaymentApproved($paymentApproved) + { + $this->paymentApproved = $paymentApproved; + } + public function getPaymentApproved() + { + return $this->paymentApproved; + } + public function setPaymentSource($paymentSource) + { + $this->paymentSource = $paymentSource; + } + public function getPaymentSource() + { + return $this->paymentSource; + } + public function setPlacementGroupId($placementGroupId) + { + $this->placementGroupId = $placementGroupId; + } + public function getPlacementGroupId() + { + return $this->placementGroupId; + } + public function setPlacementGroupIdDimensionValue(Google_Service_Dfareporting_DimensionValue $placementGroupIdDimensionValue) + { + $this->placementGroupIdDimensionValue = $placementGroupIdDimensionValue; + } + public function getPlacementGroupIdDimensionValue() + { + return $this->placementGroupIdDimensionValue; + } + public function setPlacementStrategyId($placementStrategyId) + { + $this->placementStrategyId = $placementStrategyId; + } + public function getPlacementStrategyId() + { + return $this->placementStrategyId; + } + public function setPricingSchedule(Google_Service_Dfareporting_PricingSchedule $pricingSchedule) + { + $this->pricingSchedule = $pricingSchedule; + } + public function getPricingSchedule() + { + return $this->pricingSchedule; + } + public function setPrimary($primary) + { + $this->primary = $primary; + } + public function getPrimary() + { + return $this->primary; + } + public function setPublisherUpdateInfo(Google_Service_Dfareporting_LastModifiedInfo $publisherUpdateInfo) + { + $this->publisherUpdateInfo = $publisherUpdateInfo; + } + public function getPublisherUpdateInfo() + { + return $this->publisherUpdateInfo; + } + public function setSiteId($siteId) + { + $this->siteId = $siteId; + } + public function getSiteId() + { + return $this->siteId; + } + public function setSiteIdDimensionValue(Google_Service_Dfareporting_DimensionValue $siteIdDimensionValue) + { + $this->siteIdDimensionValue = $siteIdDimensionValue; + } + public function getSiteIdDimensionValue() + { + return $this->siteIdDimensionValue; + } + public function setSize(Google_Service_Dfareporting_Size $size) + { + $this->size = $size; + } + public function getSize() + { + return $this->size; + } + public function setSslRequired($sslRequired) + { + $this->sslRequired = $sslRequired; + } + public function getSslRequired() + { + return $this->sslRequired; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setSubaccountId($subaccountId) + { + $this->subaccountId = $subaccountId; + } + public function getSubaccountId() + { + return $this->subaccountId; + } + public function setTagFormats($tagFormats) + { + $this->tagFormats = $tagFormats; + } + public function getTagFormats() + { + return $this->tagFormats; + } + public function setTagSetting(Google_Service_Dfareporting_TagSetting $tagSetting) + { + $this->tagSetting = $tagSetting; + } + public function getTagSetting() + { + return $this->tagSetting; + } +} + +class Google_Service_Dfareporting_PlacementAssignment extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $active; + public $placementId; + protected $placementIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue'; + protected $placementIdDimensionValueDataType = ''; + public $sslRequired; + + + public function setActive($active) + { + $this->active = $active; + } + public function getActive() + { + return $this->active; + } + public function setPlacementId($placementId) + { + $this->placementId = $placementId; + } + public function getPlacementId() + { + return $this->placementId; + } + public function setPlacementIdDimensionValue(Google_Service_Dfareporting_DimensionValue $placementIdDimensionValue) + { + $this->placementIdDimensionValue = $placementIdDimensionValue; + } + public function getPlacementIdDimensionValue() + { + return $this->placementIdDimensionValue; + } + public function setSslRequired($sslRequired) + { + $this->sslRequired = $sslRequired; + } + public function getSslRequired() + { + return $this->sslRequired; + } +} + +class Google_Service_Dfareporting_PlacementGroup extends Google_Collection +{ + protected $collection_key = 'childPlacementIds'; + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $advertiserId; + protected $advertiserIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue'; + protected $advertiserIdDimensionValueDataType = ''; + public $archived; + public $campaignId; + protected $campaignIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue'; + protected $campaignIdDimensionValueDataType = ''; + public $childPlacementIds; + public $comment; + public $contentCategoryId; + protected $createInfoType = 'Google_Service_Dfareporting_LastModifiedInfo'; + protected $createInfoDataType = ''; + public $directorySiteId; + protected $directorySiteIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue'; + protected $directorySiteIdDimensionValueDataType = ''; + public $externalId; + public $id; + protected $idDimensionValueType = 'Google_Service_Dfareporting_DimensionValue'; + protected $idDimensionValueDataType = ''; + public $kind; + protected $lastModifiedInfoType = 'Google_Service_Dfareporting_LastModifiedInfo'; + protected $lastModifiedInfoDataType = ''; + public $name; + public $placementGroupType; + public $placementStrategyId; + protected $pricingScheduleType = 'Google_Service_Dfareporting_PricingSchedule'; + protected $pricingScheduleDataType = ''; + public $primaryPlacementId; + protected $primaryPlacementIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue'; + protected $primaryPlacementIdDimensionValueDataType = ''; + protected $programmaticSettingType = 'Google_Service_Dfareporting_ProgrammaticSetting'; + protected $programmaticSettingDataType = ''; + public $siteId; + protected $siteIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue'; + protected $siteIdDimensionValueDataType = ''; + public $subaccountId; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue) + { + $this->advertiserIdDimensionValue = $advertiserIdDimensionValue; + } + public function getAdvertiserIdDimensionValue() + { + return $this->advertiserIdDimensionValue; + } + public function setArchived($archived) + { + $this->archived = $archived; + } + public function getArchived() + { + return $this->archived; + } + public function setCampaignId($campaignId) + { + $this->campaignId = $campaignId; + } + public function getCampaignId() + { + return $this->campaignId; + } + public function setCampaignIdDimensionValue(Google_Service_Dfareporting_DimensionValue $campaignIdDimensionValue) + { + $this->campaignIdDimensionValue = $campaignIdDimensionValue; + } + public function getCampaignIdDimensionValue() + { + return $this->campaignIdDimensionValue; + } + public function setChildPlacementIds($childPlacementIds) + { + $this->childPlacementIds = $childPlacementIds; + } + public function getChildPlacementIds() + { + return $this->childPlacementIds; + } + public function setComment($comment) + { + $this->comment = $comment; + } + public function getComment() + { + return $this->comment; + } + public function setContentCategoryId($contentCategoryId) + { + $this->contentCategoryId = $contentCategoryId; + } + public function getContentCategoryId() + { + return $this->contentCategoryId; + } + public function setCreateInfo(Google_Service_Dfareporting_LastModifiedInfo $createInfo) + { + $this->createInfo = $createInfo; + } + public function getCreateInfo() + { + return $this->createInfo; + } + public function setDirectorySiteId($directorySiteId) + { + $this->directorySiteId = $directorySiteId; + } + public function getDirectorySiteId() + { + return $this->directorySiteId; + } + public function setDirectorySiteIdDimensionValue(Google_Service_Dfareporting_DimensionValue $directorySiteIdDimensionValue) + { + $this->directorySiteIdDimensionValue = $directorySiteIdDimensionValue; + } + public function getDirectorySiteIdDimensionValue() + { + return $this->directorySiteIdDimensionValue; + } + public function setExternalId($externalId) + { + $this->externalId = $externalId; + } + public function getExternalId() + { + return $this->externalId; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue) + { + $this->idDimensionValue = $idDimensionValue; + } + public function getIdDimensionValue() + { + return $this->idDimensionValue; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastModifiedInfo(Google_Service_Dfareporting_LastModifiedInfo $lastModifiedInfo) + { + $this->lastModifiedInfo = $lastModifiedInfo; + } + public function getLastModifiedInfo() + { + return $this->lastModifiedInfo; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPlacementGroupType($placementGroupType) + { + $this->placementGroupType = $placementGroupType; + } + public function getPlacementGroupType() + { + return $this->placementGroupType; + } + public function setPlacementStrategyId($placementStrategyId) + { + $this->placementStrategyId = $placementStrategyId; + } + public function getPlacementStrategyId() + { + return $this->placementStrategyId; + } + public function setPricingSchedule(Google_Service_Dfareporting_PricingSchedule $pricingSchedule) + { + $this->pricingSchedule = $pricingSchedule; + } + public function getPricingSchedule() + { + return $this->pricingSchedule; + } + public function setPrimaryPlacementId($primaryPlacementId) + { + $this->primaryPlacementId = $primaryPlacementId; + } + public function getPrimaryPlacementId() + { + return $this->primaryPlacementId; + } + public function setPrimaryPlacementIdDimensionValue(Google_Service_Dfareporting_DimensionValue $primaryPlacementIdDimensionValue) + { + $this->primaryPlacementIdDimensionValue = $primaryPlacementIdDimensionValue; + } + public function getPrimaryPlacementIdDimensionValue() + { + return $this->primaryPlacementIdDimensionValue; + } + public function setProgrammaticSetting(Google_Service_Dfareporting_ProgrammaticSetting $programmaticSetting) + { + $this->programmaticSetting = $programmaticSetting; + } + public function getProgrammaticSetting() + { + return $this->programmaticSetting; + } + public function setSiteId($siteId) + { + $this->siteId = $siteId; + } + public function getSiteId() + { + return $this->siteId; + } + public function setSiteIdDimensionValue(Google_Service_Dfareporting_DimensionValue $siteIdDimensionValue) + { + $this->siteIdDimensionValue = $siteIdDimensionValue; + } + public function getSiteIdDimensionValue() + { + return $this->siteIdDimensionValue; + } + public function setSubaccountId($subaccountId) + { + $this->subaccountId = $subaccountId; + } + public function getSubaccountId() + { + return $this->subaccountId; + } +} + +class Google_Service_Dfareporting_PlacementGroupsListResponse extends Google_Collection +{ + protected $collection_key = 'placementGroups'; + protected $internal_gapi_mappings = array( + ); + public $kind; + public $nextPageToken; + protected $placementGroupsType = 'Google_Service_Dfareporting_PlacementGroup'; + protected $placementGroupsDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPlacementGroups($placementGroups) + { + $this->placementGroups = $placementGroups; + } + public function getPlacementGroups() + { + return $this->placementGroups; + } +} + +class Google_Service_Dfareporting_PlacementStrategiesListResponse extends Google_Collection +{ + protected $collection_key = 'placementStrategies'; + protected $internal_gapi_mappings = array( + ); + public $kind; + public $nextPageToken; + protected $placementStrategiesType = 'Google_Service_Dfareporting_PlacementStrategy'; + protected $placementStrategiesDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPlacementStrategies($placementStrategies) + { + $this->placementStrategies = $placementStrategies; + } + public function getPlacementStrategies() + { + return $this->placementStrategies; + } +} + +class Google_Service_Dfareporting_PlacementStrategy extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $id; + public $kind; + public $name; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_Dfareporting_PlacementTag extends Google_Collection +{ + protected $collection_key = 'tagDatas'; + protected $internal_gapi_mappings = array( + ); + public $placementId; + protected $tagDatasType = 'Google_Service_Dfareporting_TagData'; + protected $tagDatasDataType = 'array'; + + + public function setPlacementId($placementId) + { + $this->placementId = $placementId; + } + public function getPlacementId() + { + return $this->placementId; + } + public function setTagDatas($tagDatas) + { + $this->tagDatas = $tagDatas; + } + public function getTagDatas() + { + return $this->tagDatas; + } +} + +class Google_Service_Dfareporting_PlacementsGenerateTagsResponse extends Google_Collection +{ + protected $collection_key = 'placementTags'; + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $placementTagsType = 'Google_Service_Dfareporting_PlacementTag'; + protected $placementTagsDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPlacementTags($placementTags) + { + $this->placementTags = $placementTags; + } + public function getPlacementTags() + { + return $this->placementTags; + } +} + +class Google_Service_Dfareporting_PlacementsListResponse extends Google_Collection +{ + protected $collection_key = 'placements'; + protected $internal_gapi_mappings = array( + ); + public $kind; + public $nextPageToken; + protected $placementsType = 'Google_Service_Dfareporting_Placement'; + protected $placementsDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPlacements($placements) + { + $this->placements = $placements; + } + public function getPlacements() + { + return $this->placements; + } +} + +class Google_Service_Dfareporting_PlatformType extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $kind; + public $name; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_Dfareporting_PlatformTypesListResponse extends Google_Collection +{ + protected $collection_key = 'platformTypes'; + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $platformTypesType = 'Google_Service_Dfareporting_PlatformType'; + protected $platformTypesDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPlatformTypes($platformTypes) + { + $this->platformTypes = $platformTypes; + } + public function getPlatformTypes() + { + return $this->platformTypes; + } +} + +class Google_Service_Dfareporting_PopupWindowProperties extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $dimensionType = 'Google_Service_Dfareporting_Size'; + protected $dimensionDataType = ''; + protected $offsetType = 'Google_Service_Dfareporting_OffsetPosition'; + protected $offsetDataType = ''; + public $positionType; + public $showAddressBar; + public $showMenuBar; + public $showScrollBar; + public $showStatusBar; + public $showToolBar; + public $title; + + + public function setDimension(Google_Service_Dfareporting_Size $dimension) + { + $this->dimension = $dimension; + } + public function getDimension() + { + return $this->dimension; + } + public function setOffset(Google_Service_Dfareporting_OffsetPosition $offset) + { + $this->offset = $offset; + } + public function getOffset() + { + return $this->offset; + } + public function setPositionType($positionType) + { + $this->positionType = $positionType; + } + public function getPositionType() + { + return $this->positionType; + } + public function setShowAddressBar($showAddressBar) + { + $this->showAddressBar = $showAddressBar; + } + public function getShowAddressBar() + { + return $this->showAddressBar; + } + public function setShowMenuBar($showMenuBar) + { + $this->showMenuBar = $showMenuBar; + } + public function getShowMenuBar() + { + return $this->showMenuBar; + } + public function setShowScrollBar($showScrollBar) + { + $this->showScrollBar = $showScrollBar; + } + public function getShowScrollBar() + { + return $this->showScrollBar; + } + public function setShowStatusBar($showStatusBar) + { + $this->showStatusBar = $showStatusBar; + } + public function getShowStatusBar() + { + return $this->showStatusBar; + } + public function setShowToolBar($showToolBar) + { + $this->showToolBar = $showToolBar; + } + public function getShowToolBar() + { + return $this->showToolBar; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} + +class Google_Service_Dfareporting_PostalCode extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $code; + public $countryCode; + public $countryDartId; + public $id; + public $kind; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setCountryCode($countryCode) + { + $this->countryCode = $countryCode; + } + public function getCountryCode() + { + return $this->countryCode; + } + public function setCountryDartId($countryDartId) + { + $this->countryDartId = $countryDartId; + } + public function getCountryDartId() + { + return $this->countryDartId; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Dfareporting_PostalCodesListResponse extends Google_Collection +{ + protected $collection_key = 'postalCodes'; + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $postalCodesType = 'Google_Service_Dfareporting_PostalCode'; + protected $postalCodesDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPostalCodes($postalCodes) + { + $this->postalCodes = $postalCodes; + } + public function getPostalCodes() + { + return $this->postalCodes; + } +} + +class Google_Service_Dfareporting_Pricing extends Google_Collection +{ + protected $collection_key = 'flights'; + protected $internal_gapi_mappings = array( + ); + public $capCostType; + public $endDate; + protected $flightsType = 'Google_Service_Dfareporting_Flight'; + protected $flightsDataType = 'array'; + public $groupType; + public $pricingType; + public $startDate; + + + public function setCapCostType($capCostType) + { + $this->capCostType = $capCostType; + } + public function getCapCostType() + { + return $this->capCostType; + } + public function setEndDate($endDate) + { + $this->endDate = $endDate; + } + public function getEndDate() + { + return $this->endDate; + } + public function setFlights($flights) + { + $this->flights = $flights; + } + public function getFlights() + { + return $this->flights; + } + public function setGroupType($groupType) + { + $this->groupType = $groupType; + } + public function getGroupType() + { + return $this->groupType; + } + public function setPricingType($pricingType) + { + $this->pricingType = $pricingType; + } + public function getPricingType() + { + return $this->pricingType; + } + public function setStartDate($startDate) + { + $this->startDate = $startDate; + } + public function getStartDate() + { + return $this->startDate; + } +} + +class Google_Service_Dfareporting_PricingSchedule extends Google_Collection +{ + protected $collection_key = 'pricingPeriods'; + protected $internal_gapi_mappings = array( + ); + public $capCostOption; + public $disregardOverdelivery; + public $endDate; + public $flighted; + public $floodlightActivityId; + protected $pricingPeriodsType = 'Google_Service_Dfareporting_PricingSchedulePricingPeriod'; + protected $pricingPeriodsDataType = 'array'; + public $pricingType; + public $startDate; + public $testingStartDate; + + + public function setCapCostOption($capCostOption) + { + $this->capCostOption = $capCostOption; + } + public function getCapCostOption() + { + return $this->capCostOption; + } + public function setDisregardOverdelivery($disregardOverdelivery) + { + $this->disregardOverdelivery = $disregardOverdelivery; + } + public function getDisregardOverdelivery() + { + return $this->disregardOverdelivery; + } + public function setEndDate($endDate) + { + $this->endDate = $endDate; + } + public function getEndDate() + { + return $this->endDate; + } + public function setFlighted($flighted) + { + $this->flighted = $flighted; + } + public function getFlighted() + { + return $this->flighted; + } + public function setFloodlightActivityId($floodlightActivityId) + { + $this->floodlightActivityId = $floodlightActivityId; + } + public function getFloodlightActivityId() + { + return $this->floodlightActivityId; + } + public function setPricingPeriods($pricingPeriods) + { + $this->pricingPeriods = $pricingPeriods; + } + public function getPricingPeriods() + { + return $this->pricingPeriods; + } + public function setPricingType($pricingType) + { + $this->pricingType = $pricingType; + } + public function getPricingType() + { + return $this->pricingType; + } + public function setStartDate($startDate) + { + $this->startDate = $startDate; + } + public function getStartDate() + { + return $this->startDate; + } + public function setTestingStartDate($testingStartDate) + { + $this->testingStartDate = $testingStartDate; + } + public function getTestingStartDate() + { + return $this->testingStartDate; + } +} + +class Google_Service_Dfareporting_PricingSchedulePricingPeriod extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $endDate; + public $pricingComment; + public $rateOrCostNanos; + public $startDate; + public $units; + + + public function setEndDate($endDate) + { + $this->endDate = $endDate; + } + public function getEndDate() + { + return $this->endDate; + } + public function setPricingComment($pricingComment) + { + $this->pricingComment = $pricingComment; + } + public function getPricingComment() + { + return $this->pricingComment; + } + public function setRateOrCostNanos($rateOrCostNanos) + { + $this->rateOrCostNanos = $rateOrCostNanos; + } + public function getRateOrCostNanos() + { + return $this->rateOrCostNanos; + } + public function setStartDate($startDate) + { + $this->startDate = $startDate; + } + public function getStartDate() + { + return $this->startDate; + } + public function setUnits($units) + { + $this->units = $units; + } + public function getUnits() + { + return $this->units; + } +} + +class Google_Service_Dfareporting_ProgrammaticSetting extends Google_Collection +{ + protected $collection_key = 'traffickerEmails'; + protected $internal_gapi_mappings = array( + ); + public $adxDealIds; + public $insertionOrderId; + public $insertionOrderIdStatus; + public $mediaCostNanos; + public $programmatic; + public $traffickerEmails; + + + public function setAdxDealIds($adxDealIds) + { + $this->adxDealIds = $adxDealIds; + } + public function getAdxDealIds() + { + return $this->adxDealIds; + } + public function setInsertionOrderId($insertionOrderId) + { + $this->insertionOrderId = $insertionOrderId; + } + public function getInsertionOrderId() + { + return $this->insertionOrderId; + } + public function setInsertionOrderIdStatus($insertionOrderIdStatus) + { + $this->insertionOrderIdStatus = $insertionOrderIdStatus; + } + public function getInsertionOrderIdStatus() + { + return $this->insertionOrderIdStatus; + } + public function setMediaCostNanos($mediaCostNanos) + { + $this->mediaCostNanos = $mediaCostNanos; + } + public function getMediaCostNanos() + { + return $this->mediaCostNanos; + } + public function setProgrammatic($programmatic) + { + $this->programmatic = $programmatic; + } + public function getProgrammatic() + { + return $this->programmatic; + } + public function setTraffickerEmails($traffickerEmails) + { + $this->traffickerEmails = $traffickerEmails; + } + public function getTraffickerEmails() + { + return $this->traffickerEmails; + } +} + +class Google_Service_Dfareporting_Project extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $advertiserId; + public $audienceAgeGroup; + public $audienceGender; + public $budget; + public $clientBillingCode; + public $clientName; + public $endDate; + public $id; + public $kind; + protected $lastModifiedInfoType = 'Google_Service_Dfareporting_LastModifiedInfo'; + protected $lastModifiedInfoDataType = ''; + public $name; + public $overview; + public $startDate; + public $subaccountId; + public $targetClicks; + public $targetConversions; + public $targetCpaNanos; + public $targetCpcNanos; + public $targetCpmNanos; + public $targetImpressions; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setAudienceAgeGroup($audienceAgeGroup) + { + $this->audienceAgeGroup = $audienceAgeGroup; + } + public function getAudienceAgeGroup() + { + return $this->audienceAgeGroup; + } + public function setAudienceGender($audienceGender) + { + $this->audienceGender = $audienceGender; + } + public function getAudienceGender() + { + return $this->audienceGender; + } + public function setBudget($budget) + { + $this->budget = $budget; + } + public function getBudget() + { + return $this->budget; + } + public function setClientBillingCode($clientBillingCode) + { + $this->clientBillingCode = $clientBillingCode; + } + public function getClientBillingCode() + { + return $this->clientBillingCode; + } + public function setClientName($clientName) + { + $this->clientName = $clientName; + } + public function getClientName() + { + return $this->clientName; + } + public function setEndDate($endDate) + { + $this->endDate = $endDate; + } + public function getEndDate() + { + return $this->endDate; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastModifiedInfo(Google_Service_Dfareporting_LastModifiedInfo $lastModifiedInfo) + { + $this->lastModifiedInfo = $lastModifiedInfo; + } + public function getLastModifiedInfo() + { + return $this->lastModifiedInfo; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOverview($overview) + { + $this->overview = $overview; + } + public function getOverview() + { + return $this->overview; + } + public function setStartDate($startDate) + { + $this->startDate = $startDate; + } + public function getStartDate() + { + return $this->startDate; + } + public function setSubaccountId($subaccountId) + { + $this->subaccountId = $subaccountId; + } + public function getSubaccountId() + { + return $this->subaccountId; + } + public function setTargetClicks($targetClicks) + { + $this->targetClicks = $targetClicks; + } + public function getTargetClicks() + { + return $this->targetClicks; + } + public function setTargetConversions($targetConversions) + { + $this->targetConversions = $targetConversions; + } + public function getTargetConversions() + { + return $this->targetConversions; + } + public function setTargetCpaNanos($targetCpaNanos) + { + $this->targetCpaNanos = $targetCpaNanos; + } + public function getTargetCpaNanos() + { + return $this->targetCpaNanos; + } + public function setTargetCpcNanos($targetCpcNanos) + { + $this->targetCpcNanos = $targetCpcNanos; + } + public function getTargetCpcNanos() + { + return $this->targetCpcNanos; + } + public function setTargetCpmNanos($targetCpmNanos) + { + $this->targetCpmNanos = $targetCpmNanos; + } + public function getTargetCpmNanos() + { + return $this->targetCpmNanos; + } + public function setTargetImpressions($targetImpressions) + { + $this->targetImpressions = $targetImpressions; + } + public function getTargetImpressions() + { + return $this->targetImpressions; + } +} + +class Google_Service_Dfareporting_ProjectsListResponse extends Google_Collection +{ + protected $collection_key = 'projects'; + protected $internal_gapi_mappings = array( + ); + public $kind; + public $nextPageToken; + protected $projectsType = 'Google_Service_Dfareporting_Project'; + protected $projectsDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setProjects($projects) + { + $this->projects = $projects; + } + public function getProjects() + { + return $this->projects; + } +} + +class Google_Service_Dfareporting_ReachReportCompatibleFields extends Google_Collection +{ + protected $collection_key = 'reachByFrequencyMetrics'; + protected $internal_gapi_mappings = array( + ); + protected $dimensionFiltersType = 'Google_Service_Dfareporting_Dimension'; + protected $dimensionFiltersDataType = 'array'; + protected $dimensionsType = 'Google_Service_Dfareporting_Dimension'; + protected $dimensionsDataType = 'array'; + public $kind; + protected $metricsType = 'Google_Service_Dfareporting_Metric'; + protected $metricsDataType = 'array'; + protected $pivotedActivityMetricsType = 'Google_Service_Dfareporting_Metric'; + protected $pivotedActivityMetricsDataType = 'array'; + protected $reachByFrequencyMetricsType = 'Google_Service_Dfareporting_Metric'; + protected $reachByFrequencyMetricsDataType = 'array'; + + + public function setDimensionFilters($dimensionFilters) + { + $this->dimensionFilters = $dimensionFilters; + } + public function getDimensionFilters() + { + return $this->dimensionFilters; + } + public function setDimensions($dimensions) + { + $this->dimensions = $dimensions; + } + public function getDimensions() + { + return $this->dimensions; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMetrics($metrics) + { + $this->metrics = $metrics; + } + public function getMetrics() + { + return $this->metrics; + } + public function setPivotedActivityMetrics($pivotedActivityMetrics) + { + $this->pivotedActivityMetrics = $pivotedActivityMetrics; + } + public function getPivotedActivityMetrics() + { + return $this->pivotedActivityMetrics; + } + public function setReachByFrequencyMetrics($reachByFrequencyMetrics) + { + $this->reachByFrequencyMetrics = $reachByFrequencyMetrics; + } + public function getReachByFrequencyMetrics() + { + return $this->reachByFrequencyMetrics; + } +} + +class Google_Service_Dfareporting_Recipient extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $deliveryType; + public $email; + public $kind; + + + public function setDeliveryType($deliveryType) + { + $this->deliveryType = $deliveryType; + } + public function getDeliveryType() + { + return $this->deliveryType; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Dfareporting_Region extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $countryCode; + public $countryDartId; + public $dartId; + public $kind; + public $name; + public $regionCode; + + + public function setCountryCode($countryCode) + { + $this->countryCode = $countryCode; + } + public function getCountryCode() + { + return $this->countryCode; + } + public function setCountryDartId($countryDartId) + { + $this->countryDartId = $countryDartId; + } + public function getCountryDartId() + { + return $this->countryDartId; + } + public function setDartId($dartId) + { + $this->dartId = $dartId; + } + public function getDartId() + { + return $this->dartId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setRegionCode($regionCode) + { + $this->regionCode = $regionCode; + } + public function getRegionCode() + { + return $this->regionCode; + } +} + +class Google_Service_Dfareporting_RegionsListResponse extends Google_Collection +{ + protected $collection_key = 'regions'; + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $regionsType = 'Google_Service_Dfareporting_Region'; + protected $regionsDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRegions($regions) + { + $this->regions = $regions; + } + public function getRegions() + { + return $this->regions; + } +} + +class Google_Service_Dfareporting_RemarketingList extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $active; + public $advertiserId; + protected $advertiserIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue'; + protected $advertiserIdDimensionValueDataType = ''; + public $description; + public $id; + public $kind; + public $lifeSpan; + protected $listPopulationRuleType = 'Google_Service_Dfareporting_ListPopulationRule'; + protected $listPopulationRuleDataType = ''; + public $listSize; + public $listSource; + public $name; + public $subaccountId; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setActive($active) + { + $this->active = $active; + } + public function getActive() + { + return $this->active; + } + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue) + { + $this->advertiserIdDimensionValue = $advertiserIdDimensionValue; + } + public function getAdvertiserIdDimensionValue() + { + return $this->advertiserIdDimensionValue; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLifeSpan($lifeSpan) + { + $this->lifeSpan = $lifeSpan; + } + public function getLifeSpan() + { + return $this->lifeSpan; + } + public function setListPopulationRule(Google_Service_Dfareporting_ListPopulationRule $listPopulationRule) + { + $this->listPopulationRule = $listPopulationRule; + } + public function getListPopulationRule() + { + return $this->listPopulationRule; + } + public function setListSize($listSize) + { + $this->listSize = $listSize; + } + public function getListSize() + { + return $this->listSize; + } + public function setListSource($listSource) + { + $this->listSource = $listSource; + } + public function getListSource() + { + return $this->listSource; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSubaccountId($subaccountId) + { + $this->subaccountId = $subaccountId; + } + public function getSubaccountId() + { + return $this->subaccountId; + } +} + +class Google_Service_Dfareporting_RemarketingListShare extends Google_Collection +{ + protected $collection_key = 'sharedAdvertiserIds'; + protected $internal_gapi_mappings = array( + ); + public $kind; + public $remarketingListId; + public $sharedAccountIds; + public $sharedAdvertiserIds; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRemarketingListId($remarketingListId) + { + $this->remarketingListId = $remarketingListId; + } + public function getRemarketingListId() + { + return $this->remarketingListId; + } + public function setSharedAccountIds($sharedAccountIds) + { + $this->sharedAccountIds = $sharedAccountIds; + } + public function getSharedAccountIds() + { + return $this->sharedAccountIds; + } + public function setSharedAdvertiserIds($sharedAdvertiserIds) + { + $this->sharedAdvertiserIds = $sharedAdvertiserIds; + } + public function getSharedAdvertiserIds() + { + return $this->sharedAdvertiserIds; + } +} + +class Google_Service_Dfareporting_RemarketingListsListResponse extends Google_Collection +{ + protected $collection_key = 'remarketingLists'; + protected $internal_gapi_mappings = array( + ); + public $kind; + public $nextPageToken; + protected $remarketingListsType = 'Google_Service_Dfareporting_RemarketingList'; + protected $remarketingListsDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setRemarketingLists($remarketingLists) + { + $this->remarketingLists = $remarketingLists; + } + public function getRemarketingLists() + { + return $this->remarketingLists; + } +} + +class Google_Service_Dfareporting_Report extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $accountId; + protected $criteriaType = 'Google_Service_Dfareporting_ReportCriteria'; + protected $criteriaDataType = ''; + protected $crossDimensionReachCriteriaType = 'Google_Service_Dfareporting_ReportCrossDimensionReachCriteria'; + protected $crossDimensionReachCriteriaDataType = ''; + protected $deliveryType = 'Google_Service_Dfareporting_ReportDelivery'; + protected $deliveryDataType = ''; + public $etag; + public $fileName; + protected $floodlightCriteriaType = 'Google_Service_Dfareporting_ReportFloodlightCriteria'; + protected $floodlightCriteriaDataType = ''; + public $format; + public $id; + public $kind; + public $lastModifiedTime; + public $name; + public $ownerProfileId; + protected $pathToConversionCriteriaType = 'Google_Service_Dfareporting_ReportPathToConversionCriteria'; + protected $pathToConversionCriteriaDataType = ''; + protected $reachCriteriaType = 'Google_Service_Dfareporting_ReportReachCriteria'; + protected $reachCriteriaDataType = ''; + protected $scheduleType = 'Google_Service_Dfareporting_ReportSchedule'; + protected $scheduleDataType = ''; + public $subAccountId; + public $type; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setCriteria(Google_Service_Dfareporting_ReportCriteria $criteria) + { + $this->criteria = $criteria; + } + public function getCriteria() + { + return $this->criteria; + } + public function setCrossDimensionReachCriteria(Google_Service_Dfareporting_ReportCrossDimensionReachCriteria $crossDimensionReachCriteria) + { + $this->crossDimensionReachCriteria = $crossDimensionReachCriteria; + } + public function getCrossDimensionReachCriteria() + { + return $this->crossDimensionReachCriteria; + } + public function setDelivery(Google_Service_Dfareporting_ReportDelivery $delivery) + { + $this->delivery = $delivery; + } + public function getDelivery() + { + return $this->delivery; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setFileName($fileName) + { + $this->fileName = $fileName; + } + public function getFileName() + { + return $this->fileName; + } + public function setFloodlightCriteria(Google_Service_Dfareporting_ReportFloodlightCriteria $floodlightCriteria) + { + $this->floodlightCriteria = $floodlightCriteria; + } + public function getFloodlightCriteria() + { + return $this->floodlightCriteria; + } + public function setFormat($format) + { + $this->format = $format; + } + public function getFormat() + { + return $this->format; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastModifiedTime($lastModifiedTime) + { + $this->lastModifiedTime = $lastModifiedTime; + } + public function getLastModifiedTime() + { + return $this->lastModifiedTime; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOwnerProfileId($ownerProfileId) + { + $this->ownerProfileId = $ownerProfileId; + } + public function getOwnerProfileId() + { + return $this->ownerProfileId; + } + public function setPathToConversionCriteria(Google_Service_Dfareporting_ReportPathToConversionCriteria $pathToConversionCriteria) + { + $this->pathToConversionCriteria = $pathToConversionCriteria; + } + public function getPathToConversionCriteria() + { + return $this->pathToConversionCriteria; + } + public function setReachCriteria(Google_Service_Dfareporting_ReportReachCriteria $reachCriteria) + { + $this->reachCriteria = $reachCriteria; + } + public function getReachCriteria() + { + return $this->reachCriteria; + } + public function setSchedule(Google_Service_Dfareporting_ReportSchedule $schedule) + { + $this->schedule = $schedule; + } + public function getSchedule() + { + return $this->schedule; + } + public function setSubAccountId($subAccountId) + { + $this->subAccountId = $subAccountId; + } + public function getSubAccountId() + { + return $this->subAccountId; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Dfareporting_ReportCompatibleFields extends Google_Collection +{ + protected $collection_key = 'pivotedActivityMetrics'; + protected $internal_gapi_mappings = array( + ); + protected $dimensionFiltersType = 'Google_Service_Dfareporting_Dimension'; + protected $dimensionFiltersDataType = 'array'; + protected $dimensionsType = 'Google_Service_Dfareporting_Dimension'; + protected $dimensionsDataType = 'array'; + public $kind; + protected $metricsType = 'Google_Service_Dfareporting_Metric'; + protected $metricsDataType = 'array'; + protected $pivotedActivityMetricsType = 'Google_Service_Dfareporting_Metric'; + protected $pivotedActivityMetricsDataType = 'array'; + + + public function setDimensionFilters($dimensionFilters) + { + $this->dimensionFilters = $dimensionFilters; + } + public function getDimensionFilters() + { + return $this->dimensionFilters; + } + public function setDimensions($dimensions) + { + $this->dimensions = $dimensions; + } + public function getDimensions() + { + return $this->dimensions; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMetrics($metrics) + { + $this->metrics = $metrics; + } + public function getMetrics() + { + return $this->metrics; + } + public function setPivotedActivityMetrics($pivotedActivityMetrics) + { + $this->pivotedActivityMetrics = $pivotedActivityMetrics; + } + public function getPivotedActivityMetrics() + { + return $this->pivotedActivityMetrics; + } +} + +class Google_Service_Dfareporting_ReportCriteria extends Google_Collection +{ + protected $collection_key = 'metricNames'; + protected $internal_gapi_mappings = array( + ); + protected $activitiesType = 'Google_Service_Dfareporting_Activities'; + protected $activitiesDataType = ''; + protected $customRichMediaEventsType = 'Google_Service_Dfareporting_CustomRichMediaEvents'; + protected $customRichMediaEventsDataType = ''; + protected $dateRangeType = 'Google_Service_Dfareporting_DateRange'; + protected $dateRangeDataType = ''; + protected $dimensionFiltersType = 'Google_Service_Dfareporting_DimensionValue'; + protected $dimensionFiltersDataType = 'array'; + protected $dimensionsType = 'Google_Service_Dfareporting_SortedDimension'; + protected $dimensionsDataType = 'array'; + public $metricNames; + + + public function setActivities(Google_Service_Dfareporting_Activities $activities) + { + $this->activities = $activities; + } + public function getActivities() + { + return $this->activities; + } + public function setCustomRichMediaEvents(Google_Service_Dfareporting_CustomRichMediaEvents $customRichMediaEvents) + { + $this->customRichMediaEvents = $customRichMediaEvents; + } + public function getCustomRichMediaEvents() + { + return $this->customRichMediaEvents; + } + public function setDateRange(Google_Service_Dfareporting_DateRange $dateRange) + { + $this->dateRange = $dateRange; + } + public function getDateRange() + { + return $this->dateRange; + } + public function setDimensionFilters($dimensionFilters) + { + $this->dimensionFilters = $dimensionFilters; + } + public function getDimensionFilters() + { + return $this->dimensionFilters; + } + public function setDimensions($dimensions) + { + $this->dimensions = $dimensions; + } + public function getDimensions() + { + return $this->dimensions; + } + public function setMetricNames($metricNames) + { + $this->metricNames = $metricNames; + } + public function getMetricNames() + { + return $this->metricNames; + } +} + +class Google_Service_Dfareporting_ReportCrossDimensionReachCriteria extends Google_Collection +{ + protected $collection_key = 'overlapMetricNames'; + protected $internal_gapi_mappings = array( + ); + protected $breakdownType = 'Google_Service_Dfareporting_SortedDimension'; + protected $breakdownDataType = 'array'; + protected $dateRangeType = 'Google_Service_Dfareporting_DateRange'; + protected $dateRangeDataType = ''; + public $dimension; + protected $dimensionFiltersType = 'Google_Service_Dfareporting_DimensionValue'; + protected $dimensionFiltersDataType = 'array'; + public $metricNames; + public $overlapMetricNames; + public $pivoted; + + + public function setBreakdown($breakdown) + { + $this->breakdown = $breakdown; + } + public function getBreakdown() + { + return $this->breakdown; + } + public function setDateRange(Google_Service_Dfareporting_DateRange $dateRange) + { + $this->dateRange = $dateRange; + } + public function getDateRange() + { + return $this->dateRange; + } + public function setDimension($dimension) + { + $this->dimension = $dimension; + } + public function getDimension() + { + return $this->dimension; + } + public function setDimensionFilters($dimensionFilters) + { + $this->dimensionFilters = $dimensionFilters; + } + public function getDimensionFilters() + { + return $this->dimensionFilters; + } + public function setMetricNames($metricNames) + { + $this->metricNames = $metricNames; + } + public function getMetricNames() + { + return $this->metricNames; + } + public function setOverlapMetricNames($overlapMetricNames) + { + $this->overlapMetricNames = $overlapMetricNames; + } + public function getOverlapMetricNames() + { + return $this->overlapMetricNames; + } + public function setPivoted($pivoted) + { + $this->pivoted = $pivoted; + } + public function getPivoted() + { + return $this->pivoted; + } +} + +class Google_Service_Dfareporting_ReportDelivery extends Google_Collection +{ + protected $collection_key = 'recipients'; + protected $internal_gapi_mappings = array( + ); + public $emailOwner; + public $emailOwnerDeliveryType; + public $message; + protected $recipientsType = 'Google_Service_Dfareporting_Recipient'; + protected $recipientsDataType = 'array'; + + + public function setEmailOwner($emailOwner) + { + $this->emailOwner = $emailOwner; + } + public function getEmailOwner() + { + return $this->emailOwner; + } + public function setEmailOwnerDeliveryType($emailOwnerDeliveryType) + { + $this->emailOwnerDeliveryType = $emailOwnerDeliveryType; + } + public function getEmailOwnerDeliveryType() + { + return $this->emailOwnerDeliveryType; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } + public function setRecipients($recipients) + { + $this->recipients = $recipients; + } + public function getRecipients() + { + return $this->recipients; + } +} + +class Google_Service_Dfareporting_ReportFloodlightCriteria extends Google_Collection +{ + protected $collection_key = 'metricNames'; + protected $internal_gapi_mappings = array( + ); + protected $customRichMediaEventsType = 'Google_Service_Dfareporting_DimensionValue'; + protected $customRichMediaEventsDataType = 'array'; + protected $dateRangeType = 'Google_Service_Dfareporting_DateRange'; + protected $dateRangeDataType = ''; + protected $dimensionFiltersType = 'Google_Service_Dfareporting_DimensionValue'; + protected $dimensionFiltersDataType = 'array'; + protected $dimensionsType = 'Google_Service_Dfareporting_SortedDimension'; + protected $dimensionsDataType = 'array'; + protected $floodlightConfigIdType = 'Google_Service_Dfareporting_DimensionValue'; + protected $floodlightConfigIdDataType = ''; + public $metricNames; + protected $reportPropertiesType = 'Google_Service_Dfareporting_ReportFloodlightCriteriaReportProperties'; + protected $reportPropertiesDataType = ''; + + + public function setCustomRichMediaEvents($customRichMediaEvents) + { + $this->customRichMediaEvents = $customRichMediaEvents; + } + public function getCustomRichMediaEvents() + { + return $this->customRichMediaEvents; + } + public function setDateRange(Google_Service_Dfareporting_DateRange $dateRange) + { + $this->dateRange = $dateRange; + } + public function getDateRange() + { + return $this->dateRange; + } + public function setDimensionFilters($dimensionFilters) + { + $this->dimensionFilters = $dimensionFilters; + } + public function getDimensionFilters() + { + return $this->dimensionFilters; + } + public function setDimensions($dimensions) + { + $this->dimensions = $dimensions; + } + public function getDimensions() + { + return $this->dimensions; + } + public function setFloodlightConfigId(Google_Service_Dfareporting_DimensionValue $floodlightConfigId) + { + $this->floodlightConfigId = $floodlightConfigId; + } + public function getFloodlightConfigId() + { + return $this->floodlightConfigId; + } + public function setMetricNames($metricNames) + { + $this->metricNames = $metricNames; + } + public function getMetricNames() + { + return $this->metricNames; + } + public function setReportProperties(Google_Service_Dfareporting_ReportFloodlightCriteriaReportProperties $reportProperties) + { + $this->reportProperties = $reportProperties; + } + public function getReportProperties() + { + return $this->reportProperties; + } +} + +class Google_Service_Dfareporting_ReportFloodlightCriteriaReportProperties extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $includeAttributedIPConversions; + public $includeUnattributedCookieConversions; + public $includeUnattributedIPConversions; + + + public function setIncludeAttributedIPConversions($includeAttributedIPConversions) + { + $this->includeAttributedIPConversions = $includeAttributedIPConversions; + } + public function getIncludeAttributedIPConversions() + { + return $this->includeAttributedIPConversions; + } + public function setIncludeUnattributedCookieConversions($includeUnattributedCookieConversions) + { + $this->includeUnattributedCookieConversions = $includeUnattributedCookieConversions; + } + public function getIncludeUnattributedCookieConversions() + { + return $this->includeUnattributedCookieConversions; + } + public function setIncludeUnattributedIPConversions($includeUnattributedIPConversions) + { + $this->includeUnattributedIPConversions = $includeUnattributedIPConversions; + } + public function getIncludeUnattributedIPConversions() + { + return $this->includeUnattributedIPConversions; + } +} + +class Google_Service_Dfareporting_ReportList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_Dfareporting_Report'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Dfareporting_ReportPathToConversionCriteria extends Google_Collection +{ + protected $collection_key = 'perInteractionDimensions'; + protected $internal_gapi_mappings = array( + ); + protected $activityFiltersType = 'Google_Service_Dfareporting_DimensionValue'; + protected $activityFiltersDataType = 'array'; + protected $conversionDimensionsType = 'Google_Service_Dfareporting_SortedDimension'; + protected $conversionDimensionsDataType = 'array'; + protected $customFloodlightVariablesType = 'Google_Service_Dfareporting_SortedDimension'; + protected $customFloodlightVariablesDataType = 'array'; + protected $customRichMediaEventsType = 'Google_Service_Dfareporting_DimensionValue'; + protected $customRichMediaEventsDataType = 'array'; + protected $dateRangeType = 'Google_Service_Dfareporting_DateRange'; + protected $dateRangeDataType = ''; + protected $floodlightConfigIdType = 'Google_Service_Dfareporting_DimensionValue'; + protected $floodlightConfigIdDataType = ''; + public $metricNames; + protected $perInteractionDimensionsType = 'Google_Service_Dfareporting_SortedDimension'; + protected $perInteractionDimensionsDataType = 'array'; + protected $reportPropertiesType = 'Google_Service_Dfareporting_ReportPathToConversionCriteriaReportProperties'; + protected $reportPropertiesDataType = ''; + + + public function setActivityFilters($activityFilters) + { + $this->activityFilters = $activityFilters; + } + public function getActivityFilters() + { + return $this->activityFilters; + } + public function setConversionDimensions($conversionDimensions) + { + $this->conversionDimensions = $conversionDimensions; + } + public function getConversionDimensions() + { + return $this->conversionDimensions; + } + public function setCustomFloodlightVariables($customFloodlightVariables) + { + $this->customFloodlightVariables = $customFloodlightVariables; + } + public function getCustomFloodlightVariables() + { + return $this->customFloodlightVariables; + } + public function setCustomRichMediaEvents($customRichMediaEvents) + { + $this->customRichMediaEvents = $customRichMediaEvents; + } + public function getCustomRichMediaEvents() + { + return $this->customRichMediaEvents; + } + public function setDateRange(Google_Service_Dfareporting_DateRange $dateRange) + { + $this->dateRange = $dateRange; + } + public function getDateRange() + { + return $this->dateRange; + } + public function setFloodlightConfigId(Google_Service_Dfareporting_DimensionValue $floodlightConfigId) + { + $this->floodlightConfigId = $floodlightConfigId; + } + public function getFloodlightConfigId() + { + return $this->floodlightConfigId; + } + public function setMetricNames($metricNames) + { + $this->metricNames = $metricNames; + } + public function getMetricNames() + { + return $this->metricNames; + } + public function setPerInteractionDimensions($perInteractionDimensions) + { + $this->perInteractionDimensions = $perInteractionDimensions; + } + public function getPerInteractionDimensions() + { + return $this->perInteractionDimensions; + } + public function setReportProperties(Google_Service_Dfareporting_ReportPathToConversionCriteriaReportProperties $reportProperties) + { + $this->reportProperties = $reportProperties; + } + public function getReportProperties() + { + return $this->reportProperties; + } +} + +class Google_Service_Dfareporting_ReportPathToConversionCriteriaReportProperties extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $clicksLookbackWindow; + public $impressionsLookbackWindow; + public $includeAttributedIPConversions; + public $includeUnattributedCookieConversions; + public $includeUnattributedIPConversions; + public $maximumClickInteractions; + public $maximumImpressionInteractions; + public $maximumInteractionGap; + public $pivotOnInteractionPath; + + + public function setClicksLookbackWindow($clicksLookbackWindow) + { + $this->clicksLookbackWindow = $clicksLookbackWindow; + } + public function getClicksLookbackWindow() + { + return $this->clicksLookbackWindow; + } + public function setImpressionsLookbackWindow($impressionsLookbackWindow) + { + $this->impressionsLookbackWindow = $impressionsLookbackWindow; + } + public function getImpressionsLookbackWindow() + { + return $this->impressionsLookbackWindow; + } + public function setIncludeAttributedIPConversions($includeAttributedIPConversions) + { + $this->includeAttributedIPConversions = $includeAttributedIPConversions; + } + public function getIncludeAttributedIPConversions() + { + return $this->includeAttributedIPConversions; + } + public function setIncludeUnattributedCookieConversions($includeUnattributedCookieConversions) + { + $this->includeUnattributedCookieConversions = $includeUnattributedCookieConversions; + } + public function getIncludeUnattributedCookieConversions() + { + return $this->includeUnattributedCookieConversions; + } + public function setIncludeUnattributedIPConversions($includeUnattributedIPConversions) + { + $this->includeUnattributedIPConversions = $includeUnattributedIPConversions; + } + public function getIncludeUnattributedIPConversions() + { + return $this->includeUnattributedIPConversions; + } + public function setMaximumClickInteractions($maximumClickInteractions) + { + $this->maximumClickInteractions = $maximumClickInteractions; + } + public function getMaximumClickInteractions() + { + return $this->maximumClickInteractions; + } + public function setMaximumImpressionInteractions($maximumImpressionInteractions) + { + $this->maximumImpressionInteractions = $maximumImpressionInteractions; + } + public function getMaximumImpressionInteractions() + { + return $this->maximumImpressionInteractions; + } + public function setMaximumInteractionGap($maximumInteractionGap) + { + $this->maximumInteractionGap = $maximumInteractionGap; + } + public function getMaximumInteractionGap() + { + return $this->maximumInteractionGap; + } + public function setPivotOnInteractionPath($pivotOnInteractionPath) + { + $this->pivotOnInteractionPath = $pivotOnInteractionPath; + } + public function getPivotOnInteractionPath() + { + return $this->pivotOnInteractionPath; + } +} + +class Google_Service_Dfareporting_ReportReachCriteria extends Google_Collection +{ + protected $collection_key = 'reachByFrequencyMetricNames'; + protected $internal_gapi_mappings = array( + ); + protected $activitiesType = 'Google_Service_Dfareporting_Activities'; + protected $activitiesDataType = ''; + protected $customRichMediaEventsType = 'Google_Service_Dfareporting_CustomRichMediaEvents'; + protected $customRichMediaEventsDataType = ''; + protected $dateRangeType = 'Google_Service_Dfareporting_DateRange'; + protected $dateRangeDataType = ''; + protected $dimensionFiltersType = 'Google_Service_Dfareporting_DimensionValue'; + protected $dimensionFiltersDataType = 'array'; + protected $dimensionsType = 'Google_Service_Dfareporting_SortedDimension'; + protected $dimensionsDataType = 'array'; + public $enableAllDimensionCombinations; + public $metricNames; + public $reachByFrequencyMetricNames; + + + public function setActivities(Google_Service_Dfareporting_Activities $activities) + { + $this->activities = $activities; + } + public function getActivities() + { + return $this->activities; + } + public function setCustomRichMediaEvents(Google_Service_Dfareporting_CustomRichMediaEvents $customRichMediaEvents) + { + $this->customRichMediaEvents = $customRichMediaEvents; + } + public function getCustomRichMediaEvents() + { + return $this->customRichMediaEvents; + } + public function setDateRange(Google_Service_Dfareporting_DateRange $dateRange) + { + $this->dateRange = $dateRange; + } + public function getDateRange() + { + return $this->dateRange; + } + public function setDimensionFilters($dimensionFilters) + { + $this->dimensionFilters = $dimensionFilters; + } + public function getDimensionFilters() + { + return $this->dimensionFilters; + } + public function setDimensions($dimensions) + { + $this->dimensions = $dimensions; + } + public function getDimensions() + { + return $this->dimensions; + } + public function setEnableAllDimensionCombinations($enableAllDimensionCombinations) + { + $this->enableAllDimensionCombinations = $enableAllDimensionCombinations; + } + public function getEnableAllDimensionCombinations() + { + return $this->enableAllDimensionCombinations; + } + public function setMetricNames($metricNames) + { + $this->metricNames = $metricNames; + } + public function getMetricNames() + { + return $this->metricNames; + } + public function setReachByFrequencyMetricNames($reachByFrequencyMetricNames) + { + $this->reachByFrequencyMetricNames = $reachByFrequencyMetricNames; + } + public function getReachByFrequencyMetricNames() + { + return $this->reachByFrequencyMetricNames; + } +} + +class Google_Service_Dfareporting_ReportSchedule extends Google_Collection +{ + protected $collection_key = 'repeatsOnWeekDays'; + protected $internal_gapi_mappings = array( + ); + public $active; + public $every; + public $expirationDate; + public $repeats; + public $repeatsOnWeekDays; + public $runsOnDayOfMonth; + public $startDate; + + + public function setActive($active) + { + $this->active = $active; + } + public function getActive() + { + return $this->active; + } + public function setEvery($every) + { + $this->every = $every; + } + public function getEvery() + { + return $this->every; + } + public function setExpirationDate($expirationDate) + { + $this->expirationDate = $expirationDate; + } + public function getExpirationDate() + { + return $this->expirationDate; + } + public function setRepeats($repeats) + { + $this->repeats = $repeats; + } + public function getRepeats() + { + return $this->repeats; + } + public function setRepeatsOnWeekDays($repeatsOnWeekDays) + { + $this->repeatsOnWeekDays = $repeatsOnWeekDays; + } + public function getRepeatsOnWeekDays() + { + return $this->repeatsOnWeekDays; + } + public function setRunsOnDayOfMonth($runsOnDayOfMonth) + { + $this->runsOnDayOfMonth = $runsOnDayOfMonth; + } + public function getRunsOnDayOfMonth() + { + return $this->runsOnDayOfMonth; + } + public function setStartDate($startDate) + { + $this->startDate = $startDate; + } + public function getStartDate() + { + return $this->startDate; + } +} + +class Google_Service_Dfareporting_ReportsConfiguration extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $exposureToConversionEnabled; + protected $lookbackConfigurationType = 'Google_Service_Dfareporting_LookbackConfiguration'; + protected $lookbackConfigurationDataType = ''; + public $reportGenerationTimeZoneId; + + + public function setExposureToConversionEnabled($exposureToConversionEnabled) + { + $this->exposureToConversionEnabled = $exposureToConversionEnabled; + } + public function getExposureToConversionEnabled() + { + return $this->exposureToConversionEnabled; + } + public function setLookbackConfiguration(Google_Service_Dfareporting_LookbackConfiguration $lookbackConfiguration) + { + $this->lookbackConfiguration = $lookbackConfiguration; + } + public function getLookbackConfiguration() + { + return $this->lookbackConfiguration; + } + public function setReportGenerationTimeZoneId($reportGenerationTimeZoneId) + { + $this->reportGenerationTimeZoneId = $reportGenerationTimeZoneId; + } + public function getReportGenerationTimeZoneId() + { + return $this->reportGenerationTimeZoneId; + } +} + +class Google_Service_Dfareporting_RichMediaExitOverride extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $customExitUrl; + public $exitId; + public $useCustomExitUrl; + + + public function setCustomExitUrl($customExitUrl) + { + $this->customExitUrl = $customExitUrl; + } + public function getCustomExitUrl() + { + return $this->customExitUrl; + } + public function setExitId($exitId) + { + $this->exitId = $exitId; + } + public function getExitId() + { + return $this->exitId; + } + public function setUseCustomExitUrl($useCustomExitUrl) + { + $this->useCustomExitUrl = $useCustomExitUrl; + } + public function getUseCustomExitUrl() + { + return $this->useCustomExitUrl; + } +} + +class Google_Service_Dfareporting_Site extends Google_Collection +{ + protected $collection_key = 'siteContacts'; + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $approved; + public $directorySiteId; + protected $directorySiteIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue'; + protected $directorySiteIdDimensionValueDataType = ''; + public $id; + protected $idDimensionValueType = 'Google_Service_Dfareporting_DimensionValue'; + protected $idDimensionValueDataType = ''; + public $keyName; + public $kind; + public $name; + protected $siteContactsType = 'Google_Service_Dfareporting_SiteContact'; + protected $siteContactsDataType = 'array'; + protected $siteSettingsType = 'Google_Service_Dfareporting_SiteSettings'; + protected $siteSettingsDataType = ''; + public $subaccountId; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setApproved($approved) + { + $this->approved = $approved; + } + public function getApproved() + { + return $this->approved; + } + public function setDirectorySiteId($directorySiteId) + { + $this->directorySiteId = $directorySiteId; + } + public function getDirectorySiteId() + { + return $this->directorySiteId; + } + public function setDirectorySiteIdDimensionValue(Google_Service_Dfareporting_DimensionValue $directorySiteIdDimensionValue) + { + $this->directorySiteIdDimensionValue = $directorySiteIdDimensionValue; + } + public function getDirectorySiteIdDimensionValue() + { + return $this->directorySiteIdDimensionValue; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue) + { + $this->idDimensionValue = $idDimensionValue; + } + public function getIdDimensionValue() + { + return $this->idDimensionValue; + } + public function setKeyName($keyName) + { + $this->keyName = $keyName; + } + public function getKeyName() + { + return $this->keyName; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSiteContacts($siteContacts) + { + $this->siteContacts = $siteContacts; + } + public function getSiteContacts() + { + return $this->siteContacts; + } + public function setSiteSettings(Google_Service_Dfareporting_SiteSettings $siteSettings) + { + $this->siteSettings = $siteSettings; + } + public function getSiteSettings() + { + return $this->siteSettings; + } + public function setSubaccountId($subaccountId) + { + $this->subaccountId = $subaccountId; + } + public function getSubaccountId() + { + return $this->subaccountId; + } +} + +class Google_Service_Dfareporting_SiteContact extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $address; + public $contactType; + public $email; + public $firstName; + public $id; + public $lastName; + public $phone; + public $title; + + + public function setAddress($address) + { + $this->address = $address; + } + public function getAddress() + { + return $this->address; + } + public function setContactType($contactType) + { + $this->contactType = $contactType; + } + public function getContactType() + { + return $this->contactType; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setFirstName($firstName) + { + $this->firstName = $firstName; + } + public function getFirstName() + { + return $this->firstName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setLastName($lastName) + { + $this->lastName = $lastName; + } + public function getLastName() + { + return $this->lastName; + } + public function setPhone($phone) + { + $this->phone = $phone; + } + public function getPhone() + { + return $this->phone; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} + +class Google_Service_Dfareporting_SiteSettings extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $activeViewOptOut; + protected $creativeSettingsType = 'Google_Service_Dfareporting_CreativeSettings'; + protected $creativeSettingsDataType = ''; + public $disableBrandSafeAds; + public $disableNewCookie; + protected $lookbackConfigurationType = 'Google_Service_Dfareporting_LookbackConfiguration'; + protected $lookbackConfigurationDataType = ''; + protected $tagSettingType = 'Google_Service_Dfareporting_TagSetting'; + protected $tagSettingDataType = ''; + + + public function setActiveViewOptOut($activeViewOptOut) + { + $this->activeViewOptOut = $activeViewOptOut; + } + public function getActiveViewOptOut() + { + return $this->activeViewOptOut; + } + public function setCreativeSettings(Google_Service_Dfareporting_CreativeSettings $creativeSettings) + { + $this->creativeSettings = $creativeSettings; + } + public function getCreativeSettings() + { + return $this->creativeSettings; + } + public function setDisableBrandSafeAds($disableBrandSafeAds) + { + $this->disableBrandSafeAds = $disableBrandSafeAds; + } + public function getDisableBrandSafeAds() + { + return $this->disableBrandSafeAds; + } + public function setDisableNewCookie($disableNewCookie) + { + $this->disableNewCookie = $disableNewCookie; + } + public function getDisableNewCookie() + { + return $this->disableNewCookie; + } + public function setLookbackConfiguration(Google_Service_Dfareporting_LookbackConfiguration $lookbackConfiguration) + { + $this->lookbackConfiguration = $lookbackConfiguration; + } + public function getLookbackConfiguration() + { + return $this->lookbackConfiguration; + } + public function setTagSetting(Google_Service_Dfareporting_TagSetting $tagSetting) + { + $this->tagSetting = $tagSetting; + } + public function getTagSetting() + { + return $this->tagSetting; + } +} + +class Google_Service_Dfareporting_SitesListResponse extends Google_Collection +{ + protected $collection_key = 'sites'; + protected $internal_gapi_mappings = array( + ); + public $kind; + public $nextPageToken; + protected $sitesType = 'Google_Service_Dfareporting_Site'; + protected $sitesDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSites($sites) + { + $this->sites = $sites; + } + public function getSites() + { + return $this->sites; + } +} + +class Google_Service_Dfareporting_Size extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $height; + public $iab; + public $id; + public $kind; + public $width; + + + public function setHeight($height) + { + $this->height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setIab($iab) + { + $this->iab = $iab; + } + public function getIab() + { + return $this->iab; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} + +class Google_Service_Dfareporting_SizesListResponse extends Google_Collection +{ + protected $collection_key = 'sizes'; + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $sizesType = 'Google_Service_Dfareporting_Size'; + protected $sizesDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSizes($sizes) + { + $this->sizes = $sizes; + } + public function getSizes() + { + return $this->sizes; + } +} + +class Google_Service_Dfareporting_SortedDimension extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + public $name; + public $sortOrder; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSortOrder($sortOrder) + { + $this->sortOrder = $sortOrder; + } + public function getSortOrder() + { + return $this->sortOrder; + } +} + +class Google_Service_Dfareporting_Subaccount extends Google_Collection +{ + protected $collection_key = 'availablePermissionIds'; + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $availablePermissionIds; + public $id; + public $kind; + public $name; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAvailablePermissionIds($availablePermissionIds) + { + $this->availablePermissionIds = $availablePermissionIds; + } + public function getAvailablePermissionIds() + { + return $this->availablePermissionIds; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_Dfareporting_SubaccountsListResponse extends Google_Collection +{ + protected $collection_key = 'subaccounts'; + protected $internal_gapi_mappings = array( + ); + public $kind; + public $nextPageToken; + protected $subaccountsType = 'Google_Service_Dfareporting_Subaccount'; + protected $subaccountsDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSubaccounts($subaccounts) + { + $this->subaccounts = $subaccounts; + } + public function getSubaccounts() + { + return $this->subaccounts; + } +} + +class Google_Service_Dfareporting_TagData extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $adId; + public $clickTag; + public $creativeId; + public $format; + public $impressionTag; + + + public function setAdId($adId) + { + $this->adId = $adId; + } + public function getAdId() + { + return $this->adId; + } + public function setClickTag($clickTag) + { + $this->clickTag = $clickTag; + } + public function getClickTag() + { + return $this->clickTag; + } + public function setCreativeId($creativeId) + { + $this->creativeId = $creativeId; + } + public function getCreativeId() + { + return $this->creativeId; + } + public function setFormat($format) + { + $this->format = $format; + } + public function getFormat() + { + return $this->format; + } + public function setImpressionTag($impressionTag) + { + $this->impressionTag = $impressionTag; + } + public function getImpressionTag() + { + return $this->impressionTag; + } +} + +class Google_Service_Dfareporting_TagSetting extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $additionalKeyValues; + public $includeClickThroughUrls; + public $includeClickTracking; + public $keywordOption; + + + public function setAdditionalKeyValues($additionalKeyValues) + { + $this->additionalKeyValues = $additionalKeyValues; + } + public function getAdditionalKeyValues() + { + return $this->additionalKeyValues; + } + public function setIncludeClickThroughUrls($includeClickThroughUrls) + { + $this->includeClickThroughUrls = $includeClickThroughUrls; + } + public function getIncludeClickThroughUrls() + { + return $this->includeClickThroughUrls; + } + public function setIncludeClickTracking($includeClickTracking) + { + $this->includeClickTracking = $includeClickTracking; + } + public function getIncludeClickTracking() + { + return $this->includeClickTracking; + } + public function setKeywordOption($keywordOption) + { + $this->keywordOption = $keywordOption; + } + public function getKeywordOption() + { + return $this->keywordOption; + } +} + +class Google_Service_Dfareporting_TagSettings extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $dynamicTagEnabled; + public $imageTagEnabled; + + + public function setDynamicTagEnabled($dynamicTagEnabled) + { + $this->dynamicTagEnabled = $dynamicTagEnabled; + } + public function getDynamicTagEnabled() + { + return $this->dynamicTagEnabled; + } + public function setImageTagEnabled($imageTagEnabled) + { + $this->imageTagEnabled = $imageTagEnabled; + } + public function getImageTagEnabled() + { + return $this->imageTagEnabled; + } +} + +class Google_Service_Dfareporting_TargetWindow extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $customHtml; + public $targetWindowOption; + + + public function setCustomHtml($customHtml) + { + $this->customHtml = $customHtml; + } + public function getCustomHtml() + { + return $this->customHtml; + } + public function setTargetWindowOption($targetWindowOption) + { + $this->targetWindowOption = $targetWindowOption; + } + public function getTargetWindowOption() + { + return $this->targetWindowOption; + } +} + +class Google_Service_Dfareporting_TargetableRemarketingList extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $active; + public $advertiserId; + protected $advertiserIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue'; + protected $advertiserIdDimensionValueDataType = ''; + public $description; + public $id; + public $kind; + public $lifeSpan; + public $listSize; + public $listSource; + public $name; + public $subaccountId; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setActive($active) + { + $this->active = $active; + } + public function getActive() + { + return $this->active; + } + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue) + { + $this->advertiserIdDimensionValue = $advertiserIdDimensionValue; + } + public function getAdvertiserIdDimensionValue() + { + return $this->advertiserIdDimensionValue; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLifeSpan($lifeSpan) + { + $this->lifeSpan = $lifeSpan; + } + public function getLifeSpan() + { + return $this->lifeSpan; + } + public function setListSize($listSize) + { + $this->listSize = $listSize; + } + public function getListSize() + { + return $this->listSize; + } + public function setListSource($listSource) + { + $this->listSource = $listSource; + } + public function getListSource() + { + return $this->listSource; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSubaccountId($subaccountId) + { + $this->subaccountId = $subaccountId; + } + public function getSubaccountId() + { + return $this->subaccountId; + } +} + +class Google_Service_Dfareporting_TargetableRemarketingListsListResponse extends Google_Collection +{ + protected $collection_key = 'targetableRemarketingLists'; + protected $internal_gapi_mappings = array( + ); + public $kind; + public $nextPageToken; + protected $targetableRemarketingListsType = 'Google_Service_Dfareporting_TargetableRemarketingList'; + protected $targetableRemarketingListsDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTargetableRemarketingLists($targetableRemarketingLists) + { + $this->targetableRemarketingLists = $targetableRemarketingLists; + } + public function getTargetableRemarketingLists() + { + return $this->targetableRemarketingLists; + } +} + +class Google_Service_Dfareporting_TechnologyTargeting extends Google_Collection +{ + protected $collection_key = 'platformTypes'; + protected $internal_gapi_mappings = array( + ); + protected $browsersType = 'Google_Service_Dfareporting_Browser'; + protected $browsersDataType = 'array'; + protected $connectionTypesType = 'Google_Service_Dfareporting_ConnectionType'; + protected $connectionTypesDataType = 'array'; + protected $mobileCarriersType = 'Google_Service_Dfareporting_MobileCarrier'; + protected $mobileCarriersDataType = 'array'; + protected $operatingSystemVersionsType = 'Google_Service_Dfareporting_OperatingSystemVersion'; + protected $operatingSystemVersionsDataType = 'array'; + protected $operatingSystemsType = 'Google_Service_Dfareporting_OperatingSystem'; + protected $operatingSystemsDataType = 'array'; + protected $platformTypesType = 'Google_Service_Dfareporting_PlatformType'; + protected $platformTypesDataType = 'array'; + + + public function setBrowsers($browsers) + { + $this->browsers = $browsers; + } + public function getBrowsers() + { + return $this->browsers; + } + public function setConnectionTypes($connectionTypes) + { + $this->connectionTypes = $connectionTypes; + } + public function getConnectionTypes() + { + return $this->connectionTypes; + } + public function setMobileCarriers($mobileCarriers) + { + $this->mobileCarriers = $mobileCarriers; + } + public function getMobileCarriers() + { + return $this->mobileCarriers; + } + public function setOperatingSystemVersions($operatingSystemVersions) + { + $this->operatingSystemVersions = $operatingSystemVersions; + } + public function getOperatingSystemVersions() + { + return $this->operatingSystemVersions; + } + public function setOperatingSystems($operatingSystems) + { + $this->operatingSystems = $operatingSystems; + } + public function getOperatingSystems() + { + return $this->operatingSystems; + } + public function setPlatformTypes($platformTypes) + { + $this->platformTypes = $platformTypes; + } + public function getPlatformTypes() + { + return $this->platformTypes; + } +} + +class Google_Service_Dfareporting_ThirdPartyTrackingUrl extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $thirdPartyUrlType; + public $url; + + + public function setThirdPartyUrlType($thirdPartyUrlType) + { + $this->thirdPartyUrlType = $thirdPartyUrlType; + } + public function getThirdPartyUrlType() + { + return $this->thirdPartyUrlType; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_Dfareporting_UserDefinedVariableConfiguration extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $dataType; + public $reportName; + public $variableType; + + + public function setDataType($dataType) + { + $this->dataType = $dataType; + } + public function getDataType() + { + return $this->dataType; + } + public function setReportName($reportName) + { + $this->reportName = $reportName; + } + public function getReportName() + { + return $this->reportName; + } + public function setVariableType($variableType) + { + $this->variableType = $variableType; + } + public function getVariableType() + { + return $this->variableType; + } +} + +class Google_Service_Dfareporting_UserProfile extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $accountName; + public $etag; + public $kind; + public $profileId; + public $subAccountId; + public $subAccountName; + public $userName; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAccountName($accountName) + { + $this->accountName = $accountName; + } + public function getAccountName() + { + return $this->accountName; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setProfileId($profileId) + { + $this->profileId = $profileId; + } + public function getProfileId() + { + return $this->profileId; + } + public function setSubAccountId($subAccountId) + { + $this->subAccountId = $subAccountId; + } + public function getSubAccountId() + { + return $this->subAccountId; + } + public function setSubAccountName($subAccountName) + { + $this->subAccountName = $subAccountName; + } + public function getSubAccountName() + { + return $this->subAccountName; + } + public function setUserName($userName) + { + $this->userName = $userName; + } + public function getUserName() + { + return $this->userName; + } +} + +class Google_Service_Dfareporting_UserProfileList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_Dfareporting_UserProfile'; + protected $itemsDataType = 'array'; + public $kind; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Dfareporting_UserRole extends Google_Collection +{ + protected $collection_key = 'permissions'; + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $defaultUserRole; + public $id; + public $kind; + public $name; + public $parentUserRoleId; + protected $permissionsType = 'Google_Service_Dfareporting_UserRolePermission'; + protected $permissionsDataType = 'array'; + public $subaccountId; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setDefaultUserRole($defaultUserRole) + { + $this->defaultUserRole = $defaultUserRole; + } + public function getDefaultUserRole() + { + return $this->defaultUserRole; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setParentUserRoleId($parentUserRoleId) + { + $this->parentUserRoleId = $parentUserRoleId; + } + public function getParentUserRoleId() + { + return $this->parentUserRoleId; + } + public function setPermissions($permissions) + { + $this->permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } + public function setSubaccountId($subaccountId) + { + $this->subaccountId = $subaccountId; + } + public function getSubaccountId() + { + return $this->subaccountId; + } +} + +class Google_Service_Dfareporting_UserRolePermission extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $availability; + public $id; + public $kind; + public $name; + public $permissionGroupId; + + + public function setAvailability($availability) + { + $this->availability = $availability; + } + public function getAvailability() + { + return $this->availability; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPermissionGroupId($permissionGroupId) + { + $this->permissionGroupId = $permissionGroupId; + } + public function getPermissionGroupId() + { + return $this->permissionGroupId; + } +} + +class Google_Service_Dfareporting_UserRolePermissionGroup extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $kind; + public $name; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_Dfareporting_UserRolePermissionGroupsListResponse extends Google_Collection +{ + protected $collection_key = 'userRolePermissionGroups'; + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $userRolePermissionGroupsType = 'Google_Service_Dfareporting_UserRolePermissionGroup'; + protected $userRolePermissionGroupsDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setUserRolePermissionGroups($userRolePermissionGroups) + { + $this->userRolePermissionGroups = $userRolePermissionGroups; + } + public function getUserRolePermissionGroups() + { + return $this->userRolePermissionGroups; + } +} + +class Google_Service_Dfareporting_UserRolePermissionsListResponse extends Google_Collection +{ + protected $collection_key = 'userRolePermissions'; + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $userRolePermissionsType = 'Google_Service_Dfareporting_UserRolePermission'; + protected $userRolePermissionsDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setUserRolePermissions($userRolePermissions) + { + $this->userRolePermissions = $userRolePermissions; + } + public function getUserRolePermissions() + { + return $this->userRolePermissions; + } +} + +class Google_Service_Dfareporting_UserRolesListResponse extends Google_Collection +{ + protected $collection_key = 'userRoles'; + protected $internal_gapi_mappings = array( + ); + public $kind; + public $nextPageToken; + protected $userRolesType = 'Google_Service_Dfareporting_UserRole'; + protected $userRolesDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setUserRoles($userRoles) + { + $this->userRoles = $userRoles; + } + public function getUserRoles() + { + return $this->userRoles; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Directory.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Directory.php new file mode 100644 index 0000000..04c19b1 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Directory.php @@ -0,0 +1,6379 @@ + + * The Admin SDK Directory API lets you view and manage enterprise resources + * such as users and groups, administrative notifications, security features, + * and more.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Directory extends Google_Service +{ + /** View and manage customer related information. */ + const ADMIN_DIRECTORY_CUSTOMER = + "https://www.googleapis.com/auth/admin.directory.customer"; + /** View customer related information. */ + const ADMIN_DIRECTORY_CUSTOMER_READONLY = + "https://www.googleapis.com/auth/admin.directory.customer.readonly"; + /** View and manage your Chrome OS devices' metadata. */ + const ADMIN_DIRECTORY_DEVICE_CHROMEOS = + "https://www.googleapis.com/auth/admin.directory.device.chromeos"; + /** View your Chrome OS devices' metadata. */ + const ADMIN_DIRECTORY_DEVICE_CHROMEOS_READONLY = + "https://www.googleapis.com/auth/admin.directory.device.chromeos.readonly"; + /** View and manage your mobile devices' metadata. */ + const ADMIN_DIRECTORY_DEVICE_MOBILE = + "https://www.googleapis.com/auth/admin.directory.device.mobile"; + /** Manage your mobile devices by performing administrative tasks. */ + const ADMIN_DIRECTORY_DEVICE_MOBILE_ACTION = + "https://www.googleapis.com/auth/admin.directory.device.mobile.action"; + /** View your mobile devices' metadata. */ + const ADMIN_DIRECTORY_DEVICE_MOBILE_READONLY = + "https://www.googleapis.com/auth/admin.directory.device.mobile.readonly"; + /** View and manage the provisioning of groups on your domain. */ + const ADMIN_DIRECTORY_GROUP = + "https://www.googleapis.com/auth/admin.directory.group"; + /** View and manage group subscriptions on your domain. */ + const ADMIN_DIRECTORY_GROUP_MEMBER = + "https://www.googleapis.com/auth/admin.directory.group.member"; + /** View group subscriptions on your domain. */ + const ADMIN_DIRECTORY_GROUP_MEMBER_READONLY = + "https://www.googleapis.com/auth/admin.directory.group.member.readonly"; + /** View groups on your domain. */ + const ADMIN_DIRECTORY_GROUP_READONLY = + "https://www.googleapis.com/auth/admin.directory.group.readonly"; + /** View and manage notifications received on your domain. */ + const ADMIN_DIRECTORY_NOTIFICATIONS = + "https://www.googleapis.com/auth/admin.directory.notifications"; + /** View and manage organization units on your domain. */ + const ADMIN_DIRECTORY_ORGUNIT = + "https://www.googleapis.com/auth/admin.directory.orgunit"; + /** View organization units on your domain. */ + const ADMIN_DIRECTORY_ORGUNIT_READONLY = + "https://www.googleapis.com/auth/admin.directory.orgunit.readonly"; + /** View and manage the provisioning of users on your domain. */ + const ADMIN_DIRECTORY_USER = + "https://www.googleapis.com/auth/admin.directory.user"; + /** View and manage user aliases on your domain. */ + const ADMIN_DIRECTORY_USER_ALIAS = + "https://www.googleapis.com/auth/admin.directory.user.alias"; + /** View user aliases on your domain. */ + const ADMIN_DIRECTORY_USER_ALIAS_READONLY = + "https://www.googleapis.com/auth/admin.directory.user.alias.readonly"; + /** View users on your domain. */ + const ADMIN_DIRECTORY_USER_READONLY = + "https://www.googleapis.com/auth/admin.directory.user.readonly"; + /** Manage data access permissions for users on your domain. */ + const ADMIN_DIRECTORY_USER_SECURITY = + "https://www.googleapis.com/auth/admin.directory.user.security"; + /** View and manage the provisioning of user schemas on your domain. */ + const ADMIN_DIRECTORY_USERSCHEMA = + "https://www.googleapis.com/auth/admin.directory.userschema"; + /** View user schemas on your domain. */ + const ADMIN_DIRECTORY_USERSCHEMA_READONLY = + "https://www.googleapis.com/auth/admin.directory.userschema.readonly"; + + public $asps; + public $channels; + public $chromeosdevices; + public $customers; + public $domainAliases; + public $domains; + public $groups; + public $groups_aliases; + public $members; + public $mobiledevices; + public $notifications; + public $orgunits; + public $schemas; + public $tokens; + public $users; + public $users_aliases; + public $users_photos; + public $verificationCodes; + + + /** + * Constructs the internal representation of the Directory service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'admin/directory/v1/'; + $this->version = 'directory_v1'; + $this->serviceName = 'admin'; + + $this->asps = new Google_Service_Directory_Asps_Resource( + $this, + $this->serviceName, + 'asps', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'users/{userKey}/asps/{codeId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'codeId' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'users/{userKey}/asps/{codeId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'codeId' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'users/{userKey}/asps', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->channels = new Google_Service_Directory_Channels_Resource( + $this, + $this->serviceName, + 'channels', + array( + 'methods' => array( + 'stop' => array( + 'path' => '/admin/directory_v1/channels/stop', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->chromeosdevices = new Google_Service_Directory_Chromeosdevices_Resource( + $this, + $this->serviceName, + 'chromeosdevices', + array( + 'methods' => array( + 'get' => array( + 'path' => 'customer/{customerId}/devices/chromeos/{deviceId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deviceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'customer/{customerId}/devices/chromeos', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'query' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'customer/{customerId}/devices/chromeos/{deviceId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deviceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'customer/{customerId}/devices/chromeos/{deviceId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deviceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->customers = new Google_Service_Directory_Customers_Resource( + $this, + $this->serviceName, + 'customers', + array( + 'methods' => array( + 'get' => array( + 'path' => 'customers/{customerKey}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customerKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'customers/{customerKey}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'customerKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'customers/{customerKey}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'customerKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->domainAliases = new Google_Service_Directory_DomainAliases_Resource( + $this, + $this->serviceName, + 'domainAliases', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'customer/{customer}/domainaliases/{domainAliasName}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'customer' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'domainAliasName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'customer/{customer}/domainaliases/{domainAliasName}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customer' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'domainAliasName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'customer/{customer}/domainaliases', + 'httpMethod' => 'POST', + 'parameters' => array( + 'customer' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'customer/{customer}/domainaliases', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customer' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'parentDomainName' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->domains = new Google_Service_Directory_Domains_Resource( + $this, + $this->serviceName, + 'domains', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'customer/{customer}/domains/{domainName}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'customer' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'domainName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'customer/{customer}/domains/{domainName}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customer' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'domainName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'customer/{customer}/domains', + 'httpMethod' => 'POST', + 'parameters' => array( + 'customer' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'customer/{customer}/domains', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customer' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->groups = new Google_Service_Directory_Groups_Resource( + $this, + $this->serviceName, + 'groups', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'groups/{groupKey}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'groupKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'groups/{groupKey}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'groupKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'groups', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'list' => array( + 'path' => 'groups', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customer' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'domain' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'userKey' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'groups/{groupKey}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'groupKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'groups/{groupKey}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'groupKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->groups_aliases = new Google_Service_Directory_GroupsAliases_Resource( + $this, + $this->serviceName, + 'aliases', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'groups/{groupKey}/aliases/{alias}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'groupKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'alias' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'groups/{groupKey}/aliases', + 'httpMethod' => 'POST', + 'parameters' => array( + 'groupKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'groups/{groupKey}/aliases', + 'httpMethod' => 'GET', + 'parameters' => array( + 'groupKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->members = new Google_Service_Directory_Members_Resource( + $this, + $this->serviceName, + 'members', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'groups/{groupKey}/members/{memberKey}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'groupKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'memberKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'groups/{groupKey}/members/{memberKey}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'groupKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'memberKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'groups/{groupKey}/members', + 'httpMethod' => 'POST', + 'parameters' => array( + 'groupKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'groups/{groupKey}/members', + 'httpMethod' => 'GET', + 'parameters' => array( + 'groupKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'roles' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => 'groups/{groupKey}/members/{memberKey}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'groupKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'memberKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'groups/{groupKey}/members/{memberKey}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'groupKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'memberKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->mobiledevices = new Google_Service_Directory_Mobiledevices_Resource( + $this, + $this->serviceName, + 'mobiledevices', + array( + 'methods' => array( + 'action' => array( + 'path' => 'customer/{customerId}/devices/mobile/{resourceId}/action', + 'httpMethod' => 'POST', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resourceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'customer/{customerId}/devices/mobile/{resourceId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resourceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'customer/{customerId}/devices/mobile/{resourceId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resourceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'customer/{customerId}/devices/mobile', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'query' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->notifications = new Google_Service_Directory_Notifications_Resource( + $this, + $this->serviceName, + 'notifications', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'customer/{customer}/notifications/{notificationId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'customer' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'notificationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'customer/{customer}/notifications/{notificationId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customer' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'notificationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'customer/{customer}/notifications', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customer' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'customer/{customer}/notifications/{notificationId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'customer' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'notificationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'customer/{customer}/notifications/{notificationId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'customer' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'notificationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->orgunits = new Google_Service_Directory_Orgunits_Resource( + $this, + $this->serviceName, + 'orgunits', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'customer/{customerId}/orgunits{/orgUnitPath*}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orgUnitPath' => array( + 'location' => 'path', + 'type' => 'string', + 'repeated' => true, + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'customer/{customerId}/orgunits{/orgUnitPath*}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orgUnitPath' => array( + 'location' => 'path', + 'type' => 'string', + 'repeated' => true, + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'customer/{customerId}/orgunits', + 'httpMethod' => 'POST', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'customer/{customerId}/orgunits', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'type' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'orgUnitPath' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'customer/{customerId}/orgunits{/orgUnitPath*}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orgUnitPath' => array( + 'location' => 'path', + 'type' => 'string', + 'repeated' => true, + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'customer/{customerId}/orgunits{/orgUnitPath*}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orgUnitPath' => array( + 'location' => 'path', + 'type' => 'string', + 'repeated' => true, + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->schemas = new Google_Service_Directory_Schemas_Resource( + $this, + $this->serviceName, + 'schemas', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'customer/{customerId}/schemas/{schemaKey}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'schemaKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'customer/{customerId}/schemas/{schemaKey}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'schemaKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'customer/{customerId}/schemas', + 'httpMethod' => 'POST', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'customer/{customerId}/schemas', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'customer/{customerId}/schemas/{schemaKey}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'schemaKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'customer/{customerId}/schemas/{schemaKey}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'schemaKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->tokens = new Google_Service_Directory_Tokens_Resource( + $this, + $this->serviceName, + 'tokens', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'users/{userKey}/tokens/{clientId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'clientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'users/{userKey}/tokens/{clientId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'clientId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'users/{userKey}/tokens', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->users = new Google_Service_Directory_Users_Resource( + $this, + $this->serviceName, + 'users', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'users/{userKey}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'users/{userKey}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'viewType' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'customFieldMask' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'insert' => array( + 'path' => 'users', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'list' => array( + 'path' => 'users', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customer' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'domain' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'showDeleted' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'customFieldMask' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'query' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'viewType' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'event' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'makeAdmin' => array( + 'path' => 'users/{userKey}/makeAdmin', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'users/{userKey}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'undelete' => array( + 'path' => 'users/{userKey}/undelete', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'users/{userKey}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'watch' => array( + 'path' => 'users/watch', + 'httpMethod' => 'POST', + 'parameters' => array( + 'customer' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'domain' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'showDeleted' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'customFieldMask' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'query' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'viewType' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'event' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->users_aliases = new Google_Service_Directory_UsersAliases_Resource( + $this, + $this->serviceName, + 'aliases', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'users/{userKey}/aliases/{alias}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'alias' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'users/{userKey}/aliases', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'users/{userKey}/aliases', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'event' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'watch' => array( + 'path' => 'users/{userKey}/aliases/watch', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'event' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->users_photos = new Google_Service_Directory_UsersPhotos_Resource( + $this, + $this->serviceName, + 'photos', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'users/{userKey}/photos/thumbnail', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'users/{userKey}/photos/thumbnail', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'users/{userKey}/photos/thumbnail', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'users/{userKey}/photos/thumbnail', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->verificationCodes = new Google_Service_Directory_VerificationCodes_Resource( + $this, + $this->serviceName, + 'verificationCodes', + array( + 'methods' => array( + 'generate' => array( + 'path' => 'users/{userKey}/verificationCodes/generate', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'invalidate' => array( + 'path' => 'users/{userKey}/verificationCodes/invalidate', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'users/{userKey}/verificationCodes', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "asps" collection of methods. + * Typical usage is: + * + * $adminService = new Google_Service_Directory(...); + * $asps = $adminService->asps; + * + */ +class Google_Service_Directory_Asps_Resource extends Google_Service_Resource +{ + + /** + * Delete an ASP issued by a user. (asps.delete) + * + * @param string $userKey Identifies the user in the API request. The value can + * be the user's primary email address, alias email address, or unique user ID. + * @param int $codeId The unique ID of the ASP to be deleted. + * @param array $optParams Optional parameters. + */ + public function delete($userKey, $codeId, $optParams = array()) + { + $params = array('userKey' => $userKey, 'codeId' => $codeId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Get information about an ASP issued by a user. (asps.get) + * + * @param string $userKey Identifies the user in the API request. The value can + * be the user's primary email address, alias email address, or unique user ID. + * @param int $codeId The unique ID of the ASP. + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Asp + */ + public function get($userKey, $codeId, $optParams = array()) + { + $params = array('userKey' => $userKey, 'codeId' => $codeId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Directory_Asp"); + } + + /** + * List the ASPs issued by a user. (asps.listAsps) + * + * @param string $userKey Identifies the user in the API request. The value can + * be the user's primary email address, alias email address, or unique user ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Asps + */ + public function listAsps($userKey, $optParams = array()) + { + $params = array('userKey' => $userKey); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Directory_Asps"); + } +} + +/** + * The "channels" collection of methods. + * Typical usage is: + * + * $adminService = new Google_Service_Directory(...); + * $channels = $adminService->channels; + * + */ +class Google_Service_Directory_Channels_Resource extends Google_Service_Resource +{ + + /** + * Stop watching resources through this channel (channels.stop) + * + * @param Google_Channel $postBody + * @param array $optParams Optional parameters. + */ + public function stop(Google_Service_Directory_Channel $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('stop', array($params)); + } +} + +/** + * The "chromeosdevices" collection of methods. + * Typical usage is: + * + * $adminService = new Google_Service_Directory(...); + * $chromeosdevices = $adminService->chromeosdevices; + * + */ +class Google_Service_Directory_Chromeosdevices_Resource extends Google_Service_Resource +{ + + /** + * Retrieve Chrome OS Device (chromeosdevices.get) + * + * @param string $customerId Immutable id of the Google Apps account + * @param string $deviceId Immutable id of Chrome OS Device + * @param array $optParams Optional parameters. + * + * @opt_param string projection Restrict information returned to a set of + * selected fields. + * @return Google_Service_Directory_ChromeOsDevice + */ + public function get($customerId, $deviceId, $optParams = array()) + { + $params = array('customerId' => $customerId, 'deviceId' => $deviceId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Directory_ChromeOsDevice"); + } + + /** + * Retrieve all Chrome OS Devices of a customer (paginated) + * (chromeosdevices.listChromeosdevices) + * + * @param string $customerId Immutable id of the Google Apps account + * @param array $optParams Optional parameters. + * + * @opt_param string orderBy Column to use for sorting results + * @opt_param string projection Restrict information returned to a set of + * selected fields. + * @opt_param int maxResults Maximum number of results to return. Default is 100 + * @opt_param string pageToken Token to specify next page in the list + * @opt_param string sortOrder Whether to return results in ascending or + * descending order. Only of use when orderBy is also used + * @opt_param string query Search string in the format given at + * http://support.google.com/chromeos/a/bin/answer.py?hl=en=1698333 + * @return Google_Service_Directory_ChromeOsDevices + */ + public function listChromeosdevices($customerId, $optParams = array()) + { + $params = array('customerId' => $customerId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Directory_ChromeOsDevices"); + } + + /** + * Update Chrome OS Device. This method supports patch semantics. + * (chromeosdevices.patch) + * + * @param string $customerId Immutable id of the Google Apps account + * @param string $deviceId Immutable id of Chrome OS Device + * @param Google_ChromeOsDevice $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string projection Restrict information returned to a set of + * selected fields. + * @return Google_Service_Directory_ChromeOsDevice + */ + public function patch($customerId, $deviceId, Google_Service_Directory_ChromeOsDevice $postBody, $optParams = array()) + { + $params = array('customerId' => $customerId, 'deviceId' => $deviceId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Directory_ChromeOsDevice"); + } + + /** + * Update Chrome OS Device (chromeosdevices.update) + * + * @param string $customerId Immutable id of the Google Apps account + * @param string $deviceId Immutable id of Chrome OS Device + * @param Google_ChromeOsDevice $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string projection Restrict information returned to a set of + * selected fields. + * @return Google_Service_Directory_ChromeOsDevice + */ + public function update($customerId, $deviceId, Google_Service_Directory_ChromeOsDevice $postBody, $optParams = array()) + { + $params = array('customerId' => $customerId, 'deviceId' => $deviceId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Directory_ChromeOsDevice"); + } +} + +/** + * The "customers" collection of methods. + * Typical usage is: + * + * $adminService = new Google_Service_Directory(...); + * $customers = $adminService->customers; + * + */ +class Google_Service_Directory_Customers_Resource extends Google_Service_Resource +{ + + /** + * Retrives a customer. (customers.get) + * + * @param string $customerKey Id of the customer to be retrieved + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Customer + */ + public function get($customerKey, $optParams = array()) + { + $params = array('customerKey' => $customerKey); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Directory_Customer"); + } + + /** + * Updates a customer. This method supports patch semantics. (customers.patch) + * + * @param string $customerKey Id of the customer to be updated + * @param Google_Customer $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Customer + */ + public function patch($customerKey, Google_Service_Directory_Customer $postBody, $optParams = array()) + { + $params = array('customerKey' => $customerKey, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Directory_Customer"); + } + + /** + * Updates a customer. (customers.update) + * + * @param string $customerKey Id of the customer to be updated + * @param Google_Customer $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Customer + */ + public function update($customerKey, Google_Service_Directory_Customer $postBody, $optParams = array()) + { + $params = array('customerKey' => $customerKey, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Directory_Customer"); + } +} + +/** + * The "domainAliases" collection of methods. + * Typical usage is: + * + * $adminService = new Google_Service_Directory(...); + * $domainAliases = $adminService->domainAliases; + * + */ +class Google_Service_Directory_DomainAliases_Resource extends Google_Service_Resource +{ + + /** + * Deletes a Domain Alias of the customer. (domainAliases.delete) + * + * @param string $customer Immutable id of the Google Apps account. + * @param string $domainAliasName Name of domain alias to be retrieved. + * @param array $optParams Optional parameters. + */ + public function delete($customer, $domainAliasName, $optParams = array()) + { + $params = array('customer' => $customer, 'domainAliasName' => $domainAliasName); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Retrieves a domain alias of the customer. (domainAliases.get) + * + * @param string $customer Immutable id of the Google Apps account. + * @param string $domainAliasName Name of domain alias to be retrieved. + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_DomainAlias + */ + public function get($customer, $domainAliasName, $optParams = array()) + { + $params = array('customer' => $customer, 'domainAliasName' => $domainAliasName); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Directory_DomainAlias"); + } + + /** + * Inserts a Domain alias of the customer. (domainAliases.insert) + * + * @param string $customer Immutable id of the Google Apps account. + * @param Google_DomainAlias $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_DomainAlias + */ + public function insert($customer, Google_Service_Directory_DomainAlias $postBody, $optParams = array()) + { + $params = array('customer' => $customer, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Directory_DomainAlias"); + } + + /** + * Lists the domain aliases of the customer. (domainAliases.listDomainAliases) + * + * @param string $customer Immutable id of the Google Apps account. + * @param array $optParams Optional parameters. + * + * @opt_param string parentDomainName Name of the parent domain for which domain + * aliases are to be fetched. + * @return Google_Service_Directory_DomainAliases + */ + public function listDomainAliases($customer, $optParams = array()) + { + $params = array('customer' => $customer); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Directory_DomainAliases"); + } +} + +/** + * The "domains" collection of methods. + * Typical usage is: + * + * $adminService = new Google_Service_Directory(...); + * $domains = $adminService->domains; + * + */ +class Google_Service_Directory_Domains_Resource extends Google_Service_Resource +{ + + /** + * Deletes a domain of the customer. (domains.delete) + * + * @param string $customer Immutable id of the Google Apps account. + * @param string $domainName Name of domain to be deleted + * @param array $optParams Optional parameters. + */ + public function delete($customer, $domainName, $optParams = array()) + { + $params = array('customer' => $customer, 'domainName' => $domainName); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Retrives a domain of the customer. (domains.get) + * + * @param string $customer Immutable id of the Google Apps account. + * @param string $domainName Name of domain to be retrieved + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Domains + */ + public function get($customer, $domainName, $optParams = array()) + { + $params = array('customer' => $customer, 'domainName' => $domainName); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Directory_Domains"); + } + + /** + * Inserts a domain of the customer. (domains.insert) + * + * @param string $customer Immutable id of the Google Apps account. + * @param Google_Domains $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Domains + */ + public function insert($customer, Google_Service_Directory_Domains $postBody, $optParams = array()) + { + $params = array('customer' => $customer, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Directory_Domains"); + } + + /** + * Lists the domains of the customer. (domains.listDomains) + * + * @param string $customer Immutable id of the Google Apps account. + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Domains2 + */ + public function listDomains($customer, $optParams = array()) + { + $params = array('customer' => $customer); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Directory_Domains2"); + } +} + +/** + * The "groups" collection of methods. + * Typical usage is: + * + * $adminService = new Google_Service_Directory(...); + * $groups = $adminService->groups; + * + */ +class Google_Service_Directory_Groups_Resource extends Google_Service_Resource +{ + + /** + * Delete Group (groups.delete) + * + * @param string $groupKey Email or immutable Id of the group + * @param array $optParams Optional parameters. + */ + public function delete($groupKey, $optParams = array()) + { + $params = array('groupKey' => $groupKey); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Retrieve Group (groups.get) + * + * @param string $groupKey Email or immutable Id of the group + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Group + */ + public function get($groupKey, $optParams = array()) + { + $params = array('groupKey' => $groupKey); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Directory_Group"); + } + + /** + * Create Group (groups.insert) + * + * @param Google_Group $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Group + */ + public function insert(Google_Service_Directory_Group $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Directory_Group"); + } + + /** + * Retrieve all groups in a domain (paginated) (groups.listGroups) + * + * @param array $optParams Optional parameters. + * + * @opt_param string customer Immutable id of the Google Apps account. In case + * of multi-domain, to fetch all groups for a customer, fill this field instead + * of domain. + * @opt_param string pageToken Token to specify next page in the list + * @opt_param string domain Name of the domain. Fill this field to get groups + * from only this domain. To return all groups in a multi-domain fill customer + * field instead. + * @opt_param int maxResults Maximum number of results to return. Default is 200 + * @opt_param string userKey Email or immutable Id of the user if only those + * groups are to be listed, the given user is a member of. If Id, it should + * match with id of user object + * @return Google_Service_Directory_Groups + */ + public function listGroups($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Directory_Groups"); + } + + /** + * Update Group. This method supports patch semantics. (groups.patch) + * + * @param string $groupKey Email or immutable Id of the group. If Id, it should + * match with id of group object + * @param Google_Group $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Group + */ + public function patch($groupKey, Google_Service_Directory_Group $postBody, $optParams = array()) + { + $params = array('groupKey' => $groupKey, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Directory_Group"); + } + + /** + * Update Group (groups.update) + * + * @param string $groupKey Email or immutable Id of the group. If Id, it should + * match with id of group object + * @param Google_Group $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Group + */ + public function update($groupKey, Google_Service_Directory_Group $postBody, $optParams = array()) + { + $params = array('groupKey' => $groupKey, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Directory_Group"); + } +} + +/** + * The "aliases" collection of methods. + * Typical usage is: + * + * $adminService = new Google_Service_Directory(...); + * $aliases = $adminService->aliases; + * + */ +class Google_Service_Directory_GroupsAliases_Resource extends Google_Service_Resource +{ + + /** + * Remove a alias for the group (aliases.delete) + * + * @param string $groupKey Email or immutable Id of the group + * @param string $alias The alias to be removed + * @param array $optParams Optional parameters. + */ + public function delete($groupKey, $alias, $optParams = array()) + { + $params = array('groupKey' => $groupKey, 'alias' => $alias); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Add a alias for the group (aliases.insert) + * + * @param string $groupKey Email or immutable Id of the group + * @param Google_Alias $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Alias + */ + public function insert($groupKey, Google_Service_Directory_Alias $postBody, $optParams = array()) + { + $params = array('groupKey' => $groupKey, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Directory_Alias"); + } + + /** + * List all aliases for a group (aliases.listGroupsAliases) + * + * @param string $groupKey Email or immutable Id of the group + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Aliases + */ + public function listGroupsAliases($groupKey, $optParams = array()) + { + $params = array('groupKey' => $groupKey); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Directory_Aliases"); + } +} + +/** + * The "members" collection of methods. + * Typical usage is: + * + * $adminService = new Google_Service_Directory(...); + * $members = $adminService->members; + * + */ +class Google_Service_Directory_Members_Resource extends Google_Service_Resource +{ + + /** + * Remove membership. (members.delete) + * + * @param string $groupKey Email or immutable Id of the group + * @param string $memberKey Email or immutable Id of the member + * @param array $optParams Optional parameters. + */ + public function delete($groupKey, $memberKey, $optParams = array()) + { + $params = array('groupKey' => $groupKey, 'memberKey' => $memberKey); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Retrieve Group Member (members.get) + * + * @param string $groupKey Email or immutable Id of the group + * @param string $memberKey Email or immutable Id of the member + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Member + */ + public function get($groupKey, $memberKey, $optParams = array()) + { + $params = array('groupKey' => $groupKey, 'memberKey' => $memberKey); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Directory_Member"); + } + + /** + * Add user to the specified group. (members.insert) + * + * @param string $groupKey Email or immutable Id of the group + * @param Google_Member $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Member + */ + public function insert($groupKey, Google_Service_Directory_Member $postBody, $optParams = array()) + { + $params = array('groupKey' => $groupKey, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Directory_Member"); + } + + /** + * Retrieve all members in a group (paginated) (members.listMembers) + * + * @param string $groupKey Email or immutable Id of the group + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Token to specify next page in the list + * @opt_param string roles Comma separated role values to filter list results + * on. + * @opt_param int maxResults Maximum number of results to return. Default is 200 + * @return Google_Service_Directory_Members + */ + public function listMembers($groupKey, $optParams = array()) + { + $params = array('groupKey' => $groupKey); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Directory_Members"); + } + + /** + * Update membership of a user in the specified group. This method supports + * patch semantics. (members.patch) + * + * @param string $groupKey Email or immutable Id of the group. If Id, it should + * match with id of group object + * @param string $memberKey Email or immutable Id of the user. If Id, it should + * match with id of member object + * @param Google_Member $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Member + */ + public function patch($groupKey, $memberKey, Google_Service_Directory_Member $postBody, $optParams = array()) + { + $params = array('groupKey' => $groupKey, 'memberKey' => $memberKey, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Directory_Member"); + } + + /** + * Update membership of a user in the specified group. (members.update) + * + * @param string $groupKey Email or immutable Id of the group. If Id, it should + * match with id of group object + * @param string $memberKey Email or immutable Id of the user. If Id, it should + * match with id of member object + * @param Google_Member $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Member + */ + public function update($groupKey, $memberKey, Google_Service_Directory_Member $postBody, $optParams = array()) + { + $params = array('groupKey' => $groupKey, 'memberKey' => $memberKey, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Directory_Member"); + } +} + +/** + * The "mobiledevices" collection of methods. + * Typical usage is: + * + * $adminService = new Google_Service_Directory(...); + * $mobiledevices = $adminService->mobiledevices; + * + */ +class Google_Service_Directory_Mobiledevices_Resource extends Google_Service_Resource +{ + + /** + * Take action on Mobile Device (mobiledevices.action) + * + * @param string $customerId Immutable id of the Google Apps account + * @param string $resourceId Immutable id of Mobile Device + * @param Google_MobileDeviceAction $postBody + * @param array $optParams Optional parameters. + */ + public function action($customerId, $resourceId, Google_Service_Directory_MobileDeviceAction $postBody, $optParams = array()) + { + $params = array('customerId' => $customerId, 'resourceId' => $resourceId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('action', array($params)); + } + + /** + * Delete Mobile Device (mobiledevices.delete) + * + * @param string $customerId Immutable id of the Google Apps account + * @param string $resourceId Immutable id of Mobile Device + * @param array $optParams Optional parameters. + */ + public function delete($customerId, $resourceId, $optParams = array()) + { + $params = array('customerId' => $customerId, 'resourceId' => $resourceId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Retrieve Mobile Device (mobiledevices.get) + * + * @param string $customerId Immutable id of the Google Apps account + * @param string $resourceId Immutable id of Mobile Device + * @param array $optParams Optional parameters. + * + * @opt_param string projection Restrict information returned to a set of + * selected fields. + * @return Google_Service_Directory_MobileDevice + */ + public function get($customerId, $resourceId, $optParams = array()) + { + $params = array('customerId' => $customerId, 'resourceId' => $resourceId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Directory_MobileDevice"); + } + + /** + * Retrieve all Mobile Devices of a customer (paginated) + * (mobiledevices.listMobiledevices) + * + * @param string $customerId Immutable id of the Google Apps account + * @param array $optParams Optional parameters. + * + * @opt_param string orderBy Column to use for sorting results + * @opt_param string projection Restrict information returned to a set of + * selected fields. + * @opt_param int maxResults Maximum number of results to return. Default is 100 + * @opt_param string pageToken Token to specify next page in the list + * @opt_param string sortOrder Whether to return results in ascending or + * descending order. Only of use when orderBy is also used + * @opt_param string query Search string in the format given at + * http://support.google.com/a/bin/answer.py?hl=en=1408863#search + * @return Google_Service_Directory_MobileDevices + */ + public function listMobiledevices($customerId, $optParams = array()) + { + $params = array('customerId' => $customerId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Directory_MobileDevices"); + } +} + +/** + * The "notifications" collection of methods. + * Typical usage is: + * + * $adminService = new Google_Service_Directory(...); + * $notifications = $adminService->notifications; + * + */ +class Google_Service_Directory_Notifications_Resource extends Google_Service_Resource +{ + + /** + * Deletes a notification (notifications.delete) + * + * @param string $customer The unique ID for the customer's Google account. The + * customerId is also returned as part of the Users resource. + * @param string $notificationId The unique ID of the notification. + * @param array $optParams Optional parameters. + */ + public function delete($customer, $notificationId, $optParams = array()) + { + $params = array('customer' => $customer, 'notificationId' => $notificationId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Retrieves a notification. (notifications.get) + * + * @param string $customer The unique ID for the customer's Google account. The + * customerId is also returned as part of the Users resource. + * @param string $notificationId The unique ID of the notification. + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Notification + */ + public function get($customer, $notificationId, $optParams = array()) + { + $params = array('customer' => $customer, 'notificationId' => $notificationId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Directory_Notification"); + } + + /** + * Retrieves a list of notifications. (notifications.listNotifications) + * + * @param string $customer The unique ID for the customer's Google account. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The token to specify the page of results to + * retrieve. + * @opt_param string maxResults Maximum number of notifications to return per + * page. The default is 100. + * @opt_param string language The ISO 639-1 code of the language notifications + * are returned in. The default is English (en). + * @return Google_Service_Directory_Notifications + */ + public function listNotifications($customer, $optParams = array()) + { + $params = array('customer' => $customer); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Directory_Notifications"); + } + + /** + * Updates a notification. This method supports patch semantics. + * (notifications.patch) + * + * @param string $customer The unique ID for the customer's Google account. + * @param string $notificationId The unique ID of the notification. + * @param Google_Notification $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Notification + */ + public function patch($customer, $notificationId, Google_Service_Directory_Notification $postBody, $optParams = array()) + { + $params = array('customer' => $customer, 'notificationId' => $notificationId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Directory_Notification"); + } + + /** + * Updates a notification. (notifications.update) + * + * @param string $customer The unique ID for the customer's Google account. + * @param string $notificationId The unique ID of the notification. + * @param Google_Notification $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Notification + */ + public function update($customer, $notificationId, Google_Service_Directory_Notification $postBody, $optParams = array()) + { + $params = array('customer' => $customer, 'notificationId' => $notificationId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Directory_Notification"); + } +} + +/** + * The "orgunits" collection of methods. + * Typical usage is: + * + * $adminService = new Google_Service_Directory(...); + * $orgunits = $adminService->orgunits; + * + */ +class Google_Service_Directory_Orgunits_Resource extends Google_Service_Resource +{ + + /** + * Remove Organization Unit (orgunits.delete) + * + * @param string $customerId Immutable id of the Google Apps account + * @param string $orgUnitPath Full path of the organization unit or its Id + * @param array $optParams Optional parameters. + */ + public function delete($customerId, $orgUnitPath, $optParams = array()) + { + $params = array('customerId' => $customerId, 'orgUnitPath' => $orgUnitPath); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Retrieve Organization Unit (orgunits.get) + * + * @param string $customerId Immutable id of the Google Apps account + * @param string $orgUnitPath Full path of the organization unit or its Id + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_OrgUnit + */ + public function get($customerId, $orgUnitPath, $optParams = array()) + { + $params = array('customerId' => $customerId, 'orgUnitPath' => $orgUnitPath); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Directory_OrgUnit"); + } + + /** + * Add Organization Unit (orgunits.insert) + * + * @param string $customerId Immutable id of the Google Apps account + * @param Google_OrgUnit $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_OrgUnit + */ + public function insert($customerId, Google_Service_Directory_OrgUnit $postBody, $optParams = array()) + { + $params = array('customerId' => $customerId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Directory_OrgUnit"); + } + + /** + * Retrieve all Organization Units (orgunits.listOrgunits) + * + * @param string $customerId Immutable id of the Google Apps account + * @param array $optParams Optional parameters. + * + * @opt_param string type Whether to return all sub-organizations or just + * immediate children + * @opt_param string orgUnitPath the URL-encoded organization unit's path or its + * Id + * @return Google_Service_Directory_OrgUnits + */ + public function listOrgunits($customerId, $optParams = array()) + { + $params = array('customerId' => $customerId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Directory_OrgUnits"); + } + + /** + * Update Organization Unit. This method supports patch semantics. + * (orgunits.patch) + * + * @param string $customerId Immutable id of the Google Apps account + * @param string $orgUnitPath Full path of the organization unit or its Id + * @param Google_OrgUnit $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_OrgUnit + */ + public function patch($customerId, $orgUnitPath, Google_Service_Directory_OrgUnit $postBody, $optParams = array()) + { + $params = array('customerId' => $customerId, 'orgUnitPath' => $orgUnitPath, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Directory_OrgUnit"); + } + + /** + * Update Organization Unit (orgunits.update) + * + * @param string $customerId Immutable id of the Google Apps account + * @param string $orgUnitPath Full path of the organization unit or its Id + * @param Google_OrgUnit $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_OrgUnit + */ + public function update($customerId, $orgUnitPath, Google_Service_Directory_OrgUnit $postBody, $optParams = array()) + { + $params = array('customerId' => $customerId, 'orgUnitPath' => $orgUnitPath, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Directory_OrgUnit"); + } +} + +/** + * The "schemas" collection of methods. + * Typical usage is: + * + * $adminService = new Google_Service_Directory(...); + * $schemas = $adminService->schemas; + * + */ +class Google_Service_Directory_Schemas_Resource extends Google_Service_Resource +{ + + /** + * Delete schema (schemas.delete) + * + * @param string $customerId Immutable id of the Google Apps account + * @param string $schemaKey Name or immutable Id of the schema + * @param array $optParams Optional parameters. + */ + public function delete($customerId, $schemaKey, $optParams = array()) + { + $params = array('customerId' => $customerId, 'schemaKey' => $schemaKey); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Retrieve schema (schemas.get) + * + * @param string $customerId Immutable id of the Google Apps account + * @param string $schemaKey Name or immutable Id of the schema + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Schema + */ + public function get($customerId, $schemaKey, $optParams = array()) + { + $params = array('customerId' => $customerId, 'schemaKey' => $schemaKey); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Directory_Schema"); + } + + /** + * Create schema. (schemas.insert) + * + * @param string $customerId Immutable id of the Google Apps account + * @param Google_Schema $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Schema + */ + public function insert($customerId, Google_Service_Directory_Schema $postBody, $optParams = array()) + { + $params = array('customerId' => $customerId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Directory_Schema"); + } + + /** + * Retrieve all schemas for a customer (schemas.listSchemas) + * + * @param string $customerId Immutable id of the Google Apps account + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Schemas + */ + public function listSchemas($customerId, $optParams = array()) + { + $params = array('customerId' => $customerId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Directory_Schemas"); + } + + /** + * Update schema. This method supports patch semantics. (schemas.patch) + * + * @param string $customerId Immutable id of the Google Apps account + * @param string $schemaKey Name or immutable Id of the schema. + * @param Google_Schema $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Schema + */ + public function patch($customerId, $schemaKey, Google_Service_Directory_Schema $postBody, $optParams = array()) + { + $params = array('customerId' => $customerId, 'schemaKey' => $schemaKey, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Directory_Schema"); + } + + /** + * Update schema (schemas.update) + * + * @param string $customerId Immutable id of the Google Apps account + * @param string $schemaKey Name or immutable Id of the schema. + * @param Google_Schema $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Schema + */ + public function update($customerId, $schemaKey, Google_Service_Directory_Schema $postBody, $optParams = array()) + { + $params = array('customerId' => $customerId, 'schemaKey' => $schemaKey, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Directory_Schema"); + } +} + +/** + * The "tokens" collection of methods. + * Typical usage is: + * + * $adminService = new Google_Service_Directory(...); + * $tokens = $adminService->tokens; + * + */ +class Google_Service_Directory_Tokens_Resource extends Google_Service_Resource +{ + + /** + * Delete all access tokens issued by a user for an application. (tokens.delete) + * + * @param string $userKey Identifies the user in the API request. The value can + * be the user's primary email address, alias email address, or unique user ID. + * @param string $clientId The Client ID of the application the token is issued + * to. + * @param array $optParams Optional parameters. + */ + public function delete($userKey, $clientId, $optParams = array()) + { + $params = array('userKey' => $userKey, 'clientId' => $clientId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Get information about an access token issued by a user. (tokens.get) + * + * @param string $userKey Identifies the user in the API request. The value can + * be the user's primary email address, alias email address, or unique user ID. + * @param string $clientId The Client ID of the application the token is issued + * to. + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Token + */ + public function get($userKey, $clientId, $optParams = array()) + { + $params = array('userKey' => $userKey, 'clientId' => $clientId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Directory_Token"); + } + + /** + * Returns the set of tokens specified user has issued to 3rd party + * applications. (tokens.listTokens) + * + * @param string $userKey Identifies the user in the API request. The value can + * be the user's primary email address, alias email address, or unique user ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Tokens + */ + public function listTokens($userKey, $optParams = array()) + { + $params = array('userKey' => $userKey); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Directory_Tokens"); + } +} + +/** + * The "users" collection of methods. + * Typical usage is: + * + * $adminService = new Google_Service_Directory(...); + * $users = $adminService->users; + * + */ +class Google_Service_Directory_Users_Resource extends Google_Service_Resource +{ + + /** + * Delete user (users.delete) + * + * @param string $userKey Email or immutable Id of the user + * @param array $optParams Optional parameters. + */ + public function delete($userKey, $optParams = array()) + { + $params = array('userKey' => $userKey); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * retrieve user (users.get) + * + * @param string $userKey Email or immutable Id of the user + * @param array $optParams Optional parameters. + * + * @opt_param string viewType Whether to fetch the ADMIN_VIEW or DOMAIN_PUBLIC + * view of the user. + * @opt_param string customFieldMask Comma-separated list of schema names. All + * fields from these schemas are fetched. This should only be set when + * projection=custom. + * @opt_param string projection What subset of fields to fetch for this user. + * @return Google_Service_Directory_User + */ + public function get($userKey, $optParams = array()) + { + $params = array('userKey' => $userKey); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Directory_User"); + } + + /** + * create user. (users.insert) + * + * @param Google_User $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_User + */ + public function insert(Google_Service_Directory_User $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Directory_User"); + } + + /** + * Retrieve either deleted users or all users in a domain (paginated) + * (users.listUsers) + * + * @param array $optParams Optional parameters. + * + * @opt_param string customer Immutable id of the Google Apps account. In case + * of multi-domain, to fetch all users for a customer, fill this field instead + * of domain. + * @opt_param string orderBy Column to use for sorting results + * @opt_param string domain Name of the domain. Fill this field to get users + * from only this domain. To return all users in a multi-domain fill customer + * field instead. + * @opt_param string projection What subset of fields to fetch for this user. + * @opt_param string showDeleted If set to true retrieves the list of deleted + * users. Default is false + * @opt_param string customFieldMask Comma-separated list of schema names. All + * fields from these schemas are fetched. This should only be set when + * projection=custom. + * @opt_param int maxResults Maximum number of results to return. Default is + * 100. Max allowed is 500 + * @opt_param string pageToken Token to specify next page in the list + * @opt_param string sortOrder Whether to return results in ascending or + * descending order. + * @opt_param string query Query string search. Should be of the form "". + * Complete documentation is at https://developers.google.com/admin- + * sdk/directory/v1/guides/search-users + * @opt_param string viewType Whether to fetch the ADMIN_VIEW or DOMAIN_PUBLIC + * view of the user. + * @opt_param string event Event on which subscription is intended (if + * subscribing) + * @return Google_Service_Directory_Users + */ + public function listUsers($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Directory_Users"); + } + + /** + * change admin status of a user (users.makeAdmin) + * + * @param string $userKey Email or immutable Id of the user as admin + * @param Google_UserMakeAdmin $postBody + * @param array $optParams Optional parameters. + */ + public function makeAdmin($userKey, Google_Service_Directory_UserMakeAdmin $postBody, $optParams = array()) + { + $params = array('userKey' => $userKey, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('makeAdmin', array($params)); + } + + /** + * update user. This method supports patch semantics. (users.patch) + * + * @param string $userKey Email or immutable Id of the user. If Id, it should + * match with id of user object + * @param Google_User $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_User + */ + public function patch($userKey, Google_Service_Directory_User $postBody, $optParams = array()) + { + $params = array('userKey' => $userKey, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Directory_User"); + } + + /** + * Undelete a deleted user (users.undelete) + * + * @param string $userKey The immutable id of the user + * @param Google_UserUndelete $postBody + * @param array $optParams Optional parameters. + */ + public function undelete($userKey, Google_Service_Directory_UserUndelete $postBody, $optParams = array()) + { + $params = array('userKey' => $userKey, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('undelete', array($params)); + } + + /** + * update user (users.update) + * + * @param string $userKey Email or immutable Id of the user. If Id, it should + * match with id of user object + * @param Google_User $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_User + */ + public function update($userKey, Google_Service_Directory_User $postBody, $optParams = array()) + { + $params = array('userKey' => $userKey, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Directory_User"); + } + + /** + * Watch for changes in users list (users.watch) + * + * @param Google_Channel $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string customer Immutable id of the Google Apps account. In case + * of multi-domain, to fetch all users for a customer, fill this field instead + * of domain. + * @opt_param string orderBy Column to use for sorting results + * @opt_param string domain Name of the domain. Fill this field to get users + * from only this domain. To return all users in a multi-domain fill customer + * field instead. + * @opt_param string projection What subset of fields to fetch for this user. + * @opt_param string showDeleted If set to true retrieves the list of deleted + * users. Default is false + * @opt_param string customFieldMask Comma-separated list of schema names. All + * fields from these schemas are fetched. This should only be set when + * projection=custom. + * @opt_param int maxResults Maximum number of results to return. Default is + * 100. Max allowed is 500 + * @opt_param string pageToken Token to specify next page in the list + * @opt_param string sortOrder Whether to return results in ascending or + * descending order. + * @opt_param string query Query string search. Should be of the form "". + * Complete documentation is at https://developers.google.com/admin- + * sdk/directory/v1/guides/search-users + * @opt_param string viewType Whether to fetch the ADMIN_VIEW or DOMAIN_PUBLIC + * view of the user. + * @opt_param string event Event on which subscription is intended (if + * subscribing) + * @return Google_Service_Directory_Channel + */ + public function watch(Google_Service_Directory_Channel $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('watch', array($params), "Google_Service_Directory_Channel"); + } +} + +/** + * The "aliases" collection of methods. + * Typical usage is: + * + * $adminService = new Google_Service_Directory(...); + * $aliases = $adminService->aliases; + * + */ +class Google_Service_Directory_UsersAliases_Resource extends Google_Service_Resource +{ + + /** + * Remove a alias for the user (aliases.delete) + * + * @param string $userKey Email or immutable Id of the user + * @param string $alias The alias to be removed + * @param array $optParams Optional parameters. + */ + public function delete($userKey, $alias, $optParams = array()) + { + $params = array('userKey' => $userKey, 'alias' => $alias); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Add a alias for the user (aliases.insert) + * + * @param string $userKey Email or immutable Id of the user + * @param Google_Alias $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_Alias + */ + public function insert($userKey, Google_Service_Directory_Alias $postBody, $optParams = array()) + { + $params = array('userKey' => $userKey, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Directory_Alias"); + } + + /** + * List all aliases for a user (aliases.listUsersAliases) + * + * @param string $userKey Email or immutable Id of the user + * @param array $optParams Optional parameters. + * + * @opt_param string event Event on which subscription is intended (if + * subscribing) + * @return Google_Service_Directory_Aliases + */ + public function listUsersAliases($userKey, $optParams = array()) + { + $params = array('userKey' => $userKey); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Directory_Aliases"); + } + + /** + * Watch for changes in user aliases list (aliases.watch) + * + * @param string $userKey Email or immutable Id of the user + * @param Google_Channel $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string event Event on which subscription is intended (if + * subscribing) + * @return Google_Service_Directory_Channel + */ + public function watch($userKey, Google_Service_Directory_Channel $postBody, $optParams = array()) + { + $params = array('userKey' => $userKey, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('watch', array($params), "Google_Service_Directory_Channel"); + } +} +/** + * The "photos" collection of methods. + * Typical usage is: + * + * $adminService = new Google_Service_Directory(...); + * $photos = $adminService->photos; + * + */ +class Google_Service_Directory_UsersPhotos_Resource extends Google_Service_Resource +{ + + /** + * Remove photos for the user (photos.delete) + * + * @param string $userKey Email or immutable Id of the user + * @param array $optParams Optional parameters. + */ + public function delete($userKey, $optParams = array()) + { + $params = array('userKey' => $userKey); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Retrieve photo of a user (photos.get) + * + * @param string $userKey Email or immutable Id of the user + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_UserPhoto + */ + public function get($userKey, $optParams = array()) + { + $params = array('userKey' => $userKey); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Directory_UserPhoto"); + } + + /** + * Add a photo for the user. This method supports patch semantics. + * (photos.patch) + * + * @param string $userKey Email or immutable Id of the user + * @param Google_UserPhoto $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_UserPhoto + */ + public function patch($userKey, Google_Service_Directory_UserPhoto $postBody, $optParams = array()) + { + $params = array('userKey' => $userKey, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Directory_UserPhoto"); + } + + /** + * Add a photo for the user (photos.update) + * + * @param string $userKey Email or immutable Id of the user + * @param Google_UserPhoto $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_UserPhoto + */ + public function update($userKey, Google_Service_Directory_UserPhoto $postBody, $optParams = array()) + { + $params = array('userKey' => $userKey, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Directory_UserPhoto"); + } +} + +/** + * The "verificationCodes" collection of methods. + * Typical usage is: + * + * $adminService = new Google_Service_Directory(...); + * $verificationCodes = $adminService->verificationCodes; + * + */ +class Google_Service_Directory_VerificationCodes_Resource extends Google_Service_Resource +{ + + /** + * Generate new backup verification codes for the user. + * (verificationCodes.generate) + * + * @param string $userKey Email or immutable Id of the user + * @param array $optParams Optional parameters. + */ + public function generate($userKey, $optParams = array()) + { + $params = array('userKey' => $userKey); + $params = array_merge($params, $optParams); + return $this->call('generate', array($params)); + } + + /** + * Invalidate the current backup verification codes for the user. + * (verificationCodes.invalidate) + * + * @param string $userKey Email or immutable Id of the user + * @param array $optParams Optional parameters. + */ + public function invalidate($userKey, $optParams = array()) + { + $params = array('userKey' => $userKey); + $params = array_merge($params, $optParams); + return $this->call('invalidate', array($params)); + } + + /** + * Returns the current set of valid backup verification codes for the specified + * user. (verificationCodes.listVerificationCodes) + * + * @param string $userKey Identifies the user in the API request. The value can + * be the user's primary email address, alias email address, or unique user ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Directory_VerificationCodes + */ + public function listVerificationCodes($userKey, $optParams = array()) + { + $params = array('userKey' => $userKey); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Directory_VerificationCodes"); + } +} + + + + +class Google_Service_Directory_Alias extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $alias; + public $etag; + public $id; + public $kind; + public $primaryEmail; + + + public function setAlias($alias) + { + $this->alias = $alias; + } + public function getAlias() + { + return $this->alias; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPrimaryEmail($primaryEmail) + { + $this->primaryEmail = $primaryEmail; + } + public function getPrimaryEmail() + { + return $this->primaryEmail; + } +} + +class Google_Service_Directory_Aliases extends Google_Collection +{ + protected $collection_key = 'aliases'; + protected $internal_gapi_mappings = array( + ); + protected $aliasesType = 'Google_Service_Directory_Alias'; + protected $aliasesDataType = 'array'; + public $etag; + public $kind; + + + public function setAliases($aliases) + { + $this->aliases = $aliases; + } + public function getAliases() + { + return $this->aliases; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Directory_Asp extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $codeId; + public $creationTime; + public $etag; + public $kind; + public $lastTimeUsed; + public $name; + public $userKey; + + + public function setCodeId($codeId) + { + $this->codeId = $codeId; + } + public function getCodeId() + { + return $this->codeId; + } + public function setCreationTime($creationTime) + { + $this->creationTime = $creationTime; + } + public function getCreationTime() + { + return $this->creationTime; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastTimeUsed($lastTimeUsed) + { + $this->lastTimeUsed = $lastTimeUsed; + } + public function getLastTimeUsed() + { + return $this->lastTimeUsed; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setUserKey($userKey) + { + $this->userKey = $userKey; + } + public function getUserKey() + { + return $this->userKey; + } +} + +class Google_Service_Directory_Asps extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_Directory_Asp'; + protected $itemsDataType = 'array'; + public $kind; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Directory_Channel extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $address; + public $expiration; + public $id; + public $kind; + public $params; + public $payload; + public $resourceId; + public $resourceUri; + public $token; + public $type; + + + public function setAddress($address) + { + $this->address = $address; + } + public function getAddress() + { + return $this->address; + } + public function setExpiration($expiration) + { + $this->expiration = $expiration; + } + public function getExpiration() + { + return $this->expiration; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setParams($params) + { + $this->params = $params; + } + public function getParams() + { + return $this->params; + } + public function setPayload($payload) + { + $this->payload = $payload; + } + public function getPayload() + { + return $this->payload; + } + public function setResourceId($resourceId) + { + $this->resourceId = $resourceId; + } + public function getResourceId() + { + return $this->resourceId; + } + public function setResourceUri($resourceUri) + { + $this->resourceUri = $resourceUri; + } + public function getResourceUri() + { + return $this->resourceUri; + } + public function setToken($token) + { + $this->token = $token; + } + public function getToken() + { + return $this->token; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Directory_ChannelParams extends Google_Model +{ +} + +class Google_Service_Directory_ChromeOsDevice extends Google_Collection +{ + protected $collection_key = 'recentUsers'; + protected $internal_gapi_mappings = array( + ); + protected $activeTimeRangesType = 'Google_Service_Directory_ChromeOsDeviceActiveTimeRanges'; + protected $activeTimeRangesDataType = 'array'; + public $annotatedAssetId; + public $annotatedLocation; + public $annotatedUser; + public $bootMode; + public $deviceId; + public $etag; + public $ethernetMacAddress; + public $firmwareVersion; + public $kind; + public $lastEnrollmentTime; + public $lastSync; + public $macAddress; + public $meid; + public $model; + public $notes; + public $orderNumber; + public $orgUnitPath; + public $osVersion; + public $platformVersion; + protected $recentUsersType = 'Google_Service_Directory_ChromeOsDeviceRecentUsers'; + protected $recentUsersDataType = 'array'; + public $serialNumber; + public $status; + public $supportEndDate; + public $willAutoRenew; + + + public function setActiveTimeRanges($activeTimeRanges) + { + $this->activeTimeRanges = $activeTimeRanges; + } + public function getActiveTimeRanges() + { + return $this->activeTimeRanges; + } + public function setAnnotatedAssetId($annotatedAssetId) + { + $this->annotatedAssetId = $annotatedAssetId; + } + public function getAnnotatedAssetId() + { + return $this->annotatedAssetId; + } + public function setAnnotatedLocation($annotatedLocation) + { + $this->annotatedLocation = $annotatedLocation; + } + public function getAnnotatedLocation() + { + return $this->annotatedLocation; + } + public function setAnnotatedUser($annotatedUser) + { + $this->annotatedUser = $annotatedUser; + } + public function getAnnotatedUser() + { + return $this->annotatedUser; + } + public function setBootMode($bootMode) + { + $this->bootMode = $bootMode; + } + public function getBootMode() + { + return $this->bootMode; + } + public function setDeviceId($deviceId) + { + $this->deviceId = $deviceId; + } + public function getDeviceId() + { + return $this->deviceId; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEthernetMacAddress($ethernetMacAddress) + { + $this->ethernetMacAddress = $ethernetMacAddress; + } + public function getEthernetMacAddress() + { + return $this->ethernetMacAddress; + } + public function setFirmwareVersion($firmwareVersion) + { + $this->firmwareVersion = $firmwareVersion; + } + public function getFirmwareVersion() + { + return $this->firmwareVersion; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastEnrollmentTime($lastEnrollmentTime) + { + $this->lastEnrollmentTime = $lastEnrollmentTime; + } + public function getLastEnrollmentTime() + { + return $this->lastEnrollmentTime; + } + public function setLastSync($lastSync) + { + $this->lastSync = $lastSync; + } + public function getLastSync() + { + return $this->lastSync; + } + public function setMacAddress($macAddress) + { + $this->macAddress = $macAddress; + } + public function getMacAddress() + { + return $this->macAddress; + } + public function setMeid($meid) + { + $this->meid = $meid; + } + public function getMeid() + { + return $this->meid; + } + public function setModel($model) + { + $this->model = $model; + } + public function getModel() + { + return $this->model; + } + public function setNotes($notes) + { + $this->notes = $notes; + } + public function getNotes() + { + return $this->notes; + } + public function setOrderNumber($orderNumber) + { + $this->orderNumber = $orderNumber; + } + public function getOrderNumber() + { + return $this->orderNumber; + } + public function setOrgUnitPath($orgUnitPath) + { + $this->orgUnitPath = $orgUnitPath; + } + public function getOrgUnitPath() + { + return $this->orgUnitPath; + } + public function setOsVersion($osVersion) + { + $this->osVersion = $osVersion; + } + public function getOsVersion() + { + return $this->osVersion; + } + public function setPlatformVersion($platformVersion) + { + $this->platformVersion = $platformVersion; + } + public function getPlatformVersion() + { + return $this->platformVersion; + } + public function setRecentUsers($recentUsers) + { + $this->recentUsers = $recentUsers; + } + public function getRecentUsers() + { + return $this->recentUsers; + } + public function setSerialNumber($serialNumber) + { + $this->serialNumber = $serialNumber; + } + public function getSerialNumber() + { + return $this->serialNumber; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setSupportEndDate($supportEndDate) + { + $this->supportEndDate = $supportEndDate; + } + public function getSupportEndDate() + { + return $this->supportEndDate; + } + public function setWillAutoRenew($willAutoRenew) + { + $this->willAutoRenew = $willAutoRenew; + } + public function getWillAutoRenew() + { + return $this->willAutoRenew; + } +} + +class Google_Service_Directory_ChromeOsDeviceActiveTimeRanges extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $activeTime; + public $date; + + + public function setActiveTime($activeTime) + { + $this->activeTime = $activeTime; + } + public function getActiveTime() + { + return $this->activeTime; + } + public function setDate($date) + { + $this->date = $date; + } + public function getDate() + { + return $this->date; + } +} + +class Google_Service_Directory_ChromeOsDeviceRecentUsers extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $email; + public $type; + + + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Directory_ChromeOsDevices extends Google_Collection +{ + protected $collection_key = 'chromeosdevices'; + protected $internal_gapi_mappings = array( + ); + protected $chromeosdevicesType = 'Google_Service_Directory_ChromeOsDevice'; + protected $chromeosdevicesDataType = 'array'; + public $etag; + public $kind; + public $nextPageToken; + + + public function setChromeosdevices($chromeosdevices) + { + $this->chromeosdevices = $chromeosdevices; + } + public function getChromeosdevices() + { + return $this->chromeosdevices; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Directory_Customer extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $alternateEmail; + public $customerCreationTime; + public $customerDomain; + public $etag; + public $id; + public $kind; + public $language; + public $phoneNumber; + protected $postalAddressType = 'Google_Service_Directory_CustomerPostalAddress'; + protected $postalAddressDataType = ''; + + + public function setAlternateEmail($alternateEmail) + { + $this->alternateEmail = $alternateEmail; + } + public function getAlternateEmail() + { + return $this->alternateEmail; + } + public function setCustomerCreationTime($customerCreationTime) + { + $this->customerCreationTime = $customerCreationTime; + } + public function getCustomerCreationTime() + { + return $this->customerCreationTime; + } + public function setCustomerDomain($customerDomain) + { + $this->customerDomain = $customerDomain; + } + public function getCustomerDomain() + { + return $this->customerDomain; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLanguage($language) + { + $this->language = $language; + } + public function getLanguage() + { + return $this->language; + } + public function setPhoneNumber($phoneNumber) + { + $this->phoneNumber = $phoneNumber; + } + public function getPhoneNumber() + { + return $this->phoneNumber; + } + public function setPostalAddress(Google_Service_Directory_CustomerPostalAddress $postalAddress) + { + $this->postalAddress = $postalAddress; + } + public function getPostalAddress() + { + return $this->postalAddress; + } +} + +class Google_Service_Directory_CustomerPostalAddress extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $addressLine1; + public $addressLine2; + public $addressLine3; + public $contactName; + public $countryCode; + public $locality; + public $organizationName; + public $postalCode; + public $region; + + + public function setAddressLine1($addressLine1) + { + $this->addressLine1 = $addressLine1; + } + public function getAddressLine1() + { + return $this->addressLine1; + } + public function setAddressLine2($addressLine2) + { + $this->addressLine2 = $addressLine2; + } + public function getAddressLine2() + { + return $this->addressLine2; + } + public function setAddressLine3($addressLine3) + { + $this->addressLine3 = $addressLine3; + } + public function getAddressLine3() + { + return $this->addressLine3; + } + public function setContactName($contactName) + { + $this->contactName = $contactName; + } + public function getContactName() + { + return $this->contactName; + } + public function setCountryCode($countryCode) + { + $this->countryCode = $countryCode; + } + public function getCountryCode() + { + return $this->countryCode; + } + public function setLocality($locality) + { + $this->locality = $locality; + } + public function getLocality() + { + return $this->locality; + } + public function setOrganizationName($organizationName) + { + $this->organizationName = $organizationName; + } + public function getOrganizationName() + { + return $this->organizationName; + } + public function setPostalCode($postalCode) + { + $this->postalCode = $postalCode; + } + public function getPostalCode() + { + return $this->postalCode; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } +} + +class Google_Service_Directory_DomainAlias extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $creationTime; + public $domainAliasName; + public $etag; + public $kind; + public $parentDomainName; + public $verified; + + + public function setCreationTime($creationTime) + { + $this->creationTime = $creationTime; + } + public function getCreationTime() + { + return $this->creationTime; + } + public function setDomainAliasName($domainAliasName) + { + $this->domainAliasName = $domainAliasName; + } + public function getDomainAliasName() + { + return $this->domainAliasName; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setParentDomainName($parentDomainName) + { + $this->parentDomainName = $parentDomainName; + } + public function getParentDomainName() + { + return $this->parentDomainName; + } + public function setVerified($verified) + { + $this->verified = $verified; + } + public function getVerified() + { + return $this->verified; + } +} + +class Google_Service_Directory_DomainAliases extends Google_Collection +{ + protected $collection_key = 'domainAliases'; + protected $internal_gapi_mappings = array( + ); + protected $domainAliasesType = 'Google_Service_Directory_DomainAlias'; + protected $domainAliasesDataType = 'array'; + public $etag; + public $kind; + + + public function setDomainAliases($domainAliases) + { + $this->domainAliases = $domainAliases; + } + public function getDomainAliases() + { + return $this->domainAliases; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Directory_Domains extends Google_Collection +{ + protected $collection_key = 'domainAliases'; + protected $internal_gapi_mappings = array( + ); + public $creationTime; + protected $domainAliasesType = 'Google_Service_Directory_DomainAlias'; + protected $domainAliasesDataType = 'array'; + public $domainName; + public $etag; + public $isPrimary; + public $kind; + public $verified; + + + public function setCreationTime($creationTime) + { + $this->creationTime = $creationTime; + } + public function getCreationTime() + { + return $this->creationTime; + } + public function setDomainAliases($domainAliases) + { + $this->domainAliases = $domainAliases; + } + public function getDomainAliases() + { + return $this->domainAliases; + } + public function setDomainName($domainName) + { + $this->domainName = $domainName; + } + public function getDomainName() + { + return $this->domainName; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setIsPrimary($isPrimary) + { + $this->isPrimary = $isPrimary; + } + public function getIsPrimary() + { + return $this->isPrimary; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setVerified($verified) + { + $this->verified = $verified; + } + public function getVerified() + { + return $this->verified; + } +} + +class Google_Service_Directory_Domains2 extends Google_Collection +{ + protected $collection_key = 'domains'; + protected $internal_gapi_mappings = array( + ); + protected $domainsType = 'Google_Service_Directory_Domains'; + protected $domainsDataType = 'array'; + public $etag; + public $kind; + + + public function setDomains($domains) + { + $this->domains = $domains; + } + public function getDomains() + { + return $this->domains; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Directory_Group extends Google_Collection +{ + protected $collection_key = 'nonEditableAliases'; + protected $internal_gapi_mappings = array( + ); + public $adminCreated; + public $aliases; + public $description; + public $directMembersCount; + public $email; + public $etag; + public $id; + public $kind; + public $name; + public $nonEditableAliases; + + + public function setAdminCreated($adminCreated) + { + $this->adminCreated = $adminCreated; + } + public function getAdminCreated() + { + return $this->adminCreated; + } + public function setAliases($aliases) + { + $this->aliases = $aliases; + } + public function getAliases() + { + return $this->aliases; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDirectMembersCount($directMembersCount) + { + $this->directMembersCount = $directMembersCount; + } + public function getDirectMembersCount() + { + return $this->directMembersCount; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNonEditableAliases($nonEditableAliases) + { + $this->nonEditableAliases = $nonEditableAliases; + } + public function getNonEditableAliases() + { + return $this->nonEditableAliases; + } +} + +class Google_Service_Directory_Groups extends Google_Collection +{ + protected $collection_key = 'groups'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $groupsType = 'Google_Service_Directory_Group'; + protected $groupsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setGroups($groups) + { + $this->groups = $groups; + } + public function getGroups() + { + return $this->groups; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Directory_Member extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $email; + public $etag; + public $id; + public $kind; + public $role; + public $type; + + + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRole($role) + { + $this->role = $role; + } + public function getRole() + { + return $this->role; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Directory_Members extends Google_Collection +{ + protected $collection_key = 'members'; + protected $internal_gapi_mappings = array( + ); + public $etag; + public $kind; + protected $membersType = 'Google_Service_Directory_Member'; + protected $membersDataType = 'array'; + public $nextPageToken; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMembers($members) + { + $this->members = $members; + } + public function getMembers() + { + return $this->members; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Directory_MobileDevice extends Google_Collection +{ + protected $collection_key = 'otherAccountsInfo'; + protected $internal_gapi_mappings = array( + ); + public $adbStatus; + protected $applicationsType = 'Google_Service_Directory_MobileDeviceApplications'; + protected $applicationsDataType = 'array'; + public $basebandVersion; + public $buildNumber; + public $defaultLanguage; + public $developerOptionsStatus; + public $deviceCompromisedStatus; + public $deviceId; + public $email; + public $etag; + public $firstSync; + public $hardwareId; + public $imei; + public $kernelVersion; + public $kind; + public $lastSync; + public $managedAccountIsOnOwnerProfile; + public $meid; + public $model; + public $name; + public $networkOperator; + public $os; + public $otherAccountsInfo; + public $resourceId; + public $serialNumber; + public $status; + public $supportsWorkProfile; + public $type; + public $unknownSourcesStatus; + public $userAgent; + public $wifiMacAddress; + + + public function setAdbStatus($adbStatus) + { + $this->adbStatus = $adbStatus; + } + public function getAdbStatus() + { + return $this->adbStatus; + } + public function setApplications($applications) + { + $this->applications = $applications; + } + public function getApplications() + { + return $this->applications; + } + public function setBasebandVersion($basebandVersion) + { + $this->basebandVersion = $basebandVersion; + } + public function getBasebandVersion() + { + return $this->basebandVersion; + } + public function setBuildNumber($buildNumber) + { + $this->buildNumber = $buildNumber; + } + public function getBuildNumber() + { + return $this->buildNumber; + } + public function setDefaultLanguage($defaultLanguage) + { + $this->defaultLanguage = $defaultLanguage; + } + public function getDefaultLanguage() + { + return $this->defaultLanguage; + } + public function setDeveloperOptionsStatus($developerOptionsStatus) + { + $this->developerOptionsStatus = $developerOptionsStatus; + } + public function getDeveloperOptionsStatus() + { + return $this->developerOptionsStatus; + } + public function setDeviceCompromisedStatus($deviceCompromisedStatus) + { + $this->deviceCompromisedStatus = $deviceCompromisedStatus; + } + public function getDeviceCompromisedStatus() + { + return $this->deviceCompromisedStatus; + } + public function setDeviceId($deviceId) + { + $this->deviceId = $deviceId; + } + public function getDeviceId() + { + return $this->deviceId; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setFirstSync($firstSync) + { + $this->firstSync = $firstSync; + } + public function getFirstSync() + { + return $this->firstSync; + } + public function setHardwareId($hardwareId) + { + $this->hardwareId = $hardwareId; + } + public function getHardwareId() + { + return $this->hardwareId; + } + public function setImei($imei) + { + $this->imei = $imei; + } + public function getImei() + { + return $this->imei; + } + public function setKernelVersion($kernelVersion) + { + $this->kernelVersion = $kernelVersion; + } + public function getKernelVersion() + { + return $this->kernelVersion; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastSync($lastSync) + { + $this->lastSync = $lastSync; + } + public function getLastSync() + { + return $this->lastSync; + } + public function setManagedAccountIsOnOwnerProfile($managedAccountIsOnOwnerProfile) + { + $this->managedAccountIsOnOwnerProfile = $managedAccountIsOnOwnerProfile; + } + public function getManagedAccountIsOnOwnerProfile() + { + return $this->managedAccountIsOnOwnerProfile; + } + public function setMeid($meid) + { + $this->meid = $meid; + } + public function getMeid() + { + return $this->meid; + } + public function setModel($model) + { + $this->model = $model; + } + public function getModel() + { + return $this->model; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNetworkOperator($networkOperator) + { + $this->networkOperator = $networkOperator; + } + public function getNetworkOperator() + { + return $this->networkOperator; + } + public function setOs($os) + { + $this->os = $os; + } + public function getOs() + { + return $this->os; + } + public function setOtherAccountsInfo($otherAccountsInfo) + { + $this->otherAccountsInfo = $otherAccountsInfo; + } + public function getOtherAccountsInfo() + { + return $this->otherAccountsInfo; + } + public function setResourceId($resourceId) + { + $this->resourceId = $resourceId; + } + public function getResourceId() + { + return $this->resourceId; + } + public function setSerialNumber($serialNumber) + { + $this->serialNumber = $serialNumber; + } + public function getSerialNumber() + { + return $this->serialNumber; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setSupportsWorkProfile($supportsWorkProfile) + { + $this->supportsWorkProfile = $supportsWorkProfile; + } + public function getSupportsWorkProfile() + { + return $this->supportsWorkProfile; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUnknownSourcesStatus($unknownSourcesStatus) + { + $this->unknownSourcesStatus = $unknownSourcesStatus; + } + public function getUnknownSourcesStatus() + { + return $this->unknownSourcesStatus; + } + public function setUserAgent($userAgent) + { + $this->userAgent = $userAgent; + } + public function getUserAgent() + { + return $this->userAgent; + } + public function setWifiMacAddress($wifiMacAddress) + { + $this->wifiMacAddress = $wifiMacAddress; + } + public function getWifiMacAddress() + { + return $this->wifiMacAddress; + } +} + +class Google_Service_Directory_MobileDeviceAction extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $action; + + + public function setAction($action) + { + $this->action = $action; + } + public function getAction() + { + return $this->action; + } +} + +class Google_Service_Directory_MobileDeviceApplications extends Google_Collection +{ + protected $collection_key = 'permission'; + protected $internal_gapi_mappings = array( + ); + public $displayName; + public $packageName; + public $permission; + public $versionCode; + public $versionName; + + + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setPackageName($packageName) + { + $this->packageName = $packageName; + } + public function getPackageName() + { + return $this->packageName; + } + public function setPermission($permission) + { + $this->permission = $permission; + } + public function getPermission() + { + return $this->permission; + } + public function setVersionCode($versionCode) + { + $this->versionCode = $versionCode; + } + public function getVersionCode() + { + return $this->versionCode; + } + public function setVersionName($versionName) + { + $this->versionName = $versionName; + } + public function getVersionName() + { + return $this->versionName; + } +} + +class Google_Service_Directory_MobileDevices extends Google_Collection +{ + protected $collection_key = 'mobiledevices'; + protected $internal_gapi_mappings = array( + ); + public $etag; + public $kind; + protected $mobiledevicesType = 'Google_Service_Directory_MobileDevice'; + protected $mobiledevicesDataType = 'array'; + public $nextPageToken; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMobiledevices($mobiledevices) + { + $this->mobiledevices = $mobiledevices; + } + public function getMobiledevices() + { + return $this->mobiledevices; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Directory_Notification extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $body; + public $etag; + public $fromAddress; + public $isUnread; + public $kind; + public $notificationId; + public $sendTime; + public $subject; + + + public function setBody($body) + { + $this->body = $body; + } + public function getBody() + { + return $this->body; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setFromAddress($fromAddress) + { + $this->fromAddress = $fromAddress; + } + public function getFromAddress() + { + return $this->fromAddress; + } + public function setIsUnread($isUnread) + { + $this->isUnread = $isUnread; + } + public function getIsUnread() + { + return $this->isUnread; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNotificationId($notificationId) + { + $this->notificationId = $notificationId; + } + public function getNotificationId() + { + return $this->notificationId; + } + public function setSendTime($sendTime) + { + $this->sendTime = $sendTime; + } + public function getSendTime() + { + return $this->sendTime; + } + public function setSubject($subject) + { + $this->subject = $subject; + } + public function getSubject() + { + return $this->subject; + } +} + +class Google_Service_Directory_Notifications extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_Directory_Notification'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $unreadNotificationsCount; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setUnreadNotificationsCount($unreadNotificationsCount) + { + $this->unreadNotificationsCount = $unreadNotificationsCount; + } + public function getUnreadNotificationsCount() + { + return $this->unreadNotificationsCount; + } +} + +class Google_Service_Directory_OrgUnit extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $blockInheritance; + public $description; + public $etag; + public $kind; + public $name; + public $orgUnitId; + public $orgUnitPath; + public $parentOrgUnitId; + public $parentOrgUnitPath; + + + public function setBlockInheritance($blockInheritance) + { + $this->blockInheritance = $blockInheritance; + } + public function getBlockInheritance() + { + return $this->blockInheritance; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOrgUnitId($orgUnitId) + { + $this->orgUnitId = $orgUnitId; + } + public function getOrgUnitId() + { + return $this->orgUnitId; + } + public function setOrgUnitPath($orgUnitPath) + { + $this->orgUnitPath = $orgUnitPath; + } + public function getOrgUnitPath() + { + return $this->orgUnitPath; + } + public function setParentOrgUnitId($parentOrgUnitId) + { + $this->parentOrgUnitId = $parentOrgUnitId; + } + public function getParentOrgUnitId() + { + return $this->parentOrgUnitId; + } + public function setParentOrgUnitPath($parentOrgUnitPath) + { + $this->parentOrgUnitPath = $parentOrgUnitPath; + } + public function getParentOrgUnitPath() + { + return $this->parentOrgUnitPath; + } +} + +class Google_Service_Directory_OrgUnits extends Google_Collection +{ + protected $collection_key = 'organizationUnits'; + protected $internal_gapi_mappings = array( + ); + public $etag; + public $kind; + protected $organizationUnitsType = 'Google_Service_Directory_OrgUnit'; + protected $organizationUnitsDataType = 'array'; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setOrganizationUnits($organizationUnits) + { + $this->organizationUnits = $organizationUnits; + } + public function getOrganizationUnits() + { + return $this->organizationUnits; + } +} + +class Google_Service_Directory_Schema extends Google_Collection +{ + protected $collection_key = 'fields'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $fieldsType = 'Google_Service_Directory_SchemaFieldSpec'; + protected $fieldsDataType = 'array'; + public $kind; + public $schemaId; + public $schemaName; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setFields($fields) + { + $this->fields = $fields; + } + public function getFields() + { + return $this->fields; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSchemaId($schemaId) + { + $this->schemaId = $schemaId; + } + public function getSchemaId() + { + return $this->schemaId; + } + public function setSchemaName($schemaName) + { + $this->schemaName = $schemaName; + } + public function getSchemaName() + { + return $this->schemaName; + } +} + +class Google_Service_Directory_SchemaFieldSpec extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $etag; + public $fieldId; + public $fieldName; + public $fieldType; + public $indexed; + public $kind; + public $multiValued; + protected $numericIndexingSpecType = 'Google_Service_Directory_SchemaFieldSpecNumericIndexingSpec'; + protected $numericIndexingSpecDataType = ''; + public $readAccessType; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setFieldId($fieldId) + { + $this->fieldId = $fieldId; + } + public function getFieldId() + { + return $this->fieldId; + } + public function setFieldName($fieldName) + { + $this->fieldName = $fieldName; + } + public function getFieldName() + { + return $this->fieldName; + } + public function setFieldType($fieldType) + { + $this->fieldType = $fieldType; + } + public function getFieldType() + { + return $this->fieldType; + } + public function setIndexed($indexed) + { + $this->indexed = $indexed; + } + public function getIndexed() + { + return $this->indexed; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMultiValued($multiValued) + { + $this->multiValued = $multiValued; + } + public function getMultiValued() + { + return $this->multiValued; + } + public function setNumericIndexingSpec(Google_Service_Directory_SchemaFieldSpecNumericIndexingSpec $numericIndexingSpec) + { + $this->numericIndexingSpec = $numericIndexingSpec; + } + public function getNumericIndexingSpec() + { + return $this->numericIndexingSpec; + } + public function setReadAccessType($readAccessType) + { + $this->readAccessType = $readAccessType; + } + public function getReadAccessType() + { + return $this->readAccessType; + } +} + +class Google_Service_Directory_SchemaFieldSpecNumericIndexingSpec extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $maxValue; + public $minValue; + + + public function setMaxValue($maxValue) + { + $this->maxValue = $maxValue; + } + public function getMaxValue() + { + return $this->maxValue; + } + public function setMinValue($minValue) + { + $this->minValue = $minValue; + } + public function getMinValue() + { + return $this->minValue; + } +} + +class Google_Service_Directory_Schemas extends Google_Collection +{ + protected $collection_key = 'schemas'; + protected $internal_gapi_mappings = array( + ); + public $etag; + public $kind; + protected $schemasType = 'Google_Service_Directory_Schema'; + protected $schemasDataType = 'array'; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSchemas($schemas) + { + $this->schemas = $schemas; + } + public function getSchemas() + { + return $this->schemas; + } +} + +class Google_Service_Directory_Token extends Google_Collection +{ + protected $collection_key = 'scopes'; + protected $internal_gapi_mappings = array( + ); + public $anonymous; + public $clientId; + public $displayText; + public $etag; + public $kind; + public $nativeApp; + public $scopes; + public $userKey; + + + public function setAnonymous($anonymous) + { + $this->anonymous = $anonymous; + } + public function getAnonymous() + { + return $this->anonymous; + } + public function setClientId($clientId) + { + $this->clientId = $clientId; + } + public function getClientId() + { + return $this->clientId; + } + public function setDisplayText($displayText) + { + $this->displayText = $displayText; + } + public function getDisplayText() + { + return $this->displayText; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNativeApp($nativeApp) + { + $this->nativeApp = $nativeApp; + } + public function getNativeApp() + { + return $this->nativeApp; + } + public function setScopes($scopes) + { + $this->scopes = $scopes; + } + public function getScopes() + { + return $this->scopes; + } + public function setUserKey($userKey) + { + $this->userKey = $userKey; + } + public function getUserKey() + { + return $this->userKey; + } +} + +class Google_Service_Directory_Tokens extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_Directory_Token'; + protected $itemsDataType = 'array'; + public $kind; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Directory_User extends Google_Collection +{ + protected $collection_key = 'nonEditableAliases'; + protected $internal_gapi_mappings = array( + ); + public $addresses; + public $agreedToTerms; + public $aliases; + public $changePasswordAtNextLogin; + public $creationTime; + public $customSchemas; + public $customerId; + public $deletionTime; + public $emails; + public $etag; + public $externalIds; + public $hashFunction; + public $id; + public $ims; + public $includeInGlobalAddressList; + public $ipWhitelisted; + public $isAdmin; + public $isDelegatedAdmin; + public $isMailboxSetup; + public $kind; + public $lastLoginTime; + protected $nameType = 'Google_Service_Directory_UserName'; + protected $nameDataType = ''; + public $nonEditableAliases; + public $notes; + public $orgUnitPath; + public $organizations; + public $password; + public $phones; + public $primaryEmail; + public $relations; + public $suspended; + public $suspensionReason; + public $thumbnailPhotoEtag; + public $thumbnailPhotoUrl; + public $websites; + + + public function setAddresses($addresses) + { + $this->addresses = $addresses; + } + public function getAddresses() + { + return $this->addresses; + } + public function setAgreedToTerms($agreedToTerms) + { + $this->agreedToTerms = $agreedToTerms; + } + public function getAgreedToTerms() + { + return $this->agreedToTerms; + } + public function setAliases($aliases) + { + $this->aliases = $aliases; + } + public function getAliases() + { + return $this->aliases; + } + public function setChangePasswordAtNextLogin($changePasswordAtNextLogin) + { + $this->changePasswordAtNextLogin = $changePasswordAtNextLogin; + } + public function getChangePasswordAtNextLogin() + { + return $this->changePasswordAtNextLogin; + } + public function setCreationTime($creationTime) + { + $this->creationTime = $creationTime; + } + public function getCreationTime() + { + return $this->creationTime; + } + public function setCustomSchemas($customSchemas) + { + $this->customSchemas = $customSchemas; + } + public function getCustomSchemas() + { + return $this->customSchemas; + } + public function setCustomerId($customerId) + { + $this->customerId = $customerId; + } + public function getCustomerId() + { + return $this->customerId; + } + public function setDeletionTime($deletionTime) + { + $this->deletionTime = $deletionTime; + } + public function getDeletionTime() + { + return $this->deletionTime; + } + public function setEmails($emails) + { + $this->emails = $emails; + } + public function getEmails() + { + return $this->emails; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setExternalIds($externalIds) + { + $this->externalIds = $externalIds; + } + public function getExternalIds() + { + return $this->externalIds; + } + public function setHashFunction($hashFunction) + { + $this->hashFunction = $hashFunction; + } + public function getHashFunction() + { + return $this->hashFunction; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIms($ims) + { + $this->ims = $ims; + } + public function getIms() + { + return $this->ims; + } + public function setIncludeInGlobalAddressList($includeInGlobalAddressList) + { + $this->includeInGlobalAddressList = $includeInGlobalAddressList; + } + public function getIncludeInGlobalAddressList() + { + return $this->includeInGlobalAddressList; + } + public function setIpWhitelisted($ipWhitelisted) + { + $this->ipWhitelisted = $ipWhitelisted; + } + public function getIpWhitelisted() + { + return $this->ipWhitelisted; + } + public function setIsAdmin($isAdmin) + { + $this->isAdmin = $isAdmin; + } + public function getIsAdmin() + { + return $this->isAdmin; + } + public function setIsDelegatedAdmin($isDelegatedAdmin) + { + $this->isDelegatedAdmin = $isDelegatedAdmin; + } + public function getIsDelegatedAdmin() + { + return $this->isDelegatedAdmin; + } + public function setIsMailboxSetup($isMailboxSetup) + { + $this->isMailboxSetup = $isMailboxSetup; + } + public function getIsMailboxSetup() + { + return $this->isMailboxSetup; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastLoginTime($lastLoginTime) + { + $this->lastLoginTime = $lastLoginTime; + } + public function getLastLoginTime() + { + return $this->lastLoginTime; + } + public function setName(Google_Service_Directory_UserName $name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNonEditableAliases($nonEditableAliases) + { + $this->nonEditableAliases = $nonEditableAliases; + } + public function getNonEditableAliases() + { + return $this->nonEditableAliases; + } + public function setNotes($notes) + { + $this->notes = $notes; + } + public function getNotes() + { + return $this->notes; + } + public function setOrgUnitPath($orgUnitPath) + { + $this->orgUnitPath = $orgUnitPath; + } + public function getOrgUnitPath() + { + return $this->orgUnitPath; + } + public function setOrganizations($organizations) + { + $this->organizations = $organizations; + } + public function getOrganizations() + { + return $this->organizations; + } + public function setPassword($password) + { + $this->password = $password; + } + public function getPassword() + { + return $this->password; + } + public function setPhones($phones) + { + $this->phones = $phones; + } + public function getPhones() + { + return $this->phones; + } + public function setPrimaryEmail($primaryEmail) + { + $this->primaryEmail = $primaryEmail; + } + public function getPrimaryEmail() + { + return $this->primaryEmail; + } + public function setRelations($relations) + { + $this->relations = $relations; + } + public function getRelations() + { + return $this->relations; + } + public function setSuspended($suspended) + { + $this->suspended = $suspended; + } + public function getSuspended() + { + return $this->suspended; + } + public function setSuspensionReason($suspensionReason) + { + $this->suspensionReason = $suspensionReason; + } + public function getSuspensionReason() + { + return $this->suspensionReason; + } + public function setThumbnailPhotoEtag($thumbnailPhotoEtag) + { + $this->thumbnailPhotoEtag = $thumbnailPhotoEtag; + } + public function getThumbnailPhotoEtag() + { + return $this->thumbnailPhotoEtag; + } + public function setThumbnailPhotoUrl($thumbnailPhotoUrl) + { + $this->thumbnailPhotoUrl = $thumbnailPhotoUrl; + } + public function getThumbnailPhotoUrl() + { + return $this->thumbnailPhotoUrl; + } + public function setWebsites($websites) + { + $this->websites = $websites; + } + public function getWebsites() + { + return $this->websites; + } +} + +class Google_Service_Directory_UserAbout extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $contentType; + public $value; + + + public function setContentType($contentType) + { + $this->contentType = $contentType; + } + public function getContentType() + { + return $this->contentType; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Directory_UserAddress extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $country; + public $countryCode; + public $customType; + public $extendedAddress; + public $formatted; + public $locality; + public $poBox; + public $postalCode; + public $primary; + public $region; + public $sourceIsStructured; + public $streetAddress; + public $type; + + + public function setCountry($country) + { + $this->country = $country; + } + public function getCountry() + { + return $this->country; + } + public function setCountryCode($countryCode) + { + $this->countryCode = $countryCode; + } + public function getCountryCode() + { + return $this->countryCode; + } + public function setCustomType($customType) + { + $this->customType = $customType; + } + public function getCustomType() + { + return $this->customType; + } + public function setExtendedAddress($extendedAddress) + { + $this->extendedAddress = $extendedAddress; + } + public function getExtendedAddress() + { + return $this->extendedAddress; + } + public function setFormatted($formatted) + { + $this->formatted = $formatted; + } + public function getFormatted() + { + return $this->formatted; + } + public function setLocality($locality) + { + $this->locality = $locality; + } + public function getLocality() + { + return $this->locality; + } + public function setPoBox($poBox) + { + $this->poBox = $poBox; + } + public function getPoBox() + { + return $this->poBox; + } + public function setPostalCode($postalCode) + { + $this->postalCode = $postalCode; + } + public function getPostalCode() + { + return $this->postalCode; + } + public function setPrimary($primary) + { + $this->primary = $primary; + } + public function getPrimary() + { + return $this->primary; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setSourceIsStructured($sourceIsStructured) + { + $this->sourceIsStructured = $sourceIsStructured; + } + public function getSourceIsStructured() + { + return $this->sourceIsStructured; + } + public function setStreetAddress($streetAddress) + { + $this->streetAddress = $streetAddress; + } + public function getStreetAddress() + { + return $this->streetAddress; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Directory_UserCustomProperties extends Google_Model +{ +} + +class Google_Service_Directory_UserCustomSchemas extends Google_Model +{ +} + +class Google_Service_Directory_UserEmail extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $address; + public $customType; + public $primary; + public $type; + + + public function setAddress($address) + { + $this->address = $address; + } + public function getAddress() + { + return $this->address; + } + public function setCustomType($customType) + { + $this->customType = $customType; + } + public function getCustomType() + { + return $this->customType; + } + public function setPrimary($primary) + { + $this->primary = $primary; + } + public function getPrimary() + { + return $this->primary; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Directory_UserExternalId extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $customType; + public $type; + public $value; + + + public function setCustomType($customType) + { + $this->customType = $customType; + } + public function getCustomType() + { + return $this->customType; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Directory_UserIm extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $customProtocol; + public $customType; + public $im; + public $primary; + public $protocol; + public $type; + + + public function setCustomProtocol($customProtocol) + { + $this->customProtocol = $customProtocol; + } + public function getCustomProtocol() + { + return $this->customProtocol; + } + public function setCustomType($customType) + { + $this->customType = $customType; + } + public function getCustomType() + { + return $this->customType; + } + public function setIm($im) + { + $this->im = $im; + } + public function getIm() + { + return $this->im; + } + public function setPrimary($primary) + { + $this->primary = $primary; + } + public function getPrimary() + { + return $this->primary; + } + public function setProtocol($protocol) + { + $this->protocol = $protocol; + } + public function getProtocol() + { + return $this->protocol; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Directory_UserMakeAdmin extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $status; + + + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} + +class Google_Service_Directory_UserName extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $familyName; + public $fullName; + public $givenName; + + + public function setFamilyName($familyName) + { + $this->familyName = $familyName; + } + public function getFamilyName() + { + return $this->familyName; + } + public function setFullName($fullName) + { + $this->fullName = $fullName; + } + public function getFullName() + { + return $this->fullName; + } + public function setGivenName($givenName) + { + $this->givenName = $givenName; + } + public function getGivenName() + { + return $this->givenName; + } +} + +class Google_Service_Directory_UserOrganization extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $costCenter; + public $customType; + public $department; + public $description; + public $domain; + public $location; + public $name; + public $primary; + public $symbol; + public $title; + public $type; + + + public function setCostCenter($costCenter) + { + $this->costCenter = $costCenter; + } + public function getCostCenter() + { + return $this->costCenter; + } + public function setCustomType($customType) + { + $this->customType = $customType; + } + public function getCustomType() + { + return $this->customType; + } + public function setDepartment($department) + { + $this->department = $department; + } + public function getDepartment() + { + return $this->department; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDomain($domain) + { + $this->domain = $domain; + } + public function getDomain() + { + return $this->domain; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPrimary($primary) + { + $this->primary = $primary; + } + public function getPrimary() + { + return $this->primary; + } + public function setSymbol($symbol) + { + $this->symbol = $symbol; + } + public function getSymbol() + { + return $this->symbol; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Directory_UserPhone extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $customType; + public $primary; + public $type; + public $value; + + + public function setCustomType($customType) + { + $this->customType = $customType; + } + public function getCustomType() + { + return $this->customType; + } + public function setPrimary($primary) + { + $this->primary = $primary; + } + public function getPrimary() + { + return $this->primary; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Directory_UserPhoto extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $etag; + public $height; + public $id; + public $kind; + public $mimeType; + public $photoData; + public $primaryEmail; + public $width; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setHeight($height) + { + $this->height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMimeType($mimeType) + { + $this->mimeType = $mimeType; + } + public function getMimeType() + { + return $this->mimeType; + } + public function setPhotoData($photoData) + { + $this->photoData = $photoData; + } + public function getPhotoData() + { + return $this->photoData; + } + public function setPrimaryEmail($primaryEmail) + { + $this->primaryEmail = $primaryEmail; + } + public function getPrimaryEmail() + { + return $this->primaryEmail; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} + +class Google_Service_Directory_UserRelation extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $customType; + public $type; + public $value; + + + public function setCustomType($customType) + { + $this->customType = $customType; + } + public function getCustomType() + { + return $this->customType; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Directory_UserUndelete extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $orgUnitPath; + + + public function setOrgUnitPath($orgUnitPath) + { + $this->orgUnitPath = $orgUnitPath; + } + public function getOrgUnitPath() + { + return $this->orgUnitPath; + } +} + +class Google_Service_Directory_UserWebsite extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $customType; + public $primary; + public $type; + public $value; + + + public function setCustomType($customType) + { + $this->customType = $customType; + } + public function getCustomType() + { + return $this->customType; + } + public function setPrimary($primary) + { + $this->primary = $primary; + } + public function getPrimary() + { + return $this->primary; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Directory_Users extends Google_Collection +{ + protected $collection_key = 'users'; + protected $internal_gapi_mappings = array( + "triggerEvent" => "trigger_event", + ); + public $etag; + public $kind; + public $nextPageToken; + public $triggerEvent; + protected $usersType = 'Google_Service_Directory_User'; + protected $usersDataType = 'array'; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTriggerEvent($triggerEvent) + { + $this->triggerEvent = $triggerEvent; + } + public function getTriggerEvent() + { + return $this->triggerEvent; + } + public function setUsers($users) + { + $this->users = $users; + } + public function getUsers() + { + return $this->users; + } +} + +class Google_Service_Directory_VerificationCode extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $etag; + public $kind; + public $userId; + public $verificationCode; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setUserId($userId) + { + $this->userId = $userId; + } + public function getUserId() + { + return $this->userId; + } + public function setVerificationCode($verificationCode) + { + $this->verificationCode = $verificationCode; + } + public function getVerificationCode() + { + return $this->verificationCode; + } +} + +class Google_Service_Directory_VerificationCodes extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_Directory_VerificationCode'; + protected $itemsDataType = 'array'; + public $kind; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Dns.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Dns.php new file mode 100644 index 0000000..e94410b --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Dns.php @@ -0,0 +1,926 @@ + + * The Google Cloud DNS API provides services for configuring and serving + * authoritative DNS records.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Dns extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** View your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM_READ_ONLY = + "https://www.googleapis.com/auth/cloud-platform.read-only"; + /** View your DNS records hosted by Google Cloud DNS. */ + const NDEV_CLOUDDNS_READONLY = + "https://www.googleapis.com/auth/ndev.clouddns.readonly"; + /** View and manage your DNS records hosted by Google Cloud DNS. */ + const NDEV_CLOUDDNS_READWRITE = + "https://www.googleapis.com/auth/ndev.clouddns.readwrite"; + + public $changes; + public $managedZones; + public $projects; + public $resourceRecordSets; + + + /** + * Constructs the internal representation of the Dns service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'dns/v1/projects/'; + $this->version = 'v1'; + $this->serviceName = 'dns'; + + $this->changes = new Google_Service_Dns_Changes_Resource( + $this, + $this->serviceName, + 'changes', + array( + 'methods' => array( + 'create' => array( + 'path' => '{project}/managedZones/{managedZone}/changes', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'managedZone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/managedZones/{managedZone}/changes/{changeId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'managedZone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'changeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/managedZones/{managedZone}/changes', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'managedZone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->managedZones = new Google_Service_Dns_ManagedZones_Resource( + $this, + $this->serviceName, + 'managedZones', + array( + 'methods' => array( + 'create' => array( + 'path' => '{project}/managedZones', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => '{project}/managedZones/{managedZone}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'managedZone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/managedZones/{managedZone}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'managedZone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/managedZones', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'dnsName' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->projects = new Google_Service_Dns_Projects_Resource( + $this, + $this->serviceName, + 'projects', + array( + 'methods' => array( + 'get' => array( + 'path' => '{project}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->resourceRecordSets = new Google_Service_Dns_ResourceRecordSets_Resource( + $this, + $this->serviceName, + 'resourceRecordSets', + array( + 'methods' => array( + 'list' => array( + 'path' => '{project}/managedZones/{managedZone}/rrsets', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'managedZone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'name' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'type' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "changes" collection of methods. + * Typical usage is: + * + * $dnsService = new Google_Service_Dns(...); + * $changes = $dnsService->changes; + * + */ +class Google_Service_Dns_Changes_Resource extends Google_Service_Resource +{ + + /** + * Atomically update the ResourceRecordSet collection. (changes.create) + * + * @param string $project Identifies the project addressed by this request. + * @param string $managedZone Identifies the managed zone addressed by this + * request. Can be the managed zone name or id. + * @param Google_Change $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dns_Change + */ + public function create($project, $managedZone, Google_Service_Dns_Change $postBody, $optParams = array()) + { + $params = array('project' => $project, 'managedZone' => $managedZone, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Dns_Change"); + } + + /** + * Fetch the representation of an existing Change. (changes.get) + * + * @param string $project Identifies the project addressed by this request. + * @param string $managedZone Identifies the managed zone addressed by this + * request. Can be the managed zone name or id. + * @param string $changeId The identifier of the requested change, from a + * previous ResourceRecordSetsChangeResponse. + * @param array $optParams Optional parameters. + * @return Google_Service_Dns_Change + */ + public function get($project, $managedZone, $changeId, $optParams = array()) + { + $params = array('project' => $project, 'managedZone' => $managedZone, 'changeId' => $changeId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dns_Change"); + } + + /** + * Enumerate Changes to a ResourceRecordSet collection. (changes.listChanges) + * + * @param string $project Identifies the project addressed by this request. + * @param string $managedZone Identifies the managed zone addressed by this + * request. Can be the managed zone name or id. + * @param array $optParams Optional parameters. + * + * @opt_param int maxResults Optional. Maximum number of results to be returned. + * If unspecified, the server will decide how many results to return. + * @opt_param string pageToken Optional. A tag returned by a previous list + * request that was truncated. Use this parameter to continue a previous list + * request. + * @opt_param string sortBy Sorting criterion. The only supported value is + * change sequence. + * @opt_param string sortOrder Sorting order direction: 'ascending' or + * 'descending'. + * @return Google_Service_Dns_ChangesListResponse + */ + public function listChanges($project, $managedZone, $optParams = array()) + { + $params = array('project' => $project, 'managedZone' => $managedZone); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dns_ChangesListResponse"); + } +} + +/** + * The "managedZones" collection of methods. + * Typical usage is: + * + * $dnsService = new Google_Service_Dns(...); + * $managedZones = $dnsService->managedZones; + * + */ +class Google_Service_Dns_ManagedZones_Resource extends Google_Service_Resource +{ + + /** + * Create a new ManagedZone. (managedZones.create) + * + * @param string $project Identifies the project addressed by this request. + * @param Google_ManagedZone $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Dns_ManagedZone + */ + public function create($project, Google_Service_Dns_ManagedZone $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Dns_ManagedZone"); + } + + /** + * Delete a previously created ManagedZone. (managedZones.delete) + * + * @param string $project Identifies the project addressed by this request. + * @param string $managedZone Identifies the managed zone addressed by this + * request. Can be the managed zone name or id. + * @param array $optParams Optional parameters. + */ + public function delete($project, $managedZone, $optParams = array()) + { + $params = array('project' => $project, 'managedZone' => $managedZone); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Fetch the representation of an existing ManagedZone. (managedZones.get) + * + * @param string $project Identifies the project addressed by this request. + * @param string $managedZone Identifies the managed zone addressed by this + * request. Can be the managed zone name or id. + * @param array $optParams Optional parameters. + * @return Google_Service_Dns_ManagedZone + */ + public function get($project, $managedZone, $optParams = array()) + { + $params = array('project' => $project, 'managedZone' => $managedZone); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dns_ManagedZone"); + } + + /** + * Enumerate ManagedZones that have been created but not yet deleted. + * (managedZones.listManagedZones) + * + * @param string $project Identifies the project addressed by this request. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Optional. A tag returned by a previous list + * request that was truncated. Use this parameter to continue a previous list + * request. + * @opt_param string dnsName Restricts the list to return only zones with this + * domain name. + * @opt_param int maxResults Optional. Maximum number of results to be returned. + * If unspecified, the server will decide how many results to return. + * @return Google_Service_Dns_ManagedZonesListResponse + */ + public function listManagedZones($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dns_ManagedZonesListResponse"); + } +} + +/** + * The "projects" collection of methods. + * Typical usage is: + * + * $dnsService = new Google_Service_Dns(...); + * $projects = $dnsService->projects; + * + */ +class Google_Service_Dns_Projects_Resource extends Google_Service_Resource +{ + + /** + * Fetch the representation of an existing Project. (projects.get) + * + * @param string $project Identifies the project addressed by this request. + * @param array $optParams Optional parameters. + * @return Google_Service_Dns_Project + */ + public function get($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Dns_Project"); + } +} + +/** + * The "resourceRecordSets" collection of methods. + * Typical usage is: + * + * $dnsService = new Google_Service_Dns(...); + * $resourceRecordSets = $dnsService->resourceRecordSets; + * + */ +class Google_Service_Dns_ResourceRecordSets_Resource extends Google_Service_Resource +{ + + /** + * Enumerate ResourceRecordSets that have been created but not yet deleted. + * (resourceRecordSets.listResourceRecordSets) + * + * @param string $project Identifies the project addressed by this request. + * @param string $managedZone Identifies the managed zone addressed by this + * request. Can be the managed zone name or id. + * @param array $optParams Optional parameters. + * + * @opt_param string name Restricts the list to return only records with this + * fully qualified domain name. + * @opt_param int maxResults Optional. Maximum number of results to be returned. + * If unspecified, the server will decide how many results to return. + * @opt_param string pageToken Optional. A tag returned by a previous list + * request that was truncated. Use this parameter to continue a previous list + * request. + * @opt_param string type Restricts the list to return only records of this + * type. If present, the "name" parameter must also be present. + * @return Google_Service_Dns_ResourceRecordSetsListResponse + */ + public function listResourceRecordSets($project, $managedZone, $optParams = array()) + { + $params = array('project' => $project, 'managedZone' => $managedZone); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Dns_ResourceRecordSetsListResponse"); + } +} + + + + +class Google_Service_Dns_Change extends Google_Collection +{ + protected $collection_key = 'deletions'; + protected $internal_gapi_mappings = array( + ); + protected $additionsType = 'Google_Service_Dns_ResourceRecordSet'; + protected $additionsDataType = 'array'; + protected $deletionsType = 'Google_Service_Dns_ResourceRecordSet'; + protected $deletionsDataType = 'array'; + public $id; + public $kind; + public $startTime; + public $status; + + + public function setAdditions($additions) + { + $this->additions = $additions; + } + public function getAdditions() + { + return $this->additions; + } + public function setDeletions($deletions) + { + $this->deletions = $deletions; + } + public function getDeletions() + { + return $this->deletions; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} + +class Google_Service_Dns_ChangesListResponse extends Google_Collection +{ + protected $collection_key = 'changes'; + protected $internal_gapi_mappings = array( + ); + protected $changesType = 'Google_Service_Dns_Change'; + protected $changesDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setChanges($changes) + { + $this->changes = $changes; + } + public function getChanges() + { + return $this->changes; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Dns_ManagedZone extends Google_Collection +{ + protected $collection_key = 'nameServers'; + protected $internal_gapi_mappings = array( + ); + public $creationTime; + public $description; + public $dnsName; + public $id; + public $kind; + public $name; + public $nameServerSet; + public $nameServers; + + + public function setCreationTime($creationTime) + { + $this->creationTime = $creationTime; + } + public function getCreationTime() + { + return $this->creationTime; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDnsName($dnsName) + { + $this->dnsName = $dnsName; + } + public function getDnsName() + { + return $this->dnsName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNameServerSet($nameServerSet) + { + $this->nameServerSet = $nameServerSet; + } + public function getNameServerSet() + { + return $this->nameServerSet; + } + public function setNameServers($nameServers) + { + $this->nameServers = $nameServers; + } + public function getNameServers() + { + return $this->nameServers; + } +} + +class Google_Service_Dns_ManagedZonesListResponse extends Google_Collection +{ + protected $collection_key = 'managedZones'; + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $managedZonesType = 'Google_Service_Dns_ManagedZone'; + protected $managedZonesDataType = 'array'; + public $nextPageToken; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setManagedZones($managedZones) + { + $this->managedZones = $managedZones; + } + public function getManagedZones() + { + return $this->managedZones; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Dns_Project extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $kind; + public $number; + protected $quotaType = 'Google_Service_Dns_Quota'; + protected $quotaDataType = ''; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNumber($number) + { + $this->number = $number; + } + public function getNumber() + { + return $this->number; + } + public function setQuota(Google_Service_Dns_Quota $quota) + { + $this->quota = $quota; + } + public function getQuota() + { + return $this->quota; + } +} + +class Google_Service_Dns_Quota extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + public $managedZones; + public $resourceRecordsPerRrset; + public $rrsetAdditionsPerChange; + public $rrsetDeletionsPerChange; + public $rrsetsPerManagedZone; + public $totalRrdataSizePerChange; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setManagedZones($managedZones) + { + $this->managedZones = $managedZones; + } + public function getManagedZones() + { + return $this->managedZones; + } + public function setResourceRecordsPerRrset($resourceRecordsPerRrset) + { + $this->resourceRecordsPerRrset = $resourceRecordsPerRrset; + } + public function getResourceRecordsPerRrset() + { + return $this->resourceRecordsPerRrset; + } + public function setRrsetAdditionsPerChange($rrsetAdditionsPerChange) + { + $this->rrsetAdditionsPerChange = $rrsetAdditionsPerChange; + } + public function getRrsetAdditionsPerChange() + { + return $this->rrsetAdditionsPerChange; + } + public function setRrsetDeletionsPerChange($rrsetDeletionsPerChange) + { + $this->rrsetDeletionsPerChange = $rrsetDeletionsPerChange; + } + public function getRrsetDeletionsPerChange() + { + return $this->rrsetDeletionsPerChange; + } + public function setRrsetsPerManagedZone($rrsetsPerManagedZone) + { + $this->rrsetsPerManagedZone = $rrsetsPerManagedZone; + } + public function getRrsetsPerManagedZone() + { + return $this->rrsetsPerManagedZone; + } + public function setTotalRrdataSizePerChange($totalRrdataSizePerChange) + { + $this->totalRrdataSizePerChange = $totalRrdataSizePerChange; + } + public function getTotalRrdataSizePerChange() + { + return $this->totalRrdataSizePerChange; + } +} + +class Google_Service_Dns_ResourceRecordSet extends Google_Collection +{ + protected $collection_key = 'rrdatas'; + protected $internal_gapi_mappings = array( + ); + public $kind; + public $name; + public $rrdatas; + public $ttl; + public $type; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setRrdatas($rrdatas) + { + $this->rrdatas = $rrdatas; + } + public function getRrdatas() + { + return $this->rrdatas; + } + public function setTtl($ttl) + { + $this->ttl = $ttl; + } + public function getTtl() + { + return $this->ttl; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Dns_ResourceRecordSetsListResponse extends Google_Collection +{ + protected $collection_key = 'rrsets'; + protected $internal_gapi_mappings = array( + ); + public $kind; + public $nextPageToken; + protected $rrsetsType = 'Google_Service_Dns_ResourceRecordSet'; + protected $rrsetsDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setRrsets($rrsets) + { + $this->rrsets = $rrsets; + } + public function getRrsets() + { + return $this->rrsets; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/DoubleClickBidManager.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/DoubleClickBidManager.php new file mode 100644 index 0000000..f17ef6b --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/DoubleClickBidManager.php @@ -0,0 +1,1085 @@ + + * API for viewing and managing your reports in DoubleClick Bid Manager.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_DoubleClickBidManager extends Google_Service +{ + + + public $lineitems; + public $queries; + public $reports; + + + /** + * Constructs the internal representation of the DoubleClickBidManager + * service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'doubleclickbidmanager/v1/'; + $this->version = 'v1'; + $this->serviceName = 'doubleclickbidmanager'; + + $this->lineitems = new Google_Service_DoubleClickBidManager_Lineitems_Resource( + $this, + $this->serviceName, + 'lineitems', + array( + 'methods' => array( + 'downloadlineitems' => array( + 'path' => 'lineitems/downloadlineitems', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'uploadlineitems' => array( + 'path' => 'lineitems/uploadlineitems', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->queries = new Google_Service_DoubleClickBidManager_Queries_Resource( + $this, + $this->serviceName, + 'queries', + array( + 'methods' => array( + 'createquery' => array( + 'path' => 'query', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'deletequery' => array( + 'path' => 'query/{queryId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'queryId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getquery' => array( + 'path' => 'query/{queryId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'queryId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'listqueries' => array( + 'path' => 'queries', + 'httpMethod' => 'GET', + 'parameters' => array(), + ),'runquery' => array( + 'path' => 'query/{queryId}', + 'httpMethod' => 'POST', + 'parameters' => array( + 'queryId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->reports = new Google_Service_DoubleClickBidManager_Reports_Resource( + $this, + $this->serviceName, + 'reports', + array( + 'methods' => array( + 'listreports' => array( + 'path' => 'queries/{queryId}/reports', + 'httpMethod' => 'GET', + 'parameters' => array( + 'queryId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "lineitems" collection of methods. + * Typical usage is: + * + * $doubleclickbidmanagerService = new Google_Service_DoubleClickBidManager(...); + * $lineitems = $doubleclickbidmanagerService->lineitems; + * + */ +class Google_Service_DoubleClickBidManager_Lineitems_Resource extends Google_Service_Resource +{ + + /** + * Retrieves line items in CSV format. (lineitems.downloadlineitems) + * + * @param Google_DownloadLineItemsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_DoubleClickBidManager_DownloadLineItemsResponse + */ + public function downloadlineitems(Google_Service_DoubleClickBidManager_DownloadLineItemsRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('downloadlineitems', array($params), "Google_Service_DoubleClickBidManager_DownloadLineItemsResponse"); + } + + /** + * Uploads line items in CSV format. (lineitems.uploadlineitems) + * + * @param Google_UploadLineItemsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_DoubleClickBidManager_UploadLineItemsResponse + */ + public function uploadlineitems(Google_Service_DoubleClickBidManager_UploadLineItemsRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('uploadlineitems', array($params), "Google_Service_DoubleClickBidManager_UploadLineItemsResponse"); + } +} + +/** + * The "queries" collection of methods. + * Typical usage is: + * + * $doubleclickbidmanagerService = new Google_Service_DoubleClickBidManager(...); + * $queries = $doubleclickbidmanagerService->queries; + * + */ +class Google_Service_DoubleClickBidManager_Queries_Resource extends Google_Service_Resource +{ + + /** + * Creates a query. (queries.createquery) + * + * @param Google_Query $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_DoubleClickBidManager_Query + */ + public function createquery(Google_Service_DoubleClickBidManager_Query $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('createquery', array($params), "Google_Service_DoubleClickBidManager_Query"); + } + + /** + * Deletes a stored query as well as the associated stored reports. + * (queries.deletequery) + * + * @param string $queryId Query ID to delete. + * @param array $optParams Optional parameters. + */ + public function deletequery($queryId, $optParams = array()) + { + $params = array('queryId' => $queryId); + $params = array_merge($params, $optParams); + return $this->call('deletequery', array($params)); + } + + /** + * Retrieves a stored query. (queries.getquery) + * + * @param string $queryId Query ID to retrieve. + * @param array $optParams Optional parameters. + * @return Google_Service_DoubleClickBidManager_Query + */ + public function getquery($queryId, $optParams = array()) + { + $params = array('queryId' => $queryId); + $params = array_merge($params, $optParams); + return $this->call('getquery', array($params), "Google_Service_DoubleClickBidManager_Query"); + } + + /** + * Retrieves stored queries. (queries.listqueries) + * + * @param array $optParams Optional parameters. + * @return Google_Service_DoubleClickBidManager_ListQueriesResponse + */ + public function listqueries($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('listqueries', array($params), "Google_Service_DoubleClickBidManager_ListQueriesResponse"); + } + + /** + * Runs a stored query to generate a report. (queries.runquery) + * + * @param string $queryId Query ID to run. + * @param Google_RunQueryRequest $postBody + * @param array $optParams Optional parameters. + */ + public function runquery($queryId, Google_Service_DoubleClickBidManager_RunQueryRequest $postBody, $optParams = array()) + { + $params = array('queryId' => $queryId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('runquery', array($params)); + } +} + +/** + * The "reports" collection of methods. + * Typical usage is: + * + * $doubleclickbidmanagerService = new Google_Service_DoubleClickBidManager(...); + * $reports = $doubleclickbidmanagerService->reports; + * + */ +class Google_Service_DoubleClickBidManager_Reports_Resource extends Google_Service_Resource +{ + + /** + * Retrieves stored reports. (reports.listreports) + * + * @param string $queryId Query ID with which the reports are associated. + * @param array $optParams Optional parameters. + * @return Google_Service_DoubleClickBidManager_ListReportsResponse + */ + public function listreports($queryId, $optParams = array()) + { + $params = array('queryId' => $queryId); + $params = array_merge($params, $optParams); + return $this->call('listreports', array($params), "Google_Service_DoubleClickBidManager_ListReportsResponse"); + } +} + + + + +class Google_Service_DoubleClickBidManager_DownloadLineItemsRequest extends Google_Collection +{ + protected $collection_key = 'filterIds'; + protected $internal_gapi_mappings = array( + ); + public $fileSpec; + public $filterIds; + public $filterType; + public $format; + + + public function setFileSpec($fileSpec) + { + $this->fileSpec = $fileSpec; + } + public function getFileSpec() + { + return $this->fileSpec; + } + public function setFilterIds($filterIds) + { + $this->filterIds = $filterIds; + } + public function getFilterIds() + { + return $this->filterIds; + } + public function setFilterType($filterType) + { + $this->filterType = $filterType; + } + public function getFilterType() + { + return $this->filterType; + } + public function setFormat($format) + { + $this->format = $format; + } + public function getFormat() + { + return $this->format; + } +} + +class Google_Service_DoubleClickBidManager_DownloadLineItemsResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $lineItems; + + + public function setLineItems($lineItems) + { + $this->lineItems = $lineItems; + } + public function getLineItems() + { + return $this->lineItems; + } +} + +class Google_Service_DoubleClickBidManager_FilterPair extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $type; + public $value; + + + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_DoubleClickBidManager_ListQueriesResponse extends Google_Collection +{ + protected $collection_key = 'queries'; + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $queriesType = 'Google_Service_DoubleClickBidManager_Query'; + protected $queriesDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setQueries($queries) + { + $this->queries = $queries; + } + public function getQueries() + { + return $this->queries; + } +} + +class Google_Service_DoubleClickBidManager_ListReportsResponse extends Google_Collection +{ + protected $collection_key = 'reports'; + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $reportsType = 'Google_Service_DoubleClickBidManager_Report'; + protected $reportsDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setReports($reports) + { + $this->reports = $reports; + } + public function getReports() + { + return $this->reports; + } +} + +class Google_Service_DoubleClickBidManager_Parameters extends Google_Collection +{ + protected $collection_key = 'metrics'; + protected $internal_gapi_mappings = array( + ); + protected $filtersType = 'Google_Service_DoubleClickBidManager_FilterPair'; + protected $filtersDataType = 'array'; + public $groupBys; + public $includeInviteData; + public $metrics; + public $type; + + + public function setFilters($filters) + { + $this->filters = $filters; + } + public function getFilters() + { + return $this->filters; + } + public function setGroupBys($groupBys) + { + $this->groupBys = $groupBys; + } + public function getGroupBys() + { + return $this->groupBys; + } + public function setIncludeInviteData($includeInviteData) + { + $this->includeInviteData = $includeInviteData; + } + public function getIncludeInviteData() + { + return $this->includeInviteData; + } + public function setMetrics($metrics) + { + $this->metrics = $metrics; + } + public function getMetrics() + { + return $this->metrics; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_DoubleClickBidManager_Query extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $metadataType = 'Google_Service_DoubleClickBidManager_QueryMetadata'; + protected $metadataDataType = ''; + protected $paramsType = 'Google_Service_DoubleClickBidManager_Parameters'; + protected $paramsDataType = ''; + public $queryId; + public $reportDataEndTimeMs; + public $reportDataStartTimeMs; + protected $scheduleType = 'Google_Service_DoubleClickBidManager_QuerySchedule'; + protected $scheduleDataType = ''; + public $timezoneCode; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMetadata(Google_Service_DoubleClickBidManager_QueryMetadata $metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setParams(Google_Service_DoubleClickBidManager_Parameters $params) + { + $this->params = $params; + } + public function getParams() + { + return $this->params; + } + public function setQueryId($queryId) + { + $this->queryId = $queryId; + } + public function getQueryId() + { + return $this->queryId; + } + public function setReportDataEndTimeMs($reportDataEndTimeMs) + { + $this->reportDataEndTimeMs = $reportDataEndTimeMs; + } + public function getReportDataEndTimeMs() + { + return $this->reportDataEndTimeMs; + } + public function setReportDataStartTimeMs($reportDataStartTimeMs) + { + $this->reportDataStartTimeMs = $reportDataStartTimeMs; + } + public function getReportDataStartTimeMs() + { + return $this->reportDataStartTimeMs; + } + public function setSchedule(Google_Service_DoubleClickBidManager_QuerySchedule $schedule) + { + $this->schedule = $schedule; + } + public function getSchedule() + { + return $this->schedule; + } + public function setTimezoneCode($timezoneCode) + { + $this->timezoneCode = $timezoneCode; + } + public function getTimezoneCode() + { + return $this->timezoneCode; + } +} + +class Google_Service_DoubleClickBidManager_QueryMetadata extends Google_Collection +{ + protected $collection_key = 'shareEmailAddress'; + protected $internal_gapi_mappings = array( + ); + public $dataRange; + public $format; + public $googleCloudStoragePathForLatestReport; + public $googleDrivePathForLatestReport; + public $latestReportRunTimeMs; + public $locale; + public $reportCount; + public $running; + public $sendNotification; + public $shareEmailAddress; + public $title; + + + public function setDataRange($dataRange) + { + $this->dataRange = $dataRange; + } + public function getDataRange() + { + return $this->dataRange; + } + public function setFormat($format) + { + $this->format = $format; + } + public function getFormat() + { + return $this->format; + } + public function setGoogleCloudStoragePathForLatestReport($googleCloudStoragePathForLatestReport) + { + $this->googleCloudStoragePathForLatestReport = $googleCloudStoragePathForLatestReport; + } + public function getGoogleCloudStoragePathForLatestReport() + { + return $this->googleCloudStoragePathForLatestReport; + } + public function setGoogleDrivePathForLatestReport($googleDrivePathForLatestReport) + { + $this->googleDrivePathForLatestReport = $googleDrivePathForLatestReport; + } + public function getGoogleDrivePathForLatestReport() + { + return $this->googleDrivePathForLatestReport; + } + public function setLatestReportRunTimeMs($latestReportRunTimeMs) + { + $this->latestReportRunTimeMs = $latestReportRunTimeMs; + } + public function getLatestReportRunTimeMs() + { + return $this->latestReportRunTimeMs; + } + public function setLocale($locale) + { + $this->locale = $locale; + } + public function getLocale() + { + return $this->locale; + } + public function setReportCount($reportCount) + { + $this->reportCount = $reportCount; + } + public function getReportCount() + { + return $this->reportCount; + } + public function setRunning($running) + { + $this->running = $running; + } + public function getRunning() + { + return $this->running; + } + public function setSendNotification($sendNotification) + { + $this->sendNotification = $sendNotification; + } + public function getSendNotification() + { + return $this->sendNotification; + } + public function setShareEmailAddress($shareEmailAddress) + { + $this->shareEmailAddress = $shareEmailAddress; + } + public function getShareEmailAddress() + { + return $this->shareEmailAddress; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} + +class Google_Service_DoubleClickBidManager_QuerySchedule extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $endTimeMs; + public $frequency; + public $nextRunMinuteOfDay; + public $nextRunTimezoneCode; + + + public function setEndTimeMs($endTimeMs) + { + $this->endTimeMs = $endTimeMs; + } + public function getEndTimeMs() + { + return $this->endTimeMs; + } + public function setFrequency($frequency) + { + $this->frequency = $frequency; + } + public function getFrequency() + { + return $this->frequency; + } + public function setNextRunMinuteOfDay($nextRunMinuteOfDay) + { + $this->nextRunMinuteOfDay = $nextRunMinuteOfDay; + } + public function getNextRunMinuteOfDay() + { + return $this->nextRunMinuteOfDay; + } + public function setNextRunTimezoneCode($nextRunTimezoneCode) + { + $this->nextRunTimezoneCode = $nextRunTimezoneCode; + } + public function getNextRunTimezoneCode() + { + return $this->nextRunTimezoneCode; + } +} + +class Google_Service_DoubleClickBidManager_Report extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $keyType = 'Google_Service_DoubleClickBidManager_ReportKey'; + protected $keyDataType = ''; + protected $metadataType = 'Google_Service_DoubleClickBidManager_ReportMetadata'; + protected $metadataDataType = ''; + protected $paramsType = 'Google_Service_DoubleClickBidManager_Parameters'; + protected $paramsDataType = ''; + + + public function setKey(Google_Service_DoubleClickBidManager_ReportKey $key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setMetadata(Google_Service_DoubleClickBidManager_ReportMetadata $metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setParams(Google_Service_DoubleClickBidManager_Parameters $params) + { + $this->params = $params; + } + public function getParams() + { + return $this->params; + } +} + +class Google_Service_DoubleClickBidManager_ReportFailure extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $errorCode; + + + public function setErrorCode($errorCode) + { + $this->errorCode = $errorCode; + } + public function getErrorCode() + { + return $this->errorCode; + } +} + +class Google_Service_DoubleClickBidManager_ReportKey extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $queryId; + public $reportId; + + + public function setQueryId($queryId) + { + $this->queryId = $queryId; + } + public function getQueryId() + { + return $this->queryId; + } + public function setReportId($reportId) + { + $this->reportId = $reportId; + } + public function getReportId() + { + return $this->reportId; + } +} + +class Google_Service_DoubleClickBidManager_ReportMetadata extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $googleCloudStoragePath; + public $reportDataEndTimeMs; + public $reportDataStartTimeMs; + protected $statusType = 'Google_Service_DoubleClickBidManager_ReportStatus'; + protected $statusDataType = ''; + + + public function setGoogleCloudStoragePath($googleCloudStoragePath) + { + $this->googleCloudStoragePath = $googleCloudStoragePath; + } + public function getGoogleCloudStoragePath() + { + return $this->googleCloudStoragePath; + } + public function setReportDataEndTimeMs($reportDataEndTimeMs) + { + $this->reportDataEndTimeMs = $reportDataEndTimeMs; + } + public function getReportDataEndTimeMs() + { + return $this->reportDataEndTimeMs; + } + public function setReportDataStartTimeMs($reportDataStartTimeMs) + { + $this->reportDataStartTimeMs = $reportDataStartTimeMs; + } + public function getReportDataStartTimeMs() + { + return $this->reportDataStartTimeMs; + } + public function setStatus(Google_Service_DoubleClickBidManager_ReportStatus $status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} + +class Google_Service_DoubleClickBidManager_ReportStatus extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $failureType = 'Google_Service_DoubleClickBidManager_ReportFailure'; + protected $failureDataType = ''; + public $finishTimeMs; + public $format; + public $state; + + + public function setFailure(Google_Service_DoubleClickBidManager_ReportFailure $failure) + { + $this->failure = $failure; + } + public function getFailure() + { + return $this->failure; + } + public function setFinishTimeMs($finishTimeMs) + { + $this->finishTimeMs = $finishTimeMs; + } + public function getFinishTimeMs() + { + return $this->finishTimeMs; + } + public function setFormat($format) + { + $this->format = $format; + } + public function getFormat() + { + return $this->format; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } +} + +class Google_Service_DoubleClickBidManager_RowStatus extends Google_Collection +{ + protected $collection_key = 'errors'; + protected $internal_gapi_mappings = array( + ); + public $changed; + public $entityId; + public $entityName; + public $errors; + public $persisted; + public $rowNumber; + + + public function setChanged($changed) + { + $this->changed = $changed; + } + public function getChanged() + { + return $this->changed; + } + public function setEntityId($entityId) + { + $this->entityId = $entityId; + } + public function getEntityId() + { + return $this->entityId; + } + public function setEntityName($entityName) + { + $this->entityName = $entityName; + } + public function getEntityName() + { + return $this->entityName; + } + public function setErrors($errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } + public function setPersisted($persisted) + { + $this->persisted = $persisted; + } + public function getPersisted() + { + return $this->persisted; + } + public function setRowNumber($rowNumber) + { + $this->rowNumber = $rowNumber; + } + public function getRowNumber() + { + return $this->rowNumber; + } +} + +class Google_Service_DoubleClickBidManager_RunQueryRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $dataRange; + public $reportDataEndTimeMs; + public $reportDataStartTimeMs; + public $timezoneCode; + + + public function setDataRange($dataRange) + { + $this->dataRange = $dataRange; + } + public function getDataRange() + { + return $this->dataRange; + } + public function setReportDataEndTimeMs($reportDataEndTimeMs) + { + $this->reportDataEndTimeMs = $reportDataEndTimeMs; + } + public function getReportDataEndTimeMs() + { + return $this->reportDataEndTimeMs; + } + public function setReportDataStartTimeMs($reportDataStartTimeMs) + { + $this->reportDataStartTimeMs = $reportDataStartTimeMs; + } + public function getReportDataStartTimeMs() + { + return $this->reportDataStartTimeMs; + } + public function setTimezoneCode($timezoneCode) + { + $this->timezoneCode = $timezoneCode; + } + public function getTimezoneCode() + { + return $this->timezoneCode; + } +} + +class Google_Service_DoubleClickBidManager_UploadLineItemsRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $dryRun; + public $format; + public $lineItems; + + + public function setDryRun($dryRun) + { + $this->dryRun = $dryRun; + } + public function getDryRun() + { + return $this->dryRun; + } + public function setFormat($format) + { + $this->format = $format; + } + public function getFormat() + { + return $this->format; + } + public function setLineItems($lineItems) + { + $this->lineItems = $lineItems; + } + public function getLineItems() + { + return $this->lineItems; + } +} + +class Google_Service_DoubleClickBidManager_UploadLineItemsResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $uploadStatusType = 'Google_Service_DoubleClickBidManager_UploadStatus'; + protected $uploadStatusDataType = ''; + + + public function setUploadStatus(Google_Service_DoubleClickBidManager_UploadStatus $uploadStatus) + { + $this->uploadStatus = $uploadStatus; + } + public function getUploadStatus() + { + return $this->uploadStatus; + } +} + +class Google_Service_DoubleClickBidManager_UploadStatus extends Google_Collection +{ + protected $collection_key = 'rowStatus'; + protected $internal_gapi_mappings = array( + ); + public $errors; + protected $rowStatusType = 'Google_Service_DoubleClickBidManager_RowStatus'; + protected $rowStatusDataType = 'array'; + + + public function setErrors($errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } + public function setRowStatus($rowStatus) + { + $this->rowStatus = $rowStatus; + } + public function getRowStatus() + { + return $this->rowStatus; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Doubleclicksearch.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Doubleclicksearch.php new file mode 100644 index 0000000..a0bf15d --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Doubleclicksearch.php @@ -0,0 +1,1534 @@ + + * Report and modify your advertising data in DoubleClick Search (for example, + * campaigns, ad groups, keywords, and conversions).

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Doubleclicksearch extends Google_Service +{ + /** View and manage your advertising data in DoubleClick Search. */ + const DOUBLECLICKSEARCH = + "https://www.googleapis.com/auth/doubleclicksearch"; + + public $conversion; + public $reports; + public $savedColumns; + + + /** + * Constructs the internal representation of the Doubleclicksearch service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'doubleclicksearch/v2/'; + $this->version = 'v2'; + $this->serviceName = 'doubleclicksearch'; + + $this->conversion = new Google_Service_Doubleclicksearch_Conversion_Resource( + $this, + $this->serviceName, + 'conversion', + array( + 'methods' => array( + 'get' => array( + 'path' => 'agency/{agencyId}/advertiser/{advertiserId}/engine/{engineAccountId}/conversion', + 'httpMethod' => 'GET', + 'parameters' => array( + 'agencyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'advertiserId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'engineAccountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'endDate' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + 'rowCount' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + 'startDate' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + 'startRow' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + 'adGroupId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'campaignId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'adId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'criterionId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'insert' => array( + 'path' => 'conversion', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'patch' => array( + 'path' => 'conversion', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'advertiserId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'agencyId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'endDate' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + 'engineAccountId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'rowCount' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + 'startDate' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + 'startRow' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'conversion', + 'httpMethod' => 'PUT', + 'parameters' => array(), + ),'updateAvailability' => array( + 'path' => 'conversion/updateAvailability', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->reports = new Google_Service_Doubleclicksearch_Reports_Resource( + $this, + $this->serviceName, + 'reports', + array( + 'methods' => array( + 'generate' => array( + 'path' => 'reports/generate', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'get' => array( + 'path' => 'reports/{reportId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'reportId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getFile' => array( + 'path' => 'reports/{reportId}/files/{reportFragment}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'reportId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'reportFragment' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'request' => array( + 'path' => 'reports', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->savedColumns = new Google_Service_Doubleclicksearch_SavedColumns_Resource( + $this, + $this->serviceName, + 'savedColumns', + array( + 'methods' => array( + 'list' => array( + 'path' => 'agency/{agencyId}/advertiser/{advertiserId}/savedcolumns', + 'httpMethod' => 'GET', + 'parameters' => array( + 'agencyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'advertiserId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "conversion" collection of methods. + * Typical usage is: + * + * $doubleclicksearchService = new Google_Service_Doubleclicksearch(...); + * $conversion = $doubleclicksearchService->conversion; + * + */ +class Google_Service_Doubleclicksearch_Conversion_Resource extends Google_Service_Resource +{ + + /** + * Retrieves a list of conversions from a DoubleClick Search engine account. + * (conversion.get) + * + * @param string $agencyId Numeric ID of the agency. + * @param string $advertiserId Numeric ID of the advertiser. + * @param string $engineAccountId Numeric ID of the engine account. + * @param int $endDate Last date (inclusive) on which to retrieve conversions. + * Format is yyyymmdd. + * @param int $rowCount The number of conversions to return per call. + * @param int $startDate First date (inclusive) on which to retrieve + * conversions. Format is yyyymmdd. + * @param string $startRow The 0-based starting index for retrieving conversions + * results. + * @param array $optParams Optional parameters. + * + * @opt_param string adGroupId Numeric ID of the ad group. + * @opt_param string campaignId Numeric ID of the campaign. + * @opt_param string adId Numeric ID of the ad. + * @opt_param string criterionId Numeric ID of the criterion. + * @return Google_Service_Doubleclicksearch_ConversionList + */ + public function get($agencyId, $advertiserId, $engineAccountId, $endDate, $rowCount, $startDate, $startRow, $optParams = array()) + { + $params = array('agencyId' => $agencyId, 'advertiserId' => $advertiserId, 'engineAccountId' => $engineAccountId, 'endDate' => $endDate, 'rowCount' => $rowCount, 'startDate' => $startDate, 'startRow' => $startRow); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Doubleclicksearch_ConversionList"); + } + + /** + * Inserts a batch of new conversions into DoubleClick Search. + * (conversion.insert) + * + * @param Google_ConversionList $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Doubleclicksearch_ConversionList + */ + public function insert(Google_Service_Doubleclicksearch_ConversionList $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Doubleclicksearch_ConversionList"); + } + + /** + * Updates a batch of conversions in DoubleClick Search. This method supports + * patch semantics. (conversion.patch) + * + * @param string $advertiserId Numeric ID of the advertiser. + * @param string $agencyId Numeric ID of the agency. + * @param int $endDate Last date (inclusive) on which to retrieve conversions. + * Format is yyyymmdd. + * @param string $engineAccountId Numeric ID of the engine account. + * @param int $rowCount The number of conversions to return per call. + * @param int $startDate First date (inclusive) on which to retrieve + * conversions. Format is yyyymmdd. + * @param string $startRow The 0-based starting index for retrieving conversions + * results. + * @param Google_ConversionList $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Doubleclicksearch_ConversionList + */ + public function patch($advertiserId, $agencyId, $endDate, $engineAccountId, $rowCount, $startDate, $startRow, Google_Service_Doubleclicksearch_ConversionList $postBody, $optParams = array()) + { + $params = array('advertiserId' => $advertiserId, 'agencyId' => $agencyId, 'endDate' => $endDate, 'engineAccountId' => $engineAccountId, 'rowCount' => $rowCount, 'startDate' => $startDate, 'startRow' => $startRow, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Doubleclicksearch_ConversionList"); + } + + /** + * Updates a batch of conversions in DoubleClick Search. (conversion.update) + * + * @param Google_ConversionList $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Doubleclicksearch_ConversionList + */ + public function update(Google_Service_Doubleclicksearch_ConversionList $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Doubleclicksearch_ConversionList"); + } + + /** + * Updates the availabilities of a batch of floodlight activities in DoubleClick + * Search. (conversion.updateAvailability) + * + * @param Google_UpdateAvailabilityRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Doubleclicksearch_UpdateAvailabilityResponse + */ + public function updateAvailability(Google_Service_Doubleclicksearch_UpdateAvailabilityRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('updateAvailability', array($params), "Google_Service_Doubleclicksearch_UpdateAvailabilityResponse"); + } +} + +/** + * The "reports" collection of methods. + * Typical usage is: + * + * $doubleclicksearchService = new Google_Service_Doubleclicksearch(...); + * $reports = $doubleclicksearchService->reports; + * + */ +class Google_Service_Doubleclicksearch_Reports_Resource extends Google_Service_Resource +{ + + /** + * Generates and returns a report immediately. (reports.generate) + * + * @param Google_ReportRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Doubleclicksearch_Report + */ + public function generate(Google_Service_Doubleclicksearch_ReportRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('generate', array($params), "Google_Service_Doubleclicksearch_Report"); + } + + /** + * Polls for the status of a report request. (reports.get) + * + * @param string $reportId ID of the report request being polled. + * @param array $optParams Optional parameters. + * @return Google_Service_Doubleclicksearch_Report + */ + public function get($reportId, $optParams = array()) + { + $params = array('reportId' => $reportId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Doubleclicksearch_Report"); + } + + /** + * Downloads a report file encoded in UTF-8. (reports.getFile) + * + * @param string $reportId ID of the report. + * @param int $reportFragment The index of the report fragment to download. + * @param array $optParams Optional parameters. + */ + public function getFile($reportId, $reportFragment, $optParams = array()) + { + $params = array('reportId' => $reportId, 'reportFragment' => $reportFragment); + $params = array_merge($params, $optParams); + return $this->call('getFile', array($params)); + } + + /** + * Inserts a report request into the reporting system. (reports.request) + * + * @param Google_ReportRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Doubleclicksearch_Report + */ + public function request(Google_Service_Doubleclicksearch_ReportRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('request', array($params), "Google_Service_Doubleclicksearch_Report"); + } +} + +/** + * The "savedColumns" collection of methods. + * Typical usage is: + * + * $doubleclicksearchService = new Google_Service_Doubleclicksearch(...); + * $savedColumns = $doubleclicksearchService->savedColumns; + * + */ +class Google_Service_Doubleclicksearch_SavedColumns_Resource extends Google_Service_Resource +{ + + /** + * Retrieve the list of saved columns for a specified advertiser. + * (savedColumns.listSavedColumns) + * + * @param string $agencyId DS ID of the agency. + * @param string $advertiserId DS ID of the advertiser. + * @param array $optParams Optional parameters. + * @return Google_Service_Doubleclicksearch_SavedColumnList + */ + public function listSavedColumns($agencyId, $advertiserId, $optParams = array()) + { + $params = array('agencyId' => $agencyId, 'advertiserId' => $advertiserId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Doubleclicksearch_SavedColumnList"); + } +} + + + + +class Google_Service_Doubleclicksearch_Availability extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $advertiserId; + public $agencyId; + public $availabilityTimestamp; + public $segmentationId; + public $segmentationName; + public $segmentationType; + + + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setAgencyId($agencyId) + { + $this->agencyId = $agencyId; + } + public function getAgencyId() + { + return $this->agencyId; + } + public function setAvailabilityTimestamp($availabilityTimestamp) + { + $this->availabilityTimestamp = $availabilityTimestamp; + } + public function getAvailabilityTimestamp() + { + return $this->availabilityTimestamp; + } + public function setSegmentationId($segmentationId) + { + $this->segmentationId = $segmentationId; + } + public function getSegmentationId() + { + return $this->segmentationId; + } + public function setSegmentationName($segmentationName) + { + $this->segmentationName = $segmentationName; + } + public function getSegmentationName() + { + return $this->segmentationName; + } + public function setSegmentationType($segmentationType) + { + $this->segmentationType = $segmentationType; + } + public function getSegmentationType() + { + return $this->segmentationType; + } +} + +class Google_Service_Doubleclicksearch_Conversion extends Google_Collection +{ + protected $collection_key = 'customMetric'; + protected $internal_gapi_mappings = array( + ); + public $adGroupId; + public $adId; + public $advertiserId; + public $agencyId; + public $attributionModel; + public $campaignId; + public $channel; + public $clickId; + public $conversionId; + public $conversionModifiedTimestamp; + public $conversionTimestamp; + public $countMillis; + public $criterionId; + public $currencyCode; + protected $customDimensionType = 'Google_Service_Doubleclicksearch_CustomDimension'; + protected $customDimensionDataType = 'array'; + protected $customMetricType = 'Google_Service_Doubleclicksearch_CustomMetric'; + protected $customMetricDataType = 'array'; + public $deviceType; + public $dsConversionId; + public $engineAccountId; + public $floodlightOrderId; + public $inventoryAccountId; + public $productCountry; + public $productGroupId; + public $productId; + public $productLanguage; + public $quantityMillis; + public $revenueMicros; + public $segmentationId; + public $segmentationName; + public $segmentationType; + public $state; + public $storeId; + public $type; + + + public function setAdGroupId($adGroupId) + { + $this->adGroupId = $adGroupId; + } + public function getAdGroupId() + { + return $this->adGroupId; + } + public function setAdId($adId) + { + $this->adId = $adId; + } + public function getAdId() + { + return $this->adId; + } + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setAgencyId($agencyId) + { + $this->agencyId = $agencyId; + } + public function getAgencyId() + { + return $this->agencyId; + } + public function setAttributionModel($attributionModel) + { + $this->attributionModel = $attributionModel; + } + public function getAttributionModel() + { + return $this->attributionModel; + } + public function setCampaignId($campaignId) + { + $this->campaignId = $campaignId; + } + public function getCampaignId() + { + return $this->campaignId; + } + public function setChannel($channel) + { + $this->channel = $channel; + } + public function getChannel() + { + return $this->channel; + } + public function setClickId($clickId) + { + $this->clickId = $clickId; + } + public function getClickId() + { + return $this->clickId; + } + public function setConversionId($conversionId) + { + $this->conversionId = $conversionId; + } + public function getConversionId() + { + return $this->conversionId; + } + public function setConversionModifiedTimestamp($conversionModifiedTimestamp) + { + $this->conversionModifiedTimestamp = $conversionModifiedTimestamp; + } + public function getConversionModifiedTimestamp() + { + return $this->conversionModifiedTimestamp; + } + public function setConversionTimestamp($conversionTimestamp) + { + $this->conversionTimestamp = $conversionTimestamp; + } + public function getConversionTimestamp() + { + return $this->conversionTimestamp; + } + public function setCountMillis($countMillis) + { + $this->countMillis = $countMillis; + } + public function getCountMillis() + { + return $this->countMillis; + } + public function setCriterionId($criterionId) + { + $this->criterionId = $criterionId; + } + public function getCriterionId() + { + return $this->criterionId; + } + public function setCurrencyCode($currencyCode) + { + $this->currencyCode = $currencyCode; + } + public function getCurrencyCode() + { + return $this->currencyCode; + } + public function setCustomDimension($customDimension) + { + $this->customDimension = $customDimension; + } + public function getCustomDimension() + { + return $this->customDimension; + } + public function setCustomMetric($customMetric) + { + $this->customMetric = $customMetric; + } + public function getCustomMetric() + { + return $this->customMetric; + } + public function setDeviceType($deviceType) + { + $this->deviceType = $deviceType; + } + public function getDeviceType() + { + return $this->deviceType; + } + public function setDsConversionId($dsConversionId) + { + $this->dsConversionId = $dsConversionId; + } + public function getDsConversionId() + { + return $this->dsConversionId; + } + public function setEngineAccountId($engineAccountId) + { + $this->engineAccountId = $engineAccountId; + } + public function getEngineAccountId() + { + return $this->engineAccountId; + } + public function setFloodlightOrderId($floodlightOrderId) + { + $this->floodlightOrderId = $floodlightOrderId; + } + public function getFloodlightOrderId() + { + return $this->floodlightOrderId; + } + public function setInventoryAccountId($inventoryAccountId) + { + $this->inventoryAccountId = $inventoryAccountId; + } + public function getInventoryAccountId() + { + return $this->inventoryAccountId; + } + public function setProductCountry($productCountry) + { + $this->productCountry = $productCountry; + } + public function getProductCountry() + { + return $this->productCountry; + } + public function setProductGroupId($productGroupId) + { + $this->productGroupId = $productGroupId; + } + public function getProductGroupId() + { + return $this->productGroupId; + } + public function setProductId($productId) + { + $this->productId = $productId; + } + public function getProductId() + { + return $this->productId; + } + public function setProductLanguage($productLanguage) + { + $this->productLanguage = $productLanguage; + } + public function getProductLanguage() + { + return $this->productLanguage; + } + public function setQuantityMillis($quantityMillis) + { + $this->quantityMillis = $quantityMillis; + } + public function getQuantityMillis() + { + return $this->quantityMillis; + } + public function setRevenueMicros($revenueMicros) + { + $this->revenueMicros = $revenueMicros; + } + public function getRevenueMicros() + { + return $this->revenueMicros; + } + public function setSegmentationId($segmentationId) + { + $this->segmentationId = $segmentationId; + } + public function getSegmentationId() + { + return $this->segmentationId; + } + public function setSegmentationName($segmentationName) + { + $this->segmentationName = $segmentationName; + } + public function getSegmentationName() + { + return $this->segmentationName; + } + public function setSegmentationType($segmentationType) + { + $this->segmentationType = $segmentationType; + } + public function getSegmentationType() + { + return $this->segmentationType; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } + public function setStoreId($storeId) + { + $this->storeId = $storeId; + } + public function getStoreId() + { + return $this->storeId; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Doubleclicksearch_ConversionList extends Google_Collection +{ + protected $collection_key = 'conversion'; + protected $internal_gapi_mappings = array( + ); + protected $conversionType = 'Google_Service_Doubleclicksearch_Conversion'; + protected $conversionDataType = 'array'; + public $kind; + + + public function setConversion($conversion) + { + $this->conversion = $conversion; + } + public function getConversion() + { + return $this->conversion; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Doubleclicksearch_CustomDimension extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $name; + public $value; + + + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Doubleclicksearch_CustomMetric extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $name; + public $value; + + + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Doubleclicksearch_Report extends Google_Collection +{ + protected $collection_key = 'rows'; + protected $internal_gapi_mappings = array( + ); + protected $filesType = 'Google_Service_Doubleclicksearch_ReportFiles'; + protected $filesDataType = 'array'; + public $id; + public $isReportReady; + public $kind; + protected $requestType = 'Google_Service_Doubleclicksearch_ReportRequest'; + protected $requestDataType = ''; + public $rowCount; + public $rows; + public $statisticsCurrencyCode; + public $statisticsTimeZone; + + + public function setFiles($files) + { + $this->files = $files; + } + public function getFiles() + { + return $this->files; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIsReportReady($isReportReady) + { + $this->isReportReady = $isReportReady; + } + public function getIsReportReady() + { + return $this->isReportReady; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRequest(Google_Service_Doubleclicksearch_ReportRequest $request) + { + $this->request = $request; + } + public function getRequest() + { + return $this->request; + } + public function setRowCount($rowCount) + { + $this->rowCount = $rowCount; + } + public function getRowCount() + { + return $this->rowCount; + } + public function setRows($rows) + { + $this->rows = $rows; + } + public function getRows() + { + return $this->rows; + } + public function setStatisticsCurrencyCode($statisticsCurrencyCode) + { + $this->statisticsCurrencyCode = $statisticsCurrencyCode; + } + public function getStatisticsCurrencyCode() + { + return $this->statisticsCurrencyCode; + } + public function setStatisticsTimeZone($statisticsTimeZone) + { + $this->statisticsTimeZone = $statisticsTimeZone; + } + public function getStatisticsTimeZone() + { + return $this->statisticsTimeZone; + } +} + +class Google_Service_Doubleclicksearch_ReportApiColumnSpec extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $columnName; + public $customDimensionName; + public $customMetricName; + public $endDate; + public $groupByColumn; + public $headerText; + public $platformSource; + public $savedColumnName; + public $startDate; + + + public function setColumnName($columnName) + { + $this->columnName = $columnName; + } + public function getColumnName() + { + return $this->columnName; + } + public function setCustomDimensionName($customDimensionName) + { + $this->customDimensionName = $customDimensionName; + } + public function getCustomDimensionName() + { + return $this->customDimensionName; + } + public function setCustomMetricName($customMetricName) + { + $this->customMetricName = $customMetricName; + } + public function getCustomMetricName() + { + return $this->customMetricName; + } + public function setEndDate($endDate) + { + $this->endDate = $endDate; + } + public function getEndDate() + { + return $this->endDate; + } + public function setGroupByColumn($groupByColumn) + { + $this->groupByColumn = $groupByColumn; + } + public function getGroupByColumn() + { + return $this->groupByColumn; + } + public function setHeaderText($headerText) + { + $this->headerText = $headerText; + } + public function getHeaderText() + { + return $this->headerText; + } + public function setPlatformSource($platformSource) + { + $this->platformSource = $platformSource; + } + public function getPlatformSource() + { + return $this->platformSource; + } + public function setSavedColumnName($savedColumnName) + { + $this->savedColumnName = $savedColumnName; + } + public function getSavedColumnName() + { + return $this->savedColumnName; + } + public function setStartDate($startDate) + { + $this->startDate = $startDate; + } + public function getStartDate() + { + return $this->startDate; + } +} + +class Google_Service_Doubleclicksearch_ReportFiles extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $byteCount; + public $url; + + + public function setByteCount($byteCount) + { + $this->byteCount = $byteCount; + } + public function getByteCount() + { + return $this->byteCount; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_Doubleclicksearch_ReportRequest extends Google_Collection +{ + protected $collection_key = 'orderBy'; + protected $internal_gapi_mappings = array( + ); + protected $columnsType = 'Google_Service_Doubleclicksearch_ReportApiColumnSpec'; + protected $columnsDataType = 'array'; + public $downloadFormat; + protected $filtersType = 'Google_Service_Doubleclicksearch_ReportRequestFilters'; + protected $filtersDataType = 'array'; + public $includeDeletedEntities; + public $includeRemovedEntities; + public $maxRowsPerFile; + protected $orderByType = 'Google_Service_Doubleclicksearch_ReportRequestOrderBy'; + protected $orderByDataType = 'array'; + protected $reportScopeType = 'Google_Service_Doubleclicksearch_ReportRequestReportScope'; + protected $reportScopeDataType = ''; + public $reportType; + public $rowCount; + public $startRow; + public $statisticsCurrency; + protected $timeRangeType = 'Google_Service_Doubleclicksearch_ReportRequestTimeRange'; + protected $timeRangeDataType = ''; + public $verifySingleTimeZone; + + + public function setColumns($columns) + { + $this->columns = $columns; + } + public function getColumns() + { + return $this->columns; + } + public function setDownloadFormat($downloadFormat) + { + $this->downloadFormat = $downloadFormat; + } + public function getDownloadFormat() + { + return $this->downloadFormat; + } + public function setFilters($filters) + { + $this->filters = $filters; + } + public function getFilters() + { + return $this->filters; + } + public function setIncludeDeletedEntities($includeDeletedEntities) + { + $this->includeDeletedEntities = $includeDeletedEntities; + } + public function getIncludeDeletedEntities() + { + return $this->includeDeletedEntities; + } + public function setIncludeRemovedEntities($includeRemovedEntities) + { + $this->includeRemovedEntities = $includeRemovedEntities; + } + public function getIncludeRemovedEntities() + { + return $this->includeRemovedEntities; + } + public function setMaxRowsPerFile($maxRowsPerFile) + { + $this->maxRowsPerFile = $maxRowsPerFile; + } + public function getMaxRowsPerFile() + { + return $this->maxRowsPerFile; + } + public function setOrderBy($orderBy) + { + $this->orderBy = $orderBy; + } + public function getOrderBy() + { + return $this->orderBy; + } + public function setReportScope(Google_Service_Doubleclicksearch_ReportRequestReportScope $reportScope) + { + $this->reportScope = $reportScope; + } + public function getReportScope() + { + return $this->reportScope; + } + public function setReportType($reportType) + { + $this->reportType = $reportType; + } + public function getReportType() + { + return $this->reportType; + } + public function setRowCount($rowCount) + { + $this->rowCount = $rowCount; + } + public function getRowCount() + { + return $this->rowCount; + } + public function setStartRow($startRow) + { + $this->startRow = $startRow; + } + public function getStartRow() + { + return $this->startRow; + } + public function setStatisticsCurrency($statisticsCurrency) + { + $this->statisticsCurrency = $statisticsCurrency; + } + public function getStatisticsCurrency() + { + return $this->statisticsCurrency; + } + public function setTimeRange(Google_Service_Doubleclicksearch_ReportRequestTimeRange $timeRange) + { + $this->timeRange = $timeRange; + } + public function getTimeRange() + { + return $this->timeRange; + } + public function setVerifySingleTimeZone($verifySingleTimeZone) + { + $this->verifySingleTimeZone = $verifySingleTimeZone; + } + public function getVerifySingleTimeZone() + { + return $this->verifySingleTimeZone; + } +} + +class Google_Service_Doubleclicksearch_ReportRequestFilters extends Google_Collection +{ + protected $collection_key = 'values'; + protected $internal_gapi_mappings = array( + ); + protected $columnType = 'Google_Service_Doubleclicksearch_ReportApiColumnSpec'; + protected $columnDataType = ''; + public $operator; + public $values; + + + public function setColumn(Google_Service_Doubleclicksearch_ReportApiColumnSpec $column) + { + $this->column = $column; + } + public function getColumn() + { + return $this->column; + } + public function setOperator($operator) + { + $this->operator = $operator; + } + public function getOperator() + { + return $this->operator; + } + public function setValues($values) + { + $this->values = $values; + } + public function getValues() + { + return $this->values; + } +} + +class Google_Service_Doubleclicksearch_ReportRequestOrderBy extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $columnType = 'Google_Service_Doubleclicksearch_ReportApiColumnSpec'; + protected $columnDataType = ''; + public $sortOrder; + + + public function setColumn(Google_Service_Doubleclicksearch_ReportApiColumnSpec $column) + { + $this->column = $column; + } + public function getColumn() + { + return $this->column; + } + public function setSortOrder($sortOrder) + { + $this->sortOrder = $sortOrder; + } + public function getSortOrder() + { + return $this->sortOrder; + } +} + +class Google_Service_Doubleclicksearch_ReportRequestReportScope extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $adGroupId; + public $adId; + public $advertiserId; + public $agencyId; + public $campaignId; + public $engineAccountId; + public $keywordId; + + + public function setAdGroupId($adGroupId) + { + $this->adGroupId = $adGroupId; + } + public function getAdGroupId() + { + return $this->adGroupId; + } + public function setAdId($adId) + { + $this->adId = $adId; + } + public function getAdId() + { + return $this->adId; + } + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setAgencyId($agencyId) + { + $this->agencyId = $agencyId; + } + public function getAgencyId() + { + return $this->agencyId; + } + public function setCampaignId($campaignId) + { + $this->campaignId = $campaignId; + } + public function getCampaignId() + { + return $this->campaignId; + } + public function setEngineAccountId($engineAccountId) + { + $this->engineAccountId = $engineAccountId; + } + public function getEngineAccountId() + { + return $this->engineAccountId; + } + public function setKeywordId($keywordId) + { + $this->keywordId = $keywordId; + } + public function getKeywordId() + { + return $this->keywordId; + } +} + +class Google_Service_Doubleclicksearch_ReportRequestTimeRange extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $changedAttributesSinceTimestamp; + public $changedMetricsSinceTimestamp; + public $endDate; + public $startDate; + + + public function setChangedAttributesSinceTimestamp($changedAttributesSinceTimestamp) + { + $this->changedAttributesSinceTimestamp = $changedAttributesSinceTimestamp; + } + public function getChangedAttributesSinceTimestamp() + { + return $this->changedAttributesSinceTimestamp; + } + public function setChangedMetricsSinceTimestamp($changedMetricsSinceTimestamp) + { + $this->changedMetricsSinceTimestamp = $changedMetricsSinceTimestamp; + } + public function getChangedMetricsSinceTimestamp() + { + return $this->changedMetricsSinceTimestamp; + } + public function setEndDate($endDate) + { + $this->endDate = $endDate; + } + public function getEndDate() + { + return $this->endDate; + } + public function setStartDate($startDate) + { + $this->startDate = $startDate; + } + public function getStartDate() + { + return $this->startDate; + } +} + +class Google_Service_Doubleclicksearch_ReportRow extends Google_Model +{ +} + +class Google_Service_Doubleclicksearch_SavedColumn extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + public $savedColumnName; + public $type; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSavedColumnName($savedColumnName) + { + $this->savedColumnName = $savedColumnName; + } + public function getSavedColumnName() + { + return $this->savedColumnName; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Doubleclicksearch_SavedColumnList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Doubleclicksearch_SavedColumn'; + protected $itemsDataType = 'array'; + public $kind; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Doubleclicksearch_UpdateAvailabilityRequest extends Google_Collection +{ + protected $collection_key = 'availabilities'; + protected $internal_gapi_mappings = array( + ); + protected $availabilitiesType = 'Google_Service_Doubleclicksearch_Availability'; + protected $availabilitiesDataType = 'array'; + + + public function setAvailabilities($availabilities) + { + $this->availabilities = $availabilities; + } + public function getAvailabilities() + { + return $this->availabilities; + } +} + +class Google_Service_Doubleclicksearch_UpdateAvailabilityResponse extends Google_Collection +{ + protected $collection_key = 'availabilities'; + protected $internal_gapi_mappings = array( + ); + protected $availabilitiesType = 'Google_Service_Doubleclicksearch_Availability'; + protected $availabilitiesDataType = 'array'; + + + public function setAvailabilities($availabilities) + { + $this->availabilities = $availabilities; + } + public function getAvailabilities() + { + return $this->availabilities; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Drive.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Drive.php new file mode 100644 index 0000000..ab06a05 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Drive.php @@ -0,0 +1,5775 @@ + + * The API to interact with Drive.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Drive extends Google_Service +{ + /** View and manage the files in your Google Drive. */ + const DRIVE = + "https://www.googleapis.com/auth/drive"; + /** View and manage its own configuration data in your Google Drive. */ + const DRIVE_APPDATA = + "https://www.googleapis.com/auth/drive.appdata"; + /** View your Google Drive apps. */ + const DRIVE_APPS_READONLY = + "https://www.googleapis.com/auth/drive.apps.readonly"; + /** View and manage Google Drive files and folders that you have opened or created with this app. */ + const DRIVE_FILE = + "https://www.googleapis.com/auth/drive.file"; + /** View and manage metadata of files in your Google Drive. */ + const DRIVE_METADATA = + "https://www.googleapis.com/auth/drive.metadata"; + /** View metadata for files in your Google Drive. */ + const DRIVE_METADATA_READONLY = + "https://www.googleapis.com/auth/drive.metadata.readonly"; + /** View the photos, videos and albums in your Google Photos. */ + const DRIVE_PHOTOS_READONLY = + "https://www.googleapis.com/auth/drive.photos.readonly"; + /** View the files in your Google Drive. */ + const DRIVE_READONLY = + "https://www.googleapis.com/auth/drive.readonly"; + /** Modify your Google Apps Script scripts' behavior. */ + const DRIVE_SCRIPTS = + "https://www.googleapis.com/auth/drive.scripts"; + + public $about; + public $apps; + public $changes; + public $channels; + public $children; + public $comments; + public $files; + public $parents; + public $permissions; + public $properties; + public $realtime; + public $replies; + public $revisions; + + + /** + * Constructs the internal representation of the Drive service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'drive/v2/'; + $this->version = 'v2'; + $this->serviceName = 'drive'; + + $this->about = new Google_Service_Drive_About_Resource( + $this, + $this->serviceName, + 'about', + array( + 'methods' => array( + 'get' => array( + 'path' => 'about', + 'httpMethod' => 'GET', + 'parameters' => array( + 'includeSubscribed' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxChangeIdCount' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startChangeId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->apps = new Google_Service_Drive_Apps_Resource( + $this, + $this->serviceName, + 'apps', + array( + 'methods' => array( + 'get' => array( + 'path' => 'apps/{appId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'appId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'apps', + 'httpMethod' => 'GET', + 'parameters' => array( + 'languageCode' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'appFilterExtensions' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'appFilterMimeTypes' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->changes = new Google_Service_Drive_Changes_Resource( + $this, + $this->serviceName, + 'changes', + array( + 'methods' => array( + 'get' => array( + 'path' => 'changes/{changeId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'changeId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'changes', + 'httpMethod' => 'GET', + 'parameters' => array( + 'includeSubscribed' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'includeDeleted' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'spaces' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startChangeId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'watch' => array( + 'path' => 'changes/watch', + 'httpMethod' => 'POST', + 'parameters' => array( + 'includeSubscribed' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'includeDeleted' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'spaces' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startChangeId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->channels = new Google_Service_Drive_Channels_Resource( + $this, + $this->serviceName, + 'channels', + array( + 'methods' => array( + 'stop' => array( + 'path' => 'channels/stop', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->children = new Google_Service_Drive_Children_Resource( + $this, + $this->serviceName, + 'children', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'files/{folderId}/children/{childId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'folderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'childId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'files/{folderId}/children/{childId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'folderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'childId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'files/{folderId}/children', + 'httpMethod' => 'POST', + 'parameters' => array( + 'folderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'files/{folderId}/children', + 'httpMethod' => 'GET', + 'parameters' => array( + 'folderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'q' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->comments = new Google_Service_Drive_Comments_Resource( + $this, + $this->serviceName, + 'comments', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'files/{fileId}/comments/{commentId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'commentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'files/{fileId}/comments/{commentId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'commentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'includeDeleted' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'insert' => array( + 'path' => 'files/{fileId}/comments', + 'httpMethod' => 'POST', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'files/{fileId}/comments', + 'httpMethod' => 'GET', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'updatedMin' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'includeDeleted' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => 'files/{fileId}/comments/{commentId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'commentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'files/{fileId}/comments/{commentId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'commentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->files = new Google_Service_Drive_Files_Resource( + $this, + $this->serviceName, + 'files', + array( + 'methods' => array( + 'copy' => array( + 'path' => 'files/{fileId}/copy', + 'httpMethod' => 'POST', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'convert' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'ocrLanguage' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'visibility' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pinned' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'ocr' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'timedTextTrackName' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'timedTextLanguage' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'delete' => array( + 'path' => 'files/{fileId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'emptyTrash' => array( + 'path' => 'files/trash', + 'httpMethod' => 'DELETE', + 'parameters' => array(), + ),'generateIds' => array( + 'path' => 'files/generateIds', + 'httpMethod' => 'GET', + 'parameters' => array( + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'space' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'get' => array( + 'path' => 'files/{fileId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'acknowledgeAbuse' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'updateViewedDate' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'revisionId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'insert' => array( + 'path' => 'files', + 'httpMethod' => 'POST', + 'parameters' => array( + 'convert' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'useContentAsIndexableText' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'ocrLanguage' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'visibility' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pinned' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'ocr' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'timedTextTrackName' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'timedTextLanguage' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'files', + 'httpMethod' => 'GET', + 'parameters' => array( + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'q' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'spaces' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'corpus' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'files/{fileId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'addParents' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'modifiedDateBehavior' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'removeParents' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'updateViewedDate' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'setModifiedDate' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'useContentAsIndexableText' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'convert' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'ocrLanguage' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pinned' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'newRevision' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'ocr' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'timedTextLanguage' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'timedTextTrackName' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'touch' => array( + 'path' => 'files/{fileId}/touch', + 'httpMethod' => 'POST', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'trash' => array( + 'path' => 'files/{fileId}/trash', + 'httpMethod' => 'POST', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'untrash' => array( + 'path' => 'files/{fileId}/untrash', + 'httpMethod' => 'POST', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'files/{fileId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'addParents' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'modifiedDateBehavior' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'removeParents' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'updateViewedDate' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'setModifiedDate' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'useContentAsIndexableText' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'convert' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'ocrLanguage' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pinned' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'newRevision' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'ocr' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'timedTextLanguage' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'timedTextTrackName' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'watch' => array( + 'path' => 'files/{fileId}/watch', + 'httpMethod' => 'POST', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'acknowledgeAbuse' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'updateViewedDate' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'revisionId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->parents = new Google_Service_Drive_Parents_Resource( + $this, + $this->serviceName, + 'parents', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'files/{fileId}/parents/{parentId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'parentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'files/{fileId}/parents/{parentId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'parentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'files/{fileId}/parents', + 'httpMethod' => 'POST', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'files/{fileId}/parents', + 'httpMethod' => 'GET', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->permissions = new Google_Service_Drive_Permissions_Resource( + $this, + $this->serviceName, + 'permissions', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'files/{fileId}/permissions/{permissionId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'permissionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'files/{fileId}/permissions/{permissionId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'permissionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getIdForEmail' => array( + 'path' => 'permissionIds/{email}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'email' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'files/{fileId}/permissions', + 'httpMethod' => 'POST', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'emailMessage' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sendNotificationEmails' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'list' => array( + 'path' => 'files/{fileId}/permissions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'files/{fileId}/permissions/{permissionId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'permissionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'transferOwnership' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'update' => array( + 'path' => 'files/{fileId}/permissions/{permissionId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'permissionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'transferOwnership' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->properties = new Google_Service_Drive_Properties_Resource( + $this, + $this->serviceName, + 'properties', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'files/{fileId}/properties/{propertyKey}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'propertyKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'visibility' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'get' => array( + 'path' => 'files/{fileId}/properties/{propertyKey}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'propertyKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'visibility' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'insert' => array( + 'path' => 'files/{fileId}/properties', + 'httpMethod' => 'POST', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'files/{fileId}/properties', + 'httpMethod' => 'GET', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'files/{fileId}/properties/{propertyKey}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'propertyKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'visibility' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'files/{fileId}/properties/{propertyKey}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'propertyKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'visibility' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->realtime = new Google_Service_Drive_Realtime_Resource( + $this, + $this->serviceName, + 'realtime', + array( + 'methods' => array( + 'get' => array( + 'path' => 'files/{fileId}/realtime', + 'httpMethod' => 'GET', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'revision' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'update' => array( + 'path' => 'files/{fileId}/realtime', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'baseRevision' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->replies = new Google_Service_Drive_Replies_Resource( + $this, + $this->serviceName, + 'replies', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'files/{fileId}/comments/{commentId}/replies/{replyId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'commentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'replyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'files/{fileId}/comments/{commentId}/replies/{replyId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'commentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'replyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'includeDeleted' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'insert' => array( + 'path' => 'files/{fileId}/comments/{commentId}/replies', + 'httpMethod' => 'POST', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'commentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'files/{fileId}/comments/{commentId}/replies', + 'httpMethod' => 'GET', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'commentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'includeDeleted' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => 'files/{fileId}/comments/{commentId}/replies/{replyId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'commentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'replyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'files/{fileId}/comments/{commentId}/replies/{replyId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'commentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'replyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->revisions = new Google_Service_Drive_Revisions_Resource( + $this, + $this->serviceName, + 'revisions', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'files/{fileId}/revisions/{revisionId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'revisionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'files/{fileId}/revisions/{revisionId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'revisionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'files/{fileId}/revisions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'files/{fileId}/revisions/{revisionId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'revisionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'files/{fileId}/revisions/{revisionId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'fileId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'revisionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "about" collection of methods. + * Typical usage is: + * + * $driveService = new Google_Service_Drive(...); + * $about = $driveService->about; + * + */ +class Google_Service_Drive_About_Resource extends Google_Service_Resource +{ + + /** + * Gets the information about the current user along with Drive API settings + * (about.get) + * + * @param array $optParams Optional parameters. + * + * @opt_param bool includeSubscribed When calculating the number of remaining + * change IDs, whether to include public files the user has opened and shared + * files. When set to false, this counts only change IDs for owned files and any + * shared or public files that the user has explicitly added to a folder they + * own. + * @opt_param string maxChangeIdCount Maximum number of remaining change IDs to + * count + * @opt_param string startChangeId Change ID to start counting from when + * calculating number of remaining change IDs + * @return Google_Service_Drive_About + */ + public function get($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Drive_About"); + } +} + +/** + * The "apps" collection of methods. + * Typical usage is: + * + * $driveService = new Google_Service_Drive(...); + * $apps = $driveService->apps; + * + */ +class Google_Service_Drive_Apps_Resource extends Google_Service_Resource +{ + + /** + * Gets a specific app. (apps.get) + * + * @param string $appId The ID of the app. + * @param array $optParams Optional parameters. + * @return Google_Service_Drive_App + */ + public function get($appId, $optParams = array()) + { + $params = array('appId' => $appId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Drive_App"); + } + + /** + * Lists a user's installed apps. (apps.listApps) + * + * @param array $optParams Optional parameters. + * + * @opt_param string languageCode A language or locale code, as defined by BCP + * 47, with some extensions from Unicode's LDML format + * (http://www.unicode.org/reports/tr35/). + * @opt_param string appFilterExtensions A comma-separated list of file + * extensions for open with filtering. All apps within the given app query scope + * which can open any of the given file extensions will be included in the + * response. If appFilterMimeTypes are provided as well, the result is a union + * of the two resulting app lists. + * @opt_param string appFilterMimeTypes A comma-separated list of MIME types for + * open with filtering. All apps within the given app query scope which can open + * any of the given MIME types will be included in the response. If + * appFilterExtensions are provided as well, the result is a union of the two + * resulting app lists. + * @return Google_Service_Drive_AppList + */ + public function listApps($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Drive_AppList"); + } +} + +/** + * The "changes" collection of methods. + * Typical usage is: + * + * $driveService = new Google_Service_Drive(...); + * $changes = $driveService->changes; + * + */ +class Google_Service_Drive_Changes_Resource extends Google_Service_Resource +{ + + /** + * Gets a specific change. (changes.get) + * + * @param string $changeId The ID of the change. + * @param array $optParams Optional parameters. + * @return Google_Service_Drive_Change + */ + public function get($changeId, $optParams = array()) + { + $params = array('changeId' => $changeId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Drive_Change"); + } + + /** + * Lists the changes for a user. (changes.listChanges) + * + * @param array $optParams Optional parameters. + * + * @opt_param bool includeSubscribed Whether to include public files the user + * has opened and shared files. When set to false, the list only includes owned + * files plus any shared or public files the user has explicitly added to a + * folder they own. + * @opt_param bool includeDeleted Whether to include deleted items. + * @opt_param int maxResults Maximum number of changes to return. + * @opt_param string pageToken Page token for changes. + * @opt_param string spaces A comma-separated list of spaces to query. Supported + * values are 'drive', 'appDataFolder' and 'photos'. + * @opt_param string startChangeId Change ID to start listing changes from. + * @return Google_Service_Drive_ChangeList + */ + public function listChanges($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Drive_ChangeList"); + } + + /** + * Subscribe to changes for a user. (changes.watch) + * + * @param Google_Channel $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool includeSubscribed Whether to include public files the user + * has opened and shared files. When set to false, the list only includes owned + * files plus any shared or public files the user has explicitly added to a + * folder they own. + * @opt_param bool includeDeleted Whether to include deleted items. + * @opt_param int maxResults Maximum number of changes to return. + * @opt_param string pageToken Page token for changes. + * @opt_param string spaces A comma-separated list of spaces to query. Supported + * values are 'drive', 'appDataFolder' and 'photos'. + * @opt_param string startChangeId Change ID to start listing changes from. + * @return Google_Service_Drive_Channel + */ + public function watch(Google_Service_Drive_Channel $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('watch', array($params), "Google_Service_Drive_Channel"); + } +} + +/** + * The "channels" collection of methods. + * Typical usage is: + * + * $driveService = new Google_Service_Drive(...); + * $channels = $driveService->channels; + * + */ +class Google_Service_Drive_Channels_Resource extends Google_Service_Resource +{ + + /** + * Stop watching resources through this channel (channels.stop) + * + * @param Google_Channel $postBody + * @param array $optParams Optional parameters. + */ + public function stop(Google_Service_Drive_Channel $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('stop', array($params)); + } +} + +/** + * The "children" collection of methods. + * Typical usage is: + * + * $driveService = new Google_Service_Drive(...); + * $children = $driveService->children; + * + */ +class Google_Service_Drive_Children_Resource extends Google_Service_Resource +{ + + /** + * Removes a child from a folder. (children.delete) + * + * @param string $folderId The ID of the folder. + * @param string $childId The ID of the child. + * @param array $optParams Optional parameters. + */ + public function delete($folderId, $childId, $optParams = array()) + { + $params = array('folderId' => $folderId, 'childId' => $childId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Gets a specific child reference. (children.get) + * + * @param string $folderId The ID of the folder. + * @param string $childId The ID of the child. + * @param array $optParams Optional parameters. + * @return Google_Service_Drive_ChildReference + */ + public function get($folderId, $childId, $optParams = array()) + { + $params = array('folderId' => $folderId, 'childId' => $childId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Drive_ChildReference"); + } + + /** + * Inserts a file into a folder. (children.insert) + * + * @param string $folderId The ID of the folder. + * @param Google_ChildReference $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Drive_ChildReference + */ + public function insert($folderId, Google_Service_Drive_ChildReference $postBody, $optParams = array()) + { + $params = array('folderId' => $folderId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Drive_ChildReference"); + } + + /** + * Lists a folder's children. (children.listChildren) + * + * @param string $folderId The ID of the folder. + * @param array $optParams Optional parameters. + * + * @opt_param string orderBy A comma-separated list of sort keys. Valid keys are + * 'createdDate', 'folder', 'lastViewedByMeDate', 'modifiedByMeDate', + * 'modifiedDate', 'quotaBytesUsed', 'recency', 'sharedWithMeDate', 'starred', + * and 'title'. Each key sorts ascending by default, but may be reversed with + * the 'desc' modifier. Example usage: ?orderBy=folder,modifiedDate desc,title. + * Please note that there is a current limitation for users with approximately + * one million files in which the requested sort order is ignored. + * @opt_param string pageToken Page token for children. + * @opt_param string q Query string for searching children. + * @opt_param int maxResults Maximum number of children to return. + * @return Google_Service_Drive_ChildList + */ + public function listChildren($folderId, $optParams = array()) + { + $params = array('folderId' => $folderId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Drive_ChildList"); + } +} + +/** + * The "comments" collection of methods. + * Typical usage is: + * + * $driveService = new Google_Service_Drive(...); + * $comments = $driveService->comments; + * + */ +class Google_Service_Drive_Comments_Resource extends Google_Service_Resource +{ + + /** + * Deletes a comment. (comments.delete) + * + * @param string $fileId The ID of the file. + * @param string $commentId The ID of the comment. + * @param array $optParams Optional parameters. + */ + public function delete($fileId, $commentId, $optParams = array()) + { + $params = array('fileId' => $fileId, 'commentId' => $commentId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Gets a comment by ID. (comments.get) + * + * @param string $fileId The ID of the file. + * @param string $commentId The ID of the comment. + * @param array $optParams Optional parameters. + * + * @opt_param bool includeDeleted If set, this will succeed when retrieving a + * deleted comment, and will include any deleted replies. + * @return Google_Service_Drive_Comment + */ + public function get($fileId, $commentId, $optParams = array()) + { + $params = array('fileId' => $fileId, 'commentId' => $commentId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Drive_Comment"); + } + + /** + * Creates a new comment on the given file. (comments.insert) + * + * @param string $fileId The ID of the file. + * @param Google_Comment $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Drive_Comment + */ + public function insert($fileId, Google_Service_Drive_Comment $postBody, $optParams = array()) + { + $params = array('fileId' => $fileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Drive_Comment"); + } + + /** + * Lists a file's comments. (comments.listComments) + * + * @param string $fileId The ID of the file. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The continuation token, used to page through + * large result sets. To get the next page of results, set this parameter to the + * value of "nextPageToken" from the previous response. + * @opt_param string updatedMin Only discussions that were updated after this + * timestamp will be returned. Formatted as an RFC 3339 timestamp. + * @opt_param bool includeDeleted If set, all comments and replies, including + * deleted comments and replies (with content stripped) will be returned. + * @opt_param int maxResults The maximum number of discussions to include in the + * response, used for paging. + * @return Google_Service_Drive_CommentList + */ + public function listComments($fileId, $optParams = array()) + { + $params = array('fileId' => $fileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Drive_CommentList"); + } + + /** + * Updates an existing comment. This method supports patch semantics. + * (comments.patch) + * + * @param string $fileId The ID of the file. + * @param string $commentId The ID of the comment. + * @param Google_Comment $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Drive_Comment + */ + public function patch($fileId, $commentId, Google_Service_Drive_Comment $postBody, $optParams = array()) + { + $params = array('fileId' => $fileId, 'commentId' => $commentId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Drive_Comment"); + } + + /** + * Updates an existing comment. (comments.update) + * + * @param string $fileId The ID of the file. + * @param string $commentId The ID of the comment. + * @param Google_Comment $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Drive_Comment + */ + public function update($fileId, $commentId, Google_Service_Drive_Comment $postBody, $optParams = array()) + { + $params = array('fileId' => $fileId, 'commentId' => $commentId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Drive_Comment"); + } +} + +/** + * The "files" collection of methods. + * Typical usage is: + * + * $driveService = new Google_Service_Drive(...); + * $files = $driveService->files; + * + */ +class Google_Service_Drive_Files_Resource extends Google_Service_Resource +{ + + /** + * Creates a copy of the specified file. (files.copy) + * + * @param string $fileId The ID of the file to copy. + * @param Google_DriveFile $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool convert Whether to convert this file to the corresponding + * Google Docs format. + * @opt_param string ocrLanguage If ocr is true, hints at the language to use. + * Valid values are BCP 47 codes. + * @opt_param string visibility The visibility of the new file. This parameter + * is only relevant when the source is not a native Google Doc and + * convert=false. + * @opt_param bool pinned Whether to pin the head revision of the new copy. A + * file can have a maximum of 200 pinned revisions. + * @opt_param bool ocr Whether to attempt OCR on .jpg, .png, .gif, or .pdf + * uploads. + * @opt_param string timedTextTrackName The timed text track name. + * @opt_param string timedTextLanguage The language of the timed text. + * @return Google_Service_Drive_DriveFile + */ + public function copy($fileId, Google_Service_Drive_DriveFile $postBody, $optParams = array()) + { + $params = array('fileId' => $fileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('copy', array($params), "Google_Service_Drive_DriveFile"); + } + + /** + * Permanently deletes a file by ID. Skips the trash. The currently + * authenticated user must own the file. (files.delete) + * + * @param string $fileId The ID of the file to delete. + * @param array $optParams Optional parameters. + */ + public function delete($fileId, $optParams = array()) + { + $params = array('fileId' => $fileId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Permanently deletes all of the user's trashed files. (files.emptyTrash) + * + * @param array $optParams Optional parameters. + */ + public function emptyTrash($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('emptyTrash', array($params)); + } + + /** + * Generates a set of file IDs which can be provided in insert requests. + * (files.generateIds) + * + * @param array $optParams Optional parameters. + * + * @opt_param int maxResults Maximum number of IDs to return. + * @opt_param string space The space in which the IDs can be used to create new + * files. Supported values are 'drive' and 'appDataFolder'. + * @return Google_Service_Drive_GeneratedIds + */ + public function generateIds($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('generateIds', array($params), "Google_Service_Drive_GeneratedIds"); + } + + /** + * Gets a file's metadata by ID. (files.get) + * + * @param string $fileId The ID for the file in question. + * @param array $optParams Optional parameters. + * + * @opt_param bool acknowledgeAbuse Whether the user is acknowledging the risk + * of downloading known malware or other abusive files. + * @opt_param bool updateViewedDate Deprecated: Use files.update with + * modifiedDateBehavior=noChange, updateViewedDate=true and an empty request + * body. + * @opt_param string revisionId Specifies the Revision ID that should be + * downloaded. Ignored unless alt=media is specified. + * @opt_param string projection This parameter is deprecated and has no + * function. + * @return Google_Service_Drive_DriveFile + */ + public function get($fileId, $optParams = array()) + { + $params = array('fileId' => $fileId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Drive_DriveFile"); + } + + /** + * Insert a new file. (files.insert) + * + * @param Google_DriveFile $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool convert Whether to convert this file to the corresponding + * Google Docs format. + * @opt_param bool useContentAsIndexableText Whether to use the content as + * indexable text. + * @opt_param string ocrLanguage If ocr is true, hints at the language to use. + * Valid values are BCP 47 codes. + * @opt_param string visibility The visibility of the new file. This parameter + * is only relevant when convert=false. + * @opt_param bool pinned Whether to pin the head revision of the uploaded file. + * A file can have a maximum of 200 pinned revisions. + * @opt_param bool ocr Whether to attempt OCR on .jpg, .png, .gif, or .pdf + * uploads. + * @opt_param string timedTextTrackName The timed text track name. + * @opt_param string timedTextLanguage The language of the timed text. + * @return Google_Service_Drive_DriveFile + */ + public function insert(Google_Service_Drive_DriveFile $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Drive_DriveFile"); + } + + /** + * Lists the user's files. (files.listFiles) + * + * @param array $optParams Optional parameters. + * + * @opt_param string orderBy A comma-separated list of sort keys. Valid keys are + * 'createdDate', 'folder', 'lastViewedByMeDate', 'modifiedByMeDate', + * 'modifiedDate', 'quotaBytesUsed', 'recency', 'sharedWithMeDate', 'starred', + * and 'title'. Each key sorts ascending by default, but may be reversed with + * the 'desc' modifier. Example usage: ?orderBy=folder,modifiedDate desc,title. + * Please note that there is a current limitation for users with approximately + * one million files in which the requested sort order is ignored. + * @opt_param string projection This parameter is deprecated and has no + * function. + * @opt_param int maxResults Maximum number of files to return. + * @opt_param string q Query string for searching files. + * @opt_param string pageToken Page token for files. + * @opt_param string spaces A comma-separated list of spaces to query. Supported + * values are 'drive', 'appDataFolder' and 'photos'. + * @opt_param string corpus The body of items (files/documents) to which the + * query applies. + * @return Google_Service_Drive_FileList + */ + public function listFiles($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Drive_FileList"); + } + + /** + * Updates file metadata and/or content. This method supports patch semantics. + * (files.patch) + * + * @param string $fileId The ID of the file to update. + * @param Google_DriveFile $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string addParents Comma-separated list of parent IDs to add. + * @opt_param string modifiedDateBehavior Determines the behavior in which + * modifiedDate is updated. This overrides setModifiedDate. + * @opt_param string removeParents Comma-separated list of parent IDs to remove. + * @opt_param bool updateViewedDate Whether to update the view date after + * successfully updating the file. + * @opt_param bool setModifiedDate Whether to set the modified date with the + * supplied modified date. + * @opt_param bool useContentAsIndexableText Whether to use the content as + * indexable text. + * @opt_param bool convert This parameter is deprecated and has no function. + * @opt_param string ocrLanguage If ocr is true, hints at the language to use. + * Valid values are BCP 47 codes. + * @opt_param bool pinned Whether to pin the new revision. A file can have a + * maximum of 200 pinned revisions. + * @opt_param bool newRevision Whether a blob upload should create a new + * revision. If false, the blob data in the current head revision is replaced. + * If true or not set, a new blob is created as head revision, and previous + * unpinned revisions are preserved for a short period of time. Pinned revisions + * are stored indefinitely, using additional storage quota, up to a maximum of + * 200 revisions. For details on how revisions are retained, see the Drive Help + * Center. + * @opt_param bool ocr Whether to attempt OCR on .jpg, .png, .gif, or .pdf + * uploads. + * @opt_param string timedTextLanguage The language of the timed text. + * @opt_param string timedTextTrackName The timed text track name. + * @return Google_Service_Drive_DriveFile + */ + public function patch($fileId, Google_Service_Drive_DriveFile $postBody, $optParams = array()) + { + $params = array('fileId' => $fileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Drive_DriveFile"); + } + + /** + * Set the file's updated time to the current server time. (files.touch) + * + * @param string $fileId The ID of the file to update. + * @param array $optParams Optional parameters. + * @return Google_Service_Drive_DriveFile + */ + public function touch($fileId, $optParams = array()) + { + $params = array('fileId' => $fileId); + $params = array_merge($params, $optParams); + return $this->call('touch', array($params), "Google_Service_Drive_DriveFile"); + } + + /** + * Moves a file to the trash. The currently authenticated user must own the + * file. (files.trash) + * + * @param string $fileId The ID of the file to trash. + * @param array $optParams Optional parameters. + * @return Google_Service_Drive_DriveFile + */ + public function trash($fileId, $optParams = array()) + { + $params = array('fileId' => $fileId); + $params = array_merge($params, $optParams); + return $this->call('trash', array($params), "Google_Service_Drive_DriveFile"); + } + + /** + * Restores a file from the trash. (files.untrash) + * + * @param string $fileId The ID of the file to untrash. + * @param array $optParams Optional parameters. + * @return Google_Service_Drive_DriveFile + */ + public function untrash($fileId, $optParams = array()) + { + $params = array('fileId' => $fileId); + $params = array_merge($params, $optParams); + return $this->call('untrash', array($params), "Google_Service_Drive_DriveFile"); + } + + /** + * Updates file metadata and/or content. (files.update) + * + * @param string $fileId The ID of the file to update. + * @param Google_DriveFile $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string addParents Comma-separated list of parent IDs to add. + * @opt_param string modifiedDateBehavior Determines the behavior in which + * modifiedDate is updated. This overrides setModifiedDate. + * @opt_param string removeParents Comma-separated list of parent IDs to remove. + * @opt_param bool updateViewedDate Whether to update the view date after + * successfully updating the file. + * @opt_param bool setModifiedDate Whether to set the modified date with the + * supplied modified date. + * @opt_param bool useContentAsIndexableText Whether to use the content as + * indexable text. + * @opt_param bool convert This parameter is deprecated and has no function. + * @opt_param string ocrLanguage If ocr is true, hints at the language to use. + * Valid values are BCP 47 codes. + * @opt_param bool pinned Whether to pin the new revision. A file can have a + * maximum of 200 pinned revisions. + * @opt_param bool newRevision Whether a blob upload should create a new + * revision. If false, the blob data in the current head revision is replaced. + * If true or not set, a new blob is created as head revision, and previous + * unpinned revisions are preserved for a short period of time. Pinned revisions + * are stored indefinitely, using additional storage quota, up to a maximum of + * 200 revisions. For details on how revisions are retained, see the Drive Help + * Center. + * @opt_param bool ocr Whether to attempt OCR on .jpg, .png, .gif, or .pdf + * uploads. + * @opt_param string timedTextLanguage The language of the timed text. + * @opt_param string timedTextTrackName The timed text track name. + * @return Google_Service_Drive_DriveFile + */ + public function update($fileId, Google_Service_Drive_DriveFile $postBody, $optParams = array()) + { + $params = array('fileId' => $fileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Drive_DriveFile"); + } + + /** + * Subscribe to changes on a file (files.watch) + * + * @param string $fileId The ID for the file in question. + * @param Google_Channel $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool acknowledgeAbuse Whether the user is acknowledging the risk + * of downloading known malware or other abusive files. + * @opt_param bool updateViewedDate Deprecated: Use files.update with + * modifiedDateBehavior=noChange, updateViewedDate=true and an empty request + * body. + * @opt_param string revisionId Specifies the Revision ID that should be + * downloaded. Ignored unless alt=media is specified. + * @opt_param string projection This parameter is deprecated and has no + * function. + * @return Google_Service_Drive_Channel + */ + public function watch($fileId, Google_Service_Drive_Channel $postBody, $optParams = array()) + { + $params = array('fileId' => $fileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('watch', array($params), "Google_Service_Drive_Channel"); + } +} + +/** + * The "parents" collection of methods. + * Typical usage is: + * + * $driveService = new Google_Service_Drive(...); + * $parents = $driveService->parents; + * + */ +class Google_Service_Drive_Parents_Resource extends Google_Service_Resource +{ + + /** + * Removes a parent from a file. (parents.delete) + * + * @param string $fileId The ID of the file. + * @param string $parentId The ID of the parent. + * @param array $optParams Optional parameters. + */ + public function delete($fileId, $parentId, $optParams = array()) + { + $params = array('fileId' => $fileId, 'parentId' => $parentId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Gets a specific parent reference. (parents.get) + * + * @param string $fileId The ID of the file. + * @param string $parentId The ID of the parent. + * @param array $optParams Optional parameters. + * @return Google_Service_Drive_ParentReference + */ + public function get($fileId, $parentId, $optParams = array()) + { + $params = array('fileId' => $fileId, 'parentId' => $parentId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Drive_ParentReference"); + } + + /** + * Adds a parent folder for a file. (parents.insert) + * + * @param string $fileId The ID of the file. + * @param Google_ParentReference $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Drive_ParentReference + */ + public function insert($fileId, Google_Service_Drive_ParentReference $postBody, $optParams = array()) + { + $params = array('fileId' => $fileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Drive_ParentReference"); + } + + /** + * Lists a file's parents. (parents.listParents) + * + * @param string $fileId The ID of the file. + * @param array $optParams Optional parameters. + * @return Google_Service_Drive_ParentList + */ + public function listParents($fileId, $optParams = array()) + { + $params = array('fileId' => $fileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Drive_ParentList"); + } +} + +/** + * The "permissions" collection of methods. + * Typical usage is: + * + * $driveService = new Google_Service_Drive(...); + * $permissions = $driveService->permissions; + * + */ +class Google_Service_Drive_Permissions_Resource extends Google_Service_Resource +{ + + /** + * Deletes a permission from a file. (permissions.delete) + * + * @param string $fileId The ID for the file. + * @param string $permissionId The ID for the permission. + * @param array $optParams Optional parameters. + */ + public function delete($fileId, $permissionId, $optParams = array()) + { + $params = array('fileId' => $fileId, 'permissionId' => $permissionId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Gets a permission by ID. (permissions.get) + * + * @param string $fileId The ID for the file. + * @param string $permissionId The ID for the permission. + * @param array $optParams Optional parameters. + * @return Google_Service_Drive_Permission + */ + public function get($fileId, $permissionId, $optParams = array()) + { + $params = array('fileId' => $fileId, 'permissionId' => $permissionId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Drive_Permission"); + } + + /** + * Returns the permission ID for an email address. (permissions.getIdForEmail) + * + * @param string $email The email address for which to return a permission ID + * @param array $optParams Optional parameters. + * @return Google_Service_Drive_PermissionId + */ + public function getIdForEmail($email, $optParams = array()) + { + $params = array('email' => $email); + $params = array_merge($params, $optParams); + return $this->call('getIdForEmail', array($params), "Google_Service_Drive_PermissionId"); + } + + /** + * Inserts a permission for a file. (permissions.insert) + * + * @param string $fileId The ID for the file. + * @param Google_Permission $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string emailMessage A custom message to include in notification + * emails. + * @opt_param bool sendNotificationEmails Whether to send notification emails + * when sharing to users or groups. This parameter is ignored and an email is + * sent if the role is owner. + * @return Google_Service_Drive_Permission + */ + public function insert($fileId, Google_Service_Drive_Permission $postBody, $optParams = array()) + { + $params = array('fileId' => $fileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Drive_Permission"); + } + + /** + * Lists a file's permissions. (permissions.listPermissions) + * + * @param string $fileId The ID for the file. + * @param array $optParams Optional parameters. + * @return Google_Service_Drive_PermissionList + */ + public function listPermissions($fileId, $optParams = array()) + { + $params = array('fileId' => $fileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Drive_PermissionList"); + } + + /** + * Updates a permission using patch semantics. (permissions.patch) + * + * @param string $fileId The ID for the file. + * @param string $permissionId The ID for the permission. + * @param Google_Permission $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool transferOwnership Whether changing a role to 'owner' + * downgrades the current owners to writers. Does nothing if the specified role + * is not 'owner'. + * @return Google_Service_Drive_Permission + */ + public function patch($fileId, $permissionId, Google_Service_Drive_Permission $postBody, $optParams = array()) + { + $params = array('fileId' => $fileId, 'permissionId' => $permissionId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Drive_Permission"); + } + + /** + * Updates a permission. (permissions.update) + * + * @param string $fileId The ID for the file. + * @param string $permissionId The ID for the permission. + * @param Google_Permission $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool transferOwnership Whether changing a role to 'owner' + * downgrades the current owners to writers. Does nothing if the specified role + * is not 'owner'. + * @return Google_Service_Drive_Permission + */ + public function update($fileId, $permissionId, Google_Service_Drive_Permission $postBody, $optParams = array()) + { + $params = array('fileId' => $fileId, 'permissionId' => $permissionId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Drive_Permission"); + } +} + +/** + * The "properties" collection of methods. + * Typical usage is: + * + * $driveService = new Google_Service_Drive(...); + * $properties = $driveService->properties; + * + */ +class Google_Service_Drive_Properties_Resource extends Google_Service_Resource +{ + + /** + * Deletes a property. (properties.delete) + * + * @param string $fileId The ID of the file. + * @param string $propertyKey The key of the property. + * @param array $optParams Optional parameters. + * + * @opt_param string visibility The visibility of the property. + */ + public function delete($fileId, $propertyKey, $optParams = array()) + { + $params = array('fileId' => $fileId, 'propertyKey' => $propertyKey); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Gets a property by its key. (properties.get) + * + * @param string $fileId The ID of the file. + * @param string $propertyKey The key of the property. + * @param array $optParams Optional parameters. + * + * @opt_param string visibility The visibility of the property. + * @return Google_Service_Drive_Property + */ + public function get($fileId, $propertyKey, $optParams = array()) + { + $params = array('fileId' => $fileId, 'propertyKey' => $propertyKey); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Drive_Property"); + } + + /** + * Adds a property to a file. (properties.insert) + * + * @param string $fileId The ID of the file. + * @param Google_Property $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Drive_Property + */ + public function insert($fileId, Google_Service_Drive_Property $postBody, $optParams = array()) + { + $params = array('fileId' => $fileId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Drive_Property"); + } + + /** + * Lists a file's properties. (properties.listProperties) + * + * @param string $fileId The ID of the file. + * @param array $optParams Optional parameters. + * @return Google_Service_Drive_PropertyList + */ + public function listProperties($fileId, $optParams = array()) + { + $params = array('fileId' => $fileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Drive_PropertyList"); + } + + /** + * Updates a property. This method supports patch semantics. (properties.patch) + * + * @param string $fileId The ID of the file. + * @param string $propertyKey The key of the property. + * @param Google_Property $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string visibility The visibility of the property. + * @return Google_Service_Drive_Property + */ + public function patch($fileId, $propertyKey, Google_Service_Drive_Property $postBody, $optParams = array()) + { + $params = array('fileId' => $fileId, 'propertyKey' => $propertyKey, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Drive_Property"); + } + + /** + * Updates a property. (properties.update) + * + * @param string $fileId The ID of the file. + * @param string $propertyKey The key of the property. + * @param Google_Property $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string visibility The visibility of the property. + * @return Google_Service_Drive_Property + */ + public function update($fileId, $propertyKey, Google_Service_Drive_Property $postBody, $optParams = array()) + { + $params = array('fileId' => $fileId, 'propertyKey' => $propertyKey, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Drive_Property"); + } +} + +/** + * The "realtime" collection of methods. + * Typical usage is: + * + * $driveService = new Google_Service_Drive(...); + * $realtime = $driveService->realtime; + * + */ +class Google_Service_Drive_Realtime_Resource extends Google_Service_Resource +{ + + /** + * Exports the contents of the Realtime API data model associated with this file + * as JSON. (realtime.get) + * + * @param string $fileId The ID of the file that the Realtime API data model is + * associated with. + * @param array $optParams Optional parameters. + * + * @opt_param int revision The revision of the Realtime API data model to + * export. Revisions start at 1 (the initial empty data model) and are + * incremented with each change. If this parameter is excluded, the most recent + * data model will be returned. + */ + public function get($fileId, $optParams = array()) + { + $params = array('fileId' => $fileId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params)); + } + + /** + * Overwrites the Realtime API data model associated with this file with the + * provided JSON data model. (realtime.update) + * + * @param string $fileId The ID of the file that the Realtime API data model is + * associated with. + * @param array $optParams Optional parameters. + * + * @opt_param string baseRevision The revision of the model to diff the uploaded + * model against. If set, the uploaded model is diffed against the provided + * revision and those differences are merged with any changes made to the model + * after the provided revision. If not set, the uploaded model replaces the + * current model on the server. + */ + public function update($fileId, $optParams = array()) + { + $params = array('fileId' => $fileId); + $params = array_merge($params, $optParams); + return $this->call('update', array($params)); + } +} + +/** + * The "replies" collection of methods. + * Typical usage is: + * + * $driveService = new Google_Service_Drive(...); + * $replies = $driveService->replies; + * + */ +class Google_Service_Drive_Replies_Resource extends Google_Service_Resource +{ + + /** + * Deletes a reply. (replies.delete) + * + * @param string $fileId The ID of the file. + * @param string $commentId The ID of the comment. + * @param string $replyId The ID of the reply. + * @param array $optParams Optional parameters. + */ + public function delete($fileId, $commentId, $replyId, $optParams = array()) + { + $params = array('fileId' => $fileId, 'commentId' => $commentId, 'replyId' => $replyId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Gets a reply. (replies.get) + * + * @param string $fileId The ID of the file. + * @param string $commentId The ID of the comment. + * @param string $replyId The ID of the reply. + * @param array $optParams Optional parameters. + * + * @opt_param bool includeDeleted If set, this will succeed when retrieving a + * deleted reply. + * @return Google_Service_Drive_CommentReply + */ + public function get($fileId, $commentId, $replyId, $optParams = array()) + { + $params = array('fileId' => $fileId, 'commentId' => $commentId, 'replyId' => $replyId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Drive_CommentReply"); + } + + /** + * Creates a new reply to the given comment. (replies.insert) + * + * @param string $fileId The ID of the file. + * @param string $commentId The ID of the comment. + * @param Google_CommentReply $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Drive_CommentReply + */ + public function insert($fileId, $commentId, Google_Service_Drive_CommentReply $postBody, $optParams = array()) + { + $params = array('fileId' => $fileId, 'commentId' => $commentId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Drive_CommentReply"); + } + + /** + * Lists all of the replies to a comment. (replies.listReplies) + * + * @param string $fileId The ID of the file. + * @param string $commentId The ID of the comment. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The continuation token, used to page through + * large result sets. To get the next page of results, set this parameter to the + * value of "nextPageToken" from the previous response. + * @opt_param bool includeDeleted If set, all replies, including deleted replies + * (with content stripped) will be returned. + * @opt_param int maxResults The maximum number of replies to include in the + * response, used for paging. + * @return Google_Service_Drive_CommentReplyList + */ + public function listReplies($fileId, $commentId, $optParams = array()) + { + $params = array('fileId' => $fileId, 'commentId' => $commentId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Drive_CommentReplyList"); + } + + /** + * Updates an existing reply. This method supports patch semantics. + * (replies.patch) + * + * @param string $fileId The ID of the file. + * @param string $commentId The ID of the comment. + * @param string $replyId The ID of the reply. + * @param Google_CommentReply $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Drive_CommentReply + */ + public function patch($fileId, $commentId, $replyId, Google_Service_Drive_CommentReply $postBody, $optParams = array()) + { + $params = array('fileId' => $fileId, 'commentId' => $commentId, 'replyId' => $replyId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Drive_CommentReply"); + } + + /** + * Updates an existing reply. (replies.update) + * + * @param string $fileId The ID of the file. + * @param string $commentId The ID of the comment. + * @param string $replyId The ID of the reply. + * @param Google_CommentReply $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Drive_CommentReply + */ + public function update($fileId, $commentId, $replyId, Google_Service_Drive_CommentReply $postBody, $optParams = array()) + { + $params = array('fileId' => $fileId, 'commentId' => $commentId, 'replyId' => $replyId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Drive_CommentReply"); + } +} + +/** + * The "revisions" collection of methods. + * Typical usage is: + * + * $driveService = new Google_Service_Drive(...); + * $revisions = $driveService->revisions; + * + */ +class Google_Service_Drive_Revisions_Resource extends Google_Service_Resource +{ + + /** + * Removes a revision. (revisions.delete) + * + * @param string $fileId The ID of the file. + * @param string $revisionId The ID of the revision. + * @param array $optParams Optional parameters. + */ + public function delete($fileId, $revisionId, $optParams = array()) + { + $params = array('fileId' => $fileId, 'revisionId' => $revisionId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Gets a specific revision. (revisions.get) + * + * @param string $fileId The ID of the file. + * @param string $revisionId The ID of the revision. + * @param array $optParams Optional parameters. + * @return Google_Service_Drive_Revision + */ + public function get($fileId, $revisionId, $optParams = array()) + { + $params = array('fileId' => $fileId, 'revisionId' => $revisionId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Drive_Revision"); + } + + /** + * Lists a file's revisions. (revisions.listRevisions) + * + * @param string $fileId The ID of the file. + * @param array $optParams Optional parameters. + * @return Google_Service_Drive_RevisionList + */ + public function listRevisions($fileId, $optParams = array()) + { + $params = array('fileId' => $fileId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Drive_RevisionList"); + } + + /** + * Updates a revision. This method supports patch semantics. (revisions.patch) + * + * @param string $fileId The ID for the file. + * @param string $revisionId The ID for the revision. + * @param Google_Revision $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Drive_Revision + */ + public function patch($fileId, $revisionId, Google_Service_Drive_Revision $postBody, $optParams = array()) + { + $params = array('fileId' => $fileId, 'revisionId' => $revisionId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Drive_Revision"); + } + + /** + * Updates a revision. (revisions.update) + * + * @param string $fileId The ID for the file. + * @param string $revisionId The ID for the revision. + * @param Google_Revision $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Drive_Revision + */ + public function update($fileId, $revisionId, Google_Service_Drive_Revision $postBody, $optParams = array()) + { + $params = array('fileId' => $fileId, 'revisionId' => $revisionId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Drive_Revision"); + } +} + + + + +class Google_Service_Drive_About extends Google_Collection +{ + protected $collection_key = 'quotaBytesByService'; + protected $internal_gapi_mappings = array( + ); + protected $additionalRoleInfoType = 'Google_Service_Drive_AboutAdditionalRoleInfo'; + protected $additionalRoleInfoDataType = 'array'; + public $domainSharingPolicy; + public $etag; + protected $exportFormatsType = 'Google_Service_Drive_AboutExportFormats'; + protected $exportFormatsDataType = 'array'; + protected $featuresType = 'Google_Service_Drive_AboutFeatures'; + protected $featuresDataType = 'array'; + public $folderColorPalette; + protected $importFormatsType = 'Google_Service_Drive_AboutImportFormats'; + protected $importFormatsDataType = 'array'; + public $isCurrentAppInstalled; + public $kind; + public $languageCode; + public $largestChangeId; + protected $maxUploadSizesType = 'Google_Service_Drive_AboutMaxUploadSizes'; + protected $maxUploadSizesDataType = 'array'; + public $name; + public $permissionId; + protected $quotaBytesByServiceType = 'Google_Service_Drive_AboutQuotaBytesByService'; + protected $quotaBytesByServiceDataType = 'array'; + public $quotaBytesTotal; + public $quotaBytesUsed; + public $quotaBytesUsedAggregate; + public $quotaBytesUsedInTrash; + public $quotaType; + public $remainingChangeIds; + public $rootFolderId; + public $selfLink; + protected $userType = 'Google_Service_Drive_User'; + protected $userDataType = ''; + + + public function setAdditionalRoleInfo($additionalRoleInfo) + { + $this->additionalRoleInfo = $additionalRoleInfo; + } + public function getAdditionalRoleInfo() + { + return $this->additionalRoleInfo; + } + public function setDomainSharingPolicy($domainSharingPolicy) + { + $this->domainSharingPolicy = $domainSharingPolicy; + } + public function getDomainSharingPolicy() + { + return $this->domainSharingPolicy; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setExportFormats($exportFormats) + { + $this->exportFormats = $exportFormats; + } + public function getExportFormats() + { + return $this->exportFormats; + } + public function setFeatures($features) + { + $this->features = $features; + } + public function getFeatures() + { + return $this->features; + } + public function setFolderColorPalette($folderColorPalette) + { + $this->folderColorPalette = $folderColorPalette; + } + public function getFolderColorPalette() + { + return $this->folderColorPalette; + } + public function setImportFormats($importFormats) + { + $this->importFormats = $importFormats; + } + public function getImportFormats() + { + return $this->importFormats; + } + public function setIsCurrentAppInstalled($isCurrentAppInstalled) + { + $this->isCurrentAppInstalled = $isCurrentAppInstalled; + } + public function getIsCurrentAppInstalled() + { + return $this->isCurrentAppInstalled; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLanguageCode($languageCode) + { + $this->languageCode = $languageCode; + } + public function getLanguageCode() + { + return $this->languageCode; + } + public function setLargestChangeId($largestChangeId) + { + $this->largestChangeId = $largestChangeId; + } + public function getLargestChangeId() + { + return $this->largestChangeId; + } + public function setMaxUploadSizes($maxUploadSizes) + { + $this->maxUploadSizes = $maxUploadSizes; + } + public function getMaxUploadSizes() + { + return $this->maxUploadSizes; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPermissionId($permissionId) + { + $this->permissionId = $permissionId; + } + public function getPermissionId() + { + return $this->permissionId; + } + public function setQuotaBytesByService($quotaBytesByService) + { + $this->quotaBytesByService = $quotaBytesByService; + } + public function getQuotaBytesByService() + { + return $this->quotaBytesByService; + } + public function setQuotaBytesTotal($quotaBytesTotal) + { + $this->quotaBytesTotal = $quotaBytesTotal; + } + public function getQuotaBytesTotal() + { + return $this->quotaBytesTotal; + } + public function setQuotaBytesUsed($quotaBytesUsed) + { + $this->quotaBytesUsed = $quotaBytesUsed; + } + public function getQuotaBytesUsed() + { + return $this->quotaBytesUsed; + } + public function setQuotaBytesUsedAggregate($quotaBytesUsedAggregate) + { + $this->quotaBytesUsedAggregate = $quotaBytesUsedAggregate; + } + public function getQuotaBytesUsedAggregate() + { + return $this->quotaBytesUsedAggregate; + } + public function setQuotaBytesUsedInTrash($quotaBytesUsedInTrash) + { + $this->quotaBytesUsedInTrash = $quotaBytesUsedInTrash; + } + public function getQuotaBytesUsedInTrash() + { + return $this->quotaBytesUsedInTrash; + } + public function setQuotaType($quotaType) + { + $this->quotaType = $quotaType; + } + public function getQuotaType() + { + return $this->quotaType; + } + public function setRemainingChangeIds($remainingChangeIds) + { + $this->remainingChangeIds = $remainingChangeIds; + } + public function getRemainingChangeIds() + { + return $this->remainingChangeIds; + } + public function setRootFolderId($rootFolderId) + { + $this->rootFolderId = $rootFolderId; + } + public function getRootFolderId() + { + return $this->rootFolderId; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setUser(Google_Service_Drive_User $user) + { + $this->user = $user; + } + public function getUser() + { + return $this->user; + } +} + +class Google_Service_Drive_AboutAdditionalRoleInfo extends Google_Collection +{ + protected $collection_key = 'roleSets'; + protected $internal_gapi_mappings = array( + ); + protected $roleSetsType = 'Google_Service_Drive_AboutAdditionalRoleInfoRoleSets'; + protected $roleSetsDataType = 'array'; + public $type; + + + public function setRoleSets($roleSets) + { + $this->roleSets = $roleSets; + } + public function getRoleSets() + { + return $this->roleSets; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Drive_AboutAdditionalRoleInfoRoleSets extends Google_Collection +{ + protected $collection_key = 'additionalRoles'; + protected $internal_gapi_mappings = array( + ); + public $additionalRoles; + public $primaryRole; + + + public function setAdditionalRoles($additionalRoles) + { + $this->additionalRoles = $additionalRoles; + } + public function getAdditionalRoles() + { + return $this->additionalRoles; + } + public function setPrimaryRole($primaryRole) + { + $this->primaryRole = $primaryRole; + } + public function getPrimaryRole() + { + return $this->primaryRole; + } +} + +class Google_Service_Drive_AboutExportFormats extends Google_Collection +{ + protected $collection_key = 'targets'; + protected $internal_gapi_mappings = array( + ); + public $source; + public $targets; + + + public function setSource($source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } + public function setTargets($targets) + { + $this->targets = $targets; + } + public function getTargets() + { + return $this->targets; + } +} + +class Google_Service_Drive_AboutFeatures extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $featureName; + public $featureRate; + + + public function setFeatureName($featureName) + { + $this->featureName = $featureName; + } + public function getFeatureName() + { + return $this->featureName; + } + public function setFeatureRate($featureRate) + { + $this->featureRate = $featureRate; + } + public function getFeatureRate() + { + return $this->featureRate; + } +} + +class Google_Service_Drive_AboutImportFormats extends Google_Collection +{ + protected $collection_key = 'targets'; + protected $internal_gapi_mappings = array( + ); + public $source; + public $targets; + + + public function setSource($source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } + public function setTargets($targets) + { + $this->targets = $targets; + } + public function getTargets() + { + return $this->targets; + } +} + +class Google_Service_Drive_AboutMaxUploadSizes extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $size; + public $type; + + + public function setSize($size) + { + $this->size = $size; + } + public function getSize() + { + return $this->size; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Drive_AboutQuotaBytesByService extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $bytesUsed; + public $serviceName; + + + public function setBytesUsed($bytesUsed) + { + $this->bytesUsed = $bytesUsed; + } + public function getBytesUsed() + { + return $this->bytesUsed; + } + public function setServiceName($serviceName) + { + $this->serviceName = $serviceName; + } + public function getServiceName() + { + return $this->serviceName; + } +} + +class Google_Service_Drive_App extends Google_Collection +{ + protected $collection_key = 'secondaryMimeTypes'; + protected $internal_gapi_mappings = array( + ); + public $authorized; + public $createInFolderTemplate; + public $createUrl; + public $hasDriveWideScope; + protected $iconsType = 'Google_Service_Drive_AppIcons'; + protected $iconsDataType = 'array'; + public $id; + public $installed; + public $kind; + public $longDescription; + public $name; + public $objectType; + public $openUrlTemplate; + public $primaryFileExtensions; + public $primaryMimeTypes; + public $productId; + public $productUrl; + public $secondaryFileExtensions; + public $secondaryMimeTypes; + public $shortDescription; + public $supportsCreate; + public $supportsImport; + public $supportsMultiOpen; + public $supportsOfflineCreate; + public $useByDefault; + + + public function setAuthorized($authorized) + { + $this->authorized = $authorized; + } + public function getAuthorized() + { + return $this->authorized; + } + public function setCreateInFolderTemplate($createInFolderTemplate) + { + $this->createInFolderTemplate = $createInFolderTemplate; + } + public function getCreateInFolderTemplate() + { + return $this->createInFolderTemplate; + } + public function setCreateUrl($createUrl) + { + $this->createUrl = $createUrl; + } + public function getCreateUrl() + { + return $this->createUrl; + } + public function setHasDriveWideScope($hasDriveWideScope) + { + $this->hasDriveWideScope = $hasDriveWideScope; + } + public function getHasDriveWideScope() + { + return $this->hasDriveWideScope; + } + public function setIcons($icons) + { + $this->icons = $icons; + } + public function getIcons() + { + return $this->icons; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInstalled($installed) + { + $this->installed = $installed; + } + public function getInstalled() + { + return $this->installed; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLongDescription($longDescription) + { + $this->longDescription = $longDescription; + } + public function getLongDescription() + { + return $this->longDescription; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setObjectType($objectType) + { + $this->objectType = $objectType; + } + public function getObjectType() + { + return $this->objectType; + } + public function setOpenUrlTemplate($openUrlTemplate) + { + $this->openUrlTemplate = $openUrlTemplate; + } + public function getOpenUrlTemplate() + { + return $this->openUrlTemplate; + } + public function setPrimaryFileExtensions($primaryFileExtensions) + { + $this->primaryFileExtensions = $primaryFileExtensions; + } + public function getPrimaryFileExtensions() + { + return $this->primaryFileExtensions; + } + public function setPrimaryMimeTypes($primaryMimeTypes) + { + $this->primaryMimeTypes = $primaryMimeTypes; + } + public function getPrimaryMimeTypes() + { + return $this->primaryMimeTypes; + } + public function setProductId($productId) + { + $this->productId = $productId; + } + public function getProductId() + { + return $this->productId; + } + public function setProductUrl($productUrl) + { + $this->productUrl = $productUrl; + } + public function getProductUrl() + { + return $this->productUrl; + } + public function setSecondaryFileExtensions($secondaryFileExtensions) + { + $this->secondaryFileExtensions = $secondaryFileExtensions; + } + public function getSecondaryFileExtensions() + { + return $this->secondaryFileExtensions; + } + public function setSecondaryMimeTypes($secondaryMimeTypes) + { + $this->secondaryMimeTypes = $secondaryMimeTypes; + } + public function getSecondaryMimeTypes() + { + return $this->secondaryMimeTypes; + } + public function setShortDescription($shortDescription) + { + $this->shortDescription = $shortDescription; + } + public function getShortDescription() + { + return $this->shortDescription; + } + public function setSupportsCreate($supportsCreate) + { + $this->supportsCreate = $supportsCreate; + } + public function getSupportsCreate() + { + return $this->supportsCreate; + } + public function setSupportsImport($supportsImport) + { + $this->supportsImport = $supportsImport; + } + public function getSupportsImport() + { + return $this->supportsImport; + } + public function setSupportsMultiOpen($supportsMultiOpen) + { + $this->supportsMultiOpen = $supportsMultiOpen; + } + public function getSupportsMultiOpen() + { + return $this->supportsMultiOpen; + } + public function setSupportsOfflineCreate($supportsOfflineCreate) + { + $this->supportsOfflineCreate = $supportsOfflineCreate; + } + public function getSupportsOfflineCreate() + { + return $this->supportsOfflineCreate; + } + public function setUseByDefault($useByDefault) + { + $this->useByDefault = $useByDefault; + } + public function getUseByDefault() + { + return $this->useByDefault; + } +} + +class Google_Service_Drive_AppIcons extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $category; + public $iconUrl; + public $size; + + + public function setCategory($category) + { + $this->category = $category; + } + public function getCategory() + { + return $this->category; + } + public function setIconUrl($iconUrl) + { + $this->iconUrl = $iconUrl; + } + public function getIconUrl() + { + return $this->iconUrl; + } + public function setSize($size) + { + $this->size = $size; + } + public function getSize() + { + return $this->size; + } +} + +class Google_Service_Drive_AppList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $defaultAppIds; + public $etag; + protected $itemsType = 'Google_Service_Drive_App'; + protected $itemsDataType = 'array'; + public $kind; + public $selfLink; + + + public function setDefaultAppIds($defaultAppIds) + { + $this->defaultAppIds = $defaultAppIds; + } + public function getDefaultAppIds() + { + return $this->defaultAppIds; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Drive_Change extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $deleted; + protected $fileType = 'Google_Service_Drive_DriveFile'; + protected $fileDataType = ''; + public $fileId; + public $id; + public $kind; + public $modificationDate; + public $selfLink; + + + public function setDeleted($deleted) + { + $this->deleted = $deleted; + } + public function getDeleted() + { + return $this->deleted; + } + public function setFile(Google_Service_Drive_DriveFile $file) + { + $this->file = $file; + } + public function getFile() + { + return $this->file; + } + public function setFileId($fileId) + { + $this->fileId = $fileId; + } + public function getFileId() + { + return $this->fileId; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setModificationDate($modificationDate) + { + $this->modificationDate = $modificationDate; + } + public function getModificationDate() + { + return $this->modificationDate; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Drive_ChangeList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_Drive_Change'; + protected $itemsDataType = 'array'; + public $kind; + public $largestChangeId; + public $nextLink; + public $nextPageToken; + public $selfLink; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLargestChangeId($largestChangeId) + { + $this->largestChangeId = $largestChangeId; + } + public function getLargestChangeId() + { + return $this->largestChangeId; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Drive_Channel extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $address; + public $expiration; + public $id; + public $kind; + public $params; + public $payload; + public $resourceId; + public $resourceUri; + public $token; + public $type; + + + public function setAddress($address) + { + $this->address = $address; + } + public function getAddress() + { + return $this->address; + } + public function setExpiration($expiration) + { + $this->expiration = $expiration; + } + public function getExpiration() + { + return $this->expiration; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setParams($params) + { + $this->params = $params; + } + public function getParams() + { + return $this->params; + } + public function setPayload($payload) + { + $this->payload = $payload; + } + public function getPayload() + { + return $this->payload; + } + public function setResourceId($resourceId) + { + $this->resourceId = $resourceId; + } + public function getResourceId() + { + return $this->resourceId; + } + public function setResourceUri($resourceUri) + { + $this->resourceUri = $resourceUri; + } + public function getResourceUri() + { + return $this->resourceUri; + } + public function setToken($token) + { + $this->token = $token; + } + public function getToken() + { + return $this->token; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Drive_ChannelParams extends Google_Model +{ +} + +class Google_Service_Drive_ChildList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_Drive_ChildReference'; + protected $itemsDataType = 'array'; + public $kind; + public $nextLink; + public $nextPageToken; + public $selfLink; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Drive_ChildReference extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $childLink; + public $id; + public $kind; + public $selfLink; + + + public function setChildLink($childLink) + { + $this->childLink = $childLink; + } + public function getChildLink() + { + return $this->childLink; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Drive_Comment extends Google_Collection +{ + protected $collection_key = 'replies'; + protected $internal_gapi_mappings = array( + ); + public $anchor; + protected $authorType = 'Google_Service_Drive_User'; + protected $authorDataType = ''; + public $commentId; + public $content; + protected $contextType = 'Google_Service_Drive_CommentContext'; + protected $contextDataType = ''; + public $createdDate; + public $deleted; + public $fileId; + public $fileTitle; + public $htmlContent; + public $kind; + public $modifiedDate; + protected $repliesType = 'Google_Service_Drive_CommentReply'; + protected $repliesDataType = 'array'; + public $selfLink; + public $status; + + + public function setAnchor($anchor) + { + $this->anchor = $anchor; + } + public function getAnchor() + { + return $this->anchor; + } + public function setAuthor(Google_Service_Drive_User $author) + { + $this->author = $author; + } + public function getAuthor() + { + return $this->author; + } + public function setCommentId($commentId) + { + $this->commentId = $commentId; + } + public function getCommentId() + { + return $this->commentId; + } + public function setContent($content) + { + $this->content = $content; + } + public function getContent() + { + return $this->content; + } + public function setContext(Google_Service_Drive_CommentContext $context) + { + $this->context = $context; + } + public function getContext() + { + return $this->context; + } + public function setCreatedDate($createdDate) + { + $this->createdDate = $createdDate; + } + public function getCreatedDate() + { + return $this->createdDate; + } + public function setDeleted($deleted) + { + $this->deleted = $deleted; + } + public function getDeleted() + { + return $this->deleted; + } + public function setFileId($fileId) + { + $this->fileId = $fileId; + } + public function getFileId() + { + return $this->fileId; + } + public function setFileTitle($fileTitle) + { + $this->fileTitle = $fileTitle; + } + public function getFileTitle() + { + return $this->fileTitle; + } + public function setHtmlContent($htmlContent) + { + $this->htmlContent = $htmlContent; + } + public function getHtmlContent() + { + return $this->htmlContent; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setModifiedDate($modifiedDate) + { + $this->modifiedDate = $modifiedDate; + } + public function getModifiedDate() + { + return $this->modifiedDate; + } + public function setReplies($replies) + { + $this->replies = $replies; + } + public function getReplies() + { + return $this->replies; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} + +class Google_Service_Drive_CommentContext extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $type; + public $value; + + + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Drive_CommentList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Drive_Comment'; + protected $itemsDataType = 'array'; + public $kind; + public $nextLink; + public $nextPageToken; + public $selfLink; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Drive_CommentReply extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $authorType = 'Google_Service_Drive_User'; + protected $authorDataType = ''; + public $content; + public $createdDate; + public $deleted; + public $htmlContent; + public $kind; + public $modifiedDate; + public $replyId; + public $verb; + + + public function setAuthor(Google_Service_Drive_User $author) + { + $this->author = $author; + } + public function getAuthor() + { + return $this->author; + } + public function setContent($content) + { + $this->content = $content; + } + public function getContent() + { + return $this->content; + } + public function setCreatedDate($createdDate) + { + $this->createdDate = $createdDate; + } + public function getCreatedDate() + { + return $this->createdDate; + } + public function setDeleted($deleted) + { + $this->deleted = $deleted; + } + public function getDeleted() + { + return $this->deleted; + } + public function setHtmlContent($htmlContent) + { + $this->htmlContent = $htmlContent; + } + public function getHtmlContent() + { + return $this->htmlContent; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setModifiedDate($modifiedDate) + { + $this->modifiedDate = $modifiedDate; + } + public function getModifiedDate() + { + return $this->modifiedDate; + } + public function setReplyId($replyId) + { + $this->replyId = $replyId; + } + public function getReplyId() + { + return $this->replyId; + } + public function setVerb($verb) + { + $this->verb = $verb; + } + public function getVerb() + { + return $this->verb; + } +} + +class Google_Service_Drive_CommentReplyList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Drive_CommentReply'; + protected $itemsDataType = 'array'; + public $kind; + public $nextLink; + public $nextPageToken; + public $selfLink; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Drive_DriveFile extends Google_Collection +{ + protected $collection_key = 'spaces'; + protected $internal_gapi_mappings = array( + ); + public $alternateLink; + public $appDataContents; + public $canComment; + public $copyable; + public $createdDate; + public $defaultOpenWithLink; + public $description; + public $downloadUrl; + public $editable; + public $embedLink; + public $etag; + public $explicitlyTrashed; + public $exportLinks; + public $fileExtension; + public $fileSize; + public $folderColorRgb; + public $fullFileExtension; + public $headRevisionId; + public $iconLink; + public $id; + protected $imageMediaMetadataType = 'Google_Service_Drive_DriveFileImageMediaMetadata'; + protected $imageMediaMetadataDataType = ''; + protected $indexableTextType = 'Google_Service_Drive_DriveFileIndexableText'; + protected $indexableTextDataType = ''; + public $kind; + protected $labelsType = 'Google_Service_Drive_DriveFileLabels'; + protected $labelsDataType = ''; + protected $lastModifyingUserType = 'Google_Service_Drive_User'; + protected $lastModifyingUserDataType = ''; + public $lastModifyingUserName; + public $lastViewedByMeDate; + public $markedViewedByMeDate; + public $md5Checksum; + public $mimeType; + public $modifiedByMeDate; + public $modifiedDate; + public $openWithLinks; + public $originalFilename; + public $ownedByMe; + public $ownerNames; + protected $ownersType = 'Google_Service_Drive_User'; + protected $ownersDataType = 'array'; + protected $parentsType = 'Google_Service_Drive_ParentReference'; + protected $parentsDataType = 'array'; + protected $permissionsType = 'Google_Service_Drive_Permission'; + protected $permissionsDataType = 'array'; + protected $propertiesType = 'Google_Service_Drive_Property'; + protected $propertiesDataType = 'array'; + public $quotaBytesUsed; + public $selfLink; + public $shareable; + public $shared; + public $sharedWithMeDate; + protected $sharingUserType = 'Google_Service_Drive_User'; + protected $sharingUserDataType = ''; + public $spaces; + protected $thumbnailType = 'Google_Service_Drive_DriveFileThumbnail'; + protected $thumbnailDataType = ''; + public $thumbnailLink; + public $title; + protected $userPermissionType = 'Google_Service_Drive_Permission'; + protected $userPermissionDataType = ''; + public $version; + protected $videoMediaMetadataType = 'Google_Service_Drive_DriveFileVideoMediaMetadata'; + protected $videoMediaMetadataDataType = ''; + public $webContentLink; + public $webViewLink; + public $writersCanShare; + + + public function setAlternateLink($alternateLink) + { + $this->alternateLink = $alternateLink; + } + public function getAlternateLink() + { + return $this->alternateLink; + } + public function setAppDataContents($appDataContents) + { + $this->appDataContents = $appDataContents; + } + public function getAppDataContents() + { + return $this->appDataContents; + } + public function setCanComment($canComment) + { + $this->canComment = $canComment; + } + public function getCanComment() + { + return $this->canComment; + } + public function setCopyable($copyable) + { + $this->copyable = $copyable; + } + public function getCopyable() + { + return $this->copyable; + } + public function setCreatedDate($createdDate) + { + $this->createdDate = $createdDate; + } + public function getCreatedDate() + { + return $this->createdDate; + } + public function setDefaultOpenWithLink($defaultOpenWithLink) + { + $this->defaultOpenWithLink = $defaultOpenWithLink; + } + public function getDefaultOpenWithLink() + { + return $this->defaultOpenWithLink; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDownloadUrl($downloadUrl) + { + $this->downloadUrl = $downloadUrl; + } + public function getDownloadUrl() + { + return $this->downloadUrl; + } + public function setEditable($editable) + { + $this->editable = $editable; + } + public function getEditable() + { + return $this->editable; + } + public function setEmbedLink($embedLink) + { + $this->embedLink = $embedLink; + } + public function getEmbedLink() + { + return $this->embedLink; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setExplicitlyTrashed($explicitlyTrashed) + { + $this->explicitlyTrashed = $explicitlyTrashed; + } + public function getExplicitlyTrashed() + { + return $this->explicitlyTrashed; + } + public function setExportLinks($exportLinks) + { + $this->exportLinks = $exportLinks; + } + public function getExportLinks() + { + return $this->exportLinks; + } + public function setFileExtension($fileExtension) + { + $this->fileExtension = $fileExtension; + } + public function getFileExtension() + { + return $this->fileExtension; + } + public function setFileSize($fileSize) + { + $this->fileSize = $fileSize; + } + public function getFileSize() + { + return $this->fileSize; + } + public function setFolderColorRgb($folderColorRgb) + { + $this->folderColorRgb = $folderColorRgb; + } + public function getFolderColorRgb() + { + return $this->folderColorRgb; + } + public function setFullFileExtension($fullFileExtension) + { + $this->fullFileExtension = $fullFileExtension; + } + public function getFullFileExtension() + { + return $this->fullFileExtension; + } + public function setHeadRevisionId($headRevisionId) + { + $this->headRevisionId = $headRevisionId; + } + public function getHeadRevisionId() + { + return $this->headRevisionId; + } + public function setIconLink($iconLink) + { + $this->iconLink = $iconLink; + } + public function getIconLink() + { + return $this->iconLink; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImageMediaMetadata(Google_Service_Drive_DriveFileImageMediaMetadata $imageMediaMetadata) + { + $this->imageMediaMetadata = $imageMediaMetadata; + } + public function getImageMediaMetadata() + { + return $this->imageMediaMetadata; + } + public function setIndexableText(Google_Service_Drive_DriveFileIndexableText $indexableText) + { + $this->indexableText = $indexableText; + } + public function getIndexableText() + { + return $this->indexableText; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLabels(Google_Service_Drive_DriveFileLabels $labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setLastModifyingUser(Google_Service_Drive_User $lastModifyingUser) + { + $this->lastModifyingUser = $lastModifyingUser; + } + public function getLastModifyingUser() + { + return $this->lastModifyingUser; + } + public function setLastModifyingUserName($lastModifyingUserName) + { + $this->lastModifyingUserName = $lastModifyingUserName; + } + public function getLastModifyingUserName() + { + return $this->lastModifyingUserName; + } + public function setLastViewedByMeDate($lastViewedByMeDate) + { + $this->lastViewedByMeDate = $lastViewedByMeDate; + } + public function getLastViewedByMeDate() + { + return $this->lastViewedByMeDate; + } + public function setMarkedViewedByMeDate($markedViewedByMeDate) + { + $this->markedViewedByMeDate = $markedViewedByMeDate; + } + public function getMarkedViewedByMeDate() + { + return $this->markedViewedByMeDate; + } + public function setMd5Checksum($md5Checksum) + { + $this->md5Checksum = $md5Checksum; + } + public function getMd5Checksum() + { + return $this->md5Checksum; + } + public function setMimeType($mimeType) + { + $this->mimeType = $mimeType; + } + public function getMimeType() + { + return $this->mimeType; + } + public function setModifiedByMeDate($modifiedByMeDate) + { + $this->modifiedByMeDate = $modifiedByMeDate; + } + public function getModifiedByMeDate() + { + return $this->modifiedByMeDate; + } + public function setModifiedDate($modifiedDate) + { + $this->modifiedDate = $modifiedDate; + } + public function getModifiedDate() + { + return $this->modifiedDate; + } + public function setOpenWithLinks($openWithLinks) + { + $this->openWithLinks = $openWithLinks; + } + public function getOpenWithLinks() + { + return $this->openWithLinks; + } + public function setOriginalFilename($originalFilename) + { + $this->originalFilename = $originalFilename; + } + public function getOriginalFilename() + { + return $this->originalFilename; + } + public function setOwnedByMe($ownedByMe) + { + $this->ownedByMe = $ownedByMe; + } + public function getOwnedByMe() + { + return $this->ownedByMe; + } + public function setOwnerNames($ownerNames) + { + $this->ownerNames = $ownerNames; + } + public function getOwnerNames() + { + return $this->ownerNames; + } + public function setOwners($owners) + { + $this->owners = $owners; + } + public function getOwners() + { + return $this->owners; + } + public function setParents($parents) + { + $this->parents = $parents; + } + public function getParents() + { + return $this->parents; + } + public function setPermissions($permissions) + { + $this->permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } + public function setProperties($properties) + { + $this->properties = $properties; + } + public function getProperties() + { + return $this->properties; + } + public function setQuotaBytesUsed($quotaBytesUsed) + { + $this->quotaBytesUsed = $quotaBytesUsed; + } + public function getQuotaBytesUsed() + { + return $this->quotaBytesUsed; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setShareable($shareable) + { + $this->shareable = $shareable; + } + public function getShareable() + { + return $this->shareable; + } + public function setShared($shared) + { + $this->shared = $shared; + } + public function getShared() + { + return $this->shared; + } + public function setSharedWithMeDate($sharedWithMeDate) + { + $this->sharedWithMeDate = $sharedWithMeDate; + } + public function getSharedWithMeDate() + { + return $this->sharedWithMeDate; + } + public function setSharingUser(Google_Service_Drive_User $sharingUser) + { + $this->sharingUser = $sharingUser; + } + public function getSharingUser() + { + return $this->sharingUser; + } + public function setSpaces($spaces) + { + $this->spaces = $spaces; + } + public function getSpaces() + { + return $this->spaces; + } + public function setThumbnail(Google_Service_Drive_DriveFileThumbnail $thumbnail) + { + $this->thumbnail = $thumbnail; + } + public function getThumbnail() + { + return $this->thumbnail; + } + public function setThumbnailLink($thumbnailLink) + { + $this->thumbnailLink = $thumbnailLink; + } + public function getThumbnailLink() + { + return $this->thumbnailLink; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setUserPermission(Google_Service_Drive_Permission $userPermission) + { + $this->userPermission = $userPermission; + } + public function getUserPermission() + { + return $this->userPermission; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } + public function setVideoMediaMetadata(Google_Service_Drive_DriveFileVideoMediaMetadata $videoMediaMetadata) + { + $this->videoMediaMetadata = $videoMediaMetadata; + } + public function getVideoMediaMetadata() + { + return $this->videoMediaMetadata; + } + public function setWebContentLink($webContentLink) + { + $this->webContentLink = $webContentLink; + } + public function getWebContentLink() + { + return $this->webContentLink; + } + public function setWebViewLink($webViewLink) + { + $this->webViewLink = $webViewLink; + } + public function getWebViewLink() + { + return $this->webViewLink; + } + public function setWritersCanShare($writersCanShare) + { + $this->writersCanShare = $writersCanShare; + } + public function getWritersCanShare() + { + return $this->writersCanShare; + } +} + +class Google_Service_Drive_DriveFileExportLinks extends Google_Model +{ +} + +class Google_Service_Drive_DriveFileImageMediaMetadata extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $aperture; + public $cameraMake; + public $cameraModel; + public $colorSpace; + public $date; + public $exposureBias; + public $exposureMode; + public $exposureTime; + public $flashUsed; + public $focalLength; + public $height; + public $isoSpeed; + public $lens; + protected $locationType = 'Google_Service_Drive_DriveFileImageMediaMetadataLocation'; + protected $locationDataType = ''; + public $maxApertureValue; + public $meteringMode; + public $rotation; + public $sensor; + public $subjectDistance; + public $whiteBalance; + public $width; + + + public function setAperture($aperture) + { + $this->aperture = $aperture; + } + public function getAperture() + { + return $this->aperture; + } + public function setCameraMake($cameraMake) + { + $this->cameraMake = $cameraMake; + } + public function getCameraMake() + { + return $this->cameraMake; + } + public function setCameraModel($cameraModel) + { + $this->cameraModel = $cameraModel; + } + public function getCameraModel() + { + return $this->cameraModel; + } + public function setColorSpace($colorSpace) + { + $this->colorSpace = $colorSpace; + } + public function getColorSpace() + { + return $this->colorSpace; + } + public function setDate($date) + { + $this->date = $date; + } + public function getDate() + { + return $this->date; + } + public function setExposureBias($exposureBias) + { + $this->exposureBias = $exposureBias; + } + public function getExposureBias() + { + return $this->exposureBias; + } + public function setExposureMode($exposureMode) + { + $this->exposureMode = $exposureMode; + } + public function getExposureMode() + { + return $this->exposureMode; + } + public function setExposureTime($exposureTime) + { + $this->exposureTime = $exposureTime; + } + public function getExposureTime() + { + return $this->exposureTime; + } + public function setFlashUsed($flashUsed) + { + $this->flashUsed = $flashUsed; + } + public function getFlashUsed() + { + return $this->flashUsed; + } + public function setFocalLength($focalLength) + { + $this->focalLength = $focalLength; + } + public function getFocalLength() + { + return $this->focalLength; + } + public function setHeight($height) + { + $this->height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setIsoSpeed($isoSpeed) + { + $this->isoSpeed = $isoSpeed; + } + public function getIsoSpeed() + { + return $this->isoSpeed; + } + public function setLens($lens) + { + $this->lens = $lens; + } + public function getLens() + { + return $this->lens; + } + public function setLocation(Google_Service_Drive_DriveFileImageMediaMetadataLocation $location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setMaxApertureValue($maxApertureValue) + { + $this->maxApertureValue = $maxApertureValue; + } + public function getMaxApertureValue() + { + return $this->maxApertureValue; + } + public function setMeteringMode($meteringMode) + { + $this->meteringMode = $meteringMode; + } + public function getMeteringMode() + { + return $this->meteringMode; + } + public function setRotation($rotation) + { + $this->rotation = $rotation; + } + public function getRotation() + { + return $this->rotation; + } + public function setSensor($sensor) + { + $this->sensor = $sensor; + } + public function getSensor() + { + return $this->sensor; + } + public function setSubjectDistance($subjectDistance) + { + $this->subjectDistance = $subjectDistance; + } + public function getSubjectDistance() + { + return $this->subjectDistance; + } + public function setWhiteBalance($whiteBalance) + { + $this->whiteBalance = $whiteBalance; + } + public function getWhiteBalance() + { + return $this->whiteBalance; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} + +class Google_Service_Drive_DriveFileImageMediaMetadataLocation extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $altitude; + public $latitude; + public $longitude; + + + public function setAltitude($altitude) + { + $this->altitude = $altitude; + } + public function getAltitude() + { + return $this->altitude; + } + public function setLatitude($latitude) + { + $this->latitude = $latitude; + } + public function getLatitude() + { + return $this->latitude; + } + public function setLongitude($longitude) + { + $this->longitude = $longitude; + } + public function getLongitude() + { + return $this->longitude; + } +} + +class Google_Service_Drive_DriveFileIndexableText extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $text; + + + public function setText($text) + { + $this->text = $text; + } + public function getText() + { + return $this->text; + } +} + +class Google_Service_Drive_DriveFileLabels extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $hidden; + public $restricted; + public $starred; + public $trashed; + public $viewed; + + + public function setHidden($hidden) + { + $this->hidden = $hidden; + } + public function getHidden() + { + return $this->hidden; + } + public function setRestricted($restricted) + { + $this->restricted = $restricted; + } + public function getRestricted() + { + return $this->restricted; + } + public function setStarred($starred) + { + $this->starred = $starred; + } + public function getStarred() + { + return $this->starred; + } + public function setTrashed($trashed) + { + $this->trashed = $trashed; + } + public function getTrashed() + { + return $this->trashed; + } + public function setViewed($viewed) + { + $this->viewed = $viewed; + } + public function getViewed() + { + return $this->viewed; + } +} + +class Google_Service_Drive_DriveFileOpenWithLinks extends Google_Model +{ +} + +class Google_Service_Drive_DriveFileThumbnail extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $image; + public $mimeType; + + + public function setImage($image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } + public function setMimeType($mimeType) + { + $this->mimeType = $mimeType; + } + public function getMimeType() + { + return $this->mimeType; + } +} + +class Google_Service_Drive_DriveFileVideoMediaMetadata extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $durationMillis; + public $height; + public $width; + + + public function setDurationMillis($durationMillis) + { + $this->durationMillis = $durationMillis; + } + public function getDurationMillis() + { + return $this->durationMillis; + } + public function setHeight($height) + { + $this->height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} + +class Google_Service_Drive_FileList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_Drive_DriveFile'; + protected $itemsDataType = 'array'; + public $kind; + public $nextLink; + public $nextPageToken; + public $selfLink; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Drive_GeneratedIds extends Google_Collection +{ + protected $collection_key = 'ids'; + protected $internal_gapi_mappings = array( + ); + public $ids; + public $kind; + public $space; + + + public function setIds($ids) + { + $this->ids = $ids; + } + public function getIds() + { + return $this->ids; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSpace($space) + { + $this->space = $space; + } + public function getSpace() + { + return $this->space; + } +} + +class Google_Service_Drive_ParentList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_Drive_ParentReference'; + protected $itemsDataType = 'array'; + public $kind; + public $selfLink; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Drive_ParentReference extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $isRoot; + public $kind; + public $parentLink; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIsRoot($isRoot) + { + $this->isRoot = $isRoot; + } + public function getIsRoot() + { + return $this->isRoot; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setParentLink($parentLink) + { + $this->parentLink = $parentLink; + } + public function getParentLink() + { + return $this->parentLink; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Drive_Permission extends Google_Collection +{ + protected $collection_key = 'additionalRoles'; + protected $internal_gapi_mappings = array( + ); + public $additionalRoles; + public $authKey; + public $domain; + public $emailAddress; + public $etag; + public $id; + public $kind; + public $name; + public $photoLink; + public $role; + public $selfLink; + public $type; + public $value; + public $withLink; + + + public function setAdditionalRoles($additionalRoles) + { + $this->additionalRoles = $additionalRoles; + } + public function getAdditionalRoles() + { + return $this->additionalRoles; + } + public function setAuthKey($authKey) + { + $this->authKey = $authKey; + } + public function getAuthKey() + { + return $this->authKey; + } + public function setDomain($domain) + { + $this->domain = $domain; + } + public function getDomain() + { + return $this->domain; + } + public function setEmailAddress($emailAddress) + { + $this->emailAddress = $emailAddress; + } + public function getEmailAddress() + { + return $this->emailAddress; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPhotoLink($photoLink) + { + $this->photoLink = $photoLink; + } + public function getPhotoLink() + { + return $this->photoLink; + } + public function setRole($role) + { + $this->role = $role; + } + public function getRole() + { + return $this->role; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } + public function setWithLink($withLink) + { + $this->withLink = $withLink; + } + public function getWithLink() + { + return $this->withLink; + } +} + +class Google_Service_Drive_PermissionId extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $kind; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Drive_PermissionList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_Drive_Permission'; + protected $itemsDataType = 'array'; + public $kind; + public $selfLink; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Drive_Property extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $etag; + public $key; + public $kind; + public $selfLink; + public $value; + public $visibility; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } + public function setVisibility($visibility) + { + $this->visibility = $visibility; + } + public function getVisibility() + { + return $this->visibility; + } +} + +class Google_Service_Drive_PropertyList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_Drive_Property'; + protected $itemsDataType = 'array'; + public $kind; + public $selfLink; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Drive_Revision extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $downloadUrl; + public $etag; + public $exportLinks; + public $fileSize; + public $id; + public $kind; + protected $lastModifyingUserType = 'Google_Service_Drive_User'; + protected $lastModifyingUserDataType = ''; + public $lastModifyingUserName; + public $md5Checksum; + public $mimeType; + public $modifiedDate; + public $originalFilename; + public $pinned; + public $publishAuto; + public $published; + public $publishedLink; + public $publishedOutsideDomain; + public $selfLink; + + + public function setDownloadUrl($downloadUrl) + { + $this->downloadUrl = $downloadUrl; + } + public function getDownloadUrl() + { + return $this->downloadUrl; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setExportLinks($exportLinks) + { + $this->exportLinks = $exportLinks; + } + public function getExportLinks() + { + return $this->exportLinks; + } + public function setFileSize($fileSize) + { + $this->fileSize = $fileSize; + } + public function getFileSize() + { + return $this->fileSize; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastModifyingUser(Google_Service_Drive_User $lastModifyingUser) + { + $this->lastModifyingUser = $lastModifyingUser; + } + public function getLastModifyingUser() + { + return $this->lastModifyingUser; + } + public function setLastModifyingUserName($lastModifyingUserName) + { + $this->lastModifyingUserName = $lastModifyingUserName; + } + public function getLastModifyingUserName() + { + return $this->lastModifyingUserName; + } + public function setMd5Checksum($md5Checksum) + { + $this->md5Checksum = $md5Checksum; + } + public function getMd5Checksum() + { + return $this->md5Checksum; + } + public function setMimeType($mimeType) + { + $this->mimeType = $mimeType; + } + public function getMimeType() + { + return $this->mimeType; + } + public function setModifiedDate($modifiedDate) + { + $this->modifiedDate = $modifiedDate; + } + public function getModifiedDate() + { + return $this->modifiedDate; + } + public function setOriginalFilename($originalFilename) + { + $this->originalFilename = $originalFilename; + } + public function getOriginalFilename() + { + return $this->originalFilename; + } + public function setPinned($pinned) + { + $this->pinned = $pinned; + } + public function getPinned() + { + return $this->pinned; + } + public function setPublishAuto($publishAuto) + { + $this->publishAuto = $publishAuto; + } + public function getPublishAuto() + { + return $this->publishAuto; + } + public function setPublished($published) + { + $this->published = $published; + } + public function getPublished() + { + return $this->published; + } + public function setPublishedLink($publishedLink) + { + $this->publishedLink = $publishedLink; + } + public function getPublishedLink() + { + return $this->publishedLink; + } + public function setPublishedOutsideDomain($publishedOutsideDomain) + { + $this->publishedOutsideDomain = $publishedOutsideDomain; + } + public function getPublishedOutsideDomain() + { + return $this->publishedOutsideDomain; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Drive_RevisionExportLinks extends Google_Model +{ +} + +class Google_Service_Drive_RevisionList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_Drive_Revision'; + protected $itemsDataType = 'array'; + public $kind; + public $selfLink; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Drive_User extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $displayName; + public $emailAddress; + public $isAuthenticatedUser; + public $kind; + public $permissionId; + protected $pictureType = 'Google_Service_Drive_UserPicture'; + protected $pictureDataType = ''; + + + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setEmailAddress($emailAddress) + { + $this->emailAddress = $emailAddress; + } + public function getEmailAddress() + { + return $this->emailAddress; + } + public function setIsAuthenticatedUser($isAuthenticatedUser) + { + $this->isAuthenticatedUser = $isAuthenticatedUser; + } + public function getIsAuthenticatedUser() + { + return $this->isAuthenticatedUser; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPermissionId($permissionId) + { + $this->permissionId = $permissionId; + } + public function getPermissionId() + { + return $this->permissionId; + } + public function setPicture(Google_Service_Drive_UserPicture $picture) + { + $this->picture = $picture; + } + public function getPicture() + { + return $this->picture; + } +} + +class Google_Service_Drive_UserPicture extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $url; + + + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Exception.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Exception.php new file mode 100644 index 0000000..65c945b --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Exception.php @@ -0,0 +1,105 @@ += 0) { + parent::__construct($message, $code, $previous); + } else { + parent::__construct($message, $code); + } + + $this->errors = $errors; + + if (is_array($retryMap)) { + $this->retryMap = $retryMap; + } + } + + /** + * An example of the possible errors returned. + * + * { + * "domain": "global", + * "reason": "authError", + * "message": "Invalid Credentials", + * "locationType": "header", + * "location": "Authorization", + * } + * + * @return [{string, string}] List of errors return in an HTTP response or []. + */ + public function getErrors() + { + return $this->errors; + } + + /** + * Gets the number of times the associated task can be retried. + * + * NOTE: -1 is returned if the task can be retried indefinitely + * + * @return integer + */ + public function allowedRetries() + { + if (isset($this->retryMap[$this->code])) { + return $this->retryMap[$this->code]; + } + + $errors = $this->getErrors(); + + if (!empty($errors) && isset($errors[0]['reason']) && + isset($this->retryMap[$errors[0]['reason']])) { + return $this->retryMap[$errors[0]['reason']]; + } + + return 0; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Fitness.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Fitness.php new file mode 100644 index 0000000..2e7fa29 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Fitness.php @@ -0,0 +1,1568 @@ + + * Google Fit API

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Fitness extends Google_Service +{ + /** View your activity information in Google Fit. */ + const FITNESS_ACTIVITY_READ = + "https://www.googleapis.com/auth/fitness.activity.read"; + /** View and store your activity information in Google Fit. */ + const FITNESS_ACTIVITY_WRITE = + "https://www.googleapis.com/auth/fitness.activity.write"; + /** View body sensor information in Google Fit. */ + const FITNESS_BODY_READ = + "https://www.googleapis.com/auth/fitness.body.read"; + /** View and store body sensor data in Google Fit. */ + const FITNESS_BODY_WRITE = + "https://www.googleapis.com/auth/fitness.body.write"; + /** View your stored location data in Google Fit. */ + const FITNESS_LOCATION_READ = + "https://www.googleapis.com/auth/fitness.location.read"; + /** View and store your location data in Google Fit. */ + const FITNESS_LOCATION_WRITE = + "https://www.googleapis.com/auth/fitness.location.write"; + + public $users_dataSources; + public $users_dataSources_datasets; + public $users_dataset; + public $users_sessions; + + + /** + * Constructs the internal representation of the Fitness service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'fitness/v1/users/'; + $this->version = 'v1'; + $this->serviceName = 'fitness'; + + $this->users_dataSources = new Google_Service_Fitness_UsersDataSources_Resource( + $this, + $this->serviceName, + 'dataSources', + array( + 'methods' => array( + 'create' => array( + 'path' => '{userId}/dataSources', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => '{userId}/dataSources/{dataSourceId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dataSourceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{userId}/dataSources/{dataSourceId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dataSourceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{userId}/dataSources', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dataTypeName' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ),'patch' => array( + 'path' => '{userId}/dataSources/{dataSourceId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dataSourceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{userId}/dataSources/{dataSourceId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dataSourceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->users_dataSources_datasets = new Google_Service_Fitness_UsersDataSourcesDatasets_Resource( + $this, + $this->serviceName, + 'datasets', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{userId}/dataSources/{dataSourceId}/datasets/{datasetId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dataSourceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'modifiedTimeMillis' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'currentTimeMillis' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'get' => array( + 'path' => '{userId}/dataSources/{dataSourceId}/datasets/{datasetId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dataSourceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'limit' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => '{userId}/dataSources/{dataSourceId}/datasets/{datasetId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dataSourceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'currentTimeMillis' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->users_dataset = new Google_Service_Fitness_UsersDataset_Resource( + $this, + $this->serviceName, + 'dataset', + array( + 'methods' => array( + 'aggregate' => array( + 'path' => '{userId}/dataset:aggregate', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->users_sessions = new Google_Service_Fitness_UsersSessions_Resource( + $this, + $this->serviceName, + 'sessions', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{userId}/sessions/{sessionId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sessionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'currentTimeMillis' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => '{userId}/sessions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'endTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'includeDeleted' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'startTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => '{userId}/sessions/{sessionId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sessionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'currentTimeMillis' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "users" collection of methods. + * Typical usage is: + * + * $fitnessService = new Google_Service_Fitness(...); + * $users = $fitnessService->users; + * + */ +class Google_Service_Fitness_Users_Resource extends Google_Service_Resource +{ +} + +/** + * The "dataSources" collection of methods. + * Typical usage is: + * + * $fitnessService = new Google_Service_Fitness(...); + * $dataSources = $fitnessService->dataSources; + * + */ +class Google_Service_Fitness_UsersDataSources_Resource extends Google_Service_Resource +{ + + /** + * Creates a new data source that is unique across all data sources belonging to + * this user. The data stream ID field can be omitted and will be generated by + * the server with the correct format. The data stream ID is an ordered + * combination of some fields from the data source. In addition to the data + * source fields reflected into the data source ID, the developer project number + * that is authenticated when creating the data source is included. This + * developer project number is obfuscated when read by any other developer + * reading public data types. (dataSources.create) + * + * @param string $userId Create the data source for the person identified. Use + * me to indicate the authenticated user. Only me is supported at this time. + * @param Google_DataSource $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Fitness_DataSource + */ + public function create($userId, Google_Service_Fitness_DataSource $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Fitness_DataSource"); + } + + /** + * Delete the data source if there are no datapoints associated with it + * (dataSources.delete) + * + * @param string $userId Retrieve a data source for the person identified. Use + * me to indicate the authenticated user. Only me is supported at this time. + * @param string $dataSourceId The data stream ID of the data source to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Fitness_DataSource + */ + public function delete($userId, $dataSourceId, $optParams = array()) + { + $params = array('userId' => $userId, 'dataSourceId' => $dataSourceId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Fitness_DataSource"); + } + + /** + * Returns a data source identified by a data stream ID. (dataSources.get) + * + * @param string $userId Retrieve a data source for the person identified. Use + * me to indicate the authenticated user. Only me is supported at this time. + * @param string $dataSourceId The data stream ID of the data source to + * retrieve. + * @param array $optParams Optional parameters. + * @return Google_Service_Fitness_DataSource + */ + public function get($userId, $dataSourceId, $optParams = array()) + { + $params = array('userId' => $userId, 'dataSourceId' => $dataSourceId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Fitness_DataSource"); + } + + /** + * Lists all data sources that are visible to the developer, using the OAuth + * scopes provided. The list is not exhaustive: the user may have private data + * sources that are only visible to other developers or calls using other + * scopes. (dataSources.listUsersDataSources) + * + * @param string $userId List data sources for the person identified. Use me to + * indicate the authenticated user. Only me is supported at this time. + * @param array $optParams Optional parameters. + * + * @opt_param string dataTypeName The names of data types to include in the + * list. If not specified, all data sources will be returned. + * @return Google_Service_Fitness_ListDataSourcesResponse + */ + public function listUsersDataSources($userId, $optParams = array()) + { + $params = array('userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Fitness_ListDataSourcesResponse"); + } + + /** + * Updates a given data source. It is an error to modify the data source's data + * stream ID, data type, type, stream name or device information apart from the + * device version. Changing these fields would require a new unique data stream + * ID and separate data source. + * + * Data sources are identified by their data stream ID. This method supports + * patch semantics. (dataSources.patch) + * + * @param string $userId Update the data source for the person identified. Use + * me to indicate the authenticated user. Only me is supported at this time. + * @param string $dataSourceId The data stream ID of the data source to update. + * @param Google_DataSource $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Fitness_DataSource + */ + public function patch($userId, $dataSourceId, Google_Service_Fitness_DataSource $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'dataSourceId' => $dataSourceId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Fitness_DataSource"); + } + + /** + * Updates a given data source. It is an error to modify the data source's data + * stream ID, data type, type, stream name or device information apart from the + * device version. Changing these fields would require a new unique data stream + * ID and separate data source. + * + * Data sources are identified by their data stream ID. (dataSources.update) + * + * @param string $userId Update the data source for the person identified. Use + * me to indicate the authenticated user. Only me is supported at this time. + * @param string $dataSourceId The data stream ID of the data source to update. + * @param Google_DataSource $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Fitness_DataSource + */ + public function update($userId, $dataSourceId, Google_Service_Fitness_DataSource $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'dataSourceId' => $dataSourceId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Fitness_DataSource"); + } +} + +/** + * The "datasets" collection of methods. + * Typical usage is: + * + * $fitnessService = new Google_Service_Fitness(...); + * $datasets = $fitnessService->datasets; + * + */ +class Google_Service_Fitness_UsersDataSourcesDatasets_Resource extends Google_Service_Resource +{ + + /** + * Performs an inclusive delete of all data points whose start and end times + * have any overlap with the time range specified by the dataset ID. For most + * data types, the entire data point will be deleted. For data types where the + * time span represents a consistent value (such as + * com.google.activity.segment), and a data point straddles either end point of + * the dataset, only the overlapping portion of the data point will be deleted. + * (datasets.delete) + * + * @param string $userId Delete a dataset for the person identified. Use me to + * indicate the authenticated user. Only me is supported at this time. + * @param string $dataSourceId The data stream ID of the data source that + * created the dataset. + * @param string $datasetId Dataset identifier that is a composite of the + * minimum data point start time and maximum data point end time represented as + * nanoseconds from the epoch. The ID is formatted like: "startTime-endTime" + * where startTime and endTime are 64 bit integers. + * @param array $optParams Optional parameters. + * + * @opt_param string modifiedTimeMillis When the operation was performed on the + * client. + * @opt_param string currentTimeMillis The client's current time in milliseconds + * since epoch. + */ + public function delete($userId, $dataSourceId, $datasetId, $optParams = array()) + { + $params = array('userId' => $userId, 'dataSourceId' => $dataSourceId, 'datasetId' => $datasetId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Returns a dataset containing all data points whose start and end times + * overlap with the specified range of the dataset minimum start time and + * maximum end time. Specifically, any data point whose start time is less than + * or equal to the dataset end time and whose end time is greater than or equal + * to the dataset start time. (datasets.get) + * + * @param string $userId Retrieve a dataset for the person identified. Use me to + * indicate the authenticated user. Only me is supported at this time. + * @param string $dataSourceId The data stream ID of the data source that + * created the dataset. + * @param string $datasetId Dataset identifier that is a composite of the + * minimum data point start time and maximum data point end time represented as + * nanoseconds from the epoch. The ID is formatted like: "startTime-endTime" + * where startTime and endTime are 64 bit integers. + * @param array $optParams Optional parameters. + * + * @opt_param int limit If specified, no more than this many data points will be + * included in the dataset. If the there are more data points in the dataset, + * nextPageToken will be set in the dataset response. + * @opt_param string pageToken The continuation token, which is used to page + * through large datasets. To get the next page of a dataset, set this parameter + * to the value of nextPageToken from the previous response. Each subsequent + * call will yield a partial dataset with data point end timestamps that are + * strictly smaller than those in the previous partial response. + * @return Google_Service_Fitness_Dataset + */ + public function get($userId, $dataSourceId, $datasetId, $optParams = array()) + { + $params = array('userId' => $userId, 'dataSourceId' => $dataSourceId, 'datasetId' => $datasetId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Fitness_Dataset"); + } + + /** + * Adds data points to a dataset. The dataset need not be previously created. + * All points within the given dataset will be returned with subsquent calls to + * retrieve this dataset. Data points can belong to more than one dataset. This + * method does not use patch semantics. (datasets.patch) + * + * @param string $userId Patch a dataset for the person identified. Use me to + * indicate the authenticated user. Only me is supported at this time. + * @param string $dataSourceId The data stream ID of the data source that + * created the dataset. + * @param string $datasetId Dataset identifier that is a composite of the + * minimum data point start time and maximum data point end time represented as + * nanoseconds from the epoch. The ID is formatted like: "startTime-endTime" + * where startTime and endTime are 64 bit integers. + * @param Google_Dataset $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string currentTimeMillis The client's current time in milliseconds + * since epoch. Note that the minStartTimeNs and maxEndTimeNs properties in the + * request body are in nanoseconds instead of milliseconds. + * @return Google_Service_Fitness_Dataset + */ + public function patch($userId, $dataSourceId, $datasetId, Google_Service_Fitness_Dataset $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'dataSourceId' => $dataSourceId, 'datasetId' => $datasetId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Fitness_Dataset"); + } +} +/** + * The "dataset" collection of methods. + * Typical usage is: + * + * $fitnessService = new Google_Service_Fitness(...); + * $dataset = $fitnessService->dataset; + * + */ +class Google_Service_Fitness_UsersDataset_Resource extends Google_Service_Resource +{ + + /** + * Aggregates data of a certain type or stream into buckets divided by a given + * type of boundary. Multiple data sets of multiple types and from multiple + * sources can be aggreated into exactly one bucket type per request. + * (dataset.aggregate) + * + * @param string $userId Aggregate data for the person identified. Use me to + * indicate the authenticated user. Only me is supported at this time. + * @param Google_AggregateRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Fitness_AggregateResponse + */ + public function aggregate($userId, Google_Service_Fitness_AggregateRequest $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('aggregate', array($params), "Google_Service_Fitness_AggregateResponse"); + } +} +/** + * The "sessions" collection of methods. + * Typical usage is: + * + * $fitnessService = new Google_Service_Fitness(...); + * $sessions = $fitnessService->sessions; + * + */ +class Google_Service_Fitness_UsersSessions_Resource extends Google_Service_Resource +{ + + /** + * Deletes a session specified by the given session ID. (sessions.delete) + * + * @param string $userId Delete a session for the person identified. Use me to + * indicate the authenticated user. Only me is supported at this time. + * @param string $sessionId The ID of the session to be deleted. + * @param array $optParams Optional parameters. + * + * @opt_param string currentTimeMillis The client's current time in milliseconds + * since epoch. + */ + public function delete($userId, $sessionId, $optParams = array()) + { + $params = array('userId' => $userId, 'sessionId' => $sessionId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Lists sessions previously created. (sessions.listUsersSessions) + * + * @param string $userId List sessions for the person identified. Use me to + * indicate the authenticated user. Only me is supported at this time. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The continuation token, which is used to page + * through large result sets. To get the next page of results, set this + * parameter to the value of nextPageToken from the previous response. + * @opt_param string endTime An RFC3339 timestamp. Only sessions ending between + * the start and end times will be included in the response. + * @opt_param bool includeDeleted If true, deleted sessions will be returned. + * When set to true, sessions returned in this response will only have an ID and + * will not have any other fields. + * @opt_param string startTime An RFC3339 timestamp. Only sessions ending + * between the start and end times will be included in the response. + * @return Google_Service_Fitness_ListSessionsResponse + */ + public function listUsersSessions($userId, $optParams = array()) + { + $params = array('userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Fitness_ListSessionsResponse"); + } + + /** + * Updates or insert a given session. (sessions.update) + * + * @param string $userId Create sessions for the person identified. Use me to + * indicate the authenticated user. Only me is supported at this time. + * @param string $sessionId The ID of the session to be created. + * @param Google_Session $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string currentTimeMillis The client's current time in milliseconds + * since epoch. + * @return Google_Service_Fitness_Session + */ + public function update($userId, $sessionId, Google_Service_Fitness_Session $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'sessionId' => $sessionId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Fitness_Session"); + } +} + + + + +class Google_Service_Fitness_AggregateBucket extends Google_Collection +{ + protected $collection_key = 'dataset'; + protected $internal_gapi_mappings = array( + ); + public $activity; + protected $datasetType = 'Google_Service_Fitness_Dataset'; + protected $datasetDataType = 'array'; + public $endTimeMillis; + protected $sessionType = 'Google_Service_Fitness_Session'; + protected $sessionDataType = ''; + public $startTimeMillis; + public $type; + + + public function setActivity($activity) + { + $this->activity = $activity; + } + public function getActivity() + { + return $this->activity; + } + public function setDataset($dataset) + { + $this->dataset = $dataset; + } + public function getDataset() + { + return $this->dataset; + } + public function setEndTimeMillis($endTimeMillis) + { + $this->endTimeMillis = $endTimeMillis; + } + public function getEndTimeMillis() + { + return $this->endTimeMillis; + } + public function setSession(Google_Service_Fitness_Session $session) + { + $this->session = $session; + } + public function getSession() + { + return $this->session; + } + public function setStartTimeMillis($startTimeMillis) + { + $this->startTimeMillis = $startTimeMillis; + } + public function getStartTimeMillis() + { + return $this->startTimeMillis; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Fitness_AggregateBy extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $dataSourceId; + public $dataTypeName; + + + public function setDataSourceId($dataSourceId) + { + $this->dataSourceId = $dataSourceId; + } + public function getDataSourceId() + { + return $this->dataSourceId; + } + public function setDataTypeName($dataTypeName) + { + $this->dataTypeName = $dataTypeName; + } + public function getDataTypeName() + { + return $this->dataTypeName; + } +} + +class Google_Service_Fitness_AggregateRequest extends Google_Collection +{ + protected $collection_key = 'aggregateBy'; + protected $internal_gapi_mappings = array( + ); + protected $aggregateByType = 'Google_Service_Fitness_AggregateBy'; + protected $aggregateByDataType = 'array'; + protected $bucketByActivitySegmentType = 'Google_Service_Fitness_BucketByActivity'; + protected $bucketByActivitySegmentDataType = ''; + protected $bucketByActivityTypeType = 'Google_Service_Fitness_BucketByActivity'; + protected $bucketByActivityTypeDataType = ''; + protected $bucketBySessionType = 'Google_Service_Fitness_BucketBySession'; + protected $bucketBySessionDataType = ''; + protected $bucketByTimeType = 'Google_Service_Fitness_BucketByTime'; + protected $bucketByTimeDataType = ''; + public $endTimeMillis; + public $startTimeMillis; + + + public function setAggregateBy($aggregateBy) + { + $this->aggregateBy = $aggregateBy; + } + public function getAggregateBy() + { + return $this->aggregateBy; + } + public function setBucketByActivitySegment(Google_Service_Fitness_BucketByActivity $bucketByActivitySegment) + { + $this->bucketByActivitySegment = $bucketByActivitySegment; + } + public function getBucketByActivitySegment() + { + return $this->bucketByActivitySegment; + } + public function setBucketByActivityType(Google_Service_Fitness_BucketByActivity $bucketByActivityType) + { + $this->bucketByActivityType = $bucketByActivityType; + } + public function getBucketByActivityType() + { + return $this->bucketByActivityType; + } + public function setBucketBySession(Google_Service_Fitness_BucketBySession $bucketBySession) + { + $this->bucketBySession = $bucketBySession; + } + public function getBucketBySession() + { + return $this->bucketBySession; + } + public function setBucketByTime(Google_Service_Fitness_BucketByTime $bucketByTime) + { + $this->bucketByTime = $bucketByTime; + } + public function getBucketByTime() + { + return $this->bucketByTime; + } + public function setEndTimeMillis($endTimeMillis) + { + $this->endTimeMillis = $endTimeMillis; + } + public function getEndTimeMillis() + { + return $this->endTimeMillis; + } + public function setStartTimeMillis($startTimeMillis) + { + $this->startTimeMillis = $startTimeMillis; + } + public function getStartTimeMillis() + { + return $this->startTimeMillis; + } +} + +class Google_Service_Fitness_AggregateResponse extends Google_Collection +{ + protected $collection_key = 'bucket'; + protected $internal_gapi_mappings = array( + ); + protected $bucketType = 'Google_Service_Fitness_AggregateBucket'; + protected $bucketDataType = 'array'; + + + public function setBucket($bucket) + { + $this->bucket = $bucket; + } + public function getBucket() + { + return $this->bucket; + } +} + +class Google_Service_Fitness_Application extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $detailsUrl; + public $name; + public $packageName; + public $version; + + + public function setDetailsUrl($detailsUrl) + { + $this->detailsUrl = $detailsUrl; + } + public function getDetailsUrl() + { + return $this->detailsUrl; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPackageName($packageName) + { + $this->packageName = $packageName; + } + public function getPackageName() + { + return $this->packageName; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} + +class Google_Service_Fitness_BucketByActivity extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $activityDataSourceId; + public $minDurationMillis; + + + public function setActivityDataSourceId($activityDataSourceId) + { + $this->activityDataSourceId = $activityDataSourceId; + } + public function getActivityDataSourceId() + { + return $this->activityDataSourceId; + } + public function setMinDurationMillis($minDurationMillis) + { + $this->minDurationMillis = $minDurationMillis; + } + public function getMinDurationMillis() + { + return $this->minDurationMillis; + } +} + +class Google_Service_Fitness_BucketBySession extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $minDurationMillis; + + + public function setMinDurationMillis($minDurationMillis) + { + $this->minDurationMillis = $minDurationMillis; + } + public function getMinDurationMillis() + { + return $this->minDurationMillis; + } +} + +class Google_Service_Fitness_BucketByTime extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $durationMillis; + + + public function setDurationMillis($durationMillis) + { + $this->durationMillis = $durationMillis; + } + public function getDurationMillis() + { + return $this->durationMillis; + } +} + +class Google_Service_Fitness_DataPoint extends Google_Collection +{ + protected $collection_key = 'value'; + protected $internal_gapi_mappings = array( + ); + public $computationTimeMillis; + public $dataTypeName; + public $endTimeNanos; + public $modifiedTimeMillis; + public $originDataSourceId; + public $rawTimestampNanos; + public $startTimeNanos; + protected $valueType = 'Google_Service_Fitness_Value'; + protected $valueDataType = 'array'; + + + public function setComputationTimeMillis($computationTimeMillis) + { + $this->computationTimeMillis = $computationTimeMillis; + } + public function getComputationTimeMillis() + { + return $this->computationTimeMillis; + } + public function setDataTypeName($dataTypeName) + { + $this->dataTypeName = $dataTypeName; + } + public function getDataTypeName() + { + return $this->dataTypeName; + } + public function setEndTimeNanos($endTimeNanos) + { + $this->endTimeNanos = $endTimeNanos; + } + public function getEndTimeNanos() + { + return $this->endTimeNanos; + } + public function setModifiedTimeMillis($modifiedTimeMillis) + { + $this->modifiedTimeMillis = $modifiedTimeMillis; + } + public function getModifiedTimeMillis() + { + return $this->modifiedTimeMillis; + } + public function setOriginDataSourceId($originDataSourceId) + { + $this->originDataSourceId = $originDataSourceId; + } + public function getOriginDataSourceId() + { + return $this->originDataSourceId; + } + public function setRawTimestampNanos($rawTimestampNanos) + { + $this->rawTimestampNanos = $rawTimestampNanos; + } + public function getRawTimestampNanos() + { + return $this->rawTimestampNanos; + } + public function setStartTimeNanos($startTimeNanos) + { + $this->startTimeNanos = $startTimeNanos; + } + public function getStartTimeNanos() + { + return $this->startTimeNanos; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Fitness_DataSource extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $applicationType = 'Google_Service_Fitness_Application'; + protected $applicationDataType = ''; + public $dataStreamId; + public $dataStreamName; + protected $dataTypeType = 'Google_Service_Fitness_DataType'; + protected $dataTypeDataType = ''; + protected $deviceType = 'Google_Service_Fitness_Device'; + protected $deviceDataType = ''; + public $name; + public $type; + + + public function setApplication(Google_Service_Fitness_Application $application) + { + $this->application = $application; + } + public function getApplication() + { + return $this->application; + } + public function setDataStreamId($dataStreamId) + { + $this->dataStreamId = $dataStreamId; + } + public function getDataStreamId() + { + return $this->dataStreamId; + } + public function setDataStreamName($dataStreamName) + { + $this->dataStreamName = $dataStreamName; + } + public function getDataStreamName() + { + return $this->dataStreamName; + } + public function setDataType(Google_Service_Fitness_DataType $dataType) + { + $this->dataType = $dataType; + } + public function getDataType() + { + return $this->dataType; + } + public function setDevice(Google_Service_Fitness_Device $device) + { + $this->device = $device; + } + public function getDevice() + { + return $this->device; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Fitness_DataType extends Google_Collection +{ + protected $collection_key = 'field'; + protected $internal_gapi_mappings = array( + ); + protected $fieldType = 'Google_Service_Fitness_DataTypeField'; + protected $fieldDataType = 'array'; + public $name; + + + public function setField($field) + { + $this->field = $field; + } + public function getField() + { + return $this->field; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_Fitness_DataTypeField extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $format; + public $name; + public $optional; + + + public function setFormat($format) + { + $this->format = $format; + } + public function getFormat() + { + return $this->format; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOptional($optional) + { + $this->optional = $optional; + } + public function getOptional() + { + return $this->optional; + } +} + +class Google_Service_Fitness_Dataset extends Google_Collection +{ + protected $collection_key = 'point'; + protected $internal_gapi_mappings = array( + ); + public $dataSourceId; + public $maxEndTimeNs; + public $minStartTimeNs; + public $nextPageToken; + protected $pointType = 'Google_Service_Fitness_DataPoint'; + protected $pointDataType = 'array'; + + + public function setDataSourceId($dataSourceId) + { + $this->dataSourceId = $dataSourceId; + } + public function getDataSourceId() + { + return $this->dataSourceId; + } + public function setMaxEndTimeNs($maxEndTimeNs) + { + $this->maxEndTimeNs = $maxEndTimeNs; + } + public function getMaxEndTimeNs() + { + return $this->maxEndTimeNs; + } + public function setMinStartTimeNs($minStartTimeNs) + { + $this->minStartTimeNs = $minStartTimeNs; + } + public function getMinStartTimeNs() + { + return $this->minStartTimeNs; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPoint($point) + { + $this->point = $point; + } + public function getPoint() + { + return $this->point; + } +} + +class Google_Service_Fitness_Device extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $manufacturer; + public $model; + public $type; + public $uid; + public $version; + + + public function setManufacturer($manufacturer) + { + $this->manufacturer = $manufacturer; + } + public function getManufacturer() + { + return $this->manufacturer; + } + public function setModel($model) + { + $this->model = $model; + } + public function getModel() + { + return $this->model; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUid($uid) + { + $this->uid = $uid; + } + public function getUid() + { + return $this->uid; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} + +class Google_Service_Fitness_ListDataSourcesResponse extends Google_Collection +{ + protected $collection_key = 'dataSource'; + protected $internal_gapi_mappings = array( + ); + protected $dataSourceType = 'Google_Service_Fitness_DataSource'; + protected $dataSourceDataType = 'array'; + + + public function setDataSource($dataSource) + { + $this->dataSource = $dataSource; + } + public function getDataSource() + { + return $this->dataSource; + } +} + +class Google_Service_Fitness_ListSessionsResponse extends Google_Collection +{ + protected $collection_key = 'session'; + protected $internal_gapi_mappings = array( + ); + protected $deletedSessionType = 'Google_Service_Fitness_Session'; + protected $deletedSessionDataType = 'array'; + public $nextPageToken; + protected $sessionType = 'Google_Service_Fitness_Session'; + protected $sessionDataType = 'array'; + + + public function setDeletedSession($deletedSession) + { + $this->deletedSession = $deletedSession; + } + public function getDeletedSession() + { + return $this->deletedSession; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSession($session) + { + $this->session = $session; + } + public function getSession() + { + return $this->session; + } +} + +class Google_Service_Fitness_MapValue extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $fpVal; + + + public function setFpVal($fpVal) + { + $this->fpVal = $fpVal; + } + public function getFpVal() + { + return $this->fpVal; + } +} + +class Google_Service_Fitness_Session extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $activeTimeMillis; + public $activityType; + protected $applicationType = 'Google_Service_Fitness_Application'; + protected $applicationDataType = ''; + public $description; + public $endTimeMillis; + public $id; + public $modifiedTimeMillis; + public $name; + public $startTimeMillis; + + + public function setActiveTimeMillis($activeTimeMillis) + { + $this->activeTimeMillis = $activeTimeMillis; + } + public function getActiveTimeMillis() + { + return $this->activeTimeMillis; + } + public function setActivityType($activityType) + { + $this->activityType = $activityType; + } + public function getActivityType() + { + return $this->activityType; + } + public function setApplication(Google_Service_Fitness_Application $application) + { + $this->application = $application; + } + public function getApplication() + { + return $this->application; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEndTimeMillis($endTimeMillis) + { + $this->endTimeMillis = $endTimeMillis; + } + public function getEndTimeMillis() + { + return $this->endTimeMillis; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setModifiedTimeMillis($modifiedTimeMillis) + { + $this->modifiedTimeMillis = $modifiedTimeMillis; + } + public function getModifiedTimeMillis() + { + return $this->modifiedTimeMillis; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setStartTimeMillis($startTimeMillis) + { + $this->startTimeMillis = $startTimeMillis; + } + public function getStartTimeMillis() + { + return $this->startTimeMillis; + } +} + +class Google_Service_Fitness_Value extends Google_Collection +{ + protected $collection_key = 'mapVal'; + protected $internal_gapi_mappings = array( + ); + public $fpVal; + public $intVal; + protected $mapValType = 'Google_Service_Fitness_ValueMapValEntry'; + protected $mapValDataType = 'array'; + public $stringVal; + + + public function setFpVal($fpVal) + { + $this->fpVal = $fpVal; + } + public function getFpVal() + { + return $this->fpVal; + } + public function setIntVal($intVal) + { + $this->intVal = $intVal; + } + public function getIntVal() + { + return $this->intVal; + } + public function setMapVal($mapVal) + { + $this->mapVal = $mapVal; + } + public function getMapVal() + { + return $this->mapVal; + } + public function setStringVal($stringVal) + { + $this->stringVal = $stringVal; + } + public function getStringVal() + { + return $this->stringVal; + } +} + +class Google_Service_Fitness_ValueMapValEntry extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $key; + protected $valueType = 'Google_Service_Fitness_MapValue'; + protected $valueDataType = ''; + + + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue(Google_Service_Fitness_MapValue $value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Freebase.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Freebase.php new file mode 100644 index 0000000..1fe07a0 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Freebase.php @@ -0,0 +1,453 @@ + + * Find Freebase entities using textual queries and other constraints.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Freebase extends Google_Service +{ + + + + private $base_methods; + + /** + * Constructs the internal representation of the Freebase service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'freebase/v1/'; + $this->version = 'v1'; + $this->serviceName = 'freebase'; + + $this->base_methods = new Google_Service_Resource( + $this, + $this->serviceName, + '', + array( + 'methods' => array( + 'reconcile' => array( + 'path' => 'reconcile', + 'httpMethod' => 'GET', + 'parameters' => array( + 'lang' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'confidence' => array( + 'location' => 'query', + 'type' => 'number', + ), + 'name' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'kind' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'prop' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'limit' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'search' => array( + 'path' => 'search', + 'httpMethod' => 'GET', + 'parameters' => array( + 'domain' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'help' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'query' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'scoring' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'cursor' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'prefixed' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'exact' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'mid' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'encode' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'type' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'as_of_time' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'stemmed' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'format' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'spell' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'with' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'lang' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'indent' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'callback' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'without' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'limit' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'output' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'mql_output' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } + /** + * Reconcile entities to Freebase open data. (reconcile) + * + * @param array $optParams Optional parameters. + * + * @opt_param string lang Languages for names and values. First language is used + * for display. Default is 'en'. + * @opt_param float confidence Required confidence for a candidate to match. + * Must be between .5 and 1.0 + * @opt_param string name Name of entity. + * @opt_param string kind Classifications of entity e.g. type, category, title. + * @opt_param string prop Property values for entity formatted as : + * @opt_param int limit Maximum number of candidates to return. + * @return Google_Service_Freebase_ReconcileGet + */ + public function reconcile($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->base_methods->call('reconcile', array($params), "Google_Service_Freebase_ReconcileGet"); + } + /** + * Search Freebase open data. (search) + * + * @param array $optParams Optional parameters. + * + * @opt_param string domain Restrict to topics with this Freebase domain id. + * @opt_param string help The keyword to request help on. + * @opt_param string query Query term to search for. + * @opt_param string scoring Relevance scoring algorithm to use. + * @opt_param int cursor The cursor value to use for the next page of results. + * @opt_param bool prefixed Prefix match against names and aliases. + * @opt_param bool exact Query on exact name and keys only. + * @opt_param string mid A mid to use instead of a query. + * @opt_param string encode The encoding of the response. You can use this + * parameter to enable html encoding. + * @opt_param string type Restrict to topics with this Freebase type id. + * @opt_param string as_of_time A mql as_of_time value to use with mql_output + * queries. + * @opt_param bool stemmed Query on stemmed names and aliases. May not be used + * with prefixed. + * @opt_param string format Structural format of the json response. + * @opt_param string spell Request 'did you mean' suggestions + * @opt_param string with A rule to match against. + * @opt_param string lang The code of the language to run the query with. + * Default is 'en'. + * @opt_param bool indent Whether to indent the json results or not. + * @opt_param string filter A filter to apply to the query. + * @opt_param string callback JS method name for JSONP callbacks. + * @opt_param string without A rule to not match against. + * @opt_param int limit Maximum number of results to return. + * @opt_param string output An output expression to request data from matches. + * @opt_param string mql_output The MQL query to run againist the results to + * extract more data. + */ + public function search($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->base_methods->call('search', array($params)); + } +} + + + + + +class Google_Service_Freebase_ReconcileCandidate extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $confidence; + public $lang; + public $mid; + public $name; + protected $notableType = 'Google_Service_Freebase_ReconcileCandidateNotable'; + protected $notableDataType = ''; + + + public function setConfidence($confidence) + { + $this->confidence = $confidence; + } + public function getConfidence() + { + return $this->confidence; + } + public function setLang($lang) + { + $this->lang = $lang; + } + public function getLang() + { + return $this->lang; + } + public function setMid($mid) + { + $this->mid = $mid; + } + public function getMid() + { + return $this->mid; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNotable(Google_Service_Freebase_ReconcileCandidateNotable $notable) + { + $this->notable = $notable; + } + public function getNotable() + { + return $this->notable; + } +} + +class Google_Service_Freebase_ReconcileCandidateNotable extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $name; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_Freebase_ReconcileGet extends Google_Collection +{ + protected $collection_key = 'warning'; + protected $internal_gapi_mappings = array( + ); + protected $candidateType = 'Google_Service_Freebase_ReconcileCandidate'; + protected $candidateDataType = 'array'; + protected $costsType = 'Google_Service_Freebase_ReconcileGetCosts'; + protected $costsDataType = ''; + protected $matchType = 'Google_Service_Freebase_ReconcileCandidate'; + protected $matchDataType = ''; + protected $warningType = 'Google_Service_Freebase_ReconcileGetWarning'; + protected $warningDataType = 'array'; + + + public function setCandidate($candidate) + { + $this->candidate = $candidate; + } + public function getCandidate() + { + return $this->candidate; + } + public function setCosts(Google_Service_Freebase_ReconcileGetCosts $costs) + { + $this->costs = $costs; + } + public function getCosts() + { + return $this->costs; + } + public function setMatch(Google_Service_Freebase_ReconcileCandidate $match) + { + $this->match = $match; + } + public function getMatch() + { + return $this->match; + } + public function setWarning($warning) + { + $this->warning = $warning; + } + public function getWarning() + { + return $this->warning; + } +} + +class Google_Service_Freebase_ReconcileGetCosts extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $hits; + public $ms; + + + public function setHits($hits) + { + $this->hits = $hits; + } + public function getHits() + { + return $this->hits; + } + public function setMs($ms) + { + $this->ms = $ms; + } + public function getMs() + { + return $this->ms; + } +} + +class Google_Service_Freebase_ReconcileGetWarning extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $location; + public $message; + public $reason; + + + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Fusiontables.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Fusiontables.php new file mode 100644 index 0000000..16b4828 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Fusiontables.php @@ -0,0 +1,2485 @@ + + * API for working with Fusion Tables data.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Fusiontables extends Google_Service +{ + /** Manage your Fusion Tables. */ + const FUSIONTABLES = + "https://www.googleapis.com/auth/fusiontables"; + /** View your Fusion Tables. */ + const FUSIONTABLES_READONLY = + "https://www.googleapis.com/auth/fusiontables.readonly"; + + public $column; + public $query; + public $style; + public $table; + public $task; + public $template; + + + /** + * Constructs the internal representation of the Fusiontables service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'fusiontables/v2/'; + $this->version = 'v2'; + $this->serviceName = 'fusiontables'; + + $this->column = new Google_Service_Fusiontables_Column_Resource( + $this, + $this->serviceName, + 'column', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'tables/{tableId}/columns/{columnId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'columnId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'tables/{tableId}/columns/{columnId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'columnId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'tables/{tableId}/columns', + 'httpMethod' => 'POST', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'tables/{tableId}/columns', + 'httpMethod' => 'GET', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => 'tables/{tableId}/columns/{columnId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'columnId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'tables/{tableId}/columns/{columnId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'columnId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->query = new Google_Service_Fusiontables_Query_Resource( + $this, + $this->serviceName, + 'query', + array( + 'methods' => array( + 'sql' => array( + 'path' => 'query', + 'httpMethod' => 'POST', + 'parameters' => array( + 'sql' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'typed' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'hdrs' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'sqlGet' => array( + 'path' => 'query', + 'httpMethod' => 'GET', + 'parameters' => array( + 'sql' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'typed' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'hdrs' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->style = new Google_Service_Fusiontables_Style_Resource( + $this, + $this->serviceName, + 'style', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'tables/{tableId}/styles/{styleId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'styleId' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'tables/{tableId}/styles/{styleId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'styleId' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'tables/{tableId}/styles', + 'httpMethod' => 'POST', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'tables/{tableId}/styles', + 'httpMethod' => 'GET', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => 'tables/{tableId}/styles/{styleId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'styleId' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'tables/{tableId}/styles/{styleId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'styleId' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->table = new Google_Service_Fusiontables_Table_Resource( + $this, + $this->serviceName, + 'table', + array( + 'methods' => array( + 'copy' => array( + 'path' => 'tables/{tableId}/copy', + 'httpMethod' => 'POST', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'copyPresentation' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'delete' => array( + 'path' => 'tables/{tableId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'tables/{tableId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'importRows' => array( + 'path' => 'tables/{tableId}/import', + 'httpMethod' => 'POST', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'startLine' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'isStrict' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'encoding' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'delimiter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'endLine' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'importTable' => array( + 'path' => 'tables/import', + 'httpMethod' => 'POST', + 'parameters' => array( + 'name' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'delimiter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'encoding' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'insert' => array( + 'path' => 'tables', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'list' => array( + 'path' => 'tables', + 'httpMethod' => 'GET', + 'parameters' => array( + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => 'tables/{tableId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'replaceViewDefinition' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'replaceRows' => array( + 'path' => 'tables/{tableId}/replace', + 'httpMethod' => 'POST', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'startLine' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'isStrict' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'encoding' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'delimiter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'endLine' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'update' => array( + 'path' => 'tables/{tableId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'replaceViewDefinition' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->task = new Google_Service_Fusiontables_Task_Resource( + $this, + $this->serviceName, + 'task', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'tables/{tableId}/tasks/{taskId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'taskId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'tables/{tableId}/tasks/{taskId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'taskId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'tables/{tableId}/tasks', + 'httpMethod' => 'GET', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startIndex' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->template = new Google_Service_Fusiontables_Template_Resource( + $this, + $this->serviceName, + 'template', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'tables/{tableId}/templates/{templateId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'templateId' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'tables/{tableId}/templates/{templateId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'templateId' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'tables/{tableId}/templates', + 'httpMethod' => 'POST', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'tables/{tableId}/templates', + 'httpMethod' => 'GET', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => 'tables/{tableId}/templates/{templateId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'templateId' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'tables/{tableId}/templates/{templateId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'templateId' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "column" collection of methods. + * Typical usage is: + * + * $fusiontablesService = new Google_Service_Fusiontables(...); + * $column = $fusiontablesService->column; + * + */ +class Google_Service_Fusiontables_Column_Resource extends Google_Service_Resource +{ + + /** + * Deletes the specified column. (column.delete) + * + * @param string $tableId Table from which the column is being deleted. + * @param string $columnId Name or identifier for the column being deleted. + * @param array $optParams Optional parameters. + */ + public function delete($tableId, $columnId, $optParams = array()) + { + $params = array('tableId' => $tableId, 'columnId' => $columnId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Retrieves a specific column by its ID. (column.get) + * + * @param string $tableId Table to which the column belongs. + * @param string $columnId Name or identifier for the column that is being + * requested. + * @param array $optParams Optional parameters. + * @return Google_Service_Fusiontables_Column + */ + public function get($tableId, $columnId, $optParams = array()) + { + $params = array('tableId' => $tableId, 'columnId' => $columnId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Fusiontables_Column"); + } + + /** + * Adds a new column to the table. (column.insert) + * + * @param string $tableId Table for which a new column is being added. + * @param Google_Column $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Fusiontables_Column + */ + public function insert($tableId, Google_Service_Fusiontables_Column $postBody, $optParams = array()) + { + $params = array('tableId' => $tableId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Fusiontables_Column"); + } + + /** + * Retrieves a list of columns. (column.listColumn) + * + * @param string $tableId Table whose columns are being listed. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Continuation token specifying which result page + * to return. + * @opt_param string maxResults Maximum number of columns to return. Default is + * 5. + * @return Google_Service_Fusiontables_ColumnList + */ + public function listColumn($tableId, $optParams = array()) + { + $params = array('tableId' => $tableId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Fusiontables_ColumnList"); + } + + /** + * Updates the name or type of an existing column. This method supports patch + * semantics. (column.patch) + * + * @param string $tableId Table for which the column is being updated. + * @param string $columnId Name or identifier for the column that is being + * updated. + * @param Google_Column $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Fusiontables_Column + */ + public function patch($tableId, $columnId, Google_Service_Fusiontables_Column $postBody, $optParams = array()) + { + $params = array('tableId' => $tableId, 'columnId' => $columnId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Fusiontables_Column"); + } + + /** + * Updates the name or type of an existing column. (column.update) + * + * @param string $tableId Table for which the column is being updated. + * @param string $columnId Name or identifier for the column that is being + * updated. + * @param Google_Column $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Fusiontables_Column + */ + public function update($tableId, $columnId, Google_Service_Fusiontables_Column $postBody, $optParams = array()) + { + $params = array('tableId' => $tableId, 'columnId' => $columnId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Fusiontables_Column"); + } +} + +/** + * The "query" collection of methods. + * Typical usage is: + * + * $fusiontablesService = new Google_Service_Fusiontables(...); + * $query = $fusiontablesService->query; + * + */ +class Google_Service_Fusiontables_Query_Resource extends Google_Service_Resource +{ + + /** + * Executes a Fusion Tables SQL statement, which can be any of - SELECT - INSERT + * - UPDATE - DELETE - SHOW - DESCRIBE - CREATE statement. (query.sql) + * + * @param string $sql A Fusion Tables SQL statement, which can be any of - + * SELECT - INSERT - UPDATE - DELETE - SHOW - DESCRIBE - CREATE + * @param array $optParams Optional parameters. + * + * @opt_param bool typed Whether typed values are returned in the (JSON) + * response: numbers for numeric values and parsed geometries for KML values. + * Default is true. + * @opt_param bool hdrs Whether column names are included in the first row. + * Default is true. + * @return Google_Service_Fusiontables_Sqlresponse + */ + public function sql($sql, $optParams = array()) + { + $params = array('sql' => $sql); + $params = array_merge($params, $optParams); + return $this->call('sql', array($params), "Google_Service_Fusiontables_Sqlresponse"); + } + + /** + * Executes a SQL statement which can be any of - SELECT - SHOW - DESCRIBE + * (query.sqlGet) + * + * @param string $sql A SQL statement which can be any of - SELECT - SHOW - + * DESCRIBE + * @param array $optParams Optional parameters. + * + * @opt_param bool typed Whether typed values are returned in the (JSON) + * response: numbers for numeric values and parsed geometries for KML values. + * Default is true. + * @opt_param bool hdrs Whether column names are included (in the first row). + * Default is true. + * @return Google_Service_Fusiontables_Sqlresponse + */ + public function sqlGet($sql, $optParams = array()) + { + $params = array('sql' => $sql); + $params = array_merge($params, $optParams); + return $this->call('sqlGet', array($params), "Google_Service_Fusiontables_Sqlresponse"); + } +} + +/** + * The "style" collection of methods. + * Typical usage is: + * + * $fusiontablesService = new Google_Service_Fusiontables(...); + * $style = $fusiontablesService->style; + * + */ +class Google_Service_Fusiontables_Style_Resource extends Google_Service_Resource +{ + + /** + * Deletes a style. (style.delete) + * + * @param string $tableId Table from which the style is being deleted + * @param int $styleId Identifier (within a table) for the style being deleted + * @param array $optParams Optional parameters. + */ + public function delete($tableId, $styleId, $optParams = array()) + { + $params = array('tableId' => $tableId, 'styleId' => $styleId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Gets a specific style. (style.get) + * + * @param string $tableId Table to which the requested style belongs + * @param int $styleId Identifier (integer) for a specific style in a table + * @param array $optParams Optional parameters. + * @return Google_Service_Fusiontables_StyleSetting + */ + public function get($tableId, $styleId, $optParams = array()) + { + $params = array('tableId' => $tableId, 'styleId' => $styleId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Fusiontables_StyleSetting"); + } + + /** + * Adds a new style for the table. (style.insert) + * + * @param string $tableId Table for which a new style is being added + * @param Google_StyleSetting $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Fusiontables_StyleSetting + */ + public function insert($tableId, Google_Service_Fusiontables_StyleSetting $postBody, $optParams = array()) + { + $params = array('tableId' => $tableId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Fusiontables_StyleSetting"); + } + + /** + * Retrieves a list of styles. (style.listStyle) + * + * @param string $tableId Table whose styles are being listed + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Continuation token specifying which result page + * to return. Optional. + * @opt_param string maxResults Maximum number of styles to return. Optional. + * Default is 5. + * @return Google_Service_Fusiontables_StyleSettingList + */ + public function listStyle($tableId, $optParams = array()) + { + $params = array('tableId' => $tableId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Fusiontables_StyleSettingList"); + } + + /** + * Updates an existing style. This method supports patch semantics. + * (style.patch) + * + * @param string $tableId Table whose style is being updated. + * @param int $styleId Identifier (within a table) for the style being updated. + * @param Google_StyleSetting $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Fusiontables_StyleSetting + */ + public function patch($tableId, $styleId, Google_Service_Fusiontables_StyleSetting $postBody, $optParams = array()) + { + $params = array('tableId' => $tableId, 'styleId' => $styleId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Fusiontables_StyleSetting"); + } + + /** + * Updates an existing style. (style.update) + * + * @param string $tableId Table whose style is being updated. + * @param int $styleId Identifier (within a table) for the style being updated. + * @param Google_StyleSetting $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Fusiontables_StyleSetting + */ + public function update($tableId, $styleId, Google_Service_Fusiontables_StyleSetting $postBody, $optParams = array()) + { + $params = array('tableId' => $tableId, 'styleId' => $styleId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Fusiontables_StyleSetting"); + } +} + +/** + * The "table" collection of methods. + * Typical usage is: + * + * $fusiontablesService = new Google_Service_Fusiontables(...); + * $table = $fusiontablesService->table; + * + */ +class Google_Service_Fusiontables_Table_Resource extends Google_Service_Resource +{ + + /** + * Copies a table. (table.copy) + * + * @param string $tableId ID of the table that is being copied. + * @param array $optParams Optional parameters. + * + * @opt_param bool copyPresentation Whether to also copy tabs, styles, and + * templates. Default is false. + * @return Google_Service_Fusiontables_Table + */ + public function copy($tableId, $optParams = array()) + { + $params = array('tableId' => $tableId); + $params = array_merge($params, $optParams); + return $this->call('copy', array($params), "Google_Service_Fusiontables_Table"); + } + + /** + * Deletes a table. (table.delete) + * + * @param string $tableId ID of the table to be deleted. + * @param array $optParams Optional parameters. + */ + public function delete($tableId, $optParams = array()) + { + $params = array('tableId' => $tableId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Retrieves a specific table by its ID. (table.get) + * + * @param string $tableId Identifier for the table being requested. + * @param array $optParams Optional parameters. + * @return Google_Service_Fusiontables_Table + */ + public function get($tableId, $optParams = array()) + { + $params = array('tableId' => $tableId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Fusiontables_Table"); + } + + /** + * Imports more rows into a table. (table.importRows) + * + * @param string $tableId The table into which new rows are being imported. + * @param array $optParams Optional parameters. + * + * @opt_param int startLine The index of the first line from which to start + * importing, inclusive. Default is 0. + * @opt_param bool isStrict Whether the imported CSV must have the same number + * of values for each row. If false, rows with fewer values will be padded with + * empty values. Default is true. + * @opt_param string encoding The encoding of the content. Default is UTF-8. Use + * auto-detect if you are unsure of the encoding. + * @opt_param string delimiter The delimiter used to separate cell values. This + * can only consist of a single character. Default is ,. + * @opt_param int endLine The index of the line up to which data will be + * imported. Default is to import the entire file. If endLine is negative, it is + * an offset from the end of the file; the imported content will exclude the + * last endLine lines. + * @return Google_Service_Fusiontables_Import + */ + public function importRows($tableId, $optParams = array()) + { + $params = array('tableId' => $tableId); + $params = array_merge($params, $optParams); + return $this->call('importRows', array($params), "Google_Service_Fusiontables_Import"); + } + + /** + * Imports a new table. (table.importTable) + * + * @param string $name The name to be assigned to the new table. + * @param array $optParams Optional parameters. + * + * @opt_param string delimiter The delimiter used to separate cell values. This + * can only consist of a single character. Default is ,. + * @opt_param string encoding The encoding of the content. Default is UTF-8. Use + * auto-detect if you are unsure of the encoding. + * @return Google_Service_Fusiontables_Table + */ + public function importTable($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('importTable', array($params), "Google_Service_Fusiontables_Table"); + } + + /** + * Creates a new table. (table.insert) + * + * @param Google_Table $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Fusiontables_Table + */ + public function insert(Google_Service_Fusiontables_Table $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Fusiontables_Table"); + } + + /** + * Retrieves a list of tables a user owns. (table.listTable) + * + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Continuation token specifying which result page + * to return. + * @opt_param string maxResults Maximum number of tables to return. Default is + * 5. + * @return Google_Service_Fusiontables_TableList + */ + public function listTable($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Fusiontables_TableList"); + } + + /** + * Updates an existing table. Unless explicitly requested, only the name, + * description, and attribution will be updated. This method supports patch + * semantics. (table.patch) + * + * @param string $tableId ID of the table that is being updated. + * @param Google_Table $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool replaceViewDefinition Whether the view definition is also + * updated. The specified view definition replaces the existing one. Only a view + * can be updated with a new definition. + * @return Google_Service_Fusiontables_Table + */ + public function patch($tableId, Google_Service_Fusiontables_Table $postBody, $optParams = array()) + { + $params = array('tableId' => $tableId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Fusiontables_Table"); + } + + /** + * Replaces rows of an existing table. Current rows remain visible until all + * replacement rows are ready. (table.replaceRows) + * + * @param string $tableId Table whose rows will be replaced. + * @param array $optParams Optional parameters. + * + * @opt_param int startLine The index of the first line from which to start + * importing, inclusive. Default is 0. + * @opt_param bool isStrict Whether the imported CSV must have the same number + * of column values for each row. If true, throws an exception if the CSV does + * not have the same number of columns. If false, rows with fewer column values + * will be padded with empty values. Default is true. + * @opt_param string encoding The encoding of the content. Default is UTF-8. Use + * 'auto-detect' if you are unsure of the encoding. + * @opt_param string delimiter The delimiter used to separate cell values. This + * can only consist of a single character. Default is ,. + * @opt_param int endLine The index of the line up to which data will be + * imported. Default is to import the entire file. If endLine is negative, it is + * an offset from the end of the file; the imported content will exclude the + * last endLine lines. + * @return Google_Service_Fusiontables_Task + */ + public function replaceRows($tableId, $optParams = array()) + { + $params = array('tableId' => $tableId); + $params = array_merge($params, $optParams); + return $this->call('replaceRows', array($params), "Google_Service_Fusiontables_Task"); + } + + /** + * Updates an existing table. Unless explicitly requested, only the name, + * description, and attribution will be updated. (table.update) + * + * @param string $tableId ID of the table that is being updated. + * @param Google_Table $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool replaceViewDefinition Whether the view definition is also + * updated. The specified view definition replaces the existing one. Only a view + * can be updated with a new definition. + * @return Google_Service_Fusiontables_Table + */ + public function update($tableId, Google_Service_Fusiontables_Table $postBody, $optParams = array()) + { + $params = array('tableId' => $tableId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Fusiontables_Table"); + } +} + +/** + * The "task" collection of methods. + * Typical usage is: + * + * $fusiontablesService = new Google_Service_Fusiontables(...); + * $task = $fusiontablesService->task; + * + */ +class Google_Service_Fusiontables_Task_Resource extends Google_Service_Resource +{ + + /** + * Deletes a specific task by its ID, unless that task has already started + * running. (task.delete) + * + * @param string $tableId Table from which the task is being deleted. + * @param string $taskId The identifier of the task to delete. + * @param array $optParams Optional parameters. + */ + public function delete($tableId, $taskId, $optParams = array()) + { + $params = array('tableId' => $tableId, 'taskId' => $taskId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Retrieves a specific task by its ID. (task.get) + * + * @param string $tableId Table to which the task belongs. + * @param string $taskId The identifier of the task to get. + * @param array $optParams Optional parameters. + * @return Google_Service_Fusiontables_Task + */ + public function get($tableId, $taskId, $optParams = array()) + { + $params = array('tableId' => $tableId, 'taskId' => $taskId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Fusiontables_Task"); + } + + /** + * Retrieves a list of tasks. (task.listTask) + * + * @param string $tableId Table whose tasks are being listed. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Continuation token specifying which result page + * to return. + * @opt_param string startIndex Index of the first result returned in the + * current page. + * @opt_param string maxResults Maximum number of tasks to return. Default is 5. + * @return Google_Service_Fusiontables_TaskList + */ + public function listTask($tableId, $optParams = array()) + { + $params = array('tableId' => $tableId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Fusiontables_TaskList"); + } +} + +/** + * The "template" collection of methods. + * Typical usage is: + * + * $fusiontablesService = new Google_Service_Fusiontables(...); + * $template = $fusiontablesService->template; + * + */ +class Google_Service_Fusiontables_Template_Resource extends Google_Service_Resource +{ + + /** + * Deletes a template (template.delete) + * + * @param string $tableId Table from which the template is being deleted + * @param int $templateId Identifier for the template which is being deleted + * @param array $optParams Optional parameters. + */ + public function delete($tableId, $templateId, $optParams = array()) + { + $params = array('tableId' => $tableId, 'templateId' => $templateId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Retrieves a specific template by its id (template.get) + * + * @param string $tableId Table to which the template belongs + * @param int $templateId Identifier for the template that is being requested + * @param array $optParams Optional parameters. + * @return Google_Service_Fusiontables_Template + */ + public function get($tableId, $templateId, $optParams = array()) + { + $params = array('tableId' => $tableId, 'templateId' => $templateId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Fusiontables_Template"); + } + + /** + * Creates a new template for the table. (template.insert) + * + * @param string $tableId Table for which a new template is being created + * @param Google_Template $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Fusiontables_Template + */ + public function insert($tableId, Google_Service_Fusiontables_Template $postBody, $optParams = array()) + { + $params = array('tableId' => $tableId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Fusiontables_Template"); + } + + /** + * Retrieves a list of templates. (template.listTemplate) + * + * @param string $tableId Identifier for the table whose templates are being + * requested + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Continuation token specifying which results page + * to return. Optional. + * @opt_param string maxResults Maximum number of templates to return. Optional. + * Default is 5. + * @return Google_Service_Fusiontables_TemplateList + */ + public function listTemplate($tableId, $optParams = array()) + { + $params = array('tableId' => $tableId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Fusiontables_TemplateList"); + } + + /** + * Updates an existing template. This method supports patch semantics. + * (template.patch) + * + * @param string $tableId Table to which the updated template belongs + * @param int $templateId Identifier for the template that is being updated + * @param Google_Template $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Fusiontables_Template + */ + public function patch($tableId, $templateId, Google_Service_Fusiontables_Template $postBody, $optParams = array()) + { + $params = array('tableId' => $tableId, 'templateId' => $templateId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Fusiontables_Template"); + } + + /** + * Updates an existing template (template.update) + * + * @param string $tableId Table to which the updated template belongs + * @param int $templateId Identifier for the template that is being updated + * @param Google_Template $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Fusiontables_Template + */ + public function update($tableId, $templateId, Google_Service_Fusiontables_Template $postBody, $optParams = array()) + { + $params = array('tableId' => $tableId, 'templateId' => $templateId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Fusiontables_Template"); + } +} + + + + +class Google_Service_Fusiontables_Bucket extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $color; + public $icon; + public $max; + public $min; + public $opacity; + public $weight; + + + public function setColor($color) + { + $this->color = $color; + } + public function getColor() + { + return $this->color; + } + public function setIcon($icon) + { + $this->icon = $icon; + } + public function getIcon() + { + return $this->icon; + } + public function setMax($max) + { + $this->max = $max; + } + public function getMax() + { + return $this->max; + } + public function setMin($min) + { + $this->min = $min; + } + public function getMin() + { + return $this->min; + } + public function setOpacity($opacity) + { + $this->opacity = $opacity; + } + public function getOpacity() + { + return $this->opacity; + } + public function setWeight($weight) + { + $this->weight = $weight; + } + public function getWeight() + { + return $this->weight; + } +} + +class Google_Service_Fusiontables_Column extends Google_Collection +{ + protected $collection_key = 'validValues'; + protected $internal_gapi_mappings = array( + ); + protected $baseColumnType = 'Google_Service_Fusiontables_ColumnBaseColumn'; + protected $baseColumnDataType = ''; + public $columnId; + public $columnJsonSchema; + public $columnPropertiesJson; + public $description; + public $formatPattern; + public $graphPredicate; + public $kind; + public $name; + public $type; + public $validValues; + public $validateData; + + + public function setBaseColumn(Google_Service_Fusiontables_ColumnBaseColumn $baseColumn) + { + $this->baseColumn = $baseColumn; + } + public function getBaseColumn() + { + return $this->baseColumn; + } + public function setColumnId($columnId) + { + $this->columnId = $columnId; + } + public function getColumnId() + { + return $this->columnId; + } + public function setColumnJsonSchema($columnJsonSchema) + { + $this->columnJsonSchema = $columnJsonSchema; + } + public function getColumnJsonSchema() + { + return $this->columnJsonSchema; + } + public function setColumnPropertiesJson($columnPropertiesJson) + { + $this->columnPropertiesJson = $columnPropertiesJson; + } + public function getColumnPropertiesJson() + { + return $this->columnPropertiesJson; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setFormatPattern($formatPattern) + { + $this->formatPattern = $formatPattern; + } + public function getFormatPattern() + { + return $this->formatPattern; + } + public function setGraphPredicate($graphPredicate) + { + $this->graphPredicate = $graphPredicate; + } + public function getGraphPredicate() + { + return $this->graphPredicate; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setValidValues($validValues) + { + $this->validValues = $validValues; + } + public function getValidValues() + { + return $this->validValues; + } + public function setValidateData($validateData) + { + $this->validateData = $validateData; + } + public function getValidateData() + { + return $this->validateData; + } +} + +class Google_Service_Fusiontables_ColumnBaseColumn extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $columnId; + public $tableIndex; + + + public function setColumnId($columnId) + { + $this->columnId = $columnId; + } + public function getColumnId() + { + return $this->columnId; + } + public function setTableIndex($tableIndex) + { + $this->tableIndex = $tableIndex; + } + public function getTableIndex() + { + return $this->tableIndex; + } +} + +class Google_Service_Fusiontables_ColumnList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Fusiontables_Column'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $totalItems; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} + +class Google_Service_Fusiontables_Geometry extends Google_Collection +{ + protected $collection_key = 'geometries'; + protected $internal_gapi_mappings = array( + ); + public $geometries; + public $geometry; + public $type; + + + public function setGeometries($geometries) + { + $this->geometries = $geometries; + } + public function getGeometries() + { + return $this->geometries; + } + public function setGeometry($geometry) + { + $this->geometry = $geometry; + } + public function getGeometry() + { + return $this->geometry; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Fusiontables_Import extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + public $numRowsReceived; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNumRowsReceived($numRowsReceived) + { + $this->numRowsReceived = $numRowsReceived; + } + public function getNumRowsReceived() + { + return $this->numRowsReceived; + } +} + +class Google_Service_Fusiontables_Line extends Google_Collection +{ + protected $collection_key = 'coordinates'; + protected $internal_gapi_mappings = array( + ); + public $coordinates; + public $type; + + + public function setCoordinates($coordinates) + { + $this->coordinates = $coordinates; + } + public function getCoordinates() + { + return $this->coordinates; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Fusiontables_LineStyle extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $strokeColor; + protected $strokeColorStylerType = 'Google_Service_Fusiontables_StyleFunction'; + protected $strokeColorStylerDataType = ''; + public $strokeOpacity; + public $strokeWeight; + protected $strokeWeightStylerType = 'Google_Service_Fusiontables_StyleFunction'; + protected $strokeWeightStylerDataType = ''; + + + public function setStrokeColor($strokeColor) + { + $this->strokeColor = $strokeColor; + } + public function getStrokeColor() + { + return $this->strokeColor; + } + public function setStrokeColorStyler(Google_Service_Fusiontables_StyleFunction $strokeColorStyler) + { + $this->strokeColorStyler = $strokeColorStyler; + } + public function getStrokeColorStyler() + { + return $this->strokeColorStyler; + } + public function setStrokeOpacity($strokeOpacity) + { + $this->strokeOpacity = $strokeOpacity; + } + public function getStrokeOpacity() + { + return $this->strokeOpacity; + } + public function setStrokeWeight($strokeWeight) + { + $this->strokeWeight = $strokeWeight; + } + public function getStrokeWeight() + { + return $this->strokeWeight; + } + public function setStrokeWeightStyler(Google_Service_Fusiontables_StyleFunction $strokeWeightStyler) + { + $this->strokeWeightStyler = $strokeWeightStyler; + } + public function getStrokeWeightStyler() + { + return $this->strokeWeightStyler; + } +} + +class Google_Service_Fusiontables_Point extends Google_Collection +{ + protected $collection_key = 'coordinates'; + protected $internal_gapi_mappings = array( + ); + public $coordinates; + public $type; + + + public function setCoordinates($coordinates) + { + $this->coordinates = $coordinates; + } + public function getCoordinates() + { + return $this->coordinates; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Fusiontables_PointStyle extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $iconName; + protected $iconStylerType = 'Google_Service_Fusiontables_StyleFunction'; + protected $iconStylerDataType = ''; + + + public function setIconName($iconName) + { + $this->iconName = $iconName; + } + public function getIconName() + { + return $this->iconName; + } + public function setIconStyler(Google_Service_Fusiontables_StyleFunction $iconStyler) + { + $this->iconStyler = $iconStyler; + } + public function getIconStyler() + { + return $this->iconStyler; + } +} + +class Google_Service_Fusiontables_Polygon extends Google_Collection +{ + protected $collection_key = 'coordinates'; + protected $internal_gapi_mappings = array( + ); + public $coordinates; + public $type; + + + public function setCoordinates($coordinates) + { + $this->coordinates = $coordinates; + } + public function getCoordinates() + { + return $this->coordinates; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Fusiontables_PolygonStyle extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $fillColor; + protected $fillColorStylerType = 'Google_Service_Fusiontables_StyleFunction'; + protected $fillColorStylerDataType = ''; + public $fillOpacity; + public $strokeColor; + protected $strokeColorStylerType = 'Google_Service_Fusiontables_StyleFunction'; + protected $strokeColorStylerDataType = ''; + public $strokeOpacity; + public $strokeWeight; + protected $strokeWeightStylerType = 'Google_Service_Fusiontables_StyleFunction'; + protected $strokeWeightStylerDataType = ''; + + + public function setFillColor($fillColor) + { + $this->fillColor = $fillColor; + } + public function getFillColor() + { + return $this->fillColor; + } + public function setFillColorStyler(Google_Service_Fusiontables_StyleFunction $fillColorStyler) + { + $this->fillColorStyler = $fillColorStyler; + } + public function getFillColorStyler() + { + return $this->fillColorStyler; + } + public function setFillOpacity($fillOpacity) + { + $this->fillOpacity = $fillOpacity; + } + public function getFillOpacity() + { + return $this->fillOpacity; + } + public function setStrokeColor($strokeColor) + { + $this->strokeColor = $strokeColor; + } + public function getStrokeColor() + { + return $this->strokeColor; + } + public function setStrokeColorStyler(Google_Service_Fusiontables_StyleFunction $strokeColorStyler) + { + $this->strokeColorStyler = $strokeColorStyler; + } + public function getStrokeColorStyler() + { + return $this->strokeColorStyler; + } + public function setStrokeOpacity($strokeOpacity) + { + $this->strokeOpacity = $strokeOpacity; + } + public function getStrokeOpacity() + { + return $this->strokeOpacity; + } + public function setStrokeWeight($strokeWeight) + { + $this->strokeWeight = $strokeWeight; + } + public function getStrokeWeight() + { + return $this->strokeWeight; + } + public function setStrokeWeightStyler(Google_Service_Fusiontables_StyleFunction $strokeWeightStyler) + { + $this->strokeWeightStyler = $strokeWeightStyler; + } + public function getStrokeWeightStyler() + { + return $this->strokeWeightStyler; + } +} + +class Google_Service_Fusiontables_Sqlresponse extends Google_Collection +{ + protected $collection_key = 'rows'; + protected $internal_gapi_mappings = array( + ); + public $columns; + public $kind; + public $rows; + + + public function setColumns($columns) + { + $this->columns = $columns; + } + public function getColumns() + { + return $this->columns; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRows($rows) + { + $this->rows = $rows; + } + public function getRows() + { + return $this->rows; + } +} + +class Google_Service_Fusiontables_StyleFunction extends Google_Collection +{ + protected $collection_key = 'buckets'; + protected $internal_gapi_mappings = array( + ); + protected $bucketsType = 'Google_Service_Fusiontables_Bucket'; + protected $bucketsDataType = 'array'; + public $columnName; + protected $gradientType = 'Google_Service_Fusiontables_StyleFunctionGradient'; + protected $gradientDataType = ''; + public $kind; + + + public function setBuckets($buckets) + { + $this->buckets = $buckets; + } + public function getBuckets() + { + return $this->buckets; + } + public function setColumnName($columnName) + { + $this->columnName = $columnName; + } + public function getColumnName() + { + return $this->columnName; + } + public function setGradient(Google_Service_Fusiontables_StyleFunctionGradient $gradient) + { + $this->gradient = $gradient; + } + public function getGradient() + { + return $this->gradient; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Fusiontables_StyleFunctionGradient extends Google_Collection +{ + protected $collection_key = 'colors'; + protected $internal_gapi_mappings = array( + ); + protected $colorsType = 'Google_Service_Fusiontables_StyleFunctionGradientColors'; + protected $colorsDataType = 'array'; + public $max; + public $min; + + + public function setColors($colors) + { + $this->colors = $colors; + } + public function getColors() + { + return $this->colors; + } + public function setMax($max) + { + $this->max = $max; + } + public function getMax() + { + return $this->max; + } + public function setMin($min) + { + $this->min = $min; + } + public function getMin() + { + return $this->min; + } +} + +class Google_Service_Fusiontables_StyleFunctionGradientColors extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $color; + public $opacity; + + + public function setColor($color) + { + $this->color = $color; + } + public function getColor() + { + return $this->color; + } + public function setOpacity($opacity) + { + $this->opacity = $opacity; + } + public function getOpacity() + { + return $this->opacity; + } +} + +class Google_Service_Fusiontables_StyleSetting extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $markerOptionsType = 'Google_Service_Fusiontables_PointStyle'; + protected $markerOptionsDataType = ''; + public $name; + protected $polygonOptionsType = 'Google_Service_Fusiontables_PolygonStyle'; + protected $polygonOptionsDataType = ''; + protected $polylineOptionsType = 'Google_Service_Fusiontables_LineStyle'; + protected $polylineOptionsDataType = ''; + public $styleId; + public $tableId; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMarkerOptions(Google_Service_Fusiontables_PointStyle $markerOptions) + { + $this->markerOptions = $markerOptions; + } + public function getMarkerOptions() + { + return $this->markerOptions; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPolygonOptions(Google_Service_Fusiontables_PolygonStyle $polygonOptions) + { + $this->polygonOptions = $polygonOptions; + } + public function getPolygonOptions() + { + return $this->polygonOptions; + } + public function setPolylineOptions(Google_Service_Fusiontables_LineStyle $polylineOptions) + { + $this->polylineOptions = $polylineOptions; + } + public function getPolylineOptions() + { + return $this->polylineOptions; + } + public function setStyleId($styleId) + { + $this->styleId = $styleId; + } + public function getStyleId() + { + return $this->styleId; + } + public function setTableId($tableId) + { + $this->tableId = $tableId; + } + public function getTableId() + { + return $this->tableId; + } +} + +class Google_Service_Fusiontables_StyleSettingList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Fusiontables_StyleSetting'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $totalItems; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} + +class Google_Service_Fusiontables_Table extends Google_Collection +{ + protected $collection_key = 'columns'; + protected $internal_gapi_mappings = array( + ); + public $attribution; + public $attributionLink; + public $baseTableIds; + public $columnPropertiesJsonSchema; + protected $columnsType = 'Google_Service_Fusiontables_Column'; + protected $columnsDataType = 'array'; + public $description; + public $isExportable; + public $kind; + public $name; + public $sql; + public $tableId; + public $tablePropertiesJson; + public $tablePropertiesJsonSchema; + + + public function setAttribution($attribution) + { + $this->attribution = $attribution; + } + public function getAttribution() + { + return $this->attribution; + } + public function setAttributionLink($attributionLink) + { + $this->attributionLink = $attributionLink; + } + public function getAttributionLink() + { + return $this->attributionLink; + } + public function setBaseTableIds($baseTableIds) + { + $this->baseTableIds = $baseTableIds; + } + public function getBaseTableIds() + { + return $this->baseTableIds; + } + public function setColumnPropertiesJsonSchema($columnPropertiesJsonSchema) + { + $this->columnPropertiesJsonSchema = $columnPropertiesJsonSchema; + } + public function getColumnPropertiesJsonSchema() + { + return $this->columnPropertiesJsonSchema; + } + public function setColumns($columns) + { + $this->columns = $columns; + } + public function getColumns() + { + return $this->columns; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setIsExportable($isExportable) + { + $this->isExportable = $isExportable; + } + public function getIsExportable() + { + return $this->isExportable; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSql($sql) + { + $this->sql = $sql; + } + public function getSql() + { + return $this->sql; + } + public function setTableId($tableId) + { + $this->tableId = $tableId; + } + public function getTableId() + { + return $this->tableId; + } + public function setTablePropertiesJson($tablePropertiesJson) + { + $this->tablePropertiesJson = $tablePropertiesJson; + } + public function getTablePropertiesJson() + { + return $this->tablePropertiesJson; + } + public function setTablePropertiesJsonSchema($tablePropertiesJsonSchema) + { + $this->tablePropertiesJsonSchema = $tablePropertiesJsonSchema; + } + public function getTablePropertiesJsonSchema() + { + return $this->tablePropertiesJsonSchema; + } +} + +class Google_Service_Fusiontables_TableList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Fusiontables_Table'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Fusiontables_Task extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + public $progress; + public $started; + public $taskId; + public $type; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setProgress($progress) + { + $this->progress = $progress; + } + public function getProgress() + { + return $this->progress; + } + public function setStarted($started) + { + $this->started = $started; + } + public function getStarted() + { + return $this->started; + } + public function setTaskId($taskId) + { + $this->taskId = $taskId; + } + public function getTaskId() + { + return $this->taskId; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Fusiontables_TaskList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Fusiontables_Task'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $totalItems; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} + +class Google_Service_Fusiontables_Template extends Google_Collection +{ + protected $collection_key = 'automaticColumnNames'; + protected $internal_gapi_mappings = array( + ); + public $automaticColumnNames; + public $body; + public $kind; + public $name; + public $tableId; + public $templateId; + + + public function setAutomaticColumnNames($automaticColumnNames) + { + $this->automaticColumnNames = $automaticColumnNames; + } + public function getAutomaticColumnNames() + { + return $this->automaticColumnNames; + } + public function setBody($body) + { + $this->body = $body; + } + public function getBody() + { + return $this->body; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setTableId($tableId) + { + $this->tableId = $tableId; + } + public function getTableId() + { + return $this->tableId; + } + public function setTemplateId($templateId) + { + $this->templateId = $templateId; + } + public function getTemplateId() + { + return $this->templateId; + } +} + +class Google_Service_Fusiontables_TemplateList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Fusiontables_Template'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $totalItems; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Games.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Games.php new file mode 100644 index 0000000..a41082e --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Games.php @@ -0,0 +1,7422 @@ + + * The API for Google Play Game Services.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Games extends Google_Service +{ + /** View and manage its own configuration data in your Google Drive. */ + const DRIVE_APPDATA = + "https://www.googleapis.com/auth/drive.appdata"; + /** Share your Google+ profile information and view and manage your game activity. */ + const GAMES = + "https://www.googleapis.com/auth/games"; + /** Know your basic profile info and list of people in your circles.. */ + const PLUS_LOGIN = + "https://www.googleapis.com/auth/plus.login"; + + public $achievementDefinitions; + public $achievements; + public $applications; + public $events; + public $leaderboards; + public $metagame; + public $players; + public $pushtokens; + public $questMilestones; + public $quests; + public $revisions; + public $rooms; + public $scores; + public $snapshots; + public $turnBasedMatches; + + + /** + * Constructs the internal representation of the Games service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'games/v1/'; + $this->version = 'v1'; + $this->serviceName = 'games'; + + $this->achievementDefinitions = new Google_Service_Games_AchievementDefinitions_Resource( + $this, + $this->serviceName, + 'achievementDefinitions', + array( + 'methods' => array( + 'list' => array( + 'path' => 'achievements', + 'httpMethod' => 'GET', + 'parameters' => array( + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->achievements = new Google_Service_Games_Achievements_Resource( + $this, + $this->serviceName, + 'achievements', + array( + 'methods' => array( + 'increment' => array( + 'path' => 'achievements/{achievementId}/increment', + 'httpMethod' => 'POST', + 'parameters' => array( + 'achievementId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'stepsToIncrement' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + 'requestId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'players/{playerId}/achievements', + 'httpMethod' => 'GET', + 'parameters' => array( + 'playerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'state' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'reveal' => array( + 'path' => 'achievements/{achievementId}/reveal', + 'httpMethod' => 'POST', + 'parameters' => array( + 'achievementId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setStepsAtLeast' => array( + 'path' => 'achievements/{achievementId}/setStepsAtLeast', + 'httpMethod' => 'POST', + 'parameters' => array( + 'achievementId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'steps' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'unlock' => array( + 'path' => 'achievements/{achievementId}/unlock', + 'httpMethod' => 'POST', + 'parameters' => array( + 'achievementId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'updateMultiple' => array( + 'path' => 'achievements/updateMultiple', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->applications = new Google_Service_Games_Applications_Resource( + $this, + $this->serviceName, + 'applications', + array( + 'methods' => array( + 'get' => array( + 'path' => 'applications/{applicationId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'applicationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'platformType' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'played' => array( + 'path' => 'applications/played', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->events = new Google_Service_Games_Events_Resource( + $this, + $this->serviceName, + 'events', + array( + 'methods' => array( + 'listByPlayer' => array( + 'path' => 'events', + 'httpMethod' => 'GET', + 'parameters' => array( + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'listDefinitions' => array( + 'path' => 'eventDefinitions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'record' => array( + 'path' => 'events', + 'httpMethod' => 'POST', + 'parameters' => array( + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->leaderboards = new Google_Service_Games_Leaderboards_Resource( + $this, + $this->serviceName, + 'leaderboards', + array( + 'methods' => array( + 'get' => array( + 'path' => 'leaderboards/{leaderboardId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'leaderboardId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'leaderboards', + 'httpMethod' => 'GET', + 'parameters' => array( + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->metagame = new Google_Service_Games_Metagame_Resource( + $this, + $this->serviceName, + 'metagame', + array( + 'methods' => array( + 'getMetagameConfig' => array( + 'path' => 'metagameConfig', + 'httpMethod' => 'GET', + 'parameters' => array(), + ),'listCategoriesByPlayer' => array( + 'path' => 'players/{playerId}/categories/{collection}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'playerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'collection' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->players = new Google_Service_Games_Players_Resource( + $this, + $this->serviceName, + 'players', + array( + 'methods' => array( + 'get' => array( + 'path' => 'players/{playerId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'playerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'players/me/players/{collection}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'collection' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->pushtokens = new Google_Service_Games_Pushtokens_Resource( + $this, + $this->serviceName, + 'pushtokens', + array( + 'methods' => array( + 'remove' => array( + 'path' => 'pushtokens/remove', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'update' => array( + 'path' => 'pushtokens', + 'httpMethod' => 'PUT', + 'parameters' => array(), + ), + ) + ) + ); + $this->questMilestones = new Google_Service_Games_QuestMilestones_Resource( + $this, + $this->serviceName, + 'questMilestones', + array( + 'methods' => array( + 'claim' => array( + 'path' => 'quests/{questId}/milestones/{milestoneId}/claim', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'questId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'milestoneId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'requestId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->quests = new Google_Service_Games_Quests_Resource( + $this, + $this->serviceName, + 'quests', + array( + 'methods' => array( + 'accept' => array( + 'path' => 'quests/{questId}/accept', + 'httpMethod' => 'POST', + 'parameters' => array( + 'questId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'players/{playerId}/quests', + 'httpMethod' => 'GET', + 'parameters' => array( + 'playerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->revisions = new Google_Service_Games_Revisions_Resource( + $this, + $this->serviceName, + 'revisions', + array( + 'methods' => array( + 'check' => array( + 'path' => 'revisions/check', + 'httpMethod' => 'GET', + 'parameters' => array( + 'clientRevision' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->rooms = new Google_Service_Games_Rooms_Resource( + $this, + $this->serviceName, + 'rooms', + array( + 'methods' => array( + 'create' => array( + 'path' => 'rooms/create', + 'httpMethod' => 'POST', + 'parameters' => array( + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'decline' => array( + 'path' => 'rooms/{roomId}/decline', + 'httpMethod' => 'POST', + 'parameters' => array( + 'roomId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'dismiss' => array( + 'path' => 'rooms/{roomId}/dismiss', + 'httpMethod' => 'POST', + 'parameters' => array( + 'roomId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'rooms/{roomId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'roomId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'join' => array( + 'path' => 'rooms/{roomId}/join', + 'httpMethod' => 'POST', + 'parameters' => array( + 'roomId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'leave' => array( + 'path' => 'rooms/{roomId}/leave', + 'httpMethod' => 'POST', + 'parameters' => array( + 'roomId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'rooms', + 'httpMethod' => 'GET', + 'parameters' => array( + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'reportStatus' => array( + 'path' => 'rooms/{roomId}/reportstatus', + 'httpMethod' => 'POST', + 'parameters' => array( + 'roomId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->scores = new Google_Service_Games_Scores_Resource( + $this, + $this->serviceName, + 'scores', + array( + 'methods' => array( + 'get' => array( + 'path' => 'players/{playerId}/leaderboards/{leaderboardId}/scores/{timeSpan}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'playerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'leaderboardId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'timeSpan' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'includeRankType' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'leaderboards/{leaderboardId}/scores/{collection}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'leaderboardId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'collection' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'timeSpan' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'listWindow' => array( + 'path' => 'leaderboards/{leaderboardId}/window/{collection}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'leaderboardId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'collection' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'timeSpan' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'returnTopIfAbsent' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'resultsAbove' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'submit' => array( + 'path' => 'leaderboards/{leaderboardId}/scores', + 'httpMethod' => 'POST', + 'parameters' => array( + 'leaderboardId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'score' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'scoreTag' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'submitMultiple' => array( + 'path' => 'leaderboards/scores', + 'httpMethod' => 'POST', + 'parameters' => array( + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->snapshots = new Google_Service_Games_Snapshots_Resource( + $this, + $this->serviceName, + 'snapshots', + array( + 'methods' => array( + 'get' => array( + 'path' => 'snapshots/{snapshotId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'snapshotId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'players/{playerId}/snapshots', + 'httpMethod' => 'GET', + 'parameters' => array( + 'playerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->turnBasedMatches = new Google_Service_Games_TurnBasedMatches_Resource( + $this, + $this->serviceName, + 'turnBasedMatches', + array( + 'methods' => array( + 'cancel' => array( + 'path' => 'turnbasedmatches/{matchId}/cancel', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'matchId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'create' => array( + 'path' => 'turnbasedmatches/create', + 'httpMethod' => 'POST', + 'parameters' => array( + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'decline' => array( + 'path' => 'turnbasedmatches/{matchId}/decline', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'matchId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'dismiss' => array( + 'path' => 'turnbasedmatches/{matchId}/dismiss', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'matchId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'finish' => array( + 'path' => 'turnbasedmatches/{matchId}/finish', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'matchId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'get' => array( + 'path' => 'turnbasedmatches/{matchId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'matchId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'includeMatchData' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'join' => array( + 'path' => 'turnbasedmatches/{matchId}/join', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'matchId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'leave' => array( + 'path' => 'turnbasedmatches/{matchId}/leave', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'matchId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'leaveTurn' => array( + 'path' => 'turnbasedmatches/{matchId}/leaveTurn', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'matchId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'matchVersion' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pendingParticipantId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'turnbasedmatches', + 'httpMethod' => 'GET', + 'parameters' => array( + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxCompletedMatches' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'includeMatchData' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'rematch' => array( + 'path' => 'turnbasedmatches/{matchId}/rematch', + 'httpMethod' => 'POST', + 'parameters' => array( + 'matchId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'requestId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'sync' => array( + 'path' => 'turnbasedmatches/sync', + 'httpMethod' => 'GET', + 'parameters' => array( + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxCompletedMatches' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'includeMatchData' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'takeTurn' => array( + 'path' => 'turnbasedmatches/{matchId}/turn', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'matchId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "achievementDefinitions" collection of methods. + * Typical usage is: + * + * $gamesService = new Google_Service_Games(...); + * $achievementDefinitions = $gamesService->achievementDefinitions; + * + */ +class Google_Service_Games_AchievementDefinitions_Resource extends Google_Service_Resource +{ + + /** + * Lists all the achievement definitions for your application. + * (achievementDefinitions.listAchievementDefinitions) + * + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The token returned by the previous request. + * @opt_param int maxResults The maximum number of achievement resources to + * return in the response, used for paging. For any response, the actual number + * of achievement resources returned may be less than the specified maxResults. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_AchievementDefinitionsListResponse + */ + public function listAchievementDefinitions($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Games_AchievementDefinitionsListResponse"); + } +} + +/** + * The "achievements" collection of methods. + * Typical usage is: + * + * $gamesService = new Google_Service_Games(...); + * $achievements = $gamesService->achievements; + * + */ +class Google_Service_Games_Achievements_Resource extends Google_Service_Resource +{ + + /** + * Increments the steps of the achievement with the given ID for the currently + * authenticated player. (achievements.increment) + * + * @param string $achievementId The ID of the achievement used by this method. + * @param int $stepsToIncrement The number of steps to increment. + * @param array $optParams Optional parameters. + * + * @opt_param string requestId A randomly generated numeric ID for each request + * specified by the caller. This number is used at the server to ensure that the + * request is handled correctly across retries. + * @return Google_Service_Games_AchievementIncrementResponse + */ + public function increment($achievementId, $stepsToIncrement, $optParams = array()) + { + $params = array('achievementId' => $achievementId, 'stepsToIncrement' => $stepsToIncrement); + $params = array_merge($params, $optParams); + return $this->call('increment', array($params), "Google_Service_Games_AchievementIncrementResponse"); + } + + /** + * Lists the progress for all your application's achievements for the currently + * authenticated player. (achievements.listAchievements) + * + * @param string $playerId A player ID. A value of me may be used in place of + * the authenticated player's ID. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The token returned by the previous request. + * @opt_param string state Tells the server to return only achievements with the + * specified state. If this parameter isn't specified, all achievements are + * returned. + * @opt_param int maxResults The maximum number of achievement resources to + * return in the response, used for paging. For any response, the actual number + * of achievement resources returned may be less than the specified maxResults. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_PlayerAchievementListResponse + */ + public function listAchievements($playerId, $optParams = array()) + { + $params = array('playerId' => $playerId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Games_PlayerAchievementListResponse"); + } + + /** + * Sets the state of the achievement with the given ID to REVEALED for the + * currently authenticated player. (achievements.reveal) + * + * @param string $achievementId The ID of the achievement used by this method. + * @param array $optParams Optional parameters. + * @return Google_Service_Games_AchievementRevealResponse + */ + public function reveal($achievementId, $optParams = array()) + { + $params = array('achievementId' => $achievementId); + $params = array_merge($params, $optParams); + return $this->call('reveal', array($params), "Google_Service_Games_AchievementRevealResponse"); + } + + /** + * Sets the steps for the currently authenticated player towards unlocking an + * achievement. If the steps parameter is less than the current number of steps + * that the player already gained for the achievement, the achievement is not + * modified. (achievements.setStepsAtLeast) + * + * @param string $achievementId The ID of the achievement used by this method. + * @param int $steps The minimum value to set the steps to. + * @param array $optParams Optional parameters. + * @return Google_Service_Games_AchievementSetStepsAtLeastResponse + */ + public function setStepsAtLeast($achievementId, $steps, $optParams = array()) + { + $params = array('achievementId' => $achievementId, 'steps' => $steps); + $params = array_merge($params, $optParams); + return $this->call('setStepsAtLeast', array($params), "Google_Service_Games_AchievementSetStepsAtLeastResponse"); + } + + /** + * Unlocks this achievement for the currently authenticated player. + * (achievements.unlock) + * + * @param string $achievementId The ID of the achievement used by this method. + * @param array $optParams Optional parameters. + * @return Google_Service_Games_AchievementUnlockResponse + */ + public function unlock($achievementId, $optParams = array()) + { + $params = array('achievementId' => $achievementId); + $params = array_merge($params, $optParams); + return $this->call('unlock', array($params), "Google_Service_Games_AchievementUnlockResponse"); + } + + /** + * Updates multiple achievements for the currently authenticated player. + * (achievements.updateMultiple) + * + * @param Google_AchievementUpdateMultipleRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Games_AchievementUpdateMultipleResponse + */ + public function updateMultiple(Google_Service_Games_AchievementUpdateMultipleRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('updateMultiple', array($params), "Google_Service_Games_AchievementUpdateMultipleResponse"); + } +} + +/** + * The "applications" collection of methods. + * Typical usage is: + * + * $gamesService = new Google_Service_Games(...); + * $applications = $gamesService->applications; + * + */ +class Google_Service_Games_Applications_Resource extends Google_Service_Resource +{ + + /** + * Retrieves the metadata of the application with the given ID. If the requested + * application is not available for the specified platformType, the returned + * response will not include any instance data. (applications.get) + * + * @param string $applicationId The application ID from the Google Play + * developer console. + * @param array $optParams Optional parameters. + * + * @opt_param string platformType Restrict application details returned to the + * specific platform. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_Application + */ + public function get($applicationId, $optParams = array()) + { + $params = array('applicationId' => $applicationId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Games_Application"); + } + + /** + * Indicate that the the currently authenticated user is playing your + * application. (applications.played) + * + * @param array $optParams Optional parameters. + */ + public function played($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('played', array($params)); + } +} + +/** + * The "events" collection of methods. + * Typical usage is: + * + * $gamesService = new Google_Service_Games(...); + * $events = $gamesService->events; + * + */ +class Google_Service_Games_Events_Resource extends Google_Service_Resource +{ + + /** + * Returns a list showing the current progress on events in this application for + * the currently authenticated user. (events.listByPlayer) + * + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The token returned by the previous request. + * @opt_param int maxResults The maximum number of events to return in the + * response, used for paging. For any response, the actual number of events to + * return may be less than the specified maxResults. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_PlayerEventListResponse + */ + public function listByPlayer($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('listByPlayer', array($params), "Google_Service_Games_PlayerEventListResponse"); + } + + /** + * Returns a list of the event definitions in this application. + * (events.listDefinitions) + * + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The token returned by the previous request. + * @opt_param int maxResults The maximum number of event definitions to return + * in the response, used for paging. For any response, the actual number of + * event definitions to return may be less than the specified maxResults. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_EventDefinitionListResponse + */ + public function listDefinitions($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('listDefinitions', array($params), "Google_Service_Games_EventDefinitionListResponse"); + } + + /** + * Records a batch of changes to the number of times events have occurred for + * the currently authenticated user of this application. (events.record) + * + * @param Google_EventRecordRequest $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_EventUpdateResponse + */ + public function record(Google_Service_Games_EventRecordRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('record', array($params), "Google_Service_Games_EventUpdateResponse"); + } +} + +/** + * The "leaderboards" collection of methods. + * Typical usage is: + * + * $gamesService = new Google_Service_Games(...); + * $leaderboards = $gamesService->leaderboards; + * + */ +class Google_Service_Games_Leaderboards_Resource extends Google_Service_Resource +{ + + /** + * Retrieves the metadata of the leaderboard with the given ID. + * (leaderboards.get) + * + * @param string $leaderboardId The ID of the leaderboard. + * @param array $optParams Optional parameters. + * + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_Leaderboard + */ + public function get($leaderboardId, $optParams = array()) + { + $params = array('leaderboardId' => $leaderboardId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Games_Leaderboard"); + } + + /** + * Lists all the leaderboard metadata for your application. + * (leaderboards.listLeaderboards) + * + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The token returned by the previous request. + * @opt_param int maxResults The maximum number of leaderboards to return in the + * response. For any response, the actual number of leaderboards returned may be + * less than the specified maxResults. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_LeaderboardListResponse + */ + public function listLeaderboards($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Games_LeaderboardListResponse"); + } +} + +/** + * The "metagame" collection of methods. + * Typical usage is: + * + * $gamesService = new Google_Service_Games(...); + * $metagame = $gamesService->metagame; + * + */ +class Google_Service_Games_Metagame_Resource extends Google_Service_Resource +{ + + /** + * Return the metagame configuration data for the calling application. + * (metagame.getMetagameConfig) + * + * @param array $optParams Optional parameters. + * @return Google_Service_Games_MetagameConfig + */ + public function getMetagameConfig($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('getMetagameConfig', array($params), "Google_Service_Games_MetagameConfig"); + } + + /** + * List play data aggregated per category for the player corresponding to + * playerId. (metagame.listCategoriesByPlayer) + * + * @param string $playerId A player ID. A value of me may be used in place of + * the authenticated player's ID. + * @param string $collection The collection of categories for which data will be + * returned. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The token returned by the previous request. + * @opt_param int maxResults The maximum number of category resources to return + * in the response, used for paging. For any response, the actual number of + * category resources returned may be less than the specified maxResults. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_CategoryListResponse + */ + public function listCategoriesByPlayer($playerId, $collection, $optParams = array()) + { + $params = array('playerId' => $playerId, 'collection' => $collection); + $params = array_merge($params, $optParams); + return $this->call('listCategoriesByPlayer', array($params), "Google_Service_Games_CategoryListResponse"); + } +} + +/** + * The "players" collection of methods. + * Typical usage is: + * + * $gamesService = new Google_Service_Games(...); + * $players = $gamesService->players; + * + */ +class Google_Service_Games_Players_Resource extends Google_Service_Resource +{ + + /** + * Retrieves the Player resource with the given ID. To retrieve the player for + * the currently authenticated user, set playerId to me. (players.get) + * + * @param string $playerId A player ID. A value of me may be used in place of + * the authenticated player's ID. + * @param array $optParams Optional parameters. + * + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_Player + */ + public function get($playerId, $optParams = array()) + { + $params = array('playerId' => $playerId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Games_Player"); + } + + /** + * Get the collection of players for the currently authenticated user. + * (players.listPlayers) + * + * @param string $collection Collection of players being retrieved + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The token returned by the previous request. + * @opt_param int maxResults The maximum number of player resources to return in + * the response, used for paging. For any response, the actual number of player + * resources returned may be less than the specified maxResults. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_PlayerListResponse + */ + public function listPlayers($collection, $optParams = array()) + { + $params = array('collection' => $collection); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Games_PlayerListResponse"); + } +} + +/** + * The "pushtokens" collection of methods. + * Typical usage is: + * + * $gamesService = new Google_Service_Games(...); + * $pushtokens = $gamesService->pushtokens; + * + */ +class Google_Service_Games_Pushtokens_Resource extends Google_Service_Resource +{ + + /** + * Removes a push token for the current user and application. Removing a non- + * existent push token will report success. (pushtokens.remove) + * + * @param Google_PushTokenId $postBody + * @param array $optParams Optional parameters. + */ + public function remove(Google_Service_Games_PushTokenId $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('remove', array($params)); + } + + /** + * Registers a push token for the current user and application. + * (pushtokens.update) + * + * @param Google_PushToken $postBody + * @param array $optParams Optional parameters. + */ + public function update(Google_Service_Games_PushToken $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params)); + } +} + +/** + * The "questMilestones" collection of methods. + * Typical usage is: + * + * $gamesService = new Google_Service_Games(...); + * $questMilestones = $gamesService->questMilestones; + * + */ +class Google_Service_Games_QuestMilestones_Resource extends Google_Service_Resource +{ + + /** + * Report that a reward for the milestone corresponding to milestoneId for the + * quest corresponding to questId has been claimed by the currently authorized + * user. (questMilestones.claim) + * + * @param string $questId The ID of the quest. + * @param string $milestoneId The ID of the milestone. + * @param string $requestId A numeric ID to ensure that the request is handled + * correctly across retries. Your client application must generate this ID + * randomly. + * @param array $optParams Optional parameters. + */ + public function claim($questId, $milestoneId, $requestId, $optParams = array()) + { + $params = array('questId' => $questId, 'milestoneId' => $milestoneId, 'requestId' => $requestId); + $params = array_merge($params, $optParams); + return $this->call('claim', array($params)); + } +} + +/** + * The "quests" collection of methods. + * Typical usage is: + * + * $gamesService = new Google_Service_Games(...); + * $quests = $gamesService->quests; + * + */ +class Google_Service_Games_Quests_Resource extends Google_Service_Resource +{ + + /** + * Indicates that the currently authorized user will participate in the quest. + * (quests.accept) + * + * @param string $questId The ID of the quest. + * @param array $optParams Optional parameters. + * + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_Quest + */ + public function accept($questId, $optParams = array()) + { + $params = array('questId' => $questId); + $params = array_merge($params, $optParams); + return $this->call('accept', array($params), "Google_Service_Games_Quest"); + } + + /** + * Get a list of quests for your application and the currently authenticated + * player. (quests.listQuests) + * + * @param string $playerId A player ID. A value of me may be used in place of + * the authenticated player's ID. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The token returned by the previous request. + * @opt_param int maxResults The maximum number of quest resources to return in + * the response, used for paging. For any response, the actual number of quest + * resources returned may be less than the specified maxResults. Acceptable + * values are 1 to 50, inclusive. (Default: 50). + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_QuestListResponse + */ + public function listQuests($playerId, $optParams = array()) + { + $params = array('playerId' => $playerId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Games_QuestListResponse"); + } +} + +/** + * The "revisions" collection of methods. + * Typical usage is: + * + * $gamesService = new Google_Service_Games(...); + * $revisions = $gamesService->revisions; + * + */ +class Google_Service_Games_Revisions_Resource extends Google_Service_Resource +{ + + /** + * Checks whether the games client is out of date. (revisions.check) + * + * @param string $clientRevision The revision of the client SDK used by your + * application. Format: [PLATFORM_TYPE]:[VERSION_NUMBER]. Possible values of + * PLATFORM_TYPE are: - "ANDROID" - Client is running the Android SDK. - + * "IOS" - Client is running the iOS SDK. - "WEB_APP" - Client is running as a + * Web App. + * @param array $optParams Optional parameters. + * @return Google_Service_Games_RevisionCheckResponse + */ + public function check($clientRevision, $optParams = array()) + { + $params = array('clientRevision' => $clientRevision); + $params = array_merge($params, $optParams); + return $this->call('check', array($params), "Google_Service_Games_RevisionCheckResponse"); + } +} + +/** + * The "rooms" collection of methods. + * Typical usage is: + * + * $gamesService = new Google_Service_Games(...); + * $rooms = $gamesService->rooms; + * + */ +class Google_Service_Games_Rooms_Resource extends Google_Service_Resource +{ + + /** + * Create a room. For internal use by the Games SDK only. Calling this method + * directly is unsupported. (rooms.create) + * + * @param Google_RoomCreateRequest $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_Room + */ + public function create(Google_Service_Games_RoomCreateRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Games_Room"); + } + + /** + * Decline an invitation to join a room. For internal use by the Games SDK only. + * Calling this method directly is unsupported. (rooms.decline) + * + * @param string $roomId The ID of the room. + * @param array $optParams Optional parameters. + * + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_Room + */ + public function decline($roomId, $optParams = array()) + { + $params = array('roomId' => $roomId); + $params = array_merge($params, $optParams); + return $this->call('decline', array($params), "Google_Service_Games_Room"); + } + + /** + * Dismiss an invitation to join a room. For internal use by the Games SDK only. + * Calling this method directly is unsupported. (rooms.dismiss) + * + * @param string $roomId The ID of the room. + * @param array $optParams Optional parameters. + */ + public function dismiss($roomId, $optParams = array()) + { + $params = array('roomId' => $roomId); + $params = array_merge($params, $optParams); + return $this->call('dismiss', array($params)); + } + + /** + * Get the data for a room. (rooms.get) + * + * @param string $roomId The ID of the room. + * @param array $optParams Optional parameters. + * + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_Room + */ + public function get($roomId, $optParams = array()) + { + $params = array('roomId' => $roomId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Games_Room"); + } + + /** + * Join a room. For internal use by the Games SDK only. Calling this method + * directly is unsupported. (rooms.join) + * + * @param string $roomId The ID of the room. + * @param Google_RoomJoinRequest $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_Room + */ + public function join($roomId, Google_Service_Games_RoomJoinRequest $postBody, $optParams = array()) + { + $params = array('roomId' => $roomId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('join', array($params), "Google_Service_Games_Room"); + } + + /** + * Leave a room. For internal use by the Games SDK only. Calling this method + * directly is unsupported. (rooms.leave) + * + * @param string $roomId The ID of the room. + * @param Google_RoomLeaveRequest $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_Room + */ + public function leave($roomId, Google_Service_Games_RoomLeaveRequest $postBody, $optParams = array()) + { + $params = array('roomId' => $roomId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('leave', array($params), "Google_Service_Games_Room"); + } + + /** + * Returns invitations to join rooms. (rooms.listRooms) + * + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The token returned by the previous request. + * @opt_param int maxResults The maximum number of rooms to return in the + * response, used for paging. For any response, the actual number of rooms to + * return may be less than the specified maxResults. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_RoomList + */ + public function listRooms($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Games_RoomList"); + } + + /** + * Updates sent by a client reporting the status of peers in a room. For + * internal use by the Games SDK only. Calling this method directly is + * unsupported. (rooms.reportStatus) + * + * @param string $roomId The ID of the room. + * @param Google_RoomP2PStatuses $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_RoomStatus + */ + public function reportStatus($roomId, Google_Service_Games_RoomP2PStatuses $postBody, $optParams = array()) + { + $params = array('roomId' => $roomId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('reportStatus', array($params), "Google_Service_Games_RoomStatus"); + } +} + +/** + * The "scores" collection of methods. + * Typical usage is: + * + * $gamesService = new Google_Service_Games(...); + * $scores = $gamesService->scores; + * + */ +class Google_Service_Games_Scores_Resource extends Google_Service_Resource +{ + + /** + * Get high scores, and optionally ranks, in leaderboards for the currently + * authenticated player. For a specific time span, leaderboardId can be set to + * ALL to retrieve data for all leaderboards in a given time span. NOTE: You + * cannot ask for 'ALL' leaderboards and 'ALL' timeSpans in the same request; + * only one parameter may be set to 'ALL'. (scores.get) + * + * @param string $playerId A player ID. A value of me may be used in place of + * the authenticated player's ID. + * @param string $leaderboardId The ID of the leaderboard. Can be set to 'ALL' + * to retrieve data for all leaderboards for this application. + * @param string $timeSpan The time span for the scores and ranks you're + * requesting. + * @param array $optParams Optional parameters. + * + * @opt_param string includeRankType The types of ranks to return. If the + * parameter is omitted, no ranks will be returned. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @opt_param int maxResults The maximum number of leaderboard scores to return + * in the response. For any response, the actual number of leaderboard scores + * returned may be less than the specified maxResults. + * @opt_param string pageToken The token returned by the previous request. + * @return Google_Service_Games_PlayerLeaderboardScoreListResponse + */ + public function get($playerId, $leaderboardId, $timeSpan, $optParams = array()) + { + $params = array('playerId' => $playerId, 'leaderboardId' => $leaderboardId, 'timeSpan' => $timeSpan); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Games_PlayerLeaderboardScoreListResponse"); + } + + /** + * Lists the scores in a leaderboard, starting from the top. (scores.listScores) + * + * @param string $leaderboardId The ID of the leaderboard. + * @param string $collection The collection of scores you're requesting. + * @param string $timeSpan The time span for the scores and ranks you're + * requesting. + * @param array $optParams Optional parameters. + * + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @opt_param int maxResults The maximum number of leaderboard scores to return + * in the response. For any response, the actual number of leaderboard scores + * returned may be less than the specified maxResults. + * @opt_param string pageToken The token returned by the previous request. + * @return Google_Service_Games_LeaderboardScores + */ + public function listScores($leaderboardId, $collection, $timeSpan, $optParams = array()) + { + $params = array('leaderboardId' => $leaderboardId, 'collection' => $collection, 'timeSpan' => $timeSpan); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Games_LeaderboardScores"); + } + + /** + * Lists the scores in a leaderboard around (and including) a player's score. + * (scores.listWindow) + * + * @param string $leaderboardId The ID of the leaderboard. + * @param string $collection The collection of scores you're requesting. + * @param string $timeSpan The time span for the scores and ranks you're + * requesting. + * @param array $optParams Optional parameters. + * + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @opt_param bool returnTopIfAbsent True if the top scores should be returned + * when the player is not in the leaderboard. Defaults to true. + * @opt_param int resultsAbove The preferred number of scores to return above + * the player's score. More scores may be returned if the player is at the + * bottom of the leaderboard; fewer may be returned if the player is at the top. + * Must be less than or equal to maxResults. + * @opt_param int maxResults The maximum number of leaderboard scores to return + * in the response. For any response, the actual number of leaderboard scores + * returned may be less than the specified maxResults. + * @opt_param string pageToken The token returned by the previous request. + * @return Google_Service_Games_LeaderboardScores + */ + public function listWindow($leaderboardId, $collection, $timeSpan, $optParams = array()) + { + $params = array('leaderboardId' => $leaderboardId, 'collection' => $collection, 'timeSpan' => $timeSpan); + $params = array_merge($params, $optParams); + return $this->call('listWindow', array($params), "Google_Service_Games_LeaderboardScores"); + } + + /** + * Submits a score to the specified leaderboard. (scores.submit) + * + * @param string $leaderboardId The ID of the leaderboard. + * @param string $score The score you're submitting. The submitted score is + * ignored if it is worse than a previously submitted score, where worse depends + * on the leaderboard sort order. The meaning of the score value depends on the + * leaderboard format type. For fixed-point, the score represents the raw value. + * For time, the score represents elapsed time in milliseconds. For currency, + * the score represents a value in micro units. + * @param array $optParams Optional parameters. + * + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @opt_param string scoreTag Additional information about the score you're + * submitting. Values must contain no more than 64 URI-safe characters as + * defined by section 2.3 of RFC 3986. + * @return Google_Service_Games_PlayerScoreResponse + */ + public function submit($leaderboardId, $score, $optParams = array()) + { + $params = array('leaderboardId' => $leaderboardId, 'score' => $score); + $params = array_merge($params, $optParams); + return $this->call('submit', array($params), "Google_Service_Games_PlayerScoreResponse"); + } + + /** + * Submits multiple scores to leaderboards. (scores.submitMultiple) + * + * @param Google_PlayerScoreSubmissionList $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_PlayerScoreListResponse + */ + public function submitMultiple(Google_Service_Games_PlayerScoreSubmissionList $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('submitMultiple', array($params), "Google_Service_Games_PlayerScoreListResponse"); + } +} + +/** + * The "snapshots" collection of methods. + * Typical usage is: + * + * $gamesService = new Google_Service_Games(...); + * $snapshots = $gamesService->snapshots; + * + */ +class Google_Service_Games_Snapshots_Resource extends Google_Service_Resource +{ + + /** + * Retrieves the metadata for a given snapshot ID. (snapshots.get) + * + * @param string $snapshotId The ID of the snapshot. + * @param array $optParams Optional parameters. + * + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_Snapshot + */ + public function get($snapshotId, $optParams = array()) + { + $params = array('snapshotId' => $snapshotId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Games_Snapshot"); + } + + /** + * Retrieves a list of snapshots created by your application for the player + * corresponding to the player ID. (snapshots.listSnapshots) + * + * @param string $playerId A player ID. A value of me may be used in place of + * the authenticated player's ID. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The token returned by the previous request. + * @opt_param int maxResults The maximum number of snapshot resources to return + * in the response, used for paging. For any response, the actual number of + * snapshot resources returned may be less than the specified maxResults. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_SnapshotListResponse + */ + public function listSnapshots($playerId, $optParams = array()) + { + $params = array('playerId' => $playerId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Games_SnapshotListResponse"); + } +} + +/** + * The "turnBasedMatches" collection of methods. + * Typical usage is: + * + * $gamesService = new Google_Service_Games(...); + * $turnBasedMatches = $gamesService->turnBasedMatches; + * + */ +class Google_Service_Games_TurnBasedMatches_Resource extends Google_Service_Resource +{ + + /** + * Cancel a turn-based match. (turnBasedMatches.cancel) + * + * @param string $matchId The ID of the match. + * @param array $optParams Optional parameters. + */ + public function cancel($matchId, $optParams = array()) + { + $params = array('matchId' => $matchId); + $params = array_merge($params, $optParams); + return $this->call('cancel', array($params)); + } + + /** + * Create a turn-based match. (turnBasedMatches.create) + * + * @param Google_TurnBasedMatchCreateRequest $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_TurnBasedMatch + */ + public function create(Google_Service_Games_TurnBasedMatchCreateRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Games_TurnBasedMatch"); + } + + /** + * Decline an invitation to play a turn-based match. (turnBasedMatches.decline) + * + * @param string $matchId The ID of the match. + * @param array $optParams Optional parameters. + * + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_TurnBasedMatch + */ + public function decline($matchId, $optParams = array()) + { + $params = array('matchId' => $matchId); + $params = array_merge($params, $optParams); + return $this->call('decline', array($params), "Google_Service_Games_TurnBasedMatch"); + } + + /** + * Dismiss a turn-based match from the match list. The match will no longer show + * up in the list and will not generate notifications. + * (turnBasedMatches.dismiss) + * + * @param string $matchId The ID of the match. + * @param array $optParams Optional parameters. + */ + public function dismiss($matchId, $optParams = array()) + { + $params = array('matchId' => $matchId); + $params = array_merge($params, $optParams); + return $this->call('dismiss', array($params)); + } + + /** + * Finish a turn-based match. Each player should make this call once, after all + * results are in. Only the player whose turn it is may make the first call to + * Finish, and can pass in the final match state. (turnBasedMatches.finish) + * + * @param string $matchId The ID of the match. + * @param Google_TurnBasedMatchResults $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_TurnBasedMatch + */ + public function finish($matchId, Google_Service_Games_TurnBasedMatchResults $postBody, $optParams = array()) + { + $params = array('matchId' => $matchId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('finish', array($params), "Google_Service_Games_TurnBasedMatch"); + } + + /** + * Get the data for a turn-based match. (turnBasedMatches.get) + * + * @param string $matchId The ID of the match. + * @param array $optParams Optional parameters. + * + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @opt_param bool includeMatchData Get match data along with metadata. + * @return Google_Service_Games_TurnBasedMatch + */ + public function get($matchId, $optParams = array()) + { + $params = array('matchId' => $matchId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Games_TurnBasedMatch"); + } + + /** + * Join a turn-based match. (turnBasedMatches.join) + * + * @param string $matchId The ID of the match. + * @param array $optParams Optional parameters. + * + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_TurnBasedMatch + */ + public function join($matchId, $optParams = array()) + { + $params = array('matchId' => $matchId); + $params = array_merge($params, $optParams); + return $this->call('join', array($params), "Google_Service_Games_TurnBasedMatch"); + } + + /** + * Leave a turn-based match when it is not the current player's turn, without + * canceling the match. (turnBasedMatches.leave) + * + * @param string $matchId The ID of the match. + * @param array $optParams Optional parameters. + * + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_TurnBasedMatch + */ + public function leave($matchId, $optParams = array()) + { + $params = array('matchId' => $matchId); + $params = array_merge($params, $optParams); + return $this->call('leave', array($params), "Google_Service_Games_TurnBasedMatch"); + } + + /** + * Leave a turn-based match during the current player's turn, without canceling + * the match. (turnBasedMatches.leaveTurn) + * + * @param string $matchId The ID of the match. + * @param int $matchVersion The version of the match being updated. + * @param array $optParams Optional parameters. + * + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @opt_param string pendingParticipantId The ID of another participant who + * should take their turn next. If not set, the match will wait for other + * player(s) to join via automatching; this is only valid if automatch criteria + * is set on the match with remaining slots for automatched players. + * @return Google_Service_Games_TurnBasedMatch + */ + public function leaveTurn($matchId, $matchVersion, $optParams = array()) + { + $params = array('matchId' => $matchId, 'matchVersion' => $matchVersion); + $params = array_merge($params, $optParams); + return $this->call('leaveTurn', array($params), "Google_Service_Games_TurnBasedMatch"); + } + + /** + * Returns turn-based matches the player is or was involved in. + * (turnBasedMatches.listTurnBasedMatches) + * + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The token returned by the previous request. + * @opt_param int maxCompletedMatches The maximum number of completed or + * canceled matches to return in the response. If not set, all matches returned + * could be completed or canceled. + * @opt_param int maxResults The maximum number of matches to return in the + * response, used for paging. For any response, the actual number of matches to + * return may be less than the specified maxResults. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @opt_param bool includeMatchData True if match data should be returned in the + * response. Note that not all data will necessarily be returned if + * include_match_data is true; the server may decide to only return data for + * some of the matches to limit download size for the client. The remainder of + * the data for these matches will be retrievable on request. + * @return Google_Service_Games_TurnBasedMatchList + */ + public function listTurnBasedMatches($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Games_TurnBasedMatchList"); + } + + /** + * Create a rematch of a match that was previously completed, with the same + * participants. This can be called by only one player on a match still in their + * list; the player must have called Finish first. Returns the newly created + * match; it will be the caller's turn. (turnBasedMatches.rematch) + * + * @param string $matchId The ID of the match. + * @param array $optParams Optional parameters. + * + * @opt_param string requestId A randomly generated numeric ID for each request + * specified by the caller. This number is used at the server to ensure that the + * request is handled correctly across retries. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_TurnBasedMatchRematch + */ + public function rematch($matchId, $optParams = array()) + { + $params = array('matchId' => $matchId); + $params = array_merge($params, $optParams); + return $this->call('rematch', array($params), "Google_Service_Games_TurnBasedMatchRematch"); + } + + /** + * Returns turn-based matches the player is or was involved in that changed + * since the last sync call, with the least recent changes coming first. Matches + * that should be removed from the local cache will have a status of + * MATCH_DELETED. (turnBasedMatches.sync) + * + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The token returned by the previous request. + * @opt_param int maxCompletedMatches The maximum number of completed or + * canceled matches to return in the response. If not set, all matches returned + * could be completed or canceled. + * @opt_param int maxResults The maximum number of matches to return in the + * response, used for paging. For any response, the actual number of matches to + * return may be less than the specified maxResults. + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @opt_param bool includeMatchData True if match data should be returned in the + * response. Note that not all data will necessarily be returned if + * include_match_data is true; the server may decide to only return data for + * some of the matches to limit download size for the client. The remainder of + * the data for these matches will be retrievable on request. + * @return Google_Service_Games_TurnBasedMatchSync + */ + public function sync($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('sync', array($params), "Google_Service_Games_TurnBasedMatchSync"); + } + + /** + * Commit the results of a player turn. (turnBasedMatches.takeTurn) + * + * @param string $matchId The ID of the match. + * @param Google_TurnBasedMatchTurn $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string language The preferred language to use for strings returned + * by this method. + * @return Google_Service_Games_TurnBasedMatch + */ + public function takeTurn($matchId, Google_Service_Games_TurnBasedMatchTurn $postBody, $optParams = array()) + { + $params = array('matchId' => $matchId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('takeTurn', array($params), "Google_Service_Games_TurnBasedMatch"); + } +} + + + + +class Google_Service_Games_AchievementDefinition extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $achievementType; + public $description; + public $experiencePoints; + public $formattedTotalSteps; + public $id; + public $initialState; + public $isRevealedIconUrlDefault; + public $isUnlockedIconUrlDefault; + public $kind; + public $name; + public $revealedIconUrl; + public $totalSteps; + public $unlockedIconUrl; + + + public function setAchievementType($achievementType) + { + $this->achievementType = $achievementType; + } + public function getAchievementType() + { + return $this->achievementType; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setExperiencePoints($experiencePoints) + { + $this->experiencePoints = $experiencePoints; + } + public function getExperiencePoints() + { + return $this->experiencePoints; + } + public function setFormattedTotalSteps($formattedTotalSteps) + { + $this->formattedTotalSteps = $formattedTotalSteps; + } + public function getFormattedTotalSteps() + { + return $this->formattedTotalSteps; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInitialState($initialState) + { + $this->initialState = $initialState; + } + public function getInitialState() + { + return $this->initialState; + } + public function setIsRevealedIconUrlDefault($isRevealedIconUrlDefault) + { + $this->isRevealedIconUrlDefault = $isRevealedIconUrlDefault; + } + public function getIsRevealedIconUrlDefault() + { + return $this->isRevealedIconUrlDefault; + } + public function setIsUnlockedIconUrlDefault($isUnlockedIconUrlDefault) + { + $this->isUnlockedIconUrlDefault = $isUnlockedIconUrlDefault; + } + public function getIsUnlockedIconUrlDefault() + { + return $this->isUnlockedIconUrlDefault; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setRevealedIconUrl($revealedIconUrl) + { + $this->revealedIconUrl = $revealedIconUrl; + } + public function getRevealedIconUrl() + { + return $this->revealedIconUrl; + } + public function setTotalSteps($totalSteps) + { + $this->totalSteps = $totalSteps; + } + public function getTotalSteps() + { + return $this->totalSteps; + } + public function setUnlockedIconUrl($unlockedIconUrl) + { + $this->unlockedIconUrl = $unlockedIconUrl; + } + public function getUnlockedIconUrl() + { + return $this->unlockedIconUrl; + } +} + +class Google_Service_Games_AchievementDefinitionsListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Games_AchievementDefinition'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Games_AchievementIncrementResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $currentSteps; + public $kind; + public $newlyUnlocked; + + + public function setCurrentSteps($currentSteps) + { + $this->currentSteps = $currentSteps; + } + public function getCurrentSteps() + { + return $this->currentSteps; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNewlyUnlocked($newlyUnlocked) + { + $this->newlyUnlocked = $newlyUnlocked; + } + public function getNewlyUnlocked() + { + return $this->newlyUnlocked; + } +} + +class Google_Service_Games_AchievementRevealResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $currentState; + public $kind; + + + public function setCurrentState($currentState) + { + $this->currentState = $currentState; + } + public function getCurrentState() + { + return $this->currentState; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Games_AchievementSetStepsAtLeastResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $currentSteps; + public $kind; + public $newlyUnlocked; + + + public function setCurrentSteps($currentSteps) + { + $this->currentSteps = $currentSteps; + } + public function getCurrentSteps() + { + return $this->currentSteps; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNewlyUnlocked($newlyUnlocked) + { + $this->newlyUnlocked = $newlyUnlocked; + } + public function getNewlyUnlocked() + { + return $this->newlyUnlocked; + } +} + +class Google_Service_Games_AchievementUnlockResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + public $newlyUnlocked; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNewlyUnlocked($newlyUnlocked) + { + $this->newlyUnlocked = $newlyUnlocked; + } + public function getNewlyUnlocked() + { + return $this->newlyUnlocked; + } +} + +class Google_Service_Games_AchievementUpdateMultipleRequest extends Google_Collection +{ + protected $collection_key = 'updates'; + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $updatesType = 'Google_Service_Games_AchievementUpdateRequest'; + protected $updatesDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setUpdates($updates) + { + $this->updates = $updates; + } + public function getUpdates() + { + return $this->updates; + } +} + +class Google_Service_Games_AchievementUpdateMultipleResponse extends Google_Collection +{ + protected $collection_key = 'updatedAchievements'; + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $updatedAchievementsType = 'Google_Service_Games_AchievementUpdateResponse'; + protected $updatedAchievementsDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setUpdatedAchievements($updatedAchievements) + { + $this->updatedAchievements = $updatedAchievements; + } + public function getUpdatedAchievements() + { + return $this->updatedAchievements; + } +} + +class Google_Service_Games_AchievementUpdateRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $achievementId; + protected $incrementPayloadType = 'Google_Service_Games_GamesAchievementIncrement'; + protected $incrementPayloadDataType = ''; + public $kind; + protected $setStepsAtLeastPayloadType = 'Google_Service_Games_GamesAchievementSetStepsAtLeast'; + protected $setStepsAtLeastPayloadDataType = ''; + public $updateType; + + + public function setAchievementId($achievementId) + { + $this->achievementId = $achievementId; + } + public function getAchievementId() + { + return $this->achievementId; + } + public function setIncrementPayload(Google_Service_Games_GamesAchievementIncrement $incrementPayload) + { + $this->incrementPayload = $incrementPayload; + } + public function getIncrementPayload() + { + return $this->incrementPayload; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSetStepsAtLeastPayload(Google_Service_Games_GamesAchievementSetStepsAtLeast $setStepsAtLeastPayload) + { + $this->setStepsAtLeastPayload = $setStepsAtLeastPayload; + } + public function getSetStepsAtLeastPayload() + { + return $this->setStepsAtLeastPayload; + } + public function setUpdateType($updateType) + { + $this->updateType = $updateType; + } + public function getUpdateType() + { + return $this->updateType; + } +} + +class Google_Service_Games_AchievementUpdateResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $achievementId; + public $currentState; + public $currentSteps; + public $kind; + public $newlyUnlocked; + public $updateOccurred; + + + public function setAchievementId($achievementId) + { + $this->achievementId = $achievementId; + } + public function getAchievementId() + { + return $this->achievementId; + } + public function setCurrentState($currentState) + { + $this->currentState = $currentState; + } + public function getCurrentState() + { + return $this->currentState; + } + public function setCurrentSteps($currentSteps) + { + $this->currentSteps = $currentSteps; + } + public function getCurrentSteps() + { + return $this->currentSteps; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNewlyUnlocked($newlyUnlocked) + { + $this->newlyUnlocked = $newlyUnlocked; + } + public function getNewlyUnlocked() + { + return $this->newlyUnlocked; + } + public function setUpdateOccurred($updateOccurred) + { + $this->updateOccurred = $updateOccurred; + } + public function getUpdateOccurred() + { + return $this->updateOccurred; + } +} + +class Google_Service_Games_AggregateStats extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $count; + public $kind; + public $max; + public $min; + public $sum; + + + public function setCount($count) + { + $this->count = $count; + } + public function getCount() + { + return $this->count; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMax($max) + { + $this->max = $max; + } + public function getMax() + { + return $this->max; + } + public function setMin($min) + { + $this->min = $min; + } + public function getMin() + { + return $this->min; + } + public function setSum($sum) + { + $this->sum = $sum; + } + public function getSum() + { + return $this->sum; + } +} + +class Google_Service_Games_AnonymousPlayer extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $avatarImageUrl; + public $displayName; + public $kind; + + + public function setAvatarImageUrl($avatarImageUrl) + { + $this->avatarImageUrl = $avatarImageUrl; + } + public function getAvatarImageUrl() + { + return $this->avatarImageUrl; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Games_Application extends Google_Collection +{ + protected $collection_key = 'instances'; + protected $internal_gapi_mappings = array( + "achievementCount" => "achievement_count", + "leaderboardCount" => "leaderboard_count", + ); + public $achievementCount; + protected $assetsType = 'Google_Service_Games_ImageAsset'; + protected $assetsDataType = 'array'; + public $author; + protected $categoryType = 'Google_Service_Games_ApplicationCategory'; + protected $categoryDataType = ''; + public $description; + public $enabledFeatures; + public $id; + protected $instancesType = 'Google_Service_Games_Instance'; + protected $instancesDataType = 'array'; + public $kind; + public $lastUpdatedTimestamp; + public $leaderboardCount; + public $name; + public $themeColor; + + + public function setAchievementCount($achievementCount) + { + $this->achievementCount = $achievementCount; + } + public function getAchievementCount() + { + return $this->achievementCount; + } + public function setAssets($assets) + { + $this->assets = $assets; + } + public function getAssets() + { + return $this->assets; + } + public function setAuthor($author) + { + $this->author = $author; + } + public function getAuthor() + { + return $this->author; + } + public function setCategory(Google_Service_Games_ApplicationCategory $category) + { + $this->category = $category; + } + public function getCategory() + { + return $this->category; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEnabledFeatures($enabledFeatures) + { + $this->enabledFeatures = $enabledFeatures; + } + public function getEnabledFeatures() + { + return $this->enabledFeatures; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInstances($instances) + { + $this->instances = $instances; + } + public function getInstances() + { + return $this->instances; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastUpdatedTimestamp($lastUpdatedTimestamp) + { + $this->lastUpdatedTimestamp = $lastUpdatedTimestamp; + } + public function getLastUpdatedTimestamp() + { + return $this->lastUpdatedTimestamp; + } + public function setLeaderboardCount($leaderboardCount) + { + $this->leaderboardCount = $leaderboardCount; + } + public function getLeaderboardCount() + { + return $this->leaderboardCount; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setThemeColor($themeColor) + { + $this->themeColor = $themeColor; + } + public function getThemeColor() + { + return $this->themeColor; + } +} + +class Google_Service_Games_ApplicationCategory extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + public $primary; + public $secondary; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPrimary($primary) + { + $this->primary = $primary; + } + public function getPrimary() + { + return $this->primary; + } + public function setSecondary($secondary) + { + $this->secondary = $secondary; + } + public function getSecondary() + { + return $this->secondary; + } +} + +class Google_Service_Games_Category extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $category; + public $experiencePoints; + public $kind; + + + public function setCategory($category) + { + $this->category = $category; + } + public function getCategory() + { + return $this->category; + } + public function setExperiencePoints($experiencePoints) + { + $this->experiencePoints = $experiencePoints; + } + public function getExperiencePoints() + { + return $this->experiencePoints; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Games_CategoryListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Games_Category'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Games_EventBatchRecordFailure extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $failureCause; + public $kind; + protected $rangeType = 'Google_Service_Games_EventPeriodRange'; + protected $rangeDataType = ''; + + + public function setFailureCause($failureCause) + { + $this->failureCause = $failureCause; + } + public function getFailureCause() + { + return $this->failureCause; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRange(Google_Service_Games_EventPeriodRange $range) + { + $this->range = $range; + } + public function getRange() + { + return $this->range; + } +} + +class Google_Service_Games_EventChild extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $childId; + public $kind; + + + public function setChildId($childId) + { + $this->childId = $childId; + } + public function getChildId() + { + return $this->childId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Games_EventDefinition extends Google_Collection +{ + protected $collection_key = 'childEvents'; + protected $internal_gapi_mappings = array( + ); + protected $childEventsType = 'Google_Service_Games_EventChild'; + protected $childEventsDataType = 'array'; + public $description; + public $displayName; + public $id; + public $imageUrl; + public $isDefaultImageUrl; + public $kind; + public $visibility; + + + public function setChildEvents($childEvents) + { + $this->childEvents = $childEvents; + } + public function getChildEvents() + { + return $this->childEvents; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImageUrl($imageUrl) + { + $this->imageUrl = $imageUrl; + } + public function getImageUrl() + { + return $this->imageUrl; + } + public function setIsDefaultImageUrl($isDefaultImageUrl) + { + $this->isDefaultImageUrl = $isDefaultImageUrl; + } + public function getIsDefaultImageUrl() + { + return $this->isDefaultImageUrl; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setVisibility($visibility) + { + $this->visibility = $visibility; + } + public function getVisibility() + { + return $this->visibility; + } +} + +class Google_Service_Games_EventDefinitionListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Games_EventDefinition'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Games_EventPeriodRange extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + public $periodEndMillis; + public $periodStartMillis; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPeriodEndMillis($periodEndMillis) + { + $this->periodEndMillis = $periodEndMillis; + } + public function getPeriodEndMillis() + { + return $this->periodEndMillis; + } + public function setPeriodStartMillis($periodStartMillis) + { + $this->periodStartMillis = $periodStartMillis; + } + public function getPeriodStartMillis() + { + return $this->periodStartMillis; + } +} + +class Google_Service_Games_EventPeriodUpdate extends Google_Collection +{ + protected $collection_key = 'updates'; + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $timePeriodType = 'Google_Service_Games_EventPeriodRange'; + protected $timePeriodDataType = ''; + protected $updatesType = 'Google_Service_Games_EventUpdateRequest'; + protected $updatesDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setTimePeriod(Google_Service_Games_EventPeriodRange $timePeriod) + { + $this->timePeriod = $timePeriod; + } + public function getTimePeriod() + { + return $this->timePeriod; + } + public function setUpdates($updates) + { + $this->updates = $updates; + } + public function getUpdates() + { + return $this->updates; + } +} + +class Google_Service_Games_EventRecordFailure extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $eventId; + public $failureCause; + public $kind; + + + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setFailureCause($failureCause) + { + $this->failureCause = $failureCause; + } + public function getFailureCause() + { + return $this->failureCause; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Games_EventRecordRequest extends Google_Collection +{ + protected $collection_key = 'timePeriods'; + protected $internal_gapi_mappings = array( + ); + public $currentTimeMillis; + public $kind; + public $requestId; + protected $timePeriodsType = 'Google_Service_Games_EventPeriodUpdate'; + protected $timePeriodsDataType = 'array'; + + + public function setCurrentTimeMillis($currentTimeMillis) + { + $this->currentTimeMillis = $currentTimeMillis; + } + public function getCurrentTimeMillis() + { + return $this->currentTimeMillis; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRequestId($requestId) + { + $this->requestId = $requestId; + } + public function getRequestId() + { + return $this->requestId; + } + public function setTimePeriods($timePeriods) + { + $this->timePeriods = $timePeriods; + } + public function getTimePeriods() + { + return $this->timePeriods; + } +} + +class Google_Service_Games_EventUpdateRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $definitionId; + public $kind; + public $updateCount; + + + public function setDefinitionId($definitionId) + { + $this->definitionId = $definitionId; + } + public function getDefinitionId() + { + return $this->definitionId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setUpdateCount($updateCount) + { + $this->updateCount = $updateCount; + } + public function getUpdateCount() + { + return $this->updateCount; + } +} + +class Google_Service_Games_EventUpdateResponse extends Google_Collection +{ + protected $collection_key = 'playerEvents'; + protected $internal_gapi_mappings = array( + ); + protected $batchFailuresType = 'Google_Service_Games_EventBatchRecordFailure'; + protected $batchFailuresDataType = 'array'; + protected $eventFailuresType = 'Google_Service_Games_EventRecordFailure'; + protected $eventFailuresDataType = 'array'; + public $kind; + protected $playerEventsType = 'Google_Service_Games_PlayerEvent'; + protected $playerEventsDataType = 'array'; + + + public function setBatchFailures($batchFailures) + { + $this->batchFailures = $batchFailures; + } + public function getBatchFailures() + { + return $this->batchFailures; + } + public function setEventFailures($eventFailures) + { + $this->eventFailures = $eventFailures; + } + public function getEventFailures() + { + return $this->eventFailures; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPlayerEvents($playerEvents) + { + $this->playerEvents = $playerEvents; + } + public function getPlayerEvents() + { + return $this->playerEvents; + } +} + +class Google_Service_Games_GamesAchievementIncrement extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + public $requestId; + public $steps; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRequestId($requestId) + { + $this->requestId = $requestId; + } + public function getRequestId() + { + return $this->requestId; + } + public function setSteps($steps) + { + $this->steps = $steps; + } + public function getSteps() + { + return $this->steps; + } +} + +class Google_Service_Games_GamesAchievementSetStepsAtLeast extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + public $steps; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSteps($steps) + { + $this->steps = $steps; + } + public function getSteps() + { + return $this->steps; + } +} + +class Google_Service_Games_ImageAsset extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $height; + public $kind; + public $name; + public $url; + public $width; + + + public function setHeight($height) + { + $this->height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} + +class Google_Service_Games_Instance extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $acquisitionUri; + protected $androidInstanceType = 'Google_Service_Games_InstanceAndroidDetails'; + protected $androidInstanceDataType = ''; + protected $iosInstanceType = 'Google_Service_Games_InstanceIosDetails'; + protected $iosInstanceDataType = ''; + public $kind; + public $name; + public $platformType; + public $realtimePlay; + public $turnBasedPlay; + protected $webInstanceType = 'Google_Service_Games_InstanceWebDetails'; + protected $webInstanceDataType = ''; + + + public function setAcquisitionUri($acquisitionUri) + { + $this->acquisitionUri = $acquisitionUri; + } + public function getAcquisitionUri() + { + return $this->acquisitionUri; + } + public function setAndroidInstance(Google_Service_Games_InstanceAndroidDetails $androidInstance) + { + $this->androidInstance = $androidInstance; + } + public function getAndroidInstance() + { + return $this->androidInstance; + } + public function setIosInstance(Google_Service_Games_InstanceIosDetails $iosInstance) + { + $this->iosInstance = $iosInstance; + } + public function getIosInstance() + { + return $this->iosInstance; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPlatformType($platformType) + { + $this->platformType = $platformType; + } + public function getPlatformType() + { + return $this->platformType; + } + public function setRealtimePlay($realtimePlay) + { + $this->realtimePlay = $realtimePlay; + } + public function getRealtimePlay() + { + return $this->realtimePlay; + } + public function setTurnBasedPlay($turnBasedPlay) + { + $this->turnBasedPlay = $turnBasedPlay; + } + public function getTurnBasedPlay() + { + return $this->turnBasedPlay; + } + public function setWebInstance(Google_Service_Games_InstanceWebDetails $webInstance) + { + $this->webInstance = $webInstance; + } + public function getWebInstance() + { + return $this->webInstance; + } +} + +class Google_Service_Games_InstanceAndroidDetails extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $enablePiracyCheck; + public $kind; + public $packageName; + public $preferred; + + + public function setEnablePiracyCheck($enablePiracyCheck) + { + $this->enablePiracyCheck = $enablePiracyCheck; + } + public function getEnablePiracyCheck() + { + return $this->enablePiracyCheck; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPackageName($packageName) + { + $this->packageName = $packageName; + } + public function getPackageName() + { + return $this->packageName; + } + public function setPreferred($preferred) + { + $this->preferred = $preferred; + } + public function getPreferred() + { + return $this->preferred; + } +} + +class Google_Service_Games_InstanceIosDetails extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $bundleIdentifier; + public $itunesAppId; + public $kind; + public $preferredForIpad; + public $preferredForIphone; + public $supportIpad; + public $supportIphone; + + + public function setBundleIdentifier($bundleIdentifier) + { + $this->bundleIdentifier = $bundleIdentifier; + } + public function getBundleIdentifier() + { + return $this->bundleIdentifier; + } + public function setItunesAppId($itunesAppId) + { + $this->itunesAppId = $itunesAppId; + } + public function getItunesAppId() + { + return $this->itunesAppId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPreferredForIpad($preferredForIpad) + { + $this->preferredForIpad = $preferredForIpad; + } + public function getPreferredForIpad() + { + return $this->preferredForIpad; + } + public function setPreferredForIphone($preferredForIphone) + { + $this->preferredForIphone = $preferredForIphone; + } + public function getPreferredForIphone() + { + return $this->preferredForIphone; + } + public function setSupportIpad($supportIpad) + { + $this->supportIpad = $supportIpad; + } + public function getSupportIpad() + { + return $this->supportIpad; + } + public function setSupportIphone($supportIphone) + { + $this->supportIphone = $supportIphone; + } + public function getSupportIphone() + { + return $this->supportIphone; + } +} + +class Google_Service_Games_InstanceWebDetails extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + public $launchUrl; + public $preferred; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLaunchUrl($launchUrl) + { + $this->launchUrl = $launchUrl; + } + public function getLaunchUrl() + { + return $this->launchUrl; + } + public function setPreferred($preferred) + { + $this->preferred = $preferred; + } + public function getPreferred() + { + return $this->preferred; + } +} + +class Google_Service_Games_Leaderboard extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $iconUrl; + public $id; + public $isIconUrlDefault; + public $kind; + public $name; + public $order; + + + public function setIconUrl($iconUrl) + { + $this->iconUrl = $iconUrl; + } + public function getIconUrl() + { + return $this->iconUrl; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIsIconUrlDefault($isIconUrlDefault) + { + $this->isIconUrlDefault = $isIconUrlDefault; + } + public function getIsIconUrlDefault() + { + return $this->isIconUrlDefault; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOrder($order) + { + $this->order = $order; + } + public function getOrder() + { + return $this->order; + } +} + +class Google_Service_Games_LeaderboardEntry extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $formattedScore; + public $formattedScoreRank; + public $kind; + protected $playerType = 'Google_Service_Games_Player'; + protected $playerDataType = ''; + public $scoreRank; + public $scoreTag; + public $scoreValue; + public $timeSpan; + public $writeTimestampMillis; + + + public function setFormattedScore($formattedScore) + { + $this->formattedScore = $formattedScore; + } + public function getFormattedScore() + { + return $this->formattedScore; + } + public function setFormattedScoreRank($formattedScoreRank) + { + $this->formattedScoreRank = $formattedScoreRank; + } + public function getFormattedScoreRank() + { + return $this->formattedScoreRank; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPlayer(Google_Service_Games_Player $player) + { + $this->player = $player; + } + public function getPlayer() + { + return $this->player; + } + public function setScoreRank($scoreRank) + { + $this->scoreRank = $scoreRank; + } + public function getScoreRank() + { + return $this->scoreRank; + } + public function setScoreTag($scoreTag) + { + $this->scoreTag = $scoreTag; + } + public function getScoreTag() + { + return $this->scoreTag; + } + public function setScoreValue($scoreValue) + { + $this->scoreValue = $scoreValue; + } + public function getScoreValue() + { + return $this->scoreValue; + } + public function setTimeSpan($timeSpan) + { + $this->timeSpan = $timeSpan; + } + public function getTimeSpan() + { + return $this->timeSpan; + } + public function setWriteTimestampMillis($writeTimestampMillis) + { + $this->writeTimestampMillis = $writeTimestampMillis; + } + public function getWriteTimestampMillis() + { + return $this->writeTimestampMillis; + } +} + +class Google_Service_Games_LeaderboardListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Games_Leaderboard'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Games_LeaderboardScoreRank extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $formattedNumScores; + public $formattedRank; + public $kind; + public $numScores; + public $rank; + + + public function setFormattedNumScores($formattedNumScores) + { + $this->formattedNumScores = $formattedNumScores; + } + public function getFormattedNumScores() + { + return $this->formattedNumScores; + } + public function setFormattedRank($formattedRank) + { + $this->formattedRank = $formattedRank; + } + public function getFormattedRank() + { + return $this->formattedRank; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNumScores($numScores) + { + $this->numScores = $numScores; + } + public function getNumScores() + { + return $this->numScores; + } + public function setRank($rank) + { + $this->rank = $rank; + } + public function getRank() + { + return $this->rank; + } +} + +class Google_Service_Games_LeaderboardScores extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Games_LeaderboardEntry'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $numScores; + protected $playerScoreType = 'Google_Service_Games_LeaderboardEntry'; + protected $playerScoreDataType = ''; + public $prevPageToken; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setNumScores($numScores) + { + $this->numScores = $numScores; + } + public function getNumScores() + { + return $this->numScores; + } + public function setPlayerScore(Google_Service_Games_LeaderboardEntry $playerScore) + { + $this->playerScore = $playerScore; + } + public function getPlayerScore() + { + return $this->playerScore; + } + public function setPrevPageToken($prevPageToken) + { + $this->prevPageToken = $prevPageToken; + } + public function getPrevPageToken() + { + return $this->prevPageToken; + } +} + +class Google_Service_Games_MetagameConfig extends Google_Collection +{ + protected $collection_key = 'playerLevels'; + protected $internal_gapi_mappings = array( + ); + public $currentVersion; + public $kind; + protected $playerLevelsType = 'Google_Service_Games_PlayerLevel'; + protected $playerLevelsDataType = 'array'; + + + public function setCurrentVersion($currentVersion) + { + $this->currentVersion = $currentVersion; + } + public function getCurrentVersion() + { + return $this->currentVersion; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPlayerLevels($playerLevels) + { + $this->playerLevels = $playerLevels; + } + public function getPlayerLevels() + { + return $this->playerLevels; + } +} + +class Google_Service_Games_NetworkDiagnostics extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $androidNetworkSubtype; + public $androidNetworkType; + public $iosNetworkType; + public $kind; + public $networkOperatorCode; + public $networkOperatorName; + public $registrationLatencyMillis; + + + public function setAndroidNetworkSubtype($androidNetworkSubtype) + { + $this->androidNetworkSubtype = $androidNetworkSubtype; + } + public function getAndroidNetworkSubtype() + { + return $this->androidNetworkSubtype; + } + public function setAndroidNetworkType($androidNetworkType) + { + $this->androidNetworkType = $androidNetworkType; + } + public function getAndroidNetworkType() + { + return $this->androidNetworkType; + } + public function setIosNetworkType($iosNetworkType) + { + $this->iosNetworkType = $iosNetworkType; + } + public function getIosNetworkType() + { + return $this->iosNetworkType; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNetworkOperatorCode($networkOperatorCode) + { + $this->networkOperatorCode = $networkOperatorCode; + } + public function getNetworkOperatorCode() + { + return $this->networkOperatorCode; + } + public function setNetworkOperatorName($networkOperatorName) + { + $this->networkOperatorName = $networkOperatorName; + } + public function getNetworkOperatorName() + { + return $this->networkOperatorName; + } + public function setRegistrationLatencyMillis($registrationLatencyMillis) + { + $this->registrationLatencyMillis = $registrationLatencyMillis; + } + public function getRegistrationLatencyMillis() + { + return $this->registrationLatencyMillis; + } +} + +class Google_Service_Games_ParticipantResult extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + public $participantId; + public $placing; + public $result; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setParticipantId($participantId) + { + $this->participantId = $participantId; + } + public function getParticipantId() + { + return $this->participantId; + } + public function setPlacing($placing) + { + $this->placing = $placing; + } + public function getPlacing() + { + return $this->placing; + } + public function setResult($result) + { + $this->result = $result; + } + public function getResult() + { + return $this->result; + } +} + +class Google_Service_Games_PeerChannelDiagnostics extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $bytesReceivedType = 'Google_Service_Games_AggregateStats'; + protected $bytesReceivedDataType = ''; + protected $bytesSentType = 'Google_Service_Games_AggregateStats'; + protected $bytesSentDataType = ''; + public $kind; + public $numMessagesLost; + public $numMessagesReceived; + public $numMessagesSent; + public $numSendFailures; + protected $roundtripLatencyMillisType = 'Google_Service_Games_AggregateStats'; + protected $roundtripLatencyMillisDataType = ''; + + + public function setBytesReceived(Google_Service_Games_AggregateStats $bytesReceived) + { + $this->bytesReceived = $bytesReceived; + } + public function getBytesReceived() + { + return $this->bytesReceived; + } + public function setBytesSent(Google_Service_Games_AggregateStats $bytesSent) + { + $this->bytesSent = $bytesSent; + } + public function getBytesSent() + { + return $this->bytesSent; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNumMessagesLost($numMessagesLost) + { + $this->numMessagesLost = $numMessagesLost; + } + public function getNumMessagesLost() + { + return $this->numMessagesLost; + } + public function setNumMessagesReceived($numMessagesReceived) + { + $this->numMessagesReceived = $numMessagesReceived; + } + public function getNumMessagesReceived() + { + return $this->numMessagesReceived; + } + public function setNumMessagesSent($numMessagesSent) + { + $this->numMessagesSent = $numMessagesSent; + } + public function getNumMessagesSent() + { + return $this->numMessagesSent; + } + public function setNumSendFailures($numSendFailures) + { + $this->numSendFailures = $numSendFailures; + } + public function getNumSendFailures() + { + return $this->numSendFailures; + } + public function setRoundtripLatencyMillis(Google_Service_Games_AggregateStats $roundtripLatencyMillis) + { + $this->roundtripLatencyMillis = $roundtripLatencyMillis; + } + public function getRoundtripLatencyMillis() + { + return $this->roundtripLatencyMillis; + } +} + +class Google_Service_Games_PeerSessionDiagnostics extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $connectedTimestampMillis; + public $kind; + public $participantId; + protected $reliableChannelType = 'Google_Service_Games_PeerChannelDiagnostics'; + protected $reliableChannelDataType = ''; + protected $unreliableChannelType = 'Google_Service_Games_PeerChannelDiagnostics'; + protected $unreliableChannelDataType = ''; + + + public function setConnectedTimestampMillis($connectedTimestampMillis) + { + $this->connectedTimestampMillis = $connectedTimestampMillis; + } + public function getConnectedTimestampMillis() + { + return $this->connectedTimestampMillis; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setParticipantId($participantId) + { + $this->participantId = $participantId; + } + public function getParticipantId() + { + return $this->participantId; + } + public function setReliableChannel(Google_Service_Games_PeerChannelDiagnostics $reliableChannel) + { + $this->reliableChannel = $reliableChannel; + } + public function getReliableChannel() + { + return $this->reliableChannel; + } + public function setUnreliableChannel(Google_Service_Games_PeerChannelDiagnostics $unreliableChannel) + { + $this->unreliableChannel = $unreliableChannel; + } + public function getUnreliableChannel() + { + return $this->unreliableChannel; + } +} + +class Google_Service_Games_Played extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $autoMatched; + public $kind; + public $timeMillis; + + + public function setAutoMatched($autoMatched) + { + $this->autoMatched = $autoMatched; + } + public function getAutoMatched() + { + return $this->autoMatched; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setTimeMillis($timeMillis) + { + $this->timeMillis = $timeMillis; + } + public function getTimeMillis() + { + return $this->timeMillis; + } +} + +class Google_Service_Games_Player extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $avatarImageUrl; + public $displayName; + protected $experienceInfoType = 'Google_Service_Games_PlayerExperienceInfo'; + protected $experienceInfoDataType = ''; + public $kind; + protected $lastPlayedWithType = 'Google_Service_Games_Played'; + protected $lastPlayedWithDataType = ''; + protected $nameType = 'Google_Service_Games_PlayerName'; + protected $nameDataType = ''; + public $playerId; + public $title; + + + public function setAvatarImageUrl($avatarImageUrl) + { + $this->avatarImageUrl = $avatarImageUrl; + } + public function getAvatarImageUrl() + { + return $this->avatarImageUrl; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setExperienceInfo(Google_Service_Games_PlayerExperienceInfo $experienceInfo) + { + $this->experienceInfo = $experienceInfo; + } + public function getExperienceInfo() + { + return $this->experienceInfo; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastPlayedWith(Google_Service_Games_Played $lastPlayedWith) + { + $this->lastPlayedWith = $lastPlayedWith; + } + public function getLastPlayedWith() + { + return $this->lastPlayedWith; + } + public function setName(Google_Service_Games_PlayerName $name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPlayerId($playerId) + { + $this->playerId = $playerId; + } + public function getPlayerId() + { + return $this->playerId; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} + +class Google_Service_Games_PlayerAchievement extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $achievementState; + public $currentSteps; + public $experiencePoints; + public $formattedCurrentStepsString; + public $id; + public $kind; + public $lastUpdatedTimestamp; + + + public function setAchievementState($achievementState) + { + $this->achievementState = $achievementState; + } + public function getAchievementState() + { + return $this->achievementState; + } + public function setCurrentSteps($currentSteps) + { + $this->currentSteps = $currentSteps; + } + public function getCurrentSteps() + { + return $this->currentSteps; + } + public function setExperiencePoints($experiencePoints) + { + $this->experiencePoints = $experiencePoints; + } + public function getExperiencePoints() + { + return $this->experiencePoints; + } + public function setFormattedCurrentStepsString($formattedCurrentStepsString) + { + $this->formattedCurrentStepsString = $formattedCurrentStepsString; + } + public function getFormattedCurrentStepsString() + { + return $this->formattedCurrentStepsString; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastUpdatedTimestamp($lastUpdatedTimestamp) + { + $this->lastUpdatedTimestamp = $lastUpdatedTimestamp; + } + public function getLastUpdatedTimestamp() + { + return $this->lastUpdatedTimestamp; + } +} + +class Google_Service_Games_PlayerAchievementListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Games_PlayerAchievement'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Games_PlayerEvent extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $definitionId; + public $formattedNumEvents; + public $kind; + public $numEvents; + public $playerId; + + + public function setDefinitionId($definitionId) + { + $this->definitionId = $definitionId; + } + public function getDefinitionId() + { + return $this->definitionId; + } + public function setFormattedNumEvents($formattedNumEvents) + { + $this->formattedNumEvents = $formattedNumEvents; + } + public function getFormattedNumEvents() + { + return $this->formattedNumEvents; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNumEvents($numEvents) + { + $this->numEvents = $numEvents; + } + public function getNumEvents() + { + return $this->numEvents; + } + public function setPlayerId($playerId) + { + $this->playerId = $playerId; + } + public function getPlayerId() + { + return $this->playerId; + } +} + +class Google_Service_Games_PlayerEventListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Games_PlayerEvent'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Games_PlayerExperienceInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $currentExperiencePoints; + protected $currentLevelType = 'Google_Service_Games_PlayerLevel'; + protected $currentLevelDataType = ''; + public $kind; + public $lastLevelUpTimestampMillis; + protected $nextLevelType = 'Google_Service_Games_PlayerLevel'; + protected $nextLevelDataType = ''; + + + public function setCurrentExperiencePoints($currentExperiencePoints) + { + $this->currentExperiencePoints = $currentExperiencePoints; + } + public function getCurrentExperiencePoints() + { + return $this->currentExperiencePoints; + } + public function setCurrentLevel(Google_Service_Games_PlayerLevel $currentLevel) + { + $this->currentLevel = $currentLevel; + } + public function getCurrentLevel() + { + return $this->currentLevel; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastLevelUpTimestampMillis($lastLevelUpTimestampMillis) + { + $this->lastLevelUpTimestampMillis = $lastLevelUpTimestampMillis; + } + public function getLastLevelUpTimestampMillis() + { + return $this->lastLevelUpTimestampMillis; + } + public function setNextLevel(Google_Service_Games_PlayerLevel $nextLevel) + { + $this->nextLevel = $nextLevel; + } + public function getNextLevel() + { + return $this->nextLevel; + } +} + +class Google_Service_Games_PlayerLeaderboardScore extends Google_Model +{ + protected $internal_gapi_mappings = array( + "leaderboardId" => "leaderboard_id", + ); + public $kind; + public $leaderboardId; + protected $publicRankType = 'Google_Service_Games_LeaderboardScoreRank'; + protected $publicRankDataType = ''; + public $scoreString; + public $scoreTag; + public $scoreValue; + protected $socialRankType = 'Google_Service_Games_LeaderboardScoreRank'; + protected $socialRankDataType = ''; + public $timeSpan; + public $writeTimestamp; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLeaderboardId($leaderboardId) + { + $this->leaderboardId = $leaderboardId; + } + public function getLeaderboardId() + { + return $this->leaderboardId; + } + public function setPublicRank(Google_Service_Games_LeaderboardScoreRank $publicRank) + { + $this->publicRank = $publicRank; + } + public function getPublicRank() + { + return $this->publicRank; + } + public function setScoreString($scoreString) + { + $this->scoreString = $scoreString; + } + public function getScoreString() + { + return $this->scoreString; + } + public function setScoreTag($scoreTag) + { + $this->scoreTag = $scoreTag; + } + public function getScoreTag() + { + return $this->scoreTag; + } + public function setScoreValue($scoreValue) + { + $this->scoreValue = $scoreValue; + } + public function getScoreValue() + { + return $this->scoreValue; + } + public function setSocialRank(Google_Service_Games_LeaderboardScoreRank $socialRank) + { + $this->socialRank = $socialRank; + } + public function getSocialRank() + { + return $this->socialRank; + } + public function setTimeSpan($timeSpan) + { + $this->timeSpan = $timeSpan; + } + public function getTimeSpan() + { + return $this->timeSpan; + } + public function setWriteTimestamp($writeTimestamp) + { + $this->writeTimestamp = $writeTimestamp; + } + public function getWriteTimestamp() + { + return $this->writeTimestamp; + } +} + +class Google_Service_Games_PlayerLeaderboardScoreListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Games_PlayerLeaderboardScore'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + protected $playerType = 'Google_Service_Games_Player'; + protected $playerDataType = ''; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPlayer(Google_Service_Games_Player $player) + { + $this->player = $player; + } + public function getPlayer() + { + return $this->player; + } +} + +class Google_Service_Games_PlayerLevel extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + public $level; + public $maxExperiencePoints; + public $minExperiencePoints; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLevel($level) + { + $this->level = $level; + } + public function getLevel() + { + return $this->level; + } + public function setMaxExperiencePoints($maxExperiencePoints) + { + $this->maxExperiencePoints = $maxExperiencePoints; + } + public function getMaxExperiencePoints() + { + return $this->maxExperiencePoints; + } + public function setMinExperiencePoints($minExperiencePoints) + { + $this->minExperiencePoints = $minExperiencePoints; + } + public function getMinExperiencePoints() + { + return $this->minExperiencePoints; + } +} + +class Google_Service_Games_PlayerListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Games_Player'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Games_PlayerName extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $familyName; + public $givenName; + + + public function setFamilyName($familyName) + { + $this->familyName = $familyName; + } + public function getFamilyName() + { + return $this->familyName; + } + public function setGivenName($givenName) + { + $this->givenName = $givenName; + } + public function getGivenName() + { + return $this->givenName; + } +} + +class Google_Service_Games_PlayerScore extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $formattedScore; + public $kind; + public $score; + public $scoreTag; + public $timeSpan; + + + public function setFormattedScore($formattedScore) + { + $this->formattedScore = $formattedScore; + } + public function getFormattedScore() + { + return $this->formattedScore; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setScore($score) + { + $this->score = $score; + } + public function getScore() + { + return $this->score; + } + public function setScoreTag($scoreTag) + { + $this->scoreTag = $scoreTag; + } + public function getScoreTag() + { + return $this->scoreTag; + } + public function setTimeSpan($timeSpan) + { + $this->timeSpan = $timeSpan; + } + public function getTimeSpan() + { + return $this->timeSpan; + } +} + +class Google_Service_Games_PlayerScoreListResponse extends Google_Collection +{ + protected $collection_key = 'submittedScores'; + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $submittedScoresType = 'Google_Service_Games_PlayerScoreResponse'; + protected $submittedScoresDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSubmittedScores($submittedScores) + { + $this->submittedScores = $submittedScores; + } + public function getSubmittedScores() + { + return $this->submittedScores; + } +} + +class Google_Service_Games_PlayerScoreResponse extends Google_Collection +{ + protected $collection_key = 'unbeatenScores'; + protected $internal_gapi_mappings = array( + ); + public $beatenScoreTimeSpans; + public $formattedScore; + public $kind; + public $leaderboardId; + public $scoreTag; + protected $unbeatenScoresType = 'Google_Service_Games_PlayerScore'; + protected $unbeatenScoresDataType = 'array'; + + + public function setBeatenScoreTimeSpans($beatenScoreTimeSpans) + { + $this->beatenScoreTimeSpans = $beatenScoreTimeSpans; + } + public function getBeatenScoreTimeSpans() + { + return $this->beatenScoreTimeSpans; + } + public function setFormattedScore($formattedScore) + { + $this->formattedScore = $formattedScore; + } + public function getFormattedScore() + { + return $this->formattedScore; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLeaderboardId($leaderboardId) + { + $this->leaderboardId = $leaderboardId; + } + public function getLeaderboardId() + { + return $this->leaderboardId; + } + public function setScoreTag($scoreTag) + { + $this->scoreTag = $scoreTag; + } + public function getScoreTag() + { + return $this->scoreTag; + } + public function setUnbeatenScores($unbeatenScores) + { + $this->unbeatenScores = $unbeatenScores; + } + public function getUnbeatenScores() + { + return $this->unbeatenScores; + } +} + +class Google_Service_Games_PlayerScoreSubmissionList extends Google_Collection +{ + protected $collection_key = 'scores'; + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $scoresType = 'Google_Service_Games_ScoreSubmission'; + protected $scoresDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setScores($scores) + { + $this->scores = $scores; + } + public function getScores() + { + return $this->scores; + } +} + +class Google_Service_Games_PushToken extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $clientRevision; + protected $idType = 'Google_Service_Games_PushTokenId'; + protected $idDataType = ''; + public $kind; + public $language; + + + public function setClientRevision($clientRevision) + { + $this->clientRevision = $clientRevision; + } + public function getClientRevision() + { + return $this->clientRevision; + } + public function setId(Google_Service_Games_PushTokenId $id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLanguage($language) + { + $this->language = $language; + } + public function getLanguage() + { + return $this->language; + } +} + +class Google_Service_Games_PushTokenId extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $iosType = 'Google_Service_Games_PushTokenIdIos'; + protected $iosDataType = ''; + public $kind; + + + public function setIos(Google_Service_Games_PushTokenIdIos $ios) + { + $this->ios = $ios; + } + public function getIos() + { + return $this->ios; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Games_PushTokenIdIos extends Google_Model +{ + protected $internal_gapi_mappings = array( + "apnsDeviceToken" => "apns_device_token", + "apnsEnvironment" => "apns_environment", + ); + public $apnsDeviceToken; + public $apnsEnvironment; + + + public function setApnsDeviceToken($apnsDeviceToken) + { + $this->apnsDeviceToken = $apnsDeviceToken; + } + public function getApnsDeviceToken() + { + return $this->apnsDeviceToken; + } + public function setApnsEnvironment($apnsEnvironment) + { + $this->apnsEnvironment = $apnsEnvironment; + } + public function getApnsEnvironment() + { + return $this->apnsEnvironment; + } +} + +class Google_Service_Games_Quest extends Google_Collection +{ + protected $collection_key = 'milestones'; + protected $internal_gapi_mappings = array( + ); + public $acceptedTimestampMillis; + public $applicationId; + public $bannerUrl; + public $description; + public $endTimestampMillis; + public $iconUrl; + public $id; + public $isDefaultBannerUrl; + public $isDefaultIconUrl; + public $kind; + public $lastUpdatedTimestampMillis; + protected $milestonesType = 'Google_Service_Games_QuestMilestone'; + protected $milestonesDataType = 'array'; + public $name; + public $notifyTimestampMillis; + public $startTimestampMillis; + public $state; + + + public function setAcceptedTimestampMillis($acceptedTimestampMillis) + { + $this->acceptedTimestampMillis = $acceptedTimestampMillis; + } + public function getAcceptedTimestampMillis() + { + return $this->acceptedTimestampMillis; + } + public function setApplicationId($applicationId) + { + $this->applicationId = $applicationId; + } + public function getApplicationId() + { + return $this->applicationId; + } + public function setBannerUrl($bannerUrl) + { + $this->bannerUrl = $bannerUrl; + } + public function getBannerUrl() + { + return $this->bannerUrl; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEndTimestampMillis($endTimestampMillis) + { + $this->endTimestampMillis = $endTimestampMillis; + } + public function getEndTimestampMillis() + { + return $this->endTimestampMillis; + } + public function setIconUrl($iconUrl) + { + $this->iconUrl = $iconUrl; + } + public function getIconUrl() + { + return $this->iconUrl; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIsDefaultBannerUrl($isDefaultBannerUrl) + { + $this->isDefaultBannerUrl = $isDefaultBannerUrl; + } + public function getIsDefaultBannerUrl() + { + return $this->isDefaultBannerUrl; + } + public function setIsDefaultIconUrl($isDefaultIconUrl) + { + $this->isDefaultIconUrl = $isDefaultIconUrl; + } + public function getIsDefaultIconUrl() + { + return $this->isDefaultIconUrl; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastUpdatedTimestampMillis($lastUpdatedTimestampMillis) + { + $this->lastUpdatedTimestampMillis = $lastUpdatedTimestampMillis; + } + public function getLastUpdatedTimestampMillis() + { + return $this->lastUpdatedTimestampMillis; + } + public function setMilestones($milestones) + { + $this->milestones = $milestones; + } + public function getMilestones() + { + return $this->milestones; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNotifyTimestampMillis($notifyTimestampMillis) + { + $this->notifyTimestampMillis = $notifyTimestampMillis; + } + public function getNotifyTimestampMillis() + { + return $this->notifyTimestampMillis; + } + public function setStartTimestampMillis($startTimestampMillis) + { + $this->startTimestampMillis = $startTimestampMillis; + } + public function getStartTimestampMillis() + { + return $this->startTimestampMillis; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } +} + +class Google_Service_Games_QuestContribution extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $formattedValue; + public $kind; + public $value; + + + public function setFormattedValue($formattedValue) + { + $this->formattedValue = $formattedValue; + } + public function getFormattedValue() + { + return $this->formattedValue; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Games_QuestCriterion extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $completionContributionType = 'Google_Service_Games_QuestContribution'; + protected $completionContributionDataType = ''; + protected $currentContributionType = 'Google_Service_Games_QuestContribution'; + protected $currentContributionDataType = ''; + public $eventId; + protected $initialPlayerProgressType = 'Google_Service_Games_QuestContribution'; + protected $initialPlayerProgressDataType = ''; + public $kind; + + + public function setCompletionContribution(Google_Service_Games_QuestContribution $completionContribution) + { + $this->completionContribution = $completionContribution; + } + public function getCompletionContribution() + { + return $this->completionContribution; + } + public function setCurrentContribution(Google_Service_Games_QuestContribution $currentContribution) + { + $this->currentContribution = $currentContribution; + } + public function getCurrentContribution() + { + return $this->currentContribution; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setInitialPlayerProgress(Google_Service_Games_QuestContribution $initialPlayerProgress) + { + $this->initialPlayerProgress = $initialPlayerProgress; + } + public function getInitialPlayerProgress() + { + return $this->initialPlayerProgress; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Games_QuestListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Games_Quest'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Games_QuestMilestone extends Google_Collection +{ + protected $collection_key = 'criteria'; + protected $internal_gapi_mappings = array( + ); + public $completionRewardData; + protected $criteriaType = 'Google_Service_Games_QuestCriterion'; + protected $criteriaDataType = 'array'; + public $id; + public $kind; + public $state; + + + public function setCompletionRewardData($completionRewardData) + { + $this->completionRewardData = $completionRewardData; + } + public function getCompletionRewardData() + { + return $this->completionRewardData; + } + public function setCriteria($criteria) + { + $this->criteria = $criteria; + } + public function getCriteria() + { + return $this->criteria; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } +} + +class Google_Service_Games_RevisionCheckResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $apiVersion; + public $kind; + public $revisionStatus; + + + public function setApiVersion($apiVersion) + { + $this->apiVersion = $apiVersion; + } + public function getApiVersion() + { + return $this->apiVersion; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRevisionStatus($revisionStatus) + { + $this->revisionStatus = $revisionStatus; + } + public function getRevisionStatus() + { + return $this->revisionStatus; + } +} + +class Google_Service_Games_Room extends Google_Collection +{ + protected $collection_key = 'participants'; + protected $internal_gapi_mappings = array( + ); + public $applicationId; + protected $autoMatchingCriteriaType = 'Google_Service_Games_RoomAutoMatchingCriteria'; + protected $autoMatchingCriteriaDataType = ''; + protected $autoMatchingStatusType = 'Google_Service_Games_RoomAutoMatchStatus'; + protected $autoMatchingStatusDataType = ''; + protected $creationDetailsType = 'Google_Service_Games_RoomModification'; + protected $creationDetailsDataType = ''; + public $description; + public $inviterId; + public $kind; + protected $lastUpdateDetailsType = 'Google_Service_Games_RoomModification'; + protected $lastUpdateDetailsDataType = ''; + protected $participantsType = 'Google_Service_Games_RoomParticipant'; + protected $participantsDataType = 'array'; + public $roomId; + public $roomStatusVersion; + public $status; + public $variant; + + + public function setApplicationId($applicationId) + { + $this->applicationId = $applicationId; + } + public function getApplicationId() + { + return $this->applicationId; + } + public function setAutoMatchingCriteria(Google_Service_Games_RoomAutoMatchingCriteria $autoMatchingCriteria) + { + $this->autoMatchingCriteria = $autoMatchingCriteria; + } + public function getAutoMatchingCriteria() + { + return $this->autoMatchingCriteria; + } + public function setAutoMatchingStatus(Google_Service_Games_RoomAutoMatchStatus $autoMatchingStatus) + { + $this->autoMatchingStatus = $autoMatchingStatus; + } + public function getAutoMatchingStatus() + { + return $this->autoMatchingStatus; + } + public function setCreationDetails(Google_Service_Games_RoomModification $creationDetails) + { + $this->creationDetails = $creationDetails; + } + public function getCreationDetails() + { + return $this->creationDetails; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setInviterId($inviterId) + { + $this->inviterId = $inviterId; + } + public function getInviterId() + { + return $this->inviterId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastUpdateDetails(Google_Service_Games_RoomModification $lastUpdateDetails) + { + $this->lastUpdateDetails = $lastUpdateDetails; + } + public function getLastUpdateDetails() + { + return $this->lastUpdateDetails; + } + public function setParticipants($participants) + { + $this->participants = $participants; + } + public function getParticipants() + { + return $this->participants; + } + public function setRoomId($roomId) + { + $this->roomId = $roomId; + } + public function getRoomId() + { + return $this->roomId; + } + public function setRoomStatusVersion($roomStatusVersion) + { + $this->roomStatusVersion = $roomStatusVersion; + } + public function getRoomStatusVersion() + { + return $this->roomStatusVersion; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setVariant($variant) + { + $this->variant = $variant; + } + public function getVariant() + { + return $this->variant; + } +} + +class Google_Service_Games_RoomAutoMatchStatus extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + public $waitEstimateSeconds; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setWaitEstimateSeconds($waitEstimateSeconds) + { + $this->waitEstimateSeconds = $waitEstimateSeconds; + } + public function getWaitEstimateSeconds() + { + return $this->waitEstimateSeconds; + } +} + +class Google_Service_Games_RoomAutoMatchingCriteria extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $exclusiveBitmask; + public $kind; + public $maxAutoMatchingPlayers; + public $minAutoMatchingPlayers; + + + public function setExclusiveBitmask($exclusiveBitmask) + { + $this->exclusiveBitmask = $exclusiveBitmask; + } + public function getExclusiveBitmask() + { + return $this->exclusiveBitmask; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMaxAutoMatchingPlayers($maxAutoMatchingPlayers) + { + $this->maxAutoMatchingPlayers = $maxAutoMatchingPlayers; + } + public function getMaxAutoMatchingPlayers() + { + return $this->maxAutoMatchingPlayers; + } + public function setMinAutoMatchingPlayers($minAutoMatchingPlayers) + { + $this->minAutoMatchingPlayers = $minAutoMatchingPlayers; + } + public function getMinAutoMatchingPlayers() + { + return $this->minAutoMatchingPlayers; + } +} + +class Google_Service_Games_RoomClientAddress extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + public $xmppAddress; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setXmppAddress($xmppAddress) + { + $this->xmppAddress = $xmppAddress; + } + public function getXmppAddress() + { + return $this->xmppAddress; + } +} + +class Google_Service_Games_RoomCreateRequest extends Google_Collection +{ + protected $collection_key = 'invitedPlayerIds'; + protected $internal_gapi_mappings = array( + ); + protected $autoMatchingCriteriaType = 'Google_Service_Games_RoomAutoMatchingCriteria'; + protected $autoMatchingCriteriaDataType = ''; + public $capabilities; + protected $clientAddressType = 'Google_Service_Games_RoomClientAddress'; + protected $clientAddressDataType = ''; + public $invitedPlayerIds; + public $kind; + protected $networkDiagnosticsType = 'Google_Service_Games_NetworkDiagnostics'; + protected $networkDiagnosticsDataType = ''; + public $requestId; + public $variant; + + + public function setAutoMatchingCriteria(Google_Service_Games_RoomAutoMatchingCriteria $autoMatchingCriteria) + { + $this->autoMatchingCriteria = $autoMatchingCriteria; + } + public function getAutoMatchingCriteria() + { + return $this->autoMatchingCriteria; + } + public function setCapabilities($capabilities) + { + $this->capabilities = $capabilities; + } + public function getCapabilities() + { + return $this->capabilities; + } + public function setClientAddress(Google_Service_Games_RoomClientAddress $clientAddress) + { + $this->clientAddress = $clientAddress; + } + public function getClientAddress() + { + return $this->clientAddress; + } + public function setInvitedPlayerIds($invitedPlayerIds) + { + $this->invitedPlayerIds = $invitedPlayerIds; + } + public function getInvitedPlayerIds() + { + return $this->invitedPlayerIds; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNetworkDiagnostics(Google_Service_Games_NetworkDiagnostics $networkDiagnostics) + { + $this->networkDiagnostics = $networkDiagnostics; + } + public function getNetworkDiagnostics() + { + return $this->networkDiagnostics; + } + public function setRequestId($requestId) + { + $this->requestId = $requestId; + } + public function getRequestId() + { + return $this->requestId; + } + public function setVariant($variant) + { + $this->variant = $variant; + } + public function getVariant() + { + return $this->variant; + } +} + +class Google_Service_Games_RoomJoinRequest extends Google_Collection +{ + protected $collection_key = 'capabilities'; + protected $internal_gapi_mappings = array( + ); + public $capabilities; + protected $clientAddressType = 'Google_Service_Games_RoomClientAddress'; + protected $clientAddressDataType = ''; + public $kind; + protected $networkDiagnosticsType = 'Google_Service_Games_NetworkDiagnostics'; + protected $networkDiagnosticsDataType = ''; + + + public function setCapabilities($capabilities) + { + $this->capabilities = $capabilities; + } + public function getCapabilities() + { + return $this->capabilities; + } + public function setClientAddress(Google_Service_Games_RoomClientAddress $clientAddress) + { + $this->clientAddress = $clientAddress; + } + public function getClientAddress() + { + return $this->clientAddress; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNetworkDiagnostics(Google_Service_Games_NetworkDiagnostics $networkDiagnostics) + { + $this->networkDiagnostics = $networkDiagnostics; + } + public function getNetworkDiagnostics() + { + return $this->networkDiagnostics; + } +} + +class Google_Service_Games_RoomLeaveDiagnostics extends Google_Collection +{ + protected $collection_key = 'peerSession'; + protected $internal_gapi_mappings = array( + ); + public $androidNetworkSubtype; + public $androidNetworkType; + public $iosNetworkType; + public $kind; + public $networkOperatorCode; + public $networkOperatorName; + protected $peerSessionType = 'Google_Service_Games_PeerSessionDiagnostics'; + protected $peerSessionDataType = 'array'; + public $socketsUsed; + + + public function setAndroidNetworkSubtype($androidNetworkSubtype) + { + $this->androidNetworkSubtype = $androidNetworkSubtype; + } + public function getAndroidNetworkSubtype() + { + return $this->androidNetworkSubtype; + } + public function setAndroidNetworkType($androidNetworkType) + { + $this->androidNetworkType = $androidNetworkType; + } + public function getAndroidNetworkType() + { + return $this->androidNetworkType; + } + public function setIosNetworkType($iosNetworkType) + { + $this->iosNetworkType = $iosNetworkType; + } + public function getIosNetworkType() + { + return $this->iosNetworkType; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNetworkOperatorCode($networkOperatorCode) + { + $this->networkOperatorCode = $networkOperatorCode; + } + public function getNetworkOperatorCode() + { + return $this->networkOperatorCode; + } + public function setNetworkOperatorName($networkOperatorName) + { + $this->networkOperatorName = $networkOperatorName; + } + public function getNetworkOperatorName() + { + return $this->networkOperatorName; + } + public function setPeerSession($peerSession) + { + $this->peerSession = $peerSession; + } + public function getPeerSession() + { + return $this->peerSession; + } + public function setSocketsUsed($socketsUsed) + { + $this->socketsUsed = $socketsUsed; + } + public function getSocketsUsed() + { + return $this->socketsUsed; + } +} + +class Google_Service_Games_RoomLeaveRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $leaveDiagnosticsType = 'Google_Service_Games_RoomLeaveDiagnostics'; + protected $leaveDiagnosticsDataType = ''; + public $reason; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLeaveDiagnostics(Google_Service_Games_RoomLeaveDiagnostics $leaveDiagnostics) + { + $this->leaveDiagnostics = $leaveDiagnostics; + } + public function getLeaveDiagnostics() + { + return $this->leaveDiagnostics; + } + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } +} + +class Google_Service_Games_RoomList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Games_Room'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Games_RoomModification extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + public $modifiedTimestampMillis; + public $participantId; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setModifiedTimestampMillis($modifiedTimestampMillis) + { + $this->modifiedTimestampMillis = $modifiedTimestampMillis; + } + public function getModifiedTimestampMillis() + { + return $this->modifiedTimestampMillis; + } + public function setParticipantId($participantId) + { + $this->participantId = $participantId; + } + public function getParticipantId() + { + return $this->participantId; + } +} + +class Google_Service_Games_RoomP2PStatus extends Google_Model +{ + protected $internal_gapi_mappings = array( + "errorReason" => "error_reason", + ); + public $connectionSetupLatencyMillis; + public $error; + public $errorReason; + public $kind; + public $participantId; + public $status; + public $unreliableRoundtripLatencyMillis; + + + public function setConnectionSetupLatencyMillis($connectionSetupLatencyMillis) + { + $this->connectionSetupLatencyMillis = $connectionSetupLatencyMillis; + } + public function getConnectionSetupLatencyMillis() + { + return $this->connectionSetupLatencyMillis; + } + public function setError($error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setErrorReason($errorReason) + { + $this->errorReason = $errorReason; + } + public function getErrorReason() + { + return $this->errorReason; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setParticipantId($participantId) + { + $this->participantId = $participantId; + } + public function getParticipantId() + { + return $this->participantId; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setUnreliableRoundtripLatencyMillis($unreliableRoundtripLatencyMillis) + { + $this->unreliableRoundtripLatencyMillis = $unreliableRoundtripLatencyMillis; + } + public function getUnreliableRoundtripLatencyMillis() + { + return $this->unreliableRoundtripLatencyMillis; + } +} + +class Google_Service_Games_RoomP2PStatuses extends Google_Collection +{ + protected $collection_key = 'updates'; + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $updatesType = 'Google_Service_Games_RoomP2PStatus'; + protected $updatesDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setUpdates($updates) + { + $this->updates = $updates; + } + public function getUpdates() + { + return $this->updates; + } +} + +class Google_Service_Games_RoomParticipant extends Google_Collection +{ + protected $collection_key = 'capabilities'; + protected $internal_gapi_mappings = array( + ); + public $autoMatched; + protected $autoMatchedPlayerType = 'Google_Service_Games_AnonymousPlayer'; + protected $autoMatchedPlayerDataType = ''; + public $capabilities; + protected $clientAddressType = 'Google_Service_Games_RoomClientAddress'; + protected $clientAddressDataType = ''; + public $connected; + public $id; + public $kind; + public $leaveReason; + protected $playerType = 'Google_Service_Games_Player'; + protected $playerDataType = ''; + public $status; + + + public function setAutoMatched($autoMatched) + { + $this->autoMatched = $autoMatched; + } + public function getAutoMatched() + { + return $this->autoMatched; + } + public function setAutoMatchedPlayer(Google_Service_Games_AnonymousPlayer $autoMatchedPlayer) + { + $this->autoMatchedPlayer = $autoMatchedPlayer; + } + public function getAutoMatchedPlayer() + { + return $this->autoMatchedPlayer; + } + public function setCapabilities($capabilities) + { + $this->capabilities = $capabilities; + } + public function getCapabilities() + { + return $this->capabilities; + } + public function setClientAddress(Google_Service_Games_RoomClientAddress $clientAddress) + { + $this->clientAddress = $clientAddress; + } + public function getClientAddress() + { + return $this->clientAddress; + } + public function setConnected($connected) + { + $this->connected = $connected; + } + public function getConnected() + { + return $this->connected; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLeaveReason($leaveReason) + { + $this->leaveReason = $leaveReason; + } + public function getLeaveReason() + { + return $this->leaveReason; + } + public function setPlayer(Google_Service_Games_Player $player) + { + $this->player = $player; + } + public function getPlayer() + { + return $this->player; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} + +class Google_Service_Games_RoomStatus extends Google_Collection +{ + protected $collection_key = 'participants'; + protected $internal_gapi_mappings = array( + ); + protected $autoMatchingStatusType = 'Google_Service_Games_RoomAutoMatchStatus'; + protected $autoMatchingStatusDataType = ''; + public $kind; + protected $participantsType = 'Google_Service_Games_RoomParticipant'; + protected $participantsDataType = 'array'; + public $roomId; + public $status; + public $statusVersion; + + + public function setAutoMatchingStatus(Google_Service_Games_RoomAutoMatchStatus $autoMatchingStatus) + { + $this->autoMatchingStatus = $autoMatchingStatus; + } + public function getAutoMatchingStatus() + { + return $this->autoMatchingStatus; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setParticipants($participants) + { + $this->participants = $participants; + } + public function getParticipants() + { + return $this->participants; + } + public function setRoomId($roomId) + { + $this->roomId = $roomId; + } + public function getRoomId() + { + return $this->roomId; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setStatusVersion($statusVersion) + { + $this->statusVersion = $statusVersion; + } + public function getStatusVersion() + { + return $this->statusVersion; + } +} + +class Google_Service_Games_ScoreSubmission extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + public $leaderboardId; + public $score; + public $scoreTag; + public $signature; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLeaderboardId($leaderboardId) + { + $this->leaderboardId = $leaderboardId; + } + public function getLeaderboardId() + { + return $this->leaderboardId; + } + public function setScore($score) + { + $this->score = $score; + } + public function getScore() + { + return $this->score; + } + public function setScoreTag($scoreTag) + { + $this->scoreTag = $scoreTag; + } + public function getScoreTag() + { + return $this->scoreTag; + } + public function setSignature($signature) + { + $this->signature = $signature; + } + public function getSignature() + { + return $this->signature; + } +} + +class Google_Service_Games_Snapshot extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $coverImageType = 'Google_Service_Games_SnapshotImage'; + protected $coverImageDataType = ''; + public $description; + public $driveId; + public $durationMillis; + public $id; + public $kind; + public $lastModifiedMillis; + public $progressValue; + public $title; + public $type; + public $uniqueName; + + + public function setCoverImage(Google_Service_Games_SnapshotImage $coverImage) + { + $this->coverImage = $coverImage; + } + public function getCoverImage() + { + return $this->coverImage; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDriveId($driveId) + { + $this->driveId = $driveId; + } + public function getDriveId() + { + return $this->driveId; + } + public function setDurationMillis($durationMillis) + { + $this->durationMillis = $durationMillis; + } + public function getDurationMillis() + { + return $this->durationMillis; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastModifiedMillis($lastModifiedMillis) + { + $this->lastModifiedMillis = $lastModifiedMillis; + } + public function getLastModifiedMillis() + { + return $this->lastModifiedMillis; + } + public function setProgressValue($progressValue) + { + $this->progressValue = $progressValue; + } + public function getProgressValue() + { + return $this->progressValue; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUniqueName($uniqueName) + { + $this->uniqueName = $uniqueName; + } + public function getUniqueName() + { + return $this->uniqueName; + } +} + +class Google_Service_Games_SnapshotImage extends Google_Model +{ + protected $internal_gapi_mappings = array( + "mimeType" => "mime_type", + ); + public $height; + public $kind; + public $mimeType; + public $url; + public $width; + + + public function setHeight($height) + { + $this->height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMimeType($mimeType) + { + $this->mimeType = $mimeType; + } + public function getMimeType() + { + return $this->mimeType; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} + +class Google_Service_Games_SnapshotListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Games_Snapshot'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Games_TurnBasedAutoMatchingCriteria extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $exclusiveBitmask; + public $kind; + public $maxAutoMatchingPlayers; + public $minAutoMatchingPlayers; + + + public function setExclusiveBitmask($exclusiveBitmask) + { + $this->exclusiveBitmask = $exclusiveBitmask; + } + public function getExclusiveBitmask() + { + return $this->exclusiveBitmask; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMaxAutoMatchingPlayers($maxAutoMatchingPlayers) + { + $this->maxAutoMatchingPlayers = $maxAutoMatchingPlayers; + } + public function getMaxAutoMatchingPlayers() + { + return $this->maxAutoMatchingPlayers; + } + public function setMinAutoMatchingPlayers($minAutoMatchingPlayers) + { + $this->minAutoMatchingPlayers = $minAutoMatchingPlayers; + } + public function getMinAutoMatchingPlayers() + { + return $this->minAutoMatchingPlayers; + } +} + +class Google_Service_Games_TurnBasedMatch extends Google_Collection +{ + protected $collection_key = 'results'; + protected $internal_gapi_mappings = array( + ); + public $applicationId; + protected $autoMatchingCriteriaType = 'Google_Service_Games_TurnBasedAutoMatchingCriteria'; + protected $autoMatchingCriteriaDataType = ''; + protected $creationDetailsType = 'Google_Service_Games_TurnBasedMatchModification'; + protected $creationDetailsDataType = ''; + protected $dataType = 'Google_Service_Games_TurnBasedMatchData'; + protected $dataDataType = ''; + public $description; + public $inviterId; + public $kind; + protected $lastUpdateDetailsType = 'Google_Service_Games_TurnBasedMatchModification'; + protected $lastUpdateDetailsDataType = ''; + public $matchId; + public $matchNumber; + public $matchVersion; + protected $participantsType = 'Google_Service_Games_TurnBasedMatchParticipant'; + protected $participantsDataType = 'array'; + public $pendingParticipantId; + protected $previousMatchDataType = 'Google_Service_Games_TurnBasedMatchData'; + protected $previousMatchDataDataType = ''; + public $rematchId; + protected $resultsType = 'Google_Service_Games_ParticipantResult'; + protected $resultsDataType = 'array'; + public $status; + public $userMatchStatus; + public $variant; + public $withParticipantId; + + + public function setApplicationId($applicationId) + { + $this->applicationId = $applicationId; + } + public function getApplicationId() + { + return $this->applicationId; + } + public function setAutoMatchingCriteria(Google_Service_Games_TurnBasedAutoMatchingCriteria $autoMatchingCriteria) + { + $this->autoMatchingCriteria = $autoMatchingCriteria; + } + public function getAutoMatchingCriteria() + { + return $this->autoMatchingCriteria; + } + public function setCreationDetails(Google_Service_Games_TurnBasedMatchModification $creationDetails) + { + $this->creationDetails = $creationDetails; + } + public function getCreationDetails() + { + return $this->creationDetails; + } + public function setData(Google_Service_Games_TurnBasedMatchData $data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setInviterId($inviterId) + { + $this->inviterId = $inviterId; + } + public function getInviterId() + { + return $this->inviterId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastUpdateDetails(Google_Service_Games_TurnBasedMatchModification $lastUpdateDetails) + { + $this->lastUpdateDetails = $lastUpdateDetails; + } + public function getLastUpdateDetails() + { + return $this->lastUpdateDetails; + } + public function setMatchId($matchId) + { + $this->matchId = $matchId; + } + public function getMatchId() + { + return $this->matchId; + } + public function setMatchNumber($matchNumber) + { + $this->matchNumber = $matchNumber; + } + public function getMatchNumber() + { + return $this->matchNumber; + } + public function setMatchVersion($matchVersion) + { + $this->matchVersion = $matchVersion; + } + public function getMatchVersion() + { + return $this->matchVersion; + } + public function setParticipants($participants) + { + $this->participants = $participants; + } + public function getParticipants() + { + return $this->participants; + } + public function setPendingParticipantId($pendingParticipantId) + { + $this->pendingParticipantId = $pendingParticipantId; + } + public function getPendingParticipantId() + { + return $this->pendingParticipantId; + } + public function setPreviousMatchData(Google_Service_Games_TurnBasedMatchData $previousMatchData) + { + $this->previousMatchData = $previousMatchData; + } + public function getPreviousMatchData() + { + return $this->previousMatchData; + } + public function setRematchId($rematchId) + { + $this->rematchId = $rematchId; + } + public function getRematchId() + { + return $this->rematchId; + } + public function setResults($results) + { + $this->results = $results; + } + public function getResults() + { + return $this->results; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setUserMatchStatus($userMatchStatus) + { + $this->userMatchStatus = $userMatchStatus; + } + public function getUserMatchStatus() + { + return $this->userMatchStatus; + } + public function setVariant($variant) + { + $this->variant = $variant; + } + public function getVariant() + { + return $this->variant; + } + public function setWithParticipantId($withParticipantId) + { + $this->withParticipantId = $withParticipantId; + } + public function getWithParticipantId() + { + return $this->withParticipantId; + } +} + +class Google_Service_Games_TurnBasedMatchCreateRequest extends Google_Collection +{ + protected $collection_key = 'invitedPlayerIds'; + protected $internal_gapi_mappings = array( + ); + protected $autoMatchingCriteriaType = 'Google_Service_Games_TurnBasedAutoMatchingCriteria'; + protected $autoMatchingCriteriaDataType = ''; + public $invitedPlayerIds; + public $kind; + public $requestId; + public $variant; + + + public function setAutoMatchingCriteria(Google_Service_Games_TurnBasedAutoMatchingCriteria $autoMatchingCriteria) + { + $this->autoMatchingCriteria = $autoMatchingCriteria; + } + public function getAutoMatchingCriteria() + { + return $this->autoMatchingCriteria; + } + public function setInvitedPlayerIds($invitedPlayerIds) + { + $this->invitedPlayerIds = $invitedPlayerIds; + } + public function getInvitedPlayerIds() + { + return $this->invitedPlayerIds; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRequestId($requestId) + { + $this->requestId = $requestId; + } + public function getRequestId() + { + return $this->requestId; + } + public function setVariant($variant) + { + $this->variant = $variant; + } + public function getVariant() + { + return $this->variant; + } +} + +class Google_Service_Games_TurnBasedMatchData extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $data; + public $dataAvailable; + public $kind; + + + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setDataAvailable($dataAvailable) + { + $this->dataAvailable = $dataAvailable; + } + public function getDataAvailable() + { + return $this->dataAvailable; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Games_TurnBasedMatchDataRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $data; + public $kind; + + + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Games_TurnBasedMatchList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Games_TurnBasedMatch'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Games_TurnBasedMatchModification extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + public $modifiedTimestampMillis; + public $participantId; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setModifiedTimestampMillis($modifiedTimestampMillis) + { + $this->modifiedTimestampMillis = $modifiedTimestampMillis; + } + public function getModifiedTimestampMillis() + { + return $this->modifiedTimestampMillis; + } + public function setParticipantId($participantId) + { + $this->participantId = $participantId; + } + public function getParticipantId() + { + return $this->participantId; + } +} + +class Google_Service_Games_TurnBasedMatchParticipant extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $autoMatched; + protected $autoMatchedPlayerType = 'Google_Service_Games_AnonymousPlayer'; + protected $autoMatchedPlayerDataType = ''; + public $id; + public $kind; + protected $playerType = 'Google_Service_Games_Player'; + protected $playerDataType = ''; + public $status; + + + public function setAutoMatched($autoMatched) + { + $this->autoMatched = $autoMatched; + } + public function getAutoMatched() + { + return $this->autoMatched; + } + public function setAutoMatchedPlayer(Google_Service_Games_AnonymousPlayer $autoMatchedPlayer) + { + $this->autoMatchedPlayer = $autoMatchedPlayer; + } + public function getAutoMatchedPlayer() + { + return $this->autoMatchedPlayer; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPlayer(Google_Service_Games_Player $player) + { + $this->player = $player; + } + public function getPlayer() + { + return $this->player; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} + +class Google_Service_Games_TurnBasedMatchRematch extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $previousMatchType = 'Google_Service_Games_TurnBasedMatch'; + protected $previousMatchDataType = ''; + protected $rematchType = 'Google_Service_Games_TurnBasedMatch'; + protected $rematchDataType = ''; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPreviousMatch(Google_Service_Games_TurnBasedMatch $previousMatch) + { + $this->previousMatch = $previousMatch; + } + public function getPreviousMatch() + { + return $this->previousMatch; + } + public function setRematch(Google_Service_Games_TurnBasedMatch $rematch) + { + $this->rematch = $rematch; + } + public function getRematch() + { + return $this->rematch; + } +} + +class Google_Service_Games_TurnBasedMatchResults extends Google_Collection +{ + protected $collection_key = 'results'; + protected $internal_gapi_mappings = array( + ); + protected $dataType = 'Google_Service_Games_TurnBasedMatchDataRequest'; + protected $dataDataType = ''; + public $kind; + public $matchVersion; + protected $resultsType = 'Google_Service_Games_ParticipantResult'; + protected $resultsDataType = 'array'; + + + public function setData(Google_Service_Games_TurnBasedMatchDataRequest $data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMatchVersion($matchVersion) + { + $this->matchVersion = $matchVersion; + } + public function getMatchVersion() + { + return $this->matchVersion; + } + public function setResults($results) + { + $this->results = $results; + } + public function getResults() + { + return $this->results; + } +} + +class Google_Service_Games_TurnBasedMatchSync extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Games_TurnBasedMatch'; + protected $itemsDataType = 'array'; + public $kind; + public $moreAvailable; + public $nextPageToken; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMoreAvailable($moreAvailable) + { + $this->moreAvailable = $moreAvailable; + } + public function getMoreAvailable() + { + return $this->moreAvailable; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Games_TurnBasedMatchTurn extends Google_Collection +{ + protected $collection_key = 'results'; + protected $internal_gapi_mappings = array( + ); + protected $dataType = 'Google_Service_Games_TurnBasedMatchDataRequest'; + protected $dataDataType = ''; + public $kind; + public $matchVersion; + public $pendingParticipantId; + protected $resultsType = 'Google_Service_Games_ParticipantResult'; + protected $resultsDataType = 'array'; + + + public function setData(Google_Service_Games_TurnBasedMatchDataRequest $data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMatchVersion($matchVersion) + { + $this->matchVersion = $matchVersion; + } + public function getMatchVersion() + { + return $this->matchVersion; + } + public function setPendingParticipantId($pendingParticipantId) + { + $this->pendingParticipantId = $pendingParticipantId; + } + public function getPendingParticipantId() + { + return $this->pendingParticipantId; + } + public function setResults($results) + { + $this->results = $results; + } + public function getResults() + { + return $this->results; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/GamesConfiguration.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/GamesConfiguration.php new file mode 100644 index 0000000..a873b01 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/GamesConfiguration.php @@ -0,0 +1,1068 @@ + + * The Publishing API for Google Play Game Services.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_GamesConfiguration extends Google_Service +{ + /** View and manage your Google Play Developer account. */ + const ANDROIDPUBLISHER = + "https://www.googleapis.com/auth/androidpublisher"; + + public $achievementConfigurations; + public $imageConfigurations; + public $leaderboardConfigurations; + + + /** + * Constructs the internal representation of the GamesConfiguration service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'games/v1configuration/'; + $this->version = 'v1configuration'; + $this->serviceName = 'gamesConfiguration'; + + $this->achievementConfigurations = new Google_Service_GamesConfiguration_AchievementConfigurations_Resource( + $this, + $this->serviceName, + 'achievementConfigurations', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'achievements/{achievementId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'achievementId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'achievements/{achievementId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'achievementId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'applications/{applicationId}/achievements', + 'httpMethod' => 'POST', + 'parameters' => array( + 'applicationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'applications/{applicationId}/achievements', + 'httpMethod' => 'GET', + 'parameters' => array( + 'applicationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => 'achievements/{achievementId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'achievementId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'achievements/{achievementId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'achievementId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->imageConfigurations = new Google_Service_GamesConfiguration_ImageConfigurations_Resource( + $this, + $this->serviceName, + 'imageConfigurations', + array( + 'methods' => array( + 'upload' => array( + 'path' => 'images/{resourceId}/imageType/{imageType}', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resourceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'imageType' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->leaderboardConfigurations = new Google_Service_GamesConfiguration_LeaderboardConfigurations_Resource( + $this, + $this->serviceName, + 'leaderboardConfigurations', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'leaderboards/{leaderboardId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'leaderboardId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'leaderboards/{leaderboardId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'leaderboardId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'applications/{applicationId}/leaderboards', + 'httpMethod' => 'POST', + 'parameters' => array( + 'applicationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'applications/{applicationId}/leaderboards', + 'httpMethod' => 'GET', + 'parameters' => array( + 'applicationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => 'leaderboards/{leaderboardId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'leaderboardId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'leaderboards/{leaderboardId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'leaderboardId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "achievementConfigurations" collection of methods. + * Typical usage is: + * + * $gamesConfigurationService = new Google_Service_GamesConfiguration(...); + * $achievementConfigurations = $gamesConfigurationService->achievementConfigurations; + * + */ +class Google_Service_GamesConfiguration_AchievementConfigurations_Resource extends Google_Service_Resource +{ + + /** + * Delete the achievement configuration with the given ID. + * (achievementConfigurations.delete) + * + * @param string $achievementId The ID of the achievement used by this method. + * @param array $optParams Optional parameters. + */ + public function delete($achievementId, $optParams = array()) + { + $params = array('achievementId' => $achievementId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Retrieves the metadata of the achievement configuration with the given ID. + * (achievementConfigurations.get) + * + * @param string $achievementId The ID of the achievement used by this method. + * @param array $optParams Optional parameters. + * @return Google_Service_GamesConfiguration_AchievementConfiguration + */ + public function get($achievementId, $optParams = array()) + { + $params = array('achievementId' => $achievementId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_GamesConfiguration_AchievementConfiguration"); + } + + /** + * Insert a new achievement configuration in this application. + * (achievementConfigurations.insert) + * + * @param string $applicationId The application ID from the Google Play + * developer console. + * @param Google_AchievementConfiguration $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_GamesConfiguration_AchievementConfiguration + */ + public function insert($applicationId, Google_Service_GamesConfiguration_AchievementConfiguration $postBody, $optParams = array()) + { + $params = array('applicationId' => $applicationId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_GamesConfiguration_AchievementConfiguration"); + } + + /** + * Returns a list of the achievement configurations in this application. + * (achievementConfigurations.listAchievementConfigurations) + * + * @param string $applicationId The application ID from the Google Play + * developer console. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The token returned by the previous request. + * @opt_param int maxResults The maximum number of resource configurations to + * return in the response, used for paging. For any response, the actual number + * of resources returned may be less than the specified maxResults. + * @return Google_Service_GamesConfiguration_AchievementConfigurationListResponse + */ + public function listAchievementConfigurations($applicationId, $optParams = array()) + { + $params = array('applicationId' => $applicationId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_GamesConfiguration_AchievementConfigurationListResponse"); + } + + /** + * Update the metadata of the achievement configuration with the given ID. This + * method supports patch semantics. (achievementConfigurations.patch) + * + * @param string $achievementId The ID of the achievement used by this method. + * @param Google_AchievementConfiguration $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_GamesConfiguration_AchievementConfiguration + */ + public function patch($achievementId, Google_Service_GamesConfiguration_AchievementConfiguration $postBody, $optParams = array()) + { + $params = array('achievementId' => $achievementId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_GamesConfiguration_AchievementConfiguration"); + } + + /** + * Update the metadata of the achievement configuration with the given ID. + * (achievementConfigurations.update) + * + * @param string $achievementId The ID of the achievement used by this method. + * @param Google_AchievementConfiguration $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_GamesConfiguration_AchievementConfiguration + */ + public function update($achievementId, Google_Service_GamesConfiguration_AchievementConfiguration $postBody, $optParams = array()) + { + $params = array('achievementId' => $achievementId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_GamesConfiguration_AchievementConfiguration"); + } +} + +/** + * The "imageConfigurations" collection of methods. + * Typical usage is: + * + * $gamesConfigurationService = new Google_Service_GamesConfiguration(...); + * $imageConfigurations = $gamesConfigurationService->imageConfigurations; + * + */ +class Google_Service_GamesConfiguration_ImageConfigurations_Resource extends Google_Service_Resource +{ + + /** + * Uploads an image for a resource with the given ID and image type. + * (imageConfigurations.upload) + * + * @param string $resourceId The ID of the resource used by this method. + * @param string $imageType Selects which image in a resource for this method. + * @param array $optParams Optional parameters. + * @return Google_Service_GamesConfiguration_ImageConfiguration + */ + public function upload($resourceId, $imageType, $optParams = array()) + { + $params = array('resourceId' => $resourceId, 'imageType' => $imageType); + $params = array_merge($params, $optParams); + return $this->call('upload', array($params), "Google_Service_GamesConfiguration_ImageConfiguration"); + } +} + +/** + * The "leaderboardConfigurations" collection of methods. + * Typical usage is: + * + * $gamesConfigurationService = new Google_Service_GamesConfiguration(...); + * $leaderboardConfigurations = $gamesConfigurationService->leaderboardConfigurations; + * + */ +class Google_Service_GamesConfiguration_LeaderboardConfigurations_Resource extends Google_Service_Resource +{ + + /** + * Delete the leaderboard configuration with the given ID. + * (leaderboardConfigurations.delete) + * + * @param string $leaderboardId The ID of the leaderboard. + * @param array $optParams Optional parameters. + */ + public function delete($leaderboardId, $optParams = array()) + { + $params = array('leaderboardId' => $leaderboardId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Retrieves the metadata of the leaderboard configuration with the given ID. + * (leaderboardConfigurations.get) + * + * @param string $leaderboardId The ID of the leaderboard. + * @param array $optParams Optional parameters. + * @return Google_Service_GamesConfiguration_LeaderboardConfiguration + */ + public function get($leaderboardId, $optParams = array()) + { + $params = array('leaderboardId' => $leaderboardId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_GamesConfiguration_LeaderboardConfiguration"); + } + + /** + * Insert a new leaderboard configuration in this application. + * (leaderboardConfigurations.insert) + * + * @param string $applicationId The application ID from the Google Play + * developer console. + * @param Google_LeaderboardConfiguration $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_GamesConfiguration_LeaderboardConfiguration + */ + public function insert($applicationId, Google_Service_GamesConfiguration_LeaderboardConfiguration $postBody, $optParams = array()) + { + $params = array('applicationId' => $applicationId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_GamesConfiguration_LeaderboardConfiguration"); + } + + /** + * Returns a list of the leaderboard configurations in this application. + * (leaderboardConfigurations.listLeaderboardConfigurations) + * + * @param string $applicationId The application ID from the Google Play + * developer console. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The token returned by the previous request. + * @opt_param int maxResults The maximum number of resource configurations to + * return in the response, used for paging. For any response, the actual number + * of resources returned may be less than the specified maxResults. + * @return Google_Service_GamesConfiguration_LeaderboardConfigurationListResponse + */ + public function listLeaderboardConfigurations($applicationId, $optParams = array()) + { + $params = array('applicationId' => $applicationId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_GamesConfiguration_LeaderboardConfigurationListResponse"); + } + + /** + * Update the metadata of the leaderboard configuration with the given ID. This + * method supports patch semantics. (leaderboardConfigurations.patch) + * + * @param string $leaderboardId The ID of the leaderboard. + * @param Google_LeaderboardConfiguration $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_GamesConfiguration_LeaderboardConfiguration + */ + public function patch($leaderboardId, Google_Service_GamesConfiguration_LeaderboardConfiguration $postBody, $optParams = array()) + { + $params = array('leaderboardId' => $leaderboardId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_GamesConfiguration_LeaderboardConfiguration"); + } + + /** + * Update the metadata of the leaderboard configuration with the given ID. + * (leaderboardConfigurations.update) + * + * @param string $leaderboardId The ID of the leaderboard. + * @param Google_LeaderboardConfiguration $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_GamesConfiguration_LeaderboardConfiguration + */ + public function update($leaderboardId, Google_Service_GamesConfiguration_LeaderboardConfiguration $postBody, $optParams = array()) + { + $params = array('leaderboardId' => $leaderboardId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_GamesConfiguration_LeaderboardConfiguration"); + } +} + + + + +class Google_Service_GamesConfiguration_AchievementConfiguration extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $achievementType; + protected $draftType = 'Google_Service_GamesConfiguration_AchievementConfigurationDetail'; + protected $draftDataType = ''; + public $id; + public $initialState; + public $kind; + protected $publishedType = 'Google_Service_GamesConfiguration_AchievementConfigurationDetail'; + protected $publishedDataType = ''; + public $stepsToUnlock; + public $token; + + + public function setAchievementType($achievementType) + { + $this->achievementType = $achievementType; + } + public function getAchievementType() + { + return $this->achievementType; + } + public function setDraft(Google_Service_GamesConfiguration_AchievementConfigurationDetail $draft) + { + $this->draft = $draft; + } + public function getDraft() + { + return $this->draft; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInitialState($initialState) + { + $this->initialState = $initialState; + } + public function getInitialState() + { + return $this->initialState; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPublished(Google_Service_GamesConfiguration_AchievementConfigurationDetail $published) + { + $this->published = $published; + } + public function getPublished() + { + return $this->published; + } + public function setStepsToUnlock($stepsToUnlock) + { + $this->stepsToUnlock = $stepsToUnlock; + } + public function getStepsToUnlock() + { + return $this->stepsToUnlock; + } + public function setToken($token) + { + $this->token = $token; + } + public function getToken() + { + return $this->token; + } +} + +class Google_Service_GamesConfiguration_AchievementConfigurationDetail extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $descriptionType = 'Google_Service_GamesConfiguration_LocalizedStringBundle'; + protected $descriptionDataType = ''; + public $iconUrl; + public $kind; + protected $nameType = 'Google_Service_GamesConfiguration_LocalizedStringBundle'; + protected $nameDataType = ''; + public $pointValue; + public $sortRank; + + + public function setDescription(Google_Service_GamesConfiguration_LocalizedStringBundle $description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setIconUrl($iconUrl) + { + $this->iconUrl = $iconUrl; + } + public function getIconUrl() + { + return $this->iconUrl; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName(Google_Service_GamesConfiguration_LocalizedStringBundle $name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPointValue($pointValue) + { + $this->pointValue = $pointValue; + } + public function getPointValue() + { + return $this->pointValue; + } + public function setSortRank($sortRank) + { + $this->sortRank = $sortRank; + } + public function getSortRank() + { + return $this->sortRank; + } +} + +class Google_Service_GamesConfiguration_AchievementConfigurationListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_GamesConfiguration_AchievementConfiguration'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_GamesConfiguration_GamesNumberAffixConfiguration extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $fewType = 'Google_Service_GamesConfiguration_LocalizedStringBundle'; + protected $fewDataType = ''; + protected $manyType = 'Google_Service_GamesConfiguration_LocalizedStringBundle'; + protected $manyDataType = ''; + protected $oneType = 'Google_Service_GamesConfiguration_LocalizedStringBundle'; + protected $oneDataType = ''; + protected $otherType = 'Google_Service_GamesConfiguration_LocalizedStringBundle'; + protected $otherDataType = ''; + protected $twoType = 'Google_Service_GamesConfiguration_LocalizedStringBundle'; + protected $twoDataType = ''; + protected $zeroType = 'Google_Service_GamesConfiguration_LocalizedStringBundle'; + protected $zeroDataType = ''; + + + public function setFew(Google_Service_GamesConfiguration_LocalizedStringBundle $few) + { + $this->few = $few; + } + public function getFew() + { + return $this->few; + } + public function setMany(Google_Service_GamesConfiguration_LocalizedStringBundle $many) + { + $this->many = $many; + } + public function getMany() + { + return $this->many; + } + public function setOne(Google_Service_GamesConfiguration_LocalizedStringBundle $one) + { + $this->one = $one; + } + public function getOne() + { + return $this->one; + } + public function setOther(Google_Service_GamesConfiguration_LocalizedStringBundle $other) + { + $this->other = $other; + } + public function getOther() + { + return $this->other; + } + public function setTwo(Google_Service_GamesConfiguration_LocalizedStringBundle $two) + { + $this->two = $two; + } + public function getTwo() + { + return $this->two; + } + public function setZero(Google_Service_GamesConfiguration_LocalizedStringBundle $zero) + { + $this->zero = $zero; + } + public function getZero() + { + return $this->zero; + } +} + +class Google_Service_GamesConfiguration_GamesNumberFormatConfiguration extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $currencyCode; + public $numDecimalPlaces; + public $numberFormatType; + protected $suffixType = 'Google_Service_GamesConfiguration_GamesNumberAffixConfiguration'; + protected $suffixDataType = ''; + + + public function setCurrencyCode($currencyCode) + { + $this->currencyCode = $currencyCode; + } + public function getCurrencyCode() + { + return $this->currencyCode; + } + public function setNumDecimalPlaces($numDecimalPlaces) + { + $this->numDecimalPlaces = $numDecimalPlaces; + } + public function getNumDecimalPlaces() + { + return $this->numDecimalPlaces; + } + public function setNumberFormatType($numberFormatType) + { + $this->numberFormatType = $numberFormatType; + } + public function getNumberFormatType() + { + return $this->numberFormatType; + } + public function setSuffix(Google_Service_GamesConfiguration_GamesNumberAffixConfiguration $suffix) + { + $this->suffix = $suffix; + } + public function getSuffix() + { + return $this->suffix; + } +} + +class Google_Service_GamesConfiguration_ImageConfiguration extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $imageType; + public $kind; + public $resourceId; + public $url; + + + public function setImageType($imageType) + { + $this->imageType = $imageType; + } + public function getImageType() + { + return $this->imageType; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setResourceId($resourceId) + { + $this->resourceId = $resourceId; + } + public function getResourceId() + { + return $this->resourceId; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_GamesConfiguration_LeaderboardConfiguration extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $draftType = 'Google_Service_GamesConfiguration_LeaderboardConfigurationDetail'; + protected $draftDataType = ''; + public $id; + public $kind; + protected $publishedType = 'Google_Service_GamesConfiguration_LeaderboardConfigurationDetail'; + protected $publishedDataType = ''; + public $scoreMax; + public $scoreMin; + public $scoreOrder; + public $token; + + + public function setDraft(Google_Service_GamesConfiguration_LeaderboardConfigurationDetail $draft) + { + $this->draft = $draft; + } + public function getDraft() + { + return $this->draft; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPublished(Google_Service_GamesConfiguration_LeaderboardConfigurationDetail $published) + { + $this->published = $published; + } + public function getPublished() + { + return $this->published; + } + public function setScoreMax($scoreMax) + { + $this->scoreMax = $scoreMax; + } + public function getScoreMax() + { + return $this->scoreMax; + } + public function setScoreMin($scoreMin) + { + $this->scoreMin = $scoreMin; + } + public function getScoreMin() + { + return $this->scoreMin; + } + public function setScoreOrder($scoreOrder) + { + $this->scoreOrder = $scoreOrder; + } + public function getScoreOrder() + { + return $this->scoreOrder; + } + public function setToken($token) + { + $this->token = $token; + } + public function getToken() + { + return $this->token; + } +} + +class Google_Service_GamesConfiguration_LeaderboardConfigurationDetail extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $iconUrl; + public $kind; + protected $nameType = 'Google_Service_GamesConfiguration_LocalizedStringBundle'; + protected $nameDataType = ''; + protected $scoreFormatType = 'Google_Service_GamesConfiguration_GamesNumberFormatConfiguration'; + protected $scoreFormatDataType = ''; + public $sortRank; + + + public function setIconUrl($iconUrl) + { + $this->iconUrl = $iconUrl; + } + public function getIconUrl() + { + return $this->iconUrl; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName(Google_Service_GamesConfiguration_LocalizedStringBundle $name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setScoreFormat(Google_Service_GamesConfiguration_GamesNumberFormatConfiguration $scoreFormat) + { + $this->scoreFormat = $scoreFormat; + } + public function getScoreFormat() + { + return $this->scoreFormat; + } + public function setSortRank($sortRank) + { + $this->sortRank = $sortRank; + } + public function getSortRank() + { + return $this->sortRank; + } +} + +class Google_Service_GamesConfiguration_LeaderboardConfigurationListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_GamesConfiguration_LeaderboardConfiguration'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_GamesConfiguration_LocalizedString extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + public $locale; + public $value; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLocale($locale) + { + $this->locale = $locale; + } + public function getLocale() + { + return $this->locale; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_GamesConfiguration_LocalizedStringBundle extends Google_Collection +{ + protected $collection_key = 'translations'; + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $translationsType = 'Google_Service_GamesConfiguration_LocalizedString'; + protected $translationsDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setTranslations($translations) + { + $this->translations = $translations; + } + public function getTranslations() + { + return $this->translations; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/GamesManagement.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/GamesManagement.php new file mode 100644 index 0000000..1d6853e --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/GamesManagement.php @@ -0,0 +1,1386 @@ + + * The Management API for Google Play Game Services.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_GamesManagement extends Google_Service +{ + /** Share your Google+ profile information and view and manage your game activity. */ + const GAMES = + "https://www.googleapis.com/auth/games"; + /** Know your basic profile info and list of people in your circles.. */ + const PLUS_LOGIN = + "https://www.googleapis.com/auth/plus.login"; + + public $achievements; + public $applications; + public $events; + public $players; + public $quests; + public $rooms; + public $scores; + public $turnBasedMatches; + + + /** + * Constructs the internal representation of the GamesManagement service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'games/v1management/'; + $this->version = 'v1management'; + $this->serviceName = 'gamesManagement'; + + $this->achievements = new Google_Service_GamesManagement_Achievements_Resource( + $this, + $this->serviceName, + 'achievements', + array( + 'methods' => array( + 'reset' => array( + 'path' => 'achievements/{achievementId}/reset', + 'httpMethod' => 'POST', + 'parameters' => array( + 'achievementId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'resetAll' => array( + 'path' => 'achievements/reset', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'resetAllForAllPlayers' => array( + 'path' => 'achievements/resetAllForAllPlayers', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'resetForAllPlayers' => array( + 'path' => 'achievements/{achievementId}/resetForAllPlayers', + 'httpMethod' => 'POST', + 'parameters' => array( + 'achievementId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'resetMultipleForAllPlayers' => array( + 'path' => 'achievements/resetMultipleForAllPlayers', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->applications = new Google_Service_GamesManagement_Applications_Resource( + $this, + $this->serviceName, + 'applications', + array( + 'methods' => array( + 'listHidden' => array( + 'path' => 'applications/{applicationId}/players/hidden', + 'httpMethod' => 'GET', + 'parameters' => array( + 'applicationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->events = new Google_Service_GamesManagement_Events_Resource( + $this, + $this->serviceName, + 'events', + array( + 'methods' => array( + 'reset' => array( + 'path' => 'events/{eventId}/reset', + 'httpMethod' => 'POST', + 'parameters' => array( + 'eventId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'resetAll' => array( + 'path' => 'events/reset', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'resetAllForAllPlayers' => array( + 'path' => 'events/resetAllForAllPlayers', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'resetForAllPlayers' => array( + 'path' => 'events/{eventId}/resetForAllPlayers', + 'httpMethod' => 'POST', + 'parameters' => array( + 'eventId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'resetMultipleForAllPlayers' => array( + 'path' => 'events/resetMultipleForAllPlayers', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->players = new Google_Service_GamesManagement_Players_Resource( + $this, + $this->serviceName, + 'players', + array( + 'methods' => array( + 'hide' => array( + 'path' => 'applications/{applicationId}/players/hidden/{playerId}', + 'httpMethod' => 'POST', + 'parameters' => array( + 'applicationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'playerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'unhide' => array( + 'path' => 'applications/{applicationId}/players/hidden/{playerId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'applicationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'playerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->quests = new Google_Service_GamesManagement_Quests_Resource( + $this, + $this->serviceName, + 'quests', + array( + 'methods' => array( + 'reset' => array( + 'path' => 'quests/{questId}/reset', + 'httpMethod' => 'POST', + 'parameters' => array( + 'questId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'resetAll' => array( + 'path' => 'quests/reset', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'resetAllForAllPlayers' => array( + 'path' => 'quests/resetAllForAllPlayers', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'resetForAllPlayers' => array( + 'path' => 'quests/{questId}/resetForAllPlayers', + 'httpMethod' => 'POST', + 'parameters' => array( + 'questId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'resetMultipleForAllPlayers' => array( + 'path' => 'quests/resetMultipleForAllPlayers', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->rooms = new Google_Service_GamesManagement_Rooms_Resource( + $this, + $this->serviceName, + 'rooms', + array( + 'methods' => array( + 'reset' => array( + 'path' => 'rooms/reset', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'resetForAllPlayers' => array( + 'path' => 'rooms/resetForAllPlayers', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->scores = new Google_Service_GamesManagement_Scores_Resource( + $this, + $this->serviceName, + 'scores', + array( + 'methods' => array( + 'reset' => array( + 'path' => 'leaderboards/{leaderboardId}/scores/reset', + 'httpMethod' => 'POST', + 'parameters' => array( + 'leaderboardId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'resetAll' => array( + 'path' => 'scores/reset', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'resetAllForAllPlayers' => array( + 'path' => 'scores/resetAllForAllPlayers', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'resetForAllPlayers' => array( + 'path' => 'leaderboards/{leaderboardId}/scores/resetForAllPlayers', + 'httpMethod' => 'POST', + 'parameters' => array( + 'leaderboardId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'resetMultipleForAllPlayers' => array( + 'path' => 'scores/resetMultipleForAllPlayers', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->turnBasedMatches = new Google_Service_GamesManagement_TurnBasedMatches_Resource( + $this, + $this->serviceName, + 'turnBasedMatches', + array( + 'methods' => array( + 'reset' => array( + 'path' => 'turnbasedmatches/reset', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'resetForAllPlayers' => array( + 'path' => 'turnbasedmatches/resetForAllPlayers', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + } +} + + +/** + * The "achievements" collection of methods. + * Typical usage is: + * + * $gamesManagementService = new Google_Service_GamesManagement(...); + * $achievements = $gamesManagementService->achievements; + * + */ +class Google_Service_GamesManagement_Achievements_Resource extends Google_Service_Resource +{ + + /** + * Resets the achievement with the given ID for the currently authenticated + * player. This method is only accessible to whitelisted tester accounts for + * your application. (achievements.reset) + * + * @param string $achievementId The ID of the achievement used by this method. + * @param array $optParams Optional parameters. + * @return Google_Service_GamesManagement_AchievementResetResponse + */ + public function reset($achievementId, $optParams = array()) + { + $params = array('achievementId' => $achievementId); + $params = array_merge($params, $optParams); + return $this->call('reset', array($params), "Google_Service_GamesManagement_AchievementResetResponse"); + } + + /** + * Resets all achievements for the currently authenticated player for your + * application. This method is only accessible to whitelisted tester accounts + * for your application. (achievements.resetAll) + * + * @param array $optParams Optional parameters. + * @return Google_Service_GamesManagement_AchievementResetAllResponse + */ + public function resetAll($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('resetAll', array($params), "Google_Service_GamesManagement_AchievementResetAllResponse"); + } + + /** + * Resets all draft achievements for all players. This method is only available + * to user accounts for your developer console. + * (achievements.resetAllForAllPlayers) + * + * @param array $optParams Optional parameters. + */ + public function resetAllForAllPlayers($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('resetAllForAllPlayers', array($params)); + } + + /** + * Resets the achievement with the given ID for all players. This method is only + * available to user accounts for your developer console. Only draft + * achievements can be reset. (achievements.resetForAllPlayers) + * + * @param string $achievementId The ID of the achievement used by this method. + * @param array $optParams Optional parameters. + */ + public function resetForAllPlayers($achievementId, $optParams = array()) + { + $params = array('achievementId' => $achievementId); + $params = array_merge($params, $optParams); + return $this->call('resetForAllPlayers', array($params)); + } + + /** + * Resets achievements with the given IDs for all players. This method is only + * available to user accounts for your developer console. Only draft + * achievements may be reset. (achievements.resetMultipleForAllPlayers) + * + * @param Google_AchievementResetMultipleForAllRequest $postBody + * @param array $optParams Optional parameters. + */ + public function resetMultipleForAllPlayers(Google_Service_GamesManagement_AchievementResetMultipleForAllRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('resetMultipleForAllPlayers', array($params)); + } +} + +/** + * The "applications" collection of methods. + * Typical usage is: + * + * $gamesManagementService = new Google_Service_GamesManagement(...); + * $applications = $gamesManagementService->applications; + * + */ +class Google_Service_GamesManagement_Applications_Resource extends Google_Service_Resource +{ + + /** + * Get the list of players hidden from the given application. This method is + * only available to user accounts for your developer console. + * (applications.listHidden) + * + * @param string $applicationId The application ID from the Google Play + * developer console. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The token returned by the previous request. + * @opt_param int maxResults The maximum number of player resources to return in + * the response, used for paging. For any response, the actual number of player + * resources returned may be less than the specified maxResults. + * @return Google_Service_GamesManagement_HiddenPlayerList + */ + public function listHidden($applicationId, $optParams = array()) + { + $params = array('applicationId' => $applicationId); + $params = array_merge($params, $optParams); + return $this->call('listHidden', array($params), "Google_Service_GamesManagement_HiddenPlayerList"); + } +} + +/** + * The "events" collection of methods. + * Typical usage is: + * + * $gamesManagementService = new Google_Service_GamesManagement(...); + * $events = $gamesManagementService->events; + * + */ +class Google_Service_GamesManagement_Events_Resource extends Google_Service_Resource +{ + + /** + * Resets all player progress on the event with the given ID for the currently + * authenticated player. This method is only accessible to whitelisted tester + * accounts for your application. All quests for this player that use the event + * will also be reset. (events.reset) + * + * @param string $eventId The ID of the event. + * @param array $optParams Optional parameters. + */ + public function reset($eventId, $optParams = array()) + { + $params = array('eventId' => $eventId); + $params = array_merge($params, $optParams); + return $this->call('reset', array($params)); + } + + /** + * Resets all player progress on all events for the currently authenticated + * player. This method is only accessible to whitelisted tester accounts for + * your application. All quests for this player will also be reset. + * (events.resetAll) + * + * @param array $optParams Optional parameters. + */ + public function resetAll($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('resetAll', array($params)); + } + + /** + * Resets all draft events for all players. This method is only available to + * user accounts for your developer console. All quests that use any of these + * events will also be reset. (events.resetAllForAllPlayers) + * + * @param array $optParams Optional parameters. + */ + public function resetAllForAllPlayers($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('resetAllForAllPlayers', array($params)); + } + + /** + * Resets the event with the given ID for all players. This method is only + * available to user accounts for your developer console. Only draft events can + * be reset. All quests that use the event will also be reset. + * (events.resetForAllPlayers) + * + * @param string $eventId The ID of the event. + * @param array $optParams Optional parameters. + */ + public function resetForAllPlayers($eventId, $optParams = array()) + { + $params = array('eventId' => $eventId); + $params = array_merge($params, $optParams); + return $this->call('resetForAllPlayers', array($params)); + } + + /** + * Resets events with the given IDs for all players. This method is only + * available to user accounts for your developer console. Only draft events may + * be reset. All quests that use any of the events will also be reset. + * (events.resetMultipleForAllPlayers) + * + * @param Google_EventsResetMultipleForAllRequest $postBody + * @param array $optParams Optional parameters. + */ + public function resetMultipleForAllPlayers(Google_Service_GamesManagement_EventsResetMultipleForAllRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('resetMultipleForAllPlayers', array($params)); + } +} + +/** + * The "players" collection of methods. + * Typical usage is: + * + * $gamesManagementService = new Google_Service_GamesManagement(...); + * $players = $gamesManagementService->players; + * + */ +class Google_Service_GamesManagement_Players_Resource extends Google_Service_Resource +{ + + /** + * Hide the given player's leaderboard scores from the given application. This + * method is only available to user accounts for your developer console. + * (players.hide) + * + * @param string $applicationId The application ID from the Google Play + * developer console. + * @param string $playerId A player ID. A value of me may be used in place of + * the authenticated player's ID. + * @param array $optParams Optional parameters. + */ + public function hide($applicationId, $playerId, $optParams = array()) + { + $params = array('applicationId' => $applicationId, 'playerId' => $playerId); + $params = array_merge($params, $optParams); + return $this->call('hide', array($params)); + } + + /** + * Unhide the given player's leaderboard scores from the given application. This + * method is only available to user accounts for your developer console. + * (players.unhide) + * + * @param string $applicationId The application ID from the Google Play + * developer console. + * @param string $playerId A player ID. A value of me may be used in place of + * the authenticated player's ID. + * @param array $optParams Optional parameters. + */ + public function unhide($applicationId, $playerId, $optParams = array()) + { + $params = array('applicationId' => $applicationId, 'playerId' => $playerId); + $params = array_merge($params, $optParams); + return $this->call('unhide', array($params)); + } +} + +/** + * The "quests" collection of methods. + * Typical usage is: + * + * $gamesManagementService = new Google_Service_GamesManagement(...); + * $quests = $gamesManagementService->quests; + * + */ +class Google_Service_GamesManagement_Quests_Resource extends Google_Service_Resource +{ + + /** + * Resets all player progress on the quest with the given ID for the currently + * authenticated player. This method is only accessible to whitelisted tester + * accounts for your application. (quests.reset) + * + * @param string $questId The ID of the quest. + * @param array $optParams Optional parameters. + */ + public function reset($questId, $optParams = array()) + { + $params = array('questId' => $questId); + $params = array_merge($params, $optParams); + return $this->call('reset', array($params)); + } + + /** + * Resets all player progress on all quests for the currently authenticated + * player. This method is only accessible to whitelisted tester accounts for + * your application. (quests.resetAll) + * + * @param array $optParams Optional parameters. + */ + public function resetAll($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('resetAll', array($params)); + } + + /** + * Resets all draft quests for all players. This method is only available to + * user accounts for your developer console. (quests.resetAllForAllPlayers) + * + * @param array $optParams Optional parameters. + */ + public function resetAllForAllPlayers($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('resetAllForAllPlayers', array($params)); + } + + /** + * Resets all player progress on the quest with the given ID for all players. + * This method is only available to user accounts for your developer console. + * Only draft quests can be reset. (quests.resetForAllPlayers) + * + * @param string $questId The ID of the quest. + * @param array $optParams Optional parameters. + */ + public function resetForAllPlayers($questId, $optParams = array()) + { + $params = array('questId' => $questId); + $params = array_merge($params, $optParams); + return $this->call('resetForAllPlayers', array($params)); + } + + /** + * Resets quests with the given IDs for all players. This method is only + * available to user accounts for your developer console. Only draft quests may + * be reset. (quests.resetMultipleForAllPlayers) + * + * @param Google_QuestsResetMultipleForAllRequest $postBody + * @param array $optParams Optional parameters. + */ + public function resetMultipleForAllPlayers(Google_Service_GamesManagement_QuestsResetMultipleForAllRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('resetMultipleForAllPlayers', array($params)); + } +} + +/** + * The "rooms" collection of methods. + * Typical usage is: + * + * $gamesManagementService = new Google_Service_GamesManagement(...); + * $rooms = $gamesManagementService->rooms; + * + */ +class Google_Service_GamesManagement_Rooms_Resource extends Google_Service_Resource +{ + + /** + * Reset all rooms for the currently authenticated player for your application. + * This method is only accessible to whitelisted tester accounts for your + * application. (rooms.reset) + * + * @param array $optParams Optional parameters. + */ + public function reset($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('reset', array($params)); + } + + /** + * Deletes rooms where the only room participants are from whitelisted tester + * accounts for your application. This method is only available to user accounts + * for your developer console. (rooms.resetForAllPlayers) + * + * @param array $optParams Optional parameters. + */ + public function resetForAllPlayers($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('resetForAllPlayers', array($params)); + } +} + +/** + * The "scores" collection of methods. + * Typical usage is: + * + * $gamesManagementService = new Google_Service_GamesManagement(...); + * $scores = $gamesManagementService->scores; + * + */ +class Google_Service_GamesManagement_Scores_Resource extends Google_Service_Resource +{ + + /** + * Resets scores for the leaderboard with the given ID for the currently + * authenticated player. This method is only accessible to whitelisted tester + * accounts for your application. (scores.reset) + * + * @param string $leaderboardId The ID of the leaderboard. + * @param array $optParams Optional parameters. + * @return Google_Service_GamesManagement_PlayerScoreResetResponse + */ + public function reset($leaderboardId, $optParams = array()) + { + $params = array('leaderboardId' => $leaderboardId); + $params = array_merge($params, $optParams); + return $this->call('reset', array($params), "Google_Service_GamesManagement_PlayerScoreResetResponse"); + } + + /** + * Resets all scores for all leaderboards for the currently authenticated + * players. This method is only accessible to whitelisted tester accounts for + * your application. (scores.resetAll) + * + * @param array $optParams Optional parameters. + * @return Google_Service_GamesManagement_PlayerScoreResetAllResponse + */ + public function resetAll($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('resetAll', array($params), "Google_Service_GamesManagement_PlayerScoreResetAllResponse"); + } + + /** + * Resets scores for all draft leaderboards for all players. This method is only + * available to user accounts for your developer console. + * (scores.resetAllForAllPlayers) + * + * @param array $optParams Optional parameters. + */ + public function resetAllForAllPlayers($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('resetAllForAllPlayers', array($params)); + } + + /** + * Resets scores for the leaderboard with the given ID for all players. This + * method is only available to user accounts for your developer console. Only + * draft leaderboards can be reset. (scores.resetForAllPlayers) + * + * @param string $leaderboardId The ID of the leaderboard. + * @param array $optParams Optional parameters. + */ + public function resetForAllPlayers($leaderboardId, $optParams = array()) + { + $params = array('leaderboardId' => $leaderboardId); + $params = array_merge($params, $optParams); + return $this->call('resetForAllPlayers', array($params)); + } + + /** + * Resets scores for the leaderboards with the given IDs for all players. This + * method is only available to user accounts for your developer console. Only + * draft leaderboards may be reset. (scores.resetMultipleForAllPlayers) + * + * @param Google_ScoresResetMultipleForAllRequest $postBody + * @param array $optParams Optional parameters. + */ + public function resetMultipleForAllPlayers(Google_Service_GamesManagement_ScoresResetMultipleForAllRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('resetMultipleForAllPlayers', array($params)); + } +} + +/** + * The "turnBasedMatches" collection of methods. + * Typical usage is: + * + * $gamesManagementService = new Google_Service_GamesManagement(...); + * $turnBasedMatches = $gamesManagementService->turnBasedMatches; + * + */ +class Google_Service_GamesManagement_TurnBasedMatches_Resource extends Google_Service_Resource +{ + + /** + * Reset all turn-based match data for a user. This method is only accessible to + * whitelisted tester accounts for your application. (turnBasedMatches.reset) + * + * @param array $optParams Optional parameters. + */ + public function reset($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('reset', array($params)); + } + + /** + * Deletes turn-based matches where the only match participants are from + * whitelisted tester accounts for your application. This method is only + * available to user accounts for your developer console. + * (turnBasedMatches.resetForAllPlayers) + * + * @param array $optParams Optional parameters. + */ + public function resetForAllPlayers($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('resetForAllPlayers', array($params)); + } +} + + + + +class Google_Service_GamesManagement_AchievementResetAllResponse extends Google_Collection +{ + protected $collection_key = 'results'; + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $resultsType = 'Google_Service_GamesManagement_AchievementResetResponse'; + protected $resultsDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setResults($results) + { + $this->results = $results; + } + public function getResults() + { + return $this->results; + } +} + +class Google_Service_GamesManagement_AchievementResetMultipleForAllRequest extends Google_Collection +{ + protected $collection_key = 'achievement_ids'; + protected $internal_gapi_mappings = array( + "achievementIds" => "achievement_ids", + ); + public $achievementIds; + public $kind; + + + public function setAchievementIds($achievementIds) + { + $this->achievementIds = $achievementIds; + } + public function getAchievementIds() + { + return $this->achievementIds; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_GamesManagement_AchievementResetResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $currentState; + public $definitionId; + public $kind; + public $updateOccurred; + + + public function setCurrentState($currentState) + { + $this->currentState = $currentState; + } + public function getCurrentState() + { + return $this->currentState; + } + public function setDefinitionId($definitionId) + { + $this->definitionId = $definitionId; + } + public function getDefinitionId() + { + return $this->definitionId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setUpdateOccurred($updateOccurred) + { + $this->updateOccurred = $updateOccurred; + } + public function getUpdateOccurred() + { + return $this->updateOccurred; + } +} + +class Google_Service_GamesManagement_EventsResetMultipleForAllRequest extends Google_Collection +{ + protected $collection_key = 'event_ids'; + protected $internal_gapi_mappings = array( + "eventIds" => "event_ids", + ); + public $eventIds; + public $kind; + + + public function setEventIds($eventIds) + { + $this->eventIds = $eventIds; + } + public function getEventIds() + { + return $this->eventIds; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_GamesManagement_GamesPlayedResource extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $autoMatched; + public $timeMillis; + + + public function setAutoMatched($autoMatched) + { + $this->autoMatched = $autoMatched; + } + public function getAutoMatched() + { + return $this->autoMatched; + } + public function setTimeMillis($timeMillis) + { + $this->timeMillis = $timeMillis; + } + public function getTimeMillis() + { + return $this->timeMillis; + } +} + +class Google_Service_GamesManagement_GamesPlayerExperienceInfoResource extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $currentExperiencePoints; + protected $currentLevelType = 'Google_Service_GamesManagement_GamesPlayerLevelResource'; + protected $currentLevelDataType = ''; + public $lastLevelUpTimestampMillis; + protected $nextLevelType = 'Google_Service_GamesManagement_GamesPlayerLevelResource'; + protected $nextLevelDataType = ''; + + + public function setCurrentExperiencePoints($currentExperiencePoints) + { + $this->currentExperiencePoints = $currentExperiencePoints; + } + public function getCurrentExperiencePoints() + { + return $this->currentExperiencePoints; + } + public function setCurrentLevel(Google_Service_GamesManagement_GamesPlayerLevelResource $currentLevel) + { + $this->currentLevel = $currentLevel; + } + public function getCurrentLevel() + { + return $this->currentLevel; + } + public function setLastLevelUpTimestampMillis($lastLevelUpTimestampMillis) + { + $this->lastLevelUpTimestampMillis = $lastLevelUpTimestampMillis; + } + public function getLastLevelUpTimestampMillis() + { + return $this->lastLevelUpTimestampMillis; + } + public function setNextLevel(Google_Service_GamesManagement_GamesPlayerLevelResource $nextLevel) + { + $this->nextLevel = $nextLevel; + } + public function getNextLevel() + { + return $this->nextLevel; + } +} + +class Google_Service_GamesManagement_GamesPlayerLevelResource extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $level; + public $maxExperiencePoints; + public $minExperiencePoints; + + + public function setLevel($level) + { + $this->level = $level; + } + public function getLevel() + { + return $this->level; + } + public function setMaxExperiencePoints($maxExperiencePoints) + { + $this->maxExperiencePoints = $maxExperiencePoints; + } + public function getMaxExperiencePoints() + { + return $this->maxExperiencePoints; + } + public function setMinExperiencePoints($minExperiencePoints) + { + $this->minExperiencePoints = $minExperiencePoints; + } + public function getMinExperiencePoints() + { + return $this->minExperiencePoints; + } +} + +class Google_Service_GamesManagement_HiddenPlayer extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $hiddenTimeMillis; + public $kind; + protected $playerType = 'Google_Service_GamesManagement_Player'; + protected $playerDataType = ''; + + + public function setHiddenTimeMillis($hiddenTimeMillis) + { + $this->hiddenTimeMillis = $hiddenTimeMillis; + } + public function getHiddenTimeMillis() + { + return $this->hiddenTimeMillis; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPlayer(Google_Service_GamesManagement_Player $player) + { + $this->player = $player; + } + public function getPlayer() + { + return $this->player; + } +} + +class Google_Service_GamesManagement_HiddenPlayerList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_GamesManagement_HiddenPlayer'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_GamesManagement_Player extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $avatarImageUrl; + public $displayName; + protected $experienceInfoType = 'Google_Service_GamesManagement_GamesPlayerExperienceInfoResource'; + protected $experienceInfoDataType = ''; + public $kind; + protected $lastPlayedWithType = 'Google_Service_GamesManagement_GamesPlayedResource'; + protected $lastPlayedWithDataType = ''; + protected $nameType = 'Google_Service_GamesManagement_PlayerName'; + protected $nameDataType = ''; + public $playerId; + public $title; + + + public function setAvatarImageUrl($avatarImageUrl) + { + $this->avatarImageUrl = $avatarImageUrl; + } + public function getAvatarImageUrl() + { + return $this->avatarImageUrl; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setExperienceInfo(Google_Service_GamesManagement_GamesPlayerExperienceInfoResource $experienceInfo) + { + $this->experienceInfo = $experienceInfo; + } + public function getExperienceInfo() + { + return $this->experienceInfo; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastPlayedWith(Google_Service_GamesManagement_GamesPlayedResource $lastPlayedWith) + { + $this->lastPlayedWith = $lastPlayedWith; + } + public function getLastPlayedWith() + { + return $this->lastPlayedWith; + } + public function setName(Google_Service_GamesManagement_PlayerName $name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPlayerId($playerId) + { + $this->playerId = $playerId; + } + public function getPlayerId() + { + return $this->playerId; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} + +class Google_Service_GamesManagement_PlayerName extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $familyName; + public $givenName; + + + public function setFamilyName($familyName) + { + $this->familyName = $familyName; + } + public function getFamilyName() + { + return $this->familyName; + } + public function setGivenName($givenName) + { + $this->givenName = $givenName; + } + public function getGivenName() + { + return $this->givenName; + } +} + +class Google_Service_GamesManagement_PlayerScoreResetAllResponse extends Google_Collection +{ + protected $collection_key = 'results'; + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $resultsType = 'Google_Service_GamesManagement_PlayerScoreResetResponse'; + protected $resultsDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setResults($results) + { + $this->results = $results; + } + public function getResults() + { + return $this->results; + } +} + +class Google_Service_GamesManagement_PlayerScoreResetResponse extends Google_Collection +{ + protected $collection_key = 'resetScoreTimeSpans'; + protected $internal_gapi_mappings = array( + ); + public $definitionId; + public $kind; + public $resetScoreTimeSpans; + + + public function setDefinitionId($definitionId) + { + $this->definitionId = $definitionId; + } + public function getDefinitionId() + { + return $this->definitionId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setResetScoreTimeSpans($resetScoreTimeSpans) + { + $this->resetScoreTimeSpans = $resetScoreTimeSpans; + } + public function getResetScoreTimeSpans() + { + return $this->resetScoreTimeSpans; + } +} + +class Google_Service_GamesManagement_QuestsResetMultipleForAllRequest extends Google_Collection +{ + protected $collection_key = 'quest_ids'; + protected $internal_gapi_mappings = array( + "questIds" => "quest_ids", + ); + public $kind; + public $questIds; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setQuestIds($questIds) + { + $this->questIds = $questIds; + } + public function getQuestIds() + { + return $this->questIds; + } +} + +class Google_Service_GamesManagement_ScoresResetMultipleForAllRequest extends Google_Collection +{ + protected $collection_key = 'leaderboard_ids'; + protected $internal_gapi_mappings = array( + "leaderboardIds" => "leaderboard_ids", + ); + public $kind; + public $leaderboardIds; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLeaderboardIds($leaderboardIds) + { + $this->leaderboardIds = $leaderboardIds; + } + public function getLeaderboardIds() + { + return $this->leaderboardIds; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Genomics.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Genomics.php new file mode 100644 index 0000000..ffe7b4d --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Genomics.php @@ -0,0 +1,3990 @@ + + * An API to store, process, explore, and share DNA sequence reads, reference- + * based alignments, and variant calls.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Genomics extends Google_Service +{ + /** View and manage your data in Google BigQuery. */ + const BIGQUERY = + "https://www.googleapis.com/auth/bigquery"; + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** Manage your data in Google Cloud Storage. */ + const DEVSTORAGE_READ_WRITE = + "https://www.googleapis.com/auth/devstorage.read_write"; + /** View and manage Genomics data. */ + const GENOMICS = + "https://www.googleapis.com/auth/genomics"; + /** View Genomics data. */ + const GENOMICS_READONLY = + "https://www.googleapis.com/auth/genomics.readonly"; + + public $callsets; + public $datasets; + public $operations; + public $readgroupsets; + public $readgroupsets_coveragebuckets; + public $reads; + public $references; + public $references_bases; + public $referencesets; + public $variants; + public $variantsets; + + + /** + * Constructs the internal representation of the Genomics service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://genomics.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'genomics'; + + $this->callsets = new Google_Service_Genomics_Callsets_Resource( + $this, + $this->serviceName, + 'callsets', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/callsets', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'delete' => array( + 'path' => 'v1/callsets/{callSetId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'callSetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/callsets/{callSetId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'callSetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'v1/callsets/{callSetId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'callSetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'updateMask' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'search' => array( + 'path' => 'v1/callsets/search', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->datasets = new Google_Service_Genomics_Datasets_Resource( + $this, + $this->serviceName, + 'datasets', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/datasets', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'delete' => array( + 'path' => 'v1/datasets/{datasetId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/datasets/{datasetId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getIamPolicy' => array( + 'path' => 'v1/{+resource}:getIamPolicy', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/datasets', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'v1/datasets/{datasetId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'updateMask' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'setIamPolicy' => array( + 'path' => 'v1/{+resource}:setIamPolicy', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'testIamPermissions' => array( + 'path' => 'v1/{+resource}:testIamPermissions', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'undelete' => array( + 'path' => 'v1/datasets/{datasetId}:undelete', + 'httpMethod' => 'POST', + 'parameters' => array( + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->operations = new Google_Service_Genomics_Operations_Resource( + $this, + $this->serviceName, + 'operations', + array( + 'methods' => array( + 'cancel' => array( + 'path' => 'v1/{+name}:cancel', + 'httpMethod' => 'POST', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->readgroupsets = new Google_Service_Genomics_Readgroupsets_Resource( + $this, + $this->serviceName, + 'readgroupsets', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'v1/readgroupsets/{readGroupSetId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'readGroupSetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'export' => array( + 'path' => 'v1/readgroupsets/{readGroupSetId}:export', + 'httpMethod' => 'POST', + 'parameters' => array( + 'readGroupSetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/readgroupsets/{readGroupSetId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'readGroupSetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'import' => array( + 'path' => 'v1/readgroupsets:import', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'patch' => array( + 'path' => 'v1/readgroupsets/{readGroupSetId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'readGroupSetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'updateMask' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'search' => array( + 'path' => 'v1/readgroupsets/search', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->readgroupsets_coveragebuckets = new Google_Service_Genomics_ReadgroupsetsCoveragebuckets_Resource( + $this, + $this->serviceName, + 'coveragebuckets', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v1/readgroupsets/{readGroupSetId}/coveragebuckets', + 'httpMethod' => 'GET', + 'parameters' => array( + 'readGroupSetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'end' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'start' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'targetBucketWidth' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'referenceName' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->reads = new Google_Service_Genomics_Reads_Resource( + $this, + $this->serviceName, + 'reads', + array( + 'methods' => array( + 'search' => array( + 'path' => 'v1/reads/search', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->references = new Google_Service_Genomics_References_Resource( + $this, + $this->serviceName, + 'references', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v1/references/{referenceId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'referenceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'search' => array( + 'path' => 'v1/references/search', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->references_bases = new Google_Service_Genomics_ReferencesBases_Resource( + $this, + $this->serviceName, + 'bases', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v1/references/{referenceId}/bases', + 'httpMethod' => 'GET', + 'parameters' => array( + 'referenceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'start' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'end' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->referencesets = new Google_Service_Genomics_Referencesets_Resource( + $this, + $this->serviceName, + 'referencesets', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v1/referencesets/{referenceSetId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'referenceSetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'search' => array( + 'path' => 'v1/referencesets/search', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->variants = new Google_Service_Genomics_Variants_Resource( + $this, + $this->serviceName, + 'variants', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/variants', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'delete' => array( + 'path' => 'v1/variants/{variantId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'variantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/variants/{variantId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'variantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'import' => array( + 'path' => 'v1/variants:import', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'patch' => array( + 'path' => 'v1/variants/{variantId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'variantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'updateMask' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'search' => array( + 'path' => 'v1/variants/search', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->variantsets = new Google_Service_Genomics_Variantsets_Resource( + $this, + $this->serviceName, + 'variantsets', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/variantsets', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'delete' => array( + 'path' => 'v1/variantsets/{variantSetId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'variantSetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'export' => array( + 'path' => 'v1/variantsets/{variantSetId}:export', + 'httpMethod' => 'POST', + 'parameters' => array( + 'variantSetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/variantsets/{variantSetId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'variantSetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'v1/variantsets/{variantSetId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'variantSetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'updateMask' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'search' => array( + 'path' => 'v1/variantsets/search', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + } +} + + +/** + * The "callsets" collection of methods. + * Typical usage is: + * + * $genomicsService = new Google_Service_Genomics(...); + * $callsets = $genomicsService->callsets; + * + */ +class Google_Service_Genomics_Callsets_Resource extends Google_Service_Resource +{ + + /** + * Creates a new call set. (callsets.create) + * + * @param Google_CallSet $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_CallSet + */ + public function create(Google_Service_Genomics_CallSet $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Genomics_CallSet"); + } + + /** + * Deletes a call set. (callsets.delete) + * + * @param string $callSetId The ID of the call set to be deleted. + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_Empty + */ + public function delete($callSetId, $optParams = array()) + { + $params = array('callSetId' => $callSetId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Genomics_Empty"); + } + + /** + * Gets a call set by ID. (callsets.get) + * + * @param string $callSetId The ID of the call set. + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_CallSet + */ + public function get($callSetId, $optParams = array()) + { + $params = array('callSetId' => $callSetId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Genomics_CallSet"); + } + + /** + * Updates a call set. This method supports patch semantics. (callsets.patch) + * + * @param string $callSetId The ID of the call set to be updated. + * @param Google_CallSet $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string updateMask An optional mask specifying which fields to + * update. At this time, the only mutable field is name. The only acceptable + * value is "name". If unspecified, all mutable fields will be updated. + * @return Google_Service_Genomics_CallSet + */ + public function patch($callSetId, Google_Service_Genomics_CallSet $postBody, $optParams = array()) + { + $params = array('callSetId' => $callSetId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Genomics_CallSet"); + } + + /** + * Gets a list of call sets matching the criteria. Implements [GlobalAllianceApi + * .searchCallSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resour + * ces/avro/variantmethods.avdl#L178). (callsets.search) + * + * @param Google_SearchCallSetsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_SearchCallSetsResponse + */ + public function search(Google_Service_Genomics_SearchCallSetsRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('search', array($params), "Google_Service_Genomics_SearchCallSetsResponse"); + } +} + +/** + * The "datasets" collection of methods. + * Typical usage is: + * + * $genomicsService = new Google_Service_Genomics(...); + * $datasets = $genomicsService->datasets; + * + */ +class Google_Service_Genomics_Datasets_Resource extends Google_Service_Resource +{ + + /** + * Creates a new dataset. (datasets.create) + * + * @param Google_Dataset $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_Dataset + */ + public function create(Google_Service_Genomics_Dataset $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Genomics_Dataset"); + } + + /** + * Deletes a dataset. (datasets.delete) + * + * @param string $datasetId The ID of the dataset to be deleted. + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_Empty + */ + public function delete($datasetId, $optParams = array()) + { + $params = array('datasetId' => $datasetId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Genomics_Empty"); + } + + /** + * Gets a dataset by ID. (datasets.get) + * + * @param string $datasetId The ID of the dataset. + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_Dataset + */ + public function get($datasetId, $optParams = array()) + { + $params = array('datasetId' => $datasetId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Genomics_Dataset"); + } + + /** + * Gets the access control policy for the dataset. Is empty if the policy or the + * resource does not exist. See Getting a Policy for more information. + * (datasets.getIamPolicy) + * + * @param string $resource REQUIRED: The resource for which policy is being + * specified. Format is `datasets/`. + * @param Google_GetIamPolicyRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_Policy + */ + public function getIamPolicy($resource, Google_Service_Genomics_GetIamPolicyRequest $postBody, $optParams = array()) + { + $params = array('resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('getIamPolicy', array($params), "Google_Service_Genomics_Policy"); + } + + /** + * Lists datasets within a project. (datasets.listDatasets) + * + * @param array $optParams Optional parameters. + * + * @opt_param string projectId Required. The project to list datasets for. + * @opt_param int pageSize The maximum number of results returned by this + * request. If unspecified, defaults to 50. The maximum value is 1024. + * @opt_param string pageToken The continuation token, which is used to page + * through large result sets. To get the next page of results, set this + * parameter to the value of `nextPageToken` from the previous response. + * @return Google_Service_Genomics_ListDatasetsResponse + */ + public function listDatasets($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Genomics_ListDatasetsResponse"); + } + + /** + * Updates a dataset. This method supports patch semantics. (datasets.patch) + * + * @param string $datasetId The ID of the dataset to be updated. + * @param Google_Dataset $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string updateMask An optional mask specifying which fields to + * update. At this time, the only mutable field is name. The only acceptable + * value is "name". If unspecified, all mutable fields will be updated. + * @return Google_Service_Genomics_Dataset + */ + public function patch($datasetId, Google_Service_Genomics_Dataset $postBody, $optParams = array()) + { + $params = array('datasetId' => $datasetId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Genomics_Dataset"); + } + + /** + * Sets the access control policy on the specified dataset. Replaces any + * existing policy. See Setting a Policy for more information. + * (datasets.setIamPolicy) + * + * @param string $resource REQUIRED: The resource for which policy is being + * specified. Format is `datasets/`. + * @param Google_SetIamPolicyRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_Policy + */ + public function setIamPolicy($resource, Google_Service_Genomics_SetIamPolicyRequest $postBody, $optParams = array()) + { + $params = array('resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setIamPolicy', array($params), "Google_Service_Genomics_Policy"); + } + + /** + * Returns permissions that a caller has on the specified resource. See Testing + * Permissions for more information. (datasets.testIamPermissions) + * + * @param string $resource REQUIRED: The resource for which policy is being + * specified. Format is `datasets/`. + * @param Google_TestIamPermissionsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_TestIamPermissionsResponse + */ + public function testIamPermissions($resource, Google_Service_Genomics_TestIamPermissionsRequest $postBody, $optParams = array()) + { + $params = array('resource' => $resource, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('testIamPermissions', array($params), "Google_Service_Genomics_TestIamPermissionsResponse"); + } + + /** + * Undeletes a dataset by restoring a dataset which was deleted via this API. + * This operation is only possible for a week after the deletion occurred. + * (datasets.undelete) + * + * @param string $datasetId The ID of the dataset to be undeleted. + * @param Google_UndeleteDatasetRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_Dataset + */ + public function undelete($datasetId, Google_Service_Genomics_UndeleteDatasetRequest $postBody, $optParams = array()) + { + $params = array('datasetId' => $datasetId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('undelete', array($params), "Google_Service_Genomics_Dataset"); + } +} + +/** + * The "operations" collection of methods. + * Typical usage is: + * + * $genomicsService = new Google_Service_Genomics(...); + * $operations = $genomicsService->operations; + * + */ +class Google_Service_Genomics_Operations_Resource extends Google_Service_Resource +{ + + /** + * Starts asynchronous cancellation on a long-running operation. The server + * makes a best effort to cancel the operation, but success is not guaranteed. + * Clients may use Operations.GetOperation or Operations.ListOperations to check + * whether the cancellation succeeded or the operation completed despite + * cancellation. (operations.cancel) + * + * @param string $name The name of the operation resource to be cancelled. + * @param Google_CancelOperationRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_Empty + */ + public function cancel($name, Google_Service_Genomics_CancelOperationRequest $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('cancel', array($params), "Google_Service_Genomics_Empty"); + } + + /** + * This method is not implemented. To cancel an operation, please use + * Operations.CancelOperation. (operations.delete) + * + * @param string $name The name of the operation resource to be deleted. + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_Empty + */ + public function delete($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Genomics_Empty"); + } + + /** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. (operations.get) + * + * @param string $name The name of the operation resource. + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_Operation + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Genomics_Operation"); + } + + /** + * Lists operations that match the specified filter in the request. + * (operations.listOperations) + * + * @param string $name The name of the operation collection. + * @param array $optParams Optional parameters. + * + * @opt_param string filter A string for filtering Operations. The following + * filter fields are supported: * projectId: Required. Corresponds to + * OperationMetadata.projectId. * createTime: The time this job was created, in + * seconds from the [epoch](http://en.wikipedia.org/wiki/Unix_time). Can use + * `>=` and/or `= 1432140000` * `projectId = my-project AND createTime >= + * 1432140000 AND createTime <= 1432150000 AND status = RUNNING` + * @opt_param string pageToken The standard list page token. + * @opt_param int pageSize The maximum number of results to return. If + * unspecified, defaults to 256. The maximum value is 2048. + * @return Google_Service_Genomics_ListOperationsResponse + */ + public function listOperations($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Genomics_ListOperationsResponse"); + } +} + +/** + * The "readgroupsets" collection of methods. + * Typical usage is: + * + * $genomicsService = new Google_Service_Genomics(...); + * $readgroupsets = $genomicsService->readgroupsets; + * + */ +class Google_Service_Genomics_Readgroupsets_Resource extends Google_Service_Resource +{ + + /** + * Deletes a read group set. (readgroupsets.delete) + * + * @param string $readGroupSetId The ID of the read group set to be deleted. The + * caller must have WRITE permissions to the dataset associated with this read + * group set. + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_Empty + */ + public function delete($readGroupSetId, $optParams = array()) + { + $params = array('readGroupSetId' => $readGroupSetId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Genomics_Empty"); + } + + /** + * Exports a read group set to a BAM file in Google Cloud Storage. Note that + * currently there may be some differences between exported BAM files and the + * original BAM file at the time of import. See + * [ImportReadGroupSets](google.genomics.v1.ReadServiceV1.ImportReadGroupSets) + * for caveats. (readgroupsets.export) + * + * @param string $readGroupSetId Required. The ID of the read group set to + * export. + * @param Google_ExportReadGroupSetRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_Operation + */ + public function export($readGroupSetId, Google_Service_Genomics_ExportReadGroupSetRequest $postBody, $optParams = array()) + { + $params = array('readGroupSetId' => $readGroupSetId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('export', array($params), "Google_Service_Genomics_Operation"); + } + + /** + * Gets a read group set by ID. (readgroupsets.get) + * + * @param string $readGroupSetId The ID of the read group set. + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_ReadGroupSet + */ + public function get($readGroupSetId, $optParams = array()) + { + $params = array('readGroupSetId' => $readGroupSetId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Genomics_ReadGroupSet"); + } + + /** + * Creates read group sets by asynchronously importing the provided information. + * The caller must have WRITE permissions to the dataset. ## Notes on + * [BAM](https://samtools.github.io/hts-specs/SAMv1.pdf) import - Tags will be + * converted to strings - tag types are not preserved - Comments (`@CO`) in the + * input file header will not be preserved - Original header order of references + * (`@SQ`) will not be preserved - Any reverse stranded unmapped reads will be + * reverse complemented, and their qualities (and "BQ" tag, if any) will be + * reversed - Unmapped reads will be stripped of positional information + * (reference name and position) (readgroupsets.import) + * + * @param Google_ImportReadGroupSetsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_Operation + */ + public function import(Google_Service_Genomics_ImportReadGroupSetsRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('import', array($params), "Google_Service_Genomics_Operation"); + } + + /** + * Updates a read group set. This method supports patch semantics. + * (readgroupsets.patch) + * + * @param string $readGroupSetId The ID of the read group set to be updated. The + * caller must have WRITE permissions to the dataset associated with this read + * group set. + * @param Google_ReadGroupSet $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string updateMask An optional mask specifying which fields to + * update. At this time, mutable fields are referenceSetId and name. Acceptable + * values are "referenceSetId" and "name". If unspecified, all mutable fields + * will be updated. + * @return Google_Service_Genomics_ReadGroupSet + */ + public function patch($readGroupSetId, Google_Service_Genomics_ReadGroupSet $postBody, $optParams = array()) + { + $params = array('readGroupSetId' => $readGroupSetId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Genomics_ReadGroupSet"); + } + + /** + * Searches for read group sets matching the criteria. Implements [GlobalAllianc + * eApi.searchReadGroupSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/ma + * in/resources/avro/readmethods.avdl#L135). (readgroupsets.search) + * + * @param Google_SearchReadGroupSetsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_SearchReadGroupSetsResponse + */ + public function search(Google_Service_Genomics_SearchReadGroupSetsRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('search', array($params), "Google_Service_Genomics_SearchReadGroupSetsResponse"); + } +} + +/** + * The "coveragebuckets" collection of methods. + * Typical usage is: + * + * $genomicsService = new Google_Service_Genomics(...); + * $coveragebuckets = $genomicsService->coveragebuckets; + * + */ +class Google_Service_Genomics_ReadgroupsetsCoveragebuckets_Resource extends Google_Service_Resource +{ + + /** + * Lists fixed width coverage buckets for a read group set, each of which + * correspond to a range of a reference sequence. Each bucket summarizes + * coverage information across its corresponding genomic range. Coverage is + * defined as the number of reads which are aligned to a given base in the + * reference sequence. Coverage buckets are available at several precomputed + * bucket widths, enabling retrieval of various coverage 'zoom levels'. The + * caller must have READ permissions for the target read group set. + * (coveragebuckets.listReadgroupsetsCoveragebuckets) + * + * @param string $readGroupSetId Required. The ID of the read group set over + * which coverage is requested. + * @param array $optParams Optional parameters. + * + * @opt_param string end The end position of the range on the reference, 0-based + * exclusive. If specified, `referenceName` must also be specified. If unset or + * 0, defaults to the length of the reference. + * @opt_param int pageSize The maximum number of results to return in a single + * page. If unspecified, defaults to 1024. The maximum value is 2048. + * @opt_param string start The start position of the range on the reference, + * 0-based inclusive. If specified, `referenceName` must also be specified. + * Defaults to 0. + * @opt_param string pageToken The continuation token, which is used to page + * through large result sets. To get the next page of results, set this + * parameter to the value of `nextPageToken` from the previous response. + * @opt_param string targetBucketWidth The desired width of each reported + * coverage bucket in base pairs. This will be rounded down to the nearest + * precomputed bucket width; the value of which is returned as `bucketWidth` in + * the response. Defaults to infinity (each bucket spans an entire reference + * sequence) or the length of the target range, if specified. The smallest + * precomputed `bucketWidth` is currently 2048 base pairs; this is subject to + * change. + * @opt_param string referenceName The name of the reference to query, within + * the reference set associated with this query. Optional. + * @return Google_Service_Genomics_ListCoverageBucketsResponse + */ + public function listReadgroupsetsCoveragebuckets($readGroupSetId, $optParams = array()) + { + $params = array('readGroupSetId' => $readGroupSetId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Genomics_ListCoverageBucketsResponse"); + } +} + +/** + * The "reads" collection of methods. + * Typical usage is: + * + * $genomicsService = new Google_Service_Genomics(...); + * $reads = $genomicsService->reads; + * + */ +class Google_Service_Genomics_Reads_Resource extends Google_Service_Resource +{ + + /** + * Gets a list of reads for one or more read group sets. Reads search operates + * over a genomic coordinate space of reference sequence & position defined over + * the reference sequences to which the requested read group sets are aligned. + * If a target positional range is specified, search returns all reads whose + * alignment to the reference genome overlap the range. A query which specifies + * only read group set IDs yields all reads in those read group sets, including + * unmapped reads. All reads returned (including reads on subsequent pages) are + * ordered by genomic coordinate (reference sequence & position). Reads with + * equivalent genomic coordinates are returned in a deterministic order. + * Implements [GlobalAllianceApi.searchReads](https://github.com/ga4gh/schemas/b + * lob/v0.5.1/src/main/resources/avro/readmethods.avdl#L85). (reads.search) + * + * @param Google_SearchReadsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_SearchReadsResponse + */ + public function search(Google_Service_Genomics_SearchReadsRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('search', array($params), "Google_Service_Genomics_SearchReadsResponse"); + } +} + +/** + * The "references" collection of methods. + * Typical usage is: + * + * $genomicsService = new Google_Service_Genomics(...); + * $references = $genomicsService->references; + * + */ +class Google_Service_Genomics_References_Resource extends Google_Service_Resource +{ + + /** + * Gets a reference. Implements [GlobalAllianceApi.getReference](https://github. + * com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L + * 158). (references.get) + * + * @param string $referenceId The ID of the reference. + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_Reference + */ + public function get($referenceId, $optParams = array()) + { + $params = array('referenceId' => $referenceId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Genomics_Reference"); + } + + /** + * Searches for references which match the given criteria. Implements [GlobalAll + * ianceApi.searchReferences](https://github.com/ga4gh/schemas/blob/v0.5.1/src/m + * ain/resources/avro/referencemethods.avdl#L146). (references.search) + * + * @param Google_SearchReferencesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_SearchReferencesResponse + */ + public function search(Google_Service_Genomics_SearchReferencesRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('search', array($params), "Google_Service_Genomics_SearchReferencesResponse"); + } +} + +/** + * The "bases" collection of methods. + * Typical usage is: + * + * $genomicsService = new Google_Service_Genomics(...); + * $bases = $genomicsService->bases; + * + */ +class Google_Service_Genomics_ReferencesBases_Resource extends Google_Service_Resource +{ + + /** + * Lists the bases in a reference, optionally restricted to a range. Implements + * [GlobalAllianceApi.getReferenceBases](https://github.com/ga4gh/schemas/blob/v + * 0.5.1/src/main/resources/avro/referencemethods.avdl#L221). + * (bases.listReferencesBases) + * + * @param string $referenceId The ID of the reference. + * @param array $optParams Optional parameters. + * + * @opt_param string start The start position (0-based) of this query. Defaults + * to 0. + * @opt_param string end The end position (0-based, exclusive) of this query. + * Defaults to the length of this reference. + * @opt_param int pageSize Specifies the maximum number of bases to return in a + * single page. + * @opt_param string pageToken The continuation token, which is used to page + * through large result sets. To get the next page of results, set this + * parameter to the value of `nextPageToken` from the previous response. + * @return Google_Service_Genomics_ListBasesResponse + */ + public function listReferencesBases($referenceId, $optParams = array()) + { + $params = array('referenceId' => $referenceId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Genomics_ListBasesResponse"); + } +} + +/** + * The "referencesets" collection of methods. + * Typical usage is: + * + * $genomicsService = new Google_Service_Genomics(...); + * $referencesets = $genomicsService->referencesets; + * + */ +class Google_Service_Genomics_Referencesets_Resource extends Google_Service_Resource +{ + + /** + * Gets a reference set. Implements [GlobalAllianceApi.getReferenceSet](https:// + * github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods + * .avdl#L83). (referencesets.get) + * + * @param string $referenceSetId The ID of the reference set. + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_ReferenceSet + */ + public function get($referenceSetId, $optParams = array()) + { + $params = array('referenceSetId' => $referenceSetId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Genomics_ReferenceSet"); + } + + /** + * Searches for reference sets which match the given criteria. Implements [Globa + * lAllianceApi.searchReferenceSets](http://ga4gh.org/documentation/api/v0.5.1/g + * a4gh_api.html#/schema/org.ga4gh.searchReferenceSets). (referencesets.search) + * + * @param Google_SearchReferenceSetsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_SearchReferenceSetsResponse + */ + public function search(Google_Service_Genomics_SearchReferenceSetsRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('search', array($params), "Google_Service_Genomics_SearchReferenceSetsResponse"); + } +} + +/** + * The "variants" collection of methods. + * Typical usage is: + * + * $genomicsService = new Google_Service_Genomics(...); + * $variants = $genomicsService->variants; + * + */ +class Google_Service_Genomics_Variants_Resource extends Google_Service_Resource +{ + + /** + * Creates a new variant. (variants.create) + * + * @param Google_Variant $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_Variant + */ + public function create(Google_Service_Genomics_Variant $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Genomics_Variant"); + } + + /** + * Deletes a variant. (variants.delete) + * + * @param string $variantId The ID of the variant to be deleted. + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_Empty + */ + public function delete($variantId, $optParams = array()) + { + $params = array('variantId' => $variantId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Genomics_Empty"); + } + + /** + * Gets a variant by ID. (variants.get) + * + * @param string $variantId The ID of the variant. + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_Variant + */ + public function get($variantId, $optParams = array()) + { + $params = array('variantId' => $variantId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Genomics_Variant"); + } + + /** + * Creates variant data by asynchronously importing the provided information. + * The variants for import will be merged with any existing variant that matches + * its reference sequence, start, end, reference bases, and alternative bases. + * If no such variant exists, a new one will be created. When variants are + * merged, the call information from the new variant is added to the existing + * variant, and other fields (such as key/value pairs) are discarded. In + * particular, this means for merged VCF variants that have conflicting INFO + * fields, some data will be arbitrarily discarded. As a special case, for + * single-sample VCF files, QUAL and FILTER fields will be moved to the call + * level; these are sometimes interpreted in a call-specific context. Imported + * VCF headers are appended to the metadata already in a variant set. + * (variants.import) + * + * @param Google_ImportVariantsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_Operation + */ + public function import(Google_Service_Genomics_ImportVariantsRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('import', array($params), "Google_Service_Genomics_Operation"); + } + + /** + * Updates a variant. This method supports patch semantics. Returns the modified + * variant without its calls. (variants.patch) + * + * @param string $variantId The ID of the variant to be updated. + * @param Google_Variant $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string updateMask An optional mask specifying which fields to + * update. At this time, mutable fields are names and info. Acceptable values + * are "names" and "info". If unspecified, all mutable fields will be updated. + * @return Google_Service_Genomics_Variant + */ + public function patch($variantId, Google_Service_Genomics_Variant $postBody, $optParams = array()) + { + $params = array('variantId' => $variantId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Genomics_Variant"); + } + + /** + * Gets a list of variants matching the criteria. Implements [GlobalAllianceApi. + * searchVariants](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resourc + * es/avro/variantmethods.avdl#L126). (variants.search) + * + * @param Google_SearchVariantsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_SearchVariantsResponse + */ + public function search(Google_Service_Genomics_SearchVariantsRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('search', array($params), "Google_Service_Genomics_SearchVariantsResponse"); + } +} + +/** + * The "variantsets" collection of methods. + * Typical usage is: + * + * $genomicsService = new Google_Service_Genomics(...); + * $variantsets = $genomicsService->variantsets; + * + */ +class Google_Service_Genomics_Variantsets_Resource extends Google_Service_Resource +{ + + /** + * Creates a new variant set. The provided variant set must have a valid + * `datasetId` set - all other fields are optional. Note that the `id` field + * will be ignored, as this is assigned by the server. (variantsets.create) + * + * @param Google_VariantSet $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_VariantSet + */ + public function create(Google_Service_Genomics_VariantSet $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Genomics_VariantSet"); + } + + /** + * Deletes the contents of a variant set. The variant set object is not deleted. + * (variantsets.delete) + * + * @param string $variantSetId The ID of the variant set to be deleted. + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_Empty + */ + public function delete($variantSetId, $optParams = array()) + { + $params = array('variantSetId' => $variantSetId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Genomics_Empty"); + } + + /** + * Exports variant set data to an external destination. (variantsets.export) + * + * @param string $variantSetId Required. The ID of the variant set that contains + * variant data which should be exported. The caller must have READ access to + * this variant set. + * @param Google_ExportVariantSetRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_Operation + */ + public function export($variantSetId, Google_Service_Genomics_ExportVariantSetRequest $postBody, $optParams = array()) + { + $params = array('variantSetId' => $variantSetId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('export', array($params), "Google_Service_Genomics_Operation"); + } + + /** + * Gets a variant set by ID. (variantsets.get) + * + * @param string $variantSetId Required. The ID of the variant set. + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_VariantSet + */ + public function get($variantSetId, $optParams = array()) + { + $params = array('variantSetId' => $variantSetId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Genomics_VariantSet"); + } + + /** + * Updates a variant set. This method supports patch semantics. + * (variantsets.patch) + * + * @param string $variantSetId The ID of the variant to be updated (must already + * exist). + * @param Google_VariantSet $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string updateMask An optional mask specifying which fields to + * update. At this time, the only mutable field is metadata. The only acceptable + * value is "metadata". If unspecified, all mutable fields will be updated. + * @return Google_Service_Genomics_VariantSet + */ + public function patch($variantSetId, Google_Service_Genomics_VariantSet $postBody, $optParams = array()) + { + $params = array('variantSetId' => $variantSetId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Genomics_VariantSet"); + } + + /** + * Returns a list of all variant sets matching search criteria. Implements [Glob + * alAllianceApi.searchVariantSets](https://github.com/ga4gh/schemas/blob/v0.5.1 + * /src/main/resources/avro/variantmethods.avdl#L49). (variantsets.search) + * + * @param Google_SearchVariantSetsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Genomics_SearchVariantSetsResponse + */ + public function search(Google_Service_Genomics_SearchVariantSetsRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('search', array($params), "Google_Service_Genomics_SearchVariantSetsResponse"); + } +} + + + + +class Google_Service_Genomics_Binding extends Google_Collection +{ + protected $collection_key = 'members'; + protected $internal_gapi_mappings = array( + ); + public $members; + public $role; + + + public function setMembers($members) + { + $this->members = $members; + } + public function getMembers() + { + return $this->members; + } + public function setRole($role) + { + $this->role = $role; + } + public function getRole() + { + return $this->role; + } +} + +class Google_Service_Genomics_CallSet extends Google_Collection +{ + protected $collection_key = 'variantSetIds'; + protected $internal_gapi_mappings = array( + ); + public $created; + public $id; + public $info; + public $name; + public $sampleId; + public $variantSetIds; + + + public function setCreated($created) + { + $this->created = $created; + } + public function getCreated() + { + return $this->created; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInfo($info) + { + $this->info = $info; + } + public function getInfo() + { + return $this->info; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSampleId($sampleId) + { + $this->sampleId = $sampleId; + } + public function getSampleId() + { + return $this->sampleId; + } + public function setVariantSetIds($variantSetIds) + { + $this->variantSetIds = $variantSetIds; + } + public function getVariantSetIds() + { + return $this->variantSetIds; + } +} + +class Google_Service_Genomics_CallSetInfo extends Google_Model +{ +} + +class Google_Service_Genomics_CancelOperationRequest extends Google_Model +{ +} + +class Google_Service_Genomics_CigarUnit extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $operation; + public $operationLength; + public $referenceSequence; + + + public function setOperation($operation) + { + $this->operation = $operation; + } + public function getOperation() + { + return $this->operation; + } + public function setOperationLength($operationLength) + { + $this->operationLength = $operationLength; + } + public function getOperationLength() + { + return $this->operationLength; + } + public function setReferenceSequence($referenceSequence) + { + $this->referenceSequence = $referenceSequence; + } + public function getReferenceSequence() + { + return $this->referenceSequence; + } +} + +class Google_Service_Genomics_CoverageBucket extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $meanCoverage; + protected $rangeType = 'Google_Service_Genomics_Range'; + protected $rangeDataType = ''; + + + public function setMeanCoverage($meanCoverage) + { + $this->meanCoverage = $meanCoverage; + } + public function getMeanCoverage() + { + return $this->meanCoverage; + } + public function setRange(Google_Service_Genomics_Range $range) + { + $this->range = $range; + } + public function getRange() + { + return $this->range; + } +} + +class Google_Service_Genomics_Dataset extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $createTime; + public $id; + public $name; + public $projectId; + + + public function setCreateTime($createTime) + { + $this->createTime = $createTime; + } + public function getCreateTime() + { + return $this->createTime; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } +} + +class Google_Service_Genomics_Empty extends Google_Model +{ +} + +class Google_Service_Genomics_Experiment extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $instrumentModel; + public $libraryId; + public $platformUnit; + public $sequencingCenter; + + + public function setInstrumentModel($instrumentModel) + { + $this->instrumentModel = $instrumentModel; + } + public function getInstrumentModel() + { + return $this->instrumentModel; + } + public function setLibraryId($libraryId) + { + $this->libraryId = $libraryId; + } + public function getLibraryId() + { + return $this->libraryId; + } + public function setPlatformUnit($platformUnit) + { + $this->platformUnit = $platformUnit; + } + public function getPlatformUnit() + { + return $this->platformUnit; + } + public function setSequencingCenter($sequencingCenter) + { + $this->sequencingCenter = $sequencingCenter; + } + public function getSequencingCenter() + { + return $this->sequencingCenter; + } +} + +class Google_Service_Genomics_ExportReadGroupSetRequest extends Google_Collection +{ + protected $collection_key = 'referenceNames'; + protected $internal_gapi_mappings = array( + ); + public $exportUri; + public $projectId; + public $referenceNames; + + + public function setExportUri($exportUri) + { + $this->exportUri = $exportUri; + } + public function getExportUri() + { + return $this->exportUri; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } + public function setReferenceNames($referenceNames) + { + $this->referenceNames = $referenceNames; + } + public function getReferenceNames() + { + return $this->referenceNames; + } +} + +class Google_Service_Genomics_ExportVariantSetRequest extends Google_Collection +{ + protected $collection_key = 'callSetIds'; + protected $internal_gapi_mappings = array( + ); + public $bigqueryDataset; + public $bigqueryTable; + public $callSetIds; + public $format; + public $projectId; + + + public function setBigqueryDataset($bigqueryDataset) + { + $this->bigqueryDataset = $bigqueryDataset; + } + public function getBigqueryDataset() + { + return $this->bigqueryDataset; + } + public function setBigqueryTable($bigqueryTable) + { + $this->bigqueryTable = $bigqueryTable; + } + public function getBigqueryTable() + { + return $this->bigqueryTable; + } + public function setCallSetIds($callSetIds) + { + $this->callSetIds = $callSetIds; + } + public function getCallSetIds() + { + return $this->callSetIds; + } + public function setFormat($format) + { + $this->format = $format; + } + public function getFormat() + { + return $this->format; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } +} + +class Google_Service_Genomics_GetIamPolicyRequest extends Google_Model +{ +} + +class Google_Service_Genomics_ImportReadGroupSetsRequest extends Google_Collection +{ + protected $collection_key = 'sourceUris'; + protected $internal_gapi_mappings = array( + ); + public $datasetId; + public $partitionStrategy; + public $referenceSetId; + public $sourceUris; + + + public function setDatasetId($datasetId) + { + $this->datasetId = $datasetId; + } + public function getDatasetId() + { + return $this->datasetId; + } + public function setPartitionStrategy($partitionStrategy) + { + $this->partitionStrategy = $partitionStrategy; + } + public function getPartitionStrategy() + { + return $this->partitionStrategy; + } + public function setReferenceSetId($referenceSetId) + { + $this->referenceSetId = $referenceSetId; + } + public function getReferenceSetId() + { + return $this->referenceSetId; + } + public function setSourceUris($sourceUris) + { + $this->sourceUris = $sourceUris; + } + public function getSourceUris() + { + return $this->sourceUris; + } +} + +class Google_Service_Genomics_ImportReadGroupSetsResponse extends Google_Collection +{ + protected $collection_key = 'readGroupSetIds'; + protected $internal_gapi_mappings = array( + ); + public $readGroupSetIds; + + + public function setReadGroupSetIds($readGroupSetIds) + { + $this->readGroupSetIds = $readGroupSetIds; + } + public function getReadGroupSetIds() + { + return $this->readGroupSetIds; + } +} + +class Google_Service_Genomics_ImportVariantsRequest extends Google_Collection +{ + protected $collection_key = 'sourceUris'; + protected $internal_gapi_mappings = array( + ); + public $format; + public $normalizeReferenceNames; + public $sourceUris; + public $variantSetId; + + + public function setFormat($format) + { + $this->format = $format; + } + public function getFormat() + { + return $this->format; + } + public function setNormalizeReferenceNames($normalizeReferenceNames) + { + $this->normalizeReferenceNames = $normalizeReferenceNames; + } + public function getNormalizeReferenceNames() + { + return $this->normalizeReferenceNames; + } + public function setSourceUris($sourceUris) + { + $this->sourceUris = $sourceUris; + } + public function getSourceUris() + { + return $this->sourceUris; + } + public function setVariantSetId($variantSetId) + { + $this->variantSetId = $variantSetId; + } + public function getVariantSetId() + { + return $this->variantSetId; + } +} + +class Google_Service_Genomics_ImportVariantsResponse extends Google_Collection +{ + protected $collection_key = 'callSetIds'; + protected $internal_gapi_mappings = array( + ); + public $callSetIds; + + + public function setCallSetIds($callSetIds) + { + $this->callSetIds = $callSetIds; + } + public function getCallSetIds() + { + return $this->callSetIds; + } +} + +class Google_Service_Genomics_LinearAlignment extends Google_Collection +{ + protected $collection_key = 'cigar'; + protected $internal_gapi_mappings = array( + ); + protected $cigarType = 'Google_Service_Genomics_CigarUnit'; + protected $cigarDataType = 'array'; + public $mappingQuality; + protected $positionType = 'Google_Service_Genomics_Position'; + protected $positionDataType = ''; + + + public function setCigar($cigar) + { + $this->cigar = $cigar; + } + public function getCigar() + { + return $this->cigar; + } + public function setMappingQuality($mappingQuality) + { + $this->mappingQuality = $mappingQuality; + } + public function getMappingQuality() + { + return $this->mappingQuality; + } + public function setPosition(Google_Service_Genomics_Position $position) + { + $this->position = $position; + } + public function getPosition() + { + return $this->position; + } +} + +class Google_Service_Genomics_ListBasesResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $nextPageToken; + public $offset; + public $sequence; + + + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setOffset($offset) + { + $this->offset = $offset; + } + public function getOffset() + { + return $this->offset; + } + public function setSequence($sequence) + { + $this->sequence = $sequence; + } + public function getSequence() + { + return $this->sequence; + } +} + +class Google_Service_Genomics_ListCoverageBucketsResponse extends Google_Collection +{ + protected $collection_key = 'coverageBuckets'; + protected $internal_gapi_mappings = array( + ); + public $bucketWidth; + protected $coverageBucketsType = 'Google_Service_Genomics_CoverageBucket'; + protected $coverageBucketsDataType = 'array'; + public $nextPageToken; + + + public function setBucketWidth($bucketWidth) + { + $this->bucketWidth = $bucketWidth; + } + public function getBucketWidth() + { + return $this->bucketWidth; + } + public function setCoverageBuckets($coverageBuckets) + { + $this->coverageBuckets = $coverageBuckets; + } + public function getCoverageBuckets() + { + return $this->coverageBuckets; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Genomics_ListDatasetsResponse extends Google_Collection +{ + protected $collection_key = 'datasets'; + protected $internal_gapi_mappings = array( + ); + protected $datasetsType = 'Google_Service_Genomics_Dataset'; + protected $datasetsDataType = 'array'; + public $nextPageToken; + + + public function setDatasets($datasets) + { + $this->datasets = $datasets; + } + public function getDatasets() + { + return $this->datasets; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Genomics_ListOperationsResponse extends Google_Collection +{ + protected $collection_key = 'operations'; + protected $internal_gapi_mappings = array( + ); + public $nextPageToken; + protected $operationsType = 'Google_Service_Genomics_Operation'; + protected $operationsDataType = 'array'; + + + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setOperations($operations) + { + $this->operations = $operations; + } + public function getOperations() + { + return $this->operations; + } +} + +class Google_Service_Genomics_Operation extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $done; + protected $errorType = 'Google_Service_Genomics_Status'; + protected $errorDataType = ''; + public $metadata; + public $name; + public $response; + + + public function setDone($done) + { + $this->done = $done; + } + public function getDone() + { + return $this->done; + } + public function setError(Google_Service_Genomics_Status $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setMetadata($metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setResponse($response) + { + $this->response = $response; + } + public function getResponse() + { + return $this->response; + } +} + +class Google_Service_Genomics_OperationEvent extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $description; + + + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } +} + +class Google_Service_Genomics_OperationMetadata extends Google_Collection +{ + protected $collection_key = 'events'; + protected $internal_gapi_mappings = array( + ); + public $createTime; + protected $eventsType = 'Google_Service_Genomics_OperationEvent'; + protected $eventsDataType = 'array'; + public $projectId; + public $request; + + + public function setCreateTime($createTime) + { + $this->createTime = $createTime; + } + public function getCreateTime() + { + return $this->createTime; + } + public function setEvents($events) + { + $this->events = $events; + } + public function getEvents() + { + return $this->events; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } + public function setRequest($request) + { + $this->request = $request; + } + public function getRequest() + { + return $this->request; + } +} + +class Google_Service_Genomics_OperationMetadataRequest extends Google_Model +{ +} + +class Google_Service_Genomics_OperationResponse extends Google_Model +{ +} + +class Google_Service_Genomics_Policy extends Google_Collection +{ + protected $collection_key = 'bindings'; + protected $internal_gapi_mappings = array( + ); + protected $bindingsType = 'Google_Service_Genomics_Binding'; + protected $bindingsDataType = 'array'; + public $etag; + public $version; + + + public function setBindings($bindings) + { + $this->bindings = $bindings; + } + public function getBindings() + { + return $this->bindings; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} + +class Google_Service_Genomics_Position extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $position; + public $referenceName; + public $reverseStrand; + + + public function setPosition($position) + { + $this->position = $position; + } + public function getPosition() + { + return $this->position; + } + public function setReferenceName($referenceName) + { + $this->referenceName = $referenceName; + } + public function getReferenceName() + { + return $this->referenceName; + } + public function setReverseStrand($reverseStrand) + { + $this->reverseStrand = $reverseStrand; + } + public function getReverseStrand() + { + return $this->reverseStrand; + } +} + +class Google_Service_Genomics_Program extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $commandLine; + public $id; + public $name; + public $prevProgramId; + public $version; + + + public function setCommandLine($commandLine) + { + $this->commandLine = $commandLine; + } + public function getCommandLine() + { + return $this->commandLine; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPrevProgramId($prevProgramId) + { + $this->prevProgramId = $prevProgramId; + } + public function getPrevProgramId() + { + return $this->prevProgramId; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} + +class Google_Service_Genomics_Range extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $end; + public $referenceName; + public $start; + + + public function setEnd($end) + { + $this->end = $end; + } + public function getEnd() + { + return $this->end; + } + public function setReferenceName($referenceName) + { + $this->referenceName = $referenceName; + } + public function getReferenceName() + { + return $this->referenceName; + } + public function setStart($start) + { + $this->start = $start; + } + public function getStart() + { + return $this->start; + } +} + +class Google_Service_Genomics_Read extends Google_Collection +{ + protected $collection_key = 'alignedQuality'; + protected $internal_gapi_mappings = array( + ); + public $alignedQuality; + public $alignedSequence; + protected $alignmentType = 'Google_Service_Genomics_LinearAlignment'; + protected $alignmentDataType = ''; + public $duplicateFragment; + public $failedVendorQualityChecks; + public $fragmentLength; + public $fragmentName; + public $id; + public $info; + protected $nextMatePositionType = 'Google_Service_Genomics_Position'; + protected $nextMatePositionDataType = ''; + public $numberReads; + public $properPlacement; + public $readGroupId; + public $readGroupSetId; + public $readNumber; + public $secondaryAlignment; + public $supplementaryAlignment; + + + public function setAlignedQuality($alignedQuality) + { + $this->alignedQuality = $alignedQuality; + } + public function getAlignedQuality() + { + return $this->alignedQuality; + } + public function setAlignedSequence($alignedSequence) + { + $this->alignedSequence = $alignedSequence; + } + public function getAlignedSequence() + { + return $this->alignedSequence; + } + public function setAlignment(Google_Service_Genomics_LinearAlignment $alignment) + { + $this->alignment = $alignment; + } + public function getAlignment() + { + return $this->alignment; + } + public function setDuplicateFragment($duplicateFragment) + { + $this->duplicateFragment = $duplicateFragment; + } + public function getDuplicateFragment() + { + return $this->duplicateFragment; + } + public function setFailedVendorQualityChecks($failedVendorQualityChecks) + { + $this->failedVendorQualityChecks = $failedVendorQualityChecks; + } + public function getFailedVendorQualityChecks() + { + return $this->failedVendorQualityChecks; + } + public function setFragmentLength($fragmentLength) + { + $this->fragmentLength = $fragmentLength; + } + public function getFragmentLength() + { + return $this->fragmentLength; + } + public function setFragmentName($fragmentName) + { + $this->fragmentName = $fragmentName; + } + public function getFragmentName() + { + return $this->fragmentName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInfo($info) + { + $this->info = $info; + } + public function getInfo() + { + return $this->info; + } + public function setNextMatePosition(Google_Service_Genomics_Position $nextMatePosition) + { + $this->nextMatePosition = $nextMatePosition; + } + public function getNextMatePosition() + { + return $this->nextMatePosition; + } + public function setNumberReads($numberReads) + { + $this->numberReads = $numberReads; + } + public function getNumberReads() + { + return $this->numberReads; + } + public function setProperPlacement($properPlacement) + { + $this->properPlacement = $properPlacement; + } + public function getProperPlacement() + { + return $this->properPlacement; + } + public function setReadGroupId($readGroupId) + { + $this->readGroupId = $readGroupId; + } + public function getReadGroupId() + { + return $this->readGroupId; + } + public function setReadGroupSetId($readGroupSetId) + { + $this->readGroupSetId = $readGroupSetId; + } + public function getReadGroupSetId() + { + return $this->readGroupSetId; + } + public function setReadNumber($readNumber) + { + $this->readNumber = $readNumber; + } + public function getReadNumber() + { + return $this->readNumber; + } + public function setSecondaryAlignment($secondaryAlignment) + { + $this->secondaryAlignment = $secondaryAlignment; + } + public function getSecondaryAlignment() + { + return $this->secondaryAlignment; + } + public function setSupplementaryAlignment($supplementaryAlignment) + { + $this->supplementaryAlignment = $supplementaryAlignment; + } + public function getSupplementaryAlignment() + { + return $this->supplementaryAlignment; + } +} + +class Google_Service_Genomics_ReadGroup extends Google_Collection +{ + protected $collection_key = 'programs'; + protected $internal_gapi_mappings = array( + ); + public $datasetId; + public $description; + protected $experimentType = 'Google_Service_Genomics_Experiment'; + protected $experimentDataType = ''; + public $id; + public $info; + public $name; + public $predictedInsertSize; + protected $programsType = 'Google_Service_Genomics_Program'; + protected $programsDataType = 'array'; + public $referenceSetId; + public $sampleId; + + + public function setDatasetId($datasetId) + { + $this->datasetId = $datasetId; + } + public function getDatasetId() + { + return $this->datasetId; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setExperiment(Google_Service_Genomics_Experiment $experiment) + { + $this->experiment = $experiment; + } + public function getExperiment() + { + return $this->experiment; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInfo($info) + { + $this->info = $info; + } + public function getInfo() + { + return $this->info; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPredictedInsertSize($predictedInsertSize) + { + $this->predictedInsertSize = $predictedInsertSize; + } + public function getPredictedInsertSize() + { + return $this->predictedInsertSize; + } + public function setPrograms($programs) + { + $this->programs = $programs; + } + public function getPrograms() + { + return $this->programs; + } + public function setReferenceSetId($referenceSetId) + { + $this->referenceSetId = $referenceSetId; + } + public function getReferenceSetId() + { + return $this->referenceSetId; + } + public function setSampleId($sampleId) + { + $this->sampleId = $sampleId; + } + public function getSampleId() + { + return $this->sampleId; + } +} + +class Google_Service_Genomics_ReadGroupInfo extends Google_Model +{ +} + +class Google_Service_Genomics_ReadGroupSet extends Google_Collection +{ + protected $collection_key = 'readGroups'; + protected $internal_gapi_mappings = array( + ); + public $datasetId; + public $filename; + public $id; + public $info; + public $name; + protected $readGroupsType = 'Google_Service_Genomics_ReadGroup'; + protected $readGroupsDataType = 'array'; + public $referenceSetId; + + + public function setDatasetId($datasetId) + { + $this->datasetId = $datasetId; + } + public function getDatasetId() + { + return $this->datasetId; + } + public function setFilename($filename) + { + $this->filename = $filename; + } + public function getFilename() + { + return $this->filename; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInfo($info) + { + $this->info = $info; + } + public function getInfo() + { + return $this->info; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setReadGroups($readGroups) + { + $this->readGroups = $readGroups; + } + public function getReadGroups() + { + return $this->readGroups; + } + public function setReferenceSetId($referenceSetId) + { + $this->referenceSetId = $referenceSetId; + } + public function getReferenceSetId() + { + return $this->referenceSetId; + } +} + +class Google_Service_Genomics_ReadGroupSetInfo extends Google_Model +{ +} + +class Google_Service_Genomics_ReadInfo extends Google_Model +{ +} + +class Google_Service_Genomics_Reference extends Google_Collection +{ + protected $collection_key = 'sourceAccessions'; + protected $internal_gapi_mappings = array( + ); + public $id; + public $length; + public $md5checksum; + public $name; + public $ncbiTaxonId; + public $sourceAccessions; + public $sourceUri; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setLength($length) + { + $this->length = $length; + } + public function getLength() + { + return $this->length; + } + public function setMd5checksum($md5checksum) + { + $this->md5checksum = $md5checksum; + } + public function getMd5checksum() + { + return $this->md5checksum; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNcbiTaxonId($ncbiTaxonId) + { + $this->ncbiTaxonId = $ncbiTaxonId; + } + public function getNcbiTaxonId() + { + return $this->ncbiTaxonId; + } + public function setSourceAccessions($sourceAccessions) + { + $this->sourceAccessions = $sourceAccessions; + } + public function getSourceAccessions() + { + return $this->sourceAccessions; + } + public function setSourceUri($sourceUri) + { + $this->sourceUri = $sourceUri; + } + public function getSourceUri() + { + return $this->sourceUri; + } +} + +class Google_Service_Genomics_ReferenceBound extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $referenceName; + public $upperBound; + + + public function setReferenceName($referenceName) + { + $this->referenceName = $referenceName; + } + public function getReferenceName() + { + return $this->referenceName; + } + public function setUpperBound($upperBound) + { + $this->upperBound = $upperBound; + } + public function getUpperBound() + { + return $this->upperBound; + } +} + +class Google_Service_Genomics_ReferenceSet extends Google_Collection +{ + protected $collection_key = 'sourceAccessions'; + protected $internal_gapi_mappings = array( + ); + public $assemblyId; + public $description; + public $id; + public $md5checksum; + public $ncbiTaxonId; + public $referenceIds; + public $sourceAccessions; + public $sourceUri; + + + public function setAssemblyId($assemblyId) + { + $this->assemblyId = $assemblyId; + } + public function getAssemblyId() + { + return $this->assemblyId; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setMd5checksum($md5checksum) + { + $this->md5checksum = $md5checksum; + } + public function getMd5checksum() + { + return $this->md5checksum; + } + public function setNcbiTaxonId($ncbiTaxonId) + { + $this->ncbiTaxonId = $ncbiTaxonId; + } + public function getNcbiTaxonId() + { + return $this->ncbiTaxonId; + } + public function setReferenceIds($referenceIds) + { + $this->referenceIds = $referenceIds; + } + public function getReferenceIds() + { + return $this->referenceIds; + } + public function setSourceAccessions($sourceAccessions) + { + $this->sourceAccessions = $sourceAccessions; + } + public function getSourceAccessions() + { + return $this->sourceAccessions; + } + public function setSourceUri($sourceUri) + { + $this->sourceUri = $sourceUri; + } + public function getSourceUri() + { + return $this->sourceUri; + } +} + +class Google_Service_Genomics_SearchCallSetsRequest extends Google_Collection +{ + protected $collection_key = 'variantSetIds'; + protected $internal_gapi_mappings = array( + ); + public $name; + public $pageSize; + public $pageToken; + public $variantSetIds; + + + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPageSize($pageSize) + { + $this->pageSize = $pageSize; + } + public function getPageSize() + { + return $this->pageSize; + } + public function setPageToken($pageToken) + { + $this->pageToken = $pageToken; + } + public function getPageToken() + { + return $this->pageToken; + } + public function setVariantSetIds($variantSetIds) + { + $this->variantSetIds = $variantSetIds; + } + public function getVariantSetIds() + { + return $this->variantSetIds; + } +} + +class Google_Service_Genomics_SearchCallSetsResponse extends Google_Collection +{ + protected $collection_key = 'callSets'; + protected $internal_gapi_mappings = array( + ); + protected $callSetsType = 'Google_Service_Genomics_CallSet'; + protected $callSetsDataType = 'array'; + public $nextPageToken; + + + public function setCallSets($callSets) + { + $this->callSets = $callSets; + } + public function getCallSets() + { + return $this->callSets; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Genomics_SearchReadGroupSetsRequest extends Google_Collection +{ + protected $collection_key = 'datasetIds'; + protected $internal_gapi_mappings = array( + ); + public $datasetIds; + public $name; + public $pageSize; + public $pageToken; + + + public function setDatasetIds($datasetIds) + { + $this->datasetIds = $datasetIds; + } + public function getDatasetIds() + { + return $this->datasetIds; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPageSize($pageSize) + { + $this->pageSize = $pageSize; + } + public function getPageSize() + { + return $this->pageSize; + } + public function setPageToken($pageToken) + { + $this->pageToken = $pageToken; + } + public function getPageToken() + { + return $this->pageToken; + } +} + +class Google_Service_Genomics_SearchReadGroupSetsResponse extends Google_Collection +{ + protected $collection_key = 'readGroupSets'; + protected $internal_gapi_mappings = array( + ); + public $nextPageToken; + protected $readGroupSetsType = 'Google_Service_Genomics_ReadGroupSet'; + protected $readGroupSetsDataType = 'array'; + + + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setReadGroupSets($readGroupSets) + { + $this->readGroupSets = $readGroupSets; + } + public function getReadGroupSets() + { + return $this->readGroupSets; + } +} + +class Google_Service_Genomics_SearchReadsRequest extends Google_Collection +{ + protected $collection_key = 'readGroupSetIds'; + protected $internal_gapi_mappings = array( + ); + public $end; + public $pageSize; + public $pageToken; + public $readGroupIds; + public $readGroupSetIds; + public $referenceName; + public $start; + + + public function setEnd($end) + { + $this->end = $end; + } + public function getEnd() + { + return $this->end; + } + public function setPageSize($pageSize) + { + $this->pageSize = $pageSize; + } + public function getPageSize() + { + return $this->pageSize; + } + public function setPageToken($pageToken) + { + $this->pageToken = $pageToken; + } + public function getPageToken() + { + return $this->pageToken; + } + public function setReadGroupIds($readGroupIds) + { + $this->readGroupIds = $readGroupIds; + } + public function getReadGroupIds() + { + return $this->readGroupIds; + } + public function setReadGroupSetIds($readGroupSetIds) + { + $this->readGroupSetIds = $readGroupSetIds; + } + public function getReadGroupSetIds() + { + return $this->readGroupSetIds; + } + public function setReferenceName($referenceName) + { + $this->referenceName = $referenceName; + } + public function getReferenceName() + { + return $this->referenceName; + } + public function setStart($start) + { + $this->start = $start; + } + public function getStart() + { + return $this->start; + } +} + +class Google_Service_Genomics_SearchReadsResponse extends Google_Collection +{ + protected $collection_key = 'alignments'; + protected $internal_gapi_mappings = array( + ); + protected $alignmentsType = 'Google_Service_Genomics_Read'; + protected $alignmentsDataType = 'array'; + public $nextPageToken; + + + public function setAlignments($alignments) + { + $this->alignments = $alignments; + } + public function getAlignments() + { + return $this->alignments; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Genomics_SearchReferenceSetsRequest extends Google_Collection +{ + protected $collection_key = 'md5checksums'; + protected $internal_gapi_mappings = array( + ); + public $accessions; + public $assemblyId; + public $md5checksums; + public $pageSize; + public $pageToken; + + + public function setAccessions($accessions) + { + $this->accessions = $accessions; + } + public function getAccessions() + { + return $this->accessions; + } + public function setAssemblyId($assemblyId) + { + $this->assemblyId = $assemblyId; + } + public function getAssemblyId() + { + return $this->assemblyId; + } + public function setMd5checksums($md5checksums) + { + $this->md5checksums = $md5checksums; + } + public function getMd5checksums() + { + return $this->md5checksums; + } + public function setPageSize($pageSize) + { + $this->pageSize = $pageSize; + } + public function getPageSize() + { + return $this->pageSize; + } + public function setPageToken($pageToken) + { + $this->pageToken = $pageToken; + } + public function getPageToken() + { + return $this->pageToken; + } +} + +class Google_Service_Genomics_SearchReferenceSetsResponse extends Google_Collection +{ + protected $collection_key = 'referenceSets'; + protected $internal_gapi_mappings = array( + ); + public $nextPageToken; + protected $referenceSetsType = 'Google_Service_Genomics_ReferenceSet'; + protected $referenceSetsDataType = 'array'; + + + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setReferenceSets($referenceSets) + { + $this->referenceSets = $referenceSets; + } + public function getReferenceSets() + { + return $this->referenceSets; + } +} + +class Google_Service_Genomics_SearchReferencesRequest extends Google_Collection +{ + protected $collection_key = 'md5checksums'; + protected $internal_gapi_mappings = array( + ); + public $accessions; + public $md5checksums; + public $pageSize; + public $pageToken; + public $referenceSetId; + + + public function setAccessions($accessions) + { + $this->accessions = $accessions; + } + public function getAccessions() + { + return $this->accessions; + } + public function setMd5checksums($md5checksums) + { + $this->md5checksums = $md5checksums; + } + public function getMd5checksums() + { + return $this->md5checksums; + } + public function setPageSize($pageSize) + { + $this->pageSize = $pageSize; + } + public function getPageSize() + { + return $this->pageSize; + } + public function setPageToken($pageToken) + { + $this->pageToken = $pageToken; + } + public function getPageToken() + { + return $this->pageToken; + } + public function setReferenceSetId($referenceSetId) + { + $this->referenceSetId = $referenceSetId; + } + public function getReferenceSetId() + { + return $this->referenceSetId; + } +} + +class Google_Service_Genomics_SearchReferencesResponse extends Google_Collection +{ + protected $collection_key = 'references'; + protected $internal_gapi_mappings = array( + ); + public $nextPageToken; + protected $referencesType = 'Google_Service_Genomics_Reference'; + protected $referencesDataType = 'array'; + + + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setReferences($references) + { + $this->references = $references; + } + public function getReferences() + { + return $this->references; + } +} + +class Google_Service_Genomics_SearchVariantSetsRequest extends Google_Collection +{ + protected $collection_key = 'datasetIds'; + protected $internal_gapi_mappings = array( + ); + public $datasetIds; + public $pageSize; + public $pageToken; + + + public function setDatasetIds($datasetIds) + { + $this->datasetIds = $datasetIds; + } + public function getDatasetIds() + { + return $this->datasetIds; + } + public function setPageSize($pageSize) + { + $this->pageSize = $pageSize; + } + public function getPageSize() + { + return $this->pageSize; + } + public function setPageToken($pageToken) + { + $this->pageToken = $pageToken; + } + public function getPageToken() + { + return $this->pageToken; + } +} + +class Google_Service_Genomics_SearchVariantSetsResponse extends Google_Collection +{ + protected $collection_key = 'variantSets'; + protected $internal_gapi_mappings = array( + ); + public $nextPageToken; + protected $variantSetsType = 'Google_Service_Genomics_VariantSet'; + protected $variantSetsDataType = 'array'; + + + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setVariantSets($variantSets) + { + $this->variantSets = $variantSets; + } + public function getVariantSets() + { + return $this->variantSets; + } +} + +class Google_Service_Genomics_SearchVariantsRequest extends Google_Collection +{ + protected $collection_key = 'variantSetIds'; + protected $internal_gapi_mappings = array( + ); + public $callSetIds; + public $end; + public $maxCalls; + public $pageSize; + public $pageToken; + public $referenceName; + public $start; + public $variantName; + public $variantSetIds; + + + public function setCallSetIds($callSetIds) + { + $this->callSetIds = $callSetIds; + } + public function getCallSetIds() + { + return $this->callSetIds; + } + public function setEnd($end) + { + $this->end = $end; + } + public function getEnd() + { + return $this->end; + } + public function setMaxCalls($maxCalls) + { + $this->maxCalls = $maxCalls; + } + public function getMaxCalls() + { + return $this->maxCalls; + } + public function setPageSize($pageSize) + { + $this->pageSize = $pageSize; + } + public function getPageSize() + { + return $this->pageSize; + } + public function setPageToken($pageToken) + { + $this->pageToken = $pageToken; + } + public function getPageToken() + { + return $this->pageToken; + } + public function setReferenceName($referenceName) + { + $this->referenceName = $referenceName; + } + public function getReferenceName() + { + return $this->referenceName; + } + public function setStart($start) + { + $this->start = $start; + } + public function getStart() + { + return $this->start; + } + public function setVariantName($variantName) + { + $this->variantName = $variantName; + } + public function getVariantName() + { + return $this->variantName; + } + public function setVariantSetIds($variantSetIds) + { + $this->variantSetIds = $variantSetIds; + } + public function getVariantSetIds() + { + return $this->variantSetIds; + } +} + +class Google_Service_Genomics_SearchVariantsResponse extends Google_Collection +{ + protected $collection_key = 'variants'; + protected $internal_gapi_mappings = array( + ); + public $nextPageToken; + protected $variantsType = 'Google_Service_Genomics_Variant'; + protected $variantsDataType = 'array'; + + + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setVariants($variants) + { + $this->variants = $variants; + } + public function getVariants() + { + return $this->variants; + } +} + +class Google_Service_Genomics_SetIamPolicyRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $policyType = 'Google_Service_Genomics_Policy'; + protected $policyDataType = ''; + + + public function setPolicy(Google_Service_Genomics_Policy $policy) + { + $this->policy = $policy; + } + public function getPolicy() + { + return $this->policy; + } +} + +class Google_Service_Genomics_Status extends Google_Collection +{ + protected $collection_key = 'details'; + protected $internal_gapi_mappings = array( + ); + public $code; + public $details; + public $message; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setDetails($details) + { + $this->details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_Genomics_StatusDetails extends Google_Model +{ +} + +class Google_Service_Genomics_TestIamPermissionsRequest extends Google_Collection +{ + protected $collection_key = 'permissions'; + protected $internal_gapi_mappings = array( + ); + public $permissions; + + + public function setPermissions($permissions) + { + $this->permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } +} + +class Google_Service_Genomics_TestIamPermissionsResponse extends Google_Collection +{ + protected $collection_key = 'permissions'; + protected $internal_gapi_mappings = array( + ); + public $permissions; + + + public function setPermissions($permissions) + { + $this->permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } +} + +class Google_Service_Genomics_UndeleteDatasetRequest extends Google_Model +{ +} + +class Google_Service_Genomics_Variant extends Google_Collection +{ + protected $collection_key = 'names'; + protected $internal_gapi_mappings = array( + ); + public $alternateBases; + protected $callsType = 'Google_Service_Genomics_VariantCall'; + protected $callsDataType = 'array'; + public $created; + public $end; + public $filter; + public $id; + public $info; + public $names; + public $quality; + public $referenceBases; + public $referenceName; + public $start; + public $variantSetId; + + + public function setAlternateBases($alternateBases) + { + $this->alternateBases = $alternateBases; + } + public function getAlternateBases() + { + return $this->alternateBases; + } + public function setCalls($calls) + { + $this->calls = $calls; + } + public function getCalls() + { + return $this->calls; + } + public function setCreated($created) + { + $this->created = $created; + } + public function getCreated() + { + return $this->created; + } + public function setEnd($end) + { + $this->end = $end; + } + public function getEnd() + { + return $this->end; + } + public function setFilter($filter) + { + $this->filter = $filter; + } + public function getFilter() + { + return $this->filter; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInfo($info) + { + $this->info = $info; + } + public function getInfo() + { + return $this->info; + } + public function setNames($names) + { + $this->names = $names; + } + public function getNames() + { + return $this->names; + } + public function setQuality($quality) + { + $this->quality = $quality; + } + public function getQuality() + { + return $this->quality; + } + public function setReferenceBases($referenceBases) + { + $this->referenceBases = $referenceBases; + } + public function getReferenceBases() + { + return $this->referenceBases; + } + public function setReferenceName($referenceName) + { + $this->referenceName = $referenceName; + } + public function getReferenceName() + { + return $this->referenceName; + } + public function setStart($start) + { + $this->start = $start; + } + public function getStart() + { + return $this->start; + } + public function setVariantSetId($variantSetId) + { + $this->variantSetId = $variantSetId; + } + public function getVariantSetId() + { + return $this->variantSetId; + } +} + +class Google_Service_Genomics_VariantCall extends Google_Collection +{ + protected $collection_key = 'genotypeLikelihood'; + protected $internal_gapi_mappings = array( + ); + public $callSetId; + public $callSetName; + public $genotype; + public $genotypeLikelihood; + public $info; + public $phaseset; + + + public function setCallSetId($callSetId) + { + $this->callSetId = $callSetId; + } + public function getCallSetId() + { + return $this->callSetId; + } + public function setCallSetName($callSetName) + { + $this->callSetName = $callSetName; + } + public function getCallSetName() + { + return $this->callSetName; + } + public function setGenotype($genotype) + { + $this->genotype = $genotype; + } + public function getGenotype() + { + return $this->genotype; + } + public function setGenotypeLikelihood($genotypeLikelihood) + { + $this->genotypeLikelihood = $genotypeLikelihood; + } + public function getGenotypeLikelihood() + { + return $this->genotypeLikelihood; + } + public function setInfo($info) + { + $this->info = $info; + } + public function getInfo() + { + return $this->info; + } + public function setPhaseset($phaseset) + { + $this->phaseset = $phaseset; + } + public function getPhaseset() + { + return $this->phaseset; + } +} + +class Google_Service_Genomics_VariantCallInfo extends Google_Model +{ +} + +class Google_Service_Genomics_VariantInfo extends Google_Model +{ +} + +class Google_Service_Genomics_VariantSet extends Google_Collection +{ + protected $collection_key = 'referenceBounds'; + protected $internal_gapi_mappings = array( + ); + public $datasetId; + public $id; + protected $metadataType = 'Google_Service_Genomics_VariantSetMetadata'; + protected $metadataDataType = 'array'; + protected $referenceBoundsType = 'Google_Service_Genomics_ReferenceBound'; + protected $referenceBoundsDataType = 'array'; + + + public function setDatasetId($datasetId) + { + $this->datasetId = $datasetId; + } + public function getDatasetId() + { + return $this->datasetId; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setMetadata($metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setReferenceBounds($referenceBounds) + { + $this->referenceBounds = $referenceBounds; + } + public function getReferenceBounds() + { + return $this->referenceBounds; + } +} + +class Google_Service_Genomics_VariantSetMetadata extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $description; + public $id; + public $info; + public $key; + public $number; + public $type; + public $value; + + + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInfo($info) + { + $this->info = $info; + } + public function getInfo() + { + return $this->info; + } + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setNumber($number) + { + $this->number = $number; + } + public function getNumber() + { + return $this->number; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Genomics_VariantSetMetadataInfo extends Google_Model +{ +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Gmail.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Gmail.php new file mode 100644 index 0000000..8c15bab --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Gmail.php @@ -0,0 +1,2215 @@ + + * The Gmail REST API.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Gmail extends Google_Service +{ + /** View and manage your mail. */ + const MAIL_GOOGLE_COM = + "https://mail.google.com/"; + /** Manage drafts and send emails. */ + const GMAIL_COMPOSE = + "https://www.googleapis.com/auth/gmail.compose"; + /** Insert mail into your mailbox. */ + const GMAIL_INSERT = + "https://www.googleapis.com/auth/gmail.insert"; + /** Manage mailbox labels. */ + const GMAIL_LABELS = + "https://www.googleapis.com/auth/gmail.labels"; + /** View and modify but not delete your email. */ + const GMAIL_MODIFY = + "https://www.googleapis.com/auth/gmail.modify"; + /** View your emails messages and settings. */ + const GMAIL_READONLY = + "https://www.googleapis.com/auth/gmail.readonly"; + /** Send email on your behalf. */ + const GMAIL_SEND = + "https://www.googleapis.com/auth/gmail.send"; + + public $users; + public $users_drafts; + public $users_history; + public $users_labels; + public $users_messages; + public $users_messages_attachments; + public $users_threads; + + + /** + * Constructs the internal representation of the Gmail service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'gmail/v1/users/'; + $this->version = 'v1'; + $this->serviceName = 'gmail'; + + $this->users = new Google_Service_Gmail_Users_Resource( + $this, + $this->serviceName, + 'users', + array( + 'methods' => array( + 'getProfile' => array( + 'path' => '{userId}/profile', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'stop' => array( + 'path' => '{userId}/stop', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'watch' => array( + 'path' => '{userId}/watch', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->users_drafts = new Google_Service_Gmail_UsersDrafts_Resource( + $this, + $this->serviceName, + 'drafts', + array( + 'methods' => array( + 'create' => array( + 'path' => '{userId}/drafts', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => '{userId}/drafts/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{userId}/drafts/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'format' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => '{userId}/drafts', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'send' => array( + 'path' => '{userId}/drafts/send', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{userId}/drafts/{id}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->users_history = new Google_Service_Gmail_UsersHistory_Resource( + $this, + $this->serviceName, + 'history', + array( + 'methods' => array( + 'list' => array( + 'path' => '{userId}/history', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'labelId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startHistoryId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->users_labels = new Google_Service_Gmail_UsersLabels_Resource( + $this, + $this->serviceName, + 'labels', + array( + 'methods' => array( + 'create' => array( + 'path' => '{userId}/labels', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => '{userId}/labels/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{userId}/labels/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{userId}/labels', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => '{userId}/labels/{id}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{userId}/labels/{id}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->users_messages = new Google_Service_Gmail_UsersMessages_Resource( + $this, + $this->serviceName, + 'messages', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{userId}/messages/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{userId}/messages/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'metadataHeaders' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'format' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'import' => array( + 'path' => '{userId}/messages/import', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deleted' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'processForCalendar' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'internalDateSource' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'neverMarkSpam' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'insert' => array( + 'path' => '{userId}/messages', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deleted' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'internalDateSource' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => '{userId}/messages', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'q' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'includeSpamTrash' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'labelIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ),'modify' => array( + 'path' => '{userId}/messages/{id}/modify', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'send' => array( + 'path' => '{userId}/messages/send', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'trash' => array( + 'path' => '{userId}/messages/{id}/trash', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'untrash' => array( + 'path' => '{userId}/messages/{id}/untrash', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->users_messages_attachments = new Google_Service_Gmail_UsersMessagesAttachments_Resource( + $this, + $this->serviceName, + 'attachments', + array( + 'methods' => array( + 'get' => array( + 'path' => '{userId}/messages/{messageId}/attachments/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'messageId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->users_threads = new Google_Service_Gmail_UsersThreads_Resource( + $this, + $this->serviceName, + 'threads', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{userId}/threads/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{userId}/threads/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'metadataHeaders' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'format' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => '{userId}/threads', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'q' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'includeSpamTrash' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'labelIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ),'modify' => array( + 'path' => '{userId}/threads/{id}/modify', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'trash' => array( + 'path' => '{userId}/threads/{id}/trash', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'untrash' => array( + 'path' => '{userId}/threads/{id}/untrash', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "users" collection of methods. + * Typical usage is: + * + * $gmailService = new Google_Service_Gmail(...); + * $users = $gmailService->users; + * + */ +class Google_Service_Gmail_Users_Resource extends Google_Service_Resource +{ + + /** + * Gets the current user's Gmail profile. (users.getProfile) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_Profile + */ + public function getProfile($userId, $optParams = array()) + { + $params = array('userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('getProfile', array($params), "Google_Service_Gmail_Profile"); + } + + /** + * Stop receiving push notifications for the given user mailbox. (users.stop) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param array $optParams Optional parameters. + */ + public function stop($userId, $optParams = array()) + { + $params = array('userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('stop', array($params)); + } + + /** + * Set up or update a push notification watch on the given user mailbox. + * (users.watch) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param Google_WatchRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_WatchResponse + */ + public function watch($userId, Google_Service_Gmail_WatchRequest $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('watch', array($params), "Google_Service_Gmail_WatchResponse"); + } +} + +/** + * The "drafts" collection of methods. + * Typical usage is: + * + * $gmailService = new Google_Service_Gmail(...); + * $drafts = $gmailService->drafts; + * + */ +class Google_Service_Gmail_UsersDrafts_Resource extends Google_Service_Resource +{ + + /** + * Creates a new draft with the DRAFT label. (drafts.create) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param Google_Draft $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_Draft + */ + public function create($userId, Google_Service_Gmail_Draft $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Gmail_Draft"); + } + + /** + * Immediately and permanently deletes the specified draft. Does not simply + * trash it. (drafts.delete) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param string $id The ID of the draft to delete. + * @param array $optParams Optional parameters. + */ + public function delete($userId, $id, $optParams = array()) + { + $params = array('userId' => $userId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Gets the specified draft. (drafts.get) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param string $id The ID of the draft to retrieve. + * @param array $optParams Optional parameters. + * + * @opt_param string format The format to return the draft in. + * @return Google_Service_Gmail_Draft + */ + public function get($userId, $id, $optParams = array()) + { + $params = array('userId' => $userId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Gmail_Draft"); + } + + /** + * Lists the drafts in the user's mailbox. (drafts.listUsersDrafts) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Page token to retrieve a specific page of results + * in the list. + * @opt_param string maxResults Maximum number of drafts to return. + * @return Google_Service_Gmail_ListDraftsResponse + */ + public function listUsersDrafts($userId, $optParams = array()) + { + $params = array('userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Gmail_ListDraftsResponse"); + } + + /** + * Sends the specified, existing draft to the recipients in the To, Cc, and Bcc + * headers. (drafts.send) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param Google_Draft $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_Message + */ + public function send($userId, Google_Service_Gmail_Draft $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('send', array($params), "Google_Service_Gmail_Message"); + } + + /** + * Replaces a draft's content. (drafts.update) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param string $id The ID of the draft to update. + * @param Google_Draft $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_Draft + */ + public function update($userId, $id, Google_Service_Gmail_Draft $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Gmail_Draft"); + } +} +/** + * The "history" collection of methods. + * Typical usage is: + * + * $gmailService = new Google_Service_Gmail(...); + * $history = $gmailService->history; + * + */ +class Google_Service_Gmail_UsersHistory_Resource extends Google_Service_Resource +{ + + /** + * Lists the history of all changes to the given mailbox. History results are + * returned in chronological order (increasing historyId). + * (history.listUsersHistory) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Page token to retrieve a specific page of results + * in the list. + * @opt_param string maxResults The maximum number of history records to return. + * @opt_param string labelId Only return messages with a label matching the ID. + * @opt_param string startHistoryId Required. Returns history records after the + * specified startHistoryId. The supplied startHistoryId should be obtained from + * the historyId of a message, thread, or previous list response. History IDs + * increase chronologically but are not contiguous with random gaps in between + * valid IDs. Supplying an invalid or out of date startHistoryId typically + * returns an HTTP 404 error code. A historyId is typically valid for at least a + * week, but in some rare circumstances may be valid for only a few hours. If + * you receive an HTTP 404 error response, your application should perform a + * full sync. If you receive no nextPageToken in the response, there are no + * updates to retrieve and you can store the returned historyId for a future + * request. + * @return Google_Service_Gmail_ListHistoryResponse + */ + public function listUsersHistory($userId, $optParams = array()) + { + $params = array('userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Gmail_ListHistoryResponse"); + } +} +/** + * The "labels" collection of methods. + * Typical usage is: + * + * $gmailService = new Google_Service_Gmail(...); + * $labels = $gmailService->labels; + * + */ +class Google_Service_Gmail_UsersLabels_Resource extends Google_Service_Resource +{ + + /** + * Creates a new label. (labels.create) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param Google_Label $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_Label + */ + public function create($userId, Google_Service_Gmail_Label $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Gmail_Label"); + } + + /** + * Immediately and permanently deletes the specified label and removes it from + * any messages and threads that it is applied to. (labels.delete) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param string $id The ID of the label to delete. + * @param array $optParams Optional parameters. + */ + public function delete($userId, $id, $optParams = array()) + { + $params = array('userId' => $userId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Gets the specified label. (labels.get) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param string $id The ID of the label to retrieve. + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_Label + */ + public function get($userId, $id, $optParams = array()) + { + $params = array('userId' => $userId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Gmail_Label"); + } + + /** + * Lists all labels in the user's mailbox. (labels.listUsersLabels) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_ListLabelsResponse + */ + public function listUsersLabels($userId, $optParams = array()) + { + $params = array('userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Gmail_ListLabelsResponse"); + } + + /** + * Updates the specified label. This method supports patch semantics. + * (labels.patch) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param string $id The ID of the label to update. + * @param Google_Label $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_Label + */ + public function patch($userId, $id, Google_Service_Gmail_Label $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Gmail_Label"); + } + + /** + * Updates the specified label. (labels.update) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param string $id The ID of the label to update. + * @param Google_Label $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_Label + */ + public function update($userId, $id, Google_Service_Gmail_Label $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Gmail_Label"); + } +} +/** + * The "messages" collection of methods. + * Typical usage is: + * + * $gmailService = new Google_Service_Gmail(...); + * $messages = $gmailService->messages; + * + */ +class Google_Service_Gmail_UsersMessages_Resource extends Google_Service_Resource +{ + + /** + * Immediately and permanently deletes the specified message. This operation + * cannot be undone. Prefer messages.trash instead. (messages.delete) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param string $id The ID of the message to delete. + * @param array $optParams Optional parameters. + */ + public function delete($userId, $id, $optParams = array()) + { + $params = array('userId' => $userId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Gets the specified message. (messages.get) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param string $id The ID of the message to retrieve. + * @param array $optParams Optional parameters. + * + * @opt_param string metadataHeaders When given and format is METADATA, only + * include headers specified. + * @opt_param string format The format to return the message in. + * @return Google_Service_Gmail_Message + */ + public function get($userId, $id, $optParams = array()) + { + $params = array('userId' => $userId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Gmail_Message"); + } + + /** + * Imports a message into only this user's mailbox, with standard email delivery + * scanning and classification similar to receiving via SMTP. Does not send a + * message. (messages.import) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param Google_Message $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool deleted Mark the email as permanently deleted (not TRASH) and + * only visible in Google Apps Vault to a Vault administrator. Only used for + * Google Apps for Work accounts. + * @opt_param bool processForCalendar Process calendar invites in the email and + * add any extracted meetings to the Google Calendar for this user. + * @opt_param string internalDateSource Source for Gmail's internal date of the + * message. + * @opt_param bool neverMarkSpam Ignore the Gmail spam classifier decision and + * never mark this email as SPAM in the mailbox. + * @return Google_Service_Gmail_Message + */ + public function import($userId, Google_Service_Gmail_Message $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('import', array($params), "Google_Service_Gmail_Message"); + } + + /** + * Directly inserts a message into only this user's mailbox similar to IMAP + * APPEND, bypassing most scanning and classification. Does not send a message. + * (messages.insert) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param Google_Message $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool deleted Mark the email as permanently deleted (not TRASH) and + * only visible in Google Apps Vault to a Vault administrator. Only used for + * Google Apps for Work accounts. + * @opt_param string internalDateSource Source for Gmail's internal date of the + * message. + * @return Google_Service_Gmail_Message + */ + public function insert($userId, Google_Service_Gmail_Message $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Gmail_Message"); + } + + /** + * Lists the messages in the user's mailbox. (messages.listUsersMessages) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults Maximum number of messages to return. + * @opt_param string q Only return messages matching the specified query. + * Supports the same query format as the Gmail search box. For example, + * "from:someuser@example.com rfc822msgid: is:unread". + * @opt_param string pageToken Page token to retrieve a specific page of results + * in the list. + * @opt_param bool includeSpamTrash Include messages from SPAM and TRASH in the + * results. + * @opt_param string labelIds Only return messages with labels that match all of + * the specified label IDs. + * @return Google_Service_Gmail_ListMessagesResponse + */ + public function listUsersMessages($userId, $optParams = array()) + { + $params = array('userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Gmail_ListMessagesResponse"); + } + + /** + * Modifies the labels on the specified message. (messages.modify) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param string $id The ID of the message to modify. + * @param Google_ModifyMessageRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_Message + */ + public function modify($userId, $id, Google_Service_Gmail_ModifyMessageRequest $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('modify', array($params), "Google_Service_Gmail_Message"); + } + + /** + * Sends the specified message to the recipients in the To, Cc, and Bcc headers. + * (messages.send) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param Google_Message $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_Message + */ + public function send($userId, Google_Service_Gmail_Message $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('send', array($params), "Google_Service_Gmail_Message"); + } + + /** + * Moves the specified message to the trash. (messages.trash) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param string $id The ID of the message to Trash. + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_Message + */ + public function trash($userId, $id, $optParams = array()) + { + $params = array('userId' => $userId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('trash', array($params), "Google_Service_Gmail_Message"); + } + + /** + * Removes the specified message from the trash. (messages.untrash) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param string $id The ID of the message to remove from Trash. + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_Message + */ + public function untrash($userId, $id, $optParams = array()) + { + $params = array('userId' => $userId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('untrash', array($params), "Google_Service_Gmail_Message"); + } +} + +/** + * The "attachments" collection of methods. + * Typical usage is: + * + * $gmailService = new Google_Service_Gmail(...); + * $attachments = $gmailService->attachments; + * + */ +class Google_Service_Gmail_UsersMessagesAttachments_Resource extends Google_Service_Resource +{ + + /** + * Gets the specified message attachment. (attachments.get) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param string $messageId The ID of the message containing the attachment. + * @param string $id The ID of the attachment. + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_MessagePartBody + */ + public function get($userId, $messageId, $id, $optParams = array()) + { + $params = array('userId' => $userId, 'messageId' => $messageId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Gmail_MessagePartBody"); + } +} +/** + * The "threads" collection of methods. + * Typical usage is: + * + * $gmailService = new Google_Service_Gmail(...); + * $threads = $gmailService->threads; + * + */ +class Google_Service_Gmail_UsersThreads_Resource extends Google_Service_Resource +{ + + /** + * Immediately and permanently deletes the specified thread. This operation + * cannot be undone. Prefer threads.trash instead. (threads.delete) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param string $id ID of the Thread to delete. + * @param array $optParams Optional parameters. + */ + public function delete($userId, $id, $optParams = array()) + { + $params = array('userId' => $userId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Gets the specified thread. (threads.get) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param string $id The ID of the thread to retrieve. + * @param array $optParams Optional parameters. + * + * @opt_param string metadataHeaders When given and format is METADATA, only + * include headers specified. + * @opt_param string format The format to return the messages in. + * @return Google_Service_Gmail_Thread + */ + public function get($userId, $id, $optParams = array()) + { + $params = array('userId' => $userId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Gmail_Thread"); + } + + /** + * Lists the threads in the user's mailbox. (threads.listUsersThreads) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults Maximum number of threads to return. + * @opt_param string q Only return threads matching the specified query. + * Supports the same query format as the Gmail search box. For example, + * "from:someuser@example.com rfc822msgid: is:unread". + * @opt_param string pageToken Page token to retrieve a specific page of results + * in the list. + * @opt_param bool includeSpamTrash Include threads from SPAM and TRASH in the + * results. + * @opt_param string labelIds Only return threads with labels that match all of + * the specified label IDs. + * @return Google_Service_Gmail_ListThreadsResponse + */ + public function listUsersThreads($userId, $optParams = array()) + { + $params = array('userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Gmail_ListThreadsResponse"); + } + + /** + * Modifies the labels applied to the thread. This applies to all messages in + * the thread. (threads.modify) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param string $id The ID of the thread to modify. + * @param Google_ModifyThreadRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_Thread + */ + public function modify($userId, $id, Google_Service_Gmail_ModifyThreadRequest $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('modify', array($params), "Google_Service_Gmail_Thread"); + } + + /** + * Moves the specified thread to the trash. (threads.trash) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param string $id The ID of the thread to Trash. + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_Thread + */ + public function trash($userId, $id, $optParams = array()) + { + $params = array('userId' => $userId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('trash', array($params), "Google_Service_Gmail_Thread"); + } + + /** + * Removes the specified thread from the trash. (threads.untrash) + * + * @param string $userId The user's email address. The special value me can be + * used to indicate the authenticated user. + * @param string $id The ID of the thread to remove from Trash. + * @param array $optParams Optional parameters. + * @return Google_Service_Gmail_Thread + */ + public function untrash($userId, $id, $optParams = array()) + { + $params = array('userId' => $userId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('untrash', array($params), "Google_Service_Gmail_Thread"); + } +} + + + + +class Google_Service_Gmail_Draft extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + protected $messageType = 'Google_Service_Gmail_Message'; + protected $messageDataType = ''; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setMessage(Google_Service_Gmail_Message $message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_Gmail_History extends Google_Collection +{ + protected $collection_key = 'messagesDeleted'; + protected $internal_gapi_mappings = array( + ); + public $id; + protected $labelsAddedType = 'Google_Service_Gmail_HistoryLabelAdded'; + protected $labelsAddedDataType = 'array'; + protected $labelsRemovedType = 'Google_Service_Gmail_HistoryLabelRemoved'; + protected $labelsRemovedDataType = 'array'; + protected $messagesType = 'Google_Service_Gmail_Message'; + protected $messagesDataType = 'array'; + protected $messagesAddedType = 'Google_Service_Gmail_HistoryMessageAdded'; + protected $messagesAddedDataType = 'array'; + protected $messagesDeletedType = 'Google_Service_Gmail_HistoryMessageDeleted'; + protected $messagesDeletedDataType = 'array'; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setLabelsAdded($labelsAdded) + { + $this->labelsAdded = $labelsAdded; + } + public function getLabelsAdded() + { + return $this->labelsAdded; + } + public function setLabelsRemoved($labelsRemoved) + { + $this->labelsRemoved = $labelsRemoved; + } + public function getLabelsRemoved() + { + return $this->labelsRemoved; + } + public function setMessages($messages) + { + $this->messages = $messages; + } + public function getMessages() + { + return $this->messages; + } + public function setMessagesAdded($messagesAdded) + { + $this->messagesAdded = $messagesAdded; + } + public function getMessagesAdded() + { + return $this->messagesAdded; + } + public function setMessagesDeleted($messagesDeleted) + { + $this->messagesDeleted = $messagesDeleted; + } + public function getMessagesDeleted() + { + return $this->messagesDeleted; + } +} + +class Google_Service_Gmail_HistoryLabelAdded extends Google_Collection +{ + protected $collection_key = 'labelIds'; + protected $internal_gapi_mappings = array( + ); + public $labelIds; + protected $messageType = 'Google_Service_Gmail_Message'; + protected $messageDataType = ''; + + + public function setLabelIds($labelIds) + { + $this->labelIds = $labelIds; + } + public function getLabelIds() + { + return $this->labelIds; + } + public function setMessage(Google_Service_Gmail_Message $message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_Gmail_HistoryLabelRemoved extends Google_Collection +{ + protected $collection_key = 'labelIds'; + protected $internal_gapi_mappings = array( + ); + public $labelIds; + protected $messageType = 'Google_Service_Gmail_Message'; + protected $messageDataType = ''; + + + public function setLabelIds($labelIds) + { + $this->labelIds = $labelIds; + } + public function getLabelIds() + { + return $this->labelIds; + } + public function setMessage(Google_Service_Gmail_Message $message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_Gmail_HistoryMessageAdded extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $messageType = 'Google_Service_Gmail_Message'; + protected $messageDataType = ''; + + + public function setMessage(Google_Service_Gmail_Message $message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_Gmail_HistoryMessageDeleted extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $messageType = 'Google_Service_Gmail_Message'; + protected $messageDataType = ''; + + + public function setMessage(Google_Service_Gmail_Message $message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_Gmail_Label extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $labelListVisibility; + public $messageListVisibility; + public $messagesTotal; + public $messagesUnread; + public $name; + public $threadsTotal; + public $threadsUnread; + public $type; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setLabelListVisibility($labelListVisibility) + { + $this->labelListVisibility = $labelListVisibility; + } + public function getLabelListVisibility() + { + return $this->labelListVisibility; + } + public function setMessageListVisibility($messageListVisibility) + { + $this->messageListVisibility = $messageListVisibility; + } + public function getMessageListVisibility() + { + return $this->messageListVisibility; + } + public function setMessagesTotal($messagesTotal) + { + $this->messagesTotal = $messagesTotal; + } + public function getMessagesTotal() + { + return $this->messagesTotal; + } + public function setMessagesUnread($messagesUnread) + { + $this->messagesUnread = $messagesUnread; + } + public function getMessagesUnread() + { + return $this->messagesUnread; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setThreadsTotal($threadsTotal) + { + $this->threadsTotal = $threadsTotal; + } + public function getThreadsTotal() + { + return $this->threadsTotal; + } + public function setThreadsUnread($threadsUnread) + { + $this->threadsUnread = $threadsUnread; + } + public function getThreadsUnread() + { + return $this->threadsUnread; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Gmail_ListDraftsResponse extends Google_Collection +{ + protected $collection_key = 'drafts'; + protected $internal_gapi_mappings = array( + ); + protected $draftsType = 'Google_Service_Gmail_Draft'; + protected $draftsDataType = 'array'; + public $nextPageToken; + public $resultSizeEstimate; + + + public function setDrafts($drafts) + { + $this->drafts = $drafts; + } + public function getDrafts() + { + return $this->drafts; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setResultSizeEstimate($resultSizeEstimate) + { + $this->resultSizeEstimate = $resultSizeEstimate; + } + public function getResultSizeEstimate() + { + return $this->resultSizeEstimate; + } +} + +class Google_Service_Gmail_ListHistoryResponse extends Google_Collection +{ + protected $collection_key = 'history'; + protected $internal_gapi_mappings = array( + ); + protected $historyType = 'Google_Service_Gmail_History'; + protected $historyDataType = 'array'; + public $historyId; + public $nextPageToken; + + + public function setHistory($history) + { + $this->history = $history; + } + public function getHistory() + { + return $this->history; + } + public function setHistoryId($historyId) + { + $this->historyId = $historyId; + } + public function getHistoryId() + { + return $this->historyId; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Gmail_ListLabelsResponse extends Google_Collection +{ + protected $collection_key = 'labels'; + protected $internal_gapi_mappings = array( + ); + protected $labelsType = 'Google_Service_Gmail_Label'; + protected $labelsDataType = 'array'; + + + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } +} + +class Google_Service_Gmail_ListMessagesResponse extends Google_Collection +{ + protected $collection_key = 'messages'; + protected $internal_gapi_mappings = array( + ); + protected $messagesType = 'Google_Service_Gmail_Message'; + protected $messagesDataType = 'array'; + public $nextPageToken; + public $resultSizeEstimate; + + + public function setMessages($messages) + { + $this->messages = $messages; + } + public function getMessages() + { + return $this->messages; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setResultSizeEstimate($resultSizeEstimate) + { + $this->resultSizeEstimate = $resultSizeEstimate; + } + public function getResultSizeEstimate() + { + return $this->resultSizeEstimate; + } +} + +class Google_Service_Gmail_ListThreadsResponse extends Google_Collection +{ + protected $collection_key = 'threads'; + protected $internal_gapi_mappings = array( + ); + public $nextPageToken; + public $resultSizeEstimate; + protected $threadsType = 'Google_Service_Gmail_Thread'; + protected $threadsDataType = 'array'; + + + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setResultSizeEstimate($resultSizeEstimate) + { + $this->resultSizeEstimate = $resultSizeEstimate; + } + public function getResultSizeEstimate() + { + return $this->resultSizeEstimate; + } + public function setThreads($threads) + { + $this->threads = $threads; + } + public function getThreads() + { + return $this->threads; + } +} + +class Google_Service_Gmail_Message extends Google_Collection +{ + protected $collection_key = 'labelIds'; + protected $internal_gapi_mappings = array( + ); + public $historyId; + public $id; + public $internalDate; + public $labelIds; + protected $payloadType = 'Google_Service_Gmail_MessagePart'; + protected $payloadDataType = ''; + public $raw; + public $sizeEstimate; + public $snippet; + public $threadId; + + + public function setHistoryId($historyId) + { + $this->historyId = $historyId; + } + public function getHistoryId() + { + return $this->historyId; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInternalDate($internalDate) + { + $this->internalDate = $internalDate; + } + public function getInternalDate() + { + return $this->internalDate; + } + public function setLabelIds($labelIds) + { + $this->labelIds = $labelIds; + } + public function getLabelIds() + { + return $this->labelIds; + } + public function setPayload(Google_Service_Gmail_MessagePart $payload) + { + $this->payload = $payload; + } + public function getPayload() + { + return $this->payload; + } + public function setRaw($raw) + { + $this->raw = $raw; + } + public function getRaw() + { + return $this->raw; + } + public function setSizeEstimate($sizeEstimate) + { + $this->sizeEstimate = $sizeEstimate; + } + public function getSizeEstimate() + { + return $this->sizeEstimate; + } + public function setSnippet($snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } + public function setThreadId($threadId) + { + $this->threadId = $threadId; + } + public function getThreadId() + { + return $this->threadId; + } +} + +class Google_Service_Gmail_MessagePart extends Google_Collection +{ + protected $collection_key = 'parts'; + protected $internal_gapi_mappings = array( + ); + protected $bodyType = 'Google_Service_Gmail_MessagePartBody'; + protected $bodyDataType = ''; + public $filename; + protected $headersType = 'Google_Service_Gmail_MessagePartHeader'; + protected $headersDataType = 'array'; + public $mimeType; + public $partId; + protected $partsType = 'Google_Service_Gmail_MessagePart'; + protected $partsDataType = 'array'; + + + public function setBody(Google_Service_Gmail_MessagePartBody $body) + { + $this->body = $body; + } + public function getBody() + { + return $this->body; + } + public function setFilename($filename) + { + $this->filename = $filename; + } + public function getFilename() + { + return $this->filename; + } + public function setHeaders($headers) + { + $this->headers = $headers; + } + public function getHeaders() + { + return $this->headers; + } + public function setMimeType($mimeType) + { + $this->mimeType = $mimeType; + } + public function getMimeType() + { + return $this->mimeType; + } + public function setPartId($partId) + { + $this->partId = $partId; + } + public function getPartId() + { + return $this->partId; + } + public function setParts($parts) + { + $this->parts = $parts; + } + public function getParts() + { + return $this->parts; + } +} + +class Google_Service_Gmail_MessagePartBody extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $attachmentId; + public $data; + public $size; + + + public function setAttachmentId($attachmentId) + { + $this->attachmentId = $attachmentId; + } + public function getAttachmentId() + { + return $this->attachmentId; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setSize($size) + { + $this->size = $size; + } + public function getSize() + { + return $this->size; + } +} + +class Google_Service_Gmail_MessagePartHeader extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $name; + public $value; + + + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Gmail_ModifyMessageRequest extends Google_Collection +{ + protected $collection_key = 'removeLabelIds'; + protected $internal_gapi_mappings = array( + ); + public $addLabelIds; + public $removeLabelIds; + + + public function setAddLabelIds($addLabelIds) + { + $this->addLabelIds = $addLabelIds; + } + public function getAddLabelIds() + { + return $this->addLabelIds; + } + public function setRemoveLabelIds($removeLabelIds) + { + $this->removeLabelIds = $removeLabelIds; + } + public function getRemoveLabelIds() + { + return $this->removeLabelIds; + } +} + +class Google_Service_Gmail_ModifyThreadRequest extends Google_Collection +{ + protected $collection_key = 'removeLabelIds'; + protected $internal_gapi_mappings = array( + ); + public $addLabelIds; + public $removeLabelIds; + + + public function setAddLabelIds($addLabelIds) + { + $this->addLabelIds = $addLabelIds; + } + public function getAddLabelIds() + { + return $this->addLabelIds; + } + public function setRemoveLabelIds($removeLabelIds) + { + $this->removeLabelIds = $removeLabelIds; + } + public function getRemoveLabelIds() + { + return $this->removeLabelIds; + } +} + +class Google_Service_Gmail_Profile extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $emailAddress; + public $historyId; + public $messagesTotal; + public $threadsTotal; + + + public function setEmailAddress($emailAddress) + { + $this->emailAddress = $emailAddress; + } + public function getEmailAddress() + { + return $this->emailAddress; + } + public function setHistoryId($historyId) + { + $this->historyId = $historyId; + } + public function getHistoryId() + { + return $this->historyId; + } + public function setMessagesTotal($messagesTotal) + { + $this->messagesTotal = $messagesTotal; + } + public function getMessagesTotal() + { + return $this->messagesTotal; + } + public function setThreadsTotal($threadsTotal) + { + $this->threadsTotal = $threadsTotal; + } + public function getThreadsTotal() + { + return $this->threadsTotal; + } +} + +class Google_Service_Gmail_Thread extends Google_Collection +{ + protected $collection_key = 'messages'; + protected $internal_gapi_mappings = array( + ); + public $historyId; + public $id; + protected $messagesType = 'Google_Service_Gmail_Message'; + protected $messagesDataType = 'array'; + public $snippet; + + + public function setHistoryId($historyId) + { + $this->historyId = $historyId; + } + public function getHistoryId() + { + return $this->historyId; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setMessages($messages) + { + $this->messages = $messages; + } + public function getMessages() + { + return $this->messages; + } + public function setSnippet($snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } +} + +class Google_Service_Gmail_WatchRequest extends Google_Collection +{ + protected $collection_key = 'labelIds'; + protected $internal_gapi_mappings = array( + ); + public $labelFilterAction; + public $labelIds; + public $topicName; + + + public function setLabelFilterAction($labelFilterAction) + { + $this->labelFilterAction = $labelFilterAction; + } + public function getLabelFilterAction() + { + return $this->labelFilterAction; + } + public function setLabelIds($labelIds) + { + $this->labelIds = $labelIds; + } + public function getLabelIds() + { + return $this->labelIds; + } + public function setTopicName($topicName) + { + $this->topicName = $topicName; + } + public function getTopicName() + { + return $this->topicName; + } +} + +class Google_Service_Gmail_WatchResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $expiration; + public $historyId; + + + public function setExpiration($expiration) + { + $this->expiration = $expiration; + } + public function getExpiration() + { + return $this->expiration; + } + public function setHistoryId($historyId) + { + $this->historyId = $historyId; + } + public function getHistoryId() + { + return $this->historyId; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/GroupsMigration.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/GroupsMigration.php new file mode 100644 index 0000000..a1354e1 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/GroupsMigration.php @@ -0,0 +1,130 @@ + + * Groups Migration Api.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_GroupsMigration extends Google_Service +{ + /** Manage messages in groups on your domain. */ + const APPS_GROUPS_MIGRATION = + "https://www.googleapis.com/auth/apps.groups.migration"; + + public $archive; + + + /** + * Constructs the internal representation of the GroupsMigration service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'groups/v1/groups/'; + $this->version = 'v1'; + $this->serviceName = 'groupsmigration'; + + $this->archive = new Google_Service_GroupsMigration_Archive_Resource( + $this, + $this->serviceName, + 'archive', + array( + 'methods' => array( + 'insert' => array( + 'path' => '{groupId}/archive', + 'httpMethod' => 'POST', + 'parameters' => array( + 'groupId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "archive" collection of methods. + * Typical usage is: + * + * $groupsmigrationService = new Google_Service_GroupsMigration(...); + * $archive = $groupsmigrationService->archive; + * + */ +class Google_Service_GroupsMigration_Archive_Resource extends Google_Service_Resource +{ + + /** + * Inserts a new mail into the archive of the Google group. (archive.insert) + * + * @param string $groupId The group ID + * @param array $optParams Optional parameters. + * @return Google_Service_GroupsMigration_Groups + */ + public function insert($groupId, $optParams = array()) + { + $params = array('groupId' => $groupId); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_GroupsMigration_Groups"); + } +} + + + + +class Google_Service_GroupsMigration_Groups extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + public $responseCode; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setResponseCode($responseCode) + { + $this->responseCode = $responseCode; + } + public function getResponseCode() + { + return $this->responseCode; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Groupssettings.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Groupssettings.php new file mode 100644 index 0000000..b358bf0 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Groupssettings.php @@ -0,0 +1,415 @@ + + * Lets you manage permission levels and related settings of a group.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Groupssettings extends Google_Service +{ + /** View and manage the settings of a Google Apps Group. */ + const APPS_GROUPS_SETTINGS = + "https://www.googleapis.com/auth/apps.groups.settings"; + + public $groups; + + + /** + * Constructs the internal representation of the Groupssettings service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'groups/v1/groups/'; + $this->version = 'v1'; + $this->serviceName = 'groupssettings'; + + $this->groups = new Google_Service_Groupssettings_Groups_Resource( + $this, + $this->serviceName, + 'groups', + array( + 'methods' => array( + 'get' => array( + 'path' => '{groupUniqueId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'groupUniqueId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => '{groupUniqueId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'groupUniqueId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{groupUniqueId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'groupUniqueId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "groups" collection of methods. + * Typical usage is: + * + * $groupssettingsService = new Google_Service_Groupssettings(...); + * $groups = $groupssettingsService->groups; + * + */ +class Google_Service_Groupssettings_Groups_Resource extends Google_Service_Resource +{ + + /** + * Gets one resource by id. (groups.get) + * + * @param string $groupUniqueId The resource ID + * @param array $optParams Optional parameters. + * @return Google_Service_Groupssettings_Groups + */ + public function get($groupUniqueId, $optParams = array()) + { + $params = array('groupUniqueId' => $groupUniqueId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Groupssettings_Groups"); + } + + /** + * Updates an existing resource. This method supports patch semantics. + * (groups.patch) + * + * @param string $groupUniqueId The resource ID + * @param Google_Groups $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Groupssettings_Groups + */ + public function patch($groupUniqueId, Google_Service_Groupssettings_Groups $postBody, $optParams = array()) + { + $params = array('groupUniqueId' => $groupUniqueId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Groupssettings_Groups"); + } + + /** + * Updates an existing resource. (groups.update) + * + * @param string $groupUniqueId The resource ID + * @param Google_Groups $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Groupssettings_Groups + */ + public function update($groupUniqueId, Google_Service_Groupssettings_Groups $postBody, $optParams = array()) + { + $params = array('groupUniqueId' => $groupUniqueId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Groupssettings_Groups"); + } +} + + + + +class Google_Service_Groupssettings_Groups extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $allowExternalMembers; + public $allowGoogleCommunication; + public $allowWebPosting; + public $archiveOnly; + public $customReplyTo; + public $defaultMessageDenyNotificationText; + public $description; + public $email; + public $includeInGlobalAddressList; + public $isArchived; + public $kind; + public $maxMessageBytes; + public $membersCanPostAsTheGroup; + public $messageDisplayFont; + public $messageModerationLevel; + public $name; + public $primaryLanguage; + public $replyTo; + public $sendMessageDenyNotification; + public $showInGroupDirectory; + public $spamModerationLevel; + public $whoCanContactOwner; + public $whoCanInvite; + public $whoCanJoin; + public $whoCanLeaveGroup; + public $whoCanPostMessage; + public $whoCanViewGroup; + public $whoCanViewMembership; + + + public function setAllowExternalMembers($allowExternalMembers) + { + $this->allowExternalMembers = $allowExternalMembers; + } + public function getAllowExternalMembers() + { + return $this->allowExternalMembers; + } + public function setAllowGoogleCommunication($allowGoogleCommunication) + { + $this->allowGoogleCommunication = $allowGoogleCommunication; + } + public function getAllowGoogleCommunication() + { + return $this->allowGoogleCommunication; + } + public function setAllowWebPosting($allowWebPosting) + { + $this->allowWebPosting = $allowWebPosting; + } + public function getAllowWebPosting() + { + return $this->allowWebPosting; + } + public function setArchiveOnly($archiveOnly) + { + $this->archiveOnly = $archiveOnly; + } + public function getArchiveOnly() + { + return $this->archiveOnly; + } + public function setCustomReplyTo($customReplyTo) + { + $this->customReplyTo = $customReplyTo; + } + public function getCustomReplyTo() + { + return $this->customReplyTo; + } + public function setDefaultMessageDenyNotificationText($defaultMessageDenyNotificationText) + { + $this->defaultMessageDenyNotificationText = $defaultMessageDenyNotificationText; + } + public function getDefaultMessageDenyNotificationText() + { + return $this->defaultMessageDenyNotificationText; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setIncludeInGlobalAddressList($includeInGlobalAddressList) + { + $this->includeInGlobalAddressList = $includeInGlobalAddressList; + } + public function getIncludeInGlobalAddressList() + { + return $this->includeInGlobalAddressList; + } + public function setIsArchived($isArchived) + { + $this->isArchived = $isArchived; + } + public function getIsArchived() + { + return $this->isArchived; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMaxMessageBytes($maxMessageBytes) + { + $this->maxMessageBytes = $maxMessageBytes; + } + public function getMaxMessageBytes() + { + return $this->maxMessageBytes; + } + public function setMembersCanPostAsTheGroup($membersCanPostAsTheGroup) + { + $this->membersCanPostAsTheGroup = $membersCanPostAsTheGroup; + } + public function getMembersCanPostAsTheGroup() + { + return $this->membersCanPostAsTheGroup; + } + public function setMessageDisplayFont($messageDisplayFont) + { + $this->messageDisplayFont = $messageDisplayFont; + } + public function getMessageDisplayFont() + { + return $this->messageDisplayFont; + } + public function setMessageModerationLevel($messageModerationLevel) + { + $this->messageModerationLevel = $messageModerationLevel; + } + public function getMessageModerationLevel() + { + return $this->messageModerationLevel; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPrimaryLanguage($primaryLanguage) + { + $this->primaryLanguage = $primaryLanguage; + } + public function getPrimaryLanguage() + { + return $this->primaryLanguage; + } + public function setReplyTo($replyTo) + { + $this->replyTo = $replyTo; + } + public function getReplyTo() + { + return $this->replyTo; + } + public function setSendMessageDenyNotification($sendMessageDenyNotification) + { + $this->sendMessageDenyNotification = $sendMessageDenyNotification; + } + public function getSendMessageDenyNotification() + { + return $this->sendMessageDenyNotification; + } + public function setShowInGroupDirectory($showInGroupDirectory) + { + $this->showInGroupDirectory = $showInGroupDirectory; + } + public function getShowInGroupDirectory() + { + return $this->showInGroupDirectory; + } + public function setSpamModerationLevel($spamModerationLevel) + { + $this->spamModerationLevel = $spamModerationLevel; + } + public function getSpamModerationLevel() + { + return $this->spamModerationLevel; + } + public function setWhoCanContactOwner($whoCanContactOwner) + { + $this->whoCanContactOwner = $whoCanContactOwner; + } + public function getWhoCanContactOwner() + { + return $this->whoCanContactOwner; + } + public function setWhoCanInvite($whoCanInvite) + { + $this->whoCanInvite = $whoCanInvite; + } + public function getWhoCanInvite() + { + return $this->whoCanInvite; + } + public function setWhoCanJoin($whoCanJoin) + { + $this->whoCanJoin = $whoCanJoin; + } + public function getWhoCanJoin() + { + return $this->whoCanJoin; + } + public function setWhoCanLeaveGroup($whoCanLeaveGroup) + { + $this->whoCanLeaveGroup = $whoCanLeaveGroup; + } + public function getWhoCanLeaveGroup() + { + return $this->whoCanLeaveGroup; + } + public function setWhoCanPostMessage($whoCanPostMessage) + { + $this->whoCanPostMessage = $whoCanPostMessage; + } + public function getWhoCanPostMessage() + { + return $this->whoCanPostMessage; + } + public function setWhoCanViewGroup($whoCanViewGroup) + { + $this->whoCanViewGroup = $whoCanViewGroup; + } + public function getWhoCanViewGroup() + { + return $this->whoCanViewGroup; + } + public function setWhoCanViewMembership($whoCanViewMembership) + { + $this->whoCanViewMembership = $whoCanViewMembership; + } + public function getWhoCanViewMembership() + { + return $this->whoCanViewMembership; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/IdentityToolkit.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/IdentityToolkit.php new file mode 100644 index 0000000..0e8b0da --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/IdentityToolkit.php @@ -0,0 +1,1809 @@ + + * Help the third party sites to implement federated login.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_IdentityToolkit extends Google_Service +{ + + + public $relyingparty; + + + /** + * Constructs the internal representation of the IdentityToolkit service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'identitytoolkit/v3/relyingparty/'; + $this->version = 'v3'; + $this->serviceName = 'identitytoolkit'; + + $this->relyingparty = new Google_Service_IdentityToolkit_Relyingparty_Resource( + $this, + $this->serviceName, + 'relyingparty', + array( + 'methods' => array( + 'createAuthUri' => array( + 'path' => 'createAuthUri', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'deleteAccount' => array( + 'path' => 'deleteAccount', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'downloadAccount' => array( + 'path' => 'downloadAccount', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'getAccountInfo' => array( + 'path' => 'getAccountInfo', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'getOobConfirmationCode' => array( + 'path' => 'getOobConfirmationCode', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'getPublicKeys' => array( + 'path' => 'publicKeys', + 'httpMethod' => 'GET', + 'parameters' => array(), + ),'getRecaptchaParam' => array( + 'path' => 'getRecaptchaParam', + 'httpMethod' => 'GET', + 'parameters' => array(), + ),'resetPassword' => array( + 'path' => 'resetPassword', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'setAccountInfo' => array( + 'path' => 'setAccountInfo', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'uploadAccount' => array( + 'path' => 'uploadAccount', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'verifyAssertion' => array( + 'path' => 'verifyAssertion', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'verifyPassword' => array( + 'path' => 'verifyPassword', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + } +} + + +/** + * The "relyingparty" collection of methods. + * Typical usage is: + * + * $identitytoolkitService = new Google_Service_IdentityToolkit(...); + * $relyingparty = $identitytoolkitService->relyingparty; + * + */ +class Google_Service_IdentityToolkit_Relyingparty_Resource extends Google_Service_Resource +{ + + /** + * Creates the URI used by the IdP to authenticate the user. + * (relyingparty.createAuthUri) + * + * @param Google_IdentitytoolkitRelyingpartyCreateAuthUriRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_IdentityToolkit_CreateAuthUriResponse + */ + public function createAuthUri(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyCreateAuthUriRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('createAuthUri', array($params), "Google_Service_IdentityToolkit_CreateAuthUriResponse"); + } + + /** + * Delete user account. (relyingparty.deleteAccount) + * + * @param Google_IdentitytoolkitRelyingpartyDeleteAccountRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_IdentityToolkit_DeleteAccountResponse + */ + public function deleteAccount(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyDeleteAccountRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('deleteAccount', array($params), "Google_Service_IdentityToolkit_DeleteAccountResponse"); + } + + /** + * Batch download user accounts. (relyingparty.downloadAccount) + * + * @param Google_IdentitytoolkitRelyingpartyDownloadAccountRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_IdentityToolkit_DownloadAccountResponse + */ + public function downloadAccount(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyDownloadAccountRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('downloadAccount', array($params), "Google_Service_IdentityToolkit_DownloadAccountResponse"); + } + + /** + * Returns the account info. (relyingparty.getAccountInfo) + * + * @param Google_IdentitytoolkitRelyingpartyGetAccountInfoRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_IdentityToolkit_GetAccountInfoResponse + */ + public function getAccountInfo(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyGetAccountInfoRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('getAccountInfo', array($params), "Google_Service_IdentityToolkit_GetAccountInfoResponse"); + } + + /** + * Get a code for user action confirmation. + * (relyingparty.getOobConfirmationCode) + * + * @param Google_Relyingparty $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_IdentityToolkit_GetOobConfirmationCodeResponse + */ + public function getOobConfirmationCode(Google_Service_IdentityToolkit_Relyingparty $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('getOobConfirmationCode', array($params), "Google_Service_IdentityToolkit_GetOobConfirmationCodeResponse"); + } + + /** + * Get token signing public key. (relyingparty.getPublicKeys) + * + * @param array $optParams Optional parameters. + * @return Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyGetPublicKeysResponse + */ + public function getPublicKeys($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('getPublicKeys', array($params), "Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyGetPublicKeysResponse"); + } + + /** + * Get recaptcha secure param. (relyingparty.getRecaptchaParam) + * + * @param array $optParams Optional parameters. + * @return Google_Service_IdentityToolkit_GetRecaptchaParamResponse + */ + public function getRecaptchaParam($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('getRecaptchaParam', array($params), "Google_Service_IdentityToolkit_GetRecaptchaParamResponse"); + } + + /** + * Reset password for a user. (relyingparty.resetPassword) + * + * @param Google_IdentitytoolkitRelyingpartyResetPasswordRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_IdentityToolkit_ResetPasswordResponse + */ + public function resetPassword(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyResetPasswordRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('resetPassword', array($params), "Google_Service_IdentityToolkit_ResetPasswordResponse"); + } + + /** + * Set account info for a user. (relyingparty.setAccountInfo) + * + * @param Google_IdentitytoolkitRelyingpartySetAccountInfoRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_IdentityToolkit_SetAccountInfoResponse + */ + public function setAccountInfo(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartySetAccountInfoRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setAccountInfo', array($params), "Google_Service_IdentityToolkit_SetAccountInfoResponse"); + } + + /** + * Batch upload existing user accounts. (relyingparty.uploadAccount) + * + * @param Google_IdentitytoolkitRelyingpartyUploadAccountRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_IdentityToolkit_UploadAccountResponse + */ + public function uploadAccount(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyUploadAccountRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('uploadAccount', array($params), "Google_Service_IdentityToolkit_UploadAccountResponse"); + } + + /** + * Verifies the assertion returned by the IdP. (relyingparty.verifyAssertion) + * + * @param Google_IdentitytoolkitRelyingpartyVerifyAssertionRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_IdentityToolkit_VerifyAssertionResponse + */ + public function verifyAssertion(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyVerifyAssertionRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('verifyAssertion', array($params), "Google_Service_IdentityToolkit_VerifyAssertionResponse"); + } + + /** + * Verifies the user entered password. (relyingparty.verifyPassword) + * + * @param Google_IdentitytoolkitRelyingpartyVerifyPasswordRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_IdentityToolkit_VerifyPasswordResponse + */ + public function verifyPassword(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyVerifyPasswordRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('verifyPassword', array($params), "Google_Service_IdentityToolkit_VerifyPasswordResponse"); + } +} + + + + +class Google_Service_IdentityToolkit_CreateAuthUriResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $authUri; + public $captchaRequired; + public $forExistingProvider; + public $kind; + public $providerId; + public $registered; + + + public function setAuthUri($authUri) + { + $this->authUri = $authUri; + } + public function getAuthUri() + { + return $this->authUri; + } + public function setCaptchaRequired($captchaRequired) + { + $this->captchaRequired = $captchaRequired; + } + public function getCaptchaRequired() + { + return $this->captchaRequired; + } + public function setForExistingProvider($forExistingProvider) + { + $this->forExistingProvider = $forExistingProvider; + } + public function getForExistingProvider() + { + return $this->forExistingProvider; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setProviderId($providerId) + { + $this->providerId = $providerId; + } + public function getProviderId() + { + return $this->providerId; + } + public function setRegistered($registered) + { + $this->registered = $registered; + } + public function getRegistered() + { + return $this->registered; + } +} + +class Google_Service_IdentityToolkit_DeleteAccountResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_IdentityToolkit_DownloadAccountResponse extends Google_Collection +{ + protected $collection_key = 'users'; + protected $internal_gapi_mappings = array( + ); + public $kind; + public $nextPageToken; + protected $usersType = 'Google_Service_IdentityToolkit_UserInfo'; + protected $usersDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setUsers($users) + { + $this->users = $users; + } + public function getUsers() + { + return $this->users; + } +} + +class Google_Service_IdentityToolkit_GetAccountInfoResponse extends Google_Collection +{ + protected $collection_key = 'users'; + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $usersType = 'Google_Service_IdentityToolkit_UserInfo'; + protected $usersDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setUsers($users) + { + $this->users = $users; + } + public function getUsers() + { + return $this->users; + } +} + +class Google_Service_IdentityToolkit_GetOobConfirmationCodeResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + public $oobCode; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setOobCode($oobCode) + { + $this->oobCode = $oobCode; + } + public function getOobCode() + { + return $this->oobCode; + } +} + +class Google_Service_IdentityToolkit_GetRecaptchaParamResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + public $recaptchaSiteKey; + public $recaptchaStoken; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRecaptchaSiteKey($recaptchaSiteKey) + { + $this->recaptchaSiteKey = $recaptchaSiteKey; + } + public function getRecaptchaSiteKey() + { + return $this->recaptchaSiteKey; + } + public function setRecaptchaStoken($recaptchaStoken) + { + $this->recaptchaStoken = $recaptchaStoken; + } + public function getRecaptchaStoken() + { + return $this->recaptchaStoken; + } +} + +class Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyCreateAuthUriRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $appId; + public $clientId; + public $context; + public $continueUri; + public $identifier; + public $oauthConsumerKey; + public $oauthScope; + public $openidRealm; + public $otaApp; + public $providerId; + + + public function setAppId($appId) + { + $this->appId = $appId; + } + public function getAppId() + { + return $this->appId; + } + public function setClientId($clientId) + { + $this->clientId = $clientId; + } + public function getClientId() + { + return $this->clientId; + } + public function setContext($context) + { + $this->context = $context; + } + public function getContext() + { + return $this->context; + } + public function setContinueUri($continueUri) + { + $this->continueUri = $continueUri; + } + public function getContinueUri() + { + return $this->continueUri; + } + public function setIdentifier($identifier) + { + $this->identifier = $identifier; + } + public function getIdentifier() + { + return $this->identifier; + } + public function setOauthConsumerKey($oauthConsumerKey) + { + $this->oauthConsumerKey = $oauthConsumerKey; + } + public function getOauthConsumerKey() + { + return $this->oauthConsumerKey; + } + public function setOauthScope($oauthScope) + { + $this->oauthScope = $oauthScope; + } + public function getOauthScope() + { + return $this->oauthScope; + } + public function setOpenidRealm($openidRealm) + { + $this->openidRealm = $openidRealm; + } + public function getOpenidRealm() + { + return $this->openidRealm; + } + public function setOtaApp($otaApp) + { + $this->otaApp = $otaApp; + } + public function getOtaApp() + { + return $this->otaApp; + } + public function setProviderId($providerId) + { + $this->providerId = $providerId; + } + public function getProviderId() + { + return $this->providerId; + } +} + +class Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyDeleteAccountRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $localId; + + + public function setLocalId($localId) + { + $this->localId = $localId; + } + public function getLocalId() + { + return $this->localId; + } +} + +class Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyDownloadAccountRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $maxResults; + public $nextPageToken; + + + public function setMaxResults($maxResults) + { + $this->maxResults = $maxResults; + } + public function getMaxResults() + { + return $this->maxResults; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyGetAccountInfoRequest extends Google_Collection +{ + protected $collection_key = 'localId'; + protected $internal_gapi_mappings = array( + ); + public $email; + public $idToken; + public $localId; + + + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setIdToken($idToken) + { + $this->idToken = $idToken; + } + public function getIdToken() + { + return $this->idToken; + } + public function setLocalId($localId) + { + $this->localId = $localId; + } + public function getLocalId() + { + return $this->localId; + } +} + +class Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyGetPublicKeysResponse extends Google_Model +{ +} + +class Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyResetPasswordRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $email; + public $newPassword; + public $oldPassword; + public $oobCode; + + + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setNewPassword($newPassword) + { + $this->newPassword = $newPassword; + } + public function getNewPassword() + { + return $this->newPassword; + } + public function setOldPassword($oldPassword) + { + $this->oldPassword = $oldPassword; + } + public function getOldPassword() + { + return $this->oldPassword; + } + public function setOobCode($oobCode) + { + $this->oobCode = $oobCode; + } + public function getOobCode() + { + return $this->oobCode; + } +} + +class Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartySetAccountInfoRequest extends Google_Collection +{ + protected $collection_key = 'provider'; + protected $internal_gapi_mappings = array( + ); + public $captchaChallenge; + public $captchaResponse; + public $disableUser; + public $displayName; + public $email; + public $emailVerified; + public $idToken; + public $localId; + public $oobCode; + public $password; + public $provider; + public $upgradeToFederatedLogin; + public $validSince; + + + public function setCaptchaChallenge($captchaChallenge) + { + $this->captchaChallenge = $captchaChallenge; + } + public function getCaptchaChallenge() + { + return $this->captchaChallenge; + } + public function setCaptchaResponse($captchaResponse) + { + $this->captchaResponse = $captchaResponse; + } + public function getCaptchaResponse() + { + return $this->captchaResponse; + } + public function setDisableUser($disableUser) + { + $this->disableUser = $disableUser; + } + public function getDisableUser() + { + return $this->disableUser; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setEmailVerified($emailVerified) + { + $this->emailVerified = $emailVerified; + } + public function getEmailVerified() + { + return $this->emailVerified; + } + public function setIdToken($idToken) + { + $this->idToken = $idToken; + } + public function getIdToken() + { + return $this->idToken; + } + public function setLocalId($localId) + { + $this->localId = $localId; + } + public function getLocalId() + { + return $this->localId; + } + public function setOobCode($oobCode) + { + $this->oobCode = $oobCode; + } + public function getOobCode() + { + return $this->oobCode; + } + public function setPassword($password) + { + $this->password = $password; + } + public function getPassword() + { + return $this->password; + } + public function setProvider($provider) + { + $this->provider = $provider; + } + public function getProvider() + { + return $this->provider; + } + public function setUpgradeToFederatedLogin($upgradeToFederatedLogin) + { + $this->upgradeToFederatedLogin = $upgradeToFederatedLogin; + } + public function getUpgradeToFederatedLogin() + { + return $this->upgradeToFederatedLogin; + } + public function setValidSince($validSince) + { + $this->validSince = $validSince; + } + public function getValidSince() + { + return $this->validSince; + } +} + +class Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyUploadAccountRequest extends Google_Collection +{ + protected $collection_key = 'users'; + protected $internal_gapi_mappings = array( + ); + public $hashAlgorithm; + public $memoryCost; + public $rounds; + public $saltSeparator; + public $signerKey; + protected $usersType = 'Google_Service_IdentityToolkit_UserInfo'; + protected $usersDataType = 'array'; + + + public function setHashAlgorithm($hashAlgorithm) + { + $this->hashAlgorithm = $hashAlgorithm; + } + public function getHashAlgorithm() + { + return $this->hashAlgorithm; + } + public function setMemoryCost($memoryCost) + { + $this->memoryCost = $memoryCost; + } + public function getMemoryCost() + { + return $this->memoryCost; + } + public function setRounds($rounds) + { + $this->rounds = $rounds; + } + public function getRounds() + { + return $this->rounds; + } + public function setSaltSeparator($saltSeparator) + { + $this->saltSeparator = $saltSeparator; + } + public function getSaltSeparator() + { + return $this->saltSeparator; + } + public function setSignerKey($signerKey) + { + $this->signerKey = $signerKey; + } + public function getSignerKey() + { + return $this->signerKey; + } + public function setUsers($users) + { + $this->users = $users; + } + public function getUsers() + { + return $this->users; + } +} + +class Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyVerifyAssertionRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $pendingIdToken; + public $postBody; + public $requestUri; + public $returnRefreshToken; + + + public function setPendingIdToken($pendingIdToken) + { + $this->pendingIdToken = $pendingIdToken; + } + public function getPendingIdToken() + { + return $this->pendingIdToken; + } + public function setPostBody($postBody) + { + $this->postBody = $postBody; + } + public function getPostBody() + { + return $this->postBody; + } + public function setRequestUri($requestUri) + { + $this->requestUri = $requestUri; + } + public function getRequestUri() + { + return $this->requestUri; + } + public function setReturnRefreshToken($returnRefreshToken) + { + $this->returnRefreshToken = $returnRefreshToken; + } + public function getReturnRefreshToken() + { + return $this->returnRefreshToken; + } +} + +class Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyVerifyPasswordRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $captchaChallenge; + public $captchaResponse; + public $email; + public $password; + public $pendingIdToken; + + + public function setCaptchaChallenge($captchaChallenge) + { + $this->captchaChallenge = $captchaChallenge; + } + public function getCaptchaChallenge() + { + return $this->captchaChallenge; + } + public function setCaptchaResponse($captchaResponse) + { + $this->captchaResponse = $captchaResponse; + } + public function getCaptchaResponse() + { + return $this->captchaResponse; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setPassword($password) + { + $this->password = $password; + } + public function getPassword() + { + return $this->password; + } + public function setPendingIdToken($pendingIdToken) + { + $this->pendingIdToken = $pendingIdToken; + } + public function getPendingIdToken() + { + return $this->pendingIdToken; + } +} + +class Google_Service_IdentityToolkit_Relyingparty extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $captchaResp; + public $challenge; + public $email; + public $idToken; + public $kind; + public $newEmail; + public $requestType; + public $userIp; + + + public function setCaptchaResp($captchaResp) + { + $this->captchaResp = $captchaResp; + } + public function getCaptchaResp() + { + return $this->captchaResp; + } + public function setChallenge($challenge) + { + $this->challenge = $challenge; + } + public function getChallenge() + { + return $this->challenge; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setIdToken($idToken) + { + $this->idToken = $idToken; + } + public function getIdToken() + { + return $this->idToken; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNewEmail($newEmail) + { + $this->newEmail = $newEmail; + } + public function getNewEmail() + { + return $this->newEmail; + } + public function setRequestType($requestType) + { + $this->requestType = $requestType; + } + public function getRequestType() + { + return $this->requestType; + } + public function setUserIp($userIp) + { + $this->userIp = $userIp; + } + public function getUserIp() + { + return $this->userIp; + } +} + +class Google_Service_IdentityToolkit_ResetPasswordResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $email; + public $kind; + + + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_IdentityToolkit_SetAccountInfoResponse extends Google_Collection +{ + protected $collection_key = 'providerUserInfo'; + protected $internal_gapi_mappings = array( + ); + public $displayName; + public $email; + public $idToken; + public $kind; + public $newEmail; + protected $providerUserInfoType = 'Google_Service_IdentityToolkit_SetAccountInfoResponseProviderUserInfo'; + protected $providerUserInfoDataType = 'array'; + + + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setIdToken($idToken) + { + $this->idToken = $idToken; + } + public function getIdToken() + { + return $this->idToken; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNewEmail($newEmail) + { + $this->newEmail = $newEmail; + } + public function getNewEmail() + { + return $this->newEmail; + } + public function setProviderUserInfo($providerUserInfo) + { + $this->providerUserInfo = $providerUserInfo; + } + public function getProviderUserInfo() + { + return $this->providerUserInfo; + } +} + +class Google_Service_IdentityToolkit_SetAccountInfoResponseProviderUserInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $displayName; + public $photoUrl; + public $providerId; + + + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setPhotoUrl($photoUrl) + { + $this->photoUrl = $photoUrl; + } + public function getPhotoUrl() + { + return $this->photoUrl; + } + public function setProviderId($providerId) + { + $this->providerId = $providerId; + } + public function getProviderId() + { + return $this->providerId; + } +} + +class Google_Service_IdentityToolkit_UploadAccountResponse extends Google_Collection +{ + protected $collection_key = 'error'; + protected $internal_gapi_mappings = array( + ); + protected $errorType = 'Google_Service_IdentityToolkit_UploadAccountResponseError'; + protected $errorDataType = 'array'; + public $kind; + + + public function setError($error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_IdentityToolkit_UploadAccountResponseError extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $index; + public $message; + + + public function setIndex($index) + { + $this->index = $index; + } + public function getIndex() + { + return $this->index; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_IdentityToolkit_UserInfo extends Google_Collection +{ + protected $collection_key = 'providerUserInfo'; + protected $internal_gapi_mappings = array( + ); + public $disabled; + public $displayName; + public $email; + public $emailVerified; + public $localId; + public $passwordHash; + public $passwordUpdatedAt; + public $photoUrl; + protected $providerUserInfoType = 'Google_Service_IdentityToolkit_UserInfoProviderUserInfo'; + protected $providerUserInfoDataType = 'array'; + public $salt; + public $validSince; + public $version; + + + public function setDisabled($disabled) + { + $this->disabled = $disabled; + } + public function getDisabled() + { + return $this->disabled; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setEmailVerified($emailVerified) + { + $this->emailVerified = $emailVerified; + } + public function getEmailVerified() + { + return $this->emailVerified; + } + public function setLocalId($localId) + { + $this->localId = $localId; + } + public function getLocalId() + { + return $this->localId; + } + public function setPasswordHash($passwordHash) + { + $this->passwordHash = $passwordHash; + } + public function getPasswordHash() + { + return $this->passwordHash; + } + public function setPasswordUpdatedAt($passwordUpdatedAt) + { + $this->passwordUpdatedAt = $passwordUpdatedAt; + } + public function getPasswordUpdatedAt() + { + return $this->passwordUpdatedAt; + } + public function setPhotoUrl($photoUrl) + { + $this->photoUrl = $photoUrl; + } + public function getPhotoUrl() + { + return $this->photoUrl; + } + public function setProviderUserInfo($providerUserInfo) + { + $this->providerUserInfo = $providerUserInfo; + } + public function getProviderUserInfo() + { + return $this->providerUserInfo; + } + public function setSalt($salt) + { + $this->salt = $salt; + } + public function getSalt() + { + return $this->salt; + } + public function setValidSince($validSince) + { + $this->validSince = $validSince; + } + public function getValidSince() + { + return $this->validSince; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} + +class Google_Service_IdentityToolkit_UserInfoProviderUserInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $displayName; + public $federatedId; + public $photoUrl; + public $providerId; + + + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setFederatedId($federatedId) + { + $this->federatedId = $federatedId; + } + public function getFederatedId() + { + return $this->federatedId; + } + public function setPhotoUrl($photoUrl) + { + $this->photoUrl = $photoUrl; + } + public function getPhotoUrl() + { + return $this->photoUrl; + } + public function setProviderId($providerId) + { + $this->providerId = $providerId; + } + public function getProviderId() + { + return $this->providerId; + } +} + +class Google_Service_IdentityToolkit_VerifyAssertionResponse extends Google_Collection +{ + protected $collection_key = 'verifiedProvider'; + protected $internal_gapi_mappings = array( + ); + public $action; + public $appInstallationUrl; + public $appScheme; + public $context; + public $dateOfBirth; + public $displayName; + public $email; + public $emailRecycled; + public $emailVerified; + public $federatedId; + public $firstName; + public $fullName; + public $idToken; + public $inputEmail; + public $kind; + public $language; + public $lastName; + public $localId; + public $needConfirmation; + public $nickName; + public $oauthAccessToken; + public $oauthAuthorizationCode; + public $oauthExpireIn; + public $oauthRequestToken; + public $oauthScope; + public $originalEmail; + public $photoUrl; + public $providerId; + public $timeZone; + public $verifiedProvider; + + + public function setAction($action) + { + $this->action = $action; + } + public function getAction() + { + return $this->action; + } + public function setAppInstallationUrl($appInstallationUrl) + { + $this->appInstallationUrl = $appInstallationUrl; + } + public function getAppInstallationUrl() + { + return $this->appInstallationUrl; + } + public function setAppScheme($appScheme) + { + $this->appScheme = $appScheme; + } + public function getAppScheme() + { + return $this->appScheme; + } + public function setContext($context) + { + $this->context = $context; + } + public function getContext() + { + return $this->context; + } + public function setDateOfBirth($dateOfBirth) + { + $this->dateOfBirth = $dateOfBirth; + } + public function getDateOfBirth() + { + return $this->dateOfBirth; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setEmailRecycled($emailRecycled) + { + $this->emailRecycled = $emailRecycled; + } + public function getEmailRecycled() + { + return $this->emailRecycled; + } + public function setEmailVerified($emailVerified) + { + $this->emailVerified = $emailVerified; + } + public function getEmailVerified() + { + return $this->emailVerified; + } + public function setFederatedId($federatedId) + { + $this->federatedId = $federatedId; + } + public function getFederatedId() + { + return $this->federatedId; + } + public function setFirstName($firstName) + { + $this->firstName = $firstName; + } + public function getFirstName() + { + return $this->firstName; + } + public function setFullName($fullName) + { + $this->fullName = $fullName; + } + public function getFullName() + { + return $this->fullName; + } + public function setIdToken($idToken) + { + $this->idToken = $idToken; + } + public function getIdToken() + { + return $this->idToken; + } + public function setInputEmail($inputEmail) + { + $this->inputEmail = $inputEmail; + } + public function getInputEmail() + { + return $this->inputEmail; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLanguage($language) + { + $this->language = $language; + } + public function getLanguage() + { + return $this->language; + } + public function setLastName($lastName) + { + $this->lastName = $lastName; + } + public function getLastName() + { + return $this->lastName; + } + public function setLocalId($localId) + { + $this->localId = $localId; + } + public function getLocalId() + { + return $this->localId; + } + public function setNeedConfirmation($needConfirmation) + { + $this->needConfirmation = $needConfirmation; + } + public function getNeedConfirmation() + { + return $this->needConfirmation; + } + public function setNickName($nickName) + { + $this->nickName = $nickName; + } + public function getNickName() + { + return $this->nickName; + } + public function setOauthAccessToken($oauthAccessToken) + { + $this->oauthAccessToken = $oauthAccessToken; + } + public function getOauthAccessToken() + { + return $this->oauthAccessToken; + } + public function setOauthAuthorizationCode($oauthAuthorizationCode) + { + $this->oauthAuthorizationCode = $oauthAuthorizationCode; + } + public function getOauthAuthorizationCode() + { + return $this->oauthAuthorizationCode; + } + public function setOauthExpireIn($oauthExpireIn) + { + $this->oauthExpireIn = $oauthExpireIn; + } + public function getOauthExpireIn() + { + return $this->oauthExpireIn; + } + public function setOauthRequestToken($oauthRequestToken) + { + $this->oauthRequestToken = $oauthRequestToken; + } + public function getOauthRequestToken() + { + return $this->oauthRequestToken; + } + public function setOauthScope($oauthScope) + { + $this->oauthScope = $oauthScope; + } + public function getOauthScope() + { + return $this->oauthScope; + } + public function setOriginalEmail($originalEmail) + { + $this->originalEmail = $originalEmail; + } + public function getOriginalEmail() + { + return $this->originalEmail; + } + public function setPhotoUrl($photoUrl) + { + $this->photoUrl = $photoUrl; + } + public function getPhotoUrl() + { + return $this->photoUrl; + } + public function setProviderId($providerId) + { + $this->providerId = $providerId; + } + public function getProviderId() + { + return $this->providerId; + } + public function setTimeZone($timeZone) + { + $this->timeZone = $timeZone; + } + public function getTimeZone() + { + return $this->timeZone; + } + public function setVerifiedProvider($verifiedProvider) + { + $this->verifiedProvider = $verifiedProvider; + } + public function getVerifiedProvider() + { + return $this->verifiedProvider; + } +} + +class Google_Service_IdentityToolkit_VerifyPasswordResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $displayName; + public $email; + public $idToken; + public $kind; + public $localId; + public $oauthAccessToken; + public $oauthAuthorizationCode; + public $oauthExpireIn; + public $photoUrl; + public $registered; + + + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setIdToken($idToken) + { + $this->idToken = $idToken; + } + public function getIdToken() + { + return $this->idToken; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLocalId($localId) + { + $this->localId = $localId; + } + public function getLocalId() + { + return $this->localId; + } + public function setOauthAccessToken($oauthAccessToken) + { + $this->oauthAccessToken = $oauthAccessToken; + } + public function getOauthAccessToken() + { + return $this->oauthAccessToken; + } + public function setOauthAuthorizationCode($oauthAuthorizationCode) + { + $this->oauthAuthorizationCode = $oauthAuthorizationCode; + } + public function getOauthAuthorizationCode() + { + return $this->oauthAuthorizationCode; + } + public function setOauthExpireIn($oauthExpireIn) + { + $this->oauthExpireIn = $oauthExpireIn; + } + public function getOauthExpireIn() + { + return $this->oauthExpireIn; + } + public function setPhotoUrl($photoUrl) + { + $this->photoUrl = $photoUrl; + } + public function getPhotoUrl() + { + return $this->photoUrl; + } + public function setRegistered($registered) + { + $this->registered = $registered; + } + public function getRegistered() + { + return $this->registered; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Licensing.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Licensing.php new file mode 100644 index 0000000..5aa111b --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Licensing.php @@ -0,0 +1,479 @@ + + * Licensing API to view and manage license for your domain.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Licensing extends Google_Service +{ + /** View and manage Google Apps licenses for your domain. */ + const APPS_LICENSING = + "https://www.googleapis.com/auth/apps.licensing"; + + public $licenseAssignments; + + + /** + * Constructs the internal representation of the Licensing service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'apps/licensing/v1/product/'; + $this->version = 'v1'; + $this->serviceName = 'licensing'; + + $this->licenseAssignments = new Google_Service_Licensing_LicenseAssignments_Resource( + $this, + $this->serviceName, + 'licenseAssignments', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{productId}/sku/{skuId}/user/{userId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'skuId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{productId}/sku/{skuId}/user/{userId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'skuId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{productId}/sku/{skuId}/user', + 'httpMethod' => 'POST', + 'parameters' => array( + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'skuId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'listForProduct' => array( + 'path' => '{productId}/users', + 'httpMethod' => 'GET', + 'parameters' => array( + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customerId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'listForProductAndSku' => array( + 'path' => '{productId}/sku/{skuId}/users', + 'httpMethod' => 'GET', + 'parameters' => array( + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'skuId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customerId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => '{productId}/sku/{skuId}/user/{userId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'skuId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{productId}/sku/{skuId}/user/{userId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'skuId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "licenseAssignments" collection of methods. + * Typical usage is: + * + * $licensingService = new Google_Service_Licensing(...); + * $licenseAssignments = $licensingService->licenseAssignments; + * + */ +class Google_Service_Licensing_LicenseAssignments_Resource extends Google_Service_Resource +{ + + /** + * Revoke License. (licenseAssignments.delete) + * + * @param string $productId Name for product + * @param string $skuId Name for sku + * @param string $userId email id or unique Id of the user + * @param array $optParams Optional parameters. + */ + public function delete($productId, $skuId, $userId, $optParams = array()) + { + $params = array('productId' => $productId, 'skuId' => $skuId, 'userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Get license assignment of a particular product and sku for a user + * (licenseAssignments.get) + * + * @param string $productId Name for product + * @param string $skuId Name for sku + * @param string $userId email id or unique Id of the user + * @param array $optParams Optional parameters. + * @return Google_Service_Licensing_LicenseAssignment + */ + public function get($productId, $skuId, $userId, $optParams = array()) + { + $params = array('productId' => $productId, 'skuId' => $skuId, 'userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Licensing_LicenseAssignment"); + } + + /** + * Assign License. (licenseAssignments.insert) + * + * @param string $productId Name for product + * @param string $skuId Name for sku + * @param Google_LicenseAssignmentInsert $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Licensing_LicenseAssignment + */ + public function insert($productId, $skuId, Google_Service_Licensing_LicenseAssignmentInsert $postBody, $optParams = array()) + { + $params = array('productId' => $productId, 'skuId' => $skuId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Licensing_LicenseAssignment"); + } + + /** + * List license assignments for given product of the customer. + * (licenseAssignments.listForProduct) + * + * @param string $productId Name for product + * @param string $customerId CustomerId represents the customer for whom + * licenseassignments are queried + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Token to fetch the next page.Optional. By default + * server will return first page + * @opt_param string maxResults Maximum number of campaigns to return at one + * time. Must be positive. Optional. Default value is 100. + * @return Google_Service_Licensing_LicenseAssignmentList + */ + public function listForProduct($productId, $customerId, $optParams = array()) + { + $params = array('productId' => $productId, 'customerId' => $customerId); + $params = array_merge($params, $optParams); + return $this->call('listForProduct', array($params), "Google_Service_Licensing_LicenseAssignmentList"); + } + + /** + * List license assignments for given product and sku of the customer. + * (licenseAssignments.listForProductAndSku) + * + * @param string $productId Name for product + * @param string $skuId Name for sku + * @param string $customerId CustomerId represents the customer for whom + * licenseassignments are queried + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Token to fetch the next page.Optional. By default + * server will return first page + * @opt_param string maxResults Maximum number of campaigns to return at one + * time. Must be positive. Optional. Default value is 100. + * @return Google_Service_Licensing_LicenseAssignmentList + */ + public function listForProductAndSku($productId, $skuId, $customerId, $optParams = array()) + { + $params = array('productId' => $productId, 'skuId' => $skuId, 'customerId' => $customerId); + $params = array_merge($params, $optParams); + return $this->call('listForProductAndSku', array($params), "Google_Service_Licensing_LicenseAssignmentList"); + } + + /** + * Assign License. This method supports patch semantics. + * (licenseAssignments.patch) + * + * @param string $productId Name for product + * @param string $skuId Name for sku for which license would be revoked + * @param string $userId email id or unique Id of the user + * @param Google_LicenseAssignment $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Licensing_LicenseAssignment + */ + public function patch($productId, $skuId, $userId, Google_Service_Licensing_LicenseAssignment $postBody, $optParams = array()) + { + $params = array('productId' => $productId, 'skuId' => $skuId, 'userId' => $userId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Licensing_LicenseAssignment"); + } + + /** + * Assign License. (licenseAssignments.update) + * + * @param string $productId Name for product + * @param string $skuId Name for sku for which license would be revoked + * @param string $userId email id or unique Id of the user + * @param Google_LicenseAssignment $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Licensing_LicenseAssignment + */ + public function update($productId, $skuId, $userId, Google_Service_Licensing_LicenseAssignment $postBody, $optParams = array()) + { + $params = array('productId' => $productId, 'skuId' => $skuId, 'userId' => $userId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Licensing_LicenseAssignment"); + } +} + + + + +class Google_Service_Licensing_LicenseAssignment extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $etags; + public $kind; + public $productId; + public $selfLink; + public $skuId; + public $userId; + + + public function setEtags($etags) + { + $this->etags = $etags; + } + public function getEtags() + { + return $this->etags; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setProductId($productId) + { + $this->productId = $productId; + } + public function getProductId() + { + return $this->productId; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setSkuId($skuId) + { + $this->skuId = $skuId; + } + public function getSkuId() + { + return $this->skuId; + } + public function setUserId($userId) + { + $this->userId = $userId; + } + public function getUserId() + { + return $this->userId; + } +} + +class Google_Service_Licensing_LicenseAssignmentInsert extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $userId; + + + public function setUserId($userId) + { + $this->userId = $userId; + } + public function getUserId() + { + return $this->userId; + } +} + +class Google_Service_Licensing_LicenseAssignmentList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_Licensing_LicenseAssignment'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Logging.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Logging.php new file mode 100644 index 0000000..598e00b --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Logging.php @@ -0,0 +1,453 @@ + + * Google Cloud Logging API lets you create logs, ingest log entries, and manage + * log sinks.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Logging extends Google_Service +{ + + + + + + /** + * Constructs the internal representation of the Logging service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://logging.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v2beta1'; + $this->serviceName = 'logging'; + + } +} + + + + + +class Google_Service_Logging_LogLine extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $logMessage; + public $severity; + protected $sourceLocationType = 'Google_Service_Logging_SourceLocation'; + protected $sourceLocationDataType = ''; + public $time; + + + public function setLogMessage($logMessage) + { + $this->logMessage = $logMessage; + } + public function getLogMessage() + { + return $this->logMessage; + } + public function setSeverity($severity) + { + $this->severity = $severity; + } + public function getSeverity() + { + return $this->severity; + } + public function setSourceLocation(Google_Service_Logging_SourceLocation $sourceLocation) + { + $this->sourceLocation = $sourceLocation; + } + public function getSourceLocation() + { + return $this->sourceLocation; + } + public function setTime($time) + { + $this->time = $time; + } + public function getTime() + { + return $this->time; + } +} + +class Google_Service_Logging_RequestLog extends Google_Collection +{ + protected $collection_key = 'sourceReference'; + protected $internal_gapi_mappings = array( + ); + public $appEngineRelease; + public $appId; + public $cost; + public $endTime; + public $finished; + public $host; + public $httpVersion; + public $instanceId; + public $instanceIndex; + public $ip; + public $latency; + protected $lineType = 'Google_Service_Logging_LogLine'; + protected $lineDataType = 'array'; + public $megaCycles; + public $method; + public $moduleId; + public $nickname; + public $pendingTime; + public $referrer; + public $requestId; + public $resource; + public $responseSize; + protected $sourceReferenceType = 'Google_Service_Logging_SourceReference'; + protected $sourceReferenceDataType = 'array'; + public $startTime; + public $status; + public $taskName; + public $taskQueueName; + public $traceId; + public $urlMapEntry; + public $userAgent; + public $versionId; + public $wasLoadingRequest; + + + public function setAppEngineRelease($appEngineRelease) + { + $this->appEngineRelease = $appEngineRelease; + } + public function getAppEngineRelease() + { + return $this->appEngineRelease; + } + public function setAppId($appId) + { + $this->appId = $appId; + } + public function getAppId() + { + return $this->appId; + } + public function setCost($cost) + { + $this->cost = $cost; + } + public function getCost() + { + return $this->cost; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setFinished($finished) + { + $this->finished = $finished; + } + public function getFinished() + { + return $this->finished; + } + public function setHost($host) + { + $this->host = $host; + } + public function getHost() + { + return $this->host; + } + public function setHttpVersion($httpVersion) + { + $this->httpVersion = $httpVersion; + } + public function getHttpVersion() + { + return $this->httpVersion; + } + public function setInstanceId($instanceId) + { + $this->instanceId = $instanceId; + } + public function getInstanceId() + { + return $this->instanceId; + } + public function setInstanceIndex($instanceIndex) + { + $this->instanceIndex = $instanceIndex; + } + public function getInstanceIndex() + { + return $this->instanceIndex; + } + public function setIp($ip) + { + $this->ip = $ip; + } + public function getIp() + { + return $this->ip; + } + public function setLatency($latency) + { + $this->latency = $latency; + } + public function getLatency() + { + return $this->latency; + } + public function setLine($line) + { + $this->line = $line; + } + public function getLine() + { + return $this->line; + } + public function setMegaCycles($megaCycles) + { + $this->megaCycles = $megaCycles; + } + public function getMegaCycles() + { + return $this->megaCycles; + } + public function setMethod($method) + { + $this->method = $method; + } + public function getMethod() + { + return $this->method; + } + public function setModuleId($moduleId) + { + $this->moduleId = $moduleId; + } + public function getModuleId() + { + return $this->moduleId; + } + public function setNickname($nickname) + { + $this->nickname = $nickname; + } + public function getNickname() + { + return $this->nickname; + } + public function setPendingTime($pendingTime) + { + $this->pendingTime = $pendingTime; + } + public function getPendingTime() + { + return $this->pendingTime; + } + public function setReferrer($referrer) + { + $this->referrer = $referrer; + } + public function getReferrer() + { + return $this->referrer; + } + public function setRequestId($requestId) + { + $this->requestId = $requestId; + } + public function getRequestId() + { + return $this->requestId; + } + public function setResource($resource) + { + $this->resource = $resource; + } + public function getResource() + { + return $this->resource; + } + public function setResponseSize($responseSize) + { + $this->responseSize = $responseSize; + } + public function getResponseSize() + { + return $this->responseSize; + } + public function setSourceReference($sourceReference) + { + $this->sourceReference = $sourceReference; + } + public function getSourceReference() + { + return $this->sourceReference; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setTaskName($taskName) + { + $this->taskName = $taskName; + } + public function getTaskName() + { + return $this->taskName; + } + public function setTaskQueueName($taskQueueName) + { + $this->taskQueueName = $taskQueueName; + } + public function getTaskQueueName() + { + return $this->taskQueueName; + } + public function setTraceId($traceId) + { + $this->traceId = $traceId; + } + public function getTraceId() + { + return $this->traceId; + } + public function setUrlMapEntry($urlMapEntry) + { + $this->urlMapEntry = $urlMapEntry; + } + public function getUrlMapEntry() + { + return $this->urlMapEntry; + } + public function setUserAgent($userAgent) + { + $this->userAgent = $userAgent; + } + public function getUserAgent() + { + return $this->userAgent; + } + public function setVersionId($versionId) + { + $this->versionId = $versionId; + } + public function getVersionId() + { + return $this->versionId; + } + public function setWasLoadingRequest($wasLoadingRequest) + { + $this->wasLoadingRequest = $wasLoadingRequest; + } + public function getWasLoadingRequest() + { + return $this->wasLoadingRequest; + } +} + +class Google_Service_Logging_SourceLocation extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $file; + public $functionName; + public $line; + + + public function setFile($file) + { + $this->file = $file; + } + public function getFile() + { + return $this->file; + } + public function setFunctionName($functionName) + { + $this->functionName = $functionName; + } + public function getFunctionName() + { + return $this->functionName; + } + public function setLine($line) + { + $this->line = $line; + } + public function getLine() + { + return $this->line; + } +} + +class Google_Service_Logging_SourceReference extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $repository; + public $revisionId; + + + public function setRepository($repository) + { + $this->repository = $repository; + } + public function getRepository() + { + return $this->repository; + } + public function setRevisionId($revisionId) + { + $this->revisionId = $revisionId; + } + public function getRevisionId() + { + return $this->revisionId; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Manager.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Manager.php new file mode 100644 index 0000000..a206400 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Manager.php @@ -0,0 +1,1861 @@ + + * The Deployment Manager API allows users to declaratively configure, deploy + * and run complex solutions on the Google Cloud Platform.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Manager extends Google_Service +{ + /** View and manage your applications deployed on Google App Engine. */ + const APPENGINE_ADMIN = + "https://www.googleapis.com/auth/appengine.admin"; + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** View your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM_READ_ONLY = + "https://www.googleapis.com/auth/cloud-platform.read-only"; + /** View and manage your Google Compute Engine resources. */ + const COMPUTE = + "https://www.googleapis.com/auth/compute"; + /** Manage your data in Google Cloud Storage. */ + const DEVSTORAGE_READ_WRITE = + "https://www.googleapis.com/auth/devstorage.read_write"; + /** View and manage your Google Cloud Platform management resources and deployment status information. */ + const NDEV_CLOUDMAN = + "https://www.googleapis.com/auth/ndev.cloudman"; + /** View your Google Cloud Platform management resources and deployment status information. */ + const NDEV_CLOUDMAN_READONLY = + "https://www.googleapis.com/auth/ndev.cloudman.readonly"; + + public $deployments; + public $templates; + + + /** + * Constructs the internal representation of the Manager service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'manager/v1beta2/projects/'; + $this->version = 'v1beta2'; + $this->serviceName = 'manager'; + + $this->deployments = new Google_Service_Manager_Deployments_Resource( + $this, + $this->serviceName, + 'deployments', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{projectId}/regions/{region}/deployments/{deploymentName}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deploymentName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{projectId}/regions/{region}/deployments/{deploymentName}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deploymentName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{projectId}/regions/{region}/deployments', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{projectId}/regions/{region}/deployments', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->templates = new Google_Service_Manager_Templates_Resource( + $this, + $this->serviceName, + 'templates', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{projectId}/templates/{templateName}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'templateName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{projectId}/templates/{templateName}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'templateName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{projectId}/templates', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{projectId}/templates', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "deployments" collection of methods. + * Typical usage is: + * + * $managerService = new Google_Service_Manager(...); + * $deployments = $managerService->deployments; + * + */ +class Google_Service_Manager_Deployments_Resource extends Google_Service_Resource +{ + + /** + * (deployments.delete) + * + * @param string $projectId + * @param string $region + * @param string $deploymentName + * @param array $optParams Optional parameters. + */ + public function delete($projectId, $region, $deploymentName, $optParams = array()) + { + $params = array('projectId' => $projectId, 'region' => $region, 'deploymentName' => $deploymentName); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * (deployments.get) + * + * @param string $projectId + * @param string $region + * @param string $deploymentName + * @param array $optParams Optional parameters. + * @return Google_Service_Manager_Deployment + */ + public function get($projectId, $region, $deploymentName, $optParams = array()) + { + $params = array('projectId' => $projectId, 'region' => $region, 'deploymentName' => $deploymentName); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Manager_Deployment"); + } + + /** + * (deployments.insert) + * + * @param string $projectId + * @param string $region + * @param Google_Deployment $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Manager_Deployment + */ + public function insert($projectId, $region, Google_Service_Manager_Deployment $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'region' => $region, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Manager_Deployment"); + } + + /** + * (deployments.listDeployments) + * + * @param string $projectId + * @param string $region + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Specifies a nextPageToken returned by a previous + * list request. This token can be used to request the next page of results from + * a previous list request. + * @opt_param int maxResults Maximum count of results to be returned. Acceptable + * values are 0 to 100, inclusive. (Default: 50) + * @return Google_Service_Manager_DeploymentsListResponse + */ + public function listDeployments($projectId, $region, $optParams = array()) + { + $params = array('projectId' => $projectId, 'region' => $region); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Manager_DeploymentsListResponse"); + } +} + +/** + * The "templates" collection of methods. + * Typical usage is: + * + * $managerService = new Google_Service_Manager(...); + * $templates = $managerService->templates; + * + */ +class Google_Service_Manager_Templates_Resource extends Google_Service_Resource +{ + + /** + * (templates.delete) + * + * @param string $projectId + * @param string $templateName + * @param array $optParams Optional parameters. + */ + public function delete($projectId, $templateName, $optParams = array()) + { + $params = array('projectId' => $projectId, 'templateName' => $templateName); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * (templates.get) + * + * @param string $projectId + * @param string $templateName + * @param array $optParams Optional parameters. + * @return Google_Service_Manager_Template + */ + public function get($projectId, $templateName, $optParams = array()) + { + $params = array('projectId' => $projectId, 'templateName' => $templateName); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Manager_Template"); + } + + /** + * (templates.insert) + * + * @param string $projectId + * @param Google_Template $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Manager_Template + */ + public function insert($projectId, Google_Service_Manager_Template $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Manager_Template"); + } + + /** + * (templates.listTemplates) + * + * @param string $projectId + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Specifies a nextPageToken returned by a previous + * list request. This token can be used to request the next page of results from + * a previous list request. + * @opt_param int maxResults Maximum count of results to be returned. Acceptable + * values are 0 to 100, inclusive. (Default: 50) + * @return Google_Service_Manager_TemplatesListResponse + */ + public function listTemplates($projectId, $optParams = array()) + { + $params = array('projectId' => $projectId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Manager_TemplatesListResponse"); + } +} + + + + +class Google_Service_Manager_AccessConfig extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $name; + public $natIp; + public $type; + + + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNatIp($natIp) + { + $this->natIp = $natIp; + } + public function getNatIp() + { + return $this->natIp; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Manager_Action extends Google_Collection +{ + protected $collection_key = 'commands'; + protected $internal_gapi_mappings = array( + ); + public $commands; + public $timeoutMs; + + + public function setCommands($commands) + { + $this->commands = $commands; + } + public function getCommands() + { + return $this->commands; + } + public function setTimeoutMs($timeoutMs) + { + $this->timeoutMs = $timeoutMs; + } + public function getTimeoutMs() + { + return $this->timeoutMs; + } +} + +class Google_Service_Manager_AllowedRule extends Google_Collection +{ + protected $collection_key = 'ports'; + protected $internal_gapi_mappings = array( + "iPProtocol" => "IPProtocol", + ); + public $iPProtocol; + public $ports; + + + public function setIPProtocol($iPProtocol) + { + $this->iPProtocol = $iPProtocol; + } + public function getIPProtocol() + { + return $this->iPProtocol; + } + public function setPorts($ports) + { + $this->ports = $ports; + } + public function getPorts() + { + return $this->ports; + } +} + +class Google_Service_Manager_AutoscalingModule extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $coolDownPeriodSec; + public $description; + public $maxNumReplicas; + public $minNumReplicas; + public $signalType; + public $targetModule; + public $targetUtilization; + + + public function setCoolDownPeriodSec($coolDownPeriodSec) + { + $this->coolDownPeriodSec = $coolDownPeriodSec; + } + public function getCoolDownPeriodSec() + { + return $this->coolDownPeriodSec; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setMaxNumReplicas($maxNumReplicas) + { + $this->maxNumReplicas = $maxNumReplicas; + } + public function getMaxNumReplicas() + { + return $this->maxNumReplicas; + } + public function setMinNumReplicas($minNumReplicas) + { + $this->minNumReplicas = $minNumReplicas; + } + public function getMinNumReplicas() + { + return $this->minNumReplicas; + } + public function setSignalType($signalType) + { + $this->signalType = $signalType; + } + public function getSignalType() + { + return $this->signalType; + } + public function setTargetModule($targetModule) + { + $this->targetModule = $targetModule; + } + public function getTargetModule() + { + return $this->targetModule; + } + public function setTargetUtilization($targetUtilization) + { + $this->targetUtilization = $targetUtilization; + } + public function getTargetUtilization() + { + return $this->targetUtilization; + } +} + +class Google_Service_Manager_AutoscalingModuleStatus extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $autoscalingConfigUrl; + + + public function setAutoscalingConfigUrl($autoscalingConfigUrl) + { + $this->autoscalingConfigUrl = $autoscalingConfigUrl; + } + public function getAutoscalingConfigUrl() + { + return $this->autoscalingConfigUrl; + } +} + +class Google_Service_Manager_DeployState extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $details; + public $status; + + + public function setDetails($details) + { + $this->details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} + +class Google_Service_Manager_Deployment extends Google_Collection +{ + protected $collection_key = 'overrides'; + protected $internal_gapi_mappings = array( + ); + public $creationDate; + public $description; + protected $modulesType = 'Google_Service_Manager_ModuleStatus'; + protected $modulesDataType = 'map'; + public $name; + protected $overridesType = 'Google_Service_Manager_ParamOverride'; + protected $overridesDataType = 'array'; + protected $stateType = 'Google_Service_Manager_DeployState'; + protected $stateDataType = ''; + public $templateName; + + + public function setCreationDate($creationDate) + { + $this->creationDate = $creationDate; + } + public function getCreationDate() + { + return $this->creationDate; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setModules($modules) + { + $this->modules = $modules; + } + public function getModules() + { + return $this->modules; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOverrides($overrides) + { + $this->overrides = $overrides; + } + public function getOverrides() + { + return $this->overrides; + } + public function setState(Google_Service_Manager_DeployState $state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } + public function setTemplateName($templateName) + { + $this->templateName = $templateName; + } + public function getTemplateName() + { + return $this->templateName; + } +} + +class Google_Service_Manager_DeploymentModules extends Google_Model +{ +} + +class Google_Service_Manager_DeploymentsListResponse extends Google_Collection +{ + protected $collection_key = 'resources'; + protected $internal_gapi_mappings = array( + ); + public $nextPageToken; + protected $resourcesType = 'Google_Service_Manager_Deployment'; + protected $resourcesDataType = 'array'; + + + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setResources($resources) + { + $this->resources = $resources; + } + public function getResources() + { + return $this->resources; + } +} + +class Google_Service_Manager_DiskAttachment extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $deviceName; + public $index; + + + public function setDeviceName($deviceName) + { + $this->deviceName = $deviceName; + } + public function getDeviceName() + { + return $this->deviceName; + } + public function setIndex($index) + { + $this->index = $index; + } + public function getIndex() + { + return $this->index; + } +} + +class Google_Service_Manager_EnvVariable extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $hidden; + public $value; + + + public function setHidden($hidden) + { + $this->hidden = $hidden; + } + public function getHidden() + { + return $this->hidden; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Manager_ExistingDisk extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $attachmentType = 'Google_Service_Manager_DiskAttachment'; + protected $attachmentDataType = ''; + public $source; + + + public function setAttachment(Google_Service_Manager_DiskAttachment $attachment) + { + $this->attachment = $attachment; + } + public function getAttachment() + { + return $this->attachment; + } + public function setSource($source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } +} + +class Google_Service_Manager_FirewallModule extends Google_Collection +{ + protected $collection_key = 'targetTags'; + protected $internal_gapi_mappings = array( + ); + protected $allowedType = 'Google_Service_Manager_AllowedRule'; + protected $allowedDataType = 'array'; + public $description; + public $network; + public $sourceRanges; + public $sourceTags; + public $targetTags; + + + public function setAllowed($allowed) + { + $this->allowed = $allowed; + } + public function getAllowed() + { + return $this->allowed; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setNetwork($network) + { + $this->network = $network; + } + public function getNetwork() + { + return $this->network; + } + public function setSourceRanges($sourceRanges) + { + $this->sourceRanges = $sourceRanges; + } + public function getSourceRanges() + { + return $this->sourceRanges; + } + public function setSourceTags($sourceTags) + { + $this->sourceTags = $sourceTags; + } + public function getSourceTags() + { + return $this->sourceTags; + } + public function setTargetTags($targetTags) + { + $this->targetTags = $targetTags; + } + public function getTargetTags() + { + return $this->targetTags; + } +} + +class Google_Service_Manager_FirewallModuleStatus extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $firewallUrl; + + + public function setFirewallUrl($firewallUrl) + { + $this->firewallUrl = $firewallUrl; + } + public function getFirewallUrl() + { + return $this->firewallUrl; + } +} + +class Google_Service_Manager_HealthCheckModule extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $checkIntervalSec; + public $description; + public $healthyThreshold; + public $host; + public $path; + public $port; + public $timeoutSec; + public $unhealthyThreshold; + + + public function setCheckIntervalSec($checkIntervalSec) + { + $this->checkIntervalSec = $checkIntervalSec; + } + public function getCheckIntervalSec() + { + return $this->checkIntervalSec; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setHealthyThreshold($healthyThreshold) + { + $this->healthyThreshold = $healthyThreshold; + } + public function getHealthyThreshold() + { + return $this->healthyThreshold; + } + public function setHost($host) + { + $this->host = $host; + } + public function getHost() + { + return $this->host; + } + public function setPath($path) + { + $this->path = $path; + } + public function getPath() + { + return $this->path; + } + public function setPort($port) + { + $this->port = $port; + } + public function getPort() + { + return $this->port; + } + public function setTimeoutSec($timeoutSec) + { + $this->timeoutSec = $timeoutSec; + } + public function getTimeoutSec() + { + return $this->timeoutSec; + } + public function setUnhealthyThreshold($unhealthyThreshold) + { + $this->unhealthyThreshold = $unhealthyThreshold; + } + public function getUnhealthyThreshold() + { + return $this->unhealthyThreshold; + } +} + +class Google_Service_Manager_HealthCheckModuleStatus extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $healthCheckUrl; + + + public function setHealthCheckUrl($healthCheckUrl) + { + $this->healthCheckUrl = $healthCheckUrl; + } + public function getHealthCheckUrl() + { + return $this->healthCheckUrl; + } +} + +class Google_Service_Manager_LbModule extends Google_Collection +{ + protected $collection_key = 'targetModules'; + protected $internal_gapi_mappings = array( + ); + public $description; + public $healthChecks; + public $ipAddress; + public $ipProtocol; + public $portRange; + public $sessionAffinity; + public $targetModules; + + + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setHealthChecks($healthChecks) + { + $this->healthChecks = $healthChecks; + } + public function getHealthChecks() + { + return $this->healthChecks; + } + public function setIpAddress($ipAddress) + { + $this->ipAddress = $ipAddress; + } + public function getIpAddress() + { + return $this->ipAddress; + } + public function setIpProtocol($ipProtocol) + { + $this->ipProtocol = $ipProtocol; + } + public function getIpProtocol() + { + return $this->ipProtocol; + } + public function setPortRange($portRange) + { + $this->portRange = $portRange; + } + public function getPortRange() + { + return $this->portRange; + } + public function setSessionAffinity($sessionAffinity) + { + $this->sessionAffinity = $sessionAffinity; + } + public function getSessionAffinity() + { + return $this->sessionAffinity; + } + public function setTargetModules($targetModules) + { + $this->targetModules = $targetModules; + } + public function getTargetModules() + { + return $this->targetModules; + } +} + +class Google_Service_Manager_LbModuleStatus extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $forwardingRuleUrl; + public $targetPoolUrl; + + + public function setForwardingRuleUrl($forwardingRuleUrl) + { + $this->forwardingRuleUrl = $forwardingRuleUrl; + } + public function getForwardingRuleUrl() + { + return $this->forwardingRuleUrl; + } + public function setTargetPoolUrl($targetPoolUrl) + { + $this->targetPoolUrl = $targetPoolUrl; + } + public function getTargetPoolUrl() + { + return $this->targetPoolUrl; + } +} + +class Google_Service_Manager_Metadata extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $fingerPrint; + protected $itemsType = 'Google_Service_Manager_MetadataItem'; + protected $itemsDataType = 'array'; + + + public function setFingerPrint($fingerPrint) + { + $this->fingerPrint = $fingerPrint; + } + public function getFingerPrint() + { + return $this->fingerPrint; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } +} + +class Google_Service_Manager_MetadataItem extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $key; + public $value; + + + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Manager_Module extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $autoscalingModuleType = 'Google_Service_Manager_AutoscalingModule'; + protected $autoscalingModuleDataType = ''; + protected $firewallModuleType = 'Google_Service_Manager_FirewallModule'; + protected $firewallModuleDataType = ''; + protected $healthCheckModuleType = 'Google_Service_Manager_HealthCheckModule'; + protected $healthCheckModuleDataType = ''; + protected $lbModuleType = 'Google_Service_Manager_LbModule'; + protected $lbModuleDataType = ''; + protected $networkModuleType = 'Google_Service_Manager_NetworkModule'; + protected $networkModuleDataType = ''; + protected $replicaPoolModuleType = 'Google_Service_Manager_ReplicaPoolModule'; + protected $replicaPoolModuleDataType = ''; + public $type; + + + public function setAutoscalingModule(Google_Service_Manager_AutoscalingModule $autoscalingModule) + { + $this->autoscalingModule = $autoscalingModule; + } + public function getAutoscalingModule() + { + return $this->autoscalingModule; + } + public function setFirewallModule(Google_Service_Manager_FirewallModule $firewallModule) + { + $this->firewallModule = $firewallModule; + } + public function getFirewallModule() + { + return $this->firewallModule; + } + public function setHealthCheckModule(Google_Service_Manager_HealthCheckModule $healthCheckModule) + { + $this->healthCheckModule = $healthCheckModule; + } + public function getHealthCheckModule() + { + return $this->healthCheckModule; + } + public function setLbModule(Google_Service_Manager_LbModule $lbModule) + { + $this->lbModule = $lbModule; + } + public function getLbModule() + { + return $this->lbModule; + } + public function setNetworkModule(Google_Service_Manager_NetworkModule $networkModule) + { + $this->networkModule = $networkModule; + } + public function getNetworkModule() + { + return $this->networkModule; + } + public function setReplicaPoolModule(Google_Service_Manager_ReplicaPoolModule $replicaPoolModule) + { + $this->replicaPoolModule = $replicaPoolModule; + } + public function getReplicaPoolModule() + { + return $this->replicaPoolModule; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Manager_ModuleStatus extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $autoscalingModuleStatusType = 'Google_Service_Manager_AutoscalingModuleStatus'; + protected $autoscalingModuleStatusDataType = ''; + protected $firewallModuleStatusType = 'Google_Service_Manager_FirewallModuleStatus'; + protected $firewallModuleStatusDataType = ''; + protected $healthCheckModuleStatusType = 'Google_Service_Manager_HealthCheckModuleStatus'; + protected $healthCheckModuleStatusDataType = ''; + protected $lbModuleStatusType = 'Google_Service_Manager_LbModuleStatus'; + protected $lbModuleStatusDataType = ''; + protected $networkModuleStatusType = 'Google_Service_Manager_NetworkModuleStatus'; + protected $networkModuleStatusDataType = ''; + protected $replicaPoolModuleStatusType = 'Google_Service_Manager_ReplicaPoolModuleStatus'; + protected $replicaPoolModuleStatusDataType = ''; + protected $stateType = 'Google_Service_Manager_DeployState'; + protected $stateDataType = ''; + public $type; + + + public function setAutoscalingModuleStatus(Google_Service_Manager_AutoscalingModuleStatus $autoscalingModuleStatus) + { + $this->autoscalingModuleStatus = $autoscalingModuleStatus; + } + public function getAutoscalingModuleStatus() + { + return $this->autoscalingModuleStatus; + } + public function setFirewallModuleStatus(Google_Service_Manager_FirewallModuleStatus $firewallModuleStatus) + { + $this->firewallModuleStatus = $firewallModuleStatus; + } + public function getFirewallModuleStatus() + { + return $this->firewallModuleStatus; + } + public function setHealthCheckModuleStatus(Google_Service_Manager_HealthCheckModuleStatus $healthCheckModuleStatus) + { + $this->healthCheckModuleStatus = $healthCheckModuleStatus; + } + public function getHealthCheckModuleStatus() + { + return $this->healthCheckModuleStatus; + } + public function setLbModuleStatus(Google_Service_Manager_LbModuleStatus $lbModuleStatus) + { + $this->lbModuleStatus = $lbModuleStatus; + } + public function getLbModuleStatus() + { + return $this->lbModuleStatus; + } + public function setNetworkModuleStatus(Google_Service_Manager_NetworkModuleStatus $networkModuleStatus) + { + $this->networkModuleStatus = $networkModuleStatus; + } + public function getNetworkModuleStatus() + { + return $this->networkModuleStatus; + } + public function setReplicaPoolModuleStatus(Google_Service_Manager_ReplicaPoolModuleStatus $replicaPoolModuleStatus) + { + $this->replicaPoolModuleStatus = $replicaPoolModuleStatus; + } + public function getReplicaPoolModuleStatus() + { + return $this->replicaPoolModuleStatus; + } + public function setState(Google_Service_Manager_DeployState $state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Manager_NetworkInterface extends Google_Collection +{ + protected $collection_key = 'accessConfigs'; + protected $internal_gapi_mappings = array( + ); + protected $accessConfigsType = 'Google_Service_Manager_AccessConfig'; + protected $accessConfigsDataType = 'array'; + public $name; + public $network; + public $networkIp; + + + public function setAccessConfigs($accessConfigs) + { + $this->accessConfigs = $accessConfigs; + } + public function getAccessConfigs() + { + return $this->accessConfigs; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNetwork($network) + { + $this->network = $network; + } + public function getNetwork() + { + return $this->network; + } + public function setNetworkIp($networkIp) + { + $this->networkIp = $networkIp; + } + public function getNetworkIp() + { + return $this->networkIp; + } +} + +class Google_Service_Manager_NetworkModule extends Google_Model +{ + protected $internal_gapi_mappings = array( + "iPv4Range" => "IPv4Range", + ); + public $iPv4Range; + public $description; + public $gatewayIPv4; + + + public function setIPv4Range($iPv4Range) + { + $this->iPv4Range = $iPv4Range; + } + public function getIPv4Range() + { + return $this->iPv4Range; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setGatewayIPv4($gatewayIPv4) + { + $this->gatewayIPv4 = $gatewayIPv4; + } + public function getGatewayIPv4() + { + return $this->gatewayIPv4; + } +} + +class Google_Service_Manager_NetworkModuleStatus extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $networkUrl; + + + public function setNetworkUrl($networkUrl) + { + $this->networkUrl = $networkUrl; + } + public function getNetworkUrl() + { + return $this->networkUrl; + } +} + +class Google_Service_Manager_NewDisk extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $attachmentType = 'Google_Service_Manager_DiskAttachment'; + protected $attachmentDataType = ''; + public $autoDelete; + public $boot; + protected $initializeParamsType = 'Google_Service_Manager_NewDiskInitializeParams'; + protected $initializeParamsDataType = ''; + + + public function setAttachment(Google_Service_Manager_DiskAttachment $attachment) + { + $this->attachment = $attachment; + } + public function getAttachment() + { + return $this->attachment; + } + public function setAutoDelete($autoDelete) + { + $this->autoDelete = $autoDelete; + } + public function getAutoDelete() + { + return $this->autoDelete; + } + public function setBoot($boot) + { + $this->boot = $boot; + } + public function getBoot() + { + return $this->boot; + } + public function setInitializeParams(Google_Service_Manager_NewDiskInitializeParams $initializeParams) + { + $this->initializeParams = $initializeParams; + } + public function getInitializeParams() + { + return $this->initializeParams; + } +} + +class Google_Service_Manager_NewDiskInitializeParams extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $diskSizeGb; + public $diskType; + public $sourceImage; + + + public function setDiskSizeGb($diskSizeGb) + { + $this->diskSizeGb = $diskSizeGb; + } + public function getDiskSizeGb() + { + return $this->diskSizeGb; + } + public function setDiskType($diskType) + { + $this->diskType = $diskType; + } + public function getDiskType() + { + return $this->diskType; + } + public function setSourceImage($sourceImage) + { + $this->sourceImage = $sourceImage; + } + public function getSourceImage() + { + return $this->sourceImage; + } +} + +class Google_Service_Manager_ParamOverride extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $path; + public $value; + + + public function setPath($path) + { + $this->path = $path; + } + public function getPath() + { + return $this->path; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Manager_ReplicaPoolModule extends Google_Collection +{ + protected $collection_key = 'healthChecks'; + protected $internal_gapi_mappings = array( + ); + protected $envVariablesType = 'Google_Service_Manager_EnvVariable'; + protected $envVariablesDataType = 'map'; + public $healthChecks; + public $numReplicas; + protected $replicaPoolParamsType = 'Google_Service_Manager_ReplicaPoolParams'; + protected $replicaPoolParamsDataType = ''; + public $resourceView; + + + public function setEnvVariables($envVariables) + { + $this->envVariables = $envVariables; + } + public function getEnvVariables() + { + return $this->envVariables; + } + public function setHealthChecks($healthChecks) + { + $this->healthChecks = $healthChecks; + } + public function getHealthChecks() + { + return $this->healthChecks; + } + public function setNumReplicas($numReplicas) + { + $this->numReplicas = $numReplicas; + } + public function getNumReplicas() + { + return $this->numReplicas; + } + public function setReplicaPoolParams(Google_Service_Manager_ReplicaPoolParams $replicaPoolParams) + { + $this->replicaPoolParams = $replicaPoolParams; + } + public function getReplicaPoolParams() + { + return $this->replicaPoolParams; + } + public function setResourceView($resourceView) + { + $this->resourceView = $resourceView; + } + public function getResourceView() + { + return $this->resourceView; + } +} + +class Google_Service_Manager_ReplicaPoolModuleEnvVariables extends Google_Model +{ +} + +class Google_Service_Manager_ReplicaPoolModuleStatus extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $replicaPoolUrl; + public $resourceViewUrl; + + + public function setReplicaPoolUrl($replicaPoolUrl) + { + $this->replicaPoolUrl = $replicaPoolUrl; + } + public function getReplicaPoolUrl() + { + return $this->replicaPoolUrl; + } + public function setResourceViewUrl($resourceViewUrl) + { + $this->resourceViewUrl = $resourceViewUrl; + } + public function getResourceViewUrl() + { + return $this->resourceViewUrl; + } +} + +class Google_Service_Manager_ReplicaPoolParams extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $v1beta1Type = 'Google_Service_Manager_ReplicaPoolParamsV1Beta1'; + protected $v1beta1DataType = ''; + + + public function setV1beta1(Google_Service_Manager_ReplicaPoolParamsV1Beta1 $v1beta1) + { + $this->v1beta1 = $v1beta1; + } + public function getV1beta1() + { + return $this->v1beta1; + } +} + +class Google_Service_Manager_ReplicaPoolParamsV1Beta1 extends Google_Collection +{ + protected $collection_key = 'serviceAccounts'; + protected $internal_gapi_mappings = array( + ); + public $autoRestart; + public $baseInstanceName; + public $canIpForward; + public $description; + protected $disksToAttachType = 'Google_Service_Manager_ExistingDisk'; + protected $disksToAttachDataType = 'array'; + protected $disksToCreateType = 'Google_Service_Manager_NewDisk'; + protected $disksToCreateDataType = 'array'; + public $initAction; + public $machineType; + protected $metadataType = 'Google_Service_Manager_Metadata'; + protected $metadataDataType = ''; + protected $networkInterfacesType = 'Google_Service_Manager_NetworkInterface'; + protected $networkInterfacesDataType = 'array'; + public $onHostMaintenance; + protected $serviceAccountsType = 'Google_Service_Manager_ServiceAccount'; + protected $serviceAccountsDataType = 'array'; + protected $tagsType = 'Google_Service_Manager_Tag'; + protected $tagsDataType = ''; + public $zone; + + + public function setAutoRestart($autoRestart) + { + $this->autoRestart = $autoRestart; + } + public function getAutoRestart() + { + return $this->autoRestart; + } + public function setBaseInstanceName($baseInstanceName) + { + $this->baseInstanceName = $baseInstanceName; + } + public function getBaseInstanceName() + { + return $this->baseInstanceName; + } + public function setCanIpForward($canIpForward) + { + $this->canIpForward = $canIpForward; + } + public function getCanIpForward() + { + return $this->canIpForward; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDisksToAttach($disksToAttach) + { + $this->disksToAttach = $disksToAttach; + } + public function getDisksToAttach() + { + return $this->disksToAttach; + } + public function setDisksToCreate($disksToCreate) + { + $this->disksToCreate = $disksToCreate; + } + public function getDisksToCreate() + { + return $this->disksToCreate; + } + public function setInitAction($initAction) + { + $this->initAction = $initAction; + } + public function getInitAction() + { + return $this->initAction; + } + public function setMachineType($machineType) + { + $this->machineType = $machineType; + } + public function getMachineType() + { + return $this->machineType; + } + public function setMetadata(Google_Service_Manager_Metadata $metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setNetworkInterfaces($networkInterfaces) + { + $this->networkInterfaces = $networkInterfaces; + } + public function getNetworkInterfaces() + { + return $this->networkInterfaces; + } + public function setOnHostMaintenance($onHostMaintenance) + { + $this->onHostMaintenance = $onHostMaintenance; + } + public function getOnHostMaintenance() + { + return $this->onHostMaintenance; + } + public function setServiceAccounts($serviceAccounts) + { + $this->serviceAccounts = $serviceAccounts; + } + public function getServiceAccounts() + { + return $this->serviceAccounts; + } + public function setTags(Google_Service_Manager_Tag $tags) + { + $this->tags = $tags; + } + public function getTags() + { + return $this->tags; + } + public function setZone($zone) + { + $this->zone = $zone; + } + public function getZone() + { + return $this->zone; + } +} + +class Google_Service_Manager_ServiceAccount extends Google_Collection +{ + protected $collection_key = 'scopes'; + protected $internal_gapi_mappings = array( + ); + public $email; + public $scopes; + + + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setScopes($scopes) + { + $this->scopes = $scopes; + } + public function getScopes() + { + return $this->scopes; + } +} + +class Google_Service_Manager_Tag extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $fingerPrint; + public $items; + + + public function setFingerPrint($fingerPrint) + { + $this->fingerPrint = $fingerPrint; + } + public function getFingerPrint() + { + return $this->fingerPrint; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } +} + +class Google_Service_Manager_Template extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $actionsType = 'Google_Service_Manager_Action'; + protected $actionsDataType = 'map'; + public $description; + protected $modulesType = 'Google_Service_Manager_Module'; + protected $modulesDataType = 'map'; + public $name; + + + public function setActions($actions) + { + $this->actions = $actions; + } + public function getActions() + { + return $this->actions; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setModules($modules) + { + $this->modules = $modules; + } + public function getModules() + { + return $this->modules; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_Manager_TemplateActions extends Google_Model +{ +} + +class Google_Service_Manager_TemplateModules extends Google_Model +{ +} + +class Google_Service_Manager_TemplatesListResponse extends Google_Collection +{ + protected $collection_key = 'resources'; + protected $internal_gapi_mappings = array( + ); + public $nextPageToken; + protected $resourcesType = 'Google_Service_Manager_Template'; + protected $resourcesDataType = 'array'; + + + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setResources($resources) + { + $this->resources = $resources; + } + public function getResources() + { + return $this->resources; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/MapsEngine.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/MapsEngine.php new file mode 100644 index 0000000..88a982c --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/MapsEngine.php @@ -0,0 +1,6421 @@ + + * The Google Maps Engine API allows developers to store and query geospatial + * vector and raster data.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_MapsEngine extends Google_Service +{ + /** View and manage your Google My Maps data. */ + const MAPSENGINE = + "https://www.googleapis.com/auth/mapsengine"; + /** View your Google My Maps data. */ + const MAPSENGINE_READONLY = + "https://www.googleapis.com/auth/mapsengine.readonly"; + + public $assets; + public $assets_parents; + public $assets_permissions; + public $layers; + public $layers_parents; + public $layers_permissions; + public $maps; + public $maps_permissions; + public $projects; + public $projects_icons; + public $rasterCollections; + public $rasterCollections_parents; + public $rasterCollections_permissions; + public $rasterCollections_rasters; + public $rasters; + public $rasters_files; + public $rasters_parents; + public $rasters_permissions; + public $tables; + public $tables_features; + public $tables_files; + public $tables_parents; + public $tables_permissions; + + + /** + * Constructs the internal representation of the MapsEngine service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'mapsengine/v1/'; + $this->version = 'v1'; + $this->serviceName = 'mapsengine'; + + $this->assets = new Google_Service_MapsEngine_Assets_Resource( + $this, + $this->serviceName, + 'assets', + array( + 'methods' => array( + 'get' => array( + 'path' => 'assets/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'assets', + 'httpMethod' => 'GET', + 'parameters' => array( + 'modifiedAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'createdAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'tags' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projectId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'search' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'creatorEmail' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'bbox' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'modifiedBefore' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'createdBefore' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'role' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'type' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->assets_parents = new Google_Service_MapsEngine_AssetsParents_Resource( + $this, + $this->serviceName, + 'parents', + array( + 'methods' => array( + 'list' => array( + 'path' => 'assets/{id}/parents', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->assets_permissions = new Google_Service_MapsEngine_AssetsPermissions_Resource( + $this, + $this->serviceName, + 'permissions', + array( + 'methods' => array( + 'list' => array( + 'path' => 'assets/{id}/permissions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->layers = new Google_Service_MapsEngine_Layers_Resource( + $this, + $this->serviceName, + 'layers', + array( + 'methods' => array( + 'cancelProcessing' => array( + 'path' => 'layers/{id}/cancelProcessing', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'create' => array( + 'path' => 'layers', + 'httpMethod' => 'POST', + 'parameters' => array( + 'process' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'delete' => array( + 'path' => 'layers/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'layers/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'version' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'getPublished' => array( + 'path' => 'layers/{id}/published', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'layers', + 'httpMethod' => 'GET', + 'parameters' => array( + 'modifiedAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'createdAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'processingStatus' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projectId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'tags' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'search' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'creatorEmail' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'bbox' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'modifiedBefore' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'createdBefore' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'role' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'listPublished' => array( + 'path' => 'layers/published', + 'httpMethod' => 'GET', + 'parameters' => array( + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'projectId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'layers/{id}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'process' => array( + 'path' => 'layers/{id}/process', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'publish' => array( + 'path' => 'layers/{id}/publish', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'force' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'unpublish' => array( + 'path' => 'layers/{id}/unpublish', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->layers_parents = new Google_Service_MapsEngine_LayersParents_Resource( + $this, + $this->serviceName, + 'parents', + array( + 'methods' => array( + 'list' => array( + 'path' => 'layers/{id}/parents', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->layers_permissions = new Google_Service_MapsEngine_LayersPermissions_Resource( + $this, + $this->serviceName, + 'permissions', + array( + 'methods' => array( + 'batchDelete' => array( + 'path' => 'layers/{id}/permissions/batchDelete', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'batchUpdate' => array( + 'path' => 'layers/{id}/permissions/batchUpdate', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'layers/{id}/permissions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->maps = new Google_Service_MapsEngine_Maps_Resource( + $this, + $this->serviceName, + 'maps', + array( + 'methods' => array( + 'create' => array( + 'path' => 'maps', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'delete' => array( + 'path' => 'maps/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'maps/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'version' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'getPublished' => array( + 'path' => 'maps/{id}/published', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'maps', + 'httpMethod' => 'GET', + 'parameters' => array( + 'modifiedAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'createdAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'processingStatus' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projectId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'tags' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'search' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'creatorEmail' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'bbox' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'modifiedBefore' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'createdBefore' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'role' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'listPublished' => array( + 'path' => 'maps/published', + 'httpMethod' => 'GET', + 'parameters' => array( + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'projectId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'maps/{id}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'publish' => array( + 'path' => 'maps/{id}/publish', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'force' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'unpublish' => array( + 'path' => 'maps/{id}/unpublish', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->maps_permissions = new Google_Service_MapsEngine_MapsPermissions_Resource( + $this, + $this->serviceName, + 'permissions', + array( + 'methods' => array( + 'batchDelete' => array( + 'path' => 'maps/{id}/permissions/batchDelete', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'batchUpdate' => array( + 'path' => 'maps/{id}/permissions/batchUpdate', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'maps/{id}/permissions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects = new Google_Service_MapsEngine_Projects_Resource( + $this, + $this->serviceName, + 'projects', + array( + 'methods' => array( + 'list' => array( + 'path' => 'projects', + 'httpMethod' => 'GET', + 'parameters' => array(), + ), + ) + ) + ); + $this->projects_icons = new Google_Service_MapsEngine_ProjectsIcons_Resource( + $this, + $this->serviceName, + 'icons', + array( + 'methods' => array( + 'create' => array( + 'path' => 'projects/{projectId}/icons', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'projects/{projectId}/icons/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'projects/{projectId}/icons', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->rasterCollections = new Google_Service_MapsEngine_RasterCollections_Resource( + $this, + $this->serviceName, + 'rasterCollections', + array( + 'methods' => array( + 'cancelProcessing' => array( + 'path' => 'rasterCollections/{id}/cancelProcessing', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'create' => array( + 'path' => 'rasterCollections', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'delete' => array( + 'path' => 'rasterCollections/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'rasterCollections/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'rasterCollections', + 'httpMethod' => 'GET', + 'parameters' => array( + 'modifiedAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'createdAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'processingStatus' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projectId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'tags' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'search' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'creatorEmail' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'bbox' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'modifiedBefore' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'createdBefore' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'role' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'rasterCollections/{id}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'process' => array( + 'path' => 'rasterCollections/{id}/process', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->rasterCollections_parents = new Google_Service_MapsEngine_RasterCollectionsParents_Resource( + $this, + $this->serviceName, + 'parents', + array( + 'methods' => array( + 'list' => array( + 'path' => 'rasterCollections/{id}/parents', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->rasterCollections_permissions = new Google_Service_MapsEngine_RasterCollectionsPermissions_Resource( + $this, + $this->serviceName, + 'permissions', + array( + 'methods' => array( + 'batchDelete' => array( + 'path' => 'rasterCollections/{id}/permissions/batchDelete', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'batchUpdate' => array( + 'path' => 'rasterCollections/{id}/permissions/batchUpdate', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'rasterCollections/{id}/permissions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->rasterCollections_rasters = new Google_Service_MapsEngine_RasterCollectionsRasters_Resource( + $this, + $this->serviceName, + 'rasters', + array( + 'methods' => array( + 'batchDelete' => array( + 'path' => 'rasterCollections/{id}/rasters/batchDelete', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'batchInsert' => array( + 'path' => 'rasterCollections/{id}/rasters/batchInsert', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'rasterCollections/{id}/rasters', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'modifiedAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'createdAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'tags' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'search' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'creatorEmail' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'bbox' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'modifiedBefore' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'createdBefore' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'role' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->rasters = new Google_Service_MapsEngine_Rasters_Resource( + $this, + $this->serviceName, + 'rasters', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'rasters/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'rasters/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'rasters', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'modifiedAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'createdAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'processingStatus' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'tags' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'search' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'creatorEmail' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'bbox' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'modifiedBefore' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'createdBefore' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'role' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'rasters/{id}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'process' => array( + 'path' => 'rasters/{id}/process', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'upload' => array( + 'path' => 'rasters/upload', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->rasters_files = new Google_Service_MapsEngine_RastersFiles_Resource( + $this, + $this->serviceName, + 'files', + array( + 'methods' => array( + 'insert' => array( + 'path' => 'rasters/{id}/files', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filename' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->rasters_parents = new Google_Service_MapsEngine_RastersParents_Resource( + $this, + $this->serviceName, + 'parents', + array( + 'methods' => array( + 'list' => array( + 'path' => 'rasters/{id}/parents', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->rasters_permissions = new Google_Service_MapsEngine_RastersPermissions_Resource( + $this, + $this->serviceName, + 'permissions', + array( + 'methods' => array( + 'batchDelete' => array( + 'path' => 'rasters/{id}/permissions/batchDelete', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'batchUpdate' => array( + 'path' => 'rasters/{id}/permissions/batchUpdate', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'rasters/{id}/permissions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->tables = new Google_Service_MapsEngine_Tables_Resource( + $this, + $this->serviceName, + 'tables', + array( + 'methods' => array( + 'create' => array( + 'path' => 'tables', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'delete' => array( + 'path' => 'tables/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'tables/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'version' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'tables', + 'httpMethod' => 'GET', + 'parameters' => array( + 'modifiedAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'createdAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'processingStatus' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projectId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'tags' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'search' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'creatorEmail' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'bbox' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'modifiedBefore' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'createdBefore' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'role' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'tables/{id}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'process' => array( + 'path' => 'tables/{id}/process', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'upload' => array( + 'path' => 'tables/upload', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->tables_features = new Google_Service_MapsEngine_TablesFeatures_Resource( + $this, + $this->serviceName, + 'features', + array( + 'methods' => array( + 'batchDelete' => array( + 'path' => 'tables/{id}/features/batchDelete', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'batchInsert' => array( + 'path' => 'tables/{id}/features/batchInsert', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'batchPatch' => array( + 'path' => 'tables/{id}/features/batchPatch', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'tables/{tableId}/features/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'tableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'version' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'select' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'tables/{id}/features', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'intersects' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'version' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'limit' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'include' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'where' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'select' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->tables_files = new Google_Service_MapsEngine_TablesFiles_Resource( + $this, + $this->serviceName, + 'files', + array( + 'methods' => array( + 'insert' => array( + 'path' => 'tables/{id}/files', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filename' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->tables_parents = new Google_Service_MapsEngine_TablesParents_Resource( + $this, + $this->serviceName, + 'parents', + array( + 'methods' => array( + 'list' => array( + 'path' => 'tables/{id}/parents', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->tables_permissions = new Google_Service_MapsEngine_TablesPermissions_Resource( + $this, + $this->serviceName, + 'permissions', + array( + 'methods' => array( + 'batchDelete' => array( + 'path' => 'tables/{id}/permissions/batchDelete', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'batchUpdate' => array( + 'path' => 'tables/{id}/permissions/batchUpdate', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'tables/{id}/permissions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "assets" collection of methods. + * Typical usage is: + * + * $mapsengineService = new Google_Service_MapsEngine(...); + * $assets = $mapsengineService->assets; + * + */ +class Google_Service_MapsEngine_Assets_Resource extends Google_Service_Resource +{ + + /** + * Return metadata for a particular asset. (assets.get) + * + * @param string $id The ID of the asset. + * @param array $optParams Optional parameters. + * @return Google_Service_MapsEngine_Asset + */ + public function get($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_MapsEngine_Asset"); + } + + /** + * Return all assets readable by the current user. (assets.listAssets) + * + * @param array $optParams Optional parameters. + * + * @opt_param string modifiedAfter An RFC 3339 formatted date-time value (e.g. + * 1970-01-01T00:00:00Z). Returned assets will have been modified at or after + * this time. + * @opt_param string createdAfter An RFC 3339 formatted date-time value (e.g. + * 1970-01-01T00:00:00Z). Returned assets will have been created at or after + * this time. + * @opt_param string tags A comma separated list of tags. Returned assets will + * contain all the tags from the list. + * @opt_param string projectId The ID of a Maps Engine project, used to filter + * the response. To list all available projects with their IDs, send a Projects: + * list request. You can also find your project ID as the value of the + * DashboardPlace:cid URL parameter when signed in to mapsengine.google.com. + * @opt_param string search An unstructured search string used to filter the set + * of results based on asset metadata. + * @opt_param string maxResults The maximum number of items to include in a + * single response page. The maximum supported value is 100. + * @opt_param string pageToken The continuation token, used to page through + * large result sets. To get the next page of results, set this parameter to the + * value of nextPageToken from the previous response. + * @opt_param string creatorEmail An email address representing a user. Returned + * assets that have been created by the user associated with the provided email + * address. + * @opt_param string bbox A bounding box, expressed as "west,south,east,north". + * If set, only assets which intersect this bounding box will be returned. + * @opt_param string modifiedBefore An RFC 3339 formatted date-time value (e.g. + * 1970-01-01T00:00:00Z). Returned assets will have been modified at or before + * this time. + * @opt_param string createdBefore An RFC 3339 formatted date-time value (e.g. + * 1970-01-01T00:00:00Z). Returned assets will have been created at or before + * this time. + * @opt_param string role The role parameter indicates that the response should + * only contain assets where the current user has the specified level of access. + * @opt_param string type A comma separated list of asset types. Returned assets + * will have one of the types from the provided list. Supported values are + * 'map', 'layer', 'rasterCollection' and 'table'. + * @return Google_Service_MapsEngine_AssetsListResponse + */ + public function listAssets($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_MapsEngine_AssetsListResponse"); + } +} + +/** + * The "parents" collection of methods. + * Typical usage is: + * + * $mapsengineService = new Google_Service_MapsEngine(...); + * $parents = $mapsengineService->parents; + * + */ +class Google_Service_MapsEngine_AssetsParents_Resource extends Google_Service_Resource +{ + + /** + * Return all parent ids of the specified asset. (parents.listAssetsParents) + * + * @param string $id The ID of the asset whose parents will be listed. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The continuation token, used to page through + * large result sets. To get the next page of results, set this parameter to the + * value of nextPageToken from the previous response. + * @opt_param string maxResults The maximum number of items to include in a + * single response page. The maximum supported value is 50. + * @return Google_Service_MapsEngine_ParentsListResponse + */ + public function listAssetsParents($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_MapsEngine_ParentsListResponse"); + } +} +/** + * The "permissions" collection of methods. + * Typical usage is: + * + * $mapsengineService = new Google_Service_MapsEngine(...); + * $permissions = $mapsengineService->permissions; + * + */ +class Google_Service_MapsEngine_AssetsPermissions_Resource extends Google_Service_Resource +{ + + /** + * Return all of the permissions for the specified asset. + * (permissions.listAssetsPermissions) + * + * @param string $id The ID of the asset whose permissions will be listed. + * @param array $optParams Optional parameters. + * @return Google_Service_MapsEngine_PermissionsListResponse + */ + public function listAssetsPermissions($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_MapsEngine_PermissionsListResponse"); + } +} + +/** + * The "layers" collection of methods. + * Typical usage is: + * + * $mapsengineService = new Google_Service_MapsEngine(...); + * $layers = $mapsengineService->layers; + * + */ +class Google_Service_MapsEngine_Layers_Resource extends Google_Service_Resource +{ + + /** + * Cancel processing on a layer asset. (layers.cancelProcessing) + * + * @param string $id The ID of the layer. + * @param array $optParams Optional parameters. + * @return Google_Service_MapsEngine_ProcessResponse + */ + public function cancelProcessing($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('cancelProcessing', array($params), "Google_Service_MapsEngine_ProcessResponse"); + } + + /** + * Create a layer asset. (layers.create) + * + * @param Google_Layer $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool process Whether to queue the created layer for processing. + * @return Google_Service_MapsEngine_Layer + */ + public function create(Google_Service_MapsEngine_Layer $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_MapsEngine_Layer"); + } + + /** + * Delete a layer. (layers.delete) + * + * @param string $id The ID of the layer. Only the layer creator or project + * owner are permitted to delete. If the layer is published, or included in a + * map, the request will fail. Unpublish the layer, and remove it from all maps + * prior to deleting. + * @param array $optParams Optional parameters. + */ + public function delete($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Return metadata for a particular layer. (layers.get) + * + * @param string $id The ID of the layer. + * @param array $optParams Optional parameters. + * + * @opt_param string version Deprecated: The version parameter indicates which + * version of the layer should be returned. When version is set to published, + * the published version of the layer will be returned. Please use the + * layers.getPublished endpoint instead. + * @return Google_Service_MapsEngine_Layer + */ + public function get($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_MapsEngine_Layer"); + } + + /** + * Return the published metadata for a particular layer. (layers.getPublished) + * + * @param string $id The ID of the layer. + * @param array $optParams Optional parameters. + * @return Google_Service_MapsEngine_PublishedLayer + */ + public function getPublished($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('getPublished', array($params), "Google_Service_MapsEngine_PublishedLayer"); + } + + /** + * Return all layers readable by the current user. (layers.listLayers) + * + * @param array $optParams Optional parameters. + * + * @opt_param string modifiedAfter An RFC 3339 formatted date-time value (e.g. + * 1970-01-01T00:00:00Z). Returned assets will have been modified at or after + * this time. + * @opt_param string createdAfter An RFC 3339 formatted date-time value (e.g. + * 1970-01-01T00:00:00Z). Returned assets will have been created at or after + * this time. + * @opt_param string processingStatus + * @opt_param string projectId The ID of a Maps Engine project, used to filter + * the response. To list all available projects with their IDs, send a Projects: + * list request. You can also find your project ID as the value of the + * DashboardPlace:cid URL parameter when signed in to mapsengine.google.com. + * @opt_param string tags A comma separated list of tags. Returned assets will + * contain all the tags from the list. + * @opt_param string search An unstructured search string used to filter the set + * of results based on asset metadata. + * @opt_param string maxResults The maximum number of items to include in a + * single response page. The maximum supported value is 100. + * @opt_param string pageToken The continuation token, used to page through + * large result sets. To get the next page of results, set this parameter to the + * value of nextPageToken from the previous response. + * @opt_param string creatorEmail An email address representing a user. Returned + * assets that have been created by the user associated with the provided email + * address. + * @opt_param string bbox A bounding box, expressed as "west,south,east,north". + * If set, only assets which intersect this bounding box will be returned. + * @opt_param string modifiedBefore An RFC 3339 formatted date-time value (e.g. + * 1970-01-01T00:00:00Z). Returned assets will have been modified at or before + * this time. + * @opt_param string createdBefore An RFC 3339 formatted date-time value (e.g. + * 1970-01-01T00:00:00Z). Returned assets will have been created at or before + * this time. + * @opt_param string role The role parameter indicates that the response should + * only contain assets where the current user has the specified level of access. + * @return Google_Service_MapsEngine_LayersListResponse + */ + public function listLayers($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_MapsEngine_LayersListResponse"); + } + + /** + * Return all published layers readable by the current user. + * (layers.listPublished) + * + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The continuation token, used to page through + * large result sets. To get the next page of results, set this parameter to the + * value of nextPageToken from the previous response. + * @opt_param string maxResults The maximum number of items to include in a + * single response page. The maximum supported value is 100. + * @opt_param string projectId The ID of a Maps Engine project, used to filter + * the response. To list all available projects with their IDs, send a Projects: + * list request. You can also find your project ID as the value of the + * DashboardPlace:cid URL parameter when signed in to mapsengine.google.com. + * @return Google_Service_MapsEngine_PublishedLayersListResponse + */ + public function listPublished($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('listPublished', array($params), "Google_Service_MapsEngine_PublishedLayersListResponse"); + } + + /** + * Mutate a layer asset. (layers.patch) + * + * @param string $id The ID of the layer. + * @param Google_Layer $postBody + * @param array $optParams Optional parameters. + */ + public function patch($id, Google_Service_MapsEngine_Layer $postBody, $optParams = array()) + { + $params = array('id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params)); + } + + /** + * Process a layer asset. (layers.process) + * + * @param string $id The ID of the layer. + * @param array $optParams Optional parameters. + * @return Google_Service_MapsEngine_ProcessResponse + */ + public function process($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('process', array($params), "Google_Service_MapsEngine_ProcessResponse"); + } + + /** + * Publish a layer asset. (layers.publish) + * + * @param string $id The ID of the layer. + * @param array $optParams Optional parameters. + * + * @opt_param bool force If set to true, the API will allow publication of the + * layer even if it's out of date. If not true, you'll need to reprocess any + * out-of-date layer before publishing. + * @return Google_Service_MapsEngine_PublishResponse + */ + public function publish($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('publish', array($params), "Google_Service_MapsEngine_PublishResponse"); + } + + /** + * Unpublish a layer asset. (layers.unpublish) + * + * @param string $id The ID of the layer. + * @param array $optParams Optional parameters. + * @return Google_Service_MapsEngine_PublishResponse + */ + public function unpublish($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('unpublish', array($params), "Google_Service_MapsEngine_PublishResponse"); + } +} + +/** + * The "parents" collection of methods. + * Typical usage is: + * + * $mapsengineService = new Google_Service_MapsEngine(...); + * $parents = $mapsengineService->parents; + * + */ +class Google_Service_MapsEngine_LayersParents_Resource extends Google_Service_Resource +{ + + /** + * Return all parent ids of the specified layer. (parents.listLayersParents) + * + * @param string $id The ID of the layer whose parents will be listed. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The continuation token, used to page through + * large result sets. To get the next page of results, set this parameter to the + * value of nextPageToken from the previous response. + * @opt_param string maxResults The maximum number of items to include in a + * single response page. The maximum supported value is 50. + * @return Google_Service_MapsEngine_ParentsListResponse + */ + public function listLayersParents($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_MapsEngine_ParentsListResponse"); + } +} +/** + * The "permissions" collection of methods. + * Typical usage is: + * + * $mapsengineService = new Google_Service_MapsEngine(...); + * $permissions = $mapsengineService->permissions; + * + */ +class Google_Service_MapsEngine_LayersPermissions_Resource extends Google_Service_Resource +{ + + /** + * Remove permission entries from an already existing asset. + * (permissions.batchDelete) + * + * @param string $id The ID of the asset from which permissions will be removed. + * @param Google_PermissionsBatchDeleteRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_MapsEngine_PermissionsBatchDeleteResponse + */ + public function batchDelete($id, Google_Service_MapsEngine_PermissionsBatchDeleteRequest $postBody, $optParams = array()) + { + $params = array('id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('batchDelete', array($params), "Google_Service_MapsEngine_PermissionsBatchDeleteResponse"); + } + + /** + * Add or update permission entries to an already existing asset. + * + * An asset can hold up to 20 different permission entries. Each batchInsert + * request is atomic. (permissions.batchUpdate) + * + * @param string $id The ID of the asset to which permissions will be added. + * @param Google_PermissionsBatchUpdateRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_MapsEngine_PermissionsBatchUpdateResponse + */ + public function batchUpdate($id, Google_Service_MapsEngine_PermissionsBatchUpdateRequest $postBody, $optParams = array()) + { + $params = array('id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('batchUpdate', array($params), "Google_Service_MapsEngine_PermissionsBatchUpdateResponse"); + } + + /** + * Return all of the permissions for the specified asset. + * (permissions.listLayersPermissions) + * + * @param string $id The ID of the asset whose permissions will be listed. + * @param array $optParams Optional parameters. + * @return Google_Service_MapsEngine_PermissionsListResponse + */ + public function listLayersPermissions($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_MapsEngine_PermissionsListResponse"); + } +} + +/** + * The "maps" collection of methods. + * Typical usage is: + * + * $mapsengineService = new Google_Service_MapsEngine(...); + * $maps = $mapsengineService->maps; + * + */ +class Google_Service_MapsEngine_Maps_Resource extends Google_Service_Resource +{ + + /** + * Create a map asset. (maps.create) + * + * @param Google_Map $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_MapsEngine_Map + */ + public function create(Google_Service_MapsEngine_Map $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_MapsEngine_Map"); + } + + /** + * Delete a map. (maps.delete) + * + * @param string $id The ID of the map. Only the map creator or project owner + * are permitted to delete. If the map is published the request will fail. + * Unpublish the map prior to deleting. + * @param array $optParams Optional parameters. + */ + public function delete($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Return metadata for a particular map. (maps.get) + * + * @param string $id The ID of the map. + * @param array $optParams Optional parameters. + * + * @opt_param string version Deprecated: The version parameter indicates which + * version of the map should be returned. When version is set to published, the + * published version of the map will be returned. Please use the + * maps.getPublished endpoint instead. + * @return Google_Service_MapsEngine_Map + */ + public function get($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_MapsEngine_Map"); + } + + /** + * Return the published metadata for a particular map. (maps.getPublished) + * + * @param string $id The ID of the map. + * @param array $optParams Optional parameters. + * @return Google_Service_MapsEngine_PublishedMap + */ + public function getPublished($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('getPublished', array($params), "Google_Service_MapsEngine_PublishedMap"); + } + + /** + * Return all maps readable by the current user. (maps.listMaps) + * + * @param array $optParams Optional parameters. + * + * @opt_param string modifiedAfter An RFC 3339 formatted date-time value (e.g. + * 1970-01-01T00:00:00Z). Returned assets will have been modified at or after + * this time. + * @opt_param string createdAfter An RFC 3339 formatted date-time value (e.g. + * 1970-01-01T00:00:00Z). Returned assets will have been created at or after + * this time. + * @opt_param string processingStatus + * @opt_param string projectId The ID of a Maps Engine project, used to filter + * the response. To list all available projects with their IDs, send a Projects: + * list request. You can also find your project ID as the value of the + * DashboardPlace:cid URL parameter when signed in to mapsengine.google.com. + * @opt_param string tags A comma separated list of tags. Returned assets will + * contain all the tags from the list. + * @opt_param string search An unstructured search string used to filter the set + * of results based on asset metadata. + * @opt_param string maxResults The maximum number of items to include in a + * single response page. The maximum supported value is 100. + * @opt_param string pageToken The continuation token, used to page through + * large result sets. To get the next page of results, set this parameter to the + * value of nextPageToken from the previous response. + * @opt_param string creatorEmail An email address representing a user. Returned + * assets that have been created by the user associated with the provided email + * address. + * @opt_param string bbox A bounding box, expressed as "west,south,east,north". + * If set, only assets which intersect this bounding box will be returned. + * @opt_param string modifiedBefore An RFC 3339 formatted date-time value (e.g. + * 1970-01-01T00:00:00Z). Returned assets will have been modified at or before + * this time. + * @opt_param string createdBefore An RFC 3339 formatted date-time value (e.g. + * 1970-01-01T00:00:00Z). Returned assets will have been created at or before + * this time. + * @opt_param string role The role parameter indicates that the response should + * only contain assets where the current user has the specified level of access. + * @return Google_Service_MapsEngine_MapsListResponse + */ + public function listMaps($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_MapsEngine_MapsListResponse"); + } + + /** + * Return all published maps readable by the current user. (maps.listPublished) + * + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The continuation token, used to page through + * large result sets. To get the next page of results, set this parameter to the + * value of nextPageToken from the previous response. + * @opt_param string maxResults The maximum number of items to include in a + * single response page. The maximum supported value is 100. + * @opt_param string projectId The ID of a Maps Engine project, used to filter + * the response. To list all available projects with their IDs, send a Projects: + * list request. You can also find your project ID as the value of the + * DashboardPlace:cid URL parameter when signed in to mapsengine.google.com. + * @return Google_Service_MapsEngine_PublishedMapsListResponse + */ + public function listPublished($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('listPublished', array($params), "Google_Service_MapsEngine_PublishedMapsListResponse"); + } + + /** + * Mutate a map asset. (maps.patch) + * + * @param string $id The ID of the map. + * @param Google_Map $postBody + * @param array $optParams Optional parameters. + */ + public function patch($id, Google_Service_MapsEngine_Map $postBody, $optParams = array()) + { + $params = array('id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params)); + } + + /** + * Publish a map asset. (maps.publish) + * + * @param string $id The ID of the map. + * @param array $optParams Optional parameters. + * + * @opt_param bool force If set to true, the API will allow publication of the + * map even if it's out of date. If false, the map must have a processingStatus + * of complete before publishing. + * @return Google_Service_MapsEngine_PublishResponse + */ + public function publish($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('publish', array($params), "Google_Service_MapsEngine_PublishResponse"); + } + + /** + * Unpublish a map asset. (maps.unpublish) + * + * @param string $id The ID of the map. + * @param array $optParams Optional parameters. + * @return Google_Service_MapsEngine_PublishResponse + */ + public function unpublish($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('unpublish', array($params), "Google_Service_MapsEngine_PublishResponse"); + } +} + +/** + * The "permissions" collection of methods. + * Typical usage is: + * + * $mapsengineService = new Google_Service_MapsEngine(...); + * $permissions = $mapsengineService->permissions; + * + */ +class Google_Service_MapsEngine_MapsPermissions_Resource extends Google_Service_Resource +{ + + /** + * Remove permission entries from an already existing asset. + * (permissions.batchDelete) + * + * @param string $id The ID of the asset from which permissions will be removed. + * @param Google_PermissionsBatchDeleteRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_MapsEngine_PermissionsBatchDeleteResponse + */ + public function batchDelete($id, Google_Service_MapsEngine_PermissionsBatchDeleteRequest $postBody, $optParams = array()) + { + $params = array('id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('batchDelete', array($params), "Google_Service_MapsEngine_PermissionsBatchDeleteResponse"); + } + + /** + * Add or update permission entries to an already existing asset. + * + * An asset can hold up to 20 different permission entries. Each batchInsert + * request is atomic. (permissions.batchUpdate) + * + * @param string $id The ID of the asset to which permissions will be added. + * @param Google_PermissionsBatchUpdateRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_MapsEngine_PermissionsBatchUpdateResponse + */ + public function batchUpdate($id, Google_Service_MapsEngine_PermissionsBatchUpdateRequest $postBody, $optParams = array()) + { + $params = array('id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('batchUpdate', array($params), "Google_Service_MapsEngine_PermissionsBatchUpdateResponse"); + } + + /** + * Return all of the permissions for the specified asset. + * (permissions.listMapsPermissions) + * + * @param string $id The ID of the asset whose permissions will be listed. + * @param array $optParams Optional parameters. + * @return Google_Service_MapsEngine_PermissionsListResponse + */ + public function listMapsPermissions($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_MapsEngine_PermissionsListResponse"); + } +} + +/** + * The "projects" collection of methods. + * Typical usage is: + * + * $mapsengineService = new Google_Service_MapsEngine(...); + * $projects = $mapsengineService->projects; + * + */ +class Google_Service_MapsEngine_Projects_Resource extends Google_Service_Resource +{ + + /** + * Return all projects readable by the current user. (projects.listProjects) + * + * @param array $optParams Optional parameters. + * @return Google_Service_MapsEngine_ProjectsListResponse + */ + public function listProjects($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_MapsEngine_ProjectsListResponse"); + } +} + +/** + * The "icons" collection of methods. + * Typical usage is: + * + * $mapsengineService = new Google_Service_MapsEngine(...); + * $icons = $mapsengineService->icons; + * + */ +class Google_Service_MapsEngine_ProjectsIcons_Resource extends Google_Service_Resource +{ + + /** + * Create an icon. (icons.create) + * + * @param string $projectId The ID of the project. + * @param Google_Icon $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_MapsEngine_Icon + */ + public function create($projectId, Google_Service_MapsEngine_Icon $postBody, $optParams = array()) + { + $params = array('projectId' => $projectId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_MapsEngine_Icon"); + } + + /** + * Return an icon or its associated metadata (icons.get) + * + * @param string $projectId The ID of the project. + * @param string $id The ID of the icon. + * @param array $optParams Optional parameters. + * @return Google_Service_MapsEngine_Icon + */ + public function get($projectId, $id, $optParams = array()) + { + $params = array('projectId' => $projectId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_MapsEngine_Icon"); + } + + /** + * Return all icons in the current project (icons.listProjectsIcons) + * + * @param string $projectId The ID of the project. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The continuation token, used to page through + * large result sets. To get the next page of results, set this parameter to the + * value of nextPageToken from the previous response. + * @opt_param string maxResults The maximum number of items to include in a + * single response page. The maximum supported value is 50. + * @return Google_Service_MapsEngine_IconsListResponse + */ + public function listProjectsIcons($projectId, $optParams = array()) + { + $params = array('projectId' => $projectId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_MapsEngine_IconsListResponse"); + } +} + +/** + * The "rasterCollections" collection of methods. + * Typical usage is: + * + * $mapsengineService = new Google_Service_MapsEngine(...); + * $rasterCollections = $mapsengineService->rasterCollections; + * + */ +class Google_Service_MapsEngine_RasterCollections_Resource extends Google_Service_Resource +{ + + /** + * Cancel processing on a raster collection asset. + * (rasterCollections.cancelProcessing) + * + * @param string $id The ID of the raster collection. + * @param array $optParams Optional parameters. + * @return Google_Service_MapsEngine_ProcessResponse + */ + public function cancelProcessing($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('cancelProcessing', array($params), "Google_Service_MapsEngine_ProcessResponse"); + } + + /** + * Create a raster collection asset. (rasterCollections.create) + * + * @param Google_RasterCollection $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_MapsEngine_RasterCollection + */ + public function create(Google_Service_MapsEngine_RasterCollection $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_MapsEngine_RasterCollection"); + } + + /** + * Delete a raster collection. (rasterCollections.delete) + * + * @param string $id The ID of the raster collection. Only the raster collection + * creator or project owner are permitted to delete. If the rastor collection is + * included in a layer, the request will fail. Remove the raster collection from + * all layers prior to deleting. + * @param array $optParams Optional parameters. + */ + public function delete($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Return metadata for a particular raster collection. (rasterCollections.get) + * + * @param string $id The ID of the raster collection. + * @param array $optParams Optional parameters. + * @return Google_Service_MapsEngine_RasterCollection + */ + public function get($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_MapsEngine_RasterCollection"); + } + + /** + * Return all raster collections readable by the current user. + * (rasterCollections.listRasterCollections) + * + * @param array $optParams Optional parameters. + * + * @opt_param string modifiedAfter An RFC 3339 formatted date-time value (e.g. + * 1970-01-01T00:00:00Z). Returned assets will have been modified at or after + * this time. + * @opt_param string createdAfter An RFC 3339 formatted date-time value (e.g. + * 1970-01-01T00:00:00Z). Returned assets will have been created at or after + * this time. + * @opt_param string processingStatus + * @opt_param string projectId The ID of a Maps Engine project, used to filter + * the response. To list all available projects with their IDs, send a Projects: + * list request. You can also find your project ID as the value of the + * DashboardPlace:cid URL parameter when signed in to mapsengine.google.com. + * @opt_param string tags A comma separated list of tags. Returned assets will + * contain all the tags from the list. + * @opt_param string search An unstructured search string used to filter the set + * of results based on asset metadata. + * @opt_param string maxResults The maximum number of items to include in a + * single response page. The maximum supported value is 100. + * @opt_param string pageToken The continuation token, used to page through + * large result sets. To get the next page of results, set this parameter to the + * value of nextPageToken from the previous response. + * @opt_param string creatorEmail An email address representing a user. Returned + * assets that have been created by the user associated with the provided email + * address. + * @opt_param string bbox A bounding box, expressed as "west,south,east,north". + * If set, only assets which intersect this bounding box will be returned. + * @opt_param string modifiedBefore An RFC 3339 formatted date-time value (e.g. + * 1970-01-01T00:00:00Z). Returned assets will have been modified at or before + * this time. + * @opt_param string createdBefore An RFC 3339 formatted date-time value (e.g. + * 1970-01-01T00:00:00Z). Returned assets will have been created at or before + * this time. + * @opt_param string role The role parameter indicates that the response should + * only contain assets where the current user has the specified level of access. + * @return Google_Service_MapsEngine_RasterCollectionsListResponse + */ + public function listRasterCollections($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_MapsEngine_RasterCollectionsListResponse"); + } + + /** + * Mutate a raster collection asset. (rasterCollections.patch) + * + * @param string $id The ID of the raster collection. + * @param Google_RasterCollection $postBody + * @param array $optParams Optional parameters. + */ + public function patch($id, Google_Service_MapsEngine_RasterCollection $postBody, $optParams = array()) + { + $params = array('id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params)); + } + + /** + * Process a raster collection asset. (rasterCollections.process) + * + * @param string $id The ID of the raster collection. + * @param array $optParams Optional parameters. + * @return Google_Service_MapsEngine_ProcessResponse + */ + public function process($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('process', array($params), "Google_Service_MapsEngine_ProcessResponse"); + } +} + +/** + * The "parents" collection of methods. + * Typical usage is: + * + * $mapsengineService = new Google_Service_MapsEngine(...); + * $parents = $mapsengineService->parents; + * + */ +class Google_Service_MapsEngine_RasterCollectionsParents_Resource extends Google_Service_Resource +{ + + /** + * Return all parent ids of the specified raster collection. + * (parents.listRasterCollectionsParents) + * + * @param string $id The ID of the raster collection whose parents will be + * listed. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The continuation token, used to page through + * large result sets. To get the next page of results, set this parameter to the + * value of nextPageToken from the previous response. + * @opt_param string maxResults The maximum number of items to include in a + * single response page. The maximum supported value is 50. + * @return Google_Service_MapsEngine_ParentsListResponse + */ + public function listRasterCollectionsParents($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_MapsEngine_ParentsListResponse"); + } +} +/** + * The "permissions" collection of methods. + * Typical usage is: + * + * $mapsengineService = new Google_Service_MapsEngine(...); + * $permissions = $mapsengineService->permissions; + * + */ +class Google_Service_MapsEngine_RasterCollectionsPermissions_Resource extends Google_Service_Resource +{ + + /** + * Remove permission entries from an already existing asset. + * (permissions.batchDelete) + * + * @param string $id The ID of the asset from which permissions will be removed. + * @param Google_PermissionsBatchDeleteRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_MapsEngine_PermissionsBatchDeleteResponse + */ + public function batchDelete($id, Google_Service_MapsEngine_PermissionsBatchDeleteRequest $postBody, $optParams = array()) + { + $params = array('id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('batchDelete', array($params), "Google_Service_MapsEngine_PermissionsBatchDeleteResponse"); + } + + /** + * Add or update permission entries to an already existing asset. + * + * An asset can hold up to 20 different permission entries. Each batchInsert + * request is atomic. (permissions.batchUpdate) + * + * @param string $id The ID of the asset to which permissions will be added. + * @param Google_PermissionsBatchUpdateRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_MapsEngine_PermissionsBatchUpdateResponse + */ + public function batchUpdate($id, Google_Service_MapsEngine_PermissionsBatchUpdateRequest $postBody, $optParams = array()) + { + $params = array('id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('batchUpdate', array($params), "Google_Service_MapsEngine_PermissionsBatchUpdateResponse"); + } + + /** + * Return all of the permissions for the specified asset. + * (permissions.listRasterCollectionsPermissions) + * + * @param string $id The ID of the asset whose permissions will be listed. + * @param array $optParams Optional parameters. + * @return Google_Service_MapsEngine_PermissionsListResponse + */ + public function listRasterCollectionsPermissions($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_MapsEngine_PermissionsListResponse"); + } +} +/** + * The "rasters" collection of methods. + * Typical usage is: + * + * $mapsengineService = new Google_Service_MapsEngine(...); + * $rasters = $mapsengineService->rasters; + * + */ +class Google_Service_MapsEngine_RasterCollectionsRasters_Resource extends Google_Service_Resource +{ + + /** + * Remove rasters from an existing raster collection. + * + * Up to 50 rasters can be included in a single batchDelete request. Each + * batchDelete request is atomic. (rasters.batchDelete) + * + * @param string $id The ID of the raster collection to which these rasters + * belong. + * @param Google_RasterCollectionsRasterBatchDeleteRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_MapsEngine_RasterCollectionsRastersBatchDeleteResponse + */ + public function batchDelete($id, Google_Service_MapsEngine_RasterCollectionsRasterBatchDeleteRequest $postBody, $optParams = array()) + { + $params = array('id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('batchDelete', array($params), "Google_Service_MapsEngine_RasterCollectionsRastersBatchDeleteResponse"); + } + + /** + * Add rasters to an existing raster collection. Rasters must be successfully + * processed in order to be added to a raster collection. + * + * Up to 50 rasters can be included in a single batchInsert request. Each + * batchInsert request is atomic. (rasters.batchInsert) + * + * @param string $id The ID of the raster collection to which these rasters + * belong. + * @param Google_RasterCollectionsRastersBatchInsertRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_MapsEngine_RasterCollectionsRastersBatchInsertResponse + */ + public function batchInsert($id, Google_Service_MapsEngine_RasterCollectionsRastersBatchInsertRequest $postBody, $optParams = array()) + { + $params = array('id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('batchInsert', array($params), "Google_Service_MapsEngine_RasterCollectionsRastersBatchInsertResponse"); + } + + /** + * Return all rasters within a raster collection. + * (rasters.listRasterCollectionsRasters) + * + * @param string $id The ID of the raster collection to which these rasters + * belong. + * @param array $optParams Optional parameters. + * + * @opt_param string modifiedAfter An RFC 3339 formatted date-time value (e.g. + * 1970-01-01T00:00:00Z). Returned assets will have been modified at or after + * this time. + * @opt_param string createdAfter An RFC 3339 formatted date-time value (e.g. + * 1970-01-01T00:00:00Z). Returned assets will have been created at or after + * this time. + * @opt_param string tags A comma separated list of tags. Returned assets will + * contain all the tags from the list. + * @opt_param string search An unstructured search string used to filter the set + * of results based on asset metadata. + * @opt_param string maxResults The maximum number of items to include in a + * single response page. The maximum supported value is 100. + * @opt_param string pageToken The continuation token, used to page through + * large result sets. To get the next page of results, set this parameter to the + * value of nextPageToken from the previous response. + * @opt_param string creatorEmail An email address representing a user. Returned + * assets that have been created by the user associated with the provided email + * address. + * @opt_param string bbox A bounding box, expressed as "west,south,east,north". + * If set, only assets which intersect this bounding box will be returned. + * @opt_param string modifiedBefore An RFC 3339 formatted date-time value (e.g. + * 1970-01-01T00:00:00Z). Returned assets will have been modified at or before + * this time. + * @opt_param string createdBefore An RFC 3339 formatted date-time value (e.g. + * 1970-01-01T00:00:00Z). Returned assets will have been created at or before + * this time. + * @opt_param string role The role parameter indicates that the response should + * only contain assets where the current user has the specified level of access. + * @return Google_Service_MapsEngine_RasterCollectionsRastersListResponse + */ + public function listRasterCollectionsRasters($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_MapsEngine_RasterCollectionsRastersListResponse"); + } +} + +/** + * The "rasters" collection of methods. + * Typical usage is: + * + * $mapsengineService = new Google_Service_MapsEngine(...); + * $rasters = $mapsengineService->rasters; + * + */ +class Google_Service_MapsEngine_Rasters_Resource extends Google_Service_Resource +{ + + /** + * Delete a raster. (rasters.delete) + * + * @param string $id The ID of the raster. Only the raster creator or project + * owner are permitted to delete. If the raster is included in a layer or + * mosaic, the request will fail. Remove it from all parents prior to deleting. + * @param array $optParams Optional parameters. + */ + public function delete($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Return metadata for a single raster. (rasters.get) + * + * @param string $id The ID of the raster. + * @param array $optParams Optional parameters. + * @return Google_Service_MapsEngine_Raster + */ + public function get($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_MapsEngine_Raster"); + } + + /** + * Return all rasters readable by the current user. (rasters.listRasters) + * + * @param string $projectId The ID of a Maps Engine project, used to filter the + * response. To list all available projects with their IDs, send a Projects: + * list request. You can also find your project ID as the value of the + * DashboardPlace:cid URL parameter when signed in to mapsengine.google.com. + * @param array $optParams Optional parameters. + * + * @opt_param string modifiedAfter An RFC 3339 formatted date-time value (e.g. + * 1970-01-01T00:00:00Z). Returned assets will have been modified at or after + * this time. + * @opt_param string createdAfter An RFC 3339 formatted date-time value (e.g. + * 1970-01-01T00:00:00Z). Returned assets will have been created at or after + * this time. + * @opt_param string processingStatus + * @opt_param string tags A comma separated list of tags. Returned assets will + * contain all the tags from the list. + * @opt_param string search An unstructured search string used to filter the set + * of results based on asset metadata. + * @opt_param string maxResults The maximum number of items to include in a + * single response page. The maximum supported value is 100. + * @opt_param string pageToken The continuation token, used to page through + * large result sets. To get the next page of results, set this parameter to the + * value of nextPageToken from the previous response. + * @opt_param string creatorEmail An email address representing a user. Returned + * assets that have been created by the user associated with the provided email + * address. + * @opt_param string bbox A bounding box, expressed as "west,south,east,north". + * If set, only assets which intersect this bounding box will be returned. + * @opt_param string modifiedBefore An RFC 3339 formatted date-time value (e.g. + * 1970-01-01T00:00:00Z). Returned assets will have been modified at or before + * this time. + * @opt_param string createdBefore An RFC 3339 formatted date-time value (e.g. + * 1970-01-01T00:00:00Z). Returned assets will have been created at or before + * this time. + * @opt_param string role The role parameter indicates that the response should + * only contain assets where the current user has the specified level of access. + * @return Google_Service_MapsEngine_RastersListResponse + */ + public function listRasters($projectId, $optParams = array()) + { + $params = array('projectId' => $projectId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_MapsEngine_RastersListResponse"); + } + + /** + * Mutate a raster asset. (rasters.patch) + * + * @param string $id The ID of the raster. + * @param Google_Raster $postBody + * @param array $optParams Optional parameters. + */ + public function patch($id, Google_Service_MapsEngine_Raster $postBody, $optParams = array()) + { + $params = array('id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params)); + } + + /** + * Process a raster asset. (rasters.process) + * + * @param string $id The ID of the raster. + * @param array $optParams Optional parameters. + * @return Google_Service_MapsEngine_ProcessResponse + */ + public function process($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('process', array($params), "Google_Service_MapsEngine_ProcessResponse"); + } + + /** + * Create a skeleton raster asset for upload. (rasters.upload) + * + * @param Google_Raster $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_MapsEngine_Raster + */ + public function upload(Google_Service_MapsEngine_Raster $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('upload', array($params), "Google_Service_MapsEngine_Raster"); + } +} + +/** + * The "files" collection of methods. + * Typical usage is: + * + * $mapsengineService = new Google_Service_MapsEngine(...); + * $files = $mapsengineService->files; + * + */ +class Google_Service_MapsEngine_RastersFiles_Resource extends Google_Service_Resource +{ + + /** + * Upload a file to a raster asset. (files.insert) + * + * @param string $id The ID of the raster asset. + * @param string $filename The file name of this uploaded file. + * @param array $optParams Optional parameters. + */ + public function insert($id, $filename, $optParams = array()) + { + $params = array('id' => $id, 'filename' => $filename); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params)); + } +} +/** + * The "parents" collection of methods. + * Typical usage is: + * + * $mapsengineService = new Google_Service_MapsEngine(...); + * $parents = $mapsengineService->parents; + * + */ +class Google_Service_MapsEngine_RastersParents_Resource extends Google_Service_Resource +{ + + /** + * Return all parent ids of the specified rasters. (parents.listRastersParents) + * + * @param string $id The ID of the rasters whose parents will be listed. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The continuation token, used to page through + * large result sets. To get the next page of results, set this parameter to the + * value of nextPageToken from the previous response. + * @opt_param string maxResults The maximum number of items to include in a + * single response page. The maximum supported value is 50. + * @return Google_Service_MapsEngine_ParentsListResponse + */ + public function listRastersParents($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_MapsEngine_ParentsListResponse"); + } +} +/** + * The "permissions" collection of methods. + * Typical usage is: + * + * $mapsengineService = new Google_Service_MapsEngine(...); + * $permissions = $mapsengineService->permissions; + * + */ +class Google_Service_MapsEngine_RastersPermissions_Resource extends Google_Service_Resource +{ + + /** + * Remove permission entries from an already existing asset. + * (permissions.batchDelete) + * + * @param string $id The ID of the asset from which permissions will be removed. + * @param Google_PermissionsBatchDeleteRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_MapsEngine_PermissionsBatchDeleteResponse + */ + public function batchDelete($id, Google_Service_MapsEngine_PermissionsBatchDeleteRequest $postBody, $optParams = array()) + { + $params = array('id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('batchDelete', array($params), "Google_Service_MapsEngine_PermissionsBatchDeleteResponse"); + } + + /** + * Add or update permission entries to an already existing asset. + * + * An asset can hold up to 20 different permission entries. Each batchInsert + * request is atomic. (permissions.batchUpdate) + * + * @param string $id The ID of the asset to which permissions will be added. + * @param Google_PermissionsBatchUpdateRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_MapsEngine_PermissionsBatchUpdateResponse + */ + public function batchUpdate($id, Google_Service_MapsEngine_PermissionsBatchUpdateRequest $postBody, $optParams = array()) + { + $params = array('id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('batchUpdate', array($params), "Google_Service_MapsEngine_PermissionsBatchUpdateResponse"); + } + + /** + * Return all of the permissions for the specified asset. + * (permissions.listRastersPermissions) + * + * @param string $id The ID of the asset whose permissions will be listed. + * @param array $optParams Optional parameters. + * @return Google_Service_MapsEngine_PermissionsListResponse + */ + public function listRastersPermissions($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_MapsEngine_PermissionsListResponse"); + } +} + +/** + * The "tables" collection of methods. + * Typical usage is: + * + * $mapsengineService = new Google_Service_MapsEngine(...); + * $tables = $mapsengineService->tables; + * + */ +class Google_Service_MapsEngine_Tables_Resource extends Google_Service_Resource +{ + + /** + * Create a table asset. (tables.create) + * + * @param Google_Table $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_MapsEngine_Table + */ + public function create(Google_Service_MapsEngine_Table $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_MapsEngine_Table"); + } + + /** + * Delete a table. (tables.delete) + * + * @param string $id The ID of the table. Only the table creator or project + * owner are permitted to delete. If the table is included in a layer, the + * request will fail. Remove it from all layers prior to deleting. + * @param array $optParams Optional parameters. + */ + public function delete($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Return metadata for a particular table, including the schema. (tables.get) + * + * @param string $id The ID of the table. + * @param array $optParams Optional parameters. + * + * @opt_param string version + * @return Google_Service_MapsEngine_Table + */ + public function get($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_MapsEngine_Table"); + } + + /** + * Return all tables readable by the current user. (tables.listTables) + * + * @param array $optParams Optional parameters. + * + * @opt_param string modifiedAfter An RFC 3339 formatted date-time value (e.g. + * 1970-01-01T00:00:00Z). Returned assets will have been modified at or after + * this time. + * @opt_param string createdAfter An RFC 3339 formatted date-time value (e.g. + * 1970-01-01T00:00:00Z). Returned assets will have been created at or after + * this time. + * @opt_param string processingStatus + * @opt_param string projectId The ID of a Maps Engine project, used to filter + * the response. To list all available projects with their IDs, send a Projects: + * list request. You can also find your project ID as the value of the + * DashboardPlace:cid URL parameter when signed in to mapsengine.google.com. + * @opt_param string tags A comma separated list of tags. Returned assets will + * contain all the tags from the list. + * @opt_param string search An unstructured search string used to filter the set + * of results based on asset metadata. + * @opt_param string maxResults The maximum number of items to include in a + * single response page. The maximum supported value is 100. + * @opt_param string pageToken The continuation token, used to page through + * large result sets. To get the next page of results, set this parameter to the + * value of nextPageToken from the previous response. + * @opt_param string creatorEmail An email address representing a user. Returned + * assets that have been created by the user associated with the provided email + * address. + * @opt_param string bbox A bounding box, expressed as "west,south,east,north". + * If set, only assets which intersect this bounding box will be returned. + * @opt_param string modifiedBefore An RFC 3339 formatted date-time value (e.g. + * 1970-01-01T00:00:00Z). Returned assets will have been modified at or before + * this time. + * @opt_param string createdBefore An RFC 3339 formatted date-time value (e.g. + * 1970-01-01T00:00:00Z). Returned assets will have been created at or before + * this time. + * @opt_param string role The role parameter indicates that the response should + * only contain assets where the current user has the specified level of access. + * @return Google_Service_MapsEngine_TablesListResponse + */ + public function listTables($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_MapsEngine_TablesListResponse"); + } + + /** + * Mutate a table asset. (tables.patch) + * + * @param string $id The ID of the table. + * @param Google_Table $postBody + * @param array $optParams Optional parameters. + */ + public function patch($id, Google_Service_MapsEngine_Table $postBody, $optParams = array()) + { + $params = array('id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params)); + } + + /** + * Process a table asset. (tables.process) + * + * @param string $id The ID of the table. + * @param array $optParams Optional parameters. + * @return Google_Service_MapsEngine_ProcessResponse + */ + public function process($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('process', array($params), "Google_Service_MapsEngine_ProcessResponse"); + } + + /** + * Create a placeholder table asset to which table files can be uploaded. Once + * the placeholder has been created, files are uploaded to the + * https://www.googleapis.com/upload/mapsengine/v1/tables/table_id/files + * endpoint. See Table Upload in the Developer's Guide or Table.files: insert in + * the reference documentation for more information. (tables.upload) + * + * @param Google_Table $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_MapsEngine_Table + */ + public function upload(Google_Service_MapsEngine_Table $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('upload', array($params), "Google_Service_MapsEngine_Table"); + } +} + +/** + * The "features" collection of methods. + * Typical usage is: + * + * $mapsengineService = new Google_Service_MapsEngine(...); + * $features = $mapsengineService->features; + * + */ +class Google_Service_MapsEngine_TablesFeatures_Resource extends Google_Service_Resource +{ + + /** + * Delete all features matching the given IDs. (features.batchDelete) + * + * @param string $id The ID of the table that contains the features to be + * deleted. + * @param Google_FeaturesBatchDeleteRequest $postBody + * @param array $optParams Optional parameters. + */ + public function batchDelete($id, Google_Service_MapsEngine_FeaturesBatchDeleteRequest $postBody, $optParams = array()) + { + $params = array('id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('batchDelete', array($params)); + } + + /** + * Append features to an existing table. + * + * A single batchInsert request can create: + * + * - Up to 50 features. - A combined total of 10 000 vertices. Feature limits + * are documented in the Supported data formats and limits article of the Google + * Maps Engine help center. Note that free and paid accounts have different + * limits. + * + * For more information about inserting features, read Creating features in the + * Google Maps Engine developer's guide. (features.batchInsert) + * + * @param string $id The ID of the table to append the features to. + * @param Google_FeaturesBatchInsertRequest $postBody + * @param array $optParams Optional parameters. + */ + public function batchInsert($id, Google_Service_MapsEngine_FeaturesBatchInsertRequest $postBody, $optParams = array()) + { + $params = array('id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('batchInsert', array($params)); + } + + /** + * Update the supplied features. + * + * A single batchPatch request can update: + * + * - Up to 50 features. - A combined total of 10 000 vertices. Feature limits + * are documented in the Supported data formats and limits article of the Google + * Maps Engine help center. Note that free and paid accounts have different + * limits. + * + * Feature updates use HTTP PATCH semantics: + * + * - A supplied value replaces an existing value (if any) in that field. - + * Omitted fields remain unchanged. - Complex values in geometries and + * properties must be replaced as atomic units. For example, providing just the + * coordinates of a geometry is not allowed; the complete geometry, including + * type, must be supplied. - Setting a property's value to null deletes that + * property. For more information about updating features, read Updating + * features in the Google Maps Engine developer's guide. (features.batchPatch) + * + * @param string $id The ID of the table containing the features to be patched. + * @param Google_FeaturesBatchPatchRequest $postBody + * @param array $optParams Optional parameters. + */ + public function batchPatch($id, Google_Service_MapsEngine_FeaturesBatchPatchRequest $postBody, $optParams = array()) + { + $params = array('id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('batchPatch', array($params)); + } + + /** + * Return a single feature, given its ID. (features.get) + * + * @param string $tableId The ID of the table. + * @param string $id The ID of the feature to get. + * @param array $optParams Optional parameters. + * + * @opt_param string version The table version to access. See Accessing Public + * Data for information. + * @opt_param string select A SQL-like projection clause used to specify + * returned properties. If this parameter is not included, all properties are + * returned. + * @return Google_Service_MapsEngine_Feature + */ + public function get($tableId, $id, $optParams = array()) + { + $params = array('tableId' => $tableId, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_MapsEngine_Feature"); + } + + /** + * Return all features readable by the current user. + * (features.listTablesFeatures) + * + * @param string $id The ID of the table to which these features belong. + * @param array $optParams Optional parameters. + * + * @opt_param string orderBy An SQL-like order by clause used to sort results. + * If this parameter is not included, the order of features is undefined. + * @opt_param string intersects A geometry literal that specifies the spatial + * restriction of the query. + * @opt_param string maxResults The maximum number of items to include in the + * response, used for paging. The maximum supported value is 1000. + * @opt_param string pageToken The continuation token, used to page through + * large result sets. To get the next page of results, set this parameter to the + * value of nextPageToken from the previous response. + * @opt_param string version The table version to access. See Accessing Public + * Data for information. + * @opt_param string limit The total number of features to return from the + * query, irrespective of the number of pages. + * @opt_param string include A comma separated list of optional data to include. + * Optional data available: schema. + * @opt_param string where An SQL-like predicate used to filter results. + * @opt_param string select A SQL-like projection clause used to specify + * returned properties. If this parameter is not included, all properties are + * returned. + * @return Google_Service_MapsEngine_FeaturesListResponse + */ + public function listTablesFeatures($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_MapsEngine_FeaturesListResponse"); + } +} +/** + * The "files" collection of methods. + * Typical usage is: + * + * $mapsengineService = new Google_Service_MapsEngine(...); + * $files = $mapsengineService->files; + * + */ +class Google_Service_MapsEngine_TablesFiles_Resource extends Google_Service_Resource +{ + + /** + * Upload a file to a placeholder table asset. See Table Upload in the + * Developer's Guide for more information. Supported file types are listed in + * the Supported data formats and limits article of the Google Maps Engine help + * center. (files.insert) + * + * @param string $id The ID of the table asset. + * @param string $filename The file name of this uploaded file. + * @param array $optParams Optional parameters. + */ + public function insert($id, $filename, $optParams = array()) + { + $params = array('id' => $id, 'filename' => $filename); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params)); + } +} +/** + * The "parents" collection of methods. + * Typical usage is: + * + * $mapsengineService = new Google_Service_MapsEngine(...); + * $parents = $mapsengineService->parents; + * + */ +class Google_Service_MapsEngine_TablesParents_Resource extends Google_Service_Resource +{ + + /** + * Return all parent ids of the specified table. (parents.listTablesParents) + * + * @param string $id The ID of the table whose parents will be listed. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The continuation token, used to page through + * large result sets. To get the next page of results, set this parameter to the + * value of nextPageToken from the previous response. + * @opt_param string maxResults The maximum number of items to include in a + * single response page. The maximum supported value is 50. + * @return Google_Service_MapsEngine_ParentsListResponse + */ + public function listTablesParents($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_MapsEngine_ParentsListResponse"); + } +} +/** + * The "permissions" collection of methods. + * Typical usage is: + * + * $mapsengineService = new Google_Service_MapsEngine(...); + * $permissions = $mapsengineService->permissions; + * + */ +class Google_Service_MapsEngine_TablesPermissions_Resource extends Google_Service_Resource +{ + + /** + * Remove permission entries from an already existing asset. + * (permissions.batchDelete) + * + * @param string $id The ID of the asset from which permissions will be removed. + * @param Google_PermissionsBatchDeleteRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_MapsEngine_PermissionsBatchDeleteResponse + */ + public function batchDelete($id, Google_Service_MapsEngine_PermissionsBatchDeleteRequest $postBody, $optParams = array()) + { + $params = array('id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('batchDelete', array($params), "Google_Service_MapsEngine_PermissionsBatchDeleteResponse"); + } + + /** + * Add or update permission entries to an already existing asset. + * + * An asset can hold up to 20 different permission entries. Each batchInsert + * request is atomic. (permissions.batchUpdate) + * + * @param string $id The ID of the asset to which permissions will be added. + * @param Google_PermissionsBatchUpdateRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_MapsEngine_PermissionsBatchUpdateResponse + */ + public function batchUpdate($id, Google_Service_MapsEngine_PermissionsBatchUpdateRequest $postBody, $optParams = array()) + { + $params = array('id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('batchUpdate', array($params), "Google_Service_MapsEngine_PermissionsBatchUpdateResponse"); + } + + /** + * Return all of the permissions for the specified asset. + * (permissions.listTablesPermissions) + * + * @param string $id The ID of the asset whose permissions will be listed. + * @param array $optParams Optional parameters. + * @return Google_Service_MapsEngine_PermissionsListResponse + */ + public function listTablesPermissions($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_MapsEngine_PermissionsListResponse"); + } +} + + + + +class Google_Service_MapsEngine_AcquisitionTime extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $end; + public $precision; + public $start; + + + public function setEnd($end) + { + $this->end = $end; + } + public function getEnd() + { + return $this->end; + } + public function setPrecision($precision) + { + $this->precision = $precision; + } + public function getPrecision() + { + return $this->precision; + } + public function setStart($start) + { + $this->start = $start; + } + public function getStart() + { + return $this->start; + } +} + +class Google_Service_MapsEngine_Asset extends Google_Collection +{ + protected $collection_key = 'tags'; + protected $internal_gapi_mappings = array( + ); + public $bbox; + public $creationTime; + public $creatorEmail; + public $description; + public $etag; + public $id; + public $lastModifiedTime; + public $lastModifierEmail; + public $name; + public $projectId; + public $resource; + public $tags; + public $type; + public $writersCanEditPermissions; + + + public function setBbox($bbox) + { + $this->bbox = $bbox; + } + public function getBbox() + { + return $this->bbox; + } + public function setCreationTime($creationTime) + { + $this->creationTime = $creationTime; + } + public function getCreationTime() + { + return $this->creationTime; + } + public function setCreatorEmail($creatorEmail) + { + $this->creatorEmail = $creatorEmail; + } + public function getCreatorEmail() + { + return $this->creatorEmail; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setLastModifiedTime($lastModifiedTime) + { + $this->lastModifiedTime = $lastModifiedTime; + } + public function getLastModifiedTime() + { + return $this->lastModifiedTime; + } + public function setLastModifierEmail($lastModifierEmail) + { + $this->lastModifierEmail = $lastModifierEmail; + } + public function getLastModifierEmail() + { + return $this->lastModifierEmail; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } + public function setResource($resource) + { + $this->resource = $resource; + } + public function getResource() + { + return $this->resource; + } + public function setTags($tags) + { + $this->tags = $tags; + } + public function getTags() + { + return $this->tags; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setWritersCanEditPermissions($writersCanEditPermissions) + { + $this->writersCanEditPermissions = $writersCanEditPermissions; + } + public function getWritersCanEditPermissions() + { + return $this->writersCanEditPermissions; + } +} + +class Google_Service_MapsEngine_AssetsListResponse extends Google_Collection +{ + protected $collection_key = 'assets'; + protected $internal_gapi_mappings = array( + ); + protected $assetsType = 'Google_Service_MapsEngine_Asset'; + protected $assetsDataType = 'array'; + public $nextPageToken; + + + public function setAssets($assets) + { + $this->assets = $assets; + } + public function getAssets() + { + return $this->assets; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_MapsEngine_Border extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $color; + public $opacity; + public $width; + + + public function setColor($color) + { + $this->color = $color; + } + public function getColor() + { + return $this->color; + } + public function setOpacity($opacity) + { + $this->opacity = $opacity; + } + public function getOpacity() + { + return $this->opacity; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} + +class Google_Service_MapsEngine_Color extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $color; + public $opacity; + + + public function setColor($color) + { + $this->color = $color; + } + public function getColor() + { + return $this->color; + } + public function setOpacity($opacity) + { + $this->opacity = $opacity; + } + public function getOpacity() + { + return $this->opacity; + } +} + +class Google_Service_MapsEngine_Datasource extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } +} + +class Google_Service_MapsEngine_DisplayRule extends Google_Collection +{ + protected $collection_key = 'filters'; + protected $internal_gapi_mappings = array( + ); + protected $filtersType = 'Google_Service_MapsEngine_Filter'; + protected $filtersDataType = 'array'; + protected $lineOptionsType = 'Google_Service_MapsEngine_LineStyle'; + protected $lineOptionsDataType = ''; + public $name; + protected $pointOptionsType = 'Google_Service_MapsEngine_PointStyle'; + protected $pointOptionsDataType = ''; + protected $polygonOptionsType = 'Google_Service_MapsEngine_PolygonStyle'; + protected $polygonOptionsDataType = ''; + protected $zoomLevelsType = 'Google_Service_MapsEngine_ZoomLevels'; + protected $zoomLevelsDataType = ''; + + + public function setFilters($filters) + { + $this->filters = $filters; + } + public function getFilters() + { + return $this->filters; + } + public function setLineOptions(Google_Service_MapsEngine_LineStyle $lineOptions) + { + $this->lineOptions = $lineOptions; + } + public function getLineOptions() + { + return $this->lineOptions; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPointOptions(Google_Service_MapsEngine_PointStyle $pointOptions) + { + $this->pointOptions = $pointOptions; + } + public function getPointOptions() + { + return $this->pointOptions; + } + public function setPolygonOptions(Google_Service_MapsEngine_PolygonStyle $polygonOptions) + { + $this->polygonOptions = $polygonOptions; + } + public function getPolygonOptions() + { + return $this->polygonOptions; + } + public function setZoomLevels(Google_Service_MapsEngine_ZoomLevels $zoomLevels) + { + $this->zoomLevels = $zoomLevels; + } + public function getZoomLevels() + { + return $this->zoomLevels; + } +} + +class Google_Service_MapsEngine_Feature extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $geometryType = 'Google_Service_MapsEngine_GeoJsonGeometry'; + protected $geometryDataType = ''; + public $properties; + public $type; + + + public function setGeometry(Google_Service_MapsEngine_GeoJsonGeometry $geometry) + { + $this->geometry = $geometry; + } + public function getGeometry() + { + return $this->geometry; + } + public function setProperties($properties) + { + $this->properties = $properties; + } + public function getProperties() + { + return $this->properties; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_MapsEngine_FeatureInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $content; + + + public function setContent($content) + { + $this->content = $content; + } + public function getContent() + { + return $this->content; + } +} + +class Google_Service_MapsEngine_FeaturesBatchDeleteRequest extends Google_Collection +{ + protected $collection_key = 'primaryKeys'; + protected $internal_gapi_mappings = array( + "gxIds" => "gx_ids", + ); + public $gxIds; + public $primaryKeys; + + + public function setGxIds($gxIds) + { + $this->gxIds = $gxIds; + } + public function getGxIds() + { + return $this->gxIds; + } + public function setPrimaryKeys($primaryKeys) + { + $this->primaryKeys = $primaryKeys; + } + public function getPrimaryKeys() + { + return $this->primaryKeys; + } +} + +class Google_Service_MapsEngine_FeaturesBatchInsertRequest extends Google_Collection +{ + protected $collection_key = 'features'; + protected $internal_gapi_mappings = array( + ); + protected $featuresType = 'Google_Service_MapsEngine_Feature'; + protected $featuresDataType = 'array'; + public $normalizeGeometries; + + + public function setFeatures($features) + { + $this->features = $features; + } + public function getFeatures() + { + return $this->features; + } + public function setNormalizeGeometries($normalizeGeometries) + { + $this->normalizeGeometries = $normalizeGeometries; + } + public function getNormalizeGeometries() + { + return $this->normalizeGeometries; + } +} + +class Google_Service_MapsEngine_FeaturesBatchPatchRequest extends Google_Collection +{ + protected $collection_key = 'features'; + protected $internal_gapi_mappings = array( + ); + protected $featuresType = 'Google_Service_MapsEngine_Feature'; + protected $featuresDataType = 'array'; + public $normalizeGeometries; + + + public function setFeatures($features) + { + $this->features = $features; + } + public function getFeatures() + { + return $this->features; + } + public function setNormalizeGeometries($normalizeGeometries) + { + $this->normalizeGeometries = $normalizeGeometries; + } + public function getNormalizeGeometries() + { + return $this->normalizeGeometries; + } +} + +class Google_Service_MapsEngine_FeaturesListResponse extends Google_Collection +{ + protected $collection_key = 'features'; + protected $internal_gapi_mappings = array( + ); + public $allowedQueriesPerSecond; + protected $featuresType = 'Google_Service_MapsEngine_Feature'; + protected $featuresDataType = 'array'; + public $nextPageToken; + protected $schemaType = 'Google_Service_MapsEngine_Schema'; + protected $schemaDataType = ''; + public $type; + + + public function setAllowedQueriesPerSecond($allowedQueriesPerSecond) + { + $this->allowedQueriesPerSecond = $allowedQueriesPerSecond; + } + public function getAllowedQueriesPerSecond() + { + return $this->allowedQueriesPerSecond; + } + public function setFeatures($features) + { + $this->features = $features; + } + public function getFeatures() + { + return $this->features; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSchema(Google_Service_MapsEngine_Schema $schema) + { + $this->schema = $schema; + } + public function getSchema() + { + return $this->schema; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_MapsEngine_Filter extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $column; + public $operator; + public $value; + + + public function setColumn($column) + { + $this->column = $column; + } + public function getColumn() + { + return $this->column; + } + public function setOperator($operator) + { + $this->operator = $operator; + } + public function getOperator() + { + return $this->operator; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_MapsEngine_GeoJsonGeometry extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $type; + + + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_MapsEngine_GeoJsonGeometryCollection extends Google_Service_MapsEngine_GeoJsonGeometry +{ + protected $collection_key = 'geometries'; + protected $internal_gapi_mappings = array( + ); + protected $geometriesType = 'Google_Service_MapsEngine_GeoJsonGeometry'; + protected $geometriesDataType = 'array'; + protected function gapiInit() + { + $this->type = 'GeometryCollection'; + } + + public function setGeometries($geometries) + { + $this->geometries = $geometries; + } + public function getGeometries() + { + return $this->geometries; + } +} + +class Google_Service_MapsEngine_GeoJsonLineString extends Google_Service_MapsEngine_GeoJsonGeometry +{ + protected $collection_key = 'coordinates'; + protected $internal_gapi_mappings = array( + ); + public $coordinates; + protected function gapiInit() + { + $this->type = 'LineString'; + } + + public function setCoordinates($coordinates) + { + $this->coordinates = $coordinates; + } + public function getCoordinates() + { + return $this->coordinates; + } +} + +class Google_Service_MapsEngine_GeoJsonMultiLineString extends Google_Service_MapsEngine_GeoJsonGeometry +{ + protected $collection_key = 'coordinates'; + protected $internal_gapi_mappings = array( + ); + public $coordinates; + protected function gapiInit() + { + $this->type = 'MultiLineString'; + } + + public function setCoordinates($coordinates) + { + $this->coordinates = $coordinates; + } + public function getCoordinates() + { + return $this->coordinates; + } +} + +class Google_Service_MapsEngine_GeoJsonMultiPoint extends Google_Service_MapsEngine_GeoJsonGeometry +{ + protected $collection_key = 'coordinates'; + protected $internal_gapi_mappings = array( + ); + public $coordinates; + protected function gapiInit() + { + $this->type = 'MultiPoint'; + } + + public function setCoordinates($coordinates) + { + $this->coordinates = $coordinates; + } + public function getCoordinates() + { + return $this->coordinates; + } +} + +class Google_Service_MapsEngine_GeoJsonMultiPolygon extends Google_Service_MapsEngine_GeoJsonGeometry +{ + protected $collection_key = 'coordinates'; + protected $internal_gapi_mappings = array( + ); + public $coordinates; + protected function gapiInit() + { + $this->type = 'MultiPolygon'; + } + + public function setCoordinates($coordinates) + { + $this->coordinates = $coordinates; + } + public function getCoordinates() + { + return $this->coordinates; + } +} + +class Google_Service_MapsEngine_GeoJsonPoint extends Google_Service_MapsEngine_GeoJsonGeometry +{ + protected $collection_key = 'coordinates'; + protected $internal_gapi_mappings = array( + ); + public $coordinates; + protected function gapiInit() + { + $this->type = 'Point'; + } + + public function setCoordinates($coordinates) + { + $this->coordinates = $coordinates; + } + public function getCoordinates() + { + return $this->coordinates; + } +} + +class Google_Service_MapsEngine_GeoJsonPolygon extends Google_Service_MapsEngine_GeoJsonGeometry +{ + protected $collection_key = 'coordinates'; + protected $internal_gapi_mappings = array( + ); + public $coordinates; + protected function gapiInit() + { + $this->type = 'Polygon'; + } + + public function setCoordinates($coordinates) + { + $this->coordinates = $coordinates; + } + public function getCoordinates() + { + return $this->coordinates; + } +} + +class Google_Service_MapsEngine_GeoJsonProperties extends Google_Model +{ +} + +class Google_Service_MapsEngine_Icon extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $description; + public $id; + public $name; + + + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_MapsEngine_IconStyle extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $name; + protected $scaledShapeType = 'Google_Service_MapsEngine_ScaledShape'; + protected $scaledShapeDataType = ''; + protected $scalingFunctionType = 'Google_Service_MapsEngine_ScalingFunction'; + protected $scalingFunctionDataType = ''; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setScaledShape(Google_Service_MapsEngine_ScaledShape $scaledShape) + { + $this->scaledShape = $scaledShape; + } + public function getScaledShape() + { + return $this->scaledShape; + } + public function setScalingFunction(Google_Service_MapsEngine_ScalingFunction $scalingFunction) + { + $this->scalingFunction = $scalingFunction; + } + public function getScalingFunction() + { + return $this->scalingFunction; + } +} + +class Google_Service_MapsEngine_IconsListResponse extends Google_Collection +{ + protected $collection_key = 'icons'; + protected $internal_gapi_mappings = array( + ); + protected $iconsType = 'Google_Service_MapsEngine_Icon'; + protected $iconsDataType = 'array'; + public $nextPageToken; + + + public function setIcons($icons) + { + $this->icons = $icons; + } + public function getIcons() + { + return $this->icons; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_MapsEngine_LabelStyle extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $color; + public $column; + public $fontStyle; + public $fontWeight; + public $opacity; + protected $outlineType = 'Google_Service_MapsEngine_Color'; + protected $outlineDataType = ''; + public $size; + + + public function setColor($color) + { + $this->color = $color; + } + public function getColor() + { + return $this->color; + } + public function setColumn($column) + { + $this->column = $column; + } + public function getColumn() + { + return $this->column; + } + public function setFontStyle($fontStyle) + { + $this->fontStyle = $fontStyle; + } + public function getFontStyle() + { + return $this->fontStyle; + } + public function setFontWeight($fontWeight) + { + $this->fontWeight = $fontWeight; + } + public function getFontWeight() + { + return $this->fontWeight; + } + public function setOpacity($opacity) + { + $this->opacity = $opacity; + } + public function getOpacity() + { + return $this->opacity; + } + public function setOutline(Google_Service_MapsEngine_Color $outline) + { + $this->outline = $outline; + } + public function getOutline() + { + return $this->outline; + } + public function setSize($size) + { + $this->size = $size; + } + public function getSize() + { + return $this->size; + } +} + +class Google_Service_MapsEngine_Layer extends Google_Collection +{ + protected $collection_key = 'tags'; + protected $internal_gapi_mappings = array( + ); + public $bbox; + public $creationTime; + public $creatorEmail; + public $datasourceType; + protected $datasourcesType = 'Google_Service_MapsEngine_Datasource'; + protected $datasourcesDataType = 'array'; + public $description; + public $draftAccessList; + public $etag; + public $id; + public $lastModifiedTime; + public $lastModifierEmail; + public $layerType; + public $name; + public $processingStatus; + public $projectId; + public $publishedAccessList; + public $publishingStatus; + protected $styleType = 'Google_Service_MapsEngine_VectorStyle'; + protected $styleDataType = ''; + public $tags; + public $writersCanEditPermissions; + + + public function setBbox($bbox) + { + $this->bbox = $bbox; + } + public function getBbox() + { + return $this->bbox; + } + public function setCreationTime($creationTime) + { + $this->creationTime = $creationTime; + } + public function getCreationTime() + { + return $this->creationTime; + } + public function setCreatorEmail($creatorEmail) + { + $this->creatorEmail = $creatorEmail; + } + public function getCreatorEmail() + { + return $this->creatorEmail; + } + public function setDatasourceType($datasourceType) + { + $this->datasourceType = $datasourceType; + } + public function getDatasourceType() + { + return $this->datasourceType; + } + public function setDatasources(Google_Service_MapsEngine_Datasource $datasources) + { + $this->datasources = $datasources; + } + public function getDatasources() + { + return $this->datasources; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDraftAccessList($draftAccessList) + { + $this->draftAccessList = $draftAccessList; + } + public function getDraftAccessList() + { + return $this->draftAccessList; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setLastModifiedTime($lastModifiedTime) + { + $this->lastModifiedTime = $lastModifiedTime; + } + public function getLastModifiedTime() + { + return $this->lastModifiedTime; + } + public function setLastModifierEmail($lastModifierEmail) + { + $this->lastModifierEmail = $lastModifierEmail; + } + public function getLastModifierEmail() + { + return $this->lastModifierEmail; + } + public function setLayerType($layerType) + { + $this->layerType = $layerType; + } + public function getLayerType() + { + return $this->layerType; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setProcessingStatus($processingStatus) + { + $this->processingStatus = $processingStatus; + } + public function getProcessingStatus() + { + return $this->processingStatus; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } + public function setPublishedAccessList($publishedAccessList) + { + $this->publishedAccessList = $publishedAccessList; + } + public function getPublishedAccessList() + { + return $this->publishedAccessList; + } + public function setPublishingStatus($publishingStatus) + { + $this->publishingStatus = $publishingStatus; + } + public function getPublishingStatus() + { + return $this->publishingStatus; + } + public function setStyle(Google_Service_MapsEngine_VectorStyle $style) + { + $this->style = $style; + } + public function getStyle() + { + return $this->style; + } + public function setTags($tags) + { + $this->tags = $tags; + } + public function getTags() + { + return $this->tags; + } + public function setWritersCanEditPermissions($writersCanEditPermissions) + { + $this->writersCanEditPermissions = $writersCanEditPermissions; + } + public function getWritersCanEditPermissions() + { + return $this->writersCanEditPermissions; + } +} + +class Google_Service_MapsEngine_LayersListResponse extends Google_Collection +{ + protected $collection_key = 'layers'; + protected $internal_gapi_mappings = array( + ); + protected $layersType = 'Google_Service_MapsEngine_Layer'; + protected $layersDataType = 'array'; + public $nextPageToken; + + + public function setLayers($layers) + { + $this->layers = $layers; + } + public function getLayers() + { + return $this->layers; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_MapsEngine_LineStyle extends Google_Collection +{ + protected $collection_key = 'dash'; + protected $internal_gapi_mappings = array( + ); + protected $borderType = 'Google_Service_MapsEngine_Border'; + protected $borderDataType = ''; + public $dash; + protected $labelType = 'Google_Service_MapsEngine_LabelStyle'; + protected $labelDataType = ''; + protected $strokeType = 'Google_Service_MapsEngine_LineStyleStroke'; + protected $strokeDataType = ''; + + + public function setBorder(Google_Service_MapsEngine_Border $border) + { + $this->border = $border; + } + public function getBorder() + { + return $this->border; + } + public function setDash($dash) + { + $this->dash = $dash; + } + public function getDash() + { + return $this->dash; + } + public function setLabel(Google_Service_MapsEngine_LabelStyle $label) + { + $this->label = $label; + } + public function getLabel() + { + return $this->label; + } + public function setStroke(Google_Service_MapsEngine_LineStyleStroke $stroke) + { + $this->stroke = $stroke; + } + public function getStroke() + { + return $this->stroke; + } +} + +class Google_Service_MapsEngine_LineStyleStroke extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $color; + public $opacity; + public $width; + + + public function setColor($color) + { + $this->color = $color; + } + public function getColor() + { + return $this->color; + } + public function setOpacity($opacity) + { + $this->opacity = $opacity; + } + public function getOpacity() + { + return $this->opacity; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} + +class Google_Service_MapsEngine_Map extends Google_Collection +{ + protected $collection_key = 'versions'; + protected $internal_gapi_mappings = array( + ); + public $bbox; + protected $contentsType = 'Google_Service_MapsEngine_MapItem'; + protected $contentsDataType = ''; + public $creationTime; + public $creatorEmail; + public $defaultViewport; + public $description; + public $draftAccessList; + public $etag; + public $id; + public $lastModifiedTime; + public $lastModifierEmail; + public $name; + public $processingStatus; + public $projectId; + public $publishedAccessList; + public $publishingStatus; + public $tags; + public $versions; + public $writersCanEditPermissions; + + + public function setBbox($bbox) + { + $this->bbox = $bbox; + } + public function getBbox() + { + return $this->bbox; + } + public function setContents(Google_Service_MapsEngine_MapItem $contents) + { + $this->contents = $contents; + } + public function getContents() + { + return $this->contents; + } + public function setCreationTime($creationTime) + { + $this->creationTime = $creationTime; + } + public function getCreationTime() + { + return $this->creationTime; + } + public function setCreatorEmail($creatorEmail) + { + $this->creatorEmail = $creatorEmail; + } + public function getCreatorEmail() + { + return $this->creatorEmail; + } + public function setDefaultViewport($defaultViewport) + { + $this->defaultViewport = $defaultViewport; + } + public function getDefaultViewport() + { + return $this->defaultViewport; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDraftAccessList($draftAccessList) + { + $this->draftAccessList = $draftAccessList; + } + public function getDraftAccessList() + { + return $this->draftAccessList; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setLastModifiedTime($lastModifiedTime) + { + $this->lastModifiedTime = $lastModifiedTime; + } + public function getLastModifiedTime() + { + return $this->lastModifiedTime; + } + public function setLastModifierEmail($lastModifierEmail) + { + $this->lastModifierEmail = $lastModifierEmail; + } + public function getLastModifierEmail() + { + return $this->lastModifierEmail; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setProcessingStatus($processingStatus) + { + $this->processingStatus = $processingStatus; + } + public function getProcessingStatus() + { + return $this->processingStatus; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } + public function setPublishedAccessList($publishedAccessList) + { + $this->publishedAccessList = $publishedAccessList; + } + public function getPublishedAccessList() + { + return $this->publishedAccessList; + } + public function setPublishingStatus($publishingStatus) + { + $this->publishingStatus = $publishingStatus; + } + public function getPublishingStatus() + { + return $this->publishingStatus; + } + public function setTags($tags) + { + $this->tags = $tags; + } + public function getTags() + { + return $this->tags; + } + public function setVersions($versions) + { + $this->versions = $versions; + } + public function getVersions() + { + return $this->versions; + } + public function setWritersCanEditPermissions($writersCanEditPermissions) + { + $this->writersCanEditPermissions = $writersCanEditPermissions; + } + public function getWritersCanEditPermissions() + { + return $this->writersCanEditPermissions; + } +} + +class Google_Service_MapsEngine_MapFolder extends Google_Service_MapsEngine_MapItem +{ + protected $collection_key = 'defaultViewport'; + protected $internal_gapi_mappings = array( + ); + protected $contentsType = 'Google_Service_MapsEngine_MapItem'; + protected $contentsDataType = 'array'; + public $defaultViewport; + public $expandable; + public $key; + public $name; + public $visibility; + protected function gapiInit() + { + $this->type = 'folder'; + } + + public function setContents($contents) + { + $this->contents = $contents; + } + public function getContents() + { + return $this->contents; + } + public function setDefaultViewport($defaultViewport) + { + $this->defaultViewport = $defaultViewport; + } + public function getDefaultViewport() + { + return $this->defaultViewport; + } + public function setExpandable($expandable) + { + $this->expandable = $expandable; + } + public function getExpandable() + { + return $this->expandable; + } + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setVisibility($visibility) + { + $this->visibility = $visibility; + } + public function getVisibility() + { + return $this->visibility; + } +} + +class Google_Service_MapsEngine_MapItem extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $type; + + + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_MapsEngine_MapKmlLink extends Google_Service_MapsEngine_MapItem +{ + protected $collection_key = 'defaultViewport'; + protected $internal_gapi_mappings = array( + ); + public $defaultViewport; + public $kmlUrl; + public $name; + public $visibility; + protected function gapiInit() + { + $this->type = 'kmlLink'; + } + + public function setDefaultViewport($defaultViewport) + { + $this->defaultViewport = $defaultViewport; + } + public function getDefaultViewport() + { + return $this->defaultViewport; + } + public function setKmlUrl($kmlUrl) + { + $this->kmlUrl = $kmlUrl; + } + public function getKmlUrl() + { + return $this->kmlUrl; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setVisibility($visibility) + { + $this->visibility = $visibility; + } + public function getVisibility() + { + return $this->visibility; + } +} + +class Google_Service_MapsEngine_MapLayer extends Google_Service_MapsEngine_MapItem +{ + protected $collection_key = 'defaultViewport'; + protected $internal_gapi_mappings = array( + ); + public $defaultViewport; + public $id; + public $key; + public $name; + public $visibility; + protected function gapiInit() + { + $this->type = 'layer'; + } + + public function setDefaultViewport($defaultViewport) + { + $this->defaultViewport = $defaultViewport; + } + public function getDefaultViewport() + { + return $this->defaultViewport; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setVisibility($visibility) + { + $this->visibility = $visibility; + } + public function getVisibility() + { + return $this->visibility; + } +} + +class Google_Service_MapsEngine_MapsListResponse extends Google_Collection +{ + protected $collection_key = 'maps'; + protected $internal_gapi_mappings = array( + ); + protected $mapsType = 'Google_Service_MapsEngine_Map'; + protected $mapsDataType = 'array'; + public $nextPageToken; + + + public function setMaps($maps) + { + $this->maps = $maps; + } + public function getMaps() + { + return $this->maps; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_MapsEngine_MapsengineFile extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $filename; + public $size; + public $uploadStatus; + + + public function setFilename($filename) + { + $this->filename = $filename; + } + public function getFilename() + { + return $this->filename; + } + public function setSize($size) + { + $this->size = $size; + } + public function getSize() + { + return $this->size; + } + public function setUploadStatus($uploadStatus) + { + $this->uploadStatus = $uploadStatus; + } + public function getUploadStatus() + { + return $this->uploadStatus; + } +} + +class Google_Service_MapsEngine_Parent extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } +} + +class Google_Service_MapsEngine_ParentsListResponse extends Google_Collection +{ + protected $collection_key = 'parents'; + protected $internal_gapi_mappings = array( + ); + public $nextPageToken; + protected $parentsType = 'Google_Service_MapsEngine_Parent'; + protected $parentsDataType = 'array'; + + + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setParents($parents) + { + $this->parents = $parents; + } + public function getParents() + { + return $this->parents; + } +} + +class Google_Service_MapsEngine_Permission extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $discoverable; + public $id; + public $role; + public $type; + + + public function setDiscoverable($discoverable) + { + $this->discoverable = $discoverable; + } + public function getDiscoverable() + { + return $this->discoverable; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setRole($role) + { + $this->role = $role; + } + public function getRole() + { + return $this->role; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_MapsEngine_PermissionsBatchDeleteRequest extends Google_Collection +{ + protected $collection_key = 'ids'; + protected $internal_gapi_mappings = array( + ); + public $ids; + + + public function setIds($ids) + { + $this->ids = $ids; + } + public function getIds() + { + return $this->ids; + } +} + +class Google_Service_MapsEngine_PermissionsBatchDeleteResponse extends Google_Model +{ +} + +class Google_Service_MapsEngine_PermissionsBatchUpdateRequest extends Google_Collection +{ + protected $collection_key = 'permissions'; + protected $internal_gapi_mappings = array( + ); + protected $permissionsType = 'Google_Service_MapsEngine_Permission'; + protected $permissionsDataType = 'array'; + + + public function setPermissions($permissions) + { + $this->permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } +} + +class Google_Service_MapsEngine_PermissionsBatchUpdateResponse extends Google_Model +{ +} + +class Google_Service_MapsEngine_PermissionsListResponse extends Google_Collection +{ + protected $collection_key = 'permissions'; + protected $internal_gapi_mappings = array( + ); + protected $permissionsType = 'Google_Service_MapsEngine_Permission'; + protected $permissionsDataType = 'array'; + + + public function setPermissions($permissions) + { + $this->permissions = $permissions; + } + public function getPermissions() + { + return $this->permissions; + } +} + +class Google_Service_MapsEngine_PointStyle extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $iconType = 'Google_Service_MapsEngine_IconStyle'; + protected $iconDataType = ''; + protected $labelType = 'Google_Service_MapsEngine_LabelStyle'; + protected $labelDataType = ''; + + + public function setIcon(Google_Service_MapsEngine_IconStyle $icon) + { + $this->icon = $icon; + } + public function getIcon() + { + return $this->icon; + } + public function setLabel(Google_Service_MapsEngine_LabelStyle $label) + { + $this->label = $label; + } + public function getLabel() + { + return $this->label; + } +} + +class Google_Service_MapsEngine_PolygonStyle extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $fillType = 'Google_Service_MapsEngine_Color'; + protected $fillDataType = ''; + protected $labelType = 'Google_Service_MapsEngine_LabelStyle'; + protected $labelDataType = ''; + protected $strokeType = 'Google_Service_MapsEngine_Border'; + protected $strokeDataType = ''; + + + public function setFill(Google_Service_MapsEngine_Color $fill) + { + $this->fill = $fill; + } + public function getFill() + { + return $this->fill; + } + public function setLabel(Google_Service_MapsEngine_LabelStyle $label) + { + $this->label = $label; + } + public function getLabel() + { + return $this->label; + } + public function setStroke(Google_Service_MapsEngine_Border $stroke) + { + $this->stroke = $stroke; + } + public function getStroke() + { + return $this->stroke; + } +} + +class Google_Service_MapsEngine_ProcessResponse extends Google_Model +{ +} + +class Google_Service_MapsEngine_Project extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $name; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_MapsEngine_ProjectsListResponse extends Google_Collection +{ + protected $collection_key = 'projects'; + protected $internal_gapi_mappings = array( + ); + protected $projectsType = 'Google_Service_MapsEngine_Project'; + protected $projectsDataType = 'array'; + + + public function setProjects($projects) + { + $this->projects = $projects; + } + public function getProjects() + { + return $this->projects; + } +} + +class Google_Service_MapsEngine_PublishResponse extends Google_Model +{ +} + +class Google_Service_MapsEngine_PublishedLayer extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $description; + public $id; + public $layerType; + public $name; + public $projectId; + + + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setLayerType($layerType) + { + $this->layerType = $layerType; + } + public function getLayerType() + { + return $this->layerType; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } +} + +class Google_Service_MapsEngine_PublishedLayersListResponse extends Google_Collection +{ + protected $collection_key = 'layers'; + protected $internal_gapi_mappings = array( + ); + protected $layersType = 'Google_Service_MapsEngine_PublishedLayer'; + protected $layersDataType = 'array'; + public $nextPageToken; + + + public function setLayers($layers) + { + $this->layers = $layers; + } + public function getLayers() + { + return $this->layers; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_MapsEngine_PublishedMap extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $contentsType = 'Google_Service_MapsEngine_MapItem'; + protected $contentsDataType = ''; + public $defaultViewport; + public $description; + public $id; + public $name; + public $projectId; + + + public function setContents(Google_Service_MapsEngine_MapItem $contents) + { + $this->contents = $contents; + } + public function getContents() + { + return $this->contents; + } + public function setDefaultViewport($defaultViewport) + { + $this->defaultViewport = $defaultViewport; + } + public function getDefaultViewport() + { + return $this->defaultViewport; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } +} + +class Google_Service_MapsEngine_PublishedMapsListResponse extends Google_Collection +{ + protected $collection_key = 'maps'; + protected $internal_gapi_mappings = array( + ); + protected $mapsType = 'Google_Service_MapsEngine_PublishedMap'; + protected $mapsDataType = 'array'; + public $nextPageToken; + + + public function setMaps($maps) + { + $this->maps = $maps; + } + public function getMaps() + { + return $this->maps; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_MapsEngine_Raster extends Google_Collection +{ + protected $collection_key = 'files'; + protected $internal_gapi_mappings = array( + ); + protected $acquisitionTimeType = 'Google_Service_MapsEngine_AcquisitionTime'; + protected $acquisitionTimeDataType = ''; + public $attribution; + public $bbox; + public $creationTime; + public $creatorEmail; + public $description; + public $draftAccessList; + public $etag; + protected $filesType = 'Google_Service_MapsEngine_MapsengineFile'; + protected $filesDataType = 'array'; + public $id; + public $lastModifiedTime; + public $lastModifierEmail; + public $maskType; + public $name; + public $processingStatus; + public $projectId; + public $rasterType; + public $tags; + public $writersCanEditPermissions; + + + public function setAcquisitionTime(Google_Service_MapsEngine_AcquisitionTime $acquisitionTime) + { + $this->acquisitionTime = $acquisitionTime; + } + public function getAcquisitionTime() + { + return $this->acquisitionTime; + } + public function setAttribution($attribution) + { + $this->attribution = $attribution; + } + public function getAttribution() + { + return $this->attribution; + } + public function setBbox($bbox) + { + $this->bbox = $bbox; + } + public function getBbox() + { + return $this->bbox; + } + public function setCreationTime($creationTime) + { + $this->creationTime = $creationTime; + } + public function getCreationTime() + { + return $this->creationTime; + } + public function setCreatorEmail($creatorEmail) + { + $this->creatorEmail = $creatorEmail; + } + public function getCreatorEmail() + { + return $this->creatorEmail; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDraftAccessList($draftAccessList) + { + $this->draftAccessList = $draftAccessList; + } + public function getDraftAccessList() + { + return $this->draftAccessList; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setFiles($files) + { + $this->files = $files; + } + public function getFiles() + { + return $this->files; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setLastModifiedTime($lastModifiedTime) + { + $this->lastModifiedTime = $lastModifiedTime; + } + public function getLastModifiedTime() + { + return $this->lastModifiedTime; + } + public function setLastModifierEmail($lastModifierEmail) + { + $this->lastModifierEmail = $lastModifierEmail; + } + public function getLastModifierEmail() + { + return $this->lastModifierEmail; + } + public function setMaskType($maskType) + { + $this->maskType = $maskType; + } + public function getMaskType() + { + return $this->maskType; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setProcessingStatus($processingStatus) + { + $this->processingStatus = $processingStatus; + } + public function getProcessingStatus() + { + return $this->processingStatus; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } + public function setRasterType($rasterType) + { + $this->rasterType = $rasterType; + } + public function getRasterType() + { + return $this->rasterType; + } + public function setTags($tags) + { + $this->tags = $tags; + } + public function getTags() + { + return $this->tags; + } + public function setWritersCanEditPermissions($writersCanEditPermissions) + { + $this->writersCanEditPermissions = $writersCanEditPermissions; + } + public function getWritersCanEditPermissions() + { + return $this->writersCanEditPermissions; + } +} + +class Google_Service_MapsEngine_RasterCollection extends Google_Collection +{ + protected $collection_key = 'bbox'; + protected $internal_gapi_mappings = array( + ); + public $attribution; + public $bbox; + public $creationTime; + public $creatorEmail; + public $description; + public $draftAccessList; + public $etag; + public $id; + public $lastModifiedTime; + public $lastModifierEmail; + public $mosaic; + public $name; + public $processingStatus; + public $projectId; + public $rasterType; + public $tags; + public $writersCanEditPermissions; + + + public function setAttribution($attribution) + { + $this->attribution = $attribution; + } + public function getAttribution() + { + return $this->attribution; + } + public function setBbox($bbox) + { + $this->bbox = $bbox; + } + public function getBbox() + { + return $this->bbox; + } + public function setCreationTime($creationTime) + { + $this->creationTime = $creationTime; + } + public function getCreationTime() + { + return $this->creationTime; + } + public function setCreatorEmail($creatorEmail) + { + $this->creatorEmail = $creatorEmail; + } + public function getCreatorEmail() + { + return $this->creatorEmail; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDraftAccessList($draftAccessList) + { + $this->draftAccessList = $draftAccessList; + } + public function getDraftAccessList() + { + return $this->draftAccessList; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setLastModifiedTime($lastModifiedTime) + { + $this->lastModifiedTime = $lastModifiedTime; + } + public function getLastModifiedTime() + { + return $this->lastModifiedTime; + } + public function setLastModifierEmail($lastModifierEmail) + { + $this->lastModifierEmail = $lastModifierEmail; + } + public function getLastModifierEmail() + { + return $this->lastModifierEmail; + } + public function setMosaic($mosaic) + { + $this->mosaic = $mosaic; + } + public function getMosaic() + { + return $this->mosaic; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setProcessingStatus($processingStatus) + { + $this->processingStatus = $processingStatus; + } + public function getProcessingStatus() + { + return $this->processingStatus; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } + public function setRasterType($rasterType) + { + $this->rasterType = $rasterType; + } + public function getRasterType() + { + return $this->rasterType; + } + public function setTags($tags) + { + $this->tags = $tags; + } + public function getTags() + { + return $this->tags; + } + public function setWritersCanEditPermissions($writersCanEditPermissions) + { + $this->writersCanEditPermissions = $writersCanEditPermissions; + } + public function getWritersCanEditPermissions() + { + return $this->writersCanEditPermissions; + } +} + +class Google_Service_MapsEngine_RasterCollectionsListResponse extends Google_Collection +{ + protected $collection_key = 'rasterCollections'; + protected $internal_gapi_mappings = array( + ); + public $nextPageToken; + protected $rasterCollectionsType = 'Google_Service_MapsEngine_RasterCollection'; + protected $rasterCollectionsDataType = 'array'; + + + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setRasterCollections($rasterCollections) + { + $this->rasterCollections = $rasterCollections; + } + public function getRasterCollections() + { + return $this->rasterCollections; + } +} + +class Google_Service_MapsEngine_RasterCollectionsRaster extends Google_Collection +{ + protected $collection_key = 'tags'; + protected $internal_gapi_mappings = array( + ); + public $bbox; + public $creationTime; + public $description; + public $id; + public $lastModifiedTime; + public $name; + public $projectId; + public $rasterType; + public $tags; + + + public function setBbox($bbox) + { + $this->bbox = $bbox; + } + public function getBbox() + { + return $this->bbox; + } + public function setCreationTime($creationTime) + { + $this->creationTime = $creationTime; + } + public function getCreationTime() + { + return $this->creationTime; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setLastModifiedTime($lastModifiedTime) + { + $this->lastModifiedTime = $lastModifiedTime; + } + public function getLastModifiedTime() + { + return $this->lastModifiedTime; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } + public function setRasterType($rasterType) + { + $this->rasterType = $rasterType; + } + public function getRasterType() + { + return $this->rasterType; + } + public function setTags($tags) + { + $this->tags = $tags; + } + public function getTags() + { + return $this->tags; + } +} + +class Google_Service_MapsEngine_RasterCollectionsRasterBatchDeleteRequest extends Google_Collection +{ + protected $collection_key = 'ids'; + protected $internal_gapi_mappings = array( + ); + public $ids; + + + public function setIds($ids) + { + $this->ids = $ids; + } + public function getIds() + { + return $this->ids; + } +} + +class Google_Service_MapsEngine_RasterCollectionsRastersBatchDeleteResponse extends Google_Model +{ +} + +class Google_Service_MapsEngine_RasterCollectionsRastersBatchInsertRequest extends Google_Collection +{ + protected $collection_key = 'ids'; + protected $internal_gapi_mappings = array( + ); + public $ids; + + + public function setIds($ids) + { + $this->ids = $ids; + } + public function getIds() + { + return $this->ids; + } +} + +class Google_Service_MapsEngine_RasterCollectionsRastersBatchInsertResponse extends Google_Model +{ +} + +class Google_Service_MapsEngine_RasterCollectionsRastersListResponse extends Google_Collection +{ + protected $collection_key = 'rasters'; + protected $internal_gapi_mappings = array( + ); + public $nextPageToken; + protected $rastersType = 'Google_Service_MapsEngine_RasterCollectionsRaster'; + protected $rastersDataType = 'array'; + + + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setRasters($rasters) + { + $this->rasters = $rasters; + } + public function getRasters() + { + return $this->rasters; + } +} + +class Google_Service_MapsEngine_RastersListResponse extends Google_Collection +{ + protected $collection_key = 'rasters'; + protected $internal_gapi_mappings = array( + ); + public $nextPageToken; + protected $rastersType = 'Google_Service_MapsEngine_Raster'; + protected $rastersDataType = 'array'; + + + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setRasters($rasters) + { + $this->rasters = $rasters; + } + public function getRasters() + { + return $this->rasters; + } +} + +class Google_Service_MapsEngine_ScaledShape extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $borderType = 'Google_Service_MapsEngine_Border'; + protected $borderDataType = ''; + protected $fillType = 'Google_Service_MapsEngine_Color'; + protected $fillDataType = ''; + public $shape; + + + public function setBorder(Google_Service_MapsEngine_Border $border) + { + $this->border = $border; + } + public function getBorder() + { + return $this->border; + } + public function setFill(Google_Service_MapsEngine_Color $fill) + { + $this->fill = $fill; + } + public function getFill() + { + return $this->fill; + } + public function setShape($shape) + { + $this->shape = $shape; + } + public function getShape() + { + return $this->shape; + } +} + +class Google_Service_MapsEngine_ScalingFunction extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $column; + public $scalingType; + protected $sizeRangeType = 'Google_Service_MapsEngine_SizeRange'; + protected $sizeRangeDataType = ''; + protected $valueRangeType = 'Google_Service_MapsEngine_ValueRange'; + protected $valueRangeDataType = ''; + + + public function setColumn($column) + { + $this->column = $column; + } + public function getColumn() + { + return $this->column; + } + public function setScalingType($scalingType) + { + $this->scalingType = $scalingType; + } + public function getScalingType() + { + return $this->scalingType; + } + public function setSizeRange(Google_Service_MapsEngine_SizeRange $sizeRange) + { + $this->sizeRange = $sizeRange; + } + public function getSizeRange() + { + return $this->sizeRange; + } + public function setValueRange(Google_Service_MapsEngine_ValueRange $valueRange) + { + $this->valueRange = $valueRange; + } + public function getValueRange() + { + return $this->valueRange; + } +} + +class Google_Service_MapsEngine_Schema extends Google_Collection +{ + protected $collection_key = 'columns'; + protected $internal_gapi_mappings = array( + ); + protected $columnsType = 'Google_Service_MapsEngine_TableColumn'; + protected $columnsDataType = 'array'; + public $primaryGeometry; + public $primaryKey; + + + public function setColumns($columns) + { + $this->columns = $columns; + } + public function getColumns() + { + return $this->columns; + } + public function setPrimaryGeometry($primaryGeometry) + { + $this->primaryGeometry = $primaryGeometry; + } + public function getPrimaryGeometry() + { + return $this->primaryGeometry; + } + public function setPrimaryKey($primaryKey) + { + $this->primaryKey = $primaryKey; + } + public function getPrimaryKey() + { + return $this->primaryKey; + } +} + +class Google_Service_MapsEngine_SizeRange extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $max; + public $min; + + + public function setMax($max) + { + $this->max = $max; + } + public function getMax() + { + return $this->max; + } + public function setMin($min) + { + $this->min = $min; + } + public function getMin() + { + return $this->min; + } +} + +class Google_Service_MapsEngine_Table extends Google_Collection +{ + protected $collection_key = 'tags'; + protected $internal_gapi_mappings = array( + ); + public $bbox; + public $creationTime; + public $creatorEmail; + public $description; + public $draftAccessList; + public $etag; + protected $filesType = 'Google_Service_MapsEngine_MapsengineFile'; + protected $filesDataType = 'array'; + public $id; + public $lastModifiedTime; + public $lastModifierEmail; + public $name; + public $processingStatus; + public $projectId; + public $publishedAccessList; + protected $schemaType = 'Google_Service_MapsEngine_Schema'; + protected $schemaDataType = ''; + public $sourceEncoding; + public $tags; + public $writersCanEditPermissions; + + + public function setBbox($bbox) + { + $this->bbox = $bbox; + } + public function getBbox() + { + return $this->bbox; + } + public function setCreationTime($creationTime) + { + $this->creationTime = $creationTime; + } + public function getCreationTime() + { + return $this->creationTime; + } + public function setCreatorEmail($creatorEmail) + { + $this->creatorEmail = $creatorEmail; + } + public function getCreatorEmail() + { + return $this->creatorEmail; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDraftAccessList($draftAccessList) + { + $this->draftAccessList = $draftAccessList; + } + public function getDraftAccessList() + { + return $this->draftAccessList; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setFiles($files) + { + $this->files = $files; + } + public function getFiles() + { + return $this->files; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setLastModifiedTime($lastModifiedTime) + { + $this->lastModifiedTime = $lastModifiedTime; + } + public function getLastModifiedTime() + { + return $this->lastModifiedTime; + } + public function setLastModifierEmail($lastModifierEmail) + { + $this->lastModifierEmail = $lastModifierEmail; + } + public function getLastModifierEmail() + { + return $this->lastModifierEmail; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setProcessingStatus($processingStatus) + { + $this->processingStatus = $processingStatus; + } + public function getProcessingStatus() + { + return $this->processingStatus; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } + public function setPublishedAccessList($publishedAccessList) + { + $this->publishedAccessList = $publishedAccessList; + } + public function getPublishedAccessList() + { + return $this->publishedAccessList; + } + public function setSchema(Google_Service_MapsEngine_Schema $schema) + { + $this->schema = $schema; + } + public function getSchema() + { + return $this->schema; + } + public function setSourceEncoding($sourceEncoding) + { + $this->sourceEncoding = $sourceEncoding; + } + public function getSourceEncoding() + { + return $this->sourceEncoding; + } + public function setTags($tags) + { + $this->tags = $tags; + } + public function getTags() + { + return $this->tags; + } + public function setWritersCanEditPermissions($writersCanEditPermissions) + { + $this->writersCanEditPermissions = $writersCanEditPermissions; + } + public function getWritersCanEditPermissions() + { + return $this->writersCanEditPermissions; + } +} + +class Google_Service_MapsEngine_TableColumn extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $name; + public $type; + + + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_MapsEngine_TablesListResponse extends Google_Collection +{ + protected $collection_key = 'tables'; + protected $internal_gapi_mappings = array( + ); + public $nextPageToken; + protected $tablesType = 'Google_Service_MapsEngine_Table'; + protected $tablesDataType = 'array'; + + + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTables($tables) + { + $this->tables = $tables; + } + public function getTables() + { + return $this->tables; + } +} + +class Google_Service_MapsEngine_ValueRange extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $max; + public $min; + + + public function setMax($max) + { + $this->max = $max; + } + public function getMax() + { + return $this->max; + } + public function setMin($min) + { + $this->min = $min; + } + public function getMin() + { + return $this->min; + } +} + +class Google_Service_MapsEngine_VectorStyle extends Google_Collection +{ + protected $collection_key = 'displayRules'; + protected $internal_gapi_mappings = array( + ); + protected $displayRulesType = 'Google_Service_MapsEngine_DisplayRule'; + protected $displayRulesDataType = 'array'; + protected $featureInfoType = 'Google_Service_MapsEngine_FeatureInfo'; + protected $featureInfoDataType = ''; + public $type; + + + public function setDisplayRules($displayRules) + { + $this->displayRules = $displayRules; + } + public function getDisplayRules() + { + return $this->displayRules; + } + public function setFeatureInfo(Google_Service_MapsEngine_FeatureInfo $featureInfo) + { + $this->featureInfo = $featureInfo; + } + public function getFeatureInfo() + { + return $this->featureInfo; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_MapsEngine_ZoomLevels extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $max; + public $min; + + + public function setMax($max) + { + $this->max = $max; + } + public function getMax() + { + return $this->max; + } + public function setMin($min) + { + $this->min = $min; + } + public function getMin() + { + return $this->min; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Mirror.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Mirror.php new file mode 100644 index 0000000..cd12683 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Mirror.php @@ -0,0 +1,1932 @@ + + * API for interacting with Glass users via the timeline.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Mirror extends Google_Service +{ + /** View your location. */ + const GLASS_LOCATION = + "https://www.googleapis.com/auth/glass.location"; + /** View and manage your Glass timeline. */ + const GLASS_TIMELINE = + "https://www.googleapis.com/auth/glass.timeline"; + + public $accounts; + public $contacts; + public $locations; + public $settings; + public $subscriptions; + public $timeline; + public $timeline_attachments; + + + /** + * Constructs the internal representation of the Mirror service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'mirror/v1/'; + $this->version = 'v1'; + $this->serviceName = 'mirror'; + + $this->accounts = new Google_Service_Mirror_Accounts_Resource( + $this, + $this->serviceName, + 'accounts', + array( + 'methods' => array( + 'insert' => array( + 'path' => 'accounts/{userToken}/{accountType}/{accountName}', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userToken' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'accountType' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'accountName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->contacts = new Google_Service_Mirror_Contacts_Resource( + $this, + $this->serviceName, + 'contacts', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'contacts/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'contacts/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'contacts', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'list' => array( + 'path' => 'contacts', + 'httpMethod' => 'GET', + 'parameters' => array(), + ),'patch' => array( + 'path' => 'contacts/{id}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'contacts/{id}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->locations = new Google_Service_Mirror_Locations_Resource( + $this, + $this->serviceName, + 'locations', + array( + 'methods' => array( + 'get' => array( + 'path' => 'locations/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'locations', + 'httpMethod' => 'GET', + 'parameters' => array(), + ), + ) + ) + ); + $this->settings = new Google_Service_Mirror_Settings_Resource( + $this, + $this->serviceName, + 'settings', + array( + 'methods' => array( + 'get' => array( + 'path' => 'settings/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->subscriptions = new Google_Service_Mirror_Subscriptions_Resource( + $this, + $this->serviceName, + 'subscriptions', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'subscriptions/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'subscriptions', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'list' => array( + 'path' => 'subscriptions', + 'httpMethod' => 'GET', + 'parameters' => array(), + ),'update' => array( + 'path' => 'subscriptions/{id}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->timeline = new Google_Service_Mirror_Timeline_Resource( + $this, + $this->serviceName, + 'timeline', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'timeline/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'timeline/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'timeline', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'list' => array( + 'path' => 'timeline', + 'httpMethod' => 'GET', + 'parameters' => array( + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'includeDeleted' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sourceItemId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pinnedOnly' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'bundleId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'timeline/{id}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'timeline/{id}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->timeline_attachments = new Google_Service_Mirror_TimelineAttachments_Resource( + $this, + $this->serviceName, + 'attachments', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'timeline/{itemId}/attachments/{attachmentId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'itemId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'attachmentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'timeline/{itemId}/attachments/{attachmentId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'itemId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'attachmentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'timeline/{itemId}/attachments', + 'httpMethod' => 'POST', + 'parameters' => array( + 'itemId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'timeline/{itemId}/attachments', + 'httpMethod' => 'GET', + 'parameters' => array( + 'itemId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "accounts" collection of methods. + * Typical usage is: + * + * $mirrorService = new Google_Service_Mirror(...); + * $accounts = $mirrorService->accounts; + * + */ +class Google_Service_Mirror_Accounts_Resource extends Google_Service_Resource +{ + + /** + * Inserts a new account for a user (accounts.insert) + * + * @param string $userToken The ID for the user. + * @param string $accountType Account type to be passed to Android Account + * Manager. + * @param string $accountName The name of the account to be passed to the + * Android Account Manager. + * @param Google_Account $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Mirror_Account + */ + public function insert($userToken, $accountType, $accountName, Google_Service_Mirror_Account $postBody, $optParams = array()) + { + $params = array('userToken' => $userToken, 'accountType' => $accountType, 'accountName' => $accountName, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Mirror_Account"); + } +} + +/** + * The "contacts" collection of methods. + * Typical usage is: + * + * $mirrorService = new Google_Service_Mirror(...); + * $contacts = $mirrorService->contacts; + * + */ +class Google_Service_Mirror_Contacts_Resource extends Google_Service_Resource +{ + + /** + * Deletes a contact. (contacts.delete) + * + * @param string $id The ID of the contact. + * @param array $optParams Optional parameters. + */ + public function delete($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Gets a single contact by ID. (contacts.get) + * + * @param string $id The ID of the contact. + * @param array $optParams Optional parameters. + * @return Google_Service_Mirror_Contact + */ + public function get($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Mirror_Contact"); + } + + /** + * Inserts a new contact. (contacts.insert) + * + * @param Google_Contact $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Mirror_Contact + */ + public function insert(Google_Service_Mirror_Contact $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Mirror_Contact"); + } + + /** + * Retrieves a list of contacts for the authenticated user. + * (contacts.listContacts) + * + * @param array $optParams Optional parameters. + * @return Google_Service_Mirror_ContactsListResponse + */ + public function listContacts($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Mirror_ContactsListResponse"); + } + + /** + * Updates a contact in place. This method supports patch semantics. + * (contacts.patch) + * + * @param string $id The ID of the contact. + * @param Google_Contact $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Mirror_Contact + */ + public function patch($id, Google_Service_Mirror_Contact $postBody, $optParams = array()) + { + $params = array('id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Mirror_Contact"); + } + + /** + * Updates a contact in place. (contacts.update) + * + * @param string $id The ID of the contact. + * @param Google_Contact $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Mirror_Contact + */ + public function update($id, Google_Service_Mirror_Contact $postBody, $optParams = array()) + { + $params = array('id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Mirror_Contact"); + } +} + +/** + * The "locations" collection of methods. + * Typical usage is: + * + * $mirrorService = new Google_Service_Mirror(...); + * $locations = $mirrorService->locations; + * + */ +class Google_Service_Mirror_Locations_Resource extends Google_Service_Resource +{ + + /** + * Gets a single location by ID. (locations.get) + * + * @param string $id The ID of the location or latest for the last known + * location. + * @param array $optParams Optional parameters. + * @return Google_Service_Mirror_Location + */ + public function get($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Mirror_Location"); + } + + /** + * Retrieves a list of locations for the user. (locations.listLocations) + * + * @param array $optParams Optional parameters. + * @return Google_Service_Mirror_LocationsListResponse + */ + public function listLocations($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Mirror_LocationsListResponse"); + } +} + +/** + * The "settings" collection of methods. + * Typical usage is: + * + * $mirrorService = new Google_Service_Mirror(...); + * $settings = $mirrorService->settings; + * + */ +class Google_Service_Mirror_Settings_Resource extends Google_Service_Resource +{ + + /** + * Gets a single setting by ID. (settings.get) + * + * @param string $id The ID of the setting. The following IDs are valid: - + * locale - The key to the user’s language/locale (BCP 47 identifier) that + * Glassware should use to render localized content. - timezone - The key to + * the user’s current time zone region as defined in the tz database. Example: + * America/Los_Angeles. + * @param array $optParams Optional parameters. + * @return Google_Service_Mirror_Setting + */ + public function get($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Mirror_Setting"); + } +} + +/** + * The "subscriptions" collection of methods. + * Typical usage is: + * + * $mirrorService = new Google_Service_Mirror(...); + * $subscriptions = $mirrorService->subscriptions; + * + */ +class Google_Service_Mirror_Subscriptions_Resource extends Google_Service_Resource +{ + + /** + * Deletes a subscription. (subscriptions.delete) + * + * @param string $id The ID of the subscription. + * @param array $optParams Optional parameters. + */ + public function delete($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Creates a new subscription. (subscriptions.insert) + * + * @param Google_Subscription $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Mirror_Subscription + */ + public function insert(Google_Service_Mirror_Subscription $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Mirror_Subscription"); + } + + /** + * Retrieves a list of subscriptions for the authenticated user and service. + * (subscriptions.listSubscriptions) + * + * @param array $optParams Optional parameters. + * @return Google_Service_Mirror_SubscriptionsListResponse + */ + public function listSubscriptions($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Mirror_SubscriptionsListResponse"); + } + + /** + * Updates an existing subscription in place. (subscriptions.update) + * + * @param string $id The ID of the subscription. + * @param Google_Subscription $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Mirror_Subscription + */ + public function update($id, Google_Service_Mirror_Subscription $postBody, $optParams = array()) + { + $params = array('id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Mirror_Subscription"); + } +} + +/** + * The "timeline" collection of methods. + * Typical usage is: + * + * $mirrorService = new Google_Service_Mirror(...); + * $timeline = $mirrorService->timeline; + * + */ +class Google_Service_Mirror_Timeline_Resource extends Google_Service_Resource +{ + + /** + * Deletes a timeline item. (timeline.delete) + * + * @param string $id The ID of the timeline item. + * @param array $optParams Optional parameters. + */ + public function delete($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Gets a single timeline item by ID. (timeline.get) + * + * @param string $id The ID of the timeline item. + * @param array $optParams Optional parameters. + * @return Google_Service_Mirror_TimelineItem + */ + public function get($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Mirror_TimelineItem"); + } + + /** + * Inserts a new item into the timeline. (timeline.insert) + * + * @param Google_TimelineItem $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Mirror_TimelineItem + */ + public function insert(Google_Service_Mirror_TimelineItem $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Mirror_TimelineItem"); + } + + /** + * Retrieves a list of timeline items for the authenticated user. + * (timeline.listTimeline) + * + * @param array $optParams Optional parameters. + * + * @opt_param string orderBy Controls the order in which timeline items are + * returned. + * @opt_param bool includeDeleted If true, tombstone records for deleted items + * will be returned. + * @opt_param string maxResults The maximum number of items to include in the + * response, used for paging. + * @opt_param string pageToken Token for the page of results to return. + * @opt_param string sourceItemId If provided, only items with the given + * sourceItemId will be returned. + * @opt_param bool pinnedOnly If true, only pinned items will be returned. + * @opt_param string bundleId If provided, only items with the given bundleId + * will be returned. + * @return Google_Service_Mirror_TimelineListResponse + */ + public function listTimeline($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Mirror_TimelineListResponse"); + } + + /** + * Updates a timeline item in place. This method supports patch semantics. + * (timeline.patch) + * + * @param string $id The ID of the timeline item. + * @param Google_TimelineItem $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Mirror_TimelineItem + */ + public function patch($id, Google_Service_Mirror_TimelineItem $postBody, $optParams = array()) + { + $params = array('id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Mirror_TimelineItem"); + } + + /** + * Updates a timeline item in place. (timeline.update) + * + * @param string $id The ID of the timeline item. + * @param Google_TimelineItem $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Mirror_TimelineItem + */ + public function update($id, Google_Service_Mirror_TimelineItem $postBody, $optParams = array()) + { + $params = array('id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Mirror_TimelineItem"); + } +} + +/** + * The "attachments" collection of methods. + * Typical usage is: + * + * $mirrorService = new Google_Service_Mirror(...); + * $attachments = $mirrorService->attachments; + * + */ +class Google_Service_Mirror_TimelineAttachments_Resource extends Google_Service_Resource +{ + + /** + * Deletes an attachment from a timeline item. (attachments.delete) + * + * @param string $itemId The ID of the timeline item the attachment belongs to. + * @param string $attachmentId The ID of the attachment. + * @param array $optParams Optional parameters. + */ + public function delete($itemId, $attachmentId, $optParams = array()) + { + $params = array('itemId' => $itemId, 'attachmentId' => $attachmentId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Retrieves an attachment on a timeline item by item ID and attachment ID. + * (attachments.get) + * + * @param string $itemId The ID of the timeline item the attachment belongs to. + * @param string $attachmentId The ID of the attachment. + * @param array $optParams Optional parameters. + * @return Google_Service_Mirror_Attachment + */ + public function get($itemId, $attachmentId, $optParams = array()) + { + $params = array('itemId' => $itemId, 'attachmentId' => $attachmentId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Mirror_Attachment"); + } + + /** + * Adds a new attachment to a timeline item. (attachments.insert) + * + * @param string $itemId The ID of the timeline item the attachment belongs to. + * @param array $optParams Optional parameters. + * @return Google_Service_Mirror_Attachment + */ + public function insert($itemId, $optParams = array()) + { + $params = array('itemId' => $itemId); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Mirror_Attachment"); + } + + /** + * Returns a list of attachments for a timeline item. + * (attachments.listTimelineAttachments) + * + * @param string $itemId The ID of the timeline item whose attachments should be + * listed. + * @param array $optParams Optional parameters. + * @return Google_Service_Mirror_AttachmentsListResponse + */ + public function listTimelineAttachments($itemId, $optParams = array()) + { + $params = array('itemId' => $itemId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Mirror_AttachmentsListResponse"); + } +} + + + + +class Google_Service_Mirror_Account extends Google_Collection +{ + protected $collection_key = 'userData'; + protected $internal_gapi_mappings = array( + ); + protected $authTokensType = 'Google_Service_Mirror_AuthToken'; + protected $authTokensDataType = 'array'; + public $features; + public $password; + protected $userDataType = 'Google_Service_Mirror_UserData'; + protected $userDataDataType = 'array'; + + + public function setAuthTokens($authTokens) + { + $this->authTokens = $authTokens; + } + public function getAuthTokens() + { + return $this->authTokens; + } + public function setFeatures($features) + { + $this->features = $features; + } + public function getFeatures() + { + return $this->features; + } + public function setPassword($password) + { + $this->password = $password; + } + public function getPassword() + { + return $this->password; + } + public function setUserData($userData) + { + $this->userData = $userData; + } + public function getUserData() + { + return $this->userData; + } +} + +class Google_Service_Mirror_Attachment extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $contentType; + public $contentUrl; + public $id; + public $isProcessingContent; + + + public function setContentType($contentType) + { + $this->contentType = $contentType; + } + public function getContentType() + { + return $this->contentType; + } + public function setContentUrl($contentUrl) + { + $this->contentUrl = $contentUrl; + } + public function getContentUrl() + { + return $this->contentUrl; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIsProcessingContent($isProcessingContent) + { + $this->isProcessingContent = $isProcessingContent; + } + public function getIsProcessingContent() + { + return $this->isProcessingContent; + } +} + +class Google_Service_Mirror_AttachmentsListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Mirror_Attachment'; + protected $itemsDataType = 'array'; + public $kind; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Mirror_AuthToken extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $authToken; + public $type; + + + public function setAuthToken($authToken) + { + $this->authToken = $authToken; + } + public function getAuthToken() + { + return $this->authToken; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Mirror_Command extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $type; + + + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Mirror_Contact extends Google_Collection +{ + protected $collection_key = 'sharingFeatures'; + protected $internal_gapi_mappings = array( + ); + protected $acceptCommandsType = 'Google_Service_Mirror_Command'; + protected $acceptCommandsDataType = 'array'; + public $acceptTypes; + public $displayName; + public $id; + public $imageUrls; + public $kind; + public $phoneNumber; + public $priority; + public $sharingFeatures; + public $source; + public $speakableName; + public $type; + + + public function setAcceptCommands($acceptCommands) + { + $this->acceptCommands = $acceptCommands; + } + public function getAcceptCommands() + { + return $this->acceptCommands; + } + public function setAcceptTypes($acceptTypes) + { + $this->acceptTypes = $acceptTypes; + } + public function getAcceptTypes() + { + return $this->acceptTypes; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImageUrls($imageUrls) + { + $this->imageUrls = $imageUrls; + } + public function getImageUrls() + { + return $this->imageUrls; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPhoneNumber($phoneNumber) + { + $this->phoneNumber = $phoneNumber; + } + public function getPhoneNumber() + { + return $this->phoneNumber; + } + public function setPriority($priority) + { + $this->priority = $priority; + } + public function getPriority() + { + return $this->priority; + } + public function setSharingFeatures($sharingFeatures) + { + $this->sharingFeatures = $sharingFeatures; + } + public function getSharingFeatures() + { + return $this->sharingFeatures; + } + public function setSource($source) + { + $this->source = $source; + } + public function getSource() + { + return $this->source; + } + public function setSpeakableName($speakableName) + { + $this->speakableName = $speakableName; + } + public function getSpeakableName() + { + return $this->speakableName; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Mirror_ContactsListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Mirror_Contact'; + protected $itemsDataType = 'array'; + public $kind; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Mirror_Location extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $accuracy; + public $address; + public $displayName; + public $id; + public $kind; + public $latitude; + public $longitude; + public $timestamp; + + + public function setAccuracy($accuracy) + { + $this->accuracy = $accuracy; + } + public function getAccuracy() + { + return $this->accuracy; + } + public function setAddress($address) + { + $this->address = $address; + } + public function getAddress() + { + return $this->address; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLatitude($latitude) + { + $this->latitude = $latitude; + } + public function getLatitude() + { + return $this->latitude; + } + public function setLongitude($longitude) + { + $this->longitude = $longitude; + } + public function getLongitude() + { + return $this->longitude; + } + public function setTimestamp($timestamp) + { + $this->timestamp = $timestamp; + } + public function getTimestamp() + { + return $this->timestamp; + } +} + +class Google_Service_Mirror_LocationsListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Mirror_Location'; + protected $itemsDataType = 'array'; + public $kind; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Mirror_MenuItem extends Google_Collection +{ + protected $collection_key = 'values'; + protected $internal_gapi_mappings = array( + "contextualCommand" => "contextual_command", + ); + public $action; + public $contextualCommand; + public $id; + public $payload; + public $removeWhenSelected; + protected $valuesType = 'Google_Service_Mirror_MenuValue'; + protected $valuesDataType = 'array'; + + + public function setAction($action) + { + $this->action = $action; + } + public function getAction() + { + return $this->action; + } + public function setContextualCommand($contextualCommand) + { + $this->contextualCommand = $contextualCommand; + } + public function getContextualCommand() + { + return $this->contextualCommand; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setPayload($payload) + { + $this->payload = $payload; + } + public function getPayload() + { + return $this->payload; + } + public function setRemoveWhenSelected($removeWhenSelected) + { + $this->removeWhenSelected = $removeWhenSelected; + } + public function getRemoveWhenSelected() + { + return $this->removeWhenSelected; + } + public function setValues($values) + { + $this->values = $values; + } + public function getValues() + { + return $this->values; + } +} + +class Google_Service_Mirror_MenuValue extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $displayName; + public $iconUrl; + public $state; + + + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setIconUrl($iconUrl) + { + $this->iconUrl = $iconUrl; + } + public function getIconUrl() + { + return $this->iconUrl; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } +} + +class Google_Service_Mirror_Notification extends Google_Collection +{ + protected $collection_key = 'userActions'; + protected $internal_gapi_mappings = array( + ); + public $collection; + public $itemId; + public $operation; + protected $userActionsType = 'Google_Service_Mirror_UserAction'; + protected $userActionsDataType = 'array'; + public $userToken; + public $verifyToken; + + + public function setCollection($collection) + { + $this->collection = $collection; + } + public function getCollection() + { + return $this->collection; + } + public function setItemId($itemId) + { + $this->itemId = $itemId; + } + public function getItemId() + { + return $this->itemId; + } + public function setOperation($operation) + { + $this->operation = $operation; + } + public function getOperation() + { + return $this->operation; + } + public function setUserActions($userActions) + { + $this->userActions = $userActions; + } + public function getUserActions() + { + return $this->userActions; + } + public function setUserToken($userToken) + { + $this->userToken = $userToken; + } + public function getUserToken() + { + return $this->userToken; + } + public function setVerifyToken($verifyToken) + { + $this->verifyToken = $verifyToken; + } + public function getVerifyToken() + { + return $this->verifyToken; + } +} + +class Google_Service_Mirror_NotificationConfig extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $deliveryTime; + public $level; + + + public function setDeliveryTime($deliveryTime) + { + $this->deliveryTime = $deliveryTime; + } + public function getDeliveryTime() + { + return $this->deliveryTime; + } + public function setLevel($level) + { + $this->level = $level; + } + public function getLevel() + { + return $this->level; + } +} + +class Google_Service_Mirror_Setting extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $kind; + public $value; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Mirror_Subscription extends Google_Collection +{ + protected $collection_key = 'operation'; + protected $internal_gapi_mappings = array( + ); + public $callbackUrl; + public $collection; + public $id; + public $kind; + protected $notificationType = 'Google_Service_Mirror_Notification'; + protected $notificationDataType = ''; + public $operation; + public $updated; + public $userToken; + public $verifyToken; + + + public function setCallbackUrl($callbackUrl) + { + $this->callbackUrl = $callbackUrl; + } + public function getCallbackUrl() + { + return $this->callbackUrl; + } + public function setCollection($collection) + { + $this->collection = $collection; + } + public function getCollection() + { + return $this->collection; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNotification(Google_Service_Mirror_Notification $notification) + { + $this->notification = $notification; + } + public function getNotification() + { + return $this->notification; + } + public function setOperation($operation) + { + $this->operation = $operation; + } + public function getOperation() + { + return $this->operation; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setUserToken($userToken) + { + $this->userToken = $userToken; + } + public function getUserToken() + { + return $this->userToken; + } + public function setVerifyToken($verifyToken) + { + $this->verifyToken = $verifyToken; + } + public function getVerifyToken() + { + return $this->verifyToken; + } +} + +class Google_Service_Mirror_SubscriptionsListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Mirror_Subscription'; + protected $itemsDataType = 'array'; + public $kind; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Mirror_TimelineItem extends Google_Collection +{ + protected $collection_key = 'recipients'; + protected $internal_gapi_mappings = array( + ); + protected $attachmentsType = 'Google_Service_Mirror_Attachment'; + protected $attachmentsDataType = 'array'; + public $bundleId; + public $canonicalUrl; + public $created; + protected $creatorType = 'Google_Service_Mirror_Contact'; + protected $creatorDataType = ''; + public $displayTime; + public $etag; + public $html; + public $id; + public $inReplyTo; + public $isBundleCover; + public $isDeleted; + public $isPinned; + public $kind; + protected $locationType = 'Google_Service_Mirror_Location'; + protected $locationDataType = ''; + protected $menuItemsType = 'Google_Service_Mirror_MenuItem'; + protected $menuItemsDataType = 'array'; + protected $notificationType = 'Google_Service_Mirror_NotificationConfig'; + protected $notificationDataType = ''; + public $pinScore; + protected $recipientsType = 'Google_Service_Mirror_Contact'; + protected $recipientsDataType = 'array'; + public $selfLink; + public $sourceItemId; + public $speakableText; + public $speakableType; + public $text; + public $title; + public $updated; + + + public function setAttachments($attachments) + { + $this->attachments = $attachments; + } + public function getAttachments() + { + return $this->attachments; + } + public function setBundleId($bundleId) + { + $this->bundleId = $bundleId; + } + public function getBundleId() + { + return $this->bundleId; + } + public function setCanonicalUrl($canonicalUrl) + { + $this->canonicalUrl = $canonicalUrl; + } + public function getCanonicalUrl() + { + return $this->canonicalUrl; + } + public function setCreated($created) + { + $this->created = $created; + } + public function getCreated() + { + return $this->created; + } + public function setCreator(Google_Service_Mirror_Contact $creator) + { + $this->creator = $creator; + } + public function getCreator() + { + return $this->creator; + } + public function setDisplayTime($displayTime) + { + $this->displayTime = $displayTime; + } + public function getDisplayTime() + { + return $this->displayTime; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setHtml($html) + { + $this->html = $html; + } + public function getHtml() + { + return $this->html; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInReplyTo($inReplyTo) + { + $this->inReplyTo = $inReplyTo; + } + public function getInReplyTo() + { + return $this->inReplyTo; + } + public function setIsBundleCover($isBundleCover) + { + $this->isBundleCover = $isBundleCover; + } + public function getIsBundleCover() + { + return $this->isBundleCover; + } + public function setIsDeleted($isDeleted) + { + $this->isDeleted = $isDeleted; + } + public function getIsDeleted() + { + return $this->isDeleted; + } + public function setIsPinned($isPinned) + { + $this->isPinned = $isPinned; + } + public function getIsPinned() + { + return $this->isPinned; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLocation(Google_Service_Mirror_Location $location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setMenuItems($menuItems) + { + $this->menuItems = $menuItems; + } + public function getMenuItems() + { + return $this->menuItems; + } + public function setNotification(Google_Service_Mirror_NotificationConfig $notification) + { + $this->notification = $notification; + } + public function getNotification() + { + return $this->notification; + } + public function setPinScore($pinScore) + { + $this->pinScore = $pinScore; + } + public function getPinScore() + { + return $this->pinScore; + } + public function setRecipients($recipients) + { + $this->recipients = $recipients; + } + public function getRecipients() + { + return $this->recipients; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setSourceItemId($sourceItemId) + { + $this->sourceItemId = $sourceItemId; + } + public function getSourceItemId() + { + return $this->sourceItemId; + } + public function setSpeakableText($speakableText) + { + $this->speakableText = $speakableText; + } + public function getSpeakableText() + { + return $this->speakableText; + } + public function setSpeakableType($speakableType) + { + $this->speakableType = $speakableType; + } + public function getSpeakableType() + { + return $this->speakableType; + } + public function setText($text) + { + $this->text = $text; + } + public function getText() + { + return $this->text; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } +} + +class Google_Service_Mirror_TimelineListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Mirror_TimelineItem'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Mirror_UserAction extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $payload; + public $type; + + + public function setPayload($payload) + { + $this->payload = $payload; + } + public function getPayload() + { + return $this->payload; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Mirror_UserData extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $key; + public $value; + + + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Oauth2.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Oauth2.php new file mode 100644 index 0000000..f69c353 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Oauth2.php @@ -0,0 +1,503 @@ + + * Lets you access OAuth2 protocol related APIs.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Oauth2 extends Google_Service +{ + /** Know your basic profile info and list of people in your circles.. */ + const PLUS_LOGIN = + "https://www.googleapis.com/auth/plus.login"; + /** Know who you are on Google. */ + const PLUS_ME = + "https://www.googleapis.com/auth/plus.me"; + /** View your email address. */ + const USERINFO_EMAIL = + "https://www.googleapis.com/auth/userinfo.email"; + /** View your basic profile info. */ + const USERINFO_PROFILE = + "https://www.googleapis.com/auth/userinfo.profile"; + + public $userinfo; + public $userinfo_v2_me; + private $base_methods; + + /** + * Constructs the internal representation of the Oauth2 service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v2'; + $this->serviceName = 'oauth2'; + + $this->userinfo = new Google_Service_Oauth2_Userinfo_Resource( + $this, + $this->serviceName, + 'userinfo', + array( + 'methods' => array( + 'get' => array( + 'path' => 'oauth2/v2/userinfo', + 'httpMethod' => 'GET', + 'parameters' => array(), + ), + ) + ) + ); + $this->userinfo_v2_me = new Google_Service_Oauth2_UserinfoV2Me_Resource( + $this, + $this->serviceName, + 'me', + array( + 'methods' => array( + 'get' => array( + 'path' => 'userinfo/v2/me', + 'httpMethod' => 'GET', + 'parameters' => array(), + ), + ) + ) + ); + $this->base_methods = new Google_Service_Resource( + $this, + $this->serviceName, + '', + array( + 'methods' => array( + 'getCertForOpenIdConnect' => array( + 'path' => 'oauth2/v2/certs', + 'httpMethod' => 'GET', + 'parameters' => array(), + ),'tokeninfo' => array( + 'path' => 'oauth2/v2/tokeninfo', + 'httpMethod' => 'POST', + 'parameters' => array( + 'access_token' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'id_token' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'token_handle' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } + /** + * (getCertForOpenIdConnect) + * + * @param array $optParams Optional parameters. + * @return Google_Service_Oauth2_Jwk + */ + public function getCertForOpenIdConnect($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->base_methods->call('getCertForOpenIdConnect', array($params), "Google_Service_Oauth2_Jwk"); + } + /** + * (tokeninfo) + * + * @param array $optParams Optional parameters. + * + * @opt_param string access_token + * @opt_param string id_token + * @opt_param string token_handle + * @return Google_Service_Oauth2_Tokeninfo + */ + public function tokeninfo($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->base_methods->call('tokeninfo', array($params), "Google_Service_Oauth2_Tokeninfo"); + } +} + + +/** + * The "userinfo" collection of methods. + * Typical usage is: + * + * $oauth2Service = new Google_Service_Oauth2(...); + * $userinfo = $oauth2Service->userinfo; + * + */ +class Google_Service_Oauth2_Userinfo_Resource extends Google_Service_Resource +{ + + /** + * (userinfo.get) + * + * @param array $optParams Optional parameters. + * @return Google_Service_Oauth2_Userinfoplus + */ + public function get($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Oauth2_Userinfoplus"); + } +} + +/** + * The "v2" collection of methods. + * Typical usage is: + * + * $oauth2Service = new Google_Service_Oauth2(...); + * $v2 = $oauth2Service->v2; + * + */ +class Google_Service_Oauth2_UserinfoV2_Resource extends Google_Service_Resource +{ +} + +/** + * The "me" collection of methods. + * Typical usage is: + * + * $oauth2Service = new Google_Service_Oauth2(...); + * $me = $oauth2Service->me; + * + */ +class Google_Service_Oauth2_UserinfoV2Me_Resource extends Google_Service_Resource +{ + + /** + * (me.get) + * + * @param array $optParams Optional parameters. + * @return Google_Service_Oauth2_Userinfoplus + */ + public function get($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Oauth2_Userinfoplus"); + } +} + + + + +class Google_Service_Oauth2_Jwk extends Google_Collection +{ + protected $collection_key = 'keys'; + protected $internal_gapi_mappings = array( + ); + protected $keysType = 'Google_Service_Oauth2_JwkKeys'; + protected $keysDataType = 'array'; + + + public function setKeys($keys) + { + $this->keys = $keys; + } + public function getKeys() + { + return $this->keys; + } +} + +class Google_Service_Oauth2_JwkKeys extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $alg; + public $e; + public $kid; + public $kty; + public $n; + public $use; + + + public function setAlg($alg) + { + $this->alg = $alg; + } + public function getAlg() + { + return $this->alg; + } + public function setE($e) + { + $this->e = $e; + } + public function getE() + { + return $this->e; + } + public function setKid($kid) + { + $this->kid = $kid; + } + public function getKid() + { + return $this->kid; + } + public function setKty($kty) + { + $this->kty = $kty; + } + public function getKty() + { + return $this->kty; + } + public function setN($n) + { + $this->n = $n; + } + public function getN() + { + return $this->n; + } + public function setUse($use) + { + $this->use = $use; + } + public function getUse() + { + return $this->use; + } +} + +class Google_Service_Oauth2_Tokeninfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + "accessType" => "access_type", + "expiresIn" => "expires_in", + "issuedTo" => "issued_to", + "tokenHandle" => "token_handle", + "userId" => "user_id", + "verifiedEmail" => "verified_email", + ); + public $accessType; + public $audience; + public $email; + public $expiresIn; + public $issuedTo; + public $scope; + public $tokenHandle; + public $userId; + public $verifiedEmail; + + + public function setAccessType($accessType) + { + $this->accessType = $accessType; + } + public function getAccessType() + { + return $this->accessType; + } + public function setAudience($audience) + { + $this->audience = $audience; + } + public function getAudience() + { + return $this->audience; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setExpiresIn($expiresIn) + { + $this->expiresIn = $expiresIn; + } + public function getExpiresIn() + { + return $this->expiresIn; + } + public function setIssuedTo($issuedTo) + { + $this->issuedTo = $issuedTo; + } + public function getIssuedTo() + { + return $this->issuedTo; + } + public function setScope($scope) + { + $this->scope = $scope; + } + public function getScope() + { + return $this->scope; + } + public function setTokenHandle($tokenHandle) + { + $this->tokenHandle = $tokenHandle; + } + public function getTokenHandle() + { + return $this->tokenHandle; + } + public function setUserId($userId) + { + $this->userId = $userId; + } + public function getUserId() + { + return $this->userId; + } + public function setVerifiedEmail($verifiedEmail) + { + $this->verifiedEmail = $verifiedEmail; + } + public function getVerifiedEmail() + { + return $this->verifiedEmail; + } +} + +class Google_Service_Oauth2_Userinfoplus extends Google_Model +{ + protected $internal_gapi_mappings = array( + "familyName" => "family_name", + "givenName" => "given_name", + "verifiedEmail" => "verified_email", + ); + public $email; + public $familyName; + public $gender; + public $givenName; + public $hd; + public $id; + public $link; + public $locale; + public $name; + public $picture; + public $verifiedEmail; + + + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setFamilyName($familyName) + { + $this->familyName = $familyName; + } + public function getFamilyName() + { + return $this->familyName; + } + public function setGender($gender) + { + $this->gender = $gender; + } + public function getGender() + { + return $this->gender; + } + public function setGivenName($givenName) + { + $this->givenName = $givenName; + } + public function getGivenName() + { + return $this->givenName; + } + public function setHd($hd) + { + $this->hd = $hd; + } + public function getHd() + { + return $this->hd; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setLink($link) + { + $this->link = $link; + } + public function getLink() + { + return $this->link; + } + public function setLocale($locale) + { + $this->locale = $locale; + } + public function getLocale() + { + return $this->locale; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPicture($picture) + { + $this->picture = $picture; + } + public function getPicture() + { + return $this->picture; + } + public function setVerifiedEmail($verifiedEmail) + { + $this->verifiedEmail = $verifiedEmail; + } + public function getVerifiedEmail() + { + return $this->verifiedEmail; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Pagespeedonline.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Pagespeedonline.php new file mode 100644 index 0000000..ec16620 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Pagespeedonline.php @@ -0,0 +1,838 @@ + + * Lets you analyze the performance of a web page and get tailored suggestions + * to make that page faster.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Pagespeedonline extends Google_Service +{ + + + public $pagespeedapi; + + + /** + * Constructs the internal representation of the Pagespeedonline service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'pagespeedonline/v2/'; + $this->version = 'v2'; + $this->serviceName = 'pagespeedonline'; + + $this->pagespeedapi = new Google_Service_Pagespeedonline_Pagespeedapi_Resource( + $this, + $this->serviceName, + 'pagespeedapi', + array( + 'methods' => array( + 'runpagespeed' => array( + 'path' => 'runPagespeed', + 'httpMethod' => 'GET', + 'parameters' => array( + 'url' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'screenshot' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'rule' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'strategy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'filter_third_party_resources' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "pagespeedapi" collection of methods. + * Typical usage is: + * + * $pagespeedonlineService = new Google_Service_Pagespeedonline(...); + * $pagespeedapi = $pagespeedonlineService->pagespeedapi; + * + */ +class Google_Service_Pagespeedonline_Pagespeedapi_Resource extends Google_Service_Resource +{ + + /** + * Runs PageSpeed analysis on the page at the specified URL, and returns + * PageSpeed scores, a list of suggestions to make that page faster, and other + * information. (pagespeedapi.runpagespeed) + * + * @param string $url The URL to fetch and analyze + * @param array $optParams Optional parameters. + * + * @opt_param bool screenshot Indicates if binary data containing a screenshot + * should be included + * @opt_param string locale The locale used to localize formatted results + * @opt_param string rule A PageSpeed rule to run; if none are given, all rules + * are run + * @opt_param string strategy The analysis strategy to use + * @opt_param bool filter_third_party_resources Indicates if third party + * resources should be filtered out before PageSpeed analysis. + * @return Google_Service_Pagespeedonline_Result + */ + public function runpagespeed($url, $optParams = array()) + { + $params = array('url' => $url); + $params = array_merge($params, $optParams); + return $this->call('runpagespeed', array($params), "Google_Service_Pagespeedonline_Result"); + } +} + + + + +class Google_Service_Pagespeedonline_PagespeedApiFormatStringV2 extends Google_Collection +{ + protected $collection_key = 'args'; + protected $internal_gapi_mappings = array( + ); + protected $argsType = 'Google_Service_Pagespeedonline_PagespeedApiFormatStringV2Args'; + protected $argsDataType = 'array'; + public $format; + + + public function setArgs($args) + { + $this->args = $args; + } + public function getArgs() + { + return $this->args; + } + public function setFormat($format) + { + $this->format = $format; + } + public function getFormat() + { + return $this->format; + } +} + +class Google_Service_Pagespeedonline_PagespeedApiFormatStringV2Args extends Google_Collection +{ + protected $collection_key = 'secondary_rects'; + protected $internal_gapi_mappings = array( + "secondaryRects" => "secondary_rects", + ); + public $key; + protected $rectsType = 'Google_Service_Pagespeedonline_PagespeedApiFormatStringV2ArgsRects'; + protected $rectsDataType = 'array'; + protected $secondaryRectsType = 'Google_Service_Pagespeedonline_PagespeedApiFormatStringV2ArgsSecondaryRects'; + protected $secondaryRectsDataType = 'array'; + public $type; + public $value; + + + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setRects($rects) + { + $this->rects = $rects; + } + public function getRects() + { + return $this->rects; + } + public function setSecondaryRects($secondaryRects) + { + $this->secondaryRects = $secondaryRects; + } + public function getSecondaryRects() + { + return $this->secondaryRects; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Pagespeedonline_PagespeedApiFormatStringV2ArgsRects extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $height; + public $left; + public $top; + public $width; + + + public function setHeight($height) + { + $this->height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setLeft($left) + { + $this->left = $left; + } + public function getLeft() + { + return $this->left; + } + public function setTop($top) + { + $this->top = $top; + } + public function getTop() + { + return $this->top; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} + +class Google_Service_Pagespeedonline_PagespeedApiFormatStringV2ArgsSecondaryRects extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $height; + public $left; + public $top; + public $width; + + + public function setHeight($height) + { + $this->height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setLeft($left) + { + $this->left = $left; + } + public function getLeft() + { + return $this->left; + } + public function setTop($top) + { + $this->top = $top; + } + public function getTop() + { + return $this->top; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} + +class Google_Service_Pagespeedonline_PagespeedApiImageV2 extends Google_Model +{ + protected $internal_gapi_mappings = array( + "mimeType" => "mime_type", + "pageRect" => "page_rect", + ); + public $data; + public $height; + public $key; + public $mimeType; + protected $pageRectType = 'Google_Service_Pagespeedonline_PagespeedApiImageV2PageRect'; + protected $pageRectDataType = ''; + public $width; + + + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setHeight($height) + { + $this->height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setMimeType($mimeType) + { + $this->mimeType = $mimeType; + } + public function getMimeType() + { + return $this->mimeType; + } + public function setPageRect(Google_Service_Pagespeedonline_PagespeedApiImageV2PageRect $pageRect) + { + $this->pageRect = $pageRect; + } + public function getPageRect() + { + return $this->pageRect; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} + +class Google_Service_Pagespeedonline_PagespeedApiImageV2PageRect extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $height; + public $left; + public $top; + public $width; + + + public function setHeight($height) + { + $this->height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setLeft($left) + { + $this->left = $left; + } + public function getLeft() + { + return $this->left; + } + public function setTop($top) + { + $this->top = $top; + } + public function getTop() + { + return $this->top; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} + +class Google_Service_Pagespeedonline_Result extends Google_Collection +{ + protected $collection_key = 'invalidRules'; + protected $internal_gapi_mappings = array( + ); + protected $formattedResultsType = 'Google_Service_Pagespeedonline_ResultFormattedResults'; + protected $formattedResultsDataType = ''; + public $id; + public $invalidRules; + public $kind; + protected $pageStatsType = 'Google_Service_Pagespeedonline_ResultPageStats'; + protected $pageStatsDataType = ''; + public $responseCode; + protected $ruleGroupsType = 'Google_Service_Pagespeedonline_ResultRuleGroupsElement'; + protected $ruleGroupsDataType = 'map'; + protected $screenshotType = 'Google_Service_Pagespeedonline_PagespeedApiImageV2'; + protected $screenshotDataType = ''; + public $title; + protected $versionType = 'Google_Service_Pagespeedonline_ResultVersion'; + protected $versionDataType = ''; + + + public function setFormattedResults(Google_Service_Pagespeedonline_ResultFormattedResults $formattedResults) + { + $this->formattedResults = $formattedResults; + } + public function getFormattedResults() + { + return $this->formattedResults; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInvalidRules($invalidRules) + { + $this->invalidRules = $invalidRules; + } + public function getInvalidRules() + { + return $this->invalidRules; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPageStats(Google_Service_Pagespeedonline_ResultPageStats $pageStats) + { + $this->pageStats = $pageStats; + } + public function getPageStats() + { + return $this->pageStats; + } + public function setResponseCode($responseCode) + { + $this->responseCode = $responseCode; + } + public function getResponseCode() + { + return $this->responseCode; + } + public function setRuleGroups($ruleGroups) + { + $this->ruleGroups = $ruleGroups; + } + public function getRuleGroups() + { + return $this->ruleGroups; + } + public function setScreenshot(Google_Service_Pagespeedonline_PagespeedApiImageV2 $screenshot) + { + $this->screenshot = $screenshot; + } + public function getScreenshot() + { + return $this->screenshot; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setVersion(Google_Service_Pagespeedonline_ResultVersion $version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} + +class Google_Service_Pagespeedonline_ResultFormattedResults extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $locale; + protected $ruleResultsType = 'Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElement'; + protected $ruleResultsDataType = 'map'; + + + public function setLocale($locale) + { + $this->locale = $locale; + } + public function getLocale() + { + return $this->locale; + } + public function setRuleResults($ruleResults) + { + $this->ruleResults = $ruleResults; + } + public function getRuleResults() + { + return $this->ruleResults; + } +} + +class Google_Service_Pagespeedonline_ResultFormattedResultsRuleResults extends Google_Model +{ +} + +class Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElement extends Google_Collection +{ + protected $collection_key = 'urlBlocks'; + protected $internal_gapi_mappings = array( + ); + public $groups; + public $localizedRuleName; + public $ruleImpact; + protected $summaryType = 'Google_Service_Pagespeedonline_PagespeedApiFormatStringV2'; + protected $summaryDataType = ''; + protected $urlBlocksType = 'Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocks'; + protected $urlBlocksDataType = 'array'; + + + public function setGroups($groups) + { + $this->groups = $groups; + } + public function getGroups() + { + return $this->groups; + } + public function setLocalizedRuleName($localizedRuleName) + { + $this->localizedRuleName = $localizedRuleName; + } + public function getLocalizedRuleName() + { + return $this->localizedRuleName; + } + public function setRuleImpact($ruleImpact) + { + $this->ruleImpact = $ruleImpact; + } + public function getRuleImpact() + { + return $this->ruleImpact; + } + public function setSummary(Google_Service_Pagespeedonline_PagespeedApiFormatStringV2 $summary) + { + $this->summary = $summary; + } + public function getSummary() + { + return $this->summary; + } + public function setUrlBlocks($urlBlocks) + { + $this->urlBlocks = $urlBlocks; + } + public function getUrlBlocks() + { + return $this->urlBlocks; + } +} + +class Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocks extends Google_Collection +{ + protected $collection_key = 'urls'; + protected $internal_gapi_mappings = array( + ); + protected $headerType = 'Google_Service_Pagespeedonline_PagespeedApiFormatStringV2'; + protected $headerDataType = ''; + protected $urlsType = 'Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksUrls'; + protected $urlsDataType = 'array'; + + + public function setHeader(Google_Service_Pagespeedonline_PagespeedApiFormatStringV2 $header) + { + $this->header = $header; + } + public function getHeader() + { + return $this->header; + } + public function setUrls($urls) + { + $this->urls = $urls; + } + public function getUrls() + { + return $this->urls; + } +} + +class Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksUrls extends Google_Collection +{ + protected $collection_key = 'details'; + protected $internal_gapi_mappings = array( + ); + protected $detailsType = 'Google_Service_Pagespeedonline_PagespeedApiFormatStringV2'; + protected $detailsDataType = 'array'; + protected $resultType = 'Google_Service_Pagespeedonline_PagespeedApiFormatStringV2'; + protected $resultDataType = ''; + + + public function setDetails($details) + { + $this->details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setResult(Google_Service_Pagespeedonline_PagespeedApiFormatStringV2 $result) + { + $this->result = $result; + } + public function getResult() + { + return $this->result; + } +} + +class Google_Service_Pagespeedonline_ResultPageStats extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $cssResponseBytes; + public $flashResponseBytes; + public $htmlResponseBytes; + public $imageResponseBytes; + public $javascriptResponseBytes; + public $numberCssResources; + public $numberHosts; + public $numberJsResources; + public $numberResources; + public $numberStaticResources; + public $otherResponseBytes; + public $textResponseBytes; + public $totalRequestBytes; + + + public function setCssResponseBytes($cssResponseBytes) + { + $this->cssResponseBytes = $cssResponseBytes; + } + public function getCssResponseBytes() + { + return $this->cssResponseBytes; + } + public function setFlashResponseBytes($flashResponseBytes) + { + $this->flashResponseBytes = $flashResponseBytes; + } + public function getFlashResponseBytes() + { + return $this->flashResponseBytes; + } + public function setHtmlResponseBytes($htmlResponseBytes) + { + $this->htmlResponseBytes = $htmlResponseBytes; + } + public function getHtmlResponseBytes() + { + return $this->htmlResponseBytes; + } + public function setImageResponseBytes($imageResponseBytes) + { + $this->imageResponseBytes = $imageResponseBytes; + } + public function getImageResponseBytes() + { + return $this->imageResponseBytes; + } + public function setJavascriptResponseBytes($javascriptResponseBytes) + { + $this->javascriptResponseBytes = $javascriptResponseBytes; + } + public function getJavascriptResponseBytes() + { + return $this->javascriptResponseBytes; + } + public function setNumberCssResources($numberCssResources) + { + $this->numberCssResources = $numberCssResources; + } + public function getNumberCssResources() + { + return $this->numberCssResources; + } + public function setNumberHosts($numberHosts) + { + $this->numberHosts = $numberHosts; + } + public function getNumberHosts() + { + return $this->numberHosts; + } + public function setNumberJsResources($numberJsResources) + { + $this->numberJsResources = $numberJsResources; + } + public function getNumberJsResources() + { + return $this->numberJsResources; + } + public function setNumberResources($numberResources) + { + $this->numberResources = $numberResources; + } + public function getNumberResources() + { + return $this->numberResources; + } + public function setNumberStaticResources($numberStaticResources) + { + $this->numberStaticResources = $numberStaticResources; + } + public function getNumberStaticResources() + { + return $this->numberStaticResources; + } + public function setOtherResponseBytes($otherResponseBytes) + { + $this->otherResponseBytes = $otherResponseBytes; + } + public function getOtherResponseBytes() + { + return $this->otherResponseBytes; + } + public function setTextResponseBytes($textResponseBytes) + { + $this->textResponseBytes = $textResponseBytes; + } + public function getTextResponseBytes() + { + return $this->textResponseBytes; + } + public function setTotalRequestBytes($totalRequestBytes) + { + $this->totalRequestBytes = $totalRequestBytes; + } + public function getTotalRequestBytes() + { + return $this->totalRequestBytes; + } +} + +class Google_Service_Pagespeedonline_ResultRuleGroups extends Google_Model +{ +} + +class Google_Service_Pagespeedonline_ResultRuleGroupsElement extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $score; + + + public function setScore($score) + { + $this->score = $score; + } + public function getScore() + { + return $this->score; + } +} + +class Google_Service_Pagespeedonline_ResultVersion extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $major; + public $minor; + + + public function setMajor($major) + { + $this->major = $major; + } + public function getMajor() + { + return $this->major; + } + public function setMinor($minor) + { + $this->minor = $minor; + } + public function getMinor() + { + return $this->minor; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Partners.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Partners.php new file mode 100644 index 0000000..4fc08fd --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Partners.php @@ -0,0 +1,1610 @@ + + * Lets advertisers search certified companies and create contact leads with + * them, and also audits the usage of clients.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Partners extends Google_Service +{ + + + public $clientMessages; + public $companies; + public $companies_leads; + public $userEvents; + public $userStates; + + + /** + * Constructs the internal representation of the Partners service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://partners.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v2'; + $this->serviceName = 'partners'; + + $this->clientMessages = new Google_Service_Partners_ClientMessages_Resource( + $this, + $this->serviceName, + 'clientMessages', + array( + 'methods' => array( + 'log' => array( + 'path' => 'v2/clientMessages:log', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->companies = new Google_Service_Partners_Companies_Resource( + $this, + $this->serviceName, + 'companies', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v2/companies/{companyId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'companyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.userOverrides.userId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.userOverrides.ipAddress' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.partnersSessionId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.trafficSource.trafficSubId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'address' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.experimentIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'currencyCode' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.trafficSource.trafficSourceId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'v2/companies', + 'httpMethod' => 'GET', + 'parameters' => array( + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'requestMetadata.partnersSessionId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxMonthlyBudget.currencyCode' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxMonthlyBudget.nanos' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'languageCodes' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'minMonthlyBudget.nanos' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'requestMetadata.trafficSource.trafficSubId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'industries' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'minMonthlyBudget.currencyCode' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'minMonthlyBudget.units' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.trafficSource.trafficSourceId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'companyName' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'address' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'services' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'requestMetadata.experimentIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'gpsMotivations' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'requestMetadata.userOverrides.ipAddress' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'websiteUrl' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.userOverrides.userId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxMonthlyBudget.units' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->companies_leads = new Google_Service_Partners_CompaniesLeads_Resource( + $this, + $this->serviceName, + 'leads', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v2/companies/{companyId}/leads', + 'httpMethod' => 'POST', + 'parameters' => array( + 'companyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->userEvents = new Google_Service_Partners_UserEvents_Resource( + $this, + $this->serviceName, + 'userEvents', + array( + 'methods' => array( + 'log' => array( + 'path' => 'v2/userEvents:log', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->userStates = new Google_Service_Partners_UserStates_Resource( + $this, + $this->serviceName, + 'userStates', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v2/userStates', + 'httpMethod' => 'GET', + 'parameters' => array( + 'requestMetadata.userOverrides.userId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.userOverrides.ipAddress' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.partnersSessionId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.trafficSource.trafficSubId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'requestMetadata.experimentIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'requestMetadata.trafficSource.trafficSourceId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "clientMessages" collection of methods. + * Typical usage is: + * + * $partnersService = new Google_Service_Partners(...); + * $clientMessages = $partnersService->clientMessages; + * + */ +class Google_Service_Partners_ClientMessages_Resource extends Google_Service_Resource +{ + + /** + * Logs a generic message from the client, such as `Failed to render component`, + * `Profile page is running slow`, `More than 500 users have accessed this + * result.`, etc. (clientMessages.log) + * + * @param Google_LogMessageRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Partners_LogMessageResponse + */ + public function log(Google_Service_Partners_LogMessageRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('log', array($params), "Google_Service_Partners_LogMessageResponse"); + } +} + +/** + * The "companies" collection of methods. + * Typical usage is: + * + * $partnersService = new Google_Service_Partners(...); + * $companies = $partnersService->companies; + * + */ +class Google_Service_Partners_Companies_Resource extends Google_Service_Resource +{ + + /** + * Gets a company. (companies.get) + * + * @param string $companyId The ID of the company to retrieve. + * @param array $optParams Optional parameters. + * + * @opt_param string orderBy How to order addresses within the returned company. + * Currently, only `address` and `address desc` is supported which will sorted + * by closest to farthest in distance from given address and farthest to closest + * distance from given address respectively. + * @opt_param string requestMetadata.userOverrides.userId Logged-in user ID to + * impersonate instead of the user's ID. + * @opt_param string requestMetadata.userOverrides.ipAddress IP address to use + * instead of the user's geo-located IP address. + * @opt_param string requestMetadata.partnersSessionId Google Partners session + * ID. + * @opt_param string requestMetadata.trafficSource.trafficSubId Second level + * identifier to indicate where the traffic comes from. An identifier has + * multiple letters created by a team which redirected the traffic to us. + * @opt_param string requestMetadata.locale Locale to use for the current + * request. + * @opt_param string address The address to use for sorting the company's + * addresses by proximity. If not given, the geo-located address of the request + * is used. Used when order_by is set. + * @opt_param string requestMetadata.experimentIds Experiment IDs the current + * request belongs to. + * @opt_param string currencyCode If the company's budget is in a different + * currency code than this one, then the converted budget is converted to this + * currency code. + * @opt_param string requestMetadata.trafficSource.trafficSourceId Identifier to + * indicate where the traffic comes from. An identifier has multiple letters + * created by a team which redirected the traffic to us. + * @opt_param string view The view of `Company` resource to be returned. This + * must not be `COMPANY_VIEW_UNSPECIFIED`. + * @return Google_Service_Partners_GetCompanyResponse + */ + public function get($companyId, $optParams = array()) + { + $params = array('companyId' => $companyId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Partners_GetCompanyResponse"); + } + + /** + * Lists companies. (companies.listCompanies) + * + * @param array $optParams Optional parameters. + * + * @opt_param string orderBy How to order addresses within the returned + * companies. Currently, only `address` and `address desc` is supported which + * will sorted by closest to farthest in distance from given address and + * farthest to closest distance from given address respectively. + * @opt_param int pageSize Requested page size. Server may return fewer + * companies than requested. If unspecified, server picks an appropriate + * default. + * @opt_param string requestMetadata.partnersSessionId Google Partners session + * ID. + * @opt_param string maxMonthlyBudget.currencyCode The 3-letter currency code + * defined in ISO 4217. + * @opt_param int maxMonthlyBudget.nanos Number of nano (10^-9) units of the + * amount. The value must be between -999,999,999 and +999,999,999 inclusive. If + * `units` is positive, `nanos` must be positive or zero. If `units` is zero, + * `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` + * must be negative or zero. For example $-1.75 is represented as `units`=-1 and + * `nanos`=-750,000,000. + * @opt_param string languageCodes List of language codes that company can + * support. Only primary language subtags are accepted as defined by BCP 47 + * (IETF BCP 47, "Tags for Identifying Languages"). + * @opt_param int minMonthlyBudget.nanos Number of nano (10^-9) units of the + * amount. The value must be between -999,999,999 and +999,999,999 inclusive. If + * `units` is positive, `nanos` must be positive or zero. If `units` is zero, + * `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` + * must be negative or zero. For example $-1.75 is represented as `units`=-1 and + * `nanos`=-750,000,000. + * @opt_param string requestMetadata.trafficSource.trafficSubId Second level + * identifier to indicate where the traffic comes from. An identifier has + * multiple letters created by a team which redirected the traffic to us. + * @opt_param string industries List of industries the company can help with. + * @opt_param string minMonthlyBudget.currencyCode The 3-letter currency code + * defined in ISO 4217. + * @opt_param string minMonthlyBudget.units The whole units of the amount. For + * example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. + * @opt_param string pageToken A token identifying a page of results that the + * server returns. Typically, this is the value of + * `ListCompaniesResponse.next_page_token` returned from the previous call to + * ListCompanies. + * @opt_param string requestMetadata.locale Locale to use for the current + * request. + * @opt_param string requestMetadata.trafficSource.trafficSourceId Identifier to + * indicate where the traffic comes from. An identifier has multiple letters + * created by a team which redirected the traffic to us. + * @opt_param string companyName Company name to search for. + * @opt_param string address The address to use when searching for companies. If + * not given, the geo-located address of the request is used. + * @opt_param string services List of services the company can help with. + * @opt_param string requestMetadata.experimentIds Experiment IDs the current + * request belongs to. + * @opt_param string gpsMotivations List of reasons for using Google Partner + * Search to get companies. + * @opt_param string requestMetadata.userOverrides.ipAddress IP address to use + * instead of the user's geo-located IP address. + * @opt_param string websiteUrl Website URL that will help to find a better + * matched company. . + * @opt_param string requestMetadata.userOverrides.userId Logged-in user ID to + * impersonate instead of the user's ID. + * @opt_param string view The view of the `Company` resource to be returned. + * This must not be `COMPANY_VIEW_UNSPECIFIED`. + * @opt_param string maxMonthlyBudget.units The whole units of the amount. For + * example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. + * @return Google_Service_Partners_ListCompaniesResponse + */ + public function listCompanies($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Partners_ListCompaniesResponse"); + } +} + +/** + * The "leads" collection of methods. + * Typical usage is: + * + * $partnersService = new Google_Service_Partners(...); + * $leads = $partnersService->leads; + * + */ +class Google_Service_Partners_CompaniesLeads_Resource extends Google_Service_Resource +{ + + /** + * Creates an advertiser lead for the given company ID. (leads.create) + * + * @param string $companyId The ID of the company to contact. + * @param Google_CreateLeadRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Partners_CreateLeadResponse + */ + public function create($companyId, Google_Service_Partners_CreateLeadRequest $postBody, $optParams = array()) + { + $params = array('companyId' => $companyId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Partners_CreateLeadResponse"); + } +} + +/** + * The "userEvents" collection of methods. + * Typical usage is: + * + * $partnersService = new Google_Service_Partners(...); + * $userEvents = $partnersService->userEvents; + * + */ +class Google_Service_Partners_UserEvents_Resource extends Google_Service_Resource +{ + + /** + * Logs a user event. (userEvents.log) + * + * @param Google_LogUserEventRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Partners_LogUserEventResponse + */ + public function log(Google_Service_Partners_LogUserEventRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('log', array($params), "Google_Service_Partners_LogUserEventResponse"); + } +} + +/** + * The "userStates" collection of methods. + * Typical usage is: + * + * $partnersService = new Google_Service_Partners(...); + * $userStates = $partnersService->userStates; + * + */ +class Google_Service_Partners_UserStates_Resource extends Google_Service_Resource +{ + + /** + * Lists states for current user. (userStates.listUserStates) + * + * @param array $optParams Optional parameters. + * + * @opt_param string requestMetadata.userOverrides.userId Logged-in user ID to + * impersonate instead of the user's ID. + * @opt_param string requestMetadata.userOverrides.ipAddress IP address to use + * instead of the user's geo-located IP address. + * @opt_param string requestMetadata.partnersSessionId Google Partners session + * ID. + * @opt_param string requestMetadata.trafficSource.trafficSubId Second level + * identifier to indicate where the traffic comes from. An identifier has + * multiple letters created by a team which redirected the traffic to us. + * @opt_param string requestMetadata.locale Locale to use for the current + * request. + * @opt_param string requestMetadata.experimentIds Experiment IDs the current + * request belongs to. + * @opt_param string requestMetadata.trafficSource.trafficSourceId Identifier to + * indicate where the traffic comes from. An identifier has multiple letters + * created by a team which redirected the traffic to us. + * @return Google_Service_Partners_ListUserStatesResponse + */ + public function listUserStates($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Partners_ListUserStatesResponse"); + } +} + + + + +class Google_Service_Partners_CertificationExamStatus extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $numberUsersPass; + public $type; + + + public function setNumberUsersPass($numberUsersPass) + { + $this->numberUsersPass = $numberUsersPass; + } + public function getNumberUsersPass() + { + return $this->numberUsersPass; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Partners_CertificationStatus extends Google_Collection +{ + protected $collection_key = 'examStatuses'; + protected $internal_gapi_mappings = array( + ); + protected $examStatusesType = 'Google_Service_Partners_CertificationExamStatus'; + protected $examStatusesDataType = 'array'; + public $isCertified; + public $type; + + + public function setExamStatuses($examStatuses) + { + $this->examStatuses = $examStatuses; + } + public function getExamStatuses() + { + return $this->examStatuses; + } + public function setIsCertified($isCertified) + { + $this->isCertified = $isCertified; + } + public function getIsCertified() + { + return $this->isCertified; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Partners_Company extends Google_Collection +{ + protected $collection_key = 'services'; + protected $internal_gapi_mappings = array( + ); + protected $certificationStatusesType = 'Google_Service_Partners_CertificationStatus'; + protected $certificationStatusesDataType = 'array'; + protected $convertedMinMonthlyBudgetType = 'Google_Service_Partners_Money'; + protected $convertedMinMonthlyBudgetDataType = ''; + public $id; + public $industries; + protected $localizedInfosType = 'Google_Service_Partners_LocalizedCompanyInfo'; + protected $localizedInfosDataType = 'array'; + protected $locationsType = 'Google_Service_Partners_Location'; + protected $locationsDataType = 'array'; + public $name; + protected $originalMinMonthlyBudgetType = 'Google_Service_Partners_Money'; + protected $originalMinMonthlyBudgetDataType = ''; + protected $publicProfileType = 'Google_Service_Partners_PublicProfile'; + protected $publicProfileDataType = ''; + protected $ranksType = 'Google_Service_Partners_Rank'; + protected $ranksDataType = 'array'; + public $services; + public $websiteUrl; + + + public function setCertificationStatuses($certificationStatuses) + { + $this->certificationStatuses = $certificationStatuses; + } + public function getCertificationStatuses() + { + return $this->certificationStatuses; + } + public function setConvertedMinMonthlyBudget(Google_Service_Partners_Money $convertedMinMonthlyBudget) + { + $this->convertedMinMonthlyBudget = $convertedMinMonthlyBudget; + } + public function getConvertedMinMonthlyBudget() + { + return $this->convertedMinMonthlyBudget; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIndustries($industries) + { + $this->industries = $industries; + } + public function getIndustries() + { + return $this->industries; + } + public function setLocalizedInfos($localizedInfos) + { + $this->localizedInfos = $localizedInfos; + } + public function getLocalizedInfos() + { + return $this->localizedInfos; + } + public function setLocations($locations) + { + $this->locations = $locations; + } + public function getLocations() + { + return $this->locations; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOriginalMinMonthlyBudget(Google_Service_Partners_Money $originalMinMonthlyBudget) + { + $this->originalMinMonthlyBudget = $originalMinMonthlyBudget; + } + public function getOriginalMinMonthlyBudget() + { + return $this->originalMinMonthlyBudget; + } + public function setPublicProfile(Google_Service_Partners_PublicProfile $publicProfile) + { + $this->publicProfile = $publicProfile; + } + public function getPublicProfile() + { + return $this->publicProfile; + } + public function setRanks($ranks) + { + $this->ranks = $ranks; + } + public function getRanks() + { + return $this->ranks; + } + public function setServices($services) + { + $this->services = $services; + } + public function getServices() + { + return $this->services; + } + public function setWebsiteUrl($websiteUrl) + { + $this->websiteUrl = $websiteUrl; + } + public function getWebsiteUrl() + { + return $this->websiteUrl; + } +} + +class Google_Service_Partners_CreateLeadRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $leadType = 'Google_Service_Partners_Lead'; + protected $leadDataType = ''; + protected $recaptchaChallengeType = 'Google_Service_Partners_RecaptchaChallenge'; + protected $recaptchaChallengeDataType = ''; + protected $requestMetadataType = 'Google_Service_Partners_RequestMetadata'; + protected $requestMetadataDataType = ''; + + + public function setLead(Google_Service_Partners_Lead $lead) + { + $this->lead = $lead; + } + public function getLead() + { + return $this->lead; + } + public function setRecaptchaChallenge(Google_Service_Partners_RecaptchaChallenge $recaptchaChallenge) + { + $this->recaptchaChallenge = $recaptchaChallenge; + } + public function getRecaptchaChallenge() + { + return $this->recaptchaChallenge; + } + public function setRequestMetadata(Google_Service_Partners_RequestMetadata $requestMetadata) + { + $this->requestMetadata = $requestMetadata; + } + public function getRequestMetadata() + { + return $this->requestMetadata; + } +} + +class Google_Service_Partners_CreateLeadResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $leadType = 'Google_Service_Partners_Lead'; + protected $leadDataType = ''; + public $recaptchaStatus; + protected $responseMetadataType = 'Google_Service_Partners_ResponseMetadata'; + protected $responseMetadataDataType = ''; + + + public function setLead(Google_Service_Partners_Lead $lead) + { + $this->lead = $lead; + } + public function getLead() + { + return $this->lead; + } + public function setRecaptchaStatus($recaptchaStatus) + { + $this->recaptchaStatus = $recaptchaStatus; + } + public function getRecaptchaStatus() + { + return $this->recaptchaStatus; + } + public function setResponseMetadata(Google_Service_Partners_ResponseMetadata $responseMetadata) + { + $this->responseMetadata = $responseMetadata; + } + public function getResponseMetadata() + { + return $this->responseMetadata; + } +} + +class Google_Service_Partners_DebugInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $serverInfo; + public $serverTraceInfo; + public $serviceUrl; + + + public function setServerInfo($serverInfo) + { + $this->serverInfo = $serverInfo; + } + public function getServerInfo() + { + return $this->serverInfo; + } + public function setServerTraceInfo($serverTraceInfo) + { + $this->serverTraceInfo = $serverTraceInfo; + } + public function getServerTraceInfo() + { + return $this->serverTraceInfo; + } + public function setServiceUrl($serviceUrl) + { + $this->serviceUrl = $serviceUrl; + } + public function getServiceUrl() + { + return $this->serviceUrl; + } +} + +class Google_Service_Partners_EventData extends Google_Collection +{ + protected $collection_key = 'values'; + protected $internal_gapi_mappings = array( + ); + public $key; + public $values; + + + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValues($values) + { + $this->values = $values; + } + public function getValues() + { + return $this->values; + } +} + +class Google_Service_Partners_GetCompanyResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $companyType = 'Google_Service_Partners_Company'; + protected $companyDataType = ''; + protected $responseMetadataType = 'Google_Service_Partners_ResponseMetadata'; + protected $responseMetadataDataType = ''; + + + public function setCompany(Google_Service_Partners_Company $company) + { + $this->company = $company; + } + public function getCompany() + { + return $this->company; + } + public function setResponseMetadata(Google_Service_Partners_ResponseMetadata $responseMetadata) + { + $this->responseMetadata = $responseMetadata; + } + public function getResponseMetadata() + { + return $this->responseMetadata; + } +} + +class Google_Service_Partners_LatLng extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $latitude; + public $longitude; + + + public function setLatitude($latitude) + { + $this->latitude = $latitude; + } + public function getLatitude() + { + return $this->latitude; + } + public function setLongitude($longitude) + { + $this->longitude = $longitude; + } + public function getLongitude() + { + return $this->longitude; + } +} + +class Google_Service_Partners_Lead extends Google_Collection +{ + protected $collection_key = 'gpsMotivations'; + protected $internal_gapi_mappings = array( + ); + public $comments; + public $email; + public $familyName; + public $givenName; + public $gpsMotivations; + public $id; + protected $minMonthlyBudgetType = 'Google_Service_Partners_Money'; + protected $minMonthlyBudgetDataType = ''; + public $phoneNumber; + public $type; + public $websiteUrl; + + + public function setComments($comments) + { + $this->comments = $comments; + } + public function getComments() + { + return $this->comments; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setFamilyName($familyName) + { + $this->familyName = $familyName; + } + public function getFamilyName() + { + return $this->familyName; + } + public function setGivenName($givenName) + { + $this->givenName = $givenName; + } + public function getGivenName() + { + return $this->givenName; + } + public function setGpsMotivations($gpsMotivations) + { + $this->gpsMotivations = $gpsMotivations; + } + public function getGpsMotivations() + { + return $this->gpsMotivations; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setMinMonthlyBudget(Google_Service_Partners_Money $minMonthlyBudget) + { + $this->minMonthlyBudget = $minMonthlyBudget; + } + public function getMinMonthlyBudget() + { + return $this->minMonthlyBudget; + } + public function setPhoneNumber($phoneNumber) + { + $this->phoneNumber = $phoneNumber; + } + public function getPhoneNumber() + { + return $this->phoneNumber; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setWebsiteUrl($websiteUrl) + { + $this->websiteUrl = $websiteUrl; + } + public function getWebsiteUrl() + { + return $this->websiteUrl; + } +} + +class Google_Service_Partners_ListCompaniesResponse extends Google_Collection +{ + protected $collection_key = 'companies'; + protected $internal_gapi_mappings = array( + ); + protected $companiesType = 'Google_Service_Partners_Company'; + protected $companiesDataType = 'array'; + public $nextPageToken; + protected $responseMetadataType = 'Google_Service_Partners_ResponseMetadata'; + protected $responseMetadataDataType = ''; + + + public function setCompanies($companies) + { + $this->companies = $companies; + } + public function getCompanies() + { + return $this->companies; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setResponseMetadata(Google_Service_Partners_ResponseMetadata $responseMetadata) + { + $this->responseMetadata = $responseMetadata; + } + public function getResponseMetadata() + { + return $this->responseMetadata; + } +} + +class Google_Service_Partners_ListUserStatesResponse extends Google_Collection +{ + protected $collection_key = 'userStates'; + protected $internal_gapi_mappings = array( + ); + protected $responseMetadataType = 'Google_Service_Partners_ResponseMetadata'; + protected $responseMetadataDataType = ''; + public $userStates; + + + public function setResponseMetadata(Google_Service_Partners_ResponseMetadata $responseMetadata) + { + $this->responseMetadata = $responseMetadata; + } + public function getResponseMetadata() + { + return $this->responseMetadata; + } + public function setUserStates($userStates) + { + $this->userStates = $userStates; + } + public function getUserStates() + { + return $this->userStates; + } +} + +class Google_Service_Partners_LocalizedCompanyInfo extends Google_Collection +{ + protected $collection_key = 'countryCodes'; + protected $internal_gapi_mappings = array( + ); + public $countryCodes; + public $displayName; + public $languageCode; + public $overview; + + + public function setCountryCodes($countryCodes) + { + $this->countryCodes = $countryCodes; + } + public function getCountryCodes() + { + return $this->countryCodes; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setLanguageCode($languageCode) + { + $this->languageCode = $languageCode; + } + public function getLanguageCode() + { + return $this->languageCode; + } + public function setOverview($overview) + { + $this->overview = $overview; + } + public function getOverview() + { + return $this->overview; + } +} + +class Google_Service_Partners_Location extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $address; + protected $latLngType = 'Google_Service_Partners_LatLng'; + protected $latLngDataType = ''; + + + public function setAddress($address) + { + $this->address = $address; + } + public function getAddress() + { + return $this->address; + } + public function setLatLng(Google_Service_Partners_LatLng $latLng) + { + $this->latLng = $latLng; + } + public function getLatLng() + { + return $this->latLng; + } +} + +class Google_Service_Partners_LogMessageRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $clientInfo; + public $details; + public $level; + protected $requestMetadataType = 'Google_Service_Partners_RequestMetadata'; + protected $requestMetadataDataType = ''; + + + public function setClientInfo($clientInfo) + { + $this->clientInfo = $clientInfo; + } + public function getClientInfo() + { + return $this->clientInfo; + } + public function setDetails($details) + { + $this->details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setLevel($level) + { + $this->level = $level; + } + public function getLevel() + { + return $this->level; + } + public function setRequestMetadata(Google_Service_Partners_RequestMetadata $requestMetadata) + { + $this->requestMetadata = $requestMetadata; + } + public function getRequestMetadata() + { + return $this->requestMetadata; + } +} + +class Google_Service_Partners_LogMessageRequestClientInfo extends Google_Model +{ +} + +class Google_Service_Partners_LogMessageResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $responseMetadataType = 'Google_Service_Partners_ResponseMetadata'; + protected $responseMetadataDataType = ''; + + + public function setResponseMetadata(Google_Service_Partners_ResponseMetadata $responseMetadata) + { + $this->responseMetadata = $responseMetadata; + } + public function getResponseMetadata() + { + return $this->responseMetadata; + } +} + +class Google_Service_Partners_LogUserEventRequest extends Google_Collection +{ + protected $collection_key = 'eventDatas'; + protected $internal_gapi_mappings = array( + ); + public $eventAction; + public $eventCategory; + protected $eventDatasType = 'Google_Service_Partners_EventData'; + protected $eventDatasDataType = 'array'; + public $eventScope; + protected $leadType = 'Google_Service_Partners_Lead'; + protected $leadDataType = ''; + protected $requestMetadataType = 'Google_Service_Partners_RequestMetadata'; + protected $requestMetadataDataType = ''; + public $url; + + + public function setEventAction($eventAction) + { + $this->eventAction = $eventAction; + } + public function getEventAction() + { + return $this->eventAction; + } + public function setEventCategory($eventCategory) + { + $this->eventCategory = $eventCategory; + } + public function getEventCategory() + { + return $this->eventCategory; + } + public function setEventDatas($eventDatas) + { + $this->eventDatas = $eventDatas; + } + public function getEventDatas() + { + return $this->eventDatas; + } + public function setEventScope($eventScope) + { + $this->eventScope = $eventScope; + } + public function getEventScope() + { + return $this->eventScope; + } + public function setLead(Google_Service_Partners_Lead $lead) + { + $this->lead = $lead; + } + public function getLead() + { + return $this->lead; + } + public function setRequestMetadata(Google_Service_Partners_RequestMetadata $requestMetadata) + { + $this->requestMetadata = $requestMetadata; + } + public function getRequestMetadata() + { + return $this->requestMetadata; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_Partners_LogUserEventResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $responseMetadataType = 'Google_Service_Partners_ResponseMetadata'; + protected $responseMetadataDataType = ''; + + + public function setResponseMetadata(Google_Service_Partners_ResponseMetadata $responseMetadata) + { + $this->responseMetadata = $responseMetadata; + } + public function getResponseMetadata() + { + return $this->responseMetadata; + } +} + +class Google_Service_Partners_Money extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $currencyCode; + public $nanos; + public $units; + + + public function setCurrencyCode($currencyCode) + { + $this->currencyCode = $currencyCode; + } + public function getCurrencyCode() + { + return $this->currencyCode; + } + public function setNanos($nanos) + { + $this->nanos = $nanos; + } + public function getNanos() + { + return $this->nanos; + } + public function setUnits($units) + { + $this->units = $units; + } + public function getUnits() + { + return $this->units; + } +} + +class Google_Service_Partners_PublicProfile extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $displayImageUrl; + public $displayName; + public $id; + public $url; + + + public function setDisplayImageUrl($displayImageUrl) + { + $this->displayImageUrl = $displayImageUrl; + } + public function getDisplayImageUrl() + { + return $this->displayImageUrl; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_Partners_Rank extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $type; + public $value; + + + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Partners_RecaptchaChallenge extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $response; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setResponse($response) + { + $this->response = $response; + } + public function getResponse() + { + return $this->response; + } +} + +class Google_Service_Partners_RequestMetadata extends Google_Collection +{ + protected $collection_key = 'experimentIds'; + protected $internal_gapi_mappings = array( + ); + public $experimentIds; + public $locale; + public $partnersSessionId; + protected $trafficSourceType = 'Google_Service_Partners_TrafficSource'; + protected $trafficSourceDataType = ''; + protected $userOverridesType = 'Google_Service_Partners_UserOverrides'; + protected $userOverridesDataType = ''; + + + public function setExperimentIds($experimentIds) + { + $this->experimentIds = $experimentIds; + } + public function getExperimentIds() + { + return $this->experimentIds; + } + public function setLocale($locale) + { + $this->locale = $locale; + } + public function getLocale() + { + return $this->locale; + } + public function setPartnersSessionId($partnersSessionId) + { + $this->partnersSessionId = $partnersSessionId; + } + public function getPartnersSessionId() + { + return $this->partnersSessionId; + } + public function setTrafficSource(Google_Service_Partners_TrafficSource $trafficSource) + { + $this->trafficSource = $trafficSource; + } + public function getTrafficSource() + { + return $this->trafficSource; + } + public function setUserOverrides(Google_Service_Partners_UserOverrides $userOverrides) + { + $this->userOverrides = $userOverrides; + } + public function getUserOverrides() + { + return $this->userOverrides; + } +} + +class Google_Service_Partners_ResponseMetadata extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $debugInfoType = 'Google_Service_Partners_DebugInfo'; + protected $debugInfoDataType = ''; + + + public function setDebugInfo(Google_Service_Partners_DebugInfo $debugInfo) + { + $this->debugInfo = $debugInfo; + } + public function getDebugInfo() + { + return $this->debugInfo; + } +} + +class Google_Service_Partners_TrafficSource extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $trafficSourceId; + public $trafficSubId; + + + public function setTrafficSourceId($trafficSourceId) + { + $this->trafficSourceId = $trafficSourceId; + } + public function getTrafficSourceId() + { + return $this->trafficSourceId; + } + public function setTrafficSubId($trafficSubId) + { + $this->trafficSubId = $trafficSubId; + } + public function getTrafficSubId() + { + return $this->trafficSubId; + } +} + +class Google_Service_Partners_UserOverrides extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $ipAddress; + public $userId; + + + public function setIpAddress($ipAddress) + { + $this->ipAddress = $ipAddress; + } + public function getIpAddress() + { + return $this->ipAddress; + } + public function setUserId($userId) + { + $this->userId = $userId; + } + public function getUserId() + { + return $this->userId; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Playmoviespartner.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Playmoviespartner.php new file mode 100644 index 0000000..d3c11bc --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Playmoviespartner.php @@ -0,0 +1,1676 @@ + + * Lets Google Play Movies Partners get the delivery status of their titles.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Playmoviespartner extends Google_Service +{ + /** View the digital assets you publish on Google Play Movies and TV. */ + const PLAYMOVIES_PARTNER_READONLY = + "https://www.googleapis.com/auth/playmovies_partner.readonly"; + + public $accounts_avails; + public $accounts_experienceLocales; + public $accounts_orders; + public $accounts_storeInfos; + public $accounts_storeInfos_country; + + + /** + * Constructs the internal representation of the Playmoviespartner service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://playmoviespartner.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'playmoviespartner'; + + $this->accounts_avails = new Google_Service_Playmoviespartner_AccountsAvails_Resource( + $this, + $this->serviceName, + 'avails', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v1/accounts/{accountId}/avails', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pphNames' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'videoIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'title' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'altId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'territories' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'studioNames' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->accounts_experienceLocales = new Google_Service_Playmoviespartner_AccountsExperienceLocales_Resource( + $this, + $this->serviceName, + 'experienceLocales', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v1/accounts/{accountId}/experienceLocales/{elId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'elId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/accounts/{accountId}/experienceLocales', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pphNames' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'status' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'titleLevelEidr' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'studioNames' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'editLevelEidr' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'customId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'altCutId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->accounts_orders = new Google_Service_Playmoviespartner_AccountsOrders_Resource( + $this, + $this->serviceName, + 'orders', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v1/accounts/{accountId}/orders/{orderId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/accounts/{accountId}/orders', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pphNames' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'status' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'name' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'studioNames' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'customId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->accounts_storeInfos = new Google_Service_Playmoviespartner_AccountsStoreInfos_Resource( + $this, + $this->serviceName, + 'storeInfos', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v1/accounts/{accountId}/storeInfos', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pphNames' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'name' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'countries' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'videoId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'studioNames' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'videoIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ), + ) + ) + ); + $this->accounts_storeInfos_country = new Google_Service_Playmoviespartner_AccountsStoreInfosCountry_Resource( + $this, + $this->serviceName, + 'country', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v1/accounts/{accountId}/storeInfos/{videoId}/country/{country}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'videoId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'country' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "accounts" collection of methods. + * Typical usage is: + * + * $playmoviespartnerService = new Google_Service_Playmoviespartner(...); + * $accounts = $playmoviespartnerService->accounts; + * + */ +class Google_Service_Playmoviespartner_Accounts_Resource extends Google_Service_Resource +{ +} + +/** + * The "avails" collection of methods. + * Typical usage is: + * + * $playmoviespartnerService = new Google_Service_Playmoviespartner(...); + * $avails = $playmoviespartnerService->avails; + * + */ +class Google_Service_Playmoviespartner_AccountsAvails_Resource extends Google_Service_Resource +{ + + /** + * List Avails owned or managed by the partner. See _Authentication and + * Authorization rules_ and _List methods rules_ for more information about this + * method. (avails.listAccountsAvails) + * + * @param string $accountId REQUIRED. See _General rules_ for more information + * about this field. + * @param array $optParams Optional parameters. + * + * @opt_param string pphNames See _List methods rules_ for info about this + * field. + * @opt_param string videoIds Filter Avails that match any of the given + * `video_id`s. + * @opt_param int pageSize See _List methods rules_ for info about this field. + * @opt_param string title Filter Avails that match a case-insensitive substring + * of the default Title name. + * @opt_param string altId Filter Avails that match a case-insensitive, partner- + * specific custom id. + * @opt_param string territories Filter Avails that match (case-insensitive) any + * of the given country codes, using the "ISO 3166-1 alpha-2" format (examples: + * "US", "us", "Us"). + * @opt_param string studioNames See _List methods rules_ for info about this + * field. + * @opt_param string pageToken See _List methods rules_ for info about this + * field. + * @return Google_Service_Playmoviespartner_ListAvailsResponse + */ + public function listAccountsAvails($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Playmoviespartner_ListAvailsResponse"); + } +} +/** + * The "experienceLocales" collection of methods. + * Typical usage is: + * + * $playmoviespartnerService = new Google_Service_Playmoviespartner(...); + * $experienceLocales = $playmoviespartnerService->experienceLocales; + * + */ +class Google_Service_Playmoviespartner_AccountsExperienceLocales_Resource extends Google_Service_Resource +{ + + /** + * Get an ExperienceLocale given its id. See _Authentication and Authorization + * rules_ and _Get methods rules_ for more information about this method. + * (experienceLocales.get) + * + * @param string $accountId REQUIRED. See _General rules_ for more information + * about this field. + * @param string $elId REQUIRED. ExperienceLocale ID, as defined by Google. + * @param array $optParams Optional parameters. + * @return Google_Service_Playmoviespartner_ExperienceLocale + */ + public function get($accountId, $elId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'elId' => $elId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Playmoviespartner_ExperienceLocale"); + } + + /** + * List ExperienceLocales owned or managed by the partner. See _Authentication + * and Authorization rules_ and _List methods rules_ for more information about + * this method. (experienceLocales.listAccountsExperienceLocales) + * + * @param string $accountId REQUIRED. See _General rules_ for more information + * about this field. + * @param array $optParams Optional parameters. + * + * @opt_param string pphNames See _List methods rules_ for info about this + * field. + * @opt_param string status Filter ExperienceLocales that match one of the given + * status. + * @opt_param string titleLevelEidr Filter ExperienceLocales that match a given + * title-level EIDR. + * @opt_param int pageSize See _List methods rules_ for info about this field. + * @opt_param string studioNames See _List methods rules_ for info about this + * field. + * @opt_param string pageToken See _List methods rules_ for info about this + * field. + * @opt_param string editLevelEidr Filter ExperienceLocales that match a given + * edit-level EIDR. + * @opt_param string customId Filter ExperienceLocales that match a case- + * insensitive, partner-specific custom id. + * @opt_param string altCutId Filter ExperienceLocales that match a case- + * insensitive, partner-specific Alternative Cut ID. + * @return Google_Service_Playmoviespartner_ListExperienceLocalesResponse + */ + public function listAccountsExperienceLocales($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Playmoviespartner_ListExperienceLocalesResponse"); + } +} +/** + * The "orders" collection of methods. + * Typical usage is: + * + * $playmoviespartnerService = new Google_Service_Playmoviespartner(...); + * $orders = $playmoviespartnerService->orders; + * + */ +class Google_Service_Playmoviespartner_AccountsOrders_Resource extends Google_Service_Resource +{ + + /** + * Get an Order given its id. See _Authentication and Authorization rules_ and + * _Get methods rules_ for more information about this method. (orders.get) + * + * @param string $accountId REQUIRED. See _General rules_ for more information + * about this field. + * @param string $orderId REQUIRED. Order ID. + * @param array $optParams Optional parameters. + * @return Google_Service_Playmoviespartner_Order + */ + public function get($accountId, $orderId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'orderId' => $orderId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Playmoviespartner_Order"); + } + + /** + * List Orders owned or managed by the partner. See _Authentication and + * Authorization rules_ and _List methods rules_ for more information about this + * method. (orders.listAccountsOrders) + * + * @param string $accountId REQUIRED. See _General rules_ for more information + * about this field. + * @param array $optParams Optional parameters. + * + * @opt_param string pphNames See _List methods rules_ for info about this + * field. + * @opt_param string status Filter Orders that match one of the given status. + * @opt_param string name Filter Orders that match a title name (case- + * insensitive, sub-string match). + * @opt_param int pageSize See _List methods rules_ for info about this field. + * @opt_param string studioNames See _List methods rules_ for info about this + * field. + * @opt_param string pageToken See _List methods rules_ for info about this + * field. + * @opt_param string customId Filter Orders that match a case-insensitive, + * partner-specific custom id. + * @return Google_Service_Playmoviespartner_ListOrdersResponse + */ + public function listAccountsOrders($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Playmoviespartner_ListOrdersResponse"); + } +} +/** + * The "storeInfos" collection of methods. + * Typical usage is: + * + * $playmoviespartnerService = new Google_Service_Playmoviespartner(...); + * $storeInfos = $playmoviespartnerService->storeInfos; + * + */ +class Google_Service_Playmoviespartner_AccountsStoreInfos_Resource extends Google_Service_Resource +{ + + /** + * List StoreInfos owned or managed by the partner. See _Authentication and + * Authorization rules_ and _List methods rules_ for more information about this + * method. (storeInfos.listAccountsStoreInfos) + * + * @param string $accountId REQUIRED. See _General rules_ for more information + * about this field. + * @param array $optParams Optional parameters. + * + * @opt_param string pphNames See _List methods rules_ for info about this + * field. + * @opt_param string name Filter StoreInfos that match a case-insensitive + * substring of the default name. + * @opt_param int pageSize See _List methods rules_ for info about this field. + * @opt_param string countries Filter StoreInfos that match (case-insensitive) + * any of the given country codes, using the "ISO 3166-1 alpha-2" format + * (examples: "US", "us", "Us"). + * @opt_param string videoId Filter StoreInfos that match a given `video_id`. + * NOTE: this field is deprecated and will be removed on V2; `video_ids` should + * be used instead. + * @opt_param string studioNames See _List methods rules_ for info about this + * field. + * @opt_param string pageToken See _List methods rules_ for info about this + * field. + * @opt_param string videoIds Filter StoreInfos that match any of the given + * `video_id`s. + * @return Google_Service_Playmoviespartner_ListStoreInfosResponse + */ + public function listAccountsStoreInfos($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Playmoviespartner_ListStoreInfosResponse"); + } +} + +/** + * The "country" collection of methods. + * Typical usage is: + * + * $playmoviespartnerService = new Google_Service_Playmoviespartner(...); + * $country = $playmoviespartnerService->country; + * + */ +class Google_Service_Playmoviespartner_AccountsStoreInfosCountry_Resource extends Google_Service_Resource +{ + + /** + * Get a StoreInfo given its video id and country. See _Authentication and + * Authorization rules_ and _Get methods rules_ for more information about this + * method. (country.get) + * + * @param string $accountId REQUIRED. See _General rules_ for more information + * about this field. + * @param string $videoId REQUIRED. Video ID. + * @param string $country REQUIRED. Edit country. + * @param array $optParams Optional parameters. + * @return Google_Service_Playmoviespartner_StoreInfo + */ + public function get($accountId, $videoId, $country, $optParams = array()) + { + $params = array('accountId' => $accountId, 'videoId' => $videoId, 'country' => $country); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Playmoviespartner_StoreInfo"); + } +} + + + + +class Google_Service_Playmoviespartner_Avail extends Google_Collection +{ + protected $collection_key = 'pphNames'; + protected $internal_gapi_mappings = array( + ); + public $altId; + public $captionExemption; + public $captionIncluded; + public $contentId; + public $displayName; + public $encodeId; + public $end; + public $episodeAltId; + public $episodeNumber; + public $episodeTitleInternalAlias; + public $formatProfile; + public $licenseType; + public $pphNames; + public $priceType; + public $priceValue; + public $productId; + public $ratingReason; + public $ratingSystem; + public $ratingValue; + public $releaseDate; + public $seasonAltId; + public $seasonNumber; + public $seasonTitleInternalAlias; + public $seriesAltId; + public $seriesTitleInternalAlias; + public $start; + public $storeLanguage; + public $suppressionLiftDate; + public $territory; + public $titleInternalAlias; + public $videoId; + public $workType; + + + public function setAltId($altId) + { + $this->altId = $altId; + } + public function getAltId() + { + return $this->altId; + } + public function setCaptionExemption($captionExemption) + { + $this->captionExemption = $captionExemption; + } + public function getCaptionExemption() + { + return $this->captionExemption; + } + public function setCaptionIncluded($captionIncluded) + { + $this->captionIncluded = $captionIncluded; + } + public function getCaptionIncluded() + { + return $this->captionIncluded; + } + public function setContentId($contentId) + { + $this->contentId = $contentId; + } + public function getContentId() + { + return $this->contentId; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setEncodeId($encodeId) + { + $this->encodeId = $encodeId; + } + public function getEncodeId() + { + return $this->encodeId; + } + public function setEnd($end) + { + $this->end = $end; + } + public function getEnd() + { + return $this->end; + } + public function setEpisodeAltId($episodeAltId) + { + $this->episodeAltId = $episodeAltId; + } + public function getEpisodeAltId() + { + return $this->episodeAltId; + } + public function setEpisodeNumber($episodeNumber) + { + $this->episodeNumber = $episodeNumber; + } + public function getEpisodeNumber() + { + return $this->episodeNumber; + } + public function setEpisodeTitleInternalAlias($episodeTitleInternalAlias) + { + $this->episodeTitleInternalAlias = $episodeTitleInternalAlias; + } + public function getEpisodeTitleInternalAlias() + { + return $this->episodeTitleInternalAlias; + } + public function setFormatProfile($formatProfile) + { + $this->formatProfile = $formatProfile; + } + public function getFormatProfile() + { + return $this->formatProfile; + } + public function setLicenseType($licenseType) + { + $this->licenseType = $licenseType; + } + public function getLicenseType() + { + return $this->licenseType; + } + public function setPphNames($pphNames) + { + $this->pphNames = $pphNames; + } + public function getPphNames() + { + return $this->pphNames; + } + public function setPriceType($priceType) + { + $this->priceType = $priceType; + } + public function getPriceType() + { + return $this->priceType; + } + public function setPriceValue($priceValue) + { + $this->priceValue = $priceValue; + } + public function getPriceValue() + { + return $this->priceValue; + } + public function setProductId($productId) + { + $this->productId = $productId; + } + public function getProductId() + { + return $this->productId; + } + public function setRatingReason($ratingReason) + { + $this->ratingReason = $ratingReason; + } + public function getRatingReason() + { + return $this->ratingReason; + } + public function setRatingSystem($ratingSystem) + { + $this->ratingSystem = $ratingSystem; + } + public function getRatingSystem() + { + return $this->ratingSystem; + } + public function setRatingValue($ratingValue) + { + $this->ratingValue = $ratingValue; + } + public function getRatingValue() + { + return $this->ratingValue; + } + public function setReleaseDate($releaseDate) + { + $this->releaseDate = $releaseDate; + } + public function getReleaseDate() + { + return $this->releaseDate; + } + public function setSeasonAltId($seasonAltId) + { + $this->seasonAltId = $seasonAltId; + } + public function getSeasonAltId() + { + return $this->seasonAltId; + } + public function setSeasonNumber($seasonNumber) + { + $this->seasonNumber = $seasonNumber; + } + public function getSeasonNumber() + { + return $this->seasonNumber; + } + public function setSeasonTitleInternalAlias($seasonTitleInternalAlias) + { + $this->seasonTitleInternalAlias = $seasonTitleInternalAlias; + } + public function getSeasonTitleInternalAlias() + { + return $this->seasonTitleInternalAlias; + } + public function setSeriesAltId($seriesAltId) + { + $this->seriesAltId = $seriesAltId; + } + public function getSeriesAltId() + { + return $this->seriesAltId; + } + public function setSeriesTitleInternalAlias($seriesTitleInternalAlias) + { + $this->seriesTitleInternalAlias = $seriesTitleInternalAlias; + } + public function getSeriesTitleInternalAlias() + { + return $this->seriesTitleInternalAlias; + } + public function setStart($start) + { + $this->start = $start; + } + public function getStart() + { + return $this->start; + } + public function setStoreLanguage($storeLanguage) + { + $this->storeLanguage = $storeLanguage; + } + public function getStoreLanguage() + { + return $this->storeLanguage; + } + public function setSuppressionLiftDate($suppressionLiftDate) + { + $this->suppressionLiftDate = $suppressionLiftDate; + } + public function getSuppressionLiftDate() + { + return $this->suppressionLiftDate; + } + public function setTerritory($territory) + { + $this->territory = $territory; + } + public function getTerritory() + { + return $this->territory; + } + public function setTitleInternalAlias($titleInternalAlias) + { + $this->titleInternalAlias = $titleInternalAlias; + } + public function getTitleInternalAlias() + { + return $this->titleInternalAlias; + } + public function setVideoId($videoId) + { + $this->videoId = $videoId; + } + public function getVideoId() + { + return $this->videoId; + } + public function setWorkType($workType) + { + $this->workType = $workType; + } + public function getWorkType() + { + return $this->workType; + } +} + +class Google_Service_Playmoviespartner_ExperienceLocale extends Google_Collection +{ + protected $collection_key = 'pphNames'; + protected $internal_gapi_mappings = array( + ); + public $altCutId; + public $approvedTime; + public $channelId; + public $country; + public $createdTime; + public $customIds; + public $earliestAvailStartTime; + public $editLevelEidr; + public $elId; + public $inventoryId; + public $language; + public $name; + public $normalizedPriority; + public $playableSequenceId; + public $pphNames; + public $presentationId; + public $priority; + public $status; + public $studioName; + public $titleLevelEidr; + public $trailerId; + public $type; + public $videoId; + + + public function setAltCutId($altCutId) + { + $this->altCutId = $altCutId; + } + public function getAltCutId() + { + return $this->altCutId; + } + public function setApprovedTime($approvedTime) + { + $this->approvedTime = $approvedTime; + } + public function getApprovedTime() + { + return $this->approvedTime; + } + public function setChannelId($channelId) + { + $this->channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } + public function setCountry($country) + { + $this->country = $country; + } + public function getCountry() + { + return $this->country; + } + public function setCreatedTime($createdTime) + { + $this->createdTime = $createdTime; + } + public function getCreatedTime() + { + return $this->createdTime; + } + public function setCustomIds($customIds) + { + $this->customIds = $customIds; + } + public function getCustomIds() + { + return $this->customIds; + } + public function setEarliestAvailStartTime($earliestAvailStartTime) + { + $this->earliestAvailStartTime = $earliestAvailStartTime; + } + public function getEarliestAvailStartTime() + { + return $this->earliestAvailStartTime; + } + public function setEditLevelEidr($editLevelEidr) + { + $this->editLevelEidr = $editLevelEidr; + } + public function getEditLevelEidr() + { + return $this->editLevelEidr; + } + public function setElId($elId) + { + $this->elId = $elId; + } + public function getElId() + { + return $this->elId; + } + public function setInventoryId($inventoryId) + { + $this->inventoryId = $inventoryId; + } + public function getInventoryId() + { + return $this->inventoryId; + } + public function setLanguage($language) + { + $this->language = $language; + } + public function getLanguage() + { + return $this->language; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNormalizedPriority($normalizedPriority) + { + $this->normalizedPriority = $normalizedPriority; + } + public function getNormalizedPriority() + { + return $this->normalizedPriority; + } + public function setPlayableSequenceId($playableSequenceId) + { + $this->playableSequenceId = $playableSequenceId; + } + public function getPlayableSequenceId() + { + return $this->playableSequenceId; + } + public function setPphNames($pphNames) + { + $this->pphNames = $pphNames; + } + public function getPphNames() + { + return $this->pphNames; + } + public function setPresentationId($presentationId) + { + $this->presentationId = $presentationId; + } + public function getPresentationId() + { + return $this->presentationId; + } + public function setPriority($priority) + { + $this->priority = $priority; + } + public function getPriority() + { + return $this->priority; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setStudioName($studioName) + { + $this->studioName = $studioName; + } + public function getStudioName() + { + return $this->studioName; + } + public function setTitleLevelEidr($titleLevelEidr) + { + $this->titleLevelEidr = $titleLevelEidr; + } + public function getTitleLevelEidr() + { + return $this->titleLevelEidr; + } + public function setTrailerId($trailerId) + { + $this->trailerId = $trailerId; + } + public function getTrailerId() + { + return $this->trailerId; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setVideoId($videoId) + { + $this->videoId = $videoId; + } + public function getVideoId() + { + return $this->videoId; + } +} + +class Google_Service_Playmoviespartner_ListAvailsResponse extends Google_Collection +{ + protected $collection_key = 'avails'; + protected $internal_gapi_mappings = array( + ); + protected $availsType = 'Google_Service_Playmoviespartner_Avail'; + protected $availsDataType = 'array'; + public $nextPageToken; + + + public function setAvails($avails) + { + $this->avails = $avails; + } + public function getAvails() + { + return $this->avails; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Playmoviespartner_ListExperienceLocalesResponse extends Google_Collection +{ + protected $collection_key = 'experienceLocales'; + protected $internal_gapi_mappings = array( + ); + protected $experienceLocalesType = 'Google_Service_Playmoviespartner_ExperienceLocale'; + protected $experienceLocalesDataType = 'array'; + public $nextPageToken; + + + public function setExperienceLocales($experienceLocales) + { + $this->experienceLocales = $experienceLocales; + } + public function getExperienceLocales() + { + return $this->experienceLocales; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Playmoviespartner_ListOrdersResponse extends Google_Collection +{ + protected $collection_key = 'orders'; + protected $internal_gapi_mappings = array( + ); + public $nextPageToken; + protected $ordersType = 'Google_Service_Playmoviespartner_Order'; + protected $ordersDataType = 'array'; + + + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setOrders($orders) + { + $this->orders = $orders; + } + public function getOrders() + { + return $this->orders; + } +} + +class Google_Service_Playmoviespartner_ListStoreInfosResponse extends Google_Collection +{ + protected $collection_key = 'storeInfos'; + protected $internal_gapi_mappings = array( + ); + public $nextPageToken; + protected $storeInfosType = 'Google_Service_Playmoviespartner_StoreInfo'; + protected $storeInfosDataType = 'array'; + + + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setStoreInfos($storeInfos) + { + $this->storeInfos = $storeInfos; + } + public function getStoreInfos() + { + return $this->storeInfos; + } +} + +class Google_Service_Playmoviespartner_Order extends Google_Collection +{ + protected $collection_key = 'countries'; + protected $internal_gapi_mappings = array( + ); + public $approvedTime; + public $channelId; + public $channelName; + public $countries; + public $customId; + public $earliestAvailStartTime; + public $episodeName; + public $legacyPriority; + public $name; + public $normalizedPriority; + public $orderId; + public $orderedTime; + public $pphName; + public $priority; + public $receivedTime; + public $rejectionNote; + public $seasonName; + public $showName; + public $status; + public $statusDetail; + public $studioName; + public $type; + public $videoId; + + + public function setApprovedTime($approvedTime) + { + $this->approvedTime = $approvedTime; + } + public function getApprovedTime() + { + return $this->approvedTime; + } + public function setChannelId($channelId) + { + $this->channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } + public function setChannelName($channelName) + { + $this->channelName = $channelName; + } + public function getChannelName() + { + return $this->channelName; + } + public function setCountries($countries) + { + $this->countries = $countries; + } + public function getCountries() + { + return $this->countries; + } + public function setCustomId($customId) + { + $this->customId = $customId; + } + public function getCustomId() + { + return $this->customId; + } + public function setEarliestAvailStartTime($earliestAvailStartTime) + { + $this->earliestAvailStartTime = $earliestAvailStartTime; + } + public function getEarliestAvailStartTime() + { + return $this->earliestAvailStartTime; + } + public function setEpisodeName($episodeName) + { + $this->episodeName = $episodeName; + } + public function getEpisodeName() + { + return $this->episodeName; + } + public function setLegacyPriority($legacyPriority) + { + $this->legacyPriority = $legacyPriority; + } + public function getLegacyPriority() + { + return $this->legacyPriority; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNormalizedPriority($normalizedPriority) + { + $this->normalizedPriority = $normalizedPriority; + } + public function getNormalizedPriority() + { + return $this->normalizedPriority; + } + public function setOrderId($orderId) + { + $this->orderId = $orderId; + } + public function getOrderId() + { + return $this->orderId; + } + public function setOrderedTime($orderedTime) + { + $this->orderedTime = $orderedTime; + } + public function getOrderedTime() + { + return $this->orderedTime; + } + public function setPphName($pphName) + { + $this->pphName = $pphName; + } + public function getPphName() + { + return $this->pphName; + } + public function setPriority($priority) + { + $this->priority = $priority; + } + public function getPriority() + { + return $this->priority; + } + public function setReceivedTime($receivedTime) + { + $this->receivedTime = $receivedTime; + } + public function getReceivedTime() + { + return $this->receivedTime; + } + public function setRejectionNote($rejectionNote) + { + $this->rejectionNote = $rejectionNote; + } + public function getRejectionNote() + { + return $this->rejectionNote; + } + public function setSeasonName($seasonName) + { + $this->seasonName = $seasonName; + } + public function getSeasonName() + { + return $this->seasonName; + } + public function setShowName($showName) + { + $this->showName = $showName; + } + public function getShowName() + { + return $this->showName; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setStatusDetail($statusDetail) + { + $this->statusDetail = $statusDetail; + } + public function getStatusDetail() + { + return $this->statusDetail; + } + public function setStudioName($studioName) + { + $this->studioName = $studioName; + } + public function getStudioName() + { + return $this->studioName; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setVideoId($videoId) + { + $this->videoId = $videoId; + } + public function getVideoId() + { + return $this->videoId; + } +} + +class Google_Service_Playmoviespartner_StoreInfo extends Google_Collection +{ + protected $collection_key = 'subtitles'; + protected $internal_gapi_mappings = array( + ); + public $audioTracks; + public $country; + public $editLevelEidr; + public $episodeNumber; + public $hasAudio51; + public $hasEstOffer; + public $hasHdOffer; + public $hasInfoCards; + public $hasSdOffer; + public $hasVodOffer; + public $liveTime; + public $mid; + public $name; + public $pphNames; + public $seasonId; + public $seasonName; + public $seasonNumber; + public $showId; + public $showName; + public $studioName; + public $subtitles; + public $titleLevelEidr; + public $trailerId; + public $type; + public $videoId; + + + public function setAudioTracks($audioTracks) + { + $this->audioTracks = $audioTracks; + } + public function getAudioTracks() + { + return $this->audioTracks; + } + public function setCountry($country) + { + $this->country = $country; + } + public function getCountry() + { + return $this->country; + } + public function setEditLevelEidr($editLevelEidr) + { + $this->editLevelEidr = $editLevelEidr; + } + public function getEditLevelEidr() + { + return $this->editLevelEidr; + } + public function setEpisodeNumber($episodeNumber) + { + $this->episodeNumber = $episodeNumber; + } + public function getEpisodeNumber() + { + return $this->episodeNumber; + } + public function setHasAudio51($hasAudio51) + { + $this->hasAudio51 = $hasAudio51; + } + public function getHasAudio51() + { + return $this->hasAudio51; + } + public function setHasEstOffer($hasEstOffer) + { + $this->hasEstOffer = $hasEstOffer; + } + public function getHasEstOffer() + { + return $this->hasEstOffer; + } + public function setHasHdOffer($hasHdOffer) + { + $this->hasHdOffer = $hasHdOffer; + } + public function getHasHdOffer() + { + return $this->hasHdOffer; + } + public function setHasInfoCards($hasInfoCards) + { + $this->hasInfoCards = $hasInfoCards; + } + public function getHasInfoCards() + { + return $this->hasInfoCards; + } + public function setHasSdOffer($hasSdOffer) + { + $this->hasSdOffer = $hasSdOffer; + } + public function getHasSdOffer() + { + return $this->hasSdOffer; + } + public function setHasVodOffer($hasVodOffer) + { + $this->hasVodOffer = $hasVodOffer; + } + public function getHasVodOffer() + { + return $this->hasVodOffer; + } + public function setLiveTime($liveTime) + { + $this->liveTime = $liveTime; + } + public function getLiveTime() + { + return $this->liveTime; + } + public function setMid($mid) + { + $this->mid = $mid; + } + public function getMid() + { + return $this->mid; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPphNames($pphNames) + { + $this->pphNames = $pphNames; + } + public function getPphNames() + { + return $this->pphNames; + } + public function setSeasonId($seasonId) + { + $this->seasonId = $seasonId; + } + public function getSeasonId() + { + return $this->seasonId; + } + public function setSeasonName($seasonName) + { + $this->seasonName = $seasonName; + } + public function getSeasonName() + { + return $this->seasonName; + } + public function setSeasonNumber($seasonNumber) + { + $this->seasonNumber = $seasonNumber; + } + public function getSeasonNumber() + { + return $this->seasonNumber; + } + public function setShowId($showId) + { + $this->showId = $showId; + } + public function getShowId() + { + return $this->showId; + } + public function setShowName($showName) + { + $this->showName = $showName; + } + public function getShowName() + { + return $this->showName; + } + public function setStudioName($studioName) + { + $this->studioName = $studioName; + } + public function getStudioName() + { + return $this->studioName; + } + public function setSubtitles($subtitles) + { + $this->subtitles = $subtitles; + } + public function getSubtitles() + { + return $this->subtitles; + } + public function setTitleLevelEidr($titleLevelEidr) + { + $this->titleLevelEidr = $titleLevelEidr; + } + public function getTitleLevelEidr() + { + return $this->titleLevelEidr; + } + public function setTrailerId($trailerId) + { + $this->trailerId = $trailerId; + } + public function getTrailerId() + { + return $this->trailerId; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setVideoId($videoId) + { + $this->videoId = $videoId; + } + public function getVideoId() + { + return $this->videoId; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Plus.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Plus.php new file mode 100644 index 0000000..9ff6a8a --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Plus.php @@ -0,0 +1,3692 @@ + + * The Google+ API enables developers to build on top of the Google+ platform.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Plus extends Google_Service +{ + /** Know your basic profile info and list of people in your circles.. */ + const PLUS_LOGIN = + "https://www.googleapis.com/auth/plus.login"; + /** Know who you are on Google. */ + const PLUS_ME = + "https://www.googleapis.com/auth/plus.me"; + /** View your email address. */ + const USERINFO_EMAIL = + "https://www.googleapis.com/auth/userinfo.email"; + /** View your basic profile info. */ + const USERINFO_PROFILE = + "https://www.googleapis.com/auth/userinfo.profile"; + + public $activities; + public $comments; + public $moments; + public $people; + + + /** + * Constructs the internal representation of the Plus service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'plus/v1/'; + $this->version = 'v1'; + $this->serviceName = 'plus'; + + $this->activities = new Google_Service_Plus_Activities_Resource( + $this, + $this->serviceName, + 'activities', + array( + 'methods' => array( + 'get' => array( + 'path' => 'activities/{activityId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'activityId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'people/{userId}/activities/{collection}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'collection' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'search' => array( + 'path' => 'activities', + 'httpMethod' => 'GET', + 'parameters' => array( + 'query' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->comments = new Google_Service_Plus_Comments_Resource( + $this, + $this->serviceName, + 'comments', + array( + 'methods' => array( + 'get' => array( + 'path' => 'comments/{commentId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'commentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'activities/{activityId}/comments', + 'httpMethod' => 'GET', + 'parameters' => array( + 'activityId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->moments = new Google_Service_Plus_Moments_Resource( + $this, + $this->serviceName, + 'moments', + array( + 'methods' => array( + 'insert' => array( + 'path' => 'people/{userId}/moments/{collection}', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'collection' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'debug' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'list' => array( + 'path' => 'people/{userId}/moments/{collection}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'collection' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'targetUrl' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'type' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->people = new Google_Service_Plus_People_Resource( + $this, + $this->serviceName, + 'people', + array( + 'methods' => array( + 'get' => array( + 'path' => 'people/{userId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'people/{userId}/people/{collection}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'collection' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'listByActivity' => array( + 'path' => 'activities/{activityId}/people/{collection}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'activityId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'collection' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'search' => array( + 'path' => 'people', + 'httpMethod' => 'GET', + 'parameters' => array( + 'query' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "activities" collection of methods. + * Typical usage is: + * + * $plusService = new Google_Service_Plus(...); + * $activities = $plusService->activities; + * + */ +class Google_Service_Plus_Activities_Resource extends Google_Service_Resource +{ + + /** + * Get an activity. (activities.get) + * + * @param string $activityId The ID of the activity to get. + * @param array $optParams Optional parameters. + * @return Google_Service_Plus_Activity + */ + public function get($activityId, $optParams = array()) + { + $params = array('activityId' => $activityId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Plus_Activity"); + } + + /** + * List all of the activities in the specified collection for a particular user. + * (activities.listActivities) + * + * @param string $userId The ID of the user to get activities for. The special + * value "me" can be used to indicate the authenticated user. + * @param string $collection The collection of activities to list. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The continuation token, which is used to page + * through large result sets. To get the next page of results, set this + * parameter to the value of "nextPageToken" from the previous response. + * @opt_param string maxResults The maximum number of activities to include in + * the response, which is used for paging. For any response, the actual number + * returned might be less than the specified maxResults. + * @return Google_Service_Plus_ActivityFeed + */ + public function listActivities($userId, $collection, $optParams = array()) + { + $params = array('userId' => $userId, 'collection' => $collection); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Plus_ActivityFeed"); + } + + /** + * Search public activities. (activities.search) + * + * @param string $query Full-text search query string. + * @param array $optParams Optional parameters. + * + * @opt_param string orderBy Specifies how to order search results. + * @opt_param string pageToken The continuation token, which is used to page + * through large result sets. To get the next page of results, set this + * parameter to the value of "nextPageToken" from the previous response. This + * token can be of any length. + * @opt_param string maxResults The maximum number of activities to include in + * the response, which is used for paging. For any response, the actual number + * returned might be less than the specified maxResults. + * @opt_param string language Specify the preferred language to search with. See + * search language codes for available values. + * @return Google_Service_Plus_ActivityFeed + */ + public function search($query, $optParams = array()) + { + $params = array('query' => $query); + $params = array_merge($params, $optParams); + return $this->call('search', array($params), "Google_Service_Plus_ActivityFeed"); + } +} + +/** + * The "comments" collection of methods. + * Typical usage is: + * + * $plusService = new Google_Service_Plus(...); + * $comments = $plusService->comments; + * + */ +class Google_Service_Plus_Comments_Resource extends Google_Service_Resource +{ + + /** + * Get a comment. (comments.get) + * + * @param string $commentId The ID of the comment to get. + * @param array $optParams Optional parameters. + * @return Google_Service_Plus_Comment + */ + public function get($commentId, $optParams = array()) + { + $params = array('commentId' => $commentId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Plus_Comment"); + } + + /** + * List all of the comments for an activity. (comments.listComments) + * + * @param string $activityId The ID of the activity to get comments for. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The continuation token, which is used to page + * through large result sets. To get the next page of results, set this + * parameter to the value of "nextPageToken" from the previous response. + * @opt_param string sortOrder The order in which to sort the list of comments. + * @opt_param string maxResults The maximum number of comments to include in the + * response, which is used for paging. For any response, the actual number + * returned might be less than the specified maxResults. + * @return Google_Service_Plus_CommentFeed + */ + public function listComments($activityId, $optParams = array()) + { + $params = array('activityId' => $activityId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Plus_CommentFeed"); + } +} + +/** + * The "moments" collection of methods. + * Typical usage is: + * + * $plusService = new Google_Service_Plus(...); + * $moments = $plusService->moments; + * + */ +class Google_Service_Plus_Moments_Resource extends Google_Service_Resource +{ + + /** + * Record a moment representing a user's action such as making a purchase or + * commenting on a blog. (moments.insert) + * + * @param string $userId The ID of the user to record actions for. The only + * valid values are "me" and the ID of the authenticated user. + * @param string $collection The collection to which to write moments. + * @param Google_Moment $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool debug Return the moment as written. Should be used only for + * debugging. + * @return Google_Service_Plus_Moment + */ + public function insert($userId, $collection, Google_Service_Plus_Moment $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'collection' => $collection, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Plus_Moment"); + } + + /** + * List all of the moments for a particular user. (moments.listMoments) + * + * @param string $userId The ID of the user to get moments for. The special + * value "me" can be used to indicate the authenticated user. + * @param string $collection The collection of moments to list. + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults The maximum number of moments to include in the + * response, which is used for paging. For any response, the actual number + * returned might be less than the specified maxResults. + * @opt_param string pageToken The continuation token, which is used to page + * through large result sets. To get the next page of results, set this + * parameter to the value of "nextPageToken" from the previous response. + * @opt_param string targetUrl Only moments containing this targetUrl will be + * returned. + * @opt_param string type Only moments of this type will be returned. + * @return Google_Service_Plus_MomentsFeed + */ + public function listMoments($userId, $collection, $optParams = array()) + { + $params = array('userId' => $userId, 'collection' => $collection); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Plus_MomentsFeed"); + } +} + +/** + * The "people" collection of methods. + * Typical usage is: + * + * $plusService = new Google_Service_Plus(...); + * $people = $plusService->people; + * + */ +class Google_Service_Plus_People_Resource extends Google_Service_Resource +{ + + /** + * Get a person's profile. If your app uses scope + * https://www.googleapis.com/auth/plus.login, this method is guaranteed to + * return ageRange and language. (people.get) + * + * @param string $userId The ID of the person to get the profile for. The + * special value "me" can be used to indicate the authenticated user. + * @param array $optParams Optional parameters. + * @return Google_Service_Plus_Person + */ + public function get($userId, $optParams = array()) + { + $params = array('userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Plus_Person"); + } + + /** + * List all of the people in the specified collection. (people.listPeople) + * + * @param string $userId Get the collection of people for the person identified. + * Use "me" to indicate the authenticated user. + * @param string $collection The collection of people to list. + * @param array $optParams Optional parameters. + * + * @opt_param string orderBy The order to return people in. + * @opt_param string pageToken The continuation token, which is used to page + * through large result sets. To get the next page of results, set this + * parameter to the value of "nextPageToken" from the previous response. + * @opt_param string maxResults The maximum number of people to include in the + * response, which is used for paging. For any response, the actual number + * returned might be less than the specified maxResults. + * @return Google_Service_Plus_PeopleFeed + */ + public function listPeople($userId, $collection, $optParams = array()) + { + $params = array('userId' => $userId, 'collection' => $collection); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Plus_PeopleFeed"); + } + + /** + * List all of the people in the specified collection for a particular activity. + * (people.listByActivity) + * + * @param string $activityId The ID of the activity to get the list of people + * for. + * @param string $collection The collection of people to list. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The continuation token, which is used to page + * through large result sets. To get the next page of results, set this + * parameter to the value of "nextPageToken" from the previous response. + * @opt_param string maxResults The maximum number of people to include in the + * response, which is used for paging. For any response, the actual number + * returned might be less than the specified maxResults. + * @return Google_Service_Plus_PeopleFeed + */ + public function listByActivity($activityId, $collection, $optParams = array()) + { + $params = array('activityId' => $activityId, 'collection' => $collection); + $params = array_merge($params, $optParams); + return $this->call('listByActivity', array($params), "Google_Service_Plus_PeopleFeed"); + } + + /** + * Search all public profiles. (people.search) + * + * @param string $query Specify a query string for full text search of public + * text in all profiles. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The continuation token, which is used to page + * through large result sets. To get the next page of results, set this + * parameter to the value of "nextPageToken" from the previous response. This + * token can be of any length. + * @opt_param string maxResults The maximum number of people to include in the + * response, which is used for paging. For any response, the actual number + * returned might be less than the specified maxResults. + * @opt_param string language Specify the preferred language to search with. See + * search language codes for available values. + * @return Google_Service_Plus_PeopleFeed + */ + public function search($query, $optParams = array()) + { + $params = array('query' => $query); + $params = array_merge($params, $optParams); + return $this->call('search', array($params), "Google_Service_Plus_PeopleFeed"); + } +} + + + + +class Google_Service_Plus_Acl extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $description; + protected $itemsType = 'Google_Service_Plus_PlusAclentryResource'; + protected $itemsDataType = 'array'; + public $kind; + + + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Plus_Activity extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $accessType = 'Google_Service_Plus_Acl'; + protected $accessDataType = ''; + protected $actorType = 'Google_Service_Plus_ActivityActor'; + protected $actorDataType = ''; + public $address; + public $annotation; + public $crosspostSource; + public $etag; + public $geocode; + public $id; + public $kind; + protected $locationType = 'Google_Service_Plus_Place'; + protected $locationDataType = ''; + protected $objectType = 'Google_Service_Plus_ActivityObject'; + protected $objectDataType = ''; + public $placeId; + public $placeName; + protected $providerType = 'Google_Service_Plus_ActivityProvider'; + protected $providerDataType = ''; + public $published; + public $radius; + public $title; + public $updated; + public $url; + public $verb; + + + public function setAccess(Google_Service_Plus_Acl $access) + { + $this->access = $access; + } + public function getAccess() + { + return $this->access; + } + public function setActor(Google_Service_Plus_ActivityActor $actor) + { + $this->actor = $actor; + } + public function getActor() + { + return $this->actor; + } + public function setAddress($address) + { + $this->address = $address; + } + public function getAddress() + { + return $this->address; + } + public function setAnnotation($annotation) + { + $this->annotation = $annotation; + } + public function getAnnotation() + { + return $this->annotation; + } + public function setCrosspostSource($crosspostSource) + { + $this->crosspostSource = $crosspostSource; + } + public function getCrosspostSource() + { + return $this->crosspostSource; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setGeocode($geocode) + { + $this->geocode = $geocode; + } + public function getGeocode() + { + return $this->geocode; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLocation(Google_Service_Plus_Place $location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setObject(Google_Service_Plus_ActivityObject $object) + { + $this->object = $object; + } + public function getObject() + { + return $this->object; + } + public function setPlaceId($placeId) + { + $this->placeId = $placeId; + } + public function getPlaceId() + { + return $this->placeId; + } + public function setPlaceName($placeName) + { + $this->placeName = $placeName; + } + public function getPlaceName() + { + return $this->placeName; + } + public function setProvider(Google_Service_Plus_ActivityProvider $provider) + { + $this->provider = $provider; + } + public function getProvider() + { + return $this->provider; + } + public function setPublished($published) + { + $this->published = $published; + } + public function getPublished() + { + return $this->published; + } + public function setRadius($radius) + { + $this->radius = $radius; + } + public function getRadius() + { + return $this->radius; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setVerb($verb) + { + $this->verb = $verb; + } + public function getVerb() + { + return $this->verb; + } +} + +class Google_Service_Plus_ActivityActor extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $clientSpecificActorInfoType = 'Google_Service_Plus_ActivityActorClientSpecificActorInfo'; + protected $clientSpecificActorInfoDataType = ''; + public $displayName; + public $id; + protected $imageType = 'Google_Service_Plus_ActivityActorImage'; + protected $imageDataType = ''; + protected $nameType = 'Google_Service_Plus_ActivityActorName'; + protected $nameDataType = ''; + public $url; + protected $verificationType = 'Google_Service_Plus_ActivityActorVerification'; + protected $verificationDataType = ''; + + + public function setClientSpecificActorInfo(Google_Service_Plus_ActivityActorClientSpecificActorInfo $clientSpecificActorInfo) + { + $this->clientSpecificActorInfo = $clientSpecificActorInfo; + } + public function getClientSpecificActorInfo() + { + return $this->clientSpecificActorInfo; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImage(Google_Service_Plus_ActivityActorImage $image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } + public function setName(Google_Service_Plus_ActivityActorName $name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setVerification(Google_Service_Plus_ActivityActorVerification $verification) + { + $this->verification = $verification; + } + public function getVerification() + { + return $this->verification; + } +} + +class Google_Service_Plus_ActivityActorClientSpecificActorInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $youtubeActorInfoType = 'Google_Service_Plus_ActivityActorClientSpecificActorInfoYoutubeActorInfo'; + protected $youtubeActorInfoDataType = ''; + + + public function setYoutubeActorInfo(Google_Service_Plus_ActivityActorClientSpecificActorInfoYoutubeActorInfo $youtubeActorInfo) + { + $this->youtubeActorInfo = $youtubeActorInfo; + } + public function getYoutubeActorInfo() + { + return $this->youtubeActorInfo; + } +} + +class Google_Service_Plus_ActivityActorClientSpecificActorInfoYoutubeActorInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $channelId; + + + public function setChannelId($channelId) + { + $this->channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } +} + +class Google_Service_Plus_ActivityActorImage extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $url; + + + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_Plus_ActivityActorName extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $familyName; + public $givenName; + + + public function setFamilyName($familyName) + { + $this->familyName = $familyName; + } + public function getFamilyName() + { + return $this->familyName; + } + public function setGivenName($givenName) + { + $this->givenName = $givenName; + } + public function getGivenName() + { + return $this->givenName; + } +} + +class Google_Service_Plus_ActivityActorVerification extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $adHocVerified; + + + public function setAdHocVerified($adHocVerified) + { + $this->adHocVerified = $adHocVerified; + } + public function getAdHocVerified() + { + return $this->adHocVerified; + } +} + +class Google_Service_Plus_ActivityFeed extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + public $id; + protected $itemsType = 'Google_Service_Plus_Activity'; + protected $itemsDataType = 'array'; + public $kind; + public $nextLink; + public $nextPageToken; + public $selfLink; + public $title; + public $updated; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } +} + +class Google_Service_Plus_ActivityObject extends Google_Collection +{ + protected $collection_key = 'attachments'; + protected $internal_gapi_mappings = array( + ); + protected $actorType = 'Google_Service_Plus_ActivityObjectActor'; + protected $actorDataType = ''; + protected $attachmentsType = 'Google_Service_Plus_ActivityObjectAttachments'; + protected $attachmentsDataType = 'array'; + public $content; + public $id; + public $objectType; + public $originalContent; + protected $plusonersType = 'Google_Service_Plus_ActivityObjectPlusoners'; + protected $plusonersDataType = ''; + protected $repliesType = 'Google_Service_Plus_ActivityObjectReplies'; + protected $repliesDataType = ''; + protected $resharersType = 'Google_Service_Plus_ActivityObjectResharers'; + protected $resharersDataType = ''; + public $url; + + + public function setActor(Google_Service_Plus_ActivityObjectActor $actor) + { + $this->actor = $actor; + } + public function getActor() + { + return $this->actor; + } + public function setAttachments($attachments) + { + $this->attachments = $attachments; + } + public function getAttachments() + { + return $this->attachments; + } + public function setContent($content) + { + $this->content = $content; + } + public function getContent() + { + return $this->content; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setObjectType($objectType) + { + $this->objectType = $objectType; + } + public function getObjectType() + { + return $this->objectType; + } + public function setOriginalContent($originalContent) + { + $this->originalContent = $originalContent; + } + public function getOriginalContent() + { + return $this->originalContent; + } + public function setPlusoners(Google_Service_Plus_ActivityObjectPlusoners $plusoners) + { + $this->plusoners = $plusoners; + } + public function getPlusoners() + { + return $this->plusoners; + } + public function setReplies(Google_Service_Plus_ActivityObjectReplies $replies) + { + $this->replies = $replies; + } + public function getReplies() + { + return $this->replies; + } + public function setResharers(Google_Service_Plus_ActivityObjectResharers $resharers) + { + $this->resharers = $resharers; + } + public function getResharers() + { + return $this->resharers; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_Plus_ActivityObjectActor extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $clientSpecificActorInfoType = 'Google_Service_Plus_ActivityObjectActorClientSpecificActorInfo'; + protected $clientSpecificActorInfoDataType = ''; + public $displayName; + public $id; + protected $imageType = 'Google_Service_Plus_ActivityObjectActorImage'; + protected $imageDataType = ''; + public $url; + protected $verificationType = 'Google_Service_Plus_ActivityObjectActorVerification'; + protected $verificationDataType = ''; + + + public function setClientSpecificActorInfo(Google_Service_Plus_ActivityObjectActorClientSpecificActorInfo $clientSpecificActorInfo) + { + $this->clientSpecificActorInfo = $clientSpecificActorInfo; + } + public function getClientSpecificActorInfo() + { + return $this->clientSpecificActorInfo; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImage(Google_Service_Plus_ActivityObjectActorImage $image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setVerification(Google_Service_Plus_ActivityObjectActorVerification $verification) + { + $this->verification = $verification; + } + public function getVerification() + { + return $this->verification; + } +} + +class Google_Service_Plus_ActivityObjectActorClientSpecificActorInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $youtubeActorInfoType = 'Google_Service_Plus_ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo'; + protected $youtubeActorInfoDataType = ''; + + + public function setYoutubeActorInfo(Google_Service_Plus_ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo $youtubeActorInfo) + { + $this->youtubeActorInfo = $youtubeActorInfo; + } + public function getYoutubeActorInfo() + { + return $this->youtubeActorInfo; + } +} + +class Google_Service_Plus_ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $channelId; + + + public function setChannelId($channelId) + { + $this->channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } +} + +class Google_Service_Plus_ActivityObjectActorImage extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $url; + + + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_Plus_ActivityObjectActorVerification extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $adHocVerified; + + + public function setAdHocVerified($adHocVerified) + { + $this->adHocVerified = $adHocVerified; + } + public function getAdHocVerified() + { + return $this->adHocVerified; + } +} + +class Google_Service_Plus_ActivityObjectAttachments extends Google_Collection +{ + protected $collection_key = 'thumbnails'; + protected $internal_gapi_mappings = array( + ); + public $content; + public $displayName; + protected $embedType = 'Google_Service_Plus_ActivityObjectAttachmentsEmbed'; + protected $embedDataType = ''; + protected $fullImageType = 'Google_Service_Plus_ActivityObjectAttachmentsFullImage'; + protected $fullImageDataType = ''; + public $id; + protected $imageType = 'Google_Service_Plus_ActivityObjectAttachmentsImage'; + protected $imageDataType = ''; + public $objectType; + protected $thumbnailsType = 'Google_Service_Plus_ActivityObjectAttachmentsThumbnails'; + protected $thumbnailsDataType = 'array'; + public $url; + + + public function setContent($content) + { + $this->content = $content; + } + public function getContent() + { + return $this->content; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setEmbed(Google_Service_Plus_ActivityObjectAttachmentsEmbed $embed) + { + $this->embed = $embed; + } + public function getEmbed() + { + return $this->embed; + } + public function setFullImage(Google_Service_Plus_ActivityObjectAttachmentsFullImage $fullImage) + { + $this->fullImage = $fullImage; + } + public function getFullImage() + { + return $this->fullImage; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImage(Google_Service_Plus_ActivityObjectAttachmentsImage $image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } + public function setObjectType($objectType) + { + $this->objectType = $objectType; + } + public function getObjectType() + { + return $this->objectType; + } + public function setThumbnails($thumbnails) + { + $this->thumbnails = $thumbnails; + } + public function getThumbnails() + { + return $this->thumbnails; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_Plus_ActivityObjectAttachmentsEmbed extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $type; + public $url; + + + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_Plus_ActivityObjectAttachmentsFullImage extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $height; + public $type; + public $url; + public $width; + + + public function setHeight($height) + { + $this->height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} + +class Google_Service_Plus_ActivityObjectAttachmentsImage extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $height; + public $type; + public $url; + public $width; + + + public function setHeight($height) + { + $this->height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} + +class Google_Service_Plus_ActivityObjectAttachmentsThumbnails extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $description; + protected $imageType = 'Google_Service_Plus_ActivityObjectAttachmentsThumbnailsImage'; + protected $imageDataType = ''; + public $url; + + + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setImage(Google_Service_Plus_ActivityObjectAttachmentsThumbnailsImage $image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_Plus_ActivityObjectAttachmentsThumbnailsImage extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $height; + public $type; + public $url; + public $width; + + + public function setHeight($height) + { + $this->height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} + +class Google_Service_Plus_ActivityObjectPlusoners extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $selfLink; + public $totalItems; + + + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} + +class Google_Service_Plus_ActivityObjectReplies extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $selfLink; + public $totalItems; + + + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} + +class Google_Service_Plus_ActivityObjectResharers extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $selfLink; + public $totalItems; + + + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} + +class Google_Service_Plus_ActivityProvider extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $title; + + + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} + +class Google_Service_Plus_Comment extends Google_Collection +{ + protected $collection_key = 'inReplyTo'; + protected $internal_gapi_mappings = array( + ); + protected $actorType = 'Google_Service_Plus_CommentActor'; + protected $actorDataType = ''; + public $etag; + public $id; + protected $inReplyToType = 'Google_Service_Plus_CommentInReplyTo'; + protected $inReplyToDataType = 'array'; + public $kind; + protected $objectType = 'Google_Service_Plus_CommentObject'; + protected $objectDataType = ''; + protected $plusonersType = 'Google_Service_Plus_CommentPlusoners'; + protected $plusonersDataType = ''; + public $published; + public $selfLink; + public $updated; + public $verb; + + + public function setActor(Google_Service_Plus_CommentActor $actor) + { + $this->actor = $actor; + } + public function getActor() + { + return $this->actor; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInReplyTo($inReplyTo) + { + $this->inReplyTo = $inReplyTo; + } + public function getInReplyTo() + { + return $this->inReplyTo; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setObject(Google_Service_Plus_CommentObject $object) + { + $this->object = $object; + } + public function getObject() + { + return $this->object; + } + public function setPlusoners(Google_Service_Plus_CommentPlusoners $plusoners) + { + $this->plusoners = $plusoners; + } + public function getPlusoners() + { + return $this->plusoners; + } + public function setPublished($published) + { + $this->published = $published; + } + public function getPublished() + { + return $this->published; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setVerb($verb) + { + $this->verb = $verb; + } + public function getVerb() + { + return $this->verb; + } +} + +class Google_Service_Plus_CommentActor extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $clientSpecificActorInfoType = 'Google_Service_Plus_CommentActorClientSpecificActorInfo'; + protected $clientSpecificActorInfoDataType = ''; + public $displayName; + public $id; + protected $imageType = 'Google_Service_Plus_CommentActorImage'; + protected $imageDataType = ''; + public $url; + protected $verificationType = 'Google_Service_Plus_CommentActorVerification'; + protected $verificationDataType = ''; + + + public function setClientSpecificActorInfo(Google_Service_Plus_CommentActorClientSpecificActorInfo $clientSpecificActorInfo) + { + $this->clientSpecificActorInfo = $clientSpecificActorInfo; + } + public function getClientSpecificActorInfo() + { + return $this->clientSpecificActorInfo; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImage(Google_Service_Plus_CommentActorImage $image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setVerification(Google_Service_Plus_CommentActorVerification $verification) + { + $this->verification = $verification; + } + public function getVerification() + { + return $this->verification; + } +} + +class Google_Service_Plus_CommentActorClientSpecificActorInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $youtubeActorInfoType = 'Google_Service_Plus_CommentActorClientSpecificActorInfoYoutubeActorInfo'; + protected $youtubeActorInfoDataType = ''; + + + public function setYoutubeActorInfo(Google_Service_Plus_CommentActorClientSpecificActorInfoYoutubeActorInfo $youtubeActorInfo) + { + $this->youtubeActorInfo = $youtubeActorInfo; + } + public function getYoutubeActorInfo() + { + return $this->youtubeActorInfo; + } +} + +class Google_Service_Plus_CommentActorClientSpecificActorInfoYoutubeActorInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $channelId; + + + public function setChannelId($channelId) + { + $this->channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } +} + +class Google_Service_Plus_CommentActorImage extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $url; + + + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_Plus_CommentActorVerification extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $adHocVerified; + + + public function setAdHocVerified($adHocVerified) + { + $this->adHocVerified = $adHocVerified; + } + public function getAdHocVerified() + { + return $this->adHocVerified; + } +} + +class Google_Service_Plus_CommentFeed extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + public $id; + protected $itemsType = 'Google_Service_Plus_Comment'; + protected $itemsDataType = 'array'; + public $kind; + public $nextLink; + public $nextPageToken; + public $title; + public $updated; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } +} + +class Google_Service_Plus_CommentInReplyTo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $url; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_Plus_CommentObject extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $content; + public $objectType; + public $originalContent; + + + public function setContent($content) + { + $this->content = $content; + } + public function getContent() + { + return $this->content; + } + public function setObjectType($objectType) + { + $this->objectType = $objectType; + } + public function getObjectType() + { + return $this->objectType; + } + public function setOriginalContent($originalContent) + { + $this->originalContent = $originalContent; + } + public function getOriginalContent() + { + return $this->originalContent; + } +} + +class Google_Service_Plus_CommentPlusoners extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $totalItems; + + + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} + +class Google_Service_Plus_ItemScope extends Google_Collection +{ + protected $collection_key = 'performers'; + protected $internal_gapi_mappings = array( + "associatedMedia" => "associated_media", + ); + protected $aboutType = 'Google_Service_Plus_ItemScope'; + protected $aboutDataType = ''; + public $additionalName; + protected $addressType = 'Google_Service_Plus_ItemScope'; + protected $addressDataType = ''; + public $addressCountry; + public $addressLocality; + public $addressRegion; + protected $associatedMediaType = 'Google_Service_Plus_ItemScope'; + protected $associatedMediaDataType = 'array'; + public $attendeeCount; + protected $attendeesType = 'Google_Service_Plus_ItemScope'; + protected $attendeesDataType = 'array'; + protected $audioType = 'Google_Service_Plus_ItemScope'; + protected $audioDataType = ''; + protected $authorType = 'Google_Service_Plus_ItemScope'; + protected $authorDataType = 'array'; + public $bestRating; + public $birthDate; + protected $byArtistType = 'Google_Service_Plus_ItemScope'; + protected $byArtistDataType = ''; + public $caption; + public $contentSize; + public $contentUrl; + protected $contributorType = 'Google_Service_Plus_ItemScope'; + protected $contributorDataType = 'array'; + public $dateCreated; + public $dateModified; + public $datePublished; + public $description; + public $duration; + public $embedUrl; + public $endDate; + public $familyName; + public $gender; + protected $geoType = 'Google_Service_Plus_ItemScope'; + protected $geoDataType = ''; + public $givenName; + public $height; + public $id; + public $image; + protected $inAlbumType = 'Google_Service_Plus_ItemScope'; + protected $inAlbumDataType = ''; + public $kind; + public $latitude; + protected $locationType = 'Google_Service_Plus_ItemScope'; + protected $locationDataType = ''; + public $longitude; + public $name; + protected $partOfTVSeriesType = 'Google_Service_Plus_ItemScope'; + protected $partOfTVSeriesDataType = ''; + protected $performersType = 'Google_Service_Plus_ItemScope'; + protected $performersDataType = 'array'; + public $playerType; + public $postOfficeBoxNumber; + public $postalCode; + public $ratingValue; + protected $reviewRatingType = 'Google_Service_Plus_ItemScope'; + protected $reviewRatingDataType = ''; + public $startDate; + public $streetAddress; + public $text; + protected $thumbnailType = 'Google_Service_Plus_ItemScope'; + protected $thumbnailDataType = ''; + public $thumbnailUrl; + public $tickerSymbol; + public $type; + public $url; + public $width; + public $worstRating; + + + public function setAbout(Google_Service_Plus_ItemScope $about) + { + $this->about = $about; + } + public function getAbout() + { + return $this->about; + } + public function setAdditionalName($additionalName) + { + $this->additionalName = $additionalName; + } + public function getAdditionalName() + { + return $this->additionalName; + } + public function setAddress(Google_Service_Plus_ItemScope $address) + { + $this->address = $address; + } + public function getAddress() + { + return $this->address; + } + public function setAddressCountry($addressCountry) + { + $this->addressCountry = $addressCountry; + } + public function getAddressCountry() + { + return $this->addressCountry; + } + public function setAddressLocality($addressLocality) + { + $this->addressLocality = $addressLocality; + } + public function getAddressLocality() + { + return $this->addressLocality; + } + public function setAddressRegion($addressRegion) + { + $this->addressRegion = $addressRegion; + } + public function getAddressRegion() + { + return $this->addressRegion; + } + public function setAssociatedMedia($associatedMedia) + { + $this->associatedMedia = $associatedMedia; + } + public function getAssociatedMedia() + { + return $this->associatedMedia; + } + public function setAttendeeCount($attendeeCount) + { + $this->attendeeCount = $attendeeCount; + } + public function getAttendeeCount() + { + return $this->attendeeCount; + } + public function setAttendees($attendees) + { + $this->attendees = $attendees; + } + public function getAttendees() + { + return $this->attendees; + } + public function setAudio(Google_Service_Plus_ItemScope $audio) + { + $this->audio = $audio; + } + public function getAudio() + { + return $this->audio; + } + public function setAuthor($author) + { + $this->author = $author; + } + public function getAuthor() + { + return $this->author; + } + public function setBestRating($bestRating) + { + $this->bestRating = $bestRating; + } + public function getBestRating() + { + return $this->bestRating; + } + public function setBirthDate($birthDate) + { + $this->birthDate = $birthDate; + } + public function getBirthDate() + { + return $this->birthDate; + } + public function setByArtist(Google_Service_Plus_ItemScope $byArtist) + { + $this->byArtist = $byArtist; + } + public function getByArtist() + { + return $this->byArtist; + } + public function setCaption($caption) + { + $this->caption = $caption; + } + public function getCaption() + { + return $this->caption; + } + public function setContentSize($contentSize) + { + $this->contentSize = $contentSize; + } + public function getContentSize() + { + return $this->contentSize; + } + public function setContentUrl($contentUrl) + { + $this->contentUrl = $contentUrl; + } + public function getContentUrl() + { + return $this->contentUrl; + } + public function setContributor($contributor) + { + $this->contributor = $contributor; + } + public function getContributor() + { + return $this->contributor; + } + public function setDateCreated($dateCreated) + { + $this->dateCreated = $dateCreated; + } + public function getDateCreated() + { + return $this->dateCreated; + } + public function setDateModified($dateModified) + { + $this->dateModified = $dateModified; + } + public function getDateModified() + { + return $this->dateModified; + } + public function setDatePublished($datePublished) + { + $this->datePublished = $datePublished; + } + public function getDatePublished() + { + return $this->datePublished; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDuration($duration) + { + $this->duration = $duration; + } + public function getDuration() + { + return $this->duration; + } + public function setEmbedUrl($embedUrl) + { + $this->embedUrl = $embedUrl; + } + public function getEmbedUrl() + { + return $this->embedUrl; + } + public function setEndDate($endDate) + { + $this->endDate = $endDate; + } + public function getEndDate() + { + return $this->endDate; + } + public function setFamilyName($familyName) + { + $this->familyName = $familyName; + } + public function getFamilyName() + { + return $this->familyName; + } + public function setGender($gender) + { + $this->gender = $gender; + } + public function getGender() + { + return $this->gender; + } + public function setGeo(Google_Service_Plus_ItemScope $geo) + { + $this->geo = $geo; + } + public function getGeo() + { + return $this->geo; + } + public function setGivenName($givenName) + { + $this->givenName = $givenName; + } + public function getGivenName() + { + return $this->givenName; + } + public function setHeight($height) + { + $this->height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImage($image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } + public function setInAlbum(Google_Service_Plus_ItemScope $inAlbum) + { + $this->inAlbum = $inAlbum; + } + public function getInAlbum() + { + return $this->inAlbum; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLatitude($latitude) + { + $this->latitude = $latitude; + } + public function getLatitude() + { + return $this->latitude; + } + public function setLocation(Google_Service_Plus_ItemScope $location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setLongitude($longitude) + { + $this->longitude = $longitude; + } + public function getLongitude() + { + return $this->longitude; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPartOfTVSeries(Google_Service_Plus_ItemScope $partOfTVSeries) + { + $this->partOfTVSeries = $partOfTVSeries; + } + public function getPartOfTVSeries() + { + return $this->partOfTVSeries; + } + public function setPerformers($performers) + { + $this->performers = $performers; + } + public function getPerformers() + { + return $this->performers; + } + public function setPlayerType($playerType) + { + $this->playerType = $playerType; + } + public function getPlayerType() + { + return $this->playerType; + } + public function setPostOfficeBoxNumber($postOfficeBoxNumber) + { + $this->postOfficeBoxNumber = $postOfficeBoxNumber; + } + public function getPostOfficeBoxNumber() + { + return $this->postOfficeBoxNumber; + } + public function setPostalCode($postalCode) + { + $this->postalCode = $postalCode; + } + public function getPostalCode() + { + return $this->postalCode; + } + public function setRatingValue($ratingValue) + { + $this->ratingValue = $ratingValue; + } + public function getRatingValue() + { + return $this->ratingValue; + } + public function setReviewRating(Google_Service_Plus_ItemScope $reviewRating) + { + $this->reviewRating = $reviewRating; + } + public function getReviewRating() + { + return $this->reviewRating; + } + public function setStartDate($startDate) + { + $this->startDate = $startDate; + } + public function getStartDate() + { + return $this->startDate; + } + public function setStreetAddress($streetAddress) + { + $this->streetAddress = $streetAddress; + } + public function getStreetAddress() + { + return $this->streetAddress; + } + public function setText($text) + { + $this->text = $text; + } + public function getText() + { + return $this->text; + } + public function setThumbnail(Google_Service_Plus_ItemScope $thumbnail) + { + $this->thumbnail = $thumbnail; + } + public function getThumbnail() + { + return $this->thumbnail; + } + public function setThumbnailUrl($thumbnailUrl) + { + $this->thumbnailUrl = $thumbnailUrl; + } + public function getThumbnailUrl() + { + return $this->thumbnailUrl; + } + public function setTickerSymbol($tickerSymbol) + { + $this->tickerSymbol = $tickerSymbol; + } + public function getTickerSymbol() + { + return $this->tickerSymbol; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } + public function setWorstRating($worstRating) + { + $this->worstRating = $worstRating; + } + public function getWorstRating() + { + return $this->worstRating; + } +} + +class Google_Service_Plus_Moment extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $kind; + protected $objectType = 'Google_Service_Plus_ItemScope'; + protected $objectDataType = ''; + protected $resultType = 'Google_Service_Plus_ItemScope'; + protected $resultDataType = ''; + public $startDate; + protected $targetType = 'Google_Service_Plus_ItemScope'; + protected $targetDataType = ''; + public $type; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setObject(Google_Service_Plus_ItemScope $object) + { + $this->object = $object; + } + public function getObject() + { + return $this->object; + } + public function setResult(Google_Service_Plus_ItemScope $result) + { + $this->result = $result; + } + public function getResult() + { + return $this->result; + } + public function setStartDate($startDate) + { + $this->startDate = $startDate; + } + public function getStartDate() + { + return $this->startDate; + } + public function setTarget(Google_Service_Plus_ItemScope $target) + { + $this->target = $target; + } + public function getTarget() + { + return $this->target; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Plus_MomentsFeed extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_Plus_Moment'; + protected $itemsDataType = 'array'; + public $kind; + public $nextLink; + public $nextPageToken; + public $selfLink; + public $title; + public $updated; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } +} + +class Google_Service_Plus_PeopleFeed extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_Plus_Person'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $selfLink; + public $title; + public $totalItems; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} + +class Google_Service_Plus_Person extends Google_Collection +{ + protected $collection_key = 'urls'; + protected $internal_gapi_mappings = array( + ); + public $aboutMe; + protected $ageRangeType = 'Google_Service_Plus_PersonAgeRange'; + protected $ageRangeDataType = ''; + public $birthday; + public $braggingRights; + public $circledByCount; + protected $coverType = 'Google_Service_Plus_PersonCover'; + protected $coverDataType = ''; + public $currentLocation; + public $displayName; + public $domain; + protected $emailsType = 'Google_Service_Plus_PersonEmails'; + protected $emailsDataType = 'array'; + public $etag; + public $gender; + public $id; + protected $imageType = 'Google_Service_Plus_PersonImage'; + protected $imageDataType = ''; + public $isPlusUser; + public $kind; + public $language; + protected $nameType = 'Google_Service_Plus_PersonName'; + protected $nameDataType = ''; + public $nickname; + public $objectType; + public $occupation; + protected $organizationsType = 'Google_Service_Plus_PersonOrganizations'; + protected $organizationsDataType = 'array'; + protected $placesLivedType = 'Google_Service_Plus_PersonPlacesLived'; + protected $placesLivedDataType = 'array'; + public $plusOneCount; + public $relationshipStatus; + public $skills; + public $tagline; + public $url; + protected $urlsType = 'Google_Service_Plus_PersonUrls'; + protected $urlsDataType = 'array'; + public $verified; + + + public function setAboutMe($aboutMe) + { + $this->aboutMe = $aboutMe; + } + public function getAboutMe() + { + return $this->aboutMe; + } + public function setAgeRange(Google_Service_Plus_PersonAgeRange $ageRange) + { + $this->ageRange = $ageRange; + } + public function getAgeRange() + { + return $this->ageRange; + } + public function setBirthday($birthday) + { + $this->birthday = $birthday; + } + public function getBirthday() + { + return $this->birthday; + } + public function setBraggingRights($braggingRights) + { + $this->braggingRights = $braggingRights; + } + public function getBraggingRights() + { + return $this->braggingRights; + } + public function setCircledByCount($circledByCount) + { + $this->circledByCount = $circledByCount; + } + public function getCircledByCount() + { + return $this->circledByCount; + } + public function setCover(Google_Service_Plus_PersonCover $cover) + { + $this->cover = $cover; + } + public function getCover() + { + return $this->cover; + } + public function setCurrentLocation($currentLocation) + { + $this->currentLocation = $currentLocation; + } + public function getCurrentLocation() + { + return $this->currentLocation; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setDomain($domain) + { + $this->domain = $domain; + } + public function getDomain() + { + return $this->domain; + } + public function setEmails($emails) + { + $this->emails = $emails; + } + public function getEmails() + { + return $this->emails; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setGender($gender) + { + $this->gender = $gender; + } + public function getGender() + { + return $this->gender; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImage(Google_Service_Plus_PersonImage $image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } + public function setIsPlusUser($isPlusUser) + { + $this->isPlusUser = $isPlusUser; + } + public function getIsPlusUser() + { + return $this->isPlusUser; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLanguage($language) + { + $this->language = $language; + } + public function getLanguage() + { + return $this->language; + } + public function setName(Google_Service_Plus_PersonName $name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNickname($nickname) + { + $this->nickname = $nickname; + } + public function getNickname() + { + return $this->nickname; + } + public function setObjectType($objectType) + { + $this->objectType = $objectType; + } + public function getObjectType() + { + return $this->objectType; + } + public function setOccupation($occupation) + { + $this->occupation = $occupation; + } + public function getOccupation() + { + return $this->occupation; + } + public function setOrganizations($organizations) + { + $this->organizations = $organizations; + } + public function getOrganizations() + { + return $this->organizations; + } + public function setPlacesLived($placesLived) + { + $this->placesLived = $placesLived; + } + public function getPlacesLived() + { + return $this->placesLived; + } + public function setPlusOneCount($plusOneCount) + { + $this->plusOneCount = $plusOneCount; + } + public function getPlusOneCount() + { + return $this->plusOneCount; + } + public function setRelationshipStatus($relationshipStatus) + { + $this->relationshipStatus = $relationshipStatus; + } + public function getRelationshipStatus() + { + return $this->relationshipStatus; + } + public function setSkills($skills) + { + $this->skills = $skills; + } + public function getSkills() + { + return $this->skills; + } + public function setTagline($tagline) + { + $this->tagline = $tagline; + } + public function getTagline() + { + return $this->tagline; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setUrls($urls) + { + $this->urls = $urls; + } + public function getUrls() + { + return $this->urls; + } + public function setVerified($verified) + { + $this->verified = $verified; + } + public function getVerified() + { + return $this->verified; + } +} + +class Google_Service_Plus_PersonAgeRange extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $max; + public $min; + + + public function setMax($max) + { + $this->max = $max; + } + public function getMax() + { + return $this->max; + } + public function setMin($min) + { + $this->min = $min; + } + public function getMin() + { + return $this->min; + } +} + +class Google_Service_Plus_PersonCover extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $coverInfoType = 'Google_Service_Plus_PersonCoverCoverInfo'; + protected $coverInfoDataType = ''; + protected $coverPhotoType = 'Google_Service_Plus_PersonCoverCoverPhoto'; + protected $coverPhotoDataType = ''; + public $layout; + + + public function setCoverInfo(Google_Service_Plus_PersonCoverCoverInfo $coverInfo) + { + $this->coverInfo = $coverInfo; + } + public function getCoverInfo() + { + return $this->coverInfo; + } + public function setCoverPhoto(Google_Service_Plus_PersonCoverCoverPhoto $coverPhoto) + { + $this->coverPhoto = $coverPhoto; + } + public function getCoverPhoto() + { + return $this->coverPhoto; + } + public function setLayout($layout) + { + $this->layout = $layout; + } + public function getLayout() + { + return $this->layout; + } +} + +class Google_Service_Plus_PersonCoverCoverInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $leftImageOffset; + public $topImageOffset; + + + public function setLeftImageOffset($leftImageOffset) + { + $this->leftImageOffset = $leftImageOffset; + } + public function getLeftImageOffset() + { + return $this->leftImageOffset; + } + public function setTopImageOffset($topImageOffset) + { + $this->topImageOffset = $topImageOffset; + } + public function getTopImageOffset() + { + return $this->topImageOffset; + } +} + +class Google_Service_Plus_PersonCoverCoverPhoto extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $height; + public $url; + public $width; + + + public function setHeight($height) + { + $this->height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} + +class Google_Service_Plus_PersonEmails extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $type; + public $value; + + + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Plus_PersonImage extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $isDefault; + public $url; + + + public function setIsDefault($isDefault) + { + $this->isDefault = $isDefault; + } + public function getIsDefault() + { + return $this->isDefault; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_Plus_PersonName extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $familyName; + public $formatted; + public $givenName; + public $honorificPrefix; + public $honorificSuffix; + public $middleName; + + + public function setFamilyName($familyName) + { + $this->familyName = $familyName; + } + public function getFamilyName() + { + return $this->familyName; + } + public function setFormatted($formatted) + { + $this->formatted = $formatted; + } + public function getFormatted() + { + return $this->formatted; + } + public function setGivenName($givenName) + { + $this->givenName = $givenName; + } + public function getGivenName() + { + return $this->givenName; + } + public function setHonorificPrefix($honorificPrefix) + { + $this->honorificPrefix = $honorificPrefix; + } + public function getHonorificPrefix() + { + return $this->honorificPrefix; + } + public function setHonorificSuffix($honorificSuffix) + { + $this->honorificSuffix = $honorificSuffix; + } + public function getHonorificSuffix() + { + return $this->honorificSuffix; + } + public function setMiddleName($middleName) + { + $this->middleName = $middleName; + } + public function getMiddleName() + { + return $this->middleName; + } +} + +class Google_Service_Plus_PersonOrganizations extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $department; + public $description; + public $endDate; + public $location; + public $name; + public $primary; + public $startDate; + public $title; + public $type; + + + public function setDepartment($department) + { + $this->department = $department; + } + public function getDepartment() + { + return $this->department; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEndDate($endDate) + { + $this->endDate = $endDate; + } + public function getEndDate() + { + return $this->endDate; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPrimary($primary) + { + $this->primary = $primary; + } + public function getPrimary() + { + return $this->primary; + } + public function setStartDate($startDate) + { + $this->startDate = $startDate; + } + public function getStartDate() + { + return $this->startDate; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Plus_PersonPlacesLived extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $primary; + public $value; + + + public function setPrimary($primary) + { + $this->primary = $primary; + } + public function getPrimary() + { + return $this->primary; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Plus_PersonUrls extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $label; + public $type; + public $value; + + + public function setLabel($label) + { + $this->label = $label; + } + public function getLabel() + { + return $this->label; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Plus_Place extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $addressType = 'Google_Service_Plus_PlaceAddress'; + protected $addressDataType = ''; + public $displayName; + public $id; + public $kind; + protected $positionType = 'Google_Service_Plus_PlacePosition'; + protected $positionDataType = ''; + + + public function setAddress(Google_Service_Plus_PlaceAddress $address) + { + $this->address = $address; + } + public function getAddress() + { + return $this->address; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPosition(Google_Service_Plus_PlacePosition $position) + { + $this->position = $position; + } + public function getPosition() + { + return $this->position; + } +} + +class Google_Service_Plus_PlaceAddress extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $formatted; + + + public function setFormatted($formatted) + { + $this->formatted = $formatted; + } + public function getFormatted() + { + return $this->formatted; + } +} + +class Google_Service_Plus_PlacePosition extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $latitude; + public $longitude; + + + public function setLatitude($latitude) + { + $this->latitude = $latitude; + } + public function getLatitude() + { + return $this->latitude; + } + public function setLongitude($longitude) + { + $this->longitude = $longitude; + } + public function getLongitude() + { + return $this->longitude; + } +} + +class Google_Service_Plus_PlusAclentryResource extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $displayName; + public $id; + public $type; + + + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/PlusDomains.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/PlusDomains.php new file mode 100644 index 0000000..9053c98 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/PlusDomains.php @@ -0,0 +1,3929 @@ + + * The Google+ API enables developers to build on top of the Google+ platform.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_PlusDomains extends Google_Service +{ + /** View your circles and the people and pages in them. */ + const PLUS_CIRCLES_READ = + "https://www.googleapis.com/auth/plus.circles.read"; + /** Manage your circles and add people and pages. People and pages you add to your circles will be notified. Others may see this information publicly. People you add to circles can use Hangouts with you.. */ + const PLUS_CIRCLES_WRITE = + "https://www.googleapis.com/auth/plus.circles.write"; + /** Know your basic profile info and list of people in your circles.. */ + const PLUS_LOGIN = + "https://www.googleapis.com/auth/plus.login"; + /** Know who you are on Google. */ + const PLUS_ME = + "https://www.googleapis.com/auth/plus.me"; + /** Send your photos and videos to Google+. */ + const PLUS_MEDIA_UPLOAD = + "https://www.googleapis.com/auth/plus.media.upload"; + /** View your own Google+ profile and profiles visible to you. */ + const PLUS_PROFILES_READ = + "https://www.googleapis.com/auth/plus.profiles.read"; + /** View your Google+ posts, comments, and stream. */ + const PLUS_STREAM_READ = + "https://www.googleapis.com/auth/plus.stream.read"; + /** Manage your Google+ posts, comments, and stream. */ + const PLUS_STREAM_WRITE = + "https://www.googleapis.com/auth/plus.stream.write"; + /** View your email address. */ + const USERINFO_EMAIL = + "https://www.googleapis.com/auth/userinfo.email"; + /** View your basic profile info. */ + const USERINFO_PROFILE = + "https://www.googleapis.com/auth/userinfo.profile"; + + public $activities; + public $audiences; + public $circles; + public $comments; + public $media; + public $people; + + + /** + * Constructs the internal representation of the PlusDomains service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'plusDomains/v1/'; + $this->version = 'v1'; + $this->serviceName = 'plusDomains'; + + $this->activities = new Google_Service_PlusDomains_Activities_Resource( + $this, + $this->serviceName, + 'activities', + array( + 'methods' => array( + 'get' => array( + 'path' => 'activities/{activityId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'activityId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'people/{userId}/activities', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'preview' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'list' => array( + 'path' => 'people/{userId}/activities/{collection}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'collection' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->audiences = new Google_Service_PlusDomains_Audiences_Resource( + $this, + $this->serviceName, + 'audiences', + array( + 'methods' => array( + 'list' => array( + 'path' => 'people/{userId}/audiences', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->circles = new Google_Service_PlusDomains_Circles_Resource( + $this, + $this->serviceName, + 'circles', + array( + 'methods' => array( + 'addPeople' => array( + 'path' => 'circles/{circleId}/people', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'circleId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'email' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ),'get' => array( + 'path' => 'circles/{circleId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'circleId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'people/{userId}/circles', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'people/{userId}/circles', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => 'circles/{circleId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'circleId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'remove' => array( + 'path' => 'circles/{circleId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'circleId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'removePeople' => array( + 'path' => 'circles/{circleId}/people', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'circleId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'email' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ),'update' => array( + 'path' => 'circles/{circleId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'circleId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->comments = new Google_Service_PlusDomains_Comments_Resource( + $this, + $this->serviceName, + 'comments', + array( + 'methods' => array( + 'get' => array( + 'path' => 'comments/{commentId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'commentId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'activities/{activityId}/comments', + 'httpMethod' => 'POST', + 'parameters' => array( + 'activityId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'activities/{activityId}/comments', + 'httpMethod' => 'GET', + 'parameters' => array( + 'activityId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sortOrder' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->media = new Google_Service_PlusDomains_Media_Resource( + $this, + $this->serviceName, + 'media', + array( + 'methods' => array( + 'insert' => array( + 'path' => 'people/{userId}/media/{collection}', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'collection' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->people = new Google_Service_PlusDomains_People_Resource( + $this, + $this->serviceName, + 'people', + array( + 'methods' => array( + 'get' => array( + 'path' => 'people/{userId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'people/{userId}/people/{collection}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'collection' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'listByActivity' => array( + 'path' => 'activities/{activityId}/people/{collection}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'activityId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'collection' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'listByCircle' => array( + 'path' => 'circles/{circleId}/people', + 'httpMethod' => 'GET', + 'parameters' => array( + 'circleId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "activities" collection of methods. + * Typical usage is: + * + * $plusDomainsService = new Google_Service_PlusDomains(...); + * $activities = $plusDomainsService->activities; + * + */ +class Google_Service_PlusDomains_Activities_Resource extends Google_Service_Resource +{ + + /** + * Get an activity. (activities.get) + * + * @param string $activityId The ID of the activity to get. + * @param array $optParams Optional parameters. + * @return Google_Service_PlusDomains_Activity + */ + public function get($activityId, $optParams = array()) + { + $params = array('activityId' => $activityId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_PlusDomains_Activity"); + } + + /** + * Create a new activity for the authenticated user. (activities.insert) + * + * @param string $userId The ID of the user to create the activity on behalf of. + * Its value should be "me", to indicate the authenticated user. + * @param Google_Activity $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool preview If "true", extract the potential media attachments + * for a URL. The response will include all possible attachments for a URL, + * including video, photos, and articles based on the content of the page. + * @return Google_Service_PlusDomains_Activity + */ + public function insert($userId, Google_Service_PlusDomains_Activity $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_PlusDomains_Activity"); + } + + /** + * List all of the activities in the specified collection for a particular user. + * (activities.listActivities) + * + * @param string $userId The ID of the user to get activities for. The special + * value "me" can be used to indicate the authenticated user. + * @param string $collection The collection of activities to list. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The continuation token, which is used to page + * through large result sets. To get the next page of results, set this + * parameter to the value of "nextPageToken" from the previous response. + * @opt_param string maxResults The maximum number of activities to include in + * the response, which is used for paging. For any response, the actual number + * returned might be less than the specified maxResults. + * @return Google_Service_PlusDomains_ActivityFeed + */ + public function listActivities($userId, $collection, $optParams = array()) + { + $params = array('userId' => $userId, 'collection' => $collection); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_PlusDomains_ActivityFeed"); + } +} + +/** + * The "audiences" collection of methods. + * Typical usage is: + * + * $plusDomainsService = new Google_Service_PlusDomains(...); + * $audiences = $plusDomainsService->audiences; + * + */ +class Google_Service_PlusDomains_Audiences_Resource extends Google_Service_Resource +{ + + /** + * List all of the audiences to which a user can share. + * (audiences.listAudiences) + * + * @param string $userId The ID of the user to get audiences for. The special + * value "me" can be used to indicate the authenticated user. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The continuation token, which is used to page + * through large result sets. To get the next page of results, set this + * parameter to the value of "nextPageToken" from the previous response. + * @opt_param string maxResults The maximum number of circles to include in the + * response, which is used for paging. For any response, the actual number + * returned might be less than the specified maxResults. + * @return Google_Service_PlusDomains_AudiencesFeed + */ + public function listAudiences($userId, $optParams = array()) + { + $params = array('userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_PlusDomains_AudiencesFeed"); + } +} + +/** + * The "circles" collection of methods. + * Typical usage is: + * + * $plusDomainsService = new Google_Service_PlusDomains(...); + * $circles = $plusDomainsService->circles; + * + */ +class Google_Service_PlusDomains_Circles_Resource extends Google_Service_Resource +{ + + /** + * Add a person to a circle. Google+ limits certain circle operations, including + * the number of circle adds. Learn More. (circles.addPeople) + * + * @param string $circleId The ID of the circle to add the person to. + * @param array $optParams Optional parameters. + * + * @opt_param string userId IDs of the people to add to the circle. Optional, + * can be repeated. + * @opt_param string email Email of the people to add to the circle. Optional, + * can be repeated. + * @return Google_Service_PlusDomains_Circle + */ + public function addPeople($circleId, $optParams = array()) + { + $params = array('circleId' => $circleId); + $params = array_merge($params, $optParams); + return $this->call('addPeople', array($params), "Google_Service_PlusDomains_Circle"); + } + + /** + * Get a circle. (circles.get) + * + * @param string $circleId The ID of the circle to get. + * @param array $optParams Optional parameters. + * @return Google_Service_PlusDomains_Circle + */ + public function get($circleId, $optParams = array()) + { + $params = array('circleId' => $circleId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_PlusDomains_Circle"); + } + + /** + * Create a new circle for the authenticated user. (circles.insert) + * + * @param string $userId The ID of the user to create the circle on behalf of. + * The value "me" can be used to indicate the authenticated user. + * @param Google_Circle $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_PlusDomains_Circle + */ + public function insert($userId, Google_Service_PlusDomains_Circle $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_PlusDomains_Circle"); + } + + /** + * List all of the circles for a user. (circles.listCircles) + * + * @param string $userId The ID of the user to get circles for. The special + * value "me" can be used to indicate the authenticated user. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The continuation token, which is used to page + * through large result sets. To get the next page of results, set this + * parameter to the value of "nextPageToken" from the previous response. + * @opt_param string maxResults The maximum number of circles to include in the + * response, which is used for paging. For any response, the actual number + * returned might be less than the specified maxResults. + * @return Google_Service_PlusDomains_CircleFeed + */ + public function listCircles($userId, $optParams = array()) + { + $params = array('userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_PlusDomains_CircleFeed"); + } + + /** + * Update a circle's description. This method supports patch semantics. + * (circles.patch) + * + * @param string $circleId The ID of the circle to update. + * @param Google_Circle $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_PlusDomains_Circle + */ + public function patch($circleId, Google_Service_PlusDomains_Circle $postBody, $optParams = array()) + { + $params = array('circleId' => $circleId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_PlusDomains_Circle"); + } + + /** + * Delete a circle. (circles.remove) + * + * @param string $circleId The ID of the circle to delete. + * @param array $optParams Optional parameters. + */ + public function remove($circleId, $optParams = array()) + { + $params = array('circleId' => $circleId); + $params = array_merge($params, $optParams); + return $this->call('remove', array($params)); + } + + /** + * Remove a person from a circle. (circles.removePeople) + * + * @param string $circleId The ID of the circle to remove the person from. + * @param array $optParams Optional parameters. + * + * @opt_param string userId IDs of the people to remove from the circle. + * Optional, can be repeated. + * @opt_param string email Email of the people to add to the circle. Optional, + * can be repeated. + */ + public function removePeople($circleId, $optParams = array()) + { + $params = array('circleId' => $circleId); + $params = array_merge($params, $optParams); + return $this->call('removePeople', array($params)); + } + + /** + * Update a circle's description. (circles.update) + * + * @param string $circleId The ID of the circle to update. + * @param Google_Circle $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_PlusDomains_Circle + */ + public function update($circleId, Google_Service_PlusDomains_Circle $postBody, $optParams = array()) + { + $params = array('circleId' => $circleId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_PlusDomains_Circle"); + } +} + +/** + * The "comments" collection of methods. + * Typical usage is: + * + * $plusDomainsService = new Google_Service_PlusDomains(...); + * $comments = $plusDomainsService->comments; + * + */ +class Google_Service_PlusDomains_Comments_Resource extends Google_Service_Resource +{ + + /** + * Get a comment. (comments.get) + * + * @param string $commentId The ID of the comment to get. + * @param array $optParams Optional parameters. + * @return Google_Service_PlusDomains_Comment + */ + public function get($commentId, $optParams = array()) + { + $params = array('commentId' => $commentId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_PlusDomains_Comment"); + } + + /** + * Create a new comment in reply to an activity. (comments.insert) + * + * @param string $activityId The ID of the activity to reply to. + * @param Google_Comment $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_PlusDomains_Comment + */ + public function insert($activityId, Google_Service_PlusDomains_Comment $postBody, $optParams = array()) + { + $params = array('activityId' => $activityId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_PlusDomains_Comment"); + } + + /** + * List all of the comments for an activity. (comments.listComments) + * + * @param string $activityId The ID of the activity to get comments for. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The continuation token, which is used to page + * through large result sets. To get the next page of results, set this + * parameter to the value of "nextPageToken" from the previous response. + * @opt_param string sortOrder The order in which to sort the list of comments. + * @opt_param string maxResults The maximum number of comments to include in the + * response, which is used for paging. For any response, the actual number + * returned might be less than the specified maxResults. + * @return Google_Service_PlusDomains_CommentFeed + */ + public function listComments($activityId, $optParams = array()) + { + $params = array('activityId' => $activityId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_PlusDomains_CommentFeed"); + } +} + +/** + * The "media" collection of methods. + * Typical usage is: + * + * $plusDomainsService = new Google_Service_PlusDomains(...); + * $media = $plusDomainsService->media; + * + */ +class Google_Service_PlusDomains_Media_Resource extends Google_Service_Resource +{ + + /** + * Add a new media item to an album. The current upload size limitations are + * 36MB for a photo and 1GB for a video. Uploads do not count against quota if + * photos are less than 2048 pixels on their longest side or videos are less + * than 15 minutes in length. (media.insert) + * + * @param string $userId The ID of the user to create the activity on behalf of. + * @param string $collection + * @param Google_Media $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_PlusDomains_Media + */ + public function insert($userId, $collection, Google_Service_PlusDomains_Media $postBody, $optParams = array()) + { + $params = array('userId' => $userId, 'collection' => $collection, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_PlusDomains_Media"); + } +} + +/** + * The "people" collection of methods. + * Typical usage is: + * + * $plusDomainsService = new Google_Service_PlusDomains(...); + * $people = $plusDomainsService->people; + * + */ +class Google_Service_PlusDomains_People_Resource extends Google_Service_Resource +{ + + /** + * Get a person's profile. (people.get) + * + * @param string $userId The ID of the person to get the profile for. The + * special value "me" can be used to indicate the authenticated user. + * @param array $optParams Optional parameters. + * @return Google_Service_PlusDomains_Person + */ + public function get($userId, $optParams = array()) + { + $params = array('userId' => $userId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_PlusDomains_Person"); + } + + /** + * List all of the people in the specified collection. (people.listPeople) + * + * @param string $userId Get the collection of people for the person identified. + * Use "me" to indicate the authenticated user. + * @param string $collection The collection of people to list. + * @param array $optParams Optional parameters. + * + * @opt_param string orderBy The order to return people in. + * @opt_param string pageToken The continuation token, which is used to page + * through large result sets. To get the next page of results, set this + * parameter to the value of "nextPageToken" from the previous response. + * @opt_param string maxResults The maximum number of people to include in the + * response, which is used for paging. For any response, the actual number + * returned might be less than the specified maxResults. + * @return Google_Service_PlusDomains_PeopleFeed + */ + public function listPeople($userId, $collection, $optParams = array()) + { + $params = array('userId' => $userId, 'collection' => $collection); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_PlusDomains_PeopleFeed"); + } + + /** + * List all of the people in the specified collection for a particular activity. + * (people.listByActivity) + * + * @param string $activityId The ID of the activity to get the list of people + * for. + * @param string $collection The collection of people to list. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The continuation token, which is used to page + * through large result sets. To get the next page of results, set this + * parameter to the value of "nextPageToken" from the previous response. + * @opt_param string maxResults The maximum number of people to include in the + * response, which is used for paging. For any response, the actual number + * returned might be less than the specified maxResults. + * @return Google_Service_PlusDomains_PeopleFeed + */ + public function listByActivity($activityId, $collection, $optParams = array()) + { + $params = array('activityId' => $activityId, 'collection' => $collection); + $params = array_merge($params, $optParams); + return $this->call('listByActivity', array($params), "Google_Service_PlusDomains_PeopleFeed"); + } + + /** + * List all of the people who are members of a circle. (people.listByCircle) + * + * @param string $circleId The ID of the circle to get the members of. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The continuation token, which is used to page + * through large result sets. To get the next page of results, set this + * parameter to the value of "nextPageToken" from the previous response. + * @opt_param string maxResults The maximum number of people to include in the + * response, which is used for paging. For any response, the actual number + * returned might be less than the specified maxResults. + * @return Google_Service_PlusDomains_PeopleFeed + */ + public function listByCircle($circleId, $optParams = array()) + { + $params = array('circleId' => $circleId); + $params = array_merge($params, $optParams); + return $this->call('listByCircle', array($params), "Google_Service_PlusDomains_PeopleFeed"); + } +} + + + + +class Google_Service_PlusDomains_Acl extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $description; + public $domainRestricted; + protected $itemsType = 'Google_Service_PlusDomains_PlusDomainsAclentryResource'; + protected $itemsDataType = 'array'; + public $kind; + + + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDomainRestricted($domainRestricted) + { + $this->domainRestricted = $domainRestricted; + } + public function getDomainRestricted() + { + return $this->domainRestricted; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_PlusDomains_Activity extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $accessType = 'Google_Service_PlusDomains_Acl'; + protected $accessDataType = ''; + protected $actorType = 'Google_Service_PlusDomains_ActivityActor'; + protected $actorDataType = ''; + public $address; + public $annotation; + public $crosspostSource; + public $etag; + public $geocode; + public $id; + public $kind; + protected $locationType = 'Google_Service_PlusDomains_Place'; + protected $locationDataType = ''; + protected $objectType = 'Google_Service_PlusDomains_ActivityObject'; + protected $objectDataType = ''; + public $placeId; + public $placeName; + protected $providerType = 'Google_Service_PlusDomains_ActivityProvider'; + protected $providerDataType = ''; + public $published; + public $radius; + public $title; + public $updated; + public $url; + public $verb; + + + public function setAccess(Google_Service_PlusDomains_Acl $access) + { + $this->access = $access; + } + public function getAccess() + { + return $this->access; + } + public function setActor(Google_Service_PlusDomains_ActivityActor $actor) + { + $this->actor = $actor; + } + public function getActor() + { + return $this->actor; + } + public function setAddress($address) + { + $this->address = $address; + } + public function getAddress() + { + return $this->address; + } + public function setAnnotation($annotation) + { + $this->annotation = $annotation; + } + public function getAnnotation() + { + return $this->annotation; + } + public function setCrosspostSource($crosspostSource) + { + $this->crosspostSource = $crosspostSource; + } + public function getCrosspostSource() + { + return $this->crosspostSource; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setGeocode($geocode) + { + $this->geocode = $geocode; + } + public function getGeocode() + { + return $this->geocode; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLocation(Google_Service_PlusDomains_Place $location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setObject(Google_Service_PlusDomains_ActivityObject $object) + { + $this->object = $object; + } + public function getObject() + { + return $this->object; + } + public function setPlaceId($placeId) + { + $this->placeId = $placeId; + } + public function getPlaceId() + { + return $this->placeId; + } + public function setPlaceName($placeName) + { + $this->placeName = $placeName; + } + public function getPlaceName() + { + return $this->placeName; + } + public function setProvider(Google_Service_PlusDomains_ActivityProvider $provider) + { + $this->provider = $provider; + } + public function getProvider() + { + return $this->provider; + } + public function setPublished($published) + { + $this->published = $published; + } + public function getPublished() + { + return $this->published; + } + public function setRadius($radius) + { + $this->radius = $radius; + } + public function getRadius() + { + return $this->radius; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setVerb($verb) + { + $this->verb = $verb; + } + public function getVerb() + { + return $this->verb; + } +} + +class Google_Service_PlusDomains_ActivityActor extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $clientSpecificActorInfoType = 'Google_Service_PlusDomains_ActivityActorClientSpecificActorInfo'; + protected $clientSpecificActorInfoDataType = ''; + public $displayName; + public $id; + protected $imageType = 'Google_Service_PlusDomains_ActivityActorImage'; + protected $imageDataType = ''; + protected $nameType = 'Google_Service_PlusDomains_ActivityActorName'; + protected $nameDataType = ''; + public $url; + protected $verificationType = 'Google_Service_PlusDomains_ActivityActorVerification'; + protected $verificationDataType = ''; + + + public function setClientSpecificActorInfo(Google_Service_PlusDomains_ActivityActorClientSpecificActorInfo $clientSpecificActorInfo) + { + $this->clientSpecificActorInfo = $clientSpecificActorInfo; + } + public function getClientSpecificActorInfo() + { + return $this->clientSpecificActorInfo; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImage(Google_Service_PlusDomains_ActivityActorImage $image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } + public function setName(Google_Service_PlusDomains_ActivityActorName $name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setVerification(Google_Service_PlusDomains_ActivityActorVerification $verification) + { + $this->verification = $verification; + } + public function getVerification() + { + return $this->verification; + } +} + +class Google_Service_PlusDomains_ActivityActorClientSpecificActorInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $youtubeActorInfoType = 'Google_Service_PlusDomains_ActivityActorClientSpecificActorInfoYoutubeActorInfo'; + protected $youtubeActorInfoDataType = ''; + + + public function setYoutubeActorInfo(Google_Service_PlusDomains_ActivityActorClientSpecificActorInfoYoutubeActorInfo $youtubeActorInfo) + { + $this->youtubeActorInfo = $youtubeActorInfo; + } + public function getYoutubeActorInfo() + { + return $this->youtubeActorInfo; + } +} + +class Google_Service_PlusDomains_ActivityActorClientSpecificActorInfoYoutubeActorInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $channelId; + + + public function setChannelId($channelId) + { + $this->channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } +} + +class Google_Service_PlusDomains_ActivityActorImage extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $url; + + + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_PlusDomains_ActivityActorName extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $familyName; + public $givenName; + + + public function setFamilyName($familyName) + { + $this->familyName = $familyName; + } + public function getFamilyName() + { + return $this->familyName; + } + public function setGivenName($givenName) + { + $this->givenName = $givenName; + } + public function getGivenName() + { + return $this->givenName; + } +} + +class Google_Service_PlusDomains_ActivityActorVerification extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $adHocVerified; + + + public function setAdHocVerified($adHocVerified) + { + $this->adHocVerified = $adHocVerified; + } + public function getAdHocVerified() + { + return $this->adHocVerified; + } +} + +class Google_Service_PlusDomains_ActivityFeed extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + public $id; + protected $itemsType = 'Google_Service_PlusDomains_Activity'; + protected $itemsDataType = 'array'; + public $kind; + public $nextLink; + public $nextPageToken; + public $selfLink; + public $title; + public $updated; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } +} + +class Google_Service_PlusDomains_ActivityObject extends Google_Collection +{ + protected $collection_key = 'attachments'; + protected $internal_gapi_mappings = array( + ); + protected $actorType = 'Google_Service_PlusDomains_ActivityObjectActor'; + protected $actorDataType = ''; + protected $attachmentsType = 'Google_Service_PlusDomains_ActivityObjectAttachments'; + protected $attachmentsDataType = 'array'; + public $content; + public $id; + public $objectType; + public $originalContent; + protected $plusonersType = 'Google_Service_PlusDomains_ActivityObjectPlusoners'; + protected $plusonersDataType = ''; + protected $repliesType = 'Google_Service_PlusDomains_ActivityObjectReplies'; + protected $repliesDataType = ''; + protected $resharersType = 'Google_Service_PlusDomains_ActivityObjectResharers'; + protected $resharersDataType = ''; + protected $statusForViewerType = 'Google_Service_PlusDomains_ActivityObjectStatusForViewer'; + protected $statusForViewerDataType = ''; + public $url; + + + public function setActor(Google_Service_PlusDomains_ActivityObjectActor $actor) + { + $this->actor = $actor; + } + public function getActor() + { + return $this->actor; + } + public function setAttachments($attachments) + { + $this->attachments = $attachments; + } + public function getAttachments() + { + return $this->attachments; + } + public function setContent($content) + { + $this->content = $content; + } + public function getContent() + { + return $this->content; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setObjectType($objectType) + { + $this->objectType = $objectType; + } + public function getObjectType() + { + return $this->objectType; + } + public function setOriginalContent($originalContent) + { + $this->originalContent = $originalContent; + } + public function getOriginalContent() + { + return $this->originalContent; + } + public function setPlusoners(Google_Service_PlusDomains_ActivityObjectPlusoners $plusoners) + { + $this->plusoners = $plusoners; + } + public function getPlusoners() + { + return $this->plusoners; + } + public function setReplies(Google_Service_PlusDomains_ActivityObjectReplies $replies) + { + $this->replies = $replies; + } + public function getReplies() + { + return $this->replies; + } + public function setResharers(Google_Service_PlusDomains_ActivityObjectResharers $resharers) + { + $this->resharers = $resharers; + } + public function getResharers() + { + return $this->resharers; + } + public function setStatusForViewer(Google_Service_PlusDomains_ActivityObjectStatusForViewer $statusForViewer) + { + $this->statusForViewer = $statusForViewer; + } + public function getStatusForViewer() + { + return $this->statusForViewer; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_PlusDomains_ActivityObjectActor extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $clientSpecificActorInfoType = 'Google_Service_PlusDomains_ActivityObjectActorClientSpecificActorInfo'; + protected $clientSpecificActorInfoDataType = ''; + public $displayName; + public $id; + protected $imageType = 'Google_Service_PlusDomains_ActivityObjectActorImage'; + protected $imageDataType = ''; + public $url; + protected $verificationType = 'Google_Service_PlusDomains_ActivityObjectActorVerification'; + protected $verificationDataType = ''; + + + public function setClientSpecificActorInfo(Google_Service_PlusDomains_ActivityObjectActorClientSpecificActorInfo $clientSpecificActorInfo) + { + $this->clientSpecificActorInfo = $clientSpecificActorInfo; + } + public function getClientSpecificActorInfo() + { + return $this->clientSpecificActorInfo; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImage(Google_Service_PlusDomains_ActivityObjectActorImage $image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setVerification(Google_Service_PlusDomains_ActivityObjectActorVerification $verification) + { + $this->verification = $verification; + } + public function getVerification() + { + return $this->verification; + } +} + +class Google_Service_PlusDomains_ActivityObjectActorClientSpecificActorInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $youtubeActorInfoType = 'Google_Service_PlusDomains_ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo'; + protected $youtubeActorInfoDataType = ''; + + + public function setYoutubeActorInfo(Google_Service_PlusDomains_ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo $youtubeActorInfo) + { + $this->youtubeActorInfo = $youtubeActorInfo; + } + public function getYoutubeActorInfo() + { + return $this->youtubeActorInfo; + } +} + +class Google_Service_PlusDomains_ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $channelId; + + + public function setChannelId($channelId) + { + $this->channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } +} + +class Google_Service_PlusDomains_ActivityObjectActorImage extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $url; + + + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_PlusDomains_ActivityObjectActorVerification extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $adHocVerified; + + + public function setAdHocVerified($adHocVerified) + { + $this->adHocVerified = $adHocVerified; + } + public function getAdHocVerified() + { + return $this->adHocVerified; + } +} + +class Google_Service_PlusDomains_ActivityObjectAttachments extends Google_Collection +{ + protected $collection_key = 'thumbnails'; + protected $internal_gapi_mappings = array( + ); + public $content; + public $displayName; + protected $embedType = 'Google_Service_PlusDomains_ActivityObjectAttachmentsEmbed'; + protected $embedDataType = ''; + protected $fullImageType = 'Google_Service_PlusDomains_ActivityObjectAttachmentsFullImage'; + protected $fullImageDataType = ''; + public $id; + protected $imageType = 'Google_Service_PlusDomains_ActivityObjectAttachmentsImage'; + protected $imageDataType = ''; + public $objectType; + protected $previewThumbnailsType = 'Google_Service_PlusDomains_ActivityObjectAttachmentsPreviewThumbnails'; + protected $previewThumbnailsDataType = 'array'; + protected $thumbnailsType = 'Google_Service_PlusDomains_ActivityObjectAttachmentsThumbnails'; + protected $thumbnailsDataType = 'array'; + public $url; + + + public function setContent($content) + { + $this->content = $content; + } + public function getContent() + { + return $this->content; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setEmbed(Google_Service_PlusDomains_ActivityObjectAttachmentsEmbed $embed) + { + $this->embed = $embed; + } + public function getEmbed() + { + return $this->embed; + } + public function setFullImage(Google_Service_PlusDomains_ActivityObjectAttachmentsFullImage $fullImage) + { + $this->fullImage = $fullImage; + } + public function getFullImage() + { + return $this->fullImage; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImage(Google_Service_PlusDomains_ActivityObjectAttachmentsImage $image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } + public function setObjectType($objectType) + { + $this->objectType = $objectType; + } + public function getObjectType() + { + return $this->objectType; + } + public function setPreviewThumbnails($previewThumbnails) + { + $this->previewThumbnails = $previewThumbnails; + } + public function getPreviewThumbnails() + { + return $this->previewThumbnails; + } + public function setThumbnails($thumbnails) + { + $this->thumbnails = $thumbnails; + } + public function getThumbnails() + { + return $this->thumbnails; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_PlusDomains_ActivityObjectAttachmentsEmbed extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $type; + public $url; + + + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_PlusDomains_ActivityObjectAttachmentsFullImage extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $height; + public $type; + public $url; + public $width; + + + public function setHeight($height) + { + $this->height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} + +class Google_Service_PlusDomains_ActivityObjectAttachmentsImage extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $height; + public $type; + public $url; + public $width; + + + public function setHeight($height) + { + $this->height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} + +class Google_Service_PlusDomains_ActivityObjectAttachmentsPreviewThumbnails extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $url; + + + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_PlusDomains_ActivityObjectAttachmentsThumbnails extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $description; + protected $imageType = 'Google_Service_PlusDomains_ActivityObjectAttachmentsThumbnailsImage'; + protected $imageDataType = ''; + public $url; + + + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setImage(Google_Service_PlusDomains_ActivityObjectAttachmentsThumbnailsImage $image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_PlusDomains_ActivityObjectAttachmentsThumbnailsImage extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $height; + public $type; + public $url; + public $width; + + + public function setHeight($height) + { + $this->height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} + +class Google_Service_PlusDomains_ActivityObjectPlusoners extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $selfLink; + public $totalItems; + + + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} + +class Google_Service_PlusDomains_ActivityObjectReplies extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $selfLink; + public $totalItems; + + + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} + +class Google_Service_PlusDomains_ActivityObjectResharers extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $selfLink; + public $totalItems; + + + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} + +class Google_Service_PlusDomains_ActivityObjectStatusForViewer extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $canComment; + public $canPlusone; + public $canUpdate; + public $isPlusOned; + public $resharingDisabled; + + + public function setCanComment($canComment) + { + $this->canComment = $canComment; + } + public function getCanComment() + { + return $this->canComment; + } + public function setCanPlusone($canPlusone) + { + $this->canPlusone = $canPlusone; + } + public function getCanPlusone() + { + return $this->canPlusone; + } + public function setCanUpdate($canUpdate) + { + $this->canUpdate = $canUpdate; + } + public function getCanUpdate() + { + return $this->canUpdate; + } + public function setIsPlusOned($isPlusOned) + { + $this->isPlusOned = $isPlusOned; + } + public function getIsPlusOned() + { + return $this->isPlusOned; + } + public function setResharingDisabled($resharingDisabled) + { + $this->resharingDisabled = $resharingDisabled; + } + public function getResharingDisabled() + { + return $this->resharingDisabled; + } +} + +class Google_Service_PlusDomains_ActivityProvider extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $title; + + + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} + +class Google_Service_PlusDomains_Audience extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemType = 'Google_Service_PlusDomains_PlusDomainsAclentryResource'; + protected $itemDataType = ''; + public $kind; + public $memberCount; + public $visibility; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItem(Google_Service_PlusDomains_PlusDomainsAclentryResource $item) + { + $this->item = $item; + } + public function getItem() + { + return $this->item; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMemberCount($memberCount) + { + $this->memberCount = $memberCount; + } + public function getMemberCount() + { + return $this->memberCount; + } + public function setVisibility($visibility) + { + $this->visibility = $visibility; + } + public function getVisibility() + { + return $this->visibility; + } +} + +class Google_Service_PlusDomains_AudiencesFeed extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_PlusDomains_Audience'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $totalItems; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} + +class Google_Service_PlusDomains_Circle extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $description; + public $displayName; + public $etag; + public $id; + public $kind; + protected $peopleType = 'Google_Service_PlusDomains_CirclePeople'; + protected $peopleDataType = ''; + public $selfLink; + + + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPeople(Google_Service_PlusDomains_CirclePeople $people) + { + $this->people = $people; + } + public function getPeople() + { + return $this->people; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_PlusDomains_CircleFeed extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_PlusDomains_Circle'; + protected $itemsDataType = 'array'; + public $kind; + public $nextLink; + public $nextPageToken; + public $selfLink; + public $title; + public $totalItems; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} + +class Google_Service_PlusDomains_CirclePeople extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $totalItems; + + + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} + +class Google_Service_PlusDomains_Comment extends Google_Collection +{ + protected $collection_key = 'inReplyTo'; + protected $internal_gapi_mappings = array( + ); + protected $actorType = 'Google_Service_PlusDomains_CommentActor'; + protected $actorDataType = ''; + public $etag; + public $id; + protected $inReplyToType = 'Google_Service_PlusDomains_CommentInReplyTo'; + protected $inReplyToDataType = 'array'; + public $kind; + protected $objectType = 'Google_Service_PlusDomains_CommentObject'; + protected $objectDataType = ''; + protected $plusonersType = 'Google_Service_PlusDomains_CommentPlusoners'; + protected $plusonersDataType = ''; + public $published; + public $selfLink; + public $updated; + public $verb; + + + public function setActor(Google_Service_PlusDomains_CommentActor $actor) + { + $this->actor = $actor; + } + public function getActor() + { + return $this->actor; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInReplyTo($inReplyTo) + { + $this->inReplyTo = $inReplyTo; + } + public function getInReplyTo() + { + return $this->inReplyTo; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setObject(Google_Service_PlusDomains_CommentObject $object) + { + $this->object = $object; + } + public function getObject() + { + return $this->object; + } + public function setPlusoners(Google_Service_PlusDomains_CommentPlusoners $plusoners) + { + $this->plusoners = $plusoners; + } + public function getPlusoners() + { + return $this->plusoners; + } + public function setPublished($published) + { + $this->published = $published; + } + public function getPublished() + { + return $this->published; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setVerb($verb) + { + $this->verb = $verb; + } + public function getVerb() + { + return $this->verb; + } +} + +class Google_Service_PlusDomains_CommentActor extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $clientSpecificActorInfoType = 'Google_Service_PlusDomains_CommentActorClientSpecificActorInfo'; + protected $clientSpecificActorInfoDataType = ''; + public $displayName; + public $id; + protected $imageType = 'Google_Service_PlusDomains_CommentActorImage'; + protected $imageDataType = ''; + public $url; + protected $verificationType = 'Google_Service_PlusDomains_CommentActorVerification'; + protected $verificationDataType = ''; + + + public function setClientSpecificActorInfo(Google_Service_PlusDomains_CommentActorClientSpecificActorInfo $clientSpecificActorInfo) + { + $this->clientSpecificActorInfo = $clientSpecificActorInfo; + } + public function getClientSpecificActorInfo() + { + return $this->clientSpecificActorInfo; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImage(Google_Service_PlusDomains_CommentActorImage $image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setVerification(Google_Service_PlusDomains_CommentActorVerification $verification) + { + $this->verification = $verification; + } + public function getVerification() + { + return $this->verification; + } +} + +class Google_Service_PlusDomains_CommentActorClientSpecificActorInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $youtubeActorInfoType = 'Google_Service_PlusDomains_CommentActorClientSpecificActorInfoYoutubeActorInfo'; + protected $youtubeActorInfoDataType = ''; + + + public function setYoutubeActorInfo(Google_Service_PlusDomains_CommentActorClientSpecificActorInfoYoutubeActorInfo $youtubeActorInfo) + { + $this->youtubeActorInfo = $youtubeActorInfo; + } + public function getYoutubeActorInfo() + { + return $this->youtubeActorInfo; + } +} + +class Google_Service_PlusDomains_CommentActorClientSpecificActorInfoYoutubeActorInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $channelId; + + + public function setChannelId($channelId) + { + $this->channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } +} + +class Google_Service_PlusDomains_CommentActorImage extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $url; + + + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_PlusDomains_CommentActorVerification extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $adHocVerified; + + + public function setAdHocVerified($adHocVerified) + { + $this->adHocVerified = $adHocVerified; + } + public function getAdHocVerified() + { + return $this->adHocVerified; + } +} + +class Google_Service_PlusDomains_CommentFeed extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + public $id; + protected $itemsType = 'Google_Service_PlusDomains_Comment'; + protected $itemsDataType = 'array'; + public $kind; + public $nextLink; + public $nextPageToken; + public $title; + public $updated; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextLink($nextLink) + { + $this->nextLink = $nextLink; + } + public function getNextLink() + { + return $this->nextLink; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } +} + +class Google_Service_PlusDomains_CommentInReplyTo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $url; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_PlusDomains_CommentObject extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $content; + public $objectType; + public $originalContent; + + + public function setContent($content) + { + $this->content = $content; + } + public function getContent() + { + return $this->content; + } + public function setObjectType($objectType) + { + $this->objectType = $objectType; + } + public function getObjectType() + { + return $this->objectType; + } + public function setOriginalContent($originalContent) + { + $this->originalContent = $originalContent; + } + public function getOriginalContent() + { + return $this->originalContent; + } +} + +class Google_Service_PlusDomains_CommentPlusoners extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $totalItems; + + + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} + +class Google_Service_PlusDomains_Media extends Google_Collection +{ + protected $collection_key = 'streams'; + protected $internal_gapi_mappings = array( + ); + protected $authorType = 'Google_Service_PlusDomains_MediaAuthor'; + protected $authorDataType = ''; + public $displayName; + public $etag; + protected $exifType = 'Google_Service_PlusDomains_MediaExif'; + protected $exifDataType = ''; + public $height; + public $id; + public $kind; + public $mediaCreatedTime; + public $mediaUrl; + public $published; + public $sizeBytes; + protected $streamsType = 'Google_Service_PlusDomains_Videostream'; + protected $streamsDataType = 'array'; + public $summary; + public $updated; + public $url; + public $videoDuration; + public $videoStatus; + public $width; + + + public function setAuthor(Google_Service_PlusDomains_MediaAuthor $author) + { + $this->author = $author; + } + public function getAuthor() + { + return $this->author; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setExif(Google_Service_PlusDomains_MediaExif $exif) + { + $this->exif = $exif; + } + public function getExif() + { + return $this->exif; + } + public function setHeight($height) + { + $this->height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMediaCreatedTime($mediaCreatedTime) + { + $this->mediaCreatedTime = $mediaCreatedTime; + } + public function getMediaCreatedTime() + { + return $this->mediaCreatedTime; + } + public function setMediaUrl($mediaUrl) + { + $this->mediaUrl = $mediaUrl; + } + public function getMediaUrl() + { + return $this->mediaUrl; + } + public function setPublished($published) + { + $this->published = $published; + } + public function getPublished() + { + return $this->published; + } + public function setSizeBytes($sizeBytes) + { + $this->sizeBytes = $sizeBytes; + } + public function getSizeBytes() + { + return $this->sizeBytes; + } + public function setStreams($streams) + { + $this->streams = $streams; + } + public function getStreams() + { + return $this->streams; + } + public function setSummary($summary) + { + $this->summary = $summary; + } + public function getSummary() + { + return $this->summary; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setVideoDuration($videoDuration) + { + $this->videoDuration = $videoDuration; + } + public function getVideoDuration() + { + return $this->videoDuration; + } + public function setVideoStatus($videoStatus) + { + $this->videoStatus = $videoStatus; + } + public function getVideoStatus() + { + return $this->videoStatus; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} + +class Google_Service_PlusDomains_MediaAuthor extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $displayName; + public $id; + protected $imageType = 'Google_Service_PlusDomains_MediaAuthorImage'; + protected $imageDataType = ''; + public $url; + + + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImage(Google_Service_PlusDomains_MediaAuthorImage $image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_PlusDomains_MediaAuthorImage extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $url; + + + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_PlusDomains_MediaExif extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $time; + + + public function setTime($time) + { + $this->time = $time; + } + public function getTime() + { + return $this->time; + } +} + +class Google_Service_PlusDomains_PeopleFeed extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_PlusDomains_Person'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $selfLink; + public $title; + public $totalItems; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} + +class Google_Service_PlusDomains_Person extends Google_Collection +{ + protected $collection_key = 'urls'; + protected $internal_gapi_mappings = array( + ); + public $aboutMe; + public $birthday; + public $braggingRights; + public $circledByCount; + protected $coverType = 'Google_Service_PlusDomains_PersonCover'; + protected $coverDataType = ''; + public $currentLocation; + public $displayName; + public $domain; + protected $emailsType = 'Google_Service_PlusDomains_PersonEmails'; + protected $emailsDataType = 'array'; + public $etag; + public $gender; + public $id; + protected $imageType = 'Google_Service_PlusDomains_PersonImage'; + protected $imageDataType = ''; + public $isPlusUser; + public $kind; + protected $nameType = 'Google_Service_PlusDomains_PersonName'; + protected $nameDataType = ''; + public $nickname; + public $objectType; + public $occupation; + protected $organizationsType = 'Google_Service_PlusDomains_PersonOrganizations'; + protected $organizationsDataType = 'array'; + protected $placesLivedType = 'Google_Service_PlusDomains_PersonPlacesLived'; + protected $placesLivedDataType = 'array'; + public $plusOneCount; + public $relationshipStatus; + public $skills; + public $tagline; + public $url; + protected $urlsType = 'Google_Service_PlusDomains_PersonUrls'; + protected $urlsDataType = 'array'; + public $verified; + + + public function setAboutMe($aboutMe) + { + $this->aboutMe = $aboutMe; + } + public function getAboutMe() + { + return $this->aboutMe; + } + public function setBirthday($birthday) + { + $this->birthday = $birthday; + } + public function getBirthday() + { + return $this->birthday; + } + public function setBraggingRights($braggingRights) + { + $this->braggingRights = $braggingRights; + } + public function getBraggingRights() + { + return $this->braggingRights; + } + public function setCircledByCount($circledByCount) + { + $this->circledByCount = $circledByCount; + } + public function getCircledByCount() + { + return $this->circledByCount; + } + public function setCover(Google_Service_PlusDomains_PersonCover $cover) + { + $this->cover = $cover; + } + public function getCover() + { + return $this->cover; + } + public function setCurrentLocation($currentLocation) + { + $this->currentLocation = $currentLocation; + } + public function getCurrentLocation() + { + return $this->currentLocation; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setDomain($domain) + { + $this->domain = $domain; + } + public function getDomain() + { + return $this->domain; + } + public function setEmails($emails) + { + $this->emails = $emails; + } + public function getEmails() + { + return $this->emails; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setGender($gender) + { + $this->gender = $gender; + } + public function getGender() + { + return $this->gender; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImage(Google_Service_PlusDomains_PersonImage $image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } + public function setIsPlusUser($isPlusUser) + { + $this->isPlusUser = $isPlusUser; + } + public function getIsPlusUser() + { + return $this->isPlusUser; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName(Google_Service_PlusDomains_PersonName $name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNickname($nickname) + { + $this->nickname = $nickname; + } + public function getNickname() + { + return $this->nickname; + } + public function setObjectType($objectType) + { + $this->objectType = $objectType; + } + public function getObjectType() + { + return $this->objectType; + } + public function setOccupation($occupation) + { + $this->occupation = $occupation; + } + public function getOccupation() + { + return $this->occupation; + } + public function setOrganizations($organizations) + { + $this->organizations = $organizations; + } + public function getOrganizations() + { + return $this->organizations; + } + public function setPlacesLived($placesLived) + { + $this->placesLived = $placesLived; + } + public function getPlacesLived() + { + return $this->placesLived; + } + public function setPlusOneCount($plusOneCount) + { + $this->plusOneCount = $plusOneCount; + } + public function getPlusOneCount() + { + return $this->plusOneCount; + } + public function setRelationshipStatus($relationshipStatus) + { + $this->relationshipStatus = $relationshipStatus; + } + public function getRelationshipStatus() + { + return $this->relationshipStatus; + } + public function setSkills($skills) + { + $this->skills = $skills; + } + public function getSkills() + { + return $this->skills; + } + public function setTagline($tagline) + { + $this->tagline = $tagline; + } + public function getTagline() + { + return $this->tagline; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setUrls($urls) + { + $this->urls = $urls; + } + public function getUrls() + { + return $this->urls; + } + public function setVerified($verified) + { + $this->verified = $verified; + } + public function getVerified() + { + return $this->verified; + } +} + +class Google_Service_PlusDomains_PersonCover extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $coverInfoType = 'Google_Service_PlusDomains_PersonCoverCoverInfo'; + protected $coverInfoDataType = ''; + protected $coverPhotoType = 'Google_Service_PlusDomains_PersonCoverCoverPhoto'; + protected $coverPhotoDataType = ''; + public $layout; + + + public function setCoverInfo(Google_Service_PlusDomains_PersonCoverCoverInfo $coverInfo) + { + $this->coverInfo = $coverInfo; + } + public function getCoverInfo() + { + return $this->coverInfo; + } + public function setCoverPhoto(Google_Service_PlusDomains_PersonCoverCoverPhoto $coverPhoto) + { + $this->coverPhoto = $coverPhoto; + } + public function getCoverPhoto() + { + return $this->coverPhoto; + } + public function setLayout($layout) + { + $this->layout = $layout; + } + public function getLayout() + { + return $this->layout; + } +} + +class Google_Service_PlusDomains_PersonCoverCoverInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $leftImageOffset; + public $topImageOffset; + + + public function setLeftImageOffset($leftImageOffset) + { + $this->leftImageOffset = $leftImageOffset; + } + public function getLeftImageOffset() + { + return $this->leftImageOffset; + } + public function setTopImageOffset($topImageOffset) + { + $this->topImageOffset = $topImageOffset; + } + public function getTopImageOffset() + { + return $this->topImageOffset; + } +} + +class Google_Service_PlusDomains_PersonCoverCoverPhoto extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $height; + public $url; + public $width; + + + public function setHeight($height) + { + $this->height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} + +class Google_Service_PlusDomains_PersonEmails extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $type; + public $value; + + + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_PlusDomains_PersonImage extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $isDefault; + public $url; + + + public function setIsDefault($isDefault) + { + $this->isDefault = $isDefault; + } + public function getIsDefault() + { + return $this->isDefault; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_PlusDomains_PersonName extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $familyName; + public $formatted; + public $givenName; + public $honorificPrefix; + public $honorificSuffix; + public $middleName; + + + public function setFamilyName($familyName) + { + $this->familyName = $familyName; + } + public function getFamilyName() + { + return $this->familyName; + } + public function setFormatted($formatted) + { + $this->formatted = $formatted; + } + public function getFormatted() + { + return $this->formatted; + } + public function setGivenName($givenName) + { + $this->givenName = $givenName; + } + public function getGivenName() + { + return $this->givenName; + } + public function setHonorificPrefix($honorificPrefix) + { + $this->honorificPrefix = $honorificPrefix; + } + public function getHonorificPrefix() + { + return $this->honorificPrefix; + } + public function setHonorificSuffix($honorificSuffix) + { + $this->honorificSuffix = $honorificSuffix; + } + public function getHonorificSuffix() + { + return $this->honorificSuffix; + } + public function setMiddleName($middleName) + { + $this->middleName = $middleName; + } + public function getMiddleName() + { + return $this->middleName; + } +} + +class Google_Service_PlusDomains_PersonOrganizations extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $department; + public $description; + public $endDate; + public $location; + public $name; + public $primary; + public $startDate; + public $title; + public $type; + + + public function setDepartment($department) + { + $this->department = $department; + } + public function getDepartment() + { + return $this->department; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEndDate($endDate) + { + $this->endDate = $endDate; + } + public function getEndDate() + { + return $this->endDate; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPrimary($primary) + { + $this->primary = $primary; + } + public function getPrimary() + { + return $this->primary; + } + public function setStartDate($startDate) + { + $this->startDate = $startDate; + } + public function getStartDate() + { + return $this->startDate; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_PlusDomains_PersonPlacesLived extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $primary; + public $value; + + + public function setPrimary($primary) + { + $this->primary = $primary; + } + public function getPrimary() + { + return $this->primary; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_PlusDomains_PersonUrls extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $label; + public $type; + public $value; + + + public function setLabel($label) + { + $this->label = $label; + } + public function getLabel() + { + return $this->label; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_PlusDomains_Place extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $addressType = 'Google_Service_PlusDomains_PlaceAddress'; + protected $addressDataType = ''; + public $displayName; + public $id; + public $kind; + protected $positionType = 'Google_Service_PlusDomains_PlacePosition'; + protected $positionDataType = ''; + + + public function setAddress(Google_Service_PlusDomains_PlaceAddress $address) + { + $this->address = $address; + } + public function getAddress() + { + return $this->address; + } + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPosition(Google_Service_PlusDomains_PlacePosition $position) + { + $this->position = $position; + } + public function getPosition() + { + return $this->position; + } +} + +class Google_Service_PlusDomains_PlaceAddress extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $formatted; + + + public function setFormatted($formatted) + { + $this->formatted = $formatted; + } + public function getFormatted() + { + return $this->formatted; + } +} + +class Google_Service_PlusDomains_PlacePosition extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $latitude; + public $longitude; + + + public function setLatitude($latitude) + { + $this->latitude = $latitude; + } + public function getLatitude() + { + return $this->latitude; + } + public function setLongitude($longitude) + { + $this->longitude = $longitude; + } + public function getLongitude() + { + return $this->longitude; + } +} + +class Google_Service_PlusDomains_PlusDomainsAclentryResource extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $displayName; + public $id; + public $type; + + + public function setDisplayName($displayName) + { + $this->displayName = $displayName; + } + public function getDisplayName() + { + return $this->displayName; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_PlusDomains_Videostream extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $height; + public $type; + public $url; + public $width; + + + public function setHeight($height) + { + $this->height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Prediction.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Prediction.php new file mode 100644 index 0000000..c57b41d --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Prediction.php @@ -0,0 +1,1228 @@ + + * Lets you access a cloud hosted machine learning service that makes it easy to + * build smart apps

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Prediction extends Google_Service +{ + /** Manage your data and permissions in Google Cloud Storage. */ + const DEVSTORAGE_FULL_CONTROL = + "https://www.googleapis.com/auth/devstorage.full_control"; + /** View your data in Google Cloud Storage. */ + const DEVSTORAGE_READ_ONLY = + "https://www.googleapis.com/auth/devstorage.read_only"; + /** Manage your data in Google Cloud Storage. */ + const DEVSTORAGE_READ_WRITE = + "https://www.googleapis.com/auth/devstorage.read_write"; + /** Manage your data in the Google Prediction API. */ + const PREDICTION = + "https://www.googleapis.com/auth/prediction"; + + public $hostedmodels; + public $trainedmodels; + + + /** + * Constructs the internal representation of the Prediction service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'prediction/v1.6/projects/'; + $this->version = 'v1.6'; + $this->serviceName = 'prediction'; + + $this->hostedmodels = new Google_Service_Prediction_Hostedmodels_Resource( + $this, + $this->serviceName, + 'hostedmodels', + array( + 'methods' => array( + 'predict' => array( + 'path' => '{project}/hostedmodels/{hostedModelName}/predict', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'hostedModelName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->trainedmodels = new Google_Service_Prediction_Trainedmodels_Resource( + $this, + $this->serviceName, + 'trainedmodels', + array( + 'methods' => array( + 'analyze' => array( + 'path' => '{project}/trainedmodels/{id}/analyze', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => '{project}/trainedmodels/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/trainedmodels/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/trainedmodels', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/trainedmodels/list', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'predict' => array( + 'path' => '{project}/trainedmodels/{id}/predict', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{project}/trainedmodels/{id}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "hostedmodels" collection of methods. + * Typical usage is: + * + * $predictionService = new Google_Service_Prediction(...); + * $hostedmodels = $predictionService->hostedmodels; + * + */ +class Google_Service_Prediction_Hostedmodels_Resource extends Google_Service_Resource +{ + + /** + * Submit input and request an output against a hosted model. + * (hostedmodels.predict) + * + * @param string $project The project associated with the model. + * @param string $hostedModelName The name of a hosted model. + * @param Google_Input $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Prediction_Output + */ + public function predict($project, $hostedModelName, Google_Service_Prediction_Input $postBody, $optParams = array()) + { + $params = array('project' => $project, 'hostedModelName' => $hostedModelName, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('predict', array($params), "Google_Service_Prediction_Output"); + } +} + +/** + * The "trainedmodels" collection of methods. + * Typical usage is: + * + * $predictionService = new Google_Service_Prediction(...); + * $trainedmodels = $predictionService->trainedmodels; + * + */ +class Google_Service_Prediction_Trainedmodels_Resource extends Google_Service_Resource +{ + + /** + * Get analysis of the model and the data the model was trained on. + * (trainedmodels.analyze) + * + * @param string $project The project associated with the model. + * @param string $id The unique name for the predictive model. + * @param array $optParams Optional parameters. + * @return Google_Service_Prediction_Analyze + */ + public function analyze($project, $id, $optParams = array()) + { + $params = array('project' => $project, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('analyze', array($params), "Google_Service_Prediction_Analyze"); + } + + /** + * Delete a trained model. (trainedmodels.delete) + * + * @param string $project The project associated with the model. + * @param string $id The unique name for the predictive model. + * @param array $optParams Optional parameters. + */ + public function delete($project, $id, $optParams = array()) + { + $params = array('project' => $project, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Check training status of your model. (trainedmodels.get) + * + * @param string $project The project associated with the model. + * @param string $id The unique name for the predictive model. + * @param array $optParams Optional parameters. + * @return Google_Service_Prediction_Insert2 + */ + public function get($project, $id, $optParams = array()) + { + $params = array('project' => $project, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Prediction_Insert2"); + } + + /** + * Train a Prediction API model. (trainedmodels.insert) + * + * @param string $project The project associated with the model. + * @param Google_Insert $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Prediction_Insert2 + */ + public function insert($project, Google_Service_Prediction_Insert $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Prediction_Insert2"); + } + + /** + * List available models. (trainedmodels.listTrainedmodels) + * + * @param string $project The project associated with the model. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Pagination token. + * @opt_param string maxResults Maximum number of results to return. + * @return Google_Service_Prediction_PredictionList + */ + public function listTrainedmodels($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Prediction_PredictionList"); + } + + /** + * Submit model id and request a prediction. (trainedmodels.predict) + * + * @param string $project The project associated with the model. + * @param string $id The unique name for the predictive model. + * @param Google_Input $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Prediction_Output + */ + public function predict($project, $id, Google_Service_Prediction_Input $postBody, $optParams = array()) + { + $params = array('project' => $project, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('predict', array($params), "Google_Service_Prediction_Output"); + } + + /** + * Add new data to a trained model. (trainedmodels.update) + * + * @param string $project The project associated with the model. + * @param string $id The unique name for the predictive model. + * @param Google_Update $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Prediction_Insert2 + */ + public function update($project, $id, Google_Service_Prediction_Update $postBody, $optParams = array()) + { + $params = array('project' => $project, 'id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Prediction_Insert2"); + } +} + + + + +class Google_Service_Prediction_Analyze extends Google_Collection +{ + protected $collection_key = 'errors'; + protected $internal_gapi_mappings = array( + ); + protected $dataDescriptionType = 'Google_Service_Prediction_AnalyzeDataDescription'; + protected $dataDescriptionDataType = ''; + public $errors; + public $id; + public $kind; + protected $modelDescriptionType = 'Google_Service_Prediction_AnalyzeModelDescription'; + protected $modelDescriptionDataType = ''; + public $selfLink; + + + public function setDataDescription(Google_Service_Prediction_AnalyzeDataDescription $dataDescription) + { + $this->dataDescription = $dataDescription; + } + public function getDataDescription() + { + return $this->dataDescription; + } + public function setErrors($errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setModelDescription(Google_Service_Prediction_AnalyzeModelDescription $modelDescription) + { + $this->modelDescription = $modelDescription; + } + public function getModelDescription() + { + return $this->modelDescription; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Prediction_AnalyzeDataDescription extends Google_Collection +{ + protected $collection_key = 'features'; + protected $internal_gapi_mappings = array( + ); + protected $featuresType = 'Google_Service_Prediction_AnalyzeDataDescriptionFeatures'; + protected $featuresDataType = 'array'; + protected $outputFeatureType = 'Google_Service_Prediction_AnalyzeDataDescriptionOutputFeature'; + protected $outputFeatureDataType = ''; + + + public function setFeatures($features) + { + $this->features = $features; + } + public function getFeatures() + { + return $this->features; + } + public function setOutputFeature(Google_Service_Prediction_AnalyzeDataDescriptionOutputFeature $outputFeature) + { + $this->outputFeature = $outputFeature; + } + public function getOutputFeature() + { + return $this->outputFeature; + } +} + +class Google_Service_Prediction_AnalyzeDataDescriptionFeatures extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $categoricalType = 'Google_Service_Prediction_AnalyzeDataDescriptionFeaturesCategorical'; + protected $categoricalDataType = ''; + public $index; + protected $numericType = 'Google_Service_Prediction_AnalyzeDataDescriptionFeaturesNumeric'; + protected $numericDataType = ''; + protected $textType = 'Google_Service_Prediction_AnalyzeDataDescriptionFeaturesText'; + protected $textDataType = ''; + + + public function setCategorical(Google_Service_Prediction_AnalyzeDataDescriptionFeaturesCategorical $categorical) + { + $this->categorical = $categorical; + } + public function getCategorical() + { + return $this->categorical; + } + public function setIndex($index) + { + $this->index = $index; + } + public function getIndex() + { + return $this->index; + } + public function setNumeric(Google_Service_Prediction_AnalyzeDataDescriptionFeaturesNumeric $numeric) + { + $this->numeric = $numeric; + } + public function getNumeric() + { + return $this->numeric; + } + public function setText(Google_Service_Prediction_AnalyzeDataDescriptionFeaturesText $text) + { + $this->text = $text; + } + public function getText() + { + return $this->text; + } +} + +class Google_Service_Prediction_AnalyzeDataDescriptionFeaturesCategorical extends Google_Collection +{ + protected $collection_key = 'values'; + protected $internal_gapi_mappings = array( + ); + public $count; + protected $valuesType = 'Google_Service_Prediction_AnalyzeDataDescriptionFeaturesCategoricalValues'; + protected $valuesDataType = 'array'; + + + public function setCount($count) + { + $this->count = $count; + } + public function getCount() + { + return $this->count; + } + public function setValues($values) + { + $this->values = $values; + } + public function getValues() + { + return $this->values; + } +} + +class Google_Service_Prediction_AnalyzeDataDescriptionFeaturesCategoricalValues extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $count; + public $value; + + + public function setCount($count) + { + $this->count = $count; + } + public function getCount() + { + return $this->count; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Prediction_AnalyzeDataDescriptionFeaturesNumeric extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $count; + public $mean; + public $variance; + + + public function setCount($count) + { + $this->count = $count; + } + public function getCount() + { + return $this->count; + } + public function setMean($mean) + { + $this->mean = $mean; + } + public function getMean() + { + return $this->mean; + } + public function setVariance($variance) + { + $this->variance = $variance; + } + public function getVariance() + { + return $this->variance; + } +} + +class Google_Service_Prediction_AnalyzeDataDescriptionFeaturesText extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $count; + + + public function setCount($count) + { + $this->count = $count; + } + public function getCount() + { + return $this->count; + } +} + +class Google_Service_Prediction_AnalyzeDataDescriptionOutputFeature extends Google_Collection +{ + protected $collection_key = 'text'; + protected $internal_gapi_mappings = array( + ); + protected $numericType = 'Google_Service_Prediction_AnalyzeDataDescriptionOutputFeatureNumeric'; + protected $numericDataType = ''; + protected $textType = 'Google_Service_Prediction_AnalyzeDataDescriptionOutputFeatureText'; + protected $textDataType = 'array'; + + + public function setNumeric(Google_Service_Prediction_AnalyzeDataDescriptionOutputFeatureNumeric $numeric) + { + $this->numeric = $numeric; + } + public function getNumeric() + { + return $this->numeric; + } + public function setText($text) + { + $this->text = $text; + } + public function getText() + { + return $this->text; + } +} + +class Google_Service_Prediction_AnalyzeDataDescriptionOutputFeatureNumeric extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $count; + public $mean; + public $variance; + + + public function setCount($count) + { + $this->count = $count; + } + public function getCount() + { + return $this->count; + } + public function setMean($mean) + { + $this->mean = $mean; + } + public function getMean() + { + return $this->mean; + } + public function setVariance($variance) + { + $this->variance = $variance; + } + public function getVariance() + { + return $this->variance; + } +} + +class Google_Service_Prediction_AnalyzeDataDescriptionOutputFeatureText extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $count; + public $value; + + + public function setCount($count) + { + $this->count = $count; + } + public function getCount() + { + return $this->count; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Prediction_AnalyzeErrors extends Google_Model +{ +} + +class Google_Service_Prediction_AnalyzeModelDescription extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $confusionMatrix; + public $confusionMatrixRowTotals; + protected $modelinfoType = 'Google_Service_Prediction_Insert2'; + protected $modelinfoDataType = ''; + + + public function setConfusionMatrix($confusionMatrix) + { + $this->confusionMatrix = $confusionMatrix; + } + public function getConfusionMatrix() + { + return $this->confusionMatrix; + } + public function setConfusionMatrixRowTotals($confusionMatrixRowTotals) + { + $this->confusionMatrixRowTotals = $confusionMatrixRowTotals; + } + public function getConfusionMatrixRowTotals() + { + return $this->confusionMatrixRowTotals; + } + public function setModelinfo(Google_Service_Prediction_Insert2 $modelinfo) + { + $this->modelinfo = $modelinfo; + } + public function getModelinfo() + { + return $this->modelinfo; + } +} + +class Google_Service_Prediction_AnalyzeModelDescriptionConfusionMatrix extends Google_Model +{ +} + +class Google_Service_Prediction_AnalyzeModelDescriptionConfusionMatrixElement extends Google_Model +{ +} + +class Google_Service_Prediction_AnalyzeModelDescriptionConfusionMatrixRowTotals extends Google_Model +{ +} + +class Google_Service_Prediction_Input extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $inputType = 'Google_Service_Prediction_InputInput'; + protected $inputDataType = ''; + + + public function setInput(Google_Service_Prediction_InputInput $input) + { + $this->input = $input; + } + public function getInput() + { + return $this->input; + } +} + +class Google_Service_Prediction_InputInput extends Google_Collection +{ + protected $collection_key = 'csvInstance'; + protected $internal_gapi_mappings = array( + ); + public $csvInstance; + + + public function setCsvInstance($csvInstance) + { + $this->csvInstance = $csvInstance; + } + public function getCsvInstance() + { + return $this->csvInstance; + } +} + +class Google_Service_Prediction_Insert extends Google_Collection +{ + protected $collection_key = 'utility'; + protected $internal_gapi_mappings = array( + ); + public $id; + public $modelType; + public $sourceModel; + public $storageDataLocation; + public $storagePMMLLocation; + public $storagePMMLModelLocation; + protected $trainingInstancesType = 'Google_Service_Prediction_InsertTrainingInstances'; + protected $trainingInstancesDataType = 'array'; + public $utility; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setModelType($modelType) + { + $this->modelType = $modelType; + } + public function getModelType() + { + return $this->modelType; + } + public function setSourceModel($sourceModel) + { + $this->sourceModel = $sourceModel; + } + public function getSourceModel() + { + return $this->sourceModel; + } + public function setStorageDataLocation($storageDataLocation) + { + $this->storageDataLocation = $storageDataLocation; + } + public function getStorageDataLocation() + { + return $this->storageDataLocation; + } + public function setStoragePMMLLocation($storagePMMLLocation) + { + $this->storagePMMLLocation = $storagePMMLLocation; + } + public function getStoragePMMLLocation() + { + return $this->storagePMMLLocation; + } + public function setStoragePMMLModelLocation($storagePMMLModelLocation) + { + $this->storagePMMLModelLocation = $storagePMMLModelLocation; + } + public function getStoragePMMLModelLocation() + { + return $this->storagePMMLModelLocation; + } + public function setTrainingInstances($trainingInstances) + { + $this->trainingInstances = $trainingInstances; + } + public function getTrainingInstances() + { + return $this->trainingInstances; + } + public function setUtility($utility) + { + $this->utility = $utility; + } + public function getUtility() + { + return $this->utility; + } +} + +class Google_Service_Prediction_Insert2 extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $created; + public $id; + public $kind; + protected $modelInfoType = 'Google_Service_Prediction_Insert2ModelInfo'; + protected $modelInfoDataType = ''; + public $modelType; + public $selfLink; + public $storageDataLocation; + public $storagePMMLLocation; + public $storagePMMLModelLocation; + public $trainingComplete; + public $trainingStatus; + + + public function setCreated($created) + { + $this->created = $created; + } + public function getCreated() + { + return $this->created; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setModelInfo(Google_Service_Prediction_Insert2ModelInfo $modelInfo) + { + $this->modelInfo = $modelInfo; + } + public function getModelInfo() + { + return $this->modelInfo; + } + public function setModelType($modelType) + { + $this->modelType = $modelType; + } + public function getModelType() + { + return $this->modelType; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStorageDataLocation($storageDataLocation) + { + $this->storageDataLocation = $storageDataLocation; + } + public function getStorageDataLocation() + { + return $this->storageDataLocation; + } + public function setStoragePMMLLocation($storagePMMLLocation) + { + $this->storagePMMLLocation = $storagePMMLLocation; + } + public function getStoragePMMLLocation() + { + return $this->storagePMMLLocation; + } + public function setStoragePMMLModelLocation($storagePMMLModelLocation) + { + $this->storagePMMLModelLocation = $storagePMMLModelLocation; + } + public function getStoragePMMLModelLocation() + { + return $this->storagePMMLModelLocation; + } + public function setTrainingComplete($trainingComplete) + { + $this->trainingComplete = $trainingComplete; + } + public function getTrainingComplete() + { + return $this->trainingComplete; + } + public function setTrainingStatus($trainingStatus) + { + $this->trainingStatus = $trainingStatus; + } + public function getTrainingStatus() + { + return $this->trainingStatus; + } +} + +class Google_Service_Prediction_Insert2ModelInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $classWeightedAccuracy; + public $classificationAccuracy; + public $meanSquaredError; + public $modelType; + public $numberInstances; + public $numberLabels; + + + public function setClassWeightedAccuracy($classWeightedAccuracy) + { + $this->classWeightedAccuracy = $classWeightedAccuracy; + } + public function getClassWeightedAccuracy() + { + return $this->classWeightedAccuracy; + } + public function setClassificationAccuracy($classificationAccuracy) + { + $this->classificationAccuracy = $classificationAccuracy; + } + public function getClassificationAccuracy() + { + return $this->classificationAccuracy; + } + public function setMeanSquaredError($meanSquaredError) + { + $this->meanSquaredError = $meanSquaredError; + } + public function getMeanSquaredError() + { + return $this->meanSquaredError; + } + public function setModelType($modelType) + { + $this->modelType = $modelType; + } + public function getModelType() + { + return $this->modelType; + } + public function setNumberInstances($numberInstances) + { + $this->numberInstances = $numberInstances; + } + public function getNumberInstances() + { + return $this->numberInstances; + } + public function setNumberLabels($numberLabels) + { + $this->numberLabels = $numberLabels; + } + public function getNumberLabels() + { + return $this->numberLabels; + } +} + +class Google_Service_Prediction_InsertTrainingInstances extends Google_Collection +{ + protected $collection_key = 'csvInstance'; + protected $internal_gapi_mappings = array( + ); + public $csvInstance; + public $output; + + + public function setCsvInstance($csvInstance) + { + $this->csvInstance = $csvInstance; + } + public function getCsvInstance() + { + return $this->csvInstance; + } + public function setOutput($output) + { + $this->output = $output; + } + public function getOutput() + { + return $this->output; + } +} + +class Google_Service_Prediction_InsertUtility extends Google_Model +{ +} + +class Google_Service_Prediction_Output extends Google_Collection +{ + protected $collection_key = 'outputMulti'; + protected $internal_gapi_mappings = array( + ); + public $id; + public $kind; + public $outputLabel; + protected $outputMultiType = 'Google_Service_Prediction_OutputOutputMulti'; + protected $outputMultiDataType = 'array'; + public $outputValue; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setOutputLabel($outputLabel) + { + $this->outputLabel = $outputLabel; + } + public function getOutputLabel() + { + return $this->outputLabel; + } + public function setOutputMulti($outputMulti) + { + $this->outputMulti = $outputMulti; + } + public function getOutputMulti() + { + return $this->outputMulti; + } + public function setOutputValue($outputValue) + { + $this->outputValue = $outputValue; + } + public function getOutputValue() + { + return $this->outputValue; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Prediction_OutputOutputMulti extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $label; + public $score; + + + public function setLabel($label) + { + $this->label = $label; + } + public function getLabel() + { + return $this->label; + } + public function setScore($score) + { + $this->score = $score; + } + public function getScore() + { + return $this->score; + } +} + +class Google_Service_Prediction_PredictionList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Prediction_Insert2'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Prediction_Update extends Google_Collection +{ + protected $collection_key = 'csvInstance'; + protected $internal_gapi_mappings = array( + ); + public $csvInstance; + public $output; + + + public function setCsvInstance($csvInstance) + { + $this->csvInstance = $csvInstance; + } + public function getCsvInstance() + { + return $this->csvInstance; + } + public function setOutput($output) + { + $this->output = $output; + } + public function getOutput() + { + return $this->output; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Proximitybeacon.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Proximitybeacon.php new file mode 100644 index 0000000..f9a8d0f --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Proximitybeacon.php @@ -0,0 +1,1208 @@ + + * This API provides services to register, manage, index, and search beacons.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Proximitybeacon extends Google_Service +{ + + + public $beaconinfo; + public $beacons; + public $beacons_attachments; + public $beacons_diagnostics; + public $namespaces; + + + /** + * Constructs the internal representation of the Proximitybeacon service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://proximitybeacon.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1beta1'; + $this->serviceName = 'proximitybeacon'; + + $this->beaconinfo = new Google_Service_Proximitybeacon_Beaconinfo_Resource( + $this, + $this->serviceName, + 'beaconinfo', + array( + 'methods' => array( + 'getforobserved' => array( + 'path' => 'v1beta1/beaconinfo:getforobserved', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->beacons = new Google_Service_Proximitybeacon_Beacons_Resource( + $this, + $this->serviceName, + 'beacons', + array( + 'methods' => array( + 'activate' => array( + 'path' => 'v1beta1/{+beaconName}:activate', + 'httpMethod' => 'POST', + 'parameters' => array( + 'beaconName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'deactivate' => array( + 'path' => 'v1beta1/{+beaconName}:deactivate', + 'httpMethod' => 'POST', + 'parameters' => array( + 'beaconName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'decommission' => array( + 'path' => 'v1beta1/{+beaconName}:decommission', + 'httpMethod' => 'POST', + 'parameters' => array( + 'beaconName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1beta1/{+beaconName}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'beaconName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1beta1/beacons', + 'httpMethod' => 'GET', + 'parameters' => array( + 'q' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'register' => array( + 'path' => 'v1beta1/beacons:register', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'update' => array( + 'path' => 'v1beta1/{+beaconName}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'beaconName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->beacons_attachments = new Google_Service_Proximitybeacon_BeaconsAttachments_Resource( + $this, + $this->serviceName, + 'attachments', + array( + 'methods' => array( + 'batchDelete' => array( + 'path' => 'v1beta1/{+beaconName}/attachments:batchDelete', + 'httpMethod' => 'POST', + 'parameters' => array( + 'beaconName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'namespacedType' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'create' => array( + 'path' => 'v1beta1/{+beaconName}/attachments', + 'httpMethod' => 'POST', + 'parameters' => array( + 'beaconName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v1beta1/{+attachmentName}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'attachmentName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1beta1/{+beaconName}/attachments', + 'httpMethod' => 'GET', + 'parameters' => array( + 'beaconName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'namespacedType' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->beacons_diagnostics = new Google_Service_Proximitybeacon_BeaconsDiagnostics_Resource( + $this, + $this->serviceName, + 'diagnostics', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v1beta1/{+beaconName}/diagnostics', + 'httpMethod' => 'GET', + 'parameters' => array( + 'beaconName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'alertFilter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->namespaces = new Google_Service_Proximitybeacon_Namespaces_Resource( + $this, + $this->serviceName, + 'namespaces', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v1beta1/namespaces', + 'httpMethod' => 'GET', + 'parameters' => array(), + ), + ) + ) + ); + } +} + + +/** + * The "beaconinfo" collection of methods. + * Typical usage is: + * + * $proximitybeaconService = new Google_Service_Proximitybeacon(...); + * $beaconinfo = $proximitybeaconService->beaconinfo; + * + */ +class Google_Service_Proximitybeacon_Beaconinfo_Resource extends Google_Service_Resource +{ + + /** + * Given one or more beacon observations, returns any beacon information and + * attachments accessible to your application. (beaconinfo.getforobserved) + * + * @param Google_GetInfoForObservedBeaconsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Proximitybeacon_GetInfoForObservedBeaconsResponse + */ + public function getforobserved(Google_Service_Proximitybeacon_GetInfoForObservedBeaconsRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('getforobserved', array($params), "Google_Service_Proximitybeacon_GetInfoForObservedBeaconsResponse"); + } +} + +/** + * The "beacons" collection of methods. + * Typical usage is: + * + * $proximitybeaconService = new Google_Service_Proximitybeacon(...); + * $beacons = $proximitybeaconService->beacons; + * + */ +class Google_Service_Proximitybeacon_Beacons_Resource extends Google_Service_Resource +{ + + /** + * (Re)activates a beacon. A beacon that is active will return information and + * attachment data when queried via `beaconinfo.getforobserved`. Calling this + * method on an already active beacon will do nothing (but will return a + * successful response code). (beacons.activate) + * + * @param string $beaconName The beacon to activate. Required. + * @param array $optParams Optional parameters. + * @return Google_Service_Proximitybeacon_Empty + */ + public function activate($beaconName, $optParams = array()) + { + $params = array('beaconName' => $beaconName); + $params = array_merge($params, $optParams); + return $this->call('activate', array($params), "Google_Service_Proximitybeacon_Empty"); + } + + /** + * Deactivates a beacon. Once deactivated, the API will not return information + * nor attachment data for the beacon when queried via + * `beaconinfo.getforobserved`. Calling this method on an already inactive + * beacon will do nothing (but will return a successful response code). + * (beacons.deactivate) + * + * @param string $beaconName The beacon name of this beacon. + * @param array $optParams Optional parameters. + * @return Google_Service_Proximitybeacon_Empty + */ + public function deactivate($beaconName, $optParams = array()) + { + $params = array('beaconName' => $beaconName); + $params = array_merge($params, $optParams); + return $this->call('deactivate', array($params), "Google_Service_Proximitybeacon_Empty"); + } + + /** + * Decommissions the specified beacon in the service. This beacon will no longer + * be returned from `beaconinfo.getforobserved`. This operation is permanent -- + * you will not be able to re-register a beacon with this ID again. + * (beacons.decommission) + * + * @param string $beaconName Beacon that should be decommissioned. Required. + * @param array $optParams Optional parameters. + * @return Google_Service_Proximitybeacon_Empty + */ + public function decommission($beaconName, $optParams = array()) + { + $params = array('beaconName' => $beaconName); + $params = array_merge($params, $optParams); + return $this->call('decommission', array($params), "Google_Service_Proximitybeacon_Empty"); + } + + /** + * Returns detailed information about the specified beacon. (beacons.get) + * + * @param string $beaconName Beacon that is requested. + * @param array $optParams Optional parameters. + * @return Google_Service_Proximitybeacon_Beacon + */ + public function get($beaconName, $optParams = array()) + { + $params = array('beaconName' => $beaconName); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Proximitybeacon_Beacon"); + } + + /** + * Searches the beacon registry for beacons that match the given search + * criteria. Only those beacons that the client has permission to list will be + * returned. (beacons.listBeacons) + * + * @param array $optParams Optional parameters. + * + * @opt_param string q Filter query string that supports the following field + * filters: * `description:""` For example: `description:"Room 3"` Returns + * beacons whose description matches tokens in the string "Room 3" (not + * necessarily that exact string). The string must be double-quoted. * `status:` + * For example: `status:active` Returns beacons whose status matches the given + * value. Values must be one of the Beacon.Status enum values (case + * insensitive). Accepts multiple filters which will be combined with OR logic. + * * `stability:` For example: `stability:mobile` Returns beacons whose expected + * stability matches the given value. Values must be one of the Beacon.Stability + * enum values (case insensitive). Accepts multiple filters which will be + * combined with OR logic. * `place_id:""` For example: + * `place_id:"ChIJVSZzVR8FdkgRXGmmm6SslKw="` Returns beacons explicitly + * registered at the given place, expressed as a Place ID obtained from [Google + * Places API](/places/place-id). Does not match places inside the given place. + * Does not consider the beacon's actual location (which may be different from + * its registered place). Accepts multiple filters that will be combined with OR + * logic. The place ID must be double-quoted. * `registration_time[|=]` For + * example: `registration_time>=1433116800` Returns beacons whose registration + * time matches the given filter. Supports the operators: , =. Timestamp must be + * expressed as an integer number of seconds since midnight January 1, 1970 UTC. + * Accepts at most two filters that will be combined with AND logic, to support + * "between" semantics. If more than two are supplied, the latter ones are + * ignored. * `lat: lng: radius:` For example: `lat:51.1232343 lng:-1.093852 + * radius:1000` Returns beacons whose registered location is within the given + * circle. When any of these fields are given, all are required. Latitude and + * longitude must be decimal degrees between -90.0 and 90.0 and between -180.0 + * and 180.0 respectively. Radius must be an integer number of meters less than + * 1,000,000 (1000 km). * `property:"="` For example: `property:"battery- + * type=CR2032"` Returns beacons which have a property of the given name and + * value. Supports multiple filters which will be combined with OR logic. The + * entire name=value string must be double-quoted as one string. * + * `attachment_type:""` For example: `attachment_type:"my-namespace/my-type"` + * Returns beacons having at least one attachment of the given namespaced type. + * Supports "any within this namespace" via the partial wildcard syntax: "my- + * namespace". Supports multiple filters which will be combined with OR logic. + * The string must be double-quoted. Multiple filters on the same field are + * combined with OR logic (except registration_time which is combined with AND + * logic). Multiple filters on different fields are combined with AND logic. + * Filters should be separated by spaces. As with any HTTP query string + * parameter, the whole filter expression must be URL-encoded. Example REST + * request: `GET + * /v1beta1/beacons?q=status:active%20lat:51.123%20lng:-1.095%20radius:1000` + * @opt_param string pageToken A pagination token obtained from a previous + * request to list beacons. + * @opt_param int pageSize The maximum number of records to return for this + * request, up to a server-defined upper limit. + * @return Google_Service_Proximitybeacon_ListBeaconsResponse + */ + public function listBeacons($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Proximitybeacon_ListBeaconsResponse"); + } + + /** + * Registers a previously unregistered beacon given its `advertisedId`. These + * IDs are unique within the system. An ID can be registered only once. + * (beacons.register) + * + * @param Google_Beacon $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Proximitybeacon_Beacon + */ + public function register(Google_Service_Proximitybeacon_Beacon $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('register', array($params), "Google_Service_Proximitybeacon_Beacon"); + } + + /** + * Updates the information about the specified beacon. **Any field that you do + * not populate in the submitted beacon will be permanently erased**, so you + * should follow the "read, modify, write" pattern to avoid inadvertently + * destroying data. Changes to the beacon status via this method will be + * silently ignored. To update beacon status, use the separate methods on this + * API for (de)activation and decommissioning. (beacons.update) + * + * @param string $beaconName Resource name of this beacon. A beacon name has the + * format "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by + * the beacon and N is a code for the beacon's type. Possible values are `3` for + * Eddystone, `1` for iBeacon, or `5` for AltBeacon. This field must be left + * empty when registering. After reading a beacon, clients can use the name for + * future operations. + * @param Google_Beacon $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Proximitybeacon_Beacon + */ + public function update($beaconName, Google_Service_Proximitybeacon_Beacon $postBody, $optParams = array()) + { + $params = array('beaconName' => $beaconName, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Proximitybeacon_Beacon"); + } +} + +/** + * The "attachments" collection of methods. + * Typical usage is: + * + * $proximitybeaconService = new Google_Service_Proximitybeacon(...); + * $attachments = $proximitybeaconService->attachments; + * + */ +class Google_Service_Proximitybeacon_BeaconsAttachments_Resource extends Google_Service_Resource +{ + + /** + * Deletes multiple attachments on a given beacon. This operation is permanent + * and cannot be undone. You can optionally specify `namespacedType` to choose + * which attachments should be deleted. If you do not specify `namespacedType`, + * all your attachments on the given beacon will be deleted. You also may + * explicitly specify `*` to delete all. (attachments.batchDelete) + * + * @param string $beaconName The beacon whose attachments are to be deleted. + * Required. + * @param array $optParams Optional parameters. + * + * @opt_param string namespacedType Specifies the namespace and type of + * attachments to delete in `namespace/type` format. Accepts `*` to specify "all + * types in all namespaces". Optional. + * @return Google_Service_Proximitybeacon_DeleteAttachmentsResponse + */ + public function batchDelete($beaconName, $optParams = array()) + { + $params = array('beaconName' => $beaconName); + $params = array_merge($params, $optParams); + return $this->call('batchDelete', array($params), "Google_Service_Proximitybeacon_DeleteAttachmentsResponse"); + } + + /** + * Associates the given data with the specified beacon. Attachment data must + * contain two parts: - A namespaced type. - The actual attachment data itself. + * The namespaced type consists of two parts, the namespace and the type. The + * namespace must be one of the values returned by the `namespaces` endpoint, + * while the type can be a string of any characters except for the forward slash + * (`/`) up to 100 characters in length. Attachment data can be up to 1024 bytes + * long. (attachments.create) + * + * @param string $beaconName The beacon on which the attachment should be + * created. Required. + * @param Google_BeaconAttachment $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Proximitybeacon_BeaconAttachment + */ + public function create($beaconName, Google_Service_Proximitybeacon_BeaconAttachment $postBody, $optParams = array()) + { + $params = array('beaconName' => $beaconName, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Proximitybeacon_BeaconAttachment"); + } + + /** + * Deletes the specified attachment for the given beacon. Each attachment has a + * unique attachment name (`attachmentName`) which is returned when you fetch + * the attachment data via this API. You specify this with the delete request to + * control which attachment is removed. This operation cannot be undone. + * (attachments.delete) + * + * @param string $attachmentName The attachment name (`attachmentName`) of the + * attachment to remove. For example: + * `beacons/3!893737abc9/attachments/c5e937-af0-494-959-ec49d12738` Required. + * @param array $optParams Optional parameters. + * @return Google_Service_Proximitybeacon_Empty + */ + public function delete($attachmentName, $optParams = array()) + { + $params = array('attachmentName' => $attachmentName); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Proximitybeacon_Empty"); + } + + /** + * Returns the attachments for the specified beacon that match the specified + * namespaced-type pattern. To control which namespaced types are returned, you + * add the `namespacedType` query parameter to the request. You must either use + * `*`, to return all attachments, or the namespace must be one of the ones + * returned from the `namespaces` endpoint. (attachments.listBeaconsAttachments) + * + * @param string $beaconName The beacon whose attachments are to be fetched. + * Required. + * @param array $optParams Optional parameters. + * + * @opt_param string namespacedType Specifies the namespace and type of + * attachment to include in response in namespace/type format. Accepts `*` to + * specify "all types in all namespaces". + * @return Google_Service_Proximitybeacon_ListBeaconAttachmentsResponse + */ + public function listBeaconsAttachments($beaconName, $optParams = array()) + { + $params = array('beaconName' => $beaconName); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Proximitybeacon_ListBeaconAttachmentsResponse"); + } +} +/** + * The "diagnostics" collection of methods. + * Typical usage is: + * + * $proximitybeaconService = new Google_Service_Proximitybeacon(...); + * $diagnostics = $proximitybeaconService->diagnostics; + * + */ +class Google_Service_Proximitybeacon_BeaconsDiagnostics_Resource extends Google_Service_Resource +{ + + /** + * List the diagnostics for a single beacon. You can also list diagnostics for + * all the beacons owned by your Google Developers Console project by using the + * beacon name `beacons/-`. (diagnostics.listBeaconsDiagnostics) + * + * @param string $beaconName Beacon that the diagnostics are for. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Requests results that occur after the + * `page_token`, obtained from the response to a previous request. Optional. + * @opt_param string alertFilter Requests only beacons that have the given + * alert. For example, to find beacons that have low batteries use + * `alert_filter=LOW_BATTERY`. + * @opt_param int pageSize Specifies the maximum number of results to return. + * Defaults to 10. Maximum 1000. Optional. + * @return Google_Service_Proximitybeacon_ListDiagnosticsResponse + */ + public function listBeaconsDiagnostics($beaconName, $optParams = array()) + { + $params = array('beaconName' => $beaconName); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Proximitybeacon_ListDiagnosticsResponse"); + } +} + +/** + * The "namespaces" collection of methods. + * Typical usage is: + * + * $proximitybeaconService = new Google_Service_Proximitybeacon(...); + * $namespaces = $proximitybeaconService->namespaces; + * + */ +class Google_Service_Proximitybeacon_Namespaces_Resource extends Google_Service_Resource +{ + + /** + * Lists all attachment namespaces owned by your Google Developers Console + * project. Attachment data associated with a beacon must include a namespaced + * type, and the namespace must be owned by your project. + * (namespaces.listNamespaces) + * + * @param array $optParams Optional parameters. + * @return Google_Service_Proximitybeacon_ListNamespacesResponse + */ + public function listNamespaces($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Proximitybeacon_ListNamespacesResponse"); + } +} + + + + +class Google_Service_Proximitybeacon_AdvertisedId extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $type; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Proximitybeacon_AttachmentInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $data; + public $namespacedType; + + + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setNamespacedType($namespacedType) + { + $this->namespacedType = $namespacedType; + } + public function getNamespacedType() + { + return $this->namespacedType; + } +} + +class Google_Service_Proximitybeacon_Beacon extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $advertisedIdType = 'Google_Service_Proximitybeacon_AdvertisedId'; + protected $advertisedIdDataType = ''; + public $beaconName; + public $description; + public $expectedStability; + protected $indoorLevelType = 'Google_Service_Proximitybeacon_IndoorLevel'; + protected $indoorLevelDataType = ''; + protected $latLngType = 'Google_Service_Proximitybeacon_LatLng'; + protected $latLngDataType = ''; + public $placeId; + public $properties; + public $status; + + + public function setAdvertisedId(Google_Service_Proximitybeacon_AdvertisedId $advertisedId) + { + $this->advertisedId = $advertisedId; + } + public function getAdvertisedId() + { + return $this->advertisedId; + } + public function setBeaconName($beaconName) + { + $this->beaconName = $beaconName; + } + public function getBeaconName() + { + return $this->beaconName; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setExpectedStability($expectedStability) + { + $this->expectedStability = $expectedStability; + } + public function getExpectedStability() + { + return $this->expectedStability; + } + public function setIndoorLevel(Google_Service_Proximitybeacon_IndoorLevel $indoorLevel) + { + $this->indoorLevel = $indoorLevel; + } + public function getIndoorLevel() + { + return $this->indoorLevel; + } + public function setLatLng(Google_Service_Proximitybeacon_LatLng $latLng) + { + $this->latLng = $latLng; + } + public function getLatLng() + { + return $this->latLng; + } + public function setPlaceId($placeId) + { + $this->placeId = $placeId; + } + public function getPlaceId() + { + return $this->placeId; + } + public function setProperties($properties) + { + $this->properties = $properties; + } + public function getProperties() + { + return $this->properties; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} + +class Google_Service_Proximitybeacon_BeaconAttachment extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $attachmentName; + public $data; + public $namespacedType; + + + public function setAttachmentName($attachmentName) + { + $this->attachmentName = $attachmentName; + } + public function getAttachmentName() + { + return $this->attachmentName; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setNamespacedType($namespacedType) + { + $this->namespacedType = $namespacedType; + } + public function getNamespacedType() + { + return $this->namespacedType; + } +} + +class Google_Service_Proximitybeacon_BeaconInfo extends Google_Collection +{ + protected $collection_key = 'attachments'; + protected $internal_gapi_mappings = array( + ); + protected $advertisedIdType = 'Google_Service_Proximitybeacon_AdvertisedId'; + protected $advertisedIdDataType = ''; + protected $attachmentsType = 'Google_Service_Proximitybeacon_AttachmentInfo'; + protected $attachmentsDataType = 'array'; + public $beaconName; + public $description; + + + public function setAdvertisedId(Google_Service_Proximitybeacon_AdvertisedId $advertisedId) + { + $this->advertisedId = $advertisedId; + } + public function getAdvertisedId() + { + return $this->advertisedId; + } + public function setAttachments($attachments) + { + $this->attachments = $attachments; + } + public function getAttachments() + { + return $this->attachments; + } + public function setBeaconName($beaconName) + { + $this->beaconName = $beaconName; + } + public function getBeaconName() + { + return $this->beaconName; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } +} + +class Google_Service_Proximitybeacon_BeaconProperties extends Google_Model +{ +} + +class Google_Service_Proximitybeacon_Date extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $day; + public $month; + public $year; + + + public function setDay($day) + { + $this->day = $day; + } + public function getDay() + { + return $this->day; + } + public function setMonth($month) + { + $this->month = $month; + } + public function getMonth() + { + return $this->month; + } + public function setYear($year) + { + $this->year = $year; + } + public function getYear() + { + return $this->year; + } +} + +class Google_Service_Proximitybeacon_DeleteAttachmentsResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $numDeleted; + + + public function setNumDeleted($numDeleted) + { + $this->numDeleted = $numDeleted; + } + public function getNumDeleted() + { + return $this->numDeleted; + } +} + +class Google_Service_Proximitybeacon_Diagnostics extends Google_Collection +{ + protected $collection_key = 'alerts'; + protected $internal_gapi_mappings = array( + ); + public $alerts; + public $beaconName; + protected $estimatedLowBatteryDateType = 'Google_Service_Proximitybeacon_Date'; + protected $estimatedLowBatteryDateDataType = ''; + + + public function setAlerts($alerts) + { + $this->alerts = $alerts; + } + public function getAlerts() + { + return $this->alerts; + } + public function setBeaconName($beaconName) + { + $this->beaconName = $beaconName; + } + public function getBeaconName() + { + return $this->beaconName; + } + public function setEstimatedLowBatteryDate(Google_Service_Proximitybeacon_Date $estimatedLowBatteryDate) + { + $this->estimatedLowBatteryDate = $estimatedLowBatteryDate; + } + public function getEstimatedLowBatteryDate() + { + return $this->estimatedLowBatteryDate; + } +} + +class Google_Service_Proximitybeacon_Empty extends Google_Model +{ +} + +class Google_Service_Proximitybeacon_GetInfoForObservedBeaconsRequest extends Google_Collection +{ + protected $collection_key = 'observations'; + protected $internal_gapi_mappings = array( + ); + public $namespacedTypes; + protected $observationsType = 'Google_Service_Proximitybeacon_Observation'; + protected $observationsDataType = 'array'; + + + public function setNamespacedTypes($namespacedTypes) + { + $this->namespacedTypes = $namespacedTypes; + } + public function getNamespacedTypes() + { + return $this->namespacedTypes; + } + public function setObservations($observations) + { + $this->observations = $observations; + } + public function getObservations() + { + return $this->observations; + } +} + +class Google_Service_Proximitybeacon_GetInfoForObservedBeaconsResponse extends Google_Collection +{ + protected $collection_key = 'beacons'; + protected $internal_gapi_mappings = array( + ); + protected $beaconsType = 'Google_Service_Proximitybeacon_BeaconInfo'; + protected $beaconsDataType = 'array'; + + + public function setBeacons($beacons) + { + $this->beacons = $beacons; + } + public function getBeacons() + { + return $this->beacons; + } +} + +class Google_Service_Proximitybeacon_IndoorLevel extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $name; + + + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_Proximitybeacon_LatLng extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $latitude; + public $longitude; + + + public function setLatitude($latitude) + { + $this->latitude = $latitude; + } + public function getLatitude() + { + return $this->latitude; + } + public function setLongitude($longitude) + { + $this->longitude = $longitude; + } + public function getLongitude() + { + return $this->longitude; + } +} + +class Google_Service_Proximitybeacon_ListBeaconAttachmentsResponse extends Google_Collection +{ + protected $collection_key = 'attachments'; + protected $internal_gapi_mappings = array( + ); + protected $attachmentsType = 'Google_Service_Proximitybeacon_BeaconAttachment'; + protected $attachmentsDataType = 'array'; + + + public function setAttachments($attachments) + { + $this->attachments = $attachments; + } + public function getAttachments() + { + return $this->attachments; + } +} + +class Google_Service_Proximitybeacon_ListBeaconsResponse extends Google_Collection +{ + protected $collection_key = 'beacons'; + protected $internal_gapi_mappings = array( + ); + protected $beaconsType = 'Google_Service_Proximitybeacon_Beacon'; + protected $beaconsDataType = 'array'; + public $nextPageToken; + public $totalCount; + + + public function setBeacons($beacons) + { + $this->beacons = $beacons; + } + public function getBeacons() + { + return $this->beacons; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTotalCount($totalCount) + { + $this->totalCount = $totalCount; + } + public function getTotalCount() + { + return $this->totalCount; + } +} + +class Google_Service_Proximitybeacon_ListDiagnosticsResponse extends Google_Collection +{ + protected $collection_key = 'diagnostics'; + protected $internal_gapi_mappings = array( + ); + protected $diagnosticsType = 'Google_Service_Proximitybeacon_Diagnostics'; + protected $diagnosticsDataType = 'array'; + public $nextPageToken; + + + public function setDiagnostics($diagnostics) + { + $this->diagnostics = $diagnostics; + } + public function getDiagnostics() + { + return $this->diagnostics; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Proximitybeacon_ListNamespacesResponse extends Google_Collection +{ + protected $collection_key = 'namespaces'; + protected $internal_gapi_mappings = array( + ); + protected $namespacesType = 'Google_Service_Proximitybeacon_ProximitybeaconNamespace'; + protected $namespacesDataType = 'array'; + + + public function setNamespaces($namespaces) + { + $this->namespaces = $namespaces; + } + public function getNamespaces() + { + return $this->namespaces; + } +} + +class Google_Service_Proximitybeacon_Observation extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $advertisedIdType = 'Google_Service_Proximitybeacon_AdvertisedId'; + protected $advertisedIdDataType = ''; + public $telemetry; + public $timestampMs; + + + public function setAdvertisedId(Google_Service_Proximitybeacon_AdvertisedId $advertisedId) + { + $this->advertisedId = $advertisedId; + } + public function getAdvertisedId() + { + return $this->advertisedId; + } + public function setTelemetry($telemetry) + { + $this->telemetry = $telemetry; + } + public function getTelemetry() + { + return $this->telemetry; + } + public function setTimestampMs($timestampMs) + { + $this->timestampMs = $timestampMs; + } + public function getTimestampMs() + { + return $this->timestampMs; + } +} + +class Google_Service_Proximitybeacon_ProximitybeaconNamespace extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $namespaceName; + public $servingVisibility; + + + public function setNamespaceName($namespaceName) + { + $this->namespaceName = $namespaceName; + } + public function getNamespaceName() + { + return $this->namespaceName; + } + public function setServingVisibility($servingVisibility) + { + $this->servingVisibility = $servingVisibility; + } + public function getServingVisibility() + { + return $this->servingVisibility; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Pubsub.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Pubsub.php new file mode 100644 index 0000000..e4fc97c --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Pubsub.php @@ -0,0 +1,991 @@ + + * Provides reliable, many-to-many, asynchronous messaging between applications.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Pubsub extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** View and manage Pub/Sub topics and subscriptions. */ + const PUBSUB = + "https://www.googleapis.com/auth/pubsub"; + + public $subscriptions; + public $topics; + + + /** + * Constructs the internal representation of the Pubsub service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'pubsub/v1beta1/'; + $this->version = 'v1beta1'; + $this->serviceName = 'pubsub'; + + $this->subscriptions = new Google_Service_Pubsub_Subscriptions_Resource( + $this, + $this->serviceName, + 'subscriptions', + array( + 'methods' => array( + 'acknowledge' => array( + 'path' => 'subscriptions/acknowledge', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'create' => array( + 'path' => 'subscriptions', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'delete' => array( + 'path' => 'subscriptions/{+subscription}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'subscription' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'subscriptions/{+subscription}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'subscription' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'subscriptions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'query' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'modifyAckDeadline' => array( + 'path' => 'subscriptions/modifyAckDeadline', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'modifyPushConfig' => array( + 'path' => 'subscriptions/modifyPushConfig', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'pull' => array( + 'path' => 'subscriptions/pull', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'pullBatch' => array( + 'path' => 'subscriptions/pullBatch', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->topics = new Google_Service_Pubsub_Topics_Resource( + $this, + $this->serviceName, + 'topics', + array( + 'methods' => array( + 'create' => array( + 'path' => 'topics', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'delete' => array( + 'path' => 'topics/{+topic}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'topic' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'topics/{+topic}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'topic' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'topics', + 'httpMethod' => 'GET', + 'parameters' => array( + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'query' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'publish' => array( + 'path' => 'topics/publish', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'publishBatch' => array( + 'path' => 'topics/publishBatch', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + } +} + + +/** + * The "subscriptions" collection of methods. + * Typical usage is: + * + * $pubsubService = new Google_Service_Pubsub(...); + * $subscriptions = $pubsubService->subscriptions; + * + */ +class Google_Service_Pubsub_Subscriptions_Resource extends Google_Service_Resource +{ + + /** + * Acknowledges a particular received message: the Pub/Sub system can remove the + * given message from the subscription. Acknowledging a message whose Ack + * deadline has expired may succeed, but the message could have been already + * redelivered. Acknowledging a message more than once will not result in an + * error. This is only used for messages received via pull. + * (subscriptions.acknowledge) + * + * @param Google_AcknowledgeRequest $postBody + * @param array $optParams Optional parameters. + */ + public function acknowledge(Google_Service_Pubsub_AcknowledgeRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('acknowledge', array($params)); + } + + /** + * Creates a subscription on a given topic for a given subscriber. If the + * subscription already exists, returns ALREADY_EXISTS. If the corresponding + * topic doesn't exist, returns NOT_FOUND. + * + * If the name is not provided in the request, the server will assign a random + * name for this subscription on the same project as the topic. + * (subscriptions.create) + * + * @param Google_Subscription $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Pubsub_Subscription + */ + public function create(Google_Service_Pubsub_Subscription $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Pubsub_Subscription"); + } + + /** + * Deletes an existing subscription. All pending messages in the subscription + * are immediately dropped. Calls to Pull after deletion will return NOT_FOUND. + * (subscriptions.delete) + * + * @param string $subscription The subscription to delete. + * @param array $optParams Optional parameters. + */ + public function delete($subscription, $optParams = array()) + { + $params = array('subscription' => $subscription); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Gets the configuration details of a subscription. (subscriptions.get) + * + * @param string $subscription The name of the subscription to get. + * @param array $optParams Optional parameters. + * @return Google_Service_Pubsub_Subscription + */ + public function get($subscription, $optParams = array()) + { + $params = array('subscription' => $subscription); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Pubsub_Subscription"); + } + + /** + * Lists matching subscriptions. (subscriptions.listSubscriptions) + * + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The value obtained in the last + * ListSubscriptionsResponse for continuation. + * @opt_param int maxResults Maximum number of subscriptions to return. + * @opt_param string query A valid label query expression. + * @return Google_Service_Pubsub_ListSubscriptionsResponse + */ + public function listSubscriptions($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Pubsub_ListSubscriptionsResponse"); + } + + /** + * Modifies the Ack deadline for a message received from a pull request. + * (subscriptions.modifyAckDeadline) + * + * @param Google_ModifyAckDeadlineRequest $postBody + * @param array $optParams Optional parameters. + */ + public function modifyAckDeadline(Google_Service_Pubsub_ModifyAckDeadlineRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('modifyAckDeadline', array($params)); + } + + /** + * Modifies the PushConfig for a specified subscription. This method can be used + * to suspend the flow of messages to an endpoint by clearing the PushConfig + * field in the request. Messages will be accumulated for delivery even if no + * push configuration is defined or while the configuration is modified. + * (subscriptions.modifyPushConfig) + * + * @param Google_ModifyPushConfigRequest $postBody + * @param array $optParams Optional parameters. + */ + public function modifyPushConfig(Google_Service_Pubsub_ModifyPushConfigRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('modifyPushConfig', array($params)); + } + + /** + * Pulls a single message from the server. If return_immediately is true, and no + * messages are available in the subscription, this method returns + * FAILED_PRECONDITION. The system is free to return an UNAVAILABLE error if no + * messages are available in a reasonable amount of time (to reduce system + * load). (subscriptions.pull) + * + * @param Google_PullRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Pubsub_PullResponse + */ + public function pull(Google_Service_Pubsub_PullRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('pull', array($params), "Google_Service_Pubsub_PullResponse"); + } + + /** + * Pulls messages from the server. Returns an empty list if there are no + * messages available in the backlog. The system is free to return UNAVAILABLE + * if there are too many pull requests outstanding for the given subscription. + * (subscriptions.pullBatch) + * + * @param Google_PullBatchRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Pubsub_PullBatchResponse + */ + public function pullBatch(Google_Service_Pubsub_PullBatchRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('pullBatch', array($params), "Google_Service_Pubsub_PullBatchResponse"); + } +} + +/** + * The "topics" collection of methods. + * Typical usage is: + * + * $pubsubService = new Google_Service_Pubsub(...); + * $topics = $pubsubService->topics; + * + */ +class Google_Service_Pubsub_Topics_Resource extends Google_Service_Resource +{ + + /** + * Creates the given topic with the given name. (topics.create) + * + * @param Google_Topic $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Pubsub_Topic + */ + public function create(Google_Service_Pubsub_Topic $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Pubsub_Topic"); + } + + /** + * Deletes the topic with the given name. Returns NOT_FOUND if the topic does + * not exist. After a topic is deleted, a new topic may be created with the same + * name. (topics.delete) + * + * @param string $topic Name of the topic to delete. + * @param array $optParams Optional parameters. + */ + public function delete($topic, $optParams = array()) + { + $params = array('topic' => $topic); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Gets the configuration of a topic. Since the topic only has the name + * attribute, this method is only useful to check the existence of a topic. If + * other attributes are added in the future, they will be returned here. + * (topics.get) + * + * @param string $topic The name of the topic to get. + * @param array $optParams Optional parameters. + * @return Google_Service_Pubsub_Topic + */ + public function get($topic, $optParams = array()) + { + $params = array('topic' => $topic); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Pubsub_Topic"); + } + + /** + * Lists matching topics. (topics.listTopics) + * + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The value obtained in the last ListTopicsResponse + * for continuation. + * @opt_param int maxResults Maximum number of topics to return. + * @opt_param string query A valid label query expression. + * @return Google_Service_Pubsub_ListTopicsResponse + */ + public function listTopics($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Pubsub_ListTopicsResponse"); + } + + /** + * Adds a message to the topic. Returns NOT_FOUND if the topic does not exist. + * (topics.publish) + * + * @param Google_PublishRequest $postBody + * @param array $optParams Optional parameters. + */ + public function publish(Google_Service_Pubsub_PublishRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('publish', array($params)); + } + + /** + * Adds one or more messages to the topic. Returns NOT_FOUND if the topic does + * not exist. (topics.publishBatch) + * + * @param Google_PublishBatchRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Pubsub_PublishBatchResponse + */ + public function publishBatch(Google_Service_Pubsub_PublishBatchRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('publishBatch', array($params), "Google_Service_Pubsub_PublishBatchResponse"); + } +} + + + + +class Google_Service_Pubsub_AcknowledgeRequest extends Google_Collection +{ + protected $collection_key = 'ackId'; + protected $internal_gapi_mappings = array( + ); + public $ackId; + public $subscription; + + + public function setAckId($ackId) + { + $this->ackId = $ackId; + } + public function getAckId() + { + return $this->ackId; + } + public function setSubscription($subscription) + { + $this->subscription = $subscription; + } + public function getSubscription() + { + return $this->subscription; + } +} + +class Google_Service_Pubsub_Label extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $key; + public $numValue; + public $strValue; + + + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setNumValue($numValue) + { + $this->numValue = $numValue; + } + public function getNumValue() + { + return $this->numValue; + } + public function setStrValue($strValue) + { + $this->strValue = $strValue; + } + public function getStrValue() + { + return $this->strValue; + } +} + +class Google_Service_Pubsub_ListSubscriptionsResponse extends Google_Collection +{ + protected $collection_key = 'subscription'; + protected $internal_gapi_mappings = array( + ); + public $nextPageToken; + protected $subscriptionType = 'Google_Service_Pubsub_Subscription'; + protected $subscriptionDataType = 'array'; + + + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSubscription($subscription) + { + $this->subscription = $subscription; + } + public function getSubscription() + { + return $this->subscription; + } +} + +class Google_Service_Pubsub_ListTopicsResponse extends Google_Collection +{ + protected $collection_key = 'topic'; + protected $internal_gapi_mappings = array( + ); + public $nextPageToken; + protected $topicType = 'Google_Service_Pubsub_Topic'; + protected $topicDataType = 'array'; + + + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTopic($topic) + { + $this->topic = $topic; + } + public function getTopic() + { + return $this->topic; + } +} + +class Google_Service_Pubsub_ModifyAckDeadlineRequest extends Google_Collection +{ + protected $collection_key = 'ackIds'; + protected $internal_gapi_mappings = array( + ); + public $ackDeadlineSeconds; + public $ackId; + public $ackIds; + public $subscription; + + + public function setAckDeadlineSeconds($ackDeadlineSeconds) + { + $this->ackDeadlineSeconds = $ackDeadlineSeconds; + } + public function getAckDeadlineSeconds() + { + return $this->ackDeadlineSeconds; + } + public function setAckId($ackId) + { + $this->ackId = $ackId; + } + public function getAckId() + { + return $this->ackId; + } + public function setAckIds($ackIds) + { + $this->ackIds = $ackIds; + } + public function getAckIds() + { + return $this->ackIds; + } + public function setSubscription($subscription) + { + $this->subscription = $subscription; + } + public function getSubscription() + { + return $this->subscription; + } +} + +class Google_Service_Pubsub_ModifyPushConfigRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $pushConfigType = 'Google_Service_Pubsub_PushConfig'; + protected $pushConfigDataType = ''; + public $subscription; + + + public function setPushConfig(Google_Service_Pubsub_PushConfig $pushConfig) + { + $this->pushConfig = $pushConfig; + } + public function getPushConfig() + { + return $this->pushConfig; + } + public function setSubscription($subscription) + { + $this->subscription = $subscription; + } + public function getSubscription() + { + return $this->subscription; + } +} + +class Google_Service_Pubsub_PublishBatchRequest extends Google_Collection +{ + protected $collection_key = 'messages'; + protected $internal_gapi_mappings = array( + ); + protected $messagesType = 'Google_Service_Pubsub_PubsubMessage'; + protected $messagesDataType = 'array'; + public $topic; + + + public function setMessages($messages) + { + $this->messages = $messages; + } + public function getMessages() + { + return $this->messages; + } + public function setTopic($topic) + { + $this->topic = $topic; + } + public function getTopic() + { + return $this->topic; + } +} + +class Google_Service_Pubsub_PublishBatchResponse extends Google_Collection +{ + protected $collection_key = 'messageIds'; + protected $internal_gapi_mappings = array( + ); + public $messageIds; + + + public function setMessageIds($messageIds) + { + $this->messageIds = $messageIds; + } + public function getMessageIds() + { + return $this->messageIds; + } +} + +class Google_Service_Pubsub_PublishRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $messageType = 'Google_Service_Pubsub_PubsubMessage'; + protected $messageDataType = ''; + public $topic; + + + public function setMessage(Google_Service_Pubsub_PubsubMessage $message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } + public function setTopic($topic) + { + $this->topic = $topic; + } + public function getTopic() + { + return $this->topic; + } +} + +class Google_Service_Pubsub_PubsubEvent extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $deleted; + protected $messageType = 'Google_Service_Pubsub_PubsubMessage'; + protected $messageDataType = ''; + public $subscription; + public $truncated; + + + public function setDeleted($deleted) + { + $this->deleted = $deleted; + } + public function getDeleted() + { + return $this->deleted; + } + public function setMessage(Google_Service_Pubsub_PubsubMessage $message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } + public function setSubscription($subscription) + { + $this->subscription = $subscription; + } + public function getSubscription() + { + return $this->subscription; + } + public function setTruncated($truncated) + { + $this->truncated = $truncated; + } + public function getTruncated() + { + return $this->truncated; + } +} + +class Google_Service_Pubsub_PubsubMessage extends Google_Collection +{ + protected $collection_key = 'label'; + protected $internal_gapi_mappings = array( + ); + public $data; + protected $labelType = 'Google_Service_Pubsub_Label'; + protected $labelDataType = 'array'; + public $messageId; + + + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setLabel($label) + { + $this->label = $label; + } + public function getLabel() + { + return $this->label; + } + public function setMessageId($messageId) + { + $this->messageId = $messageId; + } + public function getMessageId() + { + return $this->messageId; + } +} + +class Google_Service_Pubsub_PullBatchRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $maxEvents; + public $returnImmediately; + public $subscription; + + + public function setMaxEvents($maxEvents) + { + $this->maxEvents = $maxEvents; + } + public function getMaxEvents() + { + return $this->maxEvents; + } + public function setReturnImmediately($returnImmediately) + { + $this->returnImmediately = $returnImmediately; + } + public function getReturnImmediately() + { + return $this->returnImmediately; + } + public function setSubscription($subscription) + { + $this->subscription = $subscription; + } + public function getSubscription() + { + return $this->subscription; + } +} + +class Google_Service_Pubsub_PullBatchResponse extends Google_Collection +{ + protected $collection_key = 'pullResponses'; + protected $internal_gapi_mappings = array( + ); + protected $pullResponsesType = 'Google_Service_Pubsub_PullResponse'; + protected $pullResponsesDataType = 'array'; + + + public function setPullResponses($pullResponses) + { + $this->pullResponses = $pullResponses; + } + public function getPullResponses() + { + return $this->pullResponses; + } +} + +class Google_Service_Pubsub_PullRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $returnImmediately; + public $subscription; + + + public function setReturnImmediately($returnImmediately) + { + $this->returnImmediately = $returnImmediately; + } + public function getReturnImmediately() + { + return $this->returnImmediately; + } + public function setSubscription($subscription) + { + $this->subscription = $subscription; + } + public function getSubscription() + { + return $this->subscription; + } +} + +class Google_Service_Pubsub_PullResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $ackId; + protected $pubsubEventType = 'Google_Service_Pubsub_PubsubEvent'; + protected $pubsubEventDataType = ''; + + + public function setAckId($ackId) + { + $this->ackId = $ackId; + } + public function getAckId() + { + return $this->ackId; + } + public function setPubsubEvent(Google_Service_Pubsub_PubsubEvent $pubsubEvent) + { + $this->pubsubEvent = $pubsubEvent; + } + public function getPubsubEvent() + { + return $this->pubsubEvent; + } +} + +class Google_Service_Pubsub_PushConfig extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $pushEndpoint; + + + public function setPushEndpoint($pushEndpoint) + { + $this->pushEndpoint = $pushEndpoint; + } + public function getPushEndpoint() + { + return $this->pushEndpoint; + } +} + +class Google_Service_Pubsub_Subscription extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $ackDeadlineSeconds; + public $name; + protected $pushConfigType = 'Google_Service_Pubsub_PushConfig'; + protected $pushConfigDataType = ''; + public $topic; + + + public function setAckDeadlineSeconds($ackDeadlineSeconds) + { + $this->ackDeadlineSeconds = $ackDeadlineSeconds; + } + public function getAckDeadlineSeconds() + { + return $this->ackDeadlineSeconds; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPushConfig(Google_Service_Pubsub_PushConfig $pushConfig) + { + $this->pushConfig = $pushConfig; + } + public function getPushConfig() + { + return $this->pushConfig; + } + public function setTopic($topic) + { + $this->topic = $topic; + } + public function getTopic() + { + return $this->topic; + } +} + +class Google_Service_Pubsub_Topic extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $name; + + + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/QPXExpress.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/QPXExpress.php new file mode 100644 index 0000000..dad9518 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/QPXExpress.php @@ -0,0 +1,1538 @@ + + * Lets you find the least expensive flights between an origin and a + * destination.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_QPXExpress extends Google_Service +{ + + + public $trips; + + + /** + * Constructs the internal representation of the QPXExpress service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'qpxExpress/v1/trips/'; + $this->version = 'v1'; + $this->serviceName = 'qpxExpress'; + + $this->trips = new Google_Service_QPXExpress_Trips_Resource( + $this, + $this->serviceName, + 'trips', + array( + 'methods' => array( + 'search' => array( + 'path' => 'search', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + } +} + + +/** + * The "trips" collection of methods. + * Typical usage is: + * + * $qpxExpressService = new Google_Service_QPXExpress(...); + * $trips = $qpxExpressService->trips; + * + */ +class Google_Service_QPXExpress_Trips_Resource extends Google_Service_Resource +{ + + /** + * Returns a list of flights. (trips.search) + * + * @param Google_TripsSearchRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_QPXExpress_TripsSearchResponse + */ + public function search(Google_Service_QPXExpress_TripsSearchRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('search', array($params), "Google_Service_QPXExpress_TripsSearchResponse"); + } +} + + + + +class Google_Service_QPXExpress_AircraftData extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $code; + public $kind; + public $name; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_QPXExpress_AirportData extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $city; + public $code; + public $kind; + public $name; + + + public function setCity($city) + { + $this->city = $city; + } + public function getCity() + { + return $this->city; + } + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_QPXExpress_BagDescriptor extends Google_Collection +{ + protected $collection_key = 'description'; + protected $internal_gapi_mappings = array( + ); + public $commercialName; + public $count; + public $description; + public $kind; + public $subcode; + + + public function setCommercialName($commercialName) + { + $this->commercialName = $commercialName; + } + public function getCommercialName() + { + return $this->commercialName; + } + public function setCount($count) + { + $this->count = $count; + } + public function getCount() + { + return $this->count; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSubcode($subcode) + { + $this->subcode = $subcode; + } + public function getSubcode() + { + return $this->subcode; + } +} + +class Google_Service_QPXExpress_CarrierData extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $code; + public $kind; + public $name; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_QPXExpress_CityData extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $code; + public $country; + public $kind; + public $name; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setCountry($country) + { + $this->country = $country; + } + public function getCountry() + { + return $this->country; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_QPXExpress_Data extends Google_Collection +{ + protected $collection_key = 'tax'; + protected $internal_gapi_mappings = array( + ); + protected $aircraftType = 'Google_Service_QPXExpress_AircraftData'; + protected $aircraftDataType = 'array'; + protected $airportType = 'Google_Service_QPXExpress_AirportData'; + protected $airportDataType = 'array'; + protected $carrierType = 'Google_Service_QPXExpress_CarrierData'; + protected $carrierDataType = 'array'; + protected $cityType = 'Google_Service_QPXExpress_CityData'; + protected $cityDataType = 'array'; + public $kind; + protected $taxType = 'Google_Service_QPXExpress_TaxData'; + protected $taxDataType = 'array'; + + + public function setAircraft($aircraft) + { + $this->aircraft = $aircraft; + } + public function getAircraft() + { + return $this->aircraft; + } + public function setAirport($airport) + { + $this->airport = $airport; + } + public function getAirport() + { + return $this->airport; + } + public function setCarrier($carrier) + { + $this->carrier = $carrier; + } + public function getCarrier() + { + return $this->carrier; + } + public function setCity($city) + { + $this->city = $city; + } + public function getCity() + { + return $this->city; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setTax($tax) + { + $this->tax = $tax; + } + public function getTax() + { + return $this->tax; + } +} + +class Google_Service_QPXExpress_FareInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $basisCode; + public $carrier; + public $destination; + public $id; + public $kind; + public $origin; + public $private; + + + public function setBasisCode($basisCode) + { + $this->basisCode = $basisCode; + } + public function getBasisCode() + { + return $this->basisCode; + } + public function setCarrier($carrier) + { + $this->carrier = $carrier; + } + public function getCarrier() + { + return $this->carrier; + } + public function setDestination($destination) + { + $this->destination = $destination; + } + public function getDestination() + { + return $this->destination; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setOrigin($origin) + { + $this->origin = $origin; + } + public function getOrigin() + { + return $this->origin; + } + public function setPrivate($private) + { + $this->private = $private; + } + public function getPrivate() + { + return $this->private; + } +} + +class Google_Service_QPXExpress_FlightInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $carrier; + public $number; + + + public function setCarrier($carrier) + { + $this->carrier = $carrier; + } + public function getCarrier() + { + return $this->carrier; + } + public function setNumber($number) + { + $this->number = $number; + } + public function getNumber() + { + return $this->number; + } +} + +class Google_Service_QPXExpress_FreeBaggageAllowance extends Google_Collection +{ + protected $collection_key = 'bagDescriptor'; + protected $internal_gapi_mappings = array( + ); + protected $bagDescriptorType = 'Google_Service_QPXExpress_BagDescriptor'; + protected $bagDescriptorDataType = 'array'; + public $kilos; + public $kilosPerPiece; + public $kind; + public $pieces; + public $pounds; + + + public function setBagDescriptor($bagDescriptor) + { + $this->bagDescriptor = $bagDescriptor; + } + public function getBagDescriptor() + { + return $this->bagDescriptor; + } + public function setKilos($kilos) + { + $this->kilos = $kilos; + } + public function getKilos() + { + return $this->kilos; + } + public function setKilosPerPiece($kilosPerPiece) + { + $this->kilosPerPiece = $kilosPerPiece; + } + public function getKilosPerPiece() + { + return $this->kilosPerPiece; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPieces($pieces) + { + $this->pieces = $pieces; + } + public function getPieces() + { + return $this->pieces; + } + public function setPounds($pounds) + { + $this->pounds = $pounds; + } + public function getPounds() + { + return $this->pounds; + } +} + +class Google_Service_QPXExpress_LegInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $aircraft; + public $arrivalTime; + public $changePlane; + public $connectionDuration; + public $departureTime; + public $destination; + public $destinationTerminal; + public $duration; + public $id; + public $kind; + public $meal; + public $mileage; + public $onTimePerformance; + public $operatingDisclosure; + public $origin; + public $originTerminal; + public $secure; + + + public function setAircraft($aircraft) + { + $this->aircraft = $aircraft; + } + public function getAircraft() + { + return $this->aircraft; + } + public function setArrivalTime($arrivalTime) + { + $this->arrivalTime = $arrivalTime; + } + public function getArrivalTime() + { + return $this->arrivalTime; + } + public function setChangePlane($changePlane) + { + $this->changePlane = $changePlane; + } + public function getChangePlane() + { + return $this->changePlane; + } + public function setConnectionDuration($connectionDuration) + { + $this->connectionDuration = $connectionDuration; + } + public function getConnectionDuration() + { + return $this->connectionDuration; + } + public function setDepartureTime($departureTime) + { + $this->departureTime = $departureTime; + } + public function getDepartureTime() + { + return $this->departureTime; + } + public function setDestination($destination) + { + $this->destination = $destination; + } + public function getDestination() + { + return $this->destination; + } + public function setDestinationTerminal($destinationTerminal) + { + $this->destinationTerminal = $destinationTerminal; + } + public function getDestinationTerminal() + { + return $this->destinationTerminal; + } + public function setDuration($duration) + { + $this->duration = $duration; + } + public function getDuration() + { + return $this->duration; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMeal($meal) + { + $this->meal = $meal; + } + public function getMeal() + { + return $this->meal; + } + public function setMileage($mileage) + { + $this->mileage = $mileage; + } + public function getMileage() + { + return $this->mileage; + } + public function setOnTimePerformance($onTimePerformance) + { + $this->onTimePerformance = $onTimePerformance; + } + public function getOnTimePerformance() + { + return $this->onTimePerformance; + } + public function setOperatingDisclosure($operatingDisclosure) + { + $this->operatingDisclosure = $operatingDisclosure; + } + public function getOperatingDisclosure() + { + return $this->operatingDisclosure; + } + public function setOrigin($origin) + { + $this->origin = $origin; + } + public function getOrigin() + { + return $this->origin; + } + public function setOriginTerminal($originTerminal) + { + $this->originTerminal = $originTerminal; + } + public function getOriginTerminal() + { + return $this->originTerminal; + } + public function setSecure($secure) + { + $this->secure = $secure; + } + public function getSecure() + { + return $this->secure; + } +} + +class Google_Service_QPXExpress_PassengerCounts extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $adultCount; + public $childCount; + public $infantInLapCount; + public $infantInSeatCount; + public $kind; + public $seniorCount; + + + public function setAdultCount($adultCount) + { + $this->adultCount = $adultCount; + } + public function getAdultCount() + { + return $this->adultCount; + } + public function setChildCount($childCount) + { + $this->childCount = $childCount; + } + public function getChildCount() + { + return $this->childCount; + } + public function setInfantInLapCount($infantInLapCount) + { + $this->infantInLapCount = $infantInLapCount; + } + public function getInfantInLapCount() + { + return $this->infantInLapCount; + } + public function setInfantInSeatCount($infantInSeatCount) + { + $this->infantInSeatCount = $infantInSeatCount; + } + public function getInfantInSeatCount() + { + return $this->infantInSeatCount; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSeniorCount($seniorCount) + { + $this->seniorCount = $seniorCount; + } + public function getSeniorCount() + { + return $this->seniorCount; + } +} + +class Google_Service_QPXExpress_PricingInfo extends Google_Collection +{ + protected $collection_key = 'tax'; + protected $internal_gapi_mappings = array( + ); + public $baseFareTotal; + protected $fareType = 'Google_Service_QPXExpress_FareInfo'; + protected $fareDataType = 'array'; + public $fareCalculation; + public $kind; + public $latestTicketingTime; + protected $passengersType = 'Google_Service_QPXExpress_PassengerCounts'; + protected $passengersDataType = ''; + public $ptc; + public $refundable; + public $saleFareTotal; + public $saleTaxTotal; + public $saleTotal; + protected $segmentPricingType = 'Google_Service_QPXExpress_SegmentPricing'; + protected $segmentPricingDataType = 'array'; + protected $taxType = 'Google_Service_QPXExpress_TaxInfo'; + protected $taxDataType = 'array'; + + + public function setBaseFareTotal($baseFareTotal) + { + $this->baseFareTotal = $baseFareTotal; + } + public function getBaseFareTotal() + { + return $this->baseFareTotal; + } + public function setFare($fare) + { + $this->fare = $fare; + } + public function getFare() + { + return $this->fare; + } + public function setFareCalculation($fareCalculation) + { + $this->fareCalculation = $fareCalculation; + } + public function getFareCalculation() + { + return $this->fareCalculation; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLatestTicketingTime($latestTicketingTime) + { + $this->latestTicketingTime = $latestTicketingTime; + } + public function getLatestTicketingTime() + { + return $this->latestTicketingTime; + } + public function setPassengers(Google_Service_QPXExpress_PassengerCounts $passengers) + { + $this->passengers = $passengers; + } + public function getPassengers() + { + return $this->passengers; + } + public function setPtc($ptc) + { + $this->ptc = $ptc; + } + public function getPtc() + { + return $this->ptc; + } + public function setRefundable($refundable) + { + $this->refundable = $refundable; + } + public function getRefundable() + { + return $this->refundable; + } + public function setSaleFareTotal($saleFareTotal) + { + $this->saleFareTotal = $saleFareTotal; + } + public function getSaleFareTotal() + { + return $this->saleFareTotal; + } + public function setSaleTaxTotal($saleTaxTotal) + { + $this->saleTaxTotal = $saleTaxTotal; + } + public function getSaleTaxTotal() + { + return $this->saleTaxTotal; + } + public function setSaleTotal($saleTotal) + { + $this->saleTotal = $saleTotal; + } + public function getSaleTotal() + { + return $this->saleTotal; + } + public function setSegmentPricing($segmentPricing) + { + $this->segmentPricing = $segmentPricing; + } + public function getSegmentPricing() + { + return $this->segmentPricing; + } + public function setTax($tax) + { + $this->tax = $tax; + } + public function getTax() + { + return $this->tax; + } +} + +class Google_Service_QPXExpress_SegmentInfo extends Google_Collection +{ + protected $collection_key = 'leg'; + protected $internal_gapi_mappings = array( + ); + public $bookingCode; + public $bookingCodeCount; + public $cabin; + public $connectionDuration; + public $duration; + protected $flightType = 'Google_Service_QPXExpress_FlightInfo'; + protected $flightDataType = ''; + public $id; + public $kind; + protected $legType = 'Google_Service_QPXExpress_LegInfo'; + protected $legDataType = 'array'; + public $marriedSegmentGroup; + public $subjectToGovernmentApproval; + + + public function setBookingCode($bookingCode) + { + $this->bookingCode = $bookingCode; + } + public function getBookingCode() + { + return $this->bookingCode; + } + public function setBookingCodeCount($bookingCodeCount) + { + $this->bookingCodeCount = $bookingCodeCount; + } + public function getBookingCodeCount() + { + return $this->bookingCodeCount; + } + public function setCabin($cabin) + { + $this->cabin = $cabin; + } + public function getCabin() + { + return $this->cabin; + } + public function setConnectionDuration($connectionDuration) + { + $this->connectionDuration = $connectionDuration; + } + public function getConnectionDuration() + { + return $this->connectionDuration; + } + public function setDuration($duration) + { + $this->duration = $duration; + } + public function getDuration() + { + return $this->duration; + } + public function setFlight(Google_Service_QPXExpress_FlightInfo $flight) + { + $this->flight = $flight; + } + public function getFlight() + { + return $this->flight; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLeg($leg) + { + $this->leg = $leg; + } + public function getLeg() + { + return $this->leg; + } + public function setMarriedSegmentGroup($marriedSegmentGroup) + { + $this->marriedSegmentGroup = $marriedSegmentGroup; + } + public function getMarriedSegmentGroup() + { + return $this->marriedSegmentGroup; + } + public function setSubjectToGovernmentApproval($subjectToGovernmentApproval) + { + $this->subjectToGovernmentApproval = $subjectToGovernmentApproval; + } + public function getSubjectToGovernmentApproval() + { + return $this->subjectToGovernmentApproval; + } +} + +class Google_Service_QPXExpress_SegmentPricing extends Google_Collection +{ + protected $collection_key = 'freeBaggageOption'; + protected $internal_gapi_mappings = array( + ); + public $fareId; + protected $freeBaggageOptionType = 'Google_Service_QPXExpress_FreeBaggageAllowance'; + protected $freeBaggageOptionDataType = 'array'; + public $kind; + public $segmentId; + + + public function setFareId($fareId) + { + $this->fareId = $fareId; + } + public function getFareId() + { + return $this->fareId; + } + public function setFreeBaggageOption($freeBaggageOption) + { + $this->freeBaggageOption = $freeBaggageOption; + } + public function getFreeBaggageOption() + { + return $this->freeBaggageOption; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSegmentId($segmentId) + { + $this->segmentId = $segmentId; + } + public function getSegmentId() + { + return $this->segmentId; + } +} + +class Google_Service_QPXExpress_SliceInfo extends Google_Collection +{ + protected $collection_key = 'segment'; + protected $internal_gapi_mappings = array( + ); + public $duration; + public $kind; + protected $segmentType = 'Google_Service_QPXExpress_SegmentInfo'; + protected $segmentDataType = 'array'; + + + public function setDuration($duration) + { + $this->duration = $duration; + } + public function getDuration() + { + return $this->duration; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSegment($segment) + { + $this->segment = $segment; + } + public function getSegment() + { + return $this->segment; + } +} + +class Google_Service_QPXExpress_SliceInput extends Google_Collection +{ + protected $collection_key = 'prohibitedCarrier'; + protected $internal_gapi_mappings = array( + ); + public $alliance; + public $date; + public $destination; + public $kind; + public $maxConnectionDuration; + public $maxStops; + public $origin; + public $permittedCarrier; + protected $permittedDepartureTimeType = 'Google_Service_QPXExpress_TimeOfDayRange'; + protected $permittedDepartureTimeDataType = ''; + public $preferredCabin; + public $prohibitedCarrier; + + + public function setAlliance($alliance) + { + $this->alliance = $alliance; + } + public function getAlliance() + { + return $this->alliance; + } + public function setDate($date) + { + $this->date = $date; + } + public function getDate() + { + return $this->date; + } + public function setDestination($destination) + { + $this->destination = $destination; + } + public function getDestination() + { + return $this->destination; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMaxConnectionDuration($maxConnectionDuration) + { + $this->maxConnectionDuration = $maxConnectionDuration; + } + public function getMaxConnectionDuration() + { + return $this->maxConnectionDuration; + } + public function setMaxStops($maxStops) + { + $this->maxStops = $maxStops; + } + public function getMaxStops() + { + return $this->maxStops; + } + public function setOrigin($origin) + { + $this->origin = $origin; + } + public function getOrigin() + { + return $this->origin; + } + public function setPermittedCarrier($permittedCarrier) + { + $this->permittedCarrier = $permittedCarrier; + } + public function getPermittedCarrier() + { + return $this->permittedCarrier; + } + public function setPermittedDepartureTime(Google_Service_QPXExpress_TimeOfDayRange $permittedDepartureTime) + { + $this->permittedDepartureTime = $permittedDepartureTime; + } + public function getPermittedDepartureTime() + { + return $this->permittedDepartureTime; + } + public function setPreferredCabin($preferredCabin) + { + $this->preferredCabin = $preferredCabin; + } + public function getPreferredCabin() + { + return $this->preferredCabin; + } + public function setProhibitedCarrier($prohibitedCarrier) + { + $this->prohibitedCarrier = $prohibitedCarrier; + } + public function getProhibitedCarrier() + { + return $this->prohibitedCarrier; + } +} + +class Google_Service_QPXExpress_TaxData extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $kind; + public $name; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_QPXExpress_TaxInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $chargeType; + public $code; + public $country; + public $id; + public $kind; + public $salePrice; + + + public function setChargeType($chargeType) + { + $this->chargeType = $chargeType; + } + public function getChargeType() + { + return $this->chargeType; + } + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setCountry($country) + { + $this->country = $country; + } + public function getCountry() + { + return $this->country; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSalePrice($salePrice) + { + $this->salePrice = $salePrice; + } + public function getSalePrice() + { + return $this->salePrice; + } +} + +class Google_Service_QPXExpress_TimeOfDayRange extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $earliestTime; + public $kind; + public $latestTime; + + + public function setEarliestTime($earliestTime) + { + $this->earliestTime = $earliestTime; + } + public function getEarliestTime() + { + return $this->earliestTime; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLatestTime($latestTime) + { + $this->latestTime = $latestTime; + } + public function getLatestTime() + { + return $this->latestTime; + } +} + +class Google_Service_QPXExpress_TripOption extends Google_Collection +{ + protected $collection_key = 'slice'; + protected $internal_gapi_mappings = array( + ); + public $id; + public $kind; + protected $pricingType = 'Google_Service_QPXExpress_PricingInfo'; + protected $pricingDataType = 'array'; + public $saleTotal; + protected $sliceType = 'Google_Service_QPXExpress_SliceInfo'; + protected $sliceDataType = 'array'; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPricing($pricing) + { + $this->pricing = $pricing; + } + public function getPricing() + { + return $this->pricing; + } + public function setSaleTotal($saleTotal) + { + $this->saleTotal = $saleTotal; + } + public function getSaleTotal() + { + return $this->saleTotal; + } + public function setSlice($slice) + { + $this->slice = $slice; + } + public function getSlice() + { + return $this->slice; + } +} + +class Google_Service_QPXExpress_TripOptionsRequest extends Google_Collection +{ + protected $collection_key = 'slice'; + protected $internal_gapi_mappings = array( + ); + public $maxPrice; + protected $passengersType = 'Google_Service_QPXExpress_PassengerCounts'; + protected $passengersDataType = ''; + public $refundable; + public $saleCountry; + protected $sliceType = 'Google_Service_QPXExpress_SliceInput'; + protected $sliceDataType = 'array'; + public $solutions; + + + public function setMaxPrice($maxPrice) + { + $this->maxPrice = $maxPrice; + } + public function getMaxPrice() + { + return $this->maxPrice; + } + public function setPassengers(Google_Service_QPXExpress_PassengerCounts $passengers) + { + $this->passengers = $passengers; + } + public function getPassengers() + { + return $this->passengers; + } + public function setRefundable($refundable) + { + $this->refundable = $refundable; + } + public function getRefundable() + { + return $this->refundable; + } + public function setSaleCountry($saleCountry) + { + $this->saleCountry = $saleCountry; + } + public function getSaleCountry() + { + return $this->saleCountry; + } + public function setSlice($slice) + { + $this->slice = $slice; + } + public function getSlice() + { + return $this->slice; + } + public function setSolutions($solutions) + { + $this->solutions = $solutions; + } + public function getSolutions() + { + return $this->solutions; + } +} + +class Google_Service_QPXExpress_TripOptionsResponse extends Google_Collection +{ + protected $collection_key = 'tripOption'; + protected $internal_gapi_mappings = array( + ); + protected $dataType = 'Google_Service_QPXExpress_Data'; + protected $dataDataType = ''; + public $kind; + public $requestId; + protected $tripOptionType = 'Google_Service_QPXExpress_TripOption'; + protected $tripOptionDataType = 'array'; + + + public function setData(Google_Service_QPXExpress_Data $data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRequestId($requestId) + { + $this->requestId = $requestId; + } + public function getRequestId() + { + return $this->requestId; + } + public function setTripOption($tripOption) + { + $this->tripOption = $tripOption; + } + public function getTripOption() + { + return $this->tripOption; + } +} + +class Google_Service_QPXExpress_TripsSearchRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $requestType = 'Google_Service_QPXExpress_TripOptionsRequest'; + protected $requestDataType = ''; + + + public function setRequest(Google_Service_QPXExpress_TripOptionsRequest $request) + { + $this->request = $request; + } + public function getRequest() + { + return $this->request; + } +} + +class Google_Service_QPXExpress_TripsSearchResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $tripsType = 'Google_Service_QPXExpress_TripOptionsResponse'; + protected $tripsDataType = ''; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setTrips(Google_Service_QPXExpress_TripOptionsResponse $trips) + { + $this->trips = $trips; + } + public function getTrips() + { + return $this->trips; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Replicapool.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Replicapool.php new file mode 100644 index 0000000..a8cd253 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Replicapool.php @@ -0,0 +1,1313 @@ + + * The Google Compute Engine Instance Group Manager API provides groups of + * homogenous Compute Engine Instances.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Replicapool extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** View your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM_READ_ONLY = + "https://www.googleapis.com/auth/cloud-platform.read-only"; + /** View and manage your Google Compute Engine resources. */ + const COMPUTE = + "https://www.googleapis.com/auth/compute"; + /** View your Google Compute Engine resources. */ + const COMPUTE_READONLY = + "https://www.googleapis.com/auth/compute.readonly"; + + public $instanceGroupManagers; + public $zoneOperations; + + + /** + * Constructs the internal representation of the Replicapool service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'replicapool/v1beta2/projects/'; + $this->version = 'v1beta2'; + $this->serviceName = 'replicapool'; + + $this->instanceGroupManagers = new Google_Service_Replicapool_InstanceGroupManagers_Resource( + $this, + $this->serviceName, + 'instanceGroupManagers', + array( + 'methods' => array( + 'abandonInstances' => array( + 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroupManager' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroupManager' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'deleteInstances' => array( + 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroupManager' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroupManager' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/zones/{zone}/instanceGroupManagers', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'size' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/zones/{zone}/instanceGroupManagers', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'recreateInstances' => array( + 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroupManager' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'resize' => array( + 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroupManager' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'size' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'setInstanceTemplate' => array( + 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroupManager' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setTargetPools' => array( + 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instanceGroupManager' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->zoneOperations = new Google_Service_Replicapool_ZoneOperations_Resource( + $this, + $this->serviceName, + 'zoneOperations', + array( + 'methods' => array( + 'get' => array( + 'path' => '{project}/zones/{zone}/operations/{operation}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'operation' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/zones/{zone}/operations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "instanceGroupManagers" collection of methods. + * Typical usage is: + * + * $replicapoolService = new Google_Service_Replicapool(...); + * $instanceGroupManagers = $replicapoolService->instanceGroupManagers; + * + */ +class Google_Service_Replicapool_InstanceGroupManagers_Resource extends Google_Service_Resource +{ + + /** + * Removes the specified instances from the managed instance group, and from any + * target pools of which they were members, without deleting the instances. + * (instanceGroupManagers.abandonInstances) + * + * @param string $project The Google Developers Console project name. + * @param string $zone The name of the zone in which the instance group manager + * resides. + * @param string $instanceGroupManager The name of the instance group manager. + * @param Google_InstanceGroupManagersAbandonInstancesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Replicapool_Operation + */ + public function abandonInstances($project, $zone, $instanceGroupManager, Google_Service_Replicapool_InstanceGroupManagersAbandonInstancesRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('abandonInstances', array($params), "Google_Service_Replicapool_Operation"); + } + + /** + * Deletes the instance group manager and all instances contained within. If + * you'd like to delete the manager without deleting the instances, you must + * first abandon the instances to remove them from the group. + * (instanceGroupManagers.delete) + * + * @param string $project The Google Developers Console project name. + * @param string $zone The name of the zone in which the instance group manager + * resides. + * @param string $instanceGroupManager Name of the Instance Group Manager + * resource to delete. + * @param array $optParams Optional parameters. + * @return Google_Service_Replicapool_Operation + */ + public function delete($project, $zone, $instanceGroupManager, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Replicapool_Operation"); + } + + /** + * Deletes the specified instances. The instances are deleted, then removed from + * the instance group and any target pools of which they were a member. The + * targetSize of the instance group manager is reduced by the number of + * instances deleted. (instanceGroupManagers.deleteInstances) + * + * @param string $project The Google Developers Console project name. + * @param string $zone The name of the zone in which the instance group manager + * resides. + * @param string $instanceGroupManager The name of the instance group manager. + * @param Google_InstanceGroupManagersDeleteInstancesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Replicapool_Operation + */ + public function deleteInstances($project, $zone, $instanceGroupManager, Google_Service_Replicapool_InstanceGroupManagersDeleteInstancesRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('deleteInstances', array($params), "Google_Service_Replicapool_Operation"); + } + + /** + * Returns the specified Instance Group Manager resource. + * (instanceGroupManagers.get) + * + * @param string $project The Google Developers Console project name. + * @param string $zone The name of the zone in which the instance group manager + * resides. + * @param string $instanceGroupManager Name of the instance resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Replicapool_InstanceGroupManager + */ + public function get($project, $zone, $instanceGroupManager, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Replicapool_InstanceGroupManager"); + } + + /** + * Creates an instance group manager, as well as the instance group and the + * specified number of instances. (instanceGroupManagers.insert) + * + * @param string $project The Google Developers Console project name. + * @param string $zone The name of the zone in which the instance group manager + * resides. + * @param int $size Number of instances that should exist. + * @param Google_InstanceGroupManager $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Replicapool_Operation + */ + public function insert($project, $zone, $size, Google_Service_Replicapool_InstanceGroupManager $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'size' => $size, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Replicapool_Operation"); + } + + /** + * Retrieves the list of Instance Group Manager resources contained within the + * specified zone. (instanceGroupManagers.listInstanceGroupManagers) + * + * @param string $project The Google Developers Console project name. + * @param string $zone The name of the zone in which the instance group manager + * resides. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Optional. Filter expression for filtering listed + * resources. + * @opt_param string pageToken Optional. Tag returned by a previous list request + * truncated by maxResults. Used to continue a previous list request. + * @opt_param string maxResults Optional. Maximum count of results to be + * returned. Maximum value is 500 and default value is 500. + * @return Google_Service_Replicapool_InstanceGroupManagerList + */ + public function listInstanceGroupManagers($project, $zone, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Replicapool_InstanceGroupManagerList"); + } + + /** + * Recreates the specified instances. The instances are deleted, then recreated + * using the instance group manager's current instance template. + * (instanceGroupManagers.recreateInstances) + * + * @param string $project The Google Developers Console project name. + * @param string $zone The name of the zone in which the instance group manager + * resides. + * @param string $instanceGroupManager The name of the instance group manager. + * @param Google_InstanceGroupManagersRecreateInstancesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Replicapool_Operation + */ + public function recreateInstances($project, $zone, $instanceGroupManager, Google_Service_Replicapool_InstanceGroupManagersRecreateInstancesRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('recreateInstances', array($params), "Google_Service_Replicapool_Operation"); + } + + /** + * Resizes the managed instance group up or down. If resized up, new instances + * are created using the current instance template. If resized down, instances + * are removed in the order outlined in Resizing a managed instance group. + * (instanceGroupManagers.resize) + * + * @param string $project The Google Developers Console project name. + * @param string $zone The name of the zone in which the instance group manager + * resides. + * @param string $instanceGroupManager The name of the instance group manager. + * @param int $size Number of instances that should exist in this Instance Group + * Manager. + * @param array $optParams Optional parameters. + * @return Google_Service_Replicapool_Operation + */ + public function resize($project, $zone, $instanceGroupManager, $size, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'size' => $size); + $params = array_merge($params, $optParams); + return $this->call('resize', array($params), "Google_Service_Replicapool_Operation"); + } + + /** + * Sets the instance template to use when creating new instances in this group. + * Existing instances are not affected. + * (instanceGroupManagers.setInstanceTemplate) + * + * @param string $project The Google Developers Console project name. + * @param string $zone The name of the zone in which the instance group manager + * resides. + * @param string $instanceGroupManager The name of the instance group manager. + * @param Google_InstanceGroupManagersSetInstanceTemplateRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Replicapool_Operation + */ + public function setInstanceTemplate($project, $zone, $instanceGroupManager, Google_Service_Replicapool_InstanceGroupManagersSetInstanceTemplateRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setInstanceTemplate', array($params), "Google_Service_Replicapool_Operation"); + } + + /** + * Modifies the target pools to which all new instances in this group are + * assigned. Existing instances in the group are not affected. + * (instanceGroupManagers.setTargetPools) + * + * @param string $project The Google Developers Console project name. + * @param string $zone The name of the zone in which the instance group manager + * resides. + * @param string $instanceGroupManager The name of the instance group manager. + * @param Google_InstanceGroupManagersSetTargetPoolsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Replicapool_Operation + */ + public function setTargetPools($project, $zone, $instanceGroupManager, Google_Service_Replicapool_InstanceGroupManagersSetTargetPoolsRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setTargetPools', array($params), "Google_Service_Replicapool_Operation"); + } +} + +/** + * The "zoneOperations" collection of methods. + * Typical usage is: + * + * $replicapoolService = new Google_Service_Replicapool(...); + * $zoneOperations = $replicapoolService->zoneOperations; + * + */ +class Google_Service_Replicapool_ZoneOperations_Resource extends Google_Service_Resource +{ + + /** + * Retrieves the specified zone-specific operation resource. + * (zoneOperations.get) + * + * @param string $project Name of the project scoping this request. + * @param string $zone Name of the zone scoping this request. + * @param string $operation Name of the operation resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Replicapool_Operation + */ + public function get($project, $zone, $operation, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Replicapool_Operation"); + } + + /** + * Retrieves the list of operation resources contained within the specified + * zone. (zoneOperations.listZoneOperations) + * + * @param string $project Name of the project scoping this request. + * @param string $zone Name of the zone scoping this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Optional. Filter expression for filtering listed + * resources. + * @opt_param string pageToken Optional. Tag returned by a previous list request + * truncated by maxResults. Used to continue a previous list request. + * @opt_param string maxResults Optional. Maximum count of results to be + * returned. Maximum value is 500 and default value is 500. + * @return Google_Service_Replicapool_OperationList + */ + public function listZoneOperations($project, $zone, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Replicapool_OperationList"); + } +} + + + + +class Google_Service_Replicapool_InstanceGroupManager extends Google_Collection +{ + protected $collection_key = 'targetPools'; + protected $internal_gapi_mappings = array( + ); + protected $autoHealingPoliciesType = 'Google_Service_Replicapool_ReplicaPoolAutoHealingPolicy'; + protected $autoHealingPoliciesDataType = 'array'; + public $baseInstanceName; + public $creationTimestamp; + public $currentSize; + public $description; + public $fingerprint; + public $group; + public $id; + public $instanceTemplate; + public $kind; + public $name; + public $selfLink; + public $targetPools; + public $targetSize; + + + public function setAutoHealingPolicies($autoHealingPolicies) + { + $this->autoHealingPolicies = $autoHealingPolicies; + } + public function getAutoHealingPolicies() + { + return $this->autoHealingPolicies; + } + public function setBaseInstanceName($baseInstanceName) + { + $this->baseInstanceName = $baseInstanceName; + } + public function getBaseInstanceName() + { + return $this->baseInstanceName; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setCurrentSize($currentSize) + { + $this->currentSize = $currentSize; + } + public function getCurrentSize() + { + return $this->currentSize; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setGroup($group) + { + $this->group = $group; + } + public function getGroup() + { + return $this->group; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInstanceTemplate($instanceTemplate) + { + $this->instanceTemplate = $instanceTemplate; + } + public function getInstanceTemplate() + { + return $this->instanceTemplate; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTargetPools($targetPools) + { + $this->targetPools = $targetPools; + } + public function getTargetPools() + { + return $this->targetPools; + } + public function setTargetSize($targetSize) + { + $this->targetSize = $targetSize; + } + public function getTargetSize() + { + return $this->targetSize; + } +} + +class Google_Service_Replicapool_InstanceGroupManagerList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Replicapool_InstanceGroupManager'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Replicapool_InstanceGroupManagersAbandonInstancesRequest extends Google_Collection +{ + protected $collection_key = 'instances'; + protected $internal_gapi_mappings = array( + ); + public $instances; + + + public function setInstances($instances) + { + $this->instances = $instances; + } + public function getInstances() + { + return $this->instances; + } +} + +class Google_Service_Replicapool_InstanceGroupManagersDeleteInstancesRequest extends Google_Collection +{ + protected $collection_key = 'instances'; + protected $internal_gapi_mappings = array( + ); + public $instances; + + + public function setInstances($instances) + { + $this->instances = $instances; + } + public function getInstances() + { + return $this->instances; + } +} + +class Google_Service_Replicapool_InstanceGroupManagersRecreateInstancesRequest extends Google_Collection +{ + protected $collection_key = 'instances'; + protected $internal_gapi_mappings = array( + ); + public $instances; + + + public function setInstances($instances) + { + $this->instances = $instances; + } + public function getInstances() + { + return $this->instances; + } +} + +class Google_Service_Replicapool_InstanceGroupManagersSetInstanceTemplateRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $instanceTemplate; + + + public function setInstanceTemplate($instanceTemplate) + { + $this->instanceTemplate = $instanceTemplate; + } + public function getInstanceTemplate() + { + return $this->instanceTemplate; + } +} + +class Google_Service_Replicapool_InstanceGroupManagersSetTargetPoolsRequest extends Google_Collection +{ + protected $collection_key = 'targetPools'; + protected $internal_gapi_mappings = array( + ); + public $fingerprint; + public $targetPools; + + + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setTargetPools($targetPools) + { + $this->targetPools = $targetPools; + } + public function getTargetPools() + { + return $this->targetPools; + } +} + +class Google_Service_Replicapool_Operation extends Google_Collection +{ + protected $collection_key = 'warnings'; + protected $internal_gapi_mappings = array( + ); + public $clientOperationId; + public $creationTimestamp; + public $endTime; + protected $errorType = 'Google_Service_Replicapool_OperationError'; + protected $errorDataType = ''; + public $httpErrorMessage; + public $httpErrorStatusCode; + public $id; + public $insertTime; + public $kind; + public $name; + public $operationType; + public $progress; + public $region; + public $selfLink; + public $startTime; + public $status; + public $statusMessage; + public $targetId; + public $targetLink; + public $user; + protected $warningsType = 'Google_Service_Replicapool_OperationWarnings'; + protected $warningsDataType = 'array'; + public $zone; + + + public function setClientOperationId($clientOperationId) + { + $this->clientOperationId = $clientOperationId; + } + public function getClientOperationId() + { + return $this->clientOperationId; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setError(Google_Service_Replicapool_OperationError $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setHttpErrorMessage($httpErrorMessage) + { + $this->httpErrorMessage = $httpErrorMessage; + } + public function getHttpErrorMessage() + { + return $this->httpErrorMessage; + } + public function setHttpErrorStatusCode($httpErrorStatusCode) + { + $this->httpErrorStatusCode = $httpErrorStatusCode; + } + public function getHttpErrorStatusCode() + { + return $this->httpErrorStatusCode; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInsertTime($insertTime) + { + $this->insertTime = $insertTime; + } + public function getInsertTime() + { + return $this->insertTime; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOperationType($operationType) + { + $this->operationType = $operationType; + } + public function getOperationType() + { + return $this->operationType; + } + public function setProgress($progress) + { + $this->progress = $progress; + } + public function getProgress() + { + return $this->progress; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setStatusMessage($statusMessage) + { + $this->statusMessage = $statusMessage; + } + public function getStatusMessage() + { + return $this->statusMessage; + } + public function setTargetId($targetId) + { + $this->targetId = $targetId; + } + public function getTargetId() + { + return $this->targetId; + } + public function setTargetLink($targetLink) + { + $this->targetLink = $targetLink; + } + public function getTargetLink() + { + return $this->targetLink; + } + public function setUser($user) + { + $this->user = $user; + } + public function getUser() + { + return $this->user; + } + public function setWarnings($warnings) + { + $this->warnings = $warnings; + } + public function getWarnings() + { + return $this->warnings; + } + public function setZone($zone) + { + $this->zone = $zone; + } + public function getZone() + { + return $this->zone; + } +} + +class Google_Service_Replicapool_OperationError extends Google_Collection +{ + protected $collection_key = 'errors'; + protected $internal_gapi_mappings = array( + ); + protected $errorsType = 'Google_Service_Replicapool_OperationErrorErrors'; + protected $errorsDataType = 'array'; + + + public function setErrors($errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } +} + +class Google_Service_Replicapool_OperationErrorErrors extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $code; + public $location; + public $message; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_Replicapool_OperationList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Replicapool_Operation'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Replicapool_OperationWarnings extends Google_Collection +{ + protected $collection_key = 'data'; + protected $internal_gapi_mappings = array( + ); + public $code; + protected $dataType = 'Google_Service_Replicapool_OperationWarningsData'; + protected $dataDataType = 'array'; + public $message; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_Replicapool_OperationWarningsData extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $key; + public $value; + + + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Replicapool_ReplicaPoolAutoHealingPolicy extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $actionType; + public $healthCheck; + + + public function setActionType($actionType) + { + $this->actionType = $actionType; + } + public function getActionType() + { + return $this->actionType; + } + public function setHealthCheck($healthCheck) + { + $this->healthCheck = $healthCheck; + } + public function getHealthCheck() + { + return $this->healthCheck; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Replicapoolupdater.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Replicapoolupdater.php new file mode 100644 index 0000000..a564940 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Replicapoolupdater.php @@ -0,0 +1,1355 @@ + + * The Google Compute Engine Instance Group Updater API provides services for + * updating groups of Compute Engine Instances.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Replicapoolupdater extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** View your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM_READ_ONLY = + "https://www.googleapis.com/auth/cloud-platform.read-only"; + /** View and manage replica pools. */ + const REPLICAPOOL = + "https://www.googleapis.com/auth/replicapool"; + /** View replica pools. */ + const REPLICAPOOL_READONLY = + "https://www.googleapis.com/auth/replicapool.readonly"; + + public $rollingUpdates; + public $zoneOperations; + + + /** + * Constructs the internal representation of the Replicapoolupdater service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'replicapoolupdater/v1beta1/projects/'; + $this->version = 'v1beta1'; + $this->serviceName = 'replicapoolupdater'; + + $this->rollingUpdates = new Google_Service_Replicapoolupdater_RollingUpdates_Resource( + $this, + $this->serviceName, + 'rollingUpdates', + array( + 'methods' => array( + 'cancel' => array( + 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/cancel', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'rollingUpdate' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'rollingUpdate' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/zones/{zone}/rollingUpdates', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/zones/{zone}/rollingUpdates', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'listInstanceUpdates' => array( + 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/instanceUpdates', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'rollingUpdate' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'pause' => array( + 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/pause', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'rollingUpdate' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'resume' => array( + 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/resume', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'rollingUpdate' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'rollback' => array( + 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/rollback', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'rollingUpdate' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->zoneOperations = new Google_Service_Replicapoolupdater_ZoneOperations_Resource( + $this, + $this->serviceName, + 'zoneOperations', + array( + 'methods' => array( + 'get' => array( + 'path' => '{project}/zones/{zone}/operations/{operation}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'operation' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/zones/{zone}/operations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "rollingUpdates" collection of methods. + * Typical usage is: + * + * $replicapoolupdaterService = new Google_Service_Replicapoolupdater(...); + * $rollingUpdates = $replicapoolupdaterService->rollingUpdates; + * + */ +class Google_Service_Replicapoolupdater_RollingUpdates_Resource extends Google_Service_Resource +{ + + /** + * Cancels an update. The update must be PAUSED before it can be cancelled. This + * has no effect if the update is already CANCELLED. (rollingUpdates.cancel) + * + * @param string $project The Google Developers Console project name. + * @param string $zone The name of the zone in which the update's target + * resides. + * @param string $rollingUpdate The name of the update. + * @param array $optParams Optional parameters. + * @return Google_Service_Replicapoolupdater_Operation + */ + public function cancel($project, $zone, $rollingUpdate, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate); + $params = array_merge($params, $optParams); + return $this->call('cancel', array($params), "Google_Service_Replicapoolupdater_Operation"); + } + + /** + * Returns information about an update. (rollingUpdates.get) + * + * @param string $project The Google Developers Console project name. + * @param string $zone The name of the zone in which the update's target + * resides. + * @param string $rollingUpdate The name of the update. + * @param array $optParams Optional parameters. + * @return Google_Service_Replicapoolupdater_RollingUpdate + */ + public function get($project, $zone, $rollingUpdate, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Replicapoolupdater_RollingUpdate"); + } + + /** + * Inserts and starts a new update. (rollingUpdates.insert) + * + * @param string $project The Google Developers Console project name. + * @param string $zone The name of the zone in which the update's target + * resides. + * @param Google_RollingUpdate $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Replicapoolupdater_Operation + */ + public function insert($project, $zone, Google_Service_Replicapoolupdater_RollingUpdate $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Replicapoolupdater_Operation"); + } + + /** + * Lists recent updates for a given managed instance group, in reverse + * chronological order and paginated format. (rollingUpdates.listRollingUpdates) + * + * @param string $project The Google Developers Console project name. + * @param string $zone The name of the zone in which the update's target + * resides. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Optional. Filter expression for filtering listed + * resources. + * @opt_param string pageToken Optional. Tag returned by a previous list request + * truncated by maxResults. Used to continue a previous list request. + * @opt_param string maxResults Optional. Maximum count of results to be + * returned. Maximum value is 500 and default value is 500. + * @return Google_Service_Replicapoolupdater_RollingUpdateList + */ + public function listRollingUpdates($project, $zone, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Replicapoolupdater_RollingUpdateList"); + } + + /** + * Lists the current status for each instance within a given update. + * (rollingUpdates.listInstanceUpdates) + * + * @param string $project The Google Developers Console project name. + * @param string $zone The name of the zone in which the update's target + * resides. + * @param string $rollingUpdate The name of the update. + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults Optional. Maximum count of results to be + * returned. Maximum value is 500 and default value is 500. + * @opt_param string filter Optional. Filter expression for filtering listed + * resources. + * @opt_param string pageToken Optional. Tag returned by a previous list request + * truncated by maxResults. Used to continue a previous list request. + * @return Google_Service_Replicapoolupdater_InstanceUpdateList + */ + public function listInstanceUpdates($project, $zone, $rollingUpdate, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate); + $params = array_merge($params, $optParams); + return $this->call('listInstanceUpdates', array($params), "Google_Service_Replicapoolupdater_InstanceUpdateList"); + } + + /** + * Pauses the update in state from ROLLING_FORWARD or ROLLING_BACK. Has no + * effect if invoked when the state of the update is PAUSED. + * (rollingUpdates.pause) + * + * @param string $project The Google Developers Console project name. + * @param string $zone The name of the zone in which the update's target + * resides. + * @param string $rollingUpdate The name of the update. + * @param array $optParams Optional parameters. + * @return Google_Service_Replicapoolupdater_Operation + */ + public function pause($project, $zone, $rollingUpdate, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate); + $params = array_merge($params, $optParams); + return $this->call('pause', array($params), "Google_Service_Replicapoolupdater_Operation"); + } + + /** + * Continues an update in PAUSED state. Has no effect if invoked when the state + * of the update is ROLLED_OUT. (rollingUpdates.resume) + * + * @param string $project The Google Developers Console project name. + * @param string $zone The name of the zone in which the update's target + * resides. + * @param string $rollingUpdate The name of the update. + * @param array $optParams Optional parameters. + * @return Google_Service_Replicapoolupdater_Operation + */ + public function resume($project, $zone, $rollingUpdate, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate); + $params = array_merge($params, $optParams); + return $this->call('resume', array($params), "Google_Service_Replicapoolupdater_Operation"); + } + + /** + * Rolls back the update in state from ROLLING_FORWARD or PAUSED. Has no effect + * if invoked when the state of the update is ROLLED_BACK. + * (rollingUpdates.rollback) + * + * @param string $project The Google Developers Console project name. + * @param string $zone The name of the zone in which the update's target + * resides. + * @param string $rollingUpdate The name of the update. + * @param array $optParams Optional parameters. + * @return Google_Service_Replicapoolupdater_Operation + */ + public function rollback($project, $zone, $rollingUpdate, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate); + $params = array_merge($params, $optParams); + return $this->call('rollback', array($params), "Google_Service_Replicapoolupdater_Operation"); + } +} + +/** + * The "zoneOperations" collection of methods. + * Typical usage is: + * + * $replicapoolupdaterService = new Google_Service_Replicapoolupdater(...); + * $zoneOperations = $replicapoolupdaterService->zoneOperations; + * + */ +class Google_Service_Replicapoolupdater_ZoneOperations_Resource extends Google_Service_Resource +{ + + /** + * Retrieves the specified zone-specific operation resource. + * (zoneOperations.get) + * + * @param string $project Name of the project scoping this request. + * @param string $zone Name of the zone scoping this request. + * @param string $operation Name of the operation resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Replicapoolupdater_Operation + */ + public function get($project, $zone, $operation, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Replicapoolupdater_Operation"); + } + + /** + * Retrieves the list of Operation resources contained within the specified + * zone. (zoneOperations.listZoneOperations) + * + * @param string $project Name of the project scoping this request. + * @param string $zone Name of the zone scoping this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Optional. Filter expression for filtering listed + * resources. + * @opt_param string pageToken Optional. Tag returned by a previous list request + * truncated by maxResults. Used to continue a previous list request. + * @opt_param string maxResults Optional. Maximum count of results to be + * returned. Maximum value is 500 and default value is 500. + * @return Google_Service_Replicapoolupdater_OperationList + */ + public function listZoneOperations($project, $zone, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Replicapoolupdater_OperationList"); + } +} + + + + +class Google_Service_Replicapoolupdater_InstanceUpdate extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $errorType = 'Google_Service_Replicapoolupdater_InstanceUpdateError'; + protected $errorDataType = ''; + public $instance; + public $status; + + + public function setError(Google_Service_Replicapoolupdater_InstanceUpdateError $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setInstance($instance) + { + $this->instance = $instance; + } + public function getInstance() + { + return $this->instance; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} + +class Google_Service_Replicapoolupdater_InstanceUpdateError extends Google_Collection +{ + protected $collection_key = 'errors'; + protected $internal_gapi_mappings = array( + ); + protected $errorsType = 'Google_Service_Replicapoolupdater_InstanceUpdateErrorErrors'; + protected $errorsDataType = 'array'; + + + public function setErrors($errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } +} + +class Google_Service_Replicapoolupdater_InstanceUpdateErrorErrors extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $code; + public $location; + public $message; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_Replicapoolupdater_InstanceUpdateList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Replicapoolupdater_InstanceUpdate'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Replicapoolupdater_Operation extends Google_Collection +{ + protected $collection_key = 'warnings'; + protected $internal_gapi_mappings = array( + ); + public $clientOperationId; + public $creationTimestamp; + public $endTime; + protected $errorType = 'Google_Service_Replicapoolupdater_OperationError'; + protected $errorDataType = ''; + public $httpErrorMessage; + public $httpErrorStatusCode; + public $id; + public $insertTime; + public $kind; + public $name; + public $operationType; + public $progress; + public $region; + public $selfLink; + public $startTime; + public $status; + public $statusMessage; + public $targetId; + public $targetLink; + public $user; + protected $warningsType = 'Google_Service_Replicapoolupdater_OperationWarnings'; + protected $warningsDataType = 'array'; + public $zone; + + + public function setClientOperationId($clientOperationId) + { + $this->clientOperationId = $clientOperationId; + } + public function getClientOperationId() + { + return $this->clientOperationId; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setError(Google_Service_Replicapoolupdater_OperationError $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setHttpErrorMessage($httpErrorMessage) + { + $this->httpErrorMessage = $httpErrorMessage; + } + public function getHttpErrorMessage() + { + return $this->httpErrorMessage; + } + public function setHttpErrorStatusCode($httpErrorStatusCode) + { + $this->httpErrorStatusCode = $httpErrorStatusCode; + } + public function getHttpErrorStatusCode() + { + return $this->httpErrorStatusCode; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInsertTime($insertTime) + { + $this->insertTime = $insertTime; + } + public function getInsertTime() + { + return $this->insertTime; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOperationType($operationType) + { + $this->operationType = $operationType; + } + public function getOperationType() + { + return $this->operationType; + } + public function setProgress($progress) + { + $this->progress = $progress; + } + public function getProgress() + { + return $this->progress; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setStatusMessage($statusMessage) + { + $this->statusMessage = $statusMessage; + } + public function getStatusMessage() + { + return $this->statusMessage; + } + public function setTargetId($targetId) + { + $this->targetId = $targetId; + } + public function getTargetId() + { + return $this->targetId; + } + public function setTargetLink($targetLink) + { + $this->targetLink = $targetLink; + } + public function getTargetLink() + { + return $this->targetLink; + } + public function setUser($user) + { + $this->user = $user; + } + public function getUser() + { + return $this->user; + } + public function setWarnings($warnings) + { + $this->warnings = $warnings; + } + public function getWarnings() + { + return $this->warnings; + } + public function setZone($zone) + { + $this->zone = $zone; + } + public function getZone() + { + return $this->zone; + } +} + +class Google_Service_Replicapoolupdater_OperationError extends Google_Collection +{ + protected $collection_key = 'errors'; + protected $internal_gapi_mappings = array( + ); + protected $errorsType = 'Google_Service_Replicapoolupdater_OperationErrorErrors'; + protected $errorsDataType = 'array'; + + + public function setErrors($errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } +} + +class Google_Service_Replicapoolupdater_OperationErrorErrors extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $code; + public $location; + public $message; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_Replicapoolupdater_OperationList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Replicapoolupdater_Operation'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Replicapoolupdater_OperationWarnings extends Google_Collection +{ + protected $collection_key = 'data'; + protected $internal_gapi_mappings = array( + ); + public $code; + protected $dataType = 'Google_Service_Replicapoolupdater_OperationWarningsData'; + protected $dataDataType = 'array'; + public $message; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_Replicapoolupdater_OperationWarningsData extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $key; + public $value; + + + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Replicapoolupdater_RollingUpdate extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $actionType; + public $creationTimestamp; + public $description; + protected $errorType = 'Google_Service_Replicapoolupdater_RollingUpdateError'; + protected $errorDataType = ''; + public $id; + public $instanceGroup; + public $instanceGroupManager; + public $instanceTemplate; + public $kind; + public $oldInstanceTemplate; + protected $policyType = 'Google_Service_Replicapoolupdater_RollingUpdatePolicy'; + protected $policyDataType = ''; + public $progress; + public $selfLink; + public $status; + public $statusMessage; + public $user; + + + public function setActionType($actionType) + { + $this->actionType = $actionType; + } + public function getActionType() + { + return $this->actionType; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setError(Google_Service_Replicapoolupdater_RollingUpdateError $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInstanceGroup($instanceGroup) + { + $this->instanceGroup = $instanceGroup; + } + public function getInstanceGroup() + { + return $this->instanceGroup; + } + public function setInstanceGroupManager($instanceGroupManager) + { + $this->instanceGroupManager = $instanceGroupManager; + } + public function getInstanceGroupManager() + { + return $this->instanceGroupManager; + } + public function setInstanceTemplate($instanceTemplate) + { + $this->instanceTemplate = $instanceTemplate; + } + public function getInstanceTemplate() + { + return $this->instanceTemplate; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setOldInstanceTemplate($oldInstanceTemplate) + { + $this->oldInstanceTemplate = $oldInstanceTemplate; + } + public function getOldInstanceTemplate() + { + return $this->oldInstanceTemplate; + } + public function setPolicy(Google_Service_Replicapoolupdater_RollingUpdatePolicy $policy) + { + $this->policy = $policy; + } + public function getPolicy() + { + return $this->policy; + } + public function setProgress($progress) + { + $this->progress = $progress; + } + public function getProgress() + { + return $this->progress; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setStatusMessage($statusMessage) + { + $this->statusMessage = $statusMessage; + } + public function getStatusMessage() + { + return $this->statusMessage; + } + public function setUser($user) + { + $this->user = $user; + } + public function getUser() + { + return $this->user; + } +} + +class Google_Service_Replicapoolupdater_RollingUpdateError extends Google_Collection +{ + protected $collection_key = 'errors'; + protected $internal_gapi_mappings = array( + ); + protected $errorsType = 'Google_Service_Replicapoolupdater_RollingUpdateErrorErrors'; + protected $errorsDataType = 'array'; + + + public function setErrors($errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } +} + +class Google_Service_Replicapoolupdater_RollingUpdateErrorErrors extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $code; + public $location; + public $message; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_Replicapoolupdater_RollingUpdateList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Replicapoolupdater_RollingUpdate'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Replicapoolupdater_RollingUpdatePolicy extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $autoPauseAfterInstances; + public $instanceStartupTimeoutSec; + public $maxNumConcurrentInstances; + public $maxNumFailedInstances; + public $minInstanceUpdateTimeSec; + + + public function setAutoPauseAfterInstances($autoPauseAfterInstances) + { + $this->autoPauseAfterInstances = $autoPauseAfterInstances; + } + public function getAutoPauseAfterInstances() + { + return $this->autoPauseAfterInstances; + } + public function setInstanceStartupTimeoutSec($instanceStartupTimeoutSec) + { + $this->instanceStartupTimeoutSec = $instanceStartupTimeoutSec; + } + public function getInstanceStartupTimeoutSec() + { + return $this->instanceStartupTimeoutSec; + } + public function setMaxNumConcurrentInstances($maxNumConcurrentInstances) + { + $this->maxNumConcurrentInstances = $maxNumConcurrentInstances; + } + public function getMaxNumConcurrentInstances() + { + return $this->maxNumConcurrentInstances; + } + public function setMaxNumFailedInstances($maxNumFailedInstances) + { + $this->maxNumFailedInstances = $maxNumFailedInstances; + } + public function getMaxNumFailedInstances() + { + return $this->maxNumFailedInstances; + } + public function setMinInstanceUpdateTimeSec($minInstanceUpdateTimeSec) + { + $this->minInstanceUpdateTimeSec = $minInstanceUpdateTimeSec; + } + public function getMinInstanceUpdateTimeSec() + { + return $this->minInstanceUpdateTimeSec; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Reports.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Reports.php new file mode 100644 index 0000000..7694182 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Reports.php @@ -0,0 +1,1136 @@ + + * Allows the administrators of Google Apps customers to fetch reports about the + * usage, collaboration, security and risk for their users.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Reports extends Google_Service +{ + /** View audit reports of Google Apps for your domain. */ + const ADMIN_REPORTS_AUDIT_READONLY = + "https://www.googleapis.com/auth/admin.reports.audit.readonly"; + /** View usage reports of Google Apps for your domain. */ + const ADMIN_REPORTS_USAGE_READONLY = + "https://www.googleapis.com/auth/admin.reports.usage.readonly"; + + public $activities; + public $channels; + public $customerUsageReports; + public $userUsageReport; + + + /** + * Constructs the internal representation of the Reports service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'admin/reports/v1/'; + $this->version = 'reports_v1'; + $this->serviceName = 'admin'; + + $this->activities = new Google_Service_Reports_Activities_Resource( + $this, + $this->serviceName, + 'activities', + array( + 'methods' => array( + 'list' => array( + 'path' => 'activity/users/{userKey}/applications/{applicationName}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'applicationName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'startTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'actorIpAddress' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'eventName' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'filters' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'endTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'customerId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'watch' => array( + 'path' => 'activity/users/{userKey}/applications/{applicationName}/watch', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'applicationName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'startTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'actorIpAddress' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'eventName' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'filters' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'endTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'customerId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->channels = new Google_Service_Reports_Channels_Resource( + $this, + $this->serviceName, + 'channels', + array( + 'methods' => array( + 'stop' => array( + 'path' => '/admin/reports_v1/channels/stop', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->customerUsageReports = new Google_Service_Reports_CustomerUsageReports_Resource( + $this, + $this->serviceName, + 'customerUsageReports', + array( + 'methods' => array( + 'get' => array( + 'path' => 'usage/dates/{date}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'date' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'customerId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'parameters' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->userUsageReport = new Google_Service_Reports_UserUsageReport_Resource( + $this, + $this->serviceName, + 'userUsageReport', + array( + 'methods' => array( + 'get' => array( + 'path' => 'usage/users/{userKey}/dates/{date}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userKey' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'date' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'parameters' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'filters' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'customerId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "activities" collection of methods. + * Typical usage is: + * + * $adminService = new Google_Service_Reports(...); + * $activities = $adminService->activities; + * + */ +class Google_Service_Reports_Activities_Resource extends Google_Service_Resource +{ + + /** + * Retrieves a list of activities for a specific customer and application. + * (activities.listActivities) + * + * @param string $userKey Represents the profile id or the user email for which + * the data should be filtered. When 'all' is specified as the userKey, it + * returns usageReports for all users. + * @param string $applicationName Application name for which the events are to + * be retrieved. + * @param array $optParams Optional parameters. + * + * @opt_param string startTime Return events which occured at or after this + * time. + * @opt_param string actorIpAddress IP Address of host where the event was + * performed. Supports both IPv4 and IPv6 addresses. + * @opt_param int maxResults Number of activity records to be shown in each + * page. + * @opt_param string eventName Name of the event being queried. + * @opt_param string pageToken Token to specify next page. + * @opt_param string filters Event parameters in the form [parameter1 + * name][operator][parameter1 value],[parameter2 name][operator][parameter2 + * value],... + * @opt_param string endTime Return events which occured at or before this time. + * @opt_param string customerId Represents the customer for which the data is to + * be fetched. + * @return Google_Service_Reports_Activities + */ + public function listActivities($userKey, $applicationName, $optParams = array()) + { + $params = array('userKey' => $userKey, 'applicationName' => $applicationName); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Reports_Activities"); + } + + /** + * Push changes to activities (activities.watch) + * + * @param string $userKey Represents the profile id or the user email for which + * the data should be filtered. When 'all' is specified as the userKey, it + * returns usageReports for all users. + * @param string $applicationName Application name for which the events are to + * be retrieved. + * @param Google_Channel $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string startTime Return events which occured at or after this + * time. + * @opt_param string actorIpAddress IP Address of host where the event was + * performed. Supports both IPv4 and IPv6 addresses. + * @opt_param int maxResults Number of activity records to be shown in each + * page. + * @opt_param string eventName Name of the event being queried. + * @opt_param string pageToken Token to specify next page. + * @opt_param string filters Event parameters in the form [parameter1 + * name][operator][parameter1 value],[parameter2 name][operator][parameter2 + * value],... + * @opt_param string endTime Return events which occured at or before this time. + * @opt_param string customerId Represents the customer for which the data is to + * be fetched. + * @return Google_Service_Reports_Channel + */ + public function watch($userKey, $applicationName, Google_Service_Reports_Channel $postBody, $optParams = array()) + { + $params = array('userKey' => $userKey, 'applicationName' => $applicationName, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('watch', array($params), "Google_Service_Reports_Channel"); + } +} + +/** + * The "channels" collection of methods. + * Typical usage is: + * + * $adminService = new Google_Service_Reports(...); + * $channels = $adminService->channels; + * + */ +class Google_Service_Reports_Channels_Resource extends Google_Service_Resource +{ + + /** + * Stop watching resources through this channel (channels.stop) + * + * @param Google_Channel $postBody + * @param array $optParams Optional parameters. + */ + public function stop(Google_Service_Reports_Channel $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('stop', array($params)); + } +} + +/** + * The "customerUsageReports" collection of methods. + * Typical usage is: + * + * $adminService = new Google_Service_Reports(...); + * $customerUsageReports = $adminService->customerUsageReports; + * + */ +class Google_Service_Reports_CustomerUsageReports_Resource extends Google_Service_Resource +{ + + /** + * Retrieves a report which is a collection of properties / statistics for a + * specific customer. (customerUsageReports.get) + * + * @param string $date Represents the date in yyyy-mm-dd format for which the + * data is to be fetched. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Token to specify next page. + * @opt_param string customerId Represents the customer for which the data is to + * be fetched. + * @opt_param string parameters Represents the application name, parameter name + * pairs to fetch in csv as app_name1:param_name1, app_name2:param_name2. + * @return Google_Service_Reports_UsageReports + */ + public function get($date, $optParams = array()) + { + $params = array('date' => $date); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Reports_UsageReports"); + } +} + +/** + * The "userUsageReport" collection of methods. + * Typical usage is: + * + * $adminService = new Google_Service_Reports(...); + * $userUsageReport = $adminService->userUsageReport; + * + */ +class Google_Service_Reports_UserUsageReport_Resource extends Google_Service_Resource +{ + + /** + * Retrieves a report which is a collection of properties / statistics for a set + * of users. (userUsageReport.get) + * + * @param string $userKey Represents the profile id or the user email for which + * the data should be filtered. + * @param string $date Represents the date in yyyy-mm-dd format for which the + * data is to be fetched. + * @param array $optParams Optional parameters. + * + * @opt_param string parameters Represents the application name, parameter name + * pairs to fetch in csv as app_name1:param_name1, app_name2:param_name2. + * @opt_param string maxResults Maximum number of results to return. Maximum + * allowed is 1000 + * @opt_param string pageToken Token to specify next page. + * @opt_param string filters Represents the set of filters including parameter + * operator value. + * @opt_param string customerId Represents the customer for which the data is to + * be fetched. + * @return Google_Service_Reports_UsageReports + */ + public function get($userKey, $date, $optParams = array()) + { + $params = array('userKey' => $userKey, 'date' => $date); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Reports_UsageReports"); + } +} + + + + +class Google_Service_Reports_Activities extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_Reports_Activity'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Reports_Activity extends Google_Collection +{ + protected $collection_key = 'events'; + protected $internal_gapi_mappings = array( + ); + protected $actorType = 'Google_Service_Reports_ActivityActor'; + protected $actorDataType = ''; + public $etag; + protected $eventsType = 'Google_Service_Reports_ActivityEvents'; + protected $eventsDataType = 'array'; + protected $idType = 'Google_Service_Reports_ActivityId'; + protected $idDataType = ''; + public $ipAddress; + public $kind; + public $ownerDomain; + + + public function setActor(Google_Service_Reports_ActivityActor $actor) + { + $this->actor = $actor; + } + public function getActor() + { + return $this->actor; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEvents($events) + { + $this->events = $events; + } + public function getEvents() + { + return $this->events; + } + public function setId(Google_Service_Reports_ActivityId $id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIpAddress($ipAddress) + { + $this->ipAddress = $ipAddress; + } + public function getIpAddress() + { + return $this->ipAddress; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setOwnerDomain($ownerDomain) + { + $this->ownerDomain = $ownerDomain; + } + public function getOwnerDomain() + { + return $this->ownerDomain; + } +} + +class Google_Service_Reports_ActivityActor extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $callerType; + public $email; + public $key; + public $profileId; + + + public function setCallerType($callerType) + { + $this->callerType = $callerType; + } + public function getCallerType() + { + return $this->callerType; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setProfileId($profileId) + { + $this->profileId = $profileId; + } + public function getProfileId() + { + return $this->profileId; + } +} + +class Google_Service_Reports_ActivityEvents extends Google_Collection +{ + protected $collection_key = 'parameters'; + protected $internal_gapi_mappings = array( + ); + public $name; + protected $parametersType = 'Google_Service_Reports_ActivityEventsParameters'; + protected $parametersDataType = 'array'; + public $type; + + + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setParameters($parameters) + { + $this->parameters = $parameters; + } + public function getParameters() + { + return $this->parameters; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Reports_ActivityEventsParameters extends Google_Collection +{ + protected $collection_key = 'multiValue'; + protected $internal_gapi_mappings = array( + ); + public $boolValue; + public $intValue; + public $multiIntValue; + public $multiValue; + public $name; + public $value; + + + public function setBoolValue($boolValue) + { + $this->boolValue = $boolValue; + } + public function getBoolValue() + { + return $this->boolValue; + } + public function setIntValue($intValue) + { + $this->intValue = $intValue; + } + public function getIntValue() + { + return $this->intValue; + } + public function setMultiIntValue($multiIntValue) + { + $this->multiIntValue = $multiIntValue; + } + public function getMultiIntValue() + { + return $this->multiIntValue; + } + public function setMultiValue($multiValue) + { + $this->multiValue = $multiValue; + } + public function getMultiValue() + { + return $this->multiValue; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Reports_ActivityId extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $applicationName; + public $customerId; + public $time; + public $uniqueQualifier; + + + public function setApplicationName($applicationName) + { + $this->applicationName = $applicationName; + } + public function getApplicationName() + { + return $this->applicationName; + } + public function setCustomerId($customerId) + { + $this->customerId = $customerId; + } + public function getCustomerId() + { + return $this->customerId; + } + public function setTime($time) + { + $this->time = $time; + } + public function getTime() + { + return $this->time; + } + public function setUniqueQualifier($uniqueQualifier) + { + $this->uniqueQualifier = $uniqueQualifier; + } + public function getUniqueQualifier() + { + return $this->uniqueQualifier; + } +} + +class Google_Service_Reports_Channel extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $address; + public $expiration; + public $id; + public $kind; + public $params; + public $payload; + public $resourceId; + public $resourceUri; + public $token; + public $type; + + + public function setAddress($address) + { + $this->address = $address; + } + public function getAddress() + { + return $this->address; + } + public function setExpiration($expiration) + { + $this->expiration = $expiration; + } + public function getExpiration() + { + return $this->expiration; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setParams($params) + { + $this->params = $params; + } + public function getParams() + { + return $this->params; + } + public function setPayload($payload) + { + $this->payload = $payload; + } + public function getPayload() + { + return $this->payload; + } + public function setResourceId($resourceId) + { + $this->resourceId = $resourceId; + } + public function getResourceId() + { + return $this->resourceId; + } + public function setResourceUri($resourceUri) + { + $this->resourceUri = $resourceUri; + } + public function getResourceUri() + { + return $this->resourceUri; + } + public function setToken($token) + { + $this->token = $token; + } + public function getToken() + { + return $this->token; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Reports_ChannelParams extends Google_Model +{ +} + +class Google_Service_Reports_UsageReport extends Google_Collection +{ + protected $collection_key = 'parameters'; + protected $internal_gapi_mappings = array( + ); + public $date; + protected $entityType = 'Google_Service_Reports_UsageReportEntity'; + protected $entityDataType = ''; + public $etag; + public $kind; + protected $parametersType = 'Google_Service_Reports_UsageReportParameters'; + protected $parametersDataType = 'array'; + + + public function setDate($date) + { + $this->date = $date; + } + public function getDate() + { + return $this->date; + } + public function setEntity(Google_Service_Reports_UsageReportEntity $entity) + { + $this->entity = $entity; + } + public function getEntity() + { + return $this->entity; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setParameters($parameters) + { + $this->parameters = $parameters; + } + public function getParameters() + { + return $this->parameters; + } +} + +class Google_Service_Reports_UsageReportEntity extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $customerId; + public $profileId; + public $type; + public $userEmail; + + + public function setCustomerId($customerId) + { + $this->customerId = $customerId; + } + public function getCustomerId() + { + return $this->customerId; + } + public function setProfileId($profileId) + { + $this->profileId = $profileId; + } + public function getProfileId() + { + return $this->profileId; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUserEmail($userEmail) + { + $this->userEmail = $userEmail; + } + public function getUserEmail() + { + return $this->userEmail; + } +} + +class Google_Service_Reports_UsageReportParameters extends Google_Collection +{ + protected $collection_key = 'msgValue'; + protected $internal_gapi_mappings = array( + ); + public $boolValue; + public $datetimeValue; + public $intValue; + public $msgValue; + public $name; + public $stringValue; + + + public function setBoolValue($boolValue) + { + $this->boolValue = $boolValue; + } + public function getBoolValue() + { + return $this->boolValue; + } + public function setDatetimeValue($datetimeValue) + { + $this->datetimeValue = $datetimeValue; + } + public function getDatetimeValue() + { + return $this->datetimeValue; + } + public function setIntValue($intValue) + { + $this->intValue = $intValue; + } + public function getIntValue() + { + return $this->intValue; + } + public function setMsgValue($msgValue) + { + $this->msgValue = $msgValue; + } + public function getMsgValue() + { + return $this->msgValue; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setStringValue($stringValue) + { + $this->stringValue = $stringValue; + } + public function getStringValue() + { + return $this->stringValue; + } +} + +class Google_Service_Reports_UsageReportParametersMsgValue extends Google_Model +{ +} + +class Google_Service_Reports_UsageReports extends Google_Collection +{ + protected $collection_key = 'warnings'; + protected $internal_gapi_mappings = array( + ); + public $etag; + public $kind; + public $nextPageToken; + protected $usageReportsType = 'Google_Service_Reports_UsageReport'; + protected $usageReportsDataType = 'array'; + protected $warningsType = 'Google_Service_Reports_UsageReportsWarnings'; + protected $warningsDataType = 'array'; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setUsageReports($usageReports) + { + $this->usageReports = $usageReports; + } + public function getUsageReports() + { + return $this->usageReports; + } + public function setWarnings($warnings) + { + $this->warnings = $warnings; + } + public function getWarnings() + { + return $this->warnings; + } +} + +class Google_Service_Reports_UsageReportsWarnings extends Google_Collection +{ + protected $collection_key = 'data'; + protected $internal_gapi_mappings = array( + ); + public $code; + protected $dataType = 'Google_Service_Reports_UsageReportsWarningsData'; + protected $dataDataType = 'array'; + public $message; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_Reports_UsageReportsWarningsData extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $key; + public $value; + + + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Reseller.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Reseller.php new file mode 100644 index 0000000..e95a737 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Reseller.php @@ -0,0 +1,1135 @@ + + * Lets you create and manage your customers and their subscriptions.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Reseller extends Google_Service +{ + /** Manage users on your domain. */ + const APPS_ORDER = + "https://www.googleapis.com/auth/apps.order"; + /** Manage users on your domain. */ + const APPS_ORDER_READONLY = + "https://www.googleapis.com/auth/apps.order.readonly"; + + public $customers; + public $subscriptions; + + + /** + * Constructs the internal representation of the Reseller service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'apps/reseller/v1/'; + $this->version = 'v1'; + $this->serviceName = 'reseller'; + + $this->customers = new Google_Service_Reseller_Customers_Resource( + $this, + $this->serviceName, + 'customers', + array( + 'methods' => array( + 'get' => array( + 'path' => 'customers/{customerId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'customers', + 'httpMethod' => 'POST', + 'parameters' => array( + 'customerAuthToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'customers/{customerId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'customers/{customerId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->subscriptions = new Google_Service_Reseller_Subscriptions_Resource( + $this, + $this->serviceName, + 'subscriptions', + array( + 'methods' => array( + 'activate' => array( + 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}/activate', + 'httpMethod' => 'POST', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'subscriptionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'changePlan' => array( + 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}/changePlan', + 'httpMethod' => 'POST', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'subscriptionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'changeRenewalSettings' => array( + 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}/changeRenewalSettings', + 'httpMethod' => 'POST', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'subscriptionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'changeSeats' => array( + 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}/changeSeats', + 'httpMethod' => 'POST', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'subscriptionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'subscriptionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deletionType' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'subscriptionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'customers/{customerId}/subscriptions', + 'httpMethod' => 'POST', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'customerAuthToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'subscriptions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'customerAuthToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'customerId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'customerNamePrefix' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'startPaidService' => array( + 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}/startPaidService', + 'httpMethod' => 'POST', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'subscriptionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'suspend' => array( + 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}/suspend', + 'httpMethod' => 'POST', + 'parameters' => array( + 'customerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'subscriptionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "customers" collection of methods. + * Typical usage is: + * + * $resellerService = new Google_Service_Reseller(...); + * $customers = $resellerService->customers; + * + */ +class Google_Service_Reseller_Customers_Resource extends Google_Service_Resource +{ + + /** + * Gets a customer resource if one exists and is owned by the reseller. + * (customers.get) + * + * @param string $customerId Id of the Customer + * @param array $optParams Optional parameters. + * @return Google_Service_Reseller_Customer + */ + public function get($customerId, $optParams = array()) + { + $params = array('customerId' => $customerId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Reseller_Customer"); + } + + /** + * Creates a customer resource if one does not already exist. (customers.insert) + * + * @param Google_Customer $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string customerAuthToken An auth token needed for inserting a + * customer for which domain already exists. Can be generated at + * https://www.google.com/a/cpanel//TransferToken. Optional. + * @return Google_Service_Reseller_Customer + */ + public function insert(Google_Service_Reseller_Customer $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Reseller_Customer"); + } + + /** + * Update a customer resource if one it exists and is owned by the reseller. + * This method supports patch semantics. (customers.patch) + * + * @param string $customerId Id of the Customer + * @param Google_Customer $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Reseller_Customer + */ + public function patch($customerId, Google_Service_Reseller_Customer $postBody, $optParams = array()) + { + $params = array('customerId' => $customerId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Reseller_Customer"); + } + + /** + * Update a customer resource if one it exists and is owned by the reseller. + * (customers.update) + * + * @param string $customerId Id of the Customer + * @param Google_Customer $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Reseller_Customer + */ + public function update($customerId, Google_Service_Reseller_Customer $postBody, $optParams = array()) + { + $params = array('customerId' => $customerId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Reseller_Customer"); + } +} + +/** + * The "subscriptions" collection of methods. + * Typical usage is: + * + * $resellerService = new Google_Service_Reseller(...); + * $subscriptions = $resellerService->subscriptions; + * + */ +class Google_Service_Reseller_Subscriptions_Resource extends Google_Service_Resource +{ + + /** + * Activates a subscription previously suspended by the reseller + * (subscriptions.activate) + * + * @param string $customerId Id of the Customer + * @param string $subscriptionId Id of the subscription, which is unique for a + * customer + * @param array $optParams Optional parameters. + * @return Google_Service_Reseller_Subscription + */ + public function activate($customerId, $subscriptionId, $optParams = array()) + { + $params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId); + $params = array_merge($params, $optParams); + return $this->call('activate', array($params), "Google_Service_Reseller_Subscription"); + } + + /** + * Changes the plan of a subscription (subscriptions.changePlan) + * + * @param string $customerId Id of the Customer + * @param string $subscriptionId Id of the subscription, which is unique for a + * customer + * @param Google_ChangePlanRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Reseller_Subscription + */ + public function changePlan($customerId, $subscriptionId, Google_Service_Reseller_ChangePlanRequest $postBody, $optParams = array()) + { + $params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('changePlan', array($params), "Google_Service_Reseller_Subscription"); + } + + /** + * Changes the renewal settings of a subscription + * (subscriptions.changeRenewalSettings) + * + * @param string $customerId Id of the Customer + * @param string $subscriptionId Id of the subscription, which is unique for a + * customer + * @param Google_RenewalSettings $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Reseller_Subscription + */ + public function changeRenewalSettings($customerId, $subscriptionId, Google_Service_Reseller_RenewalSettings $postBody, $optParams = array()) + { + $params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('changeRenewalSettings', array($params), "Google_Service_Reseller_Subscription"); + } + + /** + * Changes the seats configuration of a subscription (subscriptions.changeSeats) + * + * @param string $customerId Id of the Customer + * @param string $subscriptionId Id of the subscription, which is unique for a + * customer + * @param Google_Seats $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Reseller_Subscription + */ + public function changeSeats($customerId, $subscriptionId, Google_Service_Reseller_Seats $postBody, $optParams = array()) + { + $params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('changeSeats', array($params), "Google_Service_Reseller_Subscription"); + } + + /** + * Cancels/Downgrades a subscription. (subscriptions.delete) + * + * @param string $customerId Id of the Customer + * @param string $subscriptionId Id of the subscription, which is unique for a + * customer + * @param string $deletionType Whether the subscription is to be fully cancelled + * or downgraded + * @param array $optParams Optional parameters. + */ + public function delete($customerId, $subscriptionId, $deletionType, $optParams = array()) + { + $params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId, 'deletionType' => $deletionType); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Gets a subscription of the customer. (subscriptions.get) + * + * @param string $customerId Id of the Customer + * @param string $subscriptionId Id of the subscription, which is unique for a + * customer + * @param array $optParams Optional parameters. + * @return Google_Service_Reseller_Subscription + */ + public function get($customerId, $subscriptionId, $optParams = array()) + { + $params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Reseller_Subscription"); + } + + /** + * Creates/Transfers a subscription for the customer. (subscriptions.insert) + * + * @param string $customerId Id of the Customer + * @param Google_Subscription $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string customerAuthToken An auth token needed for transferring a + * subscription. Can be generated at https://www.google.com/a/cpanel/customer- + * domain/TransferToken. Optional. + * @return Google_Service_Reseller_Subscription + */ + public function insert($customerId, Google_Service_Reseller_Subscription $postBody, $optParams = array()) + { + $params = array('customerId' => $customerId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Reseller_Subscription"); + } + + /** + * Lists subscriptions of a reseller, optionally filtered by a customer name + * prefix. (subscriptions.listSubscriptions) + * + * @param array $optParams Optional parameters. + * + * @opt_param string customerAuthToken An auth token needed if the customer is + * not a resold customer of this reseller. Can be generated at + * https://www.google.com/a/cpanel/customer-domain/TransferToken.Optional. + * @opt_param string pageToken Token to specify next page in the list + * @opt_param string customerId Id of the Customer + * @opt_param string maxResults Maximum number of results to return + * @opt_param string customerNamePrefix Prefix of the customer's domain name by + * which the subscriptions should be filtered. Optional + * @return Google_Service_Reseller_Subscriptions + */ + public function listSubscriptions($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Reseller_Subscriptions"); + } + + /** + * Starts paid service of a trial subscription (subscriptions.startPaidService) + * + * @param string $customerId Id of the Customer + * @param string $subscriptionId Id of the subscription, which is unique for a + * customer + * @param array $optParams Optional parameters. + * @return Google_Service_Reseller_Subscription + */ + public function startPaidService($customerId, $subscriptionId, $optParams = array()) + { + $params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId); + $params = array_merge($params, $optParams); + return $this->call('startPaidService', array($params), "Google_Service_Reseller_Subscription"); + } + + /** + * Suspends an active subscription (subscriptions.suspend) + * + * @param string $customerId Id of the Customer + * @param string $subscriptionId Id of the subscription, which is unique for a + * customer + * @param array $optParams Optional parameters. + * @return Google_Service_Reseller_Subscription + */ + public function suspend($customerId, $subscriptionId, $optParams = array()) + { + $params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId); + $params = array_merge($params, $optParams); + return $this->call('suspend', array($params), "Google_Service_Reseller_Subscription"); + } +} + + + + +class Google_Service_Reseller_Address extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $addressLine1; + public $addressLine2; + public $addressLine3; + public $contactName; + public $countryCode; + public $kind; + public $locality; + public $organizationName; + public $postalCode; + public $region; + + + public function setAddressLine1($addressLine1) + { + $this->addressLine1 = $addressLine1; + } + public function getAddressLine1() + { + return $this->addressLine1; + } + public function setAddressLine2($addressLine2) + { + $this->addressLine2 = $addressLine2; + } + public function getAddressLine2() + { + return $this->addressLine2; + } + public function setAddressLine3($addressLine3) + { + $this->addressLine3 = $addressLine3; + } + public function getAddressLine3() + { + return $this->addressLine3; + } + public function setContactName($contactName) + { + $this->contactName = $contactName; + } + public function getContactName() + { + return $this->contactName; + } + public function setCountryCode($countryCode) + { + $this->countryCode = $countryCode; + } + public function getCountryCode() + { + return $this->countryCode; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLocality($locality) + { + $this->locality = $locality; + } + public function getLocality() + { + return $this->locality; + } + public function setOrganizationName($organizationName) + { + $this->organizationName = $organizationName; + } + public function getOrganizationName() + { + return $this->organizationName; + } + public function setPostalCode($postalCode) + { + $this->postalCode = $postalCode; + } + public function getPostalCode() + { + return $this->postalCode; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } +} + +class Google_Service_Reseller_ChangePlanRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + public $planName; + public $purchaseOrderId; + protected $seatsType = 'Google_Service_Reseller_Seats'; + protected $seatsDataType = ''; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPlanName($planName) + { + $this->planName = $planName; + } + public function getPlanName() + { + return $this->planName; + } + public function setPurchaseOrderId($purchaseOrderId) + { + $this->purchaseOrderId = $purchaseOrderId; + } + public function getPurchaseOrderId() + { + return $this->purchaseOrderId; + } + public function setSeats(Google_Service_Reseller_Seats $seats) + { + $this->seats = $seats; + } + public function getSeats() + { + return $this->seats; + } +} + +class Google_Service_Reseller_Customer extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $alternateEmail; + public $customerDomain; + public $customerId; + public $kind; + public $phoneNumber; + protected $postalAddressType = 'Google_Service_Reseller_Address'; + protected $postalAddressDataType = ''; + public $resourceUiUrl; + + + public function setAlternateEmail($alternateEmail) + { + $this->alternateEmail = $alternateEmail; + } + public function getAlternateEmail() + { + return $this->alternateEmail; + } + public function setCustomerDomain($customerDomain) + { + $this->customerDomain = $customerDomain; + } + public function getCustomerDomain() + { + return $this->customerDomain; + } + public function setCustomerId($customerId) + { + $this->customerId = $customerId; + } + public function getCustomerId() + { + return $this->customerId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPhoneNumber($phoneNumber) + { + $this->phoneNumber = $phoneNumber; + } + public function getPhoneNumber() + { + return $this->phoneNumber; + } + public function setPostalAddress(Google_Service_Reseller_Address $postalAddress) + { + $this->postalAddress = $postalAddress; + } + public function getPostalAddress() + { + return $this->postalAddress; + } + public function setResourceUiUrl($resourceUiUrl) + { + $this->resourceUiUrl = $resourceUiUrl; + } + public function getResourceUiUrl() + { + return $this->resourceUiUrl; + } +} + +class Google_Service_Reseller_RenewalSettings extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + public $renewalType; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRenewalType($renewalType) + { + $this->renewalType = $renewalType; + } + public function getRenewalType() + { + return $this->renewalType; + } +} + +class Google_Service_Reseller_Seats extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + public $licensedNumberOfSeats; + public $maximumNumberOfSeats; + public $numberOfSeats; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLicensedNumberOfSeats($licensedNumberOfSeats) + { + $this->licensedNumberOfSeats = $licensedNumberOfSeats; + } + public function getLicensedNumberOfSeats() + { + return $this->licensedNumberOfSeats; + } + public function setMaximumNumberOfSeats($maximumNumberOfSeats) + { + $this->maximumNumberOfSeats = $maximumNumberOfSeats; + } + public function getMaximumNumberOfSeats() + { + return $this->maximumNumberOfSeats; + } + public function setNumberOfSeats($numberOfSeats) + { + $this->numberOfSeats = $numberOfSeats; + } + public function getNumberOfSeats() + { + return $this->numberOfSeats; + } +} + +class Google_Service_Reseller_Subscription extends Google_Collection +{ + protected $collection_key = 'suspensionReasons'; + protected $internal_gapi_mappings = array( + ); + public $billingMethod; + public $creationTime; + public $customerId; + public $kind; + protected $planType = 'Google_Service_Reseller_SubscriptionPlan'; + protected $planDataType = ''; + public $purchaseOrderId; + protected $renewalSettingsType = 'Google_Service_Reseller_RenewalSettings'; + protected $renewalSettingsDataType = ''; + public $resourceUiUrl; + protected $seatsType = 'Google_Service_Reseller_Seats'; + protected $seatsDataType = ''; + public $skuId; + public $status; + public $subscriptionId; + public $suspensionReasons; + protected $transferInfoType = 'Google_Service_Reseller_SubscriptionTransferInfo'; + protected $transferInfoDataType = ''; + protected $trialSettingsType = 'Google_Service_Reseller_SubscriptionTrialSettings'; + protected $trialSettingsDataType = ''; + + + public function setBillingMethod($billingMethod) + { + $this->billingMethod = $billingMethod; + } + public function getBillingMethod() + { + return $this->billingMethod; + } + public function setCreationTime($creationTime) + { + $this->creationTime = $creationTime; + } + public function getCreationTime() + { + return $this->creationTime; + } + public function setCustomerId($customerId) + { + $this->customerId = $customerId; + } + public function getCustomerId() + { + return $this->customerId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPlan(Google_Service_Reseller_SubscriptionPlan $plan) + { + $this->plan = $plan; + } + public function getPlan() + { + return $this->plan; + } + public function setPurchaseOrderId($purchaseOrderId) + { + $this->purchaseOrderId = $purchaseOrderId; + } + public function getPurchaseOrderId() + { + return $this->purchaseOrderId; + } + public function setRenewalSettings(Google_Service_Reseller_RenewalSettings $renewalSettings) + { + $this->renewalSettings = $renewalSettings; + } + public function getRenewalSettings() + { + return $this->renewalSettings; + } + public function setResourceUiUrl($resourceUiUrl) + { + $this->resourceUiUrl = $resourceUiUrl; + } + public function getResourceUiUrl() + { + return $this->resourceUiUrl; + } + public function setSeats(Google_Service_Reseller_Seats $seats) + { + $this->seats = $seats; + } + public function getSeats() + { + return $this->seats; + } + public function setSkuId($skuId) + { + $this->skuId = $skuId; + } + public function getSkuId() + { + return $this->skuId; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setSubscriptionId($subscriptionId) + { + $this->subscriptionId = $subscriptionId; + } + public function getSubscriptionId() + { + return $this->subscriptionId; + } + public function setSuspensionReasons($suspensionReasons) + { + $this->suspensionReasons = $suspensionReasons; + } + public function getSuspensionReasons() + { + return $this->suspensionReasons; + } + public function setTransferInfo(Google_Service_Reseller_SubscriptionTransferInfo $transferInfo) + { + $this->transferInfo = $transferInfo; + } + public function getTransferInfo() + { + return $this->transferInfo; + } + public function setTrialSettings(Google_Service_Reseller_SubscriptionTrialSettings $trialSettings) + { + $this->trialSettings = $trialSettings; + } + public function getTrialSettings() + { + return $this->trialSettings; + } +} + +class Google_Service_Reseller_SubscriptionPlan extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $commitmentIntervalType = 'Google_Service_Reseller_SubscriptionPlanCommitmentInterval'; + protected $commitmentIntervalDataType = ''; + public $isCommitmentPlan; + public $planName; + + + public function setCommitmentInterval(Google_Service_Reseller_SubscriptionPlanCommitmentInterval $commitmentInterval) + { + $this->commitmentInterval = $commitmentInterval; + } + public function getCommitmentInterval() + { + return $this->commitmentInterval; + } + public function setIsCommitmentPlan($isCommitmentPlan) + { + $this->isCommitmentPlan = $isCommitmentPlan; + } + public function getIsCommitmentPlan() + { + return $this->isCommitmentPlan; + } + public function setPlanName($planName) + { + $this->planName = $planName; + } + public function getPlanName() + { + return $this->planName; + } +} + +class Google_Service_Reseller_SubscriptionPlanCommitmentInterval extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $endTime; + public $startTime; + + + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } +} + +class Google_Service_Reseller_SubscriptionTransferInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $minimumTransferableSeats; + public $transferabilityExpirationTime; + + + public function setMinimumTransferableSeats($minimumTransferableSeats) + { + $this->minimumTransferableSeats = $minimumTransferableSeats; + } + public function getMinimumTransferableSeats() + { + return $this->minimumTransferableSeats; + } + public function setTransferabilityExpirationTime($transferabilityExpirationTime) + { + $this->transferabilityExpirationTime = $transferabilityExpirationTime; + } + public function getTransferabilityExpirationTime() + { + return $this->transferabilityExpirationTime; + } +} + +class Google_Service_Reseller_SubscriptionTrialSettings extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $isInTrial; + public $trialEndTime; + + + public function setIsInTrial($isInTrial) + { + $this->isInTrial = $isInTrial; + } + public function getIsInTrial() + { + return $this->isInTrial; + } + public function setTrialEndTime($trialEndTime) + { + $this->trialEndTime = $trialEndTime; + } + public function getTrialEndTime() + { + return $this->trialEndTime; + } +} + +class Google_Service_Reseller_Subscriptions extends Google_Collection +{ + protected $collection_key = 'subscriptions'; + protected $internal_gapi_mappings = array( + ); + public $kind; + public $nextPageToken; + protected $subscriptionsType = 'Google_Service_Reseller_Subscription'; + protected $subscriptionsDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSubscriptions($subscriptions) + { + $this->subscriptions = $subscriptions; + } + public function getSubscriptions() + { + return $this->subscriptions; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Resource.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Resource.php new file mode 100644 index 0000000..0d6af82 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Resource.php @@ -0,0 +1,255 @@ + array('type' => 'string', 'location' => 'query'), + 'fields' => array('type' => 'string', 'location' => 'query'), + 'trace' => array('type' => 'string', 'location' => 'query'), + 'userIp' => array('type' => 'string', 'location' => 'query'), + 'quotaUser' => array('type' => 'string', 'location' => 'query'), + 'data' => array('type' => 'string', 'location' => 'body'), + 'mimeType' => array('type' => 'string', 'location' => 'header'), + 'uploadType' => array('type' => 'string', 'location' => 'query'), + 'mediaUpload' => array('type' => 'complex', 'location' => 'query'), + 'prettyPrint' => array('type' => 'string', 'location' => 'query'), + ); + + /** @var string $rootUrl */ + private $rootUrl; + + /** @var Google_Client $client */ + private $client; + + /** @var string $serviceName */ + private $serviceName; + + /** @var string $servicePath */ + private $servicePath; + + /** @var string $resourceName */ + private $resourceName; + + /** @var array $methods */ + private $methods; + + public function __construct($service, $serviceName, $resourceName, $resource) + { + $this->rootUrl = $service->rootUrl; + $this->client = $service->getClient(); + $this->servicePath = $service->servicePath; + $this->serviceName = $serviceName; + $this->resourceName = $resourceName; + $this->methods = is_array($resource) && isset($resource['methods']) ? + $resource['methods'] : + array($resourceName => $resource); + } + + /** + * TODO: This function needs simplifying. + * @param $name + * @param $arguments + * @param $expected_class - optional, the expected class name + * @return Google_Http_Request|expected_class + * @throws Google_Exception + */ + public function call($name, $arguments, $expected_class = null) + { + if (! isset($this->methods[$name])) { + $this->client->getLogger()->error( + 'Service method unknown', + array( + 'service' => $this->serviceName, + 'resource' => $this->resourceName, + 'method' => $name + ) + ); + + throw new Google_Exception( + "Unknown function: " . + "{$this->serviceName}->{$this->resourceName}->{$name}()" + ); + } + $method = $this->methods[$name]; + $parameters = $arguments[0]; + + // postBody is a special case since it's not defined in the discovery + // document as parameter, but we abuse the param entry for storing it. + $postBody = null; + if (isset($parameters['postBody'])) { + if ($parameters['postBody'] instanceof Google_Model) { + // In the cases the post body is an existing object, we want + // to use the smart method to create a simple object for + // for JSONification. + $parameters['postBody'] = $parameters['postBody']->toSimpleObject(); + } else if (is_object($parameters['postBody'])) { + // If the post body is another kind of object, we will try and + // wrangle it into a sensible format. + $parameters['postBody'] = + $this->convertToArrayAndStripNulls($parameters['postBody']); + } + $postBody = json_encode($parameters['postBody']); + if ($postBody === false && $parameters['postBody'] !== false) { + throw new Google_Exception("JSON encoding failed. Ensure all strings in the request are UTF-8 encoded."); + } + unset($parameters['postBody']); + } + + // TODO: optParams here probably should have been + // handled already - this may well be redundant code. + if (isset($parameters['optParams'])) { + $optParams = $parameters['optParams']; + unset($parameters['optParams']); + $parameters = array_merge($parameters, $optParams); + } + + if (!isset($method['parameters'])) { + $method['parameters'] = array(); + } + + $method['parameters'] = array_merge( + $method['parameters'], + $this->stackParameters + ); + foreach ($parameters as $key => $val) { + if ($key != 'postBody' && ! isset($method['parameters'][$key])) { + $this->client->getLogger()->error( + 'Service parameter unknown', + array( + 'service' => $this->serviceName, + 'resource' => $this->resourceName, + 'method' => $name, + 'parameter' => $key + ) + ); + throw new Google_Exception("($name) unknown parameter: '$key'"); + } + } + + foreach ($method['parameters'] as $paramName => $paramSpec) { + if (isset($paramSpec['required']) && + $paramSpec['required'] && + ! isset($parameters[$paramName]) + ) { + $this->client->getLogger()->error( + 'Service parameter missing', + array( + 'service' => $this->serviceName, + 'resource' => $this->resourceName, + 'method' => $name, + 'parameter' => $paramName + ) + ); + throw new Google_Exception("($name) missing required param: '$paramName'"); + } + if (isset($parameters[$paramName])) { + $value = $parameters[$paramName]; + $parameters[$paramName] = $paramSpec; + $parameters[$paramName]['value'] = $value; + unset($parameters[$paramName]['required']); + } else { + // Ensure we don't pass nulls. + unset($parameters[$paramName]); + } + } + + $this->client->getLogger()->info( + 'Service Call', + array( + 'service' => $this->serviceName, + 'resource' => $this->resourceName, + 'method' => $name, + 'arguments' => $parameters, + ) + ); + + $url = Google_Http_REST::createRequestUri( + $this->servicePath, + $method['path'], + $parameters + ); + $httpRequest = new Google_Http_Request( + $url, + $method['httpMethod'], + null, + $postBody + ); + + if ($this->rootUrl) { + $httpRequest->setBaseComponent($this->rootUrl); + } else { + $httpRequest->setBaseComponent($this->client->getBasePath()); + } + + if ($postBody) { + $contentTypeHeader = array(); + $contentTypeHeader['content-type'] = 'application/json; charset=UTF-8'; + $httpRequest->setRequestHeaders($contentTypeHeader); + $httpRequest->setPostBody($postBody); + } + + $httpRequest = $this->client->getAuth()->sign($httpRequest); + $httpRequest->setExpectedClass($expected_class); + + if (isset($parameters['data']) && + ($parameters['uploadType']['value'] == 'media' || $parameters['uploadType']['value'] == 'multipart')) { + // If we are doing a simple media upload, trigger that as a convenience. + $mfu = new Google_Http_MediaFileUpload( + $this->client, + $httpRequest, + isset($parameters['mimeType']) ? $parameters['mimeType']['value'] : 'application/octet-stream', + $parameters['data']['value'] + ); + } + + if (isset($parameters['alt']) && $parameters['alt']['value'] == 'media') { + $httpRequest->enableExpectedRaw(); + } + + if ($this->client->shouldDefer()) { + // If we are in batch or upload mode, return the raw request. + return $httpRequest; + } + + return $this->client->execute($httpRequest); + } + + protected function convertToArrayAndStripNulls($o) + { + $o = (array) $o; + foreach ($o as $k => $v) { + if ($v === null) { + unset($o[$k]); + } elseif (is_object($v) || is_array($v)) { + $o[$k] = $this->convertToArrayAndStripNulls($o[$k]); + } + } + return $o; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Resourceviews.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Resourceviews.php new file mode 100644 index 0000000..58e3b89 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Resourceviews.php @@ -0,0 +1,1345 @@ + + * The Resource View API allows users to create and manage logical sets of + * Google Compute Engine instances.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Resourceviews extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** View your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM_READ_ONLY = + "https://www.googleapis.com/auth/cloud-platform.read-only"; + /** View and manage your Google Compute Engine resources. */ + const COMPUTE = + "https://www.googleapis.com/auth/compute"; + /** View your Google Compute Engine resources. */ + const COMPUTE_READONLY = + "https://www.googleapis.com/auth/compute.readonly"; + /** View and manage your Google Cloud Platform management resources and deployment status information. */ + const NDEV_CLOUDMAN = + "https://www.googleapis.com/auth/ndev.cloudman"; + /** View your Google Cloud Platform management resources and deployment status information. */ + const NDEV_CLOUDMAN_READONLY = + "https://www.googleapis.com/auth/ndev.cloudman.readonly"; + + public $zoneOperations; + public $zoneViews; + + + /** + * Constructs the internal representation of the Resourceviews service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'resourceviews/v1beta2/projects/'; + $this->version = 'v1beta2'; + $this->serviceName = 'resourceviews'; + + $this->zoneOperations = new Google_Service_Resourceviews_ZoneOperations_Resource( + $this, + $this->serviceName, + 'zoneOperations', + array( + 'methods' => array( + 'get' => array( + 'path' => '{project}/zones/{zone}/operations/{operation}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'operation' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/zones/{zone}/operations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->zoneViews = new Google_Service_Resourceviews_ZoneViews_Resource( + $this, + $this->serviceName, + 'zoneViews', + array( + 'methods' => array( + 'addResources' => array( + 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}/addResources', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resourceView' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resourceView' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resourceView' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getService' => array( + 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}/getService', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resourceView' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resourceName' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'insert' => array( + 'path' => '{project}/zones/{zone}/resourceViews', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/zones/{zone}/resourceViews', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'listResources' => array( + 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}/resources', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resourceView' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'listState' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'format' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'serviceName' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'removeResources' => array( + 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}/removeResources', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resourceView' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setService' => array( + 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}/setService', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resourceView' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "zoneOperations" collection of methods. + * Typical usage is: + * + * $resourceviewsService = new Google_Service_Resourceviews(...); + * $zoneOperations = $resourceviewsService->zoneOperations; + * + */ +class Google_Service_Resourceviews_ZoneOperations_Resource extends Google_Service_Resource +{ + + /** + * Retrieves the specified zone-specific operation resource. + * (zoneOperations.get) + * + * @param string $project Name of the project scoping this request. + * @param string $zone Name of the zone scoping this request. + * @param string $operation Name of the operation resource to return. + * @param array $optParams Optional parameters. + * @return Google_Service_Resourceviews_Operation + */ + public function get($project, $zone, $operation, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Resourceviews_Operation"); + } + + /** + * Retrieves the list of operation resources contained within the specified + * zone. (zoneOperations.listZoneOperations) + * + * @param string $project Name of the project scoping this request. + * @param string $zone Name of the zone scoping this request. + * @param array $optParams Optional parameters. + * + * @opt_param string filter Optional. Filter expression for filtering listed + * resources. + * @opt_param string pageToken Optional. Tag returned by a previous list request + * truncated by maxResults. Used to continue a previous list request. + * @opt_param string maxResults Optional. Maximum count of results to be + * returned. Maximum value is 500 and default value is 500. + * @return Google_Service_Resourceviews_OperationList + */ + public function listZoneOperations($project, $zone, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Resourceviews_OperationList"); + } +} + +/** + * The "zoneViews" collection of methods. + * Typical usage is: + * + * $resourceviewsService = new Google_Service_Resourceviews(...); + * $zoneViews = $resourceviewsService->zoneViews; + * + */ +class Google_Service_Resourceviews_ZoneViews_Resource extends Google_Service_Resource +{ + + /** + * Add resources to the view. (zoneViews.addResources) + * + * @param string $project The project name of the resource view. + * @param string $zone The zone name of the resource view. + * @param string $resourceView The name of the resource view. + * @param Google_ZoneViewsAddResourcesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Resourceviews_Operation + */ + public function addResources($project, $zone, $resourceView, Google_Service_Resourceviews_ZoneViewsAddResourcesRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('addResources', array($params), "Google_Service_Resourceviews_Operation"); + } + + /** + * Delete a resource view. (zoneViews.delete) + * + * @param string $project The project name of the resource view. + * @param string $zone The zone name of the resource view. + * @param string $resourceView The name of the resource view. + * @param array $optParams Optional parameters. + * @return Google_Service_Resourceviews_Operation + */ + public function delete($project, $zone, $resourceView, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Resourceviews_Operation"); + } + + /** + * Get the information of a zonal resource view. (zoneViews.get) + * + * @param string $project The project name of the resource view. + * @param string $zone The zone name of the resource view. + * @param string $resourceView The name of the resource view. + * @param array $optParams Optional parameters. + * @return Google_Service_Resourceviews_ResourceView + */ + public function get($project, $zone, $resourceView, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Resourceviews_ResourceView"); + } + + /** + * Get the service information of a resource view or a resource. + * (zoneViews.getService) + * + * @param string $project The project name of the resource view. + * @param string $zone The zone name of the resource view. + * @param string $resourceView The name of the resource view. + * @param array $optParams Optional parameters. + * + * @opt_param string resourceName The name of the resource if user wants to get + * the service information of the resource. + * @return Google_Service_Resourceviews_ZoneViewsGetServiceResponse + */ + public function getService($project, $zone, $resourceView, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView); + $params = array_merge($params, $optParams); + return $this->call('getService', array($params), "Google_Service_Resourceviews_ZoneViewsGetServiceResponse"); + } + + /** + * Create a resource view. (zoneViews.insert) + * + * @param string $project The project name of the resource view. + * @param string $zone The zone name of the resource view. + * @param Google_ResourceView $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Resourceviews_Operation + */ + public function insert($project, $zone, Google_Service_Resourceviews_ResourceView $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Resourceviews_Operation"); + } + + /** + * List resource views. (zoneViews.listZoneViews) + * + * @param string $project The project name of the resource view. + * @param string $zone The zone name of the resource view. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Specifies a nextPageToken returned by a previous + * list request. This token can be used to request the next page of results from + * a previous list request. + * @opt_param int maxResults Maximum count of results to be returned. Acceptable + * values are 0 to 5000, inclusive. (Default: 5000) + * @return Google_Service_Resourceviews_ZoneViewsList + */ + public function listZoneViews($project, $zone, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Resourceviews_ZoneViewsList"); + } + + /** + * List the resources of the resource view. (zoneViews.listResources) + * + * @param string $project The project name of the resource view. + * @param string $zone The zone name of the resource view. + * @param string $resourceView The name of the resource view. + * @param array $optParams Optional parameters. + * + * @opt_param string listState The state of the instance to list. By default, it + * lists all instances. + * @opt_param string format The requested format of the return value. It can be + * URL or URL_PORT. A JSON object will be included in the response based on the + * format. The default format is NONE, which results in no JSON in the response. + * @opt_param int maxResults Maximum count of results to be returned. Acceptable + * values are 0 to 5000, inclusive. (Default: 5000) + * @opt_param string pageToken Specifies a nextPageToken returned by a previous + * list request. This token can be used to request the next page of results from + * a previous list request. + * @opt_param string serviceName The service name to return in the response. It + * is optional and if it is not set, all the service end points will be + * returned. + * @return Google_Service_Resourceviews_ZoneViewsListResourcesResponse + */ + public function listResources($project, $zone, $resourceView, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView); + $params = array_merge($params, $optParams); + return $this->call('listResources', array($params), "Google_Service_Resourceviews_ZoneViewsListResourcesResponse"); + } + + /** + * Remove resources from the view. (zoneViews.removeResources) + * + * @param string $project The project name of the resource view. + * @param string $zone The zone name of the resource view. + * @param string $resourceView The name of the resource view. + * @param Google_ZoneViewsRemoveResourcesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Resourceviews_Operation + */ + public function removeResources($project, $zone, $resourceView, Google_Service_Resourceviews_ZoneViewsRemoveResourcesRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('removeResources', array($params), "Google_Service_Resourceviews_Operation"); + } + + /** + * Update the service information of a resource view or a resource. + * (zoneViews.setService) + * + * @param string $project The project name of the resource view. + * @param string $zone The zone name of the resource view. + * @param string $resourceView The name of the resource view. + * @param Google_ZoneViewsSetServiceRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Resourceviews_Operation + */ + public function setService($project, $zone, $resourceView, Google_Service_Resourceviews_ZoneViewsSetServiceRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('setService', array($params), "Google_Service_Resourceviews_Operation"); + } +} + + + + +class Google_Service_Resourceviews_Label extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $key; + public $value; + + + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Resourceviews_ListResourceResponseItem extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $endpoints; + public $resource; + + + public function setEndpoints($endpoints) + { + $this->endpoints = $endpoints; + } + public function getEndpoints() + { + return $this->endpoints; + } + public function setResource($resource) + { + $this->resource = $resource; + } + public function getResource() + { + return $this->resource; + } +} + +class Google_Service_Resourceviews_ListResourceResponseItemEndpoints extends Google_Model +{ +} + +class Google_Service_Resourceviews_Operation extends Google_Collection +{ + protected $collection_key = 'warnings'; + protected $internal_gapi_mappings = array( + ); + public $clientOperationId; + public $creationTimestamp; + public $endTime; + protected $errorType = 'Google_Service_Resourceviews_OperationError'; + protected $errorDataType = ''; + public $httpErrorMessage; + public $httpErrorStatusCode; + public $id; + public $insertTime; + public $kind; + public $name; + public $operationType; + public $progress; + public $region; + public $selfLink; + public $startTime; + public $status; + public $statusMessage; + public $targetId; + public $targetLink; + public $user; + protected $warningsType = 'Google_Service_Resourceviews_OperationWarnings'; + protected $warningsDataType = 'array'; + public $zone; + + + public function setClientOperationId($clientOperationId) + { + $this->clientOperationId = $clientOperationId; + } + public function getClientOperationId() + { + return $this->clientOperationId; + } + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setError(Google_Service_Resourceviews_OperationError $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setHttpErrorMessage($httpErrorMessage) + { + $this->httpErrorMessage = $httpErrorMessage; + } + public function getHttpErrorMessage() + { + return $this->httpErrorMessage; + } + public function setHttpErrorStatusCode($httpErrorStatusCode) + { + $this->httpErrorStatusCode = $httpErrorStatusCode; + } + public function getHttpErrorStatusCode() + { + return $this->httpErrorStatusCode; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInsertTime($insertTime) + { + $this->insertTime = $insertTime; + } + public function getInsertTime() + { + return $this->insertTime; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOperationType($operationType) + { + $this->operationType = $operationType; + } + public function getOperationType() + { + return $this->operationType; + } + public function setProgress($progress) + { + $this->progress = $progress; + } + public function getProgress() + { + return $this->progress; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setStatusMessage($statusMessage) + { + $this->statusMessage = $statusMessage; + } + public function getStatusMessage() + { + return $this->statusMessage; + } + public function setTargetId($targetId) + { + $this->targetId = $targetId; + } + public function getTargetId() + { + return $this->targetId; + } + public function setTargetLink($targetLink) + { + $this->targetLink = $targetLink; + } + public function getTargetLink() + { + return $this->targetLink; + } + public function setUser($user) + { + $this->user = $user; + } + public function getUser() + { + return $this->user; + } + public function setWarnings($warnings) + { + $this->warnings = $warnings; + } + public function getWarnings() + { + return $this->warnings; + } + public function setZone($zone) + { + $this->zone = $zone; + } + public function getZone() + { + return $this->zone; + } +} + +class Google_Service_Resourceviews_OperationError extends Google_Collection +{ + protected $collection_key = 'errors'; + protected $internal_gapi_mappings = array( + ); + protected $errorsType = 'Google_Service_Resourceviews_OperationErrorErrors'; + protected $errorsDataType = 'array'; + + + public function setErrors($errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } +} + +class Google_Service_Resourceviews_OperationErrorErrors extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $code; + public $location; + public $message; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_Resourceviews_OperationList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $id; + protected $itemsType = 'Google_Service_Resourceviews_Operation'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Resourceviews_OperationWarnings extends Google_Collection +{ + protected $collection_key = 'data'; + protected $internal_gapi_mappings = array( + ); + public $code; + protected $dataType = 'Google_Service_Resourceviews_OperationWarningsData'; + protected $dataDataType = 'array'; + public $message; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setData($data) + { + $this->data = $data; + } + public function getData() + { + return $this->data; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_Resourceviews_OperationWarningsData extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $key; + public $value; + + + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_Resourceviews_ResourceView extends Google_Collection +{ + protected $collection_key = 'resources'; + protected $internal_gapi_mappings = array( + ); + public $creationTimestamp; + public $description; + protected $endpointsType = 'Google_Service_Resourceviews_ServiceEndpoint'; + protected $endpointsDataType = 'array'; + public $fingerprint; + public $id; + public $kind; + protected $labelsType = 'Google_Service_Resourceviews_Label'; + protected $labelsDataType = 'array'; + public $name; + public $network; + public $resources; + public $selfLink; + public $size; + + + public function setCreationTimestamp($creationTimestamp) + { + $this->creationTimestamp = $creationTimestamp; + } + public function getCreationTimestamp() + { + return $this->creationTimestamp; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setEndpoints($endpoints) + { + $this->endpoints = $endpoints; + } + public function getEndpoints() + { + return $this->endpoints; + } + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLabels($labels) + { + $this->labels = $labels; + } + public function getLabels() + { + return $this->labels; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNetwork($network) + { + $this->network = $network; + } + public function getNetwork() + { + return $this->network; + } + public function setResources($resources) + { + $this->resources = $resources; + } + public function getResources() + { + return $this->resources; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setSize($size) + { + $this->size = $size; + } + public function getSize() + { + return $this->size; + } +} + +class Google_Service_Resourceviews_ServiceEndpoint extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $name; + public $port; + + + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPort($port) + { + $this->port = $port; + } + public function getPort() + { + return $this->port; + } +} + +class Google_Service_Resourceviews_ZoneViewsAddResourcesRequest extends Google_Collection +{ + protected $collection_key = 'resources'; + protected $internal_gapi_mappings = array( + ); + public $resources; + + + public function setResources($resources) + { + $this->resources = $resources; + } + public function getResources() + { + return $this->resources; + } +} + +class Google_Service_Resourceviews_ZoneViewsGetServiceResponse extends Google_Collection +{ + protected $collection_key = 'endpoints'; + protected $internal_gapi_mappings = array( + ); + protected $endpointsType = 'Google_Service_Resourceviews_ServiceEndpoint'; + protected $endpointsDataType = 'array'; + public $fingerprint; + + + public function setEndpoints($endpoints) + { + $this->endpoints = $endpoints; + } + public function getEndpoints() + { + return $this->endpoints; + } + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } +} + +class Google_Service_Resourceviews_ZoneViewsList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Resourceviews_ResourceView'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $selfLink; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Resourceviews_ZoneViewsListResourcesResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Resourceviews_ListResourceResponseItem'; + protected $itemsDataType = 'array'; + public $network; + public $nextPageToken; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setNetwork($network) + { + $this->network = $network; + } + public function getNetwork() + { + return $this->network; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Resourceviews_ZoneViewsRemoveResourcesRequest extends Google_Collection +{ + protected $collection_key = 'resources'; + protected $internal_gapi_mappings = array( + ); + public $resources; + + + public function setResources($resources) + { + $this->resources = $resources; + } + public function getResources() + { + return $this->resources; + } +} + +class Google_Service_Resourceviews_ZoneViewsSetServiceRequest extends Google_Collection +{ + protected $collection_key = 'endpoints'; + protected $internal_gapi_mappings = array( + ); + protected $endpointsType = 'Google_Service_Resourceviews_ServiceEndpoint'; + protected $endpointsDataType = 'array'; + public $fingerprint; + public $resourceName; + + + public function setEndpoints($endpoints) + { + $this->endpoints = $endpoints; + } + public function getEndpoints() + { + return $this->endpoints; + } + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setResourceName($resourceName) + { + $this->resourceName = $resourceName; + } + public function getResourceName() + { + return $this->resourceName; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/SQLAdmin.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/SQLAdmin.php new file mode 100644 index 0000000..02db617 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/SQLAdmin.php @@ -0,0 +1,3707 @@ + + * API for Cloud SQL database instance management.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_SQLAdmin extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** Manage your Google SQL Service instances. */ + const SQLSERVICE_ADMIN = + "https://www.googleapis.com/auth/sqlservice.admin"; + + public $backupRuns; + public $databases; + public $flags; + public $instances; + public $operations; + public $sslCerts; + public $tiers; + public $users; + + + /** + * Constructs the internal representation of the SQLAdmin service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'sql/v1beta4/'; + $this->version = 'v1beta4'; + $this->serviceName = 'sqladmin'; + + $this->backupRuns = new Google_Service_SQLAdmin_BackupRuns_Resource( + $this, + $this->serviceName, + 'backupRuns', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'projects/{project}/instances/{instance}/backupRuns/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'projects/{project}/instances/{instance}/backupRuns/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'projects/{project}/instances/{instance}/backupRuns', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->databases = new Google_Service_SQLAdmin_Databases_Resource( + $this, + $this->serviceName, + 'databases', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'projects/{project}/instances/{instance}/databases/{database}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'database' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'projects/{project}/instances/{instance}/databases/{database}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'database' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'projects/{project}/instances/{instance}/databases', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'projects/{project}/instances/{instance}/databases', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'projects/{project}/instances/{instance}/databases/{database}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'database' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'projects/{project}/instances/{instance}/databases/{database}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'database' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->flags = new Google_Service_SQLAdmin_Flags_Resource( + $this, + $this->serviceName, + 'flags', + array( + 'methods' => array( + 'list' => array( + 'path' => 'flags', + 'httpMethod' => 'GET', + 'parameters' => array(), + ), + ) + ) + ); + $this->instances = new Google_Service_SQLAdmin_Instances_Resource( + $this, + $this->serviceName, + 'instances', + array( + 'methods' => array( + 'clone' => array( + 'path' => 'projects/{project}/instances/{instance}/clone', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'projects/{project}/instances/{instance}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'export' => array( + 'path' => 'projects/{project}/instances/{instance}/export', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'failover' => array( + 'path' => 'projects/{project}/instances/{instance}/failover', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'projects/{project}/instances/{instance}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'import' => array( + 'path' => 'projects/{project}/instances/{instance}/import', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'projects/{project}/instances', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'projects/{project}/instances', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => 'projects/{project}/instances/{instance}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'promoteReplica' => array( + 'path' => 'projects/{project}/instances/{instance}/promoteReplica', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'resetSslConfig' => array( + 'path' => 'projects/{project}/instances/{instance}/resetSslConfig', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'restart' => array( + 'path' => 'projects/{project}/instances/{instance}/restart', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'restoreBackup' => array( + 'path' => 'projects/{project}/instances/{instance}/restoreBackup', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'startReplica' => array( + 'path' => 'projects/{project}/instances/{instance}/startReplica', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'stopReplica' => array( + 'path' => 'projects/{project}/instances/{instance}/stopReplica', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'projects/{project}/instances/{instance}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->operations = new Google_Service_SQLAdmin_Operations_Resource( + $this, + $this->serviceName, + 'operations', + array( + 'methods' => array( + 'get' => array( + 'path' => 'projects/{project}/operations/{operation}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'operation' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'projects/{project}/operations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->sslCerts = new Google_Service_SQLAdmin_SslCerts_Resource( + $this, + $this->serviceName, + 'sslCerts', + array( + 'methods' => array( + 'createEphemeral' => array( + 'path' => 'projects/{project}/instances/{instance}/createEphemeral', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sha1Fingerprint' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sha1Fingerprint' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'projects/{project}/instances/{instance}/sslCerts', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'projects/{project}/instances/{instance}/sslCerts', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->tiers = new Google_Service_SQLAdmin_Tiers_Resource( + $this, + $this->serviceName, + 'tiers', + array( + 'methods' => array( + 'list' => array( + 'path' => 'projects/{project}/tiers', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->users = new Google_Service_SQLAdmin_Users_Resource( + $this, + $this->serviceName, + 'users', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'projects/{project}/instances/{instance}/users', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'host' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'name' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'projects/{project}/instances/{instance}/users', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'projects/{project}/instances/{instance}/users', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'projects/{project}/instances/{instance}/users', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'host' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'name' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "backupRuns" collection of methods. + * Typical usage is: + * + * $sqladminService = new Google_Service_SQLAdmin(...); + * $backupRuns = $sqladminService->backupRuns; + * + */ +class Google_Service_SQLAdmin_BackupRuns_Resource extends Google_Service_Resource +{ + + /** + * Deletes the backup taken by a backup run. (backupRuns.delete) + * + * @param string $project Project ID of the project that contains the instance. + * @param string $instance Cloud SQL instance ID. This does not include the + * project ID. + * @param string $id The ID of the Backup Run to delete. To find a Backup Run + * ID, use the list method. + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function delete($project, $instance, $id, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_SQLAdmin_Operation"); + } + + /** + * Retrieves a resource containing information about a backup run. + * (backupRuns.get) + * + * @param string $project Project ID of the project that contains the instance. + * @param string $instance Cloud SQL instance ID. This does not include the + * project ID. + * @param string $id The ID of this Backup Run. + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_BackupRun + */ + public function get($project, $instance, $id, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance, 'id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_SQLAdmin_BackupRun"); + } + + /** + * Lists all backup runs associated with a given instance and configuration in + * the reverse chronological order of the enqueued time. + * (backupRuns.listBackupRuns) + * + * @param string $project Project ID of the project that contains the instance. + * @param string $instance Cloud SQL instance ID. This does not include the + * project ID. + * @param array $optParams Optional parameters. + * + * @opt_param int maxResults Maximum number of backup runs per response. + * @opt_param string pageToken A previously-returned page token representing + * part of the larger set of results to view. + * @return Google_Service_SQLAdmin_BackupRunsListResponse + */ + public function listBackupRuns($project, $instance, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_SQLAdmin_BackupRunsListResponse"); + } +} + +/** + * The "databases" collection of methods. + * Typical usage is: + * + * $sqladminService = new Google_Service_SQLAdmin(...); + * $databases = $sqladminService->databases; + * + */ +class Google_Service_SQLAdmin_Databases_Resource extends Google_Service_Resource +{ + + /** + * Deletes a resource containing information about a database inside a Cloud SQL + * instance. (databases.delete) + * + * @param string $project Project ID of the project that contains the instance. + * @param string $instance Database instance ID. This does not include the + * project ID. + * @param string $database Name of the database to be deleted in the instance. + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function delete($project, $instance, $database, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance, 'database' => $database); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_SQLAdmin_Operation"); + } + + /** + * Retrieves a resource containing information about a database inside a Cloud + * SQL instance. (databases.get) + * + * @param string $project Project ID of the project that contains the instance. + * @param string $instance Database instance ID. This does not include the + * project ID. + * @param string $database Name of the database in the instance. + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Database + */ + public function get($project, $instance, $database, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance, 'database' => $database); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_SQLAdmin_Database"); + } + + /** + * Inserts a resource containing information about a database inside a Cloud SQL + * instance. (databases.insert) + * + * @param string $project Project ID of the project that contains the instance. + * @param string $instance Database instance ID. This does not include the + * project ID. + * @param Google_Database $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function insert($project, $instance, Google_Service_SQLAdmin_Database $postBody, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_SQLAdmin_Operation"); + } + + /** + * Lists databases in the specified Cloud SQL instance. + * (databases.listDatabases) + * + * @param string $project Project ID of the project for which to list Cloud SQL + * instances. + * @param string $instance Cloud SQL instance ID. This does not include the + * project ID. + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_DatabasesListResponse + */ + public function listDatabases($project, $instance, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_SQLAdmin_DatabasesListResponse"); + } + + /** + * Updates a resource containing information about a database inside a Cloud SQL + * instance. This method supports patch semantics. (databases.patch) + * + * @param string $project Project ID of the project that contains the instance. + * @param string $instance Database instance ID. This does not include the + * project ID. + * @param string $database Name of the database to be updated in the instance. + * @param Google_Database $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function patch($project, $instance, $database, Google_Service_SQLAdmin_Database $postBody, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance, 'database' => $database, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_SQLAdmin_Operation"); + } + + /** + * Updates a resource containing information about a database inside a Cloud SQL + * instance. (databases.update) + * + * @param string $project Project ID of the project that contains the instance. + * @param string $instance Database instance ID. This does not include the + * project ID. + * @param string $database Name of the database to be updated in the instance. + * @param Google_Database $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function update($project, $instance, $database, Google_Service_SQLAdmin_Database $postBody, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance, 'database' => $database, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_SQLAdmin_Operation"); + } +} + +/** + * The "flags" collection of methods. + * Typical usage is: + * + * $sqladminService = new Google_Service_SQLAdmin(...); + * $flags = $sqladminService->flags; + * + */ +class Google_Service_SQLAdmin_Flags_Resource extends Google_Service_Resource +{ + + /** + * List all available database flags for Google Cloud SQL instances. + * (flags.listFlags) + * + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_FlagsListResponse + */ + public function listFlags($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_SQLAdmin_FlagsListResponse"); + } +} + +/** + * The "instances" collection of methods. + * Typical usage is: + * + * $sqladminService = new Google_Service_SQLAdmin(...); + * $instances = $sqladminService->instances; + * + */ +class Google_Service_SQLAdmin_Instances_Resource extends Google_Service_Resource +{ + + /** + * Creates a Cloud SQL instance as a clone of the source instance. + * (instances.cloneInstances) + * + * @param string $project Project ID of the source as well as the clone Cloud + * SQL instance. + * @param string $instance The ID of the Cloud SQL instance to be cloned + * (source). This does not include the project ID. + * @param Google_InstancesCloneRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function cloneInstances($project, $instance, Google_Service_SQLAdmin_InstancesCloneRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('clone', array($params), "Google_Service_SQLAdmin_Operation"); + } + + /** + * Deletes a Cloud SQL instance. (instances.delete) + * + * @param string $project Project ID of the project that contains the instance + * to be deleted. + * @param string $instance Cloud SQL instance ID. This does not include the + * project ID. + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function delete($project, $instance, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_SQLAdmin_Operation"); + } + + /** + * Exports data from a Cloud SQL instance to a Google Cloud Storage bucket as a + * MySQL dump file. (instances.export) + * + * @param string $project Project ID of the project that contains the instance + * to be exported. + * @param string $instance Cloud SQL instance ID. This does not include the + * project ID. + * @param Google_InstancesExportRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function export($project, $instance, Google_Service_SQLAdmin_InstancesExportRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('export', array($params), "Google_Service_SQLAdmin_Operation"); + } + + /** + * Failover the instance to its failover replica instance. (instances.failover) + * + * @param string $project ID of the project that contains the read replica. + * @param string $instance Cloud SQL instance ID. This does not include the + * project ID. + * @param Google_InstancesFailoverRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function failover($project, $instance, Google_Service_SQLAdmin_InstancesFailoverRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('failover', array($params), "Google_Service_SQLAdmin_Operation"); + } + + /** + * Retrieves a resource containing information about a Cloud SQL instance. + * (instances.get) + * + * @param string $project Project ID of the project that contains the instance. + * @param string $instance Database instance ID. This does not include the + * project ID. + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_DatabaseInstance + */ + public function get($project, $instance, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_SQLAdmin_DatabaseInstance"); + } + + /** + * Imports data into a Cloud SQL instance from a MySQL dump file in Google Cloud + * Storage. (instances.import) + * + * @param string $project Project ID of the project that contains the instance. + * @param string $instance Cloud SQL instance ID. This does not include the + * project ID. + * @param Google_InstancesImportRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function import($project, $instance, Google_Service_SQLAdmin_InstancesImportRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('import', array($params), "Google_Service_SQLAdmin_Operation"); + } + + /** + * Creates a new Cloud SQL instance. (instances.insert) + * + * @param string $project Project ID of the project to which the newly created + * Cloud SQL instances should belong. + * @param Google_DatabaseInstance $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function insert($project, Google_Service_SQLAdmin_DatabaseInstance $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_SQLAdmin_Operation"); + } + + /** + * Lists instances under a given project in the alphabetical order of the + * instance name. (instances.listInstances) + * + * @param string $project Project ID of the project for which to list Cloud SQL + * instances. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken A previously-returned page token representing + * part of the larger set of results to view. + * @opt_param string maxResults The maximum number of results to return per + * response. + * @return Google_Service_SQLAdmin_InstancesListResponse + */ + public function listInstances($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_SQLAdmin_InstancesListResponse"); + } + + /** + * Updates settings of a Cloud SQL instance. Caution: This is not a partial + * update, so you must include values for all the settings that you want to + * retain. For partial updates, use patch.. This method supports patch + * semantics. (instances.patch) + * + * @param string $project Project ID of the project that contains the instance. + * @param string $instance Cloud SQL instance ID. This does not include the + * project ID. + * @param Google_DatabaseInstance $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function patch($project, $instance, Google_Service_SQLAdmin_DatabaseInstance $postBody, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_SQLAdmin_Operation"); + } + + /** + * Promotes the read replica instance to be a stand-alone Cloud SQL instance. + * (instances.promoteReplica) + * + * @param string $project ID of the project that contains the read replica. + * @param string $instance Cloud SQL read replica instance name. + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function promoteReplica($project, $instance, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance); + $params = array_merge($params, $optParams); + return $this->call('promoteReplica', array($params), "Google_Service_SQLAdmin_Operation"); + } + + /** + * Deletes all client certificates and generates a new server SSL certificate + * for the instance. The changes will not take effect until the instance is + * restarted. Existing instances without a server certificate will need to call + * this once to set a server certificate. (instances.resetSslConfig) + * + * @param string $project Project ID of the project that contains the instance. + * @param string $instance Cloud SQL instance ID. This does not include the + * project ID. + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function resetSslConfig($project, $instance, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance); + $params = array_merge($params, $optParams); + return $this->call('resetSslConfig', array($params), "Google_Service_SQLAdmin_Operation"); + } + + /** + * Restarts a Cloud SQL instance. (instances.restart) + * + * @param string $project Project ID of the project that contains the instance + * to be restarted. + * @param string $instance Cloud SQL instance ID. This does not include the + * project ID. + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function restart($project, $instance, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance); + $params = array_merge($params, $optParams); + return $this->call('restart', array($params), "Google_Service_SQLAdmin_Operation"); + } + + /** + * Restores a backup of a Cloud SQL instance. (instances.restoreBackup) + * + * @param string $project Project ID of the project that contains the instance. + * @param string $instance Cloud SQL instance ID. This does not include the + * project ID. + * @param Google_InstancesRestoreBackupRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function restoreBackup($project, $instance, Google_Service_SQLAdmin_InstancesRestoreBackupRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('restoreBackup', array($params), "Google_Service_SQLAdmin_Operation"); + } + + /** + * Starts the replication in the read replica instance. (instances.startReplica) + * + * @param string $project ID of the project that contains the read replica. + * @param string $instance Cloud SQL read replica instance name. + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function startReplica($project, $instance, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance); + $params = array_merge($params, $optParams); + return $this->call('startReplica', array($params), "Google_Service_SQLAdmin_Operation"); + } + + /** + * Stops the replication in the read replica instance. (instances.stopReplica) + * + * @param string $project ID of the project that contains the read replica. + * @param string $instance Cloud SQL read replica instance name. + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function stopReplica($project, $instance, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance); + $params = array_merge($params, $optParams); + return $this->call('stopReplica', array($params), "Google_Service_SQLAdmin_Operation"); + } + + /** + * Updates settings of a Cloud SQL instance. Caution: This is not a partial + * update, so you must include values for all the settings that you want to + * retain. For partial updates, use patch. (instances.update) + * + * @param string $project Project ID of the project that contains the instance. + * @param string $instance Cloud SQL instance ID. This does not include the + * project ID. + * @param Google_DatabaseInstance $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function update($project, $instance, Google_Service_SQLAdmin_DatabaseInstance $postBody, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_SQLAdmin_Operation"); + } +} + +/** + * The "operations" collection of methods. + * Typical usage is: + * + * $sqladminService = new Google_Service_SQLAdmin(...); + * $operations = $sqladminService->operations; + * + */ +class Google_Service_SQLAdmin_Operations_Resource extends Google_Service_Resource +{ + + /** + * Retrieves an instance operation that has been performed on an instance. + * (operations.get) + * + * @param string $project Project ID of the project that contains the instance. + * @param string $operation Instance operation ID. + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function get($project, $operation, $optParams = array()) + { + $params = array('project' => $project, 'operation' => $operation); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_SQLAdmin_Operation"); + } + + /** + * Lists all instance operations that have been performed on the given Cloud SQL + * instance in the reverse chronological order of the start time. + * (operations.listOperations) + * + * @param string $project Project ID of the project that contains the instance. + * @param string $instance Cloud SQL instance ID. This does not include the + * project ID. + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults Maximum number of operations per response. + * @opt_param string pageToken A previously-returned page token representing + * part of the larger set of results to view. + * @return Google_Service_SQLAdmin_OperationsListResponse + */ + public function listOperations($project, $instance, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_SQLAdmin_OperationsListResponse"); + } +} + +/** + * The "sslCerts" collection of methods. + * Typical usage is: + * + * $sqladminService = new Google_Service_SQLAdmin(...); + * $sslCerts = $sqladminService->sslCerts; + * + */ +class Google_Service_SQLAdmin_SslCerts_Resource extends Google_Service_Resource +{ + + /** + * Generates a short-lived X509 certificate containing the provided public key + * and signed by a private key specific to the target instance. Users may use + * the certificate to authenticate as themselves when connecting to the + * database. (sslCerts.createEphemeral) + * + * @param string $project Project ID of the Cloud SQL project. + * @param string $instance Cloud SQL instance ID. This does not include the + * project ID. + * @param Google_SslCertsCreateEphemeralRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_SslCert + */ + public function createEphemeral($project, $instance, Google_Service_SQLAdmin_SslCertsCreateEphemeralRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('createEphemeral', array($params), "Google_Service_SQLAdmin_SslCert"); + } + + /** + * Deletes the SSL certificate. The change will not take effect until the + * instance is restarted. (sslCerts.delete) + * + * @param string $project Project ID of the project that contains the instance + * to be deleted. + * @param string $instance Cloud SQL instance ID. This does not include the + * project ID. + * @param string $sha1Fingerprint Sha1 FingerPrint. + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function delete($project, $instance, $sha1Fingerprint, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance, 'sha1Fingerprint' => $sha1Fingerprint); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_SQLAdmin_Operation"); + } + + /** + * Retrieves a particular SSL certificate. Does not include the private key + * (required for usage). The private key must be saved from the response to + * initial creation. (sslCerts.get) + * + * @param string $project Project ID of the project that contains the instance. + * @param string $instance Cloud SQL instance ID. This does not include the + * project ID. + * @param string $sha1Fingerprint Sha1 FingerPrint. + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_SslCert + */ + public function get($project, $instance, $sha1Fingerprint, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance, 'sha1Fingerprint' => $sha1Fingerprint); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_SQLAdmin_SslCert"); + } + + /** + * Creates an SSL certificate and returns it along with the private key and + * server certificate authority. The new certificate will not be usable until + * the instance is restarted. (sslCerts.insert) + * + * @param string $project Project ID of the project to which the newly created + * Cloud SQL instances should belong. + * @param string $instance Cloud SQL instance ID. This does not include the + * project ID. + * @param Google_SslCertsInsertRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_SslCertsInsertResponse + */ + public function insert($project, $instance, Google_Service_SQLAdmin_SslCertsInsertRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_SQLAdmin_SslCertsInsertResponse"); + } + + /** + * Lists all of the current SSL certificates for the instance. + * (sslCerts.listSslCerts) + * + * @param string $project Project ID of the project for which to list Cloud SQL + * instances. + * @param string $instance Cloud SQL instance ID. This does not include the + * project ID. + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_SslCertsListResponse + */ + public function listSslCerts($project, $instance, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_SQLAdmin_SslCertsListResponse"); + } +} + +/** + * The "tiers" collection of methods. + * Typical usage is: + * + * $sqladminService = new Google_Service_SQLAdmin(...); + * $tiers = $sqladminService->tiers; + * + */ +class Google_Service_SQLAdmin_Tiers_Resource extends Google_Service_Resource +{ + + /** + * Lists all available service tiers for Google Cloud SQL, for example D1, D2. + * For related information, see Pricing. (tiers.listTiers) + * + * @param string $project Project ID of the project for which to list tiers. + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_TiersListResponse + */ + public function listTiers($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_SQLAdmin_TiersListResponse"); + } +} + +/** + * The "users" collection of methods. + * Typical usage is: + * + * $sqladminService = new Google_Service_SQLAdmin(...); + * $users = $sqladminService->users; + * + */ +class Google_Service_SQLAdmin_Users_Resource extends Google_Service_Resource +{ + + /** + * Deletes a user from a Cloud SQL instance. (users.delete) + * + * @param string $project Project ID of the project that contains the instance. + * @param string $instance Database instance ID. This does not include the + * project ID. + * @param string $host Host of the user in the instance. + * @param string $name Name of the user in the instance. + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function delete($project, $instance, $host, $name, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance, 'host' => $host, 'name' => $name); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_SQLAdmin_Operation"); + } + + /** + * Creates a new user in a Cloud SQL instance. (users.insert) + * + * @param string $project Project ID of the project that contains the instance. + * @param string $instance Database instance ID. This does not include the + * project ID. + * @param Google_User $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function insert($project, $instance, Google_Service_SQLAdmin_User $postBody, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_SQLAdmin_Operation"); + } + + /** + * Lists users in the specified Cloud SQL instance. (users.listUsers) + * + * @param string $project Project ID of the project that contains the instance. + * @param string $instance Database instance ID. This does not include the + * project ID. + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_UsersListResponse + */ + public function listUsers($project, $instance, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_SQLAdmin_UsersListResponse"); + } + + /** + * Updates an existing user in a Cloud SQL instance. (users.update) + * + * @param string $project Project ID of the project that contains the instance. + * @param string $instance Database instance ID. This does not include the + * project ID. + * @param string $host Host of the user in the instance. + * @param string $name Name of the user in the instance. + * @param Google_User $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_SQLAdmin_Operation + */ + public function update($project, $instance, $host, $name, Google_Service_SQLAdmin_User $postBody, $optParams = array()) + { + $params = array('project' => $project, 'instance' => $instance, 'host' => $host, 'name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_SQLAdmin_Operation"); + } +} + + + + +class Google_Service_SQLAdmin_AclEntry extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $expirationTime; + public $kind; + public $name; + public $value; + + + public function setExpirationTime($expirationTime) + { + $this->expirationTime = $expirationTime; + } + public function getExpirationTime() + { + return $this->expirationTime; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_SQLAdmin_BackupConfiguration extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $binaryLogEnabled; + public $enabled; + public $kind; + public $startTime; + + + public function setBinaryLogEnabled($binaryLogEnabled) + { + $this->binaryLogEnabled = $binaryLogEnabled; + } + public function getBinaryLogEnabled() + { + return $this->binaryLogEnabled; + } + public function setEnabled($enabled) + { + $this->enabled = $enabled; + } + public function getEnabled() + { + return $this->enabled; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } +} + +class Google_Service_SQLAdmin_BackupRun extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $endTime; + public $enqueuedTime; + protected $errorType = 'Google_Service_SQLAdmin_OperationError'; + protected $errorDataType = ''; + public $id; + public $instance; + public $kind; + public $selfLink; + public $startTime; + public $status; + public $windowStartTime; + + + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setEnqueuedTime($enqueuedTime) + { + $this->enqueuedTime = $enqueuedTime; + } + public function getEnqueuedTime() + { + return $this->enqueuedTime; + } + public function setError(Google_Service_SQLAdmin_OperationError $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInstance($instance) + { + $this->instance = $instance; + } + public function getInstance() + { + return $this->instance; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setWindowStartTime($windowStartTime) + { + $this->windowStartTime = $windowStartTime; + } + public function getWindowStartTime() + { + return $this->windowStartTime; + } +} + +class Google_Service_SQLAdmin_BackupRunsListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_SQLAdmin_BackupRun'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_SQLAdmin_BinLogCoordinates extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $binLogFileName; + public $binLogPosition; + public $kind; + + + public function setBinLogFileName($binLogFileName) + { + $this->binLogFileName = $binLogFileName; + } + public function getBinLogFileName() + { + return $this->binLogFileName; + } + public function setBinLogPosition($binLogPosition) + { + $this->binLogPosition = $binLogPosition; + } + public function getBinLogPosition() + { + return $this->binLogPosition; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_SQLAdmin_CloneContext extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $binLogCoordinatesType = 'Google_Service_SQLAdmin_BinLogCoordinates'; + protected $binLogCoordinatesDataType = ''; + public $destinationInstanceName; + public $kind; + + + public function setBinLogCoordinates(Google_Service_SQLAdmin_BinLogCoordinates $binLogCoordinates) + { + $this->binLogCoordinates = $binLogCoordinates; + } + public function getBinLogCoordinates() + { + return $this->binLogCoordinates; + } + public function setDestinationInstanceName($destinationInstanceName) + { + $this->destinationInstanceName = $destinationInstanceName; + } + public function getDestinationInstanceName() + { + return $this->destinationInstanceName; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_SQLAdmin_Database extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $charset; + public $collation; + public $etag; + public $instance; + public $kind; + public $name; + public $project; + public $selfLink; + + + public function setCharset($charset) + { + $this->charset = $charset; + } + public function getCharset() + { + return $this->charset; + } + public function setCollation($collation) + { + $this->collation = $collation; + } + public function getCollation() + { + return $this->collation; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setInstance($instance) + { + $this->instance = $instance; + } + public function getInstance() + { + return $this->instance; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setProject($project) + { + $this->project = $project; + } + public function getProject() + { + return $this->project; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_SQLAdmin_DatabaseFlags extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $name; + public $value; + + + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_SQLAdmin_DatabaseInstance extends Google_Collection +{ + protected $collection_key = 'replicaNames'; + protected $internal_gapi_mappings = array( + ); + public $currentDiskSize; + public $databaseVersion; + public $etag; + public $instanceType; + protected $ipAddressesType = 'Google_Service_SQLAdmin_IpMapping'; + protected $ipAddressesDataType = 'array'; + public $ipv6Address; + public $kind; + public $masterInstanceName; + public $maxDiskSize; + public $name; + protected $onPremisesConfigurationType = 'Google_Service_SQLAdmin_OnPremisesConfiguration'; + protected $onPremisesConfigurationDataType = ''; + public $project; + public $region; + protected $replicaConfigurationType = 'Google_Service_SQLAdmin_ReplicaConfiguration'; + protected $replicaConfigurationDataType = ''; + public $replicaNames; + public $selfLink; + protected $serverCaCertType = 'Google_Service_SQLAdmin_SslCert'; + protected $serverCaCertDataType = ''; + public $serviceAccountEmailAddress; + protected $settingsType = 'Google_Service_SQLAdmin_Settings'; + protected $settingsDataType = ''; + public $state; + + + public function setCurrentDiskSize($currentDiskSize) + { + $this->currentDiskSize = $currentDiskSize; + } + public function getCurrentDiskSize() + { + return $this->currentDiskSize; + } + public function setDatabaseVersion($databaseVersion) + { + $this->databaseVersion = $databaseVersion; + } + public function getDatabaseVersion() + { + return $this->databaseVersion; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setInstanceType($instanceType) + { + $this->instanceType = $instanceType; + } + public function getInstanceType() + { + return $this->instanceType; + } + public function setIpAddresses($ipAddresses) + { + $this->ipAddresses = $ipAddresses; + } + public function getIpAddresses() + { + return $this->ipAddresses; + } + public function setIpv6Address($ipv6Address) + { + $this->ipv6Address = $ipv6Address; + } + public function getIpv6Address() + { + return $this->ipv6Address; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMasterInstanceName($masterInstanceName) + { + $this->masterInstanceName = $masterInstanceName; + } + public function getMasterInstanceName() + { + return $this->masterInstanceName; + } + public function setMaxDiskSize($maxDiskSize) + { + $this->maxDiskSize = $maxDiskSize; + } + public function getMaxDiskSize() + { + return $this->maxDiskSize; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOnPremisesConfiguration(Google_Service_SQLAdmin_OnPremisesConfiguration $onPremisesConfiguration) + { + $this->onPremisesConfiguration = $onPremisesConfiguration; + } + public function getOnPremisesConfiguration() + { + return $this->onPremisesConfiguration; + } + public function setProject($project) + { + $this->project = $project; + } + public function getProject() + { + return $this->project; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setReplicaConfiguration(Google_Service_SQLAdmin_ReplicaConfiguration $replicaConfiguration) + { + $this->replicaConfiguration = $replicaConfiguration; + } + public function getReplicaConfiguration() + { + return $this->replicaConfiguration; + } + public function setReplicaNames($replicaNames) + { + $this->replicaNames = $replicaNames; + } + public function getReplicaNames() + { + return $this->replicaNames; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setServerCaCert(Google_Service_SQLAdmin_SslCert $serverCaCert) + { + $this->serverCaCert = $serverCaCert; + } + public function getServerCaCert() + { + return $this->serverCaCert; + } + public function setServiceAccountEmailAddress($serviceAccountEmailAddress) + { + $this->serviceAccountEmailAddress = $serviceAccountEmailAddress; + } + public function getServiceAccountEmailAddress() + { + return $this->serviceAccountEmailAddress; + } + public function setSettings(Google_Service_SQLAdmin_Settings $settings) + { + $this->settings = $settings; + } + public function getSettings() + { + return $this->settings; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } +} + +class Google_Service_SQLAdmin_DatabasesListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_SQLAdmin_Database'; + protected $itemsDataType = 'array'; + public $kind; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_SQLAdmin_ExportContext extends Google_Collection +{ + protected $collection_key = 'databases'; + protected $internal_gapi_mappings = array( + ); + protected $csvExportOptionsType = 'Google_Service_SQLAdmin_ExportContextCsvExportOptions'; + protected $csvExportOptionsDataType = ''; + public $databases; + public $fileType; + public $kind; + protected $sqlExportOptionsType = 'Google_Service_SQLAdmin_ExportContextSqlExportOptions'; + protected $sqlExportOptionsDataType = ''; + public $uri; + + + public function setCsvExportOptions(Google_Service_SQLAdmin_ExportContextCsvExportOptions $csvExportOptions) + { + $this->csvExportOptions = $csvExportOptions; + } + public function getCsvExportOptions() + { + return $this->csvExportOptions; + } + public function setDatabases($databases) + { + $this->databases = $databases; + } + public function getDatabases() + { + return $this->databases; + } + public function setFileType($fileType) + { + $this->fileType = $fileType; + } + public function getFileType() + { + return $this->fileType; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSqlExportOptions(Google_Service_SQLAdmin_ExportContextSqlExportOptions $sqlExportOptions) + { + $this->sqlExportOptions = $sqlExportOptions; + } + public function getSqlExportOptions() + { + return $this->sqlExportOptions; + } + public function setUri($uri) + { + $this->uri = $uri; + } + public function getUri() + { + return $this->uri; + } +} + +class Google_Service_SQLAdmin_ExportContextCsvExportOptions extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $selectQuery; + + + public function setSelectQuery($selectQuery) + { + $this->selectQuery = $selectQuery; + } + public function getSelectQuery() + { + return $this->selectQuery; + } +} + +class Google_Service_SQLAdmin_ExportContextSqlExportOptions extends Google_Collection +{ + protected $collection_key = 'tables'; + protected $internal_gapi_mappings = array( + ); + public $schemaOnly; + public $tables; + + + public function setSchemaOnly($schemaOnly) + { + $this->schemaOnly = $schemaOnly; + } + public function getSchemaOnly() + { + return $this->schemaOnly; + } + public function setTables($tables) + { + $this->tables = $tables; + } + public function getTables() + { + return $this->tables; + } +} + +class Google_Service_SQLAdmin_FailoverContext extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + public $settingsVersion; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSettingsVersion($settingsVersion) + { + $this->settingsVersion = $settingsVersion; + } + public function getSettingsVersion() + { + return $this->settingsVersion; + } +} + +class Google_Service_SQLAdmin_Flag extends Google_Collection +{ + protected $collection_key = 'appliesTo'; + protected $internal_gapi_mappings = array( + ); + public $allowedStringValues; + public $appliesTo; + public $kind; + public $maxValue; + public $minValue; + public $name; + public $type; + + + public function setAllowedStringValues($allowedStringValues) + { + $this->allowedStringValues = $allowedStringValues; + } + public function getAllowedStringValues() + { + return $this->allowedStringValues; + } + public function setAppliesTo($appliesTo) + { + $this->appliesTo = $appliesTo; + } + public function getAppliesTo() + { + return $this->appliesTo; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMaxValue($maxValue) + { + $this->maxValue = $maxValue; + } + public function getMaxValue() + { + return $this->maxValue; + } + public function setMinValue($minValue) + { + $this->minValue = $minValue; + } + public function getMinValue() + { + return $this->minValue; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_SQLAdmin_FlagsListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_SQLAdmin_Flag'; + protected $itemsDataType = 'array'; + public $kind; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_SQLAdmin_ImportContext extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $csvImportOptionsType = 'Google_Service_SQLAdmin_ImportContextCsvImportOptions'; + protected $csvImportOptionsDataType = ''; + public $database; + public $fileType; + public $kind; + public $uri; + + + public function setCsvImportOptions(Google_Service_SQLAdmin_ImportContextCsvImportOptions $csvImportOptions) + { + $this->csvImportOptions = $csvImportOptions; + } + public function getCsvImportOptions() + { + return $this->csvImportOptions; + } + public function setDatabase($database) + { + $this->database = $database; + } + public function getDatabase() + { + return $this->database; + } + public function setFileType($fileType) + { + $this->fileType = $fileType; + } + public function getFileType() + { + return $this->fileType; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setUri($uri) + { + $this->uri = $uri; + } + public function getUri() + { + return $this->uri; + } +} + +class Google_Service_SQLAdmin_ImportContextCsvImportOptions extends Google_Collection +{ + protected $collection_key = 'columns'; + protected $internal_gapi_mappings = array( + ); + public $columns; + public $table; + + + public function setColumns($columns) + { + $this->columns = $columns; + } + public function getColumns() + { + return $this->columns; + } + public function setTable($table) + { + $this->table = $table; + } + public function getTable() + { + return $this->table; + } +} + +class Google_Service_SQLAdmin_InstancesCloneRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $cloneContextType = 'Google_Service_SQLAdmin_CloneContext'; + protected $cloneContextDataType = ''; + + + public function setCloneContext(Google_Service_SQLAdmin_CloneContext $cloneContext) + { + $this->cloneContext = $cloneContext; + } + public function getCloneContext() + { + return $this->cloneContext; + } +} + +class Google_Service_SQLAdmin_InstancesExportRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $exportContextType = 'Google_Service_SQLAdmin_ExportContext'; + protected $exportContextDataType = ''; + + + public function setExportContext(Google_Service_SQLAdmin_ExportContext $exportContext) + { + $this->exportContext = $exportContext; + } + public function getExportContext() + { + return $this->exportContext; + } +} + +class Google_Service_SQLAdmin_InstancesFailoverRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $failoverContextType = 'Google_Service_SQLAdmin_FailoverContext'; + protected $failoverContextDataType = ''; + + + public function setFailoverContext(Google_Service_SQLAdmin_FailoverContext $failoverContext) + { + $this->failoverContext = $failoverContext; + } + public function getFailoverContext() + { + return $this->failoverContext; + } +} + +class Google_Service_SQLAdmin_InstancesImportRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $importContextType = 'Google_Service_SQLAdmin_ImportContext'; + protected $importContextDataType = ''; + + + public function setImportContext(Google_Service_SQLAdmin_ImportContext $importContext) + { + $this->importContext = $importContext; + } + public function getImportContext() + { + return $this->importContext; + } +} + +class Google_Service_SQLAdmin_InstancesListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_SQLAdmin_DatabaseInstance'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_SQLAdmin_InstancesRestoreBackupRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $restoreBackupContextType = 'Google_Service_SQLAdmin_RestoreBackupContext'; + protected $restoreBackupContextDataType = ''; + + + public function setRestoreBackupContext(Google_Service_SQLAdmin_RestoreBackupContext $restoreBackupContext) + { + $this->restoreBackupContext = $restoreBackupContext; + } + public function getRestoreBackupContext() + { + return $this->restoreBackupContext; + } +} + +class Google_Service_SQLAdmin_IpConfiguration extends Google_Collection +{ + protected $collection_key = 'authorizedNetworks'; + protected $internal_gapi_mappings = array( + ); + protected $authorizedNetworksType = 'Google_Service_SQLAdmin_AclEntry'; + protected $authorizedNetworksDataType = 'array'; + public $ipv4Enabled; + public $requireSsl; + + + public function setAuthorizedNetworks($authorizedNetworks) + { + $this->authorizedNetworks = $authorizedNetworks; + } + public function getAuthorizedNetworks() + { + return $this->authorizedNetworks; + } + public function setIpv4Enabled($ipv4Enabled) + { + $this->ipv4Enabled = $ipv4Enabled; + } + public function getIpv4Enabled() + { + return $this->ipv4Enabled; + } + public function setRequireSsl($requireSsl) + { + $this->requireSsl = $requireSsl; + } + public function getRequireSsl() + { + return $this->requireSsl; + } +} + +class Google_Service_SQLAdmin_IpMapping extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $ipAddress; + public $timeToRetire; + + + public function setIpAddress($ipAddress) + { + $this->ipAddress = $ipAddress; + } + public function getIpAddress() + { + return $this->ipAddress; + } + public function setTimeToRetire($timeToRetire) + { + $this->timeToRetire = $timeToRetire; + } + public function getTimeToRetire() + { + return $this->timeToRetire; + } +} + +class Google_Service_SQLAdmin_LocationPreference extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $followGaeApplication; + public $kind; + public $zone; + + + public function setFollowGaeApplication($followGaeApplication) + { + $this->followGaeApplication = $followGaeApplication; + } + public function getFollowGaeApplication() + { + return $this->followGaeApplication; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setZone($zone) + { + $this->zone = $zone; + } + public function getZone() + { + return $this->zone; + } +} + +class Google_Service_SQLAdmin_MySqlReplicaConfiguration extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $caCertificate; + public $clientCertificate; + public $clientKey; + public $connectRetryInterval; + public $dumpFilePath; + public $kind; + public $masterHeartbeatPeriod; + public $password; + public $sslCipher; + public $username; + public $verifyServerCertificate; + + + public function setCaCertificate($caCertificate) + { + $this->caCertificate = $caCertificate; + } + public function getCaCertificate() + { + return $this->caCertificate; + } + public function setClientCertificate($clientCertificate) + { + $this->clientCertificate = $clientCertificate; + } + public function getClientCertificate() + { + return $this->clientCertificate; + } + public function setClientKey($clientKey) + { + $this->clientKey = $clientKey; + } + public function getClientKey() + { + return $this->clientKey; + } + public function setConnectRetryInterval($connectRetryInterval) + { + $this->connectRetryInterval = $connectRetryInterval; + } + public function getConnectRetryInterval() + { + return $this->connectRetryInterval; + } + public function setDumpFilePath($dumpFilePath) + { + $this->dumpFilePath = $dumpFilePath; + } + public function getDumpFilePath() + { + return $this->dumpFilePath; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMasterHeartbeatPeriod($masterHeartbeatPeriod) + { + $this->masterHeartbeatPeriod = $masterHeartbeatPeriod; + } + public function getMasterHeartbeatPeriod() + { + return $this->masterHeartbeatPeriod; + } + public function setPassword($password) + { + $this->password = $password; + } + public function getPassword() + { + return $this->password; + } + public function setSslCipher($sslCipher) + { + $this->sslCipher = $sslCipher; + } + public function getSslCipher() + { + return $this->sslCipher; + } + public function setUsername($username) + { + $this->username = $username; + } + public function getUsername() + { + return $this->username; + } + public function setVerifyServerCertificate($verifyServerCertificate) + { + $this->verifyServerCertificate = $verifyServerCertificate; + } + public function getVerifyServerCertificate() + { + return $this->verifyServerCertificate; + } +} + +class Google_Service_SQLAdmin_OnPremisesConfiguration extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $hostPort; + public $kind; + + + public function setHostPort($hostPort) + { + $this->hostPort = $hostPort; + } + public function getHostPort() + { + return $this->hostPort; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_SQLAdmin_Operation extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $endTime; + protected $errorType = 'Google_Service_SQLAdmin_OperationErrors'; + protected $errorDataType = ''; + protected $exportContextType = 'Google_Service_SQLAdmin_ExportContext'; + protected $exportContextDataType = ''; + protected $importContextType = 'Google_Service_SQLAdmin_ImportContext'; + protected $importContextDataType = ''; + public $insertTime; + public $kind; + public $name; + public $operationType; + public $selfLink; + public $startTime; + public $status; + public $targetId; + public $targetLink; + public $targetProject; + public $user; + + + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setError(Google_Service_SQLAdmin_OperationErrors $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setExportContext(Google_Service_SQLAdmin_ExportContext $exportContext) + { + $this->exportContext = $exportContext; + } + public function getExportContext() + { + return $this->exportContext; + } + public function setImportContext(Google_Service_SQLAdmin_ImportContext $importContext) + { + $this->importContext = $importContext; + } + public function getImportContext() + { + return $this->importContext; + } + public function setInsertTime($insertTime) + { + $this->insertTime = $insertTime; + } + public function getInsertTime() + { + return $this->insertTime; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOperationType($operationType) + { + $this->operationType = $operationType; + } + public function getOperationType() + { + return $this->operationType; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setTargetId($targetId) + { + $this->targetId = $targetId; + } + public function getTargetId() + { + return $this->targetId; + } + public function setTargetLink($targetLink) + { + $this->targetLink = $targetLink; + } + public function getTargetLink() + { + return $this->targetLink; + } + public function setTargetProject($targetProject) + { + $this->targetProject = $targetProject; + } + public function getTargetProject() + { + return $this->targetProject; + } + public function setUser($user) + { + $this->user = $user; + } + public function getUser() + { + return $this->user; + } +} + +class Google_Service_SQLAdmin_OperationError extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $code; + public $kind; + public $message; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_SQLAdmin_OperationErrors extends Google_Collection +{ + protected $collection_key = 'errors'; + protected $internal_gapi_mappings = array( + ); + protected $errorsType = 'Google_Service_SQLAdmin_OperationError'; + protected $errorsDataType = 'array'; + public $kind; + + + public function setErrors($errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_SQLAdmin_OperationsListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_SQLAdmin_Operation'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_SQLAdmin_ReplicaConfiguration extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $failoverTarget; + public $kind; + protected $mysqlReplicaConfigurationType = 'Google_Service_SQLAdmin_MySqlReplicaConfiguration'; + protected $mysqlReplicaConfigurationDataType = ''; + + + public function setFailoverTarget($failoverTarget) + { + $this->failoverTarget = $failoverTarget; + } + public function getFailoverTarget() + { + return $this->failoverTarget; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMysqlReplicaConfiguration(Google_Service_SQLAdmin_MySqlReplicaConfiguration $mysqlReplicaConfiguration) + { + $this->mysqlReplicaConfiguration = $mysqlReplicaConfiguration; + } + public function getMysqlReplicaConfiguration() + { + return $this->mysqlReplicaConfiguration; + } +} + +class Google_Service_SQLAdmin_RestoreBackupContext extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $backupRunId; + public $instanceId; + public $kind; + + + public function setBackupRunId($backupRunId) + { + $this->backupRunId = $backupRunId; + } + public function getBackupRunId() + { + return $this->backupRunId; + } + public function setInstanceId($instanceId) + { + $this->instanceId = $instanceId; + } + public function getInstanceId() + { + return $this->instanceId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_SQLAdmin_Settings extends Google_Collection +{ + protected $collection_key = 'databaseFlags'; + protected $internal_gapi_mappings = array( + ); + public $activationPolicy; + public $authorizedGaeApplications; + protected $backupConfigurationType = 'Google_Service_SQLAdmin_BackupConfiguration'; + protected $backupConfigurationDataType = ''; + public $crashSafeReplicationEnabled; + protected $databaseFlagsType = 'Google_Service_SQLAdmin_DatabaseFlags'; + protected $databaseFlagsDataType = 'array'; + public $databaseReplicationEnabled; + protected $ipConfigurationType = 'Google_Service_SQLAdmin_IpConfiguration'; + protected $ipConfigurationDataType = ''; + public $kind; + protected $locationPreferenceType = 'Google_Service_SQLAdmin_LocationPreference'; + protected $locationPreferenceDataType = ''; + public $pricingPlan; + public $replicationType; + public $settingsVersion; + public $tier; + + + public function setActivationPolicy($activationPolicy) + { + $this->activationPolicy = $activationPolicy; + } + public function getActivationPolicy() + { + return $this->activationPolicy; + } + public function setAuthorizedGaeApplications($authorizedGaeApplications) + { + $this->authorizedGaeApplications = $authorizedGaeApplications; + } + public function getAuthorizedGaeApplications() + { + return $this->authorizedGaeApplications; + } + public function setBackupConfiguration(Google_Service_SQLAdmin_BackupConfiguration $backupConfiguration) + { + $this->backupConfiguration = $backupConfiguration; + } + public function getBackupConfiguration() + { + return $this->backupConfiguration; + } + public function setCrashSafeReplicationEnabled($crashSafeReplicationEnabled) + { + $this->crashSafeReplicationEnabled = $crashSafeReplicationEnabled; + } + public function getCrashSafeReplicationEnabled() + { + return $this->crashSafeReplicationEnabled; + } + public function setDatabaseFlags($databaseFlags) + { + $this->databaseFlags = $databaseFlags; + } + public function getDatabaseFlags() + { + return $this->databaseFlags; + } + public function setDatabaseReplicationEnabled($databaseReplicationEnabled) + { + $this->databaseReplicationEnabled = $databaseReplicationEnabled; + } + public function getDatabaseReplicationEnabled() + { + return $this->databaseReplicationEnabled; + } + public function setIpConfiguration(Google_Service_SQLAdmin_IpConfiguration $ipConfiguration) + { + $this->ipConfiguration = $ipConfiguration; + } + public function getIpConfiguration() + { + return $this->ipConfiguration; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLocationPreference(Google_Service_SQLAdmin_LocationPreference $locationPreference) + { + $this->locationPreference = $locationPreference; + } + public function getLocationPreference() + { + return $this->locationPreference; + } + public function setPricingPlan($pricingPlan) + { + $this->pricingPlan = $pricingPlan; + } + public function getPricingPlan() + { + return $this->pricingPlan; + } + public function setReplicationType($replicationType) + { + $this->replicationType = $replicationType; + } + public function getReplicationType() + { + return $this->replicationType; + } + public function setSettingsVersion($settingsVersion) + { + $this->settingsVersion = $settingsVersion; + } + public function getSettingsVersion() + { + return $this->settingsVersion; + } + public function setTier($tier) + { + $this->tier = $tier; + } + public function getTier() + { + return $this->tier; + } +} + +class Google_Service_SQLAdmin_SslCert extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $cert; + public $certSerialNumber; + public $commonName; + public $createTime; + public $expirationTime; + public $instance; + public $kind; + public $selfLink; + public $sha1Fingerprint; + + + public function setCert($cert) + { + $this->cert = $cert; + } + public function getCert() + { + return $this->cert; + } + public function setCertSerialNumber($certSerialNumber) + { + $this->certSerialNumber = $certSerialNumber; + } + public function getCertSerialNumber() + { + return $this->certSerialNumber; + } + public function setCommonName($commonName) + { + $this->commonName = $commonName; + } + public function getCommonName() + { + return $this->commonName; + } + public function setCreateTime($createTime) + { + $this->createTime = $createTime; + } + public function getCreateTime() + { + return $this->createTime; + } + public function setExpirationTime($expirationTime) + { + $this->expirationTime = $expirationTime; + } + public function getExpirationTime() + { + return $this->expirationTime; + } + public function setInstance($instance) + { + $this->instance = $instance; + } + public function getInstance() + { + return $this->instance; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setSha1Fingerprint($sha1Fingerprint) + { + $this->sha1Fingerprint = $sha1Fingerprint; + } + public function getSha1Fingerprint() + { + return $this->sha1Fingerprint; + } +} + +class Google_Service_SQLAdmin_SslCertDetail extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $certInfoType = 'Google_Service_SQLAdmin_SslCert'; + protected $certInfoDataType = ''; + public $certPrivateKey; + + + public function setCertInfo(Google_Service_SQLAdmin_SslCert $certInfo) + { + $this->certInfo = $certInfo; + } + public function getCertInfo() + { + return $this->certInfo; + } + public function setCertPrivateKey($certPrivateKey) + { + $this->certPrivateKey = $certPrivateKey; + } + public function getCertPrivateKey() + { + return $this->certPrivateKey; + } +} + +class Google_Service_SQLAdmin_SslCertsCreateEphemeralRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + "publicKey" => "public_key", + ); + public $publicKey; + + + public function setPublicKey($publicKey) + { + $this->publicKey = $publicKey; + } + public function getPublicKey() + { + return $this->publicKey; + } +} + +class Google_Service_SQLAdmin_SslCertsInsertRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $commonName; + + + public function setCommonName($commonName) + { + $this->commonName = $commonName; + } + public function getCommonName() + { + return $this->commonName; + } +} + +class Google_Service_SQLAdmin_SslCertsInsertResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $clientCertType = 'Google_Service_SQLAdmin_SslCertDetail'; + protected $clientCertDataType = ''; + public $kind; + protected $serverCaCertType = 'Google_Service_SQLAdmin_SslCert'; + protected $serverCaCertDataType = ''; + + + public function setClientCert(Google_Service_SQLAdmin_SslCertDetail $clientCert) + { + $this->clientCert = $clientCert; + } + public function getClientCert() + { + return $this->clientCert; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setServerCaCert(Google_Service_SQLAdmin_SslCert $serverCaCert) + { + $this->serverCaCert = $serverCaCert; + } + public function getServerCaCert() + { + return $this->serverCaCert; + } +} + +class Google_Service_SQLAdmin_SslCertsListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_SQLAdmin_SslCert'; + protected $itemsDataType = 'array'; + public $kind; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_SQLAdmin_Tier extends Google_Collection +{ + protected $collection_key = 'region'; + protected $internal_gapi_mappings = array( + "diskQuota" => "DiskQuota", + "rAM" => "RAM", + ); + public $diskQuota; + public $rAM; + public $kind; + public $region; + public $tier; + + + public function setDiskQuota($diskQuota) + { + $this->diskQuota = $diskQuota; + } + public function getDiskQuota() + { + return $this->diskQuota; + } + public function setRAM($rAM) + { + $this->rAM = $rAM; + } + public function getRAM() + { + return $this->rAM; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setTier($tier) + { + $this->tier = $tier; + } + public function getTier() + { + return $this->tier; + } +} + +class Google_Service_SQLAdmin_TiersListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_SQLAdmin_Tier'; + protected $itemsDataType = 'array'; + public $kind; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_SQLAdmin_User extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $etag; + public $host; + public $instance; + public $kind; + public $name; + public $password; + public $project; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setHost($host) + { + $this->host = $host; + } + public function getHost() + { + return $this->host; + } + public function setInstance($instance) + { + $this->instance = $instance; + } + public function getInstance() + { + return $this->instance; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPassword($password) + { + $this->password = $password; + } + public function getPassword() + { + return $this->password; + } + public function setProject($project) + { + $this->project = $project; + } + public function getProject() + { + return $this->project; + } +} + +class Google_Service_SQLAdmin_UsersListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_SQLAdmin_User'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Script.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Script.php new file mode 100644 index 0000000..43ddcaa --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Script.php @@ -0,0 +1,368 @@ + + * An API for executing Google Apps Script projects.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Script extends Google_Service +{ + /** View and manage your mail. */ + const MAIL_GOOGLE_COM = + "https://mail.google.com/"; + /** Manage your calendars. */ + const WWW_GOOGLE_COM_CALENDAR_FEEDS = + "https://www.google.com/calendar/feeds"; + /** Manage your contacts. */ + const WWW_GOOGLE_COM_M8_FEEDS = + "https://www.google.com/m8/feeds"; + /** View and manage the provisioning of groups on your domain. */ + const ADMIN_DIRECTORY_GROUP = + "https://www.googleapis.com/auth/admin.directory.group"; + /** View and manage the provisioning of users on your domain. */ + const ADMIN_DIRECTORY_USER = + "https://www.googleapis.com/auth/admin.directory.user"; + /** View and manage the files in your Google Drive. */ + const DRIVE = + "https://www.googleapis.com/auth/drive"; + /** View and manage your forms in Google Drive. */ + const FORMS = + "https://www.googleapis.com/auth/forms"; + /** View and manage forms that this application has been installed in. */ + const FORMS_CURRENTONLY = + "https://www.googleapis.com/auth/forms.currentonly"; + /** View and manage your Google Groups. */ + const GROUPS = + "https://www.googleapis.com/auth/groups"; + /** View your email address. */ + const USERINFO_EMAIL = + "https://www.googleapis.com/auth/userinfo.email"; + + public $scripts; + + + /** + * Constructs the internal representation of the Script service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://script.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'script'; + + $this->scripts = new Google_Service_Script_Scripts_Resource( + $this, + $this->serviceName, + 'scripts', + array( + 'methods' => array( + 'run' => array( + 'path' => 'v1/scripts/{scriptId}:run', + 'httpMethod' => 'POST', + 'parameters' => array( + 'scriptId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "scripts" collection of methods. + * Typical usage is: + * + * $scriptService = new Google_Service_Script(...); + * $scripts = $scriptService->scripts; + * + */ +class Google_Service_Script_Scripts_Resource extends Google_Service_Resource +{ + + /** + * Runs a function in an Apps Script project that has been deployed for use with + * the Apps Script Execution API. This method requires authorization with an + * OAuth 2.0 token that includes at least one of the scopes listed in the + * [Authentication](#authentication) section; script projects that do not + * require authorization cannot be executed through this API. To find the + * correct scopes to include in the authentication token, open the project in + * the script editor, then select **File > Project properties** and click the + * **Scopes** tab. (scripts.run) + * + * @param string $scriptId The project key of the script to be executed. To find + * the project key, open the project in the script editor, then select **File > + * Project properties**. + * @param Google_ExecutionRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Script_Operation + */ + public function run($scriptId, Google_Service_Script_ExecutionRequest $postBody, $optParams = array()) + { + $params = array('scriptId' => $scriptId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('run', array($params), "Google_Service_Script_Operation"); + } +} + + + + +class Google_Service_Script_ExecutionError extends Google_Collection +{ + protected $collection_key = 'scriptStackTraceElements'; + protected $internal_gapi_mappings = array( + ); + public $errorMessage; + public $errorType; + protected $scriptStackTraceElementsType = 'Google_Service_Script_ScriptStackTraceElement'; + protected $scriptStackTraceElementsDataType = 'array'; + + + public function setErrorMessage($errorMessage) + { + $this->errorMessage = $errorMessage; + } + public function getErrorMessage() + { + return $this->errorMessage; + } + public function setErrorType($errorType) + { + $this->errorType = $errorType; + } + public function getErrorType() + { + return $this->errorType; + } + public function setScriptStackTraceElements($scriptStackTraceElements) + { + $this->scriptStackTraceElements = $scriptStackTraceElements; + } + public function getScriptStackTraceElements() + { + return $this->scriptStackTraceElements; + } +} + +class Google_Service_Script_ExecutionRequest extends Google_Collection +{ + protected $collection_key = 'parameters'; + protected $internal_gapi_mappings = array( + ); + public $devMode; + public $function; + public $parameters; + public $sessionState; + + + public function setDevMode($devMode) + { + $this->devMode = $devMode; + } + public function getDevMode() + { + return $this->devMode; + } + public function setFunction($function) + { + $this->function = $function; + } + public function getFunction() + { + return $this->function; + } + public function setParameters($parameters) + { + $this->parameters = $parameters; + } + public function getParameters() + { + return $this->parameters; + } + public function setSessionState($sessionState) + { + $this->sessionState = $sessionState; + } + public function getSessionState() + { + return $this->sessionState; + } +} + +class Google_Service_Script_ExecutionResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $result; + + + public function setResult($result) + { + $this->result = $result; + } + public function getResult() + { + return $this->result; + } +} + +class Google_Service_Script_Operation extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $done; + protected $errorType = 'Google_Service_Script_Status'; + protected $errorDataType = ''; + public $metadata; + public $name; + public $response; + + + public function setDone($done) + { + $this->done = $done; + } + public function getDone() + { + return $this->done; + } + public function setError(Google_Service_Script_Status $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setMetadata($metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setResponse($response) + { + $this->response = $response; + } + public function getResponse() + { + return $this->response; + } +} + +class Google_Service_Script_OperationMetadata extends Google_Model +{ +} + +class Google_Service_Script_OperationResponse extends Google_Model +{ +} + +class Google_Service_Script_ScriptStackTraceElement extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $function; + public $lineNumber; + + + public function setFunction($function) + { + $this->function = $function; + } + public function getFunction() + { + return $this->function; + } + public function setLineNumber($lineNumber) + { + $this->lineNumber = $lineNumber; + } + public function getLineNumber() + { + return $this->lineNumber; + } +} + +class Google_Service_Script_Status extends Google_Collection +{ + protected $collection_key = 'details'; + protected $internal_gapi_mappings = array( + ); + public $code; + public $details; + public $message; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setDetails($details) + { + $this->details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_Script_StatusDetails extends Google_Model +{ +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/ShoppingContent.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/ShoppingContent.php new file mode 100644 index 0000000..1930011 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/ShoppingContent.php @@ -0,0 +1,9176 @@ + + * Manage product items, inventory, and Merchant Center accounts for Google + * Shopping.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_ShoppingContent extends Google_Service +{ + /** Manage your product listings and accounts for Google Shopping. */ + const CONTENT = + "https://www.googleapis.com/auth/content"; + + public $accounts; + public $accountshipping; + public $accountstatuses; + public $accounttax; + public $datafeeds; + public $datafeedstatuses; + public $inventory; + public $orders; + public $products; + public $productstatuses; + + + /** + * Constructs the internal representation of the ShoppingContent service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'content/v2/'; + $this->version = 'v2'; + $this->serviceName = 'content'; + + $this->accounts = new Google_Service_ShoppingContent_Accounts_Resource( + $this, + $this->serviceName, + 'accounts', + array( + 'methods' => array( + 'authinfo' => array( + 'path' => 'accounts/authinfo', + 'httpMethod' => 'GET', + 'parameters' => array(), + ),'custombatch' => array( + 'path' => 'accounts/batch', + 'httpMethod' => 'POST', + 'parameters' => array( + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'delete' => array( + 'path' => '{merchantId}/accounts/{accountId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'get' => array( + 'path' => '{merchantId}/accounts/{accountId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{merchantId}/accounts', + 'httpMethod' => 'POST', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'list' => array( + 'path' => '{merchantId}/accounts', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => '{merchantId}/accounts/{accountId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'update' => array( + 'path' => '{merchantId}/accounts/{accountId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->accountshipping = new Google_Service_ShoppingContent_Accountshipping_Resource( + $this, + $this->serviceName, + 'accountshipping', + array( + 'methods' => array( + 'custombatch' => array( + 'path' => 'accountshipping/batch', + 'httpMethod' => 'POST', + 'parameters' => array( + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'get' => array( + 'path' => '{merchantId}/accountshipping/{accountId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{merchantId}/accountshipping', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => '{merchantId}/accountshipping/{accountId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'update' => array( + 'path' => '{merchantId}/accountshipping/{accountId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->accountstatuses = new Google_Service_ShoppingContent_Accountstatuses_Resource( + $this, + $this->serviceName, + 'accountstatuses', + array( + 'methods' => array( + 'custombatch' => array( + 'path' => 'accountstatuses/batch', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'get' => array( + 'path' => '{merchantId}/accountstatuses/{accountId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{merchantId}/accountstatuses', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->accounttax = new Google_Service_ShoppingContent_Accounttax_Resource( + $this, + $this->serviceName, + 'accounttax', + array( + 'methods' => array( + 'custombatch' => array( + 'path' => 'accounttax/batch', + 'httpMethod' => 'POST', + 'parameters' => array( + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'get' => array( + 'path' => '{merchantId}/accounttax/{accountId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{merchantId}/accounttax', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => '{merchantId}/accounttax/{accountId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'update' => array( + 'path' => '{merchantId}/accounttax/{accountId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->datafeeds = new Google_Service_ShoppingContent_Datafeeds_Resource( + $this, + $this->serviceName, + 'datafeeds', + array( + 'methods' => array( + 'custombatch' => array( + 'path' => 'datafeeds/batch', + 'httpMethod' => 'POST', + 'parameters' => array( + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'delete' => array( + 'path' => '{merchantId}/datafeeds/{datafeedId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datafeedId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'get' => array( + 'path' => '{merchantId}/datafeeds/{datafeedId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datafeedId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{merchantId}/datafeeds', + 'httpMethod' => 'POST', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'list' => array( + 'path' => '{merchantId}/datafeeds', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => '{merchantId}/datafeeds/{datafeedId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datafeedId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'update' => array( + 'path' => '{merchantId}/datafeeds/{datafeedId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datafeedId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->datafeedstatuses = new Google_Service_ShoppingContent_Datafeedstatuses_Resource( + $this, + $this->serviceName, + 'datafeedstatuses', + array( + 'methods' => array( + 'custombatch' => array( + 'path' => 'datafeedstatuses/batch', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'get' => array( + 'path' => '{merchantId}/datafeedstatuses/{datafeedId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datafeedId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{merchantId}/datafeedstatuses', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->inventory = new Google_Service_ShoppingContent_Inventory_Resource( + $this, + $this->serviceName, + 'inventory', + array( + 'methods' => array( + 'custombatch' => array( + 'path' => 'inventory/batch', + 'httpMethod' => 'POST', + 'parameters' => array( + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'set' => array( + 'path' => '{merchantId}/inventory/{storeCode}/products/{productId}', + 'httpMethod' => 'POST', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'storeCode' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->orders = new Google_Service_ShoppingContent_Orders_Resource( + $this, + $this->serviceName, + 'orders', + array( + 'methods' => array( + 'acknowledge' => array( + 'path' => '{merchantId}/orders/{orderId}/acknowledge', + 'httpMethod' => 'POST', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'advancetestorder' => array( + 'path' => '{merchantId}/testorders/{orderId}/advance', + 'httpMethod' => 'POST', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'cancel' => array( + 'path' => '{merchantId}/orders/{orderId}/cancel', + 'httpMethod' => 'POST', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'cancellineitem' => array( + 'path' => '{merchantId}/orders/{orderId}/cancelLineItem', + 'httpMethod' => 'POST', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'createtestorder' => array( + 'path' => '{merchantId}/testorders', + 'httpMethod' => 'POST', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'custombatch' => array( + 'path' => 'orders/batch', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'get' => array( + 'path' => '{merchantId}/orders/{orderId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getbymerchantorderid' => array( + 'path' => '{merchantId}/ordersbymerchantid/{merchantOrderId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'merchantOrderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'gettestordertemplate' => array( + 'path' => '{merchantId}/testordertemplates/{templateName}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'templateName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{merchantId}/orders', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'placedDateEnd' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'acknowledged' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'placedDateStart' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'statuses' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ),'refund' => array( + 'path' => '{merchantId}/orders/{orderId}/refund', + 'httpMethod' => 'POST', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'returnlineitem' => array( + 'path' => '{merchantId}/orders/{orderId}/returnLineItem', + 'httpMethod' => 'POST', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'shiplineitems' => array( + 'path' => '{merchantId}/orders/{orderId}/shipLineItems', + 'httpMethod' => 'POST', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'updatemerchantorderid' => array( + 'path' => '{merchantId}/orders/{orderId}/updateMerchantOrderId', + 'httpMethod' => 'POST', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'updateshipment' => array( + 'path' => '{merchantId}/orders/{orderId}/updateShipment', + 'httpMethod' => 'POST', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'orderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->products = new Google_Service_ShoppingContent_Products_Resource( + $this, + $this->serviceName, + 'products', + array( + 'methods' => array( + 'custombatch' => array( + 'path' => 'products/batch', + 'httpMethod' => 'POST', + 'parameters' => array( + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'delete' => array( + 'path' => '{merchantId}/products/{productId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'get' => array( + 'path' => '{merchantId}/products/{productId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{merchantId}/products', + 'httpMethod' => 'POST', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'list' => array( + 'path' => '{merchantId}/products', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->productstatuses = new Google_Service_ShoppingContent_Productstatuses_Resource( + $this, + $this->serviceName, + 'productstatuses', + array( + 'methods' => array( + 'custombatch' => array( + 'path' => 'productstatuses/batch', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'get' => array( + 'path' => '{merchantId}/productstatuses/{productId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{merchantId}/productstatuses', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "accounts" collection of methods. + * Typical usage is: + * + * $contentService = new Google_Service_ShoppingContent(...); + * $accounts = $contentService->accounts; + * + */ +class Google_Service_ShoppingContent_Accounts_Resource extends Google_Service_Resource +{ + + /** + * Returns information about the authenticated user. (accounts.authinfo) + * + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_AccountsAuthInfoResponse + */ + public function authinfo($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('authinfo', array($params), "Google_Service_ShoppingContent_AccountsAuthInfoResponse"); + } + + /** + * Retrieves, inserts, updates, and deletes multiple Merchant Center + * (sub-)accounts in a single request. (accounts.custombatch) + * + * @param Google_AccountsCustomBatchRequest $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool dryRun Flag to run the request in dry-run mode. + * @return Google_Service_ShoppingContent_AccountsCustomBatchResponse + */ + public function custombatch(Google_Service_ShoppingContent_AccountsCustomBatchRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_AccountsCustomBatchResponse"); + } + + /** + * Deletes a Merchant Center sub-account. (accounts.delete) + * + * @param string $merchantId The ID of the managing account. + * @param string $accountId The ID of the account. + * @param array $optParams Optional parameters. + * + * @opt_param bool dryRun Flag to run the request in dry-run mode. + */ + public function delete($merchantId, $accountId, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Retrieves a Merchant Center account. (accounts.get) + * + * @param string $merchantId The ID of the managing account. + * @param string $accountId The ID of the account. + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_Account + */ + public function get($merchantId, $accountId, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_ShoppingContent_Account"); + } + + /** + * Creates a Merchant Center sub-account. (accounts.insert) + * + * @param string $merchantId The ID of the managing account. + * @param Google_Account $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool dryRun Flag to run the request in dry-run mode. + * @return Google_Service_ShoppingContent_Account + */ + public function insert($merchantId, Google_Service_ShoppingContent_Account $postBody, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_ShoppingContent_Account"); + } + + /** + * Lists the sub-accounts in your Merchant Center account. + * (accounts.listAccounts) + * + * @param string $merchantId The ID of the managing account. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The token returned by the previous request. + * @opt_param string maxResults The maximum number of accounts to return in the + * response, used for paging. + * @return Google_Service_ShoppingContent_AccountsListResponse + */ + public function listAccounts($merchantId, $optParams = array()) + { + $params = array('merchantId' => $merchantId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_ShoppingContent_AccountsListResponse"); + } + + /** + * Updates a Merchant Center account. This method supports patch semantics. + * (accounts.patch) + * + * @param string $merchantId The ID of the managing account. + * @param string $accountId The ID of the account. + * @param Google_Account $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool dryRun Flag to run the request in dry-run mode. + * @return Google_Service_ShoppingContent_Account + */ + public function patch($merchantId, $accountId, Google_Service_ShoppingContent_Account $postBody, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_ShoppingContent_Account"); + } + + /** + * Updates a Merchant Center account. (accounts.update) + * + * @param string $merchantId The ID of the managing account. + * @param string $accountId The ID of the account. + * @param Google_Account $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool dryRun Flag to run the request in dry-run mode. + * @return Google_Service_ShoppingContent_Account + */ + public function update($merchantId, $accountId, Google_Service_ShoppingContent_Account $postBody, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_ShoppingContent_Account"); + } +} + +/** + * The "accountshipping" collection of methods. + * Typical usage is: + * + * $contentService = new Google_Service_ShoppingContent(...); + * $accountshipping = $contentService->accountshipping; + * + */ +class Google_Service_ShoppingContent_Accountshipping_Resource extends Google_Service_Resource +{ + + /** + * Retrieves and updates the shipping settings of multiple accounts in a single + * request. (accountshipping.custombatch) + * + * @param Google_AccountshippingCustomBatchRequest $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool dryRun Flag to run the request in dry-run mode. + * @return Google_Service_ShoppingContent_AccountshippingCustomBatchResponse + */ + public function custombatch(Google_Service_ShoppingContent_AccountshippingCustomBatchRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_AccountshippingCustomBatchResponse"); + } + + /** + * Retrieves the shipping settings of the account. (accountshipping.get) + * + * @param string $merchantId The ID of the managing account. + * @param string $accountId The ID of the account for which to get/update + * account shipping settings. + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_AccountShipping + */ + public function get($merchantId, $accountId, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_ShoppingContent_AccountShipping"); + } + + /** + * Lists the shipping settings of the sub-accounts in your Merchant Center + * account. (accountshipping.listAccountshipping) + * + * @param string $merchantId The ID of the managing account. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The token returned by the previous request. + * @opt_param string maxResults The maximum number of shipping settings to + * return in the response, used for paging. + * @return Google_Service_ShoppingContent_AccountshippingListResponse + */ + public function listAccountshipping($merchantId, $optParams = array()) + { + $params = array('merchantId' => $merchantId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_ShoppingContent_AccountshippingListResponse"); + } + + /** + * Updates the shipping settings of the account. This method supports patch + * semantics. (accountshipping.patch) + * + * @param string $merchantId The ID of the managing account. + * @param string $accountId The ID of the account for which to get/update + * account shipping settings. + * @param Google_AccountShipping $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool dryRun Flag to run the request in dry-run mode. + * @return Google_Service_ShoppingContent_AccountShipping + */ + public function patch($merchantId, $accountId, Google_Service_ShoppingContent_AccountShipping $postBody, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_ShoppingContent_AccountShipping"); + } + + /** + * Updates the shipping settings of the account. (accountshipping.update) + * + * @param string $merchantId The ID of the managing account. + * @param string $accountId The ID of the account for which to get/update + * account shipping settings. + * @param Google_AccountShipping $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool dryRun Flag to run the request in dry-run mode. + * @return Google_Service_ShoppingContent_AccountShipping + */ + public function update($merchantId, $accountId, Google_Service_ShoppingContent_AccountShipping $postBody, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_ShoppingContent_AccountShipping"); + } +} + +/** + * The "accountstatuses" collection of methods. + * Typical usage is: + * + * $contentService = new Google_Service_ShoppingContent(...); + * $accountstatuses = $contentService->accountstatuses; + * + */ +class Google_Service_ShoppingContent_Accountstatuses_Resource extends Google_Service_Resource +{ + + /** + * (accountstatuses.custombatch) + * + * @param Google_AccountstatusesCustomBatchRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_AccountstatusesCustomBatchResponse + */ + public function custombatch(Google_Service_ShoppingContent_AccountstatusesCustomBatchRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_AccountstatusesCustomBatchResponse"); + } + + /** + * Retrieves the status of a Merchant Center account. (accountstatuses.get) + * + * @param string $merchantId The ID of the managing account. + * @param string $accountId The ID of the account. + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_AccountStatus + */ + public function get($merchantId, $accountId, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_ShoppingContent_AccountStatus"); + } + + /** + * Lists the statuses of the sub-accounts in your Merchant Center account. + * (accountstatuses.listAccountstatuses) + * + * @param string $merchantId The ID of the managing account. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The token returned by the previous request. + * @opt_param string maxResults The maximum number of account statuses to return + * in the response, used for paging. + * @return Google_Service_ShoppingContent_AccountstatusesListResponse + */ + public function listAccountstatuses($merchantId, $optParams = array()) + { + $params = array('merchantId' => $merchantId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_ShoppingContent_AccountstatusesListResponse"); + } +} + +/** + * The "accounttax" collection of methods. + * Typical usage is: + * + * $contentService = new Google_Service_ShoppingContent(...); + * $accounttax = $contentService->accounttax; + * + */ +class Google_Service_ShoppingContent_Accounttax_Resource extends Google_Service_Resource +{ + + /** + * Retrieves and updates tax settings of multiple accounts in a single request. + * (accounttax.custombatch) + * + * @param Google_AccounttaxCustomBatchRequest $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool dryRun Flag to run the request in dry-run mode. + * @return Google_Service_ShoppingContent_AccounttaxCustomBatchResponse + */ + public function custombatch(Google_Service_ShoppingContent_AccounttaxCustomBatchRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_AccounttaxCustomBatchResponse"); + } + + /** + * Retrieves the tax settings of the account. (accounttax.get) + * + * @param string $merchantId The ID of the managing account. + * @param string $accountId The ID of the account for which to get/update + * account tax settings. + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_AccountTax + */ + public function get($merchantId, $accountId, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_ShoppingContent_AccountTax"); + } + + /** + * Lists the tax settings of the sub-accounts in your Merchant Center account. + * (accounttax.listAccounttax) + * + * @param string $merchantId The ID of the managing account. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The token returned by the previous request. + * @opt_param string maxResults The maximum number of tax settings to return in + * the response, used for paging. + * @return Google_Service_ShoppingContent_AccounttaxListResponse + */ + public function listAccounttax($merchantId, $optParams = array()) + { + $params = array('merchantId' => $merchantId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_ShoppingContent_AccounttaxListResponse"); + } + + /** + * Updates the tax settings of the account. This method supports patch + * semantics. (accounttax.patch) + * + * @param string $merchantId The ID of the managing account. + * @param string $accountId The ID of the account for which to get/update + * account tax settings. + * @param Google_AccountTax $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool dryRun Flag to run the request in dry-run mode. + * @return Google_Service_ShoppingContent_AccountTax + */ + public function patch($merchantId, $accountId, Google_Service_ShoppingContent_AccountTax $postBody, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_ShoppingContent_AccountTax"); + } + + /** + * Updates the tax settings of the account. (accounttax.update) + * + * @param string $merchantId The ID of the managing account. + * @param string $accountId The ID of the account for which to get/update + * account tax settings. + * @param Google_AccountTax $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool dryRun Flag to run the request in dry-run mode. + * @return Google_Service_ShoppingContent_AccountTax + */ + public function update($merchantId, $accountId, Google_Service_ShoppingContent_AccountTax $postBody, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_ShoppingContent_AccountTax"); + } +} + +/** + * The "datafeeds" collection of methods. + * Typical usage is: + * + * $contentService = new Google_Service_ShoppingContent(...); + * $datafeeds = $contentService->datafeeds; + * + */ +class Google_Service_ShoppingContent_Datafeeds_Resource extends Google_Service_Resource +{ + + /** + * (datafeeds.custombatch) + * + * @param Google_DatafeedsCustomBatchRequest $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool dryRun Flag to run the request in dry-run mode. + * @return Google_Service_ShoppingContent_DatafeedsCustomBatchResponse + */ + public function custombatch(Google_Service_ShoppingContent_DatafeedsCustomBatchRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_DatafeedsCustomBatchResponse"); + } + + /** + * Deletes a datafeed from your Merchant Center account. (datafeeds.delete) + * + * @param string $merchantId + * @param string $datafeedId + * @param array $optParams Optional parameters. + * + * @opt_param bool dryRun Flag to run the request in dry-run mode. + */ + public function delete($merchantId, $datafeedId, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Retrieves a datafeed from your Merchant Center account. (datafeeds.get) + * + * @param string $merchantId + * @param string $datafeedId + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_Datafeed + */ + public function get($merchantId, $datafeedId, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_ShoppingContent_Datafeed"); + } + + /** + * Registers a datafeed with your Merchant Center account. (datafeeds.insert) + * + * @param string $merchantId + * @param Google_Datafeed $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool dryRun Flag to run the request in dry-run mode. + * @return Google_Service_ShoppingContent_Datafeed + */ + public function insert($merchantId, Google_Service_ShoppingContent_Datafeed $postBody, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_ShoppingContent_Datafeed"); + } + + /** + * Lists the datafeeds in your Merchant Center account. + * (datafeeds.listDatafeeds) + * + * @param string $merchantId The ID of the managing account. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The token returned by the previous request. + * @opt_param string maxResults The maximum number of products to return in the + * response, used for paging. + * @return Google_Service_ShoppingContent_DatafeedsListResponse + */ + public function listDatafeeds($merchantId, $optParams = array()) + { + $params = array('merchantId' => $merchantId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_ShoppingContent_DatafeedsListResponse"); + } + + /** + * Updates a datafeed of your Merchant Center account. This method supports + * patch semantics. (datafeeds.patch) + * + * @param string $merchantId + * @param string $datafeedId + * @param Google_Datafeed $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool dryRun Flag to run the request in dry-run mode. + * @return Google_Service_ShoppingContent_Datafeed + */ + public function patch($merchantId, $datafeedId, Google_Service_ShoppingContent_Datafeed $postBody, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_ShoppingContent_Datafeed"); + } + + /** + * Updates a datafeed of your Merchant Center account. (datafeeds.update) + * + * @param string $merchantId + * @param string $datafeedId + * @param Google_Datafeed $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool dryRun Flag to run the request in dry-run mode. + * @return Google_Service_ShoppingContent_Datafeed + */ + public function update($merchantId, $datafeedId, Google_Service_ShoppingContent_Datafeed $postBody, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_ShoppingContent_Datafeed"); + } +} + +/** + * The "datafeedstatuses" collection of methods. + * Typical usage is: + * + * $contentService = new Google_Service_ShoppingContent(...); + * $datafeedstatuses = $contentService->datafeedstatuses; + * + */ +class Google_Service_ShoppingContent_Datafeedstatuses_Resource extends Google_Service_Resource +{ + + /** + * (datafeedstatuses.custombatch) + * + * @param Google_DatafeedstatusesCustomBatchRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponse + */ + public function custombatch(Google_Service_ShoppingContent_DatafeedstatusesCustomBatchRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponse"); + } + + /** + * Retrieves the status of a datafeed from your Merchant Center account. + * (datafeedstatuses.get) + * + * @param string $merchantId + * @param string $datafeedId + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_DatafeedStatus + */ + public function get($merchantId, $datafeedId, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_ShoppingContent_DatafeedStatus"); + } + + /** + * Lists the statuses of the datafeeds in your Merchant Center account. + * (datafeedstatuses.listDatafeedstatuses) + * + * @param string $merchantId The ID of the managing account. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The token returned by the previous request. + * @opt_param string maxResults The maximum number of products to return in the + * response, used for paging. + * @return Google_Service_ShoppingContent_DatafeedstatusesListResponse + */ + public function listDatafeedstatuses($merchantId, $optParams = array()) + { + $params = array('merchantId' => $merchantId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_ShoppingContent_DatafeedstatusesListResponse"); + } +} + +/** + * The "inventory" collection of methods. + * Typical usage is: + * + * $contentService = new Google_Service_ShoppingContent(...); + * $inventory = $contentService->inventory; + * + */ +class Google_Service_ShoppingContent_Inventory_Resource extends Google_Service_Resource +{ + + /** + * Updates price and availability for multiple products or stores in a single + * request. This operation does not update the expiration date of the products. + * (inventory.custombatch) + * + * @param Google_InventoryCustomBatchRequest $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool dryRun Flag to run the request in dry-run mode. + * @return Google_Service_ShoppingContent_InventoryCustomBatchResponse + */ + public function custombatch(Google_Service_ShoppingContent_InventoryCustomBatchRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_InventoryCustomBatchResponse"); + } + + /** + * Updates price and availability of a product in your Merchant Center account. + * This operation does not update the expiration date of the product. + * (inventory.set) + * + * @param string $merchantId The ID of the managing account. + * @param string $storeCode The code of the store for which to update price and + * availability. Use online to update price and availability of an online + * product. + * @param string $productId The ID of the product for which to update price and + * availability. + * @param Google_InventorySetRequest $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool dryRun Flag to run the request in dry-run mode. + * @return Google_Service_ShoppingContent_InventorySetResponse + */ + public function set($merchantId, $storeCode, $productId, Google_Service_ShoppingContent_InventorySetRequest $postBody, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'storeCode' => $storeCode, 'productId' => $productId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('set', array($params), "Google_Service_ShoppingContent_InventorySetResponse"); + } +} + +/** + * The "orders" collection of methods. + * Typical usage is: + * + * $contentService = new Google_Service_ShoppingContent(...); + * $orders = $contentService->orders; + * + */ +class Google_Service_ShoppingContent_Orders_Resource extends Google_Service_Resource +{ + + /** + * Marks an order as acknowledged. (orders.acknowledge) + * + * @param string $merchantId The ID of the managing account. + * @param string $orderId The ID of the order. + * @param Google_OrdersAcknowledgeRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_OrdersAcknowledgeResponse + */ + public function acknowledge($merchantId, $orderId, Google_Service_ShoppingContent_OrdersAcknowledgeRequest $postBody, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('acknowledge', array($params), "Google_Service_ShoppingContent_OrdersAcknowledgeResponse"); + } + + /** + * Sandbox only. Moves a test order from state "inProgress" to state + * "pendingShipment". (orders.advancetestorder) + * + * @param string $merchantId The ID of the managing account. + * @param string $orderId The ID of the test order to modify. + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_OrdersAdvanceTestOrderResponse + */ + public function advancetestorder($merchantId, $orderId, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'orderId' => $orderId); + $params = array_merge($params, $optParams); + return $this->call('advancetestorder', array($params), "Google_Service_ShoppingContent_OrdersAdvanceTestOrderResponse"); + } + + /** + * Cancels all line items in an order. (orders.cancel) + * + * @param string $merchantId The ID of the managing account. + * @param string $orderId The ID of the order to cancel. + * @param Google_OrdersCancelRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_OrdersCancelResponse + */ + public function cancel($merchantId, $orderId, Google_Service_ShoppingContent_OrdersCancelRequest $postBody, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('cancel', array($params), "Google_Service_ShoppingContent_OrdersCancelResponse"); + } + + /** + * Cancels a line item. (orders.cancellineitem) + * + * @param string $merchantId The ID of the managing account. + * @param string $orderId The ID of the order. + * @param Google_OrdersCancelLineItemRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_OrdersCancelLineItemResponse + */ + public function cancellineitem($merchantId, $orderId, Google_Service_ShoppingContent_OrdersCancelLineItemRequest $postBody, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('cancellineitem', array($params), "Google_Service_ShoppingContent_OrdersCancelLineItemResponse"); + } + + /** + * Sandbox only. Creates a test order. (orders.createtestorder) + * + * @param string $merchantId The ID of the managing account. + * @param Google_OrdersCreateTestOrderRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_OrdersCreateTestOrderResponse + */ + public function createtestorder($merchantId, Google_Service_ShoppingContent_OrdersCreateTestOrderRequest $postBody, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('createtestorder', array($params), "Google_Service_ShoppingContent_OrdersCreateTestOrderResponse"); + } + + /** + * Retrieves or modifies multiple orders in a single request. + * (orders.custombatch) + * + * @param Google_OrdersCustomBatchRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_OrdersCustomBatchResponse + */ + public function custombatch(Google_Service_ShoppingContent_OrdersCustomBatchRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_OrdersCustomBatchResponse"); + } + + /** + * Retrieves an order from your Merchant Center account. (orders.get) + * + * @param string $merchantId The ID of the managing account. + * @param string $orderId The ID of the order. + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_Order + */ + public function get($merchantId, $orderId, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'orderId' => $orderId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_ShoppingContent_Order"); + } + + /** + * Retrieves an order using merchant order id. (orders.getbymerchantorderid) + * + * @param string $merchantId The ID of the managing account. + * @param string $merchantOrderId The merchant order id to be looked for. + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_OrdersGetByMerchantOrderIdResponse + */ + public function getbymerchantorderid($merchantId, $merchantOrderId, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'merchantOrderId' => $merchantOrderId); + $params = array_merge($params, $optParams); + return $this->call('getbymerchantorderid', array($params), "Google_Service_ShoppingContent_OrdersGetByMerchantOrderIdResponse"); + } + + /** + * Sandbox only. Retrieves an order template that can be used to quickly create + * a new order in sandbox. (orders.gettestordertemplate) + * + * @param string $merchantId The ID of the managing account. + * @param string $templateName The name of the template to retrieve. + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_OrdersGetTestOrderTemplateResponse + */ + public function gettestordertemplate($merchantId, $templateName, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'templateName' => $templateName); + $params = array_merge($params, $optParams); + return $this->call('gettestordertemplate', array($params), "Google_Service_ShoppingContent_OrdersGetTestOrderTemplateResponse"); + } + + /** + * Lists the orders in your Merchant Center account. (orders.listOrders) + * + * @param string $merchantId The ID of the managing account. + * @param array $optParams Optional parameters. + * + * @opt_param string orderBy The ordering of the returned list. The only + * supported value are placedDate desc and placedDate asc for now, which returns + * orders sorted by placement date. "placedDate desc" stands for listing orders + * by placement date, from oldest to most recent. "placedDate asc" stands for + * listing orders by placement date, from most recent to oldest. In future + * releases we'll support other sorting criteria. + * @opt_param string placedDateEnd Obtains orders placed before this date + * (exclusively), in ISO 8601 format. + * @opt_param bool acknowledged Obtains orders that match the acknowledgement + * status. When set to true, obtains orders that have been acknowledged. When + * false, obtains orders that have not been acknowledged. We recommend using + * this filter set to false, in conjunction with the acknowledge call, such that + * only un-acknowledged orders are returned. + * @opt_param string maxResults The maximum number of orders to return in the + * response, used for paging. The default value is 25 orders per page, and the + * maximum allowed value is 250 orders per page. Known issue: All List calls + * will return all Orders without limit regardless of the value of this field. + * @opt_param string pageToken The token returned by the previous request. + * @opt_param string placedDateStart Obtains orders placed after this date + * (inclusively), in ISO 8601 format. + * @opt_param string statuses Obtains orders that match any of the specified + * statuses. Multiple values can be specified with comma separation. + * Additionally, please note that active is a shortcut for pendingShipment and + * partiallyShipped, and completed is a shortcut for shipped , + * partiallyDelivered, delivered, partiallyReturned, returned, and canceled. + * @return Google_Service_ShoppingContent_OrdersListResponse + */ + public function listOrders($merchantId, $optParams = array()) + { + $params = array('merchantId' => $merchantId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_ShoppingContent_OrdersListResponse"); + } + + /** + * Refund a portion of the order, up to the full amount paid. (orders.refund) + * + * @param string $merchantId The ID of the managing account. + * @param string $orderId The ID of the order to refund. + * @param Google_OrdersRefundRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_OrdersRefundResponse + */ + public function refund($merchantId, $orderId, Google_Service_ShoppingContent_OrdersRefundRequest $postBody, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('refund', array($params), "Google_Service_ShoppingContent_OrdersRefundResponse"); + } + + /** + * Returns a line item. (orders.returnlineitem) + * + * @param string $merchantId The ID of the managing account. + * @param string $orderId The ID of the order. + * @param Google_OrdersReturnLineItemRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_OrdersReturnLineItemResponse + */ + public function returnlineitem($merchantId, $orderId, Google_Service_ShoppingContent_OrdersReturnLineItemRequest $postBody, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('returnlineitem', array($params), "Google_Service_ShoppingContent_OrdersReturnLineItemResponse"); + } + + /** + * Marks line item(s) as shipped. (orders.shiplineitems) + * + * @param string $merchantId The ID of the managing account. + * @param string $orderId The ID of the order. + * @param Google_OrdersShipLineItemsRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_OrdersShipLineItemsResponse + */ + public function shiplineitems($merchantId, $orderId, Google_Service_ShoppingContent_OrdersShipLineItemsRequest $postBody, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('shiplineitems', array($params), "Google_Service_ShoppingContent_OrdersShipLineItemsResponse"); + } + + /** + * Updates the merchant order ID for a given order. + * (orders.updatemerchantorderid) + * + * @param string $merchantId The ID of the managing account. + * @param string $orderId The ID of the order. + * @param Google_OrdersUpdateMerchantOrderIdRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_OrdersUpdateMerchantOrderIdResponse + */ + public function updatemerchantorderid($merchantId, $orderId, Google_Service_ShoppingContent_OrdersUpdateMerchantOrderIdRequest $postBody, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('updatemerchantorderid', array($params), "Google_Service_ShoppingContent_OrdersUpdateMerchantOrderIdResponse"); + } + + /** + * Updates a shipment's status, carrier, and/or tracking ID. + * (orders.updateshipment) + * + * @param string $merchantId The ID of the managing account. + * @param string $orderId The ID of the order. + * @param Google_OrdersUpdateShipmentRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_OrdersUpdateShipmentResponse + */ + public function updateshipment($merchantId, $orderId, Google_Service_ShoppingContent_OrdersUpdateShipmentRequest $postBody, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('updateshipment', array($params), "Google_Service_ShoppingContent_OrdersUpdateShipmentResponse"); + } +} + +/** + * The "products" collection of methods. + * Typical usage is: + * + * $contentService = new Google_Service_ShoppingContent(...); + * $products = $contentService->products; + * + */ +class Google_Service_ShoppingContent_Products_Resource extends Google_Service_Resource +{ + + /** + * Retrieves, inserts, and deletes multiple products in a single request. + * (products.custombatch) + * + * @param Google_ProductsCustomBatchRequest $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool dryRun Flag to run the request in dry-run mode. + * @return Google_Service_ShoppingContent_ProductsCustomBatchResponse + */ + public function custombatch(Google_Service_ShoppingContent_ProductsCustomBatchRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_ProductsCustomBatchResponse"); + } + + /** + * Deletes a product from your Merchant Center account. (products.delete) + * + * @param string $merchantId The ID of the managing account. + * @param string $productId The ID of the product. + * @param array $optParams Optional parameters. + * + * @opt_param bool dryRun Flag to run the request in dry-run mode. + */ + public function delete($merchantId, $productId, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'productId' => $productId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Retrieves a product from your Merchant Center account. (products.get) + * + * @param string $merchantId The ID of the managing account. + * @param string $productId The ID of the product. + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_Product + */ + public function get($merchantId, $productId, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'productId' => $productId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_ShoppingContent_Product"); + } + + /** + * Uploads a product to your Merchant Center account. (products.insert) + * + * @param string $merchantId The ID of the managing account. + * @param Google_Product $postBody + * @param array $optParams Optional parameters. + * + * @opt_param bool dryRun Flag to run the request in dry-run mode. + * @return Google_Service_ShoppingContent_Product + */ + public function insert($merchantId, Google_Service_ShoppingContent_Product $postBody, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_ShoppingContent_Product"); + } + + /** + * Lists the products in your Merchant Center account. (products.listProducts) + * + * @param string $merchantId The ID of the managing account. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The token returned by the previous request. + * @opt_param string maxResults The maximum number of products to return in the + * response, used for paging. + * @return Google_Service_ShoppingContent_ProductsListResponse + */ + public function listProducts($merchantId, $optParams = array()) + { + $params = array('merchantId' => $merchantId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_ShoppingContent_ProductsListResponse"); + } +} + +/** + * The "productstatuses" collection of methods. + * Typical usage is: + * + * $contentService = new Google_Service_ShoppingContent(...); + * $productstatuses = $contentService->productstatuses; + * + */ +class Google_Service_ShoppingContent_Productstatuses_Resource extends Google_Service_Resource +{ + + /** + * Gets the statuses of multiple products in a single request. + * (productstatuses.custombatch) + * + * @param Google_ProductstatusesCustomBatchRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_ProductstatusesCustomBatchResponse + */ + public function custombatch(Google_Service_ShoppingContent_ProductstatusesCustomBatchRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_ProductstatusesCustomBatchResponse"); + } + + /** + * Gets the status of a product from your Merchant Center account. + * (productstatuses.get) + * + * @param string $merchantId The ID of the managing account. + * @param string $productId The ID of the product. + * @param array $optParams Optional parameters. + * @return Google_Service_ShoppingContent_ProductStatus + */ + public function get($merchantId, $productId, $optParams = array()) + { + $params = array('merchantId' => $merchantId, 'productId' => $productId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_ShoppingContent_ProductStatus"); + } + + /** + * Lists the statuses of the products in your Merchant Center account. + * (productstatuses.listProductstatuses) + * + * @param string $merchantId The ID of the managing account. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken The token returned by the previous request. + * @opt_param string maxResults The maximum number of product statuses to return + * in the response, used for paging. + * @return Google_Service_ShoppingContent_ProductstatusesListResponse + */ + public function listProductstatuses($merchantId, $optParams = array()) + { + $params = array('merchantId' => $merchantId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_ShoppingContent_ProductstatusesListResponse"); + } +} + + + + +class Google_Service_ShoppingContent_Account extends Google_Collection +{ + protected $collection_key = 'users'; + protected $internal_gapi_mappings = array( + ); + public $adultContent; + protected $adwordsLinksType = 'Google_Service_ShoppingContent_AccountAdwordsLink'; + protected $adwordsLinksDataType = 'array'; + public $id; + public $kind; + public $name; + public $reviewsUrl; + public $sellerId; + protected $usersType = 'Google_Service_ShoppingContent_AccountUser'; + protected $usersDataType = 'array'; + public $websiteUrl; + + + public function setAdultContent($adultContent) + { + $this->adultContent = $adultContent; + } + public function getAdultContent() + { + return $this->adultContent; + } + public function setAdwordsLinks($adwordsLinks) + { + $this->adwordsLinks = $adwordsLinks; + } + public function getAdwordsLinks() + { + return $this->adwordsLinks; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setReviewsUrl($reviewsUrl) + { + $this->reviewsUrl = $reviewsUrl; + } + public function getReviewsUrl() + { + return $this->reviewsUrl; + } + public function setSellerId($sellerId) + { + $this->sellerId = $sellerId; + } + public function getSellerId() + { + return $this->sellerId; + } + public function setUsers($users) + { + $this->users = $users; + } + public function getUsers() + { + return $this->users; + } + public function setWebsiteUrl($websiteUrl) + { + $this->websiteUrl = $websiteUrl; + } + public function getWebsiteUrl() + { + return $this->websiteUrl; + } +} + +class Google_Service_ShoppingContent_AccountAdwordsLink extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $adwordsId; + public $status; + + + public function setAdwordsId($adwordsId) + { + $this->adwordsId = $adwordsId; + } + public function getAdwordsId() + { + return $this->adwordsId; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} + +class Google_Service_ShoppingContent_AccountIdentifier extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $aggregatorId; + public $merchantId; + + + public function setAggregatorId($aggregatorId) + { + $this->aggregatorId = $aggregatorId; + } + public function getAggregatorId() + { + return $this->aggregatorId; + } + public function setMerchantId($merchantId) + { + $this->merchantId = $merchantId; + } + public function getMerchantId() + { + return $this->merchantId; + } +} + +class Google_Service_ShoppingContent_AccountShipping extends Google_Collection +{ + protected $collection_key = 'services'; + protected $internal_gapi_mappings = array( + ); + public $accountId; + protected $carrierRatesType = 'Google_Service_ShoppingContent_AccountShippingCarrierRate'; + protected $carrierRatesDataType = 'array'; + public $kind; + protected $locationGroupsType = 'Google_Service_ShoppingContent_AccountShippingLocationGroup'; + protected $locationGroupsDataType = 'array'; + protected $rateTablesType = 'Google_Service_ShoppingContent_AccountShippingRateTable'; + protected $rateTablesDataType = 'array'; + protected $servicesType = 'Google_Service_ShoppingContent_AccountShippingShippingService'; + protected $servicesDataType = 'array'; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setCarrierRates($carrierRates) + { + $this->carrierRates = $carrierRates; + } + public function getCarrierRates() + { + return $this->carrierRates; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLocationGroups($locationGroups) + { + $this->locationGroups = $locationGroups; + } + public function getLocationGroups() + { + return $this->locationGroups; + } + public function setRateTables($rateTables) + { + $this->rateTables = $rateTables; + } + public function getRateTables() + { + return $this->rateTables; + } + public function setServices($services) + { + $this->services = $services; + } + public function getServices() + { + return $this->services; + } +} + +class Google_Service_ShoppingContent_AccountShippingCarrierRate extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $carrier; + public $carrierService; + protected $modifierFlatRateType = 'Google_Service_ShoppingContent_Price'; + protected $modifierFlatRateDataType = ''; + public $modifierPercent; + public $name; + public $saleCountry; + public $shippingOrigin; + + + public function setCarrier($carrier) + { + $this->carrier = $carrier; + } + public function getCarrier() + { + return $this->carrier; + } + public function setCarrierService($carrierService) + { + $this->carrierService = $carrierService; + } + public function getCarrierService() + { + return $this->carrierService; + } + public function setModifierFlatRate(Google_Service_ShoppingContent_Price $modifierFlatRate) + { + $this->modifierFlatRate = $modifierFlatRate; + } + public function getModifierFlatRate() + { + return $this->modifierFlatRate; + } + public function setModifierPercent($modifierPercent) + { + $this->modifierPercent = $modifierPercent; + } + public function getModifierPercent() + { + return $this->modifierPercent; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSaleCountry($saleCountry) + { + $this->saleCountry = $saleCountry; + } + public function getSaleCountry() + { + return $this->saleCountry; + } + public function setShippingOrigin($shippingOrigin) + { + $this->shippingOrigin = $shippingOrigin; + } + public function getShippingOrigin() + { + return $this->shippingOrigin; + } +} + +class Google_Service_ShoppingContent_AccountShippingCondition extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $deliveryLocationGroup; + public $deliveryLocationId; + public $deliveryPostalCode; + protected $deliveryPostalCodeRangeType = 'Google_Service_ShoppingContent_AccountShippingPostalCodeRange'; + protected $deliveryPostalCodeRangeDataType = ''; + protected $priceMaxType = 'Google_Service_ShoppingContent_Price'; + protected $priceMaxDataType = ''; + public $shippingLabel; + protected $weightMaxType = 'Google_Service_ShoppingContent_Weight'; + protected $weightMaxDataType = ''; + + + public function setDeliveryLocationGroup($deliveryLocationGroup) + { + $this->deliveryLocationGroup = $deliveryLocationGroup; + } + public function getDeliveryLocationGroup() + { + return $this->deliveryLocationGroup; + } + public function setDeliveryLocationId($deliveryLocationId) + { + $this->deliveryLocationId = $deliveryLocationId; + } + public function getDeliveryLocationId() + { + return $this->deliveryLocationId; + } + public function setDeliveryPostalCode($deliveryPostalCode) + { + $this->deliveryPostalCode = $deliveryPostalCode; + } + public function getDeliveryPostalCode() + { + return $this->deliveryPostalCode; + } + public function setDeliveryPostalCodeRange(Google_Service_ShoppingContent_AccountShippingPostalCodeRange $deliveryPostalCodeRange) + { + $this->deliveryPostalCodeRange = $deliveryPostalCodeRange; + } + public function getDeliveryPostalCodeRange() + { + return $this->deliveryPostalCodeRange; + } + public function setPriceMax(Google_Service_ShoppingContent_Price $priceMax) + { + $this->priceMax = $priceMax; + } + public function getPriceMax() + { + return $this->priceMax; + } + public function setShippingLabel($shippingLabel) + { + $this->shippingLabel = $shippingLabel; + } + public function getShippingLabel() + { + return $this->shippingLabel; + } + public function setWeightMax(Google_Service_ShoppingContent_Weight $weightMax) + { + $this->weightMax = $weightMax; + } + public function getWeightMax() + { + return $this->weightMax; + } +} + +class Google_Service_ShoppingContent_AccountShippingLocationGroup extends Google_Collection +{ + protected $collection_key = 'postalCodes'; + protected $internal_gapi_mappings = array( + ); + public $country; + public $locationIds; + public $name; + protected $postalCodeRangesType = 'Google_Service_ShoppingContent_AccountShippingPostalCodeRange'; + protected $postalCodeRangesDataType = 'array'; + public $postalCodes; + + + public function setCountry($country) + { + $this->country = $country; + } + public function getCountry() + { + return $this->country; + } + public function setLocationIds($locationIds) + { + $this->locationIds = $locationIds; + } + public function getLocationIds() + { + return $this->locationIds; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPostalCodeRanges($postalCodeRanges) + { + $this->postalCodeRanges = $postalCodeRanges; + } + public function getPostalCodeRanges() + { + return $this->postalCodeRanges; + } + public function setPostalCodes($postalCodes) + { + $this->postalCodes = $postalCodes; + } + public function getPostalCodes() + { + return $this->postalCodes; + } +} + +class Google_Service_ShoppingContent_AccountShippingPostalCodeRange extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $end; + public $start; + + + public function setEnd($end) + { + $this->end = $end; + } + public function getEnd() + { + return $this->end; + } + public function setStart($start) + { + $this->start = $start; + } + public function getStart() + { + return $this->start; + } +} + +class Google_Service_ShoppingContent_AccountShippingRateTable extends Google_Collection +{ + protected $collection_key = 'content'; + protected $internal_gapi_mappings = array( + ); + protected $contentType = 'Google_Service_ShoppingContent_AccountShippingRateTableCell'; + protected $contentDataType = 'array'; + public $name; + public $saleCountry; + + + public function setContent($content) + { + $this->content = $content; + } + public function getContent() + { + return $this->content; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSaleCountry($saleCountry) + { + $this->saleCountry = $saleCountry; + } + public function getSaleCountry() + { + return $this->saleCountry; + } +} + +class Google_Service_ShoppingContent_AccountShippingRateTableCell extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $conditionType = 'Google_Service_ShoppingContent_AccountShippingCondition'; + protected $conditionDataType = ''; + protected $rateType = 'Google_Service_ShoppingContent_Price'; + protected $rateDataType = ''; + + + public function setCondition(Google_Service_ShoppingContent_AccountShippingCondition $condition) + { + $this->condition = $condition; + } + public function getCondition() + { + return $this->condition; + } + public function setRate(Google_Service_ShoppingContent_Price $rate) + { + $this->rate = $rate; + } + public function getRate() + { + return $this->rate; + } +} + +class Google_Service_ShoppingContent_AccountShippingShippingService extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $active; + protected $calculationMethodType = 'Google_Service_ShoppingContent_AccountShippingShippingServiceCalculationMethod'; + protected $calculationMethodDataType = ''; + protected $costRuleTreeType = 'Google_Service_ShoppingContent_AccountShippingShippingServiceCostRule'; + protected $costRuleTreeDataType = ''; + public $name; + public $saleCountry; + + + public function setActive($active) + { + $this->active = $active; + } + public function getActive() + { + return $this->active; + } + public function setCalculationMethod(Google_Service_ShoppingContent_AccountShippingShippingServiceCalculationMethod $calculationMethod) + { + $this->calculationMethod = $calculationMethod; + } + public function getCalculationMethod() + { + return $this->calculationMethod; + } + public function setCostRuleTree(Google_Service_ShoppingContent_AccountShippingShippingServiceCostRule $costRuleTree) + { + $this->costRuleTree = $costRuleTree; + } + public function getCostRuleTree() + { + return $this->costRuleTree; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setSaleCountry($saleCountry) + { + $this->saleCountry = $saleCountry; + } + public function getSaleCountry() + { + return $this->saleCountry; + } +} + +class Google_Service_ShoppingContent_AccountShippingShippingServiceCalculationMethod extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $carrierRate; + public $excluded; + protected $flatRateType = 'Google_Service_ShoppingContent_Price'; + protected $flatRateDataType = ''; + public $percentageRate; + public $rateTable; + + + public function setCarrierRate($carrierRate) + { + $this->carrierRate = $carrierRate; + } + public function getCarrierRate() + { + return $this->carrierRate; + } + public function setExcluded($excluded) + { + $this->excluded = $excluded; + } + public function getExcluded() + { + return $this->excluded; + } + public function setFlatRate(Google_Service_ShoppingContent_Price $flatRate) + { + $this->flatRate = $flatRate; + } + public function getFlatRate() + { + return $this->flatRate; + } + public function setPercentageRate($percentageRate) + { + $this->percentageRate = $percentageRate; + } + public function getPercentageRate() + { + return $this->percentageRate; + } + public function setRateTable($rateTable) + { + $this->rateTable = $rateTable; + } + public function getRateTable() + { + return $this->rateTable; + } +} + +class Google_Service_ShoppingContent_AccountShippingShippingServiceCostRule extends Google_Collection +{ + protected $collection_key = 'children'; + protected $internal_gapi_mappings = array( + ); + protected $calculationMethodType = 'Google_Service_ShoppingContent_AccountShippingShippingServiceCalculationMethod'; + protected $calculationMethodDataType = ''; + protected $childrenType = 'Google_Service_ShoppingContent_AccountShippingShippingServiceCostRule'; + protected $childrenDataType = 'array'; + protected $conditionType = 'Google_Service_ShoppingContent_AccountShippingCondition'; + protected $conditionDataType = ''; + + + public function setCalculationMethod(Google_Service_ShoppingContent_AccountShippingShippingServiceCalculationMethod $calculationMethod) + { + $this->calculationMethod = $calculationMethod; + } + public function getCalculationMethod() + { + return $this->calculationMethod; + } + public function setChildren($children) + { + $this->children = $children; + } + public function getChildren() + { + return $this->children; + } + public function setCondition(Google_Service_ShoppingContent_AccountShippingCondition $condition) + { + $this->condition = $condition; + } + public function getCondition() + { + return $this->condition; + } +} + +class Google_Service_ShoppingContent_AccountStatus extends Google_Collection +{ + protected $collection_key = 'dataQualityIssues'; + protected $internal_gapi_mappings = array( + ); + public $accountId; + protected $dataQualityIssuesType = 'Google_Service_ShoppingContent_AccountStatusDataQualityIssue'; + protected $dataQualityIssuesDataType = 'array'; + public $kind; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setDataQualityIssues($dataQualityIssues) + { + $this->dataQualityIssues = $dataQualityIssues; + } + public function getDataQualityIssues() + { + return $this->dataQualityIssues; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_ShoppingContent_AccountStatusDataQualityIssue extends Google_Collection +{ + protected $collection_key = 'exampleItems'; + protected $internal_gapi_mappings = array( + ); + public $country; + public $displayedValue; + protected $exampleItemsType = 'Google_Service_ShoppingContent_AccountStatusExampleItem'; + protected $exampleItemsDataType = 'array'; + public $id; + public $lastChecked; + public $numItems; + public $severity; + public $submittedValue; + + + public function setCountry($country) + { + $this->country = $country; + } + public function getCountry() + { + return $this->country; + } + public function setDisplayedValue($displayedValue) + { + $this->displayedValue = $displayedValue; + } + public function getDisplayedValue() + { + return $this->displayedValue; + } + public function setExampleItems($exampleItems) + { + $this->exampleItems = $exampleItems; + } + public function getExampleItems() + { + return $this->exampleItems; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setLastChecked($lastChecked) + { + $this->lastChecked = $lastChecked; + } + public function getLastChecked() + { + return $this->lastChecked; + } + public function setNumItems($numItems) + { + $this->numItems = $numItems; + } + public function getNumItems() + { + return $this->numItems; + } + public function setSeverity($severity) + { + $this->severity = $severity; + } + public function getSeverity() + { + return $this->severity; + } + public function setSubmittedValue($submittedValue) + { + $this->submittedValue = $submittedValue; + } + public function getSubmittedValue() + { + return $this->submittedValue; + } +} + +class Google_Service_ShoppingContent_AccountStatusExampleItem extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $itemId; + public $link; + public $submittedValue; + public $title; + public $valueOnLandingPage; + + + public function setItemId($itemId) + { + $this->itemId = $itemId; + } + public function getItemId() + { + return $this->itemId; + } + public function setLink($link) + { + $this->link = $link; + } + public function getLink() + { + return $this->link; + } + public function setSubmittedValue($submittedValue) + { + $this->submittedValue = $submittedValue; + } + public function getSubmittedValue() + { + return $this->submittedValue; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setValueOnLandingPage($valueOnLandingPage) + { + $this->valueOnLandingPage = $valueOnLandingPage; + } + public function getValueOnLandingPage() + { + return $this->valueOnLandingPage; + } +} + +class Google_Service_ShoppingContent_AccountTax extends Google_Collection +{ + protected $collection_key = 'rules'; + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $kind; + protected $rulesType = 'Google_Service_ShoppingContent_AccountTaxTaxRule'; + protected $rulesDataType = 'array'; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRules($rules) + { + $this->rules = $rules; + } + public function getRules() + { + return $this->rules; + } +} + +class Google_Service_ShoppingContent_AccountTaxTaxRule extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $country; + public $locationId; + public $ratePercent; + public $shippingTaxed; + public $useGlobalRate; + + + public function setCountry($country) + { + $this->country = $country; + } + public function getCountry() + { + return $this->country; + } + public function setLocationId($locationId) + { + $this->locationId = $locationId; + } + public function getLocationId() + { + return $this->locationId; + } + public function setRatePercent($ratePercent) + { + $this->ratePercent = $ratePercent; + } + public function getRatePercent() + { + return $this->ratePercent; + } + public function setShippingTaxed($shippingTaxed) + { + $this->shippingTaxed = $shippingTaxed; + } + public function getShippingTaxed() + { + return $this->shippingTaxed; + } + public function setUseGlobalRate($useGlobalRate) + { + $this->useGlobalRate = $useGlobalRate; + } + public function getUseGlobalRate() + { + return $this->useGlobalRate; + } +} + +class Google_Service_ShoppingContent_AccountUser extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $admin; + public $emailAddress; + + + public function setAdmin($admin) + { + $this->admin = $admin; + } + public function getAdmin() + { + return $this->admin; + } + public function setEmailAddress($emailAddress) + { + $this->emailAddress = $emailAddress; + } + public function getEmailAddress() + { + return $this->emailAddress; + } +} + +class Google_Service_ShoppingContent_AccountsAuthInfoResponse extends Google_Collection +{ + protected $collection_key = 'accountIdentifiers'; + protected $internal_gapi_mappings = array( + ); + protected $accountIdentifiersType = 'Google_Service_ShoppingContent_AccountIdentifier'; + protected $accountIdentifiersDataType = 'array'; + public $kind; + + + public function setAccountIdentifiers($accountIdentifiers) + { + $this->accountIdentifiers = $accountIdentifiers; + } + public function getAccountIdentifiers() + { + return $this->accountIdentifiers; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_ShoppingContent_AccountsCustomBatchRequest extends Google_Collection +{ + protected $collection_key = 'entries'; + protected $internal_gapi_mappings = array( + ); + protected $entriesType = 'Google_Service_ShoppingContent_AccountsCustomBatchRequestEntry'; + protected $entriesDataType = 'array'; + + + public function setEntries($entries) + { + $this->entries = $entries; + } + public function getEntries() + { + return $this->entries; + } +} + +class Google_Service_ShoppingContent_AccountsCustomBatchRequestEntry extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $accountType = 'Google_Service_ShoppingContent_Account'; + protected $accountDataType = ''; + public $accountId; + public $batchId; + public $merchantId; + public $method; + + + public function setAccount(Google_Service_ShoppingContent_Account $account) + { + $this->account = $account; + } + public function getAccount() + { + return $this->account; + } + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setBatchId($batchId) + { + $this->batchId = $batchId; + } + public function getBatchId() + { + return $this->batchId; + } + public function setMerchantId($merchantId) + { + $this->merchantId = $merchantId; + } + public function getMerchantId() + { + return $this->merchantId; + } + public function setMethod($method) + { + $this->method = $method; + } + public function getMethod() + { + return $this->method; + } +} + +class Google_Service_ShoppingContent_AccountsCustomBatchResponse extends Google_Collection +{ + protected $collection_key = 'entries'; + protected $internal_gapi_mappings = array( + ); + protected $entriesType = 'Google_Service_ShoppingContent_AccountsCustomBatchResponseEntry'; + protected $entriesDataType = 'array'; + public $kind; + + + public function setEntries($entries) + { + $this->entries = $entries; + } + public function getEntries() + { + return $this->entries; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_ShoppingContent_AccountsCustomBatchResponseEntry extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $accountType = 'Google_Service_ShoppingContent_Account'; + protected $accountDataType = ''; + public $batchId; + protected $errorsType = 'Google_Service_ShoppingContent_Errors'; + protected $errorsDataType = ''; + public $kind; + + + public function setAccount(Google_Service_ShoppingContent_Account $account) + { + $this->account = $account; + } + public function getAccount() + { + return $this->account; + } + public function setBatchId($batchId) + { + $this->batchId = $batchId; + } + public function getBatchId() + { + return $this->batchId; + } + public function setErrors(Google_Service_ShoppingContent_Errors $errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_ShoppingContent_AccountsListResponse extends Google_Collection +{ + protected $collection_key = 'resources'; + protected $internal_gapi_mappings = array( + ); + public $kind; + public $nextPageToken; + protected $resourcesType = 'Google_Service_ShoppingContent_Account'; + protected $resourcesDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setResources($resources) + { + $this->resources = $resources; + } + public function getResources() + { + return $this->resources; + } +} + +class Google_Service_ShoppingContent_AccountshippingCustomBatchRequest extends Google_Collection +{ + protected $collection_key = 'entries'; + protected $internal_gapi_mappings = array( + ); + protected $entriesType = 'Google_Service_ShoppingContent_AccountshippingCustomBatchRequestEntry'; + protected $entriesDataType = 'array'; + + + public function setEntries($entries) + { + $this->entries = $entries; + } + public function getEntries() + { + return $this->entries; + } +} + +class Google_Service_ShoppingContent_AccountshippingCustomBatchRequestEntry extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $accountId; + protected $accountShippingType = 'Google_Service_ShoppingContent_AccountShipping'; + protected $accountShippingDataType = ''; + public $batchId; + public $merchantId; + public $method; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAccountShipping(Google_Service_ShoppingContent_AccountShipping $accountShipping) + { + $this->accountShipping = $accountShipping; + } + public function getAccountShipping() + { + return $this->accountShipping; + } + public function setBatchId($batchId) + { + $this->batchId = $batchId; + } + public function getBatchId() + { + return $this->batchId; + } + public function setMerchantId($merchantId) + { + $this->merchantId = $merchantId; + } + public function getMerchantId() + { + return $this->merchantId; + } + public function setMethod($method) + { + $this->method = $method; + } + public function getMethod() + { + return $this->method; + } +} + +class Google_Service_ShoppingContent_AccountshippingCustomBatchResponse extends Google_Collection +{ + protected $collection_key = 'entries'; + protected $internal_gapi_mappings = array( + ); + protected $entriesType = 'Google_Service_ShoppingContent_AccountshippingCustomBatchResponseEntry'; + protected $entriesDataType = 'array'; + public $kind; + + + public function setEntries($entries) + { + $this->entries = $entries; + } + public function getEntries() + { + return $this->entries; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_ShoppingContent_AccountshippingCustomBatchResponseEntry extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $accountShippingType = 'Google_Service_ShoppingContent_AccountShipping'; + protected $accountShippingDataType = ''; + public $batchId; + protected $errorsType = 'Google_Service_ShoppingContent_Errors'; + protected $errorsDataType = ''; + public $kind; + + + public function setAccountShipping(Google_Service_ShoppingContent_AccountShipping $accountShipping) + { + $this->accountShipping = $accountShipping; + } + public function getAccountShipping() + { + return $this->accountShipping; + } + public function setBatchId($batchId) + { + $this->batchId = $batchId; + } + public function getBatchId() + { + return $this->batchId; + } + public function setErrors(Google_Service_ShoppingContent_Errors $errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_ShoppingContent_AccountshippingListResponse extends Google_Collection +{ + protected $collection_key = 'resources'; + protected $internal_gapi_mappings = array( + ); + public $kind; + public $nextPageToken; + protected $resourcesType = 'Google_Service_ShoppingContent_AccountShipping'; + protected $resourcesDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setResources($resources) + { + $this->resources = $resources; + } + public function getResources() + { + return $this->resources; + } +} + +class Google_Service_ShoppingContent_AccountstatusesCustomBatchRequest extends Google_Collection +{ + protected $collection_key = 'entries'; + protected $internal_gapi_mappings = array( + ); + protected $entriesType = 'Google_Service_ShoppingContent_AccountstatusesCustomBatchRequestEntry'; + protected $entriesDataType = 'array'; + + + public function setEntries($entries) + { + $this->entries = $entries; + } + public function getEntries() + { + return $this->entries; + } +} + +class Google_Service_ShoppingContent_AccountstatusesCustomBatchRequestEntry extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $batchId; + public $merchantId; + public $method; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setBatchId($batchId) + { + $this->batchId = $batchId; + } + public function getBatchId() + { + return $this->batchId; + } + public function setMerchantId($merchantId) + { + $this->merchantId = $merchantId; + } + public function getMerchantId() + { + return $this->merchantId; + } + public function setMethod($method) + { + $this->method = $method; + } + public function getMethod() + { + return $this->method; + } +} + +class Google_Service_ShoppingContent_AccountstatusesCustomBatchResponse extends Google_Collection +{ + protected $collection_key = 'entries'; + protected $internal_gapi_mappings = array( + ); + protected $entriesType = 'Google_Service_ShoppingContent_AccountstatusesCustomBatchResponseEntry'; + protected $entriesDataType = 'array'; + public $kind; + + + public function setEntries($entries) + { + $this->entries = $entries; + } + public function getEntries() + { + return $this->entries; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_ShoppingContent_AccountstatusesCustomBatchResponseEntry extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $accountStatusType = 'Google_Service_ShoppingContent_AccountStatus'; + protected $accountStatusDataType = ''; + public $batchId; + protected $errorsType = 'Google_Service_ShoppingContent_Errors'; + protected $errorsDataType = ''; + + + public function setAccountStatus(Google_Service_ShoppingContent_AccountStatus $accountStatus) + { + $this->accountStatus = $accountStatus; + } + public function getAccountStatus() + { + return $this->accountStatus; + } + public function setBatchId($batchId) + { + $this->batchId = $batchId; + } + public function getBatchId() + { + return $this->batchId; + } + public function setErrors(Google_Service_ShoppingContent_Errors $errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } +} + +class Google_Service_ShoppingContent_AccountstatusesListResponse extends Google_Collection +{ + protected $collection_key = 'resources'; + protected $internal_gapi_mappings = array( + ); + public $kind; + public $nextPageToken; + protected $resourcesType = 'Google_Service_ShoppingContent_AccountStatus'; + protected $resourcesDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setResources($resources) + { + $this->resources = $resources; + } + public function getResources() + { + return $this->resources; + } +} + +class Google_Service_ShoppingContent_AccounttaxCustomBatchRequest extends Google_Collection +{ + protected $collection_key = 'entries'; + protected $internal_gapi_mappings = array( + ); + protected $entriesType = 'Google_Service_ShoppingContent_AccounttaxCustomBatchRequestEntry'; + protected $entriesDataType = 'array'; + + + public function setEntries($entries) + { + $this->entries = $entries; + } + public function getEntries() + { + return $this->entries; + } +} + +class Google_Service_ShoppingContent_AccounttaxCustomBatchRequestEntry extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $accountId; + protected $accountTaxType = 'Google_Service_ShoppingContent_AccountTax'; + protected $accountTaxDataType = ''; + public $batchId; + public $merchantId; + public $method; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAccountTax(Google_Service_ShoppingContent_AccountTax $accountTax) + { + $this->accountTax = $accountTax; + } + public function getAccountTax() + { + return $this->accountTax; + } + public function setBatchId($batchId) + { + $this->batchId = $batchId; + } + public function getBatchId() + { + return $this->batchId; + } + public function setMerchantId($merchantId) + { + $this->merchantId = $merchantId; + } + public function getMerchantId() + { + return $this->merchantId; + } + public function setMethod($method) + { + $this->method = $method; + } + public function getMethod() + { + return $this->method; + } +} + +class Google_Service_ShoppingContent_AccounttaxCustomBatchResponse extends Google_Collection +{ + protected $collection_key = 'entries'; + protected $internal_gapi_mappings = array( + ); + protected $entriesType = 'Google_Service_ShoppingContent_AccounttaxCustomBatchResponseEntry'; + protected $entriesDataType = 'array'; + public $kind; + + + public function setEntries($entries) + { + $this->entries = $entries; + } + public function getEntries() + { + return $this->entries; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_ShoppingContent_AccounttaxCustomBatchResponseEntry extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $accountTaxType = 'Google_Service_ShoppingContent_AccountTax'; + protected $accountTaxDataType = ''; + public $batchId; + protected $errorsType = 'Google_Service_ShoppingContent_Errors'; + protected $errorsDataType = ''; + public $kind; + + + public function setAccountTax(Google_Service_ShoppingContent_AccountTax $accountTax) + { + $this->accountTax = $accountTax; + } + public function getAccountTax() + { + return $this->accountTax; + } + public function setBatchId($batchId) + { + $this->batchId = $batchId; + } + public function getBatchId() + { + return $this->batchId; + } + public function setErrors(Google_Service_ShoppingContent_Errors $errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_ShoppingContent_AccounttaxListResponse extends Google_Collection +{ + protected $collection_key = 'resources'; + protected $internal_gapi_mappings = array( + ); + public $kind; + public $nextPageToken; + protected $resourcesType = 'Google_Service_ShoppingContent_AccountTax'; + protected $resourcesDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setResources($resources) + { + $this->resources = $resources; + } + public function getResources() + { + return $this->resources; + } +} + +class Google_Service_ShoppingContent_Datafeed extends Google_Collection +{ + protected $collection_key = 'intendedDestinations'; + protected $internal_gapi_mappings = array( + ); + public $attributeLanguage; + public $contentLanguage; + public $contentType; + protected $fetchScheduleType = 'Google_Service_ShoppingContent_DatafeedFetchSchedule'; + protected $fetchScheduleDataType = ''; + public $fileName; + protected $formatType = 'Google_Service_ShoppingContent_DatafeedFormat'; + protected $formatDataType = ''; + public $id; + public $intendedDestinations; + public $kind; + public $name; + public $targetCountry; + + + public function setAttributeLanguage($attributeLanguage) + { + $this->attributeLanguage = $attributeLanguage; + } + public function getAttributeLanguage() + { + return $this->attributeLanguage; + } + public function setContentLanguage($contentLanguage) + { + $this->contentLanguage = $contentLanguage; + } + public function getContentLanguage() + { + return $this->contentLanguage; + } + public function setContentType($contentType) + { + $this->contentType = $contentType; + } + public function getContentType() + { + return $this->contentType; + } + public function setFetchSchedule(Google_Service_ShoppingContent_DatafeedFetchSchedule $fetchSchedule) + { + $this->fetchSchedule = $fetchSchedule; + } + public function getFetchSchedule() + { + return $this->fetchSchedule; + } + public function setFileName($fileName) + { + $this->fileName = $fileName; + } + public function getFileName() + { + return $this->fileName; + } + public function setFormat(Google_Service_ShoppingContent_DatafeedFormat $format) + { + $this->format = $format; + } + public function getFormat() + { + return $this->format; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIntendedDestinations($intendedDestinations) + { + $this->intendedDestinations = $intendedDestinations; + } + public function getIntendedDestinations() + { + return $this->intendedDestinations; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setTargetCountry($targetCountry) + { + $this->targetCountry = $targetCountry; + } + public function getTargetCountry() + { + return $this->targetCountry; + } +} + +class Google_Service_ShoppingContent_DatafeedFetchSchedule extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $dayOfMonth; + public $fetchUrl; + public $hour; + public $password; + public $timeZone; + public $username; + public $weekday; + + + public function setDayOfMonth($dayOfMonth) + { + $this->dayOfMonth = $dayOfMonth; + } + public function getDayOfMonth() + { + return $this->dayOfMonth; + } + public function setFetchUrl($fetchUrl) + { + $this->fetchUrl = $fetchUrl; + } + public function getFetchUrl() + { + return $this->fetchUrl; + } + public function setHour($hour) + { + $this->hour = $hour; + } + public function getHour() + { + return $this->hour; + } + public function setPassword($password) + { + $this->password = $password; + } + public function getPassword() + { + return $this->password; + } + public function setTimeZone($timeZone) + { + $this->timeZone = $timeZone; + } + public function getTimeZone() + { + return $this->timeZone; + } + public function setUsername($username) + { + $this->username = $username; + } + public function getUsername() + { + return $this->username; + } + public function setWeekday($weekday) + { + $this->weekday = $weekday; + } + public function getWeekday() + { + return $this->weekday; + } +} + +class Google_Service_ShoppingContent_DatafeedFormat extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $columnDelimiter; + public $fileEncoding; + public $quotingMode; + + + public function setColumnDelimiter($columnDelimiter) + { + $this->columnDelimiter = $columnDelimiter; + } + public function getColumnDelimiter() + { + return $this->columnDelimiter; + } + public function setFileEncoding($fileEncoding) + { + $this->fileEncoding = $fileEncoding; + } + public function getFileEncoding() + { + return $this->fileEncoding; + } + public function setQuotingMode($quotingMode) + { + $this->quotingMode = $quotingMode; + } + public function getQuotingMode() + { + return $this->quotingMode; + } +} + +class Google_Service_ShoppingContent_DatafeedStatus extends Google_Collection +{ + protected $collection_key = 'warnings'; + protected $internal_gapi_mappings = array( + ); + public $datafeedId; + protected $errorsType = 'Google_Service_ShoppingContent_DatafeedStatusError'; + protected $errorsDataType = 'array'; + public $itemsTotal; + public $itemsValid; + public $kind; + public $lastUploadDate; + public $processingStatus; + protected $warningsType = 'Google_Service_ShoppingContent_DatafeedStatusError'; + protected $warningsDataType = 'array'; + + + public function setDatafeedId($datafeedId) + { + $this->datafeedId = $datafeedId; + } + public function getDatafeedId() + { + return $this->datafeedId; + } + public function setErrors($errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } + public function setItemsTotal($itemsTotal) + { + $this->itemsTotal = $itemsTotal; + } + public function getItemsTotal() + { + return $this->itemsTotal; + } + public function setItemsValid($itemsValid) + { + $this->itemsValid = $itemsValid; + } + public function getItemsValid() + { + return $this->itemsValid; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastUploadDate($lastUploadDate) + { + $this->lastUploadDate = $lastUploadDate; + } + public function getLastUploadDate() + { + return $this->lastUploadDate; + } + public function setProcessingStatus($processingStatus) + { + $this->processingStatus = $processingStatus; + } + public function getProcessingStatus() + { + return $this->processingStatus; + } + public function setWarnings($warnings) + { + $this->warnings = $warnings; + } + public function getWarnings() + { + return $this->warnings; + } +} + +class Google_Service_ShoppingContent_DatafeedStatusError extends Google_Collection +{ + protected $collection_key = 'examples'; + protected $internal_gapi_mappings = array( + ); + public $code; + public $count; + protected $examplesType = 'Google_Service_ShoppingContent_DatafeedStatusExample'; + protected $examplesDataType = 'array'; + public $message; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setCount($count) + { + $this->count = $count; + } + public function getCount() + { + return $this->count; + } + public function setExamples($examples) + { + $this->examples = $examples; + } + public function getExamples() + { + return $this->examples; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_ShoppingContent_DatafeedStatusExample extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $itemId; + public $lineNumber; + public $value; + + + public function setItemId($itemId) + { + $this->itemId = $itemId; + } + public function getItemId() + { + return $this->itemId; + } + public function setLineNumber($lineNumber) + { + $this->lineNumber = $lineNumber; + } + public function getLineNumber() + { + return $this->lineNumber; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_ShoppingContent_DatafeedsCustomBatchRequest extends Google_Collection +{ + protected $collection_key = 'entries'; + protected $internal_gapi_mappings = array( + ); + protected $entriesType = 'Google_Service_ShoppingContent_DatafeedsCustomBatchRequestEntry'; + protected $entriesDataType = 'array'; + + + public function setEntries($entries) + { + $this->entries = $entries; + } + public function getEntries() + { + return $this->entries; + } +} + +class Google_Service_ShoppingContent_DatafeedsCustomBatchRequestEntry extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $batchId; + protected $datafeedType = 'Google_Service_ShoppingContent_Datafeed'; + protected $datafeedDataType = ''; + public $datafeedId; + public $merchantId; + public $method; + + + public function setBatchId($batchId) + { + $this->batchId = $batchId; + } + public function getBatchId() + { + return $this->batchId; + } + public function setDatafeed(Google_Service_ShoppingContent_Datafeed $datafeed) + { + $this->datafeed = $datafeed; + } + public function getDatafeed() + { + return $this->datafeed; + } + public function setDatafeedId($datafeedId) + { + $this->datafeedId = $datafeedId; + } + public function getDatafeedId() + { + return $this->datafeedId; + } + public function setMerchantId($merchantId) + { + $this->merchantId = $merchantId; + } + public function getMerchantId() + { + return $this->merchantId; + } + public function setMethod($method) + { + $this->method = $method; + } + public function getMethod() + { + return $this->method; + } +} + +class Google_Service_ShoppingContent_DatafeedsCustomBatchResponse extends Google_Collection +{ + protected $collection_key = 'entries'; + protected $internal_gapi_mappings = array( + ); + protected $entriesType = 'Google_Service_ShoppingContent_DatafeedsCustomBatchResponseEntry'; + protected $entriesDataType = 'array'; + public $kind; + + + public function setEntries($entries) + { + $this->entries = $entries; + } + public function getEntries() + { + return $this->entries; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_ShoppingContent_DatafeedsCustomBatchResponseEntry extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $batchId; + protected $datafeedType = 'Google_Service_ShoppingContent_Datafeed'; + protected $datafeedDataType = ''; + protected $errorsType = 'Google_Service_ShoppingContent_Errors'; + protected $errorsDataType = ''; + + + public function setBatchId($batchId) + { + $this->batchId = $batchId; + } + public function getBatchId() + { + return $this->batchId; + } + public function setDatafeed(Google_Service_ShoppingContent_Datafeed $datafeed) + { + $this->datafeed = $datafeed; + } + public function getDatafeed() + { + return $this->datafeed; + } + public function setErrors(Google_Service_ShoppingContent_Errors $errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } +} + +class Google_Service_ShoppingContent_DatafeedsListResponse extends Google_Collection +{ + protected $collection_key = 'resources'; + protected $internal_gapi_mappings = array( + ); + public $kind; + public $nextPageToken; + protected $resourcesType = 'Google_Service_ShoppingContent_Datafeed'; + protected $resourcesDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setResources($resources) + { + $this->resources = $resources; + } + public function getResources() + { + return $this->resources; + } +} + +class Google_Service_ShoppingContent_DatafeedstatusesCustomBatchRequest extends Google_Collection +{ + protected $collection_key = 'entries'; + protected $internal_gapi_mappings = array( + ); + protected $entriesType = 'Google_Service_ShoppingContent_DatafeedstatusesCustomBatchRequestEntry'; + protected $entriesDataType = 'array'; + + + public function setEntries($entries) + { + $this->entries = $entries; + } + public function getEntries() + { + return $this->entries; + } +} + +class Google_Service_ShoppingContent_DatafeedstatusesCustomBatchRequestEntry extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $batchId; + public $datafeedId; + public $merchantId; + public $method; + + + public function setBatchId($batchId) + { + $this->batchId = $batchId; + } + public function getBatchId() + { + return $this->batchId; + } + public function setDatafeedId($datafeedId) + { + $this->datafeedId = $datafeedId; + } + public function getDatafeedId() + { + return $this->datafeedId; + } + public function setMerchantId($merchantId) + { + $this->merchantId = $merchantId; + } + public function getMerchantId() + { + return $this->merchantId; + } + public function setMethod($method) + { + $this->method = $method; + } + public function getMethod() + { + return $this->method; + } +} + +class Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponse extends Google_Collection +{ + protected $collection_key = 'entries'; + protected $internal_gapi_mappings = array( + ); + protected $entriesType = 'Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponseEntry'; + protected $entriesDataType = 'array'; + public $kind; + + + public function setEntries($entries) + { + $this->entries = $entries; + } + public function getEntries() + { + return $this->entries; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponseEntry extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $batchId; + protected $datafeedStatusType = 'Google_Service_ShoppingContent_DatafeedStatus'; + protected $datafeedStatusDataType = ''; + protected $errorsType = 'Google_Service_ShoppingContent_Errors'; + protected $errorsDataType = ''; + + + public function setBatchId($batchId) + { + $this->batchId = $batchId; + } + public function getBatchId() + { + return $this->batchId; + } + public function setDatafeedStatus(Google_Service_ShoppingContent_DatafeedStatus $datafeedStatus) + { + $this->datafeedStatus = $datafeedStatus; + } + public function getDatafeedStatus() + { + return $this->datafeedStatus; + } + public function setErrors(Google_Service_ShoppingContent_Errors $errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } +} + +class Google_Service_ShoppingContent_DatafeedstatusesListResponse extends Google_Collection +{ + protected $collection_key = 'resources'; + protected $internal_gapi_mappings = array( + ); + public $kind; + public $nextPageToken; + protected $resourcesType = 'Google_Service_ShoppingContent_DatafeedStatus'; + protected $resourcesDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setResources($resources) + { + $this->resources = $resources; + } + public function getResources() + { + return $this->resources; + } +} + +class Google_Service_ShoppingContent_Error extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $domain; + public $message; + public $reason; + + + public function setDomain($domain) + { + $this->domain = $domain; + } + public function getDomain() + { + return $this->domain; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } +} + +class Google_Service_ShoppingContent_Errors extends Google_Collection +{ + protected $collection_key = 'errors'; + protected $internal_gapi_mappings = array( + ); + public $code; + protected $errorsType = 'Google_Service_ShoppingContent_Error'; + protected $errorsDataType = 'array'; + public $message; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setErrors($errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_ShoppingContent_Inventory extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $availability; + public $kind; + protected $priceType = 'Google_Service_ShoppingContent_Price'; + protected $priceDataType = ''; + public $quantity; + protected $salePriceType = 'Google_Service_ShoppingContent_Price'; + protected $salePriceDataType = ''; + public $salePriceEffectiveDate; + public $sellOnGoogleQuantity; + + + public function setAvailability($availability) + { + $this->availability = $availability; + } + public function getAvailability() + { + return $this->availability; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPrice(Google_Service_ShoppingContent_Price $price) + { + $this->price = $price; + } + public function getPrice() + { + return $this->price; + } + public function setQuantity($quantity) + { + $this->quantity = $quantity; + } + public function getQuantity() + { + return $this->quantity; + } + public function setSalePrice(Google_Service_ShoppingContent_Price $salePrice) + { + $this->salePrice = $salePrice; + } + public function getSalePrice() + { + return $this->salePrice; + } + public function setSalePriceEffectiveDate($salePriceEffectiveDate) + { + $this->salePriceEffectiveDate = $salePriceEffectiveDate; + } + public function getSalePriceEffectiveDate() + { + return $this->salePriceEffectiveDate; + } + public function setSellOnGoogleQuantity($sellOnGoogleQuantity) + { + $this->sellOnGoogleQuantity = $sellOnGoogleQuantity; + } + public function getSellOnGoogleQuantity() + { + return $this->sellOnGoogleQuantity; + } +} + +class Google_Service_ShoppingContent_InventoryCustomBatchRequest extends Google_Collection +{ + protected $collection_key = 'entries'; + protected $internal_gapi_mappings = array( + ); + protected $entriesType = 'Google_Service_ShoppingContent_InventoryCustomBatchRequestEntry'; + protected $entriesDataType = 'array'; + + + public function setEntries($entries) + { + $this->entries = $entries; + } + public function getEntries() + { + return $this->entries; + } +} + +class Google_Service_ShoppingContent_InventoryCustomBatchRequestEntry extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $batchId; + protected $inventoryType = 'Google_Service_ShoppingContent_Inventory'; + protected $inventoryDataType = ''; + public $merchantId; + public $productId; + public $storeCode; + + + public function setBatchId($batchId) + { + $this->batchId = $batchId; + } + public function getBatchId() + { + return $this->batchId; + } + public function setInventory(Google_Service_ShoppingContent_Inventory $inventory) + { + $this->inventory = $inventory; + } + public function getInventory() + { + return $this->inventory; + } + public function setMerchantId($merchantId) + { + $this->merchantId = $merchantId; + } + public function getMerchantId() + { + return $this->merchantId; + } + public function setProductId($productId) + { + $this->productId = $productId; + } + public function getProductId() + { + return $this->productId; + } + public function setStoreCode($storeCode) + { + $this->storeCode = $storeCode; + } + public function getStoreCode() + { + return $this->storeCode; + } +} + +class Google_Service_ShoppingContent_InventoryCustomBatchResponse extends Google_Collection +{ + protected $collection_key = 'entries'; + protected $internal_gapi_mappings = array( + ); + protected $entriesType = 'Google_Service_ShoppingContent_InventoryCustomBatchResponseEntry'; + protected $entriesDataType = 'array'; + public $kind; + + + public function setEntries($entries) + { + $this->entries = $entries; + } + public function getEntries() + { + return $this->entries; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_ShoppingContent_InventoryCustomBatchResponseEntry extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $batchId; + protected $errorsType = 'Google_Service_ShoppingContent_Errors'; + protected $errorsDataType = ''; + public $kind; + + + public function setBatchId($batchId) + { + $this->batchId = $batchId; + } + public function getBatchId() + { + return $this->batchId; + } + public function setErrors(Google_Service_ShoppingContent_Errors $errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_ShoppingContent_InventorySetRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $availability; + protected $priceType = 'Google_Service_ShoppingContent_Price'; + protected $priceDataType = ''; + public $quantity; + protected $salePriceType = 'Google_Service_ShoppingContent_Price'; + protected $salePriceDataType = ''; + public $salePriceEffectiveDate; + public $sellOnGoogleQuantity; + + + public function setAvailability($availability) + { + $this->availability = $availability; + } + public function getAvailability() + { + return $this->availability; + } + public function setPrice(Google_Service_ShoppingContent_Price $price) + { + $this->price = $price; + } + public function getPrice() + { + return $this->price; + } + public function setQuantity($quantity) + { + $this->quantity = $quantity; + } + public function getQuantity() + { + return $this->quantity; + } + public function setSalePrice(Google_Service_ShoppingContent_Price $salePrice) + { + $this->salePrice = $salePrice; + } + public function getSalePrice() + { + return $this->salePrice; + } + public function setSalePriceEffectiveDate($salePriceEffectiveDate) + { + $this->salePriceEffectiveDate = $salePriceEffectiveDate; + } + public function getSalePriceEffectiveDate() + { + return $this->salePriceEffectiveDate; + } + public function setSellOnGoogleQuantity($sellOnGoogleQuantity) + { + $this->sellOnGoogleQuantity = $sellOnGoogleQuantity; + } + public function getSellOnGoogleQuantity() + { + return $this->sellOnGoogleQuantity; + } +} + +class Google_Service_ShoppingContent_InventorySetResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_ShoppingContent_LoyaltyPoints extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $name; + public $pointsValue; + public $ratio; + + + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setPointsValue($pointsValue) + { + $this->pointsValue = $pointsValue; + } + public function getPointsValue() + { + return $this->pointsValue; + } + public function setRatio($ratio) + { + $this->ratio = $ratio; + } + public function getRatio() + { + return $this->ratio; + } +} + +class Google_Service_ShoppingContent_Order extends Google_Collection +{ + protected $collection_key = 'shipments'; + protected $internal_gapi_mappings = array( + ); + public $acknowledged; + protected $customerType = 'Google_Service_ShoppingContent_OrderCustomer'; + protected $customerDataType = ''; + protected $deliveryDetailsType = 'Google_Service_ShoppingContent_OrderDeliveryDetails'; + protected $deliveryDetailsDataType = ''; + public $id; + public $kind; + protected $lineItemsType = 'Google_Service_ShoppingContent_OrderLineItem'; + protected $lineItemsDataType = 'array'; + public $merchantId; + public $merchantOrderId; + protected $netAmountType = 'Google_Service_ShoppingContent_Price'; + protected $netAmountDataType = ''; + protected $paymentMethodType = 'Google_Service_ShoppingContent_OrderPaymentMethod'; + protected $paymentMethodDataType = ''; + public $paymentStatus; + public $placedDate; + protected $refundsType = 'Google_Service_ShoppingContent_OrderRefund'; + protected $refundsDataType = 'array'; + protected $shipmentsType = 'Google_Service_ShoppingContent_OrderShipment'; + protected $shipmentsDataType = 'array'; + protected $shippingCostType = 'Google_Service_ShoppingContent_Price'; + protected $shippingCostDataType = ''; + protected $shippingCostTaxType = 'Google_Service_ShoppingContent_Price'; + protected $shippingCostTaxDataType = ''; + public $shippingOption; + public $status; + + + public function setAcknowledged($acknowledged) + { + $this->acknowledged = $acknowledged; + } + public function getAcknowledged() + { + return $this->acknowledged; + } + public function setCustomer(Google_Service_ShoppingContent_OrderCustomer $customer) + { + $this->customer = $customer; + } + public function getCustomer() + { + return $this->customer; + } + public function setDeliveryDetails(Google_Service_ShoppingContent_OrderDeliveryDetails $deliveryDetails) + { + $this->deliveryDetails = $deliveryDetails; + } + public function getDeliveryDetails() + { + return $this->deliveryDetails; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLineItems($lineItems) + { + $this->lineItems = $lineItems; + } + public function getLineItems() + { + return $this->lineItems; + } + public function setMerchantId($merchantId) + { + $this->merchantId = $merchantId; + } + public function getMerchantId() + { + return $this->merchantId; + } + public function setMerchantOrderId($merchantOrderId) + { + $this->merchantOrderId = $merchantOrderId; + } + public function getMerchantOrderId() + { + return $this->merchantOrderId; + } + public function setNetAmount(Google_Service_ShoppingContent_Price $netAmount) + { + $this->netAmount = $netAmount; + } + public function getNetAmount() + { + return $this->netAmount; + } + public function setPaymentMethod(Google_Service_ShoppingContent_OrderPaymentMethod $paymentMethod) + { + $this->paymentMethod = $paymentMethod; + } + public function getPaymentMethod() + { + return $this->paymentMethod; + } + public function setPaymentStatus($paymentStatus) + { + $this->paymentStatus = $paymentStatus; + } + public function getPaymentStatus() + { + return $this->paymentStatus; + } + public function setPlacedDate($placedDate) + { + $this->placedDate = $placedDate; + } + public function getPlacedDate() + { + return $this->placedDate; + } + public function setRefunds($refunds) + { + $this->refunds = $refunds; + } + public function getRefunds() + { + return $this->refunds; + } + public function setShipments($shipments) + { + $this->shipments = $shipments; + } + public function getShipments() + { + return $this->shipments; + } + public function setShippingCost(Google_Service_ShoppingContent_Price $shippingCost) + { + $this->shippingCost = $shippingCost; + } + public function getShippingCost() + { + return $this->shippingCost; + } + public function setShippingCostTax(Google_Service_ShoppingContent_Price $shippingCostTax) + { + $this->shippingCostTax = $shippingCostTax; + } + public function getShippingCostTax() + { + return $this->shippingCostTax; + } + public function setShippingOption($shippingOption) + { + $this->shippingOption = $shippingOption; + } + public function getShippingOption() + { + return $this->shippingOption; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} + +class Google_Service_ShoppingContent_OrderAddress extends Google_Collection +{ + protected $collection_key = 'streetAddress'; + protected $internal_gapi_mappings = array( + ); + public $country; + public $fullAddress; + public $isPostOfficeBox; + public $locality; + public $postalCode; + public $recipientName; + public $region; + public $streetAddress; + + + public function setCountry($country) + { + $this->country = $country; + } + public function getCountry() + { + return $this->country; + } + public function setFullAddress($fullAddress) + { + $this->fullAddress = $fullAddress; + } + public function getFullAddress() + { + return $this->fullAddress; + } + public function setIsPostOfficeBox($isPostOfficeBox) + { + $this->isPostOfficeBox = $isPostOfficeBox; + } + public function getIsPostOfficeBox() + { + return $this->isPostOfficeBox; + } + public function setLocality($locality) + { + $this->locality = $locality; + } + public function getLocality() + { + return $this->locality; + } + public function setPostalCode($postalCode) + { + $this->postalCode = $postalCode; + } + public function getPostalCode() + { + return $this->postalCode; + } + public function setRecipientName($recipientName) + { + $this->recipientName = $recipientName; + } + public function getRecipientName() + { + return $this->recipientName; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setStreetAddress($streetAddress) + { + $this->streetAddress = $streetAddress; + } + public function getStreetAddress() + { + return $this->streetAddress; + } +} + +class Google_Service_ShoppingContent_OrderCancellation extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $actor; + public $creationDate; + public $quantity; + public $reason; + public $reasonText; + + + public function setActor($actor) + { + $this->actor = $actor; + } + public function getActor() + { + return $this->actor; + } + public function setCreationDate($creationDate) + { + $this->creationDate = $creationDate; + } + public function getCreationDate() + { + return $this->creationDate; + } + public function setQuantity($quantity) + { + $this->quantity = $quantity; + } + public function getQuantity() + { + return $this->quantity; + } + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } + public function setReasonText($reasonText) + { + $this->reasonText = $reasonText; + } + public function getReasonText() + { + return $this->reasonText; + } +} + +class Google_Service_ShoppingContent_OrderCustomer extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $email; + public $explicitMarketingPreference; + public $fullName; + + + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setExplicitMarketingPreference($explicitMarketingPreference) + { + $this->explicitMarketingPreference = $explicitMarketingPreference; + } + public function getExplicitMarketingPreference() + { + return $this->explicitMarketingPreference; + } + public function setFullName($fullName) + { + $this->fullName = $fullName; + } + public function getFullName() + { + return $this->fullName; + } +} + +class Google_Service_ShoppingContent_OrderDeliveryDetails extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $addressType = 'Google_Service_ShoppingContent_OrderAddress'; + protected $addressDataType = ''; + public $phoneNumber; + + + public function setAddress(Google_Service_ShoppingContent_OrderAddress $address) + { + $this->address = $address; + } + public function getAddress() + { + return $this->address; + } + public function setPhoneNumber($phoneNumber) + { + $this->phoneNumber = $phoneNumber; + } + public function getPhoneNumber() + { + return $this->phoneNumber; + } +} + +class Google_Service_ShoppingContent_OrderLineItem extends Google_Collection +{ + protected $collection_key = 'returns'; + protected $internal_gapi_mappings = array( + ); + protected $cancellationsType = 'Google_Service_ShoppingContent_OrderCancellation'; + protected $cancellationsDataType = 'array'; + public $id; + protected $priceType = 'Google_Service_ShoppingContent_Price'; + protected $priceDataType = ''; + protected $productType = 'Google_Service_ShoppingContent_OrderLineItemProduct'; + protected $productDataType = ''; + public $quantityCanceled; + public $quantityDelivered; + public $quantityOrdered; + public $quantityPending; + public $quantityReturned; + public $quantityShipped; + protected $returnInfoType = 'Google_Service_ShoppingContent_OrderLineItemReturnInfo'; + protected $returnInfoDataType = ''; + protected $returnsType = 'Google_Service_ShoppingContent_OrderReturn'; + protected $returnsDataType = 'array'; + protected $shippingDetailsType = 'Google_Service_ShoppingContent_OrderLineItemShippingDetails'; + protected $shippingDetailsDataType = ''; + protected $taxType = 'Google_Service_ShoppingContent_Price'; + protected $taxDataType = ''; + + + public function setCancellations($cancellations) + { + $this->cancellations = $cancellations; + } + public function getCancellations() + { + return $this->cancellations; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setPrice(Google_Service_ShoppingContent_Price $price) + { + $this->price = $price; + } + public function getPrice() + { + return $this->price; + } + public function setProduct(Google_Service_ShoppingContent_OrderLineItemProduct $product) + { + $this->product = $product; + } + public function getProduct() + { + return $this->product; + } + public function setQuantityCanceled($quantityCanceled) + { + $this->quantityCanceled = $quantityCanceled; + } + public function getQuantityCanceled() + { + return $this->quantityCanceled; + } + public function setQuantityDelivered($quantityDelivered) + { + $this->quantityDelivered = $quantityDelivered; + } + public function getQuantityDelivered() + { + return $this->quantityDelivered; + } + public function setQuantityOrdered($quantityOrdered) + { + $this->quantityOrdered = $quantityOrdered; + } + public function getQuantityOrdered() + { + return $this->quantityOrdered; + } + public function setQuantityPending($quantityPending) + { + $this->quantityPending = $quantityPending; + } + public function getQuantityPending() + { + return $this->quantityPending; + } + public function setQuantityReturned($quantityReturned) + { + $this->quantityReturned = $quantityReturned; + } + public function getQuantityReturned() + { + return $this->quantityReturned; + } + public function setQuantityShipped($quantityShipped) + { + $this->quantityShipped = $quantityShipped; + } + public function getQuantityShipped() + { + return $this->quantityShipped; + } + public function setReturnInfo(Google_Service_ShoppingContent_OrderLineItemReturnInfo $returnInfo) + { + $this->returnInfo = $returnInfo; + } + public function getReturnInfo() + { + return $this->returnInfo; + } + public function setReturns($returns) + { + $this->returns = $returns; + } + public function getReturns() + { + return $this->returns; + } + public function setShippingDetails(Google_Service_ShoppingContent_OrderLineItemShippingDetails $shippingDetails) + { + $this->shippingDetails = $shippingDetails; + } + public function getShippingDetails() + { + return $this->shippingDetails; + } + public function setTax(Google_Service_ShoppingContent_Price $tax) + { + $this->tax = $tax; + } + public function getTax() + { + return $this->tax; + } +} + +class Google_Service_ShoppingContent_OrderLineItemProduct extends Google_Collection +{ + protected $collection_key = 'variantAttributes'; + protected $internal_gapi_mappings = array( + ); + public $brand; + public $channel; + public $condition; + public $contentLanguage; + public $gtin; + public $id; + public $imageLink; + public $itemGroupId; + public $mpn; + public $offerId; + protected $priceType = 'Google_Service_ShoppingContent_Price'; + protected $priceDataType = ''; + public $shownImage; + public $targetCountry; + public $title; + protected $variantAttributesType = 'Google_Service_ShoppingContent_OrderLineItemProductVariantAttribute'; + protected $variantAttributesDataType = 'array'; + + + public function setBrand($brand) + { + $this->brand = $brand; + } + public function getBrand() + { + return $this->brand; + } + public function setChannel($channel) + { + $this->channel = $channel; + } + public function getChannel() + { + return $this->channel; + } + public function setCondition($condition) + { + $this->condition = $condition; + } + public function getCondition() + { + return $this->condition; + } + public function setContentLanguage($contentLanguage) + { + $this->contentLanguage = $contentLanguage; + } + public function getContentLanguage() + { + return $this->contentLanguage; + } + public function setGtin($gtin) + { + $this->gtin = $gtin; + } + public function getGtin() + { + return $this->gtin; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setImageLink($imageLink) + { + $this->imageLink = $imageLink; + } + public function getImageLink() + { + return $this->imageLink; + } + public function setItemGroupId($itemGroupId) + { + $this->itemGroupId = $itemGroupId; + } + public function getItemGroupId() + { + return $this->itemGroupId; + } + public function setMpn($mpn) + { + $this->mpn = $mpn; + } + public function getMpn() + { + return $this->mpn; + } + public function setOfferId($offerId) + { + $this->offerId = $offerId; + } + public function getOfferId() + { + return $this->offerId; + } + public function setPrice(Google_Service_ShoppingContent_Price $price) + { + $this->price = $price; + } + public function getPrice() + { + return $this->price; + } + public function setShownImage($shownImage) + { + $this->shownImage = $shownImage; + } + public function getShownImage() + { + return $this->shownImage; + } + public function setTargetCountry($targetCountry) + { + $this->targetCountry = $targetCountry; + } + public function getTargetCountry() + { + return $this->targetCountry; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setVariantAttributes($variantAttributes) + { + $this->variantAttributes = $variantAttributes; + } + public function getVariantAttributes() + { + return $this->variantAttributes; + } +} + +class Google_Service_ShoppingContent_OrderLineItemProductVariantAttribute extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $dimension; + public $value; + + + public function setDimension($dimension) + { + $this->dimension = $dimension; + } + public function getDimension() + { + return $this->dimension; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_ShoppingContent_OrderLineItemReturnInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $daysToReturn; + public $isReturnable; + public $policyUrl; + + + public function setDaysToReturn($daysToReturn) + { + $this->daysToReturn = $daysToReturn; + } + public function getDaysToReturn() + { + return $this->daysToReturn; + } + public function setIsReturnable($isReturnable) + { + $this->isReturnable = $isReturnable; + } + public function getIsReturnable() + { + return $this->isReturnable; + } + public function setPolicyUrl($policyUrl) + { + $this->policyUrl = $policyUrl; + } + public function getPolicyUrl() + { + return $this->policyUrl; + } +} + +class Google_Service_ShoppingContent_OrderLineItemShippingDetails extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $deliverByDate; + protected $methodType = 'Google_Service_ShoppingContent_OrderLineItemShippingDetailsMethod'; + protected $methodDataType = ''; + public $shipByDate; + + + public function setDeliverByDate($deliverByDate) + { + $this->deliverByDate = $deliverByDate; + } + public function getDeliverByDate() + { + return $this->deliverByDate; + } + public function setMethod(Google_Service_ShoppingContent_OrderLineItemShippingDetailsMethod $method) + { + $this->method = $method; + } + public function getMethod() + { + return $this->method; + } + public function setShipByDate($shipByDate) + { + $this->shipByDate = $shipByDate; + } + public function getShipByDate() + { + return $this->shipByDate; + } +} + +class Google_Service_ShoppingContent_OrderLineItemShippingDetailsMethod extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $carrier; + public $maxDaysInTransit; + public $methodName; + public $minDaysInTransit; + + + public function setCarrier($carrier) + { + $this->carrier = $carrier; + } + public function getCarrier() + { + return $this->carrier; + } + public function setMaxDaysInTransit($maxDaysInTransit) + { + $this->maxDaysInTransit = $maxDaysInTransit; + } + public function getMaxDaysInTransit() + { + return $this->maxDaysInTransit; + } + public function setMethodName($methodName) + { + $this->methodName = $methodName; + } + public function getMethodName() + { + return $this->methodName; + } + public function setMinDaysInTransit($minDaysInTransit) + { + $this->minDaysInTransit = $minDaysInTransit; + } + public function getMinDaysInTransit() + { + return $this->minDaysInTransit; + } +} + +class Google_Service_ShoppingContent_OrderPaymentMethod extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $billingAddressType = 'Google_Service_ShoppingContent_OrderAddress'; + protected $billingAddressDataType = ''; + public $expirationMonth; + public $expirationYear; + public $lastFourDigits; + public $phoneNumber; + public $type; + + + public function setBillingAddress(Google_Service_ShoppingContent_OrderAddress $billingAddress) + { + $this->billingAddress = $billingAddress; + } + public function getBillingAddress() + { + return $this->billingAddress; + } + public function setExpirationMonth($expirationMonth) + { + $this->expirationMonth = $expirationMonth; + } + public function getExpirationMonth() + { + return $this->expirationMonth; + } + public function setExpirationYear($expirationYear) + { + $this->expirationYear = $expirationYear; + } + public function getExpirationYear() + { + return $this->expirationYear; + } + public function setLastFourDigits($lastFourDigits) + { + $this->lastFourDigits = $lastFourDigits; + } + public function getLastFourDigits() + { + return $this->lastFourDigits; + } + public function setPhoneNumber($phoneNumber) + { + $this->phoneNumber = $phoneNumber; + } + public function getPhoneNumber() + { + return $this->phoneNumber; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_ShoppingContent_OrderRefund extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $actor; + protected $amountType = 'Google_Service_ShoppingContent_Price'; + protected $amountDataType = ''; + public $creationDate; + public $reason; + public $reasonText; + + + public function setActor($actor) + { + $this->actor = $actor; + } + public function getActor() + { + return $this->actor; + } + public function setAmount(Google_Service_ShoppingContent_Price $amount) + { + $this->amount = $amount; + } + public function getAmount() + { + return $this->amount; + } + public function setCreationDate($creationDate) + { + $this->creationDate = $creationDate; + } + public function getCreationDate() + { + return $this->creationDate; + } + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } + public function setReasonText($reasonText) + { + $this->reasonText = $reasonText; + } + public function getReasonText() + { + return $this->reasonText; + } +} + +class Google_Service_ShoppingContent_OrderReturn extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $actor; + public $creationDate; + public $quantity; + public $reason; + public $reasonText; + + + public function setActor($actor) + { + $this->actor = $actor; + } + public function getActor() + { + return $this->actor; + } + public function setCreationDate($creationDate) + { + $this->creationDate = $creationDate; + } + public function getCreationDate() + { + return $this->creationDate; + } + public function setQuantity($quantity) + { + $this->quantity = $quantity; + } + public function getQuantity() + { + return $this->quantity; + } + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } + public function setReasonText($reasonText) + { + $this->reasonText = $reasonText; + } + public function getReasonText() + { + return $this->reasonText; + } +} + +class Google_Service_ShoppingContent_OrderShipment extends Google_Collection +{ + protected $collection_key = 'lineItems'; + protected $internal_gapi_mappings = array( + ); + public $carrier; + public $creationDate; + public $deliveryDate; + public $id; + protected $lineItemsType = 'Google_Service_ShoppingContent_OrderShipmentLineItemShipment'; + protected $lineItemsDataType = 'array'; + public $status; + public $trackingId; + + + public function setCarrier($carrier) + { + $this->carrier = $carrier; + } + public function getCarrier() + { + return $this->carrier; + } + public function setCreationDate($creationDate) + { + $this->creationDate = $creationDate; + } + public function getCreationDate() + { + return $this->creationDate; + } + public function setDeliveryDate($deliveryDate) + { + $this->deliveryDate = $deliveryDate; + } + public function getDeliveryDate() + { + return $this->deliveryDate; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setLineItems($lineItems) + { + $this->lineItems = $lineItems; + } + public function getLineItems() + { + return $this->lineItems; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setTrackingId($trackingId) + { + $this->trackingId = $trackingId; + } + public function getTrackingId() + { + return $this->trackingId; + } +} + +class Google_Service_ShoppingContent_OrderShipmentLineItemShipment extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $lineItemId; + public $quantity; + + + public function setLineItemId($lineItemId) + { + $this->lineItemId = $lineItemId; + } + public function getLineItemId() + { + return $this->lineItemId; + } + public function setQuantity($quantity) + { + $this->quantity = $quantity; + } + public function getQuantity() + { + return $this->quantity; + } +} + +class Google_Service_ShoppingContent_OrdersAcknowledgeRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $operationId; + + + public function setOperationId($operationId) + { + $this->operationId = $operationId; + } + public function getOperationId() + { + return $this->operationId; + } +} + +class Google_Service_ShoppingContent_OrdersAcknowledgeResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $executionStatus; + public $kind; + + + public function setExecutionStatus($executionStatus) + { + $this->executionStatus = $executionStatus; + } + public function getExecutionStatus() + { + return $this->executionStatus; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_ShoppingContent_OrdersAdvanceTestOrderResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_ShoppingContent_OrdersCancelLineItemRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $lineItemId; + public $operationId; + public $quantity; + public $reason; + public $reasonText; + + + public function setLineItemId($lineItemId) + { + $this->lineItemId = $lineItemId; + } + public function getLineItemId() + { + return $this->lineItemId; + } + public function setOperationId($operationId) + { + $this->operationId = $operationId; + } + public function getOperationId() + { + return $this->operationId; + } + public function setQuantity($quantity) + { + $this->quantity = $quantity; + } + public function getQuantity() + { + return $this->quantity; + } + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } + public function setReasonText($reasonText) + { + $this->reasonText = $reasonText; + } + public function getReasonText() + { + return $this->reasonText; + } +} + +class Google_Service_ShoppingContent_OrdersCancelLineItemResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $executionStatus; + public $kind; + + + public function setExecutionStatus($executionStatus) + { + $this->executionStatus = $executionStatus; + } + public function getExecutionStatus() + { + return $this->executionStatus; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_ShoppingContent_OrdersCancelRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $operationId; + public $reason; + public $reasonText; + + + public function setOperationId($operationId) + { + $this->operationId = $operationId; + } + public function getOperationId() + { + return $this->operationId; + } + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } + public function setReasonText($reasonText) + { + $this->reasonText = $reasonText; + } + public function getReasonText() + { + return $this->reasonText; + } +} + +class Google_Service_ShoppingContent_OrdersCancelResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $executionStatus; + public $kind; + + + public function setExecutionStatus($executionStatus) + { + $this->executionStatus = $executionStatus; + } + public function getExecutionStatus() + { + return $this->executionStatus; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_ShoppingContent_OrdersCreateTestOrderRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $templateName; + protected $testOrderType = 'Google_Service_ShoppingContent_TestOrder'; + protected $testOrderDataType = ''; + + + public function setTemplateName($templateName) + { + $this->templateName = $templateName; + } + public function getTemplateName() + { + return $this->templateName; + } + public function setTestOrder(Google_Service_ShoppingContent_TestOrder $testOrder) + { + $this->testOrder = $testOrder; + } + public function getTestOrder() + { + return $this->testOrder; + } +} + +class Google_Service_ShoppingContent_OrdersCreateTestOrderResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + public $orderId; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setOrderId($orderId) + { + $this->orderId = $orderId; + } + public function getOrderId() + { + return $this->orderId; + } +} + +class Google_Service_ShoppingContent_OrdersCustomBatchRequest extends Google_Collection +{ + protected $collection_key = 'entries'; + protected $internal_gapi_mappings = array( + ); + protected $entriesType = 'Google_Service_ShoppingContent_OrdersCustomBatchRequestEntry'; + protected $entriesDataType = 'array'; + + + public function setEntries($entries) + { + $this->entries = $entries; + } + public function getEntries() + { + return $this->entries; + } +} + +class Google_Service_ShoppingContent_OrdersCustomBatchRequestEntry extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $batchId; + protected $cancelType = 'Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryCancel'; + protected $cancelDataType = ''; + protected $cancelLineItemType = 'Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryCancelLineItem'; + protected $cancelLineItemDataType = ''; + public $merchantId; + public $merchantOrderId; + public $method; + public $operationId; + public $orderId; + protected $refundType = 'Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryRefund'; + protected $refundDataType = ''; + protected $returnLineItemType = 'Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryReturnLineItem'; + protected $returnLineItemDataType = ''; + protected $shipLineItemsType = 'Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryShipLineItems'; + protected $shipLineItemsDataType = ''; + protected $updateShipmentType = 'Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryUpdateShipment'; + protected $updateShipmentDataType = ''; + + + public function setBatchId($batchId) + { + $this->batchId = $batchId; + } + public function getBatchId() + { + return $this->batchId; + } + public function setCancel(Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryCancel $cancel) + { + $this->cancel = $cancel; + } + public function getCancel() + { + return $this->cancel; + } + public function setCancelLineItem(Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryCancelLineItem $cancelLineItem) + { + $this->cancelLineItem = $cancelLineItem; + } + public function getCancelLineItem() + { + return $this->cancelLineItem; + } + public function setMerchantId($merchantId) + { + $this->merchantId = $merchantId; + } + public function getMerchantId() + { + return $this->merchantId; + } + public function setMerchantOrderId($merchantOrderId) + { + $this->merchantOrderId = $merchantOrderId; + } + public function getMerchantOrderId() + { + return $this->merchantOrderId; + } + public function setMethod($method) + { + $this->method = $method; + } + public function getMethod() + { + return $this->method; + } + public function setOperationId($operationId) + { + $this->operationId = $operationId; + } + public function getOperationId() + { + return $this->operationId; + } + public function setOrderId($orderId) + { + $this->orderId = $orderId; + } + public function getOrderId() + { + return $this->orderId; + } + public function setRefund(Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryRefund $refund) + { + $this->refund = $refund; + } + public function getRefund() + { + return $this->refund; + } + public function setReturnLineItem(Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryReturnLineItem $returnLineItem) + { + $this->returnLineItem = $returnLineItem; + } + public function getReturnLineItem() + { + return $this->returnLineItem; + } + public function setShipLineItems(Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryShipLineItems $shipLineItems) + { + $this->shipLineItems = $shipLineItems; + } + public function getShipLineItems() + { + return $this->shipLineItems; + } + public function setUpdateShipment(Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryUpdateShipment $updateShipment) + { + $this->updateShipment = $updateShipment; + } + public function getUpdateShipment() + { + return $this->updateShipment; + } +} + +class Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryCancel extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $reason; + public $reasonText; + + + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } + public function setReasonText($reasonText) + { + $this->reasonText = $reasonText; + } + public function getReasonText() + { + return $this->reasonText; + } +} + +class Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryCancelLineItem extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $lineItemId; + public $quantity; + public $reason; + public $reasonText; + + + public function setLineItemId($lineItemId) + { + $this->lineItemId = $lineItemId; + } + public function getLineItemId() + { + return $this->lineItemId; + } + public function setQuantity($quantity) + { + $this->quantity = $quantity; + } + public function getQuantity() + { + return $this->quantity; + } + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } + public function setReasonText($reasonText) + { + $this->reasonText = $reasonText; + } + public function getReasonText() + { + return $this->reasonText; + } +} + +class Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryRefund extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $amountType = 'Google_Service_ShoppingContent_Price'; + protected $amountDataType = ''; + public $reason; + public $reasonText; + + + public function setAmount(Google_Service_ShoppingContent_Price $amount) + { + $this->amount = $amount; + } + public function getAmount() + { + return $this->amount; + } + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } + public function setReasonText($reasonText) + { + $this->reasonText = $reasonText; + } + public function getReasonText() + { + return $this->reasonText; + } +} + +class Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryReturnLineItem extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $lineItemId; + public $quantity; + public $reason; + public $reasonText; + + + public function setLineItemId($lineItemId) + { + $this->lineItemId = $lineItemId; + } + public function getLineItemId() + { + return $this->lineItemId; + } + public function setQuantity($quantity) + { + $this->quantity = $quantity; + } + public function getQuantity() + { + return $this->quantity; + } + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } + public function setReasonText($reasonText) + { + $this->reasonText = $reasonText; + } + public function getReasonText() + { + return $this->reasonText; + } +} + +class Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryShipLineItems extends Google_Collection +{ + protected $collection_key = 'lineItems'; + protected $internal_gapi_mappings = array( + ); + public $carrier; + protected $lineItemsType = 'Google_Service_ShoppingContent_OrderShipmentLineItemShipment'; + protected $lineItemsDataType = 'array'; + public $shipmentId; + public $trackingId; + + + public function setCarrier($carrier) + { + $this->carrier = $carrier; + } + public function getCarrier() + { + return $this->carrier; + } + public function setLineItems($lineItems) + { + $this->lineItems = $lineItems; + } + public function getLineItems() + { + return $this->lineItems; + } + public function setShipmentId($shipmentId) + { + $this->shipmentId = $shipmentId; + } + public function getShipmentId() + { + return $this->shipmentId; + } + public function setTrackingId($trackingId) + { + $this->trackingId = $trackingId; + } + public function getTrackingId() + { + return $this->trackingId; + } +} + +class Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryUpdateShipment extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $carrier; + public $shipmentId; + public $status; + public $trackingId; + + + public function setCarrier($carrier) + { + $this->carrier = $carrier; + } + public function getCarrier() + { + return $this->carrier; + } + public function setShipmentId($shipmentId) + { + $this->shipmentId = $shipmentId; + } + public function getShipmentId() + { + return $this->shipmentId; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setTrackingId($trackingId) + { + $this->trackingId = $trackingId; + } + public function getTrackingId() + { + return $this->trackingId; + } +} + +class Google_Service_ShoppingContent_OrdersCustomBatchResponse extends Google_Collection +{ + protected $collection_key = 'entries'; + protected $internal_gapi_mappings = array( + ); + protected $entriesType = 'Google_Service_ShoppingContent_OrdersCustomBatchResponseEntry'; + protected $entriesDataType = 'array'; + public $kind; + + + public function setEntries($entries) + { + $this->entries = $entries; + } + public function getEntries() + { + return $this->entries; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_ShoppingContent_OrdersCustomBatchResponseEntry extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $batchId; + protected $errorsType = 'Google_Service_ShoppingContent_Errors'; + protected $errorsDataType = ''; + public $executionStatus; + public $kind; + protected $orderType = 'Google_Service_ShoppingContent_Order'; + protected $orderDataType = ''; + + + public function setBatchId($batchId) + { + $this->batchId = $batchId; + } + public function getBatchId() + { + return $this->batchId; + } + public function setErrors(Google_Service_ShoppingContent_Errors $errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } + public function setExecutionStatus($executionStatus) + { + $this->executionStatus = $executionStatus; + } + public function getExecutionStatus() + { + return $this->executionStatus; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setOrder(Google_Service_ShoppingContent_Order $order) + { + $this->order = $order; + } + public function getOrder() + { + return $this->order; + } +} + +class Google_Service_ShoppingContent_OrdersGetByMerchantOrderIdResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $orderType = 'Google_Service_ShoppingContent_Order'; + protected $orderDataType = ''; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setOrder(Google_Service_ShoppingContent_Order $order) + { + $this->order = $order; + } + public function getOrder() + { + return $this->order; + } +} + +class Google_Service_ShoppingContent_OrdersGetTestOrderTemplateResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + protected $templateType = 'Google_Service_ShoppingContent_TestOrder'; + protected $templateDataType = ''; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setTemplate(Google_Service_ShoppingContent_TestOrder $template) + { + $this->template = $template; + } + public function getTemplate() + { + return $this->template; + } +} + +class Google_Service_ShoppingContent_OrdersListResponse extends Google_Collection +{ + protected $collection_key = 'resources'; + protected $internal_gapi_mappings = array( + ); + public $kind; + public $nextPageToken; + protected $resourcesType = 'Google_Service_ShoppingContent_Order'; + protected $resourcesDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setResources($resources) + { + $this->resources = $resources; + } + public function getResources() + { + return $this->resources; + } +} + +class Google_Service_ShoppingContent_OrdersRefundRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $amountType = 'Google_Service_ShoppingContent_Price'; + protected $amountDataType = ''; + public $operationId; + public $reason; + public $reasonText; + + + public function setAmount(Google_Service_ShoppingContent_Price $amount) + { + $this->amount = $amount; + } + public function getAmount() + { + return $this->amount; + } + public function setOperationId($operationId) + { + $this->operationId = $operationId; + } + public function getOperationId() + { + return $this->operationId; + } + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } + public function setReasonText($reasonText) + { + $this->reasonText = $reasonText; + } + public function getReasonText() + { + return $this->reasonText; + } +} + +class Google_Service_ShoppingContent_OrdersRefundResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $executionStatus; + public $kind; + + + public function setExecutionStatus($executionStatus) + { + $this->executionStatus = $executionStatus; + } + public function getExecutionStatus() + { + return $this->executionStatus; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_ShoppingContent_OrdersReturnLineItemRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $lineItemId; + public $operationId; + public $quantity; + public $reason; + public $reasonText; + + + public function setLineItemId($lineItemId) + { + $this->lineItemId = $lineItemId; + } + public function getLineItemId() + { + return $this->lineItemId; + } + public function setOperationId($operationId) + { + $this->operationId = $operationId; + } + public function getOperationId() + { + return $this->operationId; + } + public function setQuantity($quantity) + { + $this->quantity = $quantity; + } + public function getQuantity() + { + return $this->quantity; + } + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } + public function setReasonText($reasonText) + { + $this->reasonText = $reasonText; + } + public function getReasonText() + { + return $this->reasonText; + } +} + +class Google_Service_ShoppingContent_OrdersReturnLineItemResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $executionStatus; + public $kind; + + + public function setExecutionStatus($executionStatus) + { + $this->executionStatus = $executionStatus; + } + public function getExecutionStatus() + { + return $this->executionStatus; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_ShoppingContent_OrdersShipLineItemsRequest extends Google_Collection +{ + protected $collection_key = 'lineItems'; + protected $internal_gapi_mappings = array( + ); + public $carrier; + protected $lineItemsType = 'Google_Service_ShoppingContent_OrderShipmentLineItemShipment'; + protected $lineItemsDataType = 'array'; + public $operationId; + public $shipmentId; + public $trackingId; + + + public function setCarrier($carrier) + { + $this->carrier = $carrier; + } + public function getCarrier() + { + return $this->carrier; + } + public function setLineItems($lineItems) + { + $this->lineItems = $lineItems; + } + public function getLineItems() + { + return $this->lineItems; + } + public function setOperationId($operationId) + { + $this->operationId = $operationId; + } + public function getOperationId() + { + return $this->operationId; + } + public function setShipmentId($shipmentId) + { + $this->shipmentId = $shipmentId; + } + public function getShipmentId() + { + return $this->shipmentId; + } + public function setTrackingId($trackingId) + { + $this->trackingId = $trackingId; + } + public function getTrackingId() + { + return $this->trackingId; + } +} + +class Google_Service_ShoppingContent_OrdersShipLineItemsResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $executionStatus; + public $kind; + + + public function setExecutionStatus($executionStatus) + { + $this->executionStatus = $executionStatus; + } + public function getExecutionStatus() + { + return $this->executionStatus; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_ShoppingContent_OrdersUpdateMerchantOrderIdRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $merchantOrderId; + public $operationId; + + + public function setMerchantOrderId($merchantOrderId) + { + $this->merchantOrderId = $merchantOrderId; + } + public function getMerchantOrderId() + { + return $this->merchantOrderId; + } + public function setOperationId($operationId) + { + $this->operationId = $operationId; + } + public function getOperationId() + { + return $this->operationId; + } +} + +class Google_Service_ShoppingContent_OrdersUpdateMerchantOrderIdResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $executionStatus; + public $kind; + + + public function setExecutionStatus($executionStatus) + { + $this->executionStatus = $executionStatus; + } + public function getExecutionStatus() + { + return $this->executionStatus; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_ShoppingContent_OrdersUpdateShipmentRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $carrier; + public $operationId; + public $shipmentId; + public $status; + public $trackingId; + + + public function setCarrier($carrier) + { + $this->carrier = $carrier; + } + public function getCarrier() + { + return $this->carrier; + } + public function setOperationId($operationId) + { + $this->operationId = $operationId; + } + public function getOperationId() + { + return $this->operationId; + } + public function setShipmentId($shipmentId) + { + $this->shipmentId = $shipmentId; + } + public function getShipmentId() + { + return $this->shipmentId; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setTrackingId($trackingId) + { + $this->trackingId = $trackingId; + } + public function getTrackingId() + { + return $this->trackingId; + } +} + +class Google_Service_ShoppingContent_OrdersUpdateShipmentResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $executionStatus; + public $kind; + + + public function setExecutionStatus($executionStatus) + { + $this->executionStatus = $executionStatus; + } + public function getExecutionStatus() + { + return $this->executionStatus; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_ShoppingContent_Price extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $currency; + public $value; + + + public function setCurrency($currency) + { + $this->currency = $currency; + } + public function getCurrency() + { + return $this->currency; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_ShoppingContent_Product extends Google_Collection +{ + protected $collection_key = 'warnings'; + protected $internal_gapi_mappings = array( + ); + public $additionalImageLinks; + public $adult; + public $adwordsGrouping; + public $adwordsLabels; + public $adwordsRedirect; + public $ageGroup; + protected $aspectsType = 'Google_Service_ShoppingContent_ProductAspect'; + protected $aspectsDataType = 'array'; + public $availability; + public $availabilityDate; + public $brand; + public $channel; + public $color; + public $condition; + public $contentLanguage; + protected $customAttributesType = 'Google_Service_ShoppingContent_ProductCustomAttribute'; + protected $customAttributesDataType = 'array'; + protected $customGroupsType = 'Google_Service_ShoppingContent_ProductCustomGroup'; + protected $customGroupsDataType = 'array'; + public $customLabel0; + public $customLabel1; + public $customLabel2; + public $customLabel3; + public $customLabel4; + public $description; + protected $destinationsType = 'Google_Service_ShoppingContent_ProductDestination'; + protected $destinationsDataType = 'array'; + public $displayAdsId; + public $displayAdsLink; + public $displayAdsSimilarIds; + public $displayAdsTitle; + public $displayAdsValue; + public $energyEfficiencyClass; + public $expirationDate; + public $gender; + public $googleProductCategory; + public $gtin; + public $id; + public $identifierExists; + public $imageLink; + protected $installmentType = 'Google_Service_ShoppingContent_ProductInstallment'; + protected $installmentDataType = ''; + public $isBundle; + public $itemGroupId; + public $kind; + public $link; + protected $loyaltyPointsType = 'Google_Service_ShoppingContent_LoyaltyPoints'; + protected $loyaltyPointsDataType = ''; + public $material; + public $mobileLink; + public $mpn; + public $multipack; + public $offerId; + public $onlineOnly; + public $pattern; + protected $priceType = 'Google_Service_ShoppingContent_Price'; + protected $priceDataType = ''; + public $productType; + protected $salePriceType = 'Google_Service_ShoppingContent_Price'; + protected $salePriceDataType = ''; + public $salePriceEffectiveDate; + public $sellOnGoogleQuantity; + protected $shippingType = 'Google_Service_ShoppingContent_ProductShipping'; + protected $shippingDataType = 'array'; + protected $shippingHeightType = 'Google_Service_ShoppingContent_ProductShippingDimension'; + protected $shippingHeightDataType = ''; + public $shippingLabel; + protected $shippingLengthType = 'Google_Service_ShoppingContent_ProductShippingDimension'; + protected $shippingLengthDataType = ''; + protected $shippingWeightType = 'Google_Service_ShoppingContent_ProductShippingWeight'; + protected $shippingWeightDataType = ''; + protected $shippingWidthType = 'Google_Service_ShoppingContent_ProductShippingDimension'; + protected $shippingWidthDataType = ''; + public $sizeSystem; + public $sizeType; + public $sizes; + public $targetCountry; + protected $taxesType = 'Google_Service_ShoppingContent_ProductTax'; + protected $taxesDataType = 'array'; + public $title; + protected $unitPricingBaseMeasureType = 'Google_Service_ShoppingContent_ProductUnitPricingBaseMeasure'; + protected $unitPricingBaseMeasureDataType = ''; + protected $unitPricingMeasureType = 'Google_Service_ShoppingContent_ProductUnitPricingMeasure'; + protected $unitPricingMeasureDataType = ''; + public $validatedDestinations; + protected $warningsType = 'Google_Service_ShoppingContent_Error'; + protected $warningsDataType = 'array'; + + + public function setAdditionalImageLinks($additionalImageLinks) + { + $this->additionalImageLinks = $additionalImageLinks; + } + public function getAdditionalImageLinks() + { + return $this->additionalImageLinks; + } + public function setAdult($adult) + { + $this->adult = $adult; + } + public function getAdult() + { + return $this->adult; + } + public function setAdwordsGrouping($adwordsGrouping) + { + $this->adwordsGrouping = $adwordsGrouping; + } + public function getAdwordsGrouping() + { + return $this->adwordsGrouping; + } + public function setAdwordsLabels($adwordsLabels) + { + $this->adwordsLabels = $adwordsLabels; + } + public function getAdwordsLabels() + { + return $this->adwordsLabels; + } + public function setAdwordsRedirect($adwordsRedirect) + { + $this->adwordsRedirect = $adwordsRedirect; + } + public function getAdwordsRedirect() + { + return $this->adwordsRedirect; + } + public function setAgeGroup($ageGroup) + { + $this->ageGroup = $ageGroup; + } + public function getAgeGroup() + { + return $this->ageGroup; + } + public function setAspects($aspects) + { + $this->aspects = $aspects; + } + public function getAspects() + { + return $this->aspects; + } + public function setAvailability($availability) + { + $this->availability = $availability; + } + public function getAvailability() + { + return $this->availability; + } + public function setAvailabilityDate($availabilityDate) + { + $this->availabilityDate = $availabilityDate; + } + public function getAvailabilityDate() + { + return $this->availabilityDate; + } + public function setBrand($brand) + { + $this->brand = $brand; + } + public function getBrand() + { + return $this->brand; + } + public function setChannel($channel) + { + $this->channel = $channel; + } + public function getChannel() + { + return $this->channel; + } + public function setColor($color) + { + $this->color = $color; + } + public function getColor() + { + return $this->color; + } + public function setCondition($condition) + { + $this->condition = $condition; + } + public function getCondition() + { + return $this->condition; + } + public function setContentLanguage($contentLanguage) + { + $this->contentLanguage = $contentLanguage; + } + public function getContentLanguage() + { + return $this->contentLanguage; + } + public function setCustomAttributes($customAttributes) + { + $this->customAttributes = $customAttributes; + } + public function getCustomAttributes() + { + return $this->customAttributes; + } + public function setCustomGroups($customGroups) + { + $this->customGroups = $customGroups; + } + public function getCustomGroups() + { + return $this->customGroups; + } + public function setCustomLabel0($customLabel0) + { + $this->customLabel0 = $customLabel0; + } + public function getCustomLabel0() + { + return $this->customLabel0; + } + public function setCustomLabel1($customLabel1) + { + $this->customLabel1 = $customLabel1; + } + public function getCustomLabel1() + { + return $this->customLabel1; + } + public function setCustomLabel2($customLabel2) + { + $this->customLabel2 = $customLabel2; + } + public function getCustomLabel2() + { + return $this->customLabel2; + } + public function setCustomLabel3($customLabel3) + { + $this->customLabel3 = $customLabel3; + } + public function getCustomLabel3() + { + return $this->customLabel3; + } + public function setCustomLabel4($customLabel4) + { + $this->customLabel4 = $customLabel4; + } + public function getCustomLabel4() + { + return $this->customLabel4; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setDestinations($destinations) + { + $this->destinations = $destinations; + } + public function getDestinations() + { + return $this->destinations; + } + public function setDisplayAdsId($displayAdsId) + { + $this->displayAdsId = $displayAdsId; + } + public function getDisplayAdsId() + { + return $this->displayAdsId; + } + public function setDisplayAdsLink($displayAdsLink) + { + $this->displayAdsLink = $displayAdsLink; + } + public function getDisplayAdsLink() + { + return $this->displayAdsLink; + } + public function setDisplayAdsSimilarIds($displayAdsSimilarIds) + { + $this->displayAdsSimilarIds = $displayAdsSimilarIds; + } + public function getDisplayAdsSimilarIds() + { + return $this->displayAdsSimilarIds; + } + public function setDisplayAdsTitle($displayAdsTitle) + { + $this->displayAdsTitle = $displayAdsTitle; + } + public function getDisplayAdsTitle() + { + return $this->displayAdsTitle; + } + public function setDisplayAdsValue($displayAdsValue) + { + $this->displayAdsValue = $displayAdsValue; + } + public function getDisplayAdsValue() + { + return $this->displayAdsValue; + } + public function setEnergyEfficiencyClass($energyEfficiencyClass) + { + $this->energyEfficiencyClass = $energyEfficiencyClass; + } + public function getEnergyEfficiencyClass() + { + return $this->energyEfficiencyClass; + } + public function setExpirationDate($expirationDate) + { + $this->expirationDate = $expirationDate; + } + public function getExpirationDate() + { + return $this->expirationDate; + } + public function setGender($gender) + { + $this->gender = $gender; + } + public function getGender() + { + return $this->gender; + } + public function setGoogleProductCategory($googleProductCategory) + { + $this->googleProductCategory = $googleProductCategory; + } + public function getGoogleProductCategory() + { + return $this->googleProductCategory; + } + public function setGtin($gtin) + { + $this->gtin = $gtin; + } + public function getGtin() + { + return $this->gtin; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIdentifierExists($identifierExists) + { + $this->identifierExists = $identifierExists; + } + public function getIdentifierExists() + { + return $this->identifierExists; + } + public function setImageLink($imageLink) + { + $this->imageLink = $imageLink; + } + public function getImageLink() + { + return $this->imageLink; + } + public function setInstallment(Google_Service_ShoppingContent_ProductInstallment $installment) + { + $this->installment = $installment; + } + public function getInstallment() + { + return $this->installment; + } + public function setIsBundle($isBundle) + { + $this->isBundle = $isBundle; + } + public function getIsBundle() + { + return $this->isBundle; + } + public function setItemGroupId($itemGroupId) + { + $this->itemGroupId = $itemGroupId; + } + public function getItemGroupId() + { + return $this->itemGroupId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLink($link) + { + $this->link = $link; + } + public function getLink() + { + return $this->link; + } + public function setLoyaltyPoints(Google_Service_ShoppingContent_LoyaltyPoints $loyaltyPoints) + { + $this->loyaltyPoints = $loyaltyPoints; + } + public function getLoyaltyPoints() + { + return $this->loyaltyPoints; + } + public function setMaterial($material) + { + $this->material = $material; + } + public function getMaterial() + { + return $this->material; + } + public function setMobileLink($mobileLink) + { + $this->mobileLink = $mobileLink; + } + public function getMobileLink() + { + return $this->mobileLink; + } + public function setMpn($mpn) + { + $this->mpn = $mpn; + } + public function getMpn() + { + return $this->mpn; + } + public function setMultipack($multipack) + { + $this->multipack = $multipack; + } + public function getMultipack() + { + return $this->multipack; + } + public function setOfferId($offerId) + { + $this->offerId = $offerId; + } + public function getOfferId() + { + return $this->offerId; + } + public function setOnlineOnly($onlineOnly) + { + $this->onlineOnly = $onlineOnly; + } + public function getOnlineOnly() + { + return $this->onlineOnly; + } + public function setPattern($pattern) + { + $this->pattern = $pattern; + } + public function getPattern() + { + return $this->pattern; + } + public function setPrice(Google_Service_ShoppingContent_Price $price) + { + $this->price = $price; + } + public function getPrice() + { + return $this->price; + } + public function setProductType($productType) + { + $this->productType = $productType; + } + public function getProductType() + { + return $this->productType; + } + public function setSalePrice(Google_Service_ShoppingContent_Price $salePrice) + { + $this->salePrice = $salePrice; + } + public function getSalePrice() + { + return $this->salePrice; + } + public function setSalePriceEffectiveDate($salePriceEffectiveDate) + { + $this->salePriceEffectiveDate = $salePriceEffectiveDate; + } + public function getSalePriceEffectiveDate() + { + return $this->salePriceEffectiveDate; + } + public function setSellOnGoogleQuantity($sellOnGoogleQuantity) + { + $this->sellOnGoogleQuantity = $sellOnGoogleQuantity; + } + public function getSellOnGoogleQuantity() + { + return $this->sellOnGoogleQuantity; + } + public function setShipping($shipping) + { + $this->shipping = $shipping; + } + public function getShipping() + { + return $this->shipping; + } + public function setShippingHeight(Google_Service_ShoppingContent_ProductShippingDimension $shippingHeight) + { + $this->shippingHeight = $shippingHeight; + } + public function getShippingHeight() + { + return $this->shippingHeight; + } + public function setShippingLabel($shippingLabel) + { + $this->shippingLabel = $shippingLabel; + } + public function getShippingLabel() + { + return $this->shippingLabel; + } + public function setShippingLength(Google_Service_ShoppingContent_ProductShippingDimension $shippingLength) + { + $this->shippingLength = $shippingLength; + } + public function getShippingLength() + { + return $this->shippingLength; + } + public function setShippingWeight(Google_Service_ShoppingContent_ProductShippingWeight $shippingWeight) + { + $this->shippingWeight = $shippingWeight; + } + public function getShippingWeight() + { + return $this->shippingWeight; + } + public function setShippingWidth(Google_Service_ShoppingContent_ProductShippingDimension $shippingWidth) + { + $this->shippingWidth = $shippingWidth; + } + public function getShippingWidth() + { + return $this->shippingWidth; + } + public function setSizeSystem($sizeSystem) + { + $this->sizeSystem = $sizeSystem; + } + public function getSizeSystem() + { + return $this->sizeSystem; + } + public function setSizeType($sizeType) + { + $this->sizeType = $sizeType; + } + public function getSizeType() + { + return $this->sizeType; + } + public function setSizes($sizes) + { + $this->sizes = $sizes; + } + public function getSizes() + { + return $this->sizes; + } + public function setTargetCountry($targetCountry) + { + $this->targetCountry = $targetCountry; + } + public function getTargetCountry() + { + return $this->targetCountry; + } + public function setTaxes($taxes) + { + $this->taxes = $taxes; + } + public function getTaxes() + { + return $this->taxes; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setUnitPricingBaseMeasure(Google_Service_ShoppingContent_ProductUnitPricingBaseMeasure $unitPricingBaseMeasure) + { + $this->unitPricingBaseMeasure = $unitPricingBaseMeasure; + } + public function getUnitPricingBaseMeasure() + { + return $this->unitPricingBaseMeasure; + } + public function setUnitPricingMeasure(Google_Service_ShoppingContent_ProductUnitPricingMeasure $unitPricingMeasure) + { + $this->unitPricingMeasure = $unitPricingMeasure; + } + public function getUnitPricingMeasure() + { + return $this->unitPricingMeasure; + } + public function setValidatedDestinations($validatedDestinations) + { + $this->validatedDestinations = $validatedDestinations; + } + public function getValidatedDestinations() + { + return $this->validatedDestinations; + } + public function setWarnings($warnings) + { + $this->warnings = $warnings; + } + public function getWarnings() + { + return $this->warnings; + } +} + +class Google_Service_ShoppingContent_ProductAspect extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $aspectName; + public $destinationName; + public $intention; + + + public function setAspectName($aspectName) + { + $this->aspectName = $aspectName; + } + public function getAspectName() + { + return $this->aspectName; + } + public function setDestinationName($destinationName) + { + $this->destinationName = $destinationName; + } + public function getDestinationName() + { + return $this->destinationName; + } + public function setIntention($intention) + { + $this->intention = $intention; + } + public function getIntention() + { + return $this->intention; + } +} + +class Google_Service_ShoppingContent_ProductCustomAttribute extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $name; + public $type; + public $unit; + public $value; + + + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUnit($unit) + { + $this->unit = $unit; + } + public function getUnit() + { + return $this->unit; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_ShoppingContent_ProductCustomGroup extends Google_Collection +{ + protected $collection_key = 'attributes'; + protected $internal_gapi_mappings = array( + ); + protected $attributesType = 'Google_Service_ShoppingContent_ProductCustomAttribute'; + protected $attributesDataType = 'array'; + public $name; + + + public function setAttributes($attributes) + { + $this->attributes = $attributes; + } + public function getAttributes() + { + return $this->attributes; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_ShoppingContent_ProductDestination extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $destinationName; + public $intention; + + + public function setDestinationName($destinationName) + { + $this->destinationName = $destinationName; + } + public function getDestinationName() + { + return $this->destinationName; + } + public function setIntention($intention) + { + $this->intention = $intention; + } + public function getIntention() + { + return $this->intention; + } +} + +class Google_Service_ShoppingContent_ProductInstallment extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $amountType = 'Google_Service_ShoppingContent_Price'; + protected $amountDataType = ''; + public $months; + + + public function setAmount(Google_Service_ShoppingContent_Price $amount) + { + $this->amount = $amount; + } + public function getAmount() + { + return $this->amount; + } + public function setMonths($months) + { + $this->months = $months; + } + public function getMonths() + { + return $this->months; + } +} + +class Google_Service_ShoppingContent_ProductShipping extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $country; + public $locationGroupName; + public $locationId; + public $postalCode; + protected $priceType = 'Google_Service_ShoppingContent_Price'; + protected $priceDataType = ''; + public $region; + public $service; + + + public function setCountry($country) + { + $this->country = $country; + } + public function getCountry() + { + return $this->country; + } + public function setLocationGroupName($locationGroupName) + { + $this->locationGroupName = $locationGroupName; + } + public function getLocationGroupName() + { + return $this->locationGroupName; + } + public function setLocationId($locationId) + { + $this->locationId = $locationId; + } + public function getLocationId() + { + return $this->locationId; + } + public function setPostalCode($postalCode) + { + $this->postalCode = $postalCode; + } + public function getPostalCode() + { + return $this->postalCode; + } + public function setPrice(Google_Service_ShoppingContent_Price $price) + { + $this->price = $price; + } + public function getPrice() + { + return $this->price; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setService($service) + { + $this->service = $service; + } + public function getService() + { + return $this->service; + } +} + +class Google_Service_ShoppingContent_ProductShippingDimension extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $unit; + public $value; + + + public function setUnit($unit) + { + $this->unit = $unit; + } + public function getUnit() + { + return $this->unit; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_ShoppingContent_ProductShippingWeight extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $unit; + public $value; + + + public function setUnit($unit) + { + $this->unit = $unit; + } + public function getUnit() + { + return $this->unit; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_ShoppingContent_ProductStatus extends Google_Collection +{ + protected $collection_key = 'destinationStatuses'; + protected $internal_gapi_mappings = array( + ); + public $creationDate; + protected $dataQualityIssuesType = 'Google_Service_ShoppingContent_ProductStatusDataQualityIssue'; + protected $dataQualityIssuesDataType = 'array'; + protected $destinationStatusesType = 'Google_Service_ShoppingContent_ProductStatusDestinationStatus'; + protected $destinationStatusesDataType = 'array'; + public $googleExpirationDate; + public $kind; + public $lastUpdateDate; + public $link; + public $productId; + public $title; + + + public function setCreationDate($creationDate) + { + $this->creationDate = $creationDate; + } + public function getCreationDate() + { + return $this->creationDate; + } + public function setDataQualityIssues($dataQualityIssues) + { + $this->dataQualityIssues = $dataQualityIssues; + } + public function getDataQualityIssues() + { + return $this->dataQualityIssues; + } + public function setDestinationStatuses($destinationStatuses) + { + $this->destinationStatuses = $destinationStatuses; + } + public function getDestinationStatuses() + { + return $this->destinationStatuses; + } + public function setGoogleExpirationDate($googleExpirationDate) + { + $this->googleExpirationDate = $googleExpirationDate; + } + public function getGoogleExpirationDate() + { + return $this->googleExpirationDate; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastUpdateDate($lastUpdateDate) + { + $this->lastUpdateDate = $lastUpdateDate; + } + public function getLastUpdateDate() + { + return $this->lastUpdateDate; + } + public function setLink($link) + { + $this->link = $link; + } + public function getLink() + { + return $this->link; + } + public function setProductId($productId) + { + $this->productId = $productId; + } + public function getProductId() + { + return $this->productId; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} + +class Google_Service_ShoppingContent_ProductStatusDataQualityIssue extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $detail; + public $fetchStatus; + public $id; + public $location; + public $severity; + public $timestamp; + public $valueOnLandingPage; + public $valueProvided; + + + public function setDetail($detail) + { + $this->detail = $detail; + } + public function getDetail() + { + return $this->detail; + } + public function setFetchStatus($fetchStatus) + { + $this->fetchStatus = $fetchStatus; + } + public function getFetchStatus() + { + return $this->fetchStatus; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setSeverity($severity) + { + $this->severity = $severity; + } + public function getSeverity() + { + return $this->severity; + } + public function setTimestamp($timestamp) + { + $this->timestamp = $timestamp; + } + public function getTimestamp() + { + return $this->timestamp; + } + public function setValueOnLandingPage($valueOnLandingPage) + { + $this->valueOnLandingPage = $valueOnLandingPage; + } + public function getValueOnLandingPage() + { + return $this->valueOnLandingPage; + } + public function setValueProvided($valueProvided) + { + $this->valueProvided = $valueProvided; + } + public function getValueProvided() + { + return $this->valueProvided; + } +} + +class Google_Service_ShoppingContent_ProductStatusDestinationStatus extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $approvalStatus; + public $destination; + public $intention; + + + public function setApprovalStatus($approvalStatus) + { + $this->approvalStatus = $approvalStatus; + } + public function getApprovalStatus() + { + return $this->approvalStatus; + } + public function setDestination($destination) + { + $this->destination = $destination; + } + public function getDestination() + { + return $this->destination; + } + public function setIntention($intention) + { + $this->intention = $intention; + } + public function getIntention() + { + return $this->intention; + } +} + +class Google_Service_ShoppingContent_ProductTax extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $country; + public $locationId; + public $postalCode; + public $rate; + public $region; + public $taxShip; + + + public function setCountry($country) + { + $this->country = $country; + } + public function getCountry() + { + return $this->country; + } + public function setLocationId($locationId) + { + $this->locationId = $locationId; + } + public function getLocationId() + { + return $this->locationId; + } + public function setPostalCode($postalCode) + { + $this->postalCode = $postalCode; + } + public function getPostalCode() + { + return $this->postalCode; + } + public function setRate($rate) + { + $this->rate = $rate; + } + public function getRate() + { + return $this->rate; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setTaxShip($taxShip) + { + $this->taxShip = $taxShip; + } + public function getTaxShip() + { + return $this->taxShip; + } +} + +class Google_Service_ShoppingContent_ProductUnitPricingBaseMeasure extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $unit; + public $value; + + + public function setUnit($unit) + { + $this->unit = $unit; + } + public function getUnit() + { + return $this->unit; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_ShoppingContent_ProductUnitPricingMeasure extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $unit; + public $value; + + + public function setUnit($unit) + { + $this->unit = $unit; + } + public function getUnit() + { + return $this->unit; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_ShoppingContent_ProductsCustomBatchRequest extends Google_Collection +{ + protected $collection_key = 'entries'; + protected $internal_gapi_mappings = array( + ); + protected $entriesType = 'Google_Service_ShoppingContent_ProductsCustomBatchRequestEntry'; + protected $entriesDataType = 'array'; + + + public function setEntries($entries) + { + $this->entries = $entries; + } + public function getEntries() + { + return $this->entries; + } +} + +class Google_Service_ShoppingContent_ProductsCustomBatchRequestEntry extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $batchId; + public $merchantId; + public $method; + protected $productType = 'Google_Service_ShoppingContent_Product'; + protected $productDataType = ''; + public $productId; + + + public function setBatchId($batchId) + { + $this->batchId = $batchId; + } + public function getBatchId() + { + return $this->batchId; + } + public function setMerchantId($merchantId) + { + $this->merchantId = $merchantId; + } + public function getMerchantId() + { + return $this->merchantId; + } + public function setMethod($method) + { + $this->method = $method; + } + public function getMethod() + { + return $this->method; + } + public function setProduct(Google_Service_ShoppingContent_Product $product) + { + $this->product = $product; + } + public function getProduct() + { + return $this->product; + } + public function setProductId($productId) + { + $this->productId = $productId; + } + public function getProductId() + { + return $this->productId; + } +} + +class Google_Service_ShoppingContent_ProductsCustomBatchResponse extends Google_Collection +{ + protected $collection_key = 'entries'; + protected $internal_gapi_mappings = array( + ); + protected $entriesType = 'Google_Service_ShoppingContent_ProductsCustomBatchResponseEntry'; + protected $entriesDataType = 'array'; + public $kind; + + + public function setEntries($entries) + { + $this->entries = $entries; + } + public function getEntries() + { + return $this->entries; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_ShoppingContent_ProductsCustomBatchResponseEntry extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $batchId; + protected $errorsType = 'Google_Service_ShoppingContent_Errors'; + protected $errorsDataType = ''; + public $kind; + protected $productType = 'Google_Service_ShoppingContent_Product'; + protected $productDataType = ''; + + + public function setBatchId($batchId) + { + $this->batchId = $batchId; + } + public function getBatchId() + { + return $this->batchId; + } + public function setErrors(Google_Service_ShoppingContent_Errors $errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setProduct(Google_Service_ShoppingContent_Product $product) + { + $this->product = $product; + } + public function getProduct() + { + return $this->product; + } +} + +class Google_Service_ShoppingContent_ProductsListResponse extends Google_Collection +{ + protected $collection_key = 'resources'; + protected $internal_gapi_mappings = array( + ); + public $kind; + public $nextPageToken; + protected $resourcesType = 'Google_Service_ShoppingContent_Product'; + protected $resourcesDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setResources($resources) + { + $this->resources = $resources; + } + public function getResources() + { + return $this->resources; + } +} + +class Google_Service_ShoppingContent_ProductstatusesCustomBatchRequest extends Google_Collection +{ + protected $collection_key = 'entries'; + protected $internal_gapi_mappings = array( + ); + protected $entriesType = 'Google_Service_ShoppingContent_ProductstatusesCustomBatchRequestEntry'; + protected $entriesDataType = 'array'; + + + public function setEntries($entries) + { + $this->entries = $entries; + } + public function getEntries() + { + return $this->entries; + } +} + +class Google_Service_ShoppingContent_ProductstatusesCustomBatchRequestEntry extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $batchId; + public $merchantId; + public $method; + public $productId; + + + public function setBatchId($batchId) + { + $this->batchId = $batchId; + } + public function getBatchId() + { + return $this->batchId; + } + public function setMerchantId($merchantId) + { + $this->merchantId = $merchantId; + } + public function getMerchantId() + { + return $this->merchantId; + } + public function setMethod($method) + { + $this->method = $method; + } + public function getMethod() + { + return $this->method; + } + public function setProductId($productId) + { + $this->productId = $productId; + } + public function getProductId() + { + return $this->productId; + } +} + +class Google_Service_ShoppingContent_ProductstatusesCustomBatchResponse extends Google_Collection +{ + protected $collection_key = 'entries'; + protected $internal_gapi_mappings = array( + ); + protected $entriesType = 'Google_Service_ShoppingContent_ProductstatusesCustomBatchResponseEntry'; + protected $entriesDataType = 'array'; + public $kind; + + + public function setEntries($entries) + { + $this->entries = $entries; + } + public function getEntries() + { + return $this->entries; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_ShoppingContent_ProductstatusesCustomBatchResponseEntry extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $batchId; + protected $errorsType = 'Google_Service_ShoppingContent_Errors'; + protected $errorsDataType = ''; + public $kind; + protected $productStatusType = 'Google_Service_ShoppingContent_ProductStatus'; + protected $productStatusDataType = ''; + + + public function setBatchId($batchId) + { + $this->batchId = $batchId; + } + public function getBatchId() + { + return $this->batchId; + } + public function setErrors(Google_Service_ShoppingContent_Errors $errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setProductStatus(Google_Service_ShoppingContent_ProductStatus $productStatus) + { + $this->productStatus = $productStatus; + } + public function getProductStatus() + { + return $this->productStatus; + } +} + +class Google_Service_ShoppingContent_ProductstatusesListResponse extends Google_Collection +{ + protected $collection_key = 'resources'; + protected $internal_gapi_mappings = array( + ); + public $kind; + public $nextPageToken; + protected $resourcesType = 'Google_Service_ShoppingContent_ProductStatus'; + protected $resourcesDataType = 'array'; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setResources($resources) + { + $this->resources = $resources; + } + public function getResources() + { + return $this->resources; + } +} + +class Google_Service_ShoppingContent_TestOrder extends Google_Collection +{ + protected $collection_key = 'lineItems'; + protected $internal_gapi_mappings = array( + ); + protected $customerType = 'Google_Service_ShoppingContent_TestOrderCustomer'; + protected $customerDataType = ''; + public $kind; + protected $lineItemsType = 'Google_Service_ShoppingContent_TestOrderLineItem'; + protected $lineItemsDataType = 'array'; + protected $paymentMethodType = 'Google_Service_ShoppingContent_TestOrderPaymentMethod'; + protected $paymentMethodDataType = ''; + public $predefinedDeliveryAddress; + protected $shippingCostType = 'Google_Service_ShoppingContent_Price'; + protected $shippingCostDataType = ''; + protected $shippingCostTaxType = 'Google_Service_ShoppingContent_Price'; + protected $shippingCostTaxDataType = ''; + public $shippingOption; + + + public function setCustomer(Google_Service_ShoppingContent_TestOrderCustomer $customer) + { + $this->customer = $customer; + } + public function getCustomer() + { + return $this->customer; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLineItems($lineItems) + { + $this->lineItems = $lineItems; + } + public function getLineItems() + { + return $this->lineItems; + } + public function setPaymentMethod(Google_Service_ShoppingContent_TestOrderPaymentMethod $paymentMethod) + { + $this->paymentMethod = $paymentMethod; + } + public function getPaymentMethod() + { + return $this->paymentMethod; + } + public function setPredefinedDeliveryAddress($predefinedDeliveryAddress) + { + $this->predefinedDeliveryAddress = $predefinedDeliveryAddress; + } + public function getPredefinedDeliveryAddress() + { + return $this->predefinedDeliveryAddress; + } + public function setShippingCost(Google_Service_ShoppingContent_Price $shippingCost) + { + $this->shippingCost = $shippingCost; + } + public function getShippingCost() + { + return $this->shippingCost; + } + public function setShippingCostTax(Google_Service_ShoppingContent_Price $shippingCostTax) + { + $this->shippingCostTax = $shippingCostTax; + } + public function getShippingCostTax() + { + return $this->shippingCostTax; + } + public function setShippingOption($shippingOption) + { + $this->shippingOption = $shippingOption; + } + public function getShippingOption() + { + return $this->shippingOption; + } +} + +class Google_Service_ShoppingContent_TestOrderCustomer extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $email; + public $explicitMarketingPreference; + public $fullName; + + + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setExplicitMarketingPreference($explicitMarketingPreference) + { + $this->explicitMarketingPreference = $explicitMarketingPreference; + } + public function getExplicitMarketingPreference() + { + return $this->explicitMarketingPreference; + } + public function setFullName($fullName) + { + $this->fullName = $fullName; + } + public function getFullName() + { + return $this->fullName; + } +} + +class Google_Service_ShoppingContent_TestOrderLineItem extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $productType = 'Google_Service_ShoppingContent_TestOrderLineItemProduct'; + protected $productDataType = ''; + public $quantityOrdered; + protected $returnInfoType = 'Google_Service_ShoppingContent_OrderLineItemReturnInfo'; + protected $returnInfoDataType = ''; + protected $shippingDetailsType = 'Google_Service_ShoppingContent_OrderLineItemShippingDetails'; + protected $shippingDetailsDataType = ''; + protected $unitTaxType = 'Google_Service_ShoppingContent_Price'; + protected $unitTaxDataType = ''; + + + public function setProduct(Google_Service_ShoppingContent_TestOrderLineItemProduct $product) + { + $this->product = $product; + } + public function getProduct() + { + return $this->product; + } + public function setQuantityOrdered($quantityOrdered) + { + $this->quantityOrdered = $quantityOrdered; + } + public function getQuantityOrdered() + { + return $this->quantityOrdered; + } + public function setReturnInfo(Google_Service_ShoppingContent_OrderLineItemReturnInfo $returnInfo) + { + $this->returnInfo = $returnInfo; + } + public function getReturnInfo() + { + return $this->returnInfo; + } + public function setShippingDetails(Google_Service_ShoppingContent_OrderLineItemShippingDetails $shippingDetails) + { + $this->shippingDetails = $shippingDetails; + } + public function getShippingDetails() + { + return $this->shippingDetails; + } + public function setUnitTax(Google_Service_ShoppingContent_Price $unitTax) + { + $this->unitTax = $unitTax; + } + public function getUnitTax() + { + return $this->unitTax; + } +} + +class Google_Service_ShoppingContent_TestOrderLineItemProduct extends Google_Collection +{ + protected $collection_key = 'variantAttributes'; + protected $internal_gapi_mappings = array( + ); + public $brand; + public $channel; + public $condition; + public $contentLanguage; + public $gtin; + public $imageLink; + public $itemGroupId; + public $mpn; + public $offerId; + protected $priceType = 'Google_Service_ShoppingContent_Price'; + protected $priceDataType = ''; + public $targetCountry; + public $title; + protected $variantAttributesType = 'Google_Service_ShoppingContent_OrderLineItemProductVariantAttribute'; + protected $variantAttributesDataType = 'array'; + + + public function setBrand($brand) + { + $this->brand = $brand; + } + public function getBrand() + { + return $this->brand; + } + public function setChannel($channel) + { + $this->channel = $channel; + } + public function getChannel() + { + return $this->channel; + } + public function setCondition($condition) + { + $this->condition = $condition; + } + public function getCondition() + { + return $this->condition; + } + public function setContentLanguage($contentLanguage) + { + $this->contentLanguage = $contentLanguage; + } + public function getContentLanguage() + { + return $this->contentLanguage; + } + public function setGtin($gtin) + { + $this->gtin = $gtin; + } + public function getGtin() + { + return $this->gtin; + } + public function setImageLink($imageLink) + { + $this->imageLink = $imageLink; + } + public function getImageLink() + { + return $this->imageLink; + } + public function setItemGroupId($itemGroupId) + { + $this->itemGroupId = $itemGroupId; + } + public function getItemGroupId() + { + return $this->itemGroupId; + } + public function setMpn($mpn) + { + $this->mpn = $mpn; + } + public function getMpn() + { + return $this->mpn; + } + public function setOfferId($offerId) + { + $this->offerId = $offerId; + } + public function getOfferId() + { + return $this->offerId; + } + public function setPrice(Google_Service_ShoppingContent_Price $price) + { + $this->price = $price; + } + public function getPrice() + { + return $this->price; + } + public function setTargetCountry($targetCountry) + { + $this->targetCountry = $targetCountry; + } + public function getTargetCountry() + { + return $this->targetCountry; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setVariantAttributes($variantAttributes) + { + $this->variantAttributes = $variantAttributes; + } + public function getVariantAttributes() + { + return $this->variantAttributes; + } +} + +class Google_Service_ShoppingContent_TestOrderPaymentMethod extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $expirationMonth; + public $expirationYear; + public $lastFourDigits; + public $predefinedBillingAddress; + public $type; + + + public function setExpirationMonth($expirationMonth) + { + $this->expirationMonth = $expirationMonth; + } + public function getExpirationMonth() + { + return $this->expirationMonth; + } + public function setExpirationYear($expirationYear) + { + $this->expirationYear = $expirationYear; + } + public function getExpirationYear() + { + return $this->expirationYear; + } + public function setLastFourDigits($lastFourDigits) + { + $this->lastFourDigits = $lastFourDigits; + } + public function getLastFourDigits() + { + return $this->lastFourDigits; + } + public function setPredefinedBillingAddress($predefinedBillingAddress) + { + $this->predefinedBillingAddress = $predefinedBillingAddress; + } + public function getPredefinedBillingAddress() + { + return $this->predefinedBillingAddress; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_ShoppingContent_Weight extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $unit; + public $value; + + + public function setUnit($unit) + { + $this->unit = $unit; + } + public function getUnit() + { + return $this->unit; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/SiteVerification.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/SiteVerification.php new file mode 100644 index 0000000..1b9cb67 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/SiteVerification.php @@ -0,0 +1,405 @@ + + * Lets you programatically verify ownership of websites or domains with Google.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_SiteVerification extends Google_Service +{ + /** Manage the list of sites and domains you control. */ + const SITEVERIFICATION = + "https://www.googleapis.com/auth/siteverification"; + /** Manage your new site verifications with Google. */ + const SITEVERIFICATION_VERIFY_ONLY = + "https://www.googleapis.com/auth/siteverification.verify_only"; + + public $webResource; + + + /** + * Constructs the internal representation of the SiteVerification service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'siteVerification/v1/'; + $this->version = 'v1'; + $this->serviceName = 'siteVerification'; + + $this->webResource = new Google_Service_SiteVerification_WebResource_Resource( + $this, + $this->serviceName, + 'webResource', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'webResource/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'webResource/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getToken' => array( + 'path' => 'token', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'insert' => array( + 'path' => 'webResource', + 'httpMethod' => 'POST', + 'parameters' => array( + 'verificationMethod' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'webResource', + 'httpMethod' => 'GET', + 'parameters' => array(), + ),'patch' => array( + 'path' => 'webResource/{id}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'webResource/{id}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "webResource" collection of methods. + * Typical usage is: + * + * $siteVerificationService = new Google_Service_SiteVerification(...); + * $webResource = $siteVerificationService->webResource; + * + */ +class Google_Service_SiteVerification_WebResource_Resource extends Google_Service_Resource +{ + + /** + * Relinquish ownership of a website or domain. (webResource.delete) + * + * @param string $id The id of a verified site or domain. + * @param array $optParams Optional parameters. + */ + public function delete($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Get the most current data for a website or domain. (webResource.get) + * + * @param string $id The id of a verified site or domain. + * @param array $optParams Optional parameters. + * @return Google_Service_SiteVerification_SiteVerificationWebResourceResource + */ + public function get($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_SiteVerification_SiteVerificationWebResourceResource"); + } + + /** + * Get a verification token for placing on a website or domain. + * (webResource.getToken) + * + * @param Google_SiteVerificationWebResourceGettokenRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_SiteVerification_SiteVerificationWebResourceGettokenResponse + */ + public function getToken(Google_Service_SiteVerification_SiteVerificationWebResourceGettokenRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('getToken', array($params), "Google_Service_SiteVerification_SiteVerificationWebResourceGettokenResponse"); + } + + /** + * Attempt verification of a website or domain. (webResource.insert) + * + * @param string $verificationMethod The method to use for verifying a site or + * domain. + * @param Google_SiteVerificationWebResourceResource $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_SiteVerification_SiteVerificationWebResourceResource + */ + public function insert($verificationMethod, Google_Service_SiteVerification_SiteVerificationWebResourceResource $postBody, $optParams = array()) + { + $params = array('verificationMethod' => $verificationMethod, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_SiteVerification_SiteVerificationWebResourceResource"); + } + + /** + * Get the list of your verified websites and domains. + * (webResource.listWebResource) + * + * @param array $optParams Optional parameters. + * @return Google_Service_SiteVerification_SiteVerificationWebResourceListResponse + */ + public function listWebResource($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_SiteVerification_SiteVerificationWebResourceListResponse"); + } + + /** + * Modify the list of owners for your website or domain. This method supports + * patch semantics. (webResource.patch) + * + * @param string $id The id of a verified site or domain. + * @param Google_SiteVerificationWebResourceResource $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_SiteVerification_SiteVerificationWebResourceResource + */ + public function patch($id, Google_Service_SiteVerification_SiteVerificationWebResourceResource $postBody, $optParams = array()) + { + $params = array('id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_SiteVerification_SiteVerificationWebResourceResource"); + } + + /** + * Modify the list of owners for your website or domain. (webResource.update) + * + * @param string $id The id of a verified site or domain. + * @param Google_SiteVerificationWebResourceResource $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_SiteVerification_SiteVerificationWebResourceResource + */ + public function update($id, Google_Service_SiteVerification_SiteVerificationWebResourceResource $postBody, $optParams = array()) + { + $params = array('id' => $id, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_SiteVerification_SiteVerificationWebResourceResource"); + } +} + + + + +class Google_Service_SiteVerification_SiteVerificationWebResourceGettokenRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $siteType = 'Google_Service_SiteVerification_SiteVerificationWebResourceGettokenRequestSite'; + protected $siteDataType = ''; + public $verificationMethod; + + + public function setSite(Google_Service_SiteVerification_SiteVerificationWebResourceGettokenRequestSite $site) + { + $this->site = $site; + } + public function getSite() + { + return $this->site; + } + public function setVerificationMethod($verificationMethod) + { + $this->verificationMethod = $verificationMethod; + } + public function getVerificationMethod() + { + return $this->verificationMethod; + } +} + +class Google_Service_SiteVerification_SiteVerificationWebResourceGettokenRequestSite extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $identifier; + public $type; + + + public function setIdentifier($identifier) + { + $this->identifier = $identifier; + } + public function getIdentifier() + { + return $this->identifier; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_SiteVerification_SiteVerificationWebResourceGettokenResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $method; + public $token; + + + public function setMethod($method) + { + $this->method = $method; + } + public function getMethod() + { + return $this->method; + } + public function setToken($token) + { + $this->token = $token; + } + public function getToken() + { + return $this->token; + } +} + +class Google_Service_SiteVerification_SiteVerificationWebResourceListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_SiteVerification_SiteVerificationWebResourceResource'; + protected $itemsDataType = 'array'; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } +} + +class Google_Service_SiteVerification_SiteVerificationWebResourceResource extends Google_Collection +{ + protected $collection_key = 'owners'; + protected $internal_gapi_mappings = array( + ); + public $id; + public $owners; + protected $siteType = 'Google_Service_SiteVerification_SiteVerificationWebResourceResourceSite'; + protected $siteDataType = ''; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setOwners($owners) + { + $this->owners = $owners; + } + public function getOwners() + { + return $this->owners; + } + public function setSite(Google_Service_SiteVerification_SiteVerificationWebResourceResourceSite $site) + { + $this->site = $site; + } + public function getSite() + { + return $this->site; + } +} + +class Google_Service_SiteVerification_SiteVerificationWebResourceResourceSite extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $identifier; + public $type; + + + public function setIdentifier($identifier) + { + $this->identifier = $identifier; + } + public function getIdentifier() + { + return $this->identifier; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Spectrum.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Spectrum.php new file mode 100644 index 0000000..e71de15 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Spectrum.php @@ -0,0 +1,1752 @@ + + * API for spectrum-management functions.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Spectrum extends Google_Service +{ + + + public $paws; + + + /** + * Constructs the internal representation of the Spectrum service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'spectrum/v1explorer/paws/'; + $this->version = 'v1explorer'; + $this->serviceName = 'spectrum'; + + $this->paws = new Google_Service_Spectrum_Paws_Resource( + $this, + $this->serviceName, + 'paws', + array( + 'methods' => array( + 'getSpectrum' => array( + 'path' => 'getSpectrum', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'getSpectrumBatch' => array( + 'path' => 'getSpectrumBatch', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'init' => array( + 'path' => 'init', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'notifySpectrumUse' => array( + 'path' => 'notifySpectrumUse', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'register' => array( + 'path' => 'register', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'verifyDevice' => array( + 'path' => 'verifyDevice', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + } +} + + +/** + * The "paws" collection of methods. + * Typical usage is: + * + * $spectrumService = new Google_Service_Spectrum(...); + * $paws = $spectrumService->paws; + * + */ +class Google_Service_Spectrum_Paws_Resource extends Google_Service_Resource +{ + + /** + * Requests information about the available spectrum for a device at a location. + * Requests from a fixed-mode device must include owner information so the + * device can be registered with the database. (paws.getSpectrum) + * + * @param Google_PawsGetSpectrumRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Spectrum_PawsGetSpectrumResponse + */ + public function getSpectrum(Google_Service_Spectrum_PawsGetSpectrumRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('getSpectrum', array($params), "Google_Service_Spectrum_PawsGetSpectrumResponse"); + } + + /** + * The Google Spectrum Database does not support batch requests, so this method + * always yields an UNIMPLEMENTED error. (paws.getSpectrumBatch) + * + * @param Google_PawsGetSpectrumBatchRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Spectrum_PawsGetSpectrumBatchResponse + */ + public function getSpectrumBatch(Google_Service_Spectrum_PawsGetSpectrumBatchRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('getSpectrumBatch', array($params), "Google_Service_Spectrum_PawsGetSpectrumBatchResponse"); + } + + /** + * Initializes the connection between a white space device and the database. + * (paws.init) + * + * @param Google_PawsInitRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Spectrum_PawsInitResponse + */ + public function init(Google_Service_Spectrum_PawsInitRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('init', array($params), "Google_Service_Spectrum_PawsInitResponse"); + } + + /** + * Notifies the database that the device has selected certain frequency ranges + * for transmission. Only to be invoked when required by the regulator. The + * Google Spectrum Database does not operate in domains that require + * notification, so this always yields an UNIMPLEMENTED error. + * (paws.notifySpectrumUse) + * + * @param Google_PawsNotifySpectrumUseRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Spectrum_PawsNotifySpectrumUseResponse + */ + public function notifySpectrumUse(Google_Service_Spectrum_PawsNotifySpectrumUseRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('notifySpectrumUse', array($params), "Google_Service_Spectrum_PawsNotifySpectrumUseResponse"); + } + + /** + * The Google Spectrum Database implements registration in the getSpectrum + * method. As such this always returns an UNIMPLEMENTED error. (paws.register) + * + * @param Google_PawsRegisterRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Spectrum_PawsRegisterResponse + */ + public function register(Google_Service_Spectrum_PawsRegisterRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('register', array($params), "Google_Service_Spectrum_PawsRegisterResponse"); + } + + /** + * Validates a device for white space use in accordance with regulatory rules. + * The Google Spectrum Database does not support master/slave configurations, so + * this always yields an UNIMPLEMENTED error. (paws.verifyDevice) + * + * @param Google_PawsVerifyDeviceRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Spectrum_PawsVerifyDeviceResponse + */ + public function verifyDevice(Google_Service_Spectrum_PawsVerifyDeviceRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('verifyDevice', array($params), "Google_Service_Spectrum_PawsVerifyDeviceResponse"); + } +} + + + + +class Google_Service_Spectrum_AntennaCharacteristics extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $height; + public $heightType; + public $heightUncertainty; + + + public function setHeight($height) + { + $this->height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setHeightType($heightType) + { + $this->heightType = $heightType; + } + public function getHeightType() + { + return $this->heightType; + } + public function setHeightUncertainty($heightUncertainty) + { + $this->heightUncertainty = $heightUncertainty; + } + public function getHeightUncertainty() + { + return $this->heightUncertainty; + } +} + +class Google_Service_Spectrum_DatabaseSpec extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $name; + public $uri; + + + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setUri($uri) + { + $this->uri = $uri; + } + public function getUri() + { + return $this->uri; + } +} + +class Google_Service_Spectrum_DbUpdateSpec extends Google_Collection +{ + protected $collection_key = 'databases'; + protected $internal_gapi_mappings = array( + ); + protected $databasesType = 'Google_Service_Spectrum_DatabaseSpec'; + protected $databasesDataType = 'array'; + + + public function setDatabases($databases) + { + $this->databases = $databases; + } + public function getDatabases() + { + return $this->databases; + } +} + +class Google_Service_Spectrum_DeviceCapabilities extends Google_Collection +{ + protected $collection_key = 'frequencyRanges'; + protected $internal_gapi_mappings = array( + ); + protected $frequencyRangesType = 'Google_Service_Spectrum_FrequencyRange'; + protected $frequencyRangesDataType = 'array'; + + + public function setFrequencyRanges($frequencyRanges) + { + $this->frequencyRanges = $frequencyRanges; + } + public function getFrequencyRanges() + { + return $this->frequencyRanges; + } +} + +class Google_Service_Spectrum_DeviceDescriptor extends Google_Collection +{ + protected $collection_key = 'rulesetIds'; + protected $internal_gapi_mappings = array( + ); + public $etsiEnDeviceCategory; + public $etsiEnDeviceEmissionsClass; + public $etsiEnDeviceType; + public $etsiEnTechnologyId; + public $fccId; + public $fccTvbdDeviceType; + public $manufacturerId; + public $modelId; + public $rulesetIds; + public $serialNumber; + + + public function setEtsiEnDeviceCategory($etsiEnDeviceCategory) + { + $this->etsiEnDeviceCategory = $etsiEnDeviceCategory; + } + public function getEtsiEnDeviceCategory() + { + return $this->etsiEnDeviceCategory; + } + public function setEtsiEnDeviceEmissionsClass($etsiEnDeviceEmissionsClass) + { + $this->etsiEnDeviceEmissionsClass = $etsiEnDeviceEmissionsClass; + } + public function getEtsiEnDeviceEmissionsClass() + { + return $this->etsiEnDeviceEmissionsClass; + } + public function setEtsiEnDeviceType($etsiEnDeviceType) + { + $this->etsiEnDeviceType = $etsiEnDeviceType; + } + public function getEtsiEnDeviceType() + { + return $this->etsiEnDeviceType; + } + public function setEtsiEnTechnologyId($etsiEnTechnologyId) + { + $this->etsiEnTechnologyId = $etsiEnTechnologyId; + } + public function getEtsiEnTechnologyId() + { + return $this->etsiEnTechnologyId; + } + public function setFccId($fccId) + { + $this->fccId = $fccId; + } + public function getFccId() + { + return $this->fccId; + } + public function setFccTvbdDeviceType($fccTvbdDeviceType) + { + $this->fccTvbdDeviceType = $fccTvbdDeviceType; + } + public function getFccTvbdDeviceType() + { + return $this->fccTvbdDeviceType; + } + public function setManufacturerId($manufacturerId) + { + $this->manufacturerId = $manufacturerId; + } + public function getManufacturerId() + { + return $this->manufacturerId; + } + public function setModelId($modelId) + { + $this->modelId = $modelId; + } + public function getModelId() + { + return $this->modelId; + } + public function setRulesetIds($rulesetIds) + { + $this->rulesetIds = $rulesetIds; + } + public function getRulesetIds() + { + return $this->rulesetIds; + } + public function setSerialNumber($serialNumber) + { + $this->serialNumber = $serialNumber; + } + public function getSerialNumber() + { + return $this->serialNumber; + } +} + +class Google_Service_Spectrum_DeviceOwner extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $operatorType = 'Google_Service_Spectrum_Vcard'; + protected $operatorDataType = ''; + protected $ownerType = 'Google_Service_Spectrum_Vcard'; + protected $ownerDataType = ''; + + + public function setOperator(Google_Service_Spectrum_Vcard $operator) + { + $this->operator = $operator; + } + public function getOperator() + { + return $this->operator; + } + public function setOwner(Google_Service_Spectrum_Vcard $owner) + { + $this->owner = $owner; + } + public function getOwner() + { + return $this->owner; + } +} + +class Google_Service_Spectrum_DeviceValidity extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $deviceDescType = 'Google_Service_Spectrum_DeviceDescriptor'; + protected $deviceDescDataType = ''; + public $isValid; + public $reason; + + + public function setDeviceDesc(Google_Service_Spectrum_DeviceDescriptor $deviceDesc) + { + $this->deviceDesc = $deviceDesc; + } + public function getDeviceDesc() + { + return $this->deviceDesc; + } + public function setIsValid($isValid) + { + $this->isValid = $isValid; + } + public function getIsValid() + { + return $this->isValid; + } + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } +} + +class Google_Service_Spectrum_EventTime extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $startTime; + public $stopTime; + + + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setStopTime($stopTime) + { + $this->stopTime = $stopTime; + } + public function getStopTime() + { + return $this->stopTime; + } +} + +class Google_Service_Spectrum_FrequencyRange extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $channelId; + public $maxPowerDBm; + public $startHz; + public $stopHz; + + + public function setChannelId($channelId) + { + $this->channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } + public function setMaxPowerDBm($maxPowerDBm) + { + $this->maxPowerDBm = $maxPowerDBm; + } + public function getMaxPowerDBm() + { + return $this->maxPowerDBm; + } + public function setStartHz($startHz) + { + $this->startHz = $startHz; + } + public function getStartHz() + { + return $this->startHz; + } + public function setStopHz($stopHz) + { + $this->stopHz = $stopHz; + } + public function getStopHz() + { + return $this->stopHz; + } +} + +class Google_Service_Spectrum_GeoLocation extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $confidence; + protected $pointType = 'Google_Service_Spectrum_GeoLocationEllipse'; + protected $pointDataType = ''; + protected $regionType = 'Google_Service_Spectrum_GeoLocationPolygon'; + protected $regionDataType = ''; + + + public function setConfidence($confidence) + { + $this->confidence = $confidence; + } + public function getConfidence() + { + return $this->confidence; + } + public function setPoint(Google_Service_Spectrum_GeoLocationEllipse $point) + { + $this->point = $point; + } + public function getPoint() + { + return $this->point; + } + public function setRegion(Google_Service_Spectrum_GeoLocationPolygon $region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } +} + +class Google_Service_Spectrum_GeoLocationEllipse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $centerType = 'Google_Service_Spectrum_GeoLocationPoint'; + protected $centerDataType = ''; + public $orientation; + public $semiMajorAxis; + public $semiMinorAxis; + + + public function setCenter(Google_Service_Spectrum_GeoLocationPoint $center) + { + $this->center = $center; + } + public function getCenter() + { + return $this->center; + } + public function setOrientation($orientation) + { + $this->orientation = $orientation; + } + public function getOrientation() + { + return $this->orientation; + } + public function setSemiMajorAxis($semiMajorAxis) + { + $this->semiMajorAxis = $semiMajorAxis; + } + public function getSemiMajorAxis() + { + return $this->semiMajorAxis; + } + public function setSemiMinorAxis($semiMinorAxis) + { + $this->semiMinorAxis = $semiMinorAxis; + } + public function getSemiMinorAxis() + { + return $this->semiMinorAxis; + } +} + +class Google_Service_Spectrum_GeoLocationPoint extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $latitude; + public $longitude; + + + public function setLatitude($latitude) + { + $this->latitude = $latitude; + } + public function getLatitude() + { + return $this->latitude; + } + public function setLongitude($longitude) + { + $this->longitude = $longitude; + } + public function getLongitude() + { + return $this->longitude; + } +} + +class Google_Service_Spectrum_GeoLocationPolygon extends Google_Collection +{ + protected $collection_key = 'exterior'; + protected $internal_gapi_mappings = array( + ); + protected $exteriorType = 'Google_Service_Spectrum_GeoLocationPoint'; + protected $exteriorDataType = 'array'; + + + public function setExterior($exterior) + { + $this->exterior = $exterior; + } + public function getExterior() + { + return $this->exterior; + } +} + +class Google_Service_Spectrum_GeoSpectrumSchedule extends Google_Collection +{ + protected $collection_key = 'spectrumSchedules'; + protected $internal_gapi_mappings = array( + ); + protected $locationType = 'Google_Service_Spectrum_GeoLocation'; + protected $locationDataType = ''; + protected $spectrumSchedulesType = 'Google_Service_Spectrum_SpectrumSchedule'; + protected $spectrumSchedulesDataType = 'array'; + + + public function setLocation(Google_Service_Spectrum_GeoLocation $location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setSpectrumSchedules($spectrumSchedules) + { + $this->spectrumSchedules = $spectrumSchedules; + } + public function getSpectrumSchedules() + { + return $this->spectrumSchedules; + } +} + +class Google_Service_Spectrum_PawsGetSpectrumBatchRequest extends Google_Collection +{ + protected $collection_key = 'locations'; + protected $internal_gapi_mappings = array( + ); + protected $antennaType = 'Google_Service_Spectrum_AntennaCharacteristics'; + protected $antennaDataType = ''; + protected $capabilitiesType = 'Google_Service_Spectrum_DeviceCapabilities'; + protected $capabilitiesDataType = ''; + protected $deviceDescType = 'Google_Service_Spectrum_DeviceDescriptor'; + protected $deviceDescDataType = ''; + protected $locationsType = 'Google_Service_Spectrum_GeoLocation'; + protected $locationsDataType = 'array'; + protected $masterDeviceDescType = 'Google_Service_Spectrum_DeviceDescriptor'; + protected $masterDeviceDescDataType = ''; + protected $ownerType = 'Google_Service_Spectrum_DeviceOwner'; + protected $ownerDataType = ''; + public $requestType; + public $type; + public $version; + + + public function setAntenna(Google_Service_Spectrum_AntennaCharacteristics $antenna) + { + $this->antenna = $antenna; + } + public function getAntenna() + { + return $this->antenna; + } + public function setCapabilities(Google_Service_Spectrum_DeviceCapabilities $capabilities) + { + $this->capabilities = $capabilities; + } + public function getCapabilities() + { + return $this->capabilities; + } + public function setDeviceDesc(Google_Service_Spectrum_DeviceDescriptor $deviceDesc) + { + $this->deviceDesc = $deviceDesc; + } + public function getDeviceDesc() + { + return $this->deviceDesc; + } + public function setLocations($locations) + { + $this->locations = $locations; + } + public function getLocations() + { + return $this->locations; + } + public function setMasterDeviceDesc(Google_Service_Spectrum_DeviceDescriptor $masterDeviceDesc) + { + $this->masterDeviceDesc = $masterDeviceDesc; + } + public function getMasterDeviceDesc() + { + return $this->masterDeviceDesc; + } + public function setOwner(Google_Service_Spectrum_DeviceOwner $owner) + { + $this->owner = $owner; + } + public function getOwner() + { + return $this->owner; + } + public function setRequestType($requestType) + { + $this->requestType = $requestType; + } + public function getRequestType() + { + return $this->requestType; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} + +class Google_Service_Spectrum_PawsGetSpectrumBatchResponse extends Google_Collection +{ + protected $collection_key = 'geoSpectrumSchedules'; + protected $internal_gapi_mappings = array( + ); + protected $databaseChangeType = 'Google_Service_Spectrum_DbUpdateSpec'; + protected $databaseChangeDataType = ''; + protected $deviceDescType = 'Google_Service_Spectrum_DeviceDescriptor'; + protected $deviceDescDataType = ''; + protected $geoSpectrumSchedulesType = 'Google_Service_Spectrum_GeoSpectrumSchedule'; + protected $geoSpectrumSchedulesDataType = 'array'; + public $kind; + public $maxContiguousBwHz; + public $maxTotalBwHz; + public $needsSpectrumReport; + protected $rulesetInfoType = 'Google_Service_Spectrum_RulesetInfo'; + protected $rulesetInfoDataType = ''; + public $timestamp; + public $type; + public $version; + + + public function setDatabaseChange(Google_Service_Spectrum_DbUpdateSpec $databaseChange) + { + $this->databaseChange = $databaseChange; + } + public function getDatabaseChange() + { + return $this->databaseChange; + } + public function setDeviceDesc(Google_Service_Spectrum_DeviceDescriptor $deviceDesc) + { + $this->deviceDesc = $deviceDesc; + } + public function getDeviceDesc() + { + return $this->deviceDesc; + } + public function setGeoSpectrumSchedules($geoSpectrumSchedules) + { + $this->geoSpectrumSchedules = $geoSpectrumSchedules; + } + public function getGeoSpectrumSchedules() + { + return $this->geoSpectrumSchedules; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMaxContiguousBwHz($maxContiguousBwHz) + { + $this->maxContiguousBwHz = $maxContiguousBwHz; + } + public function getMaxContiguousBwHz() + { + return $this->maxContiguousBwHz; + } + public function setMaxTotalBwHz($maxTotalBwHz) + { + $this->maxTotalBwHz = $maxTotalBwHz; + } + public function getMaxTotalBwHz() + { + return $this->maxTotalBwHz; + } + public function setNeedsSpectrumReport($needsSpectrumReport) + { + $this->needsSpectrumReport = $needsSpectrumReport; + } + public function getNeedsSpectrumReport() + { + return $this->needsSpectrumReport; + } + public function setRulesetInfo(Google_Service_Spectrum_RulesetInfo $rulesetInfo) + { + $this->rulesetInfo = $rulesetInfo; + } + public function getRulesetInfo() + { + return $this->rulesetInfo; + } + public function setTimestamp($timestamp) + { + $this->timestamp = $timestamp; + } + public function getTimestamp() + { + return $this->timestamp; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} + +class Google_Service_Spectrum_PawsGetSpectrumRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $antennaType = 'Google_Service_Spectrum_AntennaCharacteristics'; + protected $antennaDataType = ''; + protected $capabilitiesType = 'Google_Service_Spectrum_DeviceCapabilities'; + protected $capabilitiesDataType = ''; + protected $deviceDescType = 'Google_Service_Spectrum_DeviceDescriptor'; + protected $deviceDescDataType = ''; + protected $locationType = 'Google_Service_Spectrum_GeoLocation'; + protected $locationDataType = ''; + protected $masterDeviceDescType = 'Google_Service_Spectrum_DeviceDescriptor'; + protected $masterDeviceDescDataType = ''; + protected $ownerType = 'Google_Service_Spectrum_DeviceOwner'; + protected $ownerDataType = ''; + public $requestType; + public $type; + public $version; + + + public function setAntenna(Google_Service_Spectrum_AntennaCharacteristics $antenna) + { + $this->antenna = $antenna; + } + public function getAntenna() + { + return $this->antenna; + } + public function setCapabilities(Google_Service_Spectrum_DeviceCapabilities $capabilities) + { + $this->capabilities = $capabilities; + } + public function getCapabilities() + { + return $this->capabilities; + } + public function setDeviceDesc(Google_Service_Spectrum_DeviceDescriptor $deviceDesc) + { + $this->deviceDesc = $deviceDesc; + } + public function getDeviceDesc() + { + return $this->deviceDesc; + } + public function setLocation(Google_Service_Spectrum_GeoLocation $location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setMasterDeviceDesc(Google_Service_Spectrum_DeviceDescriptor $masterDeviceDesc) + { + $this->masterDeviceDesc = $masterDeviceDesc; + } + public function getMasterDeviceDesc() + { + return $this->masterDeviceDesc; + } + public function setOwner(Google_Service_Spectrum_DeviceOwner $owner) + { + $this->owner = $owner; + } + public function getOwner() + { + return $this->owner; + } + public function setRequestType($requestType) + { + $this->requestType = $requestType; + } + public function getRequestType() + { + return $this->requestType; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} + +class Google_Service_Spectrum_PawsGetSpectrumResponse extends Google_Collection +{ + protected $collection_key = 'spectrumSchedules'; + protected $internal_gapi_mappings = array( + ); + protected $databaseChangeType = 'Google_Service_Spectrum_DbUpdateSpec'; + protected $databaseChangeDataType = ''; + protected $deviceDescType = 'Google_Service_Spectrum_DeviceDescriptor'; + protected $deviceDescDataType = ''; + public $kind; + public $maxContiguousBwHz; + public $maxTotalBwHz; + public $needsSpectrumReport; + protected $rulesetInfoType = 'Google_Service_Spectrum_RulesetInfo'; + protected $rulesetInfoDataType = ''; + protected $spectrumSchedulesType = 'Google_Service_Spectrum_SpectrumSchedule'; + protected $spectrumSchedulesDataType = 'array'; + public $timestamp; + public $type; + public $version; + + + public function setDatabaseChange(Google_Service_Spectrum_DbUpdateSpec $databaseChange) + { + $this->databaseChange = $databaseChange; + } + public function getDatabaseChange() + { + return $this->databaseChange; + } + public function setDeviceDesc(Google_Service_Spectrum_DeviceDescriptor $deviceDesc) + { + $this->deviceDesc = $deviceDesc; + } + public function getDeviceDesc() + { + return $this->deviceDesc; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMaxContiguousBwHz($maxContiguousBwHz) + { + $this->maxContiguousBwHz = $maxContiguousBwHz; + } + public function getMaxContiguousBwHz() + { + return $this->maxContiguousBwHz; + } + public function setMaxTotalBwHz($maxTotalBwHz) + { + $this->maxTotalBwHz = $maxTotalBwHz; + } + public function getMaxTotalBwHz() + { + return $this->maxTotalBwHz; + } + public function setNeedsSpectrumReport($needsSpectrumReport) + { + $this->needsSpectrumReport = $needsSpectrumReport; + } + public function getNeedsSpectrumReport() + { + return $this->needsSpectrumReport; + } + public function setRulesetInfo(Google_Service_Spectrum_RulesetInfo $rulesetInfo) + { + $this->rulesetInfo = $rulesetInfo; + } + public function getRulesetInfo() + { + return $this->rulesetInfo; + } + public function setSpectrumSchedules($spectrumSchedules) + { + $this->spectrumSchedules = $spectrumSchedules; + } + public function getSpectrumSchedules() + { + return $this->spectrumSchedules; + } + public function setTimestamp($timestamp) + { + $this->timestamp = $timestamp; + } + public function getTimestamp() + { + return $this->timestamp; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} + +class Google_Service_Spectrum_PawsInitRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $deviceDescType = 'Google_Service_Spectrum_DeviceDescriptor'; + protected $deviceDescDataType = ''; + protected $locationType = 'Google_Service_Spectrum_GeoLocation'; + protected $locationDataType = ''; + public $type; + public $version; + + + public function setDeviceDesc(Google_Service_Spectrum_DeviceDescriptor $deviceDesc) + { + $this->deviceDesc = $deviceDesc; + } + public function getDeviceDesc() + { + return $this->deviceDesc; + } + public function setLocation(Google_Service_Spectrum_GeoLocation $location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} + +class Google_Service_Spectrum_PawsInitResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $databaseChangeType = 'Google_Service_Spectrum_DbUpdateSpec'; + protected $databaseChangeDataType = ''; + public $kind; + protected $rulesetInfoType = 'Google_Service_Spectrum_RulesetInfo'; + protected $rulesetInfoDataType = ''; + public $type; + public $version; + + + public function setDatabaseChange(Google_Service_Spectrum_DbUpdateSpec $databaseChange) + { + $this->databaseChange = $databaseChange; + } + public function getDatabaseChange() + { + return $this->databaseChange; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRulesetInfo(Google_Service_Spectrum_RulesetInfo $rulesetInfo) + { + $this->rulesetInfo = $rulesetInfo; + } + public function getRulesetInfo() + { + return $this->rulesetInfo; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} + +class Google_Service_Spectrum_PawsNotifySpectrumUseRequest extends Google_Collection +{ + protected $collection_key = 'spectra'; + protected $internal_gapi_mappings = array( + ); + protected $deviceDescType = 'Google_Service_Spectrum_DeviceDescriptor'; + protected $deviceDescDataType = ''; + protected $locationType = 'Google_Service_Spectrum_GeoLocation'; + protected $locationDataType = ''; + protected $spectraType = 'Google_Service_Spectrum_SpectrumMessage'; + protected $spectraDataType = 'array'; + public $type; + public $version; + + + public function setDeviceDesc(Google_Service_Spectrum_DeviceDescriptor $deviceDesc) + { + $this->deviceDesc = $deviceDesc; + } + public function getDeviceDesc() + { + return $this->deviceDesc; + } + public function setLocation(Google_Service_Spectrum_GeoLocation $location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setSpectra($spectra) + { + $this->spectra = $spectra; + } + public function getSpectra() + { + return $this->spectra; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} + +class Google_Service_Spectrum_PawsNotifySpectrumUseResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + public $type; + public $version; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} + +class Google_Service_Spectrum_PawsRegisterRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $antennaType = 'Google_Service_Spectrum_AntennaCharacteristics'; + protected $antennaDataType = ''; + protected $deviceDescType = 'Google_Service_Spectrum_DeviceDescriptor'; + protected $deviceDescDataType = ''; + protected $deviceOwnerType = 'Google_Service_Spectrum_DeviceOwner'; + protected $deviceOwnerDataType = ''; + protected $locationType = 'Google_Service_Spectrum_GeoLocation'; + protected $locationDataType = ''; + public $type; + public $version; + + + public function setAntenna(Google_Service_Spectrum_AntennaCharacteristics $antenna) + { + $this->antenna = $antenna; + } + public function getAntenna() + { + return $this->antenna; + } + public function setDeviceDesc(Google_Service_Spectrum_DeviceDescriptor $deviceDesc) + { + $this->deviceDesc = $deviceDesc; + } + public function getDeviceDesc() + { + return $this->deviceDesc; + } + public function setDeviceOwner(Google_Service_Spectrum_DeviceOwner $deviceOwner) + { + $this->deviceOwner = $deviceOwner; + } + public function getDeviceOwner() + { + return $this->deviceOwner; + } + public function setLocation(Google_Service_Spectrum_GeoLocation $location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} + +class Google_Service_Spectrum_PawsRegisterResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $databaseChangeType = 'Google_Service_Spectrum_DbUpdateSpec'; + protected $databaseChangeDataType = ''; + public $kind; + public $type; + public $version; + + + public function setDatabaseChange(Google_Service_Spectrum_DbUpdateSpec $databaseChange) + { + $this->databaseChange = $databaseChange; + } + public function getDatabaseChange() + { + return $this->databaseChange; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} + +class Google_Service_Spectrum_PawsVerifyDeviceRequest extends Google_Collection +{ + protected $collection_key = 'deviceDescs'; + protected $internal_gapi_mappings = array( + ); + protected $deviceDescsType = 'Google_Service_Spectrum_DeviceDescriptor'; + protected $deviceDescsDataType = 'array'; + public $type; + public $version; + + + public function setDeviceDescs($deviceDescs) + { + $this->deviceDescs = $deviceDescs; + } + public function getDeviceDescs() + { + return $this->deviceDescs; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} + +class Google_Service_Spectrum_PawsVerifyDeviceResponse extends Google_Collection +{ + protected $collection_key = 'deviceValidities'; + protected $internal_gapi_mappings = array( + ); + protected $databaseChangeType = 'Google_Service_Spectrum_DbUpdateSpec'; + protected $databaseChangeDataType = ''; + protected $deviceValiditiesType = 'Google_Service_Spectrum_DeviceValidity'; + protected $deviceValiditiesDataType = 'array'; + public $kind; + public $type; + public $version; + + + public function setDatabaseChange(Google_Service_Spectrum_DbUpdateSpec $databaseChange) + { + $this->databaseChange = $databaseChange; + } + public function getDatabaseChange() + { + return $this->databaseChange; + } + public function setDeviceValidities($deviceValidities) + { + $this->deviceValidities = $deviceValidities; + } + public function getDeviceValidities() + { + return $this->deviceValidities; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} + +class Google_Service_Spectrum_RulesetInfo extends Google_Collection +{ + protected $collection_key = 'rulesetIds'; + protected $internal_gapi_mappings = array( + ); + public $authority; + public $maxLocationChange; + public $maxPollingSecs; + public $rulesetIds; + + + public function setAuthority($authority) + { + $this->authority = $authority; + } + public function getAuthority() + { + return $this->authority; + } + public function setMaxLocationChange($maxLocationChange) + { + $this->maxLocationChange = $maxLocationChange; + } + public function getMaxLocationChange() + { + return $this->maxLocationChange; + } + public function setMaxPollingSecs($maxPollingSecs) + { + $this->maxPollingSecs = $maxPollingSecs; + } + public function getMaxPollingSecs() + { + return $this->maxPollingSecs; + } + public function setRulesetIds($rulesetIds) + { + $this->rulesetIds = $rulesetIds; + } + public function getRulesetIds() + { + return $this->rulesetIds; + } +} + +class Google_Service_Spectrum_SpectrumMessage extends Google_Collection +{ + protected $collection_key = 'frequencyRanges'; + protected $internal_gapi_mappings = array( + ); + public $bandwidth; + protected $frequencyRangesType = 'Google_Service_Spectrum_FrequencyRange'; + protected $frequencyRangesDataType = 'array'; + + + public function setBandwidth($bandwidth) + { + $this->bandwidth = $bandwidth; + } + public function getBandwidth() + { + return $this->bandwidth; + } + public function setFrequencyRanges($frequencyRanges) + { + $this->frequencyRanges = $frequencyRanges; + } + public function getFrequencyRanges() + { + return $this->frequencyRanges; + } +} + +class Google_Service_Spectrum_SpectrumSchedule extends Google_Collection +{ + protected $collection_key = 'spectra'; + protected $internal_gapi_mappings = array( + ); + protected $eventTimeType = 'Google_Service_Spectrum_EventTime'; + protected $eventTimeDataType = ''; + protected $spectraType = 'Google_Service_Spectrum_SpectrumMessage'; + protected $spectraDataType = 'array'; + + + public function setEventTime(Google_Service_Spectrum_EventTime $eventTime) + { + $this->eventTime = $eventTime; + } + public function getEventTime() + { + return $this->eventTime; + } + public function setSpectra($spectra) + { + $this->spectra = $spectra; + } + public function getSpectra() + { + return $this->spectra; + } +} + +class Google_Service_Spectrum_Vcard extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $adrType = 'Google_Service_Spectrum_VcardAddress'; + protected $adrDataType = ''; + protected $emailType = 'Google_Service_Spectrum_VcardTypedText'; + protected $emailDataType = ''; + public $fn; + protected $orgType = 'Google_Service_Spectrum_VcardTypedText'; + protected $orgDataType = ''; + protected $telType = 'Google_Service_Spectrum_VcardTelephone'; + protected $telDataType = ''; + + + public function setAdr(Google_Service_Spectrum_VcardAddress $adr) + { + $this->adr = $adr; + } + public function getAdr() + { + return $this->adr; + } + public function setEmail(Google_Service_Spectrum_VcardTypedText $email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setFn($fn) + { + $this->fn = $fn; + } + public function getFn() + { + return $this->fn; + } + public function setOrg(Google_Service_Spectrum_VcardTypedText $org) + { + $this->org = $org; + } + public function getOrg() + { + return $this->org; + } + public function setTel(Google_Service_Spectrum_VcardTelephone $tel) + { + $this->tel = $tel; + } + public function getTel() + { + return $this->tel; + } +} + +class Google_Service_Spectrum_VcardAddress extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $code; + public $country; + public $locality; + public $pobox; + public $region; + public $street; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setCountry($country) + { + $this->country = $country; + } + public function getCountry() + { + return $this->country; + } + public function setLocality($locality) + { + $this->locality = $locality; + } + public function getLocality() + { + return $this->locality; + } + public function setPobox($pobox) + { + $this->pobox = $pobox; + } + public function getPobox() + { + return $this->pobox; + } + public function setRegion($region) + { + $this->region = $region; + } + public function getRegion() + { + return $this->region; + } + public function setStreet($street) + { + $this->street = $street; + } + public function getStreet() + { + return $this->street; + } +} + +class Google_Service_Spectrum_VcardTelephone extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $uri; + + + public function setUri($uri) + { + $this->uri = $uri; + } + public function getUri() + { + return $this->uri; + } +} + +class Google_Service_Spectrum_VcardTypedText extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $text; + + + public function setText($text) + { + $this->text = $text; + } + public function getText() + { + return $this->text; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Storage.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Storage.php new file mode 100644 index 0000000..01d9300 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Storage.php @@ -0,0 +1,3350 @@ + + * Lets you store and retrieve potentially-large, immutable data objects.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Storage extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** View your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM_READ_ONLY = + "https://www.googleapis.com/auth/cloud-platform.read-only"; + /** Manage your data and permissions in Google Cloud Storage. */ + const DEVSTORAGE_FULL_CONTROL = + "https://www.googleapis.com/auth/devstorage.full_control"; + /** View your data in Google Cloud Storage. */ + const DEVSTORAGE_READ_ONLY = + "https://www.googleapis.com/auth/devstorage.read_only"; + /** Manage your data in Google Cloud Storage. */ + const DEVSTORAGE_READ_WRITE = + "https://www.googleapis.com/auth/devstorage.read_write"; + + public $bucketAccessControls; + public $buckets; + public $channels; + public $defaultObjectAccessControls; + public $objectAccessControls; + public $objects; + + + /** + * Constructs the internal representation of the Storage service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'storage/v1/'; + $this->version = 'v1'; + $this->serviceName = 'storage'; + + $this->bucketAccessControls = new Google_Service_Storage_BucketAccessControls_Resource( + $this, + $this->serviceName, + 'bucketAccessControls', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'b/{bucket}/acl/{entity}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'entity' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'b/{bucket}/acl/{entity}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'entity' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'b/{bucket}/acl', + 'httpMethod' => 'POST', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'b/{bucket}/acl', + 'httpMethod' => 'GET', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'b/{bucket}/acl/{entity}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'entity' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'b/{bucket}/acl/{entity}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'entity' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->buckets = new Google_Service_Storage_Buckets_Resource( + $this, + $this->serviceName, + 'buckets', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'b/{bucket}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'ifMetagenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifMetagenerationNotMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'get' => array( + 'path' => 'b/{bucket}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'ifMetagenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifMetagenerationNotMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'insert' => array( + 'path' => 'b', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'predefinedAcl' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'predefinedDefaultObjectAcl' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'b', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'prefix' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => 'b/{bucket}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifMetagenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'predefinedDefaultObjectAcl' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'predefinedAcl' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifMetagenerationNotMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'b/{bucket}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifMetagenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'predefinedDefaultObjectAcl' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'predefinedAcl' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifMetagenerationNotMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->channels = new Google_Service_Storage_Channels_Resource( + $this, + $this->serviceName, + 'channels', + array( + 'methods' => array( + 'stop' => array( + 'path' => 'channels/stop', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->defaultObjectAccessControls = new Google_Service_Storage_DefaultObjectAccessControls_Resource( + $this, + $this->serviceName, + 'defaultObjectAccessControls', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'b/{bucket}/defaultObjectAcl/{entity}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'entity' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'b/{bucket}/defaultObjectAcl/{entity}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'entity' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'b/{bucket}/defaultObjectAcl', + 'httpMethod' => 'POST', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'b/{bucket}/defaultObjectAcl', + 'httpMethod' => 'GET', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'ifMetagenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifMetagenerationNotMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'b/{bucket}/defaultObjectAcl/{entity}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'entity' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'b/{bucket}/defaultObjectAcl/{entity}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'entity' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->objectAccessControls = new Google_Service_Storage_ObjectAccessControls_Resource( + $this, + $this->serviceName, + 'objectAccessControls', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'b/{bucket}/o/{object}/acl/{entity}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'object' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'entity' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'generation' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'get' => array( + 'path' => 'b/{bucket}/o/{object}/acl/{entity}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'object' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'entity' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'generation' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'insert' => array( + 'path' => 'b/{bucket}/o/{object}/acl', + 'httpMethod' => 'POST', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'object' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'generation' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'b/{bucket}/o/{object}/acl', + 'httpMethod' => 'GET', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'object' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'generation' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'b/{bucket}/o/{object}/acl/{entity}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'object' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'entity' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'generation' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'b/{bucket}/o/{object}/acl/{entity}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'object' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'entity' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'generation' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->objects = new Google_Service_Storage_Objects_Resource( + $this, + $this->serviceName, + 'objects', + array( + 'methods' => array( + 'compose' => array( + 'path' => 'b/{destinationBucket}/o/{destinationObject}/compose', + 'httpMethod' => 'POST', + 'parameters' => array( + 'destinationBucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'destinationObject' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'ifGenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifMetagenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'destinationPredefinedAcl' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'copy' => array( + 'path' => 'b/{sourceBucket}/o/{sourceObject}/copyTo/b/{destinationBucket}/o/{destinationObject}', + 'httpMethod' => 'POST', + 'parameters' => array( + 'sourceBucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sourceObject' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'destinationBucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'destinationObject' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'ifSourceGenerationNotMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifGenerationNotMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifSourceMetagenerationNotMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifMetagenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sourceGeneration' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'destinationPredefinedAcl' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifSourceGenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifSourceMetagenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifGenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifMetagenerationNotMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'delete' => array( + 'path' => 'b/{bucket}/o/{object}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'object' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'ifGenerationNotMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'generation' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifMetagenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifGenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifMetagenerationNotMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'get' => array( + 'path' => 'b/{bucket}/o/{object}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'object' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'ifGenerationNotMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'generation' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifMetagenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifGenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifMetagenerationNotMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'insert' => array( + 'path' => 'b/{bucket}/o', + 'httpMethod' => 'POST', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'predefinedAcl' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifGenerationNotMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifMetagenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'contentEncoding' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifGenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifMetagenerationNotMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'name' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'b/{bucket}/o', + 'httpMethod' => 'GET', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'versions' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'prefix' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'delimiter' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'b/{bucket}/o/{object}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'object' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'predefinedAcl' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifGenerationNotMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'generation' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifMetagenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifGenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifMetagenerationNotMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'rewrite' => array( + 'path' => 'b/{sourceBucket}/o/{sourceObject}/rewriteTo/b/{destinationBucket}/o/{destinationObject}', + 'httpMethod' => 'POST', + 'parameters' => array( + 'sourceBucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sourceObject' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'destinationBucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'destinationObject' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'ifSourceGenerationNotMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifGenerationNotMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'rewriteToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifSourceMetagenerationNotMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifMetagenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sourceGeneration' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'destinationPredefinedAcl' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifSourceGenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxBytesRewrittenPerCall' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifSourceMetagenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifGenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifMetagenerationNotMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'b/{bucket}/o/{object}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'object' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'predefinedAcl' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifGenerationNotMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'generation' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifMetagenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifGenerationMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'ifMetagenerationNotMatch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'watchAll' => array( + 'path' => 'b/{bucket}/o/watch', + 'httpMethod' => 'POST', + 'parameters' => array( + 'bucket' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'versions' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'prefix' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'delimiter' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "bucketAccessControls" collection of methods. + * Typical usage is: + * + * $storageService = new Google_Service_Storage(...); + * $bucketAccessControls = $storageService->bucketAccessControls; + * + */ +class Google_Service_Storage_BucketAccessControls_Resource extends Google_Service_Resource +{ + + /** + * Permanently deletes the ACL entry for the specified entity on the specified + * bucket. (bucketAccessControls.delete) + * + * @param string $bucket Name of a bucket. + * @param string $entity The entity holding the permission. Can be user-userId, + * user-emailAddress, group-groupId, group-emailAddress, allUsers, or + * allAuthenticatedUsers. + * @param array $optParams Optional parameters. + */ + public function delete($bucket, $entity, $optParams = array()) + { + $params = array('bucket' => $bucket, 'entity' => $entity); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Returns the ACL entry for the specified entity on the specified bucket. + * (bucketAccessControls.get) + * + * @param string $bucket Name of a bucket. + * @param string $entity The entity holding the permission. Can be user-userId, + * user-emailAddress, group-groupId, group-emailAddress, allUsers, or + * allAuthenticatedUsers. + * @param array $optParams Optional parameters. + * @return Google_Service_Storage_BucketAccessControl + */ + public function get($bucket, $entity, $optParams = array()) + { + $params = array('bucket' => $bucket, 'entity' => $entity); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Storage_BucketAccessControl"); + } + + /** + * Creates a new ACL entry on the specified bucket. + * (bucketAccessControls.insert) + * + * @param string $bucket Name of a bucket. + * @param Google_BucketAccessControl $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Storage_BucketAccessControl + */ + public function insert($bucket, Google_Service_Storage_BucketAccessControl $postBody, $optParams = array()) + { + $params = array('bucket' => $bucket, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Storage_BucketAccessControl"); + } + + /** + * Retrieves ACL entries on the specified bucket. + * (bucketAccessControls.listBucketAccessControls) + * + * @param string $bucket Name of a bucket. + * @param array $optParams Optional parameters. + * @return Google_Service_Storage_BucketAccessControls + */ + public function listBucketAccessControls($bucket, $optParams = array()) + { + $params = array('bucket' => $bucket); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Storage_BucketAccessControls"); + } + + /** + * Updates an ACL entry on the specified bucket. This method supports patch + * semantics. (bucketAccessControls.patch) + * + * @param string $bucket Name of a bucket. + * @param string $entity The entity holding the permission. Can be user-userId, + * user-emailAddress, group-groupId, group-emailAddress, allUsers, or + * allAuthenticatedUsers. + * @param Google_BucketAccessControl $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Storage_BucketAccessControl + */ + public function patch($bucket, $entity, Google_Service_Storage_BucketAccessControl $postBody, $optParams = array()) + { + $params = array('bucket' => $bucket, 'entity' => $entity, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Storage_BucketAccessControl"); + } + + /** + * Updates an ACL entry on the specified bucket. (bucketAccessControls.update) + * + * @param string $bucket Name of a bucket. + * @param string $entity The entity holding the permission. Can be user-userId, + * user-emailAddress, group-groupId, group-emailAddress, allUsers, or + * allAuthenticatedUsers. + * @param Google_BucketAccessControl $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Storage_BucketAccessControl + */ + public function update($bucket, $entity, Google_Service_Storage_BucketAccessControl $postBody, $optParams = array()) + { + $params = array('bucket' => $bucket, 'entity' => $entity, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Storage_BucketAccessControl"); + } +} + +/** + * The "buckets" collection of methods. + * Typical usage is: + * + * $storageService = new Google_Service_Storage(...); + * $buckets = $storageService->buckets; + * + */ +class Google_Service_Storage_Buckets_Resource extends Google_Service_Resource +{ + + /** + * Permanently deletes an empty bucket. (buckets.delete) + * + * @param string $bucket Name of a bucket. + * @param array $optParams Optional parameters. + * + * @opt_param string ifMetagenerationMatch If set, only deletes the bucket if + * its metageneration matches this value. + * @opt_param string ifMetagenerationNotMatch If set, only deletes the bucket if + * its metageneration does not match this value. + */ + public function delete($bucket, $optParams = array()) + { + $params = array('bucket' => $bucket); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Returns metadata for the specified bucket. (buckets.get) + * + * @param string $bucket Name of a bucket. + * @param array $optParams Optional parameters. + * + * @opt_param string ifMetagenerationMatch Makes the return of the bucket + * metadata conditional on whether the bucket's current metageneration matches + * the given value. + * @opt_param string ifMetagenerationNotMatch Makes the return of the bucket + * metadata conditional on whether the bucket's current metageneration does not + * match the given value. + * @opt_param string projection Set of properties to return. Defaults to noAcl. + * @return Google_Service_Storage_Bucket + */ + public function get($bucket, $optParams = array()) + { + $params = array('bucket' => $bucket); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Storage_Bucket"); + } + + /** + * Creates a new bucket. (buckets.insert) + * + * @param string $project A valid API project identifier. + * @param Google_Bucket $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string predefinedAcl Apply a predefined set of access controls to + * this bucket. + * @opt_param string projection Set of properties to return. Defaults to noAcl, + * unless the bucket resource specifies acl or defaultObjectAcl properties, when + * it defaults to full. + * @opt_param string predefinedDefaultObjectAcl Apply a predefined set of + * default object access controls to this bucket. + * @return Google_Service_Storage_Bucket + */ + public function insert($project, Google_Service_Storage_Bucket $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Storage_Bucket"); + } + + /** + * Retrieves a list of buckets for a given project. (buckets.listBuckets) + * + * @param string $project A valid API project identifier. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken A previously-returned page token representing + * part of the larger set of results to view. + * @opt_param string prefix Filter results to buckets whose names begin with + * this prefix. + * @opt_param string projection Set of properties to return. Defaults to noAcl. + * @opt_param string maxResults Maximum number of buckets to return. + * @return Google_Service_Storage_Buckets + */ + public function listBuckets($project, $optParams = array()) + { + $params = array('project' => $project); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Storage_Buckets"); + } + + /** + * Updates a bucket. This method supports patch semantics. (buckets.patch) + * + * @param string $bucket Name of a bucket. + * @param Google_Bucket $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string projection Set of properties to return. Defaults to full. + * @opt_param string ifMetagenerationMatch Makes the return of the bucket + * metadata conditional on whether the bucket's current metageneration matches + * the given value. + * @opt_param string predefinedDefaultObjectAcl Apply a predefined set of + * default object access controls to this bucket. + * @opt_param string predefinedAcl Apply a predefined set of access controls to + * this bucket. + * @opt_param string ifMetagenerationNotMatch Makes the return of the bucket + * metadata conditional on whether the bucket's current metageneration does not + * match the given value. + * @return Google_Service_Storage_Bucket + */ + public function patch($bucket, Google_Service_Storage_Bucket $postBody, $optParams = array()) + { + $params = array('bucket' => $bucket, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Storage_Bucket"); + } + + /** + * Updates a bucket. (buckets.update) + * + * @param string $bucket Name of a bucket. + * @param Google_Bucket $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string projection Set of properties to return. Defaults to full. + * @opt_param string ifMetagenerationMatch Makes the return of the bucket + * metadata conditional on whether the bucket's current metageneration matches + * the given value. + * @opt_param string predefinedDefaultObjectAcl Apply a predefined set of + * default object access controls to this bucket. + * @opt_param string predefinedAcl Apply a predefined set of access controls to + * this bucket. + * @opt_param string ifMetagenerationNotMatch Makes the return of the bucket + * metadata conditional on whether the bucket's current metageneration does not + * match the given value. + * @return Google_Service_Storage_Bucket + */ + public function update($bucket, Google_Service_Storage_Bucket $postBody, $optParams = array()) + { + $params = array('bucket' => $bucket, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Storage_Bucket"); + } +} + +/** + * The "channels" collection of methods. + * Typical usage is: + * + * $storageService = new Google_Service_Storage(...); + * $channels = $storageService->channels; + * + */ +class Google_Service_Storage_Channels_Resource extends Google_Service_Resource +{ + + /** + * Stop watching resources through this channel (channels.stop) + * + * @param Google_Channel $postBody + * @param array $optParams Optional parameters. + */ + public function stop(Google_Service_Storage_Channel $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('stop', array($params)); + } +} + +/** + * The "defaultObjectAccessControls" collection of methods. + * Typical usage is: + * + * $storageService = new Google_Service_Storage(...); + * $defaultObjectAccessControls = $storageService->defaultObjectAccessControls; + * + */ +class Google_Service_Storage_DefaultObjectAccessControls_Resource extends Google_Service_Resource +{ + + /** + * Permanently deletes the default object ACL entry for the specified entity on + * the specified bucket. (defaultObjectAccessControls.delete) + * + * @param string $bucket Name of a bucket. + * @param string $entity The entity holding the permission. Can be user-userId, + * user-emailAddress, group-groupId, group-emailAddress, allUsers, or + * allAuthenticatedUsers. + * @param array $optParams Optional parameters. + */ + public function delete($bucket, $entity, $optParams = array()) + { + $params = array('bucket' => $bucket, 'entity' => $entity); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Returns the default object ACL entry for the specified entity on the + * specified bucket. (defaultObjectAccessControls.get) + * + * @param string $bucket Name of a bucket. + * @param string $entity The entity holding the permission. Can be user-userId, + * user-emailAddress, group-groupId, group-emailAddress, allUsers, or + * allAuthenticatedUsers. + * @param array $optParams Optional parameters. + * @return Google_Service_Storage_ObjectAccessControl + */ + public function get($bucket, $entity, $optParams = array()) + { + $params = array('bucket' => $bucket, 'entity' => $entity); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Storage_ObjectAccessControl"); + } + + /** + * Creates a new default object ACL entry on the specified bucket. + * (defaultObjectAccessControls.insert) + * + * @param string $bucket Name of a bucket. + * @param Google_ObjectAccessControl $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Storage_ObjectAccessControl + */ + public function insert($bucket, Google_Service_Storage_ObjectAccessControl $postBody, $optParams = array()) + { + $params = array('bucket' => $bucket, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Storage_ObjectAccessControl"); + } + + /** + * Retrieves default object ACL entries on the specified bucket. + * (defaultObjectAccessControls.listDefaultObjectAccessControls) + * + * @param string $bucket Name of a bucket. + * @param array $optParams Optional parameters. + * + * @opt_param string ifMetagenerationMatch If present, only return default ACL + * listing if the bucket's current metageneration matches this value. + * @opt_param string ifMetagenerationNotMatch If present, only return default + * ACL listing if the bucket's current metageneration does not match the given + * value. + * @return Google_Service_Storage_ObjectAccessControls + */ + public function listDefaultObjectAccessControls($bucket, $optParams = array()) + { + $params = array('bucket' => $bucket); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Storage_ObjectAccessControls"); + } + + /** + * Updates a default object ACL entry on the specified bucket. This method + * supports patch semantics. (defaultObjectAccessControls.patch) + * + * @param string $bucket Name of a bucket. + * @param string $entity The entity holding the permission. Can be user-userId, + * user-emailAddress, group-groupId, group-emailAddress, allUsers, or + * allAuthenticatedUsers. + * @param Google_ObjectAccessControl $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Storage_ObjectAccessControl + */ + public function patch($bucket, $entity, Google_Service_Storage_ObjectAccessControl $postBody, $optParams = array()) + { + $params = array('bucket' => $bucket, 'entity' => $entity, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Storage_ObjectAccessControl"); + } + + /** + * Updates a default object ACL entry on the specified bucket. + * (defaultObjectAccessControls.update) + * + * @param string $bucket Name of a bucket. + * @param string $entity The entity holding the permission. Can be user-userId, + * user-emailAddress, group-groupId, group-emailAddress, allUsers, or + * allAuthenticatedUsers. + * @param Google_ObjectAccessControl $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Storage_ObjectAccessControl + */ + public function update($bucket, $entity, Google_Service_Storage_ObjectAccessControl $postBody, $optParams = array()) + { + $params = array('bucket' => $bucket, 'entity' => $entity, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Storage_ObjectAccessControl"); + } +} + +/** + * The "objectAccessControls" collection of methods. + * Typical usage is: + * + * $storageService = new Google_Service_Storage(...); + * $objectAccessControls = $storageService->objectAccessControls; + * + */ +class Google_Service_Storage_ObjectAccessControls_Resource extends Google_Service_Resource +{ + + /** + * Permanently deletes the ACL entry for the specified entity on the specified + * object. (objectAccessControls.delete) + * + * @param string $bucket Name of a bucket. + * @param string $object Name of the object. For information about how to URL + * encode object names to be path safe, see Encoding URI Path Parts. + * @param string $entity The entity holding the permission. Can be user-userId, + * user-emailAddress, group-groupId, group-emailAddress, allUsers, or + * allAuthenticatedUsers. + * @param array $optParams Optional parameters. + * + * @opt_param string generation If present, selects a specific revision of this + * object (as opposed to the latest version, the default). + */ + public function delete($bucket, $object, $entity, $optParams = array()) + { + $params = array('bucket' => $bucket, 'object' => $object, 'entity' => $entity); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Returns the ACL entry for the specified entity on the specified object. + * (objectAccessControls.get) + * + * @param string $bucket Name of a bucket. + * @param string $object Name of the object. For information about how to URL + * encode object names to be path safe, see Encoding URI Path Parts. + * @param string $entity The entity holding the permission. Can be user-userId, + * user-emailAddress, group-groupId, group-emailAddress, allUsers, or + * allAuthenticatedUsers. + * @param array $optParams Optional parameters. + * + * @opt_param string generation If present, selects a specific revision of this + * object (as opposed to the latest version, the default). + * @return Google_Service_Storage_ObjectAccessControl + */ + public function get($bucket, $object, $entity, $optParams = array()) + { + $params = array('bucket' => $bucket, 'object' => $object, 'entity' => $entity); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Storage_ObjectAccessControl"); + } + + /** + * Creates a new ACL entry on the specified object. + * (objectAccessControls.insert) + * + * @param string $bucket Name of a bucket. + * @param string $object Name of the object. For information about how to URL + * encode object names to be path safe, see Encoding URI Path Parts. + * @param Google_ObjectAccessControl $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string generation If present, selects a specific revision of this + * object (as opposed to the latest version, the default). + * @return Google_Service_Storage_ObjectAccessControl + */ + public function insert($bucket, $object, Google_Service_Storage_ObjectAccessControl $postBody, $optParams = array()) + { + $params = array('bucket' => $bucket, 'object' => $object, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Storage_ObjectAccessControl"); + } + + /** + * Retrieves ACL entries on the specified object. + * (objectAccessControls.listObjectAccessControls) + * + * @param string $bucket Name of a bucket. + * @param string $object Name of the object. For information about how to URL + * encode object names to be path safe, see Encoding URI Path Parts. + * @param array $optParams Optional parameters. + * + * @opt_param string generation If present, selects a specific revision of this + * object (as opposed to the latest version, the default). + * @return Google_Service_Storage_ObjectAccessControls + */ + public function listObjectAccessControls($bucket, $object, $optParams = array()) + { + $params = array('bucket' => $bucket, 'object' => $object); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Storage_ObjectAccessControls"); + } + + /** + * Updates an ACL entry on the specified object. This method supports patch + * semantics. (objectAccessControls.patch) + * + * @param string $bucket Name of a bucket. + * @param string $object Name of the object. For information about how to URL + * encode object names to be path safe, see Encoding URI Path Parts. + * @param string $entity The entity holding the permission. Can be user-userId, + * user-emailAddress, group-groupId, group-emailAddress, allUsers, or + * allAuthenticatedUsers. + * @param Google_ObjectAccessControl $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string generation If present, selects a specific revision of this + * object (as opposed to the latest version, the default). + * @return Google_Service_Storage_ObjectAccessControl + */ + public function patch($bucket, $object, $entity, Google_Service_Storage_ObjectAccessControl $postBody, $optParams = array()) + { + $params = array('bucket' => $bucket, 'object' => $object, 'entity' => $entity, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Storage_ObjectAccessControl"); + } + + /** + * Updates an ACL entry on the specified object. (objectAccessControls.update) + * + * @param string $bucket Name of a bucket. + * @param string $object Name of the object. For information about how to URL + * encode object names to be path safe, see Encoding URI Path Parts. + * @param string $entity The entity holding the permission. Can be user-userId, + * user-emailAddress, group-groupId, group-emailAddress, allUsers, or + * allAuthenticatedUsers. + * @param Google_ObjectAccessControl $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string generation If present, selects a specific revision of this + * object (as opposed to the latest version, the default). + * @return Google_Service_Storage_ObjectAccessControl + */ + public function update($bucket, $object, $entity, Google_Service_Storage_ObjectAccessControl $postBody, $optParams = array()) + { + $params = array('bucket' => $bucket, 'object' => $object, 'entity' => $entity, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Storage_ObjectAccessControl"); + } +} + +/** + * The "objects" collection of methods. + * Typical usage is: + * + * $storageService = new Google_Service_Storage(...); + * $objects = $storageService->objects; + * + */ +class Google_Service_Storage_Objects_Resource extends Google_Service_Resource +{ + + /** + * Concatenates a list of existing objects into a new object in the same bucket. + * (objects.compose) + * + * @param string $destinationBucket Name of the bucket in which to store the new + * object. + * @param string $destinationObject Name of the new object. For information + * about how to URL encode object names to be path safe, see Encoding URI Path + * Parts. + * @param Google_ComposeRequest $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string ifGenerationMatch Makes the operation conditional on + * whether the object's current generation matches the given value. + * @opt_param string ifMetagenerationMatch Makes the operation conditional on + * whether the object's current metageneration matches the given value. + * @opt_param string destinationPredefinedAcl Apply a predefined set of access + * controls to the destination object. + * @return Google_Service_Storage_StorageObject + */ + public function compose($destinationBucket, $destinationObject, Google_Service_Storage_ComposeRequest $postBody, $optParams = array()) + { + $params = array('destinationBucket' => $destinationBucket, 'destinationObject' => $destinationObject, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('compose', array($params), "Google_Service_Storage_StorageObject"); + } + + /** + * Copies a source object to a destination object. Optionally overrides + * metadata. (objects.copy) + * + * @param string $sourceBucket Name of the bucket in which to find the source + * object. + * @param string $sourceObject Name of the source object. For information about + * how to URL encode object names to be path safe, see Encoding URI Path Parts. + * @param string $destinationBucket Name of the bucket in which to store the new + * object. Overrides the provided object metadata's bucket value, if any.For + * information about how to URL encode object names to be path safe, see + * Encoding URI Path Parts. + * @param string $destinationObject Name of the new object. Required when the + * object metadata is not otherwise provided. Overrides the object metadata's + * name value, if any. + * @param Google_StorageObject $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string ifSourceGenerationNotMatch Makes the operation conditional + * on whether the source object's generation does not match the given value. + * @opt_param string ifGenerationNotMatch Makes the operation conditional on + * whether the destination object's current generation does not match the given + * value. + * @opt_param string ifSourceMetagenerationNotMatch Makes the operation + * conditional on whether the source object's current metageneration does not + * match the given value. + * @opt_param string ifMetagenerationMatch Makes the operation conditional on + * whether the destination object's current metageneration matches the given + * value. + * @opt_param string sourceGeneration If present, selects a specific revision of + * the source object (as opposed to the latest version, the default). + * @opt_param string destinationPredefinedAcl Apply a predefined set of access + * controls to the destination object. + * @opt_param string ifSourceGenerationMatch Makes the operation conditional on + * whether the source object's generation matches the given value. + * @opt_param string ifSourceMetagenerationMatch Makes the operation conditional + * on whether the source object's current metageneration matches the given + * value. + * @opt_param string ifGenerationMatch Makes the operation conditional on + * whether the destination object's current generation matches the given value. + * @opt_param string ifMetagenerationNotMatch Makes the operation conditional on + * whether the destination object's current metageneration does not match the + * given value. + * @opt_param string projection Set of properties to return. Defaults to noAcl, + * unless the object resource specifies the acl property, when it defaults to + * full. + * @return Google_Service_Storage_StorageObject + */ + public function copy($sourceBucket, $sourceObject, $destinationBucket, $destinationObject, Google_Service_Storage_StorageObject $postBody, $optParams = array()) + { + $params = array('sourceBucket' => $sourceBucket, 'sourceObject' => $sourceObject, 'destinationBucket' => $destinationBucket, 'destinationObject' => $destinationObject, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('copy', array($params), "Google_Service_Storage_StorageObject"); + } + + /** + * Deletes an object and its metadata. Deletions are permanent if versioning is + * not enabled for the bucket, or if the generation parameter is used. + * (objects.delete) + * + * @param string $bucket Name of the bucket in which the object resides. + * @param string $object Name of the object. For information about how to URL + * encode object names to be path safe, see Encoding URI Path Parts. + * @param array $optParams Optional parameters. + * + * @opt_param string ifGenerationNotMatch Makes the operation conditional on + * whether the object's current generation does not match the given value. + * @opt_param string generation If present, permanently deletes a specific + * revision of this object (as opposed to the latest version, the default). + * @opt_param string ifMetagenerationMatch Makes the operation conditional on + * whether the object's current metageneration matches the given value. + * @opt_param string ifGenerationMatch Makes the operation conditional on + * whether the object's current generation matches the given value. + * @opt_param string ifMetagenerationNotMatch Makes the operation conditional on + * whether the object's current metageneration does not match the given value. + */ + public function delete($bucket, $object, $optParams = array()) + { + $params = array('bucket' => $bucket, 'object' => $object); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Retrieves an object or its metadata. (objects.get) + * + * @param string $bucket Name of the bucket in which the object resides. + * @param string $object Name of the object. For information about how to URL + * encode object names to be path safe, see Encoding URI Path Parts. + * @param array $optParams Optional parameters. + * + * @opt_param string ifGenerationNotMatch Makes the operation conditional on + * whether the object's generation does not match the given value. + * @opt_param string generation If present, selects a specific revision of this + * object (as opposed to the latest version, the default). + * @opt_param string ifMetagenerationMatch Makes the operation conditional on + * whether the object's current metageneration matches the given value. + * @opt_param string ifGenerationMatch Makes the operation conditional on + * whether the object's generation matches the given value. + * @opt_param string ifMetagenerationNotMatch Makes the operation conditional on + * whether the object's current metageneration does not match the given value. + * @opt_param string projection Set of properties to return. Defaults to noAcl. + * @return Google_Service_Storage_StorageObject + */ + public function get($bucket, $object, $optParams = array()) + { + $params = array('bucket' => $bucket, 'object' => $object); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Storage_StorageObject"); + } + + /** + * Stores a new object and metadata. (objects.insert) + * + * @param string $bucket Name of the bucket in which to store the new object. + * Overrides the provided object metadata's bucket value, if any. + * @param Google_StorageObject $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string predefinedAcl Apply a predefined set of access controls to + * this object. + * @opt_param string projection Set of properties to return. Defaults to noAcl, + * unless the object resource specifies the acl property, when it defaults to + * full. + * @opt_param string ifGenerationNotMatch Makes the operation conditional on + * whether the object's current generation does not match the given value. + * @opt_param string ifMetagenerationMatch Makes the operation conditional on + * whether the object's current metageneration matches the given value. + * @opt_param string contentEncoding If set, sets the contentEncoding property + * of the final object to this value. Setting this parameter is equivalent to + * setting the contentEncoding metadata property. This can be useful when + * uploading an object with uploadType=media to indicate the encoding of the + * content being uploaded. + * @opt_param string ifGenerationMatch Makes the operation conditional on + * whether the object's current generation matches the given value. + * @opt_param string ifMetagenerationNotMatch Makes the operation conditional on + * whether the object's current metageneration does not match the given value. + * @opt_param string name Name of the object. Required when the object metadata + * is not otherwise provided. Overrides the object metadata's name value, if + * any. For information about how to URL encode object names to be path safe, + * see Encoding URI Path Parts. + * @return Google_Service_Storage_StorageObject + */ + public function insert($bucket, Google_Service_Storage_StorageObject $postBody, $optParams = array()) + { + $params = array('bucket' => $bucket, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Storage_StorageObject"); + } + + /** + * Retrieves a list of objects matching the criteria. (objects.listObjects) + * + * @param string $bucket Name of the bucket in which to look for objects. + * @param array $optParams Optional parameters. + * + * @opt_param string projection Set of properties to return. Defaults to noAcl. + * @opt_param bool versions If true, lists all versions of an object as distinct + * results. The default is false. For more information, see Object Versioning. + * @opt_param string prefix Filter results to objects whose names begin with + * this prefix. + * @opt_param string maxResults Maximum number of items plus prefixes to return. + * As duplicate prefixes are omitted, fewer total results may be returned than + * requested. The default value of this parameter is 1,000 items. + * @opt_param string pageToken A previously-returned page token representing + * part of the larger set of results to view. + * @opt_param string delimiter Returns results in a directory-like mode. items + * will contain only objects whose names, aside from the prefix, do not contain + * delimiter. Objects whose names, aside from the prefix, contain delimiter will + * have their name, truncated after the delimiter, returned in prefixes. + * Duplicate prefixes are omitted. + * @return Google_Service_Storage_Objects + */ + public function listObjects($bucket, $optParams = array()) + { + $params = array('bucket' => $bucket); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Storage_Objects"); + } + + /** + * Updates an object's metadata. This method supports patch semantics. + * (objects.patch) + * + * @param string $bucket Name of the bucket in which the object resides. + * @param string $object Name of the object. For information about how to URL + * encode object names to be path safe, see Encoding URI Path Parts. + * @param Google_StorageObject $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string predefinedAcl Apply a predefined set of access controls to + * this object. + * @opt_param string ifGenerationNotMatch Makes the operation conditional on + * whether the object's current generation does not match the given value. + * @opt_param string generation If present, selects a specific revision of this + * object (as opposed to the latest version, the default). + * @opt_param string ifMetagenerationMatch Makes the operation conditional on + * whether the object's current metageneration matches the given value. + * @opt_param string ifGenerationMatch Makes the operation conditional on + * whether the object's current generation matches the given value. + * @opt_param string ifMetagenerationNotMatch Makes the operation conditional on + * whether the object's current metageneration does not match the given value. + * @opt_param string projection Set of properties to return. Defaults to full. + * @return Google_Service_Storage_StorageObject + */ + public function patch($bucket, $object, Google_Service_Storage_StorageObject $postBody, $optParams = array()) + { + $params = array('bucket' => $bucket, 'object' => $object, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Storage_StorageObject"); + } + + /** + * Rewrites a source object to a destination object. Optionally overrides + * metadata. (objects.rewrite) + * + * @param string $sourceBucket Name of the bucket in which to find the source + * object. + * @param string $sourceObject Name of the source object. For information about + * how to URL encode object names to be path safe, see Encoding URI Path Parts. + * @param string $destinationBucket Name of the bucket in which to store the new + * object. Overrides the provided object metadata's bucket value, if any. + * @param string $destinationObject Name of the new object. Required when the + * object metadata is not otherwise provided. Overrides the object metadata's + * name value, if any. For information about how to URL encode object names to + * be path safe, see Encoding URI Path Parts. + * @param Google_StorageObject $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string ifSourceGenerationNotMatch Makes the operation conditional + * on whether the source object's generation does not match the given value. + * @opt_param string ifGenerationNotMatch Makes the operation conditional on + * whether the destination object's current generation does not match the given + * value. + * @opt_param string rewriteToken Include this field (from the previous rewrite + * response) on each rewrite request after the first one, until the rewrite + * response 'done' flag is true. Calls that provide a rewriteToken can omit all + * other request fields, but if included those fields must match the values + * provided in the first rewrite request. + * @opt_param string ifSourceMetagenerationNotMatch Makes the operation + * conditional on whether the source object's current metageneration does not + * match the given value. + * @opt_param string ifMetagenerationMatch Makes the operation conditional on + * whether the destination object's current metageneration matches the given + * value. + * @opt_param string sourceGeneration If present, selects a specific revision of + * the source object (as opposed to the latest version, the default). + * @opt_param string destinationPredefinedAcl Apply a predefined set of access + * controls to the destination object. + * @opt_param string ifSourceGenerationMatch Makes the operation conditional on + * whether the source object's generation matches the given value. + * @opt_param string maxBytesRewrittenPerCall The maximum number of bytes that + * will be rewritten per rewrite request. Most callers shouldn't need to specify + * this parameter - it is primarily in place to support testing. If specified + * the value must be an integral multiple of 1 MiB (1048576). Also, this only + * applies to requests where the source and destination span locations and/or + * storage classes. Finally, this value must not change across rewrite calls + * else you'll get an error that the rewriteToken is invalid. + * @opt_param string ifSourceMetagenerationMatch Makes the operation conditional + * on whether the source object's current metageneration matches the given + * value. + * @opt_param string ifGenerationMatch Makes the operation conditional on + * whether the destination object's current generation matches the given value. + * @opt_param string ifMetagenerationNotMatch Makes the operation conditional on + * whether the destination object's current metageneration does not match the + * given value. + * @opt_param string projection Set of properties to return. Defaults to noAcl, + * unless the object resource specifies the acl property, when it defaults to + * full. + * @return Google_Service_Storage_RewriteResponse + */ + public function rewrite($sourceBucket, $sourceObject, $destinationBucket, $destinationObject, Google_Service_Storage_StorageObject $postBody, $optParams = array()) + { + $params = array('sourceBucket' => $sourceBucket, 'sourceObject' => $sourceObject, 'destinationBucket' => $destinationBucket, 'destinationObject' => $destinationObject, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('rewrite', array($params), "Google_Service_Storage_RewriteResponse"); + } + + /** + * Updates an object's metadata. (objects.update) + * + * @param string $bucket Name of the bucket in which the object resides. + * @param string $object Name of the object. For information about how to URL + * encode object names to be path safe, see Encoding URI Path Parts. + * @param Google_StorageObject $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string predefinedAcl Apply a predefined set of access controls to + * this object. + * @opt_param string ifGenerationNotMatch Makes the operation conditional on + * whether the object's current generation does not match the given value. + * @opt_param string generation If present, selects a specific revision of this + * object (as opposed to the latest version, the default). + * @opt_param string ifMetagenerationMatch Makes the operation conditional on + * whether the object's current metageneration matches the given value. + * @opt_param string ifGenerationMatch Makes the operation conditional on + * whether the object's current generation matches the given value. + * @opt_param string ifMetagenerationNotMatch Makes the operation conditional on + * whether the object's current metageneration does not match the given value. + * @opt_param string projection Set of properties to return. Defaults to full. + * @return Google_Service_Storage_StorageObject + */ + public function update($bucket, $object, Google_Service_Storage_StorageObject $postBody, $optParams = array()) + { + $params = array('bucket' => $bucket, 'object' => $object, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Storage_StorageObject"); + } + + /** + * Watch for changes on all objects in a bucket. (objects.watchAll) + * + * @param string $bucket Name of the bucket in which to look for objects. + * @param Google_Channel $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string projection Set of properties to return. Defaults to noAcl. + * @opt_param bool versions If true, lists all versions of an object as distinct + * results. The default is false. For more information, see Object Versioning. + * @opt_param string prefix Filter results to objects whose names begin with + * this prefix. + * @opt_param string maxResults Maximum number of items plus prefixes to return. + * As duplicate prefixes are omitted, fewer total results may be returned than + * requested. The default value of this parameter is 1,000 items. + * @opt_param string pageToken A previously-returned page token representing + * part of the larger set of results to view. + * @opt_param string delimiter Returns results in a directory-like mode. items + * will contain only objects whose names, aside from the prefix, do not contain + * delimiter. Objects whose names, aside from the prefix, contain delimiter will + * have their name, truncated after the delimiter, returned in prefixes. + * Duplicate prefixes are omitted. + * @return Google_Service_Storage_Channel + */ + public function watchAll($bucket, Google_Service_Storage_Channel $postBody, $optParams = array()) + { + $params = array('bucket' => $bucket, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('watchAll', array($params), "Google_Service_Storage_Channel"); + } +} + + + + +class Google_Service_Storage_Bucket extends Google_Collection +{ + protected $collection_key = 'defaultObjectAcl'; + protected $internal_gapi_mappings = array( + ); + protected $aclType = 'Google_Service_Storage_BucketAccessControl'; + protected $aclDataType = 'array'; + protected $corsType = 'Google_Service_Storage_BucketCors'; + protected $corsDataType = 'array'; + protected $defaultObjectAclType = 'Google_Service_Storage_ObjectAccessControl'; + protected $defaultObjectAclDataType = 'array'; + public $etag; + public $id; + public $kind; + protected $lifecycleType = 'Google_Service_Storage_BucketLifecycle'; + protected $lifecycleDataType = ''; + public $location; + protected $loggingType = 'Google_Service_Storage_BucketLogging'; + protected $loggingDataType = ''; + public $metageneration; + public $name; + protected $ownerType = 'Google_Service_Storage_BucketOwner'; + protected $ownerDataType = ''; + public $projectNumber; + public $selfLink; + public $storageClass; + public $timeCreated; + public $updated; + protected $versioningType = 'Google_Service_Storage_BucketVersioning'; + protected $versioningDataType = ''; + protected $websiteType = 'Google_Service_Storage_BucketWebsite'; + protected $websiteDataType = ''; + + + public function setAcl($acl) + { + $this->acl = $acl; + } + public function getAcl() + { + return $this->acl; + } + public function setCors($cors) + { + $this->cors = $cors; + } + public function getCors() + { + return $this->cors; + } + public function setDefaultObjectAcl($defaultObjectAcl) + { + $this->defaultObjectAcl = $defaultObjectAcl; + } + public function getDefaultObjectAcl() + { + return $this->defaultObjectAcl; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLifecycle(Google_Service_Storage_BucketLifecycle $lifecycle) + { + $this->lifecycle = $lifecycle; + } + public function getLifecycle() + { + return $this->lifecycle; + } + public function setLocation($location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setLogging(Google_Service_Storage_BucketLogging $logging) + { + $this->logging = $logging; + } + public function getLogging() + { + return $this->logging; + } + public function setMetageneration($metageneration) + { + $this->metageneration = $metageneration; + } + public function getMetageneration() + { + return $this->metageneration; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOwner(Google_Service_Storage_BucketOwner $owner) + { + $this->owner = $owner; + } + public function getOwner() + { + return $this->owner; + } + public function setProjectNumber($projectNumber) + { + $this->projectNumber = $projectNumber; + } + public function getProjectNumber() + { + return $this->projectNumber; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStorageClass($storageClass) + { + $this->storageClass = $storageClass; + } + public function getStorageClass() + { + return $this->storageClass; + } + public function setTimeCreated($timeCreated) + { + $this->timeCreated = $timeCreated; + } + public function getTimeCreated() + { + return $this->timeCreated; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } + public function setVersioning(Google_Service_Storage_BucketVersioning $versioning) + { + $this->versioning = $versioning; + } + public function getVersioning() + { + return $this->versioning; + } + public function setWebsite(Google_Service_Storage_BucketWebsite $website) + { + $this->website = $website; + } + public function getWebsite() + { + return $this->website; + } +} + +class Google_Service_Storage_BucketAccessControl extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $bucket; + public $domain; + public $email; + public $entity; + public $entityId; + public $etag; + public $id; + public $kind; + protected $projectTeamType = 'Google_Service_Storage_BucketAccessControlProjectTeam'; + protected $projectTeamDataType = ''; + public $role; + public $selfLink; + + + public function setBucket($bucket) + { + $this->bucket = $bucket; + } + public function getBucket() + { + return $this->bucket; + } + public function setDomain($domain) + { + $this->domain = $domain; + } + public function getDomain() + { + return $this->domain; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setEntity($entity) + { + $this->entity = $entity; + } + public function getEntity() + { + return $this->entity; + } + public function setEntityId($entityId) + { + $this->entityId = $entityId; + } + public function getEntityId() + { + return $this->entityId; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setProjectTeam(Google_Service_Storage_BucketAccessControlProjectTeam $projectTeam) + { + $this->projectTeam = $projectTeam; + } + public function getProjectTeam() + { + return $this->projectTeam; + } + public function setRole($role) + { + $this->role = $role; + } + public function getRole() + { + return $this->role; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Storage_BucketAccessControlProjectTeam extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $projectNumber; + public $team; + + + public function setProjectNumber($projectNumber) + { + $this->projectNumber = $projectNumber; + } + public function getProjectNumber() + { + return $this->projectNumber; + } + public function setTeam($team) + { + $this->team = $team; + } + public function getTeam() + { + return $this->team; + } +} + +class Google_Service_Storage_BucketAccessControls extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Storage_BucketAccessControl'; + protected $itemsDataType = 'array'; + public $kind; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Storage_BucketCors extends Google_Collection +{ + protected $collection_key = 'responseHeader'; + protected $internal_gapi_mappings = array( + ); + public $maxAgeSeconds; + public $method; + public $origin; + public $responseHeader; + + + public function setMaxAgeSeconds($maxAgeSeconds) + { + $this->maxAgeSeconds = $maxAgeSeconds; + } + public function getMaxAgeSeconds() + { + return $this->maxAgeSeconds; + } + public function setMethod($method) + { + $this->method = $method; + } + public function getMethod() + { + return $this->method; + } + public function setOrigin($origin) + { + $this->origin = $origin; + } + public function getOrigin() + { + return $this->origin; + } + public function setResponseHeader($responseHeader) + { + $this->responseHeader = $responseHeader; + } + public function getResponseHeader() + { + return $this->responseHeader; + } +} + +class Google_Service_Storage_BucketLifecycle extends Google_Collection +{ + protected $collection_key = 'rule'; + protected $internal_gapi_mappings = array( + ); + protected $ruleType = 'Google_Service_Storage_BucketLifecycleRule'; + protected $ruleDataType = 'array'; + + + public function setRule($rule) + { + $this->rule = $rule; + } + public function getRule() + { + return $this->rule; + } +} + +class Google_Service_Storage_BucketLifecycleRule extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $actionType = 'Google_Service_Storage_BucketLifecycleRuleAction'; + protected $actionDataType = ''; + protected $conditionType = 'Google_Service_Storage_BucketLifecycleRuleCondition'; + protected $conditionDataType = ''; + + + public function setAction(Google_Service_Storage_BucketLifecycleRuleAction $action) + { + $this->action = $action; + } + public function getAction() + { + return $this->action; + } + public function setCondition(Google_Service_Storage_BucketLifecycleRuleCondition $condition) + { + $this->condition = $condition; + } + public function getCondition() + { + return $this->condition; + } +} + +class Google_Service_Storage_BucketLifecycleRuleAction extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $type; + + + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Storage_BucketLifecycleRuleCondition extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $age; + public $createdBefore; + public $isLive; + public $numNewerVersions; + + + public function setAge($age) + { + $this->age = $age; + } + public function getAge() + { + return $this->age; + } + public function setCreatedBefore($createdBefore) + { + $this->createdBefore = $createdBefore; + } + public function getCreatedBefore() + { + return $this->createdBefore; + } + public function setIsLive($isLive) + { + $this->isLive = $isLive; + } + public function getIsLive() + { + return $this->isLive; + } + public function setNumNewerVersions($numNewerVersions) + { + $this->numNewerVersions = $numNewerVersions; + } + public function getNumNewerVersions() + { + return $this->numNewerVersions; + } +} + +class Google_Service_Storage_BucketLogging extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $logBucket; + public $logObjectPrefix; + + + public function setLogBucket($logBucket) + { + $this->logBucket = $logBucket; + } + public function getLogBucket() + { + return $this->logBucket; + } + public function setLogObjectPrefix($logObjectPrefix) + { + $this->logObjectPrefix = $logObjectPrefix; + } + public function getLogObjectPrefix() + { + return $this->logObjectPrefix; + } +} + +class Google_Service_Storage_BucketOwner extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $entity; + public $entityId; + + + public function setEntity($entity) + { + $this->entity = $entity; + } + public function getEntity() + { + return $this->entity; + } + public function setEntityId($entityId) + { + $this->entityId = $entityId; + } + public function getEntityId() + { + return $this->entityId; + } +} + +class Google_Service_Storage_BucketVersioning extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $enabled; + + + public function setEnabled($enabled) + { + $this->enabled = $enabled; + } + public function getEnabled() + { + return $this->enabled; + } +} + +class Google_Service_Storage_BucketWebsite extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $mainPageSuffix; + public $notFoundPage; + + + public function setMainPageSuffix($mainPageSuffix) + { + $this->mainPageSuffix = $mainPageSuffix; + } + public function getMainPageSuffix() + { + return $this->mainPageSuffix; + } + public function setNotFoundPage($notFoundPage) + { + $this->notFoundPage = $notFoundPage; + } + public function getNotFoundPage() + { + return $this->notFoundPage; + } +} + +class Google_Service_Storage_Buckets extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Storage_Bucket'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Storage_Channel extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $address; + public $expiration; + public $id; + public $kind; + public $params; + public $payload; + public $resourceId; + public $resourceUri; + public $token; + public $type; + + + public function setAddress($address) + { + $this->address = $address; + } + public function getAddress() + { + return $this->address; + } + public function setExpiration($expiration) + { + $this->expiration = $expiration; + } + public function getExpiration() + { + return $this->expiration; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setParams($params) + { + $this->params = $params; + } + public function getParams() + { + return $this->params; + } + public function setPayload($payload) + { + $this->payload = $payload; + } + public function getPayload() + { + return $this->payload; + } + public function setResourceId($resourceId) + { + $this->resourceId = $resourceId; + } + public function getResourceId() + { + return $this->resourceId; + } + public function setResourceUri($resourceUri) + { + $this->resourceUri = $resourceUri; + } + public function getResourceUri() + { + return $this->resourceUri; + } + public function setToken($token) + { + $this->token = $token; + } + public function getToken() + { + return $this->token; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Storage_ChannelParams extends Google_Model +{ +} + +class Google_Service_Storage_ComposeRequest extends Google_Collection +{ + protected $collection_key = 'sourceObjects'; + protected $internal_gapi_mappings = array( + ); + protected $destinationType = 'Google_Service_Storage_StorageObject'; + protected $destinationDataType = ''; + public $kind; + protected $sourceObjectsType = 'Google_Service_Storage_ComposeRequestSourceObjects'; + protected $sourceObjectsDataType = 'array'; + + + public function setDestination(Google_Service_Storage_StorageObject $destination) + { + $this->destination = $destination; + } + public function getDestination() + { + return $this->destination; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSourceObjects($sourceObjects) + { + $this->sourceObjects = $sourceObjects; + } + public function getSourceObjects() + { + return $this->sourceObjects; + } +} + +class Google_Service_Storage_ComposeRequestSourceObjects extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $generation; + public $name; + protected $objectPreconditionsType = 'Google_Service_Storage_ComposeRequestSourceObjectsObjectPreconditions'; + protected $objectPreconditionsDataType = ''; + + + public function setGeneration($generation) + { + $this->generation = $generation; + } + public function getGeneration() + { + return $this->generation; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setObjectPreconditions(Google_Service_Storage_ComposeRequestSourceObjectsObjectPreconditions $objectPreconditions) + { + $this->objectPreconditions = $objectPreconditions; + } + public function getObjectPreconditions() + { + return $this->objectPreconditions; + } +} + +class Google_Service_Storage_ComposeRequestSourceObjectsObjectPreconditions extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $ifGenerationMatch; + + + public function setIfGenerationMatch($ifGenerationMatch) + { + $this->ifGenerationMatch = $ifGenerationMatch; + } + public function getIfGenerationMatch() + { + return $this->ifGenerationMatch; + } +} + +class Google_Service_Storage_ObjectAccessControl extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $bucket; + public $domain; + public $email; + public $entity; + public $entityId; + public $etag; + public $generation; + public $id; + public $kind; + public $object; + protected $projectTeamType = 'Google_Service_Storage_ObjectAccessControlProjectTeam'; + protected $projectTeamDataType = ''; + public $role; + public $selfLink; + + + public function setBucket($bucket) + { + $this->bucket = $bucket; + } + public function getBucket() + { + return $this->bucket; + } + public function setDomain($domain) + { + $this->domain = $domain; + } + public function getDomain() + { + return $this->domain; + } + public function setEmail($email) + { + $this->email = $email; + } + public function getEmail() + { + return $this->email; + } + public function setEntity($entity) + { + $this->entity = $entity; + } + public function getEntity() + { + return $this->entity; + } + public function setEntityId($entityId) + { + $this->entityId = $entityId; + } + public function getEntityId() + { + return $this->entityId; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setGeneration($generation) + { + $this->generation = $generation; + } + public function getGeneration() + { + return $this->generation; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setObject($object) + { + $this->object = $object; + } + public function getObject() + { + return $this->object; + } + public function setProjectTeam(Google_Service_Storage_ObjectAccessControlProjectTeam $projectTeam) + { + $this->projectTeam = $projectTeam; + } + public function getProjectTeam() + { + return $this->projectTeam; + } + public function setRole($role) + { + $this->role = $role; + } + public function getRole() + { + return $this->role; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } +} + +class Google_Service_Storage_ObjectAccessControlProjectTeam extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $projectNumber; + public $team; + + + public function setProjectNumber($projectNumber) + { + $this->projectNumber = $projectNumber; + } + public function getProjectNumber() + { + return $this->projectNumber; + } + public function setTeam($team) + { + $this->team = $team; + } + public function getTeam() + { + return $this->team; + } +} + +class Google_Service_Storage_ObjectAccessControls extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $items; + public $kind; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Storage_Objects extends Google_Collection +{ + protected $collection_key = 'prefixes'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Storage_StorageObject'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + public $prefixes; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPrefixes($prefixes) + { + $this->prefixes = $prefixes; + } + public function getPrefixes() + { + return $this->prefixes; + } +} + +class Google_Service_Storage_RewriteResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $done; + public $kind; + public $objectSize; + protected $resourceType = 'Google_Service_Storage_StorageObject'; + protected $resourceDataType = ''; + public $rewriteToken; + public $totalBytesRewritten; + + + public function setDone($done) + { + $this->done = $done; + } + public function getDone() + { + return $this->done; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setObjectSize($objectSize) + { + $this->objectSize = $objectSize; + } + public function getObjectSize() + { + return $this->objectSize; + } + public function setResource(Google_Service_Storage_StorageObject $resource) + { + $this->resource = $resource; + } + public function getResource() + { + return $this->resource; + } + public function setRewriteToken($rewriteToken) + { + $this->rewriteToken = $rewriteToken; + } + public function getRewriteToken() + { + return $this->rewriteToken; + } + public function setTotalBytesRewritten($totalBytesRewritten) + { + $this->totalBytesRewritten = $totalBytesRewritten; + } + public function getTotalBytesRewritten() + { + return $this->totalBytesRewritten; + } +} + +class Google_Service_Storage_StorageObject extends Google_Collection +{ + protected $collection_key = 'acl'; + protected $internal_gapi_mappings = array( + ); + protected $aclType = 'Google_Service_Storage_ObjectAccessControl'; + protected $aclDataType = 'array'; + public $bucket; + public $cacheControl; + public $componentCount; + public $contentDisposition; + public $contentEncoding; + public $contentLanguage; + public $contentType; + public $crc32c; + public $etag; + public $generation; + public $id; + public $kind; + public $md5Hash; + public $mediaLink; + public $metadata; + public $metageneration; + public $name; + protected $ownerType = 'Google_Service_Storage_StorageObjectOwner'; + protected $ownerDataType = ''; + public $selfLink; + public $size; + public $storageClass; + public $timeCreated; + public $timeDeleted; + public $updated; + + + public function setAcl($acl) + { + $this->acl = $acl; + } + public function getAcl() + { + return $this->acl; + } + public function setBucket($bucket) + { + $this->bucket = $bucket; + } + public function getBucket() + { + return $this->bucket; + } + public function setCacheControl($cacheControl) + { + $this->cacheControl = $cacheControl; + } + public function getCacheControl() + { + return $this->cacheControl; + } + public function setComponentCount($componentCount) + { + $this->componentCount = $componentCount; + } + public function getComponentCount() + { + return $this->componentCount; + } + public function setContentDisposition($contentDisposition) + { + $this->contentDisposition = $contentDisposition; + } + public function getContentDisposition() + { + return $this->contentDisposition; + } + public function setContentEncoding($contentEncoding) + { + $this->contentEncoding = $contentEncoding; + } + public function getContentEncoding() + { + return $this->contentEncoding; + } + public function setContentLanguage($contentLanguage) + { + $this->contentLanguage = $contentLanguage; + } + public function getContentLanguage() + { + return $this->contentLanguage; + } + public function setContentType($contentType) + { + $this->contentType = $contentType; + } + public function getContentType() + { + return $this->contentType; + } + public function setCrc32c($crc32c) + { + $this->crc32c = $crc32c; + } + public function getCrc32c() + { + return $this->crc32c; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setGeneration($generation) + { + $this->generation = $generation; + } + public function getGeneration() + { + return $this->generation; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMd5Hash($md5Hash) + { + $this->md5Hash = $md5Hash; + } + public function getMd5Hash() + { + return $this->md5Hash; + } + public function setMediaLink($mediaLink) + { + $this->mediaLink = $mediaLink; + } + public function getMediaLink() + { + return $this->mediaLink; + } + public function setMetadata($metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setMetageneration($metageneration) + { + $this->metageneration = $metageneration; + } + public function getMetageneration() + { + return $this->metageneration; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setOwner(Google_Service_Storage_StorageObjectOwner $owner) + { + $this->owner = $owner; + } + public function getOwner() + { + return $this->owner; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setSize($size) + { + $this->size = $size; + } + public function getSize() + { + return $this->size; + } + public function setStorageClass($storageClass) + { + $this->storageClass = $storageClass; + } + public function getStorageClass() + { + return $this->storageClass; + } + public function setTimeCreated($timeCreated) + { + $this->timeCreated = $timeCreated; + } + public function getTimeCreated() + { + return $this->timeCreated; + } + public function setTimeDeleted($timeDeleted) + { + $this->timeDeleted = $timeDeleted; + } + public function getTimeDeleted() + { + return $this->timeDeleted; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } +} + +class Google_Service_Storage_StorageObjectMetadata extends Google_Model +{ +} + +class Google_Service_Storage_StorageObjectOwner extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $entity; + public $entityId; + + + public function setEntity($entity) + { + $this->entity = $entity; + } + public function getEntity() + { + return $this->entity; + } + public function setEntityId($entityId) + { + $this->entityId = $entityId; + } + public function getEntityId() + { + return $this->entityId; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Storagetransfer.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Storagetransfer.php new file mode 100644 index 0000000..9141d5c --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Storagetransfer.php @@ -0,0 +1,1475 @@ + + * Transfers data from external data sources to a Google Cloud Storage bucket or + * between Google Cloud Storage buckets.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Storagetransfer extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + + public $googleServiceAccounts; + public $transferJobs; + public $transferOperations; + public $v1; + + + /** + * Constructs the internal representation of the Storagetransfer service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://storagetransfer.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'storagetransfer'; + + $this->googleServiceAccounts = new Google_Service_Storagetransfer_GoogleServiceAccounts_Resource( + $this, + $this->serviceName, + 'googleServiceAccounts', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v1/googleServiceAccounts/{projectId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->transferJobs = new Google_Service_Storagetransfer_TransferJobs_Resource( + $this, + $this->serviceName, + 'transferJobs', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/transferJobs', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'get' => array( + 'path' => 'v1/{+jobName}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'jobName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'projectId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'v1/transferJobs', + 'httpMethod' => 'GET', + 'parameters' => array( + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => 'v1/{+jobName}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'jobName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->transferOperations = new Google_Service_Storagetransfer_TransferOperations_Resource( + $this, + $this->serviceName, + 'transferOperations', + array( + 'methods' => array( + 'cancel' => array( + 'path' => 'v1/{+name}:cancel', + 'httpMethod' => 'POST', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/{+name}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'pause' => array( + 'path' => 'v1/{+name}:pause', + 'httpMethod' => 'POST', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'resume' => array( + 'path' => 'v1/{+name}:resume', + 'httpMethod' => 'POST', + 'parameters' => array( + 'name' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->v1 = new Google_Service_Storagetransfer_V1_Resource( + $this, + $this->serviceName, + 'v1', + array( + 'methods' => array( + 'getGoogleServiceAccount' => array( + 'path' => 'v1:getGoogleServiceAccount', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "googleServiceAccounts" collection of methods. + * Typical usage is: + * + * $storagetransferService = new Google_Service_Storagetransfer(...); + * $googleServiceAccounts = $storagetransferService->googleServiceAccounts; + * + */ +class Google_Service_Storagetransfer_GoogleServiceAccounts_Resource extends Google_Service_Resource +{ + + /** + * Returns the Google service account that is used by Storage Transfer Service + * to access buckets in the project where transfers run or in other projects. + * Each Google service account is associated with one Google Developers Console + * project. Users should add this service account to the Google Cloud Storage + * bucket ACLs to grant access to Storage Transfer Service. This service account + * is created and owned by Storage Transfer Service and can only be used by + * Storage Transfer Service. (googleServiceAccounts.get) + * + * @param string $projectId The ID of the Google Developers Console project that + * the Google service account is associated with. Required. + * @param array $optParams Optional parameters. + * @return Google_Service_Storagetransfer_GoogleServiceAccount + */ + public function get($projectId, $optParams = array()) + { + $params = array('projectId' => $projectId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Storagetransfer_GoogleServiceAccount"); + } +} + +/** + * The "transferJobs" collection of methods. + * Typical usage is: + * + * $storagetransferService = new Google_Service_Storagetransfer(...); + * $transferJobs = $storagetransferService->transferJobs; + * + */ +class Google_Service_Storagetransfer_TransferJobs_Resource extends Google_Service_Resource +{ + + /** + * Creates a transfer job that runs periodically. (transferJobs.create) + * + * @param Google_TransferJob $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Storagetransfer_TransferJob + */ + public function create(Google_Service_Storagetransfer_TransferJob $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_Storagetransfer_TransferJob"); + } + + /** + * Gets a transfer job. (transferJobs.get) + * + * @param string $jobName The job to get. Required. + * @param array $optParams Optional parameters. + * + * @opt_param string projectId The ID of the Google Developers Console project + * that owns the job. Required. + * @return Google_Service_Storagetransfer_TransferJob + */ + public function get($jobName, $optParams = array()) + { + $params = array('jobName' => $jobName); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Storagetransfer_TransferJob"); + } + + /** + * Lists transfer jobs. (transferJobs.listTransferJobs) + * + * @param array $optParams Optional parameters. + * + * @opt_param string filter A list of query parameters specified as JSON text in + * the form of {"`project_id`":"my_project_id", + * "`job_names`":["jobid1","jobid2",...], + * "`job_statuses`":["status1","status2",...]}. Since `job_names` and + * `job_statuses` support multiple values, their values must be specified with + * array notation. `project_id` is required. `job_names` and `job_statuses` are + * optional. The valid values for `job_statuses` are case-insensitive: + * `ENABLED`, `DISABLED`, and `DELETED`. + * @opt_param string pageToken The list page token. + * @opt_param int pageSize The list page size. The max allowed value is 256. + * @return Google_Service_Storagetransfer_ListTransferJobsResponse + */ + public function listTransferJobs($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Storagetransfer_ListTransferJobsResponse"); + } + + /** + * Updates a transfer job. Updating a job's transfer spec does not affect + * transfer operations that are running already. Updating the scheduling of a + * job is not allowed. (transferJobs.patch) + * + * @param string $jobName The name of job to update. Required. + * @param Google_UpdateTransferJobRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Storagetransfer_TransferJob + */ + public function patch($jobName, Google_Service_Storagetransfer_UpdateTransferJobRequest $postBody, $optParams = array()) + { + $params = array('jobName' => $jobName, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Storagetransfer_TransferJob"); + } +} + +/** + * The "transferOperations" collection of methods. + * Typical usage is: + * + * $storagetransferService = new Google_Service_Storagetransfer(...); + * $transferOperations = $storagetransferService->transferOperations; + * + */ +class Google_Service_Storagetransfer_TransferOperations_Resource extends Google_Service_Resource +{ + + /** + * Cancels a transfer. Use the get method to check whether the cancellation + * succeeded or whether the operation completed despite cancellation. + * (transferOperations.cancel) + * + * @param string $name The name of the operation resource to be cancelled. + * @param array $optParams Optional parameters. + * @return Google_Service_Storagetransfer_Empty + */ + public function cancel($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('cancel', array($params), "Google_Service_Storagetransfer_Empty"); + } + + /** + * This method is not supported and the server returns `UNIMPLEMENTED`. + * (transferOperations.delete) + * + * @param string $name The name of the operation resource to be deleted. + * @param array $optParams Optional parameters. + * @return Google_Service_Storagetransfer_Empty + */ + public function delete($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_Storagetransfer_Empty"); + } + + /** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. (transferOperations.get) + * + * @param string $name The name of the operation resource. + * @param array $optParams Optional parameters. + * @return Google_Service_Storagetransfer_Operation + */ + public function get($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Storagetransfer_Operation"); + } + + /** + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the + * `name` binding below allows API services to override the binding to use + * different resource name schemes, such as `users/operations`. + * (transferOperations.listTransferOperations) + * + * @param string $name The value `transferOperations`. + * @param array $optParams Optional parameters. + * + * @opt_param string filter The standard list filter. + * @opt_param string pageToken The standard list page token. + * @opt_param int pageSize The standard list page size. + * @return Google_Service_Storagetransfer_ListOperationsResponse + */ + public function listTransferOperations($name, $optParams = array()) + { + $params = array('name' => $name); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Storagetransfer_ListOperationsResponse"); + } + + /** + * Pauses a transfer operation. (transferOperations.pause) + * + * @param string $name The name of the transfer operation. Required. + * @param Google_PauseTransferOperationRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Storagetransfer_Empty + */ + public function pause($name, Google_Service_Storagetransfer_PauseTransferOperationRequest $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('pause', array($params), "Google_Service_Storagetransfer_Empty"); + } + + /** + * Resumes a transfer operation that is paused. (transferOperations.resume) + * + * @param string $name The name of the transfer operation. Required. + * @param Google_ResumeTransferOperationRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Storagetransfer_Empty + */ + public function resume($name, Google_Service_Storagetransfer_ResumeTransferOperationRequest $postBody, $optParams = array()) + { + $params = array('name' => $name, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('resume', array($params), "Google_Service_Storagetransfer_Empty"); + } +} + +/** + * The "v1" collection of methods. + * Typical usage is: + * + * $storagetransferService = new Google_Service_Storagetransfer(...); + * $v1 = $storagetransferService->v1; + * + */ +class Google_Service_Storagetransfer_V1_Resource extends Google_Service_Resource +{ + + /** + * Returns the Google service account that is used by Storage Transfer Service + * to access buckets in the project where transfers run or in other projects. + * Each Google service account is associated with one Google Developers Console + * project. Users should add this service account to the Google Cloud Storage + * bucket ACLs to grant access to Storage Transfer Service. This service account + * is created and owned by Storage Transfer Service and can only be used by + * Storage Transfer Service. (v1.getGoogleServiceAccount) + * + * @param array $optParams Optional parameters. + * + * @opt_param string projectId The ID of the Google Developers Console project + * that the Google service account is associated with. Required. + * @return Google_Service_Storagetransfer_GoogleServiceAccount + */ + public function getGoogleServiceAccount($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('getGoogleServiceAccount', array($params), "Google_Service_Storagetransfer_GoogleServiceAccount"); + } +} + + + + +class Google_Service_Storagetransfer_AwsAccessKey extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $accessKeyId; + public $secretAccessKey; + + + public function setAccessKeyId($accessKeyId) + { + $this->accessKeyId = $accessKeyId; + } + public function getAccessKeyId() + { + return $this->accessKeyId; + } + public function setSecretAccessKey($secretAccessKey) + { + $this->secretAccessKey = $secretAccessKey; + } + public function getSecretAccessKey() + { + return $this->secretAccessKey; + } +} + +class Google_Service_Storagetransfer_AwsS3Data extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $awsAccessKeyType = 'Google_Service_Storagetransfer_AwsAccessKey'; + protected $awsAccessKeyDataType = ''; + public $bucketName; + + + public function setAwsAccessKey(Google_Service_Storagetransfer_AwsAccessKey $awsAccessKey) + { + $this->awsAccessKey = $awsAccessKey; + } + public function getAwsAccessKey() + { + return $this->awsAccessKey; + } + public function setBucketName($bucketName) + { + $this->bucketName = $bucketName; + } + public function getBucketName() + { + return $this->bucketName; + } +} + +class Google_Service_Storagetransfer_Date extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $day; + public $month; + public $year; + + + public function setDay($day) + { + $this->day = $day; + } + public function getDay() + { + return $this->day; + } + public function setMonth($month) + { + $this->month = $month; + } + public function getMonth() + { + return $this->month; + } + public function setYear($year) + { + $this->year = $year; + } + public function getYear() + { + return $this->year; + } +} + +class Google_Service_Storagetransfer_Empty extends Google_Model +{ +} + +class Google_Service_Storagetransfer_ErrorLogEntry extends Google_Collection +{ + protected $collection_key = 'errorDetails'; + protected $internal_gapi_mappings = array( + ); + public $errorDetails; + public $url; + + + public function setErrorDetails($errorDetails) + { + $this->errorDetails = $errorDetails; + } + public function getErrorDetails() + { + return $this->errorDetails; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_Storagetransfer_ErrorSummary extends Google_Collection +{ + protected $collection_key = 'errorLogEntries'; + protected $internal_gapi_mappings = array( + ); + public $errorCode; + public $errorCount; + protected $errorLogEntriesType = 'Google_Service_Storagetransfer_ErrorLogEntry'; + protected $errorLogEntriesDataType = 'array'; + + + public function setErrorCode($errorCode) + { + $this->errorCode = $errorCode; + } + public function getErrorCode() + { + return $this->errorCode; + } + public function setErrorCount($errorCount) + { + $this->errorCount = $errorCount; + } + public function getErrorCount() + { + return $this->errorCount; + } + public function setErrorLogEntries($errorLogEntries) + { + $this->errorLogEntries = $errorLogEntries; + } + public function getErrorLogEntries() + { + return $this->errorLogEntries; + } +} + +class Google_Service_Storagetransfer_GcsData extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $bucketName; + + + public function setBucketName($bucketName) + { + $this->bucketName = $bucketName; + } + public function getBucketName() + { + return $this->bucketName; + } +} + +class Google_Service_Storagetransfer_GoogleServiceAccount extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $accountEmail; + + + public function setAccountEmail($accountEmail) + { + $this->accountEmail = $accountEmail; + } + public function getAccountEmail() + { + return $this->accountEmail; + } +} + +class Google_Service_Storagetransfer_HttpData extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $listUrl; + + + public function setListUrl($listUrl) + { + $this->listUrl = $listUrl; + } + public function getListUrl() + { + return $this->listUrl; + } +} + +class Google_Service_Storagetransfer_ListOperationsResponse extends Google_Collection +{ + protected $collection_key = 'operations'; + protected $internal_gapi_mappings = array( + ); + public $nextPageToken; + protected $operationsType = 'Google_Service_Storagetransfer_Operation'; + protected $operationsDataType = 'array'; + + + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setOperations($operations) + { + $this->operations = $operations; + } + public function getOperations() + { + return $this->operations; + } +} + +class Google_Service_Storagetransfer_ListTransferJobsResponse extends Google_Collection +{ + protected $collection_key = 'transferJobs'; + protected $internal_gapi_mappings = array( + ); + public $nextPageToken; + protected $transferJobsType = 'Google_Service_Storagetransfer_TransferJob'; + protected $transferJobsDataType = 'array'; + + + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTransferJobs($transferJobs) + { + $this->transferJobs = $transferJobs; + } + public function getTransferJobs() + { + return $this->transferJobs; + } +} + +class Google_Service_Storagetransfer_ObjectConditions extends Google_Collection +{ + protected $collection_key = 'includePrefixes'; + protected $internal_gapi_mappings = array( + ); + public $excludePrefixes; + public $includePrefixes; + public $maxTimeElapsedSinceLastModification; + public $minTimeElapsedSinceLastModification; + + + public function setExcludePrefixes($excludePrefixes) + { + $this->excludePrefixes = $excludePrefixes; + } + public function getExcludePrefixes() + { + return $this->excludePrefixes; + } + public function setIncludePrefixes($includePrefixes) + { + $this->includePrefixes = $includePrefixes; + } + public function getIncludePrefixes() + { + return $this->includePrefixes; + } + public function setMaxTimeElapsedSinceLastModification($maxTimeElapsedSinceLastModification) + { + $this->maxTimeElapsedSinceLastModification = $maxTimeElapsedSinceLastModification; + } + public function getMaxTimeElapsedSinceLastModification() + { + return $this->maxTimeElapsedSinceLastModification; + } + public function setMinTimeElapsedSinceLastModification($minTimeElapsedSinceLastModification) + { + $this->minTimeElapsedSinceLastModification = $minTimeElapsedSinceLastModification; + } + public function getMinTimeElapsedSinceLastModification() + { + return $this->minTimeElapsedSinceLastModification; + } +} + +class Google_Service_Storagetransfer_Operation extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $done; + protected $errorType = 'Google_Service_Storagetransfer_Status'; + protected $errorDataType = ''; + public $metadata; + public $name; + public $response; + + + public function setDone($done) + { + $this->done = $done; + } + public function getDone() + { + return $this->done; + } + public function setError(Google_Service_Storagetransfer_Status $error) + { + $this->error = $error; + } + public function getError() + { + return $this->error; + } + public function setMetadata($metadata) + { + $this->metadata = $metadata; + } + public function getMetadata() + { + return $this->metadata; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setResponse($response) + { + $this->response = $response; + } + public function getResponse() + { + return $this->response; + } +} + +class Google_Service_Storagetransfer_OperationMetadata extends Google_Model +{ +} + +class Google_Service_Storagetransfer_OperationResponse extends Google_Model +{ +} + +class Google_Service_Storagetransfer_PauseTransferOperationRequest extends Google_Model +{ +} + +class Google_Service_Storagetransfer_ResumeTransferOperationRequest extends Google_Model +{ +} + +class Google_Service_Storagetransfer_Schedule extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $scheduleEndDateType = 'Google_Service_Storagetransfer_Date'; + protected $scheduleEndDateDataType = ''; + protected $scheduleStartDateType = 'Google_Service_Storagetransfer_Date'; + protected $scheduleStartDateDataType = ''; + protected $startTimeOfDayType = 'Google_Service_Storagetransfer_TimeOfDay'; + protected $startTimeOfDayDataType = ''; + + + public function setScheduleEndDate(Google_Service_Storagetransfer_Date $scheduleEndDate) + { + $this->scheduleEndDate = $scheduleEndDate; + } + public function getScheduleEndDate() + { + return $this->scheduleEndDate; + } + public function setScheduleStartDate(Google_Service_Storagetransfer_Date $scheduleStartDate) + { + $this->scheduleStartDate = $scheduleStartDate; + } + public function getScheduleStartDate() + { + return $this->scheduleStartDate; + } + public function setStartTimeOfDay(Google_Service_Storagetransfer_TimeOfDay $startTimeOfDay) + { + $this->startTimeOfDay = $startTimeOfDay; + } + public function getStartTimeOfDay() + { + return $this->startTimeOfDay; + } +} + +class Google_Service_Storagetransfer_Status extends Google_Collection +{ + protected $collection_key = 'details'; + protected $internal_gapi_mappings = array( + ); + public $code; + public $details; + public $message; + + + public function setCode($code) + { + $this->code = $code; + } + public function getCode() + { + return $this->code; + } + public function setDetails($details) + { + $this->details = $details; + } + public function getDetails() + { + return $this->details; + } + public function setMessage($message) + { + $this->message = $message; + } + public function getMessage() + { + return $this->message; + } +} + +class Google_Service_Storagetransfer_StatusDetails extends Google_Model +{ +} + +class Google_Service_Storagetransfer_TimeOfDay extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $hours; + public $minutes; + public $nanos; + public $seconds; + + + public function setHours($hours) + { + $this->hours = $hours; + } + public function getHours() + { + return $this->hours; + } + public function setMinutes($minutes) + { + $this->minutes = $minutes; + } + public function getMinutes() + { + return $this->minutes; + } + public function setNanos($nanos) + { + $this->nanos = $nanos; + } + public function getNanos() + { + return $this->nanos; + } + public function setSeconds($seconds) + { + $this->seconds = $seconds; + } + public function getSeconds() + { + return $this->seconds; + } +} + +class Google_Service_Storagetransfer_TransferCounters extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $bytesCopiedToSink; + public $bytesDeletedFromSink; + public $bytesDeletedFromSource; + public $bytesFailedToDeleteFromSink; + public $bytesFoundFromSource; + public $bytesFoundOnlyFromSink; + public $bytesFromSourceFailed; + public $bytesFromSourceSkippedBySync; + public $objectsCopiedToSink; + public $objectsDeletedFromSink; + public $objectsDeletedFromSource; + public $objectsFailedToDeleteFromSink; + public $objectsFoundFromSource; + public $objectsFoundOnlyFromSink; + public $objectsFromSourceFailed; + public $objectsFromSourceSkippedBySync; + + + public function setBytesCopiedToSink($bytesCopiedToSink) + { + $this->bytesCopiedToSink = $bytesCopiedToSink; + } + public function getBytesCopiedToSink() + { + return $this->bytesCopiedToSink; + } + public function setBytesDeletedFromSink($bytesDeletedFromSink) + { + $this->bytesDeletedFromSink = $bytesDeletedFromSink; + } + public function getBytesDeletedFromSink() + { + return $this->bytesDeletedFromSink; + } + public function setBytesDeletedFromSource($bytesDeletedFromSource) + { + $this->bytesDeletedFromSource = $bytesDeletedFromSource; + } + public function getBytesDeletedFromSource() + { + return $this->bytesDeletedFromSource; + } + public function setBytesFailedToDeleteFromSink($bytesFailedToDeleteFromSink) + { + $this->bytesFailedToDeleteFromSink = $bytesFailedToDeleteFromSink; + } + public function getBytesFailedToDeleteFromSink() + { + return $this->bytesFailedToDeleteFromSink; + } + public function setBytesFoundFromSource($bytesFoundFromSource) + { + $this->bytesFoundFromSource = $bytesFoundFromSource; + } + public function getBytesFoundFromSource() + { + return $this->bytesFoundFromSource; + } + public function setBytesFoundOnlyFromSink($bytesFoundOnlyFromSink) + { + $this->bytesFoundOnlyFromSink = $bytesFoundOnlyFromSink; + } + public function getBytesFoundOnlyFromSink() + { + return $this->bytesFoundOnlyFromSink; + } + public function setBytesFromSourceFailed($bytesFromSourceFailed) + { + $this->bytesFromSourceFailed = $bytesFromSourceFailed; + } + public function getBytesFromSourceFailed() + { + return $this->bytesFromSourceFailed; + } + public function setBytesFromSourceSkippedBySync($bytesFromSourceSkippedBySync) + { + $this->bytesFromSourceSkippedBySync = $bytesFromSourceSkippedBySync; + } + public function getBytesFromSourceSkippedBySync() + { + return $this->bytesFromSourceSkippedBySync; + } + public function setObjectsCopiedToSink($objectsCopiedToSink) + { + $this->objectsCopiedToSink = $objectsCopiedToSink; + } + public function getObjectsCopiedToSink() + { + return $this->objectsCopiedToSink; + } + public function setObjectsDeletedFromSink($objectsDeletedFromSink) + { + $this->objectsDeletedFromSink = $objectsDeletedFromSink; + } + public function getObjectsDeletedFromSink() + { + return $this->objectsDeletedFromSink; + } + public function setObjectsDeletedFromSource($objectsDeletedFromSource) + { + $this->objectsDeletedFromSource = $objectsDeletedFromSource; + } + public function getObjectsDeletedFromSource() + { + return $this->objectsDeletedFromSource; + } + public function setObjectsFailedToDeleteFromSink($objectsFailedToDeleteFromSink) + { + $this->objectsFailedToDeleteFromSink = $objectsFailedToDeleteFromSink; + } + public function getObjectsFailedToDeleteFromSink() + { + return $this->objectsFailedToDeleteFromSink; + } + public function setObjectsFoundFromSource($objectsFoundFromSource) + { + $this->objectsFoundFromSource = $objectsFoundFromSource; + } + public function getObjectsFoundFromSource() + { + return $this->objectsFoundFromSource; + } + public function setObjectsFoundOnlyFromSink($objectsFoundOnlyFromSink) + { + $this->objectsFoundOnlyFromSink = $objectsFoundOnlyFromSink; + } + public function getObjectsFoundOnlyFromSink() + { + return $this->objectsFoundOnlyFromSink; + } + public function setObjectsFromSourceFailed($objectsFromSourceFailed) + { + $this->objectsFromSourceFailed = $objectsFromSourceFailed; + } + public function getObjectsFromSourceFailed() + { + return $this->objectsFromSourceFailed; + } + public function setObjectsFromSourceSkippedBySync($objectsFromSourceSkippedBySync) + { + $this->objectsFromSourceSkippedBySync = $objectsFromSourceSkippedBySync; + } + public function getObjectsFromSourceSkippedBySync() + { + return $this->objectsFromSourceSkippedBySync; + } +} + +class Google_Service_Storagetransfer_TransferJob extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $creationTime; + public $deletionTime; + public $description; + public $lastModificationTime; + public $name; + public $projectId; + protected $scheduleType = 'Google_Service_Storagetransfer_Schedule'; + protected $scheduleDataType = ''; + public $status; + protected $transferSpecType = 'Google_Service_Storagetransfer_TransferSpec'; + protected $transferSpecDataType = ''; + + + public function setCreationTime($creationTime) + { + $this->creationTime = $creationTime; + } + public function getCreationTime() + { + return $this->creationTime; + } + public function setDeletionTime($deletionTime) + { + $this->deletionTime = $deletionTime; + } + public function getDeletionTime() + { + return $this->deletionTime; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setLastModificationTime($lastModificationTime) + { + $this->lastModificationTime = $lastModificationTime; + } + public function getLastModificationTime() + { + return $this->lastModificationTime; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } + public function setSchedule(Google_Service_Storagetransfer_Schedule $schedule) + { + $this->schedule = $schedule; + } + public function getSchedule() + { + return $this->schedule; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setTransferSpec(Google_Service_Storagetransfer_TransferSpec $transferSpec) + { + $this->transferSpec = $transferSpec; + } + public function getTransferSpec() + { + return $this->transferSpec; + } +} + +class Google_Service_Storagetransfer_TransferOperation extends Google_Collection +{ + protected $collection_key = 'errorBreakdowns'; + protected $internal_gapi_mappings = array( + ); + protected $countersType = 'Google_Service_Storagetransfer_TransferCounters'; + protected $countersDataType = ''; + public $endTime; + protected $errorBreakdownsType = 'Google_Service_Storagetransfer_ErrorSummary'; + protected $errorBreakdownsDataType = 'array'; + public $name; + public $projectId; + public $startTime; + public $status; + public $transferJobName; + protected $transferSpecType = 'Google_Service_Storagetransfer_TransferSpec'; + protected $transferSpecDataType = ''; + + + public function setCounters(Google_Service_Storagetransfer_TransferCounters $counters) + { + $this->counters = $counters; + } + public function getCounters() + { + return $this->counters; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setErrorBreakdowns($errorBreakdowns) + { + $this->errorBreakdowns = $errorBreakdowns; + } + public function getErrorBreakdowns() + { + return $this->errorBreakdowns; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setTransferJobName($transferJobName) + { + $this->transferJobName = $transferJobName; + } + public function getTransferJobName() + { + return $this->transferJobName; + } + public function setTransferSpec(Google_Service_Storagetransfer_TransferSpec $transferSpec) + { + $this->transferSpec = $transferSpec; + } + public function getTransferSpec() + { + return $this->transferSpec; + } +} + +class Google_Service_Storagetransfer_TransferOptions extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $deleteObjectsFromSourceAfterTransfer; + public $deleteObjectsUniqueInSink; + public $overwriteObjectsAlreadyExistingInSink; + + + public function setDeleteObjectsFromSourceAfterTransfer($deleteObjectsFromSourceAfterTransfer) + { + $this->deleteObjectsFromSourceAfterTransfer = $deleteObjectsFromSourceAfterTransfer; + } + public function getDeleteObjectsFromSourceAfterTransfer() + { + return $this->deleteObjectsFromSourceAfterTransfer; + } + public function setDeleteObjectsUniqueInSink($deleteObjectsUniqueInSink) + { + $this->deleteObjectsUniqueInSink = $deleteObjectsUniqueInSink; + } + public function getDeleteObjectsUniqueInSink() + { + return $this->deleteObjectsUniqueInSink; + } + public function setOverwriteObjectsAlreadyExistingInSink($overwriteObjectsAlreadyExistingInSink) + { + $this->overwriteObjectsAlreadyExistingInSink = $overwriteObjectsAlreadyExistingInSink; + } + public function getOverwriteObjectsAlreadyExistingInSink() + { + return $this->overwriteObjectsAlreadyExistingInSink; + } +} + +class Google_Service_Storagetransfer_TransferSpec extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $awsS3DataSourceType = 'Google_Service_Storagetransfer_AwsS3Data'; + protected $awsS3DataSourceDataType = ''; + protected $gcsDataSinkType = 'Google_Service_Storagetransfer_GcsData'; + protected $gcsDataSinkDataType = ''; + protected $gcsDataSourceType = 'Google_Service_Storagetransfer_GcsData'; + protected $gcsDataSourceDataType = ''; + protected $httpDataSourceType = 'Google_Service_Storagetransfer_HttpData'; + protected $httpDataSourceDataType = ''; + protected $objectConditionsType = 'Google_Service_Storagetransfer_ObjectConditions'; + protected $objectConditionsDataType = ''; + protected $transferOptionsType = 'Google_Service_Storagetransfer_TransferOptions'; + protected $transferOptionsDataType = ''; + + + public function setAwsS3DataSource(Google_Service_Storagetransfer_AwsS3Data $awsS3DataSource) + { + $this->awsS3DataSource = $awsS3DataSource; + } + public function getAwsS3DataSource() + { + return $this->awsS3DataSource; + } + public function setGcsDataSink(Google_Service_Storagetransfer_GcsData $gcsDataSink) + { + $this->gcsDataSink = $gcsDataSink; + } + public function getGcsDataSink() + { + return $this->gcsDataSink; + } + public function setGcsDataSource(Google_Service_Storagetransfer_GcsData $gcsDataSource) + { + $this->gcsDataSource = $gcsDataSource; + } + public function getGcsDataSource() + { + return $this->gcsDataSource; + } + public function setHttpDataSource(Google_Service_Storagetransfer_HttpData $httpDataSource) + { + $this->httpDataSource = $httpDataSource; + } + public function getHttpDataSource() + { + return $this->httpDataSource; + } + public function setObjectConditions(Google_Service_Storagetransfer_ObjectConditions $objectConditions) + { + $this->objectConditions = $objectConditions; + } + public function getObjectConditions() + { + return $this->objectConditions; + } + public function setTransferOptions(Google_Service_Storagetransfer_TransferOptions $transferOptions) + { + $this->transferOptions = $transferOptions; + } + public function getTransferOptions() + { + return $this->transferOptions; + } +} + +class Google_Service_Storagetransfer_UpdateTransferJobRequest extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $projectId; + protected $transferJobType = 'Google_Service_Storagetransfer_TransferJob'; + protected $transferJobDataType = ''; + public $updateTransferJobFieldMask; + + + public function setProjectId($projectId) + { + $this->projectId = $projectId; + } + public function getProjectId() + { + return $this->projectId; + } + public function setTransferJob(Google_Service_Storagetransfer_TransferJob $transferJob) + { + $this->transferJob = $transferJob; + } + public function getTransferJob() + { + return $this->transferJob; + } + public function setUpdateTransferJobFieldMask($updateTransferJobFieldMask) + { + $this->updateTransferJobFieldMask = $updateTransferJobFieldMask; + } + public function getUpdateTransferJobFieldMask() + { + return $this->updateTransferJobFieldMask; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/TagManager.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/TagManager.php new file mode 100644 index 0000000..d588e10 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/TagManager.php @@ -0,0 +1,3445 @@ + + * API for accessing Tag Manager accounts and containers.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_TagManager extends Google_Service +{ + /** Delete your Google Tag Manager containers. */ + const TAGMANAGER_DELETE_CONTAINERS = + "https://www.googleapis.com/auth/tagmanager.delete.containers"; + /** Manage your Google Tag Manager containers. */ + const TAGMANAGER_EDIT_CONTAINERS = + "https://www.googleapis.com/auth/tagmanager.edit.containers"; + /** Manage your Google Tag Manager container versions. */ + const TAGMANAGER_EDIT_CONTAINERVERSIONS = + "https://www.googleapis.com/auth/tagmanager.edit.containerversions"; + /** Manage your Google Tag Manager accounts. */ + const TAGMANAGER_MANAGE_ACCOUNTS = + "https://www.googleapis.com/auth/tagmanager.manage.accounts"; + /** Manage user permissions of your Google Tag Manager data. */ + const TAGMANAGER_MANAGE_USERS = + "https://www.googleapis.com/auth/tagmanager.manage.users"; + /** Publish your Google Tag Manager containers. */ + const TAGMANAGER_PUBLISH = + "https://www.googleapis.com/auth/tagmanager.publish"; + /** View your Google Tag Manager containers. */ + const TAGMANAGER_READONLY = + "https://www.googleapis.com/auth/tagmanager.readonly"; + + public $accounts; + public $accounts_containers; + public $accounts_containers_folders; + public $accounts_containers_folders_entities; + public $accounts_containers_move_folders; + public $accounts_containers_tags; + public $accounts_containers_triggers; + public $accounts_containers_variables; + public $accounts_containers_versions; + public $accounts_permissions; + + + /** + * Constructs the internal representation of the TagManager service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'tagmanager/v1/'; + $this->version = 'v1'; + $this->serviceName = 'tagmanager'; + + $this->accounts = new Google_Service_TagManager_Accounts_Resource( + $this, + $this->serviceName, + 'accounts', + array( + 'methods' => array( + 'get' => array( + 'path' => 'accounts/{accountId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'accounts', + 'httpMethod' => 'GET', + 'parameters' => array(), + ),'update' => array( + 'path' => 'accounts/{accountId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'fingerprint' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->accounts_containers = new Google_Service_TagManager_AccountsContainers_Resource( + $this, + $this->serviceName, + 'containers', + array( + 'methods' => array( + 'create' => array( + 'path' => 'accounts/{accountId}/containers', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'accounts/{accountId}/containers', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'fingerprint' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->accounts_containers_folders = new Google_Service_TagManager_AccountsContainersFolders_Resource( + $this, + $this->serviceName, + 'folders', + array( + 'methods' => array( + 'create' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/folders', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/folders/{folderId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'folderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/folders/{folderId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'folderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/folders', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/folders/{folderId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'folderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'fingerprint' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->accounts_containers_folders_entities = new Google_Service_TagManager_AccountsContainersFoldersEntities_Resource( + $this, + $this->serviceName, + 'entities', + array( + 'methods' => array( + 'list' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/folders/{folderId}/entities', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'folderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->accounts_containers_move_folders = new Google_Service_TagManager_AccountsContainersMoveFolders_Resource( + $this, + $this->serviceName, + 'move_folders', + array( + 'methods' => array( + 'update' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/move_folders/{folderId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'folderId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'variableId' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'tagId' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'triggerId' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ), + ) + ) + ); + $this->accounts_containers_tags = new Google_Service_TagManager_AccountsContainersTags_Resource( + $this, + $this->serviceName, + 'tags', + array( + 'methods' => array( + 'create' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/tags', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/tags/{tagId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'tagId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/tags/{tagId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'tagId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/tags', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/tags/{tagId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'tagId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'fingerprint' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->accounts_containers_triggers = new Google_Service_TagManager_AccountsContainersTriggers_Resource( + $this, + $this->serviceName, + 'triggers', + array( + 'methods' => array( + 'create' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/triggers', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/triggers/{triggerId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'triggerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/triggers/{triggerId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'triggerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/triggers', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/triggers/{triggerId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'triggerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'fingerprint' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->accounts_containers_variables = new Google_Service_TagManager_AccountsContainersVariables_Resource( + $this, + $this->serviceName, + 'variables', + array( + 'methods' => array( + 'create' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/variables', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/variables/{variableId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'variableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/variables/{variableId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'variableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/variables', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/variables/{variableId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'variableId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'fingerprint' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->accounts_containers_versions = new Google_Service_TagManager_AccountsContainersVersions_Resource( + $this, + $this->serviceName, + 'versions', + array( + 'methods' => array( + 'create' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/versions', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerVersionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerVersionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/versions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'headers' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'publish' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/publish', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerVersionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'fingerprint' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'restore' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/restore', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerVersionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'undelete' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/undelete', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerVersionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'containerVersionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'fingerprint' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->accounts_permissions = new Google_Service_TagManager_AccountsPermissions_Resource( + $this, + $this->serviceName, + 'permissions', + array( + 'methods' => array( + 'create' => array( + 'path' => 'accounts/{accountId}/permissions', + 'httpMethod' => 'POST', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'accounts/{accountId}/permissions/{permissionId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'permissionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'accounts/{accountId}/permissions/{permissionId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'permissionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'accounts/{accountId}/permissions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'accounts/{accountId}/permissions/{permissionId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'permissionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "accounts" collection of methods. + * Typical usage is: + * + * $tagmanagerService = new Google_Service_TagManager(...); + * $accounts = $tagmanagerService->accounts; + * + */ +class Google_Service_TagManager_Accounts_Resource extends Google_Service_Resource +{ + + /** + * Gets a GTM Account. (accounts.get) + * + * @param string $accountId The GTM Account ID. + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_Account + */ + public function get($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_TagManager_Account"); + } + + /** + * Lists all GTM Accounts that a user has access to. (accounts.listAccounts) + * + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_ListAccountsResponse + */ + public function listAccounts($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_TagManager_ListAccountsResponse"); + } + + /** + * Updates a GTM Account. (accounts.update) + * + * @param string $accountId The GTM Account ID. + * @param Google_Account $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string fingerprint When provided, this fingerprint must match the + * fingerprint of the account in storage. + * @return Google_Service_TagManager_Account + */ + public function update($accountId, Google_Service_TagManager_Account $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_TagManager_Account"); + } +} + +/** + * The "containers" collection of methods. + * Typical usage is: + * + * $tagmanagerService = new Google_Service_TagManager(...); + * $containers = $tagmanagerService->containers; + * + */ +class Google_Service_TagManager_AccountsContainers_Resource extends Google_Service_Resource +{ + + /** + * Creates a Container. (containers.create) + * + * @param string $accountId The GTM Account ID. + * @param Google_Container $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_Container + */ + public function create($accountId, Google_Service_TagManager_Container $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_TagManager_Container"); + } + + /** + * Deletes a Container. (containers.delete) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param array $optParams Optional parameters. + */ + public function delete($accountId, $containerId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Gets a Container. (containers.get) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_Container + */ + public function get($accountId, $containerId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_TagManager_Container"); + } + + /** + * Lists all Containers that belongs to a GTM Account. + * (containers.listAccountsContainers) + * + * @param string $accountId The GTM Account ID. + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_ListContainersResponse + */ + public function listAccountsContainers($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_TagManager_ListContainersResponse"); + } + + /** + * Updates a Container. (containers.update) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param Google_Container $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string fingerprint When provided, this fingerprint must match the + * fingerprint of the container in storage. + * @return Google_Service_TagManager_Container + */ + public function update($accountId, $containerId, Google_Service_TagManager_Container $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_TagManager_Container"); + } +} + +/** + * The "folders" collection of methods. + * Typical usage is: + * + * $tagmanagerService = new Google_Service_TagManager(...); + * $folders = $tagmanagerService->folders; + * + */ +class Google_Service_TagManager_AccountsContainersFolders_Resource extends Google_Service_Resource +{ + + /** + * Creates a GTM Folder. (folders.create) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param Google_Folder $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_Folder + */ + public function create($accountId, $containerId, Google_Service_TagManager_Folder $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_TagManager_Folder"); + } + + /** + * Deletes a GTM Folder. (folders.delete) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param string $folderId The GTM Folder ID. + * @param array $optParams Optional parameters. + */ + public function delete($accountId, $containerId, $folderId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'folderId' => $folderId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Gets a GTM Folder. (folders.get) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param string $folderId The GTM Folder ID. + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_Folder + */ + public function get($accountId, $containerId, $folderId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'folderId' => $folderId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_TagManager_Folder"); + } + + /** + * Lists all GTM Folders of a Container. (folders.listAccountsContainersFolders) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_ListFoldersResponse + */ + public function listAccountsContainersFolders($accountId, $containerId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_TagManager_ListFoldersResponse"); + } + + /** + * Updates a GTM Folder. (folders.update) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param string $folderId The GTM Folder ID. + * @param Google_Folder $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string fingerprint When provided, this fingerprint must match the + * fingerprint of the folder in storage. + * @return Google_Service_TagManager_Folder + */ + public function update($accountId, $containerId, $folderId, Google_Service_TagManager_Folder $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'folderId' => $folderId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_TagManager_Folder"); + } +} + +/** + * The "entities" collection of methods. + * Typical usage is: + * + * $tagmanagerService = new Google_Service_TagManager(...); + * $entities = $tagmanagerService->entities; + * + */ +class Google_Service_TagManager_AccountsContainersFoldersEntities_Resource extends Google_Service_Resource +{ + + /** + * List all entities in a GTM Folder. + * (entities.listAccountsContainersFoldersEntities) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param string $folderId The GTM Folder ID. + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_FolderEntities + */ + public function listAccountsContainersFoldersEntities($accountId, $containerId, $folderId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'folderId' => $folderId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_TagManager_FolderEntities"); + } +} +/** + * The "move_folders" collection of methods. + * Typical usage is: + * + * $tagmanagerService = new Google_Service_TagManager(...); + * $move_folders = $tagmanagerService->move_folders; + * + */ +class Google_Service_TagManager_AccountsContainersMoveFolders_Resource extends Google_Service_Resource +{ + + /** + * Moves entities to a GTM Folder. (move_folders.update) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param string $folderId The GTM Folder ID. + * @param array $optParams Optional parameters. + * + * @opt_param string variableId The variables to be moved to the folder. + * @opt_param string tagId The tags to be moved to the folder. + * @opt_param string triggerId The triggers to be moved to the folder. + */ + public function update($accountId, $containerId, $folderId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'folderId' => $folderId); + $params = array_merge($params, $optParams); + return $this->call('update', array($params)); + } +} +/** + * The "tags" collection of methods. + * Typical usage is: + * + * $tagmanagerService = new Google_Service_TagManager(...); + * $tags = $tagmanagerService->tags; + * + */ +class Google_Service_TagManager_AccountsContainersTags_Resource extends Google_Service_Resource +{ + + /** + * Creates a GTM Tag. (tags.create) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param Google_Tag $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_Tag + */ + public function create($accountId, $containerId, Google_Service_TagManager_Tag $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_TagManager_Tag"); + } + + /** + * Deletes a GTM Tag. (tags.delete) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param string $tagId The GTM Tag ID. + * @param array $optParams Optional parameters. + */ + public function delete($accountId, $containerId, $tagId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'tagId' => $tagId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Gets a GTM Tag. (tags.get) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param string $tagId The GTM Tag ID. + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_Tag + */ + public function get($accountId, $containerId, $tagId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'tagId' => $tagId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_TagManager_Tag"); + } + + /** + * Lists all GTM Tags of a Container. (tags.listAccountsContainersTags) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_ListTagsResponse + */ + public function listAccountsContainersTags($accountId, $containerId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_TagManager_ListTagsResponse"); + } + + /** + * Updates a GTM Tag. (tags.update) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param string $tagId The GTM Tag ID. + * @param Google_Tag $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string fingerprint When provided, this fingerprint must match the + * fingerprint of the tag in storage. + * @return Google_Service_TagManager_Tag + */ + public function update($accountId, $containerId, $tagId, Google_Service_TagManager_Tag $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'tagId' => $tagId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_TagManager_Tag"); + } +} +/** + * The "triggers" collection of methods. + * Typical usage is: + * + * $tagmanagerService = new Google_Service_TagManager(...); + * $triggers = $tagmanagerService->triggers; + * + */ +class Google_Service_TagManager_AccountsContainersTriggers_Resource extends Google_Service_Resource +{ + + /** + * Creates a GTM Trigger. (triggers.create) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param Google_Trigger $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_Trigger + */ + public function create($accountId, $containerId, Google_Service_TagManager_Trigger $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_TagManager_Trigger"); + } + + /** + * Deletes a GTM Trigger. (triggers.delete) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param string $triggerId The GTM Trigger ID. + * @param array $optParams Optional parameters. + */ + public function delete($accountId, $containerId, $triggerId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'triggerId' => $triggerId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Gets a GTM Trigger. (triggers.get) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param string $triggerId The GTM Trigger ID. + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_Trigger + */ + public function get($accountId, $containerId, $triggerId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'triggerId' => $triggerId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_TagManager_Trigger"); + } + + /** + * Lists all GTM Triggers of a Container. + * (triggers.listAccountsContainersTriggers) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_ListTriggersResponse + */ + public function listAccountsContainersTriggers($accountId, $containerId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_TagManager_ListTriggersResponse"); + } + + /** + * Updates a GTM Trigger. (triggers.update) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param string $triggerId The GTM Trigger ID. + * @param Google_Trigger $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string fingerprint When provided, this fingerprint must match the + * fingerprint of the trigger in storage. + * @return Google_Service_TagManager_Trigger + */ + public function update($accountId, $containerId, $triggerId, Google_Service_TagManager_Trigger $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'triggerId' => $triggerId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_TagManager_Trigger"); + } +} +/** + * The "variables" collection of methods. + * Typical usage is: + * + * $tagmanagerService = new Google_Service_TagManager(...); + * $variables = $tagmanagerService->variables; + * + */ +class Google_Service_TagManager_AccountsContainersVariables_Resource extends Google_Service_Resource +{ + + /** + * Creates a GTM Variable. (variables.create) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param Google_Variable $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_Variable + */ + public function create($accountId, $containerId, Google_Service_TagManager_Variable $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_TagManager_Variable"); + } + + /** + * Deletes a GTM Variable. (variables.delete) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param string $variableId The GTM Variable ID. + * @param array $optParams Optional parameters. + */ + public function delete($accountId, $containerId, $variableId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'variableId' => $variableId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Gets a GTM Variable. (variables.get) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param string $variableId The GTM Variable ID. + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_Variable + */ + public function get($accountId, $containerId, $variableId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'variableId' => $variableId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_TagManager_Variable"); + } + + /** + * Lists all GTM Variables of a Container. + * (variables.listAccountsContainersVariables) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_ListVariablesResponse + */ + public function listAccountsContainersVariables($accountId, $containerId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_TagManager_ListVariablesResponse"); + } + + /** + * Updates a GTM Variable. (variables.update) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param string $variableId The GTM Variable ID. + * @param Google_Variable $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string fingerprint When provided, this fingerprint must match the + * fingerprint of the variable in storage. + * @return Google_Service_TagManager_Variable + */ + public function update($accountId, $containerId, $variableId, Google_Service_TagManager_Variable $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'variableId' => $variableId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_TagManager_Variable"); + } +} +/** + * The "versions" collection of methods. + * Typical usage is: + * + * $tagmanagerService = new Google_Service_TagManager(...); + * $versions = $tagmanagerService->versions; + * + */ +class Google_Service_TagManager_AccountsContainersVersions_Resource extends Google_Service_Resource +{ + + /** + * Creates a Container Version. (versions.create) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param Google_CreateContainerVersionRequestVersionOptions $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_CreateContainerVersionResponse + */ + public function create($accountId, $containerId, Google_Service_TagManager_CreateContainerVersionRequestVersionOptions $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_TagManager_CreateContainerVersionResponse"); + } + + /** + * Deletes a Container Version. (versions.delete) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param string $containerVersionId The GTM Container Version ID. + * @param array $optParams Optional parameters. + */ + public function delete($accountId, $containerId, $containerVersionId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'containerVersionId' => $containerVersionId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Gets a Container Version. (versions.get) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param string $containerVersionId The GTM Container Version ID. Specify + * published to retrieve the currently published version. + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_ContainerVersion + */ + public function get($accountId, $containerId, $containerVersionId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'containerVersionId' => $containerVersionId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_TagManager_ContainerVersion"); + } + + /** + * Lists all Container Versions of a GTM Container. + * (versions.listAccountsContainersVersions) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param array $optParams Optional parameters. + * + * @opt_param bool headers Retrieve headers only when true. + * @return Google_Service_TagManager_ListContainerVersionsResponse + */ + public function listAccountsContainersVersions($accountId, $containerId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_TagManager_ListContainerVersionsResponse"); + } + + /** + * Publishes a Container Version. (versions.publish) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param string $containerVersionId The GTM Container Version ID. + * @param array $optParams Optional parameters. + * + * @opt_param string fingerprint When provided, this fingerprint must match the + * fingerprint of the container version in storage. + * @return Google_Service_TagManager_PublishContainerVersionResponse + */ + public function publish($accountId, $containerId, $containerVersionId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'containerVersionId' => $containerVersionId); + $params = array_merge($params, $optParams); + return $this->call('publish', array($params), "Google_Service_TagManager_PublishContainerVersionResponse"); + } + + /** + * Restores a Container Version. This will overwrite the container's current + * configuration (including its macros, rules and tags). The operation will not + * have any effect on the version that is being served (i.e. the published + * version). (versions.restore) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param string $containerVersionId The GTM Container Version ID. + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_ContainerVersion + */ + public function restore($accountId, $containerId, $containerVersionId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'containerVersionId' => $containerVersionId); + $params = array_merge($params, $optParams); + return $this->call('restore', array($params), "Google_Service_TagManager_ContainerVersion"); + } + + /** + * Undeletes a Container Version. (versions.undelete) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param string $containerVersionId The GTM Container Version ID. + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_ContainerVersion + */ + public function undelete($accountId, $containerId, $containerVersionId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'containerVersionId' => $containerVersionId); + $params = array_merge($params, $optParams); + return $this->call('undelete', array($params), "Google_Service_TagManager_ContainerVersion"); + } + + /** + * Updates a Container Version. (versions.update) + * + * @param string $accountId The GTM Account ID. + * @param string $containerId The GTM Container ID. + * @param string $containerVersionId The GTM Container Version ID. + * @param Google_ContainerVersion $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string fingerprint When provided, this fingerprint must match the + * fingerprint of the container version in storage. + * @return Google_Service_TagManager_ContainerVersion + */ + public function update($accountId, $containerId, $containerVersionId, Google_Service_TagManager_ContainerVersion $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'containerId' => $containerId, 'containerVersionId' => $containerVersionId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_TagManager_ContainerVersion"); + } +} +/** + * The "permissions" collection of methods. + * Typical usage is: + * + * $tagmanagerService = new Google_Service_TagManager(...); + * $permissions = $tagmanagerService->permissions; + * + */ +class Google_Service_TagManager_AccountsPermissions_Resource extends Google_Service_Resource +{ + + /** + * Creates a user's Account & Container Permissions. (permissions.create) + * + * @param string $accountId The GTM Account ID. + * @param Google_UserAccess $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_UserAccess + */ + public function create($accountId, Google_Service_TagManager_UserAccess $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_TagManager_UserAccess"); + } + + /** + * Removes a user from the account, revoking access to it and all of its + * containers. (permissions.delete) + * + * @param string $accountId The GTM Account ID. + * @param string $permissionId The GTM User ID. + * @param array $optParams Optional parameters. + */ + public function delete($accountId, $permissionId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'permissionId' => $permissionId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Gets a user's Account & Container Permissions. (permissions.get) + * + * @param string $accountId The GTM Account ID. + * @param string $permissionId The GTM User ID. + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_UserAccess + */ + public function get($accountId, $permissionId, $optParams = array()) + { + $params = array('accountId' => $accountId, 'permissionId' => $permissionId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_TagManager_UserAccess"); + } + + /** + * List all users that have access to the account along with Account and + * Container Permissions granted to each of them. + * (permissions.listAccountsPermissions) + * + * @param string $accountId The GTM Account ID. @required + * tagmanager.accounts.permissions.list + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_ListAccountUsersResponse + */ + public function listAccountsPermissions($accountId, $optParams = array()) + { + $params = array('accountId' => $accountId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_TagManager_ListAccountUsersResponse"); + } + + /** + * Updates a user's Account & Container Permissions. (permissions.update) + * + * @param string $accountId The GTM Account ID. + * @param string $permissionId The GTM User ID. + * @param Google_UserAccess $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_TagManager_UserAccess + */ + public function update($accountId, $permissionId, Google_Service_TagManager_UserAccess $postBody, $optParams = array()) + { + $params = array('accountId' => $accountId, 'permissionId' => $permissionId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_TagManager_UserAccess"); + } +} + + + + +class Google_Service_TagManager_Account extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $fingerprint; + public $name; + public $shareData; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setShareData($shareData) + { + $this->shareData = $shareData; + } + public function getShareData() + { + return $this->shareData; + } +} + +class Google_Service_TagManager_AccountAccess extends Google_Collection +{ + protected $collection_key = 'permission'; + protected $internal_gapi_mappings = array( + ); + public $permission; + + + public function setPermission($permission) + { + $this->permission = $permission; + } + public function getPermission() + { + return $this->permission; + } +} + +class Google_Service_TagManager_Condition extends Google_Collection +{ + protected $collection_key = 'parameter'; + protected $internal_gapi_mappings = array( + ); + protected $parameterType = 'Google_Service_TagManager_Parameter'; + protected $parameterDataType = 'array'; + public $type; + + + public function setParameter($parameter) + { + $this->parameter = $parameter; + } + public function getParameter() + { + return $this->parameter; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_TagManager_Container extends Google_Collection +{ + protected $collection_key = 'usageContext'; + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $containerId; + public $domainName; + public $enabledBuiltInVariable; + public $fingerprint; + public $name; + public $notes; + public $publicId; + public $timeZoneCountryId; + public $timeZoneId; + public $usageContext; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setContainerId($containerId) + { + $this->containerId = $containerId; + } + public function getContainerId() + { + return $this->containerId; + } + public function setDomainName($domainName) + { + $this->domainName = $domainName; + } + public function getDomainName() + { + return $this->domainName; + } + public function setEnabledBuiltInVariable($enabledBuiltInVariable) + { + $this->enabledBuiltInVariable = $enabledBuiltInVariable; + } + public function getEnabledBuiltInVariable() + { + return $this->enabledBuiltInVariable; + } + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNotes($notes) + { + $this->notes = $notes; + } + public function getNotes() + { + return $this->notes; + } + public function setPublicId($publicId) + { + $this->publicId = $publicId; + } + public function getPublicId() + { + return $this->publicId; + } + public function setTimeZoneCountryId($timeZoneCountryId) + { + $this->timeZoneCountryId = $timeZoneCountryId; + } + public function getTimeZoneCountryId() + { + return $this->timeZoneCountryId; + } + public function setTimeZoneId($timeZoneId) + { + $this->timeZoneId = $timeZoneId; + } + public function getTimeZoneId() + { + return $this->timeZoneId; + } + public function setUsageContext($usageContext) + { + $this->usageContext = $usageContext; + } + public function getUsageContext() + { + return $this->usageContext; + } +} + +class Google_Service_TagManager_ContainerAccess extends Google_Collection +{ + protected $collection_key = 'permission'; + protected $internal_gapi_mappings = array( + ); + public $containerId; + public $permission; + + + public function setContainerId($containerId) + { + $this->containerId = $containerId; + } + public function getContainerId() + { + return $this->containerId; + } + public function setPermission($permission) + { + $this->permission = $permission; + } + public function getPermission() + { + return $this->permission; + } +} + +class Google_Service_TagManager_ContainerVersion extends Google_Collection +{ + protected $collection_key = 'variable'; + protected $internal_gapi_mappings = array( + ); + public $accountId; + protected $containerType = 'Google_Service_TagManager_Container'; + protected $containerDataType = ''; + public $containerId; + public $containerVersionId; + public $deleted; + public $fingerprint; + protected $folderType = 'Google_Service_TagManager_Folder'; + protected $folderDataType = 'array'; + protected $macroType = 'Google_Service_TagManager_Macro'; + protected $macroDataType = 'array'; + public $name; + public $notes; + protected $ruleType = 'Google_Service_TagManager_Rule'; + protected $ruleDataType = 'array'; + protected $tagType = 'Google_Service_TagManager_Tag'; + protected $tagDataType = 'array'; + protected $triggerType = 'Google_Service_TagManager_Trigger'; + protected $triggerDataType = 'array'; + protected $variableType = 'Google_Service_TagManager_Variable'; + protected $variableDataType = 'array'; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setContainer(Google_Service_TagManager_Container $container) + { + $this->container = $container; + } + public function getContainer() + { + return $this->container; + } + public function setContainerId($containerId) + { + $this->containerId = $containerId; + } + public function getContainerId() + { + return $this->containerId; + } + public function setContainerVersionId($containerVersionId) + { + $this->containerVersionId = $containerVersionId; + } + public function getContainerVersionId() + { + return $this->containerVersionId; + } + public function setDeleted($deleted) + { + $this->deleted = $deleted; + } + public function getDeleted() + { + return $this->deleted; + } + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setFolder($folder) + { + $this->folder = $folder; + } + public function getFolder() + { + return $this->folder; + } + public function setMacro($macro) + { + $this->macro = $macro; + } + public function getMacro() + { + return $this->macro; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNotes($notes) + { + $this->notes = $notes; + } + public function getNotes() + { + return $this->notes; + } + public function setRule($rule) + { + $this->rule = $rule; + } + public function getRule() + { + return $this->rule; + } + public function setTag($tag) + { + $this->tag = $tag; + } + public function getTag() + { + return $this->tag; + } + public function setTrigger($trigger) + { + $this->trigger = $trigger; + } + public function getTrigger() + { + return $this->trigger; + } + public function setVariable($variable) + { + $this->variable = $variable; + } + public function getVariable() + { + return $this->variable; + } +} + +class Google_Service_TagManager_ContainerVersionHeader extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $containerId; + public $containerVersionId; + public $deleted; + public $name; + public $numMacros; + public $numRules; + public $numTags; + public $numTriggers; + public $numVariables; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setContainerId($containerId) + { + $this->containerId = $containerId; + } + public function getContainerId() + { + return $this->containerId; + } + public function setContainerVersionId($containerVersionId) + { + $this->containerVersionId = $containerVersionId; + } + public function getContainerVersionId() + { + return $this->containerVersionId; + } + public function setDeleted($deleted) + { + $this->deleted = $deleted; + } + public function getDeleted() + { + return $this->deleted; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNumMacros($numMacros) + { + $this->numMacros = $numMacros; + } + public function getNumMacros() + { + return $this->numMacros; + } + public function setNumRules($numRules) + { + $this->numRules = $numRules; + } + public function getNumRules() + { + return $this->numRules; + } + public function setNumTags($numTags) + { + $this->numTags = $numTags; + } + public function getNumTags() + { + return $this->numTags; + } + public function setNumTriggers($numTriggers) + { + $this->numTriggers = $numTriggers; + } + public function getNumTriggers() + { + return $this->numTriggers; + } + public function setNumVariables($numVariables) + { + $this->numVariables = $numVariables; + } + public function getNumVariables() + { + return $this->numVariables; + } +} + +class Google_Service_TagManager_CreateContainerVersionRequestVersionOptions extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $name; + public $notes; + public $quickPreview; + + + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNotes($notes) + { + $this->notes = $notes; + } + public function getNotes() + { + return $this->notes; + } + public function setQuickPreview($quickPreview) + { + $this->quickPreview = $quickPreview; + } + public function getQuickPreview() + { + return $this->quickPreview; + } +} + +class Google_Service_TagManager_CreateContainerVersionResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $compilerError; + protected $containerVersionType = 'Google_Service_TagManager_ContainerVersion'; + protected $containerVersionDataType = ''; + + + public function setCompilerError($compilerError) + { + $this->compilerError = $compilerError; + } + public function getCompilerError() + { + return $this->compilerError; + } + public function setContainerVersion(Google_Service_TagManager_ContainerVersion $containerVersion) + { + $this->containerVersion = $containerVersion; + } + public function getContainerVersion() + { + return $this->containerVersion; + } +} + +class Google_Service_TagManager_Folder extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $containerId; + public $fingerprint; + public $folderId; + public $name; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setContainerId($containerId) + { + $this->containerId = $containerId; + } + public function getContainerId() + { + return $this->containerId; + } + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setFolderId($folderId) + { + $this->folderId = $folderId; + } + public function getFolderId() + { + return $this->folderId; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_TagManager_FolderEntities extends Google_Collection +{ + protected $collection_key = 'variable'; + protected $internal_gapi_mappings = array( + ); + protected $tagType = 'Google_Service_TagManager_Tag'; + protected $tagDataType = 'array'; + protected $triggerType = 'Google_Service_TagManager_Trigger'; + protected $triggerDataType = 'array'; + protected $variableType = 'Google_Service_TagManager_Variable'; + protected $variableDataType = 'array'; + + + public function setTag($tag) + { + $this->tag = $tag; + } + public function getTag() + { + return $this->tag; + } + public function setTrigger($trigger) + { + $this->trigger = $trigger; + } + public function getTrigger() + { + return $this->trigger; + } + public function setVariable($variable) + { + $this->variable = $variable; + } + public function getVariable() + { + return $this->variable; + } +} + +class Google_Service_TagManager_ListAccountUsersResponse extends Google_Collection +{ + protected $collection_key = 'userAccess'; + protected $internal_gapi_mappings = array( + ); + protected $userAccessType = 'Google_Service_TagManager_UserAccess'; + protected $userAccessDataType = 'array'; + + + public function setUserAccess($userAccess) + { + $this->userAccess = $userAccess; + } + public function getUserAccess() + { + return $this->userAccess; + } +} + +class Google_Service_TagManager_ListAccountsResponse extends Google_Collection +{ + protected $collection_key = 'accounts'; + protected $internal_gapi_mappings = array( + ); + protected $accountsType = 'Google_Service_TagManager_Account'; + protected $accountsDataType = 'array'; + + + public function setAccounts($accounts) + { + $this->accounts = $accounts; + } + public function getAccounts() + { + return $this->accounts; + } +} + +class Google_Service_TagManager_ListContainerVersionsResponse extends Google_Collection +{ + protected $collection_key = 'containerVersionHeader'; + protected $internal_gapi_mappings = array( + ); + protected $containerVersionType = 'Google_Service_TagManager_ContainerVersion'; + protected $containerVersionDataType = 'array'; + protected $containerVersionHeaderType = 'Google_Service_TagManager_ContainerVersionHeader'; + protected $containerVersionHeaderDataType = 'array'; + + + public function setContainerVersion($containerVersion) + { + $this->containerVersion = $containerVersion; + } + public function getContainerVersion() + { + return $this->containerVersion; + } + public function setContainerVersionHeader($containerVersionHeader) + { + $this->containerVersionHeader = $containerVersionHeader; + } + public function getContainerVersionHeader() + { + return $this->containerVersionHeader; + } +} + +class Google_Service_TagManager_ListContainersResponse extends Google_Collection +{ + protected $collection_key = 'containers'; + protected $internal_gapi_mappings = array( + ); + protected $containersType = 'Google_Service_TagManager_Container'; + protected $containersDataType = 'array'; + + + public function setContainers($containers) + { + $this->containers = $containers; + } + public function getContainers() + { + return $this->containers; + } +} + +class Google_Service_TagManager_ListFoldersResponse extends Google_Collection +{ + protected $collection_key = 'folders'; + protected $internal_gapi_mappings = array( + ); + protected $foldersType = 'Google_Service_TagManager_Folder'; + protected $foldersDataType = 'array'; + + + public function setFolders($folders) + { + $this->folders = $folders; + } + public function getFolders() + { + return $this->folders; + } +} + +class Google_Service_TagManager_ListTagsResponse extends Google_Collection +{ + protected $collection_key = 'tags'; + protected $internal_gapi_mappings = array( + ); + protected $tagsType = 'Google_Service_TagManager_Tag'; + protected $tagsDataType = 'array'; + + + public function setTags($tags) + { + $this->tags = $tags; + } + public function getTags() + { + return $this->tags; + } +} + +class Google_Service_TagManager_ListTriggersResponse extends Google_Collection +{ + protected $collection_key = 'triggers'; + protected $internal_gapi_mappings = array( + ); + protected $triggersType = 'Google_Service_TagManager_Trigger'; + protected $triggersDataType = 'array'; + + + public function setTriggers($triggers) + { + $this->triggers = $triggers; + } + public function getTriggers() + { + return $this->triggers; + } +} + +class Google_Service_TagManager_ListVariablesResponse extends Google_Collection +{ + protected $collection_key = 'variables'; + protected $internal_gapi_mappings = array( + ); + protected $variablesType = 'Google_Service_TagManager_Variable'; + protected $variablesDataType = 'array'; + + + public function setVariables($variables) + { + $this->variables = $variables; + } + public function getVariables() + { + return $this->variables; + } +} + +class Google_Service_TagManager_Macro extends Google_Collection +{ + protected $collection_key = 'parameter'; + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $containerId; + public $disablingRuleId; + public $enablingRuleId; + public $fingerprint; + public $macroId; + public $name; + public $notes; + protected $parameterType = 'Google_Service_TagManager_Parameter'; + protected $parameterDataType = 'array'; + public $parentFolderId; + public $scheduleEndMs; + public $scheduleStartMs; + public $type; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setContainerId($containerId) + { + $this->containerId = $containerId; + } + public function getContainerId() + { + return $this->containerId; + } + public function setDisablingRuleId($disablingRuleId) + { + $this->disablingRuleId = $disablingRuleId; + } + public function getDisablingRuleId() + { + return $this->disablingRuleId; + } + public function setEnablingRuleId($enablingRuleId) + { + $this->enablingRuleId = $enablingRuleId; + } + public function getEnablingRuleId() + { + return $this->enablingRuleId; + } + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setMacroId($macroId) + { + $this->macroId = $macroId; + } + public function getMacroId() + { + return $this->macroId; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNotes($notes) + { + $this->notes = $notes; + } + public function getNotes() + { + return $this->notes; + } + public function setParameter($parameter) + { + $this->parameter = $parameter; + } + public function getParameter() + { + return $this->parameter; + } + public function setParentFolderId($parentFolderId) + { + $this->parentFolderId = $parentFolderId; + } + public function getParentFolderId() + { + return $this->parentFolderId; + } + public function setScheduleEndMs($scheduleEndMs) + { + $this->scheduleEndMs = $scheduleEndMs; + } + public function getScheduleEndMs() + { + return $this->scheduleEndMs; + } + public function setScheduleStartMs($scheduleStartMs) + { + $this->scheduleStartMs = $scheduleStartMs; + } + public function getScheduleStartMs() + { + return $this->scheduleStartMs; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_TagManager_Parameter extends Google_Collection +{ + protected $collection_key = 'map'; + protected $internal_gapi_mappings = array( + ); + public $key; + protected $listType = 'Google_Service_TagManager_Parameter'; + protected $listDataType = 'array'; + protected $mapType = 'Google_Service_TagManager_Parameter'; + protected $mapDataType = 'array'; + public $type; + public $value; + + + public function setKey($key) + { + $this->key = $key; + } + public function getKey() + { + return $this->key; + } + public function setList($list) + { + $this->list = $list; + } + public function getList() + { + return $this->list; + } + public function setMap($map) + { + $this->map = $map; + } + public function getMap() + { + return $this->map; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_TagManager_PublishContainerVersionResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $compilerError; + protected $containerVersionType = 'Google_Service_TagManager_ContainerVersion'; + protected $containerVersionDataType = ''; + + + public function setCompilerError($compilerError) + { + $this->compilerError = $compilerError; + } + public function getCompilerError() + { + return $this->compilerError; + } + public function setContainerVersion(Google_Service_TagManager_ContainerVersion $containerVersion) + { + $this->containerVersion = $containerVersion; + } + public function getContainerVersion() + { + return $this->containerVersion; + } +} + +class Google_Service_TagManager_Rule extends Google_Collection +{ + protected $collection_key = 'condition'; + protected $internal_gapi_mappings = array( + ); + public $accountId; + protected $conditionType = 'Google_Service_TagManager_Condition'; + protected $conditionDataType = 'array'; + public $containerId; + public $fingerprint; + public $name; + public $notes; + public $ruleId; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setCondition($condition) + { + $this->condition = $condition; + } + public function getCondition() + { + return $this->condition; + } + public function setContainerId($containerId) + { + $this->containerId = $containerId; + } + public function getContainerId() + { + return $this->containerId; + } + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNotes($notes) + { + $this->notes = $notes; + } + public function getNotes() + { + return $this->notes; + } + public function setRuleId($ruleId) + { + $this->ruleId = $ruleId; + } + public function getRuleId() + { + return $this->ruleId; + } +} + +class Google_Service_TagManager_SetupTag extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $stopOnSetupFailure; + public $tagName; + + + public function setStopOnSetupFailure($stopOnSetupFailure) + { + $this->stopOnSetupFailure = $stopOnSetupFailure; + } + public function getStopOnSetupFailure() + { + return $this->stopOnSetupFailure; + } + public function setTagName($tagName) + { + $this->tagName = $tagName; + } + public function getTagName() + { + return $this->tagName; + } +} + +class Google_Service_TagManager_Tag extends Google_Collection +{ + protected $collection_key = 'teardownTag'; + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $blockingRuleId; + public $blockingTriggerId; + public $containerId; + public $fingerprint; + public $firingRuleId; + public $firingTriggerId; + public $liveOnly; + public $name; + public $notes; + protected $parameterType = 'Google_Service_TagManager_Parameter'; + protected $parameterDataType = 'array'; + public $parentFolderId; + protected $priorityType = 'Google_Service_TagManager_Parameter'; + protected $priorityDataType = ''; + public $scheduleEndMs; + public $scheduleStartMs; + protected $setupTagType = 'Google_Service_TagManager_SetupTag'; + protected $setupTagDataType = 'array'; + public $tagFiringOption; + public $tagId; + protected $teardownTagType = 'Google_Service_TagManager_TeardownTag'; + protected $teardownTagDataType = 'array'; + public $type; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setBlockingRuleId($blockingRuleId) + { + $this->blockingRuleId = $blockingRuleId; + } + public function getBlockingRuleId() + { + return $this->blockingRuleId; + } + public function setBlockingTriggerId($blockingTriggerId) + { + $this->blockingTriggerId = $blockingTriggerId; + } + public function getBlockingTriggerId() + { + return $this->blockingTriggerId; + } + public function setContainerId($containerId) + { + $this->containerId = $containerId; + } + public function getContainerId() + { + return $this->containerId; + } + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setFiringRuleId($firingRuleId) + { + $this->firingRuleId = $firingRuleId; + } + public function getFiringRuleId() + { + return $this->firingRuleId; + } + public function setFiringTriggerId($firingTriggerId) + { + $this->firingTriggerId = $firingTriggerId; + } + public function getFiringTriggerId() + { + return $this->firingTriggerId; + } + public function setLiveOnly($liveOnly) + { + $this->liveOnly = $liveOnly; + } + public function getLiveOnly() + { + return $this->liveOnly; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNotes($notes) + { + $this->notes = $notes; + } + public function getNotes() + { + return $this->notes; + } + public function setParameter($parameter) + { + $this->parameter = $parameter; + } + public function getParameter() + { + return $this->parameter; + } + public function setParentFolderId($parentFolderId) + { + $this->parentFolderId = $parentFolderId; + } + public function getParentFolderId() + { + return $this->parentFolderId; + } + public function setPriority(Google_Service_TagManager_Parameter $priority) + { + $this->priority = $priority; + } + public function getPriority() + { + return $this->priority; + } + public function setScheduleEndMs($scheduleEndMs) + { + $this->scheduleEndMs = $scheduleEndMs; + } + public function getScheduleEndMs() + { + return $this->scheduleEndMs; + } + public function setScheduleStartMs($scheduleStartMs) + { + $this->scheduleStartMs = $scheduleStartMs; + } + public function getScheduleStartMs() + { + return $this->scheduleStartMs; + } + public function setSetupTag($setupTag) + { + $this->setupTag = $setupTag; + } + public function getSetupTag() + { + return $this->setupTag; + } + public function setTagFiringOption($tagFiringOption) + { + $this->tagFiringOption = $tagFiringOption; + } + public function getTagFiringOption() + { + return $this->tagFiringOption; + } + public function setTagId($tagId) + { + $this->tagId = $tagId; + } + public function getTagId() + { + return $this->tagId; + } + public function setTeardownTag($teardownTag) + { + $this->teardownTag = $teardownTag; + } + public function getTeardownTag() + { + return $this->teardownTag; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_TagManager_TeardownTag extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $stopTeardownOnFailure; + public $tagName; + + + public function setStopTeardownOnFailure($stopTeardownOnFailure) + { + $this->stopTeardownOnFailure = $stopTeardownOnFailure; + } + public function getStopTeardownOnFailure() + { + return $this->stopTeardownOnFailure; + } + public function setTagName($tagName) + { + $this->tagName = $tagName; + } + public function getTagName() + { + return $this->tagName; + } +} + +class Google_Service_TagManager_Trigger extends Google_Collection +{ + protected $collection_key = 'filter'; + protected $internal_gapi_mappings = array( + ); + public $accountId; + protected $autoEventFilterType = 'Google_Service_TagManager_Condition'; + protected $autoEventFilterDataType = 'array'; + protected $checkValidationType = 'Google_Service_TagManager_Parameter'; + protected $checkValidationDataType = ''; + public $containerId; + protected $customEventFilterType = 'Google_Service_TagManager_Condition'; + protected $customEventFilterDataType = 'array'; + protected $enableAllVideosType = 'Google_Service_TagManager_Parameter'; + protected $enableAllVideosDataType = ''; + protected $eventNameType = 'Google_Service_TagManager_Parameter'; + protected $eventNameDataType = ''; + protected $filterType = 'Google_Service_TagManager_Condition'; + protected $filterDataType = 'array'; + public $fingerprint; + protected $intervalType = 'Google_Service_TagManager_Parameter'; + protected $intervalDataType = ''; + protected $limitType = 'Google_Service_TagManager_Parameter'; + protected $limitDataType = ''; + public $name; + public $parentFolderId; + public $triggerId; + public $type; + protected $uniqueTriggerIdType = 'Google_Service_TagManager_Parameter'; + protected $uniqueTriggerIdDataType = ''; + protected $videoPercentageListType = 'Google_Service_TagManager_Parameter'; + protected $videoPercentageListDataType = ''; + protected $waitForTagsType = 'Google_Service_TagManager_Parameter'; + protected $waitForTagsDataType = ''; + protected $waitForTagsTimeoutType = 'Google_Service_TagManager_Parameter'; + protected $waitForTagsTimeoutDataType = ''; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setAutoEventFilter($autoEventFilter) + { + $this->autoEventFilter = $autoEventFilter; + } + public function getAutoEventFilter() + { + return $this->autoEventFilter; + } + public function setCheckValidation(Google_Service_TagManager_Parameter $checkValidation) + { + $this->checkValidation = $checkValidation; + } + public function getCheckValidation() + { + return $this->checkValidation; + } + public function setContainerId($containerId) + { + $this->containerId = $containerId; + } + public function getContainerId() + { + return $this->containerId; + } + public function setCustomEventFilter($customEventFilter) + { + $this->customEventFilter = $customEventFilter; + } + public function getCustomEventFilter() + { + return $this->customEventFilter; + } + public function setEnableAllVideos(Google_Service_TagManager_Parameter $enableAllVideos) + { + $this->enableAllVideos = $enableAllVideos; + } + public function getEnableAllVideos() + { + return $this->enableAllVideos; + } + public function setEventName(Google_Service_TagManager_Parameter $eventName) + { + $this->eventName = $eventName; + } + public function getEventName() + { + return $this->eventName; + } + public function setFilter($filter) + { + $this->filter = $filter; + } + public function getFilter() + { + return $this->filter; + } + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setInterval(Google_Service_TagManager_Parameter $interval) + { + $this->interval = $interval; + } + public function getInterval() + { + return $this->interval; + } + public function setLimit(Google_Service_TagManager_Parameter $limit) + { + $this->limit = $limit; + } + public function getLimit() + { + return $this->limit; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setParentFolderId($parentFolderId) + { + $this->parentFolderId = $parentFolderId; + } + public function getParentFolderId() + { + return $this->parentFolderId; + } + public function setTriggerId($triggerId) + { + $this->triggerId = $triggerId; + } + public function getTriggerId() + { + return $this->triggerId; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUniqueTriggerId(Google_Service_TagManager_Parameter $uniqueTriggerId) + { + $this->uniqueTriggerId = $uniqueTriggerId; + } + public function getUniqueTriggerId() + { + return $this->uniqueTriggerId; + } + public function setVideoPercentageList(Google_Service_TagManager_Parameter $videoPercentageList) + { + $this->videoPercentageList = $videoPercentageList; + } + public function getVideoPercentageList() + { + return $this->videoPercentageList; + } + public function setWaitForTags(Google_Service_TagManager_Parameter $waitForTags) + { + $this->waitForTags = $waitForTags; + } + public function getWaitForTags() + { + return $this->waitForTags; + } + public function setWaitForTagsTimeout(Google_Service_TagManager_Parameter $waitForTagsTimeout) + { + $this->waitForTagsTimeout = $waitForTagsTimeout; + } + public function getWaitForTagsTimeout() + { + return $this->waitForTagsTimeout; + } +} + +class Google_Service_TagManager_UserAccess extends Google_Collection +{ + protected $collection_key = 'containerAccess'; + protected $internal_gapi_mappings = array( + ); + protected $accountAccessType = 'Google_Service_TagManager_AccountAccess'; + protected $accountAccessDataType = ''; + public $accountId; + protected $containerAccessType = 'Google_Service_TagManager_ContainerAccess'; + protected $containerAccessDataType = 'array'; + public $emailAddress; + public $permissionId; + + + public function setAccountAccess(Google_Service_TagManager_AccountAccess $accountAccess) + { + $this->accountAccess = $accountAccess; + } + public function getAccountAccess() + { + return $this->accountAccess; + } + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setContainerAccess($containerAccess) + { + $this->containerAccess = $containerAccess; + } + public function getContainerAccess() + { + return $this->containerAccess; + } + public function setEmailAddress($emailAddress) + { + $this->emailAddress = $emailAddress; + } + public function getEmailAddress() + { + return $this->emailAddress; + } + public function setPermissionId($permissionId) + { + $this->permissionId = $permissionId; + } + public function getPermissionId() + { + return $this->permissionId; + } +} + +class Google_Service_TagManager_Variable extends Google_Collection +{ + protected $collection_key = 'parameter'; + protected $internal_gapi_mappings = array( + ); + public $accountId; + public $containerId; + public $disablingTriggerId; + public $enablingTriggerId; + public $fingerprint; + public $name; + public $notes; + protected $parameterType = 'Google_Service_TagManager_Parameter'; + protected $parameterDataType = 'array'; + public $parentFolderId; + public $scheduleEndMs; + public $scheduleStartMs; + public $type; + public $variableId; + + + public function setAccountId($accountId) + { + $this->accountId = $accountId; + } + public function getAccountId() + { + return $this->accountId; + } + public function setContainerId($containerId) + { + $this->containerId = $containerId; + } + public function getContainerId() + { + return $this->containerId; + } + public function setDisablingTriggerId($disablingTriggerId) + { + $this->disablingTriggerId = $disablingTriggerId; + } + public function getDisablingTriggerId() + { + return $this->disablingTriggerId; + } + public function setEnablingTriggerId($enablingTriggerId) + { + $this->enablingTriggerId = $enablingTriggerId; + } + public function getEnablingTriggerId() + { + return $this->enablingTriggerId; + } + public function setFingerprint($fingerprint) + { + $this->fingerprint = $fingerprint; + } + public function getFingerprint() + { + return $this->fingerprint; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setNotes($notes) + { + $this->notes = $notes; + } + public function getNotes() + { + return $this->notes; + } + public function setParameter($parameter) + { + $this->parameter = $parameter; + } + public function getParameter() + { + return $this->parameter; + } + public function setParentFolderId($parentFolderId) + { + $this->parentFolderId = $parentFolderId; + } + public function getParentFolderId() + { + return $this->parentFolderId; + } + public function setScheduleEndMs($scheduleEndMs) + { + $this->scheduleEndMs = $scheduleEndMs; + } + public function getScheduleEndMs() + { + return $this->scheduleEndMs; + } + public function setScheduleStartMs($scheduleStartMs) + { + $this->scheduleStartMs = $scheduleStartMs; + } + public function getScheduleStartMs() + { + return $this->scheduleStartMs; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setVariableId($variableId) + { + $this->variableId = $variableId; + } + public function getVariableId() + { + return $this->variableId; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Taskqueue.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Taskqueue.php new file mode 100644 index 0000000..1fee8b3 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Taskqueue.php @@ -0,0 +1,690 @@ + + * Lets you access a Google App Engine Pull Task Queue over REST.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Taskqueue extends Google_Service +{ + /** Manage your Tasks and Taskqueues. */ + const TASKQUEUE = + "https://www.googleapis.com/auth/taskqueue"; + /** Consume Tasks from your Taskqueues. */ + const TASKQUEUE_CONSUMER = + "https://www.googleapis.com/auth/taskqueue.consumer"; + + public $taskqueues; + public $tasks; + + + /** + * Constructs the internal representation of the Taskqueue service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'taskqueue/v1beta2/projects/'; + $this->version = 'v1beta2'; + $this->serviceName = 'taskqueue'; + + $this->taskqueues = new Google_Service_Taskqueue_Taskqueues_Resource( + $this, + $this->serviceName, + 'taskqueues', + array( + 'methods' => array( + 'get' => array( + 'path' => '{project}/taskqueues/{taskqueue}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'taskqueue' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'getStats' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->tasks = new Google_Service_Taskqueue_Tasks_Resource( + $this, + $this->serviceName, + 'tasks', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{project}/taskqueues/{taskqueue}/tasks/{task}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'taskqueue' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'task' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/taskqueues/{taskqueue}/tasks/{task}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'taskqueue' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'task' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/taskqueues/{taskqueue}/tasks', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'taskqueue' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'lease' => array( + 'path' => '{project}/taskqueues/{taskqueue}/tasks/lease', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'taskqueue' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'numTasks' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + 'leaseSecs' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + 'groupByTag' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'tag' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => '{project}/taskqueues/{taskqueue}/tasks', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'taskqueue' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => '{project}/taskqueues/{taskqueue}/tasks/{task}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'taskqueue' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'task' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'newLeaseSeconds' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{project}/taskqueues/{taskqueue}/tasks/{task}', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'taskqueue' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'task' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'newLeaseSeconds' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "taskqueues" collection of methods. + * Typical usage is: + * + * $taskqueueService = new Google_Service_Taskqueue(...); + * $taskqueues = $taskqueueService->taskqueues; + * + */ +class Google_Service_Taskqueue_Taskqueues_Resource extends Google_Service_Resource +{ + + /** + * Get detailed information about a TaskQueue. (taskqueues.get) + * + * @param string $project The project under which the queue lies. + * @param string $taskqueue The id of the taskqueue to get the properties of. + * @param array $optParams Optional parameters. + * + * @opt_param bool getStats Whether to get stats. Optional. + * @return Google_Service_Taskqueue_TaskQueue + */ + public function get($project, $taskqueue, $optParams = array()) + { + $params = array('project' => $project, 'taskqueue' => $taskqueue); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Taskqueue_TaskQueue"); + } +} + +/** + * The "tasks" collection of methods. + * Typical usage is: + * + * $taskqueueService = new Google_Service_Taskqueue(...); + * $tasks = $taskqueueService->tasks; + * + */ +class Google_Service_Taskqueue_Tasks_Resource extends Google_Service_Resource +{ + + /** + * Delete a task from a TaskQueue. (tasks.delete) + * + * @param string $project The project under which the queue lies. + * @param string $taskqueue The taskqueue to delete a task from. + * @param string $task The id of the task to delete. + * @param array $optParams Optional parameters. + */ + public function delete($project, $taskqueue, $task, $optParams = array()) + { + $params = array('project' => $project, 'taskqueue' => $taskqueue, 'task' => $task); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Get a particular task from a TaskQueue. (tasks.get) + * + * @param string $project The project under which the queue lies. + * @param string $taskqueue The taskqueue in which the task belongs. + * @param string $task The task to get properties of. + * @param array $optParams Optional parameters. + * @return Google_Service_Taskqueue_Task + */ + public function get($project, $taskqueue, $task, $optParams = array()) + { + $params = array('project' => $project, 'taskqueue' => $taskqueue, 'task' => $task); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Taskqueue_Task"); + } + + /** + * Insert a new task in a TaskQueue (tasks.insert) + * + * @param string $project The project under which the queue lies + * @param string $taskqueue The taskqueue to insert the task into + * @param Google_Task $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Taskqueue_Task + */ + public function insert($project, $taskqueue, Google_Service_Taskqueue_Task $postBody, $optParams = array()) + { + $params = array('project' => $project, 'taskqueue' => $taskqueue, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Taskqueue_Task"); + } + + /** + * Lease 1 or more tasks from a TaskQueue. (tasks.lease) + * + * @param string $project The project under which the queue lies. + * @param string $taskqueue The taskqueue to lease a task from. + * @param int $numTasks The number of tasks to lease. + * @param int $leaseSecs The lease in seconds. + * @param array $optParams Optional parameters. + * + * @opt_param bool groupByTag When true, all returned tasks will have the same + * tag + * @opt_param string tag The tag allowed for tasks in the response. Must only be + * specified if group_by_tag is true. If group_by_tag is true and tag is not + * specified the tag will be that of the oldest task by eta, i.e. the first + * available tag + * @return Google_Service_Taskqueue_Tasks + */ + public function lease($project, $taskqueue, $numTasks, $leaseSecs, $optParams = array()) + { + $params = array('project' => $project, 'taskqueue' => $taskqueue, 'numTasks' => $numTasks, 'leaseSecs' => $leaseSecs); + $params = array_merge($params, $optParams); + return $this->call('lease', array($params), "Google_Service_Taskqueue_Tasks"); + } + + /** + * List Tasks in a TaskQueue (tasks.listTasks) + * + * @param string $project The project under which the queue lies. + * @param string $taskqueue The id of the taskqueue to list tasks from. + * @param array $optParams Optional parameters. + * @return Google_Service_Taskqueue_Tasks2 + */ + public function listTasks($project, $taskqueue, $optParams = array()) + { + $params = array('project' => $project, 'taskqueue' => $taskqueue); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Taskqueue_Tasks2"); + } + + /** + * Update tasks that are leased out of a TaskQueue. This method supports patch + * semantics. (tasks.patch) + * + * @param string $project The project under which the queue lies. + * @param string $taskqueue + * @param string $task + * @param int $newLeaseSeconds The new lease in seconds. + * @param Google_Task $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Taskqueue_Task + */ + public function patch($project, $taskqueue, $task, $newLeaseSeconds, Google_Service_Taskqueue_Task $postBody, $optParams = array()) + { + $params = array('project' => $project, 'taskqueue' => $taskqueue, 'task' => $task, 'newLeaseSeconds' => $newLeaseSeconds, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Taskqueue_Task"); + } + + /** + * Update tasks that are leased out of a TaskQueue. (tasks.update) + * + * @param string $project The project under which the queue lies. + * @param string $taskqueue + * @param string $task + * @param int $newLeaseSeconds The new lease in seconds. + * @param Google_Task $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Taskqueue_Task + */ + public function update($project, $taskqueue, $task, $newLeaseSeconds, Google_Service_Taskqueue_Task $postBody, $optParams = array()) + { + $params = array('project' => $project, 'taskqueue' => $taskqueue, 'task' => $task, 'newLeaseSeconds' => $newLeaseSeconds, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Taskqueue_Task"); + } +} + + + + +class Google_Service_Taskqueue_Task extends Google_Model +{ + protected $internal_gapi_mappings = array( + "retryCount" => "retry_count", + ); + public $enqueueTimestamp; + public $id; + public $kind; + public $leaseTimestamp; + public $payloadBase64; + public $queueName; + public $retryCount; + public $tag; + + + public function setEnqueueTimestamp($enqueueTimestamp) + { + $this->enqueueTimestamp = $enqueueTimestamp; + } + public function getEnqueueTimestamp() + { + return $this->enqueueTimestamp; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLeaseTimestamp($leaseTimestamp) + { + $this->leaseTimestamp = $leaseTimestamp; + } + public function getLeaseTimestamp() + { + return $this->leaseTimestamp; + } + public function setPayloadBase64($payloadBase64) + { + $this->payloadBase64 = $payloadBase64; + } + public function getPayloadBase64() + { + return $this->payloadBase64; + } + public function setQueueName($queueName) + { + $this->queueName = $queueName; + } + public function getQueueName() + { + return $this->queueName; + } + public function setRetryCount($retryCount) + { + $this->retryCount = $retryCount; + } + public function getRetryCount() + { + return $this->retryCount; + } + public function setTag($tag) + { + $this->tag = $tag; + } + public function getTag() + { + return $this->tag; + } +} + +class Google_Service_Taskqueue_TaskQueue extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $aclType = 'Google_Service_Taskqueue_TaskQueueAcl'; + protected $aclDataType = ''; + public $id; + public $kind; + public $maxLeases; + protected $statsType = 'Google_Service_Taskqueue_TaskQueueStats'; + protected $statsDataType = ''; + + + public function setAcl(Google_Service_Taskqueue_TaskQueueAcl $acl) + { + $this->acl = $acl; + } + public function getAcl() + { + return $this->acl; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setMaxLeases($maxLeases) + { + $this->maxLeases = $maxLeases; + } + public function getMaxLeases() + { + return $this->maxLeases; + } + public function setStats(Google_Service_Taskqueue_TaskQueueStats $stats) + { + $this->stats = $stats; + } + public function getStats() + { + return $this->stats; + } +} + +class Google_Service_Taskqueue_TaskQueueAcl extends Google_Collection +{ + protected $collection_key = 'producerEmails'; + protected $internal_gapi_mappings = array( + ); + public $adminEmails; + public $consumerEmails; + public $producerEmails; + + + public function setAdminEmails($adminEmails) + { + $this->adminEmails = $adminEmails; + } + public function getAdminEmails() + { + return $this->adminEmails; + } + public function setConsumerEmails($consumerEmails) + { + $this->consumerEmails = $consumerEmails; + } + public function getConsumerEmails() + { + return $this->consumerEmails; + } + public function setProducerEmails($producerEmails) + { + $this->producerEmails = $producerEmails; + } + public function getProducerEmails() + { + return $this->producerEmails; + } +} + +class Google_Service_Taskqueue_TaskQueueStats extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $leasedLastHour; + public $leasedLastMinute; + public $oldestTask; + public $totalTasks; + + + public function setLeasedLastHour($leasedLastHour) + { + $this->leasedLastHour = $leasedLastHour; + } + public function getLeasedLastHour() + { + return $this->leasedLastHour; + } + public function setLeasedLastMinute($leasedLastMinute) + { + $this->leasedLastMinute = $leasedLastMinute; + } + public function getLeasedLastMinute() + { + return $this->leasedLastMinute; + } + public function setOldestTask($oldestTask) + { + $this->oldestTask = $oldestTask; + } + public function getOldestTask() + { + return $this->oldestTask; + } + public function setTotalTasks($totalTasks) + { + $this->totalTasks = $totalTasks; + } + public function getTotalTasks() + { + return $this->totalTasks; + } +} + +class Google_Service_Taskqueue_Tasks extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Taskqueue_Task'; + protected $itemsDataType = 'array'; + public $kind; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_Taskqueue_Tasks2 extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Taskqueue_Task'; + protected $itemsDataType = 'array'; + public $kind; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Tasks.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Tasks.php new file mode 100644 index 0000000..3998632 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Tasks.php @@ -0,0 +1,908 @@ + + * Lets you manage your tasks and task lists.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Tasks extends Google_Service +{ + /** Manage your tasks. */ + const TASKS = + "https://www.googleapis.com/auth/tasks"; + /** View your tasks. */ + const TASKS_READONLY = + "https://www.googleapis.com/auth/tasks.readonly"; + + public $tasklists; + public $tasks; + + + /** + * Constructs the internal representation of the Tasks service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'tasks/v1/'; + $this->version = 'v1'; + $this->serviceName = 'tasks'; + + $this->tasklists = new Google_Service_Tasks_Tasklists_Resource( + $this, + $this->serviceName, + 'tasklists', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'users/@me/lists/{tasklist}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'tasklist' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'users/@me/lists/{tasklist}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'tasklist' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'users/@me/lists', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'list' => array( + 'path' => 'users/@me/lists', + 'httpMethod' => 'GET', + 'parameters' => array( + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'users/@me/lists/{tasklist}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'tasklist' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'users/@me/lists/{tasklist}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'tasklist' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->tasks = new Google_Service_Tasks_Tasks_Resource( + $this, + $this->serviceName, + 'tasks', + array( + 'methods' => array( + 'clear' => array( + 'path' => 'lists/{tasklist}/clear', + 'httpMethod' => 'POST', + 'parameters' => array( + 'tasklist' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'lists/{tasklist}/tasks/{task}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'tasklist' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'task' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'lists/{tasklist}/tasks/{task}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'tasklist' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'task' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'lists/{tasklist}/tasks', + 'httpMethod' => 'POST', + 'parameters' => array( + 'tasklist' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'parent' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'previous' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'lists/{tasklist}/tasks', + 'httpMethod' => 'GET', + 'parameters' => array( + 'tasklist' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dueMax' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'showDeleted' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'updatedMin' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'completedMin' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'showCompleted' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'completedMax' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'showHidden' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'dueMin' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'move' => array( + 'path' => 'lists/{tasklist}/tasks/{task}/move', + 'httpMethod' => 'POST', + 'parameters' => array( + 'tasklist' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'task' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'parent' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'previous' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'lists/{tasklist}/tasks/{task}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'tasklist' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'task' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'lists/{tasklist}/tasks/{task}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'tasklist' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'task' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "tasklists" collection of methods. + * Typical usage is: + * + * $tasksService = new Google_Service_Tasks(...); + * $tasklists = $tasksService->tasklists; + * + */ +class Google_Service_Tasks_Tasklists_Resource extends Google_Service_Resource +{ + + /** + * Deletes the authenticated user's specified task list. (tasklists.delete) + * + * @param string $tasklist Task list identifier. + * @param array $optParams Optional parameters. + */ + public function delete($tasklist, $optParams = array()) + { + $params = array('tasklist' => $tasklist); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Returns the authenticated user's specified task list. (tasklists.get) + * + * @param string $tasklist Task list identifier. + * @param array $optParams Optional parameters. + * @return Google_Service_Tasks_TaskList + */ + public function get($tasklist, $optParams = array()) + { + $params = array('tasklist' => $tasklist); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Tasks_TaskList"); + } + + /** + * Creates a new task list and adds it to the authenticated user's task lists. + * (tasklists.insert) + * + * @param Google_TaskList $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Tasks_TaskList + */ + public function insert(Google_Service_Tasks_TaskList $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Tasks_TaskList"); + } + + /** + * Returns all the authenticated user's task lists. (tasklists.listTasklists) + * + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken Token specifying the result page to return. + * Optional. + * @opt_param string maxResults Maximum number of task lists returned on one + * page. Optional. The default is 100. + * @return Google_Service_Tasks_TaskLists + */ + public function listTasklists($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Tasks_TaskLists"); + } + + /** + * Updates the authenticated user's specified task list. This method supports + * patch semantics. (tasklists.patch) + * + * @param string $tasklist Task list identifier. + * @param Google_TaskList $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Tasks_TaskList + */ + public function patch($tasklist, Google_Service_Tasks_TaskList $postBody, $optParams = array()) + { + $params = array('tasklist' => $tasklist, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Tasks_TaskList"); + } + + /** + * Updates the authenticated user's specified task list. (tasklists.update) + * + * @param string $tasklist Task list identifier. + * @param Google_TaskList $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Tasks_TaskList + */ + public function update($tasklist, Google_Service_Tasks_TaskList $postBody, $optParams = array()) + { + $params = array('tasklist' => $tasklist, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Tasks_TaskList"); + } +} + +/** + * The "tasks" collection of methods. + * Typical usage is: + * + * $tasksService = new Google_Service_Tasks(...); + * $tasks = $tasksService->tasks; + * + */ +class Google_Service_Tasks_Tasks_Resource extends Google_Service_Resource +{ + + /** + * Clears all completed tasks from the specified task list. The affected tasks + * will be marked as 'hidden' and no longer be returned by default when + * retrieving all tasks for a task list. (tasks.clear) + * + * @param string $tasklist Task list identifier. + * @param array $optParams Optional parameters. + */ + public function clear($tasklist, $optParams = array()) + { + $params = array('tasklist' => $tasklist); + $params = array_merge($params, $optParams); + return $this->call('clear', array($params)); + } + + /** + * Deletes the specified task from the task list. (tasks.delete) + * + * @param string $tasklist Task list identifier. + * @param string $task Task identifier. + * @param array $optParams Optional parameters. + */ + public function delete($tasklist, $task, $optParams = array()) + { + $params = array('tasklist' => $tasklist, 'task' => $task); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Returns the specified task. (tasks.get) + * + * @param string $tasklist Task list identifier. + * @param string $task Task identifier. + * @param array $optParams Optional parameters. + * @return Google_Service_Tasks_Task + */ + public function get($tasklist, $task, $optParams = array()) + { + $params = array('tasklist' => $tasklist, 'task' => $task); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Tasks_Task"); + } + + /** + * Creates a new task on the specified task list. (tasks.insert) + * + * @param string $tasklist Task list identifier. + * @param Google_Task $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string parent Parent task identifier. If the task is created at + * the top level, this parameter is omitted. Optional. + * @opt_param string previous Previous sibling task identifier. If the task is + * created at the first position among its siblings, this parameter is omitted. + * Optional. + * @return Google_Service_Tasks_Task + */ + public function insert($tasklist, Google_Service_Tasks_Task $postBody, $optParams = array()) + { + $params = array('tasklist' => $tasklist, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Tasks_Task"); + } + + /** + * Returns all tasks in the specified task list. (tasks.listTasks) + * + * @param string $tasklist Task list identifier. + * @param array $optParams Optional parameters. + * + * @opt_param string dueMax Upper bound for a task's due date (as a RFC 3339 + * timestamp) to filter by. Optional. The default is not to filter by due date. + * @opt_param bool showDeleted Flag indicating whether deleted tasks are + * returned in the result. Optional. The default is False. + * @opt_param string updatedMin Lower bound for a task's last modification time + * (as a RFC 3339 timestamp) to filter by. Optional. The default is not to + * filter by last modification time. + * @opt_param string completedMin Lower bound for a task's completion date (as a + * RFC 3339 timestamp) to filter by. Optional. The default is not to filter by + * completion date. + * @opt_param string maxResults Maximum number of task lists returned on one + * page. Optional. The default is 100. + * @opt_param bool showCompleted Flag indicating whether completed tasks are + * returned in the result. Optional. The default is True. + * @opt_param string pageToken Token specifying the result page to return. + * Optional. + * @opt_param string completedMax Upper bound for a task's completion date (as a + * RFC 3339 timestamp) to filter by. Optional. The default is not to filter by + * completion date. + * @opt_param bool showHidden Flag indicating whether hidden tasks are returned + * in the result. Optional. The default is False. + * @opt_param string dueMin Lower bound for a task's due date (as a RFC 3339 + * timestamp) to filter by. Optional. The default is not to filter by due date. + * @return Google_Service_Tasks_Tasks + */ + public function listTasks($tasklist, $optParams = array()) + { + $params = array('tasklist' => $tasklist); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Tasks_Tasks"); + } + + /** + * Moves the specified task to another position in the task list. This can + * include putting it as a child task under a new parent and/or move it to a + * different position among its sibling tasks. (tasks.move) + * + * @param string $tasklist Task list identifier. + * @param string $task Task identifier. + * @param array $optParams Optional parameters. + * + * @opt_param string parent New parent task identifier. If the task is moved to + * the top level, this parameter is omitted. Optional. + * @opt_param string previous New previous sibling task identifier. If the task + * is moved to the first position among its siblings, this parameter is omitted. + * Optional. + * @return Google_Service_Tasks_Task + */ + public function move($tasklist, $task, $optParams = array()) + { + $params = array('tasklist' => $tasklist, 'task' => $task); + $params = array_merge($params, $optParams); + return $this->call('move', array($params), "Google_Service_Tasks_Task"); + } + + /** + * Updates the specified task. This method supports patch semantics. + * (tasks.patch) + * + * @param string $tasklist Task list identifier. + * @param string $task Task identifier. + * @param Google_Task $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Tasks_Task + */ + public function patch($tasklist, $task, Google_Service_Tasks_Task $postBody, $optParams = array()) + { + $params = array('tasklist' => $tasklist, 'task' => $task, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Google_Service_Tasks_Task"); + } + + /** + * Updates the specified task. (tasks.update) + * + * @param string $tasklist Task list identifier. + * @param string $task Task identifier. + * @param Google_Task $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Tasks_Task + */ + public function update($tasklist, $task, Google_Service_Tasks_Task $postBody, $optParams = array()) + { + $params = array('tasklist' => $tasklist, 'task' => $task, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_Tasks_Task"); + } +} + + + + +class Google_Service_Tasks_Task extends Google_Collection +{ + protected $collection_key = 'links'; + protected $internal_gapi_mappings = array( + ); + public $completed; + public $deleted; + public $due; + public $etag; + public $hidden; + public $id; + public $kind; + protected $linksType = 'Google_Service_Tasks_TaskLinks'; + protected $linksDataType = 'array'; + public $notes; + public $parent; + public $position; + public $selfLink; + public $status; + public $title; + public $updated; + + + public function setCompleted($completed) + { + $this->completed = $completed; + } + public function getCompleted() + { + return $this->completed; + } + public function setDeleted($deleted) + { + $this->deleted = $deleted; + } + public function getDeleted() + { + return $this->deleted; + } + public function setDue($due) + { + $this->due = $due; + } + public function getDue() + { + return $this->due; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setHidden($hidden) + { + $this->hidden = $hidden; + } + public function getHidden() + { + return $this->hidden; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLinks($links) + { + $this->links = $links; + } + public function getLinks() + { + return $this->links; + } + public function setNotes($notes) + { + $this->notes = $notes; + } + public function getNotes() + { + return $this->notes; + } + public function setParent($parent) + { + $this->parent = $parent; + } + public function getParent() + { + return $this->parent; + } + public function setPosition($position) + { + $this->position = $position; + } + public function getPosition() + { + return $this->position; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } +} + +class Google_Service_Tasks_TaskLinks extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $description; + public $link; + public $type; + + + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setLink($link) + { + $this->link = $link; + } + public function getLink() + { + return $this->link; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_Tasks_TaskList extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $etag; + public $id; + public $kind; + public $selfLink; + public $title; + public $updated; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSelfLink($selfLink) + { + $this->selfLink = $selfLink; + } + public function getSelfLink() + { + return $this->selfLink; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setUpdated($updated) + { + $this->updated = $updated; + } + public function getUpdated() + { + return $this->updated; + } +} + +class Google_Service_Tasks_TaskLists extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_Tasks_TaskList'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_Tasks_Tasks extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_Tasks_Task'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Translate.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Translate.php new file mode 100644 index 0000000..c7f027d --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Translate.php @@ -0,0 +1,369 @@ + + * Lets you translate text from one language to another

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Translate extends Google_Service +{ + + + public $detections; + public $languages; + public $translations; + + + /** + * Constructs the internal representation of the Translate service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'language/translate/'; + $this->version = 'v2'; + $this->serviceName = 'translate'; + + $this->detections = new Google_Service_Translate_Detections_Resource( + $this, + $this->serviceName, + 'detections', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v2/detect', + 'httpMethod' => 'GET', + 'parameters' => array( + 'q' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->languages = new Google_Service_Translate_Languages_Resource( + $this, + $this->serviceName, + 'languages', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v2/languages', + 'httpMethod' => 'GET', + 'parameters' => array( + 'target' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->translations = new Google_Service_Translate_Translations_Resource( + $this, + $this->serviceName, + 'translations', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v2', + 'httpMethod' => 'GET', + 'parameters' => array( + 'q' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + 'required' => true, + ), + 'target' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'format' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'cid' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "detections" collection of methods. + * Typical usage is: + * + * $translateService = new Google_Service_Translate(...); + * $detections = $translateService->detections; + * + */ +class Google_Service_Translate_Detections_Resource extends Google_Service_Resource +{ + + /** + * Detect the language of text. (detections.listDetections) + * + * @param string $q The text to detect + * @param array $optParams Optional parameters. + * @return Google_Service_Translate_DetectionsListResponse + */ + public function listDetections($q, $optParams = array()) + { + $params = array('q' => $q); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Translate_DetectionsListResponse"); + } +} + +/** + * The "languages" collection of methods. + * Typical usage is: + * + * $translateService = new Google_Service_Translate(...); + * $languages = $translateService->languages; + * + */ +class Google_Service_Translate_Languages_Resource extends Google_Service_Resource +{ + + /** + * List the source/target languages supported by the API + * (languages.listLanguages) + * + * @param array $optParams Optional parameters. + * + * @opt_param string target the language and collation in which the localized + * results should be returned + * @return Google_Service_Translate_LanguagesListResponse + */ + public function listLanguages($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Translate_LanguagesListResponse"); + } +} + +/** + * The "translations" collection of methods. + * Typical usage is: + * + * $translateService = new Google_Service_Translate(...); + * $translations = $translateService->translations; + * + */ +class Google_Service_Translate_Translations_Resource extends Google_Service_Resource +{ + + /** + * Returns text translations from one language to another. + * (translations.listTranslations) + * + * @param string $q The text to translate + * @param string $target The target language into which the text should be + * translated + * @param array $optParams Optional parameters. + * + * @opt_param string source The source language of the text + * @opt_param string format The format of the text + * @opt_param string cid The customization id for translate + * @return Google_Service_Translate_TranslationsListResponse + */ + public function listTranslations($q, $target, $optParams = array()) + { + $params = array('q' => $q, 'target' => $target); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Translate_TranslationsListResponse"); + } +} + + + + +class Google_Service_Translate_DetectionsListResponse extends Google_Collection +{ + protected $collection_key = 'detections'; + protected $internal_gapi_mappings = array( + ); + protected $detectionsType = 'Google_Service_Translate_DetectionsResourceItems'; + protected $detectionsDataType = 'array'; + + + public function setDetections($detections) + { + $this->detections = $detections; + } + public function getDetections() + { + return $this->detections; + } +} + +class Google_Service_Translate_DetectionsResourceItems extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $confidence; + public $isReliable; + public $language; + + + public function setConfidence($confidence) + { + $this->confidence = $confidence; + } + public function getConfidence() + { + return $this->confidence; + } + public function setIsReliable($isReliable) + { + $this->isReliable = $isReliable; + } + public function getIsReliable() + { + return $this->isReliable; + } + public function setLanguage($language) + { + $this->language = $language; + } + public function getLanguage() + { + return $this->language; + } +} + +class Google_Service_Translate_LanguagesListResponse extends Google_Collection +{ + protected $collection_key = 'languages'; + protected $internal_gapi_mappings = array( + ); + protected $languagesType = 'Google_Service_Translate_LanguagesResource'; + protected $languagesDataType = 'array'; + + + public function setLanguages($languages) + { + $this->languages = $languages; + } + public function getLanguages() + { + return $this->languages; + } +} + +class Google_Service_Translate_LanguagesResource extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $language; + public $name; + + + public function setLanguage($language) + { + $this->language = $language; + } + public function getLanguage() + { + return $this->language; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_Translate_TranslationsListResponse extends Google_Collection +{ + protected $collection_key = 'translations'; + protected $internal_gapi_mappings = array( + ); + protected $translationsType = 'Google_Service_Translate_TranslationsResource'; + protected $translationsDataType = 'array'; + + + public function setTranslations($translations) + { + $this->translations = $translations; + } + public function getTranslations() + { + return $this->translations; + } +} + +class Google_Service_Translate_TranslationsResource extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $detectedSourceLanguage; + public $translatedText; + + + public function setDetectedSourceLanguage($detectedSourceLanguage) + { + $this->detectedSourceLanguage = $detectedSourceLanguage; + } + public function getDetectedSourceLanguage() + { + return $this->detectedSourceLanguage; + } + public function setTranslatedText($translatedText) + { + $this->translatedText = $translatedText; + } + public function getTranslatedText() + { + return $this->translatedText; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Urlshortener.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Urlshortener.php new file mode 100644 index 0000000..d46bb8c --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Urlshortener.php @@ -0,0 +1,427 @@ + + * Lets you create, inspect, and manage goo.gl short URLs

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Urlshortener extends Google_Service +{ + /** Manage your goo.gl short URLs. */ + const URLSHORTENER = + "https://www.googleapis.com/auth/urlshortener"; + + public $url; + + + /** + * Constructs the internal representation of the Urlshortener service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'urlshortener/v1/'; + $this->version = 'v1'; + $this->serviceName = 'urlshortener'; + + $this->url = new Google_Service_Urlshortener_Url_Resource( + $this, + $this->serviceName, + 'url', + array( + 'methods' => array( + 'get' => array( + 'path' => 'url', + 'httpMethod' => 'GET', + 'parameters' => array( + 'shortUrl' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'insert' => array( + 'path' => 'url', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'list' => array( + 'path' => 'url/history', + 'httpMethod' => 'GET', + 'parameters' => array( + 'start-token' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projection' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "url" collection of methods. + * Typical usage is: + * + * $urlshortenerService = new Google_Service_Urlshortener(...); + * $url = $urlshortenerService->url; + * + */ +class Google_Service_Urlshortener_Url_Resource extends Google_Service_Resource +{ + + /** + * Expands a short URL or gets creation time and analytics. (url.get) + * + * @param string $shortUrl The short URL, including the protocol. + * @param array $optParams Optional parameters. + * + * @opt_param string projection Additional information to return. + * @return Google_Service_Urlshortener_Url + */ + public function get($shortUrl, $optParams = array()) + { + $params = array('shortUrl' => $shortUrl); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Urlshortener_Url"); + } + + /** + * Creates a new short URL. (url.insert) + * + * @param Google_Url $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Urlshortener_Url + */ + public function insert(Google_Service_Urlshortener_Url $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_Urlshortener_Url"); + } + + /** + * Retrieves a list of URLs shortened by a user. (url.listUrl) + * + * @param array $optParams Optional parameters. + * + * @opt_param string start-token Token for requesting successive pages of + * results. + * @opt_param string projection Additional information to return. + * @return Google_Service_Urlshortener_UrlHistory + */ + public function listUrl($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Urlshortener_UrlHistory"); + } +} + + + + +class Google_Service_Urlshortener_AnalyticsSnapshot extends Google_Collection +{ + protected $collection_key = 'referrers'; + protected $internal_gapi_mappings = array( + ); + protected $browsersType = 'Google_Service_Urlshortener_StringCount'; + protected $browsersDataType = 'array'; + protected $countriesType = 'Google_Service_Urlshortener_StringCount'; + protected $countriesDataType = 'array'; + public $longUrlClicks; + protected $platformsType = 'Google_Service_Urlshortener_StringCount'; + protected $platformsDataType = 'array'; + protected $referrersType = 'Google_Service_Urlshortener_StringCount'; + protected $referrersDataType = 'array'; + public $shortUrlClicks; + + + public function setBrowsers($browsers) + { + $this->browsers = $browsers; + } + public function getBrowsers() + { + return $this->browsers; + } + public function setCountries($countries) + { + $this->countries = $countries; + } + public function getCountries() + { + return $this->countries; + } + public function setLongUrlClicks($longUrlClicks) + { + $this->longUrlClicks = $longUrlClicks; + } + public function getLongUrlClicks() + { + return $this->longUrlClicks; + } + public function setPlatforms($platforms) + { + $this->platforms = $platforms; + } + public function getPlatforms() + { + return $this->platforms; + } + public function setReferrers($referrers) + { + $this->referrers = $referrers; + } + public function getReferrers() + { + return $this->referrers; + } + public function setShortUrlClicks($shortUrlClicks) + { + $this->shortUrlClicks = $shortUrlClicks; + } + public function getShortUrlClicks() + { + return $this->shortUrlClicks; + } +} + +class Google_Service_Urlshortener_AnalyticsSummary extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $allTimeType = 'Google_Service_Urlshortener_AnalyticsSnapshot'; + protected $allTimeDataType = ''; + protected $dayType = 'Google_Service_Urlshortener_AnalyticsSnapshot'; + protected $dayDataType = ''; + protected $monthType = 'Google_Service_Urlshortener_AnalyticsSnapshot'; + protected $monthDataType = ''; + protected $twoHoursType = 'Google_Service_Urlshortener_AnalyticsSnapshot'; + protected $twoHoursDataType = ''; + protected $weekType = 'Google_Service_Urlshortener_AnalyticsSnapshot'; + protected $weekDataType = ''; + + + public function setAllTime(Google_Service_Urlshortener_AnalyticsSnapshot $allTime) + { + $this->allTime = $allTime; + } + public function getAllTime() + { + return $this->allTime; + } + public function setDay(Google_Service_Urlshortener_AnalyticsSnapshot $day) + { + $this->day = $day; + } + public function getDay() + { + return $this->day; + } + public function setMonth(Google_Service_Urlshortener_AnalyticsSnapshot $month) + { + $this->month = $month; + } + public function getMonth() + { + return $this->month; + } + public function setTwoHours(Google_Service_Urlshortener_AnalyticsSnapshot $twoHours) + { + $this->twoHours = $twoHours; + } + public function getTwoHours() + { + return $this->twoHours; + } + public function setWeek(Google_Service_Urlshortener_AnalyticsSnapshot $week) + { + $this->week = $week; + } + public function getWeek() + { + return $this->week; + } +} + +class Google_Service_Urlshortener_StringCount extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $count; + public $id; + + + public function setCount($count) + { + $this->count = $count; + } + public function getCount() + { + return $this->count; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } +} + +class Google_Service_Urlshortener_Url extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $analyticsType = 'Google_Service_Urlshortener_AnalyticsSummary'; + protected $analyticsDataType = ''; + public $created; + public $id; + public $kind; + public $longUrl; + public $status; + + + public function setAnalytics(Google_Service_Urlshortener_AnalyticsSummary $analytics) + { + $this->analytics = $analytics; + } + public function getAnalytics() + { + return $this->analytics; + } + public function setCreated($created) + { + $this->created = $created; + } + public function getCreated() + { + return $this->created; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLongUrl($longUrl) + { + $this->longUrl = $longUrl; + } + public function getLongUrl() + { + return $this->longUrl; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} + +class Google_Service_Urlshortener_UrlHistory extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Urlshortener_Url'; + protected $itemsDataType = 'array'; + public $itemsPerPage; + public $kind; + public $nextPageToken; + public $totalItems; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setItemsPerPage($itemsPerPage) + { + $this->itemsPerPage = $itemsPerPage; + } + public function getItemsPerPage() + { + return $this->itemsPerPage; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setTotalItems($totalItems) + { + $this->totalItems = $totalItems; + } + public function getTotalItems() + { + return $this->totalItems; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Webfonts.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Webfonts.php new file mode 100644 index 0000000..85b56b9 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Webfonts.php @@ -0,0 +1,216 @@ + + * The Google Fonts Developer API.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Webfonts extends Google_Service +{ + + + public $webfonts; + + + /** + * Constructs the internal representation of the Webfonts service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'webfonts/v1/'; + $this->version = 'v1'; + $this->serviceName = 'webfonts'; + + $this->webfonts = new Google_Service_Webfonts_Webfonts_Resource( + $this, + $this->serviceName, + 'webfonts', + array( + 'methods' => array( + 'list' => array( + 'path' => 'webfonts', + 'httpMethod' => 'GET', + 'parameters' => array( + 'sort' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "webfonts" collection of methods. + * Typical usage is: + * + * $webfontsService = new Google_Service_Webfonts(...); + * $webfonts = $webfontsService->webfonts; + * + */ +class Google_Service_Webfonts_Webfonts_Resource extends Google_Service_Resource +{ + + /** + * Retrieves the list of fonts currently served by the Google Fonts Developer + * API (webfonts.listWebfonts) + * + * @param array $optParams Optional parameters. + * + * @opt_param string sort Enables sorting of the list + * @return Google_Service_Webfonts_WebfontList + */ + public function listWebfonts($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Webfonts_WebfontList"); + } +} + + + + +class Google_Service_Webfonts_Webfont extends Google_Collection +{ + protected $collection_key = 'variants'; + protected $internal_gapi_mappings = array( + ); + public $category; + public $family; + public $files; + public $kind; + public $lastModified; + public $subsets; + public $variants; + public $version; + + + public function setCategory($category) + { + $this->category = $category; + } + public function getCategory() + { + return $this->category; + } + public function setFamily($family) + { + $this->family = $family; + } + public function getFamily() + { + return $this->family; + } + public function setFiles($files) + { + $this->files = $files; + } + public function getFiles() + { + return $this->files; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLastModified($lastModified) + { + $this->lastModified = $lastModified; + } + public function getLastModified() + { + return $this->lastModified; + } + public function setSubsets($subsets) + { + $this->subsets = $subsets; + } + public function getSubsets() + { + return $this->subsets; + } + public function setVariants($variants) + { + $this->variants = $variants; + } + public function getVariants() + { + return $this->variants; + } + public function setVersion($version) + { + $this->version = $version; + } + public function getVersion() + { + return $this->version; + } +} + +class Google_Service_Webfonts_WebfontFiles extends Google_Model +{ +} + +class Google_Service_Webfonts_WebfontList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_Webfonts_Webfont'; + protected $itemsDataType = 'array'; + public $kind; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Webmasters.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Webmasters.php new file mode 100644 index 0000000..30f9fd7 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/Webmasters.php @@ -0,0 +1,1201 @@ + + * Lets you view Google Webmaster Tools data for your verified sites.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_Webmasters extends Google_Service +{ + /** View and modify Webmaster Tools data for your verified sites. */ + const WEBMASTERS = + "https://www.googleapis.com/auth/webmasters"; + /** View Webmaster Tools data for your verified sites. */ + const WEBMASTERS_READONLY = + "https://www.googleapis.com/auth/webmasters.readonly"; + + public $searchanalytics; + public $sitemaps; + public $sites; + public $urlcrawlerrorscounts; + public $urlcrawlerrorssamples; + + + /** + * Constructs the internal representation of the Webmasters service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'webmasters/v3/'; + $this->version = 'v3'; + $this->serviceName = 'webmasters'; + + $this->searchanalytics = new Google_Service_Webmasters_Searchanalytics_Resource( + $this, + $this->serviceName, + 'searchanalytics', + array( + 'methods' => array( + 'query' => array( + 'path' => 'sites/{siteUrl}/searchAnalytics/query', + 'httpMethod' => 'POST', + 'parameters' => array( + 'siteUrl' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->sitemaps = new Google_Service_Webmasters_Sitemaps_Resource( + $this, + $this->serviceName, + 'sitemaps', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'sites/{siteUrl}/sitemaps/{feedpath}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'siteUrl' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'feedpath' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'sites/{siteUrl}/sitemaps/{feedpath}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'siteUrl' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'feedpath' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'sites/{siteUrl}/sitemaps', + 'httpMethod' => 'GET', + 'parameters' => array( + 'siteUrl' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sitemapIndex' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'submit' => array( + 'path' => 'sites/{siteUrl}/sitemaps/{feedpath}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'siteUrl' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'feedpath' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->sites = new Google_Service_Webmasters_Sites_Resource( + $this, + $this->serviceName, + 'sites', + array( + 'methods' => array( + 'add' => array( + 'path' => 'sites/{siteUrl}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'siteUrl' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'sites/{siteUrl}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'siteUrl' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'sites/{siteUrl}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'siteUrl' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'sites', + 'httpMethod' => 'GET', + 'parameters' => array(), + ), + ) + ) + ); + $this->urlcrawlerrorscounts = new Google_Service_Webmasters_Urlcrawlerrorscounts_Resource( + $this, + $this->serviceName, + 'urlcrawlerrorscounts', + array( + 'methods' => array( + 'query' => array( + 'path' => 'sites/{siteUrl}/urlCrawlErrorsCounts/query', + 'httpMethod' => 'GET', + 'parameters' => array( + 'siteUrl' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'category' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'platform' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'latestCountsOnly' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->urlcrawlerrorssamples = new Google_Service_Webmasters_Urlcrawlerrorssamples_Resource( + $this, + $this->serviceName, + 'urlcrawlerrorssamples', + array( + 'methods' => array( + 'get' => array( + 'path' => 'sites/{siteUrl}/urlCrawlErrorsSamples/{url}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'siteUrl' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'url' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'category' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'platform' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'sites/{siteUrl}/urlCrawlErrorsSamples', + 'httpMethod' => 'GET', + 'parameters' => array( + 'siteUrl' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'category' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'platform' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'markAsFixed' => array( + 'path' => 'sites/{siteUrl}/urlCrawlErrorsSamples/{url}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'siteUrl' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'url' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'category' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'platform' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "searchanalytics" collection of methods. + * Typical usage is: + * + * $webmastersService = new Google_Service_Webmasters(...); + * $searchanalytics = $webmastersService->searchanalytics; + * + */ +class Google_Service_Webmasters_Searchanalytics_Resource extends Google_Service_Resource +{ + + /** + * Query your data with filters and parameters that you define. Returns zero or + * more rows grouped by the row keys that you define. You must define a date + * range of one or more days. + * + * When date is one of the group by values, any days without data are omitted + * from the result list. If you need to know which days have data, issue a broad + * date range query grouped by date for any metric, and see which day rows are + * returned. (searchanalytics.query) + * + * @param string $siteUrl The site's URL, including protocol. For example: + * http://www.example.com/ + * @param Google_SearchAnalyticsQueryRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_Webmasters_SearchAnalyticsQueryResponse + */ + public function query($siteUrl, Google_Service_Webmasters_SearchAnalyticsQueryRequest $postBody, $optParams = array()) + { + $params = array('siteUrl' => $siteUrl, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('query', array($params), "Google_Service_Webmasters_SearchAnalyticsQueryResponse"); + } +} + +/** + * The "sitemaps" collection of methods. + * Typical usage is: + * + * $webmastersService = new Google_Service_Webmasters(...); + * $sitemaps = $webmastersService->sitemaps; + * + */ +class Google_Service_Webmasters_Sitemaps_Resource extends Google_Service_Resource +{ + + /** + * Deletes a sitemap from this site. (sitemaps.delete) + * + * @param string $siteUrl The site's URL, including protocol. For example: + * http://www.example.com/ + * @param string $feedpath The URL of the actual sitemap. For example: + * http://www.example.com/sitemap.xml + * @param array $optParams Optional parameters. + */ + public function delete($siteUrl, $feedpath, $optParams = array()) + { + $params = array('siteUrl' => $siteUrl, 'feedpath' => $feedpath); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Retrieves information about a specific sitemap. (sitemaps.get) + * + * @param string $siteUrl The site's URL, including protocol. For example: + * http://www.example.com/ + * @param string $feedpath The URL of the actual sitemap. For example: + * http://www.example.com/sitemap.xml + * @param array $optParams Optional parameters. + * @return Google_Service_Webmasters_WmxSitemap + */ + public function get($siteUrl, $feedpath, $optParams = array()) + { + $params = array('siteUrl' => $siteUrl, 'feedpath' => $feedpath); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Webmasters_WmxSitemap"); + } + + /** + * Lists the sitemaps-entries submitted for this site, or included in the + * sitemap index file (if sitemapIndex is specified in the request). + * (sitemaps.listSitemaps) + * + * @param string $siteUrl The site's URL, including protocol. For example: + * http://www.example.com/ + * @param array $optParams Optional parameters. + * + * @opt_param string sitemapIndex A URL of a site's sitemap index. For example: + * http://www.example.com/sitemapindex.xml + * @return Google_Service_Webmasters_SitemapsListResponse + */ + public function listSitemaps($siteUrl, $optParams = array()) + { + $params = array('siteUrl' => $siteUrl); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Webmasters_SitemapsListResponse"); + } + + /** + * Submits a sitemap for a site. (sitemaps.submit) + * + * @param string $siteUrl The site's URL, including protocol. For example: + * http://www.example.com/ + * @param string $feedpath The URL of the sitemap to add. For example: + * http://www.example.com/sitemap.xml + * @param array $optParams Optional parameters. + */ + public function submit($siteUrl, $feedpath, $optParams = array()) + { + $params = array('siteUrl' => $siteUrl, 'feedpath' => $feedpath); + $params = array_merge($params, $optParams); + return $this->call('submit', array($params)); + } +} + +/** + * The "sites" collection of methods. + * Typical usage is: + * + * $webmastersService = new Google_Service_Webmasters(...); + * $sites = $webmastersService->sites; + * + */ +class Google_Service_Webmasters_Sites_Resource extends Google_Service_Resource +{ + + /** + * Adds a site to the set of the user's sites in Webmaster Tools. (sites.add) + * + * @param string $siteUrl The URL of the site to add. + * @param array $optParams Optional parameters. + */ + public function add($siteUrl, $optParams = array()) + { + $params = array('siteUrl' => $siteUrl); + $params = array_merge($params, $optParams); + return $this->call('add', array($params)); + } + + /** + * Removes a site from the set of the user's Webmaster Tools sites. + * (sites.delete) + * + * @param string $siteUrl The URI of the property as defined in Search Console. + * Examples: http://www.example.com/ or android-app://com.example/ + * @param array $optParams Optional parameters. + */ + public function delete($siteUrl, $optParams = array()) + { + $params = array('siteUrl' => $siteUrl); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Retrieves information about specific site. (sites.get) + * + * @param string $siteUrl The URI of the property as defined in Search Console. + * Examples: http://www.example.com/ or android-app://com.example/ + * @param array $optParams Optional parameters. + * @return Google_Service_Webmasters_WmxSite + */ + public function get($siteUrl, $optParams = array()) + { + $params = array('siteUrl' => $siteUrl); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Webmasters_WmxSite"); + } + + /** + * Lists the user's Webmaster Tools sites. (sites.listSites) + * + * @param array $optParams Optional parameters. + * @return Google_Service_Webmasters_SitesListResponse + */ + public function listSites($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Webmasters_SitesListResponse"); + } +} + +/** + * The "urlcrawlerrorscounts" collection of methods. + * Typical usage is: + * + * $webmastersService = new Google_Service_Webmasters(...); + * $urlcrawlerrorscounts = $webmastersService->urlcrawlerrorscounts; + * + */ +class Google_Service_Webmasters_Urlcrawlerrorscounts_Resource extends Google_Service_Resource +{ + + /** + * Retrieves a time series of the number of URL crawl errors per error category + * and platform. (urlcrawlerrorscounts.query) + * + * @param string $siteUrl The site's URL, including protocol. For example: + * http://www.example.com/ + * @param array $optParams Optional parameters. + * + * @opt_param string category The crawl error category. For example: + * serverError. If not specified, returns results for all categories. + * @opt_param string platform The user agent type (platform) that made the + * request. For example: web. If not specified, returns results for all + * platforms. + * @opt_param bool latestCountsOnly If true, returns only the latest crawl error + * counts. + * @return Google_Service_Webmasters_UrlCrawlErrorsCountsQueryResponse + */ + public function query($siteUrl, $optParams = array()) + { + $params = array('siteUrl' => $siteUrl); + $params = array_merge($params, $optParams); + return $this->call('query', array($params), "Google_Service_Webmasters_UrlCrawlErrorsCountsQueryResponse"); + } +} + +/** + * The "urlcrawlerrorssamples" collection of methods. + * Typical usage is: + * + * $webmastersService = new Google_Service_Webmasters(...); + * $urlcrawlerrorssamples = $webmastersService->urlcrawlerrorssamples; + * + */ +class Google_Service_Webmasters_Urlcrawlerrorssamples_Resource extends Google_Service_Resource +{ + + /** + * Retrieves details about crawl errors for a site's sample URL. + * (urlcrawlerrorssamples.get) + * + * @param string $siteUrl The site's URL, including protocol. For example: + * http://www.example.com/ + * @param string $url The relative path (without the site) of the sample URL. It + * must be one of the URLs returned by list(). For example, for the URL + * https://www.example.com/pagename on the site https://www.example.com/, the + * url value is pagename + * @param string $category The crawl error category. For example: + * authPermissions + * @param string $platform The user agent type (platform) that made the request. + * For example: web + * @param array $optParams Optional parameters. + * @return Google_Service_Webmasters_UrlCrawlErrorsSample + */ + public function get($siteUrl, $url, $category, $platform, $optParams = array()) + { + $params = array('siteUrl' => $siteUrl, 'url' => $url, 'category' => $category, 'platform' => $platform); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_Webmasters_UrlCrawlErrorsSample"); + } + + /** + * Lists a site's sample URLs for the specified crawl error category and + * platform. (urlcrawlerrorssamples.listUrlcrawlerrorssamples) + * + * @param string $siteUrl The site's URL, including protocol. For example: + * http://www.example.com/ + * @param string $category The crawl error category. For example: + * authPermissions + * @param string $platform The user agent type (platform) that made the request. + * For example: web + * @param array $optParams Optional parameters. + * @return Google_Service_Webmasters_UrlCrawlErrorsSamplesListResponse + */ + public function listUrlcrawlerrorssamples($siteUrl, $category, $platform, $optParams = array()) + { + $params = array('siteUrl' => $siteUrl, 'category' => $category, 'platform' => $platform); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_Webmasters_UrlCrawlErrorsSamplesListResponse"); + } + + /** + * Marks the provided site's sample URL as fixed, and removes it from the + * samples list. (urlcrawlerrorssamples.markAsFixed) + * + * @param string $siteUrl The site's URL, including protocol. For example: + * http://www.example.com/ + * @param string $url The relative path (without the site) of the sample URL. It + * must be one of the URLs returned by list(). For example, for the URL + * https://www.example.com/pagename on the site https://www.example.com/, the + * url value is pagename + * @param string $category The crawl error category. For example: + * authPermissions + * @param string $platform The user agent type (platform) that made the request. + * For example: web + * @param array $optParams Optional parameters. + */ + public function markAsFixed($siteUrl, $url, $category, $platform, $optParams = array()) + { + $params = array('siteUrl' => $siteUrl, 'url' => $url, 'category' => $category, 'platform' => $platform); + $params = array_merge($params, $optParams); + return $this->call('markAsFixed', array($params)); + } +} + + + + +class Google_Service_Webmasters_ApiDataRow extends Google_Collection +{ + protected $collection_key = 'keys'; + protected $internal_gapi_mappings = array( + ); + public $clicks; + public $ctr; + public $impressions; + public $keys; + public $position; + + + public function setClicks($clicks) + { + $this->clicks = $clicks; + } + public function getClicks() + { + return $this->clicks; + } + public function setCtr($ctr) + { + $this->ctr = $ctr; + } + public function getCtr() + { + return $this->ctr; + } + public function setImpressions($impressions) + { + $this->impressions = $impressions; + } + public function getImpressions() + { + return $this->impressions; + } + public function setKeys($keys) + { + $this->keys = $keys; + } + public function getKeys() + { + return $this->keys; + } + public function setPosition($position) + { + $this->position = $position; + } + public function getPosition() + { + return $this->position; + } +} + +class Google_Service_Webmasters_ApiDimensionFilter extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $dimension; + public $expression; + public $operator; + + + public function setDimension($dimension) + { + $this->dimension = $dimension; + } + public function getDimension() + { + return $this->dimension; + } + public function setExpression($expression) + { + $this->expression = $expression; + } + public function getExpression() + { + return $this->expression; + } + public function setOperator($operator) + { + $this->operator = $operator; + } + public function getOperator() + { + return $this->operator; + } +} + +class Google_Service_Webmasters_ApiDimensionFilterGroup extends Google_Collection +{ + protected $collection_key = 'filters'; + protected $internal_gapi_mappings = array( + ); + protected $filtersType = 'Google_Service_Webmasters_ApiDimensionFilter'; + protected $filtersDataType = 'array'; + public $groupType; + + + public function setFilters($filters) + { + $this->filters = $filters; + } + public function getFilters() + { + return $this->filters; + } + public function setGroupType($groupType) + { + $this->groupType = $groupType; + } + public function getGroupType() + { + return $this->groupType; + } +} + +class Google_Service_Webmasters_SearchAnalyticsQueryRequest extends Google_Collection +{ + protected $collection_key = 'dimensions'; + protected $internal_gapi_mappings = array( + ); + public $aggregationType; + protected $dimensionFilterGroupsType = 'Google_Service_Webmasters_ApiDimensionFilterGroup'; + protected $dimensionFilterGroupsDataType = 'array'; + public $dimensions; + public $endDate; + public $rowLimit; + public $searchType; + public $startDate; + + + public function setAggregationType($aggregationType) + { + $this->aggregationType = $aggregationType; + } + public function getAggregationType() + { + return $this->aggregationType; + } + public function setDimensionFilterGroups($dimensionFilterGroups) + { + $this->dimensionFilterGroups = $dimensionFilterGroups; + } + public function getDimensionFilterGroups() + { + return $this->dimensionFilterGroups; + } + public function setDimensions($dimensions) + { + $this->dimensions = $dimensions; + } + public function getDimensions() + { + return $this->dimensions; + } + public function setEndDate($endDate) + { + $this->endDate = $endDate; + } + public function getEndDate() + { + return $this->endDate; + } + public function setRowLimit($rowLimit) + { + $this->rowLimit = $rowLimit; + } + public function getRowLimit() + { + return $this->rowLimit; + } + public function setSearchType($searchType) + { + $this->searchType = $searchType; + } + public function getSearchType() + { + return $this->searchType; + } + public function setStartDate($startDate) + { + $this->startDate = $startDate; + } + public function getStartDate() + { + return $this->startDate; + } +} + +class Google_Service_Webmasters_SearchAnalyticsQueryResponse extends Google_Collection +{ + protected $collection_key = 'rows'; + protected $internal_gapi_mappings = array( + ); + public $responseAggregationType; + protected $rowsType = 'Google_Service_Webmasters_ApiDataRow'; + protected $rowsDataType = 'array'; + + + public function setResponseAggregationType($responseAggregationType) + { + $this->responseAggregationType = $responseAggregationType; + } + public function getResponseAggregationType() + { + return $this->responseAggregationType; + } + public function setRows($rows) + { + $this->rows = $rows; + } + public function getRows() + { + return $this->rows; + } +} + +class Google_Service_Webmasters_SitemapsListResponse extends Google_Collection +{ + protected $collection_key = 'sitemap'; + protected $internal_gapi_mappings = array( + ); + protected $sitemapType = 'Google_Service_Webmasters_WmxSitemap'; + protected $sitemapDataType = 'array'; + + + public function setSitemap($sitemap) + { + $this->sitemap = $sitemap; + } + public function getSitemap() + { + return $this->sitemap; + } +} + +class Google_Service_Webmasters_SitesListResponse extends Google_Collection +{ + protected $collection_key = 'siteEntry'; + protected $internal_gapi_mappings = array( + ); + protected $siteEntryType = 'Google_Service_Webmasters_WmxSite'; + protected $siteEntryDataType = 'array'; + + + public function setSiteEntry($siteEntry) + { + $this->siteEntry = $siteEntry; + } + public function getSiteEntry() + { + return $this->siteEntry; + } +} + +class Google_Service_Webmasters_UrlCrawlErrorCount extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $count; + public $timestamp; + + + public function setCount($count) + { + $this->count = $count; + } + public function getCount() + { + return $this->count; + } + public function setTimestamp($timestamp) + { + $this->timestamp = $timestamp; + } + public function getTimestamp() + { + return $this->timestamp; + } +} + +class Google_Service_Webmasters_UrlCrawlErrorCountsPerType extends Google_Collection +{ + protected $collection_key = 'entries'; + protected $internal_gapi_mappings = array( + ); + public $category; + protected $entriesType = 'Google_Service_Webmasters_UrlCrawlErrorCount'; + protected $entriesDataType = 'array'; + public $platform; + + + public function setCategory($category) + { + $this->category = $category; + } + public function getCategory() + { + return $this->category; + } + public function setEntries($entries) + { + $this->entries = $entries; + } + public function getEntries() + { + return $this->entries; + } + public function setPlatform($platform) + { + $this->platform = $platform; + } + public function getPlatform() + { + return $this->platform; + } +} + +class Google_Service_Webmasters_UrlCrawlErrorsCountsQueryResponse extends Google_Collection +{ + protected $collection_key = 'countPerTypes'; + protected $internal_gapi_mappings = array( + ); + protected $countPerTypesType = 'Google_Service_Webmasters_UrlCrawlErrorCountsPerType'; + protected $countPerTypesDataType = 'array'; + + + public function setCountPerTypes($countPerTypes) + { + $this->countPerTypes = $countPerTypes; + } + public function getCountPerTypes() + { + return $this->countPerTypes; + } +} + +class Google_Service_Webmasters_UrlCrawlErrorsSample extends Google_Model +{ + protected $internal_gapi_mappings = array( + "firstDetected" => "first_detected", + "lastCrawled" => "last_crawled", + ); + public $firstDetected; + public $lastCrawled; + public $pageUrl; + public $responseCode; + protected $urlDetailsType = 'Google_Service_Webmasters_UrlSampleDetails'; + protected $urlDetailsDataType = ''; + + + public function setFirstDetected($firstDetected) + { + $this->firstDetected = $firstDetected; + } + public function getFirstDetected() + { + return $this->firstDetected; + } + public function setLastCrawled($lastCrawled) + { + $this->lastCrawled = $lastCrawled; + } + public function getLastCrawled() + { + return $this->lastCrawled; + } + public function setPageUrl($pageUrl) + { + $this->pageUrl = $pageUrl; + } + public function getPageUrl() + { + return $this->pageUrl; + } + public function setResponseCode($responseCode) + { + $this->responseCode = $responseCode; + } + public function getResponseCode() + { + return $this->responseCode; + } + public function setUrlDetails(Google_Service_Webmasters_UrlSampleDetails $urlDetails) + { + $this->urlDetails = $urlDetails; + } + public function getUrlDetails() + { + return $this->urlDetails; + } +} + +class Google_Service_Webmasters_UrlCrawlErrorsSamplesListResponse extends Google_Collection +{ + protected $collection_key = 'urlCrawlErrorSample'; + protected $internal_gapi_mappings = array( + ); + protected $urlCrawlErrorSampleType = 'Google_Service_Webmasters_UrlCrawlErrorsSample'; + protected $urlCrawlErrorSampleDataType = 'array'; + + + public function setUrlCrawlErrorSample($urlCrawlErrorSample) + { + $this->urlCrawlErrorSample = $urlCrawlErrorSample; + } + public function getUrlCrawlErrorSample() + { + return $this->urlCrawlErrorSample; + } +} + +class Google_Service_Webmasters_UrlSampleDetails extends Google_Collection +{ + protected $collection_key = 'linkedFromUrls'; + protected $internal_gapi_mappings = array( + ); + public $containingSitemaps; + public $linkedFromUrls; + + + public function setContainingSitemaps($containingSitemaps) + { + $this->containingSitemaps = $containingSitemaps; + } + public function getContainingSitemaps() + { + return $this->containingSitemaps; + } + public function setLinkedFromUrls($linkedFromUrls) + { + $this->linkedFromUrls = $linkedFromUrls; + } + public function getLinkedFromUrls() + { + return $this->linkedFromUrls; + } +} + +class Google_Service_Webmasters_WmxSite extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $permissionLevel; + public $siteUrl; + + + public function setPermissionLevel($permissionLevel) + { + $this->permissionLevel = $permissionLevel; + } + public function getPermissionLevel() + { + return $this->permissionLevel; + } + public function setSiteUrl($siteUrl) + { + $this->siteUrl = $siteUrl; + } + public function getSiteUrl() + { + return $this->siteUrl; + } +} + +class Google_Service_Webmasters_WmxSitemap extends Google_Collection +{ + protected $collection_key = 'contents'; + protected $internal_gapi_mappings = array( + ); + protected $contentsType = 'Google_Service_Webmasters_WmxSitemapContent'; + protected $contentsDataType = 'array'; + public $errors; + public $isPending; + public $isSitemapsIndex; + public $lastDownloaded; + public $lastSubmitted; + public $path; + public $type; + public $warnings; + + + public function setContents($contents) + { + $this->contents = $contents; + } + public function getContents() + { + return $this->contents; + } + public function setErrors($errors) + { + $this->errors = $errors; + } + public function getErrors() + { + return $this->errors; + } + public function setIsPending($isPending) + { + $this->isPending = $isPending; + } + public function getIsPending() + { + return $this->isPending; + } + public function setIsSitemapsIndex($isSitemapsIndex) + { + $this->isSitemapsIndex = $isSitemapsIndex; + } + public function getIsSitemapsIndex() + { + return $this->isSitemapsIndex; + } + public function setLastDownloaded($lastDownloaded) + { + $this->lastDownloaded = $lastDownloaded; + } + public function getLastDownloaded() + { + return $this->lastDownloaded; + } + public function setLastSubmitted($lastSubmitted) + { + $this->lastSubmitted = $lastSubmitted; + } + public function getLastSubmitted() + { + return $this->lastSubmitted; + } + public function setPath($path) + { + $this->path = $path; + } + public function getPath() + { + return $this->path; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setWarnings($warnings) + { + $this->warnings = $warnings; + } + public function getWarnings() + { + return $this->warnings; + } +} + +class Google_Service_Webmasters_WmxSitemapContent extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $indexed; + public $submitted; + public $type; + + + public function setIndexed($indexed) + { + $this->indexed = $indexed; + } + public function getIndexed() + { + return $this->indexed; + } + public function setSubmitted($submitted) + { + $this->submitted = $submitted; + } + public function getSubmitted() + { + return $this->submitted; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/YouTube.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/YouTube.php new file mode 100644 index 0000000..1b646ae --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/YouTube.php @@ -0,0 +1,12907 @@ + + * Programmatic access to YouTube features.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_YouTube extends Google_Service +{ + /** Manage your YouTube account. */ + const YOUTUBE = + "https://www.googleapis.com/auth/youtube"; + /** Manage your YouTube account. */ + const YOUTUBE_FORCE_SSL = + "https://www.googleapis.com/auth/youtube.force-ssl"; + /** View your YouTube account. */ + const YOUTUBE_READONLY = + "https://www.googleapis.com/auth/youtube.readonly"; + /** Manage your YouTube videos. */ + const YOUTUBE_UPLOAD = + "https://www.googleapis.com/auth/youtube.upload"; + /** View and manage your assets and associated content on YouTube. */ + const YOUTUBEPARTNER = + "https://www.googleapis.com/auth/youtubepartner"; + /** View private information of your YouTube channel relevant during the audit process with a YouTube partner. */ + const YOUTUBEPARTNER_CHANNEL_AUDIT = + "https://www.googleapis.com/auth/youtubepartner-channel-audit"; + + public $activities; + public $captions; + public $channelBanners; + public $channelSections; + public $channels; + public $commentThreads; + public $comments; + public $guideCategories; + public $i18nLanguages; + public $i18nRegions; + public $liveBroadcasts; + public $liveStreams; + public $playlistItems; + public $playlists; + public $search; + public $subscriptions; + public $thumbnails; + public $videoAbuseReportReasons; + public $videoCategories; + public $videos; + public $watermarks; + + + /** + * Constructs the internal representation of the YouTube service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'youtube/v3/'; + $this->version = 'v3'; + $this->serviceName = 'youtube'; + + $this->activities = new Google_Service_YouTube_Activities_Resource( + $this, + $this->serviceName, + 'activities', + array( + 'methods' => array( + 'insert' => array( + 'path' => 'activities', + 'httpMethod' => 'POST', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'activities', + 'httpMethod' => 'GET', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'regionCode' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'publishedBefore' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'channelId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'mine' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'home' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'publishedAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->captions = new Google_Service_YouTube_Captions_Resource( + $this, + $this->serviceName, + 'captions', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'captions', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOf' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'download' => array( + 'path' => 'captions/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'tfmt' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOf' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'tlang' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'insert' => array( + 'path' => 'captions', + 'httpMethod' => 'POST', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOf' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sync' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'list' => array( + 'path' => 'captions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'videoId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOf' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'captions', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOf' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'sync' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->channelBanners = new Google_Service_YouTube_ChannelBanners_Resource( + $this, + $this->serviceName, + 'channelBanners', + array( + 'methods' => array( + 'insert' => array( + 'path' => 'channelBanners/insert', + 'httpMethod' => 'POST', + 'parameters' => array( + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->channelSections = new Google_Service_YouTube_ChannelSections_Resource( + $this, + $this->serviceName, + 'channelSections', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'channelSections', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'insert' => array( + 'path' => 'channelSections', + 'httpMethod' => 'POST', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwnerChannel' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'channelSections', + 'httpMethod' => 'GET', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'channelId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'mine' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'hl' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'channelSections', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->channels = new Google_Service_YouTube_Channels_Resource( + $this, + $this->serviceName, + 'channels', + array( + 'methods' => array( + 'list' => array( + 'path' => 'channels', + 'httpMethod' => 'GET', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'managedByMe' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'forUsername' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'mine' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'mySubscribers' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'hl' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'categoryId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'channels', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->commentThreads = new Google_Service_YouTube_CommentThreads_Resource( + $this, + $this->serviceName, + 'commentThreads', + array( + 'methods' => array( + 'insert' => array( + 'path' => 'commentThreads', + 'httpMethod' => 'POST', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'commentThreads', + 'httpMethod' => 'GET', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'searchTerms' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'allThreadsRelatedToChannelId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'channelId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'videoId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'moderationStatus' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'textFormat' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'order' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'commentThreads', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->comments = new Google_Service_YouTube_Comments_Resource( + $this, + $this->serviceName, + 'comments', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'comments', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'comments', + 'httpMethod' => 'POST', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'comments', + 'httpMethod' => 'GET', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'parentId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'textFormat' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'markAsSpam' => array( + 'path' => 'comments/markAsSpam', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setModerationStatus' => array( + 'path' => 'comments/setModerationStatus', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'moderationStatus' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'banAuthor' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'update' => array( + 'path' => 'comments', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->guideCategories = new Google_Service_YouTube_GuideCategories_Resource( + $this, + $this->serviceName, + 'guideCategories', + array( + 'methods' => array( + 'list' => array( + 'path' => 'guideCategories', + 'httpMethod' => 'GET', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'regionCode' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'hl' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->i18nLanguages = new Google_Service_YouTube_I18nLanguages_Resource( + $this, + $this->serviceName, + 'i18nLanguages', + array( + 'methods' => array( + 'list' => array( + 'path' => 'i18nLanguages', + 'httpMethod' => 'GET', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'hl' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->i18nRegions = new Google_Service_YouTube_I18nRegions_Resource( + $this, + $this->serviceName, + 'i18nRegions', + array( + 'methods' => array( + 'list' => array( + 'path' => 'i18nRegions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'hl' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->liveBroadcasts = new Google_Service_YouTube_LiveBroadcasts_Resource( + $this, + $this->serviceName, + 'liveBroadcasts', + array( + 'methods' => array( + 'bind' => array( + 'path' => 'liveBroadcasts/bind', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwnerChannel' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'streamId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'control' => array( + 'path' => 'liveBroadcasts/control', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'displaySlate' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'onBehalfOfContentOwnerChannel' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'offsetTimeMs' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'walltime' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'delete' => array( + 'path' => 'liveBroadcasts', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwnerChannel' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'insert' => array( + 'path' => 'liveBroadcasts', + 'httpMethod' => 'POST', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwnerChannel' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'liveBroadcasts', + 'httpMethod' => 'GET', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'broadcastStatus' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwnerChannel' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'mine' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'transition' => array( + 'path' => 'liveBroadcasts/transition', + 'httpMethod' => 'POST', + 'parameters' => array( + 'broadcastStatus' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwnerChannel' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'liveBroadcasts', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwnerChannel' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->liveStreams = new Google_Service_YouTube_LiveStreams_Resource( + $this, + $this->serviceName, + 'liveStreams', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'liveStreams', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwnerChannel' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'insert' => array( + 'path' => 'liveStreams', + 'httpMethod' => 'POST', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwnerChannel' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'liveStreams', + 'httpMethod' => 'GET', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwnerChannel' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'mine' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'liveStreams', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwnerChannel' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->playlistItems = new Google_Service_YouTube_PlaylistItems_Resource( + $this, + $this->serviceName, + 'playlistItems', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'playlistItems', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'playlistItems', + 'httpMethod' => 'POST', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'playlistItems', + 'httpMethod' => 'GET', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'playlistId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'videoId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'playlistItems', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->playlists = new Google_Service_YouTube_Playlists_Resource( + $this, + $this->serviceName, + 'playlists', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'playlists', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'insert' => array( + 'path' => 'playlists', + 'httpMethod' => 'POST', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwnerChannel' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'playlists', + 'httpMethod' => 'GET', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwnerChannel' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'channelId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'mine' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'hl' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'playlists', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->search = new Google_Service_YouTube_Search_Resource( + $this, + $this->serviceName, + 'search', + array( + 'methods' => array( + 'list' => array( + 'path' => 'search', + 'httpMethod' => 'GET', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'eventType' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'channelId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'forDeveloper' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'videoSyndicated' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'channelType' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'videoCaption' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'publishedAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'forContentOwner' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'regionCode' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'location' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'locationRadius' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'videoType' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'type' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'topicId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'publishedBefore' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'videoDimension' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'videoLicense' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'relatedToVideoId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'videoDefinition' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'videoDuration' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'relevanceLanguage' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'forMine' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'q' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'safeSearch' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'videoEmbeddable' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'videoCategoryId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'order' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->subscriptions = new Google_Service_YouTube_Subscriptions_Resource( + $this, + $this->serviceName, + 'subscriptions', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'subscriptions', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'subscriptions', + 'httpMethod' => 'POST', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'subscriptions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwnerChannel' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'channelId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'mine' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'forChannelId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'mySubscribers' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'order' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->thumbnails = new Google_Service_YouTube_Thumbnails_Resource( + $this, + $this->serviceName, + 'thumbnails', + array( + 'methods' => array( + 'set' => array( + 'path' => 'thumbnails/set', + 'httpMethod' => 'POST', + 'parameters' => array( + 'videoId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->videoAbuseReportReasons = new Google_Service_YouTube_VideoAbuseReportReasons_Resource( + $this, + $this->serviceName, + 'videoAbuseReportReasons', + array( + 'methods' => array( + 'list' => array( + 'path' => 'videoAbuseReportReasons', + 'httpMethod' => 'GET', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'hl' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->videoCategories = new Google_Service_YouTube_VideoCategories_Resource( + $this, + $this->serviceName, + 'videoCategories', + array( + 'methods' => array( + 'list' => array( + 'path' => 'videoCategories', + 'httpMethod' => 'GET', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'regionCode' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'hl' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->videos = new Google_Service_YouTube_Videos_Resource( + $this, + $this->serviceName, + 'videos', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'videos', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'getRating' => array( + 'path' => 'videos/getRating', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'insert' => array( + 'path' => 'videos', + 'httpMethod' => 'POST', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'stabilize' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'onBehalfOfContentOwnerChannel' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'notifySubscribers' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'autoLevels' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'list' => array( + 'path' => 'videos', + 'httpMethod' => 'GET', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'regionCode' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'locale' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'videoCategoryId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'chart' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'hl' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'myRating' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'rate' => array( + 'path' => 'videos/rate', + 'httpMethod' => 'POST', + 'parameters' => array( + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'rating' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'reportAbuse' => array( + 'path' => 'videos/reportAbuse', + 'httpMethod' => 'POST', + 'parameters' => array( + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'update' => array( + 'path' => 'videos', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'part' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->watermarks = new Google_Service_YouTube_Watermarks_Resource( + $this, + $this->serviceName, + 'watermarks', + array( + 'methods' => array( + 'set' => array( + 'path' => 'watermarks/set', + 'httpMethod' => 'POST', + 'parameters' => array( + 'channelId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'unset' => array( + 'path' => 'watermarks/unset', + 'httpMethod' => 'POST', + 'parameters' => array( + 'channelId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "activities" collection of methods. + * Typical usage is: + * + * $youtubeService = new Google_Service_YouTube(...); + * $activities = $youtubeService->activities; + * + */ +class Google_Service_YouTube_Activities_Resource extends Google_Service_Resource +{ + + /** + * Posts a bulletin for a specific channel. (The user submitting the request + * must be authorized to act on the channel's behalf.) + * + * Note: Even though an activity resource can contain information about actions + * like a user rating a video or marking a video as a favorite, you need to use + * other API methods to generate those activity resources. For example, you + * would use the API's videos.rate() method to rate a video and the + * playlistItems.insert() method to mark a video as a favorite. + * (activities.insert) + * + * @param string $part The part parameter serves two purposes in this operation. + * It identifies the properties that the write operation will set as well as the + * properties that the API response will include. + * @param Google_Activity $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_YouTube_Activity + */ + public function insert($part, Google_Service_YouTube_Activity $postBody, $optParams = array()) + { + $params = array('part' => $part, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_YouTube_Activity"); + } + + /** + * Returns a list of channel activity events that match the request criteria. + * For example, you can retrieve events associated with a particular channel, + * events associated with the user's subscriptions and Google+ friends, or the + * YouTube home page feed, which is customized for each user. + * (activities.listActivities) + * + * @param string $part The part parameter specifies a comma-separated list of + * one or more activity resource properties that the API response will include. + * + * If the parameter identifies a property that contains child properties, the + * child properties will be included in the response. For example, in an + * activity resource, the snippet property contains other properties that + * identify the type of activity, a display title for the activity, and so + * forth. If you set part=snippet, the API response will also contain all of + * those nested properties. + * @param array $optParams Optional parameters. + * + * @opt_param string regionCode The regionCode parameter instructs the API to + * return results for the specified country. The parameter value is an ISO + * 3166-1 alpha-2 country code. YouTube uses this value when the authorized + * user's previous activity on YouTube does not provide enough information to + * generate the activity feed. + * @opt_param string publishedBefore The publishedBefore parameter specifies the + * date and time before which an activity must have occurred for that activity + * to be included in the API response. If the parameter value specifies a day, + * but not a time, then any activities that occurred that day will be excluded + * from the result set. The value is specified in ISO 8601 (YYYY-MM- + * DDThh:mm:ss.sZ) format. + * @opt_param string channelId The channelId parameter specifies a unique + * YouTube channel ID. The API will then return a list of that channel's + * activities. + * @opt_param bool mine Set this parameter's value to true to retrieve a feed of + * the authenticated user's activities. + * @opt_param string maxResults The maxResults parameter specifies the maximum + * number of items that should be returned in the result set. + * @opt_param string pageToken The pageToken parameter identifies a specific + * page in the result set that should be returned. In an API response, the + * nextPageToken and prevPageToken properties identify other pages that could be + * retrieved. + * @opt_param bool home Set this parameter's value to true to retrieve the + * activity feed that displays on the YouTube home page for the currently + * authenticated user. + * @opt_param string publishedAfter The publishedAfter parameter specifies the + * earliest date and time that an activity could have occurred for that activity + * to be included in the API response. If the parameter value specifies a day, + * but not a time, then any activities that occurred that day will be included + * in the result set. The value is specified in ISO 8601 (YYYY-MM- + * DDThh:mm:ss.sZ) format. + * @return Google_Service_YouTube_ActivityListResponse + */ + public function listActivities($part, $optParams = array()) + { + $params = array('part' => $part); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTube_ActivityListResponse"); + } +} + +/** + * The "captions" collection of methods. + * Typical usage is: + * + * $youtubeService = new Google_Service_YouTube(...); + * $captions = $youtubeService->captions; + * + */ +class Google_Service_YouTube_Captions_Resource extends Google_Service_Resource +{ + + /** + * Deletes a specified caption track. (captions.delete) + * + * @param string $id The id parameter identifies the caption track that is being + * deleted. The value is a caption track ID as identified by the id property in + * a caption resource. + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOf ID of the Google+ Page for the channel that the + * request is be on behalf of + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The actual CMS + * account that the user authenticates with must be linked to the specified + * YouTube content owner. + */ + public function delete($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Downloads a caption track. The caption track is returned in its original + * format unless the request specifies a value for the tfmt parameter and in its + * original language unless the request specifies a value for the tlang + * parameter. (captions.download) + * + * @param string $id The id parameter identifies the caption track that is being + * retrieved. The value is a caption track ID as identified by the id property + * in a caption resource. + * @param array $optParams Optional parameters. + * + * @opt_param string tfmt The tfmt parameter specifies that the caption track + * should be returned in a specific format. If the parameter is not included in + * the request, the track is returned in its original format. + * @opt_param string onBehalfOf ID of the Google+ Page for the channel that the + * request is be on behalf of + * @opt_param string tlang The tlang parameter specifies that the API response + * should return a translation of the specified caption track. The parameter + * value is an ISO 639-1 two-letter language code that identifies the desired + * caption language. The translation is generated by using machine translation, + * such as Google Translate. + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The actual CMS + * account that the user authenticates with must be linked to the specified + * YouTube content owner. + */ + public function download($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('download', array($params)); + } + + /** + * Uploads a caption track. (captions.insert) + * + * @param string $part The part parameter specifies the caption resource parts + * that the API response will include. Set the parameter value to snippet. + * @param Google_Caption $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOf ID of the Google+ Page for the channel that the + * request is be on behalf of + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The actual CMS + * account that the user authenticates with must be linked to the specified + * YouTube content owner. + * @opt_param bool sync The sync parameter indicates whether YouTube should + * automatically synchronize the caption file with the audio track of the video. + * If you set the value to true, YouTube will disregard any time codes that are + * in the uploaded caption file and generate new time codes for the captions. + * + * You should set the sync parameter to true if you are uploading a transcript, + * which has no time codes, or if you suspect the time codes in your file are + * incorrect and want YouTube to try to fix them. + * @return Google_Service_YouTube_Caption + */ + public function insert($part, Google_Service_YouTube_Caption $postBody, $optParams = array()) + { + $params = array('part' => $part, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_YouTube_Caption"); + } + + /** + * Returns a list of caption tracks that are associated with a specified video. + * Note that the API response does not contain the actual captions and that the + * captions.download method provides the ability to retrieve a caption track. + * (captions.listCaptions) + * + * @param string $part The part parameter specifies a comma-separated list of + * one or more caption resource parts that the API response will include. The + * part names that you can include in the parameter value are id and snippet. + * @param string $videoId The videoId parameter specifies the YouTube video ID + * of the video for which the API should return caption tracks. + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOf ID of the Google+ Page for the channel that the + * request is on behalf of. + * @opt_param string id The id parameter specifies a comma-separated list of IDs + * that identify the caption resources that should be retrieved. Each ID must + * identify a caption track associated with the specified video. + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The actual CMS + * account that the user authenticates with must be linked to the specified + * YouTube content owner. + * @return Google_Service_YouTube_CaptionListResponse + */ + public function listCaptions($part, $videoId, $optParams = array()) + { + $params = array('part' => $part, 'videoId' => $videoId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTube_CaptionListResponse"); + } + + /** + * Updates a caption track. When updating a caption track, you can change the + * track's draft status, upload a new caption file for the track, or both. + * (captions.update) + * + * @param string $part The part parameter serves two purposes in this operation. + * It identifies the properties that the write operation will set as well as the + * properties that the API response will include. Set the property value to + * snippet if you are updating the track's draft status. Otherwise, set the + * property value to id. + * @param Google_Caption $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOf ID of the Google+ Page for the channel that the + * request is be on behalf of + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The actual CMS + * account that the user authenticates with must be linked to the specified + * YouTube content owner. + * @opt_param bool sync Note: The API server only processes the parameter value + * if the request contains an updated caption file. + * + * The sync parameter indicates whether YouTube should automatically synchronize + * the caption file with the audio track of the video. If you set the value to + * true, YouTube will automatically synchronize the caption track with the audio + * track. + * @return Google_Service_YouTube_Caption + */ + public function update($part, Google_Service_YouTube_Caption $postBody, $optParams = array()) + { + $params = array('part' => $part, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_YouTube_Caption"); + } +} + +/** + * The "channelBanners" collection of methods. + * Typical usage is: + * + * $youtubeService = new Google_Service_YouTube(...); + * $channelBanners = $youtubeService->channelBanners; + * + */ +class Google_Service_YouTube_ChannelBanners_Resource extends Google_Service_Resource +{ + + /** + * Uploads a channel banner image to YouTube. This method represents the first + * two steps in a three-step process to update the banner image for a channel: + * + * - Call the channelBanners.insert method to upload the binary image data to + * YouTube. The image must have a 16:9 aspect ratio and be at least 2120x1192 + * pixels. - Extract the url property's value from the response that the API + * returns for step 1. - Call the channels.update method to update the channel's + * branding settings. Set the brandingSettings.image.bannerExternalUrl + * property's value to the URL obtained in step 2. (channelBanners.insert) + * + * @param Google_ChannelBannerResource $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @return Google_Service_YouTube_ChannelBannerResource + */ + public function insert(Google_Service_YouTube_ChannelBannerResource $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_YouTube_ChannelBannerResource"); + } +} + +/** + * The "channelSections" collection of methods. + * Typical usage is: + * + * $youtubeService = new Google_Service_YouTube(...); + * $channelSections = $youtubeService->channelSections; + * + */ +class Google_Service_YouTube_ChannelSections_Resource extends Google_Service_Resource +{ + + /** + * Deletes a channelSection. (channelSections.delete) + * + * @param string $id The id parameter specifies the YouTube channelSection ID + * for the resource that is being deleted. In a channelSection resource, the id + * property specifies the YouTube channelSection ID. + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + */ + public function delete($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Adds a channelSection for the authenticated user's channel. + * (channelSections.insert) + * + * @param string $part The part parameter serves two purposes in this operation. + * It identifies the properties that the write operation will set as well as the + * properties that the API response will include. + * + * The part names that you can include in the parameter value are snippet and + * contentDetails. + * @param Google_ChannelSection $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be + * used in a properly authorized request. Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID + * of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, + * and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content + * owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must + * be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage + * many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter + * value, without having to provide authentication credentials for each separate + * channel. + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @return Google_Service_YouTube_ChannelSection + */ + public function insert($part, Google_Service_YouTube_ChannelSection $postBody, $optParams = array()) + { + $params = array('part' => $part, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_YouTube_ChannelSection"); + } + + /** + * Returns channelSection resources that match the API request criteria. + * (channelSections.listChannelSections) + * + * @param string $part The part parameter specifies a comma-separated list of + * one or more channelSection resource properties that the API response will + * include. The part names that you can include in the parameter value are id, + * snippet, and contentDetails. + * + * If the parameter identifies a property that contains child properties, the + * child properties will be included in the response. For example, in a + * channelSection resource, the snippet property contains other properties, such + * as a display title for the channelSection. If you set part=snippet, the API + * response will also contain all of those nested properties. + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @opt_param string channelId The channelId parameter specifies a YouTube + * channel ID. The API will only return that channel's channelSections. + * @opt_param bool mine Set this parameter's value to true to retrieve a feed of + * the authenticated user's channelSections. + * @opt_param string hl The hl parameter indicates that the snippet.localized + * property values in the returned channelSection resources should be in the + * specified language if localized values for that language are available. For + * example, if the API request specifies hl=de, the snippet.localized properties + * in the API response will contain German titles if German titles are + * available. Channel owners can provide localized channel section titles using + * either the channelSections.insert or channelSections.update method. + * @opt_param string id The id parameter specifies a comma-separated list of the + * YouTube channelSection ID(s) for the resource(s) that are being retrieved. In + * a channelSection resource, the id property specifies the YouTube + * channelSection ID. + * @return Google_Service_YouTube_ChannelSectionListResponse + */ + public function listChannelSections($part, $optParams = array()) + { + $params = array('part' => $part); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTube_ChannelSectionListResponse"); + } + + /** + * Update a channelSection. (channelSections.update) + * + * @param string $part The part parameter serves two purposes in this operation. + * It identifies the properties that the write operation will set as well as the + * properties that the API response will include. + * + * The part names that you can include in the parameter value are snippet and + * contentDetails. + * @param Google_ChannelSection $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @return Google_Service_YouTube_ChannelSection + */ + public function update($part, Google_Service_YouTube_ChannelSection $postBody, $optParams = array()) + { + $params = array('part' => $part, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_YouTube_ChannelSection"); + } +} + +/** + * The "channels" collection of methods. + * Typical usage is: + * + * $youtubeService = new Google_Service_YouTube(...); + * $channels = $youtubeService->channels; + * + */ +class Google_Service_YouTube_Channels_Resource extends Google_Service_Resource +{ + + /** + * Returns a collection of zero or more channel resources that match the request + * criteria. (channels.listChannels) + * + * @param string $part The part parameter specifies a comma-separated list of + * one or more channel resource properties that the API response will include. + * + * If the parameter identifies a property that contains child properties, the + * child properties will be included in the response. For example, in a channel + * resource, the contentDetails property contains other properties, such as the + * uploads properties. As such, if you set part=contentDetails, the API response + * will also contain all of those nested properties. + * @param array $optParams Optional parameters. + * + * @opt_param bool managedByMe Note: This parameter is intended exclusively for + * YouTube content partners. + * + * Set this parameter's value to true to instruct the API to only return + * channels managed by the content owner that the onBehalfOfContentOwner + * parameter specifies. The user must be authenticated as a CMS account linked + * to the specified content owner and onBehalfOfContentOwner must be provided. + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @opt_param string forUsername The forUsername parameter specifies a YouTube + * username, thereby requesting the channel associated with that username. + * @opt_param bool mine Set this parameter's value to true to instruct the API + * to only return channels owned by the authenticated user. + * @opt_param string maxResults The maxResults parameter specifies the maximum + * number of items that should be returned in the result set. + * @opt_param string id The id parameter specifies a comma-separated list of the + * YouTube channel ID(s) for the resource(s) that are being retrieved. In a + * channel resource, the id property specifies the channel's YouTube channel ID. + * @opt_param string pageToken The pageToken parameter identifies a specific + * page in the result set that should be returned. In an API response, the + * nextPageToken and prevPageToken properties identify other pages that could be + * retrieved. + * @opt_param bool mySubscribers Use the subscriptions.list method and its + * mySubscribers parameter to retrieve a list of subscribers to the + * authenticated user's channel. + * @opt_param string hl The hl parameter should be used for filter out the + * properties that are not in the given language. Used for the brandingSettings + * part. + * @opt_param string categoryId The categoryId parameter specifies a YouTube + * guide category, thereby requesting YouTube channels associated with that + * category. + * @return Google_Service_YouTube_ChannelListResponse + */ + public function listChannels($part, $optParams = array()) + { + $params = array('part' => $part); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTube_ChannelListResponse"); + } + + /** + * Updates a channel's metadata. Note that this method currently only supports + * updates to the channel resource's brandingSettings and invideoPromotion + * objects and their child properties. (channels.update) + * + * @param string $part The part parameter serves two purposes in this operation. + * It identifies the properties that the write operation will set as well as the + * properties that the API response will include. + * + * The API currently only allows the parameter value to be set to either + * brandingSettings or invideoPromotion. (You cannot update both of those parts + * with a single request.) + * + * Note that this method overrides the existing values for all of the mutable + * properties that are contained in any parts that the parameter value + * specifies. + * @param Google_Channel $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner The onBehalfOfContentOwner parameter + * indicates that the authenticated user is acting on behalf of the content + * owner specified in the parameter value. This parameter is intended for + * YouTube content partners that own and manage many different YouTube channels. + * It allows content owners to authenticate once and get access to all their + * video and channel data, without having to provide authentication credentials + * for each individual channel. The actual CMS account that the user + * authenticates with needs to be linked to the specified YouTube content owner. + * @return Google_Service_YouTube_Channel + */ + public function update($part, Google_Service_YouTube_Channel $postBody, $optParams = array()) + { + $params = array('part' => $part, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_YouTube_Channel"); + } +} + +/** + * The "commentThreads" collection of methods. + * Typical usage is: + * + * $youtubeService = new Google_Service_YouTube(...); + * $commentThreads = $youtubeService->commentThreads; + * + */ +class Google_Service_YouTube_CommentThreads_Resource extends Google_Service_Resource +{ + + /** + * Creates a new top-level comment. To add a reply to an existing comment, use + * the comments.insert method instead. (commentThreads.insert) + * + * @param string $part The part parameter identifies the properties that the API + * response will include. Set the parameter value to snippet. The snippet part + * has a quota cost of 2 units. + * @param Google_CommentThread $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_YouTube_CommentThread + */ + public function insert($part, Google_Service_YouTube_CommentThread $postBody, $optParams = array()) + { + $params = array('part' => $part, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_YouTube_CommentThread"); + } + + /** + * Returns a list of comment threads that match the API request parameters. + * (commentThreads.listCommentThreads) + * + * @param string $part The part parameter specifies a comma-separated list of + * one or more commentThread resource properties that the API response will + * include. + * @param array $optParams Optional parameters. + * + * @opt_param string searchTerms The searchTerms parameter instructs the API to + * limit the API response to only contain comments that contain the specified + * search terms. + * + * Note: This parameter is not supported for use in conjunction with the id + * parameter. + * @opt_param string allThreadsRelatedToChannelId The + * allThreadsRelatedToChannelId parameter instructs the API to return all + * comment threads associated with the specified channel. The response can + * include comments about the channel or about the channel's videos. + * @opt_param string channelId The channelId parameter instructs the API to + * return comment threads containing comments about the specified channel. (The + * response will not include comments left on videos that the channel uploaded.) + * @opt_param string videoId The videoId parameter instructs the API to return + * comment threads associated with the specified video ID. + * @opt_param string maxResults The maxResults parameter specifies the maximum + * number of items that should be returned in the result set. + * + * Note: This parameter is not supported for use in conjunction with the id + * parameter. + * @opt_param string id The id parameter specifies a comma-separated list of + * comment thread IDs for the resources that should be retrieved. + * @opt_param string pageToken The pageToken parameter identifies a specific + * page in the result set that should be returned. In an API response, the + * nextPageToken property identifies the next page of the result that can be + * retrieved. + * + * Note: This parameter is not supported for use in conjunction with the id + * parameter. + * @opt_param string moderationStatus Set this parameter to limit the returned + * comment threads to a particular moderation state. + * + * Note: This parameter is not supported for use in conjunction with the id + * parameter. + * @opt_param string textFormat Set this parameter's value to html or plainText + * to instruct the API to return the comments left by users in html formatted or + * in plain text. + * @opt_param string order The order parameter specifies the order in which the + * API response should list comment threads. Valid values are: - time - Comment + * threads are ordered by time. This is the default behavior. - relevance - + * Comment threads are ordered by relevance.Note: This parameter is not + * supported for use in conjunction with the id parameter. + * @return Google_Service_YouTube_CommentThreadListResponse + */ + public function listCommentThreads($part, $optParams = array()) + { + $params = array('part' => $part); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTube_CommentThreadListResponse"); + } + + /** + * Modifies the top-level comment in a comment thread. (commentThreads.update) + * + * @param string $part The part parameter specifies a comma-separated list of + * commentThread resource properties that the API response will include. You + * must at least include the snippet part in the parameter value since that part + * contains all of the properties that the API request can update. + * @param Google_CommentThread $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_YouTube_CommentThread + */ + public function update($part, Google_Service_YouTube_CommentThread $postBody, $optParams = array()) + { + $params = array('part' => $part, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_YouTube_CommentThread"); + } +} + +/** + * The "comments" collection of methods. + * Typical usage is: + * + * $youtubeService = new Google_Service_YouTube(...); + * $comments = $youtubeService->comments; + * + */ +class Google_Service_YouTube_Comments_Resource extends Google_Service_Resource +{ + + /** + * Deletes a comment. (comments.delete) + * + * @param string $id The id parameter specifies the comment ID for the resource + * that is being deleted. + * @param array $optParams Optional parameters. + */ + public function delete($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Creates a reply to an existing comment. Note: To create a top-level comment, + * use the commentThreads.insert method. (comments.insert) + * + * @param string $part The part parameter identifies the properties that the API + * response will include. Set the parameter value to snippet. The snippet part + * has a quota cost of 2 units. + * @param Google_Comment $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_YouTube_Comment + */ + public function insert($part, Google_Service_YouTube_Comment $postBody, $optParams = array()) + { + $params = array('part' => $part, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_YouTube_Comment"); + } + + /** + * Returns a list of comments that match the API request parameters. + * (comments.listComments) + * + * @param string $part The part parameter specifies a comma-separated list of + * one or more comment resource properties that the API response will include. + * @param array $optParams Optional parameters. + * + * @opt_param string maxResults The maxResults parameter specifies the maximum + * number of items that should be returned in the result set. + * + * Note: This parameter is not supported for use in conjunction with the id + * parameter. + * @opt_param string pageToken The pageToken parameter identifies a specific + * page in the result set that should be returned. In an API response, the + * nextPageToken property identifies the next page of the result that can be + * retrieved. + * + * Note: This parameter is not supported for use in conjunction with the id + * parameter. + * @opt_param string parentId The parentId parameter specifies the ID of the + * comment for which replies should be retrieved. + * + * Note: YouTube currently supports replies only for top-level comments. + * However, replies to replies may be supported in the future. + * @opt_param string textFormat This parameter indicates whether the API should + * return comments formatted as HTML or as plain text. + * @opt_param string id The id parameter specifies a comma-separated list of + * comment IDs for the resources that are being retrieved. In a comment + * resource, the id property specifies the comment's ID. + * @return Google_Service_YouTube_CommentListResponse + */ + public function listComments($part, $optParams = array()) + { + $params = array('part' => $part); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTube_CommentListResponse"); + } + + /** + * Expresses the caller's opinion that one or more comments should be flagged as + * spam. (comments.markAsSpam) + * + * @param string $id The id parameter specifies a comma-separated list of IDs of + * comments that the caller believes should be classified as spam. + * @param array $optParams Optional parameters. + */ + public function markAsSpam($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('markAsSpam', array($params)); + } + + /** + * Sets the moderation status of one or more comments. The API request must be + * authorized by the owner of the channel or video associated with the comments. + * (comments.setModerationStatus) + * + * @param string $id The id parameter specifies a comma-separated list of IDs + * that identify the comments for which you are updating the moderation status. + * @param string $moderationStatus Identifies the new moderation status of the + * specified comments. + * @param array $optParams Optional parameters. + * + * @opt_param bool banAuthor The banAuthor parameter lets you indicate that you + * want to automatically reject any additional comments written by the comment's + * author. Set the parameter value to true to ban the author. + * + * Note: This parameter is only valid if the moderationStatus parameter is also + * set to rejected. + */ + public function setModerationStatus($id, $moderationStatus, $optParams = array()) + { + $params = array('id' => $id, 'moderationStatus' => $moderationStatus); + $params = array_merge($params, $optParams); + return $this->call('setModerationStatus', array($params)); + } + + /** + * Modifies a comment. (comments.update) + * + * @param string $part The part parameter identifies the properties that the API + * response will include. You must at least include the snippet part in the + * parameter value since that part contains all of the properties that the API + * request can update. + * @param Google_Comment $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_YouTube_Comment + */ + public function update($part, Google_Service_YouTube_Comment $postBody, $optParams = array()) + { + $params = array('part' => $part, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_YouTube_Comment"); + } +} + +/** + * The "guideCategories" collection of methods. + * Typical usage is: + * + * $youtubeService = new Google_Service_YouTube(...); + * $guideCategories = $youtubeService->guideCategories; + * + */ +class Google_Service_YouTube_GuideCategories_Resource extends Google_Service_Resource +{ + + /** + * Returns a list of categories that can be associated with YouTube channels. + * (guideCategories.listGuideCategories) + * + * @param string $part The part parameter specifies the guideCategory resource + * properties that the API response will include. Set the parameter value to + * snippet. + * @param array $optParams Optional parameters. + * + * @opt_param string regionCode The regionCode parameter instructs the API to + * return the list of guide categories available in the specified country. The + * parameter value is an ISO 3166-1 alpha-2 country code. + * @opt_param string id The id parameter specifies a comma-separated list of the + * YouTube channel category ID(s) for the resource(s) that are being retrieved. + * In a guideCategory resource, the id property specifies the YouTube channel + * category ID. + * @opt_param string hl The hl parameter specifies the language that will be + * used for text values in the API response. + * @return Google_Service_YouTube_GuideCategoryListResponse + */ + public function listGuideCategories($part, $optParams = array()) + { + $params = array('part' => $part); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTube_GuideCategoryListResponse"); + } +} + +/** + * The "i18nLanguages" collection of methods. + * Typical usage is: + * + * $youtubeService = new Google_Service_YouTube(...); + * $i18nLanguages = $youtubeService->i18nLanguages; + * + */ +class Google_Service_YouTube_I18nLanguages_Resource extends Google_Service_Resource +{ + + /** + * Returns a list of application languages that the YouTube website supports. + * (i18nLanguages.listI18nLanguages) + * + * @param string $part The part parameter specifies the i18nLanguage resource + * properties that the API response will include. Set the parameter value to + * snippet. + * @param array $optParams Optional parameters. + * + * @opt_param string hl The hl parameter specifies the language that should be + * used for text values in the API response. + * @return Google_Service_YouTube_I18nLanguageListResponse + */ + public function listI18nLanguages($part, $optParams = array()) + { + $params = array('part' => $part); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTube_I18nLanguageListResponse"); + } +} + +/** + * The "i18nRegions" collection of methods. + * Typical usage is: + * + * $youtubeService = new Google_Service_YouTube(...); + * $i18nRegions = $youtubeService->i18nRegions; + * + */ +class Google_Service_YouTube_I18nRegions_Resource extends Google_Service_Resource +{ + + /** + * Returns a list of content regions that the YouTube website supports. + * (i18nRegions.listI18nRegions) + * + * @param string $part The part parameter specifies the i18nRegion resource + * properties that the API response will include. Set the parameter value to + * snippet. + * @param array $optParams Optional parameters. + * + * @opt_param string hl The hl parameter specifies the language that should be + * used for text values in the API response. + * @return Google_Service_YouTube_I18nRegionListResponse + */ + public function listI18nRegions($part, $optParams = array()) + { + $params = array('part' => $part); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTube_I18nRegionListResponse"); + } +} + +/** + * The "liveBroadcasts" collection of methods. + * Typical usage is: + * + * $youtubeService = new Google_Service_YouTube(...); + * $liveBroadcasts = $youtubeService->liveBroadcasts; + * + */ +class Google_Service_YouTube_LiveBroadcasts_Resource extends Google_Service_Resource +{ + + /** + * Binds a YouTube broadcast to a stream or removes an existing binding between + * a broadcast and a stream. A broadcast can only be bound to one video stream, + * though a video stream may be bound to more than one broadcast. + * (liveBroadcasts.bind) + * + * @param string $id The id parameter specifies the unique ID of the broadcast + * that is being bound to a video stream. + * @param string $part The part parameter specifies a comma-separated list of + * one or more liveBroadcast resource properties that the API response will + * include. The part names that you can include in the parameter value are id, + * snippet, contentDetails, and status. + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be + * used in a properly authorized request. Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID + * of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, + * and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content + * owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must + * be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage + * many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter + * value, without having to provide authentication credentials for each separate + * channel. + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @opt_param string streamId The streamId parameter specifies the unique ID of + * the video stream that is being bound to a broadcast. If this parameter is + * omitted, the API will remove any existing binding between the broadcast and a + * video stream. + * @return Google_Service_YouTube_LiveBroadcast + */ + public function bind($id, $part, $optParams = array()) + { + $params = array('id' => $id, 'part' => $part); + $params = array_merge($params, $optParams); + return $this->call('bind', array($params), "Google_Service_YouTube_LiveBroadcast"); + } + + /** + * Controls the settings for a slate that can be displayed in the broadcast + * stream. (liveBroadcasts.control) + * + * @param string $id The id parameter specifies the YouTube live broadcast ID + * that uniquely identifies the broadcast in which the slate is being updated. + * @param string $part The part parameter specifies a comma-separated list of + * one or more liveBroadcast resource properties that the API response will + * include. The part names that you can include in the parameter value are id, + * snippet, contentDetails, and status. + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @opt_param bool displaySlate The displaySlate parameter specifies whether the + * slate is being enabled or disabled. + * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be + * used in a properly authorized request. Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID + * of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, + * and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content + * owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must + * be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage + * many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter + * value, without having to provide authentication credentials for each separate + * channel. + * @opt_param string offsetTimeMs The offsetTimeMs parameter specifies a + * positive time offset when the specified slate change will occur. The value is + * measured in milliseconds from the beginning of the broadcast's monitor + * stream, which is the time that the testing phase for the broadcast began. + * Even though it is specified in milliseconds, the value is actually an + * approximation, and YouTube completes the requested action as closely as + * possible to that time. + * + * If you do not specify a value for this parameter, then YouTube performs the + * action as soon as possible. See the Getting started guide for more details. + * + * Important: You should only specify a value for this parameter if your + * broadcast stream is delayed. + * @opt_param string walltime The walltime parameter specifies the wall clock + * time at which the specified slate change will occur. The value is specified + * in ISO 8601 (YYYY-MM-DDThh:mm:ss.sssZ) format. + * @return Google_Service_YouTube_LiveBroadcast + */ + public function control($id, $part, $optParams = array()) + { + $params = array('id' => $id, 'part' => $part); + $params = array_merge($params, $optParams); + return $this->call('control', array($params), "Google_Service_YouTube_LiveBroadcast"); + } + + /** + * Deletes a broadcast. (liveBroadcasts.delete) + * + * @param string $id The id parameter specifies the YouTube live broadcast ID + * for the resource that is being deleted. + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be + * used in a properly authorized request. Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID + * of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, + * and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content + * owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must + * be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage + * many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter + * value, without having to provide authentication credentials for each separate + * channel. + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + */ + public function delete($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Creates a broadcast. (liveBroadcasts.insert) + * + * @param string $part The part parameter serves two purposes in this operation. + * It identifies the properties that the write operation will set as well as the + * properties that the API response will include. + * + * The part properties that you can include in the parameter value are id, + * snippet, contentDetails, and status. + * @param Google_LiveBroadcast $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be + * used in a properly authorized request. Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID + * of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, + * and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content + * owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must + * be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage + * many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter + * value, without having to provide authentication credentials for each separate + * channel. + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @return Google_Service_YouTube_LiveBroadcast + */ + public function insert($part, Google_Service_YouTube_LiveBroadcast $postBody, $optParams = array()) + { + $params = array('part' => $part, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_YouTube_LiveBroadcast"); + } + + /** + * Returns a list of YouTube broadcasts that match the API request parameters. + * (liveBroadcasts.listLiveBroadcasts) + * + * @param string $part The part parameter specifies a comma-separated list of + * one or more liveBroadcast resource properties that the API response will + * include. The part names that you can include in the parameter value are id, + * snippet, contentDetails, and status. + * @param array $optParams Optional parameters. + * + * @opt_param string broadcastStatus The broadcastStatus parameter filters the + * API response to only include broadcasts with the specified status. + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be + * used in a properly authorized request. Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID + * of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, + * and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content + * owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must + * be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage + * many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter + * value, without having to provide authentication credentials for each separate + * channel. + * @opt_param bool mine The mine parameter can be used to instruct the API to + * only return broadcasts owned by the authenticated user. Set the parameter + * value to true to only retrieve your own broadcasts. + * @opt_param string maxResults The maxResults parameter specifies the maximum + * number of items that should be returned in the result set. + * @opt_param string pageToken The pageToken parameter identifies a specific + * page in the result set that should be returned. In an API response, the + * nextPageToken and prevPageToken properties identify other pages that could be + * retrieved. + * @opt_param string id The id parameter specifies a comma-separated list of + * YouTube broadcast IDs that identify the broadcasts being retrieved. In a + * liveBroadcast resource, the id property specifies the broadcast's ID. + * @return Google_Service_YouTube_LiveBroadcastListResponse + */ + public function listLiveBroadcasts($part, $optParams = array()) + { + $params = array('part' => $part); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTube_LiveBroadcastListResponse"); + } + + /** + * Changes the status of a YouTube live broadcast and initiates any processes + * associated with the new status. For example, when you transition a + * broadcast's status to testing, YouTube starts to transmit video to that + * broadcast's monitor stream. Before calling this method, you should confirm + * that the value of the status.streamStatus property for the stream bound to + * your broadcast is active. (liveBroadcasts.transition) + * + * @param string $broadcastStatus The broadcastStatus parameter identifies the + * state to which the broadcast is changing. Note that to transition a broadcast + * to either the testing or live state, the status.streamStatus must be active + * for the stream that the broadcast is bound to. + * @param string $id The id parameter specifies the unique ID of the broadcast + * that is transitioning to another status. + * @param string $part The part parameter specifies a comma-separated list of + * one or more liveBroadcast resource properties that the API response will + * include. The part names that you can include in the parameter value are id, + * snippet, contentDetails, and status. + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be + * used in a properly authorized request. Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID + * of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, + * and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content + * owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must + * be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage + * many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter + * value, without having to provide authentication credentials for each separate + * channel. + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @return Google_Service_YouTube_LiveBroadcast + */ + public function transition($broadcastStatus, $id, $part, $optParams = array()) + { + $params = array('broadcastStatus' => $broadcastStatus, 'id' => $id, 'part' => $part); + $params = array_merge($params, $optParams); + return $this->call('transition', array($params), "Google_Service_YouTube_LiveBroadcast"); + } + + /** + * Updates a broadcast. For example, you could modify the broadcast settings + * defined in the liveBroadcast resource's contentDetails object. + * (liveBroadcasts.update) + * + * @param string $part The part parameter serves two purposes in this operation. + * It identifies the properties that the write operation will set as well as the + * properties that the API response will include. + * + * The part properties that you can include in the parameter value are id, + * snippet, contentDetails, and status. + * + * Note that this method will override the existing values for all of the + * mutable properties that are contained in any parts that the parameter value + * specifies. For example, a broadcast's privacy status is defined in the status + * part. As such, if your request is updating a private or unlisted broadcast, + * and the request's part parameter value includes the status part, the + * broadcast's privacy setting will be updated to whatever value the request + * body specifies. If the request body does not specify a value, the existing + * privacy setting will be removed and the broadcast will revert to the default + * privacy setting. + * @param Google_LiveBroadcast $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be + * used in a properly authorized request. Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID + * of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, + * and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content + * owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must + * be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage + * many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter + * value, without having to provide authentication credentials for each separate + * channel. + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @return Google_Service_YouTube_LiveBroadcast + */ + public function update($part, Google_Service_YouTube_LiveBroadcast $postBody, $optParams = array()) + { + $params = array('part' => $part, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_YouTube_LiveBroadcast"); + } +} + +/** + * The "liveStreams" collection of methods. + * Typical usage is: + * + * $youtubeService = new Google_Service_YouTube(...); + * $liveStreams = $youtubeService->liveStreams; + * + */ +class Google_Service_YouTube_LiveStreams_Resource extends Google_Service_Resource +{ + + /** + * Deletes a video stream. (liveStreams.delete) + * + * @param string $id The id parameter specifies the YouTube live stream ID for + * the resource that is being deleted. + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be + * used in a properly authorized request. Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID + * of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, + * and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content + * owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must + * be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage + * many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter + * value, without having to provide authentication credentials for each separate + * channel. + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + */ + public function delete($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Creates a video stream. The stream enables you to send your video to YouTube, + * which can then broadcast the video to your audience. (liveStreams.insert) + * + * @param string $part The part parameter serves two purposes in this operation. + * It identifies the properties that the write operation will set as well as the + * properties that the API response will include. + * + * The part properties that you can include in the parameter value are id, + * snippet, cdn, and status. + * @param Google_LiveStream $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be + * used in a properly authorized request. Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID + * of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, + * and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content + * owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must + * be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage + * many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter + * value, without having to provide authentication credentials for each separate + * channel. + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @return Google_Service_YouTube_LiveStream + */ + public function insert($part, Google_Service_YouTube_LiveStream $postBody, $optParams = array()) + { + $params = array('part' => $part, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_YouTube_LiveStream"); + } + + /** + * Returns a list of video streams that match the API request parameters. + * (liveStreams.listLiveStreams) + * + * @param string $part The part parameter specifies a comma-separated list of + * one or more liveStream resource properties that the API response will + * include. The part names that you can include in the parameter value are id, + * snippet, cdn, and status. + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be + * used in a properly authorized request. Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID + * of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, + * and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content + * owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must + * be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage + * many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter + * value, without having to provide authentication credentials for each separate + * channel. + * @opt_param bool mine The mine parameter can be used to instruct the API to + * only return streams owned by the authenticated user. Set the parameter value + * to true to only retrieve your own streams. + * @opt_param string maxResults The maxResults parameter specifies the maximum + * number of items that should be returned in the result set. + * @opt_param string pageToken The pageToken parameter identifies a specific + * page in the result set that should be returned. In an API response, the + * nextPageToken and prevPageToken properties identify other pages that could be + * retrieved. + * @opt_param string id The id parameter specifies a comma-separated list of + * YouTube stream IDs that identify the streams being retrieved. In a liveStream + * resource, the id property specifies the stream's ID. + * @return Google_Service_YouTube_LiveStreamListResponse + */ + public function listLiveStreams($part, $optParams = array()) + { + $params = array('part' => $part); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTube_LiveStreamListResponse"); + } + + /** + * Updates a video stream. If the properties that you want to change cannot be + * updated, then you need to create a new stream with the proper settings. + * (liveStreams.update) + * + * @param string $part The part parameter serves two purposes in this operation. + * It identifies the properties that the write operation will set as well as the + * properties that the API response will include. + * + * The part properties that you can include in the parameter value are id, + * snippet, cdn, and status. + * + * Note that this method will override the existing values for all of the + * mutable properties that are contained in any parts that the parameter value + * specifies. If the request body does not specify a value for a mutable + * property, the existing value for that property will be removed. + * @param Google_LiveStream $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be + * used in a properly authorized request. Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID + * of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, + * and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content + * owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must + * be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage + * many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter + * value, without having to provide authentication credentials for each separate + * channel. + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @return Google_Service_YouTube_LiveStream + */ + public function update($part, Google_Service_YouTube_LiveStream $postBody, $optParams = array()) + { + $params = array('part' => $part, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_YouTube_LiveStream"); + } +} + +/** + * The "playlistItems" collection of methods. + * Typical usage is: + * + * $youtubeService = new Google_Service_YouTube(...); + * $playlistItems = $youtubeService->playlistItems; + * + */ +class Google_Service_YouTube_PlaylistItems_Resource extends Google_Service_Resource +{ + + /** + * Deletes a playlist item. (playlistItems.delete) + * + * @param string $id The id parameter specifies the YouTube playlist item ID for + * the playlist item that is being deleted. In a playlistItem resource, the id + * property specifies the playlist item's ID. + * @param array $optParams Optional parameters. + */ + public function delete($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Adds a resource to a playlist. (playlistItems.insert) + * + * @param string $part The part parameter serves two purposes in this operation. + * It identifies the properties that the write operation will set as well as the + * properties that the API response will include. + * @param Google_PlaylistItem $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @return Google_Service_YouTube_PlaylistItem + */ + public function insert($part, Google_Service_YouTube_PlaylistItem $postBody, $optParams = array()) + { + $params = array('part' => $part, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_YouTube_PlaylistItem"); + } + + /** + * Returns a collection of playlist items that match the API request parameters. + * You can retrieve all of the playlist items in a specified playlist or + * retrieve one or more playlist items by their unique IDs. + * (playlistItems.listPlaylistItems) + * + * @param string $part The part parameter specifies a comma-separated list of + * one or more playlistItem resource properties that the API response will + * include. + * + * If the parameter identifies a property that contains child properties, the + * child properties will be included in the response. For example, in a + * playlistItem resource, the snippet property contains numerous fields, + * including the title, description, position, and resourceId properties. As + * such, if you set part=snippet, the API response will contain all of those + * properties. + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @opt_param string playlistId The playlistId parameter specifies the unique ID + * of the playlist for which you want to retrieve playlist items. Note that even + * though this is an optional parameter, every request to retrieve playlist + * items must specify a value for either the id parameter or the playlistId + * parameter. + * @opt_param string videoId The videoId parameter specifies that the request + * should return only the playlist items that contain the specified video. + * @opt_param string maxResults The maxResults parameter specifies the maximum + * number of items that should be returned in the result set. + * @opt_param string pageToken The pageToken parameter identifies a specific + * page in the result set that should be returned. In an API response, the + * nextPageToken and prevPageToken properties identify other pages that could be + * retrieved. + * @opt_param string id The id parameter specifies a comma-separated list of one + * or more unique playlist item IDs. + * @return Google_Service_YouTube_PlaylistItemListResponse + */ + public function listPlaylistItems($part, $optParams = array()) + { + $params = array('part' => $part); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTube_PlaylistItemListResponse"); + } + + /** + * Modifies a playlist item. For example, you could update the item's position + * in the playlist. (playlistItems.update) + * + * @param string $part The part parameter serves two purposes in this operation. + * It identifies the properties that the write operation will set as well as the + * properties that the API response will include. + * + * Note that this method will override the existing values for all of the + * mutable properties that are contained in any parts that the parameter value + * specifies. For example, a playlist item can specify a start time and end + * time, which identify the times portion of the video that should play when + * users watch the video in the playlist. If your request is updating a playlist + * item that sets these values, and the request's part parameter value includes + * the contentDetails part, the playlist item's start and end times will be + * updated to whatever value the request body specifies. If the request body + * does not specify values, the existing start and end times will be removed and + * replaced with the default settings. + * @param Google_PlaylistItem $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_YouTube_PlaylistItem + */ + public function update($part, Google_Service_YouTube_PlaylistItem $postBody, $optParams = array()) + { + $params = array('part' => $part, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_YouTube_PlaylistItem"); + } +} + +/** + * The "playlists" collection of methods. + * Typical usage is: + * + * $youtubeService = new Google_Service_YouTube(...); + * $playlists = $youtubeService->playlists; + * + */ +class Google_Service_YouTube_Playlists_Resource extends Google_Service_Resource +{ + + /** + * Deletes a playlist. (playlists.delete) + * + * @param string $id The id parameter specifies the YouTube playlist ID for the + * playlist that is being deleted. In a playlist resource, the id property + * specifies the playlist's ID. + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + */ + public function delete($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Creates a playlist. (playlists.insert) + * + * @param string $part The part parameter serves two purposes in this operation. + * It identifies the properties that the write operation will set as well as the + * properties that the API response will include. + * @param Google_Playlist $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be + * used in a properly authorized request. Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID + * of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, + * and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content + * owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must + * be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage + * many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter + * value, without having to provide authentication credentials for each separate + * channel. + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @return Google_Service_YouTube_Playlist + */ + public function insert($part, Google_Service_YouTube_Playlist $postBody, $optParams = array()) + { + $params = array('part' => $part, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_YouTube_Playlist"); + } + + /** + * Returns a collection of playlists that match the API request parameters. For + * example, you can retrieve all playlists that the authenticated user owns, or + * you can retrieve one or more playlists by their unique IDs. + * (playlists.listPlaylists) + * + * @param string $part The part parameter specifies a comma-separated list of + * one or more playlist resource properties that the API response will include. + * + * If the parameter identifies a property that contains child properties, the + * child properties will be included in the response. For example, in a playlist + * resource, the snippet property contains properties like author, title, + * description, tags, and timeCreated. As such, if you set part=snippet, the API + * response will contain all of those properties. + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be + * used in a properly authorized request. Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID + * of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, + * and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content + * owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must + * be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage + * many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter + * value, without having to provide authentication credentials for each separate + * channel. + * @opt_param string channelId This value indicates that the API should only + * return the specified channel's playlists. + * @opt_param bool mine Set this parameter's value to true to instruct the API + * to only return playlists owned by the authenticated user. + * @opt_param string maxResults The maxResults parameter specifies the maximum + * number of items that should be returned in the result set. + * @opt_param string pageToken The pageToken parameter identifies a specific + * page in the result set that should be returned. In an API response, the + * nextPageToken and prevPageToken properties identify other pages that could be + * retrieved. + * @opt_param string hl The hl parameter should be used for filter out the + * properties that are not in the given language. Used for the snippet part. + * @opt_param string id The id parameter specifies a comma-separated list of the + * YouTube playlist ID(s) for the resource(s) that are being retrieved. In a + * playlist resource, the id property specifies the playlist's YouTube playlist + * ID. + * @return Google_Service_YouTube_PlaylistListResponse + */ + public function listPlaylists($part, $optParams = array()) + { + $params = array('part' => $part); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTube_PlaylistListResponse"); + } + + /** + * Modifies a playlist. For example, you could change a playlist's title, + * description, or privacy status. (playlists.update) + * + * @param string $part The part parameter serves two purposes in this operation. + * It identifies the properties that the write operation will set as well as the + * properties that the API response will include. + * + * Note that this method will override the existing values for mutable + * properties that are contained in any parts that the request body specifies. + * For example, a playlist's description is contained in the snippet part, which + * must be included in the request body. If the request does not specify a value + * for the snippet.description property, the playlist's existing description + * will be deleted. + * @param Google_Playlist $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @return Google_Service_YouTube_Playlist + */ + public function update($part, Google_Service_YouTube_Playlist $postBody, $optParams = array()) + { + $params = array('part' => $part, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_YouTube_Playlist"); + } +} + +/** + * The "search" collection of methods. + * Typical usage is: + * + * $youtubeService = new Google_Service_YouTube(...); + * $search = $youtubeService->search; + * + */ +class Google_Service_YouTube_Search_Resource extends Google_Service_Resource +{ + + /** + * Returns a collection of search results that match the query parameters + * specified in the API request. By default, a search result set identifies + * matching video, channel, and playlist resources, but you can also configure + * queries to only retrieve a specific type of resource. (search.listSearch) + * + * @param string $part The part parameter specifies a comma-separated list of + * one or more search resource properties that the API response will include. + * Set the parameter value to snippet. + * @param array $optParams Optional parameters. + * + * @opt_param string eventType The eventType parameter restricts a search to + * broadcast events. If you specify a value for this parameter, you must also + * set the type parameter's value to video. + * @opt_param string channelId The channelId parameter indicates that the API + * response should only contain resources created by the channel + * @opt_param bool forDeveloper The forDeveloper parameter restricts the search + * to only retrieve videos uploaded via the developer's application or website. + * The API server uses the request's authorization credentials to identify the + * developer. Therefore, a developer can restrict results to videos uploaded + * through the developer's own app or website but not to videos uploaded through + * other apps or sites. + * @opt_param string videoSyndicated The videoSyndicated parameter lets you to + * restrict a search to only videos that can be played outside youtube.com. If + * you specify a value for this parameter, you must also set the type + * parameter's value to video. + * @opt_param string channelType The channelType parameter lets you restrict a + * search to a particular type of channel. + * @opt_param string videoCaption The videoCaption parameter indicates whether + * the API should filter video search results based on whether they have + * captions. If you specify a value for this parameter, you must also set the + * type parameter's value to video. + * @opt_param string publishedAfter The publishedAfter parameter indicates that + * the API response should only contain resources created after the specified + * time. The value is an RFC 3339 formatted date-time value + * (1970-01-01T00:00:00Z). + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @opt_param string pageToken The pageToken parameter identifies a specific + * page in the result set that should be returned. In an API response, the + * nextPageToken and prevPageToken properties identify other pages that could be + * retrieved. + * @opt_param bool forContentOwner Note: This parameter is intended exclusively + * for YouTube content partners. + * + * The forContentOwner parameter restricts the search to only retrieve resources + * owned by the content owner specified by the onBehalfOfContentOwner parameter. + * The user must be authenticated using a CMS account linked to the specified + * content owner and onBehalfOfContentOwner must be provided. + * @opt_param string regionCode The regionCode parameter instructs the API to + * return search results for the specified country. The parameter value is an + * ISO 3166-1 alpha-2 country code. + * @opt_param string location The location parameter, in conjunction with the + * locationRadius parameter, defines a circular geographic area and also + * restricts a search to videos that specify, in their metadata, a geographic + * location that falls within that area. The parameter value is a string that + * specifies latitude/longitude coordinates e.g. (37.42307,-122.08427). + * + * - The location parameter value identifies the point at the center of the + * area. - The locationRadius parameter specifies the maximum distance that the + * location associated with a video can be from that point for the video to + * still be included in the search results.The API returns an error if your + * request specifies a value for the location parameter but does not also + * specify a value for the locationRadius parameter. + * @opt_param string locationRadius The locationRadius parameter, in conjunction + * with the location parameter, defines a circular geographic area. + * + * The parameter value must be a floating point number followed by a measurement + * unit. Valid measurement units are m, km, ft, and mi. For example, valid + * parameter values include 1500m, 5km, 10000ft, and 0.75mi. The API does not + * support locationRadius parameter values larger than 1000 kilometers. + * + * Note: See the definition of the location parameter for more information. + * @opt_param string videoType The videoType parameter lets you restrict a + * search to a particular type of videos. If you specify a value for this + * parameter, you must also set the type parameter's value to video. + * @opt_param string type The type parameter restricts a search query to only + * retrieve a particular type of resource. The value is a comma-separated list + * of resource types. + * @opt_param string topicId The topicId parameter indicates that the API + * response should only contain resources associated with the specified topic. + * The value identifies a Freebase topic ID. + * @opt_param string publishedBefore The publishedBefore parameter indicates + * that the API response should only contain resources created before the + * specified time. The value is an RFC 3339 formatted date-time value + * (1970-01-01T00:00:00Z). + * @opt_param string videoDimension The videoDimension parameter lets you + * restrict a search to only retrieve 2D or 3D videos. If you specify a value + * for this parameter, you must also set the type parameter's value to video. + * @opt_param string videoLicense The videoLicense parameter filters search + * results to only include videos with a particular license. YouTube lets video + * uploaders choose to attach either the Creative Commons license or the + * standard YouTube license to each of their videos. If you specify a value for + * this parameter, you must also set the type parameter's value to video. + * @opt_param string maxResults The maxResults parameter specifies the maximum + * number of items that should be returned in the result set. + * @opt_param string relatedToVideoId The relatedToVideoId parameter retrieves a + * list of videos that are related to the video that the parameter value + * identifies. The parameter value must be set to a YouTube video ID and, if you + * are using this parameter, the type parameter must be set to video. + * @opt_param string videoDefinition The videoDefinition parameter lets you + * restrict a search to only include either high definition (HD) or standard + * definition (SD) videos. HD videos are available for playback in at least + * 720p, though higher resolutions, like 1080p, might also be available. If you + * specify a value for this parameter, you must also set the type parameter's + * value to video. + * @opt_param string videoDuration The videoDuration parameter filters video + * search results based on their duration. If you specify a value for this + * parameter, you must also set the type parameter's value to video. + * @opt_param string relevanceLanguage The relevanceLanguage parameter instructs + * the API to return search results that are most relevant to the specified + * language. The parameter value is typically an ISO 639-1 two-letter language + * code. However, you should use the values zh-Hans for simplified Chinese and + * zh-Hant for traditional Chinese. Please note that results in other languages + * will still be returned if they are highly relevant to the search query term. + * @opt_param bool forMine The forMine parameter restricts the search to only + * retrieve videos owned by the authenticated user. If you set this parameter to + * true, then the type parameter's value must also be set to video. + * @opt_param string q The q parameter specifies the query term to search for. + * + * Your request can also use the Boolean NOT (-) and OR (|) operators to exclude + * videos or to find videos that are associated with one of several search + * terms. For example, to search for videos matching either "boating" or + * "sailing", set the q parameter value to boating|sailing. Similarly, to search + * for videos matching either "boating" or "sailing" but not "fishing", set the + * q parameter value to boating|sailing -fishing. Note that the pipe character + * must be URL-escaped when it is sent in your API request. The URL-escaped + * value for the pipe character is %7C. + * @opt_param string safeSearch The safeSearch parameter indicates whether the + * search results should include restricted content as well as standard content. + * @opt_param string videoEmbeddable The videoEmbeddable parameter lets you to + * restrict a search to only videos that can be embedded into a webpage. If you + * specify a value for this parameter, you must also set the type parameter's + * value to video. + * @opt_param string videoCategoryId The videoCategoryId parameter filters video + * search results based on their category. If you specify a value for this + * parameter, you must also set the type parameter's value to video. + * @opt_param string order The order parameter specifies the method that will be + * used to order resources in the API response. + * @return Google_Service_YouTube_SearchListResponse + */ + public function listSearch($part, $optParams = array()) + { + $params = array('part' => $part); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTube_SearchListResponse"); + } +} + +/** + * The "subscriptions" collection of methods. + * Typical usage is: + * + * $youtubeService = new Google_Service_YouTube(...); + * $subscriptions = $youtubeService->subscriptions; + * + */ +class Google_Service_YouTube_Subscriptions_Resource extends Google_Service_Resource +{ + + /** + * Deletes a subscription. (subscriptions.delete) + * + * @param string $id The id parameter specifies the YouTube subscription ID for + * the resource that is being deleted. In a subscription resource, the id + * property specifies the YouTube subscription ID. + * @param array $optParams Optional parameters. + */ + public function delete($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Adds a subscription for the authenticated user's channel. + * (subscriptions.insert) + * + * @param string $part The part parameter serves two purposes in this operation. + * It identifies the properties that the write operation will set as well as the + * properties that the API response will include. + * @param Google_Subscription $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_YouTube_Subscription + */ + public function insert($part, Google_Service_YouTube_Subscription $postBody, $optParams = array()) + { + $params = array('part' => $part, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_YouTube_Subscription"); + } + + /** + * Returns subscription resources that match the API request criteria. + * (subscriptions.listSubscriptions) + * + * @param string $part The part parameter specifies a comma-separated list of + * one or more subscription resource properties that the API response will + * include. + * + * If the parameter identifies a property that contains child properties, the + * child properties will be included in the response. For example, in a + * subscription resource, the snippet property contains other properties, such + * as a display title for the subscription. If you set part=snippet, the API + * response will also contain all of those nested properties. + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be + * used in a properly authorized request. Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID + * of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, + * and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content + * owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must + * be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage + * many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter + * value, without having to provide authentication credentials for each separate + * channel. + * @opt_param string channelId The channelId parameter specifies a YouTube + * channel ID. The API will only return that channel's subscriptions. + * @opt_param bool mine Set this parameter's value to true to retrieve a feed of + * the authenticated user's subscriptions. + * @opt_param string maxResults The maxResults parameter specifies the maximum + * number of items that should be returned in the result set. + * @opt_param string forChannelId The forChannelId parameter specifies a comma- + * separated list of channel IDs. The API response will then only contain + * subscriptions matching those channels. + * @opt_param string pageToken The pageToken parameter identifies a specific + * page in the result set that should be returned. In an API response, the + * nextPageToken and prevPageToken properties identify other pages that could be + * retrieved. + * @opt_param bool mySubscribers Set this parameter's value to true to retrieve + * a feed of the subscribers of the authenticated user. + * @opt_param string order The order parameter specifies the method that will be + * used to sort resources in the API response. + * @opt_param string id The id parameter specifies a comma-separated list of the + * YouTube subscription ID(s) for the resource(s) that are being retrieved. In a + * subscription resource, the id property specifies the YouTube subscription ID. + * @return Google_Service_YouTube_SubscriptionListResponse + */ + public function listSubscriptions($part, $optParams = array()) + { + $params = array('part' => $part); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTube_SubscriptionListResponse"); + } +} + +/** + * The "thumbnails" collection of methods. + * Typical usage is: + * + * $youtubeService = new Google_Service_YouTube(...); + * $thumbnails = $youtubeService->thumbnails; + * + */ +class Google_Service_YouTube_Thumbnails_Resource extends Google_Service_Resource +{ + + /** + * Uploads a custom video thumbnail to YouTube and sets it for a video. + * (thumbnails.set) + * + * @param string $videoId The videoId parameter specifies a YouTube video ID for + * which the custom video thumbnail is being provided. + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The actual CMS + * account that the user authenticates with must be linked to the specified + * YouTube content owner. + * @return Google_Service_YouTube_ThumbnailSetResponse + */ + public function set($videoId, $optParams = array()) + { + $params = array('videoId' => $videoId); + $params = array_merge($params, $optParams); + return $this->call('set', array($params), "Google_Service_YouTube_ThumbnailSetResponse"); + } +} + +/** + * The "videoAbuseReportReasons" collection of methods. + * Typical usage is: + * + * $youtubeService = new Google_Service_YouTube(...); + * $videoAbuseReportReasons = $youtubeService->videoAbuseReportReasons; + * + */ +class Google_Service_YouTube_VideoAbuseReportReasons_Resource extends Google_Service_Resource +{ + + /** + * Returns a list of abuse reasons that can be used for reporting abusive + * videos. (videoAbuseReportReasons.listVideoAbuseReportReasons) + * + * @param string $part The part parameter specifies the videoCategory resource + * parts that the API response will include. Supported values are id and + * snippet. + * @param array $optParams Optional parameters. + * + * @opt_param string hl The hl parameter specifies the language that should be + * used for text values in the API response. + * @return Google_Service_YouTube_VideoAbuseReportReasonListResponse + */ + public function listVideoAbuseReportReasons($part, $optParams = array()) + { + $params = array('part' => $part); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTube_VideoAbuseReportReasonListResponse"); + } +} + +/** + * The "videoCategories" collection of methods. + * Typical usage is: + * + * $youtubeService = new Google_Service_YouTube(...); + * $videoCategories = $youtubeService->videoCategories; + * + */ +class Google_Service_YouTube_VideoCategories_Resource extends Google_Service_Resource +{ + + /** + * Returns a list of categories that can be associated with YouTube videos. + * (videoCategories.listVideoCategories) + * + * @param string $part The part parameter specifies the videoCategory resource + * properties that the API response will include. Set the parameter value to + * snippet. + * @param array $optParams Optional parameters. + * + * @opt_param string regionCode The regionCode parameter instructs the API to + * return the list of video categories available in the specified country. The + * parameter value is an ISO 3166-1 alpha-2 country code. + * @opt_param string id The id parameter specifies a comma-separated list of + * video category IDs for the resources that you are retrieving. + * @opt_param string hl The hl parameter specifies the language that should be + * used for text values in the API response. + * @return Google_Service_YouTube_VideoCategoryListResponse + */ + public function listVideoCategories($part, $optParams = array()) + { + $params = array('part' => $part); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTube_VideoCategoryListResponse"); + } +} + +/** + * The "videos" collection of methods. + * Typical usage is: + * + * $youtubeService = new Google_Service_YouTube(...); + * $videos = $youtubeService->videos; + * + */ +class Google_Service_YouTube_Videos_Resource extends Google_Service_Resource +{ + + /** + * Deletes a YouTube video. (videos.delete) + * + * @param string $id The id parameter specifies the YouTube video ID for the + * resource that is being deleted. In a video resource, the id property + * specifies the video's ID. + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The actual CMS + * account that the user authenticates with must be linked to the specified + * YouTube content owner. + */ + public function delete($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Retrieves the ratings that the authorized user gave to a list of specified + * videos. (videos.getRating) + * + * @param string $id The id parameter specifies a comma-separated list of the + * YouTube video ID(s) for the resource(s) for which you are retrieving rating + * data. In a video resource, the id property specifies the video's ID. + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @return Google_Service_YouTube_VideoGetRatingResponse + */ + public function getRating($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('getRating', array($params), "Google_Service_YouTube_VideoGetRatingResponse"); + } + + /** + * Uploads a video to YouTube and optionally sets the video's metadata. + * (videos.insert) + * + * @param string $part The part parameter serves two purposes in this operation. + * It identifies the properties that the write operation will set as well as the + * properties that the API response will include. + * + * Note that not all parts contain properties that can be set when inserting or + * updating a video. For example, the statistics object encapsulates statistics + * that YouTube calculates for a video and does not contain values that you can + * set or modify. If the parameter value specifies a part that does not contain + * mutable values, that part will still be included in the API response. + * @param Google_Video $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @opt_param bool stabilize The stabilize parameter indicates whether YouTube + * should adjust the video to remove shaky camera motions. + * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be + * used in a properly authorized request. Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID + * of the channel to which a video is being added. This parameter is required + * when a request specifies a value for the onBehalfOfContentOwner parameter, + * and it can only be used in conjunction with that parameter. In addition, the + * request must be authorized using a CMS account that is linked to the content + * owner that the onBehalfOfContentOwner parameter specifies. Finally, the + * channel that the onBehalfOfContentOwnerChannel parameter value specifies must + * be linked to the content owner that the onBehalfOfContentOwner parameter + * specifies. + * + * This parameter is intended for YouTube content partners that own and manage + * many different YouTube channels. It allows content owners to authenticate + * once and perform actions on behalf of the channel specified in the parameter + * value, without having to provide authentication credentials for each separate + * channel. + * @opt_param bool notifySubscribers The notifySubscribers parameter indicates + * whether YouTube should send a notification about the new video to users who + * subscribe to the video's channel. A parameter value of True indicates that + * subscribers will be notified of newly uploaded videos. However, a channel + * owner who is uploading many videos might prefer to set the value to False to + * avoid sending a notification about each new video to the channel's + * subscribers. + * @opt_param bool autoLevels The autoLevels parameter indicates whether YouTube + * should automatically enhance the video's lighting and color. + * @return Google_Service_YouTube_Video + */ + public function insert($part, Google_Service_YouTube_Video $postBody, $optParams = array()) + { + $params = array('part' => $part, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_YouTube_Video"); + } + + /** + * Returns a list of videos that match the API request parameters. + * (videos.listVideos) + * + * @param string $part The part parameter specifies a comma-separated list of + * one or more video resource properties that the API response will include. + * + * If the parameter identifies a property that contains child properties, the + * child properties will be included in the response. For example, in a video + * resource, the snippet property contains the channelId, title, description, + * tags, and categoryId properties. As such, if you set part=snippet, the API + * response will contain all of those properties. + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @opt_param string regionCode The regionCode parameter instructs the API to + * select a video chart available in the specified region. This parameter can + * only be used in conjunction with the chart parameter. The parameter value is + * an ISO 3166-1 alpha-2 country code. + * @opt_param string locale DEPRECATED + * @opt_param string videoCategoryId The videoCategoryId parameter identifies + * the video category for which the chart should be retrieved. This parameter + * can only be used in conjunction with the chart parameter. By default, charts + * are not restricted to a particular category. + * @opt_param string chart The chart parameter identifies the chart that you + * want to retrieve. + * @opt_param string maxResults The maxResults parameter specifies the maximum + * number of items that should be returned in the result set. + * + * Note: This parameter is supported for use in conjunction with the myRating + * parameter, but it is not supported for use in conjunction with the id + * parameter. + * @opt_param string pageToken The pageToken parameter identifies a specific + * page in the result set that should be returned. In an API response, the + * nextPageToken and prevPageToken properties identify other pages that could be + * retrieved. + * + * Note: This parameter is supported for use in conjunction with the myRating + * parameter, but it is not supported for use in conjunction with the id + * parameter. + * @opt_param string hl The hl parameter instructs the API to retrieve localized + * resource metadata for a specific application language that the YouTube + * website supports. The parameter value must be a language code included in the + * list returned by the i18nLanguages.list method. + * + * If localized resource details are available in that language, the resource's + * snippet.localized object will contain the localized values. However, if + * localized details are not available, the snippet.localized object will + * contain resource details in the resource's default language. + * @opt_param string myRating Set this parameter's value to like or dislike to + * instruct the API to only return videos liked or disliked by the authenticated + * user. + * @opt_param string id The id parameter specifies a comma-separated list of the + * YouTube video ID(s) for the resource(s) that are being retrieved. In a video + * resource, the id property specifies the video's ID. + * @return Google_Service_YouTube_VideoListResponse + */ + public function listVideos($part, $optParams = array()) + { + $params = array('part' => $part); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTube_VideoListResponse"); + } + + /** + * Add a like or dislike rating to a video or remove a rating from a video. + * (videos.rate) + * + * @param string $id The id parameter specifies the YouTube video ID of the + * video that is being rated or having its rating removed. + * @param string $rating Specifies the rating to record. + * @param array $optParams Optional parameters. + */ + public function rate($id, $rating, $optParams = array()) + { + $params = array('id' => $id, 'rating' => $rating); + $params = array_merge($params, $optParams); + return $this->call('rate', array($params)); + } + + /** + * Report abuse for a video. (videos.reportAbuse) + * + * @param Google_VideoAbuseReport $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + */ + public function reportAbuse(Google_Service_YouTube_VideoAbuseReport $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('reportAbuse', array($params)); + } + + /** + * Updates a video's metadata. (videos.update) + * + * @param string $part The part parameter serves two purposes in this operation. + * It identifies the properties that the write operation will set as well as the + * properties that the API response will include. + * + * Note that this method will override the existing values for all of the + * mutable properties that are contained in any parts that the parameter value + * specifies. For example, a video's privacy setting is contained in the status + * part. As such, if your request is updating a private video, and the request's + * part parameter value includes the status part, the video's privacy setting + * will be updated to whatever value the request body specifies. If the request + * body does not specify a value, the existing privacy setting will be removed + * and the video will revert to the default privacy setting. + * + * In addition, not all parts contain properties that can be set when inserting + * or updating a video. For example, the statistics object encapsulates + * statistics that YouTube calculates for a video and does not contain values + * that you can set or modify. If the parameter value specifies a part that does + * not contain mutable values, that part will still be included in the API + * response. + * @param Google_Video $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The actual CMS + * account that the user authenticates with must be linked to the specified + * YouTube content owner. + * @return Google_Service_YouTube_Video + */ + public function update($part, Google_Service_YouTube_Video $postBody, $optParams = array()) + { + $params = array('part' => $part, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_YouTube_Video"); + } +} + +/** + * The "watermarks" collection of methods. + * Typical usage is: + * + * $youtubeService = new Google_Service_YouTube(...); + * $watermarks = $youtubeService->watermarks; + * + */ +class Google_Service_YouTube_Watermarks_Resource extends Google_Service_Resource +{ + + /** + * Uploads a watermark image to YouTube and sets it for a channel. + * (watermarks.set) + * + * @param string $channelId The channelId parameter specifies the YouTube + * channel ID for which the watermark is being provided. + * @param Google_InvideoBranding $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + */ + public function set($channelId, Google_Service_YouTube_InvideoBranding $postBody, $optParams = array()) + { + $params = array('channelId' => $channelId, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('set', array($params)); + } + + /** + * Deletes a channel's watermark image. (watermarks.unsetWatermarks) + * + * @param string $channelId The channelId parameter specifies the YouTube + * channel ID for which the watermark is being unset. + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + */ + public function unsetWatermarks($channelId, $optParams = array()) + { + $params = array('channelId' => $channelId); + $params = array_merge($params, $optParams); + return $this->call('unset', array($params)); + } +} + + + + +class Google_Service_YouTube_AccessPolicy extends Google_Collection +{ + protected $collection_key = 'exception'; + protected $internal_gapi_mappings = array( + ); + public $allowed; + public $exception; + + + public function setAllowed($allowed) + { + $this->allowed = $allowed; + } + public function getAllowed() + { + return $this->allowed; + } + public function setException($exception) + { + $this->exception = $exception; + } + public function getException() + { + return $this->exception; + } +} + +class Google_Service_YouTube_Activity extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $contentDetailsType = 'Google_Service_YouTube_ActivityContentDetails'; + protected $contentDetailsDataType = ''; + public $etag; + public $id; + public $kind; + protected $snippetType = 'Google_Service_YouTube_ActivitySnippet'; + protected $snippetDataType = ''; + + + public function setContentDetails(Google_Service_YouTube_ActivityContentDetails $contentDetails) + { + $this->contentDetails = $contentDetails; + } + public function getContentDetails() + { + return $this->contentDetails; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSnippet(Google_Service_YouTube_ActivitySnippet $snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } +} + +class Google_Service_YouTube_ActivityContentDetails extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $bulletinType = 'Google_Service_YouTube_ActivityContentDetailsBulletin'; + protected $bulletinDataType = ''; + protected $channelItemType = 'Google_Service_YouTube_ActivityContentDetailsChannelItem'; + protected $channelItemDataType = ''; + protected $commentType = 'Google_Service_YouTube_ActivityContentDetailsComment'; + protected $commentDataType = ''; + protected $favoriteType = 'Google_Service_YouTube_ActivityContentDetailsFavorite'; + protected $favoriteDataType = ''; + protected $likeType = 'Google_Service_YouTube_ActivityContentDetailsLike'; + protected $likeDataType = ''; + protected $playlistItemType = 'Google_Service_YouTube_ActivityContentDetailsPlaylistItem'; + protected $playlistItemDataType = ''; + protected $promotedItemType = 'Google_Service_YouTube_ActivityContentDetailsPromotedItem'; + protected $promotedItemDataType = ''; + protected $recommendationType = 'Google_Service_YouTube_ActivityContentDetailsRecommendation'; + protected $recommendationDataType = ''; + protected $socialType = 'Google_Service_YouTube_ActivityContentDetailsSocial'; + protected $socialDataType = ''; + protected $subscriptionType = 'Google_Service_YouTube_ActivityContentDetailsSubscription'; + protected $subscriptionDataType = ''; + protected $uploadType = 'Google_Service_YouTube_ActivityContentDetailsUpload'; + protected $uploadDataType = ''; + + + public function setBulletin(Google_Service_YouTube_ActivityContentDetailsBulletin $bulletin) + { + $this->bulletin = $bulletin; + } + public function getBulletin() + { + return $this->bulletin; + } + public function setChannelItem(Google_Service_YouTube_ActivityContentDetailsChannelItem $channelItem) + { + $this->channelItem = $channelItem; + } + public function getChannelItem() + { + return $this->channelItem; + } + public function setComment(Google_Service_YouTube_ActivityContentDetailsComment $comment) + { + $this->comment = $comment; + } + public function getComment() + { + return $this->comment; + } + public function setFavorite(Google_Service_YouTube_ActivityContentDetailsFavorite $favorite) + { + $this->favorite = $favorite; + } + public function getFavorite() + { + return $this->favorite; + } + public function setLike(Google_Service_YouTube_ActivityContentDetailsLike $like) + { + $this->like = $like; + } + public function getLike() + { + return $this->like; + } + public function setPlaylistItem(Google_Service_YouTube_ActivityContentDetailsPlaylistItem $playlistItem) + { + $this->playlistItem = $playlistItem; + } + public function getPlaylistItem() + { + return $this->playlistItem; + } + public function setPromotedItem(Google_Service_YouTube_ActivityContentDetailsPromotedItem $promotedItem) + { + $this->promotedItem = $promotedItem; + } + public function getPromotedItem() + { + return $this->promotedItem; + } + public function setRecommendation(Google_Service_YouTube_ActivityContentDetailsRecommendation $recommendation) + { + $this->recommendation = $recommendation; + } + public function getRecommendation() + { + return $this->recommendation; + } + public function setSocial(Google_Service_YouTube_ActivityContentDetailsSocial $social) + { + $this->social = $social; + } + public function getSocial() + { + return $this->social; + } + public function setSubscription(Google_Service_YouTube_ActivityContentDetailsSubscription $subscription) + { + $this->subscription = $subscription; + } + public function getSubscription() + { + return $this->subscription; + } + public function setUpload(Google_Service_YouTube_ActivityContentDetailsUpload $upload) + { + $this->upload = $upload; + } + public function getUpload() + { + return $this->upload; + } +} + +class Google_Service_YouTube_ActivityContentDetailsBulletin extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $resourceIdType = 'Google_Service_YouTube_ResourceId'; + protected $resourceIdDataType = ''; + + + public function setResourceId(Google_Service_YouTube_ResourceId $resourceId) + { + $this->resourceId = $resourceId; + } + public function getResourceId() + { + return $this->resourceId; + } +} + +class Google_Service_YouTube_ActivityContentDetailsChannelItem extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $resourceIdType = 'Google_Service_YouTube_ResourceId'; + protected $resourceIdDataType = ''; + + + public function setResourceId(Google_Service_YouTube_ResourceId $resourceId) + { + $this->resourceId = $resourceId; + } + public function getResourceId() + { + return $this->resourceId; + } +} + +class Google_Service_YouTube_ActivityContentDetailsComment extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $resourceIdType = 'Google_Service_YouTube_ResourceId'; + protected $resourceIdDataType = ''; + + + public function setResourceId(Google_Service_YouTube_ResourceId $resourceId) + { + $this->resourceId = $resourceId; + } + public function getResourceId() + { + return $this->resourceId; + } +} + +class Google_Service_YouTube_ActivityContentDetailsFavorite extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $resourceIdType = 'Google_Service_YouTube_ResourceId'; + protected $resourceIdDataType = ''; + + + public function setResourceId(Google_Service_YouTube_ResourceId $resourceId) + { + $this->resourceId = $resourceId; + } + public function getResourceId() + { + return $this->resourceId; + } +} + +class Google_Service_YouTube_ActivityContentDetailsLike extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $resourceIdType = 'Google_Service_YouTube_ResourceId'; + protected $resourceIdDataType = ''; + + + public function setResourceId(Google_Service_YouTube_ResourceId $resourceId) + { + $this->resourceId = $resourceId; + } + public function getResourceId() + { + return $this->resourceId; + } +} + +class Google_Service_YouTube_ActivityContentDetailsPlaylistItem extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $playlistId; + public $playlistItemId; + protected $resourceIdType = 'Google_Service_YouTube_ResourceId'; + protected $resourceIdDataType = ''; + + + public function setPlaylistId($playlistId) + { + $this->playlistId = $playlistId; + } + public function getPlaylistId() + { + return $this->playlistId; + } + public function setPlaylistItemId($playlistItemId) + { + $this->playlistItemId = $playlistItemId; + } + public function getPlaylistItemId() + { + return $this->playlistItemId; + } + public function setResourceId(Google_Service_YouTube_ResourceId $resourceId) + { + $this->resourceId = $resourceId; + } + public function getResourceId() + { + return $this->resourceId; + } +} + +class Google_Service_YouTube_ActivityContentDetailsPromotedItem extends Google_Collection +{ + protected $collection_key = 'impressionUrl'; + protected $internal_gapi_mappings = array( + ); + public $adTag; + public $clickTrackingUrl; + public $creativeViewUrl; + public $ctaType; + public $customCtaButtonText; + public $descriptionText; + public $destinationUrl; + public $forecastingUrl; + public $impressionUrl; + public $videoId; + + + public function setAdTag($adTag) + { + $this->adTag = $adTag; + } + public function getAdTag() + { + return $this->adTag; + } + public function setClickTrackingUrl($clickTrackingUrl) + { + $this->clickTrackingUrl = $clickTrackingUrl; + } + public function getClickTrackingUrl() + { + return $this->clickTrackingUrl; + } + public function setCreativeViewUrl($creativeViewUrl) + { + $this->creativeViewUrl = $creativeViewUrl; + } + public function getCreativeViewUrl() + { + return $this->creativeViewUrl; + } + public function setCtaType($ctaType) + { + $this->ctaType = $ctaType; + } + public function getCtaType() + { + return $this->ctaType; + } + public function setCustomCtaButtonText($customCtaButtonText) + { + $this->customCtaButtonText = $customCtaButtonText; + } + public function getCustomCtaButtonText() + { + return $this->customCtaButtonText; + } + public function setDescriptionText($descriptionText) + { + $this->descriptionText = $descriptionText; + } + public function getDescriptionText() + { + return $this->descriptionText; + } + public function setDestinationUrl($destinationUrl) + { + $this->destinationUrl = $destinationUrl; + } + public function getDestinationUrl() + { + return $this->destinationUrl; + } + public function setForecastingUrl($forecastingUrl) + { + $this->forecastingUrl = $forecastingUrl; + } + public function getForecastingUrl() + { + return $this->forecastingUrl; + } + public function setImpressionUrl($impressionUrl) + { + $this->impressionUrl = $impressionUrl; + } + public function getImpressionUrl() + { + return $this->impressionUrl; + } + public function setVideoId($videoId) + { + $this->videoId = $videoId; + } + public function getVideoId() + { + return $this->videoId; + } +} + +class Google_Service_YouTube_ActivityContentDetailsRecommendation extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $reason; + protected $resourceIdType = 'Google_Service_YouTube_ResourceId'; + protected $resourceIdDataType = ''; + protected $seedResourceIdType = 'Google_Service_YouTube_ResourceId'; + protected $seedResourceIdDataType = ''; + + + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } + public function setResourceId(Google_Service_YouTube_ResourceId $resourceId) + { + $this->resourceId = $resourceId; + } + public function getResourceId() + { + return $this->resourceId; + } + public function setSeedResourceId(Google_Service_YouTube_ResourceId $seedResourceId) + { + $this->seedResourceId = $seedResourceId; + } + public function getSeedResourceId() + { + return $this->seedResourceId; + } +} + +class Google_Service_YouTube_ActivityContentDetailsSocial extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $author; + public $imageUrl; + public $referenceUrl; + protected $resourceIdType = 'Google_Service_YouTube_ResourceId'; + protected $resourceIdDataType = ''; + public $type; + + + public function setAuthor($author) + { + $this->author = $author; + } + public function getAuthor() + { + return $this->author; + } + public function setImageUrl($imageUrl) + { + $this->imageUrl = $imageUrl; + } + public function getImageUrl() + { + return $this->imageUrl; + } + public function setReferenceUrl($referenceUrl) + { + $this->referenceUrl = $referenceUrl; + } + public function getReferenceUrl() + { + return $this->referenceUrl; + } + public function setResourceId(Google_Service_YouTube_ResourceId $resourceId) + { + $this->resourceId = $resourceId; + } + public function getResourceId() + { + return $this->resourceId; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_YouTube_ActivityContentDetailsSubscription extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $resourceIdType = 'Google_Service_YouTube_ResourceId'; + protected $resourceIdDataType = ''; + + + public function setResourceId(Google_Service_YouTube_ResourceId $resourceId) + { + $this->resourceId = $resourceId; + } + public function getResourceId() + { + return $this->resourceId; + } +} + +class Google_Service_YouTube_ActivityContentDetailsUpload extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $videoId; + + + public function setVideoId($videoId) + { + $this->videoId = $videoId; + } + public function getVideoId() + { + return $this->videoId; + } +} + +class Google_Service_YouTube_ActivityListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + public $eventId; + protected $itemsType = 'Google_Service_YouTube_Activity'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + protected $pageInfoType = 'Google_Service_YouTube_PageInfo'; + protected $pageInfoDataType = ''; + public $prevPageToken; + protected $tokenPaginationType = 'Google_Service_YouTube_TokenPagination'; + protected $tokenPaginationDataType = ''; + public $visitorId; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo) + { + $this->pageInfo = $pageInfo; + } + public function getPageInfo() + { + return $this->pageInfo; + } + public function setPrevPageToken($prevPageToken) + { + $this->prevPageToken = $prevPageToken; + } + public function getPrevPageToken() + { + return $this->prevPageToken; + } + public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination) + { + $this->tokenPagination = $tokenPagination; + } + public function getTokenPagination() + { + return $this->tokenPagination; + } + public function setVisitorId($visitorId) + { + $this->visitorId = $visitorId; + } + public function getVisitorId() + { + return $this->visitorId; + } +} + +class Google_Service_YouTube_ActivitySnippet extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $channelId; + public $channelTitle; + public $description; + public $groupId; + public $publishedAt; + protected $thumbnailsType = 'Google_Service_YouTube_ThumbnailDetails'; + protected $thumbnailsDataType = ''; + public $title; + public $type; + + + public function setChannelId($channelId) + { + $this->channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } + public function setChannelTitle($channelTitle) + { + $this->channelTitle = $channelTitle; + } + public function getChannelTitle() + { + return $this->channelTitle; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setGroupId($groupId) + { + $this->groupId = $groupId; + } + public function getGroupId() + { + return $this->groupId; + } + public function setPublishedAt($publishedAt) + { + $this->publishedAt = $publishedAt; + } + public function getPublishedAt() + { + return $this->publishedAt; + } + public function setThumbnails(Google_Service_YouTube_ThumbnailDetails $thumbnails) + { + $this->thumbnails = $thumbnails; + } + public function getThumbnails() + { + return $this->thumbnails; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_YouTube_Caption extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $etag; + public $id; + public $kind; + protected $snippetType = 'Google_Service_YouTube_CaptionSnippet'; + protected $snippetDataType = ''; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSnippet(Google_Service_YouTube_CaptionSnippet $snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } +} + +class Google_Service_YouTube_CaptionListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + public $eventId; + protected $itemsType = 'Google_Service_YouTube_Caption'; + protected $itemsDataType = 'array'; + public $kind; + public $visitorId; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setVisitorId($visitorId) + { + $this->visitorId = $visitorId; + } + public function getVisitorId() + { + return $this->visitorId; + } +} + +class Google_Service_YouTube_CaptionSnippet extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $audioTrackType; + public $failureReason; + public $isAutoSynced; + public $isCC; + public $isDraft; + public $isEasyReader; + public $isLarge; + public $language; + public $lastUpdated; + public $name; + public $status; + public $trackKind; + public $videoId; + + + public function setAudioTrackType($audioTrackType) + { + $this->audioTrackType = $audioTrackType; + } + public function getAudioTrackType() + { + return $this->audioTrackType; + } + public function setFailureReason($failureReason) + { + $this->failureReason = $failureReason; + } + public function getFailureReason() + { + return $this->failureReason; + } + public function setIsAutoSynced($isAutoSynced) + { + $this->isAutoSynced = $isAutoSynced; + } + public function getIsAutoSynced() + { + return $this->isAutoSynced; + } + public function setIsCC($isCC) + { + $this->isCC = $isCC; + } + public function getIsCC() + { + return $this->isCC; + } + public function setIsDraft($isDraft) + { + $this->isDraft = $isDraft; + } + public function getIsDraft() + { + return $this->isDraft; + } + public function setIsEasyReader($isEasyReader) + { + $this->isEasyReader = $isEasyReader; + } + public function getIsEasyReader() + { + return $this->isEasyReader; + } + public function setIsLarge($isLarge) + { + $this->isLarge = $isLarge; + } + public function getIsLarge() + { + return $this->isLarge; + } + public function setLanguage($language) + { + $this->language = $language; + } + public function getLanguage() + { + return $this->language; + } + public function setLastUpdated($lastUpdated) + { + $this->lastUpdated = $lastUpdated; + } + public function getLastUpdated() + { + return $this->lastUpdated; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setTrackKind($trackKind) + { + $this->trackKind = $trackKind; + } + public function getTrackKind() + { + return $this->trackKind; + } + public function setVideoId($videoId) + { + $this->videoId = $videoId; + } + public function getVideoId() + { + return $this->videoId; + } +} + +class Google_Service_YouTube_CdnSettings extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $format; + protected $ingestionInfoType = 'Google_Service_YouTube_IngestionInfo'; + protected $ingestionInfoDataType = ''; + public $ingestionType; + + + public function setFormat($format) + { + $this->format = $format; + } + public function getFormat() + { + return $this->format; + } + public function setIngestionInfo(Google_Service_YouTube_IngestionInfo $ingestionInfo) + { + $this->ingestionInfo = $ingestionInfo; + } + public function getIngestionInfo() + { + return $this->ingestionInfo; + } + public function setIngestionType($ingestionType) + { + $this->ingestionType = $ingestionType; + } + public function getIngestionType() + { + return $this->ingestionType; + } +} + +class Google_Service_YouTube_Channel extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $auditDetailsType = 'Google_Service_YouTube_ChannelAuditDetails'; + protected $auditDetailsDataType = ''; + protected $brandingSettingsType = 'Google_Service_YouTube_ChannelBrandingSettings'; + protected $brandingSettingsDataType = ''; + protected $contentDetailsType = 'Google_Service_YouTube_ChannelContentDetails'; + protected $contentDetailsDataType = ''; + protected $contentOwnerDetailsType = 'Google_Service_YouTube_ChannelContentOwnerDetails'; + protected $contentOwnerDetailsDataType = ''; + protected $conversionPingsType = 'Google_Service_YouTube_ChannelConversionPings'; + protected $conversionPingsDataType = ''; + public $etag; + public $id; + protected $invideoPromotionType = 'Google_Service_YouTube_InvideoPromotion'; + protected $invideoPromotionDataType = ''; + public $kind; + protected $localizationsType = 'Google_Service_YouTube_ChannelLocalization'; + protected $localizationsDataType = 'map'; + protected $snippetType = 'Google_Service_YouTube_ChannelSnippet'; + protected $snippetDataType = ''; + protected $statisticsType = 'Google_Service_YouTube_ChannelStatistics'; + protected $statisticsDataType = ''; + protected $statusType = 'Google_Service_YouTube_ChannelStatus'; + protected $statusDataType = ''; + protected $topicDetailsType = 'Google_Service_YouTube_ChannelTopicDetails'; + protected $topicDetailsDataType = ''; + + + public function setAuditDetails(Google_Service_YouTube_ChannelAuditDetails $auditDetails) + { + $this->auditDetails = $auditDetails; + } + public function getAuditDetails() + { + return $this->auditDetails; + } + public function setBrandingSettings(Google_Service_YouTube_ChannelBrandingSettings $brandingSettings) + { + $this->brandingSettings = $brandingSettings; + } + public function getBrandingSettings() + { + return $this->brandingSettings; + } + public function setContentDetails(Google_Service_YouTube_ChannelContentDetails $contentDetails) + { + $this->contentDetails = $contentDetails; + } + public function getContentDetails() + { + return $this->contentDetails; + } + public function setContentOwnerDetails(Google_Service_YouTube_ChannelContentOwnerDetails $contentOwnerDetails) + { + $this->contentOwnerDetails = $contentOwnerDetails; + } + public function getContentOwnerDetails() + { + return $this->contentOwnerDetails; + } + public function setConversionPings(Google_Service_YouTube_ChannelConversionPings $conversionPings) + { + $this->conversionPings = $conversionPings; + } + public function getConversionPings() + { + return $this->conversionPings; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setInvideoPromotion(Google_Service_YouTube_InvideoPromotion $invideoPromotion) + { + $this->invideoPromotion = $invideoPromotion; + } + public function getInvideoPromotion() + { + return $this->invideoPromotion; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLocalizations($localizations) + { + $this->localizations = $localizations; + } + public function getLocalizations() + { + return $this->localizations; + } + public function setSnippet(Google_Service_YouTube_ChannelSnippet $snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } + public function setStatistics(Google_Service_YouTube_ChannelStatistics $statistics) + { + $this->statistics = $statistics; + } + public function getStatistics() + { + return $this->statistics; + } + public function setStatus(Google_Service_YouTube_ChannelStatus $status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setTopicDetails(Google_Service_YouTube_ChannelTopicDetails $topicDetails) + { + $this->topicDetails = $topicDetails; + } + public function getTopicDetails() + { + return $this->topicDetails; + } +} + +class Google_Service_YouTube_ChannelAuditDetails extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $communityGuidelinesGoodStanding; + public $contentIdClaimsGoodStanding; + public $copyrightStrikesGoodStanding; + public $overallGoodStanding; + + + public function setCommunityGuidelinesGoodStanding($communityGuidelinesGoodStanding) + { + $this->communityGuidelinesGoodStanding = $communityGuidelinesGoodStanding; + } + public function getCommunityGuidelinesGoodStanding() + { + return $this->communityGuidelinesGoodStanding; + } + public function setContentIdClaimsGoodStanding($contentIdClaimsGoodStanding) + { + $this->contentIdClaimsGoodStanding = $contentIdClaimsGoodStanding; + } + public function getContentIdClaimsGoodStanding() + { + return $this->contentIdClaimsGoodStanding; + } + public function setCopyrightStrikesGoodStanding($copyrightStrikesGoodStanding) + { + $this->copyrightStrikesGoodStanding = $copyrightStrikesGoodStanding; + } + public function getCopyrightStrikesGoodStanding() + { + return $this->copyrightStrikesGoodStanding; + } + public function setOverallGoodStanding($overallGoodStanding) + { + $this->overallGoodStanding = $overallGoodStanding; + } + public function getOverallGoodStanding() + { + return $this->overallGoodStanding; + } +} + +class Google_Service_YouTube_ChannelBannerResource extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $etag; + public $kind; + public $url; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Google_Service_YouTube_ChannelBrandingSettings extends Google_Collection +{ + protected $collection_key = 'hints'; + protected $internal_gapi_mappings = array( + ); + protected $channelType = 'Google_Service_YouTube_ChannelSettings'; + protected $channelDataType = ''; + protected $hintsType = 'Google_Service_YouTube_PropertyValue'; + protected $hintsDataType = 'array'; + protected $imageType = 'Google_Service_YouTube_ImageSettings'; + protected $imageDataType = ''; + protected $watchType = 'Google_Service_YouTube_WatchSettings'; + protected $watchDataType = ''; + + + public function setChannel(Google_Service_YouTube_ChannelSettings $channel) + { + $this->channel = $channel; + } + public function getChannel() + { + return $this->channel; + } + public function setHints($hints) + { + $this->hints = $hints; + } + public function getHints() + { + return $this->hints; + } + public function setImage(Google_Service_YouTube_ImageSettings $image) + { + $this->image = $image; + } + public function getImage() + { + return $this->image; + } + public function setWatch(Google_Service_YouTube_WatchSettings $watch) + { + $this->watch = $watch; + } + public function getWatch() + { + return $this->watch; + } +} + +class Google_Service_YouTube_ChannelContentDetails extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $googlePlusUserId; + protected $relatedPlaylistsType = 'Google_Service_YouTube_ChannelContentDetailsRelatedPlaylists'; + protected $relatedPlaylistsDataType = ''; + + + public function setGooglePlusUserId($googlePlusUserId) + { + $this->googlePlusUserId = $googlePlusUserId; + } + public function getGooglePlusUserId() + { + return $this->googlePlusUserId; + } + public function setRelatedPlaylists(Google_Service_YouTube_ChannelContentDetailsRelatedPlaylists $relatedPlaylists) + { + $this->relatedPlaylists = $relatedPlaylists; + } + public function getRelatedPlaylists() + { + return $this->relatedPlaylists; + } +} + +class Google_Service_YouTube_ChannelContentDetailsRelatedPlaylists extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $favorites; + public $likes; + public $uploads; + public $watchHistory; + public $watchLater; + + + public function setFavorites($favorites) + { + $this->favorites = $favorites; + } + public function getFavorites() + { + return $this->favorites; + } + public function setLikes($likes) + { + $this->likes = $likes; + } + public function getLikes() + { + return $this->likes; + } + public function setUploads($uploads) + { + $this->uploads = $uploads; + } + public function getUploads() + { + return $this->uploads; + } + public function setWatchHistory($watchHistory) + { + $this->watchHistory = $watchHistory; + } + public function getWatchHistory() + { + return $this->watchHistory; + } + public function setWatchLater($watchLater) + { + $this->watchLater = $watchLater; + } + public function getWatchLater() + { + return $this->watchLater; + } +} + +class Google_Service_YouTube_ChannelContentOwnerDetails extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $contentOwner; + public $timeLinked; + + + public function setContentOwner($contentOwner) + { + $this->contentOwner = $contentOwner; + } + public function getContentOwner() + { + return $this->contentOwner; + } + public function setTimeLinked($timeLinked) + { + $this->timeLinked = $timeLinked; + } + public function getTimeLinked() + { + return $this->timeLinked; + } +} + +class Google_Service_YouTube_ChannelConversionPing extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $context; + public $conversionUrl; + + + public function setContext($context) + { + $this->context = $context; + } + public function getContext() + { + return $this->context; + } + public function setConversionUrl($conversionUrl) + { + $this->conversionUrl = $conversionUrl; + } + public function getConversionUrl() + { + return $this->conversionUrl; + } +} + +class Google_Service_YouTube_ChannelConversionPings extends Google_Collection +{ + protected $collection_key = 'pings'; + protected $internal_gapi_mappings = array( + ); + protected $pingsType = 'Google_Service_YouTube_ChannelConversionPing'; + protected $pingsDataType = 'array'; + + + public function setPings($pings) + { + $this->pings = $pings; + } + public function getPings() + { + return $this->pings; + } +} + +class Google_Service_YouTube_ChannelId extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $value; + + + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_YouTube_ChannelListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + public $eventId; + protected $itemsType = 'Google_Service_YouTube_Channel'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + protected $pageInfoType = 'Google_Service_YouTube_PageInfo'; + protected $pageInfoDataType = ''; + public $prevPageToken; + protected $tokenPaginationType = 'Google_Service_YouTube_TokenPagination'; + protected $tokenPaginationDataType = ''; + public $visitorId; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo) + { + $this->pageInfo = $pageInfo; + } + public function getPageInfo() + { + return $this->pageInfo; + } + public function setPrevPageToken($prevPageToken) + { + $this->prevPageToken = $prevPageToken; + } + public function getPrevPageToken() + { + return $this->prevPageToken; + } + public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination) + { + $this->tokenPagination = $tokenPagination; + } + public function getTokenPagination() + { + return $this->tokenPagination; + } + public function setVisitorId($visitorId) + { + $this->visitorId = $visitorId; + } + public function getVisitorId() + { + return $this->visitorId; + } +} + +class Google_Service_YouTube_ChannelLocalization extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $description; + public $title; + + + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} + +class Google_Service_YouTube_ChannelLocalizations extends Google_Model +{ +} + +class Google_Service_YouTube_ChannelSection extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $contentDetailsType = 'Google_Service_YouTube_ChannelSectionContentDetails'; + protected $contentDetailsDataType = ''; + public $etag; + public $id; + public $kind; + protected $localizationsType = 'Google_Service_YouTube_ChannelSectionLocalization'; + protected $localizationsDataType = 'map'; + protected $snippetType = 'Google_Service_YouTube_ChannelSectionSnippet'; + protected $snippetDataType = ''; + protected $targetingType = 'Google_Service_YouTube_ChannelSectionTargeting'; + protected $targetingDataType = ''; + + + public function setContentDetails(Google_Service_YouTube_ChannelSectionContentDetails $contentDetails) + { + $this->contentDetails = $contentDetails; + } + public function getContentDetails() + { + return $this->contentDetails; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLocalizations($localizations) + { + $this->localizations = $localizations; + } + public function getLocalizations() + { + return $this->localizations; + } + public function setSnippet(Google_Service_YouTube_ChannelSectionSnippet $snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } + public function setTargeting(Google_Service_YouTube_ChannelSectionTargeting $targeting) + { + $this->targeting = $targeting; + } + public function getTargeting() + { + return $this->targeting; + } +} + +class Google_Service_YouTube_ChannelSectionContentDetails extends Google_Collection +{ + protected $collection_key = 'playlists'; + protected $internal_gapi_mappings = array( + ); + public $channels; + public $playlists; + + + public function setChannels($channels) + { + $this->channels = $channels; + } + public function getChannels() + { + return $this->channels; + } + public function setPlaylists($playlists) + { + $this->playlists = $playlists; + } + public function getPlaylists() + { + return $this->playlists; + } +} + +class Google_Service_YouTube_ChannelSectionListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + public $eventId; + protected $itemsType = 'Google_Service_YouTube_ChannelSection'; + protected $itemsDataType = 'array'; + public $kind; + public $visitorId; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setVisitorId($visitorId) + { + $this->visitorId = $visitorId; + } + public function getVisitorId() + { + return $this->visitorId; + } +} + +class Google_Service_YouTube_ChannelSectionLocalization extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $title; + + + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} + +class Google_Service_YouTube_ChannelSectionLocalizations extends Google_Model +{ +} + +class Google_Service_YouTube_ChannelSectionSnippet extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $channelId; + public $defaultLanguage; + protected $localizedType = 'Google_Service_YouTube_ChannelSectionLocalization'; + protected $localizedDataType = ''; + public $position; + public $style; + public $title; + public $type; + + + public function setChannelId($channelId) + { + $this->channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } + public function setDefaultLanguage($defaultLanguage) + { + $this->defaultLanguage = $defaultLanguage; + } + public function getDefaultLanguage() + { + return $this->defaultLanguage; + } + public function setLocalized(Google_Service_YouTube_ChannelSectionLocalization $localized) + { + $this->localized = $localized; + } + public function getLocalized() + { + return $this->localized; + } + public function setPosition($position) + { + $this->position = $position; + } + public function getPosition() + { + return $this->position; + } + public function setStyle($style) + { + $this->style = $style; + } + public function getStyle() + { + return $this->style; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_YouTube_ChannelSectionTargeting extends Google_Collection +{ + protected $collection_key = 'regions'; + protected $internal_gapi_mappings = array( + ); + public $countries; + public $languages; + public $regions; + + + public function setCountries($countries) + { + $this->countries = $countries; + } + public function getCountries() + { + return $this->countries; + } + public function setLanguages($languages) + { + $this->languages = $languages; + } + public function getLanguages() + { + return $this->languages; + } + public function setRegions($regions) + { + $this->regions = $regions; + } + public function getRegions() + { + return $this->regions; + } +} + +class Google_Service_YouTube_ChannelSettings extends Google_Collection +{ + protected $collection_key = 'featuredChannelsUrls'; + protected $internal_gapi_mappings = array( + ); + public $country; + public $defaultLanguage; + public $defaultTab; + public $description; + public $featuredChannelsTitle; + public $featuredChannelsUrls; + public $keywords; + public $moderateComments; + public $profileColor; + public $showBrowseView; + public $showRelatedChannels; + public $title; + public $trackingAnalyticsAccountId; + public $unsubscribedTrailer; + + + public function setCountry($country) + { + $this->country = $country; + } + public function getCountry() + { + return $this->country; + } + public function setDefaultLanguage($defaultLanguage) + { + $this->defaultLanguage = $defaultLanguage; + } + public function getDefaultLanguage() + { + return $this->defaultLanguage; + } + public function setDefaultTab($defaultTab) + { + $this->defaultTab = $defaultTab; + } + public function getDefaultTab() + { + return $this->defaultTab; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setFeaturedChannelsTitle($featuredChannelsTitle) + { + $this->featuredChannelsTitle = $featuredChannelsTitle; + } + public function getFeaturedChannelsTitle() + { + return $this->featuredChannelsTitle; + } + public function setFeaturedChannelsUrls($featuredChannelsUrls) + { + $this->featuredChannelsUrls = $featuredChannelsUrls; + } + public function getFeaturedChannelsUrls() + { + return $this->featuredChannelsUrls; + } + public function setKeywords($keywords) + { + $this->keywords = $keywords; + } + public function getKeywords() + { + return $this->keywords; + } + public function setModerateComments($moderateComments) + { + $this->moderateComments = $moderateComments; + } + public function getModerateComments() + { + return $this->moderateComments; + } + public function setProfileColor($profileColor) + { + $this->profileColor = $profileColor; + } + public function getProfileColor() + { + return $this->profileColor; + } + public function setShowBrowseView($showBrowseView) + { + $this->showBrowseView = $showBrowseView; + } + public function getShowBrowseView() + { + return $this->showBrowseView; + } + public function setShowRelatedChannels($showRelatedChannels) + { + $this->showRelatedChannels = $showRelatedChannels; + } + public function getShowRelatedChannels() + { + return $this->showRelatedChannels; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } + public function setTrackingAnalyticsAccountId($trackingAnalyticsAccountId) + { + $this->trackingAnalyticsAccountId = $trackingAnalyticsAccountId; + } + public function getTrackingAnalyticsAccountId() + { + return $this->trackingAnalyticsAccountId; + } + public function setUnsubscribedTrailer($unsubscribedTrailer) + { + $this->unsubscribedTrailer = $unsubscribedTrailer; + } + public function getUnsubscribedTrailer() + { + return $this->unsubscribedTrailer; + } +} + +class Google_Service_YouTube_ChannelSnippet extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $country; + public $defaultLanguage; + public $description; + protected $localizedType = 'Google_Service_YouTube_ChannelLocalization'; + protected $localizedDataType = ''; + public $publishedAt; + protected $thumbnailsType = 'Google_Service_YouTube_ThumbnailDetails'; + protected $thumbnailsDataType = ''; + public $title; + + + public function setCountry($country) + { + $this->country = $country; + } + public function getCountry() + { + return $this->country; + } + public function setDefaultLanguage($defaultLanguage) + { + $this->defaultLanguage = $defaultLanguage; + } + public function getDefaultLanguage() + { + return $this->defaultLanguage; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setLocalized(Google_Service_YouTube_ChannelLocalization $localized) + { + $this->localized = $localized; + } + public function getLocalized() + { + return $this->localized; + } + public function setPublishedAt($publishedAt) + { + $this->publishedAt = $publishedAt; + } + public function getPublishedAt() + { + return $this->publishedAt; + } + public function setThumbnails(Google_Service_YouTube_ThumbnailDetails $thumbnails) + { + $this->thumbnails = $thumbnails; + } + public function getThumbnails() + { + return $this->thumbnails; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} + +class Google_Service_YouTube_ChannelStatistics extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $commentCount; + public $hiddenSubscriberCount; + public $subscriberCount; + public $videoCount; + public $viewCount; + + + public function setCommentCount($commentCount) + { + $this->commentCount = $commentCount; + } + public function getCommentCount() + { + return $this->commentCount; + } + public function setHiddenSubscriberCount($hiddenSubscriberCount) + { + $this->hiddenSubscriberCount = $hiddenSubscriberCount; + } + public function getHiddenSubscriberCount() + { + return $this->hiddenSubscriberCount; + } + public function setSubscriberCount($subscriberCount) + { + $this->subscriberCount = $subscriberCount; + } + public function getSubscriberCount() + { + return $this->subscriberCount; + } + public function setVideoCount($videoCount) + { + $this->videoCount = $videoCount; + } + public function getVideoCount() + { + return $this->videoCount; + } + public function setViewCount($viewCount) + { + $this->viewCount = $viewCount; + } + public function getViewCount() + { + return $this->viewCount; + } +} + +class Google_Service_YouTube_ChannelStatus extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $isLinked; + public $longUploadsStatus; + public $privacyStatus; + + + public function setIsLinked($isLinked) + { + $this->isLinked = $isLinked; + } + public function getIsLinked() + { + return $this->isLinked; + } + public function setLongUploadsStatus($longUploadsStatus) + { + $this->longUploadsStatus = $longUploadsStatus; + } + public function getLongUploadsStatus() + { + return $this->longUploadsStatus; + } + public function setPrivacyStatus($privacyStatus) + { + $this->privacyStatus = $privacyStatus; + } + public function getPrivacyStatus() + { + return $this->privacyStatus; + } +} + +class Google_Service_YouTube_ChannelTopicDetails extends Google_Collection +{ + protected $collection_key = 'topicIds'; + protected $internal_gapi_mappings = array( + ); + public $topicIds; + + + public function setTopicIds($topicIds) + { + $this->topicIds = $topicIds; + } + public function getTopicIds() + { + return $this->topicIds; + } +} + +class Google_Service_YouTube_Comment extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $etag; + public $id; + public $kind; + protected $snippetType = 'Google_Service_YouTube_CommentSnippet'; + protected $snippetDataType = ''; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSnippet(Google_Service_YouTube_CommentSnippet $snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } +} + +class Google_Service_YouTube_CommentListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + public $eventId; + protected $itemsType = 'Google_Service_YouTube_Comment'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + protected $pageInfoType = 'Google_Service_YouTube_PageInfo'; + protected $pageInfoDataType = ''; + protected $tokenPaginationType = 'Google_Service_YouTube_TokenPagination'; + protected $tokenPaginationDataType = ''; + public $visitorId; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo) + { + $this->pageInfo = $pageInfo; + } + public function getPageInfo() + { + return $this->pageInfo; + } + public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination) + { + $this->tokenPagination = $tokenPagination; + } + public function getTokenPagination() + { + return $this->tokenPagination; + } + public function setVisitorId($visitorId) + { + $this->visitorId = $visitorId; + } + public function getVisitorId() + { + return $this->visitorId; + } +} + +class Google_Service_YouTube_CommentSnippet extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $authorChannelIdType = 'Google_Service_YouTube_ChannelId'; + protected $authorChannelIdDataType = ''; + public $authorChannelUrl; + public $authorDisplayName; + public $authorGoogleplusProfileUrl; + public $authorProfileImageUrl; + public $canRate; + public $channelId; + public $likeCount; + public $moderationStatus; + public $parentId; + public $publishedAt; + public $textDisplay; + public $textOriginal; + public $updatedAt; + public $videoId; + public $viewerRating; + + + public function setAuthorChannelId(Google_Service_YouTube_ChannelId $authorChannelId) + { + $this->authorChannelId = $authorChannelId; + } + public function getAuthorChannelId() + { + return $this->authorChannelId; + } + public function setAuthorChannelUrl($authorChannelUrl) + { + $this->authorChannelUrl = $authorChannelUrl; + } + public function getAuthorChannelUrl() + { + return $this->authorChannelUrl; + } + public function setAuthorDisplayName($authorDisplayName) + { + $this->authorDisplayName = $authorDisplayName; + } + public function getAuthorDisplayName() + { + return $this->authorDisplayName; + } + public function setAuthorGoogleplusProfileUrl($authorGoogleplusProfileUrl) + { + $this->authorGoogleplusProfileUrl = $authorGoogleplusProfileUrl; + } + public function getAuthorGoogleplusProfileUrl() + { + return $this->authorGoogleplusProfileUrl; + } + public function setAuthorProfileImageUrl($authorProfileImageUrl) + { + $this->authorProfileImageUrl = $authorProfileImageUrl; + } + public function getAuthorProfileImageUrl() + { + return $this->authorProfileImageUrl; + } + public function setCanRate($canRate) + { + $this->canRate = $canRate; + } + public function getCanRate() + { + return $this->canRate; + } + public function setChannelId($channelId) + { + $this->channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } + public function setLikeCount($likeCount) + { + $this->likeCount = $likeCount; + } + public function getLikeCount() + { + return $this->likeCount; + } + public function setModerationStatus($moderationStatus) + { + $this->moderationStatus = $moderationStatus; + } + public function getModerationStatus() + { + return $this->moderationStatus; + } + public function setParentId($parentId) + { + $this->parentId = $parentId; + } + public function getParentId() + { + return $this->parentId; + } + public function setPublishedAt($publishedAt) + { + $this->publishedAt = $publishedAt; + } + public function getPublishedAt() + { + return $this->publishedAt; + } + public function setTextDisplay($textDisplay) + { + $this->textDisplay = $textDisplay; + } + public function getTextDisplay() + { + return $this->textDisplay; + } + public function setTextOriginal($textOriginal) + { + $this->textOriginal = $textOriginal; + } + public function getTextOriginal() + { + return $this->textOriginal; + } + public function setUpdatedAt($updatedAt) + { + $this->updatedAt = $updatedAt; + } + public function getUpdatedAt() + { + return $this->updatedAt; + } + public function setVideoId($videoId) + { + $this->videoId = $videoId; + } + public function getVideoId() + { + return $this->videoId; + } + public function setViewerRating($viewerRating) + { + $this->viewerRating = $viewerRating; + } + public function getViewerRating() + { + return $this->viewerRating; + } +} + +class Google_Service_YouTube_CommentThread extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $etag; + public $id; + public $kind; + protected $repliesType = 'Google_Service_YouTube_CommentThreadReplies'; + protected $repliesDataType = ''; + protected $snippetType = 'Google_Service_YouTube_CommentThreadSnippet'; + protected $snippetDataType = ''; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setReplies(Google_Service_YouTube_CommentThreadReplies $replies) + { + $this->replies = $replies; + } + public function getReplies() + { + return $this->replies; + } + public function setSnippet(Google_Service_YouTube_CommentThreadSnippet $snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } +} + +class Google_Service_YouTube_CommentThreadListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + public $eventId; + protected $itemsType = 'Google_Service_YouTube_CommentThread'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + protected $pageInfoType = 'Google_Service_YouTube_PageInfo'; + protected $pageInfoDataType = ''; + protected $tokenPaginationType = 'Google_Service_YouTube_TokenPagination'; + protected $tokenPaginationDataType = ''; + public $visitorId; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo) + { + $this->pageInfo = $pageInfo; + } + public function getPageInfo() + { + return $this->pageInfo; + } + public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination) + { + $this->tokenPagination = $tokenPagination; + } + public function getTokenPagination() + { + return $this->tokenPagination; + } + public function setVisitorId($visitorId) + { + $this->visitorId = $visitorId; + } + public function getVisitorId() + { + return $this->visitorId; + } +} + +class Google_Service_YouTube_CommentThreadReplies extends Google_Collection +{ + protected $collection_key = 'comments'; + protected $internal_gapi_mappings = array( + ); + protected $commentsType = 'Google_Service_YouTube_Comment'; + protected $commentsDataType = 'array'; + + + public function setComments($comments) + { + $this->comments = $comments; + } + public function getComments() + { + return $this->comments; + } +} + +class Google_Service_YouTube_CommentThreadSnippet extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $canReply; + public $channelId; + public $isPublic; + protected $topLevelCommentType = 'Google_Service_YouTube_Comment'; + protected $topLevelCommentDataType = ''; + public $totalReplyCount; + public $videoId; + + + public function setCanReply($canReply) + { + $this->canReply = $canReply; + } + public function getCanReply() + { + return $this->canReply; + } + public function setChannelId($channelId) + { + $this->channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } + public function setIsPublic($isPublic) + { + $this->isPublic = $isPublic; + } + public function getIsPublic() + { + return $this->isPublic; + } + public function setTopLevelComment(Google_Service_YouTube_Comment $topLevelComment) + { + $this->topLevelComment = $topLevelComment; + } + public function getTopLevelComment() + { + return $this->topLevelComment; + } + public function setTotalReplyCount($totalReplyCount) + { + $this->totalReplyCount = $totalReplyCount; + } + public function getTotalReplyCount() + { + return $this->totalReplyCount; + } + public function setVideoId($videoId) + { + $this->videoId = $videoId; + } + public function getVideoId() + { + return $this->videoId; + } +} + +class Google_Service_YouTube_ContentRating extends Google_Collection +{ + protected $collection_key = 'djctqRatingReasons'; + protected $internal_gapi_mappings = array( + ); + public $acbRating; + public $agcomRating; + public $anatelRating; + public $bbfcRating; + public $bfvcRating; + public $bmukkRating; + public $catvRating; + public $catvfrRating; + public $cbfcRating; + public $cccRating; + public $cceRating; + public $chfilmRating; + public $chvrsRating; + public $cicfRating; + public $cnaRating; + public $cncRating; + public $csaRating; + public $cscfRating; + public $czfilmRating; + public $djctqRating; + public $djctqRatingReasons; + public $eefilmRating; + public $egfilmRating; + public $eirinRating; + public $fcbmRating; + public $fcoRating; + public $fmocRating; + public $fpbRating; + public $fskRating; + public $grfilmRating; + public $icaaRating; + public $ifcoRating; + public $ilfilmRating; + public $incaaRating; + public $kfcbRating; + public $kijkwijzerRating; + public $kmrbRating; + public $lsfRating; + public $mccaaRating; + public $mccypRating; + public $mdaRating; + public $medietilsynetRating; + public $mekuRating; + public $mibacRating; + public $mocRating; + public $moctwRating; + public $mpaaRating; + public $mtrcbRating; + public $nbcRating; + public $nbcplRating; + public $nfrcRating; + public $nfvcbRating; + public $nkclvRating; + public $oflcRating; + public $pefilmRating; + public $rcnofRating; + public $resorteviolenciaRating; + public $rtcRating; + public $rteRating; + public $russiaRating; + public $skfilmRating; + public $smaisRating; + public $smsaRating; + public $tvpgRating; + public $ytRating; + + + public function setAcbRating($acbRating) + { + $this->acbRating = $acbRating; + } + public function getAcbRating() + { + return $this->acbRating; + } + public function setAgcomRating($agcomRating) + { + $this->agcomRating = $agcomRating; + } + public function getAgcomRating() + { + return $this->agcomRating; + } + public function setAnatelRating($anatelRating) + { + $this->anatelRating = $anatelRating; + } + public function getAnatelRating() + { + return $this->anatelRating; + } + public function setBbfcRating($bbfcRating) + { + $this->bbfcRating = $bbfcRating; + } + public function getBbfcRating() + { + return $this->bbfcRating; + } + public function setBfvcRating($bfvcRating) + { + $this->bfvcRating = $bfvcRating; + } + public function getBfvcRating() + { + return $this->bfvcRating; + } + public function setBmukkRating($bmukkRating) + { + $this->bmukkRating = $bmukkRating; + } + public function getBmukkRating() + { + return $this->bmukkRating; + } + public function setCatvRating($catvRating) + { + $this->catvRating = $catvRating; + } + public function getCatvRating() + { + return $this->catvRating; + } + public function setCatvfrRating($catvfrRating) + { + $this->catvfrRating = $catvfrRating; + } + public function getCatvfrRating() + { + return $this->catvfrRating; + } + public function setCbfcRating($cbfcRating) + { + $this->cbfcRating = $cbfcRating; + } + public function getCbfcRating() + { + return $this->cbfcRating; + } + public function setCccRating($cccRating) + { + $this->cccRating = $cccRating; + } + public function getCccRating() + { + return $this->cccRating; + } + public function setCceRating($cceRating) + { + $this->cceRating = $cceRating; + } + public function getCceRating() + { + return $this->cceRating; + } + public function setChfilmRating($chfilmRating) + { + $this->chfilmRating = $chfilmRating; + } + public function getChfilmRating() + { + return $this->chfilmRating; + } + public function setChvrsRating($chvrsRating) + { + $this->chvrsRating = $chvrsRating; + } + public function getChvrsRating() + { + return $this->chvrsRating; + } + public function setCicfRating($cicfRating) + { + $this->cicfRating = $cicfRating; + } + public function getCicfRating() + { + return $this->cicfRating; + } + public function setCnaRating($cnaRating) + { + $this->cnaRating = $cnaRating; + } + public function getCnaRating() + { + return $this->cnaRating; + } + public function setCncRating($cncRating) + { + $this->cncRating = $cncRating; + } + public function getCncRating() + { + return $this->cncRating; + } + public function setCsaRating($csaRating) + { + $this->csaRating = $csaRating; + } + public function getCsaRating() + { + return $this->csaRating; + } + public function setCscfRating($cscfRating) + { + $this->cscfRating = $cscfRating; + } + public function getCscfRating() + { + return $this->cscfRating; + } + public function setCzfilmRating($czfilmRating) + { + $this->czfilmRating = $czfilmRating; + } + public function getCzfilmRating() + { + return $this->czfilmRating; + } + public function setDjctqRating($djctqRating) + { + $this->djctqRating = $djctqRating; + } + public function getDjctqRating() + { + return $this->djctqRating; + } + public function setDjctqRatingReasons($djctqRatingReasons) + { + $this->djctqRatingReasons = $djctqRatingReasons; + } + public function getDjctqRatingReasons() + { + return $this->djctqRatingReasons; + } + public function setEefilmRating($eefilmRating) + { + $this->eefilmRating = $eefilmRating; + } + public function getEefilmRating() + { + return $this->eefilmRating; + } + public function setEgfilmRating($egfilmRating) + { + $this->egfilmRating = $egfilmRating; + } + public function getEgfilmRating() + { + return $this->egfilmRating; + } + public function setEirinRating($eirinRating) + { + $this->eirinRating = $eirinRating; + } + public function getEirinRating() + { + return $this->eirinRating; + } + public function setFcbmRating($fcbmRating) + { + $this->fcbmRating = $fcbmRating; + } + public function getFcbmRating() + { + return $this->fcbmRating; + } + public function setFcoRating($fcoRating) + { + $this->fcoRating = $fcoRating; + } + public function getFcoRating() + { + return $this->fcoRating; + } + public function setFmocRating($fmocRating) + { + $this->fmocRating = $fmocRating; + } + public function getFmocRating() + { + return $this->fmocRating; + } + public function setFpbRating($fpbRating) + { + $this->fpbRating = $fpbRating; + } + public function getFpbRating() + { + return $this->fpbRating; + } + public function setFskRating($fskRating) + { + $this->fskRating = $fskRating; + } + public function getFskRating() + { + return $this->fskRating; + } + public function setGrfilmRating($grfilmRating) + { + $this->grfilmRating = $grfilmRating; + } + public function getGrfilmRating() + { + return $this->grfilmRating; + } + public function setIcaaRating($icaaRating) + { + $this->icaaRating = $icaaRating; + } + public function getIcaaRating() + { + return $this->icaaRating; + } + public function setIfcoRating($ifcoRating) + { + $this->ifcoRating = $ifcoRating; + } + public function getIfcoRating() + { + return $this->ifcoRating; + } + public function setIlfilmRating($ilfilmRating) + { + $this->ilfilmRating = $ilfilmRating; + } + public function getIlfilmRating() + { + return $this->ilfilmRating; + } + public function setIncaaRating($incaaRating) + { + $this->incaaRating = $incaaRating; + } + public function getIncaaRating() + { + return $this->incaaRating; + } + public function setKfcbRating($kfcbRating) + { + $this->kfcbRating = $kfcbRating; + } + public function getKfcbRating() + { + return $this->kfcbRating; + } + public function setKijkwijzerRating($kijkwijzerRating) + { + $this->kijkwijzerRating = $kijkwijzerRating; + } + public function getKijkwijzerRating() + { + return $this->kijkwijzerRating; + } + public function setKmrbRating($kmrbRating) + { + $this->kmrbRating = $kmrbRating; + } + public function getKmrbRating() + { + return $this->kmrbRating; + } + public function setLsfRating($lsfRating) + { + $this->lsfRating = $lsfRating; + } + public function getLsfRating() + { + return $this->lsfRating; + } + public function setMccaaRating($mccaaRating) + { + $this->mccaaRating = $mccaaRating; + } + public function getMccaaRating() + { + return $this->mccaaRating; + } + public function setMccypRating($mccypRating) + { + $this->mccypRating = $mccypRating; + } + public function getMccypRating() + { + return $this->mccypRating; + } + public function setMdaRating($mdaRating) + { + $this->mdaRating = $mdaRating; + } + public function getMdaRating() + { + return $this->mdaRating; + } + public function setMedietilsynetRating($medietilsynetRating) + { + $this->medietilsynetRating = $medietilsynetRating; + } + public function getMedietilsynetRating() + { + return $this->medietilsynetRating; + } + public function setMekuRating($mekuRating) + { + $this->mekuRating = $mekuRating; + } + public function getMekuRating() + { + return $this->mekuRating; + } + public function setMibacRating($mibacRating) + { + $this->mibacRating = $mibacRating; + } + public function getMibacRating() + { + return $this->mibacRating; + } + public function setMocRating($mocRating) + { + $this->mocRating = $mocRating; + } + public function getMocRating() + { + return $this->mocRating; + } + public function setMoctwRating($moctwRating) + { + $this->moctwRating = $moctwRating; + } + public function getMoctwRating() + { + return $this->moctwRating; + } + public function setMpaaRating($mpaaRating) + { + $this->mpaaRating = $mpaaRating; + } + public function getMpaaRating() + { + return $this->mpaaRating; + } + public function setMtrcbRating($mtrcbRating) + { + $this->mtrcbRating = $mtrcbRating; + } + public function getMtrcbRating() + { + return $this->mtrcbRating; + } + public function setNbcRating($nbcRating) + { + $this->nbcRating = $nbcRating; + } + public function getNbcRating() + { + return $this->nbcRating; + } + public function setNbcplRating($nbcplRating) + { + $this->nbcplRating = $nbcplRating; + } + public function getNbcplRating() + { + return $this->nbcplRating; + } + public function setNfrcRating($nfrcRating) + { + $this->nfrcRating = $nfrcRating; + } + public function getNfrcRating() + { + return $this->nfrcRating; + } + public function setNfvcbRating($nfvcbRating) + { + $this->nfvcbRating = $nfvcbRating; + } + public function getNfvcbRating() + { + return $this->nfvcbRating; + } + public function setNkclvRating($nkclvRating) + { + $this->nkclvRating = $nkclvRating; + } + public function getNkclvRating() + { + return $this->nkclvRating; + } + public function setOflcRating($oflcRating) + { + $this->oflcRating = $oflcRating; + } + public function getOflcRating() + { + return $this->oflcRating; + } + public function setPefilmRating($pefilmRating) + { + $this->pefilmRating = $pefilmRating; + } + public function getPefilmRating() + { + return $this->pefilmRating; + } + public function setRcnofRating($rcnofRating) + { + $this->rcnofRating = $rcnofRating; + } + public function getRcnofRating() + { + return $this->rcnofRating; + } + public function setResorteviolenciaRating($resorteviolenciaRating) + { + $this->resorteviolenciaRating = $resorteviolenciaRating; + } + public function getResorteviolenciaRating() + { + return $this->resorteviolenciaRating; + } + public function setRtcRating($rtcRating) + { + $this->rtcRating = $rtcRating; + } + public function getRtcRating() + { + return $this->rtcRating; + } + public function setRteRating($rteRating) + { + $this->rteRating = $rteRating; + } + public function getRteRating() + { + return $this->rteRating; + } + public function setRussiaRating($russiaRating) + { + $this->russiaRating = $russiaRating; + } + public function getRussiaRating() + { + return $this->russiaRating; + } + public function setSkfilmRating($skfilmRating) + { + $this->skfilmRating = $skfilmRating; + } + public function getSkfilmRating() + { + return $this->skfilmRating; + } + public function setSmaisRating($smaisRating) + { + $this->smaisRating = $smaisRating; + } + public function getSmaisRating() + { + return $this->smaisRating; + } + public function setSmsaRating($smsaRating) + { + $this->smsaRating = $smsaRating; + } + public function getSmsaRating() + { + return $this->smsaRating; + } + public function setTvpgRating($tvpgRating) + { + $this->tvpgRating = $tvpgRating; + } + public function getTvpgRating() + { + return $this->tvpgRating; + } + public function setYtRating($ytRating) + { + $this->ytRating = $ytRating; + } + public function getYtRating() + { + return $this->ytRating; + } +} + +class Google_Service_YouTube_GeoPoint extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $altitude; + public $latitude; + public $longitude; + + + public function setAltitude($altitude) + { + $this->altitude = $altitude; + } + public function getAltitude() + { + return $this->altitude; + } + public function setLatitude($latitude) + { + $this->latitude = $latitude; + } + public function getLatitude() + { + return $this->latitude; + } + public function setLongitude($longitude) + { + $this->longitude = $longitude; + } + public function getLongitude() + { + return $this->longitude; + } +} + +class Google_Service_YouTube_GuideCategory extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $etag; + public $id; + public $kind; + protected $snippetType = 'Google_Service_YouTube_GuideCategorySnippet'; + protected $snippetDataType = ''; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSnippet(Google_Service_YouTube_GuideCategorySnippet $snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } +} + +class Google_Service_YouTube_GuideCategoryListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + public $eventId; + protected $itemsType = 'Google_Service_YouTube_GuideCategory'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + protected $pageInfoType = 'Google_Service_YouTube_PageInfo'; + protected $pageInfoDataType = ''; + public $prevPageToken; + protected $tokenPaginationType = 'Google_Service_YouTube_TokenPagination'; + protected $tokenPaginationDataType = ''; + public $visitorId; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo) + { + $this->pageInfo = $pageInfo; + } + public function getPageInfo() + { + return $this->pageInfo; + } + public function setPrevPageToken($prevPageToken) + { + $this->prevPageToken = $prevPageToken; + } + public function getPrevPageToken() + { + return $this->prevPageToken; + } + public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination) + { + $this->tokenPagination = $tokenPagination; + } + public function getTokenPagination() + { + return $this->tokenPagination; + } + public function setVisitorId($visitorId) + { + $this->visitorId = $visitorId; + } + public function getVisitorId() + { + return $this->visitorId; + } +} + +class Google_Service_YouTube_GuideCategorySnippet extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $channelId; + public $title; + + + public function setChannelId($channelId) + { + $this->channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} + +class Google_Service_YouTube_I18nLanguage extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $etag; + public $id; + public $kind; + protected $snippetType = 'Google_Service_YouTube_I18nLanguageSnippet'; + protected $snippetDataType = ''; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSnippet(Google_Service_YouTube_I18nLanguageSnippet $snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } +} + +class Google_Service_YouTube_I18nLanguageListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + public $eventId; + protected $itemsType = 'Google_Service_YouTube_I18nLanguage'; + protected $itemsDataType = 'array'; + public $kind; + public $visitorId; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setVisitorId($visitorId) + { + $this->visitorId = $visitorId; + } + public function getVisitorId() + { + return $this->visitorId; + } +} + +class Google_Service_YouTube_I18nLanguageSnippet extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $hl; + public $name; + + + public function setHl($hl) + { + $this->hl = $hl; + } + public function getHl() + { + return $this->hl; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_YouTube_I18nRegion extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $etag; + public $id; + public $kind; + protected $snippetType = 'Google_Service_YouTube_I18nRegionSnippet'; + protected $snippetDataType = ''; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSnippet(Google_Service_YouTube_I18nRegionSnippet $snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } +} + +class Google_Service_YouTube_I18nRegionListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + public $eventId; + protected $itemsType = 'Google_Service_YouTube_I18nRegion'; + protected $itemsDataType = 'array'; + public $kind; + public $visitorId; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setVisitorId($visitorId) + { + $this->visitorId = $visitorId; + } + public function getVisitorId() + { + return $this->visitorId; + } +} + +class Google_Service_YouTube_I18nRegionSnippet extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $gl; + public $name; + + + public function setGl($gl) + { + $this->gl = $gl; + } + public function getGl() + { + return $this->gl; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} + +class Google_Service_YouTube_ImageSettings extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $backgroundImageUrlType = 'Google_Service_YouTube_LocalizedProperty'; + protected $backgroundImageUrlDataType = ''; + public $bannerExternalUrl; + public $bannerImageUrl; + public $bannerMobileExtraHdImageUrl; + public $bannerMobileHdImageUrl; + public $bannerMobileImageUrl; + public $bannerMobileLowImageUrl; + public $bannerMobileMediumHdImageUrl; + public $bannerTabletExtraHdImageUrl; + public $bannerTabletHdImageUrl; + public $bannerTabletImageUrl; + public $bannerTabletLowImageUrl; + public $bannerTvHighImageUrl; + public $bannerTvImageUrl; + public $bannerTvLowImageUrl; + public $bannerTvMediumImageUrl; + protected $largeBrandedBannerImageImapScriptType = 'Google_Service_YouTube_LocalizedProperty'; + protected $largeBrandedBannerImageImapScriptDataType = ''; + protected $largeBrandedBannerImageUrlType = 'Google_Service_YouTube_LocalizedProperty'; + protected $largeBrandedBannerImageUrlDataType = ''; + protected $smallBrandedBannerImageImapScriptType = 'Google_Service_YouTube_LocalizedProperty'; + protected $smallBrandedBannerImageImapScriptDataType = ''; + protected $smallBrandedBannerImageUrlType = 'Google_Service_YouTube_LocalizedProperty'; + protected $smallBrandedBannerImageUrlDataType = ''; + public $trackingImageUrl; + public $watchIconImageUrl; + + + public function setBackgroundImageUrl(Google_Service_YouTube_LocalizedProperty $backgroundImageUrl) + { + $this->backgroundImageUrl = $backgroundImageUrl; + } + public function getBackgroundImageUrl() + { + return $this->backgroundImageUrl; + } + public function setBannerExternalUrl($bannerExternalUrl) + { + $this->bannerExternalUrl = $bannerExternalUrl; + } + public function getBannerExternalUrl() + { + return $this->bannerExternalUrl; + } + public function setBannerImageUrl($bannerImageUrl) + { + $this->bannerImageUrl = $bannerImageUrl; + } + public function getBannerImageUrl() + { + return $this->bannerImageUrl; + } + public function setBannerMobileExtraHdImageUrl($bannerMobileExtraHdImageUrl) + { + $this->bannerMobileExtraHdImageUrl = $bannerMobileExtraHdImageUrl; + } + public function getBannerMobileExtraHdImageUrl() + { + return $this->bannerMobileExtraHdImageUrl; + } + public function setBannerMobileHdImageUrl($bannerMobileHdImageUrl) + { + $this->bannerMobileHdImageUrl = $bannerMobileHdImageUrl; + } + public function getBannerMobileHdImageUrl() + { + return $this->bannerMobileHdImageUrl; + } + public function setBannerMobileImageUrl($bannerMobileImageUrl) + { + $this->bannerMobileImageUrl = $bannerMobileImageUrl; + } + public function getBannerMobileImageUrl() + { + return $this->bannerMobileImageUrl; + } + public function setBannerMobileLowImageUrl($bannerMobileLowImageUrl) + { + $this->bannerMobileLowImageUrl = $bannerMobileLowImageUrl; + } + public function getBannerMobileLowImageUrl() + { + return $this->bannerMobileLowImageUrl; + } + public function setBannerMobileMediumHdImageUrl($bannerMobileMediumHdImageUrl) + { + $this->bannerMobileMediumHdImageUrl = $bannerMobileMediumHdImageUrl; + } + public function getBannerMobileMediumHdImageUrl() + { + return $this->bannerMobileMediumHdImageUrl; + } + public function setBannerTabletExtraHdImageUrl($bannerTabletExtraHdImageUrl) + { + $this->bannerTabletExtraHdImageUrl = $bannerTabletExtraHdImageUrl; + } + public function getBannerTabletExtraHdImageUrl() + { + return $this->bannerTabletExtraHdImageUrl; + } + public function setBannerTabletHdImageUrl($bannerTabletHdImageUrl) + { + $this->bannerTabletHdImageUrl = $bannerTabletHdImageUrl; + } + public function getBannerTabletHdImageUrl() + { + return $this->bannerTabletHdImageUrl; + } + public function setBannerTabletImageUrl($bannerTabletImageUrl) + { + $this->bannerTabletImageUrl = $bannerTabletImageUrl; + } + public function getBannerTabletImageUrl() + { + return $this->bannerTabletImageUrl; + } + public function setBannerTabletLowImageUrl($bannerTabletLowImageUrl) + { + $this->bannerTabletLowImageUrl = $bannerTabletLowImageUrl; + } + public function getBannerTabletLowImageUrl() + { + return $this->bannerTabletLowImageUrl; + } + public function setBannerTvHighImageUrl($bannerTvHighImageUrl) + { + $this->bannerTvHighImageUrl = $bannerTvHighImageUrl; + } + public function getBannerTvHighImageUrl() + { + return $this->bannerTvHighImageUrl; + } + public function setBannerTvImageUrl($bannerTvImageUrl) + { + $this->bannerTvImageUrl = $bannerTvImageUrl; + } + public function getBannerTvImageUrl() + { + return $this->bannerTvImageUrl; + } + public function setBannerTvLowImageUrl($bannerTvLowImageUrl) + { + $this->bannerTvLowImageUrl = $bannerTvLowImageUrl; + } + public function getBannerTvLowImageUrl() + { + return $this->bannerTvLowImageUrl; + } + public function setBannerTvMediumImageUrl($bannerTvMediumImageUrl) + { + $this->bannerTvMediumImageUrl = $bannerTvMediumImageUrl; + } + public function getBannerTvMediumImageUrl() + { + return $this->bannerTvMediumImageUrl; + } + public function setLargeBrandedBannerImageImapScript(Google_Service_YouTube_LocalizedProperty $largeBrandedBannerImageImapScript) + { + $this->largeBrandedBannerImageImapScript = $largeBrandedBannerImageImapScript; + } + public function getLargeBrandedBannerImageImapScript() + { + return $this->largeBrandedBannerImageImapScript; + } + public function setLargeBrandedBannerImageUrl(Google_Service_YouTube_LocalizedProperty $largeBrandedBannerImageUrl) + { + $this->largeBrandedBannerImageUrl = $largeBrandedBannerImageUrl; + } + public function getLargeBrandedBannerImageUrl() + { + return $this->largeBrandedBannerImageUrl; + } + public function setSmallBrandedBannerImageImapScript(Google_Service_YouTube_LocalizedProperty $smallBrandedBannerImageImapScript) + { + $this->smallBrandedBannerImageImapScript = $smallBrandedBannerImageImapScript; + } + public function getSmallBrandedBannerImageImapScript() + { + return $this->smallBrandedBannerImageImapScript; + } + public function setSmallBrandedBannerImageUrl(Google_Service_YouTube_LocalizedProperty $smallBrandedBannerImageUrl) + { + $this->smallBrandedBannerImageUrl = $smallBrandedBannerImageUrl; + } + public function getSmallBrandedBannerImageUrl() + { + return $this->smallBrandedBannerImageUrl; + } + public function setTrackingImageUrl($trackingImageUrl) + { + $this->trackingImageUrl = $trackingImageUrl; + } + public function getTrackingImageUrl() + { + return $this->trackingImageUrl; + } + public function setWatchIconImageUrl($watchIconImageUrl) + { + $this->watchIconImageUrl = $watchIconImageUrl; + } + public function getWatchIconImageUrl() + { + return $this->watchIconImageUrl; + } +} + +class Google_Service_YouTube_IngestionInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $backupIngestionAddress; + public $ingestionAddress; + public $streamName; + + + public function setBackupIngestionAddress($backupIngestionAddress) + { + $this->backupIngestionAddress = $backupIngestionAddress; + } + public function getBackupIngestionAddress() + { + return $this->backupIngestionAddress; + } + public function setIngestionAddress($ingestionAddress) + { + $this->ingestionAddress = $ingestionAddress; + } + public function getIngestionAddress() + { + return $this->ingestionAddress; + } + public function setStreamName($streamName) + { + $this->streamName = $streamName; + } + public function getStreamName() + { + return $this->streamName; + } +} + +class Google_Service_YouTube_InvideoBranding extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $imageBytes; + public $imageUrl; + protected $positionType = 'Google_Service_YouTube_InvideoPosition'; + protected $positionDataType = ''; + public $targetChannelId; + protected $timingType = 'Google_Service_YouTube_InvideoTiming'; + protected $timingDataType = ''; + + + public function setImageBytes($imageBytes) + { + $this->imageBytes = $imageBytes; + } + public function getImageBytes() + { + return $this->imageBytes; + } + public function setImageUrl($imageUrl) + { + $this->imageUrl = $imageUrl; + } + public function getImageUrl() + { + return $this->imageUrl; + } + public function setPosition(Google_Service_YouTube_InvideoPosition $position) + { + $this->position = $position; + } + public function getPosition() + { + return $this->position; + } + public function setTargetChannelId($targetChannelId) + { + $this->targetChannelId = $targetChannelId; + } + public function getTargetChannelId() + { + return $this->targetChannelId; + } + public function setTiming(Google_Service_YouTube_InvideoTiming $timing) + { + $this->timing = $timing; + } + public function getTiming() + { + return $this->timing; + } +} + +class Google_Service_YouTube_InvideoPosition extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $cornerPosition; + public $type; + + + public function setCornerPosition($cornerPosition) + { + $this->cornerPosition = $cornerPosition; + } + public function getCornerPosition() + { + return $this->cornerPosition; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_YouTube_InvideoPromotion extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $defaultTimingType = 'Google_Service_YouTube_InvideoTiming'; + protected $defaultTimingDataType = ''; + protected $itemsType = 'Google_Service_YouTube_PromotedItem'; + protected $itemsDataType = 'array'; + protected $positionType = 'Google_Service_YouTube_InvideoPosition'; + protected $positionDataType = ''; + public $useSmartTiming; + + + public function setDefaultTiming(Google_Service_YouTube_InvideoTiming $defaultTiming) + { + $this->defaultTiming = $defaultTiming; + } + public function getDefaultTiming() + { + return $this->defaultTiming; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setPosition(Google_Service_YouTube_InvideoPosition $position) + { + $this->position = $position; + } + public function getPosition() + { + return $this->position; + } + public function setUseSmartTiming($useSmartTiming) + { + $this->useSmartTiming = $useSmartTiming; + } + public function getUseSmartTiming() + { + return $this->useSmartTiming; + } +} + +class Google_Service_YouTube_InvideoTiming extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $durationMs; + public $offsetMs; + public $type; + + + public function setDurationMs($durationMs) + { + $this->durationMs = $durationMs; + } + public function getDurationMs() + { + return $this->durationMs; + } + public function setOffsetMs($offsetMs) + { + $this->offsetMs = $offsetMs; + } + public function getOffsetMs() + { + return $this->offsetMs; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_YouTube_LanguageTag extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $value; + + + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_YouTube_LiveBroadcast extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $contentDetailsType = 'Google_Service_YouTube_LiveBroadcastContentDetails'; + protected $contentDetailsDataType = ''; + public $etag; + public $id; + public $kind; + protected $snippetType = 'Google_Service_YouTube_LiveBroadcastSnippet'; + protected $snippetDataType = ''; + protected $statisticsType = 'Google_Service_YouTube_LiveBroadcastStatistics'; + protected $statisticsDataType = ''; + protected $statusType = 'Google_Service_YouTube_LiveBroadcastStatus'; + protected $statusDataType = ''; + protected $topicDetailsType = 'Google_Service_YouTube_LiveBroadcastTopicDetails'; + protected $topicDetailsDataType = ''; + + + public function setContentDetails(Google_Service_YouTube_LiveBroadcastContentDetails $contentDetails) + { + $this->contentDetails = $contentDetails; + } + public function getContentDetails() + { + return $this->contentDetails; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSnippet(Google_Service_YouTube_LiveBroadcastSnippet $snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } + public function setStatistics(Google_Service_YouTube_LiveBroadcastStatistics $statistics) + { + $this->statistics = $statistics; + } + public function getStatistics() + { + return $this->statistics; + } + public function setStatus(Google_Service_YouTube_LiveBroadcastStatus $status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setTopicDetails(Google_Service_YouTube_LiveBroadcastTopicDetails $topicDetails) + { + $this->topicDetails = $topicDetails; + } + public function getTopicDetails() + { + return $this->topicDetails; + } +} + +class Google_Service_YouTube_LiveBroadcastContentDetails extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $boundStreamId; + public $enableClosedCaptions; + public $enableContentEncryption; + public $enableDvr; + public $enableEmbed; + public $enableLowLatency; + protected $monitorStreamType = 'Google_Service_YouTube_MonitorStreamInfo'; + protected $monitorStreamDataType = ''; + public $recordFromStart; + public $startWithSlate; + + + public function setBoundStreamId($boundStreamId) + { + $this->boundStreamId = $boundStreamId; + } + public function getBoundStreamId() + { + return $this->boundStreamId; + } + public function setEnableClosedCaptions($enableClosedCaptions) + { + $this->enableClosedCaptions = $enableClosedCaptions; + } + public function getEnableClosedCaptions() + { + return $this->enableClosedCaptions; + } + public function setEnableContentEncryption($enableContentEncryption) + { + $this->enableContentEncryption = $enableContentEncryption; + } + public function getEnableContentEncryption() + { + return $this->enableContentEncryption; + } + public function setEnableDvr($enableDvr) + { + $this->enableDvr = $enableDvr; + } + public function getEnableDvr() + { + return $this->enableDvr; + } + public function setEnableEmbed($enableEmbed) + { + $this->enableEmbed = $enableEmbed; + } + public function getEnableEmbed() + { + return $this->enableEmbed; + } + public function setEnableLowLatency($enableLowLatency) + { + $this->enableLowLatency = $enableLowLatency; + } + public function getEnableLowLatency() + { + return $this->enableLowLatency; + } + public function setMonitorStream(Google_Service_YouTube_MonitorStreamInfo $monitorStream) + { + $this->monitorStream = $monitorStream; + } + public function getMonitorStream() + { + return $this->monitorStream; + } + public function setRecordFromStart($recordFromStart) + { + $this->recordFromStart = $recordFromStart; + } + public function getRecordFromStart() + { + return $this->recordFromStart; + } + public function setStartWithSlate($startWithSlate) + { + $this->startWithSlate = $startWithSlate; + } + public function getStartWithSlate() + { + return $this->startWithSlate; + } +} + +class Google_Service_YouTube_LiveBroadcastListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + public $eventId; + protected $itemsType = 'Google_Service_YouTube_LiveBroadcast'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + protected $pageInfoType = 'Google_Service_YouTube_PageInfo'; + protected $pageInfoDataType = ''; + public $prevPageToken; + protected $tokenPaginationType = 'Google_Service_YouTube_TokenPagination'; + protected $tokenPaginationDataType = ''; + public $visitorId; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo) + { + $this->pageInfo = $pageInfo; + } + public function getPageInfo() + { + return $this->pageInfo; + } + public function setPrevPageToken($prevPageToken) + { + $this->prevPageToken = $prevPageToken; + } + public function getPrevPageToken() + { + return $this->prevPageToken; + } + public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination) + { + $this->tokenPagination = $tokenPagination; + } + public function getTokenPagination() + { + return $this->tokenPagination; + } + public function setVisitorId($visitorId) + { + $this->visitorId = $visitorId; + } + public function getVisitorId() + { + return $this->visitorId; + } +} + +class Google_Service_YouTube_LiveBroadcastSnippet extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $actualEndTime; + public $actualStartTime; + public $channelId; + public $description; + public $isDefaultBroadcast; + public $liveChatId; + public $publishedAt; + public $scheduledEndTime; + public $scheduledStartTime; + protected $thumbnailsType = 'Google_Service_YouTube_ThumbnailDetails'; + protected $thumbnailsDataType = ''; + public $title; + + + public function setActualEndTime($actualEndTime) + { + $this->actualEndTime = $actualEndTime; + } + public function getActualEndTime() + { + return $this->actualEndTime; + } + public function setActualStartTime($actualStartTime) + { + $this->actualStartTime = $actualStartTime; + } + public function getActualStartTime() + { + return $this->actualStartTime; + } + public function setChannelId($channelId) + { + $this->channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setIsDefaultBroadcast($isDefaultBroadcast) + { + $this->isDefaultBroadcast = $isDefaultBroadcast; + } + public function getIsDefaultBroadcast() + { + return $this->isDefaultBroadcast; + } + public function setLiveChatId($liveChatId) + { + $this->liveChatId = $liveChatId; + } + public function getLiveChatId() + { + return $this->liveChatId; + } + public function setPublishedAt($publishedAt) + { + $this->publishedAt = $publishedAt; + } + public function getPublishedAt() + { + return $this->publishedAt; + } + public function setScheduledEndTime($scheduledEndTime) + { + $this->scheduledEndTime = $scheduledEndTime; + } + public function getScheduledEndTime() + { + return $this->scheduledEndTime; + } + public function setScheduledStartTime($scheduledStartTime) + { + $this->scheduledStartTime = $scheduledStartTime; + } + public function getScheduledStartTime() + { + return $this->scheduledStartTime; + } + public function setThumbnails(Google_Service_YouTube_ThumbnailDetails $thumbnails) + { + $this->thumbnails = $thumbnails; + } + public function getThumbnails() + { + return $this->thumbnails; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} + +class Google_Service_YouTube_LiveBroadcastStatistics extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $concurrentViewers; + public $totalChatCount; + + + public function setConcurrentViewers($concurrentViewers) + { + $this->concurrentViewers = $concurrentViewers; + } + public function getConcurrentViewers() + { + return $this->concurrentViewers; + } + public function setTotalChatCount($totalChatCount) + { + $this->totalChatCount = $totalChatCount; + } + public function getTotalChatCount() + { + return $this->totalChatCount; + } +} + +class Google_Service_YouTube_LiveBroadcastStatus extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $lifeCycleStatus; + public $liveBroadcastPriority; + public $privacyStatus; + public $recordingStatus; + + + public function setLifeCycleStatus($lifeCycleStatus) + { + $this->lifeCycleStatus = $lifeCycleStatus; + } + public function getLifeCycleStatus() + { + return $this->lifeCycleStatus; + } + public function setLiveBroadcastPriority($liveBroadcastPriority) + { + $this->liveBroadcastPriority = $liveBroadcastPriority; + } + public function getLiveBroadcastPriority() + { + return $this->liveBroadcastPriority; + } + public function setPrivacyStatus($privacyStatus) + { + $this->privacyStatus = $privacyStatus; + } + public function getPrivacyStatus() + { + return $this->privacyStatus; + } + public function setRecordingStatus($recordingStatus) + { + $this->recordingStatus = $recordingStatus; + } + public function getRecordingStatus() + { + return $this->recordingStatus; + } +} + +class Google_Service_YouTube_LiveBroadcastTopic extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $snippetType = 'Google_Service_YouTube_LiveBroadcastTopicSnippet'; + protected $snippetDataType = ''; + public $type; + public $unmatched; + + + public function setSnippet(Google_Service_YouTube_LiveBroadcastTopicSnippet $snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setUnmatched($unmatched) + { + $this->unmatched = $unmatched; + } + public function getUnmatched() + { + return $this->unmatched; + } +} + +class Google_Service_YouTube_LiveBroadcastTopicDetails extends Google_Collection +{ + protected $collection_key = 'topics'; + protected $internal_gapi_mappings = array( + ); + protected $topicsType = 'Google_Service_YouTube_LiveBroadcastTopic'; + protected $topicsDataType = 'array'; + + + public function setTopics($topics) + { + $this->topics = $topics; + } + public function getTopics() + { + return $this->topics; + } +} + +class Google_Service_YouTube_LiveBroadcastTopicSnippet extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $name; + public $releaseDate; + + + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setReleaseDate($releaseDate) + { + $this->releaseDate = $releaseDate; + } + public function getReleaseDate() + { + return $this->releaseDate; + } +} + +class Google_Service_YouTube_LiveStream extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $cdnType = 'Google_Service_YouTube_CdnSettings'; + protected $cdnDataType = ''; + protected $contentDetailsType = 'Google_Service_YouTube_LiveStreamContentDetails'; + protected $contentDetailsDataType = ''; + public $etag; + public $id; + public $kind; + protected $snippetType = 'Google_Service_YouTube_LiveStreamSnippet'; + protected $snippetDataType = ''; + protected $statusType = 'Google_Service_YouTube_LiveStreamStatus'; + protected $statusDataType = ''; + + + public function setCdn(Google_Service_YouTube_CdnSettings $cdn) + { + $this->cdn = $cdn; + } + public function getCdn() + { + return $this->cdn; + } + public function setContentDetails(Google_Service_YouTube_LiveStreamContentDetails $contentDetails) + { + $this->contentDetails = $contentDetails; + } + public function getContentDetails() + { + return $this->contentDetails; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSnippet(Google_Service_YouTube_LiveStreamSnippet $snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } + public function setStatus(Google_Service_YouTube_LiveStreamStatus $status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} + +class Google_Service_YouTube_LiveStreamConfigurationIssue extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $description; + public $reason; + public $severity; + public $type; + + + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setReason($reason) + { + $this->reason = $reason; + } + public function getReason() + { + return $this->reason; + } + public function setSeverity($severity) + { + $this->severity = $severity; + } + public function getSeverity() + { + return $this->severity; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_YouTube_LiveStreamContentDetails extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $closedCaptionsIngestionUrl; + public $isReusable; + + + public function setClosedCaptionsIngestionUrl($closedCaptionsIngestionUrl) + { + $this->closedCaptionsIngestionUrl = $closedCaptionsIngestionUrl; + } + public function getClosedCaptionsIngestionUrl() + { + return $this->closedCaptionsIngestionUrl; + } + public function setIsReusable($isReusable) + { + $this->isReusable = $isReusable; + } + public function getIsReusable() + { + return $this->isReusable; + } +} + +class Google_Service_YouTube_LiveStreamHealthStatus extends Google_Collection +{ + protected $collection_key = 'configurationIssues'; + protected $internal_gapi_mappings = array( + ); + protected $configurationIssuesType = 'Google_Service_YouTube_LiveStreamConfigurationIssue'; + protected $configurationIssuesDataType = 'array'; + public $lastUpdateTimeSeconds; + public $status; + + + public function setConfigurationIssues($configurationIssues) + { + $this->configurationIssues = $configurationIssues; + } + public function getConfigurationIssues() + { + return $this->configurationIssues; + } + public function setLastUpdateTimeSeconds($lastUpdateTimeSeconds) + { + $this->lastUpdateTimeSeconds = $lastUpdateTimeSeconds; + } + public function getLastUpdateTimeSeconds() + { + return $this->lastUpdateTimeSeconds; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} + +class Google_Service_YouTube_LiveStreamListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + public $eventId; + protected $itemsType = 'Google_Service_YouTube_LiveStream'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + protected $pageInfoType = 'Google_Service_YouTube_PageInfo'; + protected $pageInfoDataType = ''; + public $prevPageToken; + protected $tokenPaginationType = 'Google_Service_YouTube_TokenPagination'; + protected $tokenPaginationDataType = ''; + public $visitorId; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo) + { + $this->pageInfo = $pageInfo; + } + public function getPageInfo() + { + return $this->pageInfo; + } + public function setPrevPageToken($prevPageToken) + { + $this->prevPageToken = $prevPageToken; + } + public function getPrevPageToken() + { + return $this->prevPageToken; + } + public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination) + { + $this->tokenPagination = $tokenPagination; + } + public function getTokenPagination() + { + return $this->tokenPagination; + } + public function setVisitorId($visitorId) + { + $this->visitorId = $visitorId; + } + public function getVisitorId() + { + return $this->visitorId; + } +} + +class Google_Service_YouTube_LiveStreamSnippet extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $channelId; + public $description; + public $isDefaultStream; + public $publishedAt; + public $title; + + + public function setChannelId($channelId) + { + $this->channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setIsDefaultStream($isDefaultStream) + { + $this->isDefaultStream = $isDefaultStream; + } + public function getIsDefaultStream() + { + return $this->isDefaultStream; + } + public function setPublishedAt($publishedAt) + { + $this->publishedAt = $publishedAt; + } + public function getPublishedAt() + { + return $this->publishedAt; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} + +class Google_Service_YouTube_LiveStreamStatus extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $healthStatusType = 'Google_Service_YouTube_LiveStreamHealthStatus'; + protected $healthStatusDataType = ''; + public $streamStatus; + + + public function setHealthStatus(Google_Service_YouTube_LiveStreamHealthStatus $healthStatus) + { + $this->healthStatus = $healthStatus; + } + public function getHealthStatus() + { + return $this->healthStatus; + } + public function setStreamStatus($streamStatus) + { + $this->streamStatus = $streamStatus; + } + public function getStreamStatus() + { + return $this->streamStatus; + } +} + +class Google_Service_YouTube_LocalizedProperty extends Google_Collection +{ + protected $collection_key = 'localized'; + protected $internal_gapi_mappings = array( + ); + public $default; + protected $defaultLanguageType = 'Google_Service_YouTube_LanguageTag'; + protected $defaultLanguageDataType = ''; + protected $localizedType = 'Google_Service_YouTube_LocalizedString'; + protected $localizedDataType = 'array'; + + + public function setDefault($default) + { + $this->default = $default; + } + public function getDefault() + { + return $this->default; + } + public function setDefaultLanguage(Google_Service_YouTube_LanguageTag $defaultLanguage) + { + $this->defaultLanguage = $defaultLanguage; + } + public function getDefaultLanguage() + { + return $this->defaultLanguage; + } + public function setLocalized($localized) + { + $this->localized = $localized; + } + public function getLocalized() + { + return $this->localized; + } +} + +class Google_Service_YouTube_LocalizedString extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $language; + public $value; + + + public function setLanguage($language) + { + $this->language = $language; + } + public function getLanguage() + { + return $this->language; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_YouTube_MonitorStreamInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $broadcastStreamDelayMs; + public $embedHtml; + public $enableMonitorStream; + + + public function setBroadcastStreamDelayMs($broadcastStreamDelayMs) + { + $this->broadcastStreamDelayMs = $broadcastStreamDelayMs; + } + public function getBroadcastStreamDelayMs() + { + return $this->broadcastStreamDelayMs; + } + public function setEmbedHtml($embedHtml) + { + $this->embedHtml = $embedHtml; + } + public function getEmbedHtml() + { + return $this->embedHtml; + } + public function setEnableMonitorStream($enableMonitorStream) + { + $this->enableMonitorStream = $enableMonitorStream; + } + public function getEnableMonitorStream() + { + return $this->enableMonitorStream; + } +} + +class Google_Service_YouTube_PageInfo extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $resultsPerPage; + public $totalResults; + + + public function setResultsPerPage($resultsPerPage) + { + $this->resultsPerPage = $resultsPerPage; + } + public function getResultsPerPage() + { + return $this->resultsPerPage; + } + public function setTotalResults($totalResults) + { + $this->totalResults = $totalResults; + } + public function getTotalResults() + { + return $this->totalResults; + } +} + +class Google_Service_YouTube_Playlist extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $contentDetailsType = 'Google_Service_YouTube_PlaylistContentDetails'; + protected $contentDetailsDataType = ''; + public $etag; + public $id; + public $kind; + protected $localizationsType = 'Google_Service_YouTube_PlaylistLocalization'; + protected $localizationsDataType = 'map'; + protected $playerType = 'Google_Service_YouTube_PlaylistPlayer'; + protected $playerDataType = ''; + protected $snippetType = 'Google_Service_YouTube_PlaylistSnippet'; + protected $snippetDataType = ''; + protected $statusType = 'Google_Service_YouTube_PlaylistStatus'; + protected $statusDataType = ''; + + + public function setContentDetails(Google_Service_YouTube_PlaylistContentDetails $contentDetails) + { + $this->contentDetails = $contentDetails; + } + public function getContentDetails() + { + return $this->contentDetails; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLocalizations($localizations) + { + $this->localizations = $localizations; + } + public function getLocalizations() + { + return $this->localizations; + } + public function setPlayer(Google_Service_YouTube_PlaylistPlayer $player) + { + $this->player = $player; + } + public function getPlayer() + { + return $this->player; + } + public function setSnippet(Google_Service_YouTube_PlaylistSnippet $snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } + public function setStatus(Google_Service_YouTube_PlaylistStatus $status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} + +class Google_Service_YouTube_PlaylistContentDetails extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $itemCount; + + + public function setItemCount($itemCount) + { + $this->itemCount = $itemCount; + } + public function getItemCount() + { + return $this->itemCount; + } +} + +class Google_Service_YouTube_PlaylistItem extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $contentDetailsType = 'Google_Service_YouTube_PlaylistItemContentDetails'; + protected $contentDetailsDataType = ''; + public $etag; + public $id; + public $kind; + protected $snippetType = 'Google_Service_YouTube_PlaylistItemSnippet'; + protected $snippetDataType = ''; + protected $statusType = 'Google_Service_YouTube_PlaylistItemStatus'; + protected $statusDataType = ''; + + + public function setContentDetails(Google_Service_YouTube_PlaylistItemContentDetails $contentDetails) + { + $this->contentDetails = $contentDetails; + } + public function getContentDetails() + { + return $this->contentDetails; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSnippet(Google_Service_YouTube_PlaylistItemSnippet $snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } + public function setStatus(Google_Service_YouTube_PlaylistItemStatus $status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } +} + +class Google_Service_YouTube_PlaylistItemContentDetails extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $endAt; + public $note; + public $startAt; + public $videoId; + + + public function setEndAt($endAt) + { + $this->endAt = $endAt; + } + public function getEndAt() + { + return $this->endAt; + } + public function setNote($note) + { + $this->note = $note; + } + public function getNote() + { + return $this->note; + } + public function setStartAt($startAt) + { + $this->startAt = $startAt; + } + public function getStartAt() + { + return $this->startAt; + } + public function setVideoId($videoId) + { + $this->videoId = $videoId; + } + public function getVideoId() + { + return $this->videoId; + } +} + +class Google_Service_YouTube_PlaylistItemListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + public $eventId; + protected $itemsType = 'Google_Service_YouTube_PlaylistItem'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + protected $pageInfoType = 'Google_Service_YouTube_PageInfo'; + protected $pageInfoDataType = ''; + public $prevPageToken; + protected $tokenPaginationType = 'Google_Service_YouTube_TokenPagination'; + protected $tokenPaginationDataType = ''; + public $visitorId; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo) + { + $this->pageInfo = $pageInfo; + } + public function getPageInfo() + { + return $this->pageInfo; + } + public function setPrevPageToken($prevPageToken) + { + $this->prevPageToken = $prevPageToken; + } + public function getPrevPageToken() + { + return $this->prevPageToken; + } + public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination) + { + $this->tokenPagination = $tokenPagination; + } + public function getTokenPagination() + { + return $this->tokenPagination; + } + public function setVisitorId($visitorId) + { + $this->visitorId = $visitorId; + } + public function getVisitorId() + { + return $this->visitorId; + } +} + +class Google_Service_YouTube_PlaylistItemSnippet extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $channelId; + public $channelTitle; + public $description; + public $playlistId; + public $position; + public $publishedAt; + protected $resourceIdType = 'Google_Service_YouTube_ResourceId'; + protected $resourceIdDataType = ''; + protected $thumbnailsType = 'Google_Service_YouTube_ThumbnailDetails'; + protected $thumbnailsDataType = ''; + public $title; + + + public function setChannelId($channelId) + { + $this->channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } + public function setChannelTitle($channelTitle) + { + $this->channelTitle = $channelTitle; + } + public function getChannelTitle() + { + return $this->channelTitle; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setPlaylistId($playlistId) + { + $this->playlistId = $playlistId; + } + public function getPlaylistId() + { + return $this->playlistId; + } + public function setPosition($position) + { + $this->position = $position; + } + public function getPosition() + { + return $this->position; + } + public function setPublishedAt($publishedAt) + { + $this->publishedAt = $publishedAt; + } + public function getPublishedAt() + { + return $this->publishedAt; + } + public function setResourceId(Google_Service_YouTube_ResourceId $resourceId) + { + $this->resourceId = $resourceId; + } + public function getResourceId() + { + return $this->resourceId; + } + public function setThumbnails(Google_Service_YouTube_ThumbnailDetails $thumbnails) + { + $this->thumbnails = $thumbnails; + } + public function getThumbnails() + { + return $this->thumbnails; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} + +class Google_Service_YouTube_PlaylistItemStatus extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $privacyStatus; + + + public function setPrivacyStatus($privacyStatus) + { + $this->privacyStatus = $privacyStatus; + } + public function getPrivacyStatus() + { + return $this->privacyStatus; + } +} + +class Google_Service_YouTube_PlaylistListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + public $eventId; + protected $itemsType = 'Google_Service_YouTube_Playlist'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + protected $pageInfoType = 'Google_Service_YouTube_PageInfo'; + protected $pageInfoDataType = ''; + public $prevPageToken; + protected $tokenPaginationType = 'Google_Service_YouTube_TokenPagination'; + protected $tokenPaginationDataType = ''; + public $visitorId; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo) + { + $this->pageInfo = $pageInfo; + } + public function getPageInfo() + { + return $this->pageInfo; + } + public function setPrevPageToken($prevPageToken) + { + $this->prevPageToken = $prevPageToken; + } + public function getPrevPageToken() + { + return $this->prevPageToken; + } + public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination) + { + $this->tokenPagination = $tokenPagination; + } + public function getTokenPagination() + { + return $this->tokenPagination; + } + public function setVisitorId($visitorId) + { + $this->visitorId = $visitorId; + } + public function getVisitorId() + { + return $this->visitorId; + } +} + +class Google_Service_YouTube_PlaylistLocalization extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $description; + public $title; + + + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} + +class Google_Service_YouTube_PlaylistLocalizations extends Google_Model +{ +} + +class Google_Service_YouTube_PlaylistPlayer extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $embedHtml; + + + public function setEmbedHtml($embedHtml) + { + $this->embedHtml = $embedHtml; + } + public function getEmbedHtml() + { + return $this->embedHtml; + } +} + +class Google_Service_YouTube_PlaylistSnippet extends Google_Collection +{ + protected $collection_key = 'tags'; + protected $internal_gapi_mappings = array( + ); + public $channelId; + public $channelTitle; + public $defaultLanguage; + public $description; + protected $localizedType = 'Google_Service_YouTube_PlaylistLocalization'; + protected $localizedDataType = ''; + public $publishedAt; + public $tags; + protected $thumbnailsType = 'Google_Service_YouTube_ThumbnailDetails'; + protected $thumbnailsDataType = ''; + public $title; + + + public function setChannelId($channelId) + { + $this->channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } + public function setChannelTitle($channelTitle) + { + $this->channelTitle = $channelTitle; + } + public function getChannelTitle() + { + return $this->channelTitle; + } + public function setDefaultLanguage($defaultLanguage) + { + $this->defaultLanguage = $defaultLanguage; + } + public function getDefaultLanguage() + { + return $this->defaultLanguage; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setLocalized(Google_Service_YouTube_PlaylistLocalization $localized) + { + $this->localized = $localized; + } + public function getLocalized() + { + return $this->localized; + } + public function setPublishedAt($publishedAt) + { + $this->publishedAt = $publishedAt; + } + public function getPublishedAt() + { + return $this->publishedAt; + } + public function setTags($tags) + { + $this->tags = $tags; + } + public function getTags() + { + return $this->tags; + } + public function setThumbnails(Google_Service_YouTube_ThumbnailDetails $thumbnails) + { + $this->thumbnails = $thumbnails; + } + public function getThumbnails() + { + return $this->thumbnails; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} + +class Google_Service_YouTube_PlaylistStatus extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $privacyStatus; + + + public function setPrivacyStatus($privacyStatus) + { + $this->privacyStatus = $privacyStatus; + } + public function getPrivacyStatus() + { + return $this->privacyStatus; + } +} + +class Google_Service_YouTube_PromotedItem extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $customMessage; + protected $idType = 'Google_Service_YouTube_PromotedItemId'; + protected $idDataType = ''; + public $promotedByContentOwner; + protected $timingType = 'Google_Service_YouTube_InvideoTiming'; + protected $timingDataType = ''; + + + public function setCustomMessage($customMessage) + { + $this->customMessage = $customMessage; + } + public function getCustomMessage() + { + return $this->customMessage; + } + public function setId(Google_Service_YouTube_PromotedItemId $id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setPromotedByContentOwner($promotedByContentOwner) + { + $this->promotedByContentOwner = $promotedByContentOwner; + } + public function getPromotedByContentOwner() + { + return $this->promotedByContentOwner; + } + public function setTiming(Google_Service_YouTube_InvideoTiming $timing) + { + $this->timing = $timing; + } + public function getTiming() + { + return $this->timing; + } +} + +class Google_Service_YouTube_PromotedItemId extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $recentlyUploadedBy; + public $type; + public $videoId; + public $websiteUrl; + + + public function setRecentlyUploadedBy($recentlyUploadedBy) + { + $this->recentlyUploadedBy = $recentlyUploadedBy; + } + public function getRecentlyUploadedBy() + { + return $this->recentlyUploadedBy; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } + public function setVideoId($videoId) + { + $this->videoId = $videoId; + } + public function getVideoId() + { + return $this->videoId; + } + public function setWebsiteUrl($websiteUrl) + { + $this->websiteUrl = $websiteUrl; + } + public function getWebsiteUrl() + { + return $this->websiteUrl; + } +} + +class Google_Service_YouTube_PropertyValue extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $property; + public $value; + + + public function setProperty($property) + { + $this->property = $property; + } + public function getProperty() + { + return $this->property; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Google_Service_YouTube_ResourceId extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $channelId; + public $kind; + public $playlistId; + public $videoId; + + + public function setChannelId($channelId) + { + $this->channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setPlaylistId($playlistId) + { + $this->playlistId = $playlistId; + } + public function getPlaylistId() + { + return $this->playlistId; + } + public function setVideoId($videoId) + { + $this->videoId = $videoId; + } + public function getVideoId() + { + return $this->videoId; + } +} + +class Google_Service_YouTube_SearchListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + public $eventId; + protected $itemsType = 'Google_Service_YouTube_SearchResult'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + protected $pageInfoType = 'Google_Service_YouTube_PageInfo'; + protected $pageInfoDataType = ''; + public $prevPageToken; + protected $tokenPaginationType = 'Google_Service_YouTube_TokenPagination'; + protected $tokenPaginationDataType = ''; + public $visitorId; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo) + { + $this->pageInfo = $pageInfo; + } + public function getPageInfo() + { + return $this->pageInfo; + } + public function setPrevPageToken($prevPageToken) + { + $this->prevPageToken = $prevPageToken; + } + public function getPrevPageToken() + { + return $this->prevPageToken; + } + public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination) + { + $this->tokenPagination = $tokenPagination; + } + public function getTokenPagination() + { + return $this->tokenPagination; + } + public function setVisitorId($visitorId) + { + $this->visitorId = $visitorId; + } + public function getVisitorId() + { + return $this->visitorId; + } +} + +class Google_Service_YouTube_SearchResult extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $idType = 'Google_Service_YouTube_ResourceId'; + protected $idDataType = ''; + public $kind; + protected $snippetType = 'Google_Service_YouTube_SearchResultSnippet'; + protected $snippetDataType = ''; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId(Google_Service_YouTube_ResourceId $id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSnippet(Google_Service_YouTube_SearchResultSnippet $snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } +} + +class Google_Service_YouTube_SearchResultSnippet extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $channelId; + public $channelTitle; + public $description; + public $liveBroadcastContent; + public $publishedAt; + protected $thumbnailsType = 'Google_Service_YouTube_ThumbnailDetails'; + protected $thumbnailsDataType = ''; + public $title; + + + public function setChannelId($channelId) + { + $this->channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } + public function setChannelTitle($channelTitle) + { + $this->channelTitle = $channelTitle; + } + public function getChannelTitle() + { + return $this->channelTitle; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setLiveBroadcastContent($liveBroadcastContent) + { + $this->liveBroadcastContent = $liveBroadcastContent; + } + public function getLiveBroadcastContent() + { + return $this->liveBroadcastContent; + } + public function setPublishedAt($publishedAt) + { + $this->publishedAt = $publishedAt; + } + public function getPublishedAt() + { + return $this->publishedAt; + } + public function setThumbnails(Google_Service_YouTube_ThumbnailDetails $thumbnails) + { + $this->thumbnails = $thumbnails; + } + public function getThumbnails() + { + return $this->thumbnails; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} + +class Google_Service_YouTube_Subscription extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $contentDetailsType = 'Google_Service_YouTube_SubscriptionContentDetails'; + protected $contentDetailsDataType = ''; + public $etag; + public $id; + public $kind; + protected $snippetType = 'Google_Service_YouTube_SubscriptionSnippet'; + protected $snippetDataType = ''; + protected $subscriberSnippetType = 'Google_Service_YouTube_SubscriptionSubscriberSnippet'; + protected $subscriberSnippetDataType = ''; + + + public function setContentDetails(Google_Service_YouTube_SubscriptionContentDetails $contentDetails) + { + $this->contentDetails = $contentDetails; + } + public function getContentDetails() + { + return $this->contentDetails; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSnippet(Google_Service_YouTube_SubscriptionSnippet $snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } + public function setSubscriberSnippet(Google_Service_YouTube_SubscriptionSubscriberSnippet $subscriberSnippet) + { + $this->subscriberSnippet = $subscriberSnippet; + } + public function getSubscriberSnippet() + { + return $this->subscriberSnippet; + } +} + +class Google_Service_YouTube_SubscriptionContentDetails extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $activityType; + public $newItemCount; + public $totalItemCount; + + + public function setActivityType($activityType) + { + $this->activityType = $activityType; + } + public function getActivityType() + { + return $this->activityType; + } + public function setNewItemCount($newItemCount) + { + $this->newItemCount = $newItemCount; + } + public function getNewItemCount() + { + return $this->newItemCount; + } + public function setTotalItemCount($totalItemCount) + { + $this->totalItemCount = $totalItemCount; + } + public function getTotalItemCount() + { + return $this->totalItemCount; + } +} + +class Google_Service_YouTube_SubscriptionListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + public $eventId; + protected $itemsType = 'Google_Service_YouTube_Subscription'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + protected $pageInfoType = 'Google_Service_YouTube_PageInfo'; + protected $pageInfoDataType = ''; + public $prevPageToken; + protected $tokenPaginationType = 'Google_Service_YouTube_TokenPagination'; + protected $tokenPaginationDataType = ''; + public $visitorId; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo) + { + $this->pageInfo = $pageInfo; + } + public function getPageInfo() + { + return $this->pageInfo; + } + public function setPrevPageToken($prevPageToken) + { + $this->prevPageToken = $prevPageToken; + } + public function getPrevPageToken() + { + return $this->prevPageToken; + } + public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination) + { + $this->tokenPagination = $tokenPagination; + } + public function getTokenPagination() + { + return $this->tokenPagination; + } + public function setVisitorId($visitorId) + { + $this->visitorId = $visitorId; + } + public function getVisitorId() + { + return $this->visitorId; + } +} + +class Google_Service_YouTube_SubscriptionSnippet extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $channelId; + public $channelTitle; + public $description; + public $publishedAt; + protected $resourceIdType = 'Google_Service_YouTube_ResourceId'; + protected $resourceIdDataType = ''; + protected $thumbnailsType = 'Google_Service_YouTube_ThumbnailDetails'; + protected $thumbnailsDataType = ''; + public $title; + + + public function setChannelId($channelId) + { + $this->channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } + public function setChannelTitle($channelTitle) + { + $this->channelTitle = $channelTitle; + } + public function getChannelTitle() + { + return $this->channelTitle; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setPublishedAt($publishedAt) + { + $this->publishedAt = $publishedAt; + } + public function getPublishedAt() + { + return $this->publishedAt; + } + public function setResourceId(Google_Service_YouTube_ResourceId $resourceId) + { + $this->resourceId = $resourceId; + } + public function getResourceId() + { + return $this->resourceId; + } + public function setThumbnails(Google_Service_YouTube_ThumbnailDetails $thumbnails) + { + $this->thumbnails = $thumbnails; + } + public function getThumbnails() + { + return $this->thumbnails; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} + +class Google_Service_YouTube_SubscriptionSubscriberSnippet extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $channelId; + public $description; + protected $thumbnailsType = 'Google_Service_YouTube_ThumbnailDetails'; + protected $thumbnailsDataType = ''; + public $title; + + + public function setChannelId($channelId) + { + $this->channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setThumbnails(Google_Service_YouTube_ThumbnailDetails $thumbnails) + { + $this->thumbnails = $thumbnails; + } + public function getThumbnails() + { + return $this->thumbnails; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} + +class Google_Service_YouTube_Thumbnail extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $height; + public $url; + public $width; + + + public function setHeight($height) + { + $this->height = $height; + } + public function getHeight() + { + return $this->height; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } + public function setWidth($width) + { + $this->width = $width; + } + public function getWidth() + { + return $this->width; + } +} + +class Google_Service_YouTube_ThumbnailDetails extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $defaultType = 'Google_Service_YouTube_Thumbnail'; + protected $defaultDataType = ''; + protected $highType = 'Google_Service_YouTube_Thumbnail'; + protected $highDataType = ''; + protected $maxresType = 'Google_Service_YouTube_Thumbnail'; + protected $maxresDataType = ''; + protected $mediumType = 'Google_Service_YouTube_Thumbnail'; + protected $mediumDataType = ''; + protected $standardType = 'Google_Service_YouTube_Thumbnail'; + protected $standardDataType = ''; + + + public function setDefault(Google_Service_YouTube_Thumbnail $default) + { + $this->default = $default; + } + public function getDefault() + { + return $this->default; + } + public function setHigh(Google_Service_YouTube_Thumbnail $high) + { + $this->high = $high; + } + public function getHigh() + { + return $this->high; + } + public function setMaxres(Google_Service_YouTube_Thumbnail $maxres) + { + $this->maxres = $maxres; + } + public function getMaxres() + { + return $this->maxres; + } + public function setMedium(Google_Service_YouTube_Thumbnail $medium) + { + $this->medium = $medium; + } + public function getMedium() + { + return $this->medium; + } + public function setStandard(Google_Service_YouTube_Thumbnail $standard) + { + $this->standard = $standard; + } + public function getStandard() + { + return $this->standard; + } +} + +class Google_Service_YouTube_ThumbnailSetResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + public $eventId; + protected $itemsType = 'Google_Service_YouTube_ThumbnailDetails'; + protected $itemsDataType = 'array'; + public $kind; + public $visitorId; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setVisitorId($visitorId) + { + $this->visitorId = $visitorId; + } + public function getVisitorId() + { + return $this->visitorId; + } +} + +class Google_Service_YouTube_TokenPagination extends Google_Model +{ +} + +class Google_Service_YouTube_Video extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $ageGatingType = 'Google_Service_YouTube_VideoAgeGating'; + protected $ageGatingDataType = ''; + protected $contentDetailsType = 'Google_Service_YouTube_VideoContentDetails'; + protected $contentDetailsDataType = ''; + protected $conversionPingsType = 'Google_Service_YouTube_VideoConversionPings'; + protected $conversionPingsDataType = ''; + public $etag; + protected $fileDetailsType = 'Google_Service_YouTube_VideoFileDetails'; + protected $fileDetailsDataType = ''; + public $id; + public $kind; + protected $liveStreamingDetailsType = 'Google_Service_YouTube_VideoLiveStreamingDetails'; + protected $liveStreamingDetailsDataType = ''; + protected $localizationsType = 'Google_Service_YouTube_VideoLocalization'; + protected $localizationsDataType = 'map'; + protected $monetizationDetailsType = 'Google_Service_YouTube_VideoMonetizationDetails'; + protected $monetizationDetailsDataType = ''; + protected $playerType = 'Google_Service_YouTube_VideoPlayer'; + protected $playerDataType = ''; + protected $processingDetailsType = 'Google_Service_YouTube_VideoProcessingDetails'; + protected $processingDetailsDataType = ''; + protected $projectDetailsType = 'Google_Service_YouTube_VideoProjectDetails'; + protected $projectDetailsDataType = ''; + protected $recordingDetailsType = 'Google_Service_YouTube_VideoRecordingDetails'; + protected $recordingDetailsDataType = ''; + protected $snippetType = 'Google_Service_YouTube_VideoSnippet'; + protected $snippetDataType = ''; + protected $statisticsType = 'Google_Service_YouTube_VideoStatistics'; + protected $statisticsDataType = ''; + protected $statusType = 'Google_Service_YouTube_VideoStatus'; + protected $statusDataType = ''; + protected $suggestionsType = 'Google_Service_YouTube_VideoSuggestions'; + protected $suggestionsDataType = ''; + protected $topicDetailsType = 'Google_Service_YouTube_VideoTopicDetails'; + protected $topicDetailsDataType = ''; + + + public function setAgeGating(Google_Service_YouTube_VideoAgeGating $ageGating) + { + $this->ageGating = $ageGating; + } + public function getAgeGating() + { + return $this->ageGating; + } + public function setContentDetails(Google_Service_YouTube_VideoContentDetails $contentDetails) + { + $this->contentDetails = $contentDetails; + } + public function getContentDetails() + { + return $this->contentDetails; + } + public function setConversionPings(Google_Service_YouTube_VideoConversionPings $conversionPings) + { + $this->conversionPings = $conversionPings; + } + public function getConversionPings() + { + return $this->conversionPings; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setFileDetails(Google_Service_YouTube_VideoFileDetails $fileDetails) + { + $this->fileDetails = $fileDetails; + } + public function getFileDetails() + { + return $this->fileDetails; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setLiveStreamingDetails(Google_Service_YouTube_VideoLiveStreamingDetails $liveStreamingDetails) + { + $this->liveStreamingDetails = $liveStreamingDetails; + } + public function getLiveStreamingDetails() + { + return $this->liveStreamingDetails; + } + public function setLocalizations($localizations) + { + $this->localizations = $localizations; + } + public function getLocalizations() + { + return $this->localizations; + } + public function setMonetizationDetails(Google_Service_YouTube_VideoMonetizationDetails $monetizationDetails) + { + $this->monetizationDetails = $monetizationDetails; + } + public function getMonetizationDetails() + { + return $this->monetizationDetails; + } + public function setPlayer(Google_Service_YouTube_VideoPlayer $player) + { + $this->player = $player; + } + public function getPlayer() + { + return $this->player; + } + public function setProcessingDetails(Google_Service_YouTube_VideoProcessingDetails $processingDetails) + { + $this->processingDetails = $processingDetails; + } + public function getProcessingDetails() + { + return $this->processingDetails; + } + public function setProjectDetails(Google_Service_YouTube_VideoProjectDetails $projectDetails) + { + $this->projectDetails = $projectDetails; + } + public function getProjectDetails() + { + return $this->projectDetails; + } + public function setRecordingDetails(Google_Service_YouTube_VideoRecordingDetails $recordingDetails) + { + $this->recordingDetails = $recordingDetails; + } + public function getRecordingDetails() + { + return $this->recordingDetails; + } + public function setSnippet(Google_Service_YouTube_VideoSnippet $snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } + public function setStatistics(Google_Service_YouTube_VideoStatistics $statistics) + { + $this->statistics = $statistics; + } + public function getStatistics() + { + return $this->statistics; + } + public function setStatus(Google_Service_YouTube_VideoStatus $status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setSuggestions(Google_Service_YouTube_VideoSuggestions $suggestions) + { + $this->suggestions = $suggestions; + } + public function getSuggestions() + { + return $this->suggestions; + } + public function setTopicDetails(Google_Service_YouTube_VideoTopicDetails $topicDetails) + { + $this->topicDetails = $topicDetails; + } + public function getTopicDetails() + { + return $this->topicDetails; + } +} + +class Google_Service_YouTube_VideoAbuseReport extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $comments; + public $language; + public $reasonId; + public $secondaryReasonId; + public $videoId; + + + public function setComments($comments) + { + $this->comments = $comments; + } + public function getComments() + { + return $this->comments; + } + public function setLanguage($language) + { + $this->language = $language; + } + public function getLanguage() + { + return $this->language; + } + public function setReasonId($reasonId) + { + $this->reasonId = $reasonId; + } + public function getReasonId() + { + return $this->reasonId; + } + public function setSecondaryReasonId($secondaryReasonId) + { + $this->secondaryReasonId = $secondaryReasonId; + } + public function getSecondaryReasonId() + { + return $this->secondaryReasonId; + } + public function setVideoId($videoId) + { + $this->videoId = $videoId; + } + public function getVideoId() + { + return $this->videoId; + } +} + +class Google_Service_YouTube_VideoAbuseReportReason extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $etag; + public $id; + public $kind; + protected $snippetType = 'Google_Service_YouTube_VideoAbuseReportReasonSnippet'; + protected $snippetDataType = ''; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSnippet(Google_Service_YouTube_VideoAbuseReportReasonSnippet $snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } +} + +class Google_Service_YouTube_VideoAbuseReportReasonListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + public $eventId; + protected $itemsType = 'Google_Service_YouTube_VideoAbuseReportReason'; + protected $itemsDataType = 'array'; + public $kind; + public $visitorId; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setVisitorId($visitorId) + { + $this->visitorId = $visitorId; + } + public function getVisitorId() + { + return $this->visitorId; + } +} + +class Google_Service_YouTube_VideoAbuseReportReasonSnippet extends Google_Collection +{ + protected $collection_key = 'secondaryReasons'; + protected $internal_gapi_mappings = array( + ); + public $label; + protected $secondaryReasonsType = 'Google_Service_YouTube_VideoAbuseReportSecondaryReason'; + protected $secondaryReasonsDataType = 'array'; + + + public function setLabel($label) + { + $this->label = $label; + } + public function getLabel() + { + return $this->label; + } + public function setSecondaryReasons($secondaryReasons) + { + $this->secondaryReasons = $secondaryReasons; + } + public function getSecondaryReasons() + { + return $this->secondaryReasons; + } +} + +class Google_Service_YouTube_VideoAbuseReportSecondaryReason extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $label; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setLabel($label) + { + $this->label = $label; + } + public function getLabel() + { + return $this->label; + } +} + +class Google_Service_YouTube_VideoAgeGating extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $alcoholContent; + public $restricted; + public $videoGameRating; + + + public function setAlcoholContent($alcoholContent) + { + $this->alcoholContent = $alcoholContent; + } + public function getAlcoholContent() + { + return $this->alcoholContent; + } + public function setRestricted($restricted) + { + $this->restricted = $restricted; + } + public function getRestricted() + { + return $this->restricted; + } + public function setVideoGameRating($videoGameRating) + { + $this->videoGameRating = $videoGameRating; + } + public function getVideoGameRating() + { + return $this->videoGameRating; + } +} + +class Google_Service_YouTube_VideoCategory extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $etag; + public $id; + public $kind; + protected $snippetType = 'Google_Service_YouTube_VideoCategorySnippet'; + protected $snippetDataType = ''; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSnippet(Google_Service_YouTube_VideoCategorySnippet $snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } +} + +class Google_Service_YouTube_VideoCategoryListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + public $eventId; + protected $itemsType = 'Google_Service_YouTube_VideoCategory'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + protected $pageInfoType = 'Google_Service_YouTube_PageInfo'; + protected $pageInfoDataType = ''; + public $prevPageToken; + protected $tokenPaginationType = 'Google_Service_YouTube_TokenPagination'; + protected $tokenPaginationDataType = ''; + public $visitorId; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo) + { + $this->pageInfo = $pageInfo; + } + public function getPageInfo() + { + return $this->pageInfo; + } + public function setPrevPageToken($prevPageToken) + { + $this->prevPageToken = $prevPageToken; + } + public function getPrevPageToken() + { + return $this->prevPageToken; + } + public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination) + { + $this->tokenPagination = $tokenPagination; + } + public function getTokenPagination() + { + return $this->tokenPagination; + } + public function setVisitorId($visitorId) + { + $this->visitorId = $visitorId; + } + public function getVisitorId() + { + return $this->visitorId; + } +} + +class Google_Service_YouTube_VideoCategorySnippet extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $assignable; + public $channelId; + public $title; + + + public function setAssignable($assignable) + { + $this->assignable = $assignable; + } + public function getAssignable() + { + return $this->assignable; + } + public function setChannelId($channelId) + { + $this->channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} + +class Google_Service_YouTube_VideoContentDetails extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $caption; + protected $contentRatingType = 'Google_Service_YouTube_ContentRating'; + protected $contentRatingDataType = ''; + protected $countryRestrictionType = 'Google_Service_YouTube_AccessPolicy'; + protected $countryRestrictionDataType = ''; + public $definition; + public $dimension; + public $duration; + public $licensedContent; + protected $regionRestrictionType = 'Google_Service_YouTube_VideoContentDetailsRegionRestriction'; + protected $regionRestrictionDataType = ''; + + + public function setCaption($caption) + { + $this->caption = $caption; + } + public function getCaption() + { + return $this->caption; + } + public function setContentRating(Google_Service_YouTube_ContentRating $contentRating) + { + $this->contentRating = $contentRating; + } + public function getContentRating() + { + return $this->contentRating; + } + public function setCountryRestriction(Google_Service_YouTube_AccessPolicy $countryRestriction) + { + $this->countryRestriction = $countryRestriction; + } + public function getCountryRestriction() + { + return $this->countryRestriction; + } + public function setDefinition($definition) + { + $this->definition = $definition; + } + public function getDefinition() + { + return $this->definition; + } + public function setDimension($dimension) + { + $this->dimension = $dimension; + } + public function getDimension() + { + return $this->dimension; + } + public function setDuration($duration) + { + $this->duration = $duration; + } + public function getDuration() + { + return $this->duration; + } + public function setLicensedContent($licensedContent) + { + $this->licensedContent = $licensedContent; + } + public function getLicensedContent() + { + return $this->licensedContent; + } + public function setRegionRestriction(Google_Service_YouTube_VideoContentDetailsRegionRestriction $regionRestriction) + { + $this->regionRestriction = $regionRestriction; + } + public function getRegionRestriction() + { + return $this->regionRestriction; + } +} + +class Google_Service_YouTube_VideoContentDetailsRegionRestriction extends Google_Collection +{ + protected $collection_key = 'blocked'; + protected $internal_gapi_mappings = array( + ); + public $allowed; + public $blocked; + + + public function setAllowed($allowed) + { + $this->allowed = $allowed; + } + public function getAllowed() + { + return $this->allowed; + } + public function setBlocked($blocked) + { + $this->blocked = $blocked; + } + public function getBlocked() + { + return $this->blocked; + } +} + +class Google_Service_YouTube_VideoConversionPing extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $context; + public $conversionUrl; + + + public function setContext($context) + { + $this->context = $context; + } + public function getContext() + { + return $this->context; + } + public function setConversionUrl($conversionUrl) + { + $this->conversionUrl = $conversionUrl; + } + public function getConversionUrl() + { + return $this->conversionUrl; + } +} + +class Google_Service_YouTube_VideoConversionPings extends Google_Collection +{ + protected $collection_key = 'pings'; + protected $internal_gapi_mappings = array( + ); + protected $pingsType = 'Google_Service_YouTube_VideoConversionPing'; + protected $pingsDataType = 'array'; + + + public function setPings($pings) + { + $this->pings = $pings; + } + public function getPings() + { + return $this->pings; + } +} + +class Google_Service_YouTube_VideoFileDetails extends Google_Collection +{ + protected $collection_key = 'videoStreams'; + protected $internal_gapi_mappings = array( + ); + protected $audioStreamsType = 'Google_Service_YouTube_VideoFileDetailsAudioStream'; + protected $audioStreamsDataType = 'array'; + public $bitrateBps; + public $container; + public $creationTime; + public $durationMs; + public $fileName; + public $fileSize; + public $fileType; + protected $recordingLocationType = 'Google_Service_YouTube_GeoPoint'; + protected $recordingLocationDataType = ''; + protected $videoStreamsType = 'Google_Service_YouTube_VideoFileDetailsVideoStream'; + protected $videoStreamsDataType = 'array'; + + + public function setAudioStreams($audioStreams) + { + $this->audioStreams = $audioStreams; + } + public function getAudioStreams() + { + return $this->audioStreams; + } + public function setBitrateBps($bitrateBps) + { + $this->bitrateBps = $bitrateBps; + } + public function getBitrateBps() + { + return $this->bitrateBps; + } + public function setContainer($container) + { + $this->container = $container; + } + public function getContainer() + { + return $this->container; + } + public function setCreationTime($creationTime) + { + $this->creationTime = $creationTime; + } + public function getCreationTime() + { + return $this->creationTime; + } + public function setDurationMs($durationMs) + { + $this->durationMs = $durationMs; + } + public function getDurationMs() + { + return $this->durationMs; + } + public function setFileName($fileName) + { + $this->fileName = $fileName; + } + public function getFileName() + { + return $this->fileName; + } + public function setFileSize($fileSize) + { + $this->fileSize = $fileSize; + } + public function getFileSize() + { + return $this->fileSize; + } + public function setFileType($fileType) + { + $this->fileType = $fileType; + } + public function getFileType() + { + return $this->fileType; + } + public function setRecordingLocation(Google_Service_YouTube_GeoPoint $recordingLocation) + { + $this->recordingLocation = $recordingLocation; + } + public function getRecordingLocation() + { + return $this->recordingLocation; + } + public function setVideoStreams($videoStreams) + { + $this->videoStreams = $videoStreams; + } + public function getVideoStreams() + { + return $this->videoStreams; + } +} + +class Google_Service_YouTube_VideoFileDetailsAudioStream extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $bitrateBps; + public $channelCount; + public $codec; + public $vendor; + + + public function setBitrateBps($bitrateBps) + { + $this->bitrateBps = $bitrateBps; + } + public function getBitrateBps() + { + return $this->bitrateBps; + } + public function setChannelCount($channelCount) + { + $this->channelCount = $channelCount; + } + public function getChannelCount() + { + return $this->channelCount; + } + public function setCodec($codec) + { + $this->codec = $codec; + } + public function getCodec() + { + return $this->codec; + } + public function setVendor($vendor) + { + $this->vendor = $vendor; + } + public function getVendor() + { + return $this->vendor; + } +} + +class Google_Service_YouTube_VideoFileDetailsVideoStream extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $aspectRatio; + public $bitrateBps; + public $codec; + public $frameRateFps; + public $heightPixels; + public $rotation; + public $vendor; + public $widthPixels; + + + public function setAspectRatio($aspectRatio) + { + $this->aspectRatio = $aspectRatio; + } + public function getAspectRatio() + { + return $this->aspectRatio; + } + public function setBitrateBps($bitrateBps) + { + $this->bitrateBps = $bitrateBps; + } + public function getBitrateBps() + { + return $this->bitrateBps; + } + public function setCodec($codec) + { + $this->codec = $codec; + } + public function getCodec() + { + return $this->codec; + } + public function setFrameRateFps($frameRateFps) + { + $this->frameRateFps = $frameRateFps; + } + public function getFrameRateFps() + { + return $this->frameRateFps; + } + public function setHeightPixels($heightPixels) + { + $this->heightPixels = $heightPixels; + } + public function getHeightPixels() + { + return $this->heightPixels; + } + public function setRotation($rotation) + { + $this->rotation = $rotation; + } + public function getRotation() + { + return $this->rotation; + } + public function setVendor($vendor) + { + $this->vendor = $vendor; + } + public function getVendor() + { + return $this->vendor; + } + public function setWidthPixels($widthPixels) + { + $this->widthPixels = $widthPixels; + } + public function getWidthPixels() + { + return $this->widthPixels; + } +} + +class Google_Service_YouTube_VideoGetRatingResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + public $eventId; + protected $itemsType = 'Google_Service_YouTube_VideoRating'; + protected $itemsDataType = 'array'; + public $kind; + public $visitorId; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setVisitorId($visitorId) + { + $this->visitorId = $visitorId; + } + public function getVisitorId() + { + return $this->visitorId; + } +} + +class Google_Service_YouTube_VideoListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + public $eventId; + protected $itemsType = 'Google_Service_YouTube_Video'; + protected $itemsDataType = 'array'; + public $kind; + public $nextPageToken; + protected $pageInfoType = 'Google_Service_YouTube_PageInfo'; + protected $pageInfoDataType = ''; + public $prevPageToken; + protected $tokenPaginationType = 'Google_Service_YouTube_TokenPagination'; + protected $tokenPaginationDataType = ''; + public $visitorId; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setEventId($eventId) + { + $this->eventId = $eventId; + } + public function getEventId() + { + return $this->eventId; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo) + { + $this->pageInfo = $pageInfo; + } + public function getPageInfo() + { + return $this->pageInfo; + } + public function setPrevPageToken($prevPageToken) + { + $this->prevPageToken = $prevPageToken; + } + public function getPrevPageToken() + { + return $this->prevPageToken; + } + public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination) + { + $this->tokenPagination = $tokenPagination; + } + public function getTokenPagination() + { + return $this->tokenPagination; + } + public function setVisitorId($visitorId) + { + $this->visitorId = $visitorId; + } + public function getVisitorId() + { + return $this->visitorId; + } +} + +class Google_Service_YouTube_VideoLiveStreamingDetails extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $actualEndTime; + public $actualStartTime; + public $concurrentViewers; + public $scheduledEndTime; + public $scheduledStartTime; + + + public function setActualEndTime($actualEndTime) + { + $this->actualEndTime = $actualEndTime; + } + public function getActualEndTime() + { + return $this->actualEndTime; + } + public function setActualStartTime($actualStartTime) + { + $this->actualStartTime = $actualStartTime; + } + public function getActualStartTime() + { + return $this->actualStartTime; + } + public function setConcurrentViewers($concurrentViewers) + { + $this->concurrentViewers = $concurrentViewers; + } + public function getConcurrentViewers() + { + return $this->concurrentViewers; + } + public function setScheduledEndTime($scheduledEndTime) + { + $this->scheduledEndTime = $scheduledEndTime; + } + public function getScheduledEndTime() + { + return $this->scheduledEndTime; + } + public function setScheduledStartTime($scheduledStartTime) + { + $this->scheduledStartTime = $scheduledStartTime; + } + public function getScheduledStartTime() + { + return $this->scheduledStartTime; + } +} + +class Google_Service_YouTube_VideoLocalization extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $description; + public $title; + + + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} + +class Google_Service_YouTube_VideoLocalizations extends Google_Model +{ +} + +class Google_Service_YouTube_VideoMonetizationDetails extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $accessType = 'Google_Service_YouTube_AccessPolicy'; + protected $accessDataType = ''; + + + public function setAccess(Google_Service_YouTube_AccessPolicy $access) + { + $this->access = $access; + } + public function getAccess() + { + return $this->access; + } +} + +class Google_Service_YouTube_VideoPlayer extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $embedHtml; + + + public function setEmbedHtml($embedHtml) + { + $this->embedHtml = $embedHtml; + } + public function getEmbedHtml() + { + return $this->embedHtml; + } +} + +class Google_Service_YouTube_VideoProcessingDetails extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $editorSuggestionsAvailability; + public $fileDetailsAvailability; + public $processingFailureReason; + public $processingIssuesAvailability; + protected $processingProgressType = 'Google_Service_YouTube_VideoProcessingDetailsProcessingProgress'; + protected $processingProgressDataType = ''; + public $processingStatus; + public $tagSuggestionsAvailability; + public $thumbnailsAvailability; + + + public function setEditorSuggestionsAvailability($editorSuggestionsAvailability) + { + $this->editorSuggestionsAvailability = $editorSuggestionsAvailability; + } + public function getEditorSuggestionsAvailability() + { + return $this->editorSuggestionsAvailability; + } + public function setFileDetailsAvailability($fileDetailsAvailability) + { + $this->fileDetailsAvailability = $fileDetailsAvailability; + } + public function getFileDetailsAvailability() + { + return $this->fileDetailsAvailability; + } + public function setProcessingFailureReason($processingFailureReason) + { + $this->processingFailureReason = $processingFailureReason; + } + public function getProcessingFailureReason() + { + return $this->processingFailureReason; + } + public function setProcessingIssuesAvailability($processingIssuesAvailability) + { + $this->processingIssuesAvailability = $processingIssuesAvailability; + } + public function getProcessingIssuesAvailability() + { + return $this->processingIssuesAvailability; + } + public function setProcessingProgress(Google_Service_YouTube_VideoProcessingDetailsProcessingProgress $processingProgress) + { + $this->processingProgress = $processingProgress; + } + public function getProcessingProgress() + { + return $this->processingProgress; + } + public function setProcessingStatus($processingStatus) + { + $this->processingStatus = $processingStatus; + } + public function getProcessingStatus() + { + return $this->processingStatus; + } + public function setTagSuggestionsAvailability($tagSuggestionsAvailability) + { + $this->tagSuggestionsAvailability = $tagSuggestionsAvailability; + } + public function getTagSuggestionsAvailability() + { + return $this->tagSuggestionsAvailability; + } + public function setThumbnailsAvailability($thumbnailsAvailability) + { + $this->thumbnailsAvailability = $thumbnailsAvailability; + } + public function getThumbnailsAvailability() + { + return $this->thumbnailsAvailability; + } +} + +class Google_Service_YouTube_VideoProcessingDetailsProcessingProgress extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $partsProcessed; + public $partsTotal; + public $timeLeftMs; + + + public function setPartsProcessed($partsProcessed) + { + $this->partsProcessed = $partsProcessed; + } + public function getPartsProcessed() + { + return $this->partsProcessed; + } + public function setPartsTotal($partsTotal) + { + $this->partsTotal = $partsTotal; + } + public function getPartsTotal() + { + return $this->partsTotal; + } + public function setTimeLeftMs($timeLeftMs) + { + $this->timeLeftMs = $timeLeftMs; + } + public function getTimeLeftMs() + { + return $this->timeLeftMs; + } +} + +class Google_Service_YouTube_VideoProjectDetails extends Google_Collection +{ + protected $collection_key = 'tags'; + protected $internal_gapi_mappings = array( + ); + public $tags; + + + public function setTags($tags) + { + $this->tags = $tags; + } + public function getTags() + { + return $this->tags; + } +} + +class Google_Service_YouTube_VideoRating extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $rating; + public $videoId; + + + public function setRating($rating) + { + $this->rating = $rating; + } + public function getRating() + { + return $this->rating; + } + public function setVideoId($videoId) + { + $this->videoId = $videoId; + } + public function getVideoId() + { + return $this->videoId; + } +} + +class Google_Service_YouTube_VideoRecordingDetails extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $locationType = 'Google_Service_YouTube_GeoPoint'; + protected $locationDataType = ''; + public $locationDescription; + public $recordingDate; + + + public function setLocation(Google_Service_YouTube_GeoPoint $location) + { + $this->location = $location; + } + public function getLocation() + { + return $this->location; + } + public function setLocationDescription($locationDescription) + { + $this->locationDescription = $locationDescription; + } + public function getLocationDescription() + { + return $this->locationDescription; + } + public function setRecordingDate($recordingDate) + { + $this->recordingDate = $recordingDate; + } + public function getRecordingDate() + { + return $this->recordingDate; + } +} + +class Google_Service_YouTube_VideoSnippet extends Google_Collection +{ + protected $collection_key = 'tags'; + protected $internal_gapi_mappings = array( + ); + public $categoryId; + public $channelId; + public $channelTitle; + public $defaultAudioLanguage; + public $defaultLanguage; + public $description; + public $liveBroadcastContent; + protected $localizedType = 'Google_Service_YouTube_VideoLocalization'; + protected $localizedDataType = ''; + public $publishedAt; + public $tags; + protected $thumbnailsType = 'Google_Service_YouTube_ThumbnailDetails'; + protected $thumbnailsDataType = ''; + public $title; + + + public function setCategoryId($categoryId) + { + $this->categoryId = $categoryId; + } + public function getCategoryId() + { + return $this->categoryId; + } + public function setChannelId($channelId) + { + $this->channelId = $channelId; + } + public function getChannelId() + { + return $this->channelId; + } + public function setChannelTitle($channelTitle) + { + $this->channelTitle = $channelTitle; + } + public function getChannelTitle() + { + return $this->channelTitle; + } + public function setDefaultAudioLanguage($defaultAudioLanguage) + { + $this->defaultAudioLanguage = $defaultAudioLanguage; + } + public function getDefaultAudioLanguage() + { + return $this->defaultAudioLanguage; + } + public function setDefaultLanguage($defaultLanguage) + { + $this->defaultLanguage = $defaultLanguage; + } + public function getDefaultLanguage() + { + return $this->defaultLanguage; + } + public function setDescription($description) + { + $this->description = $description; + } + public function getDescription() + { + return $this->description; + } + public function setLiveBroadcastContent($liveBroadcastContent) + { + $this->liveBroadcastContent = $liveBroadcastContent; + } + public function getLiveBroadcastContent() + { + return $this->liveBroadcastContent; + } + public function setLocalized(Google_Service_YouTube_VideoLocalization $localized) + { + $this->localized = $localized; + } + public function getLocalized() + { + return $this->localized; + } + public function setPublishedAt($publishedAt) + { + $this->publishedAt = $publishedAt; + } + public function getPublishedAt() + { + return $this->publishedAt; + } + public function setTags($tags) + { + $this->tags = $tags; + } + public function getTags() + { + return $this->tags; + } + public function setThumbnails(Google_Service_YouTube_ThumbnailDetails $thumbnails) + { + $this->thumbnails = $thumbnails; + } + public function getThumbnails() + { + return $this->thumbnails; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} + +class Google_Service_YouTube_VideoStatistics extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $commentCount; + public $dislikeCount; + public $favoriteCount; + public $likeCount; + public $viewCount; + + + public function setCommentCount($commentCount) + { + $this->commentCount = $commentCount; + } + public function getCommentCount() + { + return $this->commentCount; + } + public function setDislikeCount($dislikeCount) + { + $this->dislikeCount = $dislikeCount; + } + public function getDislikeCount() + { + return $this->dislikeCount; + } + public function setFavoriteCount($favoriteCount) + { + $this->favoriteCount = $favoriteCount; + } + public function getFavoriteCount() + { + return $this->favoriteCount; + } + public function setLikeCount($likeCount) + { + $this->likeCount = $likeCount; + } + public function getLikeCount() + { + return $this->likeCount; + } + public function setViewCount($viewCount) + { + $this->viewCount = $viewCount; + } + public function getViewCount() + { + return $this->viewCount; + } +} + +class Google_Service_YouTube_VideoStatus extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $embeddable; + public $failureReason; + public $license; + public $privacyStatus; + public $publicStatsViewable; + public $publishAt; + public $rejectionReason; + public $uploadStatus; + + + public function setEmbeddable($embeddable) + { + $this->embeddable = $embeddable; + } + public function getEmbeddable() + { + return $this->embeddable; + } + public function setFailureReason($failureReason) + { + $this->failureReason = $failureReason; + } + public function getFailureReason() + { + return $this->failureReason; + } + public function setLicense($license) + { + $this->license = $license; + } + public function getLicense() + { + return $this->license; + } + public function setPrivacyStatus($privacyStatus) + { + $this->privacyStatus = $privacyStatus; + } + public function getPrivacyStatus() + { + return $this->privacyStatus; + } + public function setPublicStatsViewable($publicStatsViewable) + { + $this->publicStatsViewable = $publicStatsViewable; + } + public function getPublicStatsViewable() + { + return $this->publicStatsViewable; + } + public function setPublishAt($publishAt) + { + $this->publishAt = $publishAt; + } + public function getPublishAt() + { + return $this->publishAt; + } + public function setRejectionReason($rejectionReason) + { + $this->rejectionReason = $rejectionReason; + } + public function getRejectionReason() + { + return $this->rejectionReason; + } + public function setUploadStatus($uploadStatus) + { + $this->uploadStatus = $uploadStatus; + } + public function getUploadStatus() + { + return $this->uploadStatus; + } +} + +class Google_Service_YouTube_VideoSuggestions extends Google_Collection +{ + protected $collection_key = 'tagSuggestions'; + protected $internal_gapi_mappings = array( + ); + public $editorSuggestions; + public $processingErrors; + public $processingHints; + public $processingWarnings; + protected $tagSuggestionsType = 'Google_Service_YouTube_VideoSuggestionsTagSuggestion'; + protected $tagSuggestionsDataType = 'array'; + + + public function setEditorSuggestions($editorSuggestions) + { + $this->editorSuggestions = $editorSuggestions; + } + public function getEditorSuggestions() + { + return $this->editorSuggestions; + } + public function setProcessingErrors($processingErrors) + { + $this->processingErrors = $processingErrors; + } + public function getProcessingErrors() + { + return $this->processingErrors; + } + public function setProcessingHints($processingHints) + { + $this->processingHints = $processingHints; + } + public function getProcessingHints() + { + return $this->processingHints; + } + public function setProcessingWarnings($processingWarnings) + { + $this->processingWarnings = $processingWarnings; + } + public function getProcessingWarnings() + { + return $this->processingWarnings; + } + public function setTagSuggestions($tagSuggestions) + { + $this->tagSuggestions = $tagSuggestions; + } + public function getTagSuggestions() + { + return $this->tagSuggestions; + } +} + +class Google_Service_YouTube_VideoSuggestionsTagSuggestion extends Google_Collection +{ + protected $collection_key = 'categoryRestricts'; + protected $internal_gapi_mappings = array( + ); + public $categoryRestricts; + public $tag; + + + public function setCategoryRestricts($categoryRestricts) + { + $this->categoryRestricts = $categoryRestricts; + } + public function getCategoryRestricts() + { + return $this->categoryRestricts; + } + public function setTag($tag) + { + $this->tag = $tag; + } + public function getTag() + { + return $this->tag; + } +} + +class Google_Service_YouTube_VideoTopicDetails extends Google_Collection +{ + protected $collection_key = 'topicIds'; + protected $internal_gapi_mappings = array( + ); + public $relevantTopicIds; + public $topicIds; + + + public function setRelevantTopicIds($relevantTopicIds) + { + $this->relevantTopicIds = $relevantTopicIds; + } + public function getRelevantTopicIds() + { + return $this->relevantTopicIds; + } + public function setTopicIds($topicIds) + { + $this->topicIds = $topicIds; + } + public function getTopicIds() + { + return $this->topicIds; + } +} + +class Google_Service_YouTube_WatchSettings extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $backgroundColor; + public $featuredPlaylistId; + public $textColor; + + + public function setBackgroundColor($backgroundColor) + { + $this->backgroundColor = $backgroundColor; + } + public function getBackgroundColor() + { + return $this->backgroundColor; + } + public function setFeaturedPlaylistId($featuredPlaylistId) + { + $this->featuredPlaylistId = $featuredPlaylistId; + } + public function getFeaturedPlaylistId() + { + return $this->featuredPlaylistId; + } + public function setTextColor($textColor) + { + $this->textColor = $textColor; + } + public function getTextColor() + { + return $this->textColor; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/YouTubeAnalytics.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/YouTubeAnalytics.php new file mode 100644 index 0000000..acf448e --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/YouTubeAnalytics.php @@ -0,0 +1,1197 @@ + + * Retrieve your YouTube Analytics reports.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_YouTubeAnalytics extends Google_Service +{ + /** Manage your YouTube account. */ + const YOUTUBE = + "https://www.googleapis.com/auth/youtube"; + /** View your YouTube account. */ + const YOUTUBE_READONLY = + "https://www.googleapis.com/auth/youtube.readonly"; + /** View and manage your assets and associated content on YouTube. */ + const YOUTUBEPARTNER = + "https://www.googleapis.com/auth/youtubepartner"; + /** View monetary and non-monetary YouTube Analytics reports for your YouTube content. */ + const YT_ANALYTICS_MONETARY_READONLY = + "https://www.googleapis.com/auth/yt-analytics-monetary.readonly"; + /** View YouTube Analytics reports for your YouTube content. */ + const YT_ANALYTICS_READONLY = + "https://www.googleapis.com/auth/yt-analytics.readonly"; + + public $batchReportDefinitions; + public $batchReports; + public $groupItems; + public $groups; + public $reports; + + + /** + * Constructs the internal representation of the YouTubeAnalytics service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://www.googleapis.com/'; + $this->servicePath = 'youtube/analytics/v1/'; + $this->version = 'v1'; + $this->serviceName = 'youtubeAnalytics'; + + $this->batchReportDefinitions = new Google_Service_YouTubeAnalytics_BatchReportDefinitions_Resource( + $this, + $this->serviceName, + 'batchReportDefinitions', + array( + 'methods' => array( + 'list' => array( + 'path' => 'batchReportDefinitions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->batchReports = new Google_Service_YouTubeAnalytics_BatchReports_Resource( + $this, + $this->serviceName, + 'batchReports', + array( + 'methods' => array( + 'list' => array( + 'path' => 'batchReports', + 'httpMethod' => 'GET', + 'parameters' => array( + 'batchReportDefinitionId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->groupItems = new Google_Service_YouTubeAnalytics_GroupItems_Resource( + $this, + $this->serviceName, + 'groupItems', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'groupItems', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'insert' => array( + 'path' => 'groupItems', + 'httpMethod' => 'POST', + 'parameters' => array( + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'groupItems', + 'httpMethod' => 'GET', + 'parameters' => array( + 'groupId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->groups = new Google_Service_YouTubeAnalytics_Groups_Resource( + $this, + $this->serviceName, + 'groups', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'groups', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'id' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'insert' => array( + 'path' => 'groups', + 'httpMethod' => 'POST', + 'parameters' => array( + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'groups', + 'httpMethod' => 'GET', + 'parameters' => array( + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'id' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'mine' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'update' => array( + 'path' => 'groups', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->reports = new Google_Service_YouTubeAnalytics_Reports_Resource( + $this, + $this->serviceName, + 'reports', + array( + 'methods' => array( + 'query' => array( + 'path' => 'reports', + 'httpMethod' => 'GET', + 'parameters' => array( + 'ids' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'start-date' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'end-date' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'metrics' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'max-results' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'sort' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'dimensions' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'start-index' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'currency' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'filters' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "batchReportDefinitions" collection of methods. + * Typical usage is: + * + * $youtubeAnalyticsService = new Google_Service_YouTubeAnalytics(...); + * $batchReportDefinitions = $youtubeAnalyticsService->batchReportDefinitions; + * + */ +class Google_Service_YouTubeAnalytics_BatchReportDefinitions_Resource extends Google_Service_Resource +{ + + /** + * Retrieves a list of available batch report definitions. + * (batchReportDefinitions.listBatchReportDefinitions) + * + * @param string $onBehalfOfContentOwner The onBehalfOfContentOwner parameter + * identifies the content owner that the user is acting on behalf of. + * @param array $optParams Optional parameters. + * @return Google_Service_YouTubeAnalytics_BatchReportDefinitionList + */ + public function listBatchReportDefinitions($onBehalfOfContentOwner, $optParams = array()) + { + $params = array('onBehalfOfContentOwner' => $onBehalfOfContentOwner); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTubeAnalytics_BatchReportDefinitionList"); + } +} + +/** + * The "batchReports" collection of methods. + * Typical usage is: + * + * $youtubeAnalyticsService = new Google_Service_YouTubeAnalytics(...); + * $batchReports = $youtubeAnalyticsService->batchReports; + * + */ +class Google_Service_YouTubeAnalytics_BatchReports_Resource extends Google_Service_Resource +{ + + /** + * Retrieves a list of processed batch reports. (batchReports.listBatchReports) + * + * @param string $batchReportDefinitionId The batchReportDefinitionId parameter + * specifies the ID of the batch reportort definition for which you are + * retrieving reports. + * @param string $onBehalfOfContentOwner The onBehalfOfContentOwner parameter + * identifies the content owner that the user is acting on behalf of. + * @param array $optParams Optional parameters. + * @return Google_Service_YouTubeAnalytics_BatchReportList + */ + public function listBatchReports($batchReportDefinitionId, $onBehalfOfContentOwner, $optParams = array()) + { + $params = array('batchReportDefinitionId' => $batchReportDefinitionId, 'onBehalfOfContentOwner' => $onBehalfOfContentOwner); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTubeAnalytics_BatchReportList"); + } +} + +/** + * The "groupItems" collection of methods. + * Typical usage is: + * + * $youtubeAnalyticsService = new Google_Service_YouTubeAnalytics(...); + * $groupItems = $youtubeAnalyticsService->groupItems; + * + */ +class Google_Service_YouTubeAnalytics_GroupItems_Resource extends Google_Service_Resource +{ + + /** + * Removes an item from a group. (groupItems.delete) + * + * @param string $id The id parameter specifies the YouTube group item ID for + * the group that is being deleted. + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + */ + public function delete($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Creates a group item. (groupItems.insert) + * + * @param Google_GroupItem $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @return Google_Service_YouTubeAnalytics_GroupItem + */ + public function insert(Google_Service_YouTubeAnalytics_GroupItem $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_YouTubeAnalytics_GroupItem"); + } + + /** + * Returns a collection of group items that match the API request parameters. + * (groupItems.listGroupItems) + * + * @param string $groupId The id parameter specifies the unique ID of the group + * for which you want to retrieve group items. + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @return Google_Service_YouTubeAnalytics_GroupItemListResponse + */ + public function listGroupItems($groupId, $optParams = array()) + { + $params = array('groupId' => $groupId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTubeAnalytics_GroupItemListResponse"); + } +} + +/** + * The "groups" collection of methods. + * Typical usage is: + * + * $youtubeAnalyticsService = new Google_Service_YouTubeAnalytics(...); + * $groups = $youtubeAnalyticsService->groups; + * + */ +class Google_Service_YouTubeAnalytics_Groups_Resource extends Google_Service_Resource +{ + + /** + * Deletes a group. (groups.delete) + * + * @param string $id The id parameter specifies the YouTube group ID for the + * group that is being deleted. + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + */ + public function delete($id, $optParams = array()) + { + $params = array('id' => $id); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params)); + } + + /** + * Creates a group. (groups.insert) + * + * @param Google_Group $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @return Google_Service_YouTubeAnalytics_Group + */ + public function insert(Google_Service_YouTubeAnalytics_Group $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Google_Service_YouTubeAnalytics_Group"); + } + + /** + * Returns a collection of groups that match the API request parameters. For + * example, you can retrieve all groups that the authenticated user owns, or you + * can retrieve one or more groups by their unique IDs. (groups.listGroups) + * + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @opt_param string id The id parameter specifies a comma-separated list of the + * YouTube group ID(s) for the resource(s) that are being retrieved. In a group + * resource, the id property specifies the group's YouTube group ID. + * @opt_param bool mine Set this parameter's value to true to instruct the API + * to only return groups owned by the authenticated user. + * @return Google_Service_YouTubeAnalytics_GroupListResponse + */ + public function listGroups($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTubeAnalytics_GroupListResponse"); + } + + /** + * Modifies a group. For example, you could change a group's title. + * (groups.update) + * + * @param Google_Group $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner Note: This parameter is intended + * exclusively for YouTube content partners. + * + * The onBehalfOfContentOwner parameter indicates that the request's + * authorization credentials identify a YouTube CMS user who is acting on behalf + * of the content owner specified in the parameter value. This parameter is + * intended for YouTube content partners that own and manage many different + * YouTube channels. It allows content owners to authenticate once and get + * access to all their video and channel data, without having to provide + * authentication credentials for each individual channel. The CMS account that + * the user authenticates with must be linked to the specified YouTube content + * owner. + * @return Google_Service_YouTubeAnalytics_Group + */ + public function update(Google_Service_YouTubeAnalytics_Group $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Google_Service_YouTubeAnalytics_Group"); + } +} + +/** + * The "reports" collection of methods. + * Typical usage is: + * + * $youtubeAnalyticsService = new Google_Service_YouTubeAnalytics(...); + * $reports = $youtubeAnalyticsService->reports; + * + */ +class Google_Service_YouTubeAnalytics_Reports_Resource extends Google_Service_Resource +{ + + /** + * Retrieve your YouTube Analytics reports. (reports.query) + * + * @param string $ids Identifies the YouTube channel or content owner for which + * you are retrieving YouTube Analytics data. - To request data for a YouTube + * user, set the ids parameter value to channel==CHANNEL_ID, where CHANNEL_ID + * specifies the unique YouTube channel ID. - To request data for a YouTube CMS + * content owner, set the ids parameter value to contentOwner==OWNER_NAME, where + * OWNER_NAME is the CMS name of the content owner. + * @param string $startDate The start date for fetching YouTube Analytics data. + * The value should be in YYYY-MM-DD format. + * @param string $endDate The end date for fetching YouTube Analytics data. The + * value should be in YYYY-MM-DD format. + * @param string $metrics A comma-separated list of YouTube Analytics metrics, + * such as views or likes,dislikes. See the Available Reports document for a + * list of the reports that you can retrieve and the metrics available in each + * report, and see the Metrics document for definitions of those metrics. + * @param array $optParams Optional parameters. + * + * @opt_param int max-results The maximum number of rows to include in the + * response. + * @opt_param string sort A comma-separated list of dimensions or metrics that + * determine the sort order for YouTube Analytics data. By default the sort + * order is ascending. The '-' prefix causes descending sort order. + * @opt_param string dimensions A comma-separated list of YouTube Analytics + * dimensions, such as views or ageGroup,gender. See the Available Reports + * document for a list of the reports that you can retrieve and the dimensions + * used for those reports. Also see the Dimensions document for definitions of + * those dimensions. + * @opt_param int start-index An index of the first entity to retrieve. Use this + * parameter as a pagination mechanism along with the max-results parameter + * (one-based, inclusive). + * @opt_param string currency The currency to which financial metrics should be + * converted. The default is US Dollar (USD). If the result contains no + * financial metrics, this flag will be ignored. Responds with an error if the + * specified currency is not recognized. + * @opt_param string filters A list of filters that should be applied when + * retrieving YouTube Analytics data. The Available Reports document identifies + * the dimensions that can be used to filter each report, and the Dimensions + * document defines those dimensions. If a request uses multiple filters, join + * them together with a semicolon (;), and the returned result table will + * satisfy both filters. For example, a filters parameter value of + * video==dMH0bHeiRNg;country==IT restricts the result set to include data for + * the given video in Italy. + * @return Google_Service_YouTubeAnalytics_ResultTable + */ + public function query($ids, $startDate, $endDate, $metrics, $optParams = array()) + { + $params = array('ids' => $ids, 'start-date' => $startDate, 'end-date' => $endDate, 'metrics' => $metrics); + $params = array_merge($params, $optParams); + return $this->call('query', array($params), "Google_Service_YouTubeAnalytics_ResultTable"); + } +} + + + + +class Google_Service_YouTubeAnalytics_BatchReport extends Google_Collection +{ + protected $collection_key = 'outputs'; + protected $internal_gapi_mappings = array( + ); + public $id; + public $kind; + protected $outputsType = 'Google_Service_YouTubeAnalytics_BatchReportOutputs'; + protected $outputsDataType = 'array'; + public $reportId; + protected $timeSpanType = 'Google_Service_YouTubeAnalytics_BatchReportTimeSpan'; + protected $timeSpanDataType = ''; + public $timeUpdated; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setOutputs($outputs) + { + $this->outputs = $outputs; + } + public function getOutputs() + { + return $this->outputs; + } + public function setReportId($reportId) + { + $this->reportId = $reportId; + } + public function getReportId() + { + return $this->reportId; + } + public function setTimeSpan(Google_Service_YouTubeAnalytics_BatchReportTimeSpan $timeSpan) + { + $this->timeSpan = $timeSpan; + } + public function getTimeSpan() + { + return $this->timeSpan; + } + public function setTimeUpdated($timeUpdated) + { + $this->timeUpdated = $timeUpdated; + } + public function getTimeUpdated() + { + return $this->timeUpdated; + } +} + +class Google_Service_YouTubeAnalytics_BatchReportDefinition extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $kind; + public $name; + public $status; + public $type; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setStatus($status) + { + $this->status = $status; + } + public function getStatus() + { + return $this->status; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_YouTubeAnalytics_BatchReportDefinitionList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_YouTubeAnalytics_BatchReportDefinition'; + protected $itemsDataType = 'array'; + public $kind; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_YouTubeAnalytics_BatchReportList extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Google_Service_YouTubeAnalytics_BatchReport'; + protected $itemsDataType = 'array'; + public $kind; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_YouTubeAnalytics_BatchReportOutputs extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $downloadUrl; + public $format; + public $type; + + + public function setDownloadUrl($downloadUrl) + { + $this->downloadUrl = $downloadUrl; + } + public function getDownloadUrl() + { + return $this->downloadUrl; + } + public function setFormat($format) + { + $this->format = $format; + } + public function getFormat() + { + return $this->format; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Google_Service_YouTubeAnalytics_BatchReportTimeSpan extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $endTime; + public $startTime; + + + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } +} + +class Google_Service_YouTubeAnalytics_Group extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $contentDetailsType = 'Google_Service_YouTubeAnalytics_GroupContentDetails'; + protected $contentDetailsDataType = ''; + public $etag; + public $id; + public $kind; + protected $snippetType = 'Google_Service_YouTubeAnalytics_GroupSnippet'; + protected $snippetDataType = ''; + + + public function setContentDetails(Google_Service_YouTubeAnalytics_GroupContentDetails $contentDetails) + { + $this->contentDetails = $contentDetails; + } + public function getContentDetails() + { + return $this->contentDetails; + } + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSnippet(Google_Service_YouTubeAnalytics_GroupSnippet $snippet) + { + $this->snippet = $snippet; + } + public function getSnippet() + { + return $this->snippet; + } +} + +class Google_Service_YouTubeAnalytics_GroupContentDetails extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $itemCount; + public $itemType; + + + public function setItemCount($itemCount) + { + $this->itemCount = $itemCount; + } + public function getItemCount() + { + return $this->itemCount; + } + public function setItemType($itemType) + { + $this->itemType = $itemType; + } + public function getItemType() + { + return $this->itemType; + } +} + +class Google_Service_YouTubeAnalytics_GroupItem extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $etag; + public $groupId; + public $id; + public $kind; + protected $resourceType = 'Google_Service_YouTubeAnalytics_GroupItemResource'; + protected $resourceDataType = ''; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setGroupId($groupId) + { + $this->groupId = $groupId; + } + public function getGroupId() + { + return $this->groupId; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setResource(Google_Service_YouTubeAnalytics_GroupItemResource $resource) + { + $this->resource = $resource; + } + public function getResource() + { + return $this->resource; + } +} + +class Google_Service_YouTubeAnalytics_GroupItemListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_YouTubeAnalytics_GroupItem'; + protected $itemsDataType = 'array'; + public $kind; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_YouTubeAnalytics_GroupItemResource extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $kind; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_YouTubeAnalytics_GroupListResponse extends Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + public $etag; + protected $itemsType = 'Google_Service_YouTubeAnalytics_Group'; + protected $itemsDataType = 'array'; + public $kind; + + + public function setEtag($etag) + { + $this->etag = $etag; + } + public function getEtag() + { + return $this->etag; + } + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Google_Service_YouTubeAnalytics_GroupSnippet extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $publishedAt; + public $title; + + + public function setPublishedAt($publishedAt) + { + $this->publishedAt = $publishedAt; + } + public function getPublishedAt() + { + return $this->publishedAt; + } + public function setTitle($title) + { + $this->title = $title; + } + public function getTitle() + { + return $this->title; + } +} + +class Google_Service_YouTubeAnalytics_ResultTable extends Google_Collection +{ + protected $collection_key = 'rows'; + protected $internal_gapi_mappings = array( + ); + protected $columnHeadersType = 'Google_Service_YouTubeAnalytics_ResultTableColumnHeaders'; + protected $columnHeadersDataType = 'array'; + public $kind; + public $rows; + + + public function setColumnHeaders($columnHeaders) + { + $this->columnHeaders = $columnHeaders; + } + public function getColumnHeaders() + { + return $this->columnHeaders; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRows($rows) + { + $this->rows = $rows; + } + public function getRows() + { + return $this->rows; + } +} + +class Google_Service_YouTubeAnalytics_ResultTableColumnHeaders extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $columnType; + public $dataType; + public $name; + + + public function setColumnType($columnType) + { + $this->columnType = $columnType; + } + public function getColumnType() + { + return $this->columnType; + } + public function setDataType($dataType) + { + $this->dataType = $dataType; + } + public function getDataType() + { + return $this->dataType; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/YouTubeReporting.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/YouTubeReporting.php new file mode 100644 index 0000000..805438f --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Service/YouTubeReporting.php @@ -0,0 +1,674 @@ + + * An API to schedule reporting jobs and download the resulting bulk data + * reports about YouTube channels, videos etc. in the form of CSV files.

              + * + *

              + * For more information about this service, see the API + * Documentation + *

              + * + * @author Google, Inc. + */ +class Google_Service_YouTubeReporting extends Google_Service +{ + /** View monetary and non-monetary YouTube Analytics reports for your YouTube content. */ + const YT_ANALYTICS_MONETARY_READONLY = + "https://www.googleapis.com/auth/yt-analytics-monetary.readonly"; + /** View YouTube Analytics reports for your YouTube content. */ + const YT_ANALYTICS_READONLY = + "https://www.googleapis.com/auth/yt-analytics.readonly"; + + public $jobs; + public $jobs_reports; + public $media; + public $reportTypes; + + + /** + * Constructs the internal representation of the YouTubeReporting service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->rootUrl = 'https://youtubereporting.googleapis.com/'; + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'youtubereporting'; + + $this->jobs = new Google_Service_YouTubeReporting_Jobs_Resource( + $this, + $this->serviceName, + 'jobs', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/jobs', + 'httpMethod' => 'POST', + 'parameters' => array( + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'delete' => array( + 'path' => 'v1/jobs/{jobId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'get' => array( + 'path' => 'v1/jobs/{jobId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'v1/jobs', + 'httpMethod' => 'GET', + 'parameters' => array( + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->jobs_reports = new Google_Service_YouTubeReporting_JobsReports_Resource( + $this, + $this->serviceName, + 'reports', + array( + 'methods' => array( + 'get' => array( + 'path' => 'v1/jobs/{jobId}/reports/{reportId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'reportId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'v1/jobs/{jobId}/reports', + 'httpMethod' => 'GET', + 'parameters' => array( + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->media = new Google_Service_YouTubeReporting_Media_Resource( + $this, + $this->serviceName, + 'media', + array( + 'methods' => array( + 'download' => array( + 'path' => 'v1/media/{+resourceName}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'resourceName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->reportTypes = new Google_Service_YouTubeReporting_ReportTypes_Resource( + $this, + $this->serviceName, + 'reportTypes', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v1/reportTypes', + 'httpMethod' => 'GET', + 'parameters' => array( + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'onBehalfOfContentOwner' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "jobs" collection of methods. + * Typical usage is: + * + * $youtubereportingService = new Google_Service_YouTubeReporting(...); + * $jobs = $youtubereportingService->jobs; + * + */ +class Google_Service_YouTubeReporting_Jobs_Resource extends Google_Service_Resource +{ + + /** + * Creates a job and returns it. (jobs.create) + * + * @param Google_Job $postBody + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner The content owner's external ID on + * which behalf the user is acting on. If not set, the user is acting for + * himself (his own channel). + * @return Google_Service_YouTubeReporting_Job + */ + public function create(Google_Service_YouTubeReporting_Job $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_YouTubeReporting_Job"); + } + + /** + * Deletes a job. (jobs.delete) + * + * @param string $jobId The ID of the job to delete. + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner The content owner's external ID on + * which behalf the user is acting on. If not set, the user is acting for + * himself (his own channel). + * @return Google_Service_YouTubeReporting_Empty + */ + public function delete($jobId, $optParams = array()) + { + $params = array('jobId' => $jobId); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_YouTubeReporting_Empty"); + } + + /** + * Gets a job. (jobs.get) + * + * @param string $jobId The ID of the job to retrieve. + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner The content owner's external ID on + * which behalf the user is acting on. If not set, the user is acting for + * himself (his own channel). + * @return Google_Service_YouTubeReporting_Job + */ + public function get($jobId, $optParams = array()) + { + $params = array('jobId' => $jobId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_YouTubeReporting_Job"); + } + + /** + * Lists jobs. (jobs.listJobs) + * + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken A token identifying a page of results the server + * should return. Typically, this is the value of + * ListReportTypesResponse.next_page_token returned in response to the previous + * call to the `ListJobs` method. + * @opt_param string onBehalfOfContentOwner The content owner's external ID on + * which behalf the user is acting on. If not set, the user is acting for + * himself (his own channel). + * @opt_param int pageSize Requested page size. Server may return fewer jobs + * than requested. If unspecified, server will pick an appropriate default. + * @return Google_Service_YouTubeReporting_ListJobsResponse + */ + public function listJobs($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTubeReporting_ListJobsResponse"); + } +} + +/** + * The "reports" collection of methods. + * Typical usage is: + * + * $youtubereportingService = new Google_Service_YouTubeReporting(...); + * $reports = $youtubereportingService->reports; + * + */ +class Google_Service_YouTubeReporting_JobsReports_Resource extends Google_Service_Resource +{ + + /** + * Gets the metadata of a specific report. (reports.get) + * + * @param string $jobId The ID of the job. + * @param string $reportId The ID of the report to retrieve. + * @param array $optParams Optional parameters. + * + * @opt_param string onBehalfOfContentOwner The content owner's external ID on + * which behalf the user is acting on. If not set, the user is acting for + * himself (his own channel). + * @return Google_Service_YouTubeReporting_Report + */ + public function get($jobId, $reportId, $optParams = array()) + { + $params = array('jobId' => $jobId, 'reportId' => $reportId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Google_Service_YouTubeReporting_Report"); + } + + /** + * Lists reports created by a specific job. Returns NOT_FOUND if the job does + * not exist. (reports.listJobsReports) + * + * @param string $jobId The ID of the job. + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken A token identifying a page of results the server + * should return. Typically, this is the value of + * ListReportsResponse.next_page_token returned in response to the previous call + * to the `ListReports` method. + * @opt_param string onBehalfOfContentOwner The content owner's external ID on + * which behalf the user is acting on. If not set, the user is acting for + * himself (his own channel). + * @opt_param int pageSize Requested page size. Server may return fewer report + * types than requested. If unspecified, server will pick an appropriate + * default. + * @return Google_Service_YouTubeReporting_ListReportsResponse + */ + public function listJobsReports($jobId, $optParams = array()) + { + $params = array('jobId' => $jobId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTubeReporting_ListReportsResponse"); + } +} + +/** + * The "media" collection of methods. + * Typical usage is: + * + * $youtubereportingService = new Google_Service_YouTubeReporting(...); + * $media = $youtubereportingService->media; + * + */ +class Google_Service_YouTubeReporting_Media_Resource extends Google_Service_Resource +{ + + /** + * Method for media download. Download is supported on the URI + * `/v1/media/{+name}?alt=media`. (media.download) + * + * @param string $resourceName Name of the media that is being downloaded. See + * [][ByteStream.ReadRequest.resource_name]. + * @param array $optParams Optional parameters. + * @return Google_Service_YouTubeReporting_Media + */ + public function download($resourceName, $optParams = array()) + { + $params = array('resourceName' => $resourceName); + $params = array_merge($params, $optParams); + return $this->call('download', array($params), "Google_Service_YouTubeReporting_Media"); + } +} + +/** + * The "reportTypes" collection of methods. + * Typical usage is: + * + * $youtubereportingService = new Google_Service_YouTubeReporting(...); + * $reportTypes = $youtubereportingService->reportTypes; + * + */ +class Google_Service_YouTubeReporting_ReportTypes_Resource extends Google_Service_Resource +{ + + /** + * Lists report types. (reportTypes.listReportTypes) + * + * @param array $optParams Optional parameters. + * + * @opt_param string pageToken A token identifying a page of results the server + * should return. Typically, this is the value of + * ListReportTypesResponse.next_page_token returned in response to the previous + * call to the `ListReportTypes` method. + * @opt_param string onBehalfOfContentOwner The content owner's external ID on + * which behalf the user is acting on. If not set, the user is acting for + * himself (his own channel). + * @opt_param int pageSize Requested page size. Server may return fewer report + * types than requested. If unspecified, server will pick an appropriate + * default. + * @return Google_Service_YouTubeReporting_ListReportTypesResponse + */ + public function listReportTypes($optParams = array()) + { + $params = array(); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Google_Service_YouTubeReporting_ListReportTypesResponse"); + } +} + + + + +class Google_Service_YouTubeReporting_Empty extends Google_Model +{ +} + +class Google_Service_YouTubeReporting_Job extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $createTime; + public $id; + public $name; + public $reportTypeId; + + + public function setCreateTime($createTime) + { + $this->createTime = $createTime; + } + public function getCreateTime() + { + return $this->createTime; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setReportTypeId($reportTypeId) + { + $this->reportTypeId = $reportTypeId; + } + public function getReportTypeId() + { + return $this->reportTypeId; + } +} + +class Google_Service_YouTubeReporting_ListJobsResponse extends Google_Collection +{ + protected $collection_key = 'jobs'; + protected $internal_gapi_mappings = array( + ); + protected $jobsType = 'Google_Service_YouTubeReporting_Job'; + protected $jobsDataType = 'array'; + public $nextPageToken; + + + public function setJobs($jobs) + { + $this->jobs = $jobs; + } + public function getJobs() + { + return $this->jobs; + } + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } +} + +class Google_Service_YouTubeReporting_ListReportTypesResponse extends Google_Collection +{ + protected $collection_key = 'reportTypes'; + protected $internal_gapi_mappings = array( + ); + public $nextPageToken; + protected $reportTypesType = 'Google_Service_YouTubeReporting_ReportType'; + protected $reportTypesDataType = 'array'; + + + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setReportTypes($reportTypes) + { + $this->reportTypes = $reportTypes; + } + public function getReportTypes() + { + return $this->reportTypes; + } +} + +class Google_Service_YouTubeReporting_ListReportsResponse extends Google_Collection +{ + protected $collection_key = 'reports'; + protected $internal_gapi_mappings = array( + ); + public $nextPageToken; + protected $reportsType = 'Google_Service_YouTubeReporting_Report'; + protected $reportsDataType = 'array'; + + + public function setNextPageToken($nextPageToken) + { + $this->nextPageToken = $nextPageToken; + } + public function getNextPageToken() + { + return $this->nextPageToken; + } + public function setReports($reports) + { + $this->reports = $reports; + } + public function getReports() + { + return $this->reports; + } +} + +class Google_Service_YouTubeReporting_Media extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $resourceName; + + + public function setResourceName($resourceName) + { + $this->resourceName = $resourceName; + } + public function getResourceName() + { + return $this->resourceName; + } +} + +class Google_Service_YouTubeReporting_Report extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $createTime; + public $downloadUrl; + public $endTime; + public $id; + public $jobId; + public $startTime; + + + public function setCreateTime($createTime) + { + $this->createTime = $createTime; + } + public function getCreateTime() + { + return $this->createTime; + } + public function setDownloadUrl($downloadUrl) + { + $this->downloadUrl = $downloadUrl; + } + public function getDownloadUrl() + { + return $this->downloadUrl; + } + public function setEndTime($endTime) + { + $this->endTime = $endTime; + } + public function getEndTime() + { + return $this->endTime; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setJobId($jobId) + { + $this->jobId = $jobId; + } + public function getJobId() + { + return $this->jobId; + } + public function setStartTime($startTime) + { + $this->startTime = $startTime; + } + public function getStartTime() + { + return $this->startTime; + } +} + +class Google_Service_YouTubeReporting_ReportType extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $id; + public $name; + + + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Signer/Abstract.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Signer/Abstract.php new file mode 100644 index 0000000..2501809 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Signer/Abstract.php @@ -0,0 +1,29 @@ + + */ +abstract class Google_Signer_Abstract +{ + /** + * Signs data, returns the signature as binary data. + */ + abstract public function sign($data); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Signer/P12.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Signer/P12.php new file mode 100644 index 0000000..1fbed87 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Signer/P12.php @@ -0,0 +1,94 @@ + + */ +class Google_Signer_P12 extends Google_Signer_Abstract +{ + // OpenSSL private key resource + private $privateKey; + + // Creates a new signer from a .p12 file. + public function __construct($p12, $password) + { + if (!function_exists('openssl_x509_read')) { + throw new Google_Exception( + 'The Google PHP API library needs the openssl PHP extension' + ); + } + + // If the private key is provided directly, then this isn't in the p12 + // format. Different versions of openssl support different p12 formats + // and the key from google wasn't being accepted by the version available + // at the time. + if (!$password && strpos($p12, "-----BEGIN RSA PRIVATE KEY-----") !== false) { + $this->privateKey = openssl_pkey_get_private($p12); + } elseif ($password === 'notasecret' && strpos($p12, "-----BEGIN PRIVATE KEY-----") !== false) { + $this->privateKey = openssl_pkey_get_private($p12); + } else { + // This throws on error + $certs = array(); + if (!openssl_pkcs12_read($p12, $certs, $password)) { + throw new Google_Auth_Exception( + "Unable to parse the p12 file. " . + "Is this a .p12 file? Is the password correct? OpenSSL error: " . + openssl_error_string() + ); + } + // TODO(beaton): is this part of the contract for the openssl_pkcs12_read + // method? What happens if there are multiple private keys? Do we care? + if (!array_key_exists("pkey", $certs) || !$certs["pkey"]) { + throw new Google_Auth_Exception("No private key found in p12 file."); + } + $this->privateKey = openssl_pkey_get_private($certs['pkey']); + } + + if (!$this->privateKey) { + throw new Google_Auth_Exception("Unable to load private key"); + } + } + + public function __destruct() + { + if ($this->privateKey) { + openssl_pkey_free($this->privateKey); + } + } + + public function sign($data) + { + if (version_compare(PHP_VERSION, '5.3.0') < 0) { + throw new Google_Auth_Exception( + "PHP 5.3.0 or higher is required to use service accounts." + ); + } + $hash = defined("OPENSSL_ALGO_SHA256") ? OPENSSL_ALGO_SHA256 : "sha256"; + if (!openssl_sign($data, $signature, $this->privateKey, $hash)) { + throw new Google_Auth_Exception("Unable to sign data"); + } + return $signature; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Task/Exception.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Task/Exception.php new file mode 100644 index 0000000..231bf2b --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Task/Exception.php @@ -0,0 +1,24 @@ +getClassConfig('Google_Task_Runner'); + + if (isset($config['initial_delay'])) { + if ($config['initial_delay'] < 0) { + throw new Google_Task_Exception( + 'Task configuration `initial_delay` must not be negative.' + ); + } + + $this->delay = $config['initial_delay']; + } + + if (isset($config['max_delay'])) { + if ($config['max_delay'] <= 0) { + throw new Google_Task_Exception( + 'Task configuration `max_delay` must be greater than 0.' + ); + } + + $this->maxDelay = $config['max_delay']; + } + + if (isset($config['factor'])) { + if ($config['factor'] <= 0) { + throw new Google_Task_Exception( + 'Task configuration `factor` must be greater than 0.' + ); + } + + $this->factor = $config['factor']; + } + + if (isset($config['jitter'])) { + if ($config['jitter'] <= 0) { + throw new Google_Task_Exception( + 'Task configuration `jitter` must be greater than 0.' + ); + } + + $this->jitter = $config['jitter']; + } + + if (isset($config['retries'])) { + if ($config['retries'] < 0) { + throw new Google_Task_Exception( + 'Task configuration `retries` must not be negative.' + ); + } + $this->maxAttempts += $config['retries']; + } + + if (!is_callable($action)) { + throw new Google_Task_Exception( + 'Task argument `$action` must be a valid callable.' + ); + } + + $this->name = $name; + $this->client = $client; + $this->action = $action; + $this->arguments = $arguments; + } + + /** + * Checks if a retry can be attempted. + * + * @return boolean + */ + public function canAttmpt() + { + return $this->attempts < $this->maxAttempts; + } + + /** + * Runs the task and (if applicable) automatically retries when errors occur. + * + * @return mixed + * @throws Google_Task_Retryable on failure when no retries are available. + */ + public function run() + { + while ($this->attempt()) { + try { + return call_user_func_array($this->action, $this->arguments); + } catch (Google_Task_Retryable $exception) { + $allowedRetries = $exception->allowedRetries(); + + if (!$this->canAttmpt() || !$allowedRetries) { + throw $exception; + } + + if ($allowedRetries > 0) { + $this->maxAttempts = min( + $this->maxAttempts, + $this->attempts + $allowedRetries + ); + } + } + } + } + + /** + * Runs a task once, if possible. This is useful for bypassing the `run()` + * loop. + * + * NOTE: If this is not the first attempt, this function will sleep in + * accordance to the backoff configurations before running the task. + * + * @return boolean + */ + public function attempt() + { + if (!$this->canAttmpt()) { + return false; + } + + if ($this->attempts > 0) { + $this->backOff(); + } + + $this->attempts++; + return true; + } + + /** + * Sleeps in accordance to the backoff configurations. + */ + private function backOff() + { + $delay = $this->getDelay(); + + $this->client->getLogger()->debug( + 'Retrying task with backoff', + array( + 'request' => $this->name, + 'retry' => $this->attempts, + 'backoff_seconds' => $delay + ) + ); + + usleep($delay * 1000000); + } + + /** + * Gets the delay (in seconds) for the current backoff period. + * + * @return float + */ + private function getDelay() + { + $jitter = $this->getJitter(); + $factor = $this->attempts > 1 ? $this->factor + $jitter : 1 + abs($jitter); + + return $this->delay = min($this->maxDelay, $this->delay * $factor); + } + + /** + * Gets the current jitter (random number between -$this->jitter and + * $this->jitter). + * + * @return float + */ + private function getJitter() + { + return $this->jitter * 2 * mt_rand() / mt_getrandmax() - $this->jitter; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Utils.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Utils.php new file mode 100644 index 0000000..2803daa --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Utils.php @@ -0,0 +1,133 @@ += 0x20) && ($ordinalValue <= 0x7F)): + // characters U-00000000 - U-0000007F (same as ASCII) + $ret ++; + break; + case (($ordinalValue & 0xE0) == 0xC0): + // characters U-00000080 - U-000007FF, mask 110XXXXX + // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 + $ret += 2; + break; + case (($ordinalValue & 0xF0) == 0xE0): + // characters U-00000800 - U-0000FFFF, mask 1110XXXX + // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 + $ret += 3; + break; + case (($ordinalValue & 0xF8) == 0xF0): + // characters U-00010000 - U-001FFFFF, mask 11110XXX + // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 + $ret += 4; + break; + case (($ordinalValue & 0xFC) == 0xF8): + // characters U-00200000 - U-03FFFFFF, mask 111110XX + // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 + $ret += 5; + break; + case (($ordinalValue & 0xFE) == 0xFC): + // characters U-04000000 - U-7FFFFFFF, mask 1111110X + // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 + $ret += 6; + break; + default: + $ret ++; + } + } + return $ret; + } + + /** + * Normalize all keys in an array to lower-case. + * @param array $arr + * @return array Normalized array. + */ + public static function normalize($arr) + { + if (!is_array($arr)) { + return array(); + } + + $normalized = array(); + foreach ($arr as $key => $val) { + $normalized[strtolower($key)] = $val; + } + return $normalized; + } + + /** + * Convert a string to camelCase + * @param string $value + * @return string + */ + public static function camelCase($value) + { + $value = ucwords(str_replace(array('-', '_'), ' ', $value)); + $value = str_replace(' ', '', $value); + $value[0] = strtolower($value[0]); + return $value; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Utils/URITemplate.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Utils/URITemplate.php new file mode 100644 index 0000000..0e30f80 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Utils/URITemplate.php @@ -0,0 +1,333 @@ + "reserved", + "/" => "segments", + "." => "dotprefix", + "#" => "fragment", + ";" => "semicolon", + "?" => "form", + "&" => "continuation" + ); + + /** + * @var reserved array + * These are the characters which should not be URL encoded in reserved + * strings. + */ + private $reserved = array( + "=", ",", "!", "@", "|", ":", "/", "?", "#", + "[", "]",'$', "&", "'", "(", ")", "*", "+", ";" + ); + private $reservedEncoded = array( + "%3D", "%2C", "%21", "%40", "%7C", "%3A", "%2F", "%3F", + "%23", "%5B", "%5D", "%24", "%26", "%27", "%28", "%29", + "%2A", "%2B", "%3B" + ); + + public function parse($string, array $parameters) + { + return $this->resolveNextSection($string, $parameters); + } + + /** + * This function finds the first matching {...} block and + * executes the replacement. It then calls itself to find + * subsequent blocks, if any. + */ + private function resolveNextSection($string, $parameters) + { + $start = strpos($string, "{"); + if ($start === false) { + return $string; + } + $end = strpos($string, "}"); + if ($end === false) { + return $string; + } + $string = $this->replace($string, $start, $end, $parameters); + return $this->resolveNextSection($string, $parameters); + } + + private function replace($string, $start, $end, $parameters) + { + // We know a data block will have {} round it, so we can strip that. + $data = substr($string, $start + 1, $end - $start - 1); + + // If the first character is one of the reserved operators, it effects + // the processing of the stream. + if (isset($this->operators[$data[0]])) { + $op = $this->operators[$data[0]]; + $data = substr($data, 1); + $prefix = ""; + $prefix_on_missing = false; + + switch ($op) { + case "reserved": + // Reserved means certain characters should not be URL encoded + $data = $this->replaceVars($data, $parameters, ",", null, true); + break; + case "fragment": + // Comma separated with fragment prefix. Bare values only. + $prefix = "#"; + $prefix_on_missing = true; + $data = $this->replaceVars($data, $parameters, ",", null, true); + break; + case "segments": + // Slash separated data. Bare values only. + $prefix = "/"; + $data =$this->replaceVars($data, $parameters, "/"); + break; + case "dotprefix": + // Dot separated data. Bare values only. + $prefix = "."; + $prefix_on_missing = true; + $data = $this->replaceVars($data, $parameters, "."); + break; + case "semicolon": + // Semicolon prefixed and separated. Uses the key name + $prefix = ";"; + $data = $this->replaceVars($data, $parameters, ";", "=", false, true, false); + break; + case "form": + // Standard URL format. Uses the key name + $prefix = "?"; + $data = $this->replaceVars($data, $parameters, "&", "="); + break; + case "continuation": + // Standard URL, but with leading ampersand. Uses key name. + $prefix = "&"; + $data = $this->replaceVars($data, $parameters, "&", "="); + break; + } + + // Add the initial prefix character if data is valid. + if ($data || ($data !== false && $prefix_on_missing)) { + $data = $prefix . $data; + } + + } else { + // If no operator we replace with the defaults. + $data = $this->replaceVars($data, $parameters); + } + // This is chops out the {...} and replaces with the new section. + return substr($string, 0, $start) . $data . substr($string, $end + 1); + } + + private function replaceVars( + $section, + $parameters, + $sep = ",", + $combine = null, + $reserved = false, + $tag_empty = false, + $combine_on_empty = true + ) { + if (strpos($section, ",") === false) { + // If we only have a single value, we can immediately process. + return $this->combine( + $section, + $parameters, + $sep, + $combine, + $reserved, + $tag_empty, + $combine_on_empty + ); + } else { + // If we have multiple values, we need to split and loop over them. + // Each is treated individually, then glued together with the + // separator character. + $vars = explode(",", $section); + return $this->combineList( + $vars, + $sep, + $parameters, + $combine, + $reserved, + false, // Never emit empty strings in multi-param replacements + $combine_on_empty + ); + } + } + + public function combine( + $key, + $parameters, + $sep, + $combine, + $reserved, + $tag_empty, + $combine_on_empty + ) { + $length = false; + $explode = false; + $skip_final_combine = false; + $value = false; + + // Check for length restriction. + if (strpos($key, ":") !== false) { + list($key, $length) = explode(":", $key); + } + + // Check for explode parameter. + if ($key[strlen($key) - 1] == "*") { + $explode = true; + $key = substr($key, 0, -1); + $skip_final_combine = true; + } + + // Define the list separator. + $list_sep = $explode ? $sep : ","; + + if (isset($parameters[$key])) { + $data_type = $this->getDataType($parameters[$key]); + switch ($data_type) { + case self::TYPE_SCALAR: + $value = $this->getValue($parameters[$key], $length); + break; + case self::TYPE_LIST: + $values = array(); + foreach ($parameters[$key] as $pkey => $pvalue) { + $pvalue = $this->getValue($pvalue, $length); + if ($combine && $explode) { + $values[$pkey] = $key . $combine . $pvalue; + } else { + $values[$pkey] = $pvalue; + } + } + $value = implode($list_sep, $values); + if ($value == '') { + return ''; + } + break; + case self::TYPE_MAP: + $values = array(); + foreach ($parameters[$key] as $pkey => $pvalue) { + $pvalue = $this->getValue($pvalue, $length); + if ($explode) { + $pkey = $this->getValue($pkey, $length); + $values[] = $pkey . "=" . $pvalue; // Explode triggers = combine. + } else { + $values[] = $pkey; + $values[] = $pvalue; + } + } + $value = implode($list_sep, $values); + if ($value == '') { + return false; + } + break; + } + } else if ($tag_empty) { + // If we are just indicating empty values with their key name, return that. + return $key; + } else { + // Otherwise we can skip this variable due to not being defined. + return false; + } + + if ($reserved) { + $value = str_replace($this->reservedEncoded, $this->reserved, $value); + } + + // If we do not need to include the key name, we just return the raw + // value. + if (!$combine || $skip_final_combine) { + return $value; + } + + // Else we combine the key name: foo=bar, if value is not the empty string. + return $key . ($value != '' || $combine_on_empty ? $combine . $value : ''); + } + + /** + * Return the type of a passed in value + */ + private function getDataType($data) + { + if (is_array($data)) { + reset($data); + if (key($data) !== 0) { + return self::TYPE_MAP; + } + return self::TYPE_LIST; + } + return self::TYPE_SCALAR; + } + + /** + * Utility function that merges multiple combine calls + * for multi-key templates. + */ + private function combineList( + $vars, + $sep, + $parameters, + $combine, + $reserved, + $tag_empty, + $combine_on_empty + ) { + $ret = array(); + foreach ($vars as $var) { + $response = $this->combine( + $var, + $parameters, + $sep, + $combine, + $reserved, + $tag_empty, + $combine_on_empty + ); + if ($response === false) { + continue; + } + $ret[] = $response; + } + return implode($sep, $ret); + } + + /** + * Utility function to encode and trim values + */ + private function getValue($value, $length) + { + if ($length) { + $value = substr($value, 0, $length); + } + $value = rawurlencode($value); + return $value; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Verifier/Abstract.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Verifier/Abstract.php new file mode 100644 index 0000000..e6c9eeb --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Verifier/Abstract.php @@ -0,0 +1,30 @@ + + */ +abstract class Google_Verifier_Abstract +{ + /** + * Checks a signature, returns true if the signature is correct, + * false otherwise. + */ + abstract public function verify($data, $signature); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Verifier/Pem.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Verifier/Pem.php new file mode 100644 index 0000000..3d6e0fd --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Verifier/Pem.php @@ -0,0 +1,75 @@ + + */ +class Google_Verifier_Pem extends Google_Verifier_Abstract +{ + private $publicKey; + + /** + * Constructs a verifier from the supplied PEM-encoded certificate. + * + * $pem: a PEM encoded certificate (not a file). + * @param $pem + * @throws Google_Auth_Exception + * @throws Google_Exception + */ + public function __construct($pem) + { + if (!function_exists('openssl_x509_read')) { + throw new Google_Exception('Google API PHP client needs the openssl PHP extension'); + } + $this->publicKey = openssl_x509_read($pem); + if (!$this->publicKey) { + throw new Google_Auth_Exception("Unable to parse PEM: $pem"); + } + } + + public function __destruct() + { + if ($this->publicKey) { + openssl_x509_free($this->publicKey); + } + } + + /** + * Verifies the signature on data. + * + * Returns true if the signature is valid, false otherwise. + * @param $data + * @param $signature + * @throws Google_Auth_Exception + * @return bool + */ + public function verify($data, $signature) + { + $hash = defined("OPENSSL_ALGO_SHA256") ? OPENSSL_ALGO_SHA256 : "sha256"; + $status = openssl_verify($data, $signature, $this->publicKey, $hash); + if ($status === -1) { + throw new Google_Auth_Exception('Signature verification error: ' . openssl_error_string()); + } + return $status === 1; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/autoload.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/autoload.php new file mode 100644 index 0000000..89e2a18 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/autoload.php @@ -0,0 +1,32 @@ + + + The Google API client library coding standard. + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Service/*.php + + + + + + + + + + 0 + + + 0 + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/BaseTest.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/BaseTest.php new file mode 100644 index 0000000..6b6906e --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/BaseTest.php @@ -0,0 +1,68 @@ +token = $this->loadToken(); + $this->memcacheHost = getenv('MEMCACHE_HOST') ? getenv('MEMCACHE_HOST') : null; + $this->memcachePort = getenv('MEMCACHE_PORT') ? getenv('MEMCACHE_PORT') : null; + } + + public function getClient() + { + $client = new Google_Client(); + $client->setDeveloperKey(self::KEY); + if (strlen($this->token)) { + $client->setAccessToken($this->token); + } + if (strlen($this->memcacheHost)) { + $client->setClassConfig('Google_Cache_Memcache', 'host', $this->memcacheHost); + $client->setClassConfig('Google_Cache_Memcache', 'port', $this->memcachePort); + } + return $client; + } + + public function checkToken() + { + if (!strlen($this->token)) { + $this->markTestSkipped("Test requires access token\nrun \"php tests/OAuthHelper.php\""); + return false; + } + return true; + } + + public function loadToken() + { + if (file_exists($f = dirname(__FILE__) . DIRECTORY_SEPARATOR . '.accessToken')) { + $t = file_get_contents($f); + if ($token = json_decode($t, true)) { + if ($token['expires_in'] + $token['created'] > time()) { + return $t; + } + } + } + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/OAuthHelper.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/OAuthHelper.php new file mode 100644 index 0000000..50afc49 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/OAuthHelper.php @@ -0,0 +1,51 @@ +setScopes( + array( + "https://www.googleapis.com/auth/plus.me", + "https://www.googleapis.com/auth/urlshortener", + "https://www.googleapis.com/auth/tasks", + "https://www.googleapis.com/auth/adsense", + "https://www.googleapis.com/auth/youtube" + ) +); +$client->setRedirectUri("urn:ietf:wg:oauth:2.0:oob"); +// Visit https://code.google.com/apis/console to +// generate your oauth2_client_id, oauth2_client_secret, and to +// register your oauth2_redirect_uri. +$clientId = getenv('GCLOUD_CLIENT_ID') ? getenv('GCLOUD_CLIENT_ID') : null; +$clientSecret = getenv('GCLOUD_CLIENT_SECRET') ? getenv('GCLOUD_CLIENT_SECRET') : null; +if (!($clientId && $clientSecret)) { + die("fetching a token requires GCLOUD_CLIENT_ID and GCLOUD_CLIENT_SECRET to be set\n"); +} +$client->setClientId($clientId); +$client->setClientSecret($clientSecret); + +$authUrl = $client->createAuthUrl(); + +`open '$authUrl'`; +echo "\nPlease enter the auth code:\n"; +$authCode = trim(fgets(STDIN)); + +$accessToken = $client->authenticate($authCode); +$file = dirname(__FILE__) . DIRECTORY_SEPARATOR . '.accessToken'; +file_put_contents($file, $accessToken); + +echo "successfully loaded access token\n"; \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/README b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/README new file mode 100644 index 0000000..8e92bf7 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/README @@ -0,0 +1,2 @@ +These tests depend on PHPUnit, see +http://www.phpunit.de/manual/current/en/installation.html for more instructions diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/adsense/AdSenseTest.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/adsense/AdSenseTest.php new file mode 100644 index 0000000..4033ed2 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/adsense/AdSenseTest.php @@ -0,0 +1,493 @@ +adsense = new Google_Service_AdSense($this->getClient()); + } + + public function testAccountsList() + { + if (!$this->checkToken()) { + return; + } + $accounts = $this->adsense->accounts->listAccounts(); + $this->assertArrayHasKey('kind', $accounts); + $this->assertEquals($accounts['kind'], 'adsense#accounts'); + $account = $this->getRandomElementFromArray($accounts['items']); + $this->checkAccountElement($account); + } + + /** + * @depends testAccountsList + */ + public function testAccountsGet() + { + $accounts = $this->adsense->accounts->listAccounts(); + $account = $this->getRandomElementFromArray($accounts['items']); + $retrievedAccount = $this->adsense->accounts->get($account['id']); + $this->checkAccountElement($retrievedAccount); + } + + /** + * @depends testAccountsList + */ + public function testAccountsReportGenerate() + { + $startDate = '2011-01-01'; + $endDate = '2011-01-31'; + $optParams = $this->getReportOptParams(); + $accounts = $this->adsense->accounts->listAccounts(); + $accountId = $accounts['items'][0]['id']; + $report = $this->adsense->accounts_reports->generate( + $accountId, + $startDate, + $endDate, + $optParams + ); + $this->checkReport($report); + } + + /** + * @depends testAccountsList + */ + public function testAccountsAdClientsList() + { + $accounts = $this->adsense->accounts->listAccounts(); + $account = $this->getRandomElementFromArray($accounts['items']); + $adClients = + $this->adsense->accounts_adclients->listAccountsAdclients($account['id']); + $this->checkAdClientsCollection($adClients); + } + + /** + * @depends testAccountsList + * @depends testAccountsAdClientsList + */ + public function testAccountsAdUnitsList() + { + $accounts = $this->adsense->accounts->listAccounts(); + foreach ($accounts['items'] as $account) { + $adClients = $this->adsense->accounts_adclients->listAccountsAdclients($account['id']); + foreach ($adClients['items'] as $adClient) { + $adUnits = $this->adsense->accounts_adunits->listAccountsAdunits( + $account['id'], + $adClient['id'] + ); + $this->checkAdUnitsCollection($adUnits); + break 2; + } + } + } + + /** + * @depends testAccountsList + * @depends testAccountsAdClientsList + */ + public function testAccountsAdUnitsGet() + { + $accounts = $this->adsense->accounts->listAccounts(); + foreach ($accounts['items'] as $account) { + $adClients = $this->adsense->accounts_adclients->listAccountsAdclients($account['id']); + foreach ($adClients['items'] as $adClient) { + $adUnits = $this->adsense->accounts_adunits->listAccountsAdunits( + $account['id'], + $adClient['id'] + ); + if (array_key_exists('items', $adUnits)) { + $adUnit = $this->getRandomElementFromArray($adUnits['items']); + $this->checkAdUnitElement($adUnit); + break 2; + } + } + } + } + + /** + * @depends testAccountsList + * @depends testAccountsAdClientsList + */ + public function testAccountsCustomChannelsList() + { + $accounts = $this->adsense->accounts->listAccounts(); + foreach ($accounts['items'] as $account) { + $adClients = $this->adsense->accounts_adclients->listAccountsAdclients($account['id']); + foreach ($adClients['items'] as $adClient) { + $customChannels = $this->adsense->accounts_customchannels + ->listAccountsCustomchannels($account['id'], $adClient['id']); + $this->checkCustomChannelsCollection($customChannels); + break 2; + } + } + } + + /** + * @depends testAccountsList + * @depends testAccountsAdClientsList + */ + public function testAccountsCustomChannelsGet() + { + $accounts = $this->adsense->accounts->listAccounts(); + foreach ($accounts['items'] as $account) { + $adClients = $this->adsense->accounts_adclients->listAccountsAdclients($account['id']); + foreach ($adClients['items'] as $adClient) { + $customChannels = + $this->adsense->accounts_customchannels->listAccountsCustomchannels( + $account['id'], + $adClient['id'] + ); + if (array_key_exists('items', $customChannels)) { + $customChannel = + $this->getRandomElementFromArray($customChannels['items']); + $this->checkCustomChannelElement($customChannel); + break 2; + } + } + } + } + + /** + * @depends testAccountsList + * @depends testAccountsAdClientsList + */ + public function testAccountsUrlChannelsList() + { + $accounts = $this->adsense->accounts->listAccounts(); + foreach ($accounts['items'] as $account) { + $adClients = $this->adsense->accounts_adclients->listAccountsAdclients($account['id']); + foreach ($adClients['items'] as $adClient) { + $urlChannels = + $this->adsense->accounts_urlchannels->listAccountsUrlchannels( + $account['id'], + $adClient['id'] + ); + $this->checkUrlChannelsCollection($urlChannels); + break 2; + } + } + } + + /** + * @depends testAccountsList + * @depends testAccountsAdClientsList + * @depends testAccountsAdUnitsList + */ + public function testAccountsAdUnitsCustomChannelsList() + { + $accounts = $this->adsense->accounts->listAccounts(); + foreach ($accounts['items'] as $account) { + $adClients = $this->adsense->accounts_adclients->listAccountsAdclients($account['id']); + foreach ($adClients['items'] as $adClient) { + $adUnits = + $this->adsense->accounts_adunits->listAccountsAdunits($account['id'], $adClient['id']); + if (array_key_exists('items', $adUnits)) { + foreach ($adUnits['items'] as $adUnit) { + $customChannels = + $this->adsense->accounts_adunits_customchannels->listAccountsAdunitsCustomchannels( + $account['id'], + $adClient['id'], + $adUnit['id'] + ); + $this->checkCustomChannelsCollection($customChannels); + // it's too expensive to go through each, if one is correct good + break 3; + } + } + } + } + } + + /** + * @depends testAccountsList + * @depends testAccountsAdClientsList + * @depends testAccountsCustomChannelsList + */ + public function testAccountsCustomChannelsAdUnitsList() + { + $accounts = $this->adsense->accounts->listAccounts(); + foreach ($accounts['items'] as $account) { + $adClients = + $this->adsense->accounts_adclients->listAccountsAdclients($account['id']); + foreach ($adClients['items'] as $adClient) { + $customChannels = + $this->adsense->accounts_customchannels->listAccountsCustomchannels( + $account['id'], + $adClient['id'] + ); + if (array_key_exists('items', $customChannels)) { + foreach ($customChannels['items'] as $customChannel) { + $adUnits = + $this->adsense->accounts_customchannels_adunits->listAccountsCustomchannelsAdunits( + $account['id'], + $adClient['id'], + $customChannel['id'] + ); + $this->checkAdUnitsCollection($adUnits); + // it's too expensive to go through each, if one is correct good + break 3; + } + } + } + } + } + + public function testAdClientsList() + { + if (!$this->checkToken()) { + return; + } + $adClients = $this->adsense->adclients->listAdclients(); + $this->checkAdClientsCollection($adClients); + } + + /** + * @depends testAdClientsList + */ + public function testAdUnitsList() + { + $adClients = $this->adsense->adclients->listAdclients(); + foreach ($adClients['items'] as $adClient) { + $adUnits = $this->adsense->adunits->listAdunits($adClient['id']); + $this->checkAdUnitsCollection($adUnits); + } + } + + /** + * @depends testAdClientsList + */ + public function testAdUnitsGet() + { + $adClients = $this->adsense->adclients->listAdclients(); + foreach ($adClients['items'] as $adClient) { + $adUnits = $this->adsense->adunits->listAdunits($adClient['id']); + if (array_key_exists('items', $adUnits)) { + $adUnit = $this->getRandomElementFromArray($adUnits['items']); + $this->checkAdUnitElement($adUnit); + break 1; + } + } + } + + /** + * @depends testAdClientsList + * @depends testAdUnitsList + */ + public function testAdUnitsCustomChannelsList() + { + $adClients = $this->adsense->adclients->listAdclients(); + foreach ($adClients['items'] as $adClient) { + $adUnits = $this->adsense->adunits->listAdunits($adClient['id']); + if (array_key_exists('items', $adUnits)) { + foreach ($adUnits['items'] as $adUnit) { + $customChannels = + $this->adsense->adunits_customchannels->listAdunitsCustomchannels( + $adClient['id'], + $adUnit['id'] + ); + $this->checkCustomChannelsCollection($customChannels); + break 2; + } + } + } + } + + /** + * @depends testAdClientsList + */ + public function testCustomChannelsList() + { + $adClients = $this->adsense->adclients->listAdclients(); + foreach ($adClients['items'] as $adClient) { + $customChannels = + $this->adsense->customchannels->listCustomchannels($adClient['id']); + $this->checkCustomChannelsCollection($customChannels); + } + } + + /** + * @depends testAdClientsList + */ + public function testCustomChannelsGet() + { + $adClients = $this->adsense->adclients->listAdclients(); + foreach ($adClients['items'] as $adClient) { + $customChannels = $this->adsense->customchannels->listCustomchannels($adClient['id']); + if (array_key_exists('items', $customChannels)) { + $customChannel = $this->getRandomElementFromArray($customChannels['items']); + $this->checkCustomChannelElement($customChannel); + break 1; + } + } + } + + /** + * @depends testAdClientsList + * @depends testCustomChannelsList + */ + public function testCustomChannelsAdUnitsList() + { + $adClients = $this->adsense->adclients->listAdclients(); + foreach ($adClients['items'] as $adClient) { + $customChannels = $this->adsense->customchannels->listCustomchannels($adClient['id']); + if (array_key_exists('items', $customChannels)) { + foreach ($customChannels['items'] as $customChannel) { + $adUnits = + $this->adsense->customchannels_adunits->listCustomchannelsAdunits( + $adClient['id'], + $customChannel['id'] + ); + $this->checkAdUnitsCollection($adUnits); + break 2; + } + } + } + } + + /** + * @depends testAdClientsList + */ + public function testUrlChannelsList() + { + $adClients = $this->adsense->adclients->listAdclients(); + foreach ($adClients['items'] as $adClient) { + $urlChannels = $this->adsense->urlchannels->listUrlchannels($adClient['id']); + $this->checkUrlChannelsCollection($urlChannels); + } + } + + public function testReportsGenerate() + { + if (!$this->checkToken()) { + return; + } + $startDate = '2011-01-01'; + $endDate = '2011-01-31'; + $optParams = $this->getReportOptParams(); + $report = $this->adsense->reports->generate($startDate, $endDate, $optParams); + $this->checkReport($report); + } + + private function checkAccountElement($account) + { + $this->assertArrayHasKey('kind', $account); + $this->assertArrayHasKey('id', $account); + $this->assertArrayHasKey('name', $account); + } + + private function checkAdClientsCollection($adClients) + { + $this->assertArrayHasKey('kind', $adClients); + $this->assertEquals($adClients['kind'], 'adsense#adClients'); + foreach ($adClients['items'] as $adClient) { + $this->assertArrayHasKey('id', $adClient); + $this->assertArrayHasKey('kind', $adClient); + $this->assertArrayHasKey('productCode', $adClient); + $this->assertArrayHasKey('supportsReporting', $adClient); + } + } + + private function checkAdUnitsCollection($adUnits) + { + $this->assertArrayHasKey('kind', $adUnits); + $this->assertEquals($adUnits['kind'], 'adsense#adUnits'); + if (array_key_exists('items', $adUnits)) { + foreach ($adUnits['items'] as $adUnit) { + $this->checkAdUnitElement($adUnit); + } + } + } + + private function checkAdUnitElement($adUnit) + { + $this->assertArrayHasKey('code', $adUnit); + $this->assertArrayHasKey('id', $adUnit); + $this->assertArrayHasKey('kind', $adUnit); + $this->assertArrayHasKey('name', $adUnit); + $this->assertArrayHasKey('status', $adUnit); + } + + private function checkCustomChannelsCollection($customChannels) + { + $this->assertArrayHasKey('kind', $customChannels); + $this->assertEquals($customChannels['kind'], 'adsense#customChannels'); + if (array_key_exists('items', $customChannels)) { + foreach ($customChannels['items'] as $customChannel) { + $this->checkCustomChannelElement($customChannel); + } + } + } + + private function checkCustomChannelElement($customChannel) + { + $this->assertArrayHasKey('kind', $customChannel); + $this->assertArrayHasKey('id', $customChannel); + $this->assertArrayHasKey('code', $customChannel); + $this->assertArrayHasKey('name', $customChannel); + } + + private function checkUrlChannelsCollection($urlChannels) + { + $this->assertArrayHasKey('kind', $urlChannels); + $this->assertEquals($urlChannels['kind'], 'adsense#urlChannels'); + if (array_key_exists('items', $urlChannels)) { + foreach ($urlChannels['items'] as $urlChannel) { + $this->assertArrayHasKey('kind', $urlChannel); + $this->assertArrayHasKey('id', $urlChannel); + $this->assertArrayHasKey('urlPattern', $urlChannel); + } + } + } + + private function getReportOptParams() + { + return array( + 'metric' => array('PAGE_VIEWS', 'AD_REQUESTS'), + 'dimension' => array ('DATE', 'AD_CLIENT_ID'), + 'sort' => array('DATE'), + 'filter' => array('COUNTRY_NAME==United States'), + ); + } + + private function checkReport($report) + { + $this->assertArrayHasKey('kind', $report); + $this->assertEquals($report['kind'], 'adsense#report'); + $this->assertArrayHasKey('totalMatchedRows', $report); + $this->assertGreaterThan(0, count($report->headers)); + foreach ($report['headers'] as $header) { + $this->assertArrayHasKey('name', $header); + $this->assertArrayHasKey('type', $header); + } + if (array_key_exists('items', $report)) { + foreach ($report['items'] as $row) { + $this->assertCount(4, $row); + } + } + $this->assertArrayHasKey('totals', $report); + $this->assertArrayHasKey('averages', $report); + } + + private function getRandomElementFromArray($array) + { + $elementKey = array_rand($array); + return $array[$elementKey]; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/bootstrap.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/bootstrap.php new file mode 100644 index 0000000..327b974 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/bootstrap.php @@ -0,0 +1,21 @@ +checkToken()) { + return; + } + $client = $this->getClient(); + $batch = new Google_Http_Batch($client); + $this->plus = new Google_Service_Plus($client); + + $client->setUseBatch(true); + $batch->add($this->plus->people->get('me'), 'key1'); + $batch->add($this->plus->people->get('me'), 'key2'); + $batch->add($this->plus->people->get('me'), 'key3'); + + $result = $batch->execute(); + $this->assertTrue(isset($result['response-key1'])); + $this->assertTrue(isset($result['response-key2'])); + $this->assertTrue(isset($result['response-key3'])); + } + + public function testBatchRequest() + { + $client = $this->getClient(); + $batch = new Google_Http_Batch($client); + $this->plus = new Google_Service_Plus($client); + + $client->setUseBatch(true); + $batch->add($this->plus->people->get('+LarryPage'), 'key1'); + $batch->add($this->plus->people->get('+LarryPage'), 'key2'); + $batch->add($this->plus->people->get('+LarryPage'), 'key3'); + + $result = $batch->execute(); + $this->assertTrue(isset($result['response-key1'])); + $this->assertTrue(isset($result['response-key2'])); + $this->assertTrue(isset($result['response-key3'])); + } + + public function testInvalidBatchRequest() + { + $client = $this->getClient(); + $batch = new Google_Http_Batch($client); + $this->plus = new Google_Service_Plus($client); + + $client->setUseBatch(true); + $batch->add($this->plus->people->get('123456789987654321'), 'key1'); + $batch->add($this->plus->people->get('+LarryPage'), 'key2'); + + $result = $batch->execute(); + $this->assertTrue(isset($result['response-key2'])); + $this->assertInstanceOf( + 'Google_Service_Exception', + $result['response-key1'] + ); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/ApiCacheParserTest.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/ApiCacheParserTest.php new file mode 100644 index 0000000..3f54862 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/ApiCacheParserTest.php @@ -0,0 +1,262 @@ +getClient(); + $resp = new Google_Http_Request('http://localhost', 'POST'); + $result = Google_Http_CacheParser::isResponseCacheable($resp); + $this->assertFalse($result); + + // The response has expired, and we don't have an etag for + // revalidation. + $resp = new Google_Http_Request('http://localhost', 'GET'); + $resp->setResponseHttpCode('200'); + $resp->setResponseHeaders( + array( + 'Cache-Control' => 'max-age=3600, must-revalidate', + 'Expires' => 'Fri, 30 Oct 1998 14:19:41 GMT', + 'Date' => 'Mon, 29 Jun 1998 02:28:12 GMT', + 'Last-Modified' => 'Mon, 29 Jun 1998 02:28:12 GMT', + ) + ); + $result = Google_Http_CacheParser::isResponseCacheable($resp); + $this->assertFalse($result); + + // Verify cacheable responses. + $resp = new Google_Http_Request('http://localhost', 'GET'); + $resp->setResponseHttpCode('200'); + $resp->setResponseHeaders( + array( + 'Cache-Control' => 'max-age=3600, must-revalidate', + 'Expires' => 'Fri, 30 Oct 2013 14:19:41 GMT', + 'Date' => 'Mon, 29 Jun 2011 02:28:12 GMT', + 'Last-Modified' => 'Mon, 29 Jun 2011 02:28:12 GMT', + 'ETag' => '3e86-410-3596fbbc', + ) + ); + $result = Google_Http_CacheParser::isResponseCacheable($resp); + $this->assertTrue($result); + + // Verify that responses to HEAD requests are cacheable. + $resp = new Google_Http_Request('http://localhost', 'HEAD'); + $resp->setResponseHttpCode('200'); + $resp->setResponseBody(null); + $resp->setResponseHeaders( + array( + 'Cache-Control' => 'max-age=3600, must-revalidate', + 'Expires' => 'Fri, 30 Oct 2013 14:19:41 GMT', + 'Date' => 'Mon, 29 Jun 2011 02:28:12 GMT', + 'Last-Modified' => 'Mon, 29 Jun 2011 02:28:12 GMT', + 'ETag' => '3e86-410-3596fbbc', + ) + ); + $result = Google_Http_CacheParser::isResponseCacheable($resp); + $this->assertTrue($result); + + // Verify that Vary: * cannot get cached. + $resp = new Google_Http_Request('http://localhost', 'GET'); + $resp->setResponseHttpCode('200'); + $resp->setResponseHeaders( + array( + 'Cache-Control' => 'max-age=3600, must-revalidate', + 'Expires' => 'Fri, 30 Oct 2013 14:19:41 GMT', + 'Date' => 'Mon, 29 Jun 2011 02:28:12 GMT', + 'Last-Modified' => 'Mon, 29 Jun 2011 02:28:12 GMT', + 'Vary' => 'foo', + 'ETag' => '3e86-410-3596fbbc', + ) + ); + $result = Google_Http_CacheParser::isResponseCacheable($resp); + $this->assertFalse($result); + + // Verify 201s cannot get cached. + $resp = new Google_Http_Request('http://localhost', 'GET'); + $resp->setResponseHttpCode('201'); + $resp->setResponseBody(null); + $resp->setResponseHeaders( + array( + 'Cache-Control' => 'max-age=3600, must-revalidate', + 'Expires' => 'Fri, 30 Oct 2013 14:19:41 GMT', + 'Last-Modified' => 'Mon, 29 Jun 2011 02:28:12 GMT', + 'ETag' => '3e86-410-3596fbbc', + ) + ); + $result = Google_Http_CacheParser::isResponseCacheable($resp); + $this->assertFalse($result); + + // Verify pragma: no-cache. + $resp = new Google_Http_Request('http://localhost', 'GET'); + $resp->setResponseHttpCode('200'); + $resp->setResponseHeaders( + array( + 'Expires' => 'Wed, 11 Jan 2012 04:03:37 GMT', + 'Date' => 'Wed, 11 Jan 2012 04:03:37 GMT', + 'Pragma' => 'no-cache', + 'Cache-Control' => 'private, max-age=0, must-revalidate, no-transform', + 'ETag' => '3e86-410-3596fbbc', + ) + ); + $result = Google_Http_CacheParser::isResponseCacheable($resp); + $this->assertFalse($result); + + // Verify Cache-Control: no-store. + $resp = new Google_Http_Request('http://localhost', 'GET'); + $resp->setResponseHttpCode('200'); + $resp->setResponseHeaders( + array( + 'Expires' => 'Wed, 11 Jan 2012 04:03:37 GMT', + 'Date' => 'Wed, 11 Jan 2012 04:03:37 GMT', + 'Cache-Control' => 'no-store', + 'ETag' => '3e86-410-3596fbbc', + ) + ); + $result = Google_Http_CacheParser::isResponseCacheable($resp); + $this->assertFalse($result); + + // Verify that authorized responses are not cacheable. + $resp = new Google_Http_Request('http://localhost', 'GET'); + $resp->setRequestHeaders(array('Authorization' => 'Bearer Token')); + $resp->setResponseHttpCode('200'); + $resp->setResponseHeaders( + array( + 'Cache-Control' => 'max-age=3600, must-revalidate', + 'Expires' => 'Fri, 30 Oct 2013 14:19:41 GMT', + 'Last-Modified' => 'Mon, 29 Jun 2011 02:28:12 GMT', + 'ETag' => '3e86-410-3596fbbc', + ) + ); + $result = Google_Http_CacheParser::isResponseCacheable($resp); + $this->assertFalse($result); + } + + public function testIsExpired() + { + $now = time(); + $future = $now + (365 * 24 * 60 * 60); + $client = $this->getClient(); + + // Expires 1 year in the future. Response is fresh. + $resp = new Google_Http_Request('http://localhost', 'GET'); + $resp->setResponseHttpCode('200'); + $resp->setResponseHeaders( + array( + 'Expires' => gmdate('D, d M Y H:i:s', $future) . ' GMT', + 'Date' => gmdate('D, d M Y H:i:s', $now) . ' GMT', + ) + ); + $this->assertFalse(Google_Http_CacheParser::isExpired($resp)); + + // The response expires soon. Response is fresh. + $resp = new Google_Http_Request('http://localhost', 'GET'); + $resp->setResponseHttpCode('200'); + $resp->setResponseHeaders( + array( + 'Expires' => gmdate('D, d M Y H:i:s', $now + 2) . ' GMT', + 'Date' => gmdate('D, d M Y H:i:s', $now) . ' GMT', + ) + ); + $this->assertFalse(Google_Http_CacheParser::isExpired($resp)); + + // Expired 1 year ago. Response is stale. + $past = $now - (365 * 24 * 60 * 60); + $resp = new Google_Http_Request('http://localhost', 'GET'); + $resp->setResponseHttpCode('200'); + $resp->setResponseHeaders( + array( + 'Expires' => gmdate('D, d M Y H:i:s', $past) . ' GMT', + 'Date' => gmdate('D, d M Y H:i:s', $now) . ' GMT', + ) + ); + $this->assertTrue(Google_Http_CacheParser::isExpired($resp)); + + // Invalid expires header. Response is stale. + $resp = new Google_Http_Request('http://localhost', 'GET'); + $resp->setResponseHttpCode('200'); + $resp->setResponseHeaders( + array( + 'Expires' => '-1', + 'Date' => gmdate('D, d M Y H:i:s', $now) . ' GMT', + ) + ); + $this->assertTrue(Google_Http_CacheParser::isExpired($resp)); + + // The response expires immediately. G+ APIs do this. Response is stale. + $resp = new Google_Http_Request('http://localhost', 'GET'); + $resp->setResponseHttpCode('200'); + $resp->setResponseHeaders( + array( + 'Expires' => gmdate('D, d M Y H:i:s', $now) . ' GMT', + 'Date' => gmdate('D, d M Y H:i:s', $now) . ' GMT', + ) + ); + $this->assertTrue(Google_Http_CacheParser::isExpired($resp)); + } + + public function testMustRevalidate() + { + $now = time(); + $client = $this->getClient(); + + // Expires 1 year in the future, and contains the must-revalidate directive. + // Don't revalidate. must-revalidate only applies to expired entries. + $future = $now + (365 * 24 * 60 * 60); + $resp = new Google_Http_Request('http://localhost', 'GET'); + $resp->setResponseHttpCode('200'); + $resp->setResponseHeaders( + array( + 'Cache-Control' => 'max-age=3600, must-revalidate', + 'Expires' => gmdate('D, d M Y H:i:s', $future) . ' GMT', + 'Date' => gmdate('D, d M Y H:i:s', $now) . ' GMT', + ) + ); + $this->assertFalse(Google_Http_CacheParser::mustRevalidate($resp)); + + // Contains the max-age=3600 directive, but was created 2 hours ago. + // Must revalidate. + $past = $now - (2 * 60 * 60); + $resp = new Google_Http_Request('http://localhost', 'GET'); + $resp->setResponseHttpCode('200'); + $resp->setResponseHeaders( + array( + 'Cache-Control' => 'max-age=3600', + 'Expires' => gmdate('D, d M Y H:i:s', $future) . ' GMT', + 'Date' => gmdate('D, d M Y H:i:s', $past) . ' GMT', + ) + ); + $this->assertTrue(Google_Http_CacheParser::mustRevalidate($resp)); + + // Contains the max-age=3600 directive, and was created 600 seconds ago. + // No need to revalidate, regardless of the expires header. + $past = $now - (600); + $resp = new Google_Http_Request('http://localhost', 'GET'); + $resp->setResponseHttpCode('200'); + $resp->setResponseHeaders( + array( + 'Cache-Control' => 'max-age=3600', + 'Expires' => gmdate('D, d M Y H:i:s', $past) . ' GMT', + 'Date' => gmdate('D, d M Y H:i:s', $past) . ' GMT', + ) + ); + $this->assertFalse(Google_Http_CacheParser::mustRevalidate($resp)); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/ApiClientTest.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/ApiClientTest.php new file mode 100644 index 0000000..5d455c2 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/ApiClientTest.php @@ -0,0 +1,212 @@ +setAccessType('foo'); + $client->setDeveloperKey('foo'); + $req = new Google_Http_Request('http://foo.com'); + $client->getAuth()->sign($req); + $params = $req->getQueryParams(); + $this->assertEquals('foo', $params['key']); + + $client->setAccessToken(json_encode(array('access_token' => '1'))); + $this->assertEquals("{\"access_token\":\"1\"}", $client->getAccessToken()); + } + + public function testClientConstructor() + { + $this->assertInstanceOf('Google_Client', $this->getClient()); + } + + /** + * @expectedException Google_Auth_Exception + */ + public function testPrepareInvalidScopes() + { + $client = new Google_Client(); + + $scopes = $client->prepareScopes(); + $this->assertEquals("", $scopes); + } + + public function testNoAuthIsNull() + { + $client = new Google_Client(); + + $this->assertNull($client->getAccessToken()); + } + + public function testPrepareService() + { + $client = new Google_Client(); + $client->setScopes(array("scope1", "scope2")); + $scopes = $client->prepareScopes(); + $this->assertEquals("scope1 scope2", $scopes); + + $client->setScopes(array("", "scope2")); + $scopes = $client->prepareScopes(); + $this->assertEquals(" scope2", $scopes); + + $client->setScopes("scope2"); + $client->addScope("scope3"); + $client->addScope(array("scope4", "scope5")); + $scopes = $client->prepareScopes(); + $this->assertEquals("scope2 scope3 scope4 scope5", $scopes); + + $client->setClientId('test1'); + $client->setRedirectUri('http://localhost/'); + $client->setScopes(array("http://test.com", "scope2")); + $scopes = $client->prepareScopes(); + $this->assertEquals("http://test.com scope2", $scopes); + $this->assertEquals( + '' + . 'https://accounts.google.com/o/oauth2/auth' + . '?response_type=code&redirect_uri=http%3A%2F%2Flocalhost%2F' + . '&client_id=test1' + . '&scope=http%3A%2F%2Ftest.com+scope2&access_type=online' + . '&approval_prompt=auto', + $client->createAuthUrl() + ); + + // This should not trigger a request. + $client->setDefer(true); + $dr_service = new Google_Service_Drive($client); + $this->assertInstanceOf('Google_Http_Request', $dr_service->files->listFiles()); + } + + public function testSettersGetters() + { + $client = new Google_Client(); + $client->setClientId("client1"); + $client->setClientSecret('client1secret'); + $client->setState('1'); + $client->setApprovalPrompt('force'); + $client->setAccessType('offline'); + + $client->setRedirectUri('localhost'); + $client->setApplicationName('me'); + $this->assertEquals('object', gettype($client->getAuth())); + $this->assertEquals('object', gettype($client->getCache())); + $this->assertEquals('object', gettype($client->getIo())); + + $client->setAuth(new Google_Auth_Simple($client)); + $client->setAuth(new Google_Auth_OAuth2($client)); + + try { + $client->setAccessToken(null); + die('Should have thrown an Google_Auth_Exception.'); + } catch (Google_Auth_Exception $e) { + $this->assertEquals('Could not json decode the token', $e->getMessage()); + } + + $token = json_encode(array('access_token' => 'token')); + $client->setAccessToken($token); + $this->assertEquals($token, $client->getAccessToken()); + } + + /** + * @requires extension Memcached + */ + public function testAppEngineAutoConfig() + { + $_SERVER['SERVER_SOFTWARE'] = 'Google App Engine'; + $client = new Google_Client(); + $this->assertInstanceOf('Google_Cache_Memcache', $client->getCache()); + $this->assertInstanceOf('Google_Io_Stream', $client->getIo()); + unset($_SERVER['SERVER_SOFTWARE']); + } + + public function testJsonConfig() + { + // Device config + $config = new Google_Config(); + $client = new Google_Client($config); + $device = + '{"installed":{"auth_uri":"https://accounts.google.com/o/oauth2/auth","client_secret"'. + ':"N0aHCBT1qX1VAcF5J1pJAn6S","token_uri":"https://accounts.google.com/o/oauth2/token",'. + '"client_email":"","redirect_uris":["urn:ietf:wg:oauth:2.0:oob","oob"],"client_x509_cert_url"'. + ':"","client_id":"123456789.apps.googleusercontent.com","auth_provider_x509_cert_url":'. + '"https://www.googleapis.com/oauth2/v1/certs"}}'; + $dObj = json_decode($device); + $client->setAuthConfig($device); + $cfg = $config->getClassConfig('Google_Auth_OAuth2'); + $this->assertEquals($cfg['client_id'], $dObj->installed->client_id); + $this->assertEquals($cfg['client_secret'], $dObj->installed->client_secret); + $this->assertEquals($cfg['redirect_uri'], $dObj->installed->redirect_uris[0]); + + // Web config + $config = new Google_Config(); + $client = new Google_Client($config); + $web = '{"web":{"auth_uri":"https://accounts.google.com/o/oauth2/auth","client_secret"' . + ':"lpoubuib8bj-Fmke_YhhyHGgXc","token_uri":"https://accounts.google.com/o/oauth2/token"' . + ',"client_email":"123456789@developer.gserviceaccount.com","client_x509_cert_url":'. + '"https://www.googleapis.com/robot/v1/metadata/x509/123456789@developer.gserviceaccount.com"'. + ',"client_id":"123456789.apps.googleusercontent.com","auth_provider_x509_cert_url":'. + '"https://www.googleapis.com/oauth2/v1/certs"}}'; + $wObj = json_decode($web); + $client->setAuthConfig($web); + $cfg = $config->getClassConfig('Google_Auth_OAuth2'); + $this->assertEquals($cfg['client_id'], $wObj->web->client_id); + $this->assertEquals($cfg['client_secret'], $wObj->web->client_secret); + $this->assertEquals($cfg['redirect_uri'], ''); + } + + public function testIniConfig() + { + $config = new Google_Config(__DIR__ . "/testdata/test.ini"); + $this->assertEquals('My Test application', $config->getApplicationName()); + $this->assertEquals( + 'gjfiwnGinpena3', + $config->getClassConfig('Google_Auth_OAuth2', 'client_secret') + ); + $this->assertInternalType( + 'array', + $config->getClassConfig('Google_IO_Abstract') + ); + $this->assertEquals( + 100, + $config->getClassConfig('Google_IO_Abstract', 'request_timeout_seconds') + ); + } + + public function testServiceAccountJson() + { + $client = new Google_Client(); + $c = $client->loadServiceAccountJson( + __DIR__ . "/testdata/service-12345.json", + array() + ); + $this->assertInstanceOf('Google_Auth_AssertionCredentials', $c); + } + + public function testRsaServiceAccountJson() + { + $client = new Google_Client(); + $c = $client->loadServiceAccountJson( + __DIR__ . "/testdata/service-rsa-12345.json", + array() + ); + $this->assertInstanceOf('Google_Auth_AssertionCredentials', $c); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/ApiMediaFileUploadTest.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/ApiMediaFileUploadTest.php new file mode 100644 index 0000000..e43cf76 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/ApiMediaFileUploadTest.php @@ -0,0 +1,92 @@ +getClient(); + $request = new Google_Http_Request('http://www.example.com', 'POST'); + $media = new Google_Http_MediaFileUpload( + $client, + $request, + 'image/png', + base64_decode('data:image/png;base64,a') + ); + + $this->assertEquals(0, $media->getProgress()); + $this->assertGreaterThan(0, strlen($request->getPostBody())); + } + + public function testGetUploadType() + { + $client = $this->getClient(); + $request = new Google_Http_Request('http://www.example.com', 'POST'); + + // Test resumable upload + $media = new Google_Http_MediaFileUpload($client, $request, 'image/png', 'a', true); + $params = array('mediaUpload' => array('value' => $media)); + $this->assertEquals('resumable', $media->getUploadType(null)); + + // Test data *only* uploads + $media = new Google_Http_MediaFileUpload($client, $request, 'image/png', 'a', false); + $this->assertEquals('media', $media->getUploadType(null)); + + // Test multipart uploads + $media = new Google_Http_MediaFileUpload($client, $request, 'image/png', 'a', false); + $this->assertEquals('multipart', $media->getUploadType(array('a' => 'b'))); + } + + public function testResultCode() + { + $client = $this->getClient(); + $request = new Google_Http_Request('http://www.example.com', 'POST'); + + // Test resumable upload + $media = new Google_Http_MediaFileUpload($client, $request, 'image/png', 'a', true); + $this->assertEquals(null, $media->getHttpResultCode()); + } + + public function testProcess() + { + $client = $this->getClient(); + $data = 'foo'; + + // Test data *only* uploads. + $request = new Google_Http_Request('http://www.example.com', 'POST'); + $media = new Google_Http_MediaFileUpload($client, $request, 'image/png', $data, false); + $this->assertEquals($data, $request->getPostBody()); + + // Test resumable (meta data) - we want to send the metadata, not the app data. + $request = new Google_Http_Request('http://www.example.com', 'POST'); + $reqData = json_encode("hello"); + $request->setPostBody($reqData); + $media = new Google_Http_MediaFileUpload($client, $request, 'image/png', $data, true); + $this->assertEquals(json_decode($reqData), $request->getPostBody()); + + // Test multipart - we are sending encoded meta data and post data + $request = new Google_Http_Request('http://www.example.com', 'POST'); + $reqData = json_encode("hello"); + $request->setPostBody($reqData); + $media = new Google_Http_MediaFileUpload($client, $request, 'image/png', $data, false); + $this->assertContains($reqData, $request->getPostBody()); + $this->assertContains(base64_encode($data), $request->getPostBody()); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/ApiModelTest.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/ApiModelTest.php new file mode 100644 index 0000000..9a81e71 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/ApiModelTest.php @@ -0,0 +1,189 @@ +calendarData, true); + $event = new Google_Service_Calendar_Event($data); + $obj = json_decode(json_encode($event->toSimpleObject()), true); + $this->assertArrayHasKey('date', $obj['start']); + $this->assertArrayNotHasKey('dateTime', $obj['start']); + $date = new Google_Service_Calendar_EventDateTime(); + $date->setDate(Google_Model::NULL_VALUE); + $event->setStart($date); + $obj = json_decode(json_encode($event->toSimpleObject()), true); + $this->assertNull($obj['start']['date']); + $this->assertArrayHasKey('date', $obj['start']); + $this->assertArrayNotHasKey('dateTime', $obj['start']); + } + public function testModelMutation() + { + $data = json_decode($this->calendarData, true); + $event = new Google_Service_Calendar_Event($data); + $date = new Google_Service_Calendar_EventDateTime(); + date_default_timezone_set('UTC'); + $dateString = Date("c"); + $summary = "hello"; + $date->setDate($dateString); + $event->setStart($date); + $event->setEnd($date); + $event->setSummary($summary); + $simpleEvent = $event->toSimpleObject(); + $this->assertEquals($dateString, $simpleEvent->start->date); + $this->assertEquals($dateString, $simpleEvent->end->date); + $this->assertEquals($summary, $simpleEvent->summary); + + $event2 = new Google_Service_Calendar_Event(); + $this->assertNull($event2->getStart()); + } + + public function testVariantTypes() + { + $feature = new Google_Service_MapsEngine_Feature(); + $geometry = new Google_Service_MapsEngine_GeoJsonPoint(); + $geometry->setCoordinates(array(1, 0)); + $feature->setGeometry($geometry); + $data = json_decode(json_encode($feature->toSimpleObject()), true); + $this->assertEquals('Point', $data['geometry']['type']); + $this->assertEquals(1, $data['geometry']['coordinates'][0]); + } + + public function testOddMappingNames() + { + $creative = new Google_Service_AdExchangeBuyer_Creative(); + $creative->setAccountId('12345'); + $creative->setBuyerCreativeId('12345'); + $creative->setAdvertiserName('Hi'); + $creative->setHTMLSnippet("

              Foo!

              "); + $creative->setClickThroughUrl(array('http://somedomain.com')); + $creative->setWidth(100); + $creative->setHeight(100); + $data = json_decode(json_encode($creative->toSimpleObject()), true); + $this->assertEquals($data['HTMLSnippet'], "

              Foo!

              "); + $this->assertEquals($data['width'], 100); + $this->assertEquals($data['height'], 100); + $this->assertEquals($data['accountId'], "12345"); + } + + public function testJsonStructure() + { + $model = new Google_Model(); + $model->publicA = "This is a string"; + $model2 = new Google_Model(); + $model2->publicC = 12345; + $model2->publicD = null; + $model->publicB = $model2; + $model3 = new Google_Model(); + $model3->publicE = 54321; + $model3->publicF = null; + $model->publicG = array($model3, "hello", false); + $model->publicH = false; + $model->publicI = 0; + $string = json_encode($model->toSimpleObject()); + $data = json_decode($string, true); + $this->assertEquals(12345, $data['publicB']['publicC']); + $this->assertEquals("This is a string", $data['publicA']); + $this->assertArrayNotHasKey("publicD", $data['publicB']); + $this->assertArrayHasKey("publicE", $data['publicG'][0]); + $this->assertArrayNotHasKey("publicF", $data['publicG'][0]); + $this->assertEquals("hello", $data['publicG'][1]); + $this->assertEquals(false, $data['publicG'][2]); + $this->assertArrayNotHasKey("data", $data); + $this->assertEquals(false, $data['publicH']); + $this->assertEquals(0, $data['publicI']); + } + + public function testIssetPropertyOnModel() + { + $model = new Google_Model(); + $model['foo'] = 'bar'; + $this->assertTrue(isset($model->foo)); + } + + public function testUnsetPropertyOnModel() + { + $model = new Google_Model(); + $model['foo'] = 'bar'; + unset($model->foo); + $this->assertFalse(isset($model->foo)); + } + + public function testCollection() + { + $data = json_decode( + '{ + "kind": "calendar#events", + "id": "1234566", + "etag": "abcdef", + "totalItems": 4, + "items": [ + {"id": 1}, + {"id": 2}, + {"id": 3}, + {"id": 4} + ] + }', + true + ); + $collection = new Google_Service_Calendar_Events($data); + $this->assertEquals(4, count($collection)); + $count = 0; + foreach ($collection as $col) { + $count++; + } + $this->assertEquals(4, $count); + $this->assertEquals(1, $collection[0]->id); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/ApiOAuth2Test.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/ApiOAuth2Test.php new file mode 100644 index 0000000..0a3a4ca --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/ApiOAuth2Test.php @@ -0,0 +1,256 @@ +getClient(); + $oauth = new Google_Auth_OAuth2($client); + + $client->setClientId('clientId1'); + $client->setClientSecret('clientSecret1'); + $client->setRedirectUri('http://localhost'); + $client->setDeveloperKey('devKey'); + $client->setAccessType('offline'); + $client->setApprovalPrompt('force'); + $client->setRequestVisibleActions('http://foo'); + + $req = new Google_Http_Request('http://localhost'); + $req = $oauth->sign($req); + + $this->assertEquals('http://localhost?key=devKey', $req->getUrl()); + + // test accessToken + $oauth->setAccessToken( + json_encode( + array( + 'access_token' => 'ACCESS_TOKEN', + 'created' => time(), + 'expires_in' => '3600' + ) + ) + ); + + $req = $oauth->sign($req); + $auth = $req->getRequestHeader('authorization'); + $this->assertEquals('Bearer ACCESS_TOKEN', $auth); + } + + public function testRevokeAccess() + { + $accessToken = "ACCESS_TOKEN"; + $refreshToken = "REFRESH_TOKEN"; + $accessToken2 = "ACCESS_TOKEN_2"; + $token = ""; + + $client = $this->getClient(); + $response = $this->getMock("Google_Http_Request", array(), array('')); + $response->expects($this->any()) + ->method('getResponseHttpCode') + ->will($this->returnValue(200)); + $io = $this->getMock("Google_IO_Stream", array(), array($client)); + $io->expects($this->any()) + ->method('makeRequest') + ->will( + $this->returnCallback( + function ($request) use (&$token, $response) { + $elements = array(); + parse_str($request->getPostBody(), $elements); + $token = isset($elements['token']) ? $elements['token'] : null; + return $response; + } + ) + ); + $client->setIo($io); + + // Test with access token. + $oauth = new Google_Auth_OAuth2($client); + $oauth->setAccessToken( + json_encode( + array( + 'access_token' => $accessToken, + 'created' => time(), + 'expires_in' => '3600' + ) + ) + ); + $this->assertTrue($oauth->revokeToken()); + $this->assertEquals($accessToken, $token); + + // Test with refresh token. + $oauth = new Google_Auth_OAuth2($client); + $oauth->setAccessToken( + json_encode( + array( + 'access_token' => $accessToken, + 'refresh_token' => $refreshToken, + 'created' => time(), + 'expires_in' => '3600' + ) + ) + ); + $this->assertTrue($oauth->revokeToken()); + $this->assertEquals($refreshToken, $token); + + // Test with passed in token. + $this->assertTrue($oauth->revokeToken($accessToken2)); + $this->assertEquals($accessToken2, $token); + } + + public function testCreateAuthUrl() + { + $client = $this->getClient(); + $oauth = new Google_Auth_OAuth2($client); + + $client->setClientId('clientId1'); + $client->setClientSecret('clientSecret1'); + $client->setRedirectUri('http://localhost'); + $client->setDeveloperKey('devKey'); + $client->setAccessType('offline'); + $client->setApprovalPrompt('force'); + $client->setRequestVisibleActions(array('http://foo')); + $client->setLoginHint("bob@example.org"); + + $authUrl = $oauth->createAuthUrl("http://googleapis.com/scope/foo"); + $expected = "https://accounts.google.com/o/oauth2/auth" + . "?response_type=code" + . "&redirect_uri=http%3A%2F%2Flocalhost" + . "&client_id=clientId1" + . "&scope=http%3A%2F%2Fgoogleapis.com%2Fscope%2Ffoo" + . "&access_type=offline" + . "&approval_prompt=force" + . "&login_hint=bob%40example.org"; + $this->assertEquals($expected, $authUrl); + + // Again with a blank login hint (should remove all traces from authUrl) + $client->setLoginHint(""); + $client->setHostedDomain("example.com"); + $client->setOpenidRealm("example.com"); + $client->setPrompt("select_account"); + $client->setIncludeGrantedScopes(true); + $authUrl = $oauth->createAuthUrl("http://googleapis.com/scope/foo"); + $expected = "https://accounts.google.com/o/oauth2/auth" + . "?response_type=code" + . "&redirect_uri=http%3A%2F%2Flocalhost" + . "&client_id=clientId1" + . "&scope=http%3A%2F%2Fgoogleapis.com%2Fscope%2Ffoo" + . "&access_type=offline" + . "&prompt=select_account" + . "&hd=example.com" + . "&openid.realm=example.com" + . "&include_granted_scopes=true"; + $this->assertEquals($expected, $authUrl); + } + + /** + * Most of the logic for ID token validation is in AuthTest - + * this is just a general check to ensure we verify a valid + * id token if one exists. + */ + public function testValidateIdToken() + { + if (!$this->checkToken()) { + return; + } + + $client = $this->getClient(); + $token = json_decode($client->getAccessToken()); + $segments = explode(".", $token->id_token); + $this->assertEquals(3, count($segments)); + // Extract the client ID in this case as it wont be set on the test client. + $data = json_decode(Google_Utils::urlSafeB64Decode($segments[1])); + $oauth = new Google_Auth_OAuth2($client); + $ticket = $oauth->verifyIdToken($token->id_token, $data->aud); + $this->assertInstanceOf( + "Google_Auth_LoginTicket", + $ticket + ); + $this->assertTrue(strlen($ticket->getUserId()) > 0); + + // TODO: Need to be smart about testing/disabling the + // caching for this test to make sense. Not sure how to do that + // at the moment. + $client = $this->getClient(); + $client->setIo(new Google_IO_Stream($client)); + $data = json_decode(Google_Utils::urlSafeB64Decode($segments[1])); + $oauth = new Google_Auth_OAuth2($client); + $this->assertInstanceOf( + "Google_Auth_LoginTicket", + $oauth->verifyIdToken($token->id_token, $data->aud) + ); + } + + /** + * Test for revoking token when none is opened + */ + public function testRevokeWhenNoTokenExists() + { + $client = new Google_Client(); + $this->assertFalse($client->revokeToken()); + } + + /** + * Test that the ID token is properly refreshed. + */ + public function testRefreshTokenSetsValues() + { + $client = new Google_Client(); + $response_data = json_encode( + array( + 'access_token' => "ACCESS_TOKEN", + 'id_token' => "ID_TOKEN", + 'expires_in' => "12345", + ) + ); + $response = $this->getMock("Google_Http_Request", array(), array('')); + $response->expects($this->any()) + ->method('getResponseHttpCode') + ->will($this->returnValue(200)); + $response->expects($this->any()) + ->method('getResponseBody') + ->will($this->returnValue($response_data)); + $io = $this->getMock("Google_IO_Stream", array(), array($client)); + $io->expects($this->any()) + ->method('makeRequest') + ->will( + $this->returnCallback( + function ($request) use (&$token, $response) { + $elements = $request->getPostBody(); + PHPUnit_Framework_TestCase::assertEquals( + $elements['grant_type'], + "refresh_token" + ); + PHPUnit_Framework_TestCase::assertEquals( + $elements['refresh_token'], + "REFRESH_TOKEN" + ); + return $response; + } + ) + ); + $client->setIo($io); + $oauth = new Google_Auth_OAuth2($client); + $oauth->refreshToken("REFRESH_TOKEN"); + $token = json_decode($oauth->getAccessToken(), true); + $this->assertEquals($token['id_token'], "ID_TOKEN"); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/AuthTest.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/AuthTest.php new file mode 100644 index 0000000..99b41b9 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/AuthTest.php @@ -0,0 +1,373 @@ +signer = new Google_Signer_P12( + file_get_contents(__DIR__.'/'.self::PRIVATE_KEY_FILE, true), + "notasecret" + ); + $this->pem = file_get_contents(__DIR__.'/'.self::PUBLIC_KEY_FILE, true); + $this->verifier = new Google_Verifier_Pem($this->pem); + } + + public function testDirectInject() + { + $privateKeyString = <<fail("Should have thrown"); + } catch (Google_Auth_Exception $e) { + $this->assertContains("mac verify failure", $e->getMessage()); + } + + try { + new Google_Signer_P12( + file_get_contents(__DIR__.'/'.self::PRIVATE_KEY_FILE, true) . "foo", + "badpassword" + ); + $this->fail("Should have thrown"); + } catch (Exception $e) { + $this->assertContains("Unable to parse", $e->getMessage()); + } + } + + public function testVerifySignature() + { + $binary_data = "\x00\x01\x02\x66\x6f\x6f"; + $signature = $this->signer->sign($binary_data); + $this->assertTrue($this->verifier->verify($binary_data, $signature)); + + $empty_string = ""; + $signature = $this->signer->sign($empty_string); + $this->assertTrue($this->verifier->verify($empty_string, $signature)); + + $text = "foobar"; + $signature = $this->signer->sign($text); + $this->assertTrue($this->verifier->verify($text, $signature)); + + $this->assertFalse($this->verifier->verify($empty_string, $signature)); + } + + // Creates a signed JWT similar to the one created by google authentication. + private function makeSignedJwt($payload) + { + $header = array("typ" => "JWT", "alg" => "RS256"); + $segments = array(); + $segments[] = Google_Utils::urlSafeB64Encode(json_encode($header)); + $segments[] = Google_Utils::urlSafeB64Encode(json_encode($payload)); + $signing_input = implode(".", $segments); + + $signature = $this->signer->sign($signing_input); + $segments[] = Google_Utils::urlSafeB64Encode($signature); + + return implode(".", $segments); + } + + // Returns certificates similar to the ones used by google authentication. + private function getSignonCerts() + { + return array("keyid" => $this->pem); + } + + public function testVerifySignedJwtWithCerts() + { + $id_token = $this->makeSignedJwt( + array( + "iss" => "federated-signon@system.gserviceaccount.com", + "aud" => "client_id", + "sub" => self::USER_ID, + "iat" => time(), + "exp" => time() + 3600 + ) + ); + $certs = $this->getSignonCerts(); + $oauth2 = new Google_Auth_OAuth2($this->getClient()); + $ticket = $oauth2->verifySignedJwtWithCerts($id_token, $certs, "client_id"); + $this->assertEquals(self::USER_ID, $ticket->getUserId()); + // Check that payload and envelope got filled in. + $attributes = $ticket->getAttributes(); + $this->assertEquals("JWT", $attributes["envelope"]["typ"]); + $this->assertEquals("client_id", $attributes["payload"]["aud"]); + } + + // Checks that the id token fails to verify with the expected message. + private function checkIdTokenFailure($id_token, $msg, $issuer = null) + { + $certs = $this->getSignonCerts(); + $oauth2 = new Google_Auth_OAuth2($this->getClient()); + try { + $oauth2->verifySignedJwtWithCerts($id_token, $certs, "client_id", $issuer); + $this->fail("Should have thrown for $id_token"); + } catch (Google_Auth_Exception $e) { + $this->assertContains($msg, $e->getMessage()); + } + } + + public function testVerifySignedJwtWithMultipleIssuers() + { + $id_token = $this->makeSignedJwt( + array( + "iss" => "system.gserviceaccount.com", + "aud" => "client_id", + "sub" => self::USER_ID, + "iat" => time(), + "exp" => time() + 3600 + ) + ); + $certs = $this->getSignonCerts(); + $oauth2 = new Google_Auth_OAuth2($this->getClient()); + $ticket = $oauth2->verifySignedJwtWithCerts( + $id_token, + $certs, + "client_id", + array('system.gserviceaccount.com', 'https://system.gserviceaccount.com') + ); + $this->assertEquals(self::USER_ID, $ticket->getUserId()); + // Check that payload and envelope got filled in. + $attributes = $ticket->getAttributes(); + $this->assertEquals("JWT", $attributes["envelope"]["typ"]); + $this->assertEquals("client_id", $attributes["payload"]["aud"]); + } + + public function testVerifySignedJwtWithBadIssuer() + { + $id_token = $this->makeSignedJwt( + array( + "iss" => "fake.gserviceaccount.com", + "aud" => "client_id", + "sub" => self::USER_ID, + "iat" => time(), + "exp" => time() + 3600 + ) + ); + + $issuers = array('system.gserviceaccount.com', 'https://system.gserviceaccount.com'); + $this->checkIdTokenFailure($id_token, 'Invalid issuer', $issuers[0]); + $this->checkIdTokenFailure($id_token, 'Invalid issuer', $issuers); + } + + public function testVerifySignedJwtWithBadJwt() + { + $this->checkIdTokenFailure("foo", "Wrong number of segments"); + $this->checkIdTokenFailure("foo.bar", "Wrong number of segments"); + $this->checkIdTokenFailure( + "foo.bar.baz", + "Can't parse token envelope: foo" + ); + } + + public function testVerifySignedJwtWithBadSignature() + { + $id_token = $this->makeSignedJwt( + array( + "iss" => "federated-signon@system.gserviceaccount.com", + "aud" => "client_id", + "id" => self::USER_ID, + "iat" => time(), + "exp" => time() + 3600 + ) + ); + $id_token = $id_token . "a"; + $this->checkIdTokenFailure($id_token, "Invalid token signature"); + } + + public function testVerifySignedJwtWithNoIssueTime() + { + $id_token = $this->makeSignedJwt( + array( + "iss" => "federated-signon@system.gserviceaccount.com", + "aud" => "client_id", + "id" => self::USER_ID, + "exp" => time() + 3600 + ) + ); + $this->checkIdTokenFailure($id_token, "No issue time"); + } + + public function testVerifySignedJwtWithNoExpirationTime() + { + $id_token = $this->makeSignedJwt( + array( + "iss" => "federated-signon@system.gserviceaccount.com", + "aud" => "client_id", + "id" => self::USER_ID, + "iat" => time() + ) + ); + $this->checkIdTokenFailure($id_token, "No expiration time"); + } + + public function testVerifySignedJwtWithTooEarly() + { + $id_token = $this->makeSignedJwt( + array( + "iss" => "federated-signon@system.gserviceaccount.com", + "aud" => "client_id", + "id" => self::USER_ID, + "iat" => time() + 1800, + "exp" => time() + 3600 + ) + ); + $this->checkIdTokenFailure($id_token, "Token used too early"); + } + + public function testVerifySignedJwtWithTooLate() + { + $id_token = $this->makeSignedJwt( + array( + "iss" => "federated-signon@system.gserviceaccount.com", + "aud" => "client_id", + "id" => self::USER_ID, + "iat" => time() - 3600, + "exp" => time() - 1800 + ) + ); + $this->checkIdTokenFailure($id_token, "Token used too late"); + } + + public function testVerifySignedJwtWithLifetimeTooLong() + { + $id_token = $this->makeSignedJwt( + array( + "iss" => "federated-signon@system.gserviceaccount.com", + "aud" => "client_id", + "id" => self::USER_ID, + "iat" => time(), + "exp" => time() + 3600 * 25 + ) + ); + $this->checkIdTokenFailure($id_token, "Expiration time too far in future"); + } + + public function testVerifySignedJwtWithBadAudience() + { + $id_token = $this->makeSignedJwt( + array( + "iss" => "federated-signon@system.gserviceaccount.com", + "aud" => "wrong_client_id", + "id" => self::USER_ID, + "iat" => time(), + "exp" => time() + 3600 + ) + ); + $this->checkIdTokenFailure($id_token, "Wrong recipient"); + } + + public function testNoAuth() + { + /** @var $noAuth Google_Auth_Simple */ + $noAuth = new Google_Auth_Simple($this->getClient()); + $oldAuth = $this->getClient()->getAuth(); + $this->getClient()->setAuth($noAuth); + $this->getClient()->setDeveloperKey(null); + $req = new Google_Http_Request("http://example.com"); + + $resp = $noAuth->sign($req); + $this->assertEquals("http://example.com", $resp->getUrl()); + $this->getClient()->setAuth($oldAuth); + } + + public function testAssertionCredentials() + { + $assertion = new Google_Auth_AssertionCredentials( + 'name', + 'scope', + file_get_contents(__DIR__.'/'.self::PRIVATE_KEY_FILE, true) + ); + + $token = explode(".", $assertion->generateAssertion()); + $this->assertEquals('{"typ":"JWT","alg":"RS256"}', base64_decode($token[0])); + + $jwt = json_decode(base64_decode($token[1]), true); + $this->assertEquals('https://accounts.google.com/o/oauth2/token', $jwt['aud']); + $this->assertEquals('scope', $jwt['scope']); + $this->assertEquals('name', $jwt['iss']); + + $key = $assertion->getCacheKey(); + $this->assertTrue($key != false); + $assertion = new Google_Auth_AssertionCredentials( + 'name2', + 'scope', + file_get_contents(__DIR__.'/'.self::PRIVATE_KEY_FILE, true) + ); + $this->assertNotEquals($key, $assertion->getCacheKey()); + } + + public function testVerifySignedJWT() + { + $assertion = new Google_Auth_AssertionCredentials( + 'issuer', + 'scope', + file_get_contents(__DIR__.'/'.self::PRIVATE_KEY_FILE, true) + ); + $client = $this->getClient(); + + $this->assertInstanceOf( + 'Google_Auth_LoginTicket', + $client->verifySignedJwt( + $assertion->generateAssertion(), + __DIR__ . DIRECTORY_SEPARATOR . self::PUBLIC_KEY_FILE_JSON, + 'https://accounts.google.com/o/oauth2/token', + 'issuer' + ) + ); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/CacheTest.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/CacheTest.php new file mode 100644 index 0000000..8a61a9a --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/CacheTest.php @@ -0,0 +1,133 @@ +getClient(); + $client->setClassConfig( + 'Google_Cache_File', + 'directory', + $dir + ); + $cache = new Google_Cache_File($client); + $cache->set('foo', 'bar'); + $this->assertEquals($cache->get('foo'), 'bar'); + + $this->getSetDelete($cache); + } + + /** + * @requires extension Memcache + */ + public function testNull() + { + $client = $this->getClient(); + $cache = new Google_Cache_Null($client); + $client->setCache($cache); + + $cache->set('foo', 'bar'); + $cache->delete('foo'); + $this->assertEquals(false, $cache->get('foo')); + + $cache->set('foo.1', 'bar.1'); + $this->assertEquals($cache->get('foo.1'), false); + + $cache->set('foo', 'baz'); + $this->assertEquals($cache->get('foo'), false); + + $cache->set('foo', null); + $cache->delete('foo'); + $this->assertEquals($cache->get('foo'), false); + } + + /** + * @requires extension Memcache + */ + public function testMemcache() + { + $client = $this->getClient(); + if (!$client->getClassConfig('Google_Cache_Memcache', 'host')) { + $this->markTestSkipped('Test requires memcache host specified'); + } + + $cache = new Google_Cache_Memcache($client); + + $this->getSetDelete($cache); + } + + /** + * @requires extension APC + */ + public function testAPC() + { + if (!ini_get('apc.enable_cli')) { + $this->markTestSkipped('Test requires APC enabled for CLI'); + } + $client = $this->getClient(); + $cache = new Google_Cache_Apc($client); + + $this->getSetDelete($cache); + } + + public function getSetDelete($cache) + { + $cache->set('foo', 'bar'); + $cache->delete('foo'); + $this->assertEquals(false, $cache->get('foo')); + + $cache->set('foo.1', 'bar.1'); + $cache->delete('foo.1'); + $this->assertEquals($cache->get('foo.1'), false); + + $cache->set('foo', 'baz'); + $cache->delete('foo'); + $this->assertEquals($cache->get('foo'), false); + + $cache->set('foo', null); + $cache->delete('foo'); + $this->assertEquals($cache->get('foo'), false); + + $obj = new stdClass(); + $obj->foo = 'bar'; + $cache->set('foo', $obj); + $cache->delete('foo'); + $this->assertEquals($cache->get('foo'), false); + + $cache->set('foo.1', 'bar.1'); + $this->assertEquals($cache->get('foo.1'), 'bar.1'); + + $cache->set('foo', 'baz'); + $this->assertEquals($cache->get('foo'), 'baz'); + + $cache->set('foo', null); + $this->assertEquals($cache->get('foo'), null); + + $cache->set('1/2/3', 'bar'); + $this->assertEquals($cache->get('1/2/3'), 'bar'); + + $obj = new stdClass(); + $obj->foo = 'bar'; + $cache->set('foo', $obj); + $this->assertEquals($cache->get('foo'), $obj); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/ComputeEngineAuthTest.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/ComputeEngineAuthTest.php new file mode 100644 index 0000000..5f198f9 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/ComputeEngineAuthTest.php @@ -0,0 +1,84 @@ + "ACCESS_TOKEN", + 'expires_in' => "12345" + ) + ); + $response = $this->getMock("Google_Http_Request", array(), array('')); + $response->expects($this->any()) + ->method('getResponseHttpCode') + ->will($this->returnValue(200)); + $response->expects($this->any()) + ->method('getResponseBody') + ->will($this->returnValue($response_data)); + $io = $this->getMock("Google_IO_Stream", array(), array($client)); + $client->setIo($io);$io->expects($this->any()) + ->method('makeRequest') + ->will( + $this->returnCallback( + function ($request) use ($response) { + return $response; + } + ) + ); + + /* Run method */ + $oauth = new Google_Auth_ComputeEngine($client); + $oauth->acquireAccessToken(); + $token = json_decode($oauth->getAccessToken(), true); + + /* Check results */ + $this->assertEquals($token['access_token'], "ACCESS_TOKEN"); + $this->assertEquals($token['expires_in'], "12345"); + $this->assertTrue($token['created'] > 0); + } + + public function testSign() + { + $client = new Google_Client(); + $oauth = new Google_Auth_ComputeEngine($client); + + /* Load mock access token */ + $oauth->setAccessToken( + json_encode( + array( + 'access_token' => "ACCESS_TOKEN", + 'expires_in' => "12345" + ) + ) + ); + + /* Sign a URL and verify auth header is correctly set */ + $req = new Google_Http_Request('http://localhost'); + $req = $oauth->sign($req); + $auth = $req->getRequestHeader('authorization'); + $this->assertEquals('Bearer ACCESS_TOKEN', $auth); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/Http/BatchTest.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/Http/BatchTest.php new file mode 100644 index 0000000..64a5d65 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/Http/BatchTest.php @@ -0,0 +1,121 @@ +client = $this->getMockBuilder("Google_Client") + ->disableOriginalConstructor() + ->getMock(); + } + + public function testBasicFunctionality() + { + $this->client->expects($this->once()) + ->method("getBasePath") + ->will($this->returnValue("base_path")); + $batch = new Google_Http_Batch($this->client); + $this->assertAttributeEquals("base_path", "root_url", $batch); + $this->assertAttributeEquals("batch", "batch_path", $batch); + } + + public function testExtractionOfRootUrlFromService() + { + $this->client->expects($this->never()) + ->method("getBasePath"); + $service = new Google_Service($this->client); + $service->rootUrl = "root_url_dummy"; + $service->batchPath = "batch_path_dummy"; + $batch = $service->createBatch(); + $this->assertInstanceOf("Google_Http_Batch", $batch); + $this->assertAttributeEquals("root_url_dummy", "root_url", $batch); + $this->assertAttributeEquals("batch_path_dummy", "batch_path", $batch); + } + + public function testExecuteCustomRootUrlBatchPath() + { + $io = $this->getMockBuilder('Google_IO_Abstract') + ->disableOriginalConstructor() + ->setMethods(array('makeRequest', 'needsQuirk', 'executeRequest', 'setOptions', 'setTimeout', 'getTimeout')) + ->getMock(); + $req = null; + $io->expects($this->once()) + ->method("makeRequest") + ->will($this->returnCallback(function($request) use (&$req) { + $req = $request; + return $request; + })); + $this->client->expects($this->once()) + ->method("getIo") + ->will($this->returnValue($io)); + $batch = new Google_Http_Batch($this->client, false, 'https://www.example.com/', 'bat'); + $this->assertNull($batch->execute()); + $this->assertInstanceOf("Google_Http_Request", $req); + $this->assertEquals("https://www.example.com/bat", $req->getUrl()); + } + + public function testExecuteBodySerialization() + { + $io = $this->getMockBuilder('Google_IO_Abstract') + ->disableOriginalConstructor() + ->setMethods(array('makeRequest', 'needsQuirk', 'executeRequest', 'setOptions', 'setTimeout', 'getTimeout')) + ->getMock(); + $req = null; + $io->expects($this->once()) + ->method("makeRequest") + ->will($this->returnCallback(function($request) use (&$req) { + $req = $request; + return $request; + })); + $this->client->expects($this->once()) + ->method("getIo") + ->will($this->returnValue($io)); + $batch = new Google_Http_Batch($this->client, "BOUNDARY_TEXT", 'https://www.example.com/', 'bat'); + $req1 = new Google_Http_Request("https://www.example.com/req1"); + $req2 = new Google_Http_Request("https://www.example.com/req2", 'POST', array(), 'POSTBODY'); + $batch->add($req1, '1'); + $batch->add($req2, '2'); + $this->assertNull($batch->execute()); + $this->assertInstanceOf("Google_Http_Request", $req); + $format = <<<'EOF' +--BOUNDARY_TEXT +Content-Type: application/http +Content-Transfer-Encoding: binary +MIME-Version: 1.0 +Content-ID: 1 + +GET /req1? HTTP/1.1 + + +--BOUNDARY_TEXT +Content-Type: application/http +Content-Transfer-Encoding: binary +MIME-Version: 1.0 +Content-ID: 2 + +POST /req2? HTTP/1.1 + +POSTBODY + +--BOUNDARY_TEXT-- +EOF; + $this->assertEquals($format, $req->getPostBody()); + } + +} \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/Http/RequestTest.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/Http/RequestTest.php new file mode 100644 index 0000000..4e8cb2a --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/Http/RequestTest.php @@ -0,0 +1,41 @@ +assertEquals("https://api.example.com", $request->getBaseComponent()); + } + + public function testBaseComponentExplicitStripsSlashes() + { + $request = new Google_Http_Request("https://api.example.com/base"); + $request->setBaseComponent("https://other.example.com/"); + $this->assertEquals("https://other.example.com", $request->getBaseComponent()); + } + + public function testBaseComponentWithPathExplicitStripsSlashes() + { + $request = new Google_Http_Request("https://api.example.com/base"); + $request->setBaseComponent("https://other.example.com/path/"); + $this->assertEquals("https://other.example.com/path", $request->getBaseComponent()); + } + +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/IoTest.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/IoTest.php new file mode 100644 index 0000000..2097cb4 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/IoTest.php @@ -0,0 +1,381 @@ +getClient(); + $this->assertInstanceOf($default, $client->getIo()); + $config = new Google_Config(); + $config->setIoClass('Google_IO_Stream'); + $client = new Google_Client($config); + $this->assertInstanceOf('Google_IO_Stream', $client->getIo()); + } + + public function testStreamSetTimeout() + { + $io = new Google_IO_Stream($this->getClient()); + $this->timeoutChecker($io); + } + + public function testStreamParseHttpResponseBody() + { + $io = new Google_IO_Stream($this->getClient()); + $this->responseChecker($io); + } + + public function testStreamProcessEntityRequest() + { + $client = $this->getClient(); + $io = new Google_IO_Stream($client); + $this->processEntityRequest($io); + } + + public function testStreamCacheHit() + { + $client = $this->getClient(); + $io = new Google_IO_Stream($client); + $this->cacheHit($io); + } + + public function testStreamAuthCache() + { + $client = $this->getClient(); + $io = new Google_IO_Stream($client); + $this->authCache($io); + } + + /** + * @expectedException Google_IO_Exception + */ + public function testStreamInvalidRequest() + { + $io = new Google_IO_Stream($this->getClient()); + $this->invalidRequest($io); + } + + public function testCurlSetTimeout() + { + if (!function_exists('curl_version')) { + $this->markTestSkipped('cURL not present'); + } + $io = new Google_IO_Curl($this->getClient()); + $this->timeoutChecker($io); + } + + public function testCurlParseHttpResponseBody() + { + if (!function_exists('curl_version')) { + $this->markTestSkipped('cURL not present'); + } + $io = new Google_IO_Curl($this->getClient()); + $this->responseChecker($io); + } + + public function testCurlProcessEntityRequest() + { + if (!function_exists('curl_version')) { + $this->markTestSkipped('cURL not present'); + } + $client = $this->getClient(); + $io = new Google_IO_Curl($client); + $this->processEntityRequest($io); + } + + public function testCurlCacheHit() + { + if (!function_exists('curl_version')) { + $this->markTestSkipped('cURL not present'); + } + $client = $this->getClient(); + $io = new Google_IO_Curl($client); + $this->cacheHit($io); + } + + public function testCurlAuthCache() + { + if (!function_exists('curl_version')) { + $this->markTestSkipped('cURL not present'); + } + $client = $this->getClient(); + $io = new Google_IO_Curl($client); + $this->authCache($io); + } + + /** + * @expectedException Google_IO_Exception + */ + public function testCurlInvalidRequest() + { + if (!function_exists('curl_version')) { + $this->markTestSkipped('cURL not present'); + } + $io = new Google_IO_Curl($this->getClient()); + $this->invalidRequest($io); + } + + public function testCacheRevalidate() + { + $client = $this->getClient(); + + $req = new Google_Http_Request('/test', 'GET'); + $req->setRequestHeaders(array('Accept' => '*/*')); + $req->setResponseBody('{"a": "foo"}'); + $req->setResponseHttpCode(200); + $req->setResponseHeaders( + array( + 'cache-control' => 'private', + 'etag' => '"this-is-an-etag"', + 'expires' => '-1', + 'date' => 'Sun, 1 Jan 2012 09:00:56 GMT', + 'content-type' => 'application/json; charset=UTF-8', + ) + ); + + $io = $this->getMockBuilder('Google_IO_Abstract') + ->setConstructorArgs(array($client)) + ->setMethods( + array( + 'getCachedRequest', + 'checkMustRevalidateCachedRequest' + ) + ) + ->getMockForAbstractClass(); + + $io->expects($this->once()) + ->method('getCachedRequest') + ->will($this->returnValue($req)); + + $io->expects($this->once()) + ->method('checkMustRevalidateCachedRequest') + ->will($this->returnValue(true)); + + $io->expects($this->once()) + ->method('executeRequest') + ->will( + $this->returnValue( + array( + '{"a": "foo"}', + array( + 'te' => 'gzip', + 'connection' => 'Keep-Alive, Foo, Bar', + 'foo' => '123', + 'keep-alive' => 'timeout=30', + 'cache-control' => 'private', + 'eTag' => '"this-is-a-new-etag"', + "expires" => 'Sun, 22 Jan 2022 09:00:56 GMT', + 'date' => 'Sun, 1 Jan 2012 09:00:56 GMT', + 'content-type' => 'application/json; charset=UTF-8', + ), + 304 + ) + ) + ); + + $res = $io->makeRequest(new Google_Http_Request('/test', 'GET')); + + $this->assertEquals('{"a": "foo"}', $res->getResponseBody()); + $this->assertEquals(200, $res->getResponseHttpCode()); + $this->assertEquals( + array( + 'cache-control' => 'private', + 'etag' => '"this-is-a-new-etag"', + "expires" => 'Sun, 22 Jan 2022 09:00:56 GMT', + 'date' => 'Sun, 1 Jan 2012 09:00:56 GMT', + 'content-type' => 'application/json; charset=UTF-8', + ), + $res->getResponseHeaders() + ); + } + + // Asserting Functions + + public function timeoutChecker($io) + { + $this->assertEquals(100, $io->getTimeout()); + $io->setTimeout(120); + $this->assertEquals(120, $io->getTimeout()); + } + + public function invalidRequest($io) + { + $url = "http://localhost:1"; + $req = new Google_Http_Request($url, "GET"); + $io->makeRequest($req); + } + + public function cacheHit($io) + { + $url = "http://www.googleapis.com"; + // Create a cacheable request/response. + // Should not be revalidated. + $cacheReq = new Google_Http_Request($url, "GET"); + $cacheReq->setRequestHeaders( + array("Accept" => "*/*",) + ); + $cacheReq->setResponseBody("{\"a\": \"foo\"}"); + $cacheReq->setResponseHttpCode(200); + $cacheReq->setResponseHeaders( + array( + "Cache-Control" => "private", + "ETag" => "\"this-is-an-etag\"", + "Expires" => "Sun, 22 Jan 2022 09:00:56 GMT", + "Date" => "Sun, 1 Jan 2012 09:00:56 GMT", + "Content-Type" => "application/json; charset=UTF-8", + ) + ); + + // Populate the cache. + $io->setCachedRequest($cacheReq); + + // Execute the same mock request, and expect a cache hit. + $res = $io->makeRequest(new Google_Http_Request($url, "GET")); + $this->assertEquals("{\"a\": \"foo\"}", $res->getResponseBody()); + $this->assertEquals(200, $res->getResponseHttpCode()); + } + + public function authCache($io) + { + $url = "http://www.googleapis.com/protected/resource"; + + // Create a cacheable request/response, but it should not be cached. + $cacheReq = new Google_Http_Request($url, "GET"); + $cacheReq->setRequestHeaders( + array( + "Accept" => "*/*", + "Authorization" => "Bearer Foo" + ) + ); + $cacheReq->setResponseBody("{\"a\": \"foo\"}"); + $cacheReq->setResponseHttpCode(200); + $cacheReq->setResponseHeaders( + array( + "Cache-Control" => "private", + "ETag" => "\"this-is-an-etag\"", + "Expires" => "Sun, 22 Jan 2022 09:00:56 GMT", + "Date: Sun, 1 Jan 2012 09:00:56 GMT", + "Content-Type" => "application/json; charset=UTF-8", + ) + ); + + $result = $io->setCachedRequest($cacheReq); + $this->assertFalse($result); + } + + public function responseChecker($io) + { + $hasQuirk = false; + if (function_exists('curl_version')) { + $curlVer = curl_version(); + $hasQuirk = $curlVer['version_number'] < Google_IO_Curl::NO_QUIRK_VERSION; + } + + $rawHeaders = "HTTP/1.1 200 OK\r\n" + . "Expires: Sun, 22 Jan 2012 09:00:56 GMT\r\n" + . "Date: Sun, 22 Jan 2012 09:00:56 GMT\r\n" + . "Content-Type: application/json; charset=UTF-8\r\n"; + $size = strlen($rawHeaders); + $rawBody = "{}"; + + $rawResponse = "$rawHeaders\r\n$rawBody"; + list($headers, $body) = $io->parseHttpResponse($rawResponse, $size); + $this->assertEquals(3, sizeof($headers)); + $this->assertEquals(array(), json_decode($body, true)); + + // Test empty bodies. + $rawResponse = $rawHeaders . "\r\n"; + list($headers, $body) = $io->parseHttpResponse($rawResponse, $size); + $this->assertEquals(3, sizeof($headers)); + $this->assertEquals(null, json_decode($body, true)); + + // Test no content. + $rawerHeaders = "HTTP/1.1 204 No Content\r\n" + . "Date: Fri, 19 Sep 2014 15:52:14 GMT"; + list($headers, $body) = $io->parseHttpResponse($rawerHeaders, 0); + $this->assertEquals(1, sizeof($headers)); + $this->assertEquals(null, json_decode($body, true)); + + // Test transforms from proxies. + $connection_established_headers = array( + "HTTP/1.0 200 Connection established\r\n\r\n", + "HTTP/1.1 200 Connection established\r\n\r\n", + ); + foreach ($connection_established_headers as $established_header) { + $rawHeaders = "{$established_header}HTTP/1.1 200 OK\r\nContent-Type: application/json\r\n"; + $headersSize = strlen($rawHeaders); + // If we have a broken cURL version we have to simulate it to get the + // correct test result. + if ($hasQuirk && get_class($io) === 'Google_IO_Curl') { + $headersSize -= strlen($established_header); + } + $rawBody = "{}"; + + $rawResponse = "$rawHeaders\r\n$rawBody"; + list($headers, $body) = $io->parseHttpResponse($rawResponse, $headersSize); + $this->assertEquals(1, sizeof($headers)); + $this->assertEquals(array(), json_decode($body, true)); + } + } + + public function processEntityRequest($io) + { + $req = new Google_Http_Request("http://localhost.com"); + $req->setRequestMethod("POST"); + + // Verify that the content-length is calculated. + $req->setPostBody("{}"); + $io->processEntityRequest($req); + $this->assertEquals(2, $req->getRequestHeader("content-length")); + + // Test an empty post body. + $req->setPostBody(""); + $io->processEntityRequest($req); + $this->assertEquals(0, $req->getRequestHeader("content-length")); + + // Test a null post body. + $req->setPostBody(null); + $io->processEntityRequest($req); + $this->assertEquals(0, $req->getRequestHeader("content-length")); + + // Set an array in the postbody, and verify that it is url-encoded. + $req->setPostBody(array("a" => "1", "b" => 2)); + $io->processEntityRequest($req); + $this->assertEquals(7, $req->getRequestHeader("content-length")); + $this->assertEquals( + Google_IO_Abstract::FORM_URLENCODED, + $req->getRequestHeader("content-type") + ); + $this->assertEquals("a=1&b=2", $req->getPostBody()); + + // Verify that the content-type isn't reset. + $payload = array("a" => "1", "b" => 2); + $req->setPostBody($payload); + $req->setRequestHeaders(array("content-type" => "multipart/form-data")); + $io->processEntityRequest($req); + $this->assertEquals( + "multipart/form-data", + $req->getRequestHeader("content-type") + ); + $this->assertEquals($payload, $req->getPostBody()); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/LoggerTest.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/LoggerTest.php new file mode 100644 index 0000000..cfdf8d4 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/LoggerTest.php @@ -0,0 +1,445 @@ +client = new Google_Client(); + } + + /** + * @dataProvider logLevelsProvider + */ + public function testPsrMethods($key) + { + $message = 'This is my log message'; + $context = array('some'=>'context'); + + $logger = $this->getLogger('log'); + $logger->expects($this->once()) + ->method('log') + ->with($key, $message, $context); + + call_user_func(array($logger, $key), $message, $context); + } + + /** + * @dataProvider invalidLevelsProvider + * @expectedException Google_Logger_Exception + * @expectedExceptionMessage Unknown LogLevel + */ + public function testSetLabelWithBadValue($level) + { + $this->getLogger()->setLevel($level); + } + + /** + * @dataProvider invalidLevelsProvider + * @expectedException Google_Logger_Exception + * @expectedExceptionMessage Unknown LogLevel + */ + public function testSetLabelWithBadValueFromConfig($level) + { + $this->client->setClassConfig('Google_Logger_Abstract', 'level', $level); + $this->getLogger(); + } + + /** + * @dataProvider filterProvider + */ + public function testShouldHandle($setLevel, $handleLevel, $expected) + { + $logger = $this->getLogger(); + $logger->setLevel($setLevel); + + $this->assertEquals($expected, $logger->shouldHandle($handleLevel)); + } + + /** + * @dataProvider filterProvider + */ + public function testShouldHandleFromConfig($config, $handleLevel, $expected) + { + $this->client->setClassConfig('Google_Logger_Abstract', 'level', $config); + $logger = $this->getLogger(); + + $this->assertEquals($expected, $logger->shouldHandle($handleLevel)); + } + + /** + * @dataProvider filterProvider + */ + public function testShouldWrite($setLevel, $logLevel, $expected) + { + $logger = $this->getLogger(); + $logger->expects($expected ? $this->once() : $this->never()) + ->method('write'); + + $logger->setLevel($setLevel); + $logger->log($logLevel, 'This is my log message'); + } + + /** + * @dataProvider filterProvider + */ + public function testShouldWriteFromConfig($config, $logLevel, $expected) + { + $this->client->setClassConfig('Google_Logger_Abstract', 'level', $config); + $logger = $this->getLogger(); + $logger->expects($expected ? $this->once() : $this->never()) + ->method('write'); + + $logger->log($logLevel, 'This is my log message'); + } + + /** + * @dataProvider formattingProvider + */ + public function testMessageFormatting( + $format, + $date_format, + $newlines, + $message, + $context, + $expected + ) { + $this->client->setClassConfig( + 'Google_Logger_Abstract', + 'log_format', + $format + ); + $this->client->setClassConfig( + 'Google_Logger_Abstract', + 'date_format', + $date_format + ); + $this->client->setClassConfig( + 'Google_Logger_Abstract', + 'allow_newlines', + $newlines + ); + + $logger = $this->getLogger(); + $logger->expects($this->once()) + ->method('write') + ->with($expected); + + $logger->log('debug', $message, $context); + } + + public function testNullLoggerNeverWrites() + { + $logger = $this->getLogger('write', 'Google_Logger_Null'); + $logger->expects($this->never()) + ->method('write'); + + $logger->log( + 'emergency', + 'Should not be written', + array('same' => 'for this') + ); + } + + public function testNullLoggerNeverHandles() + { + $logger = $this->getLogger('write', 'Google_Logger_Null'); + $this->assertFalse($logger->shouldHandle('emergency')); + $this->assertFalse($logger->shouldHandle(600)); + } + + public function testPsrNeverWrites() + { + $logger = $this->getLogger('write', 'Google_Logger_Psr'); + $logger->expects($this->never()) + ->method('write'); + + $logger->log( + 'emergency', + 'Should not be written', + array('same' => 'for this') + ); + + $logger->setLogger($this->getLogger()); + + $logger->log( + 'emergency', + 'Should not be written', + array('same' => 'for this') + ); + } + + public function testPsrNeverShouldHandleWhenNoLoggerSet() + { + $logger = $this->getLogger(null, 'Google_Logger_Psr'); + $this->assertFalse($logger->shouldHandle('emergency')); + $this->assertFalse($logger->shouldHandle(600)); + } + + public function testPsrShouldHandleWhenLoggerSet() + { + $logger = $this->getLogger(null, 'Google_Logger_Psr'); + $logger->setLogger($this->getLogger()); + + $this->assertTrue($logger->shouldHandle('emergency')); + $this->assertTrue($logger->shouldHandle(600)); + } + + /** + * @dataProvider logLevelsProvider + */ + public function testPsrDelegates($key) + { + $message = 'This is my log message'; + $context = array('some'=>'context'); + + $delegate = $this->getLogger('log'); + $delegate->expects($this->once()) + ->method('log') + ->with($key, $message, $context); + + $logger = $this->getLogger(null, 'Google_Logger_Psr'); + $logger->setLogger($delegate); + + call_user_func(array($logger, $key), $message, $context); + } + + /** + * @expectedException Google_Logger_Exception + * @expectedExceptionMessage File logger requires a filename or a valid file pointer + */ + public function testLoggerWithBadFileType() + { + $this->client->setClassConfig('Google_Logger_File', 'file', false); + $logger = $this->getLogger(null, 'Google_Logger_File'); + } + + /** + * @expectedException Google_Logger_Exception + * @expectedExceptionMessage Logger Error + */ + public function testLoggerWithBadFileValue() + { + $this->client->setClassConfig('Google_Logger_File', 'file', 'not://exist'); + + $logger = $this->getLogger(null, 'Google_Logger_File'); + $logger->log('emergency', 'will fail'); + } + + /** + * @expectedException Google_Logger_Exception + * @expectedExceptionMessage File pointer is no longer available + */ + public function testLoggerWithClosedFileReference() + { + $fp = fopen('php://memory', 'r+'); + + $this->client->setClassConfig('Google_Logger_File', 'file', $fp); + $logger = $this->getLogger(null, 'Google_Logger_File'); + + fclose($fp); + + $logger->log('emergency', 'will fail'); + } + + public function testLoggerWithFileReference() + { + $fp = fopen('php://memory', 'r+'); + + $this->client->setClassConfig('Google_Logger_File', 'file', $fp); + $this->client->setClassConfig( + 'Google_Logger_Abstract', + 'log_format', + "%level% - %message%\n" + ); + + $logger = $this->getLogger(null, 'Google_Logger_File'); + $logger->log('emergency', 'test one'); + $logger->log('alert', 'test two'); + $logger->log(500, 'test three'); + + rewind($fp); + $this->assertEquals( + "EMERGENCY - test one\nALERT - test two\nCRITICAL - test three\n", + stream_get_contents($fp) + ); + + fclose($fp); + } + + public function testLoggerWithFile() + { + $this->expectOutputString( + "EMERGENCY - test one\nALERT - test two\nCRITICAL - test three\n" + ); + + $this->client->setClassConfig( + 'Google_Logger_File', + 'file', + 'php://output' + ); + $this->client->setClassConfig( + 'Google_Logger_Abstract', + 'log_format', + "%level% - %message%\n" + ); + + $logger = $this->getLogger(null, 'Google_Logger_File'); + $logger->log('emergency', 'test one'); + $logger->log('alert', 'test two'); + $logger->log(500, 'test three'); + } + + public function formattingProvider() + { + return array( + 'no interpolation' => array( + 'this is my format', + 'd/M/Y:H:i:s O', + false, + 'you wont see this', + array('or' => 'this'), + 'this is my format', + ), + 'only message interpolation' => array( + 'my format: %message%', + 'd/M/Y:H:i:s O', + false, + 'you will see this', + array('but not' => 'this'), + 'my format: you will see this', + ), + 'message and level interpolation' => array( + '%level% - my format: %message%', + 'd/M/Y:H:i:s O', + false, + 'you will see this', + array('but not' => 'this'), + 'DEBUG - my format: you will see this', + ), + 'message, level, datetime interpolation' => array( + '[%datetime%] %level% - my format: %message%', + '\T\I\M\E', + false, + 'you will see this', + array('but not' => 'this'), + '[TIME] DEBUG - my format: you will see this', + ), + 'message, level, datetime, context interpolation' => array( + '[%datetime%] %level% - my format: %message%: %context%', + '\T\I\M\E', + false, + 'you will see this', + array('and' => 'this'), + '[TIME] DEBUG - my format: you will see this: {"and":"this"}', + ), + 'reverse JSON in context' => array( + '%context%', + 'd/M/Y:H:i:s O', + false, + 'you will not see this', + array('reverse' => json_encode(array('this' => 'is cool'))), + '{"reverse":{"this":"is cool"}}', + ), + 'remove newlines in message' => array( + '%message%', + 'd/M/Y:H:i:s O', + false, + "This \n\n\r\n is \r my \r\n newlines \r\r\r\n\n message", + array('you wont' => 'see this'), + 'This is my newlines message', + ), + 'allow newlines in message' => array( + '%message%', + 'd/M/Y:H:i:s O', + true, + "This \n\n\r\n is \r my \r\n newlines \r\r\r\n\n message", + array('you wont' => 'see this'), + "This \n\n\r\n is \r my \r\n newlines \r\r\r\n\n message", + ), + 'allow newlines in JSON' => array( + '%context%', + 'd/M/Y:H:i:s O', + true, + "wont see this", + array('you will' => 'see this'), + version_compare(PHP_VERSION, '5.4.0', '>=') ? + "{\n \"you will\": \"see this\"\n}" : + '{"you will":"see this"}' + ), + ); + } + + public function filterProvider() + { + return array( + array('debug', 'debug', true), + array(100, 'debug', true), + array('info', 'debug', false), + array('info', 'notice', true), + array('notice', 'notice', true), + array(250, 'notice', true), + array('notice', 'debug', false), + array(250, 'alert', true), + array('error', 'error', true), + array('error', 'warning', false), + array('error', 'critical', true), + array(600, 'alert', false), + array(600, 'critical', false), + array(600, 'emergency', true), + array('emergency', 'emergency', true), + ); + } + + public function invalidLevelsProvider() + { + return array( + array('100'), + array('DEBUG'), + array(100.0), + array(''), + array(0), + ); + } + + public function logLevelsProvider() + { + return array( + array('emergency', 600), + array('alert', 550), + array('critical', 500), + array('error', 400), + array('warning', 300), + array('notice', 250), + array('info', 200), + array('debug', 100), + ); + } + + private function getLogger($methods = null, $type = 'Google_Logger_Abstract') + { + return $this->getMockBuilder($type) + ->setMethods((array) $methods) + ->setConstructorArgs(array($this->client)) + ->getMockForAbstractClass(); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/RequestTest.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/RequestTest.php new file mode 100644 index 0000000..68476cd --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/RequestTest.php @@ -0,0 +1,71 @@ +setExpectedClass("Google_Client"); + $this->assertEquals(2, count($request->getQueryParams())); + $request->setQueryParam("hi", "there"); + $this->assertEquals($url2, $request->getUrl()); + $this->assertEquals("Google_Client", $request->getExpectedClass()); + + $urlPath = "/foo/bar"; + $request = new Google_Http_Request($urlPath); + $this->assertEquals($urlPath, $request->getUrl()); + $request->setBaseComponent("http://example.com"); + $this->assertEquals("http://example.com" . $urlPath, $request->getUrl()); + + $url3a = 'http://localhost:8080/foo/bar'; + $url3b = 'foo=a&foo=b&wowee=oh+my'; + $url3c = 'foo=a&foo=b&wowee=oh+my&hi=there'; + $request = new Google_Http_Request($url3a."?".$url3b, "POST"); + $request->setQueryParam("hi", "there"); + $request->maybeMoveParametersToBody(); + $this->assertEquals($url3a, $request->getUrl()); + $this->assertEquals($url3c, $request->getPostBody()); + + $url4 = 'http://localhost:8080/upload/foo/bar?foo=a&foo=b&wowee=oh+my&hi=there'; + $request = new Google_Http_Request($url); + $this->assertEquals(2, count($request->getQueryParams())); + $request->setQueryParam("hi", "there"); + $base = $request->getBaseComponent(); + $request->setBaseComponent($base . '/upload'); + $this->assertEquals($url4, $request->getUrl()); + } + + public function testGzipSupport() + { + $url = 'http://localhost:8080/foo/bar?foo=a&foo=b&wowee=oh+my'; + $request = new Google_Http_Request($url); + $request->enableGzip(); + $this->assertStringEndsWith(Google_Http_Request::GZIP_UA, $request->getUserAgent()); + $this->assertArrayHasKey('accept-encoding', $request->getRequestHeaders()); + $this->assertTrue($request->canGzip()); + $request->disableGzip(); + $this->assertStringEndsNotWith(Google_Http_Request::GZIP_UA, $request->getUserAgent()); + $this->assertArrayNotHasKey('accept-encoding', $request->getRequestHeaders()); + $this->assertFalse($request->canGzip()); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/ResourceTest.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/ResourceTest.php new file mode 100644 index 0000000..b521fdf --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/ResourceTest.php @@ -0,0 +1,140 @@ +rootUrl = ""; + $this->servicePath = ""; + $this->version = "v1beta1"; + $this->serviceName = "test"; + } +} + +class ResourceTest extends PHPUnit_Framework_TestCase +{ + private $client; + private $service; + private $logger; + + public function setUp() + { + $this->client = $this->getMockBuilder("Google_Client") + ->disableOriginalConstructor() + ->getMock(); + $this->logger = $this->getMockBuilder("Google_Logger_Null") + ->disableOriginalConstructor() + ->getMock(); + $this->client->expects($this->any()) + ->method("getClassConfig") + ->will($this->returnCallback(function($class, $type) { + if (!is_string($class)) { + $class = get_class($class); + } + $configMap = array( + "Google_Auth_Simple" => array( + "developer_key" => "testKey" + ), + ); + return isset($configMap[$class][$type]) ? $configMap[$class][$type] : null; + })); + $this->client->expects($this->any()) + ->method("getLogger") + ->will($this->returnValue($this->logger)); + $this->client->expects($this->any()) + ->method("shouldDefer") + ->will($this->returnValue(true)); + $this->client->expects($this->any()) + ->method("getBasePath") + ->will($this->returnValue("https://test.example.com")); + $this->client->expects($this->any()) + ->method("getAuth") + ->will($this->returnValue(new Google_Auth_Simple($this->client))); + $this->service = new Test_Google_Service($this->client); + } + + public function testCallFailure() + { + $resource = new Google_Service_Resource( + $this->service, + "test", + "testResource", + array("methods" => + array( + "testMethod" => array( + "parameters" => array(), + "path" => "method/path", + "httpMethod" => "POST", + ) + ) + ) + ); + $this->setExpectedException( + "Google_Exception", + "Unknown function: test->testResource->someothermethod()" + ); + $resource->call("someothermethod", array()); + } + + public function testCallSimple() + { + $resource = new Google_Service_Resource( + $this->service, + "test", + "testResource", + array("methods" => + array( + "testMethod" => array( + "parameters" => array(), + "path" => "method/path", + "httpMethod" => "POST", + ) + ) + ) + ); + $request = $resource->call("testMethod", array(array())); + $this->assertEquals("https://test.example.com/method/path?key=testKey", $request->getUrl()); + $this->assertEquals("POST", $request->getRequestMethod()); + } + + public function testCallServiceDefinedRoot() + { + $this->service->rootUrl = "https://sample.example.com"; + $resource = new Google_Service_Resource( + $this->service, + "test", + "testResource", + array("methods" => + array( + "testMethod" => array( + "parameters" => array(), + "path" => "method/path", + "httpMethod" => "POST", + ) + ) + ) + ); + $request = $resource->call("testMethod", array(array())); + $this->assertEquals("https://sample.example.com/method/path?key=testKey", $request->getUrl()); + $this->assertEquals("POST", $request->getRequestMethod()); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/RestTest.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/RestTest.php new file mode 100644 index 0000000..caed129 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/RestTest.php @@ -0,0 +1,161 @@ +rest = new Google_Http_REST(); + } + + public function testDecodeResponse() + { + $url = 'http://localhost'; + $client = $this->getClient(); + $response = new Google_Http_Request($url); + $response->setResponseHttpCode(204); + $decoded = $this->rest->decodeHttpResponse($response, $client); + $this->assertEquals(null, $decoded); + + + foreach (array(200, 201) as $code) { + $headers = array('foo', 'bar'); + $response = new Google_Http_Request($url, 'GET', $headers); + $response->setResponseBody('{"a": 1}'); + + $response->setResponseHttpCode($code); + $decoded = $this->rest->decodeHttpResponse($response, $client); + $this->assertEquals(array("a" => 1), $decoded); + } + + $response = new Google_Http_Request($url); + $response->setResponseHttpCode(500); + + $error = ""; + try { + $this->rest->decodeHttpResponse($response, $client); + } catch (Exception $e) { + $error = $e->getMessage(); + + } + $this->assertEquals(trim($error), "Error calling GET http://localhost: (500)"); + } + + + public function testDecodeEmptyResponse() + { + $url = 'http://localhost'; + + $response = new Google_Http_Request($url, 'GET', array()); + $response->setResponseBody('{}'); + + $response->setResponseHttpCode(200); + $decoded = $this->rest->decodeHttpResponse($response); + $this->assertEquals(array(), $decoded); + } + + public function testCreateRequestUri() + { + $basePath = "http://localhost"; + $restPath = "/plus/{u}"; + + // Test Path + $params = array(); + $params['u']['type'] = 'string'; + $params['u']['location'] = 'path'; + $params['u']['value'] = 'me'; + $value = $this->rest->createRequestUri($basePath, $restPath, $params); + $this->assertEquals("http://localhost/plus/me", $value); + + // Test Query + $params = array(); + $params['u']['type'] = 'string'; + $params['u']['location'] = 'query'; + $params['u']['value'] = 'me'; + $value = $this->rest->createRequestUri($basePath, '/plus', $params); + $this->assertEquals("http://localhost/plus?u=me", $value); + + // Test Booleans + $params = array(); + $params['u']['type'] = 'boolean'; + $params['u']['location'] = 'path'; + $params['u']['value'] = '1'; + $value = $this->rest->createRequestUri($basePath, $restPath, $params); + $this->assertEquals("http://localhost/plus/true", $value); + + $params['u']['location'] = 'query'; + $value = $this->rest->createRequestUri($basePath, '/plus', $params); + $this->assertEquals("http://localhost/plus?u=true", $value); + + // Test encoding + $params = array(); + $params['u']['type'] = 'string'; + $params['u']['location'] = 'query'; + $params['u']['value'] = '@me/'; + $value = $this->rest->createRequestUri($basePath, '/plus', $params); + $this->assertEquals("http://localhost/plus?u=%40me%2F", $value); + } + + /** + * @expectedException Google_Service_Exception + */ + public function testBadErrorFormatting() + { + $request = new Google_Http_Request("/a/b"); + $request->setResponseHttpCode(500); + $request->setResponseBody( + '{ + "error": { + "code": 500, + "message": null + } + }' + ); + Google_Http_Rest::decodeHttpResponse($request); + } + + /** + * @expectedException Google_Service_Exception + */ + public function tesProperErrorFormatting() + { + $request = new Google_Http_Request("/a/b"); + $request->setResponseHttpCode(401); + $request->setResponseBody( + '{ + error: { + errors: [ + { + "domain": "global", + "reason": "authError", + "message": "Invalid Credentials", + "locationType": "header", + "location": "Authorization", + } + ], + "code": 401, + "message": "Invalid Credentials" + }' + ); + Google_Http_Rest::decodeHttpResponse($request); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/ServiceTest.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/ServiceTest.php new file mode 100644 index 0000000..b3963b1 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/ServiceTest.php @@ -0,0 +1,107 @@ +mapTypes( + array( + 'name' => 'asdf', + 'gender' => 'z', + ) + ); + $this->assertEquals('asdf', $model->name); + $this->assertEquals('z', $model->gender); + $model->mapTypes( + array( + '__infoType' => 'Google_Model', + '__infoDataType' => 'map', + 'info' => array ( + 'location' => 'mars', + 'timezone' => 'mst', + ), + 'name' => 'asdf', + 'gender' => 'z', + ) + ); + $this->assertEquals('asdf', $model->name); + $this->assertEquals('z', $model->gender); + + $this->assertEquals(false, $model->isAssociativeArray("")); + $this->assertEquals(false, $model->isAssociativeArray(false)); + $this->assertEquals(false, $model->isAssociativeArray(null)); + $this->assertEquals(false, $model->isAssociativeArray(array())); + $this->assertEquals(false, $model->isAssociativeArray(array(1, 2))); + $this->assertEquals(false, $model->isAssociativeArray(array(1 => 2))); + + $this->assertEquals(true, $model->isAssociativeArray(array('test' => 'a'))); + $this->assertEquals(true, $model->isAssociativeArray(array("a", "b" => 2))); + } + + /** + * @dataProvider serviceProvider + */ + public function testIncludes($class) + { + $this->assertTrue( + class_exists($class), + sprintf('Failed asserting class %s exists.', $class) + ); + } + + public function serviceProvider() + { + $classes = array(); + $path = dirname(dirname(dirname(__FILE__))) . '/src/Google/Service'; + foreach (glob($path . "/*.php") as $file) { + $classes[] = array('Google_Service_' . basename($file, '.php')); + } + + return $classes; + } + + public function testStrLen() + { + $this->assertEquals(0, Google_Utils::getStrLen(null)); + $this->assertEquals(0, Google_Utils::getStrLen(false)); + $this->assertEquals(0, Google_Utils::getStrLen("")); + + $this->assertEquals(1, Google_Utils::getStrLen(" ")); + $this->assertEquals(2, Google_Utils::getStrLen(" 1")); + $this->assertEquals(7, Google_Utils::getStrLen("0a\\n\n\r\n")); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/TaskTest.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/TaskTest.php new file mode 100644 index 0000000..4aca138 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/TaskTest.php @@ -0,0 +1,765 @@ +client = new Google_Client(); + } + + /** + * @dataProvider defaultRestErrorProvider + * @expectedException Google_Service_Exception + */ + public function testRestRetryOffByDefault($errorCode, $errorBody = '{}') + { + $this->setNextResponse($errorCode, $errorBody)->makeRequest(); + } + + /** + * @dataProvider defaultRestErrorProvider + * @expectedException Google_Service_Exception + */ + public function testOneRestRetryWithError($errorCode, $errorBody = '{}') + { + $this->setTaskConfig(array('retries' => 1)); + $this->setNextResponses(2, $errorCode, $errorBody)->makeRequest(); + } + + /** + * @dataProvider defaultRestErrorProvider + * @expectedException Google_Service_Exception + */ + public function testMultipleRestRetriesWithErrors( + $errorCode, + $errorBody = '{}' + ) { + $this->setTaskConfig(array('retries' => 5)); + $this->setNextResponses(6, $errorCode, $errorBody)->makeRequest(); + } + + /** + * @dataProvider defaultRestErrorProvider + */ + public function testOneRestRetryWithSuccess($errorCode, $errorBody = '{}') + { + $this->setTaskConfig(array('retries' => 1)); + $result = $this->setNextResponse($errorCode, $errorBody) + ->setNextResponse(200, '{"success": true}') + ->makeRequest(); + + $this->assertEquals(array("success" => true), $result); + } + + /** + * @dataProvider defaultRestErrorProvider + */ + public function testMultipleRestRetriesWithSuccess( + $errorCode, + $errorBody = '{}' + ) { + $this->setTaskConfig(array('retries' => 5)); + $result = $this->setNextResponses(2, $errorCode, $errorBody) + ->setNextResponse(200, '{"success": true}') + ->makeRequest(); + + $this->assertEquals(array("success" => true), $result); + } + + /** + * @dataProvider defaultRestErrorProvider + * @expectedException Google_Service_Exception + */ + public function testCustomRestRetryMapReplacesDefaults( + $errorCode, + $errorBody = '{}' + ) { + $this->client->setClassConfig( + 'Google_Service_Exception', + array('retry_map' => array()) + ); + + $this->setTaskConfig(array('retries' => 5)); + $this->setNextResponse($errorCode, $errorBody)->makeRequest(); + } + + public function testCustomRestRetryMapAddsNewHandlers() + { + $this->client->setClassConfig( + 'Google_Service_Exception', + array('retry_map' => array('403' => Google_Config::TASK_RETRY_ALWAYS)) + ); + + $this->setTaskConfig(array('retries' => 5)); + $result = $this->setNextResponses(2, 403) + ->setNextResponse(200, '{"success": true}') + ->makeRequest(); + + $this->assertEquals(array("success" => true), $result); + } + + /** + * @expectedException Google_Service_Exception + * @dataProvider customLimitsProvider + */ + public function testCustomRestRetryMapWithCustomLimits($limit) + { + $this->client->setClassConfig( + 'Google_Service_Exception', + array('retry_map' => array('403' => $limit)) + ); + + $this->setTaskConfig(array('retries' => 5)); + $this->setNextResponses($limit + 1, 403)->makeRequest(); + } + + /** + * @dataProvider timeoutProvider + */ + public function testRestTimeouts($config, $minTime) + { + $this->setTaskConfig($config); + $this->setNextResponses($config['retries'], 500) + ->setNextResponse(200, '{"success": true}'); + + $this->assertTaskTimeGreaterThanOrEqual( + $minTime, + array($this, 'makeRequest'), + $config['initial_delay'] / 10 + ); + } + + /** + * @requires extension curl + * @dataProvider defaultCurlErrorProvider + * @expectedException Google_IO_Exception + */ + public function testCurlRetryOffByDefault($errorCode, $errorMessage = '') + { + $this->setNextResponseThrows($errorMessage, $errorCode)->makeRequest(); + } + + /** + * @requires extension curl + * @dataProvider defaultCurlErrorProvider + * @expectedException Google_IO_Exception + */ + public function testOneCurlRetryWithError($errorCode, $errorMessage = '') + { + $this->setTaskConfig(array('retries' => 1)); + $this->setNextResponsesThrow(2, $errorMessage, $errorCode)->makeRequest(); + } + + /** + * @requires extension curl + * @dataProvider defaultCurlErrorProvider + * @expectedException Google_IO_Exception + */ + public function testMultipleCurlRetriesWithErrors( + $errorCode, + $errorMessage = '' + ) { + $this->setTaskConfig(array('retries' => 5)); + $this->setNextResponsesThrow(6, $errorMessage, $errorCode)->makeRequest(); + } + + /** + * @requires extension curl + * @dataProvider defaultCurlErrorProvider + */ + public function testOneCurlRetryWithSuccess($errorCode, $errorMessage = '') + { + $this->setTaskConfig(array('retries' => 1)); + $result = $this->setNextResponseThrows($errorMessage, $errorCode) + ->setNextResponse(200, '{"success": true}') + ->makeRequest(); + + $this->assertEquals(array("success" => true), $result); + } + + /** + * @requires extension curl + * @dataProvider defaultCurlErrorProvider + */ + public function testMultipleCurlRetriesWithSuccess( + $errorCode, + $errorMessage = '' + ) { + $this->setTaskConfig(array('retries' => 5)); + $result = $this->setNextResponsesThrow(2, $errorMessage, $errorCode) + ->setNextResponse(200, '{"success": true}') + ->makeRequest(); + + $this->assertEquals(array("success" => true), $result); + } + + /** + * @requires extension curl + * @dataProvider defaultCurlErrorProvider + * @expectedException Google_IO_Exception + */ + public function testCustomCurlRetryMapReplacesDefaults( + $errorCode, + $errorMessage = '' + ) { + $this->client->setClassConfig( + 'Google_IO_Exception', + array('retry_map' => array()) + ); + + $this->setTaskConfig(array('retries' => 5)); + $this->setNextResponseThrows($errorMessage, $errorCode)->makeRequest(); + } + + /** + * @requires extension curl + */ + public function testCustomCurlRetryMapAddsNewHandlers() + { + $this->client->setClassConfig( + 'Google_IO_Exception', + array('retry_map' => array( + CURLE_COULDNT_RESOLVE_PROXY => Google_Config::TASK_RETRY_ALWAYS + )) + ); + + $this->setTaskConfig(array('retries' => 5)); + $result = $this->setNextResponsesThrow(2, '', CURLE_COULDNT_RESOLVE_PROXY) + ->setNextResponse(200, '{"success": true}') + ->makeRequest(); + + $this->assertEquals(array("success" => true), $result); + } + + /** + * @requires extension curl + * @expectedException Google_IO_Exception + * @dataProvider customLimitsProvider + */ + public function testCustomCurlRetryMapWithCustomLimits($limit) + { + $this->client->setClassConfig( + 'Google_IO_Exception', + array('retry_map' => array( + CURLE_COULDNT_RESOLVE_PROXY => $limit + )) + ); + + $this->setTaskConfig(array('retries' => 5)); + $this->setNextResponsesThrow($limit + 1, '', CURLE_COULDNT_RESOLVE_PROXY) + ->makeRequest(); + } + + /** + * @requires extension curl + * @dataProvider timeoutProvider + */ + public function testCurlTimeouts($config, $minTime) + { + $this->setTaskConfig($config); + $this->setNextResponsesThrow($config['retries'], '', CURLE_GOT_NOTHING) + ->setNextResponse(200, '{"success": true}'); + + $this->assertTaskTimeGreaterThanOrEqual( + $minTime, + array($this, 'makeRequest'), + $config['initial_delay'] / 10 + ); + } + + /** + * @dataProvider badTaskConfigProvider + */ + public function testBadTaskConfig($config, $message) + { + $this->setExpectedException('Google_Task_Exception', $message); + $this->setTaskConfig($config); + + new Google_Task_Runner( + $this->client, + '', + array($this, 'testBadTaskConfig') + ); + } + + /** + * @expectedException Google_Task_Exception + * @expectedExceptionMessage must be a valid callable + */ + public function testBadTaskCallback() + { + new Google_Task_Runner($this->client, '', 5); + } + + /** + * @expectedException Google_IO_Exception + */ + public function testTaskRetryOffByDefault() + { + $this->setNextTaskAllowedRetries(Google_Config::TASK_RETRY_ALWAYS) + ->runTask(); + } + + /** + * @expectedException Google_IO_Exception + */ + public function testOneTaskRetryWithError() + { + $this->setTaskConfig(array('retries' => 1)); + $this->setNextTasksAllowedRetries(2, Google_Config::TASK_RETRY_ALWAYS) + ->runTask(); + } + + /** + * @expectedException Google_IO_Exception + */ + public function testMultipleTaskRetriesWithErrors() + { + $this->setTaskConfig(array('retries' => 5)); + $this->setNextTasksAllowedRetries(6, Google_Config::TASK_RETRY_ALWAYS) + ->runTask(); + } + + public function testOneTaskRetryWithSuccess() + { + $this->setTaskConfig(array('retries' => 1)); + $result = $this->setNextTaskAllowedRetries(Google_Config::TASK_RETRY_ALWAYS) + ->setNextTaskReturnValue('success') + ->runTask(); + + $this->assertEquals('success', $result); + } + + public function testMultipleTaskRetriesWithSuccess() + { + $this->setTaskConfig(array('retries' => 5)); + $result = $this->setNextTasksAllowedRetries(2, Google_Config::TASK_RETRY_ALWAYS) + ->setNextTaskReturnValue('success') + ->runTask(); + + $this->assertEquals('success', $result); + } + + /** + * @expectedException Google_IO_Exception + * @dataProvider customLimitsProvider + */ + public function testTaskRetryWithCustomLimits($limit) + { + $this->setTaskConfig(array('retries' => 5)); + $this->setNextTasksAllowedRetries($limit + 1, $limit) + ->runTask(); + } + + /** + * @dataProvider timeoutProvider + */ + public function testTaskTimeouts($config, $minTime) + { + $this->setTaskConfig($config); + $this->setNextTasksAllowedRetries($config['retries'], $config['retries'] + 1) + ->setNextTaskReturnValue('success'); + + $this->assertTaskTimeGreaterThanOrEqual( + $minTime, + array($this, 'runTask'), + $config['initial_delay'] / 10 + ); + } + + public function testTaskWithManualRetries() + { + $this->setTaskConfig(array('retries' => 2)); + $this->setNextTasksAllowedRetries(2, Google_Config::TASK_RETRY_ALWAYS); + + $task = new Google_Task_Runner( + $this->client, + '', + array($this, 'runNextTask') + ); + + $this->assertTrue($task->canAttmpt()); + $this->assertTrue($task->attempt()); + + $this->assertTrue($task->canAttmpt()); + $this->assertTrue($task->attempt()); + + $this->assertTrue($task->canAttmpt()); + $this->assertTrue($task->attempt()); + + $this->assertFalse($task->canAttmpt()); + $this->assertFalse($task->attempt()); + } + + /** + * Provider for backoff configurations and expected minimum runtimes. + * + * @return array + */ + public function timeoutProvider() + { + $config = array('initial_delay' => .001, 'max_delay' => .01); + + return array( + array(array_merge($config, array('retries' => 1)), .001), + array(array_merge($config, array('retries' => 2)), .0015), + array(array_merge($config, array('retries' => 3)), .00225), + array(array_merge($config, array('retries' => 4)), .00375), + array(array_merge($config, array('retries' => 5)), .005625) + ); + } + + /** + * Provider for custom retry limits. + * + * @return array + */ + public function customLimitsProvider() + { + return array( + array(Google_Config::TASK_RETRY_NEVER), + array(Google_Config::TASK_RETRY_ONCE), + ); + } + + /** + * Provider for invalid task configurations. + * + * @return array + */ + public function badTaskConfigProvider() + { + return array( + array(array('initial_delay' => -1), 'must not be negative'), + array(array('max_delay' => 0), 'must be greater than 0'), + array(array('factor' => 0), 'must be greater than 0'), + array(array('jitter' => 0), 'must be greater than 0'), + array(array('retries' => -1), 'must not be negative') + ); + } + + /** + * Provider for the default REST errors. + * + * @return array + */ + public function defaultRestErrorProvider() + { + return array( + array(500), + array(503), + array(403, '{"error":{"errors":[{"reason":"rateLimitExceeded"}]}}'), + array(403, '{"error":{"errors":[{"reason":"userRateLimitExceeded"}]}}'), + ); + } + + /** + * Provider for the default cURL errors. + * + * @return array + */ + public function defaultCurlErrorProvider() + { + return array( + array(6), // CURLE_COULDNT_RESOLVE_HOST + array(7), // CURLE_COULDNT_CONNECT + array(28), // CURLE_OPERATION_TIMEOUTED + array(35), // CURLE_SSL_CONNECT_ERROR + array(52), // CURLE_GOT_NOTHING + ); + } + + /** + * Assert the minimum amount of time required to run a task. + * + * NOTE: Intentionally crude for brevity. + * + * @param float $expected The expected minimum execution time + * @param callable $callback The task to time + * @param float $delta Allowable relative error + * + * @throws PHPUnit_Framework_ExpectationFailedException + */ + public static function assertTaskTimeGreaterThanOrEqual( + $expected, + $callback, + $delta = 0.0 + ) { + $time = microtime(true); + + call_user_func($callback); + + self::assertThat( + microtime(true) - $time, + self::logicalOr( + self::greaterThan($expected), + self::equalTo($expected, $delta) + ) + ); + } + + /** + * Sets the task runner configurations. + * + * @param array $config The task runner configurations + */ + private function setTaskConfig(array $config) + { + $config += array( + 'initial_delay' => .0001, + 'max_delay' => .001, + 'factor' => 2, + 'jitter' => .5, + 'retries' => 1 + ); + $this->client->setClassConfig('Google_Task_Runner', $config); + } + + /** + * Sets the next responses. + * + * @param integer $count The number of responses + * @param string $code The response code + * @param string $body The response body + * @param array $headers The response headers + * + * @return TaskTest + */ + private function setNextResponses( + $count, + $code = '200', + $body = '{}', + array $headers = array() + ) { + while ($count-- > 0) { + $this->setNextResponse($code, $body, $headers); + } + + return $this; + } + + /** + * Sets the next response. + * + * @param string $code The response code + * @param string $body The response body + * @param array $headers The response headers + * + * @return TaskTest + */ + private function setNextResponse( + $code = '200', + $body = '{}', + array $headers = array() + ) { + $this->mockedCalls[$this->mockedCallsCount++] = array( + 'code' => (string) $code, + 'headers' => $headers, + 'body' => is_string($body) ? $body : json_encode($body) + ); + + return $this; + } + + /** + * Forces the next responses to throw an IO exception. + * + * @param integer $count The number of responses + * @param string $message The exception messages + * @param string $code The exception code + * + * @return TaskTest + */ + private function setNextResponsesThrow($count, $message, $code) + { + while ($count-- > 0) { + $this->setNextResponseThrows($message, $code); + } + + return $this; + } + + /** + * Forces the next response to throw an IO exception. + * + * @param string $message The exception messages + * @param string $code The exception code + * + * @return TaskTest + */ + private function setNextResponseThrows($message, $code) + { + $map = $this->client->getClassConfig('Google_IO_Exception', 'retry_map'); + $this->mockedCalls[$this->mockedCallsCount++] = new Google_IO_Exception( + $message, + $code, + null, + $map + ); + + return $this; + } + + /** + * Runs the defined request. + * + * @return array + */ + private function makeRequest() + { + $request = new Google_Http_Request('/test'); + + $io = $this->getMockBuilder('Google_IO_Abstract') + ->disableOriginalConstructor() + ->setMethods(array('makeRequest')) + ->getMockForAbstractClass(); + + $io->expects($this->exactly($this->mockedCallsCount)) + ->method('makeRequest') + ->will($this->returnCallback(array($this, 'getNextMockedCall'))); + + $this->client->setIo($io); + + return Google_Http_REST::execute($this->client, $request); + } + + /** + * Gets the next mocked response. + * + * @param Google_Http_Request $request The mocked request + * + * @return Google_Http_Request + */ + public function getNextMockedCall($request) + { + $current = $this->mockedCalls[$this->currentMockedCall++]; + + if ($current instanceof Exception) { + throw $current; + } + + $request->setResponseHttpCode($current['code']); + $request->setResponseHeaders($current['headers']); + $request->setResponseBody($current['body']); + + return $request; + } + + /** + * Sets the next task return value. + * + * @param mixed $value The next return value + * + * @return TaskTest + */ + private function setNextTaskReturnValue($value) + { + $this->mockedCalls[$this->mockedCallsCount++] = $value; + return $this; + } + + /** + * Sets the next exception `allowedRetries()` return value. + * + * @param boolean $allowedRetries The next `allowedRetries()` return value. + * + * @return TaskTest + */ + private function setNextTaskAllowedRetries($allowedRetries) + { + $this->mockedCalls[$this->mockedCallsCount++] = $allowedRetries; + return $this; + } + + /** + * Sets multiple exception `allowedRetries()` return value. + * + * @param integer $count The number of `allowedRetries()` return values. + * @param boolean $allowedRetries The `allowedRetries()` return value. + * + * @return TaskTest + */ + private function setNextTasksAllowedRetries($count, $allowedRetries) + { + while ($count-- > 0) { + $this->setNextTaskAllowedRetries($allowedRetries); + } + + return $this; + } + + /** + * Runs the defined task. + * + * @return mixed + */ + private function runTask() + { + $task = new Google_Task_Runner( + $this->client, + '', + array($this, 'runNextTask') + ); + + $exception = $this->getMockBuilder('Google_IO_Exception') + ->disableOriginalConstructor() + ->setMethods(array('allowedRetries')) + ->getMock(); + $exceptionCount = 0; + $exceptionCalls = array(); + + for ($i = 0; $i < $this->mockedCallsCount; $i++) { + if (is_int($this->mockedCalls[$i])) { + $exceptionCalls[$exceptionCount++] = $this->mockedCalls[$i]; + $this->mockedCalls[$i] = $exception; + } + } + + $exception->expects($this->exactly($exceptionCount)) + ->method('allowedRetries') + ->will( + new PHPUnit_Framework_MockObject_Stub_ConsecutiveCalls( + $exceptionCalls + ) + ); + + return $task->run(); + } + + /** + * Gets the next task return value. + * + * @return mixed + */ + public function runNextTask() + { + $current = $this->mockedCalls[$this->currentMockedCall++]; + + if ($current instanceof Exception) { + throw $current; + } + + return $current; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/URITemplateTest.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/URITemplateTest.php new file mode 100644 index 0000000..a525f12 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/URITemplateTest.php @@ -0,0 +1,296 @@ +assertEquals( + "value", + $urit->parse("{var}", array("var" => $var)) + ); + $this->assertEquals( + "Hello%20World%21", + $urit->parse("{hello}", array("hello" => $hello)) + ); + } + + public function testLevelTwo() + { + $var = "value"; + $hello = "Hello World!"; + $path = "/foo/bar"; + + $urit = new Google_Utils_URITemplate(); + $this->assertEquals( + "value", + $urit->parse("{+var}", array("var" => $var)) + ); + $this->assertEquals( + "Hello%20World!", + $urit->parse("{+hello}", array("hello" => $hello)) + ); + $this->assertEquals( + "/foo/bar/here", + $urit->parse("{+path}/here", array("path" => $path)) + ); + $this->assertEquals( + "here?ref=/foo/bar", + $urit->parse("here?ref={+path}", array("path" => $path)) + ); + $this->assertEquals( + "X#value", + $urit->parse("X{#var}", array("var" => $var)) + ); + $this->assertEquals( + "X#Hello%20World!", + $urit->parse("X{#hello}", array("hello" => $hello)) + ); + } + + public function testLevelThree() + { + $var = "value"; + $hello = "Hello World!"; + $empty = ''; + $path = "/foo/bar"; + $x = "1024"; + $y = "768"; + + $urit = new Google_Utils_URITemplate(); + $this->assertEquals( + "map?1024,768", + $urit->parse("map?{x,y}", array("x" => $x, "y" => $y)) + ); + $this->assertEquals( + "1024,Hello%20World%21,768", + $urit->parse("{x,hello,y}", array("x" => $x, "y" => $y, "hello" => $hello)) + ); + + $this->assertEquals( + "1024,Hello%20World!,768", + $urit->parse("{+x,hello,y}", array("x" => $x, "y" => $y, "hello" => $hello)) + ); + $this->assertEquals( + "/foo/bar,1024/here", + $urit->parse("{+path,x}/here", array("x" => $x, "path" => $path)) + ); + + $this->assertEquals( + "#1024,Hello%20World!,768", + $urit->parse("{#x,hello,y}", array("x" => $x, "y" => $y, "hello" => $hello)) + ); + $this->assertEquals( + "#/foo/bar,1024/here", + $urit->parse("{#path,x}/here", array("x" => $x, "path" => $path)) + ); + + $this->assertEquals( + "X.value", + $urit->parse("X{.var}", array("var" => $var)) + ); + $this->assertEquals( + "X.1024.768", + $urit->parse("X{.x,y}", array("x" => $x, "y" => $y)) + ); + + $this->assertEquals( + "X.value", + $urit->parse("X{.var}", array("var" => $var)) + ); + $this->assertEquals( + "X.1024.768", + $urit->parse("X{.x,y}", array("x" => $x, "y" => $y)) + ); + + $this->assertEquals( + "/value", + $urit->parse("{/var}", array("var" => $var)) + ); + $this->assertEquals( + "/value/1024/here", + $urit->parse("{/var,x}/here", array("x" => $x, "var" => $var)) + ); + + $this->assertEquals( + ";x=1024;y=768", + $urit->parse("{;x,y}", array("x" => $x, "y" => $y)) + ); + $this->assertEquals( + ";x=1024;y=768;empty", + $urit->parse("{;x,y,empty}", array("x" => $x, "y" => $y, "empty" => $empty)) + ); + + $this->assertEquals( + "?x=1024&y=768", + $urit->parse("{?x,y}", array("x" => $x, "y" => $y)) + ); + $this->assertEquals( + "?x=1024&y=768&empty=", + $urit->parse("{?x,y,empty}", array("x" => $x, "y" => $y, "empty" => $empty)) + ); + + $this->assertEquals( + "?fixed=yes&x=1024", + $urit->parse("?fixed=yes{&x}", array("x" => $x, "y" => $y)) + ); + $this->assertEquals( + "&x=1024&y=768&empty=", + $urit->parse("{&x,y,empty}", array("x" => $x, "y" => $y, "empty" => $empty)) + ); + } + + public function testLevelFour() + { + $values = array( + 'var' => "value", + 'hello' => "Hello World!", + 'path' => "/foo/bar", + 'list' => array("red", "green", "blue"), + 'keys' => array("semi" => ";", "dot" => ".", "comma" => ","), + ); + + $tests = array( + "{var:3}" => "val", + "{var:30}" => "value", + "{list}" => "red,green,blue", + "{list*}" => "red,green,blue", + "{keys}" => "semi,%3B,dot,.,comma,%2C", + "{keys*}" => "semi=%3B,dot=.,comma=%2C", + "{+path:6}/here" => "/foo/b/here", + "{+list}" => "red,green,blue", + "{+list*}" => "red,green,blue", + "{+keys}" => "semi,;,dot,.,comma,,", + "{+keys*}" => "semi=;,dot=.,comma=,", + "{#path:6}/here" => "#/foo/b/here", + "{#list}" => "#red,green,blue", + "{#list*}" => "#red,green,blue", + "{#keys}" => "#semi,;,dot,.,comma,,", + "{#keys*}" => "#semi=;,dot=.,comma=,", + "X{.var:3}" => "X.val", + "X{.list}" => "X.red,green,blue", + "X{.list*}" => "X.red.green.blue", + "X{.keys}" => "X.semi,%3B,dot,.,comma,%2C", + "X{.keys*}" => "X.semi=%3B.dot=..comma=%2C", + "{/var:1,var}" => "/v/value", + "{/list}" => "/red,green,blue", + "{/list*}" => "/red/green/blue", + "{/list*,path:4}" => "/red/green/blue/%2Ffoo", + "{/keys}" => "/semi,%3B,dot,.,comma,%2C", + "{/keys*}" => "/semi=%3B/dot=./comma=%2C", + "{;hello:5}" => ";hello=Hello", + "{;list}" => ";list=red,green,blue", + "{;list*}" => ";list=red;list=green;list=blue", + "{;keys}" => ";keys=semi,%3B,dot,.,comma,%2C", + "{;keys*}" => ";semi=%3B;dot=.;comma=%2C", + "{?var:3}" => "?var=val", + "{?list}" => "?list=red,green,blue", + "{?list*}" => "?list=red&list=green&list=blue", + "{?keys}" => "?keys=semi,%3B,dot,.,comma,%2C", + "{?keys*}" => "?semi=%3B&dot=.&comma=%2C", + "{&var:3}" => "&var=val", + "{&list}" => "&list=red,green,blue", + "{&list*}" => "&list=red&list=green&list=blue", + "{&keys}" => "&keys=semi,%3B,dot,.,comma,%2C", + "{&keys*}" => "&semi=%3B&dot=.&comma=%2C", + "find{?list*}" => "find?list=red&list=green&list=blue", + "www{.list*}" => "www.red.green.blue" + + ); + + $urit = new Google_Utils_URITemplate(); + + foreach ($tests as $input => $output) { + $this->assertEquals($output, $urit->parse($input, $values), $input . " failed"); + } + } + + public function testMultipleAnnotations() + { + $var = "value"; + $hello = "Hello World!"; + $urit = new Google_Utils_URITemplate(); + $this->assertEquals( + "http://www.google.com/Hello%20World!?var=value", + $urit->parse( + "http://www.google.com/{+hello}{?var}", + array("var" => $var, "hello" => $hello) + ) + ); + $params = array( + "playerId" => "me", + "leaderboardId" => "CgkIhcG1jYEbEAIQAw", + "timeSpan" => "ALL_TIME", + "other" => "irrelevant" + ); + $this->assertEquals( + "players/me/leaderboards/CgkIhcG1jYEbEAIQAw/scores/ALL_TIME", + $urit->parse( + "players/{playerId}/leaderboards/{leaderboardId}/scores/{timeSpan}", + $params + ) + ); + } + + /** + * This test test against the JSON files defined in + * https://github.com/uri-templates/uritemplate-test + * + * We don't ship these tests with it, so they'll just silently + * skip unless provided - this is mainly for use when + * making specific URI template changes and wanting + * to do a full regression check. + */ + public function testAgainstStandardTests() + { + $location = "../../uritemplate-test/*.json"; + + $urit = new Google_Utils_URITemplate(); + foreach (glob($location) as $file) { + $test = json_decode(file_get_contents($file), true); + foreach ($test as $title => $testsets) { + foreach ($testsets['testcases'] as $cases) { + $input = $cases[0]; + $output = $cases[1]; + if ($output == false) { + continue; // skipping negative tests for now + } else if (is_array($output)) { + $response = $urit->parse($input, $testsets['variables']); + $this->assertContains( + $response, + $output, + $input . " failed from " . $title + ); + } else { + $this->assertEquals( + $output, + $urit->parse($input, $testsets['variables']), + $input . " failed." + ); + } + } + } + } + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/testdata/cacert.json b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/testdata/cacert.json new file mode 100644 index 0000000..3de7c44 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/testdata/cacert.json @@ -0,0 +1 @@ +{"a": "-----BEGIN CERTIFICATE-----\nMIICrDCCAlagAwIBAgIJAIhhwVyFHrVfMA0GCSqGSIb3DQEBBQUAMG8xCzAJBgNV\nBAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBX\naWRnaXRzIFB0eSBMdGQxCjAIBgNVBAsTAWExCjAIBgNVBAMTAWIxEDAOBgkqhkiG\n9w0BCQEWAWMwHhcNMTIwMjE5MDExMzQxWhcNMTUwMjE4MDExMzQxWjBvMQswCQYD\nVQQGEwJBVTETMBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50ZXJuZXQg\nV2lkZ2l0cyBQdHkgTHRkMQowCAYDVQQLEwFhMQowCAYDVQQDEwFiMRAwDgYJKoZI\nhvcNAQkBFgFjMFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAM4Aozh3TMZYcPx7MHln\nD8MtyVUjzo6OdT32JwRHzHHNMMm88lNVfLYIT9C/jgXlDqG0h5wSClMvTQbdihNd\nFOkCAwEAAaOB1DCB0TAdBgNVHQ4EFgQUv0Ahb7HD9TLfdtLeaatjFj91NqYwgaEG\nA1UdIwSBmTCBloAUv0Ahb7HD9TLfdtLeaatjFj91Nqahc6RxMG8xCzAJBgNVBAYT\nAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBXaWRn\naXRzIFB0eSBMdGQxCjAIBgNVBAsTAWExCjAIBgNVBAMTAWIxEDAOBgkqhkiG9w0B\nCQEWAWOCCQCIYcFchR61XzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA0EA\nKAbxbWHsaVPnYc0YqG/Pn4HbcI1+xnVQSt3hdzq+yC0lP9H7hBMCVSykhhBkZ5XQ\nHA2t6LHuYsjcCO+LBX/4fA==\n-----END CERTIFICATE-----"} \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/testdata/cacert.pem b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/testdata/cacert.pem new file mode 100644 index 0000000..c95977b --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/testdata/cacert.pem @@ -0,0 +1,17 @@ +-----BEGIN CERTIFICATE----- +MIICrDCCAlagAwIBAgIJAIhhwVyFHrVfMA0GCSqGSIb3DQEBBQUAMG8xCzAJBgNV +BAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBX +aWRnaXRzIFB0eSBMdGQxCjAIBgNVBAsTAWExCjAIBgNVBAMTAWIxEDAOBgkqhkiG +9w0BCQEWAWMwHhcNMTIwMjE5MDExMzQxWhcNMTUwMjE4MDExMzQxWjBvMQswCQYD +VQQGEwJBVTETMBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50ZXJuZXQg +V2lkZ2l0cyBQdHkgTHRkMQowCAYDVQQLEwFhMQowCAYDVQQDEwFiMRAwDgYJKoZI +hvcNAQkBFgFjMFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAM4Aozh3TMZYcPx7MHln +D8MtyVUjzo6OdT32JwRHzHHNMMm88lNVfLYIT9C/jgXlDqG0h5wSClMvTQbdihNd +FOkCAwEAAaOB1DCB0TAdBgNVHQ4EFgQUv0Ahb7HD9TLfdtLeaatjFj91NqYwgaEG +A1UdIwSBmTCBloAUv0Ahb7HD9TLfdtLeaatjFj91Nqahc6RxMG8xCzAJBgNVBAYT +AkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBXaWRn +aXRzIFB0eSBMdGQxCjAIBgNVBAsTAWExCjAIBgNVBAMTAWIxEDAOBgkqhkiG9w0B +CQEWAWOCCQCIYcFchR61XzAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA0EA +KAbxbWHsaVPnYc0YqG/Pn4HbcI1+xnVQSt3hdzq+yC0lP9H7hBMCVSykhhBkZ5XQ +HA2t6LHuYsjcCO+LBX/4fA== +-----END CERTIFICATE----- \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/testdata/cert.p12 b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/testdata/cert.p12 new file mode 100644 index 0000000..acea8f6 Binary files /dev/null and b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/testdata/cert.p12 differ diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/testdata/privkey.pem b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/testdata/privkey.pem new file mode 100644 index 0000000..0a4d3a0 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/testdata/privkey.pem @@ -0,0 +1,9 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIBOwIBAAJBAM4Aozh3TMZYcPx7MHlnD8MtyVUjzo6OdT32JwRHzHHNMMm88lNV +fLYIT9C/jgXlDqG0h5wSClMvTQbdihNdFOkCAwEAAQJBAJuMo7KpcpF6iqY7Jtkk +1yQb2KCvTvMZ4rGMwt1akaeDW2noyqCeO675gFBtlizgcRsybealQVQgGX4E5VqF +UJkCIQDzJZZi2jloDXcyyy2rEa4mj4RnrnIYsDMJ55XMWJ9c9wIhANjkY97FSRX3 +WSdRFqXd3Pc4URUho+rCcPibafMOwAUfAiAa58ngXm2DyhmqkTkYePhgY/kuz+ro +OHctXWcCGbxouQIgLC5qAakieC0Ipi+oc2U8a8e3DJzrrRiqtpnB/VcV2nUCIQC2 +DXrpyt6jjVIzs4jI5Cl3QGLL6TZ8FqpyonU/1ARuhA== +-----END RSA PRIVATE KEY----- \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/testdata/service-12345.json b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/testdata/service-12345.json new file mode 100644 index 0000000..4160d93 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/testdata/service-12345.json @@ -0,0 +1,7 @@ +{ + "private_key_id": "1936f241be592afc6f3a6d309f75cbf5229d3e75", + "private_key": "-----BEGIN PRIVATE KEY-----\nMIICdQIBADANBgkqhkiG9w0BAQEFAASCAl8wggJbAgEAAoGBALatQBvyVfVxdKFT\n3jMHUk0hSEs9Z3WaEw1q+597Fo+f2j5xOIzzzHKX4twWtSYWpSNTaVsFBX7cYpKu\nxYD8oiFnb/Djmud36h4yZsinmoTAi8tn7ldHMi3VICt05IKNRYPU14AQ/FANBvzZ\nxPUxVmf2Q8qZ1/HhXRGE0GLhJGMtAgMBAAECgYAB1BogLXzOyCPyuXQv7pLUUtD2\nb9bpRnGKYNfD8Od46JC2r0txnb8eJocOzOtjRjbA88TKNHKpomsaLMWtVNoKlzMX\n4DdWk0we4knIa2ZNc3rHYQIHVTESYUa3fH/I/t2XBmbiwyYdegfXl7OmxHb9kekk\nQ1HBKq2SA2LRHWydwQJBAPIdT6s1KvUVsdW7JVu3MxMSlSc2dyQV9ay44wuxYaVV\nfvV7BM/J+/oHSh4GU2Os+kqRHOuouHm2TQ3gsQlBsqcCQQDBJ0iDoYZozVQB36eE\nlPAzoK6H+U21rx5EErFNYu97OKWn+z8kwbGtBU8CSJhkY/OQGmpg6MpoJO/Md03Y\nxVoLAkAFeZg1nOwtwqHU3XiIzGnBQqhQzLCBBmYZ08x+lTJKFNbcIj4HnN+v1b5d\nU3NLS7wVN5bZ1WTmi7LOX4hhVzT9AkBBbQQECleT8lENXWvJ3gVLB5d22Xx4GTxA\nRLCoDOYfr/103Ab0dWOwvsaXeG2eO7kJy9jSwKenBTPw50yIK7knAkBC2J/z6X7l\nB/dDRTxdd0gCG7JIy9N3cUgHBmDH2eycmPncWGJ+aZrK1p9NmAytP+Ksi4AGMJX5\nH5cT1I/UOEn1\n-----END PRIVATE KEY-----\n", + "client_email": "12345-is5nq94smihmoa2k0567jab6u6vj278c@developer.gserviceaccount.com", + "client_id": "12345-is5nq94smihmoa2k0567jab6u6vj278c.apps.googleusercontent.com", + "type": "service_account" +} \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/testdata/service-rsa-12345.json b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/testdata/service-rsa-12345.json new file mode 100644 index 0000000..a6a2df0 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/testdata/service-rsa-12345.json @@ -0,0 +1,7 @@ +{ + "private_key_id": "1936f241be592afc6f3a6d309f75cbf5229d3e75", + "private_key": "-----BEGIN RSA PRIVATE KEY-----MIIBOwIBAAJBAM4Aozh3TMZYcPx7MHlnD8MtyVUjzo6OdT32JwRHzHHNMMm88lNVfLYIT9C/jgXlDqG0h5wSClMvTQbdihNdFOkCAwEAAQJBAJuMo7KpcpF6iqY7Jtkk1yQb2KCvTvMZ4rGMwt1akaeDW2noyqCeO675gFBtlizgcRsybealQVQgGX4E5VqFUJkCIQDzJZZi2jloDXcyyy2rEa4mj4RnrnIYsDMJ55XMWJ9c9wIhANjkY97FSRX3WSdRFqXd3Pc4URUho+rCcPibafMOwAUfAiAa58ngXm2DyhmqkTkYePhgY/kuz+roOHctXWcCGbxouQIgLC5qAakieC0Ipi+oc2U8a8e3DJzrrRiqtpnB/VcV2nUCIQC2DXrpyt6jjVIzs4jI5Cl3QGLL6TZ8FqpyonU/1ARuhA==-----END RSA PRIVATE KEY-----", + "client_email": "12345-is5nq94smihmoa2k0567jab6u6vj278c@developer.gserviceaccount.com", + "client_id": "12345-is5nq94smihmoa2k0567jab6u6vj278c.apps.googleusercontent.com", + "type": "service_account" +} \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/testdata/test.ini b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/testdata/test.ini new file mode 100644 index 0000000..1f55277 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/testdata/test.ini @@ -0,0 +1,7 @@ +; Test.ini file +application_name = My Test application +auth_class = Google_Auth_OAuth2 +[classes] +Google_Auth_OAuth2[client_id] = 12345.apps.googleusercontent.com +Google_Auth_OAuth2[client_secret] = gjfiwnGinpena3 +Google_Auth_OAuth2[redirect_uri] = http://example.com \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/testdata/test_public_key.pem b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/testdata/test_public_key.pem new file mode 100644 index 0000000..ebca23e --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/general/testdata/test_public_key.pem @@ -0,0 +1,20 @@ +-----BEGIN CERTIFICATE----- +MIIDQjCCAiqgAwIBAgIJAMJ1Z12ZdGgLMA0GCSqGSIb3DQEBBQUAMB8xHTAbBgNV +BAMTFHRlc3Qtc2VydmljZS1hY2NvdW50MB4XDTExMDgyMzIwNTczNFoXDTIxMDgy +MDIwNTczNFowHzEdMBsGA1UEAxMUdGVzdC1zZXJ2aWNlLWFjY291bnQwggEiMA0G +CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDpbFTjUXd02HFluI2G0kGKp1J5K2F8 +cYr7hKXHcsmKo6S/5g8AEYnnV1fEbiopoGt7UWV4T0LA99K0gqQ7QmvZKvFHXlgR +XJH1aO+ZipVs3ycZOcjBMcw4hspFSi4IyQta64gASFUT5NaxRVGhzAuPlzH09dZQ +RJ0NL54HccGNzEDaLx5usB8t2aRHbE4zRWJlNIsjgWnfVoiXwOv5oRhyfFMIaTu1 +eIp3XP1QAv5cuYS2U4ZJ+J7Gzg6E7t4PWqK7rGjnc5BJsVIoiL77K/xKUWABNgHz +b6JuiEp3LX9f2H5+CKo/IJFWoyIYWdZiu69LZivife9sTXmDnOcZkisRAgMBAAGj +gYAwfjAdBgNVHQ4EFgQU0RkXlevVO2zuTFP/ksFUbNkpm+kwTwYDVR0jBEgwRoAU +0RkXlevVO2zuTFP/ksFUbNkpm+mhI6QhMB8xHTAbBgNVBAMTFHRlc3Qtc2Vydmlj +ZS1hY2NvdW50ggkAwnVnXZl0aAswDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUF +AAOCAQEAT+3VKautn+uV7ZQWbfx6xrGaDZ5wVK9FWOTVKsjdXyp11jtoVkDONLz5 +3J7wgppZWabPargIZUHe9/P6j7QTgNV2na2thGHtVRIRyDECnVrvhCn/IDpMeJjj +IAuysmSITHGEwb4AvRC5HdqfWzBqAvRhjJ2crcHZpx5/KkYZgJz9ylGJCynxpbHU +1aRu4qpkQNB4t4z5EzNOSLkFw9vEtm0hNX76CsNJFd0XDEKDQI2Lsc0WfDzQ1ZQH +UVzIoTmQDkYGylQOBVyxZoGI6fuSo8c2I1BKvsdBGhSPjePNvaKUbmLSwUsranhX +2Y1kn7xbDTUHymZ0+g5rDM9kWmhZfg== +-----END CERTIFICATE----- diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/pagespeed/PageSpeedTest.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/pagespeed/PageSpeedTest.php new file mode 100644 index 0000000..c912d64 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/pagespeed/PageSpeedTest.php @@ -0,0 +1,40 @@ +service = new Google_Service_Pagespeedonline($this->getClient()); + } + + public function testPageSpeed() + { + $this->checkToken(); + $psapi = $this->service->pagespeedapi; + $result = $psapi->runpagespeed('http://code.google.com'); + $this->assertArrayHasKey('kind', $result); + $this->assertArrayHasKey('id', $result); + $this->assertArrayHasKey('responseCode', $result); + $this->assertArrayHasKey('title', $result); + $this->assertArrayHasKey('score', $result->ruleGroups['SPEED']); + $this->assertInstanceOf('Google_Service_Pagespeedonline_ResultPageStats', $result->pageStats); + $this->assertArrayHasKey('minor', $result['version']); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/plus/PlusTest.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/plus/PlusTest.php new file mode 100644 index 0000000..98f042e --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/plus/PlusTest.php @@ -0,0 +1,71 @@ +plus = new Google_Service_Plus($this->getClient()); + } + + public function testGetPerson() + { + $this->checkToken(); + $person = $this->plus->people->get("118051310819094153327"); + $this->assertArrayHasKey('kind', $person); + $this->assertArrayHasKey('displayName', $person); + $this->assertArrayHasKey('gender', $person); + $this->assertArrayHasKey('id', $person); + } + + public function testListActivities() + { + $this->checkToken(); + $activities = $this->plus->activities + ->listActivities("118051310819094153327", "public"); + + $this->assertArrayHasKey('kind', $activities); + $this->assertGreaterThan(0, count($activities)); + + // Test a variety of access methods. + $this->assertItem($activities['items'][0]); + $this->assertItem($activities[0]); + foreach ($activities as $item) { + $this->assertItem($item); + break; + } + + // Test deeper type transformations + $this->assertGreaterThan(0, strlen($activities[0]->actor->displayName)); + } + + public function assertItem($item) + { + // assertArrayHasKey uses array_key_exists, which is not great: + // it doesn't understand SPL ArrayAccess + $this->assertTrue(isset($item['actor'])); + $this->assertInstanceOf('Google_Service_Plus_ActivityActor', $item->actor); + $this->assertTrue(isset($item['actor']['displayName'])); + $this->assertTrue(isset($item['actor']->url)); + $this->assertTrue(isset($item['object'])); + $this->assertTrue(isset($item['access'])); + $this->assertTrue(isset($item['provider'])); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/tasks/TasksTest.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/tasks/TasksTest.php new file mode 100644 index 0000000..a0ba58e --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/tasks/TasksTest.php @@ -0,0 +1,93 @@ +taskService = new Google_Service_Tasks($this->getClient()); + } + + public function testInsertTask() + { + if (!$this->checkToken()) { + return; + } + $list = $this->createTaskList('List: ' . __METHOD__); + $task = $this->createTask('Task: '.__METHOD__, $list->id); + $this->assertIsTask($task); + } + + /** + * @depends testInsertTask + */ + public function testGetTask() + { + $tasks = $this->taskService->tasks; + $list = $this->createTaskList('List: ' . __METHOD__); + $task = $this->createTask('Task: '. __METHOD__, $list['id']); + + $task = $tasks->get($list['id'], $task['id']); + $this->assertIsTask($task); + } + + /** + * @depends testInsertTask + */ + public function testListTask() + { + $tasks = $this->taskService->tasks; + $list = $this->createTaskList('List: ' . __METHOD__); + + for ($i=0; $i<4; $i++) { + $this->createTask("Task: $i ".__METHOD__, $list['id']); + } + + $tasksArray = $tasks->listTasks($list['id']); + $this->assertTrue(sizeof($tasksArray) > 1); + foreach ($tasksArray['items'] as $task) { + $this->assertIsTask($task); + } + } + + private function createTaskList($name) + { + $list = new Google_Service_Tasks_TaskList(); + $list->title = $name; + return $this->taskService->tasklists->insert($list); + } + + private function createTask($title, $listId) + { + $tasks = $this->taskService->tasks; + $task = new Google_Service_Tasks_Task(); + $task->title = $title; + return $tasks->insert($listId, $task); + } + + private function assertIsTask($task) + { + $this->assertArrayHasKey('title', $task); + $this->assertArrayHasKey('kind', $task); + $this->assertArrayHasKey('id', $task); + $this->assertArrayHasKey('position', $task); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/urlshortener/UrlShortenerTests.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/urlshortener/UrlShortenerTests.php new file mode 100644 index 0000000..08422bc --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/urlshortener/UrlShortenerTests.php @@ -0,0 +1,46 @@ +service = new Google_Service_Urlshortener($this->getClient()); + } + + public function testUrlShort() + { + $url = new Google_Service_Urlshortener_Url(); + $url->longUrl = "http://google.com"; + + $shortUrl = $this->service->url->insert($url); + $this->assertEquals('urlshortener#url', $shortUrl['kind']); + $this->assertEquals('http://google.com/', $shortUrl['longUrl']); + } + + public function testEmptyJsonResponse() + { + $optParams = array('fields' => ''); + $resp = $this->service->url->get('http://goo.gl/KkHq8', $optParams); + + $this->assertEquals("", $resp->longUrl); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/youtube/YouTubeTest.php b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/youtube/YouTubeTest.php new file mode 100644 index 0000000..252ef04 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/google/apiclient/tests/youtube/YouTubeTest.php @@ -0,0 +1,82 @@ +youtube = new Google_Service_YouTube($this->getClient()); + } + + public function testMissingFieldsAreNull() + { + if (!$this->checkToken()) { + return; + } + + $parts = "id,brandingSettings"; + $opts = array("mine" => true); + $channels = $this->youtube->channels->listChannels($parts, $opts); + + $newChannel = new Google_Service_YouTube_Channel(); + $newChannel->setId($channels[0]->getId()); + $newChannel->setBrandingSettings($channels[0]->getBrandingSettings()); + + $simpleOriginal = $channels[0]->toSimpleObject(); + $simpleNew = $newChannel->toSimpleObject(); + + $this->assertObjectHasAttribute('etag', $simpleOriginal); + $this->assertObjectNotHasAttribute('etag', $simpleNew); + + $owner_details = new Google_Service_YouTube_ChannelContentOwnerDetails(); + $owner_details->setTimeLinked("123456789"); + $o_channel = new Google_Service_YouTube_Channel(); + $o_channel->setContentOwnerDetails($owner_details); + $simpleManual = $o_channel->toSimpleObject(); + $this->assertObjectHasAttribute('timeLinked', $simpleManual->contentOwnerDetails); + $this->assertObjectNotHasAttribute('contentOwner', $simpleManual->contentOwnerDetails); + + $owner_details = new Google_Service_YouTube_ChannelContentOwnerDetails(); + $owner_details->timeLinked = "123456789"; + $o_channel = new Google_Service_YouTube_Channel(); + $o_channel->setContentOwnerDetails($owner_details); + $simpleManual = $o_channel->toSimpleObject(); + + $this->assertObjectHasAttribute('timeLinked', $simpleManual->contentOwnerDetails); + $this->assertObjectNotHasAttribute('contentOwner', $simpleManual->contentOwnerDetails); + + $owner_details = new Google_Service_YouTube_ChannelContentOwnerDetails(); + $owner_details['timeLinked'] = "123456789"; + $o_channel = new Google_Service_YouTube_Channel(); + $o_channel->setContentOwnerDetails($owner_details); + $simpleManual = $o_channel->toSimpleObject(); + + $this->assertObjectHasAttribute('timeLinked', $simpleManual->contentOwnerDetails); + $this->assertObjectNotHasAttribute('contentOwner', $simpleManual->contentOwnerDetails); + + $ping = new Google_Service_YouTube_ChannelConversionPing(); + $ping->setContext("hello"); + $pings = new Google_Service_YouTube_ChannelConversionPings(); + $pings->setPings(array($ping)); + $simplePings = $pings->toSimpleObject(); + $this->assertObjectHasAttribute('context', $simplePings->pings[0]); + $this->assertObjectNotHasAttribute('conversionUrl', $simplePings->pings[0]); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/mexitek/phpcolors/README.md b/wp-content/plugins/google-calendar-events/vendor/mexitek/phpcolors/README.md new file mode 100644 index 0000000..8a481f6 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/mexitek/phpcolors/README.md @@ -0,0 +1,162 @@ +### Last Build: [![Build Status](https://secure.travis-ci.org/mexitek/phpColors.png)](http://travis-ci.org/mexitek/phpColors) + +## Installation + +### Composer + +Simply add `mexitek/phpcolors` to `composer.json` using `dev-master`. + +`composer require mexitek/phpcolors dev-master` + +## How it works +Instantiate an object of the color class with a hex color string `$foo = new Color("336699")`. That's it! Now, call the methods you need for different color variants. + +## Available Methods +- darken( [$amount] ) : Allows you to obtain a darker shade of your color. Optionally you can decide to darken using a desired percentage. +- lighten( [$amount] ) : Allows you to obtain a lighter shade of your color. Optionally you can decide to lighten using a desired percentage. +- mix($hex, [$amount] ) : Allows you to mix another color to your color. Optionally you can decide to set the percent of second color or original color amount is ranged -100..0.100. +- isLight( [$hex] ) : Determins whether your color (or the provide param) is considered a "light" color. Returns `TRUE` if color is light. +- isDark( [$hex] ) : Determins whether your color (or the provide param) is considered a "dark" color. Returns `TRUE` if color is dark. +- makeGradient( [$amount] ) : Returns an array with 2 indices `light` and `dark`, the initial color will either be selected for `light` or `dark` depending on its brightness, then the other color will be generated. The optional param allows for a static lighten or darkened amount. +- complementary() : Returns the color "opposite" or complementary to your color. +- getHex() : Returns the original hex color. +- getHsl() : Returns HSL array for your color. +- getRgb() : Returns RGB array for your color. + +> Auto lightens/darkens by 10% for sexily-subtle gradients + +```php +/** + * Using The Class + */ + +use Mexitek\PHPColors\Color; + +// Initialize my color +$myBlue = new Color("#336699"); + +echo $myBlue->darken(); +// 1a334d + +echo $myBlue->lighten(); +// 8cb3d9 + +echo $myBlue->isLight(); +// false + +echo $myBlue->isDark(); +// true + +echo $myBlue->complementary(); +// 996633 + +echo $myBlue->getHex(); +// 336699 + +print_r( $myBlue->getHsl() ); +// array( "H"=> 210, "S"=> 0.5, "L"=>0.4 ); + +print_r( $myBlue->getRgb() ); +// array( "R"=> 51, "G"=> 102, "B"=>153 ); + +print_r($myBlue->makeGradient()); +// array( "light"=>"8cb3d9" ,"dark"=>"336699" ) + +``` + + +## Static Methods +- hslToHex( $hsl ) : Convert a HSL array to a HEX string. +- hexToHsl( $hex ) : Convert a HEX string into an HSL array. +- hexToRgb( $hex ) : Convert a HEX string into an RGB array. +- rgbToHex( $rgb ) : Convert an RGB array into a HEX string. + +```php +/** + * On The Fly Custom Calculations + */ + +use Mexitek\PHPColors\Color; + + // Convert my HEX + $myBlue = Color::hexToHsl("#336699"); + + // Get crazy with the HUE + $myBlue["H"] = 295; + + // Gimme my new color!! + echo Color::hslToHex($myBlue); + // 913399 + +``` + +## CSS Helpers +- getCssGradient( [$amount] [, $vintageBrowsers] ) : Generates the CSS3 gradients for safari, chrome, opera, firefox and IE10. Optional percentage amount for lighter/darker shade. Optional boolean for older gradient CSS support. + +> Would like to add support to custom gradient stops + +```php + +use Mexitek\PHPColors\Color; + +// Initialize my color +$myBlue = new Color("#336699"); + +// Get CSS +echo $myBlue->getCssGradient(); +/* - Actual output doesn't have comments and is single line + + // fallback background + background: #336699; + + // IE Browsers + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#8cb3d9', endColorstr='#336699'); + + // Safari 5.1+, Mobile Safari, Chrome 10+ + background-image: -webkit-linear-gradient(top, #8cb3d9, #336699); + + // Standards + background-image: linear-gradient(to bottom, #8cb3d9, #336699); + +*/ + +``` + +However, if you want to support the ancient browsers (which has negligible market share and almost died out), you can set the second parameter to `TRUE`. This will output: + +```php + +use Mexitek\PHPColors\Color; +$myBlue = new Color("#336699"); + +// Get CSS +echo $myBlue->getCssGradient(10, TRUE); +/* - Actual output doesn't have comments and is single line + + background: #336699; // fallback background + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#8cb3d9', endColorstr='#336699'); // IE Browsers + background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#8cb3d9), to(#336699)); // Safari 4+, Chrome 1-9 + background-image: -webkit-linear-gradient(top, #8cb3d9, #336699); // Safari 5.1+, Mobile Safari, Chrome 10+ + background-image: -moz-linear-gradient(top, #8cb3d9, #336699); // Firefox 3.6+ + background-image: -o-linear-gradient(top, #8cb3d9, #336699); // Opera 11.10+ + background-image: linear-gradient(to bottom, #8cb3d9, #336699); // Standards + +*/ + +``` + +## Github Contributors +- mexitek +- danielpataki +- alexmglover +- intuxicated +- pborreli +- curtisgibby +- matthewpatterson +- there4 +- alex-humphreys +- zaher +- primozcigler +- thedavidmeister + +# License: [arlo.mit-license.org](http://arlo.mit-license.org) diff --git a/wp-content/plugins/google-calendar-events/vendor/mexitek/phpcolors/composer.json b/wp-content/plugins/google-calendar-events/vendor/mexitek/phpcolors/composer.json new file mode 100644 index 0000000..b3d107e --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/mexitek/phpcolors/composer.json @@ -0,0 +1,16 @@ +{ + "name": "mexitek/phpcolors", + "description": "A series of methods that let you manipulate colors. Just incase you ever need different shades of one color on the fly.", + "keywords": ["color", "ui", "css", "frontend", "design"], + "homepage": "http://mexitek.github.com/phpColors/", + "license": "MIT", + "require": { + "php": ">=5.3.0" + }, + "authors" : [ + { "name": "Arlo Carreon", "homepage":"http://arlocarreon.com", "role" : "creator" } + ], + "autoload": { + "classmap": ["src"] + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/mexitek/phpcolors/demo/demo.php b/wp-content/plugins/google-calendar-events/vendor/mexitek/phpcolors/demo/demo.php new file mode 100644 index 0000000..5fc2c85 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/mexitek/phpcolors/demo/demo.php @@ -0,0 +1,77 @@ + + +
              +
              phpColor Gradient #getHex();?>
              +
              Plain #getHex();?>
              +
              +
              phpColor Gradient #getHex();?>
              +
              Plain #getHex();?>
              +
              +
              phpColor Gradient #getHex();?>
              +
              Plain #getHex();?>
              +
              +
              phpColor Gradient with vintage browsers support #getHex();?>
              diff --git a/wp-content/plugins/google-calendar-events/vendor/mexitek/phpcolors/demo/phpColor-demo.png b/wp-content/plugins/google-calendar-events/vendor/mexitek/phpcolors/demo/phpColor-demo.png new file mode 100644 index 0000000..b1fbdbc Binary files /dev/null and b/wp-content/plugins/google-calendar-events/vendor/mexitek/phpcolors/demo/phpColor-demo.png differ diff --git a/wp-content/plugins/google-calendar-events/vendor/mexitek/phpcolors/src/Mexitek/PHPColors/Color.php b/wp-content/plugins/google-calendar-events/vendor/mexitek/phpcolors/src/Mexitek/PHPColors/Color.php new file mode 100644 index 0000000..9fddf84 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/mexitek/phpcolors/src/Mexitek/PHPColors/Color.php @@ -0,0 +1,493 @@ + + * Info: http://mexitek.github.io/phpColors/ + * License: http://arlo.mit-license.org/ + */ + +namespace Mexitek\PHPColors; + +use \Exception; + +/** + * A color utility that helps manipulate HEX colors + */ +class Color { + + private $_hex; + private $_hsl; + private $_rgb; + + /** + * Auto darkens/lightens by 10% for sexily-subtle gradients. + * Set this to FALSE to adjust automatic shade to be between given color + * and black (for darken) or white (for lighten) + */ + const DEFAULT_ADJUST = 10; + + /** + * Instantiates the class with a HEX value + * @param string $hex + * @throws Exception "Bad color format" + */ + function __construct( $hex ) { + // Strip # sign is present + $color = str_replace("#", "", $hex); + + // Make sure it's 6 digits + if( strlen($color) === 3 ) { + $color = $color[0].$color[0].$color[1].$color[1].$color[2].$color[2]; + } else if( strlen($color) != 6 ) { + throw new Exception("HEX color needs to be 6 or 3 digits long"); + } + + $this->_hsl = self::hexToHsl( $color ); + $this->_hex = $color; + $this->_rgb = self::hexToRgb( $color ); + } + + // ==================== + // = Public Interface = + // ==================== + + /** + * Given a HEX string returns a HSL array equivalent. + * @param string $color + * @return array HSL associative array + */ + public static function hexToHsl( $color ){ + + // Sanity check + $color = self::_checkHex($color); + + // Convert HEX to DEC + $R = hexdec($color[0].$color[1]); + $G = hexdec($color[2].$color[3]); + $B = hexdec($color[4].$color[5]); + + $HSL = array(); + + $var_R = ($R / 255); + $var_G = ($G / 255); + $var_B = ($B / 255); + + $var_Min = min($var_R, $var_G, $var_B); + $var_Max = max($var_R, $var_G, $var_B); + $del_Max = $var_Max - $var_Min; + + $L = ($var_Max + $var_Min)/2; + + if ($del_Max == 0) + { + $H = 0; + $S = 0; + } + else + { + if ( $L < 0.5 ) $S = $del_Max / ( $var_Max + $var_Min ); + else $S = $del_Max / ( 2 - $var_Max - $var_Min ); + + $del_R = ( ( ( $var_Max - $var_R ) / 6 ) + ( $del_Max / 2 ) ) / $del_Max; + $del_G = ( ( ( $var_Max - $var_G ) / 6 ) + ( $del_Max / 2 ) ) / $del_Max; + $del_B = ( ( ( $var_Max - $var_B ) / 6 ) + ( $del_Max / 2 ) ) / $del_Max; + + if ($var_R == $var_Max) $H = $del_B - $del_G; + else if ($var_G == $var_Max) $H = ( 1 / 3 ) + $del_R - $del_B; + else if ($var_B == $var_Max) $H = ( 2 / 3 ) + $del_G - $del_R; + + if ($H<0) $H++; + if ($H>1) $H--; + } + + $HSL['H'] = ($H*360); + $HSL['S'] = $S; + $HSL['L'] = $L; + + return $HSL; + } + + /** + * Given a HSL associative array returns the equivalent HEX string + * @param array $hsl + * @return string HEX string + * @throws Exception "Bad HSL Array" + */ + public static function hslToHex( $hsl = array() ){ + // Make sure it's HSL + if(empty($hsl) || !isset($hsl["H"]) || !isset($hsl["S"]) || !isset($hsl["L"]) ) { + throw new Exception("Param was not an HSL array"); + } + + list($H,$S,$L) = array( $hsl['H']/360,$hsl['S'],$hsl['L'] ); + + if( $S == 0 ) { + $r = $L * 255; + $g = $L * 255; + $b = $L * 255; + } else { + + if($L<0.5) { + $var_2 = $L*(1+$S); + } else { + $var_2 = ($L+$S) - ($S*$L); + } + + $var_1 = 2 * $L - $var_2; + + $r = round(255 * self::_huetorgb( $var_1, $var_2, $H + (1/3) )); + $g = round(255 * self::_huetorgb( $var_1, $var_2, $H )); + $b = round(255 * self::_huetorgb( $var_1, $var_2, $H - (1/3) )); + + } + + // Convert to hex + $r = dechex($r); + $g = dechex($g); + $b = dechex($b); + + // Make sure we get 2 digits for decimals + $r = (strlen("".$r)===1) ? "0".$r:$r; + $g = (strlen("".$g)===1) ? "0".$g:$g; + $b = (strlen("".$b)===1) ? "0".$b:$b; + + return $r.$g.$b; + } + + + /** + * Given a HEX string returns a RGB array equivalent. + * @param string $color + * @return array RGB associative array + */ + public static function hexToRgb( $color ){ + + // Sanity check + $color = self::_checkHex($color); + + // Convert HEX to DEC + $R = hexdec($color[0].$color[1]); + $G = hexdec($color[2].$color[3]); + $B = hexdec($color[4].$color[5]); + + $RGB['R'] = $R; + $RGB['G'] = $G; + $RGB['B'] = $B; + + return $RGB; + } + + + /** + * Given an RGB associative array returns the equivalent HEX string + * @param array $rgb + * @return string RGB string + * @throws Exception "Bad RGB Array" + */ + public static function rgbToHex( $rgb = array() ){ + // Make sure it's RGB + if(empty($rgb) || !isset($rgb["R"]) || !isset($rgb["G"]) || !isset($rgb["B"]) ) { + throw new Exception("Param was not an RGB array"); + } + + // Convert RGB to HEX + $hex[0] = dechex( $rgb['R'] ); + $hex[1] = dechex( $rgb['G'] ); + $hex[2] = dechex( $rgb['B'] ); + + return implode( '', $hex ); + + } + + + /** + * Given a HEX value, returns a darker color. If no desired amount provided, then the color halfway between + * given HEX and black will be returned. + * @param int $amount + * @return string Darker HEX value + */ + public function darken( $amount = self::DEFAULT_ADJUST ){ + // Darken + $darkerHSL = $this->_darken($this->_hsl, $amount); + // Return as HEX + return self::hslToHex($darkerHSL); + } + + /** + * Given a HEX value, returns a lighter color. If no desired amount provided, then the color halfway between + * given HEX and white will be returned. + * @param int $amount + * @return string Lighter HEX value + */ + public function lighten( $amount = self::DEFAULT_ADJUST ){ + // Lighten + $lighterHSL = $this->_lighten($this->_hsl, $amount); + // Return as HEX + return self::hslToHex($lighterHSL); + } + + /** + * Given a HEX value, returns a mixed color. If no desired amount provided, then the color mixed by this ratio + * @param string $hex2 Secondary HEX value to mix with + * @param int $amount = -100..0..+100 + * @return string mixed HEX value + */ + public function mix($hex2, $amount = 0){ + $rgb2 = self::hexToRgb($hex2); + $mixed = $this->_mix($this->_rgb, $rgb2, $amount); + // Return as HEX + return self::rgbToHex($mixed); + } + + /** + * Creates an array with two shades that can be used to make a gradient + * @param int $amount Optional percentage amount you want your contrast color + * @return array An array with a 'light' and 'dark' index + */ + public function makeGradient( $amount = self::DEFAULT_ADJUST ) { + // Decide which color needs to be made + if( $this->isLight() ) { + $lightColor = $this->_hex; + $darkColor = $this->darken($amount); + } else { + $lightColor = $this->lighten($amount); + $darkColor = $this->_hex; + } + + // Return our gradient array + return array( "light" => $lightColor, "dark" => $darkColor ); + } + + + /** + * Returns whether or not given color is considered "light" + * @param string|Boolean $color + * @return boolean + */ + public function isLight( $color = FALSE ){ + // Get our color + $color = ($color) ? $color : $this->_hex; + + // Calculate straight from rbg + $r = hexdec($color[0].$color[1]); + $g = hexdec($color[2].$color[3]); + $b = hexdec($color[4].$color[5]); + + return (( $r*299 + $g*587 + $b*114 )/1000 > 130); + } + + /** + * Returns whether or not a given color is considered "dark" + * @param string|Boolean $color + * @return boolean + */ + public function isDark( $color = FALSE ){ + // Get our color + $color = ($color) ? $color:$this->_hex; + + // Calculate straight from rbg + $r = hexdec($color[0].$color[1]); + $g = hexdec($color[2].$color[3]); + $b = hexdec($color[4].$color[5]); + + return (( $r*299 + $g*587 + $b*114 )/1000 <= 130); + } + + /** + * Returns the complimentary color + * @return string Complementary hex color + * + */ + public function complementary() { + // Get our HSL + $hsl = $this->_hsl; + + // Adjust Hue 180 degrees + $hsl['H'] += ($hsl['H']>180) ? -180:180; + + // Return the new value in HEX + return self::hslToHex($hsl); + } + + /** + * Returns your color's HSL array + */ + public function getHsl() { + return $this->_hsl; + } + /** + * Returns your original color + */ + public function getHex() { + return $this->_hex; + } + /** + * Returns your color's RGB array + */ + public function getRgb() { + return $this->_rgb; + } + + /** + * Returns the cross browser CSS3 gradient + * @param int $amount Optional: percentage amount to light/darken the gradient + * @param boolean $vintageBrowsers Optional: include vendor prefixes for browsers that almost died out already + * @param string $prefix Optional: prefix for every lines + * @param string $suffix Optional: suffix for every lines + * @link http://caniuse.com/css-gradients Resource for the browser support + * @return string CSS3 gradient for chrome, safari, firefox, opera and IE10 + */ + public function getCssGradient( $amount = self::DEFAULT_ADJUST, $vintageBrowsers = FALSE, $suffix = "" , $prefix = "" ) { + + // Get the recommended gradient + $g = $this->makeGradient($amount); + + $css = ""; + /* fallback/image non-cover color */ + $css .= "{$prefix}background-color: #".$this->_hex.";{$suffix}"; + + /* IE Browsers */ + $css .= "{$prefix}filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#".$g['light']."', endColorstr='#".$g['dark']."');{$suffix}"; + + /* Safari 4+, Chrome 1-9 */ + if ( $vintageBrowsers ) { + $css .= "{$prefix}background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#".$g['light']."), to(#".$g['dark']."));{$suffix}"; + } + + /* Safari 5.1+, Mobile Safari, Chrome 10+ */ + $css .= "{$prefix}background-image: -webkit-linear-gradient(top, #".$g['light'].", #".$g['dark'].");{$suffix}"; + + /* Firefox 3.6+ */ + if ( $vintageBrowsers ) { + $css .= "{$prefix}background-image: -moz-linear-gradient(top, #".$g['light'].", #".$g['dark'].");{$suffix}"; + } + + /* Opera 11.10+ */ + if ( $vintageBrowsers ) { + $css .= "{$prefix}background-image: -o-linear-gradient(top, #".$g['light'].", #".$g['dark'].");{$suffix}"; + } + + /* Unprefixed version (standards): FF 16+, IE10+, Chrome 26+, Safari 7+, Opera 12.1+ */ + $css .= "{$prefix}background-image: linear-gradient(to bottom, #".$g['light'].", #".$g['dark'].");{$suffix}"; + + // Return our CSS + return $css; + } + + // =========================== + // = Private Functions Below = + // =========================== + + + /** + * Darkens a given HSL array + * @param array $hsl + * @param int $amount + * @return array $hsl + */ + private function _darken( $hsl, $amount = self::DEFAULT_ADJUST){ + // Check if we were provided a number + if( $amount ) { + $hsl['L'] = ($hsl['L'] * 100) - $amount; + $hsl['L'] = ($hsl['L'] < 0) ? 0:$hsl['L']/100; + } else { + // We need to find out how much to darken + $hsl['L'] = $hsl['L']/2 ; + } + + return $hsl; + } + + /** + * Lightens a given HSL array + * @param array $hsl + * @param int $amount + * @return array $hsl + */ + private function _lighten( $hsl, $amount = self::DEFAULT_ADJUST){ + // Check if we were provided a number + if( $amount ) { + $hsl['L'] = ($hsl['L'] * 100) + $amount; + $hsl['L'] = ($hsl['L'] > 100) ? 1:$hsl['L']/100; + } else { + // We need to find out how much to lighten + $hsl['L'] += (1-$hsl['L'])/2; + } + + return $hsl; + } + + /** + * Mix 2 rgb colors and return an rgb color + * @param array $rgb1 + * @param array $rgb2 + * @param int $amount ranged -100..0..+100 + * @return array $rgb + * + * ported from http://phpxref.pagelines.com/nav.html?includes/class.colors.php.source.html + */ + private function _mix($rgb1, $rgb2, $amount = 0) { + + $r1 = ($amount + 100) / 100; + $r2 = 2 - $r1; + + $rmix = (($rgb1['R'] * $r1) + ($rgb2['R'] * $r2)) / 2; + $gmix = (($rgb1['G'] * $r1) + ($rgb2['G'] * $r2)) / 2; + $bmix = (($rgb1['B'] * $r1) + ($rgb2['B'] * $r2)) / 2; + + return array('R' => $rmix, 'G' => $gmix, 'B' => $bmix); + } + + /** + * Given a Hue, returns corresponding RGB value + * @param int $v1 + * @param int $v2 + * @param int $vH + * @return int + */ + private static function _huetorgb( $v1,$v2,$vH ) { + if( $vH < 0 ) { + $vH += 1; + } + + if( $vH > 1 ) { + $vH -= 1; + } + + if( (6*$vH) < 1 ) { + return ($v1 + ($v2 - $v1) * 6 * $vH); + } + + if( (2*$vH) < 1 ) { + return $v2; + } + + if( (3*$vH) < 2 ) { + return ($v1 + ($v2-$v1) * ( (2/3)-$vH ) * 6); + } + + return $v1; + + } + + /** + * You need to check if you were given a good hex string + * @param string $hex + * @return string Color + * @throws Exception "Bad color format" + */ + private static function _checkHex( $hex ) { + // Strip # sign is present + $color = str_replace("#", "", $hex); + + // Make sure it's 6 digits + if( strlen($color) == 3 ) { + $color = $color[0].$color[0].$color[1].$color[1].$color[2].$color[2]; + } else if( strlen($color) != 6 ) { + throw new Exception("HEX color needs to be 6 or 3 digits long"); + } + + return $color; + } + +} diff --git a/wp-content/plugins/google-calendar-events/vendor/mexitek/phpcolors/test/colorTest.php b/wp-content/plugins/google-calendar-events/vendor/mexitek/phpcolors/test/colorTest.php new file mode 100644 index 0000000..868471a --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/mexitek/phpcolors/test/colorTest.php @@ -0,0 +1,50 @@ + "264d73", + "913399" => "6d2673" + ); + + foreach ($expected as $original => $darker) { + + $color = new Color($original); + + $this->assertEquals( + $darker, + $color->darken(), + "Incorrect darker color returned." + ); + } + } + + public function testLightenWithDefaultAdjustment() { + + $expected = array( + "336699" => "4080bf", + "913399" => "b540bf" + ); + + foreach ($expected as $original => $darker) { + + $color = new Color($original); + + $this->assertEquals( + $darker, + $color->lighten(), + "Incorrect lighter color returned." + ); + } + } + +} + +/* End of file Color.php */ diff --git a/wp-content/plugins/google-calendar-events/vendor/nekojira/wp-requirements/LICENSE.txt b/wp-content/plugins/google-calendar-events/vendor/nekojira/wp-requirements/LICENSE.txt new file mode 100644 index 0000000..d159169 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nekojira/wp-requirements/LICENSE.txt @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. diff --git a/wp-content/plugins/google-calendar-events/vendor/nekojira/wp-requirements/README.md b/wp-content/plugins/google-calendar-events/vendor/nekojira/wp-requirements/README.md new file mode 100644 index 0000000..9d7e6a8 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nekojira/wp-requirements/README.md @@ -0,0 +1,100 @@ +#WP Requirements + +[![GitHub version](https://badge.fury.io/gh/nekojira%2Fwp-requirements.svg)](http://badge.fury.io/gh/nekojira%2Fwp-requirements) +[![Build Status](https://scrutinizer-ci.com/g/nekojira/wp-requirements/badges/build.png?b=master)](https://scrutinizer-ci.com/g/nekojira/wp-requirements/build-status/master) +[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/nekojira/wp-requirements/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/nekojira/wp-requirements/) + +Hi! I'm a little utility that you can use in your WordPress plugin development. + +Include me in your plugin and I will check if the PHP version or the installed WordPress version is the right one. If not, I will let you know and you can halt your script and display a message in WordPress dashboard so the admin will know why your plugin can't be activated. + +### Usage + +Pass the requirements to a new instance of this class like so: + + $my_plugin_requirements = new WP_Requirements( + 'My Plugin Name', + plugin_basename( __FILE__ ), + array( + 'PHP' => 'x.y.z', + 'WordPress => 'x.y.z.', + 'Extensions' => array( + 'extension_name', + 'another_extension', + ) + ) + ); + +Replace 'x.y.z' with the semantic version number you want to require. For PHP extension, just pass the extension name as array string values. + +You need to specify at least one value in the arguments array. **Mind the casing in the array keys**. + +Then, you can use the following method to know if it passed (will return *bool*): + + $my_requirements_check->pass(); + +### Implementation + +There are two ways you can include WP Requirements in your project. + +##### Copy this class + +You can copy the class found in `/src/wp-requirements.php` in this project. + +> **Important!** If you choose to do so, please rename this class with the prefix used by your project (for example: from `WP_Requirements` to `My_Plugin_Requirements` ). In this way there is less risk of a naming collision between projects. + +##### Use Composer + +Include this library with: + + $ composer require nekojira/wp-requirements + +However, if you choose to do so, remind that Composer can only work with PHP 5.3.0 onwards. If your goal is to require a PHP version check against older versions of PHP, but want to use Composer, you need a workaround. + +You could specify an additional autoloader compatible with PHP 5.2, for example using the [PHP 5.2 Autoloading for Composer](https://bitbucket.org/xrstf/composer-php52), by including in your `package.json` file the following: + + "require": { + "xrstf/composer-php52": "1.*" + }, + "scripts": { + "post-install-cmd": [ + "xrstf\\Composer52\\Generator::onPostInstallCmd" + ], + "post-update-cmd": [ + "xrstf\\Composer52\\Generator::onPostInstallCmd" + ], + "post-autoload-dump": [ + "xrstf\\Composer52\\Generator::onPostInstallCmd" + ] + } + +### Usage example + +Either require with `include_once` or with Composer first, then at the beginning of your plugin, after the plugin headers, place some code like this: + + $my_plugin_requirements = new WP_Requirements( + 'My Plugin Name', + plugin_basename( __FILE__ ), + array( + 'PHP' => '5.3.2', + 'WordPress' => '3.9.0', + ) + ); + + if ( $my_plugin_requirements->pass() === false ) { + // Deactivate the plugin and print an admin notice. + $my_plugin_requirements->halt(); + // Halt the execution of the rest of the plugin. + return; + } + + // Then from here on, continue with your code. + // Perhaps with `include_once 'includes/main_class.php'` + // which may contain potentially incompatible PHP code. + +### Resources + +WP Requirements was inspired by a post appeared on [wordpress.org](https://wordpress.org) at +[https://make.wordpress.org/plugins/2015/06/05/policy-on-php-versions/](https://make.wordpress.org/plugins/2015/06/05/policy-on-php-versions/) + +You can also try [WP Update PHP](https://github.com/WPupdatePHP/wp-update-php) which however only checks for PHP but provides insightful explanations for the users on why they should keep their PHP version up to date. diff --git a/wp-content/plugins/google-calendar-events/vendor/nekojira/wp-requirements/composer.json b/wp-content/plugins/google-calendar-events/vendor/nekojira/wp-requirements/composer.json new file mode 100644 index 0000000..2fcd3bc --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nekojira/wp-requirements/composer.json @@ -0,0 +1,31 @@ +{ + "name": "nekojira/wp-requirements", + "description": "Utility for WordPress plugin developers to check PHP version, WordPress version and presence of PHP extensions in current installation.", + "version": "1.4.1", + "license": "GPL-2.0+", + "type": "library", + "homepage": "https://github.com/nekojira/wp-requirements/", + "support": { + "issues": "https://github.com/nekojira/wp-requirements/issues", + "source": "https://github.com/nekojira/wp-requirements" + }, + "authors": [ + { + "name": "Fulvio Notarstefano", + "email": "fulvio.notarstefano@gmail.com", + "homepage": "https://github.com/nekojira", + "role": "Developer" + } + ], + "keywords" : [ + "php", + "requirements", + "wordpress", + "version" + ], + "autoload": { + "psr-0": { + "": "src" + } + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/nekojira/wp-requirements/src/wp-requirements.php b/wp-content/plugins/google-calendar-events/vendor/nekojira/wp-requirements/src/wp-requirements.php new file mode 100644 index 0000000..2400c50 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nekojira/wp-requirements/src/wp-requirements.php @@ -0,0 +1,271 @@ + + * @link https://github.com/nekojira/wp-requirements + * @license GPL2+ + */ + +if ( ! class_exists( 'WP_Requirements' ) ) { + + class WP_Requirements { + + /** + * Plugin name. + * + * @access private + * @var string + */ + private $name = ''; + + /** + * Plugin main file. + * + * plugin_basename( __FILE__ ) + * + * @access private + * @var string + */ + private $plugin = ''; + + /** + * WordPress. + * + * @access private + * @var bool + */ + private $wp = true; + + /** + * PHP. + * + * @access private + * @var bool + */ + private $php = true; + + /** + * PHP Extensions. + * + * @access private + * @var bool + */ + private $extensions = true; + + /** + * Requirements to check. + * + * @access private + * @var array + */ + private $requirements = array(); + + /** + * Results failures. + * + * Associative array with requirements results. + * + * @access private + * @var array + */ + private $failures = array(); + + /** + * Admin notice. + * + * @access private + * @var string + */ + private $notice = ''; + + /** + * Run checks. + * + * @param string $name The plugin name. + * @param string $plugin Output of `plugin_basename( __FILE__ )`. + * @param array $requirements Associative array with requirements. + */ + public function __construct( $name, $plugin, $requirements ) { + + $this->name = htmlspecialchars( strip_tags( $name ) ); + $this->plugin = $plugin; + $this->requirements = $requirements; + + if ( ! empty( $requirements ) && is_array( $requirements ) ) { + + $failures = $extensions = array(); + + $requirements = array_merge( + array( + 'WordPress' => '', + 'PHP' => '', + 'Extensions' => '', + ), $requirements + ); + + // Check for WordPress version. + if ( $requirements['WordPress'] && is_string( $requirements['WordPress'] ) ) { + if ( function_exists( 'get_bloginfo' ) ) { + $wp_version = get_bloginfo( 'version' ); + if ( version_compare( $wp_version, $requirements['WordPress'] ) === - 1 ) { + $failures['WordPress'] = $wp_version; + $this->wp = false; + } + } + } + + // Check fo PHP version. + if ( $requirements['PHP'] && is_string( $requirements['PHP'] ) ) { + if ( version_compare( PHP_VERSION, $requirements['PHP'] ) === -1 ) { + $failures['PHP'] = PHP_VERSION; + $this->php = false; + } + } + + // Check fo PHP Extensions. + if ( $requirements['Extensions'] && is_array( $requirements['Extensions'] ) ) { + foreach ( $requirements['Extensions'] as $extension ) { + if ( $extension && is_string( $extension ) ) { + $extensions[ $extension ] = extension_loaded( $extension ); + } + } + if ( in_array( false, $extensions ) ) { + foreach ( $extensions as $extension_name => $found ) { + if ( $found === false ) { + $failures['Extensions'][ $extension_name ] = $extension_name; + } + } + $this->extensions = false; + } + } + + $this->failures = $failures; + + } else { + + trigger_error( 'WP Requirements: the requirements are invalid.', E_USER_ERROR ); + + } + } + + /** + * Get requirements results. + * + * @return array + */ + public function failures() { + return $this->failures; + } + + /** + * Check if versions check pass. + * + * @return bool + */ + public function pass() { + if ( in_array( false, array( + $this->wp, + $this->php, + $this->extensions, + ) ) ) { + return false; + } + return true; + } + + /** + * Notice message. + * + * @param string $message An additional message. + * + * @return string + */ + public function get_notice( $message = '' ) { + + $notice = ''; + $name = $this->name; + $failures = $this->failures; + + if ( ! empty( $failures ) && is_array( $failures ) ) { + + $notice = '
              ' . "\n"; + $notice .= "\t" . '

              ' . "\n"; + $notice .= '' . sprintf( '%s could not be activated.', $name ) . '
              '; + + foreach ( $failures as $requirement => $found ) { + + $required = $this->requirements[ $requirement ]; + + if ( 'Extensions' == $requirement ) { + if ( is_array( $found ) ) { + $notice .= sprintf( + 'Required PHP Extension(s) not found: %s.', + join( ', ', $found ) + ) . '
              '; + } + } else { + $notice .= sprintf( + 'Required %1$s version: %2$s - Version found: %3$s', + $requirement, + $required, + $found + ) . '
              '; + } + + } + + $notice .= '' . sprintf( 'Please update to meet %s requirements.', $name ) . '' . "\n"; + $notice .= "\t" . '

              ' . "\n"; + if ( $message ) { + $notice .= $message; + } + $notice .= '
              '; + } + + return $notice; + } + + /** + * Print notice. + */ + public function print_notice() { + echo $this->notice; + } + + /** + * Deactivate plugin. + */ + public function deactivate_plugin() { + if ( function_exists( 'deactivate_plugins' ) && function_exists( 'plugin_basename' ) ) { + deactivate_plugins( $this->plugin ); + } + } + + /** + * Deactivate plugin and display admin notice. + * + * @param string $message An additional message in notice. + */ + public function halt( $message = '' ) { + + $this->notice = $this->get_notice( $message ); + + if ( $this->notice && function_exists( 'add_action' ) ) { + + add_action( 'admin_notices', array( $this, 'print_notice' ) ); + add_action( 'admin_init', array( $this, 'deactivate_plugin' ) ); + + if ( isset( $_GET['activate'] ) ) { + unset( $_GET['activate'] ); + } + } + } + + } + +} diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/LICENSE b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/LICENSE new file mode 100644 index 0000000..6de45eb --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/LICENSE @@ -0,0 +1,19 @@ +Copyright (C) Brian Nesbitt + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is furnished +to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/composer.json b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/composer.json new file mode 100644 index 0000000..a31043f --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/composer.json @@ -0,0 +1,40 @@ +{ + "name": "nesbot/carbon", + "type": "library", + "description": "A simple API extension for DateTime.", + "keywords": [ + "date", + "time", + "DateTime" + ], + "homepage": "http://carbon.nesbot.com", + "support": { + "issues": "https://github.com/briannesbitt/Carbon/issues", + "source": "https://github.com/briannesbitt/Carbon" + }, + "license": "MIT", + "authors": [ + { + "name": "Brian Nesbitt", + "email": "brian@nesbot.com", + "homepage": "http://nesbot.com" + } + ], + "require": { + "php": ">=5.3.0", + "symfony/translation": "~2.6|~3.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.0|~5.0" + }, + "autoload": { + "psr-4": { + "Carbon\\": "src/Carbon/" + } + }, + "autoload-dev": { + "psr-4": { + "Tests\\": "tests/" + } + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/readme.md b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/readme.md new file mode 100644 index 0000000..545bed3 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/readme.md @@ -0,0 +1,84 @@ +# Carbon + +[![Latest Stable Version](https://poser.pugx.org/nesbot/carbon/v/stable.png)](https://packagist.org/packages/nesbot/carbon) +[![Total Downloads](https://poser.pugx.org/nesbot/carbon/downloads.png)](https://packagist.org/packages/nesbot/carbon) +[![Build Status](https://travis-ci.org/briannesbitt/Carbon.svg?branch=master)](https://travis-ci.org/briannesbitt/Carbon) +[![StyleCI](https://styleci.io/repos/5724990/shield?style=flat)](https://styleci.io/repos/5724990) + +A simple PHP API extension for DateTime. [http://carbon.nesbot.com](http://carbon.nesbot.com) + +```php +printf("Right now is %s", Carbon::now()->toDateTimeString()); +printf("Right now in Vancouver is %s", Carbon::now('America/Vancouver')); //implicit __toString() +$tomorrow = Carbon::now()->addDay(); +$lastWeek = Carbon::now()->subWeek(); +$nextSummerOlympics = Carbon::createFromDate(2012)->addYears(4); + +$officialDate = Carbon::now()->toRfc2822String(); + +$howOldAmI = Carbon::createFromDate(1975, 5, 21)->age; + +$noonTodayLondonTime = Carbon::createFromTime(12, 0, 0, 'Europe/London'); + +$worldWillEnd = Carbon::createFromDate(2012, 12, 21, 'GMT'); + +// Don't really want to die so mock now +Carbon::setTestNow(Carbon::createFromDate(2000, 1, 1)); + +// comparisons are always done in UTC +if (Carbon::now()->gte($worldWillEnd)) { + die(); +} + +// Phew! Return to normal behaviour +Carbon::setTestNow(); + +if (Carbon::now()->isWeekend()) { + echo 'Party!'; +} +echo Carbon::now()->subMinutes(2)->diffForHumans(); // '2 minutes ago' + +// ... but also does 'from now', 'after' and 'before' +// rolling up to seconds, minutes, hours, days, months, years + +$daysSinceEpoch = Carbon::createFromTimestamp(0)->diffInDays(); +``` + +## Installation + +### With Composer + +``` +$ composer require nesbot/carbon +``` + +```json +{ + "require": { + "nesbot/carbon": "~1.14" + } +} +``` + +```php + +### Without Composer + +Why are you not using [composer](http://getcomposer.org/)? Download [Carbon.php](https://github.com/briannesbitt/Carbon/blob/master/src/Carbon/Carbon.php) from the repo and save the file into your project path somewhere. + +```php + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Carbon; + +use Closure; +use DateTime; +use DateTimeZone; +use DatePeriod; +use InvalidArgumentException; +use Symfony\Component\Translation\Translator; +use Symfony\Component\Translation\TranslatorInterface; +use Symfony\Component\Translation\Loader\ArrayLoader; + +/** + * A simple API extension for DateTime + * + * @property int $year + * @property int $yearIso + * @property int $month + * @property int $day + * @property int $hour + * @property int $minute + * @property int $second + * @property int $timestamp seconds since the Unix Epoch + * @property DateTimeZone $timezone the current timezone + * @property DateTimeZone $tz alias of timezone + * @property-read integer $micro + * @property-read integer $dayOfWeek 0 (for Sunday) through 6 (for Saturday) + * @property-read integer $dayOfYear 0 through 365 + * @property-read integer $weekOfMonth 1 through 5 + * @property-read integer $weekOfYear ISO-8601 week number of year, weeks starting on Monday + * @property-read integer $daysInMonth number of days in the given month + * @property-read integer $age does a diffInYears() with default parameters + * @property-read integer $quarter the quarter of this instance, 1 - 4 + * @property-read integer $offset the timezone offset in seconds from UTC + * @property-read integer $offsetHours the timezone offset in hours from UTC + * @property-read boolean $dst daylight savings time indicator, true if DST, false otherwise + * @property-read boolean $local checks if the timezone is local, true if local, false otherwise + * @property-read boolean $utc checks if the timezone is UTC, true if UTC, false otherwise + * @property-read string $timezoneName + * @property-read string $tzName + */ +class Carbon extends DateTime +{ + /** + * The day constants + */ + const SUNDAY = 0; + const MONDAY = 1; + const TUESDAY = 2; + const WEDNESDAY = 3; + const THURSDAY = 4; + const FRIDAY = 5; + const SATURDAY = 6; + + /** + * Names of days of the week. + * + * @var array + */ + protected static $days = array( + self::SUNDAY => 'Sunday', + self::MONDAY => 'Monday', + self::TUESDAY => 'Tuesday', + self::WEDNESDAY => 'Wednesday', + self::THURSDAY => 'Thursday', + self::FRIDAY => 'Friday', + self::SATURDAY => 'Saturday', + ); + + /** + * Terms used to detect if a time passed is a relative date for testing purposes + * + * @var array + */ + protected static $relativeKeywords = array( + 'this', + 'next', + 'last', + 'tomorrow', + 'yesterday', + '+', + '-', + 'first', + 'last', + 'ago', + ); + + /** + * Number of X in Y + */ + const YEARS_PER_CENTURY = 100; + const YEARS_PER_DECADE = 10; + const MONTHS_PER_YEAR = 12; + const WEEKS_PER_YEAR = 52; + const DAYS_PER_WEEK = 7; + const HOURS_PER_DAY = 24; + const MINUTES_PER_HOUR = 60; + const SECONDS_PER_MINUTE = 60; + + /** + * Default format to use for __toString method when type juggling occurs. + * + * @var string + */ + const DEFAULT_TO_STRING_FORMAT = 'Y-m-d H:i:s'; + + /** + * Format to use for __toString method when type juggling occurs. + * + * @var string + */ + protected static $toStringFormat = self::DEFAULT_TO_STRING_FORMAT; + + /** + * First day of week + * + * @var int + */ + protected static $weekStartsAt = self::MONDAY; + + /** + * Last day of week + * + * @var int + */ + protected static $weekEndsAt = self::SUNDAY; + + /** + * Days of weekend + * + * @var array + */ + protected static $weekendDays = array(self::SATURDAY, self::SUNDAY); + + /** + * A test Carbon instance to be returned when now instances are created + * + * @var Carbon + */ + protected static $testNow; + + /** + * A translator to ... er ... translate stuff + * + * @var TranslatorInterface + */ + protected static $translator; + + /** + * Creates a DateTimeZone from a string or a DateTimeZone + * + * @param DateTimeZone|string|null $object + * + * @throws InvalidArgumentException + * + * @return DateTimeZone + */ + protected static function safeCreateDateTimeZone($object) + { + if ($object === null) { + // Don't return null... avoid Bug #52063 in PHP <5.3.6 + return new DateTimeZone(date_default_timezone_get()); + } + + if ($object instanceof DateTimeZone) { + return $object; + } + + $tz = @timezone_open((string) $object); + + if ($tz === false) { + throw new InvalidArgumentException('Unknown or bad timezone ('.$object.')'); + } + + return $tz; + } + + /////////////////////////////////////////////////////////////////// + //////////////////////////// CONSTRUCTORS ///////////////////////// + /////////////////////////////////////////////////////////////////// + + /** + * Create a new Carbon instance. + * + * Please see the testing aids section (specifically static::setTestNow()) + * for more on the possibility of this constructor returning a test instance. + * + * @param string|null $time + * @param DateTimeZone|string|null $tz + */ + public function __construct($time = null, $tz = null) + { + // If the class has a test now set and we are trying to create a now() + // instance then override as required + if (static::hasTestNow() && (empty($time) || $time === 'now' || static::hasRelativeKeywords($time))) { + $testInstance = clone static::getTestNow(); + if (static::hasRelativeKeywords($time)) { + $testInstance->modify($time); + } + + //shift the time according to the given time zone + if ($tz !== null && $tz !== static::getTestNow()->tz) { + $testInstance->setTimezone($tz); + } else { + $tz = $testInstance->tz; + } + + $time = $testInstance->toDateTimeString(); + } + + parent::__construct($time, static::safeCreateDateTimeZone($tz)); + } + + /** + * Create a Carbon instance from a DateTime one + * + * @param DateTime $dt + * + * @return static + */ + public static function instance(DateTime $dt) + { + return new static($dt->format('Y-m-d H:i:s.u'), $dt->getTimeZone()); + } + + /** + * Create a carbon instance from a string. This is an alias for the + * constructor that allows better fluent syntax as it allows you to do + * Carbon::parse('Monday next week')->fn() rather than + * (new Carbon('Monday next week'))->fn() + * + * @param string|null $time + * @param DateTimeZone|string|null $tz + * + * @return static + */ + public static function parse($time = null, $tz = null) + { + return new static($time, $tz); + } + + /** + * Get a Carbon instance for the current date and time + * + * @param DateTimeZone|string|null $tz + * + * @return static + */ + public static function now($tz = null) + { + return new static(null, $tz); + } + + /** + * Create a Carbon instance for today + * + * @param DateTimeZone|string|null $tz + * + * @return static + */ + public static function today($tz = null) + { + return static::now($tz)->startOfDay(); + } + + /** + * Create a Carbon instance for tomorrow + * + * @param DateTimeZone|string|null $tz + * + * @return static + */ + public static function tomorrow($tz = null) + { + return static::today($tz)->addDay(); + } + + /** + * Create a Carbon instance for yesterday + * + * @param DateTimeZone|string|null $tz + * + * @return static + */ + public static function yesterday($tz = null) + { + return static::today($tz)->subDay(); + } + + /** + * Create a Carbon instance for the greatest supported date. + * + * @return Carbon + */ + public static function maxValue() + { + if (PHP_INT_SIZE === 4) { + // 32 bit (and additionally Windows 64 bit) + return static::createFromTimestamp(PHP_INT_MAX); + } + + // 64 bit + return static::create(9999, 12, 31, 23, 59, 59); + } + + /** + * Create a Carbon instance for the lowest supported date. + * + * @return Carbon + */ + public static function minValue() + { + if (PHP_INT_SIZE === 4) { + // 32 bit (and additionally Windows 64 bit) + return static::createFromTimestamp(~PHP_INT_MAX); + } + + // 64 bit + return static::create(1, 1, 1, 0, 0, 0); + } + + /** + * Create a new Carbon instance from a specific date and time. + * + * If any of $year, $month or $day are set to null their now() values + * will be used. + * + * If $hour is null it will be set to its now() value and the default values + * for $minute and $second will be their now() values. + * If $hour is not null then the default values for $minute and $second + * will be 0. + * + * @param int|null $year + * @param int|null $month + * @param int|null $day + * @param int|null $hour + * @param int|null $minute + * @param int|null $second + * @param DateTimeZone|string|null $tz + * + * @return static + */ + public static function create($year = null, $month = null, $day = null, $hour = null, $minute = null, $second = null, $tz = null) + { + $year = $year === null ? date('Y') : $year; + $month = $month === null ? date('n') : $month; + $day = $day === null ? date('j') : $day; + + if ($hour === null) { + $hour = date('G'); + $minute = $minute === null ? date('i') : $minute; + $second = $second === null ? date('s') : $second; + } else { + $minute = $minute === null ? 0 : $minute; + $second = $second === null ? 0 : $second; + } + + return static::createFromFormat('Y-n-j G:i:s', sprintf('%s-%s-%s %s:%02s:%02s', $year, $month, $day, $hour, $minute, $second), $tz); + } + + /** + * Create a Carbon instance from just a date. The time portion is set to now. + * + * @param int|null $year + * @param int|null $month + * @param int|null $day + * @param DateTimeZone|string|null $tz + * + * @return static + */ + public static function createFromDate($year = null, $month = null, $day = null, $tz = null) + { + return static::create($year, $month, $day, null, null, null, $tz); + } + + /** + * Create a Carbon instance from just a time. The date portion is set to today. + * + * @param int|null $hour + * @param int|null $minute + * @param int|null $second + * @param DateTimeZone|string|null $tz + * + * @return static + */ + public static function createFromTime($hour = null, $minute = null, $second = null, $tz = null) + { + return static::create(null, null, null, $hour, $minute, $second, $tz); + } + + /** + * Create a Carbon instance from a specific format + * + * @param string $format + * @param string $time + * @param DateTimeZone|string|null $tz + * + * @throws InvalidArgumentException + * + * @return static + */ + public static function createFromFormat($format, $time, $tz = null) + { + if ($tz !== null) { + $dt = parent::createFromFormat($format, $time, static::safeCreateDateTimeZone($tz)); + } else { + $dt = parent::createFromFormat($format, $time); + } + + if ($dt instanceof DateTime) { + return static::instance($dt); + } + + $errors = static::getLastErrors(); + throw new InvalidArgumentException(implode(PHP_EOL, $errors['errors'])); + } + + /** + * Create a Carbon instance from a timestamp + * + * @param int $timestamp + * @param DateTimeZone|string|null $tz + * + * @return static + */ + public static function createFromTimestamp($timestamp, $tz = null) + { + return static::now($tz)->setTimestamp($timestamp); + } + + /** + * Create a Carbon instance from an UTC timestamp + * + * @param int $timestamp + * + * @return static + */ + public static function createFromTimestampUTC($timestamp) + { + return new static('@'.$timestamp); + } + + /** + * Get a copy of the instance + * + * @return static + */ + public function copy() + { + return static::instance($this); + } + + /////////////////////////////////////////////////////////////////// + ///////////////////////// GETTERS AND SETTERS ///////////////////// + /////////////////////////////////////////////////////////////////// + + /** + * Get a part of the Carbon object + * + * @param string $name + * + * @throws InvalidArgumentException + * + * @return string|int|DateTimeZone + */ + public function __get($name) + { + switch (true) { + case array_key_exists($name, $formats = array( + 'year' => 'Y', + 'yearIso' => 'o', + 'month' => 'n', + 'day' => 'j', + 'hour' => 'G', + 'minute' => 'i', + 'second' => 's', + 'micro' => 'u', + 'dayOfWeek' => 'w', + 'dayOfYear' => 'z', + 'weekOfYear' => 'W', + 'daysInMonth' => 't', + 'timestamp' => 'U', + )): + return (int) $this->format($formats[$name]); + + case $name === 'weekOfMonth': + return (int) ceil($this->day / static::DAYS_PER_WEEK); + + case $name === 'age': + return (int) $this->diffInYears(); + + case $name === 'quarter': + return (int) ceil($this->month / 3); + + case $name === 'offset': + return $this->getOffset(); + + case $name === 'offsetHours': + return $this->getOffset() / static::SECONDS_PER_MINUTE / static::MINUTES_PER_HOUR; + + case $name === 'dst': + return $this->format('I') === '1'; + + case $name === 'local': + return $this->offset === $this->copy()->setTimezone(date_default_timezone_get())->offset; + + case $name === 'utc': + return $this->offset === 0; + + case $name === 'timezone' || $name === 'tz': + return $this->getTimezone(); + + case $name === 'timezoneName' || $name === 'tzName': + return $this->getTimezone()->getName(); + + default: + throw new InvalidArgumentException(sprintf("Unknown getter '%s'", $name)); + } + } + + /** + * Check if an attribute exists on the object + * + * @param string $name + * + * @return bool + */ + public function __isset($name) + { + try { + $this->__get($name); + } catch (InvalidArgumentException $e) { + return false; + } + + return true; + } + + /** + * Set a part of the Carbon object + * + * @param string $name + * @param string|int|DateTimeZone $value + * + * @throws InvalidArgumentException + */ + public function __set($name, $value) + { + switch ($name) { + case 'year': + $this->setDate($value, $this->month, $this->day); + break; + + case 'month': + $this->setDate($this->year, $value, $this->day); + break; + + case 'day': + $this->setDate($this->year, $this->month, $value); + break; + + case 'hour': + $this->setTime($value, $this->minute, $this->second); + break; + + case 'minute': + $this->setTime($this->hour, $value, $this->second); + break; + + case 'second': + $this->setTime($this->hour, $this->minute, $value); + break; + + case 'timestamp': + parent::setTimestamp($value); + break; + + case 'timezone': + case 'tz': + $this->setTimezone($value); + break; + + default: + throw new InvalidArgumentException(sprintf("Unknown setter '%s'", $name)); + } + } + + /** + * Set the instance's year + * + * @param int $value + * + * @return static + */ + public function year($value) + { + $this->year = $value; + + return $this; + } + + /** + * Set the instance's month + * + * @param int $value + * + * @return static + */ + public function month($value) + { + $this->month = $value; + + return $this; + } + + /** + * Set the instance's day + * + * @param int $value + * + * @return static + */ + public function day($value) + { + $this->day = $value; + + return $this; + } + + /** + * Set the instance's hour + * + * @param int $value + * + * @return static + */ + public function hour($value) + { + $this->hour = $value; + + return $this; + } + + /** + * Set the instance's minute + * + * @param int $value + * + * @return static + */ + public function minute($value) + { + $this->minute = $value; + + return $this; + } + + /** + * Set the instance's second + * + * @param int $value + * + * @return static + */ + public function second($value) + { + $this->second = $value; + + return $this; + } + + /** + * Set the date and time all together + * + * @param int $year + * @param int $month + * @param int $day + * @param int $hour + * @param int $minute + * @param int $second + * + * @return static + */ + public function setDateTime($year, $month, $day, $hour, $minute, $second = 0) + { + return $this->setDate($year, $month, $day)->setTime($hour, $minute, $second); + } + + /** + * Set the time by time string + * + * @param string $time + * + * @return static + */ + public function setTimeFromTimeString($time) + { + $time = explode(":", $time); + + $hour = $time[0]; + $minute = isset($time[1]) ? $time[1] : 0; + $second = isset($time[2]) ? $time[2] : 0; + + return $this->setTime($hour, $minute, $second); + } + + /** + * Set the instance's timestamp + * + * @param int $value + * + * @return static + */ + public function timestamp($value) + { + $this->timestamp = $value; + + return $this; + } + + /** + * Alias for setTimezone() + * + * @param DateTimeZone|string $value + * + * @return static + */ + public function timezone($value) + { + return $this->setTimezone($value); + } + + /** + * Alias for setTimezone() + * + * @param DateTimeZone|string $value + * + * @return static + */ + public function tz($value) + { + return $this->setTimezone($value); + } + + /** + * Set the instance's timezone from a string or object + * + * @param DateTimeZone|string $value + * + * @return static + */ + public function setTimezone($value) + { + parent::setTimezone(static::safeCreateDateTimeZone($value)); + + return $this; + } + + /////////////////////////////////////////////////////////////////// + /////////////////////// WEEK SPECIAL DAYS ///////////////////////// + /////////////////////////////////////////////////////////////////// + + /** + * Get the first day of week + * + * @return int + */ + public static function getWeekStartsAt() + { + return static::$weekStartsAt; + } + + /** + * Set the first day of week + * + * @param int + */ + public static function setWeekStartsAt($day) + { + static::$weekStartsAt = $day; + } + + /** + * Get the last day of week + * + * @return int + */ + public static function getWeekEndsAt() + { + return static::$weekEndsAt; + } + + /** + * Set the first day of week + * + * @param int + */ + public static function setWeekEndsAt($day) + { + static::$weekEndsAt = $day; + } + + /** + * Get weekend days + * + * @return array + */ + public static function getWeekendDays() + { + return static::$weekendDays; + } + + /** + * Set weekend days + * + * @param array + */ + public static function setWeekendDays($days) + { + static::$weekendDays = $days; + } + + /////////////////////////////////////////////////////////////////// + ///////////////////////// TESTING AIDS //////////////////////////// + /////////////////////////////////////////////////////////////////// + + /** + * Set a Carbon instance (real or mock) to be returned when a "now" + * instance is created. The provided instance will be returned + * specifically under the following conditions: + * - A call to the static now() method, ex. Carbon::now() + * - When a null (or blank string) is passed to the constructor or parse(), ex. new Carbon(null) + * - When the string "now" is passed to the constructor or parse(), ex. new Carbon('now') + * + * Note the timezone parameter was left out of the examples above and + * has no affect as the mock value will be returned regardless of its value. + * + * To clear the test instance call this method using the default + * parameter of null. + * + * @param Carbon|null $testNow + */ + public static function setTestNow(Carbon $testNow = null) + { + static::$testNow = $testNow; + } + + /** + * Get the Carbon instance (real or mock) to be returned when a "now" + * instance is created. + * + * @return static the current instance used for testing + */ + public static function getTestNow() + { + return static::$testNow; + } + + /** + * Determine if there is a valid test instance set. A valid test instance + * is anything that is not null. + * + * @return bool true if there is a test instance, otherwise false + */ + public static function hasTestNow() + { + return static::getTestNow() !== null; + } + + /** + * Determine if there is a relative keyword in the time string, this is to + * create dates relative to now for test instances. e.g.: next tuesday + * + * @param string $time + * + * @return bool true if there is a keyword, otherwise false + */ + public static function hasRelativeKeywords($time) + { + // skip common format with a '-' in it + if (preg_match('/[0-9]{4}-[0-9]{1,2}-[0-9]{1,2}/', $time) !== 1) { + foreach (static::$relativeKeywords as $keyword) { + if (stripos($time, $keyword) !== false) { + return true; + } + } + } + + return false; + } + + /////////////////////////////////////////////////////////////////// + /////////////////////// LOCALIZATION ////////////////////////////// + /////////////////////////////////////////////////////////////////// + + /** + * Intialize the translator instance if necessary. + * + * @return TranslatorInterface + */ + protected static function translator() + { + if (static::$translator === null) { + static::$translator = new Translator('en'); + static::$translator->addLoader('array', new ArrayLoader()); + static::setLocale('en'); + } + + return static::$translator; + } + + /** + * Get the translator instance in use + * + * @return TranslatorInterface + */ + public static function getTranslator() + { + return static::translator(); + } + + /** + * Set the translator instance to use + * + * @param TranslatorInterface $translator + */ + public static function setTranslator(TranslatorInterface $translator) + { + static::$translator = $translator; + } + + /** + * Get the current translator locale + * + * @return string + */ + public static function getLocale() + { + return static::translator()->getLocale(); + } + + /** + * Set the current translator locale + * + * @param string $locale + */ + public static function setLocale($locale) + { + static::translator()->setLocale($locale); + + // Ensure the locale has been loaded. + static::translator()->addResource('array', require __DIR__.'/Lang/'.$locale.'.php', $locale); + } + + /////////////////////////////////////////////////////////////////// + /////////////////////// STRING FORMATTING ///////////////////////// + /////////////////////////////////////////////////////////////////// + + /** + * Format the instance with the current locale. You can set the current + * locale using setlocale() http://php.net/setlocale. + * + * @param string $format + * + * @return string + */ + public function formatLocalized($format) + { + // Check for Windows to find and replace the %e + // modifier correctly + if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') { + $format = preg_replace('#(?format(static::$toStringFormat); + } + + /** + * Format the instance as date + * + * @return string + */ + public function toDateString() + { + return $this->format('Y-m-d'); + } + + /** + * Format the instance as a readable date + * + * @return string + */ + public function toFormattedDateString() + { + return $this->format('M j, Y'); + } + + /** + * Format the instance as time + * + * @return string + */ + public function toTimeString() + { + return $this->format('H:i:s'); + } + + /** + * Format the instance as date and time + * + * @return string + */ + public function toDateTimeString() + { + return $this->format('Y-m-d H:i:s'); + } + + /** + * Format the instance with day, date and time + * + * @return string + */ + public function toDayDateTimeString() + { + return $this->format('D, M j, Y g:i A'); + } + + /** + * Format the instance as ATOM + * + * @return string + */ + public function toAtomString() + { + return $this->format(static::ATOM); + } + + /** + * Format the instance as COOKIE + * + * @return string + */ + public function toCookieString() + { + return $this->format(static::COOKIE); + } + + /** + * Format the instance as ISO8601 + * + * @return string + */ + public function toIso8601String() + { + return $this->format(static::ISO8601); + } + + /** + * Format the instance as RFC822 + * + * @return string + */ + public function toRfc822String() + { + return $this->format(static::RFC822); + } + + /** + * Format the instance as RFC850 + * + * @return string + */ + public function toRfc850String() + { + return $this->format(static::RFC850); + } + + /** + * Format the instance as RFC1036 + * + * @return string + */ + public function toRfc1036String() + { + return $this->format(static::RFC1036); + } + + /** + * Format the instance as RFC1123 + * + * @return string + */ + public function toRfc1123String() + { + return $this->format(static::RFC1123); + } + + /** + * Format the instance as RFC2822 + * + * @return string + */ + public function toRfc2822String() + { + return $this->format(static::RFC2822); + } + + /** + * Format the instance as RFC3339 + * + * @return string + */ + public function toRfc3339String() + { + return $this->format(static::RFC3339); + } + + /** + * Format the instance as RSS + * + * @return string + */ + public function toRssString() + { + return $this->format(static::RSS); + } + + /** + * Format the instance as W3C + * + * @return string + */ + public function toW3cString() + { + return $this->format(static::W3C); + } + + /////////////////////////////////////////////////////////////////// + ////////////////////////// COMPARISONS //////////////////////////// + /////////////////////////////////////////////////////////////////// + + /** + * Determines if the instance is equal to another + * + * @param Carbon $dt + * + * @return bool + */ + public function eq(Carbon $dt) + { + return $this == $dt; + } + + /** + * Determines if the instance is not equal to another + * + * @param Carbon $dt + * + * @return bool + */ + public function ne(Carbon $dt) + { + return !$this->eq($dt); + } + + /** + * Determines if the instance is greater (after) than another + * + * @param Carbon $dt + * + * @return bool + */ + public function gt(Carbon $dt) + { + return $this > $dt; + } + + /** + * Determines if the instance is greater (after) than or equal to another + * + * @param Carbon $dt + * + * @return bool + */ + public function gte(Carbon $dt) + { + return $this >= $dt; + } + + /** + * Determines if the instance is less (before) than another + * + * @param Carbon $dt + * + * @return bool + */ + public function lt(Carbon $dt) + { + return $this < $dt; + } + + /** + * Determines if the instance is less (before) or equal to another + * + * @param Carbon $dt + * + * @return bool + */ + public function lte(Carbon $dt) + { + return $this <= $dt; + } + + /** + * Determines if the instance is between two others + * + * @param Carbon $dt1 + * @param Carbon $dt2 + * @param bool $equal Indicates if a > and < comparison should be used or <= or >= + * + * @return bool + */ + public function between(Carbon $dt1, Carbon $dt2, $equal = true) + { + if ($dt1->gt($dt2)) { + $temp = $dt1; + $dt1 = $dt2; + $dt2 = $temp; + } + + if ($equal) { + return $this->gte($dt1) && $this->lte($dt2); + } + + return $this->gt($dt1) && $this->lt($dt2); + } + + /** + * Get the closest date from the instance. + * + * @param Carbon $dt1 + * @param Carbon $dt2 + * + * @return static + */ + public function closest(Carbon $dt1, Carbon $dt2) + { + return $this->diffInSeconds($dt1) < $this->diffInSeconds($dt2) ? $dt1 : $dt2; + } + + /** + * Get the farthest date from the instance. + * + * @param Carbon $dt1 + * @param Carbon $dt2 + * + * @return static + */ + public function farthest(Carbon $dt1, Carbon $dt2) + { + return $this->diffInSeconds($dt1) > $this->diffInSeconds($dt2) ? $dt1 : $dt2; + } + + /** + * Get the minimum instance between a given instance (default now) and the current instance. + * + * @param Carbon|null $dt + * + * @return static + */ + public function min(Carbon $dt = null) + { + $dt = $dt ?: static::now($this->tz); + + return $this->lt($dt) ? $this : $dt; + } + + /** + * Get the maximum instance between a given instance (default now) and the current instance. + * + * @param Carbon|null $dt + * + * @return static + */ + public function max(Carbon $dt = null) + { + $dt = $dt ?: static::now($this->tz); + + return $this->gt($dt) ? $this : $dt; + } + + /** + * Determines if the instance is a weekday + * + * @return bool + */ + public function isWeekday() + { + return !$this->isWeekend(); + } + + /** + * Determines if the instance is a weekend day + * + * @return bool + */ + public function isWeekend() + { + return in_array($this->dayOfWeek, self::$weekendDays); + } + + /** + * Determines if the instance is yesterday + * + * @return bool + */ + public function isYesterday() + { + return $this->toDateString() === static::yesterday($this->tz)->toDateString(); + } + + /** + * Determines if the instance is today + * + * @return bool + */ + public function isToday() + { + return $this->toDateString() === static::now($this->tz)->toDateString(); + } + + /** + * Determines if the instance is tomorrow + * + * @return bool + */ + public function isTomorrow() + { + return $this->toDateString() === static::tomorrow($this->tz)->toDateString(); + } + + /** + * Determines if the instance is in the future, ie. greater (after) than now + * + * @return bool + */ + public function isFuture() + { + return $this->gt(static::now($this->tz)); + } + + /** + * Determines if the instance is in the past, ie. less (before) than now + * + * @return bool + */ + public function isPast() + { + return $this->lt(static::now($this->tz)); + } + + /** + * Determines if the instance is a leap year + * + * @return bool + */ + public function isLeapYear() + { + return $this->format('L') === '1'; + } + + /** + * Checks if the passed in date is the same day as the instance current day. + * + * @param Carbon $dt + * + * @return bool + */ + public function isSameDay(Carbon $dt) + { + return $this->toDateString() === $dt->toDateString(); + } + + /** + * Checks if this day is a Sunday. + * + * @return bool + */ + public function isSunday() + { + return $this->dayOfWeek === static::SUNDAY; + } + + /** + * Checks if this day is a Monday. + * + * @return bool + */ + public function isMonday() + { + return $this->dayOfWeek === static::MONDAY; + } + + /** + * Checks if this day is a Tuesday. + * + * @return bool + */ + public function isTuesday() + { + return $this->dayOfWeek === static::TUESDAY; + } + + /** + * Checks if this day is a Wednesday. + * + * @return bool + */ + public function isWednesday() + { + return $this->dayOfWeek === static::WEDNESDAY; + } + + /** + * Checks if this day is a Thursday. + * + * @return bool + */ + public function isThursday() + { + return $this->dayOfWeek === static::THURSDAY; + } + + /** + * Checks if this day is a Friday. + * + * @return bool + */ + public function isFriday() + { + return $this->dayOfWeek === static::FRIDAY; + } + + /** + * Checks if this day is a Saturday. + * + * @return bool + */ + public function isSaturday() + { + return $this->dayOfWeek === static::SATURDAY; + } + + /////////////////////////////////////////////////////////////////// + /////////////////// ADDITIONS AND SUBTRACTIONS //////////////////// + /////////////////////////////////////////////////////////////////// + + /** + * Add years to the instance. Positive $value travel forward while + * negative $value travel into the past. + * + * @param int $value + * + * @return static + */ + public function addYears($value) + { + return $this->modify((int) $value.' year'); + } + + /** + * Add a year to the instance + * + * @param int $value + * + * @return static + */ + public function addYear($value = 1) + { + return $this->addYears($value); + } + + /** + * Remove a year from the instance + * + * @param int $value + * + * @return static + */ + public function subYear($value = 1) + { + return $this->subYears($value); + } + + /** + * Remove years from the instance. + * + * @param int $value + * + * @return static + */ + public function subYears($value) + { + return $this->addYears(-1 * $value); + } + + /** + * Add months to the instance. Positive $value travels forward while + * negative $value travels into the past. + * + * @param int $value + * + * @return static + */ + public function addMonths($value) + { + return $this->modify((int) $value.' month'); + } + + /** + * Add a month to the instance + * + * @param int $value + * + * @return static + */ + public function addMonth($value = 1) + { + return $this->addMonths($value); + } + + /** + * Remove a month from the instance + * + * @param int $value + * + * @return static + */ + public function subMonth($value = 1) + { + return $this->subMonths($value); + } + + /** + * Remove months from the instance + * + * @param int $value + * + * @return static + */ + public function subMonths($value) + { + return $this->addMonths(-1 * $value); + } + + /** + * Add months without overflowing to the instance. Positive $value + * travels forward while negative $value travels into the past. + * + * @param int $value + * + * @return static + */ + public function addMonthsNoOverflow($value) + { + $date = $this->copy()->addMonths($value); + + if ($date->day !== $this->day) { + $date->day(1)->subMonth()->day($date->daysInMonth); + } + + return $date; + } + + /** + * Add a month with no overflow to the instance + * + * @param int $value + * + * @return static + */ + public function addMonthNoOverflow($value = 1) + { + return $this->addMonthsNoOverflow($value); + } + + /** + * Remove a month with no overflow from the instance + * + * @param int $value + * + * @return static + */ + public function subMonthNoOverflow($value = 1) + { + return $this->subMonthsNoOverflow($value); + } + + /** + * Remove months with no overflow from the instance + * + * @param int $value + * + * @return static + */ + public function subMonthsNoOverflow($value) + { + return $this->addMonthsNoOverflow(-1 * $value); + } + + /** + * Add days to the instance. Positive $value travels forward while + * negative $value travels into the past. + * + * @param int $value + * + * @return static + */ + public function addDays($value) + { + return $this->modify((int) $value.' day'); + } + + /** + * Add a day to the instance + * + * @param int $value + * + * @return static + */ + public function addDay($value = 1) + { + return $this->addDays($value); + } + + /** + * Remove a day from the instance + * + * @param int $value + * + * @return static + */ + public function subDay($value = 1) + { + return $this->subDays($value); + } + + /** + * Remove days from the instance + * + * @param int $value + * + * @return static + */ + public function subDays($value) + { + return $this->addDays(-1 * $value); + } + + /** + * Add weekdays to the instance. Positive $value travels forward while + * negative $value travels into the past. + * + * @param int $value + * + * @return static + */ + public function addWeekdays($value) + { + return $this->modify((int) $value.' weekday'); + } + + /** + * Add a weekday to the instance + * + * @param int $value + * + * @return static + */ + public function addWeekday($value = 1) + { + return $this->addWeekdays($value); + } + + /** + * Remove a weekday from the instance + * + * @param int $value + * + * @return static + */ + public function subWeekday($value = 1) + { + return $this->subWeekdays($value); + } + + /** + * Remove weekdays from the instance + * + * @param int $value + * + * @return static + */ + public function subWeekdays($value) + { + return $this->addWeekdays(-1 * $value); + } + + /** + * Add weeks to the instance. Positive $value travels forward while + * negative $value travels into the past. + * + * @param int $value + * + * @return static + */ + public function addWeeks($value) + { + return $this->modify((int) $value.' week'); + } + + /** + * Add a week to the instance + * + * @param int $value + * + * @return static + */ + public function addWeek($value = 1) + { + return $this->addWeeks($value); + } + + /** + * Remove a week from the instance + * + * @param int $value + * + * @return static + */ + public function subWeek($value = 1) + { + return $this->subWeeks($value); + } + + /** + * Remove weeks to the instance + * + * @param int $value + * + * @return static + */ + public function subWeeks($value) + { + return $this->addWeeks(-1 * $value); + } + + /** + * Add hours to the instance. Positive $value travels forward while + * negative $value travels into the past. + * + * @param int $value + * + * @return static + */ + public function addHours($value) + { + return $this->modify((int) $value.' hour'); + } + + /** + * Add an hour to the instance + * + * @param int $value + * + * @return static + */ + public function addHour($value = 1) + { + return $this->addHours($value); + } + + /** + * Remove an hour from the instance + * + * @param int $value + * + * @return static + */ + public function subHour($value = 1) + { + return $this->subHours($value); + } + + /** + * Remove hours from the instance + * + * @param int $value + * + * @return static + */ + public function subHours($value) + { + return $this->addHours(-1 * $value); + } + + /** + * Add minutes to the instance. Positive $value travels forward while + * negative $value travels into the past. + * + * @param int $value + * + * @return static + */ + public function addMinutes($value) + { + return $this->modify((int) $value.' minute'); + } + + /** + * Add a minute to the instance + * + * @param int $value + * + * @return static + */ + public function addMinute($value = 1) + { + return $this->addMinutes($value); + } + + /** + * Remove a minute from the instance + * + * @param int $value + * + * @return static + */ + public function subMinute($value = 1) + { + return $this->subMinutes($value); + } + + /** + * Remove minutes from the instance + * + * @param int $value + * + * @return static + */ + public function subMinutes($value) + { + return $this->addMinutes(-1 * $value); + } + + /** + * Add seconds to the instance. Positive $value travels forward while + * negative $value travels into the past. + * + * @param int $value + * + * @return static + */ + public function addSeconds($value) + { + return $this->modify((int) $value.' second'); + } + + /** + * Add a second to the instance + * + * @param int $value + * + * @return static + */ + public function addSecond($value = 1) + { + return $this->addSeconds($value); + } + + /** + * Remove a second from the instance + * + * @param int $value + * + * @return static + */ + public function subSecond($value = 1) + { + return $this->subSeconds($value); + } + + /** + * Remove seconds from the instance + * + * @param int $value + * + * @return static + */ + public function subSeconds($value) + { + return $this->addSeconds(-1 * $value); + } + + /////////////////////////////////////////////////////////////////// + /////////////////////////// DIFFERENCES /////////////////////////// + /////////////////////////////////////////////////////////////////// + + /** + * Get the difference in years + * + * @param Carbon|null $dt + * @param bool $abs Get the absolute of the difference + * + * @return int + */ + public function diffInYears(Carbon $dt = null, $abs = true) + { + $dt = $dt ?: static::now($this->tz); + + return (int) $this->diff($dt, $abs)->format('%r%y'); + } + + /** + * Get the difference in months + * + * @param Carbon|null $dt + * @param bool $abs Get the absolute of the difference + * + * @return int + */ + public function diffInMonths(Carbon $dt = null, $abs = true) + { + $dt = $dt ?: static::now($this->tz); + + return $this->diffInYears($dt, $abs) * static::MONTHS_PER_YEAR + (int) $this->diff($dt, $abs)->format('%r%m'); + } + + /** + * Get the difference in weeks + * + * @param Carbon|null $dt + * @param bool $abs Get the absolute of the difference + * + * @return int + */ + public function diffInWeeks(Carbon $dt = null, $abs = true) + { + return (int) ($this->diffInDays($dt, $abs) / static::DAYS_PER_WEEK); + } + + /** + * Get the difference in days + * + * @param Carbon|null $dt + * @param bool $abs Get the absolute of the difference + * + * @return int + */ + public function diffInDays(Carbon $dt = null, $abs = true) + { + $dt = $dt ?: static::now($this->tz); + + return (int) $this->diff($dt, $abs)->format('%r%a'); + } + + /** + * Get the difference in days using a filter closure + * + * @param Closure $callback + * @param Carbon|null $dt + * @param bool $abs Get the absolute of the difference + * + * @return int + */ + public function diffInDaysFiltered(Closure $callback, Carbon $dt = null, $abs = true) + { + return $this->diffFiltered(CarbonInterval::day(), $callback, $dt, $abs); + } + + /** + * Get the difference in hours using a filter closure + * + * @param Closure $callback + * @param Carbon|null $dt + * @param bool $abs Get the absolute of the difference + * + * @return int + */ + public function diffInHoursFiltered(Closure $callback, Carbon $dt = null, $abs = true) + { + return $this->diffFiltered(CarbonInterval::hour(), $callback, $dt, $abs); + } + + /** + * Get the difference by the given interval using a filter closure + * + * @param CarbonInterval $ci An interval to traverse by + * @param Closure $callback + * @param Carbon|null $dt + * @param bool $abs Get the absolute of the difference + * + * @return int + */ + public function diffFiltered(CarbonInterval $ci, Closure $callback, Carbon $dt = null, $abs = true) + { + $start = $this; + $end = $dt ?: static::now($this->tz); + $inverse = false; + + if ($end < $start) { + $start = $end; + $end = $this; + $inverse = true; + } + + $period = new DatePeriod($start, $ci, $end); + $vals = array_filter(iterator_to_array($period), function (DateTime $date) use ($callback) { + return call_user_func($callback, Carbon::instance($date)); + }); + + $diff = count($vals); + + return $inverse && !$abs ? -$diff : $diff; + } + + /** + * Get the difference in weekdays + * + * @param Carbon|null $dt + * @param bool $abs Get the absolute of the difference + * + * @return int + */ + public function diffInWeekdays(Carbon $dt = null, $abs = true) + { + return $this->diffInDaysFiltered(function (Carbon $date) { + return $date->isWeekday(); + }, $dt, $abs); + } + + /** + * Get the difference in weekend days using a filter + * + * @param Carbon|null $dt + * @param bool $abs Get the absolute of the difference + * + * @return int + */ + public function diffInWeekendDays(Carbon $dt = null, $abs = true) + { + return $this->diffInDaysFiltered(function (Carbon $date) { + return $date->isWeekend(); + }, $dt, $abs); + } + + /** + * Get the difference in hours + * + * @param Carbon|null $dt + * @param bool $abs Get the absolute of the difference + * + * @return int + */ + public function diffInHours(Carbon $dt = null, $abs = true) + { + return (int) ($this->diffInSeconds($dt, $abs) / static::SECONDS_PER_MINUTE / static::MINUTES_PER_HOUR); + } + + /** + * Get the difference in minutes + * + * @param Carbon|null $dt + * @param bool $abs Get the absolute of the difference + * + * @return int + */ + public function diffInMinutes(Carbon $dt = null, $abs = true) + { + return (int) ($this->diffInSeconds($dt, $abs) / static::SECONDS_PER_MINUTE); + } + + /** + * Get the difference in seconds + * + * @param Carbon|null $dt + * @param bool $abs Get the absolute of the difference + * + * @return int + */ + public function diffInSeconds(Carbon $dt = null, $abs = true) + { + $dt = $dt ?: static::now($this->tz); + $value = $dt->getTimestamp() - $this->getTimestamp(); + + return $abs ? abs($value) : $value; + } + + /** + * The number of seconds since midnight. + * + * @return int + */ + public function secondsSinceMidnight() + { + return $this->diffInSeconds($this->copy()->startOfDay()); + } + + /** + * The number of seconds until 23:23:59. + * + * @return int + */ + public function secondsUntilEndOfDay() + { + return $this->diffInSeconds($this->copy()->endOfDay()); + } + + /** + * Get the difference in a human readable format in the current locale. + * + * When comparing a value in the past to default now: + * 1 hour ago + * 5 months ago + * + * When comparing a value in the future to default now: + * 1 hour from now + * 5 months from now + * + * When comparing a value in the past to another value: + * 1 hour before + * 5 months before + * + * When comparing a value in the future to another value: + * 1 hour after + * 5 months after + * + * @param Carbon|null $other + * @param bool $absolute removes time difference modifiers ago, after, etc + * + * @return string + */ + public function diffForHumans(Carbon $other = null, $absolute = false) + { + $isNow = $other === null; + + if ($isNow) { + $other = static::now($this->tz); + } + + $diffInterval = $this->diff($other); + + switch (true) { + case ($diffInterval->y > 0): + $unit = 'year'; + $count = $diffInterval->y; + break; + + case ($diffInterval->m > 0): + $unit = 'month'; + $count = $diffInterval->m; + break; + + case ($diffInterval->d > 0): + $unit = 'day'; + $count = $diffInterval->d; + if ($count >= self::DAYS_PER_WEEK) { + $unit = 'week'; + $count = (int) ($count / self::DAYS_PER_WEEK); + } + break; + + case ($diffInterval->h > 0): + $unit = 'hour'; + $count = $diffInterval->h; + break; + + case ($diffInterval->i > 0): + $unit = 'minute'; + $count = $diffInterval->i; + break; + + default: + $count = $diffInterval->s; + $unit = 'second'; + break; + } + + if ($count === 0) { + $count = 1; + } + + $time = static::translator()->transChoice($unit, $count, array(':count' => $count)); + + if ($absolute) { + return $time; + } + + $isFuture = $diffInterval->invert === 1; + + $transId = $isNow ? ($isFuture ? 'from_now' : 'ago') : ($isFuture ? 'after' : 'before'); + + // Some langs have special pluralization for past and future tense. + $tryKeyExists = $unit.'_'.$transId; + if ($tryKeyExists !== static::translator()->transChoice($tryKeyExists, $count)) { + $time = static::translator()->transChoice($tryKeyExists, $count, array(':count' => $count)); + } + + return static::translator()->trans($transId, array(':time' => $time)); + } + + /////////////////////////////////////////////////////////////////// + //////////////////////////// MODIFIERS //////////////////////////// + /////////////////////////////////////////////////////////////////// + + /** + * Resets the time to 00:00:00 + * + * @return static + */ + public function startOfDay() + { + return $this->hour(0)->minute(0)->second(0); + } + + /** + * Resets the time to 23:59:59 + * + * @return static + */ + public function endOfDay() + { + return $this->hour(23)->minute(59)->second(59); + } + + /** + * Resets the date to the first day of the month and the time to 00:00:00 + * + * @return static + */ + public function startOfMonth() + { + return $this->startOfDay()->day(1); + } + + /** + * Resets the date to end of the month and time to 23:59:59 + * + * @return static + */ + public function endOfMonth() + { + return $this->day($this->daysInMonth)->endOfDay(); + } + + /** + * Resets the date to the first day of the year and the time to 00:00:00 + * + * @return static + */ + public function startOfYear() + { + return $this->month(1)->startOfMonth(); + } + + /** + * Resets the date to end of the year and time to 23:59:59 + * + * @return static + */ + public function endOfYear() + { + return $this->month(static::MONTHS_PER_YEAR)->endOfMonth(); + } + + /** + * Resets the date to the first day of the decade and the time to 00:00:00 + * + * @return static + */ + public function startOfDecade() + { + return $this->startOfYear()->year($this->year - $this->year % static::YEARS_PER_DECADE); + } + + /** + * Resets the date to end of the decade and time to 23:59:59 + * + * @return static + */ + public function endOfDecade() + { + return $this->endOfYear()->year($this->year - $this->year % static::YEARS_PER_DECADE + static::YEARS_PER_DECADE - 1); + } + + /** + * Resets the date to the first day of the century and the time to 00:00:00 + * + * @return static + */ + public function startOfCentury() + { + return $this->startOfYear()->year($this->year - $this->year % static::YEARS_PER_CENTURY); + } + + /** + * Resets the date to end of the century and time to 23:59:59 + * + * @return static + */ + public function endOfCentury() + { + return $this->endOfYear()->year($this->year - $this->year % static::YEARS_PER_CENTURY + static::YEARS_PER_CENTURY - 1); + } + + /** + * Resets the date to the first day of week (defined in $weekStartsAt) and the time to 00:00:00 + * + * @return static + */ + public function startOfWeek() + { + if ($this->dayOfWeek !== static::$weekStartsAt) { + $this->previous(static::$weekStartsAt); + } + + return $this->startOfDay(); + } + + /** + * Resets the date to end of week (defined in $weekEndsAt) and time to 23:59:59 + * + * @return static + */ + public function endOfWeek() + { + if ($this->dayOfWeek !== static::$weekEndsAt) { + $this->next(static::$weekEndsAt); + } + + return $this->endOfDay(); + } + + /** + * Modify to the next occurrence of a given day of the week. + * If no dayOfWeek is provided, modify to the next occurrence + * of the current day of the week. Use the supplied consts + * to indicate the desired dayOfWeek, ex. static::MONDAY. + * + * @param int|null $dayOfWeek + * + * @return static + */ + public function next($dayOfWeek = null) + { + if ($dayOfWeek === null) { + $dayOfWeek = $this->dayOfWeek; + } + + return $this->startOfDay()->modify('next '.static::$days[$dayOfWeek]); + } + + /** + * Modify to the previous occurrence of a given day of the week. + * If no dayOfWeek is provided, modify to the previous occurrence + * of the current day of the week. Use the supplied consts + * to indicate the desired dayOfWeek, ex. static::MONDAY. + * + * @param int|null $dayOfWeek + * + * @return static + */ + public function previous($dayOfWeek = null) + { + if ($dayOfWeek === null) { + $dayOfWeek = $this->dayOfWeek; + } + + return $this->startOfDay()->modify('last '.static::$days[$dayOfWeek]); + } + + /** + * Modify to the first occurrence of a given day of the week + * in the current month. If no dayOfWeek is provided, modify to the + * first day of the current month. Use the supplied consts + * to indicate the desired dayOfWeek, ex. static::MONDAY. + * + * @param int|null $dayOfWeek + * + * @return static + */ + public function firstOfMonth($dayOfWeek = null) + { + $this->startOfDay(); + + if ($dayOfWeek === null) { + return $this->day(1); + } + + return $this->modify('first '.static::$days[$dayOfWeek].' of '.$this->format('F').' '.$this->year); + } + + /** + * Modify to the last occurrence of a given day of the week + * in the current month. If no dayOfWeek is provided, modify to the + * last day of the current month. Use the supplied consts + * to indicate the desired dayOfWeek, ex. static::MONDAY. + * + * @param int|null $dayOfWeek + * + * @return static + */ + public function lastOfMonth($dayOfWeek = null) + { + $this->startOfDay(); + + if ($dayOfWeek === null) { + return $this->day($this->daysInMonth); + } + + return $this->modify('last '.static::$days[$dayOfWeek].' of '.$this->format('F').' '.$this->year); + } + + /** + * Modify to the given occurrence of a given day of the week + * in the current month. If the calculated occurrence is outside the scope + * of the current month, then return false and no modifications are made. + * Use the supplied consts to indicate the desired dayOfWeek, ex. static::MONDAY. + * + * @param int $nth + * @param int $dayOfWeek + * + * @return mixed + */ + public function nthOfMonth($nth, $dayOfWeek) + { + $dt = $this->copy()->firstOfMonth(); + $check = $dt->format('Y-m'); + $dt->modify('+'.$nth.' '.static::$days[$dayOfWeek]); + + return $dt->format('Y-m') === $check ? $this->modify($dt) : false; + } + + /** + * Modify to the first occurrence of a given day of the week + * in the current quarter. If no dayOfWeek is provided, modify to the + * first day of the current quarter. Use the supplied consts + * to indicate the desired dayOfWeek, ex. static::MONDAY. + * + * @param int|null $dayOfWeek + * + * @return static + */ + public function firstOfQuarter($dayOfWeek = null) + { + return $this->day(1)->month($this->quarter * 3 - 2)->firstOfMonth($dayOfWeek); + } + + /** + * Modify to the last occurrence of a given day of the week + * in the current quarter. If no dayOfWeek is provided, modify to the + * last day of the current quarter. Use the supplied consts + * to indicate the desired dayOfWeek, ex. static::MONDAY. + * + * @param int|null $dayOfWeek + * + * @return static + */ + public function lastOfQuarter($dayOfWeek = null) + { + return $this->day(1)->month($this->quarter * 3)->lastOfMonth($dayOfWeek); + } + + /** + * Modify to the given occurrence of a given day of the week + * in the current quarter. If the calculated occurrence is outside the scope + * of the current quarter, then return false and no modifications are made. + * Use the supplied consts to indicate the desired dayOfWeek, ex. static::MONDAY. + * + * @param int $nth + * @param int $dayOfWeek + * + * @return mixed + */ + public function nthOfQuarter($nth, $dayOfWeek) + { + $dt = $this->copy()->day(1)->month($this->quarter * 3); + $lastMonth = $dt->month; + $year = $dt->year; + $dt->firstOfQuarter()->modify('+'.$nth.' '.static::$days[$dayOfWeek]); + + return ($lastMonth < $dt->month || $year !== $dt->year) ? false : $this->modify($dt); + } + + /** + * Modify to the first occurrence of a given day of the week + * in the current year. If no dayOfWeek is provided, modify to the + * first day of the current year. Use the supplied consts + * to indicate the desired dayOfWeek, ex. static::MONDAY. + * + * @param int|null $dayOfWeek + * + * @return static + */ + public function firstOfYear($dayOfWeek = null) + { + return $this->month(1)->firstOfMonth($dayOfWeek); + } + + /** + * Modify to the last occurrence of a given day of the week + * in the current year. If no dayOfWeek is provided, modify to the + * last day of the current year. Use the supplied consts + * to indicate the desired dayOfWeek, ex. static::MONDAY. + * + * @param int|null $dayOfWeek + * + * @return static + */ + public function lastOfYear($dayOfWeek = null) + { + return $this->month(static::MONTHS_PER_YEAR)->lastOfMonth($dayOfWeek); + } + + /** + * Modify to the given occurrence of a given day of the week + * in the current year. If the calculated occurrence is outside the scope + * of the current year, then return false and no modifications are made. + * Use the supplied consts to indicate the desired dayOfWeek, ex. static::MONDAY. + * + * @param int $nth + * @param int $dayOfWeek + * + * @return mixed + */ + public function nthOfYear($nth, $dayOfWeek) + { + $dt = $this->copy()->firstOfYear()->modify('+'.$nth.' '.static::$days[$dayOfWeek]); + + return $this->year === $dt->year ? $this->modify($dt) : false; + } + + /** + * Modify the current instance to the average of a given instance (default now) and the current instance. + * + * @param Carbon|null $dt + * + * @return static + */ + public function average(Carbon $dt = null) + { + $dt = $dt ?: static::now($this->tz); + + return $this->addSeconds((int) ($this->diffInSeconds($dt, false) / 2)); + } + + /** + * Check if its the birthday. Compares the date/month values of the two dates. + * + * @param Carbon|null $dt The instance to compare with or null to use current day. + * + * @return bool + */ + public function isBirthday(Carbon $dt = null) + { + $dt = $dt ?: static::now($this->tz); + + return $this->format('md') === $dt->format('md'); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/CarbonInterval.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/CarbonInterval.php new file mode 100644 index 0000000..05f00a4 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/CarbonInterval.php @@ -0,0 +1,523 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Carbon; + +use DateInterval; +use InvalidArgumentException; +use Symfony\Component\Translation\Translator; +use Symfony\Component\Translation\TranslatorInterface; +use Symfony\Component\Translation\Loader\ArrayLoader; + +/** + * A simple API extension for DateInterval. + * The implemenation provides helpers to handle weeks but only days are saved. + * Weeks are calculated based on the total days of the current instance. + * + * @property int $years Total years of the current interval. + * @property int $months Total months of the current interval. + * @property int $weeks Total weeks of the current interval calculated from the days. + * @property int $dayz Total days of the current interval (weeks * 7 + days). + * @property int $hours Total hours of the current interval. + * @property int $minutes Total minutes of the current interval. + * @property int $seconds Total seconds of the current interval. + * + * @property-read integer $dayzExcludeWeeks Total days remaining in the final week of the current instance (days % 7). + * @property-read integer $daysExcludeWeeks alias of dayzExcludeWeeks + * + * @method static CarbonInterval years($years = 1) Create instance specifying a number of years. + * @method static CarbonInterval year($years = 1) Alias for years() + * @method static CarbonInterval months($months = 1) Create instance specifying a number of months. + * @method static CarbonInterval month($months = 1) Alias for months() + * @method static CarbonInterval weeks($weeks = 1) Create instance specifying a number of weeks. + * @method static CarbonInterval week($weeks = 1) Alias for weeks() + * @method static CarbonInterval days($days = 1) Create instance specifying a number of days. + * @method static CarbonInterval dayz($days = 1) Alias for days() + * @method static CarbonInterval day($days = 1) Alias for days() + * @method static CarbonInterval hours($hours = 1) Create instance specifying a number of hours. + * @method static CarbonInterval hour($hours = 1) Alias for hours() + * @method static CarbonInterval minutes($minutes = 1) Create instance specifying a number of minutes. + * @method static CarbonInterval minute($minutes = 1) Alias for minutes() + * @method static CarbonInterval seconds($seconds = 1) Create instance specifying a number of seconds. + * @method static CarbonInterval second($seconds = 1) Alias for seconds() + * @method CarbonInterval years() years($years = 1) Set the years portion of the current interval. + * @method CarbonInterval year() year($years = 1) Alias for years(). + * @method CarbonInterval months() months($months = 1) Set the months portion of the current interval. + * @method CarbonInterval month() month($months = 1) Alias for months(). + * @method CarbonInterval weeks() weeks($weeks = 1) Set the weeks portion of the current interval. Will overwrite dayz value. + * @method CarbonInterval week() week($weeks = 1) Alias for weeks(). + * @method CarbonInterval days() days($days = 1) Set the days portion of the current interval. + * @method CarbonInterval dayz() dayz($days = 1) Alias for days(). + * @method CarbonInterval day() day($days = 1) Alias for days(). + * @method CarbonInterval hours() hours($hours = 1) Set the hours portion of the current interval. + * @method CarbonInterval hour() hour($hours = 1) Alias for hours(). + * @method CarbonInterval minutes() minutes($minutes = 1) Set the minutes portion of the current interval. + * @method CarbonInterval minute() minute($minutes = 1) Alias for minutes(). + * @method CarbonInterval seconds() seconds($seconds = 1) Set the seconds portion of the current interval. + * @method CarbonInterval second() second($seconds = 1) Alias for seconds(). + */ +class CarbonInterval extends DateInterval +{ + /** + * Interval spec period designators + */ + const PERIOD_PREFIX = 'P'; + const PERIOD_YEARS = 'Y'; + const PERIOD_MONTHS = 'M'; + const PERIOD_DAYS = 'D'; + const PERIOD_TIME_PREFIX = 'T'; + const PERIOD_HOURS = 'H'; + const PERIOD_MINUTES = 'M'; + const PERIOD_SECONDS = 'S'; + + /** + * A translator to ... er ... translate stuff + * + * @var TranslatorInterface + */ + protected static $translator; + + /** + * Before PHP 5.4.20/5.5.4 instead of FALSE days will be set to -99999 when the interval instance + * was created by DateTime:diff(). + */ + const PHP_DAYS_FALSE = -99999; + + /** + * Determine if the interval was created via DateTime:diff() or not. + * + * @param DateInterval $interval + * + * @return bool + */ + private static function wasCreatedFromDiff(DateInterval $interval) + { + return $interval->days !== false && $interval->days !== static::PHP_DAYS_FALSE; + } + + /////////////////////////////////////////////////////////////////// + //////////////////////////// CONSTRUCTORS ///////////////////////// + /////////////////////////////////////////////////////////////////// + + /** + * Create a new CarbonInterval instance. + * + * @param int $years + * @param int $months + * @param int $weeks + * @param int $days + * @param int $hours + * @param int $minutes + * @param int $seconds + */ + public function __construct($years = 1, $months = null, $weeks = null, $days = null, $hours = null, $minutes = null, $seconds = null) + { + $spec = static::PERIOD_PREFIX; + + $spec .= $years > 0 ? $years.static::PERIOD_YEARS : ''; + $spec .= $months > 0 ? $months.static::PERIOD_MONTHS : ''; + + $specDays = 0; + $specDays += $weeks > 0 ? $weeks * Carbon::DAYS_PER_WEEK : 0; + $specDays += $days > 0 ? $days : 0; + + $spec .= $specDays > 0 ? $specDays.static::PERIOD_DAYS : ''; + + if ($hours > 0 || $minutes > 0 || $seconds > 0) { + $spec .= static::PERIOD_TIME_PREFIX; + $spec .= $hours > 0 ? $hours.static::PERIOD_HOURS : ''; + $spec .= $minutes > 0 ? $minutes.static::PERIOD_MINUTES : ''; + $spec .= $seconds > 0 ? $seconds.static::PERIOD_SECONDS : ''; + } + + if ($spec === static::PERIOD_PREFIX) { + // Allow the zero interval. + $spec .= '0'.static::PERIOD_YEARS; + } + + parent::__construct($spec); + } + + /** + * Create a new CarbonInterval instance from specific values. + * This is an alias for the constructor that allows better fluent + * syntax as it allows you to do CarbonInterval::create(1)->fn() rather than + * (new CarbonInterval(1))->fn(). + * + * @param int $years + * @param int $months + * @param int $weeks + * @param int $days + * @param int $hours + * @param int $minutes + * @param int $seconds + * + * @return static + */ + public static function create($years = 1, $months = null, $weeks = null, $days = null, $hours = null, $minutes = null, $seconds = null) + { + return new static($years, $months, $weeks, $days, $hours, $minutes, $seconds); + } + + /** + * Provide static helpers to create instances. Allows CarbonInterval::years(3). + * + * Note: This is done using the magic method to allow static and instance methods to + * have the same names. + * + * @param string $name + * @param array $args + * + * @return static + */ + public static function __callStatic($name, $args) + { + $arg = count($args) === 0 ? 1 : $args[0]; + + switch ($name) { + case 'years': + case 'year': + return new static($arg); + + case 'months': + case 'month': + return new static(null, $arg); + + case 'weeks': + case 'week': + return new static(null, null, $arg); + + case 'days': + case 'dayz': + case 'day': + return new static(null, null, null, $arg); + + case 'hours': + case 'hour': + return new static(null, null, null, null, $arg); + + case 'minutes': + case 'minute': + return new static(null, null, null, null, null, $arg); + + case 'seconds': + case 'second': + return new static(null, null, null, null, null, null, $arg); + } + } + + /** + * Create a CarbonInterval instance from a DateInterval one. Can not instance + * DateInterval objects created from DateTime::diff() as you can't externally + * set the $days field. + * + * @param DateInterval $di + * + * @throws InvalidArgumentException + * + * @return static + */ + public static function instance(DateInterval $di) + { + if (static::wasCreatedFromDiff($di)) { + throw new InvalidArgumentException("Can not instance a DateInterval object created from DateTime::diff()."); + } + + $instance = new static($di->y, $di->m, 0, $di->d, $di->h, $di->i, $di->s); + $instance->invert = $di->invert; + $instance->days = $di->days; + + return $instance; + } + + /////////////////////////////////////////////////////////////////// + /////////////////////// LOCALIZATION ////////////////////////////// + /////////////////////////////////////////////////////////////////// + + /** + * Intialize the translator instance if necessary. + * + * @return TranslatorInterface + */ + protected static function translator() + { + if (static::$translator === null) { + static::$translator = new Translator('en'); + static::$translator->addLoader('array', new ArrayLoader()); + static::setLocale('en'); + } + + return static::$translator; + } + + /** + * Get the translator instance in use + * + * @return TranslatorInterface + */ + public static function getTranslator() + { + return static::translator(); + } + + /** + * Set the translator instance to use + * + * @param TranslatorInterface $translator + */ + public static function setTranslator(TranslatorInterface $translator) + { + static::$translator = $translator; + } + + /** + * Get the current translator locale + * + * @return string + */ + public static function getLocale() + { + return static::translator()->getLocale(); + } + + /** + * Set the current translator locale + * + * @param string $locale + */ + public static function setLocale($locale) + { + static::translator()->setLocale($locale); + + // Ensure the locale has been loaded. + static::translator()->addResource('array', require __DIR__.'/Lang/'.$locale.'.php', $locale); + } + + /////////////////////////////////////////////////////////////////// + ///////////////////////// GETTERS AND SETTERS ///////////////////// + /////////////////////////////////////////////////////////////////// + + /** + * Get a part of the CarbonInterval object + * + * @param string $name + * + * @throws InvalidArgumentException + * + * @return int + */ + public function __get($name) + { + switch ($name) { + case 'years': + return $this->y; + + case 'months': + return $this->m; + + case 'dayz': + return $this->d; + + case 'hours': + return $this->h; + + case 'minutes': + return $this->i; + + case 'seconds': + return $this->s; + + case 'weeks': + return (int)floor($this->d / Carbon::DAYS_PER_WEEK); + + case 'daysExcludeWeeks': + case 'dayzExcludeWeeks': + return $this->d % Carbon::DAYS_PER_WEEK; + + default: + throw new InvalidArgumentException(sprintf("Unknown getter '%s'", $name)); + } + } + + /** + * Set a part of the CarbonInterval object + * + * @param string $name + * @param int $val + * + * @throws InvalidArgumentException + */ + public function __set($name, $val) + { + switch ($name) { + case 'years': + $this->y = $val; + break; + + case 'months': + $this->m = $val; + break; + + case 'weeks': + $this->d = $val * Carbon::DAYS_PER_WEEK; + break; + + case 'dayz': + $this->d = $val; + break; + + case 'hours': + $this->h = $val; + break; + + case 'minutes': + $this->i = $val; + break; + + case 'seconds': + $this->s = $val; + break; + } + } + + /** + * Allow setting of weeks and days to be cumulative. + * + * @param int $weeks Number of weeks to set + * @param int $days Number of days to set + * + * @return static + */ + public function weeksAndDays($weeks, $days) + { + $this->dayz = ($weeks * Carbon::DAYS_PER_WEEK) + $days; + + return $this; + } + + /** + * Allow fluent calls on the setters... CarbonInterval::years(3)->months(5)->day(). + * + * Note: This is done using the magic method to allow static and instance methods to + * have the same names. + * + * @param string $name + * @param array $args + * + * @return static + */ + public function __call($name, $args) + { + $arg = count($args) === 0 ? 1 : $args[0]; + + switch ($name) { + case 'years': + case 'year': + $this->years = $arg; + break; + + case 'months': + case 'month': + $this->months = $arg; + break; + + case 'weeks': + case 'week': + $this->dayz = $arg * Carbon::DAYS_PER_WEEK; + break; + + case 'days': + case 'dayz': + case 'day': + $this->dayz = $arg; + break; + + case 'hours': + case 'hour': + $this->hours = $arg; + break; + + case 'minutes': + case 'minute': + $this->minutes = $arg; + break; + + case 'seconds': + case 'second': + $this->seconds = $arg; + break; + } + + return $this; + } + + /** + * Get the current interval in a human readable format in the current locale. + * + * @return string + */ + public function forHumans() + { + $periods = array( + 'year' => $this->years, + 'month' => $this->months, + 'week' => $this->weeks, + 'day' => $this->daysExcludeWeeks, + 'hour' => $this->hours, + 'minute' => $this->minutes, + 'second' => $this->seconds, + ); + + $parts = array(); + foreach ($periods as $unit => $count) { + if ($count > 0) { + array_push($parts, static::translator()->transChoice($unit, $count, array(':count' => $count))); + } + } + + return implode(' ', $parts); + } + + /** + * Format the instance as a string using the forHumans() function. + * + * @return string + */ + public function __toString() + { + return $this->forHumans(); + } + + /** + * Add the passed interval to the current instance + * + * @param DateInterval $interval + * + * @return static + */ + public function add(DateInterval $interval) + { + $sign = $interval->invert === 1 ? -1 : 1; + + if (static::wasCreatedFromDiff($interval)) { + $this->dayz = $this->dayz + $interval->days * $sign; + } else { + $this->years = $this->years + $interval->y * $sign; + $this->months = $this->months + $interval->m * $sign; + $this->dayz = $this->dayz + $interval->d * $sign; + $this->hours = $this->hours + $interval->h * $sign; + $this->minutes = $this->minutes + $interval->i * $sign; + $this->seconds = $this->seconds + $interval->s * $sign; + } + + return $this; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/af.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/af.php new file mode 100644 index 0000000..86ab541 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/af.php @@ -0,0 +1,28 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +/** + * Translation messages. See http://symfony.com/doc/current/book/translation.html + * for possible formats. + */ +return array( + 'year' => '1 jaar|:count jare', + 'month' => '1 maand|:count maande', + 'week' => '1 week|:count weke', + 'day' => '1 dag|:count dae', + 'hour' => '1 uur|:count ure', + 'minute' => '1 minuut|:count minute', + 'second' => '1 sekond|:count sekondes', + 'ago' => ':time terug', + 'from_now' => ':time van nou af', + 'after' => ':time na', + 'before' => ':time voor', +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/ar.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/ar.php new file mode 100644 index 0000000..76b2772 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/ar.php @@ -0,0 +1,31 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +/** + * Translation messages. See http://symfony.com/doc/current/book/translation.html + * for possible formats. + */ +/** + * Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/ar/date.php + */ + +return array( + 'year' => '{0}سنة|{1}سنة|{2}سنتين|[3,10]:count سنوات|[11,Inf]:count سنة', + 'month' => '{0}شهر|{1} شهر|{2}شهرين|[3,10]:count أشهر|[11,Inf]:count شهر', + 'week' => '{0}إسبوع|{1}إسبوع|{2}إسبوعين|[3,10]:count أسابيع|[11,Inf]:count إسبوع', + 'day' => '{0}يوم|{1}يوم|{2}يومين|[3,10]:count أيام|[11,Inf] يوم', + 'hour' => '{0}ساعة|{1}ساعة|{2}ساعتين|[3,10]:count ساعات|[11,Inf]:count ساعة', + 'minute' => '{0}دقيقة|{1}دقيقة|{2}دقيقتين|[3,10]:count دقائق|[11,Inf]:count دقيقة', + 'second' => '{0}ثانية|{1}ثانية|{2}ثانيتين|[3,10]:count ثوان|[11,Inf]:count ثانية', + 'ago' => 'منذ :time', + 'from_now' => 'من الآن :time', + 'after' => 'بعد :time', + 'before' => 'قبل :time', +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/az.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/az.php new file mode 100644 index 0000000..455d262 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/az.php @@ -0,0 +1,29 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +/** + * Translation messages. See http://symfony.com/doc/current/book/translation.html + * for possible formats. + */ +/** + * Extracted from https://github.com/The-Hasanov/laravel-date/blob/1006f37c431178b5c7219d02c93579c9690ae546/src/Lang/az.php + */ +return array( + 'year' => ':count il', + 'month' => ':count ay', + 'week' => ':count həftə', + 'day' => ':count gün', + 'hour' => ':count saat', + 'minute' => ':count dəqiqə', + 'second' => ':count saniyə', + 'ago' => ':time öncə', + 'from_now' => ':time sonra', + 'after' => ':time sonra', + 'before' => ':time öncə' +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/bg.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/bg.php new file mode 100644 index 0000000..d70d780 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/bg.php @@ -0,0 +1,31 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +/** + * Translation messages. See http://symfony.com/doc/current/book/translation.html + * for possible formats. + */ +/** + * Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/bg/date.php + */ + +return array( + 'year' => '1 година|:count години', + 'month' => '1 месец|:count месеца', + 'week' => '1 седмица|:count седмици', + 'day' => '1 ден|:count дни', + 'hour' => '1 час|:count часа', + 'minute' => '1 минута|:count минути', + 'second' => '1 секунда|:count секунди', + 'ago' => 'преди :time', + 'from_now' => ':time от сега', + 'after' => 'след :time', + 'before' => 'преди :time', +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/bn.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/bn.php new file mode 100644 index 0000000..41357cd --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/bn.php @@ -0,0 +1,29 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +/** + * Translation messages. See http://symfony.com/doc/current/book/translation.html + * for possible formats. + */ +/** + * Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/eu/date.php + */ +return array( + 'year' => '১ বছর|:count বছর', + 'month' => '১ মাস|:count মাস', + 'week' => '১ সপ্তাহ|:count সপ্তাহ', + 'day' => '১ দিন|:count দিন', + 'hour' => '১ ঘন্টা|:count ঘন্টা', + 'minute' => '১ মিনিট|:count মিনিট', + 'second' => '১ সেকেন্ড|:count সেকেন্ড', + 'ago' => ':time পূর্বে', + 'from_now' => 'এখন থেকে :time', + 'after' => ':time পরে', + 'before' => ':time আগে', +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/ca.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/ca.php new file mode 100644 index 0000000..8145161 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/ca.php @@ -0,0 +1,29 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +/** + * Translation messages. See http://symfony.com/doc/current/book/translation.html + * for possible formats. + */ +/** + * Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/ca/date.php + */ +return array( + 'year' => '1 any|:count anys', + 'month' => '1 mes|:count mesos', + 'week' => '1 setmana|:count setmanes', + 'day' => '1 dia|:count díes', + 'hour' => '1 hora|:count hores', + 'minute' => '1 minut|:count minuts', + 'second' => '1 segon|:count segons', + 'ago' => 'Fa :time', + 'from_now' => 'Dins de :time', + 'after' => ':time després', + 'before' => ':time abans', +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/cs.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/cs.php new file mode 100644 index 0000000..26a78b3 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/cs.php @@ -0,0 +1,29 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +/** + * Translation messages. See http://symfony.com/doc/current/book/translation.html + * for possible formats. + */ +/** + * Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/cs/date.php + */ +return array( + 'year' => '1 rok|:count roky|:count let', + 'month' => '1 měsíc|:count měsíce|:count měsíců', + 'week' => '1 týden|:count týdny|:count týdnů', + 'day' => '1 den|:count dny|:count dní', + 'hour' => '1 hodinu|:count hodiny|:count hodin', + 'minute' => '1 minutu|:count minuty|:count minut', + 'second' => '1 sekundu|:count sekundy|:count sekund', + 'ago' => 'před :time', + 'from_now' => 'za :time', + 'after' => ':time později', + 'before' => ':time předtím', +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/da.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/da.php new file mode 100644 index 0000000..d5c6a0a --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/da.php @@ -0,0 +1,28 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +/** + * Translation messages. See http://symfony.com/doc/current/book/translation.html + * for possible formats. + */ +return array( + 'year' => '1 år|:count år', + 'month' => '1 måned|:count måneder', + 'week' => '1 uge|:count uger', + 'day' => '1 dag|:count dage', + 'hour' => '1 time|:count timer', + 'minute' => '1 minut|:count minutter', + 'second' => '1 sekund|:count sekunder', + 'ago' => ':time siden', + 'from_now' => 'om :time', + 'after' => ':time efter', + 'before' => ':time før', +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/de.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/de.php new file mode 100644 index 0000000..bf0af71 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/de.php @@ -0,0 +1,38 @@ + + * + * This file is released under the terms of CC0. + * CC0 is even more permissive than the MIT license, allowing you to use the code in + * any manner you want, without any copyright headers, notices, or other attribution. + */ + +/** + * Translation messages. See http://symfony.com/doc/current/book/translation.html + * for possible formats. + */ +return array( + 'year' => '1 Jahr|:count Jahre', + 'month' => '1 Monat|:count Monate', + 'week' => '1 Woche|:count Wochen', + 'day' => '1 Tag|:count Tage', + 'hour' => '1 Stunde|:count Stunden', + 'minute' => '1 Minute|:count Minuten', + 'second' => '1 Sekunde|:count Sekunden', + 'ago' => 'vor :time', + 'from_now' => 'in :time', + 'after' => ':time später', + 'before' => ':time zuvor', + + 'year_from_now' => '1 Jahr|:count Jahren', + 'month_from_now' => '1 Monat|:count Monaten', + 'week_from_now' => '1 Woche|:count Wochen', + 'day_from_now' => '1 Tag|:count Tagen', + 'year_ago' => '1 Jahr|:count Jahren', + 'month_ago' => '1 Monat|:count Monaten', + 'week_ago' => '1 Woche|:count Wochen', + 'day_ago' => '1 Tag|:count Tagen', +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/el.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/el.php new file mode 100644 index 0000000..1ecb271 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/el.php @@ -0,0 +1,29 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +/** + * Translation messages. See http://symfony.com/doc/current/book/translation.html + * for possible formats. + */ +/** + * Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/el/date.php + */ +return array( + 'year' => '1 χρόνος|:count χρόνια', + 'month' => '1 μήνας|:count μήνες', + 'week' => '1 εβδομάδα|:count εβδομάδες', + 'day' => '1 μέρα|:count μέρες', + 'hour' => '1 ώρα|:count ώρες', + 'minute' => '1 λεπτό|:count λεπτά', + 'second' => '1 δευτερόλεπτο|:count δευτερόλεπτα', + 'ago' => 'πρίν απο :time', + 'from_now' => 'σε :time απο τώρα', + 'after' => ':time μετά', + 'before' => ':time πρίν' +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/en.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/en.php new file mode 100644 index 0000000..e0ad273 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/en.php @@ -0,0 +1,28 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +/** + * Translation messages. See http://symfony.com/doc/current/book/translation.html + * for possible formats. + */ +return array( + 'year' => '1 year|:count years', + 'month' => '1 month|:count months', + 'week' => '1 week|:count weeks', + 'day' => '1 day|:count days', + 'hour' => '1 hour|:count hours', + 'minute' => '1 minute|:count minutes', + 'second' => '1 second|:count seconds', + 'ago' => ':time ago', + 'from_now' => ':time from now', + 'after' => ':time after', + 'before' => ':time before', +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/eo.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/eo.php new file mode 100644 index 0000000..3175a27 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/eo.php @@ -0,0 +1,29 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +/** + * Translation messages. See http://symfony.com/doc/current/book/translation.html + * for possible formats. + */ +/** + * Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/eo/date.php + */ +return array( + 'year' => '1 jaro|:count jaroj', + 'month' => '1 monato|:count monatoj', + 'week' => '1 semajno|:count semajnoj', + 'day' => '1 tago|:count tagoj', + 'hour' => '1 horo|:count horoj', + 'minute' => '1 minuto|:count minutoj', + 'second' => '1 sekundo|:count sekundoj', + 'ago' => 'antaŭ :time', + 'from_now' => 'je :time', + 'after' => ':time poste', + 'before' => ':time antaŭe' +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/es.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/es.php new file mode 100644 index 0000000..2da39a0 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/es.php @@ -0,0 +1,28 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +/** + * Translation messages. See http://symfony.com/doc/current/book/translation.html + * for possible formats. + */ +return array( + 'year' => '1 año|:count años', + 'month' => '1 mes|:count meses', + 'week' => '1 semana|:count semanas', + 'day' => '1 día|:count días', + 'hour' => '1 hora|:count horas', + 'minute' => '1 minuto|:count minutos', + 'second' => '1 segundo|:count segundos', + 'ago' => 'hace :time', + 'from_now' => 'dentro de :time', + 'after' => ':time después', + 'before' => ':time antes', +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/et.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/et.php new file mode 100644 index 0000000..68dfae6 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/et.php @@ -0,0 +1,30 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + * + */ +return array( + 'year' => '1 aasta|:count aastat', + 'month' => '1 kuu|:count kuud', + 'week' => '1 nädal|:count nädalat', + 'day' => '1 päev|:count päeva', + 'hour' => '1 tund|:count tundi', + 'minute' => '1 minut|:count minutit', + 'second' => '1 sekund|:count sekundit', + 'ago' => ':time tagasi', + 'from_now' => ':time pärast', + 'after' => ':time pärast', + 'before' => ':time enne', + 'year_from_now' => ':count aasta', + 'month_from_now' => ':count kuu', + 'week_from_now' => ':count nädala', + 'day_from_now' => ':count päeva', + 'hour_from_now' => ':count tunni', + 'minute_from_now' => ':count minuti', + 'second_from_now' => ':count sekundi', +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/eu.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/eu.php new file mode 100644 index 0000000..79c4d12 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/eu.php @@ -0,0 +1,29 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +/** + * Translation messages. See http://symfony.com/doc/current/book/translation.html + * for possible formats. + */ +/** + * Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/eu/date.php + */ +return array( + 'year' => 'Urte 1|:count urte', + 'month' => 'Hile 1|:count hile', + 'week' => 'Aste 1|:count aste', + 'day' => 'Egun 1|:count egun', + 'hour' => 'Ordu 1|:count ordu', + 'minute' => 'Minutu 1|:count minutu', + 'second' => 'Segundu 1|:count segundu', + 'ago' => 'Orain dela :time', + 'from_now' => ':time barru', + 'after' => ':time geroago', + 'before' => ':time lehenago' +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/fa.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/fa.php new file mode 100644 index 0000000..8b671da --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/fa.php @@ -0,0 +1,29 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +/** + * Translation messages. See http://symfony.com/doc/current/book/translation.html + * for possible formats. + */ + +return array( + 'year' => ':count سال', + 'month' => ':count ماه', + 'week' => ':count هفته', + 'day' => ':count روز', + 'hour' => ':count ساعت', + 'minute' => ':count دقیقه', + 'second' => ':count ثانیه', + 'ago' => ':time پیش', + 'from_now' => ':time بعد', + 'after' => ':time پیش از', + 'before' => ':time پس از', +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/fi.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/fi.php new file mode 100644 index 0000000..6198f99 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/fi.php @@ -0,0 +1,29 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +/** + * Translation messages. See http://symfony.com/doc/current/book/translation.html + * for possible formats. + */ +/** + * Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/fi/date.php + */ +return array( + 'year' => '1 vuosi|:count vuotta', + 'month' => '1 kuukausi|:count kuukautta', + 'week' => '1 viikko|:count viikkoa', + 'day' => '1 päivä|:count päivää', + 'hour' => '1 tunti|:count tuntia', + 'minute' => '1 minuutti|:count minuuttia', + 'second' => '1 sekunti|:count sekuntia', + 'ago' => ':time sitten', + 'from_now' => ':time tästä hetkestä', + 'after' => ':time sen jälkeen', + 'before' => ':time ennen' +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/fo.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/fo.php new file mode 100644 index 0000000..740f03b --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/fo.php @@ -0,0 +1,28 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +/** + * Translation messages. See http://symfony.com/doc/current/book/translation.html + * for possible formats. + */ +return array( + 'year' => '1 ár|:count ár', + 'month' => '1 mánaður|:count mánaðir', + 'week' => '1 vika|:count vikur', + 'day' => '1 dag|:count dagar', + 'hour' => '1 tími|:count tímar', + 'minute' => '1 minutt|:count minuttir', + 'second' => '1 sekund|:count sekundir', + 'ago' => ':time síðan', + 'from_now' => 'um :time', + 'after' => ':time aftaná', + 'before' => ':time áðrenn', +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/fr.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/fr.php new file mode 100644 index 0000000..298131a --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/fr.php @@ -0,0 +1,28 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +/** + * Translation messages. See http://symfony.com/doc/current/book/translation.html + * for possible formats. + */ +return array( + 'year' => '1 an|:count ans', + 'month' => ':count mois', + 'week' => '1 semaine|:count semaines', + 'day' => '1 jour|:count jours', + 'hour' => '1 heure|:count heures', + 'minute' => '1 minute|:count minutes', + 'second' => '1 seconde|:count secondes', + 'ago' => 'il y a :time', + 'from_now' => 'dans :time', + 'after' => ':time après', + 'before' => ':time avant', +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/he.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/he.php new file mode 100644 index 0000000..681915b --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/he.php @@ -0,0 +1,28 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +/** + * Translation messages. See http://symfony.com/doc/current/book/translation.html + * for possible formats. + */ +return array( + 'year' => 'שנה|{2}שנתיים|:count שנים', + 'month' => 'חודש|{2}חודשיים|:count חודשים', + 'week' => 'שבוע|{2}שבועיים|:count שבועות', + 'day' => 'יום|{2}יומיים|:count ימים', + 'hour' => 'שעה|{2}שעתיים|:count שעות', + 'minute' => 'דקה|{2}דקותיים|:count דקות', + 'second' => 'שניה|:count שניות', + 'ago' => 'לפני :time', + 'from_now' => 'בעוד :time', + 'after' => 'אחרי :time', + 'before' => 'לפני :time', +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/hr.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/hr.php new file mode 100644 index 0000000..ea21ced --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/hr.php @@ -0,0 +1,29 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +/** + * Translation messages. See http://symfony.com/doc/current/book/translation.html + * for possible formats. + */ +/** + * Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/hr/date.php + */ +return array( + 'year' => ':count godinu|:count godine|:count godina', + 'month' => ':count mjesec|:count mjeseca|:count mjeseci', + 'week' => ':count tjedan|:count tjedna|:count tjedana', + 'day' => ':count dan|:count dana|:count dana', + 'hour' => ':count sat|:count sata|:count sati', + 'minute' => ':count minutu|:count minute |:count minuta', + 'second' => ':count sekundu|:count sekunde|:count sekundi', + 'ago' => 'prije :time', + 'from_now' => 'za :time', + 'after' => 'za :time', + 'before' => 'prije :time' +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/hu.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/hu.php new file mode 100644 index 0000000..f30c0c8 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/hu.php @@ -0,0 +1,29 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +/** + * Translation messages. See http://symfony.com/doc/current/book/translation.html + * for possible formats. + */ +/** + * Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/hu/date.php + */ +return array( + 'year' => '1 évvel|:count évvel', + 'month' => '1 hónappal|:count hónappal', + 'week' => '1 héttel|:count héttel', + 'day' => '1 nappal|:count nappal', + 'hour' => '1 órával|:count órával', + 'minute' => '1 perccel|:count perccel', + 'second' => '1 másodperccel|:count másodperccel', + 'ago' => ':time korábban', + 'from_now' => ':time később', + 'after' => ':time később', + 'before' => ':time korábban' +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/id.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/id.php new file mode 100644 index 0000000..56757a5 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/id.php @@ -0,0 +1,29 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +/** + * Translation messages. See http://symfony.com/doc/current/book/translation.html + * for possible formats. + */ +/** + * Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/id/date.php + */ +return array( + 'year' => ':count tahun', + 'month' => ':count bulan', + 'week' => ':count minggu', + 'day' => ':count hari', + 'hour' => ':count jam', + 'minute' => ':count menit', + 'second' => ':count detik', + 'ago' => ':time yang lalu', + 'from_now' => ':time dari sekarang', + 'after' => ':time setelah', + 'before' => ':time sebelum' +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/it.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/it.php new file mode 100644 index 0000000..680e0f5 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/it.php @@ -0,0 +1,28 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +/** + * Translation messages. See http://symfony.com/doc/current/book/translation.html + * for possible formats. + */ +return array( + 'year' => '1 anno|:count anni', + 'month' => '1 mese|:count mesi', + 'week' => '1 settimana|:count settimane', + 'day' => '1 giorno|:count giorni', + 'hour' => '1 ora|:count ore', + 'minute' => '1 minuto|:count minuti', + 'second' => '1 secondo|:count secondi', + 'ago' => ':time fa', + 'from_now' => ':time da adesso', + 'after' => ':time dopo', + 'before' => ':time prima', +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/ja.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/ja.php new file mode 100644 index 0000000..66cbf90 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/ja.php @@ -0,0 +1,29 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +/** + * Translation messages. See http://symfony.com/doc/current/book/translation.html + * for possible formats. + */ +/** + * Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/ja/date.php + */ +return array( + 'year' => ':count 年', + 'month' => ':count ヶ月', + 'week' => ':count 週間', + 'day' => ':count 日', + 'hour' => ':count 時間', + 'minute' => ':count 分', + 'second' => ':count 秒', + 'ago' => ':time 前', + 'from_now' => '今から :time', + 'after' => ':time 後', + 'before' => ':time 前' +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/ko.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/ko.php new file mode 100644 index 0000000..fa863d9 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/ko.php @@ -0,0 +1,29 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +/** + * Translation messages. See http://symfony.com/doc/current/book/translation.html + * for possible formats. + */ +/** + * Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/cs/date.php + */ +return array( + 'year' => ':count 년', + 'month' => ':count 개월', + 'week' => ':count 주일', + 'day' => ':count 일', + 'hour' => ':count 시간', + 'minute' => ':count 분', + 'second' => ':count 초', + 'ago' => ':time 전', + 'from_now' => ':time 후', + 'after' => ':time 뒤', + 'before' => ':time 앞', +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/lt.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/lt.php new file mode 100644 index 0000000..af8ddcb --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/lt.php @@ -0,0 +1,29 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +/** + * Translation messages. See http://symfony.com/doc/current/book/translation.html + * for possible formats. + */ + +return array( + 'year' => '1 metus|:count metus|:count metų', + 'month' => '1 menesį|:count menesius|:count menesių', + 'week' => '1 savaitę|:count savaites|:count savaičių', + 'day' => '1 dieną|:count dienas|:count dienų', + 'hour' => '1 valandą|:count valandas|:count valandų', + 'minute' => '1 minutę|:count minutes|:count minučių', + 'second' => '1 sekundę|:count sekundes|:count sekundžių', + 'ago' => 'prieš :time', + 'from_now' => 'už :time', + 'after' => 'po :time', + 'before' => ':time nuo dabar', +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/lv.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/lv.php new file mode 100644 index 0000000..fb66c22 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/lv.php @@ -0,0 +1,43 @@ + '0 gadiem|:count gada|:count gadiem', + 'month' => '0 mēnešiem|:count mēneša|:count mēnešiem', + 'week' => '0 nedēļām|:count nedēļas|:count nedēļām', + 'day' => '0 dienām|:count dienas|:count dienām', + 'hour' => '0 stundām|:count stundas|:count stundām', + 'minute' => '0 minūtēm|:count minūtes|:count minūtēm', + 'second' => '0 sekundēm|:count sekundes|:count sekundēm', + 'ago' => 'pirms :time', + 'from_now' => 'pēc :time', + 'after' => ':time vēlāk', + 'before' => ':time pirms', + + 'year_after' => '0 gadus|:count gadu|:count gadus', + 'month_after' => '0 mēnešus|:count mēnesi|:count mēnešus', + 'week_after' => '0 nedēļas|:count nedēļu|:count nedēļas', + 'day_after' => '0 dienas|:count dienu|:count dienas', + 'hour_after' => '0 stundas|:count stundu|:count stundas', + 'minute_after' => '0 minūtes|:count minūti|:count minūtes', + 'second_after' => '0 sekundes|:count sekundi|:count sekundes', + + 'year_before' => '0 gadus|:count gadu|:count gadus', + 'month_before' => '0 mēnešus|:count mēnesi|:count mēnešus', + 'week_before' => '0 nedēļas|:count nedēļu|:count nedēļas', + 'day_before' => '0 dienas|:count dienu|:count dienas', + 'hour_before' => '0 stundas|:count stundu|:count stundas', + 'minute_before' => '0 minūtes|:count minūti|:count minūtes', + 'second_before' => '0 sekundes|:count sekundi|:count sekundes', +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/ms.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/ms.php new file mode 100644 index 0000000..90304f5 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/ms.php @@ -0,0 +1,26 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +/** + * Translation messages. See http://symfony.com/doc/current/book/translation.html + * for possible formats. + */ +return array( + 'year' => ':count tahun', + 'month' => ':count bulan', + 'week' => ':count minggu', + 'day' => ':count hari', + 'hour' => ':count jam', + 'minute' => ':count minit', + 'second' => ':count saat', + 'ago' => ':time yang lalu', + 'from_now' => ':time dari sekarang', + 'after' => ':time selepas', + 'before' => ':time sebelum', +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/nl.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/nl.php new file mode 100644 index 0000000..00cd194 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/nl.php @@ -0,0 +1,26 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +/** + * Translation messages. See http://symfony.com/doc/current/book/translation.html + * for possible formats. + */ +return array( + 'year' => '1 jaar|:count jaren', + 'month' => '1 maand|:count maanden', + 'week' => '1 week|:count weken', + 'day' => '1 dag|:count dagen', + 'hour' => ':count uur', + 'minute' => '1 minuut|:count minuten', + 'second' => '1 seconde|:count seconden', + 'ago' => ':time geleden', + 'from_now' => 'over :time', + 'after' => ':time later', + 'before' => ':time eerder', +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/no.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/no.php new file mode 100644 index 0000000..32a08c8 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/no.php @@ -0,0 +1,29 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +/** + * Translation messages. See http://symfony.com/doc/current/book/translation.html + * for possible formats. + */ +/** + * Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/no/date.php + */ +return array( + 'year' => '1 år|:count år', + 'month' => '1 måned|:count måneder', + 'week' => '1 uke|:count uker', + 'day' => '1 dag|:count dager', + 'hour' => '1 time|:count timer', + 'minute' => '1 minutt|:count minutter', + 'second' => '1 sekund|:count sekunder', + 'ago' => ':time siden', + 'from_now' => 'om :time', + 'after' => ':time etter', + 'before' => ':time før' +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/pl.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/pl.php new file mode 100644 index 0000000..1381d90 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/pl.php @@ -0,0 +1,29 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +/** + * Translation messages. See http://symfony.com/doc/current/book/translation.html + * for possible formats. + */ +/** + * Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/pl/date.php + */ +return array( + 'year' => '1 rok|:count lata|:count lat', + 'month' => '1 miesiąc|:count miesiące|:count miesięcy', + 'week' => '1 tydzień|:count tygodnie|:count tygodni', + 'day' => '1 dzień|:count dni|:count dni', + 'hour' => '1 godzina|:count godziny|:count godzin', + 'minute' => '1 minuta|:count minuty|:count minut', + 'second' => '1 sekunda|:count sekundy|:count sekund', + 'ago' => ':time temu', + 'from_now' => ':time od teraz', + 'after' => ':time przed', + 'before' => ':time po' +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/pt.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/pt.php new file mode 100644 index 0000000..4ee091f --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/pt.php @@ -0,0 +1,29 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +/** + * Translation messages. See http://symfony.com/doc/current/book/translation.html + * for possible formats. + */ +/** + * Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/pt/date.php + */ +return array( + 'year' => '1 ano|:count anos', + 'month' => '1 mês|:count meses', + 'week' => '1 semana|:count semanas', + 'day' => '1 dia|:count dias', + 'hour' => '1 hora|:count horas', + 'minute' => '1 minuto|:count minutos', + 'second' => '1 segundo|:count segundos', + 'ago' => ':time atrás', + 'from_now' => 'em :time', + 'after' => ':time depois', + 'before' => ':time antes' +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/pt_BR.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/pt_BR.php new file mode 100644 index 0000000..cd9a90e --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/pt_BR.php @@ -0,0 +1,26 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +/** + * Translation messages. See http://symfony.com/doc/current/book/translation.html + * for possible formats. + */ +return array( + 'year' => '1 ano|:count anos', + 'month' => '1 mês|:count meses', + 'week' => '1 semana|:count semanas', + 'day' => '1 dia|:count dias', + 'hour' => '1 hora|:count horas', + 'minute' => '1 minuto|:count minutos', + 'second' => '1 segundo|:count segundos', + 'ago' => 'há :time', + 'from_now' => 'dentro de :time', + 'after' => 'após :time', + 'before' => ':time atrás', +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/ro.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/ro.php new file mode 100644 index 0000000..bd812f0 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/ro.php @@ -0,0 +1,29 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +/** + * Translation messages. See http://symfony.com/doc/current/book/translation.html + * for possible formats. + */ +/** + * Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/ro/date.php + */ +return array( + 'year' => 'un an|:count ani|:count ani', + 'month' => 'o lună|:count luni|:count luni', + 'week' => 'o săptămână|:count săptămâni|:count săptămâni', + 'day' => 'o zi|:count zile|:count zile', + 'hour' => 'o oră|:count ore|:count ore', + 'minute' => 'un minut|:count minute|:count minute', + 'second' => 'o secundă|:count secunde|:count secunde', + 'ago' => 'acum :time', + 'from_now' => ':time de acum', + 'after' => 'peste :time', + 'before' => 'acum :time' +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/ru.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/ru.php new file mode 100644 index 0000000..c843c35 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/ru.php @@ -0,0 +1,29 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +/** + * Translation messages. See http://symfony.com/doc/current/book/translation.html + * for possible formats. + */ +/** + * Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/ru/date.php + */ +return array( + 'year' => ':count год|:count года|:count лет', + 'month' => ':count месяц|:count месяца|:count месяцев', + 'week' => ':count неделю|:count недели|:count недель', + 'day' => ':count день|:count дня|:count дней', + 'hour' => ':count час|:count часа|:count часов', + 'minute' => ':count минуту|:count минуты|:count минут', + 'second' => ':count секунду|:count секунды|:count секунд', + 'ago' => ':time назад', + 'from_now' => 'через :time', + 'after' => ':time после', + 'before' => ':time до' +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/sk.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/sk.php new file mode 100644 index 0000000..8729e45 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/sk.php @@ -0,0 +1,29 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +/** + * Translation messages. See http://symfony.com/doc/current/book/translation.html + * for possible formats. + */ +/** + * Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/sk/date.php + */ +return array( + 'year' => 'rok|:count roky|:count rokov', + 'month' => 'mesiac|:count mesiace|:count mesiacov', + 'week' => 'týždeň|:count týždne|:count týždňov', + 'day' => 'deň|:count dni|:count dní', + 'hour' => 'hodinu|:count hodiny|:count hodín', + 'minute' => 'minútu|:count minúty|:count minút', + 'second' => 'sekundu|:count sekundy|:count sekúnd', + 'ago' => 'pred :time', + 'from_now' => 'za :time', + 'after' => ':time neskôr', + 'before' => ':time predtým' +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/sl.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/sl.php new file mode 100644 index 0000000..8149a5d --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/sl.php @@ -0,0 +1,36 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +/** + * Translation messages. See http://symfony.com/doc/current/book/translation.html + * for possible formats. + */ +/** + * Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/sl/date.php + */ +return array( + 'year' => ':count leto|:count leti|:count leta|:count let', + 'month' => ':count mesec|:count meseca|:count mesece|:count mesecev', + 'week' => ':count teden|:count tedna|:count tedne|:count tednov', + 'day' => ':count dan|:count dni|:count dni|:count dni', + 'hour' => ':count uro|:count uri|:count ure|:count ur', + 'minute' => ':count minuto|:count minuti|:count minute|:count minut', + 'second' => ':count sekundo|:count sekundi|:count sekunde|:count sekund', + 'year_ago' => ':count letom|:count leti|:count leti|:count leti', + 'month_ago' => ':count mesecem|:count meseci|:count meseci|:count meseci', + 'week_ago' => ':count tednom|:count tednoma|:count tedni|:count tedni', + 'day_ago' => ':count dnem|:count dnevoma|:count dnevi|:count dnevi', + 'hour_ago' => ':count uro|:count urama|:count urami|:count urami', + 'minute_ago'=> ':count minuto|:count minutama|:count minutami|:count minutami', + 'second_ago'=> ':count sekundo|:count sekundama|:count sekundami|:count sekundami', + 'ago' => 'pred :time', + 'from_now' => 'čez :time', + 'after' => 'čez :time', + 'before' => 'pred :time' +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/sq.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/sq.php new file mode 100644 index 0000000..4778260 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/sq.php @@ -0,0 +1,28 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +/** + * Translation messages. See http://symfony.com/doc/current/book/translation.html + * for possible formats. + */ +return array( + 'year' => '1 vit|:count vjet', + 'month' => '1 muaj|:count muaj', + 'week' => '1 javë|:count javë', + 'day' => '1 ditë|:count ditë', + 'hour' => '1 orë|:count orë', + 'minute' => '1 minutë|:count minuta', + 'second' => '1 sekondë|:count sekonda', + 'ago' => ':time më parë', + 'from_now' => ':time nga tani', + 'after' => ':time pas', + 'before' => ':time para', +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/sr.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/sr.php new file mode 100644 index 0000000..af060fa --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/sr.php @@ -0,0 +1,29 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +/** + * Translation messages. See http://symfony.com/doc/current/book/translation.html + * for possible formats. + */ +/** + * Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/sr/date.php + */ +return array( + 'year' => ':count godina|:count godine|:count godina', + 'month' => ':count mesec|:count meseca|:count meseci', + 'week' => ':count nedelja|:count nedelje|:count nedelja', + 'day' => ':count dan|:count dana|:count dana', + 'hour' => ':count sat|:count sata|:count sati', + 'minute' => ':count minut|:count minuta |:count minuta', + 'second' => ':count sekund|:count sekunde|:count sekunde', + 'ago' => 'pre :time', + 'from_now' => ':time od sada', + 'after' => 'nakon :time', + 'before' => 'pre :time' +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/sv.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/sv.php new file mode 100644 index 0000000..54f61fc --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/sv.php @@ -0,0 +1,29 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +/** + * Translation messages. See http://symfony.com/doc/current/book/translation.html + * for possible formats. + */ +/** + * Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/sv/date.php + */ +return array( + 'year' => '1 år|:count år', + 'month' => '1 månad|:count månader', + 'week' => '1 vecka|:count veckor', + 'day' => '1 dag|:count dagar', + 'hour' => '1 timme|:count timmar', + 'minute' => '1 minut|:count minuter', + 'second' => '1 sekund|:count sekunder', + 'ago' => ':time sedan', + 'from_now' => 'om :time', + 'after' => ':time efter', + 'before' => ':time före' +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/th.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/th.php new file mode 100644 index 0000000..13459bc --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/th.php @@ -0,0 +1,29 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +/** + * Translation messages. See http://symfony.com/doc/current/book/translation.html + * for possible formats. + */ +/** + * Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/th/date.php + */ +return array( + 'year' => '1 ปี|:count ปี', + 'month' => '1 เดือน|:count เดือน', + 'week' => '1 สัปดาห์|:count สัปดาห์', + 'day' => '1 วัน|:count วัน', + 'hour' => '1 ชั่วโมง|:count ชั่วโมง', + 'minute' => '1 นาที|:count นาที', + 'second' => '1 วินาที|:count วินาที', + 'ago' => ':time ที่แล้ว', + 'from_now' => ':time จากนี้', + 'after' => 'หลัง:time', + 'before' => 'ก่อน:time' +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/tr.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/tr.php new file mode 100644 index 0000000..d7f5134 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/tr.php @@ -0,0 +1,28 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +/** + * Translation messages. See http://symfony.com/doc/current/book/translation.html + * for possible formats. + */ +return array( + 'year' => ':count yıl', + 'month' => ':count ay', + 'week' => ':count hafta', + 'day' => ':count gün', + 'hour' => ':count saat', + 'minute' => ':count dakika', + 'second' => ':count saniye', + 'ago' => ':time önce', + 'from_now' => ':time andan itibaren', + 'after' => ':time sonra', + 'before' => ':time önce', +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/uk.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/uk.php new file mode 100644 index 0000000..6a23d27 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/uk.php @@ -0,0 +1,29 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +/** + * Translation messages. See http://symfony.com/doc/current/book/translation.html + * for possible formats. + */ +/** + * Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/uk/date.php + */ +return array( + 'year' => ':count рік|:count роки|:count років', + 'month' => ':count місяць|:count місяці|:count місяців', + 'week' => ':count тиждень|:count тижні|:count тижнів', + 'day' => ':count день|:count дні|:count днів', + 'hour' => ':count година|:count години|:count годин', + 'minute' => ':count хвилину|:count хвилини|:count хвилин', + 'second' => ':count секунду|:count секунди|:count секунд', + 'ago' => ':time назад', + 'from_now' => 'через :time', + 'after' => ':time після', + 'before' => ':time до' +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/uz.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/uz.php new file mode 100644 index 0000000..d9a5efa --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/uz.php @@ -0,0 +1,27 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +/** + * Translation messages. See http://symfony.com/doc/current/book/translation.html + * for possible formats. + */ + +return array( + 'year' => ':count yil|:count yil|:count yil', + 'month' => ':count oy|:count oy|:count oylar', + 'week' => ':count hafta|:count hafta|:count hafta', + 'day' => ':count kun|:count kun|:count kun', + 'hour' => ':count soat|:count soat|:count soat', + 'minute' => ':count minut|:count minut|:count minut', + 'second' => ':count sekund|:count sekund|:count sekund', + 'ago' => ':time avval', + 'from_now' => 'keyin :time', + 'after' => ':time keyin', + 'before' => ':time gacha' +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/vi.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/vi.php new file mode 100644 index 0000000..e0e8dfc --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/vi.php @@ -0,0 +1,29 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +/** + * Translation messages. See http://symfony.com/doc/current/book/translation.html + * for possible formats. + */ +/** + * Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/vi/date.php + */ +return array( + 'year' => ':count năm', + 'month' => ':count tháng', + 'week' => ':count tuần', + 'day' => ':count ngày', + 'hour' => ':count giờ', + 'minute' => ':count phút', + 'second' => ':count giây', + 'ago' => ':time trước', + 'from_now' => ':time từ bây giờ', + 'after' => ':time sau', + 'before' => ':time trước' +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/zh-TW.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/zh-TW.php new file mode 100644 index 0000000..30f0825 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/zh-TW.php @@ -0,0 +1,29 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +/** + * Translation messages. See http://symfony.com/doc/current/book/translation.html + * for possible formats. + */ +/** + * Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/zh-TW/date.php + */ +return array( + 'year' => ':count 年', + 'month' => ':count 月', + 'week' => ':count 周', + 'day' => ':count 天', + 'hour' => ':count 小時', + 'minute' => ':count 分鐘', + 'second' => ':count 秒', + 'ago' => ':time前', + 'from_now' => '距現在 :time', + 'after' => ':time後', + 'before' => ':time前' +); diff --git a/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/zh.php b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/zh.php new file mode 100644 index 0000000..58ea74f --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/zh.php @@ -0,0 +1,29 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +/** + * Translation messages. See http://symfony.com/doc/current/book/translation.html + * for possible formats. + */ +/** + * Extracted from https://github.com/jenssegers/laravel-date/blob/master/src/lang/zh/date.php + */ +return array( + 'year' => ':count年', + 'month' => ':count月', + 'week' => ':count周', + 'day' => ':count天', + 'hour' => ':count小时', + 'minute' => ':count分钟', + 'second' => ':count秒', + 'ago' => ':time前', + 'from_now' => ':time距现在', + 'after' => ':time后', + 'before' => ':time前' +); diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/polyfill-mbstring/LICENSE b/wp-content/plugins/google-calendar-events/vendor/symfony/polyfill-mbstring/LICENSE new file mode 100644 index 0000000..ef1cde9 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/polyfill-mbstring/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2014-2015 Fabien Potencier + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is furnished +to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/polyfill-mbstring/Mbstring.php b/wp-content/plugins/google-calendar-events/vendor/symfony/polyfill-mbstring/Mbstring.php new file mode 100644 index 0000000..31f678b --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/polyfill-mbstring/Mbstring.php @@ -0,0 +1,604 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Polyfill\Mbstring; + +/** + * Partial mbstring implementation in PHP, iconv based, UTF-8 centric. + * + * Implemented: + * - mb_convert_encoding - Convert character encoding + * - mb_convert_variables - Convert character code in variable(s) + * - mb_decode_mimeheader - Decode string in MIME header field + * - mb_encode_mimeheader - Encode string for MIME header XXX NATIVE IMPLEMENTATION IS REALLY BUGGED + * - mb_convert_case - Perform case folding on a string + * - mb_get_info - Get internal settings of mbstring + * - mb_http_input - Detect HTTP input character encoding + * - mb_http_output - Set/Get HTTP output character encoding + * - mb_internal_encoding - Set/Get internal character encoding + * - mb_list_encodings - Returns an array of all supported encodings + * - mb_output_handler - Callback function converts character encoding in output buffer + * - mb_strlen - Get string length + * - mb_strpos - Find position of first occurrence of string in a string + * - mb_strrpos - Find position of last occurrence of a string in a string + * - mb_strtolower - Make a string lowercase + * - mb_strtoupper - Make a string uppercase + * - mb_substitute_character - Set/Get substitution character + * - mb_substr - Get part of string + * - mb_stripos - Finds position of first occurrence of a string within another, case insensitive + * - mb_stristr - Finds first occurrence of a string within another, case insensitive + * - mb_strrchr - Finds the last occurrence of a character in a string within another + * - mb_strrichr - Finds the last occurrence of a character in a string within another, case insensitive + * - mb_strripos - Finds position of last occurrence of a string within another, case insensitive + * - mb_strstr - Finds first occurrence of a string within anothers + * - mb_strwidth - Return width of string + * - mb_substr_count - Count the number of substring occurrences + * + * Not implemented: + * - mb_convert_kana - Convert "kana" one from another ("zen-kaku", "han-kaku" and more) + * - mb_decode_numericentity - Decode HTML numeric string reference to character + * - mb_encode_numericentity - Encode character to HTML numeric string reference + * - mb_ereg_* - Regular expression with multibyte support + * - mb_parse_str - Parse GET/POST/COOKIE data and set global variable + * - mb_preferred_mime_name - Get MIME charset string + * - mb_regex_encoding - Returns current encoding for multibyte regex as string + * - mb_regex_set_options - Set/Get the default options for mbregex functions + * - mb_send_mail - Send encoded mail + * - mb_split - Split multibyte string using regular expression + * - mb_strcut - Get part of string + * - mb_strimwidth - Get truncated string with specified width + * + * @author Nicolas Grekas + * + * @internal + */ +final class Mbstring +{ + const MB_CASE_FOLD = PHP_INT_MAX; + + private static $encodingList = array('ASCII', 'UTF-8'); + private static $language = 'neutral'; + private static $internalEncoding = 'UTF-8'; + private static $caseFold = array( + array('µ','ſ',"\xCD\x85",'ς',"\xCF\x90","\xCF\x91","\xCF\x95","\xCF\x96","\xCF\xB0","\xCF\xB1","\xCF\xB5","\xE1\xBA\x9B","\xE1\xBE\xBE"), + array('μ','s','ι', 'σ','β', 'θ', 'φ', 'π', 'κ', 'ρ', 'ε', "\xE1\xB9\xA1",'ι'), + ); + + public static function mb_convert_encoding($s, $toEncoding, $fromEncoding = null) + { + if (is_array($fromEncoding) || false !== strpos($fromEncoding, ',')) { + $fromEncoding = self::mb_detect_encoding($s, $fromEncoding); + } else { + $fromEncoding = self::getEncoding($fromEncoding); + } + + $toEncoding = self::getEncoding($toEncoding); + + if ('BASE64' === $fromEncoding) { + $s = base64_decode($s); + $fromEncoding = $toEncoding; + } + + if ('BASE64' === $toEncoding) { + return base64_encode($s); + } + + if ('HTML-ENTITIES' === $toEncoding || 'HTML' === $toEncoding) { + if ('HTML-ENTITIES' === $fromEncoding || 'HTML' === $fromEncoding) { + $fromEncoding = 'Windows-1252'; + } + if ('UTF-8' !== $fromEncoding) { + $s = iconv($fromEncoding, 'UTF-8', $s); + } + + return preg_replace_callback('/[\x80-\xFF]+/', array(__CLASS__, 'html_encoding_callback'), $s); + } + + if ('HTML-ENTITIES' === $fromEncoding) { + $s = html_entity_decode($s, ENT_COMPAT, 'UTF-8'); + $fromEncoding = 'UTF-8'; + } + + return iconv($fromEncoding, $toEncoding, $s); + } + + public static function mb_convert_variables($toEncoding, $fromEncoding, &$a = null, &$b = null, &$c = null, &$d = null, &$e = null, &$f = null) + { + $vars = array(&$a, &$b, &$c, &$d, &$e, &$f); + + $ok = true; + array_walk_recursive($vars, function (&$v) use (&$ok, $toEncoding, $fromEncoding) { + if (false === $v = Mbstring::mb_convert_encoding($v, $toEncoding, $fromEncoding)) { + $ok = false; + } + }); + + return $ok ? $fromEncoding : false; + } + + public static function mb_decode_mimeheader($s) + { + return iconv_mime_decode($s, 2, self::$internalEncoding); + } + + public static function mb_encode_mimeheader($s, $charset = null, $transferEncoding = null, $linefeed = null, $indent = null) + { + trigger_error('mb_encode_mimeheader() is bugged. Please use iconv_mime_encode() instead', E_USER_WARNING); + } + + public static function mb_convert_case($s, $mode, $encoding = null) + { + if ('' === $s .= '') { + return ''; + } + + $encoding = self::getEncoding($encoding); + + if ('UTF-8' === $encoding) { + $encoding = null; + } else { + $s = iconv($encoding, 'UTF-8', $s); + } + + if (MB_CASE_TITLE == $mode) { + $s = preg_replace_callback('/\b\p{Ll}/u', array(__CLASS__, 'title_case_upper'), $s); + $s = preg_replace_callback('/\B[\p{Lu}\p{Lt}]+/u', array(__CLASS__, 'title_case_lower'), $s); + } else { + if (MB_CASE_UPPER == $mode) { + static $upper = null; + if (null === $upper) { + $upper = self::getData('upperCase'); + } + $map = $upper; + } else { + if (self::MB_CASE_FOLD === $mode) { + $s = str_replace(self::$caseFold[0], self::$caseFold[1], $s); + } + + static $lower = null; + if (null === $lower) { + $lower = self::getData('lowerCase'); + } + $map = $lower; + } + + static $ulenMask = array("\xC0" => 2, "\xD0" => 2, "\xE0" => 3, "\xF0" => 4); + + $i = 0; + $len = strlen($s); + + while ($i < $len) { + $ulen = $s[$i] < "\x80" ? 1 : $ulenMask[$s[$i] & "\xF0"]; + $uchr = substr($s, $i, $ulen); + $i += $ulen; + + if (isset($map[$uchr])) { + $uchr = $map[$uchr]; + $nlen = strlen($uchr); + + if ($nlen == $ulen) { + $nlen = $i; + do { + $s[--$nlen] = $uchr[--$ulen]; + } while ($ulen); + } else { + $s = substr_replace($s, $uchr, $i - $ulen, $ulen); + $len += $nlen - $ulen; + $i += $nlen - $ulen; + } + } + } + } + + if (null === $encoding) { + return $s; + } + + return iconv('UTF-8', $encoding, $s); + } + + public static function mb_internal_encoding($encoding = null) + { + if (null === $encoding) { + return self::$internalEncoding; + } + + $encoding = self::getEncoding($encoding); + + if ('UTF-8' === $encoding || false !== @iconv($encoding, $encoding, ' ')) { + self::$internalEncoding = $encoding; + + return true; + } + + return false; + } + + public static function mb_language($lang = null) + { + if (null === $lang) { + return self::$language; + } + + switch ($lang = strtolower($lang)) { + case 'uni': + case 'neutral': + self::$language = $lang; + + return true; + } + + return false; + } + + public static function mb_list_encodings() + { + return array('UTF-8'); + } + + public static function mb_encoding_aliases($encoding) + { + switch (strtoupper($encoding)) { + case 'UTF8': + case 'UTF-8': + return array('utf8'); + } + + return false; + } + + public static function mb_check_encoding($var = null, $encoding = null) + { + if (null === $encoding) { + if (null === $var) { + return false; + } + $encoding = self::$internalEncoding; + } + + return self::mb_detect_encoding($var, array($encoding)) || false !== @iconv($encoding, $encoding, $var); + } + + public static function mb_detect_encoding($str, $encodingList = null, $strict = false) + { + if (null === $encodingList) { + $encodingList = self::$encodingList; + } else { + if (!is_array($encodingList)) { + $encodingList = array_map('trim', explode(',', $encodingList)); + } + $encodingList = array_map('strtoupper', $encodingList); + } + + foreach ($encodingList as $enc) { + switch ($enc) { + case 'ASCII': + if (!preg_match('/[\x80-\xFF]/', $str)) { + return $enc; + } + break; + + case 'UTF8': + case 'UTF-8': + if (preg_match('//u', $str)) { + return 'UTF-8'; + } + break; + + default: + if (0 === strncmp($enc, 'ISO-8859-', 9)) { + return $enc; + } + } + } + + return false; + } + + public static function mb_detect_order($encodingList = null) + { + if (null === $encodingList) { + return self::$encodingList; + } + + if (!is_array($encodingList)) { + $encodingList = array_map('trim', explode(',', $encodingList)); + } + $encodingList = array_map('strtoupper', $encodingList); + + foreach ($encodingList as $enc) { + switch ($enc) { + default: + if (strncmp($enc, 'ISO-8859-', 9)) { + return false; + } + case 'ASCII': + case 'UTF8': + case 'UTF-8': + } + } + + self::$encodingList = $encodingList; + + return true; + } + + public static function mb_strlen($s, $encoding = null) + { + $encoding = self::getEncoding($encoding); + + return iconv_strlen($s, $encoding); + } + + public static function mb_strpos($haystack, $needle, $offset = 0, $encoding = null) + { + $encoding = self::getEncoding($encoding); + + if ('' === $needle .= '') { + trigger_error(__METHOD__.': Empty delimiter', E_USER_WARNING); + + return false; + } + + return iconv_strpos($haystack, $needle, $offset, $encoding); + } + + public static function mb_strrpos($haystack, $needle, $offset = 0, $encoding = null) + { + $encoding = self::getEncoding($encoding); + + if ($offset != (int) $offset) { + $offset = 0; + } elseif ($offset = (int) $offset) { + if ($offset < 0) { + $haystack = self::mb_substr($haystack, 0, $offset, $encoding); + $offset = 0; + } else { + $haystack = self::mb_substr($haystack, $offset, 2147483647, $encoding); + } + } + + $pos = iconv_strrpos($haystack, $needle, $encoding); + + return false !== $pos ? $offset + $pos : false; + } + + public static function mb_strtolower($s, $encoding = null) + { + return self::mb_convert_case($s, MB_CASE_LOWER, $encoding); + } + + public static function mb_strtoupper($s, $encoding = null) + { + return self::mb_convert_case($s, MB_CASE_UPPER, $encoding); + } + + public static function mb_substitute_character($c = null) + { + if (0 === strcasecmp($c, 'none')) { + return true; + } + + return null !== $c ? false : 'none'; + } + + public static function mb_substr($s, $start, $length = null, $encoding = null) + { + $encoding = self::getEncoding($encoding); + + if ($start < 0) { + $start = iconv_strlen($s, $encoding) + $start; + if ($start < 0) { + $start = 0; + } + } + + if (null === $length) { + $length = 2147483647; + } elseif ($length < 0) { + $length = iconv_strlen($s, $encoding) + $length - $start; + if ($length < 0) { + return ''; + } + } + + return iconv_substr($s, $start, $length, $encoding).''; + } + + public static function mb_stripos($haystack, $needle, $offset = 0, $encoding = null) + { + $haystack = self::mb_convert_case($haystack, self::MB_CASE_FOLD, $encoding); + $needle = self::mb_convert_case($needle, self::MB_CASE_FOLD, $encoding); + + return self::mb_strpos($haystack, $needle, $offset, $encoding); + } + + public static function mb_stristr($haystack, $needle, $part = false, $encoding = null) + { + $pos = self::mb_stripos($haystack, $needle, 0, $encoding); + + return self::getSubpart($pos, $part, $haystack, $encoding); + } + + public static function mb_strrchr($haystack, $needle, $part = false, $encoding = null) + { + $encoding = self::getEncoding($encoding); + $needle = self::mb_substr($needle, 0, 1, $encoding); + $pos = iconv_strrpos($haystack, $needle, $encoding); + + return self::getSubpart($pos, $part, $haystack, $encoding); + } + + public static function mb_strrichr($haystack, $needle, $part = false, $encoding = null) + { + $needle = self::mb_substr($needle, 0, 1, $encoding); + $pos = self::mb_strripos($haystack, $needle, $encoding); + + return self::getSubpart($pos, $part, $haystack, $encoding); + } + + public static function mb_strripos($haystack, $needle, $offset = 0, $encoding = null) + { + $haystack = self::mb_convert_case($haystack, self::MB_CASE_FOLD, $encoding); + $needle = self::mb_convert_case($needle, self::MB_CASE_FOLD, $encoding); + + return self::mb_strrpos($haystack, $needle, $offset, $encoding); + } + + public static function mb_strstr($haystack, $needle, $part = false, $encoding = null) + { + $pos = strpos($haystack, $needle); + if (false === $pos) { + return false; + } + if ($part) { + return substr($haystack, 0, $pos); + } + + return substr($haystack, $pos); + } + + public static function mb_get_info($type = 'all') + { + $info = array( + 'internal_encoding' => self::$internalEncoding, + 'http_output' => 'pass', + 'http_output_conv_mimetypes' => '^(text/|application/xhtml\+xml)', + 'func_overload' => 0, + 'func_overload_list' => 'no overload', + 'mail_charset' => 'UTF-8', + 'mail_header_encoding' => 'BASE64', + 'mail_body_encoding' => 'BASE64', + 'illegal_chars' => 0, + 'encoding_translation' => 'Off', + 'language' => self::$language, + 'detect_order' => self::$encodingList, + 'substitute_character' => 'none', + 'strict_detection' => 'Off', + ); + + if ('all' === $type) { + return $info; + } + if (isset($info[$type])) { + return $info[$type]; + } + + return false; + } + + public static function mb_http_input($type = '') + { + return false; + } + + public static function mb_http_output($encoding = null) + { + return null !== $encoding ? 'pass' === $encoding : 'pass'; + } + + public static function mb_strwidth($s, $encoding = null) + { + $encoding = self::getEncoding($encoding); + + if ('UTF-8' !== $encoding) { + $s = iconv($encoding, 'UTF-8', $s); + } + + $s = preg_replace('/[\x{1100}-\x{115F}\x{2329}\x{232A}\x{2E80}-\x{303E}\x{3040}-\x{A4CF}\x{AC00}-\x{D7A3}\x{F900}-\x{FAFF}\x{FE10}-\x{FE19}\x{FE30}-\x{FE6F}\x{FF00}-\x{FF60}\x{FFE0}-\x{FFE6}\x{20000}-\x{2FFFD}\x{30000}-\x{3FFFD}]/u', '', $s, -1, $wide); + + return ($wide << 1) + iconv_strlen($s, 'UTF-8'); + } + + public static function mb_substr_count($haystack, $needle, $encoding = null) + { + return substr_count($haystack, $needle); + } + + public static function mb_output_handler($contents, $status) + { + return $contents; + } + + private static function getSubpart($pos, $part, $haystack, $encoding) + { + if (false === $pos) { + return false; + } + if ($part) { + return self::mb_substr($haystack, 0, $pos, $encoding); + } + + return self::mb_substr($haystack, $pos, null, $encoding); + } + + private static function html_encoding_callback($m) + { + $i = 1; + $entities = ''; + $m = unpack('C*', htmlentities($m[0], ENT_COMPAT, 'UTF-8')); + + while (isset($m[$i])) { + if (0x80 > $m[$i]) { + $entities .= chr($m[$i++]); + continue; + } + if (0xF0 <= $m[$i]) { + $c = (($m[$i++] - 0xF0) << 18) + (($m[$i++] - 0x80) << 12) + (($m[$i++] - 0x80) << 6) + $m[$i++] - 0x80; + } elseif (0xE0 <= $m[$i]) { + $c = (($m[$i++] - 0xE0) << 12) + (($m[$i++] - 0x80) << 6) + $m[$i++] - 0x80; + } else { + $c = (($m[$i++] - 0xC0) << 6) + $m[$i++] - 0x80; + } + + $entities .= '&#'.$c.';'; + } + + return $entities; + } + + private static function title_case_lower($s) + { + return self::mb_convert_case($s[0], MB_CASE_LOWER, 'UTF-8'); + } + + private static function title_case_upper($s) + { + return self::mb_convert_case($s[0], MB_CASE_UPPER, 'UTF-8'); + } + + private static function getData($file) + { + if (file_exists($file = __DIR__.'/Resources/unidata/'.$file.'.ser')) { + return unserialize(file_get_contents($file)); + } + + return false; + } + + private static function getEncoding($encoding) + { + if (null === $encoding) { + return self::$internalEncoding; + } + + $encoding = strtoupper($encoding); + + if ('8BIT' === $encoding || 'BINARY' === $encoding) { + return 'CP850'; + } + if ('UTF8' === $encoding) { + return 'UTF-8'; + } + + return $encoding; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/polyfill-mbstring/README.md b/wp-content/plugins/google-calendar-events/vendor/symfony/polyfill-mbstring/README.md new file mode 100644 index 0000000..091152f --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/polyfill-mbstring/README.md @@ -0,0 +1,13 @@ +Symfony Polyfill / Mbstring +=========================== + +This component provides a partial, native PHP implementation for the +[Mbstring](http://php.net/mbstring) extension. + +More information can be found in the +[main Polyfill README](https://github.com/symfony/polyfill/blob/master/README.md). + +License +======= + +This library is released under the [MIT license](LICENSE). \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/polyfill-mbstring/Resources/unidata/lowerCase.ser b/wp-content/plugins/google-calendar-events/vendor/symfony/polyfill-mbstring/Resources/unidata/lowerCase.ser new file mode 100644 index 0000000..13dabdd --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/polyfill-mbstring/Resources/unidata/lowerCase.ser @@ -0,0 +1 @@ +a:1092:{s:1:"A";s:1:"a";s:1:"B";s:1:"b";s:1:"C";s:1:"c";s:1:"D";s:1:"d";s:1:"E";s:1:"e";s:1:"F";s:1:"f";s:1:"G";s:1:"g";s:1:"H";s:1:"h";s:1:"I";s:1:"i";s:1:"J";s:1:"j";s:1:"K";s:1:"k";s:1:"L";s:1:"l";s:1:"M";s:1:"m";s:1:"N";s:1:"n";s:1:"O";s:1:"o";s:1:"P";s:1:"p";s:1:"Q";s:1:"q";s:1:"R";s:1:"r";s:1:"S";s:1:"s";s:1:"T";s:1:"t";s:1:"U";s:1:"u";s:1:"V";s:1:"v";s:1:"W";s:1:"w";s:1:"X";s:1:"x";s:1:"Y";s:1:"y";s:1:"Z";s:1:"z";s:2:"À";s:2:"à";s:2:"Á";s:2:"á";s:2:"Â";s:2:"â";s:2:"Ã";s:2:"ã";s:2:"Ä";s:2:"ä";s:2:"Å";s:2:"å";s:2:"Æ";s:2:"æ";s:2:"Ç";s:2:"ç";s:2:"È";s:2:"è";s:2:"É";s:2:"é";s:2:"Ê";s:2:"ê";s:2:"Ë";s:2:"ë";s:2:"Ì";s:2:"ì";s:2:"Í";s:2:"í";s:2:"Î";s:2:"î";s:2:"Ï";s:2:"ï";s:2:"Ð";s:2:"ð";s:2:"Ñ";s:2:"ñ";s:2:"Ò";s:2:"ò";s:2:"Ó";s:2:"ó";s:2:"Ô";s:2:"ô";s:2:"Õ";s:2:"õ";s:2:"Ö";s:2:"ö";s:2:"Ø";s:2:"ø";s:2:"Ù";s:2:"ù";s:2:"Ú";s:2:"ú";s:2:"Û";s:2:"û";s:2:"Ü";s:2:"ü";s:2:"Ý";s:2:"ý";s:2:"Þ";s:2:"þ";s:2:"Ā";s:2:"ā";s:2:"Ă";s:2:"ă";s:2:"Ą";s:2:"ą";s:2:"Ć";s:2:"ć";s:2:"Ĉ";s:2:"ĉ";s:2:"Ċ";s:2:"ċ";s:2:"Č";s:2:"č";s:2:"Ď";s:2:"ď";s:2:"Đ";s:2:"đ";s:2:"Ē";s:2:"ē";s:2:"Ĕ";s:2:"ĕ";s:2:"Ė";s:2:"ė";s:2:"Ę";s:2:"ę";s:2:"Ě";s:2:"ě";s:2:"Ĝ";s:2:"ĝ";s:2:"Ğ";s:2:"ğ";s:2:"Ġ";s:2:"ġ";s:2:"Ģ";s:2:"ģ";s:2:"Ĥ";s:2:"ĥ";s:2:"Ħ";s:2:"ħ";s:2:"Ĩ";s:2:"ĩ";s:2:"Ī";s:2:"ī";s:2:"Ĭ";s:2:"ĭ";s:2:"Į";s:2:"į";s:2:"İ";s:1:"i";s:2:"IJ";s:2:"ij";s:2:"Ĵ";s:2:"ĵ";s:2:"Ķ";s:2:"ķ";s:2:"Ĺ";s:2:"ĺ";s:2:"Ļ";s:2:"ļ";s:2:"Ľ";s:2:"ľ";s:2:"Ŀ";s:2:"ŀ";s:2:"Ł";s:2:"ł";s:2:"Ń";s:2:"ń";s:2:"Ņ";s:2:"ņ";s:2:"Ň";s:2:"ň";s:2:"Ŋ";s:2:"ŋ";s:2:"Ō";s:2:"ō";s:2:"Ŏ";s:2:"ŏ";s:2:"Ő";s:2:"ő";s:2:"Œ";s:2:"œ";s:2:"Ŕ";s:2:"ŕ";s:2:"Ŗ";s:2:"ŗ";s:2:"Ř";s:2:"ř";s:2:"Ś";s:2:"ś";s:2:"Ŝ";s:2:"ŝ";s:2:"Ş";s:2:"ş";s:2:"Š";s:2:"š";s:2:"Ţ";s:2:"ţ";s:2:"Ť";s:2:"ť";s:2:"Ŧ";s:2:"ŧ";s:2:"Ũ";s:2:"ũ";s:2:"Ū";s:2:"ū";s:2:"Ŭ";s:2:"ŭ";s:2:"Ů";s:2:"ů";s:2:"Ű";s:2:"ű";s:2:"Ų";s:2:"ų";s:2:"Ŵ";s:2:"ŵ";s:2:"Ŷ";s:2:"ŷ";s:2:"Ÿ";s:2:"ÿ";s:2:"Ź";s:2:"ź";s:2:"Ż";s:2:"ż";s:2:"Ž";s:2:"ž";s:2:"Ɓ";s:2:"ɓ";s:2:"Ƃ";s:2:"ƃ";s:2:"Ƅ";s:2:"ƅ";s:2:"Ɔ";s:2:"ɔ";s:2:"Ƈ";s:2:"ƈ";s:2:"Ɖ";s:2:"ɖ";s:2:"Ɗ";s:2:"ɗ";s:2:"Ƌ";s:2:"ƌ";s:2:"Ǝ";s:2:"ǝ";s:2:"Ə";s:2:"ə";s:2:"Ɛ";s:2:"ɛ";s:2:"Ƒ";s:2:"ƒ";s:2:"Ɠ";s:2:"ɠ";s:2:"Ɣ";s:2:"ɣ";s:2:"Ɩ";s:2:"ɩ";s:2:"Ɨ";s:2:"ɨ";s:2:"Ƙ";s:2:"ƙ";s:2:"Ɯ";s:2:"ɯ";s:2:"Ɲ";s:2:"ɲ";s:2:"Ɵ";s:2:"ɵ";s:2:"Ơ";s:2:"ơ";s:2:"Ƣ";s:2:"ƣ";s:2:"Ƥ";s:2:"ƥ";s:2:"Ʀ";s:2:"ʀ";s:2:"Ƨ";s:2:"ƨ";s:2:"Ʃ";s:2:"ʃ";s:2:"Ƭ";s:2:"ƭ";s:2:"Ʈ";s:2:"ʈ";s:2:"Ư";s:2:"ư";s:2:"Ʊ";s:2:"ʊ";s:2:"Ʋ";s:2:"ʋ";s:2:"Ƴ";s:2:"ƴ";s:2:"Ƶ";s:2:"ƶ";s:2:"Ʒ";s:2:"ʒ";s:2:"Ƹ";s:2:"ƹ";s:2:"Ƽ";s:2:"ƽ";s:2:"DŽ";s:2:"dž";s:2:"Dž";s:2:"dž";s:2:"LJ";s:2:"lj";s:2:"Lj";s:2:"lj";s:2:"NJ";s:2:"nj";s:2:"Nj";s:2:"nj";s:2:"Ǎ";s:2:"ǎ";s:2:"Ǐ";s:2:"ǐ";s:2:"Ǒ";s:2:"ǒ";s:2:"Ǔ";s:2:"ǔ";s:2:"Ǖ";s:2:"ǖ";s:2:"Ǘ";s:2:"ǘ";s:2:"Ǚ";s:2:"ǚ";s:2:"Ǜ";s:2:"ǜ";s:2:"Ǟ";s:2:"ǟ";s:2:"Ǡ";s:2:"ǡ";s:2:"Ǣ";s:2:"ǣ";s:2:"Ǥ";s:2:"ǥ";s:2:"Ǧ";s:2:"ǧ";s:2:"Ǩ";s:2:"ǩ";s:2:"Ǫ";s:2:"ǫ";s:2:"Ǭ";s:2:"ǭ";s:2:"Ǯ";s:2:"ǯ";s:2:"DZ";s:2:"dz";s:2:"Dz";s:2:"dz";s:2:"Ǵ";s:2:"ǵ";s:2:"Ƕ";s:2:"ƕ";s:2:"Ƿ";s:2:"ƿ";s:2:"Ǹ";s:2:"ǹ";s:2:"Ǻ";s:2:"ǻ";s:2:"Ǽ";s:2:"ǽ";s:2:"Ǿ";s:2:"ǿ";s:2:"Ȁ";s:2:"ȁ";s:2:"Ȃ";s:2:"ȃ";s:2:"Ȅ";s:2:"ȅ";s:2:"Ȇ";s:2:"ȇ";s:2:"Ȉ";s:2:"ȉ";s:2:"Ȋ";s:2:"ȋ";s:2:"Ȍ";s:2:"ȍ";s:2:"Ȏ";s:2:"ȏ";s:2:"Ȑ";s:2:"ȑ";s:2:"Ȓ";s:2:"ȓ";s:2:"Ȕ";s:2:"ȕ";s:2:"Ȗ";s:2:"ȗ";s:2:"Ș";s:2:"ș";s:2:"Ț";s:2:"ț";s:2:"Ȝ";s:2:"ȝ";s:2:"Ȟ";s:2:"ȟ";s:2:"Ƞ";s:2:"ƞ";s:2:"Ȣ";s:2:"ȣ";s:2:"Ȥ";s:2:"ȥ";s:2:"Ȧ";s:2:"ȧ";s:2:"Ȩ";s:2:"ȩ";s:2:"Ȫ";s:2:"ȫ";s:2:"Ȭ";s:2:"ȭ";s:2:"Ȯ";s:2:"ȯ";s:2:"Ȱ";s:2:"ȱ";s:2:"Ȳ";s:2:"ȳ";s:2:"Ⱥ";s:3:"ⱥ";s:2:"Ȼ";s:2:"ȼ";s:2:"Ƚ";s:2:"ƚ";s:2:"Ⱦ";s:3:"ⱦ";s:2:"Ɂ";s:2:"ɂ";s:2:"Ƀ";s:2:"ƀ";s:2:"Ʉ";s:2:"ʉ";s:2:"Ʌ";s:2:"ʌ";s:2:"Ɇ";s:2:"ɇ";s:2:"Ɉ";s:2:"ɉ";s:2:"Ɋ";s:2:"ɋ";s:2:"Ɍ";s:2:"ɍ";s:2:"Ɏ";s:2:"ɏ";s:2:"Ͱ";s:2:"ͱ";s:2:"Ͳ";s:2:"ͳ";s:2:"Ͷ";s:2:"ͷ";s:2:"Ϳ";s:2:"ϳ";s:2:"Ά";s:2:"ά";s:2:"Έ";s:2:"έ";s:2:"Ή";s:2:"ή";s:2:"Ί";s:2:"ί";s:2:"Ό";s:2:"ό";s:2:"Ύ";s:2:"ύ";s:2:"Ώ";s:2:"ώ";s:2:"Α";s:2:"α";s:2:"Β";s:2:"β";s:2:"Γ";s:2:"γ";s:2:"Δ";s:2:"δ";s:2:"Ε";s:2:"ε";s:2:"Ζ";s:2:"ζ";s:2:"Η";s:2:"η";s:2:"Θ";s:2:"θ";s:2:"Ι";s:2:"ι";s:2:"Κ";s:2:"κ";s:2:"Λ";s:2:"λ";s:2:"Μ";s:2:"μ";s:2:"Ν";s:2:"ν";s:2:"Ξ";s:2:"ξ";s:2:"Ο";s:2:"ο";s:2:"Π";s:2:"π";s:2:"Ρ";s:2:"ρ";s:2:"Σ";s:2:"σ";s:2:"Τ";s:2:"τ";s:2:"Υ";s:2:"υ";s:2:"Φ";s:2:"φ";s:2:"Χ";s:2:"χ";s:2:"Ψ";s:2:"ψ";s:2:"Ω";s:2:"ω";s:2:"Ϊ";s:2:"ϊ";s:2:"Ϋ";s:2:"ϋ";s:2:"Ϗ";s:2:"ϗ";s:2:"Ϙ";s:2:"ϙ";s:2:"Ϛ";s:2:"ϛ";s:2:"Ϝ";s:2:"ϝ";s:2:"Ϟ";s:2:"ϟ";s:2:"Ϡ";s:2:"ϡ";s:2:"Ϣ";s:2:"ϣ";s:2:"Ϥ";s:2:"ϥ";s:2:"Ϧ";s:2:"ϧ";s:2:"Ϩ";s:2:"ϩ";s:2:"Ϫ";s:2:"ϫ";s:2:"Ϭ";s:2:"ϭ";s:2:"Ϯ";s:2:"ϯ";s:2:"ϴ";s:2:"θ";s:2:"Ϸ";s:2:"ϸ";s:2:"Ϲ";s:2:"ϲ";s:2:"Ϻ";s:2:"ϻ";s:2:"Ͻ";s:2:"ͻ";s:2:"Ͼ";s:2:"ͼ";s:2:"Ͽ";s:2:"ͽ";s:2:"Ѐ";s:2:"ѐ";s:2:"Ё";s:2:"ё";s:2:"Ђ";s:2:"ђ";s:2:"Ѓ";s:2:"ѓ";s:2:"Є";s:2:"є";s:2:"Ѕ";s:2:"ѕ";s:2:"І";s:2:"і";s:2:"Ї";s:2:"ї";s:2:"Ј";s:2:"ј";s:2:"Љ";s:2:"љ";s:2:"Њ";s:2:"њ";s:2:"Ћ";s:2:"ћ";s:2:"Ќ";s:2:"ќ";s:2:"Ѝ";s:2:"ѝ";s:2:"Ў";s:2:"ў";s:2:"Џ";s:2:"џ";s:2:"А";s:2:"а";s:2:"Б";s:2:"б";s:2:"В";s:2:"в";s:2:"Г";s:2:"г";s:2:"Д";s:2:"д";s:2:"Е";s:2:"е";s:2:"Ж";s:2:"ж";s:2:"З";s:2:"з";s:2:"И";s:2:"и";s:2:"Й";s:2:"й";s:2:"К";s:2:"к";s:2:"Л";s:2:"л";s:2:"М";s:2:"м";s:2:"Н";s:2:"н";s:2:"О";s:2:"о";s:2:"П";s:2:"п";s:2:"Р";s:2:"р";s:2:"С";s:2:"с";s:2:"Т";s:2:"т";s:2:"У";s:2:"у";s:2:"Ф";s:2:"ф";s:2:"Х";s:2:"х";s:2:"Ц";s:2:"ц";s:2:"Ч";s:2:"ч";s:2:"Ш";s:2:"ш";s:2:"Щ";s:2:"щ";s:2:"Ъ";s:2:"ъ";s:2:"Ы";s:2:"ы";s:2:"Ь";s:2:"ь";s:2:"Э";s:2:"э";s:2:"Ю";s:2:"ю";s:2:"Я";s:2:"я";s:2:"Ѡ";s:2:"ѡ";s:2:"Ѣ";s:2:"ѣ";s:2:"Ѥ";s:2:"ѥ";s:2:"Ѧ";s:2:"ѧ";s:2:"Ѩ";s:2:"ѩ";s:2:"Ѫ";s:2:"ѫ";s:2:"Ѭ";s:2:"ѭ";s:2:"Ѯ";s:2:"ѯ";s:2:"Ѱ";s:2:"ѱ";s:2:"Ѳ";s:2:"ѳ";s:2:"Ѵ";s:2:"ѵ";s:2:"Ѷ";s:2:"ѷ";s:2:"Ѹ";s:2:"ѹ";s:2:"Ѻ";s:2:"ѻ";s:2:"Ѽ";s:2:"ѽ";s:2:"Ѿ";s:2:"ѿ";s:2:"Ҁ";s:2:"ҁ";s:2:"Ҋ";s:2:"ҋ";s:2:"Ҍ";s:2:"ҍ";s:2:"Ҏ";s:2:"ҏ";s:2:"Ґ";s:2:"ґ";s:2:"Ғ";s:2:"ғ";s:2:"Ҕ";s:2:"ҕ";s:2:"Җ";s:2:"җ";s:2:"Ҙ";s:2:"ҙ";s:2:"Қ";s:2:"қ";s:2:"Ҝ";s:2:"ҝ";s:2:"Ҟ";s:2:"ҟ";s:2:"Ҡ";s:2:"ҡ";s:2:"Ң";s:2:"ң";s:2:"Ҥ";s:2:"ҥ";s:2:"Ҧ";s:2:"ҧ";s:2:"Ҩ";s:2:"ҩ";s:2:"Ҫ";s:2:"ҫ";s:2:"Ҭ";s:2:"ҭ";s:2:"Ү";s:2:"ү";s:2:"Ұ";s:2:"ұ";s:2:"Ҳ";s:2:"ҳ";s:2:"Ҵ";s:2:"ҵ";s:2:"Ҷ";s:2:"ҷ";s:2:"Ҹ";s:2:"ҹ";s:2:"Һ";s:2:"һ";s:2:"Ҽ";s:2:"ҽ";s:2:"Ҿ";s:2:"ҿ";s:2:"Ӏ";s:2:"ӏ";s:2:"Ӂ";s:2:"ӂ";s:2:"Ӄ";s:2:"ӄ";s:2:"Ӆ";s:2:"ӆ";s:2:"Ӈ";s:2:"ӈ";s:2:"Ӊ";s:2:"ӊ";s:2:"Ӌ";s:2:"ӌ";s:2:"Ӎ";s:2:"ӎ";s:2:"Ӑ";s:2:"ӑ";s:2:"Ӓ";s:2:"ӓ";s:2:"Ӕ";s:2:"ӕ";s:2:"Ӗ";s:2:"ӗ";s:2:"Ә";s:2:"ә";s:2:"Ӛ";s:2:"ӛ";s:2:"Ӝ";s:2:"ӝ";s:2:"Ӟ";s:2:"ӟ";s:2:"Ӡ";s:2:"ӡ";s:2:"Ӣ";s:2:"ӣ";s:2:"Ӥ";s:2:"ӥ";s:2:"Ӧ";s:2:"ӧ";s:2:"Ө";s:2:"ө";s:2:"Ӫ";s:2:"ӫ";s:2:"Ӭ";s:2:"ӭ";s:2:"Ӯ";s:2:"ӯ";s:2:"Ӱ";s:2:"ӱ";s:2:"Ӳ";s:2:"ӳ";s:2:"Ӵ";s:2:"ӵ";s:2:"Ӷ";s:2:"ӷ";s:2:"Ӹ";s:2:"ӹ";s:2:"Ӻ";s:2:"ӻ";s:2:"Ӽ";s:2:"ӽ";s:2:"Ӿ";s:2:"ӿ";s:2:"Ԁ";s:2:"ԁ";s:2:"Ԃ";s:2:"ԃ";s:2:"Ԅ";s:2:"ԅ";s:2:"Ԇ";s:2:"ԇ";s:2:"Ԉ";s:2:"ԉ";s:2:"Ԋ";s:2:"ԋ";s:2:"Ԍ";s:2:"ԍ";s:2:"Ԏ";s:2:"ԏ";s:2:"Ԑ";s:2:"ԑ";s:2:"Ԓ";s:2:"ԓ";s:2:"Ԕ";s:2:"ԕ";s:2:"Ԗ";s:2:"ԗ";s:2:"Ԙ";s:2:"ԙ";s:2:"Ԛ";s:2:"ԛ";s:2:"Ԝ";s:2:"ԝ";s:2:"Ԟ";s:2:"ԟ";s:2:"Ԡ";s:2:"ԡ";s:2:"Ԣ";s:2:"ԣ";s:2:"Ԥ";s:2:"ԥ";s:2:"Ԧ";s:2:"ԧ";s:2:"Ԩ";s:2:"ԩ";s:2:"Ԫ";s:2:"ԫ";s:2:"Ԭ";s:2:"ԭ";s:2:"Ԯ";s:2:"ԯ";s:2:"Ա";s:2:"ա";s:2:"Բ";s:2:"բ";s:2:"Գ";s:2:"գ";s:2:"Դ";s:2:"դ";s:2:"Ե";s:2:"ե";s:2:"Զ";s:2:"զ";s:2:"Է";s:2:"է";s:2:"Ը";s:2:"ը";s:2:"Թ";s:2:"թ";s:2:"Ժ";s:2:"ժ";s:2:"Ի";s:2:"ի";s:2:"Լ";s:2:"լ";s:2:"Խ";s:2:"խ";s:2:"Ծ";s:2:"ծ";s:2:"Կ";s:2:"կ";s:2:"Հ";s:2:"հ";s:2:"Ձ";s:2:"ձ";s:2:"Ղ";s:2:"ղ";s:2:"Ճ";s:2:"ճ";s:2:"Մ";s:2:"մ";s:2:"Յ";s:2:"յ";s:2:"Ն";s:2:"ն";s:2:"Շ";s:2:"շ";s:2:"Ո";s:2:"ո";s:2:"Չ";s:2:"չ";s:2:"Պ";s:2:"պ";s:2:"Ջ";s:2:"ջ";s:2:"Ռ";s:2:"ռ";s:2:"Ս";s:2:"ս";s:2:"Վ";s:2:"վ";s:2:"Տ";s:2:"տ";s:2:"Ր";s:2:"ր";s:2:"Ց";s:2:"ց";s:2:"Ւ";s:2:"ւ";s:2:"Փ";s:2:"փ";s:2:"Ք";s:2:"ք";s:2:"Օ";s:2:"օ";s:2:"Ֆ";s:2:"ֆ";s:3:"Ⴀ";s:3:"ⴀ";s:3:"Ⴁ";s:3:"ⴁ";s:3:"Ⴂ";s:3:"ⴂ";s:3:"Ⴃ";s:3:"ⴃ";s:3:"Ⴄ";s:3:"ⴄ";s:3:"Ⴅ";s:3:"ⴅ";s:3:"Ⴆ";s:3:"ⴆ";s:3:"Ⴇ";s:3:"ⴇ";s:3:"Ⴈ";s:3:"ⴈ";s:3:"Ⴉ";s:3:"ⴉ";s:3:"Ⴊ";s:3:"ⴊ";s:3:"Ⴋ";s:3:"ⴋ";s:3:"Ⴌ";s:3:"ⴌ";s:3:"Ⴍ";s:3:"ⴍ";s:3:"Ⴎ";s:3:"ⴎ";s:3:"Ⴏ";s:3:"ⴏ";s:3:"Ⴐ";s:3:"ⴐ";s:3:"Ⴑ";s:3:"ⴑ";s:3:"Ⴒ";s:3:"ⴒ";s:3:"Ⴓ";s:3:"ⴓ";s:3:"Ⴔ";s:3:"ⴔ";s:3:"Ⴕ";s:3:"ⴕ";s:3:"Ⴖ";s:3:"ⴖ";s:3:"Ⴗ";s:3:"ⴗ";s:3:"Ⴘ";s:3:"ⴘ";s:3:"Ⴙ";s:3:"ⴙ";s:3:"Ⴚ";s:3:"ⴚ";s:3:"Ⴛ";s:3:"ⴛ";s:3:"Ⴜ";s:3:"ⴜ";s:3:"Ⴝ";s:3:"ⴝ";s:3:"Ⴞ";s:3:"ⴞ";s:3:"Ⴟ";s:3:"ⴟ";s:3:"Ⴠ";s:3:"ⴠ";s:3:"Ⴡ";s:3:"ⴡ";s:3:"Ⴢ";s:3:"ⴢ";s:3:"Ⴣ";s:3:"ⴣ";s:3:"Ⴤ";s:3:"ⴤ";s:3:"Ⴥ";s:3:"ⴥ";s:3:"Ⴧ";s:3:"ⴧ";s:3:"Ⴭ";s:3:"ⴭ";s:3:"Ḁ";s:3:"ḁ";s:3:"Ḃ";s:3:"ḃ";s:3:"Ḅ";s:3:"ḅ";s:3:"Ḇ";s:3:"ḇ";s:3:"Ḉ";s:3:"ḉ";s:3:"Ḋ";s:3:"ḋ";s:3:"Ḍ";s:3:"ḍ";s:3:"Ḏ";s:3:"ḏ";s:3:"Ḑ";s:3:"ḑ";s:3:"Ḓ";s:3:"ḓ";s:3:"Ḕ";s:3:"ḕ";s:3:"Ḗ";s:3:"ḗ";s:3:"Ḙ";s:3:"ḙ";s:3:"Ḛ";s:3:"ḛ";s:3:"Ḝ";s:3:"ḝ";s:3:"Ḟ";s:3:"ḟ";s:3:"Ḡ";s:3:"ḡ";s:3:"Ḣ";s:3:"ḣ";s:3:"Ḥ";s:3:"ḥ";s:3:"Ḧ";s:3:"ḧ";s:3:"Ḩ";s:3:"ḩ";s:3:"Ḫ";s:3:"ḫ";s:3:"Ḭ";s:3:"ḭ";s:3:"Ḯ";s:3:"ḯ";s:3:"Ḱ";s:3:"ḱ";s:3:"Ḳ";s:3:"ḳ";s:3:"Ḵ";s:3:"ḵ";s:3:"Ḷ";s:3:"ḷ";s:3:"Ḹ";s:3:"ḹ";s:3:"Ḻ";s:3:"ḻ";s:3:"Ḽ";s:3:"ḽ";s:3:"Ḿ";s:3:"ḿ";s:3:"Ṁ";s:3:"ṁ";s:3:"Ṃ";s:3:"ṃ";s:3:"Ṅ";s:3:"ṅ";s:3:"Ṇ";s:3:"ṇ";s:3:"Ṉ";s:3:"ṉ";s:3:"Ṋ";s:3:"ṋ";s:3:"Ṍ";s:3:"ṍ";s:3:"Ṏ";s:3:"ṏ";s:3:"Ṑ";s:3:"ṑ";s:3:"Ṓ";s:3:"ṓ";s:3:"Ṕ";s:3:"ṕ";s:3:"Ṗ";s:3:"ṗ";s:3:"Ṙ";s:3:"ṙ";s:3:"Ṛ";s:3:"ṛ";s:3:"Ṝ";s:3:"ṝ";s:3:"Ṟ";s:3:"ṟ";s:3:"Ṡ";s:3:"ṡ";s:3:"Ṣ";s:3:"ṣ";s:3:"Ṥ";s:3:"ṥ";s:3:"Ṧ";s:3:"ṧ";s:3:"Ṩ";s:3:"ṩ";s:3:"Ṫ";s:3:"ṫ";s:3:"Ṭ";s:3:"ṭ";s:3:"Ṯ";s:3:"ṯ";s:3:"Ṱ";s:3:"ṱ";s:3:"Ṳ";s:3:"ṳ";s:3:"Ṵ";s:3:"ṵ";s:3:"Ṷ";s:3:"ṷ";s:3:"Ṹ";s:3:"ṹ";s:3:"Ṻ";s:3:"ṻ";s:3:"Ṽ";s:3:"ṽ";s:3:"Ṿ";s:3:"ṿ";s:3:"Ẁ";s:3:"ẁ";s:3:"Ẃ";s:3:"ẃ";s:3:"Ẅ";s:3:"ẅ";s:3:"Ẇ";s:3:"ẇ";s:3:"Ẉ";s:3:"ẉ";s:3:"Ẋ";s:3:"ẋ";s:3:"Ẍ";s:3:"ẍ";s:3:"Ẏ";s:3:"ẏ";s:3:"Ẑ";s:3:"ẑ";s:3:"Ẓ";s:3:"ẓ";s:3:"Ẕ";s:3:"ẕ";s:3:"ẞ";s:2:"ß";s:3:"Ạ";s:3:"ạ";s:3:"Ả";s:3:"ả";s:3:"Ấ";s:3:"ấ";s:3:"Ầ";s:3:"ầ";s:3:"Ẩ";s:3:"ẩ";s:3:"Ẫ";s:3:"ẫ";s:3:"Ậ";s:3:"ậ";s:3:"Ắ";s:3:"ắ";s:3:"Ằ";s:3:"ằ";s:3:"Ẳ";s:3:"ẳ";s:3:"Ẵ";s:3:"ẵ";s:3:"Ặ";s:3:"ặ";s:3:"Ẹ";s:3:"ẹ";s:3:"Ẻ";s:3:"ẻ";s:3:"Ẽ";s:3:"ẽ";s:3:"Ế";s:3:"ế";s:3:"Ề";s:3:"ề";s:3:"Ể";s:3:"ể";s:3:"Ễ";s:3:"ễ";s:3:"Ệ";s:3:"ệ";s:3:"Ỉ";s:3:"ỉ";s:3:"Ị";s:3:"ị";s:3:"Ọ";s:3:"ọ";s:3:"Ỏ";s:3:"ỏ";s:3:"Ố";s:3:"ố";s:3:"Ồ";s:3:"ồ";s:3:"Ổ";s:3:"ổ";s:3:"Ỗ";s:3:"ỗ";s:3:"Ộ";s:3:"ộ";s:3:"Ớ";s:3:"ớ";s:3:"Ờ";s:3:"ờ";s:3:"Ở";s:3:"ở";s:3:"Ỡ";s:3:"ỡ";s:3:"Ợ";s:3:"ợ";s:3:"Ụ";s:3:"ụ";s:3:"Ủ";s:3:"ủ";s:3:"Ứ";s:3:"ứ";s:3:"Ừ";s:3:"ừ";s:3:"Ử";s:3:"ử";s:3:"Ữ";s:3:"ữ";s:3:"Ự";s:3:"ự";s:3:"Ỳ";s:3:"ỳ";s:3:"Ỵ";s:3:"ỵ";s:3:"Ỷ";s:3:"ỷ";s:3:"Ỹ";s:3:"ỹ";s:3:"Ỻ";s:3:"ỻ";s:3:"Ỽ";s:3:"ỽ";s:3:"Ỿ";s:3:"ỿ";s:3:"Ἀ";s:3:"ἀ";s:3:"Ἁ";s:3:"ἁ";s:3:"Ἂ";s:3:"ἂ";s:3:"Ἃ";s:3:"ἃ";s:3:"Ἄ";s:3:"ἄ";s:3:"Ἅ";s:3:"ἅ";s:3:"Ἆ";s:3:"ἆ";s:3:"Ἇ";s:3:"ἇ";s:3:"Ἐ";s:3:"ἐ";s:3:"Ἑ";s:3:"ἑ";s:3:"Ἒ";s:3:"ἒ";s:3:"Ἓ";s:3:"ἓ";s:3:"Ἔ";s:3:"ἔ";s:3:"Ἕ";s:3:"ἕ";s:3:"Ἠ";s:3:"ἠ";s:3:"Ἡ";s:3:"ἡ";s:3:"Ἢ";s:3:"ἢ";s:3:"Ἣ";s:3:"ἣ";s:3:"Ἤ";s:3:"ἤ";s:3:"Ἥ";s:3:"ἥ";s:3:"Ἦ";s:3:"ἦ";s:3:"Ἧ";s:3:"ἧ";s:3:"Ἰ";s:3:"ἰ";s:3:"Ἱ";s:3:"ἱ";s:3:"Ἲ";s:3:"ἲ";s:3:"Ἳ";s:3:"ἳ";s:3:"Ἴ";s:3:"ἴ";s:3:"Ἵ";s:3:"ἵ";s:3:"Ἶ";s:3:"ἶ";s:3:"Ἷ";s:3:"ἷ";s:3:"Ὀ";s:3:"ὀ";s:3:"Ὁ";s:3:"ὁ";s:3:"Ὂ";s:3:"ὂ";s:3:"Ὃ";s:3:"ὃ";s:3:"Ὄ";s:3:"ὄ";s:3:"Ὅ";s:3:"ὅ";s:3:"Ὑ";s:3:"ὑ";s:3:"Ὓ";s:3:"ὓ";s:3:"Ὕ";s:3:"ὕ";s:3:"Ὗ";s:3:"ὗ";s:3:"Ὠ";s:3:"ὠ";s:3:"Ὡ";s:3:"ὡ";s:3:"Ὢ";s:3:"ὢ";s:3:"Ὣ";s:3:"ὣ";s:3:"Ὤ";s:3:"ὤ";s:3:"Ὥ";s:3:"ὥ";s:3:"Ὦ";s:3:"ὦ";s:3:"Ὧ";s:3:"ὧ";s:3:"ᾈ";s:3:"ᾀ";s:3:"ᾉ";s:3:"ᾁ";s:3:"ᾊ";s:3:"ᾂ";s:3:"ᾋ";s:3:"ᾃ";s:3:"ᾌ";s:3:"ᾄ";s:3:"ᾍ";s:3:"ᾅ";s:3:"ᾎ";s:3:"ᾆ";s:3:"ᾏ";s:3:"ᾇ";s:3:"ᾘ";s:3:"ᾐ";s:3:"ᾙ";s:3:"ᾑ";s:3:"ᾚ";s:3:"ᾒ";s:3:"ᾛ";s:3:"ᾓ";s:3:"ᾜ";s:3:"ᾔ";s:3:"ᾝ";s:3:"ᾕ";s:3:"ᾞ";s:3:"ᾖ";s:3:"ᾟ";s:3:"ᾗ";s:3:"ᾨ";s:3:"ᾠ";s:3:"ᾩ";s:3:"ᾡ";s:3:"ᾪ";s:3:"ᾢ";s:3:"ᾫ";s:3:"ᾣ";s:3:"ᾬ";s:3:"ᾤ";s:3:"ᾭ";s:3:"ᾥ";s:3:"ᾮ";s:3:"ᾦ";s:3:"ᾯ";s:3:"ᾧ";s:3:"Ᾰ";s:3:"ᾰ";s:3:"Ᾱ";s:3:"ᾱ";s:3:"Ὰ";s:3:"ὰ";s:3:"Ά";s:3:"ά";s:3:"ᾼ";s:3:"ᾳ";s:3:"Ὲ";s:3:"ὲ";s:3:"Έ";s:3:"έ";s:3:"Ὴ";s:3:"ὴ";s:3:"Ή";s:3:"ή";s:3:"ῌ";s:3:"ῃ";s:3:"Ῐ";s:3:"ῐ";s:3:"Ῑ";s:3:"ῑ";s:3:"Ὶ";s:3:"ὶ";s:3:"Ί";s:3:"ί";s:3:"Ῠ";s:3:"ῠ";s:3:"Ῡ";s:3:"ῡ";s:3:"Ὺ";s:3:"ὺ";s:3:"Ύ";s:3:"ύ";s:3:"Ῥ";s:3:"ῥ";s:3:"Ὸ";s:3:"ὸ";s:3:"Ό";s:3:"ό";s:3:"Ὼ";s:3:"ὼ";s:3:"Ώ";s:3:"ώ";s:3:"ῼ";s:3:"ῳ";s:3:"Ω";s:2:"ω";s:3:"K";s:1:"k";s:3:"Å";s:2:"å";s:3:"Ⅎ";s:3:"ⅎ";s:3:"Ⅰ";s:3:"ⅰ";s:3:"Ⅱ";s:3:"ⅱ";s:3:"Ⅲ";s:3:"ⅲ";s:3:"Ⅳ";s:3:"ⅳ";s:3:"Ⅴ";s:3:"ⅴ";s:3:"Ⅵ";s:3:"ⅵ";s:3:"Ⅶ";s:3:"ⅶ";s:3:"Ⅷ";s:3:"ⅷ";s:3:"Ⅸ";s:3:"ⅸ";s:3:"Ⅹ";s:3:"ⅹ";s:3:"Ⅺ";s:3:"ⅺ";s:3:"Ⅻ";s:3:"ⅻ";s:3:"Ⅼ";s:3:"ⅼ";s:3:"Ⅽ";s:3:"ⅽ";s:3:"Ⅾ";s:3:"ⅾ";s:3:"Ⅿ";s:3:"ⅿ";s:3:"Ↄ";s:3:"ↄ";s:3:"Ⓐ";s:3:"ⓐ";s:3:"Ⓑ";s:3:"ⓑ";s:3:"Ⓒ";s:3:"ⓒ";s:3:"Ⓓ";s:3:"ⓓ";s:3:"Ⓔ";s:3:"ⓔ";s:3:"Ⓕ";s:3:"ⓕ";s:3:"Ⓖ";s:3:"ⓖ";s:3:"Ⓗ";s:3:"ⓗ";s:3:"Ⓘ";s:3:"ⓘ";s:3:"Ⓙ";s:3:"ⓙ";s:3:"Ⓚ";s:3:"ⓚ";s:3:"Ⓛ";s:3:"ⓛ";s:3:"Ⓜ";s:3:"ⓜ";s:3:"Ⓝ";s:3:"ⓝ";s:3:"Ⓞ";s:3:"ⓞ";s:3:"Ⓟ";s:3:"ⓟ";s:3:"Ⓠ";s:3:"ⓠ";s:3:"Ⓡ";s:3:"ⓡ";s:3:"Ⓢ";s:3:"ⓢ";s:3:"Ⓣ";s:3:"ⓣ";s:3:"Ⓤ";s:3:"ⓤ";s:3:"Ⓥ";s:3:"ⓥ";s:3:"Ⓦ";s:3:"ⓦ";s:3:"Ⓧ";s:3:"ⓧ";s:3:"Ⓨ";s:3:"ⓨ";s:3:"Ⓩ";s:3:"ⓩ";s:3:"Ⰰ";s:3:"ⰰ";s:3:"Ⰱ";s:3:"ⰱ";s:3:"Ⰲ";s:3:"ⰲ";s:3:"Ⰳ";s:3:"ⰳ";s:3:"Ⰴ";s:3:"ⰴ";s:3:"Ⰵ";s:3:"ⰵ";s:3:"Ⰶ";s:3:"ⰶ";s:3:"Ⰷ";s:3:"ⰷ";s:3:"Ⰸ";s:3:"ⰸ";s:3:"Ⰹ";s:3:"ⰹ";s:3:"Ⰺ";s:3:"ⰺ";s:3:"Ⰻ";s:3:"ⰻ";s:3:"Ⰼ";s:3:"ⰼ";s:3:"Ⰽ";s:3:"ⰽ";s:3:"Ⰾ";s:3:"ⰾ";s:3:"Ⰿ";s:3:"ⰿ";s:3:"Ⱀ";s:3:"ⱀ";s:3:"Ⱁ";s:3:"ⱁ";s:3:"Ⱂ";s:3:"ⱂ";s:3:"Ⱃ";s:3:"ⱃ";s:3:"Ⱄ";s:3:"ⱄ";s:3:"Ⱅ";s:3:"ⱅ";s:3:"Ⱆ";s:3:"ⱆ";s:3:"Ⱇ";s:3:"ⱇ";s:3:"Ⱈ";s:3:"ⱈ";s:3:"Ⱉ";s:3:"ⱉ";s:3:"Ⱊ";s:3:"ⱊ";s:3:"Ⱋ";s:3:"ⱋ";s:3:"Ⱌ";s:3:"ⱌ";s:3:"Ⱍ";s:3:"ⱍ";s:3:"Ⱎ";s:3:"ⱎ";s:3:"Ⱏ";s:3:"ⱏ";s:3:"Ⱐ";s:3:"ⱐ";s:3:"Ⱑ";s:3:"ⱑ";s:3:"Ⱒ";s:3:"ⱒ";s:3:"Ⱓ";s:3:"ⱓ";s:3:"Ⱔ";s:3:"ⱔ";s:3:"Ⱕ";s:3:"ⱕ";s:3:"Ⱖ";s:3:"ⱖ";s:3:"Ⱗ";s:3:"ⱗ";s:3:"Ⱘ";s:3:"ⱘ";s:3:"Ⱙ";s:3:"ⱙ";s:3:"Ⱚ";s:3:"ⱚ";s:3:"Ⱛ";s:3:"ⱛ";s:3:"Ⱜ";s:3:"ⱜ";s:3:"Ⱝ";s:3:"ⱝ";s:3:"Ⱞ";s:3:"ⱞ";s:3:"Ⱡ";s:3:"ⱡ";s:3:"Ɫ";s:2:"ɫ";s:3:"Ᵽ";s:3:"ᵽ";s:3:"Ɽ";s:2:"ɽ";s:3:"Ⱨ";s:3:"ⱨ";s:3:"Ⱪ";s:3:"ⱪ";s:3:"Ⱬ";s:3:"ⱬ";s:3:"Ɑ";s:2:"ɑ";s:3:"Ɱ";s:2:"ɱ";s:3:"Ɐ";s:2:"ɐ";s:3:"Ɒ";s:2:"ɒ";s:3:"Ⱳ";s:3:"ⱳ";s:3:"Ⱶ";s:3:"ⱶ";s:3:"Ȿ";s:2:"ȿ";s:3:"Ɀ";s:2:"ɀ";s:3:"Ⲁ";s:3:"ⲁ";s:3:"Ⲃ";s:3:"ⲃ";s:3:"Ⲅ";s:3:"ⲅ";s:3:"Ⲇ";s:3:"ⲇ";s:3:"Ⲉ";s:3:"ⲉ";s:3:"Ⲋ";s:3:"ⲋ";s:3:"Ⲍ";s:3:"ⲍ";s:3:"Ⲏ";s:3:"ⲏ";s:3:"Ⲑ";s:3:"ⲑ";s:3:"Ⲓ";s:3:"ⲓ";s:3:"Ⲕ";s:3:"ⲕ";s:3:"Ⲗ";s:3:"ⲗ";s:3:"Ⲙ";s:3:"ⲙ";s:3:"Ⲛ";s:3:"ⲛ";s:3:"Ⲝ";s:3:"ⲝ";s:3:"Ⲟ";s:3:"ⲟ";s:3:"Ⲡ";s:3:"ⲡ";s:3:"Ⲣ";s:3:"ⲣ";s:3:"Ⲥ";s:3:"ⲥ";s:3:"Ⲧ";s:3:"ⲧ";s:3:"Ⲩ";s:3:"ⲩ";s:3:"Ⲫ";s:3:"ⲫ";s:3:"Ⲭ";s:3:"ⲭ";s:3:"Ⲯ";s:3:"ⲯ";s:3:"Ⲱ";s:3:"ⲱ";s:3:"Ⲳ";s:3:"ⲳ";s:3:"Ⲵ";s:3:"ⲵ";s:3:"Ⲷ";s:3:"ⲷ";s:3:"Ⲹ";s:3:"ⲹ";s:3:"Ⲻ";s:3:"ⲻ";s:3:"Ⲽ";s:3:"ⲽ";s:3:"Ⲿ";s:3:"ⲿ";s:3:"Ⳁ";s:3:"ⳁ";s:3:"Ⳃ";s:3:"ⳃ";s:3:"Ⳅ";s:3:"ⳅ";s:3:"Ⳇ";s:3:"ⳇ";s:3:"Ⳉ";s:3:"ⳉ";s:3:"Ⳋ";s:3:"ⳋ";s:3:"Ⳍ";s:3:"ⳍ";s:3:"Ⳏ";s:3:"ⳏ";s:3:"Ⳑ";s:3:"ⳑ";s:3:"Ⳓ";s:3:"ⳓ";s:3:"Ⳕ";s:3:"ⳕ";s:3:"Ⳗ";s:3:"ⳗ";s:3:"Ⳙ";s:3:"ⳙ";s:3:"Ⳛ";s:3:"ⳛ";s:3:"Ⳝ";s:3:"ⳝ";s:3:"Ⳟ";s:3:"ⳟ";s:3:"Ⳡ";s:3:"ⳡ";s:3:"Ⳣ";s:3:"ⳣ";s:3:"Ⳬ";s:3:"ⳬ";s:3:"Ⳮ";s:3:"ⳮ";s:3:"Ⳳ";s:3:"ⳳ";s:3:"Ꙁ";s:3:"ꙁ";s:3:"Ꙃ";s:3:"ꙃ";s:3:"Ꙅ";s:3:"ꙅ";s:3:"Ꙇ";s:3:"ꙇ";s:3:"Ꙉ";s:3:"ꙉ";s:3:"Ꙋ";s:3:"ꙋ";s:3:"Ꙍ";s:3:"ꙍ";s:3:"Ꙏ";s:3:"ꙏ";s:3:"Ꙑ";s:3:"ꙑ";s:3:"Ꙓ";s:3:"ꙓ";s:3:"Ꙕ";s:3:"ꙕ";s:3:"Ꙗ";s:3:"ꙗ";s:3:"Ꙙ";s:3:"ꙙ";s:3:"Ꙛ";s:3:"ꙛ";s:3:"Ꙝ";s:3:"ꙝ";s:3:"Ꙟ";s:3:"ꙟ";s:3:"Ꙡ";s:3:"ꙡ";s:3:"Ꙣ";s:3:"ꙣ";s:3:"Ꙥ";s:3:"ꙥ";s:3:"Ꙧ";s:3:"ꙧ";s:3:"Ꙩ";s:3:"ꙩ";s:3:"Ꙫ";s:3:"ꙫ";s:3:"Ꙭ";s:3:"ꙭ";s:3:"Ꚁ";s:3:"ꚁ";s:3:"Ꚃ";s:3:"ꚃ";s:3:"Ꚅ";s:3:"ꚅ";s:3:"Ꚇ";s:3:"ꚇ";s:3:"Ꚉ";s:3:"ꚉ";s:3:"Ꚋ";s:3:"ꚋ";s:3:"Ꚍ";s:3:"ꚍ";s:3:"Ꚏ";s:3:"ꚏ";s:3:"Ꚑ";s:3:"ꚑ";s:3:"Ꚓ";s:3:"ꚓ";s:3:"Ꚕ";s:3:"ꚕ";s:3:"Ꚗ";s:3:"ꚗ";s:3:"Ꚙ";s:3:"ꚙ";s:3:"Ꚛ";s:3:"ꚛ";s:3:"Ꜣ";s:3:"ꜣ";s:3:"Ꜥ";s:3:"ꜥ";s:3:"Ꜧ";s:3:"ꜧ";s:3:"Ꜩ";s:3:"ꜩ";s:3:"Ꜫ";s:3:"ꜫ";s:3:"Ꜭ";s:3:"ꜭ";s:3:"Ꜯ";s:3:"ꜯ";s:3:"Ꜳ";s:3:"ꜳ";s:3:"Ꜵ";s:3:"ꜵ";s:3:"Ꜷ";s:3:"ꜷ";s:3:"Ꜹ";s:3:"ꜹ";s:3:"Ꜻ";s:3:"ꜻ";s:3:"Ꜽ";s:3:"ꜽ";s:3:"Ꜿ";s:3:"ꜿ";s:3:"Ꝁ";s:3:"ꝁ";s:3:"Ꝃ";s:3:"ꝃ";s:3:"Ꝅ";s:3:"ꝅ";s:3:"Ꝇ";s:3:"ꝇ";s:3:"Ꝉ";s:3:"ꝉ";s:3:"Ꝋ";s:3:"ꝋ";s:3:"Ꝍ";s:3:"ꝍ";s:3:"Ꝏ";s:3:"ꝏ";s:3:"Ꝑ";s:3:"ꝑ";s:3:"Ꝓ";s:3:"ꝓ";s:3:"Ꝕ";s:3:"ꝕ";s:3:"Ꝗ";s:3:"ꝗ";s:3:"Ꝙ";s:3:"ꝙ";s:3:"Ꝛ";s:3:"ꝛ";s:3:"Ꝝ";s:3:"ꝝ";s:3:"Ꝟ";s:3:"ꝟ";s:3:"Ꝡ";s:3:"ꝡ";s:3:"Ꝣ";s:3:"ꝣ";s:3:"Ꝥ";s:3:"ꝥ";s:3:"Ꝧ";s:3:"ꝧ";s:3:"Ꝩ";s:3:"ꝩ";s:3:"Ꝫ";s:3:"ꝫ";s:3:"Ꝭ";s:3:"ꝭ";s:3:"Ꝯ";s:3:"ꝯ";s:3:"Ꝺ";s:3:"ꝺ";s:3:"Ꝼ";s:3:"ꝼ";s:3:"Ᵹ";s:3:"ᵹ";s:3:"Ꝿ";s:3:"ꝿ";s:3:"Ꞁ";s:3:"ꞁ";s:3:"Ꞃ";s:3:"ꞃ";s:3:"Ꞅ";s:3:"ꞅ";s:3:"Ꞇ";s:3:"ꞇ";s:3:"Ꞌ";s:3:"ꞌ";s:3:"Ɥ";s:2:"ɥ";s:3:"Ꞑ";s:3:"ꞑ";s:3:"Ꞓ";s:3:"ꞓ";s:3:"Ꞗ";s:3:"ꞗ";s:3:"Ꞙ";s:3:"ꞙ";s:3:"Ꞛ";s:3:"ꞛ";s:3:"Ꞝ";s:3:"ꞝ";s:3:"Ꞟ";s:3:"ꞟ";s:3:"Ꞡ";s:3:"ꞡ";s:3:"Ꞣ";s:3:"ꞣ";s:3:"Ꞥ";s:3:"ꞥ";s:3:"Ꞧ";s:3:"ꞧ";s:3:"Ꞩ";s:3:"ꞩ";s:3:"Ɦ";s:2:"ɦ";s:3:"Ɜ";s:2:"ɜ";s:3:"Ɡ";s:2:"ɡ";s:3:"Ɬ";s:2:"ɬ";s:3:"Ʞ";s:2:"ʞ";s:3:"Ʇ";s:2:"ʇ";s:3:"A";s:3:"a";s:3:"B";s:3:"b";s:3:"C";s:3:"c";s:3:"D";s:3:"d";s:3:"E";s:3:"e";s:3:"F";s:3:"f";s:3:"G";s:3:"g";s:3:"H";s:3:"h";s:3:"I";s:3:"i";s:3:"J";s:3:"j";s:3:"K";s:3:"k";s:3:"L";s:3:"l";s:3:"M";s:3:"m";s:3:"N";s:3:"n";s:3:"O";s:3:"o";s:3:"P";s:3:"p";s:3:"Q";s:3:"q";s:3:"R";s:3:"r";s:3:"S";s:3:"s";s:3:"T";s:3:"t";s:3:"U";s:3:"u";s:3:"V";s:3:"v";s:3:"W";s:3:"w";s:3:"X";s:3:"x";s:3:"Y";s:3:"y";s:3:"Z";s:3:"z";s:4:"𐐀";s:4:"𐐨";s:4:"𐐁";s:4:"𐐩";s:4:"𐐂";s:4:"𐐪";s:4:"𐐃";s:4:"𐐫";s:4:"𐐄";s:4:"𐐬";s:4:"𐐅";s:4:"𐐭";s:4:"𐐆";s:4:"𐐮";s:4:"𐐇";s:4:"𐐯";s:4:"𐐈";s:4:"𐐰";s:4:"𐐉";s:4:"𐐱";s:4:"𐐊";s:4:"𐐲";s:4:"𐐋";s:4:"𐐳";s:4:"𐐌";s:4:"𐐴";s:4:"𐐍";s:4:"𐐵";s:4:"𐐎";s:4:"𐐶";s:4:"𐐏";s:4:"𐐷";s:4:"𐐐";s:4:"𐐸";s:4:"𐐑";s:4:"𐐹";s:4:"𐐒";s:4:"𐐺";s:4:"𐐓";s:4:"𐐻";s:4:"𐐔";s:4:"𐐼";s:4:"𐐕";s:4:"𐐽";s:4:"𐐖";s:4:"𐐾";s:4:"𐐗";s:4:"𐐿";s:4:"𐐘";s:4:"𐑀";s:4:"𐐙";s:4:"𐑁";s:4:"𐐚";s:4:"𐑂";s:4:"𐐛";s:4:"𐑃";s:4:"𐐜";s:4:"𐑄";s:4:"𐐝";s:4:"𐑅";s:4:"𐐞";s:4:"𐑆";s:4:"𐐟";s:4:"𐑇";s:4:"𐐠";s:4:"𐑈";s:4:"𐐡";s:4:"𐑉";s:4:"𐐢";s:4:"𐑊";s:4:"𐐣";s:4:"𐑋";s:4:"𐐤";s:4:"𐑌";s:4:"𐐥";s:4:"𐑍";s:4:"𐐦";s:4:"𐑎";s:4:"𐐧";s:4:"𐑏";s:4:"𑢠";s:4:"𑣀";s:4:"𑢡";s:4:"𑣁";s:4:"𑢢";s:4:"𑣂";s:4:"𑢣";s:4:"𑣃";s:4:"𑢤";s:4:"𑣄";s:4:"𑢥";s:4:"𑣅";s:4:"𑢦";s:4:"𑣆";s:4:"𑢧";s:4:"𑣇";s:4:"𑢨";s:4:"𑣈";s:4:"𑢩";s:4:"𑣉";s:4:"𑢪";s:4:"𑣊";s:4:"𑢫";s:4:"𑣋";s:4:"𑢬";s:4:"𑣌";s:4:"𑢭";s:4:"𑣍";s:4:"𑢮";s:4:"𑣎";s:4:"𑢯";s:4:"𑣏";s:4:"𑢰";s:4:"𑣐";s:4:"𑢱";s:4:"𑣑";s:4:"𑢲";s:4:"𑣒";s:4:"𑢳";s:4:"𑣓";s:4:"𑢴";s:4:"𑣔";s:4:"𑢵";s:4:"𑣕";s:4:"𑢶";s:4:"𑣖";s:4:"𑢷";s:4:"𑣗";s:4:"𑢸";s:4:"𑣘";s:4:"𑢹";s:4:"𑣙";s:4:"𑢺";s:4:"𑣚";s:4:"𑢻";s:4:"𑣛";s:4:"𑢼";s:4:"𑣜";s:4:"𑢽";s:4:"𑣝";s:4:"𑢾";s:4:"𑣞";s:4:"𑢿";s:4:"𑣟";} \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/polyfill-mbstring/Resources/unidata/upperCase.ser b/wp-content/plugins/google-calendar-events/vendor/symfony/polyfill-mbstring/Resources/unidata/upperCase.ser new file mode 100644 index 0000000..e9e0ec2 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/polyfill-mbstring/Resources/unidata/upperCase.ser @@ -0,0 +1 @@ +a:1100:{s:1:"a";s:1:"A";s:1:"b";s:1:"B";s:1:"c";s:1:"C";s:1:"d";s:1:"D";s:1:"e";s:1:"E";s:1:"f";s:1:"F";s:1:"g";s:1:"G";s:1:"h";s:1:"H";s:1:"i";s:1:"I";s:1:"j";s:1:"J";s:1:"k";s:1:"K";s:1:"l";s:1:"L";s:1:"m";s:1:"M";s:1:"n";s:1:"N";s:1:"o";s:1:"O";s:1:"p";s:1:"P";s:1:"q";s:1:"Q";s:1:"r";s:1:"R";s:1:"s";s:1:"S";s:1:"t";s:1:"T";s:1:"u";s:1:"U";s:1:"v";s:1:"V";s:1:"w";s:1:"W";s:1:"x";s:1:"X";s:1:"y";s:1:"Y";s:1:"z";s:1:"Z";s:2:"µ";s:2:"Μ";s:2:"à";s:2:"À";s:2:"á";s:2:"Á";s:2:"â";s:2:"Â";s:2:"ã";s:2:"Ã";s:2:"ä";s:2:"Ä";s:2:"å";s:2:"Å";s:2:"æ";s:2:"Æ";s:2:"ç";s:2:"Ç";s:2:"è";s:2:"È";s:2:"é";s:2:"É";s:2:"ê";s:2:"Ê";s:2:"ë";s:2:"Ë";s:2:"ì";s:2:"Ì";s:2:"í";s:2:"Í";s:2:"î";s:2:"Î";s:2:"ï";s:2:"Ï";s:2:"ð";s:2:"Ð";s:2:"ñ";s:2:"Ñ";s:2:"ò";s:2:"Ò";s:2:"ó";s:2:"Ó";s:2:"ô";s:2:"Ô";s:2:"õ";s:2:"Õ";s:2:"ö";s:2:"Ö";s:2:"ø";s:2:"Ø";s:2:"ù";s:2:"Ù";s:2:"ú";s:2:"Ú";s:2:"û";s:2:"Û";s:2:"ü";s:2:"Ü";s:2:"ý";s:2:"Ý";s:2:"þ";s:2:"Þ";s:2:"ÿ";s:2:"Ÿ";s:2:"ā";s:2:"Ā";s:2:"ă";s:2:"Ă";s:2:"ą";s:2:"Ą";s:2:"ć";s:2:"Ć";s:2:"ĉ";s:2:"Ĉ";s:2:"ċ";s:2:"Ċ";s:2:"č";s:2:"Č";s:2:"ď";s:2:"Ď";s:2:"đ";s:2:"Đ";s:2:"ē";s:2:"Ē";s:2:"ĕ";s:2:"Ĕ";s:2:"ė";s:2:"Ė";s:2:"ę";s:2:"Ę";s:2:"ě";s:2:"Ě";s:2:"ĝ";s:2:"Ĝ";s:2:"ğ";s:2:"Ğ";s:2:"ġ";s:2:"Ġ";s:2:"ģ";s:2:"Ģ";s:2:"ĥ";s:2:"Ĥ";s:2:"ħ";s:2:"Ħ";s:2:"ĩ";s:2:"Ĩ";s:2:"ī";s:2:"Ī";s:2:"ĭ";s:2:"Ĭ";s:2:"į";s:2:"Į";s:2:"ı";s:1:"I";s:2:"ij";s:2:"IJ";s:2:"ĵ";s:2:"Ĵ";s:2:"ķ";s:2:"Ķ";s:2:"ĺ";s:2:"Ĺ";s:2:"ļ";s:2:"Ļ";s:2:"ľ";s:2:"Ľ";s:2:"ŀ";s:2:"Ŀ";s:2:"ł";s:2:"Ł";s:2:"ń";s:2:"Ń";s:2:"ņ";s:2:"Ņ";s:2:"ň";s:2:"Ň";s:2:"ŋ";s:2:"Ŋ";s:2:"ō";s:2:"Ō";s:2:"ŏ";s:2:"Ŏ";s:2:"ő";s:2:"Ő";s:2:"œ";s:2:"Œ";s:2:"ŕ";s:2:"Ŕ";s:2:"ŗ";s:2:"Ŗ";s:2:"ř";s:2:"Ř";s:2:"ś";s:2:"Ś";s:2:"ŝ";s:2:"Ŝ";s:2:"ş";s:2:"Ş";s:2:"š";s:2:"Š";s:2:"ţ";s:2:"Ţ";s:2:"ť";s:2:"Ť";s:2:"ŧ";s:2:"Ŧ";s:2:"ũ";s:2:"Ũ";s:2:"ū";s:2:"Ū";s:2:"ŭ";s:2:"Ŭ";s:2:"ů";s:2:"Ů";s:2:"ű";s:2:"Ű";s:2:"ų";s:2:"Ų";s:2:"ŵ";s:2:"Ŵ";s:2:"ŷ";s:2:"Ŷ";s:2:"ź";s:2:"Ź";s:2:"ż";s:2:"Ż";s:2:"ž";s:2:"Ž";s:2:"ſ";s:1:"S";s:2:"ƀ";s:2:"Ƀ";s:2:"ƃ";s:2:"Ƃ";s:2:"ƅ";s:2:"Ƅ";s:2:"ƈ";s:2:"Ƈ";s:2:"ƌ";s:2:"Ƌ";s:2:"ƒ";s:2:"Ƒ";s:2:"ƕ";s:2:"Ƕ";s:2:"ƙ";s:2:"Ƙ";s:2:"ƚ";s:2:"Ƚ";s:2:"ƞ";s:2:"Ƞ";s:2:"ơ";s:2:"Ơ";s:2:"ƣ";s:2:"Ƣ";s:2:"ƥ";s:2:"Ƥ";s:2:"ƨ";s:2:"Ƨ";s:2:"ƭ";s:2:"Ƭ";s:2:"ư";s:2:"Ư";s:2:"ƴ";s:2:"Ƴ";s:2:"ƶ";s:2:"Ƶ";s:2:"ƹ";s:2:"Ƹ";s:2:"ƽ";s:2:"Ƽ";s:2:"ƿ";s:2:"Ƿ";s:2:"Dž";s:2:"DŽ";s:2:"dž";s:2:"DŽ";s:2:"Lj";s:2:"LJ";s:2:"lj";s:2:"LJ";s:2:"Nj";s:2:"NJ";s:2:"nj";s:2:"NJ";s:2:"ǎ";s:2:"Ǎ";s:2:"ǐ";s:2:"Ǐ";s:2:"ǒ";s:2:"Ǒ";s:2:"ǔ";s:2:"Ǔ";s:2:"ǖ";s:2:"Ǖ";s:2:"ǘ";s:2:"Ǘ";s:2:"ǚ";s:2:"Ǚ";s:2:"ǜ";s:2:"Ǜ";s:2:"ǝ";s:2:"Ǝ";s:2:"ǟ";s:2:"Ǟ";s:2:"ǡ";s:2:"Ǡ";s:2:"ǣ";s:2:"Ǣ";s:2:"ǥ";s:2:"Ǥ";s:2:"ǧ";s:2:"Ǧ";s:2:"ǩ";s:2:"Ǩ";s:2:"ǫ";s:2:"Ǫ";s:2:"ǭ";s:2:"Ǭ";s:2:"ǯ";s:2:"Ǯ";s:2:"Dz";s:2:"DZ";s:2:"dz";s:2:"DZ";s:2:"ǵ";s:2:"Ǵ";s:2:"ǹ";s:2:"Ǹ";s:2:"ǻ";s:2:"Ǻ";s:2:"ǽ";s:2:"Ǽ";s:2:"ǿ";s:2:"Ǿ";s:2:"ȁ";s:2:"Ȁ";s:2:"ȃ";s:2:"Ȃ";s:2:"ȅ";s:2:"Ȅ";s:2:"ȇ";s:2:"Ȇ";s:2:"ȉ";s:2:"Ȉ";s:2:"ȋ";s:2:"Ȋ";s:2:"ȍ";s:2:"Ȍ";s:2:"ȏ";s:2:"Ȏ";s:2:"ȑ";s:2:"Ȑ";s:2:"ȓ";s:2:"Ȓ";s:2:"ȕ";s:2:"Ȕ";s:2:"ȗ";s:2:"Ȗ";s:2:"ș";s:2:"Ș";s:2:"ț";s:2:"Ț";s:2:"ȝ";s:2:"Ȝ";s:2:"ȟ";s:2:"Ȟ";s:2:"ȣ";s:2:"Ȣ";s:2:"ȥ";s:2:"Ȥ";s:2:"ȧ";s:2:"Ȧ";s:2:"ȩ";s:2:"Ȩ";s:2:"ȫ";s:2:"Ȫ";s:2:"ȭ";s:2:"Ȭ";s:2:"ȯ";s:2:"Ȯ";s:2:"ȱ";s:2:"Ȱ";s:2:"ȳ";s:2:"Ȳ";s:2:"ȼ";s:2:"Ȼ";s:2:"ȿ";s:3:"Ȿ";s:2:"ɀ";s:3:"Ɀ";s:2:"ɂ";s:2:"Ɂ";s:2:"ɇ";s:2:"Ɇ";s:2:"ɉ";s:2:"Ɉ";s:2:"ɋ";s:2:"Ɋ";s:2:"ɍ";s:2:"Ɍ";s:2:"ɏ";s:2:"Ɏ";s:2:"ɐ";s:3:"Ɐ";s:2:"ɑ";s:3:"Ɑ";s:2:"ɒ";s:3:"Ɒ";s:2:"ɓ";s:2:"Ɓ";s:2:"ɔ";s:2:"Ɔ";s:2:"ɖ";s:2:"Ɖ";s:2:"ɗ";s:2:"Ɗ";s:2:"ə";s:2:"Ə";s:2:"ɛ";s:2:"Ɛ";s:2:"ɜ";s:3:"Ɜ";s:2:"ɠ";s:2:"Ɠ";s:2:"ɡ";s:3:"Ɡ";s:2:"ɣ";s:2:"Ɣ";s:2:"ɥ";s:3:"Ɥ";s:2:"ɦ";s:3:"Ɦ";s:2:"ɨ";s:2:"Ɨ";s:2:"ɩ";s:2:"Ɩ";s:2:"ɫ";s:3:"Ɫ";s:2:"ɬ";s:3:"Ɬ";s:2:"ɯ";s:2:"Ɯ";s:2:"ɱ";s:3:"Ɱ";s:2:"ɲ";s:2:"Ɲ";s:2:"ɵ";s:2:"Ɵ";s:2:"ɽ";s:3:"Ɽ";s:2:"ʀ";s:2:"Ʀ";s:2:"ʃ";s:2:"Ʃ";s:2:"ʇ";s:3:"Ʇ";s:2:"ʈ";s:2:"Ʈ";s:2:"ʉ";s:2:"Ʉ";s:2:"ʊ";s:2:"Ʊ";s:2:"ʋ";s:2:"Ʋ";s:2:"ʌ";s:2:"Ʌ";s:2:"ʒ";s:2:"Ʒ";s:2:"ʞ";s:3:"Ʞ";s:2:"ͅ";s:2:"Ι";s:2:"ͱ";s:2:"Ͱ";s:2:"ͳ";s:2:"Ͳ";s:2:"ͷ";s:2:"Ͷ";s:2:"ͻ";s:2:"Ͻ";s:2:"ͼ";s:2:"Ͼ";s:2:"ͽ";s:2:"Ͽ";s:2:"ά";s:2:"Ά";s:2:"έ";s:2:"Έ";s:2:"ή";s:2:"Ή";s:2:"ί";s:2:"Ί";s:2:"α";s:2:"Α";s:2:"β";s:2:"Β";s:2:"γ";s:2:"Γ";s:2:"δ";s:2:"Δ";s:2:"ε";s:2:"Ε";s:2:"ζ";s:2:"Ζ";s:2:"η";s:2:"Η";s:2:"θ";s:2:"Θ";s:2:"ι";s:2:"Ι";s:2:"κ";s:2:"Κ";s:2:"λ";s:2:"Λ";s:2:"μ";s:2:"Μ";s:2:"ν";s:2:"Ν";s:2:"ξ";s:2:"Ξ";s:2:"ο";s:2:"Ο";s:2:"π";s:2:"Π";s:2:"ρ";s:2:"Ρ";s:2:"ς";s:2:"Σ";s:2:"σ";s:2:"Σ";s:2:"τ";s:2:"Τ";s:2:"υ";s:2:"Υ";s:2:"φ";s:2:"Φ";s:2:"χ";s:2:"Χ";s:2:"ψ";s:2:"Ψ";s:2:"ω";s:2:"Ω";s:2:"ϊ";s:2:"Ϊ";s:2:"ϋ";s:2:"Ϋ";s:2:"ό";s:2:"Ό";s:2:"ύ";s:2:"Ύ";s:2:"ώ";s:2:"Ώ";s:2:"ϐ";s:2:"Β";s:2:"ϑ";s:2:"Θ";s:2:"ϕ";s:2:"Φ";s:2:"ϖ";s:2:"Π";s:2:"ϗ";s:2:"Ϗ";s:2:"ϙ";s:2:"Ϙ";s:2:"ϛ";s:2:"Ϛ";s:2:"ϝ";s:2:"Ϝ";s:2:"ϟ";s:2:"Ϟ";s:2:"ϡ";s:2:"Ϡ";s:2:"ϣ";s:2:"Ϣ";s:2:"ϥ";s:2:"Ϥ";s:2:"ϧ";s:2:"Ϧ";s:2:"ϩ";s:2:"Ϩ";s:2:"ϫ";s:2:"Ϫ";s:2:"ϭ";s:2:"Ϭ";s:2:"ϯ";s:2:"Ϯ";s:2:"ϰ";s:2:"Κ";s:2:"ϱ";s:2:"Ρ";s:2:"ϲ";s:2:"Ϲ";s:2:"ϳ";s:2:"Ϳ";s:2:"ϵ";s:2:"Ε";s:2:"ϸ";s:2:"Ϸ";s:2:"ϻ";s:2:"Ϻ";s:2:"а";s:2:"А";s:2:"б";s:2:"Б";s:2:"в";s:2:"В";s:2:"г";s:2:"Г";s:2:"д";s:2:"Д";s:2:"е";s:2:"Е";s:2:"ж";s:2:"Ж";s:2:"з";s:2:"З";s:2:"и";s:2:"И";s:2:"й";s:2:"Й";s:2:"к";s:2:"К";s:2:"л";s:2:"Л";s:2:"м";s:2:"М";s:2:"н";s:2:"Н";s:2:"о";s:2:"О";s:2:"п";s:2:"П";s:2:"р";s:2:"Р";s:2:"с";s:2:"С";s:2:"т";s:2:"Т";s:2:"у";s:2:"У";s:2:"ф";s:2:"Ф";s:2:"х";s:2:"Х";s:2:"ц";s:2:"Ц";s:2:"ч";s:2:"Ч";s:2:"ш";s:2:"Ш";s:2:"щ";s:2:"Щ";s:2:"ъ";s:2:"Ъ";s:2:"ы";s:2:"Ы";s:2:"ь";s:2:"Ь";s:2:"э";s:2:"Э";s:2:"ю";s:2:"Ю";s:2:"я";s:2:"Я";s:2:"ѐ";s:2:"Ѐ";s:2:"ё";s:2:"Ё";s:2:"ђ";s:2:"Ђ";s:2:"ѓ";s:2:"Ѓ";s:2:"є";s:2:"Є";s:2:"ѕ";s:2:"Ѕ";s:2:"і";s:2:"І";s:2:"ї";s:2:"Ї";s:2:"ј";s:2:"Ј";s:2:"љ";s:2:"Љ";s:2:"њ";s:2:"Њ";s:2:"ћ";s:2:"Ћ";s:2:"ќ";s:2:"Ќ";s:2:"ѝ";s:2:"Ѝ";s:2:"ў";s:2:"Ў";s:2:"џ";s:2:"Џ";s:2:"ѡ";s:2:"Ѡ";s:2:"ѣ";s:2:"Ѣ";s:2:"ѥ";s:2:"Ѥ";s:2:"ѧ";s:2:"Ѧ";s:2:"ѩ";s:2:"Ѩ";s:2:"ѫ";s:2:"Ѫ";s:2:"ѭ";s:2:"Ѭ";s:2:"ѯ";s:2:"Ѯ";s:2:"ѱ";s:2:"Ѱ";s:2:"ѳ";s:2:"Ѳ";s:2:"ѵ";s:2:"Ѵ";s:2:"ѷ";s:2:"Ѷ";s:2:"ѹ";s:2:"Ѹ";s:2:"ѻ";s:2:"Ѻ";s:2:"ѽ";s:2:"Ѽ";s:2:"ѿ";s:2:"Ѿ";s:2:"ҁ";s:2:"Ҁ";s:2:"ҋ";s:2:"Ҋ";s:2:"ҍ";s:2:"Ҍ";s:2:"ҏ";s:2:"Ҏ";s:2:"ґ";s:2:"Ґ";s:2:"ғ";s:2:"Ғ";s:2:"ҕ";s:2:"Ҕ";s:2:"җ";s:2:"Җ";s:2:"ҙ";s:2:"Ҙ";s:2:"қ";s:2:"Қ";s:2:"ҝ";s:2:"Ҝ";s:2:"ҟ";s:2:"Ҟ";s:2:"ҡ";s:2:"Ҡ";s:2:"ң";s:2:"Ң";s:2:"ҥ";s:2:"Ҥ";s:2:"ҧ";s:2:"Ҧ";s:2:"ҩ";s:2:"Ҩ";s:2:"ҫ";s:2:"Ҫ";s:2:"ҭ";s:2:"Ҭ";s:2:"ү";s:2:"Ү";s:2:"ұ";s:2:"Ұ";s:2:"ҳ";s:2:"Ҳ";s:2:"ҵ";s:2:"Ҵ";s:2:"ҷ";s:2:"Ҷ";s:2:"ҹ";s:2:"Ҹ";s:2:"һ";s:2:"Һ";s:2:"ҽ";s:2:"Ҽ";s:2:"ҿ";s:2:"Ҿ";s:2:"ӂ";s:2:"Ӂ";s:2:"ӄ";s:2:"Ӄ";s:2:"ӆ";s:2:"Ӆ";s:2:"ӈ";s:2:"Ӈ";s:2:"ӊ";s:2:"Ӊ";s:2:"ӌ";s:2:"Ӌ";s:2:"ӎ";s:2:"Ӎ";s:2:"ӏ";s:2:"Ӏ";s:2:"ӑ";s:2:"Ӑ";s:2:"ӓ";s:2:"Ӓ";s:2:"ӕ";s:2:"Ӕ";s:2:"ӗ";s:2:"Ӗ";s:2:"ә";s:2:"Ә";s:2:"ӛ";s:2:"Ӛ";s:2:"ӝ";s:2:"Ӝ";s:2:"ӟ";s:2:"Ӟ";s:2:"ӡ";s:2:"Ӡ";s:2:"ӣ";s:2:"Ӣ";s:2:"ӥ";s:2:"Ӥ";s:2:"ӧ";s:2:"Ӧ";s:2:"ө";s:2:"Ө";s:2:"ӫ";s:2:"Ӫ";s:2:"ӭ";s:2:"Ӭ";s:2:"ӯ";s:2:"Ӯ";s:2:"ӱ";s:2:"Ӱ";s:2:"ӳ";s:2:"Ӳ";s:2:"ӵ";s:2:"Ӵ";s:2:"ӷ";s:2:"Ӷ";s:2:"ӹ";s:2:"Ӹ";s:2:"ӻ";s:2:"Ӻ";s:2:"ӽ";s:2:"Ӽ";s:2:"ӿ";s:2:"Ӿ";s:2:"ԁ";s:2:"Ԁ";s:2:"ԃ";s:2:"Ԃ";s:2:"ԅ";s:2:"Ԅ";s:2:"ԇ";s:2:"Ԇ";s:2:"ԉ";s:2:"Ԉ";s:2:"ԋ";s:2:"Ԋ";s:2:"ԍ";s:2:"Ԍ";s:2:"ԏ";s:2:"Ԏ";s:2:"ԑ";s:2:"Ԑ";s:2:"ԓ";s:2:"Ԓ";s:2:"ԕ";s:2:"Ԕ";s:2:"ԗ";s:2:"Ԗ";s:2:"ԙ";s:2:"Ԙ";s:2:"ԛ";s:2:"Ԛ";s:2:"ԝ";s:2:"Ԝ";s:2:"ԟ";s:2:"Ԟ";s:2:"ԡ";s:2:"Ԡ";s:2:"ԣ";s:2:"Ԣ";s:2:"ԥ";s:2:"Ԥ";s:2:"ԧ";s:2:"Ԧ";s:2:"ԩ";s:2:"Ԩ";s:2:"ԫ";s:2:"Ԫ";s:2:"ԭ";s:2:"Ԭ";s:2:"ԯ";s:2:"Ԯ";s:2:"ա";s:2:"Ա";s:2:"բ";s:2:"Բ";s:2:"գ";s:2:"Գ";s:2:"դ";s:2:"Դ";s:2:"ե";s:2:"Ե";s:2:"զ";s:2:"Զ";s:2:"է";s:2:"Է";s:2:"ը";s:2:"Ը";s:2:"թ";s:2:"Թ";s:2:"ժ";s:2:"Ժ";s:2:"ի";s:2:"Ի";s:2:"լ";s:2:"Լ";s:2:"խ";s:2:"Խ";s:2:"ծ";s:2:"Ծ";s:2:"կ";s:2:"Կ";s:2:"հ";s:2:"Հ";s:2:"ձ";s:2:"Ձ";s:2:"ղ";s:2:"Ղ";s:2:"ճ";s:2:"Ճ";s:2:"մ";s:2:"Մ";s:2:"յ";s:2:"Յ";s:2:"ն";s:2:"Ն";s:2:"շ";s:2:"Շ";s:2:"ո";s:2:"Ո";s:2:"չ";s:2:"Չ";s:2:"պ";s:2:"Պ";s:2:"ջ";s:2:"Ջ";s:2:"ռ";s:2:"Ռ";s:2:"ս";s:2:"Ս";s:2:"վ";s:2:"Վ";s:2:"տ";s:2:"Տ";s:2:"ր";s:2:"Ր";s:2:"ց";s:2:"Ց";s:2:"ւ";s:2:"Ւ";s:2:"փ";s:2:"Փ";s:2:"ք";s:2:"Ք";s:2:"օ";s:2:"Օ";s:2:"ֆ";s:2:"Ֆ";s:3:"ᵹ";s:3:"Ᵹ";s:3:"ᵽ";s:3:"Ᵽ";s:3:"ḁ";s:3:"Ḁ";s:3:"ḃ";s:3:"Ḃ";s:3:"ḅ";s:3:"Ḅ";s:3:"ḇ";s:3:"Ḇ";s:3:"ḉ";s:3:"Ḉ";s:3:"ḋ";s:3:"Ḋ";s:3:"ḍ";s:3:"Ḍ";s:3:"ḏ";s:3:"Ḏ";s:3:"ḑ";s:3:"Ḑ";s:3:"ḓ";s:3:"Ḓ";s:3:"ḕ";s:3:"Ḕ";s:3:"ḗ";s:3:"Ḗ";s:3:"ḙ";s:3:"Ḙ";s:3:"ḛ";s:3:"Ḛ";s:3:"ḝ";s:3:"Ḝ";s:3:"ḟ";s:3:"Ḟ";s:3:"ḡ";s:3:"Ḡ";s:3:"ḣ";s:3:"Ḣ";s:3:"ḥ";s:3:"Ḥ";s:3:"ḧ";s:3:"Ḧ";s:3:"ḩ";s:3:"Ḩ";s:3:"ḫ";s:3:"Ḫ";s:3:"ḭ";s:3:"Ḭ";s:3:"ḯ";s:3:"Ḯ";s:3:"ḱ";s:3:"Ḱ";s:3:"ḳ";s:3:"Ḳ";s:3:"ḵ";s:3:"Ḵ";s:3:"ḷ";s:3:"Ḷ";s:3:"ḹ";s:3:"Ḹ";s:3:"ḻ";s:3:"Ḻ";s:3:"ḽ";s:3:"Ḽ";s:3:"ḿ";s:3:"Ḿ";s:3:"ṁ";s:3:"Ṁ";s:3:"ṃ";s:3:"Ṃ";s:3:"ṅ";s:3:"Ṅ";s:3:"ṇ";s:3:"Ṇ";s:3:"ṉ";s:3:"Ṉ";s:3:"ṋ";s:3:"Ṋ";s:3:"ṍ";s:3:"Ṍ";s:3:"ṏ";s:3:"Ṏ";s:3:"ṑ";s:3:"Ṑ";s:3:"ṓ";s:3:"Ṓ";s:3:"ṕ";s:3:"Ṕ";s:3:"ṗ";s:3:"Ṗ";s:3:"ṙ";s:3:"Ṙ";s:3:"ṛ";s:3:"Ṛ";s:3:"ṝ";s:3:"Ṝ";s:3:"ṟ";s:3:"Ṟ";s:3:"ṡ";s:3:"Ṡ";s:3:"ṣ";s:3:"Ṣ";s:3:"ṥ";s:3:"Ṥ";s:3:"ṧ";s:3:"Ṧ";s:3:"ṩ";s:3:"Ṩ";s:3:"ṫ";s:3:"Ṫ";s:3:"ṭ";s:3:"Ṭ";s:3:"ṯ";s:3:"Ṯ";s:3:"ṱ";s:3:"Ṱ";s:3:"ṳ";s:3:"Ṳ";s:3:"ṵ";s:3:"Ṵ";s:3:"ṷ";s:3:"Ṷ";s:3:"ṹ";s:3:"Ṹ";s:3:"ṻ";s:3:"Ṻ";s:3:"ṽ";s:3:"Ṽ";s:3:"ṿ";s:3:"Ṿ";s:3:"ẁ";s:3:"Ẁ";s:3:"ẃ";s:3:"Ẃ";s:3:"ẅ";s:3:"Ẅ";s:3:"ẇ";s:3:"Ẇ";s:3:"ẉ";s:3:"Ẉ";s:3:"ẋ";s:3:"Ẋ";s:3:"ẍ";s:3:"Ẍ";s:3:"ẏ";s:3:"Ẏ";s:3:"ẑ";s:3:"Ẑ";s:3:"ẓ";s:3:"Ẓ";s:3:"ẕ";s:3:"Ẕ";s:3:"ẛ";s:3:"Ṡ";s:3:"ạ";s:3:"Ạ";s:3:"ả";s:3:"Ả";s:3:"ấ";s:3:"Ấ";s:3:"ầ";s:3:"Ầ";s:3:"ẩ";s:3:"Ẩ";s:3:"ẫ";s:3:"Ẫ";s:3:"ậ";s:3:"Ậ";s:3:"ắ";s:3:"Ắ";s:3:"ằ";s:3:"Ằ";s:3:"ẳ";s:3:"Ẳ";s:3:"ẵ";s:3:"Ẵ";s:3:"ặ";s:3:"Ặ";s:3:"ẹ";s:3:"Ẹ";s:3:"ẻ";s:3:"Ẻ";s:3:"ẽ";s:3:"Ẽ";s:3:"ế";s:3:"Ế";s:3:"ề";s:3:"Ề";s:3:"ể";s:3:"Ể";s:3:"ễ";s:3:"Ễ";s:3:"ệ";s:3:"Ệ";s:3:"ỉ";s:3:"Ỉ";s:3:"ị";s:3:"Ị";s:3:"ọ";s:3:"Ọ";s:3:"ỏ";s:3:"Ỏ";s:3:"ố";s:3:"Ố";s:3:"ồ";s:3:"Ồ";s:3:"ổ";s:3:"Ổ";s:3:"ỗ";s:3:"Ỗ";s:3:"ộ";s:3:"Ộ";s:3:"ớ";s:3:"Ớ";s:3:"ờ";s:3:"Ờ";s:3:"ở";s:3:"Ở";s:3:"ỡ";s:3:"Ỡ";s:3:"ợ";s:3:"Ợ";s:3:"ụ";s:3:"Ụ";s:3:"ủ";s:3:"Ủ";s:3:"ứ";s:3:"Ứ";s:3:"ừ";s:3:"Ừ";s:3:"ử";s:3:"Ử";s:3:"ữ";s:3:"Ữ";s:3:"ự";s:3:"Ự";s:3:"ỳ";s:3:"Ỳ";s:3:"ỵ";s:3:"Ỵ";s:3:"ỷ";s:3:"Ỷ";s:3:"ỹ";s:3:"Ỹ";s:3:"ỻ";s:3:"Ỻ";s:3:"ỽ";s:3:"Ỽ";s:3:"ỿ";s:3:"Ỿ";s:3:"ἀ";s:3:"Ἀ";s:3:"ἁ";s:3:"Ἁ";s:3:"ἂ";s:3:"Ἂ";s:3:"ἃ";s:3:"Ἃ";s:3:"ἄ";s:3:"Ἄ";s:3:"ἅ";s:3:"Ἅ";s:3:"ἆ";s:3:"Ἆ";s:3:"ἇ";s:3:"Ἇ";s:3:"ἐ";s:3:"Ἐ";s:3:"ἑ";s:3:"Ἑ";s:3:"ἒ";s:3:"Ἒ";s:3:"ἓ";s:3:"Ἓ";s:3:"ἔ";s:3:"Ἔ";s:3:"ἕ";s:3:"Ἕ";s:3:"ἠ";s:3:"Ἠ";s:3:"ἡ";s:3:"Ἡ";s:3:"ἢ";s:3:"Ἢ";s:3:"ἣ";s:3:"Ἣ";s:3:"ἤ";s:3:"Ἤ";s:3:"ἥ";s:3:"Ἥ";s:3:"ἦ";s:3:"Ἦ";s:3:"ἧ";s:3:"Ἧ";s:3:"ἰ";s:3:"Ἰ";s:3:"ἱ";s:3:"Ἱ";s:3:"ἲ";s:3:"Ἲ";s:3:"ἳ";s:3:"Ἳ";s:3:"ἴ";s:3:"Ἴ";s:3:"ἵ";s:3:"Ἵ";s:3:"ἶ";s:3:"Ἶ";s:3:"ἷ";s:3:"Ἷ";s:3:"ὀ";s:3:"Ὀ";s:3:"ὁ";s:3:"Ὁ";s:3:"ὂ";s:3:"Ὂ";s:3:"ὃ";s:3:"Ὃ";s:3:"ὄ";s:3:"Ὄ";s:3:"ὅ";s:3:"Ὅ";s:3:"ὑ";s:3:"Ὑ";s:3:"ὓ";s:3:"Ὓ";s:3:"ὕ";s:3:"Ὕ";s:3:"ὗ";s:3:"Ὗ";s:3:"ὠ";s:3:"Ὠ";s:3:"ὡ";s:3:"Ὡ";s:3:"ὢ";s:3:"Ὢ";s:3:"ὣ";s:3:"Ὣ";s:3:"ὤ";s:3:"Ὤ";s:3:"ὥ";s:3:"Ὥ";s:3:"ὦ";s:3:"Ὦ";s:3:"ὧ";s:3:"Ὧ";s:3:"ὰ";s:3:"Ὰ";s:3:"ά";s:3:"Ά";s:3:"ὲ";s:3:"Ὲ";s:3:"έ";s:3:"Έ";s:3:"ὴ";s:3:"Ὴ";s:3:"ή";s:3:"Ή";s:3:"ὶ";s:3:"Ὶ";s:3:"ί";s:3:"Ί";s:3:"ὸ";s:3:"Ὸ";s:3:"ό";s:3:"Ό";s:3:"ὺ";s:3:"Ὺ";s:3:"ύ";s:3:"Ύ";s:3:"ὼ";s:3:"Ὼ";s:3:"ώ";s:3:"Ώ";s:3:"ᾀ";s:3:"ᾈ";s:3:"ᾁ";s:3:"ᾉ";s:3:"ᾂ";s:3:"ᾊ";s:3:"ᾃ";s:3:"ᾋ";s:3:"ᾄ";s:3:"ᾌ";s:3:"ᾅ";s:3:"ᾍ";s:3:"ᾆ";s:3:"ᾎ";s:3:"ᾇ";s:3:"ᾏ";s:3:"ᾐ";s:3:"ᾘ";s:3:"ᾑ";s:3:"ᾙ";s:3:"ᾒ";s:3:"ᾚ";s:3:"ᾓ";s:3:"ᾛ";s:3:"ᾔ";s:3:"ᾜ";s:3:"ᾕ";s:3:"ᾝ";s:3:"ᾖ";s:3:"ᾞ";s:3:"ᾗ";s:3:"ᾟ";s:3:"ᾠ";s:3:"ᾨ";s:3:"ᾡ";s:3:"ᾩ";s:3:"ᾢ";s:3:"ᾪ";s:3:"ᾣ";s:3:"ᾫ";s:3:"ᾤ";s:3:"ᾬ";s:3:"ᾥ";s:3:"ᾭ";s:3:"ᾦ";s:3:"ᾮ";s:3:"ᾧ";s:3:"ᾯ";s:3:"ᾰ";s:3:"Ᾰ";s:3:"ᾱ";s:3:"Ᾱ";s:3:"ᾳ";s:3:"ᾼ";s:3:"ι";s:2:"Ι";s:3:"ῃ";s:3:"ῌ";s:3:"ῐ";s:3:"Ῐ";s:3:"ῑ";s:3:"Ῑ";s:3:"ῠ";s:3:"Ῠ";s:3:"ῡ";s:3:"Ῡ";s:3:"ῥ";s:3:"Ῥ";s:3:"ῳ";s:3:"ῼ";s:3:"ⅎ";s:3:"Ⅎ";s:3:"ⅰ";s:3:"Ⅰ";s:3:"ⅱ";s:3:"Ⅱ";s:3:"ⅲ";s:3:"Ⅲ";s:3:"ⅳ";s:3:"Ⅳ";s:3:"ⅴ";s:3:"Ⅴ";s:3:"ⅵ";s:3:"Ⅵ";s:3:"ⅶ";s:3:"Ⅶ";s:3:"ⅷ";s:3:"Ⅷ";s:3:"ⅸ";s:3:"Ⅸ";s:3:"ⅹ";s:3:"Ⅹ";s:3:"ⅺ";s:3:"Ⅺ";s:3:"ⅻ";s:3:"Ⅻ";s:3:"ⅼ";s:3:"Ⅼ";s:3:"ⅽ";s:3:"Ⅽ";s:3:"ⅾ";s:3:"Ⅾ";s:3:"ⅿ";s:3:"Ⅿ";s:3:"ↄ";s:3:"Ↄ";s:3:"ⓐ";s:3:"Ⓐ";s:3:"ⓑ";s:3:"Ⓑ";s:3:"ⓒ";s:3:"Ⓒ";s:3:"ⓓ";s:3:"Ⓓ";s:3:"ⓔ";s:3:"Ⓔ";s:3:"ⓕ";s:3:"Ⓕ";s:3:"ⓖ";s:3:"Ⓖ";s:3:"ⓗ";s:3:"Ⓗ";s:3:"ⓘ";s:3:"Ⓘ";s:3:"ⓙ";s:3:"Ⓙ";s:3:"ⓚ";s:3:"Ⓚ";s:3:"ⓛ";s:3:"Ⓛ";s:3:"ⓜ";s:3:"Ⓜ";s:3:"ⓝ";s:3:"Ⓝ";s:3:"ⓞ";s:3:"Ⓞ";s:3:"ⓟ";s:3:"Ⓟ";s:3:"ⓠ";s:3:"Ⓠ";s:3:"ⓡ";s:3:"Ⓡ";s:3:"ⓢ";s:3:"Ⓢ";s:3:"ⓣ";s:3:"Ⓣ";s:3:"ⓤ";s:3:"Ⓤ";s:3:"ⓥ";s:3:"Ⓥ";s:3:"ⓦ";s:3:"Ⓦ";s:3:"ⓧ";s:3:"Ⓧ";s:3:"ⓨ";s:3:"Ⓨ";s:3:"ⓩ";s:3:"Ⓩ";s:3:"ⰰ";s:3:"Ⰰ";s:3:"ⰱ";s:3:"Ⰱ";s:3:"ⰲ";s:3:"Ⰲ";s:3:"ⰳ";s:3:"Ⰳ";s:3:"ⰴ";s:3:"Ⰴ";s:3:"ⰵ";s:3:"Ⰵ";s:3:"ⰶ";s:3:"Ⰶ";s:3:"ⰷ";s:3:"Ⰷ";s:3:"ⰸ";s:3:"Ⰸ";s:3:"ⰹ";s:3:"Ⰹ";s:3:"ⰺ";s:3:"Ⰺ";s:3:"ⰻ";s:3:"Ⰻ";s:3:"ⰼ";s:3:"Ⰼ";s:3:"ⰽ";s:3:"Ⰽ";s:3:"ⰾ";s:3:"Ⰾ";s:3:"ⰿ";s:3:"Ⰿ";s:3:"ⱀ";s:3:"Ⱀ";s:3:"ⱁ";s:3:"Ⱁ";s:3:"ⱂ";s:3:"Ⱂ";s:3:"ⱃ";s:3:"Ⱃ";s:3:"ⱄ";s:3:"Ⱄ";s:3:"ⱅ";s:3:"Ⱅ";s:3:"ⱆ";s:3:"Ⱆ";s:3:"ⱇ";s:3:"Ⱇ";s:3:"ⱈ";s:3:"Ⱈ";s:3:"ⱉ";s:3:"Ⱉ";s:3:"ⱊ";s:3:"Ⱊ";s:3:"ⱋ";s:3:"Ⱋ";s:3:"ⱌ";s:3:"Ⱌ";s:3:"ⱍ";s:3:"Ⱍ";s:3:"ⱎ";s:3:"Ⱎ";s:3:"ⱏ";s:3:"Ⱏ";s:3:"ⱐ";s:3:"Ⱐ";s:3:"ⱑ";s:3:"Ⱑ";s:3:"ⱒ";s:3:"Ⱒ";s:3:"ⱓ";s:3:"Ⱓ";s:3:"ⱔ";s:3:"Ⱔ";s:3:"ⱕ";s:3:"Ⱕ";s:3:"ⱖ";s:3:"Ⱖ";s:3:"ⱗ";s:3:"Ⱗ";s:3:"ⱘ";s:3:"Ⱘ";s:3:"ⱙ";s:3:"Ⱙ";s:3:"ⱚ";s:3:"Ⱚ";s:3:"ⱛ";s:3:"Ⱛ";s:3:"ⱜ";s:3:"Ⱜ";s:3:"ⱝ";s:3:"Ⱝ";s:3:"ⱞ";s:3:"Ⱞ";s:3:"ⱡ";s:3:"Ⱡ";s:3:"ⱥ";s:2:"Ⱥ";s:3:"ⱦ";s:2:"Ⱦ";s:3:"ⱨ";s:3:"Ⱨ";s:3:"ⱪ";s:3:"Ⱪ";s:3:"ⱬ";s:3:"Ⱬ";s:3:"ⱳ";s:3:"Ⱳ";s:3:"ⱶ";s:3:"Ⱶ";s:3:"ⲁ";s:3:"Ⲁ";s:3:"ⲃ";s:3:"Ⲃ";s:3:"ⲅ";s:3:"Ⲅ";s:3:"ⲇ";s:3:"Ⲇ";s:3:"ⲉ";s:3:"Ⲉ";s:3:"ⲋ";s:3:"Ⲋ";s:3:"ⲍ";s:3:"Ⲍ";s:3:"ⲏ";s:3:"Ⲏ";s:3:"ⲑ";s:3:"Ⲑ";s:3:"ⲓ";s:3:"Ⲓ";s:3:"ⲕ";s:3:"Ⲕ";s:3:"ⲗ";s:3:"Ⲗ";s:3:"ⲙ";s:3:"Ⲙ";s:3:"ⲛ";s:3:"Ⲛ";s:3:"ⲝ";s:3:"Ⲝ";s:3:"ⲟ";s:3:"Ⲟ";s:3:"ⲡ";s:3:"Ⲡ";s:3:"ⲣ";s:3:"Ⲣ";s:3:"ⲥ";s:3:"Ⲥ";s:3:"ⲧ";s:3:"Ⲧ";s:3:"ⲩ";s:3:"Ⲩ";s:3:"ⲫ";s:3:"Ⲫ";s:3:"ⲭ";s:3:"Ⲭ";s:3:"ⲯ";s:3:"Ⲯ";s:3:"ⲱ";s:3:"Ⲱ";s:3:"ⲳ";s:3:"Ⲳ";s:3:"ⲵ";s:3:"Ⲵ";s:3:"ⲷ";s:3:"Ⲷ";s:3:"ⲹ";s:3:"Ⲹ";s:3:"ⲻ";s:3:"Ⲻ";s:3:"ⲽ";s:3:"Ⲽ";s:3:"ⲿ";s:3:"Ⲿ";s:3:"ⳁ";s:3:"Ⳁ";s:3:"ⳃ";s:3:"Ⳃ";s:3:"ⳅ";s:3:"Ⳅ";s:3:"ⳇ";s:3:"Ⳇ";s:3:"ⳉ";s:3:"Ⳉ";s:3:"ⳋ";s:3:"Ⳋ";s:3:"ⳍ";s:3:"Ⳍ";s:3:"ⳏ";s:3:"Ⳏ";s:3:"ⳑ";s:3:"Ⳑ";s:3:"ⳓ";s:3:"Ⳓ";s:3:"ⳕ";s:3:"Ⳕ";s:3:"ⳗ";s:3:"Ⳗ";s:3:"ⳙ";s:3:"Ⳙ";s:3:"ⳛ";s:3:"Ⳛ";s:3:"ⳝ";s:3:"Ⳝ";s:3:"ⳟ";s:3:"Ⳟ";s:3:"ⳡ";s:3:"Ⳡ";s:3:"ⳣ";s:3:"Ⳣ";s:3:"ⳬ";s:3:"Ⳬ";s:3:"ⳮ";s:3:"Ⳮ";s:3:"ⳳ";s:3:"Ⳳ";s:3:"ⴀ";s:3:"Ⴀ";s:3:"ⴁ";s:3:"Ⴁ";s:3:"ⴂ";s:3:"Ⴂ";s:3:"ⴃ";s:3:"Ⴃ";s:3:"ⴄ";s:3:"Ⴄ";s:3:"ⴅ";s:3:"Ⴅ";s:3:"ⴆ";s:3:"Ⴆ";s:3:"ⴇ";s:3:"Ⴇ";s:3:"ⴈ";s:3:"Ⴈ";s:3:"ⴉ";s:3:"Ⴉ";s:3:"ⴊ";s:3:"Ⴊ";s:3:"ⴋ";s:3:"Ⴋ";s:3:"ⴌ";s:3:"Ⴌ";s:3:"ⴍ";s:3:"Ⴍ";s:3:"ⴎ";s:3:"Ⴎ";s:3:"ⴏ";s:3:"Ⴏ";s:3:"ⴐ";s:3:"Ⴐ";s:3:"ⴑ";s:3:"Ⴑ";s:3:"ⴒ";s:3:"Ⴒ";s:3:"ⴓ";s:3:"Ⴓ";s:3:"ⴔ";s:3:"Ⴔ";s:3:"ⴕ";s:3:"Ⴕ";s:3:"ⴖ";s:3:"Ⴖ";s:3:"ⴗ";s:3:"Ⴗ";s:3:"ⴘ";s:3:"Ⴘ";s:3:"ⴙ";s:3:"Ⴙ";s:3:"ⴚ";s:3:"Ⴚ";s:3:"ⴛ";s:3:"Ⴛ";s:3:"ⴜ";s:3:"Ⴜ";s:3:"ⴝ";s:3:"Ⴝ";s:3:"ⴞ";s:3:"Ⴞ";s:3:"ⴟ";s:3:"Ⴟ";s:3:"ⴠ";s:3:"Ⴠ";s:3:"ⴡ";s:3:"Ⴡ";s:3:"ⴢ";s:3:"Ⴢ";s:3:"ⴣ";s:3:"Ⴣ";s:3:"ⴤ";s:3:"Ⴤ";s:3:"ⴥ";s:3:"Ⴥ";s:3:"ⴧ";s:3:"Ⴧ";s:3:"ⴭ";s:3:"Ⴭ";s:3:"ꙁ";s:3:"Ꙁ";s:3:"ꙃ";s:3:"Ꙃ";s:3:"ꙅ";s:3:"Ꙅ";s:3:"ꙇ";s:3:"Ꙇ";s:3:"ꙉ";s:3:"Ꙉ";s:3:"ꙋ";s:3:"Ꙋ";s:3:"ꙍ";s:3:"Ꙍ";s:3:"ꙏ";s:3:"Ꙏ";s:3:"ꙑ";s:3:"Ꙑ";s:3:"ꙓ";s:3:"Ꙓ";s:3:"ꙕ";s:3:"Ꙕ";s:3:"ꙗ";s:3:"Ꙗ";s:3:"ꙙ";s:3:"Ꙙ";s:3:"ꙛ";s:3:"Ꙛ";s:3:"ꙝ";s:3:"Ꙝ";s:3:"ꙟ";s:3:"Ꙟ";s:3:"ꙡ";s:3:"Ꙡ";s:3:"ꙣ";s:3:"Ꙣ";s:3:"ꙥ";s:3:"Ꙥ";s:3:"ꙧ";s:3:"Ꙧ";s:3:"ꙩ";s:3:"Ꙩ";s:3:"ꙫ";s:3:"Ꙫ";s:3:"ꙭ";s:3:"Ꙭ";s:3:"ꚁ";s:3:"Ꚁ";s:3:"ꚃ";s:3:"Ꚃ";s:3:"ꚅ";s:3:"Ꚅ";s:3:"ꚇ";s:3:"Ꚇ";s:3:"ꚉ";s:3:"Ꚉ";s:3:"ꚋ";s:3:"Ꚋ";s:3:"ꚍ";s:3:"Ꚍ";s:3:"ꚏ";s:3:"Ꚏ";s:3:"ꚑ";s:3:"Ꚑ";s:3:"ꚓ";s:3:"Ꚓ";s:3:"ꚕ";s:3:"Ꚕ";s:3:"ꚗ";s:3:"Ꚗ";s:3:"ꚙ";s:3:"Ꚙ";s:3:"ꚛ";s:3:"Ꚛ";s:3:"ꜣ";s:3:"Ꜣ";s:3:"ꜥ";s:3:"Ꜥ";s:3:"ꜧ";s:3:"Ꜧ";s:3:"ꜩ";s:3:"Ꜩ";s:3:"ꜫ";s:3:"Ꜫ";s:3:"ꜭ";s:3:"Ꜭ";s:3:"ꜯ";s:3:"Ꜯ";s:3:"ꜳ";s:3:"Ꜳ";s:3:"ꜵ";s:3:"Ꜵ";s:3:"ꜷ";s:3:"Ꜷ";s:3:"ꜹ";s:3:"Ꜹ";s:3:"ꜻ";s:3:"Ꜻ";s:3:"ꜽ";s:3:"Ꜽ";s:3:"ꜿ";s:3:"Ꜿ";s:3:"ꝁ";s:3:"Ꝁ";s:3:"ꝃ";s:3:"Ꝃ";s:3:"ꝅ";s:3:"Ꝅ";s:3:"ꝇ";s:3:"Ꝇ";s:3:"ꝉ";s:3:"Ꝉ";s:3:"ꝋ";s:3:"Ꝋ";s:3:"ꝍ";s:3:"Ꝍ";s:3:"ꝏ";s:3:"Ꝏ";s:3:"ꝑ";s:3:"Ꝑ";s:3:"ꝓ";s:3:"Ꝓ";s:3:"ꝕ";s:3:"Ꝕ";s:3:"ꝗ";s:3:"Ꝗ";s:3:"ꝙ";s:3:"Ꝙ";s:3:"ꝛ";s:3:"Ꝛ";s:3:"ꝝ";s:3:"Ꝝ";s:3:"ꝟ";s:3:"Ꝟ";s:3:"ꝡ";s:3:"Ꝡ";s:3:"ꝣ";s:3:"Ꝣ";s:3:"ꝥ";s:3:"Ꝥ";s:3:"ꝧ";s:3:"Ꝧ";s:3:"ꝩ";s:3:"Ꝩ";s:3:"ꝫ";s:3:"Ꝫ";s:3:"ꝭ";s:3:"Ꝭ";s:3:"ꝯ";s:3:"Ꝯ";s:3:"ꝺ";s:3:"Ꝺ";s:3:"ꝼ";s:3:"Ꝼ";s:3:"ꝿ";s:3:"Ꝿ";s:3:"ꞁ";s:3:"Ꞁ";s:3:"ꞃ";s:3:"Ꞃ";s:3:"ꞅ";s:3:"Ꞅ";s:3:"ꞇ";s:3:"Ꞇ";s:3:"ꞌ";s:3:"Ꞌ";s:3:"ꞑ";s:3:"Ꞑ";s:3:"ꞓ";s:3:"Ꞓ";s:3:"ꞗ";s:3:"Ꞗ";s:3:"ꞙ";s:3:"Ꞙ";s:3:"ꞛ";s:3:"Ꞛ";s:3:"ꞝ";s:3:"Ꞝ";s:3:"ꞟ";s:3:"Ꞟ";s:3:"ꞡ";s:3:"Ꞡ";s:3:"ꞣ";s:3:"Ꞣ";s:3:"ꞥ";s:3:"Ꞥ";s:3:"ꞧ";s:3:"Ꞧ";s:3:"ꞩ";s:3:"Ꞩ";s:3:"a";s:3:"A";s:3:"b";s:3:"B";s:3:"c";s:3:"C";s:3:"d";s:3:"D";s:3:"e";s:3:"E";s:3:"f";s:3:"F";s:3:"g";s:3:"G";s:3:"h";s:3:"H";s:3:"i";s:3:"I";s:3:"j";s:3:"J";s:3:"k";s:3:"K";s:3:"l";s:3:"L";s:3:"m";s:3:"M";s:3:"n";s:3:"N";s:3:"o";s:3:"O";s:3:"p";s:3:"P";s:3:"q";s:3:"Q";s:3:"r";s:3:"R";s:3:"s";s:3:"S";s:3:"t";s:3:"T";s:3:"u";s:3:"U";s:3:"v";s:3:"V";s:3:"w";s:3:"W";s:3:"x";s:3:"X";s:3:"y";s:3:"Y";s:3:"z";s:3:"Z";s:4:"𐐨";s:4:"𐐀";s:4:"𐐩";s:4:"𐐁";s:4:"𐐪";s:4:"𐐂";s:4:"𐐫";s:4:"𐐃";s:4:"𐐬";s:4:"𐐄";s:4:"𐐭";s:4:"𐐅";s:4:"𐐮";s:4:"𐐆";s:4:"𐐯";s:4:"𐐇";s:4:"𐐰";s:4:"𐐈";s:4:"𐐱";s:4:"𐐉";s:4:"𐐲";s:4:"𐐊";s:4:"𐐳";s:4:"𐐋";s:4:"𐐴";s:4:"𐐌";s:4:"𐐵";s:4:"𐐍";s:4:"𐐶";s:4:"𐐎";s:4:"𐐷";s:4:"𐐏";s:4:"𐐸";s:4:"𐐐";s:4:"𐐹";s:4:"𐐑";s:4:"𐐺";s:4:"𐐒";s:4:"𐐻";s:4:"𐐓";s:4:"𐐼";s:4:"𐐔";s:4:"𐐽";s:4:"𐐕";s:4:"𐐾";s:4:"𐐖";s:4:"𐐿";s:4:"𐐗";s:4:"𐑀";s:4:"𐐘";s:4:"𐑁";s:4:"𐐙";s:4:"𐑂";s:4:"𐐚";s:4:"𐑃";s:4:"𐐛";s:4:"𐑄";s:4:"𐐜";s:4:"𐑅";s:4:"𐐝";s:4:"𐑆";s:4:"𐐞";s:4:"𐑇";s:4:"𐐟";s:4:"𐑈";s:4:"𐐠";s:4:"𐑉";s:4:"𐐡";s:4:"𐑊";s:4:"𐐢";s:4:"𐑋";s:4:"𐐣";s:4:"𐑌";s:4:"𐐤";s:4:"𐑍";s:4:"𐐥";s:4:"𐑎";s:4:"𐐦";s:4:"𐑏";s:4:"𐐧";s:4:"𑣀";s:4:"𑢠";s:4:"𑣁";s:4:"𑢡";s:4:"𑣂";s:4:"𑢢";s:4:"𑣃";s:4:"𑢣";s:4:"𑣄";s:4:"𑢤";s:4:"𑣅";s:4:"𑢥";s:4:"𑣆";s:4:"𑢦";s:4:"𑣇";s:4:"𑢧";s:4:"𑣈";s:4:"𑢨";s:4:"𑣉";s:4:"𑢩";s:4:"𑣊";s:4:"𑢪";s:4:"𑣋";s:4:"𑢫";s:4:"𑣌";s:4:"𑢬";s:4:"𑣍";s:4:"𑢭";s:4:"𑣎";s:4:"𑢮";s:4:"𑣏";s:4:"𑢯";s:4:"𑣐";s:4:"𑢰";s:4:"𑣑";s:4:"𑢱";s:4:"𑣒";s:4:"𑢲";s:4:"𑣓";s:4:"𑢳";s:4:"𑣔";s:4:"𑢴";s:4:"𑣕";s:4:"𑢵";s:4:"𑣖";s:4:"𑢶";s:4:"𑣗";s:4:"𑢷";s:4:"𑣘";s:4:"𑢸";s:4:"𑣙";s:4:"𑢹";s:4:"𑣚";s:4:"𑢺";s:4:"𑣛";s:4:"𑢻";s:4:"𑣜";s:4:"𑢼";s:4:"𑣝";s:4:"𑢽";s:4:"𑣞";s:4:"𑢾";s:4:"𑣟";s:4:"𑢿";} \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/polyfill-mbstring/bootstrap.php b/wp-content/plugins/google-calendar-events/vendor/symfony/polyfill-mbstring/bootstrap.php new file mode 100644 index 0000000..4b01b61 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/polyfill-mbstring/bootstrap.php @@ -0,0 +1,51 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +use Symfony\Polyfill\Mbstring as p; + +if (!function_exists('mb_strlen')) { + define('MB_CASE_UPPER', 0); + define('MB_CASE_LOWER', 1); + define('MB_CASE_TITLE', 2); + + function mb_convert_encoding($s, $to, $from = null) { return p\Mbstring::mb_convert_encoding($s, $to, $from); } + function mb_decode_mimeheader($s) { return p\Mbstring::mb_decode_mimeheader($s); } + function mb_encode_mimeheader($s, $charset = null, $transferEnc = null, $lf = null, $indent = null) { return p\Mbstring::mb_encode_mimeheader($s, $charset, $transferEnc, $lf, $indent); } + function mb_convert_case($s, $mode, $enc = null) { return p\Mbstring::mb_convert_case($s, $mode, $enc); } + function mb_internal_encoding($enc = null) { return p\Mbstring::mb_internal_encoding($enc); } + function mb_language($lang = null) { return p\Mbstring::mb_language($lang); } + function mb_list_encodings() { return p\Mbstring::mb_list_encodings(); } + function mb_encoding_aliases($encoding) { return p\Mbstring::mb_encoding_aliases($encoding); } + function mb_check_encoding($var = null, $encoding = null) { return p\Mbstring::mb_check_encoding($var, $encoding); } + function mb_detect_encoding($str, $encodingList = null, $strict = false) { return p\Mbstring::mb_detect_encoding($str, $encodingList, $strict); } + function mb_detect_order($encodingList = null) { return p\Mbstring::mb_detect_order($encodingList); } + function mb_parse_str($s, &$result = array()) { parse_str($s, $result); } + function mb_strlen($s, $enc = null) { return p\Mbstring::mb_strlen($s, $enc); } + function mb_strpos($s, $needle, $offset = 0, $enc = null) { return p\Mbstring::mb_strpos($s, $needle, $offset, $enc); } + function mb_strtolower($s, $enc = null) { return p\Mbstring::mb_strtolower($s, $enc); } + function mb_strtoupper($s, $enc = null) { return p\Mbstring::mb_strtoupper($s, $enc); } + function mb_substitute_character($char = null) { return p\Mbstring::mb_substitute_character($char); } + function mb_substr($s, $start, $length = 2147483647, $enc = null) { return p\Mbstring::mb_substr($s, $start, $length, $enc); } + function mb_stripos($s, $needle, $offset = 0, $enc = null) { return p\Mbstring::mb_stripos($s, $needle, $offset, $enc); } + function mb_stristr($s, $needle, $part = false, $enc = null) { return p\Mbstring::mb_stristr($s, $needle, $part, $enc); } + function mb_strrchr($s, $needle, $part = false, $enc = null) { return p\Mbstring::mb_strrchr($s, $needle, $part, $enc); } + function mb_strrichr($s, $needle, $part = false, $enc = null) { return p\Mbstring::mb_strrichr($s, $needle, $part, $enc); } + function mb_strripos($s, $needle, $offset = 0, $enc = null) { return p\Mbstring::mb_strripos($s, $needle, $offset, $enc); } + function mb_strrpos($s, $needle, $offset = 0, $enc = null) { return p\Mbstring::mb_strrpos($s, $needle, $offset, $enc); } + function mb_strstr($s, $needle, $part = false, $enc = null) { return p\Mbstring::mb_strstr($s, $needle, $part, $enc); } + function mb_get_info($type = 'all') { return p\Mbstring::mb_get_info($type); } + function mb_http_output($enc = null) { return p\Mbstring::mb_http_output($enc); } + function mb_strwidth($s, $enc = null) { return p\Mbstring::mb_strwidth($s, $enc); } + function mb_substr_count($haystack, $needle, $enc = null) { return p\Mbstring::mb_substr_count($haystack, $needle, $enc); } + function mb_output_handler($contents, $status) { return p\Mbstring::mb_output_handler($contents, $status); } + function mb_http_input($type = '') { return p\Mbstring::mb_http_input($type); } + function mb_convert_variables($toEncoding, $fromEncoding, &$a = null, &$b = null, &$c = null, &$d = null, &$e = null, &$f = null) { return p\Mbstring::mb_convert_variables($toEncoding, $fromEncoding, $v0, $a, $b, $c, $d, $e, $f); } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/polyfill-mbstring/composer.json b/wp-content/plugins/google-calendar-events/vendor/symfony/polyfill-mbstring/composer.json new file mode 100644 index 0000000..978ff98 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/polyfill-mbstring/composer.json @@ -0,0 +1,34 @@ +{ + "name": "symfony/polyfill-mbstring", + "type": "library", + "description": "Symfony polyfill for the Mbstring extension", + "keywords": ["polyfill", "shim", "compatibility", "portable", "mbstring"], + "homepage": "https://symfony.com", + "license": "MIT", + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "require": { + "php": ">=5.3.3" + }, + "autoload": { + "psr-4": { "Symfony\\Polyfill\\Mbstring\\": "" }, + "files": [ "bootstrap.php" ] + }, + "suggests": { + "ext-mbstring": "For best performance" + }, + "minimum-stability": "dev", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/CHANGELOG.md b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/CHANGELOG.md new file mode 100644 index 0000000..b011f9e --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/CHANGELOG.md @@ -0,0 +1,69 @@ +CHANGELOG +========= + +3.0.0 +----- + + * removed `FileDumper::format()` method. + * Changed the visibility of the locale property in `Translator` from protected to private. + +2.8.0 +----- + + * deprecated FileDumper::format(), overwrite FileDumper::formatCatalogue() instead. + * deprecated Translator::getMessages(), rely on TranslatorBagInterface::getCatalogue() instead. + * added `FileDumper::formatCatalogue` which allows format the catalogue without dumping it into file. + * added option `json_encoding` to JsonFileDumper + * added options `as_tree`, `inline` to YamlFileDumper + * added support for XLIFF 2.0. + * added support for XLIFF target and tool attributes. + * added message parameters to DataCollectorTranslator. + * [DEPRECATION] The `DiffOperation` class has been deprecated and + will be removed in Symfony 3.0, since its operation has nothing to do with 'diff', + so the class name is misleading. The `TargetOperation` class should be used for + this use-case instead. + +2.7.0 +----- + + * added DataCollectorTranslator for collecting the translated messages. + +2.6.0 +----- + + * added possibility to cache catalogues + * added TranslatorBagInterface + * added LoggingTranslator + * added Translator::getMessages() for retrieving the message catalogue as an array + +2.5.0 +----- + + * added relative file path template to the file dumpers + * added optional backup to the file dumpers + * changed IcuResFileDumper to extend FileDumper + +2.3.0 +----- + + * added classes to make operations on catalogues (like making a diff or a merge on 2 catalogues) + * added Translator::getFallbackLocales() + * deprecated Translator::setFallbackLocale() in favor of the new Translator::setFallbackLocales() method + +2.2.0 +----- + + * QtTranslationsLoader class renamed to QtFileLoader. QtTranslationsLoader is deprecated and will be removed in 2.3. + * [BC BREAK] uniformized the exception thrown by the load() method when an error occurs. The load() method now + throws Symfony\Component\Translation\Exception\NotFoundResourceException when a resource cannot be found + and Symfony\Component\Translation\Exception\InvalidResourceException when a resource is invalid. + * changed the exception class thrown by some load() methods from \RuntimeException to \InvalidArgumentException + (IcuDatFileLoader, IcuResFileLoader and QtFileLoader) + +2.1.0 +----- + + * added support for more than one fallback locale + * added support for extracting translation messages from templates (Twig and PHP) + * added dumpers for translation catalogs + * added support for QT, gettext, and ResourceBundles diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Catalogue/AbstractOperation.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Catalogue/AbstractOperation.php new file mode 100644 index 0000000..9598e17 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Catalogue/AbstractOperation.php @@ -0,0 +1,171 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Catalogue; + +use Symfony\Component\Translation\MessageCatalogue; +use Symfony\Component\Translation\MessageCatalogueInterface; + +/** + * Base catalogues binary operation class. + * + * A catalogue binary operation performs operation on + * source (the left argument) and target (the right argument) catalogues. + * + * @author Jean-François Simon + */ +abstract class AbstractOperation implements OperationInterface +{ + /** + * @var MessageCatalogueInterface The source catalogue + */ + protected $source; + + /** + * @var MessageCatalogueInterface The target catalogue + */ + protected $target; + + /** + * @var MessageCatalogue The result catalogue + */ + protected $result; + + /** + * @var null|array The domains affected by this operation + */ + private $domains; + + /** + * This array stores 'all', 'new' and 'obsolete' messages for all valid domains. + * + * The data structure of this array is as follows: + * ```php + * array( + * 'domain 1' => array( + * 'all' => array(...), + * 'new' => array(...), + * 'obsolete' => array(...) + * ), + * 'domain 2' => array( + * 'all' => array(...), + * 'new' => array(...), + * 'obsolete' => array(...) + * ), + * ... + * ) + * ``` + * + * @var array The array that stores 'all', 'new' and 'obsolete' messages + */ + protected $messages; + + /** + * @param MessageCatalogueInterface $source The source catalogue + * @param MessageCatalogueInterface $target The target catalogue + * + * @throws \LogicException + */ + public function __construct(MessageCatalogueInterface $source, MessageCatalogueInterface $target) + { + if ($source->getLocale() !== $target->getLocale()) { + throw new \LogicException('Operated catalogues must belong to the same locale.'); + } + + $this->source = $source; + $this->target = $target; + $this->result = new MessageCatalogue($source->getLocale()); + $this->domains = null; + $this->messages = array(); + } + + /** + * {@inheritdoc} + */ + public function getDomains() + { + if (null === $this->domains) { + $this->domains = array_values(array_unique(array_merge($this->source->getDomains(), $this->target->getDomains()))); + } + + return $this->domains; + } + + /** + * {@inheritdoc} + */ + public function getMessages($domain) + { + if (!in_array($domain, $this->getDomains())) { + throw new \InvalidArgumentException(sprintf('Invalid domain: %s.', $domain)); + } + + if (!isset($this->messages[$domain]['all'])) { + $this->processDomain($domain); + } + + return $this->messages[$domain]['all']; + } + + /** + * {@inheritdoc} + */ + public function getNewMessages($domain) + { + if (!in_array($domain, $this->getDomains())) { + throw new \InvalidArgumentException(sprintf('Invalid domain: %s.', $domain)); + } + + if (!isset($this->messages[$domain]['new'])) { + $this->processDomain($domain); + } + + return $this->messages[$domain]['new']; + } + + /** + * {@inheritdoc} + */ + public function getObsoleteMessages($domain) + { + if (!in_array($domain, $this->getDomains())) { + throw new \InvalidArgumentException(sprintf('Invalid domain: %s.', $domain)); + } + + if (!isset($this->messages[$domain]['obsolete'])) { + $this->processDomain($domain); + } + + return $this->messages[$domain]['obsolete']; + } + + /** + * {@inheritdoc} + */ + public function getResult() + { + foreach ($this->getDomains() as $domain) { + if (!isset($this->messages[$domain])) { + $this->processDomain($domain); + } + } + + return $this->result; + } + + /** + * Performs operation on source and target catalogues for the given domain and + * stores the results. + * + * @param string $domain The domain which the operation will be performed for + */ + abstract protected function processDomain($domain); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Catalogue/MergeOperation.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Catalogue/MergeOperation.php new file mode 100644 index 0000000..6db3f80 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Catalogue/MergeOperation.php @@ -0,0 +1,55 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Catalogue; + +/** + * Merge operation between two catalogues as follows: + * all = source ∪ target = {x: x ∈ source ∨ x ∈ target} + * new = all ∖ source = {x: x ∈ target ∧ x ∉ source} + * obsolete = source ∖ all = {x: x ∈ source ∧ x ∉ source ∧ x ∉ target} = ∅ + * Basically, the result contains messages from both catalogues. + * + * @author Jean-François Simon + */ +class MergeOperation extends AbstractOperation +{ + /** + * {@inheritdoc} + */ + protected function processDomain($domain) + { + $this->messages[$domain] = array( + 'all' => array(), + 'new' => array(), + 'obsolete' => array(), + ); + + foreach ($this->source->all($domain) as $id => $message) { + $this->messages[$domain]['all'][$id] = $message; + $this->result->add(array($id => $message), $domain); + if (null !== $keyMetadata = $this->source->getMetadata($id, $domain)) { + $this->result->setMetadata($id, $keyMetadata, $domain); + } + } + + foreach ($this->target->all($domain) as $id => $message) { + if (!$this->source->has($id, $domain)) { + $this->messages[$domain]['all'][$id] = $message; + $this->messages[$domain]['new'][$id] = $message; + $this->result->add(array($id => $message), $domain); + if (null !== $keyMetadata = $this->target->getMetadata($id, $domain)) { + $this->result->setMetadata($id, $keyMetadata, $domain); + } + } + } + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Catalogue/OperationInterface.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Catalogue/OperationInterface.php new file mode 100644 index 0000000..87d888e --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Catalogue/OperationInterface.php @@ -0,0 +1,77 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Catalogue; + +use Symfony\Component\Translation\MessageCatalogueInterface; + +/** + * Represents an operation on catalogue(s). + * + * An instance of this interface performs an operation on one or more catalogues and + * stores intermediate and final results of the operation. + * + * The first catalogue in its argument(s) is called the 'source catalogue' or 'source' and + * the following results are stored: + * + * Messages: also called 'all', are valid messages for the given domain after the operation is performed. + * + * New Messages: also called 'new' (new = all ∖ source = {x: x ∈ all ∧ x ∉ source}). + * + * Obsolete Messages: also called 'obsolete' (obsolete = source ∖ all = {x: x ∈ source ∧ x ∉ all}). + * + * Result: also called 'result', is the resulting catalogue for the given domain that holds the same messages as 'all'. + * + * @author Jean-François Simon + */ +interface OperationInterface +{ + /** + * Returns domains affected by operation. + * + * @return array + */ + public function getDomains(); + + /** + * Returns all valid messages ('all') after operation. + * + * @param string $domain + * + * @return array + */ + public function getMessages($domain); + + /** + * Returns new messages ('new') after operation. + * + * @param string $domain + * + * @return array + */ + public function getNewMessages($domain); + + /** + * Returns obsolete messages ('obsolete') after operation. + * + * @param string $domain + * + * @return array + */ + public function getObsoleteMessages($domain); + + /** + * Returns resulting catalogue ('result'). + * + * @return MessageCatalogueInterface + */ + public function getResult(); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Catalogue/TargetOperation.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Catalogue/TargetOperation.php new file mode 100644 index 0000000..eea1fef --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Catalogue/TargetOperation.php @@ -0,0 +1,69 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Catalogue; + +/** + * Target operation between two catalogues: + * intersection = source ∩ target = {x: x ∈ source ∧ x ∈ target} + * all = intersection ∪ (target ∖ intersection) = target + * new = all ∖ source = {x: x ∈ target ∧ x ∉ source} + * obsolete = source ∖ all = source ∖ target = {x: x ∈ source ∧ x ∉ target} + * Basically, the result contains messages from the target catalogue. + * + * @author Michael Lee + */ +class TargetOperation extends AbstractOperation +{ + /** + * {@inheritdoc} + */ + protected function processDomain($domain) + { + $this->messages[$domain] = array( + 'all' => array(), + 'new' => array(), + 'obsolete' => array(), + ); + + // For 'all' messages, the code can't be simplified as ``$this->messages[$domain]['all'] = $target->all($domain);``, + // because doing so will drop messages like {x: x ∈ source ∧ x ∉ target.all ∧ x ∈ target.fallback} + // + // For 'new' messages, the code can't be simplied as ``array_diff_assoc($this->target->all($domain), $this->source->all($domain));`` + // because doing so will not exclude messages like {x: x ∈ target ∧ x ∉ source.all ∧ x ∈ source.fallback} + // + // For 'obsolete' messages, the code can't be simplifed as ``array_diff_assoc($this->source->all($domain), $this->target->all($domain))`` + // because doing so will not exclude messages like {x: x ∈ source ∧ x ∉ target.all ∧ x ∈ target.fallback} + + foreach ($this->source->all($domain) as $id => $message) { + if ($this->target->has($id, $domain)) { + $this->messages[$domain]['all'][$id] = $message; + $this->result->add(array($id => $message), $domain); + if (null !== $keyMetadata = $this->source->getMetadata($id, $domain)) { + $this->result->setMetadata($id, $keyMetadata, $domain); + } + } else { + $this->messages[$domain]['obsolete'][$id] = $message; + } + } + + foreach ($this->target->all($domain) as $id => $message) { + if (!$this->source->has($id, $domain)) { + $this->messages[$domain]['all'][$id] = $message; + $this->messages[$domain]['new'][$id] = $message; + $this->result->add(array($id => $message), $domain); + if (null !== $keyMetadata = $this->target->getMetadata($id, $domain)) { + $this->result->setMetadata($id, $keyMetadata, $domain); + } + } + } + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/DataCollector/TranslationDataCollector.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/DataCollector/TranslationDataCollector.php new file mode 100644 index 0000000..cb59d0a --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/DataCollector/TranslationDataCollector.php @@ -0,0 +1,150 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\DataCollector; + +use Symfony\Component\HttpFoundation\Request; +use Symfony\Component\HttpFoundation\Response; +use Symfony\Component\HttpKernel\DataCollector\DataCollector; +use Symfony\Component\HttpKernel\DataCollector\LateDataCollectorInterface; +use Symfony\Component\Translation\DataCollectorTranslator; + +/** + * @author Abdellatif Ait boudad + */ +class TranslationDataCollector extends DataCollector implements LateDataCollectorInterface +{ + /** + * @var DataCollectorTranslator + */ + private $translator; + + /** + * @param DataCollectorTranslator $translator + */ + public function __construct(DataCollectorTranslator $translator) + { + $this->translator = $translator; + } + + /** + * {@inheritdoc} + */ + public function lateCollect() + { + $messages = $this->sanitizeCollectedMessages($this->translator->getCollectedMessages()); + + $this->data = $this->computeCount($messages); + $this->data['messages'] = $messages; + } + + /** + * {@inheritdoc} + */ + public function collect(Request $request, Response $response, \Exception $exception = null) + { + } + + /** + * @return array + */ + public function getMessages() + { + return isset($this->data['messages']) ? $this->data['messages'] : array(); + } + + /** + * @return int + */ + public function getCountMissings() + { + return isset($this->data[DataCollectorTranslator::MESSAGE_MISSING]) ? $this->data[DataCollectorTranslator::MESSAGE_MISSING] : 0; + } + + /** + * @return int + */ + public function getCountFallbacks() + { + return isset($this->data[DataCollectorTranslator::MESSAGE_EQUALS_FALLBACK]) ? $this->data[DataCollectorTranslator::MESSAGE_EQUALS_FALLBACK] : 0; + } + + /** + * @return int + */ + public function getCountDefines() + { + return isset($this->data[DataCollectorTranslator::MESSAGE_DEFINED]) ? $this->data[DataCollectorTranslator::MESSAGE_DEFINED] : 0; + } + + /** + * {@inheritdoc} + */ + public function getName() + { + return 'translation'; + } + + private function sanitizeCollectedMessages($messages) + { + $result = array(); + foreach ($messages as $key => $message) { + $messageId = $message['locale'].$message['domain'].$message['id']; + + if (!isset($result[$messageId])) { + $message['count'] = 1; + $message['parameters'] = !empty($message['parameters']) ? array($message['parameters']) : array(); + $messages[$key]['translation'] = $this->sanitizeString($message['translation']); + $result[$messageId] = $message; + } else { + if (!empty($message['parameters'])) { + $result[$messageId]['parameters'][] = $message['parameters']; + } + + ++$result[$messageId]['count']; + } + + unset($messages[$key]); + } + + return $result; + } + + private function computeCount($messages) + { + $count = array( + DataCollectorTranslator::MESSAGE_DEFINED => 0, + DataCollectorTranslator::MESSAGE_MISSING => 0, + DataCollectorTranslator::MESSAGE_EQUALS_FALLBACK => 0, + ); + + foreach ($messages as $message) { + ++$count[$message['state']]; + } + + return $count; + } + + private function sanitizeString($string, $length = 80) + { + $string = trim(preg_replace('/\s+/', ' ', $string)); + + if (false !== $encoding = mb_detect_encoding($string, null, true)) { + if (mb_strlen($string, $encoding) > $length) { + return mb_substr($string, 0, $length - 3, $encoding).'...'; + } + } elseif (strlen($string) > $length) { + return substr($string, 0, $length - 3).'...'; + } + + return $string; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/DataCollectorTranslator.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/DataCollectorTranslator.php new file mode 100644 index 0000000..d507cde --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/DataCollectorTranslator.php @@ -0,0 +1,152 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation; + +/** + * @author Abdellatif Ait boudad + */ +class DataCollectorTranslator implements TranslatorInterface, TranslatorBagInterface +{ + const MESSAGE_DEFINED = 0; + const MESSAGE_MISSING = 1; + const MESSAGE_EQUALS_FALLBACK = 2; + + /** + * @var TranslatorInterface|TranslatorBagInterface + */ + private $translator; + + /** + * @var array + */ + private $messages = array(); + + /** + * @param TranslatorInterface $translator The translator must implement TranslatorBagInterface + */ + public function __construct(TranslatorInterface $translator) + { + if (!$translator instanceof TranslatorBagInterface) { + throw new \InvalidArgumentException(sprintf('The Translator "%s" must implement TranslatorInterface and TranslatorBagInterface.', get_class($translator))); + } + + $this->translator = $translator; + } + + /** + * {@inheritdoc} + */ + public function trans($id, array $parameters = array(), $domain = null, $locale = null) + { + $trans = $this->translator->trans($id, $parameters, $domain, $locale); + $this->collectMessage($locale, $domain, $id, $trans, $parameters); + + return $trans; + } + + /** + * {@inheritdoc} + */ + public function transChoice($id, $number, array $parameters = array(), $domain = null, $locale = null) + { + $trans = $this->translator->transChoice($id, $number, $parameters, $domain, $locale); + $this->collectMessage($locale, $domain, $id, $trans, $parameters, $number); + + return $trans; + } + + /** + * {@inheritdoc} + */ + public function setLocale($locale) + { + $this->translator->setLocale($locale); + } + + /** + * {@inheritdoc} + */ + public function getLocale() + { + return $this->translator->getLocale(); + } + + /** + * {@inheritdoc} + */ + public function getCatalogue($locale = null) + { + return $this->translator->getCatalogue($locale); + } + + /** + * Passes through all unknown calls onto the translator object. + */ + public function __call($method, $args) + { + return call_user_func_array(array($this->translator, $method), $args); + } + + /** + * @return array + */ + public function getCollectedMessages() + { + return $this->messages; + } + + /** + * @param string|null $locale + * @param string|null $domain + * @param string $id + * @param string $translation + * @param array|null $parameters + * @param int|null $number + */ + private function collectMessage($locale, $domain, $id, $translation, $parameters = array(), $number = null) + { + if (null === $domain) { + $domain = 'messages'; + } + + $id = (string) $id; + $catalogue = $this->translator->getCatalogue($locale); + $locale = $catalogue->getLocale(); + if ($catalogue->defines($id, $domain)) { + $state = self::MESSAGE_DEFINED; + } elseif ($catalogue->has($id, $domain)) { + $state = self::MESSAGE_EQUALS_FALLBACK; + + $fallbackCatalogue = $catalogue->getFallBackCatalogue(); + while ($fallbackCatalogue) { + if ($fallbackCatalogue->defines($id, $domain)) { + $locale = $fallbackCatalogue->getLocale(); + break; + } + + $fallbackCatalogue = $fallbackCatalogue->getFallBackCatalogue(); + } + } else { + $state = self::MESSAGE_MISSING; + } + + $this->messages[] = array( + 'locale' => $locale, + 'domain' => $domain, + 'id' => $id, + 'translation' => $translation, + 'parameters' => $parameters, + 'transChoiceNumber' => $number, + 'state' => $state, + ); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Dumper/CsvFileDumper.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Dumper/CsvFileDumper.php new file mode 100644 index 0000000..fe5dccb --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Dumper/CsvFileDumper.php @@ -0,0 +1,63 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Dumper; + +use Symfony\Component\Translation\MessageCatalogue; + +/** + * CsvFileDumper generates a csv formatted string representation of a message catalogue. + * + * @author Stealth35 + */ +class CsvFileDumper extends FileDumper +{ + private $delimiter = ';'; + private $enclosure = '"'; + + /** + * {@inheritdoc} + */ + public function formatCatalogue(MessageCatalogue $messages, $domain, array $options = array()) + { + $handle = fopen('php://memory', 'rb+'); + + foreach ($messages->all($domain) as $source => $target) { + fputcsv($handle, array($source, $target), $this->delimiter, $this->enclosure); + } + + rewind($handle); + $output = stream_get_contents($handle); + fclose($handle); + + return $output; + } + + /** + * Sets the delimiter and escape character for CSV. + * + * @param string $delimiter delimiter character + * @param string $enclosure enclosure character + */ + public function setCsvControl($delimiter = ';', $enclosure = '"') + { + $this->delimiter = $delimiter; + $this->enclosure = $enclosure; + } + + /** + * {@inheritdoc} + */ + protected function getExtension() + { + return 'csv'; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Dumper/DumperInterface.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Dumper/DumperInterface.php new file mode 100644 index 0000000..cebc65e --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Dumper/DumperInterface.php @@ -0,0 +1,31 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Dumper; + +use Symfony\Component\Translation\MessageCatalogue; + +/** + * DumperInterface is the interface implemented by all translation dumpers. + * There is no common option. + * + * @author Michel Salib + */ +interface DumperInterface +{ + /** + * Dumps the message catalogue. + * + * @param MessageCatalogue $messages The message catalogue + * @param array $options Options that are used by the dumper + */ + public function dump(MessageCatalogue $messages, $options = array()); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Dumper/FileDumper.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Dumper/FileDumper.php new file mode 100644 index 0000000..9c9a8ee --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Dumper/FileDumper.php @@ -0,0 +1,123 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Dumper; + +use Symfony\Component\Translation\MessageCatalogue; + +/** + * FileDumper is an implementation of DumperInterface that dump a message catalogue to file(s). + * Performs backup of already existing files. + * + * Options: + * - path (mandatory): the directory where the files should be saved + * + * @author Michel Salib + */ +abstract class FileDumper implements DumperInterface +{ + /** + * A template for the relative paths to files. + * + * @var string + */ + protected $relativePathTemplate = '%domain%.%locale%.%extension%'; + + /** + * Make file backup before the dump. + * + * @var bool + */ + private $backup = true; + + /** + * Sets the template for the relative paths to files. + * + * @param string $relativePathTemplate A template for the relative paths to files + */ + public function setRelativePathTemplate($relativePathTemplate) + { + $this->relativePathTemplate = $relativePathTemplate; + } + + /** + * Sets backup flag. + * + * @param bool + */ + public function setBackup($backup) + { + $this->backup = $backup; + } + + /** + * {@inheritdoc} + */ + public function dump(MessageCatalogue $messages, $options = array()) + { + if (!array_key_exists('path', $options)) { + throw new \InvalidArgumentException('The file dumper needs a path option.'); + } + + // save a file for each domain + foreach ($messages->getDomains() as $domain) { + // backup + $fullpath = $options['path'].'/'.$this->getRelativePath($domain, $messages->getLocale()); + if (file_exists($fullpath)) { + if ($this->backup) { + copy($fullpath, $fullpath.'~'); + } + } else { + $directory = dirname($fullpath); + if (!file_exists($directory) && !@mkdir($directory, 0777, true)) { + throw new \RuntimeException(sprintf('Unable to create directory "%s".', $directory)); + } + } + // save file + file_put_contents($fullpath, $this->formatCatalogue($messages, $domain, $options)); + } + } + + /** + * Transforms a domain of a message catalogue to its string representation. + * + * @param MessageCatalogue $messages + * @param string $domain + * @param array $options + * + * @return string representation + */ + abstract public function formatCatalogue(MessageCatalogue $messages, $domain, array $options = array()); + + /** + * Gets the file extension of the dumper. + * + * @return string file extension + */ + abstract protected function getExtension(); + + /** + * Gets the relative file path using the template. + * + * @param string $domain The domain + * @param string $locale The locale + * + * @return string The relative file path + */ + private function getRelativePath($domain, $locale) + { + return strtr($this->relativePathTemplate, array( + '%domain%' => $domain, + '%locale%' => $locale, + '%extension%' => $this->getExtension(), + )); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Dumper/IcuResFileDumper.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Dumper/IcuResFileDumper.php new file mode 100644 index 0000000..222c7f8 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Dumper/IcuResFileDumper.php @@ -0,0 +1,112 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Dumper; + +use Symfony\Component\Translation\MessageCatalogue; + +/** + * IcuResDumper generates an ICU ResourceBundle formatted string representation of a message catalogue. + * + * @author Stealth35 + */ +class IcuResFileDumper extends FileDumper +{ + /** + * {@inheritdoc} + */ + protected $relativePathTemplate = '%domain%/%locale%.%extension%'; + + /** + * {@inheritdoc} + */ + public function formatCatalogue(MessageCatalogue $messages, $domain, array $options = array()) + { + $data = $indexes = $resources = ''; + + foreach ($messages->all($domain) as $source => $target) { + $indexes .= pack('v', strlen($data) + 28); + $data .= $source."\0"; + } + + $data .= $this->writePadding($data); + + $keyTop = $this->getPosition($data); + + foreach ($messages->all($domain) as $source => $target) { + $resources .= pack('V', $this->getPosition($data)); + + $data .= pack('V', strlen($target)) + .mb_convert_encoding($target."\0", 'UTF-16LE', 'UTF-8') + .$this->writePadding($data) + ; + } + + $resOffset = $this->getPosition($data); + + $data .= pack('v', count($messages)) + .$indexes + .$this->writePadding($data) + .$resources + ; + + $bundleTop = $this->getPosition($data); + + $root = pack('V7', + $resOffset + (2 << 28), // Resource Offset + Resource Type + 6, // Index length + $keyTop, // Index keys top + $bundleTop, // Index resources top + $bundleTop, // Index bundle top + count($messages), // Index max table length + 0 // Index attributes + ); + + $header = pack('vC2v4C12@32', + 32, // Header size + 0xDA, 0x27, // Magic number 1 and 2 + 20, 0, 0, 2, // Rest of the header, ..., Size of a char + 0x52, 0x65, 0x73, 0x42, // Data format identifier + 1, 2, 0, 0, // Data version + 1, 4, 0, 0 // Unicode version + ); + + $output = $header + .$root + .$data; + + return $output; + } + + private function writePadding($data) + { + $padding = strlen($data) % 4; + + if ($padding) { + return str_repeat("\xAA", 4 - $padding); + } + } + + private function getPosition($data) + { + $position = (strlen($data) + 28) / 4; + + return $position; + } + + /** + * {@inheritdoc} + */ + protected function getExtension() + { + return 'res'; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Dumper/IniFileDumper.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Dumper/IniFileDumper.php new file mode 100644 index 0000000..9ed3754 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Dumper/IniFileDumper.php @@ -0,0 +1,45 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Dumper; + +use Symfony\Component\Translation\MessageCatalogue; + +/** + * IniFileDumper generates an ini formatted string representation of a message catalogue. + * + * @author Stealth35 + */ +class IniFileDumper extends FileDumper +{ + /** + * {@inheritdoc} + */ + public function formatCatalogue(MessageCatalogue $messages, $domain, array $options = array()) + { + $output = ''; + + foreach ($messages->all($domain) as $source => $target) { + $escapeTarget = str_replace('"', '\"', $target); + $output .= $source.'="'.$escapeTarget."\"\n"; + } + + return $output; + } + + /** + * {@inheritdoc} + */ + protected function getExtension() + { + return 'ini'; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Dumper/JsonFileDumper.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Dumper/JsonFileDumper.php new file mode 100644 index 0000000..08b538e --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Dumper/JsonFileDumper.php @@ -0,0 +1,44 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Dumper; + +use Symfony\Component\Translation\MessageCatalogue; + +/** + * JsonFileDumper generates an json formatted string representation of a message catalogue. + * + * @author singles + */ +class JsonFileDumper extends FileDumper +{ + /** + * {@inheritdoc} + */ + public function formatCatalogue(MessageCatalogue $messages, $domain, array $options = array()) + { + if (isset($options['json_encoding'])) { + $flags = $options['json_encoding']; + } else { + $flags = defined('JSON_PRETTY_PRINT') ? JSON_PRETTY_PRINT : 0; + } + + return json_encode($messages->all($domain), $flags); + } + + /** + * {@inheritdoc} + */ + protected function getExtension() + { + return 'json'; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Dumper/MoFileDumper.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Dumper/MoFileDumper.php new file mode 100644 index 0000000..f9aae42 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Dumper/MoFileDumper.php @@ -0,0 +1,82 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Dumper; + +use Symfony\Component\Translation\MessageCatalogue; +use Symfony\Component\Translation\Loader\MoFileLoader; + +/** + * MoFileDumper generates a gettext formatted string representation of a message catalogue. + * + * @author Stealth35 + */ +class MoFileDumper extends FileDumper +{ + /** + * {@inheritdoc} + */ + public function formatCatalogue(MessageCatalogue $messages, $domain, array $options = array()) + { + $output = $sources = $targets = $sourceOffsets = $targetOffsets = ''; + $offsets = array(); + $size = 0; + + foreach ($messages->all($domain) as $source => $target) { + $offsets[] = array_map('strlen', array($sources, $source, $targets, $target)); + $sources .= "\0".$source; + $targets .= "\0".$target; + ++$size; + } + + $header = array( + 'magicNumber' => MoFileLoader::MO_LITTLE_ENDIAN_MAGIC, + 'formatRevision' => 0, + 'count' => $size, + 'offsetId' => MoFileLoader::MO_HEADER_SIZE, + 'offsetTranslated' => MoFileLoader::MO_HEADER_SIZE + (8 * $size), + 'sizeHashes' => 0, + 'offsetHashes' => MoFileLoader::MO_HEADER_SIZE + (16 * $size), + ); + + $sourcesSize = strlen($sources); + $sourcesStart = $header['offsetHashes'] + 1; + + foreach ($offsets as $offset) { + $sourceOffsets .= $this->writeLong($offset[1]) + .$this->writeLong($offset[0] + $sourcesStart); + $targetOffsets .= $this->writeLong($offset[3]) + .$this->writeLong($offset[2] + $sourcesStart + $sourcesSize); + } + + $output = implode(array_map(array($this, 'writeLong'), $header)) + .$sourceOffsets + .$targetOffsets + .$sources + .$targets + ; + + return $output; + } + + /** + * {@inheritdoc} + */ + protected function getExtension() + { + return 'mo'; + } + + private function writeLong($str) + { + return pack('V*', $str); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Dumper/PhpFileDumper.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Dumper/PhpFileDumper.php new file mode 100644 index 0000000..bd42cec --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Dumper/PhpFileDumper.php @@ -0,0 +1,40 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Dumper; + +use Symfony\Component\Translation\MessageCatalogue; + +/** + * PhpFileDumper generates PHP files from a message catalogue. + * + * @author Michel Salib + */ +class PhpFileDumper extends FileDumper +{ + /** + * {@inheritdoc} + */ + public function formatCatalogue(MessageCatalogue $messages, $domain, array $options = array()) + { + $output = "all($domain), true).";\n"; + + return $output; + } + + /** + * {@inheritdoc} + */ + protected function getExtension() + { + return 'php'; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Dumper/PoFileDumper.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Dumper/PoFileDumper.php new file mode 100644 index 0000000..ed4418b --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Dumper/PoFileDumper.php @@ -0,0 +1,61 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Dumper; + +use Symfony\Component\Translation\MessageCatalogue; + +/** + * PoFileDumper generates a gettext formatted string representation of a message catalogue. + * + * @author Stealth35 + */ +class PoFileDumper extends FileDumper +{ + /** + * {@inheritdoc} + */ + public function formatCatalogue(MessageCatalogue $messages, $domain, array $options = array()) + { + $output = 'msgid ""'."\n"; + $output .= 'msgstr ""'."\n"; + $output .= '"Content-Type: text/plain; charset=UTF-8\n"'."\n"; + $output .= '"Content-Transfer-Encoding: 8bit\n"'."\n"; + $output .= '"Language: '.$messages->getLocale().'\n"'."\n"; + $output .= "\n"; + + $newLine = false; + foreach ($messages->all($domain) as $source => $target) { + if ($newLine) { + $output .= "\n"; + } else { + $newLine = true; + } + $output .= sprintf('msgid "%s"'."\n", $this->escape($source)); + $output .= sprintf('msgstr "%s"', $this->escape($target)); + } + + return $output; + } + + /** + * {@inheritdoc} + */ + protected function getExtension() + { + return 'po'; + } + + private function escape($str) + { + return addcslashes($str, "\0..\37\42\134"); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Dumper/QtFileDumper.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Dumper/QtFileDumper.php new file mode 100644 index 0000000..a9073f2 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Dumper/QtFileDumper.php @@ -0,0 +1,50 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Dumper; + +use Symfony\Component\Translation\MessageCatalogue; + +/** + * QtFileDumper generates ts files from a message catalogue. + * + * @author Benjamin Eberlei + */ +class QtFileDumper extends FileDumper +{ + /** + * {@inheritdoc} + */ + public function formatCatalogue(MessageCatalogue $messages, $domain, array $options = array()) + { + $dom = new \DOMDocument('1.0', 'utf-8'); + $dom->formatOutput = true; + $ts = $dom->appendChild($dom->createElement('TS')); + $context = $ts->appendChild($dom->createElement('context')); + $context->appendChild($dom->createElement('name', $domain)); + + foreach ($messages->all($domain) as $source => $target) { + $message = $context->appendChild($dom->createElement('message')); + $message->appendChild($dom->createElement('source', $source)); + $message->appendChild($dom->createElement('translation', $target)); + } + + return $dom->saveXML(); + } + + /** + * {@inheritdoc} + */ + protected function getExtension() + { + return 'ts'; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Dumper/XliffFileDumper.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Dumper/XliffFileDumper.php new file mode 100644 index 0000000..915dbca --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Dumper/XliffFileDumper.php @@ -0,0 +1,183 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Dumper; + +use Symfony\Component\Translation\MessageCatalogue; + +/** + * XliffFileDumper generates xliff files from a message catalogue. + * + * @author Michel Salib + */ +class XliffFileDumper extends FileDumper +{ + /** + * {@inheritdoc} + */ + public function formatCatalogue(MessageCatalogue $messages, $domain, array $options = array()) + { + $xliffVersion = '1.2'; + if (array_key_exists('xliff_version', $options)) { + $xliffVersion = $options['xliff_version']; + } + + if (array_key_exists('default_locale', $options)) { + $defaultLocale = $options['default_locale']; + } else { + $defaultLocale = \Locale::getDefault(); + } + + if ('1.2' === $xliffVersion) { + return $this->dumpXliff1($defaultLocale, $messages, $domain, $options); + } + if ('2.0' === $xliffVersion) { + return $this->dumpXliff2($defaultLocale, $messages, $domain, $options); + } + + throw new \InvalidArgumentException(sprintf('No support implemented for dumping XLIFF version "%s".', $xliffVersion)); + } + + /** + * {@inheritdoc} + */ + protected function getExtension() + { + return 'xlf'; + } + + private function dumpXliff1($defaultLocale, MessageCatalogue $messages, $domain, array $options = array()) + { + $toolInfo = array('tool-id' => 'symfony', 'tool-name' => 'Symfony'); + if (array_key_exists('tool_info', $options)) { + $toolInfo = array_merge($toolInfo, $options['tool_info']); + } + + $dom = new \DOMDocument('1.0', 'utf-8'); + $dom->formatOutput = true; + + $xliff = $dom->appendChild($dom->createElement('xliff')); + $xliff->setAttribute('version', '1.2'); + $xliff->setAttribute('xmlns', 'urn:oasis:names:tc:xliff:document:1.2'); + + $xliffFile = $xliff->appendChild($dom->createElement('file')); + $xliffFile->setAttribute('source-language', str_replace('_', '-', $defaultLocale)); + $xliffFile->setAttribute('target-language', str_replace('_', '-', $messages->getLocale())); + $xliffFile->setAttribute('datatype', 'plaintext'); + $xliffFile->setAttribute('original', 'file.ext'); + + $xliffHead = $xliffFile->appendChild($dom->createElement('header')); + $xliffTool = $xliffHead->appendChild($dom->createElement('tool')); + foreach ($toolInfo as $id => $value) { + $xliffTool->setAttribute($id, $value); + } + + $xliffBody = $xliffFile->appendChild($dom->createElement('body')); + foreach ($messages->all($domain) as $source => $target) { + $translation = $dom->createElement('trans-unit'); + + $translation->setAttribute('id', md5($source)); + $translation->setAttribute('resname', $source); + + $s = $translation->appendChild($dom->createElement('source')); + $s->appendChild($dom->createTextNode($source)); + + // Does the target contain characters requiring a CDATA section? + $text = 1 === preg_match('/[&<>]/', $target) ? $dom->createCDATASection($target) : $dom->createTextNode($target); + + $targetElement = $dom->createElement('target'); + $metadata = $messages->getMetadata($source, $domain); + if ($this->hasMetadataArrayInfo('target-attributes', $metadata)) { + foreach ($metadata['target-attributes'] as $name => $value) { + $targetElement->setAttribute($name, $value); + } + } + $t = $translation->appendChild($targetElement); + $t->appendChild($text); + + if ($this->hasMetadataArrayInfo('notes', $metadata)) { + foreach ($metadata['notes'] as $note) { + if (!isset($note['content'])) { + continue; + } + + $n = $translation->appendChild($dom->createElement('note')); + $n->appendChild($dom->createTextNode($note['content'])); + + if (isset($note['priority'])) { + $n->setAttribute('priority', $note['priority']); + } + + if (isset($note['from'])) { + $n->setAttribute('from', $note['from']); + } + } + } + + $xliffBody->appendChild($translation); + } + + return $dom->saveXML(); + } + + private function dumpXliff2($defaultLocale, MessageCatalogue $messages, $domain, array $options = array()) + { + $dom = new \DOMDocument('1.0', 'utf-8'); + $dom->formatOutput = true; + + $xliff = $dom->appendChild($dom->createElement('xliff')); + $xliff->setAttribute('xmlns', 'urn:oasis:names:tc:xliff:document:2.0'); + $xliff->setAttribute('version', '2.0'); + $xliff->setAttribute('srcLang', str_replace('_', '-', $defaultLocale)); + $xliff->setAttribute('trgLang', str_replace('_', '-', $messages->getLocale())); + + $xliffFile = $xliff->appendChild($dom->createElement('file')); + $xliffFile->setAttribute('id', $domain.'.'.$messages->getLocale()); + + foreach ($messages->all($domain) as $source => $target) { + $translation = $dom->createElement('unit'); + $translation->setAttribute('id', md5($source)); + + $segment = $translation->appendChild($dom->createElement('segment')); + + $s = $segment->appendChild($dom->createElement('source')); + $s->appendChild($dom->createTextNode($source)); + + // Does the target contain characters requiring a CDATA section? + $text = 1 === preg_match('/[&<>]/', $target) ? $dom->createCDATASection($target) : $dom->createTextNode($target); + + $targetElement = $dom->createElement('target'); + $metadata = $messages->getMetadata($source, $domain); + if ($this->hasMetadataArrayInfo('target-attributes', $metadata)) { + foreach ($metadata['target-attributes'] as $name => $value) { + $targetElement->setAttribute($name, $value); + } + } + $t = $segment->appendChild($targetElement); + $t->appendChild($text); + + $xliffFile->appendChild($translation); + } + + return $dom->saveXML(); + } + + /** + * @param string $key + * @param array|null $metadata + * + * @return bool + */ + private function hasMetadataArrayInfo($key, $metadata = null) + { + return null !== $metadata && array_key_exists($key, $metadata) && ($metadata[$key] instanceof \Traversable || is_array($metadata[$key])); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Dumper/YamlFileDumper.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Dumper/YamlFileDumper.php new file mode 100644 index 0000000..625953c --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Dumper/YamlFileDumper.php @@ -0,0 +1,54 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Dumper; + +use Symfony\Component\Translation\MessageCatalogue; +use Symfony\Component\Translation\Util\ArrayConverter; +use Symfony\Component\Yaml\Yaml; + +/** + * YamlFileDumper generates yaml files from a message catalogue. + * + * @author Michel Salib + */ +class YamlFileDumper extends FileDumper +{ + /** + * {@inheritdoc} + */ + public function formatCatalogue(MessageCatalogue $messages, $domain, array $options = array()) + { + if (!class_exists('Symfony\Component\Yaml\Yaml')) { + throw new \LogicException('Dumping translations in the YAML format requires the Symfony Yaml component.'); + } + + $data = $messages->all($domain); + + if (isset($options['as_tree']) && $options['as_tree']) { + $data = ArrayConverter::expandToTree($data); + } + + if (isset($options['inline']) && ($inline = (int) $options['inline']) > 0) { + return Yaml::dump($data, $inline); + } + + return Yaml::dump($data); + } + + /** + * {@inheritdoc} + */ + protected function getExtension() + { + return 'yml'; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Exception/ExceptionInterface.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Exception/ExceptionInterface.php new file mode 100644 index 0000000..c85fb93 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Exception/ExceptionInterface.php @@ -0,0 +1,21 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Exception; + +/** + * Exception interface for all exceptions thrown by the component. + * + * @author Fabien Potencier + */ +interface ExceptionInterface +{ +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Exception/InvalidResourceException.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Exception/InvalidResourceException.php new file mode 100644 index 0000000..cf07943 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Exception/InvalidResourceException.php @@ -0,0 +1,21 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Exception; + +/** + * Thrown when a resource cannot be loaded. + * + * @author Fabien Potencier + */ +class InvalidResourceException extends \InvalidArgumentException implements ExceptionInterface +{ +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Exception/NotFoundResourceException.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Exception/NotFoundResourceException.php new file mode 100644 index 0000000..cff73ae --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Exception/NotFoundResourceException.php @@ -0,0 +1,21 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Exception; + +/** + * Thrown when a resource does not exist. + * + * @author Fabien Potencier + */ +class NotFoundResourceException extends \InvalidArgumentException implements ExceptionInterface +{ +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Extractor/AbstractFileExtractor.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Extractor/AbstractFileExtractor.php new file mode 100644 index 0000000..196bc33 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Extractor/AbstractFileExtractor.php @@ -0,0 +1,83 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Extractor; + +/** + * Base class used by classes that extract translation messages from files. + * + * @author Marcos D. Sánchez + */ +abstract class AbstractFileExtractor +{ + /** + * @param string|array $resource files, a file or a directory + * + * @return array + */ + protected function extractFiles($resource) + { + if (is_array($resource) || $resource instanceof \Traversable) { + $files = array(); + foreach ($resource as $file) { + if ($this->canBeExtracted($file)) { + $files[] = $this->toSplFileInfo($file); + } + } + } elseif (is_file($resource)) { + $files = $this->canBeExtracted($resource) ? array($this->toSplFileInfo($resource)) : array(); + } else { + $files = $this->extractFromDirectory($resource); + } + + return $files; + } + + /** + * @param string $file + * + * @return \SplFileInfo + */ + private function toSplFileInfo($file) + { + return ($file instanceof \SplFileInfo) ? $file : new \SplFileInfo($file); + } + + /** + * @param string $file + * + * @throws \InvalidArgumentException + * + * @return bool + */ + protected function isFile($file) + { + if (!is_file($file)) { + throw new \InvalidArgumentException(sprintf('The "%s" file does not exist.', $file)); + } + + return true; + } + + /** + * @param string $file + * + * @return bool + */ + abstract protected function canBeExtracted($file); + + /** + * @param string|array $resource files, a file or a directory + * + * @return array files to be extracted + */ + abstract protected function extractFromDirectory($resource); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Extractor/ChainExtractor.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Extractor/ChainExtractor.php new file mode 100644 index 0000000..50e3c84 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Extractor/ChainExtractor.php @@ -0,0 +1,60 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Extractor; + +use Symfony\Component\Translation\MessageCatalogue; + +/** + * ChainExtractor extracts translation messages from template files. + * + * @author Michel Salib + */ +class ChainExtractor implements ExtractorInterface +{ + /** + * The extractors. + * + * @var ExtractorInterface[] + */ + private $extractors = array(); + + /** + * Adds a loader to the translation extractor. + * + * @param string $format The format of the loader + * @param ExtractorInterface $extractor The loader + */ + public function addExtractor($format, ExtractorInterface $extractor) + { + $this->extractors[$format] = $extractor; + } + + /** + * {@inheritdoc} + */ + public function setPrefix($prefix) + { + foreach ($this->extractors as $extractor) { + $extractor->setPrefix($prefix); + } + } + + /** + * {@inheritdoc} + */ + public function extract($directory, MessageCatalogue $catalogue) + { + foreach ($this->extractors as $extractor) { + $extractor->extract($directory, $catalogue); + } + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Extractor/ExtractorInterface.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Extractor/ExtractorInterface.php new file mode 100644 index 0000000..438f80b --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Extractor/ExtractorInterface.php @@ -0,0 +1,38 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Extractor; + +use Symfony\Component\Translation\MessageCatalogue; + +/** + * Extracts translation messages from a directory or files to the catalogue. + * New found messages are injected to the catalogue using the prefix. + * + * @author Michel Salib + */ +interface ExtractorInterface +{ + /** + * Extracts translation messages from files, a file or a directory to the catalogue. + * + * @param string|array $resource files, a file or a directory + * @param MessageCatalogue $catalogue The catalogue + */ + public function extract($resource, MessageCatalogue $catalogue); + + /** + * Sets the prefix that should be used for new found messages. + * + * @param string $prefix The prefix + */ + public function setPrefix($prefix); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/IdentityTranslator.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/IdentityTranslator.php new file mode 100644 index 0000000..46a0463 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/IdentityTranslator.php @@ -0,0 +1,65 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation; + +/** + * IdentityTranslator does not translate anything. + * + * @author Fabien Potencier + */ +class IdentityTranslator implements TranslatorInterface +{ + private $selector; + private $locale; + + /** + * Constructor. + * + * @param MessageSelector|null $selector The message selector for pluralization + */ + public function __construct(MessageSelector $selector = null) + { + $this->selector = $selector ?: new MessageSelector(); + } + + /** + * {@inheritdoc} + */ + public function setLocale($locale) + { + $this->locale = $locale; + } + + /** + * {@inheritdoc} + */ + public function getLocale() + { + return $this->locale ?: \Locale::getDefault(); + } + + /** + * {@inheritdoc} + */ + public function trans($id, array $parameters = array(), $domain = null, $locale = null) + { + return strtr((string) $id, $parameters); + } + + /** + * {@inheritdoc} + */ + public function transChoice($id, $number, array $parameters = array(), $domain = null, $locale = null) + { + return strtr($this->selector->choose((string) $id, (int) $number, $locale ?: $this->getLocale()), $parameters); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Interval.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Interval.php new file mode 100644 index 0000000..2a51156 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Interval.php @@ -0,0 +1,107 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation; + +/** + * Tests if a given number belongs to a given math interval. + * + * An interval can represent a finite set of numbers: + * + * {1,2,3,4} + * + * An interval can represent numbers between two numbers: + * + * [1, +Inf] + * ]-1,2[ + * + * The left delimiter can be [ (inclusive) or ] (exclusive). + * The right delimiter can be [ (exclusive) or ] (inclusive). + * Beside numbers, you can use -Inf and +Inf for the infinite. + * + * @author Fabien Potencier + * + * @see http://en.wikipedia.org/wiki/Interval_%28mathematics%29#The_ISO_notation + */ +class Interval +{ + /** + * Tests if the given number is in the math interval. + * + * @param int $number A number + * @param string $interval An interval + * + * @return bool + * + * @throws \InvalidArgumentException + */ + public static function test($number, $interval) + { + $interval = trim($interval); + + if (!preg_match('/^'.self::getIntervalRegexp().'$/x', $interval, $matches)) { + throw new \InvalidArgumentException(sprintf('"%s" is not a valid interval.', $interval)); + } + + if ($matches[1]) { + foreach (explode(',', $matches[2]) as $n) { + if ($number == $n) { + return true; + } + } + } else { + $leftNumber = self::convertNumber($matches['left']); + $rightNumber = self::convertNumber($matches['right']); + + return + ('[' === $matches['left_delimiter'] ? $number >= $leftNumber : $number > $leftNumber) + && (']' === $matches['right_delimiter'] ? $number <= $rightNumber : $number < $rightNumber) + ; + } + + return false; + } + + /** + * Returns a Regexp that matches valid intervals. + * + * @return string A Regexp (without the delimiters) + */ + public static function getIntervalRegexp() + { + return <<[\[\]]) + \s* + (?P-Inf|\-?\d+(\.\d+)?) + \s*,\s* + (?P\+?Inf|\-?\d+(\.\d+)?) + \s* + (?P[\[\]]) +EOF; + } + + private static function convertNumber($number) + { + if ('-Inf' === $number) { + return log(0); + } elseif ('+Inf' === $number || 'Inf' === $number) { + return -log(0); + } + + return (float) $number; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/LICENSE b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/LICENSE new file mode 100644 index 0000000..43028bc --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2004-2015 Fabien Potencier + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is furnished +to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/ArrayLoader.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/ArrayLoader.php new file mode 100644 index 0000000..9a595b7 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/ArrayLoader.php @@ -0,0 +1,66 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Loader; + +use Symfony\Component\Translation\MessageCatalogue; + +/** + * ArrayLoader loads translations from a PHP array. + * + * @author Fabien Potencier + */ +class ArrayLoader implements LoaderInterface +{ + /** + * {@inheritdoc} + */ + public function load($resource, $locale, $domain = 'messages') + { + $this->flatten($resource); + $catalogue = new MessageCatalogue($locale); + $catalogue->add($resource, $domain); + + return $catalogue; + } + + /** + * Flattens an nested array of translations. + * + * The scheme used is: + * 'key' => array('key2' => array('key3' => 'value')) + * Becomes: + * 'key.key2.key3' => 'value' + * + * This function takes an array by reference and will modify it + * + * @param array &$messages The array that will be flattened + * @param array $subnode Current subnode being parsed, used internally for recursive calls + * @param string $path Current path being parsed, used internally for recursive calls + */ + private function flatten(array &$messages, array $subnode = null, $path = null) + { + if (null === $subnode) { + $subnode = &$messages; + } + foreach ($subnode as $key => $value) { + if (is_array($value)) { + $nodePath = $path ? $path.'.'.$key : $key; + $this->flatten($messages, $value, $nodePath); + if (null === $path) { + unset($messages[$key]); + } + } elseif (null !== $path) { + $messages[$path.'.'.$key] = $value; + } + } + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/CsvFileLoader.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/CsvFileLoader.php new file mode 100644 index 0000000..f1d3443 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/CsvFileLoader.php @@ -0,0 +1,65 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Loader; + +use Symfony\Component\Translation\Exception\NotFoundResourceException; + +/** + * CsvFileLoader loads translations from CSV files. + * + * @author Saša Stamenković + */ +class CsvFileLoader extends FileLoader +{ + private $delimiter = ';'; + private $enclosure = '"'; + private $escape = '\\'; + + /** + * {@inheritdoc} + */ + protected function loadResource($resource) + { + $messages = array(); + + try { + $file = new \SplFileObject($resource, 'rb'); + } catch (\RuntimeException $e) { + throw new NotFoundResourceException(sprintf('Error opening file "%s".', $resource), 0, $e); + } + + $file->setFlags(\SplFileObject::READ_CSV | \SplFileObject::SKIP_EMPTY); + $file->setCsvControl($this->delimiter, $this->enclosure, $this->escape); + + foreach ($file as $data) { + if ('#' !== substr($data[0], 0, 1) && isset($data[1]) && 2 === count($data)) { + $messages[$data[0]] = $data[1]; + } + } + + return $messages; + } + + /** + * Sets the delimiter, enclosure, and escape character for CSV. + * + * @param string $delimiter delimiter character + * @param string $enclosure enclosure character + * @param string $escape escape character + */ + public function setCsvControl($delimiter = ';', $enclosure = '"', $escape = '\\') + { + $this->delimiter = $delimiter; + $this->enclosure = $enclosure; + $this->escape = $escape; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/FileLoader.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/FileLoader.php new file mode 100644 index 0000000..a7f24f4 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/FileLoader.php @@ -0,0 +1,65 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Loader; + +use Symfony\Component\Translation\Exception\InvalidResourceException; +use Symfony\Component\Translation\Exception\NotFoundResourceException; +use Symfony\Component\Config\Resource\FileResource; + +/** + * @author Abdellatif Ait boudad + */ +abstract class FileLoader extends ArrayLoader +{ + /** + * {@inheritdoc} + */ + public function load($resource, $locale, $domain = 'messages') + { + if (!stream_is_local($resource)) { + throw new InvalidResourceException(sprintf('This is not a local file "%s".', $resource)); + } + + if (!file_exists($resource)) { + throw new NotFoundResourceException(sprintf('File "%s" not found.', $resource)); + } + + $messages = $this->loadResource($resource); + + // empty resource + if (null === $messages) { + $messages = array(); + } + + // not an array + if (!is_array($messages)) { + throw new InvalidResourceException(sprintf('Unable to load file "%s".', $resource)); + } + + $catalogue = parent::load($messages, $locale, $domain); + + if (class_exists('Symfony\Component\Config\Resource\FileResource')) { + $catalogue->addResource(new FileResource($resource)); + } + + return $catalogue; + } + + /* + * @param string $resource + * + * @return array + * + * @throws InvalidResourceException If stream content has an invalid format. + */ + abstract protected function loadResource($resource); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/IcuDatFileLoader.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/IcuDatFileLoader.php new file mode 100644 index 0000000..71ba90a --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/IcuDatFileLoader.php @@ -0,0 +1,62 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Loader; + +use Symfony\Component\Translation\MessageCatalogue; +use Symfony\Component\Translation\Exception\InvalidResourceException; +use Symfony\Component\Translation\Exception\NotFoundResourceException; +use Symfony\Component\Config\Resource\FileResource; + +/** + * IcuResFileLoader loads translations from a resource bundle. + * + * @author stealth35 + */ +class IcuDatFileLoader extends IcuResFileLoader +{ + /** + * {@inheritdoc} + */ + public function load($resource, $locale, $domain = 'messages') + { + if (!stream_is_local($resource.'.dat')) { + throw new InvalidResourceException(sprintf('This is not a local file "%s".', $resource)); + } + + if (!file_exists($resource.'.dat')) { + throw new NotFoundResourceException(sprintf('File "%s" not found.', $resource)); + } + + try { + $rb = new \ResourceBundle($locale, $resource); + } catch (\Exception $e) { + // HHVM compatibility: constructor throws on invalid resource + $rb = null; + } + + if (!$rb) { + throw new InvalidResourceException(sprintf('Cannot load resource "%s"', $resource)); + } elseif (intl_is_failure($rb->getErrorCode())) { + throw new InvalidResourceException($rb->getErrorMessage(), $rb->getErrorCode()); + } + + $messages = $this->flatten($rb); + $catalogue = new MessageCatalogue($locale); + $catalogue->add($messages, $domain); + + if (class_exists('Symfony\Component\Config\Resource\FileResource')) { + $catalogue->addResource(new FileResource($resource.'.dat')); + } + + return $catalogue; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/IcuResFileLoader.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/IcuResFileLoader.php new file mode 100644 index 0000000..2f8037f --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/IcuResFileLoader.php @@ -0,0 +1,92 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Loader; + +use Symfony\Component\Translation\MessageCatalogue; +use Symfony\Component\Translation\Exception\InvalidResourceException; +use Symfony\Component\Translation\Exception\NotFoundResourceException; +use Symfony\Component\Config\Resource\DirectoryResource; + +/** + * IcuResFileLoader loads translations from a resource bundle. + * + * @author stealth35 + */ +class IcuResFileLoader implements LoaderInterface +{ + /** + * {@inheritdoc} + */ + public function load($resource, $locale, $domain = 'messages') + { + if (!stream_is_local($resource)) { + throw new InvalidResourceException(sprintf('This is not a local file "%s".', $resource)); + } + + if (!is_dir($resource)) { + throw new NotFoundResourceException(sprintf('File "%s" not found.', $resource)); + } + + try { + $rb = new \ResourceBundle($locale, $resource); + } catch (\Exception $e) { + // HHVM compatibility: constructor throws on invalid resource + $rb = null; + } + + if (!$rb) { + throw new InvalidResourceException(sprintf('Cannot load resource "%s"', $resource)); + } elseif (intl_is_failure($rb->getErrorCode())) { + throw new InvalidResourceException($rb->getErrorMessage(), $rb->getErrorCode()); + } + + $messages = $this->flatten($rb); + $catalogue = new MessageCatalogue($locale); + $catalogue->add($messages, $domain); + + if (class_exists('Symfony\Component\Config\Resource\DirectoryResource')) { + $catalogue->addResource(new DirectoryResource($resource)); + } + + return $catalogue; + } + + /** + * Flattens an ResourceBundle. + * + * The scheme used is: + * key { key2 { key3 { "value" } } } + * Becomes: + * 'key.key2.key3' => 'value' + * + * This function takes an array by reference and will modify it + * + * @param \ResourceBundle $rb the ResourceBundle that will be flattened + * @param array $messages used internally for recursive calls + * @param string $path current path being parsed, used internally for recursive calls + * + * @return array the flattened ResourceBundle + */ + protected function flatten(\ResourceBundle $rb, array &$messages = array(), $path = null) + { + foreach ($rb as $key => $value) { + $nodePath = $path ? $path.'.'.$key : $key; + if ($value instanceof \ResourceBundle) { + $this->flatten($value, $messages, $nodePath); + } else { + $messages[$nodePath] = $value; + } + } + + return $messages; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/IniFileLoader.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/IniFileLoader.php new file mode 100644 index 0000000..11d9b27 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/IniFileLoader.php @@ -0,0 +1,28 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Loader; + +/** + * IniFileLoader loads translations from an ini file. + * + * @author stealth35 + */ +class IniFileLoader extends FileLoader +{ + /** + * {@inheritdoc} + */ + protected function loadResource($resource) + { + return parse_ini_file($resource, true); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/JsonFileLoader.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/JsonFileLoader.php new file mode 100644 index 0000000..ce4e91f --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/JsonFileLoader.php @@ -0,0 +1,64 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Loader; + +use Symfony\Component\Translation\Exception\InvalidResourceException; + +/** + * JsonFileLoader loads translations from an json file. + * + * @author singles + */ +class JsonFileLoader extends FileLoader +{ + /** + * {@inheritdoc} + */ + protected function loadResource($resource) + { + $messages = array(); + if ($data = file_get_contents($resource)) { + $messages = json_decode($data, true); + + if (0 < $errorCode = json_last_error()) { + throw new InvalidResourceException(sprintf('Error parsing JSON - %s', $this->getJSONErrorMessage($errorCode))); + } + } + + return $messages; + } + + /** + * Translates JSON_ERROR_* constant into meaningful message. + * + * @param int $errorCode Error code returned by json_last_error() call + * + * @return string Message string + */ + private function getJSONErrorMessage($errorCode) + { + switch ($errorCode) { + case JSON_ERROR_DEPTH: + return 'Maximum stack depth exceeded'; + case JSON_ERROR_STATE_MISMATCH: + return 'Underflow or the modes mismatch'; + case JSON_ERROR_CTRL_CHAR: + return 'Unexpected control character found'; + case JSON_ERROR_SYNTAX: + return 'Syntax error, malformed JSON'; + case JSON_ERROR_UTF8: + return 'Malformed UTF-8 characters, possibly incorrectly encoded'; + default: + return 'Unknown error'; + } + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/LoaderInterface.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/LoaderInterface.php new file mode 100644 index 0000000..6b65fe3 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/LoaderInterface.php @@ -0,0 +1,38 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Loader; + +use Symfony\Component\Translation\MessageCatalogue; +use Symfony\Component\Translation\Exception\InvalidResourceException; +use Symfony\Component\Translation\Exception\NotFoundResourceException; + +/** + * LoaderInterface is the interface implemented by all translation loaders. + * + * @author Fabien Potencier + */ +interface LoaderInterface +{ + /** + * Loads a locale. + * + * @param mixed $resource A resource + * @param string $locale A locale + * @param string $domain The domain + * + * @return MessageCatalogue A MessageCatalogue instance + * + * @throws NotFoundResourceException when the resource cannot be found + * @throws InvalidResourceException when the resource cannot be loaded + */ + public function load($resource, $locale, $domain = 'messages'); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/MoFileLoader.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/MoFileLoader.php new file mode 100644 index 0000000..c27a88e --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/MoFileLoader.php @@ -0,0 +1,154 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Loader; + +use Symfony\Component\Translation\Exception\InvalidResourceException; + +/** + * @copyright Copyright (c) 2010, Union of RAD http://union-of-rad.org (http://lithify.me/) + */ +class MoFileLoader extends FileLoader +{ + /** + * Magic used for validating the format of a MO file as well as + * detecting if the machine used to create that file was little endian. + * + * @var float + */ + const MO_LITTLE_ENDIAN_MAGIC = 0x950412de; + + /** + * Magic used for validating the format of a MO file as well as + * detecting if the machine used to create that file was big endian. + * + * @var float + */ + const MO_BIG_ENDIAN_MAGIC = 0xde120495; + + /** + * The size of the header of a MO file in bytes. + * + * @var int Number of bytes. + */ + const MO_HEADER_SIZE = 28; + + /** + * Parses machine object (MO) format, independent of the machine's endian it + * was created on. Both 32bit and 64bit systems are supported. + * + * {@inheritdoc} + */ + protected function loadResource($resource) + { + $stream = fopen($resource, 'r'); + + $stat = fstat($stream); + + if ($stat['size'] < self::MO_HEADER_SIZE) { + throw new InvalidResourceException('MO stream content has an invalid format.'); + } + $magic = unpack('V1', fread($stream, 4)); + $magic = hexdec(substr(dechex(current($magic)), -8)); + + if ($magic == self::MO_LITTLE_ENDIAN_MAGIC) { + $isBigEndian = false; + } elseif ($magic == self::MO_BIG_ENDIAN_MAGIC) { + $isBigEndian = true; + } else { + throw new InvalidResourceException('MO stream content has an invalid format.'); + } + + // formatRevision + $this->readLong($stream, $isBigEndian); + $count = $this->readLong($stream, $isBigEndian); + $offsetId = $this->readLong($stream, $isBigEndian); + $offsetTranslated = $this->readLong($stream, $isBigEndian); + // sizeHashes + $this->readLong($stream, $isBigEndian); + // offsetHashes + $this->readLong($stream, $isBigEndian); + + $messages = array(); + + for ($i = 0; $i < $count; ++$i) { + $singularId = $pluralId = null; + $translated = null; + + fseek($stream, $offsetId + $i * 8); + + $length = $this->readLong($stream, $isBigEndian); + $offset = $this->readLong($stream, $isBigEndian); + + if ($length < 1) { + continue; + } + + fseek($stream, $offset); + $singularId = fread($stream, $length); + + if (strpos($singularId, "\000") !== false) { + list($singularId, $pluralId) = explode("\000", $singularId); + } + + fseek($stream, $offsetTranslated + $i * 8); + $length = $this->readLong($stream, $isBigEndian); + $offset = $this->readLong($stream, $isBigEndian); + + if ($length < 1) { + continue; + } + + fseek($stream, $offset); + $translated = fread($stream, $length); + + if (strpos($translated, "\000") !== false) { + $translated = explode("\000", $translated); + } + + $ids = array('singular' => $singularId, 'plural' => $pluralId); + $item = compact('ids', 'translated'); + + if (is_array($item['translated'])) { + $messages[$item['ids']['singular']] = stripcslashes($item['translated'][0]); + if (isset($item['ids']['plural'])) { + $plurals = array(); + foreach ($item['translated'] as $plural => $translated) { + $plurals[] = sprintf('{%d} %s', $plural, $translated); + } + $messages[$item['ids']['plural']] = stripcslashes(implode('|', $plurals)); + } + } elseif (!empty($item['ids']['singular'])) { + $messages[$item['ids']['singular']] = stripcslashes($item['translated']); + } + } + + fclose($stream); + + return array_filter($messages); + } + + /** + * Reads an unsigned long from stream respecting endianess. + * + * @param resource $stream + * @param bool $isBigEndian + * + * @return int + */ + private function readLong($stream, $isBigEndian) + { + $result = unpack($isBigEndian ? 'N1' : 'V1', fread($stream, 4)); + $result = current($result); + + return (int) substr($result, -8); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/PhpFileLoader.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/PhpFileLoader.php new file mode 100644 index 0000000..a0050e8 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/PhpFileLoader.php @@ -0,0 +1,28 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Loader; + +/** + * PhpFileLoader loads translations from PHP files returning an array of translations. + * + * @author Fabien Potencier + */ +class PhpFileLoader extends FileLoader +{ + /** + * {@inheritdoc} + */ + protected function loadResource($resource) + { + return require $resource; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/PoFileLoader.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/PoFileLoader.php new file mode 100644 index 0000000..84664d6 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/PoFileLoader.php @@ -0,0 +1,143 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Loader; + +/** + * @copyright Copyright (c) 2010, Union of RAD http://union-of-rad.org (http://lithify.me/) + * @copyright Copyright (c) 2012, Clemens Tolboom + */ +class PoFileLoader extends FileLoader +{ + /** + * Parses portable object (PO) format. + * + * From http://www.gnu.org/software/gettext/manual/gettext.html#PO-Files + * we should be able to parse files having: + * + * white-space + * # translator-comments + * #. extracted-comments + * #: reference... + * #, flag... + * #| msgid previous-untranslated-string + * msgid untranslated-string + * msgstr translated-string + * + * extra or different lines are: + * + * #| msgctxt previous-context + * #| msgid previous-untranslated-string + * msgctxt context + * + * #| msgid previous-untranslated-string-singular + * #| msgid_plural previous-untranslated-string-plural + * msgid untranslated-string-singular + * msgid_plural untranslated-string-plural + * msgstr[0] translated-string-case-0 + * ... + * msgstr[N] translated-string-case-n + * + * The definition states: + * - white-space and comments are optional. + * - msgid "" that an empty singleline defines a header. + * + * This parser sacrifices some features of the reference implementation the + * differences to that implementation are as follows. + * - No support for comments spanning multiple lines. + * - Translator and extracted comments are treated as being the same type. + * - Message IDs are allowed to have other encodings as just US-ASCII. + * + * Items with an empty id are ignored. + * + * {@inheritdoc} + */ + protected function loadResource($resource) + { + $stream = fopen($resource, 'r'); + + $defaults = array( + 'ids' => array(), + 'translated' => null, + ); + + $messages = array(); + $item = $defaults; + + while ($line = fgets($stream)) { + $line = trim($line); + + if ($line === '') { + // Whitespace indicated current item is done + $this->addMessage($messages, $item); + $item = $defaults; + } elseif (substr($line, 0, 7) === 'msgid "') { + // We start a new msg so save previous + // TODO: this fails when comments or contexts are added + $this->addMessage($messages, $item); + $item = $defaults; + $item['ids']['singular'] = substr($line, 7, -1); + } elseif (substr($line, 0, 8) === 'msgstr "') { + $item['translated'] = substr($line, 8, -1); + } elseif ($line[0] === '"') { + $continues = isset($item['translated']) ? 'translated' : 'ids'; + + if (is_array($item[$continues])) { + end($item[$continues]); + $item[$continues][key($item[$continues])] .= substr($line, 1, -1); + } else { + $item[$continues] .= substr($line, 1, -1); + } + } elseif (substr($line, 0, 14) === 'msgid_plural "') { + $item['ids']['plural'] = substr($line, 14, -1); + } elseif (substr($line, 0, 7) === 'msgstr[') { + $size = strpos($line, ']'); + $item['translated'][(int) substr($line, 7, 1)] = substr($line, $size + 3, -1); + } + } + // save last item + $this->addMessage($messages, $item); + fclose($stream); + + return $messages; + } + + /** + * Save a translation item to the messages. + * + * A .po file could contain by error missing plural indexes. We need to + * fix these before saving them. + * + * @param array $messages + * @param array $item + */ + private function addMessage(array &$messages, array $item) + { + if (is_array($item['translated'])) { + $messages[stripcslashes($item['ids']['singular'])] = stripcslashes($item['translated'][0]); + if (isset($item['ids']['plural'])) { + $plurals = $item['translated']; + // PO are by definition indexed so sort by index. + ksort($plurals); + // Make sure every index is filled. + end($plurals); + $count = key($plurals); + // Fill missing spots with '-'. + $empties = array_fill(0, $count + 1, '-'); + $plurals += $empties; + ksort($plurals); + $messages[stripcslashes($item['ids']['plural'])] = stripcslashes(implode('|', $plurals)); + } + } elseif (!empty($item['ids']['singular'])) { + $messages[stripcslashes($item['ids']['singular'])] = stripcslashes($item['translated']); + } + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/QtFileLoader.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/QtFileLoader.php new file mode 100644 index 0000000..657bd6e --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/QtFileLoader.php @@ -0,0 +1,77 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Loader; + +use Symfony\Component\Config\Util\XmlUtils; +use Symfony\Component\Translation\MessageCatalogue; +use Symfony\Component\Translation\Exception\InvalidResourceException; +use Symfony\Component\Translation\Exception\NotFoundResourceException; +use Symfony\Component\Config\Resource\FileResource; + +/** + * QtFileLoader loads translations from QT Translations XML files. + * + * @author Benjamin Eberlei + */ +class QtFileLoader implements LoaderInterface +{ + /** + * {@inheritdoc} + */ + public function load($resource, $locale, $domain = 'messages') + { + if (!stream_is_local($resource)) { + throw new InvalidResourceException(sprintf('This is not a local file "%s".', $resource)); + } + + if (!file_exists($resource)) { + throw new NotFoundResourceException(sprintf('File "%s" not found.', $resource)); + } + + try { + $dom = XmlUtils::loadFile($resource); + } catch (\InvalidArgumentException $e) { + throw new InvalidResourceException(sprintf('Unable to load "%s".', $resource), $e->getCode(), $e); + } + + $internalErrors = libxml_use_internal_errors(true); + libxml_clear_errors(); + + $xpath = new \DOMXPath($dom); + $nodes = $xpath->evaluate('//TS/context/name[text()="'.$domain.'"]'); + + $catalogue = new MessageCatalogue($locale); + if ($nodes->length == 1) { + $translations = $nodes->item(0)->nextSibling->parentNode->parentNode->getElementsByTagName('message'); + foreach ($translations as $translation) { + $translationValue = (string) $translation->getElementsByTagName('translation')->item(0)->nodeValue; + + if (!empty($translationValue)) { + $catalogue->set( + (string) $translation->getElementsByTagName('source')->item(0)->nodeValue, + $translationValue, + $domain + ); + } + $translation = $translation->nextSibling; + } + + if (class_exists('Symfony\Component\Config\Resource\FileResource')) { + $catalogue->addResource(new FileResource($resource)); + } + } + + libxml_use_internal_errors($internalErrors); + + return $catalogue; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/XliffFileLoader.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/XliffFileLoader.php new file mode 100644 index 0000000..bdca110 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/XliffFileLoader.php @@ -0,0 +1,313 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Loader; + +use Symfony\Component\Config\Util\XmlUtils; +use Symfony\Component\Translation\MessageCatalogue; +use Symfony\Component\Translation\Exception\InvalidResourceException; +use Symfony\Component\Translation\Exception\NotFoundResourceException; +use Symfony\Component\Config\Resource\FileResource; + +/** + * XliffFileLoader loads translations from XLIFF files. + * + * @author Fabien Potencier + */ +class XliffFileLoader implements LoaderInterface +{ + /** + * {@inheritdoc} + */ + public function load($resource, $locale, $domain = 'messages') + { + if (!stream_is_local($resource)) { + throw new InvalidResourceException(sprintf('This is not a local file "%s".', $resource)); + } + + if (!file_exists($resource)) { + throw new NotFoundResourceException(sprintf('File "%s" not found.', $resource)); + } + + $catalogue = new MessageCatalogue($locale); + $this->extract($resource, $catalogue, $domain); + + if (class_exists('Symfony\Component\Config\Resource\FileResource')) { + $catalogue->addResource(new FileResource($resource)); + } + + return $catalogue; + } + + private function extract($resource, MessageCatalogue $catalogue, $domain) + { + try { + $dom = XmlUtils::loadFile($resource); + } catch (\InvalidArgumentException $e) { + throw new InvalidResourceException(sprintf('Unable to load "%s": %s', $resource, $e->getMessage()), $e->getCode(), $e); + } + + $xliffVersion = $this->getVersionNumber($dom); + $this->validateSchema($xliffVersion, $dom, $this->getSchema($xliffVersion)); + + if ('1.2' === $xliffVersion) { + $this->extractXliff1($dom, $catalogue, $domain); + } + + if ('2.0' === $xliffVersion) { + $this->extractXliff2($dom, $catalogue, $domain); + } + } + + /** + * Extract messages and metadata from DOMDocument into a MessageCatalogue. + * + * @param \DOMDocument $dom Source to extract messages and metadata + * @param MessageCatalogue $catalogue Catalogue where we'll collect messages and metadata + * @param string $domain The domain + */ + private function extractXliff1(\DOMDocument $dom, MessageCatalogue $catalogue, $domain) + { + $xml = simplexml_import_dom($dom); + $encoding = strtoupper($dom->encoding); + + $xml->registerXPathNamespace('xliff', 'urn:oasis:names:tc:xliff:document:1.2'); + foreach ($xml->xpath('//xliff:trans-unit') as $translation) { + $attributes = $translation->attributes(); + + if (!(isset($attributes['resname']) || isset($translation->source))) { + continue; + } + + $source = isset($attributes['resname']) && $attributes['resname'] ? $attributes['resname'] : $translation->source; + // If the xlf file has another encoding specified, try to convert it because + // simple_xml will always return utf-8 encoded values + $target = $this->utf8ToCharset((string) (isset($translation->target) ? $translation->target : $source), $encoding); + + $catalogue->set((string) $source, $target, $domain); + + $metadata = array(); + if ($notes = $this->parseNotesMetadata($translation->note, $encoding)) { + $metadata['notes'] = $notes; + } + if (isset($translation->target) && $translation->target->attributes()) { + $metadata['target-attributes'] = array(); + foreach ($translation->target->attributes() as $key => $value) { + $metadata['target-attributes'][$key] = (string) $value; + } + } + + $catalogue->setMetadata((string) $source, $metadata, $domain); + } + } + + /** + * @param \DOMDocument $dom + * @param MessageCatalogue $catalogue + * @param string $domain + */ + private function extractXliff2(\DOMDocument $dom, MessageCatalogue $catalogue, $domain) + { + $xml = simplexml_import_dom($dom); + $encoding = strtoupper($dom->encoding); + + $xml->registerXPathNamespace('xliff', 'urn:oasis:names:tc:xliff:document:2.0'); + + foreach ($xml->xpath('//xliff:unit/xliff:segment') as $segment) { + $source = $segment->source; + + // If the xlf file has another encoding specified, try to convert it because + // simple_xml will always return utf-8 encoded values + $target = $this->utf8ToCharset((string) (isset($segment->target) ? $segment->target : $source), $encoding); + + $catalogue->set((string) $source, $target, $domain); + + $metadata = array(); + if (isset($segment->target) && $segment->target->attributes()) { + $metadata['target-attributes'] = array(); + foreach ($segment->target->attributes() as $key => $value) { + $metadata['target-attributes'][$key] = (string) $value; + } + } + + $catalogue->setMetadata((string) $source, $metadata, $domain); + } + } + + /** + * Convert a UTF8 string to the specified encoding. + * + * @param string $content String to decode + * @param string $encoding Target encoding + * + * @return string + */ + private function utf8ToCharset($content, $encoding = null) + { + if ('UTF-8' !== $encoding && !empty($encoding)) { + return mb_convert_encoding($content, $encoding, 'UTF-8'); + } + + return $content; + } + + /** + * @param string $file + * @param \DOMDocument $dom + * @param string $schema source of the schema + * + * @throws InvalidResourceException + */ + private function validateSchema($file, \DOMDocument $dom, $schema) + { + $internalErrors = libxml_use_internal_errors(true); + + if (!@$dom->schemaValidateSource($schema)) { + throw new InvalidResourceException(sprintf('Invalid resource provided: "%s"; Errors: %s', $file, implode("\n", $this->getXmlErrors($internalErrors)))); + } + + $dom->normalizeDocument(); + + libxml_clear_errors(); + libxml_use_internal_errors($internalErrors); + } + + private function getSchema($xliffVersion) + { + if ('1.2' === $xliffVersion) { + $schemaSource = file_get_contents(__DIR__.'/schema/dic/xliff-core/xliff-core-1.2-strict.xsd'); + $xmlUri = 'http://www.w3.org/2001/xml.xsd'; + } elseif ('2.0' === $xliffVersion) { + $schemaSource = file_get_contents(__DIR__.'/schema/dic/xliff-core/xliff-core-2.0.xsd'); + $xmlUri = 'informativeCopiesOf3rdPartySchemas/w3c/xml.xsd'; + } else { + throw new \InvalidArgumentException(sprintf('No support implemented for loading XLIFF version "%s".', $xliffVersion)); + } + + return $this->fixXmlLocation($schemaSource, $xmlUri); + } + + /** + * Internally changes the URI of a dependent xsd to be loaded locally. + * + * @param string $schemaSource Current content of schema file + * @param string $xmlUri External URI of XML to convert to local + * + * @return string + */ + private function fixXmlLocation($schemaSource, $xmlUri) + { + $newPath = str_replace('\\', '/', __DIR__).'/schema/dic/xliff-core/xml.xsd'; + $parts = explode('/', $newPath); + if (0 === stripos($newPath, 'phar://')) { + $tmpfile = tempnam(sys_get_temp_dir(), 'sf2'); + if ($tmpfile) { + copy($newPath, $tmpfile); + $parts = explode('/', str_replace('\\', '/', $tmpfile)); + } + } + $drive = '\\' === DIRECTORY_SEPARATOR ? array_shift($parts).'/' : ''; + $newPath = 'file:///'.$drive.implode('/', array_map('rawurlencode', $parts)); + + return str_replace($xmlUri, $newPath, $schemaSource); + } + + /** + * Returns the XML errors of the internal XML parser. + * + * @param bool $internalErrors + * + * @return array An array of errors + */ + private function getXmlErrors($internalErrors) + { + $errors = array(); + foreach (libxml_get_errors() as $error) { + $errors[] = sprintf('[%s %s] %s (in %s - line %d, column %d)', + LIBXML_ERR_WARNING == $error->level ? 'WARNING' : 'ERROR', + $error->code, + trim($error->message), + $error->file ?: 'n/a', + $error->line, + $error->column + ); + } + + libxml_clear_errors(); + libxml_use_internal_errors($internalErrors); + + return $errors; + } + + /** + * Gets xliff file version based on the root "version" attribute. + * Defaults to 1.2 for backwards compatibility. + * + * @param \DOMDocument $dom + * + * @throws \InvalidArgumentException + * + * @return string + */ + private function getVersionNumber(\DOMDocument $dom) + { + /** @var \DOMNode $xliff */ + foreach ($dom->getElementsByTagName('xliff') as $xliff) { + $version = $xliff->attributes->getNamedItem('version'); + if ($version) { + return $version->nodeValue; + } + + $namespace = $xliff->attributes->getNamedItem('xmlns'); + if ($namespace) { + if (substr_compare('urn:oasis:names:tc:xliff:document:', $namespace->nodeValue, 0, 34) !== 0) { + throw new \InvalidArgumentException(sprintf('Not a valid XLIFF namespace "%s"', $namespace)); + } + + return substr($namespace, 34); + } + } + + // Falls back to v1.2 + return '1.2'; + } + + /* + * @param \SimpleXMLElement|null $noteElement + * @param string|null $encoding + * + * @return array + */ + private function parseNotesMetadata(\SimpleXMLElement $noteElement = null, $encoding = null) + { + $notes = array(); + + if (null === $noteElement) { + return $notes; + } + + foreach ($noteElement as $xmlNote) { + $noteAttributes = $xmlNote->attributes(); + $note = array('content' => $this->utf8ToCharset((string) $xmlNote, $encoding)); + if (isset($noteAttributes['priority'])) { + $note['priority'] = (int) $noteAttributes['priority']; + } + + if (isset($noteAttributes['from'])) { + $note['from'] = (string) $noteAttributes['from']; + } + + $notes[] = $note; + } + + return $notes; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/YamlFileLoader.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/YamlFileLoader.php new file mode 100644 index 0000000..5d9a3ad --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/YamlFileLoader.php @@ -0,0 +1,48 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Loader; + +use Symfony\Component\Translation\Exception\InvalidResourceException; +use Symfony\Component\Yaml\Parser as YamlParser; +use Symfony\Component\Yaml\Exception\ParseException; + +/** + * YamlFileLoader loads translations from Yaml files. + * + * @author Fabien Potencier + */ +class YamlFileLoader extends FileLoader +{ + private $yamlParser; + + /** + * {@inheritdoc} + */ + protected function loadResource($resource) + { + if (null === $this->yamlParser) { + if (!class_exists('Symfony\Component\Yaml\Parser')) { + throw new \LogicException('Loading translations from the YAML format requires the Symfony Yaml component.'); + } + + $this->yamlParser = new YamlParser(); + } + + try { + $messages = $this->yamlParser->parse(file_get_contents($resource)); + } catch (ParseException $e) { + throw new InvalidResourceException(sprintf('Error parsing YAML, invalid file "%s"', $resource), 0, $e); + } + + return $messages; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/schema/dic/xliff-core/xliff-core-1.2-strict.xsd b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/schema/dic/xliff-core/xliff-core-1.2-strict.xsd new file mode 100644 index 0000000..3ce2a8e --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/schema/dic/xliff-core/xliff-core-1.2-strict.xsd @@ -0,0 +1,2223 @@ + + + + + + + + + + + + + + + Values for the attribute 'context-type'. + + + + + Indicates a database content. + + + + + Indicates the content of an element within an XML document. + + + + + Indicates the name of an element within an XML document. + + + + + Indicates the line number from the sourcefile (see context-type="sourcefile") where the <source> is found. + + + + + Indicates a the number of parameters contained within the <source>. + + + + + Indicates notes pertaining to the parameters in the <source>. + + + + + Indicates the content of a record within a database. + + + + + Indicates the name of a record within a database. + + + + + Indicates the original source file in the case that multiple files are merged to form the original file from which the XLIFF file is created. This differs from the original <file> attribute in that this sourcefile is one of many that make up that file. + + + + + + + Values for the attribute 'count-type'. + + + + + Indicates the count units are items that are used X times in a certain context; example: this is a reusable text unit which is used 42 times in other texts. + + + + + Indicates the count units are translation units existing already in the same document. + + + + + Indicates a total count. + + + + + + + Values for the attribute 'ctype' when used other elements than <ph> or <x>. + + + + + Indicates a run of bolded text. + + + + + Indicates a run of text in italics. + + + + + Indicates a run of underlined text. + + + + + Indicates a run of hyper-text. + + + + + + + Values for the attribute 'ctype' when used with <ph> or <x>. + + + + + Indicates a inline image. + + + + + Indicates a page break. + + + + + Indicates a line break. + + + + + + + + + + + + Values for the attribute 'datatype'. + + + + + Indicates Active Server Page data. + + + + + Indicates C source file data. + + + + + Indicates Channel Definition Format (CDF) data. + + + + + Indicates ColdFusion data. + + + + + Indicates C++ source file data. + + + + + Indicates C-Sharp data. + + + + + Indicates strings from C, ASM, and driver files data. + + + + + Indicates comma-separated values data. + + + + + Indicates database data. + + + + + Indicates portions of document that follows data and contains metadata. + + + + + Indicates portions of document that precedes data and contains metadata. + + + + + Indicates data from standard UI file operations dialogs (e.g., Open, Save, Save As, Export, Import). + + + + + Indicates standard user input screen data. + + + + + Indicates HyperText Markup Language (HTML) data - document instance. + + + + + Indicates content within an HTML document’s <body> element. + + + + + Indicates Windows INI file data. + + + + + Indicates Interleaf data. + + + + + Indicates Java source file data (extension '.java'). + + + + + Indicates Java property resource bundle data. + + + + + Indicates Java list resource bundle data. + + + + + Indicates JavaScript source file data. + + + + + Indicates JScript source file data. + + + + + Indicates information relating to formatting. + + + + + Indicates LISP source file data. + + + + + Indicates information relating to margin formats. + + + + + Indicates a file containing menu. + + + + + Indicates numerically identified string table. + + + + + Indicates Maker Interchange Format (MIF) data. + + + + + Indicates that the datatype attribute value is a MIME Type value and is defined in the mime-type attribute. + + + + + Indicates GNU Machine Object data. + + + + + Indicates Message Librarian strings created by Novell's Message Librarian Tool. + + + + + Indicates information to be displayed at the bottom of each page of a document. + + + + + Indicates information to be displayed at the top of each page of a document. + + + + + Indicates a list of property values (e.g., settings within INI files or preferences dialog). + + + + + Indicates Pascal source file data. + + + + + Indicates Hypertext Preprocessor data. + + + + + Indicates plain text file (no formatting other than, possibly, wrapping). + + + + + Indicates GNU Portable Object file. + + + + + Indicates dynamically generated user defined document. e.g. Oracle Report, Crystal Report, etc. + + + + + Indicates Windows .NET binary resources. + + + + + Indicates Windows .NET Resources. + + + + + Indicates Rich Text Format (RTF) data. + + + + + Indicates Standard Generalized Markup Language (SGML) data - document instance. + + + + + Indicates Standard Generalized Markup Language (SGML) data - Document Type Definition (DTD). + + + + + Indicates Scalable Vector Graphic (SVG) data. + + + + + Indicates VisualBasic Script source file. + + + + + Indicates warning message. + + + + + Indicates Windows (Win32) resources (i.e. resources extracted from an RC script, a message file, or a compiled file). + + + + + Indicates Extensible HyperText Markup Language (XHTML) data - document instance. + + + + + Indicates Extensible Markup Language (XML) data - document instance. + + + + + Indicates Extensible Markup Language (XML) data - Document Type Definition (DTD). + + + + + Indicates Extensible Stylesheet Language (XSL) data. + + + + + Indicates XUL elements. + + + + + + + Values for the attribute 'mtype'. + + + + + Indicates the marked text is an abbreviation. + + + + + ISO-12620 2.1.8: A term resulting from the omission of any part of the full term while designating the same concept. + + + + + ISO-12620 2.1.8.1: An abbreviated form of a simple term resulting from the omission of some of its letters (e.g. 'adj.' for 'adjective'). + + + + + ISO-12620 2.1.8.4: An abbreviated form of a term made up of letters from the full form of a multiword term strung together into a sequence pronounced only syllabically (e.g. 'radar' for 'radio detecting and ranging'). + + + + + ISO-12620: A proper-name term, such as the name of an agency or other proper entity. + + + + + ISO-12620 2.1.18.1: A recurrent word combination characterized by cohesion in that the components of the collocation must co-occur within an utterance or series of utterances, even though they do not necessarily have to maintain immediate proximity to one another. + + + + + ISO-12620 2.1.5: A synonym for an international scientific term that is used in general discourse in a given language. + + + + + Indicates the marked text is a date and/or time. + + + + + ISO-12620 2.1.15: An expression used to represent a concept based on a statement that two mathematical expressions are, for instance, equal as identified by the equal sign (=), or assigned to one another by a similar sign. + + + + + ISO-12620 2.1.7: The complete representation of a term for which there is an abbreviated form. + + + + + ISO-12620 2.1.14: Figures, symbols or the like used to express a concept briefly, such as a mathematical or chemical formula. + + + + + ISO-12620 2.1.1: The concept designation that has been chosen to head a terminological record. + + + + + ISO-12620 2.1.8.3: An abbreviated form of a term consisting of some of the initial letters of the words making up a multiword term or the term elements making up a compound term when these letters are pronounced individually (e.g. 'BSE' for 'bovine spongiform encephalopathy'). + + + + + ISO-12620 2.1.4: A term that is part of an international scientific nomenclature as adopted by an appropriate scientific body. + + + + + ISO-12620 2.1.6: A term that has the same or nearly identical orthographic or phonemic form in many languages. + + + + + ISO-12620 2.1.16: An expression used to represent a concept based on mathematical or logical relations, such as statements of inequality, set relationships, Boolean operations, and the like. + + + + + ISO-12620 2.1.17: A unit to track object. + + + + + Indicates the marked text is a name. + + + + + ISO-12620 2.1.3: A term that represents the same or a very similar concept as another term in the same language, but for which interchangeability is limited to some contexts and inapplicable in others. + + + + + ISO-12620 2.1.17.2: A unique alphanumeric designation assigned to an object in a manufacturing system. + + + + + Indicates the marked text is a phrase. + + + + + ISO-12620 2.1.18: Any group of two or more words that form a unit, the meaning of which frequently cannot be deduced based on the combined sense of the words making up the phrase. + + + + + Indicates the marked text should not be translated. + + + + + ISO-12620 2.1.12: A form of a term resulting from an operation whereby non-Latin writing systems are converted to the Latin alphabet. + + + + + Indicates that the marked text represents a segment. + + + + + ISO-12620 2.1.18.2: A fixed, lexicalized phrase. + + + + + ISO-12620 2.1.8.2: A variant of a multiword term that includes fewer words than the full form of the term (e.g. 'Group of Twenty-four' for 'Intergovernmental Group of Twenty-four on International Monetary Affairs'). + + + + + ISO-12620 2.1.17.1: Stock keeping unit, an inventory item identified by a unique alphanumeric designation assigned to an object in an inventory control system. + + + + + ISO-12620 2.1.19: A fixed chunk of recurring text. + + + + + ISO-12620 2.1.13: A designation of a concept by letters, numerals, pictograms or any combination thereof. + + + + + ISO-12620 2.1.2: Any term that represents the same or a very similar concept as the main entry term in a term entry. + + + + + ISO-12620 2.1.18.3: Phraseological unit in a language that expresses the same semantic content as another phrase in that same language. + + + + + Indicates the marked text is a term. + + + + + ISO-12620 2.1.11: A form of a term resulting from an operation whereby the characters of one writing system are represented by characters from another writing system, taking into account the pronunciation of the characters converted. + + + + + ISO-12620 2.1.10: A form of a term resulting from an operation whereby the characters of an alphabetic writing system are represented by characters from another alphabetic writing system. + + + + + ISO-12620 2.1.8.5: An abbreviated form of a term resulting from the omission of one or more term elements or syllables (e.g. 'flu' for 'influenza'). + + + + + ISO-12620 2.1.9: One of the alternate forms of a term. + + + + + + + Values for the attribute 'restype'. + + + + + Indicates a Windows RC AUTO3STATE control. + + + + + Indicates a Windows RC AUTOCHECKBOX control. + + + + + Indicates a Windows RC AUTORADIOBUTTON control. + + + + + Indicates a Windows RC BEDIT control. + + + + + Indicates a bitmap, for example a BITMAP resource in Windows. + + + + + Indicates a button object, for example a BUTTON control Windows. + + + + + Indicates a caption, such as the caption of a dialog box. + + + + + Indicates the cell in a table, for example the content of the <td> element in HTML. + + + + + Indicates check box object, for example a CHECKBOX control in Windows. + + + + + Indicates a menu item with an associated checkbox. + + + + + Indicates a list box, but with a check-box for each item. + + + + + Indicates a color selection dialog. + + + + + Indicates a combination of edit box and listbox object, for example a COMBOBOX control in Windows. + + + + + Indicates an initialization entry of an extended combobox DLGINIT resource block. (code 0x1234). + + + + + Indicates an initialization entry of a combobox DLGINIT resource block (code 0x0403). + + + + + Indicates a UI base class element that cannot be represented by any other element. + + + + + Indicates a context menu. + + + + + Indicates a Windows RC CTEXT control. + + + + + Indicates a cursor, for example a CURSOR resource in Windows. + + + + + Indicates a date/time picker. + + + + + Indicates a Windows RC DEFPUSHBUTTON control. + + + + + Indicates a dialog box. + + + + + Indicates a Windows RC DLGINIT resource block. + + + + + Indicates an edit box object, for example an EDIT control in Windows. + + + + + Indicates a filename. + + + + + Indicates a file dialog. + + + + + Indicates a footnote. + + + + + Indicates a font name. + + + + + Indicates a footer. + + + + + Indicates a frame object. + + + + + Indicates a XUL grid element. + + + + + Indicates a groupbox object, for example a GROUPBOX control in Windows. + + + + + Indicates a header item. + + + + + Indicates a heading, such has the content of <h1>, <h2>, etc. in HTML. + + + + + Indicates a Windows RC HEDIT control. + + + + + Indicates a horizontal scrollbar. + + + + + Indicates an icon, for example an ICON resource in Windows. + + + + + Indicates a Windows RC IEDIT control. + + + + + Indicates keyword list, such as the content of the Keywords meta-data in HTML, or a K footnote in WinHelp RTF. + + + + + Indicates a label object. + + + + + Indicates a label that is also a HTML link (not necessarily a URL). + + + + + Indicates a list (a group of list-items, for example an <ol> or <ul> element in HTML). + + + + + Indicates a listbox object, for example an LISTBOX control in Windows. + + + + + Indicates an list item (an entry in a list). + + + + + Indicates a Windows RC LTEXT control. + + + + + Indicates a menu (a group of menu-items). + + + + + Indicates a toolbar containing one or more tope level menus. + + + + + Indicates a menu item (an entry in a menu). + + + + + Indicates a XUL menuseparator element. + + + + + Indicates a message, for example an entry in a MESSAGETABLE resource in Windows. + + + + + Indicates a calendar control. + + + + + Indicates an edit box beside a spin control. + + + + + Indicates a catch all for rectangular areas. + + + + + Indicates a standalone menu not necessarily associated with a menubar. + + + + + Indicates a pushbox object, for example a PUSHBOX control in Windows. + + + + + Indicates a Windows RC PUSHBUTTON control. + + + + + Indicates a radio button object. + + + + + Indicates a menuitem with associated radio button. + + + + + Indicates raw data resources for an application. + + + + + Indicates a row in a table. + + + + + Indicates a Windows RC RTEXT control. + + + + + Indicates a user navigable container used to show a portion of a document. + + + + + Indicates a generic divider object (e.g. menu group separator). + + + + + Windows accelerators, shortcuts in resource or property files. + + + + + Indicates a UI control to indicate process activity but not progress. + + + + + Indicates a splitter bar. + + + + + Indicates a Windows RC STATE3 control. + + + + + Indicates a window for providing feedback to the users, like 'read-only', etc. + + + + + Indicates a string, for example an entry in a STRINGTABLE resource in Windows. + + + + + Indicates a layers of controls with a tab to select layers. + + + + + Indicates a display and edits regular two-dimensional tables of cells. + + + + + Indicates a XUL textbox element. + + + + + Indicates a UI button that can be toggled to on or off state. + + + + + Indicates an array of controls, usually buttons. + + + + + Indicates a pop up tool tip text. + + + + + Indicates a bar with a pointer indicating a position within a certain range. + + + + + Indicates a control that displays a set of hierarchical data. + + + + + Indicates a URI (URN or URL). + + + + + Indicates a Windows RC USERBUTTON control. + + + + + Indicates a user-defined control like CONTROL control in Windows. + + + + + Indicates the text of a variable. + + + + + Indicates version information about a resource like VERSIONINFO in Windows. + + + + + Indicates a vertical scrollbar. + + + + + Indicates a graphical window. + + + + + + + Values for the attribute 'size-unit'. + + + + + Indicates a size in 8-bit bytes. + + + + + Indicates a size in Unicode characters. + + + + + Indicates a size in columns. Used for HTML text area. + + + + + Indicates a size in centimeters. + + + + + Indicates a size in dialog units, as defined in Windows resources. + + + + + Indicates a size in 'font-size' units (as defined in CSS). + + + + + Indicates a size in 'x-height' units (as defined in CSS). + + + + + Indicates a size in glyphs. A glyph is considered to be one or more combined Unicode characters that represent a single displayable text character. Sometimes referred to as a 'grapheme cluster' + + + + + Indicates a size in inches. + + + + + Indicates a size in millimeters. + + + + + Indicates a size in percentage. + + + + + Indicates a size in pixels. + + + + + Indicates a size in point. + + + + + Indicates a size in rows. Used for HTML text area. + + + + + + + Values for the attribute 'state'. + + + + + Indicates the terminating state. + + + + + Indicates only non-textual information needs adaptation. + + + + + Indicates both text and non-textual information needs adaptation. + + + + + Indicates only non-textual information needs review. + + + + + Indicates both text and non-textual information needs review. + + + + + Indicates that only the text of the item needs to be reviewed. + + + + + Indicates that the item needs to be translated. + + + + + Indicates that the item is new. For example, translation units that were not in a previous version of the document. + + + + + Indicates that changes are reviewed and approved. + + + + + Indicates that the item has been translated. + + + + + + + Values for the attribute 'state-qualifier'. + + + + + Indicates an exact match. An exact match occurs when a source text of a segment is exactly the same as the source text of a segment that was translated previously. + + + + + Indicates a fuzzy match. A fuzzy match occurs when a source text of a segment is very similar to the source text of a segment that was translated previously (e.g. when the difference is casing, a few changed words, white-space discripancy, etc.). + + + + + Indicates a match based on matching IDs (in addition to matching text). + + + + + Indicates a translation derived from a glossary. + + + + + Indicates a translation derived from existing translation. + + + + + Indicates a translation derived from machine translation. + + + + + Indicates a translation derived from a translation repository. + + + + + Indicates a translation derived from a translation memory. + + + + + Indicates the translation is suggested by machine translation. + + + + + Indicates that the item has been rejected because of incorrect grammar. + + + + + Indicates that the item has been rejected because it is incorrect. + + + + + Indicates that the item has been rejected because it is too long or too short. + + + + + Indicates that the item has been rejected because of incorrect spelling. + + + + + Indicates the translation is suggested by translation memory. + + + + + + + Values for the attribute 'unit'. + + + + + Refers to words. + + + + + Refers to pages. + + + + + Refers to <trans-unit> elements. + + + + + Refers to <bin-unit> elements. + + + + + Refers to glyphs. + + + + + Refers to <trans-unit> and/or <bin-unit> elements. + + + + + Refers to the occurrences of instances defined by the count-type value. + + + + + Refers to characters. + + + + + Refers to lines. + + + + + Refers to sentences. + + + + + Refers to paragraphs. + + + + + Refers to segments. + + + + + Refers to placeables (inline elements). + + + + + + + Values for the attribute 'priority'. + + + + + Highest priority. + + + + + High priority. + + + + + High priority, but not as important as 2. + + + + + High priority, but not as important as 3. + + + + + Medium priority, but more important than 6. + + + + + Medium priority, but less important than 5. + + + + + Low priority, but more important than 8. + + + + + Low priority, but more important than 9. + + + + + Low priority. + + + + + Lowest priority. + + + + + + + + + This value indicates that all properties can be reformatted. This value must be used alone. + + + + + This value indicates that no properties should be reformatted. This value must be used alone. + + + + + + + + + + + + + This value indicates that all information in the coord attribute can be modified. + + + + + This value indicates that the x information in the coord attribute can be modified. + + + + + This value indicates that the y information in the coord attribute can be modified. + + + + + This value indicates that the cx information in the coord attribute can be modified. + + + + + This value indicates that the cy information in the coord attribute can be modified. + + + + + This value indicates that all the information in the font attribute can be modified. + + + + + This value indicates that the name information in the font attribute can be modified. + + + + + This value indicates that the size information in the font attribute can be modified. + + + + + This value indicates that the weight information in the font attribute can be modified. + + + + + This value indicates that the information in the css-style attribute can be modified. + + + + + This value indicates that the information in the style attribute can be modified. + + + + + This value indicates that the information in the exstyle attribute can be modified. + + + + + + + + + + + + + Indicates that the context is informational in nature, specifying for example, how a term should be translated. Thus, should be displayed to anyone editing the XLIFF document. + + + + + Indicates that the context-group is used to specify where the term was found in the translatable source. Thus, it is not displayed. + + + + + Indicates that the context information should be used during translation memory lookups. Thus, it is not displayed. + + + + + + + + + Represents a translation proposal from a translation memory or other resource. + + + + + Represents a previous version of the target element. + + + + + Represents a rejected version of the target element. + + + + + Represents a translation to be used for reference purposes only, for example from a related product or a different language. + + + + + Represents a proposed translation that was used for the translation of the trans-unit, possibly modified. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Values for the attribute 'coord'. + + + + + + + + Version values: 1.0 and 1.1 are allowed for backward compatibility. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/schema/dic/xliff-core/xliff-core-2.0.xsd b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/schema/dic/xliff-core/xliff-core-2.0.xsd new file mode 100644 index 0000000..963232f --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/schema/dic/xliff-core/xliff-core-2.0.xsd @@ -0,0 +1,411 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/schema/dic/xliff-core/xml.xsd b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/schema/dic/xliff-core/xml.xsd new file mode 100644 index 0000000..a46162a --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Loader/schema/dic/xliff-core/xml.xsd @@ -0,0 +1,309 @@ + + + + + + +
              +

              About the XML namespace

              + +
              +

              + + This schema document describes the XML namespace, in a form + suitable for import by other schema documents. +

              +

              + See + http://www.w3.org/XML/1998/namespace.html and + + http://www.w3.org/TR/REC-xml for information + about this namespace. +

              + +

              + Note that local names in this namespace are intended to be + defined only by the World Wide Web Consortium or its subgroups. + The names currently defined in this namespace are listed below. + They should not be used with conflicting semantics by any Working + Group, specification, or document instance. +

              +

              + See further below in this document for more information about how to refer to this schema document from your own + XSD schema documents and about the + namespace-versioning policy governing this schema document. +

              +
              +
              + +
              +
              + + + + +
              + +

              lang (as an attribute name)

              +

              + + denotes an attribute whose value + is a language code for the natural language of the content of + any element; its value is inherited. This name is reserved + by virtue of its definition in the XML specification.

              + +
              +
              +

              Notes

              +

              + Attempting to install the relevant ISO 2- and 3-letter + codes as the enumerated possible values is probably never + going to be a realistic possibility. +

              +

              + + See BCP 47 at + http://www.rfc-editor.org/rfc/bcp/bcp47.txt + and the IANA language subtag registry at + + http://www.iana.org/assignments/language-subtag-registry + for further information. +

              +

              + + The union allows for the 'un-declaration' of xml:lang with + the empty string. +

              +
              +
              +
              + + + + + + + + + + +
              + + + + + +
              + +

              space (as an attribute name)

              +

              + denotes an attribute whose + value is a keyword indicating what whitespace processing + discipline is intended for the content of the element; its + value is inherited. This name is reserved by virtue of its + definition in the XML specification.

              + +
              +
              +
              + + + + + + + +
              + + + + +
              + +

              base (as an attribute name)

              +

              + denotes an attribute whose value + provides a URI to be used as the base for interpreting any + relative URIs in the scope of the element on which it + appears; its value is inherited. This name is reserved + by virtue of its definition in the XML Base specification.

              + +

              + See http://www.w3.org/TR/xmlbase/ + for information about this attribute. +

              + +
              +
              +
              +
              + + + + +
              + +

              id (as an attribute name)

              +

              + + denotes an attribute whose value + should be interpreted as if declared to be of type ID. + This name is reserved by virtue of its definition in the + xml:id specification.

              + +

              + See http://www.w3.org/TR/xml-id/ + for information about this attribute. +

              +
              +
              +
              + +
              + + + + + + + + + + + +
              + +

              Father (in any context at all)

              + +
              +

              + denotes Jon Bosak, the chair of + the original XML Working Group. This name is reserved by + the following decision of the W3C XML Plenary and + XML Coordination groups: +

              +
              +

              + + In appreciation for his vision, leadership and + dedication the W3C XML Plenary on this 10th day of + February, 2000, reserves for Jon Bosak in perpetuity + the XML name "xml:Father". +

              +
              +
              +
              +
              +
              + + + + +
              +

              About this schema document

              + +
              +

              + This schema defines attributes and an attribute group suitable + for use by schemas wishing to allow xml:base, + xml:lang, xml:space or + xml:id attributes on elements they define. +

              + +

              + To enable this, such a schema must import this schema for + the XML namespace, e.g. as follows: +

              +
              +          <schema.. .>
              +          .. .
              +           <import namespace="http://www.w3.org/XML/1998/namespace"
              +                      schemaLocation="http://www.w3.org/2001/xml.xsd"/>
              +     
              +

              + or +

              +
              +
              +           <import namespace="http://www.w3.org/XML/1998/namespace"
              +                      schemaLocation="http://www.w3.org/2009/01/xml.xsd"/>
              +     
              +

              + Subsequently, qualified reference to any of the attributes or the + group defined below will have the desired effect, e.g. +

              +
              +          <type.. .>
              +          .. .
              +           <attributeGroup ref="xml:specialAttrs"/>
              +     
              +

              + will define a type which will schema-validate an instance element + with any of those attributes. +

              + +
              +
              +
              +
              + + + +
              +

              Versioning policy for this schema document

              + +
              +

              + In keeping with the XML Schema WG's standard versioning + policy, this schema document will persist at + + http://www.w3.org/2009/01/xml.xsd. +

              +

              + At the date of issue it can also be found at + + http://www.w3.org/2001/xml.xsd. +

              + +

              + The schema document at that URI may however change in the future, + in order to remain compatible with the latest version of XML + Schema itself, or with the XML namespace itself. In other words, + if the XML Schema or XML namespaces change, the version of this + document at + http://www.w3.org/2001/xml.xsd + + will change accordingly; the version at + + http://www.w3.org/2009/01/xml.xsd + + will not change. +

              +

              + + Previous dated (and unchanging) versions of this schema + document are at: +

              + +
              +
              +
              +
              + +
              diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/LoggingTranslator.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/LoggingTranslator.php new file mode 100644 index 0000000..fa5c5cc --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/LoggingTranslator.php @@ -0,0 +1,124 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation; + +use Psr\Log\LoggerInterface; + +/** + * @author Abdellatif Ait boudad + */ +class LoggingTranslator implements TranslatorInterface, TranslatorBagInterface +{ + /** + * @var TranslatorInterface|TranslatorBagInterface + */ + private $translator; + + /** + * @var LoggerInterface + */ + private $logger; + + /** + * @param TranslatorInterface $translator The translator must implement TranslatorBagInterface + * @param LoggerInterface $logger + */ + public function __construct(TranslatorInterface $translator, LoggerInterface $logger) + { + if (!$translator instanceof TranslatorBagInterface) { + throw new \InvalidArgumentException(sprintf('The Translator "%s" must implement TranslatorInterface and TranslatorBagInterface.', get_class($translator))); + } + + $this->translator = $translator; + $this->logger = $logger; + } + + /** + * {@inheritdoc} + */ + public function trans($id, array $parameters = array(), $domain = null, $locale = null) + { + $trans = $this->translator->trans($id, $parameters, $domain, $locale); + $this->log($id, $domain, $locale); + + return $trans; + } + + /** + * {@inheritdoc} + */ + public function transChoice($id, $number, array $parameters = array(), $domain = null, $locale = null) + { + $trans = $this->translator->transChoice($id, $number, $parameters, $domain, $locale); + $this->log($id, $domain, $locale); + + return $trans; + } + + /** + * {@inheritdoc} + */ + public function setLocale($locale) + { + $this->translator->setLocale($locale); + } + + /** + * {@inheritdoc} + */ + public function getLocale() + { + return $this->translator->getLocale(); + } + + /** + * {@inheritdoc} + */ + public function getCatalogue($locale = null) + { + return $this->translator->getCatalogue($locale); + } + + /** + * Passes through all unknown calls onto the translator object. + */ + public function __call($method, $args) + { + return call_user_func_array(array($this->translator, $method), $args); + } + + /** + * Logs for missing translations. + * + * @param string $id + * @param string|null $domain + * @param string|null $locale + */ + private function log($id, $domain, $locale) + { + if (null === $domain) { + $domain = 'messages'; + } + + $id = (string) $id; + $catalogue = $this->translator->getCatalogue($locale); + if ($catalogue->defines($id, $domain)) { + return; + } + + if ($catalogue->has($id, $domain)) { + $this->logger->debug('Translation use fallback catalogue.', array('id' => $id, 'domain' => $domain, 'locale' => $catalogue->getLocale())); + } else { + $this->logger->warning('Translation not found.', array('id' => $id, 'domain' => $domain, 'locale' => $catalogue->getLocale())); + } + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/MessageCatalogue.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/MessageCatalogue.php new file mode 100644 index 0000000..dd354a8 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/MessageCatalogue.php @@ -0,0 +1,270 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation; + +use Symfony\Component\Config\Resource\ResourceInterface; + +/** + * MessageCatalogue. + * + * @author Fabien Potencier + */ +class MessageCatalogue implements MessageCatalogueInterface, MetadataAwareInterface +{ + private $messages = array(); + private $metadata = array(); + private $resources = array(); + private $locale; + private $fallbackCatalogue; + private $parent; + + /** + * Constructor. + * + * @param string $locale The locale + * @param array $messages An array of messages classified by domain + */ + public function __construct($locale, array $messages = array()) + { + $this->locale = $locale; + $this->messages = $messages; + } + + /** + * {@inheritdoc} + */ + public function getLocale() + { + return $this->locale; + } + + /** + * {@inheritdoc} + */ + public function getDomains() + { + return array_keys($this->messages); + } + + /** + * {@inheritdoc} + */ + public function all($domain = null) + { + if (null === $domain) { + return $this->messages; + } + + return isset($this->messages[$domain]) ? $this->messages[$domain] : array(); + } + + /** + * {@inheritdoc} + */ + public function set($id, $translation, $domain = 'messages') + { + $this->add(array($id => $translation), $domain); + } + + /** + * {@inheritdoc} + */ + public function has($id, $domain = 'messages') + { + if (isset($this->messages[$domain][$id])) { + return true; + } + + if (null !== $this->fallbackCatalogue) { + return $this->fallbackCatalogue->has($id, $domain); + } + + return false; + } + + /** + * {@inheritdoc} + */ + public function defines($id, $domain = 'messages') + { + return isset($this->messages[$domain][$id]); + } + + /** + * {@inheritdoc} + */ + public function get($id, $domain = 'messages') + { + if (isset($this->messages[$domain][$id])) { + return $this->messages[$domain][$id]; + } + + if (null !== $this->fallbackCatalogue) { + return $this->fallbackCatalogue->get($id, $domain); + } + + return $id; + } + + /** + * {@inheritdoc} + */ + public function replace($messages, $domain = 'messages') + { + $this->messages[$domain] = array(); + + $this->add($messages, $domain); + } + + /** + * {@inheritdoc} + */ + public function add($messages, $domain = 'messages') + { + if (!isset($this->messages[$domain])) { + $this->messages[$domain] = $messages; + } else { + $this->messages[$domain] = array_replace($this->messages[$domain], $messages); + } + } + + /** + * {@inheritdoc} + */ + public function addCatalogue(MessageCatalogueInterface $catalogue) + { + if ($catalogue->getLocale() !== $this->locale) { + throw new \LogicException(sprintf('Cannot add a catalogue for locale "%s" as the current locale for this catalogue is "%s"', $catalogue->getLocale(), $this->locale)); + } + + foreach ($catalogue->all() as $domain => $messages) { + $this->add($messages, $domain); + } + + foreach ($catalogue->getResources() as $resource) { + $this->addResource($resource); + } + + if ($catalogue instanceof MetadataAwareInterface) { + $metadata = $catalogue->getMetadata('', ''); + $this->addMetadata($metadata); + } + } + + /** + * {@inheritdoc} + */ + public function addFallbackCatalogue(MessageCatalogueInterface $catalogue) + { + // detect circular references + $c = $catalogue; + while ($c = $c->getFallbackCatalogue()) { + if ($c->getLocale() === $this->getLocale()) { + throw new \LogicException(sprintf('Circular reference detected when adding a fallback catalogue for locale "%s".', $catalogue->getLocale())); + } + } + + $c = $this; + do { + if ($c->getLocale() === $catalogue->getLocale()) { + throw new \LogicException(sprintf('Circular reference detected when adding a fallback catalogue for locale "%s".', $catalogue->getLocale())); + } + } while ($c = $c->parent); + + $catalogue->parent = $this; + $this->fallbackCatalogue = $catalogue; + + foreach ($catalogue->getResources() as $resource) { + $this->addResource($resource); + } + } + + /** + * {@inheritdoc} + */ + public function getFallbackCatalogue() + { + return $this->fallbackCatalogue; + } + + /** + * {@inheritdoc} + */ + public function getResources() + { + return array_values($this->resources); + } + + /** + * {@inheritdoc} + */ + public function addResource(ResourceInterface $resource) + { + $this->resources[$resource->__toString()] = $resource; + } + + /** + * {@inheritdoc} + */ + public function getMetadata($key = '', $domain = 'messages') + { + if ('' == $domain) { + return $this->metadata; + } + + if (isset($this->metadata[$domain])) { + if ('' == $key) { + return $this->metadata[$domain]; + } + + if (isset($this->metadata[$domain][$key])) { + return $this->metadata[$domain][$key]; + } + } + } + + /** + * {@inheritdoc} + */ + public function setMetadata($key, $value, $domain = 'messages') + { + $this->metadata[$domain][$key] = $value; + } + + /** + * {@inheritdoc} + */ + public function deleteMetadata($key = '', $domain = 'messages') + { + if ('' == $domain) { + $this->metadata = array(); + } elseif ('' == $key) { + unset($this->metadata[$domain]); + } else { + unset($this->metadata[$domain][$key]); + } + } + + /** + * Adds current values with the new values. + * + * @param array $values Values to add + */ + private function addMetadata(array $values) + { + foreach ($values as $domain => $keys) { + foreach ($keys as $key => $value) { + $this->setMetadata($key, $value, $domain); + } + } + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/MessageCatalogueInterface.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/MessageCatalogueInterface.php new file mode 100644 index 0000000..b1b516d --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/MessageCatalogueInterface.php @@ -0,0 +1,142 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation; + +use Symfony\Component\Config\Resource\ResourceInterface; + +/** + * MessageCatalogueInterface. + * + * @author Fabien Potencier + */ +interface MessageCatalogueInterface +{ + /** + * Gets the catalogue locale. + * + * @return string The locale + */ + public function getLocale(); + + /** + * Gets the domains. + * + * @return array An array of domains + */ + public function getDomains(); + + /** + * Gets the messages within a given domain. + * + * If $domain is null, it returns all messages. + * + * @param string $domain The domain name + * + * @return array An array of messages + */ + public function all($domain = null); + + /** + * Sets a message translation. + * + * @param string $id The message id + * @param string $translation The messages translation + * @param string $domain The domain name + */ + public function set($id, $translation, $domain = 'messages'); + + /** + * Checks if a message has a translation. + * + * @param string $id The message id + * @param string $domain The domain name + * + * @return bool true if the message has a translation, false otherwise + */ + public function has($id, $domain = 'messages'); + + /** + * Checks if a message has a translation (it does not take into account the fallback mechanism). + * + * @param string $id The message id + * @param string $domain The domain name + * + * @return bool true if the message has a translation, false otherwise + */ + public function defines($id, $domain = 'messages'); + + /** + * Gets a message translation. + * + * @param string $id The message id + * @param string $domain The domain name + * + * @return string The message translation + */ + public function get($id, $domain = 'messages'); + + /** + * Sets translations for a given domain. + * + * @param array $messages An array of translations + * @param string $domain The domain name + */ + public function replace($messages, $domain = 'messages'); + + /** + * Adds translations for a given domain. + * + * @param array $messages An array of translations + * @param string $domain The domain name + */ + public function add($messages, $domain = 'messages'); + + /** + * Merges translations from the given Catalogue into the current one. + * + * The two catalogues must have the same locale. + * + * @param MessageCatalogueInterface $catalogue A MessageCatalogueInterface instance + */ + public function addCatalogue(MessageCatalogueInterface $catalogue); + + /** + * Merges translations from the given Catalogue into the current one + * only when the translation does not exist. + * + * This is used to provide default translations when they do not exist for the current locale. + * + * @param MessageCatalogueInterface $catalogue A MessageCatalogueInterface instance + */ + public function addFallbackCatalogue(MessageCatalogueInterface $catalogue); + + /** + * Gets the fallback catalogue. + * + * @return MessageCatalogueInterface|null A MessageCatalogueInterface instance or null when no fallback has been set + */ + public function getFallbackCatalogue(); + + /** + * Returns an array of resources loaded to build this collection. + * + * @return ResourceInterface[] An array of resources + */ + public function getResources(); + + /** + * Adds a resource for this collection. + * + * @param ResourceInterface $resource A resource instance + */ + public function addResource(ResourceInterface $resource); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/MessageSelector.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/MessageSelector.php new file mode 100644 index 0000000..bdbb0f9 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/MessageSelector.php @@ -0,0 +1,86 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation; + +/** + * MessageSelector. + * + * @author Fabien Potencier + * @author Bernhard Schussek + */ +class MessageSelector +{ + /** + * Given a message with different plural translations separated by a + * pipe (|), this method returns the correct portion of the message based + * on the given number, locale and the pluralization rules in the message + * itself. + * + * The message supports two different types of pluralization rules: + * + * interval: {0} There are no apples|{1} There is one apple|]1,Inf] There are %count% apples + * indexed: There is one apple|There are %count% apples + * + * The indexed solution can also contain labels (e.g. one: There is one apple). + * This is purely for making the translations more clear - it does not + * affect the functionality. + * + * The two methods can also be mixed: + * {0} There are no apples|one: There is one apple|more: There are %count% apples + * + * @param string $message The message being translated + * @param int $number The number of items represented for the message + * @param string $locale The locale to use for choosing + * + * @return string + * + * @throws \InvalidArgumentException + */ + public function choose($message, $number, $locale) + { + $parts = explode('|', $message); + $explicitRules = array(); + $standardRules = array(); + foreach ($parts as $part) { + $part = trim($part); + + if (preg_match('/^(?P'.Interval::getIntervalRegexp().')\s*(?P.*?)$/xs', $part, $matches)) { + $explicitRules[$matches['interval']] = $matches['message']; + } elseif (preg_match('/^\w+\:\s*(.*?)$/', $part, $matches)) { + $standardRules[] = $matches[1]; + } else { + $standardRules[] = $part; + } + } + + // try to match an explicit rule, then fallback to the standard ones + foreach ($explicitRules as $interval => $m) { + if (Interval::test($number, $interval)) { + return $m; + } + } + + $position = PluralizationRules::get($number, $locale); + + if (!isset($standardRules[$position])) { + // when there's exactly one rule given, and that rule is a standard + // rule, use this rule + if (1 === count($parts) && isset($standardRules[0])) { + return $standardRules[0]; + } + + throw new \InvalidArgumentException(sprintf('Unable to choose a translation for "%s" with locale "%s" for value "%d". Double check that this translation has the correct plural options (e.g. "There is one apple|There are %%count%% apples").', $message, $locale, $number)); + } + + return $standardRules[$position]; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/MetadataAwareInterface.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/MetadataAwareInterface.php new file mode 100644 index 0000000..e93c6fb --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/MetadataAwareInterface.php @@ -0,0 +1,54 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation; + +/** + * MetadataAwareInterface. + * + * @author Fabien Potencier + */ +interface MetadataAwareInterface +{ + /** + * Gets metadata for the given domain and key. + * + * Passing an empty domain will return an array with all metadata indexed by + * domain and then by key. Passing an empty key will return an array with all + * metadata for the given domain. + * + * @param string $key The key + * @param string $domain The domain name + * + * @return mixed The value that was set or an array with the domains/keys or null + */ + public function getMetadata($key = '', $domain = 'messages'); + + /** + * Adds metadata to a message domain. + * + * @param string $key The key + * @param mixed $value The value + * @param string $domain The domain name + */ + public function setMetadata($key, $value, $domain = 'messages'); + + /** + * Deletes metadata for the given key and domain. + * + * Passing an empty domain will delete all metadata. Passing an empty key will + * delete all metadata for the given domain. + * + * @param string $key The key + * @param string $domain The domain name + */ + public function deleteMetadata($key = '', $domain = 'messages'); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/PluralizationRules.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/PluralizationRules.php new file mode 100644 index 0000000..ef2be70 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/PluralizationRules.php @@ -0,0 +1,209 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation; + +/** + * Returns the plural rules for a given locale. + * + * @author Fabien Potencier + */ +class PluralizationRules +{ + private static $rules = array(); + + /** + * Returns the plural position to use for the given locale and number. + * + * @param int $number The number + * @param string $locale The locale + * + * @return int The plural position + */ + public static function get($number, $locale) + { + if ('pt_BR' === $locale) { + // temporary set a locale for brazilian + $locale = 'xbr'; + } + + if (strlen($locale) > 3) { + $locale = substr($locale, 0, -strlen(strrchr($locale, '_'))); + } + + if (isset(self::$rules[$locale])) { + $return = call_user_func(self::$rules[$locale], $number); + + if (!is_int($return) || $return < 0) { + return 0; + } + + return $return; + } + + /* + * The plural rules are derived from code of the Zend Framework (2010-09-25), + * which is subject to the new BSD license (http://framework.zend.com/license/new-bsd). + * Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) + */ + switch ($locale) { + case 'az': + case 'bo': + case 'dz': + case 'id': + case 'ja': + case 'jv': + case 'ka': + case 'km': + case 'kn': + case 'ko': + case 'ms': + case 'th': + case 'tr': + case 'vi': + case 'zh': + return 0; + break; + + case 'af': + case 'bn': + case 'bg': + case 'ca': + case 'da': + case 'de': + case 'el': + case 'en': + case 'eo': + case 'es': + case 'et': + case 'eu': + case 'fa': + case 'fi': + case 'fo': + case 'fur': + case 'fy': + case 'gl': + case 'gu': + case 'ha': + case 'he': + case 'hu': + case 'is': + case 'it': + case 'ku': + case 'lb': + case 'ml': + case 'mn': + case 'mr': + case 'nah': + case 'nb': + case 'ne': + case 'nl': + case 'nn': + case 'no': + case 'om': + case 'or': + case 'pa': + case 'pap': + case 'ps': + case 'pt': + case 'so': + case 'sq': + case 'sv': + case 'sw': + case 'ta': + case 'te': + case 'tk': + case 'ur': + case 'zu': + return ($number == 1) ? 0 : 1; + + case 'am': + case 'bh': + case 'fil': + case 'fr': + case 'gun': + case 'hi': + case 'hy': + case 'ln': + case 'mg': + case 'nso': + case 'xbr': + case 'ti': + case 'wa': + return (($number == 0) || ($number == 1)) ? 0 : 1; + + case 'be': + case 'bs': + case 'hr': + case 'ru': + case 'sr': + case 'uk': + return (($number % 10 == 1) && ($number % 100 != 11)) ? 0 : ((($number % 10 >= 2) && ($number % 10 <= 4) && (($number % 100 < 10) || ($number % 100 >= 20))) ? 1 : 2); + + case 'cs': + case 'sk': + return ($number == 1) ? 0 : ((($number >= 2) && ($number <= 4)) ? 1 : 2); + + case 'ga': + return ($number == 1) ? 0 : (($number == 2) ? 1 : 2); + + case 'lt': + return (($number % 10 == 1) && ($number % 100 != 11)) ? 0 : ((($number % 10 >= 2) && (($number % 100 < 10) || ($number % 100 >= 20))) ? 1 : 2); + + case 'sl': + return ($number % 100 == 1) ? 0 : (($number % 100 == 2) ? 1 : ((($number % 100 == 3) || ($number % 100 == 4)) ? 2 : 3)); + + case 'mk': + return ($number % 10 == 1) ? 0 : 1; + + case 'mt': + return ($number == 1) ? 0 : ((($number == 0) || (($number % 100 > 1) && ($number % 100 < 11))) ? 1 : ((($number % 100 > 10) && ($number % 100 < 20)) ? 2 : 3)); + + case 'lv': + return ($number == 0) ? 0 : ((($number % 10 == 1) && ($number % 100 != 11)) ? 1 : 2); + + case 'pl': + return ($number == 1) ? 0 : ((($number % 10 >= 2) && ($number % 10 <= 4) && (($number % 100 < 12) || ($number % 100 > 14))) ? 1 : 2); + + case 'cy': + return ($number == 1) ? 0 : (($number == 2) ? 1 : ((($number == 8) || ($number == 11)) ? 2 : 3)); + + case 'ro': + return ($number == 1) ? 0 : ((($number == 0) || (($number % 100 > 0) && ($number % 100 < 20))) ? 1 : 2); + + case 'ar': + return ($number == 0) ? 0 : (($number == 1) ? 1 : (($number == 2) ? 2 : ((($number % 100 >= 3) && ($number % 100 <= 10)) ? 3 : ((($number % 100 >= 11) && ($number % 100 <= 99)) ? 4 : 5)))); + + default: + return 0; + } + } + + /** + * Overrides the default plural rule for a given locale. + * + * @param callable $rule A PHP callable + * @param string $locale The locale + */ + public static function set(callable $rule, $locale) + { + if ('pt_BR' === $locale) { + // temporary set a locale for brazilian + $locale = 'xbr'; + } + + if (strlen($locale) > 3) { + $locale = substr($locale, 0, -strlen(strrchr($locale, '_'))); + } + + self::$rules[$locale] = $rule; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/README.md b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/README.md new file mode 100644 index 0000000..1567c8b --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/README.md @@ -0,0 +1,37 @@ +Translation Component +===================== + +Translation provides tools for loading translation files and generating +translated strings from these including support for pluralization. + +```php +use Symfony\Component\Translation\Translator; +use Symfony\Component\Translation\MessageSelector; +use Symfony\Component\Translation\Loader\ArrayLoader; + +$translator = new Translator('fr_FR', new MessageSelector()); +$translator->setFallbackLocales(array('fr')); +$translator->addLoader('array', new ArrayLoader()); +$translator->addResource('array', array( + 'Hello World!' => 'Bonjour', +), 'fr'); + +echo $translator->trans('Hello World!')."\n"; +``` + +Resources +--------- + +Silex integration: + +https://github.com/silexphp/Silex/blob/master/src/Silex/Provider/TranslationServiceProvider.php + +Documentation: + +https://symfony.com/doc/3.0/book/translation.html + +You can run the unit tests with the following command: + + $ cd path/to/Symfony/Component/Translation/ + $ composer install + $ phpunit diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Catalogue/AbstractOperationTest.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Catalogue/AbstractOperationTest.php new file mode 100644 index 0000000..30c21af --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Catalogue/AbstractOperationTest.php @@ -0,0 +1,73 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Tests\Catalogue; + +use Symfony\Component\Translation\MessageCatalogue; +use Symfony\Component\Translation\MessageCatalogueInterface; + +abstract class AbstractOperationTest extends \PHPUnit_Framework_TestCase +{ + public function testGetEmptyDomains() + { + $this->assertEquals( + array(), + $this->createOperation( + new MessageCatalogue('en'), + new MessageCatalogue('en') + )->getDomains() + ); + } + + public function testGetMergedDomains() + { + $this->assertEquals( + array('a', 'b', 'c'), + $this->createOperation( + new MessageCatalogue('en', array('a' => array(), 'b' => array())), + new MessageCatalogue('en', array('b' => array(), 'c' => array())) + )->getDomains() + ); + } + + public function testGetMessagesFromUnknownDomain() + { + $this->setExpectedException('InvalidArgumentException'); + $this->createOperation( + new MessageCatalogue('en'), + new MessageCatalogue('en') + )->getMessages('domain'); + } + + public function testGetEmptyMessages() + { + $this->assertEquals( + array(), + $this->createOperation( + new MessageCatalogue('en', array('a' => array())), + new MessageCatalogue('en') + )->getMessages('a') + ); + } + + public function testGetEmptyResult() + { + $this->assertEquals( + new MessageCatalogue('en'), + $this->createOperation( + new MessageCatalogue('en'), + new MessageCatalogue('en') + )->getResult() + ); + } + + abstract protected function createOperation(MessageCatalogueInterface $source, MessageCatalogueInterface $target); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Catalogue/MergeOperationTest.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Catalogue/MergeOperationTest.php new file mode 100644 index 0000000..8b51c15 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Catalogue/MergeOperationTest.php @@ -0,0 +1,83 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Tests\Catalogue; + +use Symfony\Component\Translation\Catalogue\MergeOperation; +use Symfony\Component\Translation\MessageCatalogue; +use Symfony\Component\Translation\MessageCatalogueInterface; + +class MergeOperationTest extends AbstractOperationTest +{ + public function testGetMessagesFromSingleDomain() + { + $operation = $this->createOperation( + new MessageCatalogue('en', array('messages' => array('a' => 'old_a', 'b' => 'old_b'))), + new MessageCatalogue('en', array('messages' => array('a' => 'new_a', 'c' => 'new_c'))) + ); + + $this->assertEquals( + array('a' => 'old_a', 'b' => 'old_b', 'c' => 'new_c'), + $operation->getMessages('messages') + ); + + $this->assertEquals( + array('c' => 'new_c'), + $operation->getNewMessages('messages') + ); + + $this->assertEquals( + array(), + $operation->getObsoleteMessages('messages') + ); + } + + public function testGetResultFromSingleDomain() + { + $this->assertEquals( + new MessageCatalogue('en', array( + 'messages' => array('a' => 'old_a', 'b' => 'old_b', 'c' => 'new_c'), + )), + $this->createOperation( + new MessageCatalogue('en', array('messages' => array('a' => 'old_a', 'b' => 'old_b'))), + new MessageCatalogue('en', array('messages' => array('a' => 'new_a', 'c' => 'new_c'))) + )->getResult() + ); + } + + public function testGetResultWithMetadata() + { + $leftCatalogue = new MessageCatalogue('en', array('messages' => array('a' => 'old_a', 'b' => 'old_b'))); + $leftCatalogue->setMetadata('a', 'foo', 'messages'); + $leftCatalogue->setMetadata('b', 'bar', 'messages'); + $rightCatalogue = new MessageCatalogue('en', array('messages' => array('b' => 'new_b', 'c' => 'new_c'))); + $rightCatalogue->setMetadata('b', 'baz', 'messages'); + $rightCatalogue->setMetadata('c', 'qux', 'messages'); + + $mergedCatalogue = new MessageCatalogue('en', array('messages' => array('a' => 'old_a', 'b' => 'old_b', 'c' => 'new_c'))); + $mergedCatalogue->setMetadata('a', 'foo', 'messages'); + $mergedCatalogue->setMetadata('b', 'bar', 'messages'); + $mergedCatalogue->setMetadata('c', 'qux', 'messages'); + + $this->assertEquals( + $mergedCatalogue, + $this->createOperation( + $leftCatalogue, + $rightCatalogue + )->getResult() + ); + } + + protected function createOperation(MessageCatalogueInterface $source, MessageCatalogueInterface $target) + { + return new MergeOperation($source, $target); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Catalogue/TargetOperationTest.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Catalogue/TargetOperationTest.php new file mode 100644 index 0000000..0217162 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Catalogue/TargetOperationTest.php @@ -0,0 +1,83 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Tests\Catalogue; + +use Symfony\Component\Translation\Catalogue\TargetOperation; +use Symfony\Component\Translation\MessageCatalogue; +use Symfony\Component\Translation\MessageCatalogueInterface; + +class TargetOperationTest extends AbstractOperationTest +{ + public function testGetMessagesFromSingleDomain() + { + $operation = $this->createOperation( + new MessageCatalogue('en', array('messages' => array('a' => 'old_a', 'b' => 'old_b'))), + new MessageCatalogue('en', array('messages' => array('a' => 'new_a', 'c' => 'new_c'))) + ); + + $this->assertEquals( + array('a' => 'old_a', 'c' => 'new_c'), + $operation->getMessages('messages') + ); + + $this->assertEquals( + array('c' => 'new_c'), + $operation->getNewMessages('messages') + ); + + $this->assertEquals( + array('b' => 'old_b'), + $operation->getObsoleteMessages('messages') + ); + } + + public function testGetResultFromSingleDomain() + { + $this->assertEquals( + new MessageCatalogue('en', array( + 'messages' => array('a' => 'old_a', 'c' => 'new_c'), + )), + $this->createOperation( + new MessageCatalogue('en', array('messages' => array('a' => 'old_a', 'b' => 'old_b'))), + new MessageCatalogue('en', array('messages' => array('a' => 'new_a', 'c' => 'new_c'))) + )->getResult() + ); + } + + public function testGetResultWithMetadata() + { + $leftCatalogue = new MessageCatalogue('en', array('messages' => array('a' => 'old_a', 'b' => 'old_b'))); + $leftCatalogue->setMetadata('a', 'foo', 'messages'); + $leftCatalogue->setMetadata('b', 'bar', 'messages'); + $rightCatalogue = new MessageCatalogue('en', array('messages' => array('b' => 'new_b', 'c' => 'new_c'))); + $rightCatalogue->setMetadata('b', 'baz', 'messages'); + $rightCatalogue->setMetadata('c', 'qux', 'messages'); + + $diffCatalogue = new MessageCatalogue('en', array('messages' => array('b' => 'old_b', 'c' => 'new_c'))); + $diffCatalogue->setMetadata('b', 'bar', 'messages'); + $diffCatalogue->setMetadata('c', 'qux', 'messages'); + + $this->assertEquals( + $diffCatalogue, + $this->createOperation( + $leftCatalogue, + $rightCatalogue + )->getResult() + ); + } + + protected function createOperation(MessageCatalogueInterface $source, MessageCatalogueInterface $target) + { + return new TargetOperation($source, $target); + } + +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/DataCollector/TranslationDataCollectorTest.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/DataCollector/TranslationDataCollectorTest.php new file mode 100644 index 0000000..3d1e86e --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/DataCollector/TranslationDataCollectorTest.php @@ -0,0 +1,148 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Tests\DataCollector; + +use Symfony\Component\Translation\DataCollectorTranslator; +use Symfony\Component\Translation\DataCollector\TranslationDataCollector; + +class TranslationDataCollectorTest extends \PHPUnit_Framework_TestCase +{ + protected function setUp() + { + if (!class_exists('Symfony\Component\HttpKernel\DataCollector\DataCollector')) { + $this->markTestSkipped('The "DataCollector" is not available'); + } + } + + public function testCollectEmptyMessages() + { + $translator = $this->getTranslator(); + $translator->expects($this->any())->method('getCollectedMessages')->will($this->returnValue(array())); + + $dataCollector = new TranslationDataCollector($translator); + $dataCollector->lateCollect(); + + $this->assertEquals(0, $dataCollector->getCountMissings()); + $this->assertEquals(0, $dataCollector->getCountFallbacks()); + $this->assertEquals(0, $dataCollector->getCountDefines()); + $this->assertEquals(array(), $dataCollector->getMessages()); + } + + public function testCollect() + { + $collectedMessages = array( + array( + 'id' => 'foo', + 'translation' => 'foo (en)', + 'locale' => 'en', + 'domain' => 'messages', + 'state' => DataCollectorTranslator::MESSAGE_DEFINED, + 'parameters' => array(), + 'transChoiceNumber' => null, + ), + array( + 'id' => 'bar', + 'translation' => 'bar (fr)', + 'locale' => 'fr', + 'domain' => 'messages', + 'state' => DataCollectorTranslator::MESSAGE_EQUALS_FALLBACK, + 'parameters' => array(), + 'transChoiceNumber' => null, + ), + array( + 'id' => 'choice', + 'translation' => 'choice', + 'locale' => 'en', + 'domain' => 'messages', + 'state' => DataCollectorTranslator::MESSAGE_MISSING, + 'parameters' => array('%count%' => 3), + 'transChoiceNumber' => 3, + ), + array( + 'id' => 'choice', + 'translation' => 'choice', + 'locale' => 'en', + 'domain' => 'messages', + 'state' => DataCollectorTranslator::MESSAGE_MISSING, + 'parameters' => array('%count%' => 3), + 'transChoiceNumber' => 3, + ), + array( + 'id' => 'choice', + 'translation' => 'choice', + 'locale' => 'en', + 'domain' => 'messages', + 'state' => DataCollectorTranslator::MESSAGE_MISSING, + 'parameters' => array('%count%' => 4, '%foo%' => 'bar'), + 'transChoiceNumber' => 4, + ), + ); + $expectedMessages = array( + array( + 'id' => 'foo', + 'translation' => 'foo (en)', + 'locale' => 'en', + 'domain' => 'messages', + 'state' => DataCollectorTranslator::MESSAGE_DEFINED, + 'count' => 1, + 'parameters' => array(), + 'transChoiceNumber' => null, + ), + array( + 'id' => 'bar', + 'translation' => 'bar (fr)', + 'locale' => 'fr', + 'domain' => 'messages', + 'state' => DataCollectorTranslator::MESSAGE_EQUALS_FALLBACK, + 'count' => 1, + 'parameters' => array(), + 'transChoiceNumber' => null, + ), + array( + 'id' => 'choice', + 'translation' => 'choice', + 'locale' => 'en', + 'domain' => 'messages', + 'state' => DataCollectorTranslator::MESSAGE_MISSING, + 'count' => 3, + 'parameters' => array( + array('%count%' => 3), + array('%count%' => 3), + array('%count%' => 4, '%foo%' => 'bar'), + ), + 'transChoiceNumber' => 3, + ), + ); + + $translator = $this->getTranslator(); + $translator->expects($this->any())->method('getCollectedMessages')->will($this->returnValue($collectedMessages)); + + $dataCollector = new TranslationDataCollector($translator); + $dataCollector->lateCollect(); + + $this->assertEquals(1, $dataCollector->getCountMissings()); + $this->assertEquals(1, $dataCollector->getCountFallbacks()); + $this->assertEquals(1, $dataCollector->getCountDefines()); + $this->assertEquals($expectedMessages, array_values($dataCollector->getMessages())); + } + + private function getTranslator() + { + $translator = $this + ->getMockBuilder('Symfony\Component\Translation\DataCollectorTranslator') + ->disableOriginalConstructor() + ->getMock() + ; + + return $translator; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/DataCollectorTranslatorTest.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/DataCollectorTranslatorTest.php new file mode 100644 index 0000000..5ef8171 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/DataCollectorTranslatorTest.php @@ -0,0 +1,93 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Tests; + +use Symfony\Component\Translation\Translator; +use Symfony\Component\Translation\DataCollectorTranslator; +use Symfony\Component\Translation\Loader\ArrayLoader; + +class DataCollectorTranslatorTest extends \PHPUnit_Framework_TestCase +{ + public function testCollectMessages() + { + $collector = $this->createCollector(); + $collector->setFallbackLocales(array('fr', 'ru')); + + $collector->trans('foo'); + $collector->trans('bar'); + $collector->transChoice('choice', 0); + $collector->trans('bar_ru'); + $collector->trans('bar_ru', array('foo' => 'bar')); + + $expectedMessages = array(); + $expectedMessages[] = array( + 'id' => 'foo', + 'translation' => 'foo (en)', + 'locale' => 'en', + 'domain' => 'messages', + 'state' => DataCollectorTranslator::MESSAGE_DEFINED, + 'parameters' => array(), + 'transChoiceNumber' => null, + ); + $expectedMessages[] = array( + 'id' => 'bar', + 'translation' => 'bar (fr)', + 'locale' => 'fr', + 'domain' => 'messages', + 'state' => DataCollectorTranslator::MESSAGE_EQUALS_FALLBACK, + 'parameters' => array(), + 'transChoiceNumber' => null, + ); + $expectedMessages[] = array( + 'id' => 'choice', + 'translation' => 'choice', + 'locale' => 'en', + 'domain' => 'messages', + 'state' => DataCollectorTranslator::MESSAGE_MISSING, + 'parameters' => array(), + 'transChoiceNumber' => 0, + ); + $expectedMessages[] = array( + 'id' => 'bar_ru', + 'translation' => 'bar (ru)', + 'locale' => 'ru', + 'domain' => 'messages', + 'state' => DataCollectorTranslator::MESSAGE_EQUALS_FALLBACK, + 'parameters' => array(), + 'transChoiceNumber' => null, + ); + $expectedMessages[] = array( + 'id' => 'bar_ru', + 'translation' => 'bar (ru)', + 'locale' => 'ru', + 'domain' => 'messages', + 'state' => DataCollectorTranslator::MESSAGE_EQUALS_FALLBACK, + 'parameters' => array('foo' => 'bar'), + 'transChoiceNumber' => null, + ); + + $this->assertEquals($expectedMessages, $collector->getCollectedMessages()); + } + + private function createCollector() + { + $translator = new Translator('en'); + $translator->addLoader('array', new ArrayLoader()); + $translator->addResource('array', array('foo' => 'foo (en)'), 'en'); + $translator->addResource('array', array('bar' => 'bar (fr)'), 'fr'); + $translator->addResource('array', array('bar_ru' => 'bar (ru)'), 'ru'); + + $collector = new DataCollectorTranslator($translator); + + return $collector; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Dumper/CsvFileDumperTest.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Dumper/CsvFileDumperTest.php new file mode 100644 index 0000000..9613192 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Dumper/CsvFileDumperTest.php @@ -0,0 +1,29 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Tests\Dumper; + +use Symfony\Component\Translation\MessageCatalogue; +use Symfony\Component\Translation\Dumper\CsvFileDumper; + +class CsvFileDumperTest extends \PHPUnit_Framework_TestCase +{ + public function testFormatCatalogue() + { + $catalogue = new MessageCatalogue('en'); + $catalogue->add(array('foo' => 'bar', 'bar' => 'foo +foo', 'foo;foo' => 'bar')); + + $dumper = new CsvFileDumper(); + + $this->assertStringEqualsFile(__DIR__.'/../fixtures/valid.csv', $dumper->formatCatalogue($catalogue, 'messages')); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Dumper/FileDumperTest.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Dumper/FileDumperTest.php new file mode 100644 index 0000000..ed58546 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Dumper/FileDumperTest.php @@ -0,0 +1,83 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Tests\Dumper; + +use Symfony\Component\Translation\MessageCatalogue; +use Symfony\Component\Translation\Dumper\FileDumper; + +class FileDumperTest extends \PHPUnit_Framework_TestCase +{ + public function testDump() + { + $tempDir = sys_get_temp_dir(); + + $catalogue = new MessageCatalogue('en'); + $catalogue->add(array('foo' => 'bar')); + + $dumper = new ConcreteFileDumper(); + $dumper->dump($catalogue, array('path' => $tempDir)); + + $this->assertTrue(file_exists($tempDir.'/messages.en.concrete')); + } + + public function testDumpBackupsFileIfExisting() + { + $tempDir = sys_get_temp_dir(); + $file = $tempDir.'/messages.en.concrete'; + $backupFile = $file.'~'; + + @touch($file); + + $catalogue = new MessageCatalogue('en'); + $catalogue->add(array('foo' => 'bar')); + + $dumper = new ConcreteFileDumper(); + $dumper->dump($catalogue, array('path' => $tempDir)); + + $this->assertTrue(file_exists($backupFile)); + + @unlink($file); + @unlink($backupFile); + } + + public function testDumpCreatesNestedDirectoriesAndFile() + { + $tempDir = sys_get_temp_dir(); + $translationsDir = $tempDir.'/test/translations'; + $file = $translationsDir.'/messages.en.concrete'; + + $catalogue = new MessageCatalogue('en'); + $catalogue->add(array('foo' => 'bar')); + + $dumper = new ConcreteFileDumper(); + $dumper->setRelativePathTemplate('test/translations/%domain%.%locale%.%extension%'); + $dumper->dump($catalogue, array('path' => $tempDir)); + + $this->assertTrue(file_exists($file)); + + @unlink($file); + @rmdir($translationsDir); + } +} + +class ConcreteFileDumper extends FileDumper +{ + public function formatCatalogue(MessageCatalogue $messages, $domain, array $options = array()) + { + return ''; + } + + protected function getExtension() + { + return 'concrete'; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Dumper/IcuResFileDumperTest.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Dumper/IcuResFileDumperTest.php new file mode 100644 index 0000000..618783c --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Dumper/IcuResFileDumperTest.php @@ -0,0 +1,28 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Tests\Dumper; + +use Symfony\Component\Translation\MessageCatalogue; +use Symfony\Component\Translation\Dumper\IcuResFileDumper; + +class IcuResFileDumperTest extends \PHPUnit_Framework_TestCase +{ + public function testFormatCatalogue() + { + $catalogue = new MessageCatalogue('en'); + $catalogue->add(array('foo' => 'bar')); + + $dumper = new IcuResFileDumper(); + + $this->assertStringEqualsFile(__DIR__.'/../fixtures/resourcebundle/res/en.res', $dumper->formatCatalogue($catalogue, 'messages')); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Dumper/IniFileDumperTest.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Dumper/IniFileDumperTest.php new file mode 100644 index 0000000..d8ae4b5 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Dumper/IniFileDumperTest.php @@ -0,0 +1,28 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Tests\Dumper; + +use Symfony\Component\Translation\MessageCatalogue; +use Symfony\Component\Translation\Dumper\IniFileDumper; + +class IniFileDumperTest extends \PHPUnit_Framework_TestCase +{ + public function testFormatCatalogue() + { + $catalogue = new MessageCatalogue('en'); + $catalogue->add(array('foo' => 'bar')); + + $dumper = new IniFileDumper(); + + $this->assertStringEqualsFile(__DIR__.'/../fixtures/resources.ini', $dumper->formatCatalogue($catalogue, 'messages')); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Dumper/JsonFileDumperTest.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Dumper/JsonFileDumperTest.php new file mode 100644 index 0000000..27e9f4d --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Dumper/JsonFileDumperTest.php @@ -0,0 +1,38 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Tests\Dumper; + +use Symfony\Component\Translation\MessageCatalogue; +use Symfony\Component\Translation\Dumper\JsonFileDumper; + +class JsonFileDumperTest extends \PHPUnit_Framework_TestCase +{ + public function testFormatCatalogue() + { + $catalogue = new MessageCatalogue('en'); + $catalogue->add(array('foo' => 'bar')); + + $dumper = new JsonFileDumper(); + + $this->assertStringEqualsFile(__DIR__.'/../fixtures/resources.json', $dumper->formatCatalogue($catalogue, 'messages')); + } + + public function testDumpWithCustomEncoding() + { + $catalogue = new MessageCatalogue('en'); + $catalogue->add(array('foo' => '"bar"')); + + $dumper = new JsonFileDumper(); + + $this->assertStringEqualsFile(__DIR__.'/../fixtures/resources.dump.json', $dumper->formatCatalogue($catalogue, 'messages', array('json_encoding' => JSON_HEX_QUOT))); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Dumper/MoFileDumperTest.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Dumper/MoFileDumperTest.php new file mode 100644 index 0000000..c47656c --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Dumper/MoFileDumperTest.php @@ -0,0 +1,28 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Tests\Dumper; + +use Symfony\Component\Translation\MessageCatalogue; +use Symfony\Component\Translation\Dumper\MoFileDumper; + +class MoFileDumperTest extends \PHPUnit_Framework_TestCase +{ + public function testFormatCatalogue() + { + $catalogue = new MessageCatalogue('en'); + $catalogue->add(array('foo' => 'bar')); + + $dumper = new MoFileDumper(); + + $this->assertStringEqualsFile(__DIR__.'/../fixtures/resources.mo', $dumper->formatCatalogue($catalogue, 'messages')); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Dumper/PhpFileDumperTest.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Dumper/PhpFileDumperTest.php new file mode 100644 index 0000000..d24cd2b --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Dumper/PhpFileDumperTest.php @@ -0,0 +1,28 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Tests\Dumper; + +use Symfony\Component\Translation\MessageCatalogue; +use Symfony\Component\Translation\Dumper\PhpFileDumper; + +class PhpFileDumperTest extends \PHPUnit_Framework_TestCase +{ + public function testFormatCatalogue() + { + $catalogue = new MessageCatalogue('en'); + $catalogue->add(array('foo' => 'bar')); + + $dumper = new PhpFileDumper(); + + $this->assertStringEqualsFile(__DIR__.'/../fixtures/resources.php', $dumper->formatCatalogue($catalogue, 'messages')); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Dumper/PoFileDumperTest.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Dumper/PoFileDumperTest.php new file mode 100644 index 0000000..445961a --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Dumper/PoFileDumperTest.php @@ -0,0 +1,28 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Tests\Dumper; + +use Symfony\Component\Translation\MessageCatalogue; +use Symfony\Component\Translation\Dumper\PoFileDumper; + +class PoFileDumperTest extends \PHPUnit_Framework_TestCase +{ + public function testFormatCatalogue() + { + $catalogue = new MessageCatalogue('en'); + $catalogue->add(array('foo' => 'bar')); + + $dumper = new PoFileDumper(); + + $this->assertStringEqualsFile(__DIR__.'/../fixtures/resources.po', $dumper->formatCatalogue($catalogue, 'messages')); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Dumper/QtFileDumperTest.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Dumper/QtFileDumperTest.php new file mode 100644 index 0000000..690a4d0 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Dumper/QtFileDumperTest.php @@ -0,0 +1,28 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Tests\Dumper; + +use Symfony\Component\Translation\MessageCatalogue; +use Symfony\Component\Translation\Dumper\QtFileDumper; + +class QtFileDumperTest extends \PHPUnit_Framework_TestCase +{ + public function testFormatCatalogue() + { + $catalogue = new MessageCatalogue('en'); + $catalogue->add(array('foo' => 'bar'), 'resources'); + + $dumper = new QtFileDumper(); + + $this->assertStringEqualsFile(__DIR__.'/../fixtures/resources.ts', $dumper->formatCatalogue($catalogue, 'resources')); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Dumper/XliffFileDumperTest.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Dumper/XliffFileDumperTest.php new file mode 100644 index 0000000..072b605 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Dumper/XliffFileDumperTest.php @@ -0,0 +1,89 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Tests\Dumper; + +use Symfony\Component\Translation\MessageCatalogue; +use Symfony\Component\Translation\Dumper\XliffFileDumper; + +class XliffFileDumperTest extends \PHPUnit_Framework_TestCase +{ + public function testFormatCatalogue() + { + $catalogue = new MessageCatalogue('en_US'); + $catalogue->add(array( + 'foo' => 'bar', + 'key' => '', + 'key.with.cdata' => ' & ', + )); + $catalogue->setMetadata('foo', array('notes' => array(array('priority' => 1, 'from' => 'bar', 'content' => 'baz')))); + $catalogue->setMetadata('key', array('notes' => array(array('content' => 'baz'), array('content' => 'qux')))); + + $dumper = new XliffFileDumper(); + + $this->assertStringEqualsFile( + __DIR__.'/../fixtures/resources-clean.xlf', + $dumper->formatCatalogue($catalogue, 'messages', array('default_locale' => 'fr_FR')) + ); + } + + public function testFormatCatalogueXliff2() + { + $catalogue = new MessageCatalogue('en_US'); + $catalogue->add(array( + 'foo' => 'bar', + 'key' => '', + 'key.with.cdata' => ' & ', + )); + $catalogue->setMetadata('key', array('target-attributes' => array('order' => 1))); + + $dumper = new XliffFileDumper(); + + $this->assertStringEqualsFile( + __DIR__.'/../fixtures/resources-2.0-clean.xlf', + $dumper->formatCatalogue($catalogue, 'messages', array('default_locale' => 'fr_FR', 'xliff_version' => '2.0')) + ); + } + + public function testFormatCatalogueWithCustomToolInfo() + { + $options = array( + 'default_locale' => 'en_US', + 'tool_info' => array('tool-id' => 'foo', 'tool-name' => 'foo', 'tool-version' => '0.0', 'tool-company' => 'Foo'), + ); + + $catalogue = new MessageCatalogue('en_US'); + $catalogue->add(array('foo' => 'bar')); + + $dumper = new XliffFileDumper(); + + $this->assertStringEqualsFile( + __DIR__.'/../fixtures/resources-tool-info.xlf', + $dumper->formatCatalogue($catalogue, 'messages', $options) + ); + } + + public function testFormatCatalogueWithTargetAttributesMetadata() + { + $catalogue = new MessageCatalogue('en_US'); + $catalogue->add(array( + 'foo' => 'bar', + )); + $catalogue->setMetadata('foo', array('target-attributes' => array('state' => 'needs-translation'))); + + $dumper = new XliffFileDumper(); + + $this->assertStringEqualsFile( + __DIR__.'/../fixtures/resources-target-attributes.xlf', + $dumper->formatCatalogue($catalogue, 'messages', array('default_locale' => 'fr_FR')) + ); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Dumper/YamlFileDumperTest.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Dumper/YamlFileDumperTest.php new file mode 100644 index 0000000..d6bb477 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Dumper/YamlFileDumperTest.php @@ -0,0 +1,46 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Tests\Dumper; + +use Symfony\Component\Translation\MessageCatalogue; +use Symfony\Component\Translation\Dumper\YamlFileDumper; + +class YamlFileDumperTest extends \PHPUnit_Framework_TestCase +{ + public function testTreeFormatCatalogue() + { + $catalogue = new MessageCatalogue('en'); + $catalogue->add( + array( + 'foo.bar1' => 'value1', + 'foo.bar2' => 'value2', + )); + + $dumper = new YamlFileDumper(); + + $this->assertStringEqualsFile(__DIR__.'/../fixtures/messages.yml', $dumper->formatCatalogue($catalogue, 'messages', array('as_tree' => true, 'inline' => 999))); + } + + public function testLinearFormatCatalogue() + { + $catalogue = new MessageCatalogue('en'); + $catalogue->add( + array( + 'foo.bar1' => 'value1', + 'foo.bar2' => 'value2', + )); + + $dumper = new YamlFileDumper(); + + $this->assertStringEqualsFile(__DIR__.'/../fixtures/messages_linear.yml', $dumper->formatCatalogue($catalogue, 'messages')); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/IdentityTranslatorTest.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/IdentityTranslatorTest.php new file mode 100644 index 0000000..352dd31 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/IdentityTranslatorTest.php @@ -0,0 +1,95 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Tests; + +use Symfony\Component\Intl\Util\IntlTestHelper; +use Symfony\Component\Translation\IdentityTranslator; + +class IdentityTranslatorTest extends \PHPUnit_Framework_TestCase +{ + /** + * @dataProvider getTransTests + */ + public function testTrans($expected, $id, $parameters) + { + $translator = new IdentityTranslator(); + + $this->assertEquals($expected, $translator->trans($id, $parameters)); + } + + /** + * @dataProvider getTransChoiceTests + */ + public function testTransChoiceWithExplicitLocale($expected, $id, $number, $parameters) + { + $translator = new IdentityTranslator(); + $translator->setLocale('en'); + + $this->assertEquals($expected, $translator->transChoice($id, $number, $parameters)); + } + + /** + * @dataProvider getTransChoiceTests + */ + public function testTransChoiceWithDefaultLocale($expected, $id, $number, $parameters) + { + \Locale::setDefault('en'); + + $translator = new IdentityTranslator(); + + $this->assertEquals($expected, $translator->transChoice($id, $number, $parameters)); + } + + public function testGetSetLocale() + { + $translator = new IdentityTranslator(); + $translator->setLocale('en'); + + $this->assertEquals('en', $translator->getLocale()); + } + + public function testGetLocaleReturnsDefaultLocaleIfNotSet() + { + // in order to test with "pt_BR" + IntlTestHelper::requireFullIntl($this); + + $translator = new IdentityTranslator(); + + \Locale::setDefault('en'); + $this->assertEquals('en', $translator->getLocale()); + + \Locale::setDefault('pt_BR'); + $this->assertEquals('pt_BR', $translator->getLocale()); + } + + public function getTransTests() + { + return array( + array('Symfony is great!', 'Symfony is great!', array()), + array('Symfony is awesome!', 'Symfony is %what%!', array('%what%' => 'awesome')), + ); + } + + public function getTransChoiceTests() + { + return array( + array('There are no apples', '{0} There are no apples|{1} There is one apple|]1,Inf] There are %count% apples', 0, array('%count%' => 0)), + array('There is one apple', '{0} There are no apples|{1} There is one apple|]1,Inf] There are %count% apples', 1, array('%count%' => 1)), + array('There are 10 apples', '{0} There are no apples|{1} There is one apple|]1,Inf] There are %count% apples', 10, array('%count%' => 10)), + array('There are 0 apples', 'There is 1 apple|There are %count% apples', 0, array('%count%' => 0)), + array('There is 1 apple', 'There is 1 apple|There are %count% apples', 1, array('%count%' => 1)), + array('There are 10 apples', 'There is 1 apple|There are %count% apples', 10, array('%count%' => 10)), + // custom validation messages may be coded with a fixed value + array('There are 2 apples', 'There are 2 apples', 2, array('%count%' => 2)), + ); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/IntervalTest.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/IntervalTest.php new file mode 100644 index 0000000..075c98b --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/IntervalTest.php @@ -0,0 +1,48 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Tests; + +use Symfony\Component\Translation\Interval; + +class IntervalTest extends \PHPUnit_Framework_TestCase +{ + /** + * @dataProvider getTests + */ + public function testTest($expected, $number, $interval) + { + $this->assertEquals($expected, Interval::test($number, $interval)); + } + + /** + * @expectedException \InvalidArgumentException + */ + public function testTestException() + { + Interval::test(1, 'foobar'); + } + + public function getTests() + { + return array( + array(true, 3, '{1,2, 3 ,4}'), + array(false, 10, '{1,2, 3 ,4}'), + array(false, 3, '[1,2]'), + array(true, 1, '[1,2]'), + array(true, 2, '[1,2]'), + array(false, 1, ']1,2['), + array(false, 2, ']1,2['), + array(true, log(0), '[-Inf,2['), + array(true, -log(0), '[-2,+Inf]'), + ); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Loader/CsvFileLoaderTest.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Loader/CsvFileLoaderTest.php new file mode 100644 index 0000000..463d3b5 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Loader/CsvFileLoaderTest.php @@ -0,0 +1,60 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Tests\Loader; + +use Symfony\Component\Translation\Loader\CsvFileLoader; +use Symfony\Component\Config\Resource\FileResource; + +class CsvFileLoaderTest extends \PHPUnit_Framework_TestCase +{ + public function testLoad() + { + $loader = new CsvFileLoader(); + $resource = __DIR__.'/../fixtures/resources.csv'; + $catalogue = $loader->load($resource, 'en', 'domain1'); + + $this->assertEquals(array('foo' => 'bar'), $catalogue->all('domain1')); + $this->assertEquals('en', $catalogue->getLocale()); + $this->assertEquals(array(new FileResource($resource)), $catalogue->getResources()); + } + + public function testLoadDoesNothingIfEmpty() + { + $loader = new CsvFileLoader(); + $resource = __DIR__.'/../fixtures/empty.csv'; + $catalogue = $loader->load($resource, 'en', 'domain1'); + + $this->assertEquals(array(), $catalogue->all('domain1')); + $this->assertEquals('en', $catalogue->getLocale()); + $this->assertEquals(array(new FileResource($resource)), $catalogue->getResources()); + } + + /** + * @expectedException \Symfony\Component\Translation\Exception\NotFoundResourceException + */ + public function testLoadNonExistingResource() + { + $loader = new CsvFileLoader(); + $resource = __DIR__.'/../fixtures/not-exists.csv'; + $loader->load($resource, 'en', 'domain1'); + } + + /** + * @expectedException \Symfony\Component\Translation\Exception\InvalidResourceException + */ + public function testLoadNonLocalResource() + { + $loader = new CsvFileLoader(); + $resource = 'http://example.com/resources.csv'; + $loader->load($resource, 'en', 'domain1'); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Loader/IcuDatFileLoaderTest.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Loader/IcuDatFileLoaderTest.php new file mode 100644 index 0000000..888fb61 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Loader/IcuDatFileLoaderTest.php @@ -0,0 +1,64 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Tests\Loader; + +use Symfony\Component\Translation\Loader\IcuDatFileLoader; +use Symfony\Component\Config\Resource\FileResource; + +/** + * @requires extension intl + */ +class IcuDatFileLoaderTest extends LocalizedTestCase +{ + /** + * @expectedException \Symfony\Component\Translation\Exception\InvalidResourceException + */ + public function testLoadInvalidResource() + { + $loader = new IcuDatFileLoader(); + $loader->load(__DIR__.'/../fixtures/resourcebundle/corrupted/resources', 'es', 'domain2'); + } + + public function testDatEnglishLoad() + { + // bundled resource is build using pkgdata command which at least in ICU 4.2 comes in extremely! buggy form + // you must specify an temporary build directory which is not the same as current directory and + // MUST reside on the same partition. pkgdata -p resources -T /srv -d.packagelist.txt + $loader = new IcuDatFileLoader(); + $resource = __DIR__.'/../fixtures/resourcebundle/dat/resources'; + $catalogue = $loader->load($resource, 'en', 'domain1'); + + $this->assertEquals(array('symfony' => 'Symfony 2 is great'), $catalogue->all('domain1')); + $this->assertEquals('en', $catalogue->getLocale()); + $this->assertEquals(array(new FileResource($resource.'.dat')), $catalogue->getResources()); + } + + public function testDatFrenchLoad() + { + $loader = new IcuDatFileLoader(); + $resource = __DIR__.'/../fixtures/resourcebundle/dat/resources'; + $catalogue = $loader->load($resource, 'fr', 'domain1'); + + $this->assertEquals(array('symfony' => 'Symfony 2 est génial'), $catalogue->all('domain1')); + $this->assertEquals('fr', $catalogue->getLocale()); + $this->assertEquals(array(new FileResource($resource.'.dat')), $catalogue->getResources()); + } + + /** + * @expectedException \Symfony\Component\Translation\Exception\NotFoundResourceException + */ + public function testLoadNonExistingResource() + { + $loader = new IcuDatFileLoader(); + $loader->load(__DIR__.'/../fixtures/non-existing.txt', 'en', 'domain1'); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Loader/IcuResFileLoaderTest.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Loader/IcuResFileLoaderTest.php new file mode 100644 index 0000000..8d9ed19 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Loader/IcuResFileLoaderTest.php @@ -0,0 +1,51 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Tests\Loader; + +use Symfony\Component\Translation\Loader\IcuResFileLoader; +use Symfony\Component\Config\Resource\DirectoryResource; + +/** + * @requires extension intl + */ +class IcuResFileLoaderTest extends LocalizedTestCase +{ + public function testLoad() + { + // resource is build using genrb command + $loader = new IcuResFileLoader(); + $resource = __DIR__.'/../fixtures/resourcebundle/res'; + $catalogue = $loader->load($resource, 'en', 'domain1'); + + $this->assertEquals(array('foo' => 'bar'), $catalogue->all('domain1')); + $this->assertEquals('en', $catalogue->getLocale()); + $this->assertEquals(array(new DirectoryResource($resource)), $catalogue->getResources()); + } + + /** + * @expectedException \Symfony\Component\Translation\Exception\NotFoundResourceException + */ + public function testLoadNonExistingResource() + { + $loader = new IcuResFileLoader(); + $loader->load(__DIR__.'/../fixtures/non-existing.txt', 'en', 'domain1'); + } + + /** + * @expectedException \Symfony\Component\Translation\Exception\InvalidResourceException + */ + public function testLoadInvalidResource() + { + $loader = new IcuResFileLoader(); + $loader->load(__DIR__.'/../fixtures/resourcebundle/corrupted', 'en', 'domain1'); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Loader/IniFileLoaderTest.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Loader/IniFileLoaderTest.php new file mode 100644 index 0000000..1a5de0e --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Loader/IniFileLoaderTest.php @@ -0,0 +1,50 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Tests\Loader; + +use Symfony\Component\Translation\Loader\IniFileLoader; +use Symfony\Component\Config\Resource\FileResource; + +class IniFileLoaderTest extends \PHPUnit_Framework_TestCase +{ + public function testLoad() + { + $loader = new IniFileLoader(); + $resource = __DIR__.'/../fixtures/resources.ini'; + $catalogue = $loader->load($resource, 'en', 'domain1'); + + $this->assertEquals(array('foo' => 'bar'), $catalogue->all('domain1')); + $this->assertEquals('en', $catalogue->getLocale()); + $this->assertEquals(array(new FileResource($resource)), $catalogue->getResources()); + } + + public function testLoadDoesNothingIfEmpty() + { + $loader = new IniFileLoader(); + $resource = __DIR__.'/../fixtures/empty.ini'; + $catalogue = $loader->load($resource, 'en', 'domain1'); + + $this->assertEquals(array(), $catalogue->all('domain1')); + $this->assertEquals('en', $catalogue->getLocale()); + $this->assertEquals(array(new FileResource($resource)), $catalogue->getResources()); + } + + /** + * @expectedException \Symfony\Component\Translation\Exception\NotFoundResourceException + */ + public function testLoadNonExistingResource() + { + $loader = new IniFileLoader(); + $resource = __DIR__.'/../fixtures/non-existing.ini'; + $loader->load($resource, 'en', 'domain1'); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Loader/JsonFileLoaderTest.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Loader/JsonFileLoaderTest.php new file mode 100644 index 0000000..cd5d633 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Loader/JsonFileLoaderTest.php @@ -0,0 +1,61 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Tests\Loader; + +use Symfony\Component\Translation\Loader\JsonFileLoader; +use Symfony\Component\Config\Resource\FileResource; + +class JsonFileLoaderTest extends \PHPUnit_Framework_TestCase +{ + public function testLoad() + { + $loader = new JsonFileLoader(); + $resource = __DIR__.'/../fixtures/resources.json'; + $catalogue = $loader->load($resource, 'en', 'domain1'); + + $this->assertEquals(array('foo' => 'bar'), $catalogue->all('domain1')); + $this->assertEquals('en', $catalogue->getLocale()); + $this->assertEquals(array(new FileResource($resource)), $catalogue->getResources()); + } + + public function testLoadDoesNothingIfEmpty() + { + $loader = new JsonFileLoader(); + $resource = __DIR__.'/../fixtures/empty.json'; + $catalogue = $loader->load($resource, 'en', 'domain1'); + + $this->assertEquals(array(), $catalogue->all('domain1')); + $this->assertEquals('en', $catalogue->getLocale()); + $this->assertEquals(array(new FileResource($resource)), $catalogue->getResources()); + } + + /** + * @expectedException \Symfony\Component\Translation\Exception\NotFoundResourceException + */ + public function testLoadNonExistingResource() + { + $loader = new JsonFileLoader(); + $resource = __DIR__.'/../fixtures/non-existing.json'; + $loader->load($resource, 'en', 'domain1'); + } + + /** + * @expectedException \Symfony\Component\Translation\Exception\InvalidResourceException + * @expectedExceptionMessage Error parsing JSON - Syntax error, malformed JSON + */ + public function testParseException() + { + $loader = new JsonFileLoader(); + $resource = __DIR__.'/../fixtures/malformed.json'; + $loader->load($resource, 'en', 'domain1'); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Loader/LocalizedTestCase.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Loader/LocalizedTestCase.php new file mode 100644 index 0000000..0d1fff7 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Loader/LocalizedTestCase.php @@ -0,0 +1,22 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Tests\Loader; + +abstract class LocalizedTestCase extends \PHPUnit_Framework_TestCase +{ + protected function setUp() + { + if (!extension_loaded('intl')) { + $this->markTestSkipped('Extension intl is required.'); + } + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Loader/MoFileLoaderTest.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Loader/MoFileLoaderTest.php new file mode 100644 index 0000000..34078d0 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Loader/MoFileLoaderTest.php @@ -0,0 +1,71 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Tests\Loader; + +use Symfony\Component\Translation\Loader\MoFileLoader; +use Symfony\Component\Config\Resource\FileResource; + +class MoFileLoaderTest extends \PHPUnit_Framework_TestCase +{ + public function testLoad() + { + $loader = new MoFileLoader(); + $resource = __DIR__.'/../fixtures/resources.mo'; + $catalogue = $loader->load($resource, 'en', 'domain1'); + + $this->assertEquals(array('foo' => 'bar'), $catalogue->all('domain1')); + $this->assertEquals('en', $catalogue->getLocale()); + $this->assertEquals(array(new FileResource($resource)), $catalogue->getResources()); + } + + public function testLoadPlurals() + { + $loader = new MoFileLoader(); + $resource = __DIR__.'/../fixtures/plurals.mo'; + $catalogue = $loader->load($resource, 'en', 'domain1'); + + $this->assertEquals(array('foo' => 'bar', 'foos' => '{0} bar|{1} bars'), $catalogue->all('domain1')); + $this->assertEquals('en', $catalogue->getLocale()); + $this->assertEquals(array(new FileResource($resource)), $catalogue->getResources()); + } + + /** + * @expectedException \Symfony\Component\Translation\Exception\NotFoundResourceException + */ + public function testLoadNonExistingResource() + { + $loader = new MoFileLoader(); + $resource = __DIR__.'/../fixtures/non-existing.mo'; + $loader->load($resource, 'en', 'domain1'); + } + + /** + * @expectedException \Symfony\Component\Translation\Exception\InvalidResourceException + */ + public function testLoadInvalidResource() + { + $loader = new MoFileLoader(); + $resource = __DIR__.'/../fixtures/empty.mo'; + $loader->load($resource, 'en', 'domain1'); + } + + public function testLoadEmptyTranslation() + { + $loader = new MoFileLoader(); + $resource = __DIR__.'/../fixtures/empty-translation.mo'; + $catalogue = $loader->load($resource, 'en', 'message'); + + $this->assertEquals(array(), $catalogue->all('message')); + $this->assertEquals('en', $catalogue->getLocale()); + $this->assertEquals(array(new FileResource($resource)), $catalogue->getResources()); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Loader/PhpFileLoaderTest.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Loader/PhpFileLoaderTest.php new file mode 100644 index 0000000..0816b0f --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Loader/PhpFileLoaderTest.php @@ -0,0 +1,49 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Tests\Loader; + +use Symfony\Component\Translation\Loader\PhpFileLoader; +use Symfony\Component\Config\Resource\FileResource; + +class PhpFileLoaderTest extends \PHPUnit_Framework_TestCase +{ + public function testLoad() + { + $loader = new PhpFileLoader(); + $resource = __DIR__.'/../fixtures/resources.php'; + $catalogue = $loader->load($resource, 'en', 'domain1'); + + $this->assertEquals(array('foo' => 'bar'), $catalogue->all('domain1')); + $this->assertEquals('en', $catalogue->getLocale()); + $this->assertEquals(array(new FileResource($resource)), $catalogue->getResources()); + } + + /** + * @expectedException \Symfony\Component\Translation\Exception\NotFoundResourceException + */ + public function testLoadNonExistingResource() + { + $loader = new PhpFileLoader(); + $resource = __DIR__.'/../fixtures/non-existing.php'; + $loader->load($resource, 'en', 'domain1'); + } + + /** + * @expectedException \Symfony\Component\Translation\Exception\InvalidResourceException + */ + public function testLoadThrowsAnExceptionIfFileNotLocal() + { + $loader = new PhpFileLoader(); + $resource = 'http://example.com/resources.php'; + $loader->load($resource, 'en', 'domain1'); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Loader/PoFileLoaderTest.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Loader/PoFileLoaderTest.php new file mode 100644 index 0000000..87090eb --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Loader/PoFileLoaderTest.php @@ -0,0 +1,96 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Tests\Loader; + +use Symfony\Component\Translation\Loader\PoFileLoader; +use Symfony\Component\Config\Resource\FileResource; + +class PoFileLoaderTest extends \PHPUnit_Framework_TestCase +{ + public function testLoad() + { + $loader = new PoFileLoader(); + $resource = __DIR__.'/../fixtures/resources.po'; + $catalogue = $loader->load($resource, 'en', 'domain1'); + + $this->assertEquals(array('foo' => 'bar'), $catalogue->all('domain1')); + $this->assertEquals('en', $catalogue->getLocale()); + $this->assertEquals(array(new FileResource($resource)), $catalogue->getResources()); + } + + public function testLoadPlurals() + { + $loader = new PoFileLoader(); + $resource = __DIR__.'/../fixtures/plurals.po'; + $catalogue = $loader->load($resource, 'en', 'domain1'); + + $this->assertEquals(array('foo' => 'bar', 'foos' => 'bar|bars'), $catalogue->all('domain1')); + $this->assertEquals('en', $catalogue->getLocale()); + $this->assertEquals(array(new FileResource($resource)), $catalogue->getResources()); + } + + public function testLoadDoesNothingIfEmpty() + { + $loader = new PoFileLoader(); + $resource = __DIR__.'/../fixtures/empty.po'; + $catalogue = $loader->load($resource, 'en', 'domain1'); + + $this->assertEquals(array(), $catalogue->all('domain1')); + $this->assertEquals('en', $catalogue->getLocale()); + $this->assertEquals(array(new FileResource($resource)), $catalogue->getResources()); + } + + /** + * @expectedException \Symfony\Component\Translation\Exception\NotFoundResourceException + */ + public function testLoadNonExistingResource() + { + $loader = new PoFileLoader(); + $resource = __DIR__.'/../fixtures/non-existing.po'; + $loader->load($resource, 'en', 'domain1'); + } + + public function testLoadEmptyTranslation() + { + $loader = new PoFileLoader(); + $resource = __DIR__.'/../fixtures/empty-translation.po'; + $catalogue = $loader->load($resource, 'en', 'domain1'); + + $this->assertEquals(array('foo' => ''), $catalogue->all('domain1')); + $this->assertEquals('en', $catalogue->getLocale()); + $this->assertEquals(array(new FileResource($resource)), $catalogue->getResources()); + } + + public function testEscapedId() + { + $loader = new PoFileLoader(); + $resource = __DIR__.'/../fixtures/escaped-id.po'; + $catalogue = $loader->load($resource, 'en', 'domain1'); + + $messages = $catalogue->all('domain1'); + $this->assertArrayHasKey('escaped "foo"', $messages); + $this->assertEquals('escaped "bar"', $messages['escaped "foo"']); + } + + public function testEscapedIdPlurals() + { + $loader = new PoFileLoader(); + $resource = __DIR__.'/../fixtures/escaped-id-plurals.po'; + $catalogue = $loader->load($resource, 'en', 'domain1'); + + $messages = $catalogue->all('domain1'); + $this->assertArrayHasKey('escaped "foo"', $messages); + $this->assertArrayHasKey('escaped "foos"', $messages); + $this->assertEquals('escaped "bar"', $messages['escaped "foo"']); + $this->assertEquals('escaped "bar"|escaped "bars"', $messages['escaped "foos"']); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Loader/QtFileLoaderTest.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Loader/QtFileLoaderTest.php new file mode 100644 index 0000000..3aca86a --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Loader/QtFileLoaderTest.php @@ -0,0 +1,67 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Tests\Loader; + +use Symfony\Component\Translation\Loader\QtFileLoader; +use Symfony\Component\Config\Resource\FileResource; + +class QtFileLoaderTest extends \PHPUnit_Framework_TestCase +{ + public function testLoad() + { + $loader = new QtFileLoader(); + $resource = __DIR__.'/../fixtures/resources.ts'; + $catalogue = $loader->load($resource, 'en', 'resources'); + + $this->assertEquals(array('foo' => 'bar'), $catalogue->all('resources')); + $this->assertEquals('en', $catalogue->getLocale()); + $this->assertEquals(array(new FileResource($resource)), $catalogue->getResources()); + } + + /** + * @expectedException \Symfony\Component\Translation\Exception\NotFoundResourceException + */ + public function testLoadNonExistingResource() + { + $loader = new QtFileLoader(); + $resource = __DIR__.'/../fixtures/non-existing.ts'; + $loader->load($resource, 'en', 'domain1'); + } + + /** + * @expectedException \Symfony\Component\Translation\Exception\InvalidResourceException + */ + public function testLoadNonLocalResource() + { + $loader = new QtFileLoader(); + $resource = 'http://domain1.com/resources.ts'; + $loader->load($resource, 'en', 'domain1'); + } + + /** + * @expectedException \Symfony\Component\Translation\Exception\InvalidResourceException + */ + public function testLoadInvalidResource() + { + $loader = new QtFileLoader(); + $resource = __DIR__.'/../fixtures/invalid-xml-resources.xlf'; + $loader->load($resource, 'en', 'domain1'); + } + + public function testLoadEmptyResource() + { + $loader = new QtFileLoader(); + $resource = __DIR__.'/../fixtures/empty.xlf'; + $this->setExpectedException('Symfony\Component\Translation\Exception\InvalidResourceException', sprintf('Unable to load "%s".', $resource)); + $loader->load($resource, 'en', 'domain1'); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Loader/XliffFileLoaderTest.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Loader/XliffFileLoaderTest.php new file mode 100644 index 0000000..9aafa4b --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Loader/XliffFileLoaderTest.php @@ -0,0 +1,169 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Tests\Loader; + +use Symfony\Component\Translation\Loader\XliffFileLoader; +use Symfony\Component\Config\Resource\FileResource; + +class XliffFileLoaderTest extends \PHPUnit_Framework_TestCase +{ + public function testLoad() + { + $loader = new XliffFileLoader(); + $resource = __DIR__.'/../fixtures/resources.xlf'; + $catalogue = $loader->load($resource, 'en', 'domain1'); + + $this->assertEquals('en', $catalogue->getLocale()); + $this->assertEquals(array(new FileResource($resource)), $catalogue->getResources()); + $this->assertSame(array(), libxml_get_errors()); + $this->assertContainsOnly('string', $catalogue->all('domain1')); + } + + public function testLoadWithInternalErrorsEnabled() + { + $internalErrors = libxml_use_internal_errors(true); + + $this->assertSame(array(), libxml_get_errors()); + + $loader = new XliffFileLoader(); + $resource = __DIR__.'/../fixtures/resources.xlf'; + $catalogue = $loader->load($resource, 'en', 'domain1'); + + $this->assertEquals('en', $catalogue->getLocale()); + $this->assertEquals(array(new FileResource($resource)), $catalogue->getResources()); + $this->assertSame(array(), libxml_get_errors()); + + libxml_clear_errors(); + libxml_use_internal_errors($internalErrors); + } + + public function testLoadWithResname() + { + $loader = new XliffFileLoader(); + $catalogue = $loader->load(__DIR__.'/../fixtures/resname.xlf', 'en', 'domain1'); + + $this->assertEquals(array('foo' => 'bar', 'bar' => 'baz', 'baz' => 'foo'), $catalogue->all('domain1')); + } + + public function testIncompleteResource() + { + $loader = new XliffFileLoader(); + $catalogue = $loader->load(__DIR__.'/../fixtures/resources.xlf', 'en', 'domain1'); + + $this->assertEquals(array('foo' => 'bar', 'extra' => 'extra', 'key' => '', 'test' => 'with'), $catalogue->all('domain1')); + } + + public function testEncoding() + { + $loader = new XliffFileLoader(); + $catalogue = $loader->load(__DIR__.'/../fixtures/encoding.xlf', 'en', 'domain1'); + + $this->assertEquals(utf8_decode('föö'), $catalogue->get('bar', 'domain1')); + $this->assertEquals(utf8_decode('bär'), $catalogue->get('foo', 'domain1')); + $this->assertEquals(array('notes' => array(array('content' => utf8_decode('bäz')))), $catalogue->getMetadata('foo', 'domain1')); + } + + public function testTargetAttributesAreStoredCorrectly() + { + $loader = new XliffFileLoader(); + $catalogue = $loader->load(__DIR__.'/../fixtures/with-attributes.xlf', 'en', 'domain1'); + + $metadata = $catalogue->getMetadata('foo', 'domain1'); + $this->assertEquals('translated', $metadata['target-attributes']['state']); + } + + /** + * @expectedException \Symfony\Component\Translation\Exception\InvalidResourceException + */ + public function testLoadInvalidResource() + { + $loader = new XliffFileLoader(); + $loader->load(__DIR__.'/../fixtures/resources.php', 'en', 'domain1'); + } + + /** + * @expectedException \Symfony\Component\Translation\Exception\InvalidResourceException + */ + public function testLoadResourceDoesNotValidate() + { + $loader = new XliffFileLoader(); + $loader->load(__DIR__.'/../fixtures/non-valid.xlf', 'en', 'domain1'); + } + + /** + * @expectedException \Symfony\Component\Translation\Exception\NotFoundResourceException + */ + public function testLoadNonExistingResource() + { + $loader = new XliffFileLoader(); + $resource = __DIR__.'/../fixtures/non-existing.xlf'; + $loader->load($resource, 'en', 'domain1'); + } + + /** + * @expectedException \Symfony\Component\Translation\Exception\InvalidResourceException + */ + public function testLoadThrowsAnExceptionIfFileNotLocal() + { + $loader = new XliffFileLoader(); + $resource = 'http://example.com/resources.xlf'; + $loader->load($resource, 'en', 'domain1'); + } + + /** + * @expectedException \Symfony\Component\Translation\Exception\InvalidResourceException + * @expectedExceptionMessage Document types are not allowed. + */ + public function testDocTypeIsNotAllowed() + { + $loader = new XliffFileLoader(); + $loader->load(__DIR__.'/../fixtures/withdoctype.xlf', 'en', 'domain1'); + } + + public function testParseEmptyFile() + { + $loader = new XliffFileLoader(); + $resource = __DIR__.'/../fixtures/empty.xlf'; + $this->setExpectedException('Symfony\Component\Translation\Exception\InvalidResourceException', sprintf('Unable to load "%s":', $resource)); + $loader->load($resource, 'en', 'domain1'); + } + + public function testLoadNotes() + { + $loader = new XliffFileLoader(); + $catalogue = $loader->load(__DIR__.'/../fixtures/withnote.xlf', 'en', 'domain1'); + + $this->assertEquals(array('notes' => array(array('priority' => 1, 'content' => 'foo'))), $catalogue->getMetadata('foo', 'domain1')); + // message without target + $this->assertEquals(array('notes' => array(array('content' => 'bar', 'from' => 'foo'))), $catalogue->getMetadata('extra', 'domain1')); + // message with empty target + $this->assertEquals(array('notes' => array(array('content' => 'baz'), array('priority' => 2, 'from' => 'bar', 'content' => 'qux'))), $catalogue->getMetadata('key', 'domain1')); + } + + public function testLoadVersion2() + { + $loader = new XliffFileLoader(); + $resource = __DIR__.'/../fixtures/resources-2.0.xlf'; + $catalogue = $loader->load($resource, 'en', 'domain1'); + + $this->assertEquals('en', $catalogue->getLocale()); + $this->assertEquals(array(new FileResource($resource)), $catalogue->getResources()); + $this->assertSame(array(), libxml_get_errors()); + + $domains = $catalogue->all(); + $this->assertCount(3, $domains['domain1']); + $this->assertContainsOnly('string', $catalogue->all('domain1')); + + // target attributes + $this->assertEquals(array('target-attributes' => array('order' => 1)), $catalogue->getMetadata('bar', 'domain1')); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Loader/YamlFileLoaderTest.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Loader/YamlFileLoaderTest.php new file mode 100644 index 0000000..00f7163 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Loader/YamlFileLoaderTest.php @@ -0,0 +1,70 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Tests\Loader; + +use Symfony\Component\Translation\Loader\YamlFileLoader; +use Symfony\Component\Config\Resource\FileResource; + +class YamlFileLoaderTest extends \PHPUnit_Framework_TestCase +{ + public function testLoad() + { + $loader = new YamlFileLoader(); + $resource = __DIR__.'/../fixtures/resources.yml'; + $catalogue = $loader->load($resource, 'en', 'domain1'); + + $this->assertEquals(array('foo' => 'bar'), $catalogue->all('domain1')); + $this->assertEquals('en', $catalogue->getLocale()); + $this->assertEquals(array(new FileResource($resource)), $catalogue->getResources()); + } + + public function testLoadDoesNothingIfEmpty() + { + $loader = new YamlFileLoader(); + $resource = __DIR__.'/../fixtures/empty.yml'; + $catalogue = $loader->load($resource, 'en', 'domain1'); + + $this->assertEquals(array(), $catalogue->all('domain1')); + $this->assertEquals('en', $catalogue->getLocale()); + $this->assertEquals(array(new FileResource($resource)), $catalogue->getResources()); + } + + /** + * @expectedException \Symfony\Component\Translation\Exception\NotFoundResourceException + */ + public function testLoadNonExistingResource() + { + $loader = new YamlFileLoader(); + $resource = __DIR__.'/../fixtures/non-existing.yml'; + $loader->load($resource, 'en', 'domain1'); + } + + /** + * @expectedException \Symfony\Component\Translation\Exception\InvalidResourceException + */ + public function testLoadThrowsAnExceptionIfFileNotLocal() + { + $loader = new YamlFileLoader(); + $resource = 'http://example.com/resources.yml'; + $loader->load($resource, 'en', 'domain1'); + } + + /** + * @expectedException \Symfony\Component\Translation\Exception\InvalidResourceException + */ + public function testLoadThrowsAnExceptionIfNotAnArray() + { + $loader = new YamlFileLoader(); + $resource = __DIR__.'/../fixtures/non-valid.yml'; + $loader->load($resource, 'en', 'domain1'); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/LoggingTranslatorTest.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/LoggingTranslatorTest.php new file mode 100644 index 0000000..9f3e849 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/LoggingTranslatorTest.php @@ -0,0 +1,49 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Tests; + +use Symfony\Component\Translation\Translator; +use Symfony\Component\Translation\LoggingTranslator; +use Symfony\Component\Translation\Loader\ArrayLoader; + +class LoggingTranslatorTest extends \PHPUnit_Framework_TestCase +{ + public function testTransWithNoTranslationIsLogged() + { + $logger = $this->getMock('Psr\Log\LoggerInterface'); + $logger->expects($this->exactly(2)) + ->method('warning') + ->with('Translation not found.') + ; + + $translator = new Translator('ar'); + $loggableTranslator = new LoggingTranslator($translator, $logger); + $loggableTranslator->transChoice('some_message2', 10, array('%count%' => 10)); + $loggableTranslator->trans('bar'); + } + + public function testTransChoiceFallbackIsLogged() + { + $logger = $this->getMock('Psr\Log\LoggerInterface'); + $logger->expects($this->once()) + ->method('debug') + ->with('Translation use fallback catalogue.') + ; + + $translator = new Translator('ar'); + $translator->setFallbackLocales(array('en')); + $translator->addLoader('array', new ArrayLoader()); + $translator->addResource('array', array('some_message2' => 'one thing|%count% things'), 'en'); + $loggableTranslator = new LoggingTranslator($translator, $logger); + $loggableTranslator->transChoice('some_message2', 10, array('%count%' => 10)); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/MessageCatalogueTest.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/MessageCatalogueTest.php new file mode 100644 index 0000000..6f55b8c --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/MessageCatalogueTest.php @@ -0,0 +1,214 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Tests; + +use Symfony\Component\Translation\MessageCatalogue; + +class MessageCatalogueTest extends \PHPUnit_Framework_TestCase +{ + public function testGetLocale() + { + $catalogue = new MessageCatalogue('en'); + + $this->assertEquals('en', $catalogue->getLocale()); + } + + public function testGetDomains() + { + $catalogue = new MessageCatalogue('en', array('domain1' => array(), 'domain2' => array())); + + $this->assertEquals(array('domain1', 'domain2'), $catalogue->getDomains()); + } + + public function testAll() + { + $catalogue = new MessageCatalogue('en', $messages = array('domain1' => array('foo' => 'foo'), 'domain2' => array('bar' => 'bar'))); + + $this->assertEquals(array('foo' => 'foo'), $catalogue->all('domain1')); + $this->assertEquals(array(), $catalogue->all('domain88')); + $this->assertEquals($messages, $catalogue->all()); + } + + public function testHas() + { + $catalogue = new MessageCatalogue('en', array('domain1' => array('foo' => 'foo'), 'domain2' => array('bar' => 'bar'))); + + $this->assertTrue($catalogue->has('foo', 'domain1')); + $this->assertFalse($catalogue->has('bar', 'domain1')); + $this->assertFalse($catalogue->has('foo', 'domain88')); + } + + public function testGetSet() + { + $catalogue = new MessageCatalogue('en', array('domain1' => array('foo' => 'foo'), 'domain2' => array('bar' => 'bar'))); + $catalogue->set('foo1', 'foo1', 'domain1'); + + $this->assertEquals('foo', $catalogue->get('foo', 'domain1')); + $this->assertEquals('foo1', $catalogue->get('foo1', 'domain1')); + } + + public function testAdd() + { + $catalogue = new MessageCatalogue('en', array('domain1' => array('foo' => 'foo'), 'domain2' => array('bar' => 'bar'))); + $catalogue->add(array('foo1' => 'foo1'), 'domain1'); + + $this->assertEquals('foo', $catalogue->get('foo', 'domain1')); + $this->assertEquals('foo1', $catalogue->get('foo1', 'domain1')); + + $catalogue->add(array('foo' => 'bar'), 'domain1'); + $this->assertEquals('bar', $catalogue->get('foo', 'domain1')); + $this->assertEquals('foo1', $catalogue->get('foo1', 'domain1')); + + $catalogue->add(array('foo' => 'bar'), 'domain88'); + $this->assertEquals('bar', $catalogue->get('foo', 'domain88')); + } + + public function testReplace() + { + $catalogue = new MessageCatalogue('en', array('domain1' => array('foo' => 'foo'), 'domain2' => array('bar' => 'bar'))); + $catalogue->replace($messages = array('foo1' => 'foo1'), 'domain1'); + + $this->assertEquals($messages, $catalogue->all('domain1')); + } + + public function testAddCatalogue() + { + $r = $this->getMock('Symfony\Component\Config\Resource\ResourceInterface'); + $r->expects($this->any())->method('__toString')->will($this->returnValue('r')); + + $r1 = $this->getMock('Symfony\Component\Config\Resource\ResourceInterface'); + $r1->expects($this->any())->method('__toString')->will($this->returnValue('r1')); + + $catalogue = new MessageCatalogue('en', array('domain1' => array('foo' => 'foo'), 'domain2' => array('bar' => 'bar'))); + $catalogue->addResource($r); + + $catalogue1 = new MessageCatalogue('en', array('domain1' => array('foo1' => 'foo1'))); + $catalogue1->addResource($r1); + + $catalogue->addCatalogue($catalogue1); + + $this->assertEquals('foo', $catalogue->get('foo', 'domain1')); + $this->assertEquals('foo1', $catalogue->get('foo1', 'domain1')); + + $this->assertEquals(array($r, $r1), $catalogue->getResources()); + } + + public function testAddFallbackCatalogue() + { + $r = $this->getMock('Symfony\Component\Config\Resource\ResourceInterface'); + $r->expects($this->any())->method('__toString')->will($this->returnValue('r')); + + $r1 = $this->getMock('Symfony\Component\Config\Resource\ResourceInterface'); + $r1->expects($this->any())->method('__toString')->will($this->returnValue('r1')); + + $catalogue = new MessageCatalogue('en_US', array('domain1' => array('foo' => 'foo'), 'domain2' => array('bar' => 'bar'))); + $catalogue->addResource($r); + + $catalogue1 = new MessageCatalogue('en', array('domain1' => array('foo' => 'bar', 'foo1' => 'foo1'))); + $catalogue1->addResource($r1); + + $catalogue->addFallbackCatalogue($catalogue1); + + $this->assertEquals('foo', $catalogue->get('foo', 'domain1')); + $this->assertEquals('foo1', $catalogue->get('foo1', 'domain1')); + + $this->assertEquals(array($r, $r1), $catalogue->getResources()); + } + + /** + * @expectedException \LogicException + */ + public function testAddFallbackCatalogueWithParentCircularReference() + { + $main = new MessageCatalogue('en_US'); + $fallback = new MessageCatalogue('fr_FR'); + + $fallback->addFallbackCatalogue($main); + $main->addFallbackCatalogue($fallback); + } + + /** + * @expectedException \LogicException + */ + public function testAddFallbackCatalogueWithFallbackCircularReference() + { + $fr = new MessageCatalogue('fr'); + $en = new MessageCatalogue('en'); + $es = new MessageCatalogue('es'); + + $fr->addFallbackCatalogue($en); + $es->addFallbackCatalogue($en); + $en->addFallbackCatalogue($fr); + } + + /** + * @expectedException \LogicException + */ + public function testAddCatalogueWhenLocaleIsNotTheSameAsTheCurrentOne() + { + $catalogue = new MessageCatalogue('en'); + $catalogue->addCatalogue(new MessageCatalogue('fr', array())); + } + + public function testGetAddResource() + { + $catalogue = new MessageCatalogue('en'); + $r = $this->getMock('Symfony\Component\Config\Resource\ResourceInterface'); + $r->expects($this->any())->method('__toString')->will($this->returnValue('r')); + $catalogue->addResource($r); + $catalogue->addResource($r); + $r1 = $this->getMock('Symfony\Component\Config\Resource\ResourceInterface'); + $r1->expects($this->any())->method('__toString')->will($this->returnValue('r1')); + $catalogue->addResource($r1); + + $this->assertEquals(array($r, $r1), $catalogue->getResources()); + } + + public function testMetadataDelete() + { + $catalogue = new MessageCatalogue('en'); + $this->assertEquals(array(), $catalogue->getMetadata('', ''), 'Metadata is empty'); + $catalogue->deleteMetadata('key', 'messages'); + $catalogue->deleteMetadata('', 'messages'); + $catalogue->deleteMetadata(); + } + + public function testMetadataSetGetDelete() + { + $catalogue = new MessageCatalogue('en'); + $catalogue->setMetadata('key', 'value'); + $this->assertEquals('value', $catalogue->getMetadata('key', 'messages'), "Metadata 'key' = 'value'"); + + $catalogue->setMetadata('key2', array()); + $this->assertEquals(array(), $catalogue->getMetadata('key2', 'messages'), 'Metadata key2 is array'); + + $catalogue->deleteMetadata('key2', 'messages'); + $this->assertNull($catalogue->getMetadata('key2', 'messages'), 'Metadata key2 should is deleted.'); + + $catalogue->deleteMetadata('key2', 'domain'); + $this->assertNull($catalogue->getMetadata('key2', 'domain'), 'Metadata key2 should is deleted.'); + } + + public function testMetadataMerge() + { + $cat1 = new MessageCatalogue('en'); + $cat1->setMetadata('a', 'b'); + $this->assertEquals(array('messages' => array('a' => 'b')), $cat1->getMetadata('', ''), 'Cat1 contains messages metadata.'); + + $cat2 = new MessageCatalogue('en'); + $cat2->setMetadata('b', 'c', 'domain'); + $this->assertEquals(array('domain' => array('b' => 'c')), $cat2->getMetadata('', ''), 'Cat2 contains domain metadata.'); + + $cat1->addCatalogue($cat2); + $this->assertEquals(array('messages' => array('a' => 'b'), 'domain' => array('b' => 'c')), $cat1->getMetadata('', ''), 'Cat1 contains merged metadata.'); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/MessageSelectorTest.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/MessageSelectorTest.php new file mode 100644 index 0000000..f89bed1 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/MessageSelectorTest.php @@ -0,0 +1,130 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Tests; + +use Symfony\Component\Translation\MessageSelector; + +class MessageSelectorTest extends \PHPUnit_Framework_TestCase +{ + /** + * @dataProvider getChooseTests + */ + public function testChoose($expected, $id, $number) + { + $selector = new MessageSelector(); + + $this->assertEquals($expected, $selector->choose($id, $number, 'en')); + } + + public function testReturnMessageIfExactlyOneStandardRuleIsGiven() + { + $selector = new MessageSelector(); + + $this->assertEquals('There are two apples', $selector->choose('There are two apples', 2, 'en')); + } + + /** + * @dataProvider getNonMatchingMessages + * @expectedException \InvalidArgumentException + */ + public function testThrowExceptionIfMatchingMessageCannotBeFound($id, $number) + { + $selector = new MessageSelector(); + + $selector->choose($id, $number, 'en'); + } + + public function getNonMatchingMessages() + { + return array( + array('{0} There are no apples|{1} There is one apple', 2), + array('{1} There is one apple|]1,Inf] There are %count% apples', 0), + array('{1} There is one apple|]2,Inf] There are %count% apples', 2), + array('{0} There are no apples|There is one apple', 2), + ); + } + + public function getChooseTests() + { + return array( + array('There are no apples', '{0} There are no apples|{1} There is one apple|]1,Inf] There are %count% apples', 0), + array('There are no apples', '{0} There are no apples|{1} There is one apple|]1,Inf] There are %count% apples', 0), + array('There are no apples', '{0}There are no apples|{1} There is one apple|]1,Inf] There are %count% apples', 0), + + array('There is one apple', '{0} There are no apples|{1} There is one apple|]1,Inf] There are %count% apples', 1), + + array('There are %count% apples', '{0} There are no apples|{1} There is one apple|]1,Inf] There are %count% apples', 10), + array('There are %count% apples', '{0} There are no apples|{1} There is one apple|]1,Inf]There are %count% apples', 10), + array('There are %count% apples', '{0} There are no apples|{1} There is one apple|]1,Inf] There are %count% apples', 10), + + array('There are %count% apples', 'There is one apple|There are %count% apples', 0), + array('There is one apple', 'There is one apple|There are %count% apples', 1), + array('There are %count% apples', 'There is one apple|There are %count% apples', 10), + + array('There are %count% apples', 'one: There is one apple|more: There are %count% apples', 0), + array('There is one apple', 'one: There is one apple|more: There are %count% apples', 1), + array('There are %count% apples', 'one: There is one apple|more: There are %count% apples', 10), + + array('There are no apples', '{0} There are no apples|one: There is one apple|more: There are %count% apples', 0), + array('There is one apple', '{0} There are no apples|one: There is one apple|more: There are %count% apples', 1), + array('There are %count% apples', '{0} There are no apples|one: There is one apple|more: There are %count% apples', 10), + + array('', '{0}|{1} There is one apple|]1,Inf] There are %count% apples', 0), + array('', '{0} There are no apples|{1}|]1,Inf] There are %count% apples', 1), + + // Indexed only tests which are Gettext PoFile* compatible strings. + array('There are %count% apples', 'There is one apple|There are %count% apples', 0), + array('There is one apple', 'There is one apple|There are %count% apples', 1), + array('There are %count% apples', 'There is one apple|There are %count% apples', 2), + + // Tests for float numbers + array('There is almost one apple', '{0} There are no apples|]0,1[ There is almost one apple|{1} There is one apple|[1,Inf] There is more than one apple', 0.7), + array('There is one apple', '{0} There are no apples|]0,1[There are %count% apples|{1} There is one apple|[1,Inf] There is more than one apple', 1), + array('There is more than one apple', '{0} There are no apples|]0,1[There are %count% apples|{1} There is one apple|[1,Inf] There is more than one apple', 1.7), + array('There are no apples', '{0} There are no apples|]0,1[There are %count% apples|{1} There is one apple|[1,Inf] There is more than one apple', 0), + array('There are no apples', '{0} There are no apples|]0,1[There are %count% apples|{1} There is one apple|[1,Inf] There is more than one apple', 0.0), + array('There are no apples', '{0.0} There are no apples|]0,1[There are %count% apples|{1} There is one apple|[1,Inf] There is more than one apple', 0), + + // Test texts with new-lines + // with double-quotes and \n in id & double-quotes and actual newlines in text + array("This is a text with a\n new-line in it. Selector = 0.", '{0}This is a text with a + new-line in it. Selector = 0.|{1}This is a text with a + new-line in it. Selector = 1.|[1,Inf]This is a text with a + new-line in it. Selector > 1.', 0), + // with double-quotes and \n in id and single-quotes and actual newlines in text + array("This is a text with a\n new-line in it. Selector = 1.", '{0}This is a text with a + new-line in it. Selector = 0.|{1}This is a text with a + new-line in it. Selector = 1.|[1,Inf]This is a text with a + new-line in it. Selector > 1.', 1), + array("This is a text with a\n new-line in it. Selector > 1.", '{0}This is a text with a + new-line in it. Selector = 0.|{1}This is a text with a + new-line in it. Selector = 1.|[1,Inf]This is a text with a + new-line in it. Selector > 1.', 5), + // with double-quotes and id split accros lines + array('This is a text with a + new-line in it. Selector = 1.', '{0}This is a text with a + new-line in it. Selector = 0.|{1}This is a text with a + new-line in it. Selector = 1.|[1,Inf]This is a text with a + new-line in it. Selector > 1.', 1), + // with single-quotes and id split accros lines + array('This is a text with a + new-line in it. Selector > 1.', '{0}This is a text with a + new-line in it. Selector = 0.|{1}This is a text with a + new-line in it. Selector = 1.|[1,Inf]This is a text with a + new-line in it. Selector > 1.', 5), + // with single-quotes and \n in text + array('This is a text with a\nnew-line in it. Selector = 0.', '{0}This is a text with a\nnew-line in it. Selector = 0.|{1}This is a text with a\nnew-line in it. Selector = 1.|[1,Inf]This is a text with a\nnew-line in it. Selector > 1.', 0), + // with double-quotes and id split accros lines + array("This is a text with a\nnew-line in it. Selector = 1.", "{0}This is a text with a\nnew-line in it. Selector = 0.|{1}This is a text with a\nnew-line in it. Selector = 1.|[1,Inf]This is a text with a\nnew-line in it. Selector > 1.", 1), + ); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/PluralizationRulesTest.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/PluralizationRulesTest.php new file mode 100644 index 0000000..43c3167 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/PluralizationRulesTest.php @@ -0,0 +1,123 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Tests; + +use Symfony\Component\Translation\PluralizationRules; + +/** + * Test should cover all languages mentioned on http://translate.sourceforge.net/wiki/l10n/pluralforms + * and Plural forms mentioned on http://www.gnu.org/software/gettext/manual/gettext.html#Plural-forms. + * + * See also https://developer.mozilla.org/en/Localization_and_Plurals which mentions 15 rules having a maximum of 6 forms. + * The mozilla code is also interesting to check for. + * + * As mentioned by chx http://drupal.org/node/1273968 we can cover all by testing number from 0 to 199 + * + * The goal to cover all languages is to far fetched so this test case is smaller. + * + * @author Clemens Tolboom clemens@build2be.nl + */ +class PluralizationRulesTest extends \PHPUnit_Framework_TestCase +{ + /** + * We test failed langcode here. + * + * TODO: The languages mentioned in the data provide need to get fixed somehow within PluralizationRules. + * + * @dataProvider failingLangcodes + */ + public function testFailedLangcodes($nplural, $langCodes) + { + $matrix = $this->generateTestData($nplural, $langCodes); + $this->validateMatrix($nplural, $matrix, false); + } + + /** + * @dataProvider successLangcodes + */ + public function testLangcodes($nplural, $langCodes) + { + $matrix = $this->generateTestData($nplural, $langCodes); + $this->validateMatrix($nplural, $matrix); + } + + /** + * This array should contain all currently known langcodes. + * + * As it is impossible to have this ever complete we should try as hard as possible to have it almost complete. + * + * @return array + */ + public function successLangcodes() + { + return array( + array('1', array('ay','bo', 'cgg','dz','id', 'ja', 'jbo', 'ka','kk','km','ko','ky')), + array('2', array('nl', 'fr', 'en', 'de', 'de_GE', 'hy', 'hy_AM')), + array('3', array('be','bs','cs','hr')), + array('4', array('cy','mt', 'sl')), + array('5', array()), + array('6', array('ar')), + ); + } + + /** + * This array should be at least empty within the near future. + * + * This both depends on a complete list trying to add above as understanding + * the plural rules of the current failing languages. + * + * @return array with nplural together with langcodes + */ + public function failingLangcodes() + { + return array( + array('1', array('fa')), + array('2', array('jbo')), + array('3', array('cbs')), + array('4', array('gd','kw')), + array('5', array('ga')), + array('6', array()), + ); + } + + /** + * We validate only on the plural coverage. Thus the real rules is not tested. + * + * @param string $nplural plural expected + * @param array $matrix containing langcodes and their plural index values. + * @param bool $expectSuccess + */ + protected function validateMatrix($nplural, $matrix, $expectSuccess = true) + { + foreach ($matrix as $langCode => $data) { + $indexes = array_flip($data); + if ($expectSuccess) { + $this->assertEquals($nplural, count($indexes), "Langcode '$langCode' has '$nplural' plural forms."); + } else { + $this->assertNotEquals((int) $nplural, count($indexes), "Langcode '$langCode' has '$nplural' plural forms."); + } + } + } + + protected function generateTestData($plural, $langCodes) + { + $matrix = array(); + foreach ($langCodes as $langCode) { + for ($count = 0; $count < 200; ++$count) { + $plural = PluralizationRules::get($count, $langCode); + $matrix[$langCode][$count] = $plural; + } + } + + return $matrix; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/TranslatorCacheTest.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/TranslatorCacheTest.php new file mode 100644 index 0000000..7509358 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/TranslatorCacheTest.php @@ -0,0 +1,299 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Tests; + +use Symfony\Component\Config\Resource\SelfCheckingResourceInterface; +use Symfony\Component\Translation\Loader\ArrayLoader; +use Symfony\Component\Translation\Loader\LoaderInterface; +use Symfony\Component\Translation\Translator; +use Symfony\Component\Translation\MessageCatalogue; + +class TranslatorCacheTest extends \PHPUnit_Framework_TestCase +{ + protected $tmpDir; + + protected function setUp() + { + $this->tmpDir = sys_get_temp_dir().'/sf2_translation'; + $this->deleteTmpDir(); + } + + protected function tearDown() + { + $this->deleteTmpDir(); + } + + protected function deleteTmpDir() + { + if (!file_exists($dir = $this->tmpDir)) { + return; + } + + $iterator = new \RecursiveIteratorIterator(new \RecursiveDirectoryIterator($this->tmpDir), \RecursiveIteratorIterator::CHILD_FIRST); + foreach ($iterator as $path) { + if (preg_match('#[/\\\\]\.\.?$#', $path->__toString())) { + continue; + } + if ($path->isDir()) { + rmdir($path->__toString()); + } else { + unlink($path->__toString()); + } + } + rmdir($this->tmpDir); + } + + /** + * @dataProvider runForDebugAndProduction + */ + public function testThatACacheIsUsed($debug) + { + $locale = 'any_locale'; + $format = 'some_format'; + $msgid = 'test'; + + // Prime the cache + $translator = new Translator($locale, null, $this->tmpDir, $debug); + $translator->addLoader($format, new ArrayLoader()); + $translator->addResource($format, array($msgid => 'OK'), $locale); + $translator->trans($msgid); + + // Try again and see we get a valid result whilst no loader can be used + $translator = new Translator($locale, null, $this->tmpDir, $debug); + $translator->addLoader($format, $this->createFailingLoader()); + $translator->addResource($format, array($msgid => 'OK'), $locale); + $this->assertEquals('OK', $translator->trans($msgid), '-> caching does not work in '.($debug ? 'debug' : 'production')); + } + + public function testCatalogueIsReloadedWhenResourcesAreNoLongerFresh() + { + /* + * The testThatACacheIsUsed() test showed that we don't need the loader as long as the cache + * is fresh. + * + * Now we add a Resource that is never fresh and make sure that the + * cache is discarded (the loader is called twice). + * + * We need to run this for debug=true only because in production the cache + * will never be revalidated. + */ + + $locale = 'any_locale'; + $format = 'some_format'; + $msgid = 'test'; + + $catalogue = new MessageCatalogue($locale, array()); + $catalogue->addResource(new StaleResource()); // better use a helper class than a mock, because it gets serialized in the cache and re-loaded + + /** @var LoaderInterface|\PHPUnit_Framework_MockObject_MockObject $loader */ + $loader = $this->getMock('Symfony\Component\Translation\Loader\LoaderInterface'); + $loader + ->expects($this->exactly(2)) + ->method('load') + ->will($this->returnValue($catalogue)) + ; + + // 1st pass + $translator = new Translator($locale, null, $this->tmpDir, true); + $translator->addLoader($format, $loader); + $translator->addResource($format, null, $locale); + $translator->trans($msgid); + + // 2nd pass + $translator = new Translator($locale, null, $this->tmpDir, true); + $translator->addLoader($format, $loader); + $translator->addResource($format, null, $locale); + $translator->trans($msgid); + } + + /** + * @dataProvider runForDebugAndProduction + */ + public function testDifferentTranslatorsForSameLocaleDoNotOverwriteEachOthersCache($debug) + { + /* + * Similar to the previous test. After we used the second translator, make + * sure there's still a useable cache for the first one. + */ + + $locale = 'any_locale'; + $format = 'some_format'; + $msgid = 'test'; + + // Create a Translator and prime its cache + $translator = new Translator($locale, null, $this->tmpDir, $debug); + $translator->addLoader($format, new ArrayLoader()); + $translator->addResource($format, array($msgid => 'OK'), $locale); + $translator->trans($msgid); + + // Create another Translator with a different catalogue for the same locale + $translator = new Translator($locale, null, $this->tmpDir, $debug); + $translator->addLoader($format, new ArrayLoader()); + $translator->addResource($format, array($msgid => 'FAIL'), $locale); + $translator->trans($msgid); + + // Now the first translator must still have a useable cache. + $translator = new Translator($locale, null, $this->tmpDir, $debug); + $translator->addLoader($format, $this->createFailingLoader()); + $translator->addResource($format, array($msgid => 'OK'), $locale); + $this->assertEquals('OK', $translator->trans($msgid), '-> the cache was overwritten by another translator instance in '.($debug ? 'debug' : 'production')); + } + + public function testDifferentCacheFilesAreUsedForDifferentSetsOfFallbackLocales() + { + /* + * Because the cache file contains a catalogue including all of its fallback + * catalogues, we must take the set of fallback locales into consideration when + * loading a catalogue from the cache. + */ + $translator = new Translator('a', null, $this->tmpDir); + $translator->setFallbackLocales(array('b')); + + $translator->addLoader('array', new ArrayLoader()); + $translator->addResource('array', array('foo' => 'foo (a)'), 'a'); + $translator->addResource('array', array('bar' => 'bar (b)'), 'b'); + + $this->assertEquals('bar (b)', $translator->trans('bar')); + + // Remove fallback locale + $translator->setFallbackLocales(array()); + $this->assertEquals('bar', $translator->trans('bar')); + + // Use a fresh translator with no fallback locales, result should be the same + $translator = new Translator('a', null, $this->tmpDir); + + $translator->addLoader('array', new ArrayLoader()); + $translator->addResource('array', array('foo' => 'foo (a)'), 'a'); + $translator->addResource('array', array('bar' => 'bar (b)'), 'b'); + + $this->assertEquals('bar', $translator->trans('bar')); + } + + public function testPrimaryAndFallbackCataloguesContainTheSameMessagesRegardlessOfCaching() + { + /* + * As a safeguard against potential BC breaks, make sure that primary and fallback + * catalogues (reachable via getFallbackCatalogue()) always contain the full set of + * messages provided by the loader. This must also be the case when these catalogues + * are (internally) read from a cache. + * + * Optimizations inside the translator must not change this behaviour. + */ + + /* + * Create a translator that loads two catalogues for two different locales. + * The catalogues contain distinct sets of messages. + */ + $translator = new Translator('a', null, $this->tmpDir); + $translator->setFallbackLocales(array('b')); + + $translator->addLoader('array', new ArrayLoader()); + $translator->addResource('array', array('foo' => 'foo (a)'), 'a'); + $translator->addResource('array', array('foo' => 'foo (b)'), 'b'); + $translator->addResource('array', array('bar' => 'bar (b)'), 'b'); + + $catalogue = $translator->getCatalogue('a'); + $this->assertFalse($catalogue->defines('bar')); // Sure, the "a" catalogue does not contain that message. + + $fallback = $catalogue->getFallbackCatalogue(); + $this->assertTrue($fallback->defines('foo')); // "foo" is present in "a" and "b" + + /* + * Now, repeat the same test. + * Behind the scenes, the cache is used. But that should not matter, right? + */ + $translator = new Translator('a', null, $this->tmpDir); + $translator->setFallbackLocales(array('b')); + + $translator->addLoader('array', new ArrayLoader()); + $translator->addResource('array', array('foo' => 'foo (a)'), 'a'); + $translator->addResource('array', array('foo' => 'foo (b)'), 'b'); + $translator->addResource('array', array('bar' => 'bar (b)'), 'b'); + + $catalogue = $translator->getCatalogue('a'); + $this->assertFalse($catalogue->defines('bar')); + + $fallback = $catalogue->getFallbackCatalogue(); + $this->assertTrue($fallback->defines('foo')); + } + + public function testRefreshCacheWhenResourcesAreNoLongerFresh() + { + $resource = $this->getMock('Symfony\Component\Config\Resource\SelfCheckingResourceInterface'); + $loader = $this->getMock('Symfony\Component\Translation\Loader\LoaderInterface'); + $resource->method('isFresh')->will($this->returnValue(false)); + $loader + ->expects($this->exactly(2)) + ->method('load') + ->will($this->returnValue($this->getCatalogue('fr', array(), array($resource)))); + + // prime the cache + $translator = new Translator('fr', null, $this->tmpDir, true); + $translator->addLoader('loader', $loader); + $translator->addResource('loader', 'foo', 'fr'); + $translator->trans('foo'); + + // prime the cache second time + $translator = new Translator('fr', null, $this->tmpDir, true); + $translator->addLoader('loader', $loader); + $translator->addResource('loader', 'foo', 'fr'); + $translator->trans('foo'); + } + + protected function getCatalogue($locale, $messages, $resources = array()) + { + $catalogue = new MessageCatalogue($locale); + foreach ($messages as $key => $translation) { + $catalogue->set($key, $translation); + } + foreach ($resources as $resource) { + $catalogue->addResource($resource); + } + + return $catalogue; + } + + public function runForDebugAndProduction() + { + return array(array(true), array(false)); + } + + /** + * @return LoaderInterface + */ + private function createFailingLoader() + { + $loader = $this->getMock('Symfony\Component\Translation\Loader\LoaderInterface'); + $loader + ->expects($this->never()) + ->method('load'); + + return $loader; + } +} + +class StaleResource implements SelfCheckingResourceInterface +{ + public function isFresh($timestamp) + { + return false; + } + + public function getResource() + { + } + + public function __toString() + { + return ''; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/TranslatorTest.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/TranslatorTest.php new file mode 100644 index 0000000..7803385 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/TranslatorTest.php @@ -0,0 +1,513 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Tests; + +use Symfony\Component\Translation\Translator; +use Symfony\Component\Translation\MessageSelector; +use Symfony\Component\Translation\Loader\ArrayLoader; +use Symfony\Component\Translation\MessageCatalogue; + +class TranslatorTest extends \PHPUnit_Framework_TestCase +{ + /** + * @dataProvider getInvalidLocalesTests + * @expectedException \InvalidArgumentException + */ + public function testConstructorInvalidLocale($locale) + { + $translator = new Translator($locale, new MessageSelector()); + } + + /** + * @dataProvider getValidLocalesTests + */ + public function testConstructorValidLocale($locale) + { + $translator = new Translator($locale, new MessageSelector()); + + $this->assertEquals($locale, $translator->getLocale()); + } + + public function testConstructorWithoutLocale() + { + $translator = new Translator(null, new MessageSelector()); + + $this->assertNull($translator->getLocale()); + } + + public function testSetGetLocale() + { + $translator = new Translator('en'); + + $this->assertEquals('en', $translator->getLocale()); + + $translator->setLocale('fr'); + $this->assertEquals('fr', $translator->getLocale()); + } + + /** + * @dataProvider getInvalidLocalesTests + * @expectedException \InvalidArgumentException + */ + public function testSetInvalidLocale($locale) + { + $translator = new Translator('fr', new MessageSelector()); + $translator->setLocale($locale); + } + + /** + * @dataProvider getValidLocalesTests + */ + public function testSetValidLocale($locale) + { + $translator = new Translator($locale, new MessageSelector()); + $translator->setLocale($locale); + + $this->assertEquals($locale, $translator->getLocale()); + } + + public function testGetCatalogue() + { + $translator = new Translator('en'); + + $this->assertEquals(new MessageCatalogue('en'), $translator->getCatalogue()); + + $translator->setLocale('fr'); + $this->assertEquals(new MessageCatalogue('fr'), $translator->getCatalogue('fr')); + } + + public function testGetCatalogueReturnsConsolidatedCatalogue() + { + /* + * This will be useful once we refactor so that different domains will be loaded lazily (on-demand). + * In that case, getCatalogue() will probably have to load all missing domains in order to return + * one complete catalogue. + */ + + $locale = 'whatever'; + $translator = new Translator($locale); + $translator->addLoader('loader-a', new ArrayLoader()); + $translator->addLoader('loader-b', new ArrayLoader()); + $translator->addResource('loader-a', array('foo' => 'foofoo'), $locale, 'domain-a'); + $translator->addResource('loader-b', array('bar' => 'foobar'), $locale, 'domain-b'); + + /* + * Test that we get a single catalogue comprising messages + * from different loaders and different domains + */ + $catalogue = $translator->getCatalogue($locale); + $this->assertTrue($catalogue->defines('foo', 'domain-a')); + $this->assertTrue($catalogue->defines('bar', 'domain-b')); + } + + public function testSetFallbackLocales() + { + $translator = new Translator('en'); + $translator->addLoader('array', new ArrayLoader()); + $translator->addResource('array', array('foo' => 'foofoo'), 'en'); + $translator->addResource('array', array('bar' => 'foobar'), 'fr'); + + // force catalogue loading + $translator->trans('bar'); + + $translator->setFallbackLocales(array('fr')); + $this->assertEquals('foobar', $translator->trans('bar')); + } + + public function testSetFallbackLocalesMultiple() + { + $translator = new Translator('en'); + $translator->addLoader('array', new ArrayLoader()); + $translator->addResource('array', array('foo' => 'foo (en)'), 'en'); + $translator->addResource('array', array('bar' => 'bar (fr)'), 'fr'); + + // force catalogue loading + $translator->trans('bar'); + + $translator->setFallbackLocales(array('fr_FR', 'fr')); + $this->assertEquals('bar (fr)', $translator->trans('bar')); + } + + /** + * @dataProvider getInvalidLocalesTests + * @expectedException \InvalidArgumentException + */ + public function testSetFallbackInvalidLocales($locale) + { + $translator = new Translator('fr', new MessageSelector()); + $translator->setFallbackLocales(array('fr', $locale)); + } + + /** + * @dataProvider getValidLocalesTests + */ + public function testSetFallbackValidLocales($locale) + { + $translator = new Translator($locale, new MessageSelector()); + $translator->setFallbackLocales(array('fr', $locale)); + // no assertion. this method just asserts that no exception is thrown + } + + public function testTransWithFallbackLocale() + { + $translator = new Translator('fr_FR'); + $translator->setFallbackLocales(array('en')); + + $translator->addLoader('array', new ArrayLoader()); + $translator->addResource('array', array('bar' => 'foobar'), 'en'); + + $this->assertEquals('foobar', $translator->trans('bar')); + } + + /** + * @dataProvider getInvalidLocalesTests + * @expectedException \InvalidArgumentException + */ + public function testAddResourceInvalidLocales($locale) + { + $translator = new Translator('fr', new MessageSelector()); + $translator->addResource('array', array('foo' => 'foofoo'), $locale); + } + + /** + * @dataProvider getValidLocalesTests + */ + public function testAddResourceValidLocales($locale) + { + $translator = new Translator('fr', new MessageSelector()); + $translator->addResource('array', array('foo' => 'foofoo'), $locale); + // no assertion. this method just asserts that no exception is thrown + } + + public function testAddResourceAfterTrans() + { + $translator = new Translator('fr'); + $translator->addLoader('array', new ArrayLoader()); + + $translator->setFallbackLocales(array('en')); + + $translator->addResource('array', array('foo' => 'foofoo'), 'en'); + $this->assertEquals('foofoo', $translator->trans('foo')); + + $translator->addResource('array', array('bar' => 'foobar'), 'en'); + $this->assertEquals('foobar', $translator->trans('bar')); + } + + /** + * @dataProvider getTransFileTests + * @expectedException \Symfony\Component\Translation\Exception\NotFoundResourceException + */ + public function testTransWithoutFallbackLocaleFile($format, $loader) + { + $loaderClass = 'Symfony\\Component\\Translation\\Loader\\'.$loader; + $translator = new Translator('en'); + $translator->addLoader($format, new $loaderClass()); + $translator->addResource($format, __DIR__.'/fixtures/non-existing', 'en'); + $translator->addResource($format, __DIR__.'/fixtures/resources.'.$format, 'en'); + + // force catalogue loading + $translator->trans('foo'); + } + + /** + * @dataProvider getTransFileTests + */ + public function testTransWithFallbackLocaleFile($format, $loader) + { + $loaderClass = 'Symfony\\Component\\Translation\\Loader\\'.$loader; + $translator = new Translator('en_GB'); + $translator->addLoader($format, new $loaderClass()); + $translator->addResource($format, __DIR__.'/fixtures/non-existing', 'en_GB'); + $translator->addResource($format, __DIR__.'/fixtures/resources.'.$format, 'en', 'resources'); + + $this->assertEquals('bar', $translator->trans('foo', array(), 'resources')); + } + + public function testTransWithFallbackLocaleBis() + { + $translator = new Translator('en_US'); + $translator->addLoader('array', new ArrayLoader()); + $translator->addResource('array', array('foo' => 'foofoo'), 'en_US'); + $translator->addResource('array', array('bar' => 'foobar'), 'en'); + $this->assertEquals('foobar', $translator->trans('bar')); + } + + public function testTransWithFallbackLocaleTer() + { + $translator = new Translator('fr_FR'); + $translator->addLoader('array', new ArrayLoader()); + $translator->addResource('array', array('foo' => 'foo (en_US)'), 'en_US'); + $translator->addResource('array', array('bar' => 'bar (en)'), 'en'); + + $translator->setFallbackLocales(array('en_US', 'en')); + + $this->assertEquals('foo (en_US)', $translator->trans('foo')); + $this->assertEquals('bar (en)', $translator->trans('bar')); + } + + public function testTransNonExistentWithFallback() + { + $translator = new Translator('fr'); + $translator->setFallbackLocales(array('en')); + $translator->addLoader('array', new ArrayLoader()); + $this->assertEquals('non-existent', $translator->trans('non-existent')); + } + + /** + * @expectedException \RuntimeException + */ + public function testWhenAResourceHasNoRegisteredLoader() + { + $translator = new Translator('en'); + $translator->addResource('array', array('foo' => 'foofoo'), 'en'); + + $translator->trans('foo'); + } + + /** + * @dataProvider getTransTests + */ + public function testTrans($expected, $id, $translation, $parameters, $locale, $domain) + { + $translator = new Translator('en'); + $translator->addLoader('array', new ArrayLoader()); + $translator->addResource('array', array((string) $id => $translation), $locale, $domain); + + $this->assertEquals($expected, $translator->trans($id, $parameters, $domain, $locale)); + } + + /** + * @dataProvider getInvalidLocalesTests + * @expectedException \InvalidArgumentException + */ + public function testTransInvalidLocale($locale) + { + $translator = new Translator('en', new MessageSelector()); + $translator->addLoader('array', new ArrayLoader()); + $translator->addResource('array', array('foo' => 'foofoo'), 'en'); + + $translator->trans('foo', array(), '', $locale); + } + + /** + * @dataProvider getValidLocalesTests + */ + public function testTransValidLocale($locale) + { + $translator = new Translator($locale, new MessageSelector()); + $translator->addLoader('array', new ArrayLoader()); + $translator->addResource('array', array('test' => 'OK'), $locale); + + $this->assertEquals('OK', $translator->trans('test')); + $this->assertEquals('OK', $translator->trans('test', array(), null, $locale)); + } + + /** + * @dataProvider getFlattenedTransTests + */ + public function testFlattenedTrans($expected, $messages, $id) + { + $translator = new Translator('en'); + $translator->addLoader('array', new ArrayLoader()); + $translator->addResource('array', $messages, 'fr', ''); + + $this->assertEquals($expected, $translator->trans($id, array(), '', 'fr')); + } + + /** + * @dataProvider getTransChoiceTests + */ + public function testTransChoice($expected, $id, $translation, $number, $parameters, $locale, $domain) + { + $translator = new Translator('en'); + $translator->addLoader('array', new ArrayLoader()); + $translator->addResource('array', array((string) $id => $translation), $locale, $domain); + + $this->assertEquals($expected, $translator->transChoice($id, $number, $parameters, $domain, $locale)); + } + + /** + * @dataProvider getInvalidLocalesTests + * @expectedException \InvalidArgumentException + */ + public function testTransChoiceInvalidLocale($locale) + { + $translator = new Translator('en', new MessageSelector()); + $translator->addLoader('array', new ArrayLoader()); + $translator->addResource('array', array('foo' => 'foofoo'), 'en'); + + $translator->transChoice('foo', 1, array(), '', $locale); + } + + /** + * @dataProvider getValidLocalesTests + */ + public function testTransChoiceValidLocale($locale) + { + $translator = new Translator('en', new MessageSelector()); + $translator->addLoader('array', new ArrayLoader()); + $translator->addResource('array', array('foo' => 'foofoo'), 'en'); + + $translator->transChoice('foo', 1, array(), '', $locale); + // no assertion. this method just asserts that no exception is thrown + } + + public function getTransFileTests() + { + return array( + array('csv', 'CsvFileLoader'), + array('ini', 'IniFileLoader'), + array('mo', 'MoFileLoader'), + array('po', 'PoFileLoader'), + array('php', 'PhpFileLoader'), + array('ts', 'QtFileLoader'), + array('xlf', 'XliffFileLoader'), + array('yml', 'YamlFileLoader'), + array('json', 'JsonFileLoader'), + ); + } + + public function getTransTests() + { + return array( + array('Symfony est super !', 'Symfony is great!', 'Symfony est super !', array(), 'fr', ''), + array('Symfony est awesome !', 'Symfony is %what%!', 'Symfony est %what% !', array('%what%' => 'awesome'), 'fr', ''), + array('Symfony est super !', new StringClass('Symfony is great!'), 'Symfony est super !', array(), 'fr', ''), + ); + } + + public function getFlattenedTransTests() + { + $messages = array( + 'symfony' => array( + 'is' => array( + 'great' => 'Symfony est super!', + ), + ), + 'foo' => array( + 'bar' => array( + 'baz' => 'Foo Bar Baz', + ), + 'baz' => 'Foo Baz', + ), + ); + + return array( + array('Symfony est super!', $messages, 'symfony.is.great'), + array('Foo Bar Baz', $messages, 'foo.bar.baz'), + array('Foo Baz', $messages, 'foo.baz'), + ); + } + + public function getTransChoiceTests() + { + return array( + array('Il y a 0 pomme', '{0} There are no appless|{1} There is one apple|]1,Inf] There is %count% apples', '[0,1] Il y a %count% pomme|]1,Inf] Il y a %count% pommes', 0, array('%count%' => 0), 'fr', ''), + array('Il y a 1 pomme', '{0} There are no appless|{1} There is one apple|]1,Inf] There is %count% apples', '[0,1] Il y a %count% pomme|]1,Inf] Il y a %count% pommes', 1, array('%count%' => 1), 'fr', ''), + array('Il y a 10 pommes', '{0} There are no appless|{1} There is one apple|]1,Inf] There is %count% apples', '[0,1] Il y a %count% pomme|]1,Inf] Il y a %count% pommes', 10, array('%count%' => 10), 'fr', ''), + + array('Il y a 0 pomme', 'There is one apple|There is %count% apples', 'Il y a %count% pomme|Il y a %count% pommes', 0, array('%count%' => 0), 'fr', ''), + array('Il y a 1 pomme', 'There is one apple|There is %count% apples', 'Il y a %count% pomme|Il y a %count% pommes', 1, array('%count%' => 1), 'fr', ''), + array('Il y a 10 pommes', 'There is one apple|There is %count% apples', 'Il y a %count% pomme|Il y a %count% pommes', 10, array('%count%' => 10), 'fr', ''), + + array('Il y a 0 pomme', 'one: There is one apple|more: There is %count% apples', 'one: Il y a %count% pomme|more: Il y a %count% pommes', 0, array('%count%' => 0), 'fr', ''), + array('Il y a 1 pomme', 'one: There is one apple|more: There is %count% apples', 'one: Il y a %count% pomme|more: Il y a %count% pommes', 1, array('%count%' => 1), 'fr', ''), + array('Il y a 10 pommes', 'one: There is one apple|more: There is %count% apples', 'one: Il y a %count% pomme|more: Il y a %count% pommes', 10, array('%count%' => 10), 'fr', ''), + + array('Il n\'y a aucune pomme', '{0} There are no apples|one: There is one apple|more: There is %count% apples', '{0} Il n\'y a aucune pomme|one: Il y a %count% pomme|more: Il y a %count% pommes', 0, array('%count%' => 0), 'fr', ''), + array('Il y a 1 pomme', '{0} There are no apples|one: There is one apple|more: There is %count% apples', '{0} Il n\'y a aucune pomme|one: Il y a %count% pomme|more: Il y a %count% pommes', 1, array('%count%' => 1), 'fr', ''), + array('Il y a 10 pommes', '{0} There are no apples|one: There is one apple|more: There is %count% apples', '{0} Il n\'y a aucune pomme|one: Il y a %count% pomme|more: Il y a %count% pommes', 10, array('%count%' => 10), 'fr', ''), + + array('Il y a 0 pomme', new StringClass('{0} There are no appless|{1} There is one apple|]1,Inf] There is %count% apples'), '[0,1] Il y a %count% pomme|]1,Inf] Il y a %count% pommes', 0, array('%count%' => 0), 'fr', ''), + ); + } + + public function getInvalidLocalesTests() + { + return array( + array('fr FR'), + array('français'), + array('fr+en'), + array('utf#8'), + array('fr&en'), + array('fr~FR'), + array(' fr'), + array('fr '), + array('fr*'), + array('fr/FR'), + array('fr\\FR'), + ); + } + + public function getValidLocalesTests() + { + return array( + array(''), + array(null), + array('fr'), + array('francais'), + array('FR'), + array('frFR'), + array('fr-FR'), + array('fr_FR'), + array('fr.FR'), + array('fr-FR.UTF8'), + array('sr@latin'), + ); + } + + public function testTransChoiceFallback() + { + $translator = new Translator('ru'); + $translator->setFallbackLocales(array('en')); + $translator->addLoader('array', new ArrayLoader()); + $translator->addResource('array', array('some_message2' => 'one thing|%count% things'), 'en'); + + $this->assertEquals('10 things', $translator->transChoice('some_message2', 10, array('%count%' => 10))); + } + + public function testTransChoiceFallbackBis() + { + $translator = new Translator('ru'); + $translator->setFallbackLocales(array('en_US', 'en')); + $translator->addLoader('array', new ArrayLoader()); + $translator->addResource('array', array('some_message2' => 'one thing|%count% things'), 'en_US'); + + $this->assertEquals('10 things', $translator->transChoice('some_message2', 10, array('%count%' => 10))); + } + + public function testTransChoiceFallbackWithNoTranslation() + { + $translator = new Translator('ru'); + $translator->setFallbackLocales(array('en')); + $translator->addLoader('array', new ArrayLoader()); + + // consistent behavior with Translator::trans(), which returns the string + // unchanged if it can't be found + $this->assertEquals('some_message2', $translator->transChoice('some_message2', 10, array('%count%' => 10))); + } +} + +class StringClass +{ + protected $str; + + public function __construct($str) + { + $this->str = $str; + } + + public function __toString() + { + return $this->str; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Util/ArrayConverterTest.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Util/ArrayConverterTest.php new file mode 100644 index 0000000..9eea275 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/Util/ArrayConverterTest.php @@ -0,0 +1,73 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Tests\Util; + +use Symfony\Component\Translation\Util\ArrayConverter; + +class ArrayConverterTest extends \PHPUnit_Framework_TestCase +{ + /** + * @dataProvider messsagesData + */ + public function testDump($input, $expectedOutput) + { + $this->assertEquals($expectedOutput, ArrayConverter::expandToTree($input)); + } + + public function messsagesData() + { + return array( + array( + // input + array( + 'foo1' => 'bar', + 'foo.bar' => 'value', + ), + // expected output + array( + 'foo1' => 'bar', + 'foo' => array('bar' => 'value'), + ), + ), + array( + // input + array( + 'foo.bar' => 'value1', + 'foo.bar.test' => 'value2', + ), + // expected output + array( + 'foo' => array( + 'bar' => 'value1', + 'bar.test' => 'value2', + ), + ), + ), + array( + // input + array( + 'foo.level2.level3.level4' => 'value1', + 'foo.level2' => 'value2', + 'foo.bar' => 'value3', + ), + // expected output + array( + 'foo' => array( + 'level2' => 'value2', + 'level2.level3.level4' => 'value1', + 'bar' => 'value3', + ), + ), + ), + ); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/empty-translation.mo b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/empty-translation.mo new file mode 100644 index 0000000..ed01000 Binary files /dev/null and b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/empty-translation.mo differ diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/empty-translation.po b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/empty-translation.po new file mode 100644 index 0000000..ff6f22a --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/empty-translation.po @@ -0,0 +1,3 @@ +msgid "foo" +msgstr "" + diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/empty.csv b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/empty.csv new file mode 100644 index 0000000..e69de29 diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/empty.ini b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/empty.ini new file mode 100644 index 0000000..e69de29 diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/empty.json b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/empty.json new file mode 100644 index 0000000..e69de29 diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/empty.mo b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/empty.mo new file mode 100644 index 0000000..e69de29 diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/empty.po b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/empty.po new file mode 100644 index 0000000..e69de29 diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/empty.xlf b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/empty.xlf new file mode 100644 index 0000000..e69de29 diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/empty.yml b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/empty.yml new file mode 100644 index 0000000..e69de29 diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/encoding.xlf b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/encoding.xlf new file mode 100644 index 0000000..0a88f92 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/encoding.xlf @@ -0,0 +1,16 @@ + + + + + + foo + bär + bäz + + + bar + föö + + + + diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/escaped-id-plurals.po b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/escaped-id-plurals.po new file mode 100644 index 0000000..c412aa2 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/escaped-id-plurals.po @@ -0,0 +1,10 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: en\n" + +msgid "escaped \"foo\"" +msgid_plural "escaped \"foos\"" +msgstr[0] "escaped \"bar\"" +msgstr[1] "escaped \"bars\"" diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/escaped-id.po b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/escaped-id.po new file mode 100644 index 0000000..308eadd --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/escaped-id.po @@ -0,0 +1,8 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: en\n" + +msgid "escaped \"foo\"" +msgstr "escaped \"bar\"" diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/invalid-xml-resources.xlf b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/invalid-xml-resources.xlf new file mode 100644 index 0000000..7bf6c98 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/invalid-xml-resources.xlf @@ -0,0 +1,23 @@ + + + + + + foo + bar + + + extra + + + key + + + + test + with + note + + + + diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/malformed.json b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/malformed.json new file mode 100644 index 0000000..4563ec6 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/malformed.json @@ -0,0 +1,3 @@ +{ + "foo" "bar" +} \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/messages.yml b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/messages.yml new file mode 100644 index 0000000..d4f82d7 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/messages.yml @@ -0,0 +1,3 @@ +foo: + bar1: value1 + bar2: value2 diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/messages_linear.yml b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/messages_linear.yml new file mode 100644 index 0000000..6c1687d --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/messages_linear.yml @@ -0,0 +1,2 @@ +foo.bar1: value1 +foo.bar2: value2 diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/non-valid.xlf b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/non-valid.xlf new file mode 100644 index 0000000..734fc97 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/non-valid.xlf @@ -0,0 +1,11 @@ + + + + + + foo + bar + + + + diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/non-valid.yml b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/non-valid.yml new file mode 100644 index 0000000..257cc56 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/non-valid.yml @@ -0,0 +1 @@ +foo diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/plurals.mo b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/plurals.mo new file mode 100644 index 0000000..6445e77 Binary files /dev/null and b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/plurals.mo differ diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/plurals.po b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/plurals.po new file mode 100644 index 0000000..439c41a --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/plurals.po @@ -0,0 +1,5 @@ +msgid "foo" +msgid_plural "foos" +msgstr[0] "bar" +msgstr[1] "bars" + diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resname.xlf b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resname.xlf new file mode 100644 index 0000000..2df16af --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resname.xlf @@ -0,0 +1,19 @@ + + + + + + + bar + + + bar source + baz + + + baz + foo + + + + diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resourcebundle/corrupted/resources.dat b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resourcebundle/corrupted/resources.dat new file mode 100644 index 0000000..391250c --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resourcebundle/corrupted/resources.dat @@ -0,0 +1 @@ +XXX \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resourcebundle/dat/en.res b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resourcebundle/dat/en.res new file mode 100644 index 0000000..1fc1436 Binary files /dev/null and b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resourcebundle/dat/en.res differ diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resourcebundle/dat/en.txt b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resourcebundle/dat/en.txt new file mode 100644 index 0000000..3d9e9ea --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resourcebundle/dat/en.txt @@ -0,0 +1,3 @@ +en{ + symfony{"Symfony is great"} +} \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resourcebundle/dat/fr.res b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resourcebundle/dat/fr.res new file mode 100644 index 0000000..f584160 Binary files /dev/null and b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resourcebundle/dat/fr.res differ diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resourcebundle/dat/fr.txt b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resourcebundle/dat/fr.txt new file mode 100644 index 0000000..182d0a0 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resourcebundle/dat/fr.txt @@ -0,0 +1,3 @@ +fr{ + symfony{"Symfony est génial"} +} \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resourcebundle/dat/packagelist.txt b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resourcebundle/dat/packagelist.txt new file mode 100644 index 0000000..c5783ed --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resourcebundle/dat/packagelist.txt @@ -0,0 +1,2 @@ +en.res +fr.res diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resourcebundle/dat/resources.dat b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resourcebundle/dat/resources.dat new file mode 100644 index 0000000..563b0ea Binary files /dev/null and b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resourcebundle/dat/resources.dat differ diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resourcebundle/res/en.res b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resourcebundle/res/en.res new file mode 100644 index 0000000..ad894a9 Binary files /dev/null and b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resourcebundle/res/en.res differ diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resources-2.0-clean.xlf b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resources-2.0-clean.xlf new file mode 100644 index 0000000..2efa155 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resources-2.0-clean.xlf @@ -0,0 +1,23 @@ + + + + + + foo + bar + + + + + key + + + + + + key.with.cdata + & ]]> + + + + diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resources-2.0.xlf b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resources-2.0.xlf new file mode 100644 index 0000000..166172a --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resources-2.0.xlf @@ -0,0 +1,25 @@ + + + + + + Quetzal + Quetzal + + + + + + foo + XLIFF 文書を編集、または処理 するアプリケーションです。 + + + + + bar + XLIFF データ・マネージャ + + + + + diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resources-clean.xlf b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resources-clean.xlf new file mode 100644 index 0000000..436e19e --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resources-clean.xlf @@ -0,0 +1,25 @@ + + + +
              + +
              + + + foo + bar + baz + + + key + + baz + qux + + + key.with.cdata + & ]]> + + +
              +
              diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resources-target-attributes.xlf b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resources-target-attributes.xlf new file mode 100644 index 0000000..e3afb49 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resources-target-attributes.xlf @@ -0,0 +1,14 @@ + + + +
              + +
              + + + foo + bar + + +
              +
              diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resources-tool-info.xlf b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resources-tool-info.xlf new file mode 100644 index 0000000..1ed06d2 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resources-tool-info.xlf @@ -0,0 +1,14 @@ + + + +
              + +
              + + + foo + bar + + +
              +
              diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resources.csv b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resources.csv new file mode 100644 index 0000000..374b9eb --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resources.csv @@ -0,0 +1,4 @@ +"foo"; "bar" +#"bar"; "foo" +"incorrect"; "number"; "columns"; "will"; "be"; "ignored" +"incorrect" \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resources.dump.json b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resources.dump.json new file mode 100644 index 0000000..335965d --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resources.dump.json @@ -0,0 +1 @@ +{"foo":"\u0022bar\u0022"} \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resources.ini b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resources.ini new file mode 100644 index 0000000..4953062 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resources.ini @@ -0,0 +1 @@ +foo="bar" diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resources.json b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resources.json new file mode 100644 index 0000000..8a79687 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resources.json @@ -0,0 +1,3 @@ +{ + "foo": "bar" +} \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resources.mo b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resources.mo new file mode 100644 index 0000000..0a96602 Binary files /dev/null and b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resources.mo differ diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resources.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resources.php new file mode 100644 index 0000000..c291398 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resources.php @@ -0,0 +1,5 @@ + 'bar', +); diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resources.po b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resources.po new file mode 100644 index 0000000..ccfce6b --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resources.po @@ -0,0 +1,8 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: en\n" + +msgid "foo" +msgstr "bar" \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resources.ts b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resources.ts new file mode 100644 index 0000000..40e1852 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resources.ts @@ -0,0 +1,10 @@ + + + + resources + + foo + bar + + + diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resources.xlf b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resources.xlf new file mode 100644 index 0000000..b0e5988 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resources.xlf @@ -0,0 +1,23 @@ + + + + + + foo + bar + + + extra + + + key + + + + test + with + note + + + + diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resources.yml b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resources.yml new file mode 100644 index 0000000..20e9ff3 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/resources.yml @@ -0,0 +1 @@ +foo: bar diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/valid.csv b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/valid.csv new file mode 100644 index 0000000..59882e5 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/valid.csv @@ -0,0 +1,4 @@ +foo;bar +bar;"foo +foo" +"foo;foo";bar diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/with-attributes.xlf b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/with-attributes.xlf new file mode 100644 index 0000000..7873062 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/with-attributes.xlf @@ -0,0 +1,21 @@ + + + + + + foo + bar + + + extra + bar + + + key + + baz + qux + + + + diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/withdoctype.xlf b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/withdoctype.xlf new file mode 100644 index 0000000..f83e834 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/withdoctype.xlf @@ -0,0 +1,12 @@ + + + + + + + foo + bar + + + + diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/withnote.xlf b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/withnote.xlf new file mode 100644 index 0000000..b1d3f83 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Tests/fixtures/withnote.xlf @@ -0,0 +1,22 @@ + + + + + + foo + bar + foo + + + extra + bar + + + key + + baz + qux + + + + diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Translator.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Translator.php new file mode 100644 index 0000000..a03df85 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Translator.php @@ -0,0 +1,438 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation; + +use Symfony\Component\Translation\Loader\LoaderInterface; +use Symfony\Component\Translation\Exception\NotFoundResourceException; +use Symfony\Component\Config\ConfigCacheInterface; +use Symfony\Component\Config\ConfigCacheFactoryInterface; +use Symfony\Component\Config\ConfigCacheFactory; + +/** + * Translator. + * + * @author Fabien Potencier + */ +class Translator implements TranslatorInterface, TranslatorBagInterface +{ + /** + * @var MessageCatalogueInterface[] + */ + protected $catalogues = array(); + + /** + * @var string + */ + private $locale; + + /** + * @var array + */ + private $fallbackLocales = array(); + + /** + * @var LoaderInterface[] + */ + private $loaders = array(); + + /** + * @var array + */ + private $resources = array(); + + /** + * @var MessageSelector + */ + private $selector; + + /** + * @var string + */ + private $cacheDir; + + /** + * @var bool + */ + private $debug; + + /** + * @var ConfigCacheFactoryInterface|null + */ + private $configCacheFactory; + + /** + * Constructor. + * + * @param string $locale The locale + * @param MessageSelector|null $selector The message selector for pluralization + * @param string|null $cacheDir The directory to use for the cache + * @param bool $debug Use cache in debug mode ? + * + * @throws \InvalidArgumentException If a locale contains invalid characters + */ + public function __construct($locale, MessageSelector $selector = null, $cacheDir = null, $debug = false) + { + $this->setLocale($locale); + $this->selector = $selector ?: new MessageSelector(); + $this->cacheDir = $cacheDir; + $this->debug = $debug; + } + + /** + * Sets the ConfigCache factory to use. + * + * @param ConfigCacheFactoryInterface $configCacheFactory + */ + public function setConfigCacheFactory(ConfigCacheFactoryInterface $configCacheFactory) + { + $this->configCacheFactory = $configCacheFactory; + } + + /** + * Adds a Loader. + * + * @param string $format The name of the loader (@see addResource()) + * @param LoaderInterface $loader A LoaderInterface instance + */ + public function addLoader($format, LoaderInterface $loader) + { + $this->loaders[$format] = $loader; + } + + /** + * Adds a Resource. + * + * @param string $format The name of the loader (@see addLoader()) + * @param mixed $resource The resource name + * @param string $locale The locale + * @param string $domain The domain + * + * @throws \InvalidArgumentException If the locale contains invalid characters + */ + public function addResource($format, $resource, $locale, $domain = null) + { + if (null === $domain) { + $domain = 'messages'; + } + + $this->assertValidLocale($locale); + + $this->resources[$locale][] = array($format, $resource, $domain); + + if (in_array($locale, $this->fallbackLocales)) { + $this->catalogues = array(); + } else { + unset($this->catalogues[$locale]); + } + } + + /** + * {@inheritdoc} + */ + public function setLocale($locale) + { + $this->assertValidLocale($locale); + $this->locale = $locale; + } + + /** + * {@inheritdoc} + */ + public function getLocale() + { + return $this->locale; + } + + /** + * Sets the fallback locales. + * + * @param array $locales The fallback locales + * + * @throws \InvalidArgumentException If a locale contains invalid characters + */ + public function setFallbackLocales(array $locales) + { + // needed as the fallback locales are linked to the already loaded catalogues + $this->catalogues = array(); + + foreach ($locales as $locale) { + $this->assertValidLocale($locale); + } + + $this->fallbackLocales = $locales; + } + + /** + * Gets the fallback locales. + * + * @return array $locales The fallback locales + */ + public function getFallbackLocales() + { + return $this->fallbackLocales; + } + + /** + * {@inheritdoc} + */ + public function trans($id, array $parameters = array(), $domain = null, $locale = null) + { + if (null === $domain) { + $domain = 'messages'; + } + + return strtr($this->getCatalogue($locale)->get((string) $id, $domain), $parameters); + } + + /** + * {@inheritdoc} + */ + public function transChoice($id, $number, array $parameters = array(), $domain = null, $locale = null) + { + if (null === $domain) { + $domain = 'messages'; + } + + $id = (string) $id; + $catalogue = $this->getCatalogue($locale); + $locale = $catalogue->getLocale(); + while (!$catalogue->defines($id, $domain)) { + if ($cat = $catalogue->getFallbackCatalogue()) { + $catalogue = $cat; + $locale = $catalogue->getLocale(); + } else { + break; + } + } + + return strtr($this->selector->choose($catalogue->get($id, $domain), (int) $number, $locale), $parameters); + } + + /** + * {@inheritdoc} + */ + public function getCatalogue($locale = null) + { + if (null === $locale) { + $locale = $this->getLocale(); + } else { + $this->assertValidLocale($locale); + } + + if (!isset($this->catalogues[$locale])) { + $this->loadCatalogue($locale); + } + + return $this->catalogues[$locale]; + } + + /** + * Gets the loaders. + * + * @return array LoaderInterface[] + */ + protected function getLoaders() + { + return $this->loaders; + } + + /** + * @param string $locale + */ + protected function loadCatalogue($locale) + { + if (null === $this->cacheDir) { + $this->initializeCatalogue($locale); + } else { + $this->initializeCacheCatalogue($locale); + } + } + + /** + * @param string $locale + */ + protected function initializeCatalogue($locale) + { + $this->assertValidLocale($locale); + + try { + $this->doLoadCatalogue($locale); + } catch (NotFoundResourceException $e) { + if (!$this->computeFallbackLocales($locale)) { + throw $e; + } + } + $this->loadFallbackCatalogues($locale); + } + + /** + * @param string $locale + */ + private function initializeCacheCatalogue($locale) + { + if (isset($this->catalogues[$locale])) { + /* Catalogue already initialized. */ + return; + } + + $this->assertValidLocale($locale); + $cache = $this->getConfigCacheFactory()->cache($this->getCatalogueCachePath($locale), + function (ConfigCacheInterface $cache) use ($locale) { + $this->dumpCatalogue($locale, $cache); + } + ); + + if (isset($this->catalogues[$locale])) { + /* Catalogue has been initialized as it was written out to cache. */ + return; + } + + /* Read catalogue from cache. */ + $this->catalogues[$locale] = include $cache->getPath(); + } + + private function dumpCatalogue($locale, ConfigCacheInterface $cache) + { + $this->initializeCatalogue($locale); + $fallbackContent = $this->getFallbackContent($this->catalogues[$locale]); + + $content = sprintf(<<catalogues[$locale]->all(), true), + $fallbackContent + ); + + $cache->write($content, $this->catalogues[$locale]->getResources()); + } + + private function getFallbackContent(MessageCatalogue $catalogue) + { + $fallbackContent = ''; + $current = ''; + $replacementPattern = '/[^a-z0-9_]/i'; + $fallbackCatalogue = $catalogue->getFallbackCatalogue(); + while ($fallbackCatalogue) { + $fallback = $fallbackCatalogue->getLocale(); + $fallbackSuffix = ucfirst(preg_replace($replacementPattern, '_', $fallback)); + $currentSuffix = ucfirst(preg_replace($replacementPattern, '_', $current)); + + $fallbackContent .= sprintf(<<addFallbackCatalogue(\$catalogue%s); + +EOF + , + $fallbackSuffix, + $fallback, + var_export($fallbackCatalogue->all(), true), + $currentSuffix, + $fallbackSuffix + ); + $current = $fallbackCatalogue->getLocale(); + $fallbackCatalogue = $fallbackCatalogue->getFallbackCatalogue(); + } + + return $fallbackContent; + } + + private function getCatalogueCachePath($locale) + { + return $this->cacheDir.'/catalogue.'.$locale.'.'.sha1(serialize($this->fallbackLocales)).'.php'; + } + + private function doLoadCatalogue($locale) + { + $this->catalogues[$locale] = new MessageCatalogue($locale); + + if (isset($this->resources[$locale])) { + foreach ($this->resources[$locale] as $resource) { + if (!isset($this->loaders[$resource[0]])) { + throw new \RuntimeException(sprintf('The "%s" translation loader is not registered.', $resource[0])); + } + $this->catalogues[$locale]->addCatalogue($this->loaders[$resource[0]]->load($resource[1], $locale, $resource[2])); + } + } + } + + private function loadFallbackCatalogues($locale) + { + $current = $this->catalogues[$locale]; + + foreach ($this->computeFallbackLocales($locale) as $fallback) { + if (!isset($this->catalogues[$fallback])) { + $this->doLoadCatalogue($fallback); + } + + $fallbackCatalogue = new MessageCatalogue($fallback, $this->catalogues[$fallback]->all()); + $current->addFallbackCatalogue($fallbackCatalogue); + $current = $fallbackCatalogue; + } + } + + protected function computeFallbackLocales($locale) + { + $locales = array(); + foreach ($this->fallbackLocales as $fallback) { + if ($fallback === $locale) { + continue; + } + + $locales[] = $fallback; + } + + if (strrchr($locale, '_') !== false) { + array_unshift($locales, substr($locale, 0, -strlen(strrchr($locale, '_')))); + } + + return array_unique($locales); + } + + /** + * Asserts that the locale is valid, throws an Exception if not. + * + * @param string $locale Locale to tests + * + * @throws \InvalidArgumentException If the locale contains invalid characters + */ + protected function assertValidLocale($locale) + { + if (1 !== preg_match('/^[a-z0-9@_\\.\\-]*$/i', $locale)) { + throw new \InvalidArgumentException(sprintf('Invalid "%s" locale.', $locale)); + } + } + + /** + * Provides the ConfigCache factory implementation, falling back to a + * default implementation if necessary. + * + * @return ConfigCacheFactoryInterface $configCacheFactory + */ + private function getConfigCacheFactory() + { + if (!$this->configCacheFactory) { + $this->configCacheFactory = new ConfigCacheFactory($this->debug); + } + + return $this->configCacheFactory; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/TranslatorBagInterface.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/TranslatorBagInterface.php new file mode 100644 index 0000000..6f650b5 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/TranslatorBagInterface.php @@ -0,0 +1,31 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation; + +/** + * TranslatorBagInterface. + * + * @author Abdellatif Ait boudad + */ +interface TranslatorBagInterface +{ + /** + * Gets the catalogue by locale. + * + * @param string|null $locale The locale or null to use the default + * + * @throws \InvalidArgumentException If the locale contains invalid characters + * + * @return MessageCatalogueInterface + */ + public function getCatalogue($locale = null); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/TranslatorInterface.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/TranslatorInterface.php new file mode 100644 index 0000000..869e0b9 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/TranslatorInterface.php @@ -0,0 +1,65 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation; + +/** + * TranslatorInterface. + * + * @author Fabien Potencier + */ +interface TranslatorInterface +{ + /** + * Translates the given message. + * + * @param string $id The message id (may also be an object that can be cast to string) + * @param array $parameters An array of parameters for the message + * @param string|null $domain The domain for the message or null to use the default + * @param string|null $locale The locale or null to use the default + * + * @throws \InvalidArgumentException If the locale contains invalid characters + * + * @return string The translated string + */ + public function trans($id, array $parameters = array(), $domain = null, $locale = null); + + /** + * Translates the given choice message by choosing a translation according to a number. + * + * @param string $id The message id (may also be an object that can be cast to string) + * @param int $number The number to use to find the indice of the message + * @param array $parameters An array of parameters for the message + * @param string|null $domain The domain for the message or null to use the default + * @param string|null $locale The locale or null to use the default + * + * @throws \InvalidArgumentException If the locale contains invalid characters + * + * @return string The translated string + */ + public function transChoice($id, $number, array $parameters = array(), $domain = null, $locale = null); + + /** + * Sets the current locale. + * + * @param string $locale The locale + * + * @throws \InvalidArgumentException If the locale contains invalid characters + */ + public function setLocale($locale); + + /** + * Returns the current locale. + * + * @return string The locale + */ + public function getLocale(); +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Util/ArrayConverter.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Util/ArrayConverter.php new file mode 100644 index 0000000..60a55e9 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Util/ArrayConverter.php @@ -0,0 +1,99 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Util; + +/** + * ArrayConverter generates tree like structure from a message catalogue. + * e.g. this + * 'foo.bar1' => 'test1', + * 'foo.bar2' => 'test2' + * converts to follows: + * foo: + * bar1: test1 + * bar2: test2. + * + * @author Gennady Telegin + */ +class ArrayConverter +{ + /** + * Converts linear messages array to tree-like array. + * For example this rray('foo.bar' => 'value') will be converted to array('foo' => array('bar' => 'value')). + * + * @param array $messages Linear messages array + * + * @return array Tree-like messages array + */ + public static function expandToTree(array $messages) + { + $tree = array(); + + foreach ($messages as $id => $value) { + $referenceToElement = &self::getElementByPath($tree, explode('.', $id)); + + $referenceToElement = $value; + + unset($referenceToElement); + } + + return $tree; + } + + private static function &getElementByPath(array &$tree, array $parts) + { + $elem = &$tree; + $parentOfElem = null; + + foreach ($parts as $i => $part) { + if (isset($elem[$part]) && is_string($elem[$part])) { + /* Process next case: + * 'foo': 'test1', + * 'foo.bar': 'test2' + * + * $tree['foo'] was string before we found array {bar: test2}. + * Treat new element as string too, e.g. add $tree['foo.bar'] = 'test2'; + */ + $elem = &$elem[ implode('.', array_slice($parts, $i)) ]; + break; + } + $parentOfElem = &$elem; + $elem = &$elem[$part]; + } + + if (is_array($elem) && count($elem) > 0 && $parentOfElem) { + /* Process next case: + * 'foo.bar': 'test1' + * 'foo': 'test2' + * + * $tree['foo'] was array = {bar: 'test1'} before we found string constant `foo`. + * Cancel treating $tree['foo'] as array and cancel back it expansion, + * e.g. make it $tree['foo.bar'] = 'test1' again. + */ + self::cancelExpand($parentOfElem, $part, $elem); + } + + return $elem; + } + + private static function cancelExpand(array &$tree, $prefix, array $node) + { + $prefix .= '.'; + + foreach ($node as $id => $value) { + if (is_string($value)) { + $tree[$prefix.$id] = $value; + } else { + self::cancelExpand($tree, $prefix.$id, $value); + } + } + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Writer/TranslationWriter.php b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Writer/TranslationWriter.php new file mode 100644 index 0000000..44ac182 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/Writer/TranslationWriter.php @@ -0,0 +1,87 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Translation\Writer; + +use Symfony\Component\Translation\MessageCatalogue; +use Symfony\Component\Translation\Dumper\DumperInterface; + +/** + * TranslationWriter writes translation messages. + * + * @author Michel Salib + */ +class TranslationWriter +{ + /** + * Dumpers used for export. + * + * @var array + */ + private $dumpers = array(); + + /** + * Adds a dumper to the writer. + * + * @param string $format The format of the dumper + * @param DumperInterface $dumper The dumper + */ + public function addDumper($format, DumperInterface $dumper) + { + $this->dumpers[$format] = $dumper; + } + + /** + * Disables dumper backup. + */ + public function disableBackup() + { + foreach ($this->dumpers as $dumper) { + $dumper->setBackup(false); + } + } + + /** + * Obtains the list of supported formats. + * + * @return array + */ + public function getFormats() + { + return array_keys($this->dumpers); + } + + /** + * Writes translation from the catalogue according to the selected format. + * + * @param MessageCatalogue $catalogue The message catalogue to dump + * @param string $format The format to use to dump the messages + * @param array $options Options that are passed to the dumper + * + * @throws \InvalidArgumentException + */ + public function writeTranslations(MessageCatalogue $catalogue, $format, $options = array()) + { + if (!isset($this->dumpers[$format])) { + throw new \InvalidArgumentException(sprintf('There is no dumper associated with format "%s".', $format)); + } + + // get the right dumper + $dumper = $this->dumpers[$format]; + + if (isset($options['path']) && !is_dir($options['path'])) { + mkdir($options['path'], 0777, true); + } + + // save + $dumper->dump($catalogue, $options); + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/composer.json b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/composer.json new file mode 100644 index 0000000..916cd1a --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/composer.json @@ -0,0 +1,48 @@ +{ + "name": "symfony/translation", + "type": "library", + "description": "Symfony Translation Component", + "keywords": [], + "homepage": "https://symfony.com", + "license": "MIT", + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "require": { + "php": ">=5.5.9", + "symfony/polyfill-mbstring": "~1.0" + }, + "require-dev": { + "symfony/config": "~2.8|~3.0", + "symfony/intl": "~2.8|~3.0", + "symfony/yaml": "~2.8|~3.0", + "psr/log": "~1.0" + }, + "conflict": { + "symfony/config": "<2.8" + }, + "suggest": { + "symfony/config": "", + "symfony/yaml": "", + "psr/log": "To use logging capability in translator" + }, + "autoload": { + "psr-4": { "Symfony\\Component\\Translation\\": "" }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "minimum-stability": "dev", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/symfony/translation/phpunit.xml.dist b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/phpunit.xml.dist new file mode 100644 index 0000000..c25ec5e --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/symfony/translation/phpunit.xml.dist @@ -0,0 +1,28 @@ + + + + + + + + + + ./Tests/ + + + + + + ./ + + ./Tests + ./vendor + + + + diff --git a/wp-content/plugins/google-calendar-events/vendor/xrstf/composer-php52/LICENSE b/wp-content/plugins/google-calendar-events/vendor/xrstf/composer-php52/LICENSE new file mode 100644 index 0000000..0e81028 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/xrstf/composer-php52/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2013 Christoph Mewes + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is furnished +to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/wp-content/plugins/google-calendar-events/vendor/xrstf/composer-php52/README.md b/wp-content/plugins/google-calendar-events/vendor/xrstf/composer-php52/README.md new file mode 100644 index 0000000..8ac9311 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/xrstf/composer-php52/README.md @@ -0,0 +1,29 @@ +PHP 5.2 Autoloading for Composer +================================ + +This package provides an easy way to get a PHP 5.2 compatible autoloader out of Composer. The generated autoloader is fully compatible to the original and is written into separate files, each ending with `_52.php`. + +Usage +----- + +In your project's `composer.json`, add the following lines: + + :::json + { + "require": { + "xrstf/composer-php52": "1.*" + }, + "scripts": { + "post-install-cmd": [ + "xrstf\\Composer52\\Generator::onPostInstallCmd" + ], + "post-update-cmd": [ + "xrstf\\Composer52\\Generator::onPostInstallCmd" + ], + "post-autoload-dump": [ + "xrstf\\Composer52\\Generator::onPostInstallCmd" + ] + } + } + +After the next update/install, you will have a `vendor/autoload_52.php` file, that you can simply include and use in PHP 5.2 projects. diff --git a/wp-content/plugins/google-calendar-events/vendor/xrstf/composer-php52/composer.json b/wp-content/plugins/google-calendar-events/vendor/xrstf/composer-php52/composer.json new file mode 100644 index 0000000..9601873 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/xrstf/composer-php52/composer.json @@ -0,0 +1,27 @@ +{ + "name": "xrstf/composer-php52", + "license": "MIT", + "homepage": "http://www.xrstf.de/", + "support": { + "source": "https://bitbucket.org/xrstf/composer-php52", + "issues": "https://bitbucket.org/xrstf/composer-php52/issues" + }, + "autoload": { + "psr-0": { + "xrstf\\Composer52": "lib/" + } + }, + "scripts": { + "post-install-cmd": [ + "xrstf\\Composer52\\Generator::onPostInstallCmd" + ], + "post-update-cmd": [ + "xrstf\\Composer52\\Generator::onPostInstallCmd" + ] + }, + "extra": { + "branch-alias": { + "dev-default": "1.x-dev" + } + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/xrstf/composer-php52/lib/xrstf/Composer52/AutoloadGenerator.php b/wp-content/plugins/google-calendar-events/vendor/xrstf/composer-php52/lib/xrstf/Composer52/AutoloadGenerator.php new file mode 100644 index 0000000..8a27fc8 --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/xrstf/composer-php52/lib/xrstf/Composer52/AutoloadGenerator.php @@ -0,0 +1,346 @@ + + * - Jordi Boggiano + */ + +namespace xrstf\Composer52; + +use Composer\Autoload\AutoloadGenerator as BaseGenerator; +use Composer\Autoload\ClassMapGenerator; +use Composer\Config; +use Composer\Installer\InstallationManager; +use Composer\Package\AliasPackage; +use Composer\Package\PackageInterface; +use Composer\Repository\InstalledRepositoryInterface; +use Composer\Util\Filesystem; + +class AutoloadGenerator extends BaseGenerator { + + /** + * @var bool + */ + private $classMapAuthoritative = false; + + public function __construct() { + // do nothing (but keep this constructor so we can build an instance without the need for an event dispatcher) + } + + /** + * Whether or not generated autoloader considers the class map + * authoritative. + * + * @param bool $classMapAuthoritative + */ + public function setClassMapAuthoritative($classMapAuthoritative) + { + $this->classMapAuthoritative = (boolean) $classMapAuthoritative; + } + + public function dump(Config $config, InstalledRepositoryInterface $localRepo, PackageInterface $mainPackage, InstallationManager $installationManager, $targetDir, $scanPsr0Packages = false, $suffix = '') { + if ($this->classMapAuthoritative) { + // Force scanPsr0Packages when classmap is authoritative + $scanPsr0Packages = true; + } + + $filesystem = new Filesystem(); + $filesystem->ensureDirectoryExists($config->get('vendor-dir')); + + $cwd = getcwd(); + $basePath = $filesystem->normalizePath($cwd); + $vendorPath = $filesystem->normalizePath(realpath($config->get('vendor-dir'))); + $targetDir = $vendorPath.'/'.$targetDir; + $filesystem->ensureDirectoryExists($targetDir); + + $useGlobalIncludePath = (bool) $config->get('use-include-path'); + $prependAutoloader = $config->get('prepend-autoloader') === false ? 'false' : 'true'; + $classMapAuthoritative = $config->get('classmap-authoritative'); + + $vendorPathCode = $filesystem->findShortestPathCode(realpath($targetDir), $vendorPath, true); + $vendorPathToTargetDirCode = $filesystem->findShortestPathCode($vendorPath, realpath($targetDir), true); + + $appBaseDirCode = $filesystem->findShortestPathCode($vendorPath, $basePath, true); + $appBaseDirCode = str_replace('__DIR__', '$vendorDir', $appBaseDirCode); + + // add 5.2 compat + $vendorPathCode = str_replace('__DIR__', 'dirname(__FILE__)', $vendorPathCode); + $vendorPathToTargetDirCode = str_replace('__DIR__', 'dirname(__FILE__)', $vendorPathToTargetDirCode); + + $packageMap = $this->buildPackageMap($installationManager, $mainPackage, $localRepo->getCanonicalPackages()); + $autoloads = $this->parseAutoloads($packageMap, $mainPackage); + + // add custom psr-0 autoloading if the root package has a target dir + $targetDirLoader = null; + $mainAutoload = $mainPackage->getAutoload(); + if ($mainPackage->getTargetDir() && !empty($mainAutoload['psr-0'])) { + $levels = count(explode('/', $filesystem->normalizePath($mainPackage->getTargetDir()))); + $prefixes = implode(', ', array_map(function ($prefix) { + return var_export($prefix, true); + }, array_keys($mainAutoload['psr-0']))); + + $baseDirFromTargetDirCode = $filesystem->findShortestPathCode($targetDir, $basePath, true); + + $targetDirLoader = <<isPHP53($functionFile)) { + $filesCode .= '// require '.$this->getPathCode($filesystem, $basePath, $vendorPath, $functionFile)."; // disabled because of PHP 5.3 syntax\n"; + } + else { + $filesCode .= ' require '.$this->getPathCode($filesystem, $basePath, $vendorPath, $functionFile).";\n"; + } + } + + if (!$suffix) { + $suffix = md5(uniqid('', true)); + } + + $includePathFile = $this->getIncludePathsFile($packageMap, $filesystem, $basePath, $vendorPath, $vendorPathCode, $appBaseDirCode); + + file_put_contents($vendorPath.'/autoload_52.php', $this->getAutoloadFile($vendorPathToTargetDirCode, $suffix)); + file_put_contents($targetDir.'/autoload_real_52.php', $this->getAutoloadRealFile(true, (bool) $includePathFile, $targetDirLoader, $filesCode, $vendorPathCode, $appBaseDirCode, $suffix, $useGlobalIncludePath, $prependAutoloader)); + + // use stream_copy_to_stream instead of copy + // to work around https://bugs.php.net/bug.php?id=64634 + $sourceLoader = fopen(__DIR__.'/ClassLoader.php', 'r'); + $targetLoader = fopen($targetDir.'/ClassLoader52.php', 'w+'); + stream_copy_to_stream($sourceLoader, $targetLoader); + fclose($sourceLoader); + fclose($targetLoader); + unset($sourceLoader, $targetLoader); + } + + protected function isPHP53($file) { + $tokens = token_get_all(file_get_contents($file)); + $php53 = array(T_DIR, T_GOTO, T_NAMESPACE, T_NS_C, T_NS_SEPARATOR, T_USE); + + // PHP 5.4+ + if (defined('T_TRAIT')) { + $php53[] = T_TRAIT; + $php53[] = T_TRAIT_C; + $php53[] = T_TRAIT_C; + } + + // PHP 5.5+ + if (defined('T_FINALLY')) { + $php53[] = T_FINALLY; + $php53[] = T_YIELD; + } + + foreach ($tokens as $token) { + if (is_array($token) && in_array($token[0], $php53)) { + return true; + } + } + + return false; + } + + protected function getIncludePathsFile(array $packageMap, Filesystem $filesystem, $basePath, $vendorPath, $vendorPathCode, $appBaseDirCode) { + $includePaths = array(); + + foreach ($packageMap as $item) { + list($package, $installPath) = $item; + + if (null !== $package->getTargetDir() && strlen($package->getTargetDir()) > 0) { + $installPath = substr($installPath, 0, -strlen('/'.$package->getTargetDir())); + } + + foreach ($package->getIncludePaths() as $includePath) { + $includePath = trim($includePath, '/'); + $includePaths[] = empty($installPath) ? $includePath : $installPath.'/'.$includePath; + } + } + + if (!$includePaths) { + return; + } + + $includePathsFile = <<getPathCode($filesystem, $basePath, $vendorPath, $path) . ",\n"; + } + + return $includePathsFile . ");\n"; + } + + protected function getAutoloadFile($vendorPathToTargetDirCode, $suffix) { + return << $path) { + $loader->add($namespace, $path); + } + + +PSR0; + + if ($useClassMap) { + $file .= <<<'CLASSMAP' + $classMap = require $dir.'/autoload_classmap.php'; + if ($classMap) { + $loader->addClassMap($classMap); + } + + +CLASSMAP; + } + + if ($this->classMapAuthoritative) { + $file .= <<<'CLASSMAPAUTHORITATIVE' + $loader->setClassMapAuthoritative(true); + +CLASSMAPAUTHORITATIVE; + } + + if ($useGlobalIncludePath) { + $file .= <<<'INCLUDEPATH' + $loader->setUseIncludePath(true); + + +INCLUDEPATH; + } + + if ($targetDirLoader) { + $file .= <<register($prependAutoloader);{$filesCode} + + return \$loader; + } + +METHOD_FOOTER; + + $file .= $targetDirLoader; + + return $file . <<
              + * - Jordi Boggiano + */ + +class xrstf_Composer52_ClassLoader { + private $prefixes = array(); + private $fallbackDirs = array(); + private $useIncludePath = false; + private $classMap = array(); + private $classMapAuthoratative = false; + private $allowUnderscore = false; + + /** + * @param boolean $flag true to allow class names with a leading underscore, false to disable + */ + public function setAllowUnderscore($flag) { + $this->allowUnderscore = (boolean) $flag; + } + + /** + * @return array + */ + public function getPrefixes() { + return $this->prefixes; + } + + /** + * Turns off searching the prefix and fallback directories for classes + * that have not been registered with the class map. + * + * @param bool $classMapAuthoratative + */ + public function setClassMapAuthoritative($classMapAuthoratative) { + $this->classMapAuthoratative = $classMapAuthoratative; + } + + /** + * Should class lookup fail if not found in the current class map? + * + * @return bool + */ + public function getClassMapAuthoratative() { + return $this->classMapAuthoratative; + } + + /** + * @return array + */ + public function getFallbackDirs() { + return $this->fallbackDirs; + } + + /** + * @return array + */ + public function getClassMap() { + return $this->classMap; + } + + /** + * @param array $classMap class to filename map + */ + public function addClassMap(array $classMap) { + if ($this->classMap) { + $this->classMap = array_merge($this->classMap, $classMap); + } + else { + $this->classMap = $classMap; + } + } + + /** + * Registers a set of classes, merging with any others previously set. + * + * @param string $prefix the classes prefix + * @param array|string $paths the location(s) of the classes + * @param bool $prepend prepend the location(s) + */ + public function add($prefix, $paths, $prepend = false) { + if (!$prefix) { + if ($prepend) { + $this->fallbackDirs = array_merge( + (array) $paths, + $this->fallbackDirs + ); + } + else { + $this->fallbackDirs = array_merge( + $this->fallbackDirs, + (array) $paths + ); + } + + return; + } + + if (!isset($this->prefixes[$prefix])) { + $this->prefixes[$prefix] = (array) $paths; + return; + } + + if ($prepend) { + $this->prefixes[$prefix] = array_merge( + (array) $paths, + $this->prefixes[$prefix] + ); + } + else { + $this->prefixes[$prefix] = array_merge( + $this->prefixes[$prefix], + (array) $paths + ); + } + } + + /** + * Registers a set of classes, replacing any others previously set. + * + * @param string $prefix the classes prefix + * @param array|string $paths the location(s) of the classes + */ + public function set($prefix, $paths) { + if (!$prefix) { + $this->fallbackDirs = (array) $paths; + return; + } + + $this->prefixes[$prefix] = (array) $paths; + } + + /** + * Turns on searching the include path for class files. + * + * @param bool $useIncludePath + */ + public function setUseIncludePath($useIncludePath) { + $this->useIncludePath = $useIncludePath; + } + + /** + * Can be used to check if the autoloader uses the include path to check + * for classes. + * + * @return bool + */ + public function getUseIncludePath() { + return $this->useIncludePath; + } + + /** + * Registers this instance as an autoloader. + */ + public function register() { + spl_autoload_register(array($this, 'loadClass'), true); + } + + /** + * Unregisters this instance as an autoloader. + */ + public function unregister() { + spl_autoload_unregister(array($this, 'loadClass')); + } + + /** + * Loads the given class or interface. + * + * @param string $class the name of the class + * @return bool|null true, if loaded + */ + public function loadClass($class) { + if ($file = $this->findFile($class)) { + include $file; + return true; + } + } + + /** + * Finds the path to the file where the class is defined. + * + * @param string $class the name of the class + * @return string|null the path, if found + */ + public function findFile($class) { + if ('\\' === $class[0]) { + $class = substr($class, 1); + } + + if (isset($this->classMap[$class])) { + return $this->classMap[$class]; + } + elseif ($this->classMapAuthoratative) { + return false; + } + + $classPath = $this->getClassPath($class); + + foreach ($this->prefixes as $prefix => $dirs) { + if (0 === strpos($class, $prefix)) { + foreach ($dirs as $dir) { + if (file_exists($dir.DIRECTORY_SEPARATOR.$classPath)) { + return $dir.DIRECTORY_SEPARATOR.$classPath; + } + } + } + } + + foreach ($this->fallbackDirs as $dir) { + if (file_exists($dir.DIRECTORY_SEPARATOR.$classPath)) { + return $dir.DIRECTORY_SEPARATOR.$classPath; + } + } + + if ($this->useIncludePath && $file = self::resolveIncludePath($classPath)) { + return $file; + } + + return $this->classMap[$class] = false; + } + + private function getClassPath($class) { + if (false !== $pos = strrpos($class, '\\')) { + // namespaced class name + $classPath = str_replace('\\', DIRECTORY_SEPARATOR, substr($class, 0, $pos)).DIRECTORY_SEPARATOR; + $className = substr($class, $pos + 1); + } + else { + // PEAR-like class name + $classPath = null; + $className = $class; + } + + $className = str_replace('_', DIRECTORY_SEPARATOR, $className); + + // restore the prefix + if ($this->allowUnderscore && DIRECTORY_SEPARATOR === $className[0]) { + $className[0] = '_'; + } + + $classPath .= $className.'.php'; + + return $classPath; + } + + public static function resolveIncludePath($classPath) { + $paths = explode(PATH_SEPARATOR, get_include_path()); + + foreach ($paths as $path) { + $path = rtrim($path, '/\\'); + + if ($file = file_exists($path.DIRECTORY_SEPARATOR.$file)) { + return $file; + } + } + + return false; + } +} diff --git a/wp-content/plugins/google-calendar-events/vendor/xrstf/composer-php52/lib/xrstf/Composer52/Generator.php b/wp-content/plugins/google-calendar-events/vendor/xrstf/composer-php52/lib/xrstf/Composer52/Generator.php new file mode 100644 index 0000000..7c8af4d --- /dev/null +++ b/wp-content/plugins/google-calendar-events/vendor/xrstf/composer-php52/lib/xrstf/Composer52/Generator.php @@ -0,0 +1,39 @@ +getComposer(); + $installationManager = $composer->getInstallationManager(); + $repoManager = $composer->getRepositoryManager(); + $localRepo = $repoManager->getLocalRepository(); + $package = $composer->getPackage(); + $config = $composer->getConfig(); + + // We can't gain access to the Command's input object, so we have to look + // for -o / --optimize-autoloader ourselves. Sadly, neither getopt() works + // (always returns an empty array), nor does Symfony's Console Input, as + // it expects a full definition of the current command line and we can't + // provide that. + + $args = $_SERVER['argv']; + $optimize = in_array('-o', $args) || in_array('--optimize-autoloader', $args) || in_array('--optimize', $args); + + $suffix = $config->get('autoloader-suffix'); + + $generator = new AutoloadGenerator(); + $generator->dump($config, $localRepo, $package, $installationManager, 'composer', $optimize, $suffix); + } +} diff --git a/wp-content/plugins/google-calendar-events/views/admin/admin.php b/wp-content/plugins/google-calendar-events/views/admin/admin.php deleted file mode 100644 index ef2ca5f..0000000 --- a/wp-content/plugins/google-calendar-events/views/admin/admin.php +++ /dev/null @@ -1,39 +0,0 @@ -, Nick Young - */ - -// Exit if accessed directly. -if ( ! defined( 'ABSPATH' ) ) { - exit; -} - -//global $gce_options; - -?> - -
              - -
              -
              -

              - -
              - -
              -
              -
              -
              \ No newline at end of file diff --git a/wp-content/plugins/google-calendar-events/views/admin/display-options-meta.php b/wp-content/plugins/google-calendar-events/views/admin/display-options-meta.php deleted file mode 100644 index 3a4842e..0000000 --- a/wp-content/plugins/google-calendar-events/views/admin/display-options-meta.php +++ /dev/null @@ -1,112 +0,0 @@ -, Nick Young - * @license GPL-2.0+ - * @copyright 2014 Phil Derksen - */ - - global $post; - - $post_id = $post->ID; - - // Load up all post meta data - $gce_display_start = get_post_meta( $post->ID, 'gce_display_start', true ); - $gce_display_start_text = get_post_meta( $post->ID, 'gce_display_start_text', true ); - $gce_display_end = get_post_meta( $post->ID, 'gce_display_end', true ); - $gce_display_end_text = get_post_meta( $post->ID, 'gce_display_end_text', true ); - $gce_display_separator = get_post_meta( $post->ID, 'gce_display_separator', true ); - $gce_display_location = get_post_meta( $post->ID, 'gce_display_location', true ); - $gce_display_location_text = get_post_meta( $post->ID, 'gce_display_location_text', true ); - $gce_display_description = get_post_meta( $post->ID, 'gce_display_description', true ); - $gce_display_description_text = get_post_meta( $post->ID, 'gce_display_description_text', true ); - $gce_display_description_max = get_post_meta( $post->ID, 'gce_display_description_max', true ); - $gce_display_link = get_post_meta( $post->ID, 'gce_display_link', true ); - $gce_display_link_tab = get_post_meta( $post->ID, 'gce_display_link_tab', true ); - $gce_display_link_text = get_post_meta( $post->ID, 'gce_display_link_text', true ); - $gce_display_simple = get_post_meta( $post->ID, 'gce_display_simple', true ); - -?> - - -
              -
              -

              - /> - -

              -
              - -
              - - - - - -
              - -
              - - - - - -
              - -
              - - - -
              - -
              - -

              /> -

              - - -
              - -
              - -

              - /> - -

              - - - - -
              - -
              - -

              - /> - -

              -

              - /> - -

              - - -
              -
              diff --git a/wp-content/plugins/google-calendar-events/views/admin/gce-feed-meta-display.php b/wp-content/plugins/google-calendar-events/views/admin/gce-feed-meta-display.php deleted file mode 100644 index 4c683c6..0000000 --- a/wp-content/plugins/google-calendar-events/views/admin/gce-feed-meta-display.php +++ /dev/null @@ -1,289 +0,0 @@ -, Nick Young - * @license GPL-2.0+ - * @copyright 2014 Phil Derksen - */ - - global $post; - - $post_id = $post->ID; - - // Clear the cache if the button was clicked to do so - if( isset( $_GET['clear_cache'] ) && $_GET['clear_cache'] == 1 ) { - gce_clear_cache( $post_id ); - } - - // Load up all post meta data - $gce_feed_url = get_post_meta( $post->ID, 'gce_feed_url', true ); - $gce_date_format = get_post_meta( $post->ID, 'gce_date_format', true ); - $gce_time_format = get_post_meta( $post->ID, 'gce_time_format', true ); - $gce_cache = get_post_meta( $post->ID, 'gce_cache', true ); - $gce_multi_day_events = get_post_meta( $post->ID, 'gce_multi_day_events', true ); - $gce_display_mode = get_post_meta( $post->ID, 'gce_display_mode', true ); - $gce_search_query = get_post_meta( $post->ID, 'gce_search_query', true ); - $gce_expand_recurring = get_post_meta( $post->ID, 'gce_expand_recurring', true ); - $gce_paging = get_post_meta( $post->ID, 'gce_paging', true ); - $gce_events_per_page = get_post_meta( $post->ID, 'gce_events_per_page', true ); - $gce_per_page_num = get_post_meta( $post->ID, 'gce_per_page_num', true ); - $gce_list_start_offset_num = get_post_meta( $post->ID, 'gce_list_start_offset_num', true ); - $gce_list_start_offset_direction = get_post_meta( $post->ID, 'gce_list_start_offset_direction', true ); - $gce_feed_start = get_post_meta( $post->ID, 'gce_feed_start', true ); - $gce_feed_start_num = get_post_meta( $post->ID, 'gce_feed_start_num', true ); - $gce_feed_end = get_post_meta( $post->ID, 'gce_feed_end', true ); - $gce_feed_end_num = get_post_meta( $post->ID, 'gce_feed_end_num', true ); - $gce_feed_range_start = get_post_meta( $post->ID, 'gce_feed_range_start', true ); - $gce_feed_range_end = get_post_meta( $post->ID, 'gce_feed_range_end', true ); - - $range = selected( $gce_display_mode, 'date-range-list', false ) || selected( $gce_display_mode, 'date-range-grid', false ); - $use_range = ( $range ? true : false ); - - if( empty( $gce_events_per_page ) ) { - $gce_events_per_page = 'days'; - } - - $gce_show_tooltips = get_post_meta( $post->ID, 'gce_show_tooltips', true ); - - if( empty( $gce_list_start_offset_num ) ) { - $gce_list_start_offset_num = 0; - } - - if( empty( $gce_feed_start ) ) { - $gce_feed_start = 'years'; - } - - if( empty( $gce_feed_end ) ) { - $gce_feed_end = 'years'; - } - - if( empty( $gce_per_page_num ) ) { - $gce_per_page_num = 7; - } -?> - -
              - - - - - - -
              - - - - - - - - - - - - ID, '_feed_timezone_setting', true ) ); - - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
              - - -

              - - -

              -
              - -

              - :
              - umsb0ekhivs1a2ubtq6vlqvcjk@group.calendar.google.com
              - -

              -
              - -

              - -

              -
              - -

              -
              - /> -

              -
              - /> -

              -
              - -

              -
              - - - - -

              -
              - - -

              -
              - - - - -

              - -
              - Note: Total events are currently limited to 2,500 by the Google Calendar API.', 'gce' ); ?> -

              -
              - - - - -

              -
              - - - - -

              -
              -
              - /> - -
              - /> - -
              - -

              - ', '' ); ?> - -

              -
              - -

              - ', '' ); ?> - -

              -
              - -

              -
              -
              - -
              diff --git a/wp-content/plugins/google-calendar-events/views/admin/gce-feed-sidebar-help.php b/wp-content/plugins/google-calendar-events/views/admin/gce-feed-sidebar-help.php deleted file mode 100644 index 7c0fd76..0000000 --- a/wp-content/plugins/google-calendar-events/views/admin/gce-feed-sidebar-help.php +++ /dev/null @@ -1,28 +0,0 @@ -
              - - -

              - :) -

              -
              - - -
              - -
              diff --git a/wp-content/plugins/google-calendar-events/views/widgets.php b/wp-content/plugins/google-calendar-events/views/widgets.php deleted file mode 100644 index 09ad396..0000000 --- a/wp-content/plugins/google-calendar-events/views/widgets.php +++ /dev/null @@ -1,334 +0,0 @@ -, Nick Young - * @license GPL-2.0+ - * @copyright 2014 Phil Derksen - */ - -// Exit if accessed directly. -if ( ! defined( 'ABSPATH' ) ) { - exit; -} - -/** - * Class functions for the GCE widgets - * - * @since 2.0.0 - */ -class GCE_Widget extends WP_Widget { - - function GCE_Widget() { - parent::__construct( - false, // Adding a name here doesn't seem to affect the upgrade. If widget stuff starts acting weird then check this first though. - $name = __( 'Google Calendar Events', 'gce' ), - array( 'description' => __( 'Display a list or calendar grid of events from one or more Google Calendar feeds you have added', 'gce' ) ) - ); - } - - /** - * Widget HTML output - * - * @since 2.0.0 - */ - function widget( $args, $instance ) { - extract( $args ); - - //Output before widget stuff - echo $before_widget; - - $paging = ( isset( $instance['paging'] ) ? $instance['paging'] : null ); - $max_num = ( isset( $instance['per_page_num'] ) ? $instance['per_page_num'] : null ); - $max_length = ( isset( $instance['events_per_page'] ) ? $instance['events_per_page'] : null ); - $max_events = null; - $display_type = ( isset( $instance['display_type'] ) ? $instance['display_type'] : null ); - - // Start offset - $offset_num = ( isset( $instance['list_start_offset_num'] ) ? $instance['list_start_offset_num'] : 0 ); - $offset_length = 86400; - $offset_direction = ( isset( $instance['list_start_offset_direction'] ) ? $instance['list_start_offset_direction'] : null ); - - $invalid_id = false; - - - // Get custom date range if set - if( 'date-range-list' == $display_type || 'date-range-grid' == $display_type ) { - $range_start = ( isset( $instance['feed_range_start'] ) ? $instance['feed_range_start'] : null ); - $range_end = ( isset( $instance['feed_range_end'] ) ? $instance['feed_range_end'] : null ); - - if( $range_start !== null && ! empty( $range_start ) ) { - $range_start = gce_date_unix( $range_start ); - } - - if( $range_end !== null && ! empty( $range_end ) ) { - $range_end = gce_date_unix( $range_end ); - } - } - - if( ! isset( $instance['show_tooltips'] ) ) { - $show_tooltips = 1; - } else { - $show_tooltips = ( isset( $instance['show_tooltips'] ) ? $instance['show_tooltips'] : 'false' ); - } - - - if( $offset_direction == 'back' ) { - $offset_direction = -1; - } else { - $offset_direction = 1; - } - - $start_offset = $offset_num * $offset_length * $offset_direction; - - $paging_interval = null; - - if( $display_type == 'date-range-list' || $display_type == 'date-range-grid' ) { - $max_length = 'date-range'; - } - - if( $max_length == 'days' ) { - $paging_interval = $max_num * 86400; - } else if( $max_length == 'events' ) { - $max_events = $max_num; - } else if( $max_length == 'week' ) { - $paging_interval = 604800; - } else if( $max_length == 'month' ) { - $paging_interval = 2629743; - } - - // Check whether any feeds have been added yet - if( wp_count_posts( 'gce_feed' )->publish > 0 ) { - //Output title stuff - $title = empty( $instance['title'] ) ? '' : apply_filters( 'widget_title', $instance['title'] ); - - if ( ! empty( $title ) ) { - echo $before_title . $title . $after_title; - } - - $no_feeds_exist = true; - $feed_ids = array(); - - if ( ! empty( $instance['id'] ) ) { - //Break comma delimited list of feed ids into array - $feed_ids = explode( ',', str_replace( ' ', '', $instance['id'] ) ); - - //Check each id is an integer, if not, remove it from the array - foreach ( $feed_ids as $key => $feed_id ) { - if ( 0 == absint( $feed_id ) ) { - unset( $feed_ids[$key] ); - } - - if( ! ( 'publish' == get_post_status( $feed_id ) ) ) { - $invalid_id = true; - } - } - - //If at least one of the feed ids entered exists, set no_feeds_exist to false - foreach ( $feed_ids as $feed_id ) { - if ( false !== get_post_meta( $feed_id ) ) - $no_feeds_exist = false; - } - - foreach( $feed_ids as $feed_id ) { - if( $paging ) { - update_post_meta( $feed_id, 'gce_paging_widget', true ); - } else { - delete_post_meta( $feed_id, 'gce_paging_widget' ); - } - - update_post_meta( $feed_id, 'gce_widget_paging_interval', $paging_interval ); - } - } else { - if ( current_user_can( 'manage_options' ) ) { - _e( 'No valid Feed IDs have been entered for this widget. Please check that you have entered the IDs correctly in the widget settings (Appearance > Widgets), and that the Feeds have not been deleted.', 'gce' ); - } - } - - //Check that at least one valid feed id has been entered - if ( ! empty( $feed_ids ) ) { - //Turns feed_ids back into string or feed ids delimited by '-' ('1-2-3-4' for example) - $feed_ids = implode( '-', $feed_ids ); - - $title_text = ( ! empty( $instance['display_title_text'] ) ? $instance['display_title_text'] : null ); - $sort_order = ( isset( $instance['order'] ) ) ? $instance['order'] : 'asc'; - - $args = array( - 'title_text' => $title_text, - 'sort' => $sort_order, - 'month' => null, - 'year' => null, - 'widget' => 1, - 'max_events' => $max_events, - 'start_offset' => $start_offset, - 'paging_type' => $max_length, - 'max_num' => $max_num, - 'show_tooltips' => $show_tooltips - ); - - if( 'list-grouped' == $display_type ) { - $args['grouped'] = 1; - } - - if( 'date-range-list' == $display_type ) { - $args['max_events'] = INF; - $args['max_num'] = INF; - } - - $markup = gce_print_calendar( $feed_ids, $display_type, $args, true ); - - if( ! $invalid_id ) { - echo $markup; - } else { - if( current_user_can( 'manage_options' ) ) { - echo '

              ' . __( 'There was a problem with one or more of your feed IDs. Please check your widget settings and make sure they are correct.', 'gce' ) . '

              '; - } - } - } - } else { - if( current_user_can( 'manage_options' ) ) { - _e( 'You have not added any feeds yet.', 'gce' ); - } else { - echo ''; - } - } - - //Output after widget stuff - echo $after_widget; - } - - /** - * Update settings when saved - * - * @since 2.0.0 - */ - function update( $new_instance, $old_instance ) { - - $instance = $old_instance; - $instance['title'] = esc_html( $new_instance['title'] ); - $instance['id'] = esc_html( $new_instance['id'] ); - $instance['display_type'] = esc_html( $new_instance['display_type'] ); - $instance['order'] = ( 'asc' == $new_instance['order'] ) ? 'asc' : 'desc'; - $instance['display_title_text'] = esc_html( $new_instance['display_title_text'] ); - $instance['paging'] = ( isset( $new_instance['paging'] ) ? 1 : 0 ); - $instance['list_start_offset_num'] = $new_instance['list_start_offset_num']; - $instance['list_start_offset_direction'] = $new_instance['list_start_offset_direction']; - $instance['per_page_num'] = $new_instance['per_page_num']; - $instance['events_per_page'] = $new_instance['events_per_page']; - $instance['show_tooltips'] = ( isset( $new_instance['show_tooltips'] ) ? 1 : 0 ); - - return $instance; - } - - /** - * - * @param type $instanceDisplay widget form in admin - * - * @since 2.0.0 - */ - function form( $instance ) { - - // Check for existing feeds and if there are none then display a message and return - if( wp_count_posts( 'gce_feed' )->publish <= 0 ) { - echo '

              ' . __( 'There are no feeds created yet.', 'gce' ) . - ' ' . __( 'Add your first feed!', 'gce' ) . '' . - '

              '; - return; - } - - $title = ( isset( $instance['title'] ) ) ? $instance['title'] : ''; - $ids = ( isset( $instance['id'] ) ) ? $instance['id'] : ''; - $display_type = ( isset( $instance['display_type'] ) ) ? $instance['display_type'] : 'grid'; - $order = ( isset( $instance['order'] ) ) ? $instance['order'] : 'asc'; - $display_title = ( isset( $instance['display_title'] ) ) ? $instance['display_title'] : true; - $title_text = ( isset( $instance['display_title_text'] ) ) ? $instance['display_title_text'] : __( 'Events on', 'gce' ); - $paging = ( isset( $instance['paging'] ) ? $instance['paging'] : 1 ); - - $per_page_num = ( isset( $instance['per_page_num'] ) && ! empty( $instance['per_page_num'] ) ? $instance['per_page_num'] : 7 ); - $events_per_page = ( isset( $instance['events_per_page'] ) ? $instance['events_per_page'] : 'days' ); - - $list_start_offset_num = ( isset( $instance['list_start_offset_num'] ) && ! empty( $instance['list_start_offset_num'] ) ? $instance['list_start_offset_num'] : 0 ); - $list_start_offset_direction = ( isset( $instance['list_start_offset_direction'] ) ? $instance['list_start_offset_direction'] : 'back' ); - $show_tooltips = ( isset( $instance['show_tooltips'] ) ? $instance['show_tooltips'] : 1 ); - - $use_range = ( ( selected( $display_type, 'date-range-list', false ) || selected( $display_type, 'date-range-grid', false ) ) ? true : false ); - - ?> -

              - - -

              -

              - - -

              - -

              - - -

              - -

              - - -

              - -

              -
              - - - - -

              - - - - - -

              -
              - - -
              - -

              - -

              - - -

              - -

              - > - -
              - > - -

              - - rand_unique( $used ); $this->slots[$index] = $this->admin_menu_editor(); $used[] = $index; - - if ( date('Y-m-d') < date('Y-m-d', strtotime('2015-11-03')) ) { - $index = $this->rand_unique( $used ); - $this->slots[$index] = $this->manage_wp(); - $used[] = $index; - } - + $index = $this->rand_unique( $used ); $this->slots[$index] = $this->wp_esignature(); $used[] = $index; @@ -65,23 +59,7 @@ class ure_Advertisement { return $output; } // end of admin_menu_editor() - - - // content of Manage WP advertisement slot - private function manage_wp() { - - $output = ' -
              - - ManageWP - -
              - '; - - return $output; - } - // end of manage_wp() - + // content of WP eSignature advertisement slot private function wp_esignature() { diff --git a/wp-content/plugins/user-role-editor/includes/class-protect-admin.php b/wp-content/plugins/user-role-editor/includes/class-protect-admin.php new file mode 100644 index 0000000..05a1f68 --- /dev/null +++ b/wp-content/plugins/user-role-editor/includes/class-protect-admin.php @@ -0,0 +1,181 @@ +lib = $lib; + $this->user_to_check = array(); + + // Exclude administrator role from edit list. + add_filter('editable_roles', array($this, 'exclude_admin_role')); + // prohibit any actions with user who has Administrator role + add_filter('user_has_cap', array($this, 'not_edit_admin'), 10, 3); + // exclude users with 'Administrator' role from users list + add_action('pre_user_query', array($this, 'exclude_administrators')); + // do not show 'Administrator (s)' view above users list + add_filter('views_users', array($this, 'exclude_admins_view')); + } + // end of __construct() + + + /** + * exclude administrator role from the roles list + * + * @param string $roles + * @return array + */ + public function exclude_admin_role($roles) { + + if (isset($roles['administrator'])) { + unset($roles['administrator']); + } + + return $roles; + } + // end of exclude_admin_role() + + + /** + * Check if user has "Administrator" role assigned + * + * @global wpdb $wpdb + * @param int $user_id + * @return boolean returns true is user has Role "Administrator" + */ + private function has_administrator_role($user_id) { + global $wpdb; + + if (empty($user_id) || !is_numeric($user_id)) { + return false; + } + + $table_name = $this->lib->get_usermeta_table_name(); + $meta_key = $wpdb->prefix . 'capabilities'; + $query = "SELECT count(*) + FROM $table_name + WHERE user_id=$user_id AND meta_key='$meta_key' AND meta_value like '%administrator%'"; + $has_admin_role = $wpdb->get_var($query); + if ($has_admin_role > 0) { + $result = true; + } else { + $result = false; + } + // cache checking result for the future use + $this->user_to_check[$user_id] = $result; + + return $result; + } + + // end of has_administrator_role() + + + /** + * We have two vulnerable queries with user id at admin interface, which should be processed + * 1st: http://blogdomain.com/wp-admin/user-edit.php?user_id=ID&wp_http_referer=%2Fwp-admin%2Fusers.php + * 2nd: http://blogdomain.com/wp-admin/users.php?action=delete&user=ID&_wpnonce=ab34225a78 + * If put Administrator user ID into such request, user with lower capabilities (if he has 'edit_users') + * can edit, delete admin record + * This function removes 'edit_users' capability from current user capabilities + * if request has admin user ID in it + * + * @param array $allcaps + * @param type $caps + * @param string $name + * @return array + */ + public function not_edit_admin($allcaps, $caps, $name) { + + $user_keys = array('user_id', 'user'); + foreach ($user_keys as $user_key) { + $access_deny = false; + $user_id = $this->lib->get_request_var($user_key, 'get'); + if (empty($user_id)) { + break; + } + if ($user_id == 1) { // built-in WordPress Admin + $access_deny = true; + } else { + if (!isset($this->user_to_check[$user_id])) { + // check if user_id has Administrator role + $access_deny = $this->has_administrator_role($user_id); + } else { + // user_id was checked already, get result from cash + $access_deny = $this->user_to_check[$user_id]; + } + } + if ($access_deny) { + unset($allcaps['edit_users']); + } + break; + } + + return $allcaps; + } + // end of not_edit_admin() + + + /** + * add where criteria to exclude users with 'Administrator' role from users list + * + * @global wpdb $wpdb + * @param type $user_query + */ + public function exclude_administrators($user_query) { + + global $wpdb; + + $result = false; + $links_to_block = array('profile.php', 'users.php'); + foreach ($links_to_block as $key => $value) { + $result = stripos($_SERVER['REQUEST_URI'], $value); + if ($result !== false) { + break; + } + } + + if ($result === false) { // block the user edit stuff only + return; + } + + // get user_id of users with 'Administrator' role + $tableName = $this->lib->get_usermeta_table_name(); + $meta_key = $wpdb->prefix . 'capabilities'; + $admin_role_key = '%"administrator"%'; + $query = "select user_id + from $tableName + where meta_key='$meta_key' and meta_value like '$admin_role_key'"; + $ids_arr = $wpdb->get_col($query); + if (is_array($ids_arr) && count($ids_arr) > 0) { + $ids = implode(',', $ids_arr); + $user_query->query_where .= " AND ( $wpdb->users.ID NOT IN ( $ids ) )"; + } + } + // end of exclude_administrators() + + + /* + * Exclude view of users with Administrator role + * + */ + public function exclude_admins_view($views) { + + unset($views['administrator']); + + return $views; + } + // end of exclude_admins_view() + +} +// end of URE_Protect_Admin class diff --git a/wp-content/plugins/user-role-editor/includes/class-role-additional-options.php b/wp-content/plugins/user-role-editor/includes/class-role-additional-options.php new file mode 100644 index 0000000..320952e --- /dev/null +++ b/wp-content/plugins/user-role-editor/includes/class-role-additional-options.php @@ -0,0 +1,134 @@ +lib = $lib; + $this->init(); + } + // end of __construct() + + + public static function get_instance($lib) { + + if (self::$instance===null) { + self::$instance = new URE_Role_Additional_Options($lib); + } + + return self::$instance; + } + // end of get_instance() + + + public static function create_item($id, $label, $hook, $routine) { + $item = new stdClass(); + $item->id = $id; + $item->label = $label; + $item->hook = $hook; + $item->routine = $routine; + + return $item; + } + // end of create_item() + + + public static function get_active_items() { + + $items = get_option(self::STORAGE_ID, array()); + + return $items; + } + + + private function init() { + + $this->items = array(); + $item = self::create_item('hide_admin_bar', esc_html__('Hide admin bar', 'user-role-editor'), 'init', 'ure_hide_admin_bar'); + $this->items[$item->id] = $item; + + // Allow other developers to modify the list of role's additonal options + $this->items = apply_filters('ure_role_additional_options', $this->items); + + $this->active_items = self::get_active_items(); + } + // end of init() + + + public function set_active_items_hooks() { + global $current_user; + + if (current_user_can('ure_edit_roles')) { + return; + } + + foreach($current_user->roles as $role) { + if (!isset($this->active_items[$role])) { + continue; + } + foreach(array_keys($this->active_items[$role]) as $item_id) { + add_action($this->items[$item_id]->hook, $this->items[$item_id]->routine); + } + } + + } + // end of set_active_items_hooks() + + + public function save($current_role) { + $this->active_items = self::get_active_items(); + $this->active_items[$current_role] = array(); + foreach($this->items as $item) { + if (isset($_POST[$item->id])) { + $this->active_items[$current_role][$item->id] = 1; + } + } + update_option(self::STORAGE_ID, $this->active_items); + + } + // end of save() + + + public function show($current_role) { + +?> + +
              + : + + + + + +
              + +items as $item) { + $checked = (isset($this->active_items[$current_role]) && + isset($this->active_items[$current_role][$item->id])) ? 'checked="checked"' : ''; + if (!$first_time) { +?> +
              + + > + + +
              +
              - +multisite && !is_network_admin()) { +?>
              role_default_html; ?>
              - +
              @@ -332,10 +337,20 @@ class Ure_Lib extends Garvs_WP_Lib {
              +
              +
              +
              +ure_object == 'user') ? 1400 : 1200; @@ -369,11 +384,12 @@ class Ure_Lib extends Garvs_WP_Lib {
              advertise_pro_version(); + $this->advertise_pro_version(); - if ($this->ure_object == 'role') { + if ($this->ure_object == 'role') { $this->output_role_edit_dialogs(); } + $this->output_confirmation_dialog(); ?>
              @@ -571,7 +587,7 @@ class Ure_Lib extends Garvs_WP_Lib { $this->notification = $this->init_current_role_name(); } $this->prepare_capabilities_to_save(); - $this->notification = $this->permissions_object_update($this->notification); + $this->notification = $this->permissions_object_update($this->notification); } else { do_action('ure_process_user_request'); } // if ($action @@ -637,7 +653,10 @@ class Ure_Lib extends Garvs_WP_Lib { } $this->init_full_capabilities(); - + if (empty($this->role_additional_options)) { + $this->role_additional_options = URE_Role_Additional_Options::get_instance($this); + } + if (!$this->is_pro()) { require_once(URE_PLUGIN_DIR . 'includes/class-advertisement.php'); } @@ -1172,7 +1191,7 @@ class Ure_Lib extends Garvs_WP_Lib { $onclick_for_admin = ''; if (!( $this->multisite && is_super_admin() )) { // do not limit SuperAdmin for multi-site if ($core && 'administrator' == $this->current_role) { - $onclick_for_admin = 'onclick="turn_it_back(this)"'; + $onclick_for_admin = 'onclick="ure_turn_it_back(this)"'; } } @@ -1337,10 +1356,14 @@ class Ure_Lib extends Garvs_WP_Lib { multisite && !is_network_admin()) { // Show for single site for WP multisite only ?>

              +
              false), 'objects'); + // do not forget attachment post type as it may use the own capabilities set + $attachment_post_type = get_post_type_object('attachment'); + if ($attachment_post_type->cap->edit_posts!=='edit_posts') { + $post_types['attachment'] = $attachment_post_type; + } + foreach($post_types as $post_type) { if (!isset($post_type->cap)) { continue; @@ -1786,6 +1816,12 @@ class Ure_Lib extends Garvs_WP_Lib { update_option($option_name, $this->roles); + // save additional options for the current role + if (empty($this->role_additional_options)) { + $this->role_additional_options = URE_Role_Additional_Options::get_instance($this); + } + $this->role_additional_options->save($this->current_role); + return true; } // end of save_roles() @@ -2170,6 +2206,9 @@ class Ure_Lib extends Garvs_WP_Lib { protected function change_default_role() { global $wp_roles; + if (!$this->multisite || is_network_admin()) { + return 'Try to misuse the plugin functionality'; + } $mess = ''; if (!isset($wp_roles)) { $wp_roles = new WP_Roles(); @@ -2567,7 +2606,12 @@ class Ure_Lib extends Garvs_WP_Lib { // end of show_admin_role() - private function role_default_prepare_html($select_width=200) { + public function role_default_prepare_html($select_width=200) { + + if (!isset($this->roles) || !$this->roles) { + // get roles data from database + $this->roles = $this->get_user_roles(); + } $caps_access_restrict_for_simple_admin = $this->get_option('caps_access_restrict_for_simple_admin', 0); $show_admin_role = $this->show_admin_role_allowed(); @@ -2639,7 +2683,9 @@ class Ure_Lib extends Garvs_WP_Lib { public function role_edit_prepare_html($select_width=200) { $this->role_select_copy_prepare_html($select_width); - $this->role_default_prepare_html($select_width); + if ($this->multisite && !is_network_admin()) { + $this->role_default_prepare_html($select_width); + } $this->role_delete_prepare_html(); $this->caps_to_remove_prepare_html(); } diff --git a/wp-content/plugins/user-role-editor/includes/class-user-role-editor.php b/wp-content/plugins/user-role-editor/includes/class-user-role-editor.php index ef039c1..6ab7b25 100644 --- a/wp-content/plugins/user-role-editor/includes/class-user-role-editor.php +++ b/wp-content/plugins/user-role-editor/includes/class-user-role-editor.php @@ -6,7 +6,7 @@ * Author URI: https://www.role-editor.com * License: GPL v2+ * -*/ + */ class User_Role_Editor { // plugin specific library object: common code stuff, including options data processor @@ -52,6 +52,9 @@ class User_Role_Editor { add_action( 'wpmu_new_blog', array($this, 'duplicate_roles_for_new_blog'), 10, 2); } + // setup additional options hooks for the roles + add_action('init', array($this, 'set_role_additional_options_hooks'), 9); + if (!is_admin()) { return; } @@ -73,7 +76,7 @@ class User_Role_Editor { // add a Settings link in the installed plugins page add_filter('plugin_action_links_'. URE_PLUGIN_BASE_NAME, array($this, 'plugin_action_links'), 10, 1); add_filter('plugin_row_meta', array($this, 'plugin_row_meta'), 10, 2); - + } // end of __construct() @@ -89,65 +92,57 @@ class User_Role_Editor { // end of is_pro() - /** - * Plugin initialization - * - */ - public function plugin_init() { + /** + * Plugin initialization + * + */ + public function plugin_init() { - global $current_user, $pagenow; + global $current_user, $pagenow; - if (!empty($current_user->ID)) { - $user_id = $current_user->ID; - } else { - $user_id = 0; - } + if (!empty($current_user->ID)) { + $user_id = $current_user->ID; + } else { + $user_id = 0; + } - $supress_protection = apply_filters('ure_supress_administrators_protection', false); - // these filters and actions should prevent editing users with administrator role - // by other users with 'edit_users' capability - if (!$supress_protection && !$this->lib->user_is_admin($user_id)) { - // Exclude administrator role from edit list. - add_filter('editable_roles', array($this, 'exclude_admin_role' ) ); - // prohibit any actions with user who has Administrator role - add_filter('user_has_cap', array($this, 'not_edit_admin' ), 10, 3); - // exclude users with 'Administrator' role from users list - add_action('pre_user_query', array($this, 'exclude_administrators' ) ); - // do not show 'Administrator (s)' view above users list - add_filter('views_users', array($this, 'exclude_admins_view' ) ); - } - - add_action( 'admin_enqueue_scripts', array($this, 'admin_load_js' ) ); - add_action( 'user_row_actions', array($this, 'user_row'), 10, 2 ); - add_filter( 'all_plugins', array($this, 'exclude_from_plugins_list' ) ); - - if ($this->lib->multisite) { - $allow_edit_users_to_not_super_admin = $this->lib->get_option('allow_edit_users_to_not_super_admin', 0); - if ($allow_edit_users_to_not_super_admin) { - add_filter( 'map_meta_cap', array($this, 'restore_users_edit_caps'), 1, 4 ); - remove_all_filters( 'enable_edit_any_user_configuration' ); - add_filter( 'enable_edit_any_user_configuration', '__return_true'); - add_filter( 'admin_head', array($this, 'edit_user_permission_check'), 1, 4 ); - if ($pagenow=='user-new.php') { - add_filter( 'site_option_site_admins', array($this, 'allow_add_user_as_superadmin') ); + $supress_protection = apply_filters('ure_supress_administrators_protection', false); + // these filters and actions should prevent editing users with administrator role + // by other users with 'edit_users' capability + if (!$supress_protection && !$this->lib->user_is_admin($user_id)) { + new URE_Protect_Admin($this->lib); + } + + add_action('admin_enqueue_scripts', array($this, 'admin_load_js')); + add_action('user_row_actions', array($this, 'user_row'), 10, 2); + add_filter('all_plugins', array($this, 'exclude_from_plugins_list')); + + if ($this->lib->multisite) { + $allow_edit_users_to_not_super_admin = $this->lib->get_option('allow_edit_users_to_not_super_admin', 0); + if ($allow_edit_users_to_not_super_admin) { + add_filter('map_meta_cap', array($this, 'restore_users_edit_caps'), 1, 4); + remove_all_filters('enable_edit_any_user_configuration'); + add_filter('enable_edit_any_user_configuration', '__return_true'); + add_filter('admin_head', array($this, 'edit_user_permission_check'), 1, 4); + if ($pagenow == 'user-new.php') { + add_filter('site_option_site_admins', array($this, 'allow_add_user_as_superadmin')); + } + } + } else { + $count_users_without_role = $this->lib->get_option('count_users_without_role', 0); + if ($count_users_without_role) { + add_action('restrict_manage_users', array($this, 'move_users_from_no_role_button')); + add_action('admin_init', array($this, 'add_css_to_users_page')); + add_action('admin_footer', array($this, 'add_js_to_users_page')); } } - } else { - $count_users_without_role = $this->lib->get_option('count_users_without_role', 0); - if ($count_users_without_role) { - add_action( 'restrict_manage_users', array($this, 'move_users_from_no_role_button') ); - add_action( 'admin_init', array($this, 'add_css_to_users_page')); - add_action( 'admin_footer', array($this, 'add_js_to_users_page') ); - } - } - - add_action('wp_ajax_ure_ajax', array($this, 'ure_ajax')); - } - // end of plugin_init() - - - /** + add_action('wp_ajax_ure_ajax', array($this, 'ure_ajax')); + } + // end of plugin_init() + + + /** * Allow non-superadmin user to add/create users to the site as superadmin does. * Include current user to the list of superadmins - for the user-new.php page only, and * if user really can create_users and promote_users @@ -306,120 +301,6 @@ class User_Role_Editor { } // end of edit_user_permission_check() - - /** - * exclude administrator role from the roles list - * - * @param string $roles - * @return array - */ - public function exclude_admin_role($roles) - { - - if (isset($roles['administrator'])) { - unset($roles['administrator']); - } - - return $roles; - } - // end of exclude_admin_role() - - - /** - * We have two vulnerable queries with user id at admin interface, which should be processed - * 1st: http://blogdomain.com/wp-admin/user-edit.php?user_id=ID&wp_http_referer=%2Fwp-admin%2Fusers.php - * 2nd: http://blogdomain.com/wp-admin/users.php?action=delete&user=ID&_wpnonce=ab34225a78 - * If put Administrator user ID into such request, user with lower capabilities (if he has 'edit_users') - * can edit, delete admin record - * This function removes 'edit_users' capability from current user capabilities - * if request has admin user ID in it - * - * @param array $allcaps - * @param type $caps - * @param string $name - * @return array - */ - public function not_edit_admin($allcaps, $caps, $name) { - - $user_keys = array('user_id', 'user'); - foreach ($user_keys as $user_key) { - $access_deny = false; - $user_id = $this->lib->get_request_var($user_key, 'get'); - if (!empty($user_id)) { - if ($user_id == 1) { // built-in WordPress Admin - $access_deny = true; - } else { - if (!isset($this->lib->user_to_check[$user_id])) { - // check if user_id has Administrator role - $access_deny = $this->lib->has_administrator_role($user_id); - } else { - // user_id was checked already, get result from cash - $access_deny = $this->lib->user_to_check[$user_id]; - } - } - if ($access_deny) { - unset($allcaps['edit_users']); - } - break; - } - } - - return $allcaps; - } - // end of not_edit_admin() - - - /** - * add where criteria to exclude users with 'Administrator' role from users list - * - * @global wpdb $wpdb - * @param type $user_query - */ - public function exclude_administrators($user_query) { - - global $wpdb; - - $result = false; - $links_to_block = array('profile.php', 'users.php'); - foreach ($links_to_block as $key => $value) { - $result = stripos($_SERVER['REQUEST_URI'], $value); - if ($result !== false) { - break; - } - } - - if ($result === false) { // block the user edit stuff only - return; - } - - // get user_id of users with 'Administrator' role - $tableName = (!$this->lib->multisite && defined('CUSTOM_USER_META_TABLE')) ? CUSTOM_USER_META_TABLE : $wpdb->usermeta; - $meta_key = $wpdb->prefix . 'capabilities'; - $admin_role_key = '%"administrator"%'; - $query = "select user_id - from $tableName - where meta_key='$meta_key' and meta_value like '$admin_role_key'"; - $ids_arr = $wpdb->get_col($query); - if (is_array($ids_arr) && count($ids_arr) > 0) { - $ids = implode(',', $ids_arr); - $user_query->query_where .= " AND ( $wpdb->users.ID NOT IN ( $ids ) )"; - } - } - // end of exclude_administrators() - - - /* - * Exclude view of users with Administrator role - * - */ - public function exclude_admins_view($views) { - - unset($views['administrator']); - - return $views; - } - // end of exclude_admins_view() - /** * Add/hide edit actions for every user row at the users list @@ -503,12 +384,8 @@ class User_Role_Editor { } // exclude URE from plugins list - foreach ($plugins as $key => $value) { - if ($key == 'user-role-editor/' . URE_PLUGIN_FILE) { - unset($plugins[$key]); - break; - } - } + $key = basename(URE_PLUGIN_DIR) .'/'. URE_PLUGIN_FILE; + unset($plugins[$key]); return $plugins; } @@ -679,6 +556,9 @@ class User_Role_Editor { $show_deprecated_caps = $this->lib->get_request_var('show_deprecated_caps', 'checkbox'); $this->lib->put_option('ure_show_deprecated_caps', $show_deprecated_caps); + $confirm_role_update = $this->lib->get_request_var('confirm_role_update', 'checkbox'); + $this->lib->put_option('ure_confirm_role_update', $confirm_role_update); + $edit_user_caps = $this->lib->get_request_var('edit_user_caps', 'checkbox'); $this->lib->put_option('edit_user_caps', $edit_user_caps); @@ -783,6 +663,7 @@ class User_Role_Editor { } $caps_readable = $this->lib->get_option('ure_caps_readable', 0); $show_deprecated_caps = $this->lib->get_option('ure_show_deprecated_caps', 0); + $confirm_role_update = $this->lib->get_option('ure_confirm_role_update', 1); $edit_user_caps = $this->lib->get_option('edit_user_caps', 1); if ($this->lib->multisite) { @@ -792,8 +673,8 @@ class User_Role_Editor { } $this->lib->get_default_role(); - $this->lib->editor_init1(); - $this->lib->role_edit_prepare_html(0); + //$this->lib->editor_init1(); + $this->lib->role_default_prepare_html(0); $ure_tab_idx = $this->lib->get_request_var('ure_tab_idx', 'int'); @@ -877,6 +758,8 @@ class User_Role_Editor { return; } + $confirm_role_update = $this->lib->get_option('ure_confirm_role_update', 1); + wp_enqueue_script('jquery-ui-dialog', false, array('jquery-ui-core', 'jquery-ui-button', 'jquery')); wp_enqueue_script('jquery-ui-tabs', false, array('jquery-ui-core', 'jquery')); wp_register_script('ure-js', plugins_url('/js/ure-js.js', URE_PLUGIN_FULL_PATH)); @@ -885,6 +768,10 @@ class User_Role_Editor { 'wp_nonce' => wp_create_nonce('user-role-editor'), 'page_url' => URE_WP_ADMIN_URL . URE_PARENT . '?page=users-' . URE_PLUGIN_FILE, 'is_multisite' => is_multisite() ? 1 : 0, + 'confirm_role_update' => $confirm_role_update ? 1 : 0, + 'confirm_title' => esc_html__('Confirm', 'user-role-editor'), + 'yes_label' => esc_html__('Yes', 'user-role-editor'), + 'no_label' => esc_html__('No', 'user-role-editor'), 'select_all' => esc_html__('Select All', 'user-role-editor'), 'unselect_all' => esc_html__('Unselect All', 'user-role-editor'), 'reverse' => esc_html__('Reverse', 'user-role-editor'), @@ -929,6 +816,15 @@ class User_Role_Editor { } // end of ure_ajax() + + + public function set_role_additional_options_hooks() { + + $role_additional_options = URE_Role_Additional_Options::get_instance($this->lib); + $role_additional_options->set_active_items_hooks(); + + } + // end of set_role_additional_options_hooks() // execute on plugin deactivation diff --git a/wp-content/plugins/user-role-editor/includes/loader.php b/wp-content/plugins/user-role-editor/includes/loader.php new file mode 100644 index 0000000..5bdbbc4 --- /dev/null +++ b/wp-content/plugins/user-role-editor/includes/loader.php @@ -0,0 +1,21 @@ + + + + /> + + + +
              -

              role_select_html; ?>

              +

                role_select_html; ?>

              caps_readable) { @@ -92,9 +92,11 @@ if ($this->multisite && $this->active_for_network && !is_network_admin() && is_m 0) + + $this->role_additional_options->show($this->current_role); + ?> - - + display_box_end(); ?> diff --git a/wp-content/plugins/user-role-editor/js/ure-js.js b/wp-content/plugins/user-role-editor/js/ure-js.js index 8d29dbd..149e31c 100644 --- a/wp-content/plugins/user-role-editor/js/ure-js.js +++ b/wp-content/plugins/user-role-editor/js/ure-js.js @@ -1,353 +1,413 @@ // get/post via jQuery -(function($) { +(function ($) { $.extend({ - ure_getGo: function(url, params) { + ure_getGo: function (url, params) { document.location = url + '?' + $.param(params); }, - ure_postGo: function(url, params) { - var $form = $("
              ") - .attr("method", "post") - .attr("action", url); - $.each(params, function(name, value) { + ure_postGo: function (url, params) { + var $form = $('') + .attr('method', 'post') + .attr('action', url); + $.each(params, function (name, value) { $("") - .attr("name", name) - .attr("value", value) - .appendTo($form); + .attr('name', name) + .attr('value', value) + .appendTo($form); }); - $form.appendTo("body"); + $form.appendTo('body'); $form.submit(); } - }); + }); })(jQuery); -jQuery(function() { - jQuery("#ure_select_all").button({ - label: ure_data.select_all - }).click(function(event){ - event.preventDefault(); - ure_select_all(1); - }); +function ure_ui_button_text(caption) { + var wrapper = '' + caption + ''; - if (typeof ure_current_role === 'undefined' || 'administrator' !== ure_current_role ) { - jQuery("#ure_unselect_all").button({ - label: ure_data.unselect_all - }).click(function(event){ - event.preventDefault(); - ure_select_all(0); - }); - - jQuery("#ure_reverse_selection").button({ - label: ure_data.reverse - }).click(function(event){ - event.preventDefault(); - ure_select_all(-1); - }); - } - - jQuery("#ure_update_role").button({ - label: ure_data.update - }).click(function(){ - if (!confirm(ure_data.confirm_submit)) { - return false; - } - jQuery('#ure_form').submit(); - }); - - -function ui_button_text(caption) { - var wrapper = ''+ caption +''; - - return wrapper; + return wrapper; } -function ure_show_add_role_dialog() { - jQuery(function($) { - $info = $('#ure_add_role_dialog'); - $info.dialog({ - dialogClass: 'wp-dialog', - modal: true, - autoOpen: true, - closeOnEscape: true, - width: 400, - height: 230, - resizable: false, - title: ure_data.add_new_role_title, - 'buttons' : { - 'Add Role': function () { - var role_id = $('#user_role_id').val(); - if (role_id == '') { - alert( ure_data.role_name_required ); - return false; - } - if (!(/^[\w-]*$/.test(role_id))) { - alert( ure_data.role_name_valid_chars ); - return false; - } - if ((/^[0-9]*$/.test(role_id))) { - alert( ure_data.numeric_role_name_prohibited ); - return false; - } - var role_name = $('#user_role_name').val(); - var role_copy_from = $('#user_role_copy_from').val(); - - $(this).dialog('close'); - $.ure_postGo( ure_data.page_url, - { action: 'add-new-role', user_role_id: role_id, user_role_name: role_name, user_role_copy_from: role_copy_from, - ure_nonce: ure_data.wp_nonce} ); - }, - Cancel: function() { - $(this).dialog('close'); - return false; +jQuery(function ($) { + + $('#ure_select_all').button({ + label: ure_data.select_all + }).click(function (event) { + event.preventDefault(); + ure_select_all(1); + }); + + if (typeof ure_current_role === 'undefined' || 'administrator' !== ure_current_role) { + $('#ure_unselect_all').button({ + label: ure_data.unselect_all + }).click(function (event) { + event.preventDefault(); + ure_select_all(0); + }); + + $('#ure_reverse_selection').button({ + label: ure_data.reverse + }).click(function (event) { + event.preventDefault(); + ure_select_all(-1); + }); + } + + $('#ure_update_role').button({ + label: ure_data.update + }).click(function () { + if (ure_data.confirm_role_update == 1) { + event.preventDefault(); + ure_confirm(ure_data.confirm_submit, ure_form_submit); + } + }); + + + function ure_form_submit() { + $('#ure_form').submit(); + } + + + function ure_show_add_role_dialog() { + + $('#ure_add_role_dialog').dialog({ + dialogClass: 'wp-dialog', + modal: true, + autoOpen: true, + closeOnEscape: true, + width: 400, + height: 230, + resizable: false, + title: ure_data.add_new_role_title, + 'buttons': { + 'Add Role': function () { + var role_id = $('#user_role_id').val(); + if (role_id == '') { + alert(ure_data.role_name_required); + return false; + } + if (!(/^[\w-]*$/.test(role_id))) { + alert(ure_data.role_name_valid_chars); + return false; + } + if ((/^[0-9]*$/.test(role_id))) { + alert(ure_data.numeric_role_name_prohibited); + return false; + } + var role_name = $('#user_role_name').val(); + var role_copy_from = $('#user_role_copy_from').val(); + + $(this).dialog('close'); + $.ure_postGo(ure_data.page_url, + {action: 'add-new-role', user_role_id: role_id, user_role_name: role_name, user_role_copy_from: role_copy_from, + ure_nonce: ure_data.wp_nonce}); + }, + Cancel: function () { + $(this).dialog('close'); + return false; + } } - } - }); - $('.ui-dialog-buttonpane button:contains("Add Role")').attr("id", "dialog-add-role-button"); - $('#dialog-add-role-button').html(ui_button_text(ure_data.add_role)); - $('.ui-dialog-buttonpane button:contains("Cancel")').attr("id", "add-role-dialog-cancel-button"); - $('#add-role-dialog-cancel-button').html(ui_button_text(ure_data.cancel)); - }); -} + }); + $('.ui-dialog-buttonpane button:contains("Add Role")').attr('id', 'dialog-add-role-button'); + $('#dialog-add-role-button').html(ure_ui_button_text(ure_data.add_role)); + $('.ui-dialog-buttonpane button:contains("Cancel")').attr('id', 'add-role-dialog-cancel-button'); + $('#add-role-dialog-cancel-button').html(ure_ui_button_text(ure_data.cancel)); + + } - jQuery("#ure_add_role").button({ + $('#ure_add_role').button({ label: ure_data.add_role - }).click(function(event) { + }).click(function (event) { event.preventDefault(); ure_show_add_role_dialog(); }); - -function ure_show_rename_role_dialog() { - jQuery(function($) { - $('#ure_rename_role_dialog').dialog({ - dialogClass: 'wp-dialog', - modal: true, - autoOpen: true, - closeOnEscape: true, - width: 400, - height: 230, - resizable: false, - title: ure_data.rename_role_title, - 'buttons' : { - 'Rename Role': function () { - var role_id = $('#ren_user_role_id').val(); - var role_name = $('#ren_user_role_name').val(); - $(this).dialog('close'); - $.ure_postGo( ure_data.page_url, - { action: 'rename-role', user_role_id: role_id, user_role_name: role_name, ure_nonce: ure_data.wp_nonce} - ); - }, - Cancel: function() { - $(this).dialog('close'); - return false; + + function ure_show_rename_role_dialog() { + + $('#ure_rename_role_dialog').dialog({ + dialogClass: 'wp-dialog', + modal: true, + autoOpen: true, + closeOnEscape: true, + width: 400, + height: 230, + resizable: false, + title: ure_data.rename_role_title, + 'buttons': { + 'Rename Role': function () { + var role_id = $('#ren_user_role_id').val(); + var role_name = $('#ren_user_role_name').val(); + $(this).dialog('close'); + $.ure_postGo(ure_data.page_url, + {action: 'rename-role', user_role_id: role_id, user_role_name: role_name, ure_nonce: ure_data.wp_nonce} + ); + }, + Cancel: function () { + $(this).dialog('close'); + return false; + } } - } - }); - $('.ui-dialog-buttonpane button:contains("Rename Role")').attr("id", "dialog-rename-role-button"); - $('#dialog-rename-role-button').html(ui_button_text(ure_data.rename_role)); - $('.ui-dialog-buttonpane button:contains("Cancel")').attr("id", "rename-role-dialog-cancel-button"); - $('#rename-role-dialog-cancel-button').html(ui_button_text(ure_data.cancel)); - $('#ren_user_role_id').val(ure_current_role); - $('#ren_user_role_name').val(ure_current_role_name); - }); -} - - - jQuery("#ure_rename_role").button({ + }); + $('.ui-dialog-buttonpane button:contains("Rename Role")').attr('id', 'dialog-rename-role-button'); + $('#dialog-rename-role-button').html(ure_ui_button_text(ure_data.rename_role)); + $('.ui-dialog-buttonpane button:contains("Cancel")').attr('id', 'rename-role-dialog-cancel-button'); + $('#rename-role-dialog-cancel-button').html(ure_ui_button_text(ure_data.cancel)); + $('#ren_user_role_id').val(ure_current_role); + $('#ren_user_role_name').val(ure_current_role_name); + + } + + + $('#ure_rename_role').button({ label: ure_data.rename_role - }).click(function(event) { + }).click(function (event) { event.preventDefault(); ure_show_rename_role_dialog(); }); - - - jQuery("#ure_delete_role").button({ - label: ure_data.delete_role - }).click(function(event){ - event.preventDefault(); - jQuery(function($) { - $('#ure_delete_role_dialog').dialog({ - dialogClass: 'wp-dialog', - modal: true, - autoOpen: true, - closeOnEscape: true, - width: 320, - height: 190, - resizable: false, - title: ure_data.delete_role, - buttons: { - 'Delete Role': function() { - var user_role_id = $('#del_user_role').val(); - if (!confirm(ure_data.delete_role)) { - return false; + + + function ure_show_delete_role_dialog() { + $('#ure_delete_role_dialog').dialog({ + dialogClass: 'wp-dialog', + modal: true, + autoOpen: true, + closeOnEscape: true, + width: 320, + height: 190, + resizable: false, + title: ure_data.delete_role, + buttons: { + 'Delete Role': function () { + var user_role_id = $('#del_user_role').val(); + if (!confirm(ure_data.delete_role)) { + return false; + } + $(this).dialog('close'); + $.ure_postGo(ure_data.page_url, + {action: 'delete-role', user_role_id: user_role_id, ure_nonce: ure_data.wp_nonce}); + }, + Cancel: function () { + $(this).dialog('close'); + } } - $(this).dialog('close'); - $.ure_postGo(ure_data.page_url, - {action: 'delete-role', user_role_id: user_role_id, ure_nonce: ure_data.wp_nonce}); - }, - Cancel: function() { - $(this).dialog('close'); - } - } - }); - // translate buttons caption - $('.ui-dialog-buttonpane button:contains("Delete Role")').attr("id", "dialog-delete-button"); - $('#dialog-delete-button').html(ui_button_text(ure_data.delete_role)); - $('.ui-dialog-buttonpane button:contains("Cancel")').attr("id", "delete-role-dialog-cancel-button"); - $('#delete-role-dialog-cancel-button').html(ui_button_text(ure_data.cancel)); - }); - }); - - - jQuery("#ure_add_capability").button({ - label: ure_data.add_capability - }).click(function(event){ - event.preventDefault(); - jQuery(function($) { - $info = $('#ure_add_capability_dialog'); - $info.dialog({ - dialogClass: 'wp-dialog', - modal: true, - autoOpen: true, - closeOnEscape: true, - width: 350, - height: 190, - resizable: false, - title: ure_data.add_capability, - 'buttons' : { - 'Add Capability': function () { - var capability_id = $('#capability_id').val(); - if (capability_id == '') { - alert( ure_data.capability_name_required ); - return false; - } - if (!(/^[\w-]*$/.test(capability_id))) { - alert( ure_data.capability_name_valid_chars ); - return false; - } - - $(this).dialog('close'); - $.ure_postGo( ure_data.page_url, - { action: 'add-new-capability', capability_id: capability_id, ure_nonce: ure_data.wp_nonce} ); - }, - Cancel: function() { - $(this).dialog('close'); - } - } - }); - $('.ui-dialog-buttonpane button:contains("Add Capability")').attr("id", "dialog-add-capability-button"); - $('#dialog-add-capability-button').html(ui_button_text(ure_data.add_capability)); - $('.ui-dialog-buttonpane button:contains("Cancel")').attr("id", "add-capability-dialog-cancel-button"); - $('#add-capability-dialog-cancel-button').html(ui_button_text(ure_data.cancel)); - }); - }); - - - jQuery("#ure_delete_capability").button({ - label: ure_data.delete_capability - }).click(function(event){ - event.preventDefault(); - jQuery(function($) { - $('#ure_delete_capability_dialog').dialog({ - dialogClass: 'wp-dialog', - modal: true, - autoOpen: true, - closeOnEscape: true, - width: 320, - height: 190, - resizable: false, - title: ure_data.delete_capability, - buttons: { - 'Delete Capability': function() { - if (!confirm(ure_data.delete_capability +' - '+ ure_data.delete_capability_warning)) { - return; - } - $(this).dialog('close'); - var user_capability_id = $('#remove_user_capability').val(); - $.ure_postGo(ure_data.page_url, - {action: 'delete-user-capability', user_capability_id: user_capability_id, ure_nonce: ure_data.wp_nonce}); - }, - Cancel: function() { - $(this).dialog('close'); - } - } - }); - // translate buttons caption - $('.ui-dialog-buttonpane button:contains("Delete Capability")').attr("id", "dialog-delete-capability-button"); - $('#dialog-delete-capability-button').html(ui_button_text(ure_data.delete_capability)); - $('.ui-dialog-buttonpane button:contains("Cancel")').attr("id", "delete-capability-dialog-cancel-button"); - $('#delete-capability-dialog-cancel-button').html(ui_button_text(ure_data.cancel)); - }); - }); - - jQuery("#ure_default_role").button({ - label: ure_data.default_role - }).click(function(event){ - event.preventDefault(); - jQuery(function($) { - $('#ure_default_role_dialog').dialog({ - dialogClass: 'wp-dialog', - modal: true, - autoOpen: true, - closeOnEscape: true, - width: 320, - height: 190, - resizable: false, - title: ure_data.default_role, - buttons: { - 'Set New Default Role': function() { - $(this).dialog('close'); - var user_role_id = $('#default_user_role').val(); - $.ure_postGo(ure_data.page_url, - {action: 'change-default-role', user_role_id: user_role_id, ure_nonce: ure_data.wp_nonce}); - }, - Cancel: function() { - $(this).dialog('close'); - } - } - }); - // translate buttons caption - $('.ui-dialog-buttonpane button:contains("Set New Default Role")').attr("id", "dialog-default-role-button"); - $('#dialog-default-role-button').html(ui_button_text(ure_data.set_new_default_role)); - $('.ui-dialog-buttonpane button:contains("Cancel")').attr("id", "default-role-dialog-cancel-button"); - $('#default-role-dialog-cancel-button').html(ui_button_text(ure_data.cancel)); - }); - }); - - jQuery('#ure_reset_roles_button').button({ - label: ure_data.reset - }).click(function(event){ - event.preventDefault(); - if (!confirm( ure_data.reset_warning )) { - return false; + }); + // translate buttons caption + $('.ui-dialog-buttonpane button:contains("Delete Role")').attr('id', 'dialog-delete-button'); + $('#dialog-delete-button').html(ure_ui_button_text(ure_data.delete_role)); + $('.ui-dialog-buttonpane button:contains("Cancel")').attr('id', 'delete-role-dialog-cancel-button'); + $('#delete-role-dialog-cancel-button').html(ure_ui_button_text(ure_data.cancel)); } - jQuery.ure_postGo(ure_data.page_url, {action: 'reset', ure_nonce: ure_data.wp_nonce}); - }); + + + $('#ure_delete_role').button({ + label: ure_data.delete_role + }).click(function (event) { + event.preventDefault(); + ure_show_delete_role_dialog(); + }); + + + function ure_show_add_capability_dialog() { + $('#ure_add_capability_dialog').dialog({ + dialogClass: 'wp-dialog', + modal: true, + autoOpen: true, + closeOnEscape: true, + width: 350, + height: 190, + resizable: false, + title: ure_data.add_capability, + 'buttons': { + 'Add Capability': function () { + var capability_id = $('#capability_id').val(); + if (capability_id == '') { + alert(ure_data.capability_name_required); + return false; + } + if (!(/^[\w-]*$/.test(capability_id))) { + alert(ure_data.capability_name_valid_chars); + return false; + } + + $(this).dialog('close'); + $.ure_postGo(ure_data.page_url, + {action: 'add-new-capability', capability_id: capability_id, ure_nonce: ure_data.wp_nonce}); + }, + Cancel: function () { + $(this).dialog('close'); + } + } + }); + $('.ui-dialog-buttonpane button:contains("Add Capability")').attr('id', 'dialog-add-capability-button'); + $('#dialog-add-capability-button').html(ure_ui_button_text(ure_data.add_capability)); + $('.ui-dialog-buttonpane button:contains("Cancel")').attr('id', 'add-capability-dialog-cancel-button'); + $('#add-capability-dialog-cancel-button').html(ure_ui_button_text(ure_data.cancel)); + + } + + + $('#ure_add_capability').button({ + label: ure_data.add_capability + }).click(function (event) { + event.preventDefault(); + ure_show_add_capability_dialog(); + }); + + + function ure_show_delete_capability_dialog() { + $('#ure_delete_capability_dialog').dialog({ + dialogClass: 'wp-dialog', + modal: true, + autoOpen: true, + closeOnEscape: true, + width: 320, + height: 190, + resizable: false, + title: ure_data.delete_capability, + buttons: { + 'Delete Capability': function () { + if (!confirm(ure_data.delete_capability + ' - ' + ure_data.delete_capability_warning)) { + return; + } + $(this).dialog('close'); + var user_capability_id = $('#remove_user_capability').val(); + $.ure_postGo(ure_data.page_url, + {action: 'delete-user-capability', user_capability_id: user_capability_id, ure_nonce: ure_data.wp_nonce}); + }, + Cancel: function () { + $(this).dialog('close'); + } + } + }); + // translate buttons caption + $('.ui-dialog-buttonpane button:contains("Delete Capability")').attr('id', 'dialog-delete-capability-button'); + $('#dialog-delete-capability-button').html(ure_ui_button_text(ure_data.delete_capability)); + $('.ui-dialog-buttonpane button:contains("Cancel")').attr('id', 'delete-capability-dialog-cancel-button'); + $('#delete-capability-dialog-cancel-button').html(ure_ui_button_text(ure_data.cancel)); + + } + + + if ($('#ure_delete_capability').length > 0) { + $('#ure_delete_capability').button({ + label: ure_data.delete_capability + }).click(function (event) { + event.preventDefault(); + ure_show_delete_capability_dialog() + }); + } + + + function ure_show_default_role_dialog() { + $('#ure_default_role_dialog').dialog({ + dialogClass: 'wp-dialog', + modal: true, + autoOpen: true, + closeOnEscape: true, + width: 320, + height: 190, + resizable: false, + title: ure_data.default_role, + buttons: { + 'Set New Default Role': function () { + $(this).dialog('close'); + var user_role_id = $('#default_user_role').val(); + $.ure_postGo(ure_data.page_url, + {action: 'change-default-role', user_role_id: user_role_id, ure_nonce: ure_data.wp_nonce}); + }, + Cancel: function () { + $(this).dialog('close'); + } + } + }); + // translate buttons caption + $('.ui-dialog-buttonpane button:contains("Set New Default Role")').attr('id', 'dialog-default-role-button'); + $('#dialog-default-role-button').html(ure_ui_button_text(ure_data.set_new_default_role)); + $('.ui-dialog-buttonpane button:contains("Cancel")').attr('id', 'default-role-dialog-cancel-button'); + $('#default-role-dialog-cancel-button').html(ure_ui_button_text(ure_data.cancel)); + } + + + if ($('#ure_default_role').length > 0) { + $('#ure_default_role').button({ + label: ure_data.default_role + }).click(function (event) { + event.preventDefault(); + ure_show_default_role_dialog(); + }); + } + + + $('#ure_reset_roles_button').button({ + label: ure_data.reset + }).click(function (event) { + event.preventDefault(); + if (!confirm(ure_data.reset_warning)) { + return false; + } + jQuery.ure_postGo(ure_data.page_url, {action: 'reset', ure_nonce: ure_data.wp_nonce}); + }); + + + function ure_confirm(message, routine) { + + $('#ure_confirmation_dialog').dialog({ + dialogClass: 'wp-dialog', + modal: true, + autoOpen: true, + closeOnEscape: true, + width: 400, + height: 180, + resizable: false, + title: ure_data.confirm_title, + 'buttons': { + 'No': function () { + $(this).dialog('close'); + return false; + }, + 'Yes': function () { + $(this).dialog('close'); + routine(); + return true; + } + } + }); + $('#ure_cd_html').html(message); + + $('.ui-dialog-buttonpane button:contains("No")').attr('id', 'dialog-no-button'); + $('#dialog-no-button').html(ure_ui_button_text(ure_data.no_label)); + $('.ui-dialog-buttonpane button:contains("Yes")').attr('id', 'dialog-yes-button'); + $('#dialog-yes-button').html(ure_ui_button_text(ure_data.yes_label)); + + } + // end of ure_confirm() + }); +// end of jQuery(function() ... // change color of apply to all check box - for multi-site setup only function ure_applyToAllOnClick(cb) { - el = document.getElementById('ure_apply_to_all_div'); - if (cb.checked) { - el.style.color = '#FF0000'; - } else { - el.style.color = '#000000'; - } + el = document.getElementById('ure_apply_to_all_div'); + if (cb.checked) { + el.style.color = '#FF0000'; + } else { + el.style.color = '#000000'; + } } // end of ure_applyToAllOnClick() // turn on checkbox back if clicked to turn off -function turn_it_back(control) { +function ure_turn_it_back(control) { - control.checked = true; + control.checked = true; } -// end of turn_it_back() +// end of ure_turn_it_back() /** @@ -357,88 +417,87 @@ function turn_it_back(control) { */ function ure_select_all(selected) { - var qfilter = jQuery('#quick_filter').val(); - var form = document.getElementById('ure_form'); - for (i = 0; i < form.elements.length; i++) { - el = form.elements[i]; - if (el.type !== 'checkbox') { - continue; + var qfilter = jQuery('#quick_filter').val(); + var form = document.getElementById('ure_form'); + for (i = 0; i < form.elements.length; i++) { + el = form.elements[i]; + if (el.type !== 'checkbox') { + continue; + } + if (el.name === 'ure_caps_readable' || el.name === 'ure_show_deprecated_caps' || + el.name === 'ure_apply_to_all' || el.disabled || + el.name.substr(0, 8) === 'wp_role_') { + continue; + } + if (qfilter !== '' && !form.elements[i].parentNode.ure_tag) { + continue; + } + if (selected >= 0) { + form.elements[i].checked = selected; + } else { + form.elements[i].checked = !form.elements[i].checked; + } + } - if (el.name === 'ure_caps_readable' || el.name === 'ure_show_deprecated_caps' || - el.name === 'ure_apply_to_all' || el.disabled || - el.name.substr(0, 8) === 'wp_role_') { - continue; - } - if (qfilter!=='' && !form.elements[i].parentNode.ure_tag) { - continue; - } - if (selected >= 0) { - form.elements[i].checked = selected; - } else { - form.elements[i].checked = !form.elements[i].checked; - } - - } } // end of ure_select_all() function ure_turn_caps_readable(user_id) { - - if (user_id === 0) { - var ure_object = 'role'; - } else { - var ure_object = 'user'; - } - - jQuery.ure_postGo(ure_data.page_url, {action: 'caps-readable', object: ure_object, user_id: user_id, ure_nonce: ure_data.wp_nonce}); - + var ure_object = 'user'; + if (user_id === 0) { + ure_object = 'role'; + } + + jQuery.ure_postGo(ure_data.page_url, {action: 'caps-readable', object: ure_object, user_id: user_id, ure_nonce: ure_data.wp_nonce}); + } // end of ure_turn_caps_readable() function ure_turn_deprecated_caps(user_id) { - - var ure_object = ''; - if (user_id === 0) { - ure_object = 'role'; - } else { - ure_object = 'user'; - } - jQuery.ure_postGo(ure_data.page_url, {action: 'show-deprecated-caps', object: ure_object, user_id: user_id, ure_nonce: ure_data.wp_nonce}); - + + var ure_object = ''; + if (user_id === 0) { + ure_object = 'role'; + } else { + ure_object = 'user'; + } + jQuery.ure_postGo(ure_data.page_url, {action: 'show-deprecated-caps', object: ure_object, user_id: user_id, ure_nonce: ure_data.wp_nonce}); + } // ure_turn_deprecated_caps() function ure_role_change(role_name) { - - jQuery.ure_postGo(ure_data.page_url, {action: 'role-change', object: 'role', user_role: role_name, ure_nonce: ure_data.wp_nonce}); - + + jQuery.ure_postGo(ure_data.page_url, {action: 'role-change', object: 'role', user_role: role_name, ure_nonce: ure_data.wp_nonce}); + } // end of ure_role_change() function ure_filter_capabilities(cap_id) { - var div_list = jQuery("div[id^='ure_div_cap_']"); - for (i=0; i\n" -"Language-Team: Peter Becker-Heidmann \n" -"Language: de_DE\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Poedit-SourceCharset: utf-8\n" -"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;" -"_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n" -"X-Poedit-Basepath: ../\n" -"X-Textdomain-Support: yes\n" -"X-Generator: Poedit 1.5.4\n" -"X-Poedit-SearchPath-0: .\n" - -#: ../includes/class-ure-lib.php:247 -msgid "Error: wrong request" -msgstr "" - -#: ../includes/class-ure-lib.php:280 ../includes/class-ure-lib.php:291 -msgid "Role name (ID): " -msgstr "" - -#: ../includes/class-ure-lib.php:282 ../includes/class-ure-lib.php:293 -msgid "Display Role Name: " -msgstr "" - -#: ../includes/class-ure-lib.php:284 -msgid "Make copy of: " -msgstr "Erstelle Kopie von:" - -# @ ure -#: ../includes/class-ure-lib.php:300 -msgid "Select Role:" -msgstr "Eine Rolle auswählen:" - -# @ ure -#: ../includes/class-ure-lib.php:315 -#, fuzzy -msgid "Delete:" -msgstr "Löschen" - -#: ../includes/class-ure-lib.php:322 -msgid "Capability name (ID): " -msgstr "" - -# @ ure -#: ../includes/class-ure-lib.php:339 -#: ../includes/class-user-role-editor.php:596 -#: ../includes/class-user-role-editor.php:625 -msgid "User Role Editor" -msgstr "User Role Editor" - -#: ../includes/class-ure-lib.php:436 -msgid "Error: " -msgstr "Fehler:" - -# @ ure -#: ../includes/class-ure-lib.php:436 -msgid "Role" -msgstr "Rolle" - -#: ../includes/class-ure-lib.php:437 -msgid "does not exist" -msgstr "existiert nicht" - -# @ ure -#: ../includes/class-ure-lib.php:480 -#, fuzzy -msgid "Role is updated successfully" -msgstr "wurde erfolgreich aktualisiert" - -#: ../includes/class-ure-lib.php:482 -msgid "Roles are updated for all network" -msgstr "" - -# @ ure -#: ../includes/class-ure-lib.php:488 -#, fuzzy -msgid "Error occured during role(s) update" -msgstr "Ein Fehler ist während des Löschvorgangs der Rolle aufgetreten" - -# @ ure -#: ../includes/class-ure-lib.php:495 -#, fuzzy -msgid "User capabilities are updated successfully" -msgstr "Rechte wurden erfolgreich aktualisiert" - -# @ ure -#: ../includes/class-ure-lib.php:500 -#, fuzzy -msgid "Error occured during user update" -msgstr "Ein Fehler ist während des Löschvorgangs der Rolle aufgetreten" - -# @ ure -#: ../includes/class-ure-lib.php:558 -#, fuzzy -msgid "User Roles are restored to WordPress default values. " -msgstr "Rollenbefugnisse werden von der Sicherheitskopie wiederhergestellt." - -#: ../includes/class-ure-lib.php:1436 -msgid "read about" -msgstr "" - -#: ../includes/class-ure-lib.php:1437 -#, fuzzy -msgid "user capability" -msgstr "Entferne Benutzerrecht" - -#: ../includes/class-ure-lib.php:1438 -msgid "Help" -msgstr "Hilfe" - -#: ../includes/class-ure-lib.php:1693 ../includes/class-ure-lib.php:1946 -#: ../includes/class-ure-lib.php:2062 ../includes/class-ure-lib.php:2110 -#: ../includes/class-ure-lib.php:2358 ../includes/class-ure-lib.php:2403 -#: ../includes/class-user-role-editor.php:828 -msgid "Insufficient permissions to work with User Role Editor" -msgstr "" - -# @ ure -#: ../includes/class-ure-lib.php:1909 -msgid "Error is occur. Please check the log file." -msgstr "Ein Fehler ist aufgetreten. Bitte überprüfen Sie die Log-Datei." - -# @ ure -#: ../includes/class-ure-lib.php:1955 ../includes/class-ure-lib.php:2022 -#, fuzzy -msgid "" -"Error: Role ID must contain latin characters, digits, hyphens or underscore " -"only!" -msgstr "Fehler: Der Rollen-Name darf nur Buchstaben und Ziffern enthalten!" - -#: ../includes/class-ure-lib.php:1959 ../includes/class-ure-lib.php:2026 -msgid "" -"Error: WordPress does not support numeric Role name (ID). Add latin " -"characters to it." -msgstr "" - -# @ ure -#: ../includes/class-ure-lib.php:1974 -#, php-format -msgid "Role %s exists already" -msgstr "Rolle %s existiert bereits" - -# @ ure -#: ../includes/class-ure-lib.php:1989 -msgid "Error is encountered during new role create operation" -msgstr "Ein Fehler ist beim Erstellen der neuen Rolle aufgetreten" - -# @ ure -#: ../includes/class-ure-lib.php:1991 -#, php-format -msgid "Role %s is created successfully" -msgstr "Rolle %s wurde erfolgreich erstellt" - -#: ../includes/class-ure-lib.php:2015 -msgid "Error: Role ID is empty!" -msgstr "" - -#: ../includes/class-ure-lib.php:2033 -msgid "Error: Empty role display name is not allowed." -msgstr "" - -#: ../includes/class-ure-lib.php:2040 -#, fuzzy, php-format -msgid "Role %s does not exists" -msgstr "existiert nicht" - -# @ ure -#: ../includes/class-ure-lib.php:2048 -#, fuzzy, php-format -msgid "Role %s is renamed to %s successfully" -msgstr "Rolle %s wurde erfolgreich erstellt" - -# @ ure -#: ../includes/class-ure-lib.php:2121 -msgid "Error encountered during role delete operation" -msgstr "Ein Fehler ist während des Löschvorgangs der Rolle aufgetreten" - -# @ ure -#: ../includes/class-ure-lib.php:2123 -#, fuzzy -msgid "Unused roles are deleted successfully" -msgstr "Rolle %s wurde erfolgreich gelöscht" - -# @ ure -#: ../includes/class-ure-lib.php:2125 -#, php-format -msgid "Role %s is deleted successfully" -msgstr "Rolle %s wurde erfolgreich gelöscht" - -# @ ure -#: ../includes/class-ure-lib.php:2153 -msgid "Error encountered during default role change operation" -msgstr "Ein Fehler ist während Änderung der Standard-Rolle aufgetreten" - -# @ ure -#: ../includes/class-ure-lib.php:2156 -#, php-format -msgid "Default role for new users is set to %s successfully" -msgstr "Standard-Rolle für neue Benutzer erfolgreich auf %s gesetzt" - -#: ../includes/class-ure-lib.php:2159 -msgid "Can not set Administrator role as a default one" -msgstr "" - -#: ../includes/class-ure-lib.php:2161 -#, fuzzy -msgid "This role does not exist - " -msgstr "existiert nicht" - -# @ ure -#: ../includes/class-ure-lib.php:2177 -msgid "Editor" -msgstr "Redakteur" - -# @ ure -#: ../includes/class-ure-lib.php:2178 -msgid "Author" -msgstr "Autor" - -# @ ure -#: ../includes/class-ure-lib.php:2179 -msgid "Contributor" -msgstr "Mitarbeiter" - -# @ ure -#: ../includes/class-ure-lib.php:2180 -msgid "Subscriber" -msgstr "Abonnent" - -# @ ure -#: ../includes/class-ure-lib.php:2182 -msgid "Switch themes" -msgstr "Design auswählen" - -# @ ure -#: ../includes/class-ure-lib.php:2183 -msgid "Edit themes" -msgstr "Design bearbeiten" - -# @ ure -#: ../includes/class-ure-lib.php:2184 -msgid "Activate plugins" -msgstr "Plugins aktivieren" - -# @ ure -#: ../includes/class-ure-lib.php:2185 -msgid "Edit plugins" -msgstr "Plugins bearbeiten" - -# @ ure -#: ../includes/class-ure-lib.php:2186 -msgid "Edit users" -msgstr "Benutzer bearbeiten" - -# @ ure -#: ../includes/class-ure-lib.php:2187 -msgid "Edit files" -msgstr "Dateien bearbeiten" - -# @ ure -#: ../includes/class-ure-lib.php:2188 -msgid "Manage options" -msgstr "Eigenschaften verwalten" - -# @ ure -#: ../includes/class-ure-lib.php:2189 -msgid "Moderate comments" -msgstr "Kommentare moderieren" - -# @ ure -#: ../includes/class-ure-lib.php:2190 -msgid "Manage categories" -msgstr "Kategorien verwalten" - -# @ ure -#: ../includes/class-ure-lib.php:2191 -msgid "Manage links" -msgstr "Links verwalten" - -# @ ure -#: ../includes/class-ure-lib.php:2192 -msgid "Upload files" -msgstr "Dateien hochladen" - -# @ ure -#: ../includes/class-ure-lib.php:2193 -msgid "Import" -msgstr "Import" - -# @ ure -#: ../includes/class-ure-lib.php:2194 -msgid "Unfiltered html" -msgstr "Ungefiltertes Html" - -# @ ure -#: ../includes/class-ure-lib.php:2195 -msgid "Edit posts" -msgstr "Artikel verwalten" - -# @ ure -#: ../includes/class-ure-lib.php:2196 -msgid "Edit others posts" -msgstr "Artikel anderer Benutzer verwalten" - -# @ ure -#: ../includes/class-ure-lib.php:2197 -msgid "Edit published posts" -msgstr "Veröffentlichte Artikel bearbeiten" - -# @ ure -#: ../includes/class-ure-lib.php:2198 -msgid "Publish posts" -msgstr "Artikel veröffentlichen" - -# @ ure -#: ../includes/class-ure-lib.php:2199 -msgid "Edit pages" -msgstr "Seiten bearbeiten" - -# @ ure -#: ../includes/class-ure-lib.php:2200 -msgid "Read" -msgstr "Lesen" - -# @ ure -#: ../includes/class-ure-lib.php:2201 -msgid "Level 10" -msgstr "" - -# @ ure -#: ../includes/class-ure-lib.php:2202 -msgid "Level 9" -msgstr "" - -# @ ure -#: ../includes/class-ure-lib.php:2203 -msgid "Level 8" -msgstr "" - -# @ ure -#: ../includes/class-ure-lib.php:2204 -msgid "Level 7" -msgstr "" - -# @ ure -#: ../includes/class-ure-lib.php:2205 -msgid "Level 6" -msgstr "" - -# @ ure -#: ../includes/class-ure-lib.php:2206 -msgid "Level 5" -msgstr "" - -# @ ure -#: ../includes/class-ure-lib.php:2207 -msgid "Level 4" -msgstr "" - -# @ ure -#: ../includes/class-ure-lib.php:2208 -msgid "Level 3" -msgstr "" - -# @ ure -#: ../includes/class-ure-lib.php:2209 -msgid "Level 2" -msgstr "" - -# @ ure -#: ../includes/class-ure-lib.php:2210 -msgid "Level 1" -msgstr "" - -# @ ure -#: ../includes/class-ure-lib.php:2211 -msgid "Level 0" -msgstr "" - -# @ ure -#: ../includes/class-ure-lib.php:2212 -msgid "Edit others pages" -msgstr "Seiten anderer Benutzer bearbeiten" - -# @ ure -#: ../includes/class-ure-lib.php:2213 -msgid "Edit published pages" -msgstr "Veröffentlichte Seiten bearbeiten" - -# @ ure -#: ../includes/class-ure-lib.php:2214 -msgid "Publish pages" -msgstr "Seiten veröffentlichen" - -# @ ure -#: ../includes/class-ure-lib.php:2215 -msgid "Delete pages" -msgstr "Seiten löschen" - -# @ ure -#: ../includes/class-ure-lib.php:2216 -msgid "Delete others pages" -msgstr "Seiten anderer Benutzer löschen" - -# @ ure -#: ../includes/class-ure-lib.php:2217 -msgid "Delete published pages" -msgstr "Veröffentlichte Seiten löschen" - -# @ ure -#: ../includes/class-ure-lib.php:2218 -msgid "Delete posts" -msgstr "Artikel löschen" - -# @ ure -#: ../includes/class-ure-lib.php:2219 -msgid "Delete others posts" -msgstr "Artikel anderer Benutzer löschen" - -# @ ure -#: ../includes/class-ure-lib.php:2220 -msgid "Delete published posts" -msgstr "Veröffentlichte Artikel löschen" - -# @ ure -#: ../includes/class-ure-lib.php:2221 -msgid "Delete private posts" -msgstr "Private Artikel löschen" - -# @ ure -#: ../includes/class-ure-lib.php:2222 -msgid "Edit private posts" -msgstr "Private Artikel bearbeiten" - -# @ ure -#: ../includes/class-ure-lib.php:2223 -msgid "Read private posts" -msgstr "Private Artikel lesen" - -# @ ure -#: ../includes/class-ure-lib.php:2224 -msgid "Delete private pages" -msgstr "Private Artikel löschen" - -# @ ure -#: ../includes/class-ure-lib.php:2225 -msgid "Edit private pages" -msgstr "Private Seiten bearbeiten" - -# @ ure -#: ../includes/class-ure-lib.php:2226 -msgid "Read private pages" -msgstr "Private Seiten lesen" - -# @ ure -#: ../includes/class-ure-lib.php:2227 -msgid "Delete users" -msgstr "Benutzer löschen" - -# @ ure -#: ../includes/class-ure-lib.php:2228 -msgid "Create users" -msgstr "Benutzer erstellen" - -# @ ure -#: ../includes/class-ure-lib.php:2229 -msgid "Unfiltered upload" -msgstr "Ungefiltertes Hochladen" - -# @ ure -#: ../includes/class-ure-lib.php:2230 -msgid "Edit dashboard" -msgstr "Dashboard bearbeiten" - -# @ ure -#: ../includes/class-ure-lib.php:2231 -msgid "Update plugins" -msgstr "Plugins aktualisieren" - -# @ ure -#: ../includes/class-ure-lib.php:2232 -msgid "Delete plugins" -msgstr "Plugins löschen" - -# @ ure -#: ../includes/class-ure-lib.php:2233 -msgid "Install plugins" -msgstr "Plugins installieren" - -# @ ure -#: ../includes/class-ure-lib.php:2234 -msgid "Update themes" -msgstr "Designs aktualisieren" - -# @ ure -#: ../includes/class-ure-lib.php:2235 -msgid "Install themes" -msgstr "Designs installieren" - -# @ ure -#: ../includes/class-ure-lib.php:2236 -msgid "Update core" -msgstr "Wordpress aktualisieren" - -# @ ure -#: ../includes/class-ure-lib.php:2237 -msgid "List users" -msgstr "Benutzer auflisten" - -# @ ure -#: ../includes/class-ure-lib.php:2238 -msgid "Remove users" -msgstr "Benutzer entfernen" - -# @ ure -#: ../includes/class-ure-lib.php:2239 -msgid "Add users" -msgstr "Benutzer hinzufügen" - -# @ ure -#: ../includes/class-ure-lib.php:2240 -msgid "Promote users" -msgstr "Benutzer vorschlagen" - -# @ ure -#: ../includes/class-ure-lib.php:2241 -msgid "Edit theme options" -msgstr "Design-Eigenschaften bearbeiten" - -# @ ure -#: ../includes/class-ure-lib.php:2242 -msgid "Delete themes" -msgstr "Designs löschen" - -# @ ure -#: ../includes/class-ure-lib.php:2243 -msgid "Export" -msgstr "Export" - -# @ ure -#: ../includes/class-ure-lib.php:2366 -msgid "Error: Capability name must contain latin characters and digits only!" -msgstr "Fehler: Der Name des Rechts darf nur Buchstaben und Ziffern enthalten!" - -# @ ure -#: ../includes/class-ure-lib.php:2379 -#, php-format -msgid "Capability %s is added successfully" -msgstr "Recht %s wurde erfolgreich hinzugefügt" - -#: ../includes/class-ure-lib.php:2381 -#, php-format -msgid "Capability %s exists already" -msgstr "Recht %s existiert bereits" - -#: ../includes/class-ure-lib.php:2410 -#, php-format -msgid "Error! You do not have permission to delete this capability: %s!" -msgstr "Fehler: Sie haben nicht die Erlaubnis, dieses Recht zu löschen: %s!" - -# @ ure -#: ../includes/class-ure-lib.php:2429 -#, fuzzy, php-format -msgid "Capability %s was removed successfully" -msgstr "Das Recht %s wurde erfogreich entfernt" - -#: ../includes/class-ure-lib.php:2497 -msgid "Version:" -msgstr "" - -# @ ure -#: ../includes/class-ure-lib.php:2498 -msgid "Author's website" -msgstr "Webseite des Autors" - -# @ ure -#: ../includes/class-ure-lib.php:2499 -msgid "Plugin webpage" -msgstr "Webseite des Plugins" - -# @ ure -#: ../includes/class-ure-lib.php:2500 -#, fuzzy -msgid "Plugin download" -msgstr "Webseite des Plugins" - -# @ ure -#: ../includes/class-ure-lib.php:2501 -#: ../includes/class-user-role-editor.php:546 -msgid "Changelog" -msgstr "Änderungen" - -# @ ure -#: ../includes/class-ure-lib.php:2502 -msgid "FAQ" -msgstr "FAQ" - -# @ ure -#: ../includes/class-ure-lib.php:2575 -#, fuzzy -msgid "Delete All Unused Roles" -msgstr "Löschen der Benutzer-Rolle" - -# @ ure -#: ../includes/class-ure-lib.php:2588 -msgid "None" -msgstr "Nichts" - -#: ../includes/class-ure-lib.php:2632 -msgid "— No role for this site —" -msgstr "" - -#: ../includes/class-ure-lib.php:2747 -#, php-format -msgid "Denied: %s" -msgstr "" - -# @ ure -#: ../includes/ure-role-edit.php:17 -#, fuzzy -msgid "Select Role and change its capabilities:" -msgstr "Eine Rolle auswählen und ihre Rechte ändern" - -# @ ure -#: ../includes/ure-role-edit.php:30 ../includes/ure-user-edit.php:54 -msgid "Show capabilities in human readable form" -msgstr "Anzeige der Rechte in allgemeinverständlicher Form" - -#: ../includes/ure-role-edit.php:40 ../includes/class-ure-screen-help.php:21 -#: ../includes/settings-template.php:69 ../includes/ure-user-edit.php:64 -msgid "Show deprecated capabilities" -msgstr "Zeige herabgesetzte Rechte" - -#: ../includes/ure-role-edit.php:44 -msgid "If checked, then apply action to ALL sites of this Network" -msgstr "Fall aktiviert, wende die Aktion auf ALLE Webpräsenzen" - -#: ../includes/ure-role-edit.php:56 -msgid "Apply to All Sites" -msgstr "Wende auf alle Webpräsenzen an" - -#: ../includes/ure-role-edit.php:63 ../includes/ure-user-edit.php:110 -msgid "Core capabilities:" -msgstr "Rechte WordPress:" - -#: ../includes/ure-role-edit.php:65 ../includes/ure-user-edit.php:112 -msgid "Quick filter:" -msgstr "" - -#: ../includes/ure-role-edit.php:83 ../includes/ure-user-edit.php:131 -#, fuzzy -msgid "Custom capabilities:" -msgstr "Rechte:" - -# @ ure -#: ../includes/class-user-other-roles.php:82 -#: ../includes/class-user-other-roles.php:183 -#: ../includes/class-user-other-roles.php:243 -#, fuzzy -msgid "Other Roles" -msgstr "Löschen der Rolle" - -#: ../includes/class-user-other-roles.php:83 -msgid "Select additional roles for this user" -msgstr "" - -#: ../includes/class-user-other-roles.php:162 -#: ../includes/class-user-role-editor.php:438 -msgid "Capabilities" -msgstr "Rechte" - -# @ ure -#: ../includes/class-user-other-roles.php:169 -#, fuzzy -msgid "Edit" -msgstr "Redakteur" - -# @ ure -#: ../includes/class-user-other-roles.php:215 -#, fuzzy -msgid "Additional Capabilities" -msgstr "Füge neues Recht hinzu" - -# @ ure -#: ../includes/class-ure-screen-help.php:12 -#: ../includes/class-ure-screen-help.php:41 -#: ../includes/class-ure-screen-help.php:60 -#: ../includes/class-ure-screen-help.php:79 -#, fuzzy -msgid "User Role Editor Options page help" -msgstr "User Role Editor" - -#: ../includes/class-ure-screen-help.php:15 -#: ../includes/settings-template.php:53 -msgid "Show Administrator role at User Role Editor" -msgstr "" - -#: ../includes/class-ure-screen-help.php:16 -msgid "" -"turn this option on in order to make the \"Administrator\" role available at " -"the User Role Editor roles selection drop-down list. It is hidden by default " -"for security reasons." -msgstr "" - -# @ ure -#: ../includes/class-ure-screen-help.php:18 -#: ../includes/settings-template.php:61 -#, fuzzy -msgid "Show capabilities in the human readable form" -msgstr "Anzeige der Rechte in allgemeinverständlicher Form" - -#: ../includes/class-ure-screen-help.php:19 -msgid "" -"automatically converts capability names from the technical form for internal " -"use like \"edit_others_posts\" to more user friendly form, e.g. \"Edit " -"others posts\"." -msgstr "" - -#: ../includes/class-ure-screen-help.php:22 -msgid "" -"Capabilities like \"level_0\", \"level_1\" are deprecated and are not used " -"by WordPress. They are left at the user roles for the compatibility purpose " -"with the old themes and plugins code. Turning on this option will show those " -"deprecated capabilities." -msgstr "" - -#: ../includes/class-ure-screen-help.php:25 -#: ../includes/settings-template.php:77 -#, fuzzy -msgid "Edit user capabilities" -msgstr "Rechte:" - -#: ../includes/class-ure-screen-help.php:26 -msgid "" -"If turned off - capabilities section of selected user is shown in readonly " -"mode. Administrator can not assign capabilities to the user directly. He " -"should make it using roles only." -msgstr "" - -#: ../includes/class-ure-screen-help.php:45 -#: ../includes/settings-template.php:111 -msgid "Count users without role" -msgstr "" - -#: ../includes/class-ure-screen-help.php:46 -msgid "" -"Show at the \"Users\" page a quant of users without role. Module allows to " -"assign all of them an empty role \"No rights\", in order to look on the " -"users list with role \"No rights\" at the separate tab then." -msgstr "" - -# @ ure -#: ../includes/class-ure-screen-help.php:63 -#, fuzzy -msgid "Other default roles for new registered user" -msgstr "Standard-Rolle für neuen Benutzer" - -#: ../includes/class-ure-screen-help.php:64 -msgid "" -"select roles below to assign them to the new user automatically as an " -"addition to the primary role. Note for multisite environment: take into " -"account that other default roles should exist at the site, in order to be " -"assigned to the new registered users." -msgstr "" - -#: ../includes/class-ure-screen-help.php:82 -msgid "Allow non super-admininstrators to create, edit and delete users" -msgstr "" - -#: ../includes/class-ure-screen-help.php:83 -msgid "" -"Super administrator only may create, edit and delete users under WordPress " -"multi-site by default. Turn this option on in order to remove this " -"limitation." -msgstr "" - -#: ../includes/class-user-role-editor.php:233 -msgid "Change role for users without role" -msgstr "" - -#: ../includes/class-user-role-editor.php:234 -msgid "No rights" -msgstr "" - -#: ../includes/class-user-role-editor.php:235 -msgid "Provide new role" -msgstr "" - -#: ../includes/class-user-role-editor.php:298 -#: ../includes/class-user-role-editor.php:300 -#, fuzzy -msgid "You do not have permission to edit this user." -msgstr "Fehler: Sie haben nicht die Erlaubnis, dieses Recht zu löschen: %s!" - -# @ ure -#: ../includes/class-user-role-editor.php:535 -msgid "Settings" -msgstr "Einstellungen" - -#: ../includes/class-user-role-editor.php:568 -#: ../includes/settings-template.php:21 -msgid "General" -msgstr "" - -#: ../includes/class-user-role-editor.php:574 -#: ../includes/settings-template.php:26 -msgid "Additional Modules" -msgstr "" - -# @ ure -#: ../includes/class-user-role-editor.php:580 -#: ../includes/settings-template.php:30 -#, fuzzy -msgid "Default Roles" -msgstr "Löschen der Rolle" - -#: ../includes/class-user-role-editor.php:586 -#: ../includes/settings-template.php:34 -msgid "Multisite" -msgstr "" - -# @ ure -#: ../includes/class-user-role-editor.php:685 -#: ../includes/class-user-role-editor.php:703 -#: ../includes/class-user-role-editor.php:747 -#, fuzzy -msgid "User Role Editor options are updated" -msgstr "User Role Editor" - -# @ ure -#: ../includes/class-user-role-editor.php:731 -#, fuzzy -msgid "Default Roles are updated" -msgstr "Standard-Rolle für neuen Benutzer" - -#: ../includes/class-user-role-editor.php:756 -msgid "" -"You do not have sufficient permissions to manage options for User Role " -"Editor." -msgstr "" - -# @ ure -#: ../includes/class-user-role-editor.php:885 -msgid "Select All" -msgstr "Wähle alle aus" - -#: ../includes/class-user-role-editor.php:886 -msgid "Unselect All" -msgstr "Wähle alle ab" - -#: ../includes/class-user-role-editor.php:887 -msgid "Reverse" -msgstr "Rückgängig" - -# @ ure -#: ../includes/class-user-role-editor.php:888 -msgid "Update" -msgstr "Aktualisieren" - -# @ ure -#: ../includes/class-user-role-editor.php:889 -#, fuzzy -msgid "Please confirm permissions update" -msgstr "Bestätigen Sie bitte, um fortzufahren" - -# @ ure -#: ../includes/class-user-role-editor.php:890 -msgid "Add New Role" -msgstr "Neue Rolle hinzufügen" - -# @ ure -#: ../includes/class-user-role-editor.php:891 -#: ../includes/class-user-role-editor.php:896 -#, fuzzy -msgid "Rename Role" -msgstr "Löschen der Rolle" - -# @ ure -#: ../includes/class-user-role-editor.php:892 -#, fuzzy -msgid " Role name (ID) can not be empty!" -msgstr "Name darf nicht leer sein!" - -# @ ure -#: ../includes/class-user-role-editor.php:893 -#, fuzzy -msgid "" -" Role name (ID) must contain latin characters, digits, hyphens or underscore " -"only!" -msgstr "Fehler: Der Rollen-Name darf nur Buchstaben und Ziffern enthalten!" - -#: ../includes/class-user-role-editor.php:894 -msgid "" -" WordPress does not support numeric Role name (ID). Add latin characters to " -"it." -msgstr "" - -# @ ure -#: ../includes/class-user-role-editor.php:895 -#, fuzzy -msgid "Add Role" -msgstr "Neue Rolle hinzufügen" - -# @ ure -#: ../includes/class-user-role-editor.php:897 -msgid "Delete Role" -msgstr "Löschen der Rolle" - -# @ ure -#: ../includes/class-user-role-editor.php:898 -msgid "Cancel" -msgstr "Abbrechen" - -# @ ure -#: ../includes/class-user-role-editor.php:899 -#, fuzzy -msgid "Add Capability" -msgstr "Füge neues Recht hinzu" - -#: ../includes/class-user-role-editor.php:900 -#: ../includes/class-user-role-editor.php:909 -#, fuzzy -msgid "Delete Capability" -msgstr "Entferne Recht" - -# @ ure -#: ../includes/class-user-role-editor.php:901 -msgid "Reset" -msgstr "Zurücksetzen" - -#: ../includes/class-user-role-editor.php:902 -msgid "DANGER! Resetting will restore default settings from WordPress Core." -msgstr "" - -#: ../includes/class-user-role-editor.php:903 -msgid "" -"If any plugins have changed capabilities in any way upon installation (such " -"as S2Member, WooCommerce, and many more), those capabilities will be DELETED!" -msgstr "" - -#: ../includes/class-user-role-editor.php:904 -msgid "" -"For more information on how to undo changes and restore plugin capabilities " -"go to" -msgstr "" - -# @ ure -#: ../includes/class-user-role-editor.php:906 -#, fuzzy -msgid "Continue?" -msgstr "Mitarbeiter" - -# @ ure -#: ../includes/class-user-role-editor.php:907 -#, fuzzy -msgid "Default Role" -msgstr "Löschen der Rolle" - -# @ ure -#: ../includes/class-user-role-editor.php:908 -#, fuzzy -msgid "Set New Default Role" -msgstr "Als Standard-Benutzer-Rolle setzen" - -#: ../includes/class-user-role-editor.php:910 -msgid "" -"Warning! Be careful - removing critical capability could crash some plugin " -"or other custom code" -msgstr "" -"Achtung! Seien Sie vorsichtig - das Löschen kritischer Rechte könnte Plugin- " -"oder angepassten Code zerstören." - -# @ ure -#: ../includes/class-user-role-editor.php:911 -#, fuzzy -msgid " Capability name (ID) can not be empty!" -msgstr "Name darf nicht leer sein!" - -# @ ure -#: ../includes/class-user-role-editor.php:912 -#, fuzzy -msgid "" -" Capability name (ID) must contain latin characters, digits, hyphens or " -"underscore only!" -msgstr "Fehler: Der Name des Rechts darf nur Buchstaben und Ziffern enthalten!" - -# @ ure -#: ../includes/settings-template.php:17 -#, fuzzy -msgid "User Role Editor - Options" -msgstr "User Role Editor" - -#: ../includes/settings-template.php:39 -msgid "About" -msgstr "" - -#: ../includes/settings-template.php:90 ../includes/settings-template.php:126 -#: ../includes/settings-template.php:158 ../includes/settings-template.php:190 -msgid "Save" -msgstr "" - -#: ../includes/settings-template.php:138 -msgid "Primary default role: " -msgstr "" - -# @ ure -#: ../includes/settings-template.php:145 -#, fuzzy -msgid "Other default roles for new registered user: " -msgstr "Standard-Rolle für neuen Benutzer" - -#: ../includes/settings-template.php:151 -msgid "" -"Note for multisite environment: take into account that other default roles " -"should exist at the site, in order to be assigned to the new registered " -"users." -msgstr "" - -#: ../includes/settings-template.php:177 -msgid "Allow non super administrators to create, edit, and delete users" -msgstr "" - -#: ../includes/ure-user-edit.php:32 -msgid "Network Super Admin" -msgstr "" - -#: ../includes/ure-user-edit.php:35 -msgid "Change capabilities for user" -msgstr "Ändere Rechte für Benutzer" - -#: ../includes/ure-user-edit.php:72 -msgid "Primary Role:" -msgstr "" - -#: ../includes/ure-user-edit.php:82 -msgid "bbPress Role:" -msgstr "" - -# @ ure -#: ../includes/ure-user-edit.php:92 -#, fuzzy -msgid "Other Roles:" -msgstr "Löschen der Rolle" - -# @ ure -#, fuzzy -#~ msgid "User Role Editor requires PHP %s or newer." -#~ msgstr "User Role Editor benötigt PHP 5.0 oder aktueller" - -# @ ure -#~ msgid "Please update!" -#~ msgstr "Bitte aktualisieren!" - -#~ msgid "Only" -#~ msgstr "Nur" - -#~ msgid "is allowed to use" -#~ msgstr "ist gestattet zu benutzen" - -# @ ure -#, fuzzy -#~ msgid "User Role Editor requires WordPress %s or newer." -#~ msgstr "User Role Editor benötigt Wordpress 3.0 oder aktueller" - -# @ ure -#~ msgid "Backup record is created for the current role capabilities" -#~ msgstr "Sicherheitskopie der aktuellen Rollenbefugnisse wird erstellt" - -#~ msgid "User" -#~ msgstr "Benutzer" - -# @ ure -#~ msgid "About this Plugin:" -#~ msgstr "Über dieses Plugin:" - -# @ ure -#~ msgid "Database operation error. Check log file." -#~ msgstr "Datenbankfehler. Überprüfen Sie die Protokolldatei." - -# @ ure -#~ msgid "" -#~ "No backup data. It is created automatically before the first role data " -#~ "update." -#~ msgstr "" -#~ "Keine Sicherungskopie vorhanden. Sie wird automatisch vor der ersten " -#~ "Aktualisierung von Rollen-Daten erstellt." - -# @ ure -#~ msgid " Name must contain latin characters and digits only!" -#~ msgstr "Der Name darf nur Buchstaben und Ziffern enthalten!" - -# @ ure -#~ msgid "Change Default Role" -#~ msgstr "Ändern der Standard-Rolle" - -#~ msgid "" -#~ "Restore Roles from backup copy. Be careful, backup was created when you " -#~ "started URE 1st time. All changes you made after that will be lost" -#~ msgstr "" -#~ "Wiederherstellung der Rollen von der Sicherungskopie. Seien Sie " -#~ "vorsichtig, die Sicherung wurde bei Ihrer ersten Benutzung von URE " -#~ "erstellt. Alle Änderungen, die Sie danach vorgenommen haben, gehen " -#~ "verloren" - -# @ ure -#~ msgid "Role \"%s\" update: please confirm to continue" -#~ msgstr "Aktualisierung der Rolle \"%s\": Zum Fortfahren bitte bestätigen" - -# @ ure -#~ msgid "Save Changes" -#~ msgstr "Änderungen sichern" - -# @ ure -#~ msgid "Cancel not saved changes" -#~ msgstr "Ungesicherte Änderungen verwerfen" - -#~ msgid "Select All Capabilities" -#~ msgstr "Wähle alle Rechte" - -#~ msgid "Unselect All Capabilities" -#~ msgstr "Wähle alle Rechte ab" - -#~ msgid "Turn checked capabilities off and vise versa" -#~ msgstr "Schalte alle markierten Rechte ab und umgekehrt" - -# @ ure -#~ msgid "Restore Roles from backup copy" -#~ msgstr "Wiederherstellung der Rollen von der Sicherheitskopie" - -#~ msgid "Name: " -#~ msgstr "Name:" - -# @ ure -#~ msgid "Add" -#~ msgstr "Hinzufügen" - -# @ ure -#~ msgid "Add New User Role" -#~ msgstr "Neue Benutzer-Rolle hinzufügen" - -# @ ure -#~ msgid "Change" -#~ msgstr "Ändern" - -# @ ure -#~ msgid "Remove" -#~ msgstr "Entferne" - -# @ ure -#~ msgid "User \"%s\" update: please confirm to continue" -#~ msgstr "Benutzer \"%s\" Aktualisierung: Bitte bestätigen, um fortzufahren" - -# @ ure -#~ msgid "Role:" -#~ msgstr "Rolle:" - -#~ msgid "Add capabilities to this user:" -#~ msgstr "Füge Rechte für diesen Benutzer hinzu:" - -# @ ure -#~ msgid "Greetings" -#~ msgstr "Mitarbeiter:" - -# @ ure -#~ msgid "Greetings:" -#~ msgstr "Mitarbeiter:" - -# @ ure -#~ msgid "It's me, the author" -#~ msgstr "Der Autor" - -# @ ure -#~ msgid "For the help with Belorussian translation" -#~ msgstr "Für die Hilfe bei der Übersetzung ins Weißrussische" - -# @ ure -#~ msgid "For the help with Brasilian translation" -#~ msgstr "Für die Hilfe bei der Übersetzung ins Brasilianische" - -# @ ure -#, fuzzy -#~ msgid "For the help with Brasilian Portuguese translation" -#~ msgstr "Für die Hilfe bei der Übersetzung ins Brasilianische" diff --git a/wp-content/plugins/user-role-editor/lang/user-role-editor-es_ES.mo b/wp-content/plugins/user-role-editor/lang/user-role-editor-es_ES.mo deleted file mode 100644 index 5ac43c5..0000000 Binary files a/wp-content/plugins/user-role-editor/lang/user-role-editor-es_ES.mo and /dev/null differ diff --git a/wp-content/plugins/user-role-editor/lang/user-role-editor-es_ES.po b/wp-content/plugins/user-role-editor/lang/user-role-editor-es_ES.po deleted file mode 100644 index 28f2a20..0000000 --- a/wp-content/plugins/user-role-editor/lang/user-role-editor-es_ES.po +++ /dev/null @@ -1,927 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: User Role Editor 2.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-11 21:06+0100\n" -"PO-Revision-Date: \n" -"Last-Translator: Vladimir Garagulya \n" -"Language-Team: ShinePHP.com \n" -"Language: es_ES\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Poedit-SourceCharset: UTF-8\n" -"X-Poedit-KeywordsList: __;_e\n" -"X-Poedit-Basepath: .\n" -"X-Generator: Poedit 1.5.4\n" -"X-Poedit-SearchPath-0: ..\n" - -#: ../includes/class-ure-lib.php:247 -msgid "Error: wrong request" -msgstr "Error: Petición inválida" - -#: ../includes/class-ure-lib.php:280 ../includes/class-ure-lib.php:291 -msgid "Role name (ID): " -msgstr "Nombre del Rol (ID):" - -#: ../includes/class-ure-lib.php:282 ../includes/class-ure-lib.php:293 -msgid "Display Role Name: " -msgstr "Mostrar nombre del Rol:" - -#: ../includes/class-ure-lib.php:284 -msgid "Make copy of: " -msgstr "Hacer copia de:" - -#: ../includes/class-ure-lib.php:300 -msgid "Select Role:" -msgstr "Seleccionar Rol:" - -#: ../includes/class-ure-lib.php:315 -msgid "Delete:" -msgstr "Eliminar:" - -#: ../includes/class-ure-lib.php:322 -msgid "Capability name (ID): " -msgstr "Nombre de la Capacidad (ID):" - -#: ../includes/class-ure-lib.php:339 -#: ../includes/class-user-role-editor.php:596 -#: ../includes/class-user-role-editor.php:625 -msgid "User Role Editor" -msgstr "Editor de Roles" - -#: ../includes/class-ure-lib.php:436 -msgid "Error: " -msgstr "Error:" - -#: ../includes/class-ure-lib.php:436 -msgid "Role" -msgstr "Rol" - -#: ../includes/class-ure-lib.php:437 -msgid "does not exist" -msgstr "no existe" - -#: ../includes/class-ure-lib.php:480 -msgid "Role is updated successfully" -msgstr "El Rol fue exitosamente actualizado" - -#: ../includes/class-ure-lib.php:482 -msgid "Roles are updated for all network" -msgstr "Roles actualizados en toda la Red" - -#: ../includes/class-ure-lib.php:488 -msgid "Error occured during role(s) update" -msgstr "Ocurrió un error durante la actualización del Rol" - -#: ../includes/class-ure-lib.php:495 -msgid "User capabilities are updated successfully" -msgstr "Las Capacidades de Usuario fueron actualizadas exitosamente" - -#: ../includes/class-ure-lib.php:500 -msgid "Error occured during user update" -msgstr "Ocurrió un error durante la actualización del Usuario" - -#: ../includes/class-ure-lib.php:558 -msgid "User Roles are restored to WordPress default values. " -msgstr "" -"Los Roles de Usuario fueron restaurados a los predeterminados de WordPress" - -#: ../includes/class-ure-lib.php:1436 -msgid "read about" -msgstr "" - -#: ../includes/class-ure-lib.php:1437 -#, fuzzy -msgid "user capability" -msgstr "Capacidades personalizadas:" - -#: ../includes/class-ure-lib.php:1438 -msgid "Help" -msgstr "Ayuda" - -#: ../includes/class-ure-lib.php:1693 ../includes/class-ure-lib.php:1946 -#: ../includes/class-ure-lib.php:2062 ../includes/class-ure-lib.php:2110 -#: ../includes/class-ure-lib.php:2358 ../includes/class-ure-lib.php:2403 -#: ../includes/class-user-role-editor.php:828 -msgid "Insufficient permissions to work with User Role Editor" -msgstr "Permisos insuficientes para trabajar con el Editor de Roles" - -#: ../includes/class-ure-lib.php:1909 -msgid "Error is occur. Please check the log file." -msgstr "Un error ha ocurrido. Por favor revisa el archivo de registro." - -#: ../includes/class-ure-lib.php:1955 ../includes/class-ure-lib.php:2022 -msgid "" -"Error: Role ID must contain latin characters, digits, hyphens or underscore " -"only!" -msgstr "" -"Error: ¡La ID del Rol sólo debe contener caracteres alfanuméricos, guiones " -"altos o bajos!" - -#: ../includes/class-ure-lib.php:1959 ../includes/class-ure-lib.php:2026 -msgid "" -"Error: WordPress does not support numeric Role name (ID). Add latin " -"characters to it." -msgstr "" - -#: ../includes/class-ure-lib.php:1974 -#, php-format -msgid "Role %s exists already" -msgstr "El Rol %s ya existe" - -#: ../includes/class-ure-lib.php:1989 -msgid "Error is encountered during new role create operation" -msgstr "Un error fue encontrado durante la creación del nuevo Rol" - -#: ../includes/class-ure-lib.php:1991 -#, php-format -msgid "Role %s is created successfully" -msgstr "El Rol %s fue creado exitosamente" - -#: ../includes/class-ure-lib.php:2015 -msgid "Error: Role ID is empty!" -msgstr "" - -#: ../includes/class-ure-lib.php:2033 -msgid "Error: Empty role display name is not allowed." -msgstr "" - -#: ../includes/class-ure-lib.php:2040 -#, fuzzy, php-format -msgid "Role %s does not exists" -msgstr "no existe" - -#: ../includes/class-ure-lib.php:2048 -#, fuzzy, php-format -msgid "Role %s is renamed to %s successfully" -msgstr "El Rol %s fue creado exitosamente" - -#: ../includes/class-ure-lib.php:2121 -msgid "Error encountered during role delete operation" -msgstr "Un error fue encontrado durante la eliminación del Rol" - -#: ../includes/class-ure-lib.php:2123 -msgid "Unused roles are deleted successfully" -msgstr "" - -#: ../includes/class-ure-lib.php:2125 -#, php-format -msgid "Role %s is deleted successfully" -msgstr "El Rol %s fue eliminado exitosamente" - -#: ../includes/class-ure-lib.php:2153 -msgid "Error encountered during default role change operation" -msgstr "Un error fue encontrado durante el cambio del Rol predeterminado" - -#: ../includes/class-ure-lib.php:2156 -#, php-format -msgid "Default role for new users is set to %s successfully" -msgstr "El Rol predeterminado para nuevos usuarios ha sido establecido a %s" - -#: ../includes/class-ure-lib.php:2159 -msgid "Can not set Administrator role as a default one" -msgstr "" - -#: ../includes/class-ure-lib.php:2161 -#, fuzzy -msgid "This role does not exist - " -msgstr "no existe" - -#: ../includes/class-ure-lib.php:2177 -msgid "Editor" -msgstr "Editor" - -#: ../includes/class-ure-lib.php:2178 -msgid "Author" -msgstr "Autor" - -#: ../includes/class-ure-lib.php:2179 -msgid "Contributor" -msgstr "Contribuyente" - -#: ../includes/class-ure-lib.php:2180 -msgid "Subscriber" -msgstr "Suscriptor" - -#: ../includes/class-ure-lib.php:2182 -msgid "Switch themes" -msgstr "Cambiar temas (plantillas)" - -#: ../includes/class-ure-lib.php:2183 -msgid "Edit themes" -msgstr "Editar temas (plantillas)" - -#: ../includes/class-ure-lib.php:2184 -msgid "Activate plugins" -msgstr "Activar plugins" - -#: ../includes/class-ure-lib.php:2185 -msgid "Edit plugins" -msgstr "Editar plugins" - -#: ../includes/class-ure-lib.php:2186 -msgid "Edit users" -msgstr "Editar usuarios" - -#: ../includes/class-ure-lib.php:2187 -msgid "Edit files" -msgstr "Editar archivos" - -#: ../includes/class-ure-lib.php:2188 -msgid "Manage options" -msgstr "Administrar opciones" - -#: ../includes/class-ure-lib.php:2189 -msgid "Moderate comments" -msgstr "Moderar comentarios" - -#: ../includes/class-ure-lib.php:2190 -msgid "Manage categories" -msgstr "Administrar categorías" - -#: ../includes/class-ure-lib.php:2191 -msgid "Manage links" -msgstr "Administrar enlaces" - -#: ../includes/class-ure-lib.php:2192 -msgid "Upload files" -msgstr "Subir archivos" - -#: ../includes/class-ure-lib.php:2193 -msgid "Import" -msgstr "Importar" - -#: ../includes/class-ure-lib.php:2194 -msgid "Unfiltered html" -msgstr "HTML sin filtrar" - -#: ../includes/class-ure-lib.php:2195 -msgid "Edit posts" -msgstr "Editar entradas" - -#: ../includes/class-ure-lib.php:2196 -msgid "Edit others posts" -msgstr "Editar entradas ajenas" - -#: ../includes/class-ure-lib.php:2197 -msgid "Edit published posts" -msgstr "Editar entradas publicadas" - -#: ../includes/class-ure-lib.php:2198 -msgid "Publish posts" -msgstr "Publicar entradas" - -#: ../includes/class-ure-lib.php:2199 -msgid "Edit pages" -msgstr "Editar páginas" - -#: ../includes/class-ure-lib.php:2200 -msgid "Read" -msgstr "Leer" - -#: ../includes/class-ure-lib.php:2201 -msgid "Level 10" -msgstr "Nivel 10" - -#: ../includes/class-ure-lib.php:2202 -msgid "Level 9" -msgstr "Nivel 9" - -#: ../includes/class-ure-lib.php:2203 -msgid "Level 8" -msgstr "Nivel 8" - -#: ../includes/class-ure-lib.php:2204 -msgid "Level 7" -msgstr "Nivel 7" - -#: ../includes/class-ure-lib.php:2205 -msgid "Level 6" -msgstr "Nivel 6" - -#: ../includes/class-ure-lib.php:2206 -msgid "Level 5" -msgstr "Nivel 5" - -#: ../includes/class-ure-lib.php:2207 -msgid "Level 4" -msgstr "Nivel 4" - -#: ../includes/class-ure-lib.php:2208 -msgid "Level 3" -msgstr "Nivel 3" - -#: ../includes/class-ure-lib.php:2209 -msgid "Level 2" -msgstr "Nivel 2" - -#: ../includes/class-ure-lib.php:2210 -msgid "Level 1" -msgstr "Nivel 1" - -#: ../includes/class-ure-lib.php:2211 -msgid "Level 0" -msgstr "Nivel 0" - -#: ../includes/class-ure-lib.php:2212 -msgid "Edit others pages" -msgstr "Editar páginas ajenas" - -#: ../includes/class-ure-lib.php:2213 -msgid "Edit published pages" -msgstr "Editar páginas publicadas" - -#: ../includes/class-ure-lib.php:2214 -msgid "Publish pages" -msgstr "Publicar páginas" - -#: ../includes/class-ure-lib.php:2215 -msgid "Delete pages" -msgstr "Eliminar páginas" - -#: ../includes/class-ure-lib.php:2216 -msgid "Delete others pages" -msgstr "Eliminar páginas ajenas" - -#: ../includes/class-ure-lib.php:2217 -msgid "Delete published pages" -msgstr "Eliminar páginas publicadas" - -#: ../includes/class-ure-lib.php:2218 -msgid "Delete posts" -msgstr "Eliminar entradas" - -#: ../includes/class-ure-lib.php:2219 -msgid "Delete others posts" -msgstr "Eliminar entradas ajenas" - -#: ../includes/class-ure-lib.php:2220 -msgid "Delete published posts" -msgstr "Eliminar entradas publicadas" - -#: ../includes/class-ure-lib.php:2221 -msgid "Delete private posts" -msgstr "Eliminar entradas privadas" - -#: ../includes/class-ure-lib.php:2222 -msgid "Edit private posts" -msgstr "Editar entradas privadas" - -#: ../includes/class-ure-lib.php:2223 -msgid "Read private posts" -msgstr "Leer entradas privadas" - -#: ../includes/class-ure-lib.php:2224 -msgid "Delete private pages" -msgstr "Eliminar páginas privadas" - -#: ../includes/class-ure-lib.php:2225 -msgid "Edit private pages" -msgstr "Editar páginas privadas" - -#: ../includes/class-ure-lib.php:2226 -msgid "Read private pages" -msgstr "Leer páginas privadas" - -#: ../includes/class-ure-lib.php:2227 -msgid "Delete users" -msgstr "Eliminar usuarios" - -#: ../includes/class-ure-lib.php:2228 -msgid "Create users" -msgstr "Crear usuarios" - -#: ../includes/class-ure-lib.php:2229 -msgid "Unfiltered upload" -msgstr "Subir sin filtrado" - -#: ../includes/class-ure-lib.php:2230 -msgid "Edit dashboard" -msgstr "Editar escritorio" - -#: ../includes/class-ure-lib.php:2231 -msgid "Update plugins" -msgstr "Actualizar plugins" - -#: ../includes/class-ure-lib.php:2232 -msgid "Delete plugins" -msgstr "Eliminar plugins" - -#: ../includes/class-ure-lib.php:2233 -msgid "Install plugins" -msgstr "Instalar plugins" - -#: ../includes/class-ure-lib.php:2234 -msgid "Update themes" -msgstr "Actualizar temas (plantillas)" - -#: ../includes/class-ure-lib.php:2235 -msgid "Install themes" -msgstr "Instalar temas (plantillas)" - -#: ../includes/class-ure-lib.php:2236 -msgid "Update core" -msgstr "Actualizar núcleo" - -#: ../includes/class-ure-lib.php:2237 -msgid "List users" -msgstr "Listar usuarios" - -#: ../includes/class-ure-lib.php:2238 -msgid "Remove users" -msgstr "Eliminar usuarios" - -#: ../includes/class-ure-lib.php:2239 -msgid "Add users" -msgstr "Agregar usuarios" - -#: ../includes/class-ure-lib.php:2240 -msgid "Promote users" -msgstr "Promover usuarios" - -#: ../includes/class-ure-lib.php:2241 -msgid "Edit theme options" -msgstr "Editar opciones del tema (plantilla)" - -#: ../includes/class-ure-lib.php:2242 -msgid "Delete themes" -msgstr "Eliminar temas (plantillas)" - -#: ../includes/class-ure-lib.php:2243 -msgid "Export" -msgstr "Exportar" - -#: ../includes/class-ure-lib.php:2366 -msgid "Error: Capability name must contain latin characters and digits only!" -msgstr "" -"Error: El nombre de la Capacidad sólo debe contener caracteres alfanuméricos!" - -#: ../includes/class-ure-lib.php:2379 -#, php-format -msgid "Capability %s is added successfully" -msgstr "La Capacidad %s fue agregada exitosamente" - -#: ../includes/class-ure-lib.php:2381 -#, php-format -msgid "Capability %s exists already" -msgstr "La Capacidad %s ya existe" - -#: ../includes/class-ure-lib.php:2410 -#, php-format -msgid "Error! You do not have permission to delete this capability: %s!" -msgstr "" -"¡Error! No cuentas con suficientes permisos para eliminar esta Capacidad: %s!" - -#: ../includes/class-ure-lib.php:2429 -#, fuzzy, php-format -msgid "Capability %s was removed successfully" -msgstr "La Capacidad %s fue eliminada exitosamente" - -#: ../includes/class-ure-lib.php:2497 -msgid "Version:" -msgstr "" - -#: ../includes/class-ure-lib.php:2498 -msgid "Author's website" -msgstr "Sitio web del Autor" - -#: ../includes/class-ure-lib.php:2499 -msgid "Plugin webpage" -msgstr "Página web del Plugin" - -#: ../includes/class-ure-lib.php:2500 -#, fuzzy -msgid "Plugin download" -msgstr "Página web del Plugin" - -#: ../includes/class-ure-lib.php:2501 -#: ../includes/class-user-role-editor.php:546 -msgid "Changelog" -msgstr "Registro de cambios" - -#: ../includes/class-ure-lib.php:2502 -msgid "FAQ" -msgstr "FAQ" - -#: ../includes/class-ure-lib.php:2575 -msgid "Delete All Unused Roles" -msgstr "" - -#: ../includes/class-ure-lib.php:2588 -msgid "None" -msgstr "Ninguno" - -#: ../includes/class-ure-lib.php:2632 -msgid "— No role for this site —" -msgstr "" - -#: ../includes/class-ure-lib.php:2747 -#, php-format -msgid "Denied: %s" -msgstr "" - -#: ../includes/ure-role-edit.php:17 -#, fuzzy -msgid "Select Role and change its capabilities:" -msgstr "Selecciona un rol y modifica su lista de Capacidades" - -#: ../includes/ure-role-edit.php:30 ../includes/ure-user-edit.php:54 -#, fuzzy -msgid "Show capabilities in human readable form" -msgstr "Mostrar Capacidades de forma legible" - -#: ../includes/ure-role-edit.php:40 ../includes/class-ure-screen-help.php:21 -#: ../includes/settings-template.php:69 ../includes/ure-user-edit.php:64 -msgid "Show deprecated capabilities" -msgstr "Mostrar Capacidades obsoletas" - -#: ../includes/ure-role-edit.php:44 -msgid "If checked, then apply action to ALL sites of this Network" -msgstr "Si está marcado, se aplicará la acción a TODOS los sitios de la Red" - -#: ../includes/ure-role-edit.php:56 -msgid "Apply to All Sites" -msgstr "Aplicar a todos los Sitios" - -#: ../includes/ure-role-edit.php:63 ../includes/ure-user-edit.php:110 -msgid "Core capabilities:" -msgstr "Capacidades del núcleo del sistema:" - -#: ../includes/ure-role-edit.php:65 ../includes/ure-user-edit.php:112 -msgid "Quick filter:" -msgstr "Filtro rápido:" - -#: ../includes/ure-role-edit.php:83 ../includes/ure-user-edit.php:131 -msgid "Custom capabilities:" -msgstr "Capacidades personalizadas:" - -#: ../includes/class-user-other-roles.php:82 -#: ../includes/class-user-other-roles.php:183 -#: ../includes/class-user-other-roles.php:243 -msgid "Other Roles" -msgstr "Otros Roles" - -#: ../includes/class-user-other-roles.php:83 -msgid "Select additional roles for this user" -msgstr "" - -#: ../includes/class-user-other-roles.php:162 -#: ../includes/class-user-role-editor.php:438 -msgid "Capabilities" -msgstr "Capacidades" - -#: ../includes/class-user-other-roles.php:169 -msgid "Edit" -msgstr "Editar" - -#: ../includes/class-user-other-roles.php:215 -#, fuzzy -msgid "Additional Capabilities" -msgstr "Agregar Capacidad" - -#: ../includes/class-ure-screen-help.php:12 -#: ../includes/class-ure-screen-help.php:41 -#: ../includes/class-ure-screen-help.php:60 -#: ../includes/class-ure-screen-help.php:79 -#, fuzzy -msgid "User Role Editor Options page help" -msgstr "Editor de Roles" - -#: ../includes/class-ure-screen-help.php:15 -#: ../includes/settings-template.php:53 -msgid "Show Administrator role at User Role Editor" -msgstr "" - -#: ../includes/class-ure-screen-help.php:16 -msgid "" -"turn this option on in order to make the \"Administrator\" role available at " -"the User Role Editor roles selection drop-down list. It is hidden by default " -"for security reasons." -msgstr "" - -#: ../includes/class-ure-screen-help.php:18 -#: ../includes/settings-template.php:61 -#, fuzzy -msgid "Show capabilities in the human readable form" -msgstr "Mostrar Capacidades de forma legible" - -#: ../includes/class-ure-screen-help.php:19 -msgid "" -"automatically converts capability names from the technical form for internal " -"use like \"edit_others_posts\" to more user friendly form, e.g. \"Edit " -"others posts\"." -msgstr "" - -#: ../includes/class-ure-screen-help.php:22 -msgid "" -"Capabilities like \"level_0\", \"level_1\" are deprecated and are not used " -"by WordPress. They are left at the user roles for the compatibility purpose " -"with the old themes and plugins code. Turning on this option will show those " -"deprecated capabilities." -msgstr "" - -#: ../includes/class-ure-screen-help.php:25 -#: ../includes/settings-template.php:77 -#, fuzzy -msgid "Edit user capabilities" -msgstr "Capacidades personalizadas:" - -#: ../includes/class-ure-screen-help.php:26 -msgid "" -"If turned off - capabilities section of selected user is shown in readonly " -"mode. Administrator can not assign capabilities to the user directly. He " -"should make it using roles only." -msgstr "" - -#: ../includes/class-ure-screen-help.php:45 -#: ../includes/settings-template.php:111 -msgid "Count users without role" -msgstr "" - -#: ../includes/class-ure-screen-help.php:46 -msgid "" -"Show at the \"Users\" page a quant of users without role. Module allows to " -"assign all of them an empty role \"No rights\", in order to look on the " -"users list with role \"No rights\" at the separate tab then." -msgstr "" - -#: ../includes/class-ure-screen-help.php:63 -msgid "Other default roles for new registered user" -msgstr "" - -#: ../includes/class-ure-screen-help.php:64 -msgid "" -"select roles below to assign them to the new user automatically as an " -"addition to the primary role. Note for multisite environment: take into " -"account that other default roles should exist at the site, in order to be " -"assigned to the new registered users." -msgstr "" - -#: ../includes/class-ure-screen-help.php:82 -msgid "Allow non super-admininstrators to create, edit and delete users" -msgstr "" - -#: ../includes/class-ure-screen-help.php:83 -msgid "" -"Super administrator only may create, edit and delete users under WordPress " -"multi-site by default. Turn this option on in order to remove this " -"limitation." -msgstr "" - -#: ../includes/class-user-role-editor.php:233 -msgid "Change role for users without role" -msgstr "" - -#: ../includes/class-user-role-editor.php:234 -msgid "No rights" -msgstr "" - -#: ../includes/class-user-role-editor.php:235 -msgid "Provide new role" -msgstr "" - -#: ../includes/class-user-role-editor.php:298 -#: ../includes/class-user-role-editor.php:300 -msgid "You do not have permission to edit this user." -msgstr "No tienes los suficientes permisos para editar este usuario" - -#: ../includes/class-user-role-editor.php:535 -msgid "Settings" -msgstr "Configuración" - -#: ../includes/class-user-role-editor.php:568 -#: ../includes/settings-template.php:21 -msgid "General" -msgstr "" - -#: ../includes/class-user-role-editor.php:574 -#: ../includes/settings-template.php:26 -msgid "Additional Modules" -msgstr "" - -#: ../includes/class-user-role-editor.php:580 -#: ../includes/settings-template.php:30 -#, fuzzy -msgid "Default Roles" -msgstr "Rol Predeterminado" - -#: ../includes/class-user-role-editor.php:586 -#: ../includes/settings-template.php:34 -msgid "Multisite" -msgstr "" - -#: ../includes/class-user-role-editor.php:685 -#: ../includes/class-user-role-editor.php:703 -#: ../includes/class-user-role-editor.php:747 -msgid "User Role Editor options are updated" -msgstr "Opciones actualizadas" - -#: ../includes/class-user-role-editor.php:731 -#, fuzzy -msgid "Default Roles are updated" -msgstr "Rol Predeterminado" - -#: ../includes/class-user-role-editor.php:756 -msgid "" -"You do not have sufficient permissions to manage options for User Role " -"Editor." -msgstr "Permisos insuficientes para trabajar" - -#: ../includes/class-user-role-editor.php:885 -msgid "Select All" -msgstr "Seleccionar todo" - -#: ../includes/class-user-role-editor.php:886 -msgid "Unselect All" -msgstr "Deseleccionar todo" - -#: ../includes/class-user-role-editor.php:887 -msgid "Reverse" -msgstr "Revertir" - -#: ../includes/class-user-role-editor.php:888 -msgid "Update" -msgstr "Actualizar" - -#: ../includes/class-user-role-editor.php:889 -msgid "Please confirm permissions update" -msgstr "Por favor confirma las actualizaciones de permisos" - -#: ../includes/class-user-role-editor.php:890 -msgid "Add New Role" -msgstr "Agregar nuevo Rol" - -#: ../includes/class-user-role-editor.php:891 -#: ../includes/class-user-role-editor.php:896 -#, fuzzy -msgid "Rename Role" -msgstr "Eliminar Rol" - -#: ../includes/class-user-role-editor.php:892 -msgid " Role name (ID) can not be empty!" -msgstr "¡El nombre del Rol (ID) no puede estar vacío!" - -#: ../includes/class-user-role-editor.php:893 -msgid "" -" Role name (ID) must contain latin characters, digits, hyphens or underscore " -"only!" -msgstr "" -"¡El nombre del Rol (ID) sólo debe contener caracteres alfanuméricos, guiones " -"altos o bajos!" - -#: ../includes/class-user-role-editor.php:894 -msgid "" -" WordPress does not support numeric Role name (ID). Add latin characters to " -"it." -msgstr "" - -#: ../includes/class-user-role-editor.php:895 -msgid "Add Role" -msgstr "Agregar Rol" - -#: ../includes/class-user-role-editor.php:897 -msgid "Delete Role" -msgstr "Eliminar Rol" - -#: ../includes/class-user-role-editor.php:898 -msgid "Cancel" -msgstr "Cancelar" - -#: ../includes/class-user-role-editor.php:899 -msgid "Add Capability" -msgstr "Agregar Capacidad" - -#: ../includes/class-user-role-editor.php:900 -#: ../includes/class-user-role-editor.php:909 -msgid "Delete Capability" -msgstr "Eliminar Capacidades" - -#: ../includes/class-user-role-editor.php:901 -msgid "Reset" -msgstr "Reiniciar" - -#: ../includes/class-user-role-editor.php:902 -msgid "DANGER! Resetting will restore default settings from WordPress Core." -msgstr "" - -#: ../includes/class-user-role-editor.php:903 -msgid "" -"If any plugins have changed capabilities in any way upon installation (such " -"as S2Member, WooCommerce, and many more), those capabilities will be DELETED!" -msgstr "" - -#: ../includes/class-user-role-editor.php:904 -msgid "" -"For more information on how to undo changes and restore plugin capabilities " -"go to" -msgstr "" - -#: ../includes/class-user-role-editor.php:906 -msgid "Continue?" -msgstr "" - -#: ../includes/class-user-role-editor.php:907 -msgid "Default Role" -msgstr "Rol Predeterminado" - -#: ../includes/class-user-role-editor.php:908 -msgid "Set New Default Role" -msgstr "Establecer nuevo Rol" - -#: ../includes/class-user-role-editor.php:910 -msgid "" -"Warning! Be careful - removing critical capability could crash some plugin " -"or other custom code" -msgstr "" -"¡Atención! Ten cuidado - Eliminar Capacidadess esenciales podría inhabilitar " -"algún plugin o código personalizado" - -#: ../includes/class-user-role-editor.php:911 -msgid " Capability name (ID) can not be empty!" -msgstr "¡El nombre de la Capacidad (ID) no puede estar vacío!" - -#: ../includes/class-user-role-editor.php:912 -msgid "" -" Capability name (ID) must contain latin characters, digits, hyphens or " -"underscore only!" -msgstr "" -"¡El nombre de la Capacidad (ID) sólo debe contener caracteres alfanuméricos, " -"guiones altos o bajos!" - -#: ../includes/settings-template.php:17 -#, fuzzy -msgid "User Role Editor - Options" -msgstr "Editor de Roles" - -#: ../includes/settings-template.php:39 -msgid "About" -msgstr "" - -#: ../includes/settings-template.php:90 ../includes/settings-template.php:126 -#: ../includes/settings-template.php:158 ../includes/settings-template.php:190 -msgid "Save" -msgstr "Guardar" - -#: ../includes/settings-template.php:138 -#, fuzzy -msgid "Primary default role: " -msgstr "Rol Primario:" - -#: ../includes/settings-template.php:145 -msgid "Other default roles for new registered user: " -msgstr "" - -#: ../includes/settings-template.php:151 -msgid "" -"Note for multisite environment: take into account that other default roles " -"should exist at the site, in order to be assigned to the new registered " -"users." -msgstr "" - -#: ../includes/settings-template.php:177 -msgid "Allow non super administrators to create, edit, and delete users" -msgstr "" - -#: ../includes/ure-user-edit.php:32 -msgid "Network Super Admin" -msgstr "" - -#: ../includes/ure-user-edit.php:35 -msgid "Change capabilities for user" -msgstr "Cambiar Capacidades para el usuario" - -#: ../includes/ure-user-edit.php:72 -msgid "Primary Role:" -msgstr "Rol Primario:" - -#: ../includes/ure-user-edit.php:82 -msgid "bbPress Role:" -msgstr "Rol de bbPress:" - -#: ../includes/ure-user-edit.php:92 -msgid "Other Roles:" -msgstr "Otros Roles:" - -#, fuzzy -#~ msgid "select roles below" -#~ msgstr "Deseleccionar todo" - -#~ msgid "About this Plugin:" -#~ msgstr "Acerca de este Plugin:" - -#~ msgid "" -#~ "Reset Roles to WordPress defaults. Be careful, all changes made by you or " -#~ "plugins will be lost. Some plugins, e.g. S2Member, WooCommerce " -#~ "reactivation could be needed. Continue?" -#~ msgstr "" -#~ "Reiniciar Roles a los predeterminados de WordPress. Ten cuidado, todos " -#~ "los cambios que tú hayas realizado (o ejecutados por algún plugin) se " -#~ "perderán. Algunos plugins como S2Member, WooCommerce podrían necesitar " -#~ "una reactivación ¿Deseas continuar?" - -#~ msgid "Only" -#~ msgstr "Solamente" - -#~ msgid "is allowed to use" -#~ msgstr "está permitido usarlo" diff --git a/wp-content/plugins/user-role-editor/lang/user-role-editor-fa_IR.mo b/wp-content/plugins/user-role-editor/lang/user-role-editor-fa_IR.mo deleted file mode 100644 index 468ccc9..0000000 Binary files a/wp-content/plugins/user-role-editor/lang/user-role-editor-fa_IR.mo and /dev/null differ diff --git a/wp-content/plugins/user-role-editor/lang/user-role-editor-fa_IR.po b/wp-content/plugins/user-role-editor/lang/user-role-editor-fa_IR.po deleted file mode 100644 index 25e588c..0000000 --- a/wp-content/plugins/user-role-editor/lang/user-role-editor-fa_IR.po +++ /dev/null @@ -1,925 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: User Role Editor 2.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-11 21:06+0100\n" -"PO-Revision-Date: \n" -"Last-Translator: Vladimir Garagulya \n" -"Language-Team: Morteza Gholami \n" -"Language: fa_IR\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Poedit-SourceCharset: UTF-8\n" -"X-Poedit-KeywordsList: __;_e;esc_html__;esc_html_e\n" -"X-Poedit-Basepath: .\n" -"X-Generator: Poedit 1.5.4\n" -"Plural-Forms: nplurals=1; plural=0;\n" -"X-Poedit-SearchPath-0: .\n" -"X-Poedit-SearchPath-1: ..\n" - -#: ../includes/class-ure-lib.php:247 -msgid "Error: wrong request" -msgstr "خطا: درخواست اشتباه" - -#: ../includes/class-ure-lib.php:280 ../includes/class-ure-lib.php:291 -msgid "Role name (ID): " -msgstr "نام نقش (شناسه): " - -#: ../includes/class-ure-lib.php:282 ../includes/class-ure-lib.php:293 -msgid "Display Role Name: " -msgstr "نام نمایشی نقش:" - -#: ../includes/class-ure-lib.php:284 -msgid "Make copy of: " -msgstr "ایجاد رونوشت از: " - -#: ../includes/class-ure-lib.php:300 -msgid "Select Role:" -msgstr "انتخاب نقش:" - -#: ../includes/class-ure-lib.php:315 -msgid "Delete:" -msgstr "حذف:" - -#: ../includes/class-ure-lib.php:322 -msgid "Capability name (ID): " -msgstr "نام قابلیت (شناسه): " - -#: ../includes/class-ure-lib.php:339 -#: ../includes/class-user-role-editor.php:596 -#: ../includes/class-user-role-editor.php:625 -msgid "User Role Editor" -msgstr "ویرایش‌گر نقش کاربر" - -#: ../includes/class-ure-lib.php:436 -msgid "Error: " -msgstr "خطا: " - -#: ../includes/class-ure-lib.php:436 -msgid "Role" -msgstr "نقش" - -#: ../includes/class-ure-lib.php:437 -msgid "does not exist" -msgstr "موجود نمی‌باشد" - -#: ../includes/class-ure-lib.php:480 -msgid "Role is updated successfully" -msgstr "نقش با موفقیت بروز شد" - -#: ../includes/class-ure-lib.php:482 -msgid "Roles are updated for all network" -msgstr "نقش‌ها برای تمامی شبکه بروز شد" - -#: ../includes/class-ure-lib.php:488 -msgid "Error occured during role(s) update" -msgstr "خطایی در هنگام بروزسانی نقش(ها) رخ داد" - -#: ../includes/class-ure-lib.php:495 -msgid "User capabilities are updated successfully" -msgstr "قابلیت‌های کاربر با موفقیت بروز شدند" - -#: ../includes/class-ure-lib.php:500 -msgid "Error occured during user update" -msgstr "خطایی در هنگام بروزرسانی کاربر رخ داد" - -#: ../includes/class-ure-lib.php:558 -msgid "User Roles are restored to WordPress default values. " -msgstr "نقش‌های کاربر به مقدار پیش‌فرض وردپرس ترمیم شد." - -#: ../includes/class-ure-lib.php:1436 -msgid "read about" -msgstr "" - -#: ../includes/class-ure-lib.php:1437 -msgid "user capability" -msgstr "" - -#: ../includes/class-ure-lib.php:1438 -msgid "Help" -msgstr "راهنما" - -#: ../includes/class-ure-lib.php:1693 ../includes/class-ure-lib.php:1946 -#: ../includes/class-ure-lib.php:2062 ../includes/class-ure-lib.php:2110 -#: ../includes/class-ure-lib.php:2358 ../includes/class-ure-lib.php:2403 -#: ../includes/class-user-role-editor.php:828 -msgid "Insufficient permissions to work with User Role Editor" -msgstr "مجوز ناکافی برای کار با ویرایش‌گر نقش کاربر" - -#: ../includes/class-ure-lib.php:1909 -msgid "Error is occur. Please check the log file." -msgstr "خطایی رخ داده است. لطفا فایل گزارش را چک کنید." - -#: ../includes/class-ure-lib.php:1955 ../includes/class-ure-lib.php:2022 -msgid "" -"Error: Role ID must contain latin characters, digits, hyphens or underscore " -"only!" -msgstr "" -"خطا: شناسه‌ی نقش باید فقط شامل حروف لاتین، اعداد، خط فاصله یا زیرخط باشد!" - -#: ../includes/class-ure-lib.php:1959 ../includes/class-ure-lib.php:2026 -msgid "" -"Error: WordPress does not support numeric Role name (ID). Add latin " -"characters to it." -msgstr "" -"خطا: وردپرس از نام نقش (شناسه) عددی پشتیبانی نمی‌کند. حروف لاتین به آن اضافه " -"کنید." - -#: ../includes/class-ure-lib.php:1974 -#, php-format -msgid "Role %s exists already" -msgstr "نقش %s از پیش موجود است" - -#: ../includes/class-ure-lib.php:1989 -msgid "Error is encountered during new role create operation" -msgstr "با خطایی در هنگام عملیات ساخت نقش جدید روبرو شدیم" - -#: ../includes/class-ure-lib.php:1991 -#, php-format -msgid "Role %s is created successfully" -msgstr "نقش %s با موفقیت ایجاد شد" - -#: ../includes/class-ure-lib.php:2015 -msgid "Error: Role ID is empty!" -msgstr "خطا: شناسه‌ی نقش خالی است!" - -#: ../includes/class-ure-lib.php:2033 -msgid "Error: Empty role display name is not allowed." -msgstr "خطا: خالی بودن نام نمایشی نقش مجاز نیست." - -#: ../includes/class-ure-lib.php:2040 -#, php-format -msgid "Role %s does not exists" -msgstr "نقش %s موجود نیست" - -#: ../includes/class-ure-lib.php:2048 -#, php-format -msgid "Role %s is renamed to %s successfully" -msgstr "نقش %s با موفقیت به %s تغییرنام داده شد" - -#: ../includes/class-ure-lib.php:2121 -msgid "Error encountered during role delete operation" -msgstr "با خطایی در هنگام عملیات حذف نقش روبرو شدیم" - -#: ../includes/class-ure-lib.php:2123 -msgid "Unused roles are deleted successfully" -msgstr "نقش‌های استفاده نشده با موفقیت حذف شدند" - -#: ../includes/class-ure-lib.php:2125 -#, php-format -msgid "Role %s is deleted successfully" -msgstr "نقش %s با موفقیت حذف شد" - -#: ../includes/class-ure-lib.php:2153 -msgid "Error encountered during default role change operation" -msgstr "با خطایی در هنگام عملیات تغییر نقش پیش‌فرض روبرو شدیم" - -#: ../includes/class-ure-lib.php:2156 -#, php-format -msgid "Default role for new users is set to %s successfully" -msgstr "نقش پیش‌فرض برای کاربران جدید با موفقیت روی %s تنظیم شد" - -#: ../includes/class-ure-lib.php:2159 -#, fuzzy -msgid "Can not set Administrator role as a default one" -msgstr "نمایش نقش مدیر در ویرایش‌گر نقش کاربر" - -#: ../includes/class-ure-lib.php:2161 -#, fuzzy -msgid "This role does not exist - " -msgstr "نقش %s موجود نیست" - -#: ../includes/class-ure-lib.php:2177 -msgid "Editor" -msgstr "ویرایش‌گر" - -#: ../includes/class-ure-lib.php:2178 -msgid "Author" -msgstr "نویسنده" - -#: ../includes/class-ure-lib.php:2179 -msgid "Contributor" -msgstr "مشارکت‌کننده" - -#: ../includes/class-ure-lib.php:2180 -msgid "Subscriber" -msgstr "مشترک" - -#: ../includes/class-ure-lib.php:2182 -msgid "Switch themes" -msgstr "تغییر پوسته‌ها" - -#: ../includes/class-ure-lib.php:2183 -msgid "Edit themes" -msgstr "ویرایش پوسته‌ها" - -#: ../includes/class-ure-lib.php:2184 -msgid "Activate plugins" -msgstr "فعال‌سازی افزونه‌ها" - -#: ../includes/class-ure-lib.php:2185 -msgid "Edit plugins" -msgstr "ویرایش افزونه‌ها" - -#: ../includes/class-ure-lib.php:2186 -msgid "Edit users" -msgstr "ویرایش کاربران" - -#: ../includes/class-ure-lib.php:2187 -msgid "Edit files" -msgstr "ویرایش فایل‌ها" - -#: ../includes/class-ure-lib.php:2188 -msgid "Manage options" -msgstr "مدیریت تنظیمات" - -#: ../includes/class-ure-lib.php:2189 -msgid "Moderate comments" -msgstr "مدیریت دیدگاه‌ها" - -#: ../includes/class-ure-lib.php:2190 -msgid "Manage categories" -msgstr "مدیریت دسته‌ها" - -#: ../includes/class-ure-lib.php:2191 -msgid "Manage links" -msgstr "مدیریت پیوندها" - -#: ../includes/class-ure-lib.php:2192 -msgid "Upload files" -msgstr "بارگذاری فایل‌ها" - -#: ../includes/class-ure-lib.php:2193 -msgid "Import" -msgstr "درون‌ریزی" - -#: ../includes/class-ure-lib.php:2194 -msgid "Unfiltered html" -msgstr "اچ‌تی‌ام‌ال فیلتر‌نشده" - -#: ../includes/class-ure-lib.php:2195 -msgid "Edit posts" -msgstr "ویرایش نوشته‌ها" - -#: ../includes/class-ure-lib.php:2196 -msgid "Edit others posts" -msgstr "ویرایش نوشته‌ی دیگران" - -#: ../includes/class-ure-lib.php:2197 -msgid "Edit published posts" -msgstr "ویرایش نوشته‌های منتشر‌شده" - -#: ../includes/class-ure-lib.php:2198 -msgid "Publish posts" -msgstr "انتشار نوشته‌ها" - -#: ../includes/class-ure-lib.php:2199 -msgid "Edit pages" -msgstr "ویرایش صفحات" - -#: ../includes/class-ure-lib.php:2200 -msgid "Read" -msgstr "خواندن" - -#: ../includes/class-ure-lib.php:2201 -msgid "Level 10" -msgstr "سطح ۱۰" - -#: ../includes/class-ure-lib.php:2202 -msgid "Level 9" -msgstr "سطح ۹" - -#: ../includes/class-ure-lib.php:2203 -msgid "Level 8" -msgstr "سطح ۸" - -#: ../includes/class-ure-lib.php:2204 -msgid "Level 7" -msgstr "سطح ۷" - -#: ../includes/class-ure-lib.php:2205 -msgid "Level 6" -msgstr "سطح ۶" - -#: ../includes/class-ure-lib.php:2206 -msgid "Level 5" -msgstr "سطح ۵" - -#: ../includes/class-ure-lib.php:2207 -msgid "Level 4" -msgstr "سطح ۴" - -#: ../includes/class-ure-lib.php:2208 -msgid "Level 3" -msgstr "سطح ۳" - -#: ../includes/class-ure-lib.php:2209 -msgid "Level 2" -msgstr "سطح ۲" - -#: ../includes/class-ure-lib.php:2210 -msgid "Level 1" -msgstr "سطح ۱" - -#: ../includes/class-ure-lib.php:2211 -msgid "Level 0" -msgstr "سطح ۰" - -#: ../includes/class-ure-lib.php:2212 -msgid "Edit others pages" -msgstr "ویرایش برگه‌های دیگران" - -#: ../includes/class-ure-lib.php:2213 -msgid "Edit published pages" -msgstr "ویرایش برگه‌های منتشر‌شده" - -#: ../includes/class-ure-lib.php:2214 -msgid "Publish pages" -msgstr "انتشار برگه‌ها" - -#: ../includes/class-ure-lib.php:2215 -msgid "Delete pages" -msgstr "حذف برگه‌ها" - -#: ../includes/class-ure-lib.php:2216 -msgid "Delete others pages" -msgstr "حذف برگه‌های دیگران" - -#: ../includes/class-ure-lib.php:2217 -msgid "Delete published pages" -msgstr "حذف برگه‌های منتشر‌شده" - -#: ../includes/class-ure-lib.php:2218 -msgid "Delete posts" -msgstr "حذف برگه‌ها" - -#: ../includes/class-ure-lib.php:2219 -msgid "Delete others posts" -msgstr "حذف نوشته‌های دیگران" - -#: ../includes/class-ure-lib.php:2220 -msgid "Delete published posts" -msgstr "حذف نوشته‌های منتشر‌شده" - -#: ../includes/class-ure-lib.php:2221 -msgid "Delete private posts" -msgstr "حذف نوشته‌های خصوصی" - -#: ../includes/class-ure-lib.php:2222 -msgid "Edit private posts" -msgstr "ویرایش نوشته‌های خصوصی" - -#: ../includes/class-ure-lib.php:2223 -msgid "Read private posts" -msgstr "خواندن نوشته‌های خصوصی" - -#: ../includes/class-ure-lib.php:2224 -msgid "Delete private pages" -msgstr "حذف برگه‌های خصوصی" - -#: ../includes/class-ure-lib.php:2225 -msgid "Edit private pages" -msgstr "ویرایش برگه‌های خصوصی" - -#: ../includes/class-ure-lib.php:2226 -msgid "Read private pages" -msgstr "خواندن برگه‌های خصوصی" - -#: ../includes/class-ure-lib.php:2227 -msgid "Delete users" -msgstr "حذف کاربران" - -#: ../includes/class-ure-lib.php:2228 -msgid "Create users" -msgstr "ایجاد کاربران" - -#: ../includes/class-ure-lib.php:2229 -msgid "Unfiltered upload" -msgstr "بارگذاری فیلتر‌شده" - -#: ../includes/class-ure-lib.php:2230 -msgid "Edit dashboard" -msgstr "ویرایش پیشخوان" - -#: ../includes/class-ure-lib.php:2231 -msgid "Update plugins" -msgstr "بروزرسانی افزونه‌ها" - -#: ../includes/class-ure-lib.php:2232 -msgid "Delete plugins" -msgstr "حذف افزونه‌ها" - -#: ../includes/class-ure-lib.php:2233 -msgid "Install plugins" -msgstr "نصب افزونه‌ها" - -#: ../includes/class-ure-lib.php:2234 -msgid "Update themes" -msgstr "بروزرسانی پوسته‌ها" - -#: ../includes/class-ure-lib.php:2235 -msgid "Install themes" -msgstr "نصب پوسته‌ها" - -#: ../includes/class-ure-lib.php:2236 -msgid "Update core" -msgstr "بروزرسانی هسته" - -#: ../includes/class-ure-lib.php:2237 -msgid "List users" -msgstr "فهرست کاربران" - -#: ../includes/class-ure-lib.php:2238 -msgid "Remove users" -msgstr "حذف کابران" - -#: ../includes/class-ure-lib.php:2239 -msgid "Add users" -msgstr "افزودن کاربران" - -#: ../includes/class-ure-lib.php:2240 -msgid "Promote users" -msgstr "ارتقاء کاربران" - -#: ../includes/class-ure-lib.php:2241 -msgid "Edit theme options" -msgstr "ویرایش تنظیمات پوسته" - -#: ../includes/class-ure-lib.php:2242 -msgid "Delete themes" -msgstr "حذف پوسته‌ها" - -#: ../includes/class-ure-lib.php:2243 -msgid "Export" -msgstr "برون‌ریزی" - -#: ../includes/class-ure-lib.php:2366 -msgid "Error: Capability name must contain latin characters and digits only!" -msgstr "خطا: نام قابلیت باید فقط شامل حروف لاتین و اعداد باشد!" - -#: ../includes/class-ure-lib.php:2379 -#, php-format -msgid "Capability %s is added successfully" -msgstr "قابلیت %s با موفقیت افزوده شد" - -#: ../includes/class-ure-lib.php:2381 -#, php-format -msgid "Capability %s exists already" -msgstr "قابلیت %s از پیش موجود است" - -#: ../includes/class-ure-lib.php:2410 -#, php-format -msgid "Error! You do not have permission to delete this capability: %s!" -msgstr "خطا! شما اجازه‌ی حذف این قابلیت را ندارید: %s!" - -#: ../includes/class-ure-lib.php:2429 -#, fuzzy, php-format -msgid "Capability %s was removed successfully" -msgstr "قابلیت %s با موفقیت حذف شد" - -#: ../includes/class-ure-lib.php:2497 -msgid "Version:" -msgstr "نسخه:" - -#: ../includes/class-ure-lib.php:2498 -msgid "Author's website" -msgstr "وبگاه نویسنده" - -#: ../includes/class-ure-lib.php:2499 -msgid "Plugin webpage" -msgstr "برگه‌ی افزونه" - -#: ../includes/class-ure-lib.php:2500 -msgid "Plugin download" -msgstr "بارگیری افزونه" - -#: ../includes/class-ure-lib.php:2501 -#: ../includes/class-user-role-editor.php:546 -msgid "Changelog" -msgstr "گزارش تغییرات" - -#: ../includes/class-ure-lib.php:2502 -msgid "FAQ" -msgstr "سوالات مکرر" - -#: ../includes/class-ure-lib.php:2575 -msgid "Delete All Unused Roles" -msgstr "حذف همه‌ی نقش‌های استفاده‌نشده" - -#: ../includes/class-ure-lib.php:2588 -msgid "None" -msgstr "هیچ‌کدام" - -#: ../includes/class-ure-lib.php:2632 -msgid "— No role for this site —" -msgstr "— هیچ نقشی برای این سایت —" - -#: ../includes/class-ure-lib.php:2747 -#, php-format -msgid "Denied: %s" -msgstr "" - -#: ../includes/ure-role-edit.php:17 -msgid "Select Role and change its capabilities:" -msgstr "انتخاب نقش و تغییر قابلیت‌های آن:" - -#: ../includes/ure-role-edit.php:30 ../includes/ure-user-edit.php:54 -msgid "Show capabilities in human readable form" -msgstr "نمایش قابلیت‌ها در حالت قابل خواندن برای انسان" - -#: ../includes/ure-role-edit.php:40 ../includes/class-ure-screen-help.php:21 -#: ../includes/settings-template.php:69 ../includes/ure-user-edit.php:64 -msgid "Show deprecated capabilities" -msgstr "نمایش قابلیت‌های بد دانسته ‌شده" - -#: ../includes/ure-role-edit.php:44 -msgid "If checked, then apply action to ALL sites of this Network" -msgstr "در صورت انتخاب، این عمل به تمامی سایت‌های شبکه اعمال می‌شود" - -#: ../includes/ure-role-edit.php:56 -msgid "Apply to All Sites" -msgstr "اعمال به تمامی سایت‌ها" - -#: ../includes/ure-role-edit.php:63 ../includes/ure-user-edit.php:110 -msgid "Core capabilities:" -msgstr "قابلیت‌های هسته:" - -#: ../includes/ure-role-edit.php:65 ../includes/ure-user-edit.php:112 -msgid "Quick filter:" -msgstr "فیلتر سریع:" - -#: ../includes/ure-role-edit.php:83 ../includes/ure-user-edit.php:131 -msgid "Custom capabilities:" -msgstr "قابلیت‌های سفارشی:" - -#: ../includes/class-user-other-roles.php:82 -#: ../includes/class-user-other-roles.php:183 -#: ../includes/class-user-other-roles.php:243 -msgid "Other Roles" -msgstr "دیگر نقش‌ها" - -#: ../includes/class-user-other-roles.php:83 -msgid "Select additional roles for this user" -msgstr "" - -#: ../includes/class-user-other-roles.php:162 -#: ../includes/class-user-role-editor.php:438 -msgid "Capabilities" -msgstr "قابلیت‌ها" - -#: ../includes/class-user-other-roles.php:169 -msgid "Edit" -msgstr "ویرایش" - -#: ../includes/class-user-other-roles.php:215 -#, fuzzy -msgid "Additional Capabilities" -msgstr "افزودن قابلیت" - -#: ../includes/class-ure-screen-help.php:12 -#: ../includes/class-ure-screen-help.php:41 -#: ../includes/class-ure-screen-help.php:60 -#: ../includes/class-ure-screen-help.php:79 -msgid "User Role Editor Options page help" -msgstr "" - -#: ../includes/class-ure-screen-help.php:15 -#: ../includes/settings-template.php:53 -msgid "Show Administrator role at User Role Editor" -msgstr "نمایش نقش مدیر در ویرایش‌گر نقش کاربر" - -#: ../includes/class-ure-screen-help.php:16 -msgid "" -"turn this option on in order to make the \"Administrator\" role available at " -"the User Role Editor roles selection drop-down list. It is hidden by default " -"for security reasons." -msgstr "" -"به منظور قابل دسترس شدن نقش «مدیر» در فهرست کشویی ویرایش‌گر نقش کاربر این " -"گزینه را روشن کنید. این امکان به دلیل مسائل امنیتی به‌طور پیش‌فرض مخفی است." - -#: ../includes/class-ure-screen-help.php:18 -#: ../includes/settings-template.php:61 -msgid "Show capabilities in the human readable form" -msgstr "نمایش قابلیت‌ها در حالت قابل خواندن برای انسان" - -#: ../includes/class-ure-screen-help.php:19 -msgid "" -"automatically converts capability names from the technical form for internal " -"use like \"edit_others_posts\" to more user friendly form, e.g. \"Edit " -"others posts\"." -msgstr "" -"به طور خودکار نام قابلیت‌ها را از حالت فنی به منظور استفاده‌های داخلی تبدیل " -"می‌کند. مانند «edit_others_posts» به حالت کاربر پسندتر، مثلا «ویرایش نوشته‌های " -"دیگران»." - -#: ../includes/class-ure-screen-help.php:22 -msgid "" -"Capabilities like \"level_0\", \"level_1\" are deprecated and are not used " -"by WordPress. They are left at the user roles for the compatibility purpose " -"with the old themes and plugins code. Turning on this option will show those " -"deprecated capabilities." -msgstr "" -"قابلیت‌هایی شبیه «سطح ۰»، «سطح ۱» بد دانسته شده‌اند و توسط وردپرس استفاده " -"نمی‌شوند. این قابلیت‌ها در نقش‌های کاربران به منظور سازگاری با پوسته‌های قدیمی و " -"کد افزونه‌ها باقی گذاشته شده‌اند. روشن کردن این گزینه، آن قابلیت‌های بد دانسته " -"شده را نمایش می‌دهد." - -#: ../includes/class-ure-screen-help.php:25 -#: ../includes/settings-template.php:77 -msgid "Edit user capabilities" -msgstr "ویرایش قابلیت‌های کاربر" - -#: ../includes/class-ure-screen-help.php:26 -msgid "" -"If turned off - capabilities section of selected user is shown in readonly " -"mode. Administrator can not assign capabilities to the user directly. He " -"should make it using roles only." -msgstr "" -"اگر خاموش شود - بخش قابلیت‌های کاربر انتخاب شده در حالت فقط خواندنی نمایش " -"داده می‌شود. مدیران به طور مستقیم نمی‌توانند به کاربر قابلیتی اختصاص دهند. او " -"باید تنها از نقش‌ها استفاده کند." - -#: ../includes/class-ure-screen-help.php:45 -#: ../includes/settings-template.php:111 -msgid "Count users without role" -msgstr "شمارش کاربران بدون نقش" - -#: ../includes/class-ure-screen-help.php:46 -msgid "" -"Show at the \"Users\" page a quant of users without role. Module allows to " -"assign all of them an empty role \"No rights\", in order to look on the " -"users list with role \"No rights\" at the separate tab then." -msgstr "نمایش کاربران بدون نقش در برگه‌ی «کاربران» " - -#: ../includes/class-ure-screen-help.php:63 -msgid "Other default roles for new registered user" -msgstr "دیگر نقش‌های پیش‌فرض برای کاربران تازه ثبت‌نام شده" - -#: ../includes/class-ure-screen-help.php:64 -msgid "" -"select roles below to assign them to the new user automatically as an " -"addition to the primary role. Note for multisite environment: take into " -"account that other default roles should exist at the site, in order to be " -"assigned to the new registered users." -msgstr "" -"نقش‌های زیر را علاوه بر نقش ابتدایی برای اختصاص خودکار به کاربر جدید انتخاب " -"کنید. قابل توجه محیط چند سایتی: به منظور اختصاص‌دادن نقش‌ها به کاربران تازه " -"ثبت‌نام شده، به حسابی بروید که نقش‌های پیش‌فرض دیگر می‌بایست در سایت موجود باشد." - -#: ../includes/class-ure-screen-help.php:82 -msgid "Allow non super-admininstrators to create, edit and delete users" -msgstr "اجازه به مدیران غیر اصلی برای ایجاد، ویرایش و حذف کاربران" - -#: ../includes/class-ure-screen-help.php:83 -msgid "" -"Super administrator only may create, edit and delete users under WordPress " -"multi-site by default. Turn this option on in order to remove this " -"limitation." -msgstr "" -"در وردپرس چندسایتی به طور پیش‌فرض تنها مدیر اصلی اجازه‌ی ایجاد، ویرایش و حذف " -"کاربران را دارد. برای حذف این محدودیت این گزینه را روشن کنید." - -#: ../includes/class-user-role-editor.php:233 -msgid "Change role for users without role" -msgstr "تغییر نقش برای کاربران بدون نقش" - -#: ../includes/class-user-role-editor.php:234 -msgid "No rights" -msgstr "بدون هیچ حقی" - -#: ../includes/class-user-role-editor.php:235 -msgid "Provide new role" -msgstr "ارائه‌ی نقش جدید" - -#: ../includes/class-user-role-editor.php:298 -#: ../includes/class-user-role-editor.php:300 -msgid "You do not have permission to edit this user." -msgstr "شما اجازه‌ی ویرایش این کاربر را ندارید." - -#: ../includes/class-user-role-editor.php:535 -msgid "Settings" -msgstr "تنظیمات" - -#: ../includes/class-user-role-editor.php:568 -#: ../includes/settings-template.php:21 -msgid "General" -msgstr "عمومی" - -#: ../includes/class-user-role-editor.php:574 -#: ../includes/settings-template.php:26 -msgid "Additional Modules" -msgstr "ماژول‌های اضافی" - -#: ../includes/class-user-role-editor.php:580 -#: ../includes/settings-template.php:30 -msgid "Default Roles" -msgstr "نقش‌های پیش‌فرض" - -#: ../includes/class-user-role-editor.php:586 -#: ../includes/settings-template.php:34 -msgid "Multisite" -msgstr "چندسایتی" - -#: ../includes/class-user-role-editor.php:685 -#: ../includes/class-user-role-editor.php:703 -#: ../includes/class-user-role-editor.php:747 -msgid "User Role Editor options are updated" -msgstr "تنظیمات ویرایش‌گر نقش کاربر بروز شد" - -#: ../includes/class-user-role-editor.php:731 -msgid "Default Roles are updated" -msgstr "نقش‌های پیش فرض بروز شدند" - -#: ../includes/class-user-role-editor.php:756 -msgid "" -"You do not have sufficient permissions to manage options for User Role " -"Editor." -msgstr "شما مجوز کافی برای مدیریت تنظیمات ویرایش‌گر نقش کاربر را ندارید." - -#: ../includes/class-user-role-editor.php:885 -msgid "Select All" -msgstr "انتخاب همه" - -#: ../includes/class-user-role-editor.php:886 -msgid "Unselect All" -msgstr "عدم‌انتخاب همه" - -#: ../includes/class-user-role-editor.php:887 -msgid "Reverse" -msgstr "وارونه" - -#: ../includes/class-user-role-editor.php:888 -msgid "Update" -msgstr "بروزرسانی" - -#: ../includes/class-user-role-editor.php:889 -msgid "Please confirm permissions update" -msgstr "لطفا مجوز بروزرسانی را تایید کنید" - -#: ../includes/class-user-role-editor.php:890 -msgid "Add New Role" -msgstr "افزودن نقش جدید" - -#: ../includes/class-user-role-editor.php:891 -#: ../includes/class-user-role-editor.php:896 -msgid "Rename Role" -msgstr "تغییرنام نقش" - -#: ../includes/class-user-role-editor.php:892 -msgid " Role name (ID) can not be empty!" -msgstr " نام نقش (شناسه) نمی تواند خالی باشد!" - -#: ../includes/class-user-role-editor.php:893 -msgid "" -" Role name (ID) must contain latin characters, digits, hyphens or underscore " -"only!" -msgstr "" -" نام نقش (شناسه) باید فقط شامل حروف لاتین، اعداد، خط فاصله یا زیرخط باشد!" - -#: ../includes/class-user-role-editor.php:894 -msgid "" -" WordPress does not support numeric Role name (ID). Add latin characters to " -"it." -msgstr "" -" وردپرس از نام نقش (شناسه) عددی پشتیبانی نمی‌کند. حروف لاتین به آن اضافه کنید." - -#: ../includes/class-user-role-editor.php:895 -msgid "Add Role" -msgstr "افزودن نقش" - -#: ../includes/class-user-role-editor.php:897 -msgid "Delete Role" -msgstr "حذف نقش" - -#: ../includes/class-user-role-editor.php:898 -msgid "Cancel" -msgstr "لغو" - -#: ../includes/class-user-role-editor.php:899 -msgid "Add Capability" -msgstr "افزودن قابلیت" - -#: ../includes/class-user-role-editor.php:900 -#: ../includes/class-user-role-editor.php:909 -msgid "Delete Capability" -msgstr "حذف قابلیت" - -#: ../includes/class-user-role-editor.php:901 -msgid "Reset" -msgstr "بازنشانی" - -#: ../includes/class-user-role-editor.php:902 -msgid "DANGER! Resetting will restore default settings from WordPress Core." -msgstr "خطر! بازنشانی، تنظیمات پیش‌فرض را از هسته‌ی وردپرس بازمی‌گرداند." - -#: ../includes/class-user-role-editor.php:903 -msgid "" -"If any plugins have changed capabilities in any way upon installation (such " -"as S2Member, WooCommerce, and many more), those capabilities will be DELETED!" -msgstr "" -"اگر هریک از افزونه‌ها پس از نصب به هر نحو قابلیت‌ها را تغییر دهند (مانند " -"S2Member ، WooCommerce و بسیاری دیگر) آن قابلیت‌ها حذف خواهند شد!" - -#: ../includes/class-user-role-editor.php:904 -msgid "" -"For more information on how to undo changes and restore plugin capabilities " -"go to" -msgstr "" -"برای کسب اطلاعات بیشتر درباره چگونگی خنثی‌سازی تغییرات و ترمیم‌کردن قابلیت‌ها " -"مراجعه کنید به" - -#: ../includes/class-user-role-editor.php:906 -msgid "Continue?" -msgstr "ادامه می‌دهید؟" - -#: ../includes/class-user-role-editor.php:907 -msgid "Default Role" -msgstr "نقش پیش‌فرض" - -#: ../includes/class-user-role-editor.php:908 -msgid "Set New Default Role" -msgstr "نشاندن نقش پیش‌فرض جدید" - -#: ../includes/class-user-role-editor.php:910 -msgid "" -"Warning! Be careful - removing critical capability could crash some plugin " -"or other custom code" -msgstr "" -"اخطار! مراقب باشید - حذف قابلیت مهم می‌تواند برخی از افزونه‌ها یا دیگر کدهای " -"سفارشی را دچار اشکال کند" - -#: ../includes/class-user-role-editor.php:911 -msgid " Capability name (ID) can not be empty!" -msgstr " نام قابلیت (شناسه) نمی تواند خالی باشد!" - -#: ../includes/class-user-role-editor.php:912 -msgid "" -" Capability name (ID) must contain latin characters, digits, hyphens or " -"underscore only!" -msgstr "" -" نام قابلیت (شناسه) باید فقط شامل حروف لاتین، اعداد، خط فاصله یا زیرخط باشد!" - -#: ../includes/settings-template.php:17 -msgid "User Role Editor - Options" -msgstr "ویرایش‌گر نقش کاربر - تنظیمات" - -#: ../includes/settings-template.php:39 -msgid "About" -msgstr "درباره" - -#: ../includes/settings-template.php:90 ../includes/settings-template.php:126 -#: ../includes/settings-template.php:158 ../includes/settings-template.php:190 -msgid "Save" -msgstr "ذخیره" - -#: ../includes/settings-template.php:138 -msgid "Primary default role: " -msgstr "نقش پیش‌فرض اولیه: " - -#: ../includes/settings-template.php:145 -msgid "Other default roles for new registered user: " -msgstr "دیگر نقش‌های پیش‌فرض برای کاربران تازه ثبت‌نام شده: " - -#: ../includes/settings-template.php:151 -msgid "" -"Note for multisite environment: take into account that other default roles " -"should exist at the site, in order to be assigned to the new registered " -"users." -msgstr "" -"قابل توجه محیط چند سایتی: به منظور اختصاص‌دادن نقش‌ها به کاربران تازه ثبت‌نام " -"شده، به حسابی بروید که نقش‌های پیش‌فرض دیگر می‌بایست در سایت موجود باشد." - -#: ../includes/settings-template.php:177 -msgid "Allow non super administrators to create, edit, and delete users" -msgstr "اجازه به مدیران غیر اصلی برای ایجاد، ویرایش و حذف کاربران" - -#: ../includes/ure-user-edit.php:32 -msgid "Network Super Admin" -msgstr "مدیر اصلی شبکه" - -#: ../includes/ure-user-edit.php:35 -msgid "Change capabilities for user" -msgstr "تغییر قابلیت‌ها برای کاربر" - -#: ../includes/ure-user-edit.php:72 -msgid "Primary Role:" -msgstr "نقش اولیه:" - -#: ../includes/ure-user-edit.php:82 -msgid "bbPress Role:" -msgstr "نقش بی‌بی‌پرس:" - -#: ../includes/ure-user-edit.php:92 -msgid "Other Roles:" -msgstr "دیگر نقش‌ها:" - -#, fuzzy -#~ msgid "select roles below" -#~ msgstr "عدم‌انتخاب همه" - -#~ msgid "Overview" -#~ msgstr "مرور کلی" - -#~ msgid "Allow create, edit and delete users to not super-admininstrators" -#~ msgstr "اجازه‌ی ایجاد، ویرایش و حذف کاربران به غیر مدیران اصلی" diff --git a/wp-content/plugins/user-role-editor/lang/user-role-editor-fr_FR.mo b/wp-content/plugins/user-role-editor/lang/user-role-editor-fr_FR.mo deleted file mode 100644 index c4a1d21..0000000 Binary files a/wp-content/plugins/user-role-editor/lang/user-role-editor-fr_FR.mo and /dev/null differ diff --git a/wp-content/plugins/user-role-editor/lang/user-role-editor-fr_FR.po b/wp-content/plugins/user-role-editor/lang/user-role-editor-fr_FR.po deleted file mode 100644 index 49f928c..0000000 --- a/wp-content/plugins/user-role-editor/lang/user-role-editor-fr_FR.po +++ /dev/null @@ -1,945 +0,0 @@ -# -# Translators: -# FxB , 2014 -# Sébastien Grillot , 2014 -msgid "" -msgstr "" -"Project-Id-Version: User Role Editor\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-11 21:06+0100\n" -"PO-Revision-Date: 2015-09-11 21:12+0100\n" -"Last-Translator: Vladimir Garagulya \n" -"Language-Team: French (France) (http://www.transifex.com/projects/p/user-" -"role-editor/language/fr_FR/)\n" -"Language: fr_FR\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" -"X-Generator: Poedit 1.5.4\n" -"X-Poedit-Basepath: .\n" -"X-Poedit-KeywordsList: __;_e;esc_html__;esc_html_e\n" -"X-Poedit-SourceCharset: UTF-8\n" -"X-Poedit-SearchPath-0: ..\n" - -#: ../includes/class-ure-lib.php:247 -msgid "Error: wrong request" -msgstr "Erreur : mauvaise requête" - -#: ../includes/class-ure-lib.php:280 ../includes/class-ure-lib.php:291 -msgid "Role name (ID): " -msgstr "Nom du rôle (ID) :" - -#: ../includes/class-ure-lib.php:282 ../includes/class-ure-lib.php:293 -msgid "Display Role Name: " -msgstr "Afficher le nom du rôle : " - -#: ../includes/class-ure-lib.php:284 -msgid "Make copy of: " -msgstr "Faire une copie de : " - -#: ../includes/class-ure-lib.php:300 -msgid "Select Role:" -msgstr "Sélectionner le rôle :" - -#: ../includes/class-ure-lib.php:315 -msgid "Delete:" -msgstr "Supprimer :" - -#: ../includes/class-ure-lib.php:322 -msgid "Capability name (ID): " -msgstr "Nom de la capacité (ID) : " - -#: ../includes/class-ure-lib.php:339 -#: ../includes/class-user-role-editor.php:596 -#: ../includes/class-user-role-editor.php:625 -msgid "User Role Editor" -msgstr "User Role Editor" - -#: ../includes/class-ure-lib.php:436 -msgid "Error: " -msgstr "Erreur : " - -#: ../includes/class-ure-lib.php:436 -msgid "Role" -msgstr "Rôle" - -#: ../includes/class-ure-lib.php:437 -msgid "does not exist" -msgstr "N'existe pas" - -#: ../includes/class-ure-lib.php:480 -msgid "Role is updated successfully" -msgstr "Le rôle à été bien été mis à jour" - -#: ../includes/class-ure-lib.php:482 -msgid "Roles are updated for all network" -msgstr "Les rôles ont été mis à jour sur tous les réseaux" - -#: ../includes/class-ure-lib.php:488 -msgid "Error occured during role(s) update" -msgstr "Une erreur est survenue pendant la mise à jour du (des) rôle(s)" - -#: ../includes/class-ure-lib.php:495 -msgid "User capabilities are updated successfully" -msgstr "Les capacités de l'utilisateur ont bien été mises à jour" - -#: ../includes/class-ure-lib.php:500 -msgid "Error occured during user update" -msgstr "Une erreur est survenue pendant le mise à jour de l'utilisateur" - -#: ../includes/class-ure-lib.php:558 -msgid "User Roles are restored to WordPress default values. " -msgstr "" -"Les rôles utilisateurs ont été restaurées selon les valeurs par défauts de " -"WordPress." - -#: ../includes/class-ure-lib.php:1436 -msgid "read about" -msgstr "" - -#: ../includes/class-ure-lib.php:1437 -msgid "user capability" -msgstr "capacité personnalisées" - -#: ../includes/class-ure-lib.php:1438 -msgid "Help" -msgstr "Aide" - -#: ../includes/class-ure-lib.php:1693 ../includes/class-ure-lib.php:1946 -#: ../includes/class-ure-lib.php:2062 ../includes/class-ure-lib.php:2110 -#: ../includes/class-ure-lib.php:2358 ../includes/class-ure-lib.php:2403 -#: ../includes/class-user-role-editor.php:828 -msgid "Insufficient permissions to work with User Role Editor" -msgstr "Permissions insuffisantes pour travailler avec User Role Editor" - -#: ../includes/class-ure-lib.php:1909 -msgid "Error is occur. Please check the log file." -msgstr "Une erreur s'est produite. Merci de vérifier les journaux." - -#: ../includes/class-ure-lib.php:1955 ../includes/class-ure-lib.php:2022 -msgid "" -"Error: Role ID must contain latin characters, digits, hyphens or underscore " -"only!" -msgstr "" -"Erreur : L'ID du rôle doit contenir des caractères latins, des chiffres, des " -"traits d'union ou des caractères de soulignement seulement !" - -#: ../includes/class-ure-lib.php:1959 ../includes/class-ure-lib.php:2026 -msgid "" -"Error: WordPress does not support numeric Role name (ID). Add latin " -"characters to it." -msgstr "" -"Erreur : WordPress ne supporte pas les noms de rôles (ID) numérique. Ajouter " -"des caractères latins à celui-ci." - -#: ../includes/class-ure-lib.php:1974 -#, php-format -msgid "Role %s exists already" -msgstr "Le rôle %s existe déjà" - -#: ../includes/class-ure-lib.php:1989 -msgid "Error is encountered during new role create operation" -msgstr "" -"Une erreur est survenue pendant l'opération de création du nouveau rôle" - -#: ../includes/class-ure-lib.php:1991 -#, php-format -msgid "Role %s is created successfully" -msgstr "Le rôle %s à bien été créé " - -#: ../includes/class-ure-lib.php:2015 -msgid "Error: Role ID is empty!" -msgstr "Erreur : L'ID du rôle est vide !" - -#: ../includes/class-ure-lib.php:2033 -msgid "Error: Empty role display name is not allowed." -msgstr "Erreur : Un nom d'affichage de rôle vide n'est pas autorisé." - -#: ../includes/class-ure-lib.php:2040 -#, php-format -msgid "Role %s does not exists" -msgstr "Le rôle %s n’existe pas." - -#: ../includes/class-ure-lib.php:2048 -#, php-format -msgid "Role %s is renamed to %s successfully" -msgstr "Le rôle %s à bien été renommé en %s. " - -#: ../includes/class-ure-lib.php:2121 -msgid "Error encountered during role delete operation" -msgstr "Une erreur est survenue pendant l'opération de suppression du rôle" - -#: ../includes/class-ure-lib.php:2123 -msgid "Unused roles are deleted successfully" -msgstr "Les rôles inutilisés ont bien été supprimés" - -#: ../includes/class-ure-lib.php:2125 -#, php-format -msgid "Role %s is deleted successfully" -msgstr "Le rôle %s à bien été supprimé" - -#: ../includes/class-ure-lib.php:2153 -msgid "Error encountered during default role change operation" -msgstr "" -"Une erreur est survenue pendant l'opération de changement du rôle par défaut" - -#: ../includes/class-ure-lib.php:2156 -#, php-format -msgid "Default role for new users is set to %s successfully" -msgstr "Le rôle par défaut pour les nouveaux utilisateur à bien été mis à %s" - -#: ../includes/class-ure-lib.php:2159 -#, fuzzy -msgid "Can not set Administrator role as a default one" -msgstr "Montrer le rôle Administrateur dans User Role Editor" - -#: ../includes/class-ure-lib.php:2161 -#, fuzzy -msgid "This role does not exist - " -msgstr "Le rôle %s n’existe pas." - -#: ../includes/class-ure-lib.php:2177 -msgid "Editor" -msgstr "Éditeur" - -#: ../includes/class-ure-lib.php:2178 -msgid "Author" -msgstr "Auteur" - -#: ../includes/class-ure-lib.php:2179 -msgid "Contributor" -msgstr "Contributeur" - -#: ../includes/class-ure-lib.php:2180 -msgid "Subscriber" -msgstr "Abonné" - -#: ../includes/class-ure-lib.php:2182 -msgid "Switch themes" -msgstr "Changer de thèmes" - -#: ../includes/class-ure-lib.php:2183 -msgid "Edit themes" -msgstr "Modifier les thèmes" - -#: ../includes/class-ure-lib.php:2184 -msgid "Activate plugins" -msgstr "Activer les extensions" - -#: ../includes/class-ure-lib.php:2185 -msgid "Edit plugins" -msgstr "Modifier les extensions" - -#: ../includes/class-ure-lib.php:2186 -msgid "Edit users" -msgstr "Modifier les utilisateurs" - -#: ../includes/class-ure-lib.php:2187 -msgid "Edit files" -msgstr "Modifier les fichiers" - -#: ../includes/class-ure-lib.php:2188 -msgid "Manage options" -msgstr "Gérer les options" - -#: ../includes/class-ure-lib.php:2189 -msgid "Moderate comments" -msgstr "Modérer les commentaires" - -#: ../includes/class-ure-lib.php:2190 -msgid "Manage categories" -msgstr "Gérer les catégories" - -#: ../includes/class-ure-lib.php:2191 -msgid "Manage links" -msgstr "Gérer les liens" - -#: ../includes/class-ure-lib.php:2192 -msgid "Upload files" -msgstr "Mettre en ligne des fichiers" - -#: ../includes/class-ure-lib.php:2193 -msgid "Import" -msgstr "Importer" - -#: ../includes/class-ure-lib.php:2194 -msgid "Unfiltered html" -msgstr "HTML non filtré" - -#: ../includes/class-ure-lib.php:2195 -msgid "Edit posts" -msgstr "Modifier les articles" - -#: ../includes/class-ure-lib.php:2196 -msgid "Edit others posts" -msgstr "Modifier les autres billets" - -#: ../includes/class-ure-lib.php:2197 -msgid "Edit published posts" -msgstr "Modifier les billets publiés " - -#: ../includes/class-ure-lib.php:2198 -msgid "Publish posts" -msgstr "Publier des articles" - -#: ../includes/class-ure-lib.php:2199 -msgid "Edit pages" -msgstr "Modifier des pages" - -#: ../includes/class-ure-lib.php:2200 -msgid "Read" -msgstr "Lire" - -#: ../includes/class-ure-lib.php:2201 -msgid "Level 10" -msgstr "Niveau 10" - -#: ../includes/class-ure-lib.php:2202 -msgid "Level 9" -msgstr "Niveau 9" - -#: ../includes/class-ure-lib.php:2203 -msgid "Level 8" -msgstr "Niveau 8" - -#: ../includes/class-ure-lib.php:2204 -msgid "Level 7" -msgstr "Niveau 7" - -#: ../includes/class-ure-lib.php:2205 -msgid "Level 6" -msgstr "Niveau 6" - -#: ../includes/class-ure-lib.php:2206 -msgid "Level 5" -msgstr "Niveau 5" - -#: ../includes/class-ure-lib.php:2207 -msgid "Level 4" -msgstr "Niveau 4" - -#: ../includes/class-ure-lib.php:2208 -msgid "Level 3" -msgstr "Niveau 3" - -#: ../includes/class-ure-lib.php:2209 -msgid "Level 2" -msgstr "Niveau 2" - -#: ../includes/class-ure-lib.php:2210 -msgid "Level 1" -msgstr "Niveau 1" - -#: ../includes/class-ure-lib.php:2211 -msgid "Level 0" -msgstr "Niveau 0" - -#: ../includes/class-ure-lib.php:2212 -msgid "Edit others pages" -msgstr "Modifier les autres pages" - -#: ../includes/class-ure-lib.php:2213 -msgid "Edit published pages" -msgstr "Modifier les pages publiées " - -#: ../includes/class-ure-lib.php:2214 -msgid "Publish pages" -msgstr "Publier les pages" - -#: ../includes/class-ure-lib.php:2215 -msgid "Delete pages" -msgstr "Supprimer les pages" - -#: ../includes/class-ure-lib.php:2216 -msgid "Delete others pages" -msgstr "Supprimer les autres pages" - -#: ../includes/class-ure-lib.php:2217 -msgid "Delete published pages" -msgstr "Supprimer les pages publiées" - -#: ../includes/class-ure-lib.php:2218 -msgid "Delete posts" -msgstr "Supprimer les articles" - -#: ../includes/class-ure-lib.php:2219 -msgid "Delete others posts" -msgstr "Supprimer les autres billets" - -#: ../includes/class-ure-lib.php:2220 -msgid "Delete published posts" -msgstr "Supprimer les billets publiés" - -#: ../includes/class-ure-lib.php:2221 -msgid "Delete private posts" -msgstr "Supprimer les billets privés" - -#: ../includes/class-ure-lib.php:2222 -msgid "Edit private posts" -msgstr "Modifier les billets privés" - -#: ../includes/class-ure-lib.php:2223 -msgid "Read private posts" -msgstr "Lire les billets privés" - -#: ../includes/class-ure-lib.php:2224 -msgid "Delete private pages" -msgstr "Supprimer les pages privées " - -#: ../includes/class-ure-lib.php:2225 -msgid "Edit private pages" -msgstr "Modifier les pages privées" - -#: ../includes/class-ure-lib.php:2226 -msgid "Read private pages" -msgstr "Lire les pages privées" - -#: ../includes/class-ure-lib.php:2227 -msgid "Delete users" -msgstr "Supprimer les utilisateurs" - -#: ../includes/class-ure-lib.php:2228 -msgid "Create users" -msgstr "Créer des utilisateurs" - -#: ../includes/class-ure-lib.php:2229 -msgid "Unfiltered upload" -msgstr "Téléchargement non filtré" - -#: ../includes/class-ure-lib.php:2230 -msgid "Edit dashboard" -msgstr "Modifier le tableau de bord" - -#: ../includes/class-ure-lib.php:2231 -msgid "Update plugins" -msgstr "Mettre à jour les extensions" - -#: ../includes/class-ure-lib.php:2232 -msgid "Delete plugins" -msgstr "Supprimer les extensions" - -#: ../includes/class-ure-lib.php:2233 -msgid "Install plugins" -msgstr "Installer les extensions" - -#: ../includes/class-ure-lib.php:2234 -msgid "Update themes" -msgstr "Mettre à jour les thèmes" - -#: ../includes/class-ure-lib.php:2235 -msgid "Install themes" -msgstr "Installer des thèmes" - -#: ../includes/class-ure-lib.php:2236 -msgid "Update core" -msgstr "Mettre à jour le cœur" - -#: ../includes/class-ure-lib.php:2237 -msgid "List users" -msgstr "Lister les utilisateurs" - -#: ../includes/class-ure-lib.php:2238 -msgid "Remove users" -msgstr "Supprimer des utilisateurs" - -#: ../includes/class-ure-lib.php:2239 -msgid "Add users" -msgstr "Ajouter les utilisateurs" - -#: ../includes/class-ure-lib.php:2240 -msgid "Promote users" -msgstr "Promouvoir des utilisateurs" - -#: ../includes/class-ure-lib.php:2241 -msgid "Edit theme options" -msgstr "Modifier les options du thème" - -#: ../includes/class-ure-lib.php:2242 -msgid "Delete themes" -msgstr "Supprimer des thèmes" - -#: ../includes/class-ure-lib.php:2243 -msgid "Export" -msgstr "Exporter" - -#: ../includes/class-ure-lib.php:2366 -msgid "Error: Capability name must contain latin characters and digits only!" -msgstr "" -"Erreur : Le nom de la capacité doit seulement contenir des caractères latins " -"et des chiffres !" - -#: ../includes/class-ure-lib.php:2379 -#, php-format -msgid "Capability %s is added successfully" -msgstr "La capacité %s à bien été ajoutée " - -#: ../includes/class-ure-lib.php:2381 -#, php-format -msgid "Capability %s exists already" -msgstr "La capacité %s existe déjà" - -#: ../includes/class-ure-lib.php:2410 -#, php-format -msgid "Error! You do not have permission to delete this capability: %s!" -msgstr "" -"Erreur ! Vous n'avez pas la permission de supprimer cette capacité. %s !" - -#: ../includes/class-ure-lib.php:2429 -#, fuzzy, php-format -msgid "Capability %s was removed successfully" -msgstr "La capacité %s à bien été supprimée " - -#: ../includes/class-ure-lib.php:2497 -msgid "Version:" -msgstr "Version :" - -#: ../includes/class-ure-lib.php:2498 -msgid "Author's website" -msgstr "Site internet de l'auteur" - -#: ../includes/class-ure-lib.php:2499 -msgid "Plugin webpage" -msgstr "Page web de l'extension" - -#: ../includes/class-ure-lib.php:2500 -msgid "Plugin download" -msgstr "Téléchargement de l'extension" - -#: ../includes/class-ure-lib.php:2501 -#: ../includes/class-user-role-editor.php:546 -msgid "Changelog" -msgstr "Journal des modifications" - -#: ../includes/class-ure-lib.php:2502 -msgid "FAQ" -msgstr "FAQ" - -#: ../includes/class-ure-lib.php:2575 -msgid "Delete All Unused Roles" -msgstr "Supprimer tous les rôles inutilisés " - -#: ../includes/class-ure-lib.php:2588 -msgid "None" -msgstr "Aucun" - -#: ../includes/class-ure-lib.php:2632 -msgid "— No role for this site —" -msgstr "— Pas de rôle sur ce site —" - -#: ../includes/class-ure-lib.php:2747 -#, php-format -msgid "Denied: %s" -msgstr "" - -#: ../includes/ure-role-edit.php:17 -msgid "Select Role and change its capabilities:" -msgstr "Sélectionner un rôle et changer ses capacités : " - -#: ../includes/ure-role-edit.php:30 ../includes/ure-user-edit.php:54 -msgid "Show capabilities in human readable form" -msgstr "Montrer les capacités dans une forme lisible par l'homme" - -#: ../includes/ure-role-edit.php:40 ../includes/class-ure-screen-help.php:21 -#: ../includes/settings-template.php:69 ../includes/ure-user-edit.php:64 -msgid "Show deprecated capabilities" -msgstr "Voir les capacités obsolètes" - -#: ../includes/ure-role-edit.php:44 -msgid "If checked, then apply action to ALL sites of this Network" -msgstr "" -"Si coché, alors appliquer toutes les actions à tous les sites du réseau" - -#: ../includes/ure-role-edit.php:56 -msgid "Apply to All Sites" -msgstr "Appliquer à tous les sites" - -#: ../includes/ure-role-edit.php:63 ../includes/ure-user-edit.php:110 -msgid "Core capabilities:" -msgstr "Capacités du core :" - -#: ../includes/ure-role-edit.php:65 ../includes/ure-user-edit.php:112 -msgid "Quick filter:" -msgstr "Filtre rapide : " - -#: ../includes/ure-role-edit.php:83 ../includes/ure-user-edit.php:131 -msgid "Custom capabilities:" -msgstr "Capacités personnalisées :" - -#: ../includes/class-user-other-roles.php:82 -#: ../includes/class-user-other-roles.php:183 -#: ../includes/class-user-other-roles.php:243 -msgid "Other Roles" -msgstr "Autres rôles" - -#: ../includes/class-user-other-roles.php:83 -msgid "Select additional roles for this user" -msgstr "" - -#: ../includes/class-user-other-roles.php:162 -#: ../includes/class-user-role-editor.php:438 -msgid "Capabilities" -msgstr "Capacités" - -#: ../includes/class-user-other-roles.php:169 -msgid "Edit" -msgstr "Modifier" - -#: ../includes/class-user-other-roles.php:215 -#, fuzzy -msgid "Additional Capabilities" -msgstr "Ajouter la capacité" - -#: ../includes/class-ure-screen-help.php:12 -#: ../includes/class-ure-screen-help.php:41 -#: ../includes/class-ure-screen-help.php:60 -#: ../includes/class-ure-screen-help.php:79 -msgid "User Role Editor Options page help" -msgstr "" - -#: ../includes/class-ure-screen-help.php:15 -#: ../includes/settings-template.php:53 -msgid "Show Administrator role at User Role Editor" -msgstr "Montrer le rôle Administrateur dans User Role Editor" - -#: ../includes/class-ure-screen-help.php:16 -msgid "" -"turn this option on in order to make the \"Administrator\" role available at " -"the User Role Editor roles selection drop-down list. It is hidden by default " -"for security reasons." -msgstr "" -"activer cette option pour rendre le rôle \"Administrateur\" disponible dans " -"la liste de sélection de User Role Editor. Cela est caché par défaut pour " -"des raisons de sécurité." - -#: ../includes/class-ure-screen-help.php:18 -#: ../includes/settings-template.php:61 -msgid "Show capabilities in the human readable form" -msgstr "Montrer les capacités dans une forme lisible par l'homme" - -#: ../includes/class-ure-screen-help.php:19 -msgid "" -"automatically converts capability names from the technical form for internal " -"use like \"edit_others_posts\" to more user friendly form, e.g. \"Edit " -"others posts\"." -msgstr "" -"converti automatiquement les noms techniques des capacités comme " -"\"modifier_autres_articles\" en une version plus lisible, p. ex. \"Modifier " -"autres articles\"." - -#: ../includes/class-ure-screen-help.php:22 -msgid "" -"Capabilities like \"level_0\", \"level_1\" are deprecated and are not used " -"by WordPress. They are left at the user roles for the compatibility purpose " -"with the old themes and plugins code. Turning on this option will show those " -"deprecated capabilities." -msgstr "" -"Les capacités de \"level_0\", \"level_1\" sont dépréciées et ne sont plus " -"utilisées par WordPress. Elles sont réglées au niveau utilisateur pour des " -"raisons de compatibilité avec les anciens thèmes et extensions. Activer " -"cette option affichera ces capacités dépréciées." - -#: ../includes/class-ure-screen-help.php:25 -#: ../includes/settings-template.php:77 -msgid "Edit user capabilities" -msgstr "Modifier capacités personnalisées" - -#: ../includes/class-ure-screen-help.php:26 -msgid "" -"If turned off - capabilities section of selected user is shown in readonly " -"mode. Administrator can not assign capabilities to the user directly. He " -"should make it using roles only." -msgstr "" - -#: ../includes/class-ure-screen-help.php:45 -#: ../includes/settings-template.php:111 -msgid "Count users without role" -msgstr "Compter les utilisateurs sans rôle" - -#: ../includes/class-ure-screen-help.php:46 -msgid "" -"Show at the \"Users\" page a quant of users without role. Module allows to " -"assign all of them an empty role \"No rights\", in order to look on the " -"users list with role \"No rights\" at the separate tab then." -msgstr "" -"Afficher sur la page « Utilisateurs » les utilisateurs sans rôle. Ce module " -"permet d'attribuer à chacun d'eux un rôle vide « Aucun droit », afin de " -"pouvoir les afficher dans un onglet « Aucun droit » séparé ensuite." - -#: ../includes/class-ure-screen-help.php:63 -msgid "Other default roles for new registered user" -msgstr "Autres rôles par défaut pour les nouveaux utilisateurs enregistrés" - -#: ../includes/class-ure-screen-help.php:64 -msgid "" -"select roles below to assign them to the new user automatically as an " -"addition to the primary role. Note for multisite environment: take into " -"account that other default roles should exist at the site, in order to be " -"assigned to the new registered users." -msgstr "" -"sélectionner les rôles ci-dessous a assigner automatiquement aux nouveaux " -"utilisateurs en plus de leur rôle premier. Remarque pour les environnements " -"multisite : Prenez en considération que d'autres rôles par défauts doivent " -"exister sur le site, afin qu'ils soient assignés aux nouveaux utilisateurs " -"enregistrés." - -#: ../includes/class-ure-screen-help.php:82 -msgid "Allow non super-admininstrators to create, edit and delete users" -msgstr "" -"Autoriser les utilisateurs qui ne sont pas super-administrateurs à créer, " -"modifier ou supprimer des utilisateurs" - -#: ../includes/class-ure-screen-help.php:83 -msgid "" -"Super administrator only may create, edit and delete users under WordPress " -"multi-site by default. Turn this option on in order to remove this " -"limitation." -msgstr "" -"Seul le Super Administrateur peut créer, modifier ou supprimer des " -"utilisateurs sur des installations WordPress multisite par défaut. Activer " -"cette option pour supprimer cette limitation." - -#: ../includes/class-user-role-editor.php:233 -msgid "Change role for users without role" -msgstr "Changer le rôle pour les utilisateurs sans rôle" - -#: ../includes/class-user-role-editor.php:234 -msgid "No rights" -msgstr "Aucun droit" - -#: ../includes/class-user-role-editor.php:235 -msgid "Provide new role" -msgstr "Fournir un nouveau rôle" - -#: ../includes/class-user-role-editor.php:298 -#: ../includes/class-user-role-editor.php:300 -msgid "You do not have permission to edit this user." -msgstr "" -"Vous n’avez pas l’autorisation de modifier cet utilisateur." - -#: ../includes/class-user-role-editor.php:535 -msgid "Settings" -msgstr "Paramètres" - -#: ../includes/class-user-role-editor.php:568 -#: ../includes/settings-template.php:21 -msgid "General" -msgstr "Général" - -#: ../includes/class-user-role-editor.php:574 -#: ../includes/settings-template.php:26 -msgid "Additional Modules" -msgstr "Modules complémentaires" - -#: ../includes/class-user-role-editor.php:580 -#: ../includes/settings-template.php:30 -msgid "Default Roles" -msgstr " Rôles par défaut" - -#: ../includes/class-user-role-editor.php:586 -#: ../includes/settings-template.php:34 -msgid "Multisite" -msgstr "Multisite" - -#: ../includes/class-user-role-editor.php:685 -#: ../includes/class-user-role-editor.php:703 -#: ../includes/class-user-role-editor.php:747 -msgid "User Role Editor options are updated" -msgstr "Les options de User Role Editor ont été mises à jour" - -#: ../includes/class-user-role-editor.php:731 -msgid "Default Roles are updated" -msgstr "Les rôles par défauts ont été mis à jour" - -#: ../includes/class-user-role-editor.php:756 -msgid "" -"You do not have sufficient permissions to manage options for User Role " -"Editor." -msgstr "" -"Vous n'avez pas les permissions suffisantes pour gérer les options de User " -"Role Editor." - -#: ../includes/class-user-role-editor.php:885 -msgid "Select All" -msgstr "Tout sélectionner" - -#: ../includes/class-user-role-editor.php:886 -msgid "Unselect All" -msgstr "Tout déselectionner" - -#: ../includes/class-user-role-editor.php:887 -msgid "Reverse" -msgstr "Inverser" - -#: ../includes/class-user-role-editor.php:888 -msgid "Update" -msgstr "Mettre à jour" - -#: ../includes/class-user-role-editor.php:889 -msgid "Please confirm permissions update" -msgstr "Merci de confirmer la mise à jour des permissions" - -#: ../includes/class-user-role-editor.php:890 -msgid "Add New Role" -msgstr "Ajouter un nouveau rôle" - -#: ../includes/class-user-role-editor.php:891 -#: ../includes/class-user-role-editor.php:896 -msgid "Rename Role" -msgstr "Renommer le Rôle" - -#: ../includes/class-user-role-editor.php:892 -msgid " Role name (ID) can not be empty!" -msgstr "Le nom du rôle (ID) ne peut pas être vide !" - -#: ../includes/class-user-role-editor.php:893 -msgid "" -" Role name (ID) must contain latin characters, digits, hyphens or underscore " -"only!" -msgstr "" -"Le nom du rôle (ID) peut contenir seulement des caractères latin, des " -"chiffres, des traits d'union ou des caractères de soulignement !" - -#: ../includes/class-user-role-editor.php:894 -msgid "" -" WordPress does not support numeric Role name (ID). Add latin characters to " -"it." -msgstr "" -"WordPress ne supporte pas les noms de rôle (ID) alphanumériques. Ajouter des " -"caractères latin à celui-ci." - -#: ../includes/class-user-role-editor.php:895 -msgid "Add Role" -msgstr "Ajouter un rôle" - -#: ../includes/class-user-role-editor.php:897 -msgid "Delete Role" -msgstr "Supprimer un rôle" - -#: ../includes/class-user-role-editor.php:898 -msgid "Cancel" -msgstr "Annuler" - -#: ../includes/class-user-role-editor.php:899 -msgid "Add Capability" -msgstr "Ajouter la capacité" - -#: ../includes/class-user-role-editor.php:900 -#: ../includes/class-user-role-editor.php:909 -msgid "Delete Capability" -msgstr "Supprimer la capacité" - -#: ../includes/class-user-role-editor.php:901 -msgid "Reset" -msgstr "Réinitialiser" - -#: ../includes/class-user-role-editor.php:902 -msgid "DANGER! Resetting will restore default settings from WordPress Core." -msgstr "" -"DANGER ! La réinitialisation va restaurer les paramètres par défaut du cœur " -"de WordPress." - -#: ../includes/class-user-role-editor.php:903 -msgid "" -"If any plugins have changed capabilities in any way upon installation (such " -"as S2Member, WooCommerce, and many more), those capabilities will be DELETED!" -msgstr "" -"Si aucune extension n'a modifié les capacités (comme S2Member ou WooCommerce " -"et bien d'autres), ces capacités seront SUPPRIMÉES ! " - -#: ../includes/class-user-role-editor.php:904 -msgid "" -"For more information on how to undo changes and restore plugin capabilities " -"go to" -msgstr "" -"Pour de plus amples informations sur la façon d'annuler les modifications et " -"rétablir les fonctions de l'extension, aller sur " - -#: ../includes/class-user-role-editor.php:906 -msgid "Continue?" -msgstr "Continuer ?" - -#: ../includes/class-user-role-editor.php:907 -msgid "Default Role" -msgstr " Rôle par défaut" - -#: ../includes/class-user-role-editor.php:908 -msgid "Set New Default Role" -msgstr "Régler le nouveau rôle par défaut" - -#: ../includes/class-user-role-editor.php:910 -msgid "" -"Warning! Be careful - removing critical capability could crash some plugin " -"or other custom code" -msgstr "" -"Attention ! Enlever des capacités critiques pourrait faire planter certaines " -"extension ou autres codes personnalisés" - -#: ../includes/class-user-role-editor.php:911 -msgid " Capability name (ID) can not be empty!" -msgstr "Le nom de la capacité (ID) ne peut pas être vide !" - -#: ../includes/class-user-role-editor.php:912 -msgid "" -" Capability name (ID) must contain latin characters, digits, hyphens or " -"underscore only!" -msgstr "" -"Le nom de la capacité (ID) doit contenir seulement des caractères latins, " -"des chiffres, des traits d'union ou des caractères de soulignement !" - -#: ../includes/settings-template.php:17 -msgid "User Role Editor - Options" -msgstr "User Role Editor - Options" - -#: ../includes/settings-template.php:39 -msgid "About" -msgstr "À propos" - -#: ../includes/settings-template.php:90 ../includes/settings-template.php:126 -#: ../includes/settings-template.php:158 ../includes/settings-template.php:190 -msgid "Save" -msgstr "Sauvegarder" - -#: ../includes/settings-template.php:138 -msgid "Primary default role: " -msgstr "Rôle primaire par défaut : " - -#: ../includes/settings-template.php:145 -msgid "Other default roles for new registered user: " -msgstr "Autres rôles par défaut pour les nouveaux utilisateurs enregistrés : " - -#: ../includes/settings-template.php:151 -msgid "" -"Note for multisite environment: take into account that other default roles " -"should exist at the site, in order to be assigned to the new registered " -"users." -msgstr "" -"Note pour les environnements multisite : Prenez en considération que " -"d'autres rôles par défauts doivent exister sur le site, afin qu'ils soient " -"assignés aux nouveaux utilisateurs enregistrés." - -#: ../includes/settings-template.php:177 -msgid "Allow non super administrators to create, edit, and delete users" -msgstr "" -"Autoriser les utilisateurs qui ne sont pas super-administrateurs à créer, " -"modifier ou supprimer des utilisateurs" - -#: ../includes/ure-user-edit.php:32 -msgid "Network Super Admin" -msgstr "Super Administrateur du réseau" - -#: ../includes/ure-user-edit.php:35 -msgid "Change capabilities for user" -msgstr "Changer les capacité pour l'utilisateur" - -#: ../includes/ure-user-edit.php:72 -msgid "Primary Role:" -msgstr "Rôle primaire : " - -#: ../includes/ure-user-edit.php:82 -msgid "bbPress Role:" -msgstr "Rôle bbPress : " - -#: ../includes/ure-user-edit.php:92 -msgid "Other Roles:" -msgstr "Autres rôles :" diff --git a/wp-content/plugins/user-role-editor/lang/user-role-editor-he_IL.mo b/wp-content/plugins/user-role-editor/lang/user-role-editor-he_IL.mo deleted file mode 100644 index 3f0ceb8..0000000 Binary files a/wp-content/plugins/user-role-editor/lang/user-role-editor-he_IL.mo and /dev/null differ diff --git a/wp-content/plugins/user-role-editor/lang/user-role-editor-he_IL.po b/wp-content/plugins/user-role-editor/lang/user-role-editor-he_IL.po deleted file mode 100644 index b497838..0000000 --- a/wp-content/plugins/user-role-editor/lang/user-role-editor-he_IL.po +++ /dev/null @@ -1,1245 +0,0 @@ -# This file was generated by WPML -# WPML is a WordPress plugin that can turn any WordPress or WordPressMU site into a full featured multilingual content management system. -# https://wpml.org -msgid "" -msgstr "" -"Project-Id-Version: user-role-editor\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-11 21:06+0100\n" -"PO-Revision-Date: \n" -"Last-Translator: Vladimir Garagulya \n" -"Language-Team: Ahrale, Atar4U.com \n" -"Language: he\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.5.4\n" -"X-Poedit-SourceCharset: UTF-8\n" - -# wpml-name: a4b9ac7e09dc5996d763f6bae29fd31a -#: ../includes/class-ure-lib.php:247 -#, fuzzy -msgid "Error: wrong request" -msgstr "שגיאה: בקשה מוטעית" - -# wpml-name: 37b0a122a7eb7b961dc33e61b8d5df10 -#: ../includes/class-ure-lib.php:280 ../includes/class-ure-lib.php:291 -#, fuzzy -msgid "Role name (ID): " -msgstr "שם התפקיד (ID): " - -# wpml-name: 246c9066a0e20805752f69f87ffb66af -#: ../includes/class-ure-lib.php:282 ../includes/class-ure-lib.php:293 -#, fuzzy -msgid "Display Role Name: " -msgstr "הצג שם תפקיד: " - -# wpml-name: 1f2d970e46f567eb2fe77e1f8387f37a -#: ../includes/class-ure-lib.php:284 -#, fuzzy -msgid "Make copy of: " -msgstr "צור העתק של: " - -# wpml-name: 6ae3f08b992f68a1bf8924945d2c7c98 -#: ../includes/class-ure-lib.php:300 -#, fuzzy -msgid "Select Role:" -msgstr "בחירת תפקיד:" - -# wpml-name: 62f0d909f4edb78b805e4cf6747a4c36 -#: ../includes/class-ure-lib.php:315 -#, fuzzy -msgid "Delete:" -msgstr "מחיקה:" - -# wpml-name: 42eabb45e3d2920f6a763458c3c5fffe -#: ../includes/class-ure-lib.php:322 -#, fuzzy -msgid "Capability name (ID): " -msgstr "שם היכולת (ID): " - -# wpml-name: c26ad3b67c7211a5872194d68cb5a8eb -#: ../includes/class-ure-lib.php:339 -#: ../includes/class-user-role-editor.php:596 -#: ../includes/class-user-role-editor.php:625 -#, fuzzy -msgid "User Role Editor" -msgstr "User Role Editor" - -# wpml-name: f97d2eb0a66987899d02bb180936afa3 -#: ../includes/class-ure-lib.php:436 -#, fuzzy -msgid "Error: " -msgstr "שגיאה:" - -# wpml-name: bbbabdbe1b262f75d99d62880b953be1 -#: ../includes/class-ure-lib.php:436 -#, fuzzy -msgid "Role" -msgstr "סוג משתמש:" - -# wpml-name: 9416a531e05cf18f1c26b97263e3c96b -#: ../includes/class-ure-lib.php:437 -#, fuzzy -msgid "does not exist" -msgstr "לא נמצא" - -# wpml-name: 9fd866f99b55510d60384b7efeb22018 -#: ../includes/class-ure-lib.php:480 -#, fuzzy -msgid "Role is updated successfully" -msgstr "התפקיד עודכן בהצלחה" - -# wpml-name: f89c187756348dad944b0fcca790fde6 -#: ../includes/class-ure-lib.php:482 -#, fuzzy -msgid "Roles are updated for all network" -msgstr "התפקידים עודכנו עבור כל הרשת" - -# wpml-name: 9f528ca4741155f636c4331b19f2b170 -#: ../includes/class-ure-lib.php:488 -#, fuzzy -msgid "Error occured during role(s) update" -msgstr "קרתה שגיאה בעת עדכון תפקידי המשתמש" - -# wpml-name: ee37618edaa53156b3a18d543ec60412 -#: ../includes/class-ure-lib.php:495 -#, fuzzy -msgid "User capabilities are updated successfully" -msgstr "יכולות המשתמש עודכנו בהצלחה" - -# wpml-name: f7283da5501e7e1cb13255d323859feb -#: ../includes/class-ure-lib.php:500 -#, fuzzy -msgid "Error occured during user update" -msgstr "קרתה שגיאה בזמן עדכון המשתמש" - -# wpml-name: 7182950b4f92d446844be24cfea6276a -#: ../includes/class-ure-lib.php:558 -#, fuzzy -msgid "User Roles are restored to WordPress default values. " -msgstr "תפקידי משתמש שוחזרו לערכי ברירת המחדל של וורדפרס." - -#: ../includes/class-ure-lib.php:1436 -msgid "read about" -msgstr "" - -# wpml-name: e16363f33a765f63f2a76c656513a3c3 -#: ../includes/class-ure-lib.php:1437 -#, fuzzy -msgid "user capability" -msgstr "עריכת יכולות משתמש" - -# wpml-name: 6a26f548831e6a8c26bfbbd9f6ec61e0 -#: ../includes/class-ure-lib.php:1438 -#, fuzzy -msgid "Help" -msgstr "עזרה" - -# wpml-name: 077a0eb06e4c26b3d834fbe4180a1f8e -#: ../includes/class-ure-lib.php:1693 ../includes/class-ure-lib.php:1946 -#: ../includes/class-ure-lib.php:2062 ../includes/class-ure-lib.php:2110 -#: ../includes/class-ure-lib.php:2358 ../includes/class-ure-lib.php:2403 -#: ../includes/class-user-role-editor.php:828 -#, fuzzy -msgid "Insufficient permissions to work with User Role Editor" -msgstr "לא מספיק הרשאות להשתמש בעורך התפקידים User Role Editor" - -# wpml-name: 766a60ac9e13c76c28bdf714ddecaa25 -#: ../includes/class-ure-lib.php:1909 -#, fuzzy -msgid "Error is occur. Please check the log file." -msgstr "ארעה שגיאה, אנא בדוק את קובץ היומן." - -# wpml-name: f9182094e24a9e2fbb7317b1724a69c9 -#: ../includes/class-ure-lib.php:1955 ../includes/class-ure-lib.php:2022 -#, fuzzy -msgid "" -"Error: Role ID must contain latin characters, digits, hyphens or underscore " -"only!" -msgstr "" -"שגיאה: תפקיד המשתמש חייב לכלול אותיות לטיניות, ספרות, מקפים וקו תחתון בלבד!" - -# wpml-name: a03c6e9d8af7d3cf56f1a0be07b39345 -#: ../includes/class-ure-lib.php:1959 ../includes/class-ure-lib.php:2026 -#, fuzzy -msgid "" -"Error: WordPress does not support numeric Role name (ID). Add latin " -"characters to it." -msgstr "" -"שגיאה: וורדפרס אינו תומך בשמות תפקיד מספריים (ID). הוסף לזה אותיות לטיניות." - -# wpml-name: 61b6d86154b5437be56e6565f2820391 -#: ../includes/class-ure-lib.php:1974 -#, fuzzy, php-format -msgid "Role %s exists already" -msgstr "סוג המשתמש %s כבר קיים" - -# wpml-name: e0618b1a4160611a46b1b95acab0821c -#: ../includes/class-ure-lib.php:1989 -#, fuzzy -msgid "Error is encountered during new role create operation" -msgstr "ארעה שגיאה בעת יצירת סוג המשתמש החדש" - -# wpml-name: 1613afddcbdf86bd48660e5443be00ff -#: ../includes/class-ure-lib.php:1991 -#, fuzzy, php-format -msgid "Role %s is created successfully" -msgstr "סוג המשתמש %s נוצר בהצלחה" - -# wpml-name: dbf31b81647ce1a7605928da07bbc226 -#: ../includes/class-ure-lib.php:2015 -#, fuzzy -msgid "Error: Role ID is empty!" -msgstr "שגיאה: המזהה (ID) של התפקיד ריק!" - -# wpml-name: 83403f9d7f4181a9e4ebbc259c8b2a6c -#: ../includes/class-ure-lib.php:2033 -#, fuzzy -msgid "Error: Empty role display name is not allowed." -msgstr "שגיאה: אסור להשאיר את שם התצוגה של התפקיד ריק." - -# wpml-name: f093e6cb4b2e171efb2f25d19479fdd0 -#: ../includes/class-ure-lib.php:2040 -#, fuzzy, php-format -msgid "Role %s does not exists" -msgstr "התפקיד %s אינו קיים" - -# wpml-name: b0125015a614e12676c361c966b6059b -#: ../includes/class-ure-lib.php:2048 -#, fuzzy, php-format -msgid "Role %s is renamed to %s successfully" -msgstr "התפקיד %s iשינה את שמו ל %s בהצלחה" - -# wpml-name: 5ca27dda122445e597586a22e18088e6 -#: ../includes/class-ure-lib.php:2121 -#, fuzzy -msgid "Error encountered during role delete operation" -msgstr "ארעה שגיאה במהלך נסיון המחיקה של סוג המשתמש" - -# wpml-name: 0eccd6e6cff8dd08f231a324a0c43d10 -#: ../includes/class-ure-lib.php:2123 -#, fuzzy -msgid "Unused roles are deleted successfully" -msgstr "התפקידים שאינם בשימוש נמחקו בהצלחה" - -# wpml-name: 53552ec95bc8303219e8c39375763370 -#: ../includes/class-ure-lib.php:2125 -#, fuzzy, php-format -msgid "Role %s is deleted successfully" -msgstr "סוג המשתמש %s נמחק בהצלחה" - -# wpml-name: b64bfe4842bc0638b79a24687976394e -#: ../includes/class-ure-lib.php:2153 -#, fuzzy -msgid "Error encountered during default role change operation" -msgstr "ארעה שגיאה בעת הנסיון לשנות את סוג משתמש ברירת מחדל" - -# wpml-name: 94978d82edc73eba0f44bc7bceb299f4 -#: ../includes/class-ure-lib.php:2156 -#, fuzzy, php-format -msgid "Default role for new users is set to %s successfully" -msgstr "סוג המשתמש %s נקבע כברירת מחדל" - -# wpml-name: 6a2b000934893502dc6bd0467b009610 -#: ../includes/class-ure-lib.php:2159 -#, fuzzy -msgid "Can not set Administrator role as a default one" -msgstr "הצג את תפקיד מנהל בעורך התפקידים" - -# wpml-name: f093e6cb4b2e171efb2f25d19479fdd0 -#: ../includes/class-ure-lib.php:2161 -#, fuzzy -msgid "This role does not exist - " -msgstr "התפקיד %s אינו קיים" - -# wpml-name: 344a7f427fb765610ef96eb7bce95257 -#: ../includes/class-ure-lib.php:2177 -#, fuzzy -msgid "Editor" -msgstr "עורך" - -# wpml-name: a517747c3d12f99244ae598910d979c5 -#: ../includes/class-ure-lib.php:2178 -#, fuzzy -msgid "Author" -msgstr "כותב" - -# wpml-name: 23d21ad4dea7aadf907e5e601b1905e6 -#: ../includes/class-ure-lib.php:2179 -#, fuzzy -msgid "Contributor" -msgstr "תורם" - -# wpml-name: 992c4a5b4628d8ebf671cf460254ee81 -#: ../includes/class-ure-lib.php:2180 -#, fuzzy -msgid "Subscriber" -msgstr "מנוי" - -# wpml-name: 87d980c0c79638536655ce7fa0a4b85d -#: ../includes/class-ure-lib.php:2182 -#, fuzzy -msgid "Switch themes" -msgstr "החלפת תבניות" - -# wpml-name: 8395d1904c778ee1b2762e07a6a03878 -#: ../includes/class-ure-lib.php:2183 -#, fuzzy -msgid "Edit themes" -msgstr "עריכת תבניות" - -# wpml-name: c38bc47406355ef06ad3e10a98505536 -#: ../includes/class-ure-lib.php:2184 -#, fuzzy -msgid "Activate plugins" -msgstr "הפעלת תוספים" - -# wpml-name: a6e42eb142c87e881a0d0c92acf4ef9f -#: ../includes/class-ure-lib.php:2185 -#, fuzzy -msgid "Edit plugins" -msgstr "עריכת תוספים" - -# wpml-name: 70118d8574d7c13da8c0a7c2acc0f659 -#: ../includes/class-ure-lib.php:2186 -#, fuzzy -msgid "Edit users" -msgstr "עריכת משתמשים" - -# wpml-name: 91c6e7a54b91cdc161f71958c597ed11 -#: ../includes/class-ure-lib.php:2187 -#, fuzzy -msgid "Edit files" -msgstr "עריכת קבצים" - -# wpml-name: 9f285ad90d3e9f5122241f2e8abd3836 -#: ../includes/class-ure-lib.php:2188 -#, fuzzy -msgid "Manage options" -msgstr "ניהול אפשרויות אתר" - -# wpml-name: abb293cb5d17f4acca429ea13d74c593 -#: ../includes/class-ure-lib.php:2189 -#, fuzzy -msgid "Moderate comments" -msgstr "ניהול תגובות" - -# wpml-name: 74c12b9adae95b65772e8c9c9c8e5af3 -#: ../includes/class-ure-lib.php:2190 -#, fuzzy -msgid "Manage categories" -msgstr "ניהול קטגוריות" - -# wpml-name: fa1a08e2a749c9f330c9a8e60cac9cc3 -#: ../includes/class-ure-lib.php:2191 -#, fuzzy -msgid "Manage links" -msgstr "ניהול קישורים" - -# wpml-name: c7de86f69db264c3950d8ae46ed2e33f -#: ../includes/class-ure-lib.php:2192 -#, fuzzy -msgid "Upload files" -msgstr "העלאת קבצים" - -# wpml-name: 72d6d7a1885885bb55a565fd1070581a -#: ../includes/class-ure-lib.php:2193 -#, fuzzy -msgid "Import" -msgstr "יבוא" - -# wpml-name: fdd95e5640d6d73230b7544ac261457a -#: ../includes/class-ure-lib.php:2194 -#, fuzzy -msgid "Unfiltered html" -msgstr "עריכת HTML" - -# wpml-name: 9cd92b1d45220e13e5e257f185f3fec3 -#: ../includes/class-ure-lib.php:2195 -#, fuzzy -msgid "Edit posts" -msgstr "עריכת פוסטים" - -# wpml-name: 5fbf3fd2d5fd1e393df2c639fa16dbc9 -#: ../includes/class-ure-lib.php:2196 -#, fuzzy -msgid "Edit others posts" -msgstr "עריכת פוסטים של אחרים" - -# wpml-name: d42efc04e7900de59ed3667c971e9e9d -#: ../includes/class-ure-lib.php:2197 -#, fuzzy -msgid "Edit published posts" -msgstr "עריכת פוסטים שפורסמו" - -# wpml-name: 64a4f8f7a855c54e1ca7c910439f5e90 -#: ../includes/class-ure-lib.php:2198 -#, fuzzy -msgid "Publish posts" -msgstr "פוסטים שפורסמו" - -# wpml-name: e7a51430fa0fbb32587c083ffae4b525 -#: ../includes/class-ure-lib.php:2199 -#, fuzzy -msgid "Edit pages" -msgstr "עריכת עמודים" - -# wpml-name: 7a1a5f3e79fdc91edf2f5ead9d66abb4 -#: ../includes/class-ure-lib.php:2200 -#, fuzzy -msgid "Read" -msgstr "קורא" - -# wpml-name: b3ef2f43e2782f8d95a4c22d577cb1bc -#: ../includes/class-ure-lib.php:2201 -#, fuzzy -msgid "Level 10" -msgstr "דרגה 10" - -# wpml-name: d48252bc9cffec4bed5028a7c71d8196 -#: ../includes/class-ure-lib.php:2202 -#, fuzzy -msgid "Level 9" -msgstr "דרגה 9" - -# wpml-name: 625fef0c34a92b3685266a47f16c85dd -#: ../includes/class-ure-lib.php:2203 -#, fuzzy -msgid "Level 8" -msgstr "דרגה 8" - -# wpml-name: a9acd6f427950dc61cac50b4e9ee6bc4 -#: ../includes/class-ure-lib.php:2204 -#, fuzzy -msgid "Level 7" -msgstr "דרגה 7" - -# wpml-name: b30ce92fb9295725ef29254ba5ae17e1 -#: ../includes/class-ure-lib.php:2205 -#, fuzzy -msgid "Level 6" -msgstr "דרגה 6" - -# wpml-name: 05988e43e8f2eb5efdddc2b467c4b2f3 -#: ../includes/class-ure-lib.php:2206 -#, fuzzy -msgid "Level 5" -msgstr "דרגה 5" - -# wpml-name: 309531bbe9a9d3228cd0687ec6e66bed -#: ../includes/class-ure-lib.php:2207 -#, fuzzy -msgid "Level 4" -msgstr "דרגה 4" - -# wpml-name: 8f60a63315c55e659b1a2dd5064ceae8 -#: ../includes/class-ure-lib.php:2208 -#, fuzzy -msgid "Level 3" -msgstr "דרגה 3" - -# wpml-name: 228e9da47384bacde793a2b78d488bb0 -#: ../includes/class-ure-lib.php:2209 -#, fuzzy -msgid "Level 2" -msgstr "דרגה 2" - -# wpml-name: 5afaf1679ad0887adebaddb40e0bd3f7 -#: ../includes/class-ure-lib.php:2210 -#, fuzzy -msgid "Level 1" -msgstr "דרגה 1" - -# wpml-name: 057e95a59e032dbed970592dd1245092 -#: ../includes/class-ure-lib.php:2211 -#, fuzzy -msgid "Level 0" -msgstr "דרגה 0" - -# wpml-name: b10af907824940fe6a5aa0a77c62be6f -#: ../includes/class-ure-lib.php:2212 -#, fuzzy -msgid "Edit others pages" -msgstr "עריכת דפים של אחרים" - -# wpml-name: c5bfc24b0b891c9465134b83b2c6c259 -#: ../includes/class-ure-lib.php:2213 -#, fuzzy -msgid "Edit published pages" -msgstr "עריכת דפים שפורסמו" - -# wpml-name: 70d789f104acf7aa83b1c5ab230f8e7c -#: ../includes/class-ure-lib.php:2214 -#, fuzzy -msgid "Publish pages" -msgstr "פרסום דפים" - -# wpml-name: b665a2b3cb33c08decc52b8a3f3d1742 -#: ../includes/class-ure-lib.php:2215 -#, fuzzy -msgid "Delete pages" -msgstr "מחיקת דפים" - -# wpml-name: 23eaa8e106fde2a76d80bc907f55ab7e -#: ../includes/class-ure-lib.php:2216 -#, fuzzy -msgid "Delete others pages" -msgstr "מחיקת דפים של אחרים" - -# wpml-name: 75c6bfee9157bbc48bfc4d50baab89e0 -#: ../includes/class-ure-lib.php:2217 -#, fuzzy -msgid "Delete published pages" -msgstr "מחיקת דפים שפורסמו" - -# wpml-name: 3dce6f688c85f06c63224b5c3be13919 -#: ../includes/class-ure-lib.php:2218 -#, fuzzy -msgid "Delete posts" -msgstr "מחיקת פוסטים" - -# wpml-name: c0496287732814df690c8966027a58d6 -#: ../includes/class-ure-lib.php:2219 -#, fuzzy -msgid "Delete others posts" -msgstr "מחיקת פוסטים של אחרים" - -# wpml-name: b0a2d2039494d73f81f4e476bfda24da -#: ../includes/class-ure-lib.php:2220 -#, fuzzy -msgid "Delete published posts" -msgstr "מחיקת פוסטים שפורסמו" - -# wpml-name: dcd02c374764e49b36f0f959cc2917bb -#: ../includes/class-ure-lib.php:2221 -#, fuzzy -msgid "Delete private posts" -msgstr "מחיקת פוסטים פרטיים" - -# wpml-name: da9ee842794f7caf9fa32271073d5f7a -#: ../includes/class-ure-lib.php:2222 -#, fuzzy -msgid "Edit private posts" -msgstr "עריכת פוסטים פרטיים" - -# wpml-name: eab0355307288f6480f8c53a0d953d79 -#: ../includes/class-ure-lib.php:2223 -#, fuzzy -msgid "Read private posts" -msgstr "קריאת פוסטים פרטיים" - -# wpml-name: 2136c12e2beeadfe0da80a36ef967eca -#: ../includes/class-ure-lib.php:2224 -#, fuzzy -msgid "Delete private pages" -msgstr "מחיקת עמודים פרטיים" - -# wpml-name: 4f3859ba470cb61f22a600a93c4ce11f -#: ../includes/class-ure-lib.php:2225 -#, fuzzy -msgid "Edit private pages" -msgstr "מחיקת עמודים פרטיים" - -# wpml-name: 5faa3f2e9585e107dc5f23748a825882 -#: ../includes/class-ure-lib.php:2226 -#, fuzzy -msgid "Read private pages" -msgstr "קריאת עמודים פרטיים" - -# wpml-name: 61c484c7f1638a9dd4237cb666b91c1f -#: ../includes/class-ure-lib.php:2227 -#, fuzzy -msgid "Delete users" -msgstr "מחיקת משתמשים" - -# wpml-name: 6cf6d76fc00f8dd12af98a37d11f623e -#: ../includes/class-ure-lib.php:2228 -#, fuzzy -msgid "Create users" -msgstr "יצירת משתמשים" - -# wpml-name: 7110d42a34cbb3316d6d0c658fa34c86 -#: ../includes/class-ure-lib.php:2229 -#, fuzzy -msgid "Unfiltered upload" -msgstr "העלאת קבצים חופשית" - -# wpml-name: b5577d27ebfdd60a3bda83ae726d574b -#: ../includes/class-ure-lib.php:2230 -#, fuzzy -msgid "Edit dashboard" -msgstr "שינוי לוח הבקרה" - -# wpml-name: 23c5b17dc24e40fa47ca6588932d32f7 -#: ../includes/class-ure-lib.php:2231 -#, fuzzy -msgid "Update plugins" -msgstr "עדכון תוספים" - -# wpml-name: f2a839940dae3934317d8d6a6f647ebd -#: ../includes/class-ure-lib.php:2232 -#, fuzzy -msgid "Delete plugins" -msgstr "מחיקת תוספים" - -# wpml-name: 9d06472988c53bfc768bc7b6a788b697 -#: ../includes/class-ure-lib.php:2233 -#, fuzzy -msgid "Install plugins" -msgstr "התקנת תוספים" - -# wpml-name: 504ea4a27260ac1e8822c5877ffe526b -#: ../includes/class-ure-lib.php:2234 -#, fuzzy -msgid "Update themes" -msgstr "עדכון תבניות" - -# wpml-name: a7d67fb17876569a4590902d3566a6fd -#: ../includes/class-ure-lib.php:2235 -#, fuzzy -msgid "Install themes" -msgstr "התקנת תבניות חדשות" - -# wpml-name: e56e5b87db548cd42be7a8a0f916205d -#: ../includes/class-ure-lib.php:2236 -#, fuzzy -msgid "Update core" -msgstr "עדכון וורדפרס" - -# wpml-name: f923f903857a5387d3db70494e074632 -#: ../includes/class-ure-lib.php:2237 -#, fuzzy -msgid "List users" -msgstr "בצפייה במשתמשים" - -# wpml-name: 8c7e9f2dfcd0125922dfbce36a1a4c2a -#: ../includes/class-ure-lib.php:2238 -#, fuzzy -msgid "Remove users" -msgstr "הסרת משתמשים" - -# wpml-name: 3bf6330f5f4c7c3dfddc9670cfaf4a22 -#: ../includes/class-ure-lib.php:2239 -#, fuzzy -msgid "Add users" -msgstr "הוספת משתמשים" - -# wpml-name: 12f4ba95cdfd04b791820b9c20887913 -#: ../includes/class-ure-lib.php:2240 -#, fuzzy -msgid "Promote users" -msgstr "שינוי משתמשים" - -# wpml-name: 8841974497684dad4d55beaf2b6c52ef -#: ../includes/class-ure-lib.php:2241 -#, fuzzy -msgid "Edit theme options" -msgstr "עריכת אפשרויות התבנית" - -# wpml-name: 335e9dea5f21dc3f591f3aceefdeed54 -#: ../includes/class-ure-lib.php:2242 -#, fuzzy -msgid "Delete themes" -msgstr "מחיקת תבניות" - -# wpml-name: 0095a9fa74d1713e43e370a7d7846224 -#: ../includes/class-ure-lib.php:2243 -#, fuzzy -msgid "Export" -msgstr "ייצוא תוכן" - -# wpml-name: 03766b9586d3012af6fc788e85d39530 -#: ../includes/class-ure-lib.php:2366 -#, fuzzy -msgid "Error: Capability name must contain latin characters and digits only!" -msgstr "שגיאה! שם יכולת חייב להכיל אותיות באנגלית וספרות בלבד" - -# wpml-name: 6dcaae98207ba2673da987515b02fe31 -#: ../includes/class-ure-lib.php:2379 -#, fuzzy, php-format -msgid "Capability %s is added successfully" -msgstr "היכולת %s נוספה בהצלחה" - -# wpml-name: d5c1ec0556aadfa88cadffb62266b83d -#: ../includes/class-ure-lib.php:2381 -#, fuzzy, php-format -msgid "Capability %s exists already" -msgstr "כבר קיימת יכולת בשם %s" - -# wpml-name: 0e132e68574d9609d956f9be409f7384 -#: ../includes/class-ure-lib.php:2410 -#, fuzzy, php-format -msgid "Error! You do not have permission to delete this capability: %s!" -msgstr "שגיאה! אין לך הרשאה למחוק את היכולת %s" - -# wpml-name: d819128cbb44d0e2fe4eb8b8b6397871 -#: ../includes/class-ure-lib.php:2429 -#, fuzzy, php-format -msgid "Capability %s was removed successfully" -msgstr "היכולת %s הוסרה בהצלחה" - -# wpml-name: 9d290d3434589e33be3d2cad4f8323ec -#: ../includes/class-ure-lib.php:2497 -#, fuzzy -msgid "Version:" -msgstr "גרסה:" - -# wpml-name: b63bc6c033363c8ee66beaf4ea4d5bc3 -#: ../includes/class-ure-lib.php:2498 -#, fuzzy -msgid "Author's website" -msgstr "אתר היוצר" - -# wpml-name: f919d1248270e1eca5cc6a39253264f7 -#: ../includes/class-ure-lib.php:2499 -#, fuzzy -msgid "Plugin webpage" -msgstr "דף התוסף" - -# wpml-name: accf3af923a079190cc20507285fd1e8 -#: ../includes/class-ure-lib.php:2500 -#, fuzzy -msgid "Plugin download" -msgstr "הורדת התוסף" - -# wpml-name: c49182dc0c7a70b9cd2e10853d9ec6c7 -#: ../includes/class-ure-lib.php:2501 -#: ../includes/class-user-role-editor.php:546 -#, fuzzy -msgid "Changelog" -msgstr "יומן שינויים" - -# wpml-name: 1fe917b01f9a3f87fa2d7d3b7643fac1 -#: ../includes/class-ure-lib.php:2502 -#, fuzzy -msgid "FAQ" -msgstr "שאלות נפוצות" - -# wpml-name: fb7b42559c6eb7c5e84ae0ad63c315d2 -#: ../includes/class-ure-lib.php:2575 -#, fuzzy -msgid "Delete All Unused Roles" -msgstr "מחק את כל התפקידים שאינם בשימוש" - -# wpml-name: 6adf97f83acf6453d4a6a4b1070f3754 -#: ../includes/class-ure-lib.php:2588 -#, fuzzy -msgid "None" -msgstr "תרום" - -#: ../includes/class-ure-lib.php:2632 -msgid "— No role for this site —" -msgstr "" - -#: ../includes/class-ure-lib.php:2747 -#, php-format -msgid "Denied: %s" -msgstr "" - -# wpml-name: cb110c375e91e41d17060cc8723f710b -#: ../includes/ure-role-edit.php:17 -#, fuzzy -msgid "Select Role and change its capabilities:" -msgstr "בחר תפקיד ושנה את היכולות שלו:" - -# wpml-name: 5e09edd7b2ed1864deffbd964073b27a -#: ../includes/ure-role-edit.php:30 ../includes/ure-user-edit.php:54 -#, fuzzy -msgid "Show capabilities in human readable form" -msgstr "הצג יכולות באופן קריא לבני אדם" - -# wpml-name: 130b09deaec4b13948be95555d546f25 -#: ../includes/ure-role-edit.php:40 ../includes/class-ure-screen-help.php:21 -#: ../includes/settings-template.php:69 ../includes/ure-user-edit.php:64 -#, fuzzy -msgid "Show deprecated capabilities" -msgstr "הצג הרשאות לפי מספר" - -#: ../includes/ure-role-edit.php:44 -msgid "If checked, then apply action to ALL sites of this Network" -msgstr "" - -# wpml-name: 3c3416f05587ed480626948fab988eea -#: ../includes/ure-role-edit.php:56 -#, fuzzy -msgid "Apply to All Sites" -msgstr "החל על כל האתרים" - -# wpml-name: cca700a30d083e59a9879c24f255abe3 -#: ../includes/ure-role-edit.php:63 ../includes/ure-user-edit.php:110 -#, fuzzy -msgid "Core capabilities:" -msgstr "יכולות ליבה:" - -# wpml-name: dfcd600fb9e5ccb12b8bb4d83f45d35a -#: ../includes/ure-role-edit.php:65 ../includes/ure-user-edit.php:112 -#, fuzzy -msgid "Quick filter:" -msgstr "סינון מהיר:" - -# wpml-name: 0e57c9d7615e130906e8fc6e10065ae1 -#: ../includes/ure-role-edit.php:83 ../includes/ure-user-edit.php:131 -#, fuzzy -msgid "Custom capabilities:" -msgstr "קביעת יכולות:" - -# wpml-name: a5f40dc2b5f2552187d0326e77e267eb -#: ../includes/class-user-other-roles.php:82 -#: ../includes/class-user-other-roles.php:183 -#: ../includes/class-user-other-roles.php:243 -#, fuzzy -msgid "Other Roles" -msgstr "תפקידים אחרים" - -#: ../includes/class-user-other-roles.php:83 -msgid "Select additional roles for this user" -msgstr "" - -# wpml-name: 82ec2cd6fda87713f588da75c3b1d0ed -#: ../includes/class-user-other-roles.php:162 -#: ../includes/class-user-role-editor.php:438 -#, fuzzy -msgid "Capabilities" -msgstr "יכולות" - -# wpml-name: 7dce122004969d56ae2e0245cb754d35 -#: ../includes/class-user-other-roles.php:169 -#, fuzzy -msgid "Edit" -msgstr "עריכה" - -# wpml-name: 39cc0b416ba0d26679547346b8c5cf8d -#: ../includes/class-user-other-roles.php:215 -#, fuzzy -msgid "Additional Capabilities" -msgstr "הוספת יכולת" - -# wpml-name: ee7816d892f54d4aa67456e2486d8a09 -#: ../includes/class-ure-screen-help.php:12 -#: ../includes/class-ure-screen-help.php:41 -#: ../includes/class-ure-screen-help.php:60 -#: ../includes/class-ure-screen-help.php:79 -#, fuzzy -msgid "User Role Editor Options page help" -msgstr "אפשרויות User Role Editor" - -# wpml-name: 6a2b000934893502dc6bd0467b009610 -#: ../includes/class-ure-screen-help.php:15 -#: ../includes/settings-template.php:53 -#, fuzzy -msgid "Show Administrator role at User Role Editor" -msgstr "הצג את תפקיד מנהל בעורך התפקידים" - -#: ../includes/class-ure-screen-help.php:16 -msgid "" -"turn this option on in order to make the \"Administrator\" role available at " -"the User Role Editor roles selection drop-down list. It is hidden by default " -"for security reasons." -msgstr "" - -# wpml-name: 97bcfe1a3fd7f909008bffd0318bb09b -#: ../includes/class-ure-screen-help.php:18 -#: ../includes/settings-template.php:61 -#, fuzzy -msgid "Show capabilities in the human readable form" -msgstr "הצג יכולות באופן קריא לבני אדם" - -#: ../includes/class-ure-screen-help.php:19 -msgid "" -"automatically converts capability names from the technical form for internal " -"use like \"edit_others_posts\" to more user friendly form, e.g. \"Edit " -"others posts\"." -msgstr "" - -#: ../includes/class-ure-screen-help.php:22 -msgid "" -"Capabilities like \"level_0\", \"level_1\" are deprecated and are not used " -"by WordPress. They are left at the user roles for the compatibility purpose " -"with the old themes and plugins code. Turning on this option will show those " -"deprecated capabilities." -msgstr "" - -# wpml-name: e16363f33a765f63f2a76c656513a3c3 -#: ../includes/class-ure-screen-help.php:25 -#: ../includes/settings-template.php:77 -#, fuzzy -msgid "Edit user capabilities" -msgstr "עריכת יכולות משתמש" - -#: ../includes/class-ure-screen-help.php:26 -msgid "" -"If turned off - capabilities section of selected user is shown in readonly " -"mode. Administrator can not assign capabilities to the user directly. He " -"should make it using roles only." -msgstr "" - -# wpml-name: e3ab3ebfb2e41f752d1aa68baaed6a82 -#: ../includes/class-ure-screen-help.php:45 -#: ../includes/settings-template.php:111 -#, fuzzy -msgid "Count users without role" -msgstr "ספור את המשתמשים ללא תפקיד" - -#: ../includes/class-ure-screen-help.php:46 -msgid "" -"Show at the \"Users\" page a quant of users without role. Module allows to " -"assign all of them an empty role \"No rights\", in order to look on the " -"users list with role \"No rights\" at the separate tab then." -msgstr "" - -# wpml-name: 31440ac9be0558c6142aaef5938adae9 -#: ../includes/class-ure-screen-help.php:63 -#, fuzzy -msgid "Other default roles for new registered user" -msgstr "תפקידי ברירת מחדל אחרים למשתמש רשום חדש" - -# wpml-name: 41b92726cf0352610f9cab72914f101f -#: ../includes/class-ure-screen-help.php:64 -#, fuzzy -msgid "" -"select roles below to assign them to the new user automatically as an " -"addition to the primary role. Note for multisite environment: take into " -"account that other default roles should exist at the site, in order to be " -"assigned to the new registered users." -msgstr "" -"הערה לאתר רשת: נא לקחת בחשבון שתפקידי ברירת מחדל אחרים צריכים להיות קיימים " -"באתר, כדי להקצות למשתמשים נרשמים חדשים." - -# wpml-name: d6080c04e85946f0eace45b5d1be4672 -#: ../includes/class-ure-screen-help.php:82 -#, fuzzy -msgid "Allow non super-admininstrators to create, edit and delete users" -msgstr "אפשר ללמנהלי משנה ליצור, לערוך ולמחוק משתמשים" - -#: ../includes/class-ure-screen-help.php:83 -msgid "" -"Super administrator only may create, edit and delete users under WordPress " -"multi-site by default. Turn this option on in order to remove this " -"limitation." -msgstr "" - -# wpml-name: 811ee91f039ea705795ebf5e09bde9f5 -#: ../includes/class-user-role-editor.php:233 -#, fuzzy -msgid "Change role for users without role" -msgstr "שנה את התפקיד למשתמשים ללא תפקיד" - -# wpml-name: a34b1d6b1c46e4b902372075a840c582 -#: ../includes/class-user-role-editor.php:234 -#, fuzzy -msgid "No rights" -msgstr "ללא זכויות" - -# wpml-name: 84b4334025ddad442726d6d30fa30bb3 -#: ../includes/class-user-role-editor.php:235 -#, fuzzy -msgid "Provide new role" -msgstr "קבע תפקיד חדש" - -# wpml-name: 0e132e68574d9609d956f9be409f7384 -#: ../includes/class-user-role-editor.php:298 -#: ../includes/class-user-role-editor.php:300 -#, fuzzy -msgid "You do not have permission to edit this user." -msgstr "שגיאה! אין לך הרשאה למחוק את היכולת %s" - -# wpml-name: f4f70727dc34561dfde1a3c529b6205c -#: ../includes/class-user-role-editor.php:535 -#, fuzzy -msgid "Settings" -msgstr "הגדרות" - -#: ../includes/class-user-role-editor.php:568 -#: ../includes/settings-template.php:21 -msgid "General" -msgstr "" - -#: ../includes/class-user-role-editor.php:574 -#: ../includes/settings-template.php:26 -msgid "Additional Modules" -msgstr "" - -# wpml-name: db135301eaf77a955b2b016f9b9d6a99 -#: ../includes/class-user-role-editor.php:580 -#: ../includes/settings-template.php:30 -#, fuzzy -msgid "Default Roles" -msgstr "תפקיד ברירת מחדל" - -#: ../includes/class-user-role-editor.php:586 -#: ../includes/settings-template.php:34 -msgid "Multisite" -msgstr "" - -# wpml-name: aef323fbbd25d577170fff17c15cf857 -#: ../includes/class-user-role-editor.php:685 -#: ../includes/class-user-role-editor.php:703 -#: ../includes/class-user-role-editor.php:747 -#, fuzzy -msgid "User Role Editor options are updated" -msgstr "אפשרויות עורך תפקיד משתמש עודכנו" - -# wpml-name: 34c0807eb711e6f3442056399143676d -#: ../includes/class-user-role-editor.php:731 -#, fuzzy -msgid "Default Roles are updated" -msgstr "תפקידי ברירת המחדל עודכנו" - -# wpml-name: cfa97a379b5b0e4a2b77f09b95ce202d -#: ../includes/class-user-role-editor.php:756 -#, fuzzy -msgid "" -"You do not have sufficient permissions to manage options for User Role " -"Editor." -msgstr "" -"אין לך הרשאות מסספיקות לנהל את האפשרויות עבור עורך התפקידים User Role Editor." - -# wpml-name: 45e96c0a422ce8a1a6ec1bd5eb9625c6 -#: ../includes/class-user-role-editor.php:885 -#, fuzzy -msgid "Select All" -msgstr "בחירת הכל" - -# wpml-name: 016269c0d83a19a19a2ee0a4294740b4 -#: ../includes/class-user-role-editor.php:886 -#, fuzzy -msgid "Unselect All" -msgstr "לא לבחור שום דבר" - -# wpml-name: 67f115c1fddc4ce1aeb1c754001585bc -#: ../includes/class-user-role-editor.php:887 -#, fuzzy -msgid "Reverse" -msgstr "להפוך" - -# wpml-name: 06933067aafd48425d67bcb01bba5cb6 -#: ../includes/class-user-role-editor.php:888 -#, fuzzy -msgid "Update" -msgstr "עדכן" - -# wpml-name: 85251872440cc94c6080a90451e018c4 -#: ../includes/class-user-role-editor.php:889 -#, fuzzy -msgid "Please confirm permissions update" -msgstr "נא לאשר את עדכון ההרשאות" - -# wpml-name: cf46e7fb1093a47a76f35fc61ab5d432 -#: ../includes/class-user-role-editor.php:890 -#, fuzzy -msgid "Add New Role" -msgstr "הוסף סוג משתמש חדש" - -# wpml-name: f0962c89a8b10e2fd876ca0ccab540fe -#: ../includes/class-user-role-editor.php:891 -#: ../includes/class-user-role-editor.php:896 -#, fuzzy -msgid "Rename Role" -msgstr "שנה שם תפקיד" - -# wpml-name: 1400ecabfd5a7c9527f71723da18dad0 -#: ../includes/class-user-role-editor.php:892 -#, fuzzy -msgid " Role name (ID) can not be empty!" -msgstr " שם התפקיד (מזהה) אינו יכול להישאר ריק!" - -# wpml-name: 7b94f04285f5efc287652bd40338e730 -#: ../includes/class-user-role-editor.php:893 -#, fuzzy -msgid "" -" Role name (ID) must contain latin characters, digits, hyphens or underscore " -"only!" -msgstr "" -" שם התפקיד (מזהה) חייב להכיל אותיות לטיניות, ספרות, מקפים או קו תחתון בלבד!" - -# wpml-name: 9d3cb86c91470b14e11d0d1355936ffb -#: ../includes/class-user-role-editor.php:894 -#, fuzzy -msgid "" -" WordPress does not support numeric Role name (ID). Add latin characters to " -"it." -msgstr "" -" וורדפרס אינו תומך בשמות תפקיד מספריים (ID). נא להוסיף לזה אותיות לטיניות." - -# wpml-name: 1453b39dcc15a372640d960c6db7db25 -#: ../includes/class-user-role-editor.php:895 -#, fuzzy -msgid "Add Role" -msgstr "הוספת תפקיד" - -# wpml-name: 4e2626418b461869a386850b0f3b437f -#: ../includes/class-user-role-editor.php:897 -#, fuzzy -msgid "Delete Role" -msgstr "מחיקת סוג משתמש" - -# wpml-name: ea4788705e6873b424c65e91c2846b19 -#: ../includes/class-user-role-editor.php:898 -#, fuzzy -msgid "Cancel" -msgstr "ביטול" - -# wpml-name: 39cc0b416ba0d26679547346b8c5cf8d -#: ../includes/class-user-role-editor.php:899 -#, fuzzy -msgid "Add Capability" -msgstr "הוספת יכולת" - -# wpml-name: 06844dd4ec4b29fa8a354aaacbd4861a -#: ../includes/class-user-role-editor.php:900 -#: ../includes/class-user-role-editor.php:909 -#, fuzzy -msgid "Delete Capability" -msgstr "מחיקת יכולת" - -# wpml-name: 526d688f37a86d3c3f27d0c5016eb71d -#: ../includes/class-user-role-editor.php:901 -#, fuzzy -msgid "Reset" -msgstr "איפוס" - -# wpml-name: d72422418711904043670940067cb2eb -#: ../includes/class-user-role-editor.php:902 -#, fuzzy -msgid "DANGER! Resetting will restore default settings from WordPress Core." -msgstr "סכנה! איפוס ישחזר את ההגדרות לברירת המחדל של ליבת וורדפרס." - -# wpml-name: b2e7f2d766ee66eaee3248fe09b3f822 -#: ../includes/class-user-role-editor.php:903 -#, fuzzy -msgid "" -"If any plugins have changed capabilities in any way upon installation (such " -"as S2Member, WooCommerce, and many more), those capabilities will be DELETED!" -msgstr "" -"אם תוסף כלשהו שינה יכולות בצורה כלשהי בהתקנתו (כמו למשל S2Member, " -"WooCommerce, ורבים אחרים), יכולות אלו יימחקו!" - -# wpml-name: 832e2074e0e4c3a18713a810b77da6e3 -#: ../includes/class-user-role-editor.php:904 -#, fuzzy -msgid "" -"For more information on how to undo changes and restore plugin capabilities " -"go to" -msgstr "למידע נוסף על כיצד לבטל שינויים ולשחזר את יכולות התוסף עבור אל" - -# wpml-name: 140e317e0077aece29910d4f129b2cdd -#: ../includes/class-user-role-editor.php:906 -#, fuzzy -msgid "Continue?" -msgstr "להמשיך?" - -# wpml-name: db135301eaf77a955b2b016f9b9d6a99 -#: ../includes/class-user-role-editor.php:907 -#, fuzzy -msgid "Default Role" -msgstr "תפקיד ברירת מחדל" - -# wpml-name: f28d52a1096a73cff427d1216dc578ad -#: ../includes/class-user-role-editor.php:908 -#, fuzzy -msgid "Set New Default Role" -msgstr "הגדר תפקיד ברירת מחדל חדש" - -# wpml-name: b8827a096ab461b8e26931adf82c8d85 -#: ../includes/class-user-role-editor.php:910 -#, fuzzy -msgid "" -"Warning! Be careful - removing critical capability could crash some plugin " -"or other custom code" -msgstr "" -"זהירות! הסרה של אפשרויות קריטיות עשוי לגרום לתוספים מסוים או קוד נסמך שלא " -"לעבוד כשורה" - -# wpml-name: ba38256d66e3ae37b7b16052a0f94729 -#: ../includes/class-user-role-editor.php:911 -#, fuzzy -msgid " Capability name (ID) can not be empty!" -msgstr " שם היכולת (מזהה) לא יכול להיות ריק!" - -# wpml-name: 6d4c115be3e7b4f1fd70112642c9a72d -#: ../includes/class-user-role-editor.php:912 -#, fuzzy -msgid "" -" Capability name (ID) must contain latin characters, digits, hyphens or " -"underscore only!" -msgstr "" -" שם היכולת (מזהה) חייב להכיל אותיות לטיניות, ספרות, מקפים או קו תחתון בלבד!" - -# wpml-name: ee7816d892f54d4aa67456e2486d8a09 -#: ../includes/settings-template.php:17 -#, fuzzy -msgid "User Role Editor - Options" -msgstr "אפשרויות User Role Editor" - -# wpml-name: 8f7f4c1ce7a4f933663d10543562b096 -#: ../includes/settings-template.php:39 -#, fuzzy -msgid "About" -msgstr "אודות" - -# wpml-name: c9cc8cce247e49bae79f15173ce97354 -#: ../includes/settings-template.php:90 ../includes/settings-template.php:126 -#: ../includes/settings-template.php:158 ../includes/settings-template.php:190 -#, fuzzy -msgid "Save" -msgstr "שמירה" - -# wpml-name: c33a7c260a5f56bf1e00ec5b3fe9d2ea -#: ../includes/settings-template.php:138 -#, fuzzy -msgid "Primary default role: " -msgstr "תפקיד ברירת מחדל ראשי: " - -# wpml-name: 75fcf18acf2e8b995a2cf3e563d57e02 -#: ../includes/settings-template.php:145 -#, fuzzy -msgid "Other default roles for new registered user: " -msgstr "תפקידי ברירת מחדל אחרים למשתמש רשום חדש:" - -# wpml-name: 41b92726cf0352610f9cab72914f101f -#: ../includes/settings-template.php:151 -#, fuzzy -msgid "" -"Note for multisite environment: take into account that other default roles " -"should exist at the site, in order to be assigned to the new registered " -"users." -msgstr "" -"הערה לאתר רשת: נא לקחת בחשבון שתפקידי ברירת מחדל אחרים צריכים להיות קיימים " -"באתר, כדי להקצות למשתמשים נרשמים חדשים." - -# wpml-name: 4767dba7bf9ad16cdee8714563128ab1 -#: ../includes/settings-template.php:177 -#, fuzzy -msgid "Allow non super administrators to create, edit, and delete users" -msgstr "אפשר למנהלי משנה ליצור, לערוך ולמחוק משתמשים" - -# wpml-name: 5213962fd38769a637909d6bc2a37197 -#: ../includes/ure-user-edit.php:32 -#, fuzzy -msgid "Network Super Admin" -msgstr "מנהל-על של רשת" - -# wpml-name: 3c4a4bfb7afa015a22eee9e5b9b098e2 -#: ../includes/ure-user-edit.php:35 -#, fuzzy -msgid "Change capabilities for user" -msgstr "שינוי יכולות המשתמש" - -# wpml-name: 670867664b460254a4dfcb782c811472 -#: ../includes/ure-user-edit.php:72 -#, fuzzy -msgid "Primary Role:" -msgstr "תפקיד עיקרי:" - -# wpml-name: 918b62d985dd5ef7af537376c0a8273b -#: ../includes/ure-user-edit.php:82 -#, fuzzy -msgid "bbPress Role:" -msgstr "תפקיד bbPress:" - -# wpml-name: 3ebb5c3609cf2634c669e655a7bfb162 -#: ../includes/ure-user-edit.php:92 -#, fuzzy -msgid "Other Roles:" -msgstr "תפקידים אחרים:" diff --git a/wp-content/plugins/user-role-editor/lang/user-role-editor-hu_HU.mo b/wp-content/plugins/user-role-editor/lang/user-role-editor-hu_HU.mo deleted file mode 100644 index 39bf2d1..0000000 Binary files a/wp-content/plugins/user-role-editor/lang/user-role-editor-hu_HU.mo and /dev/null differ diff --git a/wp-content/plugins/user-role-editor/lang/user-role-editor-hu_HU.po b/wp-content/plugins/user-role-editor/lang/user-role-editor-hu_HU.po deleted file mode 100644 index 22718a3..0000000 --- a/wp-content/plugins/user-role-editor/lang/user-role-editor-hu_HU.po +++ /dev/null @@ -1,928 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: User Role Editor 4.16\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-11 21:06+0100\n" -"PO-Revision-Date: \n" -"Last-Translator: Vladimir Garagulya \n" -"Language-Team: \n" -"Language: hu_HU\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Poedit-SourceCharset: UTF-8\n" -"X-Poedit-KeywordsList: __;_e;esc_html__;esc_html_e\n" -"X-Poedit-Basepath: .\n" -"X-Generator: Poedit 1.5.4\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Poedit-SearchPath-0: ..\n" - -#: ../includes/class-ure-lib.php:247 -msgid "Error: wrong request" -msgstr "Hiba: hibás kérés" - -#: ../includes/class-ure-lib.php:280 ../includes/class-ure-lib.php:291 -msgid "Role name (ID): " -msgstr "Szerepkör név (azonosító):" - -#: ../includes/class-ure-lib.php:282 ../includes/class-ure-lib.php:293 -msgid "Display Role Name: " -msgstr "Szerepkör megnevezése:" - -#: ../includes/class-ure-lib.php:284 -msgid "Make copy of: " -msgstr "Ennek a másolata:" - -#: ../includes/class-ure-lib.php:300 -msgid "Select Role:" -msgstr "Válasszon szerepkört:" - -#: ../includes/class-ure-lib.php:315 -msgid "Delete:" -msgstr "Törlés:" - -#: ../includes/class-ure-lib.php:322 -msgid "Capability name (ID): " -msgstr "Képesség név (azonosító):" - -#: ../includes/class-ure-lib.php:339 -#: ../includes/class-user-role-editor.php:596 -#: ../includes/class-user-role-editor.php:625 -msgid "User Role Editor" -msgstr "Szerepkör szerkesztő" - -#: ../includes/class-ure-lib.php:436 -msgid "Error: " -msgstr "Hiba:" - -#: ../includes/class-ure-lib.php:436 -msgid "Role" -msgstr "Szerepkör" - -#: ../includes/class-ure-lib.php:437 -msgid "does not exist" -msgstr "nem létezik" - -#: ../includes/class-ure-lib.php:480 -msgid "Role is updated successfully" -msgstr "Szerepkör sikeresen frissítve" - -#: ../includes/class-ure-lib.php:482 -msgid "Roles are updated for all network" -msgstr "Szerepkörök frissítése a teljes hálózaton" - -#: ../includes/class-ure-lib.php:488 -msgid "Error occured during role(s) update" -msgstr "Hiba történt a szerepkör(ök) frissítése során" - -#: ../includes/class-ure-lib.php:495 -msgid "User capabilities are updated successfully" -msgstr "Felhasználó képességei sikeresen frissítve" - -#: ../includes/class-ure-lib.php:500 -msgid "Error occured during user update" -msgstr "Hiba történt a felhasználó frissítése során" - -#: ../includes/class-ure-lib.php:558 -msgid "User Roles are restored to WordPress default values. " -msgstr "Felhasználói szerepkörök visszaállítva a WordPress alaphelyzetébe." - -#: ../includes/class-ure-lib.php:1436 -msgid "read about" -msgstr "" - -#: ../includes/class-ure-lib.php:1437 -msgid "user capability" -msgstr "" - -#: ../includes/class-ure-lib.php:1438 -msgid "Help" -msgstr "Súgó" - -#: ../includes/class-ure-lib.php:1693 ../includes/class-ure-lib.php:1946 -#: ../includes/class-ure-lib.php:2062 ../includes/class-ure-lib.php:2110 -#: ../includes/class-ure-lib.php:2358 ../includes/class-ure-lib.php:2403 -#: ../includes/class-user-role-editor.php:828 -msgid "Insufficient permissions to work with User Role Editor" -msgstr "Nincs elég jogosultsága a Szerepkör szerkesztő használatához" - -#: ../includes/class-ure-lib.php:1909 -msgid "Error is occur. Please check the log file." -msgstr "Hiba történt. Nézze meg a naplófájlt!" - -#: ../includes/class-ure-lib.php:1955 ../includes/class-ure-lib.php:2022 -msgid "" -"Error: Role ID must contain latin characters, digits, hyphens or underscore " -"only!" -msgstr "" -"Hiba: a szerepkör azonosító csak latin betűkből, számokból, kötőjelből és " -"aláhúzásból állhat." - -#: ../includes/class-ure-lib.php:1959 ../includes/class-ure-lib.php:2026 -msgid "" -"Error: WordPress does not support numeric Role name (ID). Add latin " -"characters to it." -msgstr "" -"Hiba: a WordPress nem támogatja a numerikus szerepkör neveket " -"(azonosítókat). Legyen benn legalább egy latin betű." - -#: ../includes/class-ure-lib.php:1974 -#, php-format -msgid "Role %s exists already" -msgstr "%s szerepkör már létezik" - -#: ../includes/class-ure-lib.php:1989 -msgid "Error is encountered during new role create operation" -msgstr "Hiba történt az új szerepkör létrehozása során." - -#: ../includes/class-ure-lib.php:1991 -#, php-format -msgid "Role %s is created successfully" -msgstr "%s szerepkör sikeresen létrehozva" - -#: ../includes/class-ure-lib.php:2015 -msgid "Error: Role ID is empty!" -msgstr "Hiba: a szerepkör azonosító üres!" - -#: ../includes/class-ure-lib.php:2033 -msgid "Error: Empty role display name is not allowed." -msgstr "Hiba: nem lehet üres a szerepkör megjelenítendő neve." - -#: ../includes/class-ure-lib.php:2040 -#, php-format -msgid "Role %s does not exists" -msgstr "%s szerepkör nem létezik" - -#: ../includes/class-ure-lib.php:2048 -#, php-format -msgid "Role %s is renamed to %s successfully" -msgstr "%s szerepkör sikeresen átnevezve erre: %s" - -#: ../includes/class-ure-lib.php:2121 -msgid "Error encountered during role delete operation" -msgstr "Hiba történt a szerepkör törlése során." - -#: ../includes/class-ure-lib.php:2123 -msgid "Unused roles are deleted successfully" -msgstr "A nem használt szerepkörök sikeresen törölve lettek." - -#: ../includes/class-ure-lib.php:2125 -#, php-format -msgid "Role %s is deleted successfully" -msgstr "%s szerepkör sikeresen törölve lett." - -#: ../includes/class-ure-lib.php:2153 -msgid "Error encountered during default role change operation" -msgstr "Hiba történt az alap szerepkör módosítása során." - -#: ../includes/class-ure-lib.php:2156 -#, php-format -msgid "Default role for new users is set to %s successfully" -msgstr "Az új felhasználók alap szerepköre sikeresen módosítva erre: %s" - -#: ../includes/class-ure-lib.php:2159 -#, fuzzy -msgid "Can not set Administrator role as a default one" -msgstr "Adminisztrátor szerepkör megjelenítése a Szerepkör szerkesztőben" - -#: ../includes/class-ure-lib.php:2161 -#, fuzzy -msgid "This role does not exist - " -msgstr "%s szerepkör nem létezik" - -#: ../includes/class-ure-lib.php:2177 -msgid "Editor" -msgstr "Szerkesztő" - -#: ../includes/class-ure-lib.php:2178 -msgid "Author" -msgstr "Szerző" - -#: ../includes/class-ure-lib.php:2179 -msgid "Contributor" -msgstr "Közreműködő" - -#: ../includes/class-ure-lib.php:2180 -msgid "Subscriber" -msgstr "Feliratkozó" - -#: ../includes/class-ure-lib.php:2182 -msgid "Switch themes" -msgstr "Sablon kiválasztása" - -#: ../includes/class-ure-lib.php:2183 -msgid "Edit themes" -msgstr "Sablonok szerkesztése" - -#: ../includes/class-ure-lib.php:2184 -msgid "Activate plugins" -msgstr "Bővítmény bekapcsolása" - -#: ../includes/class-ure-lib.php:2185 -msgid "Edit plugins" -msgstr "Bővítmények szerkesztése" - -#: ../includes/class-ure-lib.php:2186 -msgid "Edit users" -msgstr "Felhasználók szerkesztése" - -#: ../includes/class-ure-lib.php:2187 -msgid "Edit files" -msgstr "Fájlok szerkesztése" - -#: ../includes/class-ure-lib.php:2188 -msgid "Manage options" -msgstr "Beállítások kezelése" - -#: ../includes/class-ure-lib.php:2189 -msgid "Moderate comments" -msgstr "Hozzászólások moderálása" - -#: ../includes/class-ure-lib.php:2190 -msgid "Manage categories" -msgstr "Kategóriák kezelése" - -#: ../includes/class-ure-lib.php:2191 -msgid "Manage links" -msgstr "Hivatkozások kezelése" - -#: ../includes/class-ure-lib.php:2192 -msgid "Upload files" -msgstr "Fájlok feltöltése" - -#: ../includes/class-ure-lib.php:2193 -msgid "Import" -msgstr "Importálás" - -#: ../includes/class-ure-lib.php:2194 -msgid "Unfiltered html" -msgstr "Szűretlen HTML" - -#: ../includes/class-ure-lib.php:2195 -msgid "Edit posts" -msgstr "Bejegyzések szerkesztése" - -#: ../includes/class-ure-lib.php:2196 -msgid "Edit others posts" -msgstr "Mások bejegyzéseinek szerkeszése" - -#: ../includes/class-ure-lib.php:2197 -msgid "Edit published posts" -msgstr "Közzétett bejegyzések szerkesztése" - -#: ../includes/class-ure-lib.php:2198 -msgid "Publish posts" -msgstr "Bejegyzések közzététele" - -#: ../includes/class-ure-lib.php:2199 -msgid "Edit pages" -msgstr "Oldalak szerkesztése" - -#: ../includes/class-ure-lib.php:2200 -msgid "Read" -msgstr "Olvasás" - -#: ../includes/class-ure-lib.php:2201 -msgid "Level 10" -msgstr "10. szint" - -#: ../includes/class-ure-lib.php:2202 -msgid "Level 9" -msgstr "9. szint" - -#: ../includes/class-ure-lib.php:2203 -msgid "Level 8" -msgstr "8. szint" - -#: ../includes/class-ure-lib.php:2204 -msgid "Level 7" -msgstr "7. szint" - -#: ../includes/class-ure-lib.php:2205 -msgid "Level 6" -msgstr "6. szint" - -#: ../includes/class-ure-lib.php:2206 -msgid "Level 5" -msgstr "5. szint" - -#: ../includes/class-ure-lib.php:2207 -msgid "Level 4" -msgstr "4. szint" - -#: ../includes/class-ure-lib.php:2208 -msgid "Level 3" -msgstr "3. szint" - -#: ../includes/class-ure-lib.php:2209 -msgid "Level 2" -msgstr "2. szint" - -#: ../includes/class-ure-lib.php:2210 -msgid "Level 1" -msgstr "1. szint" - -#: ../includes/class-ure-lib.php:2211 -msgid "Level 0" -msgstr "0. szint" - -#: ../includes/class-ure-lib.php:2212 -msgid "Edit others pages" -msgstr "Mások oldalainak szerkesztése" - -#: ../includes/class-ure-lib.php:2213 -msgid "Edit published pages" -msgstr "Közzétett oldalak szerkesztése" - -#: ../includes/class-ure-lib.php:2214 -msgid "Publish pages" -msgstr "Oldalak közzététele" - -#: ../includes/class-ure-lib.php:2215 -msgid "Delete pages" -msgstr "Oldalak törlése" - -#: ../includes/class-ure-lib.php:2216 -msgid "Delete others pages" -msgstr "Mások oldalainak törlése" - -#: ../includes/class-ure-lib.php:2217 -msgid "Delete published pages" -msgstr "Közzétett oldalak törlése" - -#: ../includes/class-ure-lib.php:2218 -msgid "Delete posts" -msgstr "Bejegyzések törlése" - -#: ../includes/class-ure-lib.php:2219 -msgid "Delete others posts" -msgstr "Mások bejegyzéseinek törlése" - -#: ../includes/class-ure-lib.php:2220 -msgid "Delete published posts" -msgstr "Közzétett bejegyzések törlése" - -#: ../includes/class-ure-lib.php:2221 -msgid "Delete private posts" -msgstr "Privát bejegyzések törlése" - -#: ../includes/class-ure-lib.php:2222 -msgid "Edit private posts" -msgstr "Privát bejegyzések szerkesztése" - -#: ../includes/class-ure-lib.php:2223 -msgid "Read private posts" -msgstr "Privát bejegyzések olvasása" - -#: ../includes/class-ure-lib.php:2224 -msgid "Delete private pages" -msgstr "Privát oldalak törlése" - -#: ../includes/class-ure-lib.php:2225 -msgid "Edit private pages" -msgstr "Privát oldalak szerkesztése" - -#: ../includes/class-ure-lib.php:2226 -msgid "Read private pages" -msgstr "Privát oldalak olvasása" - -#: ../includes/class-ure-lib.php:2227 -msgid "Delete users" -msgstr "Felhasználók törlése" - -#: ../includes/class-ure-lib.php:2228 -msgid "Create users" -msgstr "Felhasználók létrehozása" - -#: ../includes/class-ure-lib.php:2229 -msgid "Unfiltered upload" -msgstr "Szűretlen feltöltés" - -#: ../includes/class-ure-lib.php:2230 -msgid "Edit dashboard" -msgstr "Vezérlőpult szerkesztése" - -#: ../includes/class-ure-lib.php:2231 -msgid "Update plugins" -msgstr "Bővítmények frissítése" - -#: ../includes/class-ure-lib.php:2232 -msgid "Delete plugins" -msgstr "Bővítmények törlése" - -#: ../includes/class-ure-lib.php:2233 -msgid "Install plugins" -msgstr "Bővítmények telepítése" - -#: ../includes/class-ure-lib.php:2234 -msgid "Update themes" -msgstr "Sablonok frissítése" - -#: ../includes/class-ure-lib.php:2235 -msgid "Install themes" -msgstr "Sablonok telepítése" - -#: ../includes/class-ure-lib.php:2236 -msgid "Update core" -msgstr "Mag frissítése" - -#: ../includes/class-ure-lib.php:2237 -msgid "List users" -msgstr "Felhasználók listázása" - -#: ../includes/class-ure-lib.php:2238 -msgid "Remove users" -msgstr "Felhasználók törlése" - -#: ../includes/class-ure-lib.php:2239 -msgid "Add users" -msgstr "Felhasználók hozzáadása" - -#: ../includes/class-ure-lib.php:2240 -msgid "Promote users" -msgstr "Felhasználók előléptetése" - -#: ../includes/class-ure-lib.php:2241 -msgid "Edit theme options" -msgstr "Sablon beállítások módosítása" - -#: ../includes/class-ure-lib.php:2242 -msgid "Delete themes" -msgstr "Sablonok törlése" - -#: ../includes/class-ure-lib.php:2243 -msgid "Export" -msgstr "Exportálás" - -#: ../includes/class-ure-lib.php:2366 -msgid "Error: Capability name must contain latin characters and digits only!" -msgstr "Hiba: a képesség neve csak latin betűkből és számokból állhat." - -#: ../includes/class-ure-lib.php:2379 -#, php-format -msgid "Capability %s is added successfully" -msgstr "%s képesség sikeresen hozzáadva" - -#: ../includes/class-ure-lib.php:2381 -#, php-format -msgid "Capability %s exists already" -msgstr "%s képesség már létezik" - -#: ../includes/class-ure-lib.php:2410 -#, php-format -msgid "Error! You do not have permission to delete this capability: %s!" -msgstr "Hiba! Nincs jogosultsága a képesség (%s) törléséhez." - -#: ../includes/class-ure-lib.php:2429 -#, fuzzy, php-format -msgid "Capability %s was removed successfully" -msgstr "%s képesség sikeresen törölve" - -#: ../includes/class-ure-lib.php:2497 -msgid "Version:" -msgstr "Verzió:" - -#: ../includes/class-ure-lib.php:2498 -msgid "Author's website" -msgstr "Szerző weboldala" - -#: ../includes/class-ure-lib.php:2499 -msgid "Plugin webpage" -msgstr "Bővítmény weboldala" - -#: ../includes/class-ure-lib.php:2500 -msgid "Plugin download" -msgstr "Bővítmény letöltése" - -#: ../includes/class-ure-lib.php:2501 -#: ../includes/class-user-role-editor.php:546 -msgid "Changelog" -msgstr "Változások naplója" - -#: ../includes/class-ure-lib.php:2502 -msgid "FAQ" -msgstr "GyIK" - -#: ../includes/class-ure-lib.php:2575 -msgid "Delete All Unused Roles" -msgstr "Minden nem használt szerepkör törlése" - -#: ../includes/class-ure-lib.php:2588 -msgid "None" -msgstr "Nincs" - -#: ../includes/class-ure-lib.php:2632 -msgid "— No role for this site —" -msgstr "— Nincs szerepköre ezen az oldalon —" - -#: ../includes/class-ure-lib.php:2747 -#, php-format -msgid "Denied: %s" -msgstr "" - -#: ../includes/ure-role-edit.php:17 -msgid "Select Role and change its capabilities:" -msgstr "Szerepkör kiválasztása a képességeinek módosításához:" - -#: ../includes/ure-role-edit.php:30 ../includes/ure-user-edit.php:54 -msgid "Show capabilities in human readable form" -msgstr "Képességek megjelenítése olvasható formában" - -#: ../includes/ure-role-edit.php:40 ../includes/class-ure-screen-help.php:21 -#: ../includes/settings-template.php:69 ../includes/ure-user-edit.php:64 -msgid "Show deprecated capabilities" -msgstr "Elavult képességek megjelenítése" - -#: ../includes/ure-role-edit.php:44 -msgid "If checked, then apply action to ALL sites of this Network" -msgstr "" -"Ha bejelölve, akkor a művelet a hálózat minden weboldalára érvényesülni fog" - -#: ../includes/ure-role-edit.php:56 -msgid "Apply to All Sites" -msgstr "Alkalmazás minden oldalra" - -#: ../includes/ure-role-edit.php:63 ../includes/ure-user-edit.php:110 -msgid "Core capabilities:" -msgstr "Gyári képességek:" - -#: ../includes/ure-role-edit.php:65 ../includes/ure-user-edit.php:112 -msgid "Quick filter:" -msgstr "Gyors szűrés:" - -#: ../includes/ure-role-edit.php:83 ../includes/ure-user-edit.php:131 -msgid "Custom capabilities:" -msgstr "Egyedi képességek:" - -#: ../includes/class-user-other-roles.php:82 -#: ../includes/class-user-other-roles.php:183 -#: ../includes/class-user-other-roles.php:243 -msgid "Other Roles" -msgstr "Más szerepkörök" - -#: ../includes/class-user-other-roles.php:83 -msgid "Select additional roles for this user" -msgstr "" - -#: ../includes/class-user-other-roles.php:162 -#: ../includes/class-user-role-editor.php:438 -msgid "Capabilities" -msgstr "Képességek" - -#: ../includes/class-user-other-roles.php:169 -msgid "Edit" -msgstr "Szerkeszt" - -#: ../includes/class-user-other-roles.php:215 -#, fuzzy -msgid "Additional Capabilities" -msgstr "Új képesség" - -#: ../includes/class-ure-screen-help.php:12 -#: ../includes/class-ure-screen-help.php:41 -#: ../includes/class-ure-screen-help.php:60 -#: ../includes/class-ure-screen-help.php:79 -msgid "User Role Editor Options page help" -msgstr "" - -#: ../includes/class-ure-screen-help.php:15 -#: ../includes/settings-template.php:53 -msgid "Show Administrator role at User Role Editor" -msgstr "Adminisztrátor szerepkör megjelenítése a Szerepkör szerkesztőben" - -#: ../includes/class-ure-screen-help.php:16 -msgid "" -"turn this option on in order to make the \"Administrator\" role available at " -"the User Role Editor roles selection drop-down list. It is hidden by default " -"for security reasons." -msgstr "" -"ha engedélyezve van, akkor az „Adminisztrátor” szerepkör is megjelenik a " -"legördülő listákban a Szerepkör szerkesztőben. Alapértelmezésként el van " -"rejtve biztonsági okok miatt." - -#: ../includes/class-ure-screen-help.php:18 -#: ../includes/settings-template.php:61 -msgid "Show capabilities in the human readable form" -msgstr "Képességek megjelenítése könnyen olvasható formában" - -#: ../includes/class-ure-screen-help.php:19 -msgid "" -"automatically converts capability names from the technical form for internal " -"use like \"edit_others_posts\" to more user friendly form, e.g. \"Edit " -"others posts\"." -msgstr "" -"olvashatóvá alakítja (pl: „Mások bejegyzéseinek szerkesztése”) a belső " -"használatra szánt technikai formát (pl: ”edit_others_posts”)." - -#: ../includes/class-ure-screen-help.php:22 -msgid "" -"Capabilities like \"level_0\", \"level_1\" are deprecated and are not used " -"by WordPress. They are left at the user roles for the compatibility purpose " -"with the old themes and plugins code. Turning on this option will show those " -"deprecated capabilities." -msgstr "" -"pár képesség (pl: ‟level_0”, ‟level_1”) elavult, és a WordPress már nem " -"használja. Csak a régi sablonokkal és bővítményekkel való kompatíbilitás " -"miatt maradtak meg. Ez az opció ezeket az elavult képességeket jeleníti meg." - -#: ../includes/class-ure-screen-help.php:25 -#: ../includes/settings-template.php:77 -msgid "Edit user capabilities" -msgstr "" - -#: ../includes/class-ure-screen-help.php:26 -msgid "" -"If turned off - capabilities section of selected user is shown in readonly " -"mode. Administrator can not assign capabilities to the user directly. He " -"should make it using roles only." -msgstr "" - -#: ../includes/class-ure-screen-help.php:45 -#: ../includes/settings-template.php:111 -msgid "Count users without role" -msgstr "Szerepkör nélküli felhasználók számlálása" - -#: ../includes/class-ure-screen-help.php:46 -msgid "" -"Show at the \"Users\" page a quant of users without role. Module allows to " -"assign all of them an empty role \"No rights\", in order to look on the " -"users list with role \"No rights\" at the separate tab then." -msgstr "" - -#: ../includes/class-ure-screen-help.php:63 -msgid "Other default roles for new registered user" -msgstr "Egyéb alap szerepkörök újonnan regisztrált felhasználók számára:" - -#: ../includes/class-ure-screen-help.php:64 -msgid "" -"select roles below to assign them to the new user automatically as an " -"addition to the primary role. Note for multisite environment: take into " -"account that other default roles should exist at the site, in order to be " -"assigned to the new registered users." -msgstr "" -"válassza ki alább az új felhasználókhoz (az elsődlegesen kívül) " -"automatikusan hozzárendelendő szerepköröket. Megjegyzés a MultiSite " -"környezethez: vegye figyelembe, hogy több alap szerepkörnek is léteznie kell " -"a weboldalon, az új felhasználók létrehozásához." - -#: ../includes/class-ure-screen-help.php:82 -msgid "Allow non super-admininstrators to create, edit and delete users" -msgstr "" -"Nem szuperadminok is hozhassanak létre, módosíthassanak és törölhessenek " -"felhasználókat" - -#: ../includes/class-ure-screen-help.php:83 -msgid "" -"Super administrator only may create, edit and delete users under WordPress " -"multi-site by default. Turn this option on in order to remove this " -"limitation." -msgstr "" -"WordPress MultiSite esetén csak a szuperadminok hozhatnak létre, " -"módosíthatnak és törölhetnek felhasználókat. Ezzel az opcióval ez a megkötés " -"feloldható." - -#: ../includes/class-user-role-editor.php:233 -msgid "Change role for users without role" -msgstr "Szerepkör nélküli felhasználók szerepkörének megadása" - -#: ../includes/class-user-role-editor.php:234 -msgid "No rights" -msgstr "Nincs jogosultság" - -#: ../includes/class-user-role-editor.php:235 -msgid "Provide new role" -msgstr "Új szerepkör megadása" - -#: ../includes/class-user-role-editor.php:298 -#: ../includes/class-user-role-editor.php:300 -msgid "You do not have permission to edit this user." -msgstr "Nincs jogosultsága a felhasználó szerkesztéséhez." - -#: ../includes/class-user-role-editor.php:535 -msgid "Settings" -msgstr "Beállítások" - -#: ../includes/class-user-role-editor.php:568 -#: ../includes/settings-template.php:21 -msgid "General" -msgstr "Általános" - -#: ../includes/class-user-role-editor.php:574 -#: ../includes/settings-template.php:26 -msgid "Additional Modules" -msgstr "További modulok" - -#: ../includes/class-user-role-editor.php:580 -#: ../includes/settings-template.php:30 -msgid "Default Roles" -msgstr "Alap szerepkörök" - -#: ../includes/class-user-role-editor.php:586 -#: ../includes/settings-template.php:34 -msgid "Multisite" -msgstr "Multisite" - -#: ../includes/class-user-role-editor.php:685 -#: ../includes/class-user-role-editor.php:703 -#: ../includes/class-user-role-editor.php:747 -msgid "User Role Editor options are updated" -msgstr "Szerepkör szerkesztő beállításai frissítve" - -#: ../includes/class-user-role-editor.php:731 -msgid "Default Roles are updated" -msgstr "Alap szerepkörök frissítve" - -#: ../includes/class-user-role-editor.php:756 -msgid "" -"You do not have sufficient permissions to manage options for User Role " -"Editor." -msgstr "" -"Nincs elég jogosultsága a Szerepkör szerkesztő beállításainak kezeléséhez." - -#: ../includes/class-user-role-editor.php:885 -msgid "Select All" -msgstr "Összeset kijelöl" - -#: ../includes/class-user-role-editor.php:886 -msgid "Unselect All" -msgstr "Kijelölés megszünt." - -#: ../includes/class-user-role-editor.php:887 -msgid "Reverse" -msgstr "Fordított kijelölés" - -#: ../includes/class-user-role-editor.php:888 -msgid "Update" -msgstr "Frissítés" - -#: ../includes/class-user-role-editor.php:889 -msgid "Please confirm permissions update" -msgstr "Képességek frissítésének megersőítése" - -#: ../includes/class-user-role-editor.php:890 -msgid "Add New Role" -msgstr "Új szerepkör létrehozása" - -#: ../includes/class-user-role-editor.php:891 -#: ../includes/class-user-role-editor.php:896 -msgid "Rename Role" -msgstr "Szerepkör átnevezés" - -#: ../includes/class-user-role-editor.php:892 -msgid " Role name (ID) can not be empty!" -msgstr "A szerepkör neve (azonosító) nem lehet üres!" - -#: ../includes/class-user-role-editor.php:893 -msgid "" -" Role name (ID) must contain latin characters, digits, hyphens or underscore " -"only!" -msgstr "" -"A szerepkör neve (azonosítója) csak latin betűket, szűmokat, kötőjelet és " -"aláhúzást tartalmazhat." - -#: ../includes/class-user-role-editor.php:894 -msgid "" -" WordPress does not support numeric Role name (ID). Add latin characters to " -"it." -msgstr "" -"A WordPress nem támoagtja a numeriks szerepkör neveket (azonosító). Kell " -"bele legalább egy latin betű." - -#: ../includes/class-user-role-editor.php:895 -msgid "Add Role" -msgstr "Új szerepkör" - -#: ../includes/class-user-role-editor.php:897 -msgid "Delete Role" -msgstr "Szerepkör törlése" - -#: ../includes/class-user-role-editor.php:898 -msgid "Cancel" -msgstr "Mégse" - -#: ../includes/class-user-role-editor.php:899 -msgid "Add Capability" -msgstr "Új képesség" - -#: ../includes/class-user-role-editor.php:900 -#: ../includes/class-user-role-editor.php:909 -msgid "Delete Capability" -msgstr "Képesség törlése" - -#: ../includes/class-user-role-editor.php:901 -msgid "Reset" -msgstr "Alaphelyzet" - -#: ../includes/class-user-role-editor.php:902 -msgid "DANGER! Resetting will restore default settings from WordPress Core." -msgstr "" -"VESZÉLY! Az alaphelyzetre állítás a WordPress mag beállításait állítja be " -"újra." - -#: ../includes/class-user-role-editor.php:903 -msgid "" -"If any plugins have changed capabilities in any way upon installation (such " -"as S2Member, WooCommerce, and many more), those capabilities will be DELETED!" -msgstr "" -"Ha bármilyen bővítmény módosított a képességeket bármilyen módon (pl.: " -"S2Member, WooCommerce, és sok másik), ezek a módosítások TÖRÖLVE lesznek!" - -#: ../includes/class-user-role-editor.php:904 -msgid "" -"For more information on how to undo changes and restore plugin capabilities " -"go to" -msgstr "" -"További információ a képességek módosításainak visszavonásáról és " -"helyreállításáról" - -#: ../includes/class-user-role-editor.php:906 -msgid "Continue?" -msgstr "Folytassuk?" - -#: ../includes/class-user-role-editor.php:907 -msgid "Default Role" -msgstr "Alap szerepkör" - -#: ../includes/class-user-role-editor.php:908 -msgid "Set New Default Role" -msgstr "Új alap szerepkör beállítása" - -#: ../includes/class-user-role-editor.php:910 -msgid "" -"Warning! Be careful - removing critical capability could crash some plugin " -"or other custom code" -msgstr "" -"Figyelem! Legyen óvatos - kritikus képesség törlésétől leállhat néhány " -"bővítmény vagy egyedi kód." - -#: ../includes/class-user-role-editor.php:911 -msgid " Capability name (ID) can not be empty!" -msgstr "A képesség név (azonosító) nem lehet üres." - -#: ../includes/class-user-role-editor.php:912 -msgid "" -" Capability name (ID) must contain latin characters, digits, hyphens or " -"underscore only!" -msgstr "" -"A képesség név (azonosító) csak latin betűkből, számokból, kötőjelből és " -"aláhúzásból állhat." - -#: ../includes/settings-template.php:17 -msgid "User Role Editor - Options" -msgstr "Szerepkör szerkesztő - Beállítások" - -#: ../includes/settings-template.php:39 -msgid "About" -msgstr "Névjegy" - -#: ../includes/settings-template.php:90 ../includes/settings-template.php:126 -#: ../includes/settings-template.php:158 ../includes/settings-template.php:190 -msgid "Save" -msgstr "Mentés" - -#: ../includes/settings-template.php:138 -msgid "Primary default role: " -msgstr "Elsődleges alap szerepkör:" - -#: ../includes/settings-template.php:145 -msgid "Other default roles for new registered user: " -msgstr "Egyéb alap szerepkörök újonnan regisztrált felhasználók számára:" - -#: ../includes/settings-template.php:151 -msgid "" -"Note for multisite environment: take into account that other default roles " -"should exist at the site, in order to be assigned to the new registered " -"users." -msgstr "" -"Megjegyzés a MultiSite környezethez: vegye figyelembe, hogy több alap " -"szerepkörnek is léteznie kell a weboldalon, az új felhasználók " -"létrehozásához." - -#: ../includes/settings-template.php:177 -msgid "Allow non super administrators to create, edit, and delete users" -msgstr "" -"Nem szuperadminok is hozhassanak létre, módosíthassanak és törölhessenek " -"felhasználókat" - -#: ../includes/ure-user-edit.php:32 -msgid "Network Super Admin" -msgstr "Multisite Szuperadmin" - -#: ../includes/ure-user-edit.php:35 -msgid "Change capabilities for user" -msgstr "Szerepkör módosítása -" - -#: ../includes/ure-user-edit.php:72 -msgid "Primary Role:" -msgstr "Elsődleges szerepkör:" - -#: ../includes/ure-user-edit.php:82 -msgid "bbPress Role:" -msgstr "bbPress szerepkör:" - -#: ../includes/ure-user-edit.php:92 -msgid "Other Roles:" -msgstr "Más szerepkörök:" - -#~ msgid "select roles below" -#~ msgstr "válasszon szerepköröket alább" diff --git a/wp-content/plugins/user-role-editor/lang/user-role-editor-id_ID.mo b/wp-content/plugins/user-role-editor/lang/user-role-editor-id_ID.mo deleted file mode 100644 index 749a55f..0000000 Binary files a/wp-content/plugins/user-role-editor/lang/user-role-editor-id_ID.mo and /dev/null differ diff --git a/wp-content/plugins/user-role-editor/lang/user-role-editor-id_ID.po b/wp-content/plugins/user-role-editor/lang/user-role-editor-id_ID.po deleted file mode 100644 index 747b7cf..0000000 --- a/wp-content/plugins/user-role-editor/lang/user-role-editor-id_ID.po +++ /dev/null @@ -1,938 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: User Role Editor 2.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-11 21:06+0100\n" -"PO-Revision-Date: \n" -"Last-Translator: Vladimir Garagulya \n" -"Language-Team: http://al-badar.net \n" -"Language: id_ID\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Poedit-SourceCharset: UTF-8\n" -"X-Poedit-KeywordsList: __;_e;esc_html__\n" -"X-Poedit-Basepath: .\n" -"X-Generator: Poedit 1.5.4\n" -"X-Poedit-SearchPath-0: ..\n" - -#: ../includes/class-ure-lib.php:247 -msgid "Error: wrong request" -msgstr "Salah: salah permintaan" - -#: ../includes/class-ure-lib.php:280 ../includes/class-ure-lib.php:291 -msgid "Role name (ID): " -msgstr "Nama Peran (ID):" - -#: ../includes/class-ure-lib.php:282 ../includes/class-ure-lib.php:293 -msgid "Display Role Name: " -msgstr "Tampilkan Nama Peran:" - -#: ../includes/class-ure-lib.php:284 -msgid "Make copy of: " -msgstr "buat salinan:" - -#: ../includes/class-ure-lib.php:300 -msgid "Select Role:" -msgstr "Pilih Peran:" - -#: ../includes/class-ure-lib.php:315 -msgid "Delete:" -msgstr "Hapus:" - -#: ../includes/class-ure-lib.php:322 -msgid "Capability name (ID): " -msgstr "Nama Kemampuan (ID):" - -#: ../includes/class-ure-lib.php:339 -#: ../includes/class-user-role-editor.php:596 -#: ../includes/class-user-role-editor.php:625 -msgid "User Role Editor" -msgstr "User Role Editor" - -#: ../includes/class-ure-lib.php:436 -msgid "Error: " -msgstr "Salah:" - -#: ../includes/class-ure-lib.php:436 -msgid "Role" -msgstr "Peran" - -#: ../includes/class-ure-lib.php:437 -msgid "does not exist" -msgstr "tidak ada" - -#: ../includes/class-ure-lib.php:480 -msgid "Role is updated successfully" -msgstr "Peran berhasil diperbarui" - -#: ../includes/class-ure-lib.php:482 -msgid "Roles are updated for all network" -msgstr "Peran diperbarui untuk semua jaringan" - -#: ../includes/class-ure-lib.php:488 -msgid "Error occured during role(s) update" -msgstr "Kesalahan terjadi selama pembaruan peran" - -#: ../includes/class-ure-lib.php:495 -msgid "User capabilities are updated successfully" -msgstr "Kemampuan pengguna berhasil diperbarui" - -#: ../includes/class-ure-lib.php:500 -msgid "Error occured during user update" -msgstr "Kesalahan terjadi sepanjang pembaruan pengguna" - -#: ../includes/class-ure-lib.php:558 -msgid "User Roles are restored to WordPress default values. " -msgstr "Peran Pengguna dikembalikan ke nilai Wordpress default." - -#: ../includes/class-ure-lib.php:1436 -msgid "read about" -msgstr "" - -#: ../includes/class-ure-lib.php:1437 -#, fuzzy -msgid "user capability" -msgstr "Kustom kemampuan:" - -#: ../includes/class-ure-lib.php:1438 -msgid "Help" -msgstr "Bantuan" - -#: ../includes/class-ure-lib.php:1693 ../includes/class-ure-lib.php:1946 -#: ../includes/class-ure-lib.php:2062 ../includes/class-ure-lib.php:2110 -#: ../includes/class-ure-lib.php:2358 ../includes/class-ure-lib.php:2403 -#: ../includes/class-user-role-editor.php:828 -msgid "Insufficient permissions to work with User Role Editor" -msgstr "Izin yang tidak sesuai untuk bekerja dengan User Role Editor" - -#: ../includes/class-ure-lib.php:1909 -msgid "Error is occur. Please check the log file." -msgstr "kesalahan terjadi, Harap periksa log data." - -#: ../includes/class-ure-lib.php:1955 ../includes/class-ure-lib.php:2022 -msgid "" -"Error: Role ID must contain latin characters, digits, hyphens or underscore " -"only!" -msgstr "" -"Kesalahan: ID Peran harus mengandung karakter latin, angka, kata penghubung " -"dan garis bawah saja!" - -#: ../includes/class-ure-lib.php:1959 ../includes/class-ure-lib.php:2026 -msgid "" -"Error: WordPress does not support numeric Role name (ID). Add latin " -"characters to it." -msgstr "" - -#: ../includes/class-ure-lib.php:1974 -#, php-format -msgid "Role %s exists already" -msgstr "Peran %s telah ada" - -#: ../includes/class-ure-lib.php:1989 -msgid "Error is encountered during new role create operation" -msgstr "Kesalahan ditemui selama peran baru membuat operasi" - -#: ../includes/class-ure-lib.php:1991 -#, php-format -msgid "Role %s is created successfully" -msgstr "Peran %s berhasil dibuat" - -#: ../includes/class-ure-lib.php:2015 -msgid "Error: Role ID is empty!" -msgstr "" - -#: ../includes/class-ure-lib.php:2033 -msgid "Error: Empty role display name is not allowed." -msgstr "" - -#: ../includes/class-ure-lib.php:2040 -#, fuzzy, php-format -msgid "Role %s does not exists" -msgstr "tidak ada" - -#: ../includes/class-ure-lib.php:2048 -#, fuzzy, php-format -msgid "Role %s is renamed to %s successfully" -msgstr "Peran %s berhasil dibuat" - -#: ../includes/class-ure-lib.php:2121 -msgid "Error encountered during role delete operation" -msgstr "Kesalahan ditemui selama operasi penghapusan peran" - -#: ../includes/class-ure-lib.php:2123 -msgid "Unused roles are deleted successfully" -msgstr "Peran yang tidak digunakan berhasil dihapus" - -#: ../includes/class-ure-lib.php:2125 -#, php-format -msgid "Role %s is deleted successfully" -msgstr "Peran %s berhasil dihapus" - -#: ../includes/class-ure-lib.php:2153 -msgid "Error encountered during default role change operation" -msgstr "Kesalahan ditemui selama operasi perubahan peran standar" - -#: ../includes/class-ure-lib.php:2156 -#, php-format -msgid "Default role for new users is set to %s successfully" -msgstr "Peran standar untuk pengguna baru diatur ke %s dengan sukses" - -#: ../includes/class-ure-lib.php:2159 -#, fuzzy -msgid "Can not set Administrator role as a default one" -msgstr "Tampilkan peran Administrator di User Role Editor" - -#: ../includes/class-ure-lib.php:2161 -#, fuzzy -msgid "This role does not exist - " -msgstr "tidak ada" - -#: ../includes/class-ure-lib.php:2177 -msgid "Editor" -msgstr "Penyunting" - -#: ../includes/class-ure-lib.php:2178 -msgid "Author" -msgstr "Pengarang" - -#: ../includes/class-ure-lib.php:2179 -msgid "Contributor" -msgstr "Kontributor" - -#: ../includes/class-ure-lib.php:2180 -msgid "Subscriber" -msgstr "Pelanggan" - -#: ../includes/class-ure-lib.php:2182 -msgid "Switch themes" -msgstr "Ganti tema" - -#: ../includes/class-ure-lib.php:2183 -msgid "Edit themes" -msgstr "Sunting tema" - -#: ../includes/class-ure-lib.php:2184 -msgid "Activate plugins" -msgstr "Aktifkan plugin" - -#: ../includes/class-ure-lib.php:2185 -msgid "Edit plugins" -msgstr "Sunting plugin" - -#: ../includes/class-ure-lib.php:2186 -msgid "Edit users" -msgstr "Sunting pengguna" - -#: ../includes/class-ure-lib.php:2187 -msgid "Edit files" -msgstr "Sunting data" - -#: ../includes/class-ure-lib.php:2188 -msgid "Manage options" -msgstr "kelola pilihan" - -#: ../includes/class-ure-lib.php:2189 -msgid "Moderate comments" -msgstr "Moderasi komentar" - -#: ../includes/class-ure-lib.php:2190 -msgid "Manage categories" -msgstr "Kelola kategori" - -#: ../includes/class-ure-lib.php:2191 -msgid "Manage links" -msgstr "Kelola tautan" - -#: ../includes/class-ure-lib.php:2192 -msgid "Upload files" -msgstr "Unggah data" - -#: ../includes/class-ure-lib.php:2193 -msgid "Import" -msgstr "Impor" - -#: ../includes/class-ure-lib.php:2194 -msgid "Unfiltered html" -msgstr "HTML tidak tersaring" - -#: ../includes/class-ure-lib.php:2195 -msgid "Edit posts" -msgstr "Sunting posting" - -#: ../includes/class-ure-lib.php:2196 -msgid "Edit others posts" -msgstr "Sunting posting lainnya" - -#: ../includes/class-ure-lib.php:2197 -msgid "Edit published posts" -msgstr "Sunting posting terpublikasi" - -#: ../includes/class-ure-lib.php:2198 -msgid "Publish posts" -msgstr "Publikasi posting" - -#: ../includes/class-ure-lib.php:2199 -msgid "Edit pages" -msgstr "Sunting halaman" - -#: ../includes/class-ure-lib.php:2200 -msgid "Read" -msgstr "Baca" - -#: ../includes/class-ure-lib.php:2201 -msgid "Level 10" -msgstr "Tingkat 10" - -#: ../includes/class-ure-lib.php:2202 -msgid "Level 9" -msgstr "Tingkat 9" - -#: ../includes/class-ure-lib.php:2203 -msgid "Level 8" -msgstr "Tingkat 8" - -#: ../includes/class-ure-lib.php:2204 -msgid "Level 7" -msgstr "Tingkat 7" - -#: ../includes/class-ure-lib.php:2205 -msgid "Level 6" -msgstr "Tingkat 6" - -#: ../includes/class-ure-lib.php:2206 -msgid "Level 5" -msgstr "Tingkat 5" - -#: ../includes/class-ure-lib.php:2207 -msgid "Level 4" -msgstr "Tingkat 4" - -#: ../includes/class-ure-lib.php:2208 -msgid "Level 3" -msgstr "Tingkat 3" - -#: ../includes/class-ure-lib.php:2209 -msgid "Level 2" -msgstr "Tingkat 2" - -#: ../includes/class-ure-lib.php:2210 -msgid "Level 1" -msgstr "Tingkat 1" - -#: ../includes/class-ure-lib.php:2211 -msgid "Level 0" -msgstr "Tingkat 0" - -#: ../includes/class-ure-lib.php:2212 -msgid "Edit others pages" -msgstr "Sunting halaman lainnya" - -#: ../includes/class-ure-lib.php:2213 -msgid "Edit published pages" -msgstr "Sunting halaman terpublikasi" - -#: ../includes/class-ure-lib.php:2214 -msgid "Publish pages" -msgstr "Publikasi halaman" - -#: ../includes/class-ure-lib.php:2215 -msgid "Delete pages" -msgstr "Hapus halaman" - -#: ../includes/class-ure-lib.php:2216 -msgid "Delete others pages" -msgstr "Hapus halaman lainnya" - -#: ../includes/class-ure-lib.php:2217 -msgid "Delete published pages" -msgstr "Hapus halaman terpublikasi" - -#: ../includes/class-ure-lib.php:2218 -msgid "Delete posts" -msgstr "hapus posting" - -#: ../includes/class-ure-lib.php:2219 -msgid "Delete others posts" -msgstr "Hapus posting lainnya" - -#: ../includes/class-ure-lib.php:2220 -msgid "Delete published posts" -msgstr "Hapus posting terpublikasi" - -#: ../includes/class-ure-lib.php:2221 -msgid "Delete private posts" -msgstr "Hapus posting pribadi" - -#: ../includes/class-ure-lib.php:2222 -msgid "Edit private posts" -msgstr "Sunting posting pribadi" - -#: ../includes/class-ure-lib.php:2223 -msgid "Read private posts" -msgstr "Baca posting pribadi" - -#: ../includes/class-ure-lib.php:2224 -msgid "Delete private pages" -msgstr "Hapus halaman pribadi" - -#: ../includes/class-ure-lib.php:2225 -msgid "Edit private pages" -msgstr "Sunting halaman pribadi" - -#: ../includes/class-ure-lib.php:2226 -msgid "Read private pages" -msgstr "baca halaman pribadi" - -#: ../includes/class-ure-lib.php:2227 -msgid "Delete users" -msgstr "Hapus pengguna" - -#: ../includes/class-ure-lib.php:2228 -msgid "Create users" -msgstr "Buat pengguna" - -#: ../includes/class-ure-lib.php:2229 -msgid "Unfiltered upload" -msgstr "Unggahan tidak tersaring" - -#: ../includes/class-ure-lib.php:2230 -msgid "Edit dashboard" -msgstr "Sunting dasbor" - -#: ../includes/class-ure-lib.php:2231 -msgid "Update plugins" -msgstr "Perbarui plugin" - -#: ../includes/class-ure-lib.php:2232 -msgid "Delete plugins" -msgstr "Hapus plugin" - -#: ../includes/class-ure-lib.php:2233 -msgid "Install plugins" -msgstr "Pasang plugin" - -#: ../includes/class-ure-lib.php:2234 -msgid "Update themes" -msgstr "Perbarui tema" - -#: ../includes/class-ure-lib.php:2235 -msgid "Install themes" -msgstr "Pasang tema" - -#: ../includes/class-ure-lib.php:2236 -msgid "Update core" -msgstr "Perbarui inti" - -#: ../includes/class-ure-lib.php:2237 -msgid "List users" -msgstr "Daftar pengguna" - -#: ../includes/class-ure-lib.php:2238 -msgid "Remove users" -msgstr "Hapus pengguna" - -#: ../includes/class-ure-lib.php:2239 -msgid "Add users" -msgstr "Tambah pengguna" - -#: ../includes/class-ure-lib.php:2240 -msgid "Promote users" -msgstr "Promosi pengguna" - -#: ../includes/class-ure-lib.php:2241 -msgid "Edit theme options" -msgstr "Sunting pilihan tema" - -#: ../includes/class-ure-lib.php:2242 -msgid "Delete themes" -msgstr "Hapus tema" - -#: ../includes/class-ure-lib.php:2243 -msgid "Export" -msgstr "Ekspor" - -#: ../includes/class-ure-lib.php:2366 -msgid "Error: Capability name must contain latin characters and digits only!" -msgstr "Salah: Kemampuan nama harus mengandung karakter latin dan angka saja!" - -#: ../includes/class-ure-lib.php:2379 -#, php-format -msgid "Capability %s is added successfully" -msgstr "Kemampuan %s berhasil ditambahkan" - -#: ../includes/class-ure-lib.php:2381 -#, php-format -msgid "Capability %s exists already" -msgstr "Kemampuan %s telah ada" - -#: ../includes/class-ure-lib.php:2410 -#, php-format -msgid "Error! You do not have permission to delete this capability: %s!" -msgstr "Salah! Anda tidak memiliki izin untuk menghapus kemampuan ini: %s!" - -#: ../includes/class-ure-lib.php:2429 -#, fuzzy, php-format -msgid "Capability %s was removed successfully" -msgstr "Kemampuan %s berhasil dihapus" - -#: ../includes/class-ure-lib.php:2497 -msgid "Version:" -msgstr "" - -#: ../includes/class-ure-lib.php:2498 -msgid "Author's website" -msgstr "Website pengarang" - -#: ../includes/class-ure-lib.php:2499 -msgid "Plugin webpage" -msgstr "Halaman web Plugin" - -#: ../includes/class-ure-lib.php:2500 -#, fuzzy -msgid "Plugin download" -msgstr "Halaman web Plugin" - -#: ../includes/class-ure-lib.php:2501 -#: ../includes/class-user-role-editor.php:546 -msgid "Changelog" -msgstr "log Perubahan" - -#: ../includes/class-ure-lib.php:2502 -msgid "FAQ" -msgstr "FAQ" - -#: ../includes/class-ure-lib.php:2575 -msgid "Delete All Unused Roles" -msgstr "Hapus Peran Tidak Terpakai" - -#: ../includes/class-ure-lib.php:2588 -msgid "None" -msgstr "Nihil" - -#: ../includes/class-ure-lib.php:2632 -msgid "— No role for this site —" -msgstr "— Tidak ada peran untuk situs ini —" - -#: ../includes/class-ure-lib.php:2747 -#, php-format -msgid "Denied: %s" -msgstr "" - -#: ../includes/ure-role-edit.php:17 -#, fuzzy -msgid "Select Role and change its capabilities:" -msgstr "Pilih Peran dan ubah daftar kemampuan" - -#: ../includes/ure-role-edit.php:30 ../includes/ure-user-edit.php:54 -msgid "Show capabilities in human readable form" -msgstr "Tampilkan kemampuan dalam bentuk yang dapat dibaca manusia" - -#: ../includes/ure-role-edit.php:40 ../includes/class-ure-screen-help.php:21 -#: ../includes/settings-template.php:69 ../includes/ure-user-edit.php:64 -msgid "Show deprecated capabilities" -msgstr "Tampilkan kemampuan usang" - -#: ../includes/ure-role-edit.php:44 -msgid "If checked, then apply action to ALL sites of this Network" -msgstr "" -"Jika dicentang, kemudian terapkan tindakan untuk SEMUA situs Jaringan ini" - -#: ../includes/ure-role-edit.php:56 -msgid "Apply to All Sites" -msgstr "Terapkan ke Semua Situs" - -#: ../includes/ure-role-edit.php:63 ../includes/ure-user-edit.php:110 -msgid "Core capabilities:" -msgstr "Kemampuan inti:" - -#: ../includes/ure-role-edit.php:65 ../includes/ure-user-edit.php:112 -msgid "Quick filter:" -msgstr "Saring Cepat:" - -#: ../includes/ure-role-edit.php:83 ../includes/ure-user-edit.php:131 -msgid "Custom capabilities:" -msgstr "Kustom kemampuan:" - -#: ../includes/class-user-other-roles.php:82 -#: ../includes/class-user-other-roles.php:183 -#: ../includes/class-user-other-roles.php:243 -msgid "Other Roles" -msgstr "Peran Lainnya" - -#: ../includes/class-user-other-roles.php:83 -msgid "Select additional roles for this user" -msgstr "" - -#: ../includes/class-user-other-roles.php:162 -#: ../includes/class-user-role-editor.php:438 -msgid "Capabilities" -msgstr "Kemampuan" - -#: ../includes/class-user-other-roles.php:169 -msgid "Edit" -msgstr "Sunting" - -#: ../includes/class-user-other-roles.php:215 -#, fuzzy -msgid "Additional Capabilities" -msgstr "Tambah Kemampuan" - -#: ../includes/class-ure-screen-help.php:12 -#: ../includes/class-ure-screen-help.php:41 -#: ../includes/class-ure-screen-help.php:60 -#: ../includes/class-ure-screen-help.php:79 -#, fuzzy -msgid "User Role Editor Options page help" -msgstr "User Role Editor" - -#: ../includes/class-ure-screen-help.php:15 -#: ../includes/settings-template.php:53 -msgid "Show Administrator role at User Role Editor" -msgstr "Tampilkan peran Administrator di User Role Editor" - -#: ../includes/class-ure-screen-help.php:16 -msgid "" -"turn this option on in order to make the \"Administrator\" role available at " -"the User Role Editor roles selection drop-down list. It is hidden by default " -"for security reasons." -msgstr "" -"Aktifkan pilihan ini untuk membuat peran \"Administrator\" tersedia pada " -"daftar seleksi pilihan peran User Role Editor. Akan tersembunyi secara " -"default demi alasan keamanan." - -#: ../includes/class-ure-screen-help.php:18 -#: ../includes/settings-template.php:61 -msgid "Show capabilities in the human readable form" -msgstr "Tampilkan kemampuan dalam bentuk yang dapat dibaca manusia" - -#: ../includes/class-ure-screen-help.php:19 -msgid "" -"automatically converts capability names from the technical form for internal " -"use like \"edit_others_posts\" to more user friendly form, e.g. \"Edit " -"others posts\"." -msgstr "" -"secara otomatis mengkonversi nama kemampuan dari bentuk teknis untuk " -"penggunaan internal seperti \"edit_others_posts\" ke bentuk yang lebih user " -"friendly, misalnya \"Edit posting orang lain\"." - -#: ../includes/class-ure-screen-help.php:22 -msgid "" -"Capabilities like \"level_0\", \"level_1\" are deprecated and are not used " -"by WordPress. They are left at the user roles for the compatibility purpose " -"with the old themes and plugins code. Turning on this option will show those " -"deprecated capabilities." -msgstr "" -"Kemampuan seperti \"level_0 \", \"level_1\" yang usang dan tidak digunakan " -"oleh WordPress. Mereka tersisa pada peran pengguna untuk tujuan " -"kompatibilitas dengan tema lama dan kode plugin. Menyalakan opsi ini akan " -"menunjukkan kemampuan mereka usang." - -#: ../includes/class-ure-screen-help.php:25 -#: ../includes/settings-template.php:77 -#, fuzzy -msgid "Edit user capabilities" -msgstr "Kustom kemampuan:" - -#: ../includes/class-ure-screen-help.php:26 -msgid "" -"If turned off - capabilities section of selected user is shown in readonly " -"mode. Administrator can not assign capabilities to the user directly. He " -"should make it using roles only." -msgstr "" - -#: ../includes/class-ure-screen-help.php:45 -#: ../includes/settings-template.php:111 -msgid "Count users without role" -msgstr "" - -#: ../includes/class-ure-screen-help.php:46 -msgid "" -"Show at the \"Users\" page a quant of users without role. Module allows to " -"assign all of them an empty role \"No rights\", in order to look on the " -"users list with role \"No rights\" at the separate tab then." -msgstr "" - -#: ../includes/class-ure-screen-help.php:63 -msgid "Other default roles for new registered user" -msgstr "" - -#: ../includes/class-ure-screen-help.php:64 -msgid "" -"select roles below to assign them to the new user automatically as an " -"addition to the primary role. Note for multisite environment: take into " -"account that other default roles should exist at the site, in order to be " -"assigned to the new registered users." -msgstr "" - -#: ../includes/class-ure-screen-help.php:82 -msgid "Allow non super-admininstrators to create, edit and delete users" -msgstr "" - -#: ../includes/class-ure-screen-help.php:83 -#, fuzzy -msgid "" -"Super administrator only may create, edit and delete users under WordPress " -"multi-site by default. Turn this option on in order to remove this " -"limitation." -msgstr "" -"Super administrator hanya dapat membuat, mengedit dan menghapus pengguna di " -"bawah WordPress multi-situs. Aktifkan pilihan ini dalam rangka menghapus " -"keterbatasan ini." - -#: ../includes/class-user-role-editor.php:233 -msgid "Change role for users without role" -msgstr "" - -#: ../includes/class-user-role-editor.php:234 -msgid "No rights" -msgstr "" - -#: ../includes/class-user-role-editor.php:235 -msgid "Provide new role" -msgstr "" - -#: ../includes/class-user-role-editor.php:298 -#: ../includes/class-user-role-editor.php:300 -msgid "You do not have permission to edit this user." -msgstr "Anda tidak diizinkan untuk menyunting user ini. " - -#: ../includes/class-user-role-editor.php:535 -msgid "Settings" -msgstr "Pengaturan" - -#: ../includes/class-user-role-editor.php:568 -#: ../includes/settings-template.php:21 -msgid "General" -msgstr "" - -#: ../includes/class-user-role-editor.php:574 -#: ../includes/settings-template.php:26 -msgid "Additional Modules" -msgstr "" - -#: ../includes/class-user-role-editor.php:580 -#: ../includes/settings-template.php:30 -#, fuzzy -msgid "Default Roles" -msgstr "Peran " - -#: ../includes/class-user-role-editor.php:586 -#: ../includes/settings-template.php:34 -msgid "Multisite" -msgstr "" - -#: ../includes/class-user-role-editor.php:685 -#: ../includes/class-user-role-editor.php:703 -#: ../includes/class-user-role-editor.php:747 -msgid "User Role Editor options are updated" -msgstr "Pilihan User Role Editor diperbarui" - -#: ../includes/class-user-role-editor.php:731 -#, fuzzy -msgid "Default Roles are updated" -msgstr "Peran " - -#: ../includes/class-user-role-editor.php:756 -msgid "" -"You do not have sufficient permissions to manage options for User Role " -"Editor." -msgstr "" -"Anda tidak memiliki izin yang memadai untuk mengelola pilihan User Role " -"Editor." - -#: ../includes/class-user-role-editor.php:885 -msgid "Select All" -msgstr "Pilih Semua" - -#: ../includes/class-user-role-editor.php:886 -msgid "Unselect All" -msgstr "Batalkan Semua" - -#: ../includes/class-user-role-editor.php:887 -msgid "Reverse" -msgstr "Memutar" - -#: ../includes/class-user-role-editor.php:888 -msgid "Update" -msgstr "Pembaruan" - -#: ../includes/class-user-role-editor.php:889 -msgid "Please confirm permissions update" -msgstr "Harap konfirmasi pembaruan izin" - -#: ../includes/class-user-role-editor.php:890 -msgid "Add New Role" -msgstr "Tambah Peran Baru" - -#: ../includes/class-user-role-editor.php:891 -#: ../includes/class-user-role-editor.php:896 -#, fuzzy -msgid "Rename Role" -msgstr "Hapus Peran" - -#: ../includes/class-user-role-editor.php:892 -msgid " Role name (ID) can not be empty!" -msgstr "Nama peran (ID) tidak boleh kosong!" - -#: ../includes/class-user-role-editor.php:893 -msgid "" -" Role name (ID) must contain latin characters, digits, hyphens or underscore " -"only!" -msgstr "" -"Nama peran (ID) harus berisi karakter latin, angka, tanda hubung atau garis " -"bawah saja!" - -#: ../includes/class-user-role-editor.php:894 -msgid "" -" WordPress does not support numeric Role name (ID). Add latin characters to " -"it." -msgstr "" - -#: ../includes/class-user-role-editor.php:895 -msgid "Add Role" -msgstr "Tambah Peran" - -#: ../includes/class-user-role-editor.php:897 -msgid "Delete Role" -msgstr "Hapus Peran" - -#: ../includes/class-user-role-editor.php:898 -msgid "Cancel" -msgstr "Batalkan" - -#: ../includes/class-user-role-editor.php:899 -msgid "Add Capability" -msgstr "Tambah Kemampuan" - -#: ../includes/class-user-role-editor.php:900 -#: ../includes/class-user-role-editor.php:909 -msgid "Delete Capability" -msgstr "Hapus Kemampuan" - -#: ../includes/class-user-role-editor.php:901 -msgid "Reset" -msgstr "Atur Ulang" - -#: ../includes/class-user-role-editor.php:902 -msgid "DANGER! Resetting will restore default settings from WordPress Core." -msgstr "" -"BAHAYA! Reset akan mengembalikan pengaturan default dari WordPress Inti." - -#: ../includes/class-user-role-editor.php:903 -msgid "" -"If any plugins have changed capabilities in any way upon installation (such " -"as S2Member, WooCommerce, and many more), those capabilities will be DELETED!" -msgstr "" -"Jika ada plugin telah mengubah kemampuan dengan cara apapun atas instalasi " -"(seperti S2Member, WooCommerce, dan banyak lagi), kemampuan mereka akan " -"DIHAPUS!" - -#: ../includes/class-user-role-editor.php:904 -msgid "" -"For more information on how to undo changes and restore plugin capabilities " -"go to" -msgstr "" -"Untuk informasi lebih lanjut tentang cara membatalkan perubahan dan " -"mengembalikan kemampuan Plugin pergi ke" - -#: ../includes/class-user-role-editor.php:906 -msgid "Continue?" -msgstr "Lanjut?" - -#: ../includes/class-user-role-editor.php:907 -msgid "Default Role" -msgstr "Peran " - -#: ../includes/class-user-role-editor.php:908 -msgid "Set New Default Role" -msgstr "Atur Peran Baru Default" - -#: ../includes/class-user-role-editor.php:910 -msgid "" -"Warning! Be careful - removing critical capability could crash some plugin " -"or other custom code" -msgstr "" -"Peringatan! Hati-hati - menghapus kemampuan kritis dapat menyebabkan crash " -"beberapa Plugin atau kode kustom lainnya" - -#: ../includes/class-user-role-editor.php:911 -msgid " Capability name (ID) can not be empty!" -msgstr "Nama Kemampuan (ID) tidak boleh kosong!" - -#: ../includes/class-user-role-editor.php:912 -msgid "" -" Capability name (ID) must contain latin characters, digits, hyphens or " -"underscore only!" -msgstr "" -"Nama Kemampuan (ID) harus mengandung karakter latin, angka, kata penghubung " -"atau garis bawah saja!" - -#: ../includes/settings-template.php:17 -#, fuzzy -msgid "User Role Editor - Options" -msgstr "User Role Editor" - -#: ../includes/settings-template.php:39 -msgid "About" -msgstr "" - -#: ../includes/settings-template.php:90 ../includes/settings-template.php:126 -#: ../includes/settings-template.php:158 ../includes/settings-template.php:190 -msgid "Save" -msgstr "Simpan" - -#: ../includes/settings-template.php:138 -#, fuzzy -msgid "Primary default role: " -msgstr "Peran Utama:" - -#: ../includes/settings-template.php:145 -msgid "Other default roles for new registered user: " -msgstr "" - -#: ../includes/settings-template.php:151 -msgid "" -"Note for multisite environment: take into account that other default roles " -"should exist at the site, in order to be assigned to the new registered " -"users." -msgstr "" - -#: ../includes/settings-template.php:177 -msgid "Allow non super administrators to create, edit, and delete users" -msgstr "" - -#: ../includes/ure-user-edit.php:32 -msgid "Network Super Admin" -msgstr "Jaringan Super Admin" - -#: ../includes/ure-user-edit.php:35 -msgid "Change capabilities for user" -msgstr "Ubah kemampuan untuk pengguna" - -#: ../includes/ure-user-edit.php:72 -msgid "Primary Role:" -msgstr "Peran Utama:" - -#: ../includes/ure-user-edit.php:82 -msgid "bbPress Role:" -msgstr "Peran bbPress:" - -#: ../includes/ure-user-edit.php:92 -msgid "Other Roles:" -msgstr "Peran Lain:" - -#, fuzzy -#~ msgid "select roles below" -#~ msgstr "Batalkan Semua" - -#~ msgid "Overview" -#~ msgstr "Ikhtisar" - -#~ msgid "Allow create, edit and delete users to not super-admininstrators" -#~ msgstr "" -#~ "Izinkan membuat, menyunting dan menghapus pengguna untuk yang bukan super-" -#~ "administrator" - -#~ msgid "About this Plugin:" -#~ msgstr "Tentang Plugin ini:" diff --git a/wp-content/plugins/user-role-editor/lang/user-role-editor-it_IT.mo b/wp-content/plugins/user-role-editor/lang/user-role-editor-it_IT.mo deleted file mode 100644 index 005be73..0000000 Binary files a/wp-content/plugins/user-role-editor/lang/user-role-editor-it_IT.mo and /dev/null differ diff --git a/wp-content/plugins/user-role-editor/lang/user-role-editor-it_IT.po b/wp-content/plugins/user-role-editor/lang/user-role-editor-it_IT.po deleted file mode 100644 index c6b4f51..0000000 --- a/wp-content/plugins/user-role-editor/lang/user-role-editor-it_IT.po +++ /dev/null @@ -1,939 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: User Role Editor 4.18.3\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-11 21:06+0100\n" -"PO-Revision-Date: \n" -"Last-Translator: Vladimir Garagulya \n" -"Language-Team: L.E.O.X. \n" -"Language: it_IT\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Poedit-SourceCharset: UTF-8\n" -"X-Poedit-KeywordsList: __;_e;esc_html__;esc_html_e\n" -"X-Poedit-Basepath: .\n" -"X-Generator: Poedit 1.5.4\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Poedit-SearchPath-0: ..\n" - -#: ../includes/class-ure-lib.php:247 -msgid "Error: wrong request" -msgstr "Si è verificato il seguente errore: richiesta errata." - -#: ../includes/class-ure-lib.php:280 ../includes/class-ure-lib.php:291 -msgid "Role name (ID): " -msgstr "Nome Ruolo (ID):" - -#: ../includes/class-ure-lib.php:282 ../includes/class-ure-lib.php:293 -msgid "Display Role Name: " -msgstr "Mostra Nome Ruolo:" - -#: ../includes/class-ure-lib.php:284 -msgid "Make copy of: " -msgstr "Fai una copia di:" - -#: ../includes/class-ure-lib.php:300 -msgid "Select Role:" -msgstr "Seleziona Ruolo:" - -#: ../includes/class-ure-lib.php:315 -msgid "Delete:" -msgstr "Cancella:" - -#: ../includes/class-ure-lib.php:322 -msgid "Capability name (ID): " -msgstr "Nome privilegio (ID):" - -#: ../includes/class-ure-lib.php:339 -#: ../includes/class-user-role-editor.php:596 -#: ../includes/class-user-role-editor.php:625 -msgid "User Role Editor" -msgstr "User Role Editor" - -#: ../includes/class-ure-lib.php:436 -msgid "Error: " -msgstr "Si è verificato il seguente errore:" - -#: ../includes/class-ure-lib.php:436 -msgid "Role" -msgstr "Ruolo" - -#: ../includes/class-ure-lib.php:437 -msgid "does not exist" -msgstr "non esiste" - -#: ../includes/class-ure-lib.php:480 -msgid "Role is updated successfully" -msgstr "Ruolo aggiornato correttamente" - -#: ../includes/class-ure-lib.php:482 -msgid "Roles are updated for all network" -msgstr "I ruoli sono stati aggiornati per tutta la rete." - -#: ../includes/class-ure-lib.php:488 -msgid "Error occured during role(s) update" -msgstr "Errore durante l'aggiornamento del ruolo o dei ruoli." - -#: ../includes/class-ure-lib.php:495 -msgid "User capabilities are updated successfully" -msgstr "Privilegi utenti aggiornati correttamente." - -#: ../includes/class-ure-lib.php:500 -msgid "Error occured during user update" -msgstr "Errore di aggiornamento dell'utente." - -#: ../includes/class-ure-lib.php:558 -msgid "User Roles are restored to WordPress default values. " -msgstr "" -"I ruolo utente sono stati ripristinati ai valori predefiniti di WordPress." - -#: ../includes/class-ure-lib.php:1436 -msgid "read about" -msgstr "leggi su" - -#: ../includes/class-ure-lib.php:1437 -msgid "user capability" -msgstr "privilegi utente" - -#: ../includes/class-ure-lib.php:1438 -msgid "Help" -msgstr "Guida" - -#: ../includes/class-ure-lib.php:1693 ../includes/class-ure-lib.php:1946 -#: ../includes/class-ure-lib.php:2062 ../includes/class-ure-lib.php:2110 -#: ../includes/class-ure-lib.php:2358 ../includes/class-ure-lib.php:2403 -#: ../includes/class-user-role-editor.php:828 -msgid "Insufficient permissions to work with User Role Editor" -msgstr "Permessi non sufficienti per lavorare con User Role Editor." - -#: ../includes/class-ure-lib.php:1909 -msgid "Error is occur. Please check the log file." -msgstr "Si è verificato un errore. Controllare file di log." - -#: ../includes/class-ure-lib.php:1955 ../includes/class-ure-lib.php:2022 -msgid "" -"Error: Role ID must contain latin characters, digits, hyphens or underscore " -"only!" -msgstr "" -"Si è verificato il seguente errore: l'ID ruolo deve contenere solo caratteri " -"latini, numeri, trattini o uderscore." - -#: ../includes/class-ure-lib.php:1959 ../includes/class-ure-lib.php:2026 -msgid "" -"Error: WordPress does not support numeric Role name (ID). Add latin " -"characters to it." -msgstr "" -"Si è verificato il seguente errore: WordPress non supporta il nome ruolo " -"(ID) nel formato numerico. Aggiungere caratteri latini." - -#: ../includes/class-ure-lib.php:1974 -#, php-format -msgid "Role %s exists already" -msgstr "Il ruolo %s esiste già." - -#: ../includes/class-ure-lib.php:1989 -msgid "Error is encountered during new role create operation" -msgstr "Errore durante la creazione del nuovo ruolo." - -#: ../includes/class-ure-lib.php:1991 -#, php-format -msgid "Role %s is created successfully" -msgstr "Ruolo %s creato correttamente." - -#: ../includes/class-ure-lib.php:2015 -msgid "Error: Role ID is empty!" -msgstr "Si è verificato il seguente errore: l'ID ruolo è vuoto." - -#: ../includes/class-ure-lib.php:2033 -msgid "Error: Empty role display name is not allowed." -msgstr "" -"Si è verificato il seguente errore: non è ammesso che il nome del ruolo " -"visualizzato sia vuoto." - -#: ../includes/class-ure-lib.php:2040 -#, php-format -msgid "Role %s does not exists" -msgstr "Il ruolo %s non esiste." - -#: ../includes/class-ure-lib.php:2048 -#, php-format -msgid "Role %s is renamed to %s successfully" -msgstr "Ruolo %s rinominato in %s correttamente." - -#: ../includes/class-ure-lib.php:2121 -msgid "Error encountered during role delete operation" -msgstr "Errore durante la cancellazione del ruolo." - -#: ../includes/class-ure-lib.php:2123 -msgid "Unused roles are deleted successfully" -msgstr "I Ruoli inutilizzati sono stati cancellati." - -#: ../includes/class-ure-lib.php:2125 -#, php-format -msgid "Role %s is deleted successfully" -msgstr "Ruolo %s cancellato correttamente." - -#: ../includes/class-ure-lib.php:2153 -msgid "Error encountered during default role change operation" -msgstr "Errore durante la modifica del ruolo predefinito." - -#: ../includes/class-ure-lib.php:2156 -#, php-format -msgid "Default role for new users is set to %s successfully" -msgstr "" -"Il ruolo predefinito per i nuovi utenti è stato cambiato a %s correttamente." - -#: ../includes/class-ure-lib.php:2159 -#, fuzzy -msgid "Can not set Administrator role as a default one" -msgstr "Mostra il ruolo di amministratore in User Role Editor" - -#: ../includes/class-ure-lib.php:2161 -#, fuzzy -msgid "This role does not exist - " -msgstr "Il ruolo %s non esiste." - -#: ../includes/class-ure-lib.php:2177 -msgid "Editor" -msgstr "Editore" - -#: ../includes/class-ure-lib.php:2178 -msgid "Author" -msgstr "Autore" - -#: ../includes/class-ure-lib.php:2179 -msgid "Contributor" -msgstr "Collaboratore" - -#: ../includes/class-ure-lib.php:2180 -msgid "Subscriber" -msgstr "Sottoscrittore" - -#: ../includes/class-ure-lib.php:2182 -msgid "Switch themes" -msgstr "Cambia temi" - -#: ../includes/class-ure-lib.php:2183 -msgid "Edit themes" -msgstr "Modifica temi" - -#: ../includes/class-ure-lib.php:2184 -msgid "Activate plugins" -msgstr "Attiva plugins" - -#: ../includes/class-ure-lib.php:2185 -msgid "Edit plugins" -msgstr "Modifica plugins" - -#: ../includes/class-ure-lib.php:2186 -msgid "Edit users" -msgstr "Modifica utenti" - -#: ../includes/class-ure-lib.php:2187 -msgid "Edit files" -msgstr "Modifica files" - -#: ../includes/class-ure-lib.php:2188 -msgid "Manage options" -msgstr "Gestisci opzioni" - -#: ../includes/class-ure-lib.php:2189 -msgid "Moderate comments" -msgstr "Modera commenti" - -#: ../includes/class-ure-lib.php:2190 -msgid "Manage categories" -msgstr "Gestisci categorie" - -#: ../includes/class-ure-lib.php:2191 -msgid "Manage links" -msgstr "Gestisci links" - -#: ../includes/class-ure-lib.php:2192 -msgid "Upload files" -msgstr "Carica files" - -#: ../includes/class-ure-lib.php:2193 -msgid "Import" -msgstr "Importa" - -#: ../includes/class-ure-lib.php:2194 -msgid "Unfiltered html" -msgstr "Html non filtrato" - -#: ../includes/class-ure-lib.php:2195 -msgid "Edit posts" -msgstr "Modifica articoli" - -#: ../includes/class-ure-lib.php:2196 -msgid "Edit others posts" -msgstr "Modifica altri articoli" - -#: ../includes/class-ure-lib.php:2197 -msgid "Edit published posts" -msgstr "Modifica articoli pubblicati" - -#: ../includes/class-ure-lib.php:2198 -msgid "Publish posts" -msgstr "Pubblica articoli" - -#: ../includes/class-ure-lib.php:2199 -msgid "Edit pages" -msgstr "Modifica pagine" - -#: ../includes/class-ure-lib.php:2200 -msgid "Read" -msgstr "Leggi" - -#: ../includes/class-ure-lib.php:2201 -msgid "Level 10" -msgstr "Livello 10" - -#: ../includes/class-ure-lib.php:2202 -msgid "Level 9" -msgstr "Livello 9" - -#: ../includes/class-ure-lib.php:2203 -msgid "Level 8" -msgstr "Livello 8" - -#: ../includes/class-ure-lib.php:2204 -msgid "Level 7" -msgstr "Livello 7" - -#: ../includes/class-ure-lib.php:2205 -msgid "Level 6" -msgstr "Livello 6" - -#: ../includes/class-ure-lib.php:2206 -msgid "Level 5" -msgstr "Livello 5" - -#: ../includes/class-ure-lib.php:2207 -msgid "Level 4" -msgstr "Livello 4" - -#: ../includes/class-ure-lib.php:2208 -msgid "Level 3" -msgstr "Livello 3" - -#: ../includes/class-ure-lib.php:2209 -msgid "Level 2" -msgstr "Livello 2" - -#: ../includes/class-ure-lib.php:2210 -msgid "Level 1" -msgstr "Livello 1" - -#: ../includes/class-ure-lib.php:2211 -msgid "Level 0" -msgstr "Livello 0" - -#: ../includes/class-ure-lib.php:2212 -msgid "Edit others pages" -msgstr "Modifica altre pagine" - -#: ../includes/class-ure-lib.php:2213 -msgid "Edit published pages" -msgstr "Modifica pagine pubblicate" - -#: ../includes/class-ure-lib.php:2214 -msgid "Publish pages" -msgstr "Pubblica pagine" - -#: ../includes/class-ure-lib.php:2215 -msgid "Delete pages" -msgstr "Cancella pagine" - -#: ../includes/class-ure-lib.php:2216 -msgid "Delete others pages" -msgstr "Cancella altre pagine" - -#: ../includes/class-ure-lib.php:2217 -msgid "Delete published pages" -msgstr "Cancella pagine pubblicate" - -#: ../includes/class-ure-lib.php:2218 -msgid "Delete posts" -msgstr "Cancella articoli" - -#: ../includes/class-ure-lib.php:2219 -msgid "Delete others posts" -msgstr "Cancella altri articoli" - -#: ../includes/class-ure-lib.php:2220 -msgid "Delete published posts" -msgstr "Cancella articoli pubblicati" - -#: ../includes/class-ure-lib.php:2221 -msgid "Delete private posts" -msgstr "Cancella articoli privati" - -#: ../includes/class-ure-lib.php:2222 -msgid "Edit private posts" -msgstr "Modifica articoli privati" - -#: ../includes/class-ure-lib.php:2223 -msgid "Read private posts" -msgstr "Leggi articoli privati" - -#: ../includes/class-ure-lib.php:2224 -msgid "Delete private pages" -msgstr "Cancella pagine private" - -#: ../includes/class-ure-lib.php:2225 -msgid "Edit private pages" -msgstr "Modifica pagine private" - -#: ../includes/class-ure-lib.php:2226 -msgid "Read private pages" -msgstr "Legge pagine private" - -#: ../includes/class-ure-lib.php:2227 -msgid "Delete users" -msgstr "Cancella utenti" - -#: ../includes/class-ure-lib.php:2228 -msgid "Create users" -msgstr "Crea utenti" - -#: ../includes/class-ure-lib.php:2229 -msgid "Unfiltered upload" -msgstr "Uploads non filtrati" - -#: ../includes/class-ure-lib.php:2230 -msgid "Edit dashboard" -msgstr "Modifica dashboard" - -#: ../includes/class-ure-lib.php:2231 -msgid "Update plugins" -msgstr "Aggiorna plugins" - -#: ../includes/class-ure-lib.php:2232 -msgid "Delete plugins" -msgstr "Cancella plugins" - -#: ../includes/class-ure-lib.php:2233 -msgid "Install plugins" -msgstr "Installa plugins" - -#: ../includes/class-ure-lib.php:2234 -msgid "Update themes" -msgstr "Aggiorna temi" - -#: ../includes/class-ure-lib.php:2235 -msgid "Install themes" -msgstr "Installa temi" - -#: ../includes/class-ure-lib.php:2236 -msgid "Update core" -msgstr "Aggiorna core" - -#: ../includes/class-ure-lib.php:2237 -msgid "List users" -msgstr "Lista utenti" - -#: ../includes/class-ure-lib.php:2238 -msgid "Remove users" -msgstr "Rimuovi utenti" - -#: ../includes/class-ure-lib.php:2239 -msgid "Add users" -msgstr "Aggiungi utenti" - -#: ../includes/class-ure-lib.php:2240 -msgid "Promote users" -msgstr "Promuovi utenti" - -#: ../includes/class-ure-lib.php:2241 -msgid "Edit theme options" -msgstr "Modifica opzioni tema" - -#: ../includes/class-ure-lib.php:2242 -msgid "Delete themes" -msgstr "Cancella temi" - -#: ../includes/class-ure-lib.php:2243 -msgid "Export" -msgstr "Esporta" - -#: ../includes/class-ure-lib.php:2366 -msgid "Error: Capability name must contain latin characters and digits only!" -msgstr "" -"Si è verificato il seguente errore: il nome del privilegio deve contenere " -"solo caratteri latini o numeri." - -#: ../includes/class-ure-lib.php:2379 -#, php-format -msgid "Capability %s is added successfully" -msgstr "Privilegio %s aggiunto correttamente." - -#: ../includes/class-ure-lib.php:2381 -#, php-format -msgid "Capability %s exists already" -msgstr "Privilegio %s già esistente." - -#: ../includes/class-ure-lib.php:2410 -#, php-format -msgid "Error! You do not have permission to delete this capability: %s!" -msgstr "" -"Si è verificato il seguente errore: non hai permessi per cancellare il " -"privilegio %s." - -#: ../includes/class-ure-lib.php:2429 -#, fuzzy, php-format -msgid "Capability %s was removed successfully" -msgstr "Privilegio %s rimosso correttamente." - -#: ../includes/class-ure-lib.php:2497 -msgid "Version:" -msgstr "Versione:" - -#: ../includes/class-ure-lib.php:2498 -msgid "Author's website" -msgstr "Sito web dell'autore" - -#: ../includes/class-ure-lib.php:2499 -msgid "Plugin webpage" -msgstr "Pagina web del plugin" - -#: ../includes/class-ure-lib.php:2500 -msgid "Plugin download" -msgstr "Scarica il plugin" - -#: ../includes/class-ure-lib.php:2501 -#: ../includes/class-user-role-editor.php:546 -msgid "Changelog" -msgstr "Elenco delle modifiche (changelog)" - -#: ../includes/class-ure-lib.php:2502 -msgid "FAQ" -msgstr "Domande e risposte frequenti (FAQ)" - -#: ../includes/class-ure-lib.php:2575 -msgid "Delete All Unused Roles" -msgstr "Cancella tutti i ruoli inutilizzati" - -#: ../includes/class-ure-lib.php:2588 -msgid "None" -msgstr "Nessuno" - -#: ../includes/class-ure-lib.php:2632 -msgid "— No role for this site —" -msgstr "— Nessun ruolo per questo sito —" - -#: ../includes/class-ure-lib.php:2747 -#, php-format -msgid "Denied: %s" -msgstr "" - -#: ../includes/ure-role-edit.php:17 -msgid "Select Role and change its capabilities:" -msgstr "Seleziona il ruolo e modifica i suoi privilegi:" - -#: ../includes/ure-role-edit.php:30 ../includes/ure-user-edit.php:54 -msgid "Show capabilities in human readable form" -msgstr "Mostra i privilegi in forma comprensibile" - -#: ../includes/ure-role-edit.php:40 ../includes/class-ure-screen-help.php:21 -#: ../includes/settings-template.php:69 ../includes/ure-user-edit.php:64 -msgid "Show deprecated capabilities" -msgstr "Mostra i privilegi sconsigliati (deprecati)" - -#: ../includes/ure-role-edit.php:44 -msgid "If checked, then apply action to ALL sites of this Network" -msgstr "Se selezionato, applica l'azione a tuti i siti di questa rete." - -#: ../includes/ure-role-edit.php:56 -msgid "Apply to All Sites" -msgstr "Applica a tutti i siti" - -#: ../includes/ure-role-edit.php:63 ../includes/ure-user-edit.php:110 -msgid "Core capabilities:" -msgstr "Privilegi del core:" - -#: ../includes/ure-role-edit.php:65 ../includes/ure-user-edit.php:112 -msgid "Quick filter:" -msgstr "Filtro veloce:" - -#: ../includes/ure-role-edit.php:83 ../includes/ure-user-edit.php:131 -msgid "Custom capabilities:" -msgstr "Privilegi personalizzati:" - -#: ../includes/class-user-other-roles.php:82 -#: ../includes/class-user-other-roles.php:183 -#: ../includes/class-user-other-roles.php:243 -msgid "Other Roles" -msgstr "Altri ruoli" - -#: ../includes/class-user-other-roles.php:83 -msgid "Select additional roles for this user" -msgstr "" - -#: ../includes/class-user-other-roles.php:162 -#: ../includes/class-user-role-editor.php:438 -msgid "Capabilities" -msgstr "Privilegi" - -#: ../includes/class-user-other-roles.php:169 -msgid "Edit" -msgstr "Modifica" - -#: ../includes/class-user-other-roles.php:215 -#, fuzzy -msgid "Additional Capabilities" -msgstr "Aggiungi privilegio" - -#: ../includes/class-ure-screen-help.php:12 -#: ../includes/class-ure-screen-help.php:41 -#: ../includes/class-ure-screen-help.php:60 -#: ../includes/class-ure-screen-help.php:79 -msgid "User Role Editor Options page help" -msgstr "Guida sulla pagina opzioni User Role Editor" - -#: ../includes/class-ure-screen-help.php:15 -#: ../includes/settings-template.php:53 -msgid "Show Administrator role at User Role Editor" -msgstr "Mostra il ruolo di amministratore in User Role Editor" - -#: ../includes/class-ure-screen-help.php:16 -msgid "" -"turn this option on in order to make the \"Administrator\" role available at " -"the User Role Editor roles selection drop-down list. It is hidden by default " -"for security reasons." -msgstr "" -"selezionare questa opzione per rendere il ruolo di \"amministratore\" " -"disponibile nel menù a tendina di User Role Editor. Per impostazione " -"predefinita è nascosto, per ragioni di sicurezza." - -#: ../includes/class-ure-screen-help.php:18 -#: ../includes/settings-template.php:61 -msgid "Show capabilities in the human readable form" -msgstr "Mostra i privilegi in forma comprensibile" - -#: ../includes/class-ure-screen-help.php:19 -msgid "" -"automatically converts capability names from the technical form for internal " -"use like \"edit_others_posts\" to more user friendly form, e.g. \"Edit " -"others posts\"." -msgstr "" -"converte automaticamente i nomi dei privilegi dalla forma tecnica per uso " -"interno, tipo \"edit_others_posts\", in una forma più comprensibile, tipo " -"\"Modifica altri articoli\"." - -#: ../includes/class-ure-screen-help.php:22 -msgid "" -"Capabilities like \"level_0\", \"level_1\" are deprecated and are not used " -"by WordPress. They are left at the user roles for the compatibility purpose " -"with the old themes and plugins code. Turning on this option will show those " -"deprecated capabilities." -msgstr "" -"Privilegi tipo \"level_0\" sono sconsigliati e non più utilizzati da " -"WordPress. Sono stati mantenuti nei ruoli utente per scopi di compatibilità " -"con i vecchi temi e plugin. Selezionando questa opzione, questi privilegi " -"saranno comunque visualizzati." - -#: ../includes/class-ure-screen-help.php:25 -#: ../includes/settings-template.php:77 -msgid "Edit user capabilities" -msgstr "Modifica privilegi utente" - -#: ../includes/class-ure-screen-help.php:26 -msgid "" -"If turned off - capabilities section of selected user is shown in readonly " -"mode. Administrator can not assign capabilities to the user directly. He " -"should make it using roles only." -msgstr "" -"Deselezionando questa opzione la sezione privilegi dell'utente selezionato " -"sarà visualizzata in sola lettura. L'amministratore non potrà assegnare " -"privilegi direttamente all'utente. Dovrebbe farlo utilizzando solo i ruoli." - -#: ../includes/class-ure-screen-help.php:45 -#: ../includes/settings-template.php:111 -msgid "Count users without role" -msgstr "Conta utenti senza ruolo" - -#: ../includes/class-ure-screen-help.php:46 -msgid "" -"Show at the \"Users\" page a quant of users without role. Module allows to " -"assign all of them an empty role \"No rights\", in order to look on the " -"users list with role \"No rights\" at the separate tab then." -msgstr "" -"Mostra nella pagina \"Utenti\" la lista di utenti senza ruolo. Il modulo " -"consente di assegnargli un ruolo vuoto \"Nessun privilegio\", al fine di " -"vedere nella lista gli utenti con ruolo \"Nessun privilegio\" in una scheda " -"separata." - -#: ../includes/class-ure-screen-help.php:63 -msgid "Other default roles for new registered user" -msgstr "Altri ruoli predefiniti per i nuovi utenti registrati" - -#: ../includes/class-ure-screen-help.php:64 -msgid "" -"select roles below to assign them to the new user automatically as an " -"addition to the primary role. Note for multisite environment: take into " -"account that other default roles should exist at the site, in order to be " -"assigned to the new registered users." -msgstr "" -"seleziona i ruoli di seguito per assegnarli automaticamente al nuovo utente " -"in aggiunta al ruolo primario. Nota per l'ambiente multisito: gli altri " -"ruoli predefiniti devono esistere sul sito per poter essere assegnati ai " -"nuovi utenti registrati." - -#: ../includes/class-ure-screen-help.php:82 -msgid "Allow non super-admininstrators to create, edit and delete users" -msgstr "" -"Permetti a chi non è super amministratore di creare, modificare e cancellare " -"utenti." - -#: ../includes/class-ure-screen-help.php:83 -msgid "" -"Super administrator only may create, edit and delete users under WordPress " -"multi-site by default. Turn this option on in order to remove this " -"limitation." -msgstr "" -"Per impostazione predefinita solo il super amministratore può creare, " -"modificare e cancellare gli utenti in ambiente multisito di WordPress . " -"Selezionare questa opzione per rimuovere questa limitazione." - -#: ../includes/class-user-role-editor.php:233 -msgid "Change role for users without role" -msgstr "Cambia ruolo degli utenti senza nessun ruolo" - -#: ../includes/class-user-role-editor.php:234 -msgid "No rights" -msgstr "Nessun privilegio" - -#: ../includes/class-user-role-editor.php:235 -msgid "Provide new role" -msgstr "Assegna un nuovo ruolo" - -#: ../includes/class-user-role-editor.php:298 -#: ../includes/class-user-role-editor.php:300 -msgid "You do not have permission to edit this user." -msgstr "Non hai i permessi per modificare questo utente." - -#: ../includes/class-user-role-editor.php:535 -msgid "Settings" -msgstr "Impostazioni" - -#: ../includes/class-user-role-editor.php:568 -#: ../includes/settings-template.php:21 -msgid "General" -msgstr "Generali" - -#: ../includes/class-user-role-editor.php:574 -#: ../includes/settings-template.php:26 -msgid "Additional Modules" -msgstr "Moduli addizionali" - -#: ../includes/class-user-role-editor.php:580 -#: ../includes/settings-template.php:30 -msgid "Default Roles" -msgstr "Ruoli predefiniti" - -#: ../includes/class-user-role-editor.php:586 -#: ../includes/settings-template.php:34 -msgid "Multisite" -msgstr "Multisito" - -#: ../includes/class-user-role-editor.php:685 -#: ../includes/class-user-role-editor.php:703 -#: ../includes/class-user-role-editor.php:747 -msgid "User Role Editor options are updated" -msgstr "Le opzioni di User Role Editor sono state aggiornate correttamente." - -#: ../includes/class-user-role-editor.php:731 -msgid "Default Roles are updated" -msgstr "I ruoli predefiniti sono stai aggiornati correttamente." - -#: ../includes/class-user-role-editor.php:756 -msgid "" -"You do not have sufficient permissions to manage options for User Role " -"Editor." -msgstr "" -"Non hai permessi sufficienti per gestire le opzioni di User Role Editor." - -#: ../includes/class-user-role-editor.php:885 -msgid "Select All" -msgstr "Seleziona tutti" - -#: ../includes/class-user-role-editor.php:886 -msgid "Unselect All" -msgstr "Deseleziona tutti" - -#: ../includes/class-user-role-editor.php:887 -msgid "Reverse" -msgstr "Revoca" - -#: ../includes/class-user-role-editor.php:888 -msgid "Update" -msgstr "Aggiorna" - -#: ../includes/class-user-role-editor.php:889 -msgid "Please confirm permissions update" -msgstr "Conferma l'aggiornamento dei permessi" - -#: ../includes/class-user-role-editor.php:890 -msgid "Add New Role" -msgstr "Aggiungi un nuovo ruolo" - -#: ../includes/class-user-role-editor.php:891 -#: ../includes/class-user-role-editor.php:896 -msgid "Rename Role" -msgstr "Rinomina ruolo" - -#: ../includes/class-user-role-editor.php:892 -msgid " Role name (ID) can not be empty!" -msgstr "Nome Ruolo (ID) non può essere vuoto." - -#: ../includes/class-user-role-editor.php:893 -msgid "" -" Role name (ID) must contain latin characters, digits, hyphens or underscore " -"only!" -msgstr "" -"Il nome Ruolo (ID) deve contenere solo caratteri latini, numeri, trattini o " -"underscore." - -#: ../includes/class-user-role-editor.php:894 -msgid "" -" WordPress does not support numeric Role name (ID). Add latin characters to " -"it." -msgstr "" -"Wordpress non supporta il nome Ruolo (ID) nel formaro numerico. Inserisci " -"caratteri latini." - -#: ../includes/class-user-role-editor.php:895 -msgid "Add Role" -msgstr "Aggiungi ruolo" - -#: ../includes/class-user-role-editor.php:897 -msgid "Delete Role" -msgstr "Cancella Ruolo" - -#: ../includes/class-user-role-editor.php:898 -msgid "Cancel" -msgstr "Cancella" - -#: ../includes/class-user-role-editor.php:899 -msgid "Add Capability" -msgstr "Aggiungi privilegio" - -#: ../includes/class-user-role-editor.php:900 -#: ../includes/class-user-role-editor.php:909 -msgid "Delete Capability" -msgstr "Cancella privilegio" - -#: ../includes/class-user-role-editor.php:901 -msgid "Reset" -msgstr "Reimposta" - -#: ../includes/class-user-role-editor.php:902 -msgid "DANGER! Resetting will restore default settings from WordPress Core." -msgstr "ATTENZIONE: Reimposta i privilegi predefiniti dal core di WordPress." - -#: ../includes/class-user-role-editor.php:903 -msgid "" -"If any plugins have changed capabilities in any way upon installation (such " -"as S2Member, WooCommerce, and many more), those capabilities will be DELETED!" -msgstr "" -"Se qualche plugin ha cambiato i privilegi in qualche modo dopo " -"l'installazione (tipo S2Members, WooCommerce, etc...), questi privilegi " -"saranno cancellati." - -#: ../includes/class-user-role-editor.php:904 -msgid "" -"For more information on how to undo changes and restore plugin capabilities " -"go to" -msgstr "" -"Per altre informazioni su come tornare indietro con le modifiche e " -"ripristinare le funzionalità del plugin vai a" - -#: ../includes/class-user-role-editor.php:906 -msgid "Continue?" -msgstr "Continuare?" - -#: ../includes/class-user-role-editor.php:907 -msgid "Default Role" -msgstr "Ruolo predefinito" - -#: ../includes/class-user-role-editor.php:908 -msgid "Set New Default Role" -msgstr "Imposta un nuovo ruolo predefinito" - -#: ../includes/class-user-role-editor.php:910 -msgid "" -"Warning! Be careful - removing critical capability could crash some plugin " -"or other custom code" -msgstr "" -"Attenzione! rimuovendo i privilegi è possibile che malfunzioni il plugin o " -"altro codice personalizzato." - -#: ../includes/class-user-role-editor.php:911 -msgid " Capability name (ID) can not be empty!" -msgstr "Nome privilegio (ID) non può essere vuoto!" - -#: ../includes/class-user-role-editor.php:912 -msgid "" -" Capability name (ID) must contain latin characters, digits, hyphens or " -"underscore only!" -msgstr "" -"Il nome privilegio (ID) deve contenere solo caratteri latini, numeri, " -"trattini o underscore." - -#: ../includes/settings-template.php:17 -msgid "User Role Editor - Options" -msgstr "User Role Editor - Opzioni" - -#: ../includes/settings-template.php:39 -msgid "About" -msgstr "Info" - -#: ../includes/settings-template.php:90 ../includes/settings-template.php:126 -#: ../includes/settings-template.php:158 ../includes/settings-template.php:190 -msgid "Save" -msgstr "Salva" - -#: ../includes/settings-template.php:138 -msgid "Primary default role: " -msgstr "Ruolo primario predefinito:" - -#: ../includes/settings-template.php:145 -msgid "Other default roles for new registered user: " -msgstr "Altri ruoli predefiniti disponibili per i nuovi utenti registrati:" - -#: ../includes/settings-template.php:151 -msgid "" -"Note for multisite environment: take into account that other default roles " -"should exist at the site, in order to be assigned to the new registered " -"users." -msgstr "" -"Nota per l'ambiente multisito: altri ruoli predefiniti devono esistere nel " -"sito, per poter essere assegnati ai nuovi utenti registrati." - -#: ../includes/settings-template.php:177 -msgid "Allow non super administrators to create, edit, and delete users" -msgstr "" -"Permette ad un utente non amministratore di creare, modificare e cancellare " -"utenti." - -#: ../includes/ure-user-edit.php:32 -msgid "Network Super Admin" -msgstr "Super Admin Network" - -#: ../includes/ure-user-edit.php:35 -msgid "Change capabilities for user" -msgstr "Cambia privilegi per l'utente" - -#: ../includes/ure-user-edit.php:72 -msgid "Primary Role:" -msgstr "Ruolo primario:" - -#: ../includes/ure-user-edit.php:82 -msgid "bbPress Role:" -msgstr "Ruolo bbPress:" - -#: ../includes/ure-user-edit.php:92 -msgid "Other Roles:" -msgstr "Altri Ruoli:" diff --git a/wp-content/plugins/user-role-editor/lang/user-role-editor-nl_NL.mo b/wp-content/plugins/user-role-editor/lang/user-role-editor-nl_NL.mo deleted file mode 100644 index ae3185a..0000000 Binary files a/wp-content/plugins/user-role-editor/lang/user-role-editor-nl_NL.mo and /dev/null differ diff --git a/wp-content/plugins/user-role-editor/lang/user-role-editor-nl_NL.po b/wp-content/plugins/user-role-editor/lang/user-role-editor-nl_NL.po deleted file mode 100644 index 8cfb8ef..0000000 --- a/wp-content/plugins/user-role-editor/lang/user-role-editor-nl_NL.po +++ /dev/null @@ -1,938 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: User Role Editor 2.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-11 21:06+0100\n" -"PO-Revision-Date: 2015-09-11 21:16+0100\n" -"Last-Translator: Vladimir Garagulya \n" -"Language-Team: ShinePHP.com \n" -"Language: Dutch\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Poedit-SourceCharset: UTF-8\n" -"X-Poedit-KeywordsList: _:1;gettext:1;dgettext:2;ngettext:1,2;dngettext:2,3;" -"__:1;_e:1;_c:1;_n:1,2;_n_noop:1,2;_nc:1,2;__ngettext:1,2;__ngettext_noop:1,2;" -"_x:1,2c;_ex:1,2c;_nx:1,2,4c;_nx_noop:1,2,3c;_n_js:1,2;_nx_js:1,2,3c;" -"esc_attr__:1;esc_html__:1;esc_attr_e:1;esc_html_e:1;esc_attr_x:1,2c;" -"esc_html_x:1,2c;comments_number_link:2,3;t:1;st:1;trans:1;transChoice:1,2\n" -"X-Poedit-Basepath: .\n" -"X-Generator: Poedit 1.5.4\n" -"X-Loco-Target-Locale: nl_NL\n" -"X-Poedit-SearchPath-0: ..\n" - -#: ../includes/class-ure-lib.php:247 -msgid "Error: wrong request" -msgstr "Fout: verkeerde aanvraag" - -#: ../includes/class-ure-lib.php:280 ../includes/class-ure-lib.php:291 -msgid "Role name (ID): " -msgstr "Naam Rol (ID):" - -#: ../includes/class-ure-lib.php:282 ../includes/class-ure-lib.php:293 -msgid "Display Role Name: " -msgstr "Maak de Naam van de Rol zichtbaar:" - -#: ../includes/class-ure-lib.php:284 -msgid "Make copy of: " -msgstr "Maak een kopie van:" - -#: ../includes/class-ure-lib.php:300 -msgid "Select Role:" -msgstr "Selecteer een Rol:" - -#: ../includes/class-ure-lib.php:315 -msgid "Delete:" -msgstr "Verwijder:" - -#: ../includes/class-ure-lib.php:322 -msgid "Capability name (ID): " -msgstr "Naam recht (ID):" - -#: ../includes/class-ure-lib.php:339 -#: ../includes/class-user-role-editor.php:596 -#: ../includes/class-user-role-editor.php:625 -msgid "User Role Editor" -msgstr "User Rol Editor" - -#: ../includes/class-ure-lib.php:436 -msgid "Error: " -msgstr "Fout:" - -#: ../includes/class-ure-lib.php:436 -msgid "Role" -msgstr "Rol" - -#: ../includes/class-ure-lib.php:437 -msgid "does not exist" -msgstr "Bestaat niet" - -#: ../includes/class-ure-lib.php:480 -msgid "Role is updated successfully" -msgstr "Rol is succesvol ge-update" - -#: ../includes/class-ure-lib.php:482 -msgid "Roles are updated for all network" -msgstr "Rollen van het gehele netwerk zijn ge-update" - -#: ../includes/class-ure-lib.php:488 -msgid "Error occured during role(s) update" -msgstr "Er is een fout opgetreden tijdens het updaten van de rol(len)" - -#: ../includes/class-ure-lib.php:495 -msgid "User capabilities are updated successfully" -msgstr "Rechten van de gebruiker zijn succesvol geupdate" - -#: ../includes/class-ure-lib.php:500 -msgid "Error occured during user update" -msgstr "Er is een fout opgetreden tijdens het updaten van de gebruiker" - -#: ../includes/class-ure-lib.php:558 -msgid "User Roles are restored to WordPress default values. " -msgstr "Gebruikers rollen worden hersteld naar WordPress standaardwaarden." - -#: ../includes/class-ure-lib.php:1436 -msgid "read about" -msgstr "Lees over" - -#: ../includes/class-ure-lib.php:1437 -msgid "user capability" -msgstr "Gebruikers rechten" - -#: ../includes/class-ure-lib.php:1438 -msgid "Help" -msgstr "Help" - -#: ../includes/class-ure-lib.php:1693 ../includes/class-ure-lib.php:1946 -#: ../includes/class-ure-lib.php:2062 ../includes/class-ure-lib.php:2110 -#: ../includes/class-ure-lib.php:2358 ../includes/class-ure-lib.php:2403 -#: ../includes/class-user-role-editor.php:828 -msgid "Insufficient permissions to work with User Role Editor" -msgstr "Onvoldoende rechten om te werken met User Role Editor" - -#: ../includes/class-ure-lib.php:1909 -msgid "Error is occur. Please check the log file." -msgstr "Er heeft zich een fout voorgedaan. Controleer het log bestand." - -#: ../includes/class-ure-lib.php:1955 ../includes/class-ure-lib.php:2022 -msgid "" -"Error: Role ID must contain latin characters, digits, hyphens or underscore " -"only!" -msgstr "" -"Fout: Een Rol (ID) moet Latijnse letters, cijfers, koppeltekens of " -"underscores bevatten!" - -#: ../includes/class-ure-lib.php:1959 ../includes/class-ure-lib.php:2026 -msgid "" -"Error: WordPress does not support numeric Role name (ID). Add latin " -"characters to it." -msgstr "" -"Fout: WordPress ondersteund geen numerieke Rol naam (ID). Voeg er latijnse " -"tekens aan toe." - -#: ../includes/class-ure-lib.php:1974 -#, php-format -msgid "Role %s exists already" -msgstr "Deze Rol %s bestaat al" - -#: ../includes/class-ure-lib.php:1989 -msgid "Error is encountered during new role create operation" -msgstr "Er is een fout opgetreden tijdens het creëren van een nieuwe rol" - -#: ../includes/class-ure-lib.php:1991 -#, php-format -msgid "Role %s is created successfully" -msgstr "De Rol %s werd succesvol gecreërd" - -#: ../includes/class-ure-lib.php:2015 -msgid "Error: Role ID is empty!" -msgstr "Fout: Rol ID is niet gevuld!" - -#: ../includes/class-ure-lib.php:2033 -msgid "Error: Empty role display name is not allowed." -msgstr "Fout: De weergave van een lege naam van een rol is niet toegestaan." - -#: ../includes/class-ure-lib.php:2040 -#, php-format -msgid "Role %s does not exists" -msgstr "Rol %s bestaat niet" - -#: ../includes/class-ure-lib.php:2048 -#, php-format -msgid "Role %s is renamed to %s successfully" -msgstr "Rol %s is succesvol vernoemd naar %s" - -#: ../includes/class-ure-lib.php:2121 -msgid "Error encountered during role delete operation" -msgstr "Er is een fout opgetreden bij het vewijderen van de rol" - -#: ../includes/class-ure-lib.php:2123 -msgid "Unused roles are deleted successfully" -msgstr "Ongebruikte rollen zijn succesvol verwijderd" - -#: ../includes/class-ure-lib.php:2125 -#, php-format -msgid "Role %s is deleted successfully" -msgstr "Rol %s succesvol verwijderd" - -#: ../includes/class-ure-lib.php:2153 -msgid "Error encountered during default role change operation" -msgstr "Er is een fout opgetreden tijdens het wijzigen van de standaard rol" - -#: ../includes/class-ure-lib.php:2156 -#, php-format -msgid "Default role for new users is set to %s successfully" -msgstr "De standaard rol voor nieuwe gebruikers is met succes ingesteld op %s" - -#: ../includes/class-ure-lib.php:2159 -#, fuzzy -msgid "Can not set Administrator role as a default one" -msgstr "Toon Beheerders Rol in de Gebruikers Rol Editor" - -#: ../includes/class-ure-lib.php:2161 -#, fuzzy -msgid "This role does not exist - " -msgstr "Rol %s bestaat niet" - -#: ../includes/class-ure-lib.php:2177 -msgid "Editor" -msgstr "Redacteur" - -#: ../includes/class-ure-lib.php:2178 -msgid "Author" -msgstr "Editor" - -#: ../includes/class-ure-lib.php:2179 -msgid "Contributor" -msgstr "Inzender" - -#: ../includes/class-ure-lib.php:2180 -msgid "Subscriber" -msgstr "Abonnee" - -#: ../includes/class-ure-lib.php:2182 -msgid "Switch themes" -msgstr "Van thema wisselen" - -#: ../includes/class-ure-lib.php:2183 -msgid "Edit themes" -msgstr "Thema's bewerken" - -#: ../includes/class-ure-lib.php:2184 -msgid "Activate plugins" -msgstr "Plugins activeren" - -#: ../includes/class-ure-lib.php:2185 -msgid "Edit plugins" -msgstr "Plugins bewerken" - -#: ../includes/class-ure-lib.php:2186 -msgid "Edit users" -msgstr "Gebruikers bewerken" - -#: ../includes/class-ure-lib.php:2187 -msgid "Edit files" -msgstr "Bestanden bewerken" - -#: ../includes/class-ure-lib.php:2188 -msgid "Manage options" -msgstr "Opties beheren" - -#: ../includes/class-ure-lib.php:2189 -msgid "Moderate comments" -msgstr "Reacties beheren" - -#: ../includes/class-ure-lib.php:2190 -msgid "Manage categories" -msgstr "Categorieën beheren" - -#: ../includes/class-ure-lib.php:2191 -msgid "Manage links" -msgstr "Links beheren" - -#: ../includes/class-ure-lib.php:2192 -msgid "Upload files" -msgstr "Bestanden uploaden" - -#: ../includes/class-ure-lib.php:2193 -msgid "Import" -msgstr "Importeren" - -#: ../includes/class-ure-lib.php:2194 -msgid "Unfiltered html" -msgstr "Ongefilterd html" - -#: ../includes/class-ure-lib.php:2195 -msgid "Edit posts" -msgstr "Berichten bewerken" - -#: ../includes/class-ure-lib.php:2196 -msgid "Edit others posts" -msgstr "Berichten van anderen bewerken" - -#: ../includes/class-ure-lib.php:2197 -msgid "Edit published posts" -msgstr "Gepubliceerde berichten bewerken" - -#: ../includes/class-ure-lib.php:2198 -msgid "Publish posts" -msgstr "Berichten publiceren" - -#: ../includes/class-ure-lib.php:2199 -msgid "Edit pages" -msgstr "Pagina's bewerken" - -#: ../includes/class-ure-lib.php:2200 -msgid "Read" -msgstr "Lezen" - -#: ../includes/class-ure-lib.php:2201 -msgid "Level 10" -msgstr "Level 10" - -#: ../includes/class-ure-lib.php:2202 -msgid "Level 9" -msgstr "Level 9" - -#: ../includes/class-ure-lib.php:2203 -msgid "Level 8" -msgstr "Level 8" - -#: ../includes/class-ure-lib.php:2204 -msgid "Level 7" -msgstr "Level 7" - -#: ../includes/class-ure-lib.php:2205 -msgid "Level 6" -msgstr "Level 6" - -#: ../includes/class-ure-lib.php:2206 -msgid "Level 5" -msgstr "Level 5" - -#: ../includes/class-ure-lib.php:2207 -msgid "Level 4" -msgstr "Level 4" - -#: ../includes/class-ure-lib.php:2208 -msgid "Level 3" -msgstr "Level 3" - -#: ../includes/class-ure-lib.php:2209 -msgid "Level 2" -msgstr "Level 2" - -#: ../includes/class-ure-lib.php:2210 -msgid "Level 1" -msgstr "Level 1" - -#: ../includes/class-ure-lib.php:2211 -msgid "Level 0" -msgstr "Level 0" - -#: ../includes/class-ure-lib.php:2212 -msgid "Edit others pages" -msgstr "Pagina's van anderen bewerken" - -#: ../includes/class-ure-lib.php:2213 -msgid "Edit published pages" -msgstr "Gepubliceerde pagina's bewerken" - -#: ../includes/class-ure-lib.php:2214 -msgid "Publish pages" -msgstr "Pagina's publiceren" - -#: ../includes/class-ure-lib.php:2215 -msgid "Delete pages" -msgstr "Pagina's verwijderen" - -#: ../includes/class-ure-lib.php:2216 -msgid "Delete others pages" -msgstr "Pagina's verwijderen van anderen" - -#: ../includes/class-ure-lib.php:2217 -msgid "Delete published pages" -msgstr "Gepubliceerde pagina's verwijderen" - -#: ../includes/class-ure-lib.php:2218 -msgid "Delete posts" -msgstr "Berichten verwijderen" - -#: ../includes/class-ure-lib.php:2219 -msgid "Delete others posts" -msgstr "Verwijder berichten van anderen" - -#: ../includes/class-ure-lib.php:2220 -msgid "Delete published posts" -msgstr "Gepubliceerde berichten verwijderen" - -#: ../includes/class-ure-lib.php:2221 -msgid "Delete private posts" -msgstr "Privé berichten verwijderen" - -#: ../includes/class-ure-lib.php:2222 -msgid "Edit private posts" -msgstr "Privé berichten bewerken" - -#: ../includes/class-ure-lib.php:2223 -msgid "Read private posts" -msgstr "Privé berichten lezen" - -#: ../includes/class-ure-lib.php:2224 -msgid "Delete private pages" -msgstr "Privé berichten verwijderen" - -#: ../includes/class-ure-lib.php:2225 -msgid "Edit private pages" -msgstr "Privé pagina's bewerken" - -#: ../includes/class-ure-lib.php:2226 -msgid "Read private pages" -msgstr "Privé pagina's lezen" - -#: ../includes/class-ure-lib.php:2227 -msgid "Delete users" -msgstr "Gebruikers verwijderen" - -#: ../includes/class-ure-lib.php:2228 -msgid "Create users" -msgstr "Maak gebruikers aan" - -#: ../includes/class-ure-lib.php:2229 -msgid "Unfiltered upload" -msgstr "Ongefilterd uploaden" - -#: ../includes/class-ure-lib.php:2230 -msgid "Edit dashboard" -msgstr "Bewerk het dashboard" - -#: ../includes/class-ure-lib.php:2231 -msgid "Update plugins" -msgstr "Plugins updaten" - -#: ../includes/class-ure-lib.php:2232 -msgid "Delete plugins" -msgstr "Plugins verwijderen" - -#: ../includes/class-ure-lib.php:2233 -msgid "Install plugins" -msgstr "Plugins installeren" - -#: ../includes/class-ure-lib.php:2234 -msgid "Update themes" -msgstr "Thema's updaten" - -#: ../includes/class-ure-lib.php:2235 -msgid "Install themes" -msgstr "Thema's installeren" - -#: ../includes/class-ure-lib.php:2236 -msgid "Update core" -msgstr "Core updaten" - -#: ../includes/class-ure-lib.php:2237 -msgid "List users" -msgstr "Lijst van gebruikers aanmaken" - -#: ../includes/class-ure-lib.php:2238 -msgid "Remove users" -msgstr "Gebruikers verwijderen" - -#: ../includes/class-ure-lib.php:2239 -msgid "Add users" -msgstr "Gebruikers toevoegen" - -#: ../includes/class-ure-lib.php:2240 -msgid "Promote users" -msgstr "Gebruikers bevorderen" - -#: ../includes/class-ure-lib.php:2241 -msgid "Edit theme options" -msgstr "Thema opties bewerken" - -#: ../includes/class-ure-lib.php:2242 -msgid "Delete themes" -msgstr "Thema's verwijderen" - -#: ../includes/class-ure-lib.php:2243 -msgid "Export" -msgstr "Exporteren" - -#: ../includes/class-ure-lib.php:2366 -msgid "Error: Capability name must contain latin characters and digits only!" -msgstr "" -"Fout: De naam van een recht mag alleen latijnse letters en cijfers bevatten!" - -#: ../includes/class-ure-lib.php:2379 -#, php-format -msgid "Capability %s is added successfully" -msgstr "Recht %s is succesvol toegevoegd" - -#: ../includes/class-ure-lib.php:2381 -#, php-format -msgid "Capability %s exists already" -msgstr "Recht %s bestaat al" - -#: ../includes/class-ure-lib.php:2410 -#, php-format -msgid "Error! You do not have permission to delete this capability: %s!" -msgstr "Fout! U heeft geen toestemming om dit recht te verwijderen: % s!" - -#: ../includes/class-ure-lib.php:2429 -#, fuzzy, php-format -msgid "Capability %s was removed successfully" -msgstr "Recht %s is succesvol verwijderd" - -#: ../includes/class-ure-lib.php:2497 -msgid "Version:" -msgstr "Versie:" - -#: ../includes/class-ure-lib.php:2498 -msgid "Author's website" -msgstr "Website van de auteur" - -#: ../includes/class-ure-lib.php:2499 -msgid "Plugin webpage" -msgstr "Plugin webpagina " - -#: ../includes/class-ure-lib.php:2500 -msgid "Plugin download" -msgstr "Plugin download " - -#: ../includes/class-ure-lib.php:2501 -#: ../includes/class-user-role-editor.php:546 -msgid "Changelog" -msgstr "Changelog" - -#: ../includes/class-ure-lib.php:2502 -msgid "FAQ" -msgstr "FAQ" - -#: ../includes/class-ure-lib.php:2575 -msgid "Delete All Unused Roles" -msgstr "Verwijder alle niet gebruikte Rollen" - -#: ../includes/class-ure-lib.php:2588 -msgid "None" -msgstr "Geen" - -#: ../includes/class-ure-lib.php:2632 -msgid "— No role for this site —" -msgstr "— Geen rol voor deze website —" - -#: ../includes/class-ure-lib.php:2747 -#, php-format -msgid "Denied: %s" -msgstr "" - -#: ../includes/ure-role-edit.php:17 -msgid "Select Role and change its capabilities:" -msgstr "Selecteer de Rol en wijzig de rechten" - -#: ../includes/ure-role-edit.php:30 ../includes/ure-user-edit.php:54 -msgid "Show capabilities in human readable form" -msgstr "Toon rechten in leesbare vorm" - -#: ../includes/ure-role-edit.php:40 ../includes/class-ure-screen-help.php:21 -#: ../includes/settings-template.php:69 ../includes/ure-user-edit.php:64 -msgid "Show deprecated capabilities" -msgstr "Toon afgekeurde rechten" - -#: ../includes/ure-role-edit.php:44 -msgid "If checked, then apply action to ALL sites of this Network" -msgstr "" -"Indien aangevinkt, worden alle acties toegepast op ALLE locaties van dit " -"netwerk" - -#: ../includes/ure-role-edit.php:56 -msgid "Apply to All Sites" -msgstr "Pas toe op alle Sites" - -#: ../includes/ure-role-edit.php:63 ../includes/ure-user-edit.php:110 -msgid "Core capabilities:" -msgstr "Core rechten:" - -#: ../includes/ure-role-edit.php:65 ../includes/ure-user-edit.php:112 -msgid "Quick filter:" -msgstr "Snel filter:" - -#: ../includes/ure-role-edit.php:83 ../includes/ure-user-edit.php:131 -msgid "Custom capabilities:" -msgstr "Gebruikelijke rechten:" - -#: ../includes/class-user-other-roles.php:82 -#: ../includes/class-user-other-roles.php:183 -#: ../includes/class-user-other-roles.php:243 -msgid "Other Roles" -msgstr "Andere Rollen" - -#: ../includes/class-user-other-roles.php:83 -msgid "Select additional roles for this user" -msgstr "" - -#: ../includes/class-user-other-roles.php:162 -#: ../includes/class-user-role-editor.php:438 -msgid "Capabilities" -msgstr "Rechten" - -#: ../includes/class-user-other-roles.php:169 -msgid "Edit" -msgstr "Wijzigen" - -#: ../includes/class-user-other-roles.php:215 -#, fuzzy -msgid "Additional Capabilities" -msgstr "Recht toevoegen" - -#: ../includes/class-ure-screen-help.php:12 -#: ../includes/class-ure-screen-help.php:41 -#: ../includes/class-ure-screen-help.php:60 -#: ../includes/class-ure-screen-help.php:79 -msgid "User Role Editor Options page help" -msgstr "User Rol Editor Opties hulp pagina" - -#: ../includes/class-ure-screen-help.php:15 -#: ../includes/settings-template.php:53 -msgid "Show Administrator role at User Role Editor" -msgstr "Toon Beheerders Rol in de Gebruikers Rol Editor" - -#: ../includes/class-ure-screen-help.php:16 -msgid "" -"turn this option on in order to make the \"Administrator\" role available at " -"the User Role Editor roles selection drop-down list. It is hidden by default " -"for security reasons." -msgstr "" -"zet deze optie aan om de \"Administrator \" rol te zichtbaar te maken in de " -"Userr Role Editor rollen selectie keuzelijst. Het wordt standaard verborgen " -"om veiligheidsredenen." - -#: ../includes/class-ure-screen-help.php:18 -#: ../includes/settings-template.php:61 -msgid "Show capabilities in the human readable form" -msgstr "Toon de rechten in een leesbare vorm" - -#: ../includes/class-ure-screen-help.php:19 -msgid "" -"automatically converts capability names from the technical form for internal " -"use like \"edit_others_posts\" to more user friendly form, e.g. \"Edit " -"others posts\"." -msgstr "" -"converteert automatisch de namen van de rechten uit het technische formulier " -"voor intern gebruik zoals \"edit_berichten_van_anderen \" naar een meer " -"gebruiksvriendelijke vorm, bijvoorbeeld \"Edit berichten van anderen \"." - -#: ../includes/class-ure-screen-help.php:22 -msgid "" -"Capabilities like \"level_0\", \"level_1\" are deprecated and are not used " -"by WordPress. They are left at the user roles for the compatibility purpose " -"with the old themes and plugins code. Turning on this option will show those " -"deprecated capabilities." -msgstr "" -"Rechten zoals \"level_0 \", \"level_1 \" zijn verouderd en worden niet meer " -"gebruikt door WordPress. Ze worden gekoppeld aan de rollen van een " -"gebruiker met als reden compatibiliteits doeleinden met oude thema's en " -"plugins code. Het inschakelen van deze optie zal de afgekeurde rechten tonen." - -#: ../includes/class-ure-screen-help.php:25 -#: ../includes/settings-template.php:77 -msgid "Edit user capabilities" -msgstr "Wijzigen gebruikelijke rechten" - -#: ../includes/class-ure-screen-help.php:26 -msgid "" -"If turned off - capabilities section of selected user is shown in readonly " -"mode. Administrator can not assign capabilities to the user directly. He " -"should make it using roles only." -msgstr "" -"Indien uit, het gebruikers rechten gedeelte van de geselecteerde gebruik " -"wordt getoond in \"alleen lezen\" mode. De beheerder kan geen rechten direct " -"aan een gebruiker toekenne. Hij moet gebruik maken van rollen." - -#: ../includes/class-ure-screen-help.php:45 -#: ../includes/settings-template.php:111 -msgid "Count users without role" -msgstr "Het aantal Gebruikers zonder rol" - -#: ../includes/class-ure-screen-help.php:46 -msgid "" -"Show at the \"Users\" page a quant of users without role. Module allows to " -"assign all of them an empty role \"No rights\", in order to look on the " -"users list with role \"No rights\" at the separate tab then." -msgstr "" -"Toon op de \"Users\" pagina een blok met gebruikers zonder rol. Deze module " -"kan ze allemaal een lege rol \"Geen rechten\" toekennen. " - -#: ../includes/class-ure-screen-help.php:63 -msgid "Other default roles for new registered user" -msgstr "Andere standaard rollen voor nieuw geregistreerde gebruiker" - -#: ../includes/class-ure-screen-help.php:64 -msgid "" -"select roles below to assign them to the new user automatically as an " -"addition to the primary role. Note for multisite environment: take into " -"account that other default roles should exist at the site, in order to be " -"assigned to the new registered users." -msgstr "" -"Notitie voor multisite-omgeving: houdt er rekening mee dat er andere " -"standaard functies op de site moeten bestaan, om toegewezen te kunnen worden " -"aan nieuw geregistreerde gebruikers." - -#: ../includes/class-ure-screen-help.php:82 -msgid "Allow non super-admininstrators to create, edit and delete users" -msgstr "" -"Sta niet super beheerders toe om gebruikers aan te maken, te bewerken en te " -"verwijderen" - -#: ../includes/class-ure-screen-help.php:83 -msgid "" -"Super administrator only may create, edit and delete users under WordPress " -"multi-site by default. Turn this option on in order to remove this " -"limitation." -msgstr "" -"Alleen de super beheerder kan gebruikers aanmaken, bewerken en verwijderen " -"in WordPress multi-site. Schakel deze optie in om deze beperking te " -"verwijderen." - -#: ../includes/class-user-role-editor.php:233 -msgid "Change role for users without role" -msgstr "Wijzig de rol van gebruikers zonder rol" - -#: ../includes/class-user-role-editor.php:234 -msgid "No rights" -msgstr "Geen rechten" - -#: ../includes/class-user-role-editor.php:235 -msgid "Provide new role" -msgstr "Creëer een nieuwe rol" - -#: ../includes/class-user-role-editor.php:298 -#: ../includes/class-user-role-editor.php:300 -msgid "You do not have permission to edit this user." -msgstr "Je hebt toestemming om gegevens van deze gebruiker te wijzigen" - -#: ../includes/class-user-role-editor.php:535 -msgid "Settings" -msgstr "Instellingen" - -#: ../includes/class-user-role-editor.php:568 -#: ../includes/settings-template.php:21 -msgid "General" -msgstr "Algemeen" - -#: ../includes/class-user-role-editor.php:574 -#: ../includes/settings-template.php:26 -msgid "Additional Modules" -msgstr "Aanvullende modules" - -#: ../includes/class-user-role-editor.php:580 -#: ../includes/settings-template.php:30 -msgid "Default Roles" -msgstr "Standaard Rollen" - -#: ../includes/class-user-role-editor.php:586 -#: ../includes/settings-template.php:34 -msgid "Multisite" -msgstr "Multisite" - -#: ../includes/class-user-role-editor.php:685 -#: ../includes/class-user-role-editor.php:703 -#: ../includes/class-user-role-editor.php:747 -msgid "User Role Editor options are updated" -msgstr "User Role Editor opties zijn ge-update" - -#: ../includes/class-user-role-editor.php:731 -msgid "Default Roles are updated" -msgstr "Standaard Rollen zijn ge-update" - -#: ../includes/class-user-role-editor.php:756 -msgid "" -"You do not have sufficient permissions to manage options for User Role " -"Editor." -msgstr "Je hebt onvoldoende rechten om de User Role Editor te beheren." - -#: ../includes/class-user-role-editor.php:885 -msgid "Select All" -msgstr "Alles selecteren" - -#: ../includes/class-user-role-editor.php:886 -msgid "Unselect All" -msgstr "Alles deselecteren" - -#: ../includes/class-user-role-editor.php:887 -msgid "Reverse" -msgstr "Omzetten" - -#: ../includes/class-user-role-editor.php:888 -msgid "Update" -msgstr "Update" - -#: ../includes/class-user-role-editor.php:889 -msgid "Please confirm permissions update" -msgstr "Bevestig toestemming om te mogen updaten" - -#: ../includes/class-user-role-editor.php:890 -msgid "Add New Role" -msgstr "Nieuwe Rol Toevoegen" - -#: ../includes/class-user-role-editor.php:891 -#: ../includes/class-user-role-editor.php:896 -msgid "Rename Role" -msgstr "Hernoem Rol" - -#: ../includes/class-user-role-editor.php:892 -msgid " Role name (ID) can not be empty!" -msgstr "Rol naam (ID) kan niet leeg zijn!" - -#: ../includes/class-user-role-editor.php:893 -msgid "" -" Role name (ID) must contain latin characters, digits, hyphens or underscore " -"only!" -msgstr "" -"Rol naam (ID) moet latijnse letters, cijfers, koppeltekens of een underscore " -"bevatten!" - -#: ../includes/class-user-role-editor.php:894 -msgid "" -" WordPress does not support numeric Role name (ID). Add latin characters to " -"it." -msgstr "" -"WordPress ondersteund geen numerieke Rol naam (ID). Voeg er latijnse tekens " -"aan toe." - -#: ../includes/class-user-role-editor.php:895 -msgid "Add Role" -msgstr "Rol toevoegen" - -#: ../includes/class-user-role-editor.php:897 -msgid "Delete Role" -msgstr "Rol verwijderen" - -#: ../includes/class-user-role-editor.php:898 -msgid "Cancel" -msgstr "Annuleren" - -#: ../includes/class-user-role-editor.php:899 -msgid "Add Capability" -msgstr "Recht toevoegen" - -#: ../includes/class-user-role-editor.php:900 -#: ../includes/class-user-role-editor.php:909 -msgid "Delete Capability" -msgstr "Recht verwijderen" - -#: ../includes/class-user-role-editor.php:901 -msgid "Reset" -msgstr "Terugkeren naar de basisinstellingen" - -#: ../includes/class-user-role-editor.php:902 -msgid "DANGER! Resetting will restore default settings from WordPress Core." -msgstr "" -"OPGELET! Opnieuw instellen zal de basisinstellingen herstellen van WordPress " -"Core" - -#: ../includes/class-user-role-editor.php:903 -msgid "" -"If any plugins have changed capabilities in any way upon installation (such " -"as S2Member, WooCommerce, and many more), those capabilities will be DELETED!" -msgstr "" -"Als plugins op enigerlei wijz instellingen gewijzigd hebben bij de " -"installatie (zoals S2Member, WooCommerce, en nog veel meer), zullen deze " -"instellingen worden VERWIJDERD!" - -#: ../includes/class-user-role-editor.php:904 -msgid "" -"For more information on how to undo changes and restore plugin capabilities " -"go to" -msgstr "" -"Voor meer informatie over hoe u wijzigingen ongedaan kunt maken en rechten " -"van de plugin kunt herstellen ga naar" - -#: ../includes/class-user-role-editor.php:906 -msgid "Continue?" -msgstr "Doorgaan?" - -#: ../includes/class-user-role-editor.php:907 -msgid "Default Role" -msgstr "Standaard Rol" - -#: ../includes/class-user-role-editor.php:908 -msgid "Set New Default Role" -msgstr "Maak een nieuwe standaard rol aan" - -#: ../includes/class-user-role-editor.php:910 -msgid "" -"Warning! Be careful - removing critical capability could crash some plugin " -"or other custom code" -msgstr "" -"Waarschuwing! Wees voorzichtig - het verwijderen van een recht laat sommige " -"plugins of aangepaste code crashen" - -#: ../includes/class-user-role-editor.php:911 -msgid " Capability name (ID) can not be empty!" -msgstr "Een recht naam (ID) kan niet leeg zijn!" - -#: ../includes/class-user-role-editor.php:912 -msgid "" -" Capability name (ID) must contain latin characters, digits, hyphens or " -"underscore only!" -msgstr "" -"Naam van het recht (ID) moet Latijnse letters, cijfers, koppeltekens of " -"underscores bevatten!!" - -#: ../includes/settings-template.php:17 -msgid "User Role Editor - Options" -msgstr "User Rol Editor - Opties" - -#: ../includes/settings-template.php:39 -msgid "About" -msgstr "Over" - -#: ../includes/settings-template.php:90 ../includes/settings-template.php:126 -#: ../includes/settings-template.php:158 ../includes/settings-template.php:190 -msgid "Save" -msgstr "Opslaan" - -#: ../includes/settings-template.php:138 -msgid "Primary default role: " -msgstr "Standaard rol:" - -#: ../includes/settings-template.php:145 -msgid "Other default roles for new registered user: " -msgstr "Andere standaard rollen voor nieuw geregistreerde gebruiker:" - -#: ../includes/settings-template.php:151 -msgid "" -"Note for multisite environment: take into account that other default roles " -"should exist at the site, in order to be assigned to the new registered " -"users." -msgstr "" -"Noot voor multisite-omgeving: houdt er rekening mee dat er andere standaard " -"functies op de site moeten bestaan, om toegewezen te kunnen worden aan nieuw " -"geregistreerde gebruikers." - -#: ../includes/settings-template.php:177 -msgid "Allow non super administrators to create, edit, and delete users" -msgstr "" -"Sta niet super beheerders toe om gebruikers aan te maken, te bewerken en te " -"verwijderen" - -#: ../includes/ure-user-edit.php:32 -msgid "Network Super Admin" -msgstr "Network Super Beheerder" - -#: ../includes/ure-user-edit.php:35 -msgid "Change capabilities for user" -msgstr "Wijzig de rechten van deze gebruiker" - -#: ../includes/ure-user-edit.php:72 -msgid "Primary Role:" -msgstr "Primaire Rol:" - -#: ../includes/ure-user-edit.php:82 -msgid "bbPress Role:" -msgstr "bbPress Rol:" - -#: ../includes/ure-user-edit.php:92 -msgid "Other Roles:" -msgstr "Andere Rollen:" diff --git a/wp-content/plugins/user-role-editor/lang/user-role-editor-ru_RU.mo b/wp-content/plugins/user-role-editor/lang/user-role-editor-ru_RU.mo deleted file mode 100644 index 789cab9..0000000 Binary files a/wp-content/plugins/user-role-editor/lang/user-role-editor-ru_RU.mo and /dev/null differ diff --git a/wp-content/plugins/user-role-editor/lang/user-role-editor-ru_RU.po b/wp-content/plugins/user-role-editor/lang/user-role-editor-ru_RU.po deleted file mode 100644 index 4df02c8..0000000 --- a/wp-content/plugins/user-role-editor/lang/user-role-editor-ru_RU.po +++ /dev/null @@ -1,1648 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: User Role Editor v.2.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-11 21:06+0100\n" -"PO-Revision-Date: \n" -"Last-Translator: Vladimir Garagulya \n" -"Language-Team: ShinePHP.com \n" -"Language: ru_RU\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Poedit-SourceCharset: utf-8\n" -"X-Poedit-KeywordsList: __;_e\n" -"X-Poedit-Basepath: .\n" -"X-Generator: Poedit 1.5.4\n" -"X-Poedit-SearchPath-0: ..\n" - -#: ../includes/class-ure-lib.php:247 -msgid "Error: wrong request" -msgstr "Ошибка: неверный запрос" - -#: ../includes/class-ure-lib.php:280 ../includes/class-ure-lib.php:291 -msgid "Role name (ID): " -msgstr "Идентификатор роли (ID):" - -#: ../includes/class-ure-lib.php:282 ../includes/class-ure-lib.php:293 -msgid "Display Role Name: " -msgstr "Наименование роли:" - -#: ../includes/class-ure-lib.php:284 -msgid "Make copy of: " -msgstr "Создать копию из:" - -#: ../includes/class-ure-lib.php:300 -msgid "Select Role:" -msgstr "Выбери Роль:" - -#: ../includes/class-ure-lib.php:315 -msgid "Delete:" -msgstr "Удалить" - -#: ../includes/class-ure-lib.php:322 -msgid "Capability name (ID): " -msgstr "Идентификатор (ID):" - -#: ../includes/class-ure-lib.php:339 -#: ../includes/class-user-role-editor.php:596 -#: ../includes/class-user-role-editor.php:625 -msgid "User Role Editor" -msgstr "Редактор ролей пользователей" - -#: ../includes/class-ure-lib.php:436 -msgid "Error: " -msgstr "Ошибка:" - -#: ../includes/class-ure-lib.php:436 -msgid "Role" -msgstr "Роль" - -#: ../includes/class-ure-lib.php:437 -msgid "does not exist" -msgstr "не существует" - -#: ../includes/class-ure-lib.php:480 -msgid "Role is updated successfully" -msgstr "Роль изменена успешно" - -#: ../includes/class-ure-lib.php:482 -msgid "Roles are updated for all network" -msgstr "Роли изменены для всей сети" - -#: ../includes/class-ure-lib.php:488 -msgid "Error occured during role(s) update" -msgstr "При изменении роли произошла ошибка" - -#: ../includes/class-ure-lib.php:495 -msgid "User capabilities are updated successfully" -msgstr "Права пользователя изменены успешно" - -#: ../includes/class-ure-lib.php:500 -msgid "Error occured during user update" -msgstr "При изменении прав пользователя произошла ошибка " - -#: ../includes/class-ure-lib.php:558 -msgid "User Roles are restored to WordPress default values. " -msgstr "Роли возвращены к начальному состоянию" - -#: ../includes/class-ure-lib.php:1436 -msgid "read about" -msgstr "прочесть о" - -#: ../includes/class-ure-lib.php:1437 -msgid "user capability" -msgstr "праве пользователя" - -#: ../includes/class-ure-lib.php:1438 -msgid "Help" -msgstr "Помощь" - -#: ../includes/class-ure-lib.php:1693 ../includes/class-ure-lib.php:1946 -#: ../includes/class-ure-lib.php:2062 ../includes/class-ure-lib.php:2110 -#: ../includes/class-ure-lib.php:2358 ../includes/class-ure-lib.php:2403 -#: ../includes/class-user-role-editor.php:828 -msgid "Insufficient permissions to work with User Role Editor" -msgstr "Не достаточно прав для работы с User Role Editor" - -#: ../includes/class-ure-lib.php:1909 -msgid "Error is occur. Please check the log file." -msgstr "Произошла ошибка. Проверьте лог-файл." - -#: ../includes/class-ure-lib.php:1955 ../includes/class-ure-lib.php:2022 -msgid "" -"Error: Role ID must contain latin characters, digits, hyphens or underscore " -"only!" -msgstr "" -"Ошибка: идентификатор роли (ID) должен содержать только латинские буквы, " -"цифры, знак подчеркивания и дефис." - -#: ../includes/class-ure-lib.php:1959 ../includes/class-ure-lib.php:2026 -msgid "" -"Error: WordPress does not support numeric Role name (ID). Add latin " -"characters to it." -msgstr "" -"Ошибка: WordPress не поддерживает цифровые идентификаторы ролей. Начните имя " -"роли с латинских символов." - -#: ../includes/class-ure-lib.php:1974 -#, php-format -msgid "Role %s exists already" -msgstr "Роль %s уже существует" - -#: ../includes/class-ure-lib.php:1989 -msgid "Error is encountered during new role create operation" -msgstr "Произошла ошибка при создании новой роли" - -#: ../includes/class-ure-lib.php:1991 -#, php-format -msgid "Role %s is created successfully" -msgstr "Роль %s создана успешно" - -#: ../includes/class-ure-lib.php:2015 -msgid "Error: Role ID is empty!" -msgstr "Ошибка: пустой идентификатор (ID) роли!" - -#: ../includes/class-ure-lib.php:2033 -msgid "Error: Empty role display name is not allowed." -msgstr "Ошибка: пустое наименование роли не допускается" - -#: ../includes/class-ure-lib.php:2040 -#, php-format -msgid "Role %s does not exists" -msgstr "Роль %s не существует" - -#: ../includes/class-ure-lib.php:2048 -#, php-format -msgid "Role %s is renamed to %s successfully" -msgstr "Роль %s успешно переименована в %s" - -#: ../includes/class-ure-lib.php:2121 -msgid "Error encountered during role delete operation" -msgstr "Произошла ошибка при удалении роли" - -#: ../includes/class-ure-lib.php:2123 -msgid "Unused roles are deleted successfully" -msgstr "Неиспользуемые роли удалены успешно" - -#: ../includes/class-ure-lib.php:2125 -#, php-format -msgid "Role %s is deleted successfully" -msgstr "Роль %s удалена успешно" - -#: ../includes/class-ure-lib.php:2153 -msgid "Error encountered during default role change operation" -msgstr "Произошла ошибка при изменении роли по-умолчанию" - -#: ../includes/class-ure-lib.php:2156 -#, php-format -msgid "Default role for new users is set to %s successfully" -msgstr "Роль по-умолчанию для новых пользователй изменена на %s успешно." - -#: ../includes/class-ure-lib.php:2159 -msgid "Can not set Administrator role as a default one" -msgstr "" -"Запрещается использовать роль Администратор в качестве роли по-умолчанию" - -#: ../includes/class-ure-lib.php:2161 -msgid "This role does not exist - " -msgstr "Эта роль не существует" - -#: ../includes/class-ure-lib.php:2177 -msgid "Editor" -msgstr "Редактор" - -#: ../includes/class-ure-lib.php:2178 -msgid "Author" -msgstr "Автор" - -#: ../includes/class-ure-lib.php:2179 -msgid "Contributor" -msgstr "Участник" - -#: ../includes/class-ure-lib.php:2180 -msgid "Subscriber" -msgstr "Подписчик" - -#: ../includes/class-ure-lib.php:2182 -msgid "Switch themes" -msgstr "Менять темы" - -#: ../includes/class-ure-lib.php:2183 -msgid "Edit themes" -msgstr "Изменять темы" - -#: ../includes/class-ure-lib.php:2184 -msgid "Activate plugins" -msgstr "Активировать плагины" - -#: ../includes/class-ure-lib.php:2185 -msgid "Edit plugins" -msgstr "Редактировать плагины" - -#: ../includes/class-ure-lib.php:2186 -msgid "Edit users" -msgstr "Изменять пользователей" - -#: ../includes/class-ure-lib.php:2187 -msgid "Edit files" -msgstr "Изменять файлы" - -#: ../includes/class-ure-lib.php:2188 -msgid "Manage options" -msgstr "Управлять установками" - -#: ../includes/class-ure-lib.php:2189 -msgid "Moderate comments" -msgstr "Модерировать комментарии" - -#: ../includes/class-ure-lib.php:2190 -msgid "Manage categories" -msgstr "Управлять категориями" - -#: ../includes/class-ure-lib.php:2191 -msgid "Manage links" -msgstr "Управлять ссылками" - -#: ../includes/class-ure-lib.php:2192 -msgid "Upload files" -msgstr "Загружать файлы" - -#: ../includes/class-ure-lib.php:2193 -msgid "Import" -msgstr "Импорт" - -#: ../includes/class-ure-lib.php:2194 -msgid "Unfiltered html" -msgstr "html без фильтра" - -#: ../includes/class-ure-lib.php:2195 -msgid "Edit posts" -msgstr "Изменять статьи" - -#: ../includes/class-ure-lib.php:2196 -msgid "Edit others posts" -msgstr "Изменять чужие статьи" - -#: ../includes/class-ure-lib.php:2197 -msgid "Edit published posts" -msgstr "Редактировать опубликованные статьи" - -#: ../includes/class-ure-lib.php:2198 -msgid "Publish posts" -msgstr "Публиковать статьи" - -#: ../includes/class-ure-lib.php:2199 -msgid "Edit pages" -msgstr "Изменять страницы" - -#: ../includes/class-ure-lib.php:2200 -msgid "Read" -msgstr "Чтение" - -#: ../includes/class-ure-lib.php:2201 -msgid "Level 10" -msgstr "Уровень 10" - -#: ../includes/class-ure-lib.php:2202 -msgid "Level 9" -msgstr "Уровень 9" - -#: ../includes/class-ure-lib.php:2203 -msgid "Level 8" -msgstr "Уровень 9" - -#: ../includes/class-ure-lib.php:2204 -msgid "Level 7" -msgstr "Уровень 7" - -#: ../includes/class-ure-lib.php:2205 -msgid "Level 6" -msgstr "Уровень 6" - -#: ../includes/class-ure-lib.php:2206 -msgid "Level 5" -msgstr "Уровень 5" - -#: ../includes/class-ure-lib.php:2207 -msgid "Level 4" -msgstr "Уровень 4" - -#: ../includes/class-ure-lib.php:2208 -msgid "Level 3" -msgstr "Уровень 3" - -#: ../includes/class-ure-lib.php:2209 -msgid "Level 2" -msgstr "Уровень 2" - -#: ../includes/class-ure-lib.php:2210 -msgid "Level 1" -msgstr "Уровень 1" - -#: ../includes/class-ure-lib.php:2211 -msgid "Level 0" -msgstr "Уровень 0" - -#: ../includes/class-ure-lib.php:2212 -msgid "Edit others pages" -msgstr "Редактировать чужие страницы" - -#: ../includes/class-ure-lib.php:2213 -msgid "Edit published pages" -msgstr "Редактировать опубликованные страницы" - -#: ../includes/class-ure-lib.php:2214 -msgid "Publish pages" -msgstr "Публиковать страницы" - -#: ../includes/class-ure-lib.php:2215 -msgid "Delete pages" -msgstr "Удалять страницы" - -#: ../includes/class-ure-lib.php:2216 -msgid "Delete others pages" -msgstr "Удалить чужие страницы" - -#: ../includes/class-ure-lib.php:2217 -msgid "Delete published pages" -msgstr "Удалять опубликованные страницы" - -#: ../includes/class-ure-lib.php:2218 -msgid "Delete posts" -msgstr "Удалять статьи" - -#: ../includes/class-ure-lib.php:2219 -msgid "Delete others posts" -msgstr "Удалять чужие статьи" - -#: ../includes/class-ure-lib.php:2220 -msgid "Delete published posts" -msgstr "Удалять опубликованные статьи" - -#: ../includes/class-ure-lib.php:2221 -msgid "Delete private posts" -msgstr "Удалять частные статьи" - -#: ../includes/class-ure-lib.php:2222 -msgid "Edit private posts" -msgstr "Редактировать частные статьи" - -#: ../includes/class-ure-lib.php:2223 -msgid "Read private posts" -msgstr "Читать частные статьи" - -#: ../includes/class-ure-lib.php:2224 -msgid "Delete private pages" -msgstr "Удалять частные страницы" - -#: ../includes/class-ure-lib.php:2225 -msgid "Edit private pages" -msgstr "Редактировать частные страницы" - -#: ../includes/class-ure-lib.php:2226 -msgid "Read private pages" -msgstr "Читать частные страницы" - -#: ../includes/class-ure-lib.php:2227 -msgid "Delete users" -msgstr "Удалять пользователей" - -#: ../includes/class-ure-lib.php:2228 -msgid "Create users" -msgstr "Создавать пользователей" - -#: ../includes/class-ure-lib.php:2229 -msgid "Unfiltered upload" -msgstr "Загрузка без фильтра" - -#: ../includes/class-ure-lib.php:2230 -msgid "Edit dashboard" -msgstr "Изменять панель администратора" - -#: ../includes/class-ure-lib.php:2231 -msgid "Update plugins" -msgstr "Обновлять плагины" - -#: ../includes/class-ure-lib.php:2232 -msgid "Delete plugins" -msgstr "Удалять плагины" - -#: ../includes/class-ure-lib.php:2233 -msgid "Install plugins" -msgstr "Устанавливать плагины" - -#: ../includes/class-ure-lib.php:2234 -msgid "Update themes" -msgstr "Обновлять темы" - -#: ../includes/class-ure-lib.php:2235 -msgid "Install themes" -msgstr "Устанавливать темы" - -#: ../includes/class-ure-lib.php:2236 -msgid "Update core" -msgstr "Обновлять ядро" - -#: ../includes/class-ure-lib.php:2237 -msgid "List users" -msgstr "Список пользователей" - -#: ../includes/class-ure-lib.php:2238 -msgid "Remove users" -msgstr "Удалять пользователей" - -#: ../includes/class-ure-lib.php:2239 -msgid "Add users" -msgstr "Добавлять пользователей" - -#: ../includes/class-ure-lib.php:2240 -msgid "Promote users" -msgstr "Продвигать пользователей" - -#: ../includes/class-ure-lib.php:2241 -msgid "Edit theme options" -msgstr "Изменять настройки темы" - -#: ../includes/class-ure-lib.php:2242 -msgid "Delete themes" -msgstr "Удалять темы" - -#: ../includes/class-ure-lib.php:2243 -msgid "Export" -msgstr "Экспорт" - -#: ../includes/class-ure-lib.php:2366 -msgid "Error: Capability name must contain latin characters and digits only!" -msgstr "Ошибка: Имя должно содержать только латинские буквы и цифры" - -#: ../includes/class-ure-lib.php:2379 -#, php-format -msgid "Capability %s is added successfully" -msgstr "Возможность %s добавлена успешно" - -#: ../includes/class-ure-lib.php:2381 -#, php-format -msgid "Capability %s exists already" -msgstr "Возможность %s уже существует" - -#: ../includes/class-ure-lib.php:2410 -#, php-format -msgid "Error! You do not have permission to delete this capability: %s!" -msgstr "Ошибка! Вам запрещено удалять эту возможность: %s!" - -#: ../includes/class-ure-lib.php:2429 -#, php-format -msgid "Capability %s was removed successfully" -msgstr "Право %s удалено успешно" - -#: ../includes/class-ure-lib.php:2497 -msgid "Version:" -msgstr "Версия:" - -#: ../includes/class-ure-lib.php:2498 -msgid "Author's website" -msgstr "Вебсайт автора" - -#: ../includes/class-ure-lib.php:2499 -msgid "Plugin webpage" -msgstr "Страница плагина" - -#: ../includes/class-ure-lib.php:2500 -msgid "Plugin download" -msgstr "Загрузить плагин" - -#: ../includes/class-ure-lib.php:2501 -#: ../includes/class-user-role-editor.php:546 -msgid "Changelog" -msgstr "Журнал изменений" - -#: ../includes/class-ure-lib.php:2502 -msgid "FAQ" -msgstr "Часто задаваемые вопросы" - -#: ../includes/class-ure-lib.php:2575 -msgid "Delete All Unused Roles" -msgstr "Удалить все неиспользуемые роли" - -#: ../includes/class-ure-lib.php:2588 -msgid "None" -msgstr "Нет" - -#: ../includes/class-ure-lib.php:2632 -msgid "— No role for this site —" -msgstr "— Нет роли для этого сайта —" - -#: ../includes/class-ure-lib.php:2747 -#, php-format -msgid "Denied: %s" -msgstr "Отказано: %s" - -#: ../includes/ure-role-edit.php:17 -msgid "Select Role and change its capabilities:" -msgstr "Выбери роль и измени права доступа" - -#: ../includes/ure-role-edit.php:30 ../includes/ure-user-edit.php:54 -msgid "Show capabilities in human readable form" -msgstr "Показ возможностей в читабельной форме" - -#: ../includes/ure-role-edit.php:40 ../includes/class-ure-screen-help.php:21 -#: ../includes/settings-template.php:69 ../includes/ure-user-edit.php:64 -msgid "Show deprecated capabilities" -msgstr "Показать устаревшие разрешения" - -#: ../includes/ure-role-edit.php:44 -msgid "If checked, then apply action to ALL sites of this Network" -msgstr "Если включено, применить ко всем сайтам этой Сети" - -#: ../includes/ure-role-edit.php:56 -msgid "Apply to All Sites" -msgstr "Применить ко всем сайтам" - -#: ../includes/ure-role-edit.php:63 ../includes/ure-user-edit.php:110 -msgid "Core capabilities:" -msgstr "Возможности ядра:" - -#: ../includes/ure-role-edit.php:65 ../includes/ure-user-edit.php:112 -msgid "Quick filter:" -msgstr "Фильтр:" - -#: ../includes/ure-role-edit.php:83 ../includes/ure-user-edit.php:131 -msgid "Custom capabilities:" -msgstr "Дополнительные возможности :" - -#: ../includes/class-user-other-roles.php:82 -#: ../includes/class-user-other-roles.php:183 -#: ../includes/class-user-other-roles.php:243 -msgid "Other Roles" -msgstr "Другие роли" - -#: ../includes/class-user-other-roles.php:83 -msgid "Select additional roles for this user" -msgstr "Выбрать дополнительные роли для этого пользователя" - -#: ../includes/class-user-other-roles.php:162 -#: ../includes/class-user-role-editor.php:438 -msgid "Capabilities" -msgstr "Возможности" - -#: ../includes/class-user-other-roles.php:169 -msgid "Edit" -msgstr "Изменить" - -#: ../includes/class-user-other-roles.php:215 -msgid "Additional Capabilities" -msgstr "Дополнительные права" - -#: ../includes/class-ure-screen-help.php:12 -#: ../includes/class-ure-screen-help.php:41 -#: ../includes/class-ure-screen-help.php:60 -#: ../includes/class-ure-screen-help.php:79 -msgid "User Role Editor Options page help" -msgstr "Редактор ролей пользователей - Опции - помощь" - -#: ../includes/class-ure-screen-help.php:15 -#: ../includes/settings-template.php:53 -msgid "Show Administrator role at User Role Editor" -msgstr "Отобразить роль Администратор в Редакторе ролей пользователей" - -#: ../includes/class-ure-screen-help.php:16 -msgid "" -"turn this option on in order to make the \"Administrator\" role available at " -"the User Role Editor roles selection drop-down list. It is hidden by default " -"for security reasons." -msgstr "" -"Включите эту опцию, чтобы сделать роль \"Администратор\" доступна в " -"Редакторе Ролей пользователей. Из соображений безопасности по-умолчанию она " -"скрыта." - -#: ../includes/class-ure-screen-help.php:18 -#: ../includes/settings-template.php:61 -msgid "Show capabilities in the human readable form" -msgstr "Показ прав доступа в читабельной форме" - -#: ../includes/class-ure-screen-help.php:19 -msgid "" -"automatically converts capability names from the technical form for internal " -"use like \"edit_others_posts\" to more user friendly form, e.g. \"Edit " -"others posts\"." -msgstr "" -"Автоматически конвертирует наименования пользовательских прав из технической " -"формы для внутреннего пользования (\"edit_other_posts\") в более читабельную " -"(\"Edit other posts\")." - -#: ../includes/class-ure-screen-help.php:22 -msgid "" -"Capabilities like \"level_0\", \"level_1\" are deprecated and are not used " -"by WordPress. They are left at the user roles for the compatibility purpose " -"with the old themes and plugins code. Turning on this option will show those " -"deprecated capabilities." -msgstr "" -"Права пользователей типа \"level_0\", \"level_1\" и т.п. устарели и больше " -"не используются WordPress. Они оставлены в ролях пользователей только для " -"обеспечения совместимости со старыми темами и плагинами. Включение данной " -"опции покажет все устаревшие права пользователей." - -#: ../includes/class-ure-screen-help.php:25 -#: ../includes/settings-template.php:77 -msgid "Edit user capabilities" -msgstr "Изменять права пользователя" - -#: ../includes/class-ure-screen-help.php:26 -msgid "" -"If turned off - capabilities section of selected user is shown in readonly " -"mode. Administrator can not assign capabilities to the user directly. He " -"should make it using roles only." -msgstr "" -"Если выключено - секция прав выбранного пользователя отображается в режиме " -"\"только чтение\". Администратор не может присваивать права пользователю " -"напрямую, только через роли." - -#: ../includes/class-ure-screen-help.php:45 -#: ../includes/settings-template.php:111 -msgid "Count users without role" -msgstr "Подсчёт пользователей без роли" - -#: ../includes/class-ure-screen-help.php:46 -msgid "" -"Show at the \"Users\" page a quant of users without role. Module allows to " -"assign all of them an empty role \"No rights\", in order to look on the " -"users list with role \"No rights\" at the separate tab then." -msgstr "" -"Показать на странице \"Users\" количество пользователей без роли. Модуль " -"позволяет присвоить всем им пустую роль \"No rights\", чтобы затем WordPress " -"отобразил пользователей с этой ролью на отдельной вкладке." - -#: ../includes/class-ure-screen-help.php:63 -msgid "Other default roles for new registered user" -msgstr "Другие роли по-умолчанию для вновь зарегистрированного пользователя:" - -#: ../includes/class-ure-screen-help.php:64 -msgid "" -"select roles below to assign them to the new user automatically as an " -"addition to the primary role. Note for multisite environment: take into " -"account that other default roles should exist at the site, in order to be " -"assigned to the new registered users." -msgstr "" -"выберите роли из расположенного ниже списка, чтобы присваивать их новым " -"пользователям автоматически в дополнение к основной роли.Заметка для " -"WordPress с несколькими сайтами: учтите, что для присвоения вновь " -"зарегистрированному пользователю дополнительных ролей по-умолчанию эти роли " -"должны существовать на этом сайте." - -#: ../includes/class-ure-screen-help.php:82 -msgid "Allow non super-admininstrators to create, edit and delete users" -msgstr "" -"Разрешить локальным администраторам сайтов (не суперадмин) создавать, " -"изменять, удалять пользователей на своих сайтах" - -#: ../includes/class-ure-screen-help.php:83 -msgid "" -"Super administrator only may create, edit and delete users under WordPress " -"multi-site by default. Turn this option on in order to remove this " -"limitation." -msgstr "" -"Только супер-администратор может создавать, изменять и удалять пользователей " -"в многосайтовой сети WordPress. Включите эту опцию, чтобы отменить это " -"ограничение." - -#: ../includes/class-user-role-editor.php:233 -msgid "Change role for users without role" -msgstr "Изменить роль для пользователей без роли" - -#: ../includes/class-user-role-editor.php:234 -msgid "No rights" -msgstr "Нет прав" - -#: ../includes/class-user-role-editor.php:235 -msgid "Provide new role" -msgstr "Выберите новую роль" - -#: ../includes/class-user-role-editor.php:298 -#: ../includes/class-user-role-editor.php:300 -msgid "You do not have permission to edit this user." -msgstr "Нет прав на редактирование этого пользователя" - -#: ../includes/class-user-role-editor.php:535 -msgid "Settings" -msgstr "Установки" - -#: ../includes/class-user-role-editor.php:568 -#: ../includes/settings-template.php:21 -msgid "General" -msgstr "Общие" - -#: ../includes/class-user-role-editor.php:574 -#: ../includes/settings-template.php:26 -msgid "Additional Modules" -msgstr "Дополнительные модули" - -#: ../includes/class-user-role-editor.php:580 -#: ../includes/settings-template.php:30 -msgid "Default Roles" -msgstr "Роли по-умолчанию" - -#: ../includes/class-user-role-editor.php:586 -#: ../includes/settings-template.php:34 -msgid "Multisite" -msgstr "Многосайтовые" - -#: ../includes/class-user-role-editor.php:685 -#: ../includes/class-user-role-editor.php:703 -#: ../includes/class-user-role-editor.php:747 -msgid "User Role Editor options are updated" -msgstr "Изменения в настройках Редактора ролей пользователей сохранены" - -#: ../includes/class-user-role-editor.php:731 -msgid "Default Roles are updated" -msgstr "Изменения в роли по-умолчанию сохранены" - -#: ../includes/class-user-role-editor.php:756 -msgid "" -"You do not have sufficient permissions to manage options for User Role " -"Editor." -msgstr "У вас нет прав на изменение настроек плагина" - -#: ../includes/class-user-role-editor.php:885 -msgid "Select All" -msgstr "Выбрать все" - -#: ../includes/class-user-role-editor.php:886 -msgid "Unselect All" -msgstr "Исключить все" - -#: ../includes/class-user-role-editor.php:887 -msgid "Reverse" -msgstr "Обратить" - -#: ../includes/class-user-role-editor.php:888 -msgid "Update" -msgstr "Сохранить" - -#: ../includes/class-user-role-editor.php:889 -msgid "Please confirm permissions update" -msgstr "Пожалуйста, подтвердите продолжение " - -#: ../includes/class-user-role-editor.php:890 -msgid "Add New Role" -msgstr "Добавить новую роль" - -#: ../includes/class-user-role-editor.php:891 -#: ../includes/class-user-role-editor.php:896 -msgid "Rename Role" -msgstr "Переименовать роль" - -#: ../includes/class-user-role-editor.php:892 -msgid " Role name (ID) can not be empty!" -msgstr "Идентификатор роли (ID) не может быть пустым!" - -#: ../includes/class-user-role-editor.php:893 -msgid "" -" Role name (ID) must contain latin characters, digits, hyphens or underscore " -"only!" -msgstr "" -"Ошибка: идентификатор роли может содержать только латинские буквы, цифры, " -"тире и знак подчеркивания" - -#: ../includes/class-user-role-editor.php:894 -msgid "" -" WordPress does not support numeric Role name (ID). Add latin characters to " -"it." -msgstr "" -"WordPress не поддерживает цифровые идентификаторы ролей. Начните имя роли с " -"латинских символов." - -#: ../includes/class-user-role-editor.php:895 -msgid "Add Role" -msgstr "Добавить роль" - -#: ../includes/class-user-role-editor.php:897 -msgid "Delete Role" -msgstr "Удалить роль" - -#: ../includes/class-user-role-editor.php:898 -msgid "Cancel" -msgstr "Отмена" - -#: ../includes/class-user-role-editor.php:899 -msgid "Add Capability" -msgstr "Новая возм." - -#: ../includes/class-user-role-editor.php:900 -#: ../includes/class-user-role-editor.php:909 -msgid "Delete Capability" -msgstr "Удалить возм." - -#: ../includes/class-user-role-editor.php:901 -msgid "Reset" -msgstr "Сброс" - -#: ../includes/class-user-role-editor.php:902 -msgid "DANGER! Resetting will restore default settings from WordPress Core." -msgstr "" -"ВНИМАНИЕ! Очистка восстановит роли по состоянию на момент установки " -"WordPress." - -#: ../includes/class-user-role-editor.php:903 -msgid "" -"If any plugins have changed capabilities in any way upon installation (such " -"as S2Member, WooCommerce, and many more), those capabilities will be DELETED!" -msgstr "" -"Если плагины изменяли пользовательские права после установки WordPress " -"(S2Member, WooCommerce и др.), права, созданные плагинами будут УДАЛЕНЫ!" - -#: ../includes/class-user-role-editor.php:904 -msgid "" -"For more information on how to undo changes and restore plugin capabilities " -"go to" -msgstr "" -"Подробнее о том, как откатить сделанные изменения и восстановить разрешения " -"для плагинов, можно узнать здесь" - -#: ../includes/class-user-role-editor.php:906 -msgid "Continue?" -msgstr "Продолжить?" - -#: ../includes/class-user-role-editor.php:907 -msgid "Default Role" -msgstr "Роль по-умолчанию" - -#: ../includes/class-user-role-editor.php:908 -msgid "Set New Default Role" -msgstr "Установить" - -#: ../includes/class-user-role-editor.php:910 -msgid "" -"Warning! Be careful - removing critical capability could crash some plugin " -"or other custom code" -msgstr "" -"Внимание! Будьте осторожны - удаление критичной возможности может привести к " -"прекращеню работы одного из плагинов или другого кода." - -#: ../includes/class-user-role-editor.php:911 -msgid " Capability name (ID) can not be empty!" -msgstr "Идентификатор возможности (ID) не может быть пустым!" - -#: ../includes/class-user-role-editor.php:912 -msgid "" -" Capability name (ID) must contain latin characters, digits, hyphens or " -"underscore only!" -msgstr "" -"Ошибка: Наименование возможности должно содержать только латинские буквы и " -"цифры, знаки подчеркивания" - -#: ../includes/settings-template.php:17 -msgid "User Role Editor - Options" -msgstr "Редактор ролей пользователей - Опции" - -#: ../includes/settings-template.php:39 -msgid "About" -msgstr "О плагине" - -#: ../includes/settings-template.php:90 ../includes/settings-template.php:126 -#: ../includes/settings-template.php:158 ../includes/settings-template.php:190 -msgid "Save" -msgstr "Сохранить" - -#: ../includes/settings-template.php:138 -msgid "Primary default role: " -msgstr "Основная роль по-умолчанию:" - -#: ../includes/settings-template.php:145 -msgid "Other default roles for new registered user: " -msgstr "Другие роли по-умолчанию для вновь зарегистрированного пользователя:" - -#: ../includes/settings-template.php:151 -msgid "" -"Note for multisite environment: take into account that other default roles " -"should exist at the site, in order to be assigned to the new registered " -"users." -msgstr "" -"Заметка для WordPress с несколькими сайтами: учтите, что для присвоения " -"вновь зарегистрированному пользователю дополнительных ролей по-умолчанию эти " -"роли должны существовать на этом сайте." - -#: ../includes/settings-template.php:177 -msgid "Allow non super administrators to create, edit, and delete users" -msgstr "" -"Разрешить простым администраторам создавать, изменять, удалять пользователей" - -#: ../includes/ure-user-edit.php:32 -msgid "Network Super Admin" -msgstr "Суперадминистратор сети" - -#: ../includes/ure-user-edit.php:35 -msgid "Change capabilities for user" -msgstr "Изменить возможности для пользователя" - -#: ../includes/ure-user-edit.php:72 -msgid "Primary Role:" -msgstr "Первичаная роль:" - -#: ../includes/ure-user-edit.php:82 -msgid "bbPress Role:" -msgstr "Роль bbPress:" - -#: ../includes/ure-user-edit.php:92 -msgid "Other Roles:" -msgstr "Другие Роли:" - -#~ msgid "select roles below" -#~ msgstr "выберите роли ниже" - -#~ msgid "Overview" -#~ msgstr "Обзор" - -#~ msgid "Allow create, edit and delete users to not super-admininstrators" -#~ msgstr "" -#~ "Разрешить создание, изменение и удаление пользователей простым " -#~ "администраторам" - -#~ msgid "About this Plugin:" -#~ msgstr "Об этом плагине" - -#~ msgid "" -#~ "Reset Roles to WordPress defaults. Be careful, all changes made by you or " -#~ "plugins will be lost. Some plugins, e.g. S2Member, WooCommerce " -#~ "reactivation could be needed. Continue?" -#~ msgstr "" -#~ "Вернуть роли в начальное состояние. Будьте осторожны, все изменения в " -#~ "ролях, сделанные темой и плагинами, будут потеряны, необходимо будет " -#~ "активировать заново некоторые плагины, например S2Member, WooCommerce. " -#~ "Продолжить?" - -#~ msgid "Only" -#~ msgstr "Только" - -#~ msgid "is allowed to use" -#~ msgstr "разрешено использовать" - -#~ msgid "User" -#~ msgstr "Пользователь" - -#~ msgid "Import Roles" -#~ msgstr "Импорт Ролей" - -#~ msgid "Select file with roles data" -#~ msgstr "Выберите файл, с данными роли" - -#~ msgid "Select file with roles: " -#~ msgstr "Выбери файл с ролями:" - -#~ msgid "File upload error. Try again later" -#~ msgstr "Ошибка загрузки файла. Попробуйте ещё раз позже" - -#~ msgid "Roles are imported successfully" -#~ msgstr "Роли импортированы успешно" - -#~ msgid "Roles import is failed" -#~ msgstr "При импорте ролей произошла ошибка" - -#, fuzzy -#~ msgid "User Role Editor requires PHP %s or newer." -#~ msgstr "Редактор ролей пользователей требует PHP 5.0 или выше." - -#~ msgid "Please update!" -#~ msgstr "Пожалуйста, обновите!" - -#, fuzzy -#~ msgid "User Role Editor requires WordPress %s or newer." -#~ msgstr "Редактор ролей пользователей требует WordPress 3.0 или выше." - -#~ msgid "Backup record is created for the current role capabilities" -#~ msgstr "" -#~ "Для текущего распределения возможностей по ролям создана резервная копия" - -#~ msgid "Database operation error. Check log file." -#~ msgstr "Ошибка работы с базой данных. Проверьте лог-файл." - -#~ msgid "" -#~ "No backup data. It is created automatically before the first role data " -#~ "update." -#~ msgstr "" -#~ "Нет резервной копии. Она создается автоматически перед первым изменением " -#~ "ролей." - -#~ msgid " Name must contain latin characters and digits only!" -#~ msgstr " Наименование должно содержать только латинские буквы и цифры." - -#~ msgid "Change Default Role" -#~ msgstr "Установить как роль по-умолчанию" - -#~ msgid "" -#~ "Restore Roles from backup copy. Be careful, backup was created when you " -#~ "started URE 1st time. All changes you made after that will be lost" -#~ msgstr "" -#~ "Восстановление ролей из резервной копии. Будьте внимательны, копия " -#~ "создана во время первого запуска этого плагина. Все внесенные после этого " -#~ "изменения будут потеряны" - -#~ msgid "Role \"%s\" update: please confirm to continue" -#~ msgstr "Изменение роли \"%s\": пожалуйста, подтвердите продолжение " - -#~ msgid "Save Changes" -#~ msgstr "Сохранить изменения" - -#~ msgid "Cancel not saved changes" -#~ msgstr "Отказ от сохранения изменений" - -#~ msgid "Select All Capabilities" -#~ msgstr "Выбрать все разрешения" - -#~ msgid "Unselect All Capabilities" -#~ msgstr "Исключить все возможности" - -#~ msgid "Turn checked capabilities off and vise versa" -#~ msgstr "Включить исключенные возможности и наоборот" - -#~ msgid "Restore Roles from backup copy" -#~ msgstr "Восстановить Роли из резервной копии" - -#~ msgid "Name: " -#~ msgstr "Имя:" - -#~ msgid "Add" -#~ msgstr "Добавить" - -#~ msgid "Add New User Role" -#~ msgstr "Добавить новую Роль пользователя" - -#~ msgid "Change" -#~ msgstr "Изменить" - -#~ msgid "Remove" -#~ msgstr "Удалить" - -#~ msgid "Remove User Capability" -#~ msgstr "Удалить возможность пользователя" - -#~ msgid "User \"%s\" update: please confirm to continue" -#~ msgstr "" -#~ "Изменение пользователя \"%s\": пожалуйста, подтвердите для продолжения" - -#~ msgid "Role:" -#~ msgstr "Роль:" - -#~ msgid "Add capabilities to this user:" -#~ msgstr "Добавить возможности этому пользователю:" - -#~ msgid "Greetings" -#~ msgstr "Благодарности" - -#~ msgid "Greetings:" -#~ msgstr "Приветствия" - -#~ msgid "It's me, the author" -#~ msgstr "Это я, автор" - -#~ msgid "For the help with Belorussian translation" -#~ msgstr "за помощь с белорусским переводом" - -#~ msgid "For the help with Brasilian translation" -#~ msgstr "за помощь с бразильским переводом" - -#~ msgid "For the help with Brasilian Portuguese translation" -#~ msgstr "за помощь с бразильским переводом" - -#~ msgid "For the help with Chinese translation" -#~ msgstr "за помощь с китайским переводом" - -#~ msgid "For the help with Dutch translation" -#~ msgstr "за помощь с датским переводом" - -#~ msgid "For the help with Finnish translation" -#~ msgstr "за помощь с финским переводом" - -#~ msgid "For the help with French translation" -#~ msgstr "за помощь с французским переводом" - -#~ msgid "For the help with German translation" -#~ msgstr "за помощь с немецким переводом" - -#~ msgid "For the help with Hebrew translation" -#~ msgstr "за помощь с переводом на иврит" - -#~ msgid "For the help with Hindi translation" -#~ msgstr "за помощь с индийским (Хинди) переводом" - -#~ msgid "For the help with Hungarian translation" -#~ msgstr "за помощь с венгерским переводом" - -#~ msgid "For the help with Italian translation" -#~ msgstr "за помощь с итальянским переводом" - -#~ msgid "For the help with Japanese translation" -#~ msgstr "за помощь с японским переводом" - -#~ msgid "For the help with Lithuanian translation" -#~ msgstr "за помощь с литовским переводом" - -#~ msgid "For the help with Persian translation" -#~ msgstr "за помощь с переводом на иранский" - -#~ msgid "For the help with Polish translation" -#~ msgstr "за помощь с польским переводом" - -#~ msgid "For the help with Spanish translation" -#~ msgstr "за помощь с испанским переводом" - -#~ msgid "For the updated Swedish translation" -#~ msgstr "за помощь со шведским переводом" - -#~ msgid "For the help with Swedish translation" -#~ msgstr "за помощь со шведским переводом" - -#~ msgid "For the help with Turkish translation" -#~ msgstr "за помощь с турецким переводом" - -#~ msgid "For the code to hide administrator role" -#~ msgstr "За код, скрывающий роль администратора" - -#~ msgid "For the code enhancement suggestion" -#~ msgstr "За предложения по улучшению кода" - -#~ msgid "" -#~ "Do you wish to see your name with link to your site here? You are " -#~ "welcome! Your help with translation and new ideas are very appreciated." -#~ msgstr "" -#~ "Желаете увидеть свое имя и ссылку на Ваш сайт здесь? Добро пожаловать! " -#~ "Ваша помощь с переводом и новые идеи приветствуются." - -#~ msgid "Donate" -#~ msgstr "Поддержать" - -#~ msgid "Roles list reading error is encountered" -#~ msgstr "Ошибка чтения списка ролей!" - -#~ msgid "More plugins from" -#~ msgstr "Ещё плагины от" - -#~ msgid "No items found." -#~ msgstr "Ничего не найдено." - -#~ msgid "Recent Posts:" -#~ msgstr "Последние статьи:" - -#~ msgid "Return to default WordPress user role capabilities" -#~ msgstr "Вернуться к исходному состоянию ролей WordPress" - -#~ msgid "Role Name must be just a single word without special characters!" -#~ msgstr "Наименование роли - одно слово без специальных символов! " - -#~ msgid "action" -#~ msgstr "операции" - -#~ msgid "Please confirm to continue role \"" -#~ msgstr "Пожалуйста подтвердите продолжение для роли" - -#~ msgid "Silence Is Golden Guard Plugin" -#~ msgstr "Silence Is Golden Guard плагин" - -#~ msgid "file open error" -#~ msgstr "ошибка открытия файла" - -#~ msgid "file read error" -#~ msgstr "ошибка чтения файла" - -#~ msgid "file close error" -#~ msgstr "ошибка при закрытии файла" - -#~ msgid "file backup copy error" -#~ msgstr "ошибка при создании резервной копии файла" - -#~ msgid "file permissions change error" -#~ msgstr "ошибка при изменении прав на файл" - -#~ msgid "file write error" -#~ msgstr "ошибка записи в файл" - -#~ msgid "is modified" -#~ msgstr "изменен" - -#~ msgid "file create error" -#~ msgstr "ошибка создания файла" - -#~ msgid "permissions change error" -#~ msgstr "ошибка при изменении прав" - -#~ msgid "file is created" -#~ msgstr "файл создан" - -#~ msgid "\"Silence is Golden\" Scan is finished: " -#~ msgstr "\"Silence is Golden\" сканирование завершено: " - -#~ msgid "Does not create index.php file in the checked folders" -#~ msgstr "Не создавать index.php файл в отмеченных каталогах" - -#~ msgid "Exclude Folders for index.php" -#~ msgstr "Исключить Каталоги для index.php" - -#~ msgid "Modify Apache .htaccess" -#~ msgstr "Изменить Apache .htaccess" - -#~ msgid "" -#~ "Modify Apache .htaccess file in the site root folder. Add \"Options -" -#~ "Indexes\" line to prevent directory listing by Apache Web server.\n" -#~ " If it is turned on (+Indexes) or absent, then if a " -#~ "URL which maps to a directory is requested, and there is no " -#~ "DirectoryIndex (e.g., index.html or index.php) file in that directory, " -#~ "then Web server will return a formatted listing of the directory." -#~ msgstr "" -#~ "Изменить файл Apache .htaccess в корневом каталоге сайта. Добавить строку " -#~ "\"Options -Indexes\", чтобы исключить листинг содержимого катлогов Web " -#~ "сервером Apache.\n" -#~ "Если опция включена (+Indexes) или отсутствует, тогда, если " -#~ "запроашивается адрес URL, соответствующий каталогу, и в этом каталоге " -#~ "отстутсвует файл типа DirectoryIndex (т.е. index.html или index.php), " -#~ "тогда Web сервер вернёт отформатированный листин этого каталога." - -#~ msgid "Check folders state automatically with specified period" -#~ msgstr "Проверять состояние каталогов автоматически с заданным периодом" - -#~ msgid "Auto Monitor" -#~ msgstr "Авто Мониторинг" - -#~ msgid "Scan Now" -#~ msgstr "Сканировать Сейчас" - -#~ msgid "Scan and Fix directories listing related problems Now" -#~ msgstr "" -#~ "Сканировать и Исправлять проблемы, связанные с листингом содержимого " -#~ "каталогов" - -#~ msgid "" -#~ "Every time a new visitor clicks the \"Thank you\" button, one point is " -#~ "added to the total \"thanks\" counter for this post." -#~ msgstr "" -#~ "Каждый раз, когда новый посетитель щелкает по кнопке \"Спасибо\", единица " -#~ "добавляется к счетчику благодарностей для данной статьи." - -#~ msgid "Thank You Counter Button Plugin" -#~ msgstr "Установки для плагина: Кнопка подсчета благодарностей" - -#~ msgid "Statistics" -#~ msgstr "Статистика" - -#~ msgid "You left “Thanks” already for this post" -#~ msgstr "Вы уже оставили благодарность за эту статью" - -#~ msgid "Click to left “Thanks” for this post" -#~ msgstr "Щелкните мышью, чтобы оставить благодарность за эту статью" - -#~ msgid "View statistics details for \"%s\"" -#~ msgstr "Просмотр детализированной статистики для \"%s\"" - -#~ msgid "Hide these shortcuts" -#~ msgstr "Скрыть ссылки доступа к установкам и статистике плагина" - -#~ msgid "Do you really want to hide these shortcuts?" -#~ msgstr "Вы действительно хотите скрыть эти ссылки?" - -#~ msgid "Thank You" -#~ msgstr "Спасибо" - -#~ msgid "operation is prohibited" -#~ msgstr "операция запрещена" - -#~ msgid "Default Settings are restored" -#~ msgstr "Установки по-умолчанию восстановлены" - -#~ msgid "All Thanks Counters are cleared" -#~ msgstr "Все счётчики благодраностей обнулены" - -#~ msgid "Additional documentation" -#~ msgstr "Дополнительная документация" - -#~ msgid "" -#~ "for the help with Spanish translation, ideas and new versions testing" -#~ msgstr "за помощь с испанским переводом, идеи и тестирование новых версий" - -#~ msgid "for the excelent JQuery color picker" -#~ msgstr "за отличный JQuery-плагин для работы с цветовой палитрой" - -#~ msgid "" -#~ "for the help with French translation, ideas, source code contributions " -#~ "and new versions testing" -#~ msgstr "" -#~ "за помощь с французским переводом, идеи, вклад в разработку и " -#~ "тестирование новых версий" - -#~ msgid "for setting page layout idea and html markup examples" -#~ msgstr "за идею по компоновке экрана с опциями и примеры HTML разметки" - -#~ msgid "for the form input slider code" -#~ msgstr "за код слайдера для текстового поля input HTML формы" - -#~ msgid "for the cute online button image generator" -#~ msgstr "за прекрасный онлайновый генератор изображений кнопок" - -#~ msgid "" -#~ "All settings for TYCB plugin will be return to the default values, " -#~ "Continue?" -#~ msgstr "" -#~ "Всем установкам для TYCB плагина будут возвращены значения по-умолчанию, " -#~ "Продолжить?" - -#~ msgid "" -#~ "All thanks counters for all posts will be set to 0,\\n all thanks click " -#~ "history will be cleared, Continue?" -#~ msgstr "" -#~ "Все счетчики благодарностей для всех статей будут обнулены,\\n вся " -#~ "история кликов по кнопкам благодарности будет обнулена, Продолжить?" - -#~ msgid "Display" -#~ msgstr "Отображение" - -#~ msgid "Display button at Pages" -#~ msgstr "Отображать на Страницах" - -#~ msgid "Display button at Home page, Categories/Tags archive pages" -#~ msgstr "Отображать на Домашней странице, архивах категорий/тэгов" - -#~ msgid "Do not show button for selected categories" -#~ msgstr "Не отображать кнопку для отмеченных категорий" - -#~ msgid "Position in the Post text" -#~ msgstr "Расположение в статье" - -#~ msgid "Before" -#~ msgstr "До" - -#~ msgid "At first page of multipaged posts only" -#~ msgstr "Только на первой странице многостраничных статей " - -#~ msgid "After" -#~ msgstr "После" - -#~ msgid "At last page of multipaged posts only" -#~ msgstr "Только на последней странице многостраничных статей" - -#~ msgid "Shortcode [thankyou]" -#~ msgstr "Аббревиатура [thankyou]" - -#~ msgid "Manual" -#~ msgstr "Вручную" - -#~ msgid "Button Caption" -#~ msgstr "Надпись на кнопке" - -#~ msgid "Button Styling" -#~ msgstr "Стиль для Кнопки" - -#~ msgid "Add style to the div:" -#~ msgstr "Cтиль для div" - -#~ msgid "e.g.," -#~ msgstr ", например, " - -#~ msgid "to the Caption font:" -#~ msgstr "для шрифта:" - -#~ msgid "font color: " -#~ msgstr "цвет шрифта:" - -#~ msgid "Size" -#~ msgstr "Размер" - -#~ msgid "Normal" -#~ msgstr "Нормальный" - -#~ msgid "Compact" -#~ msgstr "Компактный размер" - -#~ msgid "Form and Color" -#~ msgstr "Форма и Цвет" - -#~ msgid "Custom button image URL" -#~ msgstr "URL изображения собственной кнопки" - -#~ msgid "Width, px" -#~ msgstr "Ширина, px" - -#~ msgid "Height, px" -#~ msgstr "Высота, px" - -#~ msgid "Misc" -#~ msgstr "Разное" - -#~ msgid "Check IP-address" -#~ msgstr "Контролировать IP-адрес" - -#~ msgid "Only one Thanks for post for one IP-address limit" -#~ msgstr "Только одно Спасибо на статью с одного IP-адреса" - -#~ msgid "Time limit:" -#~ msgstr "Ограничение по времени:" - -#~ msgid "Forever" -#~ msgstr "Навсегда" - -#~ msgid "Only for this period" -#~ msgstr "Только на данный промежуток" - -#~ msgid "seconds" -#~ msgstr "секунд" - -#~ msgid "Display settings shortcuts" -#~ msgstr "Вывод служебных ссылок" - -#~ msgid "Add shortcuts next to the buttons for settings quick access" -#~ msgstr "" -#~ "Отобразить служебные ссылки справа от кнопок для быстрого доступа к " -#~ "разделу настроек" - -#~ msgid "Return to Defaults" -#~ msgstr "Вернуть значения по-умолчанию" - -#~ msgid "Restore the default values for all settings" -#~ msgstr "Восстановить значения по-умолчанию для всех установок" - -#~ msgid "Reset Counters" -#~ msgstr "Обнулить Счетчики" - -#~ msgid "Reset all thanks counters for the all posts" -#~ msgstr "Сбросить все счетчики благодарностей для всех статей" - -#~ msgid "Button DIV Style Preview" -#~ msgstr "Стиль для раздела Кнопки" - -#~ msgid "Post Title" -#~ msgstr "Заголовок статьи" - -#~ msgid "Back to main statistics" -#~ msgstr "Вернуться к основной статистике" - -#~ msgid "Not available" -#~ msgstr "Не доступен" - -#~ msgid "Details for “%s”" -#~ msgstr "Подробности для “%s”" - -#~ msgid "Post Id" -#~ msgstr "Id статьи" - -#~ msgid "Thanks Quant" -#~ msgstr "Количество благодарностей" - -#~ msgid "View Post" -#~ msgstr "Просмотр статьи" - -#~ msgid "View \"%s\"" -#~ msgstr "Просмотр \"%s\"" - -#~ msgid "Reset this post counter" -#~ msgstr "Обнулить счетчик для этой статьи" - -#~ msgid "" -#~ "You are about to reset this post '%s' thanks counter. Click 'Cancel' to " -#~ "do nothing, 'OK' to reset it." -#~ msgstr "" -#~ "Вы собираетесь обнулить счетчик этой статьи '%s'.\n" -#~ " Используйте 'Отмена' чтобы отказаться, 'OK' чтобы произвести обнуление." - -#~ msgid "Reset Counter" -#~ msgstr "Обнулить Счетчик" - -#~ msgid "Displaying %s–%s of %s" -#~ msgstr "Вывод %s–%s из %s" - -#~ msgid "IP address" -#~ msgstr "IP-адрес" - -#~ msgid "Last Thank Date" -#~ msgstr "Дата последней благодарности" - -#~ msgid "Look up IP country" -#~ msgstr "Найти страну по IP адресу" - -#~ msgid "Show all post dates" -#~ msgstr "Показать статьи за все даты" - -#~ msgid "Show Posts without Thanks" -#~ msgstr "Показать статьи без благодарностей" - -#~ msgid "Rows per page: " -#~ msgstr "Строк на страницу:" - -#~ msgid "Refresh" -#~ msgstr "Обновить" - -#~ msgid "descending" -#~ msgstr "убывающем" - -#~ msgid "Ascending order" -#~ msgstr "Возрастающий порядок" - -#~ msgid "ascending" -#~ msgstr "возрастающем" - -#~ msgid "Descending order" -#~ msgstr "Убывающий порядок" - -#~ msgid "Click to sort in %s order" -#~ msgstr "Щелкни для сортировки в %s порядке" - -#~ msgid "View details" -#~ msgstr "Просмотр деталей" - -#~ msgid "" -#~ "You are about to reset this post '%s' thanks counter.\n" -#~ " Click 'Cancel' to do nothing, 'OK' to reset it." -#~ msgstr "" -#~ "Вы собираетесь обнулить счетчик этой статьи '%s'.\n" -#~ " Используйте 'Отмена' чтобы отказаться, 'OK' чтобы произвести обнуление." - -#~ msgid "No posts with thanks found" -#~ msgstr "Статьи c благодарностями не найдены" - -#~ msgid "the latest or the most thanked post titles with total thanks quant" -#~ msgstr "" -#~ "Отблагдаренные пооследними статьи с общим количеством благодарностей или " -#~ "статьи с наибольшим количеством благодарностей" - -#~ msgid "Thanks Stat" -#~ msgstr "Статистика благодарностей" - -#~ msgid "Total quant of thanks: " -#~ msgstr "Общее количество благодарностей:" - -#~ msgid "Title:" -#~ msgstr "Заголовок статьи" - -#~ msgid "Number of posts to show:" -#~ msgstr "Количество статей для показа:" - -#~ msgid "What posts to show:" -#~ msgstr "Какие статьи показывать:" - -#~ msgid "Latest thanked" -#~ msgstr "Последние благодарности" - -#~ msgid "Most thanked" -#~ msgstr "Максимум благодарностей" - -#~ msgid "Total quant of thanks" -#~ msgstr "Общее количество благодарностей:" - -#~ msgid "Display total quant of thanks" -#~ msgstr "Показать общее количество благодарностей" - -#~ msgid "Check Full Statistics" -#~ msgstr "Просмотр полной статистики" - -#~ msgid "Plugin author home page" -#~ msgstr "Сайт автора плагина" - -#~ msgid "No thanks yet" -#~ msgstr "Пока благодарностей нет" - -#~ msgid "Posts number to show:" -#~ msgstr "Количество статей для показа:" - -#~ msgid "Display Full Statistics link" -#~ msgstr "Просмотр полной статистики" - -#~ msgid "Display plugin author link" -#~ msgstr "Показать ссылку на сайт автора плагина" - -#~ msgid "Latest Thanks" -#~ msgstr "Последние благодарности" - -#~ msgid "Most Thanked" -#~ msgstr "Максимум благодарностей" - -#~ msgid "Unknown Post!" -#~ msgstr "Неизвестная статья!" - -#~ msgid "Submit" -#~ msgstr "Отправить" - -#~ msgid "Show total quant of thanks" -#~ msgstr "Показать общее количество благодарностей" - -#~ msgid "" -#~ "This plugin installs the Thank You Counter Button for each of your blog " -#~ "post.\n" -#~ " It can have custom style in your blog posts." -#~ msgstr "" -#~ "Этот плагин добавляет кнопку подсчета благодарностей к каждой статье " -#~ "Вашего блога.\n" -#~ " Стиль и расположение кнопки могут быть адаптированы к " -#~ "стилю вашего блога." - -#~ msgid "" -#~ "To exclude Thank You button from particular post use shortcode " -#~ "[nothankyou] there" -#~ msgstr "" -#~ "Чтобы не показывать кнопку Спасибо для конкректной статьи, вставьте в ее " -#~ "текст код [notthankyou]" - -#~ msgid "(at most 15)" -#~ msgstr "(до 15)" - -#~ msgid "Before and After" -#~ msgstr "До и После" - -#~ msgid "Filter" -#~ msgstr "Фильтр" - -#~ msgid "Position" -#~ msgstr "Расположение" - -#~ msgid "Add style to the Thank You button's div, e.g.," -#~ msgstr "Добавить стиль в раздел div кнопки Спасибо" - -#~ msgid "Color" -#~ msgstr "Цвет" - -#~ msgid "Blue" -#~ msgstr "Синий" - -#~ msgid "Green" -#~ msgstr "Зеленый" - -#~ msgid "Grey" -#~ msgstr "Серый" - -#~ msgid "Black" -#~ msgstr "Черный" diff --git a/wp-content/plugins/user-role-editor/lang/user-role-editor-tr_TR.mo b/wp-content/plugins/user-role-editor/lang/user-role-editor-tr_TR.mo deleted file mode 100644 index 2360c57..0000000 Binary files a/wp-content/plugins/user-role-editor/lang/user-role-editor-tr_TR.mo and /dev/null differ diff --git a/wp-content/plugins/user-role-editor/lang/user-role-editor-tr_TR.po b/wp-content/plugins/user-role-editor/lang/user-role-editor-tr_TR.po deleted file mode 100644 index 183f321..0000000 --- a/wp-content/plugins/user-role-editor/lang/user-role-editor-tr_TR.po +++ /dev/null @@ -1,930 +0,0 @@ -# -# Translators: -# Abdullah Pazarbasi , 2014 -msgid "" -msgstr "" -"Project-Id-Version: User Role Editor\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-11 21:06+0100\n" -"PO-Revision-Date: 2015-09-11 21:16+0100\n" -"Last-Translator: Vladimir Garagulya \n" -"Language-Team: Turkish (Turkey) (http://www.transifex.com/projects/p/user-" -"role-editor/language/tr_TR/)\n" -"Language: tr_TR\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Poedit 1.5.4\n" -"X-Poedit-Basepath: .\n" -"X-Poedit-KeywordsList: __;_e;esc_html__;esc_html_e\n" -"X-Poedit-SourceCharset: UTF-8\n" -"X-Poedit-SearchPath-0: ..\n" - -#: ../includes/class-ure-lib.php:247 -msgid "Error: wrong request" -msgstr "Hata: yanlış talep" - -#: ../includes/class-ure-lib.php:280 ../includes/class-ure-lib.php:291 -msgid "Role name (ID): " -msgstr "Rol ismi (ID):" - -#: ../includes/class-ure-lib.php:282 ../includes/class-ure-lib.php:293 -msgid "Display Role Name: " -msgstr "Rol İsmini Görüntüle:" - -#: ../includes/class-ure-lib.php:284 -msgid "Make copy of: " -msgstr "Şundan kopyala:" - -#: ../includes/class-ure-lib.php:300 -msgid "Select Role:" -msgstr "Rol Seç:" - -#: ../includes/class-ure-lib.php:315 -msgid "Delete:" -msgstr "Sil:" - -#: ../includes/class-ure-lib.php:322 -msgid "Capability name (ID): " -msgstr "Kabiliyet ismi (ID):" - -#: ../includes/class-ure-lib.php:339 -#: ../includes/class-user-role-editor.php:596 -#: ../includes/class-user-role-editor.php:625 -msgid "User Role Editor" -msgstr "Kullanıcı Rol Editörü" - -#: ../includes/class-ure-lib.php:436 -msgid "Error: " -msgstr "Hata:" - -#: ../includes/class-ure-lib.php:436 -msgid "Role" -msgstr "Rol" - -#: ../includes/class-ure-lib.php:437 -msgid "does not exist" -msgstr "mevcut değil" - -#: ../includes/class-ure-lib.php:480 -msgid "Role is updated successfully" -msgstr "Rol başarıyla güncellendi" - -#: ../includes/class-ure-lib.php:482 -msgid "Roles are updated for all network" -msgstr "Roller tüm ağ için güncellendi" - -#: ../includes/class-ure-lib.php:488 -msgid "Error occured during role(s) update" -msgstr "Rol güncellemesi esnasında hata meydana geldi" - -#: ../includes/class-ure-lib.php:495 -msgid "User capabilities are updated successfully" -msgstr "Kullanıcı kabiliyetleri başarıyla güncellendi" - -#: ../includes/class-ure-lib.php:500 -msgid "Error occured during user update" -msgstr "Kullanıcı güncellemesi esnasında hata meydana geldi" - -#: ../includes/class-ure-lib.php:558 -msgid "User Roles are restored to WordPress default values. " -msgstr "Kullanıcı Rolleri WordPress varsayılanlarına geri döndürüldü." - -#: ../includes/class-ure-lib.php:1436 -msgid "read about" -msgstr "" - -#: ../includes/class-ure-lib.php:1437 -msgid "user capability" -msgstr "" - -#: ../includes/class-ure-lib.php:1438 -msgid "Help" -msgstr "Yardım" - -#: ../includes/class-ure-lib.php:1693 ../includes/class-ure-lib.php:1946 -#: ../includes/class-ure-lib.php:2062 ../includes/class-ure-lib.php:2110 -#: ../includes/class-ure-lib.php:2358 ../includes/class-ure-lib.php:2403 -#: ../includes/class-user-role-editor.php:828 -msgid "Insufficient permissions to work with User Role Editor" -msgstr "Kullanıcı Rol Editörü ile çalışmak için yetersiz izin" - -#: ../includes/class-ure-lib.php:1909 -msgid "Error is occur. Please check the log file." -msgstr "Hata oluştu. Lütfen günlük dosyasını denetleyiniz." - -#: ../includes/class-ure-lib.php:1955 ../includes/class-ure-lib.php:2022 -msgid "" -"Error: Role ID must contain latin characters, digits, hyphens or underscore " -"only!" -msgstr "" -"Hata: Rol ID yalnızca latin karakterleri, rakamlar, tireler veya alt " -"çizgiler içermeli!" - -#: ../includes/class-ure-lib.php:1959 ../includes/class-ure-lib.php:2026 -msgid "" -"Error: WordPress does not support numeric Role name (ID). Add latin " -"characters to it." -msgstr "" -"Hata: WordPress sayısal rol isimlerini (ID) desteklemiyor. Latin " -"karakterleri ekleyin." - -#: ../includes/class-ure-lib.php:1974 -#, php-format -msgid "Role %s exists already" -msgstr "%s rolü zaten mevcut" - -#: ../includes/class-ure-lib.php:1989 -msgid "Error is encountered during new role create operation" -msgstr "Yeni rol oluşturma işlemi sırasında hata oluştu" - -#: ../includes/class-ure-lib.php:1991 -#, php-format -msgid "Role %s is created successfully" -msgstr "%s rolü başarıyla oluşturuldu" - -#: ../includes/class-ure-lib.php:2015 -msgid "Error: Role ID is empty!" -msgstr "Hata: Rol ID'si boş!" - -#: ../includes/class-ure-lib.php:2033 -msgid "Error: Empty role display name is not allowed." -msgstr "Hata: Boş görünen rol adına izin yok." - -#: ../includes/class-ure-lib.php:2040 -#, php-format -msgid "Role %s does not exists" -msgstr "%s rolü mevcut değil" - -#: ../includes/class-ure-lib.php:2048 -#, php-format -msgid "Role %s is renamed to %s successfully" -msgstr "%s rolünün ismi %s olarak başarıyla değiştirildi" - -#: ../includes/class-ure-lib.php:2121 -msgid "Error encountered during role delete operation" -msgstr "Rol silme işlemi sırasında hata oluştu" - -#: ../includes/class-ure-lib.php:2123 -msgid "Unused roles are deleted successfully" -msgstr "Kullanılmayan roller başarıyla silindi" - -#: ../includes/class-ure-lib.php:2125 -#, php-format -msgid "Role %s is deleted successfully" -msgstr "%s rolü başarıyla silindi" - -#: ../includes/class-ure-lib.php:2153 -msgid "Error encountered during default role change operation" -msgstr "Varsayılan rol değişimi işlemi sırasında hata oluştu" - -#: ../includes/class-ure-lib.php:2156 -#, php-format -msgid "Default role for new users is set to %s successfully" -msgstr "Yeni kullanıcılar için varsayılan rol %s rolüne başarıyla ayarlandı" - -#: ../includes/class-ure-lib.php:2159 -#, fuzzy -msgid "Can not set Administrator role as a default one" -msgstr "Yönetici rolünü Kullanıcı Rol Editörü'nde göster" - -#: ../includes/class-ure-lib.php:2161 -#, fuzzy -msgid "This role does not exist - " -msgstr "%s rolü mevcut değil" - -#: ../includes/class-ure-lib.php:2177 -msgid "Editor" -msgstr "Editör" - -#: ../includes/class-ure-lib.php:2178 -msgid "Author" -msgstr "Yazar" - -#: ../includes/class-ure-lib.php:2179 -msgid "Contributor" -msgstr "İçerik Sağlayıcı" - -#: ../includes/class-ure-lib.php:2180 -msgid "Subscriber" -msgstr "Abone" - -#: ../includes/class-ure-lib.php:2182 -msgid "Switch themes" -msgstr "Tema değiştirme" - -#: ../includes/class-ure-lib.php:2183 -msgid "Edit themes" -msgstr "Tema düzenleme" - -#: ../includes/class-ure-lib.php:2184 -msgid "Activate plugins" -msgstr "Eklenti etkinleştirme" - -#: ../includes/class-ure-lib.php:2185 -msgid "Edit plugins" -msgstr "Eklenti düzenleme" - -#: ../includes/class-ure-lib.php:2186 -msgid "Edit users" -msgstr "Kullanıcı düzenleme" - -#: ../includes/class-ure-lib.php:2187 -msgid "Edit files" -msgstr "Dosya düzenleme" - -#: ../includes/class-ure-lib.php:2188 -msgid "Manage options" -msgstr "Seçenek yönetme" - -#: ../includes/class-ure-lib.php:2189 -msgid "Moderate comments" -msgstr "Yorum ılıtma" - -#: ../includes/class-ure-lib.php:2190 -msgid "Manage categories" -msgstr "Kategori yönetme" - -#: ../includes/class-ure-lib.php:2191 -msgid "Manage links" -msgstr "Bağlantı yönetme" - -#: ../includes/class-ure-lib.php:2192 -msgid "Upload files" -msgstr "Dosya yükleme" - -#: ../includes/class-ure-lib.php:2193 -msgid "Import" -msgstr "İçe Aktarma" - -#: ../includes/class-ure-lib.php:2194 -msgid "Unfiltered html" -msgstr "Süzülmemiş html" - -#: ../includes/class-ure-lib.php:2195 -msgid "Edit posts" -msgstr "Yazı düzenleme" - -#: ../includes/class-ure-lib.php:2196 -msgid "Edit others posts" -msgstr "Başkalarının yazılarını düzenleme" - -#: ../includes/class-ure-lib.php:2197 -msgid "Edit published posts" -msgstr "Yayımdaki yazıları düzenleme" - -#: ../includes/class-ure-lib.php:2198 -msgid "Publish posts" -msgstr "Yazı yayımlama" - -#: ../includes/class-ure-lib.php:2199 -msgid "Edit pages" -msgstr "Sayfa düzenleme" - -#: ../includes/class-ure-lib.php:2200 -msgid "Read" -msgstr "Okuma" - -#: ../includes/class-ure-lib.php:2201 -msgid "Level 10" -msgstr "Seviye 10" - -#: ../includes/class-ure-lib.php:2202 -msgid "Level 9" -msgstr "Seviye 9" - -#: ../includes/class-ure-lib.php:2203 -msgid "Level 8" -msgstr "Seviye 8" - -#: ../includes/class-ure-lib.php:2204 -msgid "Level 7" -msgstr "Seviye 7" - -#: ../includes/class-ure-lib.php:2205 -msgid "Level 6" -msgstr "Seviye 6" - -#: ../includes/class-ure-lib.php:2206 -msgid "Level 5" -msgstr "Seviye 5" - -#: ../includes/class-ure-lib.php:2207 -msgid "Level 4" -msgstr "Seviye 4" - -#: ../includes/class-ure-lib.php:2208 -msgid "Level 3" -msgstr "Seviye 3" - -#: ../includes/class-ure-lib.php:2209 -msgid "Level 2" -msgstr "Seviye 2" - -#: ../includes/class-ure-lib.php:2210 -msgid "Level 1" -msgstr "Seviye 1" - -#: ../includes/class-ure-lib.php:2211 -msgid "Level 0" -msgstr "Seviye 0" - -#: ../includes/class-ure-lib.php:2212 -msgid "Edit others pages" -msgstr "Başkalarının sayfalarını düzenleme" - -#: ../includes/class-ure-lib.php:2213 -msgid "Edit published pages" -msgstr "Yayımdaki sayfaları düzenleme" - -#: ../includes/class-ure-lib.php:2214 -msgid "Publish pages" -msgstr "Sayfa yayımlama" - -#: ../includes/class-ure-lib.php:2215 -msgid "Delete pages" -msgstr "Sayfa silme" - -#: ../includes/class-ure-lib.php:2216 -msgid "Delete others pages" -msgstr "Başkalarının sayfalarını silme" - -#: ../includes/class-ure-lib.php:2217 -msgid "Delete published pages" -msgstr "Yayımdaki sayfaları silme" - -#: ../includes/class-ure-lib.php:2218 -msgid "Delete posts" -msgstr "Yazı silme" - -#: ../includes/class-ure-lib.php:2219 -msgid "Delete others posts" -msgstr "Başkalarının yazılarını silme" - -#: ../includes/class-ure-lib.php:2220 -msgid "Delete published posts" -msgstr "Yayımdaki yazıları silme" - -#: ../includes/class-ure-lib.php:2221 -msgid "Delete private posts" -msgstr "Kişisel yazıları silme" - -#: ../includes/class-ure-lib.php:2222 -msgid "Edit private posts" -msgstr "Kişisel yazıları düzenleme" - -#: ../includes/class-ure-lib.php:2223 -msgid "Read private posts" -msgstr "Kişisel yazıları okuma" - -#: ../includes/class-ure-lib.php:2224 -msgid "Delete private pages" -msgstr "Kişisel sayfaları silme" - -#: ../includes/class-ure-lib.php:2225 -msgid "Edit private pages" -msgstr "Kişisel sayfaları düzenleme" - -#: ../includes/class-ure-lib.php:2226 -msgid "Read private pages" -msgstr "Kişisel sayfaları okuma" - -#: ../includes/class-ure-lib.php:2227 -msgid "Delete users" -msgstr "Kullanıcı silme" - -#: ../includes/class-ure-lib.php:2228 -msgid "Create users" -msgstr "Kullanıcı oluşturma" - -#: ../includes/class-ure-lib.php:2229 -msgid "Unfiltered upload" -msgstr "Süzülmemiş yükleme" - -#: ../includes/class-ure-lib.php:2230 -msgid "Edit dashboard" -msgstr "Panel düzenleme" - -#: ../includes/class-ure-lib.php:2231 -msgid "Update plugins" -msgstr "Eklenti güncelleme" - -#: ../includes/class-ure-lib.php:2232 -msgid "Delete plugins" -msgstr "Eklenti silme" - -#: ../includes/class-ure-lib.php:2233 -msgid "Install plugins" -msgstr "Eklenti kurma" - -#: ../includes/class-ure-lib.php:2234 -msgid "Update themes" -msgstr "Tema güncelleme" - -#: ../includes/class-ure-lib.php:2235 -msgid "Install themes" -msgstr "Tema kurma" - -#: ../includes/class-ure-lib.php:2236 -msgid "Update core" -msgstr "Çekirdek güncelleme" - -#: ../includes/class-ure-lib.php:2237 -msgid "List users" -msgstr "Kullanıcı listeleme" - -#: ../includes/class-ure-lib.php:2238 -msgid "Remove users" -msgstr "Kullanıcı kaldırma" - -#: ../includes/class-ure-lib.php:2239 -msgid "Add users" -msgstr "Kullanıcı ekleme" - -#: ../includes/class-ure-lib.php:2240 -msgid "Promote users" -msgstr "Kullanıcı teşvik etme" - -#: ../includes/class-ure-lib.php:2241 -msgid "Edit theme options" -msgstr "Tema seçenekleri düzenleme" - -#: ../includes/class-ure-lib.php:2242 -msgid "Delete themes" -msgstr "Tema silme" - -#: ../includes/class-ure-lib.php:2243 -msgid "Export" -msgstr "Dışa Aktarma" - -#: ../includes/class-ure-lib.php:2366 -msgid "Error: Capability name must contain latin characters and digits only!" -msgstr "Hata: Kabiliyet ismi yalnızca latin karakterleri ve rakamlar içermeli!" - -#: ../includes/class-ure-lib.php:2379 -#, php-format -msgid "Capability %s is added successfully" -msgstr "%s kabiliyeti başarıyla eklendi" - -#: ../includes/class-ure-lib.php:2381 -#, php-format -msgid "Capability %s exists already" -msgstr "%s kabiliyeti zaten mevcut" - -#: ../includes/class-ure-lib.php:2410 -#, php-format -msgid "Error! You do not have permission to delete this capability: %s!" -msgstr "Hata! Bu kabiliyeti silmeye izniniz yok: %s!" - -#: ../includes/class-ure-lib.php:2429 -#, fuzzy, php-format -msgid "Capability %s was removed successfully" -msgstr "%s kabiliyeti başarıyla kaldırıldı" - -#: ../includes/class-ure-lib.php:2497 -msgid "Version:" -msgstr "Sürüm:" - -#: ../includes/class-ure-lib.php:2498 -msgid "Author's website" -msgstr "Yazarın web sitesi" - -#: ../includes/class-ure-lib.php:2499 -msgid "Plugin webpage" -msgstr "Eklenti web sayfası" - -#: ../includes/class-ure-lib.php:2500 -msgid "Plugin download" -msgstr "Eklenti indirme" - -#: ../includes/class-ure-lib.php:2501 -#: ../includes/class-user-role-editor.php:546 -msgid "Changelog" -msgstr "Değişiklik Günlüğü" - -#: ../includes/class-ure-lib.php:2502 -msgid "FAQ" -msgstr "S.S.S." - -#: ../includes/class-ure-lib.php:2575 -msgid "Delete All Unused Roles" -msgstr "Tüm Kullanılmayan Rolleri Sil" - -#: ../includes/class-ure-lib.php:2588 -msgid "None" -msgstr "Hiçbiri" - -#: ../includes/class-ure-lib.php:2632 -msgid "— No role for this site —" -msgstr "— Bu site için hiç rol yok —" - -#: ../includes/class-ure-lib.php:2747 -#, php-format -msgid "Denied: %s" -msgstr "" - -#: ../includes/ure-role-edit.php:17 -msgid "Select Role and change its capabilities:" -msgstr "Rol seçin ve rolün kabiliyetlerini değiştirin:" - -#: ../includes/ure-role-edit.php:30 ../includes/ure-user-edit.php:54 -msgid "Show capabilities in human readable form" -msgstr "Kabiliyetleri insancıl biçimde göster" - -#: ../includes/ure-role-edit.php:40 ../includes/class-ure-screen-help.php:21 -#: ../includes/settings-template.php:69 ../includes/ure-user-edit.php:64 -msgid "Show deprecated capabilities" -msgstr "Önerilmeyen kabiliyetleri göster" - -#: ../includes/ure-role-edit.php:44 -msgid "If checked, then apply action to ALL sites of this Network" -msgstr "İşaretliyse işlem bu Ağdaki TÜM sitelere uygulanır" - -#: ../includes/ure-role-edit.php:56 -msgid "Apply to All Sites" -msgstr "Tüm Sitelere Uygula" - -#: ../includes/ure-role-edit.php:63 ../includes/ure-user-edit.php:110 -msgid "Core capabilities:" -msgstr "Çekirdek kabiliyetler:" - -#: ../includes/ure-role-edit.php:65 ../includes/ure-user-edit.php:112 -msgid "Quick filter:" -msgstr "Hızlı süzgeç:" - -#: ../includes/ure-role-edit.php:83 ../includes/ure-user-edit.php:131 -msgid "Custom capabilities:" -msgstr "Özel kabiliyetler:" - -#: ../includes/class-user-other-roles.php:82 -#: ../includes/class-user-other-roles.php:183 -#: ../includes/class-user-other-roles.php:243 -msgid "Other Roles" -msgstr "Diğer Roller" - -#: ../includes/class-user-other-roles.php:83 -msgid "Select additional roles for this user" -msgstr "" - -#: ../includes/class-user-other-roles.php:162 -#: ../includes/class-user-role-editor.php:438 -msgid "Capabilities" -msgstr "Kabiliyetler" - -#: ../includes/class-user-other-roles.php:169 -msgid "Edit" -msgstr "Düzenle" - -#: ../includes/class-user-other-roles.php:215 -#, fuzzy -msgid "Additional Capabilities" -msgstr "Kabiliyet Ekle" - -#: ../includes/class-ure-screen-help.php:12 -#: ../includes/class-ure-screen-help.php:41 -#: ../includes/class-ure-screen-help.php:60 -#: ../includes/class-ure-screen-help.php:79 -msgid "User Role Editor Options page help" -msgstr "Kullanıcı Rol Editörü Seçenekler" - -#: ../includes/class-ure-screen-help.php:15 -#: ../includes/settings-template.php:53 -msgid "Show Administrator role at User Role Editor" -msgstr "Yönetici rolünü Kullanıcı Rol Editörü'nde göster" - -#: ../includes/class-ure-screen-help.php:16 -msgid "" -"turn this option on in order to make the \"Administrator\" role available at " -"the User Role Editor roles selection drop-down list. It is hidden by default " -"for security reasons." -msgstr "" -"\"Yönetici\" rolünün Kullanıcı Rol Editörü rol seçim açılır listesinde yer " -"alması için bu seçeneği açık yapın. Güvenlik sebebiyle varsayılan olarak " -"gizlenmiştir." - -#: ../includes/class-ure-screen-help.php:18 -#: ../includes/settings-template.php:61 -msgid "Show capabilities in the human readable form" -msgstr "Kabiliyetleri insancıl biçimde göster" - -#: ../includes/class-ure-screen-help.php:19 -msgid "" -"automatically converts capability names from the technical form for internal " -"use like \"edit_others_posts\" to more user friendly form, e.g. \"Edit " -"others posts\"." -msgstr "" -"otomatik olarak \"edit_others_post\" gibi teknik biçimdeki kabiliyet " -"isimlerini dahili kullanım için daha kullanıcı dostu biçime dönüştürür, " -"mesela \"Başkalarının yazılarını düzenleme\"." - -#: ../includes/class-ure-screen-help.php:22 -msgid "" -"Capabilities like \"level_0\", \"level_1\" are deprecated and are not used " -"by WordPress. They are left at the user roles for the compatibility purpose " -"with the old themes and plugins code. Turning on this option will show those " -"deprecated capabilities." -msgstr "" -"\"level_0\", \"level_1\" gibi kabiliyetler önerilmemektedir ve WordPress " -"tarafından kullanılmamaktadır. Bunlara eski temalar ve eklentiler ile " -"uyumluluğun korunması amacıyla kullanıcı rolleri arasında yer verilmiştir. " -"Bu seçeneği açık yapmak bu önerilmeyen kabiliyetleri görünür yapacaktır." - -#: ../includes/class-ure-screen-help.php:25 -#: ../includes/settings-template.php:77 -msgid "Edit user capabilities" -msgstr "Özel kabiliyetler düzenleme" - -#: ../includes/class-ure-screen-help.php:26 -msgid "" -"If turned off - capabilities section of selected user is shown in readonly " -"mode. Administrator can not assign capabilities to the user directly. He " -"should make it using roles only." -msgstr "" - -#: ../includes/class-ure-screen-help.php:45 -#: ../includes/settings-template.php:111 -msgid "Count users without role" -msgstr "Rolsüz kullanıcıları say" - -#: ../includes/class-ure-screen-help.php:46 -msgid "" -"Show at the \"Users\" page a quant of users without role. Module allows to " -"assign all of them an empty role \"No rights\", in order to look on the " -"users list with role \"No rights\" at the separate tab then." -msgstr "" -"Rolsüz birkaç kullanıcıyı \"Kullanıcılar\" sayfasında gösterin. Modül " -"onların hepsini \"Haksız\" isimli boş bir role atanmasına, daha sonra ayrı " -"bir sekmede herhangi hakkı olmayan kullanıcıları görebilmek için izin verir." - -#: ../includes/class-ure-screen-help.php:63 -msgid "Other default roles for new registered user" -msgstr "Yeni kayıtlı kullanıcılar için diğer varsayılan roller" - -#: ../includes/class-ure-screen-help.php:64 -msgid "" -"select roles below to assign them to the new user automatically as an " -"addition to the primary role. Note for multisite environment: take into " -"account that other default roles should exist at the site, in order to be " -"assigned to the new registered users." -msgstr "" -"Aşağıdan yeni kullanıcılara birincil rollerine ilaveten otomatik olarak " -"atanması için roller seçin. Çoklu site ortamları için unutulmaması gereken: " -"take into account that other default roles should exist at the site, in " -"order to be assigned to the new registered users." - -#: ../includes/class-ure-screen-help.php:82 -msgid "Allow non super-admininstrators to create, edit and delete users" -msgstr "" -"Süper yönetici olmayanların kullanıcı oluşturma, düzenleme ve silmelerine " -"izin ver" - -#: ../includes/class-ure-screen-help.php:83 -msgid "" -"Super administrator only may create, edit and delete users under WordPress " -"multi-site by default. Turn this option on in order to remove this " -"limitation." -msgstr "" -"Süper yönetici WordPress çoklu site yapısında varsayılan olarak " -"kullanıcıları yalnızca oluşturur, düzenler ve siler. Bu kısıtlamayı " -"kaldırmak için bu seçeneği açık yapın." - -#: ../includes/class-user-role-editor.php:233 -msgid "Change role for users without role" -msgstr "Rolsüz kullanıcıların rolünü değiştir" - -#: ../includes/class-user-role-editor.php:234 -msgid "No rights" -msgstr "İzin yok" - -#: ../includes/class-user-role-editor.php:235 -msgid "Provide new role" -msgstr "Yeni rol sağla" - -#: ../includes/class-user-role-editor.php:298 -#: ../includes/class-user-role-editor.php:300 -msgid "You do not have permission to edit this user." -msgstr "Bu kullanıcıyı düzenlemek için izniniz yok." - -#: ../includes/class-user-role-editor.php:535 -msgid "Settings" -msgstr "Ayarlar" - -#: ../includes/class-user-role-editor.php:568 -#: ../includes/settings-template.php:21 -msgid "General" -msgstr "Genel" - -#: ../includes/class-user-role-editor.php:574 -#: ../includes/settings-template.php:26 -msgid "Additional Modules" -msgstr "İlave Modüller" - -#: ../includes/class-user-role-editor.php:580 -#: ../includes/settings-template.php:30 -msgid "Default Roles" -msgstr "Varsayılan Roller" - -#: ../includes/class-user-role-editor.php:586 -#: ../includes/settings-template.php:34 -msgid "Multisite" -msgstr "Çoklu site" - -#: ../includes/class-user-role-editor.php:685 -#: ../includes/class-user-role-editor.php:703 -#: ../includes/class-user-role-editor.php:747 -msgid "User Role Editor options are updated" -msgstr "Kullanıcı Rol Editörü seçenekleri güncellendi" - -#: ../includes/class-user-role-editor.php:731 -msgid "Default Roles are updated" -msgstr "Varsayılan Roller güncellendi" - -#: ../includes/class-user-role-editor.php:756 -msgid "" -"You do not have sufficient permissions to manage options for User Role " -"Editor." -msgstr "Kullanıcı Rol Editörü seçeneklerini yönetmek için yeterli izniniz yok." - -#: ../includes/class-user-role-editor.php:885 -msgid "Select All" -msgstr "Hepsini Seç" - -#: ../includes/class-user-role-editor.php:886 -msgid "Unselect All" -msgstr "Hiçbirini Seçme" - -#: ../includes/class-user-role-editor.php:887 -msgid "Reverse" -msgstr "Evir" - -#: ../includes/class-user-role-editor.php:888 -msgid "Update" -msgstr "Güncelle" - -#: ../includes/class-user-role-editor.php:889 -msgid "Please confirm permissions update" -msgstr "Lütfen izin güncellemesini onaylayın" - -#: ../includes/class-user-role-editor.php:890 -msgid "Add New Role" -msgstr "Yeni Rol Ekle" - -#: ../includes/class-user-role-editor.php:891 -#: ../includes/class-user-role-editor.php:896 -msgid "Rename Role" -msgstr "Rol İsmi Değiştir" - -#: ../includes/class-user-role-editor.php:892 -msgid " Role name (ID) can not be empty!" -msgstr "Rol ismi (ID) boş olamaz!" - -#: ../includes/class-user-role-editor.php:893 -msgid "" -" Role name (ID) must contain latin characters, digits, hyphens or underscore " -"only!" -msgstr "" -"Rol ismi (ID) yalnızca latin karakterleri, rakamlar, tireler veya alt " -"çizgiler içermeli!" - -#: ../includes/class-user-role-editor.php:894 -msgid "" -" WordPress does not support numeric Role name (ID). Add latin characters to " -"it." -msgstr "" -"WordPress sayısal rol ismi (ID) desteklemiyor. Latin karakterler ekleyin." - -#: ../includes/class-user-role-editor.php:895 -msgid "Add Role" -msgstr "Rol Ekle" - -#: ../includes/class-user-role-editor.php:897 -msgid "Delete Role" -msgstr "Rol Sil" - -#: ../includes/class-user-role-editor.php:898 -msgid "Cancel" -msgstr "İptal" - -#: ../includes/class-user-role-editor.php:899 -msgid "Add Capability" -msgstr "Kabiliyet Ekle" - -#: ../includes/class-user-role-editor.php:900 -#: ../includes/class-user-role-editor.php:909 -msgid "Delete Capability" -msgstr "Kabiliyet Sil" - -#: ../includes/class-user-role-editor.php:901 -msgid "Reset" -msgstr "Sıfırla" - -#: ../includes/class-user-role-editor.php:902 -msgid "DANGER! Resetting will restore default settings from WordPress Core." -msgstr "" -"TEHLİKE! Sıfırlama WordPress Çekirdeğinin varsayılan ayarlarını geri yükler." - -#: ../includes/class-user-role-editor.php:903 -msgid "" -"If any plugins have changed capabilities in any way upon installation (such " -"as S2Member, WooCommerce, and many more), those capabilities will be DELETED!" -msgstr "" -"Herhangi eklenti (S2Member, WooCommerce gibi) kurulumdan sonra herhangi " -"yoldan kabiliyetleri değiştirdiyse, o kabiliyetler SİLİNİR!" - -#: ../includes/class-user-role-editor.php:904 -msgid "" -"For more information on how to undo changes and restore plugin capabilities " -"go to" -msgstr "" -"Değişiklikleri geri alma ve eklenti kabiliyetlerini geri yükleme hakkında " -"daha fazla bilgi için gideceğiniz adres:" - -#: ../includes/class-user-role-editor.php:906 -msgid "Continue?" -msgstr "Devam mı?" - -#: ../includes/class-user-role-editor.php:907 -msgid "Default Role" -msgstr "Varsayılan Rol" - -#: ../includes/class-user-role-editor.php:908 -msgid "Set New Default Role" -msgstr "Yeni Varsayılan Rol Belirle" - -#: ../includes/class-user-role-editor.php:910 -msgid "" -"Warning! Be careful - removing critical capability could crash some plugin " -"or other custom code" -msgstr "" -"Uyarı! Dikkatli olun - kritik kabiliyetleri kaldırmak bazı eklentileri veya " -"diğer özel kodları bozabilir" - -#: ../includes/class-user-role-editor.php:911 -msgid " Capability name (ID) can not be empty!" -msgstr "Kabiliyet ismi (ID) boş olamaz!" - -#: ../includes/class-user-role-editor.php:912 -msgid "" -" Capability name (ID) must contain latin characters, digits, hyphens or " -"underscore only!" -msgstr "" -"Kabiliyet ismi (ID) yalnızca latin karakterleri, rakamlar, tireler veya alt " -"çizgiler içermeli!" - -#: ../includes/settings-template.php:17 -msgid "User Role Editor - Options" -msgstr "Kullanıcı Rol Editörü - Seçenekler" - -#: ../includes/settings-template.php:39 -msgid "About" -msgstr "Hakkında" - -#: ../includes/settings-template.php:90 ../includes/settings-template.php:126 -#: ../includes/settings-template.php:158 ../includes/settings-template.php:190 -msgid "Save" -msgstr "Sakla" - -#: ../includes/settings-template.php:138 -msgid "Primary default role: " -msgstr "Birincil varsayılan rol:" - -#: ../includes/settings-template.php:145 -msgid "Other default roles for new registered user: " -msgstr "Yeni kaydolan kullanıcılar için diğer varsayılan roller:" - -#: ../includes/settings-template.php:151 -msgid "" -"Note for multisite environment: take into account that other default roles " -"should exist at the site, in order to be assigned to the new registered " -"users." -msgstr "" -"Çoklu site ortamı için hatırlatma: diğer varsayılan rollerin yeni kaydolan " -"kullanıcılara atanması için sitede bulunması gerektiğini olduğunu hesaba " -"katın." - -#: ../includes/settings-template.php:177 -msgid "Allow non super administrators to create, edit, and delete users" -msgstr "" -"Süper yönetici olmayanların kullanıcı oluşturma, düzenleme ve silmelerine " -"izin ver" - -#: ../includes/ure-user-edit.php:32 -msgid "Network Super Admin" -msgstr "Ağ Süper Yöneticisi" - -#: ../includes/ure-user-edit.php:35 -msgid "Change capabilities for user" -msgstr "Kullanıcının kabiliyetlerini değiştir" - -#: ../includes/ure-user-edit.php:72 -msgid "Primary Role:" -msgstr "Birincil Rol:" - -#: ../includes/ure-user-edit.php:82 -msgid "bbPress Role:" -msgstr "bbPress Rolü:" - -#: ../includes/ure-user-edit.php:92 -msgid "Other Roles:" -msgstr "Diğer Roller:" diff --git a/wp-content/plugins/user-role-editor/lang/user-role-editor.mo b/wp-content/plugins/user-role-editor/lang/user-role-editor.mo index 5da9073..0778eac 100644 Binary files a/wp-content/plugins/user-role-editor/lang/user-role-editor.mo and b/wp-content/plugins/user-role-editor/lang/user-role-editor.mo differ diff --git a/wp-content/plugins/user-role-editor/lang/user-role-editor.pot b/wp-content/plugins/user-role-editor/lang/user-role-editor.pot index 2c19a52..c692df2 100644 --- a/wp-content/plugins/user-role-editor/lang/user-role-editor.pot +++ b/wp-content/plugins/user-role-editor/lang/user-role-editor.pot @@ -2,9 +2,9 @@ msgid "" msgstr "" "Project-Id-Version: User Role Editor 4.19.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-11 21:06+0100\n" +"POT-Creation-Date: 2015-12-11 11:28+0700\n" "PO-Revision-Date: \n" -"Last-Translator: Vladimir Garagulya \n" +"Last-Translator: Vladimir Garagulya \n" "Language-Team: https://www.role-editor.com \n" "Language: en_EN\n" "MIME-Version: 1.0\n" @@ -16,503 +16,6 @@ msgstr "" "X-Generator: Poedit 1.5.4\n" "X-Poedit-SearchPath-0: ..\n" -#: ../includes/class-ure-lib.php:247 -msgid "Error: wrong request" -msgstr "" - -#: ../includes/class-ure-lib.php:280 ../includes/class-ure-lib.php:291 -msgid "Role name (ID): " -msgstr "" - -#: ../includes/class-ure-lib.php:282 ../includes/class-ure-lib.php:293 -msgid "Display Role Name: " -msgstr "" - -#: ../includes/class-ure-lib.php:284 -msgid "Make copy of: " -msgstr "" - -#: ../includes/class-ure-lib.php:300 -msgid "Select Role:" -msgstr "" - -#: ../includes/class-ure-lib.php:315 -msgid "Delete:" -msgstr "" - -#: ../includes/class-ure-lib.php:322 -msgid "Capability name (ID): " -msgstr "" - -#: ../includes/class-ure-lib.php:339 -#: ../includes/class-user-role-editor.php:596 -#: ../includes/class-user-role-editor.php:625 -msgid "User Role Editor" -msgstr "" - -#: ../includes/class-ure-lib.php:436 -msgid "Error: " -msgstr "" - -#: ../includes/class-ure-lib.php:436 -msgid "Role" -msgstr "" - -#: ../includes/class-ure-lib.php:437 -msgid "does not exist" -msgstr "" - -#: ../includes/class-ure-lib.php:480 -msgid "Role is updated successfully" -msgstr "" - -#: ../includes/class-ure-lib.php:482 -msgid "Roles are updated for all network" -msgstr "" - -#: ../includes/class-ure-lib.php:488 -msgid "Error occured during role(s) update" -msgstr "" - -#: ../includes/class-ure-lib.php:495 -msgid "User capabilities are updated successfully" -msgstr "" - -#: ../includes/class-ure-lib.php:500 -msgid "Error occured during user update" -msgstr "" - -#: ../includes/class-ure-lib.php:558 -msgid "User Roles are restored to WordPress default values. " -msgstr "" - -#: ../includes/class-ure-lib.php:1436 -msgid "read about" -msgstr "" - -#: ../includes/class-ure-lib.php:1437 -msgid "user capability" -msgstr "" - -#: ../includes/class-ure-lib.php:1438 -msgid "Help" -msgstr "" - -#: ../includes/class-ure-lib.php:1693 ../includes/class-ure-lib.php:1946 -#: ../includes/class-ure-lib.php:2062 ../includes/class-ure-lib.php:2110 -#: ../includes/class-ure-lib.php:2358 ../includes/class-ure-lib.php:2403 -#: ../includes/class-user-role-editor.php:828 -msgid "Insufficient permissions to work with User Role Editor" -msgstr "" - -#: ../includes/class-ure-lib.php:1909 -msgid "Error is occur. Please check the log file." -msgstr "" - -#: ../includes/class-ure-lib.php:1955 ../includes/class-ure-lib.php:2022 -msgid "" -"Error: Role ID must contain latin characters, digits, hyphens or underscore " -"only!" -msgstr "" - -#: ../includes/class-ure-lib.php:1959 ../includes/class-ure-lib.php:2026 -msgid "" -"Error: WordPress does not support numeric Role name (ID). Add latin " -"characters to it." -msgstr "" - -#: ../includes/class-ure-lib.php:1974 -#, php-format -msgid "Role %s exists already" -msgstr "" - -#: ../includes/class-ure-lib.php:1989 -msgid "Error is encountered during new role create operation" -msgstr "" - -#: ../includes/class-ure-lib.php:1991 -#, php-format -msgid "Role %s is created successfully" -msgstr "" - -#: ../includes/class-ure-lib.php:2015 -msgid "Error: Role ID is empty!" -msgstr "" - -#: ../includes/class-ure-lib.php:2033 -msgid "Error: Empty role display name is not allowed." -msgstr "" - -#: ../includes/class-ure-lib.php:2040 -#, php-format -msgid "Role %s does not exists" -msgstr "" - -#: ../includes/class-ure-lib.php:2048 -#, php-format -msgid "Role %s is renamed to %s successfully" -msgstr "" - -#: ../includes/class-ure-lib.php:2121 -msgid "Error encountered during role delete operation" -msgstr "" - -#: ../includes/class-ure-lib.php:2123 -msgid "Unused roles are deleted successfully" -msgstr "" - -#: ../includes/class-ure-lib.php:2125 -#, php-format -msgid "Role %s is deleted successfully" -msgstr "" - -#: ../includes/class-ure-lib.php:2153 -msgid "Error encountered during default role change operation" -msgstr "" - -#: ../includes/class-ure-lib.php:2156 -#, php-format -msgid "Default role for new users is set to %s successfully" -msgstr "" - -#: ../includes/class-ure-lib.php:2159 -msgid "Can not set Administrator role as a default one" -msgstr "" - -#: ../includes/class-ure-lib.php:2161 -msgid "This role does not exist - " -msgstr "" - -#: ../includes/class-ure-lib.php:2177 -msgid "Editor" -msgstr "" - -#: ../includes/class-ure-lib.php:2178 -msgid "Author" -msgstr "" - -#: ../includes/class-ure-lib.php:2179 -msgid "Contributor" -msgstr "" - -#: ../includes/class-ure-lib.php:2180 -msgid "Subscriber" -msgstr "" - -#: ../includes/class-ure-lib.php:2182 -msgid "Switch themes" -msgstr "" - -#: ../includes/class-ure-lib.php:2183 -msgid "Edit themes" -msgstr "" - -#: ../includes/class-ure-lib.php:2184 -msgid "Activate plugins" -msgstr "" - -#: ../includes/class-ure-lib.php:2185 -msgid "Edit plugins" -msgstr "" - -#: ../includes/class-ure-lib.php:2186 -msgid "Edit users" -msgstr "" - -#: ../includes/class-ure-lib.php:2187 -msgid "Edit files" -msgstr "" - -#: ../includes/class-ure-lib.php:2188 -msgid "Manage options" -msgstr "" - -#: ../includes/class-ure-lib.php:2189 -msgid "Moderate comments" -msgstr "" - -#: ../includes/class-ure-lib.php:2190 -msgid "Manage categories" -msgstr "" - -#: ../includes/class-ure-lib.php:2191 -msgid "Manage links" -msgstr "" - -#: ../includes/class-ure-lib.php:2192 -msgid "Upload files" -msgstr "" - -#: ../includes/class-ure-lib.php:2193 -msgid "Import" -msgstr "" - -#: ../includes/class-ure-lib.php:2194 -msgid "Unfiltered html" -msgstr "" - -#: ../includes/class-ure-lib.php:2195 -msgid "Edit posts" -msgstr "" - -#: ../includes/class-ure-lib.php:2196 -msgid "Edit others posts" -msgstr "" - -#: ../includes/class-ure-lib.php:2197 -msgid "Edit published posts" -msgstr "" - -#: ../includes/class-ure-lib.php:2198 -msgid "Publish posts" -msgstr "" - -#: ../includes/class-ure-lib.php:2199 -msgid "Edit pages" -msgstr "" - -#: ../includes/class-ure-lib.php:2200 -msgid "Read" -msgstr "" - -#: ../includes/class-ure-lib.php:2201 -msgid "Level 10" -msgstr "" - -#: ../includes/class-ure-lib.php:2202 -msgid "Level 9" -msgstr "" - -#: ../includes/class-ure-lib.php:2203 -msgid "Level 8" -msgstr "" - -#: ../includes/class-ure-lib.php:2204 -msgid "Level 7" -msgstr "" - -#: ../includes/class-ure-lib.php:2205 -msgid "Level 6" -msgstr "" - -#: ../includes/class-ure-lib.php:2206 -msgid "Level 5" -msgstr "" - -#: ../includes/class-ure-lib.php:2207 -msgid "Level 4" -msgstr "" - -#: ../includes/class-ure-lib.php:2208 -msgid "Level 3" -msgstr "" - -#: ../includes/class-ure-lib.php:2209 -msgid "Level 2" -msgstr "" - -#: ../includes/class-ure-lib.php:2210 -msgid "Level 1" -msgstr "" - -#: ../includes/class-ure-lib.php:2211 -msgid "Level 0" -msgstr "" - -#: ../includes/class-ure-lib.php:2212 -msgid "Edit others pages" -msgstr "" - -#: ../includes/class-ure-lib.php:2213 -msgid "Edit published pages" -msgstr "" - -#: ../includes/class-ure-lib.php:2214 -msgid "Publish pages" -msgstr "" - -#: ../includes/class-ure-lib.php:2215 -msgid "Delete pages" -msgstr "" - -#: ../includes/class-ure-lib.php:2216 -msgid "Delete others pages" -msgstr "" - -#: ../includes/class-ure-lib.php:2217 -msgid "Delete published pages" -msgstr "" - -#: ../includes/class-ure-lib.php:2218 -msgid "Delete posts" -msgstr "" - -#: ../includes/class-ure-lib.php:2219 -msgid "Delete others posts" -msgstr "" - -#: ../includes/class-ure-lib.php:2220 -msgid "Delete published posts" -msgstr "" - -#: ../includes/class-ure-lib.php:2221 -msgid "Delete private posts" -msgstr "" - -#: ../includes/class-ure-lib.php:2222 -msgid "Edit private posts" -msgstr "" - -#: ../includes/class-ure-lib.php:2223 -msgid "Read private posts" -msgstr "" - -#: ../includes/class-ure-lib.php:2224 -msgid "Delete private pages" -msgstr "" - -#: ../includes/class-ure-lib.php:2225 -msgid "Edit private pages" -msgstr "" - -#: ../includes/class-ure-lib.php:2226 -msgid "Read private pages" -msgstr "" - -#: ../includes/class-ure-lib.php:2227 -msgid "Delete users" -msgstr "" - -#: ../includes/class-ure-lib.php:2228 -msgid "Create users" -msgstr "" - -#: ../includes/class-ure-lib.php:2229 -msgid "Unfiltered upload" -msgstr "" - -#: ../includes/class-ure-lib.php:2230 -msgid "Edit dashboard" -msgstr "" - -#: ../includes/class-ure-lib.php:2231 -msgid "Update plugins" -msgstr "" - -#: ../includes/class-ure-lib.php:2232 -msgid "Delete plugins" -msgstr "" - -#: ../includes/class-ure-lib.php:2233 -msgid "Install plugins" -msgstr "" - -#: ../includes/class-ure-lib.php:2234 -msgid "Update themes" -msgstr "" - -#: ../includes/class-ure-lib.php:2235 -msgid "Install themes" -msgstr "" - -#: ../includes/class-ure-lib.php:2236 -msgid "Update core" -msgstr "" - -#: ../includes/class-ure-lib.php:2237 -msgid "List users" -msgstr "" - -#: ../includes/class-ure-lib.php:2238 -msgid "Remove users" -msgstr "" - -#: ../includes/class-ure-lib.php:2239 -msgid "Add users" -msgstr "" - -#: ../includes/class-ure-lib.php:2240 -msgid "Promote users" -msgstr "" - -#: ../includes/class-ure-lib.php:2241 -msgid "Edit theme options" -msgstr "" - -#: ../includes/class-ure-lib.php:2242 -msgid "Delete themes" -msgstr "" - -#: ../includes/class-ure-lib.php:2243 -msgid "Export" -msgstr "" - -#: ../includes/class-ure-lib.php:2366 -msgid "Error: Capability name must contain latin characters and digits only!" -msgstr "" - -#: ../includes/class-ure-lib.php:2379 -#, php-format -msgid "Capability %s is added successfully" -msgstr "" - -#: ../includes/class-ure-lib.php:2381 -#, php-format -msgid "Capability %s exists already" -msgstr "" - -#: ../includes/class-ure-lib.php:2410 -#, php-format -msgid "Error! You do not have permission to delete this capability: %s!" -msgstr "" - -#: ../includes/class-ure-lib.php:2429 -#, php-format -msgid "Capability %s was removed successfully" -msgstr "" - -#: ../includes/class-ure-lib.php:2497 -msgid "Version:" -msgstr "" - -#: ../includes/class-ure-lib.php:2498 -msgid "Author's website" -msgstr "" - -#: ../includes/class-ure-lib.php:2499 -msgid "Plugin webpage" -msgstr "" - -#: ../includes/class-ure-lib.php:2500 -msgid "Plugin download" -msgstr "" - -#: ../includes/class-ure-lib.php:2501 -#: ../includes/class-user-role-editor.php:546 -msgid "Changelog" -msgstr "" - -#: ../includes/class-ure-lib.php:2502 -msgid "FAQ" -msgstr "" - -#: ../includes/class-ure-lib.php:2575 -msgid "Delete All Unused Roles" -msgstr "" - -#: ../includes/class-ure-lib.php:2588 -msgid "None" -msgstr "" - -#: ../includes/class-ure-lib.php:2632 -msgid "— No role for this site —" -msgstr "" - -#: ../includes/class-ure-lib.php:2747 -#, php-format -msgid "Denied: %s" -msgstr "" - #: ../includes/ure-role-edit.php:17 msgid "Select Role and change its capabilities:" msgstr "" @@ -521,8 +24,8 @@ msgstr "" msgid "Show capabilities in human readable form" msgstr "" -#: ../includes/ure-role-edit.php:40 ../includes/class-ure-screen-help.php:21 -#: ../includes/settings-template.php:69 ../includes/ure-user-edit.php:64 +#: ../includes/ure-role-edit.php:40 ../includes/settings-template.php:69 +#: ../includes/ure-user-edit.php:64 ../includes/class-ure-screen-help.php:21 msgid "Show deprecated capabilities" msgstr "" @@ -546,6 +49,276 @@ msgstr "" msgid "Custom capabilities:" msgstr "" +#: ../includes/class-user-role-editor.php:231 +msgid "Change role for users without role" +msgstr "" + +#: ../includes/class-user-role-editor.php:232 +msgid "No rights" +msgstr "" + +#: ../includes/class-user-role-editor.php:233 +msgid "Provide new role" +msgstr "" + +#: ../includes/class-user-role-editor.php:296 +#: ../includes/class-user-role-editor.php:298 +msgid "You do not have permission to edit this user." +msgstr "" + +#: ../includes/class-user-role-editor.php:322 +#: ../includes/class-user-other-roles.php:162 +msgid "Capabilities" +msgstr "" + +#: ../includes/class-user-role-editor.php:415 +msgid "Settings" +msgstr "" + +#: ../includes/class-user-role-editor.php:426 +#: ../includes/class-ure-lib.php:2564 +msgid "Changelog" +msgstr "" + +#: ../includes/class-user-role-editor.php:448 +#: ../includes/settings-template.php:21 +msgid "General" +msgstr "" + +#: ../includes/class-user-role-editor.php:454 +#: ../includes/settings-template.php:26 +msgid "Additional Modules" +msgstr "" + +#: ../includes/class-user-role-editor.php:460 +#: ../includes/settings-template.php:30 +msgid "Default Roles" +msgstr "" + +#: ../includes/class-user-role-editor.php:466 +#: ../includes/settings-template.php:34 +msgid "Multisite" +msgstr "" + +#: ../includes/class-user-role-editor.php:476 +#: ../includes/class-user-role-editor.php:505 +#: ../includes/class-ure-lib.php:357 +msgid "User Role Editor" +msgstr "" + +#: ../includes/class-user-role-editor.php:568 +#: ../includes/class-user-role-editor.php:586 +#: ../includes/class-user-role-editor.php:630 +msgid "User Role Editor options are updated" +msgstr "" + +#: ../includes/class-user-role-editor.php:614 +msgid "Default Roles are updated" +msgstr "" + +#: ../includes/class-user-role-editor.php:639 +msgid "" +"You do not have sufficient permissions to manage options for User Role " +"Editor." +msgstr "" + +#: ../includes/class-user-role-editor.php:712 +#: ../includes/class-ure-lib.php:1747 ../includes/class-ure-lib.php:2006 +#: ../includes/class-ure-lib.php:2122 ../includes/class-ure-lib.php:2170 +#: ../includes/class-ure-lib.php:2421 ../includes/class-ure-lib.php:2466 +msgid "Insufficient permissions to work with User Role Editor" +msgstr "" + +#: ../includes/class-user-role-editor.php:772 +msgid "Confirm" +msgstr "" + +#: ../includes/class-user-role-editor.php:773 +msgid "Yes" +msgstr "" + +#: ../includes/class-user-role-editor.php:774 +msgid "No" +msgstr "" + +#: ../includes/class-user-role-editor.php:775 +msgid "Select All" +msgstr "" + +#: ../includes/class-user-role-editor.php:776 +msgid "Unselect All" +msgstr "" + +#: ../includes/class-user-role-editor.php:777 +msgid "Reverse" +msgstr "" + +#: ../includes/class-user-role-editor.php:778 +msgid "Update" +msgstr "" + +#: ../includes/class-user-role-editor.php:779 +msgid "Please confirm permissions update" +msgstr "" + +#: ../includes/class-user-role-editor.php:780 +msgid "Add New Role" +msgstr "" + +#: ../includes/class-user-role-editor.php:781 +#: ../includes/class-user-role-editor.php:786 +msgid "Rename Role" +msgstr "" + +#: ../includes/class-user-role-editor.php:782 +msgid " Role name (ID) can not be empty!" +msgstr "" + +#: ../includes/class-user-role-editor.php:783 +msgid "" +" Role name (ID) must contain latin characters, digits, hyphens or underscore " +"only!" +msgstr "" + +#: ../includes/class-user-role-editor.php:784 +msgid "" +" WordPress does not support numeric Role name (ID). Add latin characters to " +"it." +msgstr "" + +#: ../includes/class-user-role-editor.php:785 +msgid "Add Role" +msgstr "" + +#: ../includes/class-user-role-editor.php:787 +msgid "Delete Role" +msgstr "" + +#: ../includes/class-user-role-editor.php:788 +msgid "Cancel" +msgstr "" + +#: ../includes/class-user-role-editor.php:789 +msgid "Add Capability" +msgstr "" + +#: ../includes/class-user-role-editor.php:790 +#: ../includes/class-user-role-editor.php:799 +msgid "Delete Capability" +msgstr "" + +#: ../includes/class-user-role-editor.php:791 +msgid "Reset" +msgstr "" + +#: ../includes/class-user-role-editor.php:792 +msgid "DANGER! Resetting will restore default settings from WordPress Core." +msgstr "" + +#: ../includes/class-user-role-editor.php:793 +msgid "" +"If any plugins have changed capabilities in any way upon installation (such " +"as S2Member, WooCommerce, and many more), those capabilities will be DELETED!" +msgstr "" + +#: ../includes/class-user-role-editor.php:794 +msgid "" +"For more information on how to undo changes and restore plugin capabilities " +"go to" +msgstr "" + +#: ../includes/class-user-role-editor.php:796 +msgid "Continue?" +msgstr "" + +#: ../includes/class-user-role-editor.php:797 +msgid "Default Role" +msgstr "" + +#: ../includes/class-user-role-editor.php:798 +msgid "Set New Default Role" +msgstr "" + +#: ../includes/class-user-role-editor.php:800 +msgid "" +"Warning! Be careful - removing critical capability could crash some plugin " +"or other custom code" +msgstr "" + +#: ../includes/class-user-role-editor.php:801 +msgid " Capability name (ID) can not be empty!" +msgstr "" + +#: ../includes/class-user-role-editor.php:802 +msgid "" +" Capability name (ID) must contain latin characters, digits, hyphens or " +"underscore only!" +msgstr "" + +#: ../includes/class-role-additional-options.php:53 +msgid "Hide admin bar" +msgstr "" + +#: ../includes/class-role-additional-options.php:103 +msgid "Additional Options" +msgstr "" + +#: ../includes/settings-template.php:17 +msgid "User Role Editor - Options" +msgstr "" + +#: ../includes/settings-template.php:39 +msgid "About" +msgstr "" + +#: ../includes/settings-template.php:53 +#: ../includes/class-ure-screen-help.php:15 +msgid "Show Administrator role at User Role Editor" +msgstr "" + +#: ../includes/settings-template.php:61 +#: ../includes/class-ure-screen-help.php:18 +msgid "Show capabilities in the human readable form" +msgstr "" + +#: ../includes/settings-template.php:77 +msgid "Confirm role update" +msgstr "" + +#: ../includes/settings-template.php:85 +#: ../includes/class-ure-screen-help.php:25 +msgid "Edit user capabilities" +msgstr "" + +#: ../includes/settings-template.php:98 ../includes/settings-template.php:134 +#: ../includes/settings-template.php:166 ../includes/settings-template.php:198 +msgid "Save" +msgstr "" + +#: ../includes/settings-template.php:119 +#: ../includes/class-ure-screen-help.php:45 +msgid "Count users without role" +msgstr "" + +#: ../includes/settings-template.php:146 +msgid "Primary default role: " +msgstr "" + +#: ../includes/settings-template.php:153 +msgid "Other default roles for new registered user: " +msgstr "" + +#: ../includes/settings-template.php:159 +msgid "" +"Note for multisite environment: take into account that other default roles " +"should exist at the site, in order to be assigned to the new registered " +"users." +msgstr "" + +#: ../includes/settings-template.php:185 +msgid "Allow non super administrators to create, edit, and delete users" +msgstr "" + #: ../includes/class-user-other-roles.php:82 #: ../includes/class-user-other-roles.php:183 #: ../includes/class-user-other-roles.php:243 @@ -556,11 +329,6 @@ msgstr "" msgid "Select additional roles for this user" msgstr "" -#: ../includes/class-user-other-roles.php:162 -#: ../includes/class-user-role-editor.php:438 -msgid "Capabilities" -msgstr "" - #: ../includes/class-user-other-roles.php:169 msgid "Edit" msgstr "" @@ -569,6 +337,505 @@ msgstr "" msgid "Additional Capabilities" msgstr "" +#: ../includes/class-ure-lib.php:255 +msgid "Error: wrong request" +msgstr "" + +#: ../includes/class-ure-lib.php:288 ../includes/class-ure-lib.php:299 +msgid "Role name (ID): " +msgstr "" + +#: ../includes/class-ure-lib.php:290 ../includes/class-ure-lib.php:301 +msgid "Display Role Name: " +msgstr "" + +#: ../includes/class-ure-lib.php:292 +msgid "Make copy of: " +msgstr "" + +#: ../includes/class-ure-lib.php:308 +msgid "Select Role:" +msgstr "" + +#: ../includes/class-ure-lib.php:327 +msgid "Delete:" +msgstr "" + +#: ../includes/class-ure-lib.php:334 +msgid "Capability name (ID): " +msgstr "" + +#: ../includes/class-ure-lib.php:454 +msgid "Error: " +msgstr "" + +#: ../includes/class-ure-lib.php:454 +msgid "Role" +msgstr "" + +#: ../includes/class-ure-lib.php:455 +msgid "does not exist" +msgstr "" + +#: ../includes/class-ure-lib.php:498 +msgid "Role is updated successfully" +msgstr "" + +#: ../includes/class-ure-lib.php:500 +msgid "Roles are updated for all network" +msgstr "" + +#: ../includes/class-ure-lib.php:506 +msgid "Error occured during role(s) update" +msgstr "" + +#: ../includes/class-ure-lib.php:513 +msgid "User capabilities are updated successfully" +msgstr "" + +#: ../includes/class-ure-lib.php:518 +msgid "Error occured during user update" +msgstr "" + +#: ../includes/class-ure-lib.php:576 +msgid "User Roles are restored to WordPress default values. " +msgstr "" + +#: ../includes/class-ure-lib.php:1465 +msgid "read about" +msgstr "" + +#: ../includes/class-ure-lib.php:1466 +msgid "user capability" +msgstr "" + +#: ../includes/class-ure-lib.php:1467 +msgid "Help" +msgstr "" + +#: ../includes/class-ure-lib.php:1969 +msgid "Error is occur. Please check the log file." +msgstr "" + +#: ../includes/class-ure-lib.php:2015 ../includes/class-ure-lib.php:2082 +msgid "" +"Error: Role ID must contain latin characters, digits, hyphens or underscore " +"only!" +msgstr "" + +#: ../includes/class-ure-lib.php:2019 ../includes/class-ure-lib.php:2086 +msgid "" +"Error: WordPress does not support numeric Role name (ID). Add latin " +"characters to it." +msgstr "" + +#: ../includes/class-ure-lib.php:2034 +#, php-format +msgid "Role %s exists already" +msgstr "" + +#: ../includes/class-ure-lib.php:2049 +msgid "Error is encountered during new role create operation" +msgstr "" + +#: ../includes/class-ure-lib.php:2051 +#, php-format +msgid "Role %s is created successfully" +msgstr "" + +#: ../includes/class-ure-lib.php:2075 +msgid "Error: Role ID is empty!" +msgstr "" + +#: ../includes/class-ure-lib.php:2093 +msgid "Error: Empty role display name is not allowed." +msgstr "" + +#: ../includes/class-ure-lib.php:2100 +#, php-format +msgid "Role %s does not exists" +msgstr "" + +#: ../includes/class-ure-lib.php:2108 +#, php-format +msgid "Role %s is renamed to %s successfully" +msgstr "" + +#: ../includes/class-ure-lib.php:2181 +msgid "Error encountered during role delete operation" +msgstr "" + +#: ../includes/class-ure-lib.php:2183 +msgid "Unused roles are deleted successfully" +msgstr "" + +#: ../includes/class-ure-lib.php:2185 +#, php-format +msgid "Role %s is deleted successfully" +msgstr "" + +#: ../includes/class-ure-lib.php:2216 +msgid "Error encountered during default role change operation" +msgstr "" + +#: ../includes/class-ure-lib.php:2219 +#, php-format +msgid "Default role for new users is set to %s successfully" +msgstr "" + +#: ../includes/class-ure-lib.php:2222 +msgid "Can not set Administrator role as a default one" +msgstr "" + +#: ../includes/class-ure-lib.php:2224 +msgid "This role does not exist - " +msgstr "" + +#: ../includes/class-ure-lib.php:2240 +msgid "Editor" +msgstr "" + +#: ../includes/class-ure-lib.php:2241 +msgid "Author" +msgstr "" + +#: ../includes/class-ure-lib.php:2242 +msgid "Contributor" +msgstr "" + +#: ../includes/class-ure-lib.php:2243 +msgid "Subscriber" +msgstr "" + +#: ../includes/class-ure-lib.php:2245 +msgid "Switch themes" +msgstr "" + +#: ../includes/class-ure-lib.php:2246 +msgid "Edit themes" +msgstr "" + +#: ../includes/class-ure-lib.php:2247 +msgid "Activate plugins" +msgstr "" + +#: ../includes/class-ure-lib.php:2248 +msgid "Edit plugins" +msgstr "" + +#: ../includes/class-ure-lib.php:2249 +msgid "Edit users" +msgstr "" + +#: ../includes/class-ure-lib.php:2250 +msgid "Edit files" +msgstr "" + +#: ../includes/class-ure-lib.php:2251 +msgid "Manage options" +msgstr "" + +#: ../includes/class-ure-lib.php:2252 +msgid "Moderate comments" +msgstr "" + +#: ../includes/class-ure-lib.php:2253 +msgid "Manage categories" +msgstr "" + +#: ../includes/class-ure-lib.php:2254 +msgid "Manage links" +msgstr "" + +#: ../includes/class-ure-lib.php:2255 +msgid "Upload files" +msgstr "" + +#: ../includes/class-ure-lib.php:2256 +msgid "Import" +msgstr "" + +#: ../includes/class-ure-lib.php:2257 +msgid "Unfiltered html" +msgstr "" + +#: ../includes/class-ure-lib.php:2258 +msgid "Edit posts" +msgstr "" + +#: ../includes/class-ure-lib.php:2259 +msgid "Edit others posts" +msgstr "" + +#: ../includes/class-ure-lib.php:2260 +msgid "Edit published posts" +msgstr "" + +#: ../includes/class-ure-lib.php:2261 +msgid "Publish posts" +msgstr "" + +#: ../includes/class-ure-lib.php:2262 +msgid "Edit pages" +msgstr "" + +#: ../includes/class-ure-lib.php:2263 +msgid "Read" +msgstr "" + +#: ../includes/class-ure-lib.php:2264 +msgid "Level 10" +msgstr "" + +#: ../includes/class-ure-lib.php:2265 +msgid "Level 9" +msgstr "" + +#: ../includes/class-ure-lib.php:2266 +msgid "Level 8" +msgstr "" + +#: ../includes/class-ure-lib.php:2267 +msgid "Level 7" +msgstr "" + +#: ../includes/class-ure-lib.php:2268 +msgid "Level 6" +msgstr "" + +#: ../includes/class-ure-lib.php:2269 +msgid "Level 5" +msgstr "" + +#: ../includes/class-ure-lib.php:2270 +msgid "Level 4" +msgstr "" + +#: ../includes/class-ure-lib.php:2271 +msgid "Level 3" +msgstr "" + +#: ../includes/class-ure-lib.php:2272 +msgid "Level 2" +msgstr "" + +#: ../includes/class-ure-lib.php:2273 +msgid "Level 1" +msgstr "" + +#: ../includes/class-ure-lib.php:2274 +msgid "Level 0" +msgstr "" + +#: ../includes/class-ure-lib.php:2275 +msgid "Edit others pages" +msgstr "" + +#: ../includes/class-ure-lib.php:2276 +msgid "Edit published pages" +msgstr "" + +#: ../includes/class-ure-lib.php:2277 +msgid "Publish pages" +msgstr "" + +#: ../includes/class-ure-lib.php:2278 +msgid "Delete pages" +msgstr "" + +#: ../includes/class-ure-lib.php:2279 +msgid "Delete others pages" +msgstr "" + +#: ../includes/class-ure-lib.php:2280 +msgid "Delete published pages" +msgstr "" + +#: ../includes/class-ure-lib.php:2281 +msgid "Delete posts" +msgstr "" + +#: ../includes/class-ure-lib.php:2282 +msgid "Delete others posts" +msgstr "" + +#: ../includes/class-ure-lib.php:2283 +msgid "Delete published posts" +msgstr "" + +#: ../includes/class-ure-lib.php:2284 +msgid "Delete private posts" +msgstr "" + +#: ../includes/class-ure-lib.php:2285 +msgid "Edit private posts" +msgstr "" + +#: ../includes/class-ure-lib.php:2286 +msgid "Read private posts" +msgstr "" + +#: ../includes/class-ure-lib.php:2287 +msgid "Delete private pages" +msgstr "" + +#: ../includes/class-ure-lib.php:2288 +msgid "Edit private pages" +msgstr "" + +#: ../includes/class-ure-lib.php:2289 +msgid "Read private pages" +msgstr "" + +#: ../includes/class-ure-lib.php:2290 +msgid "Delete users" +msgstr "" + +#: ../includes/class-ure-lib.php:2291 +msgid "Create users" +msgstr "" + +#: ../includes/class-ure-lib.php:2292 +msgid "Unfiltered upload" +msgstr "" + +#: ../includes/class-ure-lib.php:2293 +msgid "Edit dashboard" +msgstr "" + +#: ../includes/class-ure-lib.php:2294 +msgid "Update plugins" +msgstr "" + +#: ../includes/class-ure-lib.php:2295 +msgid "Delete plugins" +msgstr "" + +#: ../includes/class-ure-lib.php:2296 +msgid "Install plugins" +msgstr "" + +#: ../includes/class-ure-lib.php:2297 +msgid "Update themes" +msgstr "" + +#: ../includes/class-ure-lib.php:2298 +msgid "Install themes" +msgstr "" + +#: ../includes/class-ure-lib.php:2299 +msgid "Update core" +msgstr "" + +#: ../includes/class-ure-lib.php:2300 +msgid "List users" +msgstr "" + +#: ../includes/class-ure-lib.php:2301 +msgid "Remove users" +msgstr "" + +#: ../includes/class-ure-lib.php:2302 +msgid "Add users" +msgstr "" + +#: ../includes/class-ure-lib.php:2303 +msgid "Promote users" +msgstr "" + +#: ../includes/class-ure-lib.php:2304 +msgid "Edit theme options" +msgstr "" + +#: ../includes/class-ure-lib.php:2305 +msgid "Delete themes" +msgstr "" + +#: ../includes/class-ure-lib.php:2306 +msgid "Export" +msgstr "" + +#: ../includes/class-ure-lib.php:2429 +msgid "Error: Capability name must contain latin characters and digits only!" +msgstr "" + +#: ../includes/class-ure-lib.php:2442 +#, php-format +msgid "Capability %s is added successfully" +msgstr "" + +#: ../includes/class-ure-lib.php:2444 +#, php-format +msgid "Capability %s exists already" +msgstr "" + +#: ../includes/class-ure-lib.php:2473 +#, php-format +msgid "Error! You do not have permission to delete this capability: %s!" +msgstr "" + +#: ../includes/class-ure-lib.php:2492 +#, php-format +msgid "Capability %s was removed successfully" +msgstr "" + +#: ../includes/class-ure-lib.php:2560 +msgid "Version:" +msgstr "" + +#: ../includes/class-ure-lib.php:2561 +msgid "Author's website" +msgstr "" + +#: ../includes/class-ure-lib.php:2562 +msgid "Plugin webpage" +msgstr "" + +#: ../includes/class-ure-lib.php:2563 +msgid "Plugin download" +msgstr "" + +#: ../includes/class-ure-lib.php:2565 +msgid "FAQ" +msgstr "" + +#: ../includes/class-ure-lib.php:2643 +msgid "Delete All Unused Roles" +msgstr "" + +#: ../includes/class-ure-lib.php:2656 +msgid "None" +msgstr "" + +#: ../includes/class-ure-lib.php:2702 +msgid "— No role for this site —" +msgstr "" + +#: ../includes/class-ure-lib.php:2817 +#, php-format +msgid "Denied: %s" +msgstr "" + +#: ../includes/ure-user-edit.php:32 +msgid "Network Super Admin" +msgstr "" + +#: ../includes/ure-user-edit.php:35 +msgid "Change capabilities for user" +msgstr "" + +#: ../includes/ure-user-edit.php:72 +msgid "Primary Role:" +msgstr "" + +#: ../includes/ure-user-edit.php:82 +msgid "bbPress Role:" +msgstr "" + +#: ../includes/ure-user-edit.php:92 +msgid "Other Roles:" +msgstr "" + #: ../includes/class-ure-screen-help.php:12 #: ../includes/class-ure-screen-help.php:41 #: ../includes/class-ure-screen-help.php:60 @@ -576,11 +843,6 @@ msgstr "" msgid "User Role Editor Options page help" msgstr "" -#: ../includes/class-ure-screen-help.php:15 -#: ../includes/settings-template.php:53 -msgid "Show Administrator role at User Role Editor" -msgstr "" - #: ../includes/class-ure-screen-help.php:16 msgid "" "turn this option on in order to make the \"Administrator\" role available at " @@ -588,11 +850,6 @@ msgid "" "for security reasons." msgstr "" -#: ../includes/class-ure-screen-help.php:18 -#: ../includes/settings-template.php:61 -msgid "Show capabilities in the human readable form" -msgstr "" - #: ../includes/class-ure-screen-help.php:19 msgid "" "automatically converts capability names from the technical form for internal " @@ -608,11 +865,6 @@ msgid "" "deprecated capabilities." msgstr "" -#: ../includes/class-ure-screen-help.php:25 -#: ../includes/settings-template.php:77 -msgid "Edit user capabilities" -msgstr "" - #: ../includes/class-ure-screen-help.php:26 msgid "" "If turned off - capabilities section of selected user is shown in readonly " @@ -620,11 +872,6 @@ msgid "" "should make it using roles only." msgstr "" -#: ../includes/class-ure-screen-help.php:45 -#: ../includes/settings-template.php:111 -msgid "Count users without role" -msgstr "" - #: ../includes/class-ure-screen-help.php:46 msgid "" "Show at the \"Users\" page a quant of users without role. Module allows to " @@ -654,226 +901,3 @@ msgid "" "multi-site by default. Turn this option on in order to remove this " "limitation." msgstr "" - -#: ../includes/class-user-role-editor.php:233 -msgid "Change role for users without role" -msgstr "" - -#: ../includes/class-user-role-editor.php:234 -msgid "No rights" -msgstr "" - -#: ../includes/class-user-role-editor.php:235 -msgid "Provide new role" -msgstr "" - -#: ../includes/class-user-role-editor.php:298 -#: ../includes/class-user-role-editor.php:300 -msgid "You do not have permission to edit this user." -msgstr "" - -#: ../includes/class-user-role-editor.php:535 -msgid "Settings" -msgstr "" - -#: ../includes/class-user-role-editor.php:568 -#: ../includes/settings-template.php:21 -msgid "General" -msgstr "" - -#: ../includes/class-user-role-editor.php:574 -#: ../includes/settings-template.php:26 -msgid "Additional Modules" -msgstr "" - -#: ../includes/class-user-role-editor.php:580 -#: ../includes/settings-template.php:30 -msgid "Default Roles" -msgstr "" - -#: ../includes/class-user-role-editor.php:586 -#: ../includes/settings-template.php:34 -msgid "Multisite" -msgstr "" - -#: ../includes/class-user-role-editor.php:685 -#: ../includes/class-user-role-editor.php:703 -#: ../includes/class-user-role-editor.php:747 -msgid "User Role Editor options are updated" -msgstr "" - -#: ../includes/class-user-role-editor.php:731 -msgid "Default Roles are updated" -msgstr "" - -#: ../includes/class-user-role-editor.php:756 -msgid "" -"You do not have sufficient permissions to manage options for User Role " -"Editor." -msgstr "" - -#: ../includes/class-user-role-editor.php:885 -msgid "Select All" -msgstr "" - -#: ../includes/class-user-role-editor.php:886 -msgid "Unselect All" -msgstr "" - -#: ../includes/class-user-role-editor.php:887 -msgid "Reverse" -msgstr "" - -#: ../includes/class-user-role-editor.php:888 -msgid "Update" -msgstr "" - -#: ../includes/class-user-role-editor.php:889 -msgid "Please confirm permissions update" -msgstr "" - -#: ../includes/class-user-role-editor.php:890 -msgid "Add New Role" -msgstr "" - -#: ../includes/class-user-role-editor.php:891 -#: ../includes/class-user-role-editor.php:896 -msgid "Rename Role" -msgstr "" - -#: ../includes/class-user-role-editor.php:892 -msgid " Role name (ID) can not be empty!" -msgstr "" - -#: ../includes/class-user-role-editor.php:893 -msgid "" -" Role name (ID) must contain latin characters, digits, hyphens or underscore " -"only!" -msgstr "" - -#: ../includes/class-user-role-editor.php:894 -msgid "" -" WordPress does not support numeric Role name (ID). Add latin characters to " -"it." -msgstr "" - -#: ../includes/class-user-role-editor.php:895 -msgid "Add Role" -msgstr "" - -#: ../includes/class-user-role-editor.php:897 -msgid "Delete Role" -msgstr "" - -#: ../includes/class-user-role-editor.php:898 -msgid "Cancel" -msgstr "" - -#: ../includes/class-user-role-editor.php:899 -msgid "Add Capability" -msgstr "" - -#: ../includes/class-user-role-editor.php:900 -#: ../includes/class-user-role-editor.php:909 -msgid "Delete Capability" -msgstr "" - -#: ../includes/class-user-role-editor.php:901 -msgid "Reset" -msgstr "" - -#: ../includes/class-user-role-editor.php:902 -msgid "DANGER! Resetting will restore default settings from WordPress Core." -msgstr "" - -#: ../includes/class-user-role-editor.php:903 -msgid "" -"If any plugins have changed capabilities in any way upon installation (such " -"as S2Member, WooCommerce, and many more), those capabilities will be DELETED!" -msgstr "" - -#: ../includes/class-user-role-editor.php:904 -msgid "" -"For more information on how to undo changes and restore plugin capabilities " -"go to" -msgstr "" - -#: ../includes/class-user-role-editor.php:906 -msgid "Continue?" -msgstr "" - -#: ../includes/class-user-role-editor.php:907 -msgid "Default Role" -msgstr "" - -#: ../includes/class-user-role-editor.php:908 -msgid "Set New Default Role" -msgstr "" - -#: ../includes/class-user-role-editor.php:910 -msgid "" -"Warning! Be careful - removing critical capability could crash some plugin " -"or other custom code" -msgstr "" - -#: ../includes/class-user-role-editor.php:911 -msgid " Capability name (ID) can not be empty!" -msgstr "" - -#: ../includes/class-user-role-editor.php:912 -msgid "" -" Capability name (ID) must contain latin characters, digits, hyphens or " -"underscore only!" -msgstr "" - -#: ../includes/settings-template.php:17 -msgid "User Role Editor - Options" -msgstr "" - -#: ../includes/settings-template.php:39 -msgid "About" -msgstr "" - -#: ../includes/settings-template.php:90 ../includes/settings-template.php:126 -#: ../includes/settings-template.php:158 ../includes/settings-template.php:190 -msgid "Save" -msgstr "" - -#: ../includes/settings-template.php:138 -msgid "Primary default role: " -msgstr "" - -#: ../includes/settings-template.php:145 -msgid "Other default roles for new registered user: " -msgstr "" - -#: ../includes/settings-template.php:151 -msgid "" -"Note for multisite environment: take into account that other default roles " -"should exist at the site, in order to be assigned to the new registered " -"users." -msgstr "" - -#: ../includes/settings-template.php:177 -msgid "Allow non super administrators to create, edit, and delete users" -msgstr "" - -#: ../includes/ure-user-edit.php:32 -msgid "Network Super Admin" -msgstr "" - -#: ../includes/ure-user-edit.php:35 -msgid "Change capabilities for user" -msgstr "" - -#: ../includes/ure-user-edit.php:72 -msgid "Primary Role:" -msgstr "" - -#: ../includes/ure-user-edit.php:82 -msgid "bbPress Role:" -msgstr "" - -#: ../includes/ure-user-edit.php:92 -msgid "Other Roles:" -msgstr "" diff --git a/wp-content/plugins/user-role-editor/readme.txt b/wp-content/plugins/user-role-editor/readme.txt index dcf2770..c335571 100644 --- a/wp-content/plugins/user-role-editor/readme.txt +++ b/wp-content/plugins/user-role-editor/readme.txt @@ -3,8 +3,8 @@ Contributors: shinephp Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=vladimir%40shinephp%2ecom&lc=RU&item_name=ShinePHP%2ecom&item_number=User%20Role%20Editor%20WordPress%20plugin¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted Tags: user, role, editor, security, access, permission, capability Requires at least: 4.0 -Tested up to: 4.3.1 -Stable tag: 4.19.3 +Tested up to: 4.4 +Stable tag: 4.21.1 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -26,12 +26,13 @@ To read more about 'User Role Editor' visit [this page](http://www.shinephp.com/ Short demo about 1st steps with User Role Editor: https://youtu.be/UmMtOmWGGxY -Do you need more functionality with quality support in real time? Do you wish to remove advertisements from User Role Editor pages? +Do you need more functionality with quality support in the real time? Do you wish to remove advertisements from User Role Editor pages? [Buy Pro version](https://www.role-editor.com). -Pro version includes extra modules: +[User Role Editor Pro](https://www.role-editor.com) includes extra modules:
              • Block selected admin menu items for role.
              • Block selected widgets under "Appearance" menu for role.
              • +
              • Block selected meta boxes (dashboard, posts, pages, custom post types) for role.
              • "Export/Import" module. You can export user roles to the local file and import them then to any WordPress site or other sites of the multi-site WordPress network.
              • Roles and Users permissions management via Network Admin for multisite configuration. One click Synchronization to the whole network.
              • "Other roles access" module allows to define which other roles user with current role may see at WordPress: dropdown menus, e.g assign role to user editing user profile, etc.
              • @@ -41,7 +42,7 @@ Pro version includes extra modules:
              • Shortcode to show enclosed content to the users with selected roles only.
              • Posts and pages view restrictions for selected roles.
              -Pro version is advertisement free. Premium support is included. It is provided by User Role Editor plugin developer Vladimir Garagulya. You will get an answer on your question not once a week, but in 24 hours or quicker. +Pro version is advertisement free. Premium support is included. == Installation == @@ -71,11 +72,27 @@ To read more about 'User Role Editor' visit [this page](http://www.shinephp.com/ = Translations = -Dear plugin User! -If you wish to check available translations or help with translation visit this link +If you wish to check available translations or help with plugin translation to your language visit this link https://translate.wordpress.org/projects/wp-plugins/user-role-editor/ == Changelog == += [4.21.1] 16.12.2015 = +* Fix: 'Update' button did not work at User's Capabilities page due to confirmation dialog call error. + + += [4.21] 11.12.2015 = +* It's possible to switch off the update role confirmation (Settings - User Role Editor - General tab). +* Standard JavaScript confirm box before role update was replaced with custom one to exclude 'Prevent this page from creating additional dialogs' option in the Google Chrome browser. +* Fix: Removed hard coded folder name (user-role-editor) from the used paths. + + += [4.20.1] 15.11.2015 = +* Fix: "Primary default role" drop-down menu was not shown at "Settings - User Role Editor - Default Roles" tab for WordPress single site installation. + += [4.20] 15.11.2015 = +* "Additional options" section was added to the user role editor page. Currently it contains the only "Hide admin bar". The list of options may be customized/extended by developers via "ure_role_additonal_options" filter. +* "Default Role" button is hidden to not duplicate functionality. Use "Settings - User Role Editor - Default Roles" tab instead. This button is available only for the single sites of WP multisite now. +* Code restructure, optimization: administrator protection parts extracted to the separate class. = [4.19.3] 14.10.2015 = * Fix: minor CSS change. diff --git a/wp-content/plugins/user-role-editor/uninstall.php b/wp-content/plugins/user-role-editor/uninstall.php index 4f15c45..ea56533 100644 --- a/wp-content/plugins/user-role-editor/uninstall.php +++ b/wp-content/plugins/user-role-editor/uninstall.php @@ -19,6 +19,7 @@ if (!is_multisite()) { delete_option('ure_show_deprecated_caps'); delete_option('ure_hide_pro_banner'); delete_option('user_role_editor'); + delete_option('ure_role_additional_options_values'); } else { $old_blog = $wpdb->blogid; // Get all blog ids @@ -31,6 +32,7 @@ if (!is_multisite()) { delete_option('ure_show_deprecated_caps'); delete_option('ure_hide_pro_banner'); delete_option('user_role_editor'); + delete_option('ure_role_additional_options_values'); } switch_to_blog($old_blog); } diff --git a/wp-content/plugins/user-role-editor/user-role-editor.php b/wp-content/plugins/user-role-editor/user-role-editor.php index ae11cee..5e2eb1e 100644 --- a/wp-content/plugins/user-role-editor/user-role-editor.php +++ b/wp-content/plugins/user-role-editor/user-role-editor.php @@ -3,7 +3,7 @@ Plugin Name: User Role Editor Plugin URI: https://www.role-editor.com Description: Change/add/delete WordPress user roles and capabilities. -Version: 4.19.3 +Version: 4.21.1 Author: Vladimir Garagulya Author URI: https://www.role-editor.com Text Domain: ure @@ -23,7 +23,7 @@ if (defined('URE_PLUGIN_URL')) { wp_die('It seems that other version of User Role Editor is active. Please deactivate it before use this version'); } -define('URE_VERSION', '4.19.3'); +define('URE_VERSION', '4.21.1'); define('URE_PLUGIN_URL', plugin_dir_url(__FILE__)); define('URE_PLUGIN_DIR', plugin_dir_path(__FILE__)); define('URE_PLUGIN_BASE_NAME', plugin_basename(__FILE__)); @@ -47,15 +47,7 @@ $exit_msg = sprintf( 'User Role Editor requires WordPress %s or newer.', $ure_re ' ' . 'Please update!' . ''; Ure_Lib::check_version(get_bloginfo('version'), $ure_required_wp_version, $exit_msg, __FILE__ ); -require_once(URE_PLUGIN_DIR .'includes/define-constants.php'); -require_once(URE_PLUGIN_DIR .'includes/misc-support-stuff.php'); -require_once(URE_PLUGIN_DIR .'includes/class-assign-role.php'); -require_once(URE_PLUGIN_DIR .'includes/class-user-other-roles.php'); -require_once(URE_PLUGIN_DIR .'includes/class-ajax-processor.php'); -require_once(URE_PLUGIN_DIR .'includes/class-ure-screen-help.php'); -require_once(URE_PLUGIN_DIR .'includes/class-known-js-css-compatibility-issues.php'); -require_once(URE_PLUGIN_DIR .'includes/class-user-role-editor.php'); - +require_once(URE_PLUGIN_DIR .'includes/loader.php'); $ure_lib = new Ure_Lib('user_role_editor'); $GLOBALS['user_role_editor'] = new User_Role_Editor($ure_lib); diff --git a/wp-content/themes/twentyfifteen/inc/customizer.php b/wp-content/themes/twentyfifteen/inc/customizer.php index 02e2c76..93b66e5 100644 --- a/wp-content/themes/twentyfifteen/inc/customizer.php +++ b/wp-content/themes/twentyfifteen/inc/customizer.php @@ -87,6 +87,27 @@ add_action( 'customize_register', 'twentyfifteen_customize_register', 11 ); * @return array An associative array of color scheme options. */ function twentyfifteen_get_color_schemes() { + /** + * Filter the color schemes registered for use with Twenty Fifteen. + * + * The default schemes include 'default', 'dark', 'yellow', 'pink', 'purple', and 'blue'. + * + * @since Twenty Fifteen 1.0 + * + * @param array $schemes { + * Associative array of color schemes data. + * + * @type array $slug { + * Associative array of information for setting up the color scheme. + * + * @type string $label Color scheme label. + * @type array $colors HEX codes for default colors prepended with a hash symbol ('#'). + * Colors are defined in the following order: Main background, sidebar + * background, box background, main text and link, sidebar text and link, + * meta box background. + * } + * } + */ return apply_filters( 'twentyfifteen_color_schemes', array( 'default' => array( 'label' => __( 'Default', 'twentyfifteen' ), diff --git a/wp-content/themes/twentyfifteen/languages/twentyfifteen.pot b/wp-content/themes/twentyfifteen/languages/twentyfifteen.pot index 60a5a63..5e948ba 100644 --- a/wp-content/themes/twentyfifteen/languages/twentyfifteen.pot +++ b/wp-content/themes/twentyfifteen/languages/twentyfifteen.pot @@ -2,9 +2,9 @@ # This file is distributed under the GNU General Public License v2 or later. msgid "" msgstr "" -"Project-Id-Version: Twenty Fifteen 1.3\n" +"Project-Id-Version: Twenty Fifteen 1.4\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/theme/twentyfifteen\n" -"POT-Creation-Date: 2015-07-27 19:47:38+00:00\n" +"POT-Creation-Date: 2015-12-08 15:14:51+00:00\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -87,7 +87,7 @@ msgid "" "searching can help." msgstr "" -#. #-#-#-#-# twentyfifteen.pot (Twenty Fifteen 1.3) #-#-#-#-# +#. #-#-#-#-# twentyfifteen.pot (Twenty Fifteen 1.4) #-#-#-#-# #. Author URI of the plugin/theme #: footer.php:25 msgid "https://wordpress.org/" @@ -198,27 +198,27 @@ msgstr "" msgid "Header and Sidebar Background Color" msgstr "" -#: inc/customizer.php:92 +#: inc/customizer.php:113 msgid "Default" msgstr "" -#: inc/customizer.php:103 +#: inc/customizer.php:124 msgid "Dark" msgstr "" -#: inc/customizer.php:114 +#: inc/customizer.php:135 msgid "Yellow" msgstr "" -#: inc/customizer.php:125 +#: inc/customizer.php:146 msgid "Pink" msgstr "" -#: inc/customizer.php:136 +#: inc/customizer.php:157 msgid "Purple" msgstr "" -#: inc/customizer.php:147 +#: inc/customizer.php:168 msgid "Blue" msgstr "" diff --git a/wp-content/themes/twentyfifteen/readme.txt b/wp-content/themes/twentyfifteen/readme.txt index 540ead0..10ef1bf 100644 --- a/wp-content/themes/twentyfifteen/readme.txt +++ b/wp-content/themes/twentyfifteen/readme.txt @@ -1,8 +1,8 @@ === Twenty Fifteen === Contributors: the WordPress team Requires at least: WordPress 4.1 -Tested up to: WordPress 4.3-trunk -Version: 1.3 +Tested up to: WordPress 4.5-trunk +Version: 1.4 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: black, blue, gray, pink, purple, white, yellow, dark, light, two-columns, left-sidebar, fixed-layout, responsive-layout, accessibility-ready, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready @@ -35,7 +35,7 @@ Twenty Fifteen is distributed under the terms of the GNU GPL This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or +the Free Software Foundation, either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -55,6 +55,11 @@ Source: http://www.genericons.com == Changelog == += 1.4 = +* Released: December 8, 2015 + +https://codex.wordpress.org/Twenty_Fifteen_Theme_Changelog#Version_1.4 + = 1.3 = * Released: August 18, 2015 diff --git a/wp-content/themes/twentyfifteen/rtl.css b/wp-content/themes/twentyfifteen/rtl.css index 4f4a471..809504a 100644 --- a/wp-content/themes/twentyfifteen/rtl.css +++ b/wp-content/themes/twentyfifteen/rtl.css @@ -477,7 +477,7 @@ img.alignleft { } blockquote.alignright, - .wp-caption.alignright + .wp-caption.alignright, img.alignright { margin: 0.4118em 0 1.6471em 1.6471em; } @@ -561,7 +561,7 @@ img.alignleft { } blockquote.alignright, - .wp-caption.alignright + .wp-caption.alignright, img.alignright { margin: 0.4211em 0 1.6842em 1.6842em; } @@ -721,7 +721,7 @@ img.alignleft { } blockquote.alignright, - .wp-caption.alignright + .wp-caption.alignright, img.alignright { margin: 0.4118em 0 1.6471em 1.6471em; } @@ -786,7 +786,7 @@ img.alignleft { } blockquote.alignright, - .wp-caption.alignright + .wp-caption.alignright, img.alignright { margin: 0.4211em 0 1.6842em 1.6842em; } diff --git a/wp-content/themes/twentyfifteen/style.css b/wp-content/themes/twentyfifteen/style.css index 1e4e8e8..141bec4 100644 --- a/wp-content/themes/twentyfifteen/style.css +++ b/wp-content/themes/twentyfifteen/style.css @@ -4,7 +4,7 @@ Theme URI: https://wordpress.org/themes/twentyfifteen/ Author: the WordPress team Author URI: https://wordpress.org/ Description: Our 2015 default theme is clean, blog-focused, and designed for clarity. Twenty Fifteen's simple, straightforward typography is readable on a wide variety of screen sizes, and suitable for multiple languages. We designed it using a mobile-first approach, meaning your content takes center-stage, regardless of whether your visitors arrive by smartphone, tablet, laptop, or desktop computer. -Version: 1.3 +Version: 1.4 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: black, blue, gray, pink, purple, white, yellow, dark, light, two-columns, left-sidebar, fixed-layout, responsive-layout, accessibility-ready, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready diff --git a/wp-content/themes/twentyfourteen/languages/twentyfourteen.pot b/wp-content/themes/twentyfourteen/languages/twentyfourteen.pot index 1acebad..96ad636 100644 --- a/wp-content/themes/twentyfourteen/languages/twentyfourteen.pot +++ b/wp-content/themes/twentyfourteen/languages/twentyfourteen.pot @@ -2,9 +2,9 @@ # This file is distributed under the GNU General Public License v2 or later. msgid "" msgstr "" -"Project-Id-Version: Twenty Fourteen 1.5\n" +"Project-Id-Version: Twenty Fourteen 1.6\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/theme/twentyfourteen\n" -"POT-Creation-Date: 2015-07-27 19:47:38+00:00\n" +"POT-Creation-Date: 2015-12-08 15:15:01+00:00\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -142,7 +142,7 @@ msgid "" "searching can help." msgstr "" -#. #-#-#-#-# twentyfourteen.pot (Twenty Fourteen 1.5) #-#-#-#-# +#. #-#-#-#-# twentyfourteen.pot (Twenty Fourteen 1.6) #-#-#-#-# #. Author URI of the plugin/theme #: footer.php:21 msgid "https://wordpress.org/" @@ -279,7 +279,7 @@ msgstr "" msgid "Slider" msgstr "" -#. #-#-#-#-# twentyfourteen.pot (Twenty Fourteen 1.5) #-#-#-#-# +#. #-#-#-#-# twentyfourteen.pot (Twenty Fourteen 1.6) #-#-#-#-# #. Theme Name of the plugin/theme #: inc/customizer.php:105 msgid "Twenty Fourteen" diff --git a/wp-content/themes/twentyfourteen/readme.txt b/wp-content/themes/twentyfourteen/readme.txt index 1b69e67..9847e6a 100644 --- a/wp-content/themes/twentyfourteen/readme.txt +++ b/wp-content/themes/twentyfourteen/readme.txt @@ -1,8 +1,8 @@ === Twenty Fourteen === Contributors: the WordPress team Requires at least: WordPress 3.6 -Tested up to: WordPress 4.3-trunk -Stable tag: 1.5 +Tested up to: WordPress 4.5-trunk +Stable tag: 1.6 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: black, green, white, light, dark, two-columns, three-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready @@ -27,7 +27,7 @@ Twenty Fourteen is Distributed under the terms of the GNU GPL This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or +the Free Software Foundation, either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -50,6 +50,11 @@ Source: http://www.genericons.com == Changelog == += 1.6 = +* Released: December 8, 2015 + +https://codex.wordpress.org/Twenty_Fourteen_Theme_Changelog#Version_1.6 + = 1.5 = * Released: August 18, 2015 diff --git a/wp-content/themes/twentyfourteen/style.css b/wp-content/themes/twentyfourteen/style.css index 91ce017..29aec64 100644 --- a/wp-content/themes/twentyfourteen/style.css +++ b/wp-content/themes/twentyfourteen/style.css @@ -4,7 +4,7 @@ Theme URI: https://wordpress.org/themes/twentyfourteen/ Author: the WordPress team Author URI: https://wordpress.org/ Description: In 2014, our default theme lets you create a responsive magazine website with a sleek, modern design. Feature your favorite homepage content in either a grid or a slider. Use the three widget areas to customize your website, and change your content's layout with a full-width page template and a contributor page to show off your authors. Creating a magazine website with WordPress has never been easier. -Version: 1.5 +Version: 1.6 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: black, green, white, light, dark, two-columns, three-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready diff --git a/wp-content/themes/twentythirteen/languages/twentythirteen.pot b/wp-content/themes/twentythirteen/languages/twentythirteen.pot index 7706373..4280e7c 100644 --- a/wp-content/themes/twentythirteen/languages/twentythirteen.pot +++ b/wp-content/themes/twentythirteen/languages/twentythirteen.pot @@ -2,9 +2,9 @@ # This file is distributed under the GNU General Public License v2 or later. msgid "" msgstr "" -"Project-Id-Version: Twenty Thirteen 1.6\n" +"Project-Id-Version: Twenty Thirteen 1.7\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/theme/twentythirteen\n" -"POT-Creation-Date: 2015-07-27 19:47:38+00:00\n" +"POT-Creation-Date: 2015-12-08 15:15:23+00:00\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -147,7 +147,7 @@ msgid "" "searching can help." msgstr "" -#. #-#-#-#-# twentythirteen.pot (Twenty Thirteen 1.6) #-#-#-#-# +#. #-#-#-#-# twentythirteen.pot (Twenty Thirteen 1.7) #-#-#-#-# #. Author URI of the plugin/theme #: footer.php:19 msgid "https://wordpress.org/" diff --git a/wp-content/themes/twentythirteen/readme.txt b/wp-content/themes/twentythirteen/readme.txt index 807443d..ab73932 100644 --- a/wp-content/themes/twentythirteen/readme.txt +++ b/wp-content/themes/twentythirteen/readme.txt @@ -1,8 +1,8 @@ === Twenty Thirteen === Contributors: the WordPress team Requires at least: WordPress 3.6 -Tested up to: WordPress 4.3-trunk -Stable tag: 1.6 +Tested up to: WordPress 4.5-trunk +Stable tag: 1.7 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: black, brown, orange, tan, white, yellow, light, one-column, two-columns, right-sidebar, fluid-layout, responsive-layout, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready, accessibility-ready @@ -27,7 +27,7 @@ Twenty Thirteen is Distributed under the terms of the GNU GPL This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or +the Free Software Foundation, either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -47,6 +47,11 @@ Source: http://www.genericons.com == Changelog == += 1.7 = +* Released: December 8, 2015 + +https://codex.wordpress.org/Twenty_Thirteen_Theme_Changelog#Version_1.7 + = 1.6 = * Released: August 18, 2015 diff --git a/wp-content/themes/twentythirteen/style.css b/wp-content/themes/twentythirteen/style.css index d547283..dfdcd99 100644 --- a/wp-content/themes/twentythirteen/style.css +++ b/wp-content/themes/twentythirteen/style.css @@ -4,7 +4,7 @@ Theme URI: https://wordpress.org/themes/twentythirteen/ Author: the WordPress team Author URI: https://wordpress.org/ Description: The 2013 theme for WordPress takes us back to the blog, featuring a full range of post formats, each displayed beautifully in their own unique way. Design details abound, starting with a vibrant color scheme and matching header images, beautiful typography and icons, and a flexible layout that looks great on any device, big or small. -Version: 1.6 +Version: 1.7 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: black, brown, orange, tan, white, yellow, light, one-column, two-columns, right-sidebar, fluid-layout, responsive-layout, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready, accessibility-ready diff --git a/wp-content/themes/twentytwelve/languages/twentytwelve.pot b/wp-content/themes/twentytwelve/languages/twentytwelve.pot index 69a5197..e906576 100644 --- a/wp-content/themes/twentytwelve/languages/twentytwelve.pot +++ b/wp-content/themes/twentytwelve/languages/twentytwelve.pot @@ -2,9 +2,9 @@ # This file is distributed under the GNU General Public License v2 or later. msgid "" msgstr "" -"Project-Id-Version: Twenty Twelve 1.8\n" +"Project-Id-Version: Twenty Twelve 1.9\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/theme/twentytwelve\n" -"POT-Creation-Date: 2015-07-27 19:47:39+00:00\n" +"POT-Creation-Date: 2015-12-08 15:15:37+00:00\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -139,7 +139,7 @@ msgstr "" msgid "View all posts by %s →" msgstr "" -#. #-#-#-#-# twentytwelve.pot (Twenty Twelve 1.8) #-#-#-#-# +#. #-#-#-#-# twentytwelve.pot (Twenty Twelve 1.9) #-#-#-#-# #. Author URI of the plugin/theme #: footer.php:16 msgid "https://wordpress.org/" diff --git a/wp-content/themes/twentytwelve/readme.txt b/wp-content/themes/twentytwelve/readme.txt index f9ac276..fe401d3 100644 --- a/wp-content/themes/twentytwelve/readme.txt +++ b/wp-content/themes/twentytwelve/readme.txt @@ -1,8 +1,8 @@ === Twenty Twelve === Contributors: the WordPress team Requires at least: WordPress 3.5 -Tested up to: WordPress 4.3-trunk -Stable tag: 1.8 +Tested up to: WordPress 4.5-trunk +Stable tag: 1.9 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: light, gray, white, one-column, two-columns, right-sidebar, fluid-layout, responsive-layout, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready @@ -27,7 +27,7 @@ Twenty Twelve is Distributed under the terms of the GNU GPL This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or +the Free Software Foundation, either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -43,6 +43,11 @@ Source: https://github.com/aFarkas/html5shiv == Changelog == += 1.9 = +* Released: December 8, 2015 + +https://codex.wordpress.org/Twenty_Twelve_Theme_Changelog#Version_1.9 + = 1.8 = * Released: August 18, 2015 diff --git a/wp-content/themes/twentytwelve/style.css b/wp-content/themes/twentytwelve/style.css index c38eeb5..39dea3a 100644 --- a/wp-content/themes/twentytwelve/style.css +++ b/wp-content/themes/twentytwelve/style.css @@ -4,7 +4,7 @@ Theme URI: https://wordpress.org/themes/twentytwelve/ Author: the WordPress team Author URI: https://wordpress.org/ Description: The 2012 theme for WordPress is a fully responsive theme that looks great on any device. Features include a front page template with its own widgets, an optional display font, styling for post formats on both index and single views, and an optional no-sidebar page template. Make it yours with a custom menu, header image, and background. -Version: 1.8 +Version: 1.9 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: light, gray, white, one-column, two-columns, right-sidebar, fluid-layout, responsive-layout, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready diff --git a/wp-includes/SimplePie/Parse/Date.php b/wp-includes/SimplePie/Parse/Date.php index d51f500..88e46e0 100644 --- a/wp-includes/SimplePie/Parse/Date.php +++ b/wp-includes/SimplePie/Parse/Date.php @@ -331,6 +331,7 @@ class SimplePie_Parse_Date 'CCT' => 23400, 'CDT' => -18000, 'CEDT' => 7200, + 'CEST' => 7200, 'CET' => 3600, 'CGST' => -7200, 'CGT' => -10800, @@ -613,7 +614,7 @@ class SimplePie_Parse_Date * * @final * @access public - * @param callback $callback + * @param callable $callback */ public function add_callback($callback) { diff --git a/wp-includes/Text/Diff/Engine/string.php b/wp-includes/Text/Diff/Engine/string.php index 0f3b374..76a1111 100644 --- a/wp-includes/Text/Diff/Engine/string.php +++ b/wp-includes/Text/Diff/Engine/string.php @@ -10,13 +10,13 @@ * echo $renderer->render($diff); *
              * - * Copyright 2005 Örjan Persson + * Copyright 2005 Örjan Persson * Copyright 2005-2010 The Horde Project (http://www.horde.org/) * * See the enclosed file COPYING for license information (LGPL). If you did * not receive this file, see http://opensource.org/licenses/lgpl-license.php. * - * @author Örjan Persson + * @author Örjan Persson * @package Text_Diff * @since 0.2.0 */ diff --git a/wp-includes/admin-bar.php b/wp-includes/admin-bar.php index de33f54..2bf56a8 100644 --- a/wp-includes/admin-bar.php +++ b/wp-includes/admin-bar.php @@ -1,8 +1,10 @@ display_name ); $class = empty( $avatar ) ? '' : 'with-avatar'; @@ -209,11 +218,18 @@ function wp_admin_bar_my_account_item( $wp_admin_bar ) { function wp_admin_bar_my_account_menu( $wp_admin_bar ) { $user_id = get_current_user_id(); $current_user = wp_get_current_user(); - $profile_url = get_edit_profile_url( $user_id ); if ( ! $user_id ) return; + if ( current_user_can( 'read' ) ) { + $profile_url = get_edit_profile_url( $user_id ); + } elseif ( is_multisite() ) { + $profile_url = get_dashboard_url( $user_id, 'profile.php' ); + } else { + $profile_url = false; + } + $wp_admin_bar->add_group( array( 'parent' => 'my-account', 'id' => 'user-actions', @@ -234,12 +250,16 @@ function wp_admin_bar_my_account_menu( $wp_admin_bar ) { 'tabindex' => -1, ), ) ); - $wp_admin_bar->add_menu( array( - 'parent' => 'user-actions', - 'id' => 'edit-profile', - 'title' => __( 'Edit My Profile' ), - 'href' => $profile_url, - ) ); + + if ( false !== $profile_url ) { + $wp_admin_bar->add_menu( array( + 'parent' => 'user-actions', + 'id' => 'edit-profile', + 'title' => __( 'Edit My Profile' ), + 'href' => $profile_url, + ) ); + } + $wp_admin_bar->add_menu( array( 'parent' => 'user-actions', 'id' => 'logout', @@ -281,7 +301,7 @@ function wp_admin_bar_site_menu( $wp_admin_bar ) { $wp_admin_bar->add_menu( array( 'id' => 'site-name', 'title' => $title, - 'href' => is_admin() ? home_url( '/' ) : admin_url(), + 'href' => ( is_admin() || ! current_user_can( 'read' ) ) ? home_url( '/' ) : admin_url(), ) ); // Create submenu items. @@ -304,7 +324,7 @@ function wp_admin_bar_site_menu( $wp_admin_bar ) { ) ); } - } else { + } else if ( current_user_can( 'read' ) ) { // We're on the front end, link to the Dashboard. $wp_admin_bar->add_menu( array( 'parent' => 'site-name', @@ -416,6 +436,12 @@ function wp_admin_bar_my_sites_menu( $wp_admin_bar ) { 'title' => __( 'Plugins' ), 'href' => network_admin_url( 'plugins.php' ), ) ); + $wp_admin_bar->add_menu( array( + 'parent' => 'network-admin', + 'id' => 'network-admin-o', + 'title' => __( 'Settings' ), + 'href' => network_admin_url( 'settings.php' ), + ) ); } // Add site links @@ -512,7 +538,7 @@ function wp_admin_bar_shortlink_menu( $wp_admin_bar ) { * * @since 3.1.0 * - * @global object $tag + * @global WP_Term $tag * @global WP_Query $wp_the_query * * @param WP_Admin_Bar $wp_admin_bar @@ -532,9 +558,8 @@ function wp_admin_bar_edit_menu( $wp_admin_bar ) { && ( $post_type_object->show_in_admin_bar ) ) { if ( 'draft' == $post->post_status ) { - $preview_link = set_url_scheme( get_permalink( $post->ID ) ); - /** This filter is documented in wp-admin/includes/meta-boxes.php */ - $preview_link = apply_filters( 'preview_post_link', add_query_arg( 'preview', 'true', $preview_link ), $post ); + $draft_link = set_url_scheme( get_permalink( $post->ID ) ); + $preview_link = get_preview_post_link( $post, array(), $draft_link ); $wp_admin_bar->add_menu( array( 'id' => 'preview', 'title' => $post_type_object->labels->view_item, @@ -568,7 +593,7 @@ function wp_admin_bar_edit_menu( $wp_admin_bar ) { if ( ! empty( $current_object->post_type ) && ( $post_type_object = get_post_type_object( $current_object->post_type ) ) && current_user_can( 'edit_post', $current_object->ID ) - && $post_type_object->show_ui && $post_type_object->show_in_admin_bar + && $post_type_object->show_in_admin_bar && $edit_post_link = get_edit_post_link( $current_object->ID ) ) { $wp_admin_bar->add_menu( array( @@ -579,7 +604,6 @@ function wp_admin_bar_edit_menu( $wp_admin_bar ) { } elseif ( ! empty( $current_object->taxonomy ) && ( $tax = get_taxonomy( $current_object->taxonomy ) ) && current_user_can( $tax->cap->edit_terms ) - && $tax->show_ui && $edit_term_link = get_edit_term_link( $current_object->term_id, $current_object->taxonomy ) ) { $wp_admin_bar->add_menu( array( @@ -881,6 +905,10 @@ function is_admin_bar_showing() { if ( defined('XMLRPC_REQUEST') || defined('DOING_AJAX') || defined('IFRAME_REQUEST') ) return false; + if ( is_embed() ) { + return false; + } + // Integrated into the admin. if ( is_admin() ) return true; diff --git a/wp-includes/author-template.php b/wp-includes/author-template.php index 36d08bc..54ad8ca 100644 --- a/wp-includes/author-template.php +++ b/wp-includes/author-template.php @@ -56,12 +56,23 @@ function get_the_author($deprecated = '') { * @return string|null The author's display name, from get_the_author(). */ function the_author( $deprecated = '', $deprecated_echo = true ) { - if ( !empty( $deprecated ) ) + if ( ! empty( $deprecated ) ) { _deprecated_argument( __FUNCTION__, '2.1' ); - if ( $deprecated_echo !== true ) - _deprecated_argument( __FUNCTION__, '1.5', __('Use get_the_author() instead if you do not want the value echoed.') ); - if ( $deprecated_echo ) + } + + if ( true !== $deprecated_echo ) { + _deprecated_argument( __FUNCTION__, '1.5', + /* translators: %s: get_the_author() */ + sprintf( __( 'Use %s instead if you do not want the value echoed.' ), + 'get_the_author()' + ) + ); + } + + if ( $deprecated_echo ) { echo get_the_author(); + } + return get_the_author(); } @@ -223,23 +234,17 @@ function the_author_posts() { } /** - * Display an HTML link to the author page of the author of the current post. + * Retrieves an HTML link to the author page of the current post's author. * - * Does just echo get_author_posts_url() function, like the others do. The - * reason for this, is that another function is used to help in printing the - * link to the author's posts. + * Returns an HTML-formatted link using get_author_posts_url(). * - * @link https://codex.wordpress.org/Template_Tags/the_author_posts_link - * @since 1.2.0 + * @since 4.4.0 * * @global object $authordata The current author's DB object. * - * @param string $deprecated Deprecated. + * @return string An HTML link to the author page. */ -function the_author_posts_link($deprecated = '') { - if ( !empty( $deprecated ) ) - _deprecated_argument( __FUNCTION__, '2.1' ); - +function get_the_author_posts_link() { global $authordata; if ( ! is_object( $authordata ) ) { return; @@ -259,7 +264,22 @@ function the_author_posts_link($deprecated = '') { * * @param string $link HTML link. */ - echo apply_filters( 'the_author_posts_link', $link ); + return apply_filters( 'the_author_posts_link', $link ); +} + +/** + * Displays an HTML link to the author page of the current post's author. + * + * @since 1.2.0 + * @since 4.4.0 Converted into a wrapper for get_the_author_posts_link() + * + * @param string $deprecated Unused. + */ +function the_author_posts_link( $deprecated = '' ) { + if ( ! empty( $deprecated ) ) { + _deprecated_argument( __FUNCTION__, '2.1' ); + } + echo get_the_author_posts_link(); } /** @@ -310,7 +330,7 @@ function get_author_posts_url($author_id, $author_nicename = '') { * * @since 1.2.0 * - * @global wpdb $wpdb + * @global wpdb $wpdb WordPress database abstraction object. * * @param string|array $args { * Optional. Array or string of default arguments. @@ -444,7 +464,7 @@ function wp_list_authors( $args = '' ) { * * @since 3.2.0 * - * @global wpdb $wpdb + * @global wpdb $wpdb WordPress database abstraction object. * * @return bool Whether or not we have more than one author */ diff --git a/wp-includes/cache.php b/wp-includes/cache.php index d89ac74..9ee0dcd 100644 --- a/wp-includes/cache.php +++ b/wp-includes/cache.php @@ -13,13 +13,16 @@ * * @since 2.0.0 * - * @global WP_Object_Cache $wp_object_cache + * @see WP_Object_Cache::add() + * @global WP_Object_Cache $wp_object_cache Object cache global instance. * - * @param int|string $key The cache key to use for retrieval later - * @param mixed $data The data to add to the cache store - * @param string $group The group to add the cache to - * @param int $expire When the cache data should be expired - * @return bool False if cache key and group already exist, true on success + * @param int|string $key The cache key to use for retrieval later. + * @param mixed $data The data to add to the cache. + * @param string $group Optional. The group to add the cache to. Enables the same key + * to be used across groups. Default empty. + * @param int $expire Optional. When the cache data should expire, in seconds. + * Default 0 (no expiration). + * @return bool False if cache key and group already exist, true on success. */ function wp_cache_add( $key, $data, $group = '', $expire = 0 ) { global $wp_object_cache; @@ -31,28 +34,30 @@ function wp_cache_add( $key, $data, $group = '', $expire = 0 ) { * Closes the cache. * * This function has ceased to do anything since WordPress 2.5. The - * functionality was removed along with the rest of the persistent cache. This - * does not mean that plugins can't implement this function when they need to - * make sure that the cache is cleaned up after WordPress no longer needs it. + * functionality was removed along with the rest of the persistent cache. + * + * This does not mean that plugins can't implement this function when they need + * to make sure that the cache is cleaned up after WordPress no longer needs it. * * @since 2.0.0 * - * @return true Always returns True + * @return true Always returns true. */ function wp_cache_close() { return true; } /** - * Decrement numeric cache item's value + * Decrements numeric cache item's value. * * @since 3.3.0 * - * @global WP_Object_Cache $wp_object_cache + * @see WP_Object_Cache::decr() + * @global WP_Object_Cache $wp_object_cache Object cache global instance. * - * @param int|string $key The cache key to increment - * @param int $offset The amount by which to decrement the item's value. Default is 1. - * @param string $group The group the key is in. + * @param int|string $key The cache key to decrement. + * @param int $offset Optional. The amount by which to decrement the item's value. Default 1. + * @param string $group Optional. The group the key is in. Default empty. * @return false|int False on failure, the item's new value on success. */ function wp_cache_decr( $key, $offset = 1, $group = '' ) { @@ -66,13 +71,14 @@ function wp_cache_decr( $key, $offset = 1, $group = '' ) { * * @since 2.0.0 * - * @global WP_Object_Cache $wp_object_cache + * @see WP_Object_Cache::delete() + * @global WP_Object_Cache $wp_object_cache Object cache global instance. * - * @param int|string $key What the contents in the cache are called - * @param string $group Where the cache contents are grouped - * @return bool True on successful removal, false on failure + * @param int|string $key What the contents in the cache are called. + * @param string $group Optional. Where the cache contents are grouped. Default empty. + * @return bool True on successful removal, false on failure. */ -function wp_cache_delete($key, $group = '') { +function wp_cache_delete( $key, $group = '' ) { global $wp_object_cache; return $wp_object_cache->delete($key, $group); @@ -83,7 +89,8 @@ function wp_cache_delete($key, $group = '') { * * @since 2.0.0 * - * @global WP_Object_Cache $wp_object_cache + * @see WP_Object_Cache::flush() + * @global WP_Object_Cache $wp_object_cache Object cache global instance. * * @return bool False on failure, true on success */ @@ -98,12 +105,15 @@ function wp_cache_flush() { * * @since 2.0.0 * - * @global WP_Object_Cache $wp_object_cache + * @see WP_Object_Cache::get() + * @global WP_Object_Cache $wp_object_cache Object cache global instance. * - * @param int|string $key What the contents in the cache are called - * @param string $group Where the cache contents are grouped - * @param bool $force Whether to force an update of the local cache from the persistent cache (default is false) - * @param bool &$found Whether key was found in the cache. Disambiguates a return of false, a storable value. + * @param int|string $key The key under which the cache contents are stored. + * @param string $group Optional. Where the cache contents are grouped. Default empty. + * @param bool $force Optional. Whether to force an update of the local cache from the persistent + * cache. Default false. + * @param bool &$found Optional. Whether the key was found in the cache. Disambiguates a return of false, + * a storable value. Passed by reference. Default null. * @return bool|mixed False on failure to retrieve contents or the cache * contents on success */ @@ -118,11 +128,12 @@ function wp_cache_get( $key, $group = '', $force = false, &$found = null ) { * * @since 3.3.0 * - * @global WP_Object_Cache $wp_object_cache + * @see WP_Object_Cache::incr() + * @global WP_Object_Cache $wp_object_cache Object cache global instance. * - * @param int|string $key The cache key to increment - * @param int $offset The amount by which to increment the item's value. Default is 1. - * @param string $group The group the key is in. + * @param int|string $key The key for the cache contents that should be incremented. + * @param int $offset Optional. The amount by which to increment the item's value. Default 1. + * @param string $group Optional. The group the key is in. Default empty. * @return false|int False on failure, the item's new value on success. */ function wp_cache_incr( $key, $offset = 1, $group = '' ) { @@ -147,13 +158,16 @@ function wp_cache_init() { * * @since 2.0.0 * - * @global WP_Object_Cache $wp_object_cache + * @see WP_Object_Cache::replace() + * @global WP_Object_Cache $wp_object_cache Object cache global instance. * - * @param int|string $key What to call the contents in the cache - * @param mixed $data The contents to store in the cache - * @param string $group Where to group the cache contents - * @param int $expire When to expire the cache contents - * @return bool False if not exists, true if contents were replaced + * @param int|string $key The key for the cache data that should be replaced. + * @param mixed $data The new data to store in the cache. + * @param string $group Optional. The group for the cache data that should be replaced. + * Default empty. + * @param int $expire Optional. When to expire the cache contents, in seconds. + * Default 0 (no expiration). + * @return bool False if original value does not exist, true if contents were replaced */ function wp_cache_replace( $key, $data, $group = '', $expire = 0 ) { global $wp_object_cache; @@ -164,14 +178,19 @@ function wp_cache_replace( $key, $data, $group = '', $expire = 0 ) { /** * Saves the data to the cache. * + * Differs from wp_cache_add() and wp_cache_replace() in that it will always write data. + * * @since 2.0.0 * - * @global WP_Object_Cache $wp_object_cache + * @see WP_Object_Cache::set() + * @global WP_Object_Cache $wp_object_cache Object cache global instance. * - * @param int|string $key What to call the contents in the cache - * @param mixed $data The contents to store in the cache - * @param string $group Where to group the cache contents - * @param int $expire When to expire the cache contents + * @param int|string $key The cache key to use for retrieval later. + * @param mixed $data The contents to store in the cache. + * @param string $group Optional. Where to group the cache contents. Enables the same key + * to be used across groups. Default empty. + * @param int $expire Optional. When to expire the cache contents, in seconds. + * Default 0 (no expiration). * @return bool False on failure, true on success */ function wp_cache_set( $key, $data, $group = '', $expire = 0 ) { @@ -181,15 +200,16 @@ function wp_cache_set( $key, $data, $group = '', $expire = 0 ) { } /** - * Switch the interal blog id. + * Switches the interal blog ID. * * This changes the blog id used to create keys in blog specific groups. * * @since 3.5.0 * - * @global WP_Object_Cache $wp_object_cache + * @see WP_Object_Cache::switch_to_blog() + * @global WP_Object_Cache $wp_object_cache Object cache global instance. * - * @param int $blog_id Blog ID + * @param int $blog_id Blog ID. */ function wp_cache_switch_to_blog( $blog_id ) { global $wp_object_cache; @@ -202,9 +222,10 @@ function wp_cache_switch_to_blog( $blog_id ) { * * @since 2.6.0 * - * @global WP_Object_Cache $wp_object_cache + * @see WP_Object_Cache::add_global_groups() + * @global WP_Object_Cache $wp_object_cache Object cache global instance. * - * @param string|array $groups A group or an array of groups to add + * @param string|array $groups A group or an array of groups to add. */ function wp_cache_add_global_groups( $groups ) { global $wp_object_cache; @@ -217,17 +238,18 @@ function wp_cache_add_global_groups( $groups ) { * * @since 2.6.0 * - * @param string|array $groups A group or an array of groups to add + * @param string|array $groups A group or an array of groups to add. */ function wp_cache_add_non_persistent_groups( $groups ) { // Default cache doesn't persist so nothing to do here. } /** - * Reset internal cache keys and structures. If the cache backend uses global - * blog or site IDs as part of its cache keys, this function instructs the - * backend to reset those keys and perform any cleanup since blog or site IDs - * have changed since cache init. + * Reset internal cache keys and structures. + * + * If the cache backend uses global blog or site IDs as part of its cache keys, + * this function instructs the backend to reset those keys and perform any cleanup + * since blog or site IDs have changed since cache init. * * This function is deprecated. Use wp_cache_switch_to_blog() instead of this * function when preparing the cache for a blog switch. For clearing the cache @@ -236,9 +258,10 @@ function wp_cache_add_non_persistent_groups( $groups ) { * high. * * @since 2.6.0 - * @deprecated 3.5.0 + * @deprecated 3.5.0 WP_Object_Cache::reset() + * @see WP_Object_Cache::reset() * - * @global WP_Object_Cache $wp_object_cache + * @global WP_Object_Cache $wp_object_cache Object cache global instance. */ function wp_cache_reset() { _deprecated_function( __FUNCTION__, '3.5' ); @@ -249,7 +272,7 @@ function wp_cache_reset() { } /** - * WordPress Object Cache + * Core class that implements an object cache. * * The WordPress Object Cache is used to save on trips to the database. The * Object Cache stores all of the cache data to memory and makes the cache @@ -267,11 +290,11 @@ function wp_cache_reset() { class WP_Object_Cache { /** - * Holds the cached objects + * Holds the cached objects. * - * @var array - * @access private * @since 2.0.0 + * @access private + * @var array */ private $cache = array(); @@ -285,43 +308,43 @@ class WP_Object_Cache { private $cache_hits = 0; /** - * Amount of times the cache did not have the request in cache + * Amount of times the cache did not have the request in cache. * - * @var int - * @access public * @since 2.0.0 + * @access public + * @var int */ public $cache_misses = 0; /** - * List of global groups + * List of global cache groups. * - * @var array - * @access protected * @since 3.0.0 + * @access protected + * @var array */ protected $global_groups = array(); /** * The blog prefix to prepend to keys in non-global groups. * - * @var int - * @access private * @since 3.5.0 + * @access private + * @var int */ private $blog_prefix; /** - * Holds the value of `is_multisite()` + * Holds the value of is_multisite(). * - * @var bool - * @access private * @since 3.5.0 + * @access private + * @var bool */ private $multisite; /** - * Make private properties readable for backwards compatibility. + * Makes private properties readable for backwards compatibility. * * @since 4.0.0 * @access public @@ -334,7 +357,7 @@ class WP_Object_Cache { } /** - * Make private properties settable for backwards compatibility. + * Makes private properties settable for backwards compatibility. * * @since 4.0.0 * @access public @@ -348,7 +371,7 @@ class WP_Object_Cache { } /** - * Make private properties checkable for backwards compatibility. + * Makes private properties checkable for backwards compatibility. * * @since 4.0.0 * @access public @@ -361,7 +384,7 @@ class WP_Object_Cache { } /** - * Make private properties un-settable for backwards compatibility. + * Makes private properties un-settable for backwards compatibility. * * @since 4.0.0 * @access public @@ -375,16 +398,17 @@ class WP_Object_Cache { /** * Adds data to the cache if it doesn't already exist. * - * @uses WP_Object_Cache::_exists Checks to see if the cache already has data. - * @uses WP_Object_Cache::set Sets the data after the checking the cache - * contents existence. - * * @since 2.0.0 + * @access public * - * @param int|string $key What to call the contents in the cache - * @param mixed $data The contents to store in the cache - * @param string $group Where to group the cache contents - * @param int $expire When to expire the cache contents + * @uses WP_Object_Cache::_exists() Checks to see if the cache already has data. + * @uses WP_Object_Cache::set() Sets the data after the checking the cache + * contents existence. + * + * @param int|string $key What to call the contents in the cache. + * @param mixed $data The contents to store in the cache. + * @param string $group Optional. Where to group the cache contents. Default 'default'. + * @param int $expire Optional. When to expire the cache contents. Default 0 (no expiration). * @return bool False if cache key and group already exist, true on success */ public function add( $key, $data, $group = 'default', $expire = 0 ) { @@ -405,9 +429,10 @@ class WP_Object_Cache { } /** - * Sets the list of global groups. + * Sets the list of global cache groups. * * @since 3.0.0 + * @access public * * @param array $groups List of groups that are global. */ @@ -419,13 +444,14 @@ class WP_Object_Cache { } /** - * Decrement numeric cache item's value + * Decrements numeric cache item's value. * * @since 3.3.0 + * @access public * - * @param int|string $key The cache key to increment - * @param int $offset The amount by which to decrement the item's value. Default is 1. - * @param string $group The group the key is in. + * @param int|string $key The cache key to decrement. + * @param int $offset Optional. The amount by which to decrement the item's value. Default 1. + * @param string $group Optional. The group the key is in. Default 'default'. * @return false|int False on failure, the item's new value on success. */ public function decr( $key, $offset = 1, $group = 'default' ) { @@ -452,17 +478,17 @@ class WP_Object_Cache { } /** - * Remove the contents of the cache key in the group + * Removes the contents of the cache key in the group. * * If the cache key does not exist in the group, then nothing will happen. * * @since 2.0.0 + * @access public * - * @param int|string $key What the contents in the cache are called - * @param string $group Where the cache contents are grouped - * @param bool $deprecated Deprecated. - * - * @return bool False if the contents weren't deleted and true on success + * @param int|string $key What the contents in the cache are called. + * @param string $group Optional. Where the cache contents are grouped. Default 'default'. + * @param bool $deprecated Optional. Unused. Default false. + * @return bool False if the contents weren't deleted and true on success. */ public function delete( $key, $group = 'default', $deprecated = false ) { if ( empty( $group ) ) @@ -479,11 +505,12 @@ class WP_Object_Cache { } /** - * Clears the object cache of all data + * Clears the object cache of all data. * * @since 2.0.0 + * @access public * - * @return true Always returns true + * @return true Always returns true. */ public function flush() { $this->cache = array(); @@ -492,7 +519,7 @@ class WP_Object_Cache { } /** - * Retrieves the cache contents, if it exists + * Retrieves the cache contents, if it exists. * * The contents will be first attempted to be retrieved by searching by the * key in the cache group. If the cache is hit (success) then the contents @@ -501,12 +528,15 @@ class WP_Object_Cache { * On failure, the number of cache misses will be incremented. * * @since 2.0.0 + * @access public * - * @param int|string $key What the contents in the cache are called - * @param string $group Where the cache contents are grouped - * @param string $force Whether to force a refetch rather than relying on the local cache (default is false) - * @return false|mixed False on failure to retrieve contents or the cache - * contents on success + * @param int|string $key What the contents in the cache are called. + * @param string $group Optional. Where the cache contents are grouped. Default 'default'. + * @param string $force Optional. Unused. Whether to force a refetch rather than relying on the local + * cache. Default false. + * @param bool &$found Optional. Whether the key was found in the cache. Disambiguates a return of + * false, a storable value. Passed by reference. Default null. + * @return false|mixed False on failure to retrieve contents or the cache contents on success. */ public function get( $key, $group = 'default', $force = false, &$found = null ) { if ( empty( $group ) ) @@ -530,13 +560,14 @@ class WP_Object_Cache { } /** - * Increment numeric cache item's value + * Increments numeric cache item's value. * * @since 3.3.0 + * @access public * - * @param int|string $key The cache key to increment - * @param int $offset The amount by which to increment the item's value. Default is 1. - * @param string $group The group the key is in. + * @param int|string $key The cache key to increment + * @param int $offset Optional. The amount by which to increment the item's value. Default 1. + * @param string $group Optional. The group the key is in. Default 'default'. * @return false|int False on failure, the item's new value on success. */ public function incr( $key, $offset = 1, $group = 'default' ) { @@ -563,16 +594,18 @@ class WP_Object_Cache { } /** - * Replace the contents in the cache, if contents already exist + * Replaces the contents in the cache, if contents already exist. * * @since 2.0.0 + * @access public + * * @see WP_Object_Cache::set() * - * @param int|string $key What to call the contents in the cache - * @param mixed $data The contents to store in the cache - * @param string $group Where to group the cache contents - * @param int $expire When to expire the cache contents - * @return bool False if not exists, true if contents were replaced + * @param int|string $key What to call the contents in the cache. + * @param mixed $data The contents to store in the cache. + * @param string $group Optional. Where to group the cache contents. Default 'default'. + * @param int $expire Optional. When to expire the cache contents. Default 0 (no expiration). + * @return bool False if not exists, true if contents were replaced. */ public function replace( $key, $data, $group = 'default', $expire = 0 ) { if ( empty( $group ) ) @@ -589,10 +622,13 @@ class WP_Object_Cache { } /** - * Reset keys + * Resets cache keys. * * @since 3.0.0 - * @deprecated 3.5.0 + * @access public + * + * @deprecated 3.5.0 Use switch_to_blog() + * @see switch_to_blog() */ public function reset() { _deprecated_function( __FUNCTION__, '3.5', 'switch_to_blog()' ); @@ -605,7 +641,7 @@ class WP_Object_Cache { } /** - * Sets the data contents into the cache + * Sets the data contents into the cache. * * The cache contents is grouped by the $group parameter followed by the * $key. This allows for duplicate ids in unique groups. Therefore, naming of @@ -617,12 +653,13 @@ class WP_Object_Cache { * more for cache plugins which use files. * * @since 2.0.0 + * @access public * - * @param int|string $key What to call the contents in the cache - * @param mixed $data The contents to store in the cache - * @param string $group Where to group the cache contents - * @param int $expire Not Used - * @return true Always returns true + * @param int|string $key What to call the contents in the cache. + * @param mixed $data The contents to store in the cache. + * @param string $group Optional. Where to group the cache contents. Default 'default'. + * @param int $expire Not Used. + * @return true Always returns true. */ public function set( $key, $data, $group = 'default', $expire = 0 ) { if ( empty( $group ) ) @@ -645,6 +682,7 @@ class WP_Object_Cache { * key and the data. * * @since 2.0.0 + * @access public */ public function stats() { echo "

              "; @@ -653,19 +691,20 @@ class WP_Object_Cache { echo "

              "; echo '
                '; foreach ($this->cache as $group => $cache) { - echo "
              • Group: $group - ( " . number_format( strlen( serialize( $cache ) ) / 1024, 2 ) . 'k )
              • '; + echo "
              • Group: $group - ( " . number_format( strlen( serialize( $cache ) ) / KB_IN_BYTES, 2 ) . 'k )
              • '; } echo '
              '; } /** - * Switch the interal blog id. + * Switches the interal blog ID. * - * This changes the blog id used to create keys in blog specific groups. + * This changes the blog ID used to create keys in blog specific groups. * * @since 3.5.0 + * @access public * - * @param int $blog_id Blog ID + * @param int $blog_id Blog ID. */ public function switch_to_blog( $blog_id ) { $blog_id = (int) $blog_id; @@ -673,25 +712,25 @@ class WP_Object_Cache { } /** - * Utility function to determine whether a key exists in the cache. + * Serves as a utility function to determine whether a key exists in the cache. * * @since 3.4.0 - * * @access protected - * @param string $key - * @param string $group - * @return bool + * + * @param int|string $key Cache key to check for existence. + * @param string $group Cache group for the key existence check. + * @return bool Whether the key exists in the cache for the given group. */ protected function _exists( $key, $group ) { return isset( $this->cache[ $group ] ) && ( isset( $this->cache[ $group ][ $key ] ) || array_key_exists( $key, $this->cache[ $group ] ) ); } /** - * Sets up object properties; PHP 5 style constructor + * Sets up object properties; PHP 5 style constructor. * * @since 2.0.8 * - * @global int $blog_id + * @global int $blog_id Global blog ID. */ public function __construct() { global $blog_id; @@ -708,13 +747,13 @@ class WP_Object_Cache { } /** - * Will save the object cache before object is completely destroyed. + * Saves the object cache before object is completely destroyed. * * Called upon object destruction, which should be when PHP ends. * - * @since 2.0.8 + * @since 2.0.8 * - * @return true True value. Won't be used by PHP + * @return true Always returns true. */ public function __destruct() { return true; diff --git a/wp-includes/canonical.php b/wp-includes/canonical.php index f75a72e..cacbdaa 100644 --- a/wp-includes/canonical.php +++ b/wp-includes/canonical.php @@ -31,7 +31,7 @@ * @global WP_Rewrite $wp_rewrite * @global bool $is_IIS * @global WP_Query $wp_query - * @global wpdb $wpdb + * @global wpdb $wpdb WordPress database abstraction object. * * @param string $requested_url Optional. The URL that was requested, used to * figure if redirect is needed. @@ -39,7 +39,7 @@ * @return string|void The string of the URL, if redirect needed. */ function redirect_canonical( $requested_url = null, $do_redirect = true ) { - global $wp_rewrite, $is_IIS, $wp_query, $wpdb; + global $wp_rewrite, $is_IIS, $wp_query, $wpdb, $wp; if ( isset( $_SERVER['REQUEST_METHOD'] ) && ! in_array( strtoupper( $_SERVER['REQUEST_METHOD'] ), array( 'GET', 'HEAD' ) ) ) { return; @@ -59,7 +59,7 @@ function redirect_canonical( $requested_url = null, $do_redirect = true ) { return; } - if ( !$requested_url ) { + if ( ! $requested_url && isset( $_SERVER['HTTP_HOST'] ) ) { // build the URL in the address bar $requested_url = is_ssl() ? 'https://' : 'http://'; $requested_url .= $_SERVER['HTTP_HOST']; @@ -67,14 +67,9 @@ function redirect_canonical( $requested_url = null, $do_redirect = true ) { } $original = @parse_url($requested_url); - if ( false === $original ) + if ( false === $original ) { return; - - // Some PHP setups turn requests for / into /index.php in REQUEST_URI - // See: https://core.trac.wordpress.org/ticket/5017 - // See: https://core.trac.wordpress.org/ticket/7173 - // Disabled, for now: - // $original['path'] = preg_replace('|/index\.php$|', '/', $original['path']); + } $redirect = $original; $redirect_url = false; @@ -122,7 +117,7 @@ function redirect_canonical( $requested_url = null, $do_redirect = true ) { $id = max( get_query_var('p'), get_query_var('page_id'), get_query_var('attachment_id') ); if ( $id && $redirect_post = get_post($id) ) { $post_type_obj = get_post_type_object($redirect_post->post_type); - if ( $post_type_obj->public ) { + if ( $post_type_obj->public && 'auto-draft' != $redirect_post->post_status ) { $redirect_url = get_permalink($redirect_post); $redirect['query'] = _remove_qs_args_if_not_in_url( $redirect['query'], array( 'p', 'page_id', 'attachment_id', 'pagename', 'name', 'post_type' ), $redirect_url ); } @@ -148,11 +143,26 @@ function redirect_canonical( $requested_url = null, $do_redirect = true ) { } } + if ( get_query_var( 'page' ) && $wp_query->post && + false !== strpos( $wp_query->post->post_content, '' ) ) { + $redirect['path'] = rtrim( $redirect['path'], (int) get_query_var( 'page' ) . '/' ); + $redirect['query'] = remove_query_arg( 'page', $redirect['query'] ); + $redirect_url = get_permalink( $wp_query->post->ID ); + } + } elseif ( is_object($wp_rewrite) && $wp_rewrite->using_permalinks() ) { // rewriting of old ?p=X, ?m=2004, ?m=200401, ?m=20040101 - if ( is_attachment() && !empty($_GET['attachment_id']) && ! $redirect_url ) { - if ( $redirect_url = get_attachment_link(get_query_var('attachment_id')) ) - $redirect['query'] = remove_query_arg('attachment_id', $redirect['query']); + if ( is_attachment() && + ! array_diff( array_keys( $wp->query_vars ), array( 'attachment', 'attachment_id' ) ) && + ! $redirect_url ) { + if ( ! empty( $_GET['attachment_id'] ) ) { + $redirect_url = get_attachment_link( get_query_var( 'attachment_id' ) ); + if ( $redirect_url ) { + $redirect['query'] = remove_query_arg( 'attachment_id', $redirect['query'] ); + } + } else { + $redirect_url = get_attachment_link(); + } } elseif ( is_single() && !empty($_GET['p']) && ! $redirect_url ) { if ( $redirect_url = get_permalink(get_query_var('p')) ) $redirect['query'] = remove_query_arg(array('p', 'post_type'), $redirect['query']); @@ -308,7 +318,10 @@ function redirect_canonical( $requested_url = null, $do_redirect = true ) { } } - if ( get_option('page_comments') && ( ( 'newest' == get_option('default_comments_page') && get_query_var('cpage') > 0 ) || ( 'newest' != get_option('default_comments_page') && get_query_var('cpage') > 1 ) ) ) { + if ( get_option( 'page_comments' ) && ( + ( 'newest' == get_option( 'default_comments_page' ) && get_query_var( 'cpage' ) > 0 ) || + ( 'newest' != get_option( 'default_comments_page' ) && get_query_var( 'cpage' ) > 1 ) + ) ) { $addl_path = ( !empty( $addl_path ) ? trailingslashit($addl_path) : '' ) . user_trailingslashit( $wp_rewrite->comments_pagination_base . '-' . get_query_var('cpage'), 'commentpaged' ); $redirect['query'] = remove_query_arg( 'cpage', $redirect['query'] ); } @@ -326,7 +339,7 @@ function redirect_canonical( $requested_url = null, $do_redirect = true ) { /** This filter is documented in wp-login.php */ $redirect_url = apply_filters( 'wp_signup_location', network_site_url( 'wp-signup.php' ) ); } else { - $redirect_url = site_url( 'wp-login.php?action=register' ); + $redirect_url = wp_registration_url(); } wp_redirect( $redirect_url, 301 ); @@ -476,7 +489,7 @@ function redirect_canonical( $requested_url = null, $do_redirect = true ) { $redirect_url = apply_filters( 'redirect_canonical', $redirect_url, $requested_url ); // yes, again -- in case the filter aborted the request - if ( ! $redirect_url || $redirect_url == $requested_url ) { + if ( ! $redirect_url || strip_fragment_from_url( $redirect_url ) == strip_fragment_from_url( $requested_url ) ) { return; } @@ -521,18 +534,42 @@ function _remove_qs_args_if_not_in_url( $query_string, Array $args_to_check, $ur return $query_string; } +/** + * Strips the #fragment from a URL, if one is present. + * + * @since 4.4.0 + * + * @param string $url The URL to strip. + * @return string The altered URL. + */ +function strip_fragment_from_url( $url ) { + $parsed_url = @parse_url( $url ); + if ( ! empty( $parsed_url['host'] ) ) { + // This mirrors code in redirect_canonical(). It does not handle every case. + $url = $parsed_url['scheme'] . '://' . $parsed_url['host']; + if ( ! empty( $parsed_url['port'] ) ) { + $url .= ':' . $parsed_url['port']; + } + $url .= $parsed_url['path']; + if ( ! empty( $parsed_url['query'] ) ) { + $url .= '?' . $parsed_url['query']; + } + } + + return $url; +} + /** * Attempts to guess the correct URL based on query vars * * @since 2.3.0 * * @global wpdb $wpdb WordPress database abstraction object. - * @global WP_Rewrite $wp_rewrite * * @return false|string The correct URL if one is found. False on failure. */ function redirect_guess_404_permalink() { - global $wpdb, $wp_rewrite; + global $wpdb; if ( get_query_var('name') ) { $where = $wpdb->prepare("post_name LIKE %s", $wpdb->esc_like( get_query_var('name') ) . '%'); @@ -555,7 +592,7 @@ function redirect_guess_404_permalink() { return false; if ( get_query_var( 'feed' ) ) return get_post_comments_feed_link( $post_id, get_query_var( 'feed' ) ); - elseif ( get_query_var( 'page' ) ) + elseif ( get_query_var( 'page' ) && 1 < get_query_var( 'page' ) ) return trailingslashit( get_permalink( $post_id ) ) . user_trailingslashit( get_query_var( 'page' ), 'single_paged' ); else return get_permalink( $post_id ); @@ -591,7 +628,7 @@ function wp_redirect_admin_locations() { site_url( 'login', 'relative' ), ); if ( in_array( untrailingslashit( $_SERVER['REQUEST_URI'] ), $logins ) ) { - wp_redirect( site_url( 'wp-login.php', 'login' ) ); + wp_redirect( wp_login_url() ); exit; } } diff --git a/wp-includes/capabilities.php b/wp-includes/capabilities.php index 42133f6..7c570c4 100644 --- a/wp-includes/capabilities.php +++ b/wp-includes/capabilities.php @@ -1,1109 +1,11 @@ array ( - * 'name' => 'rolename', - * 'capabilities' => array() - * ) - * ) - * - * @since 2.0.0 - * @package WordPress - * @subpackage User - */ -class WP_Roles { - /** - * List of roles and capabilities. - * - * @since 2.0.0 - * @access public - * @var array - */ - public $roles; - - /** - * List of the role objects. - * - * @since 2.0.0 - * @access public - * @var array - */ - public $role_objects = array(); - - /** - * List of role names. - * - * @since 2.0.0 - * @access public - * @var array - */ - public $role_names = array(); - - /** - * Option name for storing role list. - * - * @since 2.0.0 - * @access public - * @var string - */ - public $role_key; - - /** - * Whether to use the database for retrieval and storage. - * - * @since 2.1.0 - * @access public - * @var bool - */ - public $use_db = true; - - /** - * Constructor - * - * @since 2.0.0 - */ - public function __construct() { - $this->_init(); - } - - /** - * Make private/protected methods readable for backwards compatibility. - * - * @since 4.0.0 - * @access public - * - * @param callable $name Method to call. - * @param array $arguments Arguments to pass when calling. - * @return mixed|false Return value of the callback, false otherwise. - */ - public function __call( $name, $arguments ) { - if ( '_init' === $name ) { - return call_user_func_array( array( $this, $name ), $arguments ); - } - return false; - } - - /** - * Set up the object properties. - * - * The role key is set to the current prefix for the $wpdb object with - * 'user_roles' appended. If the $wp_user_roles global is set, then it will - * be used and the role option will not be updated or used. - * - * @since 2.1.0 - * @access protected - * - * @global wpdb $wpdb WordPress database abstraction object. - * @global array $wp_user_roles Used to set the 'roles' property value. - */ - protected function _init() { - global $wpdb, $wp_user_roles; - $this->role_key = $wpdb->get_blog_prefix() . 'user_roles'; - if ( ! empty( $wp_user_roles ) ) { - $this->roles = $wp_user_roles; - $this->use_db = false; - } else { - $this->roles = get_option( $this->role_key ); - } - - if ( empty( $this->roles ) ) - return; - - $this->role_objects = array(); - $this->role_names = array(); - foreach ( array_keys( $this->roles ) as $role ) { - $this->role_objects[$role] = new WP_Role( $role, $this->roles[$role]['capabilities'] ); - $this->role_names[$role] = $this->roles[$role]['name']; - } - } - - /** - * Reinitialize the object - * - * Recreates the role objects. This is typically called only by switch_to_blog() - * after switching wpdb to a new blog ID. - * - * @since 3.5.0 - * @access public - * - * @global wpdb $wpdb - */ - public function reinit() { - // There is no need to reinit if using the wp_user_roles global. - if ( ! $this->use_db ) - return; - - global $wpdb; - - // Duplicated from _init() to avoid an extra function call. - $this->role_key = $wpdb->get_blog_prefix() . 'user_roles'; - $this->roles = get_option( $this->role_key ); - if ( empty( $this->roles ) ) - return; - - $this->role_objects = array(); - $this->role_names = array(); - foreach ( array_keys( $this->roles ) as $role ) { - $this->role_objects[$role] = new WP_Role( $role, $this->roles[$role]['capabilities'] ); - $this->role_names[$role] = $this->roles[$role]['name']; - } - } - - /** - * Add role name with capabilities to list. - * - * Updates the list of roles, if the role doesn't already exist. - * - * The capabilities are defined in the following format `array( 'read' => true );` - * To explicitly deny a role a capability you set the value for that capability to false. - * - * @since 2.0.0 - * @access public - * - * @param string $role Role name. - * @param string $display_name Role display name. - * @param array $capabilities List of role capabilities in the above format. - * @return WP_Role|void WP_Role object, if role is added. - */ - public function add_role( $role, $display_name, $capabilities = array() ) { - if ( isset( $this->roles[$role] ) ) - return; - - $this->roles[$role] = array( - 'name' => $display_name, - 'capabilities' => $capabilities - ); - if ( $this->use_db ) - update_option( $this->role_key, $this->roles ); - $this->role_objects[$role] = new WP_Role( $role, $capabilities ); - $this->role_names[$role] = $display_name; - return $this->role_objects[$role]; - } - - /** - * Remove role by name. - * - * @since 2.0.0 - * @access public - * - * @param string $role Role name. - */ - public function remove_role( $role ) { - if ( ! isset( $this->role_objects[$role] ) ) - return; - - unset( $this->role_objects[$role] ); - unset( $this->role_names[$role] ); - unset( $this->roles[$role] ); - - if ( $this->use_db ) - update_option( $this->role_key, $this->roles ); - - if ( get_option( 'default_role' ) == $role ) - update_option( 'default_role', 'subscriber' ); - } - - /** - * Add capability to role. - * - * @since 2.0.0 - * @access public - * - * @param string $role Role name. - * @param string $cap Capability name. - * @param bool $grant Optional, default is true. Whether role is capable of performing capability. - */ - public function add_cap( $role, $cap, $grant = true ) { - if ( ! isset( $this->roles[$role] ) ) - return; - - $this->roles[$role]['capabilities'][$cap] = $grant; - if ( $this->use_db ) - update_option( $this->role_key, $this->roles ); - } - - /** - * Remove capability from role. - * - * @since 2.0.0 - * @access public - * - * @param string $role Role name. - * @param string $cap Capability name. - */ - public function remove_cap( $role, $cap ) { - if ( ! isset( $this->roles[$role] ) ) - return; - - unset( $this->roles[$role]['capabilities'][$cap] ); - if ( $this->use_db ) - update_option( $this->role_key, $this->roles ); - } - - /** - * Retrieve role object by name. - * - * @since 2.0.0 - * @access public - * - * @param string $role Role name. - * @return WP_Role|null WP_Role object if found, null if the role does not exist. - */ - public function get_role( $role ) { - if ( isset( $this->role_objects[$role] ) ) - return $this->role_objects[$role]; - else - return null; - } - - /** - * Retrieve list of role names. - * - * @since 2.0.0 - * @access public - * - * @return array List of role names. - */ - public function get_names() { - return $this->role_names; - } - - /** - * Whether role name is currently in the list of available roles. - * - * @since 2.0.0 - * @access public - * - * @param string $role Role name to look up. - * @return bool - */ - public function is_role( $role ) { - return isset( $this->role_names[$role] ); - } -} - -/** - * WordPress Role class. - * - * @since 2.0.0 - * @package WordPress - * @subpackage User - */ -class WP_Role { - /** - * Role name. - * - * @since 2.0.0 - * @access public - * @var string - */ - public $name; - - /** - * List of capabilities the role contains. - * - * @since 2.0.0 - * @access public - * @var array - */ - public $capabilities; - - /** - * Constructor - Set up object properties. - * - * The list of capabilities, must have the key as the name of the capability - * and the value a boolean of whether it is granted to the role. - * - * @since 2.0.0 - * @access public - * - * @param string $role Role name. - * @param array $capabilities List of capabilities. - */ - public function __construct( $role, $capabilities ) { - $this->name = $role; - $this->capabilities = $capabilities; - } - - /** - * Assign role a capability. - * - * @since 2.0.0 - * @access public - * - * @param string $cap Capability name. - * @param bool $grant Whether role has capability privilege. - */ - public function add_cap( $cap, $grant = true ) { - $this->capabilities[$cap] = $grant; - wp_roles()->add_cap( $this->name, $cap, $grant ); - } - - /** - * Remove capability from role. - * - * This is a container for {@link WP_Roles::remove_cap()} to remove the - * capability from the role. That is to say, that {@link - * WP_Roles::remove_cap()} implements the functionality, but it also makes - * sense to use this class, because you don't need to enter the role name. - * - * @since 2.0.0 - * @access public - * - * @param string $cap Capability name. - */ - public function remove_cap( $cap ) { - unset( $this->capabilities[$cap] ); - wp_roles()->remove_cap( $this->name, $cap ); - } - - /** - * Whether role has capability. - * - * The capabilities is passed through the 'role_has_cap' filter. The first - * parameter for the hook is the list of capabilities the class has - * assigned. The second parameter is the capability name to look for. The - * third and final parameter for the hook is the role name. - * - * @since 2.0.0 - * @access public - * - * @param string $cap Capability name. - * @return bool True, if user has capability. False, if doesn't have capability. - */ - public function has_cap( $cap ) { - /** - * Filter which capabilities a role has. - * - * @since 2.0.0 - * - * @param array $capabilities Array of role capabilities. - * @param string $cap Capability name. - * @param string $name Role name. - */ - $capabilities = apply_filters( 'role_has_cap', $this->capabilities, $cap, $this->name ); - if ( !empty( $capabilities[$cap] ) ) - return $capabilities[$cap]; - else - return false; - } - -} - -/** - * WordPress User class. - * - * @since 2.0.0 - * @package WordPress - * @subpackage User - * - * @property string $nickname - * @property string $user_description - * @property string $user_firstname - * @property string $user_lastname - * @property string $user_login - * @property string $user_pass - * @property string $user_nicename - * @property string $user_email - * @property string $user_url - * @property string $user_registered - * @property string $user_activation_key - * @property string $user_status - * @property string $display_name - * @property string $spam - * @property string $deleted - */ -class WP_User { - /** - * User data container. - * - * @since 2.0.0 - * @var object - */ - public $data; - - /** - * The user's ID. - * - * @since 2.1.0 - * @access public - * @var int - */ - public $ID = 0; - - /** - * The individual capabilities the user has been given. - * - * @since 2.0.0 - * @access public - * @var array - */ - public $caps = array(); - - /** - * User metadata option name. - * - * @since 2.0.0 - * @access public - * @var string - */ - public $cap_key; - - /** - * The roles the user is part of. - * - * @since 2.0.0 - * @access public - * @var array - */ - public $roles = array(); - - /** - * All capabilities the user has, including individual and role based. - * - * @since 2.0.0 - * @access public - * @var array - */ - public $allcaps = array(); - - /** - * The filter context applied to user data fields. - * - * @since 2.9.0 - * @access private - * @var string - */ - var $filter = null; - - /** - * @static - * @access private - * @var array - */ - private static $back_compat_keys; - - /** - * Constructor - * - * Retrieves the userdata and passes it to {@link WP_User::init()}. - * - * @since 2.0.0 - * @access public - * - * @global wpdb $wpdb - * - * @param int|string|stdClass|WP_User $id User's ID, a WP_User object, or a user object from the DB. - * @param string $name Optional. User's username - * @param int $blog_id Optional Blog ID, defaults to current blog. - */ - public function __construct( $id = 0, $name = '', $blog_id = '' ) { - if ( ! isset( self::$back_compat_keys ) ) { - $prefix = $GLOBALS['wpdb']->prefix; - self::$back_compat_keys = array( - 'user_firstname' => 'first_name', - 'user_lastname' => 'last_name', - 'user_description' => 'description', - 'user_level' => $prefix . 'user_level', - $prefix . 'usersettings' => $prefix . 'user-settings', - $prefix . 'usersettingstime' => $prefix . 'user-settings-time', - ); - } - - if ( $id instanceof WP_User ) { - $this->init( $id->data, $blog_id ); - return; - } elseif ( is_object( $id ) ) { - $this->init( $id, $blog_id ); - return; - } - - if ( ! empty( $id ) && ! is_numeric( $id ) ) { - $name = $id; - $id = 0; - } - - if ( $id ) { - $data = self::get_data_by( 'id', $id ); - } else { - $data = self::get_data_by( 'login', $name ); - } - - if ( $data ) { - $this->init( $data, $blog_id ); - } else { - $this->data = new stdClass; - } - } - - /** - * Sets up object properties, including capabilities. - * - * @param object $data User DB row object - * @param int $blog_id Optional. The blog id to initialize for - */ - public function init( $data, $blog_id = '' ) { - $this->data = $data; - $this->ID = (int) $data->ID; - - $this->for_blog( $blog_id ); - } - - /** - * Return only the main user fields - * - * @since 3.3.0 - * - * @static - * - * @global wpdb $wpdb - * - * @param string $field The field to query against: 'id', 'slug', 'email' or 'login' - * @param string|int $value The field value - * @return object|false Raw user object - */ - public static function get_data_by( $field, $value ) { - global $wpdb; - - if ( 'id' == $field ) { - // Make sure the value is numeric to avoid casting objects, for example, - // to int 1. - if ( ! is_numeric( $value ) ) - return false; - $value = intval( $value ); - if ( $value < 1 ) - return false; - } else { - $value = trim( $value ); - } - - if ( !$value ) - return false; - - switch ( $field ) { - case 'id': - $user_id = $value; - $db_field = 'ID'; - break; - case 'slug': - $user_id = wp_cache_get($value, 'userslugs'); - $db_field = 'user_nicename'; - break; - case 'email': - $user_id = wp_cache_get($value, 'useremail'); - $db_field = 'user_email'; - break; - case 'login': - $value = sanitize_user( $value ); - $user_id = wp_cache_get($value, 'userlogins'); - $db_field = 'user_login'; - break; - default: - return false; - } - - if ( false !== $user_id ) { - if ( $user = wp_cache_get( $user_id, 'users' ) ) - return $user; - } - - if ( !$user = $wpdb->get_row( $wpdb->prepare( - "SELECT * FROM $wpdb->users WHERE $db_field = %s", $value - ) ) ) - return false; - - update_user_caches( $user ); - - return $user; - } - - /** - * Makes private/protected methods readable for backwards compatibility. - * - * @since 4.3.0 - * @access public - * - * @param callable $name Method to call. - * @param array $arguments Arguments to pass when calling. - * @return mixed|false Return value of the callback, false otherwise. - */ - public function __call( $name, $arguments ) { - if ( '_init_caps' === $name ) { - return call_user_func_array( array( $this, $name ), $arguments ); - } - return false; - } - - /** - * Magic method for checking the existence of a certain custom field - * - * @since 3.3.0 - * @param string $key - * @return bool - */ - public function __isset( $key ) { - if ( 'id' == $key ) { - _deprecated_argument( 'WP_User->id', '2.1', __( 'Use WP_User->ID instead.' ) ); - $key = 'ID'; - } - - if ( isset( $this->data->$key ) ) - return true; - - if ( isset( self::$back_compat_keys[ $key ] ) ) - $key = self::$back_compat_keys[ $key ]; - - return metadata_exists( 'user', $this->ID, $key ); - } - - /** - * Magic method for accessing custom fields - * - * @since 3.3.0 - * @param string $key - * @return mixed - */ - public function __get( $key ) { - if ( 'id' == $key ) { - _deprecated_argument( 'WP_User->id', '2.1', __( 'Use WP_User->ID instead.' ) ); - return $this->ID; - } - - if ( isset( $this->data->$key ) ) { - $value = $this->data->$key; - } else { - if ( isset( self::$back_compat_keys[ $key ] ) ) - $key = self::$back_compat_keys[ $key ]; - $value = get_user_meta( $this->ID, $key, true ); - } - - if ( $this->filter ) { - $value = sanitize_user_field( $key, $value, $this->ID, $this->filter ); - } - - return $value; - } - - /** - * Magic method for setting custom fields - * - * @since 3.3.0 - */ - public function __set( $key, $value ) { - if ( 'id' == $key ) { - _deprecated_argument( 'WP_User->id', '2.1', __( 'Use WP_User->ID instead.' ) ); - $this->ID = $value; - return; - } - - $this->data->$key = $value; - } - - /** - * Determine whether the user exists in the database. - * - * @since 3.4.0 - * @access public - * - * @return bool True if user exists in the database, false if not. - */ - public function exists() { - return ! empty( $this->ID ); - } - - /** - * Retrieve the value of a property or meta key. - * - * Retrieves from the users and usermeta table. - * - * @since 3.3.0 - * - * @param string $key Property - * @return mixed - */ - public function get( $key ) { - return $this->__get( $key ); - } - - /** - * Determine whether a property or meta key is set - * - * Consults the users and usermeta tables. - * - * @since 3.3.0 - * - * @param string $key Property - * @return bool - */ - public function has_prop( $key ) { - return $this->__isset( $key ); - } - - /** - * Return an array representation. - * - * @since 3.5.0 - * - * @return array Array representation. - */ - public function to_array() { - return get_object_vars( $this->data ); - } - - /** - * Set up capability object properties. - * - * Will set the value for the 'cap_key' property to current database table - * prefix, followed by 'capabilities'. Will then check to see if the - * property matching the 'cap_key' exists and is an array. If so, it will be - * used. - * - * @access protected - * @since 2.1.0 - * - * @global wpdb $wpdb - * - * @param string $cap_key Optional capability key - */ - protected function _init_caps( $cap_key = '' ) { - global $wpdb; - - if ( empty($cap_key) ) - $this->cap_key = $wpdb->get_blog_prefix() . 'capabilities'; - else - $this->cap_key = $cap_key; - - $this->caps = get_user_meta( $this->ID, $this->cap_key, true ); - - if ( ! is_array( $this->caps ) ) - $this->caps = array(); - - $this->get_role_caps(); - } - - /** - * Retrieve all of the role capabilities and merge with individual capabilities. - * - * All of the capabilities of the roles the user belongs to are merged with - * the users individual roles. This also means that the user can be denied - * specific roles that their role might have, but the specific user isn't - * granted permission to. - * - * @since 2.0.0 - * @access public - * - * @return array List of all capabilities for the user. - */ - public function get_role_caps() { - $wp_roles = wp_roles(); - - //Filter out caps that are not role names and assign to $this->roles - if ( is_array( $this->caps ) ) - $this->roles = array_filter( array_keys( $this->caps ), array( $wp_roles, 'is_role' ) ); - - //Build $allcaps from role caps, overlay user's $caps - $this->allcaps = array(); - foreach ( (array) $this->roles as $role ) { - $the_role = $wp_roles->get_role( $role ); - $this->allcaps = array_merge( (array) $this->allcaps, (array) $the_role->capabilities ); - } - $this->allcaps = array_merge( (array) $this->allcaps, (array) $this->caps ); - - return $this->allcaps; - } - - /** - * Add role to user. - * - * Updates the user's meta data option with capabilities and roles. - * - * @since 2.0.0 - * @access public - * - * @param string $role Role name. - */ - public function add_role( $role ) { - $this->caps[$role] = true; - update_user_meta( $this->ID, $this->cap_key, $this->caps ); - $this->get_role_caps(); - $this->update_user_level_from_caps(); - - /** - * Fires immediately after the user has been given a new role. - * - * @since 4.3.0 - * - * @param int $user_id The user ID. - * @param string $role The new role. - */ - do_action( 'add_user_role', $this->ID, $role ); - } - - /** - * Remove role from user. - * - * @since 2.0.0 - * @access public - * - * @param string $role Role name. - */ - public function remove_role( $role ) { - if ( !in_array($role, $this->roles) ) - return; - unset( $this->caps[$role] ); - update_user_meta( $this->ID, $this->cap_key, $this->caps ); - $this->get_role_caps(); - $this->update_user_level_from_caps(); - - /** - * Fires immediately after a role as been removed from a user. - * - * @since 4.3.0 - * - * @param int $user_id The user ID. - * @param string $role The removed role. - */ - do_action( 'remove_user_role', $this->ID, $role ); - } - - /** - * Set the role of the user. - * - * This will remove the previous roles of the user and assign the user the - * new one. You can set the role to an empty string and it will remove all - * of the roles from the user. - * - * @since 2.0.0 - * @access public - * - * @param string $role Role name. - */ - public function set_role( $role ) { - if ( 1 == count( $this->roles ) && $role == current( $this->roles ) ) - return; - - foreach ( (array) $this->roles as $oldrole ) - unset( $this->caps[$oldrole] ); - - $old_roles = $this->roles; - if ( !empty( $role ) ) { - $this->caps[$role] = true; - $this->roles = array( $role => true ); - } else { - $this->roles = false; - } - update_user_meta( $this->ID, $this->cap_key, $this->caps ); - $this->get_role_caps(); - $this->update_user_level_from_caps(); - - /** - * Fires after the user's role has changed. - * - * @since 2.9.0 - * @since 3.6.0 Added $old_roles to include an array of the user's previous roles. - * - * @param int $user_id The user ID. - * @param string $role The new role. - * @param array $old_roles An array of the user's previous roles. - */ - do_action( 'set_user_role', $this->ID, $role, $old_roles ); - } - - /** - * Choose the maximum level the user has. - * - * Will compare the level from the $item parameter against the $max - * parameter. If the item is incorrect, then just the $max parameter value - * will be returned. - * - * Used to get the max level based on the capabilities the user has. This - * is also based on roles, so if the user is assigned the Administrator role - * then the capability 'level_10' will exist and the user will get that - * value. - * - * @since 2.0.0 - * @access public - * - * @param int $max Max level of user. - * @param string $item Level capability name. - * @return int Max Level. - */ - public function level_reduction( $max, $item ) { - if ( preg_match( '/^level_(10|[0-9])$/i', $item, $matches ) ) { - $level = intval( $matches[1] ); - return max( $max, $level ); - } else { - return $max; - } - } - - /** - * Update the maximum user level for the user. - * - * Updates the 'user_level' user metadata (includes prefix that is the - * database table prefix) with the maximum user level. Gets the value from - * the all of the capabilities that the user has. - * - * @since 2.0.0 - * @access public - * - * @global wpdb $wpdb - */ - public function update_user_level_from_caps() { - global $wpdb; - $this->user_level = array_reduce( array_keys( $this->allcaps ), array( $this, 'level_reduction' ), 0 ); - update_user_meta( $this->ID, $wpdb->get_blog_prefix() . 'user_level', $this->user_level ); - } - - /** - * Add capability and grant or deny access to capability. - * - * @since 2.0.0 - * @access public - * - * @param string $cap Capability name. - * @param bool $grant Whether to grant capability to user. - */ - public function add_cap( $cap, $grant = true ) { - $this->caps[$cap] = $grant; - update_user_meta( $this->ID, $this->cap_key, $this->caps ); - $this->get_role_caps(); - $this->update_user_level_from_caps(); - } - - /** - * Remove capability from user. - * - * @since 2.0.0 - * @access public - * - * @param string $cap Capability name. - */ - public function remove_cap( $cap ) { - if ( ! isset( $this->caps[ $cap ] ) ) { - return; - } - unset( $this->caps[ $cap ] ); - update_user_meta( $this->ID, $this->cap_key, $this->caps ); - $this->get_role_caps(); - $this->update_user_level_from_caps(); - } - - /** - * Remove all of the capabilities of the user. - * - * @since 2.1.0 - * @access public - * - * @global wpdb $wpdb - */ - public function remove_all_caps() { - global $wpdb; - $this->caps = array(); - delete_user_meta( $this->ID, $this->cap_key ); - delete_user_meta( $this->ID, $wpdb->get_blog_prefix() . 'user_level' ); - $this->get_role_caps(); - } - - /** - * Whether user has capability or role name. - * - * This is useful for looking up whether the user has a specific role - * assigned to the user. The second optional parameter can also be used to - * check for capabilities against a specific object, such as a post or user. - * - * @since 2.0.0 - * @access public - * - * @param string|int $cap Capability or role name to search. - * @return bool True, if user has capability; false, if user does not have capability. - */ - public function has_cap( $cap ) { - if ( is_numeric( $cap ) ) { - _deprecated_argument( __FUNCTION__, '2.0', __('Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead.') ); - $cap = $this->translate_level_to_cap( $cap ); - } - - $args = array_slice( func_get_args(), 1 ); - $args = array_merge( array( $cap, $this->ID ), $args ); - $caps = call_user_func_array( 'map_meta_cap', $args ); - - // Multisite super admin has all caps by definition, Unless specifically denied. - if ( is_multisite() && is_super_admin( $this->ID ) ) { - if ( in_array('do_not_allow', $caps) ) - return false; - return true; - } - - /** - * Dynamically filter a user's capabilities. - * - * @since 2.0.0 - * @since 3.7.0 Added the user object. - * - * @param array $allcaps An array of all the user's capabilities. - * @param array $caps Actual capabilities for meta capability. - * @param array $args Optional parameters passed to has_cap(), typically object ID. - * @param WP_User $user The user object. - */ - // Must have ALL requested caps - $capabilities = apply_filters( 'user_has_cap', $this->allcaps, $caps, $args, $this ); - $capabilities['exist'] = true; // Everyone is allowed to exist - foreach ( (array) $caps as $cap ) { - if ( empty( $capabilities[ $cap ] ) ) - return false; - } - - return true; - } - - /** - * Convert numeric level to level capability name. - * - * Prepends 'level_' to level number. - * - * @since 2.0.0 - * @access public - * - * @param int $level Level number, 1 to 10. - * @return string - */ - public function translate_level_to_cap( $level ) { - return 'level_' . $level; - } - - /** - * Set the blog to operate on. Defaults to the current blog. - * - * @since 3.0.0 - * - * @global wpdb $wpdb - * - * @param int $blog_id Optional Blog ID, defaults to current blog. - */ - public function for_blog( $blog_id = '' ) { - global $wpdb; - if ( ! empty( $blog_id ) ) - $cap_key = $wpdb->get_blog_prefix( $blog_id ) . 'capabilities'; - else - $cap_key = ''; - $this->_init_caps( $cap_key ); - } -} - /** * Map meta capabilities to primitive capabilities. * @@ -1114,8 +16,12 @@ class WP_User { * * @since 2.0.0 * - * @param string $cap Capability name. - * @param int $user_id User ID. + * @param string $cap Capability name. + * @param int $user_id User ID. + * @param int $object_id Optional. ID of the specific object to check against if `$cap` is a "meta" cap. + * "Meta" capabilities, e.g. 'edit_post', 'edit_user', etc., are capabilities used + * by map_meta_cap() to map to other "primitive" capabilities, e.g. 'edit_posts', + * 'edit_others_posts', etc. The parameter is accessed via func_get_args(). * @return array Actual capabilities for meta capability. */ function map_meta_cap( $cap, $user_id ) { @@ -1127,6 +33,7 @@ function map_meta_cap( $cap, $user_id ) { $caps[] = 'remove_users'; break; case 'promote_user': + case 'add_users': $caps[] = 'promote_users'; break; case 'edit_user': @@ -1135,21 +42,36 @@ function map_meta_cap( $cap, $user_id ) { if ( 'edit_user' == $cap && isset( $args[0] ) && $user_id == $args[0] ) break; - // If multisite these caps are allowed only for super admins. - if ( is_multisite() && !is_super_admin( $user_id ) ) + // In multisite the user must have manage_network_users caps. If editing a super admin, the user must be a super admin. + if ( is_multisite() && ( ( ! is_super_admin( $user_id ) && 'edit_user' === $cap && is_super_admin( $args[0] ) ) || ! user_can( $user_id, 'manage_network_users' ) ) ) { $caps[] = 'do_not_allow'; - else + } else { $caps[] = 'edit_users'; // edit_user maps to edit_users. + } break; case 'delete_post': case 'delete_page': $post = get_post( $args[0] ); + if ( ! $post ) { + $caps[] = 'do_not_allow'; + break; + } if ( 'revision' == $post->post_type ) { $post = get_post( $post->post_parent ); + if ( ! $post ) { + $caps[] = 'do_not_allow'; + break; + } } $post_type = get_post_type_object( $post->post_type ); + if ( ! $post_type ) { + /* translators: 1: post type, 2: capability name */ + _doing_it_wrong( __FUNCTION__, sprintf( __( 'The post type %1$s is not registered, so it may not be reliable to check the capability "%2$s" against a post of that type.' ), $post->post_type, $cap ), '4.4.0' ); + $caps[] = 'edit_others_posts'; + break; + } if ( ! $post_type->map_meta_cap ) { $caps[] = $post_type->cap->$cap; @@ -1161,12 +83,15 @@ function map_meta_cap( $cap, $user_id ) { // If the post author is set and the user is the author... if ( $post->post_author && $user_id == $post->post_author ) { - // If the post is published... - if ( 'publish' == $post->post_status ) { + // If the post is published or scheduled... + if ( in_array( $post->post_status, array( 'publish', 'future' ), true ) ) { $caps[] = $post_type->cap->delete_published_posts; } elseif ( 'trash' == $post->post_status ) { - if ( 'publish' == get_post_meta( $post->ID, '_wp_trash_meta_status', true ) ) { + $status = get_post_meta( $post->ID, '_wp_trash_meta_status', true ); + if ( in_array( $status, array( 'publish', 'future' ), true ) ) { $caps[] = $post_type->cap->delete_published_posts; + } else { + $caps[] = $post_type->cap->delete_posts; } } else { // If the post is draft... @@ -1175,8 +100,8 @@ function map_meta_cap( $cap, $user_id ) { } else { // The user is trying to edit someone else's post. $caps[] = $post_type->cap->delete_others_posts; - // The post is published, extra cap required. - if ( 'publish' == $post->post_status ) { + // The post is published or scheduled, extra cap required. + if ( in_array( $post->post_status, array( 'publish', 'future' ), true ) ) { $caps[] = $post_type->cap->delete_published_posts; } elseif ( 'private' == $post->post_status ) { $caps[] = $post_type->cap->delete_private_posts; @@ -1188,16 +113,26 @@ function map_meta_cap( $cap, $user_id ) { case 'edit_post': case 'edit_page': $post = get_post( $args[0] ); - if ( empty( $post ) ) { + if ( ! $post ) { $caps[] = 'do_not_allow'; break; } if ( 'revision' == $post->post_type ) { $post = get_post( $post->post_parent ); + if ( ! $post ) { + $caps[] = 'do_not_allow'; + break; + } } $post_type = get_post_type_object( $post->post_type ); + if ( ! $post_type ) { + /* translators: 1: post type, 2: capability name */ + _doing_it_wrong( __FUNCTION__, sprintf( __( 'The post type %1$s is not registered, so it may not be reliable to check the capability "%2$s" against a post of that type.' ), $post->post_type, $cap ), '4.4.0' ); + $caps[] = 'edit_others_posts'; + break; + } if ( ! $post_type->map_meta_cap ) { $caps[] = $post_type->cap->$cap; @@ -1209,12 +144,15 @@ function map_meta_cap( $cap, $user_id ) { // If the post author is set and the user is the author... if ( $post->post_author && $user_id == $post->post_author ) { - // If the post is published... - if ( 'publish' == $post->post_status ) { + // If the post is published or scheduled... + if ( in_array( $post->post_status, array( 'publish', 'future' ), true ) ) { $caps[] = $post_type->cap->edit_published_posts; } elseif ( 'trash' == $post->post_status ) { - if ( 'publish' == get_post_meta( $post->ID, '_wp_trash_meta_status', true ) ) { + $status = get_post_meta( $post->ID, '_wp_trash_meta_status', true ); + if ( in_array( $status, array( 'publish', 'future' ), true ) ) { $caps[] = $post_type->cap->edit_published_posts; + } else { + $caps[] = $post_type->cap->edit_posts; } } else { // If the post is draft... @@ -1223,8 +161,8 @@ function map_meta_cap( $cap, $user_id ) { } else { // The user is trying to edit someone else's post. $caps[] = $post_type->cap->edit_others_posts; - // The post is published, extra cap required. - if ( 'publish' == $post->post_status ) { + // The post is published or scheduled, extra cap required. + if ( in_array( $post->post_status, array( 'publish', 'future' ), true ) ) { $caps[] = $post_type->cap->edit_published_posts; } elseif ( 'private' == $post->post_status ) { $caps[] = $post_type->cap->edit_private_posts; @@ -1234,12 +172,26 @@ function map_meta_cap( $cap, $user_id ) { case 'read_post': case 'read_page': $post = get_post( $args[0] ); + if ( ! $post ) { + $caps[] = 'do_not_allow'; + break; + } if ( 'revision' == $post->post_type ) { $post = get_post( $post->post_parent ); + if ( ! $post ) { + $caps[] = 'do_not_allow'; + break; + } } $post_type = get_post_type_object( $post->post_type ); + if ( ! $post_type ) { + /* translators: 1: post type, 2: capability name */ + _doing_it_wrong( __FUNCTION__, sprintf( __( 'The post type %1$s is not registered, so it may not be reliable to check the capability "%2$s" against a post of that type.' ), $post->post_type, $cap ), '4.4.0' ); + $caps[] = 'edit_others_posts'; + break; + } if ( ! $post_type->map_meta_cap ) { $caps[] = $post_type->cap->$cap; @@ -1265,7 +217,18 @@ function map_meta_cap( $cap, $user_id ) { break; case 'publish_post': $post = get_post( $args[0] ); + if ( ! $post ) { + $caps[] = 'do_not_allow'; + break; + } + $post_type = get_post_type_object( $post->post_type ); + if ( ! $post_type ) { + /* translators: 1: post type, 2: capability name */ + _doing_it_wrong( __FUNCTION__, sprintf( __( 'The post type %1$s is not registered, so it may not be reliable to check the capability "%2$s" against a post of that type.' ), $post->post_type, $cap ), '4.4.0' ); + $caps[] = 'edit_others_posts'; + break; + } $caps[] = $post_type->cap->publish_posts; break; @@ -1273,6 +236,11 @@ function map_meta_cap( $cap, $user_id ) { case 'delete_post_meta': case 'add_post_meta': $post = get_post( $args[0] ); + if ( ! $post ) { + $caps[] = 'do_not_allow'; + break; + } + $caps = map_meta_cap( 'edit_post', $user_id, $post->ID ); $meta_key = isset( $args[ 1 ] ) ? $args[ 1 ] : false; @@ -1302,8 +270,11 @@ function map_meta_cap( $cap, $user_id ) { break; case 'edit_comment': $comment = get_comment( $args[0] ); - if ( empty( $comment ) ) + if ( ! $comment ) { + $caps[] = 'do_not_allow'; break; + } + $post = get_post( $comment->comment_post_ID ); /* @@ -1430,12 +401,24 @@ function map_meta_cap( $cap, $user_id ) { } /** - * Whether current user has capability or role. + * Whether the current user has a specific capability. + * + * While checking against particular roles in place of a capability is supported + * in part, this practice is discouraged as it may produce unreliable results. * * @since 2.0.0 * - * @param string $capability Capability or role name. - * @return bool + * @see WP_User::has_cap() + * @see map_meta_cap() + * + * @param string $capability Capability name. + * @param int $object_id Optional. ID of the specific object to check against if `$capability` is a "meta" cap. + * "Meta" capabilities, e.g. 'edit_post', 'edit_user', etc., are capabilities used + * by map_meta_cap() to map to other "primitive" capabilities, e.g. 'edit_posts', + * 'edit_others_posts', etc. Accessed via func_get_args() and passed to WP_User::has_cap(), + * then map_meta_cap(). + * @return bool Whether the current user has the given capability. If `$capability` is a meta cap and `$object_id` is + * passed, whether the current user has the given meta capability for the given object. */ function current_user_can( $capability ) { $current_user = wp_get_current_user(); @@ -1569,6 +552,9 @@ function get_role( $role ) { * @return WP_Role|null WP_Role object if role is added, null if already exists. */ function add_role( $role, $display_name, $capabilities = array() ) { + if ( empty( $role ) ) { + return; + } return wp_roles()->add_role( $role, $display_name, $capabilities ); } diff --git a/wp-includes/category-template.php b/wp-includes/category-template.php index 6bac6c1..9b685ed 100644 --- a/wp-includes/category-template.php +++ b/wp-includes/category-template.php @@ -1,9 +1,10 @@ link", 2: "taxonomy => link_category" alternative */ + _deprecated_argument( __FUNCTION__, '3.0', + sprintf( __( '%1$s is deprecated. Use %2$s instead.' ), + 'type => link', + 'taxonomy => link_category' + ) + ); $args['taxonomy'] = 'link_category'; } @@ -460,32 +479,48 @@ function wp_dropdown_categories( $args = '' ) { /** * Display or retrieve the HTML list of categories. * - * The list of arguments is below: - * 'show_option_all' (string) - Text to display for showing all categories. - * 'orderby' (string) default is 'ID' - What column to use for ordering the - * categories. - * 'order' (string) default is 'ASC' - What direction to order categories. - * 'show_count' (bool|int) default is 0 - Whether to show how many posts are - * in the category. - * 'hide_empty' (bool|int) default is 1 - Whether to hide categories that - * don't have any posts attached to them. - * 'use_desc_for_title' (bool|int) default is 1 - Whether to use the - * category description as the title attribute. - * 'feed' - See {@link get_categories()}. - * 'feed_type' - See {@link get_categories()}. - * 'feed_image' - See {@link get_categories()}. - * 'child_of' (int) default is 0 - See {@link get_categories()}. - * 'exclude' (string) - See {@link get_categories()}. - * 'exclude_tree' (string) - See {@link get_categories()}. - * 'echo' (bool|int) default is 1 - Whether to display or retrieve content. - * 'current_category' (int) - See {@link get_categories()}. - * 'hierarchical' (bool) - See {@link get_categories()}. - * 'title_li' (string) - See {@link get_categories()}. - * 'depth' (int) - The max depth. - * * @since 2.1.0 + * @since 4.4.0 Introduced the `hide_title_if_empty` and `separator` arguments. The `current_category` argument was modified to + * optionally accept an array of values. * - * @param string|array $args Optional. Override default arguments. + * @param string|array $args { + * Array of optional arguments. + * + * @type string $show_option_all Text to display for showing all categories. Default empty string. + * @type string $show_option_none Text to display for the 'no categories' option. + * Default 'No categories'. + * @type string $orderby The column to use for ordering categories. Default 'ID'. + * @type string $order Which direction to order categories. Accepts 'ASC' or 'DESC'. + * Default 'ASC'. + * @type bool|int $show_count Whether to show how many posts are in the category. Default 0. + * @type bool|int $hide_empty Whether to hide categories that don't have any posts attached to them. + * Default 1. + * @type bool|int $use_desc_for_title Whether to use the category description as the title attribute. + * Default 1. + * @type string $feed Text to use for the feed link. Default 'Feed for all posts filed + * under [cat name]'. + * @type string $feed_type Feed type. Used to build feed link. See {@link get_term_feed_link()}. + * Default empty string (default feed). + * @type string $feed_image URL of an image to use for the feed link. Default empty string. + * @type int $child_of Term ID to retrieve child terms of. See {@link get_terms()}. Default 0. + * @type array|string $exclude Array or comma/space-separated string of term IDs to exclude. + * If `$hierarchical` is true, descendants of `$exclude` terms will also + * be excluded; see `$exclude_tree`. See {@link get_terms()}. + * Default empty string. + * @type array|string $exclude_tree Array or comma/space-separated string of term IDs to exclude, along + * with their descendants. See {@link get_terms()}. Default empty string. + * @type bool|int $echo True to echo markup, false to return it. Default 1. + * @type int|array $current_category ID of category, or array of IDs of categories, that should get the + * 'current-cat' class. Default 0. + * @type bool $hierarchical Whether to include terms that have non-empty descendants. + * See {@link get_terms()}. Default true. + * @type string $title_li Text to use for the list title `
            • ` element. Pass an empty string + * to disable. Default 'Categories'. + * @type bool $hide_title_if_empty Whether to hide the `$title_li` element if there are no terms in + * the list. Default false (title will always be shown). + * @type int $depth Category depth. Used for tab indentation. Default 0. + * @type string $taxonomy Taxonomy name. Default 'category'. + * } * @return false|string HTML content only if 'echo' argument is 0. */ function wp_list_categories( $args = '' ) { @@ -499,7 +534,9 @@ function wp_list_categories( $args = '' ) { 'feed_image' => '', 'exclude' => '', 'exclude_tree' => '', 'current_category' => 0, 'hierarchical' => true, 'title_li' => __( 'Categories' ), + 'hide_title_if_empty' => false, 'echo' => 1, 'depth' => 0, + 'separator' => '
              ', 'taxonomy' => 'category' ); @@ -508,8 +545,19 @@ function wp_list_categories( $args = '' ) { if ( !isset( $r['pad_counts'] ) && $r['show_count'] && $r['hierarchical'] ) $r['pad_counts'] = true; + // Descendants of exclusions should be excluded too. if ( true == $r['hierarchical'] ) { - $r['exclude_tree'] = $r['exclude']; + $exclude_tree = array(); + + if ( $r['exclude_tree'] ) { + $exclude_tree = array_merge( $exclude_tree, (array) $r['exclude_tree'] ); + } + + if ( $r['exclude'] ) { + $exclude_tree = array_merge( $exclude_tree, (array) $r['exclude'] ); + } + + $r['exclude_tree'] = $exclude_tree; $r['exclude'] = ''; } @@ -526,7 +574,7 @@ function wp_list_categories( $args = '' ) { $categories = get_categories( $r ); $output = ''; - if ( $r['title_li'] && 'list' == $r['style'] ) { + if ( $r['title_li'] && 'list' == $r['style'] && ( ! empty( $categories ) || ! $r['hide_title_if_empty'] ) ) { $output = '
            • ' . $r['title_li'] . '
                '; } if ( empty( $categories ) ) { @@ -556,9 +604,13 @@ function wp_list_categories( $args = '' ) { } } - // Fallback for the 'All' link is the front page. + // Fallback for the 'All' link is the posts page. if ( ! $posts_page ) { - $posts_page = 'page' == get_option( 'show_on_front' ) && get_option( 'page_for_posts' ) ? get_permalink( get_option( 'page_for_posts' ) ) : home_url( '/' ); + if ( 'page' == get_option( 'show_on_front' ) && get_option( 'page_for_posts' ) ) { + $posts_page = get_permalink( get_option( 'page_for_posts' ) ); + } else { + $posts_page = home_url( '/' ); + } } $posts_page = esc_url( $posts_page ); @@ -957,267 +1009,6 @@ function walk_category_dropdown_tree() { return call_user_func_array( array( $walker, 'walk' ), $args ); } -/** - * Create HTML list of categories. - * - * @package WordPress - * @since 2.1.0 - * @uses Walker - */ -class Walker_Category extends Walker { - /** - * What the class handles. - * - * @see Walker::$tree_type - * @since 2.1.0 - * @var string - */ - public $tree_type = 'category'; - - /** - * Database fields to use. - * - * @see Walker::$db_fields - * @since 2.1.0 - * @todo Decouple this - * @var array - */ - public $db_fields = array ('parent' => 'parent', 'id' => 'term_id'); - - /** - * Starts the list before the elements are added. - * - * @see Walker::start_lvl() - * - * @since 2.1.0 - * - * @param string $output Passed by reference. Used to append additional content. - * @param int $depth Depth of category. Used for tab indentation. - * @param array $args An array of arguments. Will only append content if style argument value is 'list'. - * @see wp_list_categories() - */ - public function start_lvl( &$output, $depth = 0, $args = array() ) { - if ( 'list' != $args['style'] ) - return; - - $indent = str_repeat("\t", $depth); - $output .= "$indent
                  \n"; - } - - /** - * Ends the list of after the elements are added. - * - * @see Walker::end_lvl() - * - * @since 2.1.0 - * - * @param string $output Passed by reference. Used to append additional content. - * @param int $depth Depth of category. Used for tab indentation. - * @param array $args An array of arguments. Will only append content if style argument value is 'list'. - * @wsee wp_list_categories() - */ - public function end_lvl( &$output, $depth = 0, $args = array() ) { - if ( 'list' != $args['style'] ) - return; - - $indent = str_repeat("\t", $depth); - $output .= "$indent
                \n"; - } - - /** - * Start the element output. - * - * @see Walker::start_el() - * - * @since 2.1.0 - * - * @param string $output Passed by reference. Used to append additional content. - * @param object $category Category data object. - * @param int $depth Depth of category in reference to parents. Default 0. - * @param array $args An array of arguments. @see wp_list_categories() - * @param int $id ID of the current category. - */ - public function start_el( &$output, $category, $depth = 0, $args = array(), $id = 0 ) { - /** This filter is documented in wp-includes/category-template.php */ - $cat_name = apply_filters( - 'list_cats', - esc_attr( $category->name ), - $category - ); - - // Don't generate an element if the category name is empty. - if ( ! $cat_name ) { - return; - } - - $link = 'description ) ) { - /** - * Filter the category description for display. - * - * @since 1.2.0 - * - * @param string $description Category description. - * @param object $category Category object. - */ - $link .= 'title="' . esc_attr( strip_tags( apply_filters( 'category_description', $category->description, $category ) ) ) . '"'; - } - - $link .= '>'; - $link .= $cat_name . ''; - - if ( ! empty( $args['feed_image'] ) || ! empty( $args['feed'] ) ) { - $link .= ' '; - - if ( empty( $args['feed_image'] ) ) { - $link .= '('; - } - - $link .= ''; - } - $link .= ''; - - if ( empty( $args['feed_image'] ) ) { - $link .= ')'; - } - } - - if ( ! empty( $args['show_count'] ) ) { - $link .= ' (' . number_format_i18n( $category->count ) . ')'; - } - if ( 'list' == $args['style'] ) { - $output .= "\tterm_id, - ); - - if ( ! empty( $args['current_category'] ) ) { - $_current_category = get_term( $args['current_category'], $category->taxonomy ); - if ( $category->term_id == $args['current_category'] ) { - $css_classes[] = 'current-cat'; - } elseif ( $category->term_id == $_current_category->parent ) { - $css_classes[] = 'current-cat-parent'; - } - } - - /** - * Filter the list of CSS classes to include with each category in the list. - * - * @since 4.2.0 - * - * @see wp_list_categories() - * - * @param array $css_classes An array of CSS classes to be applied to each list item. - * @param object $category Category data object. - * @param int $depth Depth of page, used for padding. - * @param array $args An array of wp_list_categories() arguments. - */ - $css_classes = implode( ' ', apply_filters( 'category_css_class', $css_classes, $category, $depth, $args ) ); - - $output .= ' class="' . $css_classes . '"'; - $output .= ">$link\n"; - } else { - $output .= "\t$link
                \n"; - } - } - - /** - * Ends the element output, if needed. - * - * @see Walker::end_el() - * - * @since 2.1.0 - * - * @param string $output Passed by reference. Used to append additional content. - * @param object $page Not used. - * @param int $depth Depth of category. Not used. - * @param array $args An array of arguments. Only uses 'list' for whether should append to output. @see wp_list_categories() - */ - public function end_el( &$output, $page, $depth = 0, $args = array() ) { - if ( 'list' != $args['style'] ) - return; - - $output .= "\n"; - } - -} - -/** - * Create HTML dropdown list of Categories. - * - * @package WordPress - * @since 2.1.0 - * @uses Walker - */ -class Walker_CategoryDropdown extends Walker { - /** - * @see Walker::$tree_type - * @since 2.1.0 - * @var string - */ - public $tree_type = 'category'; - - /** - * @see Walker::$db_fields - * @since 2.1.0 - * @todo Decouple this - * @var array - */ - public $db_fields = array ('parent' => 'parent', 'id' => 'term_id'); - - /** - * Start the element output. - * - * @see Walker::start_el() - * @since 2.1.0 - * - * @param string $output Passed by reference. Used to append additional content. - * @param object $category Category data object. - * @param int $depth Depth of category. Used for padding. - * @param array $args Uses 'selected', 'show_count', and 'value_field' keys, if they exist. - * See {@see wp_dropdown_categories()}. - */ - public function start_el( &$output, $category, $depth = 0, $args = array(), $id = 0 ) { - $pad = str_repeat(' ', $depth * 3); - - /** This filter is documented in wp-includes/category-template.php */ - $cat_name = apply_filters( 'list_cats', $category->name, $category ); - - if ( isset( $args['value_field'] ) && isset( $category->{$args['value_field']} ) ) { - $value_field = $args['value_field']; - } else { - $value_field = 'term_id'; - } - - $output .= "\t\n"; - } -} - // // Tags // @@ -1357,9 +1148,15 @@ function get_the_terms( $post, $taxonomy ) { $terms = get_object_term_cache( $post->ID, $taxonomy ); if ( false === $terms ) { $terms = wp_get_object_terms( $post->ID, $taxonomy ); - wp_cache_add($post->ID, $terms, $taxonomy . '_relationships'); + $to_cache = array(); + foreach ( $terms as $key => $term ) { + $to_cache[ $key ] = $term->data; + } + wp_cache_add( $post->ID, $to_cache, $taxonomy . '_relationships' ); } + $terms = array_map( 'get_term', $terms ); + /** * Filter the list of terms attached to the given post. * diff --git a/wp-includes/category.php b/wp-includes/category.php index a94baa7..9f1064e 100644 --- a/wp-includes/category.php +++ b/wp-includes/category.php @@ -1,8 +1,9 @@ link", 2: "taxonomy => link_category" alternative */ + _deprecated_argument( __FUNCTION__, '3.0', + sprintf( __( '%1$s is deprecated. Use %2$s instead.' ), + 'type => link', + 'taxonomy => link_category' + ) + ); $taxonomy = $args['taxonomy'] = 'link_category'; } @@ -317,18 +324,19 @@ function clean_category_cache( $id ) { * pass to it. This is one of the features with using pass by reference in PHP. * * @since 2.3.0 + * @since 4.4.0 The `$category` parameter now also accepts a WP_Term object. * @access private * - * @param array|object $category Category Row object or array + * @param array|object|WP_Term $category Category Row object or array */ function _make_cat_compat( &$category ) { if ( is_object( $category ) && ! is_wp_error( $category ) ) { - $category->cat_ID = &$category->term_id; - $category->category_count = &$category->count; - $category->category_description = &$category->description; - $category->cat_name = &$category->name; - $category->category_nicename = &$category->slug; - $category->category_parent = &$category->parent; + $category->cat_ID = $category->term_id; + $category->category_count = $category->count; + $category->category_description = $category->description; + $category->cat_name = $category->name; + $category->category_nicename = $category->slug; + $category->category_parent = $category->parent; } elseif ( is_array( $category ) && isset( $category['term_id'] ) ) { $category['cat_ID'] = &$category['term_id']; $category['category_count'] = &$category['count']; diff --git a/wp-includes/certificates/ca-bundle.crt b/wp-includes/certificates/ca-bundle.crt index d89dd2c..d02706c 100644 --- a/wp-includes/certificates/ca-bundle.crt +++ b/wp-includes/certificates/ca-bundle.crt @@ -1,19 +1,21 @@ ## -## src/wp-includes/certificates/ca-bundle.crt -- Bundle of CA Root Certificates +## Bundle of CA Root Certificates ## -## Certificate data from Mozilla as of: Tue Jan 28 09:38:07 2014 +## Certificate data from Mozilla as of: Wed Sep 16 08:58:11 2015 ## ## This is a bundle of X.509 certificates of public Certificate Authorities ## (CA). These were automatically extracted from Mozilla's root certificates ## file (certdata.txt). This file can be found in the mozilla source tree: -## http://mxr.mozilla.org/mozilla-release/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1 +## http://hg.mozilla.org/releases/mozilla-release/raw-file/default/security/nss/lib/ckfw/builtins/certdata.txt ## ## It contains the certificates in PEM format and therefore ## can be directly used with curl / libcurl / php_curl, or with ## an Apache+mod_ssl webserver for SSL client authentication. ## Just configure this file as the SSLCACertificateFile. ## - +## Conversion done with mk-ca-bundle.pl version 1.25. +## SHA1: ed3c0bbfb7912bcc00cd2033b0cb85c98d10559c +## EE Certification Centre Root CA =============================== @@ -39,61 +41,6 @@ uSlNDUmJEYcyW+ZLBMjkXOZ0c5RdFpgTlf7727FE5TpwrDdr5rMzcijJs1eg9gIWiAYLtqZLICjU dcGWxZ0= -----END CERTIFICATE----- -GTE CyberTrust Global Root -========================== ------BEGIN CERTIFICATE----- -MIICWjCCAcMCAgGlMA0GCSqGSIb3DQEBBAUAMHUxCzAJBgNVBAYTAlVTMRgwFgYDVQQKEw9HVEUg -Q29ycG9yYXRpb24xJzAlBgNVBAsTHkdURSBDeWJlclRydXN0IFNvbHV0aW9ucywgSW5jLjEjMCEG -A1UEAxMaR1RFIEN5YmVyVHJ1c3QgR2xvYmFsIFJvb3QwHhcNOTgwODEzMDAyOTAwWhcNMTgwODEz -MjM1OTAwWjB1MQswCQYDVQQGEwJVUzEYMBYGA1UEChMPR1RFIENvcnBvcmF0aW9uMScwJQYDVQQL -Ex5HVEUgQ3liZXJUcnVzdCBTb2x1dGlvbnMsIEluYy4xIzAhBgNVBAMTGkdURSBDeWJlclRydXN0 -IEdsb2JhbCBSb290MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCVD6C28FCc6HrHiM3dFw4u -sJTQGz0O9pTAipTHBsiQl8i4ZBp6fmw8U+E3KHNgf7KXUwefU/ltWJTSr41tiGeA5u2ylc9yMcql -HHK6XALnZELn+aks1joNrI1CqiQBOeacPwGFVw1Yh0X404Wqk2kmhXBIgD8SFcd5tB8FLztimQID -AQABMA0GCSqGSIb3DQEBBAUAA4GBAG3rGwnpXtlR22ciYaQqPEh346B8pt5zohQDhT37qw4wxYMW -M4ETCJ57NE7fQMh017l93PR2VX2bY1QY6fDq81yx2YtCHrnAlU66+tXifPVoYb+O7AWXX1uw16OF -NMQkpw0PlZPvy5TYnh+dXIVtx6quTx8itc2VrbqnzPmrC3p/ ------END CERTIFICATE----- - -Thawte Server CA -================ ------BEGIN CERTIFICATE----- -MIIDEzCCAnygAwIBAgIBATANBgkqhkiG9w0BAQQFADCBxDELMAkGA1UEBhMCWkExFTATBgNVBAgT -DFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMR0wGwYDVQQKExRUaGF3dGUgQ29uc3Vs -dGluZyBjYzEoMCYGA1UECxMfQ2VydGlmaWNhdGlvbiBTZXJ2aWNlcyBEaXZpc2lvbjEZMBcGA1UE -AxMQVGhhd3RlIFNlcnZlciBDQTEmMCQGCSqGSIb3DQEJARYXc2VydmVyLWNlcnRzQHRoYXd0ZS5j -b20wHhcNOTYwODAxMDAwMDAwWhcNMjAxMjMxMjM1OTU5WjCBxDELMAkGA1UEBhMCWkExFTATBgNV -BAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMR0wGwYDVQQKExRUaGF3dGUgQ29u -c3VsdGluZyBjYzEoMCYGA1UECxMfQ2VydGlmaWNhdGlvbiBTZXJ2aWNlcyBEaXZpc2lvbjEZMBcG -A1UEAxMQVGhhd3RlIFNlcnZlciBDQTEmMCQGCSqGSIb3DQEJARYXc2VydmVyLWNlcnRzQHRoYXd0 -ZS5jb20wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBANOkUG7I/1Zr5s9dtuoMaHVHoqrC2oQl -/Kj0R1HahbUgdJSGHg91yekIYfUGbTBuFRkC6VLAYttNmZ7iagxEOM3+vuNkCXDF/rFrKbYvScg7 -1CcEJRCXL+eQbcAoQpnXTEPew/UhbVSfXcNY4cDk2VuwuNy0e982OsK1ZiIS1ocNAgMBAAGjEzAR -MA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQEEBQADgYEAB/pMaVz7lcxG7oWDTSEwjsrZqG9J -GubaUeNgcGyEYRGhGshIPllDfU+VPaGLtwtimHp1it2ITk6eQNuozDJ0uW8NxuOzRAvZim+aKZuZ -GCg70eNAKJpaPNW15yAbi8qkq43pUdniTCxZqdq5snUb9kLy78fyGPmJvKP/iiMucEc= ------END CERTIFICATE----- - -Thawte Premium Server CA -======================== ------BEGIN CERTIFICATE----- -MIIDJzCCApCgAwIBAgIBATANBgkqhkiG9w0BAQQFADCBzjELMAkGA1UEBhMCWkExFTATBgNVBAgT -DFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMR0wGwYDVQQKExRUaGF3dGUgQ29uc3Vs -dGluZyBjYzEoMCYGA1UECxMfQ2VydGlmaWNhdGlvbiBTZXJ2aWNlcyBEaXZpc2lvbjEhMB8GA1UE -AxMYVGhhd3RlIFByZW1pdW0gU2VydmVyIENBMSgwJgYJKoZIhvcNAQkBFhlwcmVtaXVtLXNlcnZl -ckB0aGF3dGUuY29tMB4XDTk2MDgwMTAwMDAwMFoXDTIwMTIzMTIzNTk1OVowgc4xCzAJBgNVBAYT -AlpBMRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEdMBsGA1UEChMU -VGhhd3RlIENvbnN1bHRpbmcgY2MxKDAmBgNVBAsTH0NlcnRpZmljYXRpb24gU2VydmljZXMgRGl2 -aXNpb24xITAfBgNVBAMTGFRoYXd0ZSBQcmVtaXVtIFNlcnZlciBDQTEoMCYGCSqGSIb3DQEJARYZ -cHJlbWl1bS1zZXJ2ZXJAdGhhd3RlLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA0jY2 -aovXwlue2oFBYo847kkEVdbQ7xwblRZH7xhINTpS9CtqBo87L+pW46+GjZ4X9560ZXUCTe/LCaIh -Udib0GfQug2SBhRz1JPLlyoAnFxODLz6FVL88kRu2hFKbgifLy3j+ao6hnO2RlNYyIkFvYMRuHM/ -qgeN9EJN50CdHDcCAwEAAaMTMBEwDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQQFAAOBgQAm -SCwWwlj66BZ0DKqqX1Q/8tfJeGBeXm43YyJ3Nn6yF8Q0ufUIhfzJATj/Tb7yFkJD57taRvvBxhEf -8UqwKEbJw8RCfbz6q1lu1bdRiBHjpIUZa4JMpAwSremkrj/xw0llmozFyD4lt5SZu5IycQfwhl7t -UCemDaYj+bvLpgcUQg== ------END CERTIFICATE----- - Equifax Secure CA ================= -----BEGIN CERTIFICATE----- @@ -114,41 +61,6 @@ BIZCe/zuf6IWUrVnZ9NA2zsmWLIodz2uFHdh1voqZiegDfqnc1zqcPGUIWVEX/r87yloqaKHee95 70+sB3c4 -----END CERTIFICATE----- -Verisign Class 3 Public Primary Certification Authority -======================================================= ------BEGIN CERTIFICATE----- -MIICPDCCAaUCEHC65B0Q2Sk0tjjKewPMur8wDQYJKoZIhvcNAQECBQAwXzELMAkGA1UEBhMCVVMx -FzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFzcyAzIFB1YmxpYyBQcmltYXJ5 -IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTk2MDEyOTAwMDAwMFoXDTI4MDgwMTIzNTk1OVow -XzELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFzcyAz -IFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIGfMA0GCSqGSIb3DQEBAQUA -A4GNADCBiQKBgQDJXFme8huKARS0EN8EQNvjV69qRUCPhAwL0TPZ2RHP7gJYHyX3KqhEBarsAx94 -f56TuZoAqiN91qyFomNFx3InzPRMxnVx0jnvT0Lwdd8KkMaOIG+YD/isI19wKTakyYbnsZogy1Ol -hec9vn2a/iRFM9x2Fe0PonFkTGUugWhFpwIDAQABMA0GCSqGSIb3DQEBAgUAA4GBALtMEivPLCYA -TxQT3ab7/AoRhIzzKBxnki98tsX63/Dolbwdj2wsqFHMc9ikwFPwTtYmwHYBV4GSXiHx0bH/59Ah -WM1pF+NEHJwZRDmJXNycAA9WjQKZ7aKQRUzkuxCkPfAyAw7xzvjoyVGM5mKf5p/AfbdynMk2Omuf -Tqj/ZA1k ------END CERTIFICATE----- - -Verisign Class 3 Public Primary Certification Authority - G2 -============================================================ ------BEGIN CERTIFICATE----- -MIIDAjCCAmsCEH3Z/gfPqB63EHln+6eJNMYwDQYJKoZIhvcNAQEFBQAwgcExCzAJBgNVBAYTAlVT -MRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjE8MDoGA1UECxMzQ2xhc3MgMyBQdWJsaWMgUHJpbWFy -eSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSAtIEcyMTowOAYDVQQLEzEoYykgMTk5OCBWZXJpU2ln -biwgSW5jLiAtIEZvciBhdXRob3JpemVkIHVzZSBvbmx5MR8wHQYDVQQLExZWZXJpU2lnbiBUcnVz -dCBOZXR3b3JrMB4XDTk4MDUxODAwMDAwMFoXDTI4MDgwMTIzNTk1OVowgcExCzAJBgNVBAYTAlVT -MRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjE8MDoGA1UECxMzQ2xhc3MgMyBQdWJsaWMgUHJpbWFy -eSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSAtIEcyMTowOAYDVQQLEzEoYykgMTk5OCBWZXJpU2ln -biwgSW5jLiAtIEZvciBhdXRob3JpemVkIHVzZSBvbmx5MR8wHQYDVQQLExZWZXJpU2lnbiBUcnVz -dCBOZXR3b3JrMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMXtERXVxp0KvTuWpMmR9ZmDCO -FoUgRm1HP9SFIIThbbP4pO0M8RcPO/mn+SXXwc+EY/J8Y8+iR/LGWzOOZEAEaMGAuWQcRXfH2G71 -lSk8UOg013gfqLptQ5GVj0VXXn7F+8qkBOvqlzdUMG+7AUcyM83cV5tkaWH4mx0ciU9cZwIDAQAB -MA0GCSqGSIb3DQEBBQUAA4GBAFFNzb5cy5gZnBWyATl4Lk0PZ3BwmcYQWpSkU01UbSuvDV1Ai2TT -1+7eVmGSX6bEHRBhNtMsJzzoKQm5EWR0zLVznxxIqbxhAe7iF6YM40AIOw7n60RzKprxaZLvcRTD -Oaxxp5EJb+RxBrO6WVcmeQD2+A2iMzAo1KpYoJ2daZH9 ------END CERTIFICATE----- - GlobalSign Root CA ================== -----BEGIN CERTIFICATE----- @@ -192,63 +104,6 @@ BgkqhkiG9w0BAQUFAAOCAQEAmYFThxxol4aR7OBKuEQLq4GsJ0/WwbgcQ3izDJr86iw8bmEbTUsp TBj0/VLZjmmx6BEP3ojY+x1J96relc8geMJgEtslQIxq/H5COEBkEveegeGTLg== -----END CERTIFICATE----- -ValiCert Class 1 VA -=================== ------BEGIN CERTIFICATE----- -MIIC5zCCAlACAQEwDQYJKoZIhvcNAQEFBQAwgbsxJDAiBgNVBAcTG1ZhbGlDZXJ0IFZhbGlkYXRp -b24gTmV0d29yazEXMBUGA1UEChMOVmFsaUNlcnQsIEluYy4xNTAzBgNVBAsTLFZhbGlDZXJ0IENs -YXNzIDEgUG9saWN5IFZhbGlkYXRpb24gQXV0aG9yaXR5MSEwHwYDVQQDExhodHRwOi8vd3d3LnZh -bGljZXJ0LmNvbS8xIDAeBgkqhkiG9w0BCQEWEWluZm9AdmFsaWNlcnQuY29tMB4XDTk5MDYyNTIy -MjM0OFoXDTE5MDYyNTIyMjM0OFowgbsxJDAiBgNVBAcTG1ZhbGlDZXJ0IFZhbGlkYXRpb24gTmV0 -d29yazEXMBUGA1UEChMOVmFsaUNlcnQsIEluYy4xNTAzBgNVBAsTLFZhbGlDZXJ0IENsYXNzIDEg -UG9saWN5IFZhbGlkYXRpb24gQXV0aG9yaXR5MSEwHwYDVQQDExhodHRwOi8vd3d3LnZhbGljZXJ0 -LmNvbS8xIDAeBgkqhkiG9w0BCQEWEWluZm9AdmFsaWNlcnQuY29tMIGfMA0GCSqGSIb3DQEBAQUA -A4GNADCBiQKBgQDYWYJ6ibiWuqYvaG9YLqdUHAZu9OqNSLwxlBfw8068srg1knaw0KWlAdcAAxIi -GQj4/xEjm84H9b9pGib+TunRf50sQB1ZaG6m+FiwnRqP0z/x3BkGgagO4DrdyFNFCQbmD3DD+kCm -DuJWBQ8YTfwggtFzVXSNdnKgHZ0dwN0/cQIDAQABMA0GCSqGSIb3DQEBBQUAA4GBAFBoPUn0LBwG -lN+VYH+Wexf+T3GtZMjdd9LvWVXoP+iOBSoh8gfStadS/pyxtuJbdxdA6nLWI8sogTLDAHkY7FkX -icnGah5xyf23dKUlRWnFSKsZ4UWKJWsZ7uW7EvV/96aNUcPwnXS3qT6gpf+2SQMT2iLM7XGCK5nP -Orf1LXLI ------END CERTIFICATE----- - -ValiCert Class 2 VA -=================== ------BEGIN CERTIFICATE----- -MIIC5zCCAlACAQEwDQYJKoZIhvcNAQEFBQAwgbsxJDAiBgNVBAcTG1ZhbGlDZXJ0IFZhbGlkYXRp -b24gTmV0d29yazEXMBUGA1UEChMOVmFsaUNlcnQsIEluYy4xNTAzBgNVBAsTLFZhbGlDZXJ0IENs -YXNzIDIgUG9saWN5IFZhbGlkYXRpb24gQXV0aG9yaXR5MSEwHwYDVQQDExhodHRwOi8vd3d3LnZh -bGljZXJ0LmNvbS8xIDAeBgkqhkiG9w0BCQEWEWluZm9AdmFsaWNlcnQuY29tMB4XDTk5MDYyNjAw -MTk1NFoXDTE5MDYyNjAwMTk1NFowgbsxJDAiBgNVBAcTG1ZhbGlDZXJ0IFZhbGlkYXRpb24gTmV0 -d29yazEXMBUGA1UEChMOVmFsaUNlcnQsIEluYy4xNTAzBgNVBAsTLFZhbGlDZXJ0IENsYXNzIDIg -UG9saWN5IFZhbGlkYXRpb24gQXV0aG9yaXR5MSEwHwYDVQQDExhodHRwOi8vd3d3LnZhbGljZXJ0 -LmNvbS8xIDAeBgkqhkiG9w0BCQEWEWluZm9AdmFsaWNlcnQuY29tMIGfMA0GCSqGSIb3DQEBAQUA -A4GNADCBiQKBgQDOOnHK5avIWZJV16vYdA757tn2VUdZZUcOBVXc65g2PFxTXdMwzzjsvUGJ7SVC -CSRrCl6zfN1SLUzm1NZ9WlmpZdRJEy0kTRxQb7XBhVQ7/nHk01xC+YDgkRoKWzk2Z/M/VXwbP7Rf -ZHM047QSv4dk+NoS/zcnwbNDu+97bi5p9wIDAQABMA0GCSqGSIb3DQEBBQUAA4GBADt/UG9vUJSZ -SWI4OB9L+KXIPqeCgfYrx+jFzug6EILLGACOTb2oWH+heQC1u+mNr0HZDzTuIYEZoDJJKPTEjlbV -UjP9UNV+mWwD5MlM/Mtsq2azSiGM5bUMMj4QssxsodyamEwCW/POuZ6lcg5Ktz885hZo+L7tdEy8 -W9ViH0Pd ------END CERTIFICATE----- - -RSA Root Certificate 1 -====================== ------BEGIN CERTIFICATE----- -MIIC5zCCAlACAQEwDQYJKoZIhvcNAQEFBQAwgbsxJDAiBgNVBAcTG1ZhbGlDZXJ0IFZhbGlkYXRp -b24gTmV0d29yazEXMBUGA1UEChMOVmFsaUNlcnQsIEluYy4xNTAzBgNVBAsTLFZhbGlDZXJ0IENs -YXNzIDMgUG9saWN5IFZhbGlkYXRpb24gQXV0aG9yaXR5MSEwHwYDVQQDExhodHRwOi8vd3d3LnZh -bGljZXJ0LmNvbS8xIDAeBgkqhkiG9w0BCQEWEWluZm9AdmFsaWNlcnQuY29tMB4XDTk5MDYyNjAw -MjIzM1oXDTE5MDYyNjAwMjIzM1owgbsxJDAiBgNVBAcTG1ZhbGlDZXJ0IFZhbGlkYXRpb24gTmV0 -d29yazEXMBUGA1UEChMOVmFsaUNlcnQsIEluYy4xNTAzBgNVBAsTLFZhbGlDZXJ0IENsYXNzIDMg -UG9saWN5IFZhbGlkYXRpb24gQXV0aG9yaXR5MSEwHwYDVQQDExhodHRwOi8vd3d3LnZhbGljZXJ0 -LmNvbS8xIDAeBgkqhkiG9w0BCQEWEWluZm9AdmFsaWNlcnQuY29tMIGfMA0GCSqGSIb3DQEBAQUA -A4GNADCBiQKBgQDjmFGWHOjVsQaBalfDcnWTq8+epvzzFlLWLU2fNUSoLgRNB0mKOCn1dzfnt6td -3zZxFJmP3MKS8edgkpfs2Ejcv8ECIMYkpChMMFp2bbFc893enhBxoYjHW5tBbcqwuI4V7q0zK89H -BFx1cQqYJJgpp0lZpd34t0NiYfPT4tBVPwIDAQABMA0GCSqGSIb3DQEBBQUAA4GBAFa7AliEZwgs -3x/be0kz9dNnnfS0ChCzycUs4pJqcXgn8nCDQtM+z6lU9PHYkhaM0QTLS6vJn0WuPIqpsHEzXcjF -V9+vqDWzf4mH6eglkrh/hXqu1rweN1gqZ8mRzyqBPu3GOd/APhmcGcwTTYJBtYze4D1gCCAPRX5r -on+jjBXu ------END CERTIFICATE----- - Verisign Class 3 Public Primary Certification Authority - G3 ============================================================ -----BEGIN CERTIFICATE----- @@ -297,33 +152,6 @@ RTjDOPP8hS6DRkiy1yBfkjaP53kPmF6Z6PDQpLv1U70qzlmwr25/bLvSHgCwIe34QWKCudiyxLtG UPMxxY8BqHTr9Xgn2uf3ZkPznoM+IKrDNWCRzg== -----END CERTIFICATE----- -Entrust.net Secure Server CA -============================ ------BEGIN CERTIFICATE----- -MIIE2DCCBEGgAwIBAgIEN0rSQzANBgkqhkiG9w0BAQUFADCBwzELMAkGA1UEBhMCVVMxFDASBgNV -BAoTC0VudHJ1c3QubmV0MTswOQYDVQQLEzJ3d3cuZW50cnVzdC5uZXQvQ1BTIGluY29ycC4gYnkg -cmVmLiAobGltaXRzIGxpYWIuKTElMCMGA1UECxMcKGMpIDE5OTkgRW50cnVzdC5uZXQgTGltaXRl -ZDE6MDgGA1UEAxMxRW50cnVzdC5uZXQgU2VjdXJlIFNlcnZlciBDZXJ0aWZpY2F0aW9uIEF1dGhv -cml0eTAeFw05OTA1MjUxNjA5NDBaFw0xOTA1MjUxNjM5NDBaMIHDMQswCQYDVQQGEwJVUzEUMBIG -A1UEChMLRW50cnVzdC5uZXQxOzA5BgNVBAsTMnd3dy5lbnRydXN0Lm5ldC9DUFMgaW5jb3JwLiBi -eSByZWYuIChsaW1pdHMgbGlhYi4pMSUwIwYDVQQLExwoYykgMTk5OSBFbnRydXN0Lm5ldCBMaW1p -dGVkMTowOAYDVQQDEzFFbnRydXN0Lm5ldCBTZWN1cmUgU2VydmVyIENlcnRpZmljYXRpb24gQXV0 -aG9yaXR5MIGdMA0GCSqGSIb3DQEBAQUAA4GLADCBhwKBgQDNKIM0VBuJ8w+vN5Ex/68xYMmo6LIQ -aO2f55M28Qpku0f1BBc/I0dNxScZgSYMVHINiC3ZH5oSn7yzcdOAGT9HZnuMNSjSuQrfJNqc1lB5 -gXpa0zf3wkrYKZImZNHkmGw6AIr1NJtl+O3jEP/9uElY3KDegjlrgbEWGWG5VLbmQwIBA6OCAdcw -ggHTMBEGCWCGSAGG+EIBAQQEAwIABzCCARkGA1UdHwSCARAwggEMMIHeoIHboIHYpIHVMIHSMQsw -CQYDVQQGEwJVUzEUMBIGA1UEChMLRW50cnVzdC5uZXQxOzA5BgNVBAsTMnd3dy5lbnRydXN0Lm5l -dC9DUFMgaW5jb3JwLiBieSByZWYuIChsaW1pdHMgbGlhYi4pMSUwIwYDVQQLExwoYykgMTk5OSBF -bnRydXN0Lm5ldCBMaW1pdGVkMTowOAYDVQQDEzFFbnRydXN0Lm5ldCBTZWN1cmUgU2VydmVyIENl -cnRpZmljYXRpb24gQXV0aG9yaXR5MQ0wCwYDVQQDEwRDUkwxMCmgJ6AlhiNodHRwOi8vd3d3LmVu -dHJ1c3QubmV0L0NSTC9uZXQxLmNybDArBgNVHRAEJDAigA8xOTk5MDUyNTE2MDk0MFqBDzIwMTkw -NTI1MTYwOTQwWjALBgNVHQ8EBAMCAQYwHwYDVR0jBBgwFoAU8BdiE1U9s/8KAGv7UISX8+1i0Bow -HQYDVR0OBBYEFPAXYhNVPbP/CgBr+1CEl/PtYtAaMAwGA1UdEwQFMAMBAf8wGQYJKoZIhvZ9B0EA -BAwwChsEVjQuMAMCBJAwDQYJKoZIhvcNAQEFBQADgYEAkNwwAvpkdMKnCqV8IY00F6j7Rw7/JXyN -Ewr75Ji174z4xRAN95K+8cPV1ZVqBLssziY2ZcgxxufuP+NXdYR6Ee9GTxj005i7qIcyunL2POI9 -n9cd2cNgQ4xYDiKWL2KjLB+6rQXvqzJ4h6BUcxm1XAX5Uj5tLUUL9wqT6u0G+bI= ------END CERTIFICATE----- - Entrust.net Premium 2048 Secure Server CA ========================================= -----BEGIN CERTIFICATE----- @@ -369,40 +197,6 @@ Y71k5h+3zvDyny67G7fyUIhzksLi4xaNmjICq44Y3ekQEe5+NauQrz4wlHrQMz2nZQ/1/I6eYs9H RCwBXbsdtTLSR9I4LtD+gdwyah617jzV/OeBHRnDJELqYzmp -----END CERTIFICATE----- -Equifax Secure Global eBusiness CA -================================== ------BEGIN CERTIFICATE----- -MIICkDCCAfmgAwIBAgIBATANBgkqhkiG9w0BAQQFADBaMQswCQYDVQQGEwJVUzEcMBoGA1UEChMT -RXF1aWZheCBTZWN1cmUgSW5jLjEtMCsGA1UEAxMkRXF1aWZheCBTZWN1cmUgR2xvYmFsIGVCdXNp -bmVzcyBDQS0xMB4XDTk5MDYyMTA0MDAwMFoXDTIwMDYyMTA0MDAwMFowWjELMAkGA1UEBhMCVVMx -HDAaBgNVBAoTE0VxdWlmYXggU2VjdXJlIEluYy4xLTArBgNVBAMTJEVxdWlmYXggU2VjdXJlIEds -b2JhbCBlQnVzaW5lc3MgQ0EtMTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuucXkAJlsTRV -PEnCUdXfp9E3j9HngXNBUmCbnaEXJnitx7HoJpQytd4zjTov2/KaelpzmKNc6fuKcxtc58O/gGzN -qfTWK8D3+ZmqY6KxRwIP1ORROhI8bIpaVIRw28HFkM9yRcuoWcDNM50/o5brhTMhHD4ePmBudpxn -hcXIw2ECAwEAAaNmMGQwEQYJYIZIAYb4QgEBBAQDAgAHMA8GA1UdEwEB/wQFMAMBAf8wHwYDVR0j -BBgwFoAUvqigdHJQa0S3ySPY+6j/s1draGwwHQYDVR0OBBYEFL6ooHRyUGtEt8kj2Puo/7NXa2hs -MA0GCSqGSIb3DQEBBAUAA4GBADDiAVGqx+pf2rnQZQ8w1j7aDRRJbpGTJxQx78T3LUX47Me/okEN -I7SS+RkAZ70Br83gcfxaz2TE4JaY0KNA4gGK7ycH8WUBikQtBmV1UsCGECAhX2xrD2yuCRyv8qIY -NMR1pHMc8Y3c7635s3a0kr/clRAevsvIO1qEYBlWlKlV ------END CERTIFICATE----- - -Equifax Secure eBusiness CA 1 -============================= ------BEGIN CERTIFICATE----- -MIICgjCCAeugAwIBAgIBBDANBgkqhkiG9w0BAQQFADBTMQswCQYDVQQGEwJVUzEcMBoGA1UEChMT -RXF1aWZheCBTZWN1cmUgSW5jLjEmMCQGA1UEAxMdRXF1aWZheCBTZWN1cmUgZUJ1c2luZXNzIENB -LTEwHhcNOTkwNjIxMDQwMDAwWhcNMjAwNjIxMDQwMDAwWjBTMQswCQYDVQQGEwJVUzEcMBoGA1UE -ChMTRXF1aWZheCBTZWN1cmUgSW5jLjEmMCQGA1UEAxMdRXF1aWZheCBTZWN1cmUgZUJ1c2luZXNz -IENBLTEwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAM4vGbwXt3fek6lfWg0XTzQaDJj0ItlZ -1MRoRvC0NcWFAyDGr0WlIVFFQesWWDYyb+JQYmT5/VGcqiTZ9J2DKocKIdMSODRsjQBuWqDZQu4a -IZX5UkxVWsUPOE9G+m34LjXWHXzr4vCwdYDIqROsvojvOm6rXyo4YgKwEnv+j6YDAgMBAAGjZjBk -MBEGCWCGSAGG+EIBAQQEAwIABzAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFEp4MlIR21kW -Nl7fwRQ2QGpHfEyhMB0GA1UdDgQWBBRKeDJSEdtZFjZe38EUNkBqR3xMoTANBgkqhkiG9w0BAQQF -AAOBgQB1W6ibAxHm6VZMzfmpTMANmvPMZWnmJXbMWbfWVMMdzZmsGd20hdXgPfxiIKeES1hl8eL5 -lSE/9dR+WB5Hh1Q+WKG1tfgq73HnvMP2sUlG4tega+VWeponmHxGYhTnyfxuAxJ5gDgdSIKN/Bf+ -KpYrtWKmpj29f5JZzVoqgrI3eQ== ------END CERTIFICATE----- - AddTrust Low-Value Services Root ================================ -----BEGIN CERTIFICATE----- @@ -648,59 +442,6 @@ gn2Z9DH2canPLAEnpQW5qrJITirvn5NSUZU8UnOOVkwXQMAJKOSLakhT2+zNVVXxxvjpoixMptEm X36vWkzaH6byHCx+rgIW0lbQL1dTR+iS -----END CERTIFICATE----- -America Online Root Certification Authority 1 -============================================= ------BEGIN CERTIFICATE----- -MIIDpDCCAoygAwIBAgIBATANBgkqhkiG9w0BAQUFADBjMQswCQYDVQQGEwJVUzEcMBoGA1UEChMT -QW1lcmljYSBPbmxpbmUgSW5jLjE2MDQGA1UEAxMtQW1lcmljYSBPbmxpbmUgUm9vdCBDZXJ0aWZp -Y2F0aW9uIEF1dGhvcml0eSAxMB4XDTAyMDUyODA2MDAwMFoXDTM3MTExOTIwNDMwMFowYzELMAkG -A1UEBhMCVVMxHDAaBgNVBAoTE0FtZXJpY2EgT25saW5lIEluYy4xNjA0BgNVBAMTLUFtZXJpY2Eg -T25saW5lIFJvb3QgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkgMTCCASIwDQYJKoZIhvcNAQEBBQAD -ggEPADCCAQoCggEBAKgv6KRpBgNHw+kqmP8ZonCaxlCyfqXfaE0bfA+2l2h9LaaLl+lkhsmj76CG -v2BlnEtUiMJIxUo5vxTjWVXlGbR0yLQFOVwWpeKVBeASrlmLojNoWBym1BW32J/X3HGrfpq/m44z -DyL9Hy7nBzbvYjnF3cu6JRQj3gzGPTzOggjmZj7aUTsWOqMFf6Dch9Wc/HKpoH145LcxVR5lu9Rh -sCFg7RAycsWSJR74kEoYeEfffjA3PlAb2xzTa5qGUwew76wGePiEmf4hjUyAtgyC9mZweRrTT6PP -8c9GsEsPPt2IYriMqQkoO3rHl+Ee5fSfwMCuJKDIodkP1nsmgmkyPacCAwEAAaNjMGEwDwYDVR0T -AQH/BAUwAwEB/zAdBgNVHQ4EFgQUAK3Zo/Z59m50qX8zPYEX10zPM94wHwYDVR0jBBgwFoAUAK3Z -o/Z59m50qX8zPYEX10zPM94wDgYDVR0PAQH/BAQDAgGGMA0GCSqGSIb3DQEBBQUAA4IBAQB8itEf -GDeC4Liwo+1WlchiYZwFos3CYiZhzRAW18y0ZTTQEYqtqKkFZu90821fnZmv9ov761KyBZiibyrF -VL0lvV+uyIbqRizBs73B6UlwGBaXCBOMIOAbLjpHyx7kADCVW/RFo8AasAFOq73AI25jP4BKxQft -3OJvx8Fi8eNy1gTIdGcL+oiroQHIb/AUr9KZzVGTfu0uOMe9zkZQPXLjeSWdm4grECDdpbgyn43g -Kd8hdIaC2y+CMMbHNYaz+ZZfRtsMRf3zUMNvxsNIrUam4SdHCh0Om7bCd39j8uB9Gr784N/Xx6ds -sPmuujz9dLQR6FgNgLzTqIA6me11zEZ7 ------END CERTIFICATE----- - -America Online Root Certification Authority 2 -============================================= ------BEGIN CERTIFICATE----- -MIIFpDCCA4ygAwIBAgIBATANBgkqhkiG9w0BAQUFADBjMQswCQYDVQQGEwJVUzEcMBoGA1UEChMT -QW1lcmljYSBPbmxpbmUgSW5jLjE2MDQGA1UEAxMtQW1lcmljYSBPbmxpbmUgUm9vdCBDZXJ0aWZp -Y2F0aW9uIEF1dGhvcml0eSAyMB4XDTAyMDUyODA2MDAwMFoXDTM3MDkyOTE0MDgwMFowYzELMAkG -A1UEBhMCVVMxHDAaBgNVBAoTE0FtZXJpY2EgT25saW5lIEluYy4xNjA0BgNVBAMTLUFtZXJpY2Eg -T25saW5lIFJvb3QgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkgMjCCAiIwDQYJKoZIhvcNAQEBBQAD -ggIPADCCAgoCggIBAMxBRR3pPU0Q9oyxQcngXssNt79Hc9PwVU3dxgz6sWYFas14tNwC206B89en -fHG8dWOgXeMHDEjsJcQDIPT/DjsS/5uN4cbVG7RtIuOx238hZK+GvFciKtZHgVdEglZTvYYUAQv8 -f3SkWq7xuhG1m1hagLQ3eAkzfDJHA1zEpYNI9FdWboE2JxhP7JsowtS013wMPgwr38oE18aO6lhO -qKSlGBxsRZijQdEt0sdtjRnxrXm3gT+9BoInLRBYBbV4Bbkv2wxrkJB+FFk4u5QkE+XRnRTf04JN -RvCAOVIyD+OEsnpD8l7eXz8d3eOyG6ChKiMDbi4BFYdcpnV1x5dhvt6G3NRI270qv0pV2uh9UPu0 -gBe4lL8BPeraunzgWGcXuVjgiIZGZ2ydEEdYMtA1fHkqkKJaEBEjNa0vzORKW6fIJ/KD3l67Xnfn -6KVuY8INXWHQjNJsWiEOyiijzirplcdIz5ZvHZIlyMbGwcEMBawmxNJ10uEqZ8A9W6Wa6897Gqid -FEXlD6CaZd4vKL3Ob5Rmg0gp2OpljK+T2WSfVVcmv2/LNzGZo2C7HK2JNDJiuEMhBnIMoVxtRsX6 -Kc8w3onccVvdtjc+31D1uAclJuW8tf48ArO3+L5DwYcRlJ4jbBeKuIonDFRH8KmzwICMoCfrHRnj -B453cMor9H124HhnAgMBAAGjYzBhMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFE1FwWg4u3Op -aaEg5+31IqEjFNeeMB8GA1UdIwQYMBaAFE1FwWg4u3OpaaEg5+31IqEjFNeeMA4GA1UdDwEB/wQE -AwIBhjANBgkqhkiG9w0BAQUFAAOCAgEAZ2sGuV9FOypLM7PmG2tZTiLMubekJcmnxPBUlgtk87FY -T15R/LKXeydlwuXK5w0MJXti4/qftIe3RUavg6WXSIylvfEWK5t2LHo1YGwRgJfMqZJS5ivmae2p -+DYtLHe/YUjRYwu5W1LtGLBDQiKmsXeu3mnFzcccobGlHBD7GL4acN3Bkku+KVqdPzW+5X1R+FXg -JXUjhx5c3LqdsKyzadsXg8n33gy8CNyRnqjQ1xU3c6U1uPx+xURABsPr+CKAXEfOAuMRn0T//Zoy -zH1kUQ7rVyZ2OuMeIjzCpjbdGe+n/BLzJsBZMYVMnNjP36TMzCmT/5RtdlwTCJfy7aULTd3oyWgO -ZtMADjMSW7yV5TKQqLPGbIOtd+6Lfn6xqavT4fG2wLHqiMDn05DpKJKUe2h7lyoKZy2FAjgQ5ANh -1NolNscIWC2hp1GvMApJ9aZphwctREZ2jirlmjvXGKL8nDgQzMY70rUXOm/9riW99XJZZLF0Kjhf -GEzfz3EEWjbUvy+ZnOjZurGV5gJLIaFb1cFPj65pbVPbAZO1XB4Y3WRayhgoPmMEEf0cjQAPuDff -Z4qdZqkCapH/E8ovXYO8h5Ns3CRRFgQlZvqz2cK6Kb6aSDiCmfS/O0oxGfm/jiEzFMpPVF/7zvuP -cX/9XhmgD0uRuMRUvAawRY8mkaKO/qk= ------END CERTIFICATE----- - Visa eCommerce Root =================== -----BEGIN CERTIFICATE----- @@ -977,30 +718,6 @@ nGQI0DvDKcWy7ZAEwbEpkcUwb8GpcjPM/l0WFywRaed+/sWDCN+83CI6LiBpIzlWYGeQiy52OfsR iJf2fL1LuCAWZwWN4jvBcj+UlTfHXbme2JOhF4//DGYVwSR8MnwDHTuhWEUykw== -----END CERTIFICATE----- -TDC Internet Root CA -==================== ------BEGIN CERTIFICATE----- -MIIEKzCCAxOgAwIBAgIEOsylTDANBgkqhkiG9w0BAQUFADBDMQswCQYDVQQGEwJESzEVMBMGA1UE -ChMMVERDIEludGVybmV0MR0wGwYDVQQLExRUREMgSW50ZXJuZXQgUm9vdCBDQTAeFw0wMTA0MDUx -NjMzMTdaFw0yMTA0MDUxNzAzMTdaMEMxCzAJBgNVBAYTAkRLMRUwEwYDVQQKEwxUREMgSW50ZXJu -ZXQxHTAbBgNVBAsTFFREQyBJbnRlcm5ldCBSb290IENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A -MIIBCgKCAQEAxLhAvJHVYx/XmaCLDEAedLdInUaMArLgJF/wGROnN4NrXceO+YQwzho7+vvOi20j -xsNuZp+Jpd/gQlBn+h9sHvTQBda/ytZO5GhgbEaqHF1j4QeGDmUApy6mcca8uYGoOn0a0vnRrEvL -znWv3Hv6gXPU/Lq9QYjUdLP5Xjg6PEOo0pVOd20TDJ2PeAG3WiAfAzc14izbSysseLlJ28TQx5yc -5IogCSEWVmb/Bexb4/DPqyQkXsN/cHoSxNK1EKC2IeGNeGlVRGn1ypYcNIUXJXfi9i8nmHj9eQY6 -otZaQ8H/7AQ77hPv01ha/5Lr7K7a8jcDR0G2l8ktCkEiu7vmpwIDAQABo4IBJTCCASEwEQYJYIZI -AYb4QgEBBAQDAgAHMGUGA1UdHwReMFwwWqBYoFakVDBSMQswCQYDVQQGEwJESzEVMBMGA1UEChMM -VERDIEludGVybmV0MR0wGwYDVQQLExRUREMgSW50ZXJuZXQgUm9vdCBDQTENMAsGA1UEAxMEQ1JM -MTArBgNVHRAEJDAigA8yMDAxMDQwNTE2MzMxN1qBDzIwMjEwNDA1MTcwMzE3WjALBgNVHQ8EBAMC -AQYwHwYDVR0jBBgwFoAUbGQBx/2FbazI2p5QCIUItTxWqFAwHQYDVR0OBBYEFGxkAcf9hW2syNqe -UAiFCLU8VqhQMAwGA1UdEwQFMAMBAf8wHQYJKoZIhvZ9B0EABBAwDhsIVjUuMDo0LjADAgSQMA0G -CSqGSIb3DQEBBQUAA4IBAQBOQ8zR3R0QGwZ/t6T609lN+yOfI1Rb5osvBCiLtSdtiaHsmGnc540m -gwV5dOy0uaOXwTUA/RXaOYE6lTGQ3pfphqiZdwzlWqCE/xIWrG64jcN7ksKsLtB9KOy282A4aW8+ -2ARVPp7MVdK6/rtHBNcK2RYKNCn1WBPVT8+PVkuzHu7TmHnaCB4Mb7j4Fifvwm899qNLPg7kbWzb -O0ESm70NRyN/PErQr8Cv9u8btRXE64PECV90i9kR+8JWsTz4cMo0jUNAE4z9mQNUecYu6oah9jrU -Cbz0vGbMPVjQV0kK7iXiQe4T+Zs4NNEA9X7nlB38aQNiuJkFBT1reBK9sG9l ------END CERTIFICATE----- - UTN DATACorp SGC Root CA ======================== -----BEGIN CERTIFICATE----- @@ -1141,64 +858,6 @@ KuZoPL9coAob4Q566eKAw+np9v1sEZ7Q5SgnK1QyQhSCdeZK8CtmdWOMovsEPoMOmzbwGOQmIMOM 8CgHrTwXZoi1/baI -----END CERTIFICATE----- -NetLock Business (Class B) Root -=============================== ------BEGIN CERTIFICATE----- -MIIFSzCCBLSgAwIBAgIBaTANBgkqhkiG9w0BAQQFADCBmTELMAkGA1UEBhMCSFUxETAPBgNVBAcT -CEJ1ZGFwZXN0MScwJQYDVQQKEx5OZXRMb2NrIEhhbG96YXRiaXp0b25zYWdpIEtmdC4xGjAYBgNV -BAsTEVRhbnVzaXR2YW55a2lhZG9rMTIwMAYDVQQDEylOZXRMb2NrIFV6bGV0aSAoQ2xhc3MgQikg -VGFudXNpdHZhbnlraWFkbzAeFw05OTAyMjUxNDEwMjJaFw0xOTAyMjAxNDEwMjJaMIGZMQswCQYD -VQQGEwJIVTERMA8GA1UEBxMIQnVkYXBlc3QxJzAlBgNVBAoTHk5ldExvY2sgSGFsb3phdGJpenRv -bnNhZ2kgS2Z0LjEaMBgGA1UECxMRVGFudXNpdHZhbnlraWFkb2sxMjAwBgNVBAMTKU5ldExvY2sg -VXpsZXRpIChDbGFzcyBCKSBUYW51c2l0dmFueWtpYWRvMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB -iQKBgQCx6gTsIKAjwo84YM/HRrPVG/77uZmeBNwcf4xKgZjupNTKihe5In+DCnVMm8Bp2GQ5o+2S -o/1bXHQawEfKOml2mrriRBf8TKPV/riXiK+IA4kfpPIEPsgHC+b5sy96YhQJRhTKZPWLgLViqNhr -1nGTLbO/CVRY7QbrqHvcQ7GhaQIDAQABo4ICnzCCApswEgYDVR0TAQH/BAgwBgEB/wIBBDAOBgNV -HQ8BAf8EBAMCAAYwEQYJYIZIAYb4QgEBBAQDAgAHMIICYAYJYIZIAYb4QgENBIICURaCAk1GSUdZ -RUxFTSEgRXplbiB0YW51c2l0dmFueSBhIE5ldExvY2sgS2Z0LiBBbHRhbGFub3MgU3pvbGdhbHRh -dGFzaSBGZWx0ZXRlbGVpYmVuIGxlaXJ0IGVsamFyYXNvayBhbGFwamFuIGtlc3p1bHQuIEEgaGl0 -ZWxlc2l0ZXMgZm9seWFtYXRhdCBhIE5ldExvY2sgS2Z0LiB0ZXJtZWtmZWxlbG9zc2VnLWJpenRv -c2l0YXNhIHZlZGkuIEEgZGlnaXRhbGlzIGFsYWlyYXMgZWxmb2dhZGFzYW5hayBmZWx0ZXRlbGUg -YXogZWxvaXJ0IGVsbGVub3J6ZXNpIGVsamFyYXMgbWVndGV0ZWxlLiBBeiBlbGphcmFzIGxlaXJh -c2EgbWVndGFsYWxoYXRvIGEgTmV0TG9jayBLZnQuIEludGVybmV0IGhvbmxhcGphbiBhIGh0dHBz -Oi8vd3d3Lm5ldGxvY2submV0L2RvY3MgY2ltZW4gdmFneSBrZXJoZXRvIGF6IGVsbGVub3J6ZXNA -bmV0bG9jay5uZXQgZS1tYWlsIGNpbWVuLiBJTVBPUlRBTlQhIFRoZSBpc3N1YW5jZSBhbmQgdGhl -IHVzZSBvZiB0aGlzIGNlcnRpZmljYXRlIGlzIHN1YmplY3QgdG8gdGhlIE5ldExvY2sgQ1BTIGF2 -YWlsYWJsZSBhdCBodHRwczovL3d3dy5uZXRsb2NrLm5ldC9kb2NzIG9yIGJ5IGUtbWFpbCBhdCBj -cHNAbmV0bG9jay5uZXQuMA0GCSqGSIb3DQEBBAUAA4GBAATbrowXr/gOkDFOzT4JwG06sPgzTEdM -43WIEJessDgVkcYplswhwG08pXTP2IKlOcNl40JwuyKQ433bNXbhoLXan3BukxowOR0w2y7jfLKR -stE3Kfq51hdcR0/jHTjrn9V7lagonhVK0dHQKwCXoOKSNitjrFgBazMpUIaD8QFI ------END CERTIFICATE----- - -NetLock Express (Class C) Root -============================== ------BEGIN CERTIFICATE----- -MIIFTzCCBLigAwIBAgIBaDANBgkqhkiG9w0BAQQFADCBmzELMAkGA1UEBhMCSFUxETAPBgNVBAcT -CEJ1ZGFwZXN0MScwJQYDVQQKEx5OZXRMb2NrIEhhbG96YXRiaXp0b25zYWdpIEtmdC4xGjAYBgNV -BAsTEVRhbnVzaXR2YW55a2lhZG9rMTQwMgYDVQQDEytOZXRMb2NrIEV4cHJlc3N6IChDbGFzcyBD -KSBUYW51c2l0dmFueWtpYWRvMB4XDTk5MDIyNTE0MDgxMVoXDTE5MDIyMDE0MDgxMVowgZsxCzAJ -BgNVBAYTAkhVMREwDwYDVQQHEwhCdWRhcGVzdDEnMCUGA1UEChMeTmV0TG9jayBIYWxvemF0Yml6 -dG9uc2FnaSBLZnQuMRowGAYDVQQLExFUYW51c2l0dmFueWtpYWRvazE0MDIGA1UEAxMrTmV0TG9j -ayBFeHByZXNzeiAoQ2xhc3MgQykgVGFudXNpdHZhbnlraWFkbzCBnzANBgkqhkiG9w0BAQEFAAOB -jQAwgYkCgYEA6+ywbGGKIyWvYCDj2Z/8kwvbXY2wobNAOoLO/XXgeDIDhlqGlZHtU/qdQPzm6N3Z -W3oDvV3zOwzDUXmbrVWg6dADEK8KuhRC2VImESLH0iDMgqSaqf64gXadarfSNnU+sYYJ9m5tfk63 -euyucYT2BDMIJTLrdKwWRMbkQJMdf60CAwEAAaOCAp8wggKbMBIGA1UdEwEB/wQIMAYBAf8CAQQw -DgYDVR0PAQH/BAQDAgAGMBEGCWCGSAGG+EIBAQQEAwIABzCCAmAGCWCGSAGG+EIBDQSCAlEWggJN -RklHWUVMRU0hIEV6ZW4gdGFudXNpdHZhbnkgYSBOZXRMb2NrIEtmdC4gQWx0YWxhbm9zIFN6b2xn -YWx0YXRhc2kgRmVsdGV0ZWxlaWJlbiBsZWlydCBlbGphcmFzb2sgYWxhcGphbiBrZXN6dWx0LiBB -IGhpdGVsZXNpdGVzIGZvbHlhbWF0YXQgYSBOZXRMb2NrIEtmdC4gdGVybWVrZmVsZWxvc3NlZy1i -aXp0b3NpdGFzYSB2ZWRpLiBBIGRpZ2l0YWxpcyBhbGFpcmFzIGVsZm9nYWRhc2FuYWsgZmVsdGV0 -ZWxlIGF6IGVsb2lydCBlbGxlbm9yemVzaSBlbGphcmFzIG1lZ3RldGVsZS4gQXogZWxqYXJhcyBs -ZWlyYXNhIG1lZ3RhbGFsaGF0byBhIE5ldExvY2sgS2Z0LiBJbnRlcm5ldCBob25sYXBqYW4gYSBo -dHRwczovL3d3dy5uZXRsb2NrLm5ldC9kb2NzIGNpbWVuIHZhZ3kga2VyaGV0byBheiBlbGxlbm9y -emVzQG5ldGxvY2submV0IGUtbWFpbCBjaW1lbi4gSU1QT1JUQU5UISBUaGUgaXNzdWFuY2UgYW5k -IHRoZSB1c2Ugb2YgdGhpcyBjZXJ0aWZpY2F0ZSBpcyBzdWJqZWN0IHRvIHRoZSBOZXRMb2NrIENQ -UyBhdmFpbGFibGUgYXQgaHR0cHM6Ly93d3cubmV0bG9jay5uZXQvZG9jcyBvciBieSBlLW1haWwg -YXQgY3BzQG5ldGxvY2submV0LjANBgkqhkiG9w0BAQQFAAOBgQAQrX/XDDKACtiG8XmYta3UzbM2 -xJZIwVzNmtkFLp++UOv0JhQQLdRmF/iewSf98e3ke0ugbLWrmldwpu2gpO0u9f38vf5NNwgMvOOW -gyL1SRt/Syu0VMGAfJlOHdCM7tCs5ZL6dVb+ZKATj7i4Fp1hBWeAyNDYpQcCNJgEjTME1A== ------END CERTIFICATE----- - XRamp Global CA Root ==================== -----BEGIN CERTIFICATE----- @@ -1342,31 +1001,6 @@ CZBUkQM8R+XVyWXgt0t97EfTsws+rZ7QdAAO671RrcDeLMDDav7v3Aun+kbfYNucpllQdSNpc5Oy +fwC00fmcc4QAu4njIT/rEUNE1yDMuAlpYYsfPQS -----END CERTIFICATE----- -Firmaprofesional Root CA -======================== ------BEGIN CERTIFICATE----- -MIIEVzCCAz+gAwIBAgIBATANBgkqhkiG9w0BAQUFADCBnTELMAkGA1UEBhMCRVMxIjAgBgNVBAcT -GUMvIE11bnRhbmVyIDI0NCBCYXJjZWxvbmExQjBABgNVBAMTOUF1dG9yaWRhZCBkZSBDZXJ0aWZp -Y2FjaW9uIEZpcm1hcHJvZmVzaW9uYWwgQ0lGIEE2MjYzNDA2ODEmMCQGCSqGSIb3DQEJARYXY2FA -ZmlybWFwcm9mZXNpb25hbC5jb20wHhcNMDExMDI0MjIwMDAwWhcNMTMxMDI0MjIwMDAwWjCBnTEL -MAkGA1UEBhMCRVMxIjAgBgNVBAcTGUMvIE11bnRhbmVyIDI0NCBCYXJjZWxvbmExQjBABgNVBAMT -OUF1dG9yaWRhZCBkZSBDZXJ0aWZpY2FjaW9uIEZpcm1hcHJvZmVzaW9uYWwgQ0lGIEE2MjYzNDA2 -ODEmMCQGCSqGSIb3DQEJARYXY2FAZmlybWFwcm9mZXNpb25hbC5jb20wggEiMA0GCSqGSIb3DQEB -AQUAA4IBDwAwggEKAoIBAQDnIwNvbyOlXnjOlSztlB5uCp4Bx+ow0Syd3Tfom5h5VtP8c9/Qit5V -j1H5WuretXDE7aTt/6MNbg9kUDGvASdYrv5sp0ovFy3Tc9UTHI9ZpTQsHVQERc1ouKDAA6XPhUJH -lShbz++AbOCQl4oBPB3zhxAwJkh91/zpnZFx/0GaqUC1N5wpIE8fUuOgfRNtVLcK3ulqTgesrBlf -3H5idPayBQC6haD9HThuy1q7hryUZzM1gywfI834yJFxzJeL764P3CkDG8A563DtwW4O2GcLiam8 -NeTvtjS0pbbELaW+0MOUJEjb35bTALVmGotmBQ/dPz/LP6pemkr4tErvlTcbAgMBAAGjgZ8wgZww -KgYDVR0RBCMwIYYfaHR0cDovL3d3dy5maXJtYXByb2Zlc2lvbmFsLmNvbTASBgNVHRMBAf8ECDAG -AQH/AgEBMCsGA1UdEAQkMCKADzIwMDExMDI0MjIwMDAwWoEPMjAxMzEwMjQyMjAwMDBaMA4GA1Ud -DwEB/wQEAwIBBjAdBgNVHQ4EFgQUMwugZtHq2s7eYpMEKFK1FH84aLcwDQYJKoZIhvcNAQEFBQAD -ggEBAEdz/o0nVPD11HecJ3lXV7cVVuzH2Fi3AQL0M+2TUIiefEaxvT8Ub/GzR0iLjJcG1+p+o1wq -u00vR+L4OQbJnC4xGgN49Lw4xiKLMzHwFgQEffl25EvXwOaD7FnMP97/T2u3Z36mhoEyIwOdyPdf -wUpgpZKpsaSgYMN4h7Mi8yrrW6ntBas3D7Hi05V2Y1Z0jFhyGzflZKG+TQyTmAyX9odtsz/ny4Cm -7YjHX1BiAuiZdBbQ5rQ58SfLyEDW44YQqSMSkuBpQWOnryULwMWSyx6Yo1q6xTMPoJcB3X/ge9YG -VM+h4k0460tQtcsm9MracEpqoeJ5quGnM/b9Sh/22WA= ------END CERTIFICATE----- - Swisscom Root CA 1 ================== -----BEGIN CERTIFICATE----- @@ -1978,40 +1612,6 @@ PBS1xp81HlDQwY9qcEQCYsuuHWhBp6pX6FOqB9IG9tUUBguRA3UsbHK1YZWaDYu5Def131TN3ubY WyH8EZE0vkHve52Xdf+XlcCWWC/qu0bXu+TZLg== -----END CERTIFICATE----- -AC Ra\xC3\xADz Certic\xC3\xA1mara S.A. -====================================== ------BEGIN CERTIFICATE----- -MIIGZjCCBE6gAwIBAgIPB35Sk3vgFeNX8GmMy+wMMA0GCSqGSIb3DQEBBQUAMHsxCzAJBgNVBAYT -AkNPMUcwRQYDVQQKDD5Tb2NpZWRhZCBDYW1lcmFsIGRlIENlcnRpZmljYWNpw7NuIERpZ2l0YWwg -LSBDZXJ0aWPDoW1hcmEgUy5BLjEjMCEGA1UEAwwaQUMgUmHDrXogQ2VydGljw6FtYXJhIFMuQS4w -HhcNMDYxMTI3MjA0NjI5WhcNMzAwNDAyMjE0MjAyWjB7MQswCQYDVQQGEwJDTzFHMEUGA1UECgw+ -U29jaWVkYWQgQ2FtZXJhbCBkZSBDZXJ0aWZpY2FjacOzbiBEaWdpdGFsIC0gQ2VydGljw6FtYXJh -IFMuQS4xIzAhBgNVBAMMGkFDIFJhw616IENlcnRpY8OhbWFyYSBTLkEuMIICIjANBgkqhkiG9w0B -AQEFAAOCAg8AMIICCgKCAgEAq2uJo1PMSCMI+8PPUZYILrgIem08kBeGqentLhM0R7LQcNzJPNCN -yu5LF6vQhbCnIwTLqKL85XXbQMpiiY9QngE9JlsYhBzLfDe3fezTf3MZsGqy2IiKLUV0qPezuMDU -2s0iiXRNWhU5cxh0T7XrmafBHoi0wpOQY5fzp6cSsgkiBzPZkc0OnB8OIMfuuzONj8LSWKdf/WU3 -4ojC2I+GdV75LaeHM/J4Ny+LvB2GNzmxlPLYvEqcgxhaBvzz1NS6jBUJJfD5to0EfhcSM2tXSExP -2yYe68yQ54v5aHxwD6Mq0Do43zeX4lvegGHTgNiRg0JaTASJaBE8rF9ogEHMYELODVoqDA+bMMCm -8Ibbq0nXl21Ii/kDwFJnmxL3wvIumGVC2daa49AZMQyth9VXAnow6IYm+48jilSH5L887uvDdUhf -HjlvgWJsxS3EF1QZtzeNnDeRyPYL1epjb4OsOMLzP96a++EjYfDIJss2yKHzMI+ko6Kh3VOz3vCa -Mh+DkXkwwakfU5tTohVTP92dsxA7SH2JD/ztA/X7JWR1DhcZDY8AFmd5ekD8LVkH2ZD6mq093ICK -5lw1omdMEWux+IBkAC1vImHFrEsm5VoQgpukg3s0956JkSCXjrdCx2bD0Omk1vUgjcTDlaxECp1b -czwmPS9KvqfJpxAe+59QafMCAwEAAaOB5jCB4zAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQE -AwIBBjAdBgNVHQ4EFgQU0QnQ6dfOeXRU+Tows/RtLAMDG2gwgaAGA1UdIASBmDCBlTCBkgYEVR0g -ADCBiTArBggrBgEFBQcCARYfaHR0cDovL3d3dy5jZXJ0aWNhbWFyYS5jb20vZHBjLzBaBggrBgEF -BQcCAjBOGkxMaW1pdGFjaW9uZXMgZGUgZ2FyYW507WFzIGRlIGVzdGUgY2VydGlmaWNhZG8gc2Ug -cHVlZGVuIGVuY29udHJhciBlbiBsYSBEUEMuMA0GCSqGSIb3DQEBBQUAA4ICAQBclLW4RZFNjmEf -AygPU3zmpFmps4p6xbD/CHwso3EcIRNnoZUSQDWDg4902zNc8El2CoFS3UnUmjIz75uny3XlesuX -EpBcunvFm9+7OSPI/5jOCk0iAUgHforA1SBClETvv3eiiWdIG0ADBaGJ7M9i4z0ldma/Jre7Ir5v -/zlXdLp6yQGVwZVR6Kss+LGGIOk/yzVb0hfpKv6DExdA7ohiZVvVO2Dpezy4ydV/NgIlqmjCMRW3 -MGXrfx1IebHPOeJCgBbT9ZMj/EyXyVo3bHwi2ErN0o42gzmRkBDI8ck1fj+404HGIGQatlDCIaR4 -3NAvO2STdPCWkPHv+wlaNECW8DYSwaN0jJN+Qd53i+yG2dIPPy3RzECiiWZIHiCznCNZc6lEc7wk -eZBWN7PGKX6jD/EpOe9+XCgycDWs2rjIdWb8m0w5R44bb5tNAlQiM+9hup4phO9OSzNHdpdqy35f -/RWmnkJDW2ZaiogN9xa5P1FlK2Zqi9E4UqLWRhH6/JocdJ6PlwsCT2TG9WjTSy3/pDceiz+/RL5h -RqGEPQgnTIEgd4kI6mdAXmwIUV80WoyWaM3X94nCHNMyAK9Sy9NgWyo6R35rMDOhYil/SrnhLecU -Iw4OGEfhefwVVdCx/CVxY3UzHCMrr1zZ7Ud3YA47Dx7SwNxkBYn8eNZcLCZDqQ== ------END CERTIFICATE----- - TC TrustCenter Class 2 CA II ============================ -----BEGIN CERTIFICATE----- @@ -2039,33 +1639,6 @@ JOzHdiEoZa5X6AeIdUpWoNIFOqTmjZKILPPy4cHGYdtBxceb9w4aUUXCYWvcZCcXjFq32nQozZfk vQ== -----END CERTIFICATE----- -TC TrustCenter Class 3 CA II -============================ ------BEGIN CERTIFICATE----- -MIIEqjCCA5KgAwIBAgIOSkcAAQAC5aBd1j8AUb8wDQYJKoZIhvcNAQEFBQAwdjELMAkGA1UEBhMC -REUxHDAaBgNVBAoTE1RDIFRydXN0Q2VudGVyIEdtYkgxIjAgBgNVBAsTGVRDIFRydXN0Q2VudGVy -IENsYXNzIDMgQ0ExJTAjBgNVBAMTHFRDIFRydXN0Q2VudGVyIENsYXNzIDMgQ0EgSUkwHhcNMDYw -MTEyMTQ0MTU3WhcNMjUxMjMxMjI1OTU5WjB2MQswCQYDVQQGEwJERTEcMBoGA1UEChMTVEMgVHJ1 -c3RDZW50ZXIgR21iSDEiMCAGA1UECxMZVEMgVHJ1c3RDZW50ZXIgQ2xhc3MgMyBDQTElMCMGA1UE -AxMcVEMgVHJ1c3RDZW50ZXIgQ2xhc3MgMyBDQSBJSTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC -AQoCggEBALTgu1G7OVyLBMVMeRwjhjEQY0NVJz/GRcekPewJDRoeIMJWHt4bNwcwIi9v8Qbxq63W -yKthoy9DxLCyLfzDlml7forkzMA5EpBCYMnMNWju2l+QVl/NHE1bWEnrDgFPZPosPIlY2C8u4rBo -6SI7dYnWRBpl8huXJh0obazovVkdKyT21oQDZogkAHhg8fir/gKya/si+zXmFtGt9i4S5Po1auUZ -uV3bOx4a+9P/FRQI2AlqukWdFHlgfa9Aigdzs5OW03Q0jTo3Kd5c7PXuLjHCINy+8U9/I1LZW+Jk -2ZyqBwi1Rb3R0DHBq1SfqdLDYmAD8bs5SpJKPQq5ncWg/jcCAwEAAaOCATQwggEwMA8GA1UdEwEB -/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBTUovyfs8PYA9NXXAek0CSnwPIA1DCB -7QYDVR0fBIHlMIHiMIHfoIHcoIHZhjVodHRwOi8vd3d3LnRydXN0Y2VudGVyLmRlL2NybC92Mi90 -Y19jbGFzc18zX2NhX0lJLmNybIaBn2xkYXA6Ly93d3cudHJ1c3RjZW50ZXIuZGUvQ049VEMlMjBU -cnVzdENlbnRlciUyMENsYXNzJTIwMyUyMENBJTIwSUksTz1UQyUyMFRydXN0Q2VudGVyJTIwR21i -SCxPVT1yb290Y2VydHMsREM9dHJ1c3RjZW50ZXIsREM9ZGU/Y2VydGlmaWNhdGVSZXZvY2F0aW9u -TGlzdD9iYXNlPzANBgkqhkiG9w0BAQUFAAOCAQEANmDkcPcGIEPZIxpC8vijsrlNirTzwppVMXzE -O2eatN9NDoqTSheLG43KieHPOh6sHfGcMrSOWXaiQYUlN6AT0PV8TtXqluJucsG7Kv5sbviRmEb8 -yRtXW+rIGjs/sFGYPAfaLFkB2otE6OF0/ado3VS6g0bsyEa1+K+XwDsJHI/OcpY9M1ZwvJbL2NV9 -IJqDnxrcOfHFcqMRA/07QlIp2+gB95tejNaNhk4Z+rwcvsUhpYeeeC422wlxo3I0+GzjBgnyXlal -092Y+tTmBvTwtiBjS+opvaqCZh77gaqnN60TGOaSw4HBM7uIHqHn4rS9MWwOUT1v+5ZWgOI2F9Hc -5A== ------END CERTIFICATE----- - TC TrustCenter Universal CA I ============================= -----BEGIN CERTIFICATE----- @@ -2659,22 +2232,6 @@ MCwXEGCSn1WHElkQwg9naRHMTh5+Spqtr0CodaxWkHS4oJyleW/c6RrIaQXpuvoDs3zk4E7Czp3o tkYNbn5XOmeUwssfnHdKZ05phkOTOPu220+DkdRgfks+KzgHVZhepA== -----END CERTIFICATE----- -Verisign Class 3 Public Primary Certification Authority -======================================================= ------BEGIN CERTIFICATE----- -MIICPDCCAaUCEDyRMcsf9tAbDpq40ES/Er4wDQYJKoZIhvcNAQEFBQAwXzELMAkGA1UEBhMCVVMx -FzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFzcyAzIFB1YmxpYyBQcmltYXJ5 -IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTk2MDEyOTAwMDAwMFoXDTI4MDgwMjIzNTk1OVow -XzELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFzcyAz -IFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIGfMA0GCSqGSIb3DQEBAQUA -A4GNADCBiQKBgQDJXFme8huKARS0EN8EQNvjV69qRUCPhAwL0TPZ2RHP7gJYHyX3KqhEBarsAx94 -f56TuZoAqiN91qyFomNFx3InzPRMxnVx0jnvT0Lwdd8KkMaOIG+YD/isI19wKTakyYbnsZogy1Ol -hec9vn2a/iRFM9x2Fe0PonFkTGUugWhFpwIDAQABMA0GCSqGSIb3DQEBBQUAA4GBABByUqkFFBky -CEHwxWsKzH4PIRnN5GfcX6kb5sroc50i2JhucwNhkcV8sEVAbkSdjbCxlnRhLQ2pRdKkkirWmnWX -bj9T/UWZYB2oK0z5XqcJ2HUw19JlYD1n1khVdWk/kfVIC0dpImmClr7JyDiGSnoscxlIaU5rfGW/ -D/xwzoiQ ------END CERTIFICATE----- - Microsec e-Szigno Root CA 2009 ============================== -----BEGIN CERTIFICATE----- @@ -2699,28 +2256,6 @@ yULyMtd6YebS2z3PyKnJm9zbWETXbzivf3jTo60adbocwTZ8jx5tHMN1Rq41Bab2XD0h7lbwyYIi LXpUq3DDfSJlgnCW -----END CERTIFICATE----- -E-Guven Kok Elektronik Sertifika Hizmet Saglayicisi -=================================================== ------BEGIN CERTIFICATE----- -MIIDtjCCAp6gAwIBAgIQRJmNPMADJ72cdpW56tustTANBgkqhkiG9w0BAQUFADB1MQswCQYDVQQG -EwJUUjEoMCYGA1UEChMfRWxla3Ryb25payBCaWxnaSBHdXZlbmxpZ2kgQS5TLjE8MDoGA1UEAxMz -ZS1HdXZlbiBLb2sgRWxla3Ryb25payBTZXJ0aWZpa2EgSGl6bWV0IFNhZ2xheWljaXNpMB4XDTA3 -MDEwNDExMzI0OFoXDTE3MDEwNDExMzI0OFowdTELMAkGA1UEBhMCVFIxKDAmBgNVBAoTH0VsZWt0 -cm9uaWsgQmlsZ2kgR3V2ZW5saWdpIEEuUy4xPDA6BgNVBAMTM2UtR3V2ZW4gS29rIEVsZWt0cm9u -aWsgU2VydGlmaWthIEhpem1ldCBTYWdsYXlpY2lzaTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC -AQoCggEBAMMSIJ6wXgBljU5Gu4Bc6SwGl9XzcslwuedLZYDBS75+PNdUMZTe1RK6UxYC6lhj71vY -8+0qGqpxSKPcEC1fX+tcS5yWCEIlKBHMilpiAVDV6wlTL/jDj/6z/P2douNffb7tC+Bg62nsM+3Y -jfsSSYMAyYuXjDtzKjKzEve5TfL0TW3H5tYmNwjy2f1rXKPlSFxYvEK+A1qBuhw1DADT9SN+cTAI -JjjcJRFHLfO6IxClv7wC90Nex/6wN1CZew+TzuZDLMN+DfIcQ2Zgy2ExR4ejT669VmxMvLz4Bcpk -9Ok0oSy1c+HCPujIyTQlCFzz7abHlJ+tiEMl1+E5YP6sOVkCAwEAAaNCMEAwDgYDVR0PAQH/BAQD -AgEGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFJ/uRLOU1fqRTy7ZVZoEVtstxNulMA0GCSqG -SIb3DQEBBQUAA4IBAQB/X7lTW2M9dTLn+sR0GstG30ZpHFLPqk/CaOv/gKlR6D1id4k9CnU58W5d -F4dvaAXBlGzZXd/aslnLpRCKysw5zZ/rTt5S/wzw9JKp8mxTq5vSR6AfdPebmvEvFZ96ZDAYBzwq -D2fK/A+JYZ1lpTzlvBNbCNvj/+27BrtqBrF6T2XGgv0enIu1De5Iu7i9qgi0+6N8y5/NkHZchpZ4 -Vwpm+Vganf2XKWDeEaaQHBkc7gGWIjQ0LpH5t8Qn0Xvmv/uARFoW5evg1Ao4vOSR49XrXMGs3xtq -fJ7lddK2l4fbzIcrQzqECK+rPNv3PGYxhrCdU3nt+CPeQuMtgvEP5fqX ------END CERTIFICATE----- - GlobalSign Root CA - R3 ======================= -----BEGIN CERTIFICATE----- @@ -3783,3 +3318,670 @@ i4TWnsLrgxifarsbJGAzcMzs9zLzXNl5fe+epP7JI8Mk7hWSsT2RTyaGvWZzJBPqpK5jwa19hAM8 EHiGG3njxPPyBJUgriOCxLM6AGK/5jYk4Ve6xx6QddVfP5VhK8E7zeWzaGHQRiapIVJpLesux+t3 zqY6tQMzT3bR51xUAV3LePTJDL/PEo4XLSNolOer/qmyKwbQBM0= -----END CERTIFICATE----- + +TeliaSonera Root CA v1 +====================== +-----BEGIN CERTIFICATE----- +MIIFODCCAyCgAwIBAgIRAJW+FqD3LkbxezmCcvqLzZYwDQYJKoZIhvcNAQEFBQAwNzEUMBIGA1UE +CgwLVGVsaWFTb25lcmExHzAdBgNVBAMMFlRlbGlhU29uZXJhIFJvb3QgQ0EgdjEwHhcNMDcxMDE4 +MTIwMDUwWhcNMzIxMDE4MTIwMDUwWjA3MRQwEgYDVQQKDAtUZWxpYVNvbmVyYTEfMB0GA1UEAwwW +VGVsaWFTb25lcmEgUm9vdCBDQSB2MTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAMK+ +6yfwIaPzaSZVfp3FVRaRXP3vIb9TgHot0pGMYzHw7CTww6XScnwQbfQ3t+XmfHnqjLWCi65ItqwA +3GV17CpNX8GH9SBlK4GoRz6JI5UwFpB/6FcHSOcZrr9FZ7E3GwYq/t75rH2D+1665I+XZ75Ljo1k +B1c4VWk0Nj0TSO9P4tNmHqTPGrdeNjPUtAa9GAH9d4RQAEX1jF3oI7x+/jXh7VB7qTCNGdMJjmhn +Xb88lxhTuylixcpecsHHltTbLaC0H2kD7OriUPEMPPCs81Mt8Bz17Ww5OXOAFshSsCPN4D7c3TxH +oLs1iuKYaIu+5b9y7tL6pe0S7fyYGKkmdtwoSxAgHNN/Fnct7W+A90m7UwW7XWjH1Mh1Fj+JWov3 +F0fUTPHSiXk+TT2YqGHeOh7S+F4D4MHJHIzTjU3TlTazN19jY5szFPAtJmtTfImMMsJu7D0hADnJ +oWjiUIMusDor8zagrC/kb2HCUQk5PotTubtn2txTuXZZNp1D5SDgPTJghSJRt8czu90VL6R4pgd7 +gUY2BIbdeTXHlSw7sKMXNeVzH7RcWe/a6hBle3rQf5+ztCo3O3CLm1u5K7fsslESl1MpWtTwEhDc +TwK7EpIvYtQ/aUN8Ddb8WHUBiJ1YFkveupD/RwGJBmr2X7KQarMCpgKIv7NHfirZ1fpoeDVNAgMB +AAGjPzA9MA8GA1UdEwEB/wQFMAMBAf8wCwYDVR0PBAQDAgEGMB0GA1UdDgQWBBTwj1k4ALP1j5qW +DNXr+nuqF+gTEjANBgkqhkiG9w0BAQUFAAOCAgEAvuRcYk4k9AwI//DTDGjkk0kiP0Qnb7tt3oNm +zqjMDfz1mgbldxSR651Be5kqhOX//CHBXfDkH1e3damhXwIm/9fH907eT/j3HEbAek9ALCI18Bmx +0GtnLLCo4MBANzX2hFxc469CeP6nyQ1Q6g2EdvZR74NTxnr/DlZJLo961gzmJ1TjTQpgcmLNkQfW +pb/ImWvtxBnmq0wROMVvMeJuScg/doAmAyYp4Db29iBT4xdwNBedY2gea+zDTYa4EzAvXUYNR0PV +G6pZDrlcjQZIrXSHX8f8MVRBE+LHIQ6e4B4N4cB7Q4WQxYpYxmUKeFfyxiMPAdkgS94P+5KFdSpc +c41teyWRyu5FrgZLAMzTsVlQ2jqIOylDRl6XK1TOU2+NSueW+r9xDkKLfP0ooNBIytrEgUy7onOT +JsjrDNYmiLbAJM+7vVvrdX3pCI6GMyx5dwlppYn8s3CQh3aP0yK7Qs69cwsgJirQmz1wHiRszYd2 +qReWt88NkvuOGKmYSdGe/mBEciG5Ge3C9THxOUiIkCR1VBatzvT4aRRkOfujuLpwQMcnHL/EVlP6 +Y2XQ8xwOFvVrhlhNGNTkDY6lnVuR3HYkUD/GKvvZt5y11ubQ2egZixVxSK236thZiNSQvxaz2ems +WWFUyBy6ysHK4bkgTI86k4mloMy/0/Z1pHWWbVY= +-----END CERTIFICATE----- + +E-Tugra Certification Authority +=============================== +-----BEGIN CERTIFICATE----- +MIIGSzCCBDOgAwIBAgIIamg+nFGby1MwDQYJKoZIhvcNAQELBQAwgbIxCzAJBgNVBAYTAlRSMQ8w +DQYDVQQHDAZBbmthcmExQDA+BgNVBAoMN0UtVHXEn3JhIEVCRyBCaWxpxZ9pbSBUZWtub2xvamls +ZXJpIHZlIEhpem1ldGxlcmkgQS7Fni4xJjAkBgNVBAsMHUUtVHVncmEgU2VydGlmaWthc3lvbiBN +ZXJrZXppMSgwJgYDVQQDDB9FLVR1Z3JhIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTEzMDMw +NTEyMDk0OFoXDTIzMDMwMzEyMDk0OFowgbIxCzAJBgNVBAYTAlRSMQ8wDQYDVQQHDAZBbmthcmEx +QDA+BgNVBAoMN0UtVHXEn3JhIEVCRyBCaWxpxZ9pbSBUZWtub2xvamlsZXJpIHZlIEhpem1ldGxl +cmkgQS7Fni4xJjAkBgNVBAsMHUUtVHVncmEgU2VydGlmaWthc3lvbiBNZXJrZXppMSgwJgYDVQQD +DB9FLVR1Z3JhIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIICIjANBgkqhkiG9w0BAQEFAAOCAg8A +MIICCgKCAgEA4vU/kwVRHoViVF56C/UYB4Oufq9899SKa6VjQzm5S/fDxmSJPZQuVIBSOTkHS0vd +hQd2h8y/L5VMzH2nPbxHD5hw+IyFHnSOkm0bQNGZDbt1bsipa5rAhDGvykPL6ys06I+XawGb1Q5K +CKpbknSFQ9OArqGIW66z6l7LFpp3RMih9lRozt6Plyu6W0ACDGQXwLWTzeHxE2bODHnv0ZEoq1+g +ElIwcxmOj+GMB6LDu0rw6h8VqO4lzKRG+Bsi77MOQ7osJLjFLFzUHPhdZL3Dk14opz8n8Y4e0ypQ +BaNV2cvnOVPAmJ6MVGKLJrD3fY185MaeZkJVgkfnsliNZvcHfC425lAcP9tDJMW/hkd5s3kc91r0 +E+xs+D/iWR+V7kI+ua2oMoVJl0b+SzGPWsutdEcf6ZG33ygEIqDUD13ieU/qbIWGvaimzuT6w+Gz +rt48Ue7LE3wBf4QOXVGUnhMMti6lTPk5cDZvlsouDERVxcr6XQKj39ZkjFqzAQqptQpHF//vkUAq +jqFGOjGY5RH8zLtJVor8udBhmm9lbObDyz51Sf6Pp+KJxWfXnUYTTjF2OySznhFlhqt/7x3U+Lzn +rFpct1pHXFXOVbQicVtbC/DP3KBhZOqp12gKY6fgDT+gr9Oq0n7vUaDmUStVkhUXU8u3Zg5mTPj5 +dUyQ5xJwx0UCAwEAAaNjMGEwHQYDVR0OBBYEFC7j27JJ0JxUeVz6Jyr+zE7S6E5UMA8GA1UdEwEB +/wQFMAMBAf8wHwYDVR0jBBgwFoAULuPbsknQnFR5XPonKv7MTtLoTlQwDgYDVR0PAQH/BAQDAgEG +MA0GCSqGSIb3DQEBCwUAA4ICAQAFNzr0TbdF4kV1JI+2d1LoHNgQk2Xz8lkGpD4eKexd0dCrfOAK +kEh47U6YA5n+KGCRHTAduGN8qOY1tfrTYXbm1gdLymmasoR6d5NFFxWfJNCYExL/u6Au/U5Mh/jO +XKqYGwXgAEZKgoClM4so3O0409/lPun++1ndYYRP0lSWE2ETPo+Aab6TR7U1Q9Jauz1c77NCR807 +VRMGsAnb/WP2OogKmW9+4c4bU2pEZiNRCHu8W1Ki/QY3OEBhj0qWuJA3+GbHeJAAFS6LrVE1Uweo +a2iu+U48BybNCAVwzDk/dr2l02cmAYamU9JgO3xDf1WKvJUawSg5TB9D0pH0clmKuVb8P7Sd2nCc +dlqMQ1DujjByTd//SffGqWfZbawCEeI6FiWnWAjLb1NBnEg4R2gz0dfHj9R0IdTDBZB6/86WiLEV +KV0jq9BgoRJP3vQXzTLlyb/IQ639Lo7xr+L0mPoSHyDYwKcMhcWQ9DstliaxLL5Mq+ux0orJ23gT +Dx4JnW2PAJ8C2sH6H3p6CcRK5ogql5+Ji/03X186zjhZhkuvcQu02PJwT58yE+Owp1fl2tpDy4Q0 +8ijE6m30Ku/Ba3ba+367hTzSU8JNvnHhRdH9I2cNE3X7z2VnIp2usAnRCf8dNL/+I5c30jn6PQ0G +C7TbO6Orb1wdtn7os4I07QZcJA== +-----END CERTIFICATE----- + +T-TeleSec GlobalRoot Class 2 +============================ +-----BEGIN CERTIFICATE----- +MIIDwzCCAqugAwIBAgIBATANBgkqhkiG9w0BAQsFADCBgjELMAkGA1UEBhMCREUxKzApBgNVBAoM +IlQtU3lzdGVtcyBFbnRlcnByaXNlIFNlcnZpY2VzIEdtYkgxHzAdBgNVBAsMFlQtU3lzdGVtcyBU +cnVzdCBDZW50ZXIxJTAjBgNVBAMMHFQtVGVsZVNlYyBHbG9iYWxSb290IENsYXNzIDIwHhcNMDgx +MDAxMTA0MDE0WhcNMzMxMDAxMjM1OTU5WjCBgjELMAkGA1UEBhMCREUxKzApBgNVBAoMIlQtU3lz +dGVtcyBFbnRlcnByaXNlIFNlcnZpY2VzIEdtYkgxHzAdBgNVBAsMFlQtU3lzdGVtcyBUcnVzdCBD +ZW50ZXIxJTAjBgNVBAMMHFQtVGVsZVNlYyBHbG9iYWxSb290IENsYXNzIDIwggEiMA0GCSqGSIb3 +DQEBAQUAA4IBDwAwggEKAoIBAQCqX9obX+hzkeXaXPSi5kfl82hVYAUdAqSzm1nzHoqvNK38DcLZ +SBnuaY/JIPwhqgcZ7bBcrGXHX+0CfHt8LRvWurmAwhiCFoT6ZrAIxlQjgeTNuUk/9k9uN0goOA/F +vudocP05l03Sx5iRUKrERLMjfTlH6VJi1hKTXrcxlkIF+3anHqP1wvzpesVsqXFP6st4vGCvx970 +2cu+fjOlbpSD8DT6IavqjnKgP6TeMFvvhk1qlVtDRKgQFRzlAVfFmPHmBiiRqiDFt1MmUUOyCxGV +WOHAD3bZwI18gfNycJ5v/hqO2V81xrJvNHy+SE/iWjnX2J14np+GPgNeGYtEotXHAgMBAAGjQjBA +MA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBS/WSA2AHmgoCJrjNXy +YdK4LMuCSjANBgkqhkiG9w0BAQsFAAOCAQEAMQOiYQsfdOhyNsZt+U2e+iKo4YFWz827n+qrkRk4 +r6p8FU3ztqONpfSO9kSpp+ghla0+AGIWiPACuvxhI+YzmzB6azZie60EI4RYZeLbK4rnJVM3YlNf +vNoBYimipidx5joifsFvHZVwIEoHNN/q/xWA5brXethbdXwFeilHfkCoMRN3zUA7tFFHei4R40cR +3p1m0IvVVGb6g1XqfMIpiRvpb7PO4gWEyS8+eIVibslfwXhjdFjASBgMmTnrpMwatXlajRWc2BQN +9noHV8cigwUtPJslJj0Ys6lDfMjIq2SPDqO/nBudMNva0Bkuqjzx+zOAduTNrRlPBSeOE6Fuwg== +-----END CERTIFICATE----- + +Atos TrustedRoot 2011 +===================== +-----BEGIN CERTIFICATE----- +MIIDdzCCAl+gAwIBAgIIXDPLYixfszIwDQYJKoZIhvcNAQELBQAwPDEeMBwGA1UEAwwVQXRvcyBU +cnVzdGVkUm9vdCAyMDExMQ0wCwYDVQQKDARBdG9zMQswCQYDVQQGEwJERTAeFw0xMTA3MDcxNDU4 +MzBaFw0zMDEyMzEyMzU5NTlaMDwxHjAcBgNVBAMMFUF0b3MgVHJ1c3RlZFJvb3QgMjAxMTENMAsG +A1UECgwEQXRvczELMAkGA1UEBhMCREUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCV +hTuXbyo7LjvPpvMpNb7PGKw+qtn4TaA+Gke5vJrf8v7MPkfoepbCJI419KkM/IL9bcFyYie96mvr +54rMVD6QUM+A1JX76LWC1BTFtqlVJVfbsVD2sGBkWXppzwO3bw2+yj5vdHLqqjAqc2K+SZFhyBH+ +DgMq92og3AIVDV4VavzjgsG1xZ1kCWyjWZgHJ8cblithdHFsQ/H3NYkQ4J7sVaE3IqKHBAUsR320 +HLliKWYoyrfhk/WklAOZuXCFteZI6o1Q/NnezG8HDt0Lcp2AMBYHlT8oDv3FdU9T1nSatCQujgKR +z3bFmx5VdJx4IbHwLfELn8LVlhgf8FQieowHAgMBAAGjfTB7MB0GA1UdDgQWBBSnpQaxLKYJYO7R +l+lwrrw7GWzbITAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFKelBrEspglg7tGX6XCuvDsZ +bNshMBgGA1UdIAQRMA8wDQYLKwYBBAGwLQMEAQEwDgYDVR0PAQH/BAQDAgGGMA0GCSqGSIb3DQEB +CwUAA4IBAQAmdzTblEiGKkGdLD4GkGDEjKwLVLgfuXvTBznk+j57sj1O7Z8jvZfza1zv7v1Apt+h +k6EKhqzvINB5Ab149xnYJDE0BAGmuhWawyfc2E8PzBhj/5kPDpFrdRbhIfzYJsdHt6bPWHJxfrrh +TZVHO8mvbaG0weyJ9rQPOLXiZNwlz6bb65pcmaHFCN795trV1lpFDMS3wrUU77QR/w4VtfX128a9 +61qn8FYiqTxlVMYVqL2Gns2Dlmh6cYGJ4Qvh6hEbaAjMaZ7snkGeRDImeuKHCnE96+RapNLbxc3G +3mB/ufNPRJLvKrcYPqcZ2Qt9sTdBQrC6YB3y/gkRsPCHe6ed +-----END CERTIFICATE----- + +QuoVadis Root CA 1 G3 +===================== +-----BEGIN CERTIFICATE----- +MIIFYDCCA0igAwIBAgIUeFhfLq0sGUvjNwc1NBMotZbUZZMwDQYJKoZIhvcNAQELBQAwSDELMAkG +A1UEBhMCQk0xGTAXBgNVBAoTEFF1b1ZhZGlzIExpbWl0ZWQxHjAcBgNVBAMTFVF1b1ZhZGlzIFJv +b3QgQ0EgMSBHMzAeFw0xMjAxMTIxNzI3NDRaFw00MjAxMTIxNzI3NDRaMEgxCzAJBgNVBAYTAkJN +MRkwFwYDVQQKExBRdW9WYWRpcyBMaW1pdGVkMR4wHAYDVQQDExVRdW9WYWRpcyBSb290IENBIDEg +RzMwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCgvlAQjunybEC0BJyFuTHK3C3kEakE +PBtVwedYMB0ktMPvhd6MLOHBPd+C5k+tR4ds7FtJwUrVu4/sh6x/gpqG7D0DmVIB0jWerNrwU8lm +PNSsAgHaJNM7qAJGr6Qc4/hzWHa39g6QDbXwz8z6+cZM5cOGMAqNF34168Xfuw6cwI2H44g4hWf6 +Pser4BOcBRiYz5P1sZK0/CPTz9XEJ0ngnjybCKOLXSoh4Pw5qlPafX7PGglTvF0FBM+hSo+LdoIN +ofjSxxR3W5A2B4GbPgb6Ul5jxaYA/qXpUhtStZI5cgMJYr2wYBZupt0lwgNm3fME0UDiTouG9G/l +g6AnhF4EwfWQvTA9xO+oabw4m6SkltFi2mnAAZauy8RRNOoMqv8hjlmPSlzkYZqn0ukqeI1RPToV +7qJZjqlc3sX5kCLliEVx3ZGZbHqfPT2YfF72vhZooF6uCyP8Wg+qInYtyaEQHeTTRCOQiJ/GKubX +9ZqzWB4vMIkIG1SitZgj7Ah3HJVdYdHLiZxfokqRmu8hqkkWCKi9YSgxyXSthfbZxbGL0eUQMk1f +iyA6PEkfM4VZDdvLCXVDaXP7a3F98N/ETH3Goy7IlXnLc6KOTk0k+17kBL5yG6YnLUlamXrXXAkg +t3+UuU/xDRxeiEIbEbfnkduebPRq34wGmAOtzCjvpUfzUwIDAQABo0IwQDAPBgNVHRMBAf8EBTAD +AQH/MA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUo5fW816iEOGrRZ88F2Q87gFwnMwwDQYJKoZI +hvcNAQELBQADggIBABj6W3X8PnrHX3fHyt/PX8MSxEBd1DKquGrX1RUVRpgjpeaQWxiZTOOtQqOC +MTaIzen7xASWSIsBx40Bz1szBpZGZnQdT+3Btrm0DWHMY37XLneMlhwqI2hrhVd2cDMT/uFPpiN3 +GPoajOi9ZcnPP/TJF9zrx7zABC4tRi9pZsMbj/7sPtPKlL92CiUNqXsCHKnQO18LwIE6PWThv6ct +Tr1NxNgpxiIY0MWscgKCP6o6ojoilzHdCGPDdRS5YCgtW2jgFqlmgiNR9etT2DGbe+m3nUvriBbP ++V04ikkwj+3x6xn0dxoxGE1nVGwvb2X52z3sIexe9PSLymBlVNFxZPT5pqOBMzYzcfCkeF9OrYMh +3jRJjehZrJ3ydlo28hP0r+AJx2EqbPfgna67hkooby7utHnNkDPDs3b69fBsnQGQ+p6Q9pxyz0fa +wx/kNSBT8lTR32GDpgLiJTjehTItXnOQUl1CxM49S+H5GYQd1aJQzEH7QRTDvdbJWqNjZgKAvQU6 +O0ec7AAmTPWIUb+oI38YB7AL7YsmoWTTYUrrXJ/es69nA7Mf3W1daWhpq1467HxpvMc7hU6eFbm0 +FU/DlXpY18ls6Wy58yljXrQs8C097Vpl4KlbQMJImYFtnh8GKjwStIsPm6Ik8KaN1nrgS7ZklmOV +hMJKzRwuJIczYOXD +-----END CERTIFICATE----- + +QuoVadis Root CA 2 G3 +===================== +-----BEGIN CERTIFICATE----- +MIIFYDCCA0igAwIBAgIURFc0JFuBiZs18s64KztbpybwdSgwDQYJKoZIhvcNAQELBQAwSDELMAkG +A1UEBhMCQk0xGTAXBgNVBAoTEFF1b1ZhZGlzIExpbWl0ZWQxHjAcBgNVBAMTFVF1b1ZhZGlzIFJv +b3QgQ0EgMiBHMzAeFw0xMjAxMTIxODU5MzJaFw00MjAxMTIxODU5MzJaMEgxCzAJBgNVBAYTAkJN +MRkwFwYDVQQKExBRdW9WYWRpcyBMaW1pdGVkMR4wHAYDVQQDExVRdW9WYWRpcyBSb290IENBIDIg +RzMwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQChriWyARjcV4g/Ruv5r+LrI3HimtFh +ZiFfqq8nUeVuGxbULX1QsFN3vXg6YOJkApt8hpvWGo6t/x8Vf9WVHhLL5hSEBMHfNrMWn4rjyduY +NM7YMxcoRvynyfDStNVNCXJJ+fKH46nafaF9a7I6JaltUkSs+L5u+9ymc5GQYaYDFCDy54ejiK2t +oIz/pgslUiXnFgHVy7g1gQyjO/Dh4fxaXc6AcW34Sas+O7q414AB+6XrW7PFXmAqMaCvN+ggOp+o +MiwMzAkd056OXbxMmO7FGmh77FOm6RQ1o9/NgJ8MSPsc9PG/Srj61YxxSscfrf5BmrODXfKEVu+l +V0POKa2Mq1W/xPtbAd0jIaFYAI7D0GoT7RPjEiuA3GfmlbLNHiJuKvhB1PLKFAeNilUSxmn1uIZo +L1NesNKqIcGY5jDjZ1XHm26sGahVpkUG0CM62+tlXSoREfA7T8pt9DTEceT/AFr2XK4jYIVz8eQQ +sSWu1ZK7E8EM4DnatDlXtas1qnIhO4M15zHfeiFuuDIIfR0ykRVKYnLP43ehvNURG3YBZwjgQQvD +6xVu+KQZ2aKrr+InUlYrAoosFCT5v0ICvybIxo/gbjh9Uy3l7ZizlWNof/k19N+IxWA1ksB8aRxh +lRbQ694Lrz4EEEVlWFA4r0jyWbYW8jwNkALGcC4BrTwV1wIDAQABo0IwQDAPBgNVHRMBAf8EBTAD +AQH/MA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQU7edvdlq/YOxJW8ald7tyFnGbxD0wDQYJKoZI +hvcNAQELBQADggIBAJHfgD9DCX5xwvfrs4iP4VGyvD11+ShdyLyZm3tdquXK4Qr36LLTn91nMX66 +AarHakE7kNQIXLJgapDwyM4DYvmL7ftuKtwGTTwpD4kWilhMSA/ohGHqPHKmd+RCroijQ1h5fq7K +pVMNqT1wvSAZYaRsOPxDMuHBR//47PERIjKWnML2W2mWeyAMQ0GaW/ZZGYjeVYg3UQt4XAoeo0L9 +x52ID8DyeAIkVJOviYeIyUqAHerQbj5hLja7NQ4nlv1mNDthcnPxFlxHBlRJAHpYErAK74X9sbgz +dWqTHBLmYF5vHX/JHyPLhGGfHoJE+V+tYlUkmlKY7VHnoX6XOuYvHxHaU4AshZ6rNRDbIl9qxV6X +U/IyAgkwo1jwDQHVcsaxfGl7w/U2Rcxhbl5MlMVerugOXou/983g7aEOGzPuVBj+D77vfoRrQ+Nw +mNtddbINWQeFFSM51vHfqSYP1kjHs6Yi9TM3WpVHn3u6GBVv/9YUZINJ0gpnIdsPNWNgKCLjsZWD +zYWm3S8P52dSbrsvhXz1SnPnxT7AvSESBT/8twNJAlvIJebiVDj1eYeMHVOyToV7BjjHLPj4sHKN +JeV3UvQDHEimUF+IIDBu8oJDqz2XhOdT+yHBTw8imoa4WSr2Rz0ZiC3oheGe7IUIarFsNMkd7Egr +O3jtZsSOeWmD3n+M +-----END CERTIFICATE----- + +QuoVadis Root CA 3 G3 +===================== +-----BEGIN CERTIFICATE----- +MIIFYDCCA0igAwIBAgIULvWbAiin23r/1aOp7r0DoM8Sah0wDQYJKoZIhvcNAQELBQAwSDELMAkG +A1UEBhMCQk0xGTAXBgNVBAoTEFF1b1ZhZGlzIExpbWl0ZWQxHjAcBgNVBAMTFVF1b1ZhZGlzIFJv +b3QgQ0EgMyBHMzAeFw0xMjAxMTIyMDI2MzJaFw00MjAxMTIyMDI2MzJaMEgxCzAJBgNVBAYTAkJN +MRkwFwYDVQQKExBRdW9WYWRpcyBMaW1pdGVkMR4wHAYDVQQDExVRdW9WYWRpcyBSb290IENBIDMg +RzMwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCzyw4QZ47qFJenMioKVjZ/aEzHs286 +IxSR/xl/pcqs7rN2nXrpixurazHb+gtTTK/FpRp5PIpM/6zfJd5O2YIyC0TeytuMrKNuFoM7pmRL +Mon7FhY4futD4tN0SsJiCnMK3UmzV9KwCoWdcTzeo8vAMvMBOSBDGzXRU7Ox7sWTaYI+FrUoRqHe +6okJ7UO4BUaKhvVZR74bbwEhELn9qdIoyhA5CcoTNs+cra1AdHkrAj80//ogaX3T7mH1urPnMNA3 +I4ZyYUUpSFlob3emLoG+B01vr87ERRORFHAGjx+f+IdpsQ7vw4kZ6+ocYfx6bIrc1gMLnia6Et3U +VDmrJqMz6nWB2i3ND0/kA9HvFZcba5DFApCTZgIhsUfei5pKgLlVj7WiL8DWM2fafsSntARE60f7 +5li59wzweyuxwHApw0BiLTtIadwjPEjrewl5qW3aqDCYz4ByA4imW0aucnl8CAMhZa634RylsSqi +Md5mBPfAdOhx3v89WcyWJhKLhZVXGqtrdQtEPREoPHtht+KPZ0/l7DxMYIBpVzgeAVuNVejH38DM +dyM0SXV89pgR6y3e7UEuFAUCf+D+IOs15xGsIs5XPd7JMG0QA4XN8f+MFrXBsj6IbGB/kE+V9/Yt +rQE5BwT6dYB9v0lQ7e/JxHwc64B+27bQ3RP+ydOc17KXqQIDAQABo0IwQDAPBgNVHRMBAf8EBTAD +AQH/MA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUxhfQvKjqAkPyGwaZXSuQILnXnOQwDQYJKoZI +hvcNAQELBQADggIBADRh2Va1EodVTd2jNTFGu6QHcrxfYWLopfsLN7E8trP6KZ1/AvWkyaiTt3px +KGmPc+FSkNrVvjrlt3ZqVoAh313m6Tqe5T72omnHKgqwGEfcIHB9UqM+WXzBusnIFUBhynLWcKzS +t/Ac5IYp8M7vaGPQtSCKFWGafoaYtMnCdvvMujAWzKNhxnQT5WvvoxXqA/4Ti2Tk08HS6IT7SdEQ +TXlm66r99I0xHnAUrdzeZxNMgRVhvLfZkXdxGYFgu/BYpbWcC/ePIlUnwEsBbTuZDdQdm2NnL9Du +DcpmvJRPpq3t/O5jrFc/ZSXPsoaP0Aj/uHYUbt7lJ+yreLVTubY/6CD50qi+YUbKh4yE8/nxoGib +Ih6BJpsQBJFxwAYf3KDTuVan45gtf4Od34wrnDKOMpTwATwiKp9Dwi7DmDkHOHv8XgBCH/MyJnmD +hPbl8MFREsALHgQjDFSlTC9JxUrRtm5gDWv8a4uFJGS3iQ6rJUdbPM9+Sb3H6QrG2vd+DhcI00iX +0HGS8A85PjRqHH3Y8iKuu2n0M7SmSFXRDw4m6Oy2Cy2nhTXN/VnIn9HNPlopNLk9hM6xZdRZkZFW +dSHBd575euFgndOtBBj0fOtek49TSiIp+EgrPk2GrFt/ywaZWWDYWGWVjUTR939+J399roD1B0y2 +PpxxVJkES/1Y+Zj0 +-----END CERTIFICATE----- + +DigiCert Assured ID Root G2 +=========================== +-----BEGIN CERTIFICATE----- +MIIDljCCAn6gAwIBAgIQC5McOtY5Z+pnI7/Dr5r0SzANBgkqhkiG9w0BAQsFADBlMQswCQYDVQQG +EwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNlcnQuY29tMSQw +IgYDVQQDExtEaWdpQ2VydCBBc3N1cmVkIElEIFJvb3QgRzIwHhcNMTMwODAxMTIwMDAwWhcNMzgw +MTE1MTIwMDAwWjBlMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQL +ExB3d3cuZGlnaWNlcnQuY29tMSQwIgYDVQQDExtEaWdpQ2VydCBBc3N1cmVkIElEIFJvb3QgRzIw +ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZ5ygvUj82ckmIkzTz+GoeMVSAn61UQbVH +35ao1K+ALbkKz3X9iaV9JPrjIgwrvJUXCzO/GU1BBpAAvQxNEP4HteccbiJVMWWXvdMX0h5i89vq +bFCMP4QMls+3ywPgym2hFEwbid3tALBSfK+RbLE4E9HpEgjAALAcKxHad3A2m67OeYfcgnDmCXRw +VWmvo2ifv922ebPynXApVfSr/5Vh88lAbx3RvpO704gqu52/clpWcTs/1PPRCv4o76Pu2ZmvA9OP +YLfykqGxvYmJHzDNw6YuYjOuFgJ3RFrngQo8p0Quebg/BLxcoIfhG69Rjs3sLPr4/m3wOnyqi+Rn +lTGNAgMBAAGjQjBAMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgGGMB0GA1UdDgQWBBTO +w0q5mVXyuNtgv6l+vVa1lzan1jANBgkqhkiG9w0BAQsFAAOCAQEAyqVVjOPIQW5pJ6d1Ee88hjZv +0p3GeDgdaZaikmkuOGybfQTUiaWxMTeKySHMq2zNixya1r9I0jJmwYrA8y8678Dj1JGG0VDjA9tz +d29KOVPt3ibHtX2vK0LRdWLjSisCx1BL4GnilmwORGYQRI+tBev4eaymG+g3NJ1TyWGqolKvSnAW +hsI6yLETcDbYz+70CjTVW0z9B5yiutkBclzzTcHdDrEcDcRjvq30FPuJ7KJBDkzMyFdA0G4Dqs0M +jomZmWzwPDCvON9vvKO+KSAnq3T/EyJ43pdSVR6DtVQgA+6uwE9W3jfMw3+qBCe703e4YtsXfJwo +IhNzbM8m9Yop5w== +-----END CERTIFICATE----- + +DigiCert Assured ID Root G3 +=========================== +-----BEGIN CERTIFICATE----- +MIICRjCCAc2gAwIBAgIQC6Fa+h3foLVJRK/NJKBs7DAKBggqhkjOPQQDAzBlMQswCQYDVQQGEwJV +UzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNlcnQuY29tMSQwIgYD +VQQDExtEaWdpQ2VydCBBc3N1cmVkIElEIFJvb3QgRzMwHhcNMTMwODAxMTIwMDAwWhcNMzgwMTE1 +MTIwMDAwWjBlMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3 +d3cuZGlnaWNlcnQuY29tMSQwIgYDVQQDExtEaWdpQ2VydCBBc3N1cmVkIElEIFJvb3QgRzMwdjAQ +BgcqhkjOPQIBBgUrgQQAIgNiAAQZ57ysRGXtzbg/WPuNsVepRC0FFfLvC/8QdJ+1YlJfZn4f5dwb +RXkLzMZTCp2NXQLZqVneAlr2lSoOjThKiknGvMYDOAdfVdp+CW7if17QRSAPWXYQ1qAk8C3eNvJs +KTmjQjBAMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgGGMB0GA1UdDgQWBBTL0L2p4ZgF +UaFNN6KDec6NHSrkhDAKBggqhkjOPQQDAwNnADBkAjAlpIFFAmsSS3V0T8gj43DydXLefInwz5Fy +YZ5eEJJZVrmDxxDnOOlYJjZ91eQ0hjkCMHw2U/Aw5WJjOpnitqM7mzT6HtoQknFekROn3aRukswy +1vUhZscv6pZjamVFkpUBtA== +-----END CERTIFICATE----- + +DigiCert Global Root G2 +======================= +-----BEGIN CERTIFICATE----- +MIIDjjCCAnagAwIBAgIQAzrx5qcRqaC7KGSxHQn65TANBgkqhkiG9w0BAQsFADBhMQswCQYDVQQG +EwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNlcnQuY29tMSAw +HgYDVQQDExdEaWdpQ2VydCBHbG9iYWwgUm9vdCBHMjAeFw0xMzA4MDExMjAwMDBaFw0zODAxMTUx +MjAwMDBaMGExCzAJBgNVBAYTAlVTMRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3 +dy5kaWdpY2VydC5jb20xIDAeBgNVBAMTF0RpZ2lDZXJ0IEdsb2JhbCBSb290IEcyMIIBIjANBgkq +hkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuzfNNNx7a8myaJCtSnX/RrohCgiN9RlUyfuI2/Ou8jqJ +kTx65qsGGmvPrC3oXgkkRLpimn7Wo6h+4FR1IAWsULecYxpsMNzaHxmx1x7e/dfgy5SDN67sH0NO +3Xss0r0upS/kqbitOtSZpLYl6ZtrAGCSYP9PIUkY92eQq2EGnI/yuum06ZIya7XzV+hdG82MHauV +BJVJ8zUtluNJbd134/tJS7SsVQepj5WztCO7TG1F8PapspUwtP1MVYwnSlcUfIKdzXOS0xZKBgyM +UNGPHgm+F6HmIcr9g+UQvIOlCsRnKPZzFBQ9RnbDhxSJITRNrw9FDKZJobq7nMWxM4MphQIDAQAB +o0IwQDAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBhjAdBgNVHQ4EFgQUTiJUIBiV5uNu +5g/6+rkS7QYXjzkwDQYJKoZIhvcNAQELBQADggEBAGBnKJRvDkhj6zHd6mcY1Yl9PMWLSn/pvtsr +F9+wX3N3KjITOYFnQoQj8kVnNeyIv/iPsGEMNKSuIEyExtv4NeF22d+mQrvHRAiGfzZ0JFrabA0U +WTW98kndth/Jsw1HKj2ZL7tcu7XUIOGZX1NGFdtom/DzMNU+MeKNhJ7jitralj41E6Vf8PlwUHBH +QRFXGU7Aj64GxJUTFy8bJZ918rGOmaFvE7FBcf6IKshPECBV1/MUReXgRPTqh5Uykw7+U0b6LJ3/ +iyK5S9kJRaTepLiaWN0bfVKfjllDiIGknibVb63dDcY3fe0Dkhvld1927jyNxF1WW6LZZm6zNTfl +MrY= +-----END CERTIFICATE----- + +DigiCert Global Root G3 +======================= +-----BEGIN CERTIFICATE----- +MIICPzCCAcWgAwIBAgIQBVVWvPJepDU1w6QP1atFcjAKBggqhkjOPQQDAzBhMQswCQYDVQQGEwJV +UzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNlcnQuY29tMSAwHgYD +VQQDExdEaWdpQ2VydCBHbG9iYWwgUm9vdCBHMzAeFw0xMzA4MDExMjAwMDBaFw0zODAxMTUxMjAw +MDBaMGExCzAJBgNVBAYTAlVTMRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5k +aWdpY2VydC5jb20xIDAeBgNVBAMTF0RpZ2lDZXJ0IEdsb2JhbCBSb290IEczMHYwEAYHKoZIzj0C +AQYFK4EEACIDYgAE3afZu4q4C/sLfyHS8L6+c/MzXRq8NOrexpu80JX28MzQC7phW1FGfp4tn+6O +YwwX7Adw9c+ELkCDnOg/QW07rdOkFFk2eJ0DQ+4QE2xy3q6Ip6FrtUPOZ9wj/wMco+I+o0IwQDAP +BgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBhjAdBgNVHQ4EFgQUs9tIpPmhxdiuNkHMEWNp +Yim8S8YwCgYIKoZIzj0EAwMDaAAwZQIxAK288mw/EkrRLTnDCgmXc/SINoyIJ7vmiI1Qhadj+Z4y +3maTD/HMsQmP3Wyr+mt/oAIwOWZbwmSNuJ5Q3KjVSaLtx9zRSX8XAbjIho9OjIgrqJqpisXRAL34 +VOKa5Vt8sycX +-----END CERTIFICATE----- + +DigiCert Trusted Root G4 +======================== +-----BEGIN CERTIFICATE----- +MIIFkDCCA3igAwIBAgIQBZsbV56OITLiOQe9p3d1XDANBgkqhkiG9w0BAQwFADBiMQswCQYDVQQG +EwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNlcnQuY29tMSEw +HwYDVQQDExhEaWdpQ2VydCBUcnVzdGVkIFJvb3QgRzQwHhcNMTMwODAxMTIwMDAwWhcNMzgwMTE1 +MTIwMDAwWjBiMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3 +d3cuZGlnaWNlcnQuY29tMSEwHwYDVQQDExhEaWdpQ2VydCBUcnVzdGVkIFJvb3QgRzQwggIiMA0G +CSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQC/5pBzaN675F1KPDAiMGkz7MKnJS7JIT3yithZwuEp +pz1Yq3aaza57G4QNxDAf8xukOBbrVsaXbR2rsnnyyhHS5F/WBTxSD1Ifxp4VpX6+n6lXFllVcq9o +k3DCsrp1mWpzMpTREEQQLt+C8weE5nQ7bXHiLQwb7iDVySAdYyktzuxeTsiT+CFhmzTrBcZe7Fsa +vOvJz82sNEBfsXpm7nfISKhmV1efVFiODCu3T6cw2Vbuyntd463JT17lNecxy9qTXtyOj4DatpGY +QJB5w3jHtrHEtWoYOAMQjdjUN6QuBX2I9YI+EJFwq1WCQTLX2wRzKm6RAXwhTNS8rhsDdV14Ztk6 +MUSaM0C/CNdaSaTC5qmgZ92kJ7yhTzm1EVgX9yRcRo9k98FpiHaYdj1ZXUJ2h4mXaXpI8OCiEhtm +mnTK3kse5w5jrubU75KSOp493ADkRSWJtppEGSt+wJS00mFt6zPZxd9LBADMfRyVw4/3IbKyEbe7 +f/LVjHAsQWCqsWMYRJUadmJ+9oCw++hkpjPRiQfhvbfmQ6QYuKZ3AeEPlAwhHbJUKSWJbOUOUlFH +dL4mrLZBdd56rF+NP8m800ERElvlEFDrMcXKchYiCd98THU/Y+whX8QgUWtvsauGi0/C1kVfnSD8 +oR7FwI+isX4KJpn15GkvmB0t9dmpsh3lGwIDAQABo0IwQDAPBgNVHRMBAf8EBTADAQH/MA4GA1Ud +DwEB/wQEAwIBhjAdBgNVHQ4EFgQU7NfjgtJxXWRM3y5nP+e6mK4cD08wDQYJKoZIhvcNAQEMBQAD +ggIBALth2X2pbL4XxJEbw6GiAI3jZGgPVs93rnD5/ZpKmbnJeFwMDF/k5hQpVgs2SV1EY+CtnJYY +ZhsjDT156W1r1lT40jzBQ0CuHVD1UvyQO7uYmWlrx8GnqGikJ9yd+SeuMIW59mdNOj6PWTkiU0Tr +yF0Dyu1Qen1iIQqAyHNm0aAFYF/opbSnr6j3bTWcfFqK1qI4mfN4i/RN0iAL3gTujJtHgXINwBQy +7zBZLq7gcfJW5GqXb5JQbZaNaHqasjYUegbyJLkJEVDXCLG4iXqEI2FCKeWjzaIgQdfRnGTZ6iah +ixTXTBmyUEFxPT9NcCOGDErcgdLMMpSEDQgJlxxPwO5rIHQw0uA5NBCFIRUBCOhVMt5xSdkoF1BN +5r5N0XWs0Mr7QbhDparTwwVETyw2m+L64kW4I1NsBm9nVX9GtUw/bihaeSbSpKhil9Ie4u1Ki7wb +/UdKDd9nZn6yW0HQO+T0O/QEY+nvwlQAUaCKKsnOeMzV6ocEGLPOr0mIr/OSmbaz5mEP0oUA51Aa +5BuVnRmhuZyxm7EAHu/QD09CbMkKvO5D+jpxpchNJqU1/YldvIViHTLSoCtU7ZpXwdv6EM8Zt4tK +G48BtieVU+i2iW1bvGjUI+iLUaJW+fCmgKDWHrO8Dw9TdSmq6hN35N6MgSGtBxBHEa2HPQfRdbzP +82Z+ +-----END CERTIFICATE----- + +WoSign +====== +-----BEGIN CERTIFICATE----- +MIIFdjCCA16gAwIBAgIQXmjWEXGUY1BWAGjzPsnFkTANBgkqhkiG9w0BAQUFADBVMQswCQYDVQQG +EwJDTjEaMBgGA1UEChMRV29TaWduIENBIExpbWl0ZWQxKjAoBgNVBAMTIUNlcnRpZmljYXRpb24g +QXV0aG9yaXR5IG9mIFdvU2lnbjAeFw0wOTA4MDgwMTAwMDFaFw0zOTA4MDgwMTAwMDFaMFUxCzAJ +BgNVBAYTAkNOMRowGAYDVQQKExFXb1NpZ24gQ0EgTGltaXRlZDEqMCgGA1UEAxMhQ2VydGlmaWNh +dGlvbiBBdXRob3JpdHkgb2YgV29TaWduMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA +vcqNrLiRFVaXe2tcesLea9mhsMMQI/qnobLMMfo+2aYpbxY94Gv4uEBf2zmoAHqLoE1UfcIiePyO +CbiohdfMlZdLdNiefvAA5A6JrkkoRBoQmTIPJYhTpA2zDxIIFgsDcSccf+Hb0v1naMQFXQoOXXDX +2JegvFNBmpGN9J42Znp+VsGQX+axaCA2pIwkLCxHC1l2ZjC1vt7tj/id07sBMOby8w7gLJKA84X5 +KIq0VC6a7fd2/BVoFutKbOsuEo/Uz/4Mx1wdC34FMr5esAkqQtXJTpCzWQ27en7N1QhatH/YHGkR ++ScPewavVIMYe+HdVHpRaG53/Ma/UkpmRqGyZxq7o093oL5d//xWC0Nyd5DKnvnyOfUNqfTq1+ez +EC8wQjchzDBwyYaYD8xYTYO7feUapTeNtqwylwA6Y3EkHp43xP901DfA4v6IRmAR3Qg/UDaruHqk +lWJqbrDKaiFaafPz+x1wOZXzp26mgYmhiMU7ccqjUu6Du/2gd/Tkb+dC221KmYo0SLwX3OSACCK2 +8jHAPwQ+658geda4BmRkAjHXqc1S+4RFaQkAKtxVi8QGRkvASh0JWzko/amrzgD5LkhLJuYwTKVY +yrREgk/nkR4zw7CT/xH8gdLKH3Ep3XZPkiWvHYG3Dy+MwwbMLyejSuQOmbp8HkUff6oZRZb9/D0C +AwEAAaNCMEAwDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFOFmzw7R +8bNLtwYgFP6HEtX2/vs+MA0GCSqGSIb3DQEBBQUAA4ICAQCoy3JAsnbBfnv8rWTjMnvMPLZdRtP1 +LOJwXcgu2AZ9mNELIaCJWSQBnfmvCX0KI4I01fx8cpm5o9dU9OpScA7F9dY74ToJMuYhOZO9sxXq +T2r09Ys/L3yNWC7F4TmgPsc9SnOeQHrAK2GpZ8nzJLmzbVUsWh2eJXLOC62qx1ViC777Y7NhRCOj +y+EaDveaBk3e1CNOIZZbOVtXHS9dCF4Jef98l7VNg64N1uajeeAz0JmWAjCnPv/So0M/BVoG6kQC +2nz4SNAzqfkHx5Xh9T71XXG68pWpdIhhWeO/yloTunK0jF02h+mmxTwTv97QRCbut+wucPrXnbes +5cVAWubXbHssw1abR80LzvobtCHXt2a49CUwi1wNuepnsvRtrtWhnk/Yn+knArAdBtaP4/tIEp9/ +EaEQPkxROpaw0RPxx9gmrjrKkcRpnd8BKWRRb2jaFOwIQZeQjdCygPLPwj2/kWjFgGcexGATVdVh +mVd8upUPYUk6ynW8yQqTP2cOEvIo4jEbwFcW3wh8GcF+Dx+FHgo2fFt+J7x6v+Db9NpSvd4MVHAx +kUOVyLzwPt0JfjBkUO1/AaQzZ01oT74V77D2AhGiGxMlOtzCWfHjXEa7ZywCRuoeSKbmW9m1vFGi +kpbbqsY3Iqb+zCB0oy2pLmvLwIIRIbWTee5Ehr7XHuQe+w== +-----END CERTIFICATE----- + +WoSign China +============ +-----BEGIN CERTIFICATE----- +MIIFWDCCA0CgAwIBAgIQUHBrzdgT/BtOOzNy0hFIjTANBgkqhkiG9w0BAQsFADBGMQswCQYDVQQG +EwJDTjEaMBgGA1UEChMRV29TaWduIENBIExpbWl0ZWQxGzAZBgNVBAMMEkNBIOayg+mAmuagueiv +geS5pjAeFw0wOTA4MDgwMTAwMDFaFw0zOTA4MDgwMTAwMDFaMEYxCzAJBgNVBAYTAkNOMRowGAYD +VQQKExFXb1NpZ24gQ0EgTGltaXRlZDEbMBkGA1UEAwwSQ0Eg5rKD6YCa5qC56K+B5LmmMIICIjAN +BgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA0EkhHiX8h8EqwqzbdoYGTufQdDTc7WU1/FDWiD+k +8H/rD195L4mx/bxjWDeTmzj4t1up+thxx7S8gJeNbEvxUNUqKaqoGXqW5pWOdO2XCld19AXbbQs5 +uQF/qvbW2mzmBeCkTVL829B0txGMe41P/4eDrv8FAxNXUDf+jJZSEExfv5RxadmWPgxDT74wwJ85 +dE8GRV2j1lY5aAfMh09Qd5Nx2UQIsYo06Yms25tO4dnkUkWMLhQfkWsZHWgpLFbE4h4TV2TwYeO5 +Ed+w4VegG63XX9Gv2ystP9Bojg/qnw+LNVgbExz03jWhCl3W6t8Sb8D7aQdGctyB9gQjF+BNdeFy +b7Ao65vh4YOhn0pdr8yb+gIgthhid5E7o9Vlrdx8kHccREGkSovrlXLp9glk3Kgtn3R46MGiCWOc +76DbT52VqyBPt7D3h1ymoOQ3OMdc4zUPLK2jgKLsLl3Az+2LBcLmc272idX10kaO6m1jGx6KyX2m ++Jzr5dVjhU1zZmkR/sgO9MHHZklTfuQZa/HpelmjbX7FF+Ynxu8b22/8DU0GAbQOXDBGVWCvOGU6 +yke6rCzMRh+yRpY/8+0mBe53oWprfi1tWFxK1I5nuPHa1UaKJ/kR8slC/k7e3x9cxKSGhxYzoacX +GKUN5AXlK8IrC6KVkLn9YDxOiT7nnO4fuwECAwEAAaNCMEAwDgYDVR0PAQH/BAQDAgEGMA8GA1Ud +EwEB/wQFMAMBAf8wHQYDVR0OBBYEFOBNv9ybQV0T6GTwp+kVpOGBwboxMA0GCSqGSIb3DQEBCwUA +A4ICAQBqinA4WbbaixjIvirTthnVZil6Xc1bL3McJk6jfW+rtylNpumlEYOnOXOvEESS5iVdT2H6 +yAa+Tkvv/vMx/sZ8cApBWNromUuWyXi8mHwCKe0JgOYKOoICKuLJL8hWGSbueBwj/feTZU7n85iY +r83d2Z5AiDEoOqsuC7CsDCT6eiaY8xJhEPRdF/d+4niXVOKM6Cm6jBAyvd0zaziGfjk9DgNyp115 +j0WKWa5bIW4xRtVZjc8VX90xJc/bYNaBRHIpAlf2ltTW/+op2znFuCyKGo3Oy+dCMYYFaA6eFN0A +kLppRQjbbpCBhqcqBT/mhDn4t/lXX0ykeVoQDF7Va/81XwVRHmyjdanPUIPTfPRm94KNPQx96N97 +qA4bLJyuQHCH2u2nFoJavjVsIE4iYdm8UXrNemHcSxH5/mc0zy4EZmFcV5cjjPOGG0jfKq+nwf/Y +jj4Du9gqsPoUJbJRa4ZDhS4HIxaAjUz7tGM7zMN07RujHv41D198HRaG9Q7DlfEvr10lO1Hm13ZB +ONFLAzkopR6RctR9q5czxNM+4Gm2KHmgCY0c0f9BckgG/Jou5yD5m6Leie2uPAmvylezkolwQOQv +T8Jwg0DXJCxr5wkf09XHwQj02w47HAcLQxGEIYbpgNR12KvxAmLBsX5VYc8T1yaw15zLKYs4SgsO +kI26oQ== +-----END CERTIFICATE----- + +COMODO RSA Certification Authority +================================== +-----BEGIN CERTIFICATE----- +MIIF2DCCA8CgAwIBAgIQTKr5yttjb+Af907YWwOGnTANBgkqhkiG9w0BAQwFADCBhTELMAkGA1UE +BhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEaMBgG +A1UEChMRQ09NT0RPIENBIExpbWl0ZWQxKzApBgNVBAMTIkNPTU9ETyBSU0EgQ2VydGlmaWNhdGlv +biBBdXRob3JpdHkwHhcNMTAwMTE5MDAwMDAwWhcNMzgwMTE4MjM1OTU5WjCBhTELMAkGA1UEBhMC +R0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEaMBgGA1UE +ChMRQ09NT0RPIENBIExpbWl0ZWQxKzApBgNVBAMTIkNPTU9ETyBSU0EgQ2VydGlmaWNhdGlvbiBB +dXRob3JpdHkwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCR6FSS0gpWsawNJN3Fz0Rn +dJkrN6N9I3AAcbxT38T6KhKPS38QVr2fcHK3YX/JSw8Xpz3jsARh7v8Rl8f0hj4K+j5c+ZPmNHrZ +FGvnnLOFoIJ6dq9xkNfs/Q36nGz637CC9BR++b7Epi9Pf5l/tfxnQ3K9DADWietrLNPtj5gcFKt+ +5eNu/Nio5JIk2kNrYrhV/erBvGy2i/MOjZrkm2xpmfh4SDBF1a3hDTxFYPwyllEnvGfDyi62a+pG +x8cgoLEfZd5ICLqkTqnyg0Y3hOvozIFIQ2dOciqbXL1MGyiKXCJ7tKuY2e7gUYPDCUZObT6Z+pUX +2nwzV0E8jVHtC7ZcryxjGt9XyD+86V3Em69FmeKjWiS0uqlWPc9vqv9JWL7wqP/0uK3pN/u6uPQL +OvnoQ0IeidiEyxPx2bvhiWC4jChWrBQdnArncevPDt09qZahSL0896+1DSJMwBGB7FY79tOi4lu3 +sgQiUpWAk2nojkxl8ZEDLXB0AuqLZxUpaVICu9ffUGpVRr+goyhhf3DQw6KqLCGqR84onAZFdr+C +GCe01a60y1Dma/RMhnEw6abfFobg2P9A3fvQQoh/ozM6LlweQRGBY84YcWsr7KaKtzFcOmpH4MN5 +WdYgGq/yapiqcrxXStJLnbsQ/LBMQeXtHT1eKJ2czL+zUdqnR+WEUwIDAQABo0IwQDAdBgNVHQ4E +FgQUu69+Aj36pvE8hI6t7jiY7NkyMtQwDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8w +DQYJKoZIhvcNAQEMBQADggIBAArx1UaEt65Ru2yyTUEUAJNMnMvlwFTPoCWOAvn9sKIN9SCYPBMt +rFaisNZ+EZLpLrqeLppysb0ZRGxhNaKatBYSaVqM4dc+pBroLwP0rmEdEBsqpIt6xf4FpuHA1sj+ +nq6PK7o9mfjYcwlYRm6mnPTXJ9OV2jeDchzTc+CiR5kDOF3VSXkAKRzH7JsgHAckaVd4sjn8OoSg +tZx8jb8uk2IntznaFxiuvTwJaP+EmzzV1gsD41eeFPfR60/IvYcjt7ZJQ3mFXLrrkguhxuhoqEwW +sRqZCuhTLJK7oQkYdQxlqHvLI7cawiiFwxv/0Cti76R7CZGYZ4wUAc1oBmpjIXUDgIiKboHGhfKp +pC3n9KUkEEeDys30jXlYsQab5xoq2Z0B15R97QNKyvDb6KkBPvVWmckejkk9u+UJueBPSZI9FoJA +zMxZxuY67RIuaTxslbH9qh17f4a+Hg4yRvv7E491f0yLS0Zj/gA0QHDBw7mh3aZw4gSzQbzpgJHq +ZJx64SIDqZxubw5lT2yHh17zbqD5daWbQOhTsiedSrnAdyGN/4fy3ryM7xfft0kL0fJuMAsaDk52 +7RH89elWsn2/x20Kk4yl0MC2Hb46TpSi125sC8KKfPog88Tk5c0NqMuRkrF8hey1FGlmDoLnzc7I +LaZRfyHBNVOFBkpdn627G190 +-----END CERTIFICATE----- + +USERTrust RSA Certification Authority +===================================== +-----BEGIN CERTIFICATE----- +MIIF3jCCA8agAwIBAgIQAf1tMPyjylGoG7xkDjUDLTANBgkqhkiG9w0BAQwFADCBiDELMAkGA1UE +BhMCVVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0plcnNleSBDaXR5MR4wHAYDVQQK +ExVUaGUgVVNFUlRSVVNUIE5ldHdvcmsxLjAsBgNVBAMTJVVTRVJUcnVzdCBSU0EgQ2VydGlmaWNh +dGlvbiBBdXRob3JpdHkwHhcNMTAwMjAxMDAwMDAwWhcNMzgwMTE4MjM1OTU5WjCBiDELMAkGA1UE +BhMCVVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0plcnNleSBDaXR5MR4wHAYDVQQK +ExVUaGUgVVNFUlRSVVNUIE5ldHdvcmsxLjAsBgNVBAMTJVVTRVJUcnVzdCBSU0EgQ2VydGlmaWNh +dGlvbiBBdXRob3JpdHkwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCAEmUXNg7D2wiz +0KxXDXbtzSfTTK1Qg2HiqiBNCS1kCdzOiZ/MPans9s/B3PHTsdZ7NygRK0faOca8Ohm0X6a9fZ2j +Y0K2dvKpOyuR+OJv0OwWIJAJPuLodMkYtJHUYmTbf6MG8YgYapAiPLz+E/CHFHv25B+O1ORRxhFn +RghRy4YUVD+8M/5+bJz/Fp0YvVGONaanZshyZ9shZrHUm3gDwFA66Mzw3LyeTP6vBZY1H1dat//O ++T23LLb2VN3I5xI6Ta5MirdcmrS3ID3KfyI0rn47aGYBROcBTkZTmzNg95S+UzeQc0PzMsNT79uq +/nROacdrjGCT3sTHDN/hMq7MkztReJVni+49Vv4M0GkPGw/zJSZrM233bkf6c0Plfg6lZrEpfDKE +Y1WJxA3Bk1QwGROs0303p+tdOmw1XNtB1xLaqUkL39iAigmTYo61Zs8liM2EuLE/pDkP2QKe6xJM +lXzzawWpXhaDzLhn4ugTncxbgtNMs+1b/97lc6wjOy0AvzVVdAlJ2ElYGn+SNuZRkg7zJn0cTRe8 +yexDJtC/QV9AqURE9JnnV4eeUB9XVKg+/XRjL7FQZQnmWEIuQxpMtPAlR1n6BB6T1CZGSlCBst6+ +eLf8ZxXhyVeEHg9j1uliutZfVS7qXMYoCAQlObgOK6nyTJccBz8NUvXt7y+CDwIDAQABo0IwQDAd +BgNVHQ4EFgQUU3m/WqorSs9UgOHYm8Cd8rIDZsswDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQF +MAMBAf8wDQYJKoZIhvcNAQEMBQADggIBAFzUfA3P9wF9QZllDHPFUp/L+M+ZBn8b2kMVn54CVVeW +FPFSPCeHlCjtHzoBN6J2/FNQwISbxmtOuowhT6KOVWKR82kV2LyI48SqC/3vqOlLVSoGIG1VeCkZ +7l8wXEskEVX/JJpuXior7gtNn3/3ATiUFJVDBwn7YKnuHKsSjKCaXqeYalltiz8I+8jRRa8YFWSQ +Eg9zKC7F4iRO/Fjs8PRF/iKz6y+O0tlFYQXBl2+odnKPi4w2r78NBc5xjeambx9spnFixdjQg3IM +8WcRiQycE0xyNN+81XHfqnHd4blsjDwSXWXavVcStkNr/+XeTWYRUc+ZruwXtuhxkYzeSf7dNXGi +FSeUHM9h4ya7b6NnJSFd5t0dCy5oGzuCr+yDZ4XUmFF0sbmZgIn/f3gZXHlKYC6SQK5MNyosycdi +yA5d9zZbyuAlJQG03RoHnHcAP9Dc1ew91Pq7P8yF1m9/qS3fuQL39ZeatTXaw2ewh0qpKJ4jjv9c +J2vhsE/zB+4ALtRZh8tSQZXq9EfX7mRBVXyNWQKV3WKdwrnuWih0hKWbt5DHDAff9Yk2dDLWKMGw +sAvgnEzDHNb842m1R0aBL6KCq9NjRHDEjf8tM7qtj3u1cIiuPhnPQCjY/MiQu12ZIvVS5ljFH4gx +Q+6IHdfGjjxDah2nGN59PRbxYvnKkKj9 +-----END CERTIFICATE----- + +USERTrust ECC Certification Authority +===================================== +-----BEGIN CERTIFICATE----- +MIICjzCCAhWgAwIBAgIQXIuZxVqUxdJxVt7NiYDMJjAKBggqhkjOPQQDAzCBiDELMAkGA1UEBhMC +VVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0plcnNleSBDaXR5MR4wHAYDVQQKExVU +aGUgVVNFUlRSVVNUIE5ldHdvcmsxLjAsBgNVBAMTJVVTRVJUcnVzdCBFQ0MgQ2VydGlmaWNhdGlv +biBBdXRob3JpdHkwHhcNMTAwMjAxMDAwMDAwWhcNMzgwMTE4MjM1OTU5WjCBiDELMAkGA1UEBhMC +VVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0plcnNleSBDaXR5MR4wHAYDVQQKExVU +aGUgVVNFUlRSVVNUIE5ldHdvcmsxLjAsBgNVBAMTJVVTRVJUcnVzdCBFQ0MgQ2VydGlmaWNhdGlv +biBBdXRob3JpdHkwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAAQarFRaqfloI+d61SRvU8Za2EurxtW2 +0eZzca7dnNYMYf3boIkDuAUU7FfO7l0/4iGzzvfUinngo4N+LZfQYcTxmdwlkWOrfzCjtHDix6Ez +nPO/LlxTsV+zfTJ/ijTjeXmjQjBAMB0GA1UdDgQWBBQ64QmG1M8ZwpZ2dEl23OA1xmNjmjAOBgNV +HQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAKBggqhkjOPQQDAwNoADBlAjA2Z6EWCNzklwBB +HU6+4WMBzzuqQhFkoJ2UOQIReVx7Hfpkue4WQrO/isIJxOzksU0CMQDpKmFHjFJKS04YcPbWRNZu +9YO6bVi9JNlWSOrvxKJGgYhqOkbRqZtNyWHa0V1Xahg= +-----END CERTIFICATE----- + +GlobalSign ECC Root CA - R4 +=========================== +-----BEGIN CERTIFICATE----- +MIIB4TCCAYegAwIBAgIRKjikHJYKBN5CsiilC+g0mAIwCgYIKoZIzj0EAwIwUDEkMCIGA1UECxMb +R2xvYmFsU2lnbiBFQ0MgUm9vdCBDQSAtIFI0MRMwEQYDVQQKEwpHbG9iYWxTaWduMRMwEQYDVQQD +EwpHbG9iYWxTaWduMB4XDTEyMTExMzAwMDAwMFoXDTM4MDExOTAzMTQwN1owUDEkMCIGA1UECxMb +R2xvYmFsU2lnbiBFQ0MgUm9vdCBDQSAtIFI0MRMwEQYDVQQKEwpHbG9iYWxTaWduMRMwEQYDVQQD +EwpHbG9iYWxTaWduMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEuMZ5049sJQ6fLjkZHAOkrprl +OQcJFspjsbmG+IpXwVfOQvpzofdlQv8ewQCybnMO/8ch5RikqtlxP6jUuc6MHaNCMEAwDgYDVR0P +AQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFFSwe61FuOJAf/sKbvu+M8k8o4TV +MAoGCCqGSM49BAMCA0gAMEUCIQDckqGgE6bPA7DmxCGXkPoUVy0D7O48027KqGx2vKLeuwIgJ6iF +JzWbVsaj8kfSt24bAgAXqmemFZHe+pTsewv4n4Q= +-----END CERTIFICATE----- + +GlobalSign ECC Root CA - R5 +=========================== +-----BEGIN CERTIFICATE----- +MIICHjCCAaSgAwIBAgIRYFlJ4CYuu1X5CneKcflK2GwwCgYIKoZIzj0EAwMwUDEkMCIGA1UECxMb +R2xvYmFsU2lnbiBFQ0MgUm9vdCBDQSAtIFI1MRMwEQYDVQQKEwpHbG9iYWxTaWduMRMwEQYDVQQD +EwpHbG9iYWxTaWduMB4XDTEyMTExMzAwMDAwMFoXDTM4MDExOTAzMTQwN1owUDEkMCIGA1UECxMb +R2xvYmFsU2lnbiBFQ0MgUm9vdCBDQSAtIFI1MRMwEQYDVQQKEwpHbG9iYWxTaWduMRMwEQYDVQQD +EwpHbG9iYWxTaWduMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAER0UOlvt9Xb/pOdEh+J8LttV7HpI6 +SFkc8GIxLcB6KP4ap1yztsyX50XUWPrRd21DosCHZTQKH3rd6zwzocWdTaRvQZU4f8kehOvRnkmS +h5SHDDqFSmafnVmTTZdhBoZKo0IwQDAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAd +BgNVHQ4EFgQUPeYpSJvqB8ohREom3m7e0oPQn1kwCgYIKoZIzj0EAwMDaAAwZQIxAOVpEslu28Yx +uglB4Zf4+/2a4n0Sye18ZNPLBSWLVtmg515dTguDnFt2KaAJJiFqYgIwcdK1j1zqO+F4CYWodZI7 +yFz9SO8NdCKoCOJuxUnOxwy8p2Fp8fc74SrL+SvzZpA3 +-----END CERTIFICATE----- + +Staat der Nederlanden Root CA - G3 +================================== +-----BEGIN CERTIFICATE----- +MIIFdDCCA1ygAwIBAgIEAJiiOTANBgkqhkiG9w0BAQsFADBaMQswCQYDVQQGEwJOTDEeMBwGA1UE +CgwVU3RhYXQgZGVyIE5lZGVybGFuZGVuMSswKQYDVQQDDCJTdGFhdCBkZXIgTmVkZXJsYW5kZW4g +Um9vdCBDQSAtIEczMB4XDTEzMTExNDExMjg0MloXDTI4MTExMzIzMDAwMFowWjELMAkGA1UEBhMC +TkwxHjAcBgNVBAoMFVN0YWF0IGRlciBOZWRlcmxhbmRlbjErMCkGA1UEAwwiU3RhYXQgZGVyIE5l +ZGVybGFuZGVuIFJvb3QgQ0EgLSBHMzCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAL4y +olQPcPssXFnrbMSkUeiFKrPMSjTysF/zDsccPVMeiAho2G89rcKezIJnByeHaHE6n3WWIkYFsO2t +x1ueKt6c/DrGlaf1F2cY5y9JCAxcz+bMNO14+1Cx3Gsy8KL+tjzk7FqXxz8ecAgwoNzFs21v0IJy +EavSgWhZghe3eJJg+szeP4TrjTgzkApyI/o1zCZxMdFyKJLZWyNtZrVtB0LrpjPOktvA9mxjeM3K +Tj215VKb8b475lRgsGYeCasH/lSJEULR9yS6YHgamPfJEf0WwTUaVHXvQ9Plrk7O53vDxk5hUUur +mkVLoR9BvUhTFXFkC4az5S6+zqQbwSmEorXLCCN2QyIkHxcE1G6cxvx/K2Ya7Irl1s9N9WMJtxU5 +1nus6+N86U78dULI7ViVDAZCopz35HCz33JvWjdAidiFpNfxC95DGdRKWCyMijmev4SH8RY7Ngzp +07TKbBlBUgmhHbBqv4LvcFEhMtwFdozL92TkA1CvjJFnq8Xy7ljY3r735zHPbMk7ccHViLVlvMDo +FxcHErVc0qsgk7TmgoNwNsXNo42ti+yjwUOH5kPiNL6VizXtBznaqB16nzaeErAMZRKQFWDZJkBE +41ZgpRDUajz9QdwOWke275dhdU/Z/seyHdTtXUmzqWrLZoQT1Vyg3N9udwbRcXXIV2+vD3dbAgMB +AAGjQjBAMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBRUrfrHkleu +yjWcLhL75LpdINyUVzANBgkqhkiG9w0BAQsFAAOCAgEAMJmdBTLIXg47mAE6iqTnB/d6+Oea31BD +U5cqPco8R5gu4RV78ZLzYdqQJRZlwJ9UXQ4DO1t3ApyEtg2YXzTdO2PCwyiBwpwpLiniyMMB8jPq +KqrMCQj3ZWfGzd/TtiunvczRDnBfuCPRy5FOCvTIeuXZYzbB1N/8Ipf3YF3qKS9Ysr1YvY2WTxB1 +v0h7PVGHoTx0IsL8B3+A3MSs/mrBcDCw6Y5p4ixpgZQJut3+TcCDjJRYwEYgr5wfAvg1VUkvRtTA +8KCWAg8zxXHzniN9lLf9OtMJgwYh/WA9rjLA0u6NpvDntIJ8CsxwyXmA+P5M9zWEGYox+wrZ13+b +8KKaa8MFSu1BYBQw0aoRQm7TIwIEC8Zl3d1Sd9qBa7Ko+gE4uZbqKmxnl4mUnrzhVNXkanjvSr0r +mj1AfsbAddJu+2gw7OyLnflJNZoaLNmzlTnVHpL3prllL+U9bTpITAjc5CgSKL59NVzq4BZ+Extq +1z7XnvwtdbLBFNUjA9tbbws+eC8N3jONFrdI54OagQ97wUNNVQQXOEpR1VmiiXTTn74eS9fGbbeI +JG9gkaSChVtWQbzQRKtqE77RLFi3EjNYsjdj3BP1lB0/QFH1T/U67cjF68IeHRaVesd+QnGTbksV +tzDfqu1XhUisHWrdOWnk4Xl4vs4Fv6EM94B7IWcnMFk= +-----END CERTIFICATE----- + +Staat der Nederlanden EV Root CA +================================ +-----BEGIN CERTIFICATE----- +MIIFcDCCA1igAwIBAgIEAJiWjTANBgkqhkiG9w0BAQsFADBYMQswCQYDVQQGEwJOTDEeMBwGA1UE +CgwVU3RhYXQgZGVyIE5lZGVybGFuZGVuMSkwJwYDVQQDDCBTdGFhdCBkZXIgTmVkZXJsYW5kZW4g +RVYgUm9vdCBDQTAeFw0xMDEyMDgxMTE5MjlaFw0yMjEyMDgxMTEwMjhaMFgxCzAJBgNVBAYTAk5M +MR4wHAYDVQQKDBVTdGFhdCBkZXIgTmVkZXJsYW5kZW4xKTAnBgNVBAMMIFN0YWF0IGRlciBOZWRl +cmxhbmRlbiBFViBSb290IENBMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA48d+ifkk +SzrSM4M1LGns3Amk41GoJSt5uAg94JG6hIXGhaTK5skuU6TJJB79VWZxXSzFYGgEt9nCUiY4iKTW +O0Cmws0/zZiTs1QUWJZV1VD+hq2kY39ch/aO5ieSZxeSAgMs3NZmdO3dZ//BYY1jTw+bbRcwJu+r +0h8QoPnFfxZpgQNH7R5ojXKhTbImxrpsX23Wr9GxE46prfNeaXUmGD5BKyF/7otdBwadQ8QpCiv8 +Kj6GyzyDOvnJDdrFmeK8eEEzduG/L13lpJhQDBXd4Pqcfzho0LKmeqfRMb1+ilgnQ7O6M5HTp5gV +XJrm0w912fxBmJc+qiXbj5IusHsMX/FjqTf5m3VpTCgmJdrV8hJwRVXj33NeN/UhbJCONVrJ0yPr +08C+eKxCKFhmpUZtcALXEPlLVPxdhkqHz3/KRawRWrUgUY0viEeXOcDPusBCAUCZSCELa6fS/ZbV +0b5GnUngC6agIk440ME8MLxwjyx1zNDFjFE7PZQIZCZhfbnDZY8UnCHQqv0XcgOPvZuM5l5Tnrmd +74K74bzickFbIZTTRTeU0d8JOV3nI6qaHcptqAqGhYqCvkIH1vI4gnPah1vlPNOePqc7nvQDs/nx +fRN0Av+7oeX6AHkcpmZBiFxgV6YuCcS6/ZrPpx9Aw7vMWgpVSzs4dlG4Y4uElBbmVvMCAwEAAaNC +MEAwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYDVR0OBBYEFP6rAJCYniT8qcwa +ivsnuL8wbqg7MA0GCSqGSIb3DQEBCwUAA4ICAQDPdyxuVr5Os7aEAJSrR8kN0nbHhp8dB9O2tLsI +eK9p0gtJ3jPFrK3CiAJ9Brc1AsFgyb/E6JTe1NOpEyVa/m6irn0F3H3zbPB+po3u2dfOWBfoqSmu +c0iH55vKbimhZF8ZE/euBhD/UcabTVUlT5OZEAFTdfETzsemQUHSv4ilf0X8rLiltTMMgsT7B/Zq +5SWEXwbKwYY5EdtYzXc7LMJMD16a4/CrPmEbUCTCwPTxGfARKbalGAKb12NMcIxHowNDXLldRqAN +b/9Zjr7dn3LDWyvfjFvO5QxGbJKyCqNMVEIYFRIYvdr8unRu/8G2oGTYqV9Vrp9canaW2HNnh/tN +f1zuacpzEPuKqf2evTY4SUmH9A4U8OmHuD+nT3pajnnUk+S7aFKErGzp85hwVXIy+TSrK0m1zSBi +5Dp6Z2Orltxtrpfs/J92VoguZs9btsmksNcFuuEnL5O7Jiqik7Ab846+HUCjuTaPPoIaGl6I6lD4 +WeKDRikL40Rc4ZW2aZCaFG+XroHPaO+Zmr615+F/+PoTRxZMzG0IQOeLeG9QgkRQP2YGiqtDhFZK +DyAthg710tvSeopLzaXoTvFeJiUBWSOgftL2fiFX1ye8FVdMpEbB4IMeDExNH08GGeL5qPQ6gqGy +eUN51q1veieQA6TqJIc/2b3Z6fJfUEkc7uzXLg== +-----END CERTIFICATE----- + +IdenTrust Commercial Root CA 1 +============================== +-----BEGIN CERTIFICATE----- +MIIFYDCCA0igAwIBAgIQCgFCgAAAAUUjyES1AAAAAjANBgkqhkiG9w0BAQsFADBKMQswCQYDVQQG +EwJVUzESMBAGA1UEChMJSWRlblRydXN0MScwJQYDVQQDEx5JZGVuVHJ1c3QgQ29tbWVyY2lhbCBS +b290IENBIDEwHhcNMTQwMTE2MTgxMjIzWhcNMzQwMTE2MTgxMjIzWjBKMQswCQYDVQQGEwJVUzES +MBAGA1UEChMJSWRlblRydXN0MScwJQYDVQQDEx5JZGVuVHJ1c3QgQ29tbWVyY2lhbCBSb290IENB +IDEwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCnUBneP5k91DNG8W9RYYKyqU+PZ4ld +hNlT3Qwo2dfw/66VQ3KZ+bVdfIrBQuExUHTRgQ18zZshq0PirK1ehm7zCYofWjK9ouuU+ehcCuz/ +mNKvcbO0U59Oh++SvL3sTzIwiEsXXlfEU8L2ApeN2WIrvyQfYo3fw7gpS0l4PJNgiCL8mdo2yMKi +1CxUAGc1bnO/AljwpN3lsKImesrgNqUZFvX9t++uP0D1bVoE/c40yiTcdCMbXTMTEl3EASX2MN0C +XZ/g1Ue9tOsbobtJSdifWwLziuQkkORiT0/Br4sOdBeo0XKIanoBScy0RnnGF7HamB4HWfp1IYVl +3ZBWzvurpWCdxJ35UrCLvYf5jysjCiN2O/cz4ckA82n5S6LgTrx+kzmEB/dEcH7+B1rlsazRGMzy +NeVJSQjKVsk9+w8YfYs7wRPCTY/JTw436R+hDmrfYi7LNQZReSzIJTj0+kuniVyc0uMNOYZKdHzV +WYfCP04MXFL0PfdSgvHqo6z9STQaKPNBiDoT7uje/5kdX7rL6B7yuVBgwDHTc+XvvqDtMwt0viAg +xGds8AgDelWAf0ZOlqf0Hj7h9tgJ4TNkK2PXMl6f+cB7D3hvl7yTmvmcEpB4eoCHFddydJxVdHix +uuFucAS6T6C6aMN7/zHwcz09lCqxC0EOoP5NiGVreTO01wIDAQABo0IwQDAOBgNVHQ8BAf8EBAMC +AQYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQU7UQZwNPwBovupHu+QucmVMiONnYwDQYJKoZI +hvcNAQELBQADggIBAA2ukDL2pkt8RHYZYR4nKM1eVO8lvOMIkPkp165oCOGUAFjvLi5+U1KMtlwH +6oi6mYtQlNeCgN9hCQCTrQ0U5s7B8jeUeLBfnLOic7iPBZM4zY0+sLj7wM+x8uwtLRvM7Kqas6pg +ghstO8OEPVeKlh6cdbjTMM1gCIOQ045U8U1mwF10A0Cj7oV+wh93nAbowacYXVKV7cndJZ5t+qnt +ozo00Fl72u1Q8zW/7esUTTHHYPTa8Yec4kjixsU3+wYQ+nVZZjFHKdp2mhzpgq7vmrlR94gjmmmV +YjzlVYA211QC//G5Xc7UI2/YRYRKW2XviQzdFKcgyxilJbQN+QHwotL0AMh0jqEqSI5l2xPE4iUX +feu+h1sXIFRRk0pTAwvsXcoz7WL9RccvW9xYoIA55vrX/hMUpu09lEpCdNTDd1lzzY9GvlU47/ro +kTLql1gEIt44w8y8bckzOmoKaT+gyOpyj4xjhiO9bTyWnpXgSUyqorkqG5w2gXjtw+hG4iZZRHUe +2XWJUc0QhJ1hYMtd+ZciTY6Y5uN/9lu7rs3KSoFrXgvzUeF0K+l+J6fZmUlO+KWA2yUPHGNiiskz +Z2s8EIPGrd6ozRaOjfAHN3Gf8qv8QfXBi+wAN10J5U6A7/qxXDgGpRtK4dw4LTzcqx+QGtVKnO7R +cGzM7vRX+Bi6hG6H +-----END CERTIFICATE----- + +IdenTrust Public Sector Root CA 1 +================================= +-----BEGIN CERTIFICATE----- +MIIFZjCCA06gAwIBAgIQCgFCgAAAAUUjz0Z8AAAAAjANBgkqhkiG9w0BAQsFADBNMQswCQYDVQQG +EwJVUzESMBAGA1UEChMJSWRlblRydXN0MSowKAYDVQQDEyFJZGVuVHJ1c3QgUHVibGljIFNlY3Rv +ciBSb290IENBIDEwHhcNMTQwMTE2MTc1MzMyWhcNMzQwMTE2MTc1MzMyWjBNMQswCQYDVQQGEwJV +UzESMBAGA1UEChMJSWRlblRydXN0MSowKAYDVQQDEyFJZGVuVHJ1c3QgUHVibGljIFNlY3RvciBS +b290IENBIDEwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQC2IpT8pEiv6EdrCvsnduTy +P4o7ekosMSqMjbCpwzFrqHd2hCa2rIFCDQjrVVi7evi8ZX3yoG2LqEfpYnYeEe4IFNGyRBb06tD6 +Hi9e28tzQa68ALBKK0CyrOE7S8ItneShm+waOh7wCLPQ5CQ1B5+ctMlSbdsHyo+1W/CD80/HLaXI +rcuVIKQxKFdYWuSNG5qrng0M8gozOSI5Cpcu81N3uURF/YTLNiCBWS2ab21ISGHKTN9T0a9SvESf +qy9rg3LvdYDaBjMbXcjaY8ZNzaxmMc3R3j6HEDbhuaR672BQssvKplbgN6+rNBM5Jeg5ZuSYeqoS +mJxZZoY+rfGwyj4GD3vwEUs3oERte8uojHH01bWRNszwFcYr3lEXsZdMUD2xlVl8BX0tIdUAvwFn +ol57plzy9yLxkA2T26pEUWbMfXYD62qoKjgZl3YNa4ph+bz27nb9cCvdKTz4Ch5bQhyLVi9VGxyh +LrXHFub4qjySjmm2AcG1hp2JDws4lFTo6tyePSW8Uybt1as5qsVATFSrsrTZ2fjXctscvG29ZV/v +iDUqZi/u9rNl8DONfJhBaUYPQxxp+pu10GFqzcpL2UyQRqsVWaFHVCkugyhfHMKiq3IXAAaOReyL +4jM9f9oZRORicsPfIsbyVtTdX5Vy7W1f90gDW/3FKqD2cyOEEBsB5wIDAQABo0IwQDAOBgNVHQ8B +Af8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQU43HgntinQtnbcZFrlJPrw6PRFKMw +DQYJKoZIhvcNAQELBQADggIBAEf63QqwEZE4rU1d9+UOl1QZgkiHVIyqZJnYWv6IAcVYpZmxI1Qj +t2odIFflAWJBF9MJ23XLblSQdf4an4EKwt3X9wnQW3IV5B4Jaj0z8yGa5hV+rVHVDRDtfULAj+7A +mgjVQdZcDiFpboBhDhXAuM/FSRJSzL46zNQuOAXeNf0fb7iAaJg9TaDKQGXSc3z1i9kKlT/YPyNt +GtEqJBnZhbMX73huqVjRI9PHE+1yJX9dsXNw0H8GlwmEKYBhHfpe/3OsoOOJuBxxFcbeMX8S3OFt +m6/n6J91eEyrRjuazr8FGF1NFTwWmhlQBJqymm9li1JfPFgEKCXAZmExfrngdbkaqIHWchezxQMx +NRF4eKLg6TCMf4DfWN88uieW4oA0beOY02QnrEh+KHdcxiVhJfiFDGX6xDIvpZgF5PgLZxYWxoK4 +Mhn5+bl53B/N66+rDt0b20XkeucC4pVd/GnwU2lhlXV5C15V5jgclKlZM57IcXR5f1GJtshquDDI +ajjDbp7hNxbqBWJMWxJH7ae0s1hWx0nzfxJoCTFx8G34Tkf71oXuxVhAGaQdp/lLQzfcaFpPz+vC +ZHTetBXZ9FRUGi8c15dxVJCO2SCdUyt/q4/i6jC8UDfv8Ue1fXwsBOxonbRJRBD0ckscZOf85muQ +3Wl9af0AVqW3rLatt8o+Ae+c +-----END CERTIFICATE----- + +Entrust Root Certification Authority - G2 +========================================= +-----BEGIN CERTIFICATE----- +MIIEPjCCAyagAwIBAgIESlOMKDANBgkqhkiG9w0BAQsFADCBvjELMAkGA1UEBhMCVVMxFjAUBgNV +BAoTDUVudHJ1c3QsIEluYy4xKDAmBgNVBAsTH1NlZSB3d3cuZW50cnVzdC5uZXQvbGVnYWwtdGVy +bXMxOTA3BgNVBAsTMChjKSAyMDA5IEVudHJ1c3QsIEluYy4gLSBmb3IgYXV0aG9yaXplZCB1c2Ug +b25seTEyMDAGA1UEAxMpRW50cnVzdCBSb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5IC0gRzIw +HhcNMDkwNzA3MTcyNTU0WhcNMzAxMjA3MTc1NTU0WjCBvjELMAkGA1UEBhMCVVMxFjAUBgNVBAoT +DUVudHJ1c3QsIEluYy4xKDAmBgNVBAsTH1NlZSB3d3cuZW50cnVzdC5uZXQvbGVnYWwtdGVybXMx +OTA3BgNVBAsTMChjKSAyMDA5IEVudHJ1c3QsIEluYy4gLSBmb3IgYXV0aG9yaXplZCB1c2Ugb25s +eTEyMDAGA1UEAxMpRW50cnVzdCBSb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5IC0gRzIwggEi +MA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC6hLZy254Ma+KZ6TABp3bqMriVQRrJ2mFOWHLP +/vaCeb9zYQYKpSfYs1/TRU4cctZOMvJyig/3gxnQaoCAAEUesMfnmr8SVycco2gvCoe9amsOXmXz +HHfV1IWNcCG0szLni6LVhjkCsbjSR87kyUnEO6fe+1R9V77w6G7CebI6C1XiUJgWMhNcL3hWwcKU +s/Ja5CeanyTXxuzQmyWC48zCxEXFjJd6BmsqEZ+pCm5IO2/b1BEZQvePB7/1U1+cPvQXLOZprE4y +TGJ36rfo5bs0vBmLrpxR57d+tVOxMyLlbc9wPBr64ptntoP0jaWvYkxN4FisZDQSA/i2jZRjJKRx +AgMBAAGjQjBAMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBRqciZ6 +0B7vfec7aVHUbI2fkBJmqzANBgkqhkiG9w0BAQsFAAOCAQEAeZ8dlsa2eT8ijYfThwMEYGprmi5Z +iXMRrEPR9RP/jTkrwPK9T3CMqS/qF8QLVJ7UG5aYMzyorWKiAHarWWluBh1+xLlEjZivEtRh2woZ +Rkfz6/djwUAFQKXSt/S1mja/qYh2iARVBCuch38aNzx+LaUa2NSJXsq9rD1s2G2v1fN2D807iDgi +nWyTmsQ9v4IbZT+mD12q/OWyFcq1rca8PdCE6OoGcrBNOTJ4vz4RnAuknZoh8/CbCzB428Hch0P+ +vGOaysXCHMnHjf87ElgI5rY97HosTvuDls4MPGmHVHOkc8KT/1EQrBVUAdj8BbGJoX90g5pJ19xO +e4pIb4tF9g== +-----END CERTIFICATE----- + +Entrust Root Certification Authority - EC1 +========================================== +-----BEGIN CERTIFICATE----- +MIIC+TCCAoCgAwIBAgINAKaLeSkAAAAAUNCR+TAKBggqhkjOPQQDAzCBvzELMAkGA1UEBhMCVVMx +FjAUBgNVBAoTDUVudHJ1c3QsIEluYy4xKDAmBgNVBAsTH1NlZSB3d3cuZW50cnVzdC5uZXQvbGVn +YWwtdGVybXMxOTA3BgNVBAsTMChjKSAyMDEyIEVudHJ1c3QsIEluYy4gLSBmb3IgYXV0aG9yaXpl +ZCB1c2Ugb25seTEzMDEGA1UEAxMqRW50cnVzdCBSb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5 +IC0gRUMxMB4XDTEyMTIxODE1MjUzNloXDTM3MTIxODE1NTUzNlowgb8xCzAJBgNVBAYTAlVTMRYw +FAYDVQQKEw1FbnRydXN0LCBJbmMuMSgwJgYDVQQLEx9TZWUgd3d3LmVudHJ1c3QubmV0L2xlZ2Fs +LXRlcm1zMTkwNwYDVQQLEzAoYykgMjAxMiBFbnRydXN0LCBJbmMuIC0gZm9yIGF1dGhvcml6ZWQg +dXNlIG9ubHkxMzAxBgNVBAMTKkVudHJ1c3QgUm9vdCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSAt +IEVDMTB2MBAGByqGSM49AgEGBSuBBAAiA2IABIQTydC6bUF74mzQ61VfZgIaJPRbiWlH47jCffHy +AsWfoPZb1YsGGYZPUxBtByQnoaD41UcZYUx9ypMn6nQM72+WCf5j7HBdNq1nd67JnXxVRDqiY1Ef +9eNi1KlHBz7MIKNCMEAwDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYE +FLdj5xrdjekIplWDpOBqUEFlEUJJMAoGCCqGSM49BAMDA2cAMGQCMGF52OVCR98crlOZF7ZvHH3h +vxGU0QOIdeSNiaSKd0bebWHvAvX7td/M/k7//qnmpwIwW5nXhTcGtXsI/esni0qU+eH6p44mCOh8 +kmhtc9hvJqwhAriZtyZBWyVgrtBIGu4G +-----END CERTIFICATE----- + +CFCA EV ROOT +============ +-----BEGIN CERTIFICATE----- +MIIFjTCCA3WgAwIBAgIEGErM1jANBgkqhkiG9w0BAQsFADBWMQswCQYDVQQGEwJDTjEwMC4GA1UE +CgwnQ2hpbmEgRmluYW5jaWFsIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MRUwEwYDVQQDDAxDRkNB +IEVWIFJPT1QwHhcNMTIwODA4MDMwNzAxWhcNMjkxMjMxMDMwNzAxWjBWMQswCQYDVQQGEwJDTjEw +MC4GA1UECgwnQ2hpbmEgRmluYW5jaWFsIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MRUwEwYDVQQD +DAxDRkNBIEVWIFJPT1QwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDXXWvNED8fBVnV +BU03sQ7smCuOFR36k0sXgiFxEFLXUWRwFsJVaU2OFW2fvwwbwuCjZ9YMrM8irq93VCpLTIpTUnrD +7i7es3ElweldPe6hL6P3KjzJIx1qqx2hp/Hz7KDVRM8Vz3IvHWOX6Jn5/ZOkVIBMUtRSqy5J35DN +uF++P96hyk0g1CXohClTt7GIH//62pCfCqktQT+x8Rgp7hZZLDRJGqgG16iI0gNyejLi6mhNbiyW +ZXvKWfry4t3uMCz7zEasxGPrb382KzRzEpR/38wmnvFyXVBlWY9ps4deMm/DGIq1lY+wejfeWkU7 +xzbh72fROdOXW3NiGUgthxwG+3SYIElz8AXSG7Ggo7cbcNOIabla1jj0Ytwli3i/+Oh+uFzJlU9f +py25IGvPa931DfSCt/SyZi4QKPaXWnuWFo8BGS1sbn85WAZkgwGDg8NNkt0yxoekN+kWzqotaK8K +gWU6cMGbrU1tVMoqLUuFG7OA5nBFDWteNfB/O7ic5ARwiRIlk9oKmSJgamNgTnYGmE69g60dWIol +hdLHZR4tjsbftsbhf4oEIRUpdPA+nJCdDC7xij5aqgwJHsfVPKPtl8MeNPo4+QgO48BdK4PRVmrJ +tqhUUy54Mmc9gn900PvhtgVguXDbjgv5E1hvcWAQUhC5wUEJ73IfZzF4/5YFjQIDAQABo2MwYTAf +BgNVHSMEGDAWgBTj/i39KNALtbq2osS/BqoFjJP7LzAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB +/wQEAwIBBjAdBgNVHQ4EFgQU4/4t/SjQC7W6tqLEvwaqBYyT+y8wDQYJKoZIhvcNAQELBQADggIB +ACXGumvrh8vegjmWPfBEp2uEcwPenStPuiB/vHiyz5ewG5zz13ku9Ui20vsXiObTej/tUxPQ4i9q +ecsAIyjmHjdXNYmEwnZPNDatZ8POQQaIxffu2Bq41gt/UP+TqhdLjOztUmCypAbqTuv0axn96/Ua +4CUqmtzHQTb3yHQFhDmVOdYLO6Qn+gjYXB74BGBSESgoA//vU2YApUo0FmZ8/Qmkrp5nGm9BC2sG +E5uPhnEFtC+NiWYzKXZUmhH4J/qyP5Hgzg0b8zAarb8iXRvTvyUFTeGSGn+ZnzxEk8rUQElsgIfX +BDrDMlI1Dlb4pd19xIsNER9Tyx6yF7Zod1rg1MvIB671Oi6ON7fQAUtDKXeMOZePglr4UeWJoBjn +aH9dCi77o0cOPaYjesYBx4/IXr9tgFa+iiS6M+qf4TIRnvHST4D2G0CvOJ4RUHlzEhLN5mydLIhy +PDCBBpEi6lmt2hkuIsKNuYyH4Ga8cyNfIWRjgEj1oDwYPZTISEEdQLpe/v5WOaHIz16eGWRGENoX +kbcFgKyLmZJ956LYBws2J+dIeWCKw9cTXPhyQN9Ky8+ZAAoACxGV2lZFA4gKn2fQ1XmxqI1AbQ3C +ekD6819kR5LLU7m7Wc5P/dAVUwHY3+vZ5nbv0CO7O6l5s9UCKc2Jo5YPSjXnTkLAdc0Hz+Ys63su +-----END CERTIFICATE----- diff --git a/wp-includes/class-IXR.php b/wp-includes/class-IXR.php index ec3f70c..cbb65e5 100644 --- a/wp-includes/class-IXR.php +++ b/wp-includes/class-IXR.php @@ -201,6 +201,7 @@ class IXR_Message var $_value; var $_currentTag; var $_currentTagContents; + var $_valueHasType = false; // The XML parser var $_parser; @@ -268,7 +269,19 @@ class IXR_Message xml_set_object($this->_parser, $this); xml_set_element_handler($this->_parser, 'tag_open', 'tag_close'); xml_set_character_data_handler($this->_parser, 'cdata'); - $chunk_size = 262144; // 256Kb, parse in chunks to avoid the RAM usage on very large messages + + // 256Kb, parse in chunks to avoid the RAM usage on very large messages + $chunk_size = 262144; + + /** + * Filter the chunk size that can be used to parse an XML-RPC reponse message. + * + * @since 4.4.0 + * + * @param int $chunk_size Chunk size to parse in bytes. + */ + $chunk_size = apply_filters( 'xmlrpc_chunk_parsing_size', $chunk_size ); + $final = false; do { if (strlen($this->message) <= $chunk_size) { @@ -312,6 +325,8 @@ class IXR_Message $this->_arraystructstypes[] = 'struct'; $this->_arraystructs[] = array(); break; + case 'value': + $this->_valueHasType = false; } } @@ -343,8 +358,8 @@ class IXR_Message break; case 'value': // "If no type is indicated, the type is string." - if (trim($this->_currentTagContents) != '') { - $value = (string)$this->_currentTagContents; + if ( !$this->_valueHasType ) { + $value = trim( $this->_currentTagContents ); $valueFlag = true; } break; @@ -375,6 +390,8 @@ class IXR_Message } if ($valueFlag) { + $this->_valueHasType = true; + if (count($this->_arraystructs) > 0) { // Add value to struct or array if ($this->_arraystructstypes[count($this->_arraystructstypes)-1] == 'struct') { @@ -540,7 +557,6 @@ EOD; $xml = ''."\n".$xml; $length = strlen($xml); header('Connection: close'); - header('Content-Length: '.$length); if ($charset) header('Content-Type: text/xml; charset='.$charset); else diff --git a/wp-includes/class-feed.php b/wp-includes/class-feed.php index 6e109e1..919440f 100644 --- a/wp-includes/class-feed.php +++ b/wp-includes/class-feed.php @@ -1,6 +1,6 @@ value cookie pairs to WP_HTTP_Cookie instances. foreach ( $r['cookies'] as $name => $value ) { if ( ! is_object( $value ) ) - $r['cookies'][ $name ] = new WP_HTTP_Cookie( array( 'name' => $name, 'value' => $value ) ); + $r['cookies'][ $name ] = new WP_Http_Cookie( array( 'name' => $name, 'value' => $value ) ); } $cookies_header = ''; @@ -682,47 +686,19 @@ class WP_Http { } /** - * A wrapper for PHP's parse_url() function that handles edgecases in < PHP 5.4.7 + * Used as a wrapper for PHP's parse_url() function that handles edgecases in < PHP 5.4.7. * - * PHP 5.4.7 expanded parse_url()'s ability to handle non-absolute url's, including - * schemeless and relative url's with :// in the path, this works around those - * limitations providing a standard output on PHP 5.2~5.4+. - * - * Error suppression is used as prior to PHP 5.3.3, an E_WARNING would be generated - * when URL parsing failed. - * - * @since 4.1.0 - * - * @static * @access protected + * @deprecated 4.4.0 Use wp_parse_url() + * @see wp_parse_url() * * @param string $url The URL to parse. * @return bool|array False on failure; Array of URL components on success; * See parse_url()'s return values. */ protected static function parse_url( $url ) { - $parts = @parse_url( $url ); - if ( ! $parts ) { - // < PHP 5.4.7 compat, trouble with relative paths including a scheme break in the path - if ( '/' == $url[0] && false !== strpos( $url, '://' ) ) { - // Since we know it's a relative path, prefix with a scheme/host placeholder and try again - if ( ! $parts = @parse_url( 'placeholder://placeholder' . $url ) ) { - return $parts; - } - // Remove the placeholder values - unset( $parts['scheme'], $parts['host'] ); - } else { - return $parts; - } - } - - // < PHP 5.4.7 compat, doesn't detect schemeless URL's host field - if ( '//' == substr( $url, 0, 2 ) && ! isset( $parts['host'] ) ) { - list( $parts['host'], $slashless_path ) = explode( '/', substr( $parts['path'], 2 ), 2 ); - $parts['path'] = "/{$slashless_path}"; - } - - return $parts; + _deprecated_function( __METHOD__, '4.4.0', 'wp_parse_url()' ); + return wp_parse_url( $url ); } /** @@ -743,11 +719,11 @@ class WP_Http { if ( empty( $url ) ) return $maybe_relative_path; - if ( ! $url_parts = WP_HTTP::parse_url( $url ) ) { + if ( ! $url_parts = wp_parse_url( $url ) ) { return $maybe_relative_path; } - if ( ! $relative_url_parts = WP_HTTP::parse_url( $maybe_relative_path ) ) { + if ( ! $relative_url_parts = wp_parse_url( $maybe_relative_path ) ) { return $maybe_relative_path; } @@ -831,7 +807,7 @@ class WP_Http { if ( is_array( $redirect_location ) ) $redirect_location = array_pop( $redirect_location ); - $redirect_location = WP_HTTP::make_absolute_url( $redirect_location, $url ); + $redirect_location = WP_Http::make_absolute_url( $redirect_location, $url ); // POST requests should not POST to a redirected location. if ( 'POST' == $args['method'] ) { @@ -877,1430 +853,3 @@ class WP_Http { } } - -/** - * HTTP request method uses PHP Streams to retrieve the url. - * - * @since 2.7.0 - * @since 3.7.0 Combined with the fsockopen transport and switched to stream_socket_client(). - */ -class WP_Http_Streams { - /** - * Send a HTTP request to a URI using PHP Streams. - * - * @see WP_Http::request For default options descriptions. - * - * @since 2.7.0 - * @since 3.7.0 Combined with the fsockopen transport and switched to stream_socket_client(). - * - * @access public - * @param string $url The request URL. - * @param string|array $args Optional. Override the defaults. - * @return array|WP_Error Array containing 'headers', 'body', 'response', 'cookies', 'filename'. A WP_Error instance upon error - */ - public function request($url, $args = array()) { - $defaults = array( - 'method' => 'GET', 'timeout' => 5, - 'redirection' => 5, 'httpversion' => '1.0', - 'blocking' => true, - 'headers' => array(), 'body' => null, 'cookies' => array() - ); - - $r = wp_parse_args( $args, $defaults ); - - if ( isset( $r['headers']['User-Agent'] ) ) { - $r['user-agent'] = $r['headers']['User-Agent']; - unset( $r['headers']['User-Agent'] ); - } elseif ( isset( $r['headers']['user-agent'] ) ) { - $r['user-agent'] = $r['headers']['user-agent']; - unset( $r['headers']['user-agent'] ); - } - - // Construct Cookie: header if any cookies are set. - WP_Http::buildCookieHeader( $r ); - - $arrURL = parse_url($url); - - $connect_host = $arrURL['host']; - - $secure_transport = ( $arrURL['scheme'] == 'ssl' || $arrURL['scheme'] == 'https' ); - if ( ! isset( $arrURL['port'] ) ) { - if ( $arrURL['scheme'] == 'ssl' || $arrURL['scheme'] == 'https' ) { - $arrURL['port'] = 443; - $secure_transport = true; - } else { - $arrURL['port'] = 80; - } - } - - // Always pass a Path, defaulting to the root in cases such as http://example.com - if ( ! isset( $arrURL['path'] ) ) { - $arrURL['path'] = '/'; - } - - if ( isset( $r['headers']['Host'] ) || isset( $r['headers']['host'] ) ) { - if ( isset( $r['headers']['Host'] ) ) - $arrURL['host'] = $r['headers']['Host']; - else - $arrURL['host'] = $r['headers']['host']; - unset( $r['headers']['Host'], $r['headers']['host'] ); - } - - /* - * Certain versions of PHP have issues with 'localhost' and IPv6, It attempts to connect - * to ::1, which fails when the server is not set up for it. For compatibility, always - * connect to the IPv4 address. - */ - if ( 'localhost' == strtolower( $connect_host ) ) - $connect_host = '127.0.0.1'; - - $connect_host = $secure_transport ? 'ssl://' . $connect_host : 'tcp://' . $connect_host; - - $is_local = isset( $r['local'] ) && $r['local']; - $ssl_verify = isset( $r['sslverify'] ) && $r['sslverify']; - if ( $is_local ) { - /** - * Filter whether SSL should be verified for local requests. - * - * @since 2.8.0 - * - * @param bool $ssl_verify Whether to verify the SSL connection. Default true. - */ - $ssl_verify = apply_filters( 'https_local_ssl_verify', $ssl_verify ); - } elseif ( ! $is_local ) { - /** - * Filter whether SSL should be verified for non-local requests. - * - * @since 2.8.0 - * - * @param bool $ssl_verify Whether to verify the SSL connection. Default true. - */ - $ssl_verify = apply_filters( 'https_ssl_verify', $ssl_verify ); - } - - $proxy = new WP_HTTP_Proxy(); - - $context = stream_context_create( array( - 'ssl' => array( - 'verify_peer' => $ssl_verify, - //'CN_match' => $arrURL['host'], // This is handled by self::verify_ssl_certificate() - 'capture_peer_cert' => $ssl_verify, - 'SNI_enabled' => true, - 'cafile' => $r['sslcertificates'], - 'allow_self_signed' => ! $ssl_verify, - ) - ) ); - - $timeout = (int) floor( $r['timeout'] ); - $utimeout = $timeout == $r['timeout'] ? 0 : 1000000 * $r['timeout'] % 1000000; - $connect_timeout = max( $timeout, 1 ); - - // Store error number. - $connection_error = null; - - // Store error string. - $connection_error_str = null; - - if ( !WP_DEBUG ) { - // In the event that the SSL connection fails, silence the many PHP Warnings. - if ( $secure_transport ) - $error_reporting = error_reporting(0); - - if ( $proxy->is_enabled() && $proxy->send_through_proxy( $url ) ) - $handle = @stream_socket_client( 'tcp://' . $proxy->host() . ':' . $proxy->port(), $connection_error, $connection_error_str, $connect_timeout, STREAM_CLIENT_CONNECT, $context ); - else - $handle = @stream_socket_client( $connect_host . ':' . $arrURL['port'], $connection_error, $connection_error_str, $connect_timeout, STREAM_CLIENT_CONNECT, $context ); - - if ( $secure_transport ) - error_reporting( $error_reporting ); - - } else { - if ( $proxy->is_enabled() && $proxy->send_through_proxy( $url ) ) - $handle = stream_socket_client( 'tcp://' . $proxy->host() . ':' . $proxy->port(), $connection_error, $connection_error_str, $connect_timeout, STREAM_CLIENT_CONNECT, $context ); - else - $handle = stream_socket_client( $connect_host . ':' . $arrURL['port'], $connection_error, $connection_error_str, $connect_timeout, STREAM_CLIENT_CONNECT, $context ); - } - - if ( false === $handle ) { - // SSL connection failed due to expired/invalid cert, or, OpenSSL configuration is broken. - if ( $secure_transport && 0 === $connection_error && '' === $connection_error_str ) - return new WP_Error( 'http_request_failed', __( 'The SSL certificate for the host could not be verified.' ) ); - - return new WP_Error('http_request_failed', $connection_error . ': ' . $connection_error_str ); - } - - // Verify that the SSL certificate is valid for this request. - if ( $secure_transport && $ssl_verify && ! $proxy->is_enabled() ) { - if ( ! self::verify_ssl_certificate( $handle, $arrURL['host'] ) ) - return new WP_Error( 'http_request_failed', __( 'The SSL certificate for the host could not be verified.' ) ); - } - - stream_set_timeout( $handle, $timeout, $utimeout ); - - if ( $proxy->is_enabled() && $proxy->send_through_proxy( $url ) ) //Some proxies require full URL in this field. - $requestPath = $url; - else - $requestPath = $arrURL['path'] . ( isset($arrURL['query']) ? '?' . $arrURL['query'] : '' ); - - $strHeaders = strtoupper($r['method']) . ' ' . $requestPath . ' HTTP/' . $r['httpversion'] . "\r\n"; - - $include_port_in_host_header = ( - ( $proxy->is_enabled() && $proxy->send_through_proxy( $url ) ) || - ( 'http' == $arrURL['scheme'] && 80 != $arrURL['port'] ) || - ( 'https' == $arrURL['scheme'] && 443 != $arrURL['port'] ) - ); - - if ( $include_port_in_host_header ) { - $strHeaders .= 'Host: ' . $arrURL['host'] . ':' . $arrURL['port'] . "\r\n"; - } else { - $strHeaders .= 'Host: ' . $arrURL['host'] . "\r\n"; - } - - if ( isset($r['user-agent']) ) - $strHeaders .= 'User-agent: ' . $r['user-agent'] . "\r\n"; - - if ( is_array($r['headers']) ) { - foreach ( (array) $r['headers'] as $header => $headerValue ) - $strHeaders .= $header . ': ' . $headerValue . "\r\n"; - } else { - $strHeaders .= $r['headers']; - } - - if ( $proxy->use_authentication() ) - $strHeaders .= $proxy->authentication_header() . "\r\n"; - - $strHeaders .= "\r\n"; - - if ( ! is_null($r['body']) ) - $strHeaders .= $r['body']; - - fwrite($handle, $strHeaders); - - if ( ! $r['blocking'] ) { - stream_set_blocking( $handle, 0 ); - fclose( $handle ); - return array( 'headers' => array(), 'body' => '', 'response' => array('code' => false, 'message' => false), 'cookies' => array() ); - } - - $strResponse = ''; - $bodyStarted = false; - $keep_reading = true; - $block_size = 4096; - if ( isset( $r['limit_response_size'] ) ) - $block_size = min( $block_size, $r['limit_response_size'] ); - - // If streaming to a file setup the file handle. - if ( $r['stream'] ) { - if ( ! WP_DEBUG ) - $stream_handle = @fopen( $r['filename'], 'w+' ); - else - $stream_handle = fopen( $r['filename'], 'w+' ); - if ( ! $stream_handle ) - return new WP_Error( 'http_request_failed', sprintf( __( 'Could not open handle for fopen() to %s' ), $r['filename'] ) ); - - $bytes_written = 0; - while ( ! feof($handle) && $keep_reading ) { - $block = fread( $handle, $block_size ); - if ( ! $bodyStarted ) { - $strResponse .= $block; - if ( strpos( $strResponse, "\r\n\r\n" ) ) { - $process = WP_Http::processResponse( $strResponse ); - $bodyStarted = true; - $block = $process['body']; - unset( $strResponse ); - $process['body'] = ''; - } - } - - $this_block_size = strlen( $block ); - - if ( isset( $r['limit_response_size'] ) && ( $bytes_written + $this_block_size ) > $r['limit_response_size'] ) { - $this_block_size = ( $r['limit_response_size'] - $bytes_written ); - $block = substr( $block, 0, $this_block_size ); - } - - $bytes_written_to_file = fwrite( $stream_handle, $block ); - - if ( $bytes_written_to_file != $this_block_size ) { - fclose( $handle ); - fclose( $stream_handle ); - return new WP_Error( 'http_request_failed', __( 'Failed to write request to temporary file.' ) ); - } - - $bytes_written += $bytes_written_to_file; - - $keep_reading = !isset( $r['limit_response_size'] ) || $bytes_written < $r['limit_response_size']; - } - - fclose( $stream_handle ); - - } else { - $header_length = 0; - while ( ! feof( $handle ) && $keep_reading ) { - $block = fread( $handle, $block_size ); - $strResponse .= $block; - if ( ! $bodyStarted && strpos( $strResponse, "\r\n\r\n" ) ) { - $header_length = strpos( $strResponse, "\r\n\r\n" ) + 4; - $bodyStarted = true; - } - $keep_reading = ( ! $bodyStarted || !isset( $r['limit_response_size'] ) || strlen( $strResponse ) < ( $header_length + $r['limit_response_size'] ) ); - } - - $process = WP_Http::processResponse( $strResponse ); - unset( $strResponse ); - - } - - fclose( $handle ); - - $arrHeaders = WP_Http::processHeaders( $process['headers'], $url ); - - $response = array( - 'headers' => $arrHeaders['headers'], - // Not yet processed. - 'body' => null, - 'response' => $arrHeaders['response'], - 'cookies' => $arrHeaders['cookies'], - 'filename' => $r['filename'] - ); - - // Handle redirects. - if ( false !== ( $redirect_response = WP_HTTP::handle_redirects( $url, $r, $response ) ) ) - return $redirect_response; - - // If the body was chunk encoded, then decode it. - if ( ! empty( $process['body'] ) && isset( $arrHeaders['headers']['transfer-encoding'] ) && 'chunked' == $arrHeaders['headers']['transfer-encoding'] ) - $process['body'] = WP_Http::chunkTransferDecode($process['body']); - - if ( true === $r['decompress'] && true === WP_Http_Encoding::should_decode($arrHeaders['headers']) ) - $process['body'] = WP_Http_Encoding::decompress( $process['body'] ); - - if ( isset( $r['limit_response_size'] ) && strlen( $process['body'] ) > $r['limit_response_size'] ) - $process['body'] = substr( $process['body'], 0, $r['limit_response_size'] ); - - $response['body'] = $process['body']; - - return $response; - } - - /** - * Verifies the received SSL certificate against it's Common Names and subjectAltName fields - * - * PHP's SSL verifications only verify that it's a valid Certificate, it doesn't verify if - * the certificate is valid for the hostname which was requested. - * This function verifies the requested hostname against certificate's subjectAltName field, - * if that is empty, or contains no DNS entries, a fallback to the Common Name field is used. - * - * IP Address support is included if the request is being made to an IP address. - * - * @since 3.7.0 - * @static - * - * @param stream $stream The PHP Stream which the SSL request is being made over - * @param string $host The hostname being requested - * @return bool If the cerficiate presented in $stream is valid for $host - */ - public static function verify_ssl_certificate( $stream, $host ) { - $context_options = stream_context_get_options( $stream ); - - if ( empty( $context_options['ssl']['peer_certificate'] ) ) - return false; - - $cert = openssl_x509_parse( $context_options['ssl']['peer_certificate'] ); - if ( ! $cert ) - return false; - - /* - * If the request is being made to an IP address, we'll validate against IP fields - * in the cert (if they exist) - */ - $host_type = ( WP_HTTP::is_ip_address( $host ) ? 'ip' : 'dns' ); - - $certificate_hostnames = array(); - if ( ! empty( $cert['extensions']['subjectAltName'] ) ) { - $match_against = preg_split( '/,\s*/', $cert['extensions']['subjectAltName'] ); - foreach ( $match_against as $match ) { - list( $match_type, $match_host ) = explode( ':', $match ); - if ( $host_type == strtolower( trim( $match_type ) ) ) // IP: or DNS: - $certificate_hostnames[] = strtolower( trim( $match_host ) ); - } - } elseif ( !empty( $cert['subject']['CN'] ) ) { - // Only use the CN when the certificate includes no subjectAltName extension. - $certificate_hostnames[] = strtolower( $cert['subject']['CN'] ); - } - - // Exact hostname/IP matches. - if ( in_array( strtolower( $host ), $certificate_hostnames ) ) - return true; - - // IP's can't be wildcards, Stop processing. - if ( 'ip' == $host_type ) - return false; - - // Test to see if the domain is at least 2 deep for wildcard support. - if ( substr_count( $host, '.' ) < 2 ) - return false; - - // Wildcard subdomains certs (*.example.com) are valid for a.example.com but not a.b.example.com. - $wildcard_host = preg_replace( '/^[^.]+\./', '*.', $host ); - - return in_array( strtolower( $wildcard_host ), $certificate_hostnames ); - } - - /** - * Whether this class can be used for retrieving a URL. - * - * @static - * @access public - * @since 2.7.0 - * @since 3.7.0 Combined with the fsockopen transport and switched to stream_socket_client(). - * - * @return bool False means this class can not be used, true means it can. - */ - public static function test( $args = array() ) { - if ( ! function_exists( 'stream_socket_client' ) ) - return false; - - $is_ssl = isset( $args['ssl'] ) && $args['ssl']; - - if ( $is_ssl ) { - if ( ! extension_loaded( 'openssl' ) ) - return false; - if ( ! function_exists( 'openssl_x509_parse' ) ) - return false; - } - - /** - * Filter whether streams can be used as a transport for retrieving a URL. - * - * @since 2.7.0 - * - * @param bool $use_class Whether the class can be used. Default true. - * @param array $args Request arguments. - */ - return apply_filters( 'use_streams_transport', true, $args ); - } -} - -/** - * Deprecated HTTP Transport method which used fsockopen. - * - * This class is not used, and is included for backwards compatibility only. - * All code should make use of WP_HTTP directly through it's API. - * - * @see WP_HTTP::request - * - * @since 2.7.0 - * @deprecated 3.7.0 Please use WP_HTTP::request() directly - */ -class WP_HTTP_Fsockopen extends WP_HTTP_Streams { - // For backwards compatibility for users who are using the class directly. -} - -/** - * HTTP request method uses Curl extension to retrieve the url. - * - * Requires the Curl extension to be installed. - * - * @package WordPress - * @subpackage HTTP - * @since 2.7.0 - */ -class WP_Http_Curl { - - /** - * Temporary header storage for during requests. - * - * @since 3.2.0 - * @access private - * @var string - */ - private $headers = ''; - - /** - * Temporary body storage for during requests. - * - * @since 3.6.0 - * @access private - * @var string - */ - private $body = ''; - - /** - * The maximum amount of data to receive from the remote server. - * - * @since 3.6.0 - * @access private - * @var int - */ - private $max_body_length = false; - - /** - * The file resource used for streaming to file. - * - * @since 3.6.0 - * @access private - * @var resource - */ - private $stream_handle = false; - - /** - * The total bytes written in the current request. - * - * @since 4.1.0 - * @access private - * @var int - */ - private $bytes_written_total = 0; - - /** - * Send a HTTP request to a URI using cURL extension. - * - * @access public - * @since 2.7.0 - * - * @param string $url The request URL. - * @param string|array $args Optional. Override the defaults. - * @return array|WP_Error Array containing 'headers', 'body', 'response', 'cookies', 'filename'. A WP_Error instance upon error - */ - public function request($url, $args = array()) { - $defaults = array( - 'method' => 'GET', 'timeout' => 5, - 'redirection' => 5, 'httpversion' => '1.0', - 'blocking' => true, - 'headers' => array(), 'body' => null, 'cookies' => array() - ); - - $r = wp_parse_args( $args, $defaults ); - - if ( isset( $r['headers']['User-Agent'] ) ) { - $r['user-agent'] = $r['headers']['User-Agent']; - unset( $r['headers']['User-Agent'] ); - } elseif ( isset( $r['headers']['user-agent'] ) ) { - $r['user-agent'] = $r['headers']['user-agent']; - unset( $r['headers']['user-agent'] ); - } - - // Construct Cookie: header if any cookies are set. - WP_Http::buildCookieHeader( $r ); - - $handle = curl_init(); - - // cURL offers really easy proxy support. - $proxy = new WP_HTTP_Proxy(); - - if ( $proxy->is_enabled() && $proxy->send_through_proxy( $url ) ) { - - curl_setopt( $handle, CURLOPT_PROXYTYPE, CURLPROXY_HTTP ); - curl_setopt( $handle, CURLOPT_PROXY, $proxy->host() ); - curl_setopt( $handle, CURLOPT_PROXYPORT, $proxy->port() ); - - if ( $proxy->use_authentication() ) { - curl_setopt( $handle, CURLOPT_PROXYAUTH, CURLAUTH_ANY ); - curl_setopt( $handle, CURLOPT_PROXYUSERPWD, $proxy->authentication() ); - } - } - - $is_local = isset($r['local']) && $r['local']; - $ssl_verify = isset($r['sslverify']) && $r['sslverify']; - if ( $is_local ) { - /** This filter is documented in wp-includes/class-http.php */ - $ssl_verify = apply_filters( 'https_local_ssl_verify', $ssl_verify ); - } elseif ( ! $is_local ) { - /** This filter is documented in wp-includes/class-http.php */ - $ssl_verify = apply_filters( 'https_ssl_verify', $ssl_verify ); - } - - /* - * CURLOPT_TIMEOUT and CURLOPT_CONNECTTIMEOUT expect integers. Have to use ceil since. - * a value of 0 will allow an unlimited timeout. - */ - $timeout = (int) ceil( $r['timeout'] ); - curl_setopt( $handle, CURLOPT_CONNECTTIMEOUT, $timeout ); - curl_setopt( $handle, CURLOPT_TIMEOUT, $timeout ); - - curl_setopt( $handle, CURLOPT_URL, $url); - curl_setopt( $handle, CURLOPT_RETURNTRANSFER, true ); - curl_setopt( $handle, CURLOPT_SSL_VERIFYHOST, ( $ssl_verify === true ) ? 2 : false ); - curl_setopt( $handle, CURLOPT_SSL_VERIFYPEER, $ssl_verify ); - curl_setopt( $handle, CURLOPT_CAINFO, $r['sslcertificates'] ); - curl_setopt( $handle, CURLOPT_USERAGENT, $r['user-agent'] ); - - /* - * The option doesn't work with safe mode or when open_basedir is set, and there's - * a bug #17490 with redirected POST requests, so handle redirections outside Curl. - */ - curl_setopt( $handle, CURLOPT_FOLLOWLOCATION, false ); - if ( defined( 'CURLOPT_PROTOCOLS' ) ) // PHP 5.2.10 / cURL 7.19.4 - curl_setopt( $handle, CURLOPT_PROTOCOLS, CURLPROTO_HTTP | CURLPROTO_HTTPS ); - - switch ( $r['method'] ) { - case 'HEAD': - curl_setopt( $handle, CURLOPT_NOBODY, true ); - break; - case 'POST': - curl_setopt( $handle, CURLOPT_POST, true ); - curl_setopt( $handle, CURLOPT_POSTFIELDS, $r['body'] ); - break; - case 'PUT': - curl_setopt( $handle, CURLOPT_CUSTOMREQUEST, 'PUT' ); - curl_setopt( $handle, CURLOPT_POSTFIELDS, $r['body'] ); - break; - default: - curl_setopt( $handle, CURLOPT_CUSTOMREQUEST, $r['method'] ); - if ( ! is_null( $r['body'] ) ) - curl_setopt( $handle, CURLOPT_POSTFIELDS, $r['body'] ); - break; - } - - if ( true === $r['blocking'] ) { - curl_setopt( $handle, CURLOPT_HEADERFUNCTION, array( $this, 'stream_headers' ) ); - curl_setopt( $handle, CURLOPT_WRITEFUNCTION, array( $this, 'stream_body' ) ); - } - - curl_setopt( $handle, CURLOPT_HEADER, false ); - - if ( isset( $r['limit_response_size'] ) ) - $this->max_body_length = intval( $r['limit_response_size'] ); - else - $this->max_body_length = false; - - // If streaming to a file open a file handle, and setup our curl streaming handler. - if ( $r['stream'] ) { - if ( ! WP_DEBUG ) - $this->stream_handle = @fopen( $r['filename'], 'w+' ); - else - $this->stream_handle = fopen( $r['filename'], 'w+' ); - if ( ! $this->stream_handle ) - return new WP_Error( 'http_request_failed', sprintf( __( 'Could not open handle for fopen() to %s' ), $r['filename'] ) ); - } else { - $this->stream_handle = false; - } - - if ( !empty( $r['headers'] ) ) { - // cURL expects full header strings in each element. - $headers = array(); - foreach ( $r['headers'] as $name => $value ) { - $headers[] = "{$name}: $value"; - } - curl_setopt( $handle, CURLOPT_HTTPHEADER, $headers ); - } - - if ( $r['httpversion'] == '1.0' ) - curl_setopt( $handle, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0 ); - else - curl_setopt( $handle, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1 ); - - /** - * Fires before the cURL request is executed. - * - * Cookies are not currently handled by the HTTP API. This action allows - * plugins to handle cookies themselves. - * - * @since 2.8.0 - * - * @param resource &$handle The cURL handle returned by curl_init(). - * @param array $r The HTTP request arguments. - * @param string $url The request URL. - */ - do_action_ref_array( 'http_api_curl', array( &$handle, $r, $url ) ); - - // We don't need to return the body, so don't. Just execute request and return. - if ( ! $r['blocking'] ) { - curl_exec( $handle ); - - if ( $curl_error = curl_error( $handle ) ) { - curl_close( $handle ); - return new WP_Error( 'http_request_failed', $curl_error ); - } - if ( in_array( curl_getinfo( $handle, CURLINFO_HTTP_CODE ), array( 301, 302 ) ) ) { - curl_close( $handle ); - return new WP_Error( 'http_request_failed', __( 'Too many redirects.' ) ); - } - - curl_close( $handle ); - return array( 'headers' => array(), 'body' => '', 'response' => array('code' => false, 'message' => false), 'cookies' => array() ); - } - - curl_exec( $handle ); - $theHeaders = WP_Http::processHeaders( $this->headers, $url ); - $theBody = $this->body; - $bytes_written_total = $this->bytes_written_total; - - $this->headers = ''; - $this->body = ''; - $this->bytes_written_total = 0; - - $curl_error = curl_errno( $handle ); - - // If an error occurred, or, no response. - if ( $curl_error || ( 0 == strlen( $theBody ) && empty( $theHeaders['headers'] ) ) ) { - if ( CURLE_WRITE_ERROR /* 23 */ == $curl_error ) { - if ( ! $this->max_body_length || $this->max_body_length != $bytes_written_total ) { - if ( $r['stream'] ) { - curl_close( $handle ); - fclose( $this->stream_handle ); - return new WP_Error( 'http_request_failed', __( 'Failed to write request to temporary file.' ) ); - } else { - curl_close( $handle ); - return new WP_Error( 'http_request_failed', curl_error( $handle ) ); - } - } - } else { - if ( $curl_error = curl_error( $handle ) ) { - curl_close( $handle ); - return new WP_Error( 'http_request_failed', $curl_error ); - } - } - if ( in_array( curl_getinfo( $handle, CURLINFO_HTTP_CODE ), array( 301, 302 ) ) ) { - curl_close( $handle ); - return new WP_Error( 'http_request_failed', __( 'Too many redirects.' ) ); - } - } - - curl_close( $handle ); - - if ( $r['stream'] ) - fclose( $this->stream_handle ); - - $response = array( - 'headers' => $theHeaders['headers'], - 'body' => null, - 'response' => $theHeaders['response'], - 'cookies' => $theHeaders['cookies'], - 'filename' => $r['filename'] - ); - - // Handle redirects. - if ( false !== ( $redirect_response = WP_HTTP::handle_redirects( $url, $r, $response ) ) ) - return $redirect_response; - - if ( true === $r['decompress'] && true === WP_Http_Encoding::should_decode($theHeaders['headers']) ) - $theBody = WP_Http_Encoding::decompress( $theBody ); - - $response['body'] = $theBody; - - return $response; - } - - /** - * Grab the headers of the cURL request - * - * Each header is sent individually to this callback, so we append to the $header property for temporary storage - * - * @since 3.2.0 - * @access private - * @return int - */ - private function stream_headers( $handle, $headers ) { - $this->headers .= $headers; - return strlen( $headers ); - } - - /** - * Grab the body of the cURL request - * - * The contents of the document are passed in chunks, so we append to the $body property for temporary storage. - * Returning a length shorter than the length of $data passed in will cause cURL to abort the request with CURLE_WRITE_ERROR - * - * @since 3.6.0 - * @access private - * @return int - */ - private function stream_body( $handle, $data ) { - $data_length = strlen( $data ); - - if ( $this->max_body_length && ( $this->bytes_written_total + $data_length ) > $this->max_body_length ) { - $data_length = ( $this->max_body_length - $this->bytes_written_total ); - $data = substr( $data, 0, $data_length ); - } - - if ( $this->stream_handle ) { - $bytes_written = fwrite( $this->stream_handle, $data ); - } else { - $this->body .= $data; - $bytes_written = $data_length; - } - - $this->bytes_written_total += $bytes_written; - - // Upon event of this function returning less than strlen( $data ) curl will error with CURLE_WRITE_ERROR. - return $bytes_written; - } - - /** - * Whether this class can be used for retrieving an URL. - * - * @static - * @since 2.7.0 - * - * @return bool False means this class can not be used, true means it can. - */ - public static function test( $args = array() ) { - if ( ! function_exists( 'curl_init' ) || ! function_exists( 'curl_exec' ) ) - return false; - - $is_ssl = isset( $args['ssl'] ) && $args['ssl']; - - if ( $is_ssl ) { - $curl_version = curl_version(); - // Check whether this cURL version support SSL requests. - if ( ! (CURL_VERSION_SSL & $curl_version['features']) ) - return false; - } - - /** - * Filter whether cURL can be used as a transport for retrieving a URL. - * - * @since 2.7.0 - * - * @param bool $use_class Whether the class can be used. Default true. - * @param array $args An array of request arguments. - */ - return apply_filters( 'use_curl_transport', true, $args ); - } -} - -/** - * Adds Proxy support to the WordPress HTTP API. - * - * There are caveats to proxy support. It requires that defines be made in the wp-config.php file to - * enable proxy support. There are also a few filters that plugins can hook into for some of the - * constants. - * - * Please note that only BASIC authentication is supported by most transports. - * cURL MAY support more methods (such as NTLM authentication) depending on your environment. - * - * The constants are as follows: - *
                  - *
                1. WP_PROXY_HOST - Enable proxy support and host for connecting.
                2. - *
                3. WP_PROXY_PORT - Proxy port for connection. No default, must be defined.
                4. - *
                5. WP_PROXY_USERNAME - Proxy username, if it requires authentication.
                6. - *
                7. WP_PROXY_PASSWORD - Proxy password, if it requires authentication.
                8. - *
                9. WP_PROXY_BYPASS_HOSTS - Will prevent the hosts in this list from going through the proxy. - * You do not need to have localhost and the blog host in this list, because they will not be passed - * through the proxy. The list should be presented in a comma separated list, wildcards using * are supported, eg. *.wordpress.org
                10. - *
                - * - * An example can be as seen below. - * - * define('WP_PROXY_HOST', '192.168.84.101'); - * define('WP_PROXY_PORT', '8080'); - * define('WP_PROXY_BYPASS_HOSTS', 'localhost, www.example.com, *.wordpress.org'); - * - * @link https://core.trac.wordpress.org/ticket/4011 Proxy support ticket in WordPress. - * @link https://core.trac.wordpress.org/ticket/14636 Allow wildcard domains in WP_PROXY_BYPASS_HOSTS - * @since 2.8.0 - */ -class WP_HTTP_Proxy { - - /** - * Whether proxy connection should be used. - * - * @since 2.8.0 - * - * @use WP_PROXY_HOST - * @use WP_PROXY_PORT - * - * @return bool - */ - public function is_enabled() { - return defined('WP_PROXY_HOST') && defined('WP_PROXY_PORT'); - } - - /** - * Whether authentication should be used. - * - * @since 2.8.0 - * - * @use WP_PROXY_USERNAME - * @use WP_PROXY_PASSWORD - * - * @return bool - */ - public function use_authentication() { - return defined('WP_PROXY_USERNAME') && defined('WP_PROXY_PASSWORD'); - } - - /** - * Retrieve the host for the proxy server. - * - * @since 2.8.0 - * - * @return string - */ - public function host() { - if ( defined('WP_PROXY_HOST') ) - return WP_PROXY_HOST; - - return ''; - } - - /** - * Retrieve the port for the proxy server. - * - * @since 2.8.0 - * - * @return string - */ - public function port() { - if ( defined('WP_PROXY_PORT') ) - return WP_PROXY_PORT; - - return ''; - } - - /** - * Retrieve the username for proxy authentication. - * - * @since 2.8.0 - * - * @return string - */ - public function username() { - if ( defined('WP_PROXY_USERNAME') ) - return WP_PROXY_USERNAME; - - return ''; - } - - /** - * Retrieve the password for proxy authentication. - * - * @since 2.8.0 - * - * @return string - */ - public function password() { - if ( defined('WP_PROXY_PASSWORD') ) - return WP_PROXY_PASSWORD; - - return ''; - } - - /** - * Retrieve authentication string for proxy authentication. - * - * @since 2.8.0 - * - * @return string - */ - public function authentication() { - return $this->username() . ':' . $this->password(); - } - - /** - * Retrieve header string for proxy authentication. - * - * @since 2.8.0 - * - * @return string - */ - public function authentication_header() { - return 'Proxy-Authorization: Basic ' . base64_encode( $this->authentication() ); - } - - /** - * Whether URL should be sent through the proxy server. - * - * We want to keep localhost and the blog URL from being sent through the proxy server, because - * some proxies can not handle this. We also have the constant available for defining other - * hosts that won't be sent through the proxy. - * - * @since 2.8.0 - * - * @staticvar array|null $bypass_hosts - * @staticvar array $wildcard_regex - * - * @param string $uri URI to check. - * @return bool True, to send through the proxy and false if, the proxy should not be used. - */ - public function send_through_proxy( $uri ) { - /* - * parse_url() only handles http, https type URLs, and will emit E_WARNING on failure. - * This will be displayed on blogs, which is not reasonable. - */ - $check = @parse_url($uri); - - // Malformed URL, can not process, but this could mean ssl, so let through anyway. - if ( $check === false ) - return true; - - $home = parse_url( get_option('siteurl') ); - - /** - * Filter whether to preempt sending the request through the proxy server. - * - * Returning false will bypass the proxy; returning true will send - * the request through the proxy. Returning null bypasses the filter. - * - * @since 3.5.0 - * - * @param null $override Whether to override the request result. Default null. - * @param string $uri URL to check. - * @param array $check Associative array result of parsing the URI. - * @param array $home Associative array result of parsing the site URL. - */ - $result = apply_filters( 'pre_http_send_through_proxy', null, $uri, $check, $home ); - if ( ! is_null( $result ) ) - return $result; - - if ( 'localhost' == $check['host'] || ( isset( $home['host'] ) && $home['host'] == $check['host'] ) ) - return false; - - if ( !defined('WP_PROXY_BYPASS_HOSTS') ) - return true; - - static $bypass_hosts = null; - static $wildcard_regex = array(); - if ( null === $bypass_hosts ) { - $bypass_hosts = preg_split('|,\s*|', WP_PROXY_BYPASS_HOSTS); - - if ( false !== strpos(WP_PROXY_BYPASS_HOSTS, '*') ) { - $wildcard_regex = array(); - foreach ( $bypass_hosts as $host ) - $wildcard_regex[] = str_replace( '\*', '.+', preg_quote( $host, '/' ) ); - $wildcard_regex = '/^(' . implode('|', $wildcard_regex) . ')$/i'; - } - } - - if ( !empty($wildcard_regex) ) - return !preg_match($wildcard_regex, $check['host']); - else - return !in_array( $check['host'], $bypass_hosts ); - } -} -/** - * Internal representation of a single cookie. - * - * Returned cookies are represented using this class, and when cookies are set, if they are not - * already a WP_Http_Cookie() object, then they are turned into one. - * - * @todo The WordPress convention is to use underscores instead of camelCase for function and method - * names. Need to switch to use underscores instead for the methods. - * - * @package WordPress - * @subpackage HTTP - * @since 2.8.0 - */ -class WP_Http_Cookie { - - /** - * Cookie name. - * - * @since 2.8.0 - * @var string - */ - public $name; - - /** - * Cookie value. - * - * @since 2.8.0 - * @var string - */ - public $value; - - /** - * When the cookie expires. - * - * @since 2.8.0 - * @var string - */ - public $expires; - - /** - * Cookie URL path. - * - * @since 2.8.0 - * @var string - */ - public $path; - - /** - * Cookie Domain. - * - * @since 2.8.0 - * @var string - */ - public $domain; - - /** - * Sets up this cookie object. - * - * The parameter $data should be either an associative array containing the indices names below - * or a header string detailing it. - * - * @since 2.8.0 - * @access public - * - * @param string|array $data { - * Raw cookie data as header string or data array. - * - * @type string $name Cookie name. - * @type mixed $value Value. Should NOT already be urlencoded. - * @type string|int $expires Optional. Unix timestamp or formatted date. Default null. - * @type string $path Optional. Path. Default '/'. - * @type string $domain Optional. Domain. Default host of parsed $requested_url. - * @type int $port Optional. Port. Default null. - * } - * @param string $requested_url The URL which the cookie was set on, used for default $domain - * and $port values. - */ - public function __construct( $data, $requested_url = '' ) { - if ( $requested_url ) - $arrURL = @parse_url( $requested_url ); - if ( isset( $arrURL['host'] ) ) - $this->domain = $arrURL['host']; - $this->path = isset( $arrURL['path'] ) ? $arrURL['path'] : '/'; - if ( '/' != substr( $this->path, -1 ) ) - $this->path = dirname( $this->path ) . '/'; - - if ( is_string( $data ) ) { - // Assume it's a header string direct from a previous request. - $pairs = explode( ';', $data ); - - // Special handling for first pair; name=value. Also be careful of "=" in value. - $name = trim( substr( $pairs[0], 0, strpos( $pairs[0], '=' ) ) ); - $value = substr( $pairs[0], strpos( $pairs[0], '=' ) + 1 ); - $this->name = $name; - $this->value = urldecode( $value ); - - // Removes name=value from items. - array_shift( $pairs ); - - // Set everything else as a property. - foreach ( $pairs as $pair ) { - $pair = rtrim($pair); - - // Handle the cookie ending in ; which results in a empty final pair. - if ( empty($pair) ) - continue; - - list( $key, $val ) = strpos( $pair, '=' ) ? explode( '=', $pair ) : array( $pair, '' ); - $key = strtolower( trim( $key ) ); - if ( 'expires' == $key ) - $val = strtotime( $val ); - $this->$key = $val; - } - } else { - if ( !isset( $data['name'] ) ) - return; - - // Set properties based directly on parameters. - foreach ( array( 'name', 'value', 'path', 'domain', 'port' ) as $field ) { - if ( isset( $data[ $field ] ) ) - $this->$field = $data[ $field ]; - } - - if ( isset( $data['expires'] ) ) - $this->expires = is_int( $data['expires'] ) ? $data['expires'] : strtotime( $data['expires'] ); - else - $this->expires = null; - } - } - - /** - * Confirms that it's OK to send this cookie to the URL checked against. - * - * Decision is based on RFC 2109/2965, so look there for details on validity. - * - * @access public - * @since 2.8.0 - * - * @param string $url URL you intend to send this cookie to - * @return bool true if allowed, false otherwise. - */ - public function test( $url ) { - if ( is_null( $this->name ) ) - return false; - - // Expires - if expired then nothing else matters. - if ( isset( $this->expires ) && time() > $this->expires ) - return false; - - // Get details on the URL we're thinking about sending to. - $url = parse_url( $url ); - $url['port'] = isset( $url['port'] ) ? $url['port'] : ( 'https' == $url['scheme'] ? 443 : 80 ); - $url['path'] = isset( $url['path'] ) ? $url['path'] : '/'; - - // Values to use for comparison against the URL. - $path = isset( $this->path ) ? $this->path : '/'; - $port = isset( $this->port ) ? $this->port : null; - $domain = isset( $this->domain ) ? strtolower( $this->domain ) : strtolower( $url['host'] ); - if ( false === stripos( $domain, '.' ) ) - $domain .= '.local'; - - // Host - very basic check that the request URL ends with the domain restriction (minus leading dot). - $domain = substr( $domain, 0, 1 ) == '.' ? substr( $domain, 1 ) : $domain; - if ( substr( $url['host'], -strlen( $domain ) ) != $domain ) - return false; - - // Port - supports "port-lists" in the format: "80,8000,8080". - if ( !empty( $port ) && !in_array( $url['port'], explode( ',', $port) ) ) - return false; - - // Path - request path must start with path restriction. - if ( substr( $url['path'], 0, strlen( $path ) ) != $path ) - return false; - - return true; - } - - /** - * Convert cookie name and value back to header string. - * - * @access public - * @since 2.8.0 - * - * @return string Header encoded cookie name and value. - */ - public function getHeaderValue() { - if ( ! isset( $this->name ) || ! isset( $this->value ) ) - return ''; - - /** - * Filter the header-encoded cookie value. - * - * @since 3.4.0 - * - * @param string $value The cookie value. - * @param string $name The cookie name. - */ - return $this->name . '=' . apply_filters( 'wp_http_cookie_value', $this->value, $this->name ); - } - - /** - * Retrieve cookie header for usage in the rest of the WordPress HTTP API. - * - * @access public - * @since 2.8.0 - * - * @return string - */ - public function getFullHeader() { - return 'Cookie: ' . $this->getHeaderValue(); - } -} - -/** - * Implementation for deflate and gzip transfer encodings. - * - * Includes RFC 1950, RFC 1951, and RFC 1952. - * - * @since 2.8.0 - * @package WordPress - * @subpackage HTTP - */ -class WP_Http_Encoding { - - /** - * Compress raw string using the deflate format. - * - * Supports the RFC 1951 standard. - * - * @since 2.8.0 - * - * @static - * - * @param string $raw String to compress. - * @param int $level Optional, default is 9. Compression level, 9 is highest. - * @param string $supports Optional, not used. When implemented it will choose the right compression based on what the server supports. - * @return string|false False on failure. - */ - public static function compress( $raw, $level = 9, $supports = null ) { - return gzdeflate( $raw, $level ); - } - - /** - * Decompression of deflated string. - * - * Will attempt to decompress using the RFC 1950 standard, and if that fails - * then the RFC 1951 standard deflate will be attempted. Finally, the RFC - * 1952 standard gzip decode will be attempted. If all fail, then the - * original compressed string will be returned. - * - * @since 2.8.0 - * - * @static - * - * @param string $compressed String to decompress. - * @param int $length The optional length of the compressed data. - * @return string|bool False on failure. - */ - public static function decompress( $compressed, $length = null ) { - - if ( empty($compressed) ) - return $compressed; - - if ( false !== ( $decompressed = @gzinflate( $compressed ) ) ) - return $decompressed; - - if ( false !== ( $decompressed = self::compatible_gzinflate( $compressed ) ) ) - return $decompressed; - - if ( false !== ( $decompressed = @gzuncompress( $compressed ) ) ) - return $decompressed; - - if ( function_exists('gzdecode') ) { - $decompressed = @gzdecode( $compressed ); - - if ( false !== $decompressed ) - return $decompressed; - } - - return $compressed; - } - - /** - * Decompression of deflated string while staying compatible with the majority of servers. - * - * Certain Servers will return deflated data with headers which PHP's gzinflate() - * function cannot handle out of the box. The following function has been created from - * various snippets on the gzinflate() PHP documentation. - * - * Warning: Magic numbers within. Due to the potential different formats that the compressed - * data may be returned in, some "magic offsets" are needed to ensure proper decompression - * takes place. For a simple progmatic way to determine the magic offset in use, see: - * https://core.trac.wordpress.org/ticket/18273 - * - * @since 2.8.1 - * @link https://core.trac.wordpress.org/ticket/18273 - * @link http://au2.php.net/manual/en/function.gzinflate.php#70875 - * @link http://au2.php.net/manual/en/function.gzinflate.php#77336 - * - * @static - * - * @param string $gzData String to decompress. - * @return string|bool False on failure. - */ - public static function compatible_gzinflate($gzData) { - - // Compressed data might contain a full header, if so strip it for gzinflate(). - if ( substr($gzData, 0, 3) == "\x1f\x8b\x08" ) { - $i = 10; - $flg = ord( substr($gzData, 3, 1) ); - if ( $flg > 0 ) { - if ( $flg & 4 ) { - list($xlen) = unpack('v', substr($gzData, $i, 2) ); - $i = $i + 2 + $xlen; - } - if ( $flg & 8 ) - $i = strpos($gzData, "\0", $i) + 1; - if ( $flg & 16 ) - $i = strpos($gzData, "\0", $i) + 1; - if ( $flg & 2 ) - $i = $i + 2; - } - $decompressed = @gzinflate( substr($gzData, $i, -8) ); - if ( false !== $decompressed ) - return $decompressed; - } - - // Compressed data from java.util.zip.Deflater amongst others. - $decompressed = @gzinflate( substr($gzData, 2) ); - if ( false !== $decompressed ) - return $decompressed; - - return false; - } - - /** - * What encoding types to accept and their priority values. - * - * @since 2.8.0 - * - * @static - * - * @param string $url - * @param array $args - * @return string Types of encoding to accept. - */ - public static function accept_encoding( $url, $args ) { - $type = array(); - $compression_enabled = self::is_available(); - - if ( ! $args['decompress'] ) // Decompression specifically disabled. - $compression_enabled = false; - elseif ( $args['stream'] ) // Disable when streaming to file. - $compression_enabled = false; - elseif ( isset( $args['limit_response_size'] ) ) // If only partial content is being requested, we won't be able to decompress it. - $compression_enabled = false; - - if ( $compression_enabled ) { - if ( function_exists( 'gzinflate' ) ) - $type[] = 'deflate;q=1.0'; - - if ( function_exists( 'gzuncompress' ) ) - $type[] = 'compress;q=0.5'; - - if ( function_exists( 'gzdecode' ) ) - $type[] = 'gzip;q=0.5'; - } - - /** - * Filter the allowed encoding types. - * - * @since 3.6.0 - * - * @param array $type Encoding types allowed. Accepts 'gzinflate', - * 'gzuncompress', 'gzdecode'. - * @param string $url URL of the HTTP request. - * @param array $args HTTP request arguments. - */ - $type = apply_filters( 'wp_http_accept_encoding', $type, $url, $args ); - - return implode(', ', $type); - } - - /** - * What encoding the content used when it was compressed to send in the headers. - * - * @since 2.8.0 - * - * @static - * - * @return string Content-Encoding string to send in the header. - */ - public static function content_encoding() { - return 'deflate'; - } - - /** - * Whether the content be decoded based on the headers. - * - * @since 2.8.0 - * - * @static - * - * @param array|string $headers All of the available headers. - * @return bool - */ - public static function should_decode($headers) { - if ( is_array( $headers ) ) { - if ( array_key_exists('content-encoding', $headers) && ! empty( $headers['content-encoding'] ) ) - return true; - } elseif ( is_string( $headers ) ) { - return ( stripos($headers, 'content-encoding:') !== false ); - } - - return false; - } - - /** - * Whether decompression and compression are supported by the PHP version. - * - * Each function is tested instead of checking for the zlib extension, to - * ensure that the functions all exist in the PHP version and aren't - * disabled. - * - * @since 2.8.0 - * - * @static - * - * @return bool - */ - public static function is_available() { - return ( function_exists('gzuncompress') || function_exists('gzdeflate') || function_exists('gzinflate') ); - } -} diff --git a/wp-includes/class-json.php b/wp-includes/class-json.php index 1861b52..53b31e3 100644 --- a/wp-includes/class-json.php +++ b/wp-includes/class-json.php @@ -136,7 +136,7 @@ class Services_JSON * from encode() should be checked with isError() * - SERVICES_JSON_USE_TO_JSON: call toJSON when serializing objects * It serializes the return value from the toJSON call rather - * than the object it'self, toJSON can return associative arrays, + * than the object itself, toJSON can return associative arrays, * strings or numbers, if you return an object, make sure it does * not have a toJSON method, otherwise an error will occur. */ diff --git a/wp-includes/class-oembed.php b/wp-includes/class-oembed.php index 18c2490..e7f72c9 100644 --- a/wp-includes/class-oembed.php +++ b/wp-includes/class-oembed.php @@ -33,47 +33,51 @@ class WP_oEmbed { * @since 2.9.0 */ public function __construct() { + $host = urlencode( home_url() ); $providers = array( - '#http://((m|www)\.)?youtube\.com/watch.*#i' => array( 'http://www.youtube.com/oembed', true ), - '#https://((m|www)\.)?youtube\.com/watch.*#i' => array( 'http://www.youtube.com/oembed?scheme=https', true ), - '#http://((m|www)\.)?youtube\.com/playlist.*#i' => array( 'http://www.youtube.com/oembed', true ), - '#https://((m|www)\.)?youtube\.com/playlist.*#i' => array( 'http://www.youtube.com/oembed?scheme=https', true ), - '#http://youtu\.be/.*#i' => array( 'http://www.youtube.com/oembed', true ), - '#https://youtu\.be/.*#i' => array( 'http://www.youtube.com/oembed?scheme=https', true ), - 'http://blip.tv/*' => array( 'http://blip.tv/oembed/', false ), - '#https?://(.+\.)?vimeo\.com/.*#i' => array( 'http://vimeo.com/api/oembed.{format}', true ), - '#https?://(www\.)?dailymotion\.com/.*#i' => array( 'http://www.dailymotion.com/services/oembed', true ), - 'http://dai.ly/*' => array( 'http://www.dailymotion.com/services/oembed', false ), - '#https?://(www\.)?flickr\.com/.*#i' => array( 'https://www.flickr.com/services/oembed/', true ), - '#https?://flic\.kr/.*#i' => array( 'https://www.flickr.com/services/oembed/', true ), - '#https?://(.+\.)?smugmug\.com/.*#i' => array( 'http://api.smugmug.com/services/oembed/', true ), - '#https?://(www\.)?hulu\.com/watch/.*#i' => array( 'http://www.hulu.com/api/oembed.{format}', true ), - 'http://i*.photobucket.com/albums/*' => array( 'http://photobucket.com/oembed', false ), - 'http://gi*.photobucket.com/groups/*' => array( 'http://photobucket.com/oembed', false ), - '#https?://(www\.)?scribd\.com/doc/.*#i' => array( 'http://www.scribd.com/services/oembed', true ), - '#https?://wordpress.tv/.*#i' => array( 'http://wordpress.tv/oembed/', true ), - '#https?://(.+\.)?polldaddy\.com/.*#i' => array( 'https://polldaddy.com/oembed/', true ), - '#https?://poll\.fm/.*#i' => array( 'https://polldaddy.com/oembed/', true ), - '#https?://(www\.)?funnyordie\.com/videos/.*#i' => array( 'http://www.funnyordie.com/oembed', true ), - '#https?://(www\.)?twitter\.com/.+?/status(es)?/.*#i' => array( 'https://api.twitter.com/1/statuses/oembed.{format}', true ), - '#https?://vine.co/v/.*#i' => array( 'https://vine.co/oembed.{format}', true ), - '#https?://(www\.)?soundcloud\.com/.*#i' => array( 'http://soundcloud.com/oembed', true ), - '#https?://(.+?\.)?slideshare\.net/.*#i' => array( 'https://www.slideshare.net/api/oembed/2', true ), - '#https?://instagr(\.am|am\.com)/p/.*#i' => array( 'https://api.instagram.com/oembed', true ), - '#https?://(www\.)?rdio\.com/.*#i' => array( 'http://www.rdio.com/api/oembed/', true ), - '#https?://rd\.io/x/.*#i' => array( 'http://www.rdio.com/api/oembed/', true ), - '#https?://(open|play)\.spotify\.com/.*#i' => array( 'https://embed.spotify.com/oembed/', true ), - '#https?://(.+\.)?imgur\.com/.*#i' => array( 'http://api.imgur.com/oembed', true ), - '#https?://(www\.)?meetu(\.ps|p\.com)/.*#i' => array( 'http://api.meetup.com/oembed', true ), - '#https?://(www\.)?issuu\.com/.+/docs/.+#i' => array( 'http://issuu.com/oembed_wp', true ), - '#https?://(www\.)?collegehumor\.com/video/.*#i' => array( 'http://www.collegehumor.com/oembed.{format}', true ), - '#https?://(www\.)?mixcloud\.com/.*#i' => array( 'http://www.mixcloud.com/oembed', true ), - '#https?://(www\.|embed\.)?ted\.com/talks/.*#i' => array( 'http://www.ted.com/talks/oembed.{format}', true ), - '#https?://(www\.)?(animoto|video214)\.com/play/.*#i' => array( 'http://animoto.com/oembeds/create', true ), - '#https?://(.+)\.tumblr\.com/post/.*#i' => array( 'https://www.tumblr.com/oembed/1.0', true ), - '#https?://(www\.)?kickstarter\.com/projects/.*#i' => array( 'https://www.kickstarter.com/services/oembed', true ), - '#https?://kck\.st/.*#i' => array( 'https://www.kickstarter.com/services/oembed', true ), - '#https?://cloudup\.com/.*#i' => array( 'https://cloudup.com/oembed', true ), + '#http://((m|www)\.)?youtube\.com/watch.*#i' => array( 'http://www.youtube.com/oembed', true ), + '#https://((m|www)\.)?youtube\.com/watch.*#i' => array( 'http://www.youtube.com/oembed?scheme=https', true ), + '#http://((m|www)\.)?youtube\.com/playlist.*#i' => array( 'http://www.youtube.com/oembed', true ), + '#https://((m|www)\.)?youtube\.com/playlist.*#i' => array( 'http://www.youtube.com/oembed?scheme=https', true ), + '#http://youtu\.be/.*#i' => array( 'http://www.youtube.com/oembed', true ), + '#https://youtu\.be/.*#i' => array( 'http://www.youtube.com/oembed?scheme=https', true ), + '#https?://(.+\.)?vimeo\.com/.*#i' => array( 'http://vimeo.com/api/oembed.{format}', true ), + '#https?://(www\.)?dailymotion\.com/.*#i' => array( 'https://www.dailymotion.com/services/oembed', true ), + 'http://dai.ly/*' => array( 'https://www.dailymotion.com/services/oembed', false ), + '#https?://(www\.)?flickr\.com/.*#i' => array( 'https://www.flickr.com/services/oembed/', true ), + '#https?://flic\.kr/.*#i' => array( 'https://www.flickr.com/services/oembed/', true ), + '#https?://(.+\.)?smugmug\.com/.*#i' => array( 'http://api.smugmug.com/services/oembed/', true ), + '#https?://(www\.)?hulu\.com/watch/.*#i' => array( 'http://www.hulu.com/api/oembed.{format}', true ), + 'http://i*.photobucket.com/albums/*' => array( 'http://api.photobucket.com/oembed', false ), + 'http://gi*.photobucket.com/groups/*' => array( 'http://api.photobucket.com/oembed', false ), + '#https?://(www\.)?scribd\.com/doc/.*#i' => array( 'http://www.scribd.com/services/oembed', true ), + '#https?://wordpress.tv/.*#i' => array( 'http://wordpress.tv/oembed/', true ), + '#https?://(.+\.)?polldaddy\.com/.*#i' => array( 'https://polldaddy.com/oembed/', true ), + '#https?://poll\.fm/.*#i' => array( 'https://polldaddy.com/oembed/', true ), + '#https?://(www\.)?funnyordie\.com/videos/.*#i' => array( 'http://www.funnyordie.com/oembed', true ), + '#https?://(www\.)?twitter\.com/.+?/status(es)?/.*#i' => array( 'https://api.twitter.com/1/statuses/oembed.{format}', true ), + '#https?://vine.co/v/.*#i' => array( 'https://vine.co/oembed.{format}', true ), + '#https?://(www\.)?soundcloud\.com/.*#i' => array( 'http://soundcloud.com/oembed', true ), + '#https?://(.+?\.)?slideshare\.net/.*#i' => array( 'https://www.slideshare.net/api/oembed/2', true ), + '#https?://(www\.)?instagr(\.am|am\.com)/p/.*#i' => array( 'https://api.instagram.com/oembed', true ), + '#https?://(www\.)?rdio\.com/.*#i' => array( 'http://www.rdio.com/api/oembed/', true ), + '#https?://rd\.io/x/.*#i' => array( 'http://www.rdio.com/api/oembed/', true ), + '#https?://(open|play)\.spotify\.com/.*#i' => array( 'https://embed.spotify.com/oembed/', true ), + '#https?://(.+\.)?imgur\.com/.*#i' => array( 'http://api.imgur.com/oembed', true ), + '#https?://(www\.)?meetu(\.ps|p\.com)/.*#i' => array( 'http://api.meetup.com/oembed', true ), + '#https?://(www\.)?issuu\.com/.+/docs/.+#i' => array( 'http://issuu.com/oembed_wp', true ), + '#https?://(www\.)?collegehumor\.com/video/.*#i' => array( 'http://www.collegehumor.com/oembed.{format}', true ), + '#https?://(www\.)?mixcloud\.com/.*#i' => array( 'http://www.mixcloud.com/oembed', true ), + '#https?://(www\.|embed\.)?ted\.com/talks/.*#i' => array( 'http://www.ted.com/talks/oembed.{format}', true ), + '#https?://(www\.)?(animoto|video214)\.com/play/.*#i' => array( 'https://animoto.com/oembeds/create', true ), + '#https?://(.+)\.tumblr\.com/post/.*#i' => array( 'https://www.tumblr.com/oembed/1.0', true ), + '#https?://(www\.)?kickstarter\.com/projects/.*#i' => array( 'https://www.kickstarter.com/services/oembed', true ), + '#https?://kck\.st/.*#i' => array( 'https://www.kickstarter.com/services/oembed', true ), + '#https?://cloudup\.com/.*#i' => array( 'https://cloudup.com/oembed', true ), + '#https?://(www\.)?reverbnation\.com/.*#i' => array( 'https://www.reverbnation.com/oembed', true ), + '#https?://videopress.com/v/.*#' => array( 'https://public-api.wordpress.com/oembed/1.0/?for=' . $host, true ), + '#https?://(www\.)?reddit\.com/r/[^/]+/comments/.*#i' => array( 'https://www.reddit.com/oembed', true ), + '#https?://(www\.)?speakerdeck\.com/.*#i' => array( 'https://speakerdeck.com/oembed.{format}', true ), ); if ( ! empty( self::$early_providers['add'] ) ) { @@ -91,48 +95,41 @@ class WP_oEmbed { self::$early_providers = array(); /** - * Filter the list of oEmbed providers. + * Filter the list of whitelisted oEmbed providers. * - * Discovery is disabled for users lacking the unfiltered_html capability. - * Only providers in this array will be used for those users. + * Since WordPress 4.4, oEmbed discovery is enabled for all users and allows embedding of sanitized + * iframes. The providers in this list are whitelisted, meaning they are trusted and allowed to + * embed any content, such as iframes, videos, JavaScript, and arbitrary HTML. * * Supported providers: * - * | ------------ | -------------------- | ----- | --------- | - * | Provider | Flavor | SSL | Since | - * | ------------ | -------------------- | ----- | --------- | - * | Blip | blip.tv | ! | 2.9.0 | + * | Provider | Flavor | HTTPS | Since | + * | ------------ | -------------------- | :---: | --------- | * | Dailymotion | dailymotion.com | Yes | 2.9.0 | * | Flickr | flickr.com | Yes | 2.9.0 | * | Hulu | hulu.com | Yes | 2.9.0 | - * | Photobucket | photobucket.com | ! | 2.9.0 | + * | Photobucket | photobucket.com | No | 2.9.0 | * | Scribd | scribd.com | Yes | 2.9.0 | * | Vimeo | vimeo.com | Yes | 2.9.0 | * | WordPress.tv | wordpress.tv | Yes | 2.9.0 | * | YouTube | youtube.com/watch | Yes | 2.9.0 | - * | ------------ | -------------------- | ----- | --------- | * | Funny or Die | funnyordie.com | Yes | 3.0.0 | * | Polldaddy | polldaddy.com | Yes | 3.0.0 | * | SmugMug | smugmug.com | Yes | 3.0.0 | * | YouTube | youtu.be | Yes | 3.0.0 | - * | ------------ | -------------------- | ----- | --------- | * | Twitter | twitter.com | Yes | 3.4.0 | - * | ------------ | -------------------- | ----- | --------- | * | Instagram | instagram.com | Yes | 3.5.0 | * | Instagram | instagr.am | Yes | 3.5.0 | * | Slideshare | slideshare.net | Yes | 3.5.0 | * | SoundCloud | soundcloud.com | Yes | 3.5.0 | - * | ------------ | -------------------- | ----- | --------- | - * | Dailymotion | dai.ly | ! | 3.6.0 | + * | Dailymotion | dai.ly | No | 3.6.0 | * | Flickr | flic.kr | Yes | 3.6.0 | * | Rdio | rdio.com | Yes | 3.6.0 | * | Rdio | rd.io | Yes | 3.6.0 | * | Spotify | spotify.com | Yes | 3.6.0 | - * | ------------ | -------------------- | ----- | --------- | * | Imgur | imgur.com | Yes | 3.9.0 | * | Meetup.com | meetup.com | Yes | 3.9.0 | * | Meetup.com | meetu.ps | Yes | 3.9.0 | - * | ------------ | -------------------- | ----- | --------- | * | Animoto | animoto.com | Yes | 4.0.0 | * | Animoto | video214.com | Yes | 4.0.0 | * | CollegeHumor | collegehumor.com | Yes | 4.0.0 | @@ -141,25 +138,24 @@ class WP_oEmbed { * | Polldaddy | poll.fm | Yes | 4.0.0 | * | TED | ted.com | Yes | 4.0.0 | * | YouTube | youtube.com/playlist | Yes | 4.0.0 | - * | ------------ | -------------------- | ----- | --------- | * | Vine | vine.co | Yes | 4.1.0 | - * | ------------ | -------------------- | ----- | --------- | * | Tumblr | tumblr.com | Yes | 4.2.0 | * | Kickstarter | kickstarter.com | Yes | 4.2.0 | * | Kickstarter | kck.st | Yes | 4.2.0 | - * | ------------ | -------------------- | ----- | --------- | + * | Cloudup | cloudup.com | Yes | 4.4.0 | + * | ReverbNation | reverbnation.com | Yes | 4.4.0 | + * | VideoPress | videopress.com | Yes | 4.4.0 | + * | Reddit | reddit.com | Yes | 4.4.0 | + * | Speaker Deck | speakerdeck.com | Yes | 4.4.0 | * * No longer supported providers: * - * | ------------ | -------------------- | ----- | --------- | --------- | - * | Provider | Flavor | SSL | Since | Removed | - * | ------------ | -------------------- | ----- | --------- | --------- | + * | Provider | Flavor | HTTPS | Since | Removed | + * | ------------ | -------------------- | :---: | --------- | --------- | * | Qik | qik.com | Yes | 2.9.0 | 3.9.0 | - * | ------------ | -------------------- | ----- | --------- | --------- | * | Viddler | viddler.com | Yes | 2.9.0 | 4.0.0 | - * | ------------ | -------------------- | ----- | --------- | --------- | - * | Revision3 | revision3.com | ! | 2.9.0 | 4.2.0 | - * | ------------ | -------------------- | ----- | --------- | --------- | + * | Revision3 | revision3.com | No | 2.9.0 | 4.2.0 | + * | Blip | blip.tv | No | 2.9.0 | 4.4.0 | * * @see wp_oembed_add_provider() * @@ -409,7 +405,7 @@ class WP_oEmbed { */ $provider = apply_filters( 'oembed_fetch_url', $provider, $url, $args ); - foreach( array( 'json', 'xml' ) as $format ) { + foreach ( array( 'json', 'xml' ) as $format ) { $result = $this->_fetch_with_format( $provider, $format ); if ( is_wp_error( $result ) && 'not-implemented' == $result->get_error_code() ) continue; @@ -490,7 +486,7 @@ class WP_oEmbed { * @return object|false */ private function _parse_xml_body( $response_body ) { - if ( ! function_exists( 'simplexml_import_dom' ) || ! class_exists( 'DOMDocument' ) ) + if ( ! function_exists( 'simplexml_import_dom' ) || ! class_exists( 'DOMDocument', false ) ) return false; $dom = new DOMDocument; diff --git a/wp-includes/class-phpass.php b/wp-includes/class-phpass.php index ccd1796..8b8b113 100644 --- a/wp-includes/class-phpass.php +++ b/wp-includes/class-phpass.php @@ -273,6 +273,4 @@ class PasswordHash { return $hash === $stored_hash; } -} - -?> +} \ No newline at end of file diff --git a/wp-includes/class-pop3.php b/wp-includes/class-pop3.php index 7d641bf..ffbc377 100644 --- a/wp-includes/class-pop3.php +++ b/wp-includes/class-pop3.php @@ -82,7 +82,7 @@ class POP3 { // Opens a socket to the specified server. Unless overridden, // port defaults to 110. Returns true on success, false on fail - // If MAILSERVER is set, override $server with it's value + // If MAILSERVER is set, override $server with its value. if (!isset($port) || !$port) {$port = 110;} if(!empty($this->MAILSERVER)) diff --git a/wp-includes/class-simplepie.php b/wp-includes/class-simplepie.php index 64f9fa9..958ba46 100644 --- a/wp-includes/class-simplepie.php +++ b/wp-includes/class-simplepie.php @@ -1,5 +1,5 @@ 'parent', 'id' => 'term_id'); + + /** + * Start the element output. + * + * @see Walker::start_el() + * @since 2.1.0 + * + * @param string $output Passed by reference. Used to append additional content. + * @param object $category Category data object. + * @param int $depth Depth of category. Used for padding. + * @param array $args Uses 'selected', 'show_count', and 'value_field' keys, if they exist. + * See {@see wp_dropdown_categories()}. + */ + public function start_el( &$output, $category, $depth = 0, $args = array(), $id = 0 ) { + $pad = str_repeat(' ', $depth * 3); + + /** This filter is documented in wp-includes/category-template.php */ + $cat_name = apply_filters( 'list_cats', $category->name, $category ); + + if ( isset( $args['value_field'] ) && isset( $category->{$args['value_field']} ) ) { + $value_field = $args['value_field']; + } else { + $value_field = 'term_id'; + } + + $output .= "\t\n"; + } +} diff --git a/wp-includes/class-walker-category.php b/wp-includes/class-walker-category.php new file mode 100644 index 0000000..da518c9 --- /dev/null +++ b/wp-includes/class-walker-category.php @@ -0,0 +1,218 @@ + 'parent', 'id' => 'term_id'); + + /** + * Starts the list before the elements are added. + * + * @see Walker::start_lvl() + * + * @since 2.1.0 + * + * @param string $output Passed by reference. Used to append additional content. + * @param int $depth Depth of category. Used for tab indentation. + * @param array $args An array of arguments. Will only append content if style argument value is 'list'. + * @see wp_list_categories() + */ + public function start_lvl( &$output, $depth = 0, $args = array() ) { + if ( 'list' != $args['style'] ) + return; + + $indent = str_repeat("\t", $depth); + $output .= "$indent
                  \n"; + } + + /** + * Ends the list of after the elements are added. + * + * @see Walker::end_lvl() + * + * @since 2.1.0 + * + * @param string $output Passed by reference. Used to append additional content. + * @param int $depth Depth of category. Used for tab indentation. + * @param array $args An array of arguments. Will only append content if style argument value is 'list'. + * @wsee wp_list_categories() + */ + public function end_lvl( &$output, $depth = 0, $args = array() ) { + if ( 'list' != $args['style'] ) + return; + + $indent = str_repeat("\t", $depth); + $output .= "$indent
                \n"; + } + + /** + * Start the element output. + * + * @see Walker::start_el() + * + * @since 2.1.0 + * + * @param string $output Passed by reference. Used to append additional content. + * @param object $category Category data object. + * @param int $depth Depth of category in reference to parents. Default 0. + * @param array $args An array of arguments. @see wp_list_categories() + * @param int $id ID of the current category. + */ + public function start_el( &$output, $category, $depth = 0, $args = array(), $id = 0 ) { + /** This filter is documented in wp-includes/category-template.php */ + $cat_name = apply_filters( + 'list_cats', + esc_attr( $category->name ), + $category + ); + + // Don't generate an element if the category name is empty. + if ( ! $cat_name ) { + return; + } + + $link = 'description ) ) { + /** + * Filter the category description for display. + * + * @since 1.2.0 + * + * @param string $description Category description. + * @param object $category Category object. + */ + $link .= 'title="' . esc_attr( strip_tags( apply_filters( 'category_description', $category->description, $category ) ) ) . '"'; + } + + $link .= '>'; + $link .= $cat_name . ''; + + if ( ! empty( $args['feed_image'] ) || ! empty( $args['feed'] ) ) { + $link .= ' '; + + if ( empty( $args['feed_image'] ) ) { + $link .= '('; + } + + $link .= ''; + } + $link .= ''; + + if ( empty( $args['feed_image'] ) ) { + $link .= ')'; + } + } + + if ( ! empty( $args['show_count'] ) ) { + $link .= ' (' . number_format_i18n( $category->count ) . ')'; + } + if ( 'list' == $args['style'] ) { + $output .= "\tterm_id, + ); + + if ( ! empty( $args['current_category'] ) ) { + // 'current_category' can be an array, so we use `get_terms()`. + $_current_terms = get_terms( $category->taxonomy, array( + 'include' => $args['current_category'], + 'hide_empty' => false, + ) ); + + foreach ( $_current_terms as $_current_term ) { + if ( $category->term_id == $_current_term->term_id ) { + $css_classes[] = 'current-cat'; + } elseif ( $category->term_id == $_current_term->parent ) { + $css_classes[] = 'current-cat-parent'; + } + } + } + + /** + * Filter the list of CSS classes to include with each category in the list. + * + * @since 4.2.0 + * + * @see wp_list_categories() + * + * @param array $css_classes An array of CSS classes to be applied to each list item. + * @param object $category Category data object. + * @param int $depth Depth of page, used for padding. + * @param array $args An array of wp_list_categories() arguments. + */ + $css_classes = implode( ' ', apply_filters( 'category_css_class', $css_classes, $category, $depth, $args ) ); + + $output .= ' class="' . $css_classes . '"'; + $output .= ">$link\n"; + } elseif ( isset( $args['separator'] ) ) { + $output .= "\t$link" . $args['separator'] . "\n"; + } else { + $output .= "\t$link
                \n"; + } + } + + /** + * Ends the element output, if needed. + * + * @see Walker::end_el() + * + * @since 2.1.0 + * + * @param string $output Passed by reference. Used to append additional content. + * @param object $page Not used. + * @param int $depth Depth of category. Not used. + * @param array $args An array of arguments. Only uses 'list' for whether should append to output. @see wp_list_categories() + */ + public function end_el( &$output, $page, $depth = 0, $args = array() ) { + if ( 'list' != $args['style'] ) + return; + + $output .= "\n"; + } + +} diff --git a/wp-includes/class-walker-comment.php b/wp-includes/class-walker-comment.php new file mode 100644 index 0000000..e82ec66 --- /dev/null +++ b/wp-includes/class-walker-comment.php @@ -0,0 +1,355 @@ + 'comment_parent', 'id' => 'comment_ID'); + + /** + * Start the list before the elements are added. + * + * @see Walker::start_lvl() + * + * @since 2.7.0 + * + * @global int $comment_depth + * + * @param string $output Passed by reference. Used to append additional content. + * @param int $depth Depth of comment. + * @param array $args Uses 'style' argument for type of HTML list. + */ + public function start_lvl( &$output, $depth = 0, $args = array() ) { + $GLOBALS['comment_depth'] = $depth + 1; + + switch ( $args['style'] ) { + case 'div': + break; + case 'ol': + $output .= '
                  ' . "\n"; + break; + case 'ul': + default: + $output .= '
                    ' . "\n"; + break; + } + } + + /** + * End the list of items after the elements are added. + * + * @see Walker::end_lvl() + * + * @since 2.7.0 + * + * @global int $comment_depth + * + * @param string $output Passed by reference. Used to append additional content. + * @param int $depth Depth of comment. + * @param array $args Will only append content if style argument value is 'ol' or 'ul'. + */ + public function end_lvl( &$output, $depth = 0, $args = array() ) { + $GLOBALS['comment_depth'] = $depth + 1; + + switch ( $args['style'] ) { + case 'div': + break; + case 'ol': + $output .= "
                \n"; + break; + case 'ul': + default: + $output .= "
              \n"; + break; + } + } + + /** + * Traverse elements to create list from elements. + * + * This function is designed to enhance Walker::display_element() to + * display children of higher nesting levels than selected inline on + * the highest depth level displayed. This prevents them being orphaned + * at the end of the comment list. + * + * Example: max_depth = 2, with 5 levels of nested content. + * 1 + * 1.1 + * 1.1.1 + * 1.1.1.1 + * 1.1.1.1.1 + * 1.1.2 + * 1.1.2.1 + * 2 + * 2.2 + * + * @see Walker::display_element() + * @see wp_list_comments() + * + * @since 2.7.0 + * + * @param object $element Data object. + * @param array $children_elements List of elements to continue traversing. + * @param int $max_depth Max depth to traverse. + * @param int $depth Depth of current element. + * @param array $args An array of arguments. + * @param string $output Passed by reference. Used to append additional content. + */ + public function display_element( $element, &$children_elements, $max_depth, $depth, $args, &$output ) { + if ( !$element ) + return; + + $id_field = $this->db_fields['id']; + $id = $element->$id_field; + + parent::display_element( $element, $children_elements, $max_depth, $depth, $args, $output ); + + /* + * If we're at the max depth, and the current element still has children, + * loop over those and display them at this level. This is to prevent them + * being orphaned to the end of the list. + */ + if ( $max_depth <= $depth + 1 && isset( $children_elements[$id]) ) { + foreach ( $children_elements[ $id ] as $child ) + $this->display_element( $child, $children_elements, $max_depth, $depth, $args, $output ); + + unset( $children_elements[ $id ] ); + } + + } + + /** + * Start the element output. + * + * @since 2.7.0 + * + * @see Walker::start_el() + * @see wp_list_comments() + * + * @global int $comment_depth + * @global WP_Comment $comment + * + * @param string $output Passed by reference. Used to append additional content. + * @param object $comment Comment data object. + * @param int $depth Depth of comment in reference to parents. + * @param array $args An array of arguments. + */ + public function start_el( &$output, $comment, $depth = 0, $args = array(), $id = 0 ) { + $depth++; + $GLOBALS['comment_depth'] = $depth; + $GLOBALS['comment'] = $comment; + + if ( !empty( $args['callback'] ) ) { + ob_start(); + call_user_func( $args['callback'], $comment, $args, $depth ); + $output .= ob_get_clean(); + return; + } + + if ( ( 'pingback' == $comment->comment_type || 'trackback' == $comment->comment_type ) && $args['short_ping'] ) { + ob_start(); + $this->ping( $comment, $depth, $args ); + $output .= ob_get_clean(); + } elseif ( 'html5' === $args['format'] ) { + ob_start(); + $this->html5_comment( $comment, $depth, $args ); + $output .= ob_get_clean(); + } else { + ob_start(); + $this->comment( $comment, $depth, $args ); + $output .= ob_get_clean(); + } + } + + /** + * Ends the element output, if needed. + * + * @since 2.7.0 + * + * @see Walker::end_el() + * @see wp_list_comments() + * + * @param string $output Passed by reference. Used to append additional content. + * @param WP_Comment $comment The comment object. Default current comment. + * @param int $depth Depth of comment. + * @param array $args An array of arguments. + */ + public function end_el( &$output, $comment, $depth = 0, $args = array() ) { + if ( !empty( $args['end-callback'] ) ) { + ob_start(); + call_user_func( $args['end-callback'], $comment, $args, $depth ); + $output .= ob_get_clean(); + return; + } + if ( 'div' == $args['style'] ) + $output .= "
            • \n"; + else + $output .= "\n"; + } + + /** + * Output a pingback comment. + * + * @access protected + * @since 3.6.0 + * + * @see wp_list_comments() + * + * @param WP_Comment $comment The comment object. + * @param int $depth Depth of comment. + * @param array $args An array of arguments. + */ + protected function ping( $comment, $depth, $args ) { + $tag = ( 'div' == $args['style'] ) ? 'div' : 'li'; +?> + < id="comment-" > +
              + ', '' ); ?> +
              + + < has_children ? 'parent' : '', $comment ); ?> id="comment-"> + +
              + +
              + + %s says:' ), get_comment_author_link( $comment ) ); ?> +
              + comment_approved ) : ?> + +
              + + + + + $add_below, 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?> + + $add_below, + 'depth' => $depth, + 'max_depth' => $args['max_depth'], + 'before' => '
              ', + 'after' => '
              ' + ) ) ); + ?> + + +
              + + + < id="comment-" has_children ? 'parent' : '', $comment ); ?>> +
              +
              +
              + + says:' ), sprintf( '%s', get_comment_author_link( $comment ) ) ); ?> +
              + + + + comment_approved ) : ?> +

              + +
              + +
              + +
              + + 'div-comment', + 'depth' => $depth, + 'max_depth' => $args['max_depth'], + 'before' => '
              ', + 'after' => '
              ' + ) ) ); + ?> +
              + 'post_parent', 'id' => 'ID'); + + /** + * @see Walker::start_el() + * @since 2.1.0 + * + * @param string $output Passed by reference. Used to append additional content. + * @param object $page Page data object. + * @param int $depth Depth of page in reference to parent pages. Used for padding. + * @param array $args Uses 'selected' argument for selected page to set selected HTML attribute for option + * element. Uses 'value_field' argument to fill "value" attribute. See {@see wp_dropdown_pages()}. + * @param int $id + */ + public function start_el( &$output, $page, $depth = 0, $args = array(), $id = 0 ) { + $pad = str_repeat(' ', $depth * 3); + + if ( ! isset( $args['value_field'] ) || ! isset( $page->{$args['value_field']} ) ) { + $args['value_field'] = 'ID'; + } + + $output .= "\t\n"; + } +} diff --git a/wp-includes/class-walker-page.php b/wp-includes/class-walker-page.php new file mode 100644 index 0000000..3b3ca31 --- /dev/null +++ b/wp-includes/class-walker-page.php @@ -0,0 +1,155 @@ + 'post_parent', 'id' => 'ID'); + + /** + * @see Walker::start_lvl() + * @since 2.1.0 + * + * @param string $output Passed by reference. Used to append additional content. + * @param int $depth Depth of page. Used for padding. + * @param array $args + */ + public function start_lvl( &$output, $depth = 0, $args = array() ) { + $indent = str_repeat("\t", $depth); + $output .= "\n$indent
                \n"; + } + + /** + * @see Walker::end_lvl() + * @since 2.1.0 + * + * @param string $output Passed by reference. Used to append additional content. + * @param int $depth Depth of page. Used for padding. + * @param array $args + */ + public function end_lvl( &$output, $depth = 0, $args = array() ) { + $indent = str_repeat("\t", $depth); + $output .= "$indent
              \n"; + } + + /** + * @see Walker::start_el() + * @since 2.1.0 + * + * @param string $output Passed by reference. Used to append additional content. + * @param object $page Page data object. + * @param int $depth Depth of page. Used for padding. + * @param int $current_page Page ID. + * @param array $args + */ + public function start_el( &$output, $page, $depth = 0, $args = array(), $current_page = 0 ) { + if ( $depth ) { + $indent = str_repeat( "\t", $depth ); + } else { + $indent = ''; + } + + $css_class = array( 'page_item', 'page-item-' . $page->ID ); + + if ( isset( $args['pages_with_children'][ $page->ID ] ) ) { + $css_class[] = 'page_item_has_children'; + } + + if ( ! empty( $current_page ) ) { + $_current_page = get_post( $current_page ); + if ( $_current_page && in_array( $page->ID, $_current_page->ancestors ) ) { + $css_class[] = 'current_page_ancestor'; + } + if ( $page->ID == $current_page ) { + $css_class[] = 'current_page_item'; + } elseif ( $_current_page && $page->ID == $_current_page->post_parent ) { + $css_class[] = 'current_page_parent'; + } + } elseif ( $page->ID == get_option('page_for_posts') ) { + $css_class[] = 'current_page_parent'; + } + + /** + * Filter the list of CSS classes to include with each page item in the list. + * + * @since 2.8.0 + * + * @see wp_list_pages() + * + * @param array $css_class An array of CSS classes to be applied + * to each list item. + * @param WP_Post $page Page data object. + * @param int $depth Depth of page, used for padding. + * @param array $args An array of arguments. + * @param int $current_page ID of the current page. + */ + $css_classes = implode( ' ', apply_filters( 'page_css_class', $css_class, $page, $depth, $args, $current_page ) ); + + if ( '' === $page->post_title ) { + /* translators: %d: ID of a post */ + $page->post_title = sprintf( __( '#%d (no title)' ), $page->ID ); + } + + $args['link_before'] = empty( $args['link_before'] ) ? '' : $args['link_before']; + $args['link_after'] = empty( $args['link_after'] ) ? '' : $args['link_after']; + + /** This filter is documented in wp-includes/post-template.php */ + $output .= $indent . sprintf( + '
            • %s%s%s', + $css_classes, + get_permalink( $page->ID ), + $args['link_before'], + apply_filters( 'the_title', $page->post_title, $page->ID ), + $args['link_after'] + ); + + if ( ! empty( $args['show_date'] ) ) { + if ( 'modified' == $args['show_date'] ) { + $time = $page->post_modified; + } else { + $time = $page->post_date; + } + + $date_format = empty( $args['date_format'] ) ? '' : $args['date_format']; + $output .= " " . mysql2date( $date_format, $time ); + } + } + + /** + * @see Walker::end_el() + * @since 2.1.0 + * + * @param string $output Passed by reference. Used to append additional content. + * @param object $page Page data object. Not used. + * @param int $depth Depth of page. Not Used. + * @param array $args + */ + public function end_el( &$output, $page, $depth = 0, $args = array() ) { + $output .= "
            • \n"; + } + +} diff --git a/wp-includes/class-wp-admin-bar.php b/wp-includes/class-wp-admin-bar.php index f344f3e..f402100 100644 --- a/wp-includes/class-wp-admin-bar.php +++ b/wp-includes/class-wp-admin-bar.php @@ -1,11 +1,16 @@ '', + 'from' => '', + 'where' => array(), + 'groupby' => '', + 'orderby' => '', + 'limits' => '', + ); + + /** + * Date query container + * + * @since 3.7.0 + * @access public + * @var object WP_Date_Query + */ + public $date_query = false; + + /** + * Query vars set by the user. + * + * @since 3.1.0 + * @access public + * @var array + */ + public $query_vars; + + /** + * Default values for query vars. + * + * @since 4.2.0 + * @access public + * @var array + */ + public $query_var_defaults; + + /** + * List of comments located by the query. + * + * @since 4.0.0 + * @access public + * @var array + */ + public $comments; + + /** + * The amount of found comments for the current query. + * + * @since 4.4.0 + * @access public + * @var int + */ + public $found_comments = 0; + + /** + * The number of pages. + * + * @since 4.4.0 + * @access public + * @var int + */ + public $max_num_pages = 0; + + /** + * Make private/protected methods readable for backwards compatibility. + * + * @since 4.0.0 + * @access public + * + * @param callable $name Method to call. + * @param array $arguments Arguments to pass when calling. + * @return mixed|false Return value of the callback, false otherwise. + */ + public function __call( $name, $arguments ) { + if ( 'get_search_sql' === $name ) { + return call_user_func_array( array( $this, $name ), $arguments ); + } + return false; + } + + /** + * Constructor. + * + * Sets up the comment query, based on the query vars passed. + * + * @since 4.2.0 + * @since 4.4.0 `$parent__in` and `$parent__not_in` were added. + * @since 4.4.0 Order by `comment__in` was added. `$update_comment_meta_cache`, `$no_found_rows`, + * `$hierarchical`, and `$update_comment_post_cache` were added. + * @access public + * + * @param string|array $query { + * Optional. Array or query string of comment query parameters. Default empty. + * + * @type string $author_email Comment author email address. Default empty. + * @type array $author__in Array of author IDs to include comments for. Default empty. + * @type array $author__not_in Array of author IDs to exclude comments for. Default empty. + * @type array $comment__in Array of comment IDs to include. Default empty. + * @type array $comment__not_in Array of comment IDs to exclude. Default empty. + * @type bool $count Whether to return a comment count (true) or array of + * comment objects (false). Default false. + * @type array $date_query Date query clauses to limit comments by. See WP_Date_Query. + * Default null. + * @type string $fields Comment fields to return. Accepts 'ids' for comment IDs + * only or empty for all fields. Default empty. + * @type int $ID Currently unused. + * @type array $include_unapproved Array of IDs or email addresses of users whose unapproved + * comments will be returned by the query regardless of + * `$status`. Default empty. + * @type int $karma Karma score to retrieve matching comments for. + * Default empty. + * @type string $meta_key Include comments with a matching comment meta key. + * Default empty. + * @type string $meta_value Include comments with a matching comment meta value. + * Requires `$meta_key` to be set. Default empty. + * @type array $meta_query Meta query clauses to limit retrieved comments by. + * See WP_Meta_Query. Default empty. + * @type int $number Maximum number of comments to retrieve. + * Default null (no limit). + * @type int $offset Number of comments to offset the query. Used to build + * LIMIT clause. Default 0. + * @type bool $no_found_rows Whether to disable the `SQL_CALC_FOUND_ROWS` query. + * Default: true. + * @type string|array $orderby Comment status or array of statuses. To use 'meta_value' + * or 'meta_value_num', `$meta_key` must also be defined. + * To sort by a specific `$meta_query` clause, use that + * clause's array key. Accepts 'comment_agent', + * 'comment_approved', 'comment_author', + * 'comment_author_email', 'comment_author_IP', + * 'comment_author_url', 'comment_content', 'comment_date', + * 'comment_date_gmt', 'comment_ID', 'comment_karma', + * 'comment_parent', 'comment_post_ID', 'comment_type', + * 'user_id', 'comment__in', 'meta_value', 'meta_value_num', + * the value of $meta_key, and the array keys of + * `$meta_query`. Also accepts false, an empty array, or + * 'none' to disable `ORDER BY` clause. + * Default: 'comment_date_gmt'. + * @type string $order How to order retrieved comments. Accepts 'ASC', 'DESC'. + * Default: 'DESC'. + * @type int $parent Parent ID of comment to retrieve children of. + * Default empty. + * @type array $parent__in Array of parent IDs of comments to retrieve children for. + * Default empty. + * @type array $parent__not_in Array of parent IDs of comments *not* to retrieve + * children for. Default empty. + * @type array $post_author__in Array of author IDs to retrieve comments for. + * Default empty. + * @type array $post_author__not_in Array of author IDs *not* to retrieve comments for. + * Default empty. + * @type int $post_ID Currently unused. + * @type int $post_id Limit results to those affiliated with a given post ID. + * Default 0. + * @type array $post__in Array of post IDs to include affiliated comments for. + * Default empty. + * @type array $post__not_in Array of post IDs to exclude affiliated comments for. + * Default empty. + * @type int $post_author Comment author ID to limit results by. Default empty. + * @type string $post_status Post status to retrieve affiliated comments for. + * Default empty. + * @type string $post_type Post type to retrieve affiliated comments for. + * Default empty. + * @type string $post_name Post name to retrieve affiliated comments for. + * Default empty. + * @type int $post_parent Post parent ID to retrieve affiliated comments for. + * Default empty. + * @type string $search Search term(s) to retrieve matching comments for. + * Default empty. + * @type string $status Comment status to limit results by. Accepts 'hold' + * (`comment_status=0`), 'approve' (`comment_status=1`), + * 'all', or a custom comment status. Default 'all'. + * @type string|array $type Include comments of a given type, or array of types. + * Accepts 'comment', 'pings' (includes 'pingback' and + * 'trackback'), or anycustom type string. Default empty. + * @type array $type__in Include comments from a given array of comment types. + * Default empty. + * @type array $type__not_in Exclude comments from a given array of comment types. + * Default empty. + * @type int $user_id Include comments for a specific user ID. Default empty. + * @type bool|string $hierarchical Whether to include comment descendants in the results. + * 'threaded' returns a tree, with each comment's children + * stored in a `children` property on the `WP_Comment` + * object. 'flat' returns a flat array of found comments plus + * their children. Pass `false` to leave out descendants. + * The parameter is ignored (forced to `false`) when + * `$fields` is 'ids' or 'counts'. Accepts 'threaded', + * 'flat', or false. Default: false. + * @type bool $update_comment_meta_cache Whether to prime the metadata cache for found comments. + * Default true. + * @type bool $update_comment_post_cache Whether to prime the cache for comment posts. + * Default false. + * } + */ + public function __construct( $query = '' ) { + $this->query_var_defaults = array( + 'author_email' => '', + 'author__in' => '', + 'author__not_in' => '', + 'include_unapproved' => '', + 'fields' => '', + 'ID' => '', + 'comment__in' => '', + 'comment__not_in' => '', + 'karma' => '', + 'number' => '', + 'offset' => '', + 'no_found_rows' => true, + 'orderby' => '', + 'order' => 'DESC', + 'parent' => '', + 'post_author__in' => '', + 'post_author__not_in' => '', + 'post_ID' => '', + 'post_id' => 0, + 'post__in' => '', + 'post__not_in' => '', + 'post_author' => '', + 'post_name' => '', + 'post_parent' => '', + 'post_status' => '', + 'post_type' => '', + 'status' => 'all', + 'type' => '', + 'type__in' => '', + 'type__not_in' => '', + 'user_id' => '', + 'search' => '', + 'count' => false, + 'meta_key' => '', + 'meta_value' => '', + 'meta_query' => '', + 'date_query' => null, // See WP_Date_Query + 'hierarchical' => false, + 'update_comment_meta_cache' => true, + 'update_comment_post_cache' => false, + ); + + if ( ! empty( $query ) ) { + $this->query( $query ); + } + } + + /** + * Parse arguments passed to the comment query with default query parameters. + * + * @since 4.2.0 Extracted from WP_Comment_Query::query(). + * + * @access public + * + * @param string|array $query WP_Comment_Query arguments. See WP_Comment_Query::__construct() + */ + public function parse_query( $query = '' ) { + if ( empty( $query ) ) { + $query = $this->query_vars; + } + + $this->query_vars = wp_parse_args( $query, $this->query_var_defaults ); + do_action_ref_array( 'parse_comment_query', array( &$this ) ); + } + + /** + * Sets up the WordPress query for retrieving comments. + * + * @since 3.1.0 + * @since 4.1.0 Introduced 'comment__in', 'comment__not_in', 'post_author__in', + * 'post_author__not_in', 'author__in', 'author__not_in', 'post__in', + * 'post__not_in', 'include_unapproved', 'type__in', and 'type__not_in' + * arguments to $query_vars. + * @since 4.2.0 Moved parsing to WP_Comment_Query::parse_query(). + * @access public + * + * @param string|array $query Array or URL query string of parameters. + * @return array|int List of comments, or number of comments when 'count' is passed as a query var. + */ + public function query( $query ) { + $this->query_vars = wp_parse_args( $query ); + return $this->get_comments(); + } + + /** + * Get a list of comments matching the query vars. + * + * @since 4.2.0 + * @access public + * + * @global wpdb $wpdb WordPress database abstraction object. + * + * @return int|array The list of comments. + */ + public function get_comments() { + global $wpdb; + + $this->parse_query(); + + // Parse meta query + $this->meta_query = new WP_Meta_Query(); + $this->meta_query->parse_query_vars( $this->query_vars ); + + /** + * Fires before comments are retrieved. + * + * @since 3.1.0 + * + * @param WP_Comment_Query &$this Current instance of WP_Comment_Query, passed by reference. + */ + do_action_ref_array( 'pre_get_comments', array( &$this ) ); + + // Reparse query vars, in case they were modified in a 'pre_get_comments' callback. + $this->meta_query->parse_query_vars( $this->query_vars ); + if ( ! empty( $this->meta_query->queries ) ) { + $this->meta_query_clauses = $this->meta_query->get_sql( 'comment', $wpdb->comments, 'comment_ID', $this ); + } + + // $args can include anything. Only use the args defined in the query_var_defaults to compute the key. + $key = md5( serialize( wp_array_slice_assoc( $this->query_vars, array_keys( $this->query_var_defaults ) ) ) ); + $last_changed = wp_cache_get( 'last_changed', 'comment' ); + if ( ! $last_changed ) { + $last_changed = microtime(); + wp_cache_set( 'last_changed', $last_changed, 'comment' ); + } + $cache_key = "get_comment_ids:$key:$last_changed"; + + $comment_ids = wp_cache_get( $cache_key, 'comment' ); + if ( false === $comment_ids ) { + $comment_ids = $this->get_comment_ids(); + wp_cache_add( $cache_key, $comment_ids, 'comment' ); + } + + // If querying for a count only, there's nothing more to do. + if ( $this->query_vars['count'] ) { + // $comment_ids is actually a count in this case. + return intval( $comment_ids ); + } + + $comment_ids = array_map( 'intval', $comment_ids ); + + $this->comment_count = count( $this->comments ); + + if ( $comment_ids && $this->query_vars['number'] && ! $this->query_vars['no_found_rows'] ) { + /** + * Filter the query used to retrieve found comment count. + * + * @since 4.4.0 + * + * @param string $found_comments_query SQL query. Default 'SELECT FOUND_ROWS()'. + * @param WP_Comment_Query $comment_query The `WP_Comment_Query` instance. + */ + $found_comments_query = apply_filters( 'found_comments_query', 'SELECT FOUND_ROWS()', $this ); + $this->found_comments = (int) $wpdb->get_var( $found_comments_query ); + + $this->max_num_pages = ceil( $this->found_comments / $this->query_vars['number'] ); + } + + if ( 'ids' == $this->query_vars['fields'] ) { + $this->comments = $comment_ids; + return $this->comments; + } + + _prime_comment_caches( $comment_ids, $this->query_vars['update_comment_meta_cache'] ); + + // Fetch full comment objects from the primed cache. + $_comments = array(); + foreach ( $comment_ids as $comment_id ) { + if ( $_comment = get_comment( $comment_id ) ) { + $_comments[] = $_comment; + } + } + + // Prime comment post caches. + if ( $this->query_vars['update_comment_post_cache'] ) { + $comment_post_ids = array(); + foreach ( $_comments as $_comment ) { + $comment_post_ids[] = $_comment->comment_post_ID; + } + + _prime_post_caches( $comment_post_ids, false, false ); + } + + /** + * Filter the comment query results. + * + * @since 3.1.0 + * + * @param array $results An array of comments. + * @param WP_Comment_Query &$this Current instance of WP_Comment_Query, passed by reference. + */ + $_comments = apply_filters_ref_array( 'the_comments', array( $_comments, &$this ) ); + + // Convert to WP_Comment instances + $comments = array_map( 'get_comment', $_comments ); + + if ( $this->query_vars['hierarchical'] ) { + $comments = $this->fill_descendants( $comments ); + } + + $this->comments = $comments; + return $this->comments; + } + + /** + * Used internally to get a list of comment IDs matching the query vars. + * + * @since 4.4.0 + * @access protected + * + * @global wpdb $wpdb WordPress database abstraction object. + */ + protected function get_comment_ids() { + global $wpdb; + + // Assemble clauses related to 'comment_approved'. + $approved_clauses = array(); + + // 'status' accepts an array or a comma-separated string. + $status_clauses = array(); + $statuses = $this->query_vars['status']; + if ( ! is_array( $statuses ) ) { + $statuses = preg_split( '/[\s,]+/', $statuses ); + } + + // 'any' overrides other statuses. + if ( ! in_array( 'any', $statuses ) ) { + foreach ( $statuses as $status ) { + switch ( $status ) { + case 'hold' : + $status_clauses[] = "comment_approved = '0'"; + break; + + case 'approve' : + $status_clauses[] = "comment_approved = '1'"; + break; + + case 'all' : + case '' : + $status_clauses[] = "( comment_approved = '0' OR comment_approved = '1' )"; + break; + + default : + $status_clauses[] = $wpdb->prepare( "comment_approved = %s", $status ); + break; + } + } + + if ( ! empty( $status_clauses ) ) { + $approved_clauses[] = '( ' . implode( ' OR ', $status_clauses ) . ' )'; + } + } + + // User IDs or emails whose unapproved comments are included, regardless of $status. + if ( ! empty( $this->query_vars['include_unapproved'] ) ) { + $include_unapproved = $this->query_vars['include_unapproved']; + + // Accepts arrays or comma-separated strings. + if ( ! is_array( $include_unapproved ) ) { + $include_unapproved = preg_split( '/[\s,]+/', $include_unapproved ); + } + + $unapproved_ids = $unapproved_emails = array(); + foreach ( $include_unapproved as $unapproved_identifier ) { + // Numeric values are assumed to be user ids. + if ( is_numeric( $unapproved_identifier ) ) { + $approved_clauses[] = $wpdb->prepare( "( user_id = %d AND comment_approved = '0' )", $unapproved_identifier ); + + // Otherwise we match against email addresses. + } else { + $approved_clauses[] = $wpdb->prepare( "( comment_author_email = %s AND comment_approved = '0' )", $unapproved_identifier ); + } + } + } + + // Collapse comment_approved clauses into a single OR-separated clause. + if ( ! empty( $approved_clauses ) ) { + if ( 1 === count( $approved_clauses ) ) { + $this->sql_clauses['where']['approved'] = $approved_clauses[0]; + } else { + $this->sql_clauses['where']['approved'] = '( ' . implode( ' OR ', $approved_clauses ) . ' )'; + } + } + + $order = ( 'ASC' == strtoupper( $this->query_vars['order'] ) ) ? 'ASC' : 'DESC'; + + // Disable ORDER BY with 'none', an empty array, or boolean false. + if ( in_array( $this->query_vars['orderby'], array( 'none', array(), false ), true ) ) { + $orderby = ''; + } elseif ( ! empty( $this->query_vars['orderby'] ) ) { + $ordersby = is_array( $this->query_vars['orderby'] ) ? + $this->query_vars['orderby'] : + preg_split( '/[,\s]/', $this->query_vars['orderby'] ); + + $orderby_array = array(); + $found_orderby_comment_ID = false; + foreach ( $ordersby as $_key => $_value ) { + if ( ! $_value ) { + continue; + } + + if ( is_int( $_key ) ) { + $_orderby = $_value; + $_order = $order; + } else { + $_orderby = $_key; + $_order = $_value; + } + + if ( ! $found_orderby_comment_ID && in_array( $_orderby, array( 'comment_ID', 'comment__in' ) ) ) { + $found_orderby_comment_ID = true; + } + + $parsed = $this->parse_orderby( $_orderby ); + + if ( ! $parsed ) { + continue; + } + + if ( 'comment__in' === $_orderby ) { + $orderby_array[] = $parsed; + continue; + } + + $orderby_array[] = $parsed . ' ' . $this->parse_order( $_order ); + } + + // If no valid clauses were found, order by comment_date_gmt. + if ( empty( $orderby_array ) ) { + $orderby_array[] = "$wpdb->comments.comment_date_gmt $order"; + } + + // To ensure determinate sorting, always include a comment_ID clause. + if ( ! $found_orderby_comment_ID ) { + $comment_ID_order = ''; + + // Inherit order from comment_date or comment_date_gmt, if available. + foreach ( $orderby_array as $orderby_clause ) { + if ( preg_match( '/comment_date(?:_gmt)*\ (ASC|DESC)/', $orderby_clause, $match ) ) { + $comment_ID_order = $match[1]; + break; + } + } + + // If no date-related order is available, use the date from the first available clause. + if ( ! $comment_ID_order ) { + foreach ( $orderby_array as $orderby_clause ) { + if ( false !== strpos( 'ASC', $orderby_clause ) ) { + $comment_ID_order = 'ASC'; + } else { + $comment_ID_order = 'DESC'; + } + + break; + } + } + + // Default to DESC. + if ( ! $comment_ID_order ) { + $comment_ID_order = 'DESC'; + } + + $orderby_array[] = "$wpdb->comments.comment_ID $comment_ID_order"; + } + + $orderby = implode( ', ', $orderby_array ); + } else { + $orderby = "$wpdb->comments.comment_date_gmt $order"; + } + + $number = absint( $this->query_vars['number'] ); + $offset = absint( $this->query_vars['offset'] ); + + if ( ! empty( $number ) ) { + if ( $offset ) { + $limits = 'LIMIT ' . $offset . ',' . $number; + } else { + $limits = 'LIMIT ' . $number; + } + } + + if ( $this->query_vars['count'] ) { + $fields = 'COUNT(*)'; + } else { + $fields = "$wpdb->comments.comment_ID"; + } + + $post_id = absint( $this->query_vars['post_id'] ); + if ( ! empty( $post_id ) ) { + $this->sql_clauses['where']['post_id'] = $wpdb->prepare( 'comment_post_ID = %d', $post_id ); + } + + // Parse comment IDs for an IN clause. + if ( ! empty( $this->query_vars['comment__in'] ) ) { + $this->sql_clauses['where']['comment__in'] = "$wpdb->comments.comment_ID IN ( " . implode( ',', wp_parse_id_list( $this->query_vars['comment__in'] ) ) . ' )'; + } + + // Parse comment IDs for a NOT IN clause. + if ( ! empty( $this->query_vars['comment__not_in'] ) ) { + $this->sql_clauses['where']['comment__not_in'] = "$wpdb->comments.comment_ID NOT IN ( " . implode( ',', wp_parse_id_list( $this->query_vars['comment__not_in'] ) ) . ' )'; + } + + // Parse comment parent IDs for an IN clause. + if ( ! empty( $this->query_vars['parent__in'] ) ) { + $this->sql_clauses['where']['parent__in'] = 'comment_parent IN ( ' . implode( ',', wp_parse_id_list( $this->query_vars['parent__in'] ) ) . ' )'; + } + + // Parse comment parent IDs for a NOT IN clause. + if ( ! empty( $this->query_vars['parent__not_in'] ) ) { + $this->sql_clauses['where']['parent__not_in'] = 'comment_parent NOT IN ( ' . implode( ',', wp_parse_id_list( $this->query_vars['parent__not_in'] ) ) . ' )'; + } + + // Parse comment post IDs for an IN clause. + if ( ! empty( $this->query_vars['post__in'] ) ) { + $this->sql_clauses['where']['post__in'] = 'comment_post_ID IN ( ' . implode( ',', wp_parse_id_list( $this->query_vars['post__in'] ) ) . ' )'; + } + + // Parse comment post IDs for a NOT IN clause. + if ( ! empty( $this->query_vars['post__not_in'] ) ) { + $this->sql_clauses['where']['post__not_in'] = 'comment_post_ID NOT IN ( ' . implode( ',', wp_parse_id_list( $this->query_vars['post__not_in'] ) ) . ' )'; + } + + if ( '' !== $this->query_vars['author_email'] ) { + $this->sql_clauses['where']['author_email'] = $wpdb->prepare( 'comment_author_email = %s', $this->query_vars['author_email'] ); + } + + if ( '' !== $this->query_vars['karma'] ) { + $this->sql_clauses['where']['karma'] = $wpdb->prepare( 'comment_karma = %d', $this->query_vars['karma'] ); + } + + // Filtering by comment_type: 'type', 'type__in', 'type__not_in'. + $raw_types = array( + 'IN' => array_merge( (array) $this->query_vars['type'], (array) $this->query_vars['type__in'] ), + 'NOT IN' => (array) $this->query_vars['type__not_in'], + ); + + $comment_types = array(); + foreach ( $raw_types as $operator => $_raw_types ) { + $_raw_types = array_unique( $_raw_types ); + + foreach ( $_raw_types as $type ) { + switch ( $type ) { + // An empty translates to 'all', for backward compatibility + case '': + case 'all' : + break; + + case 'comment': + case 'comments': + $comment_types[ $operator ][] = "''"; + break; + + case 'pings': + $comment_types[ $operator ][] = "'pingback'"; + $comment_types[ $operator ][] = "'trackback'"; + break; + + default: + $comment_types[ $operator ][] = $wpdb->prepare( '%s', $type ); + break; + } + } + + if ( ! empty( $comment_types[ $operator ] ) ) { + $types_sql = implode( ', ', $comment_types[ $operator ] ); + $this->sql_clauses['where']['comment_type__' . strtolower( str_replace( ' ', '_', $operator ) ) ] = "comment_type $operator ($types_sql)"; + } + } + + if ( $this->query_vars['hierarchical'] && ! $this->query_vars['parent'] ) { + $this->query_vars['parent'] = 0; + } + + if ( '' !== $this->query_vars['parent'] ) { + $this->sql_clauses['where']['parent'] = $wpdb->prepare( 'comment_parent = %d', $this->query_vars['parent'] ); + } + + if ( is_array( $this->query_vars['user_id'] ) ) { + $this->sql_clauses['where']['user_id'] = 'user_id IN (' . implode( ',', array_map( 'absint', $this->query_vars['user_id'] ) ) . ')'; + } elseif ( '' !== $this->query_vars['user_id'] ) { + $this->sql_clauses['where']['user_id'] = $wpdb->prepare( 'user_id = %d', $this->query_vars['user_id'] ); + } + + if ( '' !== $this->query_vars['search'] ) { + $search_sql = $this->get_search_sql( + $this->query_vars['search'], + array( 'comment_author', 'comment_author_email', 'comment_author_url', 'comment_author_IP', 'comment_content' ) + ); + + // Strip leading 'AND'. + $this->sql_clauses['where']['search'] = preg_replace( '/^\s*AND\s*/', '', $search_sql ); + } + + // If any post-related query vars are passed, join the posts table. + $join_posts_table = false; + $plucked = wp_array_slice_assoc( $this->query_vars, array( 'post_author', 'post_name', 'post_parent', 'post_status', 'post_type' ) ); + $post_fields = array_filter( $plucked ); + + if ( ! empty( $post_fields ) ) { + $join_posts_table = true; + foreach ( $post_fields as $field_name => $field_value ) { + // $field_value may be an array. + $esses = array_fill( 0, count( (array) $field_value ), '%s' ); + $this->sql_clauses['where']['post_fields'] = $wpdb->prepare( " {$wpdb->posts}.{$field_name} IN (" . implode( ',', $esses ) . ')', $field_value ); + } + } + + // Comment author IDs for an IN clause. + if ( ! empty( $this->query_vars['author__in'] ) ) { + $this->sql_clauses['where']['author__in'] = 'user_id IN ( ' . implode( ',', wp_parse_id_list( $this->query_vars['author__in'] ) ) . ' )'; + } + + // Comment author IDs for a NOT IN clause. + if ( ! empty( $this->query_vars['author__not_in'] ) ) { + $this->sql_clauses['where']['author__not_in'] = 'user_id NOT IN ( ' . implode( ',', wp_parse_id_list( $this->query_vars['author__not_in'] ) ) . ' )'; + } + + // Post author IDs for an IN clause. + if ( ! empty( $this->query_vars['post_author__in'] ) ) { + $join_posts_table = true; + $this->sql_clauses['where']['post_author__in'] = 'post_author IN ( ' . implode( ',', wp_parse_id_list( $this->query_vars['post_author__in'] ) ) . ' )'; + } + + // Post author IDs for a NOT IN clause. + if ( ! empty( $this->query_vars['post_author__not_in'] ) ) { + $join_posts_table = true; + $this->sql_clauses['where']['post_author__not_in'] = 'post_author NOT IN ( ' . implode( ',', wp_parse_id_list( $this->query_vars['post_author__not_in'] ) ) . ' )'; + } + + $join = ''; + + if ( $join_posts_table ) { + $join .= "JOIN $wpdb->posts ON $wpdb->posts.ID = $wpdb->comments.comment_post_ID"; + } + + if ( ! empty( $this->meta_query_clauses ) ) { + $join .= $this->meta_query_clauses['join']; + + // Strip leading 'AND'. + $this->sql_clauses['where']['meta_query'] = preg_replace( '/^\s*AND\s*/', '', $this->meta_query_clauses['where'] ); + + if ( ! $this->query_vars['count'] ) { + $groupby = "{$wpdb->comments}.comment_ID"; + } + } + + $date_query = $this->query_vars['date_query']; + if ( ! empty( $date_query ) && is_array( $date_query ) ) { + $date_query_object = new WP_Date_Query( $date_query, 'comment_date' ); + $this->sql_clauses['where']['date_query'] = preg_replace( '/^\s*AND\s*/', '', $date_query_object->get_sql() ); + } + + $where = implode( ' AND ', $this->sql_clauses['where'] ); + + $pieces = array( 'fields', 'join', 'where', 'orderby', 'limits', 'groupby' ); + /** + * Filter the comment query clauses. + * + * @since 3.1.0 + * + * @param array $pieces A compacted array of comment query clauses. + * @param WP_Comment_Query &$this Current instance of WP_Comment_Query, passed by reference. + */ + $clauses = apply_filters_ref_array( 'comments_clauses', array( compact( $pieces ), &$this ) ); + + $fields = isset( $clauses[ 'fields' ] ) ? $clauses[ 'fields' ] : ''; + $join = isset( $clauses[ 'join' ] ) ? $clauses[ 'join' ] : ''; + $where = isset( $clauses[ 'where' ] ) ? $clauses[ 'where' ] : ''; + $orderby = isset( $clauses[ 'orderby' ] ) ? $clauses[ 'orderby' ] : ''; + $limits = isset( $clauses[ 'limits' ] ) ? $clauses[ 'limits' ] : ''; + $groupby = isset( $clauses[ 'groupby' ] ) ? $clauses[ 'groupby' ] : ''; + + if ( $where ) { + $where = 'WHERE ' . $where; + } + + if ( $groupby ) { + $groupby = 'GROUP BY ' . $groupby; + } + + if ( $orderby ) { + $orderby = "ORDER BY $orderby"; + } + + $found_rows = ''; + if ( ! $this->query_vars['no_found_rows'] ) { + $found_rows = 'SQL_CALC_FOUND_ROWS'; + } + + $this->sql_clauses['select'] = "SELECT $found_rows $fields"; + $this->sql_clauses['from'] = "FROM $wpdb->comments $join"; + $this->sql_clauses['groupby'] = $groupby; + $this->sql_clauses['orderby'] = $orderby; + $this->sql_clauses['limits'] = $limits; + + $this->request = "{$this->sql_clauses['select']} {$this->sql_clauses['from']} {$where} {$this->sql_clauses['groupby']} {$this->sql_clauses['orderby']} {$this->sql_clauses['limits']}"; + + if ( $this->query_vars['count'] ) { + return intval( $wpdb->get_var( $this->request ) ); + } else { + $comment_ids = $wpdb->get_col( $this->request ); + return array_map( 'intval', $comment_ids ); + } + } + + /** + * Fetch descendants for located comments. + * + * Instead of calling `get_children()` separately on each child comment, we do a single set of queries to fetch + * the descendant trees for all matched top-level comments. + * + * @since 4.4.0 + * + * @param array $comments Array of top-level comments whose descendants should be filled in. + * @return array + */ + protected function fill_descendants( $comments ) { + global $wpdb; + + $levels = array( + 0 => wp_list_pluck( $comments, 'comment_ID' ), + ); + + $where_clauses = $this->sql_clauses['where']; + unset( + $where_clauses['parent'], + $where_clauses['parent__in'], + $where_clauses['parent__not_in'] + ); + + // Fetch an entire level of the descendant tree at a time. + $level = 0; + do { + $parent_ids = $levels[ $level ]; + if ( ! $parent_ids ) { + break; + } + + $where = 'WHERE ' . implode( ' AND ', $where_clauses ) . ' AND comment_parent IN (' . implode( ',', array_map( 'intval', $parent_ids ) ) . ')'; + $comment_ids = $wpdb->get_col( "{$this->sql_clauses['select']} {$this->sql_clauses['from']} {$where} {$this->sql_clauses['groupby']} ORDER BY comment_date_gmt ASC, comment_ID ASC" ); + + $level++; + $levels[ $level ] = $comment_ids; + } while ( $comment_ids ); + + // Prime comment caches for non-top-level comments. + $descendant_ids = array(); + for ( $i = 1; $i < count( $levels ); $i++ ) { + $descendant_ids = array_merge( $descendant_ids, $levels[ $i ] ); + } + + _prime_comment_caches( $descendant_ids, $this->query_vars['update_comment_meta_cache'] ); + + // Assemble a flat array of all comments + descendants. + $all_comments = $comments; + foreach ( $descendant_ids as $descendant_id ) { + $all_comments[] = get_comment( $descendant_id ); + } + + // If a threaded representation was requested, build the tree. + if ( 'threaded' === $this->query_vars['hierarchical'] ) { + $threaded_comments = $ref = array(); + foreach ( $all_comments as $k => $c ) { + $_c = get_comment( $c->comment_ID ); + + // If the comment isn't in the reference array, it goes in the top level of the thread. + if ( ! isset( $ref[ $c->comment_parent ] ) ) { + $threaded_comments[ $_c->comment_ID ] = $_c; + $ref[ $_c->comment_ID ] = $threaded_comments[ $_c->comment_ID ]; + + // Otherwise, set it as a child of its parent. + } else { + + $ref[ $_c->comment_parent ]->add_child( $_c ); + $ref[ $_c->comment_ID ] = $ref[ $_c->comment_parent ]->get_child( $_c->comment_ID ); + } + } + + // Set the 'populated_children' flag, to ensure additional database queries aren't run. + foreach ( $ref as $_ref ) { + $_ref->populated_children( true ); + } + + $comments = $threaded_comments; + } else { + $comments = $all_comments; + } + + return $comments; + } + + /** + * Used internally to generate an SQL string for searching across multiple columns + * + * @since 3.1.0 + * @access protected + * + * @global wpdb $wpdb WordPress database abstraction object. + * + * @param string $string + * @param array $cols + * @return string + */ + protected function get_search_sql( $string, $cols ) { + global $wpdb; + + $like = '%' . $wpdb->esc_like( $string ) . '%'; + + $searches = array(); + foreach ( $cols as $col ) { + $searches[] = $wpdb->prepare( "$col LIKE %s", $like ); + } + + return ' AND (' . implode(' OR ', $searches) . ')'; + } + + /** + * Parse and sanitize 'orderby' keys passed to the comment query. + * + * @since 4.2.0 + * @access protected + * + * @global wpdb $wpdb WordPress database abstraction object. + * + * @param string $orderby Alias for the field to order by. + * @return string|false Value to used in the ORDER clause. False otherwise. + */ + protected function parse_orderby( $orderby ) { + global $wpdb; + + $allowed_keys = array( + 'comment_agent', + 'comment_approved', + 'comment_author', + 'comment_author_email', + 'comment_author_IP', + 'comment_author_url', + 'comment_content', + 'comment_date', + 'comment_date_gmt', + 'comment_ID', + 'comment_karma', + 'comment_parent', + 'comment_post_ID', + 'comment_type', + 'user_id', + ); + + if ( ! empty( $this->query_vars['meta_key'] ) ) { + $allowed_keys[] = $this->query_vars['meta_key']; + $allowed_keys[] = 'meta_value'; + $allowed_keys[] = 'meta_value_num'; + } + + $meta_query_clauses = $this->meta_query->get_clauses(); + if ( $meta_query_clauses ) { + $allowed_keys = array_merge( $allowed_keys, array_keys( $meta_query_clauses ) ); + } + + $parsed = false; + if ( $orderby == $this->query_vars['meta_key'] || $orderby == 'meta_value' ) { + $parsed = "$wpdb->commentmeta.meta_value"; + } elseif ( $orderby == 'meta_value_num' ) { + $parsed = "$wpdb->commentmeta.meta_value+0"; + } elseif ( $orderby == 'comment__in' ) { + $comment__in = implode( ',', array_map( 'absint', $this->query_vars['comment__in'] ) ); + $parsed = "FIELD( {$wpdb->comments}.comment_ID, $comment__in )"; + } elseif ( in_array( $orderby, $allowed_keys ) ) { + + if ( isset( $meta_query_clauses[ $orderby ] ) ) { + $meta_clause = $meta_query_clauses[ $orderby ]; + $parsed = sprintf( "CAST(%s.meta_value AS %s)", esc_sql( $meta_clause['alias'] ), esc_sql( $meta_clause['cast'] ) ); + } else { + $parsed = "$wpdb->comments.$orderby"; + } + } + + return $parsed; + } + + /** + * Parse an 'order' query variable and cast it to ASC or DESC as necessary. + * + * @since 4.2.0 + * @access protected + * + * @param string $order The 'order' query variable. + * @return string The sanitized 'order' query variable. + */ + protected function parse_order( $order ) { + if ( ! is_string( $order ) || empty( $order ) ) { + return 'DESC'; + } + + if ( 'ASC' === strtoupper( $order ) ) { + return 'ASC'; + } else { + return 'DESC'; + } + } +} diff --git a/wp-includes/class-wp-comment.php b/wp-includes/class-wp-comment.php new file mode 100644 index 0000000..6319ad4 --- /dev/null +++ b/wp-includes/class-wp-comment.php @@ -0,0 +1,393 @@ +get_row( $wpdb->prepare( "SELECT * FROM $wpdb->comments WHERE comment_ID = %d LIMIT 1", $comment_id ) ); + + if ( ! $_comment ) { + return false; + } + + wp_cache_add( $_comment->comment_ID, $_comment, 'comment' ); + } + + return new WP_Comment( $_comment ); + } + + /** + * Constructor. + * + * Populates properties with object vars. + * + * @since 4.4.0 + * @access public + * + * @param WP_Comment $comment Comment object. + */ + public function __construct( $comment ) { + foreach ( get_object_vars( $comment ) as $key => $value ) { + $this->$key = $value; + } + } + + /** + * Convert object to array. + * + * @since 4.4.0 + * @access public + * + * @return array Object as array. + */ + public function to_array() { + return get_object_vars( $this ); + } + + /** + * Get the children of a comment. + * + * @since 4.4.0 + * @access public + * + * @param array $args { + * Array of arguments used to pass to get_comments() and determine format. + * + * @type string $format Return value format. 'tree' for a hierarchical tree, 'flat' for a flattened array. + * Default 'tree'. + * @type string $status Comment status to limit results by. Accepts 'hold' (`comment_status=0`), + * 'approve' (`comment_status=1`), 'all', or a custom comment status. + * Default 'all'. + * @type string $hierarchical Whether to include comment descendants in the results. + * 'threaded' returns a tree, with each comment's children + * stored in a `children` property on the `WP_Comment` object. + * 'flat' returns a flat array of found comments plus their children. + * Pass `false` to leave out descendants. + * The parameter is ignored (forced to `false`) when `$fields` is 'ids' or 'counts'. + * Accepts 'threaded', 'flat', or false. Default: 'threaded'. + * @type string|array $orderby Comment status or array of statuses. To use 'meta_value' + * or 'meta_value_num', `$meta_key` must also be defined. + * To sort by a specific `$meta_query` clause, use that + * clause's array key. Accepts 'comment_agent', + * 'comment_approved', 'comment_author', + * 'comment_author_email', 'comment_author_IP', + * 'comment_author_url', 'comment_content', 'comment_date', + * 'comment_date_gmt', 'comment_ID', 'comment_karma', + * 'comment_parent', 'comment_post_ID', 'comment_type', + * 'user_id', 'comment__in', 'meta_value', 'meta_value_num', + * the value of $meta_key, and the array keys of + * `$meta_query`. Also accepts false, an empty array, or + * 'none' to disable `ORDER BY` clause. + * } + * @return array Array of `WP_Comment` objects. + */ + public function get_children( $args = array() ) { + $defaults = array( + 'format' => 'tree', + 'status' => 'all', + 'hierarchical' => 'threaded', + 'orderby' => '', + ); + + $_args = wp_parse_args( $args, $defaults ); + $_args['parent'] = $this->comment_ID; + + if ( is_null( $this->children ) ) { + if ( $this->populated_children ) { + $this->children = array(); + } else { + $this->children = get_comments( $_args ); + } + } + + if ( 'flat' === $_args['format'] ) { + $children = array(); + foreach ( $this->children as $child ) { + $child_args = $_args; + $child_args['format'] = 'flat'; + // get_children() resets this value automatically. + unset( $child_args['parent'] ); + + $children = array_merge( $children, array( $child ), $child->get_children( $child_args ) ); + } + } else { + $children = $this->children; + } + + return $children; + } + + /** + * Add a child to the comment. + * + * Used by `WP_Comment_Query` when bulk-filling descendants. + * + * @since 4.4.0 + * @access public + * + * @param WP_Comment $child Child comment. + */ + public function add_child( WP_Comment $child ) { + $this->children[ $child->comment_ID ] = $child; + } + + /** + * Get a child comment by ID. + * + * @since 4.4.0 + * @access public + * + * @param int $child_id ID of the child. + * @return WP_Comment|bool Returns the comment object if found, otherwise false. + */ + public function get_child( $child_id ) { + if ( isset( $this->children[ $child_id ] ) ) { + return $this->children[ $child_id ]; + } + + return false; + } + + /** + * Set the 'populated_children' flag. + * + * This flag is important for ensuring that calling `get_children()` on a childless comment will not trigger + * unneeded database queries. + * + * @since 4.4.0 + */ + public function populated_children( $set ) { + $this->populated_children = (bool) $set; + } + + /** + * Check whether a non-public property is set. + * + * If `$name` matches a post field, the comment post will be loaded and the post's value checked. + * + * @since 4.4.0 + * @access public + * + * @param string $name Property name. + * @return bool + */ + public function __isset( $name ) { + if ( in_array( $name, $this->post_fields ) && 0 !== (int) $this->comment_post_ID ) { + $post = get_post( $this->comment_post_ID ); + return property_exists( $post, $name ); + } + } + + /** + * Magic getter. + * + * If `$name` matches a post field, the comment post will be loaded and the post's value returned. + * + * @since 4.4.0 + * @access public + * + * @param string $name + * @return mixed + */ + public function __get( $name ) { + if ( in_array( $name, $this->post_fields ) ) { + $post = get_post( $this->comment_post_ID ); + return $post->$name; + } + } +} diff --git a/wp-includes/class-wp-customize-control.php b/wp-includes/class-wp-customize-control.php index 1e62146..3027a7b 100644 --- a/wp-includes/class-wp-customize-control.php +++ b/wp-includes/class-wp-customize-control.php @@ -344,7 +344,7 @@ class WP_Customize_Control { * @since 3.4.0 */ protected function render() { - $id = 'customize-control-' . str_replace( '[', '-', str_replace( ']', '', $this->id ) ); + $id = 'customize-control-' . str_replace( array( '[', ']' ), array( '-', '' ), $this->id ); $class = 'customize-control customize-control-' . $this->type; ?>
            • @@ -386,7 +386,7 @@ class WP_Customize_Control { * @access public */ public function input_attrs() { - foreach( $this->input_attrs as $attr => $value ) { + foreach ( $this->input_attrs as $attr => $value ) { echo $attr . '="' . esc_attr( $value ) . '" '; } } @@ -474,7 +474,16 @@ class WP_Customize_Control { + + @@ -542,1430 +549,53 @@ class WP_Customize_Control { } -/** - * Customize Color Control class. - * - * @since 3.4.0 - * - * @see WP_Customize_Control - */ -class WP_Customize_Color_Control extends WP_Customize_Control { - /** - * @access public - * @var string - */ - public $type = 'color'; +/** WP_Customize_Color_Control class */ +require_once( ABSPATH . WPINC . '/customize/class-wp-customize-color-control.php' ); - /** - * @access public - * @var array - */ - public $statuses; +/** WP_Customize_Media_Control class */ +require_once( ABSPATH . WPINC . '/customize/class-wp-customize-media-control.php' ); - /** - * Constructor. - * - * @since 3.4.0 - * @uses WP_Customize_Control::__construct() - * - * @param WP_Customize_Manager $manager Customizer bootstrap instance. - * @param string $id Control ID. - * @param array $args Optional. Arguments to override class property defaults. - */ - public function __construct( $manager, $id, $args = array() ) { - $this->statuses = array( '' => __('Default') ); - parent::__construct( $manager, $id, $args ); - } +/** WP_Customize_Upload_Control class */ +require_once( ABSPATH . WPINC . '/customize/class-wp-customize-upload-control.php' ); - /** - * Enqueue scripts/styles for the color picker. - * - * @since 3.4.0 - */ - public function enqueue() { - wp_enqueue_script( 'wp-color-picker' ); - wp_enqueue_style( 'wp-color-picker' ); - } +/** WP_Customize_Image_Control class */ +require_once( ABSPATH . WPINC . '/customize/class-wp-customize-image-control.php' ); - /** - * Refresh the parameters passed to the JavaScript via JSON. - * - * @since 3.4.0 - * @uses WP_Customize_Control::to_json() - */ - public function to_json() { - parent::to_json(); - $this->json['statuses'] = $this->statuses; - $this->json['defaultValue'] = $this->setting->default; - } +/** WP_Customize_Background_Image_Control class */ +require_once( ABSPATH . WPINC . '/customize/class-wp-customize-background-image-control.php' ); - /** - * Don't render the control content from PHP, as it's rendered via JS on load. - * - * @since 3.4.0 - */ - public function render_content() {} +/** WP_Customize_Cropped_Image_Control class */ +require_once( ABSPATH . WPINC . '/customize/class-wp-customize-cropped-image-control.php' ); - /** - * Render a JS template for the content of the color picker control. - * - * @since 4.1.0 - */ - public function content_template() { - ?> - <# var defaultValue = ''; - if ( data.defaultValue ) { - if ( '#' !== data.defaultValue.substring( 0, 1 ) ) { - defaultValue = '#' + data.defaultValue; - } else { - defaultValue = data.defaultValue; - } - defaultValue = ' data-default-color=' + defaultValue; // Quotes added automatically. - } #> - - button_labels = array( - 'select' => __( 'Select File' ), - 'change' => __( 'Change File' ), - 'default' => __( 'Default' ), - 'remove' => __( 'Remove' ), - 'placeholder' => __( 'No file selected' ), - 'frame_title' => __( 'Select File' ), - 'frame_button' => __( 'Choose File' ), - ); - } +/** WP_Customize_Nav_Menu_Control class */ +require_once( ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-control.php' ); - /** - * Enqueue control related scripts/styles. - * - * @since 3.4.0 - * @since 4.2.0 Moved from WP_Customize_Upload_Control. - */ - public function enqueue() { - wp_enqueue_media(); - } +/** WP_Customize_Nav_Menu_Item_Control class */ +require_once( ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-item-control.php' ); - /** - * Refresh the parameters passed to the JavaScript via JSON. - * - * @since 3.4.0 - * @since 4.2.0 Moved from WP_Customize_Upload_Control. - * - * @see WP_Customize_Control::to_json() - */ - public function to_json() { - parent::to_json(); - $this->json['label'] = html_entity_decode( $this->label, ENT_QUOTES, get_bloginfo( 'charset' ) ); - $this->json['mime_type'] = $this->mime_type; - $this->json['button_labels'] = $this->button_labels; - $this->json['canUpload'] = current_user_can( 'upload_files' ); +/** WP_Customize_Nav_Menu_Location_Control class */ +require_once( ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-location-control.php' ); - $value = $this->value(); +/** WP_Customize_Nav_Menu_Name_Control class */ +require_once( ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-name-control.php' ); - if ( is_object( $this->setting ) ) { - if ( $this->setting->default ) { - // Fake an attachment model - needs all fields used by template. - // Note that the default value must be a URL, NOT an attachment ID. - $type = in_array( substr( $this->setting->default, -3 ), array( 'jpg', 'png', 'gif', 'bmp' ) ) ? 'image' : 'document'; - $default_attachment = array( - 'id' => 1, - 'url' => $this->setting->default, - 'type' => $type, - 'icon' => wp_mime_type_icon( $type ), - 'title' => basename( $this->setting->default ), - ); +/** WP_Customize_Nav_Menu_Auto_Add_Control class */ +require_once( ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-auto-add-control.php' ); - if ( 'image' === $type ) { - $default_attachment['sizes'] = array( - 'full' => array( 'url' => $this->setting->default ), - ); - } - - $this->json['defaultAttachment'] = $default_attachment; - } - - if ( $value && $this->setting->default && $value === $this->setting->default ) { - // Set the default as the attachment. - $this->json['attachment'] = $this->json['defaultAttachment']; - } elseif ( $value ) { - $this->json['attachment'] = wp_prepare_attachment_for_js( $value ); - } - } - } - - /** - * Don't render any content for this control from PHP. - * - * @since 3.4.0 - * @since 4.2.0 Moved from WP_Customize_Upload_Control. - * - * @see WP_Customize_Media_Control::content_template() - */ - public function render_content() {} - - /** - * Render a JS template for the content of the media control. - * - * @since 4.1.0 - * @since 4.2.0 Moved from WP_Customize_Upload_Control. - */ - public function content_template() { - ?> - - - <# if ( data.attachment && data.attachment.id ) { #> -
              -
              -
              -
              - <# if ( 'image' === data.attachment.type && data.attachment.sizes && data.attachment.sizes.medium ) { #> - - <# } else if ( 'image' === data.attachment.type && data.attachment.sizes && data.attachment.sizes.full ) { #> - - <# } else if ( 'audio' === data.attachment.type ) { #> - <# if ( data.attachment.image && data.attachment.image.src && data.attachment.image.src !== data.attachment.icon ) { #> - - <# } else { #> - - <# } #> -

              “{{ data.attachment.title }}”

              - <# if ( data.attachment.album || data.attachment.meta.album ) { #> -

              {{ data.attachment.album || data.attachment.meta.album }}

              - <# } #> - <# if ( data.attachment.artist || data.attachment.meta.artist ) { #> -

              {{ data.attachment.artist || data.attachment.meta.artist }}

              - <# } #> - - <# } else if ( 'video' === data.attachment.type ) { #> -
              - -
              - <# } else { #> - -

              {{ data.attachment.title }}

              - <# } #> -
              -
              -
              -
              -
              - <# if ( data.canUpload ) { #> - - -
              - <# } #> -
              - <# } else { #> -
              -
              -
              -
              - - button_labels['placeholder']; ?> - -
              -
              -
              -
              -
              - <# if ( data.defaultAttachment ) { #> - - <# } #> - <# if ( data.canUpload ) { #> - - <# } #> -
              -
              - <# } #> - value(); - if ( $value ) { - // Get the attachment model for the existing file. - $attachment_id = attachment_url_to_postid( $value ); - if ( $attachment_id ) { - $this->json['attachment'] = wp_prepare_attachment_for_js( $attachment_id ); - } - } - } -} - -/** - * Customize Image Control class. - * - * @since 3.4.0 - * - * @see WP_Customize_Upload_Control - */ -class WP_Customize_Image_Control extends WP_Customize_Upload_Control { - public $type = 'image'; - public $mime_type = 'image'; - - /** - * Constructor. - * - * @since 3.4.0 - * @uses WP_Customize_Upload_Control::__construct() - * - * @param WP_Customize_Manager $manager Customizer bootstrap instance. - * @param string $id Control ID. - * @param array $args Optional. Arguments to override class property defaults. - */ - public function __construct( $manager, $id, $args = array() ) { - parent::__construct( $manager, $id, $args ); - - $this->button_labels = array( - 'select' => __( 'Select Image' ), - 'change' => __( 'Change Image' ), - 'remove' => __( 'Remove' ), - 'default' => __( 'Default' ), - 'placeholder' => __( 'No image selected' ), - 'frame_title' => __( 'Select Image' ), - 'frame_button' => __( 'Choose Image' ), - ); - } - - /** - * @since 3.4.2 - * @deprecated 4.1.0 - */ - public function prepare_control() {} - - /** - * @since 3.4.0 - * @deprecated 4.1.0 - * - * @param string $id - * @param string $label - * @param mixed $callback - */ - public function add_tab( $id, $label, $callback ) {} - - /** - * @since 3.4.0 - * @deprecated 4.1.0 - * - * @param string $id - */ - public function remove_tab( $id ) {} - - /** - * @since 3.4.0 - * @deprecated 4.1.0 - * - * @param string $url - * @param string $thumbnail_url - */ - public function print_tab_image( $url, $thumbnail_url = null ) {} -} - -/** - * Customize Background Image Control class. - * - * @since 3.4.0 - * - * @see WP_Customize_Image_Control - */ -class WP_Customize_Background_Image_Control extends WP_Customize_Image_Control { - public $type = 'background'; - - /** - * Constructor. - * - * @since 3.4.0 - * @uses WP_Customize_Image_Control::__construct() - * - * @param WP_Customize_Manager $manager Customizer bootstrap instance. - */ - public function __construct( $manager ) { - parent::__construct( $manager, 'background_image', array( - 'label' => __( 'Background Image' ), - 'section' => 'background_image', - ) ); - } - - /** - * Enqueue control related scripts/styles. - * - * @since 4.1.0 - */ - public function enqueue() { - parent::enqueue(); - - wp_localize_script( 'customize-controls', '_wpCustomizeBackground', array( - 'nonces' => array( - 'add' => wp_create_nonce( 'background-add' ), - ), - ) ); - } -} - -/** - * Customize Cropped Image Control class. - * - * @since 4.3.0 - * - * @see WP_Customize_Media_Control - */ -class WP_Customize_Cropped_Image_Control extends WP_Customize_Media_Control { - - /** - * Control type. - * - * @since 4.3.0 - * @access public - * @var string - */ - public $type = 'cropped_image'; - - /** - * Suggested width for cropped image. - * - * @since 4.3.0 - * @access public - * @var int - */ - public $width = 150; - - /** - * Suggested height for cropped image. - * - * @since 4.3.0 - * @access public - * @var int - */ - public $height = 150; - - /** - * Whether the width is flexible. - * - * @since 4.3.0 - * @access public - * @var bool - */ - public $flex_width = false; - - /** - * Whether the height is flexible. - * - * @since 4.3.0 - * @access public - * @var bool - */ - public $flex_height = false; - - /** - * Enqueue control related scripts/styles. - * - * @since 4.3.0 - * @access public - */ - public function enqueue() { - wp_enqueue_script( 'customize-views' ); - - parent::enqueue(); - } - - /** - * Refresh the parameters passed to the JavaScript via JSON. - * - * @since 4.3.0 - * @access public - * - * @see WP_Customize_Control::to_json() - */ - public function to_json() { - parent::to_json(); - - $this->json['width'] = absint( $this->width ); - $this->json['height'] = absint( $this->height ); - $this->json['flex_width'] = absint( $this->flex_width ); - $this->json['flex_height'] = absint( $this->flex_height ); - } - -} - -/** - * Customize Site Icon control class. - * - * Used only for custom functionality in JavaScript. - * - * @since 4.3.0 - * - * @see WP_Customize_Cropped_Image_Control - */ -class WP_Customize_Site_Icon_Control extends WP_Customize_Cropped_Image_Control { - - /** - * Control type. - * - * @since 4.3.0 - * @access public - * @var string - */ - public $type = 'site_icon'; - - /** - * Constructor. - * - * @since 4.3.0 - * @access public - * - * @param WP_Customize_Manager $manager Customizer bootstrap instance. - * @param string $id Control ID. - * @param array $args Optional. Arguments to override class property defaults. - */ - public function __construct( $manager, $id, $args = array() ) { - parent::__construct( $manager, $id, $args ); - add_action( 'customize_controls_print_styles', 'wp_site_icon', 99 ); - } -} - -/** - * Customize Header Image Control class. - * - * @since 3.4.0 - * - * @see WP_Customize_Image_Control - */ -class WP_Customize_Header_Image_Control extends WP_Customize_Image_Control { - public $type = 'header'; - public $uploaded_headers; - public $default_headers; - - /** - * Constructor. - * - * @since 3.4.0 - * - * @param WP_Customize_Manager $manager Customizer bootstrap instance. - */ - public function __construct( $manager ) { - parent::__construct( $manager, 'header_image', array( - 'label' => __( 'Header Image' ), - 'settings' => array( - 'default' => 'header_image', - 'data' => 'header_image_data', - ), - 'section' => 'header_image', - 'removed' => 'remove-header', - 'get_url' => 'get_header_image', - ) ); - - } - - /** - * @access public - */ - public function enqueue() { - wp_enqueue_media(); - wp_enqueue_script( 'customize-views' ); - - $this->prepare_control(); - - wp_localize_script( 'customize-views', '_wpCustomizeHeader', array( - 'data' => array( - 'width' => absint( get_theme_support( 'custom-header', 'width' ) ), - 'height' => absint( get_theme_support( 'custom-header', 'height' ) ), - 'flex-width' => absint( get_theme_support( 'custom-header', 'flex-width' ) ), - 'flex-height' => absint( get_theme_support( 'custom-header', 'flex-height' ) ), - 'currentImgSrc' => $this->get_current_image_src(), - ), - 'nonces' => array( - 'add' => wp_create_nonce( 'header-add' ), - 'remove' => wp_create_nonce( 'header-remove' ), - ), - 'uploads' => $this->uploaded_headers, - 'defaults' => $this->default_headers - ) ); - - parent::enqueue(); - } - - /** - * - * @global Custom_Image_Header $custom_image_header - */ - public function prepare_control() { - global $custom_image_header; - if ( empty( $custom_image_header ) ) { - return; - } - - // Process default headers and uploaded headers. - $custom_image_header->process_default_headers(); - $this->default_headers = $custom_image_header->get_default_header_images(); - $this->uploaded_headers = $custom_image_header->get_uploaded_header_images(); - } - - /** - * @access public - */ - public function print_header_image_template() { - ?> - - - - value(); - if ( isset( $this->get_url ) ) { - $src = call_user_func( $this->get_url, $src ); - return $src; - } - } - - /** - * @access public - */ - public function render_content() { - $this->print_header_image_template(); - $visibility = $this->get_current_image_src() ? '' : ' style="display:none" '; - $width = absint( get_theme_support( 'custom-header', 'width' ) ); - $height = absint( get_theme_support( 'custom-header', 'height' ) ); - ?> -
              -

              - Add new image, your theme recommends a header size of %s × %s pixels.' ), $width, $height ); - } elseif ( $width ) { - printf( __( 'While you can crop images to your liking after clicking Add new image, your theme recommends a header width of %s pixels.' ), $width ); - } else { - printf( __( 'While you can crop images to your liking after clicking Add new image, your theme recommends a header height of %s pixels.' ), $height ); - } - ?> -

              -
              - - - -
              -
              -
              -
              - - - -
              - -
              -
              - - - -
              -
              -
              -
              - - - -
              -
              -
              -
              -
              -
              - json['theme'] = $this->theme; - } - - /** - * Don't render the control content from PHP, as it's rendered via JS on load. - * - * @since 4.2.0 - * @access public - */ - public function render_content() {} - - /** - * Render a JS template for theme display. - * - * @since 4.2.0 - * @access public - */ - public function content_template() { - $current_url = set_url_scheme( 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] ); - $active_url = esc_url( remove_query_arg( 'theme', $current_url ) ); - $preview_url = esc_url( add_query_arg( 'theme', '__THEME__', $current_url ) ); // Token because esc_url() strips curly braces. - $preview_url = str_replace( '__THEME__', '{{ data.theme.id }}', $preview_url ); - ?> - <# if ( data.theme.isActiveTheme ) { #> -
              - <# } else { #> -
              - <# } #> - - <# if ( data.theme.screenshot[0] ) { #> -
              - -
              - <# } else { #> -
              - <# } #> - - <# if ( data.theme.isActiveTheme ) { #> - - <# } else { #> - - <# } #> - -
              - - <# if ( data.theme.isActiveTheme ) { #> -

              - Active: %s' ), '{{{ data.theme.name }}}' ); - ?> -

              - <# } else { #> -

              {{{ data.theme.name }}}

              -
              - -
              - <# } #> -
              - json[ $key ] = $this->$key; - } - } - - /** - * @access public - */ - public function render_content() { - ?> - - - - - - - - - json[ $key ] = $this->$key; - } - } - - /** - * - * @global array $wp_registered_widgets - */ - public function render_content() { - global $wp_registered_widgets; - require_once ABSPATH . '/wp-admin/includes/widgets.php'; - - $widget = $wp_registered_widgets[ $this->widget_id ]; - if ( ! isset( $widget['params'][0] ) ) { - $widget['params'][0] = array(); - } - - $args = array( - 'widget_id' => $widget['id'], - 'widget_name' => $widget['name'], - ); - - $args = wp_list_widget_controls_dynamic_sidebar( array( 0 => $args, 1 => $widget['params'][0] ) ); - echo $this->manager->widgets->get_widget_control( $args ); - } - - /** - * Whether the current widget is rendered on the page. - * - * @since 4.0.0 - * @access public - * - * @return bool Whether the widget is rendered. - */ - public function active_callback() { - return $this->manager->widgets->is_widget_rendered( $this->widget_id ); - } -} - -/** - * Customize Nav Menu Control Class. - * - * @since 4.3.0 - */ -class WP_Customize_Nav_Menu_Control extends WP_Customize_Control { - - /** - * Control type. - * - * @since 4.3.0 - * @access public - * @var string - */ - public $type = 'nav_menu'; - - /** - * The nav menu setting. - * - * @since 4.3.0 - * @access public - * @var WP_Customize_Nav_Menu_Setting - */ - public $setting; - - /** - * Don't render the control's content - it uses a JS template instead. - * - * @since 4.3.0 - * @access public - */ - public function render_content() {} - - /** - * JS/Underscore template for the control UI. - * - * @since 4.3.0 - * @access public - */ - public function content_template() { - ?> - - -

              - - - - - - - setting->term_id; - - return $exported; - } -} - -/** - * Customize control to represent the name field for a given menu. - * - * @since 4.3.0 - */ -class WP_Customize_Nav_Menu_Item_Control extends WP_Customize_Control { - - /** - * Control type. - * - * @since 4.3.0 - * @access public - * @var string - */ - public $type = 'nav_menu_item'; - - /** - * The nav menu item setting. - * - * @since 4.3.0 - * @access public - * @var WP_Customize_Nav_Menu_Item_Setting - */ - public $setting; - - /** - * Constructor. - * - * @since 4.3.0 - * @access public - * - * @see WP_Customize_Control::__construct() - * - * @param WP_Customize_Manager $manager Customizer bootstrap instance. - * @param string $id The control ID. - * @param array $args Optional. Overrides class property defaults. - */ - public function __construct( $manager, $id, $args = array() ) { - parent::__construct( $manager, $id, $args ); - } - - /** - * Don't render the control's content - it's rendered with a JS template. - * - * @since 4.3.0 - * @access public - */ - public function render_content() {} - - /** - * JS/Underscore template for the control UI. - * - * @since 4.3.0 - * @access public - */ - public function content_template() { - ?> - - - - - setting->post_id; - - return $exported; - } -} - -/** - * Customize Menu Location Control Class. - * - * This custom control is only needed for JS. - * - * @since 4.3.0 - * - * @see WP_Customize_Control - */ -class WP_Customize_Nav_Menu_Location_Control extends WP_Customize_Control { - - /** - * Control type. - * - * @since 4.3.0 - * @access public - * @var string - */ - public $type = 'nav_menu_location'; - - /** - * Location ID. - * - * @since 4.3.0 - * @access public - * @var string - */ - public $location_id = ''; - - /** - * Refresh the parameters passed to JavaScript via JSON. - * - * @since 4.3.0 - * @access public - * - * @see WP_Customize_Control::to_json() - */ - public function to_json() { - parent::to_json(); - $this->json['locationId'] = $this->location_id; - } - - /** - * Render content just like a normal select control. - * - * @since 4.3.0 - * @access public - */ - public function render_content() { - if ( empty( $this->choices ) ) { - return; - } - ?> - - - - - - - - - - widgets = new WP_Customize_Widgets( $this ); - $this->nav_menus = new WP_Customize_Nav_Menus( $this ); + require_once( ABSPATH . WPINC . '/customize/class-wp-customize-color-control.php' ); + require_once( ABSPATH . WPINC . '/customize/class-wp-customize-media-control.php' ); + require_once( ABSPATH . WPINC . '/customize/class-wp-customize-upload-control.php' ); + require_once( ABSPATH . WPINC . '/customize/class-wp-customize-image-control.php' ); + require_once( ABSPATH . WPINC . '/customize/class-wp-customize-background-image-control.php' ); + require_once( ABSPATH . WPINC . '/customize/class-wp-customize-cropped-image-control.php' ); + require_once( ABSPATH . WPINC . '/customize/class-wp-customize-site-icon-control.php' ); + require_once( ABSPATH . WPINC . '/customize/class-wp-customize-header-image-control.php' ); + require_once( ABSPATH . WPINC . '/customize/class-wp-customize-theme-control.php' ); + require_once( ABSPATH . WPINC . '/customize/class-wp-widget-area-customize-control.php' ); + require_once( ABSPATH . WPINC . '/customize/class-wp-widget-form-customize-control.php' ); + require_once( ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-control.php' ); + require_once( ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-item-control.php' ); + require_once( ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-location-control.php' ); + require_once( ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-name-control.php' ); + require_once( ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-auto-add-control.php' ); + require_once( ABSPATH . WPINC . '/customize/class-wp-customize-new-menu-control.php' ); + + require_once( ABSPATH . WPINC . '/customize/class-wp-customize-nav-menus-panel.php' ); + + require_once( ABSPATH . WPINC . '/customize/class-wp-customize-themes-section.php' ); + require_once( ABSPATH . WPINC . '/customize/class-wp-customize-sidebar-section.php' ); + require_once( ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-section.php' ); + require_once( ABSPATH . WPINC . '/customize/class-wp-customize-new-menu-section.php' ); + + require_once( ABSPATH . WPINC . '/customize/class-wp-customize-filter-setting.php' ); + require_once( ABSPATH . WPINC . '/customize/class-wp-customize-header-image-setting.php' ); + require_once( ABSPATH . WPINC . '/customize/class-wp-customize-background-image-setting.php' ); + require_once( ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-item-setting.php' ); + require_once( ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-setting.php' ); + + /** + * Filter the core Customizer components to load. + * + * This allows Core components to be excluded from being instantiated by + * filtering them out of the array. Note that this filter generally runs + * during the plugins_loaded action, so it cannot be added + * in a theme. + * + * @since 4.4.0 + * + * @see WP_Customize_Manager::__construct() + * + * @param array $components List of core components to load. + * @param WP_Customize_Manager $this WP_Customize_Manager instance. + */ + $components = apply_filters( 'customize_loaded_components', array( 'widgets', 'nav_menus' ), $this ); + + if ( in_array( 'widgets', $components ) ) { + require_once( ABSPATH . WPINC . '/class-wp-customize-widgets.php' ); + $this->widgets = new WP_Customize_Widgets( $this ); + } + if ( in_array( 'nav_menus', $components ) ) { + require_once( ABSPATH . WPINC . '/class-wp-customize-nav-menus.php' ); + $this->nav_menus = new WP_Customize_Nav_Menus( $this ); + } add_filter( 'wp_die_handler', array( $this, 'wp_die_handler' ) ); @@ -139,6 +272,14 @@ final class WP_Customize_Manager { add_action( 'customize_register', array( $this, 'register_dynamic_settings' ), 11 ); // allow code to create settings first add_action( 'customize_controls_init', array( $this, 'prepare_controls' ) ); add_action( 'customize_controls_enqueue_scripts', array( $this, 'enqueue_control_scripts' ) ); + + // Render Panel, Section, and Control templates. + add_action( 'customize_controls_print_footer_scripts', array( $this, 'render_panel_templates' ), 1 ); + add_action( 'customize_controls_print_footer_scripts', array( $this, 'render_section_templates' ), 1 ); + add_action( 'customize_controls_print_footer_scripts', array( $this, 'render_control_templates' ), 1 ); + + // Export the settings to JS via the _wpCustomizeSettings variable. + add_action( 'customize_controls_print_footer_scripts', array( $this, 'customize_pane_settings' ), 1000 ); } /** @@ -218,13 +359,13 @@ final class WP_Customize_Manager { if ( is_admin() && ! $doing_ajax_or_is_customized ) { auth_redirect(); } elseif ( $doing_ajax_or_is_customized && ! is_user_logged_in() ) { - $this->wp_die( 0 ); + $this->wp_die( 0, __( 'You must be logged in to complete this action.' ) ); } show_admin_bar( false ); if ( ! current_user_can( 'customize' ) ) { - $this->wp_die( -1 ); + $this->wp_die( -1, __( 'You are not allowed to customize the appearance of this site.' ) ); } $this->original_stylesheet = get_stylesheet(); @@ -238,17 +379,17 @@ final class WP_Customize_Manager { // If the requested theme is not the active theme and the user doesn't have the // switch_themes cap, bail. if ( ! current_user_can( 'switch_themes' ) ) { - $this->wp_die( -1 ); + $this->wp_die( -1, __( 'You are not allowed to edit theme options on this site.' ) ); } // If the theme has errors while loading, bail. if ( $this->theme()->errors() ) { - $this->wp_die( -1 ); + $this->wp_die( -1, $this->theme()->errors()->get_error_message() ); } // If the theme isn't allowed per multisite settings, bail. if ( ! $this->theme()->is_allowed() ) { - $this->wp_die( -1 ); + $this->wp_die( -1, __( 'The requested theme does not exist.' ) ); } } @@ -518,6 +659,36 @@ final class WP_Customize_Manager { public function set_post_value( $setting_id, $value ) { $this->unsanitized_post_values(); $this->_post_values[ $setting_id ] = $value; + + /** + * Announce when a specific setting's unsanitized post value has been set. + * + * Fires when the {@see WP_Customize_Manager::set_post_value()} method is called. + * + * The dynamic portion of the hook name, `$setting_id`, refers to the setting ID. + * + * @since 4.4.0 + * + * @param mixed $value Unsanitized setting post value. + * @param WP_Customize_Manager $this WP_Customize_Manager instance. + */ + do_action( "customize_post_value_set_{$setting_id}", $value, $this ); + + /** + * Announce when any setting's unsanitized post value has been set. + * + * Fires when the {@see WP_Customize_Manager::set_post_value()} method is called. + * + * This is useful for WP_Customize_Setting instances to watch + * in order to update a cached previewed value. + * + * @since 4.4.0 + * + * @param string $setting_id Setting ID. + * @param mixed $value Unsanitized setting post value. + * @param WP_Customize_Manager $this WP_Customize_Manager instance. + */ + do_action( 'customize_post_value_set', $setting_id, $value, $this ); } /** @@ -621,14 +792,10 @@ final class WP_Customize_Manager { */ public function customize_preview_settings() { $settings = array( - 'values' => array(), 'channel' => wp_unslash( $_POST['customize_messenger_channel'] ), 'activePanels' => array(), 'activeSections' => array(), 'activeControls' => array(), - 'l10n' => array( - 'loading' => __( 'Loading ...' ), - ), ); if ( 2 == $this->nonce_tick ) { @@ -638,11 +805,6 @@ final class WP_Customize_Manager { ); } - foreach ( $this->settings as $id => $setting ) { - if ( $setting->check_capabilities() ) { - $settings['values'][ $id ] = $setting->js_value(); - } - } foreach ( $this->panels as $panel_id => $panel ) { if ( $panel->check_capabilities() ) { $settings['activePanels'][ $panel_id ] = $panel->active(); @@ -667,6 +829,25 @@ final class WP_Customize_Manager { ?> priority === $b->priority ) { - return $a->instance_number - $a->instance_number; + return $a->instance_number - $b->instance_number; } else { return $a->priority - $b->priority; } @@ -1264,6 +1446,285 @@ final class WP_Customize_Manager { } } + /** + * Determine whether the user agent is iOS. + * + * @since 4.4.0 + * @access public + * + * @return bool Whether the user agent is iOS. + */ + public function is_ios() { + return wp_is_mobile() && preg_match( '/iPad|iPod|iPhone/', $_SERVER['HTTP_USER_AGENT'] ); + } + + /** + * Get the template string for the Customizer pane document title. + * + * @since 4.4.0 + * @access public + * + * @return string The template string for the document title. + */ + public function get_document_title_template() { + if ( $this->is_theme_active() ) { + /* translators: %s: document title from the preview */ + $document_title_tmpl = __( 'Customize: %s' ); + } else { + /* translators: %s: document title from the preview */ + $document_title_tmpl = __( 'Live Preview: %s' ); + } + $document_title_tmpl = html_entity_decode( $document_title_tmpl, ENT_QUOTES, 'UTF-8' ); // Because exported to JS and assigned to document.title. + return $document_title_tmpl; + } + + /** + * Set the initial URL to be previewed. + * + * URL is validated. + * + * @since 4.4.0 + * @access public + * + * @param string $preview_url URL to be previewed. + */ + public function set_preview_url( $preview_url ) { + $this->preview_url = wp_validate_redirect( $preview_url, home_url( '/' ) ); + } + + /** + * Get the initial URL to be previewed. + * + * @since 4.4.0 + * @access public + * + * @return string URL being previewed. + */ + public function get_preview_url() { + if ( empty( $this->preview_url ) ) { + $preview_url = home_url( '/' ); + } else { + $preview_url = $this->preview_url; + } + return $preview_url; + } + + /** + * Set URL to link the user to when closing the Customizer. + * + * URL is validated. + * + * @since 4.4.0 + * @access public + * + * @param string $return_url URL for return link. + */ + public function set_return_url( $return_url ) { + $return_url = remove_query_arg( wp_removable_query_args(), $return_url ); + $return_url = wp_validate_redirect( $return_url ); + $this->return_url = $return_url; + } + + /** + * Get URL to link the user to when closing the Customizer. + * + * @since 4.4.0 + * @access public + * + * @return string URL for link to close Customizer. + */ + public function get_return_url() { + $referer = wp_get_referer(); + if ( $this->return_url ) { + $return_url = $this->return_url; + } else if ( $referer && 'customize.php' !== basename( parse_url( $referer, PHP_URL_PATH ) ) ) { + $return_url = $referer; + } else if ( $this->preview_url ) { + $return_url = $this->preview_url; + } else { + $return_url = home_url( '/' ); + } + return $return_url; + } + + /** + * Set the autofocused constructs. + * + * @since 4.4.0 + * @access public + * + * @param array $autofocus { + * Mapping of 'panel', 'section', 'control' to the ID which should be autofocused. + * + * @type string [$control] ID for control to be autofocused. + * @type string [$section] ID for section to be autofocused. + * @type string [$panel] ID for panel to be autofocused. + * } + */ + public function set_autofocus( $autofocus ) { + $this->autofocus = array_filter( wp_array_slice_assoc( $autofocus, array( 'panel', 'section', 'control' ) ), 'is_string' ); + } + + /** + * Get the autofocused constructs. + * + * @since 4.4.0 + * @access public + * + * @return array { + * Mapping of 'panel', 'section', 'control' to the ID which should be autofocused. + * + * @type string [$control] ID for control to be autofocused. + * @type string [$section] ID for section to be autofocused. + * @type string [$panel] ID for panel to be autofocused. + * } + */ + public function get_autofocus() { + return $this->autofocus; + } + + /** + * Print JavaScript settings for parent window. + * + * @since 4.4.0 + */ + public function customize_pane_settings() { + /* + * If the frontend and the admin are served from the same domain, load the + * preview over ssl if the Customizer is being loaded over ssl. This avoids + * insecure content warnings. This is not attempted if the admin and frontend + * are on different domains to avoid the case where the frontend doesn't have + * ssl certs. Domain mapping plugins can allow other urls in these conditions + * using the customize_allowed_urls filter. + */ + + $allowed_urls = array( home_url( '/' ) ); + $admin_origin = parse_url( admin_url() ); + $home_origin = parse_url( home_url() ); + $cross_domain = ( strtolower( $admin_origin['host'] ) !== strtolower( $home_origin['host'] ) ); + + if ( is_ssl() && ! $cross_domain ) { + $allowed_urls[] = home_url( '/', 'https' ); + } + + /** + * Filter the list of URLs allowed to be clicked and followed in the Customizer preview. + * + * @since 3.4.0 + * + * @param array $allowed_urls An array of allowed URLs. + */ + $allowed_urls = array_unique( apply_filters( 'customize_allowed_urls', $allowed_urls ) ); + + $login_url = add_query_arg( array( + 'interim-login' => 1, + 'customize-login' => 1, + ), wp_login_url() ); + + // Prepare Customizer settings to pass to JavaScript. + $settings = array( + 'theme' => array( + 'stylesheet' => $this->get_stylesheet(), + 'active' => $this->is_theme_active(), + ), + 'url' => array( + 'preview' => esc_url_raw( $this->get_preview_url() ), + 'parent' => esc_url_raw( admin_url() ), + 'activated' => esc_url_raw( home_url( '/' ) ), + 'ajax' => esc_url_raw( admin_url( 'admin-ajax.php', 'relative' ) ), + 'allowed' => array_map( 'esc_url_raw', $allowed_urls ), + 'isCrossDomain' => $cross_domain, + 'home' => esc_url_raw( home_url( '/' ) ), + 'login' => esc_url_raw( $login_url ), + ), + 'browser' => array( + 'mobile' => wp_is_mobile(), + 'ios' => $this->is_ios(), + ), + 'panels' => array(), + 'sections' => array(), + 'nonce' => array( + 'save' => wp_create_nonce( 'save-customize_' . $this->get_stylesheet() ), + 'preview' => wp_create_nonce( 'preview-customize_' . $this->get_stylesheet() ), + ), + 'autofocus' => array(), + 'documentTitleTmpl' => $this->get_document_title_template(), + ); + + // Prepare Customize Section objects to pass to JavaScript. + foreach ( $this->sections() as $id => $section ) { + if ( $section->check_capabilities() ) { + $settings['sections'][ $id ] = $section->json(); + } + } + + // Prepare Customize Panel objects to pass to JavaScript. + foreach ( $this->panels() as $panel_id => $panel ) { + if ( $panel->check_capabilities() ) { + $settings['panels'][ $panel_id ] = $panel->json(); + foreach ( $panel->sections as $section_id => $section ) { + if ( $section->check_capabilities() ) { + $settings['sections'][ $section_id ] = $section->json(); + } + } + } + } + + // Pass to frontend the Customizer construct being deeplinked. + foreach ( $this->get_autofocus() as $type => $id ) { + $can_autofocus = ( + ( 'control' === $type && $this->get_control( $id ) && $this->get_control( $id )->check_capabilities() ) + || + ( 'section' === $type && isset( $settings['sections'][ $id ] ) ) + || + ( 'panel' === $type && isset( $settings['panels'][ $id ] ) ) + ); + if ( $can_autofocus ) { + $settings['autofocus'][ $type ] = $id; + } + } + + ?> + + '', 'url' => home_url(), ); + } elseif ( 'post' !== $object && 0 === $page && $post_type->has_archive ) { + // Add a post type archive link. + $items[] = array( + 'id' => $object . '-archive', + 'title' => $post_type->labels->archives, + 'type' => 'post_type_archive', + 'type_label' => __( 'Post Type Archive' ), + 'object' => $object, + 'url' => get_post_type_archive_link( $object ), + ); } $posts = get_posts( array( @@ -325,8 +336,8 @@ final class WP_Customize_Nav_Menus { 'untitled' => _x( '(no label)', 'missing menu item navigation label' ), 'unnamed' => _x( '(unnamed)', 'Missing menu name.' ), 'custom_label' => __( 'Custom Link' ), - /* translators: %s: Current menu location */ - 'menuLocation' => __( '(Currently set to: %s)' ), + /* translators: %s: menu location slug */ + 'menuLocation' => _x( '(Currently set to: %s)', 'menu' ), 'menuNameLabel' => __( 'Menu Name' ), 'itemAdded' => __( 'Menu item added' ), 'itemDeleted' => __( 'Menu item deleted' ), @@ -342,8 +353,6 @@ final class WP_Customize_Nav_Menus { 'invalidTitleTpl' => __( '%s (Invalid)' ), /* translators: %s: title of menu item in draft status */ 'pendingTitleTpl' => __( '%s (Pending)' ), - 'taxonomyTermLabel' => __( 'Taxonomy' ), - 'postTypeLabel' => __( 'Post Type' ), 'itemsFound' => __( 'Number of items found: %d' ), 'itemsFoundMore' => __( 'Additional items found: %d' ), 'itemsLoadingMore' => __( 'Loading more results... please wait.' ), @@ -464,10 +473,14 @@ final class WP_Customize_Nav_Menus { ) ) ); $menus = wp_get_nav_menus(); - // Menu loactions. + // Menu locations. $locations = get_registered_nav_menus(); $num_locations = count( array_keys( $locations ) ); - $description = '

              ' . sprintf( _n( 'Your theme contains %s menu location. Select which menu you would like to use.', 'Your theme contains %s menu locations. Select which menu appears in each location.', $num_locations ), number_format_i18n( $num_locations ) ); + if ( 1 == $num_locations ) { + $description = '

              ' . __( 'Your theme supports one menu. Select which menu you would like to use.' ); + } else { + $description = '

              ' . sprintf( _n( 'Your theme supports %s menu. Select which menu appears in each location.', 'Your theme supports %s menus. Select which menu appears in each location.', $num_locations ), number_format_i18n( $num_locations ) ); + } $description .= '

              ' . __( 'You can also place menus in widget areas with the Custom Menu widget.' ) . '

              '; $this->manager->add_section( 'menu_locations', array( @@ -611,7 +624,7 @@ final class WP_Customize_Nav_Menus { if ( $post_types ) { foreach ( $post_types as $slug => $post_type ) { $item_types[] = array( - 'title' => $post_type->labels->singular_name, + 'title' => $post_type->labels->name, 'type' => 'post_type', 'object' => $post_type->name, ); @@ -625,7 +638,7 @@ final class WP_Customize_Nav_Menus { continue; } $item_types[] = array( - 'title' => $taxonomy->labels->singular_name, + 'title' => $taxonomy->labels->name, 'type' => 'taxonomy', 'object' => $taxonomy->name, ); @@ -662,7 +675,7 @@ final class WP_Customize_Nav_Menus { - @@ -762,7 +775,7 @@ final class WP_Customize_Nav_Menus { - -
              - - {{ data.title }}' ); - ?> - - - -
              - <# if ( data.description ) { #> -
              {{{ data.description }}}
              - <# } #> - render_screen_options(); ?> -
            • -

              {{ data.title }} - +

              • @@ -374,204 +374,14 @@ class WP_Customize_Section { } } -/** - * Customize Themes Section class. - * - * A UI container for theme controls, which behaves like a backwards Panel. - * - * @since 4.2.0 - * - * @see WP_Customize_Section - */ -class WP_Customize_Themes_Section extends WP_Customize_Section { +/** WP_Customize_Themes_Section class */ +require_once( ABSPATH . WPINC . '/customize/class-wp-customize-themes-section.php' ); - /** - * Customize section type. - * - * @since 4.2.0 - * @access public - * @var string - */ - public $type = 'themes'; +/** WP_Customize_Sidebar_Section class */ +require_once( ABSPATH . WPINC . '/customize/class-wp-customize-sidebar-section.php' ); - /** - * Render the themes section, which behaves like a panel. - * - * @since 4.2.0 - * @access protected - */ - protected function render() { - $classes = 'accordion-section control-section control-section-' . $this->type; - ?> -
              • -

                - manager->is_theme_active() ) { - echo '' . __( 'Active theme' ) . ' ' . $this->title; - } else { - echo '' . __( 'Previewing theme' ) . ' ' . $this->title; - } - ?> +/** WP_Customize_Nav_Menu_Section class */ +require_once( ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-section.php' ); - -

                -
                -

                - - - controls ) + 1 /* Active theme */; ?> -

                -

                - manager->is_theme_active() ) { - echo '' . __( 'Active theme' ) . ' ' . $this->title; - } else { - echo '' . __( 'Previewing theme' ) . ' ' . $this->title; - } - ?> - -

                - - - -
                - controls ) > 4 ) : ?> -

                - -
                -
                  -
                -
                -
                -
              • -sidebar_id; - return $json; - } - - /** - * Whether the current sidebar is rendered on the page. - * - * @since 4.1.0 - * @access public - * - * @return bool Whether sidebar is rendered. - */ - public function active_callback() { - return $this->manager->widgets->is_sidebar_rendered( $this->sidebar_id ); - } -} - -/** - * Customize Menu Section Class - * - * Custom section only needed in JS. - * - * @since 4.3.0 - * - * @see WP_Customize_Section - */ -class WP_Customize_Nav_Menu_Section extends WP_Customize_Section { - - /** - * Control type. - * - * @since 4.3.0 - * @access public - * @var string - */ - public $type = 'nav_menu'; - - /** - * Get section parameters for JS. - * - * @since 4.3.0 - * @access public - * @return array Exported parameters. - */ - public function json() { - $exported = parent::json(); - $exported['menu_id'] = intval( preg_replace( '/^nav_menu\[(\d+)\]/', '$1', $this->id ) ); - - return $exported; - } -} - -/** - * Customize Menu Section Class - * - * Implements the new-menu-ui toggle button instead of a regular section. - * - * @since 4.3.0 - * - * @see WP_Customize_Section - */ -class WP_Customize_New_Menu_Section extends WP_Customize_Section { - - /** - * Control type. - * - * @since 4.3.0 - * @access public - * @var string - */ - public $type = 'new_menu'; - - /** - * Render the section, and the controls that have been added to it. - * - * @since 4.3.0 - * @access protected - */ - protected function render() { - ?> -
              • - -
                  -
                • - $key = $args[ $key ]; + } } $this->manager = $manager; $this->id = $id; // Parse the ID for array keys. - $this->id_data[ 'keys' ] = preg_split( '/\[/', str_replace( ']', '', $this->id ) ); - $this->id_data[ 'base' ] = array_shift( $this->id_data[ 'keys' ] ); + $this->id_data['keys'] = preg_split( '/\[/', str_replace( ']', '', $this->id ) ); + $this->id_data['base'] = array_shift( $this->id_data['keys'] ); // Rebuild the ID. $this->id = $this->id_data[ 'base' ]; - if ( ! empty( $this->id_data[ 'keys' ] ) ) - $this->id .= '[' . implode( '][', $this->id_data[ 'keys' ] ) . ']'; + if ( ! empty( $this->id_data[ 'keys' ] ) ) { + $this->id .= '[' . implode( '][', $this->id_data['keys'] ) . ']'; + } - if ( $this->sanitize_callback ) + if ( $this->sanitize_callback ) { add_filter( "customize_sanitize_{$this->id}", $this->sanitize_callback, 10, 2 ); - - if ( $this->sanitize_js_callback ) + } + if ( $this->sanitize_js_callback ) { add_filter( "customize_sanitize_js_{$this->id}", $this->sanitize_js_callback, 10, 2 ); + } + + if ( 'option' === $this->type || 'theme_mod' === $this->type ) { + // Other setting types can opt-in to aggregate multidimensional explicitly. + $this->aggregate_multidimensional(); + + // Allow option settings to indicate whether they should be autoloaded. + if ( 'option' === $this->type && isset( $args['autoload'] ) ) { + self::$aggregated_multidimensionals[ $this->type ][ $this->id_data['base'] ]['autoload'] = $args['autoload']; + } + } + } + + /** + * Get parsed ID data for multidimensional setting. + * + * @since 4.4.0 + * @access public + * + * @return array { + * ID data for multidimensional setting. + * + * @type string $base ID base + * @type array $keys Keys for multidimensional array. + * } + */ + final public function id_data() { + return $this->id_data; + } + + /** + * Set up the setting for aggregated multidimensional values. + * + * When a multidimensional setting gets aggregated, all of its preview and update + * calls get combined into one call, greatly improving performance. + * + * @since 4.4.0 + * @access protected + */ + protected function aggregate_multidimensional() { + $id_base = $this->id_data['base']; + if ( ! isset( self::$aggregated_multidimensionals[ $this->type ] ) ) { + self::$aggregated_multidimensionals[ $this->type ] = array(); + } + if ( ! isset( self::$aggregated_multidimensionals[ $this->type ][ $id_base ] ) ) { + self::$aggregated_multidimensionals[ $this->type ][ $id_base ] = array( + 'previewed_instances' => array(), // Calling preview() will add the $setting to the array. + 'preview_applied_instances' => array(), // Flags for which settings have had their values applied. + 'root_value' => $this->get_root_value( array() ), // Root value for initial state, manipulated by preview and update calls. + ); + } + + if ( ! empty( $this->id_data['keys'] ) ) { + // Note the preview-applied flag is cleared at priority 9 to ensure it is cleared before a deferred-preview runs. + add_action( "customize_post_value_set_{$this->id}", array( $this, '_clear_aggregated_multidimensional_preview_applied_flag' ), 9 ); + $this->is_multidimensional_aggregated = true; + } } /** @@ -148,28 +240,86 @@ class WP_Customize_Setting { protected $_original_value; /** - * Handle previewing the setting. + * Add filters to supply the setting's value when accessed. + * + * If the setting already has a pre-existing value and there is no incoming + * post value for the setting, then this method will short-circuit since + * there is no change to preview. * * @since 3.4.0 + * @since 4.4.0 Added boolean return value. + * @access public + * + * @return bool False when preview short-circuits due no change needing to be previewed. */ public function preview() { - if ( ! isset( $this->_original_value ) ) { - $this->_original_value = $this->value(); - } if ( ! isset( $this->_previewed_blog_id ) ) { $this->_previewed_blog_id = get_current_blog_id(); } - switch( $this->type ) { + // Prevent re-previewing an already-previewed setting. + if ( $this->is_previewed ) { + return true; + } + + $id_base = $this->id_data['base']; + $is_multidimensional = ! empty( $this->id_data['keys'] ); + $multidimensional_filter = array( $this, '_multidimensional_preview_filter' ); + + /* + * Check if the setting has a pre-existing value (an isset check), + * and if doesn't have any incoming post value. If both checks are true, + * then the preview short-circuits because there is nothing that needs + * to be previewed. + */ + $undefined = new stdClass(); + $needs_preview = ( $undefined !== $this->post_value( $undefined ) ); + $value = null; + + // Since no post value was defined, check if we have an initial value set. + if ( ! $needs_preview ) { + if ( $this->is_multidimensional_aggregated ) { + $root = self::$aggregated_multidimensionals[ $this->type ][ $id_base ]['root_value']; + $value = $this->multidimensional_get( $root, $this->id_data['keys'], $undefined ); + } else { + $default = $this->default; + $this->default = $undefined; // Temporarily set default to undefined so we can detect if existing value is set. + $value = $this->value(); + $this->default = $default; + } + $needs_preview = ( $undefined === $value ); // Because the default needs to be supplied. + } + + // If the setting does not need previewing now, defer to when it has a value to preview. + if ( ! $needs_preview ) { + if ( ! has_action( "customize_post_value_set_{$this->id}", array( $this, 'preview' ) ) ) { + add_action( "customize_post_value_set_{$this->id}", array( $this, 'preview' ) ); + } + return false; + } + + switch ( $this->type ) { case 'theme_mod' : - add_filter( 'theme_mod_' . $this->id_data[ 'base' ], array( $this, '_preview_filter' ) ); + if ( ! $is_multidimensional ) { + add_filter( "theme_mod_{$id_base}", array( $this, '_preview_filter' ) ); + } else { + if ( empty( self::$aggregated_multidimensionals[ $this->type ][ $id_base ]['previewed_instances'] ) ) { + // Only add this filter once for this ID base. + add_filter( "theme_mod_{$id_base}", $multidimensional_filter ); + } + self::$aggregated_multidimensionals[ $this->type ][ $id_base ]['previewed_instances'][ $this->id ] = $this; + } break; case 'option' : - if ( empty( $this->id_data[ 'keys' ] ) ) - add_filter( 'pre_option_' . $this->id_data[ 'base' ], array( $this, '_preview_filter' ) ); - else { - add_filter( 'option_' . $this->id_data[ 'base' ], array( $this, '_preview_filter' ) ); - add_filter( 'default_option_' . $this->id_data[ 'base' ], array( $this, '_preview_filter' ) ); + if ( ! $is_multidimensional ) { + add_filter( "pre_option_{$id_base}", array( $this, '_preview_filter' ) ); + } else { + if ( empty( self::$aggregated_multidimensionals[ $this->type ][ $id_base ]['previewed_instances'] ) ) { + // Only add these filters once for this ID base. + add_filter( "option_{$id_base}", $multidimensional_filter ); + add_filter( "default_option_{$id_base}", $multidimensional_filter ); + } + self::$aggregated_multidimensionals[ $this->type ][ $id_base ]['previewed_instances'][ $this->id ] = $this; } break; default : @@ -198,17 +348,36 @@ class WP_Customize_Setting { */ do_action( "customize_preview_{$this->type}", $this ); } + + $this->is_previewed = true; + + return true; } /** - * Callback function to filter the theme mods and options. + * Clear out the previewed-applied flag for a multidimensional-aggregated value whenever its post value is updated. + * + * This ensures that the new value will get sanitized and used the next time + * that WP_Customize_Setting::_multidimensional_preview_filter() + * is called for this setting. + * + * @since 4.4.0 + * @access private + * @see WP_Customize_Manager::set_post_value() + * @see WP_Customize_Setting::_multidimensional_preview_filter() + */ + final public function _clear_aggregated_multidimensional_preview_applied_flag() { + unset( self::$aggregated_multidimensionals[ $this->type ][ $this->id_data['base'] ]['preview_applied_instances'][ $this->id ] ); + } + + /** + * Callback function to filter non-multidimensional theme mods and options. * * If switch_to_blog() was called after the preview() method, and the current * blog is now not the same blog, then this method does a no-op and returns * the original value. * * @since 3.4.0 - * @uses WP_Customize_Setting::multidimensional_replace() * * @param mixed $original Old value. * @return mixed New or old value. @@ -218,15 +387,63 @@ class WP_Customize_Setting { return $original; } - $undefined = new stdClass(); // symbol hack + $undefined = new stdClass(); // Symbol hack. $post_value = $this->post_value( $undefined ); - if ( $undefined === $post_value ) { - $value = $this->_original_value; - } else { + if ( $undefined !== $post_value ) { $value = $post_value; + } else { + /* + * Note that we don't use $original here because preview() will + * not add the filter in the first place if it has an initial value + * and there is no post value. + */ + $value = $this->default; + } + return $value; + } + + /** + * Callback function to filter multidimensional theme mods and options. + * + * For all multidimensional settings of a given type, the preview filter for + * the first setting previewed will be used to apply the values for the others. + * + * @since 4.4.0 + * @access private + * + * @see WP_Customize_Setting::$aggregated_multidimensionals + * @param mixed $original Original root value. + * @return mixed New or old value. + */ + final public function _multidimensional_preview_filter( $original ) { + if ( ! $this->is_current_blog_previewed() ) { + return $original; } - return $this->multidimensional_replace( $original, $this->id_data['keys'], $value ); + $id_base = $this->id_data['base']; + + // If no settings have been previewed yet (which should not be the case, since $this is), just pass through the original value. + if ( empty( self::$aggregated_multidimensionals[ $this->type ][ $id_base ]['previewed_instances'] ) ) { + return $original; + } + + foreach ( self::$aggregated_multidimensionals[ $this->type ][ $id_base ]['previewed_instances'] as $previewed_setting ) { + // Skip applying previewed value for any settings that have already been applied. + if ( ! empty( self::$aggregated_multidimensionals[ $this->type ][ $id_base ]['preview_applied_instances'][ $previewed_setting->id ] ) ) { + continue; + } + + // Do the replacements of the posted/default sub value into the root value. + $value = $previewed_setting->post_value( $previewed_setting->default ); + $root = self::$aggregated_multidimensionals[ $previewed_setting->type ][ $id_base ]['root_value']; + $root = $previewed_setting->multidimensional_replace( $root, $previewed_setting->id_data['keys'], $value ); + self::$aggregated_multidimensionals[ $previewed_setting->type ][ $id_base ]['root_value'] = $root; + + // Mark this setting having been applied so that it will be skipped when the filter is called again. + self::$aggregated_multidimensionals[ $previewed_setting->type ][ $id_base ]['preview_applied_instances'][ $previewed_setting->id ] = true; + } + + return self::$aggregated_multidimensionals[ $this->type ][ $id_base ]['root_value']; } /** @@ -292,78 +509,116 @@ class WP_Customize_Setting { return apply_filters( "customize_sanitize_{$this->id}", $value, $this ); } + /** + * Get the root value for a setting, especially for multidimensional ones. + * + * @since 4.4.0 + * @access protected + * + * @param mixed $default Value to return if root does not exist. + * @return mixed + */ + protected function get_root_value( $default = null ) { + $id_base = $this->id_data['base']; + if ( 'option' === $this->type ) { + return get_option( $id_base, $default ); + } else if ( 'theme_mod' ) { + return get_theme_mod( $id_base, $default ); + } else { + /* + * Any WP_Customize_Setting subclass implementing aggregate multidimensional + * will need to override this method to obtain the data from the appropriate + * location. + */ + return $default; + } + } + + /** + * Set the root value for a setting, especially for multidimensional ones. + * + * @since 4.4.0 + * @access protected + * + * @param mixed $value Value to set as root of multidimensional setting. + * @return bool Whether the multidimensional root was updated successfully. + */ + protected function set_root_value( $value ) { + $id_base = $this->id_data['base']; + if ( 'option' === $this->type ) { + $autoload = true; + if ( isset( self::$aggregated_multidimensionals[ $this->type ][ $this->id_data['base'] ]['autoload'] ) ) { + $autoload = self::$aggregated_multidimensionals[ $this->type ][ $this->id_data['base'] ]['autoload']; + } + return update_option( $id_base, $value, $autoload ); + } else if ( 'theme_mod' ) { + set_theme_mod( $id_base, $value ); + return true; + } else { + /* + * Any WP_Customize_Setting subclass implementing aggregate multidimensional + * will need to override this method to obtain the data from the appropriate + * location. + */ + return false; + } + } + /** * Save the value of the setting, using the related API. * * @since 3.4.0 * * @param mixed $value The value to update. - * @return mixed The result of saving the value. - */ - protected function update( $value ) { - switch( $this->type ) { - case 'theme_mod' : - return $this->_update_theme_mod( $value ); - - case 'option' : - return $this->_update_option( $value ); - - default : - - /** - * Fires when the {@see WP_Customize_Setting::update()} method is called for settings - * not handled as theme_mods or options. - * - * The dynamic portion of the hook name, `$this->type`, refers to the type of setting. - * - * @since 3.4.0 - * - * @param mixed $value Value of the setting. - * @param WP_Customize_Setting $this WP_Customize_Setting instance. - */ - return do_action( 'customize_update_' . $this->type, $value, $this ); - } - } - - /** - * Update the theme mod from the value of the parameter. - * - * @since 3.4.0 - * - * @param mixed $value The value to update. - */ - protected function _update_theme_mod( $value ) { - // Handle non-array theme mod. - if ( empty( $this->id_data[ 'keys' ] ) ) { - set_theme_mod( $this->id_data[ 'base' ], $value ); - return; - } - // Handle array-based theme mod. - $mods = get_theme_mod( $this->id_data[ 'base' ] ); - $mods = $this->multidimensional_replace( $mods, $this->id_data[ 'keys' ], $value ); - if ( isset( $mods ) ) { - set_theme_mod( $this->id_data[ 'base' ], $mods ); - } - } - - /** - * Update the option from the value of the setting. - * - * @since 3.4.0 - * - * @param mixed $value The value to update. * @return bool The result of saving the value. */ - protected function _update_option( $value ) { - // Handle non-array option. - if ( empty( $this->id_data[ 'keys' ] ) ) - return update_option( $this->id_data[ 'base' ], $value ); + protected function update( $value ) { + $id_base = $this->id_data['base']; + if ( 'option' === $this->type || 'theme_mod' === $this->type ) { + if ( ! $this->is_multidimensional_aggregated ) { + return $this->set_root_value( $value ); + } else { + $root = self::$aggregated_multidimensionals[ $this->type ][ $id_base ]['root_value']; + $root = $this->multidimensional_replace( $root, $this->id_data['keys'], $value ); + self::$aggregated_multidimensionals[ $this->type ][ $id_base ]['root_value'] = $root; + return $this->set_root_value( $root ); + } + } else { + /** + * Fires when the {@see WP_Customize_Setting::update()} method is called for settings + * not handled as theme_mods or options. + * + * The dynamic portion of the hook name, `$this->type`, refers to the type of setting. + * + * @since 3.4.0 + * + * @param mixed $value Value of the setting. + * @param WP_Customize_Setting $this WP_Customize_Setting instance. + */ + do_action( "customize_update_{$this->type}", $value, $this ); - // Handle array-based options. - $options = get_option( $this->id_data[ 'base' ] ); - $options = $this->multidimensional_replace( $options, $this->id_data[ 'keys' ], $value ); - if ( isset( $options ) ) - return update_option( $this->id_data[ 'base' ], $options ); + return has_action( "customize_update_{$this->type}" ); + } + } + + /** + * Deprecated method. + * + * @since 3.4.0 + * @deprecated 4.4.0 Deprecated in favor of update() method. + */ + protected function _update_theme_mod() { + _deprecated_function( __METHOD__, '4.4.0', __CLASS__ . '::update()' ); + } + + /** + * Deprecated method. + * + * @since 3.4.0 + * @deprecated 4.4.0 Deprecated in favor of update() method. + */ + protected function _update_option() { + _deprecated_function( __METHOD__, '4.4.0', __CLASS__ . '::update()' ); } /** @@ -374,39 +629,33 @@ class WP_Customize_Setting { * @return mixed The value. */ public function value() { - // Get the callback that corresponds to the setting type. - switch( $this->type ) { - case 'theme_mod' : - $function = 'get_theme_mod'; - break; - case 'option' : - $function = 'get_option'; - break; - default : + $id_base = $this->id_data['base']; + $is_core_type = ( 'option' === $this->type || 'theme_mod' === $this->type ); - /** - * Filter a Customize setting value not handled as a theme_mod or option. - * - * The dynamic portion of the hook name, `$this->id_date['base']`, refers to - * the base slug of the setting name. - * - * For settings handled as theme_mods or options, see those corresponding - * functions for available hooks. - * - * @since 3.4.0 - * - * @param mixed $default The setting default value. Default empty. - */ - return apply_filters( 'customize_value_' . $this->id_data[ 'base' ], $this->default ); + if ( ! $is_core_type && ! $this->is_multidimensional_aggregated ) { + $value = $this->get_root_value( $this->default ); + + /** + * Filter a Customize setting value not handled as a theme_mod or option. + * + * The dynamic portion of the hook name, `$this->id_date['base']`, refers to + * the base slug of the setting name. + * + * For settings handled as theme_mods or options, see those corresponding + * functions for available hooks. + * + * @since 3.4.0 + * + * @param mixed $default The setting default value. Default empty. + */ + $value = apply_filters( "customize_value_{$id_base}", $value ); + } else if ( $this->is_multidimensional_aggregated ) { + $root_value = self::$aggregated_multidimensionals[ $this->type ][ $id_base ]['root_value']; + $value = $this->multidimensional_get( $root_value, $this->id_data['keys'], $this->default ); + } else { + $value = $this->get_root_value( $this->default ); } - - // Handle non-array value - if ( empty( $this->id_data[ 'keys' ] ) ) - return $function( $this->id_data[ 'base' ], $this->default ); - - // Handle array-based value - $values = $function( $this->id_data[ 'base' ] ); - return $this->multidimensional_get( $values, $this->id_data[ 'keys' ], $this->default ); + return $value; } /** @@ -511,7 +760,7 @@ class WP_Customize_Setting { * @param $root * @param $keys * @param mixed $value The value to update. - * @return + * @return mixed */ final protected function multidimensional_replace( $root, $keys, $value ) { if ( ! isset( $value ) ) @@ -560,1490 +809,17 @@ class WP_Customize_Setting { } } -/** - * A setting that is used to filter a value, but will not save the results. - * - * Results should be properly handled using another setting or callback. - * - * @since 3.4.0 - * - * @see WP_Customize_Setting - */ -class WP_Customize_Filter_Setting extends WP_Customize_Setting { +/** WP_Customize_Filter_Setting class */ +require_once( ABSPATH . WPINC . '/customize/class-wp-customize-filter-setting.php' ); - /** - * @since 3.4.0 - */ - public function update( $value ) {} -} +/** WP_Customize_Header_Image_Setting class */ +require_once( ABSPATH . WPINC . '/customize/class-wp-customize-header-image-setting.php' ); -/** - * A setting that is used to filter a value, but will not save the results. - * - * Results should be properly handled using another setting or callback. - * - * @since 3.4.0 - * - * @see WP_Customize_Setting - */ -final class WP_Customize_Header_Image_Setting extends WP_Customize_Setting { - public $id = 'header_image_data'; +/** WP_Customize_Background_Image_Setting class */ +require_once( ABSPATH . WPINC . '/customize/class-wp-customize-background-image-setting.php' ); - /** - * @since 3.4.0 - * - * @global Custom_Image_Header $custom_image_header - * - * @param $value - */ - public function update( $value ) { - global $custom_image_header; +/** WP_Customize_Nav_Menu_Item_Setting class */ +require_once( ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-item-setting.php' ); - // If the value doesn't exist (removed or random), - // use the header_image value. - if ( ! $value ) - $value = $this->manager->get_setting('header_image')->post_value(); - - if ( is_array( $value ) && isset( $value['choice'] ) ) - $custom_image_header->set_header_image( $value['choice'] ); - else - $custom_image_header->set_header_image( $value ); - } -} - -/** - * Customizer Background Image Setting class. - * - * @since 3.4.0 - * - * @see WP_Customize_Setting - */ -final class WP_Customize_Background_Image_Setting extends WP_Customize_Setting { - public $id = 'background_image_thumb'; - - /** - * @since 3.4.0 - * - * @param $value - */ - public function update( $value ) { - remove_theme_mod( 'background_image_thumb' ); - } -} - -/** - * Customize Setting to represent a nav_menu. - * - * Subclass of WP_Customize_Setting to represent a nav_menu taxonomy term, and - * the IDs for the nav_menu_items associated with the nav menu. - * - * @since 4.3.0 - * - * @see WP_Customize_Setting - */ -class WP_Customize_Nav_Menu_Item_Setting extends WP_Customize_Setting { - - const ID_PATTERN = '/^nav_menu_item\[(?P-?\d+)\]$/'; - - const POST_TYPE = 'nav_menu_item'; - - const TYPE = 'nav_menu_item'; - - /** - * Setting type. - * - * @since 4.3.0 - * @access public - * @var string - */ - public $type = self::TYPE; - - /** - * Default setting value. - * - * @since 4.3.0 - * @access public - * @var array - * - * @see wp_setup_nav_menu_item() - */ - public $default = array( - // The $menu_item_data for wp_update_nav_menu_item(). - 'object_id' => 0, - 'object' => '', // Taxonomy name. - 'menu_item_parent' => 0, // A.K.A. menu-item-parent-id; note that post_parent is different, and not included. - 'position' => 0, // A.K.A. menu_order. - 'type' => 'custom', // Note that type_label is not included here. - 'title' => '', - 'url' => '', - 'target' => '', - 'attr_title' => '', - 'description' => '', - 'classes' => '', - 'xfn' => '', - 'status' => 'publish', - 'original_title' => '', - 'nav_menu_term_id' => 0, // This will be supplied as the $menu_id arg for wp_update_nav_menu_item(). - // @todo also expose invalid? - ); - - /** - * Default transport. - * - * @since 4.3.0 - * @access public - * @var string - */ - public $transport = 'postMessage'; - - /** - * The post ID represented by this setting instance. This is the db_id. - * - * A negative value represents a placeholder ID for a new menu not yet saved. - * - * @since 4.3.0 - * @access public - * @var int - */ - public $post_id; - - /** - * Storage of pre-setup menu item to prevent wasted calls to wp_setup_nav_menu_item(). - * - * @since 4.3.0 - * @access protected - * @var array - */ - protected $value; - - /** - * Previous (placeholder) post ID used before creating a new menu item. - * - * This value will be exported to JS via the customize_save_response filter - * so that JavaScript can update the settings to refer to the newly-assigned - * post ID. This value is always negative to indicate it does not refer to - * a real post. - * - * @since 4.3.0 - * @access public - * @var int - * - * @see WP_Customize_Nav_Menu_Item_Setting::update() - * @see WP_Customize_Nav_Menu_Item_Setting::amend_customize_save_response() - */ - public $previous_post_id; - - /** - * When previewing or updating a menu item, this stores the previous nav_menu_term_id - * which ensures that we can apply the proper filters. - * - * @since 4.3.0 - * @access public - * @var int - */ - public $original_nav_menu_term_id; - - /** - * Whether or not preview() was called. - * - * @since 4.3.0 - * @access protected - * @var bool - */ - protected $is_previewed = false; - - /** - * Whether or not update() was called. - * - * @since 4.3.0 - * @access protected - * @var bool - */ - protected $is_updated = false; - - /** - * Status for calling the update method, used in customize_save_response filter. - * - * When status is inserted, the placeholder post ID is stored in $previous_post_id. - * When status is error, the error is stored in $update_error. - * - * @since 4.3.0 - * @access public - * @var string updated|inserted|deleted|error - * - * @see WP_Customize_Nav_Menu_Item_Setting::update() - * @see WP_Customize_Nav_Menu_Item_Setting::amend_customize_save_response() - */ - public $update_status; - - /** - * Any error object returned by wp_update_nav_menu_item() when setting is updated. - * - * @since 4.3.0 - * @access public - * @var WP_Error - * - * @see WP_Customize_Nav_Menu_Item_Setting::update() - * @see WP_Customize_Nav_Menu_Item_Setting::amend_customize_save_response() - */ - public $update_error; - - /** - * Constructor. - * - * Any supplied $args override class property defaults. - * - * @since 4.3.0 - * @access public - * - * @param WP_Customize_Manager $manager Bootstrap Customizer instance. - * @param string $id An specific ID of the setting. Can be a - * theme mod or option name. - * @param array $args Optional. Setting arguments. - * - * @throws Exception If $id is not valid for this setting type. - */ - public function __construct( WP_Customize_Manager $manager, $id, array $args = array() ) { - if ( empty( $manager->nav_menus ) ) { - throw new Exception( 'Expected WP_Customize_Manager::$nav_menus to be set.' ); - } - - if ( ! preg_match( self::ID_PATTERN, $id, $matches ) ) { - throw new Exception( "Illegal widget setting ID: $id" ); - } - - $this->post_id = intval( $matches['id'] ); - add_action( 'wp_update_nav_menu_item', array( $this, 'flush_cached_value' ), 10, 2 ); - - parent::__construct( $manager, $id, $args ); - - // Ensure that an initially-supplied value is valid. - if ( isset( $this->value ) ) { - $this->populate_value(); - foreach ( array_diff( array_keys( $this->default ), array_keys( $this->value ) ) as $missing ) { - throw new Exception( "Supplied nav_menu_item value missing property: $missing" ); - } - } - - } - - /** - * Clear the cached value when this nav menu item is updated. - * - * @since 4.3.0 - * @access public - * - * @param int $menu_id The term ID for the menu. - * @param int $menu_item_id The post ID for the menu item. - */ - public function flush_cached_value( $menu_id, $menu_item_id ) { - unset( $menu_id ); - if ( $menu_item_id === $this->post_id ) { - $this->value = null; - } - } - - /** - * Get the instance data for a given widget setting. - * - * @since 4.3.0 - * @access public - * - * @see wp_setup_nav_menu_item() - * - * @return array|false Instance data array, or false if the item is marked for deletion. - */ - public function value() { - if ( $this->is_previewed && $this->_previewed_blog_id === get_current_blog_id() ) { - $undefined = new stdClass(); // Symbol. - $post_value = $this->post_value( $undefined ); - - if ( $undefined === $post_value ) { - $value = $this->_original_value; - } else { - $value = $post_value; - } - } else if ( isset( $this->value ) ) { - $value = $this->value; - } else { - $value = false; - - // Note that a ID of less than one indicates a nav_menu not yet inserted. - if ( $this->post_id > 0 ) { - $post = get_post( $this->post_id ); - if ( $post && self::POST_TYPE === $post->post_type ) { - $value = (array) wp_setup_nav_menu_item( $post ); - } - } - - if ( ! is_array( $value ) ) { - $value = $this->default; - } - - // Cache the value for future calls to avoid having to re-call wp_setup_nav_menu_item(). - $this->value = $value; - $this->populate_value(); - $value = $this->value; - } - - return $value; - } - - /** - * Ensure that the value is fully populated with the necessary properties. - * - * Translates some properties added by wp_setup_nav_menu_item() and removes others. - * - * @since 4.3.0 - * @access protected - * - * @see WP_Customize_Nav_Menu_Item_Setting::value() - */ - protected function populate_value() { - if ( ! is_array( $this->value ) ) { - return; - } - - if ( isset( $this->value['menu_order'] ) ) { - $this->value['position'] = $this->value['menu_order']; - unset( $this->value['menu_order'] ); - } - if ( isset( $this->value['post_status'] ) ) { - $this->value['status'] = $this->value['post_status']; - unset( $this->value['post_status'] ); - } - - if ( ! isset( $this->value['original_title'] ) ) { - $original_title = ''; - if ( 'post_type' === $this->value['type'] ) { - $original_title = get_the_title( $this->value['object_id'] ); - } elseif ( 'taxonomy' === $this->value['type'] ) { - $original_title = get_term_field( 'name', $this->value['object_id'], $this->value['object'], 'raw' ); - if ( is_wp_error( $original_title ) ) { - $original_title = ''; - } - } - $this->value['original_title'] = html_entity_decode( $original_title, ENT_QUOTES, get_bloginfo( 'charset' ) ); - } - - if ( ! isset( $this->value['nav_menu_term_id'] ) && $this->post_id > 0 ) { - $menus = wp_get_post_terms( $this->post_id, WP_Customize_Nav_Menu_Setting::TAXONOMY, array( - 'fields' => 'ids', - ) ); - if ( ! empty( $menus ) ) { - $this->value['nav_menu_term_id'] = array_shift( $menus ); - } else { - $this->value['nav_menu_term_id'] = 0; - } - } - - foreach ( array( 'object_id', 'menu_item_parent', 'nav_menu_term_id' ) as $key ) { - if ( ! is_int( $this->value[ $key ] ) ) { - $this->value[ $key ] = intval( $this->value[ $key ] ); - } - } - - // Remove remaining properties available on a setup nav_menu_item post object which aren't relevant to the setting value. - $irrelevant_properties = array( - 'ID', - 'comment_count', - 'comment_status', - 'db_id', - 'filter', - 'guid', - 'ping_status', - 'pinged', - 'post_author', - 'post_content', - 'post_content_filtered', - 'post_date', - 'post_date_gmt', - 'post_excerpt', - 'post_mime_type', - 'post_modified', - 'post_modified_gmt', - 'post_name', - 'post_parent', - 'post_password', - 'post_title', - 'post_type', - 'to_ping', - ); - foreach ( $irrelevant_properties as $property ) { - unset( $this->value[ $property ] ); - } - } - - /** - * Handle previewing the setting. - * - * @since 4.3.0 - * @access public - * - * @see WP_Customize_Manager::post_value() - */ - public function preview() { - if ( $this->is_previewed ) { - return; - } - - $this->is_previewed = true; - $this->_original_value = $this->value(); - $this->original_nav_menu_term_id = $this->_original_value['nav_menu_term_id']; - $this->_previewed_blog_id = get_current_blog_id(); - - add_filter( 'wp_get_nav_menu_items', array( $this, 'filter_wp_get_nav_menu_items' ), 10, 3 ); - - $sort_callback = array( __CLASS__, 'sort_wp_get_nav_menu_items' ); - if ( ! has_filter( 'wp_get_nav_menu_items', $sort_callback ) ) { - add_filter( 'wp_get_nav_menu_items', array( __CLASS__, 'sort_wp_get_nav_menu_items' ), 1000, 3 ); - } - - // @todo Add get_post_metadata filters for plugins to add their data. - } - - /** - * Filter the wp_get_nav_menu_items() result to supply the previewed menu items. - * - * @since 4.3.0 - * @access public - * - * @see wp_get_nav_menu_items() - * - * @param array $items An array of menu item post objects. - * @param object $menu The menu object. - * @param array $args An array of arguments used to retrieve menu item objects. - * @return array Array of menu items, - */ - public function filter_wp_get_nav_menu_items( $items, $menu, $args ) { - $this_item = $this->value(); - $current_nav_menu_term_id = $this_item['nav_menu_term_id']; - unset( $this_item['nav_menu_term_id'] ); - - $should_filter = ( - $menu->term_id === $this->original_nav_menu_term_id - || - $menu->term_id === $current_nav_menu_term_id - ); - if ( ! $should_filter ) { - return $items; - } - - // Handle deleted menu item, or menu item moved to another menu. - $should_remove = ( - false === $this_item - || - ( - $this->original_nav_menu_term_id === $menu->term_id - && - $current_nav_menu_term_id !== $this->original_nav_menu_term_id - ) - ); - if ( $should_remove ) { - $filtered_items = array(); - foreach ( $items as $item ) { - if ( $item->db_id !== $this->post_id ) { - $filtered_items[] = $item; - } - } - return $filtered_items; - } - - $mutated = false; - $should_update = ( - is_array( $this_item ) - && - $current_nav_menu_term_id === $menu->term_id - ); - if ( $should_update ) { - foreach ( $items as $item ) { - if ( $item->db_id === $this->post_id ) { - foreach ( get_object_vars( $this->value_as_wp_post_nav_menu_item() ) as $key => $value ) { - $item->$key = $value; - } - $mutated = true; - } - } - - // Not found so we have to append it.. - if ( ! $mutated ) { - $items[] = $this->value_as_wp_post_nav_menu_item(); - } - } - - return $items; - } - - /** - * Re-apply the tail logic also applied on $items by wp_get_nav_menu_items(). - * - * @since 4.3.0 - * @access public - * @static - * - * @see wp_get_nav_menu_items() - * - * @param array $items An array of menu item post objects. - * @param object $menu The menu object. - * @param array $args An array of arguments used to retrieve menu item objects. - * @return array Array of menu items, - */ - public static function sort_wp_get_nav_menu_items( $items, $menu, $args ) { - // @todo We should probably re-apply some constraints imposed by $args. - unset( $args['include'] ); - - // Remove invalid items only in frontend. - if ( ! is_admin() ) { - $items = array_filter( $items, '_is_valid_nav_menu_item' ); - } - - if ( ARRAY_A === $args['output'] ) { - $GLOBALS['_menu_item_sort_prop'] = $args['output_key']; - usort( $items, '_sort_nav_menu_items' ); - $i = 1; - - foreach ( $items as $k => $item ) { - $items[ $k ]->{$args['output_key']} = $i++; - } - } - - return $items; - } - - /** - * Get the value emulated into a WP_Post and set up as a nav_menu_item. - * - * @since 4.3.0 - * @access public - * - * @return WP_Post With wp_setup_nav_menu_item() applied. - */ - public function value_as_wp_post_nav_menu_item() { - $item = (object) $this->value(); - unset( $item->nav_menu_term_id ); - - $item->post_status = $item->status; - unset( $item->status ); - - $item->post_type = 'nav_menu_item'; - $item->menu_order = $item->position; - unset( $item->position ); - - if ( $item->title ) { - $item->post_title = $item->title; - } - - $item->ID = $this->post_id; - $item->db_id = $this->post_id; - $post = new WP_Post( (object) $item ); - - if ( empty( $post->post_author ) ) { - $post->post_author = get_current_user_id(); - } - - if ( ! isset( $post->type_label ) ) { - if ( 'post_type' === $post->type ) { - $object = get_post_type_object( $post->object ); - if ( $object ) { - $post->type_label = $object->labels->singular_name; - } else { - $post->type_label = $post->object; - } - } elseif ( 'taxonomy' == $post->type ) { - $object = get_taxonomy( $post->object ); - if ( $object ) { - $post->type_label = $object->labels->singular_name; - } else { - $post->type_label = $post->object; - } - } else { - $post->type_label = __( 'Custom Link' ); - } - } - - return $post; - } - - /** - * Sanitize an input. - * - * Note that parent::sanitize() erroneously does wp_unslash() on $value, but - * we remove that in this override. - * - * @since 4.3.0 - * @access public - * - * @param array $menu_item_value The value to sanitize. - * @return array|false|null Null if an input isn't valid. False if it is marked for deletion. - * Otherwise the sanitized value. - */ - public function sanitize( $menu_item_value ) { - // Menu is marked for deletion. - if ( false === $menu_item_value ) { - return $menu_item_value; - } - - // Invalid. - if ( ! is_array( $menu_item_value ) ) { - return null; - } - - $default = array( - 'object_id' => 0, - 'object' => '', - 'menu_item_parent' => 0, - 'position' => 0, - 'type' => 'custom', - 'title' => '', - 'url' => '', - 'target' => '', - 'attr_title' => '', - 'description' => '', - 'classes' => '', - 'xfn' => '', - 'status' => 'publish', - 'original_title' => '', - 'nav_menu_term_id' => 0, - ); - $menu_item_value = array_merge( $default, $menu_item_value ); - $menu_item_value = wp_array_slice_assoc( $menu_item_value, array_keys( $default ) ); - $menu_item_value['position'] = max( 0, intval( $menu_item_value['position'] ) ); - - foreach ( array( 'object_id', 'menu_item_parent', 'nav_menu_term_id' ) as $key ) { - // Note we need to allow negative-integer IDs for previewed objects not inserted yet. - $menu_item_value[ $key ] = intval( $menu_item_value[ $key ] ); - } - - foreach ( array( 'type', 'object', 'target' ) as $key ) { - $menu_item_value[ $key ] = sanitize_key( $menu_item_value[ $key ] ); - } - - foreach ( array( 'xfn', 'classes' ) as $key ) { - $value = $menu_item_value[ $key ]; - if ( ! is_array( $value ) ) { - $value = explode( ' ', $value ); - } - $menu_item_value[ $key ] = implode( ' ', array_map( 'sanitize_html_class', $value ) ); - } - - foreach ( array( 'title', 'attr_title', 'description', 'original_title' ) as $key ) { - // @todo Should esc_attr() the attr_title as well? - $menu_item_value[ $key ] = sanitize_text_field( $menu_item_value[ $key ] ); - } - - $menu_item_value['url'] = esc_url_raw( $menu_item_value['url'] ); - if ( ! get_post_status_object( $menu_item_value['status'] ) ) { - $menu_item_value['status'] = 'publish'; - } - - /** This filter is documented in wp-includes/class-wp-customize-setting.php */ - return apply_filters( "customize_sanitize_{$this->id}", $menu_item_value, $this ); - } - - /** - * Create/update the nav_menu_item post for this setting. - * - * Any created menu items will have their assigned post IDs exported to the client - * via the customize_save_response filter. Likewise, any errors will be exported - * to the client via the customize_save_response() filter. - * - * To delete a menu, the client can send false as the value. - * - * @since 4.3.0 - * @access protected - * - * @see wp_update_nav_menu_item() - * - * @param array|false $value The menu item array to update. If false, then the menu item will be deleted - * entirely. See WP_Customize_Nav_Menu_Item_Setting::$default for what the value - * should consist of. - * @return null|void - */ - protected function update( $value ) { - if ( $this->is_updated ) { - return; - } - - $this->is_updated = true; - $is_placeholder = ( $this->post_id < 0 ); - $is_delete = ( false === $value ); - - // Update the cached value. - $this->value = $value; - - add_filter( 'customize_save_response', array( $this, 'amend_customize_save_response' ) ); - - if ( $is_delete ) { - // If the current setting post is a placeholder, a delete request is a no-op. - if ( $is_placeholder ) { - $this->update_status = 'deleted'; - } else { - $r = wp_delete_post( $this->post_id, true ); - - if ( false === $r ) { - $this->update_error = new WP_Error( 'delete_failure' ); - $this->update_status = 'error'; - } else { - $this->update_status = 'deleted'; - } - // @todo send back the IDs for all associated nav menu items deleted, so these settings (and controls) can be removed from Customizer? - } - } else { - - // Handle saving menu items for menus that are being newly-created. - if ( $value['nav_menu_term_id'] < 0 ) { - $nav_menu_setting_id = sprintf( 'nav_menu[%s]', $value['nav_menu_term_id'] ); - $nav_menu_setting = $this->manager->get_setting( $nav_menu_setting_id ); - - if ( ! $nav_menu_setting || ! ( $nav_menu_setting instanceof WP_Customize_Nav_Menu_Setting ) ) { - $this->update_status = 'error'; - $this->update_error = new WP_Error( 'unexpected_nav_menu_setting' ); - return; - } - - if ( false === $nav_menu_setting->save() ) { - $this->update_status = 'error'; - $this->update_error = new WP_Error( 'nav_menu_setting_failure' ); - return; - } - - if ( $nav_menu_setting->previous_term_id !== intval( $value['nav_menu_term_id'] ) ) { - $this->update_status = 'error'; - $this->update_error = new WP_Error( 'unexpected_previous_term_id' ); - return; - } - - $value['nav_menu_term_id'] = $nav_menu_setting->term_id; - } - - // Handle saving a nav menu item that is a child of a nav menu item being newly-created. - if ( $value['menu_item_parent'] < 0 ) { - $parent_nav_menu_item_setting_id = sprintf( 'nav_menu_item[%s]', $value['menu_item_parent'] ); - $parent_nav_menu_item_setting = $this->manager->get_setting( $parent_nav_menu_item_setting_id ); - - if ( ! $parent_nav_menu_item_setting || ! ( $parent_nav_menu_item_setting instanceof WP_Customize_Nav_Menu_Item_Setting ) ) { - $this->update_status = 'error'; - $this->update_error = new WP_Error( 'unexpected_nav_menu_item_setting' ); - return; - } - - if ( false === $parent_nav_menu_item_setting->save() ) { - $this->update_status = 'error'; - $this->update_error = new WP_Error( 'nav_menu_item_setting_failure' ); - return; - } - - if ( $parent_nav_menu_item_setting->previous_post_id !== intval( $value['menu_item_parent'] ) ) { - $this->update_status = 'error'; - $this->update_error = new WP_Error( 'unexpected_previous_post_id' ); - return; - } - - $value['menu_item_parent'] = $parent_nav_menu_item_setting->post_id; - } - - // Insert or update menu. - $menu_item_data = array( - 'menu-item-object-id' => $value['object_id'], - 'menu-item-object' => $value['object'], - 'menu-item-parent-id' => $value['menu_item_parent'], - 'menu-item-position' => $value['position'], - 'menu-item-type' => $value['type'], - 'menu-item-title' => $value['title'], - 'menu-item-url' => $value['url'], - 'menu-item-description' => $value['description'], - 'menu-item-attr-title' => $value['attr_title'], - 'menu-item-target' => $value['target'], - 'menu-item-classes' => $value['classes'], - 'menu-item-xfn' => $value['xfn'], - 'menu-item-status' => $value['status'], - ); - - $r = wp_update_nav_menu_item( - $value['nav_menu_term_id'], - $is_placeholder ? 0 : $this->post_id, - $menu_item_data - ); - - if ( is_wp_error( $r ) ) { - $this->update_status = 'error'; - $this->update_error = $r; - } else { - if ( $is_placeholder ) { - $this->previous_post_id = $this->post_id; - $this->post_id = $r; - $this->update_status = 'inserted'; - } else { - $this->update_status = 'updated'; - } - } - } - - } - - /** - * Export data for the JS client. - * - * @since 4.3.0 - * @access public - * - * @see WP_Customize_Nav_Menu_Item_Setting::update() - * - * @param array $data Additional information passed back to the 'saved' event on `wp.customize`. - * @return array Save response data. - */ - public function amend_customize_save_response( $data ) { - if ( ! isset( $data['nav_menu_item_updates'] ) ) { - $data['nav_menu_item_updates'] = array(); - } - - $data['nav_menu_item_updates'][] = array( - 'post_id' => $this->post_id, - 'previous_post_id' => $this->previous_post_id, - 'error' => $this->update_error ? $this->update_error->get_error_code() : null, - 'status' => $this->update_status, - ); - return $data; - } -} - -/** - * Customize Setting to represent a nav_menu. - * - * Subclass of WP_Customize_Setting to represent a nav_menu taxonomy term, and - * the IDs for the nav_menu_items associated with the nav menu. - * - * @since 4.3.0 - * - * @see wp_get_nav_menu_object() - * @see WP_Customize_Setting - */ -class WP_Customize_Nav_Menu_Setting extends WP_Customize_Setting { - - const ID_PATTERN = '/^nav_menu\[(?P-?\d+)\]$/'; - - const TAXONOMY = 'nav_menu'; - - const TYPE = 'nav_menu'; - - /** - * Setting type. - * - * @since 4.3.0 - * @access public - * @var string - */ - public $type = self::TYPE; - - /** - * Default setting value. - * - * @since 4.3.0 - * @access public - * @var array - * - * @see wp_get_nav_menu_object() - */ - public $default = array( - 'name' => '', - 'description' => '', - 'parent' => 0, - 'auto_add' => false, - ); - - /** - * Default transport. - * - * @since 4.3.0 - * @access public - * @var string - */ - public $transport = 'postMessage'; - - /** - * The term ID represented by this setting instance. - * - * A negative value represents a placeholder ID for a new menu not yet saved. - * - * @since 4.3.0 - * @access public - * @var int - */ - public $term_id; - - /** - * Previous (placeholder) term ID used before creating a new menu. - * - * This value will be exported to JS via the customize_save_response filter - * so that JavaScript can update the settings to refer to the newly-assigned - * term ID. This value is always negative to indicate it does not refer to - * a real term. - * - * @since 4.3.0 - * @access public - * @var int - * - * @see WP_Customize_Nav_Menu_Setting::update() - * @see WP_Customize_Nav_Menu_Setting::amend_customize_save_response() - */ - public $previous_term_id; - - /** - * Whether or not preview() was called. - * - * @since 4.3.0 - * @access protected - * @var bool - */ - protected $is_previewed = false; - - /** - * Whether or not update() was called. - * - * @since 4.3.0 - * @access protected - * @var bool - */ - protected $is_updated = false; - - /** - * Status for calling the update method, used in customize_save_response filter. - * - * When status is inserted, the placeholder term ID is stored in $previous_term_id. - * When status is error, the error is stored in $update_error. - * - * @since 4.3.0 - * @access public - * @var string updated|inserted|deleted|error - * - * @see WP_Customize_Nav_Menu_Setting::update() - * @see WP_Customize_Nav_Menu_Setting::amend_customize_save_response() - */ - public $update_status; - - /** - * Any error object returned by wp_update_nav_menu_object() when setting is updated. - * - * @since 4.3.0 - * @access public - * @var WP_Error - * - * @see WP_Customize_Nav_Menu_Setting::update() - * @see WP_Customize_Nav_Menu_Setting::amend_customize_save_response() - */ - public $update_error; - - /** - * Constructor. - * - * Any supplied $args override class property defaults. - * - * @since 4.3.0 - * @access public - * - * @param WP_Customize_Manager $manager Bootstrap Customizer instance. - * @param string $id An specific ID of the setting. Can be a - * theme mod or option name. - * @param array $args Optional. Setting arguments. - * - * @throws Exception If $id is not valid for this setting type. - */ - public function __construct( WP_Customize_Manager $manager, $id, array $args = array() ) { - if ( empty( $manager->nav_menus ) ) { - throw new Exception( 'Expected WP_Customize_Manager::$nav_menus to be set.' ); - } - - if ( ! preg_match( self::ID_PATTERN, $id, $matches ) ) { - throw new Exception( "Illegal widget setting ID: $id" ); - } - - $this->term_id = intval( $matches['id'] ); - - parent::__construct( $manager, $id, $args ); - } - - /** - * Get the instance data for a given widget setting. - * - * @since 4.3.0 - * @access public - * - * @see wp_get_nav_menu_object() - * - * @return array Instance data. - */ - public function value() { - if ( $this->is_previewed && $this->_previewed_blog_id === get_current_blog_id() ) { - $undefined = new stdClass(); // Symbol. - $post_value = $this->post_value( $undefined ); - - if ( $undefined === $post_value ) { - $value = $this->_original_value; - } else { - $value = $post_value; - } - } else { - $value = false; - - // Note that a term_id of less than one indicates a nav_menu not yet inserted. - if ( $this->term_id > 0 ) { - $term = wp_get_nav_menu_object( $this->term_id ); - - if ( $term ) { - $value = wp_array_slice_assoc( (array) $term, array_keys( $this->default ) ); - - $nav_menu_options = (array) get_option( 'nav_menu_options', array() ); - $value['auto_add'] = false; - - if ( isset( $nav_menu_options['auto_add'] ) && is_array( $nav_menu_options['auto_add'] ) ) { - $value['auto_add'] = in_array( $term->term_id, $nav_menu_options['auto_add'] ); - } - } - } - - if ( ! is_array( $value ) ) { - $value = $this->default; - } - } - return $value; - } - - /** - * Handle previewing the setting. - * - * @since 4.3.0 - * @access public - * - * @see WP_Customize_Manager::post_value() - */ - public function preview() { - if ( $this->is_previewed ) { - return; - } - - $this->is_previewed = true; - $this->_original_value = $this->value(); - $this->_previewed_blog_id = get_current_blog_id(); - - add_filter( 'wp_get_nav_menus', array( $this, 'filter_wp_get_nav_menus' ), 10, 2 ); - add_filter( 'wp_get_nav_menu_object', array( $this, 'filter_wp_get_nav_menu_object' ), 10, 2 ); - add_filter( 'default_option_nav_menu_options', array( $this, 'filter_nav_menu_options' ) ); - add_filter( 'option_nav_menu_options', array( $this, 'filter_nav_menu_options' ) ); - } - - /** - * Filter the wp_get_nav_menus() result to ensure the inserted menu object is included, and the deleted one is removed. - * - * @since 4.3.0 - * @access public - * - * @see wp_get_nav_menus() - * - * @param array $menus An array of menu objects. - * @param array $args An array of arguments used to retrieve menu objects. - * @return array - */ - public function filter_wp_get_nav_menus( $menus, $args ) { - if ( get_current_blog_id() !== $this->_previewed_blog_id ) { - return $menus; - } - - $setting_value = $this->value(); - $is_delete = ( false === $setting_value ); - $index = -1; - - // Find the existing menu item's position in the list. - foreach ( $menus as $i => $menu ) { - if ( (int) $this->term_id === (int) $menu->term_id || (int) $this->previous_term_id === (int) $menu->term_id ) { - $index = $i; - break; - } - } - - if ( $is_delete ) { - // Handle deleted menu by removing it from the list. - if ( -1 !== $index ) { - array_splice( $menus, $index, 1 ); - } - } else { - // Handle menus being updated or inserted. - $menu_obj = (object) array_merge( array( - 'term_id' => $this->term_id, - 'term_taxonomy_id' => $this->term_id, - 'slug' => sanitize_title( $setting_value['name'] ), - 'count' => 0, - 'term_group' => 0, - 'taxonomy' => self::TAXONOMY, - 'filter' => 'raw', - ), $setting_value ); - - array_splice( $menus, $index, ( -1 === $index ? 0 : 1 ), array( $menu_obj ) ); - } - - // Make sure the menu objects get re-sorted after an update/insert. - if ( ! $is_delete && ! empty( $args['orderby'] ) ) { - $this->_current_menus_sort_orderby = $args['orderby']; - usort( $menus, array( $this, '_sort_menus_by_orderby' ) ); - } - // @todo add support for $args['hide_empty'] === true - - return $menus; - } - - /** - * Temporary non-closure passing of orderby value to function. - * - * @since 4.3.0 - * @access protected - * @var string - * - * @see WP_Customize_Nav_Menu_Setting::filter_wp_get_nav_menus() - * @see WP_Customize_Nav_Menu_Setting::_sort_menus_by_orderby() - */ - protected $_current_menus_sort_orderby; - - /** - * Sort menu objects by the class-supplied orderby property. - * - * This is a workaround for a lack of closures. - * - * @since 4.3.0 - * @access protected - * @param object $menu1 - * @param object $menu2 - * @return int - * - * @see WP_Customize_Nav_Menu_Setting::filter_wp_get_nav_menus() - */ - protected function _sort_menus_by_orderby( $menu1, $menu2 ) { - $key = $this->_current_menus_sort_orderby; - return strcmp( $menu1->$key, $menu2->$key ); - } - - /** - * Filter the wp_get_nav_menu_object() result to supply the previewed menu object. - * - * Requesting a nav_menu object by anything but ID is not supported. - * - * @since 4.3.0 - * @access public - * - * @see wp_get_nav_menu_object() - * - * @param object|null $menu_obj Object returned by wp_get_nav_menu_object(). - * @param string $menu_id ID of the nav_menu term. Requests by slug or name will be ignored. - * @return object|null - */ - public function filter_wp_get_nav_menu_object( $menu_obj, $menu_id ) { - $ok = ( - get_current_blog_id() === $this->_previewed_blog_id - && - is_int( $menu_id ) - && - $menu_id === $this->term_id - ); - if ( ! $ok ) { - return $menu_obj; - } - - $setting_value = $this->value(); - - // Handle deleted menus. - if ( false === $setting_value ) { - return false; - } - - // Handle sanitization failure by preventing short-circuiting. - if ( null === $setting_value ) { - return $menu_obj; - } - - $menu_obj = (object) array_merge( array( - 'term_id' => $this->term_id, - 'term_taxonomy_id' => $this->term_id, - 'slug' => sanitize_title( $setting_value['name'] ), - 'count' => 0, - 'term_group' => 0, - 'taxonomy' => self::TAXONOMY, - 'filter' => 'raw', - ), $setting_value ); - - return $menu_obj; - } - - /** - * Filter the nav_menu_options option to include this menu's auto_add preference. - * - * @since 4.3.0 - * @access public - * - * @param array $nav_menu_options Nav menu options including auto_add. - * @return array (Kaybe) modified nav menu options. - */ - public function filter_nav_menu_options( $nav_menu_options ) { - if ( $this->_previewed_blog_id !== get_current_blog_id() ) { - return $nav_menu_options; - } - - $menu = $this->value(); - $nav_menu_options = $this->filter_nav_menu_options_value( - $nav_menu_options, - $this->term_id, - false === $menu ? false : $menu['auto_add'] - ); - - return $nav_menu_options; - } - - /** - * Sanitize an input. - * - * Note that parent::sanitize() erroneously does wp_unslash() on $value, but - * we remove that in this override. - * - * @since 4.3.0 - * @access public - * - * @param array $value The value to sanitize. - * @return array|false|null Null if an input isn't valid. False if it is marked for deletion. - * Otherwise the sanitized value. - */ - public function sanitize( $value ) { - // Menu is marked for deletion. - if ( false === $value ) { - return $value; - } - - // Invalid. - if ( ! is_array( $value ) ) { - return null; - } - - $default = array( - 'name' => '', - 'description' => '', - 'parent' => 0, - 'auto_add' => false, - ); - $value = array_merge( $default, $value ); - $value = wp_array_slice_assoc( $value, array_keys( $default ) ); - - $value['name'] = trim( esc_html( $value['name'] ) ); // This sanitization code is used in wp-admin/nav-menus.php. - $value['description'] = sanitize_text_field( $value['description'] ); - $value['parent'] = max( 0, intval( $value['parent'] ) ); - $value['auto_add'] = ! empty( $value['auto_add'] ); - - if ( '' === $value['name'] ) { - $value['name'] = _x( '(unnamed)', 'Missing menu name.' ); - } - - /** This filter is documented in wp-includes/class-wp-customize-setting.php */ - return apply_filters( "customize_sanitize_{$this->id}", $value, $this ); - } - - /** - * Storage for data to be sent back to client in customize_save_response filter. - * - * @access protected - * @since 4.3.0 - * @var array - * - * @see WP_Customize_Nav_Menu_Setting::amend_customize_save_response() - */ - protected $_widget_nav_menu_updates = array(); - - /** - * Create/update the nav_menu term for this setting. - * - * Any created menus will have their assigned term IDs exported to the client - * via the customize_save_response filter. Likewise, any errors will be exported - * to the client via the customize_save_response() filter. - * - * To delete a menu, the client can send false as the value. - * - * @since 4.3.0 - * @access protected - * - * @see wp_update_nav_menu_object() - * - * @param array|false $value { - * The value to update. Note that slug cannot be updated via wp_update_nav_menu_object(). - * If false, then the menu will be deleted entirely. - * - * @type string $name The name of the menu to save. - * @type string $description The term description. Default empty string. - * @type int $parent The id of the parent term. Default 0. - * @type bool $auto_add Whether pages will auto_add to this menu. Default false. - * } - * @return null|void - */ - protected function update( $value ) { - if ( $this->is_updated ) { - return; - } - - $this->is_updated = true; - $is_placeholder = ( $this->term_id < 0 ); - $is_delete = ( false === $value ); - - add_filter( 'customize_save_response', array( $this, 'amend_customize_save_response' ) ); - - $auto_add = null; - if ( $is_delete ) { - // If the current setting term is a placeholder, a delete request is a no-op. - if ( $is_placeholder ) { - $this->update_status = 'deleted'; - } else { - $r = wp_delete_nav_menu( $this->term_id ); - - if ( is_wp_error( $r ) ) { - $this->update_status = 'error'; - $this->update_error = $r; - } else { - $this->update_status = 'deleted'; - $auto_add = false; - } - } - } else { - // Insert or update menu. - $menu_data = wp_array_slice_assoc( $value, array( 'description', 'parent' ) ); - $menu_data['menu-name'] = $value['name']; - - $menu_id = $is_placeholder ? 0 : $this->term_id; - $r = wp_update_nav_menu_object( $menu_id, $menu_data ); - $original_name = $menu_data['menu-name']; - $name_conflict_suffix = 1; - while ( is_wp_error( $r ) && 'menu_exists' === $r->get_error_code() ) { - $name_conflict_suffix += 1; - /* translators: 1: original menu name, 2: duplicate count */ - $menu_data['menu-name'] = sprintf( __( '%1$s (%2$d)' ), $original_name, $name_conflict_suffix ); - $r = wp_update_nav_menu_object( $menu_id, $menu_data ); - } - - if ( is_wp_error( $r ) ) { - $this->update_status = 'error'; - $this->update_error = $r; - } else { - if ( $is_placeholder ) { - $this->previous_term_id = $this->term_id; - $this->term_id = $r; - $this->update_status = 'inserted'; - } else { - $this->update_status = 'updated'; - } - - $auto_add = $value['auto_add']; - } - } - - if ( null !== $auto_add ) { - $nav_menu_options = $this->filter_nav_menu_options_value( - (array) get_option( 'nav_menu_options', array() ), - $this->term_id, - $auto_add - ); - update_option( 'nav_menu_options', $nav_menu_options ); - } - - if ( 'inserted' === $this->update_status ) { - // Make sure that new menus assigned to nav menu locations use their new IDs. - foreach ( $this->manager->settings() as $setting ) { - if ( ! preg_match( '/^nav_menu_locations\[/', $setting->id ) ) { - continue; - } - - $post_value = $setting->post_value( null ); - if ( ! is_null( $post_value ) && $this->previous_term_id === intval( $post_value ) ) { - $this->manager->set_post_value( $setting->id, $this->term_id ); - $setting->save(); - } - } - - // Make sure that any nav_menu widgets referencing the placeholder nav menu get updated and sent back to client. - foreach ( array_keys( $this->manager->unsanitized_post_values() ) as $setting_id ) { - $nav_menu_widget_setting = $this->manager->get_setting( $setting_id ); - if ( ! $nav_menu_widget_setting || ! preg_match( '/^widget_nav_menu\[/', $nav_menu_widget_setting->id ) ) { - continue; - } - - $widget_instance = $nav_menu_widget_setting->post_value(); // Note that this calls WP_Customize_Widgets::sanitize_widget_instance(). - if ( empty( $widget_instance['nav_menu'] ) || intval( $widget_instance['nav_menu'] ) !== $this->previous_term_id ) { - continue; - } - - $widget_instance['nav_menu'] = $this->term_id; - $updated_widget_instance = $this->manager->widgets->sanitize_widget_js_instance( $widget_instance ); - $this->manager->set_post_value( $nav_menu_widget_setting->id, $updated_widget_instance ); - $nav_menu_widget_setting->save(); - - $this->_widget_nav_menu_updates[ $nav_menu_widget_setting->id ] = $updated_widget_instance; - } - } - } - - /** - * Updates a nav_menu_options array. - * - * @since 4.3.0 - * @access protected - * - * @see WP_Customize_Nav_Menu_Setting::filter_nav_menu_options() - * @see WP_Customize_Nav_Menu_Setting::update() - * - * @param array $nav_menu_options Array as returned by get_option( 'nav_menu_options' ). - * @param int $menu_id The term ID for the given menu. - * @param bool $auto_add Whether to auto-add or not. - * @return array (Maybe) modified nav_menu_otions array. - */ - protected function filter_nav_menu_options_value( $nav_menu_options, $menu_id, $auto_add ) { - $nav_menu_options = (array) $nav_menu_options; - if ( ! isset( $nav_menu_options['auto_add'] ) ) { - $nav_menu_options['auto_add'] = array(); - } - - $i = array_search( $menu_id, $nav_menu_options['auto_add'] ); - if ( $auto_add && false === $i ) { - array_push( $nav_menu_options['auto_add'], $this->term_id ); - } elseif ( ! $auto_add && false !== $i ) { - array_splice( $nav_menu_options['auto_add'], $i, 1 ); - } - - return $nav_menu_options; - } - - /** - * Export data for the JS client. - * - * @since 4.3.0 - * @access public - * - * @see WP_Customize_Nav_Menu_Setting::update() - * - * @param array $data Additional information passed back to the 'saved' event on `wp.customize`. - * @return array Export data. - */ - public function amend_customize_save_response( $data ) { - if ( ! isset( $data['nav_menu_updates'] ) ) { - $data['nav_menu_updates'] = array(); - } - if ( ! isset( $data['widget_nav_menu_updates'] ) ) { - $data['widget_nav_menu_updates'] = array(); - } - - $data['nav_menu_updates'][] = array( - 'term_id' => $this->term_id, - 'previous_term_id' => $this->previous_term_id, - 'error' => $this->update_error ? $this->update_error->get_error_code() : null, - 'status' => $this->update_status, - 'saved_value' => 'deleted' === $this->update_status ? null : $this->value(), - ); - - $data['widget_nav_menu_updates'] = array_merge( - $data['widget_nav_menu_updates'], - $this->_widget_nav_menu_updates - ); - $this->_widget_nav_menu_updates = array(); - - return $data; - } -} +/** WP_Customize_Nav_Menu_Setting class */ +require_once( ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-setting.php' ); diff --git a/wp-includes/class-wp-customize-widgets.php b/wp-includes/class-wp-customize-widgets.php index 8569228..7639d50 100644 --- a/wp-includes/class-wp-customize-widgets.php +++ b/wp-includes/class-wp-customize-widgets.php @@ -164,8 +164,8 @@ final class WP_Customize_Widgets { * @since 4.2.0 * @access public * - * @param false|array $setting_args The arguments to the WP_Customize_Setting constructor. - * @param string $setting_id ID for dynamic setting, usually coming from `$_POST['customized']`. + * @param false|array $args The arguments to the WP_Customize_Setting constructor. + * @param string $setting_id ID for dynamic setting, usually coming from `$_POST['customized']`. * @return false|array Setting arguments, false otherwise. */ public function filter_customize_dynamic_setting_args( $args, $setting_id ) { @@ -355,9 +355,11 @@ final class WP_Customize_Widgets { } $this->manager->add_panel( 'widgets', array( - 'title' => __( 'Widgets' ), - 'description' => __( 'Widgets are independent sections of content that can be placed into widgetized areas provided by your theme (commonly called sidebars).' ), - 'priority' => 110, + 'type' => 'widgets', + 'title' => __( 'Widgets' ), + 'description' => __( 'Widgets are independent sections of content that can be placed into widgetized areas provided by your theme (commonly called sidebars).' ), + 'priority' => 110, + 'active_callback' => array( $this, 'is_panel_active' ), ) ); foreach ( $sidebars_widgets as $sidebar_id => $sidebar_widget_ids ) { @@ -365,7 +367,7 @@ final class WP_Customize_Widgets { $sidebar_widget_ids = array(); } - $is_registered_sidebar = isset( $wp_registered_sidebars[ $sidebar_id ] ); + $is_registered_sidebar = is_registered_sidebar( $sidebar_id ); $is_inactive_widgets = ( 'wp_inactive_widgets' === $sidebar_id ); $is_active_sidebar = ( $is_registered_sidebar && ! $is_inactive_widgets ); @@ -454,6 +456,22 @@ final class WP_Customize_Widgets { add_filter( 'sidebars_widgets', array( $this, 'preview_sidebars_widgets' ), 1 ); } + /** + * Return whether the widgets panel is active, based on whether there are sidebars registered. + * + * @since 4.4.0 + * @access public + * + * @see WP_Customize_Panel::$active_callback + * + * @global array $wp_registered_sidebars + * @return bool Active. + */ + public function is_panel_active() { + global $wp_registered_sidebars; + return ! empty( $wp_registered_sidebars ); + } + /** * Covert a widget_id into its corresponding Customizer setting ID (option name). * @@ -655,6 +673,11 @@ final class WP_Customize_Widgets { 'error' => __( 'An error has occurred. Please reload the page and try again.' ), 'widgetMovedUp' => __( 'Widget moved up' ), 'widgetMovedDown' => __( 'Widget moved down' ), + 'noAreasRendered' => __( 'There are no widget areas currently rendered in the preview. Navigate in the preview to a template that makes use of a widget area in order to access its widgets here.' ), + 'reorderModeOn' => __( 'Reorder mode enabled' ), + 'reorderModeOff' => __( 'Reorder mode closed' ), + 'reorderLabelOn' => esc_attr__( 'Reorder widgets' ), + 'reorderLabelOff' => esc_attr__( 'Close reorder mode' ), ), 'tpl' => array( 'widgetReorderNav' => $widget_reorder_nav_tpl, @@ -898,21 +921,47 @@ final class WP_Customize_Widgets { * @return string Widget control form HTML markup. */ public function get_widget_control( $args ) { + $args[0]['before_form'] = '
                  '; + $args[0]['after_form'] = '
                  '; + $args[0]['before_widget_content'] = '
                  '; + $args[0]['after_widget_content'] = '
                  '; ob_start(); - call_user_func_array( 'wp_widget_control', $args ); - $replacements = array( - '' => '
                  ', - '' => '
                  ', - ); - $control_tpl = ob_get_clean(); - - $control_tpl = str_replace( array_keys( $replacements ), array_values( $replacements ), $control_tpl ); - return $control_tpl; } + /** + * Get the widget control markup parts. + * + * @since 4.4.0 + * @access public + * + * @param array $args Widget control arguments. + * @return array { + * @type string $control Markup for widget control wrapping form. + * @type string $content The contents of the widget form itself. + * } + */ + public function get_widget_control_parts( $args ) { + $args[0]['before_widget_content'] = '
                  '; + $args[0]['after_widget_content'] = '
                  '; + $control_markup = $this->get_widget_control( $args ); + + $content_start_pos = strpos( $control_markup, $args[0]['before_widget_content'] ); + $content_end_pos = strrpos( $control_markup, $args[0]['after_widget_content'] ); + + $control = substr( $control_markup, 0, $content_start_pos + strlen( $args[0]['before_widget_content'] ) ); + $control .= substr( $control_markup, $content_end_pos ); + $content = trim( substr( + $control_markup, + $content_start_pos + strlen( $args[0]['before_widget_content'] ), + $content_end_pos - $content_start_pos - strlen( $args[0]['before_widget_content'] ) + ) ); + + return compact( 'control', 'content' ); + } + /** * Add hooks for the Customizer preview. * @@ -1076,14 +1125,12 @@ final class WP_Customize_Widgets { * @since 3.9.0 * @access public * - * @global array $wp_registered_sidebars - * * @param bool $is_active Whether the sidebar is active. * @param string $sidebar_id Sidebar ID. * @return bool */ public function tally_sidebars_via_is_active_sidebar_calls( $is_active, $sidebar_id ) { - if ( isset( $GLOBALS['wp_registered_sidebars'][$sidebar_id] ) ) { + if ( is_registered_sidebar( $sidebar_id ) ) { $this->rendered_sidebars[] = $sidebar_id; } /* @@ -1104,14 +1151,12 @@ final class WP_Customize_Widgets { * @since 3.9.0 * @access public * - * @global array $wp_registered_sidebars - * * @param bool $has_widgets Whether the current sidebar has widgets. * @param string $sidebar_id Sidebar ID. * @return bool */ public function tally_sidebars_via_dynamic_sidebar_calls( $has_widgets, $sidebar_id ) { - if ( isset( $GLOBALS['wp_registered_sidebars'][$sidebar_id] ) ) { + if ( is_registered_sidebar( $sidebar_id ) ) { $this->rendered_sidebars[] = $sidebar_id; } @@ -1335,7 +1380,7 @@ final class WP_Customize_Widgets { * in place from WP_Customize_Setting::preview() will use this value * instead of the default widget instance value (an empty array). */ - $this->manager->set_post_value( $setting_id, $instance ); + $this->manager->set_post_value( $setting_id, $this->sanitize_widget_js_instance( $instance ) ); // Obtain the widget control with the updated instance in place. ob_start(); diff --git a/wp-includes/class-wp-editor.php b/wp-includes/class-wp-editor.php index a016df5..a6504d4 100644 --- a/wp-includes/class-wp-editor.php +++ b/wp-includes/class-wp-editor.php @@ -48,10 +48,10 @@ final class _WP_Editors { * @type int $textarea_rows Number rows in the editor textarea. Default 20. * @type string|int $tabindex Tabindex value to use. Default empty. * @type string $tabfocus_elements The previous and next element ID to move the focus to - * when pressing the Tab key in TinyMCE. Defualt ':prev,:next'. + * when pressing the Tab key in TinyMCE. Default ':prev,:next'. * @type string $editor_css Intended for extra styles for both Visual and Text editors. * Should include ` -is_preview() ) { - $cache = wp_cache_get('widget_recent_comments', 'widget'); - } - if ( ! is_array( $cache ) ) { - $cache = array(); - } - - if ( ! isset( $args['widget_id'] ) ) - $args['widget_id'] = $this->id; - - if ( isset( $cache[ $args['widget_id'] ] ) ) { - echo $cache[ $args['widget_id'] ]; - return; - } - - $output = ''; - - $title = ( ! empty( $instance['title'] ) ) ? $instance['title'] : __( 'Recent Comments' ); - - /** This filter is documented in wp-includes/default-widgets.php */ - $title = apply_filters( 'widget_title', $title, $instance, $this->id_base ); - - $number = ( ! empty( $instance['number'] ) ) ? absint( $instance['number'] ) : 5; - if ( ! $number ) - $number = 5; - - /** - * Filter the arguments for the Recent Comments widget. - * - * @since 3.4.0 - * - * @see WP_Comment_Query::query() for information on accepted arguments. - * - * @param array $comment_args An array of arguments used to retrieve the recent comments. - */ - $comments = get_comments( apply_filters( 'widget_comments_args', array( - 'number' => $number, - 'status' => 'approve', - 'post_status' => 'publish' - ) ) ); - - $output .= $args['before_widget']; - if ( $title ) { - $output .= $args['before_title'] . $title . $args['after_title']; - } - - $output .= '
                    '; - if ( is_array( $comments ) && $comments ) { - // Prime cache for associated posts. (Prime post term cache if we need it for permalinks.) - $post_ids = array_unique( wp_list_pluck( $comments, 'comment_post_ID' ) ); - _prime_post_caches( $post_ids, strpos( get_option( 'permalink_structure' ), '%category%' ), false ); - - foreach ( (array) $comments as $comment) { - $output .= '
                  • '; - /* translators: comments widget: 1: comment author, 2: post link */ - $output .= sprintf( _x( '%1$s on %2$s', 'widgets' ), - '' . get_comment_author_link() . '', - '' . get_the_title( $comment->comment_post_ID ) . '' - ); - $output .= '
                  • '; - } - } - $output .= '
                  '; - $output .= $args['after_widget']; - - echo $output; - - if ( ! $this->is_preview() ) { - $cache[ $args['widget_id'] ] = $output; - wp_cache_set( 'widget_recent_comments', $cache, 'widget' ); - } - } - - /** - * @param array $new_instance - * @param array $old_instance - * @return array - */ - public function update( $new_instance, $old_instance ) { - $instance = $old_instance; - $instance['title'] = strip_tags($new_instance['title']); - $instance['number'] = absint( $new_instance['number'] ); - $this->flush_widget_cache(); - - $alloptions = wp_cache_get( 'alloptions', 'options' ); - if ( isset($alloptions['widget_recent_comments']) ) - delete_option('widget_recent_comments'); - - return $instance; - } - - /** - * @param array $instance - */ - public function form( $instance ) { - $title = isset( $instance['title'] ) ? esc_attr( $instance['title'] ) : ''; - $number = isset( $instance['number'] ) ? absint( $instance['number'] ) : 5; -?> -

                  -

                  - -

                  -

                  - __('Entries from any RSS or Atom feed.') ); - $control_ops = array( 'width' => 400, 'height' => 200 ); - parent::__construct( 'rss', __('RSS'), $widget_ops, $control_ops ); - } - - /** - * @param array $args - * @param array $instance - */ - public function widget( $args, $instance ) { - if ( isset($instance['error']) && $instance['error'] ) - return; - - $url = ! empty( $instance['url'] ) ? $instance['url'] : ''; - while ( stristr($url, 'http') != $url ) - $url = substr($url, 1); - - if ( empty($url) ) - return; - - // self-url destruction sequence - if ( in_array( untrailingslashit( $url ), array( site_url(), home_url() ) ) ) - return; - - $rss = fetch_feed($url); - $title = $instance['title']; - $desc = ''; - $link = ''; - - if ( ! is_wp_error($rss) ) { - $desc = esc_attr(strip_tags(@html_entity_decode($rss->get_description(), ENT_QUOTES, get_option('blog_charset')))); - if ( empty($title) ) - $title = esc_html(strip_tags($rss->get_title())); - $link = esc_url(strip_tags($rss->get_permalink())); - while ( stristr($link, 'http') != $link ) - $link = substr($link, 1); - } - - if ( empty($title) ) - $title = empty($desc) ? __('Unknown Feed') : $desc; - - /** This filter is documented in wp-includes/default-widgets.php */ - $title = apply_filters( 'widget_title', $title, $instance, $this->id_base ); - - $url = esc_url(strip_tags($url)); - $icon = includes_url('images/rss.png'); - if ( $title ) - $title = "RSS $title"; - - echo $args['before_widget']; - if ( $title ) { - echo $args['before_title'] . $title . $args['after_title']; - } - wp_widget_rss_output( $rss, $instance ); - echo $args['after_widget']; - - if ( ! is_wp_error($rss) ) - $rss->__destruct(); - unset($rss); - } - - /** - * @param array $new_instance - * @param array $old_instance - * @return array - */ - public function update( $new_instance, $old_instance ) { - $testurl = ( isset( $new_instance['url'] ) && ( !isset( $old_instance['url'] ) || ( $new_instance['url'] != $old_instance['url'] ) ) ); - return wp_widget_rss_process( $new_instance, $testurl ); - } - - /** - * @param array $instance - */ - public function form( $instance ) { - if ( empty( $instance ) ) { - $instance = array( 'title' => '', 'url' => '', 'items' => 10, 'error' => false, 'show_summary' => 0, 'show_author' => 0, 'show_date' => 0 ); - } - $instance['number'] = $this->number; - - wp_widget_rss_form( $instance ); - } -} - -/** - * Display the RSS entries in a list. - * - * @since 2.5.0 - * - * @param string|array|object $rss RSS url. - * @param array $args Widget arguments. - */ -function wp_widget_rss_output( $rss, $args = array() ) { - if ( is_string( $rss ) ) { - $rss = fetch_feed($rss); - } elseif ( is_array($rss) && isset($rss['url']) ) { - $args = $rss; - $rss = fetch_feed($rss['url']); - } elseif ( !is_object($rss) ) { - return; - } - - if ( is_wp_error($rss) ) { - if ( is_admin() || current_user_can('manage_options') ) - echo '

                  ' . sprintf( __('RSS Error: %s'), $rss->get_error_message() ) . '

                  '; - return; - } - - $default_args = array( 'show_author' => 0, 'show_date' => 0, 'show_summary' => 0, 'items' => 0 ); - $args = wp_parse_args( $args, $default_args ); - - $items = (int) $args['items']; - if ( $items < 1 || 20 < $items ) - $items = 10; - $show_summary = (int) $args['show_summary']; - $show_author = (int) $args['show_author']; - $show_date = (int) $args['show_date']; - - if ( !$rss->get_item_quantity() ) { - echo '
                  • ' . __( 'An error has occurred, which probably means the feed is down. Try again later.' ) . '
                  '; - $rss->__destruct(); - unset($rss); - return; - } - - echo '
                    '; - foreach ( $rss->get_items( 0, $items ) as $item ) { - $link = $item->get_link(); - while ( stristr( $link, 'http' ) != $link ) { - $link = substr( $link, 1 ); - } - $link = esc_url( strip_tags( $link ) ); - - $title = esc_html( trim( strip_tags( $item->get_title() ) ) ); - if ( empty( $title ) ) { - $title = __( 'Untitled' ); - } - - $desc = @html_entity_decode( $item->get_description(), ENT_QUOTES, get_option( 'blog_charset' ) ); - $desc = esc_attr( wp_trim_words( $desc, 55, ' […]' ) ); - - $summary = ''; - if ( $show_summary ) { - $summary = $desc; - - // Change existing [...] to […]. - if ( '[...]' == substr( $summary, -5 ) ) { - $summary = substr( $summary, 0, -5 ) . '[…]'; - } - - $summary = '
                    ' . esc_html( $summary ) . '
                    '; - } - - $date = ''; - if ( $show_date ) { - $date = $item->get_date( 'U' ); - - if ( $date ) { - $date = ' ' . date_i18n( get_option( 'date_format' ), $date ) . ''; - } - } - - $author = ''; - if ( $show_author ) { - $author = $item->get_author(); - if ( is_object($author) ) { - $author = $author->get_name(); - $author = ' ' . esc_html( strip_tags( $author ) ) . ''; - } - } - - if ( $link == '' ) { - echo "
                  • $title{$date}{$summary}{$author}
                  • "; - } elseif ( $show_summary ) { - echo "
                  • $title{$date}{$summary}{$author}
                  • "; - } else { - echo "
                  • $title{$date}{$author}
                  • "; - } - } - echo '
                  '; - $rss->__destruct(); - unset($rss); -} - -/** - * Display RSS widget options form. - * - * The options for what fields are displayed for the RSS form are all booleans - * and are as follows: 'url', 'title', 'items', 'show_summary', 'show_author', - * 'show_date'. - * - * @since 2.5.0 - * - * @param array|string $args Values for input fields. - * @param array $inputs Override default display options. - */ -function wp_widget_rss_form( $args, $inputs = null ) { - $default_inputs = array( 'url' => true, 'title' => true, 'items' => true, 'show_summary' => true, 'show_author' => true, 'show_date' => true ); - $inputs = wp_parse_args( $inputs, $default_inputs ); - - $args['number'] = esc_attr( $args['number'] ); - $args['title'] = isset( $args['title'] ) ? esc_attr( $args['title'] ) : ''; - $args['url'] = isset( $args['url'] ) ? esc_url( $args['url'] ) : ''; - $args['items'] = isset( $args['items'] ) ? (int) $args['items'] : 0; - - if ( $args['items'] < 1 || 20 < $args['items'] ) { - $args['items'] = 10; - } - - $args['show_summary'] = isset( $args['show_summary'] ) ? (int) $args['show_summary'] : (int) $inputs['show_summary']; - $args['show_author'] = isset( $args['show_author'] ) ? (int) $args['show_author'] : (int) $inputs['show_author']; - $args['show_date'] = isset( $args['show_date'] ) ? (int) $args['show_date'] : (int) $inputs['show_date']; - - if ( ! empty( $args['error'] ) ) { - echo '

                  ' . sprintf( __( 'RSS Error: %s' ), $args['error'] ) . '

                  '; - } - - if ( $inputs['url'] ) : -?> -

                  -

                  - -

                  -

                  - -

                  -

                  - -

                  /> -

                  - -

                  /> -

                  - -

                  /> -

                  - - -get_error_message(); - } else { - $link = esc_url(strip_tags($rss->get_permalink())); - while ( stristr($link, 'http') != $link ) - $link = substr($link, 1); - - $rss->__destruct(); - unset($rss); - } - } - - return compact( 'title', 'url', 'link', 'items', 'error', 'show_summary', 'show_author', 'show_date' ); -} - -/** - * Tag cloud widget class - * - * @since 2.8.0 - */ -class WP_Widget_Tag_Cloud extends WP_Widget { - - public function __construct() { - $widget_ops = array( 'description' => __( "A cloud of your most used tags.") ); - parent::__construct('tag_cloud', __('Tag Cloud'), $widget_ops); - } - - /** - * @param array $args - * @param array $instance - */ - public function widget( $args, $instance ) { - $current_taxonomy = $this->_get_current_taxonomy($instance); - if ( !empty($instance['title']) ) { - $title = $instance['title']; - } else { - if ( 'post_tag' == $current_taxonomy ) { - $title = __('Tags'); - } else { - $tax = get_taxonomy($current_taxonomy); - $title = $tax->labels->name; - } - } - - /** This filter is documented in wp-includes/default-widgets.php */ - $title = apply_filters( 'widget_title', $title, $instance, $this->id_base ); - - echo $args['before_widget']; - if ( $title ) { - echo $args['before_title'] . $title . $args['after_title']; - } - echo '
                  '; - - /** - * Filter the taxonomy used in the Tag Cloud widget. - * - * @since 2.8.0 - * @since 3.0.0 Added taxonomy drop-down. - * - * @see wp_tag_cloud() - * - * @param array $current_taxonomy The taxonomy to use in the tag cloud. Default 'tags'. - */ - wp_tag_cloud( apply_filters( 'widget_tag_cloud_args', array( - 'taxonomy' => $current_taxonomy - ) ) ); - - echo "
                  \n"; - echo $args['after_widget']; - } - - /** - * @param array $new_instance - * @param array $old_instance - * @return array - */ - public function update( $new_instance, $old_instance ) { - $instance = array(); - $instance['title'] = strip_tags(stripslashes($new_instance['title'])); - $instance['taxonomy'] = stripslashes($new_instance['taxonomy']); - return $instance; - } - - /** - * @param array $instance - */ - public function form( $instance ) { - $current_taxonomy = $this->_get_current_taxonomy($instance); -?> -

                  -

                  -

                  -

                  __('Add a custom menu to your sidebar.') ); - parent::__construct( 'nav_menu', __('Custom Menu'), $widget_ops ); - } - - /** - * @param array $args - * @param array $instance - */ - public function widget( $args, $instance ) { - // Get menu - $nav_menu = ! empty( $instance['nav_menu'] ) ? wp_get_nav_menu_object( $instance['nav_menu'] ) : false; - - if ( !$nav_menu ) - return; - - /** This filter is documented in wp-includes/default-widgets.php */ - $instance['title'] = apply_filters( 'widget_title', empty( $instance['title'] ) ? '' : $instance['title'], $instance, $this->id_base ); - - echo $args['before_widget']; - - if ( !empty($instance['title']) ) - echo $args['before_title'] . $instance['title'] . $args['after_title']; - - $nav_menu_args = array( - 'fallback_cb' => '', - 'menu' => $nav_menu - ); - - /** - * Filter the arguments for the Custom Menu widget. - * - * @since 4.2.0 - * - * @param array $nav_menu_args { - * An array of arguments passed to wp_nav_menu() to retrieve a custom menu. - * - * @type callback|bool $fallback_cb Callback to fire if the menu doesn't exist. Default empty. - * @type mixed $menu Menu ID, slug, or name. - * } - * @param stdClass $nav_menu Nav menu object for the current menu. - * @param array $args Display arguments for the current widget. - */ - wp_nav_menu( apply_filters( 'widget_nav_menu_args', $nav_menu_args, $nav_menu, $args ) ); - - echo $args['after_widget']; - } - - /** - * @param array $new_instance - * @param array $old_instance - * @return array - */ - public function update( $new_instance, $old_instance ) { - $instance = array(); - if ( ! empty( $new_instance['title'] ) ) { - $instance['title'] = strip_tags( stripslashes($new_instance['title']) ); - } - if ( ! empty( $new_instance['nav_menu'] ) ) { - $instance['nav_menu'] = (int) $new_instance['nav_menu']; - } - return $instance; - } - - /** - * @param array $instance - */ - public function form( $instance ) { - $title = isset( $instance['title'] ) ? $instance['title'] : ''; - $nav_menu = isset( $instance['nav_menu'] ) ? $instance['nav_menu'] : ''; - - // Get menus - $menus = wp_get_nav_menus(); - - // If no menus exists, direct the user to go and create some. - ?> - - - ', * Gets the links associated with the named category. * * @since 1.0.1 - * @deprecated 2.1.0 - * @deprecated Use wp_list_bookmarks() + * @deprecated 2.1.0 Use wp_list_bookmarks() * @see wp_list_bookmarks() * * @param string $category The category to use. @@ -457,8 +444,7 @@ function wp_get_linksbyname($category, $args = '') { * } * * @since 1.0.1 - * @deprecated 2.1.0 - * @deprecated Use get_bookmarks() + * @deprecated 2.1.0 Use get_bookmarks() * @see get_bookmarks() * * @param string $cat_name The category name to use. If no match is found uses all. @@ -508,8 +494,7 @@ function get_linkobjectsbyname($cat_name = "noname" , $orderby = 'name', $limit * - link_notes * * @since 1.0.1 - * @deprecated 2.1.0 - * @deprecated Use get_bookmarks() + * @deprecated 2.1.0 Use get_bookmarks() * @see get_bookmarks() * * @param int $category The category to use. If no category supplied uses all @@ -536,8 +521,7 @@ function get_linkobjects($category = 0, $orderby = 'name', $limit = 0) { * Gets the links associated with category 'cat_name' and display rating stars/chars. * * @since 0.71 - * @deprecated 2.1.0 - * @deprecated Use get_bookmarks() + * @deprecated 2.1.0 Use get_bookmarks() * @see get_bookmarks() * * @param string $cat_name The category name to use. If no match is found uses all @@ -564,8 +548,7 @@ function get_linksbyname_withrating($cat_name = "noname", $before = '', $after = * Gets the links associated with category n and display rating stars/chars. * * @since 0.71 - * @deprecated 2.1.0 - * @deprecated Use get_bookmarks() + * @deprecated 2.1.0 Use get_bookmarks() * @see get_bookmarks() * * @param int $category The category to use. If no category supplied uses all @@ -593,7 +576,6 @@ function get_links_withrating($category = -1, $before = '', $after = '
                  ', $ * * @since 0.71 * @deprecated 2.1.0 - * @deprecated No alternative function available * * @param int $id The category to get. If no category supplied uses 0 * @return int Only returns 0. @@ -604,9 +586,10 @@ function get_autotoggle($id = 0) { } /** + * Lists categories. + * * @since 0.71 - * @deprecated 2.1.0 - * @deprecated Use wp_list_categories() + * @deprecated 2.1.0 Use wp_list_categories() * @see wp_list_categories() * * @param int $optionall @@ -640,9 +623,10 @@ function list_cats($optionall = 1, $all = 'All', $sort_column = 'ID', $sort_orde } /** + * Lists categories. + * * @since 1.2.0 - * @deprecated 2.1.0 - * @deprecated Use wp_list_categories() + * @deprecated 2.1.0 Use wp_list_categories() * @see wp_list_categories() * * @param string|array $args @@ -672,9 +656,10 @@ function wp_list_cats($args = '') { } /** + * Deprecated method for generating a drop-down of categories. + * * @since 0.71 - * @deprecated 2.1.0 - * @deprecated Use wp_dropdown_categories() + * @deprecated 2.1.0 Use wp_dropdown_categories() * @see wp_dropdown_categories() * * @param int $optionall @@ -709,11 +694,10 @@ function dropdown_cats($optionall = 1, $all = 'All', $orderby = 'ID', $order = ' } /** - * List authors. + * Lists authors. * * @since 1.2.0 - * @deprecated 2.1.0 - * @deprecated Use wp_list_authors() + * @deprecated 2.1.0 Use wp_list_authors() * @see wp_list_authors() * * @param bool $optioncount @@ -732,9 +716,10 @@ function list_authors($optioncount = false, $exclude_admin = true, $show_fullnam } /** + * Retrieves a list of post categories. + * * @since 1.0.1 - * @deprecated 2.1.0 - * @deprecated Use wp_get_post_categories() + * @deprecated 2.1.0 Use wp_get_post_categories() * @see wp_get_post_categories() * * @param int $blogid Not Used @@ -765,9 +750,10 @@ function wp_set_post_cats($blogid = '1', $post_ID = 0, $post_categories = array( } /** + * Retrieves a list of archives. + * * @since 0.71 - * @deprecated 2.1.0 - * @deprecated Use wp_get_archives() + * @deprecated 2.1.0 Use wp_get_archives() * @see wp_get_archives() * * @param string $type @@ -788,8 +774,7 @@ function get_archives($type='', $limit='', $format='html', $before = '', $after * Returns or Prints link to the author's posts. * * @since 1.2.0 - * @deprecated 2.1.0 - * @deprecated Use get_author_posts_url() + * @deprecated 2.1.0 Use get_author_posts_url() * @see get_author_posts_url() * * @param bool $echo @@ -811,8 +796,7 @@ function get_author_link($echo, $author_id, $author_nicename = '') { * Print list of pages based on arguments. * * @since 0.71 - * @deprecated 2.1.0 - * @deprecated Use wp_link_pages() + * @deprecated 2.1.0 Use wp_link_pages() * @see wp_link_pages() * * @param string $before @@ -836,8 +820,7 @@ function link_pages($before='
                  ', $after='
                  ', $next_or_number='number', * Get value based on option. * * @since 0.71 - * @deprecated 2.1.0 - * @deprecated Use get_option() + * @deprecated 2.1.0 Use get_option() * @see get_option() * * @param string $option @@ -853,8 +836,7 @@ function get_settings($option) { * Print the permalink of the current post in the loop. * * @since 0.71 - * @deprecated 1.2.0 - * @deprecated Use the_permalink() + * @deprecated 1.2.0 Use the_permalink() * @see the_permalink() */ function permalink_link() { @@ -866,8 +848,7 @@ function permalink_link() { * Print the permalink to the RSS feed. * * @since 0.71 - * @deprecated 2.3.0 - * @deprecated Use the_permalink_rss() + * @deprecated 2.3.0 Use the_permalink_rss() * @see the_permalink_rss() * * @param string $deprecated @@ -880,10 +861,8 @@ function permalink_single_rss($deprecated = '') { /** * Gets the links associated with category. * - * @see get_links() for argument information that can be used in $args * @since 1.0.1 - * @deprecated 2.1.0 - * @deprecated Use wp_list_bookmarks() + * @deprecated 2.1.0 Use wp_list_bookmarks() * @see wp_list_bookmarks() * * @param string $args a query string @@ -922,8 +901,7 @@ function wp_get_links($args = '') { * Gets the links associated with category by id. * * @since 0.71 - * @deprecated 2.1.0 - * @deprecated Use get_bookmarks() + * @deprecated 2.1.0 Use get_bookmarks() * @see get_bookmarks() * * @param int $category The category to use. If no category supplied uses all @@ -1031,8 +1009,7 @@ function get_links($category = -1, $before = '', $after = '
                  ', $between = ' * $wpdb->linkcategories and output it as a nested HTML unordered list. * * @since 1.0.1 - * @deprecated 2.1.0 - * @deprecated Use wp_list_bookmarks() + * @deprecated 2.1.0 Use wp_list_bookmarks() * @see wp_list_bookmarks() * * @param string $order Sort link categories by 'name' or 'id' @@ -1075,7 +1052,6 @@ function get_links_list($order = 'name') { * * @since 0.71 * @deprecated 2.1.0 - * @deprecated {@internal Use function instead is unknown}} * * @param string $text the text of the link * @param int $width the width of the popup window @@ -1089,8 +1065,7 @@ function links_popup_script($text = 'Links', $width=400, $height=400, $file='lin /** * @since 1.0.1 - * @deprecated 2.1.0 - * @deprecated Use sanitize_bookmark_field() + * @deprecated 2.1.0 Use sanitize_bookmark_field() * @see sanitize_bookmark_field() * * @param object $link @@ -1105,8 +1080,7 @@ function get_linkrating($link) { * Gets the name of category by id. * * @since 0.71 - * @deprecated 2.1.0 - * @deprecated Use get_category() + * @deprecated 2.1.0 Use get_category() * @see get_category() * * @param int $id The category to get. If no category supplied uses 0 @@ -1135,8 +1109,7 @@ function get_linkcatname($id = 0) { * Print RSS comment feed link. * * @since 1.0.1 - * @deprecated 2.5.0 - * @deprecated Use post_comments_feed_link() + * @deprecated 2.5.0 Use post_comments_feed_link() * @see post_comments_feed_link() * * @param string $link_text @@ -1150,8 +1123,7 @@ function comments_rss_link($link_text = 'Comments RSS') { * Print/Return link to category RSS2 feed. * * @since 1.2.0 - * @deprecated 2.5.0 - * @deprecated Use get_category_feed_link() + * @deprecated 2.5.0 Use get_category_feed_link() * @see get_category_feed_link() * * @param bool $echo @@ -1172,8 +1144,7 @@ function get_category_rss_link($echo = false, $cat_ID = 1) { * Print/Return link to author RSS feed. * * @since 1.2.0 - * @deprecated 2.5.0 - * @deprecated Use get_author_feed_link() + * @deprecated 2.5.0 Use get_author_feed_link() * @see get_author_feed_link() * * @param bool $echo @@ -1193,8 +1164,7 @@ function get_author_rss_link($echo = false, $author_id = 1) { * Return link to the post RSS feed. * * @since 1.5.0 - * @deprecated 2.2.0 - * @deprecated Use get_post_comments_feed_link() + * @deprecated 2.2.0 Use get_post_comments_feed_link() * @see get_post_comments_feed_link() * * @return string @@ -1208,8 +1178,7 @@ function comments_rss() { * An alias of wp_create_user(). * * @since 2.0.0 - * @deprecated 2.0.0 - * @deprecated Use wp_create_user() + * @deprecated 2.0.0 Use wp_create_user() * @see wp_create_user() * * @param string $username The user's username. @@ -1236,8 +1205,7 @@ function gzip_compression() { * Retrieve an array of comment data about comment $comment_ID. * * @since 0.71 - * @deprecated 2.7.0 - * @deprecated Use get_comment() + * @deprecated 2.7.0 Use get_comment() * @see get_comment() * * @param int $comment_ID The ID of the comment @@ -1254,8 +1222,7 @@ function get_commentdata( $comment_ID, $no_cache = 0, $include_unapproved = fals * Retrieve the category name by the category ID. * * @since 0.71 - * @deprecated 2.8.0 - * @deprecated Use get_cat_name() + * @deprecated 2.8.0 Use get_cat_name() * @see get_cat_name() * * @param int $cat_ID Category ID @@ -1270,8 +1237,7 @@ function get_catname( $cat_ID ) { * Retrieve category children list separated before and after the term IDs. * * @since 1.2.0 - * @deprecated 2.8.0 - * @deprecated Use get_term_children() + * @deprecated 2.8.0 Use get_term_children() * @see get_term_children() * * @param int $id Category ID to retrieve children. @@ -1308,8 +1274,9 @@ function get_category_children( $id, $before = '/', $after = '', $visited = arra * Retrieves all category IDs. * * @since 2.0.0 - * @deprecated 4.0.0 Use get_terms() instead. + * @deprecated 4.0.0 Use get_terms() * @see get_terms() + * * @link https://codex.wordpress.org/Function_Reference/get_all_category_ids * * @return object List of all of the category IDs. @@ -1329,8 +1296,7 @@ function get_all_category_ids() { * Retrieve the description of the author of the current post. * * @since 1.5.0 - * @deprecated 2.8.0 - * @deprecated Use get_the_author_meta('description') + * @deprecated 2.8.0 Use get_the_author_meta() * @see get_the_author_meta() * * @return string The author's description. @@ -1344,8 +1310,7 @@ function get_the_author_description() { * Display the description of the author of the current post. * * @since 1.0.0 - * @deprecated 2.8.0 - * @deprecated Use the_author_meta('description') + * @deprecated 2.8.0 Use the_author_meta() * @see the_author_meta() */ function the_author_description() { @@ -1357,8 +1322,7 @@ function the_author_description() { * Retrieve the login name of the author of the current post. * * @since 1.5.0 - * @deprecated 2.8.0 - * @deprecated Use get_the_author_meta('login') + * @deprecated 2.8.0 Use get_the_author_meta() * @see get_the_author_meta() * * @return string The author's login name (username). @@ -1372,8 +1336,7 @@ function get_the_author_login() { * Display the login name of the author of the current post. * * @since 0.71 - * @deprecated 2.8.0 - * @deprecated Use the_author_meta('login') + * @deprecated 2.8.0 Use the_author_meta() * @see the_author_meta() */ function the_author_login() { @@ -1385,8 +1348,7 @@ function the_author_login() { * Retrieve the first name of the author of the current post. * * @since 1.5.0 - * @deprecated 2.8.0 - * @deprecated Use get_the_author_meta('first_name') + * @deprecated 2.8.0 Use get_the_author_meta() * @see get_the_author_meta() * * @return string The author's first name. @@ -1400,8 +1362,7 @@ function get_the_author_firstname() { * Display the first name of the author of the current post. * * @since 0.71 - * @deprecated 2.8.0 - * @deprecated Use the_author_meta('first_name') + * @deprecated 2.8.0 Use the_author_meta() * @see the_author_meta() */ function the_author_firstname() { @@ -1413,8 +1374,7 @@ function the_author_firstname() { * Retrieve the last name of the author of the current post. * * @since 1.5.0 - * @deprecated 2.8.0 - * @deprecated Use get_the_author_meta('last_name') + * @deprecated 2.8.0 Use get_the_author_meta() * @see get_the_author_meta() * * @return string The author's last name. @@ -1428,8 +1388,7 @@ function get_the_author_lastname() { * Display the last name of the author of the current post. * * @since 0.71 - * @deprecated 2.8.0 - * @deprecated Use the_author_meta('last_name') + * @deprecated 2.8.0 Use the_author_meta() * @see the_author_meta() */ function the_author_lastname() { @@ -1441,8 +1400,7 @@ function the_author_lastname() { * Retrieve the nickname of the author of the current post. * * @since 1.5.0 - * @deprecated 2.8.0 - * @deprecated Use get_the_author_meta('nickname') + * @deprecated 2.8.0 Use get_the_author_meta() * @see get_the_author_meta() * * @return string The author's nickname. @@ -1456,8 +1414,7 @@ function get_the_author_nickname() { * Display the nickname of the author of the current post. * * @since 0.71 - * @deprecated 2.8.0 - * @deprecated Use the_author_meta('nickname') + * @deprecated 2.8.0 Use the_author_meta() * @see the_author_meta() */ function the_author_nickname() { @@ -1469,8 +1426,7 @@ function the_author_nickname() { * Retrieve the email of the author of the current post. * * @since 1.5.0 - * @deprecated 2.8.0 - * @deprecated Use get_the_author_meta('email') + * @deprecated 2.8.0 Use get_the_author_meta() * @see get_the_author_meta() * * @return string The author's username. @@ -1484,8 +1440,7 @@ function get_the_author_email() { * Display the email of the author of the current post. * * @since 0.71 - * @deprecated 2.8.0 - * @deprecated Use the_author_meta('email') + * @deprecated 2.8.0 Use the_author_meta() * @see the_author_meta() */ function the_author_email() { @@ -1497,8 +1452,7 @@ function the_author_email() { * Retrieve the ICQ number of the author of the current post. * * @since 1.5.0 - * @deprecated 2.8.0 - * @deprecated Use get_the_author_meta('icq') + * @deprecated 2.8.0 Use get_the_author_meta() * @see get_the_author_meta() * * @return string The author's ICQ number. @@ -1512,8 +1466,7 @@ function get_the_author_icq() { * Display the ICQ number of the author of the current post. * * @since 0.71 - * @deprecated 2.8.0 - * @deprecated Use the_author_meta('icq') + * @deprecated 2.8.0 Use the_author_meta() * @see the_author_meta() */ function the_author_icq() { @@ -1525,8 +1478,7 @@ function the_author_icq() { * Retrieve the Yahoo! IM name of the author of the current post. * * @since 1.5.0 - * @deprecated 2.8.0 - * @deprecated Use get_the_author_meta('yim') + * @deprecated 2.8.0 Use get_the_author_meta() * @see get_the_author_meta() * * @return string The author's Yahoo! IM name. @@ -1540,8 +1492,7 @@ function get_the_author_yim() { * Display the Yahoo! IM name of the author of the current post. * * @since 0.71 - * @deprecated 2.8.0 - * @deprecated Use the_author_meta('yim') + * @deprecated 2.8.0 Use the_author_meta() * @see the_author_meta() */ function the_author_yim() { @@ -1553,8 +1504,7 @@ function the_author_yim() { * Retrieve the MSN address of the author of the current post. * * @since 1.5.0 - * @deprecated 2.8.0 - * @deprecated Use get_the_author_meta('msn') + * @deprecated 2.8.0 Use get_the_author_meta() * @see get_the_author_meta() * * @return string The author's MSN address. @@ -1568,8 +1518,7 @@ function get_the_author_msn() { * Display the MSN address of the author of the current post. * * @since 0.71 - * @deprecated 2.8.0 - * @deprecated Use the_author_meta('msn') + * @deprecated 2.8.0 Use the_author_meta() * @see the_author_meta() */ function the_author_msn() { @@ -1581,8 +1530,7 @@ function the_author_msn() { * Retrieve the AIM address of the author of the current post. * * @since 1.5.0 - * @deprecated 2.8.0 - * @deprecated Use get_the_author_meta('aim') + * @deprecated 2.8.0 Use get_the_author_meta() * @see get_the_author_meta() * * @return string The author's AIM address. @@ -1596,9 +1544,8 @@ function get_the_author_aim() { * Display the AIM address of the author of the current post. * * @since 0.71 + * @deprecated 2.8.0 Use the_author_meta('aim') * @see the_author_meta() - * @deprecated 2.8.0 - * @deprecated Use the_author_meta('aim') */ function the_author_aim() { _deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'aim\')' ); @@ -1609,8 +1556,7 @@ function the_author_aim() { * Retrieve the specified author's preferred display name. * * @since 1.0.0 - * @deprecated 2.8.0 - * @deprecated Use get_the_author_meta('display_name') + * @deprecated 2.8.0 Use get_the_author_meta() * @see get_the_author_meta() * * @param int $auth_id The ID of the author. @@ -1625,8 +1571,7 @@ function get_author_name( $auth_id = false ) { * Retrieve the URL to the home page of the author of the current post. * * @since 1.5.0 - * @deprecated 2.8.0 - * @deprecated Use get_the_author_meta('url') + * @deprecated 2.8.0 Use get_the_author_meta() * @see get_the_author_meta() * * @return string The URL to the author's page. @@ -1640,8 +1585,7 @@ function get_the_author_url() { * Display the URL to the home page of the author of the current post. * * @since 0.71 - * @deprecated 2.8.0 - * @deprecated Use the_author_meta('url') + * @deprecated 2.8.0 Use the_author_meta() * @see the_author_meta() */ function the_author_url() { @@ -1653,8 +1597,7 @@ function the_author_url() { * Retrieve the ID of the author of the current post. * * @since 1.5.0 - * @deprecated 2.8.0 - * @deprecated Use get_the_author_meta('ID') + * @deprecated 2.8.0 Use get_the_author_meta() * @see get_the_author_meta() * * @return string|int The author's ID. @@ -1668,8 +1611,7 @@ function get_the_author_ID() { * Display the ID of the author of the current post. * * @since 0.71 - * @deprecated 2.8.0 - * @deprecated Use the_author_meta('ID') + * @deprecated 2.8.0 Use the_author_meta() * @see the_author_meta() */ function the_author_ID() { @@ -1696,8 +1638,7 @@ function the_author_ID() { * * @since 0.71 * - * @deprecated 2.9.0 - * @deprecated Use the_content_feed() + * @deprecated 2.9.0 Use the_content_feed() * @see the_content_feed() * * @param string $more_link_text Optional. Text to display when more content is available but not displayed. @@ -1784,8 +1725,7 @@ function make_url_footnote( $content ) { * everything is returned. * * @since 2.2.0 - * @deprecated 2.9.0 - * @deprecated Use _x() + * @deprecated 2.9.0 Use _x() * @see _x() * * @param string $text Text to translate @@ -1802,8 +1742,7 @@ function _c( $text, $domain = 'default' ) { * contains a context after its last vertical bar. * * @since 2.5.0 - * @deprecated 3.0.0 - * @deprecated Use _x() + * @deprecated 3.0.0 Use _x() * @see _x() * * @param string $text Text to translate @@ -1820,12 +1759,8 @@ function translate_with_context( $text, $domain = 'default' ) { * Strips everything from the translation after the last bar. * * @since 2.7.0 - * @deprecated 3.0.0 - * @deprecated Use _nx() + * @deprecated 3.0.0 Use _nx() * @see _nx() - * @see _n() For parameters. - * @see _c() For parameters. _c() is deprecated. - * */ function _nc( $single, $plural, $number, $domain = 'default' ) { _deprecated_function( __FUNCTION__, '2.9', '_nx()' ); @@ -1836,8 +1771,7 @@ function _nc( $single, $plural, $number, $domain = 'default' ) { * Retrieve the plural or single form based on the amount. * * @since 1.2.0 - * @deprecated 2.8.0 - * @deprecated Use _n() + * @deprecated 2.8.0 Use _n() * @see _n() */ function __ngettext() { @@ -1850,8 +1784,7 @@ function __ngettext() { * Register plural strings in POT file, but don't translate them. * * @since 2.5.0 - * @deprecated 2.8.0 - * @deprecated Use _n_noop() + * @deprecated 2.8.0 Use _n_noop() * @see _n_noop() */ function __ngettext_noop() { @@ -1865,8 +1798,7 @@ function __ngettext_noop() { * Retrieve all autoload options, or all options if no autoloaded ones exist. * * @since 1.0.0 - * @deprecated 3.0.0 - * @deprecated Use wp_load_alloptions()) + * @deprecated 3.0.0 Use wp_load_alloptions()) * @see wp_load_alloptions() * * @return array List of all options. @@ -1880,8 +1812,7 @@ function get_alloptions() { * Retrieve HTML content of attachment image with link. * * @since 2.0.0 - * @deprecated 2.5.0 - * @deprecated Use wp_get_attachment_link() + * @deprecated 2.5.0 Use wp_get_attachment_link() * @see wp_get_attachment_link() * * @param int $id Optional. Post ID. @@ -1911,8 +1842,7 @@ function get_the_attachment_link($id = 0, $fullsize = false, $max_dims = false, * Retrieve icon URL and Path. * * @since 2.1.0 - * @deprecated 2.5.0 - * @deprecated Use wp_get_attachment_image_src() + * @deprecated 2.5.0 Use wp_get_attachment_image_src() * @see wp_get_attachment_image_src() * * @param int $id Optional. Post ID. @@ -1953,8 +1883,7 @@ function get_attachment_icon_src( $id = 0, $fullsize = false ) { * Retrieve HTML content of icon attachment image element. * * @since 2.0.0 - * @deprecated 2.5.0 - * @deprecated Use wp_get_attachment_image() + * @deprecated 2.5.0 Use wp_get_attachment_image() * @see wp_get_attachment_image() * * @param int $id Optional. Post ID. @@ -2010,8 +1939,7 @@ function get_attachment_icon( $id = 0, $fullsize = false, $max_dims = false ) { * Retrieve HTML content of image element. * * @since 2.0.0 - * @deprecated 2.5.0 - * @deprecated Use wp_get_attachment_image() + * @deprecated 2.5.0 Use wp_get_attachment_image() * @see wp_get_attachment_image() * * @param int $id Optional. Post ID. @@ -2037,8 +1965,7 @@ function get_attachment_innerHTML($id = 0, $fullsize = false, $max_dims = false) * Retrieve bookmark data based on ID. * * @since 2.0.0 - * @deprecated 2.1.0 - * @deprecated Use get_bookmark() + * @deprecated 2.1.0 Use get_bookmark() * @see get_bookmark() * * @param int $bookmark_id ID of link @@ -2054,8 +1981,7 @@ function get_link($bookmark_id, $output = OBJECT, $filter = 'raw') { * Performs esc_url() for database or redirect usage. * * @since 2.3.1 - * @deprecated 2.8.0 - * @deprecated Use esc_url_raw() + * @deprecated 2.8.0 Use esc_url_raw() * @see esc_url_raw() * * @param string $url The URL to be cleaned. @@ -2075,8 +2001,7 @@ function sanitize_url( $url, $protocols = null ) { * is applied to the returned cleaned URL. * * @since 1.2.0 - * @deprecated 3.0.0 - * @deprecated Use esc_url() + * @deprecated 3.0.0 Use esc_url() * @see Alias for esc_url() * * @param string $url The URL to be cleaned. @@ -2098,8 +2023,7 @@ function clean_url( $url, $protocols = null, $context = 'display' ) { * The filter 'js_escape' is also applied by esc_js() * * @since 2.0.4 - * @deprecated 2.8.0 - * @deprecated Use esc_js() + * @deprecated 2.8.0 Use esc_js() * @see esc_js() * * @param string $text The text to be escaped. @@ -2113,8 +2037,7 @@ function js_escape( $text ) { /** * Escaping for HTML blocks. * - * @deprecated 2.8.0 - * @deprecated Use esc_html() + * @deprecated 2.8.0 Use esc_html() * @see esc_html() */ function wp_specialchars( $string, $quote_style = ENT_NOQUOTES, $charset = false, $double_encode = false ) { @@ -2131,8 +2054,7 @@ function wp_specialchars( $string, $quote_style = ENT_NOQUOTES, $charset = false * Escaping for HTML attributes. * * @since 2.0.6 - * @deprecated 2.8.0 - * @deprecated Use esc_attr() + * @deprecated 2.8.0 Use esc_attr() * @see esc_attr() * * @param string $text @@ -2154,12 +2076,11 @@ function attribute_escape( $text ) { * backwards compatibility is complete. * * @since 2.2.0 - * @deprecated 2.8.0 - * @deprecated Use wp_register_sidebar_widget() + * @deprecated 2.8.0 Use wp_register_sidebar_widget() * @see wp_register_sidebar_widget() * * @param string|int $name Widget ID. - * @param callback $output_callback Run when widget is called. + * @param callable $output_callback Run when widget is called. * @param string $classname Classname widget option. * @param mixed $params ,... Widget parameters. */ @@ -2189,8 +2110,7 @@ function register_sidebar_widget($name, $output_callback, $classname = '') { * Alias of {@link wp_unregister_sidebar_widget()}. * * @since 2.2.0 - * @deprecated 2.8.0 - * @deprecated Use wp_unregister_sidebar_widget() + * @deprecated 2.8.0 Use wp_unregister_sidebar_widget() * @see wp_unregister_sidebar_widget() * * @param int|string $id Widget ID. @@ -2207,16 +2127,15 @@ function unregister_sidebar_widget($id) { * first element and the third for the name or just uses the first element of * the array for the name. * - * Passes to {@link wp_register_widget_control()} after the argument list has + * Passes to wp_register_widget_control() after the argument list has * been compiled. * * @since 2.2.0 - * @deprecated 2.8.0 - * @deprecated Use wp_register_widget_control() + * @deprecated 2.8.0 Use wp_register_widget_control() * @see wp_register_widget_control() * * @param int|string $name Sidebar ID. - * @param callback $control_callback Widget control callback to display and process form. + * @param callable $control_callback Widget control callback to display and process form. * @param int $width Widget width. * @param int $height Widget height. */ @@ -2245,11 +2164,10 @@ function register_widget_control($name, $control_callback, $width = '', $height } /** - * Alias of {@link wp_unregister_widget_control()}. + * Alias of wp_unregister_widget_control(). * * @since 2.2.0 - * @deprecated 2.8.0 - * @deprecated Use wp_unregister_widget_control() + * @deprecated 2.8.0 Use wp_unregister_widget_control() * @see wp_unregister_widget_control() * * @param int|string $id Widget ID. @@ -2263,8 +2181,7 @@ function unregister_widget_control($id) { * Remove user meta data. * * @since 2.0.0 - * @deprecated 3.0.0 - * @deprecated Use delete_user_meta() + * @deprecated 3.0.0 Use delete_user_meta() * @see delete_user_meta() * * @param int $user_id User ID. @@ -2311,8 +2228,7 @@ function delete_usermeta( $user_id, $meta_key, $meta_value = '' ) { * than one metadata value, then it will be list of metadata values. * * @since 2.0.0 - * @deprecated 3.0.0 - * @deprecated Use get_user_meta() + * @deprecated 3.0.0 Use get_user_meta() * @see get_user_meta() * * @param int $user_id User ID @@ -2364,8 +2280,7 @@ function get_usermeta( $user_id, $meta_key = '' ) { * Will remove the metadata, if the meta value is empty. * * @since 2.0.0 - * @deprecated 3.0.0 - * @deprecated Use update_user_meta() + * @deprecated 3.0.0 Use update_user_meta() * @see update_user_meta() * * @param int $user_id User ID @@ -2419,7 +2334,8 @@ function update_usermeta( $user_id, $meta_key, $meta_value ) { * multi-blog feature. * * @since 2.2.0 - * @deprecated 3.1.0 + * @deprecated 3.1.0 Use get_users() + * @see get_users() * * @global wpdb $wpdb WordPress database abstraction object. * @uses $blog_id The Blog id of the blog for those that use more than one blog @@ -2442,8 +2358,8 @@ function get_users_of_blog( $id = '' ) { * Enable/disable automatic general feed link outputting. * * @since 2.8.0 - * @deprecated 3.0.0 - * @deprecated Use add_theme_support( 'automatic-feed-links' ) + * @deprecated 3.0.0 Use add_theme_support() + * @see add_theme_support() * * @param bool $add Optional, default is true. Add or remove links. Defaults to true. */ @@ -2460,8 +2376,7 @@ function automatic_feed_links( $add = true ) { * Retrieve user data based on field. * * @since 1.5.0 - * @deprecated 3.0.0 - * @deprecated Use get_the_author_meta() + * @deprecated 3.0.0 Use get_the_author_meta() * @see get_the_author_meta() */ function get_profile( $field, $user = false ) { @@ -2477,8 +2392,7 @@ function get_profile( $field, $user = false ) { * Number of posts user has written. * * @since 0.71 - * @deprecated 3.0.0 - * @deprecated Use count_user_posts() + * @deprecated 3.0.0 Use count_user_posts() * @see count_user_posts() */ function get_usernumposts( $userid ) { @@ -2506,9 +2420,10 @@ function funky_javascript_callback($matches) { * Converts unicode characters to HTML numbered entities. * * @since 1.5.0 + * @deprecated 3.0.0 + * * @uses $is_macIE * @uses $is_winIE - * @deprecated 3.0.0 * * @param string $text Text to be made safe. * @return string Fixed text. @@ -2530,8 +2445,7 @@ function funky_javascript_fix($text) { * Checks that the taxonomy name exists. * * @since 2.3.0 - * @deprecated 3.0.0 - * @deprecated Use taxonomy_exists() + * @deprecated 3.0.0 Use taxonomy_exists() * @see taxonomy_exists() * * @param string $taxonomy Name of taxonomy object @@ -2546,8 +2460,7 @@ function is_taxonomy( $taxonomy ) { * Check if Term exists. * * @since 2.3.0 - * @deprecated 3.0.0 - * @deprecated Use term_exists() + * @deprecated 3.0.0 Use term_exists() * @see term_exists() * * @param int|string $term The term to check @@ -2563,9 +2476,10 @@ function is_term( $term, $taxonomy = '', $parent = 0 ) { /** * Is the current admin page generated by a plugin? * + * Use global $plugin_page and/or get_plugin_page_hookname() hooks. + * * @since 1.5.0 * @deprecated 3.1.0 - * @deprecated Use global $plugin_page and/or get_plugin_page_hookname() hooks. * * @global $plugin_page * @@ -2618,8 +2532,7 @@ function wp_timezone_supported() { * Display editor: TinyMCE, HTML, or both. * * @since 2.1.0 - * @deprecated 3.3.0 - * @deprecated Use wp_editor() + * @deprecated 3.3.0 Use wp_editor() * @see wp_editor() * * @param string $content Textarea content. @@ -2855,8 +2768,7 @@ function wp_admin_bar_dashboard_view_site_menu( $wp_admin_bar ) { * Checks if the current user belong to a given blog. * * @since MU - * @deprecated 3.3.0 - * @deprecated Use is_user_member_of_blog() + * @deprecated 3.3.0 Use is_user_member_of_blog() * @see is_user_member_of_blog() * * @param int $blog_id Blog ID @@ -2872,9 +2784,10 @@ function is_blog_user( $blog_id = 0 ) { * Open the file handle for debugging. * * @since 0.71 - * @deprecated Use error_log() + * @deprecated 3.4.0 Use error_log() + * @see error_log() + * * @link http://www.php.net/manual/en/function.error-log.php - * @deprecated 3.4.0 */ function debug_fopen( $filename, $mode ) { _deprecated_function( __FUNCTION__, 'error_log()' ); @@ -2885,9 +2798,10 @@ function debug_fopen( $filename, $mode ) { * Write contents to the file used for debugging. * * @since 0.71 - * @deprecated Use error_log() instead. + * @deprecated 3.4.0 Use error_log() + * @see error_log() + * * @link http://www.php.net/manual/en/function.error-log.php - * @deprecated 3.4.0 */ function debug_fwrite( $fp, $string ) { _deprecated_function( __FUNCTION__, 'error_log()' ); @@ -2899,9 +2813,10 @@ function debug_fwrite( $fp, $string ) { * Close the debugging file handle. * * @since 0.71 - * @deprecated Use error_log() + * @deprecated 3.4.0 Use error_log() + * @see error_log() + * * @link http://www.php.net/manual/en/function.error-log.php - * @deprecated 3.4.0 */ function debug_fclose( $fp ) { _deprecated_function( __FUNCTION__, 'error_log()' ); @@ -2915,8 +2830,7 @@ function debug_fclose( $fp ) { * broken, if it is missing style.css; index.php is optional. * * @since 1.5.0 - * @deprecated 3.4.0 - * @deprecated Use wp_get_themes() + * @deprecated 3.4.0 Use wp_get_themes() * @see wp_get_themes() * * @return array Theme list with theme data. @@ -2946,8 +2860,7 @@ function get_themes() { * Retrieve theme data. * * @since 1.5.0 - * @deprecated 3.4.0 - * @deprecated Use wp_get_theme() + * @deprecated 3.4.0 Use wp_get_theme() * @see wp_get_theme() * * @param string $theme Theme name. @@ -2966,8 +2879,7 @@ function get_theme( $theme ) { * Retrieve current theme name. * * @since 1.5.0 - * @deprecated 3.4.0 - * @deprecated Use (string) wp_get_theme() + * @deprecated 3.4.0 Use wp_get_theme() * @see wp_get_theme() * * @return string @@ -3013,13 +2925,12 @@ function clean_pre($matches) { * Add callbacks for image header display. * * @since 2.1.0 - * @deprecated 3.4.0 - * @deprecated Use add_theme_support('custom-header', $args) + * @deprecated 3.4.0 Use add_theme_support() * @see add_theme_support() * - * @param callback $wp_head_callback Call on 'wp_head' action. - * @param callback $admin_head_callback Call on custom header administration screen. - * @param callback $admin_preview_callback Output a custom header image div on the custom header administration screen. Optional. + * @param callable $wp_head_callback Call on 'wp_head' action. + * @param callable $admin_head_callback Call on custom header administration screen. + * @param callable $admin_preview_callback Output a custom header image div on the custom header administration screen. Optional. */ function add_custom_image_header( $wp_head_callback, $admin_head_callback, $admin_preview_callback = '' ) { _deprecated_function( __FUNCTION__, '3.4', 'add_theme_support( \'custom-header\', $args )' ); @@ -3036,8 +2947,7 @@ function add_custom_image_header( $wp_head_callback, $admin_head_callback, $admi * Remove image header support. * * @since 3.1.0 - * @deprecated 3.4.0 - * @deprecated Use remove_theme_support('custom-header') + * @deprecated 3.4.0 Use remove_theme_support() * @see remove_theme_support() * * @return null|bool Whether support was removed. @@ -3051,13 +2961,12 @@ function remove_custom_image_header() { * Add callbacks for background image display. * * @since 3.0.0 - * @deprecated 3.4.0 - * @deprecated Use add_theme_support('custom-background, $args) + * @deprecated 3.4.0 Use add_theme_support() * @see add_theme_support() * - * @param callback $wp_head_callback Call on 'wp_head' action. - * @param callback $admin_head_callback Call on custom background administration screen. - * @param callback $admin_preview_callback Output a custom background image div on the custom background administration screen. Optional. + * @param callable $wp_head_callback Call on 'wp_head' action. + * @param callable $admin_head_callback Call on custom background administration screen. + * @param callable $admin_preview_callback Output a custom background image div on the custom background administration screen. Optional. */ function add_custom_background( $wp_head_callback = '', $admin_head_callback = '', $admin_preview_callback = '' ) { _deprecated_function( __FUNCTION__, '3.4', 'add_theme_support( \'custom-background\', $args )' ); @@ -3075,6 +2984,7 @@ function add_custom_background( $wp_head_callback = '', $admin_head_callback = ' * Remove custom background support. * * @since 3.1.0 + * @deprecated 3.4.0 Use add_custom_background() * @see add_custom_background() * * @return null|bool Whether support was removed. @@ -3088,8 +2998,7 @@ function remove_custom_background() { * Retrieve theme data from parsed theme file. * * @since 1.5.0 - * @deprecated 3.4.0 - * @deprecated Use wp_get_theme() + * @deprecated 3.4.0 Use wp_get_theme() * @see wp_get_theme() * * @param string $theme_file Theme file path. @@ -3127,7 +3036,8 @@ function get_theme_data( $theme_file ) { * @see update_post_cache() Posts and pages are the same, alias is intentional * * @since 1.5.1 - * @deprecated 3.4.0 + * @deprecated 3.4.0 Use update_post_cache() + * @see update_post_cache() * * @param array $pages list of page objects */ @@ -3144,7 +3054,8 @@ function update_page_cache( &$pages ) { * associated with 'all_page_ids' and 'get_pages'. * * @since 2.0.0 - * @deprecated 3.4.0 + * @deprecated 3.4.0 Use clean_post_cache + * @see clean_post_cache() * * @param int $id Page ID to clean */ @@ -3160,8 +3071,7 @@ function clean_page_cache( $id ) { * Deprecated in 3.4.1 and 3.5.0. Backported to 3.3.3. * * @since 2.0.4 - * @deprecated 3.4.1 - * @deprecated Use wp_nonce_ays() + * @deprecated 3.4.1 Use wp_nonce_ays() * @see wp_nonce_ays() * * @param string $action Nonce action. @@ -3176,8 +3086,7 @@ function wp_explain_nonce( $action ) { * Display "sticky" CSS class, if a post is sticky. * * @since 2.7.0 - * @deprecated 3.5.0 - * @deprecated Use post_class() + * @deprecated 3.5.0 Use post_class() * @see post_class() * * @param int $post_id An optional post ID. @@ -3195,7 +3104,7 @@ function sticky_class( $post_id = null ) { * property with get_post_ancestors(). * * @since 2.3.4 - * @deprecated 3.5.0 + * @deprecated 3.5.0 Use get_post_ancestors() * @see get_post_ancestors() */ function _get_post_ancestors( &$post ) { @@ -3206,7 +3115,7 @@ function _get_post_ancestors( &$post ) { * Load an image from a string, if PHP supports it. * * @since 2.1.0 - * @deprecated 3.5.0 + * @deprecated 3.5.0 Use wp_get_image_editor() * @see wp_get_image_editor() * * @param string $file Filename of the image to load. @@ -3246,7 +3155,7 @@ function wp_load_image( $file ) { * downgraded, not actual defects), but of your PHP version. * * @since 2.5.0 - * @deprecated 3.5.0 + * @deprecated 3.5.0 Use wp_get_image_editor() * @see wp_get_image_editor() * * @param string $file Image file path. @@ -3286,7 +3195,7 @@ function image_resize( $file, $max_w, $max_h, $crop = false, $suffix = null, $de * property or key. * * @since 1.0.0 - * @deprecated 3.5.0 + * @deprecated 3.5.0 Use get_post() * @see get_post() * * @param int $postid Post ID. @@ -3302,8 +3211,7 @@ function wp_get_single_post( $postid = 0, $mode = OBJECT ) { * Check that the user login name and password is correct. * * @since 0.71 - * @deprecated 3.5.0 - * @deprecated Use wp_authenticate() + * @deprecated 3.5.0 Use wp_authenticate() * @see wp_authenticate() * * @param string $user_login User name. @@ -3331,7 +3239,7 @@ function _save_post_hook() {} * Check if the installed version of GD supports particular image type * * @since 2.9.0 - * @deprecated 3.5.0 + * @deprecated 3.5.0 Use wp_image_editor_supports() * @see wp_image_editor_supports() * * @param string $mime_type @@ -3366,8 +3274,8 @@ function gd_edit_image_support($mime_type) { * Converts an integer byte value to a shorthand byte value. * * @since 2.3.0 - * @deprecated 3.6.0 - * @deprecated Use size_format() + * @deprecated 3.6.0 Use size_format() + * @see size_format() * * @param int $bytes An integer byte value. * @return string A shorthand byte value. @@ -3376,9 +3284,9 @@ function wp_convert_bytes_to_hr( $bytes ) { _deprecated_function( __FUNCTION__, '3.6', 'size_format()' ); $units = array( 0 => 'B', 1 => 'kB', 2 => 'MB', 3 => 'GB', 4 => 'TB' ); - $log = log( $bytes, 1024 ); + $log = log( $bytes, KB_IN_BYTES ); $power = (int) $log; - $size = pow( 1024, $log - $power ); + $size = pow( KB_IN_BYTES, $log - $power ); if ( ! is_nan( $size ) && array_key_exists( $power, $units ) ) { $unit = $units[ $power ]; @@ -3393,8 +3301,8 @@ function wp_convert_bytes_to_hr( $bytes ) { /** * Formerly used internally to tidy up the search terms. * - * @access private * @since 2.9.0 + * @access private * @deprecated 3.7.0 */ function _search_terms_tidy( $t ) { @@ -3427,8 +3335,8 @@ function rich_edit_exists() { * Old callback for tag link tooltips. * * @since 2.7.0 - * @deprecated 3.9.0 * @access private + * @deprecated 3.9.0 */ function default_topic_count_text( $count ) { return $count; @@ -3454,8 +3362,8 @@ function format_to_post( $content ) { * Formerly used to escape strings before searching the DB. It was poorly documented and never worked as described. * * @since 2.5.0 - * @deprecated 4.0.0 - * @deprecated Use wpdb::esc_like() + * @deprecated 4.0.0 Use wpdb::esc_like() + * @see wpdb::esc_like() * * @param string $text The text to be escaped. * @return string text, safe for inclusion in LIKE query. @@ -3614,7 +3522,8 @@ function wp_richedit_pre($text) { * 'htmledit_pre' filter is applied. * * @since 2.5.0 - * @deprecated 4.3.0 + * @deprecated 4.3.0 Use format_for_editor() + * @see format_for_editor() * * @param string $output The text to be formatted. * @return string Formatted text after filter applied. @@ -3636,3 +3545,93 @@ function wp_htmledit_pre($output) { return apply_filters( 'htmledit_pre', $output ); } +/** + * Retrieve permalink from post ID. + * + * @since 1.0.0 + * @deprecated 4.4.0 Use get_permalink() + * @see get_permalink() + * + * @param int|WP_Post $post_id Optional. Post ID or WP_Post object. Default is global $post. + * @return string|false + */ +function post_permalink( $post_id = 0 ) { + _deprecated_function( __FUNCTION__, '4.4', 'get_permalink()' ); + + return get_permalink( $post_id ); +} + +/** + * Perform a HTTP HEAD or GET request. + * + * If $file_path is a writable filename, this will do a GET request and write + * the file to that path. + * + * @since 2.5.0 + * @deprecated 4.4.0 Use WP_Http + * @see WP_Http + * + * @param string $url URL to fetch. + * @param string|bool $file_path Optional. File path to write request to. Default false. + * @param int $red Optional. The number of Redirects followed, Upon 5 being hit, + * returns false. Default 1. + * @return bool|string False on failure and string of headers if HEAD request. + */ +function wp_get_http( $url, $file_path = false, $red = 1 ) { + _deprecated_function( __FUNCTION__, '4.4', 'WP_Http' ); + + @set_time_limit( 60 ); + + if ( $red > 5 ) + return false; + + $options = array(); + $options['redirection'] = 5; + + if ( false == $file_path ) + $options['method'] = 'HEAD'; + else + $options['method'] = 'GET'; + + $response = wp_safe_remote_request( $url, $options ); + + if ( is_wp_error( $response ) ) + return false; + + $headers = wp_remote_retrieve_headers( $response ); + $headers['response'] = wp_remote_retrieve_response_code( $response ); + + // WP_HTTP no longer follows redirects for HEAD requests. + if ( 'HEAD' == $options['method'] && in_array($headers['response'], array(301, 302)) && isset( $headers['location'] ) ) { + return wp_get_http( $headers['location'], $file_path, ++$red ); + } + + if ( false == $file_path ) + return $headers; + + // GET request - write it to the supplied filename + $out_fp = fopen($file_path, 'w'); + if ( !$out_fp ) + return $headers; + + fwrite( $out_fp, wp_remote_retrieve_body( $response ) ); + fclose($out_fp); + clearstatcache(); + + return $headers; +} + +/** + * Whether SSL login should be forced. + * + * @since 2.6.0 + * @deprecated 4.4.0 Use force_ssl_admin() + * @see force_ssl_admin() + * + * @param string|bool $force Optional Whether to force SSL login. Default null. + * @return bool True if forced, false if not forced. + */ +function force_ssl_login( $force = null ) { + _deprecated_function( __FUNCTION__, '4.4', 'force_ssl_admin()' ); + return force_ssl_admin( $force ); +} diff --git a/wp-includes/embed-template.php b/wp-includes/embed-template.php new file mode 100644 index 0000000..df2518f --- /dev/null +++ b/wp-includes/embed-template.php @@ -0,0 +1,202 @@ + + + class="no-js"> + + <?php echo wp_get_document_title(); ?> + + tag. + * + * @since 4.4.0 + */ + do_action( 'embed_head' ); + ?> + +> + $data ) { + if ( $data['width'] / $data['height'] > $aspect_ratio ) { + $aspect_ratio = $data['width'] / $data['height']; + $measurements = array( $data['width'], $data['height'] ); + $image_size = $size; + } + } + } + + /** + * Filter the thumbnail image size for use in the embed template. + * + * @since 4.4.0 + * + * @param string $image_size Thumbnail image size. + */ + $image_size = apply_filters( 'embed_thumbnail_image_size', $image_size ); + + $shape = $measurements[0] / $measurements[1] >= 1.75 ? 'rectangular' : 'square'; + + /** + * Filter the thumbnail shape for use in the embed template. + * + * Rectangular images are shown above the title + * while square images are shown next to the content. + * + * @since 4.4.0 + * + * @param string $shape Thumbnail image shape. Either 'rectangular' or 'square'. + */ + $shape = apply_filters( 'embed_thumbnail_image_shape', $shape ); + } + ?> +
                  > + + + + +

                  + + + +

                  + + + + + +
                  + + + + +
                  + +
                  +

                  + + + + +
                  + + + diff --git a/wp-includes/embed.php b/wp-includes/embed.php new file mode 100644 index 0000000..5e4cdc1 --- /dev/null +++ b/wp-includes/embed.php @@ -0,0 +1,1047 @@ +register_handler( $id, $regex, $callback, $priority ); +} + +/** + * Unregisters a previously-registered embed handler. + * + * @since 2.9.0 + * + * @global WP_Embed $wp_embed + * + * @param string $id The handler ID that should be removed. + * @param int $priority Optional. The priority of the handler to be removed. Default 10. + */ +function wp_embed_unregister_handler( $id, $priority = 10 ) { + global $wp_embed; + $wp_embed->unregister_handler( $id, $priority ); +} + +/** + * Creates default array of embed parameters. + * + * The width defaults to the content width as specified by the theme. If the + * theme does not specify a content width, then 500px is used. + * + * The default height is 1.5 times the width, or 1000px, whichever is smaller. + * + * The 'embed_defaults' filter can be used to adjust either of these values. + * + * @since 2.9.0 + * + * @global int $content_width + * + * @param string $url Optional. The URL that should be embedded. Default empty. + * + * @return array Default embed parameters. + */ +function wp_embed_defaults( $url = '' ) { + if ( ! empty( $GLOBALS['content_width'] ) ) + $width = (int) $GLOBALS['content_width']; + + if ( empty( $width ) ) + $width = 500; + + $height = min( ceil( $width * 1.5 ), 1000 ); + + /** + * Filter the default array of embed dimensions. + * + * @since 2.9.0 + * + * @param array $size An array of embed width and height values + * in pixels (in that order). + * @param string $url The URL that should be embedded. + */ + return apply_filters( 'embed_defaults', compact( 'width', 'height' ), $url ); +} + +/** + * Attempts to fetch the embed HTML for a provided URL using oEmbed. + * + * @since 2.9.0 + * + * @see WP_oEmbed + * + * @param string $url The URL that should be embedded. + * @param array $args Optional. Additional arguments and parameters for retrieving embed HTML. + * Default empty. + * @return false|string False on failure or the embed HTML on success. + */ +function wp_oembed_get( $url, $args = '' ) { + require_once( ABSPATH . WPINC . '/class-oembed.php' ); + $oembed = _wp_oembed_get_object(); + return $oembed->get_html( $url, $args ); +} + +/** + * Adds a URL format and oEmbed provider URL pair. + * + * @since 2.9.0 + * + * @see WP_oEmbed + * + * @param string $format The format of URL that this provider can handle. You can use asterisks + * as wildcards. + * @param string $provider The URL to the oEmbed provider. + * @param boolean $regex Optional. Whether the `$format` parameter is in a RegEx format. Default false. + */ +function wp_oembed_add_provider( $format, $provider, $regex = false ) { + require_once( ABSPATH . WPINC . '/class-oembed.php' ); + + if ( did_action( 'plugins_loaded' ) ) { + $oembed = _wp_oembed_get_object(); + $oembed->providers[$format] = array( $provider, $regex ); + } else { + WP_oEmbed::_add_provider_early( $format, $provider, $regex ); + } +} + +/** + * Removes an oEmbed provider. + * + * @since 3.5.0 + * + * @see WP_oEmbed + * + * @param string $format The URL format for the oEmbed provider to remove. + * @return bool Was the provider removed successfully? + */ +function wp_oembed_remove_provider( $format ) { + require_once( ABSPATH . WPINC . '/class-oembed.php' ); + + if ( did_action( 'plugins_loaded' ) ) { + $oembed = _wp_oembed_get_object(); + + if ( isset( $oembed->providers[ $format ] ) ) { + unset( $oembed->providers[ $format ] ); + return true; + } + } else { + WP_oEmbed::_remove_provider_early( $format ); + } + + return false; +} + +/** + * Determines if default embed handlers should be loaded. + * + * Checks to make sure that the embeds library hasn't already been loaded. If + * it hasn't, then it will load the embeds library. + * + * @since 2.9.0 + * + * @see wp_embed_register_handler() + */ +function wp_maybe_load_embeds() { + /** + * Filter whether to load the default embed handlers. + * + * Returning a falsey value will prevent loading the default embed handlers. + * + * @since 2.9.0 + * + * @param bool $maybe_load_embeds Whether to load the embeds library. Default true. + */ + if ( ! apply_filters( 'load_default_embeds', true ) ) { + return; + } + + wp_embed_register_handler( 'youtube_embed_url', '#https?://(www.)?youtube\.com/(?:v|embed)/([^/]+)#i', 'wp_embed_handler_youtube' ); + + wp_embed_register_handler( 'googlevideo', '#http://video\.google\.([A-Za-z.]{2,5})/videoplay\?docid=([\d-]+)(.*?)#i', 'wp_embed_handler_googlevideo' ); + + /** + * Filter the audio embed handler callback. + * + * @since 3.6.0 + * + * @param callable $handler Audio embed handler callback function. + */ + wp_embed_register_handler( 'audio', '#^https?://.+?\.(' . join( '|', wp_get_audio_extensions() ) . ')$#i', apply_filters( 'wp_audio_embed_handler', 'wp_embed_handler_audio' ), 9999 ); + + /** + * Filter the video embed handler callback. + * + * @since 3.6.0 + * + * @param callable $handler Video embed handler callback function. + */ + wp_embed_register_handler( 'video', '#^https?://.+?\.(' . join( '|', wp_get_video_extensions() ) . ')$#i', apply_filters( 'wp_video_embed_handler', 'wp_embed_handler_video' ), 9999 ); +} + +/** + * The Google Video embed handler callback. + * + * Google Video does not support oEmbed. + * + * @see WP_Embed::register_handler() + * @see WP_Embed::shortcode() + * + * @param array $matches The RegEx matches from the provided regex when calling wp_embed_register_handler(). + * @param array $attr Embed attributes. + * @param string $url The original URL that was matched by the regex. + * @param array $rawattr The original unmodified attributes. + * @return string The embed HTML. + */ +function wp_embed_handler_googlevideo( $matches, $attr, $url, $rawattr ) { + // If the user supplied a fixed width AND height, use it + if ( !empty($rawattr['width']) && !empty($rawattr['height']) ) { + $width = (int) $rawattr['width']; + $height = (int) $rawattr['height']; + } else { + list( $width, $height ) = wp_expand_dimensions( 425, 344, $attr['width'], $attr['height'] ); + } + + /** + * Filter the Google Video embed output. + * + * @since 2.9.0 + * + * @param string $html Google Video HTML embed markup. + * @param array $matches The RegEx matches from the provided regex. + * @param array $attr An array of embed attributes. + * @param string $url The original URL that was matched by the regex. + * @param array $rawattr The original unmodified attributes. + */ + return apply_filters( 'embed_googlevideo', '', $matches, $attr, $url, $rawattr ); +} + +/** + * YouTube iframe embed handler callback. + * + * Catches YouTube iframe embed URLs that are not parsable by oEmbed but can be translated into a URL that is. + * + * @since 4.0.0 + * + * @global WP_Embed $wp_embed + * + * @param array $matches The RegEx matches from the provided regex when calling + * wp_embed_register_handler(). + * @param array $attr Embed attributes. + * @param string $url The original URL that was matched by the regex. + * @param array $rawattr The original unmodified attributes. + * @return string The embed HTML. + */ +function wp_embed_handler_youtube( $matches, $attr, $url, $rawattr ) { + global $wp_embed; + $embed = $wp_embed->autoembed( "https://youtube.com/watch?v={$matches[2]}" ); + + /** + * Filter the YoutTube embed output. + * + * @since 4.0.0 + * + * @see wp_embed_handler_youtube() + * + * @param string $embed YouTube embed output. + * @param array $attr An array of embed attributes. + * @param string $url The original URL that was matched by the regex. + * @param array $rawattr The original unmodified attributes. + */ + return apply_filters( 'wp_embed_handler_youtube', $embed, $attr, $url, $rawattr ); +} + +/** + * Audio embed handler callback. + * + * @since 3.6.0 + * + * @param array $matches The RegEx matches from the provided regex when calling wp_embed_register_handler(). + * @param array $attr Embed attributes. + * @param string $url The original URL that was matched by the regex. + * @param array $rawattr The original unmodified attributes. + * @return string The embed HTML. + */ +function wp_embed_handler_audio( $matches, $attr, $url, $rawattr ) { + $audio = sprintf( '[audio src="%s" /]', esc_url( $url ) ); + + /** + * Filter the audio embed output. + * + * @since 3.6.0 + * + * @param string $audio Audio embed output. + * @param array $attr An array of embed attributes. + * @param string $url The original URL that was matched by the regex. + * @param array $rawattr The original unmodified attributes. + */ + return apply_filters( 'wp_embed_handler_audio', $audio, $attr, $url, $rawattr ); +} + +/** + * Video embed handler callback. + * + * @since 3.6.0 + * + * @param array $matches The RegEx matches from the provided regex when calling wp_embed_register_handler(). + * @param array $attr Embed attributes. + * @param string $url The original URL that was matched by the regex. + * @param array $rawattr The original unmodified attributes. + * @return string The embed HTML. + */ +function wp_embed_handler_video( $matches, $attr, $url, $rawattr ) { + $dimensions = ''; + if ( ! empty( $rawattr['width'] ) && ! empty( $rawattr['height'] ) ) { + $dimensions .= sprintf( 'width="%d" ', (int) $rawattr['width'] ); + $dimensions .= sprintf( 'height="%d" ', (int) $rawattr['height'] ); + } + $video = sprintf( '[video %s src="%s" /]', $dimensions, esc_url( $url ) ); + + /** + * Filter the video embed output. + * + * @since 3.6.0 + * + * @param string $video Video embed output. + * @param array $attr An array of embed attributes. + * @param string $url The original URL that was matched by the regex. + * @param array $rawattr The original unmodified attributes. + */ + return apply_filters( 'wp_embed_handler_video', $video, $attr, $url, $rawattr ); +} + +/** + * Registers the oEmbed REST API route. + * + * @since 4.4.0 + */ +function wp_oembed_register_route() { + $controller = new WP_oEmbed_Controller(); + $controller->register_routes(); +} + +/** + * Adds oEmbed discovery links in the website . + * + * @since 4.4.0 + */ +function wp_oembed_add_discovery_links() { + $output = ''; + + if ( is_singular() ) { + $output .= '' . "\n"; + + if ( class_exists( 'SimpleXMLElement' ) ) { + $output .= '' . "\n"; + } + } + + /** + * Filter the oEmbed discovery links HTML. + * + * @since 4.4.0 + * + * @param string $output HTML of the discovery links. + */ + echo apply_filters( 'oembed_discovery_links', $output ); +} + +/** + * Adds the necessary JavaScript to communicate with the embedded iframes. + * + * @since 4.4.0 + */ +function wp_oembed_add_host_js() { + wp_enqueue_script( 'wp-embed' ); +} + +/** + * Retrieves the URL to embed a specific post in an iframe. + * + * @since 4.4.0 + * + * @param int|WP_Post $post Optional. Post ID or object. Defaults to the current post. + * @return string|false The post embed URL on success, false if the post doesn't exist. + */ +function get_post_embed_url( $post = null ) { + $post = get_post( $post ); + + if ( ! $post ) { + return false; + } + + if ( get_option( 'permalink_structure' ) ) { + $embed_url = trailingslashit( get_permalink( $post ) ) . user_trailingslashit( 'embed' ); + } else { + $embed_url = add_query_arg( array( 'embed' => 'true' ), get_permalink( $post ) ); + } + + /** + * Filter the URL to embed a specific post. + * + * @since 4.4.0 + * + * @param string $embed_url The post embed URL. + * @param WP_Post $post The corresponding post object. + */ + return esc_url_raw( apply_filters( 'post_embed_url', $embed_url, $post ) ); +} + +/** + * Retrieves the oEmbed endpoint URL for a given permalink. + * + * Pass an empty string as the first argument to get the endpoint base URL. + * + * @since 4.4.0 + * + * @param string $permalink Optional. The permalink used for the `url` query arg. Default empty. + * @param string $format Optional. The requested response format. Default 'json'. + * @return string The oEmbed endpoint URL. + */ +function get_oembed_endpoint_url( $permalink = '', $format = 'json' ) { + $url = rest_url( 'oembed/1.0/embed' ); + + if ( 'json' === $format ) { + $format = false; + } + + if ( '' !== $permalink ) { + $url = add_query_arg( array( + 'url' => urlencode( $permalink ), + 'format' => $format, + ), $url ); + } + + /** + * Filter the oEmbed endpoint URL. + * + * @since 4.4.0 + * + * @param string $url The URL to the oEmbed endpoint. + * @param string $permalink The permalink used for the `url` query arg. + * @param string $format The requested response format. + */ + return apply_filters( 'oembed_endpoint_url', $url, $permalink, $format ); +} + +/** + * Retrieves the embed code for a specific post. + * + * @since 4.4.0 + * + * @param int $width The width for the response. + * @param int $height The height for the response. + * @param int|WP_Post $post Optional. Post ID or object. Default is global `$post`. + * @return string|false Embed code on success, false if post doesn't exist. + */ +function get_post_embed_html( $width, $height, $post = null ) { + $post = get_post( $post ); + + if ( ! $post ) { + return false; + } + + $embed_url = get_post_embed_url( $post ); + + $output = '
                  ' . get_the_title( $post ) . "
                  \n"; + + $output .= ""; + + $output .= sprintf( + '', + esc_url( $embed_url ), + absint( $width ), + absint( $height ), + esc_attr__( 'Embedded WordPress Post' ) + ); + + /** + * Filter the embed HTML output for a given post. + * + * @since 4.4.0 + * + * @param string $output The default HTML. + * @param WP_Post $post Current post object. + * @param int $width Width of the response. + * @param int $height Height of the response. + */ + return apply_filters( 'embed_html', $output, $post, $width, $height ); +} + +/** + * Retrieves the oEmbed response data for a given post. + * + * @since 4.4.0 + * + * @param WP_Post|int $post Post object or ID. + * @param int $width The requested width. + * @return array|false Response data on success, false if post doesn't exist. + */ +function get_oembed_response_data( $post, $width ) { + $post = get_post( $post ); + + if ( ! $post ) { + return false; + } + + if ( 'publish' !== get_post_status( $post ) ) { + return false; + } + + /** + * Filter the allowed minimum and maximum widths for the oEmbed response. + * + * @since 4.4.0 + * + * @param array $min_max_width { + * Minimum and maximum widths for the oEmbed response. + * + * @type int $min Minimum width. Default 200. + * @type int $max Maximum width. Default 600. + * } + */ + $min_max_width = apply_filters( 'oembed_min_max_width', array( + 'min' => 200, + 'max' => 600 + ) ); + + $width = min( max( $min_max_width['min'], $width ), $min_max_width['max'] ); + $height = max( ceil( $width / 16 * 9 ), 200 ); + + $data = array( + 'version' => '1.0', + 'provider_name' => get_bloginfo( 'name' ), + 'provider_url' => get_home_url(), + 'author_name' => get_bloginfo( 'name' ), + 'author_url' => get_home_url(), + 'title' => $post->post_title, + 'type' => 'link', + ); + + $author = get_userdata( $post->post_author ); + + if ( $author ) { + $data['author_name'] = $author->display_name; + $data['author_url'] = get_author_posts_url( $author->ID ); + } + + /** + * Filter the oEmbed response data. + * + * @since 4.4.0 + * + * @param array $data The response data. + * @param WP_Post $post The post object. + * @param int $width The requested width. + * @param int $height The calculated height. + */ + return apply_filters( 'oembed_response_data', $data, $post, $width, $height ); +} + +/** + * Filters the oEmbed response data to return an iframe embed code. + * + * @since 4.4.0 + * + * @param array $data The response data. + * @param WP_Post $post The post object. + * @param int $width The requested width. + * @param int $height The calculated height. + * @return array The modified response data. + */ +function get_oembed_response_data_rich( $data, $post, $width, $height ) { + $data['width'] = absint( $width ); + $data['height'] = absint( $height ); + $data['type'] = 'rich'; + $data['html'] = get_post_embed_html( $width, $height, $post ); + + // Add post thumbnail to response if available. + $thumbnail_id = false; + + if ( has_post_thumbnail( $post->ID ) ) { + $thumbnail_id = get_post_thumbnail_id( $post->ID ); + } + + if ( 'attachment' === get_post_type( $post ) ) { + if ( wp_attachment_is_image( $post ) ) { + $thumbnail_id = $post->ID; + } else if ( wp_attachment_is( 'video', $post ) ) { + $thumbnail_id = get_post_thumbnail_id( $post ); + $data['type'] = 'video'; + } + } + + if ( $thumbnail_id ) { + list( $thumbnail_url, $thumbnail_width, $thumbnail_height ) = wp_get_attachment_image_src( $thumbnail_id, array( $width, 99999 ) ); + $data['thumbnail_url'] = $thumbnail_url; + $data['thumbnail_width'] = $thumbnail_width; + $data['thumbnail_height'] = $thumbnail_height; + } + + return $data; +} + +/** + * Ensures that the specified format is either 'json' or 'xml'. + * + * @since 4.4.0 + * + * @param string $format The oEmbed response format. Accepts 'json' or 'xml'. + * @return string The format, either 'xml' or 'json'. Default 'json'. + */ +function wp_oembed_ensure_format( $format ) { + if ( ! in_array( $format, array( 'json', 'xml' ), true ) ) { + return 'json'; + } + + return $format; +} + +/** + * Hooks into the REST API output to print XML instead of JSON. + * + * This is only done for the oEmbed API endpoint, + * which supports both formats. + * + * @access private + * @since 4.4.0 + * + * @param bool $served Whether the request has already been served. + * @param WP_HTTP_ResponseInterface $result Result to send to the client. Usually a WP_REST_Response. + * @param WP_REST_Request $request Request used to generate the response. + * @param WP_REST_Server $server Server instance. + * @return true + */ +function _oembed_rest_pre_serve_request( $served, $result, $request, $server ) { + $params = $request->get_params(); + + if ( '/oembed/1.0/embed' !== $request->get_route() || 'GET' !== $request->get_method() ) { + return $served; + } + + if ( ! isset( $params['format'] ) || 'xml' !== $params['format'] ) { + return $served; + } + + // Embed links inside the request. + $data = $server->response_to_data( $result, false ); + + if ( ! class_exists( 'SimpleXMLElement' ) ) { + status_header( 501 ); + die( get_status_header_desc( 501 ) ); + } + + $result = _oembed_create_xml( $data ); + + // Bail if there's no XML. + if ( ! $result ) { + status_header( 501 ); + return get_status_header_desc( 501 ); + } + + if ( ! headers_sent() ) { + $server->send_header( 'Content-Type', 'text/xml; charset=' . get_option( 'blog_charset' ) ); + } + + echo $result; + + return true; +} + +/** + * Creates an XML string from a given array. + * + * @since 4.4.0 + * @access private + * + * @param array $data The original oEmbed response data. + * @param SimpleXMLElement $node Optional. XML node to append the result to recursively. + * @return string|false XML string on success, false on error. + */ +function _oembed_create_xml( $data, $node = null ) { + if ( ! is_array( $data ) || empty( $data ) ) { + return false; + } + + if ( null === $node ) { + $node = new SimpleXMLElement( '' ); + } + + foreach ( $data as $key => $value ) { + if ( is_numeric( $key ) ) { + $key = 'oembed'; + } + + if ( is_array( $value ) ) { + $item = $node->addChild( $key ); + _oembed_create_xml( $value, $item ); + } else { + $node->addChild( $key, esc_html( $value ) ); + } + } + + return $node->asXML(); +} + +/** + * Filters the given oEmbed HTML. + * + * If the `$url` isn't on the trusted providers list, + * we need to filter the HTML heavily for security. + * + * Only filters 'rich' and 'html' response types. + * + * @since 4.4.0 + * + * @param string $result The oEmbed HTML result. + * @param object $data A data object result from an oEmbed provider. + * @param string $url The URL of the content to be embedded. + * @return string The filtered and sanitized oEmbed result. + */ +function wp_filter_oembed_result( $result, $data, $url ) { + if ( false === $result || ! in_array( $data->type, array( 'rich', 'video' ) ) ) { + return $result; + } + + require_once( ABSPATH . WPINC . '/class-oembed.php' ); + $wp_oembed = _wp_oembed_get_object(); + + // Don't modify the HTML for trusted providers. + if ( false !== $wp_oembed->get_provider( $url, array( 'discover' => false ) ) ) { + return $result; + } + + $allowed_html = array( + 'a' => array( + 'href' => true, + ), + 'blockquote' => array(), + 'iframe' => array( + 'src' => true, + 'width' => true, + 'height' => true, + 'frameborder' => true, + 'marginwidth' => true, + 'marginheight' => true, + 'scrolling' => true, + 'title' => true, + ), + ); + + $html = wp_kses( $result, $allowed_html ); + + preg_match( '|(
                  .*?
                  )?.*()|ms', $html, $content ); + // We require at least the iframe to exist. + if ( empty( $content[2] ) ) { + return false; + } + $html = $content[1] . $content[2]; + + if ( ! empty( $content[1] ) ) { + // We have a blockquote to fall back on. Hide the iframe by default. + $html = str_replace( '
                '),e.innerHTML="",e.appendChild(_.isString(a)?c.dom.createFragment(a):a),b&&b.call(this,c,d,e)},c)},setIframes:function(b,c,e,f){var g=a.MutationObserver||a.WebKitMutationObserver||a.MozMutationObserver,h=this;this.getNodes(function(a,f,i){var j=a.dom,k="",l=a.getBody().className||"",m=a.getDoc().getElementsByTagName("head")[0];tinymce.each(j.$('link[rel="stylesheet"]',m),function(a){a.href&&-1===a.href.indexOf("skins/lightgray/content.min.css")&&-1===a.href.indexOf("skins/wordpress/wp-content.css")&&(k+=j.getOuterHTML(a))}),h.iframeHeight&&j.add(i,"div",{style:{width:"100%",height:h.iframeHeight}}),setTimeout(function(){function m(){var b;s||o.contentWindow&&(b=d(o),h.iframeHeight=d(p.body).height(),b.height()!==h.iframeHeight&&(b.height(h.iframeHeight),a.nodeChanged()))}function n(){p.body.className=a.getBody().className}var o,p,q,r,s;if(i.innerHTML="",o=j.add(i,"iframe",{src:tinymce.Env.ie?'javascript:""':"",frameBorder:"0",allowTransparency:"true",scrolling:"no","class":"wpview-sandbox",style:{width:"100%",display:"block"},height:h.iframeHeight}),j.add(i,"div",{"class":"wpview-overlay"}),p=o.contentWindow.document,p.open(),p.write(''+b+k+''+c+""),p.close(),h.iframeHeight&&(s=!0,setTimeout(function(){s=!1,m()},3e3)),d(o.contentWindow).on("load",m),g)q=new g(_.debounce(m,100)),q.observe(p.body,{attributes:!0,childList:!0,subtree:!0}),d(f).one("wp-mce-view-unbind",function(){q.disconnect()});else for(r=1;6>r;r++)setTimeout(m,700*r);a.on("wp-body-class-change",n),d(f).one("wp-mce-view-unbind",function(){a.off("wp-body-class-change",n)}),e&&e.call(h,a,f,i)},50)},f)},setLoader:function(){this.setContent('
                ')},setError:function(a,b){this.setContent('

                '+a+"

                ")},match:function(a){var b=c.next(this.type,a);return b?{index:b.index,content:b.content,options:{shortcode:b.shortcode}}:void 0},update:function(a,c,f,g){_.find(e,function(e,h){var i=e.prototype.match(a);return i?(d(f).data("rendered",!1),c.dom.setAttrib(f,"data-wpview-text",encodeURIComponent(a)),b.mce.views.createInstance(h,a,i.options,g).render(),c.focus(),!0):void 0})},remove:function(a,b){this.unbindNode.call(this,a,b,d(b).find(".wpview-content").get(0)),d(b).trigger("wp-mce-view-unbind"),a.dom.remove(b),a.focus()}})}(window,window.wp,window.wp.shortcode,window.jQuery),function(a,b,c,d){var e,f,g,h;e={state:[],edit:function(a,b){var d=this.type,e=c[d].edit(a);this.pausePlayers&&this.pausePlayers(),_.each(this.state,function(a){e.state(a).on("update",function(a){b(c[d].shortcode(a).string(),"gallery"===d)})}),e.on("close",function(){e.detach()}),e.open()}},f=_.extend({},e,{state:["gallery-edit"],template:c.template("editor-gallery"),initialize:function(){var a=c.gallery.attachments(this.shortcode,c.view.settings.post.id),b=this.shortcode.attrs.named,d=this;a.more().done(function(){a=a.toJSON(),_.each(a,function(a){a.sizes&&(b.size&&a.sizes[b.size]?a.thumbnail=a.sizes[b.size]:a.sizes.thumbnail?a.thumbnail=a.sizes.thumbnail:a.sizes.full&&(a.thumbnail=a.sizes.full))}),d.render(d.template({attachments:a,columns:b.columns?parseInt(b.columns,10):c.galleryDefaults.columns}))}).fail(function(a,b){d.setError(b)})}}),g=_.extend({},e,{action:"parse-media-shortcode",initialize:function(){var a=this;this.url&&(this.loader=!1,this.shortcode=c.embed.shortcode({url:this.text})),wp.ajax.post(this.action,{post_ID:c.view.settings.post.id,type:this.shortcode.tag,shortcode:this.shortcode.string()}).done(function(b){a.render(b)}).fail(function(b){a.url?a.removeMarkers():a.setError(b.message||b.statusText,"admin-media")}),this.getEditors(function(b){b.on("wpview-selected",function(){a.pausePlayers()})})},pausePlayers:function(){this.getNodes(function(a,b,c){var e=d("iframe.wpview-sandbox",c).get(0);e&&(e=e.contentWindow)&&e.mejs&&_.each(e.mejs.players,function(a){try{a.pause()}catch(b){}})})}}),h=_.extend({},g,{action:"parse-embed",edit:function(a,b){var d=c.embed.edit(a,this.url),e=this;this.pausePlayers(),d.state("embed").props.on("change:url",function(a,b){b&&a.get("url")&&(d.state("embed").metadata=a.toJSON())}),d.state("embed").on("select",function(){var a=d.state("embed").metadata;b(e.url?a.url:c.embed.shortcode(a).string())}),d.on("close",function(){d.detach()}),d.open()}}),b.register("gallery",_.extend({},f)),b.register("audio",_.extend({},g,{state:["audio-details"]})),b.register("video",_.extend({},g,{state:["video-details"]})),b.register("playlist",_.extend({},g,{state:["playlist-edit","video-playlist-edit"]})),b.register("embed",_.extend({},h)),b.register("embedURL",_.extend({},h,{match:function(a){var b=/(^|

                )(https?:\/\/[^\s"]+?)(<\/p>\s*|$)/gi,c=b.exec(a);return c?{index:c.index+c[1].length,content:c[2],options:{url:!0}}:void 0}}))}(window,window.wp.mce.views,window.wp.media,window.jQuery); \ No newline at end of file +!function(a,b,c,d){"use strict";var e={},f={};b.mce=b.mce||{},b.mce.views={register:function(a,c){e[a]=b.mce.View.extend(_.extend(c,{type:a}))},unregister:function(a){delete e[a]},get:function(a){return e[a]},unbind:function(){_.each(f,function(a){a.unbind()})},setMarkers:function(a){var b,c,d=[{content:a}],f=this;return _.each(e,function(a,e){c=d.slice(),d=[],_.each(c,function(c){var g,h,i=c.content;if(c.processed)return void d.push(c);for(;i&&(g=a.prototype.match(i));)g.index&&d.push({content:i.substring(0,g.index)}),b=f.createInstance(e,g.content,g.options),h=b.loader?".":b.text,d.push({content:b.ignore?h:'

                '+h+"

                ",processed:!0}),i=i.slice(g.index+g.content.length);i&&d.push({content:i})})}),a=_.pluck(d,"content").join(""),a.replace(/

                \s*

                ")},createInstance:function(a,b,c,d){var e,g,h=this.get(a);return b=tinymce.DOM.decode(b),!d&&(g=this.getInstance(b))?g:(e=encodeURIComponent(b),c=_.extend(c||{},{text:b,encodedText:e}),f[e]=new h(c))},getInstance:function(a){return"string"==typeof a?f[encodeURIComponent(a)]:f[d(a).attr("data-wpview-text")]},getText:function(a){return decodeURIComponent(d(a).attr("data-wpview-text")||"")},render:function(a){_.each(f,function(b){b.render(a)})},update:function(a,b,c,d){var e=this.getInstance(c);e&&e.update(a,b,c,d)},edit:function(a,b){var c=this.getInstance(b);c&&c.edit&&c.edit(c.text,function(d,e){c.update(d,a,b,e)})},remove:function(a,b){var c=this.getInstance(b);c&&c.remove(a,b)}},b.mce.View=function(a){_.extend(this,a),this.initialize()},b.mce.View.extend=Backbone.View.extend,_.extend(b.mce.View.prototype,{content:null,loader:!0,initialize:function(){},getContent:function(){return this.content},render:function(a,b){null!=a&&(this.content=a),a=this.getContent(),(this.loader||a)&&(b&&this.unbind(),this.replaceMarkers(),a?this.setContent(a,function(a,b,c){d(b).data("rendered",!0),this.bindNode.call(this,a,b,c)},b?null:!1):this.setLoader())},bindNode:function(){},unbindNode:function(){},unbind:function(){this.getNodes(function(a,b,c){this.unbindNode.call(this,a,b,c),d(b).trigger("wp-mce-view-unbind")},!0)},getEditors:function(a){_.each(tinymce.editors,function(b){b.plugins.wpview&&a.call(this,b)},this)},getNodes:function(a,b){this.getEditors(function(c){var e=this;d(c.getBody()).find('[data-wpview-text="'+e.encodedText+'"]').filter(function(){var a;return null==b?!0:(a=d(this).data("rendered")===!0,b?a:!a)}).each(function(){a.call(e,c,this,d(this).find(".wpview-content").get(0))})})},getMarkers:function(a){this.getEditors(function(b){var c=this;d(b.getBody()).find('[data-wpview-marker="'+this.encodedText+'"]').each(function(){a.call(c,b,this)})})},replaceMarkers:function(){this.getMarkers(function(a,b){var c,e=b===a.selection.getNode();return this.loader||d(b).text()===this.text?(c=a.$('

                \xa0

                \xa0

                '),a.$(b).replaceWith(c),void(e&&a.wp.setViewCursor(!1,c[0]))):void a.dom.setAttrib(b,"data-wpview-marker",null)})},removeMarkers:function(){this.getMarkers(function(a,b){a.dom.setAttrib(b,"data-wpview-marker",null)})},setContent:function(a,b,c){_.isObject(a)&&-1!==a.body.indexOf("
                '),e.innerHTML="",e.appendChild(_.isString(a)?c.dom.createFragment(a):a),b&&b.call(this,c,d,e)},c)},setIframes:function(b,c,e,f){var g=a.MutationObserver||a.WebKitMutationObserver||a.MozMutationObserver,h=this;this.getNodes(function(a,f,i){var j=a.dom,k="",l=a.getBody().className||"",m=a.getDoc().getElementsByTagName("head")[0];tinymce.each(j.$('link[rel="stylesheet"]',m),function(a){a.href&&-1===a.href.indexOf("skins/lightgray/content.min.css")&&-1===a.href.indexOf("skins/wordpress/wp-content.css")&&(k+=j.getOuterHTML(a))}),h.iframeHeight&&j.add(i,"div",{style:{width:"100%",height:h.iframeHeight}}),setTimeout(function(){function m(){var b;s||o.contentWindow&&(b=d(o),h.iframeHeight=d(p.body).height(),b.height()!==h.iframeHeight&&(b.height(h.iframeHeight),a.nodeChanged()))}function n(){p.body.className=a.getBody().className}var o,p,q,r,s;if(i.innerHTML="",o=j.add(i,"iframe",{src:tinymce.Env.ie?'javascript:""':"",frameBorder:"0",allowTransparency:"true",scrolling:"no","class":"wpview-sandbox",style:{width:"100%",display:"block"},height:h.iframeHeight}),j.add(i,"div",{"class":"wpview-overlay"}),p=o.contentWindow.document,p.open(),p.write(''+b+k+''+c+""),p.close(),h.iframeHeight&&(s=!0,setTimeout(function(){s=!1,m()},3e3)),d(o.contentWindow).on("load",m),g)q=new g(_.debounce(m,100)),q.observe(p.body,{attributes:!0,childList:!0,subtree:!0}),d(f).one("wp-mce-view-unbind",function(){q.disconnect()});else for(r=1;6>r;r++)setTimeout(m,700*r);a.on("wp-body-class-change",n),d(f).one("wp-mce-view-unbind",function(){a.off("wp-body-class-change",n)}),e&&e.call(h,a,f,i)},50)},f)},setLoader:function(){this.setContent('
                ')},setError:function(a,b){this.setContent('

                '+a+"

                ")},match:function(a){var b=c.next(this.type,a);return b?{index:b.index,content:b.content,options:{shortcode:b.shortcode}}:void 0},update:function(a,c,f,g){_.find(e,function(e,h){var i=e.prototype.match(a);return i?(d(f).data("rendered",!1),c.dom.setAttrib(f,"data-wpview-text",encodeURIComponent(a)),b.mce.views.createInstance(h,a,i.options,g).render(),c.focus(),!0):void 0})},remove:function(a,b){this.unbindNode.call(this,a,b,d(b).find(".wpview-content").get(0)),d(b).trigger("wp-mce-view-unbind"),a.dom.remove(b),a.focus()}})}(window,window.wp,window.wp.shortcode,window.jQuery),function(a,b,c,d){function e(b){var c={};return a.tinymce?!b||-1===b.indexOf("<")&&-1===b.indexOf(">")?b:(j=j||new a.tinymce.html.Schema(c),k=k||new a.tinymce.html.DomParser(c,j),l=l||new a.tinymce.html.Serializer(c,j),l.serialize(k.parse(b,{forced_root_block:!1}))):b.replace(/<[^>]+>/g,"")}var f,g,h,i,j,k,l;f={state:[],edit:function(a,b){var d=this.type,e=c[d].edit(a);this.pausePlayers&&this.pausePlayers(),_.each(this.state,function(a){e.state(a).on("update",function(a){b(c[d].shortcode(a).string(),"gallery"===d)})}),e.on("close",function(){e.detach()}),e.open()}},g=_.extend({},f,{state:["gallery-edit"],template:c.template("editor-gallery"),initialize:function(){var a=c.gallery.attachments(this.shortcode,c.view.settings.post.id),b=this.shortcode.attrs.named,d=this;a.more().done(function(){a=a.toJSON(),_.each(a,function(a){a.sizes&&(b.size&&a.sizes[b.size]?a.thumbnail=a.sizes[b.size]:a.sizes.thumbnail?a.thumbnail=a.sizes.thumbnail:a.sizes.full&&(a.thumbnail=a.sizes.full))}),d.render(d.template({verifyHTML:e,attachments:a,columns:b.columns?parseInt(b.columns,10):c.galleryDefaults.columns}))}).fail(function(a,b){d.setError(b)})}}),h=_.extend({},f,{action:"parse-media-shortcode",initialize:function(){var a=this;this.url&&(this.loader=!1,this.shortcode=c.embed.shortcode({url:this.text})),wp.ajax.post(this.action,{post_ID:c.view.settings.post.id,type:this.shortcode.tag,shortcode:this.shortcode.string()}).done(function(b){a.render(b)}).fail(function(b){a.url?(a.ignore=!0,a.removeMarkers()):a.setError(b.message||b.statusText,"admin-media")}),this.getEditors(function(b){b.on("wpview-selected",function(){a.pausePlayers()})})},pausePlayers:function(){this.getNodes(function(a,b,c){var e=d("iframe.wpview-sandbox",c).get(0);e&&(e=e.contentWindow)&&e.mejs&&_.each(e.mejs.players,function(a){try{a.pause()}catch(b){}})})}}),i=_.extend({},h,{action:"parse-embed",edit:function(a,b){var d=c.embed.edit(a,this.url),e=this;this.pausePlayers(),d.state("embed").props.on("change:url",function(a,b){b&&a.get("url")&&(d.state("embed").metadata=a.toJSON())}),d.state("embed").on("select",function(){var a=d.state("embed").metadata;b(e.url?a.url:c.embed.shortcode(a).string())}),d.on("close",function(){d.detach()}),d.open()}}),b.register("gallery",_.extend({},g)),b.register("audio",_.extend({},h,{state:["audio-details"]})),b.register("video",_.extend({},h,{state:["video-details"]})),b.register("playlist",_.extend({},h,{state:["playlist-edit","video-playlist-edit"]})),b.register("embed",_.extend({},i)),b.register("embedURL",_.extend({},i,{match:function(a){var b=/(^|

                )(https?:\/\/[^\s"]+?)(<\/p>\s*|$)/gi,c=b.exec(a);return c?{index:c.index+c[1].length,content:c[2],options:{url:!0}}:void 0}}))}(window,window.wp.mce.views,window.wp.media,window.jQuery); \ No newline at end of file diff --git a/wp-includes/js/media-editor.js b/wp-includes/js/media-editor.js index 9d84a4b..5bf5bd3 100644 --- a/wp-includes/js/media-editor.js +++ b/wp-includes/js/media-editor.js @@ -670,6 +670,7 @@ */ frame: function() { if ( this._frame ) { + wp.media.frame = this._frame; return this._frame; } @@ -1067,6 +1068,8 @@ workflow = this.add( id, options ); } + wp.media.frame = workflow; + return workflow.open(); }, diff --git a/wp-includes/js/media-editor.min.js b/wp-includes/js/media-editor.min.js index 630ec95..24ffc50 100644 --- a/wp-includes/js/media-editor.min.js +++ b/wp-includes/js/media-editor.min.js @@ -1 +1 @@ -!function(a,b){var c={};wp.media.coerce=function(a,c){return b.isUndefined(a[c])&&!b.isUndefined(this.defaults[c])?a[c]=this.defaults[c]:"true"===a[c]?a[c]=!0:"false"===a[c]&&(a[c]=!1),a[c]},wp.media.string={props:function(a,c){var d,e,f,g,h,i=wp.media.view.settings.defaultProps;return h=function(a){return"image"!==a.type||a.alt||(a.alt=a.caption||a.title||"",a.alt=a.alt.replace(/<\/?[^>]+>/g,""),a.alt=a.alt.replace(/[\r\n]+/g," ")),a},a=a?b.clone(a):{},c&&c.type&&(a.type=c.type),"image"===a.type&&(a=b.defaults(a||{},{align:i.align||getUserSetting("align","none"),size:i.size||getUserSetting("imgsize","medium"),url:"",classes:[]})),c?(a.title=a.title||c.title,d=a.link||i.link||getUserSetting("urlbutton","file"),"file"===d||"embed"===d?e=c.url:"post"===d?e=c.link:"custom"===d&&(e=a.linkUrl),a.linkUrl=e||"","image"===c.type?(a.classes.push("wp-image-"+c.id),g=c.sizes,f=g&&g[a.size]?g[a.size]:c,b.extend(a,b.pick(c,"align","caption","alt"),{width:f.width,height:f.height,src:f.url,captionId:"attachment_"+c.id})):"video"===c.type||"audio"===c.type?b.extend(a,b.pick(c,"title","type","icon","mime")):(a.title=a.title||c.filename,a.rel=a.rel||"attachment wp-att-"+c.id),h(a)):h(a)},link:function(a,b){var c;return a=wp.media.string.props(a,b),c={tag:"a",content:a.title,attrs:{href:a.linkUrl}},a.rel&&(c.attrs.rel=a.rel),wp.html.string(c)},audio:function(a,b){return wp.media.string._audioVideo("audio",a,b)},video:function(a,b){return wp.media.string._audioVideo("video",a,b)},_audioVideo:function(a,c,d){var e,f,g;return c=wp.media.string.props(c,d),"embed"!==c.link?wp.media.string.link(c):(e={},"video"===a&&(d.image&&-1===d.image.src.indexOf(d.icon)&&(e.poster=d.image.src),d.width&&(e.width=d.width),d.height&&(e.height=d.height)),g=d.filename.split(".").pop(),b.contains(wp.media.view.settings.embedExts,g)?(e[g]=d.url,f=wp.shortcode.string({tag:a,attrs:e})):wp.media.string.link(c))},image:function(a,c){var d,e,f,g,h={};return a=wp.media.string.props(a,c),e=a.classes||[],h.src=b.isUndefined(c)?a.url:c.url,b.extend(h,b.pick(a,"width","height","alt")),a.align&&!a.caption&&e.push("align"+a.align),a.size&&e.push("size-"+a.size),h["class"]=b.compact(e).join(" "),d={tag:"img",attrs:h,single:!0},a.linkUrl&&(d={tag:"a",attrs:{href:a.linkUrl},content:d}),g=wp.html.string(d),a.caption&&(f={},h.width&&(f.width=h.width),a.captionId&&(f.id=a.captionId),a.align&&(f.align="align"+a.align),g=wp.shortcode.string({tag:"caption",attrs:f,content:g+" "+a.caption})),g}},wp.media.embed={coerce:wp.media.coerce,defaults:{url:"",width:"",height:""},edit:function(a,c){var d,e,f={};return c?f.url=a.replace(/<[^>]+>/g,""):(e=wp.shortcode.next("embed",a).shortcode,f=b.defaults(e.attrs.named,this.defaults),e.content&&(f.url=e.content)),d=wp.media({frame:"post",state:"embed",metadata:f})},shortcode:function(a){var c,d=this;return b.each(this.defaults,function(b,c){a[c]=d.coerce(a,c),b===a[c]&&delete a[c]}),c=a.url,delete a.url,new wp.shortcode({tag:"embed",attrs:a,content:c})}},wp.media.collection=function(a){var c={};return b.extend({coerce:wp.media.coerce,attachments:function(a){var d,e,f,g,h=a.string(),i=c[h],j=this;return delete c[h],i?i:(d=b.defaults(a.attrs.named,this.defaults),e=b.pick(d,"orderby","order"),e.type=this.type,e.perPage=-1,void 0!==d.orderby&&(d._orderByField=d.orderby),"rand"===d.orderby&&(d._orderbyRandom=!0),(!d.orderby||/^menu_order(?: ID)?$/i.test(d.orderby))&&(e.orderby="menuOrder"),d.ids?(e.post__in=d.ids.split(","),e.orderby="post__in"):d.include&&(e.post__in=d.include.split(",")),d.exclude&&(e.post__not_in=d.exclude.split(",")),e.post__in||(e.uploadedTo=d.id),g=b.omit(d,"id","ids","include","exclude","orderby","order"),b.each(this.defaults,function(a,b){g[b]=j.coerce(g,b)}),f=wp.media.query(e),f[this.tag]=new Backbone.Model(g),f)},shortcode:function(a){var d,e,f=a.props.toJSON(),g=b.pick(f,"orderby","order");return a.type&&(g.type=a.type,delete a.type),a[this.tag]&&b.extend(g,a[this.tag].toJSON()),g.ids=a.pluck("id"),f.uploadedTo&&(g.id=f.uploadedTo),delete g.orderby,g._orderbyRandom?g.orderby="rand":g._orderByField&&"rand"!=g._orderByField&&(g.orderby=g._orderByField),delete g._orderbyRandom,delete g._orderByField,g.ids&&"post__in"===g.orderby&&delete g.orderby,g=this.setDefaults(g),d=new wp.shortcode({tag:this.tag,attrs:g,type:"single"}),e=new wp.media.model.Attachments(a.models,{props:f}),e[this.tag]=a[this.tag],c[d.string()]=e,d},edit:function(a){var c,d,e,f=wp.shortcode.next(this.tag,a),g=this.defaults.id;if(f&&f.content===a)return f=f.shortcode,b.isUndefined(f.get("id"))&&!b.isUndefined(g)&&f.set("id",g),c=this.attachments(f),d=new wp.media.model.Selection(c.models,{props:c.props.toJSON(),multiple:!0}),d[this.tag]=c[this.tag],d.more().done(function(){d.props.set({query:!1}),d.unmirror(),d.props.unset("orderby")}),this.frame&&this.frame.dispose(),e=f.attrs.named.type&&"video"===f.attrs.named.type?"video-"+this.tag+"-edit":this.tag+"-edit",this.frame=wp.media({frame:"post",state:e,title:this.editTitle,editing:!0,multiple:!0,selection:d}).open(),this.frame},setDefaults:function(a){var c=this;return b.each(this.defaults,function(b,d){a[d]=c.coerce(a,d),b===a[d]&&delete a[d]}),a}},a)},wp.media._galleryDefaults={itemtag:"dl",icontag:"dt",captiontag:"dd",columns:"3",link:"post",size:"thumbnail",order:"ASC",id:wp.media.view.settings.post&&wp.media.view.settings.post.id,orderby:"menu_order ID"},wp.media.view.settings.galleryDefaults?wp.media.galleryDefaults=b.extend({},wp.media._galleryDefaults,wp.media.view.settings.galleryDefaults):wp.media.galleryDefaults=wp.media._galleryDefaults,wp.media.gallery=new wp.media.collection({tag:"gallery",type:"image",editTitle:wp.media.view.l10n.editGalleryTitle,defaults:wp.media.galleryDefaults,setDefaults:function(a){var c=this,d=!b.isEqual(wp.media.galleryDefaults,wp.media._galleryDefaults);return b.each(this.defaults,function(b,e){a[e]=c.coerce(a,e),b!==a[e]||d&&b!==wp.media._galleryDefaults[e]||delete a[e]}),a}}),wp.media.featuredImage={get:function(){return wp.media.view.settings.post.featuredImageId},set:function(b){var c=wp.media.view.settings;c.post.featuredImageId=b,wp.media.post("set-post-thumbnail",{json:!0,post_id:c.post.id,thumbnail_id:c.post.featuredImageId,_wpnonce:c.post.nonce}).done(function(b){a(".inside","#postimagediv").html(b)})},frame:function(){return this._frame?this._frame:(this._frame=wp.media({state:"featured-image",states:[new wp.media.controller.FeaturedImage,new wp.media.controller.EditImage]}),this._frame.on("toolbar:create:featured-image",function(a){this.createSelectToolbar(a,{text:wp.media.view.l10n.setFeaturedImage})},this._frame),this._frame.on("content:render:edit-image",function(){var a=this.state("featured-image").get("selection"),b=new wp.media.view.EditImage({model:a.single(),controller:this}).render();this.content.set(b),b.loadEditor()},this._frame),this._frame.state("featured-image").on("select",this.select),this._frame)},select:function(){var a=this.get("selection").single();wp.media.view.settings.post.featuredImageId&&wp.media.featuredImage.set(a?a.id:-1)},init:function(){a("#postimagediv").on("click","#set-post-thumbnail",function(a){a.preventDefault(),a.stopPropagation(),wp.media.featuredImage.frame().open()}).on("click","#remove-post-thumbnail",function(){wp.media.view.settings.post.featuredImageId=-1})}},a(wp.media.featuredImage.init),wp.media.editor={insert:function(a){var c,d,e=!b.isUndefined(window.tinymce),f=!b.isUndefined(window.QTags);if(d=this.activeEditor?window.wpActiveEditor=this.activeEditor:window.wpActiveEditor,window.send_to_editor)return window.send_to_editor.apply(this,arguments);if(d)e&&(c=tinymce.get(d));else if(e&&tinymce.activeEditor)c=tinymce.activeEditor,d=window.wpActiveEditor=c.id;else if(!f)return!1;if(c&&!c.isHidden()?c.execCommand("mceInsertContent",!1,a):f?QTags.insertContent(a):document.getElementById(d).value+=a,window.tb_remove)try{window.tb_remove()}catch(g){}},add:function(d,e){var f=this.get(d);return f?f:(f=c[d]=wp.media(b.defaults(e||{},{frame:"post",state:"insert",title:wp.media.view.l10n.addMedia,multiple:!0})),f.on("insert",function(c){var d=f.state();c=c||d.get("selection"),c&&a.when.apply(a,c.map(function(a){var b=d.display(a).toJSON();return this.send.attachment(b,a.toJSON())},this)).done(function(){wp.media.editor.insert(b.toArray(arguments).join("\n\n"))})},this),f.state("gallery-edit").on("update",function(a){this.insert(wp.media.gallery.shortcode(a).string())},this),f.state("playlist-edit").on("update",function(a){this.insert(wp.media.playlist.shortcode(a).string())},this),f.state("video-playlist-edit").on("update",function(a){this.insert(wp.media.playlist.shortcode(a).string())},this),f.state("embed").on("select",function(){var a=f.state(),c=a.get("type"),d=a.props.toJSON();d.url=d.url||"","link"===c?(b.defaults(d,{linkText:d.url,linkUrl:d.url}),this.send.link(d).done(function(a){wp.media.editor.insert(a)})):"image"===c&&(b.defaults(d,{title:d.url,linkUrl:"",align:"none",link:"none"}),"none"===d.link?d.linkUrl="":"file"===d.link&&(d.linkUrl=d.url),this.insert(wp.media.string.image(d)))},this),f.state("featured-image").on("select",wp.media.featuredImage.select),f.setState(f.options.state),f)},id:function(a){return a?a:(a=window.wpActiveEditor,a||b.isUndefined(window.tinymce)||!tinymce.activeEditor||(a=tinymce.activeEditor.id),a=a||"")},get:function(a){return a=this.id(a),c[a]},remove:function(a){a=this.id(a),delete c[a]},send:{attachment:function(a,c){var d,e,f=c.caption;return wp.media.view.settings.captions||delete c.caption,a=wp.media.string.props(a,c),d={id:c.id,post_content:c.description,post_excerpt:f},a.linkUrl&&(d.url=a.linkUrl),"image"===c.type?(e=wp.media.string.image(a),b.each({align:"align",size:"image-size",alt:"image_alt"},function(b,c){a[c]&&(d[b]=a[c])})):"video"===c.type?e=wp.media.string.video(a,c):"audio"===c.type?e=wp.media.string.audio(a,c):(e=wp.media.string.link(a),d.post_title=a.title),wp.media.post("send-attachment-to-editor",{nonce:wp.media.view.settings.nonce.sendToEditor,attachment:d,html:e,post_id:wp.media.view.settings.post.id})},link:function(a){return wp.media.post("send-link-to-editor",{nonce:wp.media.view.settings.nonce.sendToEditor,src:a.linkUrl,link_text:a.linkText,html:wp.media.string.link(a),post_id:wp.media.view.settings.post.id})}},open:function(a,b){var c;return b=b||{},a=this.id(a),this.activeEditor=a,c=this.get(a),(!c||c.options&&b.state!==c.options.state)&&(c=this.add(a,b)),c.open()},init:function(){a(document.body).on("click.add-media-button",".insert-media",function(b){var c=a(b.currentTarget),d=c.data("editor"),e={frame:"post",state:"insert",title:wp.media.view.l10n.addMedia,multiple:!0};b.preventDefault(),c.blur(),c.hasClass("gallery")&&(e.state="gallery",e.title=wp.media.view.l10n.createGalleryTitle),wp.media.editor.open(d,e)}),(new wp.media.view.EditorUploader).render()}},b.bindAll(wp.media.editor,"open"),a(wp.media.editor.init)}(jQuery,_); \ No newline at end of file +!function(a,b){var c={};wp.media.coerce=function(a,c){return b.isUndefined(a[c])&&!b.isUndefined(this.defaults[c])?a[c]=this.defaults[c]:"true"===a[c]?a[c]=!0:"false"===a[c]&&(a[c]=!1),a[c]},wp.media.string={props:function(a,c){var d,e,f,g,h,i=wp.media.view.settings.defaultProps;return h=function(a){return"image"!==a.type||a.alt||(a.alt=a.caption||a.title||"",a.alt=a.alt.replace(/<\/?[^>]+>/g,""),a.alt=a.alt.replace(/[\r\n]+/g," ")),a},a=a?b.clone(a):{},c&&c.type&&(a.type=c.type),"image"===a.type&&(a=b.defaults(a||{},{align:i.align||getUserSetting("align","none"),size:i.size||getUserSetting("imgsize","medium"),url:"",classes:[]})),c?(a.title=a.title||c.title,d=a.link||i.link||getUserSetting("urlbutton","file"),"file"===d||"embed"===d?e=c.url:"post"===d?e=c.link:"custom"===d&&(e=a.linkUrl),a.linkUrl=e||"","image"===c.type?(a.classes.push("wp-image-"+c.id),g=c.sizes,f=g&&g[a.size]?g[a.size]:c,b.extend(a,b.pick(c,"align","caption","alt"),{width:f.width,height:f.height,src:f.url,captionId:"attachment_"+c.id})):"video"===c.type||"audio"===c.type?b.extend(a,b.pick(c,"title","type","icon","mime")):(a.title=a.title||c.filename,a.rel=a.rel||"attachment wp-att-"+c.id),h(a)):h(a)},link:function(a,b){var c;return a=wp.media.string.props(a,b),c={tag:"a",content:a.title,attrs:{href:a.linkUrl}},a.rel&&(c.attrs.rel=a.rel),wp.html.string(c)},audio:function(a,b){return wp.media.string._audioVideo("audio",a,b)},video:function(a,b){return wp.media.string._audioVideo("video",a,b)},_audioVideo:function(a,c,d){var e,f,g;return c=wp.media.string.props(c,d),"embed"!==c.link?wp.media.string.link(c):(e={},"video"===a&&(d.image&&-1===d.image.src.indexOf(d.icon)&&(e.poster=d.image.src),d.width&&(e.width=d.width),d.height&&(e.height=d.height)),g=d.filename.split(".").pop(),b.contains(wp.media.view.settings.embedExts,g)?(e[g]=d.url,f=wp.shortcode.string({tag:a,attrs:e})):wp.media.string.link(c))},image:function(a,c){var d,e,f,g,h={};return a=wp.media.string.props(a,c),e=a.classes||[],h.src=b.isUndefined(c)?a.url:c.url,b.extend(h,b.pick(a,"width","height","alt")),a.align&&!a.caption&&e.push("align"+a.align),a.size&&e.push("size-"+a.size),h["class"]=b.compact(e).join(" "),d={tag:"img",attrs:h,single:!0},a.linkUrl&&(d={tag:"a",attrs:{href:a.linkUrl},content:d}),g=wp.html.string(d),a.caption&&(f={},h.width&&(f.width=h.width),a.captionId&&(f.id=a.captionId),a.align&&(f.align="align"+a.align),g=wp.shortcode.string({tag:"caption",attrs:f,content:g+" "+a.caption})),g}},wp.media.embed={coerce:wp.media.coerce,defaults:{url:"",width:"",height:""},edit:function(a,c){var d,e,f={};return c?f.url=a.replace(/<[^>]+>/g,""):(e=wp.shortcode.next("embed",a).shortcode,f=b.defaults(e.attrs.named,this.defaults),e.content&&(f.url=e.content)),d=wp.media({frame:"post",state:"embed",metadata:f})},shortcode:function(a){var c,d=this;return b.each(this.defaults,function(b,c){a[c]=d.coerce(a,c),b===a[c]&&delete a[c]}),c=a.url,delete a.url,new wp.shortcode({tag:"embed",attrs:a,content:c})}},wp.media.collection=function(a){var c={};return b.extend({coerce:wp.media.coerce,attachments:function(a){var d,e,f,g,h=a.string(),i=c[h],j=this;return delete c[h],i?i:(d=b.defaults(a.attrs.named,this.defaults),e=b.pick(d,"orderby","order"),e.type=this.type,e.perPage=-1,void 0!==d.orderby&&(d._orderByField=d.orderby),"rand"===d.orderby&&(d._orderbyRandom=!0),(!d.orderby||/^menu_order(?: ID)?$/i.test(d.orderby))&&(e.orderby="menuOrder"),d.ids?(e.post__in=d.ids.split(","),e.orderby="post__in"):d.include&&(e.post__in=d.include.split(",")),d.exclude&&(e.post__not_in=d.exclude.split(",")),e.post__in||(e.uploadedTo=d.id),g=b.omit(d,"id","ids","include","exclude","orderby","order"),b.each(this.defaults,function(a,b){g[b]=j.coerce(g,b)}),f=wp.media.query(e),f[this.tag]=new Backbone.Model(g),f)},shortcode:function(a){var d,e,f=a.props.toJSON(),g=b.pick(f,"orderby","order");return a.type&&(g.type=a.type,delete a.type),a[this.tag]&&b.extend(g,a[this.tag].toJSON()),g.ids=a.pluck("id"),f.uploadedTo&&(g.id=f.uploadedTo),delete g.orderby,g._orderbyRandom?g.orderby="rand":g._orderByField&&"rand"!=g._orderByField&&(g.orderby=g._orderByField),delete g._orderbyRandom,delete g._orderByField,g.ids&&"post__in"===g.orderby&&delete g.orderby,g=this.setDefaults(g),d=new wp.shortcode({tag:this.tag,attrs:g,type:"single"}),e=new wp.media.model.Attachments(a.models,{props:f}),e[this.tag]=a[this.tag],c[d.string()]=e,d},edit:function(a){var c,d,e,f=wp.shortcode.next(this.tag,a),g=this.defaults.id;if(f&&f.content===a)return f=f.shortcode,b.isUndefined(f.get("id"))&&!b.isUndefined(g)&&f.set("id",g),c=this.attachments(f),d=new wp.media.model.Selection(c.models,{props:c.props.toJSON(),multiple:!0}),d[this.tag]=c[this.tag],d.more().done(function(){d.props.set({query:!1}),d.unmirror(),d.props.unset("orderby")}),this.frame&&this.frame.dispose(),e=f.attrs.named.type&&"video"===f.attrs.named.type?"video-"+this.tag+"-edit":this.tag+"-edit",this.frame=wp.media({frame:"post",state:e,title:this.editTitle,editing:!0,multiple:!0,selection:d}).open(),this.frame},setDefaults:function(a){var c=this;return b.each(this.defaults,function(b,d){a[d]=c.coerce(a,d),b===a[d]&&delete a[d]}),a}},a)},wp.media._galleryDefaults={itemtag:"dl",icontag:"dt",captiontag:"dd",columns:"3",link:"post",size:"thumbnail",order:"ASC",id:wp.media.view.settings.post&&wp.media.view.settings.post.id,orderby:"menu_order ID"},wp.media.view.settings.galleryDefaults?wp.media.galleryDefaults=b.extend({},wp.media._galleryDefaults,wp.media.view.settings.galleryDefaults):wp.media.galleryDefaults=wp.media._galleryDefaults,wp.media.gallery=new wp.media.collection({tag:"gallery",type:"image",editTitle:wp.media.view.l10n.editGalleryTitle,defaults:wp.media.galleryDefaults,setDefaults:function(a){var c=this,d=!b.isEqual(wp.media.galleryDefaults,wp.media._galleryDefaults);return b.each(this.defaults,function(b,e){a[e]=c.coerce(a,e),b!==a[e]||d&&b!==wp.media._galleryDefaults[e]||delete a[e]}),a}}),wp.media.featuredImage={get:function(){return wp.media.view.settings.post.featuredImageId},set:function(b){var c=wp.media.view.settings;c.post.featuredImageId=b,wp.media.post("set-post-thumbnail",{json:!0,post_id:c.post.id,thumbnail_id:c.post.featuredImageId,_wpnonce:c.post.nonce}).done(function(b){a(".inside","#postimagediv").html(b)})},frame:function(){return this._frame?(wp.media.frame=this._frame,this._frame):(this._frame=wp.media({state:"featured-image",states:[new wp.media.controller.FeaturedImage,new wp.media.controller.EditImage]}),this._frame.on("toolbar:create:featured-image",function(a){this.createSelectToolbar(a,{text:wp.media.view.l10n.setFeaturedImage})},this._frame),this._frame.on("content:render:edit-image",function(){var a=this.state("featured-image").get("selection"),b=new wp.media.view.EditImage({model:a.single(),controller:this}).render();this.content.set(b),b.loadEditor()},this._frame),this._frame.state("featured-image").on("select",this.select),this._frame)},select:function(){var a=this.get("selection").single();wp.media.view.settings.post.featuredImageId&&wp.media.featuredImage.set(a?a.id:-1)},init:function(){a("#postimagediv").on("click","#set-post-thumbnail",function(a){a.preventDefault(),a.stopPropagation(),wp.media.featuredImage.frame().open()}).on("click","#remove-post-thumbnail",function(){wp.media.view.settings.post.featuredImageId=-1})}},a(wp.media.featuredImage.init),wp.media.editor={insert:function(a){var c,d,e=!b.isUndefined(window.tinymce),f=!b.isUndefined(window.QTags);if(d=this.activeEditor?window.wpActiveEditor=this.activeEditor:window.wpActiveEditor,window.send_to_editor)return window.send_to_editor.apply(this,arguments);if(d)e&&(c=tinymce.get(d));else if(e&&tinymce.activeEditor)c=tinymce.activeEditor,d=window.wpActiveEditor=c.id;else if(!f)return!1;if(c&&!c.isHidden()?c.execCommand("mceInsertContent",!1,a):f?QTags.insertContent(a):document.getElementById(d).value+=a,window.tb_remove)try{window.tb_remove()}catch(g){}},add:function(d,e){var f=this.get(d);return f?f:(f=c[d]=wp.media(b.defaults(e||{},{frame:"post",state:"insert",title:wp.media.view.l10n.addMedia,multiple:!0})),f.on("insert",function(c){var d=f.state();c=c||d.get("selection"),c&&a.when.apply(a,c.map(function(a){var b=d.display(a).toJSON();return this.send.attachment(b,a.toJSON())},this)).done(function(){wp.media.editor.insert(b.toArray(arguments).join("\n\n"))})},this),f.state("gallery-edit").on("update",function(a){this.insert(wp.media.gallery.shortcode(a).string())},this),f.state("playlist-edit").on("update",function(a){this.insert(wp.media.playlist.shortcode(a).string())},this),f.state("video-playlist-edit").on("update",function(a){this.insert(wp.media.playlist.shortcode(a).string())},this),f.state("embed").on("select",function(){var a=f.state(),c=a.get("type"),d=a.props.toJSON();d.url=d.url||"","link"===c?(b.defaults(d,{linkText:d.url,linkUrl:d.url}),this.send.link(d).done(function(a){wp.media.editor.insert(a)})):"image"===c&&(b.defaults(d,{title:d.url,linkUrl:"",align:"none",link:"none"}),"none"===d.link?d.linkUrl="":"file"===d.link&&(d.linkUrl=d.url),this.insert(wp.media.string.image(d)))},this),f.state("featured-image").on("select",wp.media.featuredImage.select),f.setState(f.options.state),f)},id:function(a){return a?a:(a=window.wpActiveEditor,a||b.isUndefined(window.tinymce)||!tinymce.activeEditor||(a=tinymce.activeEditor.id),a=a||"")},get:function(a){return a=this.id(a),c[a]},remove:function(a){a=this.id(a),delete c[a]},send:{attachment:function(a,c){var d,e,f=c.caption;return wp.media.view.settings.captions||delete c.caption,a=wp.media.string.props(a,c),d={id:c.id,post_content:c.description,post_excerpt:f},a.linkUrl&&(d.url=a.linkUrl),"image"===c.type?(e=wp.media.string.image(a),b.each({align:"align",size:"image-size",alt:"image_alt"},function(b,c){a[c]&&(d[b]=a[c])})):"video"===c.type?e=wp.media.string.video(a,c):"audio"===c.type?e=wp.media.string.audio(a,c):(e=wp.media.string.link(a),d.post_title=a.title),wp.media.post("send-attachment-to-editor",{nonce:wp.media.view.settings.nonce.sendToEditor,attachment:d,html:e,post_id:wp.media.view.settings.post.id})},link:function(a){return wp.media.post("send-link-to-editor",{nonce:wp.media.view.settings.nonce.sendToEditor,src:a.linkUrl,link_text:a.linkText,html:wp.media.string.link(a),post_id:wp.media.view.settings.post.id})}},open:function(a,b){var c;return b=b||{},a=this.id(a),this.activeEditor=a,c=this.get(a),(!c||c.options&&b.state!==c.options.state)&&(c=this.add(a,b)),wp.media.frame=c,c.open()},init:function(){a(document.body).on("click.add-media-button",".insert-media",function(b){var c=a(b.currentTarget),d=c.data("editor"),e={frame:"post",state:"insert",title:wp.media.view.l10n.addMedia,multiple:!0};b.preventDefault(),c.blur(),c.hasClass("gallery")&&(e.state="gallery",e.title=wp.media.view.l10n.createGalleryTitle),wp.media.editor.open(d,e)}),(new wp.media.view.EditorUploader).render()}},b.bindAll(wp.media.editor,"open"),a(wp.media.editor.init)}(jQuery,_); \ No newline at end of file diff --git a/wp-includes/js/media-views.js b/wp-includes/js/media-views.js index 0f53b0a..5d2fe60 100644 --- a/wp-includes/js/media-views.js +++ b/wp-includes/js/media-views.js @@ -1182,9 +1182,9 @@ Library = wp.media.controller.State.extend({ var defaultProps = wp.media.view.settings.defaultProps; this._displays = []; this._defaultDisplaySettings = { - align: defaultProps.align || getUserSetting( 'align', 'none' ), - size: defaultProps.size || getUserSetting( 'imgsize', 'medium' ), - link: defaultProps.link || getUserSetting( 'urlbutton', 'file' ) + align: getUserSetting( 'align', defaultProps.align ) || 'none', + size: getUserSetting( 'imgsize', defaultProps.size ) || 'medium', + link: getUserSetting( 'urlbutton', defaultProps.link ) || 'none' }; }, @@ -7855,6 +7855,10 @@ EditorUploader = View.extend({ this.$document.on( 'dragstart dragend drop', _.bind( function( event ) { this.localDrag = event.type === 'dragstart'; + + if ( event.type === 'drop' ) { + this.containerDragleave(); + } }, this ) ); this.initialized = true; diff --git a/wp-includes/js/media-views.min.js b/wp-includes/js/media-views.min.js index d8ec4ae..e951d78 100644 --- a/wp-includes/js/media-views.min.js +++ b/wp-includes/js/media-views.min.js @@ -1,4 +1,4 @@ -!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g'+d+"

                ")[0],priority:-40})),a.toolbar.set("reverse",{text:f.reverseOrder,priority:80,click:function(){b.reset(b.toArray().reverse())}}))}}),b.exports=d},{}],3:[function(a,b,c){var d,e=wp.media.view.l10n;d=wp.media.controller.State.extend({defaults:{id:"cropper",title:e.cropImage,toolbar:"crop",content:"crop",router:!1,canSkipCrop:!1},activate:function(){this.frame.on("content:create:crop",this.createCropContent,this),this.frame.on("close",this.removeCropper,this),this.set("selection",new Backbone.Collection(this.frame._selection.single))},deactivate:function(){this.frame.toolbar.mode("browse")},createCropContent:function(){this.cropperView=new wp.media.view.Cropper({controller:this,attachment:this.get("selection").first()}),this.cropperView.on("image-loaded",this.createCropToolbar,this),this.frame.content.set(this.cropperView)},removeCropper:function(){this.imgSelect.cancelSelection(),this.imgSelect.setOptions({remove:!0}),this.imgSelect.update(),this.cropperView.remove()},createCropToolbar:function(){var a,b;a=this.get("canSkipCrop")||!1,b={controller:this.frame,items:{insert:{style:"primary",text:e.cropImage,priority:80,requires:{library:!1,selection:!1},click:function(){var a,b=this.controller;a=b.state().get("selection").first(),a.set({cropDetails:b.state().imgSelect.getSelection()}),this.$el.text(e.cropping),this.$el.attr("disabled",!0),b.state().doCrop(a).done(function(a){b.trigger("cropped",a),b.close()}).fail(function(){b.trigger("content:error:crop")})}}}},a&&_.extend(b.items,{skip:{style:"secondary",text:e.skipCropping,priority:70,requires:{library:!1,selection:!1},click:function(){var a=this.controller.state().get("selection").first();this.controller.state().cropperView.remove(),this.controller.trigger("skippedcrop",a),this.controller.close()}}}),this.frame.toolbar.set(new wp.media.view.Toolbar(b))},doCrop:function(a){return wp.ajax.post("custom-header-crop",{nonce:a.get("nonces").edit,id:a.get("id"),cropDetails:a.get("cropDetails")})}}),b.exports=d},{}],4:[function(a,b,c){var d,e=wp.media.controller;d=e.Cropper.extend({doCrop:function(a){var b=a.get("cropDetails"),c=this.get("control");return b.dst_width=c.params.width,b.dst_height=c.params.height,wp.ajax.post("crop-image",{wp_customize:"on",nonce:a.get("nonces").edit,id:a.get("id"),context:c.id,cropDetails:b})}}),b.exports=d},{}],5:[function(a,b,c){var d,e=wp.media.view.l10n;d=wp.media.controller.State.extend({defaults:{id:"edit-image",title:e.editImage,menu:!1,toolbar:"edit-image",content:"edit-image",url:""},activate:function(){this.listenTo(this.frame,"toolbar:render:edit-image",this.toolbar)},deactivate:function(){this.stopListening(this.frame)},toolbar:function(){var a=this.frame,b=a.lastState(),c=b&&b.id;a.toolbar.set(new wp.media.view.Toolbar({controller:a,items:{back:{style:"primary",text:e.back,priority:20,click:function(){c?a.setState(c):a.close()}}}}))}}),b.exports=d},{}],6:[function(a,b,c){var d,e=wp.media.view.l10n,f=Backbone.$;d=wp.media.controller.State.extend({defaults:{id:"embed",title:e.insertFromUrlTitle,content:"embed",menu:"default",toolbar:"main-embed",priority:120,type:"link",url:"",metadata:{}},sensitivity:400,initialize:function(a){this.metadata=a.metadata,this.debouncedScan=_.debounce(_.bind(this.scan,this),this.sensitivity),this.props=new Backbone.Model(this.metadata||{url:""}),this.props.on("change:url",this.debouncedScan,this),this.props.on("change:url",this.refresh,this),this.on("scan",this.scanImage,this)},scan:function(){var a,b=this,c={type:"link",scanners:[]};this.props.get("url")&&this.trigger("scan",c),c.scanners.length?(a=c.scanners=f.when.apply(f,c.scanners),a.always(function(){b.get("scanners")===a&&b.set("loading",!1)})):c.scanners=null,c.loading=!!c.scanners,this.set(c)},scanImage:function(a){var b=this.frame,c=this,d=this.props.get("url"),e=new Image,g=f.Deferred();a.scanners.push(g.promise()),e.onload=function(){g.resolve(),c===b.state()&&d===c.props.get("url")&&(c.set({type:"image"}),c.props.set({width:e.width,height:e.height}))},e.onerror=g.reject,e.src=d},refresh:function(){this.frame.toolbar.get().refresh()},reset:function(){this.props.clear().set({url:""}),this.active&&this.refresh()}}),b.exports=d},{}],7:[function(a,b,c){var d,e=wp.media.model.Attachment,f=wp.media.controller.Library,g=wp.media.view.l10n;d=f.extend({defaults:_.defaults({id:"featured-image",title:g.setFeaturedImageTitle,multiple:!1,filterable:"uploaded",toolbar:"featured-image",priority:60,syncSelection:!0},f.prototype.defaults),initialize:function(){var a,b;this.get("library")||this.set("library",wp.media.query({type:"image"})),f.prototype.initialize.apply(this,arguments),a=this.get("library"),b=a.comparator,a.comparator=function(a,c){var d=!!this.mirroring.get(a.cid),e=!!this.mirroring.get(c.cid);return!d&&e?-1:d&&!e?1:b.apply(this,arguments)},a.observe(this.get("selection"))},activate:function(){this.updateSelection(),this.frame.on("open",this.updateSelection,this),f.prototype.activate.apply(this,arguments)},deactivate:function(){this.frame.off("open",this.updateSelection,this),f.prototype.deactivate.apply(this,arguments)},updateSelection:function(){var a,b=this.get("selection"),c=wp.media.view.settings.post.featuredImageId;""!==c&&-1!==c&&(a=e.get(c),a.fetch()),b.reset(a?[a]:[])}}),b.exports=d},{}],8:[function(a,b,c){var d,e=wp.media.model.Selection,f=wp.media.controller.Library,g=wp.media.view.l10n;d=f.extend({defaults:_.defaults({id:"gallery-library",title:g.addToGalleryTitle,multiple:"add",filterable:"uploaded",menu:"gallery",toolbar:"gallery-add",priority:100,syncSelection:!1},f.prototype.defaults),initialize:function(){this.get("library")||this.set("library",wp.media.query({type:"image"})),f.prototype.initialize.apply(this,arguments)},activate:function(){var a=this.get("library"),b=this.frame.state("gallery-edit").get("library");this.editLibrary&&this.editLibrary!==b&&a.unobserve(this.editLibrary),a.validator=function(a){return!!this.mirroring.get(a.cid)&&!b.get(a.cid)&&e.prototype.validator.apply(this,arguments)},a.reset(a.mirroring.models,{silent:!0}),a.observe(b),this.editLibrary=b,f.prototype.activate.apply(this,arguments)}}),b.exports=d},{}],9:[function(a,b,c){var d,e=wp.media.controller.Library,f=wp.media.view.l10n;d=e.extend({defaults:{id:"gallery-edit",title:f.editGalleryTitle,multiple:!1,searchable:!1,sortable:!0,date:!1,display:!1,content:"browse",toolbar:"gallery-edit",describe:!0,displaySettings:!0,dragInfo:!0,idealColumnWidth:170,editing:!1,priority:60,syncSelection:!1},initialize:function(){this.get("library")||this.set("library",new wp.media.model.Selection),this.get("AttachmentView")||this.set("AttachmentView",wp.media.view.Attachment.EditLibrary),e.prototype.initialize.apply(this,arguments)},activate:function(){var a=this.get("library");a.props.set("type","image"),this.get("library").observe(wp.Uploader.queue),this.frame.on("content:render:browse",this.gallerySettings,this),e.prototype.activate.apply(this,arguments)},deactivate:function(){this.get("library").unobserve(wp.Uploader.queue),this.frame.off("content:render:browse",this.gallerySettings,this),e.prototype.deactivate.apply(this,arguments)},gallerySettings:function(a){if(this.get("displaySettings")){var b=this.get("library");b&&a&&(b.gallery=b.gallery||new Backbone.Model,a.sidebar.set({gallery:new wp.media.view.Settings.Gallery({controller:this,model:b.gallery,priority:40})}),a.toolbar.set("reverse",{text:f.reverseOrder,priority:80,click:function(){b.reset(b.toArray().reverse())}}))}}}),b.exports=d},{}],10:[function(a,b,c){var d,e=wp.media.controller.State,f=wp.media.controller.Library,g=wp.media.view.l10n;d=e.extend({defaults:_.defaults({id:"image-details",title:g.imageDetailsTitle,content:"image-details",menu:!1,router:!1,toolbar:"image-details",editing:!1,priority:60},f.prototype.defaults),initialize:function(a){this.image=a.image,e.prototype.initialize.apply(this,arguments)},activate:function(){this.frame.modal.$el.addClass("image-details")}}),b.exports=d},{}],11:[function(a,b,c){var d,e=wp.media.view.l10n,f=window.getUserSetting,g=window.setUserSetting;d=wp.media.controller.State.extend({defaults:{id:"library",title:e.mediaLibraryTitle,multiple:!1,content:"upload",menu:"default",router:"browse",toolbar:"select",searchable:!0,filterable:!1,sortable:!0,autoSelect:!0,describe:!1,contentUserSetting:!0,syncSelection:!0},initialize:function(){var a,b=this.get("selection");this.get("library")||this.set("library",wp.media.query()),b instanceof wp.media.model.Selection||(a=b,a||(a=this.get("library").props.toJSON(),a=_.omit(a,"orderby","query")),this.set("selection",new wp.media.model.Selection(null,{multiple:this.get("multiple"),props:a}))),this.resetDisplays()},activate:function(){this.syncSelection(),wp.Uploader.queue.on("add",this.uploading,this),this.get("selection").on("add remove reset",this.refreshContent,this),this.get("router")&&this.get("contentUserSetting")&&(this.frame.on("content:activate",this.saveContentMode,this),this.set("content",f("libraryContent",this.get("content"))))},deactivate:function(){this.recordSelection(),this.frame.off("content:activate",this.saveContentMode,this),this.get("selection").off(null,null,this),wp.Uploader.queue.off(null,null,this)},reset:function(){this.get("selection").reset(),this.resetDisplays(),this.refreshContent()},resetDisplays:function(){var a=wp.media.view.settings.defaultProps;this._displays=[],this._defaultDisplaySettings={align:a.align||f("align","none"),size:a.size||f("imgsize","medium"),link:a.link||f("urlbutton","file")}},display:function(a){var b=this._displays;return b[a.cid]||(b[a.cid]=new Backbone.Model(this.defaultDisplaySettings(a))),b[a.cid]},defaultDisplaySettings:function(a){var b=this._defaultDisplaySettings;return(b.canEmbed=this.canEmbed(a))&&(b.link="embed"),b},canEmbed:function(a){if(!a.get("uploading")){var b=a.get("type");if("audio"!==b&&"video"!==b)return!1}return _.contains(wp.media.view.settings.embedExts,a.get("filename").split(".").pop())},refreshContent:function(){var a=this.get("selection"),b=this.frame,c=b.router.get(),d=b.content.mode();this.active&&!a.length&&c&&!c.get(d)&&this.frame.content.render(this.get("content"))},uploading:function(a){var b=this.frame.content;"upload"===b.mode()&&this.frame.content.mode("browse"),this.get("autoSelect")&&(this.get("selection").add(a),this.frame.trigger("library:selection:add"))},saveContentMode:function(){if("browse"===this.get("router")){var a=this.frame.content.mode(),b=this.frame.router.get();b&&b.get(a)&&g("libraryContent",a)}}}),_.extend(d.prototype,wp.media.selectionSync),b.exports=d},{}],12:[function(a,b,c){var d,e=wp.media.controller.Library;d=e.extend({defaults:_.defaults({filterable:"uploaded",displaySettings:!1,priority:80,syncSelection:!1},e.prototype.defaults),initialize:function(a){this.media=a.media,this.type=a.type,this.set("library",wp.media.query({type:this.type})),e.prototype.initialize.apply(this,arguments)},activate:function(){wp.media.frame.lastMime&&(this.set("library",wp.media.query({type:wp.media.frame.lastMime})),delete wp.media.frame.lastMime),e.prototype.activate.apply(this,arguments)}}),b.exports=d},{}],13:[function(a,b,c){var d=function(a){_.extend(this,_.pick(a||{},"id","view","selector"))};d.extend=Backbone.Model.extend,_.extend(d.prototype,{mode:function(a){return a?a===this._mode?this:(this.trigger("deactivate"),this._mode=a,this.render(a),this.trigger("activate"),this):this._mode},render:function(a){if(a&&a!==this._mode)return this.mode(a);var b,c={view:null};return this.trigger("create",c),b=c.view,this.trigger("render",b),b&&this.set(b),this},get:function(){return this.view.views.first(this.selector)},set:function(a,b){return b&&(b.add=!1),this.view.views.set(this.selector,a,b)},trigger:function(a){var b,c;if(this._mode)return c=_.toArray(arguments),b=this.id+":"+a,c[0]=b+":"+this._mode,this.view.trigger.apply(this.view,c),c[0]=b,this.view.trigger.apply(this.view,c),this}}),b.exports=d},{}],14:[function(a,b,c){var d,e=wp.media.controller.Library,f=wp.media.view.l10n;d=e.extend({defaults:_.defaults({id:"replace-image",title:f.replaceImageTitle,multiple:!1,filterable:"uploaded",toolbar:"replace",menu:!1,priority:60,syncSelection:!0},e.prototype.defaults),initialize:function(a){var b,c;this.image=a.image,this.get("library")||this.set("library",wp.media.query({type:"image"})),e.prototype.initialize.apply(this,arguments),b=this.get("library"),c=b.comparator,b.comparator=function(a,b){var d=!!this.mirroring.get(a.cid),e=!!this.mirroring.get(b.cid);return!d&&e?-1:d&&!e?1:c.apply(this,arguments)},b.observe(this.get("selection"))},activate:function(){this.updateSelection(),e.prototype.activate.apply(this,arguments)},updateSelection:function(){var a=this.get("selection"),b=this.image.attachment;a.reset(b?[b]:[])}}),b.exports=d},{}],15:[function(a,b,c){var d,e=wp.media.controller;d=e.Cropper.extend({activate:function(){this.frame.on("content:create:crop",this.createCropContent,this),this.frame.on("close",this.removeCropper,this),this.set("selection",new Backbone.Collection(this.frame._selection.single))},createCropContent:function(){this.cropperView=new wp.media.view.SiteIconCropper({controller:this,attachment:this.get("selection").first()}),this.cropperView.on("image-loaded",this.createCropToolbar,this),this.frame.content.set(this.cropperView)},doCrop:function(a){var b=a.get("cropDetails"),c=this.get("control");return b.dst_width=c.params.width,b.dst_height=c.params.height,wp.ajax.post("crop-image",{nonce:a.get("nonces").edit,id:a.get("id"),context:"site-icon",cropDetails:b})}}),b.exports=d},{}],16:[function(a,b,c){var d=function(a){this.states=new Backbone.Collection(a)};d.extend=Backbone.Model.extend,_.extend(d.prototype,Backbone.Events,{state:function(a){return this.states=this.states||new Backbone.Collection,a=a||this._state,a&&!this.states.get(a)&&this.states.add({id:a}),this.states.get(a)},setState:function(a){var b=this.state();return b&&a===b.id||!this.states||!this.states.get(a)?this:(b&&(b.trigger("deactivate"),this._lastState=b.id),this._state=a,this.state().trigger("activate"),this)},lastState:function(){return this._lastState?this.state(this._lastState):void 0}}),_.each(["on","off","trigger"],function(a){d.prototype[a]=function(){return this.states=this.states||new Backbone.Collection,this.states[a].apply(this.states,arguments),this}}),b.exports=d},{}],17:[function(a,b,c){var d=Backbone.Model.extend({constructor:function(){this.on("activate",this._preActivate,this),this.on("activate",this.activate,this),this.on("activate",this._postActivate,this),this.on("deactivate",this._deactivate,this),this.on("deactivate",this.deactivate,this),this.on("reset",this.reset,this),this.on("ready",this._ready,this),this.on("ready",this.ready,this),Backbone.Model.apply(this,arguments),this.on("change:menu",this._updateMenu,this)},ready:function(){},activate:function(){},deactivate:function(){},reset:function(){},_ready:function(){this._updateMenu()},_preActivate:function(){this.active=!0},_postActivate:function(){this.on("change:menu",this._menu,this),this.on("change:titleMode",this._title,this),this.on("change:content",this._content,this),this.on("change:toolbar",this._toolbar,this),this.frame.on("title:render:default",this._renderTitle,this),this._title(),this._menu(),this._toolbar(),this._content(),this._router()},_deactivate:function(){this.active=!1,this.frame.off("title:render:default",this._renderTitle,this),this.off("change:menu",this._menu,this),this.off("change:titleMode",this._title,this),this.off("change:content",this._content,this),this.off("change:toolbar",this._toolbar,this)},_title:function(){this.frame.title.render(this.get("titleMode")||"default")},_renderTitle:function(a){a.$el.text(this.get("title")||"")},_router:function(){var a,b=this.frame.router,c=this.get("router");this.frame.$el.toggleClass("hide-router",!c),c&&(this.frame.router.render(c),a=b.get(),a&&a.select&&a.select(this.frame.content.mode()))},_menu:function(){var a,b=this.frame.menu,c=this.get("menu");this.frame.$el.toggleClass("hide-menu",!c),c&&(b.mode(c),a=b.get(),a&&a.select&&a.select(this.id))},_updateMenu:function(){var a=this.previous("menu"),b=this.get("menu");a&&this.frame.off("menu:render:"+a,this._renderMenu,this),b&&this.frame.on("menu:render:"+b,this._renderMenu,this)},_renderMenu:function(a){var b=this.get("menuItem"),c=this.get("title"),d=this.get("priority");!b&&c&&(b={text:c},d&&(b.priority=d)),b&&a.set(this.id,b)}});_.each(["toolbar","content"],function(a){d.prototype["_"+a]=function(){var b=this.get(a);b&&this.frame[a].render(b)}}),b.exports=d},{}],18:[function(a,b,c){var d={syncSelection:function(){var a=this.get("selection"),b=this.frame._selection;this.get("syncSelection")&&b&&a&&(a.multiple&&(a.reset([],{silent:!0}),a.validateAll(b.attachments),b.difference=_.difference(b.attachments.models,a.models)),a.single(b.single))},recordSelection:function(){var a=this.get("selection"),b=this.frame._selection;this.get("syncSelection")&&b&&a&&(a.multiple?(b.attachments.reset(a.toArray().concat(b.difference)),b.difference=[]):b.attachments.add(a.toArray()),b.single=a._single)}};b.exports=d},{}],19:[function(a,b,c){var d,e=wp.media,f=jQuery;e.isTouchDevice="ontouchend"in document,d=e.view.l10n=window._wpMediaViewsL10n||{},e.view.settings=d.settings||{},delete d.settings,e.model.settings.post=e.view.settings.post,f.support.transition=function(){var a,b=document.documentElement.style,c={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};return a=_.find(_.keys(c),function(a){return!_.isUndefined(b[a])}),a&&{end:c[a]}}(),e.events=_.extend({},Backbone.Events),e.transition=function(a,b){var c=f.Deferred();return b=b||2e3,f.support.transition?(a instanceof f||(a=f(a)),a.first().one(f.support.transition.end,c.resolve),_.delay(c.resolve,b)):c.resolve(),c.promise()},e.controller.Region=a("./controllers/region.js"),e.controller.StateMachine=a("./controllers/state-machine.js"),e.controller.State=a("./controllers/state.js"),e.selectionSync=a("./utils/selection-sync.js"),e.controller.Library=a("./controllers/library.js"),e.controller.ImageDetails=a("./controllers/image-details.js"),e.controller.GalleryEdit=a("./controllers/gallery-edit.js"),e.controller.GalleryAdd=a("./controllers/gallery-add.js"),e.controller.CollectionEdit=a("./controllers/collection-edit.js"),e.controller.CollectionAdd=a("./controllers/collection-add.js"),e.controller.FeaturedImage=a("./controllers/featured-image.js"),e.controller.ReplaceImage=a("./controllers/replace-image.js"),e.controller.EditImage=a("./controllers/edit-image.js"),e.controller.MediaLibrary=a("./controllers/media-library.js"),e.controller.Embed=a("./controllers/embed.js"),e.controller.Cropper=a("./controllers/cropper.js"),e.controller.CustomizeImageCropper=a("./controllers/customize-image-cropper.js"),e.controller.SiteIconCropper=a("./controllers/site-icon-cropper.js"),e.View=a("./views/view.js"),e.view.Frame=a("./views/frame.js"),e.view.MediaFrame=a("./views/media-frame.js"),e.view.MediaFrame.Select=a("./views/frame/select.js"),e.view.MediaFrame.Post=a("./views/frame/post.js"),e.view.MediaFrame.ImageDetails=a("./views/frame/image-details.js"),e.view.Modal=a("./views/modal.js"),e.view.FocusManager=a("./views/focus-manager.js"),e.view.UploaderWindow=a("./views/uploader/window.js"),e.view.EditorUploader=a("./views/uploader/editor.js"),e.view.UploaderInline=a("./views/uploader/inline.js"),e.view.UploaderStatus=a("./views/uploader/status.js"),e.view.UploaderStatusError=a("./views/uploader/status-error.js"),e.view.Toolbar=a("./views/toolbar.js"),e.view.Toolbar.Select=a("./views/toolbar/select.js"),e.view.Toolbar.Embed=a("./views/toolbar/embed.js"),e.view.Button=a("./views/button.js"),e.view.ButtonGroup=a("./views/button-group.js"),e.view.PriorityList=a("./views/priority-list.js"),e.view.MenuItem=a("./views/menu-item.js"),e.view.Menu=a("./views/menu.js"),e.view.RouterItem=a("./views/router-item.js"),e.view.Router=a("./views/router.js"),e.view.Sidebar=a("./views/sidebar.js"),e.view.Attachment=a("./views/attachment.js"),e.view.Attachment.Library=a("./views/attachment/library.js"),e.view.Attachment.EditLibrary=a("./views/attachment/edit-library.js"),e.view.Attachments=a("./views/attachments.js"),e.view.Search=a("./views/search.js"),e.view.AttachmentFilters=a("./views/attachment-filters.js"),e.view.DateFilter=a("./views/attachment-filters/date.js"),e.view.AttachmentFilters.Uploaded=a("./views/attachment-filters/uploaded.js"),e.view.AttachmentFilters.All=a("./views/attachment-filters/all.js"),e.view.AttachmentsBrowser=a("./views/attachments/browser.js"),e.view.Selection=a("./views/selection.js"),e.view.Attachment.Selection=a("./views/attachment/selection.js"),e.view.Attachments.Selection=a("./views/attachments/selection.js"),e.view.Attachment.EditSelection=a("./views/attachment/edit-selection.js"),e.view.Settings=a("./views/settings.js"),e.view.Settings.AttachmentDisplay=a("./views/settings/attachment-display.js"),e.view.Settings.Gallery=a("./views/settings/gallery.js"),e.view.Settings.Playlist=a("./views/settings/playlist.js"),e.view.Attachment.Details=a("./views/attachment/details.js"),e.view.AttachmentCompat=a("./views/attachment-compat.js"),e.view.Iframe=a("./views/iframe.js"),e.view.Embed=a("./views/embed.js"),e.view.Label=a("./views/label.js"),e.view.EmbedUrl=a("./views/embed/url.js"),e.view.EmbedLink=a("./views/embed/link.js"),e.view.EmbedImage=a("./views/embed/image.js"),e.view.ImageDetails=a("./views/image-details.js"),e.view.Cropper=a("./views/cropper.js"),e.view.SiteIconCropper=a("./views/site-icon-cropper.js"),e.view.SiteIconPreview=a("./views/site-icon-preview.js"),e.view.EditImage=a("./views/edit-image.js"),e.view.Spinner=a("./views/spinner.js")},{"./controllers/collection-add.js":1,"./controllers/collection-edit.js":2,"./controllers/cropper.js":3,"./controllers/customize-image-cropper.js":4,"./controllers/edit-image.js":5,"./controllers/embed.js":6,"./controllers/featured-image.js":7,"./controllers/gallery-add.js":8,"./controllers/gallery-edit.js":9,"./controllers/image-details.js":10,"./controllers/library.js":11,"./controllers/media-library.js":12,"./controllers/region.js":13,"./controllers/replace-image.js":14,"./controllers/site-icon-cropper.js":15,"./controllers/state-machine.js":16,"./controllers/state.js":17,"./utils/selection-sync.js":18,"./views/attachment-compat.js":20,"./views/attachment-filters.js":21,"./views/attachment-filters/all.js":22,"./views/attachment-filters/date.js":23,"./views/attachment-filters/uploaded.js":24,"./views/attachment.js":25,"./views/attachment/details.js":26,"./views/attachment/edit-library.js":27,"./views/attachment/edit-selection.js":28,"./views/attachment/library.js":29,"./views/attachment/selection.js":30,"./views/attachments.js":31,"./views/attachments/browser.js":32,"./views/attachments/selection.js":33,"./views/button-group.js":34,"./views/button.js":35,"./views/cropper.js":36,"./views/edit-image.js":37,"./views/embed.js":38,"./views/embed/image.js":39,"./views/embed/link.js":40,"./views/embed/url.js":41,"./views/focus-manager.js":42,"./views/frame.js":43,"./views/frame/image-details.js":44,"./views/frame/post.js":45,"./views/frame/select.js":46,"./views/iframe.js":47,"./views/image-details.js":48,"./views/label.js":49,"./views/media-frame.js":50,"./views/menu-item.js":51,"./views/menu.js":52,"./views/modal.js":53,"./views/priority-list.js":54,"./views/router-item.js":55,"./views/router.js":56,"./views/search.js":57,"./views/selection.js":58,"./views/settings.js":59,"./views/settings/attachment-display.js":60,"./views/settings/gallery.js":61,"./views/settings/playlist.js":62,"./views/sidebar.js":63,"./views/site-icon-cropper.js":64,"./views/site-icon-preview.js":65,"./views/spinner.js":66,"./views/toolbar.js":67,"./views/toolbar/embed.js":68,"./views/toolbar/select.js":69,"./views/uploader/editor.js":70,"./views/uploader/inline.js":71,"./views/uploader/status-error.js":72,"./views/uploader/status.js":73,"./views/uploader/window.js":74,"./views/view.js":75}],20:[function(a,b,c){var d,e=wp.media.View;d=e.extend({tagName:"form",className:"compat-item",events:{submit:"preventDefault","change input":"save","change select":"save","change textarea":"save"},initialize:function(){this.listenTo(this.model,"change:compat",this.render)},dispose:function(){return this.$(":focus").length&&this.save(),e.prototype.dispose.apply(this,arguments)},render:function(){var a=this.model.get("compat");if(a&&a.item)return this.views.detach(),this.$el.html(a.item),this.views.render(),this},preventDefault:function(a){a.preventDefault()},save:function(a){var b={};a&&a.preventDefault(),_.each(this.$el.serializeArray(),function(a){b[a.name]=a.value}),this.controller.trigger("attachment:compat:waiting",["waiting"]),this.model.saveCompat(b).always(_.bind(this.postSave,this))},postSave:function(){this.controller.trigger("attachment:compat:ready",["ready"])}}),b.exports=d},{}],21:[function(a,b,c){var d,e=jQuery;d=wp.media.View.extend({tagName:"select",className:"attachment-filters",id:"media-attachment-filters",events:{change:"change"},keys:[],initialize:function(){this.createFilters(),_.extend(this.filters,this.options.filters),this.$el.html(_.chain(this.filters).map(function(a,b){return{el:e("").val(b).html(a.text)[0],priority:a.priority||50}},this).sortBy("priority").pluck("el").value()),this.listenTo(this.model,"change",this.select),this.select()},createFilters:function(){this.filters={}},change:function(){var a=this.filters[this.el.value];a&&this.model.set(a.props)},select:function(){var a=this.model,b="all",c=a.toJSON();_.find(this.filters,function(a,d){var e=_.all(a.props,function(a,b){return a===(_.isUndefined(c[b])?null:c[b])});return e?b=d:void 0}),this.$el.val(b)}}),b.exports=d},{}],22:[function(a,b,c){var d,e=wp.media.view.l10n;d=wp.media.view.AttachmentFilters.extend({createFilters:function(){var a={};_.each(wp.media.view.settings.mimeTypes||{},function(b,c){a[c]={text:b,props:{status:null,type:c,uploadedTo:null,orderby:"date",order:"DESC"}}}),a.all={text:e.allMediaItems,props:{status:null,type:null,uploadedTo:null,orderby:"date",order:"DESC"},priority:10},wp.media.view.settings.post.id&&(a.uploaded={text:e.uploadedToThisPost,props:{status:null,type:null,uploadedTo:wp.media.view.settings.post.id,orderby:"menuOrder",order:"ASC"},priority:20}),a.unattached={text:e.unattached,props:{status:null,uploadedTo:0,type:null,orderby:"menuOrder",order:"ASC"},priority:50},wp.media.view.settings.mediaTrash&&this.controller.isModeActive("grid")&&(a.trash={text:e.trash,props:{uploadedTo:null,status:"trash",type:null,orderby:"date",order:"DESC"},priority:50}),this.filters=a}}),b.exports=d},{}],23:[function(a,b,c){var d,e=wp.media.view.l10n;d=wp.media.view.AttachmentFilters.extend({id:"media-attachment-date-filters",createFilters:function(){var a={};_.each(wp.media.view.settings.months||{},function(b,c){a[c]={text:b.text,props:{year:b.year,monthnum:b.month}}}),a.all={text:e.allDates,props:{monthnum:!1,year:!1},priority:10},this.filters=a}}),b.exports=d},{}],24:[function(a,b,c){var d,e=wp.media.view.l10n;d=wp.media.view.AttachmentFilters.extend({createFilters:function(){var a,b=this.model.get("type"),c=wp.media.view.settings.mimeTypes;c&&b&&(a=c[b]),this.filters={all:{text:a||e.allMediaItems,props:{uploadedTo:null,orderby:"date",order:"DESC"},priority:10},uploaded:{text:e.uploadedToThisPost,props:{uploadedTo:wp.media.view.settings.post.id,orderby:"menuOrder",order:"ASC"},priority:20},unattached:{text:e.unattached,props:{uploadedTo:0,orderby:"menuOrder",order:"ASC"},priority:50}}}}),b.exports=d},{}],25:[function(a,b,c){var d,e=wp.media.View,f=jQuery;d=e.extend({tagName:"li",className:"attachment",template:wp.template("attachment"),attributes:function(){return{tabIndex:0,role:"checkbox","aria-label":this.model.get("title"),"aria-checked":!1,"data-id":this.model.get("id")}},events:{"click .js--select-attachment":"toggleSelectionHandler","change [data-setting]":"updateSetting","change [data-setting] input":"updateSetting","change [data-setting] select":"updateSetting","change [data-setting] textarea":"updateSetting","click .attachment-close":"removeFromLibrary","click .check":"checkClickHandler",keydown:"toggleSelectionHandler"},buttons:{},initialize:function(){var a=this.options.selection,b=_.defaults(this.options,{rerenderOnModelChange:!0});b.rerenderOnModelChange?this.listenTo(this.model,"change",this.render):this.listenTo(this.model,"change:percent",this.progress),this.listenTo(this.model,"change:title",this._syncTitle),this.listenTo(this.model,"change:caption",this._syncCaption),this.listenTo(this.model,"change:artist",this._syncArtist),this.listenTo(this.model,"change:album",this._syncAlbum),this.listenTo(this.model,"add",this.select),this.listenTo(this.model,"remove",this.deselect),a&&(a.on("reset",this.updateSelect,this),this.listenTo(this.model,"selection:single selection:unsingle",this.details),this.details(this.model,this.controller.state().get("selection"))),this.listenTo(this.controller,"attachment:compat:waiting attachment:compat:ready",this.updateSave)},dispose:function(){var a=this.options.selection;return this.updateAll(),a&&a.off(null,null,this), +!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g'+d+"
                ")[0],priority:-40})),a.toolbar.set("reverse",{text:f.reverseOrder,priority:80,click:function(){b.reset(b.toArray().reverse())}}))}}),b.exports=d},{}],3:[function(a,b,c){var d,e=wp.media.view.l10n;d=wp.media.controller.State.extend({defaults:{id:"cropper",title:e.cropImage,toolbar:"crop",content:"crop",router:!1,canSkipCrop:!1},activate:function(){this.frame.on("content:create:crop",this.createCropContent,this),this.frame.on("close",this.removeCropper,this),this.set("selection",new Backbone.Collection(this.frame._selection.single))},deactivate:function(){this.frame.toolbar.mode("browse")},createCropContent:function(){this.cropperView=new wp.media.view.Cropper({controller:this,attachment:this.get("selection").first()}),this.cropperView.on("image-loaded",this.createCropToolbar,this),this.frame.content.set(this.cropperView)},removeCropper:function(){this.imgSelect.cancelSelection(),this.imgSelect.setOptions({remove:!0}),this.imgSelect.update(),this.cropperView.remove()},createCropToolbar:function(){var a,b;a=this.get("canSkipCrop")||!1,b={controller:this.frame,items:{insert:{style:"primary",text:e.cropImage,priority:80,requires:{library:!1,selection:!1},click:function(){var a,b=this.controller;a=b.state().get("selection").first(),a.set({cropDetails:b.state().imgSelect.getSelection()}),this.$el.text(e.cropping),this.$el.attr("disabled",!0),b.state().doCrop(a).done(function(a){b.trigger("cropped",a),b.close()}).fail(function(){b.trigger("content:error:crop")})}}}},a&&_.extend(b.items,{skip:{style:"secondary",text:e.skipCropping,priority:70,requires:{library:!1,selection:!1},click:function(){var a=this.controller.state().get("selection").first();this.controller.state().cropperView.remove(),this.controller.trigger("skippedcrop",a),this.controller.close()}}}),this.frame.toolbar.set(new wp.media.view.Toolbar(b))},doCrop:function(a){return wp.ajax.post("custom-header-crop",{nonce:a.get("nonces").edit,id:a.get("id"),cropDetails:a.get("cropDetails")})}}),b.exports=d},{}],4:[function(a,b,c){var d,e=wp.media.controller;d=e.Cropper.extend({doCrop:function(a){var b=a.get("cropDetails"),c=this.get("control");return b.dst_width=c.params.width,b.dst_height=c.params.height,wp.ajax.post("crop-image",{wp_customize:"on",nonce:a.get("nonces").edit,id:a.get("id"),context:c.id,cropDetails:b})}}),b.exports=d},{}],5:[function(a,b,c){var d,e=wp.media.view.l10n;d=wp.media.controller.State.extend({defaults:{id:"edit-image",title:e.editImage,menu:!1,toolbar:"edit-image",content:"edit-image",url:""},activate:function(){this.listenTo(this.frame,"toolbar:render:edit-image",this.toolbar)},deactivate:function(){this.stopListening(this.frame)},toolbar:function(){var a=this.frame,b=a.lastState(),c=b&&b.id;a.toolbar.set(new wp.media.view.Toolbar({controller:a,items:{back:{style:"primary",text:e.back,priority:20,click:function(){c?a.setState(c):a.close()}}}}))}}),b.exports=d},{}],6:[function(a,b,c){var d,e=wp.media.view.l10n,f=Backbone.$;d=wp.media.controller.State.extend({defaults:{id:"embed",title:e.insertFromUrlTitle,content:"embed",menu:"default",toolbar:"main-embed",priority:120,type:"link",url:"",metadata:{}},sensitivity:400,initialize:function(a){this.metadata=a.metadata,this.debouncedScan=_.debounce(_.bind(this.scan,this),this.sensitivity),this.props=new Backbone.Model(this.metadata||{url:""}),this.props.on("change:url",this.debouncedScan,this),this.props.on("change:url",this.refresh,this),this.on("scan",this.scanImage,this)},scan:function(){var a,b=this,c={type:"link",scanners:[]};this.props.get("url")&&this.trigger("scan",c),c.scanners.length?(a=c.scanners=f.when.apply(f,c.scanners),a.always(function(){b.get("scanners")===a&&b.set("loading",!1)})):c.scanners=null,c.loading=!!c.scanners,this.set(c)},scanImage:function(a){var b=this.frame,c=this,d=this.props.get("url"),e=new Image,g=f.Deferred();a.scanners.push(g.promise()),e.onload=function(){g.resolve(),c===b.state()&&d===c.props.get("url")&&(c.set({type:"image"}),c.props.set({width:e.width,height:e.height}))},e.onerror=g.reject,e.src=d},refresh:function(){this.frame.toolbar.get().refresh()},reset:function(){this.props.clear().set({url:""}),this.active&&this.refresh()}}),b.exports=d},{}],7:[function(a,b,c){var d,e=wp.media.model.Attachment,f=wp.media.controller.Library,g=wp.media.view.l10n;d=f.extend({defaults:_.defaults({id:"featured-image",title:g.setFeaturedImageTitle,multiple:!1,filterable:"uploaded",toolbar:"featured-image",priority:60,syncSelection:!0},f.prototype.defaults),initialize:function(){var a,b;this.get("library")||this.set("library",wp.media.query({type:"image"})),f.prototype.initialize.apply(this,arguments),a=this.get("library"),b=a.comparator,a.comparator=function(a,c){var d=!!this.mirroring.get(a.cid),e=!!this.mirroring.get(c.cid);return!d&&e?-1:d&&!e?1:b.apply(this,arguments)},a.observe(this.get("selection"))},activate:function(){this.updateSelection(),this.frame.on("open",this.updateSelection,this),f.prototype.activate.apply(this,arguments)},deactivate:function(){this.frame.off("open",this.updateSelection,this),f.prototype.deactivate.apply(this,arguments)},updateSelection:function(){var a,b=this.get("selection"),c=wp.media.view.settings.post.featuredImageId;""!==c&&-1!==c&&(a=e.get(c),a.fetch()),b.reset(a?[a]:[])}}),b.exports=d},{}],8:[function(a,b,c){var d,e=wp.media.model.Selection,f=wp.media.controller.Library,g=wp.media.view.l10n;d=f.extend({defaults:_.defaults({id:"gallery-library",title:g.addToGalleryTitle,multiple:"add",filterable:"uploaded",menu:"gallery",toolbar:"gallery-add",priority:100,syncSelection:!1},f.prototype.defaults),initialize:function(){this.get("library")||this.set("library",wp.media.query({type:"image"})),f.prototype.initialize.apply(this,arguments)},activate:function(){var a=this.get("library"),b=this.frame.state("gallery-edit").get("library");this.editLibrary&&this.editLibrary!==b&&a.unobserve(this.editLibrary),a.validator=function(a){return!!this.mirroring.get(a.cid)&&!b.get(a.cid)&&e.prototype.validator.apply(this,arguments)},a.reset(a.mirroring.models,{silent:!0}),a.observe(b),this.editLibrary=b,f.prototype.activate.apply(this,arguments)}}),b.exports=d},{}],9:[function(a,b,c){var d,e=wp.media.controller.Library,f=wp.media.view.l10n;d=e.extend({defaults:{id:"gallery-edit",title:f.editGalleryTitle,multiple:!1,searchable:!1,sortable:!0,date:!1,display:!1,content:"browse",toolbar:"gallery-edit",describe:!0,displaySettings:!0,dragInfo:!0,idealColumnWidth:170,editing:!1,priority:60,syncSelection:!1},initialize:function(){this.get("library")||this.set("library",new wp.media.model.Selection),this.get("AttachmentView")||this.set("AttachmentView",wp.media.view.Attachment.EditLibrary),e.prototype.initialize.apply(this,arguments)},activate:function(){var a=this.get("library");a.props.set("type","image"),this.get("library").observe(wp.Uploader.queue),this.frame.on("content:render:browse",this.gallerySettings,this),e.prototype.activate.apply(this,arguments)},deactivate:function(){this.get("library").unobserve(wp.Uploader.queue),this.frame.off("content:render:browse",this.gallerySettings,this),e.prototype.deactivate.apply(this,arguments)},gallerySettings:function(a){if(this.get("displaySettings")){var b=this.get("library");b&&a&&(b.gallery=b.gallery||new Backbone.Model,a.sidebar.set({gallery:new wp.media.view.Settings.Gallery({controller:this,model:b.gallery,priority:40})}),a.toolbar.set("reverse",{text:f.reverseOrder,priority:80,click:function(){b.reset(b.toArray().reverse())}}))}}}),b.exports=d},{}],10:[function(a,b,c){var d,e=wp.media.controller.State,f=wp.media.controller.Library,g=wp.media.view.l10n;d=e.extend({defaults:_.defaults({id:"image-details",title:g.imageDetailsTitle,content:"image-details",menu:!1,router:!1,toolbar:"image-details",editing:!1,priority:60},f.prototype.defaults),initialize:function(a){this.image=a.image,e.prototype.initialize.apply(this,arguments)},activate:function(){this.frame.modal.$el.addClass("image-details")}}),b.exports=d},{}],11:[function(a,b,c){var d,e=wp.media.view.l10n,f=window.getUserSetting,g=window.setUserSetting;d=wp.media.controller.State.extend({defaults:{id:"library",title:e.mediaLibraryTitle,multiple:!1,content:"upload",menu:"default",router:"browse",toolbar:"select",searchable:!0,filterable:!1,sortable:!0,autoSelect:!0,describe:!1,contentUserSetting:!0,syncSelection:!0},initialize:function(){var a,b=this.get("selection");this.get("library")||this.set("library",wp.media.query()),b instanceof wp.media.model.Selection||(a=b,a||(a=this.get("library").props.toJSON(),a=_.omit(a,"orderby","query")),this.set("selection",new wp.media.model.Selection(null,{multiple:this.get("multiple"),props:a}))),this.resetDisplays()},activate:function(){this.syncSelection(),wp.Uploader.queue.on("add",this.uploading,this),this.get("selection").on("add remove reset",this.refreshContent,this),this.get("router")&&this.get("contentUserSetting")&&(this.frame.on("content:activate",this.saveContentMode,this),this.set("content",f("libraryContent",this.get("content"))))},deactivate:function(){this.recordSelection(),this.frame.off("content:activate",this.saveContentMode,this),this.get("selection").off(null,null,this),wp.Uploader.queue.off(null,null,this)},reset:function(){this.get("selection").reset(),this.resetDisplays(),this.refreshContent()},resetDisplays:function(){var a=wp.media.view.settings.defaultProps;this._displays=[],this._defaultDisplaySettings={align:f("align",a.align)||"none",size:f("imgsize",a.size)||"medium",link:f("urlbutton",a.link)||"none"}},display:function(a){var b=this._displays;return b[a.cid]||(b[a.cid]=new Backbone.Model(this.defaultDisplaySettings(a))),b[a.cid]},defaultDisplaySettings:function(a){var b=this._defaultDisplaySettings;return(b.canEmbed=this.canEmbed(a))&&(b.link="embed"),b},canEmbed:function(a){if(!a.get("uploading")){var b=a.get("type");if("audio"!==b&&"video"!==b)return!1}return _.contains(wp.media.view.settings.embedExts,a.get("filename").split(".").pop())},refreshContent:function(){var a=this.get("selection"),b=this.frame,c=b.router.get(),d=b.content.mode();this.active&&!a.length&&c&&!c.get(d)&&this.frame.content.render(this.get("content"))},uploading:function(a){var b=this.frame.content;"upload"===b.mode()&&this.frame.content.mode("browse"),this.get("autoSelect")&&(this.get("selection").add(a),this.frame.trigger("library:selection:add"))},saveContentMode:function(){if("browse"===this.get("router")){var a=this.frame.content.mode(),b=this.frame.router.get();b&&b.get(a)&&g("libraryContent",a)}}}),_.extend(d.prototype,wp.media.selectionSync),b.exports=d},{}],12:[function(a,b,c){var d,e=wp.media.controller.Library;d=e.extend({defaults:_.defaults({filterable:"uploaded",displaySettings:!1,priority:80,syncSelection:!1},e.prototype.defaults),initialize:function(a){this.media=a.media,this.type=a.type,this.set("library",wp.media.query({type:this.type})),e.prototype.initialize.apply(this,arguments)},activate:function(){wp.media.frame.lastMime&&(this.set("library",wp.media.query({type:wp.media.frame.lastMime})),delete wp.media.frame.lastMime),e.prototype.activate.apply(this,arguments)}}),b.exports=d},{}],13:[function(a,b,c){var d=function(a){_.extend(this,_.pick(a||{},"id","view","selector"))};d.extend=Backbone.Model.extend,_.extend(d.prototype,{mode:function(a){return a?a===this._mode?this:(this.trigger("deactivate"),this._mode=a,this.render(a),this.trigger("activate"),this):this._mode},render:function(a){if(a&&a!==this._mode)return this.mode(a);var b,c={view:null};return this.trigger("create",c),b=c.view,this.trigger("render",b),b&&this.set(b),this},get:function(){return this.view.views.first(this.selector)},set:function(a,b){return b&&(b.add=!1),this.view.views.set(this.selector,a,b)},trigger:function(a){var b,c;if(this._mode)return c=_.toArray(arguments),b=this.id+":"+a,c[0]=b+":"+this._mode,this.view.trigger.apply(this.view,c),c[0]=b,this.view.trigger.apply(this.view,c),this}}),b.exports=d},{}],14:[function(a,b,c){var d,e=wp.media.controller.Library,f=wp.media.view.l10n;d=e.extend({defaults:_.defaults({id:"replace-image",title:f.replaceImageTitle,multiple:!1,filterable:"uploaded",toolbar:"replace",menu:!1,priority:60,syncSelection:!0},e.prototype.defaults),initialize:function(a){var b,c;this.image=a.image,this.get("library")||this.set("library",wp.media.query({type:"image"})),e.prototype.initialize.apply(this,arguments),b=this.get("library"),c=b.comparator,b.comparator=function(a,b){var d=!!this.mirroring.get(a.cid),e=!!this.mirroring.get(b.cid);return!d&&e?-1:d&&!e?1:c.apply(this,arguments)},b.observe(this.get("selection"))},activate:function(){this.updateSelection(),e.prototype.activate.apply(this,arguments)},updateSelection:function(){var a=this.get("selection"),b=this.image.attachment;a.reset(b?[b]:[])}}),b.exports=d},{}],15:[function(a,b,c){var d,e=wp.media.controller;d=e.Cropper.extend({activate:function(){this.frame.on("content:create:crop",this.createCropContent,this),this.frame.on("close",this.removeCropper,this),this.set("selection",new Backbone.Collection(this.frame._selection.single))},createCropContent:function(){this.cropperView=new wp.media.view.SiteIconCropper({controller:this,attachment:this.get("selection").first()}),this.cropperView.on("image-loaded",this.createCropToolbar,this),this.frame.content.set(this.cropperView)},doCrop:function(a){var b=a.get("cropDetails"),c=this.get("control");return b.dst_width=c.params.width,b.dst_height=c.params.height,wp.ajax.post("crop-image",{nonce:a.get("nonces").edit,id:a.get("id"),context:"site-icon",cropDetails:b})}}),b.exports=d},{}],16:[function(a,b,c){var d=function(a){this.states=new Backbone.Collection(a)};d.extend=Backbone.Model.extend,_.extend(d.prototype,Backbone.Events,{state:function(a){return this.states=this.states||new Backbone.Collection,a=a||this._state,a&&!this.states.get(a)&&this.states.add({id:a}),this.states.get(a)},setState:function(a){var b=this.state();return b&&a===b.id||!this.states||!this.states.get(a)?this:(b&&(b.trigger("deactivate"),this._lastState=b.id),this._state=a,this.state().trigger("activate"),this)},lastState:function(){return this._lastState?this.state(this._lastState):void 0}}),_.each(["on","off","trigger"],function(a){d.prototype[a]=function(){return this.states=this.states||new Backbone.Collection,this.states[a].apply(this.states,arguments),this}}),b.exports=d},{}],17:[function(a,b,c){var d=Backbone.Model.extend({constructor:function(){this.on("activate",this._preActivate,this),this.on("activate",this.activate,this),this.on("activate",this._postActivate,this),this.on("deactivate",this._deactivate,this),this.on("deactivate",this.deactivate,this),this.on("reset",this.reset,this),this.on("ready",this._ready,this),this.on("ready",this.ready,this),Backbone.Model.apply(this,arguments),this.on("change:menu",this._updateMenu,this)},ready:function(){},activate:function(){},deactivate:function(){},reset:function(){},_ready:function(){this._updateMenu()},_preActivate:function(){this.active=!0},_postActivate:function(){this.on("change:menu",this._menu,this),this.on("change:titleMode",this._title,this),this.on("change:content",this._content,this),this.on("change:toolbar",this._toolbar,this),this.frame.on("title:render:default",this._renderTitle,this),this._title(),this._menu(),this._toolbar(),this._content(),this._router()},_deactivate:function(){this.active=!1,this.frame.off("title:render:default",this._renderTitle,this),this.off("change:menu",this._menu,this),this.off("change:titleMode",this._title,this),this.off("change:content",this._content,this),this.off("change:toolbar",this._toolbar,this)},_title:function(){this.frame.title.render(this.get("titleMode")||"default")},_renderTitle:function(a){a.$el.text(this.get("title")||"")},_router:function(){var a,b=this.frame.router,c=this.get("router");this.frame.$el.toggleClass("hide-router",!c),c&&(this.frame.router.render(c),a=b.get(),a&&a.select&&a.select(this.frame.content.mode()))},_menu:function(){var a,b=this.frame.menu,c=this.get("menu");this.frame.$el.toggleClass("hide-menu",!c),c&&(b.mode(c),a=b.get(),a&&a.select&&a.select(this.id))},_updateMenu:function(){var a=this.previous("menu"),b=this.get("menu");a&&this.frame.off("menu:render:"+a,this._renderMenu,this),b&&this.frame.on("menu:render:"+b,this._renderMenu,this)},_renderMenu:function(a){var b=this.get("menuItem"),c=this.get("title"),d=this.get("priority");!b&&c&&(b={text:c},d&&(b.priority=d)),b&&a.set(this.id,b)}});_.each(["toolbar","content"],function(a){d.prototype["_"+a]=function(){var b=this.get(a);b&&this.frame[a].render(b)}}),b.exports=d},{}],18:[function(a,b,c){var d={syncSelection:function(){var a=this.get("selection"),b=this.frame._selection;this.get("syncSelection")&&b&&a&&(a.multiple&&(a.reset([],{silent:!0}),a.validateAll(b.attachments),b.difference=_.difference(b.attachments.models,a.models)),a.single(b.single))},recordSelection:function(){var a=this.get("selection"),b=this.frame._selection;this.get("syncSelection")&&b&&a&&(a.multiple?(b.attachments.reset(a.toArray().concat(b.difference)),b.difference=[]):b.attachments.add(a.toArray()),b.single=a._single)}};b.exports=d},{}],19:[function(a,b,c){var d,e=wp.media,f=jQuery;e.isTouchDevice="ontouchend"in document,d=e.view.l10n=window._wpMediaViewsL10n||{},e.view.settings=d.settings||{},delete d.settings,e.model.settings.post=e.view.settings.post,f.support.transition=function(){var a,b=document.documentElement.style,c={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};return a=_.find(_.keys(c),function(a){return!_.isUndefined(b[a])}),a&&{end:c[a]}}(),e.events=_.extend({},Backbone.Events),e.transition=function(a,b){var c=f.Deferred();return b=b||2e3,f.support.transition?(a instanceof f||(a=f(a)),a.first().one(f.support.transition.end,c.resolve),_.delay(c.resolve,b)):c.resolve(),c.promise()},e.controller.Region=a("./controllers/region.js"),e.controller.StateMachine=a("./controllers/state-machine.js"),e.controller.State=a("./controllers/state.js"),e.selectionSync=a("./utils/selection-sync.js"),e.controller.Library=a("./controllers/library.js"),e.controller.ImageDetails=a("./controllers/image-details.js"),e.controller.GalleryEdit=a("./controllers/gallery-edit.js"),e.controller.GalleryAdd=a("./controllers/gallery-add.js"),e.controller.CollectionEdit=a("./controllers/collection-edit.js"),e.controller.CollectionAdd=a("./controllers/collection-add.js"),e.controller.FeaturedImage=a("./controllers/featured-image.js"),e.controller.ReplaceImage=a("./controllers/replace-image.js"),e.controller.EditImage=a("./controllers/edit-image.js"),e.controller.MediaLibrary=a("./controllers/media-library.js"),e.controller.Embed=a("./controllers/embed.js"),e.controller.Cropper=a("./controllers/cropper.js"),e.controller.CustomizeImageCropper=a("./controllers/customize-image-cropper.js"),e.controller.SiteIconCropper=a("./controllers/site-icon-cropper.js"),e.View=a("./views/view.js"),e.view.Frame=a("./views/frame.js"),e.view.MediaFrame=a("./views/media-frame.js"),e.view.MediaFrame.Select=a("./views/frame/select.js"),e.view.MediaFrame.Post=a("./views/frame/post.js"),e.view.MediaFrame.ImageDetails=a("./views/frame/image-details.js"),e.view.Modal=a("./views/modal.js"),e.view.FocusManager=a("./views/focus-manager.js"),e.view.UploaderWindow=a("./views/uploader/window.js"),e.view.EditorUploader=a("./views/uploader/editor.js"),e.view.UploaderInline=a("./views/uploader/inline.js"),e.view.UploaderStatus=a("./views/uploader/status.js"),e.view.UploaderStatusError=a("./views/uploader/status-error.js"),e.view.Toolbar=a("./views/toolbar.js"),e.view.Toolbar.Select=a("./views/toolbar/select.js"),e.view.Toolbar.Embed=a("./views/toolbar/embed.js"),e.view.Button=a("./views/button.js"),e.view.ButtonGroup=a("./views/button-group.js"),e.view.PriorityList=a("./views/priority-list.js"),e.view.MenuItem=a("./views/menu-item.js"),e.view.Menu=a("./views/menu.js"),e.view.RouterItem=a("./views/router-item.js"),e.view.Router=a("./views/router.js"),e.view.Sidebar=a("./views/sidebar.js"),e.view.Attachment=a("./views/attachment.js"),e.view.Attachment.Library=a("./views/attachment/library.js"),e.view.Attachment.EditLibrary=a("./views/attachment/edit-library.js"),e.view.Attachments=a("./views/attachments.js"),e.view.Search=a("./views/search.js"),e.view.AttachmentFilters=a("./views/attachment-filters.js"),e.view.DateFilter=a("./views/attachment-filters/date.js"),e.view.AttachmentFilters.Uploaded=a("./views/attachment-filters/uploaded.js"),e.view.AttachmentFilters.All=a("./views/attachment-filters/all.js"),e.view.AttachmentsBrowser=a("./views/attachments/browser.js"),e.view.Selection=a("./views/selection.js"),e.view.Attachment.Selection=a("./views/attachment/selection.js"),e.view.Attachments.Selection=a("./views/attachments/selection.js"),e.view.Attachment.EditSelection=a("./views/attachment/edit-selection.js"),e.view.Settings=a("./views/settings.js"),e.view.Settings.AttachmentDisplay=a("./views/settings/attachment-display.js"),e.view.Settings.Gallery=a("./views/settings/gallery.js"),e.view.Settings.Playlist=a("./views/settings/playlist.js"),e.view.Attachment.Details=a("./views/attachment/details.js"),e.view.AttachmentCompat=a("./views/attachment-compat.js"),e.view.Iframe=a("./views/iframe.js"),e.view.Embed=a("./views/embed.js"),e.view.Label=a("./views/label.js"),e.view.EmbedUrl=a("./views/embed/url.js"),e.view.EmbedLink=a("./views/embed/link.js"),e.view.EmbedImage=a("./views/embed/image.js"),e.view.ImageDetails=a("./views/image-details.js"),e.view.Cropper=a("./views/cropper.js"),e.view.SiteIconCropper=a("./views/site-icon-cropper.js"),e.view.SiteIconPreview=a("./views/site-icon-preview.js"),e.view.EditImage=a("./views/edit-image.js"),e.view.Spinner=a("./views/spinner.js")},{"./controllers/collection-add.js":1,"./controllers/collection-edit.js":2,"./controllers/cropper.js":3,"./controllers/customize-image-cropper.js":4,"./controllers/edit-image.js":5,"./controllers/embed.js":6,"./controllers/featured-image.js":7,"./controllers/gallery-add.js":8,"./controllers/gallery-edit.js":9,"./controllers/image-details.js":10,"./controllers/library.js":11,"./controllers/media-library.js":12,"./controllers/region.js":13,"./controllers/replace-image.js":14,"./controllers/site-icon-cropper.js":15,"./controllers/state-machine.js":16,"./controllers/state.js":17,"./utils/selection-sync.js":18,"./views/attachment-compat.js":20,"./views/attachment-filters.js":21,"./views/attachment-filters/all.js":22,"./views/attachment-filters/date.js":23,"./views/attachment-filters/uploaded.js":24,"./views/attachment.js":25,"./views/attachment/details.js":26,"./views/attachment/edit-library.js":27,"./views/attachment/edit-selection.js":28,"./views/attachment/library.js":29,"./views/attachment/selection.js":30,"./views/attachments.js":31,"./views/attachments/browser.js":32,"./views/attachments/selection.js":33,"./views/button-group.js":34,"./views/button.js":35,"./views/cropper.js":36,"./views/edit-image.js":37,"./views/embed.js":38,"./views/embed/image.js":39,"./views/embed/link.js":40,"./views/embed/url.js":41,"./views/focus-manager.js":42,"./views/frame.js":43,"./views/frame/image-details.js":44,"./views/frame/post.js":45,"./views/frame/select.js":46,"./views/iframe.js":47,"./views/image-details.js":48,"./views/label.js":49,"./views/media-frame.js":50,"./views/menu-item.js":51,"./views/menu.js":52,"./views/modal.js":53,"./views/priority-list.js":54,"./views/router-item.js":55,"./views/router.js":56,"./views/search.js":57,"./views/selection.js":58,"./views/settings.js":59,"./views/settings/attachment-display.js":60,"./views/settings/gallery.js":61,"./views/settings/playlist.js":62,"./views/sidebar.js":63,"./views/site-icon-cropper.js":64,"./views/site-icon-preview.js":65,"./views/spinner.js":66,"./views/toolbar.js":67,"./views/toolbar/embed.js":68,"./views/toolbar/select.js":69,"./views/uploader/editor.js":70,"./views/uploader/inline.js":71,"./views/uploader/status-error.js":72,"./views/uploader/status.js":73,"./views/uploader/window.js":74,"./views/view.js":75}],20:[function(a,b,c){var d,e=wp.media.View;d=e.extend({tagName:"form",className:"compat-item",events:{submit:"preventDefault","change input":"save","change select":"save","change textarea":"save"},initialize:function(){this.listenTo(this.model,"change:compat",this.render)},dispose:function(){return this.$(":focus").length&&this.save(),e.prototype.dispose.apply(this,arguments)},render:function(){var a=this.model.get("compat");if(a&&a.item)return this.views.detach(),this.$el.html(a.item),this.views.render(),this},preventDefault:function(a){a.preventDefault()},save:function(a){var b={};a&&a.preventDefault(),_.each(this.$el.serializeArray(),function(a){b[a.name]=a.value}),this.controller.trigger("attachment:compat:waiting",["waiting"]),this.model.saveCompat(b).always(_.bind(this.postSave,this))},postSave:function(){this.controller.trigger("attachment:compat:ready",["ready"])}}),b.exports=d},{}],21:[function(a,b,c){var d,e=jQuery;d=wp.media.View.extend({tagName:"select",className:"attachment-filters",id:"media-attachment-filters",events:{change:"change"},keys:[],initialize:function(){this.createFilters(),_.extend(this.filters,this.options.filters),this.$el.html(_.chain(this.filters).map(function(a,b){return{el:e("").val(b).html(a.text)[0],priority:a.priority||50}},this).sortBy("priority").pluck("el").value()),this.listenTo(this.model,"change",this.select),this.select()},createFilters:function(){this.filters={}},change:function(){var a=this.filters[this.el.value];a&&this.model.set(a.props)},select:function(){var a=this.model,b="all",c=a.toJSON();_.find(this.filters,function(a,d){var e=_.all(a.props,function(a,b){return a===(_.isUndefined(c[b])?null:c[b])});return e?b=d:void 0}),this.$el.val(b)}}),b.exports=d},{}],22:[function(a,b,c){var d,e=wp.media.view.l10n;d=wp.media.view.AttachmentFilters.extend({createFilters:function(){var a={};_.each(wp.media.view.settings.mimeTypes||{},function(b,c){a[c]={text:b,props:{status:null,type:c,uploadedTo:null,orderby:"date",order:"DESC"}}}),a.all={text:e.allMediaItems,props:{status:null,type:null,uploadedTo:null,orderby:"date",order:"DESC"},priority:10},wp.media.view.settings.post.id&&(a.uploaded={text:e.uploadedToThisPost,props:{status:null,type:null,uploadedTo:wp.media.view.settings.post.id,orderby:"menuOrder",order:"ASC"},priority:20}),a.unattached={text:e.unattached,props:{status:null,uploadedTo:0,type:null,orderby:"menuOrder",order:"ASC"},priority:50},wp.media.view.settings.mediaTrash&&this.controller.isModeActive("grid")&&(a.trash={text:e.trash,props:{uploadedTo:null,status:"trash",type:null,orderby:"date",order:"DESC"},priority:50}),this.filters=a}}),b.exports=d},{}],23:[function(a,b,c){var d,e=wp.media.view.l10n;d=wp.media.view.AttachmentFilters.extend({id:"media-attachment-date-filters",createFilters:function(){var a={};_.each(wp.media.view.settings.months||{},function(b,c){a[c]={text:b.text,props:{year:b.year,monthnum:b.month}}}),a.all={text:e.allDates,props:{monthnum:!1,year:!1},priority:10},this.filters=a}}),b.exports=d},{}],24:[function(a,b,c){var d,e=wp.media.view.l10n;d=wp.media.view.AttachmentFilters.extend({createFilters:function(){var a,b=this.model.get("type"),c=wp.media.view.settings.mimeTypes;c&&b&&(a=c[b]),this.filters={all:{text:a||e.allMediaItems,props:{uploadedTo:null,orderby:"date",order:"DESC"},priority:10},uploaded:{text:e.uploadedToThisPost,props:{uploadedTo:wp.media.view.settings.post.id,orderby:"menuOrder",order:"ASC"},priority:20},unattached:{text:e.unattached,props:{uploadedTo:0,orderby:"menuOrder",order:"ASC"},priority:50}}}}),b.exports=d},{}],25:[function(a,b,c){var d,e=wp.media.View,f=jQuery;d=e.extend({tagName:"li",className:"attachment",template:wp.template("attachment"),attributes:function(){return{tabIndex:0,role:"checkbox","aria-label":this.model.get("title"),"aria-checked":!1,"data-id":this.model.get("id")}},events:{"click .js--select-attachment":"toggleSelectionHandler","change [data-setting]":"updateSetting","change [data-setting] input":"updateSetting","change [data-setting] select":"updateSetting","change [data-setting] textarea":"updateSetting","click .attachment-close":"removeFromLibrary","click .check":"checkClickHandler",keydown:"toggleSelectionHandler"},buttons:{},initialize:function(){var a=this.options.selection,b=_.defaults(this.options,{rerenderOnModelChange:!0});b.rerenderOnModelChange?this.listenTo(this.model,"change",this.render):this.listenTo(this.model,"change:percent",this.progress),this.listenTo(this.model,"change:title",this._syncTitle),this.listenTo(this.model,"change:caption",this._syncCaption),this.listenTo(this.model,"change:artist",this._syncArtist),this.listenTo(this.model,"change:album",this._syncAlbum),this.listenTo(this.model,"add",this.select),this.listenTo(this.model,"remove",this.deselect),a&&(a.on("reset",this.updateSelect,this),this.listenTo(this.model,"selection:single selection:unsingle",this.details),this.details(this.model,this.controller.state().get("selection"))),this.listenTo(this.controller,"attachment:compat:waiting attachment:compat:ready",this.updateSave)},dispose:function(){var a=this.options.selection;return this.updateAll(),a&&a.off(null,null,this), e.prototype.dispose.apply(this,arguments),this},render:function(){var a=_.defaults(this.model.toJSON(),{orientation:"landscape",uploading:!1,type:"",subtype:"",icon:"",filename:"",caption:"",title:"",dateFormatted:"",width:"",height:"",compat:!1,alt:"",description:""},this.options);return a.buttons=this.buttons,a.describe=this.controller.state().get("describe"),"image"===a.type&&(a.size=this.imageSize()),a.can={},a.nonces&&(a.can.remove=!!a.nonces["delete"],a.can.save=!!a.nonces.update),this.controller.state().get("allowLocalEdits")&&(a.allowLocalEdits=!0),a.uploading&&!a.percent&&(a.percent=0),this.views.detach(),this.$el.html(this.template(a)),this.$el.toggleClass("uploading",a.uploading),a.uploading?this.$bar=this.$(".media-progress-bar div"):delete this.$bar,this.updateSelect(),this.updateSave(),this.views.render(),this},progress:function(){this.$bar&&this.$bar.length&&this.$bar.width(this.model.get("percent")+"%")},toggleSelectionHandler:function(a){var b;if("INPUT"!==a.target.nodeName&&"BUTTON"!==a.target.nodeName){if(37===a.keyCode||38===a.keyCode||39===a.keyCode||40===a.keyCode)return void this.controller.trigger("attachment:keydown:arrow",a);if("keydown"!==a.type||13===a.keyCode||32===a.keyCode){if(a.preventDefault(),this.controller.isModeActive("grid")){if(this.controller.isModeActive("edit"))return void this.controller.trigger("edit:attachment",this.model,a.currentTarget);this.controller.isModeActive("select")&&(b="toggle")}a.shiftKey?b="between":(a.ctrlKey||a.metaKey)&&(b="toggle"),this.toggleSelection({method:b}),this.controller.trigger("selection:toggle")}}},toggleSelection:function(a){var b,c,d,e,f=this.collection,g=this.options.selection,h=this.model,i=a&&a.method;if(g){if(b=g.single(),i=_.isUndefined(i)?g.multiple:i,"between"===i&&b&&g.multiple){if(b===h)return;return d=f.indexOf(b),e=f.indexOf(this.model),c=e>d?f.models.slice(d,e+1):f.models.slice(e,d+1),g.add(c),void g.single(h)}if("toggle"===i)return g[this.selected()?"remove":"add"](h),void g.single(h);if("add"===i)return g.add(h),void g.single(h);i||(i="add"),"add"!==i&&(i="reset"),this.selected()?g[b===h?"remove":"single"](h):(g[i](h),g.single(h))}},updateSelect:function(){this[this.selected()?"select":"deselect"]()},selected:function(){var a=this.options.selection;return a?!!a.get(this.model.cid):void 0},select:function(a,b){var c=this.options.selection,d=this.controller;!c||b&&b!==c||this.$el.hasClass("selected")||(this.$el.addClass("selected").attr("aria-checked",!0),d.isModeActive("grid")&&d.isModeActive("select")||this.$(".check").attr("tabindex","0"))},deselect:function(a,b){var c=this.options.selection;!c||b&&b!==c||this.$el.removeClass("selected").attr("aria-checked",!1).find(".check").attr("tabindex","-1")},details:function(a,b){var c,d=this.options.selection;d===b&&(c=d.single(),this.$el.toggleClass("details",c===this.model))},imageSize:function(a){var b=this.model.get("sizes"),c=!1;return a=a||"medium",b&&(b[a]?c=b[a]:b.large?c=b.large:b.thumbnail?c=b.thumbnail:b.full&&(c=b.full),c)?_.clone(c):{url:this.model.get("url"),width:this.model.get("width"),height:this.model.get("height"),orientation:this.model.get("orientation")}},updateSetting:function(a){var b,c,d=f(a.target).closest("[data-setting]");d.length&&(b=d.data("setting"),c=a.target.value,this.model.get(b)!==c&&this.save(b,c))},save:function(){var a=this,b=this._save=this._save||{status:"ready"},c=this.model.save.apply(this.model,arguments),d=b.requests?f.when(c,b.requests):c;b.savedTimer&&clearTimeout(b.savedTimer),this.updateSave("waiting"),b.requests=d,d.always(function(){b.requests===d&&(a.updateSave("resolved"===d.state()?"complete":"error"),b.savedTimer=setTimeout(function(){a.updateSave("ready"),delete b.savedTimer},2e3))})},updateSave:function(a){var b=this._save=this._save||{status:"ready"};return a&&a!==b.status&&(this.$el.removeClass("save-"+b.status),b.status=a),this.$el.addClass("save-"+b.status),this},updateAll:function(){var a,b=this.$("[data-setting]"),c=this.model;a=_.chain(b).map(function(a){var b,d,e=f("input, textarea, select, [value]",a);if(e.length)return b=f(a).data("setting"),d=e.val(),c.get(b)!==d?[b,d]:void 0}).compact().object().value(),_.isEmpty(a)||c.save(a)},removeFromLibrary:function(a){("keydown"!==a.type||13===a.keyCode||32===a.keyCode)&&(a.stopPropagation(),this.collection.remove(this.model))},checkClickHandler:function(a){var b=this.options.selection;b&&(a.stopPropagation(),b.where({id:this.model.get("id")}).length?(b.remove(this.model),this.$el.focus()):b.add(this.model))}}),_.each({caption:"_syncCaption",title:"_syncTitle",artist:"_syncArtist",album:"_syncAlbum"},function(a,b){d.prototype[a]=function(a,c){var d=this.$('[data-setting="'+b+'"]');return d.length?c===d.find("input, textarea, select, [value]").val()?this:this.render():this}}),b.exports=d},{}],26:[function(a,b,c){var d,e=wp.media.view.Attachment,f=wp.media.view.l10n;d=e.extend({tagName:"div",className:"attachment-details",template:wp.template("attachment-details"),attributes:function(){return{tabIndex:0,"data-id":this.model.get("id")}},events:{"change [data-setting]":"updateSetting","change [data-setting] input":"updateSetting","change [data-setting] select":"updateSetting","change [data-setting] textarea":"updateSetting","click .delete-attachment":"deleteAttachment","click .trash-attachment":"trashAttachment","click .untrash-attachment":"untrashAttachment","click .edit-attachment":"editAttachment",keydown:"toggleSelectionHandler"},initialize:function(){this.options=_.defaults(this.options,{rerenderOnModelChange:!1}),this.on("ready",this.initialFocus),e.prototype.initialize.apply(this,arguments)},initialFocus:function(){wp.media.isTouchDevice||this.$('input[type="text"]').eq(0).focus()},deleteAttachment:function(a){a.preventDefault(),window.confirm(f.warnDelete)&&(this.model.destroy(),this.controller.modal.focusManager.focus())},trashAttachment:function(a){var b=this.controller.library;a.preventDefault(),wp.media.view.settings.mediaTrash&&"edit-metadata"===this.controller.content.mode()?(this.model.set("status","trash"),this.model.save().done(function(){b._requery(!0)})):this.model.destroy()},untrashAttachment:function(a){var b=this.controller.library;a.preventDefault(),this.model.set("status","inherit"),this.model.save().done(function(){b._requery(!0)})},editAttachment:function(a){var b=this.controller.states.get("edit-image");window.imageEdit&&b?(a.preventDefault(),b.set("image",this.model),this.controller.setState("edit-image")):this.$el.addClass("needs-refresh")},toggleSelectionHandler:function(a){return"keydown"===a.type&&9===a.keyCode&&a.shiftKey&&a.target===this.$(":tabbable").get(0)?(this.controller.trigger("attachment:details:shift-tab",a),!1):37===a.keyCode||38===a.keyCode||39===a.keyCode||40===a.keyCode?void this.controller.trigger("attachment:keydown:arrow",a):void 0}}),b.exports=d},{}],27:[function(a,b,c){var d=wp.media.view.Attachment.extend({buttons:{close:!0}});b.exports=d},{}],28:[function(a,b,c){var d=wp.media.view.Attachment.Selection.extend({buttons:{close:!0}});b.exports=d},{}],29:[function(a,b,c){var d=wp.media.view.Attachment.extend({buttons:{check:!0}});b.exports=d},{}],30:[function(a,b,c){var d=wp.media.view.Attachment.extend({className:"attachment selection",toggleSelection:function(){this.options.selection.single(this.model)}});b.exports=d},{}],31:[function(a,b,c){var d,e=wp.media.View,f=jQuery;d=e.extend({tagName:"ul",className:"attachments",attributes:{tabIndex:-1},initialize:function(){this.el.id=_.uniqueId("__attachments-view-"),_.defaults(this.options,{refreshSensitivity:wp.media.isTouchDevice?300:200,refreshThreshold:3,AttachmentView:wp.media.view.Attachment,sortable:!1,resize:!0,idealColumnWidth:f(window).width()<640?135:150}),this._viewsByCid={},this.$window=f(window),this.resizeEvent="resize.media-modal-columns",this.collection.on("add",function(a){this.views.add(this.createAttachmentView(a),{at:this.collection.indexOf(a)})},this),this.collection.on("remove",function(a){var b=this._viewsByCid[a.cid];delete this._viewsByCid[a.cid],b&&b.remove()},this),this.collection.on("reset",this.render,this),this.listenTo(this.controller,"library:selection:add",this.attachmentFocus),this.scroll=_.chain(this.scroll).bind(this).throttle(this.options.refreshSensitivity).value(),this.options.scrollElement=this.options.scrollElement||this.el,f(this.options.scrollElement).on("scroll",this.scroll),this.initSortable(),_.bindAll(this,"setColumns"),this.options.resize&&(this.on("ready",this.bindEvents),this.controller.on("open",this.setColumns),_.defer(this.setColumns,this))},bindEvents:function(){this.$window.off(this.resizeEvent).on(this.resizeEvent,_.debounce(this.setColumns,50))},attachmentFocus:function(){this.$("li:first").focus()},restoreFocus:function(){this.$("li.selected:first").focus()},arrowEvent:function(a){var b=this.$el.children("li"),c=this.columns,d=b.filter(":focus").index(),e=c>=d+1?1:Math.ceil((d+1)/c);if(-1!==d){if(37===a.keyCode){if(0===d)return;b.eq(d-1).focus()}if(38===a.keyCode){if(1===e)return;b.eq(d-c).focus()}if(39===a.keyCode){if(b.length===d)return;b.eq(d+1).focus()}if(40===a.keyCode){if(Math.ceil(b.length/c)===e)return;b.eq(d+c).focus()}}},dispose:function(){this.collection.props.off(null,null,this),this.options.resize&&this.$window.off(this.resizeEvent),e.prototype.dispose.apply(this,arguments)},setColumns:function(){var a=this.columns,b=this.$el.width();b&&(this.columns=Math.min(Math.round(b/this.options.idealColumnWidth),12)||1,a&&a===this.columns||this.$el.closest(".media-frame-content").attr("data-columns",this.columns))},initSortable:function(){var a=this.collection;!wp.media.isTouchDevice&&this.options.sortable&&f.fn.sortable&&(this.$el.sortable(_.extend({disabled:!!a.comparator,tolerance:"pointer",start:function(a,b){b.item.data("sortableIndexStart",b.item.index())},update:function(b,c){var d=a.at(c.item.data("sortableIndexStart")),e=a.comparator;delete a.comparator,a.remove(d,{silent:!0}),a.add(d,{silent:!0,at:c.item.index()}),a.comparator=e,a.trigger("reset",a),a.saveMenuOrder()}},this.options.sortable)),a.props.on("change:orderby",function(){this.$el.sortable("option","disabled",!!a.comparator)},this),this.collection.props.on("change:orderby",this.refreshSortable,this),this.refreshSortable())},refreshSortable:function(){if(!wp.media.isTouchDevice&&this.options.sortable&&f.fn.sortable){var a=this.collection,b=a.props.get("orderby"),c="menuOrder"===b||!a.comparator;this.$el.sortable("option","disabled",!c)}},createAttachmentView:function(a){var b=new this.options.AttachmentView({controller:this.controller,model:a,collection:this.collection,selection:this.options.selection});return this._viewsByCid[a.cid]=b},prepare:function(){this.collection.length?this.views.set(this.collection.map(this.createAttachmentView,this)):(this.views.unset(),this.collection.more().done(this.scroll))},ready:function(){this.scroll()},scroll:function(){var a,b=this,c=this.options.scrollElement,d=c.scrollTop;c===document&&(c=document.body,d=f(document).scrollTop()),f(c).is(":visible")&&this.collection.hasMore()&&(a=this.views.parent.toolbar,c.scrollHeight-(d+c.clientHeight)'+g.dragInfo+"
                ")[0],priority:-40})),this.options.suggestedWidth&&this.options.suggestedHeight&&this.toolbar.set("suggestedDimensions",new e({el:h('
                '+g.suggestedDimensions+" "+this.options.suggestedWidth+" × "+this.options.suggestedHeight+"
                ")[0],priority:-40}))},updateContent:function(){var a,b=this;a=this.controller.isModeActive("grid")?b.attachmentsNoResults:b.uploader,this.collection.length?(a.$el.addClass("hidden"),b.toolbar.get("spinner").hide()):(this.toolbar.get("spinner").show(),this.dfd=this.collection.more().done(function(){b.collection.length?a.$el.addClass("hidden"):a.$el.removeClass("hidden"),b.toolbar.get("spinner").hide()}))},createUploader:function(){this.uploader=new wp.media.view.UploaderInline({controller:this.controller,status:!1,message:this.controller.isModeActive("grid")?"":g.noItemsFound,canClose:this.controller.isModeActive("grid")}),this.uploader.hide(),this.views.add(this.uploader)},toggleUploader:function(){this.uploader.$el.hasClass("hidden")?this.uploader.show():this.uploader.hide()},createAttachments:function(){this.attachments=new wp.media.view.Attachments({controller:this.controller,collection:this.collection,selection:this.options.selection,model:this.model,sortable:this.options.sortable,scrollElement:this.options.scrollElement,idealColumnWidth:this.options.idealColumnWidth,AttachmentView:this.options.AttachmentView}),this.attachments.listenTo(this.controller,"attachment:keydown:arrow",this.attachments.arrowEvent),this.attachments.listenTo(this.controller,"attachment:details:shift-tab",this.attachments.restoreFocus),this.views.add(this.attachments),this.controller.isModeActive("grid")&&(this.attachmentsNoResults=new e({controller:this.controller,tagName:"p"}),this.attachmentsNoResults.$el.addClass("hidden no-media"),this.attachmentsNoResults.$el.html(g.noMedia),this.views.add(this.attachmentsNoResults))},createSidebar:function(){var a=this.options,b=a.selection,c=this.sidebar=new wp.media.view.Sidebar({controller:this.controller});this.views.add(c),this.controller.uploader&&c.set("uploads",new wp.media.view.UploaderStatus({controller:this.controller,priority:40})),b.on("selection:single",this.createSingle,this),b.on("selection:unsingle",this.disposeSingle,this),b.single()&&this.createSingle()},createSingle:function(){var a=this.sidebar,b=this.options.selection.single();a.set("details",new wp.media.view.Attachment.Details({controller:this.controller,model:b,priority:80})),a.set("compat",new wp.media.view.AttachmentCompat({controller:this.controller,model:b,priority:120})),this.options.display&&a.set("display",new wp.media.view.Settings.AttachmentDisplay({controller:this.controller,model:this.model.display(b),attachment:b,priority:160,userSettings:this.model.get("displayUserSettings")})),"insert"===this.model.id&&a.$el.addClass("visible")},disposeSingle:function(){var a=this.sidebar;a.unset("details"),a.unset("compat"),a.unset("display"),a.$el.removeClass("visible")}}),b.exports=d},{}],33:[function(a,b,c){var d,e=wp.media.view.Attachments;d=e.extend({events:{},initialize:function(){return _.defaults(this.options,{sortable:!1,resize:!1,AttachmentView:wp.media.view.Attachment.Selection}),e.prototype.initialize.apply(this,arguments)}}),b.exports=d},{}],34:[function(a,b,c){var d,e=Backbone.$;d=wp.media.View.extend({tagName:"div",className:"button-group button-large media-button-group",initialize:function(){this.buttons=_.map(this.options.buttons||[],function(a){return a instanceof Backbone.View?a:new wp.media.view.Button(a).render()}),delete this.options.buttons,this.options.classes&&this.$el.addClass(this.options.classes)},render:function(){return this.$el.html(e(_.pluck(this.buttons,"el")).detach()),this}}),b.exports=d},{}],35:[function(a,b,c){var d=wp.media.View.extend({tagName:"button",className:"media-button",attributes:{type:"button"},events:{click:"click"},defaults:{text:"",style:"",size:"large",disabled:!1},initialize:function(){this.model=new Backbone.Model(this.defaults),_.each(this.defaults,function(a,b){var c=this.options[b];_.isUndefined(c)||(this.model.set(b,c),delete this.options[b])},this),this.listenTo(this.model,"change",this.render)},render:function(){var a=["button",this.className],b=this.model.toJSON();return b.style&&a.push("button-"+b.style),b.size&&a.push("button-"+b.size),a=_.uniq(a.concat(this.options.classes)),this.el.className=a.join(" "),this.$el.attr("disabled",b.disabled),this.$el.text(this.model.get("text")),this},click:function(a){"#"===this.attributes.href&&a.preventDefault(),this.options.click&&!this.model.get("disabled")&&this.options.click.apply(this,arguments)}});b.exports=d},{}],36:[function(a,b,c){var d,e=wp.media.View,f=wp.media.view.UploaderStatus,g=wp.media.view.l10n,h=jQuery;d=e.extend({className:"crop-content",template:wp.template("crop-content"),initialize:function(){_.bindAll(this,"onImageLoad")},ready:function(){this.controller.frame.on("content:error:crop",this.onError,this),this.$image=this.$el.find(".crop-image"),this.$image.on("load",this.onImageLoad),h(window).on("resize.cropper",_.debounce(this.onImageLoad,250))},remove:function(){h(window).off("resize.cropper"),this.$el.remove(),this.$el.off(),e.prototype.remove.apply(this,arguments)},prepare:function(){return{title:g.cropYourImage,url:this.options.attachment.get("url")}},onImageLoad:function(){var a=this.controller.get("imgSelectOptions");"function"==typeof a&&(a=a(this.options.attachment,this.controller)),a=_.extend(a,{parent:this.$el}),this.trigger("image-loaded"),this.controller.imgSelect=this.$image.imgAreaSelect(a)},onError:function(){var a=this.options.attachment.get("filename");this.views.add(".upload-errors",new wp.media.view.UploaderStatusError({filename:f.prototype.filename(a),message:window._wpMediaViewsL10n.cropError}),{at:0})}}),b.exports=d},{}],37:[function(a,b,c){var d,e=wp.media.View;d=e.extend({className:"image-editor",template:wp.template("image-editor"),initialize:function(a){this.editor=window.imageEdit,this.controller=a.controller,e.prototype.initialize.apply(this,arguments)},prepare:function(){return this.model.toJSON()},loadEditor:function(){var a=this.editor.open(this.model.get("id"),this.model.get("nonces").edit,this);a.done(_.bind(this.focus,this))},focus:function(){this.$(".imgedit-submit .button").eq(0).focus()},back:function(){var a=this.controller.lastState();this.controller.setState(a)},refresh:function(){this.model.fetch()},save:function(){var a=this.controller.lastState();this.model.fetch().done(_.bind(function(){this.controller.setState(a)},this))}}),b.exports=d},{}],38:[function(a,b,c){var d=wp.media.View.extend({className:"media-embed",initialize:function(){this.url=new wp.media.view.EmbedUrl({controller:this.controller,model:this.model.props}).render(),this.views.set([this.url]),this.refresh(),this.listenTo(this.model,"change:type",this.refresh),this.listenTo(this.model,"change:loading",this.loading)},settings:function(a){this._settings&&this._settings.remove(),this._settings=a,this.views.add(a)},refresh:function(){var a,b=this.model.get("type");if("image"===b)a=wp.media.view.EmbedImage;else{if("link"!==b)return;a=wp.media.view.EmbedLink}this.settings(new a({controller:this.controller,model:this.model.props,priority:40}))},loading:function(){this.$el.toggleClass("embed-loading",this.model.get("loading"))}});b.exports=d},{}],39:[function(a,b,c){var d,e=wp.media.view.Settings.AttachmentDisplay;d=e.extend({className:"embed-media-settings",template:wp.template("embed-image-settings"),initialize:function(){e.prototype.initialize.apply(this,arguments),this.listenTo(this.model,"change:url",this.updateImage)},updateImage:function(){this.$("img").attr("src",this.model.get("url"))}}),b.exports=d},{}],40:[function(a,b,c){var d,e=jQuery;d=wp.media.view.Settings.extend({className:"embed-link-settings",template:wp.template("embed-link-settings"),initialize:function(){this.listenTo(this.model,"change:url",this.updateoEmbed)},updateoEmbed:_.debounce(function(){var a=this.model.get("url");this.$(".embed-container").hide().find(".embed-preview").empty(),this.$(".setting").hide(),a&&(a.length<11||!a.match(/^http(s)?:\/\//))||this.fetch()},wp.media.controller.Embed.sensitivity),fetch:function(){var a;e("#embed-url-field").val()===this.model.get("url")&&(this.dfd&&"pending"===this.dfd.state()&&this.dfd.abort(),a=new wp.shortcode({tag:"embed",attrs:_.pick(this.model.attributes,["width","height","src"]),content:this.model.get("url")}),this.dfd=e.ajax({type:"POST",url:wp.ajax.settings.url,context:this,data:{action:"parse-embed",post_ID:wp.media.view.settings.post.id,shortcode:a.string()}}).done(this.renderoEmbed).fail(this.renderFail))},renderFail:function(a,b){"abort"!==b&&this.$(".link-text").show()},renderoEmbed:function(a){var b=a&&a.data&&a.data.body||"";b?this.$(".embed-container").show().find(".embed-preview").html(b):this.renderFail()}}),b.exports=d},{}],41:[function(a,b,c){var d,e=wp.media.View,f=jQuery;d=e.extend({tagName:"label",className:"embed-url",events:{input:"url",keyup:"url",change:"url"},initialize:function(){this.$input=f('').val(this.model.get("url")),this.input=this.$input[0],this.spinner=f('')[0],this.$el.append([this.input,this.spinner]),this.listenTo(this.model,"change:url",this.render),this.model.get("url")&&_.delay(_.bind(function(){this.model.trigger("change:url")},this),500)},render:function(){var a=this.$input;if(!a.is(":focus"))return this.input.value=this.model.get("url")||"http://",e.prototype.render.apply(this,arguments),this},ready:function(){wp.media.isTouchDevice||this.focus()},url:function(a){this.model.set("url",a.target.value)},focus:function(){var a=this.$input;a.is(":visible")&&a.focus()[0].select()}}),b.exports=d},{}],42:[function(a,b,c){var d=wp.media.View.extend({events:{keydown:"constrainTabbing"},focus:function(){this.$(".media-menu-item").first().focus()},constrainTabbing:function(a){var b;if(9===a.keyCode)return b=this.$(":tabbable").not('.moxie-shim input[type="file"]'),b.last()[0]!==a.target||a.shiftKey?b.first()[0]===a.target&&a.shiftKey?(b.last().focus(),!1):void 0:(b.first().focus(),!1)}});b.exports=d},{}],43:[function(a,b,c){var d=wp.media.View.extend({initialize:function(){_.defaults(this.options,{mode:["select"]}),this._createRegions(),this._createStates(),this._createModes()},_createRegions:function(){this.regions=this.regions?this.regions.slice():[],_.each(this.regions,function(a){this[a]=new wp.media.controller.Region({view:this,id:a,selector:".media-frame-"+a})},this)},_createStates:function(){this.states=new Backbone.Collection(null,{model:wp.media.controller.State}),this.states.on("add",function(a){a.frame=this,a.trigger("ready")},this),this.options.states&&this.states.add(this.options.states)},_createModes:function(){this.activeModes=new Backbone.Collection,this.activeModes.on("add remove reset",_.bind(this.triggerModeEvents,this)),_.each(this.options.mode,function(a){this.activateMode(a)},this)},reset:function(){return this.states.invoke("trigger","reset"),this},triggerModeEvents:function(a,b,c){var d,e,f={add:"activate",remove:"deactivate"};_.each(c,function(a,b){a&&(d=b)}),_.has(f,d)&&(e=a.get("id")+":"+f[d],this.trigger(e))},activateMode:function(a){return this.isModeActive(a)?void 0:(this.activeModes.add([{id:a}]),this.$el.addClass("mode-"+a),this)},deactivateMode:function(a){return this.isModeActive(a)?(this.activeModes.remove(this.activeModes.where({id:a})),this.$el.removeClass("mode-"+a),this.trigger(a+":deactivate"),this):this},isModeActive:function(a){return Boolean(this.activeModes.where({id:a}).length)}});_.extend(d.prototype,wp.media.controller.StateMachine.prototype),b.exports=d},{}],44:[function(a,b,c){var d,e=wp.media.view.MediaFrame.Select,f=wp.media.view.l10n;d=e.extend({defaults:{id:"image",url:"",menu:"image-details",content:"image-details",toolbar:"image-details",type:"link",title:f.imageDetailsTitle,priority:120},initialize:function(a){this.image=new wp.media.model.PostImage(a.metadata),this.options.selection=new wp.media.model.Selection(this.image.attachment,{multiple:!1}),e.prototype.initialize.apply(this,arguments)},bindHandlers:function(){e.prototype.bindHandlers.apply(this,arguments),this.on("menu:create:image-details",this.createMenu,this),this.on("content:create:image-details",this.imageDetailsContent,this),this.on("content:render:edit-image",this.editImageContent,this),this.on("toolbar:render:image-details",this.renderImageDetailsToolbar,this),this.on("toolbar:render:replace",this.renderReplaceImageToolbar,this)},createStates:function(){this.states.add([new wp.media.controller.ImageDetails({image:this.image,editable:!1}),new wp.media.controller.ReplaceImage({id:"replace-image",library:wp.media.query({type:"image"}),image:this.image,multiple:!1,title:f.imageReplaceTitle,toolbar:"replace",priority:80,displaySettings:!0}),new wp.media.controller.EditImage({image:this.image,selection:this.options.selection})])},imageDetailsContent:function(a){a.view=new wp.media.view.ImageDetails({controller:this,model:this.state().image,attachment:this.state().image.attachment})},editImageContent:function(){var a,b=this.state(),c=b.get("image");c&&(a=new wp.media.view.EditImage({model:c,controller:this}).render(),this.content.set(a),a.loadEditor())},renderImageDetailsToolbar:function(){this.toolbar.set(new wp.media.view.Toolbar({controller:this,items:{select:{style:"primary",text:f.update,priority:80,click:function(){var a=this.controller,b=a.state();a.close(),b.trigger("update",a.image.toJSON()),a.setState(a.options.state),a.reset()}}}}))},renderReplaceImageToolbar:function(){var a=this,b=a.lastState(),c=b&&b.id;this.toolbar.set(new wp.media.view.Toolbar({controller:this,items:{back:{text:f.back,priority:20,click:function(){c?a.setState(c):a.close()}},replace:{style:"primary",text:f.replace,priority:80,click:function(){var a=this.controller,b=a.state(),c=b.get("selection"),d=c.single();a.close(),a.image.changeAttachment(d,b.display(d)),b.trigger("replace",a.image.toJSON()),a.setState(a.options.state),a.reset()}}}}))}}),b.exports=d},{}],45:[function(a,b,c){var d,e=wp.media.view.MediaFrame.Select,f=wp.media.controller.Library,g=wp.media.view.l10n;d=e.extend({initialize:function(){this.counts={audio:{count:wp.media.view.settings.attachmentCounts.audio,state:"playlist"},video:{count:wp.media.view.settings.attachmentCounts.video,state:"video-playlist"}},_.defaults(this.options,{multiple:!0,editing:!1,state:"insert",metadata:{}}),e.prototype.initialize.apply(this,arguments),this.createIframeStates()},createStates:function(){var a=this.options;this.states.add([new f({id:"insert",title:g.insertMediaTitle,priority:20,toolbar:"main-insert",filterable:"all",library:wp.media.query(a.library),multiple:a.multiple?"reset":!1,editable:!0,allowLocalEdits:!0,displaySettings:!0,displayUserSettings:!0}),new f({id:"gallery",title:g.createGalleryTitle,priority:40,toolbar:"main-gallery",filterable:"uploaded",multiple:"add",editable:!1,library:wp.media.query(_.defaults({type:"image"},a.library))}),new wp.media.controller.Embed({metadata:a.metadata}),new wp.media.controller.EditImage({model:a.editImage}),new wp.media.controller.GalleryEdit({library:a.selection,editing:a.editing,menu:"gallery"}),new wp.media.controller.GalleryAdd,new f({id:"playlist",title:g.createPlaylistTitle,priority:60,toolbar:"main-playlist",filterable:"uploaded",multiple:"add",editable:!1,library:wp.media.query(_.defaults({type:"audio"},a.library))}),new wp.media.controller.CollectionEdit({type:"audio",collectionType:"playlist",title:g.editPlaylistTitle,SettingsView:wp.media.view.Settings.Playlist,library:a.selection,editing:a.editing,menu:"playlist",dragInfoText:g.playlistDragInfo,dragInfo:!1}),new wp.media.controller.CollectionAdd({type:"audio",collectionType:"playlist",title:g.addToPlaylistTitle}),new f({id:"video-playlist",title:g.createVideoPlaylistTitle,priority:60,toolbar:"main-video-playlist",filterable:"uploaded",multiple:"add",editable:!1,library:wp.media.query(_.defaults({ type:"video"},a.library))}),new wp.media.controller.CollectionEdit({type:"video",collectionType:"playlist",title:g.editVideoPlaylistTitle,SettingsView:wp.media.view.Settings.Playlist,library:a.selection,editing:a.editing,menu:"video-playlist",dragInfoText:g.videoPlaylistDragInfo,dragInfo:!1}),new wp.media.controller.CollectionAdd({type:"video",collectionType:"playlist",title:g.addToVideoPlaylistTitle})]),wp.media.view.settings.post.featuredImageId&&this.states.add(new wp.media.controller.FeaturedImage)},bindHandlers:function(){var a,b;e.prototype.bindHandlers.apply(this,arguments),this.on("activate",this.activate,this),b=_.find(this.counts,function(a){return 0===a.count}),"undefined"!=typeof b&&this.listenTo(wp.media.model.Attachments.all,"change:type",this.mediaTypeCounts),this.on("menu:create:gallery",this.createMenu,this),this.on("menu:create:playlist",this.createMenu,this),this.on("menu:create:video-playlist",this.createMenu,this),this.on("toolbar:create:main-insert",this.createToolbar,this),this.on("toolbar:create:main-gallery",this.createToolbar,this),this.on("toolbar:create:main-playlist",this.createToolbar,this),this.on("toolbar:create:main-video-playlist",this.createToolbar,this),this.on("toolbar:create:featured-image",this.featuredImageToolbar,this),this.on("toolbar:create:main-embed",this.mainEmbedToolbar,this),a={menu:{"default":"mainMenu",gallery:"galleryMenu",playlist:"playlistMenu","video-playlist":"videoPlaylistMenu"},content:{embed:"embedContent","edit-image":"editImageContent","edit-selection":"editSelectionContent"},toolbar:{"main-insert":"mainInsertToolbar","main-gallery":"mainGalleryToolbar","gallery-edit":"galleryEditToolbar","gallery-add":"galleryAddToolbar","main-playlist":"mainPlaylistToolbar","playlist-edit":"playlistEditToolbar","playlist-add":"playlistAddToolbar","main-video-playlist":"mainVideoPlaylistToolbar","video-playlist-edit":"videoPlaylistEditToolbar","video-playlist-add":"videoPlaylistAddToolbar"}},_.each(a,function(a,b){_.each(a,function(a,c){this.on(b+":render:"+c,this[a],this)},this)},this)},activate:function(){_.each(this.counts,function(a){a.count<1&&this.menuItemVisibility(a.state,"hide")},this)},mediaTypeCounts:function(a,b){"undefined"!=typeof this.counts[b]&&this.counts[b].count<1&&(this.counts[b].count++,this.menuItemVisibility(this.counts[b].state,"show"))},mainMenu:function(a){a.set({"library-separator":new wp.media.View({className:"separator",priority:100})})},menuItemVisibility:function(a,b){var c=this.menu.get();"hide"===b?c.hide(a):"show"===b&&c.show(a)},galleryMenu:function(a){var b=this.lastState(),c=b&&b.id,d=this;a.set({cancel:{text:g.cancelGalleryTitle,priority:20,click:function(){c?d.setState(c):d.close(),this.controller.modal.focusManager.focus()}},separateCancel:new wp.media.View({className:"separator",priority:40})})},playlistMenu:function(a){var b=this.lastState(),c=b&&b.id,d=this;a.set({cancel:{text:g.cancelPlaylistTitle,priority:20,click:function(){c?d.setState(c):d.close()}},separateCancel:new wp.media.View({className:"separator",priority:40})})},videoPlaylistMenu:function(a){var b=this.lastState(),c=b&&b.id,d=this;a.set({cancel:{text:g.cancelVideoPlaylistTitle,priority:20,click:function(){c?d.setState(c):d.close()}},separateCancel:new wp.media.View({className:"separator",priority:40})})},embedContent:function(){var a=new wp.media.view.Embed({controller:this,model:this.state()}).render();this.content.set(a),wp.media.isTouchDevice||a.url.focus()},editSelectionContent:function(){var a,b=this.state(),c=b.get("selection");a=new wp.media.view.AttachmentsBrowser({controller:this,collection:c,selection:c,model:b,sortable:!0,search:!1,date:!1,dragInfo:!0,AttachmentView:wp.media.view.Attachments.EditSelection}).render(),a.toolbar.set("backToLibrary",{text:g.returnToLibrary,priority:-100,click:function(){this.controller.content.mode("browse")}}),this.content.set(a),this.trigger("edit:selection",this)},editImageContent:function(){var a=this.state().get("image"),b=new wp.media.view.EditImage({model:a,controller:this}).render();this.content.set(b),b.loadEditor()},selectionStatusToolbar:function(a){var b=this.state().get("editable");a.set("selection",new wp.media.view.Selection({controller:this,collection:this.state().get("selection"),priority:-40,editable:b&&function(){this.controller.content.mode("edit-selection")}}).render())},mainInsertToolbar:function(a){var b=this;this.selectionStatusToolbar(a),a.set("insert",{style:"primary",priority:80,text:g.insertIntoPost,requires:{selection:!0},click:function(){var a=b.state(),c=a.get("selection");b.close(),a.trigger("insert",c).reset()}})},mainGalleryToolbar:function(a){var b=this;this.selectionStatusToolbar(a),a.set("gallery",{style:"primary",text:g.createNewGallery,priority:60,requires:{selection:!0},click:function(){var a=b.state().get("selection"),c=b.state("gallery-edit"),d=a.where({type:"image"});c.set("library",new wp.media.model.Selection(d,{props:a.props.toJSON(),multiple:!0})),this.controller.setState("gallery-edit"),this.controller.modal.focusManager.focus()}})},mainPlaylistToolbar:function(a){var b=this;this.selectionStatusToolbar(a),a.set("playlist",{style:"primary",text:g.createNewPlaylist,priority:100,requires:{selection:!0},click:function(){var a=b.state().get("selection"),c=b.state("playlist-edit"),d=a.where({type:"audio"});c.set("library",new wp.media.model.Selection(d,{props:a.props.toJSON(),multiple:!0})),this.controller.setState("playlist-edit"),this.controller.modal.focusManager.focus()}})},mainVideoPlaylistToolbar:function(a){var b=this;this.selectionStatusToolbar(a),a.set("video-playlist",{style:"primary",text:g.createNewVideoPlaylist,priority:100,requires:{selection:!0},click:function(){var a=b.state().get("selection"),c=b.state("video-playlist-edit"),d=a.where({type:"video"});c.set("library",new wp.media.model.Selection(d,{props:a.props.toJSON(),multiple:!0})),this.controller.setState("video-playlist-edit"),this.controller.modal.focusManager.focus()}})},featuredImageToolbar:function(a){this.createSelectToolbar(a,{text:g.setFeaturedImage,state:this.options.state})},mainEmbedToolbar:function(a){a.view=new wp.media.view.Toolbar.Embed({controller:this})},galleryEditToolbar:function(){var a=this.state().get("editing");this.toolbar.set(new wp.media.view.Toolbar({controller:this,items:{insert:{style:"primary",text:a?g.updateGallery:g.insertGallery,priority:80,requires:{library:!0},click:function(){var a=this.controller,b=a.state();a.close(),b.trigger("update",b.get("library")),a.setState(a.options.state),a.reset()}}}}))},galleryAddToolbar:function(){this.toolbar.set(new wp.media.view.Toolbar({controller:this,items:{insert:{style:"primary",text:g.addToGallery,priority:80,requires:{selection:!0},click:function(){var a=this.controller,b=a.state(),c=a.state("gallery-edit");c.get("library").add(b.get("selection").models),b.trigger("reset"),a.setState("gallery-edit")}}}}))},playlistEditToolbar:function(){var a=this.state().get("editing");this.toolbar.set(new wp.media.view.Toolbar({controller:this,items:{insert:{style:"primary",text:a?g.updatePlaylist:g.insertPlaylist,priority:80,requires:{library:!0},click:function(){var a=this.controller,b=a.state();a.close(),b.trigger("update",b.get("library")),a.setState(a.options.state),a.reset()}}}}))},playlistAddToolbar:function(){this.toolbar.set(new wp.media.view.Toolbar({controller:this,items:{insert:{style:"primary",text:g.addToPlaylist,priority:80,requires:{selection:!0},click:function(){var a=this.controller,b=a.state(),c=a.state("playlist-edit");c.get("library").add(b.get("selection").models),b.trigger("reset"),a.setState("playlist-edit")}}}}))},videoPlaylistEditToolbar:function(){var a=this.state().get("editing");this.toolbar.set(new wp.media.view.Toolbar({controller:this,items:{insert:{style:"primary",text:a?g.updateVideoPlaylist:g.insertVideoPlaylist,priority:140,requires:{library:!0},click:function(){var a=this.controller,b=a.state(),c=b.get("library");c.type="video",a.close(),b.trigger("update",c),a.setState(a.options.state),a.reset()}}}}))},videoPlaylistAddToolbar:function(){this.toolbar.set(new wp.media.view.Toolbar({controller:this,items:{insert:{style:"primary",text:g.addToVideoPlaylist,priority:140,requires:{selection:!0},click:function(){var a=this.controller,b=a.state(),c=a.state("video-playlist-edit");c.get("library").add(b.get("selection").models),b.trigger("reset"),a.setState("video-playlist-edit")}}}}))}}),b.exports=d},{}],46:[function(a,b,c){var d,e=wp.media.view.MediaFrame,f=wp.media.view.l10n;d=e.extend({initialize:function(){e.prototype.initialize.apply(this,arguments),_.defaults(this.options,{selection:[],library:{},multiple:!1,state:"library"}),this.createSelection(),this.createStates(),this.bindHandlers()},createSelection:function(){var a=this.options.selection;a instanceof wp.media.model.Selection||(this.options.selection=new wp.media.model.Selection(a,{multiple:this.options.multiple})),this._selection={attachments:new wp.media.model.Attachments,difference:[]}},createStates:function(){var a=this.options;this.options.states||this.states.add([new wp.media.controller.Library({library:wp.media.query(a.library),multiple:a.multiple,title:a.title,priority:20})])},bindHandlers:function(){this.on("router:create:browse",this.createRouter,this),this.on("router:render:browse",this.browseRouter,this),this.on("content:create:browse",this.browseContent,this),this.on("content:render:upload",this.uploadContent,this),this.on("toolbar:create:select",this.createSelectToolbar,this)},browseRouter:function(a){a.set({upload:{text:f.uploadFilesTitle,priority:20},browse:{text:f.mediaLibraryTitle,priority:40}})},browseContent:function(a){var b=this.state();this.$el.removeClass("hide-toolbar"),a.view=new wp.media.view.AttachmentsBrowser({controller:this,collection:b.get("library"),selection:b.get("selection"),model:b,sortable:b.get("sortable"),search:b.get("searchable"),filters:b.get("filterable"),date:b.get("date"),display:b.has("display")?b.get("display"):b.get("displaySettings"),dragInfo:b.get("dragInfo"),idealColumnWidth:b.get("idealColumnWidth"),suggestedWidth:b.get("suggestedWidth"),suggestedHeight:b.get("suggestedHeight"),AttachmentView:b.get("AttachmentView")})},uploadContent:function(){this.$el.removeClass("hide-toolbar"),this.content.set(new wp.media.view.UploaderInline({controller:this}))},createSelectToolbar:function(a,b){b=b||this.options.button||{},b.controller=this,a.view=new wp.media.view.Toolbar.Select(b)}}),b.exports=d},{}],47:[function(a,b,c){var d=wp.media.View.extend({className:"media-iframe",render:function(){return this.views.detach(),this.$el.html('',"function"==typeof $f){var t=$f(o.childNodes[0]);t.addEvent("ready",function(){function a(a,b,c,d){var e={type:c,target:b};"timeupdate"==c&&(b.currentTime=e.currentTime=d.seconds,b.duration=e.duration=d.duration),b.dispatchEvent(e.type,e)}t.playVideo=function(){t.api("play")},t.stopVideo=function(){t.api("unload")},t.pauseVideo=function(){t.api("pause")},t.seekTo=function(a){t.api("seekTo",a)},t.setVolume=function(a){t.api("setVolume",a)},t.setMuted=function(a){a?(t.lastVolume=t.api("getVolume"),t.api("setVolume",0)):(t.api("setVolume",t.lastVolume),delete t.lastVolume)},t.addEvent("play",function(){a(t,n,"play"),a(t,n,"playing")}),t.addEvent("pause",function(){a(t,n,"pause")}),t.addEvent("finish",function(){a(t,n,"ended")}),t.addEvent("playProgress",function(b){a(t,n,"timeupdate",b)}),n.pluginElement=o,n.pluginApi=t,mejs.MediaPluginBridge.initPlugin(m)})}else console.warn("You need to include froogaloop for vimeo to work")}return j.style.display="none",j.removeAttribute("autoplay"),n},updateNative:function(a,b){var c,d=a.htmlMediaElement;for(c in mejs.HtmlMediaElement)d[c]=mejs.HtmlMediaElement[c];return b.success(d,d),d}},mejs.YouTubeApi={isIframeStarted:!1,isIframeLoaded:!1,loadIframeApi:function(){if(!this.isIframeStarted){var a=document.createElement("script");a.src="//www.youtube.com/player_api";var b=document.getElementsByTagName("script")[0];b.parentNode.insertBefore(a,b),this.isIframeStarted=!0}},iframeQueue:[],enqueueIframe:function(a){this.isLoaded?this.createIframe(a):(this.loadIframeApi(),this.iframeQueue.push(a))},createIframe:function(a){var b=a.pluginMediaElement,c=new YT.Player(a.containerId,{height:a.height,width:a.width,videoId:a.videoId,playerVars:{controls:0},events:{onReady:function(){a.pluginMediaElement.pluginApi=c,mejs.MediaPluginBridge.initPlugin(a.pluginId),setInterval(function(){mejs.YouTubeApi.createEvent(c,b,"timeupdate")},250)},onStateChange:function(a){mejs.YouTubeApi.handleStateChange(a.data,c,b)}}})},createEvent:function(a,b,c){var d={type:c,target:b};if(a&&a.getDuration){b.currentTime=d.currentTime=a.getCurrentTime(),b.duration=d.duration=a.getDuration(),d.paused=b.paused,d.ended=b.ended,d.muted=a.isMuted(),d.volume=a.getVolume()/100,d.bytesTotal=a.getVideoBytesTotal(),d.bufferedBytes=a.getVideoBytesLoaded();var e=d.bufferedBytes/d.bytesTotal*d.duration;d.target.buffered=d.buffered={start:function(){return 0},end:function(){return e},length:1}}b.dispatchEvent(d.type,d)},iFrameReady:function(){for(this.isLoaded=!0,this.isIframeLoaded=!0;this.iframeQueue.length>0;){var a=this.iframeQueue.pop();this.createIframe(a)}},flashPlayers:{},createFlash:function(a){this.flashPlayers[a.pluginId]=a;var b,c="//www.youtube.com/apiplayer?enablejsapi=1&playerapiid="+a.pluginId+"&version=3&autoplay=0&controls=0&modestbranding=1&loop=0";mejs.MediaFeatures.isIE?(b=document.createElement("div"),a.container.appendChild(b),b.outerHTML=''):a.container.innerHTML=''},flashReady:function(a){var b=this.flashPlayers[a],c=document.getElementById(a),d=b.pluginMediaElement;d.pluginApi=d.pluginElement=c,mejs.MediaPluginBridge.initPlugin(a),c.cueVideoById(b.videoId);var e=b.containerId+"_callback";window[e]=function(a){mejs.YouTubeApi.handleStateChange(a,c,d)},c.addEventListener("onStateChange",e),setInterval(function(){mejs.YouTubeApi.createEvent(c,d,"timeupdate")},250),mejs.YouTubeApi.createEvent(c,d,"canplay")},handleStateChange:function(a,b,c){switch(a){case-1:c.paused=!0,c.ended=!0,mejs.YouTubeApi.createEvent(b,c,"loadedmetadata");break;case 0:c.paused=!1,c.ended=!0,mejs.YouTubeApi.createEvent(b,c,"ended");break;case 1:c.paused=!1,c.ended=!1,mejs.YouTubeApi.createEvent(b,c,"play"),mejs.YouTubeApi.createEvent(b,c,"playing");break;case 2:c.paused=!0,c.ended=!1,mejs.YouTubeApi.createEvent(b,c,"pause");break;case 3:mejs.YouTubeApi.createEvent(b,c,"progress");break;case 5:}}},window.mejs=mejs,window.MediaElement=mejs.MediaElement,function(a,b){"use strict";var c={locale:{language:b.i18n&&b.i18n.locale.language||"",strings:b.i18n&&b.i18n.locale.strings||{}},ietf_lang_regex:/^(x\-)?[a-z]{2,}(\-\w{2,})?(\-\w{2,})?$/,methods:{}};c.getLanguage=function(){var a=c.locale.language||window.navigator.userLanguage||window.navigator.language;return c.ietf_lang_regex.exec(a)?a:null},"undefined"!=typeof mejsL10n&&(c.locale.language=mejsL10n.language),c.methods.checkPlain=function(a){var b,c,d={"&":"&",'"':""","<":"<",">":">"};a=String(a);for(b in d)d.hasOwnProperty(b)&&(c=new RegExp(b,"g"),a=a.replace(c,d[b]));return a},c.methods.t=function(a,b){return c.locale.strings&&c.locale.strings[b.context]&&c.locale.strings[b.context][a]&&(a=c.locale.strings[b.context][a]),c.methods.checkPlain(a)},c.t=function(a,b){if("string"==typeof a&&a.length>0){var d=c.getLanguage();return b=b||{context:d},c.methods.t(a,b)}throw{name:"InvalidArgumentException",message:"First argument is either not a string or empty."}},b.i18n=c}(document,mejs),function(a){"use strict";"undefined"!=typeof mejsL10n&&(a[mejsL10n.language]=mejsL10n.strings)}(mejs.i18n.locale.strings),/*! +var mejs=mejs||{};mejs.version="2.18.1",mejs.meIndex=0,mejs.plugins={silverlight:[{version:[3,0],types:["video/mp4","video/m4v","video/mov","video/wmv","audio/wma","audio/m4a","audio/mp3","audio/wav","audio/mpeg"]}],flash:[{version:[9,0,124],types:["video/mp4","video/m4v","video/mov","video/flv","video/rtmp","video/x-flv","audio/flv","audio/x-flv","audio/mp3","audio/m4a","audio/mpeg","video/youtube","video/x-youtube","video/dailymotion","video/x-dailymotion","application/x-mpegURL"]}],youtube:[{version:null,types:["video/youtube","video/x-youtube","audio/youtube","audio/x-youtube"]}],vimeo:[{version:null,types:["video/vimeo","video/x-vimeo"]}]},mejs.Utility={encodeUrl:function(a){return encodeURIComponent(a)},escapeHTML:function(a){return a.toString().split("&").join("&").split("<").join("<").split('"').join(""")},absolutizeUrl:function(a){var b=document.createElement("div");return b.innerHTML='x',b.firstChild.href},getScriptPath:function(a){for(var b,c,d,e,f,g,h=0,i="",j="",k=document.getElementsByTagName("script"),l=k.length,m=a.length;l>h;h++){for(e=k[h].src,c=e.lastIndexOf("/"),c>-1?(g=e.substring(c+1),f=e.substring(0,c+1)):(g=e,f=""),b=0;m>b;b++)if(j=a[b],d=g.indexOf(j),d>-1){i=f;break}if(""!==i)break}return i},calculateTimeFormat:function(a,b,c){0>a&&(a=0),"undefined"==typeof c&&(c=25);var d=b.timeFormat,e=d[0],f=d[1]==d[0],g=f?2:1,h=":",i=Math.floor(a/3600)%24,j=Math.floor(a/60)%60,k=Math.floor(a%60),l=Math.floor((a%1*c).toFixed(3)),m=[[l,"f"],[k,"s"],[j,"m"],[i,"h"]];d.lengtho;o++)if(-1!==d.indexOf(m[o][1]))n=!0;else if(n){for(var q=!1,r=o;p>r;r++)if(m[r][0]>0){q=!0;break}if(!q)break;f||(d=e+d),d=m[o][1]+h+d,f&&(d=m[o][1]+d),e=m[o][1]}b.currentTimeFormat=d},twoDigitsString:function(a){return 10>a?"0"+a:String(a)},secondsToTimeCode:function(a,b){if(0>a&&(a=0),"object"!=typeof b){var c="m:ss";c=arguments[1]?"hh:mm:ss":c,c=arguments[2]?c+":ff":c,b={currentTimeFormat:c,framesPerSecond:arguments[3]||25}}var d=b.framesPerSecond;"undefined"==typeof d&&(d=25);var c=b.currentTimeFormat,e=Math.floor(a/3600)%24,f=Math.floor(a/60)%60,g=Math.floor(a%60),h=Math.floor((a%1*d).toFixed(3));lis=[[h,"f"],[g,"s"],[f,"m"],[e,"h"]];var j=c;for(i=0,len=lis.length;len>i;i++)j=j.replace(lis[i][1]+lis[i][1],this.twoDigitsString(lis[i][0])),j=j.replace(lis[i][1],lis[i][0]);return j},timeCodeToSeconds:function(a,b,c,d){"undefined"==typeof c?c=!1:"undefined"==typeof d&&(d=25);var e=a.split(":"),f=parseInt(e[0],10),g=parseInt(e[1],10),h=parseInt(e[2],10),i=0,j=0;return c&&(i=parseInt(e[3])/d),j=3600*f+60*g+h+i},convertSMPTEtoSeconds:function(a){if("string"!=typeof a)return!1;a=a.replace(",",".");var b=0,c=-1!=a.indexOf(".")?a.split(".")[1].length:0,d=1;a=a.split(":").reverse();for(var e=0;e0&&(d=Math.pow(60,e)),b+=Number(a[e])*d;return Number(b.toFixed(c))},removeSwf:function(a){var b=document.getElementById(a);b&&/object|embed/i.test(b.nodeName)&&(mejs.MediaFeatures.isIE?(b.style.display="none",function(){4==b.readyState?mejs.Utility.removeObjectInIE(a):setTimeout(arguments.callee,10)}()):b.parentNode.removeChild(b))},removeObjectInIE:function(a){var b=document.getElementById(a);if(b){for(var c in b)"function"==typeof b[c]&&(b[c]=null);b.parentNode.removeChild(b)}}},mejs.PluginDetector={hasPluginVersion:function(a,b){var c=this.plugins[a];return b[1]=b[1]||0,b[2]=b[2]||0,c[0]>b[0]||c[0]==b[0]&&c[1]>b[1]||c[0]==b[0]&&c[1]==b[1]&&c[2]>=b[2]?!0:!1},nav:window.navigator,ua:window.navigator.userAgent.toLowerCase(),plugins:[],addPlugin:function(a,b,c,d,e){this.plugins[a]=this.detectPlugin(b,c,d,e)},detectPlugin:function(a,b,c,d){var e,f,g,h=[0,0,0];if("undefined"!=typeof this.nav.plugins&&"object"==typeof this.nav.plugins[a]){if(e=this.nav.plugins[a].description,e&&("undefined"==typeof this.nav.mimeTypes||!this.nav.mimeTypes[b]||this.nav.mimeTypes[b].enabledPlugin))for(h=e.replace(a,"").replace(/^\s+/,"").replace(/\sr/gi,".").split("."),f=0;f0;)this.removeChild(b[0]);if("string"==typeof a)this.src=a;else{var c,d;for(c=0;c0&&null!==q[0].url&&this.getTypeFromFile(q[0].url).indexOf("audio")>-1&&(r.isVideo=!1),mejs.MediaFeatures.isBustedAndroid&&(a.canPlayType=function(a){return null!==a.match(/video\/(mp4|m4v)/gi)?"maybe":""}),!(!c||"auto"!==b.mode&&"auto_plugin"!==b.mode&&"native"!==b.mode||mejs.MediaFeatures.isBustedNativeHTTPS&&b.httpsBasicAuthSite===!0)){for(d||(o=document.createElement(r.isVideo?"video":"audio"),a.parentNode.insertBefore(o,a),a.style.display="none",r.htmlMediaElement=a=o),f=0;f0&&(r.url=q[0].url),r)},formatType:function(a,b){return a&&!b?this.getTypeFromFile(a):b&&~b.indexOf(";")?b.substr(0,b.indexOf(";")):b},getTypeFromFile:function(a){a=a.split("?")[0];var b=a.substring(a.lastIndexOf(".")+1).toLowerCase(),c=/(mp4|m4v|ogg|ogv|m3u8|webm|webmv|flv|wmv|mpeg|mov)/gi.test(b)?"video/":"audio/";return this.getTypeFromExtension(b,c)},getTypeFromExtension:function(a,b){switch(b=b||"",a){case"mp4":case"m4v":case"m4a":case"f4v":case"f4a":return b+"mp4";case"flv":return b+"x-flv";case"webm":case"webma":case"webmv":return b+"webm";case"ogg":case"oga":case"ogv":return b+"ogg";case"m3u8":return"application/x-mpegurl";case"ts":return b+"mp2t";default:return b+a}},createErrorMessage:function(a,b,c){var d=a.htmlMediaElement,e=document.createElement("div"),f=b.customError;e.className="me-cannotplay";try{e.style.width=d.width+"px",e.style.height=d.height+"px"}catch(g){}f||(f='',""!==c&&(f+=''),f+=""+mejs.i18n.t("Download File")+""),e.innerHTML=f,d.parentNode.insertBefore(e,d),d.style.display="none",b.error(d)},createPlugin:function(a,b,c,d,e,f){var g,h,i,j=a.htmlMediaElement,k=1,l=1,m="me_"+a.method+"_"+mejs.meIndex++,n=new mejs.PluginMediaElement(m,a.method,a.url),o=document.createElement("div");n.tagName=j.tagName;for(var p=0;p0?b.pluginWidth:b.videoWidth>0?b.videoWidth:null!==j.getAttribute("width")?j.getAttribute("width"):b.defaultVideoWidth,l=b.pluginHeight>0?b.pluginHeight:b.videoHeight>0?b.videoHeight:null!==j.getAttribute("height")?j.getAttribute("height"):b.defaultVideoHeight,k=mejs.Utility.encodeUrl(k),l=mejs.Utility.encodeUrl(l)):b.enablePluginDebug&&(k=320,l=240),n.success=b.success,mejs.MediaPluginBridge.registerPluginElement(m,n,j),o.className="me-plugin",o.id=m+"_container",a.isVideo?j.parentNode.insertBefore(o,j):document.body.insertBefore(o,document.body.childNodes[0]),i=["id="+m,"jsinitfunction=mejs.MediaPluginBridge.initPlugin","jscallbackfunction=mejs.MediaPluginBridge.fireEvent","isvideo="+(a.isVideo?"true":"false"),"autoplay="+(d?"true":"false"),"preload="+e,"width="+k,"startvolume="+b.startVolume,"timerrate="+b.timerRate,"flashstreamer="+b.flashStreamer,"height="+l,"pseudostreamstart="+b.pseudoStreamingStartQueryParam],null!==a.url&&i.push("flash"==a.method?"file="+mejs.Utility.encodeUrl(a.url):"file="+a.url),b.enablePluginDebug&&i.push("debug=true"),b.enablePluginSmoothing&&i.push("smoothing=true"),b.enablePseudoStreaming&&i.push("pseudostreaming=true"),f&&i.push("controls=true"),b.pluginVars&&(i=i.concat(b.pluginVars)),a.method){case"silverlight":o.innerHTML='';break;case"flash":mejs.MediaFeatures.isIE?(g=document.createElement("div"),o.appendChild(g),g.outerHTML=''):o.innerHTML='';break;case"youtube":var r;-1!=a.url.lastIndexOf("youtu.be")?(r=a.url.substr(a.url.lastIndexOf("/")+1),-1!=r.indexOf("?")&&(r=r.substr(0,r.indexOf("?")))):r=a.url.substr(a.url.lastIndexOf("=")+1),youtubeSettings={container:o,containerId:o.id,pluginMediaElement:n,pluginId:m,videoId:r,height:l,width:k},mejs.PluginDetector.hasPluginVersion("flash",[10,0,0])?mejs.YouTubeApi.createFlash(youtubeSettings,b):mejs.YouTubeApi.enqueueIframe(youtubeSettings);break;case"vimeo":var s=m+"_player";if(n.vimeoid=a.url.substr(a.url.lastIndexOf("/")+1),o.innerHTML='',"function"==typeof $f){var t=$f(o.childNodes[0]);t.addEvent("ready",function(){function a(a,b,c,d){var e={type:c,target:b};"timeupdate"==c&&(b.currentTime=e.currentTime=d.seconds,b.duration=e.duration=d.duration),b.dispatchEvent(e)}t.playVideo=function(){t.api("play")},t.stopVideo=function(){t.api("unload")},t.pauseVideo=function(){t.api("pause")},t.seekTo=function(a){t.api("seekTo",a)},t.setVolume=function(a){t.api("setVolume",a)},t.setMuted=function(a){a?(t.lastVolume=t.api("getVolume"),t.api("setVolume",0)):(t.api("setVolume",t.lastVolume),delete t.lastVolume)},t.addEvent("play",function(){a(t,n,"play"),a(t,n,"playing")}),t.addEvent("pause",function(){a(t,n,"pause")}),t.addEvent("finish",function(){a(t,n,"ended")}),t.addEvent("playProgress",function(b){a(t,n,"timeupdate",b)}),n.pluginElement=o,n.pluginApi=t,mejs.MediaPluginBridge.initPlugin(m)})}else console.warn("You need to include froogaloop for vimeo to work")}return j.style.display="none",j.removeAttribute("autoplay"),n},updateNative:function(a,b){var c,d=a.htmlMediaElement;for(c in mejs.HtmlMediaElement)d[c]=mejs.HtmlMediaElement[c];return b.success(d,d),d}},mejs.YouTubeApi={isIframeStarted:!1,isIframeLoaded:!1,loadIframeApi:function(){if(!this.isIframeStarted){var a=document.createElement("script");a.src="//www.youtube.com/player_api";var b=document.getElementsByTagName("script")[0];b.parentNode.insertBefore(a,b),this.isIframeStarted=!0}},iframeQueue:[],enqueueIframe:function(a){this.isLoaded?this.createIframe(a):(this.loadIframeApi(),this.iframeQueue.push(a))},createIframe:function(a){var b=a.pluginMediaElement,c=new YT.Player(a.containerId,{height:a.height,width:a.width,videoId:a.videoId,playerVars:{controls:0},events:{onReady:function(){a.pluginMediaElement.pluginApi=c,mejs.MediaPluginBridge.initPlugin(a.pluginId),setInterval(function(){mejs.YouTubeApi.createEvent(c,b,"timeupdate")},250)},onStateChange:function(a){mejs.YouTubeApi.handleStateChange(a.data,c,b)}}})},createEvent:function(a,b,c){var d={type:c,target:b};if(a&&a.getDuration){b.currentTime=d.currentTime=a.getCurrentTime(),b.duration=d.duration=a.getDuration(),d.paused=b.paused,d.ended=b.ended,d.muted=a.isMuted(),d.volume=a.getVolume()/100,d.bytesTotal=a.getVideoBytesTotal(),d.bufferedBytes=a.getVideoBytesLoaded();var e=d.bufferedBytes/d.bytesTotal*d.duration;d.target.buffered=d.buffered={start:function(){return 0},end:function(){return e},length:1}}b.dispatchEvent(d)},iFrameReady:function(){for(this.isLoaded=!0,this.isIframeLoaded=!0;this.iframeQueue.length>0;){var a=this.iframeQueue.pop();this.createIframe(a)}},flashPlayers:{},createFlash:function(a){this.flashPlayers[a.pluginId]=a;var b,c="//www.youtube.com/apiplayer?enablejsapi=1&playerapiid="+a.pluginId+"&version=3&autoplay=0&controls=0&modestbranding=1&loop=0";mejs.MediaFeatures.isIE?(b=document.createElement("div"),a.container.appendChild(b),b.outerHTML=''):a.container.innerHTML=''},flashReady:function(a){var b=this.flashPlayers[a],c=document.getElementById(a),d=b.pluginMediaElement;d.pluginApi=d.pluginElement=c,mejs.MediaPluginBridge.initPlugin(a),c.cueVideoById(b.videoId);var e=b.containerId+"_callback";window[e]=function(a){mejs.YouTubeApi.handleStateChange(a,c,d)},c.addEventListener("onStateChange",e),setInterval(function(){mejs.YouTubeApi.createEvent(c,d,"timeupdate")},250),mejs.YouTubeApi.createEvent(c,d,"canplay")},handleStateChange:function(a,b,c){switch(a){case-1:c.paused=!0,c.ended=!0,mejs.YouTubeApi.createEvent(b,c,"loadedmetadata");break;case 0:c.paused=!1,c.ended=!0,mejs.YouTubeApi.createEvent(b,c,"ended");break;case 1:c.paused=!1,c.ended=!1,mejs.YouTubeApi.createEvent(b,c,"play"),mejs.YouTubeApi.createEvent(b,c,"playing");break;case 2:c.paused=!0,c.ended=!1,mejs.YouTubeApi.createEvent(b,c,"pause");break;case 3:mejs.YouTubeApi.createEvent(b,c,"progress");break;case 5:}}},window.onYouTubePlayerAPIReady=function(){mejs.YouTubeApi.iFrameReady()},window.onYouTubePlayerReady=function(a){mejs.YouTubeApi.flashReady(a)},window.mejs=mejs,window.MediaElement=mejs.MediaElement,function(a,b){"use strict";var c={locale:{language:b.i18n&&b.i18n.locale.language||"",strings:b.i18n&&b.i18n.locale.strings||{}},ietf_lang_regex:/^(x\-)?[a-z]{2,}(\-\w{2,})?(\-\w{2,})?$/,methods:{}};c.getLanguage=function(){var a=c.locale.language||window.navigator.userLanguage||window.navigator.language;return c.ietf_lang_regex.exec(a)?a:null},"undefined"!=typeof mejsL10n&&(c.locale.language=mejsL10n.language),c.methods.checkPlain=function(a){var b,c,d={"&":"&",'"':""","<":"<",">":">"};a=String(a);for(b in d)d.hasOwnProperty(b)&&(c=new RegExp(b,"g"),a=a.replace(c,d[b]));return a},c.methods.t=function(a,b){return c.locale.strings&&c.locale.strings[b.context]&&c.locale.strings[b.context][a]&&(a=c.locale.strings[b.context][a]),c.methods.checkPlain(a)},c.t=function(a,b){if("string"==typeof a&&a.length>0){var d=c.getLanguage();return b=b||{context:d},c.methods.t(a,b)}throw{name:"InvalidArgumentException",message:"First argument is either not a string or empty."}},b.i18n=c}(document,mejs),function(a){"use strict";"undefined"!=typeof mejsL10n&&(a[mejsL10n.language]=mejsL10n.strings)}(mejs.i18n.locale.strings),/*! * * MediaElementPlayer * http://mediaelementjs.com/ @@ -24,5 +24,5 @@ function onYouTubePlayerAPIReady(){mejs.YouTubeApi.iFrameReady()}function onYouT * License: MIT * */ -"undefined"!=typeof jQuery?mejs.$=jQuery:"undefined"!=typeof ender&&(mejs.$=ender),function(a){mejs.MepDefaults={poster:"",showPosterWhenEnded:!1,defaultVideoWidth:480,defaultVideoHeight:270,videoWidth:-1,videoHeight:-1,defaultAudioWidth:400,defaultAudioHeight:30,defaultSeekBackwardInterval:function(a){return.05*a.duration},defaultSeekForwardInterval:function(a){return.05*a.duration},setDimensions:!0,audioWidth:-1,audioHeight:-1,startVolume:.8,loop:!1,autoRewind:!0,enableAutosize:!0,alwaysShowHours:!1,showTimecodeFrameCount:!1,framesPerSecond:25,autosizeProgress:!0,alwaysShowControls:!1,hideVideoControlsOnLoad:!1,clickToPlayPause:!0,iPadUseNativeControls:!1,iPhoneUseNativeControls:!1,AndroidUseNativeControls:!1,features:["playpause","current","progress","duration","tracks","volume","fullscreen"],isVideo:!0,enableKeyboard:!0,pauseOtherPlayers:!0,keyActions:[{keys:[32,179],action:function(a,b){b.paused||b.ended?a.play():a.pause()}},{keys:[38],action:function(a,b){a.container.find(".mejs-volume-slider").css("display","block"),a.isVideo&&(a.showControls(),a.startControlsTimer());var c=Math.min(b.volume+.1,1);b.setVolume(c)}},{keys:[40],action:function(a,b){a.container.find(".mejs-volume-slider").css("display","block"),a.isVideo&&(a.showControls(),a.startControlsTimer());var c=Math.max(b.volume-.1,0);b.setVolume(c)}},{keys:[37,227],action:function(a,b){if(!isNaN(b.duration)&&b.duration>0){a.isVideo&&(a.showControls(),a.startControlsTimer());var c=Math.max(b.currentTime-a.options.defaultSeekBackwardInterval(b),0);b.setCurrentTime(c)}}},{keys:[39,228],action:function(a,b){if(!isNaN(b.duration)&&b.duration>0){a.isVideo&&(a.showControls(),a.startControlsTimer());var c=Math.min(b.currentTime+a.options.defaultSeekForwardInterval(b),b.duration);b.setCurrentTime(c)}}},{keys:[70],action:function(a){"undefined"!=typeof a.enterFullScreen&&(a.isFullScreen?a.exitFullScreen():a.enterFullScreen())}},{keys:[77],action:function(a){a.container.find(".mejs-volume-slider").css("display","block"),a.isVideo&&(a.showControls(),a.startControlsTimer()),a.setMuted(a.media.muted?!1:!0)}}]},mejs.mepIndex=0,mejs.players={},mejs.MediaElementPlayer=function(b,c){if(!(this instanceof mejs.MediaElementPlayer))return new mejs.MediaElementPlayer(b,c);var d=this;return d.$media=d.$node=a(b),d.node=d.media=d.$media[0],d.node?"undefined"!=typeof d.node.player?d.node.player:(d.node.player=d,"undefined"==typeof c&&(c=d.$node.data("mejsoptions")),d.options=a.extend({},mejs.MepDefaults,c),d.id="mep_"+mejs.mepIndex++,mejs.players[d.id]=d,d.init(),d):void 0},mejs.MediaElementPlayer.prototype={hasFocus:!1,controlsAreVisible:!0,init:function(){var b=this,c=mejs.MediaFeatures,d=a.extend(!0,{},b.options,{success:function(a,c){b.meReady(a,c)},error:function(a){b.handleError(a)}}),e=b.media.tagName.toLowerCase();if(b.isDynamic="audio"!==e&&"video"!==e,b.isVideo=b.isDynamic?b.options.isVideo:"audio"!==e&&b.options.isVideo,c.isiPad&&b.options.iPadUseNativeControls||c.isiPhone&&b.options.iPhoneUseNativeControls)b.$media.attr("controls","controls"),c.isiPad&&null!==b.media.getAttribute("autoplay")&&b.play();else if(c.isAndroid&&b.options.AndroidUseNativeControls);else{b.$media.removeAttr("controls");var f=mejs.i18n.t(b.isVideo?"Video Player":"Audio Player");if(a(''+f+"").insertBefore(b.$media),b.container=a('
                ').addClass(b.$media[0].className).insertBefore(b.$media).focus(function(){if(!b.controlsAreVisible){b.showControls(!0);var a=b.container.find(".mejs-playpause-button > button");a.focus()}}),b.container.addClass((c.isAndroid?"mejs-android ":"")+(c.isiOS?"mejs-ios ":"")+(c.isiPad?"mejs-ipad ":"")+(c.isiPhone?"mejs-iphone ":"")+(b.isVideo?"mejs-video ":"mejs-audio ")),c.isiOS){var g=b.$media.clone();b.container.find(".mejs-mediaelement").append(g),b.$media.remove(),b.$node=b.$media=g,b.node=b.media=g[0]}else b.container.find(".mejs-mediaelement").append(b.$media);b.controls=b.container.find(".mejs-controls"),b.layers=b.container.find(".mejs-layers");var h=b.isVideo?"video":"audio",i=h.substring(0,1).toUpperCase()+h.substring(1);b.width=b.options[h+"Width"]>0||b.options[h+"Width"].toString().indexOf("%")>-1?b.options[h+"Width"]:""!==b.media.style.width&&null!==b.media.style.width?b.media.style.width:null!==b.media.getAttribute("width")?b.$media.attr("width"):b.options["default"+i+"Width"],b.height=b.options[h+"Height"]>0||b.options[h+"Height"].toString().indexOf("%")>-1?b.options[h+"Height"]:""!==b.media.style.height&&null!==b.media.style.height?b.media.style.height:null!==b.$media[0].getAttribute("height")?b.$media.attr("height"):b.options["default"+i+"Height"],b.setPlayerSize(b.width,b.height),d.pluginWidth=b.width,d.pluginHeight=b.height}mejs.MediaElement(b.$media[0],d),"undefined"!=typeof b.container&&b.controlsAreVisible&&b.container.trigger("controlsshown")},showControls:function(a){var b=this;a="undefined"==typeof a||a,b.controlsAreVisible||(a?(b.controls.css("visibility","visible").stop(!0,!0).fadeIn(200,function(){b.controlsAreVisible=!0,b.container.trigger("controlsshown")}),b.container.find(".mejs-control").css("visibility","visible").stop(!0,!0).fadeIn(200,function(){b.controlsAreVisible=!0})):(b.controls.css("visibility","visible").css("display","block"),b.container.find(".mejs-control").css("visibility","visible").css("display","block"),b.controlsAreVisible=!0,b.container.trigger("controlsshown")),b.setControlsSize())},hideControls:function(b){var c=this;b="undefined"==typeof b||b,!c.controlsAreVisible||c.options.alwaysShowControls||c.keyboardAction||(b?(c.controls.stop(!0,!0).fadeOut(200,function(){a(this).css("visibility","hidden").css("display","block"),c.controlsAreVisible=!1,c.container.trigger("controlshidden")}),c.container.find(".mejs-control").stop(!0,!0).fadeOut(200,function(){a(this).css("visibility","hidden").css("display","block")})):(c.controls.css("visibility","hidden").css("display","block"),c.container.find(".mejs-control").css("visibility","hidden").css("display","block"),c.controlsAreVisible=!1,c.container.trigger("controlshidden")))},controlsTimer:null,startControlsTimer:function(a){var b=this;a="undefined"!=typeof a?a:1500,b.killControlsTimer("start"),b.controlsTimer=setTimeout(function(){b.hideControls(),b.killControlsTimer("hide")},a)},killControlsTimer:function(){var a=this;null!==a.controlsTimer&&(clearTimeout(a.controlsTimer),delete a.controlsTimer,a.controlsTimer=null)},controlsEnabled:!0,disableControls:function(){var a=this;a.killControlsTimer(),a.hideControls(!1),this.controlsEnabled=!1},enableControls:function(){var a=this;a.showControls(!1),a.controlsEnabled=!0},meReady:function(b,c){var d,e,f=this,g=mejs.MediaFeatures,h=c.getAttribute("autoplay"),i=!("undefined"==typeof h||null===h||"false"===h);if(!f.created){if(f.created=!0,f.media=b,f.domNode=c,!(g.isAndroid&&f.options.AndroidUseNativeControls||g.isiPad&&f.options.iPadUseNativeControls||g.isiPhone&&f.options.iPhoneUseNativeControls)){f.buildposter(f,f.controls,f.layers,f.media),f.buildkeyboard(f,f.controls,f.layers,f.media),f.buildoverlays(f,f.controls,f.layers,f.media),f.findTracks();for(d in f.options.features)if(e=f.options.features[d],f["build"+e])try{f["build"+e](f,f.controls,f.layers,f.media)}catch(j){}f.container.trigger("controlsready"),f.setPlayerSize(f.width,f.height),f.setControlsSize(),f.isVideo&&(mejs.MediaFeatures.hasTouch?f.$media.bind("touchstart",function(){f.controlsAreVisible?f.hideControls(!1):f.controlsEnabled&&f.showControls(!1)}):(f.clickToPlayPauseCallback=function(){f.options.clickToPlayPause&&(f.media.paused?f.play():f.pause())},f.media.addEventListener("click",f.clickToPlayPauseCallback,!1),f.container.bind("mouseenter mouseover",function(){f.controlsEnabled&&(f.options.alwaysShowControls||(f.killControlsTimer("enter"),f.showControls(),f.startControlsTimer(2500)))}).bind("mousemove",function(){f.controlsEnabled&&(f.controlsAreVisible||f.showControls(),f.options.alwaysShowControls||f.startControlsTimer(2500))}).bind("mouseleave",function(){f.controlsEnabled&&(f.media.paused||f.options.alwaysShowControls||f.startControlsTimer(1e3))})),f.options.hideVideoControlsOnLoad&&f.hideControls(!1),i&&!f.options.alwaysShowControls&&f.hideControls(),f.options.enableAutosize&&f.media.addEventListener("loadedmetadata",function(a){f.options.videoHeight<=0&&null===f.domNode.getAttribute("height")&&!isNaN(a.target.videoHeight)&&(f.setPlayerSize(a.target.videoWidth,a.target.videoHeight),f.setControlsSize(),f.media.setVideoSize(a.target.videoWidth,a.target.videoHeight))},!1)),b.addEventListener("play",function(){var a;for(a in mejs.players){var b=mejs.players[a];b.id==f.id||!f.options.pauseOtherPlayers||b.paused||b.ended||b.pause(),b.hasFocus=!1}f.hasFocus=!0},!1),f.media.addEventListener("ended",function(){if(f.options.autoRewind)try{f.media.setCurrentTime(0),window.setTimeout(function(){a(f.container).find(".mejs-overlay-loading").parent().hide()},20)}catch(b){}f.media.pause(),f.setProgressRail&&f.setProgressRail(),f.setCurrentRail&&f.setCurrentRail(),f.options.loop?f.play():!f.options.alwaysShowControls&&f.controlsEnabled&&f.showControls()},!1),f.media.addEventListener("loadedmetadata",function(){f.updateDuration&&f.updateDuration(),f.updateCurrent&&f.updateCurrent(),f.isFullScreen||(f.setPlayerSize(f.width,f.height),f.setControlsSize())},!1),f.container.focusout(function(b){if(b.relatedTarget){var c=a(b.relatedTarget);f.keyboardAction&&0===c.parents(".mejs-container").length&&(f.keyboardAction=!1,f.hideControls(!0))}}),setTimeout(function(){f.setPlayerSize(f.width,f.height),f.setControlsSize()},50),f.globalBind("resize",function(){f.isFullScreen||mejs.MediaFeatures.hasTrueNativeFullScreen&&document.webkitIsFullScreen||f.setPlayerSize(f.width,f.height),f.setControlsSize()}),"youtube"==f.media.pluginType&&(g.isiOS||g.isAndroid)&&f.container.find(".mejs-overlay-play").hide()}i&&"native"==b.pluginType&&f.play(),f.options.success&&("string"==typeof f.options.success?window[f.options.success](f.media,f.domNode,f):f.options.success(f.media,f.domNode,f))}},handleError:function(a){var b=this;b.controls.hide(),b.options.error&&b.options.error(a)},setPlayerSize:function(b,c){var d=this;if(!d.options.setDimensions)return!1;if("undefined"!=typeof b&&(d.width=b),"undefined"!=typeof c&&(d.height=c),d.height.toString().indexOf("%")>0||"none"!==d.$node.css("max-width")&&"t.width"!==d.$node.css("max-width")||d.$node[0].currentStyle&&"100%"===d.$node[0].currentStyle.maxWidth){var e=function(){return d.isVideo?d.media.videoWidth&&d.media.videoWidth>0?d.media.videoWidth:null!==d.media.getAttribute("width")?d.media.getAttribute("width"):d.options.defaultVideoWidth:d.options.defaultAudioWidth}(),f=function(){return d.isVideo?d.media.videoHeight&&d.media.videoHeight>0?d.media.videoHeight:null!==d.media.getAttribute("height")?d.media.getAttribute("height"):d.options.defaultVideoHeight:d.options.defaultAudioHeight}(),g=d.container.parent().closest(":visible").width(),h=d.container.parent().closest(":visible").height(),i=d.isVideo||!d.options.autosizeProgress?parseInt(g*f/e,10):f;isNaN(i)&&(i=h),d.container.parent().length>0&&"body"===d.container.parent()[0].tagName.toLowerCase()&&(g=a(window).width(),i=a(window).height()),i&&g&&(d.container.width(g).height(i),d.$media.add(d.container.find(".mejs-shim")).width("100%").height("100%"),d.isVideo&&d.media.setVideoSize&&d.media.setVideoSize(g,i),d.layers.children(".mejs-layer").width("100%").height("100%"))}else d.container.width(d.width).height(d.height),d.layers.children(".mejs-layer").width(d.width).height(d.height);var j=d.layers.find(".mejs-overlay-play"),k=j.find(".mejs-overlay-button");j.height(d.container.height()-d.controls.height()),k.css("margin-top","-"+(k.height()/2-d.controls.height()/2).toString()+"px")},setControlsSize:function(){var b=this,c=0,d=0,e=b.controls.find(".mejs-time-rail"),f=b.controls.find(".mejs-time-total"),g=(b.controls.find(".mejs-time-current"),b.controls.find(".mejs-time-loaded"),e.siblings()),h=g.last(),i=null;if(b.container.is(":visible")&&e.length&&e.is(":visible")){b.options&&!b.options.autosizeProgress&&(d=parseInt(e.css("width"),10)),0!==d&&d||(g.each(function(){var b=a(this);"absolute"!=b.css("position")&&b.is(":visible")&&(c+=a(this).outerWidth(!0))}),d=b.controls.width()-c-(e.outerWidth(!0)-e.width()));do e.width(d),f.width(d-(f.outerWidth(!0)-f.width())),"absolute"!=h.css("position")&&(i=h.length?h.position():null,d--);while(null!==i&&i.top>0&&d>0);b.setProgressRail&&b.setProgressRail(),b.setCurrentRail&&b.setCurrentRail()}},buildposter:function(b,c,d,e){var f=this,g=a('
                ').appendTo(d),h=b.$media.attr("poster");""!==b.options.poster&&(h=b.options.poster),h?f.setPoster(h):g.hide(),e.addEventListener("play",function(){g.hide()},!1),b.options.showPosterWhenEnded&&b.options.autoRewind&&e.addEventListener("ended",function(){g.show()},!1)},setPoster:function(b){var c=this,d=c.container.find(".mejs-poster"),e=d.find("img");0===e.length&&(e=a('').appendTo(d)),e.attr("src",b),d.css({"background-image":"url("+b+")"})},buildoverlays:function(b,c,d,e){var f=this;if(b.isVideo){var g=a('
                ').hide().appendTo(d),h=a('
                ').hide().appendTo(d),i=a('
                ').appendTo(d).bind("click",function(){f.options.clickToPlayPause&&e.paused&&e.play()});e.addEventListener("play",function(){i.hide(),g.hide(),c.find(".mejs-time-buffering").hide(),h.hide()},!1),e.addEventListener("playing",function(){i.hide(),g.hide(),c.find(".mejs-time-buffering").hide(),h.hide()},!1),e.addEventListener("seeking",function(){g.show(),c.find(".mejs-time-buffering").show()},!1),e.addEventListener("seeked",function(){g.hide(),c.find(".mejs-time-buffering").hide()},!1),e.addEventListener("pause",function(){mejs.MediaFeatures.isiPhone||i.show()},!1),e.addEventListener("waiting",function(){g.show(),c.find(".mejs-time-buffering").show()},!1),e.addEventListener("loadeddata",function(){g.show(),c.find(".mejs-time-buffering").show(),mejs.MediaFeatures.isAndroid&&(e.canplayTimeout=window.setTimeout(function(){if(document.createEvent){var a=document.createEvent("HTMLEvents");return a.initEvent("canplay",!0,!0),e.dispatchEvent(a)}},300))},!1),e.addEventListener("canplay",function(){g.hide(),c.find(".mejs-time-buffering").hide(),clearTimeout(e.canplayTimeout)},!1),e.addEventListener("error",function(){g.hide(),c.find(".mejs-time-buffering").hide(),h.show(),h.find(".mejs-overlay-error").html("Error loading this resource")},!1),e.addEventListener("keydown",function(a){f.onkeydown(b,e,a)},!1)}},buildkeyboard:function(b,c,d,e){var f=this;f.container.keydown(function(){f.keyboardAction=!0}),f.globalBind("keydown",function(a){return f.onkeydown(b,e,a)}),f.globalBind("click",function(c){b.hasFocus=0!==a(c.target).closest(".mejs-container").length})},onkeydown:function(a,b,c){if(a.hasFocus&&a.options.enableKeyboard)for(var d=0,e=a.options.keyActions.length;e>d;d++)for(var f=a.options.keyActions[d],g=0,h=f.keys.length;h>g;g++)if(c.keyCode==f.keys[g])return"function"==typeof c.preventDefault&&c.preventDefault(),f.action(a,b,c.keyCode),!1;return!0},findTracks:function(){var b=this,c=b.$media.find("track");b.tracks=[],c.each(function(c,d){d=a(d),b.tracks.push({srclang:d.attr("srclang")?d.attr("srclang").toLowerCase():"",src:d.attr("src"),kind:d.attr("kind"),label:d.attr("label")||"",entries:[],isLoaded:!1})})},changeSkin:function(a){this.container[0].className="mejs-container "+a,this.setPlayerSize(this.width,this.height),this.setControlsSize()},play:function(){this.load(),this.media.play()},pause:function(){try{this.media.pause()}catch(a){}},load:function(){this.isLoaded||this.media.load(),this.isLoaded=!0},setMuted:function(a){this.media.setMuted(a)},setCurrentTime:function(a){this.media.setCurrentTime(a)},getCurrentTime:function(){return this.media.currentTime},setVolume:function(a){this.media.setVolume(a)},getVolume:function(){return this.media.volume},setSrc:function(a){this.media.setSrc(a)},remove:function(){var a,b,c=this;for(a in c.options.features)if(b=c.options.features[a],c["clean"+b])try{c["clean"+b](c)}catch(d){}c.isDynamic?c.$node.insertBefore(c.container):(c.$media.prop("controls",!0),c.$node.clone().insertBefore(c.container).show(),c.$node.remove()),"native"!==c.media.pluginType&&c.media.remove(),delete mejs.players[c.id],"object"==typeof c.container&&c.container.remove(),c.globalUnbind(),delete c.node.player},rebuildtracks:function(){var a=this;a.findTracks(),a.buildtracks(a,a.controls,a.layers,a.media)},resetSize:function(){var a=this;setTimeout(function(){a.setPlayerSize(a.width,a.height),a.setControlsSize()},50)}},function(){function b(b,d){var e={d:[],w:[]};return a.each((b||"").split(" "),function(a,b){var f=b+"."+d;0===f.indexOf(".")?(e.d.push(f),e.w.push(f)):e[c.test(b)?"w":"d"].push(f)}),e.d=e.d.join(" "),e.w=e.w.join(" "),e}var c=/^((after|before)print|(before)?unload|hashchange|message|o(ff|n)line|page(hide|show)|popstate|resize|storage)\b/;mejs.MediaElementPlayer.prototype.globalBind=function(c,d,e){var f=this;c=b(c,f.id),c.d&&a(document).bind(c.d,d,e),c.w&&a(window).bind(c.w,d,e)},mejs.MediaElementPlayer.prototype.globalUnbind=function(c,d){var e=this;c=b(c,e.id),c.d&&a(document).unbind(c.d,d),c.w&&a(window).unbind(c.w,d)}}(),"undefined"!=typeof a&&(a.fn.mediaelementplayer=function(b){return this.each(b===!1?function(){var b=a(this).data("mediaelementplayer");b&&b.remove(),a(this).removeData("mediaelementplayer")}:function(){a(this).data("mediaelementplayer",new mejs.MediaElementPlayer(this,b))}),this},a(document).ready(function(){a(".mejs-player").mediaelementplayer()})),window.MediaElementPlayer=mejs.MediaElementPlayer}(mejs.$),function(a){a.extend(mejs.MepDefaults,{playText:mejs.i18n.t("Play"),pauseText:mejs.i18n.t("Pause")}),a.extend(MediaElementPlayer.prototype,{buildplaypause:function(b,c,d,e){function f(a){"play"===a?(i.removeClass("mejs-play").addClass("mejs-pause"),j.attr({title:h.pauseText,"aria-label":h.pauseText})):(i.removeClass("mejs-pause").addClass("mejs-play"),j.attr({title:h.playText,"aria-label":h.playText}))}var g=this,h=g.options,i=a('
                ').appendTo(c).click(function(a){return a.preventDefault(),e.paused?e.play():e.pause(),!1}),j=i.find("button");f("pse"),e.addEventListener("play",function(){f("play")},!1),e.addEventListener("playing",function(){f("play")},!1),e.addEventListener("pause",function(){f("pse")},!1),e.addEventListener("paused",function(){f("pse")},!1)}})}(mejs.$),function(a){a.extend(mejs.MepDefaults,{stopText:"Stop"}),a.extend(MediaElementPlayer.prototype,{buildstop:function(b,c,d,e){{var f=this;a('
                ').appendTo(c).click(function(){e.paused||e.pause(),e.currentTime>0&&(e.setCurrentTime(0),e.pause(),c.find(".mejs-time-current").width("0px"),c.find(".mejs-time-handle").css("left","0px"),c.find(".mejs-time-float-current").html(mejs.Utility.secondsToTimeCode(0)),c.find(".mejs-currenttime").html(mejs.Utility.secondsToTimeCode(0)),d.find(".mejs-poster").show())})}}})}(mejs.$),function(a){a.extend(mejs.MepDefaults,{progessHelpText:mejs.i18n.t("Use Left/Right Arrow keys to advance one second, Up/Down arrows to advance ten seconds.")}),a.extend(MediaElementPlayer.prototype,{buildprogress:function(b,c,d,e){a('
                00:00
                ').appendTo(c),c.find(".mejs-time-buffering").hide();var f=this,g=c.find(".mejs-time-total"),h=c.find(".mejs-time-loaded"),i=c.find(".mejs-time-current"),j=c.find(".mejs-time-handle"),k=c.find(".mejs-time-float"),l=c.find(".mejs-time-float-current"),m=c.find(".mejs-time-slider"),n=function(a){var b,c=g.offset(),d=g.outerWidth(!0),f=0,h=0,i=0;b=a.originalEvent.changedTouches?a.originalEvent.changedTouches[0].pageX:a.pageX,e.duration&&(bd+c.left&&(b=d+c.left),i=b-c.left,f=i/d,h=.02>=f?0:f*e.duration,o&&h!==e.currentTime&&e.setCurrentTime(h),mejs.MediaFeatures.hasTouch||(k.css("left",i),l.html(mejs.Utility.secondsToTimeCode(h)),k.show()))},o=!1,p=!1,q=0,r=!1,s=b.options.autoRewind,t=function(){var a=e.currentTime,b=mejs.i18n.t("Time Slider"),c=mejs.Utility.secondsToTimeCode(a),d=e.duration;m.attr({"aria-label":b,"aria-valuemin":0,"aria-valuemax":d,"aria-valuenow":a,"aria-valuetext":c,role:"slider",tabindex:0})},u=function(){var a=new Date;a-q>=1e3&&e.play()};m.bind("focus",function(){b.options.autoRewind=!1}),m.bind("blur",function(){b.options.autoRewind=s}),m.bind("keydown",function(a){new Date-q>=1e3&&(r=e.paused);var b=a.keyCode,c=e.duration,d=e.currentTime;switch(b){case 37:d-=1;break;case 39:d+=1;break;case 38:d+=Math.floor(.1*c);break;case 40:d-=Math.floor(.1*c);break;case 36:d=0;break;case 35:d=c;break;case 10:return void(e.paused?e.play():e.pause());case 13:return void(e.paused?e.play():e.pause());default:return}return d=0>d?0:d>=c?c:Math.floor(d),q=new Date,r||e.pause(),d0&&c.buffered.end&&c.duration?d=c.buffered.end(0)/c.duration:c&&void 0!==c.bytesTotal&&c.bytesTotal>0&&void 0!==c.bufferedBytes?d=c.bufferedBytes/c.bytesTotal:a&&a.lengthComputable&&0!==a.total&&(d=a.loaded/a.total),null!==d&&(d=Math.min(1,Math.max(0,d)),b.loaded&&b.total&&b.loaded.width(b.total.width()*d))},setCurrentRail:function(){var a=this;if(void 0!==a.media.currentTime&&a.media.duration&&a.total&&a.handle){var b=Math.round(a.total.width()*a.media.currentTime/a.media.duration),c=b-Math.round(a.handle.outerWidth(!0)/2);a.current.width(b),a.handle.css("left",c)}}})}(mejs.$),function(a){a.extend(mejs.MepDefaults,{duration:-1,timeAndDurationSeparator:" | "}),a.extend(MediaElementPlayer.prototype,{buildcurrent:function(b,c,d,e){var f=this;a('
                '+(b.options.alwaysShowHours?"00:":"")+(b.options.showTimecodeFrameCount?"00:00:00":"00:00")+"
                ").appendTo(c),f.currenttime=f.controls.find(".mejs-currenttime"),e.addEventListener("timeupdate",function(){b.updateCurrent()},!1)},buildduration:function(b,c,d,e){var f=this;c.children().last().find(".mejs-currenttime").length>0?a(f.options.timeAndDurationSeparator+''+(f.options.duration>0?mejs.Utility.secondsToTimeCode(f.options.duration,f.options.alwaysShowHours||f.media.duration>3600,f.options.showTimecodeFrameCount,f.options.framesPerSecond||25):(b.options.alwaysShowHours?"00:":"")+(b.options.showTimecodeFrameCount?"00:00:00":"00:00"))+"").appendTo(c.find(".mejs-time")):(c.find(".mejs-currenttime").parent().addClass("mejs-currenttime-container"),a('
                '+(f.options.duration>0?mejs.Utility.secondsToTimeCode(f.options.duration,f.options.alwaysShowHours||f.media.duration>3600,f.options.showTimecodeFrameCount,f.options.framesPerSecond||25):(b.options.alwaysShowHours?"00:":"")+(b.options.showTimecodeFrameCount?"00:00:00":"00:00"))+"
                ").appendTo(c)),f.durationD=f.controls.find(".mejs-duration"),e.addEventListener("timeupdate",function(){b.updateDuration()},!1)},updateCurrent:function(){var a=this;a.currenttime&&a.currenttime.html(mejs.Utility.secondsToTimeCode(a.media.currentTime,a.options.alwaysShowHours||a.media.duration>3600,a.options.showTimecodeFrameCount,a.options.framesPerSecond||25))},updateDuration:function(){var a=this;a.container.toggleClass("mejs-long-video",a.media.duration>3600),a.durationD&&(a.options.duration>0||a.media.duration)&&a.durationD.html(mejs.Utility.secondsToTimeCode(a.options.duration>0?a.options.duration:a.media.duration,a.options.alwaysShowHours,a.options.showTimecodeFrameCount,a.options.framesPerSecond||25))}})}(mejs.$),function(a){a.extend(mejs.MepDefaults,{muteText:mejs.i18n.t("Mute Toggle"),allyVolumeControlText:mejs.i18n.t("Use Up/Down Arrow keys to increase or decrease volume."),hideVolumeOnTouchDevices:!0,audioVolume:"horizontal",videoVolume:"vertical"}),a.extend(MediaElementPlayer.prototype,{buildvolume:function(b,c,d,e){if(!mejs.MediaFeatures.isAndroid&&!mejs.MediaFeatures.isiOS||!this.options.hideVolumeOnTouchDevices){var f=this,g=f.isVideo?f.options.videoVolume:f.options.audioVolume,h="horizontal"==g?a('
                '+f.options.allyVolumeControlText+'
                ').appendTo(c):a('').appendTo(c),i=f.container.find(".mejs-volume-slider, .mejs-horizontal-volume-slider"),j=f.container.find(".mejs-volume-total, .mejs-horizontal-volume-total"),k=f.container.find(".mejs-volume-current, .mejs-horizontal-volume-current"),l=f.container.find(".mejs-volume-handle, .mejs-horizontal-volume-handle"),m=function(a,b){if(!i.is(":visible")&&"undefined"==typeof b)return i.show(),m(a,!0),void i.hide();a=Math.max(0,a),a=Math.min(a,1),0===a?(h.removeClass("mejs-mute").addClass("mejs-unmute"),h.children("button").attr("title",mejs.i18n.t("Unmute")).attr("aria-label",mejs.i18n.t("Unmute"))):(h.removeClass("mejs-unmute").addClass("mejs-mute"),h.children("button").attr("title",mejs.i18n.t("Mute")).attr("aria-label",mejs.i18n.t("Mute")));var c=j.position();if("vertical"==g){var d=j.height(),e=d-d*a;l.css("top",Math.round(c.top+e-l.height()/2)),k.height(d-e),k.css("top",c.top+e)}else{var f=j.width(),n=f*a;l.css("left",Math.round(c.left+n-l.width()/2)),k.width(Math.round(n))}},n=function(a){var b=null,c=j.offset();if("vertical"===g){var d=j.height(),f=(parseInt(j.css("top").replace(/px/,""),10),a.pageY-c.top);if(b=(d-f)/d,0===c.top||0===c.left)return}else{var h=j.width(),i=a.pageX-c.left;b=i/h}b=Math.max(0,b),b=Math.min(b,1),m(b),e.setMuted(0===b?!0:!1),e.setVolume(b)},o=!1,p=!1;h.hover(function(){i.show(),p=!0},function(){p=!1,o||"vertical"!=g||i.hide()});var q=function(){var a=Math.floor(100*e.volume);i.attr({"aria-label":mejs.i18n.t("volumeSlider"),"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":a,"aria-valuetext":a+"%",role:"slider",tabindex:0})};i.bind("mouseover",function(){p=!0}).bind("mousedown",function(a){return n(a),f.globalBind("mousemove.vol",function(a){n(a)}),f.globalBind("mouseup.vol",function(){o=!1,f.globalUnbind(".vol"),p||"vertical"!=g||i.hide()}),o=!0,!1}).bind("keydown",function(a){var b=a.keyCode,c=e.volume;switch(b){case 38:c+=.1;break;case 40:c-=.1;break;default:return!0}return o=!1,m(c),e.setVolume(c),!1}).bind("blur",function(){i.hide()}),h.find("button").click(function(){e.setMuted(!e.muted)}),h.find("button").bind("focus",function(){i.show()}),e.addEventListener("volumechange",function(a){o||(e.muted?(m(0),h.removeClass("mejs-mute").addClass("mejs-unmute")):(m(e.volume),h.removeClass("mejs-unmute").addClass("mejs-mute"))),q(a)},!1),f.container.is(":visible")&&(m(b.options.startVolume),0===b.options.startVolume&&e.setMuted(!0),"native"===e.pluginType&&e.setVolume(b.options.startVolume))}}})}(mejs.$),function(a){a.extend(mejs.MepDefaults,{usePluginFullScreen:!0,newWindowCallback:function(){return""},fullscreenText:mejs.i18n.t("Fullscreen")}),a.extend(MediaElementPlayer.prototype,{isFullScreen:!1,isNativeFullScreen:!1,isInIframe:!1,buildfullscreen:function(b,c,d,e){if(b.isVideo){if(b.isInIframe=window.location!=window.parent.location,mejs.MediaFeatures.hasTrueNativeFullScreen){var f=function(){b.isFullScreen&&(mejs.MediaFeatures.isFullScreen()?(b.isNativeFullScreen=!0,b.setControlsSize()):(b.isNativeFullScreen=!1,b.exitFullScreen()))};b.globalBind(mejs.MediaFeatures.fullScreenEventName,f)}var g=this,h=(b.container,a('
                ').appendTo(c));if("native"===g.media.pluginType||!g.options.usePluginFullScreen&&!mejs.MediaFeatures.isFirefox)h.click(function(){var a=mejs.MediaFeatures.hasTrueNativeFullScreen&&mejs.MediaFeatures.isFullScreen()||b.isFullScreen;a?b.exitFullScreen():b.enterFullScreen()});else{var i=null,j=function(){var a,b=document.createElement("x"),c=document.documentElement,d=window.getComputedStyle;return"pointerEvents"in b.style?(b.style.pointerEvents="auto",b.style.pointerEvents="x",c.appendChild(b),a=d&&"auto"===d(b,"").pointerEvents,c.removeChild(b),!!a):!1}();if(j&&!mejs.MediaFeatures.isOpera){var k,l,m=!1,n=function(){if(m){for(var a in o)o[a].hide();h.css("pointer-events",""),g.controls.css("pointer-events",""),g.media.removeEventListener("click",g.clickToPlayPauseCallback),m=!1}},o={},p=["top","left","right","bottom"],q=function(){var a=h.offset().left-g.container.offset().left,b=h.offset().top-g.container.offset().top,c=h.outerWidth(!0),d=h.outerHeight(!0),e=g.container.width(),f=g.container.height();for(k in o)o[k].css({position:"absolute",top:0,left:0});o.top.width(e).height(b),o.left.width(a).height(d).css({top:b}),o.right.width(e-a-c).height(d).css({top:b,left:a+c}),o.bottom.width(e).height(f-d-b).css({top:b+d})};for(g.globalBind("resize",function(){q()}),k=0,l=p.length;l>k;k++)o[p[k]]=a('
                ').appendTo(g.container).mouseover(n).hide();h.on("mouseover",function(){if(!g.isFullScreen){var a=h.offset(),c=b.container.offset();e.positionFullscreenButton(a.left-c.left,a.top-c.top,!1),h.css("pointer-events","none"),g.controls.css("pointer-events","none"),g.media.addEventListener("click",g.clickToPlayPauseCallback);for(k in o)o[k].show(); -q(),m=!0}}),e.addEventListener("fullscreenchange",function(){g.isFullScreen=!g.isFullScreen,g.isFullScreen?g.media.removeEventListener("click",g.clickToPlayPauseCallback):g.media.addEventListener("click",g.clickToPlayPauseCallback),n()}),g.globalBind("mousemove",function(a){if(m){var b=h.offset();(a.pageYb.top+h.outerHeight(!0)||a.pageXb.left+h.outerWidth(!0))&&(h.css("pointer-events",""),g.controls.css("pointer-events",""),m=!1)}})}else h.on("mouseover",function(){null!==i&&(clearTimeout(i),delete i);var a=h.offset(),c=b.container.offset();e.positionFullscreenButton(a.left-c.left,a.top-c.top,!0)}).on("mouseout",function(){null!==i&&(clearTimeout(i),delete i),i=setTimeout(function(){e.hideFullscreenButton()},1500)})}b.fullscreenBtn=h,g.globalBind("keydown",function(a){(mejs.MediaFeatures.hasTrueNativeFullScreen&&mejs.MediaFeatures.isFullScreen()||g.isFullScreen)&&27==a.keyCode&&b.exitFullScreen()})}},cleanfullscreen:function(a){a.exitFullScreen()},containerSizeTimeout:null,enterFullScreen:function(){var b=this;if("native"===b.media.pluginType||!mejs.MediaFeatures.isFirefox&&!b.options.usePluginFullScreen){if(a(document.documentElement).addClass("mejs-fullscreen"),normalHeight=b.container.height(),normalWidth=b.container.width(),"native"===b.media.pluginType)if(mejs.MediaFeatures.hasTrueNativeFullScreen)mejs.MediaFeatures.requestFullScreen(b.container[0]),b.isInIframe&&setTimeout(function d(){if(b.isNativeFullScreen){var c=window.devicePixelRatio||1,e=.002,f=c*a(window).width(),g=screen.width,h=Math.abs(g-f),i=g*e;h>i?b.exitFullScreen():setTimeout(d,500)}},500);else if(mejs.MediaFeatures.hasSemiNativeFullScreen)return void b.media.webkitEnterFullscreen();if(b.isInIframe){var c=b.options.newWindowCallback(this);if(""!==c){if(!mejs.MediaFeatures.hasTrueNativeFullScreen)return b.pause(),void window.open(c,b.id,"top=0,left=0,width="+screen.availWidth+",height="+screen.availHeight+",resizable=yes,scrollbars=no,status=no,toolbar=no");setTimeout(function(){b.isNativeFullScreen||(b.pause(),window.open(c,b.id,"top=0,left=0,width="+screen.availWidth+",height="+screen.availHeight+",resizable=yes,scrollbars=no,status=no,toolbar=no"))},250)}}b.container.addClass("mejs-container-fullscreen").width("100%").height("100%"),b.containerSizeTimeout=setTimeout(function(){b.container.css({width:"100%",height:"100%"}),b.setControlsSize()},500),"native"===b.media.pluginType?b.$media.width("100%").height("100%"):(b.container.find(".mejs-shim").width("100%").height("100%"),b.media.setVideoSize(a(window).width(),a(window).height())),b.layers.children("div").width("100%").height("100%"),b.fullscreenBtn&&b.fullscreenBtn.removeClass("mejs-fullscreen").addClass("mejs-unfullscreen"),b.setControlsSize(),b.isFullScreen=!0,b.container.find(".mejs-captions-text").css("font-size",screen.width/b.width*1*100+"%"),b.container.find(".mejs-captions-position").css("bottom","45px")}},exitFullScreen:function(){var b=this;return clearTimeout(b.containerSizeTimeout),"native"!==b.media.pluginType&&mejs.MediaFeatures.isFirefox?void b.media.setFullscreen(!1):(mejs.MediaFeatures.hasTrueNativeFullScreen&&(mejs.MediaFeatures.isFullScreen()||b.isFullScreen)&&mejs.MediaFeatures.cancelFullScreen(),a(document.documentElement).removeClass("mejs-fullscreen"),b.container.removeClass("mejs-container-fullscreen").width(normalWidth).height(normalHeight),"native"===b.media.pluginType?b.$media.width(normalWidth).height(normalHeight):(b.container.find(".mejs-shim").width(normalWidth).height(normalHeight),b.media.setVideoSize(normalWidth,normalHeight)),b.layers.children("div").width(normalWidth).height(normalHeight),b.fullscreenBtn.removeClass("mejs-unfullscreen").addClass("mejs-fullscreen"),b.setControlsSize(),b.isFullScreen=!1,b.container.find(".mejs-captions-text").css("font-size",""),void b.container.find(".mejs-captions-position").css("bottom",""))}})}(mejs.$),function(a){a.extend(mejs.MepDefaults,{speeds:["2.00","1.50","1.25","1.00","0.75"],defaultSpeed:"1.00",speedChar:"x"}),a.extend(MediaElementPlayer.prototype,{buildspeed:function(b,c,d,e){var f=this;if("native"==f.media.pluginType){var g=null,h=null,i=null,j='
                  ';-1===a.inArray(f.options.defaultSpeed,f.options.speeds)&&f.options.speeds.push(f.options.defaultSpeed),f.options.speeds.sort(function(a,b){return parseFloat(b)-parseFloat(a)});for(var k=0,l=f.options.speeds.length;l>k;k++)i=f.id+"-speed-"+f.options.speeds[k],j+='
                • ";j+="
                ",g=a(j).appendTo(c),h=g.find(".mejs-speed-selector"),playbackspeed=f.options.defaultSpeed,h.on("click",'input[type="radio"]',function(){var b=a(this).attr("value");playbackspeed=b,e.playbackRate=parseFloat(b),g.find("button").html(b+f.options.speedChar),g.find(".mejs-speed-selected").removeClass("mejs-speed-selected"),g.find('input[type="radio"]:checked').next().addClass("mejs-speed-selected")}),h.height(g.find(".mejs-speed-selector ul").outerHeight(!0)+g.find(".mejs-speed-translations").outerHeight(!0)).css("top",-1*h.height()+"px")}}})}(mejs.$),function(a){a.extend(mejs.MepDefaults,{startLanguage:"",tracksText:mejs.i18n.t("Captions/Subtitles"),tracksAriaLive:!1,hideCaptionsButtonWhenEmpty:!0,toggleCaptionsButtonWhenOnlyOne:!1,slidesSelector:""}),a.extend(MediaElementPlayer.prototype,{hasChapters:!1,cleartracks:function(a){a&&(a.captions&&a.captions.remove(),a.chapters&&a.chapters.remove(),a.captionsText&&a.captionsText.remove(),a.captionsButton&&a.captionsButton.remove())},buildtracks:function(b,c,d,e){if(0!==b.tracks.length){var f,g=this,h=g.options.tracksAriaLive?'role="log" aria-live="assertive" aria-atomic="false"':"";if(g.domNode.textTracks)for(f=g.domNode.textTracks.length-1;f>=0;f--)g.domNode.textTracks[f].mode="hidden";g.cleartracks(b,c,d,e),b.chapters=a('
                ').prependTo(d).hide(),b.captions=a('
                ').prependTo(d).hide(),b.captionsText=b.captions.find(".mejs-captions-text"),b.captionsButton=a('
                ").appendTo(c);var i=0;for(f=0;f0&&c.displayChapters(d)},!1),"slides"==d.kind&&c.setupSlides(d)},error:function(){c.loadNextTrack()}})},enableTrackButton:function(b,c){var d=this;""===c&&(c=mejs.language.codes[b]||b),d.captionsButton.find("input[value="+b+"]").prop("disabled",!1).siblings("label").html(c),d.options.startLanguage==b&&a("#"+d.id+"_captions_"+b).prop("checked",!0).trigger("click"),d.adjustLanguageBox()},addTrackButton:function(b,c){var d=this;""===c&&(c=mejs.language.codes[b]||b),d.captionsButton.find("ul").append(a('
              • ")),d.adjustLanguageBox(),d.container.find(".mejs-captions-translations option[value="+b+"]").remove()},adjustLanguageBox:function(){var a=this;a.captionsButton.find(".mejs-captions-selector").height(a.captionsButton.find(".mejs-captions-selector ul").outerHeight(!0)+a.captionsButton.find(".mejs-captions-translations").outerHeight(!0))},checkForTracks:function(){var a=this,b=!1;if(a.options.hideCaptionsButtonWhenEmpty){for(i=0;i=c.entries.times[a].start&&b.media.currentTime<=c.entries.times[a].stop)return b.captionsText.html(c.entries.text[a]).attr("class","mejs-captions-text "+(c.entries.times[a].identifier||"")),void b.captions.show().height(0);b.captions.hide()}else b.captions.hide()}},setupSlides:function(a){var b=this;b.slides=a,b.slides.entries.imgs=[b.slides.entries.text.length],b.showSlide(0)},showSlide:function(b){if("undefined"!=typeof this.tracks&&"undefined"!=typeof this.slidesContainer){var c=this,d=c.slides.entries.text[b],e=c.slides.entries.imgs[b];"undefined"==typeof e||"undefined"==typeof e.fadeIn?c.slides.entries.imgs[b]=e=a('').on("load",function(){e.appendTo(c.slidesContainer).hide().fadeIn().siblings(":visible").fadeOut()}):e.is(":visible")||e.is(":animated")||e.fadeIn().siblings(":visible").fadeOut()}},displaySlides:function(){if("undefined"!=typeof this.slides){var a,b=this,c=b.slides;for(a=0;a=c.entries.times[a].start&&b.media.currentTime<=c.entries.times[a].stop)return void b.showSlide(a)}},displayChapters:function(){var a,b=this;for(a=0;a100||c==b.entries.times.length-1&&100>f+g)&&(f=100-g),e.chapters.append(a('
                '+b.entries.text[c]+''+mejs.Utility.secondsToTimeCode(b.entries.times[c].start)+"–"+mejs.Utility.secondsToTimeCode(b.entries.times[c].stop)+"
                ")),g+=f;e.chapters.find("div.mejs-chapter").click(function(){e.media.setCurrentTime(parseFloat(a(this).attr("rel"))),e.media.paused&&e.media.play()}),e.chapters.show()}}),mejs.language={codes:{af:"Afrikaans",sq:"Albanian",ar:"Arabic",be:"Belarusian",bg:"Bulgarian",ca:"Catalan",zh:"Chinese","zh-cn":"Chinese Simplified","zh-tw":"Chinese Traditional",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch",en:"English",et:"Estonian",fl:"Filipino",fi:"Finnish",fr:"French",gl:"Galician",de:"German",el:"Greek",ht:"Haitian Creole",iw:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",ga:"Irish",it:"Italian",ja:"Japanese",ko:"Korean",lv:"Latvian",lt:"Lithuanian",mk:"Macedonian",ms:"Malay",mt:"Maltese",no:"Norwegian",fa:"Persian",pl:"Polish",pt:"Portuguese",ro:"Romanian",ru:"Russian",sr:"Serbian",sk:"Slovak",sl:"Slovenian",es:"Spanish",sw:"Swahili",sv:"Swedish",tl:"Tagalog",th:"Thai",tr:"Turkish",uk:"Ukrainian",vi:"Vietnamese",cy:"Welsh",yi:"Yiddish"}},mejs.TrackFormatParser={webvtt:{pattern_timecode:/^((?:[0-9]{1,2}:)?[0-9]{2}:[0-9]{2}([,.][0-9]{1,3})?) --\> ((?:[0-9]{1,2}:)?[0-9]{2}:[0-9]{2}([,.][0-9]{3})?)(.*)$/,parse:function(b){for(var c,d,e,f=0,g=mejs.TrackFormatParser.split2(b,/\r?\n/),h={text:[],times:[]};f=0&&""!==g[f-1]&&(e=g[f-1]),f++,d=g[f],f++;""!==g[f]&&f$1"),h.text.push(d),h.times.push({identifier:e,start:0===mejs.Utility.convertSMPTEtoSeconds(c[1])?.2:mejs.Utility.convertSMPTEtoSeconds(c[1]),stop:mejs.Utility.convertSMPTEtoSeconds(c[3]),settings:c[5]})}e=""}return h}},dfxp:{parse:function(b){b=a(b).filter("tt");var c,d,e=0,f=b.children("div").eq(0),g=f.find("p"),h=b.find("#"+f.attr("style")),i={text:[],times:[]};if(h.length){var j=h.removeAttr("id").get(0).attributes;if(j.length)for(c={},e=0;e$1"),i.text.push(d),0===i.times.start&&(i.times.start=2)}return i}},split2:function(a,b){return a.split(b)}},3!="x\n\ny".split(/\n/gi).length&&(mejs.TrackFormatParser.split2=function(a,b){var c,d=[],e="";for(c=0;c
                ').appendTo(a("body")).hide(),b.container.bind("contextmenu",function(a){return b.isContextMenuEnabled?(a.preventDefault(),b.renderContextMenu(a.clientX-1,a.clientY-1),!1):void 0}),b.container.bind("click",function(){b.contextMenu.hide()}),b.contextMenu.bind("mouseleave",function(){b.startContextMenuTimer()})},cleancontextmenu:function(a){a.contextMenu.remove()},isContextMenuEnabled:!0,enableContextMenu:function(){this.isContextMenuEnabled=!0},disableContextMenu:function(){this.isContextMenuEnabled=!1},contextMenuTimeout:null,startContextMenuTimer:function(){var a=this;a.killContextMenuTimer(),a.contextMenuTimer=setTimeout(function(){a.hideContextMenu(),a.killContextMenuTimer()},750)},killContextMenuTimer:function(){var a=this.contextMenuTimer;null!=a&&(clearTimeout(a),delete a,a=null)},hideContextMenu:function(){this.contextMenu.hide()},renderContextMenu:function(b,c){for(var d=this,e="",f=d.options.contextMenuItems,g=0,h=f.length;h>g;g++)if(f[g].isSeparator)e+='
                ';else{var i=f[g].render(d);null!=i&&(e+='
                '+i+"
                ")}d.contextMenu.empty().append(a(e)).css({top:c,left:b}).show(),d.contextMenu.find(".mejs-contextmenu-item").each(function(){var b=a(this),c=parseInt(b.data("itemindex"),10),e=d.options.contextMenuItems[c];"undefined"!=typeof e.show&&e.show(b,d),b.click(function(){"undefined"!=typeof e.click&&e.click(d),d.contextMenu.hide()})}),setTimeout(function(){d.killControlsTimer("rev3")},100)}})}(mejs.$),function(a){a.extend(mejs.MepDefaults,{postrollCloseText:mejs.i18n.t("Close")}),a.extend(MediaElementPlayer.prototype,{buildpostroll:function(b,c,d){var e=this,f=e.container.find('link[rel="postroll"]').attr("href");"undefined"!=typeof f&&(b.postroll=a('').prependTo(d).hide(),e.media.addEventListener("ended",function(){a.ajax({dataType:"html",url:f,success:function(a){d.find(".mejs-postroll-layer-content").html(a)}}),b.postroll.show()},!1))}})}(mejs.$); \ No newline at end of file +"undefined"!=typeof jQuery?mejs.$=jQuery:"undefined"!=typeof Zepto?(mejs.$=Zepto,Zepto.fn.outerWidth=function(a){var b=$(this).width();return a&&(b+=parseInt($(this).css("margin-right"),10),b+=parseInt($(this).css("margin-left"),10)),b}):"undefined"!=typeof ender&&(mejs.$=ender),function(a){mejs.MepDefaults={poster:"",showPosterWhenEnded:!1,defaultVideoWidth:480,defaultVideoHeight:270,videoWidth:-1,videoHeight:-1,defaultAudioWidth:400,defaultAudioHeight:30,defaultSeekBackwardInterval:function(a){return.05*a.duration},defaultSeekForwardInterval:function(a){return.05*a.duration},setDimensions:!0,audioWidth:-1,audioHeight:-1,startVolume:.8,loop:!1,autoRewind:!0,enableAutosize:!0,timeFormat:"",alwaysShowHours:!1,showTimecodeFrameCount:!1,framesPerSecond:25,autosizeProgress:!0,alwaysShowControls:!1,hideVideoControlsOnLoad:!1,clickToPlayPause:!0,iPadUseNativeControls:!1,iPhoneUseNativeControls:!1,AndroidUseNativeControls:!1,features:["playpause","current","progress","duration","tracks","volume","fullscreen"],isVideo:!0,enableKeyboard:!0,pauseOtherPlayers:!0,keyActions:[{keys:[32,179],action:function(a,b){b.paused||b.ended?b.play():b.pause()}},{keys:[38],action:function(a,b){a.container.find(".mejs-volume-slider").css("display","block"),a.isVideo&&(a.showControls(),a.startControlsTimer());var c=Math.min(b.volume+.1,1);b.setVolume(c)}},{keys:[40],action:function(a,b){a.container.find(".mejs-volume-slider").css("display","block"),a.isVideo&&(a.showControls(),a.startControlsTimer());var c=Math.max(b.volume-.1,0);b.setVolume(c)}},{keys:[37,227],action:function(a,b){if(!isNaN(b.duration)&&b.duration>0){a.isVideo&&(a.showControls(),a.startControlsTimer());var c=Math.max(b.currentTime-a.options.defaultSeekBackwardInterval(b),0);b.setCurrentTime(c)}}},{keys:[39,228],action:function(a,b){if(!isNaN(b.duration)&&b.duration>0){a.isVideo&&(a.showControls(),a.startControlsTimer());var c=Math.min(b.currentTime+a.options.defaultSeekForwardInterval(b),b.duration);b.setCurrentTime(c)}}},{keys:[70],action:function(a){"undefined"!=typeof a.enterFullScreen&&(a.isFullScreen?a.exitFullScreen():a.enterFullScreen())}},{keys:[77],action:function(a){a.container.find(".mejs-volume-slider").css("display","block"),a.isVideo&&(a.showControls(),a.startControlsTimer()),a.setMuted(a.media.muted?!1:!0)}}]},mejs.mepIndex=0,mejs.players={},mejs.MediaElementPlayer=function(b,c){if(!(this instanceof mejs.MediaElementPlayer))return new mejs.MediaElementPlayer(b,c);var d=this;return d.$media=d.$node=a(b),d.node=d.media=d.$media[0],d.node?"undefined"!=typeof d.node.player?d.node.player:("undefined"==typeof c&&(c=d.$node.data("mejsoptions")),d.options=a.extend({},mejs.MepDefaults,c),d.options.timeFormat||(d.options.timeFormat="mm:ss",d.options.alwaysShowHours&&(d.options.timeFormat="hh:mm:ss"),d.options.showTimecodeFrameCount&&(d.options.timeFormat+=":ff")),mejs.Utility.calculateTimeFormat(0,d.options,d.options.framesPerSecond||25),d.id="mep_"+mejs.mepIndex++,mejs.players[d.id]=d,d.init(),d):void 0},mejs.MediaElementPlayer.prototype={hasFocus:!1,controlsAreVisible:!0,init:function(){var b=this,c=mejs.MediaFeatures,d=a.extend(!0,{},b.options,{success:function(a,c){b.meReady(a,c)},error:function(a){b.handleError(a)}}),e=b.media.tagName.toLowerCase();if(b.isDynamic="audio"!==e&&"video"!==e,b.isVideo=b.isDynamic?b.options.isVideo:"audio"!==e&&b.options.isVideo,c.isiPad&&b.options.iPadUseNativeControls||c.isiPhone&&b.options.iPhoneUseNativeControls)b.$media.attr("controls","controls"),c.isiPad&&null!==b.media.getAttribute("autoplay")&&b.play();else if(c.isAndroid&&b.options.AndroidUseNativeControls);else{b.$media.removeAttr("controls");var f=mejs.i18n.t(b.isVideo?"Video Player":"Audio Player");if(a(''+f+"").insertBefore(b.$media),b.container=a('
                ').addClass(b.$media[0].className).insertBefore(b.$media).focus(function(){if(!b.controlsAreVisible){b.showControls(!0);var a=b.container.find(".mejs-playpause-button > button");a.focus()}}),b.container.addClass((c.isAndroid?"mejs-android ":"")+(c.isiOS?"mejs-ios ":"")+(c.isiPad?"mejs-ipad ":"")+(c.isiPhone?"mejs-iphone ":"")+(b.isVideo?"mejs-video ":"mejs-audio ")),c.isiOS){var g=b.$media.clone();b.container.find(".mejs-mediaelement").append(g),b.$media.remove(),b.$node=b.$media=g,b.node=b.media=g[0]}else b.container.find(".mejs-mediaelement").append(b.$media);b.node.player=b,b.controls=b.container.find(".mejs-controls"),b.layers=b.container.find(".mejs-layers");var h=b.isVideo?"video":"audio",i=h.substring(0,1).toUpperCase()+h.substring(1);b.width=b.options[h+"Width"]>0||b.options[h+"Width"].toString().indexOf("%")>-1?b.options[h+"Width"]:""!==b.media.style.width&&null!==b.media.style.width?b.media.style.width:null!==b.media.getAttribute("width")?b.$media.attr("width"):b.options["default"+i+"Width"],b.height=b.options[h+"Height"]>0||b.options[h+"Height"].toString().indexOf("%")>-1?b.options[h+"Height"]:""!==b.media.style.height&&null!==b.media.style.height?b.media.style.height:null!==b.$media[0].getAttribute("height")?b.$media.attr("height"):b.options["default"+i+"Height"],b.setPlayerSize(b.width,b.height),d.pluginWidth=b.width,d.pluginHeight=b.height}mejs.MediaElement(b.$media[0],d),"undefined"!=typeof b.container&&b.controlsAreVisible&&b.container.trigger("controlsshown")},showControls:function(a){var b=this;a="undefined"==typeof a||a,b.controlsAreVisible||(a?(b.controls.css("visibility","visible").stop(!0,!0).fadeIn(200,function(){b.controlsAreVisible=!0,b.container.trigger("controlsshown")}),b.container.find(".mejs-control").css("visibility","visible").stop(!0,!0).fadeIn(200,function(){b.controlsAreVisible=!0})):(b.controls.css("visibility","visible").css("display","block"),b.container.find(".mejs-control").css("visibility","visible").css("display","block"),b.controlsAreVisible=!0,b.container.trigger("controlsshown")),b.setControlsSize())},hideControls:function(b){var c=this;b="undefined"==typeof b||b,!c.controlsAreVisible||c.options.alwaysShowControls||c.keyboardAction||(b?(c.controls.stop(!0,!0).fadeOut(200,function(){a(this).css("visibility","hidden").css("display","block"),c.controlsAreVisible=!1,c.container.trigger("controlshidden")}),c.container.find(".mejs-control").stop(!0,!0).fadeOut(200,function(){a(this).css("visibility","hidden").css("display","block")})):(c.controls.css("visibility","hidden").css("display","block"),c.container.find(".mejs-control").css("visibility","hidden").css("display","block"),c.controlsAreVisible=!1,c.container.trigger("controlshidden")))},controlsTimer:null,startControlsTimer:function(a){var b=this;a="undefined"!=typeof a?a:1500,b.killControlsTimer("start"),b.controlsTimer=setTimeout(function(){b.hideControls(),b.killControlsTimer("hide")},a)},killControlsTimer:function(){var a=this;null!==a.controlsTimer&&(clearTimeout(a.controlsTimer),delete a.controlsTimer,a.controlsTimer=null)},controlsEnabled:!0,disableControls:function(){var a=this;a.killControlsTimer(),a.hideControls(!1),this.controlsEnabled=!1},enableControls:function(){var a=this;a.showControls(!1),a.controlsEnabled=!0},meReady:function(b,c){var d,e,f=this,g=mejs.MediaFeatures,h=c.getAttribute("autoplay"),i=!("undefined"==typeof h||null===h||"false"===h);if(!f.created){if(f.created=!0,f.media=b,f.domNode=c,!(g.isAndroid&&f.options.AndroidUseNativeControls||g.isiPad&&f.options.iPadUseNativeControls||g.isiPhone&&f.options.iPhoneUseNativeControls)){f.buildposter(f,f.controls,f.layers,f.media),f.buildkeyboard(f,f.controls,f.layers,f.media),f.buildoverlays(f,f.controls,f.layers,f.media),f.findTracks();for(d in f.options.features)if(e=f.options.features[d],f["build"+e])try{f["build"+e](f,f.controls,f.layers,f.media)}catch(j){}f.container.trigger("controlsready"),f.setPlayerSize(f.width,f.height),f.setControlsSize(),f.isVideo&&(mejs.MediaFeatures.hasTouch?f.$media.bind("touchstart",function(){f.controlsAreVisible?f.hideControls(!1):f.controlsEnabled&&f.showControls(!1)}):(f.clickToPlayPauseCallback=function(){f.options.clickToPlayPause&&(f.media.paused?f.play():f.pause())},f.media.addEventListener("click",f.clickToPlayPauseCallback,!1),f.container.bind("mouseenter",function(){f.controlsEnabled&&(f.options.alwaysShowControls||(f.killControlsTimer("enter"),f.showControls(),f.startControlsTimer(2500)))}).bind("mousemove",function(){f.controlsEnabled&&(f.controlsAreVisible||f.showControls(),f.options.alwaysShowControls||f.startControlsTimer(2500))}).bind("mouseleave",function(){f.controlsEnabled&&(f.media.paused||f.options.alwaysShowControls||f.startControlsTimer(1e3))})),f.options.hideVideoControlsOnLoad&&f.hideControls(!1),i&&!f.options.alwaysShowControls&&f.hideControls(),f.options.enableAutosize&&f.media.addEventListener("loadedmetadata",function(a){f.options.videoHeight<=0&&null===f.domNode.getAttribute("height")&&!isNaN(a.target.videoHeight)&&(f.setPlayerSize(a.target.videoWidth,a.target.videoHeight),f.setControlsSize(),f.media.setVideoSize(a.target.videoWidth,a.target.videoHeight))},!1)),b.addEventListener("play",function(){var a;for(a in mejs.players){var b=mejs.players[a];b.id==f.id||!f.options.pauseOtherPlayers||b.paused||b.ended||b.pause(),b.hasFocus=!1}f.hasFocus=!0},!1),f.media.addEventListener("ended",function(){if(f.options.autoRewind)try{f.media.setCurrentTime(0),window.setTimeout(function(){a(f.container).find(".mejs-overlay-loading").parent().hide()},20)}catch(b){}f.media.pause(),f.setProgressRail&&f.setProgressRail(),f.setCurrentRail&&f.setCurrentRail(),f.options.loop?f.play():!f.options.alwaysShowControls&&f.controlsEnabled&&f.showControls()},!1),f.media.addEventListener("loadedmetadata",function(){f.updateDuration&&f.updateDuration(),f.updateCurrent&&f.updateCurrent(),f.isFullScreen||(f.setPlayerSize(f.width,f.height),f.setControlsSize())},!1);var k=null;f.media.addEventListener("timeupdate",function(){k!==this.duration&&(k=this.duration,mejs.Utility.calculateTimeFormat(k,f.options,f.options.framesPerSecond||25))},!1),f.container.focusout(function(b){if(b.relatedTarget){var c=a(b.relatedTarget);f.keyboardAction&&0===c.parents(".mejs-container").length&&(f.keyboardAction=!1,f.hideControls(!0))}}),setTimeout(function(){f.setPlayerSize(f.width,f.height),f.setControlsSize()},50),f.globalBind("resize",function(){f.isFullScreen||mejs.MediaFeatures.hasTrueNativeFullScreen&&document.webkitIsFullScreen||f.setPlayerSize(f.width,f.height),f.setControlsSize()}),"youtube"==f.media.pluginType&&(g.isiOS||g.isAndroid)&&f.container.find(".mejs-overlay-play").hide()}i&&"native"==b.pluginType&&f.play(),f.options.success&&("string"==typeof f.options.success?window[f.options.success](f.media,f.domNode,f):f.options.success(f.media,f.domNode,f))}},handleError:function(a){var b=this;b.controls.hide(),b.options.error&&b.options.error(a)},setPlayerSize:function(b,c){var d=this;if(!d.options.setDimensions)return!1;if("undefined"!=typeof b&&(d.width=b),"undefined"!=typeof c&&(d.height=c),d.height.toString().indexOf("%")>0||"none"!==d.$node.css("max-width")&&"t.width"!==d.$node.css("max-width")||d.$node[0].currentStyle&&"100%"===d.$node[0].currentStyle.maxWidth){var e=function(){return d.isVideo?d.media.videoWidth&&d.media.videoWidth>0?d.media.videoWidth:null!==d.media.getAttribute("width")?d.media.getAttribute("width"):d.options.defaultVideoWidth:d.options.defaultAudioWidth}(),f=function(){return d.isVideo?d.media.videoHeight&&d.media.videoHeight>0?d.media.videoHeight:null!==d.media.getAttribute("height")?d.media.getAttribute("height"):d.options.defaultVideoHeight:d.options.defaultAudioHeight}(),g=d.container.parent().closest(":visible").width(),h=d.container.parent().closest(":visible").height(),i=d.isVideo||!d.options.autosizeProgress?parseInt(g*f/e,10):f;isNaN(i)&&(i=h),d.container.parent().length>0&&"body"===d.container.parent()[0].tagName.toLowerCase()&&(g=a(window).width(),i=a(window).height()),i&&g&&(d.container.width(g).height(i),d.$media.add(d.container.find(".mejs-shim")).width("100%").height("100%"),d.isVideo&&d.media.setVideoSize&&d.media.setVideoSize(g,i),d.layers.children(".mejs-layer").width("100%").height("100%"))}else d.container.width(d.width).height(d.height),d.layers.children(".mejs-layer").width(d.width).height(d.height)},setControlsSize:function(){var b=this,c=0,d=0,e=b.controls.find(".mejs-time-rail"),f=b.controls.find(".mejs-time-total"),g=e.siblings(),h=g.last(),i=null;if(b.container.is(":visible")&&e.length&&e.is(":visible")){b.options&&!b.options.autosizeProgress&&(d=parseInt(e.css("width"),10)),0!==d&&d||(g.each(function(){var b=a(this);"absolute"!=b.css("position")&&b.is(":visible")&&(c+=a(this).outerWidth(!0))}),d=b.controls.width()-c-(e.outerWidth(!0)-e.width()));do e.width(d),f.width(d-(f.outerWidth(!0)-f.width())),"absolute"!=h.css("position")&&(i=h.length?h.position():null,d--);while(null!==i&&i.top>0&&d>0);b.container.trigger("controlsresize")}},buildposter:function(b,c,d,e){var f=this,g=a('
                ').appendTo(d),h=b.$media.attr("poster");""!==b.options.poster&&(h=b.options.poster),h?f.setPoster(h):g.hide(),e.addEventListener("play",function(){g.hide()},!1),b.options.showPosterWhenEnded&&b.options.autoRewind&&e.addEventListener("ended",function(){g.show()},!1)},setPoster:function(b){var c=this,d=c.container.find(".mejs-poster"),e=d.find("img");0===e.length&&(e=a('').appendTo(d)),e.attr("src",b),d.css({"background-image":"url("+b+")"})},buildoverlays:function(b,c,d,e){var f=this;if(b.isVideo){var g=a('
                ').hide().appendTo(d),h=a('
                ').hide().appendTo(d),i=a('
                ').appendTo(d).bind("click",function(){f.options.clickToPlayPause&&e.paused&&e.play()});e.addEventListener("play",function(){i.hide(),g.hide(),c.find(".mejs-time-buffering").hide(),h.hide()},!1),e.addEventListener("playing",function(){i.hide(),g.hide(),c.find(".mejs-time-buffering").hide(),h.hide()},!1),e.addEventListener("seeking",function(){g.show(),c.find(".mejs-time-buffering").show()},!1),e.addEventListener("seeked",function(){g.hide(),c.find(".mejs-time-buffering").hide()},!1),e.addEventListener("pause",function(){mejs.MediaFeatures.isiPhone||i.show()},!1),e.addEventListener("waiting",function(){g.show(),c.find(".mejs-time-buffering").show()},!1),e.addEventListener("loadeddata",function(){g.show(),c.find(".mejs-time-buffering").show(),mejs.MediaFeatures.isAndroid&&(e.canplayTimeout=window.setTimeout(function(){if(document.createEvent){var a=document.createEvent("HTMLEvents");return a.initEvent("canplay",!0,!0),e.dispatchEvent(a)}},300))},!1),e.addEventListener("canplay",function(){g.hide(),c.find(".mejs-time-buffering").hide(),clearTimeout(e.canplayTimeout)},!1),e.addEventListener("error",function(a){f.handleError(a),g.hide(),i.hide(),h.show(),h.find(".mejs-overlay-error").html("Error loading this resource")},!1),e.addEventListener("keydown",function(a){f.onkeydown(b,e,a)},!1)}},buildkeyboard:function(b,c,d,e){var f=this;f.container.keydown(function(){f.keyboardAction=!0}),f.globalBind("keydown",function(c){return b.hasFocus=0!==a(c.target).closest(".mejs-container").length,f.onkeydown(b,e,c)}),f.globalBind("click",function(c){b.hasFocus=0!==a(c.target).closest(".mejs-container").length})},onkeydown:function(a,b,c){if(a.hasFocus&&a.options.enableKeyboard)for(var d=0,e=a.options.keyActions.length;e>d;d++)for(var f=a.options.keyActions[d],g=0,h=f.keys.length;h>g;g++)if(c.keyCode==f.keys[g])return"function"==typeof c.preventDefault&&c.preventDefault(),f.action(a,b,c.keyCode),!1;return!0},findTracks:function(){var b=this,c=b.$media.find("track");b.tracks=[],c.each(function(c,d){d=a(d),b.tracks.push({srclang:d.attr("srclang")?d.attr("srclang").toLowerCase():"",src:d.attr("src"),kind:d.attr("kind"),label:d.attr("label")||"",entries:[],isLoaded:!1})})},changeSkin:function(a){this.container[0].className="mejs-container "+a,this.setPlayerSize(this.width,this.height),this.setControlsSize()},play:function(){this.load(),this.media.play()},pause:function(){try{this.media.pause()}catch(a){}},load:function(){this.isLoaded||this.media.load(),this.isLoaded=!0},setMuted:function(a){this.media.setMuted(a)},setCurrentTime:function(a){this.media.setCurrentTime(a)},getCurrentTime:function(){return this.media.currentTime},setVolume:function(a){this.media.setVolume(a)},getVolume:function(){return this.media.volume},setSrc:function(a){this.media.setSrc(a)},remove:function(){var a,b,c=this;c.container.prev(".mejs-offscreen").remove();for(a in c.options.features)if(b=c.options.features[a],c["clean"+b])try{c["clean"+b](c)}catch(d){}c.isDynamic?c.$node.insertBefore(c.container):(c.$media.prop("controls",!0),c.$node.clone().insertBefore(c.container).show(),c.$node.remove()),"native"!==c.media.pluginType&&c.media.remove(),delete mejs.players[c.id],"object"==typeof c.container&&c.container.remove(),c.globalUnbind(),delete c.node.player},rebuildtracks:function(){var a=this;a.findTracks(),a.buildtracks(a,a.controls,a.layers,a.media)},resetSize:function(){var a=this;setTimeout(function(){a.setPlayerSize(a.width,a.height),a.setControlsSize()},50)}},function(){function b(b,d){var e={d:[],w:[]};return a.each((b||"").split(" "),function(a,b){var f=b+"."+d;0===f.indexOf(".")?(e.d.push(f),e.w.push(f)):e[c.test(b)?"w":"d"].push(f)}),e.d=e.d.join(" "),e.w=e.w.join(" "),e}var c=/^((after|before)print|(before)?unload|hashchange|message|o(ff|n)line|page(hide|show)|popstate|resize|storage)\b/;mejs.MediaElementPlayer.prototype.globalBind=function(c,d,e){var f=this;c=b(c,f.id),c.d&&a(document).bind(c.d,d,e),c.w&&a(window).bind(c.w,d,e)},mejs.MediaElementPlayer.prototype.globalUnbind=function(c,d){var e=this;c=b(c,e.id),c.d&&a(document).unbind(c.d,d),c.w&&a(window).unbind(c.w,d)}}(),"undefined"!=typeof a&&(a.fn.mediaelementplayer=function(b){return this.each(b===!1?function(){var b=a(this).data("mediaelementplayer");b&&b.remove(),a(this).removeData("mediaelementplayer")}:function(){a(this).data("mediaelementplayer",new mejs.MediaElementPlayer(this,b))}),this},a(document).ready(function(){a(".mejs-player").mediaelementplayer()})),window.MediaElementPlayer=mejs.MediaElementPlayer}(mejs.$),function(a){a.extend(mejs.MepDefaults,{playText:mejs.i18n.t("Play"),pauseText:mejs.i18n.t("Pause")}),a.extend(MediaElementPlayer.prototype,{buildplaypause:function(b,c,d,e){function f(a){"play"===a?(i.removeClass("mejs-play").addClass("mejs-pause"),j.attr({title:h.pauseText,"aria-label":h.pauseText})):(i.removeClass("mejs-pause").addClass("mejs-play"),j.attr({title:h.playText,"aria-label":h.playText}))}var g=this,h=g.options,i=a('
                ').appendTo(c).click(function(a){return a.preventDefault(),e.paused?e.play():e.pause(),!1}),j=i.find("button");f("pse"),e.addEventListener("play",function(){f("play")},!1),e.addEventListener("playing",function(){f("play")},!1),e.addEventListener("pause",function(){f("pse")},!1),e.addEventListener("paused",function(){f("pse")},!1)}})}(mejs.$),function(a){a.extend(mejs.MepDefaults,{stopText:"Stop"}),a.extend(MediaElementPlayer.prototype,{buildstop:function(b,c,d,e){var f=this;a('
                ').appendTo(c).click(function(){e.paused||e.pause(),e.currentTime>0&&(e.setCurrentTime(0),e.pause(),c.find(".mejs-time-current").width("0px"),c.find(".mejs-time-handle").css("left","0px"),c.find(".mejs-time-float-current").html(mejs.Utility.secondsToTimeCode(0,b.options)),c.find(".mejs-currenttime").html(mejs.Utility.secondsToTimeCode(0,b.options)),d.find(".mejs-poster").show())})}})}(mejs.$),function(a){a.extend(mejs.MepDefaults,{progessHelpText:mejs.i18n.t("Use Left/Right Arrow keys to advance one second, Up/Down arrows to advance ten seconds.")}),a.extend(MediaElementPlayer.prototype,{buildprogress:function(b,c,d,e){a('
                00:00
                ').appendTo(c),c.find(".mejs-time-buffering").hide();var f=this,g=c.find(".mejs-time-total"),h=c.find(".mejs-time-loaded"),i=c.find(".mejs-time-current"),j=c.find(".mejs-time-handle"),k=c.find(".mejs-time-float"),l=c.find(".mejs-time-float-current"),m=c.find(".mejs-time-slider"),n=function(a){var c,d=g.offset(),f=g.width(),h=0,i=0,j=0;c=a.originalEvent&&a.originalEvent.changedTouches?a.originalEvent.changedTouches[0].pageX:a.changedTouches?a.changedTouches[0].pageX:a.pageX,e.duration&&(cf+d.left&&(c=f+d.left),j=c-d.left,h=j/f,i=.02>=h?0:h*e.duration,o&&i!==e.currentTime&&e.setCurrentTime(i),mejs.MediaFeatures.hasTouch||(k.css("left",j),l.html(mejs.Utility.secondsToTimeCode(i,b.options)),k.show()))},o=!1,p=!1,q=0,r=!1,s=b.options.autoRewind,t=function(){var a=e.currentTime,c=mejs.i18n.t("Time Slider"),d=mejs.Utility.secondsToTimeCode(a,b.options),f=e.duration;m.attr({"aria-label":c,"aria-valuemin":0,"aria-valuemax":f,"aria-valuenow":a,"aria-valuetext":d,role:"slider",tabindex:0})},u=function(){var a=new Date;a-q>=1e3&&e.play()};m.bind("focus",function(){b.options.autoRewind=!1}),m.bind("blur",function(){b.options.autoRewind=s}),m.bind("keydown",function(a){new Date-q>=1e3&&(r=e.paused);var b=a.keyCode,c=e.duration,d=e.currentTime;switch(b){case 37:d-=1;break;case 39:d+=1;break;case 38:d+=Math.floor(.1*c);break;case 40:d-=Math.floor(.1*c);break;case 36:d=0;break;case 35:d=c;break;case 10:return void(e.paused?e.play():e.pause());case 13:return void(e.paused?e.play():e.pause());default:return}return d=0>d?0:d>=c?c:Math.floor(d),q=new Date,r||e.pause(),d0&&c.buffered.end&&c.duration?d=c.buffered.end(c.buffered.length-1)/c.duration:c&&void 0!==c.bytesTotal&&c.bytesTotal>0&&void 0!==c.bufferedBytes?d=c.bufferedBytes/c.bytesTotal:a&&a.lengthComputable&&0!==a.total&&(d=a.loaded/a.total),null!==d&&(d=Math.min(1,Math.max(0,d)),b.loaded&&b.total&&b.loaded.width(b.total.width()*d))},setCurrentRail:function(){var a=this;if(void 0!==a.media.currentTime&&a.media.duration&&a.total&&a.handle){var b=Math.round(a.total.width()*a.media.currentTime/a.media.duration),c=b-Math.round(a.handle.outerWidth(!0)/2);a.current.width(b),a.handle.css("left",c)}}})}(mejs.$),function(a){a.extend(mejs.MepDefaults,{duration:-1,timeAndDurationSeparator:" | "}),a.extend(MediaElementPlayer.prototype,{buildcurrent:function(b,c,d,e){var f=this;a('
                '+mejs.Utility.secondsToTimeCode(0,b.options)+"
                ").appendTo(c),f.currenttime=f.controls.find(".mejs-currenttime"),e.addEventListener("timeupdate",function(){b.updateCurrent()},!1)},buildduration:function(b,c,d,e){var f=this;c.children().last().find(".mejs-currenttime").length>0?a(f.options.timeAndDurationSeparator+''+mejs.Utility.secondsToTimeCode(f.options.duration,f.options)+"").appendTo(c.find(".mejs-time")):(c.find(".mejs-currenttime").parent().addClass("mejs-currenttime-container"),a('
                '+mejs.Utility.secondsToTimeCode(f.options.duration,f.options)+"
                ").appendTo(c)),f.durationD=f.controls.find(".mejs-duration"),e.addEventListener("timeupdate",function(){b.updateDuration()},!1)},updateCurrent:function(){var a=this;a.currenttime&&a.currenttime.html(mejs.Utility.secondsToTimeCode(a.media.currentTime,a.options))},updateDuration:function(){var a=this;a.container.toggleClass("mejs-long-video",a.media.duration>3600),a.durationD&&(a.options.duration>0||a.media.duration)&&a.durationD.html(mejs.Utility.secondsToTimeCode(a.options.duration>0?a.options.duration:a.media.duration,a.options))}})}(mejs.$),function(a){a.extend(mejs.MepDefaults,{muteText:mejs.i18n.t("Mute Toggle"),allyVolumeControlText:mejs.i18n.t("Use Up/Down Arrow keys to increase or decrease volume."),hideVolumeOnTouchDevices:!0,audioVolume:"horizontal",videoVolume:"vertical"}),a.extend(MediaElementPlayer.prototype,{buildvolume:function(b,c,d,e){if(!mejs.MediaFeatures.isAndroid&&!mejs.MediaFeatures.isiOS||!this.options.hideVolumeOnTouchDevices){var f=this,g=f.isVideo?f.options.videoVolume:f.options.audioVolume,h="horizontal"==g?a('
                '+f.options.allyVolumeControlText+'
                ').appendTo(c):a('').appendTo(c),i=f.container.find(".mejs-volume-slider, .mejs-horizontal-volume-slider"),j=f.container.find(".mejs-volume-total, .mejs-horizontal-volume-total"),k=f.container.find(".mejs-volume-current, .mejs-horizontal-volume-current"),l=f.container.find(".mejs-volume-handle, .mejs-horizontal-volume-handle"),m=function(a,b){if(!i.is(":visible")&&"undefined"==typeof b)return i.show(),m(a,!0),void i.hide();a=Math.max(0,a),a=Math.min(a,1),0===a?(h.removeClass("mejs-mute").addClass("mejs-unmute"),h.children("button").attr("title",mejs.i18n.t("Unmute")).attr("aria-label",mejs.i18n.t("Unmute"))):(h.removeClass("mejs-unmute").addClass("mejs-mute"),h.children("button").attr("title",mejs.i18n.t("Mute")).attr("aria-label",mejs.i18n.t("Mute")));var c=j.position();if("vertical"==g){var d=j.height(),e=d-d*a;l.css("top",Math.round(c.top+e-l.height()/2)),k.height(d-e),k.css("top",c.top+e)}else{var f=j.width(),n=f*a;l.css("left",Math.round(c.left+n-l.width()/2)),k.width(Math.round(n))}},n=function(a){var b=null,c=j.offset();if("vertical"===g){var d=j.height(),f=a.pageY-c.top;if(b=(d-f)/d,0===c.top||0===c.left)return}else{var h=j.width(),i=a.pageX-c.left;b=i/h}b=Math.max(0,b),b=Math.min(b,1),m(b),e.setMuted(0===b?!0:!1),e.setVolume(b)},o=!1,p=!1;h.hover(function(){i.show(),p=!0},function(){p=!1,o||"vertical"!=g||i.hide()});var q=function(){var a=Math.floor(100*e.volume);i.attr({"aria-label":mejs.i18n.t("volumeSlider"),"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":a,"aria-valuetext":a+"%",role:"slider",tabindex:0})};i.bind("mouseover",function(){p=!0}).bind("mousedown",function(a){return n(a),f.globalBind("mousemove.vol",function(a){n(a)}),f.globalBind("mouseup.vol",function(){o=!1,f.globalUnbind(".vol"),p||"vertical"!=g||i.hide()}),o=!0,!1}).bind("keydown",function(a){var b=a.keyCode,c=e.volume;switch(b){case 38:c+=.1;break;case 40:c-=.1;break;default:return!0}return o=!1,m(c),e.setVolume(c),!1}),h.find("button").click(function(){e.setMuted(!e.muted)}),h.find("button").bind("focus",function(){i.show()}),e.addEventListener("volumechange",function(a){o||(e.muted?(m(0),h.removeClass("mejs-mute").addClass("mejs-unmute")):(m(e.volume),h.removeClass("mejs-unmute").addClass("mejs-mute"))),q(a)},!1),0===b.options.startVolume&&e.setMuted(!0),"native"===e.pluginType&&e.setVolume(b.options.startVolume),f.container.on("controlsresize",function(){m(e.volume)})}}})}(mejs.$),function(a){a.extend(mejs.MepDefaults,{usePluginFullScreen:!0,newWindowCallback:function(){return""},fullscreenText:mejs.i18n.t("Fullscreen")}),a.extend(MediaElementPlayer.prototype,{isFullScreen:!1,isNativeFullScreen:!1,isInIframe:!1,buildfullscreen:function(b,c,d,e){if(b.isVideo){if(b.isInIframe=window.location!=window.parent.location,mejs.MediaFeatures.hasTrueNativeFullScreen){var f=function(){b.isFullScreen&&(mejs.MediaFeatures.isFullScreen()?(b.isNativeFullScreen=!0,b.setControlsSize()):(b.isNativeFullScreen=!1,b.exitFullScreen()))};b.globalBind(mejs.MediaFeatures.fullScreenEventName,f)}var g=this,h=a('
                ').appendTo(c);if("native"===g.media.pluginType||!g.options.usePluginFullScreen&&!mejs.MediaFeatures.isFirefox)h.click(function(){var a=mejs.MediaFeatures.hasTrueNativeFullScreen&&mejs.MediaFeatures.isFullScreen()||b.isFullScreen;a?b.exitFullScreen():b.enterFullScreen()});else{var i=null,j=function(){var a,b=document.createElement("x"),c=document.documentElement,d=window.getComputedStyle;return"pointerEvents"in b.style?(b.style.pointerEvents="auto",b.style.pointerEvents="x",c.appendChild(b),a=d&&"auto"===d(b,"").pointerEvents,c.removeChild(b),!!a):!1}();if(j&&!mejs.MediaFeatures.isOpera){var k,l,m=!1,n=function(){if(m){for(var a in o)o[a].hide();h.css("pointer-events",""),g.controls.css("pointer-events",""),g.media.removeEventListener("click",g.clickToPlayPauseCallback),m=!1}},o={},p=["top","left","right","bottom"],q=function(){var a=h.offset().left-g.container.offset().left,b=h.offset().top-g.container.offset().top,c=h.outerWidth(!0),d=h.outerHeight(!0),e=g.container.width(),f=g.container.height();for(k in o)o[k].css({position:"absolute",top:0,left:0});o.top.width(e).height(b),o.left.width(a).height(d).css({top:b}),o.right.width(e-a-c).height(d).css({top:b,left:a+c}),o.bottom.width(e).height(f-d-b).css({top:b+d})};for(g.globalBind("resize",function(){q()}),k=0,l=p.length;l>k;k++)o[p[k]]=a('
                ').appendTo(g.container).mouseover(n).hide();h.on("mouseover",function(){if(!g.isFullScreen){var a=h.offset(),c=b.container.offset();e.positionFullscreenButton(a.left-c.left,a.top-c.top,!1),h.css("pointer-events","none"),g.controls.css("pointer-events","none"),g.media.addEventListener("click",g.clickToPlayPauseCallback);for(k in o)o[k].show();q(),m=!0}}),e.addEventListener("fullscreenchange",function(){g.isFullScreen=!g.isFullScreen,g.isFullScreen?g.media.removeEventListener("click",g.clickToPlayPauseCallback):g.media.addEventListener("click",g.clickToPlayPauseCallback),n() +}),g.globalBind("mousemove",function(a){if(m){var b=h.offset();(a.pageYb.top+h.outerHeight(!0)||a.pageXb.left+h.outerWidth(!0))&&(h.css("pointer-events",""),g.controls.css("pointer-events",""),m=!1)}})}else h.on("mouseover",function(){null!==i&&(clearTimeout(i),delete i);var a=h.offset(),c=b.container.offset();e.positionFullscreenButton(a.left-c.left,a.top-c.top,!0)}).on("mouseout",function(){null!==i&&(clearTimeout(i),delete i),i=setTimeout(function(){e.hideFullscreenButton()},1500)})}b.fullscreenBtn=h,g.globalBind("keydown",function(a){(mejs.MediaFeatures.hasTrueNativeFullScreen&&mejs.MediaFeatures.isFullScreen()||g.isFullScreen)&&27==a.keyCode&&b.exitFullScreen()}),g.normalHeight=0,g.normalWidth=0}},cleanfullscreen:function(a){a.exitFullScreen()},containerSizeTimeout:null,enterFullScreen:function(){var b=this;if("native"===b.media.pluginType||!mejs.MediaFeatures.isFirefox&&!b.options.usePluginFullScreen){if(a(document.documentElement).addClass("mejs-fullscreen"),b.normalHeight=b.container.height(),b.normalWidth=b.container.width(),"native"===b.media.pluginType)if(mejs.MediaFeatures.hasTrueNativeFullScreen)mejs.MediaFeatures.requestFullScreen(b.container[0]),b.isInIframe&&setTimeout(function d(){if(b.isNativeFullScreen){var c=window.devicePixelRatio||1,e=.002,f=c*a(window).width(),g=screen.width,h=c*f;Math.abs(g-f)>Math.abs(g-h)&&(f=h);var i=Math.abs(g-f),j=g*e;i>j?b.exitFullScreen():setTimeout(d,500)}},1e3);else if(mejs.MediaFeatures.hasSemiNativeFullScreen)return void b.media.webkitEnterFullscreen();if(b.isInIframe){var c=b.options.newWindowCallback(this);if(""!==c){if(!mejs.MediaFeatures.hasTrueNativeFullScreen)return b.pause(),void window.open(c,b.id,"top=0,left=0,width="+screen.availWidth+",height="+screen.availHeight+",resizable=yes,scrollbars=no,status=no,toolbar=no");setTimeout(function(){b.isNativeFullScreen||(b.pause(),window.open(c,b.id,"top=0,left=0,width="+screen.availWidth+",height="+screen.availHeight+",resizable=yes,scrollbars=no,status=no,toolbar=no"))},250)}}b.container.addClass("mejs-container-fullscreen").width("100%").height("100%"),b.containerSizeTimeout=setTimeout(function(){b.container.css({width:"100%",height:"100%"}),b.setControlsSize()},500),"native"===b.media.pluginType?b.$media.width("100%").height("100%"):(b.container.find(".mejs-shim").width("100%").height("100%"),b.media.setVideoSize(a(window).width(),a(window).height())),b.layers.children("div").width("100%").height("100%"),b.fullscreenBtn&&b.fullscreenBtn.removeClass("mejs-fullscreen").addClass("mejs-unfullscreen"),b.setControlsSize(),b.isFullScreen=!0,b.container.find(".mejs-captions-text").css("font-size",screen.width/b.width*1*100+"%"),b.container.find(".mejs-captions-position").css("bottom","45px"),b.container.trigger("enteredfullscreen")}},exitFullScreen:function(){var b=this;return clearTimeout(b.containerSizeTimeout),"native"!==b.media.pluginType&&mejs.MediaFeatures.isFirefox?void b.media.setFullscreen(!1):(mejs.MediaFeatures.hasTrueNativeFullScreen&&(mejs.MediaFeatures.isFullScreen()||b.isFullScreen)&&mejs.MediaFeatures.cancelFullScreen(),a(document.documentElement).removeClass("mejs-fullscreen"),b.container.removeClass("mejs-container-fullscreen").width(b.normalWidth).height(b.normalHeight),"native"===b.media.pluginType?b.$media.width(b.normalWidth).height(b.normalHeight):(b.container.find(".mejs-shim").width(b.normalWidth).height(b.normalHeight),b.media.setVideoSize(b.normalWidth,b.normalHeight)),b.layers.children("div").width(b.normalWidth).height(b.normalHeight),b.fullscreenBtn.removeClass("mejs-unfullscreen").addClass("mejs-fullscreen"),b.setControlsSize(),b.isFullScreen=!1,b.container.find(".mejs-captions-text").css("font-size",""),b.container.find(".mejs-captions-position").css("bottom",""),void b.container.trigger("exitedfullscreen"))}})}(mejs.$),function(a){a.extend(mejs.MepDefaults,{speeds:["2.00","1.50","1.25","1.00","0.75"],defaultSpeed:"1.00",speedChar:"x"}),a.extend(MediaElementPlayer.prototype,{buildspeed:function(b,c,d,e){var f=this;if("native"==f.media.pluginType){for(var g=null,h=null,i=null,j=null,k=[],l=!1,m=0,n=f.options.speeds.length;n>m;m++){var o=f.options.speeds[m];"string"==typeof o?(k.push({name:o+f.options.speedChar,value:o}),o===f.options.defaultSpeed&&(l=!0)):(k.push(o),o.value===f.options.defaultSpeed&&(l=!0))}l||k.push({name:f.options.defaultSpeed+f.options.speedChar,value:f.options.defaultSpeed}),k.sort(function(a,b){return parseFloat(b.value)-parseFloat(a.value)});var p=function(a){for(m=0,n=k.length;n>m;m++)if(k[m].value===a)return k[m].name},q='
                  ';for(m=0,il=k.length;il>m;m++)j=f.id+"-speed-"+k[m].value,q+='
                • ";q+="
                ",g=a(q).appendTo(c),h=g.find(".mejs-speed-selector"),i=f.options.defaultSpeed,e.addEventListener("loadedmetadata",function(){i&&(e.playbackRate=parseFloat(i))},!0),h.on("click",'input[type="radio"]',function(){var b=a(this).attr("value");i=b,e.playbackRate=parseFloat(b),g.find("button").html(p(b)),g.find(".mejs-speed-selected").removeClass("mejs-speed-selected"),g.find('input[type="radio"]:checked').next().addClass("mejs-speed-selected")}),g.one("mouseenter focusin",function(){h.height(g.find(".mejs-speed-selector ul").outerHeight(!0)+g.find(".mejs-speed-translations").outerHeight(!0)).css("top",-1*h.height()+"px")})}}})}(mejs.$),function(a){a.extend(mejs.MepDefaults,{startLanguage:"",tracksText:mejs.i18n.t("Captions/Subtitles"),tracksAriaLive:!1,hideCaptionsButtonWhenEmpty:!0,toggleCaptionsButtonWhenOnlyOne:!1,slidesSelector:""}),a.extend(MediaElementPlayer.prototype,{hasChapters:!1,cleartracks:function(a){a&&(a.captions&&a.captions.remove(),a.chapters&&a.chapters.remove(),a.captionsText&&a.captionsText.remove(),a.captionsButton&&a.captionsButton.remove())},buildtracks:function(b,c,d,e){if(0!==b.tracks.length){var f,g=this,h=g.options.tracksAriaLive?'role="log" aria-live="assertive" aria-atomic="false"':"";if(g.domNode.textTracks)for(f=g.domNode.textTracks.length-1;f>=0;f--)g.domNode.textTracks[f].mode="hidden";g.cleartracks(b,c,d,e),b.chapters=a('
                ').prependTo(d).hide(),b.captions=a('
                ').prependTo(d).hide(),b.captionsText=b.captions.find(".mejs-captions-text"),b.captionsButton=a('
                ").appendTo(c);var i=0;for(f=0;f0&&c.displayChapters(d)},!1),"slides"==d.kind&&c.setupSlides(d)},error:function(){c.removeTrackButton(d.srclang),c.loadNextTrack()}})},enableTrackButton:function(b,c){var d=this;""===c&&(c=mejs.language.codes[b]||b),d.captionsButton.find("input[value="+b+"]").prop("disabled",!1).siblings("label").html(c),d.options.startLanguage==b&&a("#"+d.id+"_captions_"+b).prop("checked",!0).trigger("click"),d.adjustLanguageBox()},removeTrackButton:function(a){var b=this;b.captionsButton.find("input[value="+a+"]").closest("li").remove(),b.adjustLanguageBox()},addTrackButton:function(b,c){var d=this;""===c&&(c=mejs.language.codes[b]||b),d.captionsButton.find("ul").append(a('
              • ")),d.adjustLanguageBox(),d.container.find(".mejs-captions-translations option[value="+b+"]").remove()},adjustLanguageBox:function(){var a=this;a.captionsButton.find(".mejs-captions-selector").height(a.captionsButton.find(".mejs-captions-selector ul").outerHeight(!0)+a.captionsButton.find(".mejs-captions-translations").outerHeight(!0))},checkForTracks:function(){var a=this,b=!1;if(a.options.hideCaptionsButtonWhenEmpty){for(i=0;i=c.entries.times[a].start&&b.media.currentTime<=c.entries.times[a].stop)return b.captionsText.html(c.entries.text[a]).attr("class","mejs-captions-text "+(c.entries.times[a].identifier||"")),void b.captions.show().height(0);b.captions.hide()}else b.captions.hide()}},setupSlides:function(a){var b=this;b.slides=a,b.slides.entries.imgs=[b.slides.entries.text.length],b.showSlide(0)},showSlide:function(b){if("undefined"!=typeof this.tracks&&"undefined"!=typeof this.slidesContainer){var c=this,d=c.slides.entries.text[b],e=c.slides.entries.imgs[b];"undefined"==typeof e||"undefined"==typeof e.fadeIn?c.slides.entries.imgs[b]=e=a('').on("load",function(){e.appendTo(c.slidesContainer).hide().fadeIn().siblings(":visible").fadeOut()}):e.is(":visible")||e.is(":animated")||e.fadeIn().siblings(":visible").fadeOut()}},displaySlides:function(){if("undefined"!=typeof this.slides){var a,b=this,c=b.slides;for(a=0;a=c.entries.times[a].start&&b.media.currentTime<=c.entries.times[a].stop)return void b.showSlide(a)}},displayChapters:function(){var a,b=this;for(a=0;a100||c==b.entries.times.length-1&&100>f+g)&&(f=100-g),e.chapters.append(a('
                '+b.entries.text[c]+''+mejs.Utility.secondsToTimeCode(b.entries.times[c].start,e.options)+"–"+mejs.Utility.secondsToTimeCode(b.entries.times[c].stop,e.options)+"
                ")),g+=f;e.chapters.find("div.mejs-chapter").click(function(){e.media.setCurrentTime(parseFloat(a(this).attr("rel"))),e.media.paused&&e.media.play()}),e.chapters.show()}}),mejs.language={codes:{af:"Afrikaans",sq:"Albanian",ar:"Arabic",be:"Belarusian",bg:"Bulgarian",ca:"Catalan",zh:"Chinese","zh-cn":"Chinese Simplified","zh-tw":"Chinese Traditional",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch",en:"English",et:"Estonian",fl:"Filipino",fi:"Finnish",fr:"French",gl:"Galician",de:"German",el:"Greek",ht:"Haitian Creole",iw:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",ga:"Irish",it:"Italian",ja:"Japanese",ko:"Korean",lv:"Latvian",lt:"Lithuanian",mk:"Macedonian",ms:"Malay",mt:"Maltese",no:"Norwegian",fa:"Persian",pl:"Polish",pt:"Portuguese",ro:"Romanian",ru:"Russian",sr:"Serbian",sk:"Slovak",sl:"Slovenian",es:"Spanish",sw:"Swahili",sv:"Swedish",tl:"Tagalog",th:"Thai",tr:"Turkish",uk:"Ukrainian",vi:"Vietnamese",cy:"Welsh",yi:"Yiddish"}},mejs.TrackFormatParser={webvtt:{pattern_timecode:/^((?:[0-9]{1,2}:)?[0-9]{2}:[0-9]{2}([,.][0-9]{1,3})?) --\> ((?:[0-9]{1,2}:)?[0-9]{2}:[0-9]{2}([,.][0-9]{3})?)(.*)$/,parse:function(b){for(var c,d,e,f=0,g=mejs.TrackFormatParser.split2(b,/\r?\n/),h={text:[],times:[]};f=0&&""!==g[f-1]&&(e=g[f-1]),f++,d=g[f],f++;""!==g[f]&&f$1"),h.text.push(d),h.times.push({identifier:e,start:0===mejs.Utility.convertSMPTEtoSeconds(c[1])?.2:mejs.Utility.convertSMPTEtoSeconds(c[1]),stop:mejs.Utility.convertSMPTEtoSeconds(c[3]),settings:c[5]})}e=""}return h}},dfxp:{parse:function(b){b=a(b).filter("tt");var c,d,e=0,f=b.children("div").eq(0),g=f.find("p"),h=b.find("#"+f.attr("style")),i={text:[],times:[]};if(h.length){var j=h.removeAttr("id").get(0).attributes;if(j.length)for(c={},e=0;e$1"),i.text.push(d),0===i.times.start&&(i.times.start=2)}return i}},split2:function(a,b){return a.split(b)}},3!="x\n\ny".split(/\n/gi).length&&(mejs.TrackFormatParser.split2=function(a,b){var c,d=[],e="";for(c=0;c
                ').appendTo(a("body")).hide(),b.container.bind("contextmenu",function(a){return b.isContextMenuEnabled?(a.preventDefault(),b.renderContextMenu(a.clientX-1,a.clientY-1),!1):void 0}),b.container.bind("click",function(){b.contextMenu.hide()}),b.contextMenu.bind("mouseleave",function(){b.startContextMenuTimer()})},cleancontextmenu:function(a){a.contextMenu.remove()},isContextMenuEnabled:!0,enableContextMenu:function(){this.isContextMenuEnabled=!0},disableContextMenu:function(){this.isContextMenuEnabled=!1},contextMenuTimeout:null,startContextMenuTimer:function(){var a=this;a.killContextMenuTimer(),a.contextMenuTimer=setTimeout(function(){a.hideContextMenu(),a.killContextMenuTimer()},750)},killContextMenuTimer:function(){var a=this.contextMenuTimer;null!=a&&(clearTimeout(a),delete a,a=null)},hideContextMenu:function(){this.contextMenu.hide()},renderContextMenu:function(b,c){for(var d=this,e="",f=d.options.contextMenuItems,g=0,h=f.length;h>g;g++)if(f[g].isSeparator)e+='
                ';else{var i=f[g].render(d);null!=i&&(e+='
                '+i+"
                ")}d.contextMenu.empty().append(a(e)).css({top:c,left:b}).show(),d.contextMenu.find(".mejs-contextmenu-item").each(function(){var b=a(this),c=parseInt(b.data("itemindex"),10),e=d.options.contextMenuItems[c];"undefined"!=typeof e.show&&e.show(b,d),b.click(function(){"undefined"!=typeof e.click&&e.click(d),d.contextMenu.hide()})}),setTimeout(function(){d.killControlsTimer("rev3")},100)}})}(mejs.$),function(a){a.extend(mejs.MepDefaults,{skipBackInterval:30,skipBackText:mejs.i18n.t("Skip back %1 seconds")}),a.extend(MediaElementPlayer.prototype,{buildskipback:function(b,c,d,e){{var f=this,g=f.options.skipBackText.replace("%1",f.options.skipBackInterval);a('
                ").appendTo(c).click(function(){e.setCurrentTime(Math.max(e.currentTime-f.options.skipBackInterval,0)),a(this).find("button").blur()})}}})}(mejs.$),function(a){a.extend(mejs.MepDefaults,{postrollCloseText:mejs.i18n.t("Close")}),a.extend(MediaElementPlayer.prototype,{buildpostroll:function(b,c,d){var e=this,f=e.container.find('link[rel="postroll"]').attr("href");"undefined"!=typeof f&&(b.postroll=a('').prependTo(d).hide(),e.media.addEventListener("ended",function(){a.ajax({dataType:"html",url:f,success:function(a){d.find(".mejs-postroll-layer-content").html(a)}}),b.postroll.show()},!1))}})}(mejs.$); \ No newline at end of file diff --git a/wp-includes/js/mediaelement/mediaelementplayer.min.css b/wp-includes/js/mediaelement/mediaelementplayer.min.css index 1508233..93605e8 100644 --- a/wp-includes/js/mediaelement/mediaelementplayer.min.css +++ b/wp-includes/js/mediaelement/mediaelementplayer.min.css @@ -1 +1 @@ -.mejs-offscreen{position:absolute!important;top:-10000px;left:-10000px;overflow:hidden;width:1px;height:1px}.mejs-container{position:relative;background:#000;font-family:Helvetica,Arial;text-align:left;vertical-align:top;text-indent:0}.me-plugin{position:absolute}.mejs-embed,.mejs-embed body{width:100%;height:100%;margin:0;padding:0;background:#000;overflow:hidden}.mejs-fullscreen{overflow:hidden!important}.mejs-container-fullscreen{position:fixed;left:0;top:0;right:0;bottom:0;overflow:hidden;z-index:1000}.mejs-container-fullscreen .mejs-mediaelement,.mejs-container-fullscreen video{width:100%;height:100%}.mejs-clear{clear:both}.mejs-background{position:absolute;top:0;left:0}.mejs-mediaelement{position:absolute;top:0;left:0;width:100%;height:100%}.mejs-poster{position:absolute;top:0;left:0;background-size:contain;background-position:50% 50%;background-repeat:no-repeat}:root .mejs-poster img{display:none}.mejs-poster img{border:0;padding:0;border:0}.mejs-overlay{position:absolute;top:0;left:0}.mejs-overlay-play{cursor:pointer}.mejs-overlay-button{position:absolute;top:50%;left:50%;width:100px;height:100px;margin:-50px 0 0 -50px;background:url(bigplay.svg) no-repeat}.no-svg .mejs-overlay-button{background-image:url(bigplay.png)}.mejs-overlay:hover .mejs-overlay-button{background-position:0 -100px}.mejs-overlay-loading{position:absolute;top:50%;left:50%;width:80px;height:80px;margin:-40px 0 0 -40px;background:#333;background:url(background.png);background:rgba(0,0,0,.9);background:-webkit-gradient(linear,0 0,0 100%,from(rgba(50,50,50,.9)),to(rgba(0,0,0,.9)));background:-webkit-linear-gradient(top,rgba(50,50,50,.9),rgba(0,0,0,.9));background:-moz-linear-gradient(top,rgba(50,50,50,.9),rgba(0,0,0,.9));background:-o-linear-gradient(top,rgba(50,50,50,.9),rgba(0,0,0,.9));background:-ms-linear-gradient(top,rgba(50,50,50,.9),rgba(0,0,0,.9));background:linear-gradient(rgba(50,50,50,.9),rgba(0,0,0,.9))}.mejs-overlay-loading span{display:block;width:80px;height:80px;background:transparent url(loading.gif) 50% 50% no-repeat}.mejs-container .mejs-controls{position:absolute;list-style-type:none;margin:0;padding:0;bottom:0;left:0;background:url(background.png);background:rgba(0,0,0,.7);background:-webkit-gradient(linear,0 0,0 100%,from(rgba(50,50,50,.7)),to(rgba(0,0,0,.7)));background:-webkit-linear-gradient(top,rgba(50,50,50,.7),rgba(0,0,0,.7));background:-moz-linear-gradient(top,rgba(50,50,50,.7),rgba(0,0,0,.7));background:-o-linear-gradient(top,rgba(50,50,50,.7),rgba(0,0,0,.7));background:-ms-linear-gradient(top,rgba(50,50,50,.7),rgba(0,0,0,.7));background:linear-gradient(rgba(50,50,50,.7),rgba(0,0,0,.7));height:30px;width:100%}.mejs-container .mejs-controls div{list-style-type:none;background-image:none;display:block;float:left;margin:0;padding:0;width:26px;height:26px;font-size:11px;line-height:11px;font-family:Helvetica,Arial;border:0}.mejs-controls .mejs-button button{cursor:pointer;display:block;font-size:0;line-height:0;text-decoration:none;margin:7px 5px;padding:0;position:absolute;height:16px;width:16px;border:0;background:transparent url(controls.svg) no-repeat}.no-svg .mejs-controls .mejs-button button{background-image:url(controls.png)}.mejs-controls .mejs-button button:focus{outline:dotted 1px #999}.mejs-container .mejs-controls .mejs-time{color:#fff;display:block;height:17px;width:auto;padding:10px 3px 0;overflow:hidden;text-align:center;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}.mejs-container .mejs-controls .mejs-time a{color:#fff;font-size:11px;line-height:12px;display:block;float:left;margin:1px 2px 0 0;width:auto}.mejs-controls .mejs-play button{background-position:0 0}.mejs-controls .mejs-pause button{background-position:0 -16px}.mejs-controls .mejs-stop button{background-position:-112px 0}.mejs-controls div.mejs-time-rail{direction:ltr;width:200px;padding-top:5px}.mejs-controls .mejs-time-rail span,.mejs-controls .mejs-time-rail a{display:block;position:absolute;width:180px;height:10px;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;cursor:pointer}.mejs-controls .mejs-time-rail .mejs-time-total{margin:5px;background:#333;background:rgba(50,50,50,.8);background:-webkit-gradient(linear,0 0,0 100%,from(rgba(30,30,30,.8)),to(rgba(60,60,60,.8)));background:-webkit-linear-gradient(top,rgba(30,30,30,.8),rgba(60,60,60,.8));background:-moz-linear-gradient(top,rgba(30,30,30,.8),rgba(60,60,60,.8));background:-o-linear-gradient(top,rgba(30,30,30,.8),rgba(60,60,60,.8));background:-ms-linear-gradient(top,rgba(30,30,30,.8),rgba(60,60,60,.8));background:linear-gradient(rgba(30,30,30,.8),rgba(60,60,60,.8))}.mejs-controls .mejs-time-rail .mejs-time-buffering{width:100%;background-image:-o-linear-gradient(-45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,.15)),color-stop(0.75,rgba(255,255,255,.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(-45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-ms-linear-gradient(-45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(-45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);-webkit-background-size:15px 15px;-moz-background-size:15px 15px;-o-background-size:15px 15px;background-size:15px 15px;-webkit-animation:buffering-stripes 2s linear infinite;-moz-animation:buffering-stripes 2s linear infinite;-ms-animation:buffering-stripes 2s linear infinite;-o-animation:buffering-stripes 2s linear infinite;animation:buffering-stripes 2s linear infinite}@-webkit-keyframes buffering-stripes{from{background-position:0 0}to{background-position:30px 0}}@-moz-keyframes buffering-stripes{from{background-position:0 0}to{background-position:30px 0}}@-ms-keyframes buffering-stripes{from{background-position:0 0}to{background-position:30px 0}}@-o-keyframes buffering-stripes{from{background-position:0 0}to{background-position:30px 0}}@keyframes buffering-stripes{from{background-position:0 0}to{background-position:30px 0}}.mejs-controls .mejs-time-rail .mejs-time-loaded{background:#3caac8;background:rgba(60,170,200,.8);background:-webkit-gradient(linear,0 0,0 100%,from(rgba(44,124,145,.8)),to(rgba(78,183,212,.8)));background:-webkit-linear-gradient(top,rgba(44,124,145,.8),rgba(78,183,212,.8));background:-moz-linear-gradient(top,rgba(44,124,145,.8),rgba(78,183,212,.8));background:-o-linear-gradient(top,rgba(44,124,145,.8),rgba(78,183,212,.8));background:-ms-linear-gradient(top,rgba(44,124,145,.8),rgba(78,183,212,.8));background:linear-gradient(rgba(44,124,145,.8),rgba(78,183,212,.8));width:0}.mejs-controls .mejs-time-rail .mejs-time-current{background:#fff;background:rgba(255,255,255,.8);background:-webkit-gradient(linear,0 0,0 100%,from(rgba(255,255,255,.9)),to(rgba(200,200,200,.8)));background:-webkit-linear-gradient(top,rgba(255,255,255,.9),rgba(200,200,200,.8));background:-moz-linear-gradient(top,rgba(255,255,255,.9),rgba(200,200,200,.8));background:-o-linear-gradient(top,rgba(255,255,255,.9),rgba(200,200,200,.8));background:-ms-linear-gradient(top,rgba(255,255,255,.9),rgba(200,200,200,.8));background:linear-gradient(rgba(255,255,255,.9),rgba(200,200,200,.8));width:0}.mejs-controls .mejs-time-rail .mejs-time-handle{display:none;position:absolute;margin:0;width:10px;background:#fff;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;cursor:pointer;border:solid 2px #333;top:-2px;text-align:center}.mejs-controls .mejs-time-rail .mejs-time-float{position:absolute;display:none;background:#eee;width:36px;height:17px;border:solid 1px #333;top:-26px;margin-left:-18px;text-align:center;color:#111}.mejs-controls .mejs-time-rail .mejs-time-float-current{margin:2px;width:30px;display:block;text-align:center;left:0}.mejs-controls .mejs-time-rail .mejs-time-float-corner{position:absolute;display:block;width:0;height:0;line-height:0;border:solid 5px #eee;border-color:#eee transparent transparent;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;top:15px;left:13px}.mejs-long-video .mejs-controls .mejs-time-rail .mejs-time-float{width:48px}.mejs-long-video .mejs-controls .mejs-time-rail .mejs-time-float-current{width:44px}.mejs-long-video .mejs-controls .mejs-time-rail .mejs-time-float-corner{left:18px}.mejs-controls .mejs-fullscreen-button button{background-position:-32px 0}.mejs-controls .mejs-unfullscreen button{background-position:-32px -16px}.mejs-controls .mejs-volume-button{}.mejs-controls .mejs-mute button{background-position:-16px -16px}.mejs-controls .mejs-unmute button{background-position:-16px 0}.mejs-controls .mejs-volume-button{position:relative}.mejs-controls .mejs-volume-button .mejs-volume-slider{display:none;height:115px;width:25px;background:url(background.png);background:rgba(50,50,50,.7);-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;top:-115px;left:0;z-index:1;position:absolute;margin:0}.mejs-controls .mejs-volume-button:hover{-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px}.mejs-controls .mejs-volume-button .mejs-volume-slider .mejs-volume-total{position:absolute;left:11px;top:8px;width:2px;height:100px;background:#ddd;background:rgba(255,255,255,.5);margin:0}.mejs-controls .mejs-volume-button .mejs-volume-slider .mejs-volume-current{position:absolute;left:11px;top:8px;width:2px;height:100px;background:#ddd;background:rgba(255,255,255,.9);margin:0}.mejs-controls .mejs-volume-button .mejs-volume-slider .mejs-volume-handle{position:absolute;left:4px;top:-3px;width:16px;height:6px;background:#ddd;background:rgba(255,255,255,.9);cursor:N-resize;-webkit-border-radius:1px;-moz-border-radius:1px;border-radius:1px;margin:0}.mejs-controls a.mejs-horizontal-volume-slider{height:26px;width:56px;position:relative;display:block;float:left;vertical-align:middle}.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total{position:absolute;left:0;top:11px;width:50px;height:8px;margin:0;padding:0;font-size:1px;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;background:#333;background:rgba(50,50,50,.8);background:-webkit-gradient(linear,0 0,0 100%,from(rgba(30,30,30,.8)),to(rgba(60,60,60,.8)));background:-webkit-linear-gradient(top,rgba(30,30,30,.8),rgba(60,60,60,.8));background:-moz-linear-gradient(top,rgba(30,30,30,.8),rgba(60,60,60,.8));background:-o-linear-gradient(top,rgba(30,30,30,.8),rgba(60,60,60,.8));background:-ms-linear-gradient(top,rgba(30,30,30,.8),rgba(60,60,60,.8));background:linear-gradient(rgba(30,30,30,.8),rgba(60,60,60,.8))}.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current{position:absolute;left:0;top:11px;width:50px;height:8px;margin:0;padding:0;font-size:1px;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;background:#fff;background:rgba(255,255,255,.8);background:-webkit-gradient(linear,0 0,0 100%,from(rgba(255,255,255,.9)),to(rgba(200,200,200,.8)));background:-webkit-linear-gradient(top,rgba(255,255,255,.9),rgba(200,200,200,.8));background:-moz-linear-gradient(top,rgba(255,255,255,.9),rgba(200,200,200,.8));background:-o-linear-gradient(top,rgba(255,255,255,.9),rgba(200,200,200,.8));background:-ms-linear-gradient(top,rgba(255,255,255,.9),rgba(200,200,200,.8));background:linear-gradient(rgba(255,255,255,.9),rgba(200,200,200,.8))}.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-handle{display:none}.mejs-controls .mejs-captions-button{position:relative}.mejs-controls .mejs-captions-button button{background-position:-48px 0}.mejs-controls .mejs-captions-button .mejs-captions-selector{visibility:hidden;position:absolute;bottom:26px;right:-51px;width:85px;height:100px;background:url(background.png);background:rgba(50,50,50,.7);border:solid 1px transparent;padding:10px 10px 0;overflow:hidden;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.mejs-controls .mejs-captions-button .mejs-captions-selector ul{margin:0;padding:0;display:block;list-style-type:none!important;overflow:hidden}.mejs-controls .mejs-captions-button .mejs-captions-selector ul li{margin:0 0 6px;padding:0;list-style-type:none!important;display:block;color:#fff;overflow:hidden}.mejs-controls .mejs-captions-button .mejs-captions-selector ul li input{clear:both;float:left;margin:3px 3px 0 5px}.mejs-controls .mejs-captions-button .mejs-captions-selector ul li label{width:55px;float:left;padding:4px 0 0;line-height:15px;font-family:helvetica,arial;font-size:10px}.mejs-controls .mejs-captions-button .mejs-captions-translations{font-size:10px;margin:0 0 5px}.mejs-chapters{position:absolute;top:0;left:0;-xborder-right:solid 1px #fff;width:10000px;z-index:1}.mejs-chapters .mejs-chapter{position:absolute;float:left;background:#222;background:rgba(0,0,0,.7);background:-webkit-gradient(linear,0 0,0 100%,from(rgba(50,50,50,.7)),to(rgba(0,0,0,.7)));background:-webkit-linear-gradient(top,rgba(50,50,50,.7),rgba(0,0,0,.7));background:-moz-linear-gradient(top,rgba(50,50,50,.7),rgba(0,0,0,.7));background:-o-linear-gradient(top,rgba(50,50,50,.7),rgba(0,0,0,.7));background:-ms-linear-gradient(top,rgba(50,50,50,.7),rgba(0,0,0,.7));background:linear-gradient(rgba(50,50,50,.7),rgba(0,0,0,.7));filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr=#323232, endColorstr=#000000);overflow:hidden;border:0}.mejs-chapters .mejs-chapter .mejs-chapter-block{font-size:11px;color:#fff;padding:5px;display:block;border-right:solid 1px #333;border-bottom:solid 1px #333;cursor:pointer}.mejs-chapters .mejs-chapter .mejs-chapter-block-last{border-right:0}.mejs-chapters .mejs-chapter .mejs-chapter-block:hover{background:#666;background:rgba(102,102,102,.7);background:-webkit-gradient(linear,0 0,0 100%,from(rgba(102,102,102,.7)),to(rgba(50,50,50,.6)));background:-webkit-linear-gradient(top,rgba(102,102,102,.7),rgba(50,50,50,.6));background:-moz-linear-gradient(top,rgba(102,102,102,.7),rgba(50,50,50,.6));background:-o-linear-gradient(top,rgba(102,102,102,.7),rgba(50,50,50,.6));background:-ms-linear-gradient(top,rgba(102,102,102,.7),rgba(50,50,50,.6));background:linear-gradient(rgba(102,102,102,.7),rgba(50,50,50,.6));filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr=#666666, endColorstr=#323232)}.mejs-chapters .mejs-chapter .mejs-chapter-block .ch-title{font-size:12px;font-weight:700;display:block;white-space:nowrap;text-overflow:ellipsis;margin:0 0 3px;line-height:12px}.mejs-chapters .mejs-chapter .mejs-chapter-block .ch-timespan{font-size:12px;line-height:12px;margin:3px 0 4px;display:block;white-space:nowrap;text-overflow:ellipsis}.mejs-captions-layer{position:absolute;bottom:0;left:0;text-align:center;line-height:20px;font-size:16px;color:#fff}.mejs-captions-layer a{color:#fff;text-decoration:underline}.mejs-captions-layer[lang=ar]{font-size:20px;font-weight:400}.mejs-captions-position{position:absolute;width:100%;bottom:15px;left:0}.mejs-captions-position-hover{bottom:35px}.mejs-captions-text{padding:3px 5px;background:url(background.png);background:rgba(20,20,20,.5);white-space:pre-wrap}.me-cannotplay{}.me-cannotplay a{color:#fff;font-weight:700}.me-cannotplay span{padding:15px;display:block}.mejs-controls .mejs-loop-off button{background-position:-64px -16px}.mejs-controls .mejs-loop-on button{background-position:-64px 0}.mejs-controls .mejs-backlight-off button{background-position:-80px -16px}.mejs-controls .mejs-backlight-on button{background-position:-80px 0}.mejs-controls .mejs-picturecontrols-button{background-position:-96px 0}.mejs-contextmenu{position:absolute;width:150px;padding:10px;border-radius:4px;top:0;left:0;background:#fff;border:solid 1px #999;z-index:1001}.mejs-contextmenu .mejs-contextmenu-separator{height:1px;font-size:0;margin:5px 6px;background:#333}.mejs-contextmenu .mejs-contextmenu-item{font-family:Helvetica,Arial;font-size:12px;padding:4px 6px;cursor:pointer;color:#333}.mejs-contextmenu .mejs-contextmenu-item:hover{background:#2C7C91;color:#fff}.mejs-controls .mejs-sourcechooser-button{position:relative}.mejs-controls .mejs-sourcechooser-button button{background-position:-128px 0}.mejs-controls .mejs-sourcechooser-button .mejs-sourcechooser-selector{visibility:hidden;position:absolute;bottom:26px;right:-10px;width:130px;height:100px;background:url(background.png);background:rgba(50,50,50,.7);border:solid 1px transparent;padding:10px;overflow:hidden;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.mejs-controls .mejs-sourcechooser-button .mejs-sourcechooser-selector ul{margin:0;padding:0;display:block;list-style-type:none!important;overflow:hidden}.mejs-controls .mejs-sourcechooser-button .mejs-sourcechooser-selector ul li{margin:0 0 6px;padding:0;list-style-type:none!important;display:block;color:#fff;overflow:hidden}.mejs-controls .mejs-sourcechooser-button .mejs-sourcechooser-selector ul li input{clear:both;float:left;margin:3px 3px 0 5px}.mejs-controls .mejs-sourcechooser-button .mejs-sourcechooser-selector ul li label{width:100px;float:left;padding:4px 0 0;line-height:15px;font-family:helvetica,arial;font-size:10px}.mejs-postroll-layer{position:absolute;bottom:0;left:0;width:100%;height:100%;background:url(background.png);background:rgba(50,50,50,.7);z-index:1000;overflow:hidden}.mejs-postroll-layer-content{width:100%;height:100%}.mejs-postroll-close{position:absolute;right:0;top:0;background:url(background.png);background:rgba(50,50,50,.7);color:#fff;padding:4px;z-index:100;cursor:pointer}div.mejs-speed-button{width:46px!important;position:relative}.mejs-controls .mejs-button.mejs-speed-button button{background:transparent;width:36px;font-size:11px;line-height:normal;color:#fff}.mejs-controls .mejs-speed-button .mejs-speed-selector{visibility:hidden;position:absolute;top:-100px;left:-10px;width:60px;height:100px;background:url(background.png);background:rgba(50,50,50,.7);border:solid 1px transparent;padding:0;overflow:hidden;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.mejs-controls .mejs-speed-button:hover>.mejs-speed-selector{visibility:visible}.mejs-controls .mejs-speed-button .mejs-speed-selector ul li label.mejs-speed-selected{color:rgba(33,248,248,1)}.mejs-controls .mejs-speed-button .mejs-speed-selector ul{margin:0;padding:0;display:block;list-style-type:none!important;overflow:hidden}.mejs-controls .mejs-speed-button .mejs-speed-selector ul li{margin:0 0 6px;padding:0 10px;list-style-type:none!important;display:block;color:#fff;overflow:hidden}.mejs-controls .mejs-speed-button .mejs-speed-selector ul li input{clear:both;float:left;margin:3px 3px 0 5px;display:none}.mejs-controls .mejs-speed-button .mejs-speed-selector ul li label{width:60px;float:left;padding:4px 0 0;line-height:15px;font-family:helvetica,arial;font-size:11.5px;color:#fff;margin-left:5px;cursor:pointer}.mejs-controls .mejs-speed-button .mejs-speed-selector ul li:hover{background-color:#c8c8c8!important;background-color:rgba(255,255,255,.4)!important}.mejs-controls .mejs-button.mejs-skip-back-button{background:transparent url(skipback.png) no-repeat;background-position:3px 3px}.mejs-controls .mejs-button.mejs-skip-back-button button{background:transparent;font-size:9px;line-height:normal;color:#fff} \ No newline at end of file +.mejs-offscreen{position:absolute!important;top:-10000px;left:-10000px;overflow:hidden;width:1px;height:1px}.mejs-container{position:relative;background:#000;font-family:Helvetica,Arial;text-align:left;vertical-align:top;text-indent:0}.mejs-container:focus{outline:0}.me-plugin{position:absolute}.mejs-embed,.mejs-embed body{width:100%;height:100%;margin:0;padding:0;background:#000;overflow:hidden}.mejs-fullscreen{overflow:hidden!important}.mejs-container-fullscreen{position:fixed;left:0;top:0;right:0;bottom:0;overflow:hidden;z-index:1000}.mejs-container-fullscreen .mejs-mediaelement,.mejs-container-fullscreen video{width:100%;height:100%}.mejs-clear{clear:both}.mejs-background{position:absolute;top:0;left:0}.mejs-mediaelement{position:absolute;top:0;left:0;width:100%;height:100%}.mejs-poster{position:absolute;top:0;left:0;background-size:contain;background-position:50% 50%;background-repeat:no-repeat}:root .mejs-poster img{display:none}.mejs-poster img{border:0;padding:0;border:0}.mejs-overlay{position:absolute;top:0;left:0}.mejs-overlay-play{cursor:pointer}.mejs-overlay-button{position:absolute;top:50%;left:50%;width:100px;height:100px;margin:-50px 0 0 -50px;background:url(bigplay.svg) no-repeat}.no-svg .mejs-overlay-button{background-image:url(bigplay.png)}.mejs-overlay:hover .mejs-overlay-button{background-position:0 -100px}.mejs-overlay-loading{position:absolute;top:50%;left:50%;width:80px;height:80px;margin:-40px 0 0 -40px;background:#333;background:url(background.png);background:rgba(0,0,0,.9);background:-webkit-gradient(linear,0 0,0 100%,from(rgba(50,50,50,.9)),to(rgba(0,0,0,.9)));background:-webkit-linear-gradient(top,rgba(50,50,50,.9),rgba(0,0,0,.9));background:-moz-linear-gradient(top,rgba(50,50,50,.9),rgba(0,0,0,.9));background:-o-linear-gradient(top,rgba(50,50,50,.9),rgba(0,0,0,.9));background:-ms-linear-gradient(top,rgba(50,50,50,.9),rgba(0,0,0,.9));background:linear-gradient(rgba(50,50,50,.9),rgba(0,0,0,.9))}.mejs-overlay-loading span{display:block;width:80px;height:80px;background:transparent url(loading.gif) 50% 50% no-repeat}.mejs-container .mejs-controls{position:absolute;list-style-type:none;margin:0;padding:0;bottom:0;left:0;background:url(background.png);background:rgba(0,0,0,.7);background:-webkit-gradient(linear,0 0,0 100%,from(rgba(50,50,50,.7)),to(rgba(0,0,0,.7)));background:-webkit-linear-gradient(top,rgba(50,50,50,.7),rgba(0,0,0,.7));background:-moz-linear-gradient(top,rgba(50,50,50,.7),rgba(0,0,0,.7));background:-o-linear-gradient(top,rgba(50,50,50,.7),rgba(0,0,0,.7));background:-ms-linear-gradient(top,rgba(50,50,50,.7),rgba(0,0,0,.7));background:linear-gradient(rgba(50,50,50,.7),rgba(0,0,0,.7));height:30px;width:100%}.mejs-container .mejs-controls div{list-style-type:none;background-image:none;display:block;float:left;margin:0;padding:0;width:26px;height:26px;font-size:11px;line-height:11px;font-family:Helvetica,Arial;border:0}.mejs-controls .mejs-button button{cursor:pointer;display:block;font-size:0;line-height:0;text-decoration:none;margin:7px 5px;padding:0;position:absolute;height:16px;width:16px;border:0;background:transparent url(controls.svg) no-repeat}.no-svg .mejs-controls .mejs-button button{background-image:url(controls.png)}.mejs-controls .mejs-button button:focus{outline:dotted 1px #999}.mejs-container .mejs-controls .mejs-time{color:#fff;display:block;height:17px;width:auto;padding:10px 3px 0;overflow:hidden;text-align:center;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}.mejs-container .mejs-controls .mejs-time a{color:#fff;font-size:11px;line-height:12px;display:block;float:left;margin:1px 2px 0 0;width:auto}.mejs-controls .mejs-play button{background-position:0 0}.mejs-controls .mejs-pause button{background-position:0 -16px}.mejs-controls .mejs-stop button{background-position:-112px 0}.mejs-controls div.mejs-time-rail{direction:ltr;width:200px;padding-top:5px}.mejs-controls .mejs-time-rail span,.mejs-controls .mejs-time-rail a{display:block;position:absolute;width:180px;height:10px;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;cursor:pointer}.mejs-controls .mejs-time-rail .mejs-time-total{margin:5px;background:#333;background:rgba(50,50,50,.8);background:-webkit-gradient(linear,0 0,0 100%,from(rgba(30,30,30,.8)),to(rgba(60,60,60,.8)));background:-webkit-linear-gradient(top,rgba(30,30,30,.8),rgba(60,60,60,.8));background:-moz-linear-gradient(top,rgba(30,30,30,.8),rgba(60,60,60,.8));background:-o-linear-gradient(top,rgba(30,30,30,.8),rgba(60,60,60,.8));background:-ms-linear-gradient(top,rgba(30,30,30,.8),rgba(60,60,60,.8));background:linear-gradient(rgba(30,30,30,.8),rgba(60,60,60,.8))}.mejs-controls .mejs-time-rail .mejs-time-buffering{width:100%;background-image:-o-linear-gradient(-45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,.15)),color-stop(0.75,rgba(255,255,255,.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(-45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-ms-linear-gradient(-45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(-45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);-webkit-background-size:15px 15px;-moz-background-size:15px 15px;-o-background-size:15px 15px;background-size:15px 15px;-webkit-animation:buffering-stripes 2s linear infinite;-moz-animation:buffering-stripes 2s linear infinite;-ms-animation:buffering-stripes 2s linear infinite;-o-animation:buffering-stripes 2s linear infinite;animation:buffering-stripes 2s linear infinite}@-webkit-keyframes buffering-stripes{from{background-position:0 0}to{background-position:30px 0}}@-moz-keyframes buffering-stripes{from{background-position:0 0}to{background-position:30px 0}}@-ms-keyframes buffering-stripes{from{background-position:0 0}to{background-position:30px 0}}@-o-keyframes buffering-stripes{from{background-position:0 0}to{background-position:30px 0}}@keyframes buffering-stripes{from{background-position:0 0}to{background-position:30px 0}}.mejs-controls .mejs-time-rail .mejs-time-loaded{background:#3caac8;background:rgba(60,170,200,.8);background:-webkit-gradient(linear,0 0,0 100%,from(rgba(44,124,145,.8)),to(rgba(78,183,212,.8)));background:-webkit-linear-gradient(top,rgba(44,124,145,.8),rgba(78,183,212,.8));background:-moz-linear-gradient(top,rgba(44,124,145,.8),rgba(78,183,212,.8));background:-o-linear-gradient(top,rgba(44,124,145,.8),rgba(78,183,212,.8));background:-ms-linear-gradient(top,rgba(44,124,145,.8),rgba(78,183,212,.8));background:linear-gradient(rgba(44,124,145,.8),rgba(78,183,212,.8));width:0}.mejs-controls .mejs-time-rail .mejs-time-current{background:#fff;background:rgba(255,255,255,.8);background:-webkit-gradient(linear,0 0,0 100%,from(rgba(255,255,255,.9)),to(rgba(200,200,200,.8)));background:-webkit-linear-gradient(top,rgba(255,255,255,.9),rgba(200,200,200,.8));background:-moz-linear-gradient(top,rgba(255,255,255,.9),rgba(200,200,200,.8));background:-o-linear-gradient(top,rgba(255,255,255,.9),rgba(200,200,200,.8));background:-ms-linear-gradient(top,rgba(255,255,255,.9),rgba(200,200,200,.8));background:linear-gradient(rgba(255,255,255,.9),rgba(200,200,200,.8));width:0}.mejs-controls .mejs-time-rail .mejs-time-handle{display:none;position:absolute;margin:0;width:10px;background:#fff;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;cursor:pointer;border:solid 2px #333;top:-2px;text-align:center}.mejs-controls .mejs-time-rail .mejs-time-float{position:absolute;display:none;background:#eee;width:36px;height:17px;border:solid 1px #333;top:-26px;margin-left:-18px;text-align:center;color:#111}.mejs-controls .mejs-time-rail .mejs-time-float-current{margin:2px;width:30px;display:block;text-align:center;left:0}.mejs-controls .mejs-time-rail .mejs-time-float-corner{position:absolute;display:block;width:0;height:0;line-height:0;border:solid 5px #eee;border-color:#eee transparent transparent;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;top:15px;left:13px}.mejs-long-video .mejs-controls .mejs-time-rail .mejs-time-float{width:48px}.mejs-long-video .mejs-controls .mejs-time-rail .mejs-time-float-current{width:44px}.mejs-long-video .mejs-controls .mejs-time-rail .mejs-time-float-corner{left:18px}.mejs-controls .mejs-fullscreen-button button{background-position:-32px 0}.mejs-controls .mejs-unfullscreen button{background-position:-32px -16px}.mejs-controls .mejs-volume-button{}.mejs-controls .mejs-mute button{background-position:-16px -16px}.mejs-controls .mejs-unmute button{background-position:-16px 0}.mejs-controls .mejs-volume-button{position:relative}.mejs-controls .mejs-volume-button .mejs-volume-slider{display:none;height:115px;width:25px;background:url(background.png);background:rgba(50,50,50,.7);-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;top:-115px;left:0;z-index:1;position:absolute;margin:0}.mejs-controls .mejs-volume-button:hover{-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px}.mejs-controls .mejs-volume-button .mejs-volume-slider .mejs-volume-total{position:absolute;left:11px;top:8px;width:2px;height:100px;background:#ddd;background:rgba(255,255,255,.5);margin:0}.mejs-controls .mejs-volume-button .mejs-volume-slider .mejs-volume-current{position:absolute;left:11px;top:8px;width:2px;height:100px;background:#ddd;background:rgba(255,255,255,.9);margin:0}.mejs-controls .mejs-volume-button .mejs-volume-slider .mejs-volume-handle{position:absolute;left:4px;top:-3px;width:16px;height:6px;background:#ddd;background:rgba(255,255,255,.9);cursor:N-resize;-webkit-border-radius:1px;-moz-border-radius:1px;border-radius:1px;margin:0}.mejs-controls a.mejs-horizontal-volume-slider{height:26px;width:56px;position:relative;display:block;float:left;vertical-align:middle}.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total{position:absolute;left:0;top:11px;width:50px;height:8px;margin:0;padding:0;font-size:1px;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;background:#333;background:rgba(50,50,50,.8);background:-webkit-gradient(linear,0 0,0 100%,from(rgba(30,30,30,.8)),to(rgba(60,60,60,.8)));background:-webkit-linear-gradient(top,rgba(30,30,30,.8),rgba(60,60,60,.8));background:-moz-linear-gradient(top,rgba(30,30,30,.8),rgba(60,60,60,.8));background:-o-linear-gradient(top,rgba(30,30,30,.8),rgba(60,60,60,.8));background:-ms-linear-gradient(top,rgba(30,30,30,.8),rgba(60,60,60,.8));background:linear-gradient(rgba(30,30,30,.8),rgba(60,60,60,.8))}.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current{position:absolute;left:0;top:11px;width:50px;height:8px;margin:0;padding:0;font-size:1px;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;background:#fff;background:rgba(255,255,255,.8);background:-webkit-gradient(linear,0 0,0 100%,from(rgba(255,255,255,.9)),to(rgba(200,200,200,.8)));background:-webkit-linear-gradient(top,rgba(255,255,255,.9),rgba(200,200,200,.8));background:-moz-linear-gradient(top,rgba(255,255,255,.9),rgba(200,200,200,.8));background:-o-linear-gradient(top,rgba(255,255,255,.9),rgba(200,200,200,.8));background:-ms-linear-gradient(top,rgba(255,255,255,.9),rgba(200,200,200,.8));background:linear-gradient(rgba(255,255,255,.9),rgba(200,200,200,.8))}.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-handle{display:none}.mejs-controls .mejs-captions-button{position:relative}.mejs-controls .mejs-captions-button button{background-position:-48px 0}.mejs-controls .mejs-captions-button .mejs-captions-selector{visibility:hidden;position:absolute;bottom:26px;right:-51px;width:85px;height:100px;background:url(background.png);background:rgba(50,50,50,.7);border:solid 1px transparent;padding:10px 10px 0;overflow:hidden;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.mejs-controls .mejs-captions-button .mejs-captions-selector ul{margin:0;padding:0;display:block;list-style-type:none!important;overflow:hidden}.mejs-controls .mejs-captions-button .mejs-captions-selector ul li{margin:0 0 6px;padding:0;list-style-type:none!important;display:block;color:#fff;overflow:hidden}.mejs-controls .mejs-captions-button .mejs-captions-selector ul li input{clear:both;float:left;margin:3px 3px 0 5px}.mejs-controls .mejs-captions-button .mejs-captions-selector ul li label{width:55px;float:left;padding:4px 0 0;line-height:15px;font-family:helvetica,arial;font-size:10px}.mejs-controls .mejs-captions-button .mejs-captions-translations{font-size:10px;margin:0 0 5px}.mejs-chapters{position:absolute;top:0;left:0;-xborder-right:solid 1px #fff;width:10000px;z-index:1}.mejs-chapters .mejs-chapter{position:absolute;float:left;background:#222;background:rgba(0,0,0,.7);background:-webkit-gradient(linear,0 0,0 100%,from(rgba(50,50,50,.7)),to(rgba(0,0,0,.7)));background:-webkit-linear-gradient(top,rgba(50,50,50,.7),rgba(0,0,0,.7));background:-moz-linear-gradient(top,rgba(50,50,50,.7),rgba(0,0,0,.7));background:-o-linear-gradient(top,rgba(50,50,50,.7),rgba(0,0,0,.7));background:-ms-linear-gradient(top,rgba(50,50,50,.7),rgba(0,0,0,.7));background:linear-gradient(rgba(50,50,50,.7),rgba(0,0,0,.7));filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr=#323232, endColorstr=#000000);overflow:hidden;border:0}.mejs-chapters .mejs-chapter .mejs-chapter-block{font-size:11px;color:#fff;padding:5px;display:block;border-right:solid 1px #333;border-bottom:solid 1px #333;cursor:pointer}.mejs-chapters .mejs-chapter .mejs-chapter-block-last{border-right:0}.mejs-chapters .mejs-chapter .mejs-chapter-block:hover{background:#666;background:rgba(102,102,102,.7);background:-webkit-gradient(linear,0 0,0 100%,from(rgba(102,102,102,.7)),to(rgba(50,50,50,.6)));background:-webkit-linear-gradient(top,rgba(102,102,102,.7),rgba(50,50,50,.6));background:-moz-linear-gradient(top,rgba(102,102,102,.7),rgba(50,50,50,.6));background:-o-linear-gradient(top,rgba(102,102,102,.7),rgba(50,50,50,.6));background:-ms-linear-gradient(top,rgba(102,102,102,.7),rgba(50,50,50,.6));background:linear-gradient(rgba(102,102,102,.7),rgba(50,50,50,.6));filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr=#666666, endColorstr=#323232)}.mejs-chapters .mejs-chapter .mejs-chapter-block .ch-title{font-size:12px;font-weight:700;display:block;white-space:nowrap;text-overflow:ellipsis;margin:0 0 3px;line-height:12px}.mejs-chapters .mejs-chapter .mejs-chapter-block .ch-timespan{font-size:12px;line-height:12px;margin:3px 0 4px;display:block;white-space:nowrap;text-overflow:ellipsis}.mejs-captions-layer{position:absolute;bottom:0;left:0;text-align:center;line-height:20px;font-size:16px;color:#fff}.mejs-captions-layer a{color:#fff;text-decoration:underline}.mejs-captions-layer[lang=ar]{font-size:20px;font-weight:400}.mejs-captions-position{position:absolute;width:100%;bottom:15px;left:0}.mejs-captions-position-hover{bottom:35px}.mejs-captions-text{padding:3px 5px;background:url(background.png);background:rgba(20,20,20,.5);white-space:pre-wrap}.me-cannotplay{}.me-cannotplay a{color:#fff;font-weight:700}.me-cannotplay span{padding:15px;display:block}.mejs-controls .mejs-loop-off button{background-position:-64px -16px}.mejs-controls .mejs-loop-on button{background-position:-64px 0}.mejs-controls .mejs-backlight-off button{background-position:-80px -16px}.mejs-controls .mejs-backlight-on button{background-position:-80px 0}.mejs-controls .mejs-picturecontrols-button{background-position:-96px 0}.mejs-contextmenu{position:absolute;width:150px;padding:10px;border-radius:4px;top:0;left:0;background:#fff;border:solid 1px #999;z-index:1001}.mejs-contextmenu .mejs-contextmenu-separator{height:1px;font-size:0;margin:5px 6px;background:#333}.mejs-contextmenu .mejs-contextmenu-item{font-family:Helvetica,Arial;font-size:12px;padding:4px 6px;cursor:pointer;color:#333}.mejs-contextmenu .mejs-contextmenu-item:hover{background:#2C7C91;color:#fff}.mejs-controls .mejs-sourcechooser-button{position:relative}.mejs-controls .mejs-sourcechooser-button button{background-position:-128px 0}.mejs-controls .mejs-sourcechooser-button .mejs-sourcechooser-selector{visibility:hidden;position:absolute;bottom:26px;right:-10px;width:130px;height:100px;background:url(background.png);background:rgba(50,50,50,.7);border:solid 1px transparent;padding:10px;overflow:hidden;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.mejs-controls .mejs-sourcechooser-button .mejs-sourcechooser-selector ul{margin:0;padding:0;display:block;list-style-type:none!important;overflow:hidden}.mejs-controls .mejs-sourcechooser-button .mejs-sourcechooser-selector ul li{margin:0 0 6px;padding:0;list-style-type:none!important;display:block;color:#fff;overflow:hidden}.mejs-controls .mejs-sourcechooser-button .mejs-sourcechooser-selector ul li input{clear:both;float:left;margin:3px 3px 0 5px}.mejs-controls .mejs-sourcechooser-button .mejs-sourcechooser-selector ul li label{width:100px;float:left;padding:4px 0 0;line-height:15px;font-family:helvetica,arial;font-size:10px}.mejs-postroll-layer{position:absolute;bottom:0;left:0;width:100%;height:100%;background:url(background.png);background:rgba(50,50,50,.7);z-index:1000;overflow:hidden}.mejs-postroll-layer-content{width:100%;height:100%}.mejs-postroll-close{position:absolute;right:0;top:0;background:url(background.png);background:rgba(50,50,50,.7);color:#fff;padding:4px;z-index:100;cursor:pointer}div.mejs-speed-button{width:46px!important;position:relative}.mejs-controls .mejs-button.mejs-speed-button button{background:transparent;width:36px;font-size:11px;line-height:normal;color:#fff}.mejs-controls .mejs-speed-button .mejs-speed-selector{display:none;position:absolute;top:-100px;left:-10px;width:60px;height:100px;background:url(background.png);background:rgba(50,50,50,.7);border:solid 1px transparent;padding:0;overflow:hidden;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.mejs-controls .mejs-speed-button:hover>.mejs-speed-selector{display:block}.mejs-controls .mejs-speed-button .mejs-speed-selector ul li label.mejs-speed-selected{color:rgba(33,248,248,1)}.mejs-controls .mejs-speed-button .mejs-speed-selector ul{margin:0;padding:0;display:block;list-style-type:none!important;overflow:hidden}.mejs-controls .mejs-speed-button .mejs-speed-selector ul li{margin:0 0 6px;padding:0 10px;list-style-type:none!important;display:block;color:#fff;overflow:hidden}.mejs-controls .mejs-speed-button .mejs-speed-selector ul li input{clear:both;float:left;margin:3px 3px 0 5px;display:none}.mejs-controls .mejs-speed-button .mejs-speed-selector ul li label{width:60px;float:left;padding:4px 0 0;line-height:15px;font-family:helvetica,arial;font-size:11.5px;color:#fff;margin-left:5px;cursor:pointer}.mejs-controls .mejs-speed-button .mejs-speed-selector ul li:hover{background-color:#c8c8c8!important;background-color:rgba(255,255,255,.4)!important}.mejs-controls .mejs-button.mejs-jump-forward-button{background:transparent url(jumpforward.png) no-repeat;background-position:3px 3px}.mejs-controls .mejs-button.mejs-jump-forward-button button{background:transparent;font-size:9px;line-height:normal;color:#fff}.mejs-controls .mejs-button.mejs-skip-back-button{background:transparent url(skipback.png) no-repeat;background-position:3px 3px}.mejs-controls .mejs-button.mejs-skip-back-button button{background:transparent;font-size:9px;line-height:normal;color:#fff} \ No newline at end of file diff --git a/wp-includes/js/mediaelement/wp-mediaelement.css b/wp-includes/js/mediaelement/wp-mediaelement.css index daa659d..097409b 100644 --- a/wp-includes/js/mediaelement/wp-mediaelement.css +++ b/wp-includes/js/mediaelement/wp-mediaelement.css @@ -47,7 +47,7 @@ border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); clip: auto; - color: #21759b; + color: #0073aa; display: block; font-size: 14px; font-weight: bold; diff --git a/wp-includes/js/mediaelement/wp-mediaelement.js b/wp-includes/js/mediaelement/wp-mediaelement.js index 8c4364a..fe47d2f 100644 --- a/wp-includes/js/mediaelement/wp-mediaelement.js +++ b/wp-includes/js/mediaelement/wp-mediaelement.js @@ -1,34 +1,61 @@ /* global mejs, _wpmejsSettings */ -(function ($) { +(function( window, $ ) { + + window.wp = window.wp || {}; + // add mime-type aliases to MediaElement plugin support mejs.plugins.silverlight[0].types.push('video/x-ms-wmv'); mejs.plugins.silverlight[0].types.push('audio/x-ms-wma'); - $(function () { + function wpMediaElement() { var settings = {}; - if ( typeof _wpmejsSettings !== 'undefined' ) { - settings = _wpmejsSettings; + /** + * Initialize media elements. + * + * Ensures media elements that have already been initialized won't be + * processed again. + * + * @since 4.4.0 + */ + function initialize() { + if ( typeof _wpmejsSettings !== 'undefined' ) { + settings = _wpmejsSettings; + } + + settings.success = settings.success || function (mejs) { + var autoplay, loop; + + if ( 'flash' === mejs.pluginType ) { + autoplay = mejs.attributes.autoplay && 'false' !== mejs.attributes.autoplay; + loop = mejs.attributes.loop && 'false' !== mejs.attributes.loop; + + autoplay && mejs.addEventListener( 'canplay', function () { + mejs.play(); + }, false ); + + loop && mejs.addEventListener( 'ended', function () { + mejs.play(); + }, false ); + } + }; + + // Only initialize new media elements. + $( '.wp-audio-shortcode, .wp-video-shortcode' ) + .not( '.mejs-container' ) + .filter(function () { + return ! $( this ).parent().hasClass( '.mejs-mediaelement' ); + }) + .mediaelementplayer( settings ); } - settings.success = settings.success || function (mejs) { - var autoplay, loop; - - if ( 'flash' === mejs.pluginType ) { - autoplay = mejs.attributes.autoplay && 'false' !== mejs.attributes.autoplay; - loop = mejs.attributes.loop && 'false' !== mejs.attributes.loop; - - autoplay && mejs.addEventListener( 'canplay', function () { - mejs.play(); - }, false ); - - loop && mejs.addEventListener( 'ended', function () { - mejs.play(); - }, false ); - } + return { + initialize: initialize }; + } - $('.wp-audio-shortcode, .wp-video-shortcode').mediaelementplayer( settings ); - }); + window.wp.mediaelement = new wpMediaElement(); -}(jQuery)); + $( document ).on( 'ready', window.wp.mediaelement.initialize ); + +})( window, jQuery ); diff --git a/wp-includes/js/plupload/plupload.flash.swf b/wp-includes/js/plupload/plupload.flash.swf index 47a83ce..e477cf9 100644 Binary files a/wp-includes/js/plupload/plupload.flash.swf and b/wp-includes/js/plupload/plupload.flash.swf differ diff --git a/wp-includes/js/plupload/plupload.full.min.js b/wp-includes/js/plupload/plupload.full.min.js index 69d6ad1..2af434d 100644 --- a/wp-includes/js/plupload/plupload.full.min.js +++ b/wp-includes/js/plupload/plupload.full.min.js @@ -1,6 +1,6 @@ /** * mOxie - multi-runtime File API & XMLHttpRequest L2 Polyfill - * v1.2.0 + * v1.3.4 * * Copyright 2013, Moxiecode Systems AB * Released under GPL License. @@ -8,14 +8,15 @@ * License: http://www.plupload.com/license * Contributing: http://www.plupload.com/contributing * - * Date: 2014-01-16 + * Date: 2015-07-18 */ -!function(e,t){"use strict";function n(e,t){for(var n,i=[],r=0;r0&&n(o,function(n,o){n!==r&&(e(i[o])===e(n)&&~a(e(n),["array","object"])?t(i[o],n):i[o]=n)})}),i},n=function(e,t){var n,i,r,o;if(e){try{n=e.length}catch(a){n=o}if(n===o){for(i in e)if(e.hasOwnProperty(i)&&t(e[i],i)===!1)return}else for(r=0;n>r;r++)if(t(e[r],r)===!1)return}},i=function(t){var n;if(!t||"object"!==e(t))return!0;for(n in t)return!1;return!0},r=function(t,n){function i(r){"function"===e(t[r])&&t[r](function(e){++rn;n++)if(t[n]===e)return n}return-1},s=function(t,n){var i=[];"array"!==e(t)&&(t=[t]),"array"!==e(n)&&(n=[n]);for(var r in t)-1===a(t[r],n)&&i.push(t[r]);return i.length?i:!1},u=function(e,t){var i=[];return n(e,function(e){-1!==a(e,t)&&i.push(e)}),i.length?i:null},c=function(e){var t,n=[];for(t=0;ti;i++)n+=Math.floor(65535*Math.random()).toString(32);return(t||"o_")+n+(e++).toString(32)}}(),d=function(e){return e?String.prototype.trim?String.prototype.trim.call(e):e.toString().replace(/^\s*/,"").replace(/\s*$/,""):e},f=function(e){if("string"!=typeof e)return e;var t={t:1099511627776,g:1073741824,m:1048576,k:1024},n;return e=/^([0-9]+)([mgk]?)$/.exec(e.toLowerCase().replace(/[^0-9mkg]/g,"")),n=e[2],e=+e[1],t.hasOwnProperty(n)&&(e*=t[n]),e};return{guid:l,typeOf:e,extend:t,each:n,isEmptyObj:i,inSeries:r,inParallel:o,inArray:a,arrayDiff:s,arrayIntersect:u,toArray:c,trim:d,parseSizeStr:f}}),i(c,[u],function(e){var t={};return{addI18n:function(n){return e.extend(t,n)},translate:function(e){return t[e]||e},_:function(e){return this.translate(e)},sprintf:function(t){var n=[].slice.call(arguments,1);return t.replace(/%[a-z]/g,function(){var t=n.shift();return"undefined"!==e.typeOf(t)?t:""})}}}),i(l,[u,c],function(e,t){var n="application/msword,doc dot,application/pdf,pdf,application/pgp-signature,pgp,application/postscript,ps ai eps,application/rtf,rtf,application/vnd.ms-excel,xls xlb,application/vnd.ms-powerpoint,ppt pps pot,application/zip,zip,application/x-shockwave-flash,swf swfl,application/vnd.openxmlformats-officedocument.wordprocessingml.document,docx,application/vnd.openxmlformats-officedocument.wordprocessingml.template,dotx,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,xlsx,application/vnd.openxmlformats-officedocument.presentationml.presentation,pptx,application/vnd.openxmlformats-officedocument.presentationml.template,potx,application/vnd.openxmlformats-officedocument.presentationml.slideshow,ppsx,application/x-javascript,js,application/json,json,audio/mpeg,mp3 mpga mpega mp2,audio/x-wav,wav,audio/x-m4a,m4a,audio/ogg,oga ogg,audio/aiff,aiff aif,audio/flac,flac,audio/aac,aac,audio/ac3,ac3,audio/x-ms-wma,wma,image/bmp,bmp,image/gif,gif,image/jpeg,jpg jpeg jpe,image/photoshop,psd,image/png,png,image/svg+xml,svg svgz,image/tiff,tiff tif,text/plain,asc txt text diff log,text/html,htm html xhtml,text/css,css,text/csv,csv,text/rtf,rtf,video/mpeg,mpeg mpg mpe m2v,video/quicktime,qt mov,video/mp4,mp4,video/x-m4v,m4v,video/x-flv,flv,video/x-ms-wmv,wmv,video/avi,avi,video/webm,webm,video/3gpp,3gpp 3gp,video/3gpp2,3g2,video/vnd.rn-realvideo,rv,video/ogg,ogv,video/x-matroska,mkv,application/vnd.oasis.opendocument.formula-template,otf,application/octet-stream,exe",i={mimes:{},extensions:{},addMimeType:function(e){var t=e.split(/,/),n,i,r;for(n=0;ni;i++)if(e[i]!=t[i]){if(e[i]=u(e[i]),t[i]=u(t[i]),e[i]t[i]){o=1;break}}if(!n)return o;switch(n){case">":case"gt":return o>0;case">=":case"ge":return o>=0;case"<=":case"le":return 0>=o;case"==":case"=":case"eq":return 0===o;case"<>":case"!=":case"ne":return 0!==o;case"":case"<":case"lt":return 0>o;default:return null}}var n=function(e){var t="",n="?",i="function",r="undefined",o="object",a="major",s="model",u="name",c="type",l="vendor",d="version",f="architecture",p="console",h="mobile",m="tablet",g={has:function(e,t){return-1!==t.toLowerCase().indexOf(e.toLowerCase())},lowerize:function(e){return e.toLowerCase()}},v={rgx:function(){for(var t,n=0,a,s,u,c,l,d,f=arguments;n0?2==c.length?t[c[0]]=typeof c[1]==i?c[1].call(this,d):c[1]:3==c.length?t[c[0]]=typeof c[1]!==i||c[1].exec&&c[1].test?d?d.replace(c[1],c[2]):e:d?c[1].call(this,d,c[2]):e:4==c.length&&(t[c[0]]=d?c[3].call(this,d.replace(c[1],c[2])):e):t[c]=d?d:e;break}if(l)break}return t},str:function(t,i){for(var r in i)if(typeof i[r]===o&&i[r].length>0){for(var a=0;a=9)},use_data_uri_of:function(e){return t.use_data_uri&&33e3>e||t.use_data_uri_over32kb()},use_fileinput:function(){var e=document.createElement("input");return e.setAttribute("type","file"),!e.disabled}};return function(n){var i=[].slice.call(arguments);return i.shift(),"function"===e.typeOf(t[n])?t[n].apply(this,i):!!t[n]}}(),r={can:i,browser:n.browser.name,version:parseFloat(n.browser.major),os:n.os.name,osVersion:n.os.version,verComp:t,swf_url:"../flash/Moxie.swf",xap_url:"../silverlight/Moxie.xap",global_event_dispatcher:"moxie.core.EventTarget.instance.dispatchEvent"};return r.OS=r.os,r}),i(f,[d],function(e){var t=function(e){return"string"!=typeof e?e:document.getElementById(e)},n=function(e,t){if(!e.className)return!1;var n=new RegExp("(^|\\s+)"+t+"(\\s+|$)");return n.test(e.className)},i=function(e,t){n(e,t)||(e.className=e.className?e.className.replace(/\s+$/,"")+" "+t:t)},r=function(e,t){if(e.className){var n=new RegExp("(^|\\s+)"+t+"(\\s+|$)");e.className=e.className.replace(n,function(e,t,n){return" "===t&&" "===n?" ":""})}},o=function(e,t){return e.currentStyle?e.currentStyle[t]:window.getComputedStyle?window.getComputedStyle(e,null)[t]:void 0},a=function(t,n){function i(e){var t,n,i=0,r=0;return e&&(n=e.getBoundingClientRect(),t="CSS1Compat"===s.compatMode?s.documentElement:s.body,i=n.left+t.scrollLeft,r=n.top+t.scrollTop),{x:i,y:r}}var r=0,o=0,a,s=document,u,c;if(t=t,n=n||s.body,t&&t.getBoundingClientRect&&"IE"===e.browser&&(!s.documentMode||s.documentMode<8))return u=i(t),c=i(n),{x:u.x-c.x,y:u.y-c.y};for(a=t;a&&a!=n&&a.nodeType;)r+=a.offsetLeft||0,o+=a.offsetTop||0,a=a.offsetParent;for(a=t.parentNode;a&&a!=n&&a.nodeType;)r-=a.scrollLeft||0,o-=a.scrollTop||0,a=a.parentNode;return{x:r,y:o}},s=function(e){return{w:e.offsetWidth||e.clientWidth,h:e.offsetHeight||e.clientHeight}};return{get:t,hasClass:n,addClass:i,removeClass:r,getStyle:o,getPos:a,getSize:s}}),i(p,[u],function(e){function t(e,t){var n;for(n in e)if(e[n]===t)return n;return null}return{RuntimeError:function(){function n(e){this.code=e,this.name=t(i,e),this.message=this.name+": RuntimeError "+this.code}var i={NOT_INIT_ERR:1,NOT_SUPPORTED_ERR:9,JS_ERR:4};return e.extend(n,i),n.prototype=Error.prototype,n}(),OperationNotAllowedException:function(){function t(e){this.code=e,this.name="OperationNotAllowedException"}return e.extend(t,{NOT_ALLOWED_ERR:1}),t.prototype=Error.prototype,t}(),ImageError:function(){function n(e){this.code=e,this.name=t(i,e),this.message=this.name+": ImageError "+this.code}var i={WRONG_FORMAT:1,MAX_RESOLUTION_ERR:2};return e.extend(n,i),n.prototype=Error.prototype,n}(),FileException:function(){function n(e){this.code=e,this.name=t(i,e),this.message=this.name+": FileException "+this.code}var i={NOT_FOUND_ERR:1,SECURITY_ERR:2,ABORT_ERR:3,NOT_READABLE_ERR:4,ENCODING_ERR:5,NO_MODIFICATION_ALLOWED_ERR:6,INVALID_STATE_ERR:7,SYNTAX_ERR:8};return e.extend(n,i),n.prototype=Error.prototype,n}(),DOMException:function(){function n(e){this.code=e,this.name=t(i,e),this.message=this.name+": DOMException "+this.code}var i={INDEX_SIZE_ERR:1,DOMSTRING_SIZE_ERR:2,HIERARCHY_REQUEST_ERR:3,WRONG_DOCUMENT_ERR:4,INVALID_CHARACTER_ERR:5,NO_DATA_ALLOWED_ERR:6,NO_MODIFICATION_ALLOWED_ERR:7,NOT_FOUND_ERR:8,NOT_SUPPORTED_ERR:9,INUSE_ATTRIBUTE_ERR:10,INVALID_STATE_ERR:11,SYNTAX_ERR:12,INVALID_MODIFICATION_ERR:13,NAMESPACE_ERR:14,INVALID_ACCESS_ERR:15,VALIDATION_ERR:16,TYPE_MISMATCH_ERR:17,SECURITY_ERR:18,NETWORK_ERR:19,ABORT_ERR:20,URL_MISMATCH_ERR:21,QUOTA_EXCEEDED_ERR:22,TIMEOUT_ERR:23,INVALID_NODE_TYPE_ERR:24,DATA_CLONE_ERR:25};return e.extend(n,i),n.prototype=Error.prototype,n}(),EventException:function(){function t(e){this.code=e,this.name="EventException"}return e.extend(t,{UNSPECIFIED_EVENT_TYPE_ERR:0}),t.prototype=Error.prototype,t}()}}),i(h,[p,u],function(e,t){function n(){var n={};t.extend(this,{uid:null,init:function(){this.uid||(this.uid=t.guid("uid_"))},addEventListener:function(e,i,r,o){var a=this,s;return e=t.trim(e),/\s/.test(e)?(t.each(e.split(/\s+/),function(e){a.addEventListener(e,i,r,o)}),void 0):(e=e.toLowerCase(),r=parseInt(r,10)||0,s=n[this.uid]&&n[this.uid][e]||[],s.push({fn:i,priority:r,scope:o||this}),n[this.uid]||(n[this.uid]={}),n[this.uid][e]=s,void 0)},hasEventListener:function(e){return e?!(!n[this.uid]||!n[this.uid][e]):!!n[this.uid]},removeEventListener:function(e,i){e=e.toLowerCase();var r=n[this.uid]&&n[this.uid][e],o;if(r){if(i){for(o=r.length-1;o>=0;o--)if(r[o].fn===i){r.splice(o,1);break}}else r=[];r.length||(delete n[this.uid][e],t.isEmptyObj(n[this.uid])&&delete n[this.uid])}},removeAllEventListeners:function(){n[this.uid]&&delete n[this.uid]},dispatchEvent:function(i){var r,o,a,s,u={},c=!0,l;if("string"!==t.typeOf(i)){if(s=i,"string"!==t.typeOf(s.type))throw new e.EventException(e.EventException.UNSPECIFIED_EVENT_TYPE_ERR);i=s.type,s.total!==l&&s.loaded!==l&&(u.total=s.total,u.loaded=s.loaded),u.async=s.async||!1}if(-1!==i.indexOf("::")?function(e){r=e[0],i=e[1]}(i.split("::")):r=this.uid,i=i.toLowerCase(),o=n[r]&&n[r][i]){o.sort(function(e,t){return t.priority-e.priority}),a=[].slice.call(arguments),a.shift(),u.type=i,a.unshift(u);var d=[];t.each(o,function(e){a[0].target=e.scope,u.async?d.push(function(t){setTimeout(function(){t(e.fn.apply(e.scope,a)===!1)},1)}):d.push(function(t){t(e.fn.apply(e.scope,a)===!1)})}),d.length&&t.inSeries(d,function(e){c=!e})}return c},bind:function(){this.addEventListener.apply(this,arguments)},unbind:function(){this.removeEventListener.apply(this,arguments)},unbindAll:function(){this.removeAllEventListeners.apply(this,arguments)},trigger:function(){return this.dispatchEvent.apply(this,arguments)},convertEventPropsToHandlers:function(e){var n;"array"!==t.typeOf(e)&&(e=[e]);for(var i=0;i>16,o=255&d>>8,a=255&d,m[p++]=64==c?String.fromCharCode(r):64==l?String.fromCharCode(r,o):String.fromCharCode(r,o,a);while(f>18,u=63&d>>12,c=63&d>>6,l=63&d,m[p++]=i.charAt(s)+i.charAt(u)+i.charAt(c)+i.charAt(l);while(fa;a++)o+=String.fromCharCode(r[a]);return o}}t.call(this),e.extend(this,{uid:e.guid("uid_"),readAsBinaryString:function(e){return i.call(this,"readAsBinaryString",e)},readAsDataURL:function(e){return i.call(this,"readAsDataURL",e)},readAsText:function(e){return i.call(this,"readAsText",e)}})}}),i(S,[p,u,y],function(e,t,n){function i(){var e,i=[];t.extend(this,{append:function(r,o){var a=this,s=t.typeOf(o);o instanceof n?e={name:r,value:o}:"array"===s?(r+="[]",t.each(o,function(e){a.append(r,e)})):"object"===s?t.each(o,function(e,t){a.append(r+"["+t+"]",e)}):"null"===s||"undefined"===s||"number"===s&&isNaN(o)?a.append(r,"false"):i.push({name:r,value:o.toString()})},hasBlob:function(){return!!this.getBlob()},getBlob:function(){return e&&e.value||null},getBlobName:function(){return e&&e.name||null},each:function(n){t.each(i,function(e){n(e.value,e.name)}),e&&n(e.value,e.name)},destroy:function(){e=null,i=[]}})}return i}),i(A,[u,p,h,m,b,g,x,y,T,S,d,l],function(e,t,n,i,r,o,a,s,u,c,l,d){function f(){this.uid=e.guid("uid_")}function p(){function n(e,t){return y.hasOwnProperty(e)?1===arguments.length?l.can("define_property")?y[e]:v[e]:(l.can("define_property")?y[e]=t:v[e]=t,void 0):void 0}function u(t){function i(){k.destroy(),k=null,s.dispatchEvent("loadend"),s=null}function r(r){k.bind("LoadStart",function(e){n("readyState",p.LOADING),s.dispatchEvent("readystatechange"),s.dispatchEvent(e),I&&s.upload.dispatchEvent(e)}),k.bind("Progress",function(e){n("readyState")!==p.LOADING&&(n("readyState",p.LOADING),s.dispatchEvent("readystatechange")),s.dispatchEvent(e)}),k.bind("UploadProgress",function(e){I&&s.upload.dispatchEvent({type:"progress",lengthComputable:!1,total:e.total,loaded:e.loaded})}),k.bind("Load",function(t){n("readyState",p.DONE),n("status",Number(r.exec.call(k,"XMLHttpRequest","getStatus")||0)),n("statusText",h[n("status")]||""),n("response",r.exec.call(k,"XMLHttpRequest","getResponse",n("responseType"))),~e.inArray(n("responseType"),["text",""])?n("responseText",n("response")):"document"===n("responseType")&&n("responseXML",n("response")),U=r.exec.call(k,"XMLHttpRequest","getAllResponseHeaders"),s.dispatchEvent("readystatechange"),n("status")>0?(I&&s.upload.dispatchEvent(t),s.dispatchEvent(t)):(N=!0,s.dispatchEvent("error")),i()}),k.bind("Abort",function(e){s.dispatchEvent(e),i()}),k.bind("Error",function(e){N=!0,n("readyState",p.DONE),s.dispatchEvent("readystatechange"),D=!0,s.dispatchEvent(e),i()}),r.exec.call(k,"XMLHttpRequest","send",{url:E,method:_,async:w,user:R,password:b,headers:x,mimeType:S,encoding:T,responseType:s.responseType,withCredentials:s.withCredentials,options:P},t)}var s=this;M=(new Date).getTime(),k=new a,"string"==typeof P.required_caps&&(P.required_caps=o.parseCaps(P.required_caps)),P.required_caps=e.extend({},P.required_caps,{return_response_type:s.responseType}),t instanceof c&&(P.required_caps.send_multipart=!0),L||(P.required_caps.do_cors=!0),P.ruid?r(k.connectRuntime(P)):(k.bind("RuntimeInit",function(e,t){r(t)}),k.bind("RuntimeError",function(e,t){s.dispatchEvent("RuntimeError",t)}),k.connectRuntime(P))}function g(){n("responseText",""),n("responseXML",null),n("response",null),n("status",0),n("statusText",""),M=C=null}var v=this,y={timeout:0,readyState:p.UNSENT,withCredentials:!1,status:0,statusText:"",responseType:"",responseXML:null,responseText:null,response:null},w=!0,E,_,x={},R,b,T=null,S=null,A=!1,O=!1,I=!1,D=!1,N=!1,L=!1,M,C,F=null,H=null,P={},k,U="",B;e.extend(this,y,{uid:e.guid("uid_"),upload:new f,open:function(o,a,s,u,c){var l;if(!o||!a)throw new t.DOMException(t.DOMException.SYNTAX_ERR);if(/[\u0100-\uffff]/.test(o)||i.utf8_encode(o)!==o)throw new t.DOMException(t.DOMException.SYNTAX_ERR);if(~e.inArray(o.toUpperCase(),["CONNECT","DELETE","GET","HEAD","OPTIONS","POST","PUT","TRACE","TRACK"])&&(_=o.toUpperCase()),~e.inArray(_,["CONNECT","TRACE","TRACK"]))throw new t.DOMException(t.DOMException.SECURITY_ERR);if(a=i.utf8_encode(a),l=r.parseUrl(a),L=r.hasSameOrigin(l),E=r.resolveUrl(a),(u||c)&&!L)throw new t.DOMException(t.DOMException.INVALID_ACCESS_ERR);if(R=u||l.user,b=c||l.pass,w=s||!0,w===!1&&(n("timeout")||n("withCredentials")||""!==n("responseType")))throw new t.DOMException(t.DOMException.INVALID_ACCESS_ERR);A=!w,O=!1,x={},g.call(this),n("readyState",p.OPENED),this.convertEventPropsToHandlers(["readystatechange"]),this.dispatchEvent("readystatechange")},setRequestHeader:function(r,o){var a=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","content-transfer-encoding","date","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"];if(n("readyState")!==p.OPENED||O)throw new t.DOMException(t.DOMException.INVALID_STATE_ERR);if(/[\u0100-\uffff]/.test(r)||i.utf8_encode(r)!==r)throw new t.DOMException(t.DOMException.SYNTAX_ERR);return r=e.trim(r).toLowerCase(),~e.inArray(r,a)||/^(proxy\-|sec\-)/.test(r)?!1:(x[r]?x[r]+=", "+o:x[r]=o,!0)},getAllResponseHeaders:function(){return U||""},getResponseHeader:function(t){return t=t.toLowerCase(),N||~e.inArray(t,["set-cookie","set-cookie2"])?null:U&&""!==U&&(B||(B={},e.each(U.split(/\r\n/),function(t){var n=t.split(/:\s+/);2===n.length&&(n[0]=e.trim(n[0]),B[n[0].toLowerCase()]={header:n[0],value:e.trim(n[1])})})),B.hasOwnProperty(t))?B[t].header+": "+B[t].value:null},overrideMimeType:function(i){var r,o;if(~e.inArray(n("readyState"),[p.LOADING,p.DONE]))throw new t.DOMException(t.DOMException.INVALID_STATE_ERR);if(i=e.trim(i.toLowerCase()),/;/.test(i)&&(r=i.match(/^([^;]+)(?:;\scharset\=)?(.*)$/))&&(i=r[1],r[2]&&(o=r[2])),!d.mimes[i])throw new t.DOMException(t.DOMException.SYNTAX_ERR);F=i,H=o},send:function(n,r){if(P="string"===e.typeOf(r)?{ruid:r}:r?r:{},this.convertEventPropsToHandlers(m),this.upload.convertEventPropsToHandlers(m),this.readyState!==p.OPENED||O)throw new t.DOMException(t.DOMException.INVALID_STATE_ERR);if(n instanceof s)P.ruid=n.ruid,S=n.type||"application/octet-stream";else if(n instanceof c){if(n.hasBlob()){var o=n.getBlob();P.ruid=o.ruid,S=o.type||"application/octet-stream"}}else"string"==typeof n&&(T="UTF-8",S="text/plain;charset=UTF-8",n=i.utf8_encode(n));this.withCredentials||(this.withCredentials=P.required_caps&&P.required_caps.send_browser_cookies&&!L),I=!A&&this.upload.hasEventListener(),N=!1,D=!n,A||(O=!0),u.call(this,n)},abort:function(){if(N=!0,A=!1,~e.inArray(n("readyState"),[p.UNSENT,p.OPENED,p.DONE]))n("readyState",p.UNSENT);else{if(n("readyState",p.DONE),O=!1,!k)throw new t.DOMException(t.DOMException.INVALID_STATE_ERR);k.getRuntime().exec.call(k,"XMLHttpRequest","abort",D),D=!0}},destroy:function(){k&&("function"===e.typeOf(k.destroy)&&k.destroy(),k=null),this.unbindAll(),this.upload&&(this.upload.unbindAll(),this.upload=null)}})}var h={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",306:"Reserved",307:"Temporary Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Request Entity Too Large",414:"Request-URI Too Long",415:"Unsupported Media Type",416:"Requested Range Not Satisfiable",417:"Expectation Failed",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",426:"Upgrade Required",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",510:"Not Extended"};f.prototype=n.instance;var m=["loadstart","progress","abort","error","load","timeout","loadend"],g=1,v=2;return p.UNSENT=0,p.OPENED=1,p.HEADERS_RECEIVED=2,p.LOADING=3,p.DONE=4,p.prototype=n.instance,p}),i(O,[u,m,v,h],function(e,t,n,i){function r(){function i(){l=d=0,c=this.result=null}function o(t,n){var i=this;u=n,i.bind("TransportingProgress",function(t){d=t.loaded,l>d&&-1===e.inArray(i.state,[r.IDLE,r.DONE])&&a.call(i)},999),i.bind("TransportingComplete",function(){d=l,i.state=r.DONE,c=null,i.result=u.exec.call(i,"Transporter","getAsBlob",t||"")},999),i.state=r.BUSY,i.trigger("TransportingStarted"),a.call(i)}function a(){var e=this,n,i=l-d;f>i&&(f=i),n=t.btoa(c.substr(d,f)),u.exec.call(e,"Transporter","receive",n,l)}var s,u,c,l,d,f;n.call(this),e.extend(this,{uid:e.guid("uid_"),state:r.IDLE,result:null,transport:function(t,n,r){var a=this;if(r=e.extend({chunk_size:204798},r),(s=r.chunk_size%3)&&(r.chunk_size+=3-s),f=r.chunk_size,i.call(this),c=t,l=t.length,"string"===e.typeOf(r)||r.ruid)o.call(a,n,this.connectRuntime(r));else{var u=function(e,t){a.unbind("RuntimeInit",u),o.call(a,n,t)};this.bind("RuntimeInit",u),this.connectRuntime(r)}},abort:function(){var e=this;e.state=r.IDLE,u&&(u.exec.call(e,"Transporter","clear"),e.trigger("TransportingAborted")),i.call(e)},destroy:function(){this.unbindAll(),u=null,this.disconnectRuntime(),i.call(this)}})}return r.IDLE=0,r.BUSY=1,r.DONE=2,r.prototype=i.instance,r}),i(I,[u,f,p,T,A,g,v,O,d,h,y,w,m],function(e,t,n,i,r,o,a,s,u,c,l,d,f){function p(){function i(e){e||(e=this.getRuntime().exec.call(this,"Image","getInfo")),this.size=e.size,this.width=e.width,this.height=e.height,this.type=e.type,this.meta=e.meta,""===this.name&&(this.name=e.name)}function c(t){var i=e.typeOf(t);try{if(t instanceof p){if(!t.size)throw new n.DOMException(n.DOMException.INVALID_STATE_ERR);m.apply(this,arguments)}else if(t instanceof l){if(!~e.inArray(t.type,["image/jpeg","image/png"]))throw new n.ImageError(n.ImageError.WRONG_FORMAT);g.apply(this,arguments)}else if(-1!==e.inArray(i,["blob","file"]))c.call(this,new d(null,t),arguments[1]);else if("string"===i)/^data:[^;]*;base64,/.test(t)?c.call(this,new l(null,{data:t}),arguments[1]):v.apply(this,arguments);else{if("node"!==i||"img"!==t.nodeName.toLowerCase())throw new n.DOMException(n.DOMException.TYPE_MISMATCH_ERR);c.call(this,t.src,arguments[1])}}catch(r){this.trigger("error",r)}}function m(t,n){var i=this.connectRuntime(t.ruid);this.ruid=i.uid,i.exec.call(this,"Image","loadFromImage",t,"undefined"===e.typeOf(n)?!0:n)}function g(t,n){function i(e){r.ruid=e.uid,e.exec.call(r,"Image","loadFromBlob",t)}var r=this;r.name=t.name||"",t.isDetached()?(this.bind("RuntimeInit",function(e,t){i(t)}),n&&"string"==typeof n.required_caps&&(n.required_caps=o.parseCaps(n.required_caps)),this.connectRuntime(e.extend({required_caps:{access_image_binary:!0,resize_image:!0}},n))):i(this.connectRuntime(t.ruid))}function v(e,t){var n=this,i;i=new r,i.open("get",e),i.responseType="blob",i.onprogress=function(e){n.trigger(e)},i.onload=function(){g.call(n,i.response,!0)},i.onerror=function(e){n.trigger(e)},i.onloadend=function(){i.destroy()},i.bind("RuntimeError",function(e,t){n.trigger("RuntimeError",t)}),i.send(null,t)}a.call(this),e.extend(this,{uid:e.guid("uid_"),ruid:null,name:"",size:0,width:0,height:0,type:"",meta:{},clone:function(){this.load.apply(this,arguments)},load:function(){this.bind("Load Resize",function(){i.call(this)},999),this.convertEventPropsToHandlers(h),c.apply(this,arguments)},downsize:function(t,i,r,o){try{if(!this.size)throw new n.DOMException(n.DOMException.INVALID_STATE_ERR);if(this.width>p.MAX_RESIZE_WIDTH||this.height>p.MAX_RESIZE_HEIGHT)throw new n.ImageError(n.ImageError.MAX_RESOLUTION_ERR);(!t&&!i||"undefined"===e.typeOf(r))&&(r=!1),t=t||this.width,i=i||this.height,o="undefined"===e.typeOf(o)?!0:!!o,this.getRuntime().exec.call(this,"Image","downsize",t,i,r,o)}catch(a){this.trigger("error",a)}},crop:function(e,t,n){this.downsize(e,t,!0,n)},getAsCanvas:function(){if(!u.can("create_canvas"))throw new n.RuntimeError(n.RuntimeError.NOT_SUPPORTED_ERR);var e=this.connectRuntime(this.ruid);return e.exec.call(this,"Image","getAsCanvas")},getAsBlob:function(e,t){if(!this.size)throw new n.DOMException(n.DOMException.INVALID_STATE_ERR);return e||(e="image/jpeg"),"image/jpeg"!==e||t||(t=90),this.getRuntime().exec.call(this,"Image","getAsBlob",e,t)},getAsDataURL:function(e,t){if(!this.size)throw new n.DOMException(n.DOMException.INVALID_STATE_ERR);return this.getRuntime().exec.call(this,"Image","getAsDataURL",e,t)},getAsBinaryString:function(e,t){var n=this.getAsDataURL(e,t);return f.atob(n.substring(n.indexOf("base64,")+7))},embed:function(i){function r(){if(u.can("create_canvas")){var t=a.getAsCanvas();if(t)return i.appendChild(t),t=null,a.destroy(),o.trigger("embedded"),void 0}var r=a.getAsDataURL(c,l);if(!r)throw new n.ImageError(n.ImageError.WRONG_FORMAT);if(u.can("use_data_uri_of",r.length))i.innerHTML='',a.destroy(),o.trigger("embedded");else{var d=new s;d.bind("TransportingComplete",function(){v=o.connectRuntime(this.result.ruid),o.bind("Embedded",function(){e.extend(v.getShimContainer().style,{top:"0px",left:"0px",width:a.width+"px",height:a.height+"px"}),v=null},999),v.exec.call(o,"ImageView","display",this.result.uid,m,g),a.destroy()}),d.transport(f.atob(r.substring(r.indexOf("base64,")+7)),c,e.extend({},h,{required_caps:{display_media:!0},runtime_order:"flash,silverlight",container:i}))}}var o=this,a,c,l,d,h=arguments[1]||{},m=this.width,g=this.height,v;try{if(!(i=t.get(i)))throw new n.DOMException(n.DOMException.INVALID_NODE_TYPE_ERR);if(!this.size)throw new n.DOMException(n.DOMException.INVALID_STATE_ERR);if(this.width>p.MAX_RESIZE_WIDTH||this.height>p.MAX_RESIZE_HEIGHT)throw new n.ImageError(n.ImageError.MAX_RESOLUTION_ERR);if(c=h.type||this.type||"image/jpeg",l=h.quality||90,d="undefined"!==e.typeOf(h.crop)?h.crop:!1,h.width)m=h.width,g=h.height||m;else{var y=t.getSize(i);y.w&&y.h&&(m=y.w,g=y.h)}return a=new p,a.bind("Resize",function(){r.call(o)}),a.bind("Load",function(){a.downsize(m,g,d,!1)}),a.clone(this,!1),a}catch(w){this.trigger("error",w)}},destroy:function(){this.ruid&&(this.getRuntime().exec.call(this,"Image","destroy"),this.disconnectRuntime()),this.unbindAll()}})}var h=["progress","load","error","resize","embedded"];return p.MAX_RESIZE_WIDTH=6500,p.MAX_RESIZE_HEIGHT=6500,p.prototype=c.instance,p}),i(D,[u,p,g,d],function(e,t,n,i){function r(t){var r=this,s=n.capTest,u=n.capTrue,c=e.extend({access_binary:s(window.FileReader||window.File&&window.File.getAsDataURL),access_image_binary:function(){return r.can("access_binary")&&!!a.Image},display_media:s(i.can("create_canvas")||i.can("use_data_uri_over32kb")),do_cors:s(window.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest),drag_and_drop:s(function(){var e=document.createElement("div");return("draggable"in e||"ondragstart"in e&&"ondrop"in e)&&("IE"!==i.browser||i.version>9)}()),filter_by_extension:s(function(){return"Chrome"===i.browser&&i.version>=28||"IE"===i.browser&&i.version>=10}()),return_response_headers:u,return_response_type:function(e){return"json"===e&&window.JSON?!0:i.can("return_response_type",e)},return_status_code:u,report_upload_progress:s(window.XMLHttpRequest&&(new XMLHttpRequest).upload),resize_image:function(){return r.can("access_binary")&&i.can("create_canvas")},select_file:function(){return i.can("use_fileinput")&&window.File},select_folder:function(){return r.can("select_file")&&"Chrome"===i.browser&&i.version>=21},select_multiple:function(){return!(!r.can("select_file")||"Safari"===i.browser&&"Windows"===i.os||"iOS"===i.os&&i.verComp(i.osVersion,"7.0.4","<"))},send_binary_string:s(window.XMLHttpRequest&&((new XMLHttpRequest).sendAsBinary||window.Uint8Array&&window.ArrayBuffer)),send_custom_headers:s(window.XMLHttpRequest),send_multipart:function(){return!!(window.XMLHttpRequest&&(new XMLHttpRequest).upload&&window.FormData)||r.can("send_binary_string")},slice_blob:s(window.File&&(File.prototype.mozSlice||File.prototype.webkitSlice||File.prototype.slice)),stream_upload:function(){return r.can("slice_blob")&&r.can("send_multipart")},summon_file_dialog:s(function(){return"Firefox"===i.browser&&i.version>=4||"Opera"===i.browser&&i.version>=12||"IE"===i.browser&&i.version>=10||!!~e.inArray(i.browser,["Chrome","Safari"])}()),upload_filesize:u},arguments[2]);n.call(this,t,arguments[1]||o,c),e.extend(this,{init:function(){this.trigger("Init")},destroy:function(e){return function(){e.call(r),e=r=null}}(this.destroy)}),e.extend(this.getShim(),a)}var o="html5",a={};return n.addConstructor(o,r),a}),i(N,[D,y],function(e,t){function n(){function e(e,t,n){var i;if(!window.File.prototype.slice)return(i=window.File.prototype.webkitSlice||window.File.prototype.mozSlice)?i.call(e,t,n):null;try{return e.slice(),e.slice(t,n)}catch(r){return e.slice(t,n-t)}}this.slice=function(){return new t(this.getRuntime().uid,e.apply(this,arguments))}}return e.Blob=n}),i(L,[u],function(e){function t(){this.returnValue=!1}function n(){this.cancelBubble=!0}var i={},r="moxie_"+e.guid(),o=function(o,a,s,u){var c,l;a=a.toLowerCase(),o.addEventListener?(c=s,o.addEventListener(a,c,!1)):o.attachEvent&&(c=function(){var e=window.event;e.target||(e.target=e.srcElement),e.preventDefault=t,e.stopPropagation=n,s(e)},o.attachEvent("on"+a,c)),o[r]||(o[r]=e.guid()),i.hasOwnProperty(o[r])||(i[o[r]]={}),l=i[o[r]],l.hasOwnProperty(a)||(l[a]=[]),l[a].push({func:c,orig:s,key:u})},a=function(t,n,o){var a,s;if(n=n.toLowerCase(),t[r]&&i[t[r]]&&i[t[r]][n]){a=i[t[r]][n];for(var u=a.length-1;u>=0&&(a[u].orig!==o&&a[u].key!==o||(t.removeEventListener?t.removeEventListener(n,a[u].func,!1):t.detachEvent&&t.detachEvent("on"+n,a[u].func),a[u].orig=null,a[u].func=null,a.splice(u,1),o===s));u--);if(a.length||delete i[t[r]][n],e.isEmptyObj(i[t[r]])){delete i[t[r]];try{delete t[r]}catch(c){t[r]=s}}}},s=function(t,n){t&&t[r]&&e.each(i[t[r]],function(e,i){a(t,i,n)})};return{addEvent:o,removeEvent:a,removeAllEvents:s}}),i(M,[D,u,f,L,l,d],function(e,t,n,i,r,o){function a(){var e=[],a;t.extend(this,{init:function(s){var u=this,c=u.getRuntime(),l,d,f,p,h,m;a=s,e=[],f=a.accept.mimes||r.extList2mimes(a.accept,c.can("filter_by_extension")),d=c.getShimContainer(),d.innerHTML='",l=n.get(c.uid),t.extend(l.style,{position:"absolute",top:0,left:0,width:"100%",height:"100%"}),p=n.get(a.browse_button),c.can("summon_file_dialog")&&("static"===n.getStyle(p,"position")&&(p.style.position="relative"),h=parseInt(n.getStyle(p,"z-index"),10)||1,p.style.zIndex=h,d.style.zIndex=h-1,i.addEvent(p,"click",function(e){var t=n.get(c.uid);t&&!t.disabled&&t.click(),e.preventDefault()},u.uid)),m=c.can("summon_file_dialog")?p:d,i.addEvent(m,"mouseover",function(){u.trigger("mouseenter")},u.uid),i.addEvent(m,"mouseout",function(){u.trigger("mouseleave")},u.uid),i.addEvent(m,"mousedown",function(){u.trigger("mousedown")},u.uid),i.addEvent(n.get(a.container),"mouseup",function(){u.trigger("mouseup")},u.uid),l.onchange=function g(){if(e=[],a.directory?t.each(this.files,function(t){"."!==t.name&&e.push(t)}):e=[].slice.call(this.files),"IE"!==o.browser)this.value="";else{var n=this.cloneNode(!0);this.parentNode.replaceChild(n,this),n.onchange=g}u.trigger("change")},u.trigger({type:"ready",async:!0}),d=null},getFiles:function(){return e},disable:function(e){var t=this.getRuntime(),i;(i=n.get(t.uid))&&(i.disabled=!!e)},destroy:function(){var t=this.getRuntime(),r=t.getShim(),o=t.getShimContainer();i.removeAllEvents(o,this.uid),i.removeAllEvents(a&&n.get(a.container),this.uid),i.removeAllEvents(a&&n.get(a.browse_button),this.uid),o&&(o.innerHTML=""),r.removeInstance(this.uid),e=a=o=r=null}})}return e.FileInput=a}),i(C,[D,u,f,L,l],function(e,t,n,i,r){function o(){function e(e){for(var n=[],i=0;i=4&&u.version<7,f="Android Browser"===u.browser,m=!1;if(h=n.url.replace(/^.+?\/([\w\-\.]+)$/,"$1").toLowerCase(),p=c(),p.open(n.method,n.url,n.async,n.user,n.password),r instanceof o)r.isDetached()&&(m=!0),r=r.getSource();else if(r instanceof a){if(r.hasBlob())if(r.getBlob().isDetached())r=d.call(s,r),m=!0;else if((l||f)&&"blob"===t.typeOf(r.getBlob().getSource())&&window.FileReader)return e.call(s,n,r),void 0;if(r instanceof a){var g=new window.FormData;r.each(function(e,t){e instanceof o?g.append(t,e.getSource()):g.append(t,e)}),r=g}}p.upload?(n.withCredentials&&(p.withCredentials=!0),p.addEventListener("load",function(e){s.trigger(e)}),p.addEventListener("error",function(e){s.trigger(e)}),p.addEventListener("progress",function(e){s.trigger(e)}),p.upload.addEventListener("progress",function(e){s.trigger({type:"UploadProgress",loaded:e.loaded,total:e.total})})):p.onreadystatechange=function v(){switch(p.readyState){case 1:break;case 2:break;case 3:var e,t;try{i.hasSameOrigin(n.url)&&(e=p.getResponseHeader("Content-Length")||0),p.responseText&&(t=p.responseText.length)}catch(r){e=t=0}s.trigger({type:"progress",lengthComputable:!!e,total:parseInt(e,10),loaded:t});break;case 4:p.onreadystatechange=function(){},0===p.status?s.trigger("error"):s.trigger("load")}},t.isEmptyObj(n.headers)||t.each(n.headers,function(e,t){p.setRequestHeader(t,e)}),""!==n.responseType&&"responseType"in p&&(p.responseType="json"!==n.responseType||u.can("return_response_type","json")?n.responseType:"text"),m?p.sendAsBinary?p.sendAsBinary(r):function(){for(var e=new Uint8Array(r.length),t=0;ta;a++)i|=o.charCodeAt(e+a)<s;s++)o+=String.fromCharCode(255&t>>Math.abs(a+8*s));n(o,e,i)}var r=!1,o;return{II:function(e){return e===t?r:(r=e,void 0)},init:function(e){r=!1,o=e},SEGMENT:function(e,t,i){switch(arguments.length){case 1:return o.substr(e,o.length-e-1);case 2:return o.substr(e,t);case 3:n(i,e,t);break;default:return o}},BYTE:function(t){return e(t,1)},SHORT:function(t){return e(t,2)},LONG:function(n,r){return r===t?e(n,4):(i(n,r,4),void 0)},SLONG:function(t){var n=e(t,4);return n>2147483647?n-4294967296:n},STRING:function(t,n){var i="";for(n+=t;n>t;t++)i+=String.fromCharCode(e(t,1));return i}}}}),i(k,[P],function(e){return function t(n){var i=[],r,o,a,s=0;if(r=new e,r.init(n),65496===r.SHORT(0)){for(o=2;o<=n.length;)if(a=r.SHORT(o),a>=65488&&65495>=a)o+=2;else{if(65498===a||65497===a)break;s=r.SHORT(o+2)+2,a>=65505&&65519>=a&&i.push({hex:a,name:"APP"+(15&a),start:o,length:s,segment:r.SEGMENT(o,s)}),o+=s}return r.init(null),{headers:i,restore:function(e){var t,n;for(r.init(e),o=65504==r.SHORT(2)?4+r.SHORT(4):2,n=0,t=i.length;t>n;n++)r.SEGMENT(o,0,i[n].segment),o+=i[n].length;return e=r.SEGMENT(),r.init(null),e},strip:function(e){var n,i,o;for(i=new t(e),n=i.headers,i.purge(),r.init(e),o=n.length;o--;)r.SEGMENT(n[o].start,n[o].length,"");return e=r.SEGMENT(),r.init(null),e},get:function(e){for(var t=[],n=0,r=i.length;r>n;n++)i[n].name===e.toUpperCase()&&t.push(i[n].segment);return t},set:function(e,t){var n=[],r,o,a;for("string"==typeof t?n.push(t):n=t,r=o=0,a=i.length;a>r&&(i[r].name===e.toUpperCase()&&(i[r].segment=n[o],i[r].length=n[o].length,o++),!(o>=n.length));r++);},purge:function(){i=[],r.init(null),r=null}}}}}),i(U,[u,P],function(e,n){return function i(){function i(e,n){var i=a.SHORT(e),r,o,s,u,d,f,p,h,m=[],g={};for(r=0;i>r;r++)if(p=f=e+12*r+2,s=n[a.SHORT(p)],s!==t){switch(u=a.SHORT(p+=2),d=a.LONG(p+=2),p+=4,m=[],u){case 1:case 7:for(d>4&&(p=a.LONG(p)+c.tiffHeader),o=0;d>o;o++)m[o]=a.BYTE(p+o);break;case 2:d>4&&(p=a.LONG(p)+c.tiffHeader),g[s]=a.STRING(p,d-1);continue;case 3:for(d>2&&(p=a.LONG(p)+c.tiffHeader),o=0;d>o;o++)m[o]=a.SHORT(p+2*o);break;case 4:for(d>1&&(p=a.LONG(p)+c.tiffHeader),o=0;d>o;o++)m[o]=a.LONG(p+4*o);break;case 5:for(p=a.LONG(p)+c.tiffHeader,o=0;d>o;o++)m[o]=a.LONG(p+4*o)/a.LONG(p+4*o+4);break;case 9:for(p=a.LONG(p)+c.tiffHeader,o=0;d>o;o++)m[o]=a.SLONG(p+4*o);break;case 10:for(p=a.LONG(p)+c.tiffHeader,o=0;d>o;o++)m[o]=a.SLONG(p+4*o)/a.SLONG(p+4*o+4);break;default:continue}h=1==d?m[0]:m,g[s]=l.hasOwnProperty(s)&&"object"!=typeof h?l[s][h]:h}return g}function r(){var e=c.tiffHeader;return a.II(18761==a.SHORT(e)),42!==a.SHORT(e+=2)?!1:(c.IFD0=c.tiffHeader+a.LONG(e+=2),u=i(c.IFD0,s.tiff),"ExifIFDPointer"in u&&(c.exifIFD=c.tiffHeader+u.ExifIFDPointer,delete u.ExifIFDPointer),"GPSInfoIFDPointer"in u&&(c.gpsIFD=c.tiffHeader+u.GPSInfoIFDPointer,delete u.GPSInfoIFDPointer),!0)}function o(e,t,n){var i,r,o,u=0;if("string"==typeof t){var l=s[e.toLowerCase()];for(var d in l)if(l[d]===t){t=d;break}}i=c[e.toLowerCase()+"IFD"],r=a.SHORT(i);for(var f=0;r>f;f++)if(o=i+12*f+2,a.SHORT(o)==t){u=o+8;break}return u?(a.LONG(u,n),!0):!1}var a,s,u,c={},l;return a=new n,s={tiff:{274:"Orientation",270:"ImageDescription",271:"Make",272:"Model",305:"Software",34665:"ExifIFDPointer",34853:"GPSInfoIFDPointer"},exif:{36864:"ExifVersion",40961:"ColorSpace",40962:"PixelXDimension",40963:"PixelYDimension",36867:"DateTimeOriginal",33434:"ExposureTime",33437:"FNumber",34855:"ISOSpeedRatings",37377:"ShutterSpeedValue",37378:"ApertureValue",37383:"MeteringMode",37384:"LightSource",37385:"Flash",37386:"FocalLength",41986:"ExposureMode",41987:"WhiteBalance",41990:"SceneCaptureType",41988:"DigitalZoomRatio",41992:"Contrast",41993:"Saturation",41994:"Sharpness"},gps:{0:"GPSVersionID",1:"GPSLatitudeRef",2:"GPSLatitude",3:"GPSLongitudeRef",4:"GPSLongitude"}},l={ColorSpace:{1:"sRGB",0:"Uncalibrated"},MeteringMode:{0:"Unknown",1:"Average",2:"CenterWeightedAverage",3:"Spot",4:"MultiSpot",5:"Pattern",6:"Partial",255:"Other"},LightSource:{1:"Daylight",2:"Fliorescent",3:"Tungsten",4:"Flash",9:"Fine weather",10:"Cloudy weather",11:"Shade",12:"Daylight fluorescent (D 5700 - 7100K)",13:"Day white fluorescent (N 4600 -5400K)",14:"Cool white fluorescent (W 3900 - 4500K)",15:"White fluorescent (WW 3200 - 3700K)",17:"Standard light A",18:"Standard light B",19:"Standard light C",20:"D55",21:"D65",22:"D75",23:"D50",24:"ISO studio tungsten",255:"Other"},Flash:{0:"Flash did not fire.",1:"Flash fired.",5:"Strobe return light not detected.",7:"Strobe return light detected.",9:"Flash fired, compulsory flash mode",13:"Flash fired, compulsory flash mode, return light not detected",15:"Flash fired, compulsory flash mode, return light detected",16:"Flash did not fire, compulsory flash mode",24:"Flash did not fire, auto mode",25:"Flash fired, auto mode",29:"Flash fired, auto mode, return light not detected",31:"Flash fired, auto mode, return light detected",32:"No flash function",65:"Flash fired, red-eye reduction mode",69:"Flash fired, red-eye reduction mode, return light not detected",71:"Flash fired, red-eye reduction mode, return light detected",73:"Flash fired, compulsory flash mode, red-eye reduction mode",77:"Flash fired, compulsory flash mode, red-eye reduction mode, return light not detected",79:"Flash fired, compulsory flash mode, red-eye reduction mode, return light detected",89:"Flash fired, auto mode, red-eye reduction mode",93:"Flash fired, auto mode, return light not detected, red-eye reduction mode",95:"Flash fired, auto mode, return light detected, red-eye reduction mode"},ExposureMode:{0:"Auto exposure",1:"Manual exposure",2:"Auto bracket"},WhiteBalance:{0:"Auto white balance",1:"Manual white balance"},SceneCaptureType:{0:"Standard",1:"Landscape",2:"Portrait",3:"Night scene"},Contrast:{0:"Normal",1:"Soft",2:"Hard"},Saturation:{0:"Normal",1:"Low saturation",2:"High saturation"},Sharpness:{0:"Normal",1:"Soft",2:"Hard"},GPSLatitudeRef:{N:"North latitude",S:"South latitude"},GPSLongitudeRef:{E:"East longitude",W:"West longitude"}},{init:function(e){return c={tiffHeader:10},e!==t&&e.length?(a.init(e),65505===a.SHORT(0)&&"EXIF\0"===a.STRING(4,5).toUpperCase()?r():!1):!1 -},TIFF:function(){return u},EXIF:function(){var t;if(t=i(c.exifIFD,s.exif),t.ExifVersion&&"array"===e.typeOf(t.ExifVersion)){for(var n=0,r="";n=65472&&65475>=t)return e+=5,{height:c.SHORT(e),width:c.SHORT(e+=2)};n=c.SHORT(e+=2),e+=n-2}return null}function s(){d&&l&&c&&(d.purge(),l.purge(),c.init(null),u=f=l=d=c=null)}var u,c,l,d,f,p;if(u=o,c=new i,c.init(u),65496!==c.SHORT(0))throw new t.ImageError(t.ImageError.WRONG_FORMAT);l=new n(o),d=new r,p=!!d.init(l.get("app1")[0]),f=a.call(this),e.extend(this,{type:"image/jpeg",size:u.length,width:f&&f.width||0,height:f&&f.height||0,setExif:function(t,n){return p?("object"===e.typeOf(t)?e.each(t,function(e,t){d.setExif(t,e)}):d.setExif(t,n),l.set("app1",d.getBinary()),void 0):!1},writeHeaders:function(){return arguments.length?l.restore(arguments[0]):u=l.restore(u)},stripHeaders:function(e){return l.strip(e)},purge:function(){s.call(this)}}),p&&(this.meta={tiff:d.TIFF(),exif:d.EXIF(),gps:d.GPS()})}return o}),i(z,[p,u,P],function(e,t,n){function i(i){function r(){var e,t;return e=a.call(this,8),"IHDR"==e.type?(t=e.start,{width:u.LONG(t),height:u.LONG(t+=4)}):null}function o(){u&&(u.init(null),s=d=c=l=u=null)}function a(e){var t,n,i,r;return t=u.LONG(e),n=u.STRING(e+=4,4),i=e+=4,r=u.LONG(e+t),{length:t,type:n,start:i,CRC:r}}var s,u,c,l,d;s=i,u=new n,u.init(s),function(){var t=0,n=0,i=[35152,20039,3338,6666];for(n=0;ng;){for(var v=g+f>a?a-g:f,y=0;o>y;){var w=y+f>o?o-y:f;h.clearRect(0,0,f,f),h.drawImage(e,-y,-g);var E=y*s/o+c<<0,_=Math.ceil(w*s/o),x=g*u/a/m+l<<0,R=Math.ceil(v*u/a/m);d.drawImage(p,0,0,w,v,E,x,_,R),y+=f}g+=f}p=h=null}function t(e){var t=e.naturalWidth,n=e.naturalHeight;if(t*n>1048576){var i=document.createElement("canvas");i.width=i.height=1;var r=i.getContext("2d");return r.drawImage(e,-t+1,0),0===r.getImageData(0,0,1,1).data[3]}return!1}function n(e,t,n){var i=document.createElement("canvas");i.width=1,i.height=n;var r=i.getContext("2d");r.drawImage(e,0,0);for(var o=r.getImageData(0,0,1,n).data,a=0,s=n,u=n;u>a;){var c=o[4*(u-1)+3];0===c?s=u:a=u,u=s+a>>1}i=null;var l=u/n;return 0===l?1:l}return{isSubsampled:t,renderTo:e}}),i(X,[D,u,p,m,w,G,q,l,d],function(e,t,n,i,r,o,a,s,u){function c(){function e(){if(!E&&!y)throw new n.ImageError(n.DOMException.INVALID_STATE_ERR);return E||y}function c(e){return i.atob(e.substring(e.indexOf("base64,")+7))}function l(e,t){return"data:"+(t||"")+";base64,"+i.btoa(e)}function d(e){var t=this;y=new Image,y.onerror=function(){g.call(this),t.trigger("error",new n.ImageError(n.ImageError.WRONG_FORMAT))},y.onload=function(){t.trigger("load")},y.src=/^data:[^;]*;base64,/.test(e)?e:l(e,x.type)}function f(e,t){var i=this,r;return window.FileReader?(r=new FileReader,r.onload=function(){t(this.result)},r.onerror=function(){i.trigger("error",new n.FileException(n.FileException.NOT_READABLE_ERR))},r.readAsDataURL(e),void 0):t(e.getAsDataURL())}function p(n,i,r,o){var a=this,s,u,c=0,l=0,d,f,p,g;if(b=o,g=this.meta&&this.meta.tiff&&this.meta.tiff.Orientation||1,-1!==t.inArray(g,[5,6,7,8])){var v=n;n=i,i=v}return d=e(),u=r?Math.max:Math.min,s=u(n/d.width,i/d.height),s>1&&(!r||o)?(this.trigger("Resize"),void 0):(E||(E=document.createElement("canvas")),f=Math.round(d.width*s),p=Math.round(d.height*s),r?(E.width=n,E.height=i,f>n&&(c=Math.round((f-n)/2)),p>i&&(l=Math.round((p-i)/2))):(E.width=f,E.height=p),b||m(E.width,E.height,g),h.call(this,d,E,-c,-l,f,p),this.width=E.width,this.height=E.height,R=!0,a.trigger("Resize"),void 0)}function h(e,t,n,i,r,o){if("iOS"===u.OS)a.renderTo(e,t,{width:r,height:o,x:n,y:i});else{var s=t.getContext("2d");s.drawImage(e,n,i,r,o)}}function m(e,t,n){switch(n){case 5:case 6:case 7:case 8:E.width=t,E.height=e;break;default:E.width=e,E.height=t}var i=E.getContext("2d");switch(n){case 2:i.translate(e,0),i.scale(-1,1);break;case 3:i.translate(e,t),i.rotate(Math.PI);break;case 4:i.translate(0,t),i.scale(1,-1);break;case 5:i.rotate(.5*Math.PI),i.scale(1,-1);break;case 6:i.rotate(.5*Math.PI),i.translate(0,-t);break;case 7:i.rotate(.5*Math.PI),i.translate(e,-t),i.scale(-1,1);break;case 8:i.rotate(-.5*Math.PI),i.translate(-e,0)}}function g(){w&&(w.purge(),w=null),_=y=E=x=null,R=!1}var v=this,y,w,E,_,x,R=!1,b=!0;t.extend(this,{loadFromBlob:function(e){var t=this,i=t.getRuntime(),r=arguments.length>1?arguments[1]:!0;if(!i.can("access_binary"))throw new n.RuntimeError(n.RuntimeError.NOT_SUPPORTED_ERR);return x=e,e.isDetached()?(_=e.getSource(),d.call(this,_),void 0):(f.call(this,e.getSource(),function(e){r&&(_=c(e)),d.call(t,e)}),void 0)},loadFromImage:function(e,t){this.meta=e.meta,x=new r(null,{name:e.name,size:e.size,type:e.type}),d.call(this,t?_=e.getAsBinaryString():e.getAsDataURL())},getInfo:function(){var t=this.getRuntime(),n;return!w&&_&&t.can("access_image_binary")&&(w=new o(_)),n={width:e().width||0,height:e().height||0,type:x.type||s.getFileMime(x.name),size:_&&_.length||x.size||0,name:x.name||"",meta:w&&w.meta||this.meta||{}}},downsize:function(){p.apply(this,arguments)},getAsCanvas:function(){return E&&(E.id=this.uid+"_canvas"),E},getAsBlob:function(e,t){return e!==this.type&&p.call(this,this.width,this.height,!1),new r(null,{name:x.name||"",type:e,data:v.getAsBinaryString.call(this,e,t)})},getAsDataURL:function(e){var t=arguments[1]||90;if(!R)return y.src;if("image/jpeg"!==e)return E.toDataURL("image/png");try{return E.toDataURL("image/jpeg",t/100)}catch(n){return E.toDataURL("image/jpeg")}},getAsBinaryString:function(e,t){if(!R)return _||(_=c(v.getAsDataURL(e,t))),_;if("image/jpeg"!==e)_=c(v.getAsDataURL(e,t));else{var n;t||(t=90);try{n=E.toDataURL("image/jpeg",t/100)}catch(i){n=E.toDataURL("image/jpeg")}_=c(n),w&&(_=w.stripHeaders(_),b&&(w.meta&&w.meta.exif&&w.setExif({PixelXDimension:this.width,PixelYDimension:this.height}),_=w.writeHeaders(_)),w.purge(),w=null)}return R=!1,_},destroy:function(){v=null,g.call(this),this.getRuntime().getShim().removeInstance(this.uid)}})}return e.Image=c}),i(j,[u,d,f,p,g],function(e,t,n,i,r){function o(){var e;try{e=navigator.plugins["Shockwave Flash"],e=e.description}catch(t){try{e=new ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version")}catch(n){e="0.0"}}return e=e.match(/\d+/g),parseFloat(e[0]+"."+e[1])}function a(a){var c=this,l;a=e.extend({swf_url:t.swf_url},a),r.call(this,a,s,{access_binary:function(e){return e&&"browser"===c.mode},access_image_binary:function(e){return e&&"browser"===c.mode},display_media:r.capTrue,do_cors:r.capTrue,drag_and_drop:!1,report_upload_progress:function(){return"client"===c.mode},resize_image:r.capTrue,return_response_headers:!1,return_response_type:function(t){return"json"===t&&window.JSON?!0:!e.arrayDiff(t,["","text","document"])||"browser"===c.mode},return_status_code:function(t){return"browser"===c.mode||!e.arrayDiff(t,[200,404])},select_file:r.capTrue,select_multiple:r.capTrue,send_binary_string:function(e){return e&&"browser"===c.mode},send_browser_cookies:function(e){return e&&"browser"===c.mode},send_custom_headers:function(e){return e&&"browser"===c.mode},send_multipart:r.capTrue,slice_blob:r.capTrue,stream_upload:function(e){return e&&"browser"===c.mode},summon_file_dialog:!1,upload_filesize:function(t){return e.parseSizeStr(t)<=2097152||"client"===c.mode},use_http_method:function(t){return!e.arrayDiff(t,["GET","POST"])}},{access_binary:function(e){return e?"browser":"client"},access_image_binary:function(e){return e?"browser":"client"},report_upload_progress:function(e){return e?"browser":"client"},return_response_type:function(t){return e.arrayDiff(t,["","text","json","document"])?"browser":["client","browser"]},return_status_code:function(t){return e.arrayDiff(t,[200,404])?"browser":["client","browser"]},send_binary_string:function(e){return e?"browser":"client"},send_browser_cookies:function(e){return e?"browser":"client"},send_custom_headers:function(e){return e?"browser":"client"},stream_upload:function(e){return e?"client":"browser"},upload_filesize:function(t){return e.parseSizeStr(t)>=2097152?"client":"browser"}},"client"),o()<10&&(this.mode=!1),e.extend(this,{getShim:function(){return n.get(this.uid)},shimExec:function(e,t){var n=[].slice.call(arguments,2);return c.getShim().exec(this.uid,e,t,n)},init:function(){var n,r,o;o=this.getShimContainer(),e.extend(o.style,{position:"absolute",top:"-8px",left:"-8px",width:"9px",height:"9px",overflow:"hidden"}),n=''+''+''+''+"","IE"===t.browser?(r=document.createElement("div"),o.appendChild(r),r.outerHTML=n,r=o=null):o.innerHTML=n,l=setTimeout(function(){c&&!c.initialized&&c.trigger("Error",new i.RuntimeError(i.RuntimeError.NOT_INIT_ERR))},5e3)},destroy:function(e){return function(){e.call(c),clearTimeout(l),a=l=e=c=null}}(this.destroy)},u)}var s="flash",u={};return r.addConstructor(s,a),u}),i(V,[j,y],function(e,t){var n={slice:function(e,n,i,r){var o=this.getRuntime();return 0>n?n=Math.max(e.size+n,0):n>0&&(n=Math.min(n,e.size)),0>i?i=Math.max(e.size+i,0):i>0&&(i=Math.min(i,e.size)),e=o.shimExec.call(this,"Blob","slice",n,i,r||""),e&&(e=new t(o.uid,e)),e}};return e.Blob=n}),i(W,[j],function(e){var t={init:function(e){this.getRuntime().shimExec.call(this,"FileInput","init",{name:e.name,accept:e.accept,multiple:e.multiple}),this.trigger("ready")}};return e.FileInput=t}),i(Y,[j,m],function(e,t){function n(e,n){switch(n){case"readAsText":return t.atob(e,"utf8");case"readAsBinaryString":return t.atob(e);case"readAsDataURL":return e}return null}var i="",r={read:function(e,t){var r=this,o=r.getRuntime();return"readAsDataURL"===e&&(i="data:"+(t.type||"")+";base64,"),r.bind("Progress",function(t,r){r&&(i+=n(r,e))}),o.shimExec.call(this,"FileReader","readAsBase64",t.uid)},getResult:function(){return i},destroy:function(){i=null}};return e.FileReader=r}),i($,[j,m],function(e,t){function n(e,n){switch(n){case"readAsText":return t.atob(e,"utf8");case"readAsBinaryString":return t.atob(e);case"readAsDataURL":return e}return null}var i={read:function(e,t){var i,r=this.getRuntime();return(i=r.shimExec.call(this,"FileReaderSync","readAsBase64",t.uid))?("readAsDataURL"===e&&(i="data:"+(t.type||"")+";base64,"+i),n(i,e,t.type)):null}};return e.FileReaderSync=i}),i(J,[j,u,y,w,T,S,O],function(e,t,n,i,r,o,a){var s={send:function(e,i){function r(){e.transport=l.mode,l.shimExec.call(c,"XMLHttpRequest","send",e,i)}function s(e,t){l.shimExec.call(c,"XMLHttpRequest","appendBlob",e,t.uid),i=null,r()}function u(e,t){var n=new a;n.bind("TransportingComplete",function(){t(this.result)}),n.transport(e.getSource(),e.type,{ruid:l.uid})}var c=this,l=c.getRuntime();if(t.isEmptyObj(e.headers)||t.each(e.headers,function(e,t){l.shimExec.call(c,"XMLHttpRequest","setRequestHeader",t,e.toString())}),i instanceof o){var d;if(i.each(function(e,t){e instanceof n?d=t:l.shimExec.call(c,"XMLHttpRequest","append",t,e)}),i.hasBlob()){var f=i.getBlob();f.isDetached()?u(f,function(e){f.destroy(),s(d,e)}):s(d,f)}else i=null,r()}else i instanceof n?i.isDetached()?u(i,function(e){i.destroy(),i=e.uid,r()}):(i=i.uid,r()):r()},getResponse:function(e){var n,o,a=this.getRuntime();if(o=a.shimExec.call(this,"XMLHttpRequest","getResponseAsBlob")){if(o=new i(a.uid,o),"blob"===e)return o;try{if(n=new r,~t.inArray(e,["","text"]))return n.readAsText(o);if("json"===e&&window.JSON)return JSON.parse(n.readAsText(o))}finally{o.destroy()}}return null},abort:function(e){var t=this.getRuntime();t.shimExec.call(this,"XMLHttpRequest","abort"),this.dispatchEvent("readystatechange"),this.dispatchEvent("abort")}};return e.XMLHttpRequest=s}),i(Z,[j,y],function(e,t){var n={getAsBlob:function(e){var n=this.getRuntime(),i=n.shimExec.call(this,"Transporter","getAsBlob",e);return i?new t(n.uid,i):null}};return e.Transporter=n}),i(K,[j,u,O,y,T],function(e,t,n,i,r){var o={loadFromBlob:function(e){function t(e){r.shimExec.call(i,"Image","loadFromBlob",e.uid),i=r=null}var i=this,r=i.getRuntime();if(e.isDetached()){var o=new n;o.bind("TransportingComplete",function(){t(o.result.getSource())}),o.transport(e.getSource(),e.type,{ruid:r.uid})}else t(e.getSource())},loadFromImage:function(e){var t=this.getRuntime();return t.shimExec.call(this,"Image","loadFromImage",e.uid)},getAsBlob:function(e,t){var n=this.getRuntime(),r=n.shimExec.call(this,"Image","getAsBlob",e,t);return r?new i(n.uid,r):null},getAsDataURL:function(){var e=this.getRuntime(),t=e.Image.getAsBlob.apply(this,arguments),n;return t?(n=new r,n.readAsDataURL(t)):null}};return e.Image=o}),i(Q,[u,d,f,p,g],function(e,t,n,i,r){function o(e){var t=!1,n=null,i,r,o,a,s,u=0;try{try{n=new ActiveXObject("AgControl.AgControl"),n.IsVersionSupported(e)&&(t=!0),n=null}catch(c){var l=navigator.plugins["Silverlight Plug-In"];if(l){for(i=l.description,"1.0.30226.2"===i&&(i="2.0.30226.2"),r=i.split(".");r.length>3;)r.pop();for(;r.length<4;)r.push(0);for(o=e.split(".");o.length>4;)o.pop();do a=parseInt(o[u],10),s=parseInt(r[u],10),u++;while(u=a&&!isNaN(a)&&(t=!0)}}}catch(d){t=!1}return t}function a(a){var c=this,l;a=e.extend({xap_url:t.xap_url},a),r.call(this,a,s,{access_binary:r.capTrue,access_image_binary:r.capTrue,display_media:r.capTrue,do_cors:r.capTrue,drag_and_drop:!1,report_upload_progress:r.capTrue,resize_image:r.capTrue,return_response_headers:function(e){return e&&"client"===c.mode},return_response_type:function(e){return"json"!==e?!0:!!window.JSON},return_status_code:function(t){return"client"===c.mode||!e.arrayDiff(t,[200,404])},select_file:r.capTrue,select_multiple:r.capTrue,send_binary_string:r.capTrue,send_browser_cookies:function(e){return e&&"browser"===c.mode},send_custom_headers:function(e){return e&&"client"===c.mode},send_multipart:r.capTrue,slice_blob:r.capTrue,stream_upload:!0,summon_file_dialog:!1,upload_filesize:r.capTrue,use_http_method:function(t){return"client"===c.mode||!e.arrayDiff(t,["GET","POST"])}},{return_response_headers:function(e){return e?"client":"browser"},return_status_code:function(t){return e.arrayDiff(t,[200,404])?"client":["client","browser"]},send_browser_cookies:function(e){return e?"browser":"client"},send_custom_headers:function(e){return e?"client":"browser"},use_http_method:function(t){return e.arrayDiff(t,["GET","POST"])?"client":["client","browser"]}}),o("2.0.31005.0")&&"Opera"!==t.browser||(this.mode=!1),e.extend(this,{getShim:function(){return n.get(this.uid).content.Moxie},shimExec:function(e,t){var n=[].slice.call(arguments,2);return c.getShim().exec(this.uid,e,t,n)},init:function(){var e;e=this.getShimContainer(),e.innerHTML=''+''+''+''+''+''+"",l=setTimeout(function(){c&&!c.initialized&&c.trigger("Error",new i.RuntimeError(i.RuntimeError.NOT_INIT_ERR))},"Windows"!==t.OS?1e4:5e3)},destroy:function(e){return function(){e.call(c),clearTimeout(l),a=l=e=c=null}}(this.destroy)},u)}var s="silverlight",u={};return r.addConstructor(s,a),u}),i(et,[Q,u,V],function(e,t,n){return e.Blob=t.extend({},n)}),i(tt,[Q],function(e){var t={init:function(e){function t(e){for(var t="",n=0;no;o++)n=t.keys[o],s=t[n],s&&(/^(\d|[1-9]\d+)$/.test(s)?s=parseInt(s,10):/^\d*\.\d+$/.test(s)&&(s=parseFloat(s)),i.meta[e][n]=s)}),i.width=parseInt(r.width,10),i.height=parseInt(r.height,10),i.size=parseInt(r.size,10),i.type=r.type,i.name=r.name,i}})}),i(ut,[u,p,g,d],function(e,t,n,i){function r(t){var r=this,s=n.capTest,u=n.capTrue;n.call(this,t,o,{access_binary:s(window.FileReader||window.File&&File.getAsDataURL),access_image_binary:!1,display_media:s(a.Image&&(i.can("create_canvas")||i.can("use_data_uri_over32kb"))),do_cors:!1,drag_and_drop:!1,filter_by_extension:s(function(){return"Chrome"===i.browser&&i.version>=28||"IE"===i.browser&&i.version>=10}()),resize_image:function(){return a.Image&&r.can("access_binary")&&i.can("create_canvas")},report_upload_progress:!1,return_response_headers:!1,return_response_type:function(t){return"json"===t&&window.JSON?!0:!!~e.inArray(t,["text","document",""])},return_status_code:function(t){return!e.arrayDiff(t,[200,404])},select_file:function(){return i.can("use_fileinput")},select_multiple:!1,send_binary_string:!1,send_custom_headers:!1,send_multipart:!0,slice_blob:!1,stream_upload:function(){return r.can("select_file")},summon_file_dialog:s(function(){return"Firefox"===i.browser&&i.version>=4||"Opera"===i.browser&&i.version>=12||!!~e.inArray(i.browser,["Chrome","Safari"])}()),upload_filesize:u,use_http_method:function(t){return!e.arrayDiff(t,["GET","POST"])}}),e.extend(this,{init:function(){this.trigger("Init")},destroy:function(e){return function(){e.call(r),e=r=null}}(this.destroy)}),e.extend(this.getShim(),a)}var o="html4",a={};return n.addConstructor(o,r),a}),i(ct,[ut,u,f,L,l,d],function(e,t,n,i,r,o){function a(){function e(){var r=this,l=r.getRuntime(),d,f,p,h,m,g;g=t.guid("uid_"),d=l.getShimContainer(),a&&(p=n.get(a+"_form"),p&&t.extend(p.style,{top:"100%"})),h=document.createElement("form"),h.setAttribute("id",g+"_form"),h.setAttribute("method","post"),h.setAttribute("enctype","multipart/form-data"),h.setAttribute("encoding","multipart/form-data"),t.extend(h.style,{overflow:"hidden",position:"absolute",top:0,left:0,width:"100%",height:"100%"}),m=document.createElement("input"),m.setAttribute("id",g),m.setAttribute("type","file"),m.setAttribute("name",c.name||"Filedata"),m.setAttribute("accept",u.join(",")),t.extend(m.style,{fontSize:"999px",opacity:0}),h.appendChild(m),d.appendChild(h),t.extend(m.style,{position:"absolute",top:0,left:0,width:"100%",height:"100%"}),"IE"===o.browser&&o.version<10&&t.extend(m.style,{filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=0)"}),m.onchange=function(){var t;this.value&&(t=this.files?this.files[0]:{name:this.value},s=[t],this.onchange=function(){},e.call(r),r.bind("change",function i(){var e=n.get(g),t=n.get(g+"_form"),o;r.unbind("change",i),r.files.length&&e&&t&&(o=r.files[0],e.setAttribute("id",o.uid),t.setAttribute("id",o.uid+"_form"),t.setAttribute("target",o.uid+"_iframe")),e=t=null},998),m=h=null,r.trigger("change"))},l.can("summon_file_dialog")&&(f=n.get(c.browse_button),i.removeEvent(f,"click",r.uid),i.addEvent(f,"click",function(e){m&&!m.disabled&&m.click(),e.preventDefault()},r.uid)),a=g,d=p=f=null}var a,s=[],u=[],c;t.extend(this,{init:function(t){var o=this,a=o.getRuntime(),s;c=t,u=t.accept.mimes||r.extList2mimes(t.accept,a.can("filter_by_extension")),s=a.getShimContainer(),function(){var e,r,u;e=n.get(t.browse_button),a.can("summon_file_dialog")&&("static"===n.getStyle(e,"position")&&(e.style.position="relative"),r=parseInt(n.getStyle(e,"z-index"),10)||1,e.style.zIndex=r,s.style.zIndex=r-1),u=a.can("summon_file_dialog")?e:s,i.addEvent(u,"mouseover",function(){o.trigger("mouseenter")},o.uid),i.addEvent(u,"mouseout",function(){o.trigger("mouseleave")},o.uid),i.addEvent(u,"mousedown",function(){o.trigger("mousedown")},o.uid),i.addEvent(n.get(t.container),"mouseup",function(){o.trigger("mouseup")},o.uid),e=null}(),e.call(this),s=null,o.trigger({type:"ready",async:!0})},getFiles:function(){return s},disable:function(e){var t;(t=n.get(a))&&(t.disabled=!!e)},destroy:function(){var e=this.getRuntime(),t=e.getShim(),r=e.getShimContainer();i.removeAllEvents(r,this.uid),i.removeAllEvents(c&&n.get(c.container),this.uid),i.removeAllEvents(c&&n.get(c.browse_button),this.uid),r&&(r.innerHTML=""),t.removeInstance(this.uid),a=s=u=c=r=t=null}})}return e.FileInput=a}),i(lt,[ut,F],function(e,t){return e.FileReader=t}),i(dt,[ut,u,f,b,p,L,y,S],function(e,t,n,i,r,o,a,s){function u(){function e(e){var t=this,i,r,a,s,u=!1;if(l){if(i=l.id.replace(/_iframe$/,""),r=n.get(i+"_form")){for(a=r.getElementsByTagName("input"),s=a.length;s--;)switch(a[s].getAttribute("type")){case"hidden":a[s].parentNode.removeChild(a[s]);break;case"file":u=!0}a=[],u||r.parentNode.removeChild(r),r=null}setTimeout(function(){o.removeEvent(l,"load",t.uid),l.parentNode&&l.parentNode.removeChild(l);var n=t.getRuntime().getShimContainer();n.children.length||n.parentNode.removeChild(n),n=l=null,e()},1)}}var u,c,l;t.extend(this,{send:function(d,f){function p(){var n=m.getShimContainer()||document.body,r=document.createElement("div");r.innerHTML='',l=r.firstChild,n.appendChild(l),o.addEvent(l,"load",function(){var n;try{n=l.contentWindow.document||l.contentDocument||window.frames[l.id].document,/^4(0[0-9]|1[0-7]|2[2346])\s/.test(n.title)?u=n.title.replace(/^(\d+).*$/,"$1"):(u=200,c=t.trim(n.body.innerHTML),h.trigger({type:"progress",loaded:c.length,total:c.length}),w&&h.trigger({type:"uploadprogress",loaded:w.size||1025,total:w.size||1025}))}catch(r){if(!i.hasSameOrigin(d.url))return e.call(h,function(){h.trigger("error")}),void 0;u=404}e.call(h,function(){h.trigger("load")})},h.uid)}var h=this,m=h.getRuntime(),g,v,y,w;if(u=c=null,f instanceof s&&f.hasBlob()){if(w=f.getBlob(),g=w.uid,y=n.get(g),v=n.get(g+"_form"),!v)throw new r.DOMException(r.DOMException.NOT_FOUND_ERR)}else g=t.guid("uid_"),v=document.createElement("form"),v.setAttribute("id",g+"_form"),v.setAttribute("method",d.method),v.setAttribute("enctype","multipart/form-data"),v.setAttribute("encoding","multipart/form-data"),v.setAttribute("target",g+"_iframe"),m.getShimContainer().appendChild(v);f instanceof s&&f.each(function(e,n){if(e instanceof a)y&&y.setAttribute("name",n);else{var i=document.createElement("input");t.extend(i,{type:"hidden",name:n,value:e}),y?v.insertBefore(i,y):v.appendChild(i)}}),v.setAttribute("action",d.url),p(),v.submit(),h.trigger("loadstart")},getStatus:function(){return u},getResponse:function(e){if("json"===e&&"string"===t.typeOf(c)&&window.JSON)try{return JSON.parse(c.replace(/^\s*]*>/,"").replace(/<\/pre>\s*$/,""))}catch(n){return null}return c},abort:function(){var t=this;l&&l.contentWindow&&(l.contentWindow.stop?l.contentWindow.stop():l.contentWindow.document.execCommand?l.contentWindow.document.execCommand("Stop"):l.src="about:blank"),e.call(this,function(){t.dispatchEvent("abort")})}})}return e.XMLHttpRequest=u}),i(ft,[ut,X],function(e,t){return e.Image=t}),a([u,c,l,d,f,p,h,m,g,v,y,w,E,_,x,R,b,T,S,A,O,I,L])}(this);;(function(){"use strict";var e={},t=moxie.core.utils.Basic.inArray;return function n(r){var i,s;for(i in r)s=typeof r[i],s==="object"&&!~t(i,["Exceptions","Env","Mime"])?n(r[i]):s==="function"&&(e[i]=r[i])}(window.moxie),e.Env=window.moxie.core.utils.Env,e.Mime=window.moxie.core.utils.Mime,e.Exceptions=window.moxie.core.Exceptions,window.mOxie=e,window.o||(window.o=e),e})(); +!function(e,t){"use strict";function n(e,t){for(var n,i=[],r=0;r0&&n(o,function(n,o){n!==r&&(e(i[o])===e(n)&&~a(e(n),["array","object"])?t(i[o],n):i[o]=n)})}),i},n=function(t,n){var i,r,o,a;if(t)if("number"===e(t.length)){for(o=0,i=t.length;i>o;o++)if(n(t[o],o)===!1)return}else if("object"===e(t))for(r in t)if(t.hasOwnProperty(r)&&n(t[r],r)===!1)return},i=function(t){var n;if(!t||"object"!==e(t))return!0;for(n in t)return!1;return!0},r=function(t,n){function i(r){"function"===e(t[r])&&t[r](function(e){++rn;n++)if(t[n]===e)return n}return-1},s=function(t,n){var i=[];"array"!==e(t)&&(t=[t]),"array"!==e(n)&&(n=[n]);for(var r in t)-1===a(t[r],n)&&i.push(t[r]);return i.length?i:!1},u=function(e,t){var i=[];return n(e,function(e){-1!==a(e,t)&&i.push(e)}),i.length?i:null},c=function(e){var t,n=[];for(t=0;ti;i++)n+=Math.floor(65535*Math.random()).toString(32);return(t||"o_")+n+(e++).toString(32)}}(),d=function(e){return e?String.prototype.trim?String.prototype.trim.call(e):e.toString().replace(/^\s*/,"").replace(/\s*$/,""):e},h=function(e){if("string"!=typeof e)return e;var t={t:1099511627776,g:1073741824,m:1048576,k:1024},n;return e=/^([0-9\.]+)([tmgk]?)$/.exec(e.toLowerCase().replace(/[^0-9\.tmkg]/g,"")),n=e[2],e=+e[1],t.hasOwnProperty(n)&&(e*=t[n]),Math.floor(e)},f=function(t){var n=[].slice.call(arguments,1);return t.replace(/%[a-z]/g,function(){var t=n.shift();return"undefined"!==e(t)?t:""})};return{guid:l,typeOf:e,extend:t,each:n,isEmptyObj:i,inSeries:r,inParallel:o,inArray:a,arrayDiff:s,arrayIntersect:u,toArray:c,trim:d,sprintf:f,parseSizeStr:h}}),i(c,[u],function(e){function t(e,t,n){var i=0,r=0,o=0,a={dev:-6,alpha:-5,a:-5,beta:-4,b:-4,RC:-3,rc:-3,"#":-2,p:1,pl:1},s=function(e){return e=(""+e).replace(/[_\-+]/g,"."),e=e.replace(/([^.\d]+)/g,".$1.").replace(/\.{2,}/g,"."),e.length?e.split("."):[-8]},u=function(e){return e?isNaN(e)?a[e]||-7:parseInt(e,10):0};for(e=s(e),t=s(t),r=Math.max(e.length,t.length),i=0;r>i;i++)if(e[i]!=t[i]){if(e[i]=u(e[i]),t[i]=u(t[i]),e[i]t[i]){o=1;break}}if(!n)return o;switch(n){case">":case"gt":return o>0;case">=":case"ge":return o>=0;case"<=":case"le":return 0>=o;case"==":case"=":case"eq":return 0===o;case"<>":case"!=":case"ne":return 0!==o;case"":case"<":case"lt":return 0>o;default:return null}}var n=function(e){var t="",n="?",i="function",r="undefined",o="object",a="major",s="model",u="name",c="type",l="vendor",d="version",h="architecture",f="console",p="mobile",m="tablet",g={has:function(e,t){return-1!==t.toLowerCase().indexOf(e.toLowerCase())},lowerize:function(e){return e.toLowerCase()}},v={rgx:function(){for(var t,n=0,a,s,u,c,l,d,h=arguments;n0?2==c.length?typeof c[1]==i?t[c[0]]=c[1].call(this,d):t[c[0]]=c[1]:3==c.length?typeof c[1]!==i||c[1].exec&&c[1].test?t[c[0]]=d?d.replace(c[1],c[2]):e:t[c[0]]=d?c[1].call(this,d,c[2]):e:4==c.length&&(t[c[0]]=d?c[3].call(this,d.replace(c[1],c[2])):e):t[c]=d?d:e;break}if(l)break}return t},str:function(t,i){for(var r in i)if(typeof i[r]===o&&i[r].length>0){for(var a=0;a=9)},use_data_uri_of:function(e){return t.use_data_uri&&33e3>e||t.use_data_uri_over32kb()},use_fileinput:function(){if(navigator.userAgent.match(/(Android (1.0|1.1|1.5|1.6|2.0|2.1))|(Windows Phone (OS 7|8.0))|(XBLWP)|(ZuneWP)|(w(eb)?OSBrowser)|(webOS)|(Kindle\/(1.0|2.0|2.5|3.0))/))return!1;var e=document.createElement("input");return e.setAttribute("type","file"),!e.disabled}};return function(n){var i=[].slice.call(arguments);return i.shift(),"function"===e.typeOf(t[n])?t[n].apply(this,i):!!t[n]}}(),r=(new n).getResult(),o={can:i,uaParser:n,browser:r.browser.name,version:r.browser.version,os:r.os.name,osVersion:r.os.version,verComp:t,swf_url:"../flash/Moxie.swf",xap_url:"../silverlight/Moxie.xap",global_event_dispatcher:"moxie.core.EventTarget.instance.dispatchEvent"};return o.OS=o.os,o}),i(l,[u],function(e){var t={};return{addI18n:function(n){return e.extend(t,n)},translate:function(e){return t[e]||e},_:function(e){return this.translate(e)},sprintf:function(t){var n=[].slice.call(arguments,1);return t.replace(/%[a-z]/g,function(){var t=n.shift();return"undefined"!==e.typeOf(t)?t:""})}}}),i(d,[u,l],function(e,t){var n="application/msword,doc dot,application/pdf,pdf,application/pgp-signature,pgp,application/postscript,ps ai eps,application/rtf,rtf,application/vnd.ms-excel,xls xlb,application/vnd.ms-powerpoint,ppt pps pot,application/zip,zip,application/x-shockwave-flash,swf swfl,application/vnd.openxmlformats-officedocument.wordprocessingml.document,docx,application/vnd.openxmlformats-officedocument.wordprocessingml.template,dotx,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,xlsx,application/vnd.openxmlformats-officedocument.presentationml.presentation,pptx,application/vnd.openxmlformats-officedocument.presentationml.template,potx,application/vnd.openxmlformats-officedocument.presentationml.slideshow,ppsx,application/x-javascript,js,application/json,json,audio/mpeg,mp3 mpga mpega mp2,audio/x-wav,wav,audio/x-m4a,m4a,audio/ogg,oga ogg,audio/aiff,aiff aif,audio/flac,flac,audio/aac,aac,audio/ac3,ac3,audio/x-ms-wma,wma,image/bmp,bmp,image/gif,gif,image/jpeg,jpg jpeg jpe,image/photoshop,psd,image/png,png,image/svg+xml,svg svgz,image/tiff,tiff tif,text/plain,asc txt text diff log,text/html,htm html xhtml,text/css,css,text/csv,csv,text/rtf,rtf,video/mpeg,mpeg mpg mpe m2v,video/quicktime,qt mov,video/mp4,mp4,video/x-m4v,m4v,video/x-flv,flv,video/x-ms-wmv,wmv,video/avi,avi,video/webm,webm,video/3gpp,3gpp 3gp,video/3gpp2,3g2,video/vnd.rn-realvideo,rv,video/ogg,ogv,video/x-matroska,mkv,application/vnd.oasis.opendocument.formula-template,otf,application/octet-stream,exe",i={mimes:{},extensions:{},addMimeType:function(e){var t=e.split(/,/),n,i,r;for(n=0;n=0;o--)if(r[o].fn===i){r.splice(o,1);break}}else r=[];r.length||(delete e[this.uid][t],n.isEmptyObj(e[this.uid])&&delete e[this.uid])}},removeAllEventListeners:function(){e[this.uid]&&delete e[this.uid]},dispatchEvent:function(i){var r,o,a,s,u={},c=!0,l;if("string"!==n.typeOf(i)){if(s=i,"string"!==n.typeOf(s.type))throw new t.EventException(t.EventException.UNSPECIFIED_EVENT_TYPE_ERR);i=s.type,s.total!==l&&s.loaded!==l&&(u.total=s.total,u.loaded=s.loaded),u.async=s.async||!1}if(-1!==i.indexOf("::")?!function(e){r=e[0],i=e[1]}(i.split("::")):r=this.uid,i=i.toLowerCase(),o=e[r]&&e[r][i]){o.sort(function(e,t){return t.priority-e.priority}),a=[].slice.call(arguments),a.shift(),u.type=i,a.unshift(u);var d=[];n.each(o,function(e){a[0].target=e.scope,d.push(u.async?function(t){setTimeout(function(){t(e.fn.apply(e.scope,a)===!1)},1)}:function(t){t(e.fn.apply(e.scope,a)===!1)})}),d.length&&n.inSeries(d,function(e){c=!e})}return c},bind:function(){this.addEventListener.apply(this,arguments)},unbind:function(){this.removeEventListener.apply(this,arguments)},unbindAll:function(){this.removeAllEventListeners.apply(this,arguments)},trigger:function(){return this.dispatchEvent.apply(this,arguments)},handleEventProps:function(e){var t=this;this.bind(e.join(" "),function(e){var t="on"+e.type.toLowerCase();"function"===n.typeOf(this[t])&&this[t].apply(this,arguments)}),n.each(e,function(e){e="on"+e.toLowerCase(e),"undefined"===n.typeOf(t[e])&&(t[e]=null)})}})}return i.instance=new i,i}),i(m,[c,u,h,p],function(e,t,n,i){function r(e,i,o,s,u){var c=this,l,d=t.guid(i+"_"),h=u||"browser";e=e||{},a[d]=this,o=t.extend({access_binary:!1,access_image_binary:!1,display_media:!1,do_cors:!1,drag_and_drop:!1,filter_by_extension:!0,resize_image:!1,report_upload_progress:!1,return_response_headers:!1,return_response_type:!1,return_status_code:!0,send_custom_headers:!1,select_file:!1,select_folder:!1,select_multiple:!0,send_binary_string:!1,send_browser_cookies:!0,send_multipart:!0,slice_blob:!1,stream_upload:!1,summon_file_dialog:!1,upload_filesize:!0,use_http_method:!0},o),e.preferred_caps&&(h=r.getMode(s,e.preferred_caps,h)),l=function(){var e={};return{exec:function(t,n,i,r){return l[n]&&(e[t]||(e[t]={context:this,instance:new l[n]}),e[t].instance[i])?e[t].instance[i].apply(this,r):void 0},removeInstance:function(t){delete e[t]},removeAllInstances:function(){var n=this;t.each(e,function(e,i){"function"===t.typeOf(e.instance.destroy)&&e.instance.destroy.call(e.context),n.removeInstance(i)})}}}(),t.extend(this,{initialized:!1,uid:d,type:i,mode:r.getMode(s,e.required_caps,h),shimid:d+"_container",clients:0,options:e,can:function(e,n){var i=arguments[2]||o;if("string"===t.typeOf(e)&&"undefined"===t.typeOf(n)&&(e=r.parseCaps(e)),"object"===t.typeOf(e)){for(var a in e)if(!this.can(a,e[a],i))return!1;return!0}return"function"===t.typeOf(i[e])?i[e].call(this,n):n===i[e]},getShimContainer:function(){var e,i=n.get(this.shimid);return i||(e=this.options.container?n.get(this.options.container):document.body,i=document.createElement("div"),i.id=this.shimid,i.className="moxie-shim moxie-shim-"+this.type,t.extend(i.style,{position:"absolute",top:"0px",left:"0px",width:"1px",height:"1px",overflow:"hidden"}),e.appendChild(i),e=null),i},getShim:function(){return l},shimExec:function(e,t){var n=[].slice.call(arguments,2);return c.getShim().exec.call(this,this.uid,e,t,n)},exec:function(e,t){var n=[].slice.call(arguments,2);return c[e]&&c[e][t]?c[e][t].apply(this,n):c.shimExec.apply(this,arguments)},destroy:function(){if(c){var e=n.get(this.shimid);e&&e.parentNode.removeChild(e),l&&l.removeAllInstances(),this.unbindAll(),delete a[this.uid],this.uid=null,d=c=l=e=null}}}),this.mode&&e.required_caps&&!this.can(e.required_caps)&&(this.mode=!1)}var o={},a={};return r.order="html5,flash,silverlight,html4",r.getRuntime=function(e){return a[e]?a[e]:!1},r.addConstructor=function(e,t){t.prototype=i.instance,o[e]=t},r.getConstructor=function(e){return o[e]||null},r.getInfo=function(e){var t=r.getRuntime(e);return t?{uid:t.uid,type:t.type,mode:t.mode,can:function(){return t.can.apply(t,arguments)}}:null},r.parseCaps=function(e){var n={};return"string"!==t.typeOf(e)?e||{}:(t.each(e.split(","),function(e){n[e]=!0}),n)},r.can=function(e,t){var n,i=r.getConstructor(e),o;return i?(n=new i({required_caps:t}),o=n.mode,n.destroy(),!!o):!1},r.thatCan=function(e,t){var n=(t||r.order).split(/\s*,\s*/);for(var i in n)if(r.can(n[i],e))return n[i];return null},r.getMode=function(e,n,i){var r=null;if("undefined"===t.typeOf(i)&&(i="browser"),n&&!t.isEmptyObj(e)){if(t.each(n,function(n,i){if(e.hasOwnProperty(i)){var o=e[i](n);if("string"==typeof o&&(o=[o]),r){if(!(r=t.arrayIntersect(r,o)))return r=!1}else r=o}}),r)return-1!==t.inArray(i,r)?i:r[0];if(r===!1)return!1}return i},r.capTrue=function(){return!0},r.capFalse=function(){return!1},r.capTest=function(e){return function(){return!!e}},r}),i(g,[c,f,u,m],function(e,t,n,i){return function r(){var e;n.extend(this,{connectRuntime:function(r){function o(n){var s,u;return n.length?(s=n.shift().toLowerCase(),(u=i.getConstructor(s))?(e=new u(r),e.bind("Init",function(){e.initialized=!0,setTimeout(function(){e.clients++,a.trigger("RuntimeInit",e)},1)}),e.bind("Error",function(){e.destroy(),o(n)}),e.mode?void e.init():void e.trigger("Error")):void o(n)):(a.trigger("RuntimeError",new t.RuntimeError(t.RuntimeError.NOT_INIT_ERR)),void(e=null))}var a=this,s;if("string"===n.typeOf(r)?s=r:"string"===n.typeOf(r.ruid)&&(s=r.ruid),s){if(e=i.getRuntime(s))return e.clients++,e;throw new t.RuntimeError(t.RuntimeError.NOT_INIT_ERR)}o((r.runtime_order||i.order).split(/\s*,\s*/))},disconnectRuntime:function(){e&&--e.clients<=0&&e.destroy(),e=null},getRuntime:function(){return e&&e.uid?e:e=null},exec:function(){return e?e.exec.apply(this,arguments):null}})}}),i(v,[u,c,d,h,f,p,l,m,g],function(e,t,n,i,r,o,a,s,u){function c(t){var o=this,c,d,h;if(-1!==e.inArray(e.typeOf(t),["string","node"])&&(t={browse_button:t}),d=i.get(t.browse_button),!d)throw new r.DOMException(r.DOMException.NOT_FOUND_ERR);h={accept:[{title:a.translate("All Files"),extensions:"*"}],name:"file",multiple:!1,required_caps:!1,container:d.parentNode||document.body},t=e.extend({},h,t),"string"==typeof t.required_caps&&(t.required_caps=s.parseCaps(t.required_caps)),"string"==typeof t.accept&&(t.accept=n.mimes2extList(t.accept)),c=i.get(t.container),c||(c=document.body),"static"===i.getStyle(c,"position")&&(c.style.position="relative"),c=d=null,u.call(o),e.extend(o,{uid:e.guid("uid_"),ruid:null,shimid:null,files:null,init:function(){o.bind("RuntimeInit",function(n,r){o.ruid=r.uid,o.shimid=r.shimid,o.bind("Ready",function(){o.trigger("Refresh")},999),o.bind("Refresh",function(){var n,o,a,s;a=i.get(t.browse_button),s=i.get(r.shimid),a&&(n=i.getPos(a,i.get(t.container)),o=i.getSize(a),s&&e.extend(s.style,{top:n.y+"px",left:n.x+"px",width:o.w+"px",height:o.h+"px"})),s=a=null}),r.exec.call(o,"FileInput","init",t)}),o.connectRuntime(e.extend({},t,{required_caps:{select_file:!0}}))},disable:function(t){var n=this.getRuntime();n&&n.exec.call(this,"FileInput","disable","undefined"===e.typeOf(t)?!0:t)},refresh:function(){o.trigger("Refresh")},destroy:function(){var t=this.getRuntime();t&&(t.exec.call(this,"FileInput","destroy"),this.disconnectRuntime()),"array"===e.typeOf(this.files)&&e.each(this.files,function(e){e.destroy()}),this.files=null,this.unbindAll()}}),this.handleEventProps(l)}var l=["ready","change","cancel","mouseenter","mouseleave","mousedown","mouseup"];return c.prototype=o.instance,c}),i(w,[],function(){var e=function(e){return unescape(encodeURIComponent(e))},t=function(e){return decodeURIComponent(escape(e))},n=function(e,n){if("function"==typeof window.atob)return n?t(window.atob(e)):window.atob(e);var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",r,o,a,s,u,c,l,d,h=0,f=0,p="",m=[];if(!e)return e;e+="";do s=i.indexOf(e.charAt(h++)),u=i.indexOf(e.charAt(h++)),c=i.indexOf(e.charAt(h++)),l=i.indexOf(e.charAt(h++)),d=s<<18|u<<12|c<<6|l,r=d>>16&255,o=d>>8&255,a=255&d,64==c?m[f++]=String.fromCharCode(r):64==l?m[f++]=String.fromCharCode(r,o):m[f++]=String.fromCharCode(r,o,a);while(h>18&63,u=d>>12&63,c=d>>6&63,l=63&d,m[f++]=i.charAt(s)+i.charAt(u)+i.charAt(c)+i.charAt(l);while(ha;a++)o+=String.fromCharCode(r[a]);return o}}t.call(this),e.extend(this,{uid:e.guid("uid_"),readAsBinaryString:function(e){return i.call(this,"readAsBinaryString",e)},readAsDataURL:function(e){return i.call(this,"readAsDataURL",e)},readAsText:function(e){return i.call(this,"readAsText",e)}})}}),i(I,[f,u,y],function(e,t,n){function i(){var e,i=[];t.extend(this,{append:function(r,o){var a=this,s=t.typeOf(o);o instanceof n?e={name:r,value:o}:"array"===s?(r+="[]",t.each(o,function(e){a.append(r,e)})):"object"===s?t.each(o,function(e,t){a.append(r+"["+t+"]",e)}):"null"===s||"undefined"===s||"number"===s&&isNaN(o)?a.append(r,"false"):i.push({name:r,value:o.toString()})},hasBlob:function(){return!!this.getBlob()},getBlob:function(){return e&&e.value||null},getBlobName:function(){return e&&e.name||null},each:function(n){t.each(i,function(e){n(e.value,e.name)}),e&&n(e.value,e.name)},destroy:function(){e=null,i=[]}})}return i}),i(T,[u,f,p,w,x,m,R,y,A,I,c,d],function(e,t,n,i,r,o,a,s,u,c,l,d){function h(){this.uid=e.guid("uid_")}function f(){function n(e,t){return w.hasOwnProperty(e)?1===arguments.length?l.can("define_property")?w[e]:v[e]:void(l.can("define_property")?w[e]=t:v[e]=t):void 0}function u(t){function i(){B&&(B.destroy(),B=null),s.dispatchEvent("loadend"),s=null}function r(r){B.bind("LoadStart",function(e){n("readyState",f.LOADING),s.dispatchEvent("readystatechange"),s.dispatchEvent(e),O&&s.upload.dispatchEvent(e)}),B.bind("Progress",function(e){n("readyState")!==f.LOADING&&(n("readyState",f.LOADING),s.dispatchEvent("readystatechange")),s.dispatchEvent(e)}),B.bind("UploadProgress",function(e){O&&s.upload.dispatchEvent({type:"progress",lengthComputable:!1,total:e.total,loaded:e.loaded})}),B.bind("Load",function(t){n("readyState",f.DONE),n("status",Number(r.exec.call(B,"XMLHttpRequest","getStatus")||0)),n("statusText",p[n("status")]||""),n("response",r.exec.call(B,"XMLHttpRequest","getResponse",n("responseType"))),~e.inArray(n("responseType"),["text",""])?n("responseText",n("response")):"document"===n("responseType")&&n("responseXML",n("response")),k=r.exec.call(B,"XMLHttpRequest","getAllResponseHeaders"),s.dispatchEvent("readystatechange"),n("status")>0?(O&&s.upload.dispatchEvent(t),s.dispatchEvent(t)):(N=!0,s.dispatchEvent("error")),i()}),B.bind("Abort",function(e){s.dispatchEvent(e),i()}),B.bind("Error",function(e){N=!0,n("readyState",f.DONE),s.dispatchEvent("readystatechange"),D=!0,s.dispatchEvent(e),i()}),r.exec.call(B,"XMLHttpRequest","send",{url:E,method:_,async:y,user:x,password:R,headers:b,mimeType:I,encoding:A,responseType:s.responseType,withCredentials:s.withCredentials,options:H},t)}var s=this;C=(new Date).getTime(),B=new a,"string"==typeof H.required_caps&&(H.required_caps=o.parseCaps(H.required_caps)),H.required_caps=e.extend({},H.required_caps,{return_response_type:s.responseType}),t instanceof c&&(H.required_caps.send_multipart=!0),e.isEmptyObj(b)||(H.required_caps.send_custom_headers=!0),L||(H.required_caps.do_cors=!0),H.ruid?r(B.connectRuntime(H)):(B.bind("RuntimeInit",function(e,t){r(t)}),B.bind("RuntimeError",function(e,t){s.dispatchEvent("RuntimeError",t)}),B.connectRuntime(H))}function g(){n("responseText",""),n("responseXML",null),n("response",null),n("status",0),n("statusText",""),C=M=null}var v=this,w={timeout:0,readyState:f.UNSENT,withCredentials:!1,status:0,statusText:"",responseType:"",responseXML:null,responseText:null,response:null},y=!0,E,_,b={},x,R,A=null,I=null,T=!1,S=!1,O=!1,D=!1,N=!1,L=!1,C,M,F=null,P=null,H={},B,k="",U;e.extend(this,w,{uid:e.guid("uid_"),upload:new h,open:function(o,a,s,u,c){var l;if(!o||!a)throw new t.DOMException(t.DOMException.SYNTAX_ERR);if(/[\u0100-\uffff]/.test(o)||i.utf8_encode(o)!==o)throw new t.DOMException(t.DOMException.SYNTAX_ERR);if(~e.inArray(o.toUpperCase(),["CONNECT","DELETE","GET","HEAD","OPTIONS","POST","PUT","TRACE","TRACK"])&&(_=o.toUpperCase()),~e.inArray(_,["CONNECT","TRACE","TRACK"]))throw new t.DOMException(t.DOMException.SECURITY_ERR);if(a=i.utf8_encode(a),l=r.parseUrl(a),L=r.hasSameOrigin(l),E=r.resolveUrl(a),(u||c)&&!L)throw new t.DOMException(t.DOMException.INVALID_ACCESS_ERR);if(x=u||l.user,R=c||l.pass,y=s||!0,y===!1&&(n("timeout")||n("withCredentials")||""!==n("responseType")))throw new t.DOMException(t.DOMException.INVALID_ACCESS_ERR);T=!y,S=!1,b={},g.call(this),n("readyState",f.OPENED),this.dispatchEvent("readystatechange")},setRequestHeader:function(r,o){var a=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","content-transfer-encoding","date","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"];if(n("readyState")!==f.OPENED||S)throw new t.DOMException(t.DOMException.INVALID_STATE_ERR);if(/[\u0100-\uffff]/.test(r)||i.utf8_encode(r)!==r)throw new t.DOMException(t.DOMException.SYNTAX_ERR);return r=e.trim(r).toLowerCase(),~e.inArray(r,a)||/^(proxy\-|sec\-)/.test(r)?!1:(b[r]?b[r]+=", "+o:b[r]=o,!0)},getAllResponseHeaders:function(){return k||""},getResponseHeader:function(t){return t=t.toLowerCase(),N||~e.inArray(t,["set-cookie","set-cookie2"])?null:k&&""!==k&&(U||(U={},e.each(k.split(/\r\n/),function(t){var n=t.split(/:\s+/);2===n.length&&(n[0]=e.trim(n[0]),U[n[0].toLowerCase()]={header:n[0],value:e.trim(n[1])})})),U.hasOwnProperty(t))?U[t].header+": "+U[t].value:null},overrideMimeType:function(i){var r,o;if(~e.inArray(n("readyState"),[f.LOADING,f.DONE]))throw new t.DOMException(t.DOMException.INVALID_STATE_ERR);if(i=e.trim(i.toLowerCase()),/;/.test(i)&&(r=i.match(/^([^;]+)(?:;\scharset\=)?(.*)$/))&&(i=r[1],r[2]&&(o=r[2])),!d.mimes[i])throw new t.DOMException(t.DOMException.SYNTAX_ERR);F=i,P=o},send:function(n,r){if(H="string"===e.typeOf(r)?{ruid:r}:r?r:{},this.readyState!==f.OPENED||S)throw new t.DOMException(t.DOMException.INVALID_STATE_ERR);if(n instanceof s)H.ruid=n.ruid,I=n.type||"application/octet-stream";else if(n instanceof c){if(n.hasBlob()){var o=n.getBlob();H.ruid=o.ruid,I=o.type||"application/octet-stream"}}else"string"==typeof n&&(A="UTF-8",I="text/plain;charset=UTF-8",n=i.utf8_encode(n));this.withCredentials||(this.withCredentials=H.required_caps&&H.required_caps.send_browser_cookies&&!L),O=!T&&this.upload.hasEventListener(),N=!1,D=!n,T||(S=!0),u.call(this,n)},abort:function(){if(N=!0,T=!1,~e.inArray(n("readyState"),[f.UNSENT,f.OPENED,f.DONE]))n("readyState",f.UNSENT);else{if(n("readyState",f.DONE),S=!1,!B)throw new t.DOMException(t.DOMException.INVALID_STATE_ERR);B.getRuntime().exec.call(B,"XMLHttpRequest","abort",D),D=!0}},destroy:function(){B&&("function"===e.typeOf(B.destroy)&&B.destroy(),B=null),this.unbindAll(),this.upload&&(this.upload.unbindAll(),this.upload=null)}}),this.handleEventProps(m.concat(["readystatechange"])),this.upload.handleEventProps(m)}var p={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",306:"Reserved",307:"Temporary Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Request Entity Too Large",414:"Request-URI Too Long",415:"Unsupported Media Type",416:"Requested Range Not Satisfiable",417:"Expectation Failed",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",426:"Upgrade Required",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",510:"Not Extended"};h.prototype=n.instance;var m=["loadstart","progress","abort","error","load","timeout","loadend"],g=1,v=2;return f.UNSENT=0,f.OPENED=1,f.HEADERS_RECEIVED=2,f.LOADING=3,f.DONE=4,f.prototype=n.instance,f}),i(S,[u,w,g,p],function(e,t,n,i){function r(){function i(){l=d=0,c=this.result=null}function o(t,n){var i=this;u=n,i.bind("TransportingProgress",function(t){d=t.loaded,l>d&&-1===e.inArray(i.state,[r.IDLE,r.DONE])&&a.call(i)},999),i.bind("TransportingComplete",function(){d=l,i.state=r.DONE,c=null,i.result=u.exec.call(i,"Transporter","getAsBlob",t||"")},999),i.state=r.BUSY,i.trigger("TransportingStarted"),a.call(i)}function a(){var e=this,n,i=l-d;h>i&&(h=i),n=t.btoa(c.substr(d,h)),u.exec.call(e,"Transporter","receive",n,l)}var s,u,c,l,d,h;n.call(this),e.extend(this,{uid:e.guid("uid_"),state:r.IDLE,result:null,transport:function(t,n,r){var a=this;if(r=e.extend({chunk_size:204798},r),(s=r.chunk_size%3)&&(r.chunk_size+=3-s),h=r.chunk_size,i.call(this),c=t,l=t.length,"string"===e.typeOf(r)||r.ruid)o.call(a,n,this.connectRuntime(r));else{var u=function(e,t){a.unbind("RuntimeInit",u),o.call(a,n,t)};this.bind("RuntimeInit",u),this.connectRuntime(r)}},abort:function(){var e=this;e.state=r.IDLE,u&&(u.exec.call(e,"Transporter","clear"),e.trigger("TransportingAborted")),i.call(e)},destroy:function(){this.unbindAll(),u=null,this.disconnectRuntime(),i.call(this)}})}return r.IDLE=0,r.BUSY=1,r.DONE=2,r.prototype=i.instance,r}),i(O,[u,h,f,A,T,m,g,S,c,p,y,E,w],function(e,t,n,i,r,o,a,s,u,c,l,d,h){function f(){function i(e){e||(e=this.exec("Image","getInfo")),this.size=e.size,this.width=e.width,this.height=e.height,this.type=e.type,this.meta=e.meta,""===this.name&&(this.name=e.name)}function c(t){var i=e.typeOf(t);try{if(t instanceof f){if(!t.size)throw new n.DOMException(n.DOMException.INVALID_STATE_ERR);m.apply(this,arguments)}else if(t instanceof l){if(!~e.inArray(t.type,["image/jpeg","image/png"]))throw new n.ImageError(n.ImageError.WRONG_FORMAT);g.apply(this,arguments)}else if(-1!==e.inArray(i,["blob","file"]))c.call(this,new d(null,t),arguments[1]);else if("string"===i)"data:"===t.substr(0,5)?c.call(this,new l(null,{data:t}),arguments[1]):v.apply(this,arguments);else{if("node"!==i||"img"!==t.nodeName.toLowerCase())throw new n.DOMException(n.DOMException.TYPE_MISMATCH_ERR);c.call(this,t.src,arguments[1])}}catch(r){this.trigger("error",r.code)}}function m(t,n){var i=this.connectRuntime(t.ruid);this.ruid=i.uid,i.exec.call(this,"Image","loadFromImage",t,"undefined"===e.typeOf(n)?!0:n)}function g(t,n){function i(e){r.ruid=e.uid,e.exec.call(r,"Image","loadFromBlob",t)}var r=this;r.name=t.name||"",t.isDetached()?(this.bind("RuntimeInit",function(e,t){i(t)}),n&&"string"==typeof n.required_caps&&(n.required_caps=o.parseCaps(n.required_caps)),this.connectRuntime(e.extend({required_caps:{access_image_binary:!0,resize_image:!0}},n))):i(this.connectRuntime(t.ruid))}function v(e,t){var n=this,i;i=new r,i.open("get",e),i.responseType="blob",i.onprogress=function(e){n.trigger(e)},i.onload=function(){g.call(n,i.response,!0)},i.onerror=function(e){n.trigger(e)},i.onloadend=function(){i.destroy()},i.bind("RuntimeError",function(e,t){n.trigger("RuntimeError",t)}),i.send(null,t)}a.call(this),e.extend(this,{uid:e.guid("uid_"),ruid:null,name:"",size:0,width:0,height:0,type:"",meta:{},clone:function(){this.load.apply(this,arguments)},load:function(){c.apply(this,arguments)},downsize:function(t){var i={width:this.width,height:this.height,type:this.type||"image/jpeg",quality:90,crop:!1,preserveHeaders:!0,resample:!1};t="object"==typeof t?e.extend(i,t):e.extend(i,{width:arguments[0],height:arguments[1],crop:arguments[2],preserveHeaders:arguments[3]});try{if(!this.size)throw new n.DOMException(n.DOMException.INVALID_STATE_ERR);if(this.width>f.MAX_RESIZE_WIDTH||this.height>f.MAX_RESIZE_HEIGHT)throw new n.ImageError(n.ImageError.MAX_RESOLUTION_ERR);this.exec("Image","downsize",t.width,t.height,t.crop,t.preserveHeaders)}catch(r){this.trigger("error",r.code)}},crop:function(e,t,n){this.downsize(e,t,!0,n)},getAsCanvas:function(){if(!u.can("create_canvas"))throw new n.RuntimeError(n.RuntimeError.NOT_SUPPORTED_ERR);var e=this.connectRuntime(this.ruid);return e.exec.call(this,"Image","getAsCanvas")},getAsBlob:function(e,t){if(!this.size)throw new n.DOMException(n.DOMException.INVALID_STATE_ERR);return this.exec("Image","getAsBlob",e||"image/jpeg",t||90)},getAsDataURL:function(e,t){if(!this.size)throw new n.DOMException(n.DOMException.INVALID_STATE_ERR);return this.exec("Image","getAsDataURL",e||"image/jpeg",t||90)},getAsBinaryString:function(e,t){var n=this.getAsDataURL(e,t);return h.atob(n.substring(n.indexOf("base64,")+7))},embed:function(i,r){function o(t,r){var o=this;if(u.can("create_canvas")){var l=o.getAsCanvas();if(l)return i.appendChild(l),l=null,o.destroy(),void a.trigger("embedded")}var d=o.getAsDataURL(t,r);if(!d)throw new n.ImageError(n.ImageError.WRONG_FORMAT);if(u.can("use_data_uri_of",d.length))i.innerHTML='',o.destroy(),a.trigger("embedded");else{var f=new s;f.bind("TransportingComplete",function(){c=a.connectRuntime(this.result.ruid),a.bind("Embedded",function(){e.extend(c.getShimContainer().style,{top:"0px",left:"0px",width:o.width+"px",height:o.height+"px"}),c=null},999),c.exec.call(a,"ImageView","display",this.result.uid,width,height),o.destroy()}),f.transport(h.atob(d.substring(d.indexOf("base64,")+7)),t,{required_caps:{display_media:!0},runtime_order:"flash,silverlight",container:i})}}var a=this,c;r=e.extend({width:this.width,height:this.height,type:this.type||"image/jpeg",quality:90},r||{});try{if(!(i=t.get(i)))throw new n.DOMException(n.DOMException.INVALID_NODE_TYPE_ERR);if(!this.size)throw new n.DOMException(n.DOMException.INVALID_STATE_ERR);this.width>f.MAX_RESIZE_WIDTH||this.height>f.MAX_RESIZE_HEIGHT;var l=new f;return l.bind("Resize",function(){o.call(this,r.type,r.quality)}),l.bind("Load",function(){l.downsize(r)}),this.meta.thumb&&this.meta.thumb.width>=r.width&&this.meta.thumb.height>=r.height?l.load(this.meta.thumb.data):l.clone(this,!1),l}catch(d){this.trigger("error",d.code)}},destroy:function(){this.ruid&&(this.getRuntime().exec.call(this,"Image","destroy"),this.disconnectRuntime()),this.unbindAll()}}),this.handleEventProps(p),this.bind("Load Resize",function(){i.call(this)},999)}var p=["progress","load","error","resize","embedded"];return f.MAX_RESIZE_WIDTH=8192,f.MAX_RESIZE_HEIGHT=8192,f.prototype=c.instance,f}),i(D,[u,f,m,c],function(e,t,n,i){function r(t){var r=this,s=n.capTest,u=n.capTrue,c=e.extend({access_binary:s(window.FileReader||window.File&&window.File.getAsDataURL),access_image_binary:function(){return r.can("access_binary")&&!!a.Image},display_media:s(i.can("create_canvas")||i.can("use_data_uri_over32kb")),do_cors:s(window.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest),drag_and_drop:s(function(){var e=document.createElement("div");return("draggable"in e||"ondragstart"in e&&"ondrop"in e)&&("IE"!==i.browser||i.verComp(i.version,9,">"))}()),filter_by_extension:s(function(){return"Chrome"===i.browser&&i.verComp(i.version,28,">=")||"IE"===i.browser&&i.verComp(i.version,10,">=")||"Safari"===i.browser&&i.verComp(i.version,7,">=")}()),return_response_headers:u,return_response_type:function(e){return"json"===e&&window.JSON?!0:i.can("return_response_type",e)},return_status_code:u,report_upload_progress:s(window.XMLHttpRequest&&(new XMLHttpRequest).upload),resize_image:function(){return r.can("access_binary")&&i.can("create_canvas")},select_file:function(){return i.can("use_fileinput")&&window.File},select_folder:function(){return r.can("select_file")&&"Chrome"===i.browser&&i.verComp(i.version,21,">=")},select_multiple:function(){return!(!r.can("select_file")||"Safari"===i.browser&&"Windows"===i.os||"iOS"===i.os&&i.verComp(i.osVersion,"7.0.0",">")&&i.verComp(i.osVersion,"8.0.0","<"))},send_binary_string:s(window.XMLHttpRequest&&((new XMLHttpRequest).sendAsBinary||window.Uint8Array&&window.ArrayBuffer)),send_custom_headers:s(window.XMLHttpRequest),send_multipart:function(){return!!(window.XMLHttpRequest&&(new XMLHttpRequest).upload&&window.FormData)||r.can("send_binary_string")},slice_blob:s(window.File&&(File.prototype.mozSlice||File.prototype.webkitSlice||File.prototype.slice)),stream_upload:function(){return r.can("slice_blob")&&r.can("send_multipart")},summon_file_dialog:function(){return r.can("select_file")&&("Firefox"===i.browser&&i.verComp(i.version,4,">=")||"Opera"===i.browser&&i.verComp(i.version,12,">=")||"IE"===i.browser&&i.verComp(i.version,10,">=")||!!~e.inArray(i.browser,["Chrome","Safari"]))},upload_filesize:u},arguments[2]);n.call(this,t,arguments[1]||o,c),e.extend(this,{init:function(){this.trigger("Init")},destroy:function(e){return function(){e.call(r),e=r=null}}(this.destroy)}),e.extend(this.getShim(),a)}var o="html5",a={};return n.addConstructor(o,r),a}),i(N,[u],function(e){function t(){this.returnValue=!1}function n(){this.cancelBubble=!0}var i={},r="moxie_"+e.guid(),o=function(o,a,s,u){var c,l;a=a.toLowerCase(),o.addEventListener?(c=s,o.addEventListener(a,c,!1)):o.attachEvent&&(c=function(){var e=window.event;e.target||(e.target=e.srcElement),e.preventDefault=t,e.stopPropagation=n,s(e)},o.attachEvent("on"+a,c)),o[r]||(o[r]=e.guid()),i.hasOwnProperty(o[r])||(i[o[r]]={}),l=i[o[r]],l.hasOwnProperty(a)||(l[a]=[]),l[a].push({func:c,orig:s,key:u})},a=function(t,n,o){var a,s;if(n=n.toLowerCase(),t[r]&&i[t[r]]&&i[t[r]][n]){a=i[t[r]][n];for(var u=a.length-1;u>=0&&(a[u].orig!==o&&a[u].key!==o||(t.removeEventListener?t.removeEventListener(n,a[u].func,!1):t.detachEvent&&t.detachEvent("on"+n,a[u].func),a[u].orig=null,a[u].func=null,a.splice(u,1),o===s));u--);if(a.length||delete i[t[r]][n],e.isEmptyObj(i[t[r]])){delete i[t[r]];try{delete t[r]}catch(c){t[r]=s}}}},s=function(t,n){t&&t[r]&&e.each(i[t[r]],function(e,i){a(t,i,n)})};return{addEvent:o,removeEvent:a,removeAllEvents:s}}),i(L,[D,E,u,h,N,d,c],function(e,t,n,i,r,o,a){function s(){var e;n.extend(this,{init:function(s){var u=this,c=u.getRuntime(),l,d,h,f,p,m;e=s,h=e.accept.mimes||o.extList2mimes(e.accept,c.can("filter_by_extension")),d=c.getShimContainer(),d.innerHTML='",l=i.get(c.uid),n.extend(l.style,{position:"absolute",top:0,left:0,width:"100%",height:"100%"}),f=i.get(e.browse_button),c.can("summon_file_dialog")&&("static"===i.getStyle(f,"position")&&(f.style.position="relative"),p=parseInt(i.getStyle(f,"z-index"),10)||1,f.style.zIndex=p,d.style.zIndex=p-1,r.addEvent(f,"click",function(e){var t=i.get(c.uid);t&&!t.disabled&&t.click(),e.preventDefault()},u.uid)),m=c.can("summon_file_dialog")?f:d,r.addEvent(m,"mouseover",function(){u.trigger("mouseenter")},u.uid),r.addEvent(m,"mouseout",function(){u.trigger("mouseleave")},u.uid),r.addEvent(m,"mousedown",function(){u.trigger("mousedown")},u.uid),r.addEvent(i.get(e.container),"mouseup",function(){u.trigger("mouseup")},u.uid),l.onchange=function g(i){if(u.files=[],n.each(this.files,function(n){var i="";return e.directory&&"."==n.name?!0:(n.webkitRelativePath&&(i="/"+n.webkitRelativePath.replace(/^\//,"")),n=new t(c.uid,n),n.relativePath=i,void u.files.push(n))}),"IE"!==a.browser&&"IEMobile"!==a.browser)this.value="";else{var r=this.cloneNode(!0);this.parentNode.replaceChild(r,this),r.onchange=g}u.files.length&&u.trigger("change")},u.trigger({type:"ready",async:!0}),d=null},disable:function(e){var t=this.getRuntime(),n;(n=i.get(t.uid))&&(n.disabled=!!e)},destroy:function(){var t=this.getRuntime(),n=t.getShim(),o=t.getShimContainer();r.removeAllEvents(o,this.uid),r.removeAllEvents(e&&i.get(e.container),this.uid),r.removeAllEvents(e&&i.get(e.browse_button),this.uid),o&&(o.innerHTML=""),n.removeInstance(this.uid),e=o=n=null}})}return e.FileInput=s}),i(C,[D,y],function(e,t){function n(){function e(e,t,n){var i;if(!window.File.prototype.slice)return(i=window.File.prototype.webkitSlice||window.File.prototype.mozSlice)?i.call(e,t,n):null;try{return e.slice(),e.slice(t,n)}catch(r){return e.slice(t,n-t)}}this.slice=function(){return new t(this.getRuntime().uid,e.apply(this,arguments))}}return e.Blob=n}),i(M,[D,E,u,h,N,d],function(e,t,n,i,r,o){function a(){function e(e){if(!e.dataTransfer||!e.dataTransfer.types)return!1;var t=n.toArray(e.dataTransfer.types||[]);return-1!==n.inArray("Files",t)||-1!==n.inArray("public.file-url",t)||-1!==n.inArray("application/x-moz-file",t)}function a(e,n){if(u(e)){var i=new t(g,e);i.relativePath=n||"",f.push(i)}}function s(e){for(var t=[],i=0;i=")&&u.verComp(u.version,7,"<"),h="Android Browser"===u.browser,m=!1;if(p=n.url.replace(/^.+?\/([\w\-\.]+)$/,"$1").toLowerCase(),f=c(),f.open(n.method,n.url,n.async,n.user,n.password),r instanceof o)r.isDetached()&&(m=!0),r=r.getSource();else if(r instanceof a){if(r.hasBlob())if(r.getBlob().isDetached())r=d.call(s,r),m=!0;else if((l||h)&&"blob"===t.typeOf(r.getBlob().getSource())&&window.FileReader)return void e.call(s,n,r);if(r instanceof a){var g=new window.FormData;r.each(function(e,t){e instanceof o?g.append(t,e.getSource()):g.append(t,e)}),r=g}}f.upload?(n.withCredentials&&(f.withCredentials=!0),f.addEventListener("load",function(e){s.trigger(e)}),f.addEventListener("error",function(e){s.trigger(e)}),f.addEventListener("progress",function(e){s.trigger(e)}),f.upload.addEventListener("progress",function(e){s.trigger({type:"UploadProgress",loaded:e.loaded,total:e.total})})):f.onreadystatechange=function v(){switch(f.readyState){case 1:break;case 2:break;case 3:var e,t;try{i.hasSameOrigin(n.url)&&(e=f.getResponseHeader("Content-Length")||0),f.responseText&&(t=f.responseText.length)}catch(r){e=t=0}s.trigger({type:"progress",lengthComputable:!!e,total:parseInt(e,10),loaded:t});break;case 4:f.onreadystatechange=function(){},s.trigger(0===f.status?"error":"load")}},t.isEmptyObj(n.headers)||t.each(n.headers,function(e,t){f.setRequestHeader(t,e)}),""!==n.responseType&&"responseType"in f&&("json"!==n.responseType||u.can("return_response_type","json")?f.responseType=n.responseType:f.responseType="text"),m?f.sendAsBinary?f.sendAsBinary(r):!function(){for(var e=new Uint8Array(r.length),t=0;t0&&o.set(new Uint8Array(t.slice(0,e)),0),o.set(new Uint8Array(r),e),o.set(new Uint8Array(t.slice(e+i)),e+r.byteLength),this.clear(),t=o.buffer,n=new DataView(t);break}default:return t}},length:function(){return t?t.byteLength:0},clear:function(){n=t=null}})}function i(t){function n(e,n,i){i=3===arguments.length?i:t.length-n-1,t=t.substr(0,n)+e+t.substr(i+n)}e.extend(this,{readByteAt:function(e){return t.charCodeAt(e)},writeByteAt:function(e,t){n(String.fromCharCode(t),e,1)},SEGMENT:function(e,i,r){switch(arguments.length){case 1:return t.substr(e);case 2:return t.substr(e,i);case 3:n(null!==r?r:"",e,i);break;default:return t}},length:function(){return t?t.length:0},clear:function(){t=null}})}return e.extend(t.prototype,{littleEndian:!1,read:function(e,t){var n,i,r;if(e+t>this.length())throw new Error("You are trying to read outside the source boundaries.");for(i=this.littleEndian?0:-8*(t-1),r=0,n=0;t>r;r++)n|=this.readByteAt(e+r)<this.length())throw new Error("You are trying to write outside the source boundaries.");for(i=this.littleEndian?0:-8*(n-1),r=0;n>r;r++)this.writeByteAt(e+r,t>>Math.abs(i+8*r)&255)},BYTE:function(e){return this.read(e,1)},SHORT:function(e){return this.read(e,2)},LONG:function(e){return this.read(e,4)},SLONG:function(e){var t=this.read(e,4);return t>2147483647?t-4294967296:t},CHAR:function(e){return String.fromCharCode(this.read(e,1))},STRING:function(e,t){return this.asArray("CHAR",e,t).join("")},asArray:function(e,t,n){for(var i=[],r=0;n>r;r++)i[r]=this[e](t+r);return i}}),t}),i(B,[H,f],function(e,t){return function n(i){var r=[],o,a,s,u=0;if(o=new e(i),65496!==o.SHORT(0))throw o.clear(),new t.ImageError(t.ImageError.WRONG_FORMAT);for(a=2;a<=o.length();)if(s=o.SHORT(a),s>=65488&&65495>=s)a+=2;else{if(65498===s||65497===s)break;u=o.SHORT(a+2)+2,s>=65505&&65519>=s&&r.push({hex:s,name:"APP"+(15&s),start:a,length:u,segment:o.SEGMENT(a,u)}),a+=u}return o.clear(),{headers:r,restore:function(t){var n,i,o;for(o=new e(t),a=65504==o.SHORT(2)?4+o.SHORT(4):2,i=0,n=r.length;n>i;i++)o.SEGMENT(a,0,r[i].segment),a+=r[i].length;return t=o.SEGMENT(),o.clear(),t},strip:function(t){var i,r,o,a;for(o=new n(t),r=o.headers,o.purge(),i=new e(t),a=r.length;a--;)i.SEGMENT(r[a].start,r[a].length,"");return t=i.SEGMENT(),i.clear(),t},get:function(e){for(var t=[],n=0,i=r.length;i>n;n++)r[n].name===e.toUpperCase()&&t.push(r[n].segment);return t}, +set:function(e,t){var n=[],i,o,a;for("string"==typeof t?n.push(t):n=t,i=o=0,a=r.length;a>i&&(r[i].name===e.toUpperCase()&&(r[i].segment=n[o],r[i].length=n[o].length,o++),!(o>=n.length));i++);},purge:function(){this.headers=r=[]}}}}),i(k,[u,H,f],function(e,n,i){function r(o){function a(n,r){var o=this,a,s,u,c,h,f,p,m,g=[],v={},w={1:"BYTE",7:"UNDEFINED",2:"ASCII",3:"SHORT",4:"LONG",5:"RATIONAL",9:"SLONG",10:"SRATIONAL"},y={BYTE:1,UNDEFINED:1,ASCII:1,SHORT:2,LONG:4,RATIONAL:8,SLONG:4,SRATIONAL:8};for(a=o.SHORT(n),s=0;a>s;s++)if(g=[],p=n+2+12*s,u=r[o.SHORT(p)],u!==t){if(c=w[o.SHORT(p+=2)],h=o.LONG(p+=2),f=y[c],!f)throw new i.ImageError(i.ImageError.INVALID_META_ERR);if(p+=4,f*h>4&&(p=o.LONG(p)+d.tiffHeader),p+f*h>=this.length())throw new i.ImageError(i.ImageError.INVALID_META_ERR);"ASCII"!==c?(g=o.asArray(c,p,h),m=1==h?g[0]:g,l.hasOwnProperty(u)&&"object"!=typeof m?v[u]=l[u][m]:v[u]=m):v[u]=e.trim(o.STRING(p,h).replace(/\0$/,""))}return v}function s(e,t,n){var i,r,o,a=0;if("string"==typeof t){var s=c[e.toLowerCase()];for(var u in s)if(s[u]===t){t=u;break}}i=d[e.toLowerCase()+"IFD"],r=this.SHORT(i);for(var l=0;r>l;l++)if(o=i+12*l+2,this.SHORT(o)==t){a=o+8;break}if(!a)return!1;try{this.write(a,n,4)}catch(h){return!1}return!0}var u,c,l,d,h,f;if(n.call(this,o),c={tiff:{274:"Orientation",270:"ImageDescription",271:"Make",272:"Model",305:"Software",34665:"ExifIFDPointer",34853:"GPSInfoIFDPointer"},exif:{36864:"ExifVersion",40961:"ColorSpace",40962:"PixelXDimension",40963:"PixelYDimension",36867:"DateTimeOriginal",33434:"ExposureTime",33437:"FNumber",34855:"ISOSpeedRatings",37377:"ShutterSpeedValue",37378:"ApertureValue",37383:"MeteringMode",37384:"LightSource",37385:"Flash",37386:"FocalLength",41986:"ExposureMode",41987:"WhiteBalance",41990:"SceneCaptureType",41988:"DigitalZoomRatio",41992:"Contrast",41993:"Saturation",41994:"Sharpness"},gps:{0:"GPSVersionID",1:"GPSLatitudeRef",2:"GPSLatitude",3:"GPSLongitudeRef",4:"GPSLongitude"},thumb:{513:"JPEGInterchangeFormat",514:"JPEGInterchangeFormatLength"}},l={ColorSpace:{1:"sRGB",0:"Uncalibrated"},MeteringMode:{0:"Unknown",1:"Average",2:"CenterWeightedAverage",3:"Spot",4:"MultiSpot",5:"Pattern",6:"Partial",255:"Other"},LightSource:{1:"Daylight",2:"Fliorescent",3:"Tungsten",4:"Flash",9:"Fine weather",10:"Cloudy weather",11:"Shade",12:"Daylight fluorescent (D 5700 - 7100K)",13:"Day white fluorescent (N 4600 -5400K)",14:"Cool white fluorescent (W 3900 - 4500K)",15:"White fluorescent (WW 3200 - 3700K)",17:"Standard light A",18:"Standard light B",19:"Standard light C",20:"D55",21:"D65",22:"D75",23:"D50",24:"ISO studio tungsten",255:"Other"},Flash:{0:"Flash did not fire",1:"Flash fired",5:"Strobe return light not detected",7:"Strobe return light detected",9:"Flash fired, compulsory flash mode",13:"Flash fired, compulsory flash mode, return light not detected",15:"Flash fired, compulsory flash mode, return light detected",16:"Flash did not fire, compulsory flash mode",24:"Flash did not fire, auto mode",25:"Flash fired, auto mode",29:"Flash fired, auto mode, return light not detected",31:"Flash fired, auto mode, return light detected",32:"No flash function",65:"Flash fired, red-eye reduction mode",69:"Flash fired, red-eye reduction mode, return light not detected",71:"Flash fired, red-eye reduction mode, return light detected",73:"Flash fired, compulsory flash mode, red-eye reduction mode",77:"Flash fired, compulsory flash mode, red-eye reduction mode, return light not detected",79:"Flash fired, compulsory flash mode, red-eye reduction mode, return light detected",89:"Flash fired, auto mode, red-eye reduction mode",93:"Flash fired, auto mode, return light not detected, red-eye reduction mode",95:"Flash fired, auto mode, return light detected, red-eye reduction mode"},ExposureMode:{0:"Auto exposure",1:"Manual exposure",2:"Auto bracket"},WhiteBalance:{0:"Auto white balance",1:"Manual white balance"},SceneCaptureType:{0:"Standard",1:"Landscape",2:"Portrait",3:"Night scene"},Contrast:{0:"Normal",1:"Soft",2:"Hard"},Saturation:{0:"Normal",1:"Low saturation",2:"High saturation"},Sharpness:{0:"Normal",1:"Soft",2:"Hard"},GPSLatitudeRef:{N:"North latitude",S:"South latitude"},GPSLongitudeRef:{E:"East longitude",W:"West longitude"}},d={tiffHeader:10},h=d.tiffHeader,u={clear:this.clear},e.extend(this,{read:function(){try{return r.prototype.read.apply(this,arguments)}catch(e){throw new i.ImageError(i.ImageError.INVALID_META_ERR)}},write:function(){try{return r.prototype.write.apply(this,arguments)}catch(e){throw new i.ImageError(i.ImageError.INVALID_META_ERR)}},UNDEFINED:function(){return this.BYTE.apply(this,arguments)},RATIONAL:function(e){return this.LONG(e)/this.LONG(e+4)},SRATIONAL:function(e){return this.SLONG(e)/this.SLONG(e+4)},ASCII:function(e){return this.CHAR(e)},TIFF:function(){return f||null},EXIF:function(){var t=null;if(d.exifIFD){try{t=a.call(this,d.exifIFD,c.exif)}catch(n){return null}if(t.ExifVersion&&"array"===e.typeOf(t.ExifVersion)){for(var i=0,r="";i=65472&&65475>=n)return t+=5,{height:e.SHORT(t),width:e.SHORT(t+=2)};i=e.SHORT(t+=2),t+=i-2}return null}function s(){var e=d.thumb(),t,n;return e&&(t=new i(e),n=a(t),t.clear(),n)?(n.data=e,n):null}function u(){d&&l&&c&&(d.clear(),l.purge(),c.clear(),h=l=d=c=null)}var c,l,d,h;if(c=new i(o),65496!==c.SHORT(0))throw new t.ImageError(t.ImageError.WRONG_FORMAT);l=new n(o);try{d=new r(l.get("app1")[0])}catch(f){}h=a.call(this),e.extend(this,{type:"image/jpeg",size:c.length(),width:h&&h.width||0,height:h&&h.height||0,setExif:function(t,n){return d?("object"===e.typeOf(t)?e.each(t,function(e,t){d.setExif(t,e)}):d.setExif(t,n),void l.set("app1",d.SEGMENT())):!1},writeHeaders:function(){return l.restore(arguments.length?arguments[0]:o)},stripHeaders:function(e){return l.strip(e)},purge:function(){u.call(this)}}),d&&(this.meta={tiff:d.TIFF(),exif:d.EXIF(),gps:d.GPS(),thumb:s()})}return o}),i(G,[f,u,H],function(e,t,n){function i(i){function r(){var e,t;return e=a.call(this,8),"IHDR"==e.type?(t=e.start,{width:s.LONG(t),height:s.LONG(t+=4)}):null}function o(){s&&(s.clear(),i=l=u=c=s=null)}function a(e){var t,n,i,r;return t=s.LONG(e),n=s.STRING(e+=4,4),i=e+=4,r=s.LONG(e+t),{length:t,type:n,start:i,CRC:r}}var s,u,c,l;s=new n(i),function(){var t=0,n=0,i=[35152,20039,3338,6666];for(n=0;ng;){for(var v=g+h>a?a-g:h,w=0;o>w;){var y=w+h>o?o-w:h;p.clearRect(0,0,h,h),p.drawImage(e,-w,-g);var E=w*s/o+c<<0,_=Math.ceil(y*s/o),b=g*u/a/m+l<<0,x=Math.ceil(v*u/a/m);d.drawImage(f,0,0,y,v,E,b,_,x),w+=h}g+=h}f=p=null}function t(e){var t=e.naturalWidth,n=e.naturalHeight;if(t*n>1048576){var i=document.createElement("canvas");i.width=i.height=1;var r=i.getContext("2d");return r.drawImage(e,-t+1,0),0===r.getImageData(0,0,1,1).data[3]}return!1}function n(e,t,n){var i=document.createElement("canvas");i.width=1,i.height=n;var r=i.getContext("2d");r.drawImage(e,0,0);for(var o=r.getImageData(0,0,1,n).data,a=0,s=n,u=n;u>a;){var c=o[4*(u-1)+3];0===c?s=u:a=u,u=s+a>>1}i=null;var l=u/n;return 0===l?1:l}return{isSubsampled:t,renderTo:e}}),i(j,[D,u,f,w,y,E,z,q,d,c],function(e,t,n,i,r,o,a,s,u,c){function l(){function e(){if(!_&&!y)throw new n.ImageError(n.DOMException.INVALID_STATE_ERR);return _||y}function l(e){return i.atob(e.substring(e.indexOf("base64,")+7))}function d(e,t){return"data:"+(t||"")+";base64,"+i.btoa(e)}function h(e){var t=this;y=new Image,y.onerror=function(){v.call(this),t.trigger("error",n.ImageError.WRONG_FORMAT)},y.onload=function(){t.trigger("load")},y.src="data:"==e.substr(0,5)?e:d(e,x.type)}function f(e,t){var i=this,r;return window.FileReader?(r=new FileReader,r.onload=function(){t(this.result)},r.onerror=function(){i.trigger("error",n.ImageError.WRONG_FORMAT)},r.readAsDataURL(e),void 0):t(e.getAsDataURL())}function p(n,i,r,o){var a=this,s,u,c=0,l=0,d,h,f,p;if(A=o,p=this.meta&&this.meta.tiff&&this.meta.tiff.Orientation||1,-1!==t.inArray(p,[5,6,7,8])){var v=n;n=i,i=v}return d=e(),r?(n=Math.min(n,d.width),i=Math.min(i,d.height),s=Math.max(n/d.width,i/d.height)):s=Math.min(n/d.width,i/d.height),s>1&&!r&&o?void this.trigger("Resize"):(_||(_=document.createElement("canvas")),h=Math.round(d.width*s),f=Math.round(d.height*s),r?(_.width=n,_.height=i,h>n&&(c=Math.round((h-n)/2)),f>i&&(l=Math.round((f-i)/2))):(_.width=h,_.height=f),A||g(_.width,_.height,p),m.call(this,d,_,-c,-l,h,f),this.width=_.width,this.height=_.height,R=!0,void a.trigger("Resize"))}function m(e,t,n,i,r,o){if("iOS"===c.OS)s.renderTo(e,t,{width:r,height:o,x:n,y:i});else{var a=t.getContext("2d");a.drawImage(e,n,i,r,o)}}function g(e,t,n){switch(n){case 5:case 6:case 7:case 8:_.width=t,_.height=e;break;default:_.width=e,_.height=t}var i=_.getContext("2d");switch(n){case 2:i.translate(e,0),i.scale(-1,1);break;case 3:i.translate(e,t),i.rotate(Math.PI);break;case 4:i.translate(0,t),i.scale(1,-1);break;case 5:i.rotate(.5*Math.PI),i.scale(1,-1);break;case 6:i.rotate(.5*Math.PI),i.translate(0,-t);break;case 7:i.rotate(.5*Math.PI),i.translate(e,-t),i.scale(-1,1);break;case 8:i.rotate(-.5*Math.PI),i.translate(-e,0)}}function v(){E&&(E.purge(),E=null),b=y=_=x=null,R=!1}var w=this,y,E,_,b,x,R=!1,A=!0;t.extend(this,{loadFromBlob:function(e){var t=this,i=t.getRuntime(),r=arguments.length>1?arguments[1]:!0;if(!i.can("access_binary"))throw new n.RuntimeError(n.RuntimeError.NOT_SUPPORTED_ERR);return x=e,e.isDetached()?(b=e.getSource(),void h.call(this,b)):void f.call(this,e.getSource(),function(e){r&&(b=l(e)),h.call(t,e)})},loadFromImage:function(e,t){this.meta=e.meta,x=new o(null,{name:e.name,size:e.size,type:e.type}),h.call(this,t?b=e.getAsBinaryString():e.getAsDataURL())},getInfo:function(){var t=this.getRuntime(),n;return!E&&b&&t.can("access_image_binary")&&(E=new a(b)),n={width:e().width||0,height:e().height||0,type:x.type||u.getFileMime(x.name),size:b&&b.length||x.size||0,name:x.name||"",meta:E&&E.meta||this.meta||{}},!n.meta||!n.meta.thumb||n.meta.thumb.data instanceof r||(n.meta.thumb.data=new r(null,{type:"image/jpeg",data:n.meta.thumb.data})),n},downsize:function(){p.apply(this,arguments)},getAsCanvas:function(){return _&&(_.id=this.uid+"_canvas"),_},getAsBlob:function(e,t){return e!==this.type&&p.call(this,this.width,this.height,!1),new o(null,{name:x.name||"",type:e,data:w.getAsBinaryString.call(this,e,t)})},getAsDataURL:function(e){var t=arguments[1]||90;if(!R)return y.src;if("image/jpeg"!==e)return _.toDataURL("image/png");try{return _.toDataURL("image/jpeg",t/100)}catch(n){return _.toDataURL("image/jpeg")}},getAsBinaryString:function(e,t){if(!R)return b||(b=l(w.getAsDataURL(e,t))),b;if("image/jpeg"!==e)b=l(w.getAsDataURL(e,t));else{var n;t||(t=90);try{n=_.toDataURL("image/jpeg",t/100)}catch(i){n=_.toDataURL("image/jpeg")}b=l(n),E&&(b=E.stripHeaders(b),A&&(E.meta&&E.meta.exif&&E.setExif({PixelXDimension:this.width,PixelYDimension:this.height}),b=E.writeHeaders(b)),E.purge(),E=null)}return R=!1,b},destroy:function(){w=null,v.call(this),this.getRuntime().getShim().removeInstance(this.uid)}})}return e.Image=l}),i(X,[u,c,h,f,m],function(e,t,n,i,r){function o(){var e;try{e=navigator.plugins["Shockwave Flash"],e=e.description}catch(t){try{e=new ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version")}catch(n){e="0.0"}}return e=e.match(/\d+/g),parseFloat(e[0]+"."+e[1])}function a(e){var i=n.get(e);i&&"OBJECT"==i.nodeName&&("IE"===t.browser?(i.style.display="none",function r(){4==i.readyState?s(e):setTimeout(r,10)}()):i.parentNode.removeChild(i))}function s(e){var t=n.get(e);if(t){for(var i in t)"function"==typeof t[i]&&(t[i]=null);t.parentNode.removeChild(t)}}function u(s){var u=this,d;s=e.extend({swf_url:t.swf_url},s),r.call(this,s,c,{access_binary:function(e){return e&&"browser"===u.mode},access_image_binary:function(e){return e&&"browser"===u.mode},display_media:r.capTrue,do_cors:r.capTrue,drag_and_drop:!1,report_upload_progress:function(){return"client"===u.mode},resize_image:r.capTrue,return_response_headers:!1,return_response_type:function(t){return"json"===t&&window.JSON?!0:!e.arrayDiff(t,["","text","document"])||"browser"===u.mode},return_status_code:function(t){return"browser"===u.mode||!e.arrayDiff(t,[200,404])},select_file:r.capTrue,select_multiple:r.capTrue,send_binary_string:function(e){return e&&"browser"===u.mode},send_browser_cookies:function(e){return e&&"browser"===u.mode},send_custom_headers:function(e){return e&&"browser"===u.mode},send_multipart:r.capTrue,slice_blob:function(e){return e&&"browser"===u.mode},stream_upload:function(e){return e&&"browser"===u.mode},summon_file_dialog:!1,upload_filesize:function(t){return e.parseSizeStr(t)<=2097152||"client"===u.mode},use_http_method:function(t){return!e.arrayDiff(t,["GET","POST"])}},{access_binary:function(e){return e?"browser":"client"},access_image_binary:function(e){return e?"browser":"client"},report_upload_progress:function(e){return e?"browser":"client"},return_response_type:function(t){return e.arrayDiff(t,["","text","json","document"])?"browser":["client","browser"]},return_status_code:function(t){return e.arrayDiff(t,[200,404])?"browser":["client","browser"]},send_binary_string:function(e){return e?"browser":"client"},send_browser_cookies:function(e){return e?"browser":"client"},send_custom_headers:function(e){return e?"browser":"client"},stream_upload:function(e){return e?"client":"browser"},upload_filesize:function(t){return e.parseSizeStr(t)>=2097152?"client":"browser"}},"client"),o()<10&&(this.mode=!1),e.extend(this,{getShim:function(){return n.get(this.uid)},shimExec:function(e,t){var n=[].slice.call(arguments,2);return u.getShim().exec(this.uid,e,t,n)},init:function(){var n,r,o;o=this.getShimContainer(),e.extend(o.style,{position:"absolute",top:"-8px",left:"-8px",width:"9px",height:"9px",overflow:"hidden"}),n='',"IE"===t.browser?(r=document.createElement("div"),o.appendChild(r),r.outerHTML=n,r=o=null):o.innerHTML=n,d=setTimeout(function(){u&&!u.initialized&&u.trigger("Error",new i.RuntimeError(i.RuntimeError.NOT_INIT_ERR))},5e3)},destroy:function(e){return function(){a(u.uid),e.call(u),clearTimeout(d),s=d=e=u=null}}(this.destroy)},l)}var c="flash",l={};return r.addConstructor(c,u),l}),i(V,[X,E,u],function(e,t,n){var i={init:function(e){var i=this,r=this.getRuntime();this.bind("Change",function(){var e=r.shimExec.call(i,"FileInput","getFiles");i.files=[],n.each(e,function(e){i.files.push(new t(r.uid,e))})},999),this.getRuntime().shimExec.call(this,"FileInput","init",{name:e.name,accept:e.accept,multiple:e.multiple}),this.trigger("ready")}};return e.FileInput=i}),i(W,[X,y],function(e,t){var n={slice:function(e,n,i,r){var o=this.getRuntime();return 0>n?n=Math.max(e.size+n,0):n>0&&(n=Math.min(n,e.size)),0>i?i=Math.max(e.size+i,0):i>0&&(i=Math.min(i,e.size)),e=o.shimExec.call(this,"Blob","slice",n,i,r||""),e&&(e=new t(o.uid,e)),e}};return e.Blob=n}),i(Y,[X,w],function(e,t){function n(e,n){switch(n){case"readAsText":return t.atob(e,"utf8");case"readAsBinaryString":return t.atob(e);case"readAsDataURL":return e}return null}var i={read:function(e,t){var i=this;return i.result="","readAsDataURL"===e&&(i.result="data:"+(t.type||"")+";base64,"),i.bind("Progress",function(t,r){r&&(i.result+=n(r,e))},999),i.getRuntime().shimExec.call(this,"FileReader","readAsBase64",t.uid)}};return e.FileReader=i}),i($,[X,w],function(e,t){function n(e,n){switch(n){case"readAsText":return t.atob(e,"utf8");case"readAsBinaryString":return t.atob(e);case"readAsDataURL":return e}return null}var i={read:function(e,t){var i,r=this.getRuntime();return(i=r.shimExec.call(this,"FileReaderSync","readAsBase64",t.uid))?("readAsDataURL"===e&&(i="data:"+(t.type||"")+";base64,"+i),n(i,e,t.type)):null}};return e.FileReaderSync=i}),i(J,[X,u,y,E,A,I,S],function(e,t,n,i,r,o,a){var s={send:function(e,i){function r(){e.transport=l.mode,l.shimExec.call(c,"XMLHttpRequest","send",e,i)}function s(e,t){l.shimExec.call(c,"XMLHttpRequest","appendBlob",e,t.uid),i=null,r()}function u(e,t){var n=new a;n.bind("TransportingComplete",function(){t(this.result)}),n.transport(e.getSource(),e.type,{ruid:l.uid})}var c=this,l=c.getRuntime();if(t.isEmptyObj(e.headers)||t.each(e.headers,function(e,t){l.shimExec.call(c,"XMLHttpRequest","setRequestHeader",t,e.toString())}),i instanceof o){var d;if(i.each(function(e,t){e instanceof n?d=t:l.shimExec.call(c,"XMLHttpRequest","append",t,e)}),i.hasBlob()){var h=i.getBlob();h.isDetached()?u(h,function(e){h.destroy(),s(d,e)}):s(d,h)}else i=null,r()}else i instanceof n?i.isDetached()?u(i,function(e){i.destroy(),i=e.uid,r()}):(i=i.uid,r()):r()},getResponse:function(e){var n,o,a=this.getRuntime();if(o=a.shimExec.call(this,"XMLHttpRequest","getResponseAsBlob")){if(o=new i(a.uid,o),"blob"===e)return o;try{if(n=new r,~t.inArray(e,["","text"]))return n.readAsText(o);if("json"===e&&window.JSON)return JSON.parse(n.readAsText(o))}finally{o.destroy()}}return null},abort:function(e){var t=this.getRuntime();t.shimExec.call(this,"XMLHttpRequest","abort"),this.dispatchEvent("readystatechange"),this.dispatchEvent("abort")}};return e.XMLHttpRequest=s}),i(Z,[X,y],function(e,t){var n={getAsBlob:function(e){var n=this.getRuntime(),i=n.shimExec.call(this,"Transporter","getAsBlob",e);return i?new t(n.uid,i):null}};return e.Transporter=n}),i(K,[X,u,S,y,A],function(e,t,n,i,r){var o={loadFromBlob:function(e){function t(e){r.shimExec.call(i,"Image","loadFromBlob",e.uid),i=r=null}var i=this,r=i.getRuntime();if(e.isDetached()){var o=new n;o.bind("TransportingComplete",function(){t(o.result.getSource())}),o.transport(e.getSource(),e.type,{ruid:r.uid})}else t(e.getSource())},loadFromImage:function(e){var t=this.getRuntime();return t.shimExec.call(this,"Image","loadFromImage",e.uid)},getInfo:function(){var e=this.getRuntime(),t=e.shimExec.call(this,"Image","getInfo");return!t.meta||!t.meta.thumb||t.meta.thumb.data instanceof i||(t.meta.thumb.data=new i(e.uid,t.meta.thumb.data)),t},getAsBlob:function(e,t){var n=this.getRuntime(),r=n.shimExec.call(this,"Image","getAsBlob",e,t);return r?new i(n.uid,r):null},getAsDataURL:function(){var e=this.getRuntime(),t=e.Image.getAsBlob.apply(this,arguments),n;return t?(n=new r,n.readAsDataURL(t)):null}};return e.Image=o}),i(Q,[u,c,h,f,m],function(e,t,n,i,r){function o(e){var t=!1,n=null,i,r,o,a,s,u=0;try{try{n=new ActiveXObject("AgControl.AgControl"),n.IsVersionSupported(e)&&(t=!0),n=null}catch(c){var l=navigator.plugins["Silverlight Plug-In"];if(l){for(i=l.description,"1.0.30226.2"===i&&(i="2.0.30226.2"),r=i.split(".");r.length>3;)r.pop();for(;r.length<4;)r.push(0);for(o=e.split(".");o.length>4;)o.pop();do a=parseInt(o[u],10),s=parseInt(r[u],10),u++;while(u=a&&!isNaN(a)&&(t=!0)}}}catch(d){t=!1}return t}function a(a){var c=this,l;a=e.extend({xap_url:t.xap_url},a),r.call(this,a,s,{access_binary:r.capTrue,access_image_binary:r.capTrue,display_media:r.capTrue,do_cors:r.capTrue,drag_and_drop:!1,report_upload_progress:r.capTrue,resize_image:r.capTrue,return_response_headers:function(e){return e&&"client"===c.mode},return_response_type:function(e){return"json"!==e?!0:!!window.JSON},return_status_code:function(t){return"client"===c.mode||!e.arrayDiff(t,[200,404])},select_file:r.capTrue,select_multiple:r.capTrue,send_binary_string:r.capTrue,send_browser_cookies:function(e){return e&&"browser"===c.mode},send_custom_headers:function(e){return e&&"client"===c.mode},send_multipart:r.capTrue,slice_blob:r.capTrue,stream_upload:!0,summon_file_dialog:!1,upload_filesize:r.capTrue,use_http_method:function(t){return"client"===c.mode||!e.arrayDiff(t,["GET","POST"])}},{return_response_headers:function(e){return e?"client":"browser"},return_status_code:function(t){return e.arrayDiff(t,[200,404])?"client":["client","browser"]},send_browser_cookies:function(e){return e?"browser":"client"},send_custom_headers:function(e){return e?"client":"browser"},use_http_method:function(t){return e.arrayDiff(t,["GET","POST"])?"client":["client","browser"]}}),o("2.0.31005.0")&&"Opera"!==t.browser||(this.mode=!1),e.extend(this,{getShim:function(){return n.get(this.uid).content.Moxie},shimExec:function(e,t){var n=[].slice.call(arguments,2);return c.getShim().exec(this.uid,e,t,n)},init:function(){var e;e=this.getShimContainer(),e.innerHTML='',l=setTimeout(function(){c&&!c.initialized&&c.trigger("Error",new i.RuntimeError(i.RuntimeError.NOT_INIT_ERR))},"Windows"!==t.OS?1e4:5e3)},destroy:function(e){return function(){e.call(c),clearTimeout(l),a=l=e=c=null}}(this.destroy)},u)}var s="silverlight",u={};return r.addConstructor(s,a),u}),i(ee,[Q,E,u],function(e,t,n){var i={init:function(e){function i(e){for(var t="",n=0;ni;i++)n=t.keys[i],s=t[n],s&&(/^(\d|[1-9]\d+)$/.test(s)?s=parseInt(s,10):/^\d*\.\d+$/.test(s)&&(s=parseFloat(s)),r.meta[e][n]=s)}),!r.meta||!r.meta.thumb||r.meta.thumb.data instanceof n||(r.meta.thumb.data=new n(e.uid,r.meta.thumb.data))),r.width=parseInt(o.width,10),r.height=parseInt(o.height,10),r.size=parseInt(o.size,10),r.type=o.type,r.name=o.name,r}})}),i(ue,[u,f,m,c],function(e,t,n,i){function r(t){var r=this,s=n.capTest,u=n.capTrue;n.call(this,t,o,{access_binary:s(window.FileReader||window.File&&File.getAsDataURL),access_image_binary:!1,display_media:s(a.Image&&(i.can("create_canvas")||i.can("use_data_uri_over32kb"))),do_cors:!1,drag_and_drop:!1,filter_by_extension:s(function(){return"Chrome"===i.browser&&i.verComp(i.version,28,">=")||"IE"===i.browser&&i.verComp(i.version,10,">=")||"Safari"===i.browser&&i.verComp(i.version,7,">=")}()),resize_image:function(){return a.Image&&r.can("access_binary")&&i.can("create_canvas")},report_upload_progress:!1,return_response_headers:!1,return_response_type:function(t){return"json"===t&&window.JSON?!0:!!~e.inArray(t,["text","document",""])},return_status_code:function(t){return!e.arrayDiff(t,[200,404])},select_file:function(){return i.can("use_fileinput")},select_multiple:!1,send_binary_string:!1,send_custom_headers:!1,send_multipart:!0,slice_blob:!1,stream_upload:function(){return r.can("select_file")},summon_file_dialog:function(){return r.can("select_file")&&("Firefox"===i.browser&&i.verComp(i.version,4,">=")||"Opera"===i.browser&&i.verComp(i.version,12,">=")||"IE"===i.browser&&i.verComp(i.version,10,">=")||!!~e.inArray(i.browser,["Chrome","Safari"]))},upload_filesize:u,use_http_method:function(t){return!e.arrayDiff(t,["GET","POST"])}}),e.extend(this,{init:function(){this.trigger("Init")},destroy:function(e){return function(){e.call(r),e=r=null}}(this.destroy)}),e.extend(this.getShim(),a)}var o="html4",a={};return n.addConstructor(o,r),a}),i(ce,[ue,E,u,h,N,d,c],function(e,t,n,i,r,o,a){function s(){function e(){var o=this,l=o.getRuntime(),d,h,f,p,m,g;g=n.guid("uid_"),d=l.getShimContainer(),s&&(f=i.get(s+"_form"),f&&n.extend(f.style,{top:"100%"})),p=document.createElement("form"),p.setAttribute("id",g+"_form"),p.setAttribute("method","post"),p.setAttribute("enctype","multipart/form-data"),p.setAttribute("encoding","multipart/form-data"),n.extend(p.style,{overflow:"hidden",position:"absolute",top:0,left:0,width:"100%",height:"100%"}),m=document.createElement("input"),m.setAttribute("id",g),m.setAttribute("type","file"),m.setAttribute("name",c.name||"Filedata"),m.setAttribute("accept",u.join(",")),n.extend(m.style,{fontSize:"999px",opacity:0}),p.appendChild(m),d.appendChild(p),n.extend(m.style,{position:"absolute",top:0,left:0,width:"100%",height:"100%"}),"IE"===a.browser&&a.verComp(a.version,10,"<")&&n.extend(m.style,{filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=0)"}),m.onchange=function(){var n;if(this.value){if(this.files){if(n=this.files[0],0===n.size)return void p.parentNode.removeChild(p)}else n={name:this.value};n=new t(l.uid,n),this.onchange=function(){},e.call(o),o.files=[n],m.setAttribute("id",n.uid),p.setAttribute("id",n.uid+"_form"),o.trigger("change"),m=p=null}},l.can("summon_file_dialog")&&(h=i.get(c.browse_button),r.removeEvent(h,"click",o.uid),r.addEvent(h,"click",function(e){m&&!m.disabled&&m.click(),e.preventDefault()},o.uid)),s=g,d=f=h=null}var s,u=[],c;n.extend(this,{init:function(t){var n=this,a=n.getRuntime(),s;c=t,u=t.accept.mimes||o.extList2mimes(t.accept,a.can("filter_by_extension")),s=a.getShimContainer(),function(){var e,o,u;e=i.get(t.browse_button),a.can("summon_file_dialog")&&("static"===i.getStyle(e,"position")&&(e.style.position="relative"),o=parseInt(i.getStyle(e,"z-index"),10)||1,e.style.zIndex=o,s.style.zIndex=o-1),u=a.can("summon_file_dialog")?e:s,r.addEvent(u,"mouseover",function(){n.trigger("mouseenter")},n.uid),r.addEvent(u,"mouseout",function(){n.trigger("mouseleave")},n.uid),r.addEvent(u,"mousedown",function(){n.trigger("mousedown")},n.uid),r.addEvent(i.get(t.container),"mouseup",function(){n.trigger("mouseup")},n.uid),e=null}(),e.call(this),s=null,n.trigger({type:"ready",async:!0})},disable:function(e){var t;(t=i.get(s))&&(t.disabled=!!e)},destroy:function(){var e=this.getRuntime(),t=e.getShim(),n=e.getShimContainer();r.removeAllEvents(n,this.uid),r.removeAllEvents(c&&i.get(c.container),this.uid),r.removeAllEvents(c&&i.get(c.browse_button),this.uid),n&&(n.innerHTML=""),t.removeInstance(this.uid),s=u=c=n=t=null}})}return e.FileInput=s}),i(le,[ue,F],function(e,t){return e.FileReader=t}),i(de,[ue,u,h,x,f,N,y,I],function(e,t,n,i,r,o,a,s){function u(){function e(e){var t=this,i,r,a,s,u=!1;if(l){if(i=l.id.replace(/_iframe$/,""),r=n.get(i+"_form")){for(a=r.getElementsByTagName("input"),s=a.length;s--;)switch(a[s].getAttribute("type")){case"hidden":a[s].parentNode.removeChild(a[s]);break;case"file":u=!0}a=[],u||r.parentNode.removeChild(r),r=null}setTimeout(function(){o.removeEvent(l,"load",t.uid),l.parentNode&&l.parentNode.removeChild(l);var n=t.getRuntime().getShimContainer();n.children.length||n.parentNode.removeChild(n),n=l=null,e()},1)}}var u,c,l;t.extend(this,{send:function(d,h){function f(){var n=m.getShimContainer()||document.body,r=document.createElement("div");r.innerHTML='',l=r.firstChild,n.appendChild(l),o.addEvent(l,"load",function(){var n;try{n=l.contentWindow.document||l.contentDocument||window.frames[l.id].document,/^4(0[0-9]|1[0-7]|2[2346])\s/.test(n.title)?u=n.title.replace(/^(\d+).*$/,"$1"):(u=200,c=t.trim(n.body.innerHTML),p.trigger({type:"progress",loaded:c.length,total:c.length}),y&&p.trigger({type:"uploadprogress",loaded:y.size||1025,total:y.size||1025}))}catch(r){if(!i.hasSameOrigin(d.url))return void e.call(p,function(){p.trigger("error")});u=404}e.call(p,function(){p.trigger("load")})},p.uid)}var p=this,m=p.getRuntime(),g,v,w,y;if(u=c=null,h instanceof s&&h.hasBlob()){if(y=h.getBlob(),g=y.uid,w=n.get(g),v=n.get(g+"_form"),!v)throw new r.DOMException(r.DOMException.NOT_FOUND_ERR)}else g=t.guid("uid_"),v=document.createElement("form"),v.setAttribute("id",g+"_form"),v.setAttribute("method",d.method),v.setAttribute("enctype","multipart/form-data"),v.setAttribute("encoding","multipart/form-data"),m.getShimContainer().appendChild(v);v.setAttribute("target",g+"_iframe"),h instanceof s&&h.each(function(e,n){if(e instanceof a)w&&w.setAttribute("name",n);else{var i=document.createElement("input");t.extend(i,{type:"hidden",name:n,value:e}),w?v.insertBefore(i,w):v.appendChild(i)}}),v.setAttribute("action",d.url),f(),v.submit(),p.trigger("loadstart")},getStatus:function(){return u},getResponse:function(e){if("json"===e&&"string"===t.typeOf(c)&&window.JSON)try{ +return JSON.parse(c.replace(/^\s*]*>/,"").replace(/<\/pre>\s*$/,""))}catch(n){return null}return c},abort:function(){var t=this;l&&l.contentWindow&&(l.contentWindow.stop?l.contentWindow.stop():l.contentWindow.document.execCommand?l.contentWindow.document.execCommand("Stop"):l.src="about:blank"),e.call(this,function(){t.dispatchEvent("abort")})}})}return e.XMLHttpRequest=u}),i(he,[ue,j],function(e,t){return e.Image=t}),a([u,c,l,d,h,f,p,m,g,v,w,y,E,_,b,x,R,A,I,T,S,O,N])}(this);;(function(e){"use strict";var t={},n=e.moxie.core.utils.Basic.inArray;return function r(e){var i,s;for(i in e)s=typeof e[i],s==="object"&&!~n(i,["Exceptions","Env","Mime"])?r(e[i]):s==="function"&&(t[i]=e[i])}(e.moxie),t.Env=e.moxie.core.utils.Env,t.Mime=e.moxie.core.utils.Mime,t.Exceptions=e.moxie.core.Exceptions,e.mOxie=t,e.o||(e.o=t),t})(this); /** * Plupload - multi-runtime File Uploader - * v2.1.1 + * v2.1.8 * * Copyright 2013, Moxiecode Systems AB * Released under GPL License. @@ -23,6 +24,6 @@ * License: http://www.plupload.com/license * Contributing: http://www.plupload.com/contributing * - * Date: 2014-01-16 + * Date: 2015-07-21 */ -;(function(e,t,n){function s(e){function r(e,t,r){var i={chunks:"slice_blob",jpgresize:"send_binary_string",pngresize:"send_binary_string",progress:"report_upload_progress",multi_selection:"select_multiple",dragdrop:"drag_and_drop",drop_element:"drag_and_drop",headers:"send_custom_headers",canSendBinary:"send_binary",triggerDialog:"summon_file_dialog"};i[e]?n[i[e]]=t:r||(n[e]=t)}var t=e.required_features,n={};return typeof t=="string"?o.each(t.split(/\s*,\s*/),function(e){r(e,!0)}):typeof t=="object"?o.each(t,function(e,t){r(t,e)}):t===!0&&(e.multipart||(n.send_binary_string=!0),e.chunk_size>0&&(n.slice_blob=!0),e.resize.enabled&&(n.send_binary_string=!0),o.each(e,function(e,t){r(t,!!e,!0)})),n}var r=e.setTimeout,i={},o={VERSION:"2.1.1",STOPPED:1,STARTED:2,QUEUED:1,UPLOADING:2,FAILED:4,DONE:5,GENERIC_ERROR:-100,HTTP_ERROR:-200,IO_ERROR:-300,SECURITY_ERROR:-400,INIT_ERROR:-500,FILE_SIZE_ERROR:-600,FILE_EXTENSION_ERROR:-601,FILE_DUPLICATE_ERROR:-602,IMAGE_FORMAT_ERROR:-700,IMAGE_MEMORY_ERROR:-701,IMAGE_DIMENSIONS_ERROR:-702,mimeTypes:t.mimes,ua:t.ua,typeOf:t.typeOf,extend:t.extend,guid:t.guid,get:function(n){var r=[],i;t.typeOf(n)!=="array"&&(n=[n]);var s=n.length;while(s--)i=t.get(n[s]),i&&r.push(i);return r.length?r:null},each:t.each,getPos:t.getPos,getSize:t.getSize,xmlEncode:function(e){var t={"<":"lt",">":"gt","&":"amp",'"':"quot","'":"#39"},n=/[<>&\"\']/g;return e?(""+e).replace(n,function(e){return t[e]?"&"+t[e]+";":e}):e},toArray:t.toArray,inArray:t.inArray,addI18n:t.addI18n,translate:t.translate,isEmptyObj:t.isEmptyObj,hasClass:t.hasClass,addClass:t.addClass,removeClass:t.removeClass,getStyle:t.getStyle,addEvent:t.addEvent,removeEvent:t.removeEvent,removeAllEvents:t.removeAllEvents,cleanName:function(e){var t,n;n=[/[\300-\306]/g,"A",/[\340-\346]/g,"a",/\307/g,"C",/\347/g,"c",/[\310-\313]/g,"E",/[\350-\353]/g,"e",/[\314-\317]/g,"I",/[\354-\357]/g,"i",/\321/g,"N",/\361/g,"n",/[\322-\330]/g,"O",/[\362-\370]/g,"o",/[\331-\334]/g,"U",/[\371-\374]/g,"u"];for(t=0;t0?"&":"?")+n),e},formatSize:function(e){function t(e,t){return Math.round(e*Math.pow(10,t))/Math.pow(10,t)}if(e===n||/\D/.test(e))return o.translate("N/A");var r=Math.pow(1024,4);return e>r?t(e/r,1)+" "+o.translate("tb"):e>(r/=1024)?t(e/r,1)+" "+o.translate("gb"):e>(r/=1024)?t(e/r,1)+" "+o.translate("mb"):e>1024?Math.round(e/1024)+" "+o.translate("kb"):e+" "+o.translate("b")},parseSize:t.parseSizeStr,predictRuntime:function(e,n){var r,i;return r=new o.Uploader(e),i=t.Runtime.thatCan(r.getOption().required_features,n||e.runtimes),r.destroy(),i},addFileFilter:function(e,t){i[e]=t}};o.addFileFilter("mime_types",function(e,t,n){e.length&&!e.regexp.test(t.name)?(this.trigger("Error",{code:o.FILE_EXTENSION_ERROR,message:o.translate("File extension error."),file:t}),n(!1)):n(!0)}),o.addFileFilter("max_file_size",function(e,t,n){var r;e=o.parseSize(e),t.size!==r&&e&&t.size>e?(this.trigger("Error",{code:o.FILE_SIZE_ERROR,message:o.translate("File size error."),file:t}),n(!1)):n(!0)}),o.addFileFilter("prevent_duplicates",function(e,t,n){if(e){var r=this.files.length;while(r--)if(t.name===this.files[r].name&&t.size===this.files[r].size){this.trigger("Error",{code:o.FILE_DUPLICATE_ERROR,message:o.translate("Duplicate file error."),file:t}),n(!1);return}}n(!0)}),o.Uploader=function(e){function g(){var e,t=0,n;if(this.state==o.STARTED){for(n=0;n0?Math.ceil(e.loaded/e.size*100):100,b()}function b(){var e,t;d.reset();for(e=0;e0?Math.ceil(d.uploaded/f.length*100):0:(d.bytesPerSec=Math.ceil(d.loaded/((+(new Date)-p||1)/1e3)),d.percent=d.size>0?Math.ceil(d.loaded/d.size*100):0)}function w(){var e=c[0]||h[0];return e?e.getRuntime().uid:!1}function E(e,n){if(e.ruid){var r=t.Runtime.getInfo(e.ruid);if(r)return r.can(n)}return!1}function S(){this.bind("FilesAdded",C),this.bind("CancelUpload",M),this.bind("BeforeUpload",k),this.bind("UploadFile",L),this.bind("UploadProgress",A),this.bind("StateChanged",O),this.bind("QueueChanged",b),this.bind("Error",D),this.bind("FileUploaded",_),this.bind("Destroy",P)}function x(e,n){var r=this,i=0,s=[],u={accept:e.filters.mime_types,runtime_order:e.runtimes,required_caps:e.required_features,preferred_caps:l,swf_url:e.flash_swf_url,xap_url:e.silverlight_xap_url};o.each(e.runtimes.split(/\s*,\s*/),function(t){e[t]&&(u[t]=e[t])}),e.browse_button&&o.each(e.browse_button,function(n){s.push(function(s){var a=new t.FileInput(o.extend({},u,{name:e.file_data_name,multiple:e.multi_selection,container:e.container,browse_button:n}));a.onready=function(){var e=t.Runtime.getInfo(this.ruid);t.extend(r.features,{chunks:e.can("slice_blob"),multipart:e.can("send_multipart"),multi_selection:e.can("select_multiple")}),i++,c.push(this),s()},a.onchange=function(){r.addFile(this.files)},a.bind("mouseenter mouseleave mousedown mouseup",function(r){v||(e.browse_button_hover&&("mouseenter"===r.type?t.addClass(n,e.browse_button_hover):"mouseleave"===r.type&&t.removeClass(n,e.browse_button_hover)),e.browse_button_active&&("mousedown"===r.type?t.addClass(n,e.browse_button_active):"mouseup"===r.type&&t.removeClass(n,e.browse_button_active)))}),a.bind("error runtimeerror",function(){a=null,s()}),a.init()})}),e.drop_element&&o.each(e.drop_element,function(e){s.push(function(n){var s=new t.FileDrop(o.extend({},u,{drop_zone:e}));s.onready=function(){var e=t.Runtime.getInfo(this.ruid);r.features.dragdrop=e.can("drag_and_drop"),i++,h.push(this),n()},s.ondrop=function(){r.addFile(this.files)},s.bind("error runtimeerror",function(){s=null,n()}),s.init()})}),t.inSeries(s,function(){typeof n=="function"&&n(i)})}function T(e,n,r){var i=new t.Image;try{i.onload=function(){i.downsize(n.width,n.height,n.crop,n.preserve_headers)},i.onresize=function(){r(this.getAsBlob(e.type,n.quality)),this.destroy()},i.onerror=function(){r(e)},i.load(e)}catch(s){r(e)}}function N(e,n,r){function f(e,t,n){var r=a[e];switch(e){case"max_file_size":e==="max_file_size"&&(a.max_file_size=a.filters.max_file_size=t);break;case"chunk_size":if(t=o.parseSize(t))a[e]=t;break;case"filters":o.typeOf(t)==="array"&&(t={mime_types:t}),n?o.extend(a.filters,t):a.filters=t,t.mime_types&&(a.filters.mime_types.regexp=function(e){var t=[];return o.each(e,function(e){o.each(e.extensions.split(/,/),function(e){/^\s*\*\s*$/.test(e)?t.push("\\.*"):t.push("\\."+e.replace(new RegExp("["+"/^$.*+?|()[]{}\\".replace(/./g,"\\$&")+"]","g"),"\\$&"))})}),new RegExp("("+t.join("|")+")$","i")}(a.filters.mime_types));break;case"resize":n?o.extend(a.resize,t,{enabled:!0}):a.resize=t;break;case"prevent_duplicates":a.prevent_duplicates=a.filters.prevent_duplicates=!!t;break;case"browse_button":case"drop_element":t=o.get(t);case"container":case"runtimes":case"multi_selection":case"flash_swf_url":case"silverlight_xap_url":a[e]=t,n||(u=!0);break;default:a[e]=t}n||i.trigger("OptionChanged",e,t,r)}var i=this,u=!1;typeof e=="object"?o.each(e,function(e,t){f(t,e,r)}):f(e,n,r),r?(a.required_features=s(o.extend({},a)),l=s(o.extend({},a,{required_features:!0}))):u&&(i.trigger("Destroy"),x.call(i,a,function(e){e?(i.runtime=t.Runtime.getInfo(w()).type,i.trigger("Init",{runtime:i.runtime}),i.trigger("PostInit")):i.trigger("Error",{code:o.INIT_ERROR,message:o.translate("Init error.")})}))}function C(e,t){[].push.apply(f,t),e.trigger("QueueChanged"),e.refresh()}function k(e,t){if(a.unique_names){var n=t.name.match(/\.([^.]+)$/),r="part";n&&(r=n[1]),t.target_name=t.id+"."+r}}function L(e,n){function h(){u-->0?r(p,1e3):(n.loaded=f,e.trigger("Error",{code:o.HTTP_ERROR,message:o.translate("HTTP Error."),file:n,response:m.responseText,status:m.status,responseHeaders:m.getAllResponseHeaders()}))}function p(){var d,v,g,y;if(n.status==o.DONE||n.status==o.FAILED||e.state==o.STOPPED)return;g={name:n.target_name||n.name},s&&a.chunks&&c.size>s?(y=Math.min(s,c.size-f),d=c.slice(f,f+y)):(y=c.size,d=c),s&&a.chunks&&(e.settings.send_chunk_number?(g.chunk=Math.ceil(f/s),g.chunks=Math.ceil(c.size/s)):(g.offset=f,g.total=c.size)),m=new t.XMLHttpRequest,m.upload&&(m.upload.onprogress=function(t){n.loaded=Math.min(n.size,f+t.loaded),e.trigger("UploadProgress",n)}),m.onload=function(){if(m.status>=400){h();return}u=e.settings.max_retries,y=c.size?(n.size!=n.origSize&&(c.destroy(),c=null),e.trigger("UploadProgress",n),n.status=o.DONE,e.trigger("FileUploaded",n,{response:m.responseText,status:m.status,responseHeaders:m.getAllResponseHeaders()})):r(p,1)},m.onerror=function(){h()},m.onloadend=function(){this.destroy(),m=null},e.settings.multipart&&a.multipart?(g.name=n.target_name||n.name,m.open("post",i,!0),o.each(e.settings.headers,function(e,t){m.setRequestHeader(t,e)}),v=new t.FormData,o.each(o.extend(g,e.settings.multipart_params),function(e,t){v.append(t,e)}),v.append(e.settings.file_data_name,d),m.send(v,{runtime_order:e.settings.runtimes,required_caps:e.settings.required_features,preferred_caps:l,swf_url:e.settings.flash_swf_url,xap_url:e.settings.silverlight_xap_url})):(i=o.buildUrl(e.settings.url,o.extend(g,e.settings.multipart_params)),m.open("post",i,!0),m.setRequestHeader("Content-Type","application/octet-stream"),o.each(e.settings.headers,function(e,t){m.setRequestHeader(t,e)}),m.send(d,{runtime_order:e.settings.runtimes,required_caps:e.settings.required_features,preferred_caps:l,swf_url:e.settings.flash_swf_url,xap_url:e.settings.silverlight_xap_url}))}var i=e.settings.url,s=e.settings.chunk_size,u=e.settings.max_retries,a=e.features,f=0,c;n.loaded&&(f=n.loaded=s*Math.floor(n.loaded/s)),c=n.getSource(),e.settings.resize.enabled&&E(c,"send_binary_string")&&!!~t.inArray(c.type,["image/jpeg","image/png"])?T.call(this,c,e.settings.resize,function(e){c=e,n.size=e.size,p()}):p()}function A(e,t){y(t)}function O(e){if(e.state==o.STARTED)p=+(new Date);else if(e.state==o.STOPPED)for(var t=e.files.length-1;t>=0;t--)e.files[t].status==o.UPLOADING&&(e.files[t].status=o.QUEUED,b())}function M(){m&&m.abort()}function _(e){b(),r(function(){g.call(e)},1)}function D(e,t){t.file&&(t.file.status=o.FAILED,y(t.file),e.state==o.STARTED&&(e.trigger("CancelUpload"),r(function(){g.call(e)},1)))}function P(e){e.stop(),o.each(f,function(e){e.destroy()}),f=[],c.length&&(o.each(c,function(e){e.destroy()}),c=[]),h.length&&(o.each(h,function(e){e.destroy()}),h=[]),l={},v=!1,p=m=null,d.reset()}var u=o.guid(),a,f=[],l={},c=[],h=[],p,d,v=!1,m;a={runtimes:t.Runtime.order,max_retries:0,chunk_size:0,multipart:!0,multi_selection:!0,file_data_name:"file",flash_swf_url:"js/Moxie.swf",silverlight_xap_url:"js/Moxie.xap",filters:{mime_types:[],prevent_duplicates:!1,max_file_size:0},resize:{enabled:!1,preserve_headers:!0,crop:!1},send_chunk_number:!0},N.call(this,e,null,!0),d=new o.QueueProgress,o.extend(this,{id:u,uid:u,state:o.STOPPED,features:{},runtime:null,files:f,settings:a,total:d,init:function(){var e=this;typeof a.preinit=="function"?a.preinit(e):o.each(a.preinit,function(t,n){e.bind(n,t)});if(!a.browse_button||!a.url){this.trigger("Error",{code:o.INIT_ERROR,message:o.translate("Init error.")});return}S.call(this),x.call(this,a,function(n){typeof a.init=="function"?a.init(e):o.each(a.init,function(t,n){e.bind(n,t)}),n?(e.runtime=t.Runtime.getInfo(w()).type,e.trigger("Init",{runtime:e.runtime}),e.trigger("PostInit")):e.trigger("Error",{code:o.INIT_ERROR,message:o.translate("Init error.")})})},setOption:function(e,t){N.call(this,e,t,!this.runtime)},getOption:function(e){return e?a[e]:a},refresh:function(){c.length&&o.each(c,function(e){e.trigger("Refresh")}),this.trigger("Refresh")},start:function(){this.state!=o.STARTED&&(this.state=o.STARTED,this.trigger("StateChanged"),g.call(this))},stop:function(){this.state!=o.STOPPED&&(this.state=o.STOPPED,this.trigger("StateChanged"),this.trigger("CancelUpload"))},disableBrowse:function(){v=arguments[0]!==n?arguments[0]:!0,c.length&&o.each(c,function(e){e.disable(v)}),this.trigger("DisableBrowse",v)},getFile:function(e){var t;for(t=f.length-1;t>=0;t--)if(f[t].id===e)return f[t]},addFile:function(e,n){function l(e,n){var r=[];t.each(s.settings.filters,function(t,n){i[n]&&r.push(function(r){i[n].call(s,t,e,function(e){r(!e)})})}),t.inSeries(r,n)}function c(e){var i=t.typeOf(e);if(e instanceof t.File){if(!e.ruid&&!e.isDetached()){if(!f)return!1;e.ruid=f,e.connectRuntime(f)}c(new o.File(e))}else e instanceof t.Blob?(c(e.getSource()),e.destroy()):e instanceof o.File?(n&&(e.name=n),u.push(function(t){l(e,function(n){n||(a.push(e),s.trigger("FileFiltered",e)),r(t,1)})})):t.inArray(i,["file","blob"])!==-1?c(new t.File(null,e)):i==="node"&&t.typeOf(e.files)==="filelist"?t.each(e.files,c):i==="array"&&(n=null,t.each(e,c))}var s=this,u=[],a=[],f;f=w(),c(e),u.length&&t.inSeries(u,function(){a.length&&s.trigger("FilesAdded",a)})},removeFile:function(e){var t=typeof e=="string"?e:e.id;for(var n=f.length-1;n>=0;n--)if(f[n].id===t)return this.splice(n,1)[0]},splice:function(e,t){var r=f.splice(e===n?0:e,t===n?f.length:t),i=!1;return this.state==o.STARTED&&(i=!0,this.stop()),this.trigger("FilesRemoved",r),o.each(r,function(e){e.destroy()}),this.trigger("QueueChanged"),this.refresh(),i&&this.start(),r},bind:function(e,t,n){var r=this;o.Uploader.prototype.bind.call(this,e,function(){var e=[].slice.call(arguments);return e.splice(0,1,r),t.apply(this,e)},0,n)},destroy:function(){this.trigger("Destroy"),a=d=null,this.unbindAll()}})},o.Uploader.prototype=t.EventTarget.instance,o.File=function(){function n(n){o.extend(this,{id:o.guid(),name:n.name||n.fileName,type:n.type||"",size:n.size||n.fileSize,origSize:n.size||n.fileSize,loaded:0,percent:0,status:o.QUEUED,lastModifiedDate:n.lastModifiedDate||(new Date).toLocaleString(),getNative:function(){var e=this.getSource().getSource();return t.inArray(t.typeOf(e),["blob","file"])!==-1?e:null},getSource:function(){return e[this.id]?e[this.id]:null},destroy:function(){var t=this.getSource();t&&(t.destroy(),delete e[this.id])}}),e[this.id]=n}var e={};return n}(),o.QueueProgress=function(){var e=this;e.size=0,e.loaded=0,e.uploaded=0,e.failed=0,e.queued=0,e.percent=0,e.bytesPerSec=0,e.reset=function(){e.size=e.loaded=e.uploaded=e.failed=e.queued=e.percent=e.bytesPerSec=0}},e.plupload=o})(window,mOxie); \ No newline at end of file +;(function(e,t,n){function s(e){function r(e,t,r){var i={chunks:"slice_blob",jpgresize:"send_binary_string",pngresize:"send_binary_string",progress:"report_upload_progress",multi_selection:"select_multiple",dragdrop:"drag_and_drop",drop_element:"drag_and_drop",headers:"send_custom_headers",urlstream_upload:"send_binary_string",canSendBinary:"send_binary",triggerDialog:"summon_file_dialog"};i[e]?n[i[e]]=t:r||(n[e]=t)}var t=e.required_features,n={};if(typeof t=="string")o.each(t.split(/\s*,\s*/),function(e){r(e,!0)});else if(typeof t=="object")o.each(t,function(e,t){r(t,e)});else if(t===!0){e.chunk_size>0&&(n.slice_blob=!0);if(e.resize.enabled||!e.multipart)n.send_binary_string=!0;o.each(e,function(e,t){r(t,!!e,!0)})}return n}var r=e.setTimeout,i={},o={VERSION:"2.1.8",STOPPED:1,STARTED:2,QUEUED:1,UPLOADING:2,FAILED:4,DONE:5,GENERIC_ERROR:-100,HTTP_ERROR:-200,IO_ERROR:-300,SECURITY_ERROR:-400,INIT_ERROR:-500,FILE_SIZE_ERROR:-600,FILE_EXTENSION_ERROR:-601,FILE_DUPLICATE_ERROR:-602,IMAGE_FORMAT_ERROR:-700,MEMORY_ERROR:-701,IMAGE_DIMENSIONS_ERROR:-702,mimeTypes:t.mimes,ua:t.ua,typeOf:t.typeOf,extend:t.extend,guid:t.guid,get:function(n){var r=[],i;t.typeOf(n)!=="array"&&(n=[n]);var s=n.length;while(s--)i=t.get(n[s]),i&&r.push(i);return r.length?r:null},each:t.each,getPos:t.getPos,getSize:t.getSize,xmlEncode:function(e){var t={"<":"lt",">":"gt","&":"amp",'"':"quot","'":"#39"},n=/[<>&\"\']/g;return e?(""+e).replace(n,function(e){return t[e]?"&"+t[e]+";":e}):e},toArray:t.toArray,inArray:t.inArray,addI18n:t.addI18n,translate:t.translate,isEmptyObj:t.isEmptyObj,hasClass:t.hasClass,addClass:t.addClass,removeClass:t.removeClass,getStyle:t.getStyle,addEvent:t.addEvent,removeEvent:t.removeEvent,removeAllEvents:t.removeAllEvents,cleanName:function(e){var t,n;n=[/[\300-\306]/g,"A",/[\340-\346]/g,"a",/\307/g,"C",/\347/g,"c",/[\310-\313]/g,"E",/[\350-\353]/g,"e",/[\314-\317]/g,"I",/[\354-\357]/g,"i",/\321/g,"N",/\361/g,"n",/[\322-\330]/g,"O",/[\362-\370]/g,"o",/[\331-\334]/g,"U",/[\371-\374]/g,"u"];for(t=0;t0?"&":"?")+n),e},formatSize:function(e){function t(e,t){return Math.round(e*Math.pow(10,t))/Math.pow(10,t)}if(e===n||/\D/.test(e))return o.translate("N/A");var r=Math.pow(1024,4);return e>r?t(e/r,1)+" "+o.translate("tb"):e>(r/=1024)?t(e/r,1)+" "+o.translate("gb"):e>(r/=1024)?t(e/r,1)+" "+o.translate("mb"):e>1024?Math.round(e/1024)+" "+o.translate("kb"):e+" "+o.translate("b")},parseSize:t.parseSizeStr,predictRuntime:function(e,n){var r,i;return r=new o.Uploader(e),i=t.Runtime.thatCan(r.getOption().required_features,n||e.runtimes),r.destroy(),i},addFileFilter:function(e,t){i[e]=t}};o.addFileFilter("mime_types",function(e,t,n){e.length&&!e.regexp.test(t.name)?(this.trigger("Error",{code:o.FILE_EXTENSION_ERROR,message:o.translate("File extension error."),file:t}),n(!1)):n(!0)}),o.addFileFilter("max_file_size",function(e,t,n){var r;e=o.parseSize(e),t.size!==r&&e&&t.size>e?(this.trigger("Error",{code:o.FILE_SIZE_ERROR,message:o.translate("File size error."),file:t}),n(!1)):n(!0)}),o.addFileFilter("prevent_duplicates",function(e,t,n){if(e){var r=this.files.length;while(r--)if(t.name===this.files[r].name&&t.size===this.files[r].size){this.trigger("Error",{code:o.FILE_DUPLICATE_ERROR,message:o.translate("Duplicate file error."),file:t}),n(!1);return}}n(!0)}),o.Uploader=function(e){function g(){var e,t=0,n;if(this.state==o.STARTED){for(n=0;n0?Math.ceil(e.loaded/e.size*100):100,b()}function b(){var e,t;d.reset();for(e=0;e0?Math.ceil(d.uploaded/f.length*100):0:(d.bytesPerSec=Math.ceil(d.loaded/((+(new Date)-p||1)/1e3)),d.percent=d.size>0?Math.ceil(d.loaded/d.size*100):0)}function w(){var e=c[0]||h[0];return e?e.getRuntime().uid:!1}function E(e,n){if(e.ruid){var r=t.Runtime.getInfo(e.ruid);if(r)return r.can(n)}return!1}function S(){this.bind("FilesAdded FilesRemoved",function(e){e.trigger("QueueChanged"),e.refresh()}),this.bind("CancelUpload",O),this.bind("BeforeUpload",C),this.bind("UploadFile",k),this.bind("UploadProgress",L),this.bind("StateChanged",A),this.bind("QueueChanged",b),this.bind("Error",_),this.bind("FileUploaded",M),this.bind("Destroy",D)}function x(e,n){var r=this,i=0,s=[],u={runtime_order:e.runtimes,required_caps:e.required_features,preferred_caps:l,swf_url:e.flash_swf_url,xap_url:e.silverlight_xap_url};o.each(e.runtimes.split(/\s*,\s*/),function(t){e[t]&&(u[t]=e[t])}),e.browse_button&&o.each(e.browse_button,function(n){s.push(function(s){var a=new t.FileInput(o.extend({},u,{accept:e.filters.mime_types,name:e.file_data_name,multiple:e.multi_selection,container:e.container,browse_button:n}));a.onready=function(){var e=t.Runtime.getInfo(this.ruid);t.extend(r.features,{chunks:e.can("slice_blob"),multipart:e.can("send_multipart"),multi_selection:e.can("select_multiple")}),i++,c.push(this),s()},a.onchange=function(){r.addFile(this.files)},a.bind("mouseenter mouseleave mousedown mouseup",function(r){v||(e.browse_button_hover&&("mouseenter"===r.type?t.addClass(n,e.browse_button_hover):"mouseleave"===r.type&&t.removeClass(n,e.browse_button_hover)),e.browse_button_active&&("mousedown"===r.type?t.addClass(n,e.browse_button_active):"mouseup"===r.type&&t.removeClass(n,e.browse_button_active)))}),a.bind("mousedown",function(){r.trigger("Browse")}),a.bind("error runtimeerror",function(){a=null,s()}),a.init()})}),e.drop_element&&o.each(e.drop_element,function(e){s.push(function(n){var s=new t.FileDrop(o.extend({},u,{drop_zone:e}));s.onready=function(){var e=t.Runtime.getInfo(this.ruid);r.features.dragdrop=e.can("drag_and_drop"),i++,h.push(this),n()},s.ondrop=function(){r.addFile(this.files)},s.bind("error runtimeerror",function(){s=null,n()}),s.init()})}),t.inSeries(s,function(){typeof n=="function"&&n(i)})}function T(e,r,i){var s=new t.Image;try{s.onload=function(){if(r.width>this.width&&r.height>this.height&&r.quality===n&&r.preserve_headers&&!r.crop)return this.destroy(),i(e);s.downsize(r.width,r.height,r.crop,r.preserve_headers)},s.onresize=function(){i(this.getAsBlob(e.type,r.quality)),this.destroy()},s.onerror=function(){i(e)},s.load(e)}catch(o){i(e)}}function N(e,n,r){function f(e,t,n){var r=a[e];switch(e){case"max_file_size":e==="max_file_size"&&(a.max_file_size=a.filters.max_file_size=t);break;case"chunk_size":if(t=o.parseSize(t))a[e]=t,a.send_file_name=!0;break;case"multipart":a[e]=t,t||(a.send_file_name=!0);break;case"unique_names":a[e]=t,t&&(a.send_file_name=!0);break;case"filters":o.typeOf(t)==="array"&&(t={mime_types:t}),n?o.extend(a.filters,t):a.filters=t,t.mime_types&&(a.filters.mime_types.regexp=function(e){var t=[];return o.each(e,function(e){o.each(e.extensions.split(/,/),function(e){/^\s*\*\s*$/.test(e)?t.push("\\.*"):t.push("\\."+e.replace(new RegExp("["+"/^$.*+?|()[]{}\\".replace(/./g,"\\$&")+"]","g"),"\\$&"))})}),new RegExp("("+t.join("|")+")$","i")}(a.filters.mime_types));break;case"resize":n?o.extend(a.resize,t,{enabled:!0}):a.resize=t;break;case"prevent_duplicates":a.prevent_duplicates=a.filters.prevent_duplicates=!!t;break;case"browse_button":case"drop_element":t=o.get(t);case"container":case"runtimes":case"multi_selection":case"flash_swf_url":case"silverlight_xap_url":a[e]=t,n||(u=!0);break;default:a[e]=t}n||i.trigger("OptionChanged",e,t,r)}var i=this,u=!1;typeof e=="object"?o.each(e,function(e,t){f(t,e,r)}):f(e,n,r),r?(a.required_features=s(o.extend({},a)),l=s(o.extend({},a,{required_features:!0}))):u&&(i.trigger("Destroy"),x.call(i,a,function(e){e?(i.runtime=t.Runtime.getInfo(w()).type,i.trigger("Init",{runtime:i.runtime}),i.trigger("PostInit")):i.trigger("Error",{code:o.INIT_ERROR,message:o.translate("Init error.")})}))}function C(e,t){if(e.settings.unique_names){var n=t.name.match(/\.([^.]+)$/),r="part";n&&(r=n[1]),t.target_name=t.id+"."+r}}function k(e,n){function h(){u-->0?r(p,1e3):(n.loaded=f,e.trigger("Error",{code:o.HTTP_ERROR,message:o.translate("HTTP Error."),file:n,response:m.responseText,status:m.status,responseHeaders:m.getAllResponseHeaders()}))}function p(){var d,v,g={},y;if(n.status!==o.UPLOADING||e.state===o.STOPPED)return;e.settings.send_file_name&&(g.name=n.target_name||n.name),s&&a.chunks&&c.size>s?(y=Math.min(s,c.size-f),d=c.slice(f,f+y)):(y=c.size,d=c),s&&a.chunks&&(e.settings.send_chunk_number?(g.chunk=Math.ceil(f/s),g.chunks=Math.ceil(c.size/s)):(g.offset=f,g.total=c.size)),m=new t.XMLHttpRequest,m.upload&&(m.upload.onprogress=function(t){n.loaded=Math.min(n.size,f+t.loaded),e.trigger("UploadProgress",n)}),m.onload=function(){if(m.status>=400){h();return}u=e.settings.max_retries,y=c.size?(n.size!=n.origSize&&(c.destroy(),c=null),e.trigger("UploadProgress",n),n.status=o.DONE,e.trigger("FileUploaded",n,{response:m.responseText,status:m.status,responseHeaders:m.getAllResponseHeaders()})):r(p,1)},m.onerror=function(){h()},m.onloadend=function(){this.destroy(),m=null},e.settings.multipart&&a.multipart?(m.open("post",i,!0),o.each(e.settings.headers,function(e,t){m.setRequestHeader(t,e)}),v=new t.FormData,o.each(o.extend(g,e.settings.multipart_params),function(e,t){v.append(t,e)}),v.append(e.settings.file_data_name,d),m.send(v,{runtime_order:e.settings.runtimes,required_caps:e.settings.required_features,preferred_caps:l,swf_url:e.settings.flash_swf_url,xap_url:e.settings.silverlight_xap_url})):(i=o.buildUrl(e.settings.url,o.extend(g,e.settings.multipart_params)),m.open("post",i,!0),m.setRequestHeader("Content-Type","application/octet-stream"),o.each(e.settings.headers,function(e,t){m.setRequestHeader(t,e)}),m.send(d,{runtime_order:e.settings.runtimes,required_caps:e.settings.required_features,preferred_caps:l,swf_url:e.settings.flash_swf_url,xap_url:e.settings.silverlight_xap_url}))}var i=e.settings.url,s=e.settings.chunk_size,u=e.settings.max_retries,a=e.features,f=0,c;n.loaded&&(f=n.loaded=s?s*Math.floor(n.loaded/s):0),c=n.getSource(),e.settings.resize.enabled&&E(c,"send_binary_string")&&!!~t.inArray(c.type,["image/jpeg","image/png"])?T.call(this,c,e.settings.resize,function(e){c=e,n.size=e.size,p()}):p()}function L(e,t){y(t)}function A(e){if(e.state==o.STARTED)p=+(new Date);else if(e.state==o.STOPPED)for(var t=e.files.length-1;t>=0;t--)e.files[t].status==o.UPLOADING&&(e.files[t].status=o.QUEUED,b())}function O(){m&&m.abort()}function M(e){b(),r(function(){g.call(e)},1)}function _(e,t){t.code===o.INIT_ERROR?e.destroy():t.code===o.HTTP_ERROR&&(t.file.status=o.FAILED,y(t.file),e.state==o.STARTED&&(e.trigger("CancelUpload"),r(function(){g.call(e)},1)))}function D(e){e.stop(),o.each(f,function(e){e.destroy()}),f=[],c.length&&(o.each(c,function(e){e.destroy()}),c=[]),h.length&&(o.each(h,function(e){e.destroy()}),h=[]),l={},v=!1,p=m=null,d.reset()}var u=o.guid(),a,f=[],l={},c=[],h=[],p,d,v=!1,m;a={runtimes:t.Runtime.order,max_retries:0,chunk_size:0,multipart:!0,multi_selection:!0,file_data_name:"file",flash_swf_url:"js/Moxie.swf",silverlight_xap_url:"js/Moxie.xap",filters:{mime_types:[],prevent_duplicates:!1,max_file_size:0},resize:{enabled:!1,preserve_headers:!0,crop:!1},send_file_name:!0,send_chunk_number:!0},N.call(this,e,null,!0),d=new o.QueueProgress,o.extend(this,{id:u,uid:u,state:o.STOPPED,features:{},runtime:null,files:f,settings:a,total:d,init:function(){var e=this;typeof a.preinit=="function"?a.preinit(e):o.each(a.preinit,function(t,n){e.bind(n,t)}),S.call(this);if(!a.browse_button||!a.url){this.trigger("Error",{code:o.INIT_ERROR,message:o.translate("Init error.")});return}x.call(this,a,function(n){typeof a.init=="function"?a.init(e):o.each(a.init,function(t,n){e.bind(n,t)}),n?(e.runtime=t.Runtime.getInfo(w()).type,e.trigger("Init",{runtime:e.runtime}),e.trigger("PostInit")):e.trigger("Error",{code:o.INIT_ERROR,message:o.translate("Init error.")})})},setOption:function(e,t){N.call(this,e,t,!this.runtime)},getOption:function(e){return e?a[e]:a},refresh:function(){c.length&&o.each(c,function(e){e.trigger("Refresh")}),this.trigger("Refresh")},start:function(){this.state!=o.STARTED&&(this.state=o.STARTED,this.trigger("StateChanged"),g.call(this))},stop:function(){this.state!=o.STOPPED&&(this.state=o.STOPPED,this.trigger("StateChanged"),this.trigger("CancelUpload"))},disableBrowse:function(){v=arguments[0]!==n?arguments[0]:!0,c.length&&o.each(c,function(e){e.disable(v)}),this.trigger("DisableBrowse",v)},getFile:function(e){var t;for(t=f.length-1;t>=0;t--)if(f[t].id===e)return f[t]},addFile:function(e,n){function c(e,n){var r=[];t.each(s.settings.filters,function(t,n){i[n]&&r.push(function(r){i[n].call(s,t,e,function(e){r(!e)})})}),t.inSeries(r,n)}function h(e){var i=t.typeOf(e);if(e instanceof t.File){if(!e.ruid&&!e.isDetached()){if(!l)return!1;e.ruid=l,e.connectRuntime(l)}h(new o.File(e))}else e instanceof t.Blob?(h(e.getSource()),e.destroy()):e instanceof o.File?(n&&(e.name=n),u.push(function(t){c(e,function(n){n||(f.push(e),a.push(e),s.trigger("FileFiltered",e)),r(t,1)})})):t.inArray(i,["file","blob"])!==-1?h(new t.File(null,e)):i==="node"&&t.typeOf(e.files)==="filelist"?t.each(e.files,h):i==="array"&&(n=null,t.each(e,h))}var s=this,u=[],a=[],l;l=w(),h(e),u.length&&t.inSeries(u,function(){a.length&&s.trigger("FilesAdded",a)})},removeFile:function(e){var t=typeof e=="string"?e:e.id;for(var n=f.length-1;n>=0;n--)if(f[n].id===t)return this.splice(n,1)[0]},splice:function(e,t){var r=f.splice(e===n?0:e,t===n?f.length:t),i=!1;return this.state==o.STARTED&&(o.each(r,function(e){if(e.status===o.UPLOADING)return i=!0,!1}),i&&this.stop()),this.trigger("FilesRemoved",r),o.each(r,function(e){e.destroy()}),i&&this.start(),r},dispatchEvent:function(e){var t,n,r;e=e.toLowerCase(),t=this.hasEventListener(e);if(t){t.sort(function(e,t){return t.priority-e.priority}),n=[].slice.call(arguments),n.shift(),n.unshift(this);for(var i=0;i":(b+=">",b+=_.isObject(c)?wp.html.string(c):c,b+"")}})}(); \ No newline at end of file +window.wp=window.wp||{},function(){wp.shortcode={next:function(a,b,c){var d,e,f=wp.shortcode.regexp(a);return f.lastIndex=c||0,(d=f.exec(b))?"["===d[1]&&"]"===d[7]?wp.shortcode.next(a,b,f.lastIndex):(e={index:d.index,content:d[0],shortcode:wp.shortcode.fromMatch(d)},d[1]&&(e.content=e.content.slice(1),e.index++),d[7]&&(e.content=e.content.slice(0,-1)),e):void 0},replace:function(a,b,c){return b.replace(wp.shortcode.regexp(a),function(a,b,d,e,f,g,h,i){if("["===b&&"]"===i)return a;var j=c(wp.shortcode.fromMatch(arguments));return j?b+j+i:a})},string:function(a){return new wp.shortcode(a).string()},regexp:_.memoize(function(a){return new RegExp("\\[(\\[?)("+a+")(?![\\w-])([^\\]\\/]*(?:\\/(?!\\])[^\\]\\/]*)*?)(?:(\\/)\\]|\\](?:([^\\[]*(?:\\[(?!\\/\\2\\])[^\\[]*)*)(\\[\\/\\2\\]))?)(\\]?)","g")}),attrs:_.memoize(function(a){var b,c,d={},e=[];for(b=/([\w-]+)\s*=\s*"([^"]*)"(?:\s|$)|([\w-]+)\s*=\s*'([^']*)'(?:\s|$)|([\w-]+)\s*=\s*([^\s'"]+)(?:\s|$)|"([^"]*)"(?:\s|$)|(\S+)(?:\s|$)/g,a=a.replace(/[\u00a0\u200b]/g," ");c=b.exec(a);)c[1]?d[c[1].toLowerCase()]=c[2]:c[3]?d[c[3].toLowerCase()]=c[4]:c[5]?d[c[5].toLowerCase()]=c[6]:c[7]?e.push(c[7]):c[8]&&e.push(c[8]);return{named:d,numeric:e}}),fromMatch:function(a){var b;return b=a[4]?"self-closing":a[6]?"closed":"single",new wp.shortcode({tag:a[2],attrs:a[3],type:b,content:a[5]})}},wp.shortcode=_.extend(function(a){_.extend(this,_.pick(a||{},"tag","attrs","type","content"));var b=this.attrs;this.attrs={named:{},numeric:[]},b&&(_.isString(b)?this.attrs=wp.shortcode.attrs(b):_.isEqual(_.keys(b),["named","numeric"])?this.attrs=b:_.each(a.attrs,function(a,b){this.set(b,a)},this))},wp.shortcode),_.extend(wp.shortcode.prototype,{get:function(a){return this.attrs[_.isNumber(a)?"numeric":"named"][a]},set:function(a,b){return this.attrs[_.isNumber(a)?"numeric":"named"][a]=b,this},string:function(){var a="["+this.tag;return _.each(this.attrs.numeric,function(b){a+=/\s/.test(b)?' "'+b+'"':" "+b}),_.each(this.attrs.named,function(b,c){a+=" "+c+'="'+b+'"'}),"single"===this.type?a+"]":"self-closing"===this.type?a+" /]":(a+="]",this.content&&(a+=this.content),a+"[/"+this.tag+"]")}})}(),function(){wp.html=_.extend(wp.html||{},{attrs:function(a){var b,c;return"/"===a[a.length-1]&&(a=a.slice(0,-1)),b=wp.shortcode.attrs(a),c=b.named,_.each(b.numeric,function(a){/\s/.test(a)||(c[a]="")}),c},string:function(a){var b="<"+a.tag,c=a.content||"";return _.each(a.attrs,function(a,c){b+=" "+c,""!==a&&(_.isBoolean(a)&&(a=a?"true":"false"),b+='="'+a+'"')}),a.single?b+" />":(b+=">",b+=_.isObject(c)?wp.html.string(c):c,b+"")}})}(); \ No newline at end of file diff --git a/wp-includes/js/thickbox/thickbox.css b/wp-includes/js/thickbox/thickbox.css index 0549c79..11673a5 100644 --- a/wp-includes/js/thickbox/thickbox.css +++ b/wp-includes/js/thickbox/thickbox.css @@ -12,7 +12,7 @@ #TB_window { position: fixed; - background: #fff; + background-color: #fff; z-index: 100050; /* Above DFW. */ visibility: hidden; text-align: left; @@ -55,7 +55,7 @@ float: left; font-weight: 600; line-height: 29px; - overflow: hidden; + overflow: hidden; padding: 0 29px 0 10px; text-overflow: ellipsis; white-space: nowrap; @@ -126,8 +126,8 @@ } .tb-close-icon:before { - content: '\f158'; - font: normal 20px/29px 'dashicons'; + content: "\f158"; + font: normal 20px/29px dashicons; speak: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; diff --git a/wp-includes/js/thickbox/thickbox.js b/wp-includes/js/thickbox/thickbox.js index 60a9eb7..5818384 100644 --- a/wp-includes/js/thickbox/thickbox.js +++ b/wp-includes/js/thickbox/thickbox.js @@ -18,9 +18,16 @@ jQuery(document).ready(function(){ imgLoader.src = tb_pathToImage; }); -//add thickbox to href & area elements that have a class of .thickbox +/* + * Add thickbox to href & area elements that have a class of .thickbox. + * Remove the loading indicator when content in an iframe has loaded. + */ function tb_init(domChunk){ - jQuery('body').on('click', domChunk, tb_click); + jQuery( 'body' ) + .on( 'click', domChunk, tb_click ) + .on( 'thickbox:iframe:loaded', function() { + jQuery( '#TB_window' ).removeClass( 'thickbox-loading' ); + }); } function tb_click(){ @@ -39,12 +46,12 @@ function tb_show(caption, url, imageGroup) {//function called when the user clic jQuery("body","html").css({height: "100%", width: "100%"}); jQuery("html").css("overflow","hidden"); if (document.getElementById("TB_HideSelect") === null) {//iframe to hide select elements in ie6 - jQuery("body").append("
                "); + jQuery("body").append("
                "); jQuery("#TB_overlay").click(tb_remove); } }else{//all others if(document.getElementById("TB_overlay") === null){ - jQuery("body").append("
                "); + jQuery("body").append("
                "); jQuery("#TB_overlay").click(tb_remove); jQuery( 'body' ).addClass( 'modal-open' ); } @@ -195,10 +202,10 @@ function tb_show(caption, url, imageGroup) {//function called when the user clic urlNoQuery = url.split('TB_'); jQuery("#TB_iframeContent").remove(); if(params['modal'] != "true"){//iframe no modal - jQuery("#TB_window").append(""); + jQuery("#TB_window").append(""); }else{//iframe modal jQuery("#TB_overlay").unbind(); - jQuery("#TB_window").append(""); + jQuery("#TB_window").append(""); } }else{// not an iframe, ajax if(jQuery("#TB_window").css("visibility") != "visible"){ @@ -260,7 +267,7 @@ function tb_show(caption, url, imageGroup) {//function called when the user clic //helper functions below function tb_showIframe(){ jQuery("#TB_load").remove(); - jQuery("#TB_window").css({'visibility':'visible'}); + jQuery("#TB_window").css({'visibility':'visible'}).trigger( 'thickbox:iframe:loaded' ); } function tb_remove() { diff --git a/wp-includes/js/tinymce/plugins/image/plugin.js b/wp-includes/js/tinymce/plugins/image/plugin.js index f7d5a2b..e31e737 100644 --- a/wp-includes/js/tinymce/plugins/image/plugin.js +++ b/wp-includes/js/tinymce/plugins/image/plugin.js @@ -218,6 +218,7 @@ tinymce.PluginManager.add('image', function(editor) { dom.setAttrib(imgElm, 'id', null); } else { dom.setAttribs(imgElm, data); + editor.editorUpload.uploadImagesAuto(); } waitLoad(imgElm); diff --git a/wp-includes/js/tinymce/plugins/image/plugin.min.js b/wp-includes/js/tinymce/plugins/image/plugin.min.js index b49a19a..2da62f0 100644 --- a/wp-includes/js/tinymce/plugins/image/plugin.min.js +++ b/wp-includes/js/tinymce/plugins/image/plugin.min.js @@ -1 +1 @@ -tinymce.PluginManager.add("image",function(a){function b(a,b){function c(a,c){d.parentNode&&d.parentNode.removeChild(d),b({width:a,height:c})}var d=document.createElement("img");d.onload=function(){c(Math.max(d.width,d.clientWidth),Math.max(d.height,d.clientHeight))},d.onerror=function(){c()};var e=d.style;e.visibility="hidden",e.position="fixed",e.bottom=e.left=0,e.width=e.height="auto",document.body.appendChild(d),d.src=a}function c(a,b,c){function d(a,c){return c=c||[],tinymce.each(a,function(a){var e={text:a.text||a.title};a.menu?e.menu=d(a.menu):(e.value=a.value,b(e)),c.push(e)}),c}return d(a,c||[])}function d(b){return function(){var c=a.settings.image_list;"string"==typeof c?tinymce.util.XHR.send({url:c,success:function(a){b(tinymce.util.JSON.parse(a))}}):"function"==typeof c?c(b):b(c)}}function e(d){function e(){var a,b,c,d;a=l.find("#width")[0],b=l.find("#height")[0],a&&b&&(c=a.value(),d=b.value(),l.find("#constrain")[0].checked()&&m&&n&&c&&d&&(m!=c?(d=Math.round(c/m*d),isNaN(d)||b.value(d)):(c=Math.round(d/n*c),isNaN(c)||a.value(c))),m=c,n=d)}function f(){function b(b){function c(){b.onload=b.onerror=null,a.selection&&(a.selection.select(b),a.nodeChanged())}b.onload=function(){q.width||q.height||!t||(r.setAttribs(b,{width:b.clientWidth,height:b.clientHeight}),a.fire("wpNewImageRefresh",{node:b})),c()},b.onerror=c}j(),e(),q=tinymce.extend(q,l.toJSON());var c=q.caption;q.alt||(q.alt=""),q.title||(q.title=""),""===q.width&&(q.width=null),""===q.height&&(q.height=null),q.style||(q.style=null),q={src:q.src,alt:q.alt,title:q.title,width:q.width,height:q.height,style:q.style,"class":q["class"]},a.undoManager.transact(function(){var d={node:s,data:q,caption:c};return a.fire("wpImageFormSubmit",{imgData:d}),d.cancel?void b(d.node):q.src?(""===q.title&&(q.title=null),s?r.setAttribs(s,q):(q.id="__mcenew",a.focus(),a.selection.setContent(r.createHTML("img",q)),s=r.get("__mcenew"),r.setAttrib(s,"id",null)),void b(s)):void(s&&(r.remove(s),a.focus(),a.nodeChanged()))})}function g(a){return a&&(a=a.replace(/px$/,"")),a}function h(c){var d,e,f,g=c.meta||{};o&&o.value(a.convertURL(this.value(),"src")),tinymce.each(g,function(a,b){l.find("#"+b).value(a)}),g.width||g.height||(d=a.convertURL(this.value(),"src"),e=a.settings.image_prepend_url,f=new RegExp("^(?:[a-z]+:)?//","i"),e&&!f.test(d)&&d.substring(0,e.length)!==e&&(d=e+d),this.value(d),b(a.documentBaseURI.toAbsolute(this.value()),function(a){a.width&&a.height&&t&&(m=a.width,n=a.height,l.find("#width").value(m),l.find("#height").value(n))}))}function i(a){if(a.margin){var b=a.margin.split(" ");switch(b.length){case 1:a["margin-top"]=a["margin-top"]||b[0],a["margin-right"]=a["margin-right"]||b[0],a["margin-bottom"]=a["margin-bottom"]||b[0],a["margin-left"]=a["margin-left"]||b[0];break;case 2:a["margin-top"]=a["margin-top"]||b[0],a["margin-right"]=a["margin-right"]||b[1],a["margin-bottom"]=a["margin-bottom"]||b[0],a["margin-left"]=a["margin-left"]||b[1];break;case 3:a["margin-top"]=a["margin-top"]||b[0],a["margin-right"]=a["margin-right"]||b[1],a["margin-bottom"]=a["margin-bottom"]||b[2],a["margin-left"]=a["margin-left"]||b[1];break;case 4:a["margin-top"]=a["margin-top"]||b[0],a["margin-right"]=a["margin-right"]||b[1],a["margin-bottom"]=a["margin-bottom"]||b[2],a["margin-left"]=a["margin-left"]||b[3]}delete a.margin}return a}function j(){function b(a){return a.length>0&&/^[0-9]+$/.test(a)&&(a+="px"),a}if(a.settings.image_advtab){var c=l.toJSON(),d=r.parseStyle(c.style);d=i(d),c.vspace&&(d["margin-top"]=d["margin-bottom"]=b(c.vspace)),c.hspace&&(d["margin-left"]=d["margin-right"]=b(c.hspace)),c.border&&(d["border-width"]=b(c.border)),l.find("#style").value(r.serializeStyle(r.parseStyle(r.serializeStyle(d))))}}function k(){if(a.settings.image_advtab){var b=l.toJSON(),c=r.parseStyle(b.style);l.find("#vspace").value(""),l.find("#hspace").value(""),c=i(c),(c["margin-top"]&&c["margin-bottom"]||c["margin-right"]&&c["margin-left"])&&(l.find("#vspace").value(c["margin-top"]===c["margin-bottom"]?g(c["margin-top"]):""),l.find("#hspace").value(c["margin-right"]===c["margin-left"]?g(c["margin-right"]):"")),c["border-width"]&&l.find("#border").value(g(c["border-width"])),l.find("#style").value(r.serializeStyle(r.parseStyle(r.serializeStyle(c))))}}var l,m,n,o,p,q={},r=a.dom,s=a.selection.getNode(),t=a.settings.image_dimensions!==!1;m=r.getAttrib(s,"width"),n=r.getAttrib(s,"height"),"IMG"!=s.nodeName||s.getAttribute("data-mce-object")||s.getAttribute("data-mce-placeholder")?s=null:(q={src:r.getAttrib(s,"src"),alt:r.getAttrib(s,"alt"),title:r.getAttrib(s,"title"),"class":r.getAttrib(s,"class"),width:m,height:n},a.fire("wpLoadImageData",{imgData:{data:q,node:s}})),d&&(o={type:"listbox",label:"Image list",values:c(d,function(b){b.value=a.convertURL(b.value||b.url,"src")},[{text:"None",value:""}]),value:q.src&&a.convertURL(q.src,"src"),onselect:function(a){var b=l.find("#alt");(!b.value()||a.lastControl&&b.value()==a.lastControl.text())&&b.value(a.control.text()),l.find("#src").value(a.control.value()).fire("change")},onPostRender:function(){o=this}}),a.settings.image_class_list&&(p={name:"class",type:"listbox",label:"Class",values:c(a.settings.image_class_list,function(b){b.value&&(b.textStyle=function(){return a.formatter.getCssText({inline:"img",classes:[b.value]})})})});var u=[{name:"src",type:"filepicker",filetype:"image",label:"Source",autofocus:!0,onchange:h},o];a.settings.image_description!==!1&&u.push({name:"alt",type:"textbox",label:"Image description"}),a.settings.image_title&&u.push({name:"title",type:"textbox",label:"Image Title"}),t&&u.push({type:"container",label:"Dimensions",layout:"flex",direction:"row",align:"center",spacing:5,items:[{name:"width",type:"textbox",maxLength:5,size:3,onchange:e,ariaLabel:"Width"},{type:"label",text:"x"},{name:"height",type:"textbox",maxLength:5,size:3,onchange:e,ariaLabel:"Height"},{name:"constrain",type:"checkbox",checked:!0,text:"Constrain proportions"}]}),u.push(p),a.fire("wpLoadImageForm",{data:u}),a.settings.image_advtab?(s&&(s.style.marginLeft&&s.style.marginRight&&s.style.marginLeft===s.style.marginRight&&(q.hspace=g(s.style.marginLeft)),s.style.marginTop&&s.style.marginBottom&&s.style.marginTop===s.style.marginBottom&&(q.vspace=g(s.style.marginTop)),s.style.borderWidth&&(q.border=g(s.style.borderWidth)),q.style=a.dom.serializeStyle(a.dom.parseStyle(a.dom.getAttrib(s,"style")))),l=a.windowManager.open({title:"Insert/edit image",data:q,bodyType:"tabpanel",body:[{title:"General",type:"form",items:u},{title:"Advanced",type:"form",pack:"start",items:[{label:"Style",name:"style",type:"textbox",onchange:k},{type:"form",layout:"grid",packV:"start",columns:2,padding:0,alignH:["left","right"],defaults:{type:"textbox",maxWidth:50,onchange:j},items:[{label:"Vertical space",name:"vspace"},{label:"Horizontal space",name:"hspace"},{label:"Border",name:"border"}]}]}],onSubmit:f})):l=a.windowManager.open({title:"Insert/edit image",data:q,body:u,onSubmit:f})}a.addButton("image",{icon:"image",tooltip:"Insert/edit image",onclick:d(e),stateSelector:"img:not([data-mce-object],[data-mce-placeholder])"}),a.addMenuItem("image",{icon:"image",text:"Insert/edit image",onclick:d(e),context:"insert",prependToContext:!0}),a.addCommand("mceImage",d(e))}); \ No newline at end of file +tinymce.PluginManager.add("image",function(a){function b(a,b){function c(a,c){d.parentNode&&d.parentNode.removeChild(d),b({width:a,height:c})}var d=document.createElement("img");d.onload=function(){c(Math.max(d.width,d.clientWidth),Math.max(d.height,d.clientHeight))},d.onerror=function(){c()};var e=d.style;e.visibility="hidden",e.position="fixed",e.bottom=e.left=0,e.width=e.height="auto",document.body.appendChild(d),d.src=a}function c(a,b,c){function d(a,c){return c=c||[],tinymce.each(a,function(a){var e={text:a.text||a.title};a.menu?e.menu=d(a.menu):(e.value=a.value,b(e)),c.push(e)}),c}return d(a,c||[])}function d(b){return function(){var c=a.settings.image_list;"string"==typeof c?tinymce.util.XHR.send({url:c,success:function(a){b(tinymce.util.JSON.parse(a))}}):"function"==typeof c?c(b):b(c)}}function e(d){function e(){var a,b,c,d;a=l.find("#width")[0],b=l.find("#height")[0],a&&b&&(c=a.value(),d=b.value(),l.find("#constrain")[0].checked()&&m&&n&&c&&d&&(m!=c?(d=Math.round(c/m*d),isNaN(d)||b.value(d)):(c=Math.round(d/n*c),isNaN(c)||a.value(c))),m=c,n=d)}function f(){function b(b){function c(){b.onload=b.onerror=null,a.selection&&(a.selection.select(b),a.nodeChanged())}b.onload=function(){q.width||q.height||!t||(r.setAttribs(b,{width:b.clientWidth,height:b.clientHeight}),a.fire("wpNewImageRefresh",{node:b})),c()},b.onerror=c}j(),e(),q=tinymce.extend(q,l.toJSON());var c=q.caption;q.alt||(q.alt=""),q.title||(q.title=""),""===q.width&&(q.width=null),""===q.height&&(q.height=null),q.style||(q.style=null),q={src:q.src,alt:q.alt,title:q.title,width:q.width,height:q.height,style:q.style,"class":q["class"]},a.undoManager.transact(function(){var d={node:s,data:q,caption:c};return a.fire("wpImageFormSubmit",{imgData:d}),d.cancel?void b(d.node):q.src?(""===q.title&&(q.title=null),s?(r.setAttribs(s,q),a.editorUpload.uploadImagesAuto()):(q.id="__mcenew",a.focus(),a.selection.setContent(r.createHTML("img",q)),s=r.get("__mcenew"),r.setAttrib(s,"id",null)),void b(s)):void(s&&(r.remove(s),a.focus(),a.nodeChanged()))})}function g(a){return a&&(a=a.replace(/px$/,"")),a}function h(c){var d,e,f,g=c.meta||{};o&&o.value(a.convertURL(this.value(),"src")),tinymce.each(g,function(a,b){l.find("#"+b).value(a)}),g.width||g.height||(d=a.convertURL(this.value(),"src"),e=a.settings.image_prepend_url,f=new RegExp("^(?:[a-z]+:)?//","i"),e&&!f.test(d)&&d.substring(0,e.length)!==e&&(d=e+d),this.value(d),b(a.documentBaseURI.toAbsolute(this.value()),function(a){a.width&&a.height&&t&&(m=a.width,n=a.height,l.find("#width").value(m),l.find("#height").value(n))}))}function i(a){if(a.margin){var b=a.margin.split(" ");switch(b.length){case 1:a["margin-top"]=a["margin-top"]||b[0],a["margin-right"]=a["margin-right"]||b[0],a["margin-bottom"]=a["margin-bottom"]||b[0],a["margin-left"]=a["margin-left"]||b[0];break;case 2:a["margin-top"]=a["margin-top"]||b[0],a["margin-right"]=a["margin-right"]||b[1],a["margin-bottom"]=a["margin-bottom"]||b[0],a["margin-left"]=a["margin-left"]||b[1];break;case 3:a["margin-top"]=a["margin-top"]||b[0],a["margin-right"]=a["margin-right"]||b[1],a["margin-bottom"]=a["margin-bottom"]||b[2],a["margin-left"]=a["margin-left"]||b[1];break;case 4:a["margin-top"]=a["margin-top"]||b[0],a["margin-right"]=a["margin-right"]||b[1],a["margin-bottom"]=a["margin-bottom"]||b[2],a["margin-left"]=a["margin-left"]||b[3]}delete a.margin}return a}function j(){function b(a){return a.length>0&&/^[0-9]+$/.test(a)&&(a+="px"),a}if(a.settings.image_advtab){var c=l.toJSON(),d=r.parseStyle(c.style);d=i(d),c.vspace&&(d["margin-top"]=d["margin-bottom"]=b(c.vspace)),c.hspace&&(d["margin-left"]=d["margin-right"]=b(c.hspace)),c.border&&(d["border-width"]=b(c.border)),l.find("#style").value(r.serializeStyle(r.parseStyle(r.serializeStyle(d))))}}function k(){if(a.settings.image_advtab){var b=l.toJSON(),c=r.parseStyle(b.style);l.find("#vspace").value(""),l.find("#hspace").value(""),c=i(c),(c["margin-top"]&&c["margin-bottom"]||c["margin-right"]&&c["margin-left"])&&(c["margin-top"]===c["margin-bottom"]?l.find("#vspace").value(g(c["margin-top"])):l.find("#vspace").value(""),c["margin-right"]===c["margin-left"]?l.find("#hspace").value(g(c["margin-right"])):l.find("#hspace").value("")),c["border-width"]&&l.find("#border").value(g(c["border-width"])),l.find("#style").value(r.serializeStyle(r.parseStyle(r.serializeStyle(c))))}}var l,m,n,o,p,q={},r=a.dom,s=a.selection.getNode(),t=a.settings.image_dimensions!==!1;m=r.getAttrib(s,"width"),n=r.getAttrib(s,"height"),"IMG"!=s.nodeName||s.getAttribute("data-mce-object")||s.getAttribute("data-mce-placeholder")?s=null:(q={src:r.getAttrib(s,"src"),alt:r.getAttrib(s,"alt"),title:r.getAttrib(s,"title"),"class":r.getAttrib(s,"class"),width:m,height:n},a.fire("wpLoadImageData",{imgData:{data:q,node:s}})),d&&(o={type:"listbox",label:"Image list",values:c(d,function(b){b.value=a.convertURL(b.value||b.url,"src")},[{text:"None",value:""}]),value:q.src&&a.convertURL(q.src,"src"),onselect:function(a){var b=l.find("#alt");(!b.value()||a.lastControl&&b.value()==a.lastControl.text())&&b.value(a.control.text()),l.find("#src").value(a.control.value()).fire("change")},onPostRender:function(){o=this}}),a.settings.image_class_list&&(p={name:"class",type:"listbox",label:"Class",values:c(a.settings.image_class_list,function(b){b.value&&(b.textStyle=function(){return a.formatter.getCssText({inline:"img",classes:[b.value]})})})});var u=[{name:"src",type:"filepicker",filetype:"image",label:"Source",autofocus:!0,onchange:h},o];a.settings.image_description!==!1&&u.push({name:"alt",type:"textbox",label:"Image description"}),a.settings.image_title&&u.push({name:"title",type:"textbox",label:"Image Title"}),t&&u.push({type:"container",label:"Dimensions",layout:"flex",direction:"row",align:"center",spacing:5,items:[{name:"width",type:"textbox",maxLength:5,size:3,onchange:e,ariaLabel:"Width"},{type:"label",text:"x"},{name:"height",type:"textbox",maxLength:5,size:3,onchange:e,ariaLabel:"Height"},{name:"constrain",type:"checkbox",checked:!0,text:"Constrain proportions"}]}),u.push(p),a.fire("wpLoadImageForm",{data:u}),a.settings.image_advtab?(s&&(s.style.marginLeft&&s.style.marginRight&&s.style.marginLeft===s.style.marginRight&&(q.hspace=g(s.style.marginLeft)),s.style.marginTop&&s.style.marginBottom&&s.style.marginTop===s.style.marginBottom&&(q.vspace=g(s.style.marginTop)),s.style.borderWidth&&(q.border=g(s.style.borderWidth)),q.style=a.dom.serializeStyle(a.dom.parseStyle(a.dom.getAttrib(s,"style")))),l=a.windowManager.open({title:"Insert/edit image",data:q,bodyType:"tabpanel",body:[{title:"General",type:"form",items:u},{title:"Advanced",type:"form",pack:"start",items:[{label:"Style",name:"style",type:"textbox",onchange:k},{type:"form",layout:"grid",packV:"start",columns:2,padding:0,alignH:["left","right"],defaults:{type:"textbox",maxWidth:50,onchange:j},items:[{label:"Vertical space",name:"vspace"},{label:"Horizontal space",name:"hspace"},{label:"Border",name:"border"}]}]}],onSubmit:f})):l=a.windowManager.open({title:"Insert/edit image",data:q,body:u,onSubmit:f})}a.addButton("image",{icon:"image",tooltip:"Insert/edit image",onclick:d(e),stateSelector:"img:not([data-mce-object],[data-mce-placeholder])"}),a.addMenuItem("image",{icon:"image",text:"Insert/edit image",onclick:d(e),context:"insert",prependToContext:!0}),a.addCommand("mceImage",d(e))}); \ No newline at end of file diff --git a/wp-includes/js/tinymce/plugins/lists/plugin.js b/wp-includes/js/tinymce/plugins/lists/plugin.js index e476abc..4bb987b 100644 --- a/wp-includes/js/tinymce/plugins/lists/plugin.js +++ b/wp-includes/js/tinymce/plugins/lists/plugin.js @@ -30,9 +30,23 @@ tinymce.PluginManager.add('lists', function(editor) { return node && !!editor.schema.getTextBlockElements()[node.nodeName]; } + function isEditorBody(elm) { + return elm === editor.getBody(); + } + editor.on('init', function() { var dom = editor.dom, selection = editor.selection; + function isEmpty(elm, keepBookmarks) { + var empty = dom.isEmpty(elm); + + if (keepBookmarks && dom.select('span[data-mce-type=bookmark]').length > 0) { + return false; + } + + return empty; + } + /** * Returns a range bookmark. This will convert indexed bookmarks into temporary span elements with * index 0 so that they can be restored properly after the DOM has been modified. Text bookmarks will not have spans @@ -237,13 +251,13 @@ tinymce.PluginManager.add('lists', function(editor) { dom.insertAfter(newBlock, ul); - if (dom.isEmpty(li.parentNode)) { + if (isEmpty(li.parentNode)) { removeAndKeepBookmarks(li.parentNode); } dom.remove(li); - if (dom.isEmpty(ul)) { + if (isEmpty(ul)) { dom.remove(ul); } } @@ -283,7 +297,7 @@ tinymce.PluginManager.add('lists', function(editor) { if (sibling && sibling.nodeName == 'LI') { sibling.appendChild(ul); - if (dom.isEmpty(parentNode)) { + if (isEmpty(parentNode)) { dom.remove(parentNode); } } @@ -303,11 +317,15 @@ tinymce.PluginManager.add('lists', function(editor) { var ul = li.parentNode, ulParent = ul.parentNode, newBlock; function removeEmptyLi(li) { - if (dom.isEmpty(li)) { + if (isEmpty(li)) { dom.remove(li); } } + if (isEditorBody(ul)) { + return true; + } + if (li.nodeName == 'DD') { dom.rename(li, 'DT'); return true; @@ -592,7 +610,11 @@ tinymce.PluginManager.add('lists', function(editor) { tinymce.each(getSelectedListItems(), function(li) { var node, rootList; - if (dom.isEmpty(li)) { + if (isEditorBody(li.parentNode)) { + return; + } + + if (isEmpty(li)) { outdent(li); return; } @@ -612,6 +634,10 @@ tinymce.PluginManager.add('lists', function(editor) { function toggleList(listName) { var parentList = dom.getParent(selection.getStart(), 'OL,UL,DL'); + if (isEditorBody(parentList)) { + return; + } + if (parentList) { if (parentList.nodeName == listName) { removeList(listName); @@ -672,11 +698,11 @@ tinymce.PluginManager.add('lists', function(editor) { dom.remove(node); } - if (dom.isEmpty(toElm)) { + if (isEmpty(toElm, true)) { dom.$(toElm).empty(); } - if (!dom.isEmpty(fromElm)) { + if (!isEmpty(fromElm, true)) { while ((node = fromElm.firstChild)) { toElm.appendChild(node); } @@ -688,17 +714,22 @@ tinymce.PluginManager.add('lists', function(editor) { dom.remove(fromElm); - if (dom.isEmpty(ul)) { + if (isEmpty(ul) && !isEditorBody(ul)) { dom.remove(ul); } } if (selection.isCollapsed()) { - var li = dom.getParent(selection.getStart(), 'LI'); + var li = dom.getParent(selection.getStart(), 'LI'), ul, rng, otherLi; if (li) { - var rng = selection.getRng(true); - var otherLi = dom.getParent(findNextCaretContainer(rng, isForward), 'LI'); + ul = li.parentNode; + if (isEditorBody(ul) && dom.isEmpty(ul)) { + return true; + } + + rng = selection.getRng(true); + otherLi = dom.getParent(findNextCaretContainer(rng, isForward), 'LI'); if (otherLi && otherLi != li) { var bookmark = createBookmark(rng); @@ -713,7 +744,7 @@ tinymce.PluginManager.add('lists', function(editor) { return true; } else if (!otherLi) { - if (!isForward && removeList(li.parentNode.nodeName)) { + if (!isForward && removeList(ul.nodeName)) { return true; } } diff --git a/wp-includes/js/tinymce/plugins/lists/plugin.min.js b/wp-includes/js/tinymce/plugins/lists/plugin.min.js index 3d165ac..4769ff8 100644 --- a/wp-includes/js/tinymce/plugins/lists/plugin.min.js +++ b/wp-includes/js/tinymce/plugins/lists/plugin.min.js @@ -1 +1 @@ -tinymce.PluginManager.add("lists",function(a){function b(a){return a&&/^(OL|UL|DL)$/.test(a.nodeName)}function c(a){return a.parentNode.firstChild==a}function d(a){return a.parentNode.lastChild==a}function e(b){return b&&!!a.schema.getTextBlockElements()[b.nodeName]}var f=this;a.on("init",function(){function g(a){function b(b){var d,e,f;e=a[b?"startContainer":"endContainer"],f=a[b?"startOffset":"endOffset"],1==e.nodeType&&(d=v.create("span",{"data-mce-type":"bookmark"}),e.hasChildNodes()?(f=Math.min(f,e.childNodes.length-1),b?e.insertBefore(d,e.childNodes[f]):v.insertAfter(d,e.childNodes[f])):e.appendChild(d),e=d,f=0),c[b?"startContainer":"endContainer"]=e,c[b?"startOffset":"endOffset"]=f}var c={};return b(!0),a.collapsed||b(),c}function h(a){function b(b){function c(a){for(var b=a.parentNode.firstChild,c=0;b;){if(b==a)return c;(1!=b.nodeType||"bookmark"!=b.getAttribute("data-mce-type"))&&c++,b=b.nextSibling}return-1}var d,e,f;d=f=a[b?"startContainer":"endContainer"],e=a[b?"startOffset":"endOffset"],d&&(1==d.nodeType&&(e=c(d),d=d.parentNode,v.remove(f)),a[b?"startContainer":"endContainer"]=d,a[b?"startOffset":"endOffset"]=e)}b(!0),b();var c=v.createRng();c.setStart(a.startContainer,a.startOffset),a.endContainer&&c.setEnd(a.endContainer,a.endOffset),w.setRng(c)}function i(b,c){var d,e,f,g=v.createFragment(),h=a.schema.getBlockElements();if(a.settings.forced_root_block&&(c=c||a.settings.forced_root_block),c&&(e=v.create(c),e.tagName===a.settings.forced_root_block&&v.setAttribs(e,a.settings.forced_root_block_attrs),g.appendChild(e)),b)for(;d=b.firstChild;){var i=d.nodeName;f||"SPAN"==i&&"bookmark"==d.getAttribute("data-mce-type")||(f=!0),h[i]?(g.appendChild(d),e=null):c?(e||(e=v.create(c),g.appendChild(e)),e.appendChild(d)):g.appendChild(d)}return a.settings.forced_root_block?f||tinymce.Env.ie&&!(tinymce.Env.ie>10)||e.appendChild(v.create("br",{"data-mce-bogus":"1"})):g.appendChild(v.create("br")),g}function j(){return tinymce.grep(w.getSelectedBlocks(),function(a){return/^(LI|DT|DD)$/.test(a.nodeName)})}function k(a,b,c){function d(a){tinymce.each(g,function(c){a.parentNode.insertBefore(c,b.parentNode)}),v.remove(a)}var e,f,g,h;for(g=v.select('span[data-mce-type="bookmark"]',a),c=c||i(b),e=v.createRng(),e.setStartAfter(b),e.setEndAfter(a),f=e.extractContents(),h=f.firstChild;h;h=h.firstChild)if("LI"==h.nodeName&&v.isEmpty(h)){v.remove(h);break}v.isEmpty(f)||v.insertAfter(f,a),v.insertAfter(c,a),v.isEmpty(b.parentNode)&&d(b.parentNode),v.remove(b),v.isEmpty(a)&&v.remove(a)}function l(a){var c,d;if(c=a.nextSibling,c&&b(c)&&c.nodeName==a.nodeName){for(;d=c.firstChild;)a.appendChild(d);v.remove(c)}if(c=a.previousSibling,c&&b(c)&&c.nodeName==a.nodeName){for(;d=c.firstChild;)a.insertBefore(d,a.firstChild);v.remove(c)}}function m(a){tinymce.each(tinymce.grep(v.select("ol,ul",a)),function(a){var c,d=a.parentNode;"LI"==d.nodeName&&d.firstChild==a&&(c=d.previousSibling,c&&"LI"==c.nodeName&&(c.appendChild(a),v.isEmpty(d)&&v.remove(d))),b(d)&&(c=d.previousSibling,c&&"LI"==c.nodeName&&c.appendChild(a))})}function n(a){function e(a){v.isEmpty(a)&&v.remove(a)}var f,g=a.parentNode,h=g.parentNode;return"DD"==a.nodeName?(v.rename(a,"DT"),!0):c(a)&&d(a)?("LI"==h.nodeName?(v.insertAfter(a,h),e(h),v.remove(g)):b(h)?v.remove(g,!0):(h.insertBefore(i(a),g),v.remove(g)),!0):c(a)?("LI"==h.nodeName?(v.insertAfter(a,h),a.appendChild(g),e(h)):b(h)?h.insertBefore(a,g):(h.insertBefore(i(a),g),v.remove(a)),!0):d(a)?("LI"==h.nodeName?v.insertAfter(a,h):b(h)?v.insertAfter(a,g):(v.insertAfter(i(a),g),v.remove(a)),!0):("LI"==h.nodeName?(g=h,f=i(a,"LI")):f=b(h)?i(a,"LI"):i(a),k(g,a,f),m(g.parentNode),!0)}function o(a){function c(c,d){var e;if(b(c)){for(;e=a.lastChild.firstChild;)d.appendChild(e);v.remove(c)}}var d,e;return"DT"==a.nodeName?(v.rename(a,"DD"),!0):(d=a.previousSibling,d&&b(d)?(d.appendChild(a),!0):d&&"LI"==d.nodeName&&b(d.lastChild)?(d.lastChild.appendChild(a),c(a.lastChild,d.lastChild),!0):(d=a.nextSibling,d&&b(d)?(d.insertBefore(a,d.firstChild),!0):d&&"LI"==d.nodeName&&b(a.lastChild)?!1:(d=a.previousSibling,d&&"LI"==d.nodeName?(e=v.create(a.parentNode.nodeName),d.appendChild(e),e.appendChild(a),c(a.lastChild,e),!0):!1)))}function p(){var b=j();if(b.length){for(var c=g(w.getRng(!0)),d=0;d0))return f;for(d=a.schema.getNonEmptyElements(),e=new tinymce.dom.TreeWalker(b.startContainer);f=e[c?"next":"prev"]();){if("LI"==f.nodeName&&!f.hasChildNodes())return f;if(d[f.nodeName])return f;if(3==f.nodeType&&f.data.length>0)return f}}function e(a,c){var d,e,f=a.parentNode;if(b(c.lastChild)&&(e=c.lastChild),d=c.lastChild,d&&"BR"==d.nodeName&&a.hasChildNodes()&&v.remove(d),v.isEmpty(c)&&v.$(c).empty(),!v.isEmpty(a))for(;d=a.firstChild;)c.appendChild(d);e&&c.appendChild(e),v.remove(a),v.isEmpty(f)&&v.remove(f)}if(w.isCollapsed()){var f=v.getParent(w.getStart(),"LI");if(f){var i=w.getRng(!0),j=v.getParent(d(i,c),"LI");if(j&&j!=f){var k=g(i);return c?e(j,f):e(f,j),h(k),!0}if(!j&&!c&&s(f.parentNode.nodeName))return!0}}},a.on("BeforeExecCommand",function(b){var c,d=b.command.toLowerCase();return"indent"==d?p()&&(c=!0):"outdent"==d&&q()&&(c=!0),c?(a.fire("ExecCommand",{command:b.command}),b.preventDefault(),!0):void 0}),a.addCommand("InsertUnorderedList",function(){t("UL")}),a.addCommand("InsertOrderedList",function(){t("OL")}),a.addCommand("InsertDefinitionList",function(){t("DL")}),a.addQueryStateHandler("InsertUnorderedList",u("UL")),a.addQueryStateHandler("InsertOrderedList",u("OL")),a.addQueryStateHandler("InsertDefinitionList",u("DL")),a.on("keydown",function(b){9!=b.keyCode||tinymce.util.VK.metaKeyPressed(b)||a.dom.getParent(a.selection.getStart(),"LI,DT,DD")&&(b.preventDefault(),b.shiftKey?q():p())})}),a.addButton("indent",{icon:"indent",title:"Increase indent",cmd:"Indent",onPostRender:function(){var b=this;a.on("nodechange",function(){for(var d=a.selection.getSelectedBlocks(),e=!1,f=0,g=d.length;!e&&g>f;f++){var h=d[f].nodeName;e="LI"==h&&c(d[f])||"UL"==h||"OL"==h||"DD"==h}b.disabled(e)})}}),a.on("keydown",function(a){a.keyCode==tinymce.util.VK.BACKSPACE?f.backspaceDelete()&&a.preventDefault():a.keyCode==tinymce.util.VK.DELETE&&f.backspaceDelete(!0)&&a.preventDefault()})}); \ No newline at end of file +tinymce.PluginManager.add("lists",function(a){function b(a){return a&&/^(OL|UL|DL)$/.test(a.nodeName)}function c(a){return a.parentNode.firstChild==a}function d(a){return a.parentNode.lastChild==a}function e(b){return b&&!!a.schema.getTextBlockElements()[b.nodeName]}function f(b){return b===a.getBody()}var g=this;a.on("init",function(){function h(a,b){var c=x.isEmpty(a);return b&&x.select("span[data-mce-type=bookmark]").length>0?!1:c}function i(a){function b(b){var d,e,f;e=a[b?"startContainer":"endContainer"],f=a[b?"startOffset":"endOffset"],1==e.nodeType&&(d=x.create("span",{"data-mce-type":"bookmark"}),e.hasChildNodes()?(f=Math.min(f,e.childNodes.length-1),b?e.insertBefore(d,e.childNodes[f]):x.insertAfter(d,e.childNodes[f])):e.appendChild(d),e=d,f=0),c[b?"startContainer":"endContainer"]=e,c[b?"startOffset":"endOffset"]=f}var c={};return b(!0),a.collapsed||b(),c}function j(a){function b(b){function c(a){for(var b=a.parentNode.firstChild,c=0;b;){if(b==a)return c;(1!=b.nodeType||"bookmark"!=b.getAttribute("data-mce-type"))&&c++,b=b.nextSibling}return-1}var d,e,f;d=f=a[b?"startContainer":"endContainer"],e=a[b?"startOffset":"endOffset"],d&&(1==d.nodeType&&(e=c(d),d=d.parentNode,x.remove(f)),a[b?"startContainer":"endContainer"]=d,a[b?"startOffset":"endOffset"]=e)}b(!0),b();var c=x.createRng();c.setStart(a.startContainer,a.startOffset),a.endContainer&&c.setEnd(a.endContainer,a.endOffset),y.setRng(c)}function k(b,c){var d,e,f,g=x.createFragment(),h=a.schema.getBlockElements();if(a.settings.forced_root_block&&(c=c||a.settings.forced_root_block),c&&(e=x.create(c),e.tagName===a.settings.forced_root_block&&x.setAttribs(e,a.settings.forced_root_block_attrs),g.appendChild(e)),b)for(;d=b.firstChild;){var i=d.nodeName;f||"SPAN"==i&&"bookmark"==d.getAttribute("data-mce-type")||(f=!0),h[i]?(g.appendChild(d),e=null):c?(e||(e=x.create(c),g.appendChild(e)),e.appendChild(d)):g.appendChild(d)}return a.settings.forced_root_block?f||tinymce.Env.ie&&!(tinymce.Env.ie>10)||e.appendChild(x.create("br",{"data-mce-bogus":"1"})):g.appendChild(x.create("br")),g}function l(){return tinymce.grep(y.getSelectedBlocks(),function(a){return/^(LI|DT|DD)$/.test(a.nodeName)})}function m(a,b,c){function d(a){tinymce.each(g,function(c){a.parentNode.insertBefore(c,b.parentNode)}),x.remove(a)}var e,f,g,i;for(g=x.select('span[data-mce-type="bookmark"]',a),c=c||k(b),e=x.createRng(),e.setStartAfter(b),e.setEndAfter(a),f=e.extractContents(),i=f.firstChild;i;i=i.firstChild)if("LI"==i.nodeName&&x.isEmpty(i)){x.remove(i);break}x.isEmpty(f)||x.insertAfter(f,a),x.insertAfter(c,a),h(b.parentNode)&&d(b.parentNode),x.remove(b),h(a)&&x.remove(a)}function n(a){var c,d;if(c=a.nextSibling,c&&b(c)&&c.nodeName==a.nodeName){for(;d=c.firstChild;)a.appendChild(d);x.remove(c)}if(c=a.previousSibling,c&&b(c)&&c.nodeName==a.nodeName){for(;d=c.firstChild;)a.insertBefore(d,a.firstChild);x.remove(c)}}function o(a){tinymce.each(tinymce.grep(x.select("ol,ul",a)),function(a){var c,d=a.parentNode;"LI"==d.nodeName&&d.firstChild==a&&(c=d.previousSibling,c&&"LI"==c.nodeName&&(c.appendChild(a),h(d)&&x.remove(d))),b(d)&&(c=d.previousSibling,c&&"LI"==c.nodeName&&c.appendChild(a))})}function p(a){function e(a){h(a)&&x.remove(a)}var g,i=a.parentNode,j=i.parentNode;return f(i)?!0:"DD"==a.nodeName?(x.rename(a,"DT"),!0):c(a)&&d(a)?("LI"==j.nodeName?(x.insertAfter(a,j),e(j),x.remove(i)):b(j)?x.remove(i,!0):(j.insertBefore(k(a),i),x.remove(i)),!0):c(a)?("LI"==j.nodeName?(x.insertAfter(a,j),a.appendChild(i),e(j)):b(j)?j.insertBefore(a,i):(j.insertBefore(k(a),i),x.remove(a)),!0):d(a)?("LI"==j.nodeName?x.insertAfter(a,j):b(j)?x.insertAfter(a,i):(x.insertAfter(k(a),i),x.remove(a)),!0):("LI"==j.nodeName?(i=j,g=k(a,"LI")):g=b(j)?k(a,"LI"):k(a),m(i,a,g),o(i.parentNode),!0)}function q(a){function c(c,d){var e;if(b(c)){for(;e=a.lastChild.firstChild;)d.appendChild(e);x.remove(c)}}var d,e;return"DT"==a.nodeName?(x.rename(a,"DD"),!0):(d=a.previousSibling,d&&b(d)?(d.appendChild(a),!0):d&&"LI"==d.nodeName&&b(d.lastChild)?(d.lastChild.appendChild(a),c(a.lastChild,d.lastChild),!0):(d=a.nextSibling,d&&b(d)?(d.insertBefore(a,d.firstChild),!0):d&&"LI"==d.nodeName&&b(a.lastChild)?!1:(d=a.previousSibling,d&&"LI"==d.nodeName?(e=x.create(a.parentNode.nodeName),d.appendChild(e),e.appendChild(a),c(a.lastChild,e),!0):!1)))}function r(){var b=l();if(b.length){for(var c=i(y.getRng(!0)),d=0;d0))return f;for(d=a.schema.getNonEmptyElements(),e=new tinymce.dom.TreeWalker(b.startContainer);f=e[c?"next":"prev"]();){if("LI"==f.nodeName&&!f.hasChildNodes())return f;if(d[f.nodeName])return f;if(3==f.nodeType&&f.data.length>0)return f}}function e(a,c){var d,e,g=a.parentNode;if(b(c.lastChild)&&(e=c.lastChild),d=c.lastChild,d&&"BR"==d.nodeName&&a.hasChildNodes()&&x.remove(d),h(c,!0)&&x.$(c).empty(),!h(a,!0))for(;d=a.firstChild;)c.appendChild(d);e&&c.appendChild(e),x.remove(a),h(g)&&!f(g)&&x.remove(g)}if(y.isCollapsed()){var g,k,l,m=x.getParent(y.getStart(),"LI");if(m){if(g=m.parentNode,f(g)&&x.isEmpty(g))return!0;if(k=y.getRng(!0),l=x.getParent(d(k,c),"LI"),l&&l!=m){var n=i(k);return c?e(l,m):e(m,l),j(n),!0}if(!l&&!c&&u(g.nodeName))return!0}}},a.on("BeforeExecCommand",function(b){var c,d=b.command.toLowerCase();return"indent"==d?r()&&(c=!0):"outdent"==d&&s()&&(c=!0),c?(a.fire("ExecCommand",{command:b.command}),b.preventDefault(),!0):void 0}),a.addCommand("InsertUnorderedList",function(){v("UL")}),a.addCommand("InsertOrderedList",function(){v("OL")}),a.addCommand("InsertDefinitionList",function(){v("DL")}),a.addQueryStateHandler("InsertUnorderedList",w("UL")),a.addQueryStateHandler("InsertOrderedList",w("OL")),a.addQueryStateHandler("InsertDefinitionList",w("DL")),a.on("keydown",function(b){9!=b.keyCode||tinymce.util.VK.metaKeyPressed(b)||a.dom.getParent(a.selection.getStart(),"LI,DT,DD")&&(b.preventDefault(),b.shiftKey?s():r())})}),a.addButton("indent",{icon:"indent",title:"Increase indent",cmd:"Indent",onPostRender:function(){var b=this;a.on("nodechange",function(){for(var d=a.selection.getSelectedBlocks(),e=!1,f=0,g=d.length;!e&&g>f;f++){var h=d[f].nodeName;e="LI"==h&&c(d[f])||"UL"==h||"OL"==h||"DD"==h}b.disabled(e)})}}),a.on("keydown",function(a){a.keyCode==tinymce.util.VK.BACKSPACE?g.backspaceDelete()&&a.preventDefault():a.keyCode==tinymce.util.VK.DELETE&&g.backspaceDelete(!0)&&a.preventDefault()})}); \ No newline at end of file diff --git a/wp-includes/js/tinymce/plugins/media/plugin.js b/wp-includes/js/tinymce/plugins/media/plugin.js index a353209..d0baf73 100644 --- a/wp-includes/js/tinymce/plugins/media/plugin.js +++ b/wp-includes/js/tinymce/plugins/media/plugin.js @@ -789,5 +789,7 @@ tinymce.PluginManager.add('media', function(editor, url) { prependToContext: true }); + editor.addCommand('mceMedia', showDialog); + this.showDialog = showDialog; }); diff --git a/wp-includes/js/tinymce/plugins/media/plugin.min.js b/wp-includes/js/tinymce/plugins/media/plugin.min.js index 4c333e9..1e06d5a 100644 --- a/wp-includes/js/tinymce/plugins/media/plugin.min.js +++ b/wp-includes/js/tinymce/plugins/media/plugin.min.js @@ -1 +1 @@ -tinymce.PluginManager.add("media",function(a,b){function c(a){return a=a.toLowerCase(),-1!=a.indexOf(".mp3")?"audio/mpeg":-1!=a.indexOf(".wav")?"audio/wav":-1!=a.indexOf(".mp4")?"video/mp4":-1!=a.indexOf(".webm")?"video/webm":-1!=a.indexOf(".ogg")?"video/ogg":-1!=a.indexOf(".swf")?"application/x-shockwave-flash":""}function d(b){var c=a.settings.media_scripts;if(c)for(var d=0;d=0;e--)b[d]==c[e]&&c.splice(e,1);a.selection.select(c[0]),a.nodeChanged()}})}function f(){var b=a.selection.getNode();return b.getAttribute("data-mce-object")?a.selection.getContent():void 0}function g(e){var f="";if(!e.source1&&(tinymce.extend(e,h(e.embed)),!e.source1))return"";if(e.source2||(e.source2=""),e.poster||(e.poster=""),e.source1=a.convertURL(e.source1,"source"),e.source2=a.convertURL(e.source2,"source"),e.source1mime=c(e.source1),e.source2mime=c(e.source2),e.poster=a.convertURL(e.poster,"poster"),e.flashPlayerUrl=a.convertURL(b+"/moxieplayer.swf","movie"),tinymce.each(l,function(a){var b,c,d;if(b=a.regex.exec(e.source1)){for(d=a.url,c=0;b[c];c++)d=d.replace("$"+c,function(){return b[c]});e.source1=d,e.type=a.type,e.allowFullscreen=a.allowFullscreen,e.width=e.width||a.w,e.height=e.height||a.h}}),e.embed)f=k(e.embed,e,!0);else{var g=d(e.source1);if(g&&(e.type="script",e.width=g.width,e.height=g.height),e.width=e.width||300,e.height=e.height||150,tinymce.each(e,function(b,c){e[c]=a.dom.encode(b)}),"iframe"==e.type){var i=e.allowFullscreen?' allowFullscreen="1"':"";f+='"}else"application/x-shockwave-flash"==e.source1mime?(f+='',e.poster&&(f+=''),f+=""):-1!=e.source1mime.indexOf("audio")?a.settings.audio_template_callback?f=a.settings.audio_template_callback(e):f+='":"script"==e.type?f+='':f=a.settings.video_template_callback?a.settings.video_template_callback(e):'"}return f}function h(a){var b={};return new tinymce.html.SaxParser({validate:!1,allow_conditional_comments:!0,special:"script,noscript",start:function(a,c){if(b.source1||"param"!=a||(b.source1=c.map.movie),("iframe"==a||"object"==a||"embed"==a||"video"==a||"audio"==a)&&(b.type||(b.type=a),b=tinymce.extend(c.map,b)),"script"==a){var e=d(c.map.src);if(!e)return;b={type:"script",source1:c.map.src,width:e.width,height:e.height}}"source"==a&&(b.source1?b.source2||(b.source2=c.map.src):b.source1=c.map.src),"img"!=a||b.poster||(b.poster=c.map.src)}}).parse(a),b.source1=b.source1||b.src||b.data,b.source2=b.source2||"",b.poster=b.poster||"",b}function i(b){return b.getAttribute("data-mce-object")?h(a.serializer.serialize(b,{selection:!0})):{}}function j(b){if(a.settings.media_filter_html===!1)return b;var c,d=new tinymce.html.Writer;return new tinymce.html.SaxParser({validate:!1,allow_conditional_comments:!1,special:"script,noscript",comment:function(a){d.comment(a)},cdata:function(a){d.cdata(a)},text:function(a,b){d.text(a,b)},start:function(b,e,f){if(c=!0,"script"!=b&&"noscript"!=b){for(var g=0;g=g&&(d(h,{src:b["source"+g],type:b["source"+g+"mime"]}),!b["source"+g]))return;break;case"img":if(!b.poster)return;e=!0}f.start(a,h,i)},end:function(a){if("video"==a&&c)for(var h=1;2>=h;h++)if(b["source"+h]){var i=[];i.map={},h>g&&(d(i,{src:b["source"+h],type:b["source"+h+"mime"]}),f.start("source",i,!0))}if(b.poster&&"object"==a&&c&&!e){var j=[];j.map={},d(j,{src:b.poster,width:b.width,height:b.height}),f.start("img",j,!0)}f.end(a)}},new tinymce.html.Schema({})).parse(a),f.getContent()}var l=[{regex:/youtu\.be\/([\w\-.]+)/,type:"iframe",w:425,h:350,url:"//www.youtube.com/embed/$1",allowFullscreen:!0},{regex:/youtube\.com(.+)v=([^&]+)/,type:"iframe",w:425,h:350,url:"//www.youtube.com/embed/$2",allowFullscreen:!0},{regex:/vimeo\.com\/([0-9]+)/,type:"iframe",w:425,h:350,url:"//player.vimeo.com/video/$1?title=0&byline=0&portrait=0&color=8dc7dc",allowfullscreen:!0},{regex:/vimeo\.com\/(.*)\/([0-9]+)/,type:"iframe",w:425,h:350,url:"//player.vimeo.com/video/$2?title=0&byline=0",allowfullscreen:!0},{regex:/maps\.google\.([a-z]{2,3})\/maps\/(.+)msid=(.+)/,type:"iframe",w:425,h:350,url:'//maps.google.com/maps/ms?msid=$2&output=embed"',allowFullscreen:!1}],m=tinymce.Env.ie&&tinymce.Env.ie<=8?"onChange":"onInput";a.on("ResolveName",function(a){var b;1==a.target.nodeType&&(b=a.target.getAttribute("data-mce-object"))&&(a.name=b)}),a.on("preInit",function(){var b=a.schema.getSpecialElements();tinymce.each("video audio iframe object".split(" "),function(a){b[a]=new RegExp("]*>","gi")});var c=a.schema.getBoolAttrs();tinymce.each("webkitallowfullscreen mozallowfullscreen allowfullscreen".split(" "),function(a){c[a]={}}),a.parser.addNodeFilter("iframe,video,audio,object,embed,script",function(b,c){for(var e,f,g,h,i,j,k,l,m=b.length;m--;)if(f=b[m],f.parent&&("script"!=f.name||(l=d(f.attr("src"))))){for(g=new tinymce.html.Node("img",1),g.shortEnded=!0,l&&(l.width&&f.attr("width",l.width.toString()),l.height&&f.attr("height",l.height.toString())),j=f.attributes,e=j.length;e--;)h=j[e].name,i=j[e].value,"width"!==h&&"height"!==h&&"style"!==h&&(("data"==h||"src"==h)&&(i=a.convertURL(i,h)),g.attr("data-mce-p-"+h,i));k=f.firstChild&&f.firstChild.value,k&&(g.attr("data-mce-html",escape(k)),g.firstChild=null),g.attr({width:f.attr("width")||"300",height:f.attr("height")||("audio"==c?"30":"150"),style:f.attr("style"),src:tinymce.Env.transparentSrc,"data-mce-object":c,"class":"mce-object mce-object-"+c}),f.replace(g)}}),a.serializer.addAttributeFilter("data-mce-object",function(a,b){for(var c,d,e,f,g,h,i,k=a.length;k--;)if(c=a[k],c.parent){for(i=c.attr(b),d=new tinymce.html.Node(i,1),"audio"!=i&&"script"!=i&&d.attr({width:c.attr("width"),height:c.attr("height")}),d.attr({style:c.attr("style")}),f=c.attributes,e=f.length;e--;){var l=f[e].name;0===l.indexOf("data-mce-p-")&&d.attr(l.substr(11),f[e].value)}"script"==i&&d.attr("type","text/javascript"),g=c.attr("data-mce-html"),g&&(h=new tinymce.html.Node("#text",3),h.raw=!0,h.value=j(unescape(g)),d.append(h)),c.replace(d)}})}),a.on("ObjectSelected",function(a){var b=a.target.getAttribute("data-mce-object");("audio"==b||"script"==b)&&a.preventDefault()}),a.on("objectResized",function(a){var b,c=a.target;c.getAttribute("data-mce-object")&&(b=c.getAttribute("data-mce-html"),b&&(b=unescape(b),c.setAttribute("data-mce-html",escape(k(b,{width:a.width,height:a.height})))))}),a.addButton("media",{tooltip:"Insert/edit video",onclick:e,stateSelector:["img[data-mce-object=video]","img[data-mce-object=iframe]"]}),a.addMenuItem("media",{icon:"media",text:"Insert/edit video",onclick:e,context:"insert",prependToContext:!0}),this.showDialog=e}); \ No newline at end of file +tinymce.PluginManager.add("media",function(a,b){function c(a){return a=a.toLowerCase(),-1!=a.indexOf(".mp3")?"audio/mpeg":-1!=a.indexOf(".wav")?"audio/wav":-1!=a.indexOf(".mp4")?"video/mp4":-1!=a.indexOf(".webm")?"video/webm":-1!=a.indexOf(".ogg")?"video/ogg":-1!=a.indexOf(".swf")?"application/x-shockwave-flash":""}function d(b){var c=a.settings.media_scripts;if(c)for(var d=0;d=0;e--)b[d]==c[e]&&c.splice(e,1);a.selection.select(c[0]),a.nodeChanged()}})}function f(){var b=a.selection.getNode();return b.getAttribute("data-mce-object")?a.selection.getContent():void 0}function g(e){var f="";if(!e.source1&&(tinymce.extend(e,h(e.embed)),!e.source1))return"";if(e.source2||(e.source2=""),e.poster||(e.poster=""),e.source1=a.convertURL(e.source1,"source"),e.source2=a.convertURL(e.source2,"source"),e.source1mime=c(e.source1),e.source2mime=c(e.source2),e.poster=a.convertURL(e.poster,"poster"),e.flashPlayerUrl=a.convertURL(b+"/moxieplayer.swf","movie"),tinymce.each(l,function(a){var b,c,d;if(b=a.regex.exec(e.source1)){for(d=a.url,c=0;b[c];c++)d=d.replace("$"+c,function(){return b[c]});e.source1=d,e.type=a.type,e.allowFullscreen=a.allowFullscreen,e.width=e.width||a.w,e.height=e.height||a.h}}),e.embed)f=k(e.embed,e,!0);else{var g=d(e.source1);if(g&&(e.type="script",e.width=g.width,e.height=g.height),e.width=e.width||300,e.height=e.height||150,tinymce.each(e,function(b,c){e[c]=a.dom.encode(b)}),"iframe"==e.type){var i=e.allowFullscreen?' allowFullscreen="1"':"";f+='"}else"application/x-shockwave-flash"==e.source1mime?(f+='',e.poster&&(f+=''),f+=""):-1!=e.source1mime.indexOf("audio")?a.settings.audio_template_callback?f=a.settings.audio_template_callback(e):f+='":"script"==e.type?f+='':f=a.settings.video_template_callback?a.settings.video_template_callback(e):'"}return f}function h(a){var b={};return new tinymce.html.SaxParser({validate:!1,allow_conditional_comments:!0,special:"script,noscript",start:function(a,c){if(b.source1||"param"!=a||(b.source1=c.map.movie),("iframe"==a||"object"==a||"embed"==a||"video"==a||"audio"==a)&&(b.type||(b.type=a),b=tinymce.extend(c.map,b)),"script"==a){var e=d(c.map.src);if(!e)return;b={type:"script",source1:c.map.src,width:e.width,height:e.height}}"source"==a&&(b.source1?b.source2||(b.source2=c.map.src):b.source1=c.map.src),"img"!=a||b.poster||(b.poster=c.map.src)}}).parse(a),b.source1=b.source1||b.src||b.data,b.source2=b.source2||"",b.poster=b.poster||"",b}function i(b){return b.getAttribute("data-mce-object")?h(a.serializer.serialize(b,{selection:!0})):{}}function j(b){if(a.settings.media_filter_html===!1)return b;var c,d=new tinymce.html.Writer;return new tinymce.html.SaxParser({validate:!1,allow_conditional_comments:!1,special:"script,noscript",comment:function(a){d.comment(a)},cdata:function(a){d.cdata(a)},text:function(a,b){d.text(a,b)},start:function(b,e,f){if(c=!0,"script"!=b&&"noscript"!=b){for(var g=0;g=g&&(d(h,{src:b["source"+g],type:b["source"+g+"mime"]}),!b["source"+g]))return;break;case"img":if(!b.poster)return;e=!0}f.start(a,h,i)},end:function(a){if("video"==a&&c)for(var h=1;2>=h;h++)if(b["source"+h]){var i=[];i.map={},h>g&&(d(i,{src:b["source"+h],type:b["source"+h+"mime"]}),f.start("source",i,!0))}if(b.poster&&"object"==a&&c&&!e){var j=[];j.map={},d(j,{src:b.poster,width:b.width,height:b.height}),f.start("img",j,!0)}f.end(a)}},new tinymce.html.Schema({})).parse(a),f.getContent()}var l=[{regex:/youtu\.be\/([\w\-.]+)/,type:"iframe",w:425,h:350,url:"//www.youtube.com/embed/$1",allowFullscreen:!0},{regex:/youtube\.com(.+)v=([^&]+)/,type:"iframe",w:425,h:350,url:"//www.youtube.com/embed/$2",allowFullscreen:!0},{regex:/vimeo\.com\/([0-9]+)/,type:"iframe",w:425,h:350,url:"//player.vimeo.com/video/$1?title=0&byline=0&portrait=0&color=8dc7dc",allowfullscreen:!0},{regex:/vimeo\.com\/(.*)\/([0-9]+)/,type:"iframe",w:425,h:350,url:"//player.vimeo.com/video/$2?title=0&byline=0",allowfullscreen:!0},{regex:/maps\.google\.([a-z]{2,3})\/maps\/(.+)msid=(.+)/,type:"iframe",w:425,h:350,url:'//maps.google.com/maps/ms?msid=$2&output=embed"',allowFullscreen:!1}],m=tinymce.Env.ie&&tinymce.Env.ie<=8?"onChange":"onInput";a.on("ResolveName",function(a){var b;1==a.target.nodeType&&(b=a.target.getAttribute("data-mce-object"))&&(a.name=b)}),a.on("preInit",function(){var b=a.schema.getSpecialElements();tinymce.each("video audio iframe object".split(" "),function(a){b[a]=new RegExp("]*>","gi")});var c=a.schema.getBoolAttrs();tinymce.each("webkitallowfullscreen mozallowfullscreen allowfullscreen".split(" "),function(a){c[a]={}}),a.parser.addNodeFilter("iframe,video,audio,object,embed,script",function(b,c){for(var e,f,g,h,i,j,k,l,m=b.length;m--;)if(f=b[m],f.parent&&("script"!=f.name||(l=d(f.attr("src"))))){for(g=new tinymce.html.Node("img",1),g.shortEnded=!0,l&&(l.width&&f.attr("width",l.width.toString()),l.height&&f.attr("height",l.height.toString())),j=f.attributes,e=j.length;e--;)h=j[e].name,i=j[e].value,"width"!==h&&"height"!==h&&"style"!==h&&(("data"==h||"src"==h)&&(i=a.convertURL(i,h)),g.attr("data-mce-p-"+h,i));k=f.firstChild&&f.firstChild.value,k&&(g.attr("data-mce-html",escape(k)),g.firstChild=null),g.attr({width:f.attr("width")||"300",height:f.attr("height")||("audio"==c?"30":"150"),style:f.attr("style"),src:tinymce.Env.transparentSrc,"data-mce-object":c,"class":"mce-object mce-object-"+c}),f.replace(g)}}),a.serializer.addAttributeFilter("data-mce-object",function(a,b){for(var c,d,e,f,g,h,i,k=a.length;k--;)if(c=a[k],c.parent){for(i=c.attr(b),d=new tinymce.html.Node(i,1),"audio"!=i&&"script"!=i&&d.attr({width:c.attr("width"),height:c.attr("height")}),d.attr({style:c.attr("style")}),f=c.attributes,e=f.length;e--;){var l=f[e].name;0===l.indexOf("data-mce-p-")&&d.attr(l.substr(11),f[e].value)}"script"==i&&d.attr("type","text/javascript"),g=c.attr("data-mce-html"),g&&(h=new tinymce.html.Node("#text",3),h.raw=!0,h.value=j(unescape(g)),d.append(h)),c.replace(d)}})}),a.on("ObjectSelected",function(a){var b=a.target.getAttribute("data-mce-object");("audio"==b||"script"==b)&&a.preventDefault()}),a.on("objectResized",function(a){var b,c=a.target;c.getAttribute("data-mce-object")&&(b=c.getAttribute("data-mce-html"),b&&(b=unescape(b),c.setAttribute("data-mce-html",escape(k(b,{width:a.width,height:a.height})))))}),a.addButton("media",{tooltip:"Insert/edit video",onclick:e,stateSelector:["img[data-mce-object=video]","img[data-mce-object=iframe]"]}),a.addMenuItem("media",{icon:"media",text:"Insert/edit video",onclick:e,context:"insert",prependToContext:!0}),a.addCommand("mceMedia",e),this.showDialog=e}); \ No newline at end of file diff --git a/wp-includes/js/tinymce/plugins/paste/plugin.js b/wp-includes/js/tinymce/plugins/paste/plugin.js index 9c50470..a814d0b 100644 --- a/wp-includes/js/tinymce/plugins/paste/plugin.js +++ b/wp-includes/js/tinymce/plugins/paste/plugin.js @@ -512,6 +512,56 @@ define("tinymce/pasteplugin/Clipboard", [ return html; } + /** + * Some Windows 10/Edge versions will return a double encoded string. This checks if the + * content has this odd encoding and decodes it. + */ + function decodeEdgeData(data) { + var i, out, fingerprint, code; + + // Check if data is encoded + fingerprint = [25942, 29554, 28521, 14958]; + for (i = 0; i < fingerprint.length; i++) { + if (data.charCodeAt(i) != fingerprint[i]) { + return data; + } + } + + // Decode UTF-16 to UTF-8 + out = ''; + for (i = 0; i < data.length; i++) { + code = data.charCodeAt(i); + + /*eslint no-bitwise:0*/ + out += String.fromCharCode((code & 0x00FF)); + out += String.fromCharCode((code & 0xFF00) >> 8); + } + + // Decode UTF-8 + return decodeURIComponent(escape(out)); + } + + /** + * Extracts HTML contents from within a fragment. + */ + function extractFragment(data) { + var idx, startFragment, endFragment; + + startFragment = ''; + idx = data.indexOf(startFragment); + if (idx !== -1) { + data = data.substr(idx + startFragment.length); + } + + endFragment = ''; + idx = data.indexOf(endFragment); + if (idx !== -1) { + data = data.substr(0, idx); + } + + return data; + } + /** * Gets various content types out of a datatransfer object. * @@ -519,7 +569,7 @@ define("tinymce/pasteplugin/Clipboard", [ * @return {Object} Object with mime types and data for those mime types. */ function getDataTransferItems(dataTransfer) { - var data = {}; + var items = {}; if (dataTransfer) { // Use old WebKit/IE API @@ -527,20 +577,26 @@ define("tinymce/pasteplugin/Clipboard", [ var legacyText = dataTransfer.getData('Text'); if (legacyText && legacyText.length > 0) { if (legacyText.indexOf(mceInternalUrlPrefix) == -1) { - data['text/plain'] = legacyText; + items['text/plain'] = legacyText; } } } if (dataTransfer.types) { for (var i = 0; i < dataTransfer.types.length; i++) { - var contentType = dataTransfer.types[i]; - data[contentType] = dataTransfer.getData(contentType); + var contentType = dataTransfer.types[i], + data = dataTransfer.getData(contentType); + + if (contentType == 'text/html') { + data = extractFragment(decodeEdgeData(data)); + } + + items[contentType] = data; } } } - return data; + return items; } /** @@ -1355,7 +1411,9 @@ define("tinymce/pasteplugin/WordFilter", [ } // Serialize DOM back to HTML - e.content = new Serializer({}, schema).serialize(rootNode); + e.content = new Serializer({ + validate: settings.validate + }, schema).serialize(rootNode); } }); } diff --git a/wp-includes/js/tinymce/plugins/paste/plugin.min.js b/wp-includes/js/tinymce/plugins/paste/plugin.min.js index 84b156f..1e9c4e3 100644 --- a/wp-includes/js/tinymce/plugins/paste/plugin.min.js +++ b/wp-includes/js/tinymce/plugins/paste/plugin.min.js @@ -1 +1 @@ -!function(a,b){"use strict";function c(a,b){for(var c,d=[],f=0;f/g]),f(h.parse(e)),i}function f(a){function b(a,b,c){return b||c?"\xa0":" "}return a=d(a,[/^[\s\S]*]*>\s*|\s*<\/body[^>]*>[\s\S]*$/g,/|/g,[/( ?)\u00a0<\/span>( ?)/g,b],/
                $/i])}return{filter:d,innerText:e,trimHtml:f}}),d("tinymce/pasteplugin/Clipboard",["tinymce/Env","tinymce/dom/RangeUtils","tinymce/util/VK","tinymce/pasteplugin/Utils"],function(a,b,c,d){return function(e){function f(a){var b,c=e.dom;if(b=e.fire("BeforePastePreProcess",{content:a}),b=e.fire("PastePreProcess",b),a=b.content,!b.isDefaultPrevented()){if(e.hasEventListeners("PastePostProcess")&&!b.isDefaultPrevented()){var d=c.add(e.getBody(),"div",{style:"display:none"},a);b=e.fire("PastePostProcess",{node:d}),c.remove(d),a=b.node.innerHTML}b.isDefaultPrevented()||e.insertContent(a,{merge:e.settings.paste_merge_formats!==!1,data:{paste:!0}})}}function g(a){a=e.dom.encode(a).replace(/\r\n/g,"\n");var b,c=e.dom.getParent(e.selection.getStart(),e.dom.isBlock),g=e.settings.forced_root_block;g&&(b=e.dom.createHTML(g,e.settings.forced_root_block_attrs),b=b.substr(0,b.length-3)+">"),c&&/^(PRE|DIV)$/.test(c.nodeName)||!g?a=d.filter(a,[[/\n/g,"
                "]]):(a=d.filter(a,[[/\n\n/g,"

                "+b],[/^(.*<\/p>)(

                )$/,b+"$1"],[/\n/g,"
                "]]),-1!=a.indexOf("

                ")&&(a=b+a)),f(a)}function h(){function b(a){var b,c,e,f=a.startContainer;if(b=a.getClientRects(),b.length)return b[0];if(a.collapsed&&1==f.nodeType){for(e=f.childNodes[t.startOffset];e&&3==e.nodeType&&!e.data.length;)e=e.nextSibling;if(e)return"BR"==e.tagName&&(c=d.doc.createTextNode("\ufeff"),e.parentNode.insertBefore(c,e),a=d.createRng(),a.setStartBefore(c),a.setEndAfter(c),b=a.getClientRects(),d.remove(c)),b.length?b[0]:void 0}}var c,d=e.dom,f=e.getBody(),g=e.dom.getViewPort(e.getWin()),h=g.y,i=20;if(t=e.selection.getRng(),e.inline&&(c=e.selection.getScrollContainer(),c&&c.scrollTop>0&&(h=c.scrollTop)),t.getClientRects){var j=b(t);if(j)i=h+(j.top-d.getPos(f).y);else{i=h;var k=t.startContainer;k&&(3==k.nodeType&&k.parentNode!=f&&(k=k.parentNode),1==k.nodeType&&(i=d.getPos(k,c||f).y))}}s=d.add(e.getBody(),"div",{id:"mcepastebin",contentEditable:!0,"data-mce-bogus":"all",style:"position: absolute; top: "+i+"px;width: 10px; height: 10px; overflow: hidden; opacity: 0"},y),(a.ie||a.gecko)&&d.setStyle(s,"left","rtl"==d.getStyle(f,"direction",!0)?65535:-65535),d.bind(s,"beforedeactivate focusin focusout",function(a){a.stopPropagation()}),s.focus(),e.selection.select(s,!0)}function i(){if(s){for(var a;a=e.dom.get("mcepastebin");)e.dom.remove(a),e.dom.unbind(a);t&&e.selection.setRng(t)}s=t=null}function j(){var a,b,c,d,f="";for(a=e.dom.select("div[id=mcepastebin]"),b=0;b0&&-1==c.indexOf(z)&&(b["text/plain"]=c)}if(a.types)for(var d=0;d')}var g,h,i,j=!1;if(c)for(g=0;g0}function q(a){return c.metaKeyPressed(a)&&86==a.keyCode||a.shiftKey&&45==a.keyCode}function r(){e.on("keydown",function(b){function c(a){q(a)&&!a.isDefaultPrevented()&&i()}if(q(b)&&!b.isDefaultPrevented()){if(u=b.shiftKey&&86==b.keyCode,u&&a.webkit&&-1!=navigator.userAgent.indexOf("Version/"))return;if(b.stopImmediatePropagation(),w=(new Date).getTime(),a.ie&&u)return b.preventDefault(),void e.fire("paste",{ieFake:!0});i(),h(),e.once("keyup",c),e.once("paste",function(){e.off("keyup",c)})}}),e.on("paste",function(b){var c=(new Date).getTime(),k=l(b),o=(new Date).getTime()-c,q=(new Date).getTime()-w-o<1e3,r="text"==v.pasteFormat||u;return u=!1,b.isDefaultPrevented()||n(b)?void i():m(b)?void i():(q||b.preventDefault(),!a.ie||q&&!b.ieFake||(h(),e.dom.bind(s,"paste",function(a){a.stopPropagation()}),e.getDoc().execCommand("Paste",!1,null),k["text/html"]=j()),void setTimeout(function(){var a;return p(k,"text/html")?a=k["text/html"]:(a=j(),a==y&&(r=!0)),a=d.trimHtml(a),s&&s.firstChild&&"mcepastebin"===s.firstChild.id&&(r=!0),i(),a.length||(r=!0),r&&(a=p(k,"text/plain")&&-1==a.indexOf("

                ")?k["text/plain"]:d.innerText(a)),a==y?void(q||e.windowManager.alert("Please use Ctrl+V/Cmd+V keyboard shortcuts to paste contents.")):void(r?g(a):f(a))},0))}),e.on("dragstart dragend",function(a){x="dragstart"==a.type}),e.on("drop",function(a){var b=o(a);if(!a.isDefaultPrevented()&&!x&&!m(a,b)&&b&&e.settings.paste_filter_drop!==!1){var c=k(a.dataTransfer),h=c["mce-internal"]||c["text/html"]||c["text/plain"];h&&(a.preventDefault(),e.undoManager.transact(function(){c["mce-internal"]&&e.execCommand("Delete"),e.selection.setRng(b),h=d.trimHtml(h),c["text/html"]?f(h):g(h)}))}}),e.on("dragover dragend",function(a){e.settings.paste_data_images&&a.preventDefault()})}var s,t,u,v=this,w=0,x=!1,y="%MCEPASTEBIN%",z="data:text/mce-internal,";v.pasteHtml=f,v.pasteText=g,e.on("preInit",function(){r(),e.parser.addNodeFilter("img",function(b,c,d){function f(a){return a.data&&a.data.paste===!0}function g(b){b.attr("data-mce-object")||k===a.transparentSrc||b.remove()}function h(a){return 0===a.indexOf("webkit-fake-url")}function i(a){return 0===a.indexOf("data:")}if(!e.settings.paste_data_images&&f(d))for(var j=b.length;j--;){var k=b[j].attributes.map.src;k&&(h(k)?g(b[j]):!e.settings.allow_html_data_urls&&i(k)&&g(b[j]))}})})}}),d("tinymce/pasteplugin/WordFilter",["tinymce/util/Tools","tinymce/html/DomParser","tinymce/html/Schema","tinymce/html/Serializer","tinymce/html/Node","tinymce/pasteplugin/Utils"],function(a,b,c,d,e,f){function g(a){return/h?g&&(g=g.parent.parent):(j=g,g=null)),g&&g.name==b?g.append(a):(j=j||g,g=new e(b,1),f>1&&g.attr("start",""+f),a.wrap(g)),a.name="li",h>k&&j&&j.lastChild.append(g),k=h,d(a),c(a,/^\u00a0+/),c(a,/^\s*([\u2022\u00b7\u00a7\u25CF]|\w+\.)/),c(a,/^\u00a0+/)}for(var g,j,k=1,l=[],m=a.firstChild;"undefined"!=typeof m&&null!==m;)if(l.push(m),m=m.walk(),null!==m)for(;"undefined"!=typeof m&&m.parent!==a;)m=m.walk();for(var n=0;n]+id="?docs-internal-[^>]*>/gi,""),q=q.replace(/
                /gi,""),o=k.paste_retain_style_properties,o&&(p=a.makeMap(o.split(/[, ]/))),k.paste_enable_default_filters!==!1&&g(l.content)){l.wordContent=!0,q=f.filter(q,[//gi,/<(!|script[^>]*>.*?<\/script(?=[>\s])|\/?(\?xml(:\w+)?|img|meta|link|style|\w:\w+)(?=[\s\/>]))[^>]*>/gi,[/<(\/?)s>/gi,"<$1strike>"],[/ /gi,"\xa0"],[/([\s\u00a0]*)<\/span>/gi,function(a,b){return b.length>0?b.replace(/./," ").slice(Math.floor(b.length/2)).split("").join("\xa0"):""}]]);var r=k.paste_word_valid_elements;r||(r="-strong/b,-em/i,-u,-span,-p,-ol,-ul,-li,-h1,-h2,-h3,-h4,-h5,-h6,-p/div,-a[href|name],sub,sup,strike,br,del,table[width],tr,td[colspan|rowspan|width],th[colspan|rowspan|width],thead,tfoot,tbody");var s=new c({valid_elements:r,valid_children:"-li[p]"});a.each(s.elements,function(a){a.attributes["class"]||(a.attributes["class"]={},a.attributesOrder.push("class")),a.attributes.style||(a.attributes.style={},a.attributesOrder.push("style"))});var t=new b({},s);t.addAttributeFilter("style",function(a){for(var b,c=a.length;c--;)b=a[c],b.attr("style",n(b,b.attr("style"))),"span"==b.name&&b.parent&&!b.attributes.length&&b.unwrap()}),t.addAttributeFilter("class",function(a){for(var b,c,d=a.length;d--;)b=a[d],c=b.attr("class"),/^(MsoCommentReference|MsoCommentText|msoDel)$/i.test(c)&&b.remove(),b.attr("class",null)}),t.addNodeFilter("del",function(a){for(var b=a.length;b--;)a[b].remove()}),t.addNodeFilter("a",function(a){for(var b,c,d,e=a.length;e--;)if(b=a[e],c=b.attr("href"),d=b.attr("name"),c&&-1!=c.indexOf("#_msocom_"))b.remove();else if(c&&0===c.indexOf("file://")&&(c=c.split("#")[1],c&&(c="#"+c)),c||d){if(d&&!/^_?(?:toc|edn|ftn)/i.test(d)){b.unwrap();continue}b.attr({href:c,name:d})}else b.unwrap()});var u=t.parse(q);k.paste_convert_word_fake_lists!==!1&&m(u),l.content=new d({},s).serialize(u)}})}return j.isWordContent=g,j}),d("tinymce/pasteplugin/Quirks",["tinymce/Env","tinymce/util/Tools","tinymce/pasteplugin/WordFilter","tinymce/pasteplugin/Utils"],function(a,b,c,d){return function(e){function f(a){e.on("BeforePastePreProcess",function(b){b.content=a(b.content)})}function g(a){if(!c.isWordContent(a))return a;var f=[];b.each(e.schema.getBlockElements(),function(a,b){f.push(b)});var g=new RegExp("(?:
                 [\\s\\r\\n]+|
                )*(<\\/?("+f.join("|")+")[^>]*>)(?:
                 [\\s\\r\\n]+|
                )*","g");return a=d.filter(a,[[g,"$1"]]),a=d.filter(a,[[/

                /g,"

                "],[/
                /g," "],[/

                /g,"
                "]])}function h(a){if(c.isWordContent(a))return a;var b=e.settings.paste_webkit_styles;if(e.settings.paste_remove_styles_if_webkit===!1||"all"==b)return a;if(b&&(b=b.split(/[, ]/)),b){var d=e.dom,f=e.selection.getNode();a=a.replace(/(<[^>]+) style="([^"]*)"([^>]*>)/gi,function(a,c,e,g){var h=d.parseStyle(e,"span"),i={};if("none"===b)return c+g;for(var j=0;j]+) style="([^"]*)"([^>]*>)/gi,"$1$3");return a=a.replace(/(<[^>]+) data-mce-style="([^"]+)"([^>]*>)/gi,function(a,b,c,d){return b+' style="'+c+'"'+d})}a.webkit&&f(h),a.ie&&f(g)}}),d("tinymce/pasteplugin/Plugin",["tinymce/PluginManager","tinymce/pasteplugin/Clipboard","tinymce/pasteplugin/WordFilter","tinymce/pasteplugin/Quirks"],function(a,b,c,d){var e;a.add("paste",function(a){function f(){"text"==g.pasteFormat?(this.active(!1),g.pasteFormat="html"):(g.pasteFormat="text",this.active(!0),e||(a.windowManager.alert("Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off."),e=!0))}var g,h=this,i=a.settings;h.clipboard=g=new b(a),h.quirks=new d(a),h.wordFilter=new c(a),a.settings.paste_as_text&&(h.clipboard.pasteFormat="text"),i.paste_preprocess&&a.on("PastePreProcess",function(a){i.paste_preprocess.call(h,h,a)}),i.paste_postprocess&&a.on("PastePostProcess",function(a){i.paste_postprocess.call(h,h,a)}),a.addCommand("mceInsertClipboardContent",function(a,b){b.content&&h.clipboard.pasteHtml(b.content),b.text&&h.clipboard.pasteText(b.text)}),a.paste_block_drop&&a.on("dragend dragover draggesture dragdrop drop drag",function(a){a.preventDefault(),a.stopPropagation()}),a.settings.paste_data_images||a.on("drop",function(a){var b=a.dataTransfer;b&&b.files&&b.files.length>0&&a.preventDefault()}),a.addButton("pastetext",{icon:"pastetext",tooltip:"Paste as text",onclick:f,active:"text"==h.clipboard.pasteFormat}),a.addMenuItem("pastetext",{text:"Paste as text",selectable:!0,active:g.pasteFormat,onclick:f})})}),f(["tinymce/pasteplugin/Utils"])}(this); \ No newline at end of file +!function(a,b){"use strict";function c(a,b){for(var c,d=[],f=0;f/g]),f(h.parse(e)),i}function f(a){function b(a,b,c){return b||c?"\xa0":" "}return a=d(a,[/^[\s\S]*]*>\s*|\s*<\/body[^>]*>[\s\S]*$/g,/|/g,[/( ?)\u00a0<\/span>( ?)/g,b],/
                $/i])}return{filter:d,innerText:e,trimHtml:f}}),d("tinymce/pasteplugin/Clipboard",["tinymce/Env","tinymce/dom/RangeUtils","tinymce/util/VK","tinymce/pasteplugin/Utils"],function(a,b,c,d){return function(e){function f(a){var b,c=e.dom;if(b=e.fire("BeforePastePreProcess",{content:a}),b=e.fire("PastePreProcess",b),a=b.content,!b.isDefaultPrevented()){if(e.hasEventListeners("PastePostProcess")&&!b.isDefaultPrevented()){var d=c.add(e.getBody(),"div",{style:"display:none"},a);b=e.fire("PastePostProcess",{node:d}),c.remove(d),a=b.node.innerHTML}b.isDefaultPrevented()||e.insertContent(a,{merge:e.settings.paste_merge_formats!==!1,data:{paste:!0}})}}function g(a){a=e.dom.encode(a).replace(/\r\n/g,"\n");var b,c=e.dom.getParent(e.selection.getStart(),e.dom.isBlock),g=e.settings.forced_root_block;g&&(b=e.dom.createHTML(g,e.settings.forced_root_block_attrs),b=b.substr(0,b.length-3)+">"),c&&/^(PRE|DIV)$/.test(c.nodeName)||!g?a=d.filter(a,[[/\n/g,"
                "]]):(a=d.filter(a,[[/\n\n/g,"

                "+b],[/^(.*<\/p>)(

                )$/,b+"$1"],[/\n/g,"
                "]]),-1!=a.indexOf("

                ")&&(a=b+a)),f(a)}function h(){function b(a){var b,c,e,f=a.startContainer;if(b=a.getClientRects(),b.length)return b[0];if(a.collapsed&&1==f.nodeType){for(e=f.childNodes[v.startOffset];e&&3==e.nodeType&&!e.data.length;)e=e.nextSibling;if(e)return"BR"==e.tagName&&(c=d.doc.createTextNode("\ufeff"),e.parentNode.insertBefore(c,e),a=d.createRng(),a.setStartBefore(c),a.setEndAfter(c),b=a.getClientRects(),d.remove(c)),b.length?b[0]:void 0}}var c,d=e.dom,f=e.getBody(),g=e.dom.getViewPort(e.getWin()),h=g.y,i=20;if(v=e.selection.getRng(),e.inline&&(c=e.selection.getScrollContainer(),c&&c.scrollTop>0&&(h=c.scrollTop)),v.getClientRects){var j=b(v);if(j)i=h+(j.top-d.getPos(f).y);else{i=h;var k=v.startContainer;k&&(3==k.nodeType&&k.parentNode!=f&&(k=k.parentNode),1==k.nodeType&&(i=d.getPos(k,c||f).y))}}u=d.add(e.getBody(),"div",{id:"mcepastebin",contentEditable:!0,"data-mce-bogus":"all",style:"position: absolute; top: "+i+"px;width: 10px; height: 10px; overflow: hidden; opacity: 0"},A),(a.ie||a.gecko)&&d.setStyle(u,"left","rtl"==d.getStyle(f,"direction",!0)?65535:-65535),d.bind(u,"beforedeactivate focusin focusout",function(a){a.stopPropagation()}),u.focus(),e.selection.select(u,!0)}function i(){if(u){for(var a;a=e.dom.get("mcepastebin");)e.dom.remove(a),e.dom.unbind(a);v&&e.selection.setRng(v)}u=v=null}function j(){var a,b,c,d,f="";for(a=e.dom.select("div[id=mcepastebin]"),b=0;b>8);return decodeURIComponent(escape(c))}function l(a){var b,c,d;return c="",b=a.indexOf(c),-1!==b&&(a=a.substr(b+c.length)),d="",b=a.indexOf(d),-1!==b&&(a=a.substr(0,b)),a}function m(a){var b={};if(a){if(a.getData){var c=a.getData("Text");c&&c.length>0&&-1==c.indexOf(B)&&(b["text/plain"]=c)}if(a.types)for(var d=0;d')}var g,h,i,j=!1;if(c)for(g=0;g0}function s(a){return c.metaKeyPressed(a)&&86==a.keyCode||a.shiftKey&&45==a.keyCode}function t(){e.on("keydown",function(b){function c(a){s(a)&&!a.isDefaultPrevented()&&i()}if(s(b)&&!b.isDefaultPrevented()){if(w=b.shiftKey&&86==b.keyCode,w&&a.webkit&&-1!=navigator.userAgent.indexOf("Version/"))return;if(b.stopImmediatePropagation(),y=(new Date).getTime(),a.ie&&w)return b.preventDefault(),void e.fire("paste",{ieFake:!0});i(),h(),e.once("keyup",c),e.once("paste",function(){e.off("keyup",c)})}}),e.on("paste",function(b){var c=(new Date).getTime(),k=n(b),l=(new Date).getTime()-c,m=(new Date).getTime()-y-l<1e3,q="text"==x.pasteFormat||w;return w=!1,b.isDefaultPrevented()||p(b)?void i():o(b)?void i():(m||b.preventDefault(),!a.ie||m&&!b.ieFake||(h(),e.dom.bind(u,"paste",function(a){a.stopPropagation()}),e.getDoc().execCommand("Paste",!1,null),k["text/html"]=j()),void setTimeout(function(){var a;return r(k,"text/html")?a=k["text/html"]:(a=j(),a==A&&(q=!0)),a=d.trimHtml(a),u&&u.firstChild&&"mcepastebin"===u.firstChild.id&&(q=!0),i(),a.length||(q=!0),q&&(a=r(k,"text/plain")&&-1==a.indexOf("

                ")?k["text/plain"]:d.innerText(a)),a==A?void(m||e.windowManager.alert("Please use Ctrl+V/Cmd+V keyboard shortcuts to paste contents.")):void(q?g(a):f(a))},0))}),e.on("dragstart dragend",function(a){z="dragstart"==a.type}),e.on("drop",function(a){var b=q(a);if(!a.isDefaultPrevented()&&!z&&!o(a,b)&&b&&e.settings.paste_filter_drop!==!1){var c=m(a.dataTransfer),h=c["mce-internal"]||c["text/html"]||c["text/plain"];h&&(a.preventDefault(),e.undoManager.transact(function(){c["mce-internal"]&&e.execCommand("Delete"),e.selection.setRng(b),h=d.trimHtml(h),c["text/html"]?f(h):g(h)}))}}),e.on("dragover dragend",function(a){e.settings.paste_data_images&&a.preventDefault()})}var u,v,w,x=this,y=0,z=!1,A="%MCEPASTEBIN%",B="data:text/mce-internal,";x.pasteHtml=f,x.pasteText=g,e.on("preInit",function(){t(),e.parser.addNodeFilter("img",function(b,c,d){function f(a){return a.data&&a.data.paste===!0}function g(b){b.attr("data-mce-object")||k===a.transparentSrc||b.remove()}function h(a){return 0===a.indexOf("webkit-fake-url")}function i(a){return 0===a.indexOf("data:")}if(!e.settings.paste_data_images&&f(d))for(var j=b.length;j--;){var k=b[j].attributes.map.src;k&&(h(k)?g(b[j]):!e.settings.allow_html_data_urls&&i(k)&&g(b[j]))}})})}}),d("tinymce/pasteplugin/WordFilter",["tinymce/util/Tools","tinymce/html/DomParser","tinymce/html/Schema","tinymce/html/Serializer","tinymce/html/Node","tinymce/pasteplugin/Utils"],function(a,b,c,d,e,f){function g(a){return/h?g&&(g=g.parent.parent):(j=g,g=null)),g&&g.name==b?g.append(a):(j=j||g,g=new e(b,1),f>1&&g.attr("start",""+f),a.wrap(g)),a.name="li",h>k&&j&&j.lastChild.append(g),k=h,d(a),c(a,/^\u00a0+/),c(a,/^\s*([\u2022\u00b7\u00a7\u25CF]|\w+\.)/),c(a,/^\u00a0+/)}for(var g,j,k=1,l=[],m=a.firstChild;"undefined"!=typeof m&&null!==m;)if(l.push(m),m=m.walk(),null!==m)for(;"undefined"!=typeof m&&m.parent!==a;)m=m.walk();for(var n=0;n]+id="?docs-internal-[^>]*>/gi,""),q=q.replace(/
                /gi,""),o=k.paste_retain_style_properties,o&&(p=a.makeMap(o.split(/[, ]/))),k.paste_enable_default_filters!==!1&&g(l.content)){l.wordContent=!0,q=f.filter(q,[//gi,/<(!|script[^>]*>.*?<\/script(?=[>\s])|\/?(\?xml(:\w+)?|img|meta|link|style|\w:\w+)(?=[\s\/>]))[^>]*>/gi,[/<(\/?)s>/gi,"<$1strike>"],[/ /gi,"\xa0"],[/([\s\u00a0]*)<\/span>/gi,function(a,b){return b.length>0?b.replace(/./," ").slice(Math.floor(b.length/2)).split("").join("\xa0"):""}]]);var r=k.paste_word_valid_elements;r||(r="-strong/b,-em/i,-u,-span,-p,-ol,-ul,-li,-h1,-h2,-h3,-h4,-h5,-h6,-p/div,-a[href|name],sub,sup,strike,br,del,table[width],tr,td[colspan|rowspan|width],th[colspan|rowspan|width],thead,tfoot,tbody");var s=new c({valid_elements:r,valid_children:"-li[p]"});a.each(s.elements,function(a){a.attributes["class"]||(a.attributes["class"]={},a.attributesOrder.push("class")),a.attributes.style||(a.attributes.style={},a.attributesOrder.push("style"))});var t=new b({},s);t.addAttributeFilter("style",function(a){for(var b,c=a.length;c--;)b=a[c],b.attr("style",n(b,b.attr("style"))),"span"==b.name&&b.parent&&!b.attributes.length&&b.unwrap()}),t.addAttributeFilter("class",function(a){for(var b,c,d=a.length;d--;)b=a[d],c=b.attr("class"),/^(MsoCommentReference|MsoCommentText|msoDel)$/i.test(c)&&b.remove(),b.attr("class",null)}),t.addNodeFilter("del",function(a){for(var b=a.length;b--;)a[b].remove()}),t.addNodeFilter("a",function(a){for(var b,c,d,e=a.length;e--;)if(b=a[e],c=b.attr("href"),d=b.attr("name"),c&&-1!=c.indexOf("#_msocom_"))b.remove();else if(c&&0===c.indexOf("file://")&&(c=c.split("#")[1],c&&(c="#"+c)),c||d){if(d&&!/^_?(?:toc|edn|ftn)/i.test(d)){b.unwrap();continue}b.attr({href:c,name:d})}else b.unwrap()});var u=t.parse(q);k.paste_convert_word_fake_lists!==!1&&m(u),l.content=new d({validate:k.validate},s).serialize(u)}})}return j.isWordContent=g,j}),d("tinymce/pasteplugin/Quirks",["tinymce/Env","tinymce/util/Tools","tinymce/pasteplugin/WordFilter","tinymce/pasteplugin/Utils"],function(a,b,c,d){return function(e){function f(a){e.on("BeforePastePreProcess",function(b){b.content=a(b.content)})}function g(a){if(!c.isWordContent(a))return a;var f=[];b.each(e.schema.getBlockElements(),function(a,b){f.push(b)});var g=new RegExp("(?:
                 [\\s\\r\\n]+|
                )*(<\\/?("+f.join("|")+")[^>]*>)(?:
                 [\\s\\r\\n]+|
                )*","g");return a=d.filter(a,[[g,"$1"]]),a=d.filter(a,[[/

                /g,"

                "],[/
                /g," "],[/

                /g,"
                "]])}function h(a){if(c.isWordContent(a))return a;var b=e.settings.paste_webkit_styles;if(e.settings.paste_remove_styles_if_webkit===!1||"all"==b)return a;if(b&&(b=b.split(/[, ]/)),b){var d=e.dom,f=e.selection.getNode();a=a.replace(/(<[^>]+) style="([^"]*)"([^>]*>)/gi,function(a,c,e,g){var h=d.parseStyle(e,"span"),i={};if("none"===b)return c+g;for(var j=0;j]+) style="([^"]*)"([^>]*>)/gi,"$1$3");return a=a.replace(/(<[^>]+) data-mce-style="([^"]+)"([^>]*>)/gi,function(a,b,c,d){return b+' style="'+c+'"'+d})}a.webkit&&f(h),a.ie&&f(g)}}),d("tinymce/pasteplugin/Plugin",["tinymce/PluginManager","tinymce/pasteplugin/Clipboard","tinymce/pasteplugin/WordFilter","tinymce/pasteplugin/Quirks"],function(a,b,c,d){var e;a.add("paste",function(a){function f(){"text"==g.pasteFormat?(this.active(!1),g.pasteFormat="html"):(g.pasteFormat="text",this.active(!0),e||(a.windowManager.alert("Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off."),e=!0))}var g,h=this,i=a.settings;h.clipboard=g=new b(a),h.quirks=new d(a),h.wordFilter=new c(a),a.settings.paste_as_text&&(h.clipboard.pasteFormat="text"),i.paste_preprocess&&a.on("PastePreProcess",function(a){i.paste_preprocess.call(h,h,a)}),i.paste_postprocess&&a.on("PastePostProcess",function(a){i.paste_postprocess.call(h,h,a)}),a.addCommand("mceInsertClipboardContent",function(a,b){b.content&&h.clipboard.pasteHtml(b.content),b.text&&h.clipboard.pasteText(b.text)}),a.paste_block_drop&&a.on("dragend dragover draggesture dragdrop drop drag",function(a){a.preventDefault(),a.stopPropagation()}),a.settings.paste_data_images||a.on("drop",function(a){var b=a.dataTransfer;b&&b.files&&b.files.length>0&&a.preventDefault()}),a.addButton("pastetext",{icon:"pastetext",tooltip:"Paste as text",onclick:f,active:"text"==h.clipboard.pasteFormat}),a.addMenuItem("pastetext",{text:"Paste as text",selectable:!0,active:g.pasteFormat,onclick:f})})}),f(["tinymce/pasteplugin/Utils"])}(this); \ No newline at end of file diff --git a/wp-includes/js/tinymce/plugins/wordpress/plugin.js b/wp-includes/js/tinymce/plugins/wordpress/plugin.js index 64a80c2..8e4d5b6 100644 --- a/wp-includes/js/tinymce/plugins/wordpress/plugin.js +++ b/wp-includes/js/tinymce/plugins/wordpress/plugin.js @@ -100,7 +100,7 @@ tinymce.PluginManager.add( 'wordpress', function( editor ) { event.content = event.content.replace( //g, function( match, moretext ) { return ''; + 'class="wp-more-tag mce-wp-more" alt="" title="' + title + '" data-mce-resize="false" data-mce-placeholder="1" />'; }); } @@ -109,7 +109,7 @@ tinymce.PluginManager.add( 'wordpress', function( editor ) { event.content = event.content.replace( //g, '' ); + 'alt="" title="' + title + '" data-mce-resize="false" data-mce-placeholder="1" />' ); } if ( event.load && event.format !== 'raw' && hasWpautop ) { @@ -162,7 +162,7 @@ tinymce.PluginManager.add( 'wordpress', function( editor ) { classname += ' mce-wp-' + tag; title = tag === 'more' ? 'Read more...' : 'Next page'; title = __( title ); - html = ''; // Most common case @@ -428,6 +428,8 @@ tinymce.PluginManager.add( 'wordpress', function( editor ) { dom.setAttrib( doc.documentElement, 'dir', 'rtl' ); } + dom.setAttrib( doc.documentElement, 'lang', editor.getParam( 'wp_lang_attr' ) ); + if ( env.ie ) { if ( parseInt( env.ie, 10 ) === 9 ) { bodyClass.push('ie9'); @@ -470,16 +472,19 @@ tinymce.PluginManager.add( 'wordpress', function( editor ) { } if ( editor.getParam( 'wp_paste_filters', true ) ) { - if ( ! tinymce.Env.webkit ) { - // In WebKit handled by removeWebKitStyles() - editor.on( 'PastePreProcess', function( event ) { + editor.on( 'PastePreProcess', function( event ) { + // Remove trailing
                added by WebKit browsers to the clipboard + event.content = event.content.replace( /
                /gi, '' ); + + // In WebKit this is handled by removeWebKitStyles() + if ( ! tinymce.Env.webkit ) { // Remove all inline styles event.content = event.content.replace( /(<[^>]+) style="[^"]*"([^>]*>)/gi, '$1$2' ); // Put back the internal styles event.content = event.content.replace(/(<[^>]+) data-mce-style=([^>]+>)/gi, '$1 style=$2' ); - }); - } + } + }); editor.on( 'PastePostProcess', function( event ) { // Remove empty paragraphs @@ -734,32 +739,40 @@ tinymce.PluginManager.add( 'wordpress', function( editor ) { spaceBottom = windowHeight - iframeRect.top - selection.bottom - blockedBottom, editorHeight = windowHeight - blockedTop - blockedBottom, className = '', + iosOffsetTop = 0, + iosOffsetBottom = 0, top, left; if ( spaceTop >= editorHeight || spaceBottom >= editorHeight ) { return this.hide(); } + // Add offset in iOS to move the menu over the image, out of the way of the default iOS menu. + if ( tinymce.Env.iOS && currentSelection.nodeName === 'IMG' ) { + iosOffsetTop = 54; + iosOffsetBottom = 46; + } + if ( this.bottom ) { if ( spaceBottom >= spaceNeeded ) { className = ' mce-arrow-up'; - top = selection.bottom + iframeRect.top + scrollY; + top = selection.bottom + iframeRect.top + scrollY - iosOffsetBottom; } else if ( spaceTop >= spaceNeeded ) { className = ' mce-arrow-down'; - top = selection.top + iframeRect.top + scrollY - toolbarHeight - margin; + top = selection.top + iframeRect.top + scrollY - toolbarHeight - margin + iosOffsetTop; } } else { if ( spaceTop >= spaceNeeded ) { className = ' mce-arrow-down'; - top = selection.top + iframeRect.top + scrollY - toolbarHeight - margin; + top = selection.top + iframeRect.top + scrollY - toolbarHeight - margin + iosOffsetTop; } else if ( spaceBottom >= spaceNeeded && editorHeight / 2 > selection.bottom + iframeRect.top - blockedTop ) { className = ' mce-arrow-up'; - top = selection.bottom + iframeRect.top + scrollY; + top = selection.bottom + iframeRect.top + scrollY - iosOffsetBottom; } } if ( typeof top === 'undefined' ) { - top = scrollY + blockedTop + buffer; + top = scrollY + blockedTop + buffer + iosOffsetBottom; } left = selectionMiddle - toolbarWidth / 2 + iframeRect.left + scrollX; @@ -779,6 +792,11 @@ tinymce.PluginManager.add( 'wordpress', function( editor ) { left = selection.right - toolbarWidth + iframeRect.left + scrollX; } + // No up/down arrows on the menu over images in iOS. + if ( tinymce.Env.iOS && currentSelection.nodeName === 'IMG' ) { + className = className.replace( / ?mce-arrow-(up|down)/g, '' ); + } + toolbar.className = toolbar.className.replace( / ?mce-arrow-[\w]+/g, '' ) + className; DOM.setStyles( toolbar, { diff --git a/wp-includes/js/tinymce/plugins/wordpress/plugin.min.js b/wp-includes/js/tinymce/plugins/wordpress/plugin.min.js index 92e653d..e7cc6bf 100644 --- a/wp-includes/js/tinymce/plugins/wordpress/plugin.min.js +++ b/wp-includes/js/tinymce/plugins/wordpress/plugin.min.js @@ -1 +1 @@ -!function(a){a.ui.FloatPanel.zIndex=100100,a.PluginManager.add("wordpress",function(b){function c(c){var d,f,i,j=0;f="hide"===c,b.theme.panel&&(i=b.theme.panel.find(".toolbar:not(.menubar)")),!i||i.length<2||"hide"===c&&!i[1].visible()||(!c&&i[1].visible()&&(c="hide"),h(i,function(a,b){b>0&&("hide"===c?(a.hide(),j+=30):(a.show(),j-=30))}),j&&!f&&(a.Env.iOS||(d=b.getContentAreaContainer().firstChild,g.setStyle(d,"height",d.clientHeight+j)),"hide"===c?(setUserSetting("hidetb","0"),e&&e.active(!1)):(setUserSetting("hidetb","1"),e&&e.active(!0))),b.fire("wp-toolbar-toggle"))}function d(){}var e,f,g=a.DOM,h=a.each,i=b.editorManager.i18n.translate,j=window.jQuery,k=window.wp,l=k&&k.editor&&k.editor.autop&&b.getParam("wpautop",!0);return j&&j(document).triggerHandler("tinymce-editor-setup",[b]),b.addButton("wp_adv",{tooltip:"Toolbar Toggle",cmd:"WP_Adv",onPostRender:function(){e=this,e.active("1"===getUserSetting("hidetb")?!0:!1)}}),b.on("PostRender",function(){b.getParam("wordpress_adv_hidden",!0)&&"0"===getUserSetting("hidetb","0")&&c("hide")}),b.addCommand("WP_Adv",function(){c()}),b.on("focus",function(){window.wpActiveEditor=b.id}),b.on("BeforeSetContent",function(b){var c;b.content&&(-1!==b.content.indexOf("/g,function(b,d){return''})),-1!==b.content.indexOf("")&&(c=i("Page break"),b.content=b.content.replace(//g,'')),b.load&&"raw"!==b.format&&l&&(b.content=k.editor.autop(b.content)),b.content=b.content.replace(/

                (?: |\u00a0|\uFEFF|\s)+<\/p>/gi,"


                "))}),b.on("PostProcess",function(a){a.get&&(a.content=a.content.replace(/]+>/g,function(a){var b,c="";return-1!==a.indexOf('data-wp-more="more"')?((b=a.match(/data-wp-more-text="([^"]+)"/))&&(c=b[1]),a=""):-1!==a.indexOf('data-wp-more="nextpage"')&&(a=""),a}))}),b.on("ResolveName",function(a){var c;"IMG"===a.target.nodeName&&(c=b.dom.getAttrib(a.target,"data-wp-more"))&&(a.name=c)}),b.addCommand("WP_More",function(c){var d,e,f,g="wp-more-tag",h=b.dom,j=b.selection.getNode();return c=c||"more",g+=" mce-wp-"+c,f="more"===c?"Read more...":"Next page",f=i(f),e='',"BODY"===j.nodeName||"P"===j.nodeName&&"BODY"===j.parentNode.nodeName?void b.insertContent(e):(d=h.getParent(j,function(a){return a.parentNode&&"BODY"===a.parentNode.nodeName?!0:!1},b.getBody()),void(d&&("P"===d.nodeName?d.appendChild(h.create("p",null,e).firstChild):h.insertAfter(h.create("p",null,e),d),b.nodeChanged())))}),b.addCommand("WP_Code",function(){b.formatter.toggle("code")}),b.addCommand("WP_Page",function(){b.execCommand("WP_More","nextpage")}),b.addCommand("WP_Help",function(){function c(a){var b="";return h(a,function(a,c){b+=a?""+c+""+i(a)+"":""}),b+""}var d,e,f,g,j=i(a.Env.mac?"Ctrl + Alt + letter:":"Shift + Alt + letter:"),k=i(a.Env.mac?"Cmd + letter:":"Ctrl + letter:"),l=[],m=[];h([{c:"Copy",x:"Cut"},{v:"Paste",a:"Select all"},{z:"Undo",y:"Redo"},{b:"Bold",i:"Italic"},{u:"Underline",k:"Insert/edit link"}],function(a){l.push(c(a))}),h([{1:"Heading 1",2:"Heading 2"},{3:"Heading 3",4:"Heading 4"},{5:"Heading 5",6:"Heading 6"},{l:"Align left",c:"Align center"},{r:"Align right",j:"Justify"},{d:"Strikethrough",q:"Blockquote"},{u:"Bullet list",o:"Numbered list"},{a:"Insert/edit link",s:"Remove link"},{m:"Insert/edit image",t:"Insert Read More tag"},{h:"Keyboard Shortcuts",x:"Code"},{p:"Insert Page Break tag",w:"Distraction-free writing mode"}],function(a){m.push(c(a))}),d=[i("Letter"),i("Action"),i("Letter"),i("Action")],d=""+d.join("")+"",e='
                ',e=e+"

                "+i("Default shortcuts,")+" "+k+'

                '+d+l.join("")+"

                "+i("Additional shortcuts,")+" "+j+'

                '+d+m.join("")+"
                ",b.plugins.wptextpattern&&(e=e+"

                "+i("When starting a new paragraph with one of these formatting shortcuts followed by a space, the formatting will be applied automatically. Press Backspace or Escape to undo.")+"

                "+c({"*":"Bullet list"})+c({"-":"Bullet list"})+c({"1.":"Numbered list"})+c({"1)":"Numbered list"})+"
                ",e=e+"

                "+i("The following formatting shortcuts are replaced when pressing Enter. Press Escape or the Undo button to undo.")+"

                "+c({">":"Blockquote"})+c({"##":"Heading 2"})+c({"###":"Heading 3"})+c({"####":"Heading 4"})+c({"#####":"Heading 5"})+c({"######":"Heading 6"})+"
                "),e=e+"

                "+i("Focus shortcuts:")+"

                "+c({"Alt + F8":"Inline toolbar (when an image, link or preview is selected)"})+c({"Alt + F9":"Editor menu (when enabled)"})+c({"Alt + F10":"Editor toolbar"})+c({"Alt + F11":"Elements path"})+"

                "+i("To move focus to other buttons use Tab or the arrow keys. To return focus to the editor press Escape or use one of the buttons.")+"

                ",e+="
                ",f=b.windowManager.open({title:"Keyboard Shortcuts",items:{type:"container",classes:"wp-help",html:e},buttons:{text:"Close",onclick:"close"}}),f.$el&&(f.$el.find('div[role="application"]').attr("role","document"),g=f.$el.find(".mce-wp-help"),g[0]&&(g.attr("tabindex","0"),g[0].focus(),g.on("keydown",function(a){a.keyCode>=33&&a.keyCode<=40&&a.stopPropagation()})))}),b.addCommand("WP_Medialib",function(){k&&k.media&&k.media.editor&&k.media.editor.open(b.id)}),b.addButton("wp_more",{tooltip:"Insert Read More tag",onclick:function(){b.execCommand("WP_More","more")}}),b.addButton("wp_page",{tooltip:"Page break",onclick:function(){b.execCommand("WP_More","nextpage")}}),b.addButton("wp_help",{tooltip:"Keyboard Shortcuts",cmd:"WP_Help"}),b.addButton("wp_code",{tooltip:"Code",cmd:"WP_Code",stateSelector:"code"}),k&&k.media&&k.media.editor&&b.addMenuItem("add_media",{text:"Add Media",icon:"wp-media-library",context:"insert",cmd:"WP_Medialib"}),b.addMenuItem("wp_more",{text:"Insert Read More tag",icon:"wp_more",context:"insert",onclick:function(){b.execCommand("WP_More","more")}}),b.addMenuItem("wp_page",{text:"Page break",icon:"wp_page",context:"insert",onclick:function(){b.execCommand("WP_More","nextpage")}}),b.on("BeforeExecCommand",function(c){!a.Env.webkit||"InsertUnorderedList"!==c.command&&"InsertOrderedList"!==c.command||(f||(f=b.dom.create("style",{type:"text/css"},"#tinymce,#tinymce span,#tinymce li,#tinymce li>span,#tinymce p,#tinymce p>span{font:medium sans-serif;color:#000;line-height:normal;}")),b.getDoc().head.appendChild(f))}),b.on("ExecCommand",function(c){a.Env.webkit&&f&&("InsertUnorderedList"===c.command||"InsertOrderedList"===c.command)&&b.dom.remove(f)}),b.on("init",function(){var c=a.Env,d=["mceContentBody"],e=b.getDoc(),f=b.dom;c.iOS&&f.addClass(e.documentElement,"ios"),"rtl"===b.getParam("directionality")&&(d.push("rtl"),f.setAttrib(e.documentElement,"dir","rtl")),c.ie?9===parseInt(c.ie,10)?d.push("ie9"):8===parseInt(c.ie,10)?d.push("ie8"):c.ie<8&&d.push("ie7"):c.webkit&&d.push("webkit"),d.push("wp-editor"),h(d,function(a){a&&f.addClass(e.body,a)}),b.on("BeforeSetContent",function(a){a.content&&(a.content=a.content.replace(/

                \s*<(p|div|ul|ol|dl|table|blockquote|h[1-6]|fieldset|pre)( [^>]*)?>/gi,"<$1$2>").replace(/<\/(p|div|ul|ol|dl|table|blockquote|h[1-6]|fieldset|pre)>\s*<\/p>/gi,""))}),j&&j(document).triggerHandler("tinymce-editor-init",[b]),window.tinyMCEPreInit&&window.tinyMCEPreInit.dragDropUpload&&f.bind(e,"dragstart dragend dragover drop",function(a){j&&j(document).trigger(new j.Event(a))}),b.getParam("wp_paste_filters",!0)&&(a.Env.webkit||b.on("PastePreProcess",function(a){a.content=a.content.replace(/(<[^>]+) style="[^"]*"([^>]*>)/gi,"$1$2"),a.content=a.content.replace(/(<[^>]+) data-mce-style=([^>]+>)/gi,"$1 style=$2")}),b.on("PastePostProcess",function(a){h(f.select("p",a.node),function(a){f.isEmpty(a)&&f.remove(a)})}))}),b.on("SaveContent",function(a){return!b.inline&&b.isHidden()?void(a.content=a.element.value):(a.content=a.content.replace(/

                (?:
                |\u00a0|\uFEFF| )*<\/p>/g,"

                 

                "),void(l&&(a.content=k.editor.removep(a.content))))}),b.on("preInit",function(){var c="@[id|accesskey|class|dir|lang|style|tabindex|title|contenteditable|draggable|dropzone|hidden|spellcheck|translate],i,b,script[src|async|defer|type|charset|crossorigin|integrity]";b.schema.addValidElements(c),a.Env.iOS&&(b.settings.height=300),h({c:"JustifyCenter",r:"JustifyRight",l:"JustifyLeft",j:"JustifyFull",q:"mceBlockQuote",u:"InsertUnorderedList",o:"InsertOrderedList",s:"unlink",m:"WP_Medialib",z:"WP_Adv",t:"WP_More",d:"Strikethrough",h:"WP_Help",p:"WP_Page",x:"WP_Code"},function(a,c){b.shortcuts.add("access+"+c,"",a)}),b.addShortcut("meta+s","",function(){k&&k.autosave&&k.autosave.server.triggerSave()})}),b.on("preinit",function(){function c(a,c){function d(){if(!f)return this;var a,b,c=window.pageXOffset||document.documentElement.scrollLeft,d=window.pageYOffset||document.documentElement.scrollTop,e=window.innerWidth,h=window.innerHeight,i=q?q.getBoundingClientRect():{top:0,right:e,bottom:h,left:0,width:e,height:h},m=this.getEl(),n=m.offsetWidth,o=m.offsetHeight,r=f.getBoundingClientRect(),s=(r.left+r.right)/2,t=5,u=8,v=o+u+t,w=p?p.getBoundingClientRect().bottom:0,x=j?j.getBoundingClientRect().bottom:0,y=k?h-k.getBoundingClientRect().top:0,z=l?h-l.getBoundingClientRect().top:0,A=Math.max(0,w,x,i.top),B=Math.max(0,y,z,h-i.bottom),C=r.top+i.top-A,D=h-i.top-r.bottom-B,E=h-A-B,F="";return C>=E||D>=E?this.hide():(this.bottom?D>=v?(F=" mce-arrow-up",a=r.bottom+i.top+d):C>=v&&(F=" mce-arrow-down",a=r.top+i.top+d-o-u):C>=v?(F=" mce-arrow-down",a=r.top+i.top+d-o-u):D>=v&&E/2>r.bottom+i.top-A&&(F=" mce-arrow-up",a=r.bottom+i.top+d),"undefined"==typeof a&&(a=d+A+t),b=s-n/2+i.left+c,r.left<0||r.right>i.width?b=i.left+c+(i.width-n)/2:n>=e?(F+=" mce-arrow-full",b=0):0>b&&r.left+n>e||b+n>e&&r.right-n<0?b=(e-n)/2:bi.width+i.left+c&&(F+=" mce-arrow-right",b=r.right-n+i.left+c),m.className=m.className.replace(/ ?mce-arrow-[\w]+/g,"")+F,g.setStyles(m,{left:b,top:a}),this)}var e,i,o=[];return h(a,function(a){function c(){var c=b.selection;"bullist"===d&&c.selectorChanged("ul > li",function(b,c){for(var d,e=c.parents.length;e--&&(d=c.parents[e].nodeName,"OL"!==d&&"UL"!=d););a.active(b&&"UL"===d)}),"numlist"===d&&c.selectorChanged("ol > li",function(b,c){for(var d,e=c.parents.length;e--&&(d=c.parents[e].nodeName,"OL"!==d&&"UL"!==d););a.active(b&&"OL"===d)}),a.settings.stateSelector&&c.selectorChanged(a.settings.stateSelector,function(b){a.active(b)},!0),a.settings.disabledStateSelector&&c.selectorChanged(a.settings.disabledStateSelector,function(b){a.disabled(b)})}var d;"|"===a?i=null:m.has(a)?(a={type:a},n.toolbar_items_size&&(a.size=n.toolbar_items_size),o.push(a),i=null):(i||(i={type:"buttongroup",items:[]},o.push(i)),b.buttons[a]&&(d=a,a=b.buttons[d],"function"==typeof a&&(a=a()),a.type=a.type||"button",n.toolbar_items_size&&(a.size=n.toolbar_items_size),a=m.create(a),i.items.push(a),b.initialized?c():b.on("init",c)))}),e=m.create({type:"panel",layout:"stack",classes:"toolbar-grp inline-toolbar-grp",ariaRoot:!0,ariaRemember:!0,items:[{type:"toolbar",layout:"flow",items:o}]}),e.bottom=c,e.on("show",function(){this.reposition()}),e.on("keydown",function(a){27===a.keyCode&&(this.hide(),b.focus())}),b.on("remove",function(){e.remove()}),e.reposition=d,e.hide().renderTo(document.body),e}function d(a){e&&(e.hide(),"hide"===a.type?e=!1:("resize"===a.type||"scroll"===a.type)&&(clearTimeout(i),i=setTimeout(function(){e&&"function"==typeof e.show&&e.show()},250)))}var e,f,i,j,k,l,m=a.ui.Factory,n=b.settings,o=b.getContainer(),p=document.getElementById("wpadminbar"),q=document.getElementById(b.id+"_ifr");o&&(j=a.$(".mce-toolbar-grp",o)[0],k=a.$(".mce-statusbar",o)[0]),"content"===b.id&&(l=document.getElementById("post-status-info")),b.shortcuts.add("alt+119","",function(){var a;e&&(a=e.find("toolbar")[0],a&&a.focus(!0))}),b.on("nodechange",function(a){var c=b.selection.isCollapsed(),d={element:a.element,parents:a.parents,collapsed:c};b.fire("wptoolbar",d),f=d.selection||d.element,e&&e.hide(),d.toolbar?(e=d.toolbar,e.show()):e=!1}),b.on("focus",function(){e&&e.show()}),g.bind(window,"resize scroll",d),b.dom.bind(b.getWin(),"resize scroll",d),b.on("remove",function(){g.unbind(window,"resize scroll",d),b.dom.unbind(b.getWin(),"resize scroll",d)}),b.on("blur hide",d),b.wp=b.wp||{},b.wp._createToolbar=c},!0),{_showButtons:d,_hideButtons:d,_setEmbed:d,_getEmbed:d}})}(window.tinymce); \ No newline at end of file +!function(a){a.ui.FloatPanel.zIndex=100100,a.PluginManager.add("wordpress",function(b){function c(c){var d,f,i,j=0;f="hide"===c,b.theme.panel&&(i=b.theme.panel.find(".toolbar:not(.menubar)")),!i||i.length<2||"hide"===c&&!i[1].visible()||(!c&&i[1].visible()&&(c="hide"),h(i,function(a,b){b>0&&("hide"===c?(a.hide(),j+=30):(a.show(),j-=30))}),j&&!f&&(a.Env.iOS||(d=b.getContentAreaContainer().firstChild,g.setStyle(d,"height",d.clientHeight+j)),"hide"===c?(setUserSetting("hidetb","0"),e&&e.active(!1)):(setUserSetting("hidetb","1"),e&&e.active(!0))),b.fire("wp-toolbar-toggle"))}function d(){}var e,f,g=a.DOM,h=a.each,i=b.editorManager.i18n.translate,j=window.jQuery,k=window.wp,l=k&&k.editor&&k.editor.autop&&b.getParam("wpautop",!0);return j&&j(document).triggerHandler("tinymce-editor-setup",[b]),b.addButton("wp_adv",{tooltip:"Toolbar Toggle",cmd:"WP_Adv",onPostRender:function(){e=this,e.active("1"===getUserSetting("hidetb")?!0:!1)}}),b.on("PostRender",function(){b.getParam("wordpress_adv_hidden",!0)&&"0"===getUserSetting("hidetb","0")&&c("hide")}),b.addCommand("WP_Adv",function(){c()}),b.on("focus",function(){window.wpActiveEditor=b.id}),b.on("BeforeSetContent",function(b){var c;b.content&&(-1!==b.content.indexOf("/g,function(b,d){return''})),-1!==b.content.indexOf("")&&(c=i("Page break"),b.content=b.content.replace(//g,'')),b.load&&"raw"!==b.format&&l&&(b.content=k.editor.autop(b.content)),b.content=b.content.replace(/

                (?: |\u00a0|\uFEFF|\s)+<\/p>/gi,"


                "))}),b.on("PostProcess",function(a){a.get&&(a.content=a.content.replace(/]+>/g,function(a){var b,c="";return-1!==a.indexOf('data-wp-more="more"')?((b=a.match(/data-wp-more-text="([^"]+)"/))&&(c=b[1]),a=""):-1!==a.indexOf('data-wp-more="nextpage"')&&(a=""),a}))}),b.on("ResolveName",function(a){var c;"IMG"===a.target.nodeName&&(c=b.dom.getAttrib(a.target,"data-wp-more"))&&(a.name=c)}),b.addCommand("WP_More",function(c){var d,e,f,g="wp-more-tag",h=b.dom,j=b.selection.getNode();return c=c||"more",g+=" mce-wp-"+c,f="more"===c?"Read more...":"Next page",f=i(f),e='',"BODY"===j.nodeName||"P"===j.nodeName&&"BODY"===j.parentNode.nodeName?void b.insertContent(e):(d=h.getParent(j,function(a){return a.parentNode&&"BODY"===a.parentNode.nodeName?!0:!1},b.getBody()),void(d&&("P"===d.nodeName?d.appendChild(h.create("p",null,e).firstChild):h.insertAfter(h.create("p",null,e),d),b.nodeChanged())))}),b.addCommand("WP_Code",function(){b.formatter.toggle("code")}),b.addCommand("WP_Page",function(){b.execCommand("WP_More","nextpage")}),b.addCommand("WP_Help",function(){function c(a){var b="";return h(a,function(a,c){b+=a?""+c+""+i(a)+"":""}),b+""}var d,e,f,g,j=i(a.Env.mac?"Ctrl + Alt + letter:":"Shift + Alt + letter:"),k=i(a.Env.mac?"Cmd + letter:":"Ctrl + letter:"),l=[],m=[];h([{c:"Copy",x:"Cut"},{v:"Paste",a:"Select all"},{z:"Undo",y:"Redo"},{b:"Bold",i:"Italic"},{u:"Underline",k:"Insert/edit link"}],function(a){l.push(c(a))}),h([{1:"Heading 1",2:"Heading 2"},{3:"Heading 3",4:"Heading 4"},{5:"Heading 5",6:"Heading 6"},{l:"Align left",c:"Align center"},{r:"Align right",j:"Justify"},{d:"Strikethrough",q:"Blockquote"},{u:"Bullet list",o:"Numbered list"},{a:"Insert/edit link",s:"Remove link"},{m:"Insert/edit image",t:"Insert Read More tag"},{h:"Keyboard Shortcuts",x:"Code"},{p:"Insert Page Break tag",w:"Distraction-free writing mode"}],function(a){m.push(c(a))}),d=[i("Letter"),i("Action"),i("Letter"),i("Action")],d=""+d.join("")+"",e='
                ',e=e+"

                "+i("Default shortcuts,")+" "+k+'

                '+d+l.join("")+"

                "+i("Additional shortcuts,")+" "+j+'

                '+d+m.join("")+"
                ",b.plugins.wptextpattern&&(e=e+"

                "+i("When starting a new paragraph with one of these formatting shortcuts followed by a space, the formatting will be applied automatically. Press Backspace or Escape to undo.")+"

                "+c({"*":"Bullet list"})+c({"-":"Bullet list"})+c({"1.":"Numbered list"})+c({"1)":"Numbered list"})+"
                ",e=e+"

                "+i("The following formatting shortcuts are replaced when pressing Enter. Press Escape or the Undo button to undo.")+"

                "+c({">":"Blockquote"})+c({"##":"Heading 2"})+c({"###":"Heading 3"})+c({"####":"Heading 4"})+c({"#####":"Heading 5"})+c({"######":"Heading 6"})+"
                "),e=e+"

                "+i("Focus shortcuts:")+"

                "+c({"Alt + F8":"Inline toolbar (when an image, link or preview is selected)"})+c({"Alt + F9":"Editor menu (when enabled)"})+c({"Alt + F10":"Editor toolbar"})+c({"Alt + F11":"Elements path"})+"

                "+i("To move focus to other buttons use Tab or the arrow keys. To return focus to the editor press Escape or use one of the buttons.")+"

                ",e+="
                ",f=b.windowManager.open({title:"Keyboard Shortcuts",items:{type:"container",classes:"wp-help",html:e},buttons:{text:"Close",onclick:"close"}}),f.$el&&(f.$el.find('div[role="application"]').attr("role","document"),g=f.$el.find(".mce-wp-help"),g[0]&&(g.attr("tabindex","0"),g[0].focus(),g.on("keydown",function(a){a.keyCode>=33&&a.keyCode<=40&&a.stopPropagation()})))}),b.addCommand("WP_Medialib",function(){k&&k.media&&k.media.editor&&k.media.editor.open(b.id)}),b.addButton("wp_more",{tooltip:"Insert Read More tag",onclick:function(){b.execCommand("WP_More","more")}}),b.addButton("wp_page",{tooltip:"Page break",onclick:function(){b.execCommand("WP_More","nextpage")}}),b.addButton("wp_help",{tooltip:"Keyboard Shortcuts",cmd:"WP_Help"}),b.addButton("wp_code",{tooltip:"Code",cmd:"WP_Code",stateSelector:"code"}),k&&k.media&&k.media.editor&&b.addMenuItem("add_media",{text:"Add Media",icon:"wp-media-library",context:"insert",cmd:"WP_Medialib"}),b.addMenuItem("wp_more",{text:"Insert Read More tag",icon:"wp_more",context:"insert",onclick:function(){b.execCommand("WP_More","more")}}),b.addMenuItem("wp_page",{text:"Page break",icon:"wp_page",context:"insert",onclick:function(){b.execCommand("WP_More","nextpage")}}),b.on("BeforeExecCommand",function(c){!a.Env.webkit||"InsertUnorderedList"!==c.command&&"InsertOrderedList"!==c.command||(f||(f=b.dom.create("style",{type:"text/css"},"#tinymce,#tinymce span,#tinymce li,#tinymce li>span,#tinymce p,#tinymce p>span{font:medium sans-serif;color:#000;line-height:normal;}")),b.getDoc().head.appendChild(f))}),b.on("ExecCommand",function(c){a.Env.webkit&&f&&("InsertUnorderedList"===c.command||"InsertOrderedList"===c.command)&&b.dom.remove(f)}),b.on("init",function(){var c=a.Env,d=["mceContentBody"],e=b.getDoc(),f=b.dom;c.iOS&&f.addClass(e.documentElement,"ios"),"rtl"===b.getParam("directionality")&&(d.push("rtl"),f.setAttrib(e.documentElement,"dir","rtl")),f.setAttrib(e.documentElement,"lang",b.getParam("wp_lang_attr")),c.ie?9===parseInt(c.ie,10)?d.push("ie9"):8===parseInt(c.ie,10)?d.push("ie8"):c.ie<8&&d.push("ie7"):c.webkit&&d.push("webkit"),d.push("wp-editor"),h(d,function(a){a&&f.addClass(e.body,a)}),b.on("BeforeSetContent",function(a){a.content&&(a.content=a.content.replace(/

                \s*<(p|div|ul|ol|dl|table|blockquote|h[1-6]|fieldset|pre)( [^>]*)?>/gi,"<$1$2>").replace(/<\/(p|div|ul|ol|dl|table|blockquote|h[1-6]|fieldset|pre)>\s*<\/p>/gi,""))}),j&&j(document).triggerHandler("tinymce-editor-init",[b]),window.tinyMCEPreInit&&window.tinyMCEPreInit.dragDropUpload&&f.bind(e,"dragstart dragend dragover drop",function(a){j&&j(document).trigger(new j.Event(a))}),b.getParam("wp_paste_filters",!0)&&(b.on("PastePreProcess",function(b){b.content=b.content.replace(/
                /gi,""),a.Env.webkit||(b.content=b.content.replace(/(<[^>]+) style="[^"]*"([^>]*>)/gi,"$1$2"),b.content=b.content.replace(/(<[^>]+) data-mce-style=([^>]+>)/gi,"$1 style=$2"))}),b.on("PastePostProcess",function(a){h(f.select("p",a.node),function(a){f.isEmpty(a)&&f.remove(a)})}))}),b.on("SaveContent",function(a){return!b.inline&&b.isHidden()?void(a.content=a.element.value):(a.content=a.content.replace(/

                (?:
                |\u00a0|\uFEFF| )*<\/p>/g,"

                 

                "),void(l&&(a.content=k.editor.removep(a.content))))}),b.on("preInit",function(){var c="@[id|accesskey|class|dir|lang|style|tabindex|title|contenteditable|draggable|dropzone|hidden|spellcheck|translate],i,b,script[src|async|defer|type|charset|crossorigin|integrity]";b.schema.addValidElements(c),a.Env.iOS&&(b.settings.height=300),h({c:"JustifyCenter",r:"JustifyRight",l:"JustifyLeft",j:"JustifyFull",q:"mceBlockQuote",u:"InsertUnorderedList",o:"InsertOrderedList",s:"unlink",m:"WP_Medialib",z:"WP_Adv",t:"WP_More",d:"Strikethrough",h:"WP_Help",p:"WP_Page",x:"WP_Code"},function(a,c){b.shortcuts.add("access+"+c,"",a)}),b.addShortcut("meta+s","",function(){k&&k.autosave&&k.autosave.server.triggerSave()})}),b.on("preinit",function(){function c(c,d){function e(){if(!f)return this;var b,c,d=window.pageXOffset||document.documentElement.scrollLeft,e=window.pageYOffset||document.documentElement.scrollTop,h=window.innerWidth,i=window.innerHeight,m=q?q.getBoundingClientRect():{top:0,right:h,bottom:i,left:0,width:h,height:i},n=this.getEl(),o=n.offsetWidth,r=n.offsetHeight,s=f.getBoundingClientRect(),t=(s.left+s.right)/2,u=5,v=8,w=r+v+u,x=p?p.getBoundingClientRect().bottom:0,y=j?j.getBoundingClientRect().bottom:0,z=k?i-k.getBoundingClientRect().top:0,A=l?i-l.getBoundingClientRect().top:0,B=Math.max(0,x,y,m.top),C=Math.max(0,z,A,i-m.bottom),D=s.top+m.top-B,E=i-m.top-s.bottom-C,F=i-B-C,G="",H=0,I=0;return D>=F||E>=F?this.hide():(a.Env.iOS&&"IMG"===f.nodeName&&(H=54,I=46),this.bottom?E>=w?(G=" mce-arrow-up",b=s.bottom+m.top+e-I):D>=w&&(G=" mce-arrow-down",b=s.top+m.top+e-r-v+H):D>=w?(G=" mce-arrow-down",b=s.top+m.top+e-r-v+H):E>=w&&F/2>s.bottom+m.top-B&&(G=" mce-arrow-up",b=s.bottom+m.top+e-I),"undefined"==typeof b&&(b=e+B+u+I),c=t-o/2+m.left+d,s.left<0||s.right>m.width?c=m.left+d+(m.width-o)/2:o>=h?(G+=" mce-arrow-full",c=0):0>c&&s.left+o>h||c+o>h&&s.right-o<0?c=(h-o)/2:cm.width+m.left+d&&(G+=" mce-arrow-right",c=s.right-o+m.left+d),a.Env.iOS&&"IMG"===f.nodeName&&(G=G.replace(/ ?mce-arrow-(up|down)/g,"")),n.className=n.className.replace(/ ?mce-arrow-[\w]+/g,"")+G,g.setStyles(n,{left:c,top:b}),this)}var i,o,r=[];return h(c,function(a){function c(){var c=b.selection;"bullist"===d&&c.selectorChanged("ul > li",function(b,c){for(var d,e=c.parents.length;e--&&(d=c.parents[e].nodeName,"OL"!==d&&"UL"!=d););a.active(b&&"UL"===d)}),"numlist"===d&&c.selectorChanged("ol > li",function(b,c){for(var d,e=c.parents.length;e--&&(d=c.parents[e].nodeName,"OL"!==d&&"UL"!==d););a.active(b&&"OL"===d)}),a.settings.stateSelector&&c.selectorChanged(a.settings.stateSelector,function(b){a.active(b)},!0),a.settings.disabledStateSelector&&c.selectorChanged(a.settings.disabledStateSelector,function(b){a.disabled(b)})}var d;"|"===a?o=null:m.has(a)?(a={type:a},n.toolbar_items_size&&(a.size=n.toolbar_items_size),r.push(a),o=null):(o||(o={type:"buttongroup",items:[]},r.push(o)),b.buttons[a]&&(d=a,a=b.buttons[d],"function"==typeof a&&(a=a()),a.type=a.type||"button",n.toolbar_items_size&&(a.size=n.toolbar_items_size),a=m.create(a),o.items.push(a),b.initialized?c():b.on("init",c)))}),i=m.create({type:"panel",layout:"stack",classes:"toolbar-grp inline-toolbar-grp",ariaRoot:!0,ariaRemember:!0,items:[{type:"toolbar",layout:"flow",items:r}]}),i.bottom=d,i.on("show",function(){this.reposition()}),i.on("keydown",function(a){27===a.keyCode&&(this.hide(),b.focus())}),b.on("remove",function(){i.remove()}),i.reposition=e,i.hide().renderTo(document.body),i}function d(a){e&&(e.hide(),"hide"===a.type?e=!1:("resize"===a.type||"scroll"===a.type)&&(clearTimeout(i),i=setTimeout(function(){e&&"function"==typeof e.show&&e.show()},250)))}var e,f,i,j,k,l,m=a.ui.Factory,n=b.settings,o=b.getContainer(),p=document.getElementById("wpadminbar"),q=document.getElementById(b.id+"_ifr");o&&(j=a.$(".mce-toolbar-grp",o)[0],k=a.$(".mce-statusbar",o)[0]),"content"===b.id&&(l=document.getElementById("post-status-info")),b.shortcuts.add("alt+119","",function(){var a;e&&(a=e.find("toolbar")[0],a&&a.focus(!0))}),b.on("nodechange",function(a){var c=b.selection.isCollapsed(),d={element:a.element,parents:a.parents,collapsed:c};b.fire("wptoolbar",d),f=d.selection||d.element,e&&e.hide(),d.toolbar?(e=d.toolbar,e.show()):e=!1}),b.on("focus",function(){e&&e.show()}),g.bind(window,"resize scroll",d),b.dom.bind(b.getWin(),"resize scroll",d),b.on("remove",function(){g.unbind(window,"resize scroll",d),b.dom.unbind(b.getWin(),"resize scroll",d)}),b.on("blur hide",d),b.wp=b.wp||{},b.wp._createToolbar=c},!0),{_showButtons:d,_hideButtons:d,_setEmbed:d,_getEmbed:d}})}(window.tinymce); \ No newline at end of file diff --git a/wp-includes/js/tinymce/plugins/wpeditimage/plugin.js b/wp-includes/js/tinymce/plugins/wpeditimage/plugin.js index 2779cd3..a18401e 100644 --- a/wp-includes/js/tinymce/plugins/wpeditimage/plugin.js +++ b/wp-includes/js/tinymce/plugins/wpeditimage/plugin.js @@ -1,6 +1,6 @@ /* global tinymce */ tinymce.PluginManager.add( 'wpeditimage', function( editor ) { - var toolbar, serializer, + var toolbar, serializer, touchOnImage, each = tinymce.each, trim = tinymce.trim, iOS = tinymce.Env.iOS; @@ -37,7 +37,7 @@ tinymce.PluginManager.add( 'wpeditimage', function( editor ) { tooltip: tooltip, icon: 'dashicon dashicons-align-' + direction, cmd: 'alignnone' === name ? 'wpAlignNone' : 'Justify' + direction.slice( 0, 1 ).toUpperCase() + direction.slice( 1 ), - onPostRender: function() { + onPostRender: function() { var self = this; editor.on( 'NodeChange', function( event ) { @@ -79,21 +79,37 @@ tinymce.PluginManager.add( 'wpeditimage', function( editor ) { } } ); - // Safari on iOS fails to select image nodes in contentEditoble mode on touch/click. + // Safari on iOS fails to select images in contentEditoble mode on touch. // Select them again. if ( iOS ) { - editor.on( 'click', function( event ) { - if ( event.target.nodeName === 'IMG' ) { - var node = event.target; + editor.on( 'init', function() { + editor.on( 'touchstart', function( event ) { + if ( event.target.nodeName === 'IMG' ) { + touchOnImage = true; + } + }); - window.setTimeout( function() { - editor.selection.select( node ); - editor.nodeChanged(); - }, 200 ); - } else if ( toolbar ) { - toolbar.hide(); - } - } ); + editor.dom.bind( editor.getDoc(), 'touchmove', function( event ) { + if ( event.target.nodeName === 'IMG' ) { + touchOnImage = false; + } + }); + + editor.on( 'touchend', function( event ) { + if ( touchOnImage && event.target.nodeName === 'IMG' ) { + var node = event.target; + + touchOnImage = false; + + window.setTimeout( function() { + editor.selection.select( node ); + editor.nodeChanged(); + }, 200 ); + } else if ( toolbar ) { + toolbar.hide(); + } + }); + }); } function parseShortcode( content ) { @@ -159,13 +175,13 @@ tinymce.PluginManager.add( 'wpeditimage', function( editor ) { } function getShortcode( content ) { - return content.replace( /
                ]*>([\s\S]+?)<\/div>/g, function( a, b ) { + return content.replace( /(?:
                ]+mceTemp[^>]+>)?\s*(
                ]+wp-caption[^>]+>[\s\S]+?<\/dl>)\s*(?:<\/div>)?/g, function( all, dl ) { var out = ''; - if ( b.indexOf(']+>([\s\S]+?)<\/dd>/i ); + out = dl.match( /
                ]+>([\s\S]+?)<\/dd>/i ); if ( out && out[1] ) { return '

                ' + out[1] + '

                '; @@ -174,7 +190,7 @@ tinymce.PluginManager.add( 'wpeditimage', function( editor ) { return ''; } - out = b.replace( /\s*
                ]+)>\s*
                ]+>([\s\S]+?)<\/dt>\s*
                ]+>([\s\S]*?)<\/dd>\s*<\/dl>\s*/gi, function( a, b, c, caption ) { + out = dl.replace( /\s*
                ]+)>\s*
                ]+>([\s\S]+?)<\/dt>\s*
                ]+>([\s\S]*?)<\/dd>\s*<\/dl>\s*/gi, function( a, b, c, caption ) { var id, classes, align, width; width = c.match( /width="([0-9]*)"/ ); @@ -214,7 +230,7 @@ tinymce.PluginManager.add( 'wpeditimage', function( editor ) { if ( out.indexOf('[caption') === -1 ) { // the caption html seems broken, try to find the image that may be wrapped in a link // and may be followed by

                with the caption text. - out = b.replace( /[\s\S]*?((?:]+>)?]+>(?:<\/a>)?)(

                [\s\S]*<\/p>)?[\s\S]*/gi, '

                $1

                $2' ); + out = dl.replace( /[\s\S]*?((?:]+>)?]+>(?:<\/a>)?)(

                [\s\S]*<\/p>)?[\s\S]*/gi, '

                $1

                $2' ); } return out; @@ -782,15 +798,6 @@ tinymce.PluginManager.add( 'wpeditimage', function( editor ) { } }); - dom.bind( editor.getDoc(), 'dragstart', function( event ) { - var node = editor.selection.getNode(); - - // Prevent dragging images out of the caption elements - if ( node.nodeName === 'IMG' && dom.getParent( node, '.wp-caption' ) ) { - event.preventDefault(); - } - }); - // Prevent IE11 from making dl.wp-caption resizable if ( tinymce.Env.ie && tinymce.Env.ie > 10 ) { // The 'mscontrolselect' event is supported only in IE11+ @@ -964,6 +971,42 @@ tinymce.PluginManager.add( 'wpeditimage', function( editor ) { } }); + ( function() { + var wrap; + + editor.on( 'dragstart', function() { + var node = editor.selection.getNode(); + + if ( node.nodeName === 'IMG' ) { + wrap = editor.dom.getParent( node, '.mceTemp' ); + + if ( ! wrap && node.parentNode.nodeName === 'A' && ! hasTextContent( node.parentNode ) ) { + wrap = node.parentNode; + } + } + } ); + + editor.on( 'drop', function( event ) { + var dom = editor.dom, + rng = tinymce.dom.RangeUtils.getCaretRangeFromPoint( event.clientX, event.clientY, editor.getDoc() ); + + // Don't allow anything to be dropped in a captioned image. + if ( dom.getParent( rng.startContainer, '.mceTemp' ) ) { + event.preventDefault(); + } else if ( wrap ) { + event.preventDefault(); + + editor.undoManager.transact( function() { + editor.selection.setRng( rng ); + editor.selection.setNode( wrap ); + dom.remove( wrap ); + } ); + } + + wrap = null; + } ); + } )(); + // Add to editor.wp editor.wp = editor.wp || {}; editor.wp.isPlaceholder = isPlaceholder; diff --git a/wp-includes/js/tinymce/plugins/wpeditimage/plugin.min.js b/wp-includes/js/tinymce/plugins/wpeditimage/plugin.min.js index 3f01255..d10d691 100644 --- a/wp-includes/js/tinymce/plugins/wpeditimage/plugin.min.js +++ b/wp-includes/js/tinymce/plugins/wpeditimage/plugin.min.js @@ -1 +1 @@ -tinymce.PluginManager.add("wpeditimage",function(a){function b(b){return!(!a.dom.getAttrib(b,"data-mce-placeholder")&&!a.dom.getAttrib(b,"data-mce-object"))}function c(b){return b.replace(/(?:

                )?\[(?:wp_)?caption([^\]]+)\]([\s\S]+?)\[\/(?:wp_)?caption\](?:<\/p>)?/g,function(b,c,d){var e,f,g,h,i,j;return e=c.match(/id=['"]([^'"]*)['"] ?/),e&&(c=c.replace(e[0],"")),f=c.match(/align=['"]([^'"]*)['"] ?/),f&&(c=c.replace(f[0],"")),g=c.match(/class=['"]([^'"]*)['"] ?/),g&&(c=c.replace(g[0],"")),j=c.match(/width=['"]([0-9]*)['"] ?/),j&&(c=c.replace(j[0],"")),d=n(d),i=d.match(/((?:]+>)?]+>(?:<\/a>)?)([\s\S]*)/i),i&&i[2]?(h=n(i[2]),i=n(i[1])):(h=n(c).replace(/caption=['"]/,"").replace(/['"]$/,""),i=d),e=e&&e[1]?e[1].replace(/[<>&]+/g,""):"",f=f&&f[1]?f[1]:"alignnone",g=g&&g[1]?" "+g[1].replace(/[<>&]+/g,""):"",!j&&i&&(j=i.match(/width=['"]([0-9]*)['"]/)),j&&j[1]&&(j=j[1]),j&&h?(j=parseInt(j,10),a.getParam("wpeditimage_html5_captions")||(j+=10),'

                "):d})}function d(a){return a.replace(/
                ]*>([\s\S]+?)<\/div>/g,function(a,b){var c="";return-1===b.indexOf("]+>([\s\S]+?)<\/dd>/i),c&&c[1]?"

                "+c[1]+"

                ":""):(c=b.replace(/\s*
                ]+)>\s*
                ]+>([\s\S]+?)<\/dt>\s*
                ]+>([\s\S]*?)<\/dd>\s*<\/dl>\s*/gi,function(a,b,c,d){var e,f,g,h;return h=c.match(/width="([0-9]*)"/),h=h&&h[1]?h[1]:"",f=b.match(/class="([^"]*)"/),f=f&&f[1]?f[1]:"",g=f.match(/align[a-z]+/i)||"alignnone",h&&d?(e=b.match(/id="([^"]*)"/),e=e&&e[1]?e[1]:"",f=f.replace(/wp-caption ?|align[a-z]+ ?/gi,""),f&&(f=' class="'+f+'"'),d=d.replace(/\r\n|\r/g,"\n").replace(/<[a-zA-Z0-9]+( [^<>]+)?>/g,function(a){return a.replace(/[\r\n\t]+/," ")}),d=d.replace(/\s*\n\s*/g,"
                "),'[caption id="'+e+'" align="'+g+'" width="'+h+'"'+f+"]"+c+" "+d+"[/caption]"):("alignnone"!==g[0]&&(c=c.replace(/>]+>)?]+>(?:<\/a>)?)(

                [\s\S]*<\/p>)?[\s\S]*/gi,"

                $1

                $2")),c)})}function e(b){var c,d,e,f,g,h,i,j,k=[],l=a.dom,m=/^\d+$/;return e={attachment_id:!1,size:"custom",caption:"",align:"none",extraClasses:"",link:!1,linkUrl:"",linkClassName:"",linkTargetBlank:!1,linkRel:"",title:""},e.url=l.getAttrib(b,"src"),e.alt=l.getAttrib(b,"alt"),e.title=l.getAttrib(b,"title"),i=l.getAttrib(b,"width"),j=l.getAttrib(b,"height"),(!m.test(i)||parseInt(i,10)<1)&&(i=b.naturalWidth||b.width),(!m.test(j)||parseInt(j,10)<1)&&(j=b.naturalHeight||b.height),e.customWidth=e.width=i,e.customHeight=e.height=j,c=tinymce.explode(b.className," "),d=[],tinymce.each(c,function(a){/^wp-image/.test(a)?e.attachment_id=parseInt(a.replace("wp-image-",""),10):/^align/.test(a)?e.align=a.replace("align",""):/^size/.test(a)?e.size=a.replace("size-",""):d.push(a)}),e.extraClasses=d.join(" "),f=l.getParents(b,".wp-caption"),f.length&&(f=f[0],c=f.className.split(" "),tinymce.each(c,function(a){/^align/.test(a)?e.align=a.replace("align",""):a&&"wp-caption"!==a&&k.push(a)}),e.captionClassName=k.join(" "),g=l.select("dd.wp-caption-dd",f),g.length&&(g=g[0],e.caption=a.serializer.serialize(g).replace(/]*>/g,"$&\n").replace(/^

                /,"").replace(/<\/p>$/,""))),b.parentNode&&"A"===b.parentNode.nodeName&&(h=b.parentNode,e.linkUrl=l.getAttrib(h,"href"),e.linkTargetBlank="_blank"===l.getAttrib(h,"target")?!0:!1,e.linkRel=l.getAttrib(h,"rel"),e.linkClassName=h.className),e}function f(a){return a&&!(!a.textContent&&!a.innerText)}function g(b){return!b||-1===b.indexOf("<")&&-1===b.indexOf(">")?b:(l||(l=new tinymce.html.Serializer({},a.schema)),l.serialize(a.parser.parse(b,{forced_root_block:!1})))}function h(b,c){var d,e,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v=a.dom;d=tinymce.explode(c.extraClasses," "),d||(d=[]),c.caption||d.push("align"+c.align),c.attachment_id&&(d.push("wp-image-"+c.attachment_id),c.size&&"custom"!==c.size&&d.push("size-"+c.size)),s=c.width,t=c.height,"custom"===c.size&&(s=c.customWidth,t=c.customHeight),q={src:c.url,width:s||null,height:t||null,alt:c.alt,title:c.title||null,"class":d.join(" ")||null},v.setAttribs(b,q),r={href:c.linkUrl,rel:c.linkRel||null,target:c.linkTargetBlank?"_blank":null,"class":c.linkClassName||null},b.parentNode&&"A"===b.parentNode.nodeName&&!f(b.parentNode)?c.linkUrl?v.setAttribs(b.parentNode,r):v.remove(b.parentNode,!0):c.linkUrl&&((l=v.getParent(b,"a"))&&v.insertAfter(b,l),l=v.create("a",r),b.parentNode.insertBefore(l,b),l.appendChild(b)),m=a.dom.getParent(b,".mceTemp"),h=b.parentNode&&"A"===b.parentNode.nodeName&&!f(b.parentNode)?b.parentNode:b,c.caption?(c.caption=g(c.caption),p=c.attachment_id?"attachment_"+c.attachment_id:null,u="align"+(c.align||"none"),e="wp-caption "+u,c.captionClassName&&(e+=" "+c.captionClassName.replace(/[<>&]+/g,"")),a.getParam("wpeditimage_html5_captions")||(s=parseInt(s,10),s+=10),m?(o=v.select("dl.wp-caption",m),o.length&&v.setAttribs(o,{id:p,"class":e,style:"width: "+s+"px"}),n=v.select(".wp-caption-dd",m),n.length&&v.setHTML(n[0],c.caption)):(p=p?'id="'+p+'" ':"",i="

                '+c.caption+"
                ",k=v.create("div",{"class":"mceTemp"},i),(j=v.getParent(h,"p"))?j.parentNode.insertBefore(k,j):h.parentNode.insertBefore(k,h),a.$(k).find("dt.wp-caption-dt").append(h),j&&v.isEmpty(j)&&v.remove(j))):m&&(j=v.create("p"),m.parentNode.insertBefore(j,m),j.appendChild(h),v.remove(m)),wp.media.events&&wp.media.events.trigger("editor:image-update",{editor:a,metadata:c,image:b}),a.nodeChanged()}function i(b){var c,d,f;return"undefined"!=typeof wp&&wp.media?(f=e(b),wp.media.events.trigger("editor:image-edit",{editor:a,metadata:f,image:b}),c=wp.media({frame:"image",state:"image-details",metadata:f}),wp.media.events.trigger("editor:frame-create",{frame:c}),d=function(d){a.focus(),a.undoManager.transact(function(){h(b,d)}),c.detach()},c.state("image-details").on("update",d),c.state("replace-image").on("replace",d),c.on("close",function(){a.focus(),c.detach()}),void c.open()):void a.execCommand("mceImage")}function j(b){var c=a.dom.getParent(b,"div.mceTemp");c||"IMG"!==b.nodeName||(c=a.dom.getParent(b,"a")),c?(c.nextSibling?a.selection.select(c.nextSibling):c.previousSibling?a.selection.select(c.previousSibling):a.selection.select(c.parentNode),a.selection.collapse(!0),a.dom.remove(c)):a.dom.remove(b),a.nodeChanged(),a.undoManager.add()}var k,l,m=tinymce.each,n=tinymce.trim,o=tinymce.Env.iOS;return a.addButton("wp_img_remove",{tooltip:"Remove",icon:"dashicon dashicons-no",onclick:function(){j(a.selection.getNode())}}),a.addButton("wp_img_edit",{tooltip:"Edit ",icon:"dashicon dashicons-edit",onclick:function(){i(a.selection.getNode())}}),m({alignleft:"Align left",aligncenter:"Align center",alignright:"Align right",alignnone:"No alignment"},function(b,c){var d=c.slice(5);a.addButton("wp_img_"+c,{tooltip:b,icon:"dashicon dashicons-align-"+d,cmd:"alignnone"===c?"wpAlignNone":"Justify"+d.slice(0,1).toUpperCase()+d.slice(1),onPostRender:function(){var b=this;a.on("NodeChange",function(d){var e;"IMG"===d.element.nodeName&&(e=a.dom.getParent(d.element,".wp-caption")||d.element,"alignnone"===c?b.active(!/\balign(left|center|right)\b/.test(e.className)):b.active(a.dom.hasClass(e,c)))})}})}),a.once("preinit",function(){a.wp&&a.wp._createToolbar&&(k=a.wp._createToolbar(["wp_img_alignleft","wp_img_aligncenter","wp_img_alignright","wp_img_alignnone","wp_img_edit","wp_img_remove"]))}),a.on("wptoolbar",function(a){"IMG"!==a.element.nodeName||b(a.element)||(a.toolbar=k)}),o&&a.on("click",function(b){if("IMG"===b.target.nodeName){var c=b.target;window.setTimeout(function(){a.selection.select(c),a.nodeChanged()},200)}else k&&k.hide()}),a.on("init",function(){var b=a.dom,c=a.getParam("wpeditimage_html5_captions")?"html5-captions":"html4-captions";b.addClass(a.getBody(),c),a.on("wpLoadImageForm",function(b){if(!a.getParam("wpeditimage_disable_captions")){var c={type:"textbox",flex:1,name:"caption",minHeight:60,multiline:!0,scroll:!0,label:"Image caption"};b.data.splice(b.data.length-1,0,c)}}),a.on("wpNewImageRefresh",function(a){var c,d;(c=b.getParent(a.node,"dl.wp-caption"))&&(c.style.width||(d=parseInt(a.node.clientWidth,10)+10,d=d?d+"px":"50%",b.setStyle(c,"width",d)))}),a.on("wpImageFormSubmit",function(c){var d,e,f,h,i,j=c.imgData.data,k=c.imgData.node,l=c.imgData.caption,m="",n="",o="";return j.id="__wp-temp-img-id",c.imgData.cancel=!0,j.style||(j.style=null),j.src?(l&&(l=l.replace(/\r\n|\r/g,"\n").replace(/<\/?[a-zA-Z0-9]+( [^<>]+)?>/g,function(a){return a.replace(/[\r\n\t]+/," ")}),l=l.replace(/(]*>)\s*\n\s*/g,"$1").replace(/\s*\n\s*/g,"
                "),l=g(l)),k?(i=k.id||null,b.setAttribs(k,j),d=b.getParent(k,"dl.wp-caption"),l?d?(e=b.select("dd.wp-caption-dd",d)[0])&&(e.innerHTML=l):(k.className&&(m=k.className.match(/wp-image-([0-9]+)/),n=k.className.match(/align(left|right|center|none)/)),n?(n=n[0],k.className=k.className.replace(/align(left|right|center|none)/g,"")):n="alignnone",n=' class="wp-caption '+n+'"',m&&(m=' id="attachment_'+m[1]+'"'),o=j.width||k.clientWidth,o&&(o=parseInt(o,10),a.getParam("wpeditimage_html5_captions")||(o+=10),o=' style="width: '+o+'px"'),f=k.parentNode&&"A"===k.parentNode.nodeName?k.parentNode:k,h="
                '+l+"
                ",d=b.create("div",{"class":"mceTemp"},h),(e=b.getParent(f,"p"))?e.parentNode.insertBefore(d,e):f.parentNode.insertBefore(d,f),a.$(d).find("dt.wp-caption-dt").append(f),e&&b.isEmpty(e)&&b.remove(e)):d&&(h="A"===k.parentNode.nodeName?b.getOuterHTML(k.parentNode):b.getOuterHTML(k),e=b.create("p",{},h),b.insertAfter(e,d.parentNode),a.selection.select(e),a.nodeChanged(),b.remove(d.parentNode))):(h=b.createHTML("img",j),l?(f=a.selection.getNode(),j.width&&(o=parseInt(j.width,10),a.getParam("wpeditimage_html5_captions")||(o+=10),o=' style="width: '+o+'px"'),h='
                '+h+'
                '+l+"
                ",e="P"===f.nodeName?f:b.getParent(f,"p"),e&&"P"===e.nodeName?(d=b.create("div",{"class":"mceTemp"},h),e.parentNode.insertBefore(d,e),a.selection.select(d),a.nodeChanged(),b.isEmpty(e)&&b.remove(e)):a.selection.setContent('
                '+h+"
                ")):a.selection.setContent(h)),k=b.get("__wp-temp-img-id"),b.setAttrib(k,"id",i),void(c.imgData.node=k)):void(k&&((d=b.getParent(k,"div.mceTemp"))?b.remove(d):"A"===k.parentNode.nodeName?b.remove(k.parentNode):b.remove(k),a.nodeChanged()))}),a.on("wpLoadImageData",function(c){var d,e=c.imgData.data,f=c.imgData.node;(d=b.getParent(f,"dl.wp-caption"))&&(d=b.select("dd.wp-caption-dd",d)[0],d&&(e.caption=a.serializer.serialize(d).replace(/]*>/g,"$&\n").replace(/^

                /,"").replace(/<\/p>$/,"")))}),b.bind(a.getDoc(),"dragstart",function(c){var d=a.selection.getNode();"IMG"===d.nodeName&&b.getParent(d,".wp-caption")&&c.preventDefault()}),tinymce.Env.ie&&tinymce.Env.ie>10&&b.bind(a.getBody(),"mscontrolselect",function(c){"IMG"===c.target.nodeName&&b.getParent(c.target,".wp-caption")?a.getBody().focus():"DL"===c.target.nodeName&&b.hasClass(c.target,"wp-caption")&&c.target.focus()})}),a.on("ObjectResized",function(b){var c=b.target;"IMG"===c.nodeName&&a.undoManager.transact(function(){var d,e,f=a.dom;c.className=c.className.replace(/\bsize-[^ ]+/,""),(d=f.getParent(c,".wp-caption"))&&(e=b.width||f.getAttrib(c,"width"),e&&(e=parseInt(e,10),a.getParam("wpeditimage_html5_captions")||(e+=10),f.setStyle(d,"width",e+"px")))})}),a.on("BeforeExecCommand",function(b){var c,d,e,f,g,h=b.command,i=a.dom;if("mceInsertContent"===h)(c=i.getParent(a.selection.getNode(),"div.mceTemp"))&&(d=i.create("p"),i.insertAfter(d,c),a.selection.setCursorLocation(d,0),a.nodeChanged());else if("JustifyLeft"===h||"JustifyRight"===h||"JustifyCenter"===h||"wpAlignNone"===h){if(c=a.selection.getNode(),f="align"+h.slice(7).toLowerCase(),e=a.dom.getParent(c,".wp-caption"),"IMG"!==c.nodeName&&!e)return;c=e||c,g=a.dom.hasClass(c,f)?" alignnone":" "+f,c.className=n(c.className.replace(/ ?align(left|center|right|none)/g,"")+g),a.nodeChanged(),b.preventDefault(),k&&k.reposition(),a.fire("ExecCommand",{command:h,ui:b.ui,value:b.value})}}),a.on("keydown",function(b){var c,d,e,f,g=a.selection,h=b.keyCode,i=a.dom,k=tinymce.util.VK;if(h===k.ENTER)c=g.getNode(),d=i.getParent(c,"div.mceTemp"),d&&(i.events.cancel(b),tinymce.each(i.select("dt, dd",d),function(a){i.isEmpty(a)&&i.remove(a)}),f=tinymce.Env.ie&&tinymce.Env.ie<11?"":'
                ',e=i.create("p",null,f),"DD"===c.nodeName?i.insertAfter(e,d):d.parentNode.insertBefore(e,d),a.nodeChanged(),g.setCursorLocation(e,0));else if((h===k.DELETE||h===k.BACKSPACE)&&(c=g.getNode(),"DIV"===c.nodeName&&i.hasClass(c,"mceTemp")?d=c:("IMG"===c.nodeName||"DT"===c.nodeName||"A"===c.nodeName)&&(d=i.getParent(c,"div.mceTemp")),d))return i.events.cancel(b),j(c),!1}),tinymce.Env.gecko&&a.on("undo redo",function(){"IMG"===a.selection.getNode().nodeName&&a.selection.collapse()}),a.wpSetImgCaption=function(a){return c(a)},a.wpGetImgCaption=function(a){return d(a)},a.on("BeforeSetContent",function(b){"raw"!==b.format&&(b.content=a.wpSetImgCaption(b.content))}),a.on("PostProcess",function(b){b.get&&(b.content=a.wpGetImgCaption(b.content))}),a.wp=a.wp||{},a.wp.isPlaceholder=b,{_do_shcode:c,_get_shcode:d}}); \ No newline at end of file +tinymce.PluginManager.add("wpeditimage",function(a){function b(b){return!(!a.dom.getAttrib(b,"data-mce-placeholder")&&!a.dom.getAttrib(b,"data-mce-object"))}function c(b){return b.replace(/(?:

                )?\[(?:wp_)?caption([^\]]+)\]([\s\S]+?)\[\/(?:wp_)?caption\](?:<\/p>)?/g,function(b,c,d){var e,f,g,h,i,j;return e=c.match(/id=['"]([^'"]*)['"] ?/),e&&(c=c.replace(e[0],"")),f=c.match(/align=['"]([^'"]*)['"] ?/),f&&(c=c.replace(f[0],"")),g=c.match(/class=['"]([^'"]*)['"] ?/),g&&(c=c.replace(g[0],"")),j=c.match(/width=['"]([0-9]*)['"] ?/),j&&(c=c.replace(j[0],"")),d=o(d),i=d.match(/((?:]+>)?]+>(?:<\/a>)?)([\s\S]*)/i),i&&i[2]?(h=o(i[2]),i=o(i[1])):(h=o(c).replace(/caption=['"]/,"").replace(/['"]$/,""),i=d),e=e&&e[1]?e[1].replace(/[<>&]+/g,""):"",f=f&&f[1]?f[1]:"alignnone",g=g&&g[1]?" "+g[1].replace(/[<>&]+/g,""):"",!j&&i&&(j=i.match(/width=['"]([0-9]*)['"]/)),j&&j[1]&&(j=j[1]),j&&h?(j=parseInt(j,10),a.getParam("wpeditimage_html5_captions")||(j+=10),'

                "):d})}function d(a){return a.replace(/(?:
                ]+mceTemp[^>]+>)?\s*(
                ]+wp-caption[^>]+>[\s\S]+?<\/dl>)\s*(?:<\/div>)?/g,function(a,b){var c="";return-1===b.indexOf("]+>([\s\S]+?)<\/dd>/i),c&&c[1]?"

                "+c[1]+"

                ":""):(c=b.replace(/\s*
                ]+)>\s*
                ]+>([\s\S]+?)<\/dt>\s*
                ]+>([\s\S]*?)<\/dd>\s*<\/dl>\s*/gi,function(a,b,c,d){var e,f,g,h;return h=c.match(/width="([0-9]*)"/),h=h&&h[1]?h[1]:"",f=b.match(/class="([^"]*)"/),f=f&&f[1]?f[1]:"",g=f.match(/align[a-z]+/i)||"alignnone",h&&d?(e=b.match(/id="([^"]*)"/),e=e&&e[1]?e[1]:"",f=f.replace(/wp-caption ?|align[a-z]+ ?/gi,""),f&&(f=' class="'+f+'"'),d=d.replace(/\r\n|\r/g,"\n").replace(/<[a-zA-Z0-9]+( [^<>]+)?>/g,function(a){return a.replace(/[\r\n\t]+/," ")}),d=d.replace(/\s*\n\s*/g,"
                "),'[caption id="'+e+'" align="'+g+'" width="'+h+'"'+f+"]"+c+" "+d+"[/caption]"):("alignnone"!==g[0]&&(c=c.replace(/>]+>)?]+>(?:<\/a>)?)(

                [\s\S]*<\/p>)?[\s\S]*/gi,"

                $1

                $2")),c)})}function e(b){var c,d,e,f,g,h,i,j,k=[],l=a.dom,m=/^\d+$/;return e={attachment_id:!1,size:"custom",caption:"",align:"none",extraClasses:"",link:!1,linkUrl:"",linkClassName:"",linkTargetBlank:!1,linkRel:"",title:""},e.url=l.getAttrib(b,"src"),e.alt=l.getAttrib(b,"alt"),e.title=l.getAttrib(b,"title"),i=l.getAttrib(b,"width"),j=l.getAttrib(b,"height"),(!m.test(i)||parseInt(i,10)<1)&&(i=b.naturalWidth||b.width),(!m.test(j)||parseInt(j,10)<1)&&(j=b.naturalHeight||b.height),e.customWidth=e.width=i,e.customHeight=e.height=j,c=tinymce.explode(b.className," "),d=[],tinymce.each(c,function(a){/^wp-image/.test(a)?e.attachment_id=parseInt(a.replace("wp-image-",""),10):/^align/.test(a)?e.align=a.replace("align",""):/^size/.test(a)?e.size=a.replace("size-",""):d.push(a)}),e.extraClasses=d.join(" "),f=l.getParents(b,".wp-caption"),f.length&&(f=f[0],c=f.className.split(" "),tinymce.each(c,function(a){/^align/.test(a)?e.align=a.replace("align",""):a&&"wp-caption"!==a&&k.push(a)}),e.captionClassName=k.join(" "),g=l.select("dd.wp-caption-dd",f),g.length&&(g=g[0],e.caption=a.serializer.serialize(g).replace(/]*>/g,"$&\n").replace(/^

                /,"").replace(/<\/p>$/,""))),b.parentNode&&"A"===b.parentNode.nodeName&&(h=b.parentNode,e.linkUrl=l.getAttrib(h,"href"),e.linkTargetBlank="_blank"===l.getAttrib(h,"target")?!0:!1,e.linkRel=l.getAttrib(h,"rel"),e.linkClassName=h.className),e}function f(a){return a&&!(!a.textContent&&!a.innerText)}function g(b){return!b||-1===b.indexOf("<")&&-1===b.indexOf(">")?b:(l||(l=new tinymce.html.Serializer({},a.schema)),l.serialize(a.parser.parse(b,{forced_root_block:!1})))}function h(b,c){var d,e,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v=a.dom;d=tinymce.explode(c.extraClasses," "),d||(d=[]),c.caption||d.push("align"+c.align),c.attachment_id&&(d.push("wp-image-"+c.attachment_id),c.size&&"custom"!==c.size&&d.push("size-"+c.size)),s=c.width,t=c.height,"custom"===c.size&&(s=c.customWidth,t=c.customHeight),q={src:c.url,width:s||null,height:t||null,alt:c.alt,title:c.title||null,"class":d.join(" ")||null},v.setAttribs(b,q),r={href:c.linkUrl,rel:c.linkRel||null,target:c.linkTargetBlank?"_blank":null,"class":c.linkClassName||null},b.parentNode&&"A"===b.parentNode.nodeName&&!f(b.parentNode)?c.linkUrl?v.setAttribs(b.parentNode,r):v.remove(b.parentNode,!0):c.linkUrl&&((l=v.getParent(b,"a"))&&v.insertAfter(b,l),l=v.create("a",r),b.parentNode.insertBefore(l,b),l.appendChild(b)),m=a.dom.getParent(b,".mceTemp"),h=b.parentNode&&"A"===b.parentNode.nodeName&&!f(b.parentNode)?b.parentNode:b,c.caption?(c.caption=g(c.caption),p=c.attachment_id?"attachment_"+c.attachment_id:null,u="align"+(c.align||"none"),e="wp-caption "+u,c.captionClassName&&(e+=" "+c.captionClassName.replace(/[<>&]+/g,"")),a.getParam("wpeditimage_html5_captions")||(s=parseInt(s,10),s+=10),m?(o=v.select("dl.wp-caption",m),o.length&&v.setAttribs(o,{id:p,"class":e,style:"width: "+s+"px"}),n=v.select(".wp-caption-dd",m),n.length&&v.setHTML(n[0],c.caption)):(p=p?'id="'+p+'" ':"",i="

                '+c.caption+"
                ",k=v.create("div",{"class":"mceTemp"},i),(j=v.getParent(h,"p"))?j.parentNode.insertBefore(k,j):h.parentNode.insertBefore(k,h),a.$(k).find("dt.wp-caption-dt").append(h),j&&v.isEmpty(j)&&v.remove(j))):m&&(j=v.create("p"),m.parentNode.insertBefore(j,m),j.appendChild(h),v.remove(m)),wp.media.events&&wp.media.events.trigger("editor:image-update",{editor:a,metadata:c,image:b}),a.nodeChanged()}function i(b){var c,d,f;return"undefined"!=typeof wp&&wp.media?(f=e(b),wp.media.events.trigger("editor:image-edit",{editor:a,metadata:f,image:b}),c=wp.media({frame:"image",state:"image-details",metadata:f}),wp.media.events.trigger("editor:frame-create",{frame:c}),d=function(d){a.focus(),a.undoManager.transact(function(){h(b,d)}),c.detach()},c.state("image-details").on("update",d),c.state("replace-image").on("replace",d),c.on("close",function(){a.focus(),c.detach()}),void c.open()):void a.execCommand("mceImage")}function j(b){var c=a.dom.getParent(b,"div.mceTemp");c||"IMG"!==b.nodeName||(c=a.dom.getParent(b,"a")),c?(c.nextSibling?a.selection.select(c.nextSibling):c.previousSibling?a.selection.select(c.previousSibling):a.selection.select(c.parentNode),a.selection.collapse(!0),a.dom.remove(c)):a.dom.remove(b),a.nodeChanged(),a.undoManager.add()}var k,l,m,n=tinymce.each,o=tinymce.trim,p=tinymce.Env.iOS;return a.addButton("wp_img_remove",{tooltip:"Remove",icon:"dashicon dashicons-no",onclick:function(){j(a.selection.getNode())}}),a.addButton("wp_img_edit",{tooltip:"Edit ",icon:"dashicon dashicons-edit",onclick:function(){i(a.selection.getNode())}}),n({alignleft:"Align left",aligncenter:"Align center",alignright:"Align right",alignnone:"No alignment"},function(b,c){var d=c.slice(5);a.addButton("wp_img_"+c,{tooltip:b,icon:"dashicon dashicons-align-"+d,cmd:"alignnone"===c?"wpAlignNone":"Justify"+d.slice(0,1).toUpperCase()+d.slice(1),onPostRender:function(){var b=this;a.on("NodeChange",function(d){var e;"IMG"===d.element.nodeName&&(e=a.dom.getParent(d.element,".wp-caption")||d.element,"alignnone"===c?b.active(!/\balign(left|center|right)\b/.test(e.className)):b.active(a.dom.hasClass(e,c)))})}})}),a.once("preinit",function(){a.wp&&a.wp._createToolbar&&(k=a.wp._createToolbar(["wp_img_alignleft","wp_img_aligncenter","wp_img_alignright","wp_img_alignnone","wp_img_edit","wp_img_remove"]))}),a.on("wptoolbar",function(a){"IMG"!==a.element.nodeName||b(a.element)||(a.toolbar=k)}),p&&a.on("init",function(){a.on("touchstart",function(a){"IMG"===a.target.nodeName&&(m=!0)}),a.dom.bind(a.getDoc(),"touchmove",function(a){"IMG"===a.target.nodeName&&(m=!1)}),a.on("touchend",function(b){if(m&&"IMG"===b.target.nodeName){var c=b.target;m=!1,window.setTimeout(function(){a.selection.select(c),a.nodeChanged()},200)}else k&&k.hide()})}),a.on("init",function(){var b=a.dom,c=a.getParam("wpeditimage_html5_captions")?"html5-captions":"html4-captions";b.addClass(a.getBody(),c),a.on("wpLoadImageForm",function(b){if(!a.getParam("wpeditimage_disable_captions")){var c={type:"textbox",flex:1,name:"caption",minHeight:60,multiline:!0,scroll:!0,label:"Image caption"};b.data.splice(b.data.length-1,0,c)}}),a.on("wpNewImageRefresh",function(a){var c,d;(c=b.getParent(a.node,"dl.wp-caption"))&&(c.style.width||(d=parseInt(a.node.clientWidth,10)+10,d=d?d+"px":"50%",b.setStyle(c,"width",d)))}),a.on("wpImageFormSubmit",function(c){var d,e,f,h,i,j=c.imgData.data,k=c.imgData.node,l=c.imgData.caption,m="",n="",o="";return j.id="__wp-temp-img-id",c.imgData.cancel=!0,j.style||(j.style=null),j.src?(l&&(l=l.replace(/\r\n|\r/g,"\n").replace(/<\/?[a-zA-Z0-9]+( [^<>]+)?>/g,function(a){return a.replace(/[\r\n\t]+/," ")}),l=l.replace(/(]*>)\s*\n\s*/g,"$1").replace(/\s*\n\s*/g,"
                "),l=g(l)),k?(i=k.id||null,b.setAttribs(k,j),d=b.getParent(k,"dl.wp-caption"),l?d?(e=b.select("dd.wp-caption-dd",d)[0])&&(e.innerHTML=l):(k.className&&(m=k.className.match(/wp-image-([0-9]+)/),n=k.className.match(/align(left|right|center|none)/)),n?(n=n[0],k.className=k.className.replace(/align(left|right|center|none)/g,"")):n="alignnone",n=' class="wp-caption '+n+'"',m&&(m=' id="attachment_'+m[1]+'"'),o=j.width||k.clientWidth,o&&(o=parseInt(o,10),a.getParam("wpeditimage_html5_captions")||(o+=10),o=' style="width: '+o+'px"'),f=k.parentNode&&"A"===k.parentNode.nodeName?k.parentNode:k,h="
                '+l+"
                ",d=b.create("div",{"class":"mceTemp"},h),(e=b.getParent(f,"p"))?e.parentNode.insertBefore(d,e):f.parentNode.insertBefore(d,f),a.$(d).find("dt.wp-caption-dt").append(f),e&&b.isEmpty(e)&&b.remove(e)):d&&(h="A"===k.parentNode.nodeName?b.getOuterHTML(k.parentNode):b.getOuterHTML(k),e=b.create("p",{},h),b.insertAfter(e,d.parentNode),a.selection.select(e),a.nodeChanged(),b.remove(d.parentNode))):(h=b.createHTML("img",j),l?(f=a.selection.getNode(),j.width&&(o=parseInt(j.width,10),a.getParam("wpeditimage_html5_captions")||(o+=10),o=' style="width: '+o+'px"'),h='
                '+h+'
                '+l+"
                ",e="P"===f.nodeName?f:b.getParent(f,"p"),e&&"P"===e.nodeName?(d=b.create("div",{"class":"mceTemp"},h),e.parentNode.insertBefore(d,e),a.selection.select(d),a.nodeChanged(),b.isEmpty(e)&&b.remove(e)):a.selection.setContent('
                '+h+"
                ")):a.selection.setContent(h)),k=b.get("__wp-temp-img-id"),b.setAttrib(k,"id",i),void(c.imgData.node=k)):void(k&&((d=b.getParent(k,"div.mceTemp"))?b.remove(d):"A"===k.parentNode.nodeName?b.remove(k.parentNode):b.remove(k),a.nodeChanged()))}),a.on("wpLoadImageData",function(c){var d,e=c.imgData.data,f=c.imgData.node;(d=b.getParent(f,"dl.wp-caption"))&&(d=b.select("dd.wp-caption-dd",d)[0],d&&(e.caption=a.serializer.serialize(d).replace(/]*>/g,"$&\n").replace(/^

                /,"").replace(/<\/p>$/,"")))}),tinymce.Env.ie&&tinymce.Env.ie>10&&b.bind(a.getBody(),"mscontrolselect",function(c){"IMG"===c.target.nodeName&&b.getParent(c.target,".wp-caption")?a.getBody().focus():"DL"===c.target.nodeName&&b.hasClass(c.target,"wp-caption")&&c.target.focus()})}),a.on("ObjectResized",function(b){var c=b.target;"IMG"===c.nodeName&&a.undoManager.transact(function(){var d,e,f=a.dom;c.className=c.className.replace(/\bsize-[^ ]+/,""),(d=f.getParent(c,".wp-caption"))&&(e=b.width||f.getAttrib(c,"width"),e&&(e=parseInt(e,10),a.getParam("wpeditimage_html5_captions")||(e+=10),f.setStyle(d,"width",e+"px")))})}),a.on("BeforeExecCommand",function(b){var c,d,e,f,g,h=b.command,i=a.dom;if("mceInsertContent"===h)(c=i.getParent(a.selection.getNode(),"div.mceTemp"))&&(d=i.create("p"),i.insertAfter(d,c),a.selection.setCursorLocation(d,0),a.nodeChanged());else if("JustifyLeft"===h||"JustifyRight"===h||"JustifyCenter"===h||"wpAlignNone"===h){if(c=a.selection.getNode(),f="align"+h.slice(7).toLowerCase(),e=a.dom.getParent(c,".wp-caption"),"IMG"!==c.nodeName&&!e)return;c=e||c,g=a.dom.hasClass(c,f)?" alignnone":" "+f,c.className=o(c.className.replace(/ ?align(left|center|right|none)/g,"")+g),a.nodeChanged(),b.preventDefault(),k&&k.reposition(),a.fire("ExecCommand",{command:h,ui:b.ui,value:b.value})}}),a.on("keydown",function(b){var c,d,e,f,g=a.selection,h=b.keyCode,i=a.dom,k=tinymce.util.VK;if(h===k.ENTER)c=g.getNode(),d=i.getParent(c,"div.mceTemp"),d&&(i.events.cancel(b),tinymce.each(i.select("dt, dd",d),function(a){i.isEmpty(a)&&i.remove(a)}),f=tinymce.Env.ie&&tinymce.Env.ie<11?"":'
                ',e=i.create("p",null,f),"DD"===c.nodeName?i.insertAfter(e,d):d.parentNode.insertBefore(e,d),a.nodeChanged(),g.setCursorLocation(e,0));else if((h===k.DELETE||h===k.BACKSPACE)&&(c=g.getNode(),"DIV"===c.nodeName&&i.hasClass(c,"mceTemp")?d=c:("IMG"===c.nodeName||"DT"===c.nodeName||"A"===c.nodeName)&&(d=i.getParent(c,"div.mceTemp")),d))return i.events.cancel(b),j(c),!1}),tinymce.Env.gecko&&a.on("undo redo",function(){"IMG"===a.selection.getNode().nodeName&&a.selection.collapse()}),a.wpSetImgCaption=function(a){return c(a)},a.wpGetImgCaption=function(a){return d(a)},a.on("BeforeSetContent",function(b){"raw"!==b.format&&(b.content=a.wpSetImgCaption(b.content))}),a.on("PostProcess",function(b){b.get&&(b.content=a.wpGetImgCaption(b.content))}),function(){var b;a.on("dragstart",function(){var c=a.selection.getNode();"IMG"===c.nodeName&&(b=a.dom.getParent(c,".mceTemp"),b||"A"!==c.parentNode.nodeName||f(c.parentNode)||(b=c.parentNode))}),a.on("drop",function(c){var d=a.dom,e=tinymce.dom.RangeUtils.getCaretRangeFromPoint(c.clientX,c.clientY,a.getDoc());d.getParent(e.startContainer,".mceTemp")?c.preventDefault():b&&(c.preventDefault(),a.undoManager.transact(function(){a.selection.setRng(e),a.selection.setNode(b),d.remove(b)})),b=null})}(),a.wp=a.wp||{},a.wp.isPlaceholder=b,{_do_shcode:c,_get_shcode:d}}); \ No newline at end of file diff --git a/wp-includes/js/tinymce/plugins/wpembed/plugin.js b/wp-includes/js/tinymce/plugins/wpembed/plugin.js new file mode 100644 index 0000000..b6efbc9 --- /dev/null +++ b/wp-includes/js/tinymce/plugins/wpembed/plugin.js @@ -0,0 +1,17 @@ +(function ( tinymce ) { + 'use strict'; + + tinymce.PluginManager.add( 'wpembed', function ( editor, url ) { + editor.on( 'init', function () { + var scriptId = editor.dom.uniqueId(); + + var scriptElm = editor.dom.create( 'script', { + id: scriptId, + type: 'text/javascript', + src: url + '/../../../wp-embed.js' + } ); + + editor.getDoc().getElementsByTagName( 'head' )[ 0 ].appendChild( scriptElm ); + } ); + } ); +})( window.tinymce ); diff --git a/wp-includes/js/tinymce/plugins/wpembed/plugin.min.js b/wp-includes/js/tinymce/plugins/wpembed/plugin.min.js new file mode 100644 index 0000000..dc6f896 --- /dev/null +++ b/wp-includes/js/tinymce/plugins/wpembed/plugin.min.js @@ -0,0 +1 @@ +!function(a){"use strict";a.PluginManager.add("wpembed",function(a,b){a.on("init",function(){var c=a.dom.uniqueId(),d=a.dom.create("script",{id:c,type:"text/javascript",src:b+"/../../../wp-embed.js"});a.getDoc().getElementsByTagName("head")[0].appendChild(d)})})}(window.tinymce); \ No newline at end of file diff --git a/wp-includes/js/tinymce/plugins/wpgallery/plugin.js b/wp-includes/js/tinymce/plugins/wpgallery/plugin.js index 41dcfe5..d9723f2 100644 --- a/wp-includes/js/tinymce/plugins/wpgallery/plugin.js +++ b/wp-includes/js/tinymce/plugins/wpgallery/plugin.js @@ -10,7 +10,7 @@ tinymce.PluginManager.add('wpgallery', function( editor ) { function html( cls, data ) { data = window.encodeURIComponent( data ); return ''; + 'data-wp-media="' + data + '" data-mce-resize="false" data-mce-placeholder="1" alt="" />'; } function restoreMediaShortcodes( content ) { diff --git a/wp-includes/js/tinymce/plugins/wpgallery/plugin.min.js b/wp-includes/js/tinymce/plugins/wpgallery/plugin.min.js index 1231ac6..689fd25 100644 --- a/wp-includes/js/tinymce/plugins/wpgallery/plugin.min.js +++ b/wp-includes/js/tinymce/plugins/wpgallery/plugin.min.js @@ -1 +1 @@ -tinymce.PluginManager.add("wpgallery",function(a){function b(a){return a.replace(/\[gallery([^\]]*)\]/g,function(a){return c("wp-gallery",a)})}function c(a,b){return b=window.encodeURIComponent(b),''}function d(a){function b(a,b){return b=new RegExp(b+'="([^"]+)"').exec(a),b?window.decodeURIComponent(b[1]):""}return a.replace(/(?:]+)?>)*(]+>)(?:<\/p>)*/g,function(a,c){var d=b(c,"data-wp-media");return d?"

                "+d+"

                ":a})}function e(b){var c,d,e;"IMG"===b.nodeName&&"undefined"!=typeof wp&&wp.media&&(e=window.decodeURIComponent(a.dom.getAttrib(b,"data-wp-media")),a.dom.hasClass(b,"wp-gallery")&&wp.media.gallery&&(c=wp.media.gallery,d=c.edit(e),d.state("gallery-edit").on("update",function(e){var f=c.shortcode(e).string();a.dom.setAttrib(b,"data-wp-media",window.encodeURIComponent(f)),d.detach()})))}a.addCommand("WP_Gallery",function(){e(a.selection.getNode())}),a.on("mouseup",function(b){function c(){d.removeClass(d.select("img.wp-media-selected"),"wp-media-selected")}var d=a.dom,f=b.target;"IMG"===f.nodeName&&d.getAttrib(f,"data-wp-media")?2!==b.button&&(d.hasClass(f,"wp-media-selected")?e(f):(c(),d.addClass(f,"wp-media-selected"))):c()}),a.on("ResolveName",function(b){var c=a.dom,d=b.target;"IMG"===d.nodeName&&c.getAttrib(d,"data-wp-media")&&c.hasClass(d,"wp-gallery")&&(b.name="gallery")}),a.on("BeforeSetContent",function(c){a.plugins.wpview&&"undefined"!=typeof wp&&wp.mce||(c.content=b(c.content))}),a.on("PostProcess",function(a){a.get&&(a.content=d(a.content))})}); \ No newline at end of file +tinymce.PluginManager.add("wpgallery",function(a){function b(a){return a.replace(/\[gallery([^\]]*)\]/g,function(a){return c("wp-gallery",a)})}function c(a,b){return b=window.encodeURIComponent(b),''}function d(a){function b(a,b){return b=new RegExp(b+'="([^"]+)"').exec(a),b?window.decodeURIComponent(b[1]):""}return a.replace(/(?:]+)?>)*(]+>)(?:<\/p>)*/g,function(a,c){var d=b(c,"data-wp-media");return d?"

                "+d+"

                ":a})}function e(b){var c,d,e;"IMG"===b.nodeName&&"undefined"!=typeof wp&&wp.media&&(e=window.decodeURIComponent(a.dom.getAttrib(b,"data-wp-media")),a.dom.hasClass(b,"wp-gallery")&&wp.media.gallery&&(c=wp.media.gallery,d=c.edit(e),d.state("gallery-edit").on("update",function(e){var f=c.shortcode(e).string();a.dom.setAttrib(b,"data-wp-media",window.encodeURIComponent(f)),d.detach()})))}a.addCommand("WP_Gallery",function(){e(a.selection.getNode())}),a.on("mouseup",function(b){function c(){d.removeClass(d.select("img.wp-media-selected"),"wp-media-selected")}var d=a.dom,f=b.target;"IMG"===f.nodeName&&d.getAttrib(f,"data-wp-media")?2!==b.button&&(d.hasClass(f,"wp-media-selected")?e(f):(c(),d.addClass(f,"wp-media-selected"))):c()}),a.on("ResolveName",function(b){var c=a.dom,d=b.target;"IMG"===d.nodeName&&c.getAttrib(d,"data-wp-media")&&c.hasClass(d,"wp-gallery")&&(b.name="gallery")}),a.on("BeforeSetContent",function(c){a.plugins.wpview&&"undefined"!=typeof wp&&wp.mce||(c.content=b(c.content))}),a.on("PostProcess",function(a){a.get&&(a.content=d(a.content))})}); \ No newline at end of file diff --git a/wp-includes/js/tinymce/plugins/wplink/plugin.js b/wp-includes/js/tinymce/plugins/wplink/plugin.js index b13c46a..eef8940 100644 --- a/wp-includes/js/tinymce/plugins/wplink/plugin.js +++ b/wp-includes/js/tinymce/plugins/wplink/plugin.js @@ -55,9 +55,9 @@ }); // WP default shortcut - editor.addShortcut( 'Alt+Shift+A', '', 'WP_Link' ); + editor.addShortcut( 'access+a', '', 'WP_Link' ); // The "de-facto standard" shortcut, see #27305 - editor.addShortcut( 'Meta+K', '', 'WP_Link' ); + editor.addShortcut( 'meta+k', '', 'WP_Link' ); editor.addButton( 'link', { icon: 'link', diff --git a/wp-includes/js/tinymce/plugins/wplink/plugin.min.js b/wp-includes/js/tinymce/plugins/wplink/plugin.min.js index 5096e42..f582eef 100644 --- a/wp-includes/js/tinymce/plugins/wplink/plugin.min.js +++ b/wp-includes/js/tinymce/plugins/wplink/plugin.min.js @@ -1 +1 @@ -!function(a){a.ui.WPLinkPreview=a.ui.Control.extend({url:"#",renderHtml:function(){return'
                "},setURL:function(b){var c,d;this.url!==b&&(this.url=b,b=window.decodeURIComponent(b),b=b.replace(/^(?:https?:)?\/\/(?:www\.)?/,""),-1!==(c=b.indexOf("?"))&&(b=b.slice(0,c)),-1!==(c=b.indexOf("#"))&&(b=b.slice(0,c)),b=b.replace(/(?:index)?\.html$/,""),"/"===b.charAt(b.length-1)&&(b=b.slice(0,-1)),b.length>40&&-1!==(c=b.indexOf("/"))&&-1!==(d=b.lastIndexOf("/"))&&d!==c&&(c+b.length-d<40&&(d=-(40-(c+1))),b=b.slice(0,c+1)+"\u2026"+b.slice(d)),a.$(this.getEl().firstChild).attr("href",this.url).text(b))}}),a.PluginManager.add("wplink",function(b){var c;b.addCommand("WP_Link",function(){window.wpLink&&window.wpLink.open(b.id)}),b.addShortcut("Alt+Shift+A","","WP_Link"),b.addShortcut("Meta+K","","WP_Link"),b.addButton("link",{icon:"link",tooltip:"Insert/edit link",cmd:"WP_Link",stateSelector:"a[href]"}),b.addButton("unlink",{icon:"unlink",tooltip:"Remove link",cmd:"unlink"}),b.addMenuItem("link",{icon:"link",text:"Insert/edit link",cmd:"WP_Link",stateSelector:"a[href]",context:"insert",prependToContext:!0}),b.on("pastepreprocess",function(c){var d=c.content,e=/^(?:https?:)?\/\/\S+$/i;b.selection.isCollapsed()||e.test(b.selection.getContent())||(d=d.replace(/<[^>]+>/g,""),d=a.trim(d),e.test(d)&&(b.execCommand("mceInsertLink",!1,{href:b.dom.decode(d)}),c.preventDefault()))}),b.addButton("wp_link_preview",{type:"WPLinkPreview",onPostRender:function(){var a=this;b.on("wptoolbar",function(d){var e,f,g=b.dom.getParent(d.element,"a");g&&(e=b.$(g),f=e.attr("href"),f&&!e.find("img").length&&(a.setURL(f),d.element=g,d.toolbar=c))})}}),b.addButton("wp_link_edit",{tooltip:"Edit ",icon:"dashicon dashicons-edit",cmd:"WP_Link"}),b.addButton("wp_link_remove",{tooltip:"Remove",icon:"dashicon dashicons-no",cmd:"unlink"}),b.on("preinit",function(){b.wp&&b.wp._createToolbar&&(c=b.wp._createToolbar(["wp_link_preview","wp_link_edit","wp_link_remove"],!0))})})}(window.tinymce); \ No newline at end of file +!function(a){a.ui.WPLinkPreview=a.ui.Control.extend({url:"#",renderHtml:function(){return'"},setURL:function(b){var c,d;this.url!==b&&(this.url=b,b=window.decodeURIComponent(b),b=b.replace(/^(?:https?:)?\/\/(?:www\.)?/,""),-1!==(c=b.indexOf("?"))&&(b=b.slice(0,c)),-1!==(c=b.indexOf("#"))&&(b=b.slice(0,c)),b=b.replace(/(?:index)?\.html$/,""),"/"===b.charAt(b.length-1)&&(b=b.slice(0,-1)),b.length>40&&-1!==(c=b.indexOf("/"))&&-1!==(d=b.lastIndexOf("/"))&&d!==c&&(c+b.length-d<40&&(d=-(40-(c+1))),b=b.slice(0,c+1)+"\u2026"+b.slice(d)),a.$(this.getEl().firstChild).attr("href",this.url).text(b))}}),a.PluginManager.add("wplink",function(b){var c;b.addCommand("WP_Link",function(){window.wpLink&&window.wpLink.open(b.id)}),b.addShortcut("access+a","","WP_Link"),b.addShortcut("meta+k","","WP_Link"),b.addButton("link",{icon:"link",tooltip:"Insert/edit link",cmd:"WP_Link",stateSelector:"a[href]"}),b.addButton("unlink",{icon:"unlink",tooltip:"Remove link",cmd:"unlink"}),b.addMenuItem("link",{icon:"link",text:"Insert/edit link",cmd:"WP_Link",stateSelector:"a[href]",context:"insert",prependToContext:!0}),b.on("pastepreprocess",function(c){var d=c.content,e=/^(?:https?:)?\/\/\S+$/i;b.selection.isCollapsed()||e.test(b.selection.getContent())||(d=d.replace(/<[^>]+>/g,""),d=a.trim(d),e.test(d)&&(b.execCommand("mceInsertLink",!1,{href:b.dom.decode(d)}),c.preventDefault()))}),b.addButton("wp_link_preview",{type:"WPLinkPreview",onPostRender:function(){var a=this;b.on("wptoolbar",function(d){var e,f,g=b.dom.getParent(d.element,"a");g&&(e=b.$(g),f=e.attr("href"),f&&!e.find("img").length&&(a.setURL(f),d.element=g,d.toolbar=c))})}}),b.addButton("wp_link_edit",{tooltip:"Edit ",icon:"dashicon dashicons-edit",cmd:"WP_Link"}),b.addButton("wp_link_remove",{tooltip:"Remove",icon:"dashicon dashicons-no",cmd:"unlink"}),b.on("preinit",function(){b.wp&&b.wp._createToolbar&&(c=b.wp._createToolbar(["wp_link_preview","wp_link_edit","wp_link_remove"],!0))})})}(window.tinymce); \ No newline at end of file diff --git a/wp-includes/js/tinymce/plugins/wpview/plugin.js b/wp-includes/js/tinymce/plugins/wpview/plugin.js index 9db3008..61f34bc 100644 --- a/wp-includes/js/tinymce/plugins/wpview/plugin.js +++ b/wp-includes/js/tinymce/plugins/wpview/plugin.js @@ -347,6 +347,15 @@ tinymce.PluginManager.add( 'wpview', function( editor ) { attributeFilter: ['class'] } ); } + + if ( tinymce.Env.ie ) { + // Prevent resize handles in newer IE + editor.dom.bind( editor.getBody(), 'controlselect mscontrolselect', function( event ) { + if ( getView( event.target ) ) { + event.preventDefault(); + } + }); + } }); // Empty the wpview wrap and marker nodes diff --git a/wp-includes/js/tinymce/plugins/wpview/plugin.min.js b/wp-includes/js/tinymce/plugins/wpview/plugin.min.js index e8d5089..d358417 100644 --- a/wp-includes/js/tinymce/plugins/wpview/plugin.min.js +++ b/wp-includes/js/tinymce/plugins/wpview/plugin.min.js @@ -1 +1 @@ -tinymce.PluginManager.add("wpview",function(a){function b(a){return c(a,"wpview-wrap")}function c(a,b){for(;a&&a.parentNode;){if(a.className&&-1!==(" "+a.className+" ").indexOf(" "+b+" "))return a;a=a.parentNode}return!1}function d(a){a.stopPropagation()}function e(b,c){var d=b?"before":"after",e=b?0:1;i(),a.selection.setCursorLocation(a.dom.select(".wpview-selection-"+d,c)[0],e),a.nodeChanged()}function f(b,c,d){var f=a.dom,g=f.create("p");w.ie&&w.ie<11||(g.innerHTML='
                '),c?b.parentNode.insertBefore(g,b):f.insertAfter(g,b),i(),c&&d===x.ENTER?e(c,b):a.selection.setCursorLocation(g,0),a.nodeChanged()}function g(b){a.undoManager.transact(function(){f(b),wp.mce.views.remove(a,b)})}function h(b){var c,e=a.dom;b&&(b!==n&&(a.getBody().focus(),i(),n=b,e.setAttrib(b,"data-mce-selected",1),c=e.create("div",{"class":"wpview-clipboard",contenteditable:"true"},wp.mce.views.getText(b)),a.dom.select(".wpview-body",b)[0].appendChild(c),e.bind(c,"beforedeactivate focusin focusout",d),e.bind(n,"beforedeactivate focusin focusout",d),C?a.selection.select(c):a.selection.select(c,!0)),a.nodeChanged(),a.fire("wpview-selected",b))}function i(){var b,c=a.dom;n&&(b=a.dom.select(".wpview-clipboard",n)[0],c.unbind(b),c.remove(b),c.unbind(n,"beforedeactivate focusin focusout click mouseup",d),c.setAttrib(n,"data-mce-selected",null)),n=null}function j(a,b){return"

                "+window.decodeURIComponent(b)+"

                "}function k(a){return a.replace(/]+data-wpview-text="([^"]+)"[^>]*>(?:[\s\S]+?wpview-selection-after[^>]+>[^<>]*<\/p>\s*|\.)<\/div>/g,j).replace(/

                ]*?data-wpview-marker="([^"]+)"[^>]*>[\s\S]*?<\/p>/g,j)}function l(a){v("div[data-wpview-text], p[data-wpview-marker]",a).each(function(a,b){b.innerHTML="."})}function m(a){return 47>=a&&a!==x.SPACEBAR&&a!==x.ENTER&&a!==x.DELETE&&a!==x.BACKSPACE&&(37>a||a>40)||a>=224||a>=144&&150>=a||a>=91&&93>=a||a>=112&&135>=a}var n,o,p,q,r,s,t,u,v=a.$,w=tinymce.Env,x=tinymce.util.VK,y=tinymce.dom.TreeWalker,z=!1,A=!0,B=function(){return!1},C=/iPad|iPod|iPhone/.test(navigator.userAgent);return"undefined"!=typeof wp&&wp.mce?(a.on("BeforeAddUndo",function(a){a.level.content&&(a.level.content=k(a.level.content))}),a.on("BeforeSetContent",function(b){var c;if(b.selection||wp.mce.views.unbind(),b.content){if(!b.load&&(n&&g(n),c=a.selection.getNode(),c&&c!==a.getBody()&&/^\s*https?:\/\/\S+\s*$/i.test(b.content))){if(c=a.dom.getParent(c,"p"),!c||!/^[\s\uFEFF\u00A0]*$/.test(v(c).text()||""))return;c.innerHTML=""}b.content=wp.mce.views.setMarkers(b.content)}}),a.on("pastePreProcess",function(a){var b=a.content;b&&(b=tinymce.trim(b.replace(/<[^>]+>/g,"")),/^https?:\/\/\S+$/i.test(b)&&(a.content=b))}),a.on("SetContent",function(){wp.mce.views.render()}),a.on("click",function(c){var d,f,g,h=c.clientX,i=c.clientY,j=a.getBody(),k=j.getBoundingClientRect(),l=j.firstChild,m=j.lastChild;l&&m&&(d=l.getBoundingClientRect(),f=m.getBoundingClientRect(),if.bottom&&(g=b(m))?(e(!1,g),c.preventDefault()):(hk.right)&&tinymce.each(a.dom.select(".wpview-wrap"),function(a){var b=a.getBoundingClientRect();return i=b.top&&i<=b.bottom?(hk.right&&(e(!1,a),c.preventDefault()),!1):void 0}))}),a.on("init",function(){var c=!1,d=a.selection,e=window.MutationObserver||window.WebKitMutationObserver;a.on("BeforeSetContent",function(){var c,e,f=b(d.getNode());f&&(!f.nextSibling||b(f.nextSibling)?(e=a.getDoc().createTextNode(""),a.dom.insertAfter(e,f)):(c=new y(f.nextSibling,f.nextSibling),e=c.next()),d.select(e),d.collapse(!0))}),a.dom.bind(a.getDoc(),"touchmove",function(){c=!0}),a.on("mousedown mouseup click touchend",function(a){var d=b(a.target);return A=!1,d?(a.stopImmediatePropagation(),a.preventDefault(),"touchend"===a.type&&c?c=!1:h(d),!1):(("touchend"===a.type||"mousedown"===a.type)&&i(),void("touchend"===a.type&&c&&(c=!1)))},!0),e&&new e(function(){a.fire("wp-body-class-change")}).observe(a.getBody(),{attributes:!0,attributeFilter:["class"]})}),a.on("PreProcess",function(a){l(a.node)},!0),a.on("hide",function(){wp.mce.views.unbind(),i(),l()}),a.on("PostProcess",function(a){a.content&&(a.content=a.content.replace(/

                ]*?data-wpview-text="([^"]+)"[^>]*>[\s\S]*?<\/div>/g,j).replace(/

                ]*?data-wpview-marker="([^"]+)"[^>]*>[\s\S]*?<\/p>/g,j))}),a.on("keydown",function(c){var d,j,k,l,o,q,r,s=c.keyCode,t=a.dom,u=a.selection;if(n){if((c.metaKey||c.ctrlKey)&&s!==x.BACKSPACE&&86!==s||s>=112&&123>=s)return void((c.metaKey||c.ctrlKey)&&88===s&&(z=n));if(j=b(u.getNode()),j!==n)return void i();s===x.LEFT?(e(!0,j),c.preventDefault()):s===x.UP?(j.previousSibling?b(j.previousSibling)?e(!0,j.previousSibling):(i(),u.select(j.previousSibling,!0),u.collapse()):e(!0,j),c.preventDefault()):s===x.RIGHT?(e(!1,j),c.preventDefault()):s===x.DOWN?(j.nextSibling?b(j.nextSibling)?e(!1,j.nextSibling):(i(),u.setCursorLocation(j.nextSibling,0)):e(!1,j),c.preventDefault()):m(s)||(g(n),(s===x.ENTER||s===x.DELETE||s===x.BACKSPACE)&&c.preventDefault())}else{if(c.metaKey||c.ctrlKey||s>=112&&123>=s)return;if(d=u.getNode(),p=d,j=b(d),u.isCollapsed()||(o=u.getRng(),(j=b(o.endContainer))?(q=o.cloneRange(),u.select(j.previousSibling,!0),u.collapse(),r=u.getRng(),q.setEnd(r.endContainer,r.endOffset),u.setRng(q)):(j=b(o.startContainer))&&(q=o.cloneRange(),q.setStart(j.nextSibling,0),u.setRng(q))),!j)return void(c.keyCode===x.BACKSPACE&&(a.dom.isEmpty(d)?(j=b(d.previousSibling))&&(e(!1,j),a.dom.remove(d),c.preventDefault()):(o=u.getRng())&&0===o.startOffset&&0===o.endOffset&&(j=b(d.previousSibling))&&(e(!1,j),c.preventDefault())));if(!(k=t.hasClass(j,"wpview-selection-before"))&&!(l=t.hasClass(j,"wpview-selection-after")))return;if(m(s))return;l&&s===x.UP||k&&s===x.BACKSPACE?(j.previousSibling?b(j.previousSibling)?e(!1,j.previousSibling):t.isEmpty(j.previousSibling)&&s===x.BACKSPACE?t.remove(j.previousSibling):(u.select(j.previousSibling,!0),u.collapse()):e(!0,j),c.preventDefault()):!l||s!==x.DOWN&&s!==x.RIGHT?!k||s!==x.UP&&s!==x.LEFT?k&&s===x.DOWN?(j.nextSibling?b(j.nextSibling)?e(!0,j.nextSibling):u.setCursorLocation(j.nextSibling,0):e(!1,j),c.preventDefault()):l&&s===x.LEFT||k&&s===x.RIGHT?(h(j),c.preventDefault()):l&&s===x.BACKSPACE?(g(j),c.preventDefault()):l?f(j):k&&f(j,!0,s):(j.previousSibling&&(b(j.previousSibling)?e(s===x.UP,j.previousSibling):(u.select(j.previousSibling,!0),u.collapse())),c.preventDefault()):(j.nextSibling&&(b(j.nextSibling)?e(s===x.RIGHT,j.nextSibling):u.setCursorLocation(j.nextSibling,0)),c.preventDefault()),s===x.ENTER&&c.preventDefault()}}),a.on("keyup",function(){z&&(g(z),z=!1)}),a.on("focus",function(){var c;r=!0,a.dom.addClass(a.getBody(),"has-focus"),A&&(c=b(a.getBody().firstChild))&&e(!0,c),A=!1}),a.on("blur",function(){r=!1,a.dom.removeClass(a.getBody(),"has-focus")}),a.on("NodeChange",function(d){var f=a.dom,g=a.dom.select(".wpview-wrap"),h=d.element.className,j=b(d.element),k=p;if(p=!1,clearInterval(o),tinymce.each(g,function(a){a.className&&(a.className=a.className.replace(/ ?\bwpview-(?:selection-before|selection-after|cursor-hide)\b/g,""))}),r&&j)if("wpview-selection-before"!==h&&"wpview-selection-after"!==h||!a.selection.isCollapsed())c(d.element,"wpview-clipboard")||q||(i(),q++,e(!0,j));else{if(q=0,i(),k===j.previousSibling)return void e(!0,j);if(k===j.nextSibling)return void e(!1,j);f.addClass(j,h),o=setInterval(function(){f.hasClass(j,"wpview-cursor-hide")?f.removeClass(j,"wpview-cursor-hide"):f.addClass(j,"wpview-cursor-hide")},500)}}),a.on("BeforeExecCommand",function(){var c,d=a.selection.getNode();d&&((t="wpview-selection-before"===d.className)||"wpview-selection-after"===d.className)&&(c=b(d))&&(f(c,t),s=c)}),a.on("ExecCommand",function(){var b,c;n&&(b=n,i(),h(b)),s&&(c=s[t?"previousSibling":"nextSibling"],c&&"P"===c.nodeName&&a.dom.isEmpty(c)&&(a.dom.remove(c),e(t,s)),s=!1)}),a.on("ResolveName",function(c){a.dom.hasClass(c.target,"wpview-wrap")?(c.name=a.dom.getAttrib(c.target,"data-wpview-type")||"wpview",c.stopPropagation()):b(c.target)&&(c.preventDefault(),c.stopPropagation())}),a.addButton("wp_view_edit",{tooltip:"Edit ",icon:"dashicon dashicons-edit",onclick:function(){n&&wp.mce.views.edit(a,n)}}),a.addButton("wp_view_remove",{tooltip:"Remove",icon:"dashicon dashicons-no",onclick:function(){n&&g(n)}}),a.once("preinit",function(){a.wp&&a.wp._createToolbar&&(u=a.wp._createToolbar(["wp_view_edit","wp_view_remove"]))}),a.on("wptoolbar",function(a){n&&(a.element=n,a.toolbar=u)}),a.wp=a.wp||{},a.wp.getView=b,a.wp.setViewCursor=e,{getView:b}):{getView:B}}); \ No newline at end of file +tinymce.PluginManager.add("wpview",function(a){function b(a){return c(a,"wpview-wrap")}function c(a,b){for(;a&&a.parentNode;){if(a.className&&-1!==(" "+a.className+" ").indexOf(" "+b+" "))return a;a=a.parentNode}return!1}function d(a){a.stopPropagation()}function e(b,c){var d=b?"before":"after",e=b?0:1;i(),a.selection.setCursorLocation(a.dom.select(".wpview-selection-"+d,c)[0],e),a.nodeChanged()}function f(b,c,d){var f=a.dom,g=f.create("p");w.ie&&w.ie<11||(g.innerHTML='
                '),c?b.parentNode.insertBefore(g,b):f.insertAfter(g,b),i(),c&&d===x.ENTER?e(c,b):a.selection.setCursorLocation(g,0),a.nodeChanged()}function g(b){a.undoManager.transact(function(){f(b),wp.mce.views.remove(a,b)})}function h(b){var c,e=a.dom;b&&(b!==n&&(a.getBody().focus(),i(),n=b,e.setAttrib(b,"data-mce-selected",1),c=e.create("div",{"class":"wpview-clipboard",contenteditable:"true"},wp.mce.views.getText(b)),a.dom.select(".wpview-body",b)[0].appendChild(c),e.bind(c,"beforedeactivate focusin focusout",d),e.bind(n,"beforedeactivate focusin focusout",d),C?a.selection.select(c):a.selection.select(c,!0)),a.nodeChanged(),a.fire("wpview-selected",b))}function i(){var b,c=a.dom;n&&(b=a.dom.select(".wpview-clipboard",n)[0],c.unbind(b),c.remove(b),c.unbind(n,"beforedeactivate focusin focusout click mouseup",d),c.setAttrib(n,"data-mce-selected",null)),n=null}function j(a,b){return"

                "+window.decodeURIComponent(b)+"

                "}function k(a){return a.replace(/]+data-wpview-text="([^"]+)"[^>]*>(?:[\s\S]+?wpview-selection-after[^>]+>[^<>]*<\/p>\s*|\.)<\/div>/g,j).replace(/

                ]*?data-wpview-marker="([^"]+)"[^>]*>[\s\S]*?<\/p>/g,j)}function l(a){v("div[data-wpview-text], p[data-wpview-marker]",a).each(function(a,b){b.innerHTML="."})}function m(a){return 47>=a&&a!==x.SPACEBAR&&a!==x.ENTER&&a!==x.DELETE&&a!==x.BACKSPACE&&(37>a||a>40)||a>=224||a>=144&&150>=a||a>=91&&93>=a||a>=112&&135>=a}var n,o,p,q,r,s,t,u,v=a.$,w=tinymce.Env,x=tinymce.util.VK,y=tinymce.dom.TreeWalker,z=!1,A=!0,B=function(){return!1},C=/iPad|iPod|iPhone/.test(navigator.userAgent);return"undefined"!=typeof wp&&wp.mce?(a.on("BeforeAddUndo",function(a){a.level.content&&(a.level.content=k(a.level.content))}),a.on("BeforeSetContent",function(b){var c;if(b.selection||wp.mce.views.unbind(),b.content){if(!b.load&&(n&&g(n),c=a.selection.getNode(),c&&c!==a.getBody()&&/^\s*https?:\/\/\S+\s*$/i.test(b.content))){if(c=a.dom.getParent(c,"p"),!c||!/^[\s\uFEFF\u00A0]*$/.test(v(c).text()||""))return;c.innerHTML=""}b.content=wp.mce.views.setMarkers(b.content)}}),a.on("pastePreProcess",function(a){var b=a.content;b&&(b=tinymce.trim(b.replace(/<[^>]+>/g,"")),/^https?:\/\/\S+$/i.test(b)&&(a.content=b))}),a.on("SetContent",function(){wp.mce.views.render()}),a.on("click",function(c){var d,f,g,h=c.clientX,i=c.clientY,j=a.getBody(),k=j.getBoundingClientRect(),l=j.firstChild,m=j.lastChild;l&&m&&(d=l.getBoundingClientRect(),f=m.getBoundingClientRect(),if.bottom&&(g=b(m))?(e(!1,g),c.preventDefault()):(hk.right)&&tinymce.each(a.dom.select(".wpview-wrap"),function(a){var b=a.getBoundingClientRect();return i=b.top&&i<=b.bottom?(hk.right&&(e(!1,a),c.preventDefault()),!1):void 0}))}),a.on("init",function(){var c=!1,d=a.selection,e=window.MutationObserver||window.WebKitMutationObserver;a.on("BeforeSetContent",function(){var c,e,f=b(d.getNode());f&&(!f.nextSibling||b(f.nextSibling)?(e=a.getDoc().createTextNode(""),a.dom.insertAfter(e,f)):(c=new y(f.nextSibling,f.nextSibling),e=c.next()),d.select(e),d.collapse(!0))}),a.dom.bind(a.getDoc(),"touchmove",function(){c=!0}),a.on("mousedown mouseup click touchend",function(a){var d=b(a.target);return A=!1,d?(a.stopImmediatePropagation(),a.preventDefault(),"touchend"===a.type&&c?c=!1:h(d),!1):(("touchend"===a.type||"mousedown"===a.type)&&i(),void("touchend"===a.type&&c&&(c=!1)))},!0),e&&new e(function(){a.fire("wp-body-class-change")}).observe(a.getBody(),{attributes:!0,attributeFilter:["class"]}),tinymce.Env.ie&&a.dom.bind(a.getBody(),"controlselect mscontrolselect",function(a){b(a.target)&&a.preventDefault()})}),a.on("PreProcess",function(a){l(a.node)},!0),a.on("hide",function(){wp.mce.views.unbind(),i(),l()}),a.on("PostProcess",function(a){a.content&&(a.content=a.content.replace(/

                ]*?data-wpview-text="([^"]+)"[^>]*>[\s\S]*?<\/div>/g,j).replace(/

                ]*?data-wpview-marker="([^"]+)"[^>]*>[\s\S]*?<\/p>/g,j))}),a.on("keydown",function(c){var d,j,k,l,o,q,r,s=c.keyCode,t=a.dom,u=a.selection;if(n){if((c.metaKey||c.ctrlKey)&&s!==x.BACKSPACE&&86!==s||s>=112&&123>=s)return void((c.metaKey||c.ctrlKey)&&88===s&&(z=n));if(j=b(u.getNode()),j!==n)return void i();s===x.LEFT?(e(!0,j),c.preventDefault()):s===x.UP?(j.previousSibling?b(j.previousSibling)?e(!0,j.previousSibling):(i(),u.select(j.previousSibling,!0),u.collapse()):e(!0,j),c.preventDefault()):s===x.RIGHT?(e(!1,j),c.preventDefault()):s===x.DOWN?(j.nextSibling?b(j.nextSibling)?e(!1,j.nextSibling):(i(),u.setCursorLocation(j.nextSibling,0)):e(!1,j),c.preventDefault()):m(s)||(g(n),(s===x.ENTER||s===x.DELETE||s===x.BACKSPACE)&&c.preventDefault())}else{if(c.metaKey||c.ctrlKey||s>=112&&123>=s)return;if(d=u.getNode(),p=d,j=b(d),u.isCollapsed()||(o=u.getRng(),(j=b(o.endContainer))?(q=o.cloneRange(),u.select(j.previousSibling,!0),u.collapse(),r=u.getRng(),q.setEnd(r.endContainer,r.endOffset),u.setRng(q)):(j=b(o.startContainer))&&(q=o.cloneRange(),q.setStart(j.nextSibling,0),u.setRng(q))),!j)return void(c.keyCode===x.BACKSPACE&&(a.dom.isEmpty(d)?(j=b(d.previousSibling))&&(e(!1,j),a.dom.remove(d),c.preventDefault()):(o=u.getRng())&&0===o.startOffset&&0===o.endOffset&&(j=b(d.previousSibling))&&(e(!1,j),c.preventDefault())));if(!(k=t.hasClass(j,"wpview-selection-before"))&&!(l=t.hasClass(j,"wpview-selection-after")))return;if(m(s))return;l&&s===x.UP||k&&s===x.BACKSPACE?(j.previousSibling?b(j.previousSibling)?e(!1,j.previousSibling):t.isEmpty(j.previousSibling)&&s===x.BACKSPACE?t.remove(j.previousSibling):(u.select(j.previousSibling,!0),u.collapse()):e(!0,j),c.preventDefault()):!l||s!==x.DOWN&&s!==x.RIGHT?!k||s!==x.UP&&s!==x.LEFT?k&&s===x.DOWN?(j.nextSibling?b(j.nextSibling)?e(!0,j.nextSibling):u.setCursorLocation(j.nextSibling,0):e(!1,j),c.preventDefault()):l&&s===x.LEFT||k&&s===x.RIGHT?(h(j),c.preventDefault()):l&&s===x.BACKSPACE?(g(j),c.preventDefault()):l?f(j):k&&f(j,!0,s):(j.previousSibling&&(b(j.previousSibling)?e(s===x.UP,j.previousSibling):(u.select(j.previousSibling,!0),u.collapse())),c.preventDefault()):(j.nextSibling&&(b(j.nextSibling)?e(s===x.RIGHT,j.nextSibling):u.setCursorLocation(j.nextSibling,0)),c.preventDefault()),s===x.ENTER&&c.preventDefault()}}),a.on("keyup",function(){z&&(g(z),z=!1)}),a.on("focus",function(){var c;r=!0,a.dom.addClass(a.getBody(),"has-focus"),A&&(c=b(a.getBody().firstChild))&&e(!0,c),A=!1}),a.on("blur",function(){r=!1,a.dom.removeClass(a.getBody(),"has-focus")}),a.on("NodeChange",function(d){var f=a.dom,g=a.dom.select(".wpview-wrap"),h=d.element.className,j=b(d.element),k=p;if(p=!1,clearInterval(o),tinymce.each(g,function(a){a.className&&(a.className=a.className.replace(/ ?\bwpview-(?:selection-before|selection-after|cursor-hide)\b/g,""))}),r&&j)if("wpview-selection-before"!==h&&"wpview-selection-after"!==h||!a.selection.isCollapsed())c(d.element,"wpview-clipboard")||q||(i(),q++,e(!0,j));else{if(q=0,i(),k===j.previousSibling)return void e(!0,j);if(k===j.nextSibling)return void e(!1,j);f.addClass(j,h),o=setInterval(function(){f.hasClass(j,"wpview-cursor-hide")?f.removeClass(j,"wpview-cursor-hide"):f.addClass(j,"wpview-cursor-hide")},500)}}),a.on("BeforeExecCommand",function(){var c,d=a.selection.getNode();d&&((t="wpview-selection-before"===d.className)||"wpview-selection-after"===d.className)&&(c=b(d))&&(f(c,t),s=c)}),a.on("ExecCommand",function(){var b,c;n&&(b=n,i(),h(b)),s&&(c=s[t?"previousSibling":"nextSibling"],c&&"P"===c.nodeName&&a.dom.isEmpty(c)&&(a.dom.remove(c),e(t,s)),s=!1)}),a.on("ResolveName",function(c){a.dom.hasClass(c.target,"wpview-wrap")?(c.name=a.dom.getAttrib(c.target,"data-wpview-type")||"wpview",c.stopPropagation()):b(c.target)&&(c.preventDefault(),c.stopPropagation())}),a.addButton("wp_view_edit",{tooltip:"Edit ",icon:"dashicon dashicons-edit",onclick:function(){n&&wp.mce.views.edit(a,n)}}),a.addButton("wp_view_remove",{tooltip:"Remove",icon:"dashicon dashicons-no",onclick:function(){n&&g(n)}}),a.once("preinit",function(){a.wp&&a.wp._createToolbar&&(u=a.wp._createToolbar(["wp_view_edit","wp_view_remove"]))}),a.on("wptoolbar",function(a){n&&(a.element=n,a.toolbar=u)}),a.wp=a.wp||{},a.wp.getView=b,a.wp.setViewCursor=e,{getView:b}):{getView:B}}); \ No newline at end of file diff --git a/wp-includes/js/tinymce/skins/wordpress/wp-content.css b/wp-includes/js/tinymce/skins/wordpress/wp-content.css index 863cbf9..a974bc8 100644 --- a/wp-includes/js/tinymce/skins/wordpress/wp-content.css +++ b/wp-includes/js/tinymce/skins/wordpress/wp-content.css @@ -23,7 +23,6 @@ body { -webkit-font-smoothing: antialiased !important; overflow-wrap: break-word; word-wrap: break-word; /* Old syntax */ - word-break: break-word; /* iOS */ } body.rtl { diff --git a/wp-includes/js/tinymce/themes/modern/theme.js b/wp-includes/js/tinymce/themes/modern/theme.js index f94e37d..774f012 100644 --- a/wp-includes/js/tinymce/themes/modern/theme.js +++ b/wp-includes/js/tinymce/themes/modern/theme.js @@ -41,8 +41,8 @@ tinymce.ThemeManager.add('modern', function(editor) { function bindSelectorChanged() { var selection = editor.selection; - if (itemName == "bullist") { - selection.selectorChanged('ul > li', function(state, args) { + function setActiveItem(name) { + return function(state, args) { var nodeName, i = args.parents.length; while (i--) { @@ -52,23 +52,16 @@ tinymce.ThemeManager.add('modern', function(editor) { } } - item.active(state && nodeName == "UL"); - }); + item.active(state && nodeName == name); + }; + } + + if (itemName == "bullist") { + selection.selectorChanged('ul > li', setActiveItem("UL")); } if (itemName == "numlist") { - selection.selectorChanged('ol > li', function(state, args) { - var nodeName, i = args.parents.length; - - while (i--) { - nodeName = args.parents[i].nodeName; - if (nodeName == "OL" || nodeName == "UL") { - break; - } - } - - item.active(state && nodeName == "OL"); - }); + selection.selectorChanged('ol > li', setActiveItem("OL")); } if (item.settings.stateSelector) { @@ -552,7 +545,7 @@ tinymce.ThemeManager.add('modern', function(editor) { return null; } - editor.on('click keyup blur', function() { + editor.on('click keyup', function() { // Needs to be delayed to avoid Chrome img focus out bug window.setTimeout(function() { var match; @@ -570,6 +563,8 @@ tinymce.ThemeManager.add('modern', function(editor) { }, 0); }); + editor.on('blur hide', hideAllContextToolbars); + editor.on('ObjectResizeStart', function() { var match = findFrontMostMatch(editor.selection.getNode()); diff --git a/wp-includes/js/tinymce/themes/modern/theme.min.js b/wp-includes/js/tinymce/themes/modern/theme.min.js index 671d184..202d39c 100644 --- a/wp-includes/js/tinymce/themes/modern/theme.min.js +++ b/wp-includes/js/tinymce/themes/modern/theme.min.js @@ -1 +1 @@ -tinymce.ThemeManager.add("modern",function(a){function b(b,c){var d,e=[];if(b)return n(b.split(/[ ,]/),function(b){function f(){var c=a.selection;"bullist"==g&&c.selectorChanged("ul > li",function(a,c){for(var d,e=c.parents.length;e--&&(d=c.parents[e].nodeName,"OL"!=d&&"UL"!=d););b.active(a&&"UL"==d)}),"numlist"==g&&c.selectorChanged("ol > li",function(a,c){for(var d,e=c.parents.length;e--&&(d=c.parents[e].nodeName,"OL"!=d&&"UL"!=d););b.active(a&&"OL"==d)}),b.settings.stateSelector&&c.selectorChanged(b.settings.stateSelector,function(a){b.active(a)},!0),b.settings.disabledStateSelector&&c.selectorChanged(b.settings.disabledStateSelector,function(a){b.disabled(a)})}var g;"|"==b?d=null:m.has(b)?(b={type:b,size:c},e.push(b),d=null):(d||(d={type:"buttongroup",items:[]},e.push(d)),a.buttons[b]&&(g=b,b=a.buttons[g],"function"==typeof b&&(b=b()),b.type=b.type||"button",b.size=c,b=m.create(b),d.items.push(b),a.initialized?f():a.on("init",f)))}),{type:"toolbar",layout:"flow",items:e}}function c(a){function c(c){return c?(d.push(b(c,a)),!0):void 0}var d=[];if(tinymce.isArray(l.toolbar)){if(0===l.toolbar.length)return;tinymce.each(l.toolbar,function(a,b){l["toolbar"+(b+1)]=a}),delete l.toolbar}for(var e=1;10>e&&c(l["toolbar"+e]);e++);return d.length||l.toolbar===!1||c(l.toolbar||s),d.length?{type:"panel",layout:"stack",classes:"toolbar-grp",ariaRoot:!0,ariaRemember:!0,items:d}:void 0}function d(){function b(b){var c;return"|"==b?{text:"|"}:c=a.menuItems[b]}function c(c){var d,e,f,g,h;if(h=tinymce.makeMap((l.removed_menuitems||"").split(/[ ,]/)),l.menu?(e=l.menu[c],g=!0):e=r[c],e){d={text:e.title},f=[],n((e.items||"").split(/[ ,]/),function(a){var c=b(a);c&&!h[a]&&f.push(b(a))}),g||n(a.menuItems,function(a){a.context==c&&("before"==a.separator&&f.push({text:"|"}),a.prependToContext?f.unshift(a):f.push(a),"after"==a.separator&&f.push({text:"|"}))});for(var i=0;i=0;d--)for(e=g.length-1;e>=0;e--)if(g[e].predicate(f[d]))return{toolbar:g[e],element:f[d]};return null}var l;a.on("click keyup blur",function(){window.setTimeout(function(){var b;a.removed||(b=k(a.selection.getNode()),b?i(b):j())},0)}),a.on("ObjectResizeStart",function(){var b=k(a.selection.getNode());b&&b.toolbar.panel&&b.toolbar.panel.hide()}),a.on("nodeChange ResizeEditor ResizeWindow",g),a.on("remove",function(){tinymce.each(c(),function(a){a.panel&&a.panel.remove()}),a.contextToolbars={}})}function i(b){function f(){if(n&&n.moveRel&&n.visible()&&!n._fixed){var b=a.selection.getScrollContainer(),c=a.getBody(),d=0,e=0;if(b){var f=o.getPos(c),g=o.getPos(b);d=Math.max(0,g.x-f.x),e=Math.max(0,g.y-f.y)}n.fixed(!1).moveRel(c,a.rtl?["tr-br","br-tr"]:["tl-bl","bl-tl","tr-br"]).moveBy(d,e)}}function g(){n&&(n.show(),f(),o.addClass(a.getBody(),"mce-edit-focus"))}function i(){n&&(n.hide(),q.hideAll(),o.removeClass(a.getBody(),"mce-edit-focus"))}function j(){return n?void(n.visible()||g()):(n=k.panel=m.create({type:p?"panel":"floatpanel",role:"application",classes:"tinymce tinymce-inline",layout:"flex",direction:"column",align:"stretch",autohide:!1,autofix:!0,fixed:!!p,border:1,items:[l.menubar===!1?null:{type:"menubar",border:"0 0 1 0",items:d()},c(l.toolbar_items_size)]}),a.fire("BeforeRenderUI"),n.renderTo(p||document.body).reflow(),e(n),g(),h(),a.on("nodeChange",f),a.on("activate",g),a.on("deactivate",i),void a.nodeChanged())}var n,p;return l.fixed_toolbar_container&&(p=o.select(l.fixed_toolbar_container)[0]),l.content_editable=!0,a.on("focus",function(){b.skinUiCss?tinymce.DOM.styleSheetLoader.load(b.skinUiCss,j,j):j()}),a.on("blur hide",i),a.on("remove",function(){n&&(n.remove(),n=null)}),b.skinUiCss&&tinymce.DOM.styleSheetLoader.load(b.skinUiCss),{}}function j(b){var g,i,j;return b.skinUiCss&&tinymce.DOM.loadCSS(b.skinUiCss),g=k.panel=m.create({type:"panel",role:"application",classes:"tinymce",style:"visibility: hidden",layout:"stack",border:1,items:[l.menubar===!1?null:{type:"menubar",border:"0 0 1 0",items:d()},c(l.toolbar_items_size),{type:"panel",name:"iframe",layout:"stack",classes:"edit-area",html:"",border:"1 0 0 0"}]}),l.resize!==!1&&(i={type:"resizehandle",direction:l.resize,onResizeStart:function(){var b=a.getContentAreaContainer().firstChild;j={width:b.clientWidth,height:b.clientHeight}},onResize:function(a){"both"==l.resize?f(j.width+a.deltaX,j.height+a.deltaY):f(null,j.height+a.deltaY)}}),l.statusbar!==!1&&g.add({type:"panel",name:"statusbar",classes:"statusbar",layout:"flow",border:"1 0 0 0",ariaRoot:!0,items:[{type:"elementpath"},i]}),l.readonly&&g.find("*").disabled(!0),a.fire("BeforeRenderUI"),g.renderBefore(b.targetNode).reflow(),l.width&&tinymce.DOM.setStyle(g.getEl(),"width",l.width),a.on("remove",function(){g.remove(),g=null}),e(g),h(),{iframeContainer:g.find("#iframe")[0].getEl(),editorContainer:g.getEl()}}var k=this,l=a.settings,m=tinymce.ui.Factory,n=tinymce.each,o=tinymce.DOM,p=tinymce.ui.Rect,q=tinymce.ui.FloatPanel,r={file:{title:"File",items:"newdocument"},edit:{title:"Edit",items:"undo redo | cut copy paste pastetext | selectall"},insert:{title:"Insert",items:"|"},view:{title:"View",items:"visualaid |"},format:{title:"Format",items:"bold italic underline strikethrough superscript subscript | formats | removeformat"},table:{title:"Table"},tools:{title:"Tools"}},s="undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image";k.renderUI=function(b){var c=l.skin!==!1?l.skin||"lightgray":!1;if(c){var d=l.skin_url;d=d?a.documentBaseURI.toAbsolute(d):tinymce.baseURL+"/skins/"+c,tinymce.Env.documentMode<=7?b.skinUiCss=d+"/skin.ie7.min.css":b.skinUiCss=d+"/skin.min.css",a.contentCSS.push(d+"/content"+(a.inline?".inline":"")+".min.css")}return a.on("ProgressState",function(a){k.throbber=k.throbber||new tinymce.ui.Throbber(k.panel.getEl("body")),a.state?k.throbber.show(a.time):k.throbber.hide()}),l.inline?i(b):j(b)},k.resizeTo=f,k.resizeBy=g}); \ No newline at end of file +tinymce.ThemeManager.add("modern",function(a){function b(b,c){var d,e=[];if(b)return n(b.split(/[ ,]/),function(b){function f(){function c(a){return function(c,d){for(var e,f=d.parents.length;f--&&(e=d.parents[f].nodeName,"OL"!=e&&"UL"!=e););b.active(c&&e==a)}}var d=a.selection;"bullist"==g&&d.selectorChanged("ul > li",c("UL")),"numlist"==g&&d.selectorChanged("ol > li",c("OL")),b.settings.stateSelector&&d.selectorChanged(b.settings.stateSelector,function(a){b.active(a)},!0),b.settings.disabledStateSelector&&d.selectorChanged(b.settings.disabledStateSelector,function(a){b.disabled(a)})}var g;"|"==b?d=null:m.has(b)?(b={type:b,size:c},e.push(b),d=null):(d||(d={type:"buttongroup",items:[]},e.push(d)),a.buttons[b]&&(g=b,b=a.buttons[g],"function"==typeof b&&(b=b()),b.type=b.type||"button",b.size=c,b=m.create(b),d.items.push(b),a.initialized?f():a.on("init",f)))}),{type:"toolbar",layout:"flow",items:e}}function c(a){function c(c){return c?(d.push(b(c,a)),!0):void 0}var d=[];if(tinymce.isArray(l.toolbar)){if(0===l.toolbar.length)return;tinymce.each(l.toolbar,function(a,b){l["toolbar"+(b+1)]=a}),delete l.toolbar}for(var e=1;10>e&&c(l["toolbar"+e]);e++);return d.length||l.toolbar===!1||c(l.toolbar||s),d.length?{type:"panel",layout:"stack",classes:"toolbar-grp",ariaRoot:!0,ariaRemember:!0,items:d}:void 0}function d(){function b(b){var c;return"|"==b?{text:"|"}:c=a.menuItems[b]}function c(c){var d,e,f,g,h;if(h=tinymce.makeMap((l.removed_menuitems||"").split(/[ ,]/)),l.menu?(e=l.menu[c],g=!0):e=r[c],e){d={text:e.title},f=[],n((e.items||"").split(/[ ,]/),function(a){var c=b(a);c&&!h[a]&&f.push(b(a))}),g||n(a.menuItems,function(a){a.context==c&&("before"==a.separator&&f.push({text:"|"}),a.prependToContext?f.unshift(a):f.push(a),"after"==a.separator&&f.push({text:"|"}))});for(var i=0;i=0;d--)for(e=g.length-1;e>=0;e--)if(g[e].predicate(f[d]))return{toolbar:g[e],element:f[d]};return null}var l;a.on("click keyup",function(){window.setTimeout(function(){var b;a.removed||(b=k(a.selection.getNode()),b?i(b):j())},0)}),a.on("blur hide",j),a.on("ObjectResizeStart",function(){var b=k(a.selection.getNode());b&&b.toolbar.panel&&b.toolbar.panel.hide()}),a.on("nodeChange ResizeEditor ResizeWindow",g),a.on("remove",function(){tinymce.each(c(),function(a){a.panel&&a.panel.remove()}),a.contextToolbars={}})}function i(b){function f(){if(n&&n.moveRel&&n.visible()&&!n._fixed){var b=a.selection.getScrollContainer(),c=a.getBody(),d=0,e=0;if(b){var f=o.getPos(c),g=o.getPos(b);d=Math.max(0,g.x-f.x),e=Math.max(0,g.y-f.y)}n.fixed(!1).moveRel(c,a.rtl?["tr-br","br-tr"]:["tl-bl","bl-tl","tr-br"]).moveBy(d,e)}}function g(){n&&(n.show(),f(),o.addClass(a.getBody(),"mce-edit-focus"))}function i(){n&&(n.hide(),q.hideAll(),o.removeClass(a.getBody(),"mce-edit-focus"))}function j(){return n?void(n.visible()||g()):(n=k.panel=m.create({type:p?"panel":"floatpanel",role:"application",classes:"tinymce tinymce-inline",layout:"flex",direction:"column",align:"stretch",autohide:!1,autofix:!0,fixed:!!p,border:1,items:[l.menubar===!1?null:{type:"menubar",border:"0 0 1 0",items:d()},c(l.toolbar_items_size)]}),a.fire("BeforeRenderUI"),n.renderTo(p||document.body).reflow(),e(n),g(),h(),a.on("nodeChange",f),a.on("activate",g),a.on("deactivate",i),void a.nodeChanged())}var n,p;return l.fixed_toolbar_container&&(p=o.select(l.fixed_toolbar_container)[0]),l.content_editable=!0,a.on("focus",function(){b.skinUiCss?tinymce.DOM.styleSheetLoader.load(b.skinUiCss,j,j):j()}),a.on("blur hide",i),a.on("remove",function(){n&&(n.remove(),n=null)}),b.skinUiCss&&tinymce.DOM.styleSheetLoader.load(b.skinUiCss),{}}function j(b){var g,i,j;return b.skinUiCss&&tinymce.DOM.loadCSS(b.skinUiCss),g=k.panel=m.create({type:"panel",role:"application",classes:"tinymce",style:"visibility: hidden",layout:"stack",border:1,items:[l.menubar===!1?null:{type:"menubar",border:"0 0 1 0",items:d()},c(l.toolbar_items_size),{type:"panel",name:"iframe",layout:"stack",classes:"edit-area",html:"",border:"1 0 0 0"}]}),l.resize!==!1&&(i={type:"resizehandle",direction:l.resize,onResizeStart:function(){var b=a.getContentAreaContainer().firstChild;j={width:b.clientWidth,height:b.clientHeight}},onResize:function(a){"both"==l.resize?f(j.width+a.deltaX,j.height+a.deltaY):f(null,j.height+a.deltaY)}}),l.statusbar!==!1&&g.add({type:"panel",name:"statusbar",classes:"statusbar",layout:"flow",border:"1 0 0 0",ariaRoot:!0,items:[{type:"elementpath"},i]}),l.readonly&&g.find("*").disabled(!0),a.fire("BeforeRenderUI"),g.renderBefore(b.targetNode).reflow(),l.width&&tinymce.DOM.setStyle(g.getEl(),"width",l.width),a.on("remove",function(){g.remove(),g=null}),e(g),h(),{iframeContainer:g.find("#iframe")[0].getEl(),editorContainer:g.getEl()}}var k=this,l=a.settings,m=tinymce.ui.Factory,n=tinymce.each,o=tinymce.DOM,p=tinymce.ui.Rect,q=tinymce.ui.FloatPanel,r={file:{title:"File",items:"newdocument"},edit:{title:"Edit",items:"undo redo | cut copy paste pastetext | selectall"},insert:{title:"Insert",items:"|"},view:{title:"View",items:"visualaid |"},format:{title:"Format",items:"bold italic underline strikethrough superscript subscript | formats | removeformat"},table:{title:"Table"},tools:{title:"Tools"}},s="undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image";k.renderUI=function(b){var c=l.skin!==!1?l.skin||"lightgray":!1;if(c){var d=l.skin_url;d=d?a.documentBaseURI.toAbsolute(d):tinymce.baseURL+"/skins/"+c,tinymce.Env.documentMode<=7?b.skinUiCss=d+"/skin.ie7.min.css":b.skinUiCss=d+"/skin.min.css",a.contentCSS.push(d+"/content"+(a.inline?".inline":"")+".min.css")}return a.on("ProgressState",function(a){k.throbber=k.throbber||new tinymce.ui.Throbber(k.panel.getEl("body")),a.state?k.throbber.show(a.time):k.throbber.hide()}),l.inline?i(b):j(b)},k.resizeTo=f,k.resizeBy=g}); \ No newline at end of file diff --git a/wp-includes/js/tinymce/tinymce.min.js b/wp-includes/js/tinymce/tinymce.min.js index 93e16d0..b5e918a 100644 --- a/wp-includes/js/tinymce/tinymce.min.js +++ b/wp-includes/js/tinymce/tinymce.min.js @@ -1,12 +1,12 @@ -// 4.2.5 (2015-08-31) -!function(e,t){"use strict";function n(e,t){for(var n,r=[],i=0;ir;r++)if(o=n[r],o&&o.func.call(o.scope,e)===!1&&e.preventDefault(),e.isImmediatePropagationStopped())return}var a=this,s={},l,c,u,d,f;c=o+(+new Date).toString(32),d="onmouseenter"in document.documentElement,u="onfocusin"in document.documentElement,f={mouseenter:"mouseover",mouseleave:"mouseout"},l=1,a.domLoaded=!1,a.events=s,a.bind=function(t,o,h,p){function m(e){i(n(e||_.event),g)}var g,v,y,b,x,C,w,_=window;if(t&&3!==t.nodeType&&8!==t.nodeType){for(t[c]?g=t[c]:(g=l++,t[c]=g,s[g]={}),p=p||t,o=o.split(" "),y=o.length;y--;)b=o[y],C=m,x=w=!1,"DOMContentLoaded"===b&&(b="ready"),a.domLoaded&&"ready"===b&&"complete"==t.readyState?h.call(p,n({type:b})):(d||(x=f[b],x&&(C=function(e){var t,r;if(t=e.currentTarget,r=e.relatedTarget,r&&t.contains)r=t.contains(r);else for(;r&&r!==t;)r=r.parentNode;r||(e=n(e||_.event),e.type="mouseout"===e.type?"mouseleave":"mouseenter",e.target=t,i(e,g))})),u||"focusin"!==b&&"focusout"!==b||(w=!0,x="focusin"===b?"focus":"blur",C=function(e){e=n(e||_.event),e.type="focus"===e.type?"focusin":"focusout",i(e,g)}),v=s[g][b],v?"ready"===b&&a.domLoaded?h({type:b}):v.push({func:h,scope:p}):(s[g][b]=v=[{func:h,scope:p}],v.fakeName=x,v.capture=w,v.nativeHandler=C,"ready"===b?r(t,C,a):e(t,x||b,C,w)));return t=v=0,h}},a.unbind=function(e,n,r){var i,o,l,u,d,f;if(!e||3===e.nodeType||8===e.nodeType)return a;if(i=e[c]){if(f=s[i],n){for(n=n.split(" "),l=n.length;l--;)if(d=n[l],o=f[d]){if(r)for(u=o.length;u--;)if(o[u].func===r){var h=o.nativeHandler,p=o.fakeName,m=o.capture;o=o.slice(0,u).concat(o.slice(u+1)),o.nativeHandler=h,o.fakeName=p,o.capture=m,f[d]=o}r&&0!==o.length||(delete f[d],t(e,o.fakeName||d,o.nativeHandler,o.capture))}}else{for(d in f)o=f[d],t(e,o.fakeName||d,o.nativeHandler,o.capture);f={}}for(d in f)return a;delete s[i];try{delete e[c]}catch(g){e[c]=null}}return a},a.fire=function(e,t,r){var o;if(!e||3===e.nodeType||8===e.nodeType)return a;r=n(null,r),r.type=t,r.target=e;do o=e[c],o&&i(r,o),e=e.parentNode||e.ownerDocument||e.defaultView||e.parentWindow;while(e&&!r.isPropagationStopped());return a},a.clean=function(e){var t,n,r=a.unbind;if(!e||3===e.nodeType||8===e.nodeType)return a;if(e[c]&&r(e),e.getElementsByTagName||(e=e.document),e&&e.getElementsByTagName)for(r(e),n=e.getElementsByTagName("*"),t=n.length;t--;)e=n[t],e[c]&&r(e);return a},a.destroy=function(){s={}},a.cancel=function(e){return e&&(e.preventDefault(),e.stopImmediatePropagation()),!1}}var o="mce-data-",a=/^(?:mouse|contextmenu)|click/,s={keyLocation:1,layerX:1,layerY:1,returnValue:1,webkitMovementX:1,webkitMovementY:1};return i.Event=new i,i.Event.bind(window,"ready",function(){}),i}),r(c,[],function(){function e(e,t,n,r){var i,o,a,s,l,c,d,h,p,m;if((t?t.ownerDocument||t:z)!==D&&B(t),t=t||D,n=n||[],!e||"string"!=typeof e)return n;if(1!==(s=t.nodeType)&&9!==s)return[];if(L&&!r){if(i=ve.exec(e))if(a=i[1]){if(9===s){if(o=t.getElementById(a),!o||!o.parentNode)return n;if(o.id===a)return n.push(o),n}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(a))&&I(t,o)&&o.id===a)return n.push(o),n}else{if(i[2])return Z.apply(n,t.getElementsByTagName(e)),n;if((a=i[3])&&C.getElementsByClassName)return Z.apply(n,t.getElementsByClassName(a)),n}if(C.qsa&&(!H||!H.test(e))){if(h=d=F,p=t,m=9===s&&e,1===s&&"object"!==t.nodeName.toLowerCase()){for(c=N(e),(d=t.getAttribute("id"))?h=d.replace(be,"\\$&"):t.setAttribute("id",h),h="[id='"+h+"'] ",l=c.length;l--;)c[l]=h+f(c[l]);p=ye.test(e)&&u(t.parentNode)||t,m=c.join(",")}if(m)try{return Z.apply(n,p.querySelectorAll(m)),n}catch(g){}finally{d||t.removeAttribute("id")}}}return k(e.replace(se,"$1"),t,n,r)}function n(){function e(n,r){return t.push(n+" ")>w.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[F]=!0,e}function i(e){var t=D.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function o(e,t){for(var n=e.split("|"),r=e.length;r--;)w.attrHandle[n[r]]=t}function a(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||Y)-(~e.sourceIndex||Y);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function l(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function c(e){return r(function(t){return t=+t,r(function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function u(e){return e&&typeof e.getElementsByTagName!==K&&e}function d(){}function f(e){for(var t=0,n=e.length,r="";n>t;t++)r+=e[t].value;return r}function h(e,t,n){var r=t.dir,i=n&&"parentNode"===r,o=V++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||i)return e(t,n,o)}:function(t,n,a){var s,l,c=[W,o];if(a){for(;t=t[r];)if((1===t.nodeType||i)&&e(t,n,a))return!0}else for(;t=t[r];)if(1===t.nodeType||i){if(l=t[F]||(t[F]={}),(s=l[r])&&s[0]===W&&s[1]===o)return c[2]=s[2];if(l[r]=c,c[2]=e(t,n,a))return!0}}}function p(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function m(t,n,r){for(var i=0,o=n.length;o>i;i++)e(t,n[i],r);return r}function g(e,t,n,r,i){for(var o,a=[],s=0,l=e.length,c=null!=t;l>s;s++)(o=e[s])&&(!n||n(o,r,i))&&(a.push(o),c&&t.push(s));return a}function v(e,t,n,i,o,a){return i&&!i[F]&&(i=v(i)),o&&!o[F]&&(o=v(o,a)),r(function(r,a,s,l){var c,u,d,f=[],h=[],p=a.length,v=r||m(t||"*",s.nodeType?[s]:s,[]),y=!e||!r&&t?v:g(v,f,e,s,l),b=n?o||(r?e:p||i)?[]:a:y;if(n&&n(y,b,s,l),i)for(c=g(b,h),i(c,[],s,l),u=c.length;u--;)(d=c[u])&&(b[h[u]]=!(y[h[u]]=d));if(r){if(o||e){if(o){for(c=[],u=b.length;u--;)(d=b[u])&&c.push(y[u]=d);o(null,b=[],c,l)}for(u=b.length;u--;)(d=b[u])&&(c=o?te.call(r,d):f[u])>-1&&(r[c]=!(a[c]=d))}}else b=g(b===a?b.splice(p,b.length):b),o?o(null,a,b,l):Z.apply(a,b)})}function y(e){for(var t,n,r,i=e.length,o=w.relative[e[0].type],a=o||w.relative[" "],s=o?1:0,l=h(function(e){return e===t},a,!0),c=h(function(e){return te.call(t,e)>-1},a,!0),u=[function(e,n,r){return!o&&(r||n!==T)||((t=n).nodeType?l(e,n,r):c(e,n,r))}];i>s;s++)if(n=w.relative[e[s].type])u=[h(p(u),n)];else{if(n=w.filter[e[s].type].apply(null,e[s].matches),n[F]){for(r=++s;i>r&&!w.relative[e[r].type];r++);return v(s>1&&p(u),s>1&&f(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(se,"$1"),n,r>s&&y(e.slice(s,r)),i>r&&y(e=e.slice(r)),i>r&&f(e))}u.push(n)}return p(u)}function b(t,n){var i=n.length>0,o=t.length>0,a=function(r,a,s,l,c){var u,d,f,h=0,p="0",m=r&&[],v=[],y=T,b=r||o&&w.find.TAG("*",c),x=W+=null==y?1:Math.random()||.1,C=b.length;for(c&&(T=a!==D&&a);p!==C&&null!=(u=b[p]);p++){if(o&&u){for(d=0;f=t[d++];)if(f(u,a,s)){l.push(u);break}c&&(W=x)}i&&((u=!f&&u)&&h--,r&&m.push(u))}if(h+=p,i&&p!==h){for(d=0;f=n[d++];)f(m,v,a,s);if(r){if(h>0)for(;p--;)m[p]||v[p]||(v[p]=J.call(l));v=g(v)}Z.apply(l,v),c&&!r&&v.length>0&&h+n.length>1&&e.uniqueSort(l)}return c&&(W=x,T=y),m};return i?r(a):a}var x,C,w,_,E,N,S,k,T,R,A,B,D,M,L,H,P,O,I,F="sizzle"+-new Date,z=window.document,W=0,V=0,U=n(),$=n(),q=n(),j=function(e,t){return e===t&&(A=!0),0},K=typeof t,Y=1<<31,G={}.hasOwnProperty,X=[],J=X.pop,Q=X.push,Z=X.push,ee=X.slice,te=X.indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(this[t]===e)return t;return-1},ne="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",re="[\\x20\\t\\r\\n\\f]",ie="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",oe="\\["+re+"*("+ie+")(?:"+re+"*([*^$|!~]?=)"+re+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+ie+"))|)"+re+"*\\]",ae=":("+ie+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+oe+")*)|.*)\\)|)",se=new RegExp("^"+re+"+|((?:^|[^\\\\])(?:\\\\.)*)"+re+"+$","g"),le=new RegExp("^"+re+"*,"+re+"*"),ce=new RegExp("^"+re+"*([>+~]|"+re+")"+re+"*"),ue=new RegExp("="+re+"*([^\\]'\"]*?)"+re+"*\\]","g"),de=new RegExp(ae),fe=new RegExp("^"+ie+"$"),he={ID:new RegExp("^#("+ie+")"),CLASS:new RegExp("^\\.("+ie+")"),TAG:new RegExp("^("+ie+"|[*])"),ATTR:new RegExp("^"+oe),PSEUDO:new RegExp("^"+ae),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+re+"*(even|odd|(([+-]|)(\\d*)n|)"+re+"*(?:([+-]|)"+re+"*(\\d+)|))"+re+"*\\)|)","i"),bool:new RegExp("^(?:"+ne+")$","i"),needsContext:new RegExp("^"+re+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+re+"*((?:-\\d)?\\d*)"+re+"*\\)|)(?=[^-]|$)","i")},pe=/^(?:input|select|textarea|button)$/i,me=/^h\d$/i,ge=/^[^{]+\{\s*\[native \w/,ve=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ye=/[+~]/,be=/'|\\/g,xe=new RegExp("\\\\([\\da-f]{1,6}"+re+"?|("+re+")|.)","ig"),Ce=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)};try{Z.apply(X=ee.call(z.childNodes),z.childNodes),X[z.childNodes.length].nodeType}catch(we){Z={apply:X.length?function(e,t){Q.apply(e,ee.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}C=e.support={},E=e.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},B=e.setDocument=function(e){var t,n=e?e.ownerDocument||e:z,r=n.defaultView;return n!==D&&9===n.nodeType&&n.documentElement?(D=n,M=n.documentElement,L=!E(n),r&&r!==r.top&&(r.addEventListener?r.addEventListener("unload",function(){B()},!1):r.attachEvent&&r.attachEvent("onunload",function(){B()})),C.attributes=i(function(e){return e.className="i",!e.getAttribute("className")}),C.getElementsByTagName=i(function(e){return e.appendChild(n.createComment("")),!e.getElementsByTagName("*").length}),C.getElementsByClassName=ge.test(n.getElementsByClassName),C.getById=i(function(e){return M.appendChild(e).id=F,!n.getElementsByName||!n.getElementsByName(F).length}),C.getById?(w.find.ID=function(e,t){if(typeof t.getElementById!==K&&L){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},w.filter.ID=function(e){var t=e.replace(xe,Ce);return function(e){return e.getAttribute("id")===t}}):(delete w.find.ID,w.filter.ID=function(e){var t=e.replace(xe,Ce);return function(e){var n=typeof e.getAttributeNode!==K&&e.getAttributeNode("id");return n&&n.value===t}}),w.find.TAG=C.getElementsByTagName?function(e,t){return typeof t.getElementsByTagName!==K?t.getElementsByTagName(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},w.find.CLASS=C.getElementsByClassName&&function(e,t){return L?t.getElementsByClassName(e):void 0},P=[],H=[],(C.qsa=ge.test(n.querySelectorAll))&&(i(function(e){e.innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&H.push("[*^$]="+re+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||H.push("\\["+re+"*(?:value|"+ne+")"),e.querySelectorAll(":checked").length||H.push(":checked")}),i(function(e){var t=n.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&H.push("name"+re+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||H.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),H.push(",.*:")})),(C.matchesSelector=ge.test(O=M.matches||M.webkitMatchesSelector||M.mozMatchesSelector||M.oMatchesSelector||M.msMatchesSelector))&&i(function(e){C.disconnectedMatch=O.call(e,"div"),O.call(e,"[s!='']:x"),P.push("!=",ae)}),H=H.length&&new RegExp(H.join("|")),P=P.length&&new RegExp(P.join("|")),t=ge.test(M.compareDocumentPosition),I=t||ge.test(M.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},j=t?function(e,t){if(e===t)return A=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r?r:(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&r||!C.sortDetached&&t.compareDocumentPosition(e)===r?e===n||e.ownerDocument===z&&I(z,e)?-1:t===n||t.ownerDocument===z&&I(z,t)?1:R?te.call(R,e)-te.call(R,t):0:4&r?-1:1)}:function(e,t){if(e===t)return A=!0,0;var r,i=0,o=e.parentNode,s=t.parentNode,l=[e],c=[t];if(!o||!s)return e===n?-1:t===n?1:o?-1:s?1:R?te.call(R,e)-te.call(R,t):0;if(o===s)return a(e,t);for(r=e;r=r.parentNode;)l.unshift(r);for(r=t;r=r.parentNode;)c.unshift(r);for(;l[i]===c[i];)i++;return i?a(l[i],c[i]):l[i]===z?-1:c[i]===z?1:0},n):D},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if((t.ownerDocument||t)!==D&&B(t),n=n.replace(ue,"='$1']"),C.matchesSelector&&L&&(!P||!P.test(n))&&(!H||!H.test(n)))try{var r=O.call(t,n);if(r||C.disconnectedMatch||t.document&&11!==t.document.nodeType)return r}catch(i){}return e(n,D,null,[t]).length>0},e.contains=function(e,t){return(e.ownerDocument||e)!==D&&B(e),I(e,t)},e.attr=function(e,n){(e.ownerDocument||e)!==D&&B(e);var r=w.attrHandle[n.toLowerCase()],i=r&&G.call(w.attrHandle,n.toLowerCase())?r(e,n,!L):t;return i!==t?i:C.attributes||!L?e.getAttribute(n):(i=e.getAttributeNode(n))&&i.specified?i.value:null},e.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},e.uniqueSort=function(e){var t,n=[],r=0,i=0;if(A=!C.detectDuplicates,R=!C.sortStable&&e.slice(0),e.sort(j),A){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return R=null,e},_=e.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=_(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=_(t);return n},w=e.selectors={cacheLength:50,createPseudo:r,match:he,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(xe,Ce),e[3]=(e[3]||e[4]||e[5]||"").replace(xe,Ce),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(e){var t,n=!e[6]&&e[2];return he.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&de.test(n)&&(t=N(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(xe,Ce).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=U[e+" "];return t||(t=new RegExp("(^|"+re+")"+e+"("+re+"|$)"))&&U(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==K&&e.getAttribute("class")||"")})},ATTR:function(t,n,r){return function(i){var o=e.attr(i,t);return null==o?"!="===n:n?(o+="","="===n?o===r:"!="===n?o!==r:"^="===n?r&&0===o.indexOf(r):"*="===n?r&&o.indexOf(r)>-1:"$="===n?r&&o.slice(-r.length)===r:"~="===n?(" "+o+" ").indexOf(r)>-1:"|="===n?o===r||o.slice(0,r.length+1)===r+"-":!1):!0}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,l){var c,u,d,f,h,p,m=o!==a?"nextSibling":"previousSibling",g=t.parentNode,v=s&&t.nodeName.toLowerCase(),y=!l&&!s;if(g){if(o){for(;m;){for(d=t;d=d[m];)if(s?d.nodeName.toLowerCase()===v:1===d.nodeType)return!1;p=m="only"===e&&!p&&"nextSibling"}return!0}if(p=[a?g.firstChild:g.lastChild],a&&y){for(u=g[F]||(g[F]={}),c=u[e]||[],h=c[0]===W&&c[1],f=c[0]===W&&c[2],d=h&&g.childNodes[h];d=++h&&d&&d[m]||(f=h=0)||p.pop();)if(1===d.nodeType&&++f&&d===t){u[e]=[W,h,f];break}}else if(y&&(c=(t[F]||(t[F]={}))[e])&&c[0]===W)f=c[1];else for(;(d=++h&&d&&d[m]||(f=h=0)||p.pop())&&((s?d.nodeName.toLowerCase()!==v:1!==d.nodeType)||!++f||(y&&((d[F]||(d[F]={}))[e]=[W,f]),d!==t)););return f-=i,f===r||f%r===0&&f/r>=0}}},PSEUDO:function(t,n){var i,o=w.pseudos[t]||w.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return o[F]?o(n):o.length>1?(i=[t,t,"",n],w.setFilters.hasOwnProperty(t.toLowerCase())?r(function(e,t){for(var r,i=o(e,n),a=i.length;a--;)r=te.call(e,i[a]),e[r]=!(t[r]=i[a])}):function(e){return o(e,0,i)}):o}},pseudos:{not:r(function(e){var t=[],n=[],i=S(e.replace(se,"$1"));return i[F]?r(function(e,t,n,r){for(var o,a=i(e,null,r,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,r,o){return t[0]=e,i(t,null,o,n),!n.pop()}}),has:r(function(t){return function(n){return e(t,n).length>0}}),contains:r(function(e){return e=e.replace(xe,Ce),function(t){return(t.textContent||t.innerText||_(t)).indexOf(e)>-1}}),lang:r(function(t){return fe.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(xe,Ce).toLowerCase(),function(e){var n;do if(n=L?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return n=n.toLowerCase(),n===t||0===n.indexOf(t+"-");while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=window.location&&window.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===M},focus:function(e){return e===D.activeElement&&(!D.hasFocus||D.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!w.pseudos.empty(e)},header:function(e){return me.test(e.nodeName)},input:function(e){return pe.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:c(function(){return[0]}),last:c(function(e,t){return[t-1]}),eq:c(function(e,t,n){return[0>n?n+t:n]}),even:c(function(e,t){for(var n=0;t>n;n+=2)e.push(n);return e}),odd:c(function(e,t){for(var n=1;t>n;n+=2)e.push(n);return e}),lt:c(function(e,t,n){for(var r=0>n?n+t:n;--r>=0;)e.push(r);return e}),gt:c(function(e,t,n){for(var r=0>n?n+t:n;++r2&&"ID"===(a=o[0]).type&&C.getById&&9===t.nodeType&&L&&w.relative[o[1].type]){if(t=(w.find.ID(a.matches[0].replace(xe,Ce),t)||[])[0],!t)return n;c&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=he.needsContext.test(e)?0:o.length;i--&&(a=o[i],!w.relative[s=a.type]);)if((l=w.find[s])&&(r=l(a.matches[0].replace(xe,Ce),ye.test(o[0].type)&&u(t.parentNode)||t))){if(o.splice(i,1),e=r.length&&f(o),!e)return Z.apply(n,r),n;break}}return(c||S(e,d))(r,t,!L,n,ye.test(e)&&u(t.parentNode)||t),n},C.sortStable=F.split("").sort(j).join("")===F,C.detectDuplicates=!!A,B(),C.sortDetached=i(function(e){return 1&e.compareDocumentPosition(D.createElement("div"))}),i(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||o("type|href|height|width",function(e,t,n){return n?void 0:e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),C.attributes&&i(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||o("value",function(e,t,n){return n||"input"!==e.nodeName.toLowerCase()?void 0:e.defaultValue}),i(function(e){return null==e.getAttribute("disabled")})||o(ne,function(e,t,n){var r;return n?void 0:e[t]===!0?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),e}),r(u,[],function(){var e=navigator,t=e.userAgent,n,r,i,o,a,s,l,c,u,d;n=window.opera&&window.opera.buildNumber,u=/Android/.test(t),r=/WebKit/.test(t),i=!r&&!n&&/MSIE/gi.test(t)&&/Explorer/gi.test(e.appName),i=i&&/MSIE (\w+)\./.exec(t)[1],o=-1==t.indexOf("Trident/")||-1==t.indexOf("rv:")&&-1==e.appName.indexOf("Netscape")?!1:11,a=-1==t.indexOf("Edge/")||i||o?!1:12,i=i||o||a,s=!r&&!o&&/Gecko/.test(t),l=-1!=t.indexOf("Mac"),c=/(iPad|iPhone)/.test(t),d="FormData"in window&&"FileReader"in window&&"URL"in window&&!!URL.createObjectURL,a&&(r=!1);var f=!c||d||t.match(/AppleWebKit\/(\d*)/)[1]>=534;return{opera:n,webkit:r,ie:i,gecko:s,mac:l,iOS:c,android:u,contentEditable:f,transparentSrc:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",caretAfter:8!=i,range:window.getSelection&&"Range"in window,documentMode:i&&!a?document.documentMode||7:10,fileApi:d}}),r(d,[],function(){function e(e){var t=e,n,r;if(!s(e))for(t=[],n=0,r=e.length;r>n;n++)t[n]=e[n];return t}function n(e,n,r){var i,o;if(!e)return 0;if(r=r||e,e.length!==t){for(i=0,o=e.length;o>i;i++)if(n.call(r,e[i],i,e)===!1)return 0}else for(i in e)if(e.hasOwnProperty(i)&&n.call(r,e[i],i,e)===!1)return 0;return 1}function r(e,t){var r=[];return n(e,function(n,i){r.push(t(n,i,e))}),r}function i(e,t){var r=[];return n(e,function(e){(!t||t(e))&&r.push(e)}),r}function o(e,t){var n,r;if(e)for(n=0,r=e.length;r>n;n++)if(e[n]===t)return n;return-1}function a(e,t,n,r){var i=0;for(arguments.length<3&&(n=e[0],i=1);ir;r++){n=a[r];for(o in n)n.hasOwnProperty(o)&&(s=n[o],s!==t&&(e[o]=s))}return e}function l(e,t,r,i){i=i||this,e&&(r&&(e=e[r]),n.each(e,function(e,n){return t.call(i,e,n,r)===!1?!1:void l(e,t,r,i)}))}function c(e,t){var n,r;for(t=t||window,e=e.split("."),n=0;nn&&(t=t[e[n]],t);n++);return t}function d(e,t){return!e||i(e,"array")?e:n.map(e.split(t||","),r)}function f(t){var n=e.cacheSuffix;return n&&(t+=(-1===t.indexOf("?")?"?":"&")+n),t}var h=/^\s*|\s*$/g;return{trim:r,isArray:n.isArray,is:i,toArray:n.toArray,makeMap:o,each:n.each,map:n.map,grep:n.filter,inArray:n.indexOf,extend:s,create:a,walk:l,createNS:c,resolve:u,explode:d,_addCacheSuffix:f}}),r(h,[l,c,f,u],function(e,n,r,i){function o(e){return"undefined"!=typeof e}function a(e){return"string"==typeof e}function s(e){return e&&e==e.window}function l(e,t){var n,r,i;for(t=t||w,i=t.createElement("div"),n=t.createDocumentFragment(),i.innerHTML=e;r=i.firstChild;)n.appendChild(r);return n}function c(e,t,n,r){var i;if(a(t))t=l(t,v(e[0]));else if(t.length&&!t.nodeType){if(t=f.makeArray(t),r)for(i=t.length-1;i>=0;i--)c(e,t[i],n,r);else for(i=0;ii&&(a=e[i],t.call(a,i,a)!==!1);i++);return e}function g(e,t){var n=[];return m(e,function(e,r){t(r,e)&&n.push(r)}),n}function v(e){return e?9==e.nodeType?e:e.ownerDocument:w}function y(e,n,r){var i=[],o=e[n];for("string"!=typeof r&&r instanceof f&&(r=r[0]);o&&9!==o.nodeType;){if(r!==t){if(o===r)break;if("string"==typeof r&&f(o).is(r))break}1===o.nodeType&&i.push(o),o=o[n]}return i}function b(e,n,r,i){var o=[];for(i instanceof f&&(i=i[0]);e;e=e[n])if(!r||e.nodeType===r){if(i!==t){if(e===i)break;if("string"==typeof i&&f(e).is(i))break}o.push(e)}return o}function x(e,t,n){for(e=e[t];e;e=e[t])if(e.nodeType==n)return e;return null}function C(e,t,n){m(n,function(n,r){e[n]=e[n]||{},e[n][t]=r})}var w=document,_=Array.prototype.push,E=Array.prototype.slice,N=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,S=e.Event,k,T=r.makeMap("fillOpacity fontWeight lineHeight opacity orphans widows zIndex zoom"," "),R=r.makeMap("checked compact declare defer disabled ismap multiple nohref noshade nowrap readonly selected"," "),A={ -"for":"htmlFor","class":"className",readonly:"readOnly"},B={"float":"cssFloat"},D={},M={},L=/^\s*|\s*$/g;return f.fn=f.prototype={constructor:f,selector:"",context:null,length:0,init:function(e,t){var n=this,r,i;if(!e)return n;if(e.nodeType)return n.context=n[0]=e,n.length=1,n;if(t&&t.nodeType)n.context=t;else{if(t)return f(e).attr(t);n.context=t=document}if(a(e)){if(n.selector=e,r="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:N.exec(e),!r)return f(t).find(e);if(r[1])for(i=l(e,v(t)).firstChild;i;)_.call(n,i),i=i.nextSibling;else{if(i=v(t).getElementById(r[2]),!i)return n;if(i.id!==r[2])return n.find(e);n.length=1,n[0]=i}}else this.add(e,!1);return n},toArray:function(){return r.toArray(this)},add:function(e,t){var n=this,r,i;if(a(e))return n.add(f(e));if(t!==!1)for(r=f.unique(n.toArray().concat(f.makeArray(e))),n.length=r.length,i=0;it;t++)f.find(e,this[t],r);return f(r)},filter:function(e){return f("function"==typeof e?g(this.toArray(),function(t,n){return e(n,t)}):f.filter(e,this.toArray()))},closest:function(e){var t=[];return e instanceof f&&(e=e[0]),this.each(function(n,r){for(;r;){if("string"==typeof e&&f(r).is(e)){t.push(r);break}if(r==e){t.push(r);break}r=r.parentNode}}),f(t)},offset:function(e){var t,n,r,i=0,o=0,a;return e?this.css(e):(t=this[0],t&&(n=t.ownerDocument,r=n.documentElement,t.getBoundingClientRect&&(a=t.getBoundingClientRect(),i=a.left+(r.scrollLeft||n.body.scrollLeft)-r.clientLeft,o=a.top+(r.scrollTop||n.body.scrollTop)-r.clientTop)),{left:i,top:o})},push:_,sort:[].sort,splice:[].splice},r.extend(f,{extend:r.extend,makeArray:function(e){return s(e)||e.nodeType?[e]:r.toArray(e)},inArray:h,isArray:r.isArray,each:m,trim:p,grep:g,find:n,expr:n.selectors,unique:n.uniqueSort,text:n.getText,contains:n.contains,filter:function(e,t,n){var r=t.length;for(n&&(e=":not("+e+")");r--;)1!=t[r].nodeType&&t.splice(r,1);return t=1===t.length?f.find.matchesSelector(t[0],e)?[t[0]]:[]:f.find.matches(e,t)}}),m({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return y(e,"parentNode")},next:function(e){return x(e,"nextSibling",1)},prev:function(e){return x(e,"previousSibling",1)},children:function(e){return b(e.firstChild,"nextSibling",1)},contents:function(e){return r.toArray(("iframe"===e.nodeName?e.contentDocument||e.contentWindow.document:e).childNodes)}},function(e,t){f.fn[e]=function(n){var r=this,i=[];return r.each(function(){var e=t.call(i,this,n,i);e&&(f.isArray(e)?i.push.apply(i,e):i.push(e))}),this.length>1&&(i=f.unique(i),0===e.indexOf("parents")&&(i=i.reverse())),i=f(i),n?i.filter(n):i}}),m({parentsUntil:function(e,t){return y(e,"parentNode",t)},nextUntil:function(e,t){return b(e,"nextSibling",1,t).slice(1)},prevUntil:function(e,t){return b(e,"previousSibling",1,t).slice(1)}},function(e,t){f.fn[e]=function(n,r){var i=this,o=[];return i.each(function(){var e=t.call(o,this,n,o);e&&(f.isArray(e)?o.push.apply(o,e):o.push(e))}),this.length>1&&(o=f.unique(o),(0===e.indexOf("parents")||"prevUntil"===e)&&(o=o.reverse())),o=f(o),r?o.filter(r):o}}),f.fn.is=function(e){return!!e&&this.filter(e).length>0},f.fn.init.prototype=f.fn,f.overrideDefaults=function(e){function t(r,i){return n=n||e(),0===arguments.length&&(r=n.element),i||(i=n.context),new t.fn.init(r,i)}var n;return f.extend(t,this),t},i.ie&&i.ie<8&&(C(D,"get",{maxlength:function(e){var t=e.maxLength;return 2147483647===t?k:t},size:function(e){var t=e.size;return 20===t?k:t},"class":function(e){return e.className},style:function(e){var t=e.style.cssText;return 0===t.length?k:t}}),C(D,"set",{"class":function(e,t){e.className=t},style:function(e,t){e.style.cssText=t}})),i.ie&&i.ie<9&&(B["float"]="styleFloat",C(M,"set",{opacity:function(e,t){var n=e.style;null===t||""===t?n.removeAttribute("filter"):(n.zoom=1,n.filter="alpha(opacity="+100*t+")")}})),f.attrHooks=D,f.cssHooks=M,f}),r(p,[],function(){return function(e,t){function n(e,t,n,r){function i(e){return e=parseInt(e,10).toString(16),e.length>1?e:"0"+e}return"#"+i(t)+i(n)+i(r)}var r=/rgb\s*\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*\)/gi,i=/(?:url(?:(?:\(\s*\"([^\"]+)\"\s*\))|(?:\(\s*\'([^\']+)\'\s*\))|(?:\(\s*([^)\s]+)\s*\))))|(?:\'([^\']+)\')|(?:\"([^\"]+)\")/gi,o=/\s*([^:]+):\s*([^;]+);?/g,a=/\s+$/,s,l,c={},u,d,f,h="\ufeff";for(e=e||{},t&&(d=t.getValidStyles(),f=t.getInvalidStyles()),u=("\\\" \\' \\; \\: ; : "+h).split(" "),l=0;l-1&&n||(m[e+t]=-1==l?s[0]:s.join(" "),delete m[e+"-top"+t],delete m[e+"-right"+t],delete m[e+"-bottom"+t],delete m[e+"-left"+t])}}function u(e){var t=m[e],n;if(t){for(t=t.split(" "),n=t.length;n--;)if(t[n]!==t[0])return!1;return m[e]=t[0],!0}}function d(e,t,n,r){u(t)&&u(n)&&u(r)&&(m[e]=m[t]+" "+m[n]+" "+m[r],delete m[t],delete m[n],delete m[r])}function f(e){return b=!0,c[e]}function h(e,t){return b&&(e=e.replace(/\uFEFF[0-9]/g,function(e){return c[e]})),t||(e=e.replace(/\\([\'\";:])/g,"$1")),e}function p(t,n,r,i,o,a){if(o=o||a)return o=h(o),"'"+o.replace(/\'/g,"\\'")+"'";if(n=h(n||r||i),!e.allow_script_urls){var s=n.replace(/[\s\r\n]+/,"");if(/(java|vb)script:/i.test(s))return"";if(!e.allow_svg_data_urls&&/^data:image\/svg/i.test(s))return""}return x&&(n=x.call(C,n,"style")),"url('"+n.replace(/\'/g,"\\'")+"')"}var m={},g,v,y,b,x=e.url_converter,C=e.url_converter_scope||this;if(t){for(t=t.replace(/[\u0000-\u001F]/g,""),t=t.replace(/\\[\"\';:\uFEFF]/g,f).replace(/\"[^\"]+\"|\'[^\']+\'/g,function(e){return e.replace(/[;:]/g,f)});g=o.exec(t);){if(v=g[1].replace(a,"").toLowerCase(),y=g[2].replace(a,""),y=y.replace(/\\[0-9a-f]+/g,function(e){return String.fromCharCode(parseInt(e.substr(1),16))}),v&&y.length>0){if(!e.allow_script_urls&&("behavior"==v||/expression\s*\(|\/\*|\*\//.test(y)))continue;"font-weight"===v&&"700"===y?y="bold":("color"===v||"background-color"===v)&&(y=y.toLowerCase()),y=y.replace(r,n),y=y.replace(i,p),m[v]=b?h(y,!0):y}o.lastIndex=g.index+g[0].length}s("border","",!0),s("border","-width"),s("border","-color"),s("border","-style"),s("padding",""),s("margin",""),d("border","border-width","border-style","border-color"),"medium none"===m.border&&delete m.border,"none"===m["border-image"]&&delete m["border-image"]}return m},serialize:function(e,t){function n(t){var n,r,o,a;if(n=d[t])for(r=0,o=n.length;o>r;r++)t=n[r],a=e[t],a!==s&&a.length>0&&(i+=(i.length>0?" ":"")+t+": "+a+";")}function r(e,t){var n;return n=f["*"],n&&n[e]?!1:(n=f[t],n&&n[e]?!1:!0)}var i="",o,a;if(t&&d)n("*"),n(t);else for(o in e)a=e[o],a!==s&&a.length>0&&(!f||r(o,t))&&(i+=(i.length>0?" ":"")+o+": "+a+";");return i}}}}),r(m,[],function(){return function(e,t){function n(e,n,r,i){var o,a;if(e){if(!i&&e[n])return e[n];if(e!=t){if(o=e[r])return o;for(a=e.parentNode;a&&a!=t;a=a.parentNode)if(o=a[r])return o}}}var r=e;this.current=function(){return r},this.next=function(e){return r=n(r,"firstChild","nextSibling",e)},this.prev=function(e){return r=n(r,"lastChild","previousSibling",e)}}}),r(g,[f],function(e){function t(n){function r(){return H.createDocumentFragment()}function i(e,t){_(F,e,t)}function o(e,t){_(z,e,t)}function a(e){i(e.parentNode,j(e))}function s(e){i(e.parentNode,j(e)+1)}function l(e){o(e.parentNode,j(e))}function c(e){o(e.parentNode,j(e)+1)}function u(e){e?(L[U]=L[V],L[$]=L[W]):(L[V]=L[U],L[W]=L[$]),L.collapsed=F}function d(e){a(e),c(e)}function f(e){i(e,0),o(e,1===e.nodeType?e.childNodes.length:e.nodeValue.length)}function h(e,t){var n=L[V],r=L[W],i=L[U],o=L[$],a=t.startContainer,s=t.startOffset,l=t.endContainer,c=t.endOffset;return 0===e?w(n,r,a,s):1===e?w(i,o,a,s):2===e?w(i,o,l,c):3===e?w(n,r,l,c):void 0}function p(){E(I)}function m(){return E(P)}function g(){return E(O)}function v(e){var t=this[V],r=this[W],i,o;3!==t.nodeType&&4!==t.nodeType||!t.nodeValue?(t.childNodes.length>0&&(o=t.childNodes[r]),o?t.insertBefore(e,o):3==t.nodeType?n.insertAfter(e,t):t.appendChild(e)):r?r>=t.nodeValue.length?n.insertAfter(e,t):(i=t.splitText(r),t.parentNode.insertBefore(e,i)):t.parentNode.insertBefore(e,t)}function y(e){var t=L.extractContents();L.insertNode(e),e.appendChild(t),L.selectNode(e)}function b(){return q(new t(n),{startContainer:L[V],startOffset:L[W],endContainer:L[U],endOffset:L[$],collapsed:L.collapsed,commonAncestorContainer:L.commonAncestorContainer})}function x(e,t){var n;if(3==e.nodeType)return e;if(0>t)return e;for(n=e.firstChild;n&&t>0;)--t,n=n.nextSibling;return n?n:e}function C(){return L[V]==L[U]&&L[W]==L[$]}function w(e,t,r,i){var o,a,s,l,c,u;if(e==r)return t==i?0:i>t?-1:1;for(o=r;o&&o.parentNode!=e;)o=o.parentNode;if(o){for(a=0,s=e.firstChild;s!=o&&t>a;)a++,s=s.nextSibling;return a>=t?-1:1}for(o=e;o&&o.parentNode!=r;)o=o.parentNode;if(o){for(a=0,s=r.firstChild;s!=o&&i>a;)a++,s=s.nextSibling;return i>a?-1:1}for(l=n.findCommonAncestor(e,r),c=e;c&&c.parentNode!=l;)c=c.parentNode;for(c||(c=l),u=r;u&&u.parentNode!=l;)u=u.parentNode;if(u||(u=l),c==u)return 0;for(s=l.firstChild;s;){if(s==c)return-1;if(s==u)return 1;s=s.nextSibling}}function _(e,t,r){var i,o;for(e?(L[V]=t,L[W]=r):(L[U]=t,L[$]=r),i=L[U];i.parentNode;)i=i.parentNode;for(o=L[V];o.parentNode;)o=o.parentNode;o==i?w(L[V],L[W],L[U],L[$])>0&&L.collapse(e):L.collapse(e),L.collapsed=C(),L.commonAncestorContainer=n.findCommonAncestor(L[V],L[U])}function E(e){var t,n=0,r=0,i,o,a,s,l,c;if(L[V]==L[U])return N(e);for(t=L[U],i=t.parentNode;i;t=i,i=i.parentNode){if(i==L[V])return S(t,e);++n}for(t=L[V],i=t.parentNode;i;t=i,i=i.parentNode){if(i==L[U])return k(t,e);++r}for(o=r-n,a=L[V];o>0;)a=a.parentNode,o--;for(s=L[U];0>o;)s=s.parentNode,o++;for(l=a.parentNode,c=s.parentNode;l!=c;l=l.parentNode,c=c.parentNode)a=l,s=c;return T(a,s,e)}function N(e){var t,n,i,o,a,s,l,c,u;if(e!=I&&(t=r()),L[W]==L[$])return t;if(3==L[V].nodeType){if(n=L[V].nodeValue,i=n.substring(L[W],L[$]),e!=O&&(o=L[V],c=L[W],u=L[$]-L[W],0===c&&u>=o.nodeValue.length-1?o.parentNode.removeChild(o):o.deleteData(c,u),L.collapse(F)),e==I)return;return i.length>0&&t.appendChild(H.createTextNode(i)),t}for(o=x(L[V],L[W]),a=L[$]-L[W];o&&a>0;)s=o.nextSibling,l=D(o,e),t&&t.appendChild(l),--a,o=s;return e!=O&&L.collapse(F),t}function S(e,t){var n,i,o,a,s,l;if(t!=I&&(n=r()),i=R(e,t),n&&n.appendChild(i),o=j(e),a=o-L[W],0>=a)return t!=O&&(L.setEndBefore(e),L.collapse(z)),n;for(i=e.previousSibling;a>0;)s=i.previousSibling,l=D(i,t),n&&n.insertBefore(l,n.firstChild),--a,i=s;return t!=O&&(L.setEndBefore(e),L.collapse(z)),n}function k(e,t){var n,i,o,a,s,l;for(t!=I&&(n=r()),o=A(e,t),n&&n.appendChild(o),i=j(e),++i,a=L[$]-i,o=e.nextSibling;o&&a>0;)s=o.nextSibling,l=D(o,t),n&&n.appendChild(l),--a,o=s;return t!=O&&(L.setStartAfter(e),L.collapse(F)),n}function T(e,t,n){var i,o,a,s,l,c,u;for(n!=I&&(o=r()),i=A(e,n),o&&o.appendChild(i),a=j(e),s=j(t),++a,l=s-a,c=e.nextSibling;l>0;)u=c.nextSibling,i=D(c,n),o&&o.appendChild(i),c=u,--l;return i=R(t,n),o&&o.appendChild(i),n!=O&&(L.setStartAfter(e),L.collapse(F)),o}function R(e,t){var n=x(L[U],L[$]-1),r,i,o,a,s,l=n!=L[U];if(n==e)return B(n,l,z,t);for(r=n.parentNode,i=B(r,z,z,t);r;){for(;n;)o=n.previousSibling,a=B(n,l,z,t),t!=I&&i.insertBefore(a,i.firstChild),l=F,n=o;if(r==e)return i;n=r.previousSibling,r=r.parentNode,s=B(r,z,z,t),t!=I&&s.appendChild(i),i=s}}function A(e,t){var n=x(L[V],L[W]),r=n!=L[V],i,o,a,s,l;if(n==e)return B(n,r,F,t);for(i=n.parentNode,o=B(i,z,F,t);i;){for(;n;)a=n.nextSibling,s=B(n,r,F,t),t!=I&&o.appendChild(s),r=F,n=a;if(i==e)return o;n=i.nextSibling,i=i.parentNode,l=B(i,z,F,t),t!=I&&l.appendChild(o),o=l}}function B(e,t,r,i){var o,a,s,l,c;if(t)return D(e,i);if(3==e.nodeType){if(o=e.nodeValue,r?(l=L[W],a=o.substring(l),s=o.substring(0,l)):(l=L[$],a=o.substring(0,l),s=o.substring(l)),i!=O&&(e.nodeValue=s),i==I)return;return c=n.clone(e,z),c.nodeValue=a,c}if(i!=I)return n.clone(e,z)}function D(e,t){return t!=I?t==O?n.clone(e,F):e:void e.parentNode.removeChild(e)}function M(){return n.create("body",null,g()).outerText}var L=this,H=n.doc,P=0,O=1,I=2,F=!0,z=!1,W="startOffset",V="startContainer",U="endContainer",$="endOffset",q=e.extend,j=n.nodeIndex;return q(L,{startContainer:H,startOffset:0,endContainer:H,endOffset:0,collapsed:F,commonAncestorContainer:H,START_TO_START:0,START_TO_END:1,END_TO_END:2,END_TO_START:3,setStart:i,setEnd:o,setStartBefore:a,setStartAfter:s,setEndBefore:l,setEndAfter:c,collapse:u,selectNode:d,selectNodeContents:f,compareBoundaryPoints:h,deleteContents:p,extractContents:m,cloneContents:g,insertNode:v,surroundContents:y,cloneRange:b,toStringIE:M}),L}return t.prototype.toString=function(){return this.toStringIE()},t}),r(v,[f],function(e){function t(e){var t;return t=document.createElement("div"),t.innerHTML=e,t.textContent||t.innerText||e}function n(e,t){var n,r,i,a={};if(e){for(e=e.split(","),t=t||10,n=0;n\"\u0060\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=/[<>&\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=/[<>&\"\']/g,u=/&#([a-z0-9]+);?|&([a-z0-9]+);/gi,d={128:"\u20ac",130:"\u201a",131:"\u0192",132:"\u201e",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02c6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017d",145:"\u2018",146:"\u2019",147:"\u201c",148:"\u201d",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02dc",153:"\u2122",154:"\u0161",155:"\u203a",156:"\u0153",158:"\u017e",159:"\u0178"};o={'"':""","'":"'","<":"<",">":">","&":"&","`":"`"},a={"<":"<",">":">","&":"&",""":'"',"'":"'"},i=n("50,nbsp,51,iexcl,52,cent,53,pound,54,curren,55,yen,56,brvbar,57,sect,58,uml,59,copy,5a,ordf,5b,laquo,5c,not,5d,shy,5e,reg,5f,macr,5g,deg,5h,plusmn,5i,sup2,5j,sup3,5k,acute,5l,micro,5m,para,5n,middot,5o,cedil,5p,sup1,5q,ordm,5r,raquo,5s,frac14,5t,frac12,5u,frac34,5v,iquest,60,Agrave,61,Aacute,62,Acirc,63,Atilde,64,Auml,65,Aring,66,AElig,67,Ccedil,68,Egrave,69,Eacute,6a,Ecirc,6b,Euml,6c,Igrave,6d,Iacute,6e,Icirc,6f,Iuml,6g,ETH,6h,Ntilde,6i,Ograve,6j,Oacute,6k,Ocirc,6l,Otilde,6m,Ouml,6n,times,6o,Oslash,6p,Ugrave,6q,Uacute,6r,Ucirc,6s,Uuml,6t,Yacute,6u,THORN,6v,szlig,70,agrave,71,aacute,72,acirc,73,atilde,74,auml,75,aring,76,aelig,77,ccedil,78,egrave,79,eacute,7a,ecirc,7b,euml,7c,igrave,7d,iacute,7e,icirc,7f,iuml,7g,eth,7h,ntilde,7i,ograve,7j,oacute,7k,ocirc,7l,otilde,7m,ouml,7n,divide,7o,oslash,7p,ugrave,7q,uacute,7r,ucirc,7s,uuml,7t,yacute,7u,thorn,7v,yuml,ci,fnof,sh,Alpha,si,Beta,sj,Gamma,sk,Delta,sl,Epsilon,sm,Zeta,sn,Eta,so,Theta,sp,Iota,sq,Kappa,sr,Lambda,ss,Mu,st,Nu,su,Xi,sv,Omicron,t0,Pi,t1,Rho,t3,Sigma,t4,Tau,t5,Upsilon,t6,Phi,t7,Chi,t8,Psi,t9,Omega,th,alpha,ti,beta,tj,gamma,tk,delta,tl,epsilon,tm,zeta,tn,eta,to,theta,tp,iota,tq,kappa,tr,lambda,ts,mu,tt,nu,tu,xi,tv,omicron,u0,pi,u1,rho,u2,sigmaf,u3,sigma,u4,tau,u5,upsilon,u6,phi,u7,chi,u8,psi,u9,omega,uh,thetasym,ui,upsih,um,piv,812,bull,816,hellip,81i,prime,81j,Prime,81u,oline,824,frasl,88o,weierp,88h,image,88s,real,892,trade,89l,alefsym,8cg,larr,8ch,uarr,8ci,rarr,8cj,darr,8ck,harr,8dl,crarr,8eg,lArr,8eh,uArr,8ei,rArr,8ej,dArr,8ek,hArr,8g0,forall,8g2,part,8g3,exist,8g5,empty,8g7,nabla,8g8,isin,8g9,notin,8gb,ni,8gf,prod,8gh,sum,8gi,minus,8gn,lowast,8gq,radic,8gt,prop,8gu,infin,8h0,ang,8h7,and,8h8,or,8h9,cap,8ha,cup,8hb,int,8hk,there4,8hs,sim,8i5,cong,8i8,asymp,8j0,ne,8j1,equiv,8j4,le,8j5,ge,8k2,sub,8k3,sup,8k4,nsub,8k6,sube,8k7,supe,8kl,oplus,8kn,otimes,8l5,perp,8m5,sdot,8o8,lceil,8o9,rceil,8oa,lfloor,8ob,rfloor,8p9,lang,8pa,rang,9ea,loz,9j0,spades,9j3,clubs,9j5,hearts,9j6,diams,ai,OElig,aj,oelig,b0,Scaron,b1,scaron,bo,Yuml,m6,circ,ms,tilde,802,ensp,803,emsp,809,thinsp,80c,zwnj,80d,zwj,80e,lrm,80f,rlm,80j,ndash,80k,mdash,80o,lsquo,80p,rsquo,80q,sbquo,80s,ldquo,80t,rdquo,80u,bdquo,810,dagger,811,Dagger,81g,permil,81p,lsaquo,81q,rsaquo,85c,euro",32);var f={encodeRaw:function(e,t){return e.replace(t?s:l,function(e){return o[e]||e})},encodeAllRaw:function(e){return(""+e).replace(c,function(e){return o[e]||e})},encodeNumeric:function(e,t){return e.replace(t?s:l,function(e){return e.length>1?"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";":o[e]||"&#"+e.charCodeAt(0)+";"})},encodeNamed:function(e,t,n){return n=n||i,e.replace(t?s:l,function(e){return o[e]||n[e]||e})},getEncodeFunc:function(e,t){function a(e,n){return e.replace(n?s:l,function(e){return o[e]||t[e]||"&#"+e.charCodeAt(0)+";"||e})}function c(e,n){return f.encodeNamed(e,n,t)}return t=n(t)||i,e=r(e.replace(/\+/g,",")),e.named&&e.numeric?a:e.named?t?c:f.encodeNamed:e.numeric?f.encodeNumeric:f.encodeRaw},decode:function(e){return e.replace(u,function(e,n){return n?(n="x"===n.charAt(0).toLowerCase()?parseInt(n.substr(1),16):parseInt(n,10),n>65535?(n-=65536,String.fromCharCode(55296+(n>>10),56320+(1023&n))):d[n]||String.fromCharCode(n)):a[e]||i[e]||t(e)})}};return f}),r(y,[f],function(e){return function(t,n){function r(e){t.getElementsByTagName("head")[0].appendChild(e)}function i(n,i,l){function c(){for(var e=y.passed,t=e.length;t--;)e[t]();y.status=2,y.passed=[],y.failed=[]}function u(){for(var e=y.failed,t=e.length;t--;)e[t]();y.status=3,y.passed=[],y.failed=[]}function d(){var e=navigator.userAgent.match(/WebKit\/(\d*)/);return!!(e&&e[1]<536)}function f(e,t){e()||((new Date).getTime()-v0)return g=t.createElement("style"),g.textContent='@import "'+n+'"',p(),void r(g);h()}r(m),m.href=n}}var o=0,a={},s;n=n||{},s=n.maxLoadTime||5e3,this.load=i}}),r(b,[c,h,p,l,m,g,v,u,f,y],function(e,n,r,i,o,a,s,l,c,u){function d(e,t){var n={},r=t.keep_values,i;return i={set:function(n,r,i){t.url_converter&&(r=t.url_converter.call(t.url_converter_scope||e,r,i,n[0])),n.attr("data-mce-"+i,r).attr(i,r)},get:function(e,t){return e.attr("data-mce-"+t)||e.attr(t)}},n={style:{set:function(e,t){return null!==t&&"object"==typeof t?void e.css(t):(r&&e.attr("data-mce-style",t),void e.attr("style",t))},get:function(t){var n=t.attr("data-mce-style")||t.attr("style");return n=e.serializeStyle(e.parseStyle(n),t[0].nodeName)}}},r&&(n.href=n.src=i),n}function f(e,t){var o=this,a;o.doc=e,o.win=window,o.files={},o.counter=0,o.stdMode=!v||e.documentMode>=8,o.boxModel=!v||"CSS1Compat"==e.compatMode||o.stdMode,o.styleSheetLoader=new u(e),o.boundEvents=[],o.settings=t=t||{},o.schema=t.schema,o.styles=new r({url_converter:t.url_converter,url_converter_scope:t.url_converter_scope},t.schema),o.fixDoc(e),o.events=t.ownEvents?new i(t.proxy):i.Event,o.attrHooks=d(o,t),a=t.schema?t.schema.getBlockElements():{},o.$=n.overrideDefaults(function(){return{context:e,element:o.getRoot()}}),o.isBlock=function(e){if(!e)return!1;var t=e.nodeType;return t?!(1!==t||!a[e.nodeName]):!!a[e]}}var h=c.each,p=c.is,m=c.grep,g=c.trim,v=l.ie,y=/^([a-z0-9],?)+$/i,b=/^[ \t\r\n]*$/;return f.prototype={$$:function(e){return"string"==typeof e&&(e=this.get(e)),this.$(e)},root:null,fixDoc:function(e){var t=this.settings,n;if(v&&t.schema){"abbr article aside audio canvas details figcaption figure footer header hgroup mark menu meter nav output progress section summary time video".replace(/\w+/g,function(t){e.createElement(t)});for(n in t.schema.getCustomElements())e.createElement(n)}},clone:function(e,t){var n=this,r,i;return!v||1!==e.nodeType||t?e.cloneNode(t):(i=n.doc,t?r.firstChild:(r=i.createElement(e.nodeName),h(n.getAttribs(e),function(t){n.setAttrib(r,t.nodeName,n.getAttrib(e,t.nodeName))}),r))},getRoot:function(){var e=this;return e.settings.root_element||e.doc.body},getViewPort:function(e){var t,n;return e=e?e:this.win,t=e.document,n=this.boxModel?t.documentElement:t.body,{x:e.pageXOffset||n.scrollLeft,y:e.pageYOffset||n.scrollTop,w:e.innerWidth||n.clientWidth,h:e.innerHeight||n.clientHeight}},getRect:function(e){var t=this,n,r;return e=t.get(e),n=t.getPos(e),r=t.getSize(e),{x:n.x,y:n.y,w:r.w,h:r.h}},getSize:function(e){var t=this,n,r;return e=t.get(e),n=t.getStyle(e,"width"),r=t.getStyle(e,"height"),-1===n.indexOf("px")&&(n=0),-1===r.indexOf("px")&&(r=0),{w:parseInt(n,10)||e.offsetWidth||e.clientWidth,h:parseInt(r,10)||e.offsetHeight||e.clientHeight}},getParent:function(e,t,n){return this.getParents(e,t,n,!1)},getParents:function(e,n,r,i){var o=this,a,s=[];for(e=o.get(e),i=i===t,r=r||("BODY"!=o.getRoot().nodeName?o.getRoot().parentNode:null),p(n,"string")&&(a=n,n="*"===n?function(e){return 1==e.nodeType}:function(e){return o.is(e,a)});e&&e!=r&&e.nodeType&&9!==e.nodeType;){if(!n||n(e)){if(!i)return e;s.push(e)}e=e.parentNode}return i?s:null},get:function(e){var t;return e&&this.doc&&"string"==typeof e&&(t=e,e=this.doc.getElementById(e),e&&e.id!==t)?this.doc.getElementsByName(t)[1]:e},getNext:function(e,t){return this._findSib(e,t,"nextSibling")},getPrev:function(e,t){return this._findSib(e,t,"previousSibling")},select:function(t,n){var r=this;return e(t,r.get(n)||r.settings.root_element||r.doc,[])},is:function(n,r){var i;if(n.length===t){if("*"===r)return 1==n.nodeType;if(y.test(r)){for(r=r.toLowerCase().split(/,/),n=n.nodeName.toLowerCase(),i=r.length-1;i>=0;i--)if(r[i]==n)return!0;return!1}}if(n.nodeType&&1!=n.nodeType)return!1;var o=n.nodeType?[n]:n;return e(r,o[0].ownerDocument||o[0],null,o).length>0},add:function(e,t,n,r,i){var o=this;return this.run(e,function(e){var a;return a=p(t,"string")?o.doc.createElement(t):t,o.setAttribs(a,n),r&&(r.nodeType?a.appendChild(r):o.setHTML(a,r)),i?a:e.appendChild(a)})},create:function(e,t,n){return this.add(this.doc.createElement(e),e,t,n,1)},createHTML:function(e,t,n){var r="",i;r+="<"+e;for(i in t)t.hasOwnProperty(i)&&null!==t[i]&&"undefined"!=typeof t[i]&&(r+=" "+i+'="'+this.encode(t[i])+'"');return"undefined"!=typeof n?r+">"+n+"":r+" />"},createFragment:function(e){var t,n,r=this.doc,i;for(i=r.createElement("div"),t=r.createDocumentFragment(),e&&(i.innerHTML=e);n=i.firstChild;)t.appendChild(n);return t},remove:function(e,t){return e=this.$$(e),t?e.each(function(){for(var e;e=this.firstChild;)3==e.nodeType&&0===e.data.length?this.removeChild(e):this.parentNode.insertBefore(e,this)}).remove():e.remove(),e.length>1?e.toArray():e[0]},setStyle:function(e,t,n){e=this.$$(e).css(t,n),this.settings.update_styles&&e.attr("data-mce-style",null)},getStyle:function(e,n,r){return e=this.$$(e),r?e.css(n):(n=n.replace(/-(\D)/g,function(e,t){return t.toUpperCase()}),"float"==n&&(n=l.ie&&l.ie<12?"styleFloat":"cssFloat"),e[0]&&e[0].style?e[0].style[n]:t)},setStyles:function(e,t){e=this.$$(e).css(t),this.settings.update_styles&&e.attr("data-mce-style",null)},removeAllAttribs:function(e){return this.run(e,function(e){var t,n=e.attributes;for(t=n.length-1;t>=0;t--)e.removeAttributeNode(n.item(t))})},setAttrib:function(e,t,n){var r=this,i,o,a=r.settings;""===n&&(n=null),e=r.$$(e),i=e.attr(t),e.length&&(o=r.attrHooks[t],o&&o.set?o.set(e,n,t):e.attr(t,n),i!=n&&a.onSetAttrib&&a.onSetAttrib({attrElm:e,attrName:t,attrValue:n}))},setAttribs:function(e,t){var n=this;n.$$(e).each(function(e,r){h(t,function(e,t){n.setAttrib(r,t,e)})})},getAttrib:function(e,t,n){var r=this,i,o;return e=r.$$(e),e.length&&(i=r.attrHooks[t],o=i&&i.get?i.get(e,t):e.attr(t)),"undefined"==typeof o&&(o=n||""),o},getPos:function(e,t){var r=this,i=0,o=0,a,s=r.doc,l=s.body,c;if(e=r.get(e),t=t||l,e){if(t===l&&e.getBoundingClientRect&&"static"===n(l).css("position"))return c=e.getBoundingClientRect(),t=r.boxModel?s.documentElement:l,i=c.left+(s.documentElement.scrollLeft||l.scrollLeft)-t.clientLeft,o=c.top+(s.documentElement.scrollTop||l.scrollTop)-t.clientTop,{x:i,y:o};for(a=e;a&&a!=t&&a.nodeType;)i+=a.offsetLeft||0,o+=a.offsetTop||0,a=a.offsetParent;for(a=e.parentNode;a&&a!=t&&a.nodeType;)i-=a.scrollLeft||0,o-=a.scrollTop||0,a=a.parentNode}return{x:i,y:o}},parseStyle:function(e){return this.styles.parse(e)},serializeStyle:function(e,t){return this.styles.serialize(e,t)},addStyle:function(e){var t=this,n=t.doc,r,i;if(t!==f.DOM&&n===document){var o=f.DOM.addedStyles;if(o=o||[],o[e])return;o[e]=!0,f.DOM.addedStyles=o}i=n.getElementById("mceDefaultStyles"),i||(i=n.createElement("style"),i.id="mceDefaultStyles",i.type="text/css",r=n.getElementsByTagName("head")[0],r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i)),i.styleSheet?i.styleSheet.cssText+=e:i.appendChild(n.createTextNode(e))},loadCSS:function(e){var t=this,n=t.doc,r;return t!==f.DOM&&n===document?void f.DOM.loadCSS(e):(e||(e=""),r=n.getElementsByTagName("head")[0],void h(e.split(","),function(e){var i;e=c._addCacheSuffix(e),t.files[e]||(t.files[e]=!0,i=t.create("link",{rel:"stylesheet",href:e}),v&&n.documentMode&&n.recalc&&(i.onload=function(){n.recalc&&n.recalc(),i.onload=null}),r.appendChild(i))}))},addClass:function(e,t){this.$$(e).addClass(t)},removeClass:function(e,t){this.toggleClass(e,t,!1)},hasClass:function(e,t){return this.$$(e).hasClass(t)},toggleClass:function(e,t,r){this.$$(e).toggleClass(t,r).each(function(){""===this.className&&n(this).attr("class",null)})},show:function(e){this.$$(e).show()},hide:function(e){this.$$(e).hide()},isHidden:function(e){return"none"==this.$$(e).css("display")},uniqueId:function(e){return(e?e:"mce_")+this.counter++},setHTML:function(e,t){e=this.$$(e),v?e.each(function(e,r){if(r.canHaveHTML!==!1){for(;r.firstChild;)r.removeChild(r.firstChild);try{r.innerHTML="
                "+t,r.removeChild(r.firstChild)}catch(i){n("

                ").html("
                "+t).contents().slice(1).appendTo(r)}return t}}):e.html(t)},getOuterHTML:function(e){return e=this.get(e),1==e.nodeType&&"outerHTML"in e?e.outerHTML:n("
                ").append(n(e).clone()).html()},setOuterHTML:function(e,t){var r=this;r.$$(e).each(function(){try{if("outerHTML"in this)return void(this.outerHTML=t)}catch(e){}r.remove(n(this).html(t),!0)})},decode:s.decode,encode:s.encodeAllRaw,insertAfter:function(e,t){return t=this.get(t),this.run(e,function(e){var n,r;return n=t.parentNode,r=t.nextSibling,r?n.insertBefore(e,r):n.appendChild(e),e})},replace:function(e,t,n){var r=this;return r.run(t,function(t){return p(t,"array")&&(e=e.cloneNode(!0)),n&&h(m(t.childNodes),function(t){e.appendChild(t)}),t.parentNode.replaceChild(e,t)})},rename:function(e,t){var n=this,r;return e.nodeName!=t.toUpperCase()&&(r=n.create(t),h(n.getAttribs(e),function(t){n.setAttrib(r,t.nodeName,n.getAttrib(e,t.nodeName))}),n.replace(r,e,1)),r||e},findCommonAncestor:function(e,t){for(var n=e,r;n;){for(r=t;r&&n!=r;)r=r.parentNode;if(n==r)break;n=n.parentNode}return!n&&e.ownerDocument?e.ownerDocument.documentElement:n},toHex:function(e){return this.styles.toHex(c.trim(e))},run:function(e,t,n){var r=this,i;return"string"==typeof e&&(e=r.get(e)),e?(n=n||this,e.nodeType||!e.length&&0!==e.length?t.call(n,e):(i=[],h(e,function(e,o){e&&("string"==typeof e&&(e=r.get(e)),i.push(t.call(n,e,o)))}),i)):!1},getAttribs:function(e){var t;if(e=this.get(e),!e)return[];if(v){if(t=[],"OBJECT"==e.nodeName)return e.attributes;"OPTION"===e.nodeName&&this.getAttrib(e,"selected")&&t.push({specified:1,nodeName:"selected"});var n=/<\/?[\w:\-]+ ?|=[\"][^\"]+\"|=\'[^\']+\'|=[\w\-]+|>/gi;return e.cloneNode(!1).outerHTML.replace(n,"").replace(/[\w:\-]+/gi,function(e){t.push({specified:1,nodeName:e})}),t}return e.attributes},isEmpty:function(e,t){var n=this,r,i,a,s,l,c=0;if(e=e.firstChild){s=new o(e,e.parentNode),t=t||(n.schema?n.schema.getNonEmptyElements():null); -do{if(a=e.nodeType,1===a){if(e.getAttribute("data-mce-bogus"))continue;if(l=e.nodeName.toLowerCase(),t&&t[l]){if("br"===l){c++;continue}return!1}for(i=n.getAttribs(e),r=i.length;r--;)if(l=i[r].nodeName,"name"===l||"data-mce-bookmark"===l)return!1}if(8==a)return!1;if(3===a&&!b.test(e.nodeValue))return!1}while(e=s.next())}return 1>=c},createRng:function(){var e=this.doc;return e.createRange?e.createRange():new a(this)},nodeIndex:function(e,t){var n=0,r,i;if(e)for(r=e.nodeType,e=e.previousSibling;e;e=e.previousSibling)i=e.nodeType,(!t||3!=i||i!=r&&e.nodeValue.length)&&(n++,r=i);return n},split:function(e,t,n){function r(e){function t(e){var t=e.previousSibling&&"SPAN"==e.previousSibling.nodeName,n=e.nextSibling&&"SPAN"==e.nextSibling.nodeName;return t&&n}var n,o=e.childNodes,a=e.nodeType;if(1!=a||"bookmark"!=e.getAttribute("data-mce-type")){for(n=o.length-1;n>=0;n--)r(o[n]);if(9!=a){if(3==a&&e.nodeValue.length>0){var s=g(e.nodeValue).length;if(!i.isBlock(e.parentNode)||s>0||0===s&&t(e))return}else if(1==a&&(o=e.childNodes,1==o.length&&o[0]&&1==o[0].nodeType&&"bookmark"==o[0].getAttribute("data-mce-type")&&e.parentNode.insertBefore(o[0],e),o.length||/^(br|hr|input|img)$/i.test(e.nodeName)))return;i.remove(e)}return e}}var i=this,o=i.createRng(),a,s,l;return e&&t?(o.setStart(e.parentNode,i.nodeIndex(e)),o.setEnd(t.parentNode,i.nodeIndex(t)),a=o.extractContents(),o=i.createRng(),o.setStart(t.parentNode,i.nodeIndex(t)+1),o.setEnd(e.parentNode,i.nodeIndex(e)+1),s=o.extractContents(),l=e.parentNode,l.insertBefore(r(a),e),n?l.replaceChild(n,t):l.insertBefore(t,e),l.insertBefore(r(s),e),i.remove(e),n||t):void 0},bind:function(e,t,n,r){var i=this;if(c.isArray(e)){for(var o=e.length;o--;)e[o]=i.bind(e[o],t,n,r);return e}return!i.settings.collect||e!==i.doc&&e!==i.win||i.boundEvents.push([e,t,n,r]),i.events.bind(e,t,n,r||i)},unbind:function(e,t,n){var r=this,i;if(c.isArray(e)){for(i=e.length;i--;)e[i]=r.unbind(e[i],t,n);return e}if(r.boundEvents&&(e===r.doc||e===r.win))for(i=r.boundEvents.length;i--;){var o=r.boundEvents[i];e!=o[0]||t&&t!=o[1]||n&&n!=o[2]||this.events.unbind(o[0],o[1],o[2])}return this.events.unbind(e,t,n)},fire:function(e,t,n){return this.events.fire(e,t,n)},getContentEditable:function(e){var t;return e&&1==e.nodeType?(t=e.getAttribute("data-mce-contenteditable"),t&&"inherit"!==t?t:"inherit"!==e.contentEditable?e.contentEditable:null):null},getContentEditableParent:function(e){for(var t=this.getRoot(),n=null;e&&e!==t&&(n=this.getContentEditable(e),null===n);e=e.parentNode);return n},destroy:function(){var t=this;if(t.boundEvents){for(var n=t.boundEvents.length;n--;){var r=t.boundEvents[n];this.events.unbind(r[0],r[1],r[2])}t.boundEvents=null}e.setDocument&&e.setDocument(),t.win=t.doc=t.root=t.events=t.frag=null},isChildOf:function(e,t){for(;e;){if(t===e)return!0;e=e.parentNode}return!1},dumpRng:function(e){return"startContainer: "+e.startContainer.nodeName+", startOffset: "+e.startOffset+", endContainer: "+e.endContainer.nodeName+", endOffset: "+e.endOffset},_findSib:function(e,t,n){var r=this,i=t;if(e)for("string"==typeof i&&(i=function(e){return r.is(e,t)}),e=e[n];e;e=e[n])if(i(e))return e;return null}},f.DOM=new f(document),f}),r(x,[b,f],function(e,t){function n(){function e(e,n){function i(){a.remove(l),s&&(s.onreadystatechange=s.onload=s=null),n()}function o(){"undefined"!=typeof console&&console.log&&console.log("Failed to load: "+e)}var a=r,s,l;l=a.uniqueId(),s=document.createElement("script"),s.id=l,s.type="text/javascript",s.src=t._addCacheSuffix(e),"onreadystatechange"in s?s.onreadystatechange=function(){/loaded|complete/.test(s.readyState)&&i()}:s.onload=i,s.onerror=o,(document.getElementsByTagName("head")[0]||document.body).appendChild(s)}var n=0,a=1,s=2,l={},c=[],u={},d=[],f=0,h;this.isDone=function(e){return l[e]==s},this.markDone=function(e){l[e]=s},this.add=this.load=function(e,t,r){var i=l[e];i==h&&(c.push(e),l[e]=n),t&&(u[e]||(u[e]=[]),u[e].push({func:t,scope:r||this}))},this.loadQueue=function(e,t){this.loadScripts(c,e,t)},this.loadScripts=function(t,n,r){function c(e){i(u[e],function(e){e.func.call(e.scope)}),u[e]=h}var p;d.push({func:n,scope:r||this}),(p=function(){var n=o(t);t.length=0,i(n,function(t){return l[t]==s?void c(t):void(l[t]!=a&&(l[t]=a,f++,e(t,function(){l[t]=s,f--,c(t),p()})))}),f||(i(d,function(e){e.func.call(e.scope)}),d.length=0)})()}}var r=e.DOM,i=t.each,o=t.grep;return n.ScriptLoader=new n,n}),r(C,[x,f],function(e,n){function r(){var e=this;e.items=[],e.urls={},e.lookup={}}var i=n.each;return r.prototype={get:function(e){return this.lookup[e]?this.lookup[e].instance:t},dependencies:function(e){var t;return this.lookup[e]&&(t=this.lookup[e].dependencies),t||[]},requireLangPack:function(t,n){var i=r.language;if(i&&r.languageLoad!==!1){if(n)if(n=","+n+",",-1!=n.indexOf(","+i.substr(0,2)+","))i=i.substr(0,2);else if(-1==n.indexOf(","+i+","))return;e.ScriptLoader.add(this.urls[t]+"/langs/"+i+".js")}},add:function(e,t,n){return this.items.push(t),this.lookup[e]={instance:t,dependencies:n},t},createUrl:function(e,t){return"object"==typeof t?t:{prefix:e.prefix,resource:t,suffix:e.suffix}},addComponents:function(t,n){var r=this.urls[t];i(n,function(t){e.ScriptLoader.add(r+"/"+t)})},load:function(n,o,a,s){function l(){var r=c.dependencies(n);i(r,function(e){var n=c.createUrl(o,e);c.load(n.resource,n,t,t)}),a&&(s?a.call(s):a.call(e))}var c=this,u=o;c.urls[n]||("object"==typeof o&&(u=o.prefix+o.resource+o.suffix),0!==u.indexOf("/")&&-1==u.indexOf("://")&&(u=r.baseURL+"/"+u),c.urls[n]=u.substring(0,u.lastIndexOf("/")),c.lookup[n]?l():e.ScriptLoader.add(u,l,s))}},r.PluginManager=new r,r.ThemeManager=new r,r}),r(w,[f,m],function(e,t){function n(e,t){var n=e.childNodes;return t--,t>n.length-1?t=n.length-1:0>t&&(t=0),n[t]||e}function r(e){this.walk=function(t,r){function o(e){var t;return t=e[0],3===t.nodeType&&t===c&&u>=t.nodeValue.length&&e.splice(0,1),t=e[e.length-1],0===f&&e.length>0&&t===d&&3===t.nodeType&&e.splice(e.length-1,1),e}function a(e,t,n){for(var r=[];e&&e!=n;e=e[t])r.push(e);return r}function s(e,t){do{if(e.parentNode==t)return e;e=e.parentNode}while(e)}function l(e,t,n){var i=n?"nextSibling":"previousSibling";for(g=e,v=g.parentNode;g&&g!=t;g=v)v=g.parentNode,y=a(g==e?g:g[i],i),y.length&&(n||y.reverse(),r(o(y)))}var c=t.startContainer,u=t.startOffset,d=t.endContainer,f=t.endOffset,h,p,m,g,v,y,b;if(b=e.select("td.mce-item-selected,th.mce-item-selected"),b.length>0)return void i(b,function(e){r([e])});if(1==c.nodeType&&c.hasChildNodes()&&(c=c.childNodes[u]),1==d.nodeType&&d.hasChildNodes()&&(d=n(d,f)),c==d)return r(o([c]));for(h=e.findCommonAncestor(c,d),g=c;g;g=g.parentNode){if(g===d)return l(c,h,!0);if(g===h)break}for(g=d;g;g=g.parentNode){if(g===c)return l(d,h);if(g===h)break}p=s(c,h)||c,m=s(d,h)||d,l(c,p,!0),y=a(p==c?p:p.nextSibling,"nextSibling",m==d?m.nextSibling:m),y.length&&r(o(y)),l(d,m)},this.split=function(e){function t(e,t){return e.splitText(t)}var n=e.startContainer,r=e.startOffset,i=e.endContainer,o=e.endOffset;return n==i&&3==n.nodeType?r>0&&rr?(o-=r,n=i=t(i,o).previousSibling,o=i.nodeValue.length,r=0):o=0):(3==n.nodeType&&r>0&&r0&&o0)return c=h,u=n?h.nodeValue.length:0,void(i=!0);if(e.isBlock(h)||p[h.nodeName.toLowerCase()])return;s=h}o&&s&&(c=s,i=!0,u=0)}var c,u,d,f=e.getRoot(),h,p,m,g;if(c=n[(r?"start":"end")+"Container"],u=n[(r?"start":"end")+"Offset"],g=1==c.nodeType&&u===c.childNodes.length,p=e.schema.getNonEmptyElements(),m=r,1==c.nodeType&&u>c.childNodes.length-1&&(m=!1),9===c.nodeType&&(c=e.getRoot(),u=0),c===f){if(m&&(h=c.childNodes[u>0?u-1:0],h&&(p[h.nodeName]||"TABLE"==h.nodeName)))return;if(c.hasChildNodes()&&(u=Math.min(!m&&u>0?u-1:u,c.childNodes.length-1),c=c.childNodes[u],u=0,c.hasChildNodes()&&!/TABLE/.test(c.nodeName))){h=c,d=new t(c,f);do{if(3===h.nodeType&&h.nodeValue.length>0){u=m?0:h.nodeValue.length,c=h,i=!0;break}if(p[h.nodeName.toLowerCase()]){u=e.nodeIndex(h),c=h.parentNode,"IMG"!=h.nodeName||m||u++,i=!0;break}}while(h=m?d.next():d.prev())}}o&&(3===c.nodeType&&0===u&&l(!0),1===c.nodeType&&(h=c.childNodes[u],h||(h=c.childNodes[u-1]),!h||"BR"!==h.nodeName||s(h,"A")||a(h)||a(h,!0)||l(!0,h))),m&&!o&&3===c.nodeType&&u===c.nodeValue.length&&l(!1),i&&n["set"+(r?"Start":"End")](c,u)}var i,o;return o=n.collapsed,r(!0),o||r(),i&&o&&n.collapse(!0),i}}var i=e.each;return r.compareRanges=function(e,t){if(e&&t){if(!e.item&&!e.duplicate)return e.startContainer==t.startContainer&&e.startOffset==t.startOffset;if(e.item&&t.item&&e.item(0)===t.item(0))return!0;if(e.isEqual&&t.isEqual&&t.isEqual(e))return!0}return!1},r.getCaretRangeFromPoint=function(e,t,n){var r,i;if(n.caretPositionFromPoint)i=n.caretPositionFromPoint(e,t),r=n.createRange(),r.setStart(i.offsetNode,i.offset),r.collapse(!0);else if(n.caretRangeFromPoint)r=n.caretRangeFromPoint(e,t);else if(n.body.createTextRange){r=n.body.createTextRange();try{r.moveToPoint(e,t),r.collapse(!0)}catch(o){r.collapse(t=e.childNodes.length&&(t=e.childNodes.length-1),e=e.childNodes[t]),e},r}),r(_,[w,u],function(e,t){return function(n){function r(e){var t,r;if(r=n.$(e).parentsUntil(n.getBody()).add(e),r.length===o.length){for(t=r.length;t>=0&&r[t]===o[t];t--);if(-1===t)return o=r,!0}return o=r,!1}var i,o=[];"onselectionchange"in n.getDoc()||n.on("NodeChange Click MouseUp KeyUp Focus",function(t){var r,o;r=n.selection.getRng(),o={startContainer:r.startContainer,startOffset:r.startOffset,endContainer:r.endContainer,endOffset:r.endOffset},"nodechange"!=t.type&&e.compareRanges(o,i)||n.fire("SelectionChange"),i=o}),n.on("contextmenu",function(){n.fire("SelectionChange")}),n.on("SelectionChange",function(){var e=n.selection.getStart(!0);(t.range||!n.selection.isCollapsed())&&!r(e)&&n.dom.isChildOf(e,n.getBody())&&n.nodeChanged({selectionChange:!0})}),n.on("MouseUp",function(e){e.isDefaultPrevented()||("IMG"==n.selection.getNode().nodeName?setTimeout(function(){n.nodeChanged()},0):n.nodeChanged())}),this.nodeChanged=function(e){var t=n.selection,r,i,o;n.initialized&&t&&!n.settings.disable_nodechange&&!n.settings.readonly&&(o=n.getBody(),r=t.getStart()||o,r=r.ownerDocument!=n.getDoc()?n.getBody():r,"IMG"==r.nodeName&&t.isCollapsed()&&(r=r.parentNode),i=[],n.dom.getParent(r,function(e){return e===o?!0:void i.push(e)}),e=e||{},e.element=r,e.parents=i,n.fire("NodeChange",e))}}}),r(E,[],function(){function e(e,t,n){var r,i,o=n?"lastChild":"firstChild",a=n?"prev":"next";if(e[o])return e[o];if(e!==t){if(r=e[a])return r;for(i=e.parent;i&&i!==t;i=i.parent)if(r=i[a])return r}}function t(e,t){this.name=e,this.type=t,1===t&&(this.attributes=[],this.attributes.map={})}var n=/^[ \t\r\n]*$/,r={"#text":3,"#comment":8,"#cdata":4,"#pi":7,"#doctype":10,"#document-fragment":11};return t.prototype={replace:function(e){var t=this;return e.parent&&e.remove(),t.insert(e,t),t.remove(),t},attr:function(e,t){var n=this,r,i,o;if("string"!=typeof e){for(i in e)n.attr(i,e[i]);return n}if(r=n.attributes){if(t!==o){if(null===t){if(e in r.map)for(delete r.map[e],i=r.length;i--;)if(r[i].name===e)return r=r.splice(i,1),n;return n}if(e in r.map){for(i=r.length;i--;)if(r[i].name===e){r[i].value=t;break}}else r.push({name:e,value:t});return r.map[e]=t,n}return r.map[e]}},clone:function(){var e=this,n=new t(e.name,e.type),r,i,o,a,s;if(o=e.attributes){for(s=[],s.map={},r=0,i=o.length;i>r;r++)a=o[r],"id"!==a.name&&(s[s.length]={name:a.name,value:a.value},s.map[a.name]=a.value);n.attributes=s}return n.value=e.value,n.shortEnded=e.shortEnded,n},wrap:function(e){var t=this;return t.parent.insert(e,t),e.append(t),t},unwrap:function(){var e=this,t,n;for(t=e.firstChild;t;)n=t.next,e.insert(t,e,!0),t=n;e.remove()},remove:function(){var e=this,t=e.parent,n=e.next,r=e.prev;return t&&(t.firstChild===e?(t.firstChild=n,n&&(n.prev=null)):r.next=n,t.lastChild===e?(t.lastChild=r,r&&(r.next=null)):n.prev=r,e.parent=e.next=e.prev=null),e},append:function(e){var t=this,n;return e.parent&&e.remove(),n=t.lastChild,n?(n.next=e,e.prev=n,t.lastChild=e):t.lastChild=t.firstChild=e,e.parent=t,e},insert:function(e,t,n){var r;return e.parent&&e.remove(),r=t.parent||this,n?(t===r.firstChild?r.firstChild=e:t.prev.next=e,e.prev=t.prev,e.next=t,t.prev=e):(t===r.lastChild?r.lastChild=e:t.next.prev=e,e.next=t.next,e.prev=t,t.next=e),e.parent=r,e},getAll:function(t){var n=this,r,i=[];for(r=n.firstChild;r;r=e(r,n))r.name===t&&i.push(r);return i},empty:function(){var t=this,n,r,i;if(t.firstChild){for(n=[],i=t.firstChild;i;i=e(i,t))n.push(i);for(r=n.length;r--;)i=n[r],i.parent=i.firstChild=i.lastChild=i.next=i.prev=null}return t.firstChild=t.lastChild=null,t},isEmpty:function(t){var r=this,i=r.firstChild,o,a;if(i)do{if(1===i.type){if(i.attributes.map["data-mce-bogus"])continue;if(t[i.name])return!1;for(o=i.attributes.length;o--;)if(a=i.attributes[o].name,"name"===a||0===a.indexOf("data-mce-bookmark"))return!1}if(8===i.type)return!1;if(3===i.type&&!n.test(i.value))return!1}while(i=e(i,r));return!0},walk:function(t){return e(this,null,t)}},t.create=function(e,n){var i,o;if(i=new t(e,r[e]||1),n)for(o in n)i.attr(o,n[o]);return i},t}),r(N,[f],function(e){function t(e,t){return e?e.split(t||" "):[]}function n(e){function n(e,n,r){function i(e,t){var n={},r,i;for(r=0,i=e.length;i>r;r++)n[e[r]]=t||{};return n}var s,c,u,d=arguments;for(r=r||[],n=n||"","string"==typeof r&&(r=t(r)),c=3;co;o++)i.attributes[n[o]]={},i.attributesOrder.push(n[o])}var a={},l,c,u,d,f,h;return i[e]?i[e]:(l=t("id accesskey class dir lang style tabindex title"),c=t("address blockquote div dl fieldset form h1 h2 h3 h4 h5 h6 hr menu ol p pre table ul"),u=t("a abbr b bdo br button cite code del dfn em embed i iframe img input ins kbd label map noscript object q s samp script select small span strong sub sup textarea u var #text #comment"),"html4"!=e&&(l.push.apply(l,t("contenteditable contextmenu draggable dropzone hidden spellcheck translate")),c.push.apply(c,t("article aside details dialog figure header footer hgroup section nav")),u.push.apply(u,t("audio canvas command datalist mark meter output picture progress time wbr video ruby bdi keygen"))),"html5-strict"!=e&&(l.push("xml:lang"),h=t("acronym applet basefont big font strike tt"),u.push.apply(u,h),s(h,function(e){n(e,"",u)}),f=t("center dir isindex noframes"),c.push.apply(c,f),d=[].concat(c,u),s(f,function(e){n(e,"",d)})),d=d||[].concat(c,u),n("html","manifest","head body"),n("head","","base command link meta noscript script style title"),n("title hr noscript br"),n("base","href target"),n("link","href rel media hreflang type sizes hreflang"),n("meta","name http-equiv content charset"),n("style","media type scoped"),n("script","src async defer type charset"),n("body","onafterprint onbeforeprint onbeforeunload onblur onerror onfocus onhashchange onload onmessage onoffline ononline onpagehide onpageshow onpopstate onresize onscroll onstorage onunload",d),n("address dt dd div caption","",d),n("h1 h2 h3 h4 h5 h6 pre p abbr code var samp kbd sub sup i b u bdo span legend em strong small s cite dfn","",u),n("blockquote","cite",d),n("ol","reversed start type","li"),n("ul","","li"),n("li","value",d),n("dl","","dt dd"),n("a","href target rel media hreflang type",u),n("q","cite",u),n("ins del","cite datetime",d),n("img","src sizes srcset alt usemap ismap width height"),n("iframe","src name width height",d),n("embed","src type width height"),n("object","data type typemustmatch name usemap form width height",d,"param"),n("param","name value"),n("map","name",d,"area"),n("area","alt coords shape href target rel media hreflang type"),n("table","border","caption colgroup thead tfoot tbody tr"+("html4"==e?" col":"")),n("colgroup","span","col"),n("col","span"),n("tbody thead tfoot","","tr"),n("tr","","td th"),n("td","colspan rowspan headers",d),n("th","colspan rowspan headers scope abbr",d),n("form","accept-charset action autocomplete enctype method name novalidate target",d),n("fieldset","disabled form name",d,"legend"),n("label","form for",u),n("input","accept alt autocomplete checked dirname disabled form formaction formenctype formmethod formnovalidate formtarget height list max maxlength min multiple name pattern readonly required size src step type value width"),n("button","disabled form formaction formenctype formmethod formnovalidate formtarget name type value","html4"==e?d:u),n("select","disabled form multiple name required size","option optgroup"),n("optgroup","disabled label","option"),n("option","disabled label selected value"),n("textarea","cols dirname disabled form maxlength name readonly required rows wrap"),n("menu","type label",d,"li"),n("noscript","",d),"html4"!=e&&(n("wbr"),n("ruby","",u,"rt rp"),n("figcaption","",d),n("mark rt rp summary bdi","",u),n("canvas","width height",d),n("video","src crossorigin poster preload autoplay mediagroup loop muted controls width height buffered",d,"track source"),n("audio","src crossorigin preload autoplay mediagroup loop muted controls buffered volume",d,"track source"),n("picture","","img source"),n("source","src srcset type media sizes"),n("track","kind src srclang label default"),n("datalist","",u,"option"),n("article section nav aside header footer","",d),n("hgroup","","h1 h2 h3 h4 h5 h6"),n("figure","",d,"figcaption"),n("time","datetime",u),n("dialog","open",d),n("command","type label icon disabled checked radiogroup command"),n("output","for form name",u),n("progress","value max",u),n("meter","value min max low high optimum",u),n("details","open",d,"summary"),n("keygen","autofocus challenge disabled form keytype name")),"html5-strict"!=e&&(r("script","language xml:space"),r("style","xml:space"),r("object","declare classid code codebase codetype archive standby align border hspace vspace"),r("embed","align name hspace vspace"),r("param","valuetype type"),r("a","charset name rev shape coords"),r("br","clear"),r("applet","codebase archive code object alt name width height align hspace vspace"),r("img","name longdesc align border hspace vspace"),r("iframe","longdesc frameborder marginwidth marginheight scrolling align"),r("font basefont","size color face"),r("input","usemap align"),r("select","onchange"),r("textarea"),r("h1 h2 h3 h4 h5 h6 div p legend caption","align"),r("ul","type compact"),r("li","type"),r("ol dl menu dir","compact"),r("pre","width xml:space"),r("hr","align noshade size width"),r("isindex","prompt"),r("table","summary width frame rules cellspacing cellpadding align bgcolor"),r("col","width align char charoff valign"),r("colgroup","width align char charoff valign"),r("thead","align char charoff valign"),r("tr","align char charoff valign bgcolor"),r("th","axis align char charoff valign nowrap bgcolor width height"),r("form","accept"),r("td","abbr axis scope align char charoff valign nowrap bgcolor width height"),r("tfoot","align char charoff valign"),r("tbody","align char charoff valign"),r("area","nohref"),r("body","background bgcolor text link vlink alink")),"html4"!=e&&(r("input button select textarea","autofocus"),r("input textarea","placeholder"),r("a","download"),r("link script img","crossorigin"),r("iframe","sandbox seamless allowfullscreen")),s(t("a form meter progress dfn"),function(e){a[e]&&delete a[e].children[e]}),delete a.caption.children.table,delete a.script,i[e]=a,a)}function r(e,t){var n;return e&&(n={},"string"==typeof e&&(e={"*":e}),s(e,function(e,r){n[r]=n[r.toUpperCase()]="map"==t?a(e,/[, ]/):c(e,/[, ]/)})),n}var i={},o={},a=e.makeMap,s=e.each,l=e.extend,c=e.explode,u=e.inArray;return function(e){function o(t,n,r){var o=e[t];return o?o=a(o,/[, ]/,a(o.toUpperCase(),/[, ]/)):(o=i[t],o||(o=a(n," ",a(n.toUpperCase()," ")),o=l(o,r),i[t]=o)),o}function d(e){return new RegExp("^"+e.replace(/([?+*])/g,".$1")+"$")}function f(e){var n,r,i,o,s,l,c,f,h,p,m,g,v,b,C,w,_,E,N,S=/^([#+\-])?([^\[!\/]+)(?:\/([^\[!]+))?(?:(!?)\[([^\]]+)\])?$/,k=/^([!\-])?(\w+::\w+|[^=:<]+)?(?:([=:<])(.*))?$/,T=/[*?+]/;if(e)for(e=t(e,","),y["@"]&&(w=y["@"].attributes,_=y["@"].attributesOrder),n=0,r=e.length;r>n;n++)if(s=S.exec(e[n])){if(b=s[1],h=s[2],C=s[3],f=s[5],g={},v=[],l={attributes:g,attributesOrder:v},"#"===b&&(l.paddEmpty=!0),"-"===b&&(l.removeEmpty=!0),"!"===s[4]&&(l.removeEmptyAttrs=!0),w){for(E in w)g[E]=w[E];v.push.apply(v,_)}if(f)for(f=t(f,"|"),i=0,o=f.length;o>i;i++)if(s=k.exec(f[i])){if(c={},m=s[1],p=s[2].replace(/::/g,":"),b=s[3],N=s[4],"!"===m&&(l.attributesRequired=l.attributesRequired||[],l.attributesRequired.push(p),c.required=!0),"-"===m){delete g[p],v.splice(u(v,p),1);continue}b&&("="===b&&(l.attributesDefault=l.attributesDefault||[],l.attributesDefault.push({name:p,value:N}),c.defaultValue=N),":"===b&&(l.attributesForced=l.attributesForced||[],l.attributesForced.push({name:p,value:N}),c.forcedValue=N),"<"===b&&(c.validValues=a(N,"?"))),T.test(p)?(l.attributePatterns=l.attributePatterns||[],c.pattern=d(p),l.attributePatterns.push(c)):(g[p]||v.push(p),g[p]=c)}w||"@"!=h||(w=g,_=v),C&&(l.outputName=h,y[C]=l),T.test(h)?(l.pattern=d(h),x.push(l)):y[h]=l}}function h(e){y={},x=[],f(e),s(_,function(e,t){b[t]=e.children})}function p(e){var n=/^(~)?(.+)$/;e&&(i.text_block_elements=i.block_elements=null,s(t(e,","),function(e){var t=n.exec(e),r="~"===t[1],i=r?"span":"div",o=t[2];if(b[o]=b[i],L[o]=i,r||(R[o.toUpperCase()]={},R[o]={}),!y[o]){var a=y[i];a=l({},a),delete a.removeEmptyAttrs,delete a.removeEmpty,y[o]=a}s(b,function(e,t){e[i]&&(b[t]=e=l({},b[t]),e[o]=e[i])})}))}function m(n){var r=/^([+\-]?)(\w+)\[([^\]]+)\]$/;i[e.schema]=null,n&&s(t(n,","),function(e){var n=r.exec(e),i,o;n&&(o=n[1],i=o?b[n[2]]:b[n[2]]={"#comment":{}},i=b[n[2]],s(t(n[3],"|"),function(e){"-"===o?delete i[e]:i[e]={}}))})}function g(e){var t=y[e],n;if(t)return t;for(n=x.length;n--;)if(t=x[n],t.pattern.test(e))return t}var v=this,y={},b={},x=[],C,w,_,E,N,S,k,T,R,A,B,D,M,L={},H={};e=e||{},_=n(e.schema),e.verify_html===!1&&(e.valid_elements="*[*]"),C=r(e.valid_styles),w=r(e.invalid_styles,"map"),T=r(e.valid_classes,"map"),E=o("whitespace_elements","pre script noscript style textarea video audio iframe object"),N=o("self_closing_elements","colgroup dd dt li option p td tfoot th thead tr"),S=o("short_ended_elements","area base basefont br col frame hr img input isindex link meta param embed source wbr track"),k=o("boolean_attributes","checked compact declare defer disabled ismap multiple nohref noresize noshade nowrap readonly selected autoplay loop controls"),A=o("non_empty_elements","td th iframe video audio object script",S),B=o("move_caret_before_on_enter_elements","table",A),D=o("text_block_elements","h1 h2 h3 h4 h5 h6 p div address pre form blockquote center dir fieldset header footer article section hgroup aside nav figure"),R=o("block_elements","hr table tbody thead tfoot th tr td li ol ul caption dl dt dd noscript menu isindex option datalist select optgroup",D),M=o("text_inline_elements","span strong b em i font strike u var cite dfn code mark q sup sub samp"),s((e.special||"script noscript style textarea").split(" "),function(e){H[e]=new RegExp("]*>","gi")}),e.valid_elements?h(e.valid_elements):(s(_,function(e,t){y[t]={attributes:e.attributes,attributesOrder:e.attributesOrder},b[t]=e.children}),"html5"!=e.schema&&s(t("strong/b em/i"),function(e){e=t(e,"/"),y[e[1]].outputName=e[0]}),y.img.attributesDefault=[{name:"alt",value:""}],s(t("ol ul sub sup blockquote span font a table tbody tr strong em b i"),function(e){y[e]&&(y[e].removeEmpty=!0)}),s(t("p h1 h2 h3 h4 h5 h6 th td pre div address caption"),function(e){y[e].paddEmpty=!0}),s(t("span"),function(e){y[e].removeEmptyAttrs=!0})),p(e.custom_elements),m(e.valid_children),f(e.extended_valid_elements),m("+ol[ul|ol],+ul[ul|ol]"),e.invalid_elements&&s(c(e.invalid_elements),function(e){y[e]&&delete y[e]}),g("span")||f("span[!data-mce-type|*]"),v.children=b,v.getValidStyles=function(){return C},v.getInvalidStyles=function(){return w},v.getValidClasses=function(){return T},v.getBoolAttrs=function(){return k},v.getBlockElements=function(){return R},v.getTextBlockElements=function(){return D},v.getTextInlineElements=function(){return M},v.getShortEndedElements=function(){return S},v.getSelfClosingElements=function(){return N},v.getNonEmptyElements=function(){return A},v.getMoveCaretBeforeOnEnterElements=function(){return B},v.getWhiteSpaceElements=function(){return E},v.getSpecialElements=function(){return H},v.isValidChild=function(e,t){var n=b[e];return!(!n||!n[t])},v.isValid=function(e,t){var n,r,i=g(e);if(i){if(!t)return!0;if(i.attributes[t])return!0;if(n=i.attributePatterns)for(r=n.length;r--;)if(n[r].pattern.test(e))return!0}return!1},v.getElementRule=g,v.getCustomElements=function(){return L},v.addValidElements=f,v.setValidElements=h,v.addCustomElements=p,v.addValidChildren=m,v.elements=y}}),r(S,[N,v,f],function(e,t,n){function r(e,t,n){var r=1,i,o,a,s;for(s=e.getShortEndedElements(),a=/<([!?\/])?([A-Za-z0-9\-_\:\.]+)((?:\s+[^"\'>]+(?:(?:"[^"]*")|(?:\'[^\']*\')|[^>]*))*|\/|\s+)>/g,a.lastIndex=i=n;o=a.exec(t);){if(i=a.lastIndex,"/"===o[1])r--;else if(!o[1]){if(o[2]in s)continue;r++}if(0===r)break}return i}function i(i,a){function s(){}var l=this;i=i||{},l.schema=a=a||new e,i.fix_self_closing!==!1&&(i.fix_self_closing=!0),o("comment cdata text start end pi doctype".split(" "),function(e){e&&(l[e]=i[e]||s)}),l.parse=function(e){function o(e){var t,n;for(t=h.length;t--&&h[t].name!==e;);if(t>=0){for(n=h.length-1;n>=t;n--)e=h[n],e.valid&&l.end(e.name);h.length=t}}function s(e,t,n,r,o){var a,s,l=/[\s\u0000-\u001F]+/g;if(t=t.toLowerCase(),n=t in C?t:z(n||r||o||""),_&&!y&&0!==t.indexOf("data-")){if(a=T[t],!a&&R){for(s=R.length;s--&&(a=R[s],!a.pattern.test(t)););-1===s&&(a=null)}if(!a)return;if(a.validValues&&!(n in a.validValues))return}if(V[t]&&!i.allow_script_urls){var c=n.replace(l,"");try{c=decodeURIComponent(c)}catch(u){c=unescape(c)}if(U.test(c))return;if(!i.allow_html_data_urls&&$.test(c)&&!/^data:image\//i.test(c))return}p.map[t]=n,p.push({name:t,value:n})}var l=this,c,u=0,d,f,h=[],p,m,g,v,y,b,x,C,w,_,E,N,S,k,T,R,A,B,D,M,L,H,P,O,I,F=0,z=t.decode,W,V=n.makeMap("src,href,data,background,formaction,poster"),U=/((java|vb)script|mhtml):/i,$=/^data:/i;for(H=new RegExp("<(?:(?:!--([\\w\\W]*?)-->)|(?:!\\[CDATA\\[([\\w\\W]*?)\\]\\]>)|(?:!DOCTYPE([\\w\\W]*?)>)|(?:\\?([^\\s\\/<>]+) ?([\\w\\W]*?)[?/]>)|(?:\\/([^>]+)>)|(?:([A-Za-z0-9\\-_\\:\\.]+)((?:\\s+[^\"'>]+(?:(?:\"[^\"]*\")|(?:'[^']*')|[^>]*))*|\\/|\\s+)>))","g"),P=/([\w:\-]+)(?:\s*=\s*(?:(?:\"((?:[^\"])*)\")|(?:\'((?:[^\'])*)\')|([^>\s]+)))?/g,x=a.getShortEndedElements(),L=i.self_closing_elements||a.getSelfClosingElements(),C=a.getBoolAttrs(),_=i.validate,b=i.remove_internals,W=i.fix_self_closing,O=a.getSpecialElements();c=H.exec(e);){if(u0&&h[h.length-1].name===d&&o(d),!_||(E=a.getElementRule(d))){if(N=!0,_&&(T=E.attributes,R=E.attributePatterns),(k=c[8])?(y=-1!==k.indexOf("data-mce-type"),y&&b&&(N=!1),p=[],p.map={},k.replace(P,s)):(p=[],p.map={}),_&&!y){if(A=E.attributesRequired,B=E.attributesDefault,D=E.attributesForced,M=E.removeEmptyAttrs,M&&!p.length&&(N=!1),D)for(m=D.length;m--;)S=D[m],v=S.name,I=S.value,"{$uid}"===I&&(I="mce_"+F++),p.map[v]=I,p.push({name:v,value:I});if(B)for(m=B.length;m--;)S=B[m],v=S.name,v in p.map||(I=S.value,"{$uid}"===I&&(I="mce_"+F++),p.map[v]=I,p.push({name:v,value:I}));if(A){for(m=A.length;m--&&!(A[m]in p.map););-1===m&&(N=!1)}if(S=p.map["data-mce-bogus"]){if("all"===S){u=r(a,e,H.lastIndex),H.lastIndex=u;continue}N=!1}}N&&l.start(d,p,w)}else N=!1;if(f=O[d]){f.lastIndex=u=c.index+c[0].length,(c=f.exec(e))?(N&&(g=e.substr(u,c.index-u)),u=c.index+c[0].length):(g=e.substr(u),u=e.length),N&&(g.length>0&&l.text(g,!0),l.end(d)),H.lastIndex=u;continue}w||(k&&k.indexOf("/")==k.length-1?N&&l.end(d):h.push({name:d,valid:N}))}else(d=c[1])?(">"===d.charAt(0)&&(d=" "+d),i.allow_conditional_comments||"[if"!==d.substr(0,3)||(d=" "+d),l.comment(d)):(d=c[2])?l.cdata(d):(d=c[3])?l.doctype(d):(d=c[4])&&l.pi(d,c[5]);u=c.index+c[0].length}for(u=0;m--)d=h[m],d.valid&&l.end(d.name)}}var o=n.each;return i.findEndTag=r,i}),r(k,[E,N,S,f],function(e,t,n,r){var i=r.makeMap,o=r.each,a=r.explode,s=r.extend;return function(r,l){function c(t){var n,r,o,a,s,c,d,f,h,p,m,g,v,y,b;for(m=i("tr,td,th,tbody,thead,tfoot,table"),p=l.getNonEmptyElements(),g=l.getTextBlockElements(),v=l.getSpecialElements(),n=0;n1){for(a.reverse(),s=c=u.filterNode(a[0].clone()),h=0;h0)return void(t.value=r);if(n=t.next){if(3==n.type&&n.value.length){t=t.prev;continue}if(!o[n.name]&&"script"!=n.name&&"style"!=n.name){t=t.prev;continue}}i=t.prev,t.remove(),t=i}}function g(e){var t,n={};for(t in e)"li"!==t&&"p"!=t&&(n[t]=e[t]);return n; -}var v,y,b,x,C,w,_,E,N,S,k,T,R,A=[],B,D,M,L,H,P,O,I;if(o=o||{},h={},p={},T=s(i("script,style,head,html,body,title,meta,param"),l.getBlockElements()),O=l.getNonEmptyElements(),P=l.children,k=r.validate,I="forced_root_block"in o?o.forced_root_block:r.forced_root_block,H=l.getWhiteSpaceElements(),R=/^[ \t\r\n]+/,D=/[ \t\r\n]+$/,M=/[ \t\r\n]+/g,L=/^[ \t\r\n]+$/,v=new n({validate:k,allow_script_urls:r.allow_script_urls,allow_conditional_comments:r.allow_conditional_comments,self_closing_elements:g(l.getSelfClosingElements()),cdata:function(e){b.append(u("#cdata",4)).value=e},text:function(e,t){var n;B||(e=e.replace(M," "),b.lastChild&&T[b.lastChild.name]&&(e=e.replace(R,""))),0!==e.length&&(n=u("#text",3),n.raw=!!t,b.append(n).value=e)},comment:function(e){b.append(u("#comment",8)).value=e},pi:function(e,t){b.append(u(e,7)).value=t,m(b)},doctype:function(e){var t;t=b.append(u("#doctype",10)),t.value=e,m(b)},start:function(e,t,n){var r,i,o,a,s;if(o=k?l.getElementRule(e):{}){for(r=u(o.outputName||e,1),r.attributes=t,r.shortEnded=n,b.append(r),s=P[b.name],s&&P[r.name]&&!s[r.name]&&A.push(r),i=f.length;i--;)a=f[i].name,a in t.map&&(N=p[a],N?N.push(r):p[a]=[r]);T[e]&&m(r),n||(b=r),!B&&H[e]&&(B=!0)}},end:function(t){var n,r,i,o,a;if(r=k?l.getElementRule(t):{}){if(T[t]&&!B){if(n=b.firstChild,n&&3===n.type)if(i=n.value.replace(R,""),i.length>0)n.value=i,n=n.next;else for(o=n.next,n.remove(),n=o;n&&3===n.type;)i=n.value,o=n.next,(0===i.length||L.test(i))&&(n.remove(),n=o),n=o;if(n=b.lastChild,n&&3===n.type)if(i=n.value.replace(D,""),i.length>0)n.value=i,n=n.prev;else for(o=n.prev,n.remove(),n=o;n&&3===n.type;)i=n.value,o=n.prev,(0===i.length||L.test(i))&&(n.remove(),n=o),n=o}if(B&&H[t]&&(B=!1),(r.removeEmpty||r.paddEmpty)&&b.isEmpty(O))if(r.paddEmpty)b.empty().append(new e("#text","3")).value="\xa0";else if(!b.attributes.map.name&&!b.attributes.map.id)return a=b.parent,T[b.name]?b.empty().remove():b.unwrap(),void(b=a);b=b.parent}}},l),y=b=new e(o.context||r.root_name,11),v.parse(t),k&&A.length&&(o.context?o.invalid=!0:c(A)),I&&("body"==y.name||o.isRootContent)&&a(),!o.invalid){for(S in h){for(N=d[S],x=h[S],_=x.length;_--;)x[_].parent||x.splice(_,1);for(C=0,w=N.length;w>C;C++)N[C](x,S,o)}for(C=0,w=f.length;w>C;C++)if(N=f[C],N.name in p){for(x=p[N.name],_=x.length;_--;)x[_].parent||x.splice(_,1);for(_=0,E=N.callbacks.length;E>_;_++)N.callbacks[_](x,N.name,o)}}return y},r.remove_trailing_brs&&u.addNodeFilter("br",function(t){var n,r=t.length,i,o=s({},l.getBlockElements()),a=l.getNonEmptyElements(),c,u,d,f,h,p;for(o.body=1,n=0;r>n;n++)if(i=t[n],c=i.parent,o[i.parent.name]&&i===c.lastChild){for(d=i.prev;d;){if(f=d.name,"span"!==f||"bookmark"!==d.attr("data-mce-type")){if("br"!==f)break;if("br"===f){i=null;break}}d=d.prev}i&&(i.remove(),c.isEmpty(a)&&(h=l.getElementRule(c.name),h&&(h.removeEmpty?c.remove():h.paddEmpty&&(c.empty().append(new e("#text",3)).value="\xa0"))))}else{for(u=i;c&&c.firstChild===u&&c.lastChild===u&&(u=c,!o[c.name]);)c=c.parent;u===c&&(p=new e("#text",3),p.value="\xa0",i.replace(p))}}),r.allow_html_in_named_anchor||u.addAttributeFilter("id,name",function(e){for(var t=e.length,n,r,i,o;t--;)if(o=e[t],"a"===o.name&&o.firstChild&&!o.attr("href")){i=o.parent,n=o.lastChild;do r=n.prev,i.insert(n,o),n=r;while(n)}}),r.validate&&l.getValidClasses()&&u.addAttributeFilter("class",function(e){for(var t=e.length,n,r,i,o,a,s=l.getValidClasses(),c,u;t--;){for(n=e[t],r=n.attr("class").split(" "),a="",i=0;i0&&(f=r[r.length-1],f.length>0&&"\n"!==f&&r.push("\n")),r.push("<",e),t)for(c=0,u=t.length;u>c;c++)d=t[c],r.push(" ",d.name,'="',s(d.value,!0),'"');!n||l?r[r.length]=">":r[r.length]=" />",n&&i&&a[e]&&r.length>0&&(f=r[r.length-1],f.length>0&&"\n"!==f&&r.push("\n"))},end:function(e){var t;r.push(""),i&&a[e]&&r.length>0&&(t=r[r.length-1],t.length>0&&"\n"!==t&&r.push("\n"))},text:function(e,t){e.length>0&&(r[r.length]=t?e:s(e))},cdata:function(e){r.push("")},comment:function(e){r.push("")},pi:function(e,t){t?r.push(""):r.push(""),i&&r.push("\n")},doctype:function(e){r.push("",i?"\n":"")},reset:function(){r.length=0},getContent:function(){return r.join("").replace(/\n$/,"")}}}}),r(R,[T,N],function(e,t){return function(n,r){var i=this,o=new e(n);n=n||{},n.validate="validate"in n?n.validate:!0,i.schema=r=r||new t,i.writer=o,i.serialize=function(e){function t(e){var n=i[e.type],s,l,c,u,d,f,h,p,m;if(n)n(e);else{if(s=e.name,l=e.shortEnded,c=e.attributes,a&&c&&c.length>1){for(f=[],f.map={},m=r.getElementRule(e.name),h=0,p=m.attributesOrder.length;p>h;h++)u=m.attributesOrder[h],u in c.map&&(d=c.map[u],f.map[u]=d,f.push({name:u,value:d}));for(h=0,p=c.length;p>h;h++)u=c[h].name,u in f.map||(d=c.map[u],f.map[u]=d,f.push({name:u,value:d}));c=f}if(o.start(e.name,c,l),!l){if(e=e.firstChild)do t(e);while(e=e.next);o.end(s)}}}var i,a;return a=n.validate,i={3:function(e){o.text(e.value,e.raw)},8:function(e){o.comment(e.value)},7:function(e){o.pi(e.name,e.value)},10:function(e){o.doctype(e.value)},4:function(e){o.cdata(e.value)},11:function(e){if(e=e.firstChild)do t(e);while(e=e.next)}},o.reset(),1!=e.type||n.inner?i[11](e):t(e),o.getContent()}}}),r(A,[b,k,v,R,E,N,u,f],function(e,t,n,r,i,o,a,s){var l=s.each,c=s.trim,u=e.DOM;return function(e,i){var s,d,f;return i&&(s=i.dom,d=i.schema),s=s||u,d=d||new o(e),e.entity_encoding=e.entity_encoding||"named",e.remove_trailing_brs="remove_trailing_brs"in e?e.remove_trailing_brs:!0,f=new t(e,d),f.addAttributeFilter("data-mce-tabindex",function(e,t){for(var n=e.length,r;n--;)r=e[n],r.attr("tabindex",r.attributes.map["data-mce-tabindex"]),r.attr(t,null)}),f.addAttributeFilter("src,href,style",function(t,n){for(var r=t.length,i,o,a="data-mce-"+n,l=e.url_converter,c=e.url_converter_scope,u;r--;)i=t[r],o=i.attributes.map[a],o!==u?(i.attr(n,o.length>0?o:null),i.attr(a,null)):(o=i.attributes.map[n],"style"===n?o=s.serializeStyle(s.parseStyle(o),i.name):l&&(o=l.call(c,o,n,i.name)),i.attr(n,o.length>0?o:null))}),f.addAttributeFilter("class",function(e){for(var t=e.length,n,r;t--;)n=e[t],r=n.attr("class"),r&&(r=n.attr("class").replace(/(?:^|\s)mce-item-\w+(?!\S)/g,""),n.attr("class",r.length>0?r:null))}),f.addAttributeFilter("data-mce-type",function(e,t,n){for(var r=e.length,i;r--;)i=e[r],"bookmark"!==i.attributes.map["data-mce-type"]||n.cleanup||i.remove()}),f.addNodeFilter("noscript",function(e){for(var t=e.length,r;t--;)r=e[t].firstChild,r&&(r.value=n.decode(r.value))}),f.addNodeFilter("script,style",function(e,t){function n(e){return e.replace(/()/g,"\n").replace(/^[\r\n]*|[\r\n]*$/g,"").replace(/^\s*(()?|\s*\/\/\s*\]\]>(-->)?|\/\/\s*(-->)?|\]\]>|\/\*\s*-->\s*\*\/|\s*-->\s*)\s*$/g,"")}for(var r=e.length,i,o,a;r--;)i=e[r],o=i.firstChild?i.firstChild.value:"","script"===t?(a=i.attr("type"),a&&i.attr("type","mce-no/type"==a?null:a.replace(/^mce\-/,"")),o.length>0&&(i.firstChild.value="// ")):o.length>0&&(i.firstChild.value="")}),f.addNodeFilter("#comment",function(e){for(var t=e.length,n;t--;)n=e[t],0===n.value.indexOf("[CDATA[")?(n.name="#cdata",n.type=4,n.value=n.value.replace(/^\[CDATA\[|\]\]$/g,"")):0===n.value.indexOf("mce:protected ")&&(n.name="#text",n.type=3,n.raw=!0,n.value=unescape(n.value).substr(14))}),f.addNodeFilter("xml:namespace,input",function(e,t){for(var n=e.length,r;n--;)r=e[n],7===r.type?r.remove():1===r.type&&("input"!==t||"type"in r.attributes.map||r.attr("type","text"))}),e.fix_list_elements&&f.addNodeFilter("ul,ol",function(e){for(var t=e.length,n,r;t--;)n=e[t],r=n.parent,("ul"===r.name||"ol"===r.name)&&n.prev&&"li"===n.prev.name&&n.prev.append(n)}),f.addAttributeFilter("data-mce-src,data-mce-href,data-mce-style,data-mce-selected,data-mce-expando,data-mce-type,data-mce-resize",function(e,t){for(var n=e.length;n--;)e[n].attr(t,null)}),{schema:d,addNodeFilter:f.addNodeFilter,addAttributeFilter:f.addAttributeFilter,serialize:function(t,n){var i=this,o,u,h,p,m;return a.ie&&s.select("script,style,select,map").length>0?(m=t.innerHTML,t=t.cloneNode(!1),s.setHTML(t,m)):t=t.cloneNode(!0),o=t.ownerDocument.implementation,o.createHTMLDocument&&(u=o.createHTMLDocument(""),l("BODY"==t.nodeName?t.childNodes:[t],function(e){u.body.appendChild(u.importNode(e,!0))}),t="BODY"!=t.nodeName?u.body.firstChild:u.body,h=s.doc,s.doc=u),n=n||{},n.format=n.format||"html",n.selection&&(n.forced_root_block=""),n.no_events||(n.node=t,i.onPreProcess(n)),p=new r(e,d),n.content=p.serialize(f.parse(c(n.getInner?t.innerHTML:s.getOuterHTML(t)),n)),n.cleanup||(n.content=n.content.replace(/\uFEFF/g,"")),n.no_events||i.onPostProcess(n),h&&(s.doc=h),n.node=null,n.content},addRules:function(e){d.addValidElements(e)},setRules:function(e){d.setValidElements(e)},onPreProcess:function(e){i&&i.fire("PreProcess",e)},onPostProcess:function(e){i&&i.fire("PostProcess",e)}}}}),r(B,[],function(){function e(e){function t(t,n){var r,i=0,o,a,s,l,c,u,d=-1,f;if(r=t.duplicate(),r.collapse(n),f=r.parentElement(),f.ownerDocument===e.dom.doc){for(;"false"===f.contentEditable;)f=f.parentNode;if(!f.hasChildNodes())return{node:f,inside:1};for(s=f.children,o=s.length-1;o>=i;)if(u=Math.floor((i+o)/2),l=s[u],r.moveToElementText(l),d=r.compareEndPoints(n?"StartToStart":"EndToEnd",t),d>0)o=u-1;else{if(!(0>d))return{node:l};i=u+1}if(0>d)for(l?r.collapse(!1):(r.moveToElementText(f),r.collapse(!0),l=f,a=!0),c=0;0!==r.compareEndPoints(n?"StartToStart":"StartToEnd",t)&&0!==r.move("character",1)&&f==r.parentElement();)c++;else for(r.collapse(!0),c=0;0!==r.compareEndPoints(n?"StartToStart":"StartToEnd",t)&&0!==r.move("character",-1)&&f==r.parentElement();)c++;return{node:l,position:d,offset:c,inside:a}}}function n(){function n(e){var n=t(o,e),r,i,s=0,l,c,u;if(r=n.node,i=n.offset,n.inside&&!r.hasChildNodes())return void a[e?"setStart":"setEnd"](r,0);if(i===c)return void a[e?"setStartBefore":"setEndAfter"](r);if(n.position<0){if(l=n.inside?r.firstChild:r.nextSibling,!l)return void a[e?"setStartAfter":"setEndAfter"](r);if(!i)return void(3==l.nodeType?a[e?"setStart":"setEnd"](l,0):a[e?"setStartBefore":"setEndBefore"](l));for(;l;){if(3==l.nodeType&&(u=l.nodeValue,s+=u.length,s>=i)){r=l,s-=i,s=u.length-s;break}l=l.nextSibling}}else{if(l=r.previousSibling,!l)return a[e?"setStartBefore":"setEndBefore"](r);if(!i)return void(3==r.nodeType?a[e?"setStart":"setEnd"](l,r.nodeValue.length):a[e?"setStartAfter":"setEndAfter"](l));for(;l;){if(3==l.nodeType&&(s+=l.nodeValue.length,s>=i)){r=l,s-=i;break}l=l.previousSibling}}a[e?"setStart":"setEnd"](r,s)}var o=e.getRng(),a=i.createRng(),s,l,c,u,d;if(s=o.item?o.item(0):o.parentElement(),s.ownerDocument!=i.doc)return a;if(l=e.isCollapsed(),o.item)return a.setStart(s.parentNode,i.nodeIndex(s)),a.setEnd(a.startContainer,a.startOffset+1),a;try{n(!0),l||n()}catch(f){if(-2147024809!=f.number)throw f;d=r.getBookmark(2),c=o.duplicate(),c.collapse(!0),s=c.parentElement(),l||(c=o.duplicate(),c.collapse(!1),u=c.parentElement(),u.innerHTML=u.innerHTML),s.innerHTML=s.innerHTML,r.moveToBookmark(d),o=e.getRng(),n(!0),l||n()}return a}var r=this,i=e.dom,o=!1;this.getBookmark=function(n){function r(e){var t,n,r,o,a=[];for(t=e.parentNode,n=i.getRoot().parentNode;t!=n&&9!==t.nodeType;){for(r=t.children,o=r.length;o--;)if(e===r[o]){a.push(o);break}e=t,t=t.parentNode}return a}function o(e){var n;return n=t(a,e),n?{position:n.position,offset:n.offset,indexes:r(n.node),inside:n.inside}:void 0}var a=e.getRng(),s={};return 2===n&&(a.item?s.start={ctrl:!0,indexes:r(a.item(0))}:(s.start=o(!0),e.isCollapsed()||(s.end=o()))),s},this.moveToBookmark=function(e){function t(e){var t,n,r,o;for(t=i.getRoot(),n=e.length-1;n>=0;n--)o=t.children,r=e[n],r<=o.length-1&&(t=o[r]);return t}function n(n){var i=e[n?"start":"end"],a,s,l,c;i&&(a=i.position>0,s=o.createTextRange(),s.moveToElementText(t(i.indexes)),c=i.offset,c!==l?(s.collapse(i.inside||a),s.moveStart("character",a?-c:c)):s.collapse(n),r.setEndPoint(n?"StartToStart":"EndToStart",s),n&&r.collapse(!0))}var r,o=i.doc.body;e.start&&(e.start.ctrl?(r=o.createControlRange(),r.addElement(t(e.start.indexes)),r.select()):(r=o.createTextRange(),n(!0),n(),r.select()))},this.addRange=function(t){function n(e){var t,n,a,d,p;a=i.create("a"),t=e?s:c,n=e?l:u,d=r.duplicate(),(t==f||t==f.documentElement)&&(t=h,n=0),3==t.nodeType?(t.parentNode.insertBefore(a,t),d.moveToElementText(a),d.moveStart("character",n),i.remove(a),r.setEndPoint(e?"StartToStart":"EndToEnd",d)):(p=t.childNodes,p.length?(n>=p.length?i.insertAfter(a,p[p.length-1]):t.insertBefore(a,p[n]),d.moveToElementText(a)):t.canHaveHTML&&(t.innerHTML="",a=t.firstChild,d.moveToElementText(a),d.collapse(o)),r.setEndPoint(e?"StartToStart":"EndToEnd",d),i.remove(a))}var r,a,s,l,c,u,d,f=e.dom.doc,h=f.body,p,m;if(s=t.startContainer,l=t.startOffset,c=t.endContainer,u=t.endOffset,r=h.createTextRange(),s==c&&1==s.nodeType){if(l==u&&!s.hasChildNodes()){if(s.canHaveHTML)return d=s.previousSibling,d&&!d.hasChildNodes()&&i.isBlock(d)?d.innerHTML="":d=null,s.innerHTML="",r.moveToElementText(s.lastChild),r.select(),i.doc.selection.clear(),s.innerHTML="",void(d&&(d.innerHTML=""));l=i.nodeIndex(s),s=s.parentNode}if(l==u-1)try{if(m=s.childNodes[l],a=h.createControlRange(),a.addElement(m),a.select(),p=e.getRng(),p.item&&m===p.item(0))return}catch(g){}}n(!0),n(),r.select()},this.getRangeAt=n}return e}),r(D,[u],function(e){return{BACKSPACE:8,DELETE:46,DOWN:40,ENTER:13,LEFT:37,RIGHT:39,SPACEBAR:32,TAB:9,UP:38,modifierPressed:function(e){return e.shiftKey||e.ctrlKey||e.altKey||this.metaKeyPressed(e)},metaKeyPressed:function(t){return e.mac?t.metaKey:t.ctrlKey&&!t.altKey}}}),r(M,[D,f,u],function(e,t,n){return function(r,i){function o(e){var t=i.settings.object_resizing;return t===!1||n.iOS?!1:("string"!=typeof t&&(t="table,img,div"),"false"===e.getAttribute("data-mce-resize")?!1:i.dom.is(e,t))}function a(t){var n,r,o,a,s;n=t.screenX-T,r=t.screenY-R,P=n*S[2]+D,O=r*S[3]+M,P=5>P?5:P,O=5>O?5:O,o="IMG"==w.nodeName&&i.settings.resize_img_proportional!==!1?!e.modifierPressed(t):e.modifierPressed(t)||"IMG"==w.nodeName&&S[2]*S[3]!==0,o&&(W(n)>W(r)?(O=V(P*L),P=V(O/L)):(P=V(O/L),O=V(P*L))),x.setStyles(_,{width:P,height:O}),a=S.startPos.x+n,s=S.startPos.y+r,a=a>0?a:0,s=s>0?s:0,x.setStyles(E,{left:a,top:s,display:"block"}),E.innerHTML=P+" × "+O,S[2]<0&&_.clientWidth<=P&&x.setStyle(_,"left",A+(D-P)),S[3]<0&&_.clientHeight<=O&&x.setStyle(_,"top",B+(M-O)),n=U.scrollWidth-$,r=U.scrollHeight-q,n+r!==0&&x.setStyles(E,{left:a-n,top:s-r}),H||(i.fire("ObjectResizeStart",{target:w,width:D,height:M}),H=!0)}function s(){function e(e,t){t&&(w.style[e]||!i.schema.isValid(w.nodeName.toLowerCase(),e)?x.setStyle(w,e,t):x.setAttrib(w,e,t))}H=!1,e("width",P),e("height",O),x.unbind(I,"mousemove",a),x.unbind(I,"mouseup",s),F!=I&&(x.unbind(F,"mousemove",a),x.unbind(F,"mouseup",s)),x.remove(_),x.remove(E),z&&"TABLE"!=w.nodeName||l(w),i.fire("ObjectResized",{target:w,width:P,height:O}),x.setAttrib(w,"style",x.getAttrib(w,"style")),i.nodeChanged()}function l(e,t,r){var l,u,d,f,h;g(),l=x.getPos(e,U),A=l.x,B=l.y,h=e.getBoundingClientRect(),u=h.width||h.right-h.left,d=h.height||h.bottom-h.top,w!=e&&(m(),w=e,P=O=0),f=i.fire("ObjectSelected",{target:e}),o(e)&&!f.isDefaultPrevented()?C(N,function(e,i){function o(t){T=t.screenX,R=t.screenY,D=w.clientWidth,M=w.clientHeight,L=M/D,S=e,e.startPos={x:u*e[0]+A,y:d*e[1]+B},$=U.scrollWidth,q=U.scrollHeight,_=w.cloneNode(!0),x.addClass(_,"mce-clonedresizable"),x.setAttrib(_,"data-mce-bogus","all"),_.contentEditable=!1,_.unSelectabe=!0,x.setStyles(_,{left:A,top:B,margin:0}),_.removeAttribute("data-mce-selected"),U.appendChild(_),x.bind(I,"mousemove",a),x.bind(I,"mouseup",s),F!=I&&(x.bind(F,"mousemove",a),x.bind(F,"mouseup",s)),E=x.add(U,"div",{"class":"mce-resize-helper","data-mce-bogus":"all"},D+" × "+M)}var l;return t?void(i==t&&o(r)):(l=x.get("mceResizeHandle"+i),l&&x.remove(l),l=x.add(U,"div",{id:"mceResizeHandle"+i,"data-mce-bogus":"all","class":"mce-resizehandle",unselectable:!0,style:"cursor:"+i+"-resize; margin:0; padding:0"}),n.ie&&(l.contentEditable=!1),x.bind(l,"mousedown",function(e){e.stopImmediatePropagation(),e.preventDefault(),o(e)}),e.elm=l,void x.setStyles(l,{left:u*e[0]+A-l.offsetWidth/2,top:d*e[1]+B-l.offsetHeight/2}))}):c(),w.setAttribute("data-mce-selected","1")}function c(){var e,t;g(),w&&w.removeAttribute("data-mce-selected");for(e in N)t=x.get("mceResizeHandle"+e),t&&(x.unbind(t),x.remove(t))}function u(e){function t(e,t){if(e)do if(e===t)return!0;while(e=e.parentNode)}var n,o;if(!H&&!i.removed)return C(x.select("img[data-mce-selected],hr[data-mce-selected]"),function(e){e.removeAttribute("data-mce-selected")}),o="mousedown"==e.type?e.target:r.getNode(),o=x.$(o).closest(z?"table":"table,img,hr")[0],t(o,U)&&(v(),n=r.getStart(!0),t(n,o)&&t(r.getEnd(!0),o)&&(!z||o!=n&&"IMG"!==n.nodeName))?void l(o):void c()}function d(e,t,n){e&&e.attachEvent&&e.attachEvent("on"+t,n)}function f(e,t,n){e&&e.detachEvent&&e.detachEvent("on"+t,n)}function h(e){var t=e.srcElement,n,r,o,a,s,c,u;n=t.getBoundingClientRect(),c=k.clientX-n.left,u=k.clientY-n.top;for(r in N)if(o=N[r],a=t.offsetWidth*o[0],s=t.offsetHeight*o[1],W(a-c)<8&&W(s-u)<8){S=o;break}H=!0,i.fire("ObjectResizeStart",{target:w,width:w.clientWidth,height:w.clientHeight}),i.getDoc().selection.empty(),l(t,r,k)}function p(e){var t=e.srcElement;if(t!=w){if(i.fire("ObjectSelected",{target:t}),m(),0===t.id.indexOf("mceResizeHandle"))return void(e.returnValue=!1);("IMG"==t.nodeName||"TABLE"==t.nodeName)&&(c(),w=t,d(t,"resizestart",h))}}function m(){f(w,"resizestart",h)}function g(){for(var e in N){var t=N[e];t.elm&&(x.unbind(t.elm),delete t.elm)}}function v(){try{i.getDoc().execCommand("enableObjectResizing",!1,!1)}catch(e){}}function y(e){var t;if(z){t=I.body.createControlRange();try{return t.addElement(e),t.select(),!0}catch(n){}}}function b(){w=_=null,z&&(m(),f(U,"controlselect",p))}var x=i.dom,C=t.each,w,_,E,N,S,k,T,R,A,B,D,M,L,H,P,O,I=i.getDoc(),F=document,z=n.ie&&n.ie<11,W=Math.abs,V=Math.round,U=i.getBody(),$,q;N={nw:[0,0,-1,-1],ne:[1,0,1,-1],se:[1,1,1,1],sw:[0,1,-1,1]};var j=".mce-content-body";return i.contentStyles.push(j+" div.mce-resizehandle {position: absolute;border: 1px solid black;background: #FFF;width: 7px;height: 7px;z-index: 10000}"+j+" .mce-resizehandle:hover {background: #000}"+j+" img[data-mce-selected], hr[data-mce-selected] {outline: 1px solid black;resize: none}"+j+" .mce-clonedresizable {position: absolute;"+(n.gecko?"":"outline: 1px dashed black;")+"opacity: .5;filter: alpha(opacity=50);z-index: 10000}"+j+" .mce-resize-helper {background: #555;background: rgba(0,0,0,0.75);border-radius: 3px;border: 1px;color: white;display: none;font-family: sans-serif;font-size: 12px;white-space: nowrap;line-height: 14px;margin: 5px 10px;padding: 5px;position: absolute;z-index: 10001}"),i.on("init",function(){z?(i.on("ObjectResized",function(e){"TABLE"!=e.target.nodeName&&(c(),y(e.target))}),d(U,"controlselect",p),i.on("mousedown",function(e){k=e})):(v(),n.ie>=11&&(i.on("mousedown click",function(e){var t=e.target.nodeName;!H&&/^(TABLE|IMG|HR)$/.test(t)&&(i.selection.select(e.target,"TABLE"==t),"mousedown"==e.type&&i.nodeChanged())}),i.dom.bind(U,"mscontrolselect",function(e){/^(TABLE|IMG|HR)$/.test(e.target.nodeName)&&(e.preventDefault(),"IMG"==e.target.tagName&&window.setTimeout(function(){i.selection.select(e.target)},0))}))),i.on("nodechange ResizeEditor ResizeWindow drop",function(e){window.requestAnimationFrame?window.requestAnimationFrame(function(){u(e)}):u(e)}),i.on("keydown keyup",function(e){w&&"TABLE"==w.nodeName&&u(e)}),i.on("hide",c)}),i.on("remove",g),{isResizable:o,showResizeRect:l,hideResizeRect:c,updateResizeRect:u,controlSelect:y,destroy:b}}}),r(L,[u,f],function(e,t){function n(n){var r=n.dom;this.getBookmark=function(e,i){function o(e,n){var i=0;return t.each(r.select(e),function(e,t){e==n&&(i=t)}),i}function a(e){function t(t){var n,r,i,o=t?"start":"end";n=e[o+"Container"],r=e[o+"Offset"],1==n.nodeType&&"TR"==n.nodeName&&(i=n.childNodes,n=i[Math.min(t?r:r-1,i.length-1)],n&&(r=t?0:n.childNodes.length,e["set"+(t?"Start":"End")](n,r)))}return t(!0),t(),e}function s(){function e(e,t){var n=e[t?"startContainer":"endContainer"],a=e[t?"startOffset":"endOffset"],s=[],l,c,u=0;if(3==n.nodeType){if(i)for(l=n.previousSibling;l&&3==l.nodeType;l=l.previousSibling)a+=l.nodeValue.length;s.push(a)}else c=n.childNodes,a>=c.length&&c.length&&(u=1,a=Math.max(0,c.length-1)),s.push(r.nodeIndex(c[a],i)+u);for(;n&&n!=o;n=n.parentNode)s.push(r.nodeIndex(n,i));return s}var t=n.getRng(!0),o=r.getRoot(),a={};return a.start=e(t,!0),n.isCollapsed()||(a.end=e(t)),a}var l,c,u,d,f,h,p="",m;if(2==e)return h=n.getNode(),f=h?h.nodeName:null,"IMG"==f?{name:f,index:o(f,h)}:n.tridentSel?n.tridentSel.getBookmark(e):s();if(e)return{rng:n.getRng()};if(l=n.getRng(),u=r.uniqueId(),d=n.isCollapsed(),m="overflow:hidden;line-height:0px",l.duplicate||l.item){if(l.item)return h=l.item(0),f=h.nodeName,{name:f,index:o(f,h)};c=l.duplicate();try{l.collapse(),l.pasteHTML(''+p+""),d||(c.collapse(!1),l.moveToElementText(c.parentElement()),0===l.compareEndPoints("StartToEnd",c)&&c.move("character",-1),c.pasteHTML(''+p+""))}catch(g){return null}}else{if(h=n.getNode(),f=h.nodeName,"IMG"==f)return{name:f,index:o(f,h)};c=a(l.cloneRange()),d||(c.collapse(!1),c.insertNode(r.create("span",{"data-mce-type":"bookmark",id:u+"_end",style:m},p))),l=a(l),l.collapse(!0),l.insertNode(r.create("span",{"data-mce-type":"bookmark",id:u+"_start",style:m},p))}return n.moveToBookmark({id:u,keep:1}),{id:u}},this.moveToBookmark=function(i){function o(e){var t=i[e?"start":"end"],n,r,o,a;if(t){for(o=t[0],r=c,n=t.length-1;n>=1;n--){if(a=r.childNodes,t[n]>a.length-1)return;r=a[t[n]]}3===r.nodeType&&(o=Math.min(t[0],r.nodeValue.length)),1===r.nodeType&&(o=Math.min(t[0],r.childNodes.length)),e?l.setStart(r,o):l.setEnd(r,o)}return!0}function a(n){var o=r.get(i.id+"_"+n),a,s,l,c,p=i.keep;if(o&&(a=o.parentNode,"start"==n?(p?(a=o.firstChild,s=1):s=r.nodeIndex(o),u=d=a,f=h=s):(p?(a=o.firstChild,s=1):s=r.nodeIndex(o),d=a,h=s),!p)){for(c=o.previousSibling,l=o.nextSibling,t.each(t.grep(o.childNodes),function(e){3==e.nodeType&&(e.nodeValue=e.nodeValue.replace(/\uFEFF/g,""))});o=r.get(i.id+"_"+n);)r.remove(o,1);c&&l&&c.nodeType==l.nodeType&&3==c.nodeType&&!e.opera&&(s=c.nodeValue.length,c.appendData(l.nodeValue),r.remove(l),"start"==n?(u=d=c,f=h=s):(d=c,h=s))}}function s(t){return!r.isBlock(t)||t.innerHTML||e.ie||(t.innerHTML='
                '),t}var l,c,u,d,f,h;if(i)if(i.start){if(l=r.createRng(),c=r.getRoot(),n.tridentSel)return n.tridentSel.moveToBookmark(i);o(!0)&&o()&&n.setRng(l)}else i.id?(a("start"),a("end"),u&&(l=r.createRng(),l.setStart(s(u),f),l.setEnd(s(d),h),n.setRng(l))):i.name?n.select(r.select(i.name)[i.index]):i.rng&&n.setRng(i.rng)}}return n.isBookmarkNode=function(e){return e&&"SPAN"===e.tagName&&"bookmark"===e.getAttribute("data-mce-type")},n}),r(H,[m,B,M,w,L,u,f],function(e,n,r,i,o,a,s){function l(e,t,i,a){var s=this;s.dom=e,s.win=t,s.serializer=i,s.editor=a,s.bookmarkManager=new o(s),s.controlSelection=new r(s,a),s.win.getSelection||(s.tridentSel=new n(s))}var c=s.each,u=s.trim,d=a.ie;return l.prototype={setCursorLocation:function(e,t){var n=this,r=n.dom.createRng();e?(r.setStart(e,t),r.setEnd(e,t),n.setRng(r),n.collapse(!1)):(n._moveEndPoint(r,n.editor.getBody(),!0),n.setRng(r))},getContent:function(e){var n=this,r=n.getRng(),i=n.dom.create("body"),o=n.getSel(),a,s,l;return e=e||{},a=s="",e.get=!0,e.format=e.format||"html",e.selection=!0,n.editor.fire("BeforeGetContent",e),"text"==e.format?n.isCollapsed()?"":r.text||(o.toString?o.toString():""):(r.cloneContents?(l=r.cloneContents(),l&&i.appendChild(l)):r.item!==t||r.htmlText!==t?(i.innerHTML="
                "+(r.item?r.item(0).outerHTML:r.htmlText),i.removeChild(i.firstChild)):i.innerHTML=r.toString(),/^\s/.test(i.innerHTML)&&(a=" "),/\s+$/.test(i.innerHTML)&&(s=" "),e.getInner=!0,e.content=n.isCollapsed()?"":a+n.serializer.serialize(i,e)+s,n.editor.fire("GetContent",e),e.content)},setContent:function(e,t){var n=this,r=n.getRng(),i,o=n.win.document,a,s;if(t=t||{format:"html"},t.set=!0,t.selection=!0,e=t.content=e,t.no_events||n.editor.fire("BeforeSetContent",t),e=t.content,r.insertNode){e+='_',r.startContainer==o&&r.endContainer==o?o.body.innerHTML=e:(r.deleteContents(),0===o.body.childNodes.length?o.body.innerHTML=e:r.createContextualFragment?r.insertNode(r.createContextualFragment(e)):(a=o.createDocumentFragment(),s=o.createElement("div"),a.appendChild(s),s.outerHTML=e,r.insertNode(a))),i=n.dom.get("__caret"),r=o.createRange(),r.setStartBefore(i),r.setEndBefore(i),n.setRng(r),n.dom.remove("__caret");try{n.setRng(r)}catch(l){}}else r.item&&(o.execCommand("Delete",!1,null),r=n.getRng()),/^\s+/.test(e)?(r.pasteHTML('_'+e),n.dom.remove("__mce_tmp")):r.pasteHTML(e);t.no_events||n.editor.fire("SetContent",t)},getStart:function(e){var t=this,n=t.getRng(),r,i,o,a;if(n.duplicate||n.item){if(n.item)return n.item(0);for(o=n.duplicate(),o.collapse(1),r=o.parentElement(),r.ownerDocument!==t.dom.doc&&(r=t.dom.getRoot()),i=a=n.parentElement();a=a.parentNode;)if(a==r){r=i;break}return r}return r=n.startContainer,1==r.nodeType&&r.hasChildNodes()&&(e&&n.collapsed||(r=r.childNodes[Math.min(r.childNodes.length-1,n.startOffset)])),r&&3==r.nodeType?r.parentNode:r},getEnd:function(e){var t=this,n=t.getRng(),r,i;return n.duplicate||n.item?n.item?n.item(0):(n=n.duplicate(),n.collapse(0),r=n.parentElement(),r.ownerDocument!==t.dom.doc&&(r=t.dom.getRoot()),r&&"BODY"==r.nodeName?r.lastChild||r:r):(r=n.endContainer,i=n.endOffset,1==r.nodeType&&r.hasChildNodes()&&(e&&n.collapsed||(r=r.childNodes[i>0?i-1:i])),r&&3==r.nodeType?r.parentNode:r)},getBookmark:function(e,t){return this.bookmarkManager.getBookmark(e,t)},moveToBookmark:function(e){return this.bookmarkManager.moveToBookmark(e)},select:function(e,t){var n=this,r=n.dom,i=r.createRng(),o;if(n.lastFocusBookmark=null,e){if(!t&&n.controlSelection.controlSelect(e))return;o=r.nodeIndex(e),i.setStart(e.parentNode,o),i.setEnd(e.parentNode,o+1),t&&(n._moveEndPoint(i,e,!0),n._moveEndPoint(i,e)),n.setRng(i)}return e},isCollapsed:function(){var e=this,t=e.getRng(),n=e.getSel();return!t||t.item?!1:t.compareEndPoints?0===t.compareEndPoints("StartToEnd",t):!n||t.collapsed},collapse:function(e){var t=this,n=t.getRng(),r;n.item&&(r=n.item(0),n=t.win.document.body.createTextRange(),n.moveToElementText(r)),n.collapse(!!e),t.setRng(n)},getSel:function(){var e=this.win;return e.getSelection?e.getSelection():e.document.selection},getRng:function(e){function t(e,t,n){try{return t.compareBoundaryPoints(e,n)}catch(r){return-1}}var n=this,r,i,o,a=n.win.document,s;if(!e&&n.lastFocusBookmark){var l=n.lastFocusBookmark;return l.startContainer?(i=a.createRange(),i.setStart(l.startContainer,l.startOffset),i.setEnd(l.endContainer,l.endOffset)):i=l,i}if(e&&n.tridentSel)return n.tridentSel.getRangeAt(0);try{(r=n.getSel())&&(i=r.rangeCount>0?r.getRangeAt(0):r.createRange?r.createRange():a.createRange())}catch(c){}if(d&&i&&i.setStart&&a.selection){try{s=a.selection.createRange()}catch(c){}s&&s.item&&(o=s.item(0),i=a.createRange(),i.setStartBefore(o),i.setEndAfter(o))}return i||(i=a.createRange?a.createRange():a.body.createTextRange()),i.setStart&&9===i.startContainer.nodeType&&i.collapsed&&(o=n.dom.getRoot(),i.setStart(o,0),i.setEnd(o,0)),n.selectedRange&&n.explicitRange&&(0===t(i.START_TO_START,i,n.selectedRange)&&0===t(i.END_TO_END,i,n.selectedRange)?i=n.explicitRange:(n.selectedRange=null,n.explicitRange=null)),i},setRng:function(e,t){var n=this,r,i;if(e)if(e.select)try{e.select()}catch(o){}else if(n.tridentSel){if(e.cloneRange)try{return void n.tridentSel.addRange(e)}catch(o){}}else{if(r=n.getSel()){n.explicitRange=e;try{r.removeAllRanges(),r.addRange(e)}catch(o){}t===!1&&r.extend&&(r.collapse(e.endContainer,e.endOffset),r.extend(e.startContainer,e.startOffset)),n.selectedRange=r.rangeCount>0?r.getRangeAt(0):null}e.collapsed||e.startContainer!=e.endContainer||!r.setBaseAndExtent||a.ie||e.endOffset-e.startOffset<2&&e.startContainer.hasChildNodes()&&(i=e.startContainer.childNodes[e.startOffset],i&&"IMG"==i.tagName&&n.getSel().setBaseAndExtent(i,0,i,1))}},setNode:function(e){var t=this;return t.setContent(t.dom.getOuterHTML(e)),e},getNode:function(){function e(e,t){for(var n=e;e&&3===e.nodeType&&0===e.length;)e=t?e.nextSibling:e.previousSibling;return e||n}var t=this,n=t.getRng(),r,i=n.startContainer,o=n.endContainer,a=n.startOffset,s=n.endOffset,l=t.dom.getRoot();return n?n.setStart?(r=n.commonAncestorContainer,!n.collapsed&&(i==o&&2>s-a&&i.hasChildNodes()&&(r=i.childNodes[a]),3===i.nodeType&&3===o.nodeType&&(i=i.length===a?e(i.nextSibling,!0):i.parentNode,o=0===s?e(o.previousSibling,!1):o.parentNode,i&&i===o))?i:r&&3==r.nodeType?r.parentNode:r):(r=n.item?n.item(0):n.parentElement(),r.ownerDocument!==t.win.document&&(r=l),r):l},getSelectedBlocks:function(t,n){var r=this,i=r.dom,o,a,s=[];if(a=i.getRoot(),t=i.getParent(t||r.getStart(),i.isBlock),n=i.getParent(n||r.getEnd(),i.isBlock),t&&t!=a&&s.push(t),t&&n&&t!=n){o=t;for(var l=new e(t,a);(o=l.next())&&o!=n;)i.isBlock(o)&&s.push(o)}return n&&t!=n&&n!=a&&s.push(n),s},isForward:function(){var e=this.dom,t=this.getSel(),n,r;return t&&t.anchorNode&&t.focusNode?(n=e.createRng(),n.setStart(t.anchorNode,t.anchorOffset),n.collapse(!0),r=e.createRng(),r.setStart(t.focusNode,t.focusOffset),r.collapse(!0),n.compareBoundaryPoints(n.START_TO_START,r)<=0):!0},normalize:function(){var e=this,t=e.getRng();return a.range&&new i(e.dom).normalize(t)&&e.setRng(t,e.isForward()),t},selectorChanged:function(e,t){var n=this,r;return n.selectorChangedData||(n.selectorChangedData={},r={},n.editor.on("NodeChange",function(e){var t=e.element,i=n.dom,o=i.getParents(t,null,i.getRoot()),a={};c(n.selectorChangedData,function(e,t){c(o,function(n){return i.is(n,t)?(r[t]||(c(e,function(e){e(!0,{node:n,selector:t,parents:o})}),r[t]=e),a[t]=e,!1):void 0})}),c(r,function(e,n){a[n]||(delete r[n],c(e,function(e){e(!1,{node:t,selector:n,parents:o})}))})})),n.selectorChangedData[e]||(n.selectorChangedData[e]=[]),n.selectorChangedData[e].push(t),n},getScrollContainer:function(){for(var e,t=this.dom.getRoot();t&&"BODY"!=t.nodeName;){if(t.scrollHeight>t.clientHeight){e=t;break}t=t.parentNode}return e},scrollIntoView:function(e){function t(e){for(var t=0,n=0,r=e;r&&r.nodeType;)t+=r.offsetLeft||0,n+=r.offsetTop||0,r=r.offsetParent;return{x:t,y:n}}var n,r,i=this,o=i.dom,a=o.getRoot(),s,l;if("BODY"!=a.nodeName){var c=i.getScrollContainer();if(c)return n=t(e).y-t(c).y,l=c.clientHeight,s=c.scrollTop,void((s>n||n+25>s+l)&&(c.scrollTop=s>n?n:n-l+25))}r=o.getViewPort(i.editor.getWin()),n=o.getPos(e).y,s=r.y,l=r.h,(ns+l)&&i.editor.getWin().scrollTo(0,s>n?n:n-l+25)},placeCaretAt:function(e,t){var n=this.editor.getDoc(),r,i;if(n.caretPositionFromPoint)i=n.caretPositionFromPoint(e,t),r=n.createRange(),r.setStart(i.offsetNode,i.offset),r.collapse(!0);else if(n.caretRangeFromPoint)r=n.caretRangeFromPoint(e,t);else if(n.body.createTextRange){r=n.body.createTextRange();try{r.moveToPoint(e,t),r.collapse(!0)}catch(o){r.collapse(t=e;e++)a.addShortcut("access+"+e,"",["FormatBlock",!1,"h"+e]);a.addShortcut("access+7","",["FormatBlock",!1,"p"]),a.addShortcut("access+8","",["FormatBlock",!1,"div"]),a.addShortcut("access+9","",["FormatBlock",!1,"address"])}function p(e){return e?$[e]:$}function m(e,t){e&&("string"!=typeof e?le(e,function(e,t){m(t,e)}):(t=t.length?t:[t],le(t,function(e){e.deep===re&&(e.deep=!e.selector),e.split===re&&(e.split=!e.selector||e.inline),e.remove===re&&e.selector&&!e.inline&&(e.remove="none"),e.selector&&e.inline&&(e.mixed=!0,e.block_expand=!0),"string"==typeof e.classes&&(e.classes=e.classes.split(/\s+/))}),$[e]=t))}function g(e){return e&&$[e]&&delete $[e],$}function v(e){var t;return a.dom.getParent(e,function(e){return t=a.dom.getStyle(e,"text-decoration"),t&&"none"!==t}),t}function y(e){var t;1===e.nodeType&&e.parentNode&&1===e.parentNode.nodeType&&(t=v(e.parentNode),a.dom.getStyle(e,"color")&&t?a.dom.setStyle(e,"text-decoration",t):a.dom.getStyle(e,"text-decoration")===t&&a.dom.setStyle(e,"text-decoration",null))}function b(t,n,r){function i(e,t){if(t=t||u,e){if(t.onformat&&t.onformat(e,t,n,r),le(t.styles,function(t,r){q.setStyle(e,r,D(t,n))}),t.styles){var i=q.getAttrib(e,"style");i&&e.setAttribute("data-mce-style",i)}le(t.attributes,function(t,r){q.setAttrib(e,r,D(t,n))}),le(t.classes,function(t){t=D(t,n),q.hasClass(e,t)||q.addClass(e,t)})}}function o(){function t(t,n){var i=new e(n);for(r=i.current();r;r=i.prev())if(r.childNodes.length>1||r==t||"BR"==r.tagName)return r}var n=a.selection.getRng(),i=n.startContainer,o=n.endContainer;if(i!=o&&0===n.endOffset){var s=t(i,o),l=3==s.nodeType?s.length:s.childNodes.length;n.setEnd(s,l)}return n}function l(e,r,o){var a=[],l,f,h=!0;l=u.inline||u.block,f=q.create(l),i(f),K.walk(e,function(e){function r(e){var g,v,y,b,x;return x=h,g=e.nodeName.toLowerCase(),v=e.parentNode.nodeName.toLowerCase(),1===e.nodeType&&ie(e)&&(x=h,h="true"===ie(e),b=!0),R(g,"br")?(p=0,void(u.block&&q.remove(e))):u.wrapper&&w(e,t,n)?void(p=0):h&&!b&&u.block&&!u.wrapper&&s(g)&&Y(v,l)?(e=q.rename(e,l),i(e),a.push(e),void(p=0)):u.selector&&(le(c,function(t){"collapsed"in t&&t.collapsed!==m||q.is(e,t.selector)&&!d(e)&&(i(e,t),y=!0)}),!u.inline||y)?void(p=0):void(!h||b||!Y(l,g)||!Y(v,l)||!o&&3===e.nodeType&&1===e.nodeValue.length&&65279===e.nodeValue.charCodeAt(0)||d(e)||u.inline&&G(e)?(p=0,le(ce(e.childNodes),r),b&&(h=x),p=0):(p||(p=q.clone(f,ee),e.parentNode.insertBefore(p,e),a.push(p)),p.appendChild(e)))}var p;le(e,r)}),u.links===!0&&le(a,function(e){function t(e){"A"===e.nodeName&&i(e,u),le(ce(e.childNodes),t)}t(e)}),le(a,function(e){function r(e){var t=0;return le(e.childNodes,function(e){M(e)||se(e)||t++}),t}function o(e){var t,n;return le(e.childNodes,function(e){return 1!=e.nodeType||se(e)||d(e)?void 0:(t=e,ee)}),t&&!se(t)&&T(t,u)&&(n=q.clone(t,ee),i(n),q.replace(n,e,te),q.remove(t,1)),n||e}var s;if(s=r(e),(a.length>1||!G(e))&&0===s)return void q.remove(e,1);if(u.inline||u.wrapper){if(u.exact||1!==s||(e=o(e)),le(c,function(t){le(q.select(t.inline,e),function(e){se(e)||O(t,n,e,t.exact?e:null)})}),w(e.parentNode,t,n))return q.remove(e,1),e=0,te;u.merge_with_parents&&q.getParent(e.parentNode,function(r){return w(r,t,n)?(q.remove(e,1),e=0,te):void 0}),e&&u.merge_siblings!==!1&&(e=z(F(e),e),e=z(e,F(e,te)))}})}var c=p(t),u=c[0],f,h,m=!r&&j.isCollapsed();if(u)if(r)r.nodeType?(h=q.createRng(),h.setStartBefore(r),h.setEndAfter(r),l(H(h,c),null,!0)):l(r,null,!0);else if(m&&u.inline&&!q.select("td.mce-item-selected,th.mce-item-selected").length)V("apply",t,n);else{var g=a.selection.getNode();X||!c[0].defaultBlock||q.getParent(g,q.isBlock)||b(c[0].defaultBlock),a.selection.setRng(o()),f=j.getBookmark(),l(H(j.getRng(te),c),f),u.styles&&(u.styles.color||u.styles.textDecoration)&&(ue(g,y,"childNodes"),y(g)),j.moveToBookmark(f),U(j.getRng(te)),a.nodeChanged()}}function x(e,t,n,r){function i(e){var n,r,o,a,s;if(1===e.nodeType&&ie(e)&&(a=b,b="true"===ie(e),s=!0),n=ce(e.childNodes),b&&!s)for(r=0,o=h.length;o>r&&!O(h[r],t,e,e);r++);if(m.deep&&n.length){for(r=0,o=n.length;o>r;r++)i(n[r]);s&&(b=a)}}function o(n){var i;return le(u(n.parentNode).reverse(),function(n){var o;i||"_start"==n.id||"_end"==n.id||(o=w(n,e,t,r),o&&o.split!==!1&&(i=n))}),i}function s(e,n,r,i){var o,a,s,l,c,u;if(e){for(u=e.parentNode,o=n.parentNode;o&&o!=u;o=o.parentNode){for(a=q.clone(o,ee),c=0;c=0;o--){if(a=t[o].selector,!a||t[o].defaultBlock)return te;for(i=r.length-1;i>=0;i--)if(q.is(r[i],a))return te}return ee}function S(e,t,n){var r;return ne||(ne={},r={},a.on("NodeChange",function(e){var t=u(e.element),n={};t=i.grep(t,function(e){return 1==e.nodeType&&!e.getAttribute("data-mce-bogus")}),le(ne,function(e,i){le(t,function(o){return w(o,i,{},e.similar)?(r[i]||(le(e,function(e){e(!0,{node:o,format:i,parents:t})}),r[i]=e),n[i]=e,!1):void 0})}),le(r,function(i,o){n[o]||(delete r[o],le(i,function(n){n(!1,{node:e.element,format:o,parents:t})}))})})),le(e.split(","),function(e){ne[e]||(ne[e]=[],ne[e].similar=n),ne[e].push(t)}),this}function k(e){return o.getCssText(a,e)}function T(e,t){return R(e,t.inline)?te:R(e,t.block)?te:t.selector?1==e.nodeType&&q.is(e,t.selector):void 0}function R(e,t){return e=e||"",t=t||"",e=""+(e.nodeName||e),t=""+(t.nodeName||t),e.toLowerCase()==t.toLowerCase()}function A(e,t){return B(q.getStyle(e,t),t)}function B(e,t){return("color"==t||"backgroundColor"==t)&&(e=q.toHex(e)),"fontWeight"==t&&700==e&&(e="bold"),"fontFamily"==t&&(e=e.replace(/[\'\"]/g,"").replace(/,\s+/g,",")),""+e}function D(e,t){return"string"!=typeof e?e=e(t):t&&(e=e.replace(/%(\w+)/g,function(e,n){return t[n]||e})),e}function M(e){return e&&3===e.nodeType&&/^([\t \r\n]+|)$/.test(e.nodeValue)}function L(e,t,n){var r=q.create(t,n);return e.parentNode.insertBefore(r,e),r.appendChild(e),r}function H(t,n,r){function i(e){function t(e){return"BR"==e.nodeName&&e.getAttribute("data-mce-bogus")&&!e.nextSibling}var r,i,o,a,s;if(r=i=e?g:y,a=e?"previousSibling":"nextSibling",s=q.getRoot(),3==r.nodeType&&!M(r)&&(e?v>0:bo?n:o,-1===n||r||n++):(n=a.indexOf(" ",t),o=a.indexOf("\xa0",t),n=-1!==n&&(-1===o||o>n)?n:o),n}var s,l,c,u;if(3===t.nodeType){if(c=o(t,n),-1!==c)return{container:t,offset:c};u=t}for(s=new e(t,q.getParent(t,G)||a.getBody());l=s[i?"prev":"next"]();)if(3===l.nodeType){if(u=l,c=o(l),-1!==c)return{container:l,offset:c}}else if(G(l))break;return u?(n=i?0:u.length,{container:u,offset:n}):void 0}function d(e,r){var i,o,a,s;for(3==e.nodeType&&0===e.nodeValue.length&&e[r]&&(e=e[r]),i=u(e),o=0;oh?h:v],3==g.nodeType&&(v=0)),1==y.nodeType&&y.hasChildNodes()&&(h=y.childNodes.length-1,y=y.childNodes[b>h?h:b-1],3==y.nodeType&&(b=y.nodeValue.length)),g=l(g),y=l(y),(se(g.parentNode)||se(g))&&(g=se(g)?g:g.parentNode,g=g.nextSibling||g,3==g.nodeType&&(v=0)),(se(y.parentNode)||se(y))&&(y=se(y)?y:y.parentNode,y=y.previousSibling||y,3==y.nodeType&&(b=y.length)),n[0].inline&&(t.collapsed&&(m=c(g,v,!0),m&&(g=m.container,v=m.offset),m=c(y,b),m&&(y=m.container,b=m.offset)),p=o(y,b),p.node)){for(;p.node&&0===p.offset&&p.node.previousSibling;)p=o(p.node.previousSibling);p.node&&p.offset>0&&3===p.node.nodeType&&" "===p.node.nodeValue.charAt(p.offset-1)&&p.offset>1&&(y=p.node,y.splitText(p.offset-1))}return(n[0].inline||n[0].block_expand)&&(n[0].inline&&3==g.nodeType&&0!==v||(g=i(!0)),n[0].inline&&3==y.nodeType&&b!==y.nodeValue.length||(y=i())),n[0].selector&&n[0].expand!==ee&&!n[0].inline&&(g=d(g,"previousSibling"),y=d(y,"nextSibling")),(n[0].block||n[0].selector)&&(g=f(g,"previousSibling"),y=f(y,"nextSibling"),n[0].block&&(G(g)||(g=i(!0)),G(y)||(y=i()))),1==g.nodeType&&(v=J(g),g=g.parentNode),1==y.nodeType&&(b=J(y)+1,y=y.parentNode),{startContainer:g,startOffset:v,endContainer:y,endOffset:b}}function P(e,t){return t.links&&"A"==e.tagName}function O(e,t,n,r){var i,o,a;if(!T(n,e)&&!P(n,e))return ee;if("all"!=e.remove)for(le(e.styles,function(i,o){i=B(D(i,t),o),"number"==typeof o&&(o=i,r=0),(e.remove_similar||!r||R(A(r,o),i))&&q.setStyle(n,o,""),a=1}),a&&""===q.getAttrib(n,"style")&&(n.removeAttribute("style"),n.removeAttribute("data-mce-style")),le(e.attributes,function(e,i){var o;if(e=D(e,t),"number"==typeof i&&(i=e,r=0),!r||R(q.getAttrib(r,i),e)){if("class"==i&&(e=q.getAttrib(n,i),e&&(o="",le(e.split(/\s+/),function(e){/mce\-\w+/.test(e)&&(o+=(o?" ":"")+e)}),o)))return void q.setAttrib(n,i,o);"class"==i&&n.removeAttribute("className"),Z.test(i)&&n.removeAttribute("data-mce-"+i),n.removeAttribute(i)}}),le(e.classes,function(e){e=D(e,t),(!r||q.hasClass(r,e))&&q.removeClass(n,e)}),o=q.getAttribs(n),i=0;io?o:i]),3===r.nodeType&&n&&i>=r.nodeValue.length&&(r=new e(r,a.getBody()).next()||r),3!==r.nodeType||n||0!==i||(r=new e(r,a.getBody()).prev()||r),r}function V(t,n,r,i){function o(e){var t=q.create("span",{id:g,"data-mce-bogus":!0,style:v?"color:red":""});return e&&t.appendChild(a.getDoc().createTextNode(Q)),t}function l(e,t){for(;e;){if(3===e.nodeType&&e.nodeValue!==Q||e.childNodes.length>1)return!1;t&&1===e.nodeType&&t.push(e),e=e.firstChild}return!0}function c(e){for(;e;){if(e.id===g)return e;e=e.parentNode}}function u(t){var n;if(t)for(n=new e(t,t),t=n.current();t;t=n.next())if(3===t.nodeType)return t}function d(e,t){var n,r;if(e)r=j.getRng(!0),l(e)?(t!==!1&&(r.setStartBefore(e),r.setEndBefore(e)),q.remove(e)):(n=u(e),n.nodeValue.charAt(0)===Q&&(n.deleteData(0,1),r.startContainer==n&&r.startOffset>0&&r.setStart(n,r.startOffset-1),r.endContainer==n&&r.endOffset>0&&r.setEnd(n,r.endOffset-1)),q.remove(e,1)),j.setRng(r);else if(e=c(j.getStart()),!e)for(;e=q.get(g);)d(e,!1)}function f(){var e,t,i,a,s,l,d;e=j.getRng(!0),a=e.startOffset,l=e.startContainer,d=l.nodeValue,t=c(j.getStart()),t&&(i=u(t)),d&&a>0&&a=0;h--)u.appendChild(q.clone(f[h],!1)),u=u.firstChild;u.appendChild(q.doc.createTextNode(Q)),u=u.firstChild;var g=q.getParent(d,s);g&&q.isEmpty(g)?d.parentNode.replaceChild(m,d):q.insertAfter(m,d),j.setCursorLocation(u,1),q.isEmpty(d)&&q.remove(d)}}function m(){var e;e=c(j.getStart()),e&&!q.isEmpty(e)&&ue(e,function(e){1!=e.nodeType||e.id===g||q.isEmpty(e)||q.setAttrib(e,"data-mce-bogus",null)},"childNodes")}var g="_mce_caret",v=a.settings.caret_debug;a._hasCaretEvents||(ae=function(){var e=[],t;if(l(c(j.getStart()),e))for(t=e.length;t--;)q.setAttrib(e[t],"data-mce-bogus","1")},oe=function(e){var t=e.keyCode;d(),(8==t&&j.isCollapsed()||37==t||39==t)&&d(c(j.getStart())),m()},a.on("SetContent",function(e){e.selection&&m()}),a._hasCaretEvents=!0),"apply"==t?f():h()}function U(t){var n=t.startContainer,r=t.startOffset,i,o,a,s,l;if((t.startContainer!=t.endContainer||!c(t.startContainer.childNodes[t.startOffset]))&&(3==n.nodeType&&r>=n.nodeValue.length&&(r=J(n),n=n.parentNode,i=!0),1==n.nodeType))for(s=n.childNodes,n=s[Math.min(r,s.length-1)],o=new e(n,q.getParent(n,q.isBlock)),(r>s.length-1||i)&&o.next(),a=o.current();a;a=o.next())if(3==a.nodeType&&!M(a))return l=q.create("a",{"data-mce-bogus":"all"},Q),a.parentNode.insertBefore(l,a),t.setStart(a,0),j.setRng(t),void q.remove(l)}var $={},q=a.dom,j=a.selection,K=new t(q),Y=a.schema.isValidChild,G=q.isBlock,X=a.settings.forced_root_block,J=q.nodeIndex,Q="\ufeff",Z=/^(src|href|style)$/,ee=!1,te=!0,ne,re,ie=q.getContentEditable,oe,ae,se=n.isBookmarkNode,le=i.each,ce=i.grep,ue=i.walk,de=i.extend;de(this,{get:p,register:m,unregister:g,apply:b,remove:x,toggle:C,match:_,matchAll:E,matchNode:w,canApply:N,formatChanged:S,getCssText:k}),f(),h(),a.on("BeforeGetContent",function(e){ae&&"raw"!=e.format&&ae()}),a.on("mouseup keydown",function(e){oe&&oe(e)})}}),r(F,[D,u,f,S],function(e,t,n,r){var i=n.trim,o;return o=new RegExp(["]+data-mce-bogus[^>]+>[\u200b\ufeff]+<\\/span>",'\\s?data-mce-selected="[^"]+"'].join("|"),"gi"),function(e){function n(){var t=e.getContent({format:"raw",no_events:1}),n=/<(\w+) [^>]*data-mce-bogus="all"[^>]*>/g,a,s,l,c,u,d=e.schema;for(t=t.replace(o,""),u=d.getShortEndedElements();c=n.exec(t);)s=n.lastIndex,l=c[0].length,a=u[c[1]]?s:r.findEndTag(d,t,s),t=t.substring(0,s-l)+t.substring(a),n.lastIndex=s-l;return i(t)}function a(t){e.isNotDirty=!t}function s(e){l.typing=!1,l.add({},e)}var l=this,c=0,u=[],d,f,h=0;return e.on("init",function(){l.add()}),e.on("BeforeExecCommand",function(e){var t=e.command;"Undo"!=t&&"Redo"!=t&&"mceRepaint"!=t&&l.beforeChange()}),e.on("ExecCommand",function(e){var t=e.command;"Undo"!=t&&"Redo"!=t&&"mceRepaint"!=t&&s(e)}),e.on("ObjectResizeStart",function(){l.beforeChange()}),e.on("SaveContent ObjectResized blur",s),e.on("DragEnd",s),e.on("KeyUp",function(r){var i=r.keyCode;(i>=33&&36>=i||i>=37&&40>=i||45==i||13==i||r.ctrlKey)&&(s(),e.nodeChanged()),(46==i||8==i||t.mac&&(91==i||93==i))&&e.nodeChanged(),f&&l.typing&&(e.isDirty()||(a(u[0]&&n()!=u[0].content),e.isNotDirty||e.fire("change",{level:u[0],lastLevel:null})),e.fire("TypingUndo"),f=!1,e.nodeChanged())}),e.on("KeyDown",function(e){var t=e.keyCode;if(t>=33&&36>=t||t>=37&&40>=t||45==t)return void(l.typing&&s(e));var n=e.ctrlKey&&!e.altKey||e.metaKey;!(16>t||t>20)||224==t||91==t||l.typing||n||(l.beforeChange(),l.typing=!0,l.add({},e),f=!0)}),e.on("MouseDown",function(e){l.typing&&s(e)}),e.addShortcut("meta+z","","Undo"),e.addShortcut("meta+y,meta+shift+z","","Redo"),e.on("AddUndo Undo Redo ClearUndos",function(t){t.isDefaultPrevented()||e.nodeChanged()}),l={data:u,typing:!1,beforeChange:function(){h||(d=e.selection.getBookmark(2,!0))},add:function(t,r){var i,o=e.settings,s;if(t=t||{},t.content=n(),h||e.removed)return null;if(s=u[c],e.fire("BeforeAddUndo",{level:t,lastLevel:s,originalEvent:r}).isDefaultPrevented())return null;if(s&&s.content==t.content)return null;if(u[c]&&(u[c].beforeBookmark=d),o.custom_undo_redo_levels&&u.length>o.custom_undo_redo_levels){for(i=0;i0&&(a(!0),e.fire("change",l)),t},undo:function(){var t;return l.typing&&(l.add(),l.typing=!1),c>0&&(t=u[--c],0===c&&a(!1),e.setContent(t.content,{format:"raw"}),e.selection.moveToBookmark(t.beforeBookmark),e.fire("undo",{level:t})),t},redo:function(){var t;return c0||l.typing&&u[0]&&n()!=u[0].content},hasRedo:function(){return cM)&&(u=a.create("br"),t.parentNode.insertBefore(u,t)),l.setStartBefore(t),l.setEndBefore(t)):(l.setStartAfter(t),l.setEndAfter(t)):(l.setStart(t,0),l.setEnd(t,0));s.setRng(l),a.remove(u),s.scrollIntoView(t)}}function v(e){var t=l.forced_root_block;t&&t.toLowerCase()===e.tagName.toLowerCase()&&a.setAttribs(e,l.forced_root_block_attrs)}function y(e){var t=A,n,i,o,s=u.getTextInlineElements();if(e||"TABLE"==I?(n=a.create(e||z),v(n)):n=D.cloneNode(!1),o=n,l.keep_styles!==!1)do if(s[t.nodeName]){if("_mce_caret"==t.id)continue;i=t.cloneNode(!1),a.setAttrib(i,"id",""),n.hasChildNodes()?(i.appendChild(n.firstChild),n.appendChild(i)):(o=i,n.appendChild(i))}while(t=t.parentNode);return r||(o.innerHTML='
                '),n}function b(t){var n,r,i;if(3==A.nodeType&&(t?B>0:BA.childNodes.length-1,A=A.childNodes[Math.min(B,A.childNodes.length-1)]||A,B=W&&3==A.nodeType?A.nodeValue.length:0),R=E(A)){if(c.beforeChange(),!a.isBlock(R)&&R!=a.getRoot())return void((!z||L)&&w());if((z&&!L||!z&&L)&&(A=x(A,B)),D=a.getParent(A,a.isBlock),O=D?a.getParent(D.parentNode,a.isBlock):null,I=D?D.nodeName.toUpperCase():"",F=O?O.nodeName.toUpperCase():"","LI"!=F||o.ctrlKey||(D=O,I=F),/^(LI|DT|DD)$/.test(I)){if(!z&&L)return void w();if(a.isEmpty(D))return void C()}if("PRE"==I&&l.br_in_pre!==!1){if(!L)return void w()}else if(!z&&!L&&"LI"!=I||z&&L)return void w();z&&D===i.getBody()||(z=z||"P",b()?S():b(!0)?(H=D.parentNode.insertBefore(y(),D),p(H),g(D)):(T=k.cloneRange(),T.setEndAfter(D),P=T.extractContents(),_(P),H=P.firstChild,a.insertAfter(P,D),m(H),N(D),a.isEmpty(H)?(a.remove(H),S()):g(H)),a.setAttrib(H,"id",""),i.fire("NewBlock",{newBlock:H}),c.add())}}}var a=i.dom,s=i.selection,l=i.settings,c=i.undoManager,u=i.schema,d=u.getNonEmptyElements(),f=u.getMoveCaretBeforeOnEnterElements();i.on("keydown",function(e){13==e.keyCode&&o(e)!==!1&&e.preventDefault()})}}),r(W,[],function(){return function(e){function t(){var t=i.getStart(),s=e.getBody(),l,c,u,d,f,h,p,m=-16777215,g,v,y,b,x;if(x=n.forced_root_block,t&&1===t.nodeType&&x){ -for(;t&&t!=s;){if(a[t.nodeName])return;t=t.parentNode}if(l=i.getRng(),l.setStart){c=l.startContainer,u=l.startOffset,d=l.endContainer,f=l.endOffset;try{v=e.getDoc().activeElement===s}catch(C){}}else l.item&&(t=l.item(0),l=e.getDoc().body.createTextRange(),l.moveToElementText(t)),v=l.parentElement().ownerDocument===e.getDoc(),y=l.duplicate(),y.collapse(!0),u=-1*y.move("character",m),y.collapsed||(y=l.duplicate(),y.collapse(!1),f=-1*y.move("character",m)-u);for(t=s.firstChild,b=s.nodeName.toLowerCase();t;)if((3===t.nodeType||1==t.nodeType&&!a[t.nodeName])&&o.isValidChild(b,x.toLowerCase())){if(3===t.nodeType&&0===t.nodeValue.length){p=t,t=t.nextSibling,r.remove(p);continue}h||(h=r.create(x,e.settings.forced_root_block_attrs),t.parentNode.insertBefore(h,t),g=!0),p=t,t=t.nextSibling,h.appendChild(p)}else h=null,t=t.nextSibling;if(g&&v){if(l.setStart)l.setStart(c,u),l.setEnd(d,f),i.setRng(l);else try{l=e.getDoc().body.createTextRange(),l.moveToElementText(s),l.collapse(!0),l.moveStart("character",u),f>0&&l.moveEnd("character",f),l.select()}catch(C){}e.nodeChanged()}}}var n=e.settings,r=e.dom,i=e.selection,o=e.schema,a=o.getBlockElements();n.forced_root_block&&e.on("NodeChange",t)}}),r(V,[R,u,f,P,w,m],function(e,n,r,i,o,a){var s=r.each,l=r.extend,c=r.map,u=r.inArray,d=r.explode,f=n.gecko,h=n.ie,p=n.ie&&n.ie<11,m=!0,g=!1;return function(r){function v(e,t,n,i){var o,a,c=0;if(/^(mceAddUndoLevel|mceEndUndoLevel|mceBeginUndoLevel|mceRepaint)$/.test(e)||i&&i.skip_focus||r.focus(),i=l({},i),i=r.fire("BeforeExecCommand",{command:e,ui:t,value:n}),i.isDefaultPrevented())return!1;if(a=e.toLowerCase(),o=L.exec[a])return o(a,t,n),r.fire("ExecCommand",{command:e,ui:t,value:n}),!0;if(s(r.plugins,function(i){return i.execCommand&&i.execCommand(e,t,n)?(r.fire("ExecCommand",{command:e,ui:t,value:n}),c=!0,!1):void 0}),c)return c;if(r.theme&&r.theme.execCommand&&r.theme.execCommand(e,t,n))return r.fire("ExecCommand",{command:e,ui:t,value:n}),!0;try{c=r.getDoc().execCommand(e,t,n)}catch(u){}return c?(r.fire("ExecCommand",{command:e,ui:t,value:n}),!0):!1}function y(e){var t;if(!r._isHidden()){if(e=e.toLowerCase(),t=L.state[e])return t(e);try{return r.getDoc().queryCommandState(e)}catch(n){}return!1}}function b(e){var t;if(!r._isHidden()){if(e=e.toLowerCase(),t=L.value[e])return t(e);try{return r.getDoc().queryCommandValue(e)}catch(n){}}}function x(e,t){t=t||"exec",s(e,function(e,n){s(n.toLowerCase().split(","),function(n){L[t][n]=e})})}function C(e,t,n){e=e.toLowerCase(),L.exec[e]=function(e,i,o,a){return t.call(n||r,i,o,a)}}function w(e){if(e=e.toLowerCase(),L.exec[e])return!0;try{return r.getDoc().queryCommandSupported(e)}catch(t){}return!1}function _(e,t,n){e=e.toLowerCase(),L.state[e]=function(){return t.call(n||r)}}function E(e,t,n){e=e.toLowerCase(),L.value[e]=function(){return t.call(n||r)}}function N(e){return e=e.toLowerCase(),!!L.exec[e]}function S(e,n,i){return n===t&&(n=g),i===t&&(i=null),r.getDoc().execCommand(e,n,i)}function k(e){return M.match(e)}function T(e,n){M.toggle(e,n?{value:n}:t),r.nodeChanged()}function R(e){P=D.getBookmark(e)}function A(){D.moveToBookmark(P)}var B,D,M,L={state:{},exec:{},value:{}},H=r.settings,P;r.on("PreInit",function(){B=r.dom,D=r.selection,H=r.settings,M=r.formatter}),l(this,{execCommand:v,queryCommandState:y,queryCommandValue:b,queryCommandSupported:w,addCommands:x,addCommand:C,addQueryStateHandler:_,addQueryValueHandler:E,hasCustomCommand:N}),x({"mceResetDesignMode,mceBeginUndoLevel":function(){},"mceEndUndoLevel,mceAddUndoLevel":function(){r.undoManager.add()},"Cut,Copy,Paste":function(e){var t=r.getDoc(),i;try{S(e)}catch(o){i=m}if(i||!t.queryCommandSupported(e)){var a=r.translate("Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X/C/V keyboard shortcuts instead.");n.mac&&(a=a.replace(/Ctrl\+/g,"\u2318+")),r.windowManager.alert(a)}},unlink:function(){if(D.isCollapsed()){var e=D.getNode();return void("A"==e.tagName&&r.dom.remove(e,!0))}M.remove("link")},"JustifyLeft,JustifyCenter,JustifyRight,JustifyFull,JustifyNone":function(e){var t=e.substring(7);"full"==t&&(t="justify"),s("left,center,right,justify".split(","),function(e){t!=e&&M.remove("align"+e)}),"none"!=t&&(T("align"+t),v("mceRepaint"))},"InsertUnorderedList,InsertOrderedList":function(e){var t,n;S(e),t=B.getParent(D.getNode(),"ol,ul"),t&&(n=t.parentNode,/^(H[1-6]|P|ADDRESS|PRE)$/.test(n.nodeName)&&(R(),B.split(n,t),A()))},"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":function(e){T(e)},"ForeColor,HiliteColor,FontName":function(e,t,n){T(e,n)},FontSize:function(e,t,n){var r,i;n>=1&&7>=n&&(i=d(H.font_size_style_values),r=d(H.font_size_classes),n=r?r[n-1]||n:i[n-1]||n),T(e,n)},RemoveFormat:function(e){M.remove(e)},mceBlockQuote:function(){T("blockquote")},FormatBlock:function(e,t,n){return T(n||"p")},mceCleanup:function(){var e=D.getBookmark();r.setContent(r.getContent({cleanup:m}),{cleanup:m}),D.moveToBookmark(e)},mceRemoveNode:function(e,t,n){var i=n||D.getNode();i!=r.getBody()&&(R(),r.dom.remove(i,m),A())},mceSelectNodeDepth:function(e,t,n){var i=0;B.getParent(D.getNode(),function(e){return 1==e.nodeType&&i++==n?(D.select(e),g):void 0},r.getBody())},mceSelectNode:function(e,t,n){D.select(n)},mceInsertContent:function(t,n,o){function a(e){function t(e){return r[e]&&3==r[e].nodeType}var n,r,i;return n=D.getRng(!0),r=n.startContainer,i=n.startOffset,3==r.nodeType&&(i>0?e=e.replace(/^ /," "):t("previousSibling")||(e=e.replace(/^ /," ")),i|)$/," "):t("nextSibling")||(e=e.replace(/( | )(
                |)$/," "))),e}function l(){var e,t,n;e=D.getRng(!0),t=e.startContainer,n=e.startOffset,3==t.nodeType&&e.collapsed&&("\xa0"===t.data[n]?(t.deleteData(n,1),/[\u00a0| ]$/.test(o)||(o+=" ")):"\xa0"===t.data[n-1]&&(t.deleteData(n-1,1),/[\u00a0| ]$/.test(o)||(o=" "+o)))}function c(e){if(_)for(x=e.firstChild;x;x=x.walk(!0))N[x.name]&&x.attr("data-mce-new","true")}function u(){if(_){var e=r.getBody(),t=new i(B);s(B.select("*[data-mce-new]"),function(n){n.removeAttribute("data-mce-new");for(var r=n.parentNode;r&&r!=e;r=r.parentNode)t.compare(r,n)&&B.remove(n,!0)})}}var d,f,p,m,g,v,y,b,x,C,w,_,E,N=r.schema.getTextInlineElements();"string"!=typeof o&&(_=o.merge,E=o.data,o=o.content),/^ | $/.test(o)&&(o=a(o)),d=r.parser,f=new e({},r.schema),w='​',v={content:o,format:"html",selection:!0},r.fire("BeforeSetContent",v),o=v.content,-1==o.indexOf("{$caret}")&&(o+="{$caret}"),o=o.replace(/\{\$caret\}/,w),b=D.getRng();var S=b.startContainer||(b.parentElement?b.parentElement():null),k=r.getBody();S===k&&D.isCollapsed()&&B.isBlock(k.firstChild)&&B.isEmpty(k.firstChild)&&(b=B.createRng(),b.setStart(k.firstChild,0),b.setEnd(k.firstChild,0),D.setRng(b)),D.isCollapsed()||(r.getDoc().execCommand("Delete",!1,null),l()),p=D.getNode();var T={context:p.nodeName.toLowerCase(),data:E};if(g=d.parse(o,T),c(g),x=g.lastChild,"mce_marker"==x.attr("id"))for(y=x,x=x.prev;x;x=x.walk(!0))if(3==x.type||!B.isBlock(x.name)){r.schema.isValidChild(x.parent.name,"span")&&x.parent.insert(y,x,"br"===x.name);break}if(T.invalid){for(D.setContent(w),p=D.getNode(),m=r.getBody(),9==p.nodeType?p=x=m:x=p;x!==m;)p=x,x=x.parentNode;o=p==m?m.innerHTML:B.getOuterHTML(p),o=f.serialize(d.parse(o.replace(//i,function(){return f.serialize(g)}))),p==m?B.setHTML(m,o):B.setOuterHTML(p,o)}else o=f.serialize(g),x=p.firstChild,C=p.lastChild,!x||x===C&&"BR"===x.nodeName?B.setHTML(p,o):D.setContent(o);u(),y=B.get("mce_marker"),D.scrollIntoView(y),b=B.createRng(),x=y.previousSibling,x&&3==x.nodeType?(b.setStart(x,x.nodeValue.length),h||(C=y.nextSibling,C&&3==C.nodeType&&(x.appendData(C.data),C.parentNode.removeChild(C)))):(b.setStartBefore(y),b.setEndBefore(y)),B.remove(y),D.setRng(b),r.fire("SetContent",v),r.addVisual()},mceInsertRawHTML:function(e,t,n){D.setContent("tiny_mce_marker"),r.setContent(r.getContent().replace(/tiny_mce_marker/g,function(){return n}))},mceToggleFormat:function(e,t,n){T(n)},mceSetContent:function(e,t,n){r.setContent(n)},"Indent,Outdent":function(e){var t,n,i;t=H.indentation,n=/[a-z%]+$/i.exec(t),t=parseInt(t,10),y("InsertUnorderedList")||y("InsertOrderedList")?S(e):(H.forced_root_block||B.getParent(D.getNode(),B.isBlock)||M.apply("div"),s(D.getSelectedBlocks(),function(o){if("LI"!=o.nodeName){var a=r.getParam("indent_use_margin",!1)?"margin":"padding";a+="rtl"==B.getStyle(o,"direction",!0)?"Right":"Left","outdent"==e?(i=Math.max(0,parseInt(o.style[a]||0,10)-t),B.setStyle(o,a,i?i+n:"")):(i=parseInt(o.style[a]||0,10)+t+n,B.setStyle(o,a,i))}}))},mceRepaint:function(){if(f)try{R(m),D.getSel()&&D.getSel().selectAllChildren(r.getBody()),D.collapse(m),A()}catch(e){}},InsertHorizontalRule:function(){r.execCommand("mceInsertContent",!1,"
                ")},mceToggleVisualAid:function(){r.hasVisual=!r.hasVisual,r.addVisual()},mceReplaceContent:function(e,t,n){r.execCommand("mceInsertContent",!1,n.replace(/\{\$selection\}/g,D.getContent({format:"text"})))},mceInsertLink:function(e,t,n){var r;"string"==typeof n&&(n={href:n}),r=B.getParent(D.getNode(),"a"),n.href=n.href.replace(" ","%20"),r&&n.href||M.remove("link"),n.href&&M.apply("link",n,r)},selectAll:function(){var e=B.getRoot(),t;D.getRng().setStart?(t=B.createRng(),t.setStart(e,0),t.setEnd(e,e.childNodes.length),D.setRng(t)):(t=D.getRng(),t.item||(t.moveToElementText(e),t.select()))},"delete":function(){S("Delete");var e=r.getBody();B.isEmpty(e)&&(r.setContent(""),e.firstChild&&B.isBlock(e.firstChild)?r.selection.setCursorLocation(e.firstChild,0):r.selection.setCursorLocation(e,0))},mceNewDocument:function(){r.setContent("")},InsertLineBreak:function(e,t,n){function i(){for(var e=new a(h,v),t,n=r.schema.getNonEmptyElements();t=e.next();)if(n[t.nodeName.toLowerCase()]||t.length>0)return!0}var s=n,l,c,u,d=D.getRng(!0);new o(B).normalize(d);var f=d.startOffset,h=d.startContainer;if(1==h.nodeType&&h.hasChildNodes()){var g=f>h.childNodes.length-1;h=h.childNodes[Math.min(f,h.childNodes.length-1)]||h,f=g&&3==h.nodeType?h.nodeValue.length:0}var v=B.getParent(h,B.isBlock),y=v?v.nodeName.toUpperCase():"",b=v?B.getParent(v.parentNode,B.isBlock):null,x=b?b.nodeName.toUpperCase():"",C=s&&s.ctrlKey;"LI"!=x||C||(v=b,y=x),h&&3==h.nodeType&&f>=h.nodeValue.length&&(p||i()||(l=B.create("br"),d.insertNode(l),d.setStartAfter(l),d.setEndAfter(l),c=!0)),l=B.create("br"),d.insertNode(l);var w=B.doc.documentMode;return p&&"PRE"==y&&(!w||8>w)&&l.parentNode.insertBefore(B.doc.createTextNode("\r"),l),u=B.create("span",{}," "),l.parentNode.insertBefore(u,l),D.scrollIntoView(u),B.remove(u),c?(d.setStartBefore(l),d.setEndBefore(l)):(d.setStartAfter(l),d.setEndAfter(l)),D.setRng(d),r.undoManager.add(),m}}),x({"JustifyLeft,JustifyCenter,JustifyRight,JustifyFull":function(e){var t="align"+e.substring(7),n=D.isCollapsed()?[B.getParent(D.getNode(),B.isBlock)]:D.getSelectedBlocks(),r=c(n,function(e){return!!M.matchNode(e,t)});return-1!==u(r,m)},"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":function(e){return k(e)},mceBlockQuote:function(){return k("blockquote")},Outdent:function(){var e;if(H.inline_styles){if((e=B.getParent(D.getStart(),B.isBlock))&&parseInt(e.style.paddingLeft,10)>0)return m;if((e=B.getParent(D.getEnd(),B.isBlock))&&parseInt(e.style.paddingLeft,10)>0)return m}return y("InsertUnorderedList")||y("InsertOrderedList")||!H.inline_styles&&!!B.getParent(D.getNode(),"BLOCKQUOTE")},"InsertUnorderedList,InsertOrderedList":function(e){var t=B.getParent(D.getNode(),"ul,ol");return t&&("insertunorderedlist"===e&&"UL"===t.tagName||"insertorderedlist"===e&&"OL"===t.tagName)}},"state"),x({"FontSize,FontName":function(e){var t=0,n;return(n=B.getParent(D.getNode(),"span"))&&(t="fontsize"==e?n.style.fontSize:n.style.fontFamily.replace(/, /g,",").replace(/[\'\"]/g,"").toLowerCase()),t}},"value"),x({Undo:function(){r.undoManager.undo()},Redo:function(){r.undoManager.redo()}})}}),r(U,[f],function(e){function t(e,o){var a=this,s,l;if(e=r(e),o=a.settings=o||{},s=o.base_uri,/^([\w\-]+):([^\/]{2})/i.test(e)||/^\s*#/.test(e))return void(a.source=e);var c=0===e.indexOf("//");0!==e.indexOf("/")||c||(e=(s?s.protocol||"http":"http")+"://mce_host"+e),/^[\w\-]*:?\/\//.test(e)||(l=o.base_uri?o.base_uri.path:new t(location.href).directory,""===o.base_uri.protocol?e="//mce_host"+a.toAbsPath(l,e):(e=/([^#?]*)([#?]?.*)/.exec(e),e=(s&&s.protocol||"http")+"://mce_host"+a.toAbsPath(l,e[1])+e[2])),e=e.replace(/@@/g,"(mce_at)"),e=/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@\/]*):?([^:@\/]*))?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/.exec(e),n(i,function(t,n){var r=e[n];r&&(r=r.replace(/\(mce_at\)/g,"@@")),a[t]=r}),s&&(a.protocol||(a.protocol=s.protocol),a.userInfo||(a.userInfo=s.userInfo),a.port||"mce_host"!==a.host||(a.port=s.port),a.host&&"mce_host"!==a.host||(a.host=s.host),a.source=""),c&&(a.protocol="")}var n=e.each,r=e.trim,i="source protocol authority userInfo user password host port relative path directory file query anchor".split(" "),o={ftp:21,http:80,https:443,mailto:25};return t.prototype={setPath:function(e){var t=this;e=/^(.*?)\/?(\w+)?$/.exec(e),t.path=e[0],t.directory=e[1],t.file=e[2],t.source="",t.getURI()},toRelative:function(e){var n=this,r;if("./"===e)return e;if(e=new t(e,{base_uri:n}),"mce_host"!=e.host&&n.host!=e.host&&e.host||n.port!=e.port||n.protocol!=e.protocol&&""!==e.protocol)return e.getURI();var i=n.getURI(),o=e.getURI();return i==o||"/"==i.charAt(i.length-1)&&i.substr(0,i.length-1)==o?i:(r=n.toRelPath(n.path,e.path),e.query&&(r+="?"+e.query),e.anchor&&(r+="#"+e.anchor),r)},toAbsolute:function(e,n){return e=new t(e,{base_uri:this}),e.getURI(n&&this.isSameOrigin(e))},isSameOrigin:function(e){if(this.host==e.host&&this.protocol==e.protocol){if(this.port==e.port)return!0;var t=o[this.protocol];if(t&&(this.port||t)==(e.port||t))return!0}return!1},toRelPath:function(e,t){var n,r=0,i="",o,a;if(e=e.substring(0,e.lastIndexOf("/")),e=e.split("/"),n=t.split("/"),e.length>=n.length)for(o=0,a=e.length;a>o;o++)if(o>=n.length||e[o]!=n[o]){r=o+1;break}if(e.lengtho;o++)if(o>=e.length||e[o]!=n[o]){r=o+1;break}if(1===r)return t;for(o=0,a=e.length-(r-1);a>o;o++)i+="../";for(o=r-1,a=n.length;a>o;o++)i+=o!=r-1?"/"+n[o]:n[o];return i},toAbsPath:function(e,t){var r,i=0,o=[],a,s;for(a=/\/$/.test(t)?"/":"",e=e.split("/"),t=t.split("/"),n(e,function(e){e&&o.push(e)}),e=o,r=t.length-1,o=[];r>=0;r--)0!==t[r].length&&"."!==t[r]&&(".."!==t[r]?i>0?i--:o.push(t[r]):i++);return r=e.length-i,s=0>=r?o.reverse().join("/"):e.slice(0,r).join("/")+"/"+o.reverse().join("/"),0!==s.indexOf("/")&&(s="/"+s),a&&s.lastIndexOf("/")!==s.length-1&&(s+=a),s},getURI:function(e){var t,n=this;return(!n.source||e)&&(t="",e||(t+=n.protocol?n.protocol+"://":"//",n.userInfo&&(t+=n.userInfo+"@"),n.host&&(t+=n.host),n.port&&(t+=":"+n.port)),n.path&&(t+=n.path),n.query&&(t+="?"+n.query),n.anchor&&(t+="#"+n.anchor),n.source=t),n.source}},t.parseDataUri=function(e){var t,n;return e=decodeURIComponent(e).split(","),n=/data:([^;]+)/.exec(e[0]),n&&(t=n[1]),{type:t,data:e[1]}},t}),r($,[f],function(e){function t(){}var n=e.each,r=e.extend,i,o;return t.extend=i=function(e){function t(){var e,t,n,r=this;if(!o&&(r.init&&r.init.apply(r,arguments),t=r.Mixins))for(e=t.length;e--;)n=t[e],n.init&&n.init.apply(r,arguments)}function a(){return this}function s(e,t){return function(){var n=this,r=n._super,i;return n._super=c[e],i=t.apply(n,arguments),n._super=r,i}}var l=this,c=l.prototype,u,d,f;o=!0,u=new l,o=!1,e.Mixins&&(n(e.Mixins,function(t){t=t;for(var n in t)"init"!==n&&(e[n]=t[n])}),c.Mixins&&(e.Mixins=c.Mixins.concat(e.Mixins))),e.Methods&&n(e.Methods.split(","),function(t){e[t]=a}),e.Properties&&n(e.Properties.split(","),function(t){var n="_"+t;e[t]=function(e){var t=this,r;return e!==r?(t[n]=e,t):t[n]}}),e.Statics&&n(e.Statics,function(e,n){t[n]=e}),e.Defaults&&c.Defaults&&(e.Defaults=r({},c.Defaults,e.Defaults));for(d in e)f=e[d],"function"==typeof f&&c[d]?u[d]=s(d,f):u[d]=f;return t.prototype=u,t.constructor=t,t.extend=i,t},t}),r(q,[f],function(e){function t(t){function n(){return!1}function r(){return!0}function i(e,i){var o,s,l,c;if(e=e.toLowerCase(),i=i||{},i.type=e,i.target||(i.target=u),i.preventDefault||(i.preventDefault=function(){i.isDefaultPrevented=r},i.stopPropagation=function(){i.isPropagationStopped=r},i.stopImmediatePropagation=function(){i.isImmediatePropagationStopped=r},i.isDefaultPrevented=n,i.isPropagationStopped=n,i.isImmediatePropagationStopped=n),t.beforeFire&&t.beforeFire(i),o=d[e])for(s=0,l=o.length;l>s;s++){if(c=o[s],c.once&&a(e,c.func),i.isImmediatePropagationStopped())return i.stopPropagation(),i;if(c.func.call(u,i)===!1)return i.preventDefault(),i}return i}function o(t,r,i,o){var a,s,l;if(r===!1&&(r=n),r)for(r={func:r},o&&e.extend(r,o),s=t.toLowerCase().split(" "),l=s.length;l--;)t=s[l],a=d[t],a||(a=d[t]=[],f(t,!0)),i?a.unshift(r):a.push(r);return c}function a(e,t){var n,r,i,o,a;if(e)for(o=e.toLowerCase().split(" "),n=o.length;n--;){if(e=o[n],r=d[e],!e){for(i in d)f(i,!1),delete d[i];return c}if(r){if(t)for(a=r.length;a--;)r[a].func===t&&(r=r.slice(0,a).concat(r.slice(a+1)),d[e]=r);else r.length=0;r.length||(f(e,!1),delete d[e])}}else{for(e in d)f(e,!1);d={}}return c}function s(e,t,n){return o(e,t,n,{once:!0})}function l(e){return e=e.toLowerCase(),!(!d[e]||0===d[e].length)}var c=this,u,d={},f;t=t||{},u=t.scope||c,f=t.toggleEvent||n,c.fire=i,c.on=o,c.off=a,c.once=s,c.has=l}var n=e.makeMap("focus blur focusin focusout click dblclick mousedown mouseup mousemove mouseover beforepaste paste cut copy selectionchange mouseout mouseenter mouseleave wheel keydown keypress keyup input contextmenu dragstart dragend dragover draggesture dragdrop drop drag submit compositionstart compositionend compositionupdate touchstart touchend"," ");return t.isNative=function(e){return!!n[e.toLowerCase()]},t}),r(j,[],function(){function e(e){this.create=e.create}return e.create=function(t,n){return new e({create:function(e,r){function i(t){e.set(r,t.value)}function o(e){t.set(n,e.value)}var a;return e.on("change:"+r,o),t.on("change:"+n,i),a=e._bindings,a||(a=e._bindings=[],e.on("destroy",function(){for(var e=a.length;e--;)a[e]()})),a.push(function(){t.off("change:"+n,i)}),t.get(n)}})},e}),r(K,[q],function(e){function t(t){return t._eventDispatcher||(t._eventDispatcher=new e({scope:t,toggleEvent:function(n,r){e.isNative(n)&&t.toggleNativeEvent&&t.toggleNativeEvent(n,r)}})),t._eventDispatcher}return{fire:function(e,n,r){var i=this;if(i.removed&&"remove"!==e)return n;if(n=t(i).fire(e,n,r),r!==!1&&i.parent)for(var o=i.parent();o&&!n.isPropagationStopped();)o.fire(e,n,!1),o=o.parent();return n},on:function(e,n,r){return t(this).on(e,n,r)},off:function(e,n){return t(this).off(e,n)},once:function(e,n){return t(this).once(e,n)},hasEventListeners:function(e){return t(this).has(e)}}}),r(Y,[j,K,$,f],function(e,t,n,r){function i(e){return e.nodeType>0}function o(e,t){var n,a;if(e===t)return!0;if(null===e||null===t)return e===t;if("object"!=typeof e||"object"!=typeof t)return e===t;if(r.isArray(t)){if(e.length!==t.length)return!1;for(n=e.length;n--;)if(!o(e[n],t[n]))return!1}if(i(e)||i(t))return e===t;a={};for(n in t){if(!o(e[n],t[n]))return!1;a[n]=!0}for(n in e)if(!a[n]&&!o(e[n],t[n]))return!1;return!0}return n.extend({Mixins:[t],init:function(t){var n,r;t=t||{};for(n in t)r=t[n],r instanceof e&&(t[n]=r.create(this,n));this.data=t},set:function(t,n){var r,i,a=this.data[t];if(n instanceof e&&(n=n.create(this,t)),"object"==typeof t){for(r in t)this.set(r,t[r]);return this}return o(a,n)||(this.data[t]=n,i={target:this,name:t,value:n,oldValue:a},this.fire("change:"+t,i),this.fire("change",i)),this},get:function(e){return this.data[e]},has:function(e){return e in this.data},bind:function(t){return e.create(this,t)},destroy:function(){this.fire("destroy")}})}),r(G,[$],function(e){function t(e){for(var t=[],n=e.length,r;n--;)r=e[n],r.__checked||(t.push(r),r.__checked=1);for(n=t.length;n--;)delete t[n].__checked;return t}var n=/^([\w\\*]+)?(?:#([\w\\]+))?(?:\.([\w\\\.]+))?(?:\[\@?([\w\\]+)([\^\$\*!~]?=)([\w\\]+)\])?(?:\:(.+))?/i,r=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,i=/^\s*|\s*$/g,o,a=e.extend({init:function(e){function t(e){return e?(e=e.toLowerCase(),function(t){return"*"===e||t.type===e}):void 0}function o(e){return e?function(t){return t._name===e}:void 0}function a(e){return e?(e=e.split("."),function(t){for(var n=e.length;n--;)if(!t.classes.contains(e[n]))return!1;return!0}):void 0}function s(e,t,n){return e?function(r){var i=r[e]?r[e]():"";return t?"="===t?i===n:"*="===t?i.indexOf(n)>=0:"~="===t?(" "+i+" ").indexOf(" "+n+" ")>=0:"!="===t?i!=n:"^="===t?0===i.indexOf(n):"$="===t?i.substr(i.length-n.length)===n:!1:!!n}:void 0}function l(e){var t;return e?(e=/(?:not\((.+)\))|(.+)/i.exec(e),e[1]?(t=u(e[1],[]),function(e){return!d(e,t)}):(e=e[2],function(t,n,r){return"first"===e?0===n:"last"===e?n===r-1:"even"===e?n%2===0:"odd"===e?n%2===1:t[e]?t[e]():!1})):void 0}function c(e,r,c){function u(e){e&&r.push(e)}var d;return d=n.exec(e.replace(i,"")),u(t(d[1])),u(o(d[2])),u(a(d[3])),u(s(d[4],d[5],d[6])),u(l(d[7])),r.psuedo=!!d[7],r.direct=c,r}function u(e,t){var n=[],i,o,a;do if(r.exec(""),o=r.exec(e),o&&(e=o[3],n.push(o[1]),o[2])){i=o[3];break}while(o);for(i&&u(i,t),e=[],a=0;a"!=n[a]&&e.push(c(n[a],[],">"===n[a-1]));return t.push(e),t}var d=this.match;this._selectors=u(e,[])},match:function(e,t){var n,r,i,o,a,s,l,c,u,d,f,h,p;for(t=t||this._selectors,n=0,r=t.length;r>n;n++){for(a=t[n],o=a.length,p=e,h=0,i=o-1;i>=0;i--)for(c=a[i];p;){if(c.psuedo)for(f=p.parent().items(),u=d=f.length;u--&&f[u]!==p;);for(s=0,l=c.length;l>s;s++)if(!c[s](p,u,d)){s=l+1;break}if(s===l){h++;break}if(i===o-1)break;p=p.parent()}if(h===o)return!0}return!1},find:function(e){function n(e,t,i){var o,a,s,l,c,u=t[i];for(o=0,a=e.length;a>o;o++){for(c=e[o],s=0,l=u.length;l>s;s++)if(!u[s](c,o,a)){s=l+1;break}if(s===l)i==t.length-1?r.push(c):c.items&&n(c.items(),t,i+1);else if(u.direct)return;c.items&&n(c.items(),t,i)}}var r=[],i,s,l=this._selectors;if(e.items){for(i=0,s=l.length;s>i;i++)n(e.items(),l[i],0);s>1&&(r=t(r))}return o||(o=a.Collection),new o(r)}});return a}),r(X,[f,G,$],function(e,t,n){var r,i,o=Array.prototype.push,a=Array.prototype.slice;return i={length:0,init:function(e){e&&this.add(e)},add:function(t){var n=this;return e.isArray(t)?o.apply(n,t):t instanceof r?n.add(t.toArray()):o.call(n,t),n},set:function(e){var t=this,n=t.length,r;for(t.length=0,t.add(e),r=t.length;n>r;r++)delete t[r];return t},filter:function(e){var n=this,i,o,a=[],s,l;for("string"==typeof e?(e=new t(e),l=function(t){return e.match(t)}):l=e,i=0,o=n.length;o>i;i++)s=n[i],l(s)&&a.push(s);return new r(a)},slice:function(){return new r(a.apply(this,arguments))},eq:function(e){return-1===e?this.slice(e):this.slice(e,+e+1)},each:function(t){return e.each(this,t),this},toArray:function(){return e.toArray(this)},indexOf:function(e){for(var t=this,n=t.length;n--&&t[n]!==e;);return n},reverse:function(){return new r(e.toArray(this).reverse())},hasClass:function(e){return this[0]?this[0].classes.contains(e):!1},prop:function(e,t){var n=this,r,i;return t!==r?(n.each(function(n){n[e]&&n[e](t)}),n):(i=n[0],i&&i[e]?i[e]():void 0)},exec:function(t){var n=this,r=e.toArray(arguments).slice(1);return n.each(function(e){e[t]&&e[t].apply(e,r)}),n},remove:function(){for(var e=this.length;e--;)this[e].remove();return this},addClass:function(e){return this.each(function(t){t.classes.add(e)})},removeClass:function(e){return this.each(function(t){t.classes.remove(e)})}},e.each("fire on off show hide append prepend before after reflow".split(" "),function(t){i[t]=function(){var n=e.toArray(arguments);return this.each(function(e){t in e&&e[t].apply(e,n)}),this}}),e.each("text name disabled active selected checked visible parent value data".split(" "),function(e){i[e]=function(t){return this.prop(e,t)}}),r=n.extend(i),t.Collection=r,r}),r(J,[f,b],function(e,t){var n=0;return{id:function(){return"mceu_"+n++},createFragment:function(e){return t.DOM.createFragment(e)},getWindowSize:function(){return t.DOM.getViewPort()},getSize:function(e){var t,n;if(e.getBoundingClientRect){var r=e.getBoundingClientRect();t=Math.max(r.width||r.right-r.left,e.offsetWidth),n=Math.max(r.height||r.bottom-r.bottom,e.offsetHeight)}else t=e.offsetWidth,n=e.offsetHeight;return{width:t,height:n}},getPos:function(e,n){return t.DOM.getPos(e,n)},getViewPort:function(e){return t.DOM.getViewPort(e)},get:function(e){return document.getElementById(e)},addClass:function(e,n){return t.DOM.addClass(e,n)},removeClass:function(e,n){return t.DOM.removeClass(e,n)},hasClass:function(e,n){return t.DOM.hasClass(e,n)},toggleClass:function(e,n,r){return t.DOM.toggleClass(e,n,r)},css:function(e,n,r){return t.DOM.setStyle(e,n,r)},getRuntimeStyle:function(e,n){return t.DOM.getStyle(e,n,!0)},on:function(e,n,r,i){return t.DOM.bind(e,n,r,i)},off:function(e,n,r){return t.DOM.unbind(e,n,r)},fire:function(e,n,r){return t.DOM.fire(e,n,r)},innerHtml:function(e,n){t.DOM.setHTML(e,n)}}}),r(Q,[],function(){return{parseBox:function(e){var t,n=10;if(e)return"number"==typeof e?(e=e||0,{top:e,left:e,bottom:e,right:e}):(e=e.split(" "),t=e.length,1===t?e[1]=e[2]=e[3]=e[0]:2===t?(e[2]=e[0],e[3]=e[1]):3===t&&(e[3]=e[1]),{top:parseInt(e[0],n)||0,right:parseInt(e[1],n)||0,bottom:parseInt(e[2],n)||0,left:parseInt(e[3],n)||0})},measureBox:function(e,t){function n(t){var n=document.defaultView;return n?(t=t.replace(/[A-Z]/g,function(e){return"-"+e}),n.getComputedStyle(e,null).getPropertyValue(t)):e.currentStyle[t]}function r(e){var t=parseFloat(n(e),10);return isNaN(t)?0:t}return{top:r(t+"TopWidth"),right:r(t+"RightWidth"),bottom:r(t+"BottomWidth"),left:r(t+"LeftWidth")}}}}),r(Z,[f],function(e){function t(){}function n(e){this.cls=[],this.cls._map={},this.onchange=e||t,this.prefix=""}return e.extend(n.prototype,{add:function(e){return e&&!this.contains(e)&&(this.cls._map[e]=!0,this.cls.push(e),this._change()),this},remove:function(e){if(this.contains(e)){for(var t=0;t0&&(e+=" "),e+=this.prefix+this.cls[t];return e},n}),r(ee,[],function(){function e(e,t){function n(e){window.setTimeout(e,0)}var r,i=window.requestAnimationFrame,o=["ms","moz","webkit"];for(r=0;r=i;o--)r=s[o],r.fire("mouseleave",{target:r.getEl()})}for(o=i;oo;o++)c=l[o]._eventsRoot;for(c||(c=l[l.length-1]||e),e._eventsRoot=c,s=o,o=0;s>o;o++)l[o]._eventsRoot=c;var p=c._delegates;p||(p=c._delegates={});for(d in u){if(!u)return!1;"wheel"!==d||h?("mouseenter"===d||"mouseleave"===d?c._hasMouseEnter||(a(c.getEl()).on("mouseleave",n).on("mouseover",r),c._hasMouseEnter=1):p[d]||(a(c.getEl()).on(d,t),p[d]=!0),u[d]=!1):f?a(e.getEl()).on("mousewheel",i):a(e.getEl()).on("DOMMouseScroll",i)}}}var f="onmousewheel"in document,h=!1,p="mce-",m,g=0,v={Statics:{classPrefix:p},isRtl:function(){return m.rtl},classPrefix:p,init:function(e){function n(e){var t;for(e=e.split(" "),t=0;tn.maxW?n.maxW:i,n.w=i,n.innerW=i-o),i=e.h,i!==s&&(i=in.maxH?n.maxH:i,n.h=i,n.innerH=i-a),i=e.innerW,i!==s&&(i=in.maxW-o?n.maxW-o:i,n.innerW=i,n.w=i+o),i=e.innerH,i!==s&&(i=in.maxH-a?n.maxH-a:i,n.innerH=i,n.h=i+a),e.contentW!==s&&(n.contentW=e.contentW),e.contentH!==s&&(n.contentH=e.contentH),r=t._lastLayoutRect,(r.x!==n.x||r.y!==n.y||r.w!==n.w||r.h!==n.h)&&(l=m.repaintControls,l&&l.map&&!l.map[t._id]&&(l.push(t),l.map[t._id]=!0),r.x=n.x,r.y=n.y,r.w=n.w,r.h=n.h),t):n},repaint:function(){var e=this,t,n,r,i,o,a=0,s=0,l,c,u;c=document.createRange?function(e){return e}:Math.round,t=e.getEl().style,i=e._layoutRect,l=e._lastRepaintRect||{},o=e.borderBox,a=o.left+o.right,s=o.top+o.bottom,i.x!==l.x&&(t.left=c(i.x)+"px",l.x=i.x),i.y!==l.y&&(t.top=c(i.y)+"px",l.y=i.y),i.w!==l.w&&(u=c(i.w-a),t.width=(u>=0?u:0)+"px",l.w=i.w),i.h!==l.h&&(u=c(i.h-s),t.height=(u>=0?u:0)+"px",l.h=i.h),e._hasBody&&i.innerW!==l.innerW&&(u=c(i.innerW),r=e.getEl("body"),r&&(n=r.style,n.width=(u>=0?u:0)+"px"),l.innerW=i.innerW), -e._hasBody&&i.innerH!==l.innerH&&(u=c(i.innerH),r=r||e.getEl("body"),r&&(n=n||r.style,n.height=(u>=0?u:0)+"px"),l.innerH=i.innerH),e._lastRepaintRect=l,e.fire("repaint",{},!1)},on:function(e,t){function n(e){var t,n;return"string"!=typeof e?e:function(i){return t||r.parentsAndSelf().each(function(r){var i=r.settings.callbacks;return i&&(t=i[e])?(n=r,!1):void 0}),t?t.call(n,i):(i.action=e,void this.fire("execute",i))}}var r=this;return u(r).on(e,n(t)),r},off:function(e,t){return u(this).off(e,t),this},fire:function(e,t,n){var r=this;if(t=t||{},t.control||(t.control=r),t=u(r).fire(e,t),n!==!1&&r.parent)for(var i=r.parent();i&&!t.isPropagationStopped();)i.fire(e,t,!1),i=i.parent();return t},hasEventListeners:function(e){return u(this).has(e)},parents:function(e){var t=this,n,r=new i;for(n=t.parent();n;n=n.parent())r.add(n);return e&&(r=r.filter(e)),r},parentsAndSelf:function(e){return new i(this).add(this.parents(e))},next:function(){var e=this.parent().items();return e[e.indexOf(this)+1]},prev:function(){var e=this.parent().items();return e[e.indexOf(this)-1]},innerHtml:function(e){return this.$el.html(e),this},getEl:function(e){var t=e?this._id+"-"+e:this._id;return this._elmCache[t]||(this._elmCache[t]=a("#"+t)[0]),this._elmCache[t]},show:function(){return this.visible(!0)},hide:function(){return this.visible(!1)},focus:function(){try{this.getEl().focus()}catch(e){}return this},blur:function(){return this.getEl().blur(),this},aria:function(e,t){var n=this,r=n.getEl(n.ariaTarget);return"undefined"==typeof t?n._aria[e]:(n._aria[e]=t,n.state.get("rendered")&&r.setAttribute("role"==e?e:"aria-"+e,t),n)},encode:function(e,t){return t!==!1&&(e=this.translate(e)),(e||"").replace(/[&<>"]/g,function(e){return"&#"+e.charCodeAt(0)+";"})},translate:function(e){return m.translate?m.translate(e):e},before:function(e){var t=this,n=t.parent();return n&&n.insert(e,n.items().indexOf(t),!0),t},after:function(e){var t=this,n=t.parent();return n&&n.insert(e,n.items().indexOf(t)),t},remove:function(){var e=this,t=e.getEl(),n=e.parent(),r,i;if(e.items){var o=e.items().toArray();for(i=o.length;i--;)o[i].remove()}n&&n.items&&(r=[],n.items().each(function(t){t!==e&&r.push(t)}),n.items().set(r),n._lastRect=null),e._eventsRoot&&e._eventsRoot==e&&a(t).off();var s=e.getRoot().controlIdLookup;return s&&delete s[e._id],t&&t.parentNode&&t.parentNode.removeChild(t),e.state.set("rendered",!1),e.state.destroy(),e.fire("remove"),e},renderBefore:function(e){return a(e).before(this.renderHtml()),this.postRender(),this},renderTo:function(e){return a(e||this.getContainerElm()).append(this.renderHtml()),this.postRender(),this},preRender:function(){},render:function(){},renderHtml:function(){return'
                '},postRender:function(){var e=this,t=e.settings,n,r,i,o,s;e.$el=a(e.getEl()),e.state.set("rendered",!0);for(o in t)0===o.indexOf("on")&&e.on(o.substr(2),t[o]);if(e._eventsRoot){for(i=e.parent();!s&&i;i=i.parent())s=i._eventsRoot;if(s)for(o in s._nativeEvents)e._nativeEvents[o]=!0}d(e),t.style&&(n=e.getEl(),n&&(n.setAttribute("style",t.style),n.style.cssText=t.style)),e.settings.border&&(r=e.borderBox,e.$el.css({"border-top-width":r.top,"border-right-width":r.right,"border-bottom-width":r.bottom,"border-left-width":r.left}));var l=e.getRoot();l.controlIdLookup||(l.controlIdLookup={}),l.controlIdLookup[e._id]=e;for(var u in e._aria)e.aria(u,e._aria[u]);e.state.get("visible")===!1&&(e.getEl().style.display="none"),e.bindStates(),e.state.on("change:visible",function(t){var n=t.value,r;e.state.get("rendered")&&(e.getEl().style.display=n===!1?"none":"",e.getEl().getBoundingClientRect()),r=e.parent(),r&&(r._lastRect=null),e.fire(n?"show":"hide"),c.add(e)}),e.fire("postrender",{},!1)},bindStates:function(){},scrollIntoView:function(e){function t(e,t){var n,r,i=e;for(n=r=0;i&&i!=t&&i.nodeType;)n+=i.offsetLeft||0,r+=i.offsetTop||0,i=i.offsetParent;return{x:n,y:r}}var n=this.getEl(),r=n.parentNode,i,o,a,s,l,c,u=t(n,r);return i=u.x,o=u.y,a=n.offsetWidth,s=n.offsetHeight,l=r.clientWidth,c=r.clientHeight,"end"==e?(i-=l-a,o-=c-s):"center"==e&&(i-=l/2-a/2,o-=c/2-s/2),r.scrollLeft=i,r.scrollTop=o,this},getRoot:function(){for(var e=this,t,n=[];e;){if(e.rootControl){t=e.rootControl;break}n.push(e),t=e,e=e.parent()}t||(t=this);for(var r=n.length;r--;)n[r].rootControl=t;return t},reflow:function(){c.remove(this);var e=this.parent();return e._layout&&!e._layout.isNative()&&e.reflow(),this}};return t.each("text title visible disabled active value".split(" "),function(e){v[e]=function(t){return 0===arguments.length?this.state.get(e):("undefined"!=typeof t&&this.state.set(e,t),this)}}),m=e.extend(v)}),r(ne,[],function(){var e={},t;return{add:function(t,n){e[t.toLowerCase()]=n},has:function(t){return!!e[t.toLowerCase()]},create:function(n,r){var i,o,a;if(!t){a=tinymce.ui;for(o in a)e[o.toLowerCase()]=a[o];t=!0}if("string"==typeof n?(r=r||{},r.type=n):(r=n,n=r.type),n=n.toLowerCase(),i=e[n],!i)throw new Error("Could not find control by type: "+n);return i=new i(r),i.type=n,i}}}),r(re,[],function(){return function(e){function t(e){return e&&1===e.nodeType}function n(e){return e=e||x,t(e)?e.getAttribute("role"):null}function r(e){for(var t,r=e||x;r=r.parentNode;)if(t=n(r))return t}function i(e){var n=x;return t(n)?n.getAttribute("aria-"+e):void 0}function o(e){var t=e.tagName.toUpperCase();return"INPUT"==t||"TEXTAREA"==t}function a(e){return o(e)&&!e.hidden?!0:/^(button|menuitem|checkbox|tab|menuitemcheckbox|option|gridcell)$/.test(n(e))?!0:!1}function s(e){function t(e){if(1==e.nodeType&&"none"!=e.style.display){a(e)&&n.push(e);for(var r=0;re?e=t.length-1:e>=t.length&&(e=0),t[e]&&t[e].focus(),e}function d(e,t){var n=-1,r=l();t=t||s(r.getEl());for(var i=0;i=0&&(n=t.getEl(),n&&n.parentNode.removeChild(n),n=e.getEl(),n&&n.parentNode.removeChild(n)),t.parent(this)},create:function(t){var n=this,i,a=[];return o.isArray(t)||(t=[t]),o.each(t,function(t){t&&(t instanceof e||("string"==typeof t&&(t={type:t}),i=o.extend({},n.settings.defaults,t),t.type=i.type=i.type||t.type||n.settings.defaultType||(i.defaults?i.defaults.type:null),t=r.create(i)),a.push(t))}),a},renderNew:function(){var e=this;return e.items().each(function(t,n){var r;t.parent(e),t.state.get("rendered")||(r=e.getEl("body"),r.hasChildNodes()&&n<=r.childNodes.length-1?a(r.childNodes[n]).before(t.renderHtml()):a(r).append(t.renderHtml()),t.postRender(),l.add(t))}),e._layout.applyClasses(e.items().filter(":visible")),e._lastRect=null,e},append:function(e){return this.add(e).renderNew()},prepend:function(e){var t=this;return t.items().set(t.create(e).concat(t.items().toArray())),t.renderNew()},insert:function(e,t,n){var r=this,i,o,a;return e=r.create(e),i=r.items(),!n&&t=0&&t
                '+(e.settings.html||"")+t.renderHtml(e)+"
                "},postRender:function(){var e=this,t;return e.items().exec("postRender"),e._super(),e._layout.postRender(e),e.state.set("rendered",!0),e.settings.style&&e.$el.css(e.settings.style),e.settings.border&&(t=e.borderBox,e.$el.css({"border-top-width":t.top,"border-right-width":t.right,"border-bottom-width":t.bottom,"border-left-width":t.left})),e.parent()||(e.keyboardNav=new i({root:e})),e},initLayoutRect:function(){var e=this,t=e._super();return e._layout.recalc(e),t},recalc:function(){var e=this,t=e._layoutRect,n=e._lastRect;return n&&n.w==t.w&&n.h==t.h?void 0:(e._layout.recalc(e),t=e.layoutRect(),e._lastRect={x:t.x,y:t.y,w:t.w,h:t.h},!0)},reflow:function(){var t;if(l.remove(this),this.visible()){for(e.repaintControls=[],e.repaintControls.map={},this.recalc(),t=e.repaintControls.length;t--;)e.repaintControls[t].repaint();"flow"!==this.settings.layout&&"stack"!==this.settings.layout&&this.repaint(),e.repaintControls=[]}return this}})}),r(oe,[h],function(e){function t(e){var t,n,r,i,o,a,s,l,c=Math.max;return t=e.documentElement,n=e.body,r=c(t.scrollWidth,n.scrollWidth),i=c(t.clientWidth,n.clientWidth),o=c(t.offsetWidth,n.offsetWidth),a=c(t.scrollHeight,n.scrollHeight),s=c(t.clientHeight,n.clientHeight),l=c(t.offsetHeight,n.offsetHeight),{width:o>r?i:r,height:l>a?s:a}}function n(e){var t,n;if(e.changedTouches)for(t="screenX screenY pageX pageY clientX clientY".split(" "),n=0;n").css({position:"absolute",top:0,left:0,width:c.width,height:c.height,zIndex:2147483647,opacity:1e-4,cursor:m}).appendTo(s.body),e(s).on("mousemove touchmove",d).on("mouseup touchend",u),i.start(r)},d=function(e){return n(e),e.button!==l?u(e):(e.deltaX=e.screenX-f,e.deltaY=e.screenY-h,e.preventDefault(),void i.drag(e))},u=function(t){n(t),e(s).off("mousemove touchmove",d).off("mouseup touchend",u),a.remove(),i.stop&&i.stop(t)},this.destroy=function(){e(o()).off()},e(o()).on("mousedown touchstart",c)}}),r(ae,[h,oe],function(e,t){return{init:function(){var e=this;e.on("repaint",e.renderScroll)},renderScroll:function(){function n(){function t(t,a,s,l,c,u){var d,f,h,p,m,g,v,y,b;if(f=i.getEl("scroll"+t)){if(y=a.toLowerCase(),b=s.toLowerCase(),e(i.getEl("absend")).css(y,i.layoutRect()[l]-1),!c)return void e(f).css("display","none");e(f).css("display","block"),d=i.getEl("body"),h=i.getEl("scroll"+t+"t"),p=d["client"+s]-2*o,p-=n&&r?f["client"+u]:0,m=d["scroll"+s],g=p/m,v={},v[y]=d["offset"+a]+o,v[b]=p,e(f).css(v),v={},v[y]=d["scroll"+a]*g,v[b]=p*g,e(h).css(v)}}var n,r,a;a=i.getEl("body"),n=a.scrollWidth>a.clientWidth,r=a.scrollHeight>a.clientHeight,t("h","Left","Width","contentW",n,"Height"),t("v","Top","Height","contentH",r,"Width")}function r(){function n(n,r,a,s,l){var c,u=i._id+"-scroll"+n,d=i.classPrefix;e(i.getEl()).append('
                '),i.draghelper=new t(u+"t",{start:function(){c=i.getEl("body")["scroll"+r],e("#"+u).addClass(d+"active")},drag:function(e){var t,u,d,f,h=i.layoutRect();u=h.contentW>h.innerW,d=h.contentH>h.innerH,f=i.getEl("body")["client"+a]-2*o,f-=u&&d?i.getEl("scroll"+n)["client"+l]:0,t=f/i.getEl("body")["scroll"+a],i.getEl("body")["scroll"+r]=c+e["delta"+s]/t},stop:function(){e("#"+u).removeClass(d+"active")}})}i.classes.add("scroll"),n("v","Top","Height","Y","Width"),n("h","Left","Width","X","Height")}var i=this,o=2;i.settings.autoScroll&&(i._hasScroll||(i._hasScroll=!0,r(),i.on("wheel",function(e){var t=i.getEl("body");t.scrollLeft+=10*(e.deltaX||0),t.scrollTop+=10*e.deltaY,n()}),e(i.getEl("body")).on("scroll",n)),n())}}}),r(se,[ie,ae],function(e,t){return e.extend({Defaults:{layout:"fit",containerCls:"panel"},Mixins:[t],renderHtml:function(){var e=this,t=e._layout,n=e.settings.html;return e.preRender(),t.preRender(e),"undefined"==typeof n?n='
                '+t.renderHtml(e)+"
                ":("function"==typeof n&&(n=n.call(e)),e._hasBody=!1),'
                '+(e._preBodyHtml||"")+n+"
                "}})}),r(le,[J],function(e){function t(t,n,r){var i,o,a,s,l,c,u,d,f,h;return f=e.getViewPort(),o=e.getPos(n),a=o.x,s=o.y,t.state.get("fixed")&&"static"==e.getRuntimeStyle(document.body,"position")&&(a-=f.x,s-=f.y),i=t.getEl(),h=e.getSize(i),l=h.width,c=h.height,h=e.getSize(n),u=h.width,d=h.height,r=(r||"").split(""),"b"===r[0]&&(s+=d),"r"===r[1]&&(a+=u),"c"===r[0]&&(s+=Math.round(d/2)),"c"===r[1]&&(a+=Math.round(u/2)),"b"===r[3]&&(s-=c),"r"===r[4]&&(a-=l),"c"===r[3]&&(s-=Math.round(c/2)),"c"===r[4]&&(a-=Math.round(l/2)),{x:a,y:s,w:l,h:c}}return{testMoveRel:function(n,r){for(var i=e.getViewPort(),o=0;o0&&a.x+a.w0&&a.y+a.hi.x&&a.x+a.wi.y&&a.y+a.he?0:e+n>t?(e=t-n,0>e?0:e):e}var i=this;if(i.settings.constrainToViewport){var o=e.getViewPort(window),a=i.layoutRect();t=r(t,o.w+o.x,a.w),n=r(n,o.h+o.y,a.h)}return i.state.get("rendered")?i.layoutRect({x:t,y:n}).repaint():(i.settings.x=t,i.settings.y=n),i.fire("move",{x:t,y:n}),i}}}),r(ce,[J],function(e){return{resizeToContent:function(){this._layoutRect.autoResize=!0,this._lastRect=null,this.reflow()},resizeTo:function(t,n){if(1>=t||1>=n){var r=e.getWindowSize();t=1>=t?t*r.w:t,n=1>=n?n*r.h:n}return this._layoutRect.autoResize=!1,this.layoutRect({minW:t,minH:n,w:t,h:n}).reflow()},resizeBy:function(e,t){var n=this,r=n.layoutRect();return n.resizeTo(r.w+e,r.h+t)}}}),r(ue,[se,le,ce,J,h],function(e,t,n,r,i){function o(e,t){for(;e;){if(e==t)return!0;e=e.parent()}}function a(e){for(var t=g.length;t--;){var n=g[t],r=n.getParentCtrl(e.target);if(n.settings.autohide){if(r&&(o(r,n)||n.parent()===r))continue;e=n.fire("autohide",{target:e.target}),e.isDefaultPrevented()||n.hide()}}}function s(){h||(h=function(e){2!=e.button&&a(e)},i(document).on("click touchstart",h))}function l(){p||(p=function(){var e;for(e=g.length;e--;)u(g[e])},i(window).on("scroll",p))}function c(){if(!m){var e=document.documentElement,t=e.clientWidth,n=e.clientHeight;m=function(){document.all&&t==e.clientWidth&&n==e.clientHeight||(t=e.clientWidth,n=e.clientHeight,b.hideAll())},i(window).on("resize",m)}}function u(e){function t(t,n){for(var r,i=0;in&&(e.fixed(!1).layoutRect({y:e._autoFixY}).repaint(),t(!1,e._autoFixY-n)):(e._autoFixY=e.layoutRect().y,e._autoFixY
                ').appendTo(t.getContainerElm())),setTimeout(function(){n.addClass(r+"in"),i(t.getEl()).addClass(r+"in")},0),y=!0),d(!0,t)}}),t.on("show",function(){t.parents().each(function(e){return e.state.get("fixed")?(t.fixed(!0),!1):void 0})}),e.popover&&(t._preBodyHtml='
                ',t.classes.add("popover").add("bottom").add(t.isRtl()?"end":"start"))},fixed:function(e){var t=this;if(t.state.get("fixed")!=e){if(t.state.get("rendered")){var n=r.getViewPort();e?t.layoutRect().y-=n.y:t.layoutRect().y+=n.y}t.classes.toggle("fixed",e),t.state.set("fixed",e)}return t},show:function(){var e=this,t,n=e._super();for(t=g.length;t--&&g[t]!==e;);return-1===t&&g.push(e),n},hide:function(){return f(this),d(!1,this),this._super()},hideAll:function(){b.hideAll()},close:function(){var e=this;return e.fire("close").isDefaultPrevented()||(e.remove(),d(!1,e)),e},remove:function(){f(this),this._super()},postRender:function(){var e=this;return e.settings.bodyRole&&this.getEl("body").setAttribute("role",e.settings.bodyRole),e._super()}});return b.hideAll=function(){for(var e=g.length;e--;){var t=g[e];t&&t.settings.autohide&&(t.hide(),g.splice(e,1))}},b}),r(de,[ue,se,J,h,oe,Q,u],function(e,t,n,r,i,o,a){function s(e){var t="width=device-width,initial-scale=1.0,user-scalable=0,minimum-scale=1.0,maximum-scale=1.0",n=r("meta[name=viewport]")[0],i;a.overrideViewPort!==!1&&(n||(n=document.createElement("meta"),n.setAttribute("name","viewport"),document.getElementsByTagName("head")[0].appendChild(n)),i=n.getAttribute("content"),i&&"undefined"!=typeof d&&(d=i),n.setAttribute("content",e?t:d))}function l(e){for(var t=0;tr.w&&(o=r.x-Math.max(0,i/2),e.layoutRect({w:i,x:o}),a=!0)),t&&(t.layoutRect({w:e.layoutRect().innerW}).recalc(),i=t.layoutRect().minW+r.deltaW,i>r.w&&(o=r.x-Math.max(0,i-r.w),e.layoutRect({w:i,x:o}),a=!0)),a&&e.recalc()},initLayoutRect:function(){var e=this,t=e._super(),r=0,i;if(e.settings.title&&!e._fullscreen){i=e.getEl("head");var o=n.getSize(i);t.headerW=o.width,t.headerH=o.height,r+=t.headerH}e.statusbar&&(r+=e.statusbar.layoutRect().h),t.deltaH+=r,t.minH+=r,t.h+=r;var a=n.getWindowSize();return t.x=e.settings.x||Math.max(0,a.w/2-t.w/2),t.y=e.settings.y||Math.max(0,a.h/2-t.h/2),t},renderHtml:function(){var e=this,t=e._layout,n=e._id,r=e.classPrefix,i=e.settings,o="",a="",s=i.html;return e.preRender(),t.preRender(e),i.title&&(o='
                '+e.encode(i.title)+'
                '),i.url&&(s=''),"undefined"==typeof s&&(s=t.renderHtml(e)),e.statusbar&&(a=e.statusbar.renderHtml()),'
                '+o+'
                '+s+"
                "+a+"
                "},fullscreen:function(e){var t=this,i=document.documentElement,a,s=t.classPrefix,l;if(e!=t._fullscreen)if(r(window).on("resize",function(){var e;if(t._fullscreen)if(a)t._timer||(t._timer=setTimeout(function(){var e=n.getWindowSize();t.moveTo(0,0).resizeTo(e.w,e.h),t._timer=0},50));else{e=(new Date).getTime();var r=n.getWindowSize();t.moveTo(0,0).resizeTo(r.w,r.h),(new Date).getTime()-e>50&&(a=!0)}}),l=t.layoutRect(),t._fullscreen=e,e){t._initial={x:l.x,y:l.y,w:l.w,h:l.h},t.borderBox=o.parseBox("0"),t.getEl("head").style.display="none",l.deltaH-=l.headerH+2,r([i,document.body]).addClass(s+"fullscreen"),t.classes.add("fullscreen");var c=n.getWindowSize();t.moveTo(0,0).resizeTo(c.w,c.h)}else t.borderBox=o.parseBox(t.settings.border),t.getEl("head").style.display="",l.deltaH+=l.headerH,r([i,document.body]).removeClass(s+"fullscreen"),t.classes.remove("fullscreen"),t.moveTo(t._initial.x,t._initial.y).resizeTo(t._initial.w,t._initial.h);return t.reflow()},postRender:function(){var e=this,t;setTimeout(function(){e.classes.add("in")},0),e._super(),e.statusbar&&e.statusbar.postRender(),e.focus(),this.dragHelper=new i(e._id+"-dragh",{start:function(){t={x:e.layoutRect().x,y:e.layoutRect().y}},drag:function(n){e.moveTo(t.x+n.deltaX,t.y+n.deltaY)}}),e.on("submit",function(t){t.isDefaultPrevented()||e.close()}),u.push(e),s(!0)},submit:function(){return this.fire("submit",{data:this.toJSON()})},remove:function(){var e=this,t;for(e.dragHelper.destroy(),e._super(),e.statusbar&&this.statusbar.remove(),t=u.length;t--;)u[t]===e&&u.splice(t,1);s(u.length>0),l(e.classPrefix)},getContentWindow:function(){var e=this.getEl().getElementsByTagName("iframe")[0];return e?e.contentWindow:null}});return a.desktop||c(),f}),r(fe,[de],function(e){var t=e.extend({init:function(e){e={border:1,padding:20,layout:"flex",pack:"center",align:"center",containerCls:"panel",autoScroll:!0,buttons:{type:"button",text:"Ok",action:"ok"},items:{type:"label",multiline:!0,maxWidth:500,maxHeight:200}},this._super(e)},Statics:{OK:1,OK_CANCEL:2,YES_NO:3,YES_NO_CANCEL:4,msgBox:function(n){function r(e,t,n){return{type:"button",text:e,subtype:n?"primary":"",onClick:function(e){e.control.parents()[1].close(),o(t)}}}var i,o=n.callback||function(){};switch(n.buttons){case t.OK_CANCEL:i=[r("Ok",!0,!0),r("Cancel",!1)];break;case t.YES_NO:case t.YES_NO_CANCEL:i=[r("Yes",1,!0),r("No",0)],n.buttons==t.YES_NO_CANCEL&&i.push(r("Cancel",-1));break;default:i=[r("Ok",!0,!0)]}return new e({padding:20,x:n.x,y:n.y,minWidth:300,minHeight:100,layout:"flex",pack:"center",align:"center",buttons:i,title:n.title,role:"alertdialog",items:{type:"label",multiline:!0,maxWidth:500,maxHeight:200,text:n.text},onPostRender:function(){this.aria("describedby",this.items()[0]._id)},onClose:n.onClose,onCancel:function(){o(!1)}}).renderTo(document.body).reflow()},alert:function(e,n){return"string"==typeof e&&(e={text:e}),e.callback=n,t.msgBox(e)},confirm:function(e,n){return"string"==typeof e&&(e={text:e}),e.callback=n,e.buttons=t.OK_CANCEL,t.msgBox(e)}}});return t}),r(he,[de,fe],function(e,t){return function(n){function r(){return o.length?o[o.length-1]:void 0}var i=this,o=[];i.windows=o,n.on("remove",function(){for(var e=o.length;e--;)o[e].close()}),i.open=function(t,r){var i;return n.editorManager.setActive(n),t.title=t.title||" ",t.url=t.url||t.file,t.url&&(t.width=parseInt(t.width||320,10),t.height=parseInt(t.height||240,10)),t.body&&(t.items={defaults:t.defaults,type:t.bodyType||"form",items:t.body}),t.url||t.buttons||(t.buttons=[{text:"Ok",subtype:"primary",onclick:function(){i.find("form")[0].submit()}},{text:"Cancel",onclick:function(){i.close()}}]),i=new e(t),o.push(i),i.on("close",function(){for(var e=o.length;e--;)o[e]===i&&o.splice(e,1);o.length||n.focus()}),t.data&&i.on("postRender",function(){this.find("*").each(function(e){var n=e.name();n in t.data&&e.value(t.data[n])})}),i.features=t||{},i.params=r||{},1===o.length&&n.nodeChanged(),i.renderTo().reflow()},i.alert=function(e,r,i){t.alert(e,function(){r?r.call(i||this):n.focus()})},i.confirm=function(e,n,r){t.confirm(e,function(e){n.call(r||this,e)})},i.close=function(){r()&&r().close()},i.getParams=function(){return r()?r().params:null},i.setParams=function(e){r()&&(r().params=e)},i.getWindows=function(){return o}}}),r(pe,[D,w,m,E,v,u,f],function(e,t,n,r,i,o,a){return function(s){function l(e,t){try{s.getDoc().execCommand(e,!1,t)}catch(n){}}function c(){var e=s.getDoc().documentMode;return e?e:6}function u(e){return e.isDefaultPrevented()}function d(e){var t,n;e.dataTransfer&&(s.selection.isCollapsed()&&"IMG"==e.target.tagName&&J.select(e.target),t=s.selection.getContent(),t.length>0&&(n=ie+escape(s.id)+","+escape(t),e.dataTransfer.setData(oe,n)))}function f(e){var t;return e.dataTransfer&&(t=e.dataTransfer.getData(oe),t&&t.indexOf(ie)>=0)?(t=t.substr(ie.length).split(","),{id:unescape(t[0]),html:unescape(t[1])}):null}function h(e){s.queryCommandSupported("mceInsertClipboardContent")?s.execCommand("mceInsertClipboardContent",!1,{content:e}):s.execCommand("mceInsertContent",!1,e)}function p(){function r(e){var t=v.schema.getBlockElements(),n=s.getBody();if("BR"!=e.nodeName)return!1;for(e=e;e!=n&&!t[e.nodeName];e=e.parentNode)if(e.nextSibling)return!1;return!0}function i(e,t){var n;for(n=e.nextSibling;n&&n!=t;n=n.nextSibling)if((3!=n.nodeType||0!==K.trim(n.data).length)&&n!==t)return!1;return n===t}function o(e,t,i){var o,a,s;for(s=v.schema.getNonEmptyElements(),o=new n(i||e,e);a=o[t?"next":"prev"]();){if(s[a.nodeName]&&!r(a))return a;if(3==a.nodeType&&a.data.length>0)return a}}function l(e){var n,r,i,a,l;if(!e.collapsed&&(n=v.getParent(t.getNode(e.startContainer,e.startOffset),v.isBlock),r=v.getParent(t.getNode(e.endContainer,e.endOffset),v.isBlock),l=s.schema.getTextBlockElements(),n!=r&&l[n.nodeName]&&l[r.nodeName]&&"false"!==v.getContentEditable(n)&&"false"!==v.getContentEditable(r)))return e.deleteContents(),i=o(n,!1),a=o(r,!0),v.isEmpty(r)||K(n).append(r.childNodes),K(r).remove(),i?1==i.nodeType?"BR"==i.nodeName?(e.setStartBefore(i),e.setEndBefore(i)):(e.setStartAfter(i),e.setEndAfter(i)):(e.setStart(i,i.data.length),e.setEnd(i,i.data.length)):a&&(1==a.nodeType?(e.setStartBefore(a),e.setEndBefore(a)):(e.setStart(a,0),e.setEnd(a,0))),y.setRng(e),!0}function c(e,n){var r,a,l,c,u,d;if(!e.collapsed)return e;if(u=e.startContainer,d=e.startOffset,3==u.nodeType)if(n){if(d0)return e;if(r=t.getNode(e.startContainer,e.startOffset),l=v.getParent(r,v.isBlock),a=o(s.getBody(),n,r),c=v.getParent(a,v.isBlock),!r||!a)return e;if(c&&l!=c)if(n){if(!i(l,c))return e;1==r.nodeType?"BR"==r.nodeName?e.setStartBefore(r):e.setStartAfter(r):e.setStart(r,r.data.length),1==a.nodeType?e.setEnd(a,0):e.setEndBefore(a)}else{if(!i(c,l))return e;1==a.nodeType?"BR"==a.nodeName?e.setStartBefore(a):e.setStartAfter(a):e.setStart(a,a.data.length),1==r.nodeType?e.setEnd(r,0):e.setEndBefore(r)}return e}function p(e){var t=y.getRng();return t=c(t,e),l(t)?!0:void 0}function m(e){var t,n,r;p(e)||(a.each(s.getBody().getElementsByTagName("*"),function(e){"SPAN"==e.tagName&&e.setAttribute("mce-data-marked",1),!e.hasAttribute("data-mce-style")&&e.hasAttribute("style")&&s.dom.setAttrib(e,"style",s.dom.getAttrib(e,"style"))}),t=new b(function(){}),t.observe(s.getDoc(),{childList:!0,attributes:!0,subtree:!0,attributeFilter:["style"]}),s.getDoc().execCommand(e?"ForwardDelete":"Delete",!1,null),n=s.selection.getRng(),r=n.startContainer.parentNode,a.each(t.takeRecords(),function(e){if(v.isChildOf(e.target,s.getBody())){if("style"==e.attributeName){var t=e.target.getAttribute("data-mce-style");t?e.target.setAttribute("style",t):e.target.removeAttribute("style")}a.each(e.addedNodes,function(e){if("SPAN"==e.nodeName&&!e.getAttribute("mce-data-marked")){var t,i;e==r&&(t=n.startOffset,i=e.firstChild),v.remove(e,!0),i&&(n.setStart(i,t),n.setEnd(i,t),s.selection.setRng(n))}})}}),t.disconnect(),a.each(s.dom.select("span[mce-data-marked]"),function(e){e.removeAttribute("mce-data-marked")}))}var g=s.getDoc(),v=s.dom,y=s.selection,b=window.MutationObserver,x,C;b||(x=!0,b=function(){function e(e){var t=e.relatedNode||e.target;n.push({target:t,addedNodes:[t]})}function t(e){var t=e.relatedNode||e.target;n.push({target:t,attributeName:e.attrName})}var n=[],r;this.observe=function(n){r=n,r.addEventListener("DOMSubtreeModified",e,!1),r.addEventListener("DOMNodeInsertedIntoDocument",e,!1),r.addEventListener("DOMNodeInserted",e,!1),r.addEventListener("DOMAttrModified",t,!1)},this.disconnect=function(){r.removeEventListener("DOMSubtreeModified",e,!1),r.removeEventListener("DOMNodeInsertedIntoDocument",e,!1),r.removeEventListener("DOMNodeInserted",e,!1),r.removeEventListener("DOMAttrModified",t,!1)},this.takeRecords=function(){return n}}),s.on("keydown",function(e){var t=e.keyCode==G,n=e.ctrlKey||e.metaKey;if(!u(e)&&(t||e.keyCode==Y)){var r=s.selection.getRng(),i=r.startContainer,o=r.startOffset;if(!n&&r.collapsed&&3==i.nodeType&&(t?o0))return;e.preventDefault(),n&&s.selection.getSel().modify("extend",t?"forward":"backward",e.metaKey?"lineboundary":"word"),m(t)}}),s.on("keypress",function(t){if(!u(t)&&!y.isCollapsed()&&t.charCode&&!e.metaKeyPressed(t)){var n,r,i,o,a,l;n=s.selection.getRng(),l=String.fromCharCode(t.charCode),t.preventDefault(),r=K(n.startContainer).parents().filter(function(e,t){return!!s.schema.getTextInlineElements()[t.nodeName]}),m(!0),r=r.filter(function(e,t){return!K.contains(s.getBody(),t)}),r.length?(i=v.createFragment(), -r.each(function(e,t){t=t.cloneNode(!1),i.hasChildNodes()?(t.appendChild(i.firstChild),i.appendChild(t)):(a=t,i.appendChild(t)),i.appendChild(t)}),a.appendChild(s.getDoc().createTextNode(l)),o=v.getParent(n.startContainer,v.isBlock),v.isEmpty(o)?K(o).empty().append(i):n.insertNode(i),n.setStart(a.firstChild,1),n.setEnd(a.firstChild,1),s.selection.setRng(n)):s.selection.setContent(l)}}),s.addCommand("Delete",function(){m()}),s.addCommand("ForwardDelete",function(){m(!0)}),x||(s.on("dragstart",function(e){C=y.getRng(),d(e)}),s.on("drop",function(e){if(!u(e)){var n=f(e);n&&(e.preventDefault(),window.setTimeout(function(){var r=t.getCaretRangeFromPoint(e.x,e.y,g);C&&(y.setRng(C),C=null),m(),y.setRng(r),h(n.html)},0))}}),s.on("cut",function(e){u(e)||!e.clipboardData||s.selection.isCollapsed()||(e.preventDefault(),e.clipboardData.clearData(),e.clipboardData.setData("text/html",s.selection.getContent()),e.clipboardData.setData("text/plain",s.selection.getContent({format:"text"})),window.setTimeout(function(){m(!0)},0))}))}function m(){function e(e){var t=X.create("body"),n=e.cloneContents();return t.appendChild(n),J.serializer.serialize(t,{format:"html"})}function n(n){if(!n.setStart){if(n.item)return!1;var r=n.duplicate();return r.moveToElementText(s.getBody()),t.compareRanges(n,r)}var i=e(n),o=X.createRng();o.selectNode(s.getBody());var a=e(o);return i===a}s.on("keydown",function(e){var t=e.keyCode,r,i;if(!u(e)&&(t==G||t==Y)){if(r=s.selection.isCollapsed(),i=s.getBody(),r&&!X.isEmpty(i))return;if(!r&&!n(s.selection.getRng()))return;e.preventDefault(),s.setContent(""),i.firstChild&&X.isBlock(i.firstChild)?s.selection.setCursorLocation(i.firstChild,0):s.selection.setCursorLocation(i,0),s.nodeChanged()}})}function g(){s.shortcuts.add("meta+a",null,"SelectAll")}function v(){s.settings.content_editable||(X.bind(s.getDoc(),"focusin",function(){J.setRng(J.getRng())}),X.bind(s.getDoc(),"mousedown mouseup",function(e){e.target==s.getDoc().documentElement&&(s.getBody().focus(),"mousedown"==e.type?J.placeCaretAt(e.clientX,e.clientY):J.setRng(J.getRng()))}))}function y(){s.on("keydown",function(e){if(!u(e)&&e.keyCode===Y){if(!s.getBody().getElementsByTagName("hr").length)return;if(J.isCollapsed()&&0===J.getRng(!0).startOffset){var t=J.getNode(),n=t.previousSibling;if("HR"==t.nodeName)return X.remove(t),void e.preventDefault();n&&n.nodeName&&"hr"===n.nodeName.toLowerCase()&&(X.remove(n),e.preventDefault())}}})}function b(){window.Range.prototype.getClientRects||s.on("mousedown",function(e){if(!u(e)&&"HTML"===e.target.nodeName){var t=s.getBody();t.blur(),setTimeout(function(){t.focus()},0)}})}function x(){s.on("click",function(e){var t=e.target;/^(IMG|HR)$/.test(t.nodeName)&&(e.preventDefault(),J.getSel().setBaseAndExtent(t,0,t,1),s.nodeChanged()),"A"==t.nodeName&&X.hasClass(t,"mce-item-anchor")&&(e.preventDefault(),J.select(t))})}function C(){function e(){var e=X.getAttribs(J.getStart().cloneNode(!1));return function(){var t=J.getStart();t!==s.getBody()&&(X.setAttrib(t,"style",null),j(e,function(e){t.setAttributeNode(e.cloneNode(!0))}))}}function t(){return!J.isCollapsed()&&X.getParent(J.getStart(),X.isBlock)!=X.getParent(J.getEnd(),X.isBlock)}s.on("keypress",function(n){var r;return u(n)||8!=n.keyCode&&46!=n.keyCode||!t()?void 0:(r=e(),s.getDoc().execCommand("delete",!1,null),r(),n.preventDefault(),!1)}),X.bind(s.getDoc(),"cut",function(n){var r;!u(n)&&t()&&(r=e(),setTimeout(function(){r()},0))})}function w(){document.body.setAttribute("role","application")}function _(){s.on("keydown",function(e){if(!u(e)&&e.keyCode===Y&&J.isCollapsed()&&0===J.getRng(!0).startOffset){var t=J.getNode().previousSibling;if(t&&t.nodeName&&"table"===t.nodeName.toLowerCase())return e.preventDefault(),!1}})}function E(){c()>7||(l("RespectVisibilityInDesign",!0),s.contentStyles.push(".mceHideBrInPre pre br {display: none}"),X.addClass(s.getBody(),"mceHideBrInPre"),Z.addNodeFilter("pre",function(e){for(var t=e.length,n,i,o,a;t--;)for(n=e[t].getAll("br"),i=n.length;i--;)o=n[i],a=o.prev,a&&3===a.type&&"\n"!=a.value.charAt(a.value-1)?a.value+="\n":o.parent.insert(new r("#text",3),o,!0).value="\n"}),ee.addNodeFilter("pre",function(e){for(var t=e.length,n,r,i,o;t--;)for(n=e[t].getAll("br"),r=n.length;r--;)i=n[r],o=i.prev,o&&3==o.type&&(o.value=o.value.replace(/\r?\n$/,""))}))}function N(){X.bind(s.getBody(),"mouseup",function(){var e,t=J.getNode();"IMG"==t.nodeName&&((e=X.getStyle(t,"width"))&&(X.setAttrib(t,"width",e.replace(/[^0-9%]+/g,"")),X.setStyle(t,"width","")),(e=X.getStyle(t,"height"))&&(X.setAttrib(t,"height",e.replace(/[^0-9%]+/g,"")),X.setStyle(t,"height","")))})}function S(){s.on("keydown",function(t){var n,r,i,o,a;if(!u(t)&&t.keyCode==e.BACKSPACE&&(n=J.getRng(),r=n.startContainer,i=n.startOffset,o=X.getRoot(),a=r,n.collapsed&&0===i)){for(;a&&a.parentNode&&a.parentNode.firstChild==a&&a.parentNode!=o;)a=a.parentNode;"BLOCKQUOTE"===a.tagName&&(s.formatter.toggle("blockquote",null,a),n=X.createRng(),n.setStart(r,0),n.setEnd(r,0),J.setRng(n))}})}function k(){function e(){s._refreshContentEditable(),l("StyleWithCSS",!1),l("enableInlineTableEditing",!1),Q.object_resizing||l("enableObjectResizing",!1)}Q.readonly||s.on("BeforeExecCommand MouseDown",e)}function T(){function e(){j(X.select("a"),function(e){var t=e.parentNode,n=X.getRoot();if(t.lastChild===e){for(;t&&!X.isBlock(t);){if(t.parentNode.lastChild!==t||t===n)return;t=t.parentNode}X.add(t,"br",{"data-mce-bogus":1})}})}s.on("SetContent ExecCommand",function(t){("setcontent"==t.type||"mceInsertLink"===t.command)&&e()})}function R(){Q.forced_root_block&&s.on("init",function(){l("DefaultParagraphSeparator",Q.forced_root_block)})}function A(){s.on("Undo Redo SetContent",function(e){e.initial||s.execCommand("mceRepaint")})}function B(){s.on("keydown",function(e){var t;u(e)||e.keyCode!=Y||(t=s.getDoc().selection.createRange(),t&&t.item&&(e.preventDefault(),s.undoManager.beforeChange(),X.remove(t.item(0)),s.undoManager.add()))})}function D(){var e;c()>=10&&(e="",j("p div h1 h2 h3 h4 h5 h6".split(" "),function(t,n){e+=(n>0?",":"")+t+":empty"}),s.contentStyles.push(e+"{padding-right: 1px !important}"))}function M(){c()<9&&(Z.addNodeFilter("noscript",function(e){for(var t=e.length,n,r;t--;)n=e[t],r=n.firstChild,r&&n.attr("data-mce-innertext",r.value)}),ee.addNodeFilter("noscript",function(e){for(var t=e.length,n,o,a;t--;)n=e[t],o=e[t].firstChild,o?o.value=i.decode(o.value):(a=n.attributes.map["data-mce-innertext"],a&&(n.attr("data-mce-innertext",null),o=new r("#text",3),o.value=a,o.raw=!0,n.append(o)))}))}function L(){function e(e,t){var n=i.createTextRange();try{n.moveToPoint(e,t)}catch(r){n=null}return n}function t(t){var r;t.button?(r=e(t.x,t.y),r&&(r.compareEndPoints("StartToStart",a)>0?r.setEndPoint("StartToStart",a):r.setEndPoint("EndToEnd",a),r.select())):n()}function n(){var e=r.selection.createRange();a&&!e.item&&0===e.compareEndPoints("StartToEnd",e)&&a.select(),X.unbind(r,"mouseup",n),X.unbind(r,"mousemove",t),a=o=0}var r=X.doc,i=r.body,o,a,s;r.documentElement.unselectable=!0,X.bind(r,"mousedown contextmenu",function(i){if("HTML"===i.target.nodeName){if(o&&n(),s=r.documentElement,s.scrollHeight>s.clientHeight)return;o=1,a=e(i.x,i.y),a&&(X.bind(r,"mouseup",n),X.bind(r,"mousemove",t),X.getRoot().focus(),a.select())}})}function H(){s.on("keyup focusin mouseup",function(t){65==t.keyCode&&e.metaKeyPressed(t)||J.normalize()},!0)}function P(){s.contentStyles.push("img:-moz-broken {-moz-force-broken-image-icon:1;min-width:24px;min-height:24px}")}function O(){s.inline||s.on("keydown",function(){document.activeElement==document.body&&s.getWin().focus()})}function I(){s.inline||(s.contentStyles.push("body {min-height: 150px}"),s.on("click",function(e){if("HTML"==e.target.nodeName){var t;t=s.selection.getRng(),s.getBody().focus(),s.selection.setRng(t),s.selection.normalize(),s.nodeChanged()}}))}function F(){o.mac&&s.on("keydown",function(t){!e.metaKeyPressed(t)||t.shiftKey||37!=t.keyCode&&39!=t.keyCode||(t.preventDefault(),s.selection.getSel().modify("move",37==t.keyCode?"backward":"forward","lineboundary"))})}function z(){l("AutoUrlDetect",!1)}function W(){s.inline||s.on("focus blur beforegetcontent",function(){var e=s.dom.create("br");s.getBody().appendChild(e),e.parentNode.removeChild(e)},!0)}function V(){s.on("click",function(e){var t=e.target;do if("A"===t.tagName)return void e.preventDefault();while(t=t.parentNode)}),s.contentStyles.push(".mce-content-body {-webkit-touch-callout: none}")}function U(){s.on("init",function(){s.dom.bind(s.getBody(),"submit",function(e){e.preventDefault()})})}function $(){Z.addNodeFilter("br",function(e){for(var t=e.length;t--;)"Apple-interchange-newline"==e[t].attr("class")&&e[t].remove()})}function q(){s.on("dragstart",function(e){d(e)}),s.on("drop",function(e){if(!u(e)){var n=f(e);if(n&&n.id!=s.id){e.preventDefault();var r=t.getCaretRangeFromPoint(e.x,e.y,s.getDoc());J.setRng(r),h(n.html)}}})}var j=a.each,K=s.$,Y=e.BACKSPACE,G=e.DELETE,X=s.dom,J=s.selection,Q=s.settings,Z=s.parser,ee=s.serializer,te=o.gecko,ne=o.ie,re=o.webkit,ie="data:text/mce-internal,",oe=ne?"Text":"URL";S(),m(),H(),re&&(p(),v(),x(),R(),U(),_(),$(),o.iOS?(O(),I(),V()):g()),ne&&o.ie<11&&(y(),w(),E(),N(),B(),D(),M(),L()),o.ie>=11&&(I(),W(),_()),o.ie&&(g(),z(),q()),te&&(y(),b(),C(),k(),T(),A(),P(),F(),_())}}),r(me,[K,b,f],function(e,t,n){function r(e,t){return"selectionchange"==t?e.getDoc():!e.inline&&/^mouse|click|contextmenu|drop|dragover|dragend/.test(t)?e.getDoc().documentElement:e.settings.event_root?(e.eventRoot||(e.eventRoot=o.select(e.settings.event_root)[0]),e.eventRoot):e.getBody()}function i(e,t){var n=r(e,t),i;if(e.delegates||(e.delegates={}),!e.delegates[t])if(e.settings.event_root){if(a||(a={},e.editorManager.on("removeEditor",function(){var t;if(!e.editorManager.activeEditor&&a){for(t in a)e.dom.unbind(r(e,t));a=null}})),a[t])return;i=function(n){for(var r=n.target,i=e.editorManager.editors,a=i.length;a--;){var s=i[a].getBody();(s===r||o.isChildOf(r,s))&&(i[a].hidden||i[a].fire(t,n))}},a[t]=i,o.bind(n,t,i)}else i=function(n){e.hidden||e.fire(t,n)},o.bind(n,t,i),e.delegates[t]=i}var o=t.DOM,a,s={bindPendingEventDelegates:function(){var e=this;n.each(e._pendingNativeEvents,function(t){i(e,t)})},toggleNativeEvent:function(e,t){var n=this;n.settings.readonly||"focus"!=e&&"blur"!=e&&(t?n.initialized?i(n,e):n._pendingNativeEvents?n._pendingNativeEvents.push(e):n._pendingNativeEvents=[e]:n.initialized&&(n.dom.unbind(r(n,e),e,n.delegates[e]),delete n.delegates[e]))},unbindAllNativeEvents:function(){var e=this,t;if(e.delegates){for(t in e.delegates)e.dom.unbind(r(e,t),t,e.delegates[t]);delete e.delegates}e.inline||(e.getBody().onload=null,e.dom.unbind(e.getWin()),e.dom.unbind(e.getDoc())),e.dom.unbind(e.getBody()),e.dom.unbind(e.getContainer())}};return s=n.extend({},e,s)}),r(ge,[f,u],function(e,t){var n=e.each,r=e.explode,i={f9:120,f10:121,f11:122},o=e.makeMap("alt,ctrl,shift,meta,access");return function(a){function s(e,s,l,c){var u,d,f;f={func:l,scope:c||a,desc:a.translate(s)},n(r(e,"+"),function(e){e in o?f[e]=!0:/^[0-9]{2,}$/.test(e)?f.keyCode=parseInt(e,10):(f.charCode=e.charCodeAt(0),f.keyCode=i[e]||e.toUpperCase().charCodeAt(0))}),u=[f.keyCode];for(d in o)f[d]?u.push(d):f[d]=!1;return f.id=u.join(","),f.access&&(f.alt=!0,t.mac?f.ctrl=!0:f.shift=!0),f.meta&&(t.mac?f.meta=!0:(f.ctrl=!0,f.meta=!1)),f}var l=this,c={};a.on("keyup keypress keydown",function(e){(e.altKey||e.ctrlKey||e.metaKey)&&!e.isDefaultPrevented()&&n(c,function(t){return t.ctrl==e.ctrlKey&&t.meta==e.metaKey&&t.alt==e.altKey&&t.shift==e.shiftKey&&(e.keyCode==t.keyCode||e.charCode&&e.charCode==t.charCode)?(e.preventDefault(),"keydown"==e.type&&t.func.call(t.scope),!0):void 0})}),l.add=function(t,i,o,l){var u;return u=o,"string"==typeof o?o=function(){a.execCommand(u,!1,null)}:e.isArray(u)&&(o=function(){a.execCommand(u[0],u[1],u[2])}),n(r(t.toLowerCase()),function(e){var t=s(e,i,o,l);c[t.id]=t}),!0},l.remove=function(e){var t=s(e);return c[t.id]?(delete c[t.id],!0):!1}}}),r(ve,[],function(){function e(e,t){return function(){e.apply(t,arguments)}}function t(t){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=null,this._value=null,this._deferreds=[],s(t,e(r,this),e(i,this))}function n(e){var t=this;return null===this._state?void this._deferreds.push(e):void l(function(){var n=t._state?e.onFulfilled:e.onRejected;if(null===n)return void(t._state?e.resolve:e.reject)(t._value);var r;try{r=n(t._value)}catch(i){return void e.reject(i)}e.resolve(r)})}function r(t){try{if(t===this)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var n=t.then;if("function"==typeof n)return void s(e(n,t),e(r,this),e(i,this))}this._state=!0,this._value=t,o.call(this)}catch(a){i.call(this,a)}}function i(e){this._state=!1,this._value=e,o.call(this)}function o(){for(var e=0,t=this._deferreds.length;t>e;e++)n.call(this,this._deferreds[e]);this._deferreds=null}function a(e,t,n,r){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.resolve=n,this.reject=r}function s(e,t,n){var r=!1;try{e(function(e){r||(r=!0,t(e))},function(e){r||(r=!0,n(e))})}catch(i){if(r)return;r=!0,n(i)}}if(window.Promise)return window.Promise;var l=t.immediateFn||"function"==typeof setImmediate&&setImmediate||function(e){setTimeout(e,1)},c=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};return t.prototype["catch"]=function(e){return this.then(null,e)},t.prototype.then=function(e,r){var i=this;return new t(function(t,o){n.call(i,new a(e,r,t,o))})},t.all=function(){var e=Array.prototype.slice.call(1===arguments.length&&c(arguments[0])?arguments[0]:arguments);return new t(function(t,n){function r(o,a){try{if(a&&("object"==typeof a||"function"==typeof a)){var s=a.then;if("function"==typeof s)return void s.call(a,function(e){r(o,e)},n)}e[o]=a,0===--i&&t(e)}catch(l){n(l)}}if(0===e.length)return t([]);for(var i=e.length,o=0;or;r++)e[r].then(t,n)})},t}),r(ye,[],function(){function e(e){return function(){return e}}return{constant:e}}),r(be,[ve,f,ye],function(e,t,n){return function(r){function i(e){var t,n;return n={"image/jpeg":"jpg","image/jpg":"jpg","image/gif":"gif","image/png":"png"},t=n[e.blob().type.toLowerCase()]||"dat",e.id()+"."+t}function o(e,t){return e?e.replace(/\/$/,"")+"/"+t.replace(/^\//,""):t}function a(e){return{id:e.id,blob:e.blob,base64:e.base64,filename:n.constant(i(e))}}function s(e,t,n){var a,s;a=new XMLHttpRequest,a.open("POST",r.url),a.withCredentials=r.credentials,a.onload=function(){var e;return 200!=a.status?void n("HTTP Error: "+a.status):(e=JSON.parse(a.responseText),e&&"string"==typeof e.location?void t(o(r.basePath,e.location)):void n("Invalid JSON: "+a.responseText))},s=new FormData,s.append("file",e.blob(),i(e)),a.send(s)}function l(n){function i(t){return new e(function(e){var n=r.handler;n(a(t),function(n){e({url:n,blobInfo:t,status:!0})},function(n){e({url:"",blobInfo:t,status:!1,error:n})})})}var o;return r.url||r.handler!==s?(o=t.map(n,function(e){var t,n=e.id();return c[n]?c[n]:(t=i(e).then(function(e){return delete c[n],e})["catch"](function(e){return delete c[n],e}),c[n]=t,t)}),e.all(o)):new e(function(e){e([])})}var c={};return r=t.extend({credentials:!1,handler:s},r),{upload:l}}}),r(xe,[ve],function(e){function t(t){return new e(function(e){var n=new XMLHttpRequest;n.open("GET",t,!0),n.responseType="blob",n.onload=function(){200==this.status&&e(this.response)},n.send()})}function n(e){var t,n;return e=decodeURIComponent(e).split(","),n=/data:([^;]+)/.exec(e[0]),n&&(t=n[1]),{type:t,data:e[1]}}function r(t){return new e(function(e){var r,i,o;t=n(t);try{r=atob(t.data)}catch(a){return void e(new Blob([]))}for(i=new Uint8Array(r.length),o=0;o",visual:!0,font_size_style_values:"xx-small,x-small,small,medium,large,x-large,xx-large",font_size_legacy_values:"xx-small,small,medium,large,x-large,xx-large,300%",forced_root_block:"p",hidden_input:!0,padd_empty_editor:!0,render_ui:!0,indentation:"30px",inline_styles:!0,convert_fonts_to_spans:!0,indent:"simple",indent_before:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,article,hgroup,aside,figure,option,optgroup,datalist",indent_after:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,article,hgroup,aside,figure,option,optgroup,datalist",validate:!0,entity_encoding:"named",url_converter:o.convertURL,url_converter_scope:o,ie7_compat:!0},t),r.language=t.language||"en",r.languageLoad=t.language_load,r.baseURL=i.baseURL,o.id=t.id=e,o.isNotDirty=!0,o.plugins={},o.documentBaseURI=new p(t.document_base_url||a,{base_uri:s}),o.baseURI=s,o.contentCSS=[],o.contentStyles=[],o.shortcuts=new E(o),o.loadedCSS={},o.editorCommands=new h(o),t.target&&(o.targetElm=t.target),o.suffix=i.suffix,o.editorManager=i,o.inline=t.inline,t.cache_suffix&&(C.cacheSuffix=t.cache_suffix.replace(/^[\?\&]+/,"")),t.override_viewport===!1&&(C.overrideViewPort=!1),i.fire("SetupEditor",o),o.execCallback("setup",o),o.$=n.overrideDefaults(function(){return{context:o.inline?o.getBody():o.getDoc(),element:o.getBody()}})}var k=e.DOM,T=r.ThemeManager,R=r.PluginManager,A=w.extend,B=w.each,D=w.explode,M=w.inArray,L=w.trim,H=w.resolve,P=g.Event,O=C.gecko,I=C.ie;return S.prototype={render:function(){function e(){k.unbind(window,"ready",e),n.render()}function t(){var e=m.ScriptLoader;if(r.language&&"en"!=r.language&&!r.language_url&&(r.language_url=n.editorManager.baseURL+"/langs/"+r.language+".js"),r.language_url&&e.add(r.language_url),r.theme&&"function"!=typeof r.theme&&"-"!=r.theme.charAt(0)&&!T.urls[r.theme]){var t=r.theme_url;t=t?n.documentBaseURI.toAbsolute(t):"themes/"+r.theme+"/theme"+o+".js",T.load(r.theme,t)}w.isArray(r.plugins)&&(r.plugins=r.plugins.join(" ")),B(r.external_plugins,function(e,t){R.load(t,e),r.plugins+=" "+t}),B(r.plugins.split(/[ ,]/),function(e){if(e=L(e),e&&!R.urls[e])if("-"==e.charAt(0)){e=e.substr(1,e.length);var t=R.dependencies(e);B(t,function(e){var t={prefix:"plugins/",resource:e,suffix:"/plugin"+o+".js"};e=R.createUrl(t,e),R.load(e.resource,e)})}else R.load(e,{prefix:"plugins/",resource:e,suffix:"/plugin"+o+".js"})}),e.loadQueue(function(){n.removed||n.init()})}var n=this,r=n.settings,i=n.id,o=n.suffix;if(!P.domLoaded)return void k.bind(window,"ready",e);if(n.getElement()&&C.contentEditable){r.inline?n.inline=!0:(n.orgVisibility=n.getElement().style.visibility,n.getElement().style.visibility="hidden");var a=n.getElement().form||k.getParent(i,"form");a&&(n.formElement=a,r.hidden_input&&!/TEXTAREA|INPUT/i.test(n.getElement().nodeName)&&(k.insertAfter(k.create("input",{type:"hidden",name:i}),i),n.hasHiddenInput=!0),n.formEventDelegate=function(e){n.fire(e.type,e)},k.bind(a,"submit reset",n.formEventDelegate),n.on("reset",function(){n.setContent(n.startContent,{format:"raw"})}),!r.submit_patch||a.submit.nodeType||a.submit.length||a._mceOldSubmit||(a._mceOldSubmit=a.submit,a.submit=function(){return n.editorManager.triggerSave(),n.isNotDirty=!0,a._mceOldSubmit(a)})),n.windowManager=new v(n),"xml"==r.encoding&&n.on("GetContent",function(e){e.save&&(e.content=k.encode(e.content))}),r.add_form_submit_trigger&&n.on("submit",function(){n.initialized&&n.save()}),r.add_unload_trigger&&(n._beforeUnload=function(){!n.initialized||n.destroyed||n.isHidden()||n.save({format:"raw",no_events:!0,set_dirty:!1})},n.editorManager.on("BeforeUnload",n._beforeUnload)),t()}},init:function(){function e(n){var r=R.get(n),i,o;i=R.urls[n]||t.documentBaseUrl.replace(/\/$/,""),n=L(n),r&&-1===M(m,n)&&(B(R.dependencies(n),function(t){e(t)}),o=new r(t,i,t.$),t.plugins[n]=o,o.init&&(o.init(t,i),m.push(n)))}var t=this,n=t.settings,r=t.getElement(),i,o,a,s,l,c,u,d,f,h,p,m=[];if(this.editorManager.i18n.setCode(n.language),t.rtl=n.rtl_ui||this.editorManager.i18n.rtl,t.editorManager.add(t),n.aria_label=n.aria_label||k.getAttrib(r,"aria-label",t.getLang("aria.rich_text_area")),n.theme&&("function"!=typeof n.theme?(n.theme=n.theme.replace(/-/,""),c=T.get(n.theme),t.theme=new c(t,T.urls[n.theme]),t.theme.init&&t.theme.init(t,T.urls[n.theme]||t.documentBaseUrl.replace(/\/$/,""),t.$)):t.theme=n.theme),B(n.plugins.replace(/\-/g,"").split(/[ ,]/),e),n.render_ui&&t.theme&&(t.orgDisplay=r.style.display,"function"!=typeof n.theme?(i=n.width||r.style.width||r.offsetWidth,o=n.height||r.style.height||r.offsetHeight,a=n.min_height||100,h=/^[0-9\.]+(|px)$/i,h.test(""+i)&&(i=Math.max(parseInt(i,10),100)),h.test(""+o)&&(o=Math.max(parseInt(o,10),a)),l=t.theme.renderUI({targetNode:r,width:i,height:o,deltaWidth:n.delta_width,deltaHeight:n.delta_height}),n.content_editable||(o=(l.iframeHeight||o)+("number"==typeof o?l.deltaHeight||0:""),a>o&&(o=a))):(l=n.theme(t,r),l.editorContainer.nodeType&&(l.editorContainer=l.editorContainer.id=l.editorContainer.id||t.id+"_parent"),l.iframeContainer.nodeType&&(l.iframeContainer=l.iframeContainer.id=l.iframeContainer.id||t.id+"_iframecontainer"),o=l.iframeHeight||r.offsetHeight),t.editorContainer=l.editorContainer),n.content_css&&B(D(n.content_css),function(e){t.contentCSS.push(t.documentBaseURI.toAbsolute(e))}),n.content_style&&t.contentStyles.push(n.content_style),n.content_editable)return r=s=l=null,t.initContentBody();for(t.iframeHTML=n.doctype+"",n.document_base_url!=t.documentBaseUrl&&(t.iframeHTML+=''),!C.caretAfter&&n.ie7_compat&&(t.iframeHTML+=''),t.iframeHTML+='',p=0;p',t.loadedCSS[g]=!0}d=n.body_id||"tinymce",-1!=d.indexOf("=")&&(d=t.getParam("body_id","","hash"),d=d[t.id]||d),f=n.body_class||"",-1!=f.indexOf("=")&&(f=t.getParam("body_class","","hash"),f=f[t.id]||""),n.content_security_policy&&(t.iframeHTML+=''),t.iframeHTML+='
                ';var v='javascript:(function(){document.open();document.domain="'+document.domain+'";var ed = window.parent.tinymce.get("'+t.id+'");document.write(ed.iframeHTML);document.close();ed.initContentBody(true);})()';document.domain!=location.hostname&&(u=v);var y=k.create("iframe",{id:t.id+"_ifr",frameBorder:"0",allowTransparency:"true",title:t.editorManager.translate("Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help"),style:{width:"100%",height:o,display:"block"}});if(y.onload=function(){y.onload=null,t.fire("load")},k.setAttrib(y,"src",u||'javascript:""'),t.contentAreaContainer=l.iframeContainer,t.iframeElement=y,s=k.add(l.iframeContainer,y),I)try{t.getDoc()}catch(b){s.src=u=v}l.editorContainer&&(k.get(l.editorContainer).style.display=t.orgDisplay,t.hidden=k.isHidden(l.editorContainer)),t.getElement().style.display="none",k.setAttrib(t.id,"aria-hidden",!0),u||t.initContentBody(),r=s=l=null},initContentBody:function(t){var n=this,r=n.settings,s=n.getElement(),h=n.getDoc(),p,m;r.inline||(n.getElement().style.visibility=n.orgVisibility),t||r.content_editable||(h.open(),h.write(n.iframeHTML),h.close()),r.content_editable&&(n.on("remove",function(){var e=this.getBody();k.removeClass(e,"mce-content-body"),k.removeClass(e,"mce-edit-focus"),k.setAttrib(e,"contentEditable",null)}),k.addClass(s,"mce-content-body"),n.contentDocument=h=r.content_document||document,n.contentWindow=r.content_window||window,n.bodyElement=s,r.content_document=r.content_window=null,r.root_name=s.nodeName.toLowerCase()),p=n.getBody(),p.disabled=!0,r.readonly||(n.inline&&"static"==k.getStyle(p,"position",!0)&&(p.style.position="relative"),p.contentEditable=n.getParam("content_editable_state",!0)),p.disabled=!1,n.editorUpload=new N(n),n.schema=new y(r),n.dom=new e(h,{keep_values:!0,url_converter:n.convertURL,url_converter_scope:n,hex_colors:r.force_hex_style_colors,class_filter:r.class_filter,update_styles:!0,root_element:n.inline?n.getBody():null,collect:r.content_editable,schema:n.schema,onSetAttrib:function(e){n.fire("SetAttrib",e)}}),n.parser=new b(r,n.schema),n.parser.addAttributeFilter("src,href,style,tabindex",function(e,t){for(var r=e.length,i,o=n.dom,a,s;r--;)if(i=e[r],a=i.attr(t),s="data-mce-"+t,!i.attributes.map[s]){if(0===a.indexOf("data:")||0===a.indexOf("blob:"))continue;"style"===t?(a=o.serializeStyle(o.parseStyle(a),i.name),a.length||(a=null),i.attr(s,a),i.attr(t,a)):"tabindex"===t?(i.attr(s,a),i.attr(t,null)):i.attr(s,n.convertURL(a,t,i.name))}}),n.parser.addNodeFilter("script",function(e){for(var t=e.length,n;t--;)n=e[t],n.attr("type","mce-"+(n.attr("type")||"no/type"))}),n.parser.addNodeFilter("#cdata",function(e){for(var t=e.length,n;t--;)n=e[t],n.type=8,n.name="#comment",n.value="[CDATA["+n.value+"]]"}),n.parser.addNodeFilter("p,h1,h2,h3,h4,h5,h6,div",function(e){for(var t=e.length,r,i=n.schema.getNonEmptyElements();t--;)r=e[t],r.isEmpty(i)&&(r.append(new o("br",1)).shortEnded=!0)}),n.serializer=new a(r,n),n.selection=new l(n.dom,n.getWin(),n.serializer,n),n.formatter=new c(n),n.undoManager=new u(n),n.forceBlocks=new f(n),n.enterKey=new d(n),n._nodeChangeDispatcher=new i(n),n.fire("PreInit"),r.browser_spellcheck||r.gecko_spellcheck||(h.body.spellcheck=!1,k.setAttrib(p,"spellcheck","false")),n.fire("PostRender"),n.quirks=new x(n),r.directionality&&(p.dir=r.directionality),r.nowrap&&(p.style.whiteSpace="nowrap"),r.protect&&n.on("BeforeSetContent",function(e){B(r.protect,function(t){e.content=e.content.replace(t,function(e){return""})})}),n.on("SetContent",function(){n.addVisual(n.getBody())}),r.padd_empty_editor&&n.on("PostProcess",function(e){e.content=e.content.replace(/^(]*>( | |\s|\u00a0|)<\/p>[\r\n]*|
                [\r\n]*)$/,"")}),n.load({initial:!0,format:"html"}),n.startContent=n.getContent({format:"raw"}),n.initialized=!0,n.bindPendingEventDelegates(),n.fire("init"),n.focus(!0),n.nodeChanged({initial:!0}),n.execCallback("init_instance_callback",n),n.contentStyles.length>0&&(m="",B(n.contentStyles,function(e){m+=e+"\r\n"}),n.dom.addStyle(m)),B(n.contentCSS,function(e){n.loadedCSS[e]||(n.dom.loadCSS(e),n.loadedCSS[e]=!0)}),r.auto_focus&&setTimeout(function(){var e;e=r.auto_focus===!0?n:n.editorManager.get(r.auto_focus),e.destroyed||e.focus()},100),s=h=p=null},focus:function(e){var t=this,n=t.selection,r=t.settings.content_editable,i,o,a=t.getDoc(),s;if(!e){if(i=n.getRng(),i.item&&(o=i.item(0)),t._refreshContentEditable(),r||(C.opera||t.getBody().focus(),t.getWin().focus()),O||r){if(s=t.getBody(),s.setActive)try{s.setActive()}catch(l){s.focus()}else s.focus();r&&n.normalize()}o&&o.ownerDocument==a&&(i=a.body.createControlRange(),i.addElement(o),i.select())}t.editorManager.setActive(t)},execCallback:function(e){var t=this,n=t.settings[e],r;if(n)return t.callbackLookup&&(r=t.callbackLookup[e])&&(n=r.func,r=r.scope),"string"==typeof n&&(r=n.replace(/\.\w+$/,""),r=r?H(r):0,n=H(n),t.callbackLookup=t.callbackLookup||{},t.callbackLookup[e]={func:n,scope:r}),n.apply(r||t,Array.prototype.slice.call(arguments,1))},translate:function(e){var t=this.settings.language||"en",n=this.editorManager.i18n;return e?n.data[t+"."+e]||e.replace(/\{\#([^\}]+)\}/g,function(e,r){return n.data[t+"."+r]||"{#"+r+"}"}):""},getLang:function(e,n){return this.editorManager.i18n.data[(this.settings.language||"en")+"."+e]||(n!==t?n:"{#"+e+"}")},getParam:function(e,t,n){var r=e in this.settings?this.settings[e]:t,i;return"hash"===n?(i={},"string"==typeof r?B(r.indexOf("=")>0?r.split(/[;,](?![^=;,]*(?:[;,]|$))/):r.split(","),function(e){e=e.split("="), -e.length>1?i[L(e[0])]=L(e[1]):i[L(e[0])]=L(e)}):i=r,i):r},nodeChanged:function(e){this._nodeChangeDispatcher.nodeChanged(e)},addButton:function(e,t){var n=this;t.cmd&&(t.onclick=function(){n.execCommand(t.cmd)}),t.text||t.icon||(t.icon=e),n.buttons=n.buttons||{},t.tooltip=t.tooltip||t.title,n.buttons[e]=t},addMenuItem:function(e,t){var n=this;t.cmd&&(t.onclick=function(){n.execCommand(t.cmd)}),n.menuItems=n.menuItems||{},n.menuItems[e]=t},addContextToolbar:function(e,t){var n=this,r;n.contextToolbars=n.contextToolbars||[],"string"==typeof e&&(r=e,e=function(e){return n.dom.is(e,r)}),n.contextToolbars.push({predicate:e,items:t})},addCommand:function(e,t,n){this.editorCommands.addCommand(e,t,n)},addQueryStateHandler:function(e,t,n){this.editorCommands.addQueryStateHandler(e,t,n)},addQueryValueHandler:function(e,t,n){this.editorCommands.addQueryValueHandler(e,t,n)},addShortcut:function(e,t,n,r){this.shortcuts.add(e,t,n,r)},execCommand:function(e,t,n,r){return this.editorCommands.execCommand(e,t,n,r)},queryCommandState:function(e){return this.editorCommands.queryCommandState(e)},queryCommandValue:function(e){return this.editorCommands.queryCommandValue(e)},queryCommandSupported:function(e){return this.editorCommands.queryCommandSupported(e)},show:function(){var e=this;e.hidden&&(e.hidden=!1,e.inline?e.getBody().contentEditable=!0:(k.show(e.getContainer()),k.hide(e.id)),e.load(),e.fire("show"))},hide:function(){var e=this,t=e.getDoc();e.hidden||(I&&t&&!e.inline&&t.execCommand("SelectAll"),e.save(),e.inline?(e.getBody().contentEditable=!1,e==e.editorManager.focusedEditor&&(e.editorManager.focusedEditor=null)):(k.hide(e.getContainer()),k.setStyle(e.id,"display",e.orgDisplay)),e.hidden=!0,e.fire("hide"))},isHidden:function(){return!!this.hidden},setProgressState:function(e,t){this.fire("ProgressState",{state:e,time:t})},load:function(e){var n=this,r=n.getElement(),i;return r?(e=e||{},e.load=!0,i=n.setContent(r.value!==t?r.value:r.innerHTML,e),e.element=r,e.no_events||n.fire("LoadContent",e),e.element=r=null,i):void 0},save:function(e){var t=this,n=t.getElement(),r,i;if(n&&t.initialized)return e=e||{},e.save=!0,e.element=n,r=e.content=t.getContent(e),e.no_events||t.fire("SaveContent",e),"raw"==e.format&&t.fire("RawSaveContent",e),r=e.content,/TEXTAREA|INPUT/i.test(n.nodeName)?n.value=r:(t.inline||(n.innerHTML=r),(i=k.getParent(t.id,"form"))&&B(i.elements,function(e){return e.name==t.id?(e.value=r,!1):void 0})),e.element=n=null,e.set_dirty!==!1&&(t.isNotDirty=!0),r},setContent:function(e,t){var n=this,r=n.getBody(),i;return t=t||{},t.format=t.format||"html",t.set=!0,t.content=e,t.no_events||n.fire("BeforeSetContent",t),e=t.content,0===e.length||/^\s+$/.test(e)?(i=n.settings.forced_root_block,i&&n.schema.isValidChild(r.nodeName.toLowerCase(),i.toLowerCase())?(e=I&&11>I?"":'
                ',e=n.dom.createHTML(i,n.settings.forced_root_block_attrs,e)):I||(e='
                '),n.dom.setHTML(r,e),n.fire("SetContent",t)):("raw"!==t.format&&(e=new s({},n.schema).serialize(n.parser.parse(e,{isRootContent:!0}))),t.content=L(e),n.dom.setHTML(r,t.content),t.no_events||n.fire("SetContent",t)),t.content},getContent:function(e){var t=this,n,r=t.getBody();return e=e||{},e.format=e.format||"html",e.get=!0,e.getInner=!0,e.no_events||t.fire("BeforeGetContent",e),n="raw"==e.format?r.innerHTML:"text"==e.format?r.innerText||r.textContent:t.serializer.serialize(r,e),"text"!=e.format?e.content=L(n):e.content=n,e.no_events||t.fire("GetContent",e),e.content},insertContent:function(e,t){t&&(e=A({content:e},t)),this.execCommand("mceInsertContent",!1,e)},isDirty:function(){return!this.isNotDirty},getContainer:function(){var e=this;return e.container||(e.container=k.get(e.editorContainer||e.id+"_parent")),e.container},getContentAreaContainer:function(){return this.contentAreaContainer},getElement:function(){return this.targetElm||(this.targetElm=k.get(this.id)),this.targetElm},getWin:function(){var e=this,t;return e.contentWindow||(t=e.iframeElement,t&&(e.contentWindow=t.contentWindow)),e.contentWindow},getDoc:function(){var e=this,t;return e.contentDocument||(t=e.getWin(),t&&(e.contentDocument=t.document)),e.contentDocument},getBody:function(){return this.bodyElement||this.getDoc().body},convertURL:function(e,t,n){var r=this,i=r.settings;return i.urlconverter_callback?r.execCallback("urlconverter_callback",e,n,!0,t):!i.convert_urls||n&&"LINK"==n.nodeName||0===e.indexOf("file:")||0===e.length?e:i.relative_urls?r.documentBaseURI.toRelative(e):e=r.documentBaseURI.toAbsolute(e,i.remove_script_host)},addVisual:function(e){var n=this,r=n.settings,i=n.dom,o;e=e||n.getBody(),n.hasVisual===t&&(n.hasVisual=r.visual),B(i.select("table,a",e),function(e){var t;switch(e.nodeName){case"TABLE":return o=r.visual_table_class||"mce-item-table",t=i.getAttrib(e,"border"),void(t&&"0"!=t||!n.hasVisual?i.removeClass(e,o):i.addClass(e,o));case"A":return void(i.getAttrib(e,"href",!1)||(t=i.getAttrib(e,"name")||e.id,o=r.visual_anchor_class||"mce-item-anchor",t&&n.hasVisual?i.addClass(e,o):i.removeClass(e,o)))}}),n.fire("VisualAid",{element:e,hasVisual:n.hasVisual})},remove:function(){var e=this;e.removed||(e.save(),e.removed=1,e.unbindAllNativeEvents(),e.hasHiddenInput&&k.remove(e.getElement().nextSibling),e.inline||(I&&10>I&&e.getDoc().execCommand("SelectAll",!1,null),k.setStyle(e.id,"display",e.orgDisplay),e.getBody().onload=null),e.fire("remove"),e.editorManager.remove(e),k.remove(e.getContainer()),e.editorUpload.destroy(),e.destroy())},destroy:function(e){var t=this,n;if(!t.destroyed){if(!e&&!t.removed)return void t.remove();e||(t.editorManager.off("beforeunload",t._beforeUnload),t.theme&&t.theme.destroy&&t.theme.destroy(),t.selection.destroy(),t.dom.destroy()),n=t.formElement,n&&(n._mceOldSubmit&&(n.submit=n._mceOldSubmit,n._mceOldSubmit=null),k.unbind(n,"submit reset",t.formEventDelegate)),t.contentAreaContainer=t.formElement=t.container=t.editorContainer=null,t.bodyElement=t.contentDocument=t.contentWindow=null,t.iframeElement=t.targetElm=null,t.selection&&(t.selection=t.selection.win=t.selection.dom=t.selection.dom.doc=null),t.destroyed=1}},uploadImages:function(e){return this.editorUpload.uploadImages(e)},_scanForImages:function(){return this.editorUpload.scanForImages()},_refreshContentEditable:function(){var e=this,t,n;e._isHidden()&&(t=e.getBody(),n=t.parentNode,n.removeChild(t),n.appendChild(t),t.focus())},_isHidden:function(){var e;return O?(e=this.selection.getSel(),!e||!e.rangeCount||0===e.rangeCount):0}},A(S.prototype,_),S}),r(Ne,[],function(){var e={},t="en";return{setCode:function(e){e&&(t=e,this.rtl=this.data[e]?"rtl"===this.data[e]._dir:!1)},getCode:function(){return t},rtl:!1,add:function(t,n){var r=e[t];r||(e[t]=r={});for(var i in n)r[i]=n[i];this.setCode(t)},translate:function(n){var r;if(r=e[t],r||(r={}),"undefined"==typeof n)return n;if("string"!=typeof n&&n.raw)return n.raw;if(n.push){var i=n.slice(1);n=(r[n[0]]||n[0]).replace(/\{([0-9]+)\}/g,function(e,t){return i[t]})}return(r[n]||n).replace(/{context:\w+}$/,"")},data:e}}),r(Se,[b,u],function(e,t){function n(e){function s(){try{return document.activeElement}catch(e){return document.body}}function l(e,t){if(t&&t.startContainer){if(!e.isChildOf(t.startContainer,e.getRoot())||!e.isChildOf(t.endContainer,e.getRoot()))return;return{startContainer:t.startContainer,startOffset:t.startOffset,endContainer:t.endContainer,endOffset:t.endOffset}}return t}function c(e,t){var n;return t.startContainer?(n=e.getDoc().createRange(),n.setStart(t.startContainer,t.startOffset),n.setEnd(t.endContainer,t.endOffset)):n=t,n}function u(e){return!!a.getParent(e,n.isEditorUIElement)}function d(n){var d=n.editor;d.on("init",function(){(d.inline||t.ie)&&("onbeforedeactivate"in document&&t.ie<9?d.dom.bind(d.getBody(),"beforedeactivate",function(e){if(e.target==d.getBody())try{d.lastRng=d.selection.getRng()}catch(t){}}):d.on("nodechange mouseup keyup",function(e){var t=s();"nodechange"==e.type&&e.selectionChange||(t&&t.id==d.id+"_ifr"&&(t=d.getBody()),d.dom.isChildOf(t,d.getBody())&&(d.lastRng=d.selection.getRng()))}),t.webkit&&!r&&(r=function(){var t=e.activeEditor;if(t&&t.selection){var n=t.selection.getRng();n&&!n.collapsed&&(d.lastRng=n)}},a.bind(document,"selectionchange",r)))}),d.on("setcontent",function(){d.lastRng=null}),d.on("mousedown",function(){d.selection.lastFocusBookmark=null}),d.on("focusin",function(){var t=e.focusedEditor;d.selection.lastFocusBookmark&&(d.selection.setRng(c(d,d.selection.lastFocusBookmark)),d.selection.lastFocusBookmark=null),t!=d&&(t&&t.fire("blur",{focusedEditor:d}),e.setActive(d),e.focusedEditor=d,d.fire("focus",{blurredEditor:t}),d.focus(!0)),d.lastRng=null}),d.on("focusout",function(){window.setTimeout(function(){var t=e.focusedEditor;u(s())||t!=d||(d.fire("blur",{focusedEditor:null}),e.focusedEditor=null,d.selection&&(d.selection.lastFocusBookmark=null))},0)}),i||(i=function(t){var n=e.activeEditor;n&&t.target.ownerDocument==document&&(n.selection&&t.target!=n.getBody()&&(n.selection.lastFocusBookmark=l(n.dom,n.lastRng)),t.target==document.body||u(t.target)||e.focusedEditor!=n||(n.fire("blur",{focusedEditor:null}),e.focusedEditor=null))},a.bind(document,"focusin",i)),d.inline&&!o&&(o=function(t){var n=e.activeEditor;if(n.inline&&!n.dom.isChildOf(t.target,n.getBody())){var r=n.selection.getRng();r.collapsed||(n.lastRng=r)}},a.bind(document,"mouseup",o))}function f(t){e.focusedEditor==t.editor&&(e.focusedEditor=null),e.activeEditor||(a.unbind(document,"selectionchange",r),a.unbind(document,"focusin",i),a.unbind(document,"mouseup",o),r=i=o=null)}e.on("AddEditor",d),e.on("RemoveEditor",f)}var r,i,o,a=e.DOM;return n.isEditorUIElement=function(e){return-1!==e.className.toString().indexOf("mce-")},n}),r(ke,[Ee,h,b,U,u,f,K,Ne,Se],function(e,t,n,r,i,o,a,s,l){function c(e){m(b.editors,function(t){t.fire("ResizeWindow",e)})}function u(e,n){n!==x&&(n?t(window).on("resize",c):t(window).off("resize",c),x=n)}function d(e){var t=b.editors,n;delete t[e.id];for(var r=0;r0&&m(p(e),function(e){var n;(n=h.get(e))?r(e,t,n):m(document.forms,function(n){m(n.elements,function(n){n.name===e&&(e="mce_editor_"+v++,h.setAttrib(n,"id",e),r(e,t,n))})})});break;case"textareas":case"specific_textareas":m(h.select("textarea"),function(e){t.editor_deselector&&o(e,t.editor_deselector)||(!t.editor_selector||o(e,t.editor_selector))&&r(n(e),t,e)})}t.oninit&&(e=s=0,m(l,function(t){s++,t.initialized?e++:t.on("init",function(){e++,e==s&&i("oninit")}),e==s&&i("oninit")}))}var s=this,l=[];s.settings=t,h.bind(window,"ready",a)},get:function(e){return arguments.length?e in this.editors?this.editors[e]:null:this.editors},add:function(e){var t=this,n=t.editors;return n[e.id]=e,n.push(e),u(n,!0),t.activeEditor=e,t.fire("AddEditor",{editor:e}),y||(y=function(){t.fire("BeforeUnload")},h.bind(window,"beforeunload",y)),e},createEditor:function(t,n){return this.add(new e(t,n,this))},remove:function(e){var t=this,n,r=t.editors,i;{if(e)return"string"==typeof e?(e=e.selector||e,void m(h.select(e),function(e){i=r[e.id],i&&t.remove(i)})):(i=e,r[i.id]?(d(i)&&t.fire("RemoveEditor",{editor:i}),r.length||h.unbind(window,"beforeunload",y),i.remove(),u(r,r.length>0),i):null);for(n=r.length-1;n>=0;n--)t.remove(r[n])}},execCommand:function(t,n,r){var i=this,o=i.get(r);switch(t){case"mceAddEditor":return i.get(r)||new e(r,i.settings,i).render(),!0;case"mceRemoveEditor":return o&&o.remove(),!0;case"mceToggleEditor":return o?(o.isHidden()?o.show():o.hide(),!0):(i.execCommand("mceAddEditor",0,r),!0)}return i.activeEditor?i.activeEditor.execCommand(t,n,r):!1},triggerSave:function(){m(this.editors,function(e){e.save()})},addI18n:function(e,t){s.add(e,t)},translate:function(e){return s.translate(e)},setActive:function(e){var t=this.activeEditor;this.activeEditor!=e&&(t&&t.fire("deactivate",{relatedTarget:e}),e.fire("activate",{relatedTarget:t})),this.activeEditor=e}},g(b,a),b.setup(),window.tinymce=window.tinyMCE=b,b}),r(Te,[ke,f],function(e,t){var n=t.each,r=t.explode;e.on("AddEditor",function(e){var t=e.editor;t.on("preInit",function(){function e(e,t){n(t,function(t,n){t&&s.setStyle(e,n,t)}),s.rename(e,"span")}function i(e){s=t.dom,l.convert_fonts_to_spans&&n(s.select("font,u,strike",e.node),function(e){o[e.nodeName.toLowerCase()](s,e)})}var o,a,s,l=t.settings;l.inline_styles&&(a=r(l.font_size_legacy_values),o={font:function(t,n){e(n,{backgroundColor:n.style.backgroundColor,color:n.color,fontFamily:n.face,fontSize:a[parseInt(n.size,10)-1]})},u:function(n,r){"html4"===t.settings.schema&&e(r,{textDecoration:"underline"})},strike:function(t,n){e(n,{textDecoration:"line-through"})}},t.on("PreProcess SetContent",i))})})}),r(Re,[K,f],function(e,t){var n={send:function(e){function t(){!e.async||4==r.readyState||i++>1e4?(e.success&&1e4>i&&200==r.status?e.success.call(e.success_scope,""+r.responseText,r,e):e.error&&e.error.call(e.error_scope,i>1e4?"TIMED_OUT":"GENERAL",r,e),r=null):setTimeout(t,10)}var r,i=0;if(e.scope=e.scope||this,e.success_scope=e.success_scope||e.scope,e.error_scope=e.error_scope||e.scope,e.async=e.async===!1?!1:!0,e.data=e.data||"",r=new XMLHttpRequest){if(r.overrideMimeType&&r.overrideMimeType(e.content_type),r.open(e.type||(e.data?"POST":"GET"),e.url,e.async),e.crossDomain&&(r.withCredentials=!0),e.content_type&&r.setRequestHeader("Content-Type",e.content_type),r.setRequestHeader("X-Requested-With","XMLHttpRequest"),r=n.fire("beforeSend",{xhr:r,settings:e}).xhr,r.send(e.data),!e.async)return t();setTimeout(t,10)}}};return t.extend(n,e),n}),r(Ae,[],function(){function e(t,n){var r,i,o,a;if(n=n||'"',null===t)return"null";if(o=typeof t,"string"==o)return i="\bb t\nn\ff\rr\"\"''\\\\",n+t.replace(/([\u0080-\uFFFF\x00-\x1f\"\'\\])/g,function(e,t){return'"'===n&&"'"===e?e:(r=i.indexOf(t),r+1?"\\"+i.charAt(r+1):(e=t.charCodeAt().toString(16),"\\u"+"0000".substring(e.length)+e))})+n;if("object"==o){if(t.hasOwnProperty&&"[object Array]"===Object.prototype.toString.call(t)){for(r=0,i="[";r0?",":"")+e(t[r],n);return i+"]"}i="{";for(a in t)t.hasOwnProperty(a)&&(i+="function"!=typeof t[a]?(i.length>1?","+n:n)+a+n+":"+e(t[a],n):"");return i+"}"}return""+t}return{serialize:e,parse:function(e){try{return window[String.fromCharCode(101)+"val"]("("+e+")")}catch(t){}}}}),r(Be,[Ae,Re,f],function(e,t,n){function r(e){this.settings=i({},e),this.count=0}var i=n.extend;return r.sendRPC=function(e){return(new r).send(e)},r.prototype={send:function(n){var r=n.error,o=n.success;n=i(this.settings,n),n.success=function(t,i){t=e.parse(t),"undefined"==typeof t&&(t={error:"JSON Parse error."}),t.error?r.call(n.error_scope||n.scope,t.error,i):o.call(n.success_scope||n.scope,t.result)},n.error=function(e,t){r&&r.call(n.error_scope||n.scope,e,t)},n.data=e.serialize({id:n.id||"c"+this.count++,method:n.method,params:n.params}),n.content_type="application/json",t.send(n)}},r}),r(De,[b],function(e){return{callbacks:{},count:0,send:function(n){var r=this,i=e.DOM,o=n.count!==t?n.count:r.count,a="tinymce_jsonp_"+o;r.callbacks[o]=function(e){i.remove(a),delete r.callbacks[o],n.callback(e)},i.add(i.doc.body,"script",{id:a,src:n.url,type:"text/javascript"}),r.count++}}}),r(Me,[],function(){function e(){s=[];for(var e in a)s.push(e);i.length=s.length}function n(){function n(e){var n,r;return r=e!==t?u+e:i.indexOf(",",u),-1===r||r>i.length?null:(n=i.substring(u,r),u=r+1,n)}var r,i,s,u=0;if(a={},c){o.load(l),i=o.getAttribute(l)||"";do{var d=n();if(null===d)break;if(r=n(parseInt(d,32)||0),null!==r){if(d=n(),null===d)break;s=n(parseInt(d,32)||0),r&&(a[r]=s)}}while(null!==r);e()}}function r(){var t,n="";if(c){for(var r in a)t=a[r],n+=(n?",":"")+r.length.toString(32)+","+r+","+t.length.toString(32)+","+t;o.setAttribute(l,n);try{o.save(l)}catch(i){}e()}}var i,o,a,s,l,c;try{if(window.localStorage)return localStorage}catch(u){}return l="tinymce",o=document.documentElement,c=!!o.addBehavior,c&&o.addBehavior("#default#userData"),i={key:function(e){return s[e]},getItem:function(e){return e in a?a[e]:null},setItem:function(e,t){a[e]=""+t,r()},removeItem:function(e){delete a[e],r()},clear:function(){a={},r()}},n(),i}),r(Le,[b,l,x,C,f,u],function(e,t,n,r,i,o){var a=window.tinymce;return a.DOM=e.DOM,a.ScriptLoader=n.ScriptLoader,a.PluginManager=r.PluginManager,a.ThemeManager=r.ThemeManager,a.dom=a.dom||{},a.dom.Event=t.Event,i.each(i,function(e,t){a[t]=e}),i.each("isOpera isWebKit isIE isGecko isMac".split(" "),function(e){a[e]=o[e.substr(2).toLowerCase()]}),{}}),r(He,[$,f],function(e,t){return e.extend({Defaults:{firstControlClass:"first",lastControlClass:"last"},init:function(e){this.settings=t.extend({},this.Defaults,e)},preRender:function(e){e.bodyClasses.add(this.settings.containerClass)},applyClasses:function(e){var t=this,n=t.settings,r,i,o,a;r=n.firstControlClass,i=n.lastControlClass,e.each(function(e){e.classes.remove(r).remove(i).add(n.controlClass),e.visible()&&(o||(o=e),a=e)}),o&&o.classes.add(r),a&&a.classes.add(i)},renderHtml:function(e){var t=this,n="";return t.applyClasses(e.items()),e.items().each(function(e){n+=e.renderHtml()}),n},recalc:function(){},postRender:function(){},isNative:function(){return!1}})}),r(Pe,[He],function(e){return e.extend({Defaults:{containerClass:"abs-layout",controlClass:"abs-layout-item"},recalc:function(e){e.items().filter(":visible").each(function(e){var t=e.settings;e.layoutRect({x:t.x,y:t.y,w:t.w,h:t.h}),e.recalc&&e.recalc()})},renderHtml:function(e){return'
                '+this._super(e)}})}),r(Oe,[te,le],function(e,t){return e.extend({Mixins:[t],Defaults:{classes:"widget tooltip tooltip-n"},renderHtml:function(){var e=this,t=e.classPrefix;return'"},bindStates:function(){var e=this;return e.state.on("change:text",function(t){e.getEl().lastChild.innerHTML=e.encode(t.value)}),e._super()},repaint:function(){var e=this,t,n;t=e.getEl().style,n=e._layoutRect,t.left=n.x+"px",t.top=n.y+"px",t.zIndex=131070}})}),r(Ie,[te,Oe],function(e,t){var n,r=e.extend({init:function(e){var t=this;t._super(e),e=t.settings,t.canFocus=!0,e.tooltip&&r.tooltips!==!1&&(t.on("mouseenter",function(n){var r=t.tooltip().moveTo(-65535);if(n.control==t){var i=r.text(e.tooltip).show().testMoveRel(t.getEl(),["bc-tc","bc-tl","bc-tr"]);r.classes.toggle("tooltip-n","bc-tc"==i),r.classes.toggle("tooltip-nw","bc-tl"==i),r.classes.toggle("tooltip-ne","bc-tr"==i),r.moveRel(t.getEl(),i)}else r.hide()}),t.on("mouseleave mousedown click",function(){t.tooltip().hide()})),t.aria("label",e.ariaLabel||e.tooltip)},tooltip:function(){return n||(n=new t({type:"tooltip"}),n.renderTo()),n},postRender:function(){var e=this,t=e.settings;e._super(),e.parent()||!t.width&&!t.height||(e.initLayoutRect(),e.repaint()),t.autofocus&&e.focus()},bindStates:function(){function e(e){n.aria("disabled",e),n.classes.toggle("disabled",e)}function t(e){n.aria("pressed",e),n.classes.toggle("active",e)}var n=this;return n.state.on("change:disabled",function(t){e(t.value)}),n.state.on("change:active",function(e){t(e.value)}),n.state.get("disabled")&&e(!0),n.state.get("active")&&t(!0),n._super()},remove:function(){this._super(),n&&(n.remove(),n=null)}});return r}),r(Fe,[Ie],function(e){return e.extend({Defaults:{classes:"widget btn",role:"button"},init:function(e){var t=this,n;t._super(e),e=t.settings,n=t.settings.size,t.on("click mousedown",function(e){e.preventDefault()}),t.on("touchstart",function(e){t.fire("click",e),e.preventDefault()}),e.subtype&&t.classes.add(e.subtype),n&&t.classes.add("btn-"+n),e.icon&&t.icon(e.icon)},icon:function(e){return arguments.length?(this.state.set("icon",e),this):this.state.get("icon")},repaint:function(){var e=this.getEl().firstChild,t;e&&(t=e.style,t.width=t.height="100%"),this._super()},renderHtml:function(){var e=this,t=e._id,n=e.classPrefix,r=e.state.get("icon"),i,o=e.state.get("text");return i=e.settings.image,i?(r="none","string"!=typeof i&&(i=window.getSelection?i[0]:i[1]),i=" style=\"background-image: url('"+i+"')\""):i="",o&&e.classes.add("btn-has-text"),r=e.settings.icon?n+"ico "+n+"i-"+r:"",'
                "},bindStates:function(){function e(e){for(var n=t.getEl().firstChild.firstChild;n;n=n.nextSibling)3==n.nodeType&&(n.data=t.translate(e));t.classes.toggle("btn-has-text",!!e)}var t=this;return t.state.on("change:text",function(t){e(t.value)}),t.state.on("change:icon",function(n){var r=n.value,i=t.classPrefix;t.settings.icon=r,r=r?i+"ico "+i+"i-"+t.settings.icon:"";var o=t.getEl().firstChild,a=o.getElementsByTagName("i")[0];r?(a&&a==o.firstChild||(a=document.createElement("i"),o.insertBefore(a,o.firstChild)),a.className=r):a&&o.removeChild(a),e(t.state.get("text"))}),t._super()}})}),r(ze,[ie],function(e){return e.extend({Defaults:{defaultType:"button",role:"group"},renderHtml:function(){var e=this,t=e._layout;return e.classes.add("btn-group"),e.preRender(),t.preRender(e),'
                '+(e.settings.html||"")+t.renderHtml(e)+"
                "}})}),r(We,[Ie],function(e){return e.extend({Defaults:{classes:"checkbox",role:"checkbox",checked:!1},init:function(e){var t=this;t._super(e),t.on("click mousedown",function(e){e.preventDefault()}),t.on("click",function(e){e.preventDefault(),t.disabled()||t.checked(!t.checked())}),t.checked(t.settings.checked)},checked:function(e){return arguments.length?(this.state.set("checked",e),this):this.state.get("checked")},value:function(e){return arguments.length?this.checked(e):this.checked()},renderHtml:function(){var e=this,t=e._id,n=e.classPrefix;return'
                '+e.encode(e.state.get("text"))+"
                "},bindStates:function(){function e(e){t.classes.toggle("checked",e),t.aria("checked",e)}var t=this;return t.state.on("change:text",function(e){t.getEl("al").firstChild.data=t.translate(e.value)}),t.state.on("change:checked change:value",function(n){t.fire("change"),e(n.value)}),t.state.on("change:icon",function(e){var n=e.value,r=t.classPrefix;if("undefined"==typeof n)return t.settings.icon;t.settings.icon=n,n=n?r+"ico "+r+"i-"+t.settings.icon:"";var i=t.getEl().firstChild,o=i.getElementsByTagName("i")[0];n?(o&&o==i.firstChild||(o=document.createElement("i"),i.insertBefore(o,i.firstChild)),o.className=n):o&&i.removeChild(o)}),t.state.get("checked")&&e(!0),t._super()}})}),r(Ve,[Ie,ne,J,h],function(e,t,n,r){return e.extend({init:function(e){var t=this;t._super(e),e=t.settings,t.classes.add("combobox"),t.subinput=!0,t.ariaTarget="inp",e.menu=e.menu||e.values,e.menu&&(e.icon="caret"),t.on("click",function(n){var i=n.target,o=t.getEl();if(r.contains(o,i)||i==o)for(;i&&i!=o;)i.id&&-1!=i.id.indexOf("-open")&&(t.fire("action"),e.menu&&(t.showMenu(),n.aria&&t.menu.items()[0].focus())),i=i.parentNode}),t.on("keydown",function(e){"INPUT"==e.target.nodeName&&13==e.keyCode&&t.parents().reverse().each(function(n){var r=t.state.get("value"),i=t.getEl("inp").value;return e.preventDefault(),t.state.set("value",i),r!=i&&t.fire("change"),n.hasEventListeners("submit")&&n.toJSON?(n.fire("submit",{data:n.toJSON()}),!1):void 0})}),t.on("keyup",function(e){"INPUT"==e.target.nodeName&&t.state.set("value",e.target.value)})},showMenu:function(){var e=this,n=e.settings,r;e.menu||(r=n.menu||[],r.length?r={type:"menu",items:r}:r.type=r.type||"menu",e.menu=t.create(r).parent(e).renderTo(e.getContainerElm()),e.fire("createmenu"),e.menu.reflow(),e.menu.on("cancel",function(t){t.control===e.menu&&e.focus()}),e.menu.on("show hide",function(t){t.control.items().each(function(t){t.active(t.value()==e.value())})}).fire("show"),e.menu.on("select",function(t){e.value(t.control.value())}),e.on("focusin",function(t){"INPUT"==t.target.tagName.toUpperCase()&&e.menu.hide()}),e.aria("expanded",!0)),e.menu.show(),e.menu.layoutRect({w:e.layoutRect().w}),e.menu.moveRel(e.getEl(),e.isRtl()?["br-tr","tr-br"]:["bl-tl","tl-bl"])},focus:function(){this.getEl("inp").focus()},repaint:function(){var e=this,t=e.getEl(),i=e.getEl("open"),o=e.layoutRect(),a,s;a=i?o.w-n.getSize(i).width-10:o.w-10;var l=document;return l.all&&(!l.documentMode||l.documentMode<=8)&&(s=e.layoutRect().h-2+"px"),r(t.firstChild).css({width:a,lineHeight:s}),e._super(),e},postRender:function(){var e=this;return r(this.getEl("inp")).on("change",function(t){e.state.set("value",t.target.value),e.fire("change",t)}),e._super()},renderHtml:function(){var e=this,t=e._id,n=e.settings,r=e.classPrefix,i=e.state.get("value")||"",o,a,s="",l="";return"spellcheck"in n&&(l+=' spellcheck="'+n.spellcheck+'"'),n.maxLength&&(l+=' maxlength="'+n.maxLength+'"'),n.size&&(l+=' size="'+n.size+'"'),n.subtype&&(l+=' type="'+n.subtype+'"'),e.disabled()&&(l+=' disabled="disabled"'),o=n.icon,o&&"caret"!=o&&(o=r+"ico "+r+"i-"+n.icon),a=e.state.get("text"),(o||a)&&(s='
                ",e.classes.add("has-open")),'
                '+s+"
                "},value:function(e){return arguments.length?(this.state.set("value",e),this):(this.state.get("rendered")&&this.state.set("value",this.getEl("inp").value),this.state.get("value"))},bindStates:function(){var e=this;return e.state.on("change:value",function(t){e.getEl("inp").value!=t.value&&(e.getEl("inp").value=t.value)}),e.state.on("change:disabled",function(t){e.getEl("inp").disabled=t.value}),e._super()},remove:function(){r(this.getEl("inp")).off(),this._super()}})}),r(Ue,[Ve],function(e){return e.extend({init:function(e){var t=this;e.spellcheck=!1,e.onaction&&(e.icon="none"),t._super(e),t.classes.add("colorbox"),t.on("change keyup postrender",function(){t.repaintColor(t.value())})},repaintColor:function(e){var t=this.getEl().getElementsByTagName("i")[0];if(t)try{t.style.background=e}catch(n){}},bindStates:function(){var e=this;return e.state.on("change:value",function(t){e._rendered&&e.repaintColor(t.value)}),e._super()}})}),r($e,[Fe,ue],function(e,t){return e.extend({showPanel:function(){var e=this,n=e.settings;if(e.active(!0),e.panel)e.panel.show();else{var r=n.panel;r.type&&(r={layout:"grid",items:r}),r.role=r.role||"dialog",r.popover=!0,r.autohide=!0,r.ariaRoot=!0,e.panel=new t(r).on("hide",function(){e.active(!1)}).on("cancel",function(t){t.stopPropagation(),e.focus(),e.hidePanel()}).parent(e).renderTo(e.getContainerElm()),e.panel.fire("show"),e.panel.reflow()}e.panel.moveRel(e.getEl(),n.popoverAlign||(e.isRtl()?["bc-tr","bc-tc"]:["bc-tl","bc-tc"]))},hidePanel:function(){var e=this;e.panel&&e.panel.hide()},postRender:function(){var e=this;return e.aria("haspopup",!0),e.on("click",function(t){t.control===e&&(e.panel&&e.panel.visible()?e.hidePanel():(e.showPanel(),e.panel.focus(!!t.aria)))}),e._super()},remove:function(){return this.panel&&(this.panel.remove(),this.panel=null),this._super()}})}),r(qe,[$e,b],function(e,t){var n=t.DOM;return e.extend({init:function(e){this._super(e),this.classes.add("colorbutton")},color:function(e){return e?(this._color=e,this.getEl("preview").style.backgroundColor=e,this):this._color},resetColor:function(){return this._color=null,this.getEl("preview").style.backgroundColor=null,this},renderHtml:function(){var e=this,t=e._id,n=e.classPrefix,r=e.state.get("text"),i=e.settings.icon?n+"ico "+n+"i-"+e.settings.icon:"",o=e.settings.image?" style=\"background-image: url('"+e.settings.image+"')\"":"";return'
                '},postRender:function(){var e=this,t=e.settings.onclick;return e.on("click",function(r){r.aria&&"down"==r.aria.key||r.control!=e||n.getParent(r.target,"."+e.classPrefix+"open")||(r.stopImmediatePropagation(),t.call(e,r))}),delete e.settings.onclick,e._super()}})}),r(je,[],function(){function e(e){function i(e,i,o){var a,s,l,c,u,d;return a=0,s=0,l=0,e/=255,i/=255,o/=255,u=t(e,t(i,o)),d=n(e,n(i,o)),u==d?(l=u,{h:0,s:0,v:100*l}):(c=e==u?i-o:o==u?e-i:o-e,a=e==u?3:o==u?1:5,a=60*(a-c/(d-u)),s=(d-u)/d,l=d,{h:r(a),s:r(100*s),v:r(100*l)})}function o(e,i,o){var a,s,l,c;if(e=(parseInt(e,10)||0)%360,i=parseInt(i,10)/100,o=parseInt(o,10)/100,i=n(0,t(i,1)),o=n(0,t(o,1)),0===i)return void(d=f=h=r(255*o));switch(a=e/60,s=o*i,l=s*(1-Math.abs(a%2-1)),c=o-s,Math.floor(a)){case 0:d=s,f=l,h=0;break;case 1:d=l,f=s,h=0;break;case 2:d=0,f=s,h=l;break;case 3:d=0,f=l,h=s;break;case 4:d=l,f=0,h=s;break;case 5:d=s,f=0,h=l;break;default:d=f=h=0}d=r(255*(d+c)),f=r(255*(f+c)),h=r(255*(h+c))}function a(){function e(e){return e=parseInt(e,10).toString(16),e.length>1?e:"0"+e}return"#"+e(d)+e(f)+e(h)}function s(){return{r:d,g:f,b:h}}function l(){return i(d,f,h)}function c(e){var t;return"object"==typeof e?"r"in e?(d=e.r,f=e.g,h=e.b):"v"in e&&o(e.h,e.s,e.v):(t=/rgb\s*\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)[^\)]*\)/gi.exec(e))?(d=parseInt(t[1],10),f=parseInt(t[2],10),h=parseInt(t[3],10)):(t=/#([0-F]{2})([0-F]{2})([0-F]{2})/gi.exec(e))?(d=parseInt(t[1],16),f=parseInt(t[2],16),h=parseInt(t[3],16)):(t=/#([0-F])([0-F])([0-F])/gi.exec(e))&&(d=parseInt(t[1]+t[1],16),f=parseInt(t[2]+t[2],16),h=parseInt(t[3]+t[3],16)),d=0>d?0:d>255?255:d,f=0>f?0:f>255?255:f,h=0>h?0:h>255?255:h,u}var u=this,d=0,f=0,h=0; -e&&c(e),u.toRgb=s,u.toHsv=l,u.toHex=a,u.parse=c}var t=Math.min,n=Math.max,r=Math.round;return e}),r(Ke,[Ie,oe,J,je],function(e,t,n,r){return e.extend({Defaults:{classes:"widget colorpicker"},init:function(e){this._super(e)},postRender:function(){function e(e,t){var r=n.getPos(e),i,o;return i=t.pageX-r.x,o=t.pageY-r.y,i=Math.max(0,Math.min(i/e.clientWidth,1)),o=Math.max(0,Math.min(o/e.clientHeight,1)),{x:i,y:o}}function i(e,t){var i=(360-e.h)/360;n.css(d,{top:100*i+"%"}),t||n.css(h,{left:e.s+"%",top:100-e.v+"%"}),f.style.background=new r({s:100,v:100,h:e.h}).toHex(),s.color().parse({s:e.s,v:e.v,h:e.h})}function o(t){var n;n=e(f,t),c.s=100*n.x,c.v=100*(1-n.y),i(c),s.fire("change")}function a(t){var n;n=e(u,t),c=l.toHsv(),c.h=360*(1-n.y),i(c,!0),s.fire("change")}var s=this,l=s.color(),c,u,d,f,h;u=s.getEl("h"),d=s.getEl("hp"),f=s.getEl("sv"),h=s.getEl("svp"),s._repaint=function(){c=l.toHsv(),i(c)},s._super(),s._svdraghelper=new t(s._id+"-sv",{start:o,drag:o}),s._hdraghelper=new t(s._id+"-h",{start:a,drag:a}),s._repaint()},rgb:function(){return this.color().toRgb()},value:function(e){var t=this;return arguments.length?(t.color().parse(e),void(t._rendered&&t._repaint())):t.color().toHex()},color:function(){return this._color||(this._color=new r),this._color},renderHtml:function(){function e(){var e,t,n="",i,a;for(i="filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=",a=o.split(","),e=0,t=a.length-1;t>e;e++)n+='
                ';return n}var t=this,n=t._id,r=t.classPrefix,i,o="#ff0000,#ff0080,#ff00ff,#8000ff,#0000ff,#0080ff,#00ffff,#00ff80,#00ff00,#80ff00,#ffff00,#ff8000,#ff0000",a="background: -ms-linear-gradient(top,"+o+");background: linear-gradient(to bottom,"+o+");";return i='
                '+e()+'
                ','
                '+i+"
                "}})}),r(Ye,[Ie],function(e){return e.extend({init:function(e){var t=this;e.delimiter||(e.delimiter="\xbb"),t._super(e),t.classes.add("path"),t.canFocus=!0,t.on("click",function(e){var n,r=e.target;(n=r.getAttribute("data-index"))&&t.fire("select",{value:t.row()[n],index:n})}),t.row(t.settings.row)},focus:function(){var e=this;return e.getEl().firstChild.focus(),e},row:function(e){return arguments.length?(this.state.set("row",e),this):this.state.get("row")},renderHtml:function(){var e=this;return'
                '+e._getDataPathHtml(e.state.get("row"))+"
                "},bindStates:function(){var e=this;return e.state.on("change:row",function(t){e.innerHtml(e._getDataPathHtml(t.value))}),e._super()},_getDataPathHtml:function(e){var t=this,n=e||[],r,i,o="",a=t.classPrefix;for(r=0,i=n.length;i>r;r++)o+=(r>0?'":"")+'
                '+n[r].name+"
                ";return o||(o='
                \xa0
                '),o}})}),r(Ge,[Ye,ke],function(e,t){return e.extend({postRender:function(){function e(e){if(1===e.nodeType){if("BR"==e.nodeName||e.getAttribute("data-mce-bogus"))return!0;if("bookmark"===e.getAttribute("data-mce-type"))return!0}return!1}var n=this,r=t.activeEditor;return r.settings.elementpath!==!1&&(n.on("select",function(e){r.focus(),r.selection.select(this.row()[e.index].element),r.nodeChanged()}),r.on("nodeChange",function(t){for(var i=[],o=t.parents,a=o.length;a--;)if(1==o[a].nodeType&&!e(o[a])){var s=r.fire("ResolveName",{name:o[a].nodeName.toLowerCase(),target:o[a]});if(s.isDefaultPrevented()||i.push({name:s.name,element:o[a]}),s.isPropagationStopped())break}n.row(i)})),n._super()}})}),r(Xe,[ie],function(e){return e.extend({Defaults:{layout:"flex",align:"center",defaults:{flex:1}},renderHtml:function(){var e=this,t=e._layout,n=e.classPrefix;return e.classes.add("formitem"),t.preRender(e),'
                '+(e.settings.title?'
                '+e.settings.title+"
                ":"")+'
                '+(e.settings.html||"")+t.renderHtml(e)+"
                "}})}),r(Je,[ie,Xe,f],function(e,t,n){return e.extend({Defaults:{containerCls:"form",layout:"flex",direction:"column",align:"stretch",flex:1,padding:20,labelGap:30,spacing:10,callbacks:{submit:function(){this.submit()}}},preRender:function(){var e=this,r=e.items();e.settings.formItemDefaults||(e.settings.formItemDefaults={layout:"flex",autoResize:"overflow",defaults:{flex:1}}),r.each(function(r){var i,o=r.settings.label;o&&(i=new t(n.extend({items:{type:"label",id:r._id+"-l",text:o,flex:0,forId:r._id,disabled:r.disabled()}},e.settings.formItemDefaults)),i.type="formitem",r.aria("labelledby",r._id+"-l"),"undefined"==typeof r.settings.flex&&(r.settings.flex=1),e.replace(r,i),i.add(r))})},submit:function(){return this.fire("submit",{data:this.toJSON()})},postRender:function(){var e=this;e._super(),e.fromJSON(e.settings.data)},bindStates:function(){function e(){var e=0,n=[],r,i,o;if(t.settings.labelGapCalc!==!1)for(o="children"==t.settings.labelGapCalc?t.find("formitem"):t.items(),o.filter("formitem").each(function(t){var r=t.items()[0],i=r.getEl().clientWidth;e=i>e?i:e,n.push(r)}),i=t.settings.labelGap||0,r=n.length;r--;)n[r].settings.minWidth=e+i}var t=this;t._super(),t.on("show",e),e()}})}),r(Qe,[Je],function(e){return e.extend({Defaults:{containerCls:"fieldset",layout:"flex",direction:"column",align:"stretch",flex:1,padding:"25 15 5 15",labelGap:30,spacing:10,border:1},renderHtml:function(){var e=this,t=e._layout,n=e.classPrefix;return e.preRender(),t.preRender(e),'
                '+(e.settings.title?''+e.settings.title+"":"")+'
                '+(e.settings.html||"")+t.renderHtml(e)+"
                "}})}),r(Ze,[Ve,f],function(e,t){return e.extend({init:function(e){var n=this,r=tinymce.activeEditor,i=r.settings,o,a,s;e.spellcheck=!1,s=i.file_picker_types||i.file_browser_callback_types,s&&(s=t.makeMap(s,/[, ]/)),(!s||s[e.filetype])&&(a=i.file_picker_callback,!a||s&&!s[e.filetype]?(a=i.file_browser_callback,!a||s&&!s[e.filetype]||(o=function(){a(n.getEl("inp").id,n.value(),e.filetype,window)})):o=function(){var i=n.fire("beforecall").meta;i=t.extend({filetype:e.filetype},i),a.call(r,function(e,t){n.value(e).fire("change",{meta:t})},n.value(),i)}),o&&(e.icon="browse",e.onaction=o),n._super(e)}})}),r(et,[Pe],function(e){return e.extend({recalc:function(e){var t=e.layoutRect(),n=e.paddingBox;e.items().filter(":visible").each(function(e){e.layoutRect({x:n.left,y:n.top,w:t.innerW-n.right-n.left,h:t.innerH-n.top-n.bottom}),e.recalc&&e.recalc()})}})}),r(tt,[Pe],function(e){return e.extend({recalc:function(e){var t,n,r,i,o,a,s,l,c,u,d,f,h,p,m,g,v=[],y,b,x,C,w,_,E,N,S,k,T,R,A,B,D,M,L,H,P,O,I,F,z=Math.max,W=Math.min;for(r=e.items().filter(":visible"),i=e.layoutRect(),o=e.paddingBox,a=e.settings,f=e.isRtl()?a.direction||"row-reversed":a.direction,s=a.align,l=e.isRtl()?a.pack||"end":a.pack,c=a.spacing||0,("row-reversed"==f||"column-reverse"==f)&&(r=r.set(r.toArray().reverse()),f=f.split("-")[0]),"column"==f?(S="y",E="h",N="minH",k="maxH",R="innerH",T="top",A="deltaH",B="contentH",P="left",L="w",D="x",M="innerW",H="minW",O="right",I="deltaW",F="contentW"):(S="x",E="w",N="minW",k="maxW",R="innerW",T="left",A="deltaW",B="contentW",P="top",L="h",D="y",M="innerH",H="minH",O="bottom",I="deltaH",F="contentH"),d=i[R]-o[T]-o[T],_=u=0,t=0,n=r.length;n>t;t++)h=r[t],p=h.layoutRect(),m=h.settings,g=m.flex,d-=n-1>t?c:0,g>0&&(u+=g,p[k]&&v.push(h),p.flex=g),d-=p[N],y=o[P]+p[H]+o[O],y>_&&(_=y);if(C={},0>d?C[N]=i[N]-d+i[A]:C[N]=i[R]-d+i[A],C[H]=_+i[I],C[B]=i[R]-d,C[F]=_,C.minW=W(C.minW,i.maxW),C.minH=W(C.minH,i.maxH),C.minW=z(C.minW,i.startMinWidth),C.minH=z(C.minH,i.startMinHeight),!i.autoResize||C.minW==i.minW&&C.minH==i.minH){for(x=d/u,t=0,n=v.length;n>t;t++)h=v[t],p=h.layoutRect(),b=p[k],y=p[N]+p.flex*x,y>b?(d-=p[k]-p[N],u-=p.flex,p.flex=0,p.maxFlexSize=b):p.maxFlexSize=0;for(x=d/u,w=o[T],C={},0===u&&("end"==l?w=d+o[T]:"center"==l?(w=Math.round(i[R]/2-(i[R]-d)/2)+o[T],0>w&&(w=o[T])):"justify"==l&&(w=o[T],c=Math.floor(d/(r.length-1)))),C[D]=o[P],t=0,n=r.length;n>t;t++)h=r[t],p=h.layoutRect(),y=p.maxFlexSize||p[N],"center"===s?C[D]=Math.round(i[M]/2-p[L]/2):"stretch"===s?(C[L]=z(p[H]||0,i[M]-o[P]-o[O]),C[D]=o[P]):"end"===s&&(C[D]=i[M]-p[L]-o.top),p.flex>0&&(y+=p.flex*x),C[E]=y,C[S]=w,h.layoutRect(C),h.recalc&&h.recalc(),w+=y+c}else if(C.w=C.minW,C.h=C.minH,e.layoutRect(C),this.recalc(e),null===e._lastRect){var V=e.parent();V&&(V._lastRect=null,V.recalc())}}})}),r(nt,[He],function(e){return e.extend({Defaults:{containerClass:"flow-layout",controlClass:"flow-layout-item",endClass:"break"},recalc:function(e){e.items().filter(":visible").each(function(e){e.recalc&&e.recalc()})},isNative:function(){return!0}})}),r(rt,[te,Ie,ue,f,ke,u],function(e,t,n,r,i,o){function a(e){function t(t,n){return function(){var r=this;e.on("nodeChange",function(i){var o=e.formatter,a=null;s(i.parents,function(e){return s(t,function(t){return n?o.matchNode(e,n,{value:t.value})&&(a=t.value):o.matchNode(e,t.value)&&(a=t.value),a?!1:void 0}),a?!1:void 0}),r.value(a)})}}function r(e){e=e.replace(/;$/,"").split(";");for(var t=e.length;t--;)e[t]=e[t].split("=");return e}function i(){function t(e){var n=[];if(e)return s(e,function(e){var o={text:e.title,icon:e.icon};if(e.items)o.menu=t(e.items);else{var a=e.format||"custom"+r++;e.format||(e.name=a,i.push(e)),o.format=a,o.cmd=e.cmd}n.push(o)}),n}function n(){var n;return n=t(e.settings.style_formats_merge?e.settings.style_formats?o.concat(e.settings.style_formats):o:e.settings.style_formats||o)}var r=0,i=[],o=[{title:"Headings",items:[{title:"Heading 1",format:"h1"},{title:"Heading 2",format:"h2"},{title:"Heading 3",format:"h3"},{title:"Heading 4",format:"h4"},{title:"Heading 5",format:"h5"},{title:"Heading 6",format:"h6"}]},{title:"Inline",items:[{title:"Bold",icon:"bold",format:"bold"},{title:"Italic",icon:"italic",format:"italic"},{title:"Underline",icon:"underline",format:"underline"},{title:"Strikethrough",icon:"strikethrough",format:"strikethrough"},{title:"Superscript",icon:"superscript",format:"superscript"},{title:"Subscript",icon:"subscript",format:"subscript"},{title:"Code",icon:"code",format:"code"}]},{title:"Blocks",items:[{title:"Paragraph",format:"p"},{title:"Blockquote",format:"blockquote"},{title:"Div",format:"div"},{title:"Pre",format:"pre"}]},{title:"Alignment",items:[{title:"Left",icon:"alignleft",format:"alignleft"},{title:"Center",icon:"aligncenter",format:"aligncenter"},{title:"Right",icon:"alignright",format:"alignright"},{title:"Justify",icon:"alignjustify",format:"alignjustify"}]}];return e.on("init",function(){s(i,function(t){e.formatter.register(t.name,t)})}),{type:"menu",items:n(),onPostRender:function(t){e.fire("renderFormatsMenu",{control:t.control})},itemDefaults:{preview:!0,textStyle:function(){return this.settings.format?e.formatter.getCssText(this.settings.format):void 0},onPostRender:function(){var t=this;t.parent().on("show",function(){var n,r;n=t.settings.format,n&&(t.disabled(!e.formatter.canApply(n)),t.active(e.formatter.match(n))),r=t.settings.cmd,r&&t.active(e.queryCommandState(r))})},onclick:function(){this.settings.format&&l(this.settings.format),this.settings.cmd&&e.execCommand(this.settings.cmd)}}}}function o(t){return function(){function n(){return e.undoManager?e.undoManager[t]():!1}var r=this;t="redo"==t?"hasRedo":"hasUndo",r.disabled(!n()),e.on("Undo Redo AddUndo TypingUndo ClearUndos",function(){r.disabled(!n())})}}function a(){var t=this;e.on("VisualAid",function(e){t.active(e.hasVisual)}),t.active(e.hasVisual)}function l(t){t.control&&(t=t.control.value()),t&&e.execCommand("mceToggleFormat",!1,t)}var c;c=i(),s({bold:"Bold",italic:"Italic",underline:"Underline",strikethrough:"Strikethrough",subscript:"Subscript",superscript:"Superscript"},function(t,n){e.addButton(n,{tooltip:t,onPostRender:function(){var t=this;e.formatter?e.formatter.formatChanged(n,function(e){t.active(e)}):e.on("init",function(){e.formatter.formatChanged(n,function(e){t.active(e)})})},onclick:function(){l(n)}})}),s({outdent:["Decrease indent","Outdent"],indent:["Increase indent","Indent"],cut:["Cut","Cut"],copy:["Copy","Copy"],paste:["Paste","Paste"],help:["Help","mceHelp"],selectall:["Select all","SelectAll"],removeformat:["Clear formatting","RemoveFormat"],visualaid:["Visual aids","mceToggleVisualAid"],newdocument:["New document","mceNewDocument"]},function(t,n){e.addButton(n,{tooltip:t[0],cmd:t[1]})}),s({blockquote:["Blockquote","mceBlockQuote"],numlist:["Numbered list","InsertOrderedList"],bullist:["Bullet list","InsertUnorderedList"],subscript:["Subscript","Subscript"],superscript:["Superscript","Superscript"],alignleft:["Align left","JustifyLeft"],aligncenter:["Align center","JustifyCenter"],alignright:["Align right","JustifyRight"],alignjustify:["Justify","JustifyFull"],alignnone:["No alignment","JustifyNone"]},function(t,n){e.addButton(n,{tooltip:t[0],cmd:t[1],onPostRender:function(){var t=this;e.formatter?e.formatter.formatChanged(n,function(e){t.active(e)}):e.on("init",function(){e.formatter.formatChanged(n,function(e){t.active(e)})})}})}),e.addButton("undo",{tooltip:"Undo",onPostRender:o("undo"),cmd:"undo"}),e.addButton("redo",{tooltip:"Redo",onPostRender:o("redo"),cmd:"redo"}),e.addMenuItem("newdocument",{text:"New document",icon:"newdocument",cmd:"mceNewDocument"}),e.addMenuItem("undo",{text:"Undo",icon:"undo",shortcut:"Meta+Z",onPostRender:o("undo"),cmd:"undo"}),e.addMenuItem("redo",{text:"Redo",icon:"redo",shortcut:"Meta+Y",onPostRender:o("redo"),cmd:"redo"}),e.addMenuItem("visualaid",{text:"Visual aids",selectable:!0,onPostRender:a,cmd:"mceToggleVisualAid"}),e.addButton("remove",{tooltip:"Remove",icon:"remove",cmd:"Delete"}),s({cut:["Cut","Cut","Meta+X"],copy:["Copy","Copy","Meta+C"],paste:["Paste","Paste","Meta+V"],selectall:["Select all","SelectAll","Meta+A"],bold:["Bold","Bold","Meta+B"],italic:["Italic","Italic","Meta+I"],underline:["Underline","Underline"],strikethrough:["Strikethrough","Strikethrough"],subscript:["Subscript","Subscript"],superscript:["Superscript","Superscript"],removeformat:["Clear formatting","RemoveFormat"]},function(t,n){e.addMenuItem(n,{text:t[0],icon:n,shortcut:t[2],cmd:t[1]})}),e.on("mousedown",function(){n.hideAll()}),e.addButton("styleselect",{type:"menubutton",text:"Formats",menu:c}),e.addButton("formatselect",function(){var n=[],i=r(e.settings.block_formats||"Paragraph=p;Heading 1=h1;Heading 2=h2;Heading 3=h3;Heading 4=h4;Heading 5=h5;Heading 6=h6;Preformatted=pre");return s(i,function(t){n.push({text:t[0],value:t[1],textStyle:function(){return e.formatter.getCssText(t[1])}})}),{type:"listbox",text:i[0][0],values:n,fixedWidth:!0,onselect:l,onPostRender:t(n)}}),e.addButton("fontselect",function(){var n="Andale Mono=andale mono,monospace;Arial=arial,helvetica,sans-serif;Arial Black=arial black,sans-serif;Book Antiqua=book antiqua,palatino,serif;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,palatino,serif;Helvetica=helvetica,arial,sans-serif;Impact=impact,sans-serif;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco,monospace;Times New Roman=times new roman,times,serif;Trebuchet MS=trebuchet ms,geneva,sans-serif;Verdana=verdana,geneva,sans-serif;Webdings=webdings;Wingdings=wingdings,zapf dingbats",i=[],o=r(e.settings.font_formats||n);return s(o,function(e){i.push({text:{raw:e[0]},value:e[1],textStyle:-1==e[1].indexOf("dings")?"font-family:"+e[1]:""})}),{type:"listbox",text:"Font Family",tooltip:"Font Family",values:i,fixedWidth:!0,onPostRender:t(i,"fontname"),onselect:function(t){t.control.settings.value&&e.execCommand("FontName",!1,t.control.settings.value)}}}),e.addButton("fontsizeselect",function(){var n=[],r="8pt 10pt 12pt 14pt 18pt 24pt 36pt",i=e.settings.fontsize_formats||r;return s(i.split(" "),function(e){var t=e,r=e,i=e.split("=");i.length>1&&(t=i[0],r=i[1]),n.push({text:t,value:r})}),{type:"listbox",text:"Font Sizes",tooltip:"Font Sizes",values:n,fixedWidth:!0,onPostRender:t(n,"fontsize"),onclick:function(t){t.control.settings.value&&e.execCommand("FontSize",!1,t.control.settings.value)}}}),e.addMenuItem("formats",{text:"Formats",menu:c})}var s=r.each;i.on("AddEditor",function(t){t.editor.rtl&&(e.rtl=!0),a(t.editor)}),e.translate=function(e){return i.translate(e)},t.tooltips=!o.iOS}),r(it,[Pe],function(e){return e.extend({recalc:function(e){var t=e.settings,n,r,i,o,a,s,l,c,u,d,f,h,p,m,g,v,y,b,x,C,w,_,E=[],N=[],S,k,T,R,A,B;t=e.settings,i=e.items().filter(":visible"),o=e.layoutRect(),r=t.columns||Math.ceil(Math.sqrt(i.length)),n=Math.ceil(i.length/r),y=t.spacingH||t.spacing||0,b=t.spacingV||t.spacing||0,x=t.alignH||t.align,C=t.alignV||t.align,g=e.paddingBox,A="reverseRows"in t?t.reverseRows:e.isRtl(),x&&"string"==typeof x&&(x=[x]),C&&"string"==typeof C&&(C=[C]);for(d=0;r>d;d++)E.push(0);for(f=0;n>f;f++)N.push(0);for(f=0;n>f;f++)for(d=0;r>d&&(u=i[f*r+d],u);d++)c=u.layoutRect(),S=c.minW,k=c.minH,E[d]=S>E[d]?S:E[d],N[f]=k>N[f]?k:N[f];for(T=o.innerW-g.left-g.right,w=0,d=0;r>d;d++)w+=E[d]+(d>0?y:0),T-=(d>0?y:0)+E[d];for(R=o.innerH-g.top-g.bottom,_=0,f=0;n>f;f++)_+=N[f]+(f>0?b:0),R-=(f>0?b:0)+N[f];if(w+=g.left+g.right,_+=g.top+g.bottom,l={},l.minW=w+(o.w-o.innerW),l.minH=_+(o.h-o.innerH),l.contentW=l.minW-o.deltaW,l.contentH=l.minH-o.deltaH,l.minW=Math.min(l.minW,o.maxW),l.minH=Math.min(l.minH,o.maxH),l.minW=Math.max(l.minW,o.startMinWidth),l.minH=Math.max(l.minH,o.startMinHeight),!o.autoResize||l.minW==o.minW&&l.minH==o.minH){o.autoResize&&(l=e.layoutRect(l),l.contentW=l.minW-o.deltaW,l.contentH=l.minH-o.deltaH);var D;D="start"==t.packV?0:R>0?Math.floor(R/n):0;var M=0,L=t.flexWidths;if(L)for(d=0;dd;d++)E[d]+=L?L[d]*H:H;for(p=g.top,f=0;n>f;f++){for(h=g.left,s=N[f]+D,d=0;r>d&&(B=A?f*r+r-1-d:f*r+d,u=i[B],u);d++)m=u.settings,c=u.layoutRect(),a=Math.max(E[d],c.startMinWidth),c.x=h,c.y=p,v=m.alignH||(x?x[d]||x[0]:null),"center"==v?c.x=h+a/2-c.w/2:"right"==v?c.x=h+a-c.w:"stretch"==v&&(c.w=a),v=m.alignV||(C?C[d]||C[0]:null),"center"==v?c.y=p+s/2-c.h/2:"bottom"==v?c.y=p+s-c.h:"stretch"==v&&(c.h=s),u.layoutRect(c),h+=a+y,u.recalc&&u.recalc();p+=s+b}}else if(l.w=l.minW,l.h=l.minH,e.layoutRect(l),this.recalc(e),null===e._lastRect){var P=e.parent();P&&(P._lastRect=null,P.recalc())}}})}),r(ot,[Ie],function(e){return e.extend({renderHtml:function(){var e=this;return e.classes.add("iframe"),e.canFocus=!1,''},src:function(e){this.getEl().src=e},html:function(e,t){var n=this,r=this.getEl().contentWindow.document.body;return r?(r.innerHTML=e,t&&t()):setTimeout(function(){n.html(e)},0),this}})}),r(at,[Ie,J],function(e,t){return e.extend({init:function(e){var t=this;t._super(e),t.classes.add("widget").add("label"),t.canFocus=!1,e.multiline&&t.classes.add("autoscroll"),e.strong&&t.classes.add("strong")},initLayoutRect:function(){var e=this,n=e._super();if(e.settings.multiline){var r=t.getSize(e.getEl());r.width>n.maxW&&(n.minW=n.maxW,e.classes.add("multiline")),e.getEl().style.width=n.minW+"px",n.startMinH=n.h=n.minH=Math.min(n.maxH,t.getSize(e.getEl()).height)}return n},repaint:function(){var e=this;return e.settings.multiline||(e.getEl().style.lineHeight=e.layoutRect().h+"px"),e._super()},renderHtml:function(){var e=this,t=e.settings.forId;return'"},bindStates:function(){var e=this;return e.state.on("change:text",function(t){e.innerHtml(e.encode(t.value))}),e._super()}})}),r(st,[ie],function(e){return e.extend({Defaults:{role:"toolbar",layout:"flow"},init:function(e){var t=this;t._super(e),t.classes.add("toolbar")},postRender:function(){var e=this;return e.items().each(function(e){e.classes.add("toolbar-item")}),e._super()}})}),r(lt,[st],function(e){return e.extend({Defaults:{role:"menubar",containerCls:"menubar",ariaRoot:!0,defaults:{type:"menubutton"}}})}),r(ct,[Fe,ne,lt],function(e,t,n){function r(e,t){for(;e;){if(t===e)return!0;e=e.parentNode}return!1}var i=e.extend({init:function(e){var t=this;t._renderOpen=!0,t._super(e),e=t.settings,t.classes.add("menubtn"),e.fixedWidth&&t.classes.add("fixed-width"),t.aria("haspopup",!0),t.state.set("menu",e.menu||t.render())},showMenu:function(){var e=this,n;return e.menu&&e.menu.visible()?e.hideMenu():(e.menu||(n=e.state.get("menu")||[],n.length?n={type:"menu",items:n}:n.type=n.type||"menu",n.renderTo?e.menu=n.parent(e).show().renderTo():e.menu=t.create(n).parent(e).renderTo(),e.fire("createmenu"),e.menu.reflow(),e.menu.on("cancel",function(t){t.control.parent()===e.menu&&(t.stopPropagation(),e.focus(),e.hideMenu())}),e.menu.on("select",function(){e.focus()}),e.menu.on("show hide",function(t){t.control==e.menu&&e.activeMenu("show"==t.type),e.aria("expanded","show"==t.type)}).fire("show")),e.menu.show(),e.menu.layoutRect({w:e.layoutRect().w}),void e.menu.moveRel(e.getEl(),e.isRtl()?["br-tr","tr-br"]:["bl-tl","tl-bl"]))},hideMenu:function(){var e=this;e.menu&&(e.menu.items().each(function(e){e.hideMenu&&e.hideMenu()}),e.menu.hide())},activeMenu:function(e){this.classes.toggle("active",e)},renderHtml:function(){var e=this,t=e._id,r=e.classPrefix,i=e.settings.icon,o,a=e.state.get("text");return o=e.settings.image,o?(i="none","string"!=typeof o&&(o=window.getSelection?o[0]:o[1]),o=" style=\"background-image: url('"+o+"')\""):o="",i=e.settings.icon?r+"ico "+r+"i-"+i:"",e.aria("role",e.parent()instanceof n?"menuitem":"button"),'
                '},postRender:function(){var e=this;return e.on("click",function(t){t.control===e&&r(t.target,e.getEl())&&(e.showMenu(),t.aria&&e.menu.items()[0].focus())}),e.on("mouseenter",function(t){var n=t.control,r=e.parent(),o;n&&r&&n instanceof i&&n.parent()==r&&(r.items().filter("MenuButton").each(function(e){e.hideMenu&&e!=n&&(e.menu&&e.menu.visible()&&(o=!0),e.hideMenu())}),o&&(n.focus(),n.showMenu()))}),e._super()},bindStates:function(){var e=this;return e.state.on("change:menu",function(){e.menu&&e.menu.remove(),e.menu=null}),e._super()},remove:function(){this._super(),this.menu&&this.menu.remove()}});return i}),r(ut,[Ie,ne,u],function(e,t,n){return e.extend({Defaults:{border:0,role:"menuitem"},init:function(e){var t=this,n;t._super(e),e=t.settings,t.classes.add("menu-item"),e.menu&&t.classes.add("menu-item-expand"),e.preview&&t.classes.add("menu-item-preview"),n=t.state.get("text"),("-"===n||"|"===n)&&(t.classes.add("menu-item-sep"),t.aria("role","separator"),t.state.set("text","-")),e.selectable&&(t.aria("role","menuitemcheckbox"),t.classes.add("menu-item-checkbox"),e.icon="selected"),e.preview||e.selectable||t.classes.add("menu-item-normal"),t.on("mousedown",function(e){e.preventDefault()}),e.menu&&!e.ariaHideMenu&&t.aria("haspopup",!0)},hasMenus:function(){return!!this.settings.menu},showMenu:function(){var e=this,n=e.settings,r,i=e.parent();if(i.items().each(function(t){t!==e&&t.hideMenu()}),n.menu){r=e.menu,r?r.show():(r=n.menu,r.length?r={type:"menu",items:r}:r.type=r.type||"menu",i.settings.itemDefaults&&(r.itemDefaults=i.settings.itemDefaults),r=e.menu=t.create(r).parent(e).renderTo(),r.reflow(),r.on("cancel",function(t){t.stopPropagation(),e.focus(),r.hide()}),r.on("show hide",function(e){e.control.items().each(function(e){e.active(e.settings.selected)})}).fire("show"),r.on("hide",function(t){t.control===r&&e.classes.remove("selected")}),r.submenu=!0),r._parentMenu=i,r.classes.add("menu-sub");var o=r.testMoveRel(e.getEl(),e.isRtl()?["tl-tr","bl-br","tr-tl","br-bl"]:["tr-tl","br-bl","tl-tr","bl-br"]);r.moveRel(e.getEl(),o),r.rel=o,o="menu-sub-"+o,r.classes.remove(r._lastRel).add(o),r._lastRel=o,e.classes.add("selected"),e.aria("expanded",!0)}},hideMenu:function(){var e=this;return e.menu&&(e.menu.items().each(function(e){e.hideMenu&&e.hideMenu()}),e.menu.hide(),e.aria("expanded",!1)),e},renderHtml:function(){function e(e){var t,r,i={};for(i=n.mac?{alt:"⌥",ctrl:"⌘",shift:"⇧",meta:"⌘"}:{meta:"Ctrl"},e=e.split("+"),t=0;t'+("-"!==a?'\xa0":"")+("-"!==a?''+a+"":"")+(c?'
                '+c+"
                ":"")+(i.menu?'
                ':"")+"
                "},postRender:function(){var e=this,t=e.settings,n=t.textStyle;if("function"==typeof n&&(n=n.call(this)),n){var r=e.getEl("text");r&&r.setAttribute("style",n)}return e.on("mouseenter click",function(n){n.control===e&&(t.menu||"click"!==n.type?(e.showMenu(),n.aria&&e.menu.focus(!0)):(e.fire("select"),e.parent().hideAll()))}),e._super(),e},active:function(e){return"undefined"!=typeof e&&this.aria("checked",e),this._super(e)},remove:function(){this._super(),this.menu&&this.menu.remove()}})}),r(dt,[ue,ut,f],function(e,t,n){var r=e.extend({Defaults:{defaultType:"menuitem",border:1,layout:"stack",role:"application",bodyRole:"menu",ariaRoot:!0},init:function(e){var t=this;if(e.autohide=!0,e.constrainToViewport=!0,e.itemDefaults)for(var r=e.items,i=r.length;i--;)r[i]=n.extend({},e.itemDefaults,r[i]);t._super(e),t.classes.add("menu")},repaint:function(){return this.classes.toggle("menu-align",!0),this._super(),this.getEl().style.height="",this.getEl("body").style.height="",this},cancel:function(){var e=this;e.hideAll(),e.fire("select")},hideAll:function(){var e=this;return this.find("menuitem").exec("hideMenu"),e._super()},preRender:function(){var e=this;return e.items().each(function(t){var n=t.settings;return n.icon||n.image||n.selectable?(e._hasIcons=!0,!1):void 0}),e._super()}});return r}),r(ft,[ct,dt],function(e,t){return e.extend({init:function(e){function t(r){for(var a=0;a0&&(o=r[0].text,n.state.set("value",r[0].value)),n.state.set("menu",r)),n.state.set("text",e.text||o||r[0].text),n.classes.add("listbox"),n.on("select",function(t){var r=t.control;a&&(t.lastControl=a),e.multiple?r.active(!r.active()):n.value(t.control.value()),a=r})},bindStates:function(){function e(e,n){e instanceof t&&e.items().each(function(e){e.hasMenus()||e.active(e.value()===n)})}function n(e,t){var r;if(e)for(var i=0;i=r.x&&o.x+o.w<=r.w+r.x&&o.y>=r.y&&o.y+o.h<=r.h+r.y)return i[a]}function n(e,t,n){return{x:e.x-t,y:e.y-n,w:e.w+2*t,h:e.h+2*n}}function r(e,t){var n,r,i,s;return n=a(e.x,t.x),r=a(e.y,t.y),i=o(e.x+e.w,t.x+t.w),s=o(e.y+e.h,t.y+t.h),0>i-n||0>s-r?null:{x:n,y:r,w:i-n,h:s-r}}function i(e,t,n){var r,i,o,s,l,c,u,d,f,h;return l=e.x,c=e.y,u=e.x+e.w,d=e.y+e.h,f=t.x+t.w,h=t.y+t.h,r=a(0,t.x-l),i=a(0,t.y-c),o=a(0,u-f),s=a(0,d-h),l+=r,c+=i,n&&(u+=r,d+=i,l-=o,c-=s),u-=o,d-=s,{x:l,y:c,w:u-l,h:d-c}}var o=Math.min,a=Math.max,s=Math.round;return{inflate:n,relativePosition:e,findBestRelativePosition:t,intersect:r,clamp:i}}),r(mt,[Ie,oe],function(e,t){return e.extend({renderHtml:function(){var e=this,t=e.classPrefix;return e.classes.add("resizehandle"),"both"==e.settings.direction&&e.classes.add("resizehandle-both"),e.canFocus=!1,'
                '},postRender:function(){var e=this;e._super(),e.resizeDragHelper=new t(this._id,{start:function(){e.fire("ResizeStart")},drag:function(t){"both"!=e.settings.direction&&(t.deltaX=0),e.fire("Resize",t)},stop:function(){e.fire("ResizeEnd")}})},remove:function(){return this.resizeDragHelper&&this.resizeDragHelper.destroy(),this._super()}})}),r(gt,[Ie,oe,J],function(e,t,n){function r(e,t,n){return t>e&&(e=t),e>n&&(e=n),e}function i(e,t){var r,i,o,a,s;"v"==e.settings.orientation?(a="top",o="height",i="h"):(a="left",o="width",i="w"),r=(e.layoutRect()[i]||100)-n.getSize(e.getEl("handle"))[o],s=r*((t-e._minValue)/(e._maxValue-e._minValue))+"px",e.getEl("handle").style[a]=s,e.getEl("handle").style.height=e.layoutRect().h+"px"}return e.extend({init:function(e){var t=this;e.previewFilter||(e.previewFilter=function(e){return Math.round(100*e)/100}),t._super(e),t.classes.add("slider"),"v"==e.orientation&&t.classes.add("vertical"),t._minValue=e.minValue||0,t._maxValue=e.maxValue||100,t._initValue=t.state.get("value")},renderHtml:function(){var e=this,t=e._id,n=e.classPrefix;return'
                '},reset:function(){this.value(this._initValue).repaint()},postRender:function(){var e=this,i,o,a=0,s,l,c,u,d,f,h,p;l=e._minValue,c=e._maxValue,s=e.value(),"v"==e.settings.orientation?(d="screenY",f="top",h="height",p="h"):(d="screenX",f="left",h="width",p="w"),e._super(),e._dragHelper=new t(e._id,{handle:e._id+"-handle",start:function(t){i=t[d],o=parseInt(e.getEl("handle").style[f],10),u=(e.layoutRect()[p]||100)-n.getSize(e.getEl("handle"))[h],e.fire("dragstart",{value:s})},drag:function(t){var n=t[d]-i,h=e.getEl("handle");a=r(o+n,0,u),h.style[f]=a+"px",s=l+a/u*(c-l),e.value(s),e.tooltip().text(""+e.settings.previewFilter(s)).show().moveRel(h,"bc tc"),e.fire("drag",{value:s})},stop:function(){e.tooltip().hide(),e.fire("dragend",{value:s})}})},repaint:function(){this._super(),i(this,this.value())},bindStates:function(){var e=this;return e.state.on("change:value",function(t){i(e,t.value)}),e._super()}})}),r(vt,[Ie],function(e){return e.extend({renderHtml:function(){var e=this;return e.classes.add("spacer"),e.canFocus=!1,'
                '}})}),r(yt,[ct,J,h],function(e,t,n){return e.extend({Defaults:{classes:"widget btn splitbtn",role:"button"},repaint:function(){var e=this,r=e.getEl(),i=e.layoutRect(),o,a;return e._super(),o=r.firstChild,a=r.lastChild,n(o).css({width:i.w-t.getSize(a).width,height:i.h-2}),n(a).css({height:i.h-2}),e},activeMenu:function(e){ -var t=this;n(t.getEl().lastChild).toggleClass(t.classPrefix+"active",e)},renderHtml:function(){var e=this,t=e._id,n=e.classPrefix,r,i=e.state.get("icon"),o=e.state.get("text");return r=e.settings.image,r?(i="none","string"!=typeof r&&(r=window.getSelection?r[0]:r[1]),r=" style=\"background-image: url('"+r+"')\""):r="",i=e.settings.icon?n+"ico "+n+"i-"+i:"",'
                '},postRender:function(){var e=this,t=e.settings.onclick;return e.on("click",function(e){var n=e.target;if(e.control==this)for(;n;){if(e.aria&&"down"!=e.aria.key||"BUTTON"==n.nodeName&&-1==n.className.indexOf("open"))return e.stopImmediatePropagation(),void(t&&t.call(this,e));n=n.parentNode}}),delete e.settings.onclick,e._super()}})}),r(bt,[nt],function(e){return e.extend({Defaults:{containerClass:"stack-layout",controlClass:"stack-layout-item",endClass:"break"},isNative:function(){return!0}})}),r(xt,[se,h,J],function(e,t,n){return e.extend({Defaults:{layout:"absolute",defaults:{type:"panel"}},activateTab:function(e){var n;this.activeTabId&&(n=this.getEl(this.activeTabId),t(n).removeClass(this.classPrefix+"active"),n.setAttribute("aria-selected","false")),this.activeTabId="t"+e,n=this.getEl("t"+e),n.setAttribute("aria-selected","true"),t(n).addClass(this.classPrefix+"active"),this.items()[e].show().fire("showtab"),this.reflow(),this.items().each(function(t,n){e!=n&&t.hide()})},renderHtml:function(){var e=this,t=e._layout,n="",r=e.classPrefix;return e.preRender(),t.preRender(e),e.items().each(function(t,i){var o=e._id+"-t"+i;t.aria("role","tabpanel"),t.aria("labelledby",o),n+='"}),'
                '+n+'
                '+t.renderHtml(e)+"
                "},postRender:function(){var e=this;e._super(),e.settings.activeTab=e.settings.activeTab||0,e.activateTab(e.settings.activeTab),this.on("click",function(t){var n=t.target.parentNode;if(t.target.parentNode.id==e._id+"-head")for(var r=n.childNodes.length;r--;)n.childNodes[r]==t.target&&e.activateTab(r)})},initLayoutRect:function(){var e=this,t,r,i;r=n.getSize(e.getEl("head")).width,r=0>r?0:r,i=0,e.items().each(function(e){r=Math.max(r,e.layoutRect().minW),i=Math.max(i,e.layoutRect().minH)}),e.items().each(function(e){e.settings.x=0,e.settings.y=0,e.settings.w=r,e.settings.h=i,e.layoutRect({x:0,y:0,w:r,h:i})});var o=n.getSize(e.getEl("head")).height;return e.settings.minWidth=r,e.settings.minHeight=i+o,t=e._super(),t.deltaH+=o,t.innerH=t.h-t.deltaH,t}})}),r(Ct,[Ie],function(e){return e.extend({init:function(e){var t=this;t._super(e),t.classes.add("textbox"),e.multiline?t.classes.add("multiline"):(t.on("keydown",function(e){var n;13==e.keyCode&&(e.preventDefault(),t.parents().reverse().each(function(e){return e.toJSON?(n=e,!1):void 0}),t.fire("submit",{data:n.toJSON()}))}),t.on("keyup",function(e){t.state.set("value",e.target.value)}))},repaint:function(){var e=this,t,n,r,i=0,o=0,a;t=e.getEl().style,n=e._layoutRect,a=e._lastRepaintRect||{};var s=document;return!e.settings.multiline&&s.all&&(!s.documentMode||s.documentMode<=8)&&(t.lineHeight=n.h-o+"px"),r=e.borderBox,i=r.left+r.right+8,o=r.top+r.bottom+(e.settings.multiline?8:0),n.x!==a.x&&(t.left=n.x+"px",a.x=n.x),n.y!==a.y&&(t.top=n.y+"px",a.y=n.y),n.w!==a.w&&(t.width=n.w-i+"px",a.w=n.w),n.h!==a.h&&(t.height=n.h-o+"px",a.h=n.h),e._lastRepaintRect=a,e.fire("repaint",{},!1),e},renderHtml:function(){var e=this,t=e._id,n=e.settings,r=e.encode(e.state.get("value"),!1),i="";return"spellcheck"in n&&(i+=' spellcheck="'+n.spellcheck+'"'),n.maxLength&&(i+=' maxlength="'+n.maxLength+'"'),n.size&&(i+=' size="'+n.size+'"'),n.subtype&&(i+=' type="'+n.subtype+'"'),e.disabled()&&(i+=' disabled="disabled"'),n.multiline?'":'"},value:function(e){return arguments.length?(this.state.set("value",e),this):(this.state.get("rendered")&&this.state.set("value",this.getEl().value),this.state.get("value"))},postRender:function(){var e=this;e._super(),e.$el.on("change",function(t){e.state.set("value",t.target.value),e.fire("change",t)})},bindStates:function(){var e=this;return e.state.on("change:value",function(t){e.getEl().value!=t.value&&(e.getEl().value=t.value)}),e.state.on("change:disabled",function(t){e.getEl().disabled=t.value}),e._super()},remove:function(){this.$el.off(),this._super()}})}),r(wt,[h,te],function(e,t){return function(n,r){var i=this,o,a=t.classPrefix;i.show=function(t,s){return i.hide(),o=!0,window.setTimeout(function(){o&&(e(n).append('
                '),s&&s())},t||0),i},i.hide=function(){var e=n.lastChild;return e&&-1!=e.className.indexOf("throbber")&&e.parentNode.removeChild(e),o=!1,i}}}),a([l,c,u,f,h,p,m,v,b,x,C,w,E,N,S,k,T,R,A,D,M,L,H,I,F,V,U,$,q,K,G,X,ee,te,ne,re,ie,oe,ae,se,le,ce,ue,de,fe,he,me,ge,ve,Ee,Ne,Se,ke,Re,Ae,Be,De,Me,Le,He,Pe,Oe,Ie,Fe,ze,We,Ve,Ue,$e,qe,je,Ke,Ye,Ge,Xe,Je,Qe,Ze,et,tt,nt,rt,it,ot,at,st,lt,ct,ut,dt,ft,ht,pt,mt,gt,vt,yt,bt,xt,Ct,wt])}(this); \ No newline at end of file +// 4.2.8 (2015-11-13) +!function(e,t){"use strict";function n(e,t){for(var n,r=[],i=0;ir;r++)if(o=n[r],o&&o.func.call(o.scope,e)===!1&&e.preventDefault(),e.isImmediatePropagationStopped())return}var a=this,s={},l,c,u,d,f;c=o+(+new Date).toString(32),d="onmouseenter"in document.documentElement,u="onfocusin"in document.documentElement,f={mouseenter:"mouseover",mouseleave:"mouseout"},l=1,a.domLoaded=!1,a.events=s,a.bind=function(t,o,h,p){function m(e){i(n(e||_.event),g)}var g,v,y,b,x,C,w,_=window;if(t&&3!==t.nodeType&&8!==t.nodeType){for(t[c]?g=t[c]:(g=l++,t[c]=g,s[g]={}),p=p||t,o=o.split(" "),y=o.length;y--;)b=o[y],C=m,x=w=!1,"DOMContentLoaded"===b&&(b="ready"),a.domLoaded&&"ready"===b&&"complete"==t.readyState?h.call(p,n({type:b})):(d||(x=f[b],x&&(C=function(e){var t,r;if(t=e.currentTarget,r=e.relatedTarget,r&&t.contains)r=t.contains(r);else for(;r&&r!==t;)r=r.parentNode;r||(e=n(e||_.event),e.type="mouseout"===e.type?"mouseleave":"mouseenter",e.target=t,i(e,g))})),u||"focusin"!==b&&"focusout"!==b||(w=!0,x="focusin"===b?"focus":"blur",C=function(e){e=n(e||_.event),e.type="focus"===e.type?"focusin":"focusout",i(e,g)}),v=s[g][b],v?"ready"===b&&a.domLoaded?h({type:b}):v.push({func:h,scope:p}):(s[g][b]=v=[{func:h,scope:p}],v.fakeName=x,v.capture=w,v.nativeHandler=C,"ready"===b?r(t,C,a):e(t,x||b,C,w)));return t=v=0,h}},a.unbind=function(e,n,r){var i,o,l,u,d,f;if(!e||3===e.nodeType||8===e.nodeType)return a;if(i=e[c]){if(f=s[i],n){for(n=n.split(" "),l=n.length;l--;)if(d=n[l],o=f[d]){if(r)for(u=o.length;u--;)if(o[u].func===r){var h=o.nativeHandler,p=o.fakeName,m=o.capture;o=o.slice(0,u).concat(o.slice(u+1)),o.nativeHandler=h,o.fakeName=p,o.capture=m,f[d]=o}r&&0!==o.length||(delete f[d],t(e,o.fakeName||d,o.nativeHandler,o.capture))}}else{for(d in f)o=f[d],t(e,o.fakeName||d,o.nativeHandler,o.capture);f={}}for(d in f)return a;delete s[i];try{delete e[c]}catch(g){e[c]=null}}return a},a.fire=function(e,t,r){var o;if(!e||3===e.nodeType||8===e.nodeType)return a;r=n(null,r),r.type=t,r.target=e;do o=e[c],o&&i(r,o),e=e.parentNode||e.ownerDocument||e.defaultView||e.parentWindow;while(e&&!r.isPropagationStopped());return a},a.clean=function(e){var t,n,r=a.unbind;if(!e||3===e.nodeType||8===e.nodeType)return a;if(e[c]&&r(e),e.getElementsByTagName||(e=e.document),e&&e.getElementsByTagName)for(r(e),n=e.getElementsByTagName("*"),t=n.length;t--;)e=n[t],e[c]&&r(e);return a},a.destroy=function(){s={}},a.cancel=function(e){return e&&(e.preventDefault(),e.stopImmediatePropagation()),!1}}var o="mce-data-",a=/^(?:mouse|contextmenu)|click/,s={keyLocation:1,layerX:1,layerY:1,returnValue:1,webkitMovementX:1,webkitMovementY:1};return i.Event=new i,i.Event.bind(window,"ready",function(){}),i}),r(c,[],function(){function e(e,t,n,r){var i,o,a,s,l,c,d,h,p,m;if((t?t.ownerDocument||t:z)!==D&&B(t),t=t||D,n=n||[],!e||"string"!=typeof e)return n;if(1!==(s=t.nodeType)&&9!==s)return[];if(M&&!r){if(i=ve.exec(e))if(a=i[1]){if(9===s){if(o=t.getElementById(a),!o||!o.parentNode)return n;if(o.id===a)return n.push(o),n}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(a))&&I(t,o)&&o.id===a)return n.push(o),n}else{if(i[2])return Z.apply(n,t.getElementsByTagName(e)),n;if((a=i[3])&&C.getElementsByClassName)return Z.apply(n,t.getElementsByClassName(a)),n}if(C.qsa&&(!H||!H.test(e))){if(h=d=F,p=t,m=9===s&&e,1===s&&"object"!==t.nodeName.toLowerCase()){for(c=N(e),(d=t.getAttribute("id"))?h=d.replace(be,"\\$&"):t.setAttribute("id",h),h="[id='"+h+"'] ",l=c.length;l--;)c[l]=h+f(c[l]);p=ye.test(e)&&u(t.parentNode)||t,m=c.join(",")}if(m)try{return Z.apply(n,p.querySelectorAll(m)),n}catch(g){}finally{d||t.removeAttribute("id")}}}return k(e.replace(se,"$1"),t,n,r)}function n(){function e(n,r){return t.push(n+" ")>w.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[F]=!0,e}function i(e){var t=D.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function o(e,t){for(var n=e.split("|"),r=e.length;r--;)w.attrHandle[n[r]]=t}function a(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||Y)-(~e.sourceIndex||Y);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function l(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function c(e){return r(function(t){return t=+t,r(function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function u(e){return e&&typeof e.getElementsByTagName!==K&&e}function d(){}function f(e){for(var t=0,n=e.length,r="";n>t;t++)r+=e[t].value;return r}function h(e,t,n){var r=t.dir,i=n&&"parentNode"===r,o=V++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||i)return e(t,n,o)}:function(t,n,a){var s,l,c=[W,o];if(a){for(;t=t[r];)if((1===t.nodeType||i)&&e(t,n,a))return!0}else for(;t=t[r];)if(1===t.nodeType||i){if(l=t[F]||(t[F]={}),(s=l[r])&&s[0]===W&&s[1]===o)return c[2]=s[2];if(l[r]=c,c[2]=e(t,n,a))return!0}}}function p(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function m(t,n,r){for(var i=0,o=n.length;o>i;i++)e(t,n[i],r);return r}function g(e,t,n,r,i){for(var o,a=[],s=0,l=e.length,c=null!=t;l>s;s++)(o=e[s])&&(!n||n(o,r,i))&&(a.push(o),c&&t.push(s));return a}function v(e,t,n,i,o,a){return i&&!i[F]&&(i=v(i)),o&&!o[F]&&(o=v(o,a)),r(function(r,a,s,l){var c,u,d,f=[],h=[],p=a.length,v=r||m(t||"*",s.nodeType?[s]:s,[]),y=!e||!r&&t?v:g(v,f,e,s,l),b=n?o||(r?e:p||i)?[]:a:y;if(n&&n(y,b,s,l),i)for(c=g(b,h),i(c,[],s,l),u=c.length;u--;)(d=c[u])&&(b[h[u]]=!(y[h[u]]=d));if(r){if(o||e){if(o){for(c=[],u=b.length;u--;)(d=b[u])&&c.push(y[u]=d);o(null,b=[],c,l)}for(u=b.length;u--;)(d=b[u])&&(c=o?te.call(r,d):f[u])>-1&&(r[c]=!(a[c]=d))}}else b=g(b===a?b.splice(p,b.length):b),o?o(null,a,b,l):Z.apply(a,b)})}function y(e){for(var t,n,r,i=e.length,o=w.relative[e[0].type],a=o||w.relative[" "],s=o?1:0,l=h(function(e){return e===t},a,!0),c=h(function(e){return te.call(t,e)>-1},a,!0),u=[function(e,n,r){return!o&&(r||n!==T)||((t=n).nodeType?l(e,n,r):c(e,n,r))}];i>s;s++)if(n=w.relative[e[s].type])u=[h(p(u),n)];else{if(n=w.filter[e[s].type].apply(null,e[s].matches),n[F]){for(r=++s;i>r&&!w.relative[e[r].type];r++);return v(s>1&&p(u),s>1&&f(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(se,"$1"),n,r>s&&y(e.slice(s,r)),i>r&&y(e=e.slice(r)),i>r&&f(e))}u.push(n)}return p(u)}function b(t,n){var i=n.length>0,o=t.length>0,a=function(r,a,s,l,c){var u,d,f,h=0,p="0",m=r&&[],v=[],y=T,b=r||o&&w.find.TAG("*",c),x=W+=null==y?1:Math.random()||.1,C=b.length;for(c&&(T=a!==D&&a);p!==C&&null!=(u=b[p]);p++){if(o&&u){for(d=0;f=t[d++];)if(f(u,a,s)){l.push(u);break}c&&(W=x)}i&&((u=!f&&u)&&h--,r&&m.push(u))}if(h+=p,i&&p!==h){for(d=0;f=n[d++];)f(m,v,a,s);if(r){if(h>0)for(;p--;)m[p]||v[p]||(v[p]=J.call(l));v=g(v)}Z.apply(l,v),c&&!r&&v.length>0&&h+n.length>1&&e.uniqueSort(l)}return c&&(W=x,T=y),m};return i?r(a):a}var x,C,w,_,E,N,S,k,T,R,A,B,D,L,M,H,P,O,I,F="sizzle"+-new Date,z=window.document,W=0,V=0,U=n(),$=n(),q=n(),j=function(e,t){return e===t&&(A=!0),0},K=typeof t,Y=1<<31,G={}.hasOwnProperty,X=[],J=X.pop,Q=X.push,Z=X.push,ee=X.slice,te=X.indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(this[t]===e)return t;return-1},ne="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",re="[\\x20\\t\\r\\n\\f]",ie="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",oe="\\["+re+"*("+ie+")(?:"+re+"*([*^$|!~]?=)"+re+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+ie+"))|)"+re+"*\\]",ae=":("+ie+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+oe+")*)|.*)\\)|)",se=new RegExp("^"+re+"+|((?:^|[^\\\\])(?:\\\\.)*)"+re+"+$","g"),le=new RegExp("^"+re+"*,"+re+"*"),ce=new RegExp("^"+re+"*([>+~]|"+re+")"+re+"*"),ue=new RegExp("="+re+"*([^\\]'\"]*?)"+re+"*\\]","g"),de=new RegExp(ae),fe=new RegExp("^"+ie+"$"),he={ID:new RegExp("^#("+ie+")"),CLASS:new RegExp("^\\.("+ie+")"),TAG:new RegExp("^("+ie+"|[*])"),ATTR:new RegExp("^"+oe),PSEUDO:new RegExp("^"+ae),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+re+"*(even|odd|(([+-]|)(\\d*)n|)"+re+"*(?:([+-]|)"+re+"*(\\d+)|))"+re+"*\\)|)","i"),bool:new RegExp("^(?:"+ne+")$","i"),needsContext:new RegExp("^"+re+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+re+"*((?:-\\d)?\\d*)"+re+"*\\)|)(?=[^-]|$)","i")},pe=/^(?:input|select|textarea|button)$/i,me=/^h\d$/i,ge=/^[^{]+\{\s*\[native \w/,ve=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ye=/[+~]/,be=/'|\\/g,xe=new RegExp("\\\\([\\da-f]{1,6}"+re+"?|("+re+")|.)","ig"),Ce=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)};try{Z.apply(X=ee.call(z.childNodes),z.childNodes),X[z.childNodes.length].nodeType}catch(we){Z={apply:X.length?function(e,t){Q.apply(e,ee.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}C=e.support={},E=e.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},B=e.setDocument=function(e){var t,n=e?e.ownerDocument||e:z,r=n.defaultView;return n!==D&&9===n.nodeType&&n.documentElement?(D=n,L=n.documentElement,M=!E(n),r&&r!==r.top&&(r.addEventListener?r.addEventListener("unload",function(){B()},!1):r.attachEvent&&r.attachEvent("onunload",function(){B()})),C.attributes=i(function(e){return e.className="i",!e.getAttribute("className")}),C.getElementsByTagName=i(function(e){return e.appendChild(n.createComment("")),!e.getElementsByTagName("*").length}),C.getElementsByClassName=ge.test(n.getElementsByClassName),C.getById=i(function(e){return L.appendChild(e).id=F,!n.getElementsByName||!n.getElementsByName(F).length}),C.getById?(w.find.ID=function(e,t){if(typeof t.getElementById!==K&&M){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},w.filter.ID=function(e){var t=e.replace(xe,Ce);return function(e){return e.getAttribute("id")===t}}):(delete w.find.ID,w.filter.ID=function(e){var t=e.replace(xe,Ce);return function(e){var n=typeof e.getAttributeNode!==K&&e.getAttributeNode("id");return n&&n.value===t}}),w.find.TAG=C.getElementsByTagName?function(e,t){return typeof t.getElementsByTagName!==K?t.getElementsByTagName(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},w.find.CLASS=C.getElementsByClassName&&function(e,t){return M?t.getElementsByClassName(e):void 0},P=[],H=[],(C.qsa=ge.test(n.querySelectorAll))&&(i(function(e){e.innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&H.push("[*^$]="+re+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||H.push("\\["+re+"*(?:value|"+ne+")"),e.querySelectorAll(":checked").length||H.push(":checked")}),i(function(e){var t=n.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&H.push("name"+re+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||H.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),H.push(",.*:")})),(C.matchesSelector=ge.test(O=L.matches||L.webkitMatchesSelector||L.mozMatchesSelector||L.oMatchesSelector||L.msMatchesSelector))&&i(function(e){C.disconnectedMatch=O.call(e,"div"),O.call(e,"[s!='']:x"),P.push("!=",ae)}),H=H.length&&new RegExp(H.join("|")),P=P.length&&new RegExp(P.join("|")),t=ge.test(L.compareDocumentPosition),I=t||ge.test(L.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},j=t?function(e,t){if(e===t)return A=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r?r:(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&r||!C.sortDetached&&t.compareDocumentPosition(e)===r?e===n||e.ownerDocument===z&&I(z,e)?-1:t===n||t.ownerDocument===z&&I(z,t)?1:R?te.call(R,e)-te.call(R,t):0:4&r?-1:1)}:function(e,t){if(e===t)return A=!0,0;var r,i=0,o=e.parentNode,s=t.parentNode,l=[e],c=[t];if(!o||!s)return e===n?-1:t===n?1:o?-1:s?1:R?te.call(R,e)-te.call(R,t):0;if(o===s)return a(e,t);for(r=e;r=r.parentNode;)l.unshift(r);for(r=t;r=r.parentNode;)c.unshift(r);for(;l[i]===c[i];)i++;return i?a(l[i],c[i]):l[i]===z?-1:c[i]===z?1:0},n):D},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if((t.ownerDocument||t)!==D&&B(t),n=n.replace(ue,"='$1']"),C.matchesSelector&&M&&(!P||!P.test(n))&&(!H||!H.test(n)))try{var r=O.call(t,n);if(r||C.disconnectedMatch||t.document&&11!==t.document.nodeType)return r}catch(i){}return e(n,D,null,[t]).length>0},e.contains=function(e,t){return(e.ownerDocument||e)!==D&&B(e),I(e,t)},e.attr=function(e,n){(e.ownerDocument||e)!==D&&B(e);var r=w.attrHandle[n.toLowerCase()],i=r&&G.call(w.attrHandle,n.toLowerCase())?r(e,n,!M):t;return i!==t?i:C.attributes||!M?e.getAttribute(n):(i=e.getAttributeNode(n))&&i.specified?i.value:null},e.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},e.uniqueSort=function(e){var t,n=[],r=0,i=0;if(A=!C.detectDuplicates,R=!C.sortStable&&e.slice(0),e.sort(j),A){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return R=null,e},_=e.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=_(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=_(t);return n},w=e.selectors={cacheLength:50,createPseudo:r,match:he,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(xe,Ce),e[3]=(e[3]||e[4]||e[5]||"").replace(xe,Ce),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(e){var t,n=!e[6]&&e[2];return he.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&de.test(n)&&(t=N(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(xe,Ce).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=U[e+" "];return t||(t=new RegExp("(^|"+re+")"+e+"("+re+"|$)"))&&U(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==K&&e.getAttribute("class")||"")})},ATTR:function(t,n,r){return function(i){var o=e.attr(i,t);return null==o?"!="===n:n?(o+="","="===n?o===r:"!="===n?o!==r:"^="===n?r&&0===o.indexOf(r):"*="===n?r&&o.indexOf(r)>-1:"$="===n?r&&o.slice(-r.length)===r:"~="===n?(" "+o+" ").indexOf(r)>-1:"|="===n?o===r||o.slice(0,r.length+1)===r+"-":!1):!0}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,l){var c,u,d,f,h,p,m=o!==a?"nextSibling":"previousSibling",g=t.parentNode,v=s&&t.nodeName.toLowerCase(),y=!l&&!s;if(g){if(o){for(;m;){for(d=t;d=d[m];)if(s?d.nodeName.toLowerCase()===v:1===d.nodeType)return!1;p=m="only"===e&&!p&&"nextSibling"}return!0}if(p=[a?g.firstChild:g.lastChild],a&&y){for(u=g[F]||(g[F]={}),c=u[e]||[],h=c[0]===W&&c[1],f=c[0]===W&&c[2],d=h&&g.childNodes[h];d=++h&&d&&d[m]||(f=h=0)||p.pop();)if(1===d.nodeType&&++f&&d===t){u[e]=[W,h,f];break}}else if(y&&(c=(t[F]||(t[F]={}))[e])&&c[0]===W)f=c[1];else for(;(d=++h&&d&&d[m]||(f=h=0)||p.pop())&&((s?d.nodeName.toLowerCase()!==v:1!==d.nodeType)||!++f||(y&&((d[F]||(d[F]={}))[e]=[W,f]),d!==t)););return f-=i,f===r||f%r===0&&f/r>=0}}},PSEUDO:function(t,n){var i,o=w.pseudos[t]||w.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return o[F]?o(n):o.length>1?(i=[t,t,"",n],w.setFilters.hasOwnProperty(t.toLowerCase())?r(function(e,t){for(var r,i=o(e,n),a=i.length;a--;)r=te.call(e,i[a]),e[r]=!(t[r]=i[a])}):function(e){return o(e,0,i)}):o}},pseudos:{not:r(function(e){var t=[],n=[],i=S(e.replace(se,"$1"));return i[F]?r(function(e,t,n,r){for(var o,a=i(e,null,r,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,r,o){return t[0]=e,i(t,null,o,n),!n.pop()}}),has:r(function(t){return function(n){return e(t,n).length>0}}),contains:r(function(e){return e=e.replace(xe,Ce),function(t){return(t.textContent||t.innerText||_(t)).indexOf(e)>-1}}),lang:r(function(t){return fe.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(xe,Ce).toLowerCase(),function(e){var n;do if(n=M?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return n=n.toLowerCase(),n===t||0===n.indexOf(t+"-");while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=window.location&&window.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===L},focus:function(e){return e===D.activeElement&&(!D.hasFocus||D.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!w.pseudos.empty(e)},header:function(e){return me.test(e.nodeName)},input:function(e){return pe.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:c(function(){return[0]}),last:c(function(e,t){return[t-1]}),eq:c(function(e,t,n){return[0>n?n+t:n]}),even:c(function(e,t){for(var n=0;t>n;n+=2)e.push(n);return e}),odd:c(function(e,t){for(var n=1;t>n;n+=2)e.push(n);return e}),lt:c(function(e,t,n){for(var r=0>n?n+t:n;--r>=0;)e.push(r);return e}),gt:c(function(e,t,n){for(var r=0>n?n+t:n;++r2&&"ID"===(a=o[0]).type&&C.getById&&9===t.nodeType&&M&&w.relative[o[1].type]){if(t=(w.find.ID(a.matches[0].replace(xe,Ce),t)||[])[0],!t)return n;c&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=he.needsContext.test(e)?0:o.length;i--&&(a=o[i],!w.relative[s=a.type]);)if((l=w.find[s])&&(r=l(a.matches[0].replace(xe,Ce),ye.test(o[0].type)&&u(t.parentNode)||t))){if(o.splice(i,1),e=r.length&&f(o),!e)return Z.apply(n,r),n;break}}return(c||S(e,d))(r,t,!M,n,ye.test(e)&&u(t.parentNode)||t),n},C.sortStable=F.split("").sort(j).join("")===F,C.detectDuplicates=!!A,B(),C.sortDetached=i(function(e){return 1&e.compareDocumentPosition(D.createElement("div"))}),i(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||o("type|href|height|width",function(e,t,n){return n?void 0:e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),C.attributes&&i(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||o("value",function(e,t,n){return n||"input"!==e.nodeName.toLowerCase()?void 0:e.defaultValue}),i(function(e){return null==e.getAttribute("disabled")})||o(ne,function(e,t,n){var r;return n?void 0:e[t]===!0?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),e}),r(u,[],function(){var e=navigator,t=e.userAgent,n,r,i,o,a,s,l,c,u,d;n=window.opera&&window.opera.buildNumber,u=/Android/.test(t),r=/WebKit/.test(t),i=!r&&!n&&/MSIE/gi.test(t)&&/Explorer/gi.test(e.appName),i=i&&/MSIE (\w+)\./.exec(t)[1],o=-1==t.indexOf("Trident/")||-1==t.indexOf("rv:")&&-1==e.appName.indexOf("Netscape")?!1:11,a=-1==t.indexOf("Edge/")||i||o?!1:12,i=i||o||a,s=!r&&!o&&/Gecko/.test(t),l=-1!=t.indexOf("Mac"),c=/(iPad|iPhone)/.test(t),d="FormData"in window&&"FileReader"in window&&"URL"in window&&!!URL.createObjectURL,a&&(r=!1);var f=!c||d||t.match(/AppleWebKit\/(\d*)/)[1]>=534;return{opera:n,webkit:r,ie:i,gecko:s,mac:l,iOS:c,android:u,contentEditable:f,transparentSrc:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",caretAfter:8!=i,range:window.getSelection&&"Range"in window,documentMode:i&&!a?document.documentMode||7:10,fileApi:d}}),r(d,[],function(){function e(e){var t=e,n,r;if(!s(e))for(t=[],n=0,r=e.length;r>n;n++)t[n]=e[n];return t}function n(e,n,r){var i,o;if(!e)return 0;if(r=r||e,e.length!==t){for(i=0,o=e.length;o>i;i++)if(n.call(r,e[i],i,e)===!1)return 0}else for(i in e)if(e.hasOwnProperty(i)&&n.call(r,e[i],i,e)===!1)return 0;return 1}function r(e,t){var r=[];return n(e,function(n,i){r.push(t(n,i,e))}),r}function i(e,t){var r=[];return n(e,function(e){(!t||t(e))&&r.push(e)}),r}function o(e,t){var n,r;if(e)for(n=0,r=e.length;r>n;n++)if(e[n]===t)return n;return-1}function a(e,t,n,r){var i=0;for(arguments.length<3&&(n=e[0],i=1);ir;r++){n=a[r];for(o in n)n.hasOwnProperty(o)&&(s=n[o],s!==t&&(e[o]=s))}return e}function l(e,t,r,i){i=i||this,e&&(r&&(e=e[r]),n.each(e,function(e,n){return t.call(i,e,n,r)===!1?!1:void l(e,t,r,i)}))}function c(e,t){var n,r;for(t=t||window,e=e.split("."),n=0;nn&&(t=t[e[n]],t);n++);return t}function d(e,t){return!e||i(e,"array")?e:n.map(e.split(t||","),r)}function f(t){var n=e.cacheSuffix;return n&&(t+=(-1===t.indexOf("?")?"?":"&")+n),t}var h=/^\s*|\s*$/g;return{trim:r,isArray:n.isArray,is:i,toArray:n.toArray,makeMap:o,each:n.each,map:n.map,grep:n.filter,inArray:n.indexOf,extend:s,create:a,walk:l,createNS:c,resolve:u,explode:d,_addCacheSuffix:f}}),r(h,[l,c,f,u],function(e,n,r,i){function o(e){return"undefined"!=typeof e}function a(e){return"string"==typeof e}function s(e){return e&&e==e.window}function l(e,t){var n,r,i;for(t=t||w,i=t.createElement("div"),n=t.createDocumentFragment(),i.innerHTML=e;r=i.firstChild;)n.appendChild(r);return n}function c(e,t,n,r){var i;if(a(t))t=l(t,v(e[0]));else if(t.length&&!t.nodeType){if(t=f.makeArray(t),r)for(i=t.length-1;i>=0;i--)c(e,t[i],n,r);else for(i=0;ii&&(a=e[i],t.call(a,i,a)!==!1);i++);return e}function g(e,t){var n=[];return m(e,function(e,r){t(r,e)&&n.push(r)}),n}function v(e){return e?9==e.nodeType?e:e.ownerDocument:w}function y(e,n,r){var i=[],o=e[n];for("string"!=typeof r&&r instanceof f&&(r=r[0]);o&&9!==o.nodeType;){if(r!==t){if(o===r)break;if("string"==typeof r&&f(o).is(r))break}1===o.nodeType&&i.push(o),o=o[n]}return i}function b(e,n,r,i){var o=[];for(i instanceof f&&(i=i[0]);e;e=e[n])if(!r||e.nodeType===r){if(i!==t){if(e===i)break;if("string"==typeof i&&f(e).is(i))break}o.push(e)}return o}function x(e,t,n){for(e=e[t];e;e=e[t])if(e.nodeType==n)return e;return null}function C(e,t,n){m(n,function(n,r){e[n]=e[n]||{},e[n][t]=r})}var w=document,_=Array.prototype.push,E=Array.prototype.slice,N=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,S=e.Event,k,T=r.makeMap("children,contents,next,prev"),R=r.makeMap("fillOpacity fontWeight lineHeight opacity orphans widows zIndex zoom"," "),A=r.makeMap("checked compact declare defer disabled ismap multiple nohref noshade nowrap readonly selected"," "),B={ +"for":"htmlFor","class":"className",readonly:"readOnly"},D={"float":"cssFloat"},L={},M={},H=/^\s*|\s*$/g;return f.fn=f.prototype={constructor:f,selector:"",context:null,length:0,init:function(e,t){var n=this,r,i;if(!e)return n;if(e.nodeType)return n.context=n[0]=e,n.length=1,n;if(t&&t.nodeType)n.context=t;else{if(t)return f(e).attr(t);n.context=t=document}if(a(e)){if(n.selector=e,r="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:N.exec(e),!r)return f(t).find(e);if(r[1])for(i=l(e,v(t)).firstChild;i;)_.call(n,i),i=i.nextSibling;else{if(i=v(t).getElementById(r[2]),!i)return n;if(i.id!==r[2])return n.find(e);n.length=1,n[0]=i}}else this.add(e,!1);return n},toArray:function(){return r.toArray(this)},add:function(e,t){var n=this,r,i;if(a(e))return n.add(f(e));if(t!==!1)for(r=f.unique(n.toArray().concat(f.makeArray(e))),n.length=r.length,i=0;it;t++)f.find(e,this[t],r);return f(r)},filter:function(e){return f("function"==typeof e?g(this.toArray(),function(t,n){return e(n,t)}):f.filter(e,this.toArray()))},closest:function(e){var t=[];return e instanceof f&&(e=e[0]),this.each(function(n,r){for(;r;){if("string"==typeof e&&f(r).is(e)){t.push(r);break}if(r==e){t.push(r);break}r=r.parentNode}}),f(t)},offset:function(e){var t,n,r,i=0,o=0,a;return e?this.css(e):(t=this[0],t&&(n=t.ownerDocument,r=n.documentElement,t.getBoundingClientRect&&(a=t.getBoundingClientRect(),i=a.left+(r.scrollLeft||n.body.scrollLeft)-r.clientLeft,o=a.top+(r.scrollTop||n.body.scrollTop)-r.clientTop)),{left:i,top:o})},push:_,sort:[].sort,splice:[].splice},r.extend(f,{extend:r.extend,makeArray:function(e){return s(e)||e.nodeType?[e]:r.toArray(e)},inArray:h,isArray:r.isArray,each:m,trim:p,grep:g,find:n,expr:n.selectors,unique:n.uniqueSort,text:n.getText,contains:n.contains,filter:function(e,t,n){var r=t.length;for(n&&(e=":not("+e+")");r--;)1!=t[r].nodeType&&t.splice(r,1);return t=1===t.length?f.find.matchesSelector(t[0],e)?[t[0]]:[]:f.find.matches(e,t)}}),m({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return y(e,"parentNode")},next:function(e){return x(e,"nextSibling",1)},prev:function(e){return x(e,"previousSibling",1)},children:function(e){return b(e.firstChild,"nextSibling",1)},contents:function(e){return r.toArray(("iframe"===e.nodeName?e.contentDocument||e.contentWindow.document:e).childNodes)}},function(e,t){f.fn[e]=function(n){var r=this,i=[];return r.each(function(){var e=t.call(i,this,n,i);e&&(f.isArray(e)?i.push.apply(i,e):i.push(e))}),this.length>1&&(T[e]||(i=f.unique(i)),0===e.indexOf("parents")&&(i=i.reverse())),i=f(i),n?i.filter(n):i}}),m({parentsUntil:function(e,t){return y(e,"parentNode",t)},nextUntil:function(e,t){return b(e,"nextSibling",1,t).slice(1)},prevUntil:function(e,t){return b(e,"previousSibling",1,t).slice(1)}},function(e,t){f.fn[e]=function(n,r){var i=this,o=[];return i.each(function(){var e=t.call(o,this,n,o);e&&(f.isArray(e)?o.push.apply(o,e):o.push(e))}),this.length>1&&(o=f.unique(o),(0===e.indexOf("parents")||"prevUntil"===e)&&(o=o.reverse())),o=f(o),r?o.filter(r):o}}),f.fn.is=function(e){return!!e&&this.filter(e).length>0},f.fn.init.prototype=f.fn,f.overrideDefaults=function(e){function t(r,i){return n=n||e(),0===arguments.length&&(r=n.element),i||(i=n.context),new t.fn.init(r,i)}var n;return f.extend(t,this),t},i.ie&&i.ie<8&&(C(L,"get",{maxlength:function(e){var t=e.maxLength;return 2147483647===t?k:t},size:function(e){var t=e.size;return 20===t?k:t},"class":function(e){return e.className},style:function(e){var t=e.style.cssText;return 0===t.length?k:t}}),C(L,"set",{"class":function(e,t){e.className=t},style:function(e,t){e.style.cssText=t}})),i.ie&&i.ie<9&&(D["float"]="styleFloat",C(M,"set",{opacity:function(e,t){var n=e.style;null===t||""===t?n.removeAttribute("filter"):(n.zoom=1,n.filter="alpha(opacity="+100*t+")")}})),f.attrHooks=L,f.cssHooks=M,f}),r(p,[],function(){return function(e,t){function n(e,t,n,r){function i(e){return e=parseInt(e,10).toString(16),e.length>1?e:"0"+e}return"#"+i(t)+i(n)+i(r)}var r=/rgb\s*\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*\)/gi,i=/(?:url(?:(?:\(\s*\"([^\"]+)\"\s*\))|(?:\(\s*\'([^\']+)\'\s*\))|(?:\(\s*([^)\s]+)\s*\))))|(?:\'([^\']+)\')|(?:\"([^\"]+)\")/gi,o=/\s*([^:]+):\s*([^;]+);?/g,a=/\s+$/,s,l,c={},u,d,f,h="\ufeff";for(e=e||{},t&&(d=t.getValidStyles(),f=t.getInvalidStyles()),u=("\\\" \\' \\; \\: ; : "+h).split(" "),l=0;l-1&&n||(m[e+t]=-1==l?s[0]:s.join(" "),delete m[e+"-top"+t],delete m[e+"-right"+t],delete m[e+"-bottom"+t],delete m[e+"-left"+t])}}function u(e){var t=m[e],n;if(t){for(t=t.split(" "),n=t.length;n--;)if(t[n]!==t[0])return!1;return m[e]=t[0],!0}}function d(e,t,n,r){u(t)&&u(n)&&u(r)&&(m[e]=m[t]+" "+m[n]+" "+m[r],delete m[t],delete m[n],delete m[r])}function f(e){return b=!0,c[e]}function h(e,t){return b&&(e=e.replace(/\uFEFF[0-9]/g,function(e){return c[e]})),t||(e=e.replace(/\\([\'\";:])/g,"$1")),e}function p(t,n,r,i,o,a){if(o=o||a)return o=h(o),"'"+o.replace(/\'/g,"\\'")+"'";if(n=h(n||r||i),!e.allow_script_urls){var s=n.replace(/[\s\r\n]+/,"");if(/(java|vb)script:/i.test(s))return"";if(!e.allow_svg_data_urls&&/^data:image\/svg/i.test(s))return""}return x&&(n=x.call(C,n,"style")),"url('"+n.replace(/\'/g,"\\'")+"')"}var m={},g,v,y,b,x=e.url_converter,C=e.url_converter_scope||this;if(t){for(t=t.replace(/[\u0000-\u001F]/g,""),t=t.replace(/\\[\"\';:\uFEFF]/g,f).replace(/\"[^\"]+\"|\'[^\']+\'/g,function(e){return e.replace(/[;:]/g,f)});g=o.exec(t);){if(v=g[1].replace(a,"").toLowerCase(),y=g[2].replace(a,""),y=y.replace(/\\[0-9a-f]+/g,function(e){return String.fromCharCode(parseInt(e.substr(1),16))}),v&&y.length>0){if(!e.allow_script_urls&&("behavior"==v||/expression\s*\(|\/\*|\*\//.test(y)))continue;"font-weight"===v&&"700"===y?y="bold":("color"===v||"background-color"===v)&&(y=y.toLowerCase()),y=y.replace(r,n),y=y.replace(i,p),m[v]=b?h(y,!0):y}o.lastIndex=g.index+g[0].length}s("border","",!0),s("border","-width"),s("border","-color"),s("border","-style"),s("padding",""),s("margin",""),d("border","border-width","border-style","border-color"),"medium none"===m.border&&delete m.border,"none"===m["border-image"]&&delete m["border-image"]}return m},serialize:function(e,t){function n(t){var n,r,o,a;if(n=d[t])for(r=0,o=n.length;o>r;r++)t=n[r],a=e[t],a!==s&&a.length>0&&(i+=(i.length>0?" ":"")+t+": "+a+";")}function r(e,t){var n;return n=f["*"],n&&n[e]?!1:(n=f[t],n&&n[e]?!1:!0)}var i="",o,a;if(t&&d)n("*"),n(t);else for(o in e)a=e[o],a!==s&&a.length>0&&(!f||r(o,t))&&(i+=(i.length>0?" ":"")+o+": "+a+";");return i}}}}),r(m,[],function(){return function(e,t){function n(e,n,r,i){var o,a;if(e){if(!i&&e[n])return e[n];if(e!=t){if(o=e[r])return o;for(a=e.parentNode;a&&a!=t;a=a.parentNode)if(o=a[r])return o}}}var r=e;this.current=function(){return r},this.next=function(e){return r=n(r,"firstChild","nextSibling",e)},this.prev=function(e){return r=n(r,"lastChild","previousSibling",e)}}}),r(g,[f],function(e){function t(n){function r(){return H.createDocumentFragment()}function i(e,t){_(F,e,t)}function o(e,t){_(z,e,t)}function a(e){i(e.parentNode,j(e))}function s(e){i(e.parentNode,j(e)+1)}function l(e){o(e.parentNode,j(e))}function c(e){o(e.parentNode,j(e)+1)}function u(e){e?(M[U]=M[V],M[$]=M[W]):(M[V]=M[U],M[W]=M[$]),M.collapsed=F}function d(e){a(e),c(e)}function f(e){i(e,0),o(e,1===e.nodeType?e.childNodes.length:e.nodeValue.length)}function h(e,t){var n=M[V],r=M[W],i=M[U],o=M[$],a=t.startContainer,s=t.startOffset,l=t.endContainer,c=t.endOffset;return 0===e?w(n,r,a,s):1===e?w(i,o,a,s):2===e?w(i,o,l,c):3===e?w(n,r,l,c):void 0}function p(){E(I)}function m(){return E(P)}function g(){return E(O)}function v(e){var t=this[V],r=this[W],i,o;3!==t.nodeType&&4!==t.nodeType||!t.nodeValue?(t.childNodes.length>0&&(o=t.childNodes[r]),o?t.insertBefore(e,o):3==t.nodeType?n.insertAfter(e,t):t.appendChild(e)):r?r>=t.nodeValue.length?n.insertAfter(e,t):(i=t.splitText(r),t.parentNode.insertBefore(e,i)):t.parentNode.insertBefore(e,t)}function y(e){var t=M.extractContents();M.insertNode(e),e.appendChild(t),M.selectNode(e)}function b(){return q(new t(n),{startContainer:M[V],startOffset:M[W],endContainer:M[U],endOffset:M[$],collapsed:M.collapsed,commonAncestorContainer:M.commonAncestorContainer})}function x(e,t){var n;if(3==e.nodeType)return e;if(0>t)return e;for(n=e.firstChild;n&&t>0;)--t,n=n.nextSibling;return n?n:e}function C(){return M[V]==M[U]&&M[W]==M[$]}function w(e,t,r,i){var o,a,s,l,c,u;if(e==r)return t==i?0:i>t?-1:1;for(o=r;o&&o.parentNode!=e;)o=o.parentNode;if(o){for(a=0,s=e.firstChild;s!=o&&t>a;)a++,s=s.nextSibling;return a>=t?-1:1}for(o=e;o&&o.parentNode!=r;)o=o.parentNode;if(o){for(a=0,s=r.firstChild;s!=o&&i>a;)a++,s=s.nextSibling;return i>a?-1:1}for(l=n.findCommonAncestor(e,r),c=e;c&&c.parentNode!=l;)c=c.parentNode;for(c||(c=l),u=r;u&&u.parentNode!=l;)u=u.parentNode;if(u||(u=l),c==u)return 0;for(s=l.firstChild;s;){if(s==c)return-1;if(s==u)return 1;s=s.nextSibling}}function _(e,t,r){var i,o;for(e?(M[V]=t,M[W]=r):(M[U]=t,M[$]=r),i=M[U];i.parentNode;)i=i.parentNode;for(o=M[V];o.parentNode;)o=o.parentNode;o==i?w(M[V],M[W],M[U],M[$])>0&&M.collapse(e):M.collapse(e),M.collapsed=C(),M.commonAncestorContainer=n.findCommonAncestor(M[V],M[U])}function E(e){var t,n=0,r=0,i,o,a,s,l,c;if(M[V]==M[U])return N(e);for(t=M[U],i=t.parentNode;i;t=i,i=i.parentNode){if(i==M[V])return S(t,e);++n}for(t=M[V],i=t.parentNode;i;t=i,i=i.parentNode){if(i==M[U])return k(t,e);++r}for(o=r-n,a=M[V];o>0;)a=a.parentNode,o--;for(s=M[U];0>o;)s=s.parentNode,o++;for(l=a.parentNode,c=s.parentNode;l!=c;l=l.parentNode,c=c.parentNode)a=l,s=c;return T(a,s,e)}function N(e){var t,n,i,o,a,s,l,c,u;if(e!=I&&(t=r()),M[W]==M[$])return t;if(3==M[V].nodeType){if(n=M[V].nodeValue,i=n.substring(M[W],M[$]),e!=O&&(o=M[V],c=M[W],u=M[$]-M[W],0===c&&u>=o.nodeValue.length-1?o.parentNode.removeChild(o):o.deleteData(c,u),M.collapse(F)),e==I)return;return i.length>0&&t.appendChild(H.createTextNode(i)),t}for(o=x(M[V],M[W]),a=M[$]-M[W];o&&a>0;)s=o.nextSibling,l=D(o,e),t&&t.appendChild(l),--a,o=s;return e!=O&&M.collapse(F),t}function S(e,t){var n,i,o,a,s,l;if(t!=I&&(n=r()),i=R(e,t),n&&n.appendChild(i),o=j(e),a=o-M[W],0>=a)return t!=O&&(M.setEndBefore(e),M.collapse(z)),n;for(i=e.previousSibling;a>0;)s=i.previousSibling,l=D(i,t),n&&n.insertBefore(l,n.firstChild),--a,i=s;return t!=O&&(M.setEndBefore(e),M.collapse(z)),n}function k(e,t){var n,i,o,a,s,l;for(t!=I&&(n=r()),o=A(e,t),n&&n.appendChild(o),i=j(e),++i,a=M[$]-i,o=e.nextSibling;o&&a>0;)s=o.nextSibling,l=D(o,t),n&&n.appendChild(l),--a,o=s;return t!=O&&(M.setStartAfter(e),M.collapse(F)),n}function T(e,t,n){var i,o,a,s,l,c,u;for(n!=I&&(o=r()),i=A(e,n),o&&o.appendChild(i),a=j(e),s=j(t),++a,l=s-a,c=e.nextSibling;l>0;)u=c.nextSibling,i=D(c,n),o&&o.appendChild(i),c=u,--l;return i=R(t,n),o&&o.appendChild(i),n!=O&&(M.setStartAfter(e),M.collapse(F)),o}function R(e,t){var n=x(M[U],M[$]-1),r,i,o,a,s,l=n!=M[U];if(n==e)return B(n,l,z,t);for(r=n.parentNode,i=B(r,z,z,t);r;){for(;n;)o=n.previousSibling,a=B(n,l,z,t),t!=I&&i.insertBefore(a,i.firstChild),l=F,n=o;if(r==e)return i;n=r.previousSibling,r=r.parentNode,s=B(r,z,z,t),t!=I&&s.appendChild(i),i=s}}function A(e,t){var n=x(M[V],M[W]),r=n!=M[V],i,o,a,s,l;if(n==e)return B(n,r,F,t);for(i=n.parentNode,o=B(i,z,F,t);i;){for(;n;)a=n.nextSibling,s=B(n,r,F,t),t!=I&&o.appendChild(s),r=F,n=a;if(i==e)return o;n=i.nextSibling,i=i.parentNode,l=B(i,z,F,t),t!=I&&l.appendChild(o),o=l}}function B(e,t,r,i){var o,a,s,l,c;if(t)return D(e,i);if(3==e.nodeType){if(o=e.nodeValue,r?(l=M[W],a=o.substring(l),s=o.substring(0,l)):(l=M[$],a=o.substring(0,l),s=o.substring(l)),i!=O&&(e.nodeValue=s),i==I)return;return c=n.clone(e,z),c.nodeValue=a,c}if(i!=I)return n.clone(e,z)}function D(e,t){return t!=I?t==O?n.clone(e,F):e:void e.parentNode.removeChild(e)}function L(){return n.create("body",null,g()).outerText}var M=this,H=n.doc,P=0,O=1,I=2,F=!0,z=!1,W="startOffset",V="startContainer",U="endContainer",$="endOffset",q=e.extend,j=n.nodeIndex;return q(M,{startContainer:H,startOffset:0,endContainer:H,endOffset:0,collapsed:F,commonAncestorContainer:H,START_TO_START:0,START_TO_END:1,END_TO_END:2,END_TO_START:3,setStart:i,setEnd:o,setStartBefore:a,setStartAfter:s,setEndBefore:l,setEndAfter:c,collapse:u,selectNode:d,selectNodeContents:f,compareBoundaryPoints:h,deleteContents:p,extractContents:m,cloneContents:g,insertNode:v,surroundContents:y,cloneRange:b,toStringIE:L}),M}return t.prototype.toString=function(){return this.toStringIE()},t}),r(v,[f],function(e){function t(e){var t;return t=document.createElement("div"),t.innerHTML=e,t.textContent||t.innerText||e}function n(e,t){var n,r,i,a={};if(e){for(e=e.split(","),t=t||10,n=0;n\"\u0060\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=/[<>&\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=/[<>&\"\']/g,u=/&#([a-z0-9]+);?|&([a-z0-9]+);/gi,d={128:"\u20ac",130:"\u201a",131:"\u0192",132:"\u201e",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02c6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017d",145:"\u2018",146:"\u2019",147:"\u201c",148:"\u201d",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02dc",153:"\u2122",154:"\u0161",155:"\u203a",156:"\u0153",158:"\u017e",159:"\u0178"};o={'"':""","'":"'","<":"<",">":">","&":"&","`":"`"},a={"<":"<",">":">","&":"&",""":'"',"'":"'"},i=n("50,nbsp,51,iexcl,52,cent,53,pound,54,curren,55,yen,56,brvbar,57,sect,58,uml,59,copy,5a,ordf,5b,laquo,5c,not,5d,shy,5e,reg,5f,macr,5g,deg,5h,plusmn,5i,sup2,5j,sup3,5k,acute,5l,micro,5m,para,5n,middot,5o,cedil,5p,sup1,5q,ordm,5r,raquo,5s,frac14,5t,frac12,5u,frac34,5v,iquest,60,Agrave,61,Aacute,62,Acirc,63,Atilde,64,Auml,65,Aring,66,AElig,67,Ccedil,68,Egrave,69,Eacute,6a,Ecirc,6b,Euml,6c,Igrave,6d,Iacute,6e,Icirc,6f,Iuml,6g,ETH,6h,Ntilde,6i,Ograve,6j,Oacute,6k,Ocirc,6l,Otilde,6m,Ouml,6n,times,6o,Oslash,6p,Ugrave,6q,Uacute,6r,Ucirc,6s,Uuml,6t,Yacute,6u,THORN,6v,szlig,70,agrave,71,aacute,72,acirc,73,atilde,74,auml,75,aring,76,aelig,77,ccedil,78,egrave,79,eacute,7a,ecirc,7b,euml,7c,igrave,7d,iacute,7e,icirc,7f,iuml,7g,eth,7h,ntilde,7i,ograve,7j,oacute,7k,ocirc,7l,otilde,7m,ouml,7n,divide,7o,oslash,7p,ugrave,7q,uacute,7r,ucirc,7s,uuml,7t,yacute,7u,thorn,7v,yuml,ci,fnof,sh,Alpha,si,Beta,sj,Gamma,sk,Delta,sl,Epsilon,sm,Zeta,sn,Eta,so,Theta,sp,Iota,sq,Kappa,sr,Lambda,ss,Mu,st,Nu,su,Xi,sv,Omicron,t0,Pi,t1,Rho,t3,Sigma,t4,Tau,t5,Upsilon,t6,Phi,t7,Chi,t8,Psi,t9,Omega,th,alpha,ti,beta,tj,gamma,tk,delta,tl,epsilon,tm,zeta,tn,eta,to,theta,tp,iota,tq,kappa,tr,lambda,ts,mu,tt,nu,tu,xi,tv,omicron,u0,pi,u1,rho,u2,sigmaf,u3,sigma,u4,tau,u5,upsilon,u6,phi,u7,chi,u8,psi,u9,omega,uh,thetasym,ui,upsih,um,piv,812,bull,816,hellip,81i,prime,81j,Prime,81u,oline,824,frasl,88o,weierp,88h,image,88s,real,892,trade,89l,alefsym,8cg,larr,8ch,uarr,8ci,rarr,8cj,darr,8ck,harr,8dl,crarr,8eg,lArr,8eh,uArr,8ei,rArr,8ej,dArr,8ek,hArr,8g0,forall,8g2,part,8g3,exist,8g5,empty,8g7,nabla,8g8,isin,8g9,notin,8gb,ni,8gf,prod,8gh,sum,8gi,minus,8gn,lowast,8gq,radic,8gt,prop,8gu,infin,8h0,ang,8h7,and,8h8,or,8h9,cap,8ha,cup,8hb,int,8hk,there4,8hs,sim,8i5,cong,8i8,asymp,8j0,ne,8j1,equiv,8j4,le,8j5,ge,8k2,sub,8k3,sup,8k4,nsub,8k6,sube,8k7,supe,8kl,oplus,8kn,otimes,8l5,perp,8m5,sdot,8o8,lceil,8o9,rceil,8oa,lfloor,8ob,rfloor,8p9,lang,8pa,rang,9ea,loz,9j0,spades,9j3,clubs,9j5,hearts,9j6,diams,ai,OElig,aj,oelig,b0,Scaron,b1,scaron,bo,Yuml,m6,circ,ms,tilde,802,ensp,803,emsp,809,thinsp,80c,zwnj,80d,zwj,80e,lrm,80f,rlm,80j,ndash,80k,mdash,80o,lsquo,80p,rsquo,80q,sbquo,80s,ldquo,80t,rdquo,80u,bdquo,810,dagger,811,Dagger,81g,permil,81p,lsaquo,81q,rsaquo,85c,euro",32);var f={encodeRaw:function(e,t){return e.replace(t?s:l,function(e){return o[e]||e})},encodeAllRaw:function(e){return(""+e).replace(c,function(e){return o[e]||e})},encodeNumeric:function(e,t){return e.replace(t?s:l,function(e){return e.length>1?"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";":o[e]||"&#"+e.charCodeAt(0)+";"})},encodeNamed:function(e,t,n){return n=n||i,e.replace(t?s:l,function(e){return o[e]||n[e]||e})},getEncodeFunc:function(e,t){function a(e,n){return e.replace(n?s:l,function(e){return o[e]||t[e]||"&#"+e.charCodeAt(0)+";"||e})}function c(e,n){return f.encodeNamed(e,n,t)}return t=n(t)||i,e=r(e.replace(/\+/g,",")),e.named&&e.numeric?a:e.named?t?c:f.encodeNamed:e.numeric?f.encodeNumeric:f.encodeRaw},decode:function(e){return e.replace(u,function(e,n){return n?(n="x"===n.charAt(0).toLowerCase()?parseInt(n.substr(1),16):parseInt(n,10),n>65535?(n-=65536,String.fromCharCode(55296+(n>>10),56320+(1023&n))):d[n]||String.fromCharCode(n)):a[e]||i[e]||t(e)})}};return f}),r(y,[f],function(e){return function(t,n){function r(e){t.getElementsByTagName("head")[0].appendChild(e)}function i(n,i,l){function c(){for(var e=y.passed,t=e.length;t--;)e[t]();y.status=2,y.passed=[],y.failed=[]}function u(){for(var e=y.failed,t=e.length;t--;)e[t]();y.status=3,y.passed=[],y.failed=[]}function d(){var e=navigator.userAgent.match(/WebKit\/(\d*)/);return!!(e&&e[1]<536)}function f(e,t){e()||((new Date).getTime()-v0)return g=t.createElement("style"),g.textContent='@import "'+n+'"',p(),void r(g);h()}r(m),m.href=n}}var o=0,a={},s;n=n||{},s=n.maxLoadTime||5e3,this.load=i}}),r(b,[c,h,p,l,m,g,v,u,f,y],function(e,n,r,i,o,a,s,l,c,u){function d(e,t){var n={},r=t.keep_values,i;return i={set:function(n,r,i){t.url_converter&&(r=t.url_converter.call(t.url_converter_scope||e,r,i,n[0])),n.attr("data-mce-"+i,r).attr(i,r)},get:function(e,t){return e.attr("data-mce-"+t)||e.attr(t)}},n={style:{set:function(e,t){return null!==t&&"object"==typeof t?void e.css(t):(r&&e.attr("data-mce-style",t),void e.attr("style",t))},get:function(t){var n=t.attr("data-mce-style")||t.attr("style");return n=e.serializeStyle(e.parseStyle(n),t[0].nodeName)}}},r&&(n.href=n.src=i),n}function f(e,t){var n=t.attr("style");n=e.serializeStyle(e.parseStyle(n),t[0].nodeName),n||(n=null),t.attr("data-mce-style",n)}function h(e,t){var n=0,r,i;if(e)for(r=e.nodeType,e=e.previousSibling;e;e=e.previousSibling)i=e.nodeType,(!t||3!=i||i!=r&&e.nodeValue.length)&&(n++,r=i);return n}function p(e,t){var o=this,a;o.doc=e,o.win=window,o.files={},o.counter=0,o.stdMode=!b||e.documentMode>=8,o.boxModel=!b||"CSS1Compat"==e.compatMode||o.stdMode,o.styleSheetLoader=new u(e),o.boundEvents=[],o.settings=t=t||{},o.schema=t.schema,o.styles=new r({url_converter:t.url_converter,url_converter_scope:t.url_converter_scope},t.schema),o.fixDoc(e),o.events=t.ownEvents?new i(t.proxy):i.Event,o.attrHooks=d(o,t),a=t.schema?t.schema.getBlockElements():{},o.$=n.overrideDefaults(function(){return{context:e,element:o.getRoot()}}),o.isBlock=function(e){if(!e)return!1;var t=e.nodeType;return t?!(1!==t||!a[e.nodeName]):!!a[e]}}var m=c.each,g=c.is,v=c.grep,y=c.trim,b=l.ie,x=/^([a-z0-9],?)+$/i,C=/^[ \t\r\n]*$/;return p.prototype={$$:function(e){return"string"==typeof e&&(e=this.get(e)),this.$(e)},root:null,fixDoc:function(e){var t=this.settings,n;if(b&&t.schema){"abbr article aside audio canvas details figcaption figure footer header hgroup mark menu meter nav output progress section summary time video".replace(/\w+/g,function(t){e.createElement(t)});for(n in t.schema.getCustomElements())e.createElement(n)}},clone:function(e,t){var n=this,r,i;return!b||1!==e.nodeType||t?e.cloneNode(t):(i=n.doc,t?r.firstChild:(r=i.createElement(e.nodeName),m(n.getAttribs(e),function(t){n.setAttrib(r,t.nodeName,n.getAttrib(e,t.nodeName))}),r))},getRoot:function(){var e=this;return e.settings.root_element||e.doc.body},getViewPort:function(e){var t,n;return e=e?e:this.win,t=e.document,n=this.boxModel?t.documentElement:t.body,{x:e.pageXOffset||n.scrollLeft,y:e.pageYOffset||n.scrollTop,w:e.innerWidth||n.clientWidth,h:e.innerHeight||n.clientHeight}},getRect:function(e){var t=this,n,r;return e=t.get(e),n=t.getPos(e),r=t.getSize(e),{x:n.x,y:n.y,w:r.w,h:r.h}},getSize:function(e){var t=this,n,r;return e=t.get(e),n=t.getStyle(e,"width"),r=t.getStyle(e,"height"),-1===n.indexOf("px")&&(n=0),-1===r.indexOf("px")&&(r=0),{w:parseInt(n,10)||e.offsetWidth||e.clientWidth,h:parseInt(r,10)||e.offsetHeight||e.clientHeight}},getParent:function(e,t,n){return this.getParents(e,t,n,!1)},getParents:function(e,n,r,i){var o=this,a,s=[];for(e=o.get(e),i=i===t,r=r||("BODY"!=o.getRoot().nodeName?o.getRoot().parentNode:null),g(n,"string")&&(a=n,n="*"===n?function(e){return 1==e.nodeType}:function(e){return o.is(e,a)});e&&e!=r&&e.nodeType&&9!==e.nodeType;){if(!n||n(e)){if(!i)return e;s.push(e)}e=e.parentNode}return i?s:null},get:function(e){var t;return e&&this.doc&&"string"==typeof e&&(t=e,e=this.doc.getElementById(e),e&&e.id!==t)?this.doc.getElementsByName(t)[1]:e},getNext:function(e,t){return this._findSib(e,t,"nextSibling")},getPrev:function(e,t){return this._findSib(e,t,"previousSibling")},select:function(t,n){var r=this;return e(t,r.get(n)||r.settings.root_element||r.doc,[])},is:function(n,r){var i;if(n.length===t){if("*"===r)return 1==n.nodeType;if(x.test(r)){for(r=r.toLowerCase().split(/,/),n=n.nodeName.toLowerCase(),i=r.length-1;i>=0;i--)if(r[i]==n)return!0;return!1}}if(n.nodeType&&1!=n.nodeType)return!1;var o=n.nodeType?[n]:n;return e(r,o[0].ownerDocument||o[0],null,o).length>0},add:function(e,t,n,r,i){var o=this;return this.run(e,function(e){var a;return a=g(t,"string")?o.doc.createElement(t):t,o.setAttribs(a,n),r&&(r.nodeType?a.appendChild(r):o.setHTML(a,r)),i?a:e.appendChild(a)})},create:function(e,t,n){return this.add(this.doc.createElement(e),e,t,n,1)},createHTML:function(e,t,n){var r="",i;r+="<"+e;for(i in t)t.hasOwnProperty(i)&&null!==t[i]&&"undefined"!=typeof t[i]&&(r+=" "+i+'="'+this.encode(t[i])+'"');return"undefined"!=typeof n?r+">"+n+"":r+" />"},createFragment:function(e){var t,n,r=this.doc,i;for(i=r.createElement("div"),t=r.createDocumentFragment(),e&&(i.innerHTML=e);n=i.firstChild;)t.appendChild(n);return t},remove:function(e,t){return e=this.$$(e),t?e.each(function(){for(var e;e=this.firstChild;)3==e.nodeType&&0===e.data.length?this.removeChild(e):this.parentNode.insertBefore(e,this)}).remove():e.remove(),e.length>1?e.toArray():e[0]},setStyle:function(e,t,n){e=this.$$(e).css(t,n),this.settings.update_styles&&f(this,e)},getStyle:function(e,n,r){return e=this.$$(e),r?e.css(n):(n=n.replace(/-(\D)/g,function(e,t){return t.toUpperCase()}),"float"==n&&(n=l.ie&&l.ie<12?"styleFloat":"cssFloat"),e[0]&&e[0].style?e[0].style[n]:t)},setStyles:function(e,t){e=this.$$(e).css(t),this.settings.update_styles&&f(this,e)},removeAllAttribs:function(e){return this.run(e,function(e){var t,n=e.attributes;for(t=n.length-1;t>=0;t--)e.removeAttributeNode(n.item(t))})},setAttrib:function(e,t,n){var r=this,i,o,a=r.settings;""===n&&(n=null),e=r.$$(e),i=e.attr(t),e.length&&(o=r.attrHooks[t],o&&o.set?o.set(e,n,t):e.attr(t,n),i!=n&&a.onSetAttrib&&a.onSetAttrib({attrElm:e,attrName:t,attrValue:n}))},setAttribs:function(e,t){var n=this;n.$$(e).each(function(e,r){m(t,function(e,t){n.setAttrib(r,t,e)})})},getAttrib:function(e,t,n){var r=this,i,o;return e=r.$$(e),e.length&&(i=r.attrHooks[t],o=i&&i.get?i.get(e,t):e.attr(t)),"undefined"==typeof o&&(o=n||""),o},getPos:function(e,t){var r=this,i=0,o=0,a,s=r.doc,l=s.body,c;if(e=r.get(e),t=t||l,e){if(t===l&&e.getBoundingClientRect&&"static"===n(l).css("position"))return c=e.getBoundingClientRect(),t=r.boxModel?s.documentElement:l,i=c.left+(s.documentElement.scrollLeft||l.scrollLeft)-t.clientLeft,o=c.top+(s.documentElement.scrollTop||l.scrollTop)-t.clientTop,{x:i,y:o};for(a=e;a&&a!=t&&a.nodeType;)i+=a.offsetLeft||0,o+=a.offsetTop||0,a=a.offsetParent;for(a=e.parentNode;a&&a!=t&&a.nodeType;)i-=a.scrollLeft||0,o-=a.scrollTop||0,a=a.parentNode}return{x:i,y:o}},parseStyle:function(e){return this.styles.parse(e)},serializeStyle:function(e,t){return this.styles.serialize(e,t)},addStyle:function(e){var t=this,n=t.doc,r,i;if(t!==p.DOM&&n===document){var o=p.DOM.addedStyles;if(o=o||[],o[e])return;o[e]=!0,p.DOM.addedStyles=o}i=n.getElementById("mceDefaultStyles"),i||(i=n.createElement("style"),i.id="mceDefaultStyles",i.type="text/css",r=n.getElementsByTagName("head")[0],r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i)),i.styleSheet?i.styleSheet.cssText+=e:i.appendChild(n.createTextNode(e))},loadCSS:function(e){var t=this,n=t.doc,r;return t!==p.DOM&&n===document?void p.DOM.loadCSS(e):(e||(e=""),r=n.getElementsByTagName("head")[0],void m(e.split(","),function(e){var i;e=c._addCacheSuffix(e),t.files[e]||(t.files[e]=!0,i=t.create("link",{rel:"stylesheet",href:e}),b&&n.documentMode&&n.recalc&&(i.onload=function(){n.recalc&&n.recalc(),i.onload=null}),r.appendChild(i))}))},addClass:function(e,t){this.$$(e).addClass(t)},removeClass:function(e,t){this.toggleClass(e,t,!1)},hasClass:function(e,t){return this.$$(e).hasClass(t)},toggleClass:function(e,t,r){this.$$(e).toggleClass(t,r).each(function(){""===this.className&&n(this).attr("class",null)})},show:function(e){this.$$(e).show()},hide:function(e){this.$$(e).hide()},isHidden:function(e){return"none"==this.$$(e).css("display")},uniqueId:function(e){return(e?e:"mce_")+this.counter++},setHTML:function(e,t){e=this.$$(e),b?e.each(function(e,r){if(r.canHaveHTML!==!1){for(;r.firstChild;)r.removeChild(r.firstChild);try{r.innerHTML="
                "+t,r.removeChild(r.firstChild)}catch(i){n("
                ").html("
                "+t).contents().slice(1).appendTo(r)}return t}}):e.html(t)},getOuterHTML:function(e){return e=this.get(e),1==e.nodeType&&"outerHTML"in e?e.outerHTML:n("
                ").append(n(e).clone()).html()},setOuterHTML:function(e,t){var r=this;r.$$(e).each(function(){try{if("outerHTML"in this)return void(this.outerHTML=t)}catch(e){}r.remove(n(this).html(t),!0)})},decode:s.decode,encode:s.encodeAllRaw,insertAfter:function(e,t){return t=this.get(t),this.run(e,function(e){var n,r;return n=t.parentNode,r=t.nextSibling,r?n.insertBefore(e,r):n.appendChild(e),e})},replace:function(e,t,n){var r=this;return r.run(t,function(t){return g(t,"array")&&(e=e.cloneNode(!0)),n&&m(v(t.childNodes),function(t){e.appendChild(t)}),t.parentNode.replaceChild(e,t)})},rename:function(e,t){var n=this,r;return e.nodeName!=t.toUpperCase()&&(r=n.create(t),m(n.getAttribs(e),function(t){n.setAttrib(r,t.nodeName,n.getAttrib(e,t.nodeName))}),n.replace(r,e,1)),r||e},findCommonAncestor:function(e,t){for(var n=e,r;n;){for(r=t;r&&n!=r;)r=r.parentNode;if(n==r)break;n=n.parentNode}return!n&&e.ownerDocument?e.ownerDocument.documentElement:n},toHex:function(e){return this.styles.toHex(c.trim(e))},run:function(e,t,n){var r=this,i;return"string"==typeof e&&(e=r.get(e)),e?(n=n||this,e.nodeType||!e.length&&0!==e.length?t.call(n,e):(i=[],m(e,function(e,o){e&&("string"==typeof e&&(e=r.get(e)),i.push(t.call(n,e,o)))}),i)):!1},getAttribs:function(e){var t;if(e=this.get(e),!e)return[];if(b){if(t=[],"OBJECT"==e.nodeName)return e.attributes;"OPTION"===e.nodeName&&this.getAttrib(e,"selected")&&t.push({specified:1,nodeName:"selected"});var n=/<\/?[\w:\-]+ ?|=[\"][^\"]+\"|=\'[^\']+\'|=[\w\-]+|>/gi; +return e.cloneNode(!1).outerHTML.replace(n,"").replace(/[\w:\-]+/gi,function(e){t.push({specified:1,nodeName:e})}),t}return e.attributes},isEmpty:function(e,t){var n=this,r,i,a,s,l,c=0;if(e=e.firstChild){s=new o(e,e.parentNode),t=t||(n.schema?n.schema.getNonEmptyElements():null);do{if(a=e.nodeType,1===a){if(e.getAttribute("data-mce-bogus"))continue;if(l=e.nodeName.toLowerCase(),t&&t[l]){if("br"===l){c++;continue}return!1}for(i=n.getAttribs(e),r=i.length;r--;)if(l=i[r].nodeName,"name"===l||"data-mce-bookmark"===l)return!1}if(8==a)return!1;if(3===a&&!C.test(e.nodeValue))return!1}while(e=s.next())}return 1>=c},createRng:function(){var e=this.doc;return e.createRange?e.createRange():new a(this)},nodeIndex:h,split:function(e,t,n){function r(e){function t(e){var t=e.previousSibling&&"SPAN"==e.previousSibling.nodeName,n=e.nextSibling&&"SPAN"==e.nextSibling.nodeName;return t&&n}var n,o=e.childNodes,a=e.nodeType;if(1!=a||"bookmark"!=e.getAttribute("data-mce-type")){for(n=o.length-1;n>=0;n--)r(o[n]);if(9!=a){if(3==a&&e.nodeValue.length>0){var s=y(e.nodeValue).length;if(!i.isBlock(e.parentNode)||s>0||0===s&&t(e))return}else if(1==a&&(o=e.childNodes,1==o.length&&o[0]&&1==o[0].nodeType&&"bookmark"==o[0].getAttribute("data-mce-type")&&e.parentNode.insertBefore(o[0],e),o.length||/^(br|hr|input|img)$/i.test(e.nodeName)))return;i.remove(e)}return e}}var i=this,o=i.createRng(),a,s,l;return e&&t?(o.setStart(e.parentNode,i.nodeIndex(e)),o.setEnd(t.parentNode,i.nodeIndex(t)),a=o.extractContents(),o=i.createRng(),o.setStart(t.parentNode,i.nodeIndex(t)+1),o.setEnd(e.parentNode,i.nodeIndex(e)+1),s=o.extractContents(),l=e.parentNode,l.insertBefore(r(a),e),n?l.replaceChild(n,t):l.insertBefore(t,e),l.insertBefore(r(s),e),i.remove(e),n||t):void 0},bind:function(e,t,n,r){var i=this;if(c.isArray(e)){for(var o=e.length;o--;)e[o]=i.bind(e[o],t,n,r);return e}return!i.settings.collect||e!==i.doc&&e!==i.win||i.boundEvents.push([e,t,n,r]),i.events.bind(e,t,n,r||i)},unbind:function(e,t,n){var r=this,i;if(c.isArray(e)){for(i=e.length;i--;)e[i]=r.unbind(e[i],t,n);return e}if(r.boundEvents&&(e===r.doc||e===r.win))for(i=r.boundEvents.length;i--;){var o=r.boundEvents[i];e!=o[0]||t&&t!=o[1]||n&&n!=o[2]||this.events.unbind(o[0],o[1],o[2])}return this.events.unbind(e,t,n)},fire:function(e,t,n){return this.events.fire(e,t,n)},getContentEditable:function(e){var t;return e&&1==e.nodeType?(t=e.getAttribute("data-mce-contenteditable"),t&&"inherit"!==t?t:"inherit"!==e.contentEditable?e.contentEditable:null):null},getContentEditableParent:function(e){for(var t=this.getRoot(),n=null;e&&e!==t&&(n=this.getContentEditable(e),null===n);e=e.parentNode);return n},destroy:function(){var t=this;if(t.boundEvents){for(var n=t.boundEvents.length;n--;){var r=t.boundEvents[n];this.events.unbind(r[0],r[1],r[2])}t.boundEvents=null}e.setDocument&&e.setDocument(),t.win=t.doc=t.root=t.events=t.frag=null},isChildOf:function(e,t){for(;e;){if(t===e)return!0;e=e.parentNode}return!1},dumpRng:function(e){return"startContainer: "+e.startContainer.nodeName+", startOffset: "+e.startOffset+", endContainer: "+e.endContainer.nodeName+", endOffset: "+e.endOffset},_findSib:function(e,t,n){var r=this,i=t;if(e)for("string"==typeof i&&(i=function(e){return r.is(e,t)}),e=e[n];e;e=e[n])if(i(e))return e;return null}},p.DOM=new p(document),p.nodeIndex=h,p}),r(x,[b,f],function(e,t){function n(){function e(e,n){function i(){a.remove(l),s&&(s.onreadystatechange=s.onload=s=null),n()}function o(){"undefined"!=typeof console&&console.log&&console.log("Failed to load: "+e)}var a=r,s,l;l=a.uniqueId(),s=document.createElement("script"),s.id=l,s.type="text/javascript",s.src=t._addCacheSuffix(e),"onreadystatechange"in s?s.onreadystatechange=function(){/loaded|complete/.test(s.readyState)&&i()}:s.onload=i,s.onerror=o,(document.getElementsByTagName("head")[0]||document.body).appendChild(s)}var n=0,a=1,s=2,l={},c=[],u={},d=[],f=0,h;this.isDone=function(e){return l[e]==s},this.markDone=function(e){l[e]=s},this.add=this.load=function(e,t,r){var i=l[e];i==h&&(c.push(e),l[e]=n),t&&(u[e]||(u[e]=[]),u[e].push({func:t,scope:r||this}))},this.loadQueue=function(e,t){this.loadScripts(c,e,t)},this.loadScripts=function(t,n,r){function c(e){i(u[e],function(e){e.func.call(e.scope)}),u[e]=h}var p;d.push({func:n,scope:r||this}),(p=function(){var n=o(t);t.length=0,i(n,function(t){return l[t]==s?void c(t):void(l[t]!=a&&(l[t]=a,f++,e(t,function(){l[t]=s,f--,c(t),p()})))}),f||(i(d,function(e){e.func.call(e.scope)}),d.length=0)})()}}var r=e.DOM,i=t.each,o=t.grep;return n.ScriptLoader=new n,n}),r(C,[x,f],function(e,n){function r(){var e=this;e.items=[],e.urls={},e.lookup={}}var i=n.each;return r.prototype={get:function(e){return this.lookup[e]?this.lookup[e].instance:t},dependencies:function(e){var t;return this.lookup[e]&&(t=this.lookup[e].dependencies),t||[]},requireLangPack:function(t,n){var i=r.language;if(i&&r.languageLoad!==!1){if(n)if(n=","+n+",",-1!=n.indexOf(","+i.substr(0,2)+","))i=i.substr(0,2);else if(-1==n.indexOf(","+i+","))return;e.ScriptLoader.add(this.urls[t]+"/langs/"+i+".js")}},add:function(e,t,n){return this.items.push(t),this.lookup[e]={instance:t,dependencies:n},t},createUrl:function(e,t){return"object"==typeof t?t:{prefix:e.prefix,resource:t,suffix:e.suffix}},addComponents:function(t,n){var r=this.urls[t];i(n,function(t){e.ScriptLoader.add(r+"/"+t)})},load:function(n,o,a,s){function l(){var r=c.dependencies(n);i(r,function(e){var n=c.createUrl(o,e);c.load(n.resource,n,t,t)}),a&&(s?a.call(s):a.call(e))}var c=this,u=o;c.urls[n]||("object"==typeof o&&(u=o.prefix+o.resource+o.suffix),0!==u.indexOf("/")&&-1==u.indexOf("://")&&(u=r.baseURL+"/"+u),c.urls[n]=u.substring(0,u.lastIndexOf("/")),c.lookup[n]?l():e.ScriptLoader.add(u,l,s))}},r.PluginManager=new r,r.ThemeManager=new r,r}),r(w,[f,m],function(e,t){function n(e,t){var n=e.childNodes;return t--,t>n.length-1?t=n.length-1:0>t&&(t=0),n[t]||e}function r(e){this.walk=function(t,r){function o(e){var t;return t=e[0],3===t.nodeType&&t===c&&u>=t.nodeValue.length&&e.splice(0,1),t=e[e.length-1],0===f&&e.length>0&&t===d&&3===t.nodeType&&e.splice(e.length-1,1),e}function a(e,t,n){for(var r=[];e&&e!=n;e=e[t])r.push(e);return r}function s(e,t){do{if(e.parentNode==t)return e;e=e.parentNode}while(e)}function l(e,t,n){var i=n?"nextSibling":"previousSibling";for(g=e,v=g.parentNode;g&&g!=t;g=v)v=g.parentNode,y=a(g==e?g:g[i],i),y.length&&(n||y.reverse(),r(o(y)))}var c=t.startContainer,u=t.startOffset,d=t.endContainer,f=t.endOffset,h,p,m,g,v,y,b;if(b=e.select("td.mce-item-selected,th.mce-item-selected"),b.length>0)return void i(b,function(e){r([e])});if(1==c.nodeType&&c.hasChildNodes()&&(c=c.childNodes[u]),1==d.nodeType&&d.hasChildNodes()&&(d=n(d,f)),c==d)return r(o([c]));for(h=e.findCommonAncestor(c,d),g=c;g;g=g.parentNode){if(g===d)return l(c,h,!0);if(g===h)break}for(g=d;g;g=g.parentNode){if(g===c)return l(d,h);if(g===h)break}p=s(c,h)||c,m=s(d,h)||d,l(c,p,!0),y=a(p==c?p:p.nextSibling,"nextSibling",m==d?m.nextSibling:m),y.length&&r(o(y)),l(d,m)},this.split=function(e){function t(e,t){return e.splitText(t)}var n=e.startContainer,r=e.startOffset,i=e.endContainer,o=e.endOffset;return n==i&&3==n.nodeType?r>0&&rr?(o-=r,n=i=t(i,o).previousSibling,o=i.nodeValue.length,r=0):o=0):(3==n.nodeType&&r>0&&r0&&o0)return u=p,d=n?p.nodeValue.length:0,void(i=!0);if(e.isBlock(p)||m[p.nodeName.toLowerCase()])return;s=p}o&&s&&(u=s,i=!0,d=0)}var u,d,f,h=e.getRoot(),p,m,g,v;if(u=n[(r?"start":"end")+"Container"],d=n[(r?"start":"end")+"Offset"],v=1==u.nodeType&&d===u.childNodes.length,m=e.schema.getNonEmptyElements(),g=r,1==u.nodeType&&d>u.childNodes.length-1&&(g=!1),9===u.nodeType&&(u=e.getRoot(),d=0),u===h){if(g&&(p=u.childNodes[d>0?d-1:0],p&&(m[p.nodeName]||"TABLE"==p.nodeName)))return;if(u.hasChildNodes()&&(d=Math.min(!g&&d>0?d-1:d,u.childNodes.length-1),u=u.childNodes[d],d=0,u.hasChildNodes()&&!/TABLE/.test(u.nodeName))){p=u,f=new t(u,h);do{if(3===p.nodeType&&p.nodeValue.length>0){d=g?0:p.nodeValue.length,u=p,i=!0;break}if(m[p.nodeName.toLowerCase()]&&!a(p)){d=e.nodeIndex(p),u=p.parentNode,"IMG"!=p.nodeName||g||d++,i=!0;break}}while(p=g?f.next():f.prev())}}o&&(3===u.nodeType&&0===d&&c(!0),1===u.nodeType&&(p=u.childNodes[d],p||(p=u.childNodes[d-1]),!p||"BR"!==p.nodeName||l(p,"A")||s(p)||s(p,!0)||c(!0,p))),g&&!o&&3===u.nodeType&&d===u.nodeValue.length&&c(!1),i&&n["set"+(r?"Start":"End")](u,d)}var i,o;return o=n.collapsed,r(!0),o||r(),i&&o&&n.collapse(!0),i}}var i=e.each;return r.compareRanges=function(e,t){if(e&&t){if(!e.item&&!e.duplicate)return e.startContainer==t.startContainer&&e.startOffset==t.startOffset;if(e.item&&t.item&&e.item(0)===t.item(0))return!0;if(e.isEqual&&t.isEqual&&t.isEqual(e))return!0}return!1},r.getCaretRangeFromPoint=function(e,t,n){var r,i;if(n.caretPositionFromPoint)i=n.caretPositionFromPoint(e,t),r=n.createRange(),r.setStart(i.offsetNode,i.offset),r.collapse(!0);else if(n.caretRangeFromPoint)r=n.caretRangeFromPoint(e,t);else if(n.body.createTextRange){r=n.body.createTextRange();try{r.moveToPoint(e,t),r.collapse(!0)}catch(o){r.collapse(t=e.childNodes.length&&(t=e.childNodes.length-1),e=e.childNodes[t]),e},r}),r(_,[w,u],function(e,t){return function(n){function r(e){var t,r;if(r=n.$(e).parentsUntil(n.getBody()).add(e),r.length===o.length){for(t=r.length;t>=0&&r[t]===o[t];t--);if(-1===t)return o=r,!0}return o=r,!1}var i,o=[];"onselectionchange"in n.getDoc()||n.on("NodeChange Click MouseUp KeyUp Focus",function(t){var r,o;r=n.selection.getRng(),o={startContainer:r.startContainer,startOffset:r.startOffset,endContainer:r.endContainer,endOffset:r.endOffset},"nodechange"!=t.type&&e.compareRanges(o,i)||n.fire("SelectionChange"),i=o}),n.on("contextmenu",function(){n.fire("SelectionChange")}),n.on("SelectionChange",function(){var e=n.selection.getStart(!0);(t.range||!n.selection.isCollapsed())&&!r(e)&&n.dom.isChildOf(e,n.getBody())&&n.nodeChanged({selectionChange:!0})}),n.on("MouseUp",function(e){e.isDefaultPrevented()||("IMG"==n.selection.getNode().nodeName?setTimeout(function(){n.nodeChanged()},0):n.nodeChanged())}),this.nodeChanged=function(e){var t=n.selection,r,i,o;n.initialized&&t&&!n.settings.disable_nodechange&&!n.settings.readonly&&(o=n.getBody(),r=t.getStart()||o,r=r.ownerDocument!=n.getDoc()?n.getBody():r,"IMG"==r.nodeName&&t.isCollapsed()&&(r=r.parentNode),i=[],n.dom.getParent(r,function(e){return e===o?!0:void i.push(e)}),e=e||{},e.element=r,e.parents=i,n.fire("NodeChange",e))}}}),r(E,[],function(){function e(e,t,n){var r,i,o=n?"lastChild":"firstChild",a=n?"prev":"next";if(e[o])return e[o];if(e!==t){if(r=e[a])return r;for(i=e.parent;i&&i!==t;i=i.parent)if(r=i[a])return r}}function t(e,t){this.name=e,this.type=t,1===t&&(this.attributes=[],this.attributes.map={})}var n=/^[ \t\r\n]*$/,r={"#text":3,"#comment":8,"#cdata":4,"#pi":7,"#doctype":10,"#document-fragment":11};return t.prototype={replace:function(e){var t=this;return e.parent&&e.remove(),t.insert(e,t),t.remove(),t},attr:function(e,t){var n=this,r,i,o;if("string"!=typeof e){for(i in e)n.attr(i,e[i]);return n}if(r=n.attributes){if(t!==o){if(null===t){if(e in r.map)for(delete r.map[e],i=r.length;i--;)if(r[i].name===e)return r=r.splice(i,1),n;return n}if(e in r.map){for(i=r.length;i--;)if(r[i].name===e){r[i].value=t;break}}else r.push({name:e,value:t});return r.map[e]=t,n}return r.map[e]}},clone:function(){var e=this,n=new t(e.name,e.type),r,i,o,a,s;if(o=e.attributes){for(s=[],s.map={},r=0,i=o.length;i>r;r++)a=o[r],"id"!==a.name&&(s[s.length]={name:a.name,value:a.value},s.map[a.name]=a.value);n.attributes=s}return n.value=e.value,n.shortEnded=e.shortEnded,n},wrap:function(e){var t=this;return t.parent.insert(e,t),e.append(t),t},unwrap:function(){var e=this,t,n;for(t=e.firstChild;t;)n=t.next,e.insert(t,e,!0),t=n;e.remove()},remove:function(){var e=this,t=e.parent,n=e.next,r=e.prev;return t&&(t.firstChild===e?(t.firstChild=n,n&&(n.prev=null)):r.next=n,t.lastChild===e?(t.lastChild=r,r&&(r.next=null)):n.prev=r,e.parent=e.next=e.prev=null),e},append:function(e){var t=this,n;return e.parent&&e.remove(),n=t.lastChild,n?(n.next=e,e.prev=n,t.lastChild=e):t.lastChild=t.firstChild=e,e.parent=t,e},insert:function(e,t,n){var r;return e.parent&&e.remove(),r=t.parent||this,n?(t===r.firstChild?r.firstChild=e:t.prev.next=e,e.prev=t.prev,e.next=t,t.prev=e):(t===r.lastChild?r.lastChild=e:t.next.prev=e,e.next=t.next,e.prev=t,t.next=e),e.parent=r,e},getAll:function(t){var n=this,r,i=[];for(r=n.firstChild;r;r=e(r,n))r.name===t&&i.push(r);return i},empty:function(){var t=this,n,r,i;if(t.firstChild){for(n=[],i=t.firstChild;i;i=e(i,t))n.push(i);for(r=n.length;r--;)i=n[r],i.parent=i.firstChild=i.lastChild=i.next=i.prev=null}return t.firstChild=t.lastChild=null,t},isEmpty:function(t){var r=this,i=r.firstChild,o,a;if(i)do{if(1===i.type){if(i.attributes.map["data-mce-bogus"])continue;if(t[i.name])return!1;for(o=i.attributes.length;o--;)if(a=i.attributes[o].name,"name"===a||0===a.indexOf("data-mce-bookmark"))return!1}if(8===i.type)return!1;if(3===i.type&&!n.test(i.value))return!1}while(i=e(i,r));return!0},walk:function(t){return e(this,null,t)}},t.create=function(e,n){var i,o;if(i=new t(e,r[e]||1),n)for(o in n)i.attr(o,n[o]);return i},t}),r(N,[f],function(e){function t(e,t){return e?e.split(t||" "):[]}function n(e){function n(e,n,r){function i(e,t){var n={},r,i;for(r=0,i=e.length;i>r;r++)n[e[r]]=t||{};return n}var s,c,u,d=arguments;for(r=r||[],n=n||"","string"==typeof r&&(r=t(r)),c=3;co;o++)i.attributes[n[o]]={},i.attributesOrder.push(n[o])}var a={},l,c,u,d,f,h;return i[e]?i[e]:(l=t("id accesskey class dir lang style tabindex title"),c=t("address blockquote div dl fieldset form h1 h2 h3 h4 h5 h6 hr menu ol p pre table ul"),u=t("a abbr b bdo br button cite code del dfn em embed i iframe img input ins kbd label map noscript object q s samp script select small span strong sub sup textarea u var #text #comment"),"html4"!=e&&(l.push.apply(l,t("contenteditable contextmenu draggable dropzone hidden spellcheck translate")),c.push.apply(c,t("article aside details dialog figure header footer hgroup section nav")),u.push.apply(u,t("audio canvas command datalist mark meter output picture progress time wbr video ruby bdi keygen"))),"html5-strict"!=e&&(l.push("xml:lang"),h=t("acronym applet basefont big font strike tt"),u.push.apply(u,h),s(h,function(e){n(e,"",u)}),f=t("center dir isindex noframes"),c.push.apply(c,f),d=[].concat(c,u),s(f,function(e){n(e,"",d)})),d=d||[].concat(c,u),n("html","manifest","head body"),n("head","","base command link meta noscript script style title"),n("title hr noscript br"),n("base","href target"),n("link","href rel media hreflang type sizes hreflang"),n("meta","name http-equiv content charset"),n("style","media type scoped"),n("script","src async defer type charset"),n("body","onafterprint onbeforeprint onbeforeunload onblur onerror onfocus onhashchange onload onmessage onoffline ononline onpagehide onpageshow onpopstate onresize onscroll onstorage onunload",d),n("address dt dd div caption","",d),n("h1 h2 h3 h4 h5 h6 pre p abbr code var samp kbd sub sup i b u bdo span legend em strong small s cite dfn","",u),n("blockquote","cite",d),n("ol","reversed start type","li"),n("ul","","li"),n("li","value",d),n("dl","","dt dd"),n("a","href target rel media hreflang type",u),n("q","cite",u),n("ins del","cite datetime",d),n("img","src sizes srcset alt usemap ismap width height"),n("iframe","src name width height",d),n("embed","src type width height"),n("object","data type typemustmatch name usemap form width height",d,"param"),n("param","name value"),n("map","name",d,"area"),n("area","alt coords shape href target rel media hreflang type"),n("table","border","caption colgroup thead tfoot tbody tr"+("html4"==e?" col":"")),n("colgroup","span","col"),n("col","span"),n("tbody thead tfoot","","tr"),n("tr","","td th"),n("td","colspan rowspan headers",d),n("th","colspan rowspan headers scope abbr",d),n("form","accept-charset action autocomplete enctype method name novalidate target",d),n("fieldset","disabled form name",d,"legend"),n("label","form for",u),n("input","accept alt autocomplete checked dirname disabled form formaction formenctype formmethod formnovalidate formtarget height list max maxlength min multiple name pattern readonly required size src step type value width"),n("button","disabled form formaction formenctype formmethod formnovalidate formtarget name type value","html4"==e?d:u),n("select","disabled form multiple name required size","option optgroup"),n("optgroup","disabled label","option"),n("option","disabled label selected value"),n("textarea","cols dirname disabled form maxlength name readonly required rows wrap"),n("menu","type label",d,"li"),n("noscript","",d),"html4"!=e&&(n("wbr"),n("ruby","",u,"rt rp"),n("figcaption","",d),n("mark rt rp summary bdi","",u),n("canvas","width height",d),n("video","src crossorigin poster preload autoplay mediagroup loop muted controls width height buffered",d,"track source"),n("audio","src crossorigin preload autoplay mediagroup loop muted controls buffered volume",d,"track source"),n("picture","","img source"),n("source","src srcset type media sizes"),n("track","kind src srclang label default"),n("datalist","",u,"option"),n("article section nav aside header footer","",d),n("hgroup","","h1 h2 h3 h4 h5 h6"),n("figure","",d,"figcaption"),n("time","datetime",u),n("dialog","open",d),n("command","type label icon disabled checked radiogroup command"),n("output","for form name",u),n("progress","value max",u),n("meter","value min max low high optimum",u),n("details","open",d,"summary"),n("keygen","autofocus challenge disabled form keytype name")),"html5-strict"!=e&&(r("script","language xml:space"),r("style","xml:space"),r("object","declare classid code codebase codetype archive standby align border hspace vspace"),r("embed","align name hspace vspace"),r("param","valuetype type"),r("a","charset name rev shape coords"),r("br","clear"),r("applet","codebase archive code object alt name width height align hspace vspace"),r("img","name longdesc align border hspace vspace"),r("iframe","longdesc frameborder marginwidth marginheight scrolling align"),r("font basefont","size color face"),r("input","usemap align"),r("select","onchange"),r("textarea"),r("h1 h2 h3 h4 h5 h6 div p legend caption","align"),r("ul","type compact"),r("li","type"),r("ol dl menu dir","compact"),r("pre","width xml:space"),r("hr","align noshade size width"),r("isindex","prompt"),r("table","summary width frame rules cellspacing cellpadding align bgcolor"),r("col","width align char charoff valign"),r("colgroup","width align char charoff valign"),r("thead","align char charoff valign"),r("tr","align char charoff valign bgcolor"),r("th","axis align char charoff valign nowrap bgcolor width height"),r("form","accept"),r("td","abbr axis scope align char charoff valign nowrap bgcolor width height"),r("tfoot","align char charoff valign"),r("tbody","align char charoff valign"),r("area","nohref"),r("body","background bgcolor text link vlink alink")),"html4"!=e&&(r("input button select textarea","autofocus"),r("input textarea","placeholder"),r("a","download"),r("link script img","crossorigin"),r("iframe","sandbox seamless allowfullscreen")),s(t("a form meter progress dfn"),function(e){a[e]&&delete a[e].children[e]}),delete a.caption.children.table,delete a.script,i[e]=a,a)}function r(e,t){var n;return e&&(n={},"string"==typeof e&&(e={"*":e}),s(e,function(e,r){n[r]=n[r.toUpperCase()]="map"==t?a(e,/[, ]/):c(e,/[, ]/)})),n}var i={},o={},a=e.makeMap,s=e.each,l=e.extend,c=e.explode,u=e.inArray;return function(e){function o(t,n,r){var o=e[t];return o?o=a(o,/[, ]/,a(o.toUpperCase(),/[, ]/)):(o=i[t],o||(o=a(n," ",a(n.toUpperCase()," ")),o=l(o,r),i[t]=o)),o}function d(e){return new RegExp("^"+e.replace(/([?+*])/g,".$1")+"$")}function f(e){var n,r,i,o,s,l,c,f,h,p,m,g,v,b,C,w,_,E,N,S=/^([#+\-])?([^\[!\/]+)(?:\/([^\[!]+))?(?:(!?)\[([^\]]+)\])?$/,k=/^([!\-])?(\w+::\w+|[^=:<]+)?(?:([=:<])(.*))?$/,T=/[*?+]/;if(e)for(e=t(e,","),y["@"]&&(w=y["@"].attributes,_=y["@"].attributesOrder),n=0,r=e.length;r>n;n++)if(s=S.exec(e[n])){if(b=s[1],h=s[2],C=s[3],f=s[5],g={},v=[],l={attributes:g,attributesOrder:v},"#"===b&&(l.paddEmpty=!0),"-"===b&&(l.removeEmpty=!0),"!"===s[4]&&(l.removeEmptyAttrs=!0),w){for(E in w)g[E]=w[E];v.push.apply(v,_)}if(f)for(f=t(f,"|"),i=0,o=f.length;o>i;i++)if(s=k.exec(f[i])){if(c={},m=s[1],p=s[2].replace(/::/g,":"),b=s[3],N=s[4],"!"===m&&(l.attributesRequired=l.attributesRequired||[],l.attributesRequired.push(p),c.required=!0),"-"===m){delete g[p],v.splice(u(v,p),1);continue}b&&("="===b&&(l.attributesDefault=l.attributesDefault||[],l.attributesDefault.push({name:p,value:N}),c.defaultValue=N),":"===b&&(l.attributesForced=l.attributesForced||[],l.attributesForced.push({name:p,value:N}),c.forcedValue=N),"<"===b&&(c.validValues=a(N,"?"))),T.test(p)?(l.attributePatterns=l.attributePatterns||[],c.pattern=d(p),l.attributePatterns.push(c)):(g[p]||v.push(p),g[p]=c)}w||"@"!=h||(w=g,_=v),C&&(l.outputName=h,y[C]=l),T.test(h)?(l.pattern=d(h),x.push(l)):y[h]=l}}function h(e){y={},x=[],f(e),s(_,function(e,t){b[t]=e.children})}function p(e){var n=/^(~)?(.+)$/;e&&(i.text_block_elements=i.block_elements=null,s(t(e,","),function(e){var t=n.exec(e),r="~"===t[1],i=r?"span":"div",o=t[2];if(b[o]=b[i],M[o]=i,r||(R[o.toUpperCase()]={},R[o]={}),!y[o]){var a=y[i];a=l({},a),delete a.removeEmptyAttrs,delete a.removeEmpty,y[o]=a}s(b,function(e,t){e[i]&&(b[t]=e=l({},b[t]),e[o]=e[i])})}))}function m(n){var r=/^([+\-]?)(\w+)\[([^\]]+)\]$/;i[e.schema]=null,n&&s(t(n,","),function(e){var n=r.exec(e),i,o;n&&(o=n[1],i=o?b[n[2]]:b[n[2]]={"#comment":{}},i=b[n[2]],s(t(n[3],"|"),function(e){"-"===o?delete i[e]:i[e]={}}))})}function g(e){var t=y[e],n;if(t)return t;for(n=x.length;n--;)if(t=x[n],t.pattern.test(e))return t}var v=this,y={},b={},x=[],C,w,_,E,N,S,k,T,R,A,B,D,L,M={},H={};e=e||{},_=n(e.schema),e.verify_html===!1&&(e.valid_elements="*[*]"),C=r(e.valid_styles),w=r(e.invalid_styles,"map"),T=r(e.valid_classes,"map"),E=o("whitespace_elements","pre script noscript style textarea video audio iframe object"),N=o("self_closing_elements","colgroup dd dt li option p td tfoot th thead tr"),S=o("short_ended_elements","area base basefont br col frame hr img input isindex link meta param embed source wbr track"),k=o("boolean_attributes","checked compact declare defer disabled ismap multiple nohref noresize noshade nowrap readonly selected autoplay loop controls"),A=o("non_empty_elements","td th iframe video audio object script",S),B=o("move_caret_before_on_enter_elements","table",A),D=o("text_block_elements","h1 h2 h3 h4 h5 h6 p div address pre form blockquote center dir fieldset header footer article section hgroup aside nav figure"),R=o("block_elements","hr table tbody thead tfoot th tr td li ol ul caption dl dt dd noscript menu isindex option datalist select optgroup",D),L=o("text_inline_elements","span strong b em i font strike u var cite dfn code mark q sup sub samp"),s((e.special||"script noscript style textarea").split(" "),function(e){H[e]=new RegExp("]*>","gi")}),e.valid_elements?h(e.valid_elements):(s(_,function(e,t){y[t]={attributes:e.attributes,attributesOrder:e.attributesOrder},b[t]=e.children}),"html5"!=e.schema&&s(t("strong/b em/i"),function(e){e=t(e,"/"),y[e[1]].outputName=e[0]}),y.img.attributesDefault=[{name:"alt",value:""}],s(t("ol ul sub sup blockquote span font a table tbody tr strong em b i"),function(e){y[e]&&(y[e].removeEmpty=!0)}),s(t("p h1 h2 h3 h4 h5 h6 th td pre div address caption"),function(e){y[e].paddEmpty=!0}),s(t("span"),function(e){y[e].removeEmptyAttrs=!0})),p(e.custom_elements),m(e.valid_children),f(e.extended_valid_elements),m("+ol[ul|ol],+ul[ul|ol]"),e.invalid_elements&&s(c(e.invalid_elements),function(e){y[e]&&delete y[e]}),g("span")||f("span[!data-mce-type|*]"),v.children=b,v.getValidStyles=function(){return C},v.getInvalidStyles=function(){return w},v.getValidClasses=function(){return T},v.getBoolAttrs=function(){return k},v.getBlockElements=function(){return R},v.getTextBlockElements=function(){return D},v.getTextInlineElements=function(){return L},v.getShortEndedElements=function(){return S},v.getSelfClosingElements=function(){return N},v.getNonEmptyElements=function(){return A},v.getMoveCaretBeforeOnEnterElements=function(){return B},v.getWhiteSpaceElements=function(){return E},v.getSpecialElements=function(){return H},v.isValidChild=function(e,t){var n=b[e];return!(!n||!n[t])},v.isValid=function(e,t){var n,r,i=g(e);if(i){if(!t)return!0;if(i.attributes[t])return!0;if(n=i.attributePatterns)for(r=n.length;r--;)if(n[r].pattern.test(e))return!0}return!1},v.getElementRule=g,v.getCustomElements=function(){return M},v.addValidElements=f,v.setValidElements=h,v.addCustomElements=p,v.addValidChildren=m,v.elements=y}}),r(S,[N,v,f],function(e,t,n){function r(e,t,n){var r=1,i,o,a,s;for(s=e.getShortEndedElements(),a=/<([!?\/])?([A-Za-z0-9\-_\:\.]+)((?:\s+[^"\'>]+(?:(?:"[^"]*")|(?:\'[^\']*\')|[^>]*))*|\/|\s+)>/g,a.lastIndex=i=n;o=a.exec(t);){if(i=a.lastIndex,"/"===o[1])r--;else if(!o[1]){if(o[2]in s)continue;r++}if(0===r)break}return i}function i(i,a){function s(){}var l=this;i=i||{},l.schema=a=a||new e,i.fix_self_closing!==!1&&(i.fix_self_closing=!0),o("comment cdata text start end pi doctype".split(" "),function(e){e&&(l[e]=i[e]||s)}),l.parse=function(e){function o(e){var t,n;for(t=h.length;t--&&h[t].name!==e;);if(t>=0){for(n=h.length-1;n>=t;n--)e=h[n],e.valid&&l.end(e.name);h.length=t}}function s(e,t,n,r,o){var a,s,l=/[\s\u0000-\u001F]+/g;if(t=t.toLowerCase(),n=t in C?t:z(n||r||o||""),_&&!y&&0!==t.indexOf("data-")){if(a=T[t],!a&&R){for(s=R.length;s--&&(a=R[s],!a.pattern.test(t)););-1===s&&(a=null)}if(!a)return;if(a.validValues&&!(n in a.validValues))return}if(V[t]&&!i.allow_script_urls){var c=n.replace(l,"");try{c=decodeURIComponent(c)}catch(u){c=unescape(c)}if(U.test(c))return;if(!i.allow_html_data_urls&&$.test(c)&&!/^data:image\//i.test(c))return}p.map[t]=n,p.push({name:t,value:n})}var l=this,c,u=0,d,f,h=[],p,m,g,v,y,b,x,C,w,_,E,N,S,k,T,R,A,B,D,L,M,H,P,O,I,F=0,z=t.decode,W,V=n.makeMap("src,href,data,background,formaction,poster"),U=/((java|vb)script|mhtml):/i,$=/^data:/i;for(H=new RegExp("<(?:(?:!--([\\w\\W]*?)-->)|(?:!\\[CDATA\\[([\\w\\W]*?)\\]\\]>)|(?:!DOCTYPE([\\w\\W]*?)>)|(?:\\?([^\\s\\/<>]+) ?([\\w\\W]*?)[?/]>)|(?:\\/([^>]+)>)|(?:([A-Za-z0-9\\-_\\:\\.]+)((?:\\s+[^\"'>]+(?:(?:\"[^\"]*\")|(?:'[^']*')|[^>]*))*|\\/|\\s+)>))","g"),P=/([\w:\-]+)(?:\s*=\s*(?:(?:\"((?:[^\"])*)\")|(?:\'((?:[^\'])*)\')|([^>\s]+)))?/g,x=a.getShortEndedElements(),M=i.self_closing_elements||a.getSelfClosingElements(),C=a.getBoolAttrs(),_=i.validate,b=i.remove_internals,W=i.fix_self_closing,O=a.getSpecialElements();c=H.exec(e);){if(u0&&h[h.length-1].name===d&&o(d),!_||(E=a.getElementRule(d))){if(N=!0,_&&(T=E.attributes,R=E.attributePatterns),(k=c[8])?(y=-1!==k.indexOf("data-mce-type"),y&&b&&(N=!1),p=[],p.map={},k.replace(P,s)):(p=[],p.map={}),_&&!y){if(A=E.attributesRequired,B=E.attributesDefault,D=E.attributesForced,L=E.removeEmptyAttrs,L&&!p.length&&(N=!1),D)for(m=D.length;m--;)S=D[m],v=S.name,I=S.value,"{$uid}"===I&&(I="mce_"+F++),p.map[v]=I,p.push({name:v,value:I});if(B)for(m=B.length;m--;)S=B[m],v=S.name,v in p.map||(I=S.value,"{$uid}"===I&&(I="mce_"+F++),p.map[v]=I,p.push({name:v,value:I}));if(A){for(m=A.length;m--&&!(A[m]in p.map););-1===m&&(N=!1)}if(S=p.map["data-mce-bogus"]){if("all"===S){u=r(a,e,H.lastIndex),H.lastIndex=u;continue}N=!1}}N&&l.start(d,p,w)}else N=!1;if(f=O[d]){f.lastIndex=u=c.index+c[0].length,(c=f.exec(e))?(N&&(g=e.substr(u,c.index-u)),u=c.index+c[0].length):(g=e.substr(u),u=e.length),N&&(g.length>0&&l.text(g,!0),l.end(d)),H.lastIndex=u;continue}w||(k&&k.indexOf("/")==k.length-1?N&&l.end(d):h.push({name:d,valid:N}))}else(d=c[1])?(">"===d.charAt(0)&&(d=" "+d),i.allow_conditional_comments||"[if"!==d.substr(0,3)||(d=" "+d),l.comment(d)):(d=c[2])?l.cdata(d):(d=c[3])?l.doctype(d):(d=c[4])&&l.pi(d,c[5]);u=c.index+c[0].length}for(u=0;m--)d=h[m],d.valid&&l.end(d.name)}}var o=n.each;return i.findEndTag=r,i}),r(k,[E,N,S,f],function(e,t,n,r){var i=r.makeMap,o=r.each,a=r.explode,s=r.extend;return function(r,l){function c(t){var n,r,o,a,s,c,d,f,h,p,m,g,v,y,b;for(m=i("tr,td,th,tbody,thead,tfoot,table"),p=l.getNonEmptyElements(),g=l.getTextBlockElements(),v=l.getSpecialElements(),n=0;n1){for(a.reverse(),s=c=u.filterNode(a[0].clone()),h=0;h0)return void(t.value=r);if(n=t.next){if(3==n.type&&n.value.length){ +t=t.prev;continue}if(!o[n.name]&&"script"!=n.name&&"style"!=n.name){t=t.prev;continue}}i=t.prev,t.remove(),t=i}}function g(e){var t,n={};for(t in e)"li"!==t&&"p"!=t&&(n[t]=e[t]);return n}var v,y,b,x,C,w,_,E,N,S,k,T,R,A=[],B,D,L,M,H,P,O,I;if(o=o||{},h={},p={},T=s(i("script,style,head,html,body,title,meta,param"),l.getBlockElements()),O=l.getNonEmptyElements(),P=l.children,k=r.validate,I="forced_root_block"in o?o.forced_root_block:r.forced_root_block,H=l.getWhiteSpaceElements(),R=/^[ \t\r\n]+/,D=/[ \t\r\n]+$/,L=/[ \t\r\n]+/g,M=/^[ \t\r\n]+$/,v=new n({validate:k,allow_script_urls:r.allow_script_urls,allow_conditional_comments:r.allow_conditional_comments,self_closing_elements:g(l.getSelfClosingElements()),cdata:function(e){b.append(u("#cdata",4)).value=e},text:function(e,t){var n;B||(e=e.replace(L," "),b.lastChild&&T[b.lastChild.name]&&(e=e.replace(R,""))),0!==e.length&&(n=u("#text",3),n.raw=!!t,b.append(n).value=e)},comment:function(e){b.append(u("#comment",8)).value=e},pi:function(e,t){b.append(u(e,7)).value=t,m(b)},doctype:function(e){var t;t=b.append(u("#doctype",10)),t.value=e,m(b)},start:function(e,t,n){var r,i,o,a,s;if(o=k?l.getElementRule(e):{}){for(r=u(o.outputName||e,1),r.attributes=t,r.shortEnded=n,b.append(r),s=P[b.name],s&&P[r.name]&&!s[r.name]&&A.push(r),i=f.length;i--;)a=f[i].name,a in t.map&&(N=p[a],N?N.push(r):p[a]=[r]);T[e]&&m(r),n||(b=r),!B&&H[e]&&(B=!0)}},end:function(t){var n,r,i,o,a;if(r=k?l.getElementRule(t):{}){if(T[t]&&!B){if(n=b.firstChild,n&&3===n.type)if(i=n.value.replace(R,""),i.length>0)n.value=i,n=n.next;else for(o=n.next,n.remove(),n=o;n&&3===n.type;)i=n.value,o=n.next,(0===i.length||M.test(i))&&(n.remove(),n=o),n=o;if(n=b.lastChild,n&&3===n.type)if(i=n.value.replace(D,""),i.length>0)n.value=i,n=n.prev;else for(o=n.prev,n.remove(),n=o;n&&3===n.type;)i=n.value,o=n.prev,(0===i.length||M.test(i))&&(n.remove(),n=o),n=o}if(B&&H[t]&&(B=!1),(r.removeEmpty||r.paddEmpty)&&b.isEmpty(O))if(r.paddEmpty)b.empty().append(new e("#text","3")).value="\xa0";else if(!b.attributes.map.name&&!b.attributes.map.id)return a=b.parent,T[b.name]?b.empty().remove():b.unwrap(),void(b=a);b=b.parent}}},l),y=b=new e(o.context||r.root_name,11),v.parse(t),k&&A.length&&(o.context?o.invalid=!0:c(A)),I&&("body"==y.name||o.isRootContent)&&a(),!o.invalid){for(S in h){for(N=d[S],x=h[S],_=x.length;_--;)x[_].parent||x.splice(_,1);for(C=0,w=N.length;w>C;C++)N[C](x,S,o)}for(C=0,w=f.length;w>C;C++)if(N=f[C],N.name in p){for(x=p[N.name],_=x.length;_--;)x[_].parent||x.splice(_,1);for(_=0,E=N.callbacks.length;E>_;_++)N.callbacks[_](x,N.name,o)}}return y},r.remove_trailing_brs&&u.addNodeFilter("br",function(t){var n,r=t.length,i,o=s({},l.getBlockElements()),a=l.getNonEmptyElements(),c,u,d,f,h,p;for(o.body=1,n=0;r>n;n++)if(i=t[n],c=i.parent,o[i.parent.name]&&i===c.lastChild){for(d=i.prev;d;){if(f=d.name,"span"!==f||"bookmark"!==d.attr("data-mce-type")){if("br"!==f)break;if("br"===f){i=null;break}}d=d.prev}i&&(i.remove(),c.isEmpty(a)&&(h=l.getElementRule(c.name),h&&(h.removeEmpty?c.remove():h.paddEmpty&&(c.empty().append(new e("#text",3)).value="\xa0"))))}else{for(u=i;c&&c.firstChild===u&&c.lastChild===u&&(u=c,!o[c.name]);)c=c.parent;u===c&&(p=new e("#text",3),p.value="\xa0",i.replace(p))}}),r.allow_html_in_named_anchor||u.addAttributeFilter("id,name",function(e){for(var t=e.length,n,r,i,o;t--;)if(o=e[t],"a"===o.name&&o.firstChild&&!o.attr("href")){i=o.parent,n=o.lastChild;do r=n.prev,i.insert(n,o),n=r;while(n)}}),r.validate&&l.getValidClasses()&&u.addAttributeFilter("class",function(e){for(var t=e.length,n,r,i,o,a,s=l.getValidClasses(),c,u;t--;){for(n=e[t],r=n.attr("class").split(" "),a="",i=0;i0&&(f=r[r.length-1],f.length>0&&"\n"!==f&&r.push("\n")),r.push("<",e),t)for(c=0,u=t.length;u>c;c++)d=t[c],r.push(" ",d.name,'="',s(d.value,!0),'"');!n||l?r[r.length]=">":r[r.length]=" />",n&&i&&a[e]&&r.length>0&&(f=r[r.length-1],f.length>0&&"\n"!==f&&r.push("\n"))},end:function(e){var t;r.push(""),i&&a[e]&&r.length>0&&(t=r[r.length-1],t.length>0&&"\n"!==t&&r.push("\n"))},text:function(e,t){e.length>0&&(r[r.length]=t?e:s(e))},cdata:function(e){r.push("")},comment:function(e){r.push("")},pi:function(e,t){t?r.push(""):r.push(""),i&&r.push("\n")},doctype:function(e){r.push("",i?"\n":"")},reset:function(){r.length=0},getContent:function(){return r.join("").replace(/\n$/,"")}}}}),r(R,[T,N],function(e,t){return function(n,r){var i=this,o=new e(n);n=n||{},n.validate="validate"in n?n.validate:!0,i.schema=r=r||new t,i.writer=o,i.serialize=function(e){function t(e){var n=i[e.type],s,l,c,u,d,f,h,p,m;if(n)n(e);else{if(s=e.name,l=e.shortEnded,c=e.attributes,a&&c&&c.length>1&&(f=[],f.map={},m=r.getElementRule(e.name))){for(h=0,p=m.attributesOrder.length;p>h;h++)u=m.attributesOrder[h],u in c.map&&(d=c.map[u],f.map[u]=d,f.push({name:u,value:d}));for(h=0,p=c.length;p>h;h++)u=c[h].name,u in f.map||(d=c.map[u],f.map[u]=d,f.push({name:u,value:d}));c=f}if(o.start(e.name,c,l),!l){if(e=e.firstChild)do t(e);while(e=e.next);o.end(s)}}}var i,a;return a=n.validate,i={3:function(e){o.text(e.value,e.raw)},8:function(e){o.comment(e.value)},7:function(e){o.pi(e.name,e.value)},10:function(e){o.doctype(e.value)},4:function(e){o.cdata(e.value)},11:function(e){if(e=e.firstChild)do t(e);while(e=e.next)}},o.reset(),1!=e.type||n.inner?i[11](e):t(e),o.getContent()}}}),r(A,[b,k,v,R,E,N,u,f],function(e,t,n,r,i,o,a,s){function l(e){function t(e){return e&&"br"===e.name}var n,r;n=e.lastChild,t(n)&&(r=n.prev,t(r)&&(n.remove(),r.remove()))}var c=s.each,u=s.trim,d=e.DOM;return function(e,i){var s,f,h;return i&&(s=i.dom,f=i.schema),s=s||d,f=f||new o(e),e.entity_encoding=e.entity_encoding||"named",e.remove_trailing_brs="remove_trailing_brs"in e?e.remove_trailing_brs:!0,h=new t(e,f),h.addAttributeFilter("data-mce-tabindex",function(e,t){for(var n=e.length,r;n--;)r=e[n],r.attr("tabindex",r.attributes.map["data-mce-tabindex"]),r.attr(t,null)}),h.addAttributeFilter("src,href,style",function(t,n){for(var r=t.length,i,o,a="data-mce-"+n,l=e.url_converter,c=e.url_converter_scope,u;r--;)i=t[r],o=i.attributes.map[a],o!==u?(i.attr(n,o.length>0?o:null),i.attr(a,null)):(o=i.attributes.map[n],"style"===n?o=s.serializeStyle(s.parseStyle(o),i.name):l&&(o=l.call(c,o,n,i.name)),i.attr(n,o.length>0?o:null))}),h.addAttributeFilter("class",function(e){for(var t=e.length,n,r;t--;)n=e[t],r=n.attr("class"),r&&(r=n.attr("class").replace(/(?:^|\s)mce-item-\w+(?!\S)/g,""),n.attr("class",r.length>0?r:null))}),h.addAttributeFilter("data-mce-type",function(e,t,n){for(var r=e.length,i;r--;)i=e[r],"bookmark"!==i.attributes.map["data-mce-type"]||n.cleanup||i.remove()}),h.addNodeFilter("noscript",function(e){for(var t=e.length,r;t--;)r=e[t].firstChild,r&&(r.value=n.decode(r.value))}),h.addNodeFilter("script,style",function(e,t){function n(e){return e.replace(/()/g,"\n").replace(/^[\r\n]*|[\r\n]*$/g,"").replace(/^\s*(()?|\s*\/\/\s*\]\]>(-->)?|\/\/\s*(-->)?|\]\]>|\/\*\s*-->\s*\*\/|\s*-->\s*)\s*$/g,"")}for(var r=e.length,i,o,a;r--;)i=e[r],o=i.firstChild?i.firstChild.value:"","script"===t?(a=i.attr("type"),a&&i.attr("type","mce-no/type"==a?null:a.replace(/^mce\-/,"")),o.length>0&&(i.firstChild.value="// ")):o.length>0&&(i.firstChild.value="")}),h.addNodeFilter("#comment",function(e){for(var t=e.length,n;t--;)n=e[t],0===n.value.indexOf("[CDATA[")?(n.name="#cdata",n.type=4,n.value=n.value.replace(/^\[CDATA\[|\]\]$/g,"")):0===n.value.indexOf("mce:protected ")&&(n.name="#text",n.type=3,n.raw=!0,n.value=unescape(n.value).substr(14))}),h.addNodeFilter("xml:namespace,input",function(e,t){for(var n=e.length,r;n--;)r=e[n],7===r.type?r.remove():1===r.type&&("input"!==t||"type"in r.attributes.map||r.attr("type","text"))}),e.fix_list_elements&&h.addNodeFilter("ul,ol",function(e){for(var t=e.length,n,r;t--;)n=e[t],r=n.parent,("ul"===r.name||"ol"===r.name)&&n.prev&&"li"===n.prev.name&&n.prev.append(n)}),h.addAttributeFilter("data-mce-src,data-mce-href,data-mce-style,data-mce-selected,data-mce-expando,data-mce-type,data-mce-resize",function(e,t){for(var n=e.length;n--;)e[n].attr(t,null)}),{schema:f,addNodeFilter:h.addNodeFilter,addAttributeFilter:h.addAttributeFilter,serialize:function(t,n){var i=this,o,d,p,m,g,v;return a.ie&&s.select("script,style,select,map").length>0?(g=t.innerHTML,t=t.cloneNode(!1),s.setHTML(t,g)):t=t.cloneNode(!0),o=t.ownerDocument.implementation,o.createHTMLDocument&&(d=o.createHTMLDocument(""),c("BODY"==t.nodeName?t.childNodes:[t],function(e){d.body.appendChild(d.importNode(e,!0))}),t="BODY"!=t.nodeName?d.body.firstChild:d.body,p=s.doc,s.doc=d),n=n||{},n.format=n.format||"html",n.selection&&(n.forced_root_block=""),n.no_events||(n.node=t,i.onPreProcess(n)),v=h.parse(u(n.getInner?t.innerHTML:s.getOuterHTML(t)),n),l(v),m=new r(e,f),n.content=m.serialize(v),n.cleanup||(n.content=n.content.replace(/\uFEFF/g,"")),n.no_events||i.onPostProcess(n),p&&(s.doc=p),n.node=null,n.content},addRules:function(e){f.addValidElements(e)},setRules:function(e){f.setValidElements(e)},onPreProcess:function(e){i&&i.fire("PreProcess",e)},onPostProcess:function(e){i&&i.fire("PostProcess",e)}}}}),r(B,[],function(){function e(e){function t(t,n){var r,i=0,o,a,s,l,c,u,d=-1,f;if(r=t.duplicate(),r.collapse(n),f=r.parentElement(),f.ownerDocument===e.dom.doc){for(;"false"===f.contentEditable;)f=f.parentNode;if(!f.hasChildNodes())return{node:f,inside:1};for(s=f.children,o=s.length-1;o>=i;)if(u=Math.floor((i+o)/2),l=s[u],r.moveToElementText(l),d=r.compareEndPoints(n?"StartToStart":"EndToEnd",t),d>0)o=u-1;else{if(!(0>d))return{node:l};i=u+1}if(0>d)for(l?r.collapse(!1):(r.moveToElementText(f),r.collapse(!0),l=f,a=!0),c=0;0!==r.compareEndPoints(n?"StartToStart":"StartToEnd",t)&&0!==r.move("character",1)&&f==r.parentElement();)c++;else for(r.collapse(!0),c=0;0!==r.compareEndPoints(n?"StartToStart":"StartToEnd",t)&&0!==r.move("character",-1)&&f==r.parentElement();)c++;return{node:l,position:d,offset:c,inside:a}}}function n(){function n(e){var n=t(o,e),r,i,s=0,l,c,u;if(r=n.node,i=n.offset,n.inside&&!r.hasChildNodes())return void a[e?"setStart":"setEnd"](r,0);if(i===c)return void a[e?"setStartBefore":"setEndAfter"](r);if(n.position<0){if(l=n.inside?r.firstChild:r.nextSibling,!l)return void a[e?"setStartAfter":"setEndAfter"](r);if(!i)return void(3==l.nodeType?a[e?"setStart":"setEnd"](l,0):a[e?"setStartBefore":"setEndBefore"](l));for(;l;){if(3==l.nodeType&&(u=l.nodeValue,s+=u.length,s>=i)){r=l,s-=i,s=u.length-s;break}l=l.nextSibling}}else{if(l=r.previousSibling,!l)return a[e?"setStartBefore":"setEndBefore"](r);if(!i)return void(3==r.nodeType?a[e?"setStart":"setEnd"](l,r.nodeValue.length):a[e?"setStartAfter":"setEndAfter"](l));for(;l;){if(3==l.nodeType&&(s+=l.nodeValue.length,s>=i)){r=l,s-=i;break}l=l.previousSibling}}a[e?"setStart":"setEnd"](r,s)}var o=e.getRng(),a=i.createRng(),s,l,c,u,d;if(s=o.item?o.item(0):o.parentElement(),s.ownerDocument!=i.doc)return a;if(l=e.isCollapsed(),o.item)return a.setStart(s.parentNode,i.nodeIndex(s)),a.setEnd(a.startContainer,a.startOffset+1),a;try{n(!0),l||n()}catch(f){if(-2147024809!=f.number)throw f;d=r.getBookmark(2),c=o.duplicate(),c.collapse(!0),s=c.parentElement(),l||(c=o.duplicate(),c.collapse(!1),u=c.parentElement(),u.innerHTML=u.innerHTML),s.innerHTML=s.innerHTML,r.moveToBookmark(d),o=e.getRng(),n(!0),l||n()}return a}var r=this,i=e.dom,o=!1;this.getBookmark=function(n){function r(e){var t,n,r,o,a=[];for(t=e.parentNode,n=i.getRoot().parentNode;t!=n&&9!==t.nodeType;){for(r=t.children,o=r.length;o--;)if(e===r[o]){a.push(o);break}e=t,t=t.parentNode}return a}function o(e){var n;return n=t(a,e),n?{position:n.position,offset:n.offset,indexes:r(n.node),inside:n.inside}:void 0}var a=e.getRng(),s={};return 2===n&&(a.item?s.start={ctrl:!0,indexes:r(a.item(0))}:(s.start=o(!0),e.isCollapsed()||(s.end=o()))),s},this.moveToBookmark=function(e){function t(e){var t,n,r,o;for(t=i.getRoot(),n=e.length-1;n>=0;n--)o=t.children,r=e[n],r<=o.length-1&&(t=o[r]);return t}function n(n){var i=e[n?"start":"end"],a,s,l,c;i&&(a=i.position>0,s=o.createTextRange(),s.moveToElementText(t(i.indexes)),c=i.offset,c!==l?(s.collapse(i.inside||a),s.moveStart("character",a?-c:c)):s.collapse(n),r.setEndPoint(n?"StartToStart":"EndToStart",s),n&&r.collapse(!0))}var r,o=i.doc.body;e.start&&(e.start.ctrl?(r=o.createControlRange(),r.addElement(t(e.start.indexes)),r.select()):(r=o.createTextRange(),n(!0),n(),r.select()))},this.addRange=function(t){function n(e){var t,n,a,d,p;a=i.create("a"),t=e?s:c,n=e?l:u,d=r.duplicate(),(t==f||t==f.documentElement)&&(t=h,n=0),3==t.nodeType?(t.parentNode.insertBefore(a,t),d.moveToElementText(a),d.moveStart("character",n),i.remove(a),r.setEndPoint(e?"StartToStart":"EndToEnd",d)):(p=t.childNodes,p.length?(n>=p.length?i.insertAfter(a,p[p.length-1]):t.insertBefore(a,p[n]),d.moveToElementText(a)):t.canHaveHTML&&(t.innerHTML="",a=t.firstChild,d.moveToElementText(a),d.collapse(o)),r.setEndPoint(e?"StartToStart":"EndToEnd",d),i.remove(a))}var r,a,s,l,c,u,d,f=e.dom.doc,h=f.body,p,m;if(s=t.startContainer,l=t.startOffset,c=t.endContainer,u=t.endOffset,r=h.createTextRange(),s==c&&1==s.nodeType){if(l==u&&!s.hasChildNodes()){if(s.canHaveHTML)return d=s.previousSibling,d&&!d.hasChildNodes()&&i.isBlock(d)?d.innerHTML="":d=null,s.innerHTML="",r.moveToElementText(s.lastChild),r.select(),i.doc.selection.clear(),s.innerHTML="",void(d&&(d.innerHTML=""));l=i.nodeIndex(s),s=s.parentNode}if(l==u-1)try{if(m=s.childNodes[l],a=h.createControlRange(),a.addElement(m),a.select(),p=e.getRng(),p.item&&m===p.item(0))return}catch(g){}}n(!0),n(),r.select()},this.getRangeAt=n}return e}),r(D,[u],function(e){return{BACKSPACE:8,DELETE:46,DOWN:40,ENTER:13,LEFT:37,RIGHT:39,SPACEBAR:32,TAB:9,UP:38,modifierPressed:function(e){return e.shiftKey||e.ctrlKey||e.altKey||this.metaKeyPressed(e)},metaKeyPressed:function(t){return e.mac?t.metaKey:t.ctrlKey&&!t.altKey}}}),r(L,[D,f,u],function(e,t,n){return function(r,i){function o(e){var t=i.settings.object_resizing;return t===!1||n.iOS?!1:("string"!=typeof t&&(t="table,img,div"),"false"===e.getAttribute("data-mce-resize")?!1:e==i.getBody()?!1:i.dom.is(e,t))}function a(t){var n,r,o,a,s;n=t.screenX-T,r=t.screenY-R,P=n*S[2]+D,O=r*S[3]+L,P=5>P?5:P,O=5>O?5:O,o="IMG"==w.nodeName&&i.settings.resize_img_proportional!==!1?!e.modifierPressed(t):e.modifierPressed(t)||"IMG"==w.nodeName&&S[2]*S[3]!==0,o&&(W(n)>W(r)?(O=V(P*M),P=V(O/M)):(P=V(O/M),O=V(P*M))),x.setStyles(_,{width:P,height:O}),a=S.startPos.x+n,s=S.startPos.y+r,a=a>0?a:0,s=s>0?s:0,x.setStyles(E,{left:a,top:s,display:"block"}),E.innerHTML=P+" × "+O,S[2]<0&&_.clientWidth<=P&&x.setStyle(_,"left",A+(D-P)),S[3]<0&&_.clientHeight<=O&&x.setStyle(_,"top",B+(L-O)),n=U.scrollWidth-$,r=U.scrollHeight-q,n+r!==0&&x.setStyles(E,{left:a-n,top:s-r}),H||(i.fire("ObjectResizeStart",{target:w,width:D,height:L}),H=!0)}function s(){function e(e,t){t&&(w.style[e]||!i.schema.isValid(w.nodeName.toLowerCase(),e)?x.setStyle(w,e,t):x.setAttrib(w,e,t))}H=!1,e("width",P),e("height",O),x.unbind(I,"mousemove",a),x.unbind(I,"mouseup",s),F!=I&&(x.unbind(F,"mousemove",a),x.unbind(F,"mouseup",s)),x.remove(_),x.remove(E),z&&"TABLE"!=w.nodeName||l(w),i.fire("ObjectResized",{target:w,width:P,height:O}),x.setAttrib(w,"style",x.getAttrib(w,"style")),i.nodeChanged()}function l(e,t,r){var l,u,d,f,h;g(),l=x.getPos(e,U),A=l.x,B=l.y,h=e.getBoundingClientRect(),u=h.width||h.right-h.left,d=h.height||h.bottom-h.top,w!=e&&(m(),w=e,P=O=0),f=i.fire("ObjectSelected",{target:e}),o(e)&&!f.isDefaultPrevented()?C(N,function(e,i){function o(t){T=t.screenX,R=t.screenY,D=w.clientWidth,L=w.clientHeight,M=L/D,S=e,e.startPos={x:u*e[0]+A,y:d*e[1]+B},$=U.scrollWidth,q=U.scrollHeight,_=w.cloneNode(!0),x.addClass(_,"mce-clonedresizable"),x.setAttrib(_,"data-mce-bogus","all"),_.contentEditable=!1,_.unSelectabe=!0,x.setStyles(_,{left:A,top:B,margin:0}),_.removeAttribute("data-mce-selected"),U.appendChild(_),x.bind(I,"mousemove",a),x.bind(I,"mouseup",s),F!=I&&(x.bind(F,"mousemove",a),x.bind(F,"mouseup",s)),E=x.add(U,"div",{"class":"mce-resize-helper","data-mce-bogus":"all"},D+" × "+L)}var l;return t?void(i==t&&o(r)):(l=x.get("mceResizeHandle"+i),l&&x.remove(l),l=x.add(U,"div",{id:"mceResizeHandle"+i,"data-mce-bogus":"all","class":"mce-resizehandle",unselectable:!0,style:"cursor:"+i+"-resize; margin:0; padding:0"}),n.ie&&(l.contentEditable=!1),x.bind(l,"mousedown",function(e){e.stopImmediatePropagation(),e.preventDefault(),o(e)}),e.elm=l,void x.setStyles(l,{left:u*e[0]+A-l.offsetWidth/2,top:d*e[1]+B-l.offsetHeight/2}))}):c(),w.setAttribute("data-mce-selected","1")}function c(){var e,t;g(),w&&w.removeAttribute("data-mce-selected");for(e in N)t=x.get("mceResizeHandle"+e),t&&(x.unbind(t),x.remove(t))}function u(e){function t(e,t){if(e)do if(e===t)return!0;while(e=e.parentNode)}var n,o;if(!H&&!i.removed)return C(x.select("img[data-mce-selected],hr[data-mce-selected]"),function(e){e.removeAttribute("data-mce-selected")}),o="mousedown"==e.type?e.target:r.getNode(),o=x.$(o).closest(z?"table":"table,img,hr")[0],t(o,U)&&(v(),n=r.getStart(!0),t(n,o)&&t(r.getEnd(!0),o)&&(!z||o!=n&&"IMG"!==n.nodeName))?void l(o):void c()}function d(e,t,n){e&&e.attachEvent&&e.attachEvent("on"+t,n)}function f(e,t,n){e&&e.detachEvent&&e.detachEvent("on"+t,n)}function h(e){var t=e.srcElement,n,r,o,a,s,c,u;n=t.getBoundingClientRect(),c=k.clientX-n.left,u=k.clientY-n.top;for(r in N)if(o=N[r],a=t.offsetWidth*o[0],s=t.offsetHeight*o[1],W(a-c)<8&&W(s-u)<8){S=o;break}H=!0,i.fire("ObjectResizeStart",{target:w,width:w.clientWidth,height:w.clientHeight}),i.getDoc().selection.empty(),l(t,r,k)}function p(e){var t=e.srcElement;if(t!=w){if(i.fire("ObjectSelected",{target:t}),m(),0===t.id.indexOf("mceResizeHandle"))return void(e.returnValue=!1);("IMG"==t.nodeName||"TABLE"==t.nodeName)&&(c(),w=t,d(t,"resizestart",h))}}function m(){f(w,"resizestart",h)}function g(){for(var e in N){var t=N[e];t.elm&&(x.unbind(t.elm),delete t.elm)}}function v(){try{i.getDoc().execCommand("enableObjectResizing",!1,!1)}catch(e){}}function y(e){var t;if(z){t=I.body.createControlRange();try{return t.addElement(e),t.select(),!0}catch(n){}}}function b(){w=_=null,z&&(m(),f(U,"controlselect",p))}var x=i.dom,C=t.each,w,_,E,N,S,k,T,R,A,B,D,L,M,H,P,O,I=i.getDoc(),F=document,z=n.ie&&n.ie<11,W=Math.abs,V=Math.round,U=i.getBody(),$,q;N={nw:[0,0,-1,-1],ne:[1,0,1,-1],se:[1,1,1,1],sw:[0,1,-1,1]};var j=".mce-content-body";return i.contentStyles.push(j+" div.mce-resizehandle {position: absolute;border: 1px solid black;background: #FFF;width: 7px;height: 7px;z-index: 10000}"+j+" .mce-resizehandle:hover {background: #000}"+j+" img[data-mce-selected], hr[data-mce-selected] {outline: 1px solid black;resize: none}"+j+" .mce-clonedresizable {position: absolute;"+(n.gecko?"":"outline: 1px dashed black;")+"opacity: .5;filter: alpha(opacity=50);z-index: 10000}"+j+" .mce-resize-helper {background: #555;background: rgba(0,0,0,0.75);border-radius: 3px;border: 1px;color: white;display: none;font-family: sans-serif;font-size: 12px;white-space: nowrap;line-height: 14px;margin: 5px 10px;padding: 5px;position: absolute;z-index: 10001}"),i.on("init",function(){z?(i.on("ObjectResized",function(e){"TABLE"!=e.target.nodeName&&(c(),y(e.target))}),d(U,"controlselect",p),i.on("mousedown",function(e){k=e})):(v(),n.ie>=11&&(i.on("mousedown click",function(e){var t=e.target.nodeName;!H&&/^(TABLE|IMG|HR)$/.test(t)&&(i.selection.select(e.target,"TABLE"==t),"mousedown"==e.type&&i.nodeChanged())}),i.dom.bind(U,"mscontrolselect",function(e){/^(TABLE|IMG|HR)$/.test(e.target.nodeName)&&(e.preventDefault(),"IMG"==e.target.tagName&&window.setTimeout(function(){i.selection.select(e.target)},0))}))),i.on("nodechange ResizeEditor ResizeWindow drop",function(e){window.requestAnimationFrame?window.requestAnimationFrame(function(){u(e)}):u(e)}),i.on("keydown keyup",function(e){w&&"TABLE"==w.nodeName&&u(e)}),i.on("hide blur",c)}),i.on("remove",g),{isResizable:o,showResizeRect:l,hideResizeRect:c,updateResizeRect:u,controlSelect:y,destroy:b}}}),r(M,[u,f],function(e,t){function n(n){var r=n.dom;this.getBookmark=function(e,i){function o(e,n){var i=0;return t.each(r.select(e),function(e,t){e==n&&(i=t)}),i}function a(e){function t(t){var n,r,i,o=t?"start":"end";n=e[o+"Container"],r=e[o+"Offset"],1==n.nodeType&&"TR"==n.nodeName&&(i=n.childNodes,n=i[Math.min(t?r:r-1,i.length-1)],n&&(r=t?0:n.childNodes.length,e["set"+(t?"Start":"End")](n,r)))}return t(!0),t(),e}function s(){function e(e,t){var n=e[t?"startContainer":"endContainer"],a=e[t?"startOffset":"endOffset"],s=[],l,c,u=0;if(3==n.nodeType){if(i)for(l=n.previousSibling;l&&3==l.nodeType;l=l.previousSibling)a+=l.nodeValue.length;s.push(a)}else c=n.childNodes,a>=c.length&&c.length&&(u=1,a=Math.max(0,c.length-1)),s.push(r.nodeIndex(c[a],i)+u);for(;n&&n!=o;n=n.parentNode)s.push(r.nodeIndex(n,i));return s}var t=n.getRng(!0),o=r.getRoot(),a={};return a.start=e(t,!0),n.isCollapsed()||(a.end=e(t)),a}var l,c,u,d,f,h,p="",m;if(2==e)return h=n.getNode(),f=h?h.nodeName:null,"IMG"==f?{name:f,index:o(f,h)}:n.tridentSel?n.tridentSel.getBookmark(e):s();if(e)return{rng:n.getRng()};if(l=n.getRng(),u=r.uniqueId(),d=n.isCollapsed(),m="overflow:hidden;line-height:0px",l.duplicate||l.item){if(l.item)return h=l.item(0),f=h.nodeName,{name:f,index:o(f,h)};c=l.duplicate();try{l.collapse(),l.pasteHTML(''+p+""),d||(c.collapse(!1),l.moveToElementText(c.parentElement()),0===l.compareEndPoints("StartToEnd",c)&&c.move("character",-1),c.pasteHTML(''+p+""))}catch(g){return null}}else{if(h=n.getNode(),f=h.nodeName,"IMG"==f)return{name:f,index:o(f,h)};c=a(l.cloneRange()),d||(c.collapse(!1),c.insertNode(r.create("span",{"data-mce-type":"bookmark",id:u+"_end",style:m},p))),l=a(l),l.collapse(!0),l.insertNode(r.create("span",{"data-mce-type":"bookmark",id:u+"_start",style:m},p))}return n.moveToBookmark({id:u,keep:1}),{id:u}},this.moveToBookmark=function(i){function o(e){var t=i[e?"start":"end"],n,r,o,a;if(t){for(o=t[0],r=c,n=t.length-1;n>=1;n--){if(a=r.childNodes,t[n]>a.length-1)return;r=a[t[n]]}3===r.nodeType&&(o=Math.min(t[0],r.nodeValue.length)),1===r.nodeType&&(o=Math.min(t[0],r.childNodes.length)),e?l.setStart(r,o):l.setEnd(r,o)}return!0}function a(n){var o=r.get(i.id+"_"+n),a,s,l,c,p=i.keep;if(o&&(a=o.parentNode,"start"==n?(p?(a=o.firstChild,s=1):s=r.nodeIndex(o),u=d=a,f=h=s):(p?(a=o.firstChild,s=1):s=r.nodeIndex(o),d=a,h=s),!p)){for(c=o.previousSibling,l=o.nextSibling,t.each(t.grep(o.childNodes),function(e){3==e.nodeType&&(e.nodeValue=e.nodeValue.replace(/\uFEFF/g,""))});o=r.get(i.id+"_"+n);)r.remove(o,1);c&&l&&c.nodeType==l.nodeType&&3==c.nodeType&&!e.opera&&(s=c.nodeValue.length,c.appendData(l.nodeValue),r.remove(l),"start"==n?(u=d=c,f=h=s):(d=c,h=s))}}function s(t){return!r.isBlock(t)||t.innerHTML||e.ie||(t.innerHTML='
                '),t}var l,c,u,d,f,h;if(i)if(i.start){if(l=r.createRng(),c=r.getRoot(),n.tridentSel)return n.tridentSel.moveToBookmark(i);o(!0)&&o()&&n.setRng(l)}else i.id?(a("start"),a("end"),u&&(l=r.createRng(),l.setStart(s(u),f),l.setEnd(s(d),h),n.setRng(l))):i.name?n.select(r.select(i.name)[i.index]):i.rng&&n.setRng(i.rng)}}return n.isBookmarkNode=function(e){return e&&"SPAN"===e.tagName&&"bookmark"===e.getAttribute("data-mce-type")},n}),r(H,[m,B,L,w,M,u,f],function(e,n,r,i,o,a,s){function l(e,t,i,a){var s=this;s.dom=e,s.win=t,s.serializer=i,s.editor=a,s.bookmarkManager=new o(s),s.controlSelection=new r(s,a),s.win.getSelection||(s.tridentSel=new n(s))}var c=s.each,u=s.trim,d=a.ie;return l.prototype={setCursorLocation:function(e,t){var n=this,r=n.dom.createRng();e?(r.setStart(e,t),r.setEnd(e,t),n.setRng(r),n.collapse(!1)):(n._moveEndPoint(r,n.editor.getBody(),!0),n.setRng(r))},getContent:function(e){var n=this,r=n.getRng(),i=n.dom.create("body"),o=n.getSel(),a,s,l;return e=e||{},a=s="",e.get=!0,e.format=e.format||"html",e.selection=!0,n.editor.fire("BeforeGetContent",e),"text"==e.format?n.isCollapsed()?"":r.text||(o.toString?o.toString():""):(r.cloneContents?(l=r.cloneContents(),l&&i.appendChild(l)):r.item!==t||r.htmlText!==t?(i.innerHTML="
                "+(r.item?r.item(0).outerHTML:r.htmlText),i.removeChild(i.firstChild)):i.innerHTML=r.toString(),/^\s/.test(i.innerHTML)&&(a=" "),/\s+$/.test(i.innerHTML)&&(s=" "),e.getInner=!0,e.content=n.isCollapsed()?"":a+n.serializer.serialize(i,e)+s,n.editor.fire("GetContent",e),e.content)},setContent:function(e,t){var n=this,r=n.getRng(),i,o=n.win.document,a,s;if(t=t||{format:"html"},t.set=!0,t.selection=!0,t.content=e,t.no_events||n.editor.fire("BeforeSetContent",t),e=t.content,r.insertNode){e+='_',r.startContainer==o&&r.endContainer==o?o.body.innerHTML=e:(r.deleteContents(),0===o.body.childNodes.length?o.body.innerHTML=e:r.createContextualFragment?r.insertNode(r.createContextualFragment(e)):(a=o.createDocumentFragment(),s=o.createElement("div"),a.appendChild(s),s.outerHTML=e,r.insertNode(a))),i=n.dom.get("__caret"),r=o.createRange(),r.setStartBefore(i),r.setEndBefore(i),n.setRng(r),n.dom.remove("__caret");try{n.setRng(r)}catch(l){}}else r.item&&(o.execCommand("Delete",!1,null),r=n.getRng()),/^\s+/.test(e)?(r.pasteHTML('_'+e),n.dom.remove("__mce_tmp")):r.pasteHTML(e);t.no_events||n.editor.fire("SetContent",t)},getStart:function(e){var t=this,n=t.getRng(),r,i,o,a;if(n.duplicate||n.item){if(n.item)return n.item(0);for(o=n.duplicate(),o.collapse(1),r=o.parentElement(),r.ownerDocument!==t.dom.doc&&(r=t.dom.getRoot()),i=a=n.parentElement();a=a.parentNode;)if(a==r){r=i;break}return r}return r=n.startContainer,1==r.nodeType&&r.hasChildNodes()&&(e&&n.collapsed||(r=r.childNodes[Math.min(r.childNodes.length-1,n.startOffset)])),r&&3==r.nodeType?r.parentNode:r},getEnd:function(e){var t=this,n=t.getRng(),r,i;return n.duplicate||n.item?n.item?n.item(0):(n=n.duplicate(),n.collapse(0),r=n.parentElement(),r.ownerDocument!==t.dom.doc&&(r=t.dom.getRoot()),r&&"BODY"==r.nodeName?r.lastChild||r:r):(r=n.endContainer,i=n.endOffset,1==r.nodeType&&r.hasChildNodes()&&(e&&n.collapsed||(r=r.childNodes[i>0?i-1:i])),r&&3==r.nodeType?r.parentNode:r)},getBookmark:function(e,t){return this.bookmarkManager.getBookmark(e,t)},moveToBookmark:function(e){return this.bookmarkManager.moveToBookmark(e)},select:function(e,t){var n=this,r=n.dom,i=r.createRng(),o;if(n.lastFocusBookmark=null,e){if(!t&&n.controlSelection.controlSelect(e))return;o=r.nodeIndex(e),i.setStart(e.parentNode,o),i.setEnd(e.parentNode,o+1),t&&(n._moveEndPoint(i,e,!0),n._moveEndPoint(i,e)),n.setRng(i)}return e},isCollapsed:function(){var e=this,t=e.getRng(),n=e.getSel();return!t||t.item?!1:t.compareEndPoints?0===t.compareEndPoints("StartToEnd",t):!n||t.collapsed},collapse:function(e){var t=this,n=t.getRng(),r;n.item&&(r=n.item(0),n=t.win.document.body.createTextRange(),n.moveToElementText(r)),n.collapse(!!e),t.setRng(n)},getSel:function(){var e=this.win;return e.getSelection?e.getSelection():e.document.selection},getRng:function(e){function t(e,t,n){try{return t.compareBoundaryPoints(e,n)}catch(r){return-1}}var n=this,r,i,o,a=n.win.document,s;if(!e&&n.lastFocusBookmark){var l=n.lastFocusBookmark;return l.startContainer?(i=a.createRange(),i.setStart(l.startContainer,l.startOffset),i.setEnd(l.endContainer,l.endOffset)):i=l,i}if(e&&n.tridentSel)return n.tridentSel.getRangeAt(0);try{(r=n.getSel())&&(i=r.rangeCount>0?r.getRangeAt(0):r.createRange?r.createRange():a.createRange())}catch(c){}if(d&&i&&i.setStart&&a.selection){try{s=a.selection.createRange()}catch(c){}s&&s.item&&(o=s.item(0),i=a.createRange(),i.setStartBefore(o),i.setEndAfter(o))}return i||(i=a.createRange?a.createRange():a.body.createTextRange()),i.setStart&&9===i.startContainer.nodeType&&i.collapsed&&(o=n.dom.getRoot(),i.setStart(o,0),i.setEnd(o,0)),n.selectedRange&&n.explicitRange&&(0===t(i.START_TO_START,i,n.selectedRange)&&0===t(i.END_TO_END,i,n.selectedRange)?i=n.explicitRange:(n.selectedRange=null,n.explicitRange=null)),i},setRng:function(e,t){var n=this,r,i;if(e)if(e.select)try{e.select()}catch(o){}else if(n.tridentSel){if(e.cloneRange)try{n.tridentSel.addRange(e)}catch(o){}}else{if(r=n.getSel()){n.explicitRange=e;try{r.removeAllRanges(),r.addRange(e)}catch(o){}t===!1&&r.extend&&(r.collapse(e.endContainer,e.endOffset),r.extend(e.startContainer,e.startOffset)),n.selectedRange=r.rangeCount>0?r.getRangeAt(0):null}e.collapsed||e.startContainer!=e.endContainer||!r.setBaseAndExtent||a.ie||e.endOffset-e.startOffset<2&&e.startContainer.hasChildNodes()&&(i=e.startContainer.childNodes[e.startOffset],i&&"IMG"==i.tagName&&n.getSel().setBaseAndExtent(i,0,i,1))}},setNode:function(e){var t=this;return t.setContent(t.dom.getOuterHTML(e)),e},getNode:function(){function e(e,t){for(var n=e;e&&3===e.nodeType&&0===e.length;)e=t?e.nextSibling:e.previousSibling;return e||n}var t=this,n=t.getRng(),r,i=n.startContainer,o=n.endContainer,a=n.startOffset,s=n.endOffset,l=t.dom.getRoot();return n?n.setStart?(r=n.commonAncestorContainer,!n.collapsed&&(i==o&&2>s-a&&i.hasChildNodes()&&(r=i.childNodes[a]),3===i.nodeType&&3===o.nodeType&&(i=i.length===a?e(i.nextSibling,!0):i.parentNode,o=0===s?e(o.previousSibling,!1):o.parentNode,i&&i===o))?i:r&&3==r.nodeType?r.parentNode:r):(r=n.item?n.item(0):n.parentElement(),r.ownerDocument!==t.win.document&&(r=l),r):l},getSelectedBlocks:function(t,n){var r=this,i=r.dom,o,a,s=[];if(a=i.getRoot(),t=i.getParent(t||r.getStart(),i.isBlock),n=i.getParent(n||r.getEnd(),i.isBlock),t&&t!=a&&s.push(t),t&&n&&t!=n){o=t;for(var l=new e(t,a);(o=l.next())&&o!=n;)i.isBlock(o)&&s.push(o)}return n&&t!=n&&n!=a&&s.push(n),s},isForward:function(){var e=this.dom,t=this.getSel(),n,r;return t&&t.anchorNode&&t.focusNode?(n=e.createRng(),n.setStart(t.anchorNode,t.anchorOffset),n.collapse(!0),r=e.createRng(),r.setStart(t.focusNode,t.focusOffset),r.collapse(!0),n.compareBoundaryPoints(n.START_TO_START,r)<=0):!0},normalize:function(){var e=this,t=e.getRng();return a.range&&new i(e.dom).normalize(t)&&e.setRng(t,e.isForward()),t},selectorChanged:function(e,t){var n=this,r;return n.selectorChangedData||(n.selectorChangedData={},r={},n.editor.on("NodeChange",function(e){var t=e.element,i=n.dom,o=i.getParents(t,null,i.getRoot()),a={};c(n.selectorChangedData,function(e,t){c(o,function(n){return i.is(n,t)?(r[t]||(c(e,function(e){e(!0,{node:n,selector:t,parents:o})}),r[t]=e),a[t]=e,!1):void 0})}),c(r,function(e,n){a[n]||(delete r[n],c(e,function(e){e(!1,{node:t,selector:n,parents:o})}))})})),n.selectorChangedData[e]||(n.selectorChangedData[e]=[]),n.selectorChangedData[e].push(t),n},getScrollContainer:function(){for(var e,t=this.dom.getRoot();t&&"BODY"!=t.nodeName;){if(t.scrollHeight>t.clientHeight){e=t;break}t=t.parentNode}return e},scrollIntoView:function(e){function t(e){for(var t=0,n=0,r=e;r&&r.nodeType;)t+=r.offsetLeft||0,n+=r.offsetTop||0,r=r.offsetParent;return{x:t,y:n}}var n,r,i=this,o=i.dom,a=o.getRoot(),s,l;if("BODY"!=a.nodeName){var c=i.getScrollContainer();if(c)return n=t(e).y-t(c).y,l=c.clientHeight,s=c.scrollTop,void((s>n||n+25>s+l)&&(c.scrollTop=s>n?n:n-l+25))}r=o.getViewPort(i.editor.getWin()),n=o.getPos(e).y,s=r.y,l=r.h,(ns+l)&&i.editor.getWin().scrollTo(0,s>n?n:n-l+25)},placeCaretAt:function(e,t){var n=this.editor.getDoc(),r,i;if(n.caretPositionFromPoint)i=n.caretPositionFromPoint(e,t),r=n.createRange(), +r.setStart(i.offsetNode,i.offset),r.collapse(!0);else if(n.caretRangeFromPoint)r=n.caretRangeFromPoint(e,t);else if(n.body.createTextRange){r=n.body.createTextRange();try{r.moveToPoint(e,t),r.collapse(!0)}catch(o){r.collapse(t=e;e++)a.addShortcut("access+"+e,"",["FormatBlock",!1,"h"+e]);a.addShortcut("access+7","",["FormatBlock",!1,"p"]),a.addShortcut("access+8","",["FormatBlock",!1,"div"]),a.addShortcut("access+9","",["FormatBlock",!1,"address"])}function p(e){return e?$[e]:$}function m(e,t){e&&("string"!=typeof e?le(e,function(e,t){m(t,e)}):(t=t.length?t:[t],le(t,function(e){e.deep===re&&(e.deep=!e.selector),e.split===re&&(e.split=!e.selector||e.inline),e.remove===re&&e.selector&&!e.inline&&(e.remove="none"),e.selector&&e.inline&&(e.mixed=!0,e.block_expand=!0),"string"==typeof e.classes&&(e.classes=e.classes.split(/\s+/))}),$[e]=t))}function g(e){return e&&$[e]&&delete $[e],$}function v(e){var t;return a.dom.getParent(e,function(e){return t=a.dom.getStyle(e,"text-decoration"),t&&"none"!==t}),t}function y(e){var t;1===e.nodeType&&e.parentNode&&1===e.parentNode.nodeType&&(t=v(e.parentNode),a.dom.getStyle(e,"color")&&t?a.dom.setStyle(e,"text-decoration",t):a.dom.getStyle(e,"text-decoration")===t&&a.dom.setStyle(e,"text-decoration",null))}function b(t,n,r){function i(e,t){if(t=t||u,e){if(t.onformat&&t.onformat(e,t,n,r),le(t.styles,function(t,r){q.setStyle(e,r,D(t,n))}),t.styles){var i=q.getAttrib(e,"style");i&&e.setAttribute("data-mce-style",i)}le(t.attributes,function(t,r){q.setAttrib(e,r,D(t,n))}),le(t.classes,function(t){t=D(t,n),q.hasClass(e,t)||q.addClass(e,t)})}}function o(){function t(t,n){var i=new e(n);for(r=i.current();r;r=i.prev())if(r.childNodes.length>1||r==t||"BR"==r.tagName)return r}var n=a.selection.getRng(),i=n.startContainer,o=n.endContainer;if(i!=o&&0===n.endOffset){var s=t(i,o),l=3==s.nodeType?s.length:s.childNodes.length;n.setEnd(s,l)}return n}function l(e,r,o){var a=[],l,f,h=!0;l=u.inline||u.block,f=q.create(l),i(f),K.walk(e,function(e){function r(e){var g,v,y,b,x;return x=h,g=e.nodeName.toLowerCase(),v=e.parentNode.nodeName.toLowerCase(),1===e.nodeType&&ie(e)&&(x=h,h="true"===ie(e),b=!0),R(g,"br")?(p=0,void(u.block&&q.remove(e))):u.wrapper&&w(e,t,n)?void(p=0):h&&!b&&u.block&&!u.wrapper&&s(g)&&Y(v,l)?(e=q.rename(e,l),i(e),a.push(e),void(p=0)):u.selector&&(le(c,function(t){"collapsed"in t&&t.collapsed!==m||q.is(e,t.selector)&&!d(e)&&(i(e,t),y=!0)}),!u.inline||y)?void(p=0):void(!h||b||!Y(l,g)||!Y(v,l)||!o&&3===e.nodeType&&1===e.nodeValue.length&&65279===e.nodeValue.charCodeAt(0)||d(e)||u.inline&&G(e)?(p=0,le(ce(e.childNodes),r),b&&(h=x),p=0):(p||(p=q.clone(f,ee),e.parentNode.insertBefore(p,e),a.push(p)),p.appendChild(e)))}var p;le(e,r)}),u.links===!0&&le(a,function(e){function t(e){"A"===e.nodeName&&i(e,u),le(ce(e.childNodes),t)}t(e)}),le(a,function(e){function r(e){var t=0;return le(e.childNodes,function(e){L(e)||se(e)||t++}),t}function o(e){var t,n;return le(e.childNodes,function(e){return 1!=e.nodeType||se(e)||d(e)?void 0:(t=e,ee)}),t&&!se(t)&&T(t,u)&&(n=q.clone(t,ee),i(n),q.replace(n,e,te),q.remove(t,1)),n||e}var s;if(s=r(e),(a.length>1||!G(e))&&0===s)return void q.remove(e,1);if(u.inline||u.wrapper){if(u.exact||1!==s||(e=o(e)),le(c,function(t){le(q.select(t.inline,e),function(e){se(e)||O(t,n,e,t.exact?e:null)})}),w(e.parentNode,t,n))return q.remove(e,1),e=0,te;u.merge_with_parents&&q.getParent(e.parentNode,function(r){return w(r,t,n)?(q.remove(e,1),e=0,te):void 0}),e&&u.merge_siblings!==!1&&(e=z(F(e),e),e=z(e,F(e,te)))}})}var c=p(t),u=c[0],f,h,m=!r&&j.isCollapsed();if(u)if(r)r.nodeType?(h=q.createRng(),h.setStartBefore(r),h.setEndAfter(r),l(H(h,c),null,!0)):l(r,null,!0);else if(m&&u.inline&&!q.select("td.mce-item-selected,th.mce-item-selected").length)V("apply",t,n);else{var g=a.selection.getNode();X||!c[0].defaultBlock||q.getParent(g,q.isBlock)||b(c[0].defaultBlock),a.selection.setRng(o()),f=j.getBookmark(),l(H(j.getRng(te),c),f),u.styles&&(u.styles.color||u.styles.textDecoration)&&(ue(g,y,"childNodes"),y(g)),j.moveToBookmark(f),U(j.getRng(te)),a.nodeChanged()}}function x(e,t,n,r){function i(e){var n,r,o,a,s;if(1===e.nodeType&&ie(e)&&(a=b,b="true"===ie(e),s=!0),n=ce(e.childNodes),b&&!s)for(r=0,o=h.length;o>r&&!O(h[r],t,e,e);r++);if(m.deep&&n.length){for(r=0,o=n.length;o>r;r++)i(n[r]);s&&(b=a)}}function o(n){var i;return le(u(n.parentNode).reverse(),function(n){var o;i||"_start"==n.id||"_end"==n.id||(o=w(n,e,t,r),o&&o.split!==!1&&(i=n))}),i}function s(e,n,r,i){var o,a,s,l,c,u;if(e){for(u=e.parentNode,o=n.parentNode;o&&o!=u;o=o.parentNode){for(a=q.clone(o,ee),c=0;c=0;o--){if(a=t[o].selector,!a||t[o].defaultBlock)return te;for(i=r.length-1;i>=0;i--)if(q.is(r[i],a))return te}return ee}function S(e,t,n){var r;return ne||(ne={},r={},a.on("NodeChange",function(e){var t=u(e.element),n={};t=i.grep(t,function(e){return 1==e.nodeType&&!e.getAttribute("data-mce-bogus")}),le(ne,function(e,i){le(t,function(o){return w(o,i,{},e.similar)?(r[i]||(le(e,function(e){e(!0,{node:o,format:i,parents:t})}),r[i]=e),n[i]=e,!1):void 0})}),le(r,function(i,o){n[o]||(delete r[o],le(i,function(n){n(!1,{node:e.element,format:o,parents:t})}))})})),le(e.split(","),function(e){ne[e]||(ne[e]=[],ne[e].similar=n),ne[e].push(t)}),this}function k(e){return o.getCssText(a,e)}function T(e,t){return R(e,t.inline)?te:R(e,t.block)?te:t.selector?1==e.nodeType&&q.is(e,t.selector):void 0}function R(e,t){return e=e||"",t=t||"",e=""+(e.nodeName||e),t=""+(t.nodeName||t),e.toLowerCase()==t.toLowerCase()}function A(e,t){return B(q.getStyle(e,t),t)}function B(e,t){return("color"==t||"backgroundColor"==t)&&(e=q.toHex(e)),"fontWeight"==t&&700==e&&(e="bold"),"fontFamily"==t&&(e=e.replace(/[\'\"]/g,"").replace(/,\s+/g,",")),""+e}function D(e,t){return"string"!=typeof e?e=e(t):t&&(e=e.replace(/%(\w+)/g,function(e,n){return t[n]||e})),e}function L(e){return e&&3===e.nodeType&&/^([\t \r\n]+|)$/.test(e.nodeValue)}function M(e,t,n){var r=q.create(t,n);return e.parentNode.insertBefore(r,e),r.appendChild(e),r}function H(t,n,r){function i(e){function t(e){return"BR"==e.nodeName&&e.getAttribute("data-mce-bogus")&&!e.nextSibling}var r,i,o,a,s;if(r=i=e?g:y,a=e?"previousSibling":"nextSibling",s=q.getRoot(),3==r.nodeType&&!L(r)&&(e?v>0:bo?n:o,-1===n||r||n++):(n=a.indexOf(" ",t),o=a.indexOf("\xa0",t),n=-1!==n&&(-1===o||o>n)?n:o),n}var s,l,c,u;if(3===t.nodeType){if(c=o(t,n),-1!==c)return{container:t,offset:c};u=t}for(s=new e(t,q.getParent(t,G)||a.getBody());l=s[i?"prev":"next"]();)if(3===l.nodeType){if(u=l,c=o(l),-1!==c)return{container:l,offset:c}}else if(G(l))break;return u?(n=i?0:u.length,{container:u,offset:n}):void 0}function d(e,r){var i,o,a,s;for(3==e.nodeType&&0===e.nodeValue.length&&e[r]&&(e=e[r]),i=u(e),o=0;oh?h:v],3==g.nodeType&&(v=0)),1==y.nodeType&&y.hasChildNodes()&&(h=y.childNodes.length-1,y=y.childNodes[b>h?h:b-1],3==y.nodeType&&(b=y.nodeValue.length)),g=l(g),y=l(y),(se(g.parentNode)||se(g))&&(g=se(g)?g:g.parentNode,g=g.nextSibling||g,3==g.nodeType&&(v=0)),(se(y.parentNode)||se(y))&&(y=se(y)?y:y.parentNode,y=y.previousSibling||y,3==y.nodeType&&(b=y.length)),n[0].inline&&(t.collapsed&&(m=c(g,v,!0),m&&(g=m.container,v=m.offset),m=c(y,b),m&&(y=m.container,b=m.offset)),p=o(y,b),p.node)){for(;p.node&&0===p.offset&&p.node.previousSibling;)p=o(p.node.previousSibling);p.node&&p.offset>0&&3===p.node.nodeType&&" "===p.node.nodeValue.charAt(p.offset-1)&&p.offset>1&&(y=p.node,y.splitText(p.offset-1))}return(n[0].inline||n[0].block_expand)&&(n[0].inline&&3==g.nodeType&&0!==v||(g=i(!0)),n[0].inline&&3==y.nodeType&&b!==y.nodeValue.length||(y=i())),n[0].selector&&n[0].expand!==ee&&!n[0].inline&&(g=d(g,"previousSibling"),y=d(y,"nextSibling")),(n[0].block||n[0].selector)&&(g=f(g,"previousSibling"),y=f(y,"nextSibling"),n[0].block&&(G(g)||(g=i(!0)),G(y)||(y=i()))),1==g.nodeType&&(v=J(g),g=g.parentNode),1==y.nodeType&&(b=J(y)+1,y=y.parentNode),{startContainer:g,startOffset:v,endContainer:y,endOffset:b}}function P(e,t){return t.links&&"A"==e.tagName}function O(e,t,n,r){var i,o,a;if(!T(n,e)&&!P(n,e))return ee;if("all"!=e.remove)for(le(e.styles,function(i,o){i=B(D(i,t),o),"number"==typeof o&&(o=i,r=0),(e.remove_similar||!r||R(A(r,o),i))&&q.setStyle(n,o,""),a=1}),a&&""===q.getAttrib(n,"style")&&(n.removeAttribute("style"),n.removeAttribute("data-mce-style")),le(e.attributes,function(e,i){var o;if(e=D(e,t),"number"==typeof i&&(i=e,r=0),!r||R(q.getAttrib(r,i),e)){if("class"==i&&(e=q.getAttrib(n,i),e&&(o="",le(e.split(/\s+/),function(e){/mce\-\w+/.test(e)&&(o+=(o?" ":"")+e)}),o)))return void q.setAttrib(n,i,o);"class"==i&&n.removeAttribute("className"),Z.test(i)&&n.removeAttribute("data-mce-"+i),n.removeAttribute(i)}}),le(e.classes,function(e){e=D(e,t),(!r||q.hasClass(r,e))&&q.removeClass(n,e)}),o=q.getAttribs(n),i=0;io?o:i]),3===r.nodeType&&n&&i>=r.nodeValue.length&&(r=new e(r,a.getBody()).next()||r),3!==r.nodeType||n||0!==i||(r=new e(r,a.getBody()).prev()||r),r}function V(t,n,r,i){function o(e){var t=q.create("span",{id:g,"data-mce-bogus":!0,style:v?"color:red":""});return e&&t.appendChild(a.getDoc().createTextNode(Q)),t}function l(e,t){for(;e;){if(3===e.nodeType&&e.nodeValue!==Q||e.childNodes.length>1)return!1;t&&1===e.nodeType&&t.push(e),e=e.firstChild}return!0}function c(e){for(;e;){if(e.id===g)return e;e=e.parentNode}}function u(t){var n;if(t)for(n=new e(t,t),t=n.current();t;t=n.next())if(3===t.nodeType)return t}function d(e,t){var n,r;if(e)r=j.getRng(!0),l(e)?(t!==!1&&(r.setStartBefore(e),r.setEndBefore(e)),q.remove(e)):(n=u(e),n.nodeValue.charAt(0)===Q&&(n.deleteData(0,1),r.startContainer==n&&r.startOffset>0&&r.setStart(n,r.startOffset-1),r.endContainer==n&&r.endOffset>0&&r.setEnd(n,r.endOffset-1)),q.remove(e,1)),j.setRng(r);else if(e=c(j.getStart()),!e)for(;e=q.get(g);)d(e,!1)}function f(){var e,t,i,a,s,l,d;e=j.getRng(!0),a=e.startOffset,l=e.startContainer,d=l.nodeValue,t=c(j.getStart()),t&&(i=u(t)),d&&a>0&&a=0;h--)u.appendChild(q.clone(f[h],!1)),u=u.firstChild;u.appendChild(q.doc.createTextNode(Q)),u=u.firstChild;var g=q.getParent(d,s);g&&q.isEmpty(g)?d.parentNode.replaceChild(m,d):q.insertAfter(m,d),j.setCursorLocation(u,1),q.isEmpty(d)&&q.remove(d)}}function m(){var e;e=c(j.getStart()),e&&!q.isEmpty(e)&&ue(e,function(e){1!=e.nodeType||e.id===g||q.isEmpty(e)||q.setAttrib(e,"data-mce-bogus",null)},"childNodes")}var g="_mce_caret",v=a.settings.caret_debug;a._hasCaretEvents||(ae=function(){var e=[],t;if(l(c(j.getStart()),e))for(t=e.length;t--;)q.setAttrib(e[t],"data-mce-bogus","1")},oe=function(e){var t=e.keyCode;d(),8==t&&j.isCollapsed()&&j.getStart().innerHTML==Q&&d(c(j.getStart())),(37==t||39==t)&&d(c(j.getStart())),m()},a.on("SetContent",function(e){e.selection&&m()}),a._hasCaretEvents=!0),"apply"==t?f():h()}function U(t){var n=t.startContainer,r=t.startOffset,i,o,a,s,l;if((t.startContainer!=t.endContainer||!c(t.startContainer.childNodes[t.startOffset]))&&(3==n.nodeType&&r>=n.nodeValue.length&&(r=J(n),n=n.parentNode,i=!0),1==n.nodeType))for(s=n.childNodes,n=s[Math.min(r,s.length-1)],o=new e(n,q.getParent(n,q.isBlock)),(r>s.length-1||i)&&o.next(),a=o.current();a;a=o.next())if(3==a.nodeType&&!L(a))return l=q.create("a",{"data-mce-bogus":"all"},Q),a.parentNode.insertBefore(l,a),t.setStart(a,0),j.setRng(t),void q.remove(l)}var $={},q=a.dom,j=a.selection,K=new t(q),Y=a.schema.isValidChild,G=q.isBlock,X=a.settings.forced_root_block,J=q.nodeIndex,Q="\ufeff",Z=/^(src|href|style)$/,ee=!1,te=!0,ne,re,ie=q.getContentEditable,oe,ae,se=n.isBookmarkNode,le=i.each,ce=i.grep,ue=i.walk,de=i.extend;de(this,{get:p,register:m,unregister:g,apply:b,remove:x,toggle:C,match:_,matchAll:E,matchNode:w,canApply:N,formatChanged:S,getCssText:k}),f(),h(),a.on("BeforeGetContent",function(e){ae&&"raw"!=e.format&&ae()}),a.on("mouseup keydown",function(e){oe&&oe(e)})}}),r(F,[D,u,f,S],function(e,t,n,r){var i=n.trim,o;return o=new RegExp(["]+data-mce-bogus[^>]+>[\u200b\ufeff]+<\\/span>",'\\s?data-mce-selected="[^"]+"'].join("|"),"gi"),function(e){function n(){var t=e.getContent({format:"raw",no_events:1}),n=/<(\w+) [^>]*data-mce-bogus="all"[^>]*>/g,a,s,l,c,u,d=e.schema;for(t=t.replace(o,""),u=d.getShortEndedElements();c=n.exec(t);)s=n.lastIndex,l=c[0].length,a=u[c[1]]?s:r.findEndTag(d,t,s),t=t.substring(0,s-l)+t.substring(a),n.lastIndex=s-l;return i(t)}function a(t){e.isNotDirty=!t}function s(e){l.typing=!1,l.add({},e)}var l=this,c=0,u=[],d,f,h=0;return e.on("init",function(){l.add()}),e.on("BeforeExecCommand",function(e){var t=e.command;"Undo"!=t&&"Redo"!=t&&"mceRepaint"!=t&&l.beforeChange()}),e.on("ExecCommand",function(e){var t=e.command;"Undo"!=t&&"Redo"!=t&&"mceRepaint"!=t&&s(e)}),e.on("ObjectResizeStart Cut",function(){l.beforeChange()}),e.on("SaveContent ObjectResized blur",s),e.on("DragEnd",s),e.on("KeyUp",function(r){var i=r.keyCode;r.isDefaultPrevented()||((i>=33&&36>=i||i>=37&&40>=i||45==i||13==i||r.ctrlKey)&&(s(),e.nodeChanged()),(46==i||8==i||t.mac&&(91==i||93==i))&&e.nodeChanged(),f&&l.typing&&(e.isDirty()||(a(u[0]&&n()!=u[0].content),e.isNotDirty||e.fire("change",{level:u[0],lastLevel:null})),e.fire("TypingUndo"),f=!1,e.nodeChanged()))}),e.on("KeyDown",function(e){var t=e.keyCode;if(!e.isDefaultPrevented()){if(t>=33&&36>=t||t>=37&&40>=t||45==t)return void(l.typing&&s(e));var n=e.ctrlKey&&!e.altKey||e.metaKey;!(16>t||t>20)||224==t||91==t||l.typing||n||(l.beforeChange(),l.typing=!0,l.add({},e),f=!0)}}),e.on("MouseDown",function(e){l.typing&&s(e)}),e.addShortcut("meta+z","","Undo"),e.addShortcut("meta+y,meta+shift+z","","Redo"),e.on("AddUndo Undo Redo ClearUndos",function(t){t.isDefaultPrevented()||e.nodeChanged()}),l={data:u,typing:!1,beforeChange:function(){h||(d=e.selection.getBookmark(2,!0))},add:function(t,r){var i,o=e.settings,s;if(t=t||{},t.content=n(),h||e.removed)return null;if(s=u[c],e.fire("BeforeAddUndo",{level:t,lastLevel:s,originalEvent:r}).isDefaultPrevented())return null;if(s&&s.content==t.content)return null;if(u[c]&&(u[c].beforeBookmark=d),o.custom_undo_redo_levels&&u.length>o.custom_undo_redo_levels){for(i=0;i0&&(a(!0),e.fire("change",l)),t},undo:function(){var t;return l.typing&&(l.add(),l.typing=!1),c>0&&(t=u[--c],0===c&&a(!1),e.setContent(t.content,{format:"raw"}),e.selection.moveToBookmark(t.beforeBookmark),e.fire("undo",{level:t})),t},redo:function(){var t;return c0||l.typing&&u[0]&&n()!=u[0].content},hasRedo:function(){return cH)&&(u=a.create("br"),t.parentNode.insertBefore(u,t)),l.setStartBefore(t),l.setEndBefore(t)):(l.setStartAfter(t),l.setEndAfter(t)):(l.setStart(t,0),l.setEnd(t,0));s.setRng(l),a.remove(u),s.scrollIntoView(t)}}function y(e){var t=l.forced_root_block;t&&t.toLowerCase()===e.tagName.toLowerCase()&&a.setAttribs(e,l.forced_root_block_attrs)}function b(e){e.innerHTML=r?"":'
                '}function x(e){var t=D,n,i,o,s=u.getTextInlineElements();if(e||"TABLE"==z?(n=a.create(e||V),y(n)):n=M.cloneNode(!1),o=n,l.keep_styles!==!1)do if(s[t.nodeName]){if("_mce_caret"==t.id)continue;i=t.cloneNode(!1),a.setAttrib(i,"id",""),n.hasChildNodes()?(i.appendChild(n.firstChild),n.appendChild(i)):(o=i,n.appendChild(i))}while(t=t.parentNode);return r||(o.innerHTML='
                '),n}function C(t){var n,r,i;if(3==D.nodeType&&(t?L>0:LD.childNodes.length-1,D=D.childNodes[Math.min(L,D.childNodes.length-1)]||D,L=U&&3==D.nodeType?D.nodeValue.length:0),B=S(D)){if(c.beforeChange(),!a.isBlock(B)&&B!=a.getRoot())return void((!V||P)&&E());if((V&&!P||!V&&P)&&(D=w(D,L)),M=a.getParent(D,a.isBlock),F=M?a.getParent(M.parentNode,a.isBlock):null,z=M?M.nodeName.toUpperCase():"",W=F?F.nodeName.toUpperCase():"","LI"!=W||o.ctrlKey||(M=F,z=W),/^(LI|DT|DD)$/.test(z)){if(!V&&P)return void E();if(a.isEmpty(M))return void _()}if("PRE"==z&&l.br_in_pre!==!1){if(!P)return void E()}else if(!V&&!P&&"LI"!=z||V&&P)return void E();V&&M===i.getBody()||(V=V||"P", +C()?T():C(!0)?(O=M.parentNode.insertBefore(x(),M),m(O),v(M)):(A=R.cloneRange(),A.setEndAfter(M),I=A.extractContents(),N(I),O=I.firstChild,a.insertAfter(I,M),g(O),k(M),a.isEmpty(M)&&b(M),a.isEmpty(O)?(a.remove(O),T()):v(O)),a.setAttrib(O,"id",""),i.fire("NewBlock",{newBlock:O}),c.add())}}}var a=i.dom,s=i.selection,l=i.settings,c=i.undoManager,u=i.schema,d=u.getNonEmptyElements(),f=u.getMoveCaretBeforeOnEnterElements();i.on("keydown",function(e){13==e.keyCode&&o(e)!==!1&&e.preventDefault()})}}),r(W,[],function(){return function(e){function t(){var t=i.getStart(),s=e.getBody(),l,c,u,d,f,h,p,m=-16777215,g,v,y,b,x;if(x=n.forced_root_block,t&&1===t.nodeType&&x){for(;t&&t!=s;){if(a[t.nodeName])return;t=t.parentNode}if(l=i.getRng(),l.setStart){c=l.startContainer,u=l.startOffset,d=l.endContainer,f=l.endOffset;try{v=e.getDoc().activeElement===s}catch(C){}}else l.item&&(t=l.item(0),l=e.getDoc().body.createTextRange(),l.moveToElementText(t)),v=l.parentElement().ownerDocument===e.getDoc(),y=l.duplicate(),y.collapse(!0),u=-1*y.move("character",m),y.collapsed||(y=l.duplicate(),y.collapse(!1),f=-1*y.move("character",m)-u);for(t=s.firstChild,b=s.nodeName.toLowerCase();t;)if((3===t.nodeType||1==t.nodeType&&!a[t.nodeName])&&o.isValidChild(b,x.toLowerCase())){if(3===t.nodeType&&0===t.nodeValue.length){p=t,t=t.nextSibling,r.remove(p);continue}h||(h=r.create(x,e.settings.forced_root_block_attrs),t.parentNode.insertBefore(h,t),g=!0),p=t,t=t.nextSibling,h.appendChild(p)}else h=null,t=t.nextSibling;if(g&&v){if(l.setStart)l.setStart(c,u),l.setEnd(d,f),i.setRng(l);else try{l=e.getDoc().body.createTextRange(),l.moveToElementText(s),l.collapse(!0),l.moveStart("character",u),f>0&&l.moveEnd("character",f),l.select()}catch(C){}e.nodeChanged()}}}var n=e.settings,r=e.dom,i=e.selection,o=e.schema,a=o.getBlockElements();n.forced_root_block&&e.on("NodeChange",t)}}),r(V,[R,u,f,P,w,m],function(e,n,r,i,o,a){var s=r.each,l=r.extend,c=r.map,u=r.inArray,d=r.explode,f=n.gecko,h=n.ie,p=n.ie&&n.ie<11,m=!0,g=!1;return function(r){function v(e,t,n,i){var o,a,l=0;if(/^(mceAddUndoLevel|mceEndUndoLevel|mceBeginUndoLevel|mceRepaint)$/.test(e)||i&&i.skip_focus||r.focus(),i=r.fire("BeforeExecCommand",{command:e,ui:t,value:n}),i.isDefaultPrevented())return!1;if(a=e.toLowerCase(),o=M.exec[a])return o(a,t,n),r.fire("ExecCommand",{command:e,ui:t,value:n}),!0;if(s(r.plugins,function(i){return i.execCommand&&i.execCommand(e,t,n)?(r.fire("ExecCommand",{command:e,ui:t,value:n}),l=!0,!1):void 0}),l)return l;if(r.theme&&r.theme.execCommand&&r.theme.execCommand(e,t,n))return r.fire("ExecCommand",{command:e,ui:t,value:n}),!0;try{l=r.getDoc().execCommand(e,t,n)}catch(c){}return l?(r.fire("ExecCommand",{command:e,ui:t,value:n}),!0):!1}function y(e){var t;if(!r._isHidden()){if(e=e.toLowerCase(),t=M.state[e])return t(e);try{return r.getDoc().queryCommandState(e)}catch(n){}return!1}}function b(e){var t;if(!r._isHidden()){if(e=e.toLowerCase(),t=M.value[e])return t(e);try{return r.getDoc().queryCommandValue(e)}catch(n){}}}function x(e,t){t=t||"exec",s(e,function(e,n){s(n.toLowerCase().split(","),function(n){M[t][n]=e})})}function C(e,t,n){e=e.toLowerCase(),M.exec[e]=function(e,i,o,a){return t.call(n||r,i,o,a)}}function w(e){if(e=e.toLowerCase(),M.exec[e])return!0;try{return r.getDoc().queryCommandSupported(e)}catch(t){}return!1}function _(e,t,n){e=e.toLowerCase(),M.state[e]=function(){return t.call(n||r)}}function E(e,t,n){e=e.toLowerCase(),M.value[e]=function(){return t.call(n||r)}}function N(e){return e=e.toLowerCase(),!!M.exec[e]}function S(e,n,i){return n===t&&(n=g),i===t&&(i=null),r.getDoc().execCommand(e,n,i)}function k(e){return L.match(e)}function T(e,n){L.toggle(e,n?{value:n}:t),r.nodeChanged()}function R(e){P=D.getBookmark(e)}function A(){D.moveToBookmark(P)}var B,D,L,M={state:{},exec:{},value:{}},H=r.settings,P;r.on("PreInit",function(){B=r.dom,D=r.selection,H=r.settings,L=r.formatter}),l(this,{execCommand:v,queryCommandState:y,queryCommandValue:b,queryCommandSupported:w,addCommands:x,addCommand:C,addQueryStateHandler:_,addQueryValueHandler:E,hasCustomCommand:N}),x({"mceResetDesignMode,mceBeginUndoLevel":function(){},"mceEndUndoLevel,mceAddUndoLevel":function(){r.undoManager.add()},"Cut,Copy,Paste":function(e){var t=r.getDoc(),i;try{S(e)}catch(o){i=m}if(i||!t.queryCommandSupported(e)){var a=r.translate("Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X/C/V keyboard shortcuts instead.");n.mac&&(a=a.replace(/Ctrl\+/g,"\u2318+")),r.windowManager.alert(a)}},unlink:function(){if(D.isCollapsed()){var e=D.getNode();return void("A"==e.tagName&&r.dom.remove(e,!0))}L.remove("link")},"JustifyLeft,JustifyCenter,JustifyRight,JustifyFull,JustifyNone":function(e){var t=e.substring(7);"full"==t&&(t="justify"),s("left,center,right,justify".split(","),function(e){t!=e&&L.remove("align"+e)}),"none"!=t&&(T("align"+t),v("mceRepaint"))},"InsertUnorderedList,InsertOrderedList":function(e){var t,n;S(e),t=B.getParent(D.getNode(),"ol,ul"),t&&(n=t.parentNode,/^(H[1-6]|P|ADDRESS|PRE)$/.test(n.nodeName)&&(R(),B.split(n,t),A()))},"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":function(e){T(e)},"ForeColor,HiliteColor,FontName":function(e,t,n){T(e,n)},FontSize:function(e,t,n){var r,i;n>=1&&7>=n&&(i=d(H.font_size_style_values),r=d(H.font_size_classes),n=r?r[n-1]||n:i[n-1]||n),T(e,n)},RemoveFormat:function(e){L.remove(e)},mceBlockQuote:function(){T("blockquote")},FormatBlock:function(e,t,n){return T(n||"p")},mceCleanup:function(){var e=D.getBookmark();r.setContent(r.getContent({cleanup:m}),{cleanup:m}),D.moveToBookmark(e)},mceRemoveNode:function(e,t,n){var i=n||D.getNode();i!=r.getBody()&&(R(),r.dom.remove(i,m),A())},mceSelectNodeDepth:function(e,t,n){var i=0;B.getParent(D.getNode(),function(e){return 1==e.nodeType&&i++==n?(D.select(e),g):void 0},r.getBody())},mceSelectNode:function(e,t,n){D.select(n)},mceInsertContent:function(t,n,o){function a(e){function t(e){return r[e]&&3==r[e].nodeType}var n,r,i;return n=D.getRng(!0),r=n.startContainer,i=n.startOffset,3==r.nodeType&&(i>0?e=e.replace(/^ /," "):t("previousSibling")||(e=e.replace(/^ /," ")),i|)$/," "):t("nextSibling")||(e=e.replace(/( | )(
                |)$/," "))),e}function l(){var e,t,n;e=D.getRng(!0),t=e.startContainer,n=e.startOffset,3==t.nodeType&&e.collapsed&&("\xa0"===t.data[n]?(t.deleteData(n,1),/[\u00a0| ]$/.test(o)||(o+=" ")):"\xa0"===t.data[n-1]&&(t.deleteData(n-1,1),/[\u00a0| ]$/.test(o)||(o=" "+o)))}function c(e){if(_)for(x=e.firstChild;x;x=x.walk(!0))N[x.name]&&x.attr("data-mce-new","true")}function u(){if(_){var e=r.getBody(),t=new i(B);s(B.select("*[data-mce-new]"),function(n){n.removeAttribute("data-mce-new");for(var r=n.parentNode;r&&r!=e;r=r.parentNode)t.compare(r,n)&&B.remove(n,!0)})}}var d,f,p,m,g,v,y,b,x,C,w,_,E,N=r.schema.getTextInlineElements();"string"!=typeof o&&(_=o.merge,E=o.data,o=o.content),/^ | $/.test(o)&&(o=a(o)),d=r.parser,f=new e({validate:H.validate},r.schema),w='​',v={content:o,format:"html",selection:!0},r.fire("BeforeSetContent",v),o=v.content,-1==o.indexOf("{$caret}")&&(o+="{$caret}"),o=o.replace(/\{\$caret\}/,w),b=D.getRng();var S=b.startContainer||(b.parentElement?b.parentElement():null),k=r.getBody();S===k&&D.isCollapsed()&&B.isBlock(k.firstChild)&&B.isEmpty(k.firstChild)&&(b=B.createRng(),b.setStart(k.firstChild,0),b.setEnd(k.firstChild,0),D.setRng(b)),D.isCollapsed()||(r.getDoc().execCommand("Delete",!1,null),l()),p=D.getNode();var T={context:p.nodeName.toLowerCase(),data:E};if(g=d.parse(o,T),c(g),x=g.lastChild,"mce_marker"==x.attr("id"))for(y=x,x=x.prev;x;x=x.walk(!0))if(3==x.type||!B.isBlock(x.name)){r.schema.isValidChild(x.parent.name,"span")&&x.parent.insert(y,x,"br"===x.name);break}if(T.invalid){for(D.setContent(w),p=D.getNode(),m=r.getBody(),9==p.nodeType?p=x=m:x=p;x!==m;)p=x,x=x.parentNode;o=p==m?m.innerHTML:B.getOuterHTML(p),o=f.serialize(d.parse(o.replace(//i,function(){return f.serialize(g)}))),p==m?B.setHTML(m,o):B.setOuterHTML(p,o)}else o=f.serialize(g),x=p.firstChild,C=p.lastChild,!x||x===C&&"BR"===x.nodeName?B.setHTML(p,o):D.setContent(o);u(),y=B.get("mce_marker"),D.scrollIntoView(y),b=B.createRng(),x=y.previousSibling,x&&3==x.nodeType?(b.setStart(x,x.nodeValue.length),h||(C=y.nextSibling,C&&3==C.nodeType&&(x.appendData(C.data),C.parentNode.removeChild(C)))):(b.setStartBefore(y),b.setEndBefore(y)),B.remove(y),D.setRng(b),r.fire("SetContent",v),r.addVisual()},mceInsertRawHTML:function(e,t,n){D.setContent("tiny_mce_marker"),r.setContent(r.getContent().replace(/tiny_mce_marker/g,function(){return n}))},mceToggleFormat:function(e,t,n){T(n)},mceSetContent:function(e,t,n){r.setContent(n)},"Indent,Outdent":function(e){var t,n,i;t=H.indentation,n=/[a-z%]+$/i.exec(t),t=parseInt(t,10),y("InsertUnorderedList")||y("InsertOrderedList")?S(e):(H.forced_root_block||B.getParent(D.getNode(),B.isBlock)||L.apply("div"),s(D.getSelectedBlocks(),function(o){if("LI"!=o.nodeName){var a=r.getParam("indent_use_margin",!1)?"margin":"padding";a+="rtl"==B.getStyle(o,"direction",!0)?"Right":"Left","outdent"==e?(i=Math.max(0,parseInt(o.style[a]||0,10)-t),B.setStyle(o,a,i?i+n:"")):(i=parseInt(o.style[a]||0,10)+t+n,B.setStyle(o,a,i))}}))},mceRepaint:function(){if(f)try{R(m),D.getSel()&&D.getSel().selectAllChildren(r.getBody()),D.collapse(m),A()}catch(e){}},InsertHorizontalRule:function(){r.execCommand("mceInsertContent",!1,"
                ")},mceToggleVisualAid:function(){r.hasVisual=!r.hasVisual,r.addVisual()},mceReplaceContent:function(e,t,n){r.execCommand("mceInsertContent",!1,n.replace(/\{\$selection\}/g,D.getContent({format:"text"})))},mceInsertLink:function(e,t,n){var r;"string"==typeof n&&(n={href:n}),r=B.getParent(D.getNode(),"a"),n.href=n.href.replace(" ","%20"),r&&n.href||L.remove("link"),n.href&&L.apply("link",n,r)},selectAll:function(){var e=B.getRoot(),t;D.getRng().setStart?(t=B.createRng(),t.setStart(e,0),t.setEnd(e,e.childNodes.length),D.setRng(t)):(t=D.getRng(),t.item||(t.moveToElementText(e),t.select()))},"delete":function(){S("Delete");var e=r.getBody();B.isEmpty(e)&&(r.setContent(""),e.firstChild&&B.isBlock(e.firstChild)?r.selection.setCursorLocation(e.firstChild,0):r.selection.setCursorLocation(e,0))},mceNewDocument:function(){r.setContent("")},InsertLineBreak:function(e,t,n){function i(){for(var e=new a(h,v),t,n=r.schema.getNonEmptyElements();t=e.next();)if(n[t.nodeName.toLowerCase()]||t.length>0)return!0}var s=n,l,c,u,d=D.getRng(!0);new o(B).normalize(d);var f=d.startOffset,h=d.startContainer;if(1==h.nodeType&&h.hasChildNodes()){var g=f>h.childNodes.length-1;h=h.childNodes[Math.min(f,h.childNodes.length-1)]||h,f=g&&3==h.nodeType?h.nodeValue.length:0}var v=B.getParent(h,B.isBlock),y=v?v.nodeName.toUpperCase():"",b=v?B.getParent(v.parentNode,B.isBlock):null,x=b?b.nodeName.toUpperCase():"",C=s&&s.ctrlKey;"LI"!=x||C||(v=b,y=x),h&&3==h.nodeType&&f>=h.nodeValue.length&&(p||i()||(l=B.create("br"),d.insertNode(l),d.setStartAfter(l),d.setEndAfter(l),c=!0)),l=B.create("br"),d.insertNode(l);var w=B.doc.documentMode;return p&&"PRE"==y&&(!w||8>w)&&l.parentNode.insertBefore(B.doc.createTextNode("\r"),l),u=B.create("span",{}," "),l.parentNode.insertBefore(u,l),D.scrollIntoView(u),B.remove(u),c?(d.setStartBefore(l),d.setEndBefore(l)):(d.setStartAfter(l),d.setEndAfter(l)),D.setRng(d),r.undoManager.add(),m}}),x({"JustifyLeft,JustifyCenter,JustifyRight,JustifyFull":function(e){var t="align"+e.substring(7),n=D.isCollapsed()?[B.getParent(D.getNode(),B.isBlock)]:D.getSelectedBlocks(),r=c(n,function(e){return!!L.matchNode(e,t)});return-1!==u(r,m)},"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":function(e){return k(e)},mceBlockQuote:function(){return k("blockquote")},Outdent:function(){var e;if(H.inline_styles){if((e=B.getParent(D.getStart(),B.isBlock))&&parseInt(e.style.paddingLeft,10)>0)return m;if((e=B.getParent(D.getEnd(),B.isBlock))&&parseInt(e.style.paddingLeft,10)>0)return m}return y("InsertUnorderedList")||y("InsertOrderedList")||!H.inline_styles&&!!B.getParent(D.getNode(),"BLOCKQUOTE")},"InsertUnorderedList,InsertOrderedList":function(e){var t=B.getParent(D.getNode(),"ul,ol");return t&&("insertunorderedlist"===e&&"UL"===t.tagName||"insertorderedlist"===e&&"OL"===t.tagName)}},"state"),x({"FontSize,FontName":function(e){var t=0,n;return(n=B.getParent(D.getNode(),"span"))&&(t="fontsize"==e?n.style.fontSize:n.style.fontFamily.replace(/, /g,",").replace(/[\'\"]/g,"").toLowerCase()),t}},"value"),x({Undo:function(){r.undoManager.undo()},Redo:function(){r.undoManager.redo()}})}}),r(U,[f],function(e){function t(e,o){var a=this,s,l;if(e=r(e),o=a.settings=o||{},s=o.base_uri,/^([\w\-]+):([^\/]{2})/i.test(e)||/^\s*#/.test(e))return void(a.source=e);var c=0===e.indexOf("//");0!==e.indexOf("/")||c||(e=(s?s.protocol||"http":"http")+"://mce_host"+e),/^[\w\-]*:?\/\//.test(e)||(l=o.base_uri?o.base_uri.path:new t(location.href).directory,""===o.base_uri.protocol?e="//mce_host"+a.toAbsPath(l,e):(e=/([^#?]*)([#?]?.*)/.exec(e),e=(s&&s.protocol||"http")+"://mce_host"+a.toAbsPath(l,e[1])+e[2])),e=e.replace(/@@/g,"(mce_at)"),e=/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@\/]*):?([^:@\/]*))?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/.exec(e),n(i,function(t,n){var r=e[n];r&&(r=r.replace(/\(mce_at\)/g,"@@")),a[t]=r}),s&&(a.protocol||(a.protocol=s.protocol),a.userInfo||(a.userInfo=s.userInfo),a.port||"mce_host"!==a.host||(a.port=s.port),a.host&&"mce_host"!==a.host||(a.host=s.host),a.source=""),c&&(a.protocol="")}var n=e.each,r=e.trim,i="source protocol authority userInfo user password host port relative path directory file query anchor".split(" "),o={ftp:21,http:80,https:443,mailto:25};return t.prototype={setPath:function(e){var t=this;e=/^(.*?)\/?(\w+)?$/.exec(e),t.path=e[0],t.directory=e[1],t.file=e[2],t.source="",t.getURI()},toRelative:function(e){var n=this,r;if("./"===e)return e;if(e=new t(e,{base_uri:n}),"mce_host"!=e.host&&n.host!=e.host&&e.host||n.port!=e.port||n.protocol!=e.protocol&&""!==e.protocol)return e.getURI();var i=n.getURI(),o=e.getURI();return i==o||"/"==i.charAt(i.length-1)&&i.substr(0,i.length-1)==o?i:(r=n.toRelPath(n.path,e.path),e.query&&(r+="?"+e.query),e.anchor&&(r+="#"+e.anchor),r)},toAbsolute:function(e,n){return e=new t(e,{base_uri:this}),e.getURI(n&&this.isSameOrigin(e))},isSameOrigin:function(e){if(this.host==e.host&&this.protocol==e.protocol){if(this.port==e.port)return!0;var t=o[this.protocol];if(t&&(this.port||t)==(e.port||t))return!0}return!1},toRelPath:function(e,t){var n,r=0,i="",o,a;if(e=e.substring(0,e.lastIndexOf("/")),e=e.split("/"),n=t.split("/"),e.length>=n.length)for(o=0,a=e.length;a>o;o++)if(o>=n.length||e[o]!=n[o]){r=o+1;break}if(e.lengtho;o++)if(o>=e.length||e[o]!=n[o]){r=o+1;break}if(1===r)return t;for(o=0,a=e.length-(r-1);a>o;o++)i+="../";for(o=r-1,a=n.length;a>o;o++)i+=o!=r-1?"/"+n[o]:n[o];return i},toAbsPath:function(e,t){var r,i=0,o=[],a,s;for(a=/\/$/.test(t)?"/":"",e=e.split("/"),t=t.split("/"),n(e,function(e){e&&o.push(e)}),e=o,r=t.length-1,o=[];r>=0;r--)0!==t[r].length&&"."!==t[r]&&(".."!==t[r]?i>0?i--:o.push(t[r]):i++);return r=e.length-i,s=0>=r?o.reverse().join("/"):e.slice(0,r).join("/")+"/"+o.reverse().join("/"),0!==s.indexOf("/")&&(s="/"+s),a&&s.lastIndexOf("/")!==s.length-1&&(s+=a),s},getURI:function(e){var t,n=this;return(!n.source||e)&&(t="",e||(t+=n.protocol?n.protocol+"://":"//",n.userInfo&&(t+=n.userInfo+"@"),n.host&&(t+=n.host),n.port&&(t+=":"+n.port)),n.path&&(t+=n.path),n.query&&(t+="?"+n.query),n.anchor&&(t+="#"+n.anchor),n.source=t),n.source}},t.parseDataUri=function(e){var t,n;return e=decodeURIComponent(e).split(","),n=/data:([^;]+)/.exec(e[0]),n&&(t=n[1]),{type:t,data:e[1]}},t}),r($,[f],function(e){function t(){}var n=e.each,r=e.extend,i,o;return t.extend=i=function(e){function t(){var e,t,n,r=this;if(!o&&(r.init&&r.init.apply(r,arguments),t=r.Mixins))for(e=t.length;e--;)n=t[e],n.init&&n.init.apply(r,arguments)}function a(){return this}function s(e,t){return function(){var n=this,r=n._super,i;return n._super=c[e],i=t.apply(n,arguments),n._super=r,i}}var l=this,c=l.prototype,u,d,f;o=!0,u=new l,o=!1,e.Mixins&&(n(e.Mixins,function(t){t=t;for(var n in t)"init"!==n&&(e[n]=t[n])}),c.Mixins&&(e.Mixins=c.Mixins.concat(e.Mixins))),e.Methods&&n(e.Methods.split(","),function(t){e[t]=a}),e.Properties&&n(e.Properties.split(","),function(t){var n="_"+t;e[t]=function(e){var t=this,r;return e!==r?(t[n]=e,t):t[n]}}),e.Statics&&n(e.Statics,function(e,n){t[n]=e}),e.Defaults&&c.Defaults&&(e.Defaults=r({},c.Defaults,e.Defaults));for(d in e)f=e[d],"function"==typeof f&&c[d]?u[d]=s(d,f):u[d]=f;return t.prototype=u,t.constructor=t,t.extend=i,t},t}),r(q,[f],function(e){function t(t){function n(){return!1}function r(){return!0}function i(e,i){var o,s,l,c;if(e=e.toLowerCase(),i=i||{},i.type=e,i.target||(i.target=u),i.preventDefault||(i.preventDefault=function(){i.isDefaultPrevented=r},i.stopPropagation=function(){i.isPropagationStopped=r},i.stopImmediatePropagation=function(){i.isImmediatePropagationStopped=r},i.isDefaultPrevented=n,i.isPropagationStopped=n,i.isImmediatePropagationStopped=n),t.beforeFire&&t.beforeFire(i),o=d[e])for(s=0,l=o.length;l>s;s++){if(c=o[s],c.once&&a(e,c.func),i.isImmediatePropagationStopped())return i.stopPropagation(),i;if(c.func.call(u,i)===!1)return i.preventDefault(),i}return i}function o(t,r,i,o){var a,s,l;if(r===!1&&(r=n),r)for(r={func:r},o&&e.extend(r,o),s=t.toLowerCase().split(" "),l=s.length;l--;)t=s[l],a=d[t],a||(a=d[t]=[],f(t,!0)),i?a.unshift(r):a.push(r);return c}function a(e,t){var n,r,i,o,a;if(e)for(o=e.toLowerCase().split(" "),n=o.length;n--;){if(e=o[n],r=d[e],!e){for(i in d)f(i,!1),delete d[i];return c}if(r){if(t)for(a=r.length;a--;)r[a].func===t&&(r=r.slice(0,a).concat(r.slice(a+1)),d[e]=r);else r.length=0;r.length||(f(e,!1),delete d[e])}}else{for(e in d)f(e,!1);d={}}return c}function s(e,t,n){return o(e,t,n,{once:!0})}function l(e){return e=e.toLowerCase(),!(!d[e]||0===d[e].length)}var c=this,u,d={},f;t=t||{},u=t.scope||c,f=t.toggleEvent||n,c.fire=i,c.on=o,c.off=a,c.once=s,c.has=l}var n=e.makeMap("focus blur focusin focusout click dblclick mousedown mouseup mousemove mouseover beforepaste paste cut copy selectionchange mouseout mouseenter mouseleave wheel keydown keypress keyup input contextmenu dragstart dragend dragover draggesture dragdrop drop drag submit compositionstart compositionend compositionupdate touchstart touchend"," ");return t.isNative=function(e){return!!n[e.toLowerCase()]},t}),r(j,[],function(){function e(e){this.create=e.create}return e.create=function(t,n){return new e({create:function(e,r){function i(t){e.set(r,t.value)}function o(e){t.set(n,e.value)}var a;return e.on("change:"+r,o),t.on("change:"+n,i),a=e._bindings,a||(a=e._bindings=[],e.on("destroy",function(){for(var e=a.length;e--;)a[e]()})),a.push(function(){t.off("change:"+n,i)}),t.get(n)}})},e}),r(K,[q],function(e){function t(t){return t._eventDispatcher||(t._eventDispatcher=new e({scope:t,toggleEvent:function(n,r){e.isNative(n)&&t.toggleNativeEvent&&t.toggleNativeEvent(n,r)}})),t._eventDispatcher}return{fire:function(e,n,r){var i=this;if(i.removed&&"remove"!==e)return n;if(n=t(i).fire(e,n,r),r!==!1&&i.parent)for(var o=i.parent();o&&!n.isPropagationStopped();)o.fire(e,n,!1),o=o.parent();return n},on:function(e,n,r){return t(this).on(e,n,r)},off:function(e,n){return t(this).off(e,n)},once:function(e,n){return t(this).once(e,n)},hasEventListeners:function(e){return t(this).has(e)}}}),r(Y,[j,K,$,f],function(e,t,n,r){function i(e){return e.nodeType>0}function o(e,t){var n,a;if(e===t)return!0;if(null===e||null===t)return e===t;if("object"!=typeof e||"object"!=typeof t)return e===t;if(r.isArray(t)){if(e.length!==t.length)return!1;for(n=e.length;n--;)if(!o(e[n],t[n]))return!1}if(i(e)||i(t))return e===t;a={};for(n in t){if(!o(e[n],t[n]))return!1;a[n]=!0}for(n in e)if(!a[n]&&!o(e[n],t[n]))return!1;return!0}return n.extend({Mixins:[t],init:function(t){var n,r;t=t||{};for(n in t)r=t[n],r instanceof e&&(t[n]=r.create(this,n));this.data=t},set:function(t,n){var r,i,a=this.data[t];if(n instanceof e&&(n=n.create(this,t)),"object"==typeof t){for(r in t)this.set(r,t[r]);return this}return o(a,n)||(this.data[t]=n,i={target:this,name:t,value:n,oldValue:a},this.fire("change:"+t,i),this.fire("change",i)),this},get:function(e){return this.data[e]},has:function(e){return e in this.data},bind:function(t){return e.create(this,t)},destroy:function(){this.fire("destroy")}})}),r(G,[$],function(e){function t(e){for(var t=[],n=e.length,r;n--;)r=e[n],r.__checked||(t.push(r),r.__checked=1);for(n=t.length;n--;)delete t[n].__checked;return t}var n=/^([\w\\*]+)?(?:#([\w\\]+))?(?:\.([\w\\\.]+))?(?:\[\@?([\w\\]+)([\^\$\*!~]?=)([\w\\]+)\])?(?:\:(.+))?/i,r=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,i=/^\s*|\s*$/g,o,a=e.extend({init:function(e){function t(e){return e?(e=e.toLowerCase(),function(t){return"*"===e||t.type===e}):void 0}function o(e){return e?function(t){return t._name===e}:void 0}function a(e){return e?(e=e.split("."),function(t){for(var n=e.length;n--;)if(!t.classes.contains(e[n]))return!1;return!0}):void 0}function s(e,t,n){return e?function(r){var i=r[e]?r[e]():"";return t?"="===t?i===n:"*="===t?i.indexOf(n)>=0:"~="===t?(" "+i+" ").indexOf(" "+n+" ")>=0:"!="===t?i!=n:"^="===t?0===i.indexOf(n):"$="===t?i.substr(i.length-n.length)===n:!1:!!n}:void 0}function l(e){var t;return e?(e=/(?:not\((.+)\))|(.+)/i.exec(e),e[1]?(t=u(e[1],[]),function(e){return!d(e,t)}):(e=e[2],function(t,n,r){return"first"===e?0===n:"last"===e?n===r-1:"even"===e?n%2===0:"odd"===e?n%2===1:t[e]?t[e]():!1})):void 0}function c(e,r,c){function u(e){e&&r.push(e)}var d;return d=n.exec(e.replace(i,"")),u(t(d[1])),u(o(d[2])),u(a(d[3])),u(s(d[4],d[5],d[6])),u(l(d[7])),r.pseudo=!!d[7],r.direct=c,r}function u(e,t){var n=[],i,o,a;do if(r.exec(""),o=r.exec(e),o&&(e=o[3],n.push(o[1]),o[2])){i=o[3];break}while(o);for(i&&u(i,t),e=[],a=0;a"!=n[a]&&e.push(c(n[a],[],">"===n[a-1]));return t.push(e),t}var d=this.match;this._selectors=u(e,[])},match:function(e,t){var n,r,i,o,a,s,l,c,u,d,f,h,p;for(t=t||this._selectors,n=0,r=t.length;r>n;n++){for(a=t[n],o=a.length,p=e,h=0,i=o-1;i>=0;i--)for(c=a[i];p;){if(c.pseudo)for(f=p.parent().items(),u=d=f.length;u--&&f[u]!==p;);for(s=0,l=c.length;l>s;s++)if(!c[s](p,u,d)){s=l+1;break}if(s===l){h++;break}if(i===o-1)break;p=p.parent()}if(h===o)return!0}return!1},find:function(e){function n(e,t,i){var o,a,s,l,c,u=t[i];for(o=0,a=e.length;a>o;o++){for(c=e[o],s=0,l=u.length;l>s;s++)if(!u[s](c,o,a)){s=l+1;break}if(s===l)i==t.length-1?r.push(c):c.items&&n(c.items(),t,i+1);else if(u.direct)return;c.items&&n(c.items(),t,i)}}var r=[],i,s,l=this._selectors;if(e.items){for(i=0,s=l.length;s>i;i++)n(e.items(),l[i],0);s>1&&(r=t(r))}return o||(o=a.Collection),new o(r)}});return a}),r(X,[f,G,$],function(e,t,n){var r,i,o=Array.prototype.push,a=Array.prototype.slice;return i={length:0,init:function(e){e&&this.add(e)},add:function(t){var n=this;return e.isArray(t)?o.apply(n,t):t instanceof r?n.add(t.toArray()):o.call(n,t),n},set:function(e){var t=this,n=t.length,r;for(t.length=0,t.add(e),r=t.length;n>r;r++)delete t[r];return t},filter:function(e){var n=this,i,o,a=[],s,l;for("string"==typeof e?(e=new t(e),l=function(t){return e.match(t)}):l=e,i=0,o=n.length;o>i;i++)s=n[i],l(s)&&a.push(s);return new r(a)},slice:function(){return new r(a.apply(this,arguments))},eq:function(e){return-1===e?this.slice(e):this.slice(e,+e+1)},each:function(t){return e.each(this,t),this},toArray:function(){return e.toArray(this)},indexOf:function(e){for(var t=this,n=t.length;n--&&t[n]!==e;);return n},reverse:function(){return new r(e.toArray(this).reverse())},hasClass:function(e){return this[0]?this[0].classes.contains(e):!1},prop:function(e,t){var n=this,r,i;return t!==r?(n.each(function(n){n[e]&&n[e](t)}),n):(i=n[0],i&&i[e]?i[e]():void 0)},exec:function(t){var n=this,r=e.toArray(arguments).slice(1);return n.each(function(e){e[t]&&e[t].apply(e,r)}),n},remove:function(){for(var e=this.length;e--;)this[e].remove();return this},addClass:function(e){return this.each(function(t){t.classes.add(e)})},removeClass:function(e){return this.each(function(t){t.classes.remove(e)})}},e.each("fire on off show hide append prepend before after reflow".split(" "),function(t){i[t]=function(){var n=e.toArray(arguments);return this.each(function(e){t in e&&e[t].apply(e,n)}),this}}),e.each("text name disabled active selected checked visible parent value data".split(" "),function(e){i[e]=function(t){return this.prop(e,t)}}),r=n.extend(i),t.Collection=r,r}),r(J,[f,b],function(e,t){var n=0;return{id:function(){return"mceu_"+n++},createFragment:function(e){return t.DOM.createFragment(e)},getWindowSize:function(){return t.DOM.getViewPort()},getSize:function(e){var t,n;if(e.getBoundingClientRect){var r=e.getBoundingClientRect();t=Math.max(r.width||r.right-r.left,e.offsetWidth),n=Math.max(r.height||r.bottom-r.bottom,e.offsetHeight)}else t=e.offsetWidth,n=e.offsetHeight;return{width:t,height:n}},getPos:function(e,n){return t.DOM.getPos(e,n)},getViewPort:function(e){return t.DOM.getViewPort(e)},get:function(e){return document.getElementById(e)},addClass:function(e,n){return t.DOM.addClass(e,n)},removeClass:function(e,n){return t.DOM.removeClass(e,n)},hasClass:function(e,n){return t.DOM.hasClass(e,n)},toggleClass:function(e,n,r){return t.DOM.toggleClass(e,n,r)},css:function(e,n,r){return t.DOM.setStyle(e,n,r)},getRuntimeStyle:function(e,n){return t.DOM.getStyle(e,n,!0)},on:function(e,n,r,i){return t.DOM.bind(e,n,r,i)},off:function(e,n,r){return t.DOM.unbind(e,n,r)},fire:function(e,n,r){return t.DOM.fire(e,n,r)},innerHtml:function(e,n){t.DOM.setHTML(e,n)}}}),r(Q,[],function(){return{parseBox:function(e){var t,n=10;if(e)return"number"==typeof e?(e=e||0,{top:e,left:e,bottom:e,right:e}):(e=e.split(" "),t=e.length,1===t?e[1]=e[2]=e[3]=e[0]:2===t?(e[2]=e[0],e[3]=e[1]):3===t&&(e[3]=e[1]),{top:parseInt(e[0],n)||0,right:parseInt(e[1],n)||0,bottom:parseInt(e[2],n)||0,left:parseInt(e[3],n)||0})},measureBox:function(e,t){function n(t){var n=document.defaultView;return n?(t=t.replace(/[A-Z]/g,function(e){return"-"+e}),n.getComputedStyle(e,null).getPropertyValue(t)):e.currentStyle[t]}function r(e){var t=parseFloat(n(e),10);return isNaN(t)?0:t}return{top:r(t+"TopWidth"),right:r(t+"RightWidth"),bottom:r(t+"BottomWidth"),left:r(t+"LeftWidth")}}}}),r(Z,[f],function(e){function t(){}function n(e){this.cls=[],this.cls._map={},this.onchange=e||t,this.prefix=""}return e.extend(n.prototype,{add:function(e){return e&&!this.contains(e)&&(this.cls._map[e]=!0,this.cls.push(e),this._change()),this},remove:function(e){if(this.contains(e)){for(var t=0;t0&&(e+=" "),e+=this.prefix+this.cls[t];return e},n}),r(ee,[],function(){function e(e,t){function n(e){window.setTimeout(e,0)}var r,i=window.requestAnimationFrame,o=["ms","moz","webkit"];for(r=0;r=i;o--)r=s[o],r.fire("mouseleave",{target:r.getEl()})}for(o=i;oo;o++)c=l[o]._eventsRoot;for(c||(c=l[l.length-1]||e),e._eventsRoot=c,s=o,o=0;s>o;o++)l[o]._eventsRoot=c;var p=c._delegates;p||(p=c._delegates={});for(d in u){if(!u)return!1;"wheel"!==d||h?("mouseenter"===d||"mouseleave"===d?c._hasMouseEnter||(a(c.getEl()).on("mouseleave",n).on("mouseover",r),c._hasMouseEnter=1):p[d]||(a(c.getEl()).on(d,t),p[d]=!0),u[d]=!1):f?a(e.getEl()).on("mousewheel",i):a(e.getEl()).on("DOMMouseScroll",i)}}}var f="onmousewheel"in document,h=!1,p="mce-",m,g=0,v={Statics:{classPrefix:p},isRtl:function(){return m.rtl},classPrefix:p,init:function(e){function n(e){var t;for(e=e.split(" "),t=0;tn.maxW?n.maxW:i,n.w=i,n.innerW=i-o),i=e.h,i!==s&&(i=in.maxH?n.maxH:i,n.h=i,n.innerH=i-a),i=e.innerW,i!==s&&(i=in.maxW-o?n.maxW-o:i,n.innerW=i,n.w=i+o),i=e.innerH,i!==s&&(i=in.maxH-a?n.maxH-a:i,n.innerH=i,n.h=i+a),e.contentW!==s&&(n.contentW=e.contentW),e.contentH!==s&&(n.contentH=e.contentH),r=t._lastLayoutRect,(r.x!==n.x||r.y!==n.y||r.w!==n.w||r.h!==n.h)&&(l=m.repaintControls, +l&&l.map&&!l.map[t._id]&&(l.push(t),l.map[t._id]=!0),r.x=n.x,r.y=n.y,r.w=n.w,r.h=n.h),t):n},repaint:function(){var e=this,t,n,r,i,o,a,s,l,c,u;c=document.createRange?function(e){return e}:Math.round,t=e.getEl().style,i=e._layoutRect,l=e._lastRepaintRect||{},o=e.borderBox,a=o.left+o.right,s=o.top+o.bottom,i.x!==l.x&&(t.left=c(i.x)+"px",l.x=i.x),i.y!==l.y&&(t.top=c(i.y)+"px",l.y=i.y),i.w!==l.w&&(u=c(i.w-a),t.width=(u>=0?u:0)+"px",l.w=i.w),i.h!==l.h&&(u=c(i.h-s),t.height=(u>=0?u:0)+"px",l.h=i.h),e._hasBody&&i.innerW!==l.innerW&&(u=c(i.innerW),r=e.getEl("body"),r&&(n=r.style,n.width=(u>=0?u:0)+"px"),l.innerW=i.innerW),e._hasBody&&i.innerH!==l.innerH&&(u=c(i.innerH),r=r||e.getEl("body"),r&&(n=n||r.style,n.height=(u>=0?u:0)+"px"),l.innerH=i.innerH),e._lastRepaintRect=l,e.fire("repaint",{},!1)},on:function(e,t){function n(e){var t,n;return"string"!=typeof e?e:function(i){return t||r.parentsAndSelf().each(function(r){var i=r.settings.callbacks;return i&&(t=i[e])?(n=r,!1):void 0}),t?t.call(n,i):(i.action=e,void this.fire("execute",i))}}var r=this;return u(r).on(e,n(t)),r},off:function(e,t){return u(this).off(e,t),this},fire:function(e,t,n){var r=this;if(t=t||{},t.control||(t.control=r),t=u(r).fire(e,t),n!==!1&&r.parent)for(var i=r.parent();i&&!t.isPropagationStopped();)i.fire(e,t,!1),i=i.parent();return t},hasEventListeners:function(e){return u(this).has(e)},parents:function(e){var t=this,n,r=new i;for(n=t.parent();n;n=n.parent())r.add(n);return e&&(r=r.filter(e)),r},parentsAndSelf:function(e){return new i(this).add(this.parents(e))},next:function(){var e=this.parent().items();return e[e.indexOf(this)+1]},prev:function(){var e=this.parent().items();return e[e.indexOf(this)-1]},innerHtml:function(e){return this.$el.html(e),this},getEl:function(e){var t=e?this._id+"-"+e:this._id;return this._elmCache[t]||(this._elmCache[t]=a("#"+t)[0]),this._elmCache[t]},show:function(){return this.visible(!0)},hide:function(){return this.visible(!1)},focus:function(){try{this.getEl().focus()}catch(e){}return this},blur:function(){return this.getEl().blur(),this},aria:function(e,t){var n=this,r=n.getEl(n.ariaTarget);return"undefined"==typeof t?n._aria[e]:(n._aria[e]=t,n.state.get("rendered")&&r.setAttribute("role"==e?e:"aria-"+e,t),n)},encode:function(e,t){return t!==!1&&(e=this.translate(e)),(e||"").replace(/[&<>"]/g,function(e){return"&#"+e.charCodeAt(0)+";"})},translate:function(e){return m.translate?m.translate(e):e},before:function(e){var t=this,n=t.parent();return n&&n.insert(e,n.items().indexOf(t),!0),t},after:function(e){var t=this,n=t.parent();return n&&n.insert(e,n.items().indexOf(t)),t},remove:function(){var e=this,t=e.getEl(),n=e.parent(),r,i;if(e.items){var o=e.items().toArray();for(i=o.length;i--;)o[i].remove()}n&&n.items&&(r=[],n.items().each(function(t){t!==e&&r.push(t)}),n.items().set(r),n._lastRect=null),e._eventsRoot&&e._eventsRoot==e&&a(t).off();var s=e.getRoot().controlIdLookup;return s&&delete s[e._id],t&&t.parentNode&&t.parentNode.removeChild(t),e.state.set("rendered",!1),e.state.destroy(),e.fire("remove"),e},renderBefore:function(e){return a(e).before(this.renderHtml()),this.postRender(),this},renderTo:function(e){return a(e||this.getContainerElm()).append(this.renderHtml()),this.postRender(),this},preRender:function(){},render:function(){},renderHtml:function(){return'
                '},postRender:function(){var e=this,t=e.settings,n,r,i,o,s;e.$el=a(e.getEl()),e.state.set("rendered",!0);for(o in t)0===o.indexOf("on")&&e.on(o.substr(2),t[o]);if(e._eventsRoot){for(i=e.parent();!s&&i;i=i.parent())s=i._eventsRoot;if(s)for(o in s._nativeEvents)e._nativeEvents[o]=!0}d(e),t.style&&(n=e.getEl(),n&&(n.setAttribute("style",t.style),n.style.cssText=t.style)),e.settings.border&&(r=e.borderBox,e.$el.css({"border-top-width":r.top,"border-right-width":r.right,"border-bottom-width":r.bottom,"border-left-width":r.left}));var l=e.getRoot();l.controlIdLookup||(l.controlIdLookup={}),l.controlIdLookup[e._id]=e;for(var u in e._aria)e.aria(u,e._aria[u]);e.state.get("visible")===!1&&(e.getEl().style.display="none"),e.bindStates(),e.state.on("change:visible",function(t){var n=t.value,r;e.state.get("rendered")&&(e.getEl().style.display=n===!1?"none":"",e.getEl().getBoundingClientRect()),r=e.parent(),r&&(r._lastRect=null),e.fire(n?"show":"hide"),c.add(e)}),e.fire("postrender",{},!1)},bindStates:function(){},scrollIntoView:function(e){function t(e,t){var n,r,i=e;for(n=r=0;i&&i!=t&&i.nodeType;)n+=i.offsetLeft||0,r+=i.offsetTop||0,i=i.offsetParent;return{x:n,y:r}}var n=this.getEl(),r=n.parentNode,i,o,a,s,l,c,u=t(n,r);return i=u.x,o=u.y,a=n.offsetWidth,s=n.offsetHeight,l=r.clientWidth,c=r.clientHeight,"end"==e?(i-=l-a,o-=c-s):"center"==e&&(i-=l/2-a/2,o-=c/2-s/2),r.scrollLeft=i,r.scrollTop=o,this},getRoot:function(){for(var e=this,t,n=[];e;){if(e.rootControl){t=e.rootControl;break}n.push(e),t=e,e=e.parent()}t||(t=this);for(var r=n.length;r--;)n[r].rootControl=t;return t},reflow:function(){c.remove(this);var e=this.parent();return e._layout&&!e._layout.isNative()&&e.reflow(),this}};return t.each("text title visible disabled active value".split(" "),function(e){v[e]=function(t){return 0===arguments.length?this.state.get(e):("undefined"!=typeof t&&this.state.set(e,t),this)}}),m=e.extend(v)}),r(ne,[],function(){var e={},t;return{add:function(t,n){e[t.toLowerCase()]=n},has:function(t){return!!e[t.toLowerCase()]},create:function(n,r){var i,o,a;if(!t){a=tinymce.ui;for(o in a)e[o.toLowerCase()]=a[o];t=!0}if("string"==typeof n?(r=r||{},r.type=n):(r=n,n=r.type),n=n.toLowerCase(),i=e[n],!i)throw new Error("Could not find control by type: "+n);return i=new i(r),i.type=n,i}}}),r(re,[],function(){return function(e){function t(e){return e&&1===e.nodeType}function n(e){return e=e||x,t(e)?e.getAttribute("role"):null}function r(e){for(var t,r=e||x;r=r.parentNode;)if(t=n(r))return t}function i(e){var n=x;return t(n)?n.getAttribute("aria-"+e):void 0}function o(e){var t=e.tagName.toUpperCase();return"INPUT"==t||"TEXTAREA"==t}function a(e){return o(e)&&!e.hidden?!0:/^(button|menuitem|checkbox|tab|menuitemcheckbox|option|gridcell)$/.test(n(e))?!0:!1}function s(e){function t(e){if(1==e.nodeType&&"none"!=e.style.display){a(e)&&n.push(e);for(var r=0;re?e=t.length-1:e>=t.length&&(e=0),t[e]&&t[e].focus(),e}function d(e,t){var n=-1,r=l();t=t||s(r.getEl());for(var i=0;i=0&&(n=t.getEl(),n&&n.parentNode.removeChild(n),n=e.getEl(),n&&n.parentNode.removeChild(n)),t.parent(this)},create:function(t){var n=this,i,a=[];return o.isArray(t)||(t=[t]),o.each(t,function(t){t&&(t instanceof e||("string"==typeof t&&(t={type:t}),i=o.extend({},n.settings.defaults,t),t.type=i.type=i.type||t.type||n.settings.defaultType||(i.defaults?i.defaults.type:null),t=r.create(i)),a.push(t))}),a},renderNew:function(){var e=this;return e.items().each(function(t,n){var r;t.parent(e),t.state.get("rendered")||(r=e.getEl("body"),r.hasChildNodes()&&n<=r.childNodes.length-1?a(r.childNodes[n]).before(t.renderHtml()):a(r).append(t.renderHtml()),t.postRender(),l.add(t))}),e._layout.applyClasses(e.items().filter(":visible")),e._lastRect=null,e},append:function(e){return this.add(e).renderNew()},prepend:function(e){var t=this;return t.items().set(t.create(e).concat(t.items().toArray())),t.renderNew()},insert:function(e,t,n){var r=this,i,o,a;return e=r.create(e),i=r.items(),!n&&t=0&&t
                '+(e.settings.html||"")+t.renderHtml(e)+"
                "},postRender:function(){var e=this,t;return e.items().exec("postRender"),e._super(),e._layout.postRender(e),e.state.set("rendered",!0),e.settings.style&&e.$el.css(e.settings.style),e.settings.border&&(t=e.borderBox,e.$el.css({"border-top-width":t.top,"border-right-width":t.right,"border-bottom-width":t.bottom,"border-left-width":t.left})),e.parent()||(e.keyboardNav=new i({root:e})),e},initLayoutRect:function(){var e=this,t=e._super();return e._layout.recalc(e),t},recalc:function(){var e=this,t=e._layoutRect,n=e._lastRect;return n&&n.w==t.w&&n.h==t.h?void 0:(e._layout.recalc(e),t=e.layoutRect(),e._lastRect={x:t.x,y:t.y,w:t.w,h:t.h},!0)},reflow:function(){var t;if(l.remove(this),this.visible()){for(e.repaintControls=[],e.repaintControls.map={},this.recalc(),t=e.repaintControls.length;t--;)e.repaintControls[t].repaint();"flow"!==this.settings.layout&&"stack"!==this.settings.layout&&this.repaint(),e.repaintControls=[]}return this}})}),r(oe,[h],function(e){function t(e){var t,n,r,i,o,a,s,l,c=Math.max;return t=e.documentElement,n=e.body,r=c(t.scrollWidth,n.scrollWidth),i=c(t.clientWidth,n.clientWidth),o=c(t.offsetWidth,n.offsetWidth),a=c(t.scrollHeight,n.scrollHeight),s=c(t.clientHeight,n.clientHeight),l=c(t.offsetHeight,n.offsetHeight),{width:o>r?i:r,height:l>a?s:a}}function n(e){var t,n;if(e.changedTouches)for(t="screenX screenY pageX pageY clientX clientY".split(" "),n=0;n").css({position:"absolute",top:0,left:0,width:c.width,height:c.height,zIndex:2147483647,opacity:1e-4,cursor:m}).appendTo(s.body),e(s).on("mousemove touchmove",d).on("mouseup touchend",u),i.start(r)},d=function(e){return n(e),e.button!==l?u(e):(e.deltaX=e.screenX-f,e.deltaY=e.screenY-h,e.preventDefault(),void i.drag(e))},u=function(t){n(t),e(s).off("mousemove touchmove",d).off("mouseup touchend",u),a.remove(),i.stop&&i.stop(t)},this.destroy=function(){e(o()).off()},e(o()).on("mousedown touchstart",c)}}),r(ae,[h,oe],function(e,t){return{init:function(){var e=this;e.on("repaint",e.renderScroll)},renderScroll:function(){function n(){function t(t,a,s,l,c,u){var d,f,h,p,m,g,v,y,b;if(f=i.getEl("scroll"+t)){if(y=a.toLowerCase(),b=s.toLowerCase(),e(i.getEl("absend")).css(y,i.layoutRect()[l]-1),!c)return void e(f).css("display","none");e(f).css("display","block"),d=i.getEl("body"),h=i.getEl("scroll"+t+"t"),p=d["client"+s]-2*o,p-=n&&r?f["client"+u]:0,m=d["scroll"+s],g=p/m,v={},v[y]=d["offset"+a]+o,v[b]=p,e(f).css(v),v={},v[y]=d["scroll"+a]*g,v[b]=p*g,e(h).css(v)}}var n,r,a;a=i.getEl("body"),n=a.scrollWidth>a.clientWidth,r=a.scrollHeight>a.clientHeight,t("h","Left","Width","contentW",n,"Height"),t("v","Top","Height","contentH",r,"Width")}function r(){function n(n,r,a,s,l){var c,u=i._id+"-scroll"+n,d=i.classPrefix;e(i.getEl()).append('
                '),i.draghelper=new t(u+"t",{start:function(){c=i.getEl("body")["scroll"+r],e("#"+u).addClass(d+"active")},drag:function(e){var t,u,d,f,h=i.layoutRect();u=h.contentW>h.innerW,d=h.contentH>h.innerH,f=i.getEl("body")["client"+a]-2*o,f-=u&&d?i.getEl("scroll"+n)["client"+l]:0,t=f/i.getEl("body")["scroll"+a],i.getEl("body")["scroll"+r]=c+e["delta"+s]/t},stop:function(){e("#"+u).removeClass(d+"active")}})}i.classes.add("scroll"),n("v","Top","Height","Y","Width"),n("h","Left","Width","X","Height")}var i=this,o=2;i.settings.autoScroll&&(i._hasScroll||(i._hasScroll=!0,r(),i.on("wheel",function(e){var t=i.getEl("body");t.scrollLeft+=10*(e.deltaX||0),t.scrollTop+=10*e.deltaY,n()}),e(i.getEl("body")).on("scroll",n)),n())}}}),r(se,[ie,ae],function(e,t){return e.extend({Defaults:{layout:"fit",containerCls:"panel"},Mixins:[t],renderHtml:function(){var e=this,t=e._layout,n=e.settings.html;return e.preRender(),t.preRender(e),"undefined"==typeof n?n='
                '+t.renderHtml(e)+"
                ":("function"==typeof n&&(n=n.call(e)),e._hasBody=!1),'
                '+(e._preBodyHtml||"")+n+"
                "}})}),r(le,[J],function(e){function t(t,n,r){var i,o,a,s,l,c,u,d,f,h;return f=e.getViewPort(),o=e.getPos(n),a=o.x,s=o.y,t.state.get("fixed")&&"static"==e.getRuntimeStyle(document.body,"position")&&(a-=f.x,s-=f.y),i=t.getEl(),h=e.getSize(i),l=h.width,c=h.height,h=e.getSize(n),u=h.width,d=h.height,r=(r||"").split(""),"b"===r[0]&&(s+=d),"r"===r[1]&&(a+=u),"c"===r[0]&&(s+=Math.round(d/2)),"c"===r[1]&&(a+=Math.round(u/2)),"b"===r[3]&&(s-=c),"r"===r[4]&&(a-=l),"c"===r[3]&&(s-=Math.round(c/2)),"c"===r[4]&&(a-=Math.round(l/2)),{x:a,y:s,w:l,h:c}}return{testMoveRel:function(n,r){for(var i=e.getViewPort(),o=0;o0&&a.x+a.w0&&a.y+a.hi.x&&a.x+a.wi.y&&a.y+a.he?0:e+n>t?(e=t-n,0>e?0:e):e}var i=this;if(i.settings.constrainToViewport){var o=e.getViewPort(window),a=i.layoutRect();t=r(t,o.w+o.x,a.w),n=r(n,o.h+o.y,a.h)}return i.state.get("rendered")?i.layoutRect({x:t,y:n}).repaint():(i.settings.x=t,i.settings.y=n),i.fire("move",{x:t,y:n}),i}}}),r(ce,[J],function(e){return{resizeToContent:function(){this._layoutRect.autoResize=!0,this._lastRect=null,this.reflow()},resizeTo:function(t,n){if(1>=t||1>=n){var r=e.getWindowSize();t=1>=t?t*r.w:t,n=1>=n?n*r.h:n}return this._layoutRect.autoResize=!1,this.layoutRect({minW:t,minH:n,w:t,h:n}).reflow()},resizeBy:function(e,t){var n=this,r=n.layoutRect();return n.resizeTo(r.w+e,r.h+t)}}}),r(ue,[se,le,ce,J,h],function(e,t,n,r,i){function o(e,t){for(;e;){if(e==t)return!0;e=e.parent()}}function a(e){for(var t=g.length;t--;){var n=g[t],r=n.getParentCtrl(e.target);if(n.settings.autohide){if(r&&(o(r,n)||n.parent()===r))continue;e=n.fire("autohide",{target:e.target}),e.isDefaultPrevented()||n.hide()}}}function s(){h||(h=function(e){2!=e.button&&a(e)},i(document).on("click touchstart",h))}function l(){p||(p=function(){var e;for(e=g.length;e--;)u(g[e])},i(window).on("scroll",p))}function c(){if(!m){var e=document.documentElement,t=e.clientWidth,n=e.clientHeight;m=function(){document.all&&t==e.clientWidth&&n==e.clientHeight||(t=e.clientWidth,n=e.clientHeight,b.hideAll())},i(window).on("resize",m)}}function u(e){function t(t,n){for(var r,i=0;in&&(e.fixed(!1).layoutRect({y:e._autoFixY}).repaint(),t(!1,e._autoFixY-n)):(e._autoFixY=e.layoutRect().y,e._autoFixY
                ').appendTo(t.getContainerElm())),setTimeout(function(){n.addClass(r+"in"),i(t.getEl()).addClass(r+"in")},0),y=!0),d(!0,t)}}),t.on("show",function(){t.parents().each(function(e){return e.state.get("fixed")?(t.fixed(!0),!1):void 0})}),e.popover&&(t._preBodyHtml='
                ',t.classes.add("popover").add("bottom").add(t.isRtl()?"end":"start"))},fixed:function(e){var t=this;if(t.state.get("fixed")!=e){if(t.state.get("rendered")){var n=r.getViewPort();e?t.layoutRect().y-=n.y:t.layoutRect().y+=n.y}t.classes.toggle("fixed",e),t.state.set("fixed",e)}return t},show:function(){var e=this,t,n=e._super();for(t=g.length;t--&&g[t]!==e;);return-1===t&&g.push(e),n},hide:function(){return f(this),d(!1,this),this._super()},hideAll:function(){b.hideAll()},close:function(){var e=this;return e.fire("close").isDefaultPrevented()||(e.remove(),d(!1,e)),e},remove:function(){f(this),this._super()},postRender:function(){var e=this;return e.settings.bodyRole&&this.getEl("body").setAttribute("role",e.settings.bodyRole),e._super()}});return b.hideAll=function(){for(var e=g.length;e--;){var t=g[e];t&&t.settings.autohide&&(t.hide(),g.splice(e,1))}},b}),r(de,[ue,se,J,h,oe,Q,u],function(e,t,n,r,i,o,a){function s(e){var t="width=device-width,initial-scale=1.0,user-scalable=0,minimum-scale=1.0,maximum-scale=1.0",n=r("meta[name=viewport]")[0],i;a.overrideViewPort!==!1&&(n||(n=document.createElement("meta"),n.setAttribute("name","viewport"),document.getElementsByTagName("head")[0].appendChild(n)),i=n.getAttribute("content"),i&&"undefined"!=typeof d&&(d=i),n.setAttribute("content",e?t:d))}function l(e){for(var t=0;tr.w&&(o=r.x-Math.max(0,i/2),e.layoutRect({w:i,x:o}),a=!0)),t&&(t.layoutRect({w:e.layoutRect().innerW}).recalc(),i=t.layoutRect().minW+r.deltaW,i>r.w&&(o=r.x-Math.max(0,i-r.w),e.layoutRect({w:i,x:o}),a=!0)),a&&e.recalc()},initLayoutRect:function(){var e=this,t=e._super(),r=0,i;if(e.settings.title&&!e._fullscreen){i=e.getEl("head");var o=n.getSize(i);t.headerW=o.width,t.headerH=o.height,r+=t.headerH}e.statusbar&&(r+=e.statusbar.layoutRect().h),t.deltaH+=r,t.minH+=r,t.h+=r;var a=n.getWindowSize();return t.x=e.settings.x||Math.max(0,a.w/2-t.w/2),t.y=e.settings.y||Math.max(0,a.h/2-t.h/2),t},renderHtml:function(){var e=this,t=e._layout,n=e._id,r=e.classPrefix,i=e.settings,o="",a="",s=i.html;return e.preRender(),t.preRender(e),i.title&&(o='
                '+e.encode(i.title)+'
                '),i.url&&(s=''),"undefined"==typeof s&&(s=t.renderHtml(e)),e.statusbar&&(a=e.statusbar.renderHtml()),'
                '+o+'
                '+s+"
                "+a+"
                "},fullscreen:function(e){var t=this,i=document.documentElement,a,s=t.classPrefix,l;if(e!=t._fullscreen)if(r(window).on("resize",function(){var e;if(t._fullscreen)if(a)t._timer||(t._timer=setTimeout(function(){var e=n.getWindowSize();t.moveTo(0,0).resizeTo(e.w,e.h),t._timer=0},50));else{e=(new Date).getTime();var r=n.getWindowSize();t.moveTo(0,0).resizeTo(r.w,r.h),(new Date).getTime()-e>50&&(a=!0)}}),l=t.layoutRect(),t._fullscreen=e,e){t._initial={x:l.x,y:l.y,w:l.w,h:l.h},t.borderBox=o.parseBox("0"),t.getEl("head").style.display="none",l.deltaH-=l.headerH+2,r([i,document.body]).addClass(s+"fullscreen"),t.classes.add("fullscreen");var c=n.getWindowSize();t.moveTo(0,0).resizeTo(c.w,c.h)}else t.borderBox=o.parseBox(t.settings.border),t.getEl("head").style.display="",l.deltaH+=l.headerH,r([i,document.body]).removeClass(s+"fullscreen"),t.classes.remove("fullscreen"),t.moveTo(t._initial.x,t._initial.y).resizeTo(t._initial.w,t._initial.h);return t.reflow()},postRender:function(){var e=this,t;setTimeout(function(){e.classes.add("in")},0),e._super(),e.statusbar&&e.statusbar.postRender(),e.focus(),this.dragHelper=new i(e._id+"-dragh",{start:function(){t={x:e.layoutRect().x,y:e.layoutRect().y}},drag:function(n){e.moveTo(t.x+n.deltaX,t.y+n.deltaY)}}),e.on("submit",function(t){t.isDefaultPrevented()||e.close()}),u.push(e),s(!0)},submit:function(){return this.fire("submit",{data:this.toJSON()})},remove:function(){var e=this,t;for(e.dragHelper.destroy(),e._super(),e.statusbar&&this.statusbar.remove(),t=u.length;t--;)u[t]===e&&u.splice(t,1);s(u.length>0),l(e.classPrefix)},getContentWindow:function(){var e=this.getEl().getElementsByTagName("iframe")[0];return e?e.contentWindow:null}});return a.desktop||c(),f}),r(fe,[de],function(e){var t=e.extend({init:function(e){e={border:1,padding:20,layout:"flex",pack:"center",align:"center",containerCls:"panel",autoScroll:!0,buttons:{type:"button",text:"Ok",action:"ok"},items:{type:"label",multiline:!0,maxWidth:500,maxHeight:200}},this._super(e)},Statics:{OK:1,OK_CANCEL:2,YES_NO:3,YES_NO_CANCEL:4,msgBox:function(n){function r(e,t,n){return{type:"button",text:e,subtype:n?"primary":"",onClick:function(e){e.control.parents()[1].close(),o(t)}}}var i,o=n.callback||function(){};switch(n.buttons){case t.OK_CANCEL:i=[r("Ok",!0,!0),r("Cancel",!1)];break;case t.YES_NO:case t.YES_NO_CANCEL:i=[r("Yes",1,!0),r("No",0)],n.buttons==t.YES_NO_CANCEL&&i.push(r("Cancel",-1));break;default:i=[r("Ok",!0,!0)]}return new e({padding:20,x:n.x,y:n.y,minWidth:300,minHeight:100,layout:"flex",pack:"center",align:"center",buttons:i,title:n.title,role:"alertdialog",items:{type:"label",multiline:!0,maxWidth:500,maxHeight:200,text:n.text},onPostRender:function(){this.aria("describedby",this.items()[0]._id)},onClose:n.onClose,onCancel:function(){o(!1)}}).renderTo(document.body).reflow()},alert:function(e,n){return"string"==typeof e&&(e={text:e}),e.callback=n,t.msgBox(e)},confirm:function(e,n){return"string"==typeof e&&(e={text:e}),e.callback=n,e.buttons=t.OK_CANCEL,t.msgBox(e)}}});return t}),r(he,[de,fe],function(e,t){return function(n){function r(){return o.length?o[o.length-1]:void 0}var i=this,o=[];i.windows=o,n.on("remove",function(){for(var e=o.length;e--;)o[e].close()}),i.open=function(t,r){var i;return n.editorManager.setActive(n),t.title=t.title||" ",t.url=t.url||t.file,t.url&&(t.width=parseInt(t.width||320,10),t.height=parseInt(t.height||240,10)),t.body&&(t.items={defaults:t.defaults,type:t.bodyType||"form",items:t.body}),t.url||t.buttons||(t.buttons=[{text:"Ok",subtype:"primary",onclick:function(){i.find("form")[0].submit()}},{text:"Cancel",onclick:function(){i.close()}}]),i=new e(t),o.push(i),i.on("close",function(){for(var e=o.length;e--;)o[e]===i&&o.splice(e,1);o.length||n.focus()}),t.data&&i.on("postRender",function(){this.find("*").each(function(e){var n=e.name();n in t.data&&e.value(t.data[n])})}),i.features=t||{},i.params=r||{},1===o.length&&n.nodeChanged(),i.renderTo().reflow()},i.alert=function(e,r,i){t.alert(e,function(){r?r.call(i||this):n.focus()})},i.confirm=function(e,n,r){t.confirm(e,function(e){n.call(r||this,e)})},i.close=function(){r()&&r().close()},i.getParams=function(){return r()?r().params:null},i.setParams=function(e){r()&&(r().params=e)},i.getWindows=function(){return o}}}),r(pe,[b],function(e){function t(t,n,r){for(var i=[];n&&n!=t;n=n.parentNode)i.push(e.nodeIndex(n,r));return i}function n(e,t){var n,r,i;for(r=e,n=t.length-1;n>=0;n--){if(i=r.childNodes,t[n]>i.length-1)return null;r=i[t[n]]}return r}return{create:t,resolve:n}}),r(me,[D,w,m,pe,E,v,u,f],function(e,t,n,r,i,o,a,s){return function(l){function c(e,t){try{l.getDoc().execCommand(e,!1,t)}catch(n){}}function u(){var e=l.getDoc().documentMode;return e?e:6}function d(e){return e.isDefaultPrevented()}function f(e){var t,n;e.dataTransfer&&(l.selection.isCollapsed()&&"IMG"==e.target.tagName&&J.select(e.target),t=l.selection.getContent(),t.length>0&&(n=ie+escape(l.id)+","+escape(t),e.dataTransfer.setData(oe,n)))}function h(e){var t;return e.dataTransfer&&(t=e.dataTransfer.getData(oe),t&&t.indexOf(ie)>=0)?(t=t.substr(ie.length).split(","),{id:unescape(t[0]),html:unescape(t[1])}):null}function p(e){l.queryCommandSupported("mceInsertClipboardContent")?l.execCommand("mceInsertClipboardContent",!1,{content:e}):l.execCommand("mceInsertContent",!1,e)}function m(){function i(e){var t=b.schema.getBlockElements(),n=l.getBody();if("BR"!=e.nodeName)return!1;for(e=e;e!=n&&!t[e.nodeName];e=e.parentNode)if(e.nextSibling)return!1;return!0}function o(e,t){var n;for(n=e.nextSibling;n&&n!=t;n=n.nextSibling)if((3!=n.nodeType||0!==K.trim(n.data).length)&&n!==t)return!1;return n===t}function a(e,t,r){var o,a,s;for(s=b.schema.getNonEmptyElements(),o=new n(r||e,e);a=o[t?"next":"prev"]();){if(s[a.nodeName]&&!i(a))return a;if(3==a.nodeType&&a.data.length>0)return a}}function c(e){var n,r,i,o,s;if(!e.collapsed&&(n=b.getParent(t.getNode(e.startContainer,e.startOffset),b.isBlock),r=b.getParent(t.getNode(e.endContainer,e.endOffset),b.isBlock),s=l.schema.getTextBlockElements(),n!=r&&s[n.nodeName]&&s[r.nodeName]&&"false"!==b.getContentEditable(n)&&"false"!==b.getContentEditable(r)))return e.deleteContents(),i=a(n,!1),o=a(r,!0),b.isEmpty(r)||K(n).append(r.childNodes),K(r).remove(),i?1==i.nodeType?"BR"==i.nodeName?(e.setStartBefore(i),e.setEndBefore(i)):(e.setStartAfter(i),e.setEndAfter(i)):(e.setStart(i,i.data.length),e.setEnd(i,i.data.length)):o&&(1==o.nodeType?(e.setStartBefore(o),e.setEndBefore(o)):(e.setStart(o,0),e.setEnd(o,0))),x.setRng(e),!0}function u(e,n){var r,i,s,c,u,d;if(!e.collapsed)return e;if(u=e.startContainer,d=e.startOffset,3==u.nodeType)if(n){if(d0)return e;if(r=t.getNode(e.startContainer,e.startOffset),s=b.getParent(r,b.isBlock),i=a(l.getBody(),n,r),c=b.getParent(i,b.isBlock),!r||!i)return e;if(c&&s!=c)if(n){if(!o(s,c))return e;1==r.nodeType?"BR"==r.nodeName?e.setStartBefore(r):e.setStartAfter(r):e.setStart(r,r.data.length),1==i.nodeType?e.setEnd(i,0):e.setEndBefore(i)}else{if(!o(c,s))return e;1==i.nodeType?"BR"==i.nodeName?e.setStartBefore(i):e.setStartAfter(i):e.setStart(i,i.data.length),1==r.nodeType?e.setEnd(r,0):e.setEndBefore(r)}return e}function m(e){var t=x.getRng();return t=u(t,e),c(t)?!0:void 0}function g(e,t){function n(e,n){return m=K(n).parents().filter(function(e,t){return!!l.schema.getTextInlineElements()[t.nodeName]}),c=e.cloneNode(!1),m=s.map(m,function(e){return e=e.cloneNode(!1),c.hasChildNodes()?(e.appendChild(c.firstChild),c.appendChild(e)):c.appendChild(e),c.appendChild(e),e}),m.length?(p=b.create("br"),m[0].appendChild(p),b.replace(c,e),t.setStartBefore(p),t.setEndBefore(p),l.selection.setRng(t),p):null}function i(e){return e&&l.schema.getTextBlockElements()[e.tagName]}var o,a,c,u,d,f,h,p,m;if(t.collapsed&&(f=t.startContainer,h=t.startOffset,a=b.getParent(f,b.isBlock),i(a)))if(1==f.nodeType){if(f=f.childNodes[h],f&&"BR"!=f.tagName)return;if(d=e?a.nextSibling:a.previousSibling,b.isEmpty(a)&&i(d)&&b.isEmpty(d)&&n(a,f))return b.remove(d),!0}else if(3==f.nodeType){if(o=r.create(a,f),u=a.cloneNode(!0),f=r.resolve(u,o),e){if(h>=f.data.length)return;f.deleteData(h,1)}else{if(0>=h)return;f.deleteData(h-1,1)}if(b.isEmpty(u))return n(a,f)}}function v(e){var t,n,r;m(e)||(s.each(l.getBody().getElementsByTagName("*"),function(e){"SPAN"==e.tagName&&e.setAttribute("mce-data-marked",1),!e.hasAttribute("data-mce-style")&&e.hasAttribute("style")&&l.dom.setAttrib(e,"style",l.dom.getAttrib(e,"style"))}),t=new C(function(){}),t.observe(l.getDoc(),{childList:!0,attributes:!0,subtree:!0,attributeFilter:["style"]}),l.getDoc().execCommand(e?"ForwardDelete":"Delete",!1,null),n=l.selection.getRng(),r=n.startContainer.parentNode,s.each(t.takeRecords(),function(e){if(b.isChildOf(e.target,l.getBody())){if("style"==e.attributeName){var t=e.target.getAttribute("data-mce-style");t?e.target.setAttribute("style",t):e.target.removeAttribute("style"); +}s.each(e.addedNodes,function(e){if("SPAN"==e.nodeName&&!e.getAttribute("mce-data-marked")){var t,i;e==r&&(t=n.startOffset,i=e.firstChild),b.remove(e,!0),i&&(n.setStart(i,t),n.setEnd(i,t),l.selection.setRng(n))}})}}),t.disconnect(),s.each(l.dom.select("span[mce-data-marked]"),function(e){e.removeAttribute("mce-data-marked")}))}var y=l.getDoc(),b=l.dom,x=l.selection,C=window.MutationObserver,w,_;C||(w=!0,C=function(){function e(e){var t=e.relatedNode||e.target;n.push({target:t,addedNodes:[t]})}function t(e){var t=e.relatedNode||e.target;n.push({target:t,attributeName:e.attrName})}var n=[],r;this.observe=function(n){r=n,r.addEventListener("DOMSubtreeModified",e,!1),r.addEventListener("DOMNodeInsertedIntoDocument",e,!1),r.addEventListener("DOMNodeInserted",e,!1),r.addEventListener("DOMAttrModified",t,!1)},this.disconnect=function(){r.removeEventListener("DOMSubtreeModified",e,!1),r.removeEventListener("DOMNodeInsertedIntoDocument",e,!1),r.removeEventListener("DOMNodeInserted",e,!1),r.removeEventListener("DOMAttrModified",t,!1)},this.takeRecords=function(){return n}}),l.on("keydown",function(e){var t=e.keyCode==G,n=e.ctrlKey||e.metaKey;if(!d(e)&&(t||e.keyCode==Y)){var r=l.selection.getRng(),i=r.startContainer,o=r.startOffset;if(t&&e.shiftKey)return;if(g(t,r))return void e.preventDefault();if(!n&&r.collapsed&&3==i.nodeType&&(t?o0))return;e.preventDefault(),n&&l.selection.getSel().modify("extend",t?"forward":"backward",e.metaKey?"lineboundary":"word"),v(t)}}),l.on("keypress",function(t){if(!d(t)&&!x.isCollapsed()&&t.charCode>31&&!e.metaKeyPressed(t)){var n,r,i,o,a,s;n=l.selection.getRng(),s=String.fromCharCode(t.charCode),t.preventDefault(),r=K(n.startContainer).parents().filter(function(e,t){return!!l.schema.getTextInlineElements()[t.nodeName]}),v(!0),r=r.filter(function(e,t){return!K.contains(l.getBody(),t)}),r.length?(i=b.createFragment(),r.each(function(e,t){t=t.cloneNode(!1),i.hasChildNodes()?(t.appendChild(i.firstChild),i.appendChild(t)):(a=t,i.appendChild(t)),i.appendChild(t)}),a.appendChild(l.getDoc().createTextNode(s)),o=b.getParent(n.startContainer,b.isBlock),b.isEmpty(o)?K(o).empty().append(i):n.insertNode(i),n.setStart(a.firstChild,1),n.setEnd(a.firstChild,1),l.selection.setRng(n)):l.selection.setContent(s)}}),l.addCommand("Delete",function(){v()}),l.addCommand("ForwardDelete",function(){v(!0)}),w||(l.on("dragstart",function(e){_=x.getRng(),f(e)}),l.on("drop",function(e){if(!d(e)){var n=h(e);n&&(e.preventDefault(),window.setTimeout(function(){var r=t.getCaretRangeFromPoint(e.x,e.y,y);_&&(x.setRng(_),_=null),v(),x.setRng(r),p(n.html)},0))}}),l.on("cut",function(e){d(e)||!e.clipboardData||l.selection.isCollapsed()||(e.preventDefault(),e.clipboardData.clearData(),e.clipboardData.setData("text/html",l.selection.getContent()),e.clipboardData.setData("text/plain",l.selection.getContent({format:"text"})),window.setTimeout(function(){v(!0)},0))}))}function g(){function e(e){var t=X.create("body"),n=e.cloneContents();return t.appendChild(n),J.serializer.serialize(t,{format:"html"})}function n(n){if(!n.setStart){if(n.item)return!1;var r=n.duplicate();return r.moveToElementText(l.getBody()),t.compareRanges(n,r)}var i=e(n),o=X.createRng();o.selectNode(l.getBody());var a=e(o);return i===a}l.on("keydown",function(e){var t=e.keyCode,r,i;if(!d(e)&&(t==G||t==Y)){if(r=l.selection.isCollapsed(),i=l.getBody(),r&&!X.isEmpty(i))return;if(!r&&!n(l.selection.getRng()))return;e.preventDefault(),l.setContent(""),i.firstChild&&X.isBlock(i.firstChild)?l.selection.setCursorLocation(i.firstChild,0):l.selection.setCursorLocation(i,0),l.nodeChanged()}})}function v(){l.shortcuts.add("meta+a",null,"SelectAll")}function y(){l.settings.content_editable||(X.bind(l.getDoc(),"focusin",function(){J.setRng(J.getRng())}),X.bind(l.getDoc(),"mousedown mouseup",function(e){e.target==l.getDoc().documentElement&&(l.getBody().focus(),"mousedown"==e.type?J.placeCaretAt(e.clientX,e.clientY):J.setRng(J.getRng()))}))}function b(){l.on("keydown",function(e){if(!d(e)&&e.keyCode===Y){if(!l.getBody().getElementsByTagName("hr").length)return;if(J.isCollapsed()&&0===J.getRng(!0).startOffset){var t=J.getNode(),n=t.previousSibling;if("HR"==t.nodeName)return X.remove(t),void e.preventDefault();n&&n.nodeName&&"hr"===n.nodeName.toLowerCase()&&(X.remove(n),e.preventDefault())}}})}function x(){window.Range.prototype.getClientRects||l.on("mousedown",function(e){if(!d(e)&&"HTML"===e.target.nodeName){var t=l.getBody();t.blur(),setTimeout(function(){t.focus()},0)}})}function C(){l.on("click",function(e){var t=e.target;/^(IMG|HR)$/.test(t.nodeName)&&(e.preventDefault(),J.getSel().setBaseAndExtent(t,0,t,1),l.nodeChanged()),"A"==t.nodeName&&X.hasClass(t,"mce-item-anchor")&&(e.preventDefault(),J.select(t))})}function w(){function e(){var e=X.getAttribs(J.getStart().cloneNode(!1));return function(){var t=J.getStart();t!==l.getBody()&&(X.setAttrib(t,"style",null),j(e,function(e){t.setAttributeNode(e.cloneNode(!0))}))}}function t(){return!J.isCollapsed()&&X.getParent(J.getStart(),X.isBlock)!=X.getParent(J.getEnd(),X.isBlock)}l.on("keypress",function(n){var r;return d(n)||8!=n.keyCode&&46!=n.keyCode||!t()?void 0:(r=e(),l.getDoc().execCommand("delete",!1,null),r(),n.preventDefault(),!1)}),X.bind(l.getDoc(),"cut",function(n){var r;!d(n)&&t()&&(r=e(),setTimeout(function(){r()},0))})}function _(){document.body.setAttribute("role","application")}function E(){l.on("keydown",function(e){if(!d(e)&&e.keyCode===Y&&J.isCollapsed()&&0===J.getRng(!0).startOffset){var t=J.getNode().previousSibling;if(t&&t.nodeName&&"table"===t.nodeName.toLowerCase())return e.preventDefault(),!1}})}function N(){u()>7||(c("RespectVisibilityInDesign",!0),l.contentStyles.push(".mceHideBrInPre pre br {display: none}"),X.addClass(l.getBody(),"mceHideBrInPre"),Z.addNodeFilter("pre",function(e){for(var t=e.length,n,r,o,a;t--;)for(n=e[t].getAll("br"),r=n.length;r--;)o=n[r],a=o.prev,a&&3===a.type&&"\n"!=a.value.charAt(a.value-1)?a.value+="\n":o.parent.insert(new i("#text",3),o,!0).value="\n"}),ee.addNodeFilter("pre",function(e){for(var t=e.length,n,r,i,o;t--;)for(n=e[t].getAll("br"),r=n.length;r--;)i=n[r],o=i.prev,o&&3==o.type&&(o.value=o.value.replace(/\r?\n$/,""))}))}function S(){X.bind(l.getBody(),"mouseup",function(){var e,t=J.getNode();"IMG"==t.nodeName&&((e=X.getStyle(t,"width"))&&(X.setAttrib(t,"width",e.replace(/[^0-9%]+/g,"")),X.setStyle(t,"width","")),(e=X.getStyle(t,"height"))&&(X.setAttrib(t,"height",e.replace(/[^0-9%]+/g,"")),X.setStyle(t,"height","")))})}function k(){l.on("keydown",function(t){var n,r,i,o,a;if(!d(t)&&t.keyCode==e.BACKSPACE&&(n=J.getRng(),r=n.startContainer,i=n.startOffset,o=X.getRoot(),a=r,n.collapsed&&0===i)){for(;a&&a.parentNode&&a.parentNode.firstChild==a&&a.parentNode!=o;)a=a.parentNode;"BLOCKQUOTE"===a.tagName&&(l.formatter.toggle("blockquote",null,a),n=X.createRng(),n.setStart(r,0),n.setEnd(r,0),J.setRng(n))}})}function T(){function e(){l._refreshContentEditable(),c("StyleWithCSS",!1),c("enableInlineTableEditing",!1),Q.object_resizing||c("enableObjectResizing",!1)}Q.readonly||l.on("BeforeExecCommand MouseDown",e)}function R(){function e(){j(X.select("a"),function(e){var t=e.parentNode,n=X.getRoot();if(t.lastChild===e){for(;t&&!X.isBlock(t);){if(t.parentNode.lastChild!==t||t===n)return;t=t.parentNode}X.add(t,"br",{"data-mce-bogus":1})}})}l.on("SetContent ExecCommand",function(t){("setcontent"==t.type||"mceInsertLink"===t.command)&&e()})}function A(){Q.forced_root_block&&l.on("init",function(){c("DefaultParagraphSeparator",Q.forced_root_block)})}function B(){l.on("Undo Redo SetContent",function(e){e.initial||l.execCommand("mceRepaint")})}function D(){l.on("keydown",function(e){var t;d(e)||e.keyCode!=Y||(t=l.getDoc().selection.createRange(),t&&t.item&&(e.preventDefault(),l.undoManager.beforeChange(),X.remove(t.item(0)),l.undoManager.add()))})}function L(){var e;u()>=10&&(e="",j("p div h1 h2 h3 h4 h5 h6".split(" "),function(t,n){e+=(n>0?",":"")+t+":empty"}),l.contentStyles.push(e+"{padding-right: 1px !important}"))}function M(){u()<9&&(Z.addNodeFilter("noscript",function(e){for(var t=e.length,n,r;t--;)n=e[t],r=n.firstChild,r&&n.attr("data-mce-innertext",r.value)}),ee.addNodeFilter("noscript",function(e){for(var t=e.length,n,r,a;t--;)n=e[t],r=e[t].firstChild,r?r.value=o.decode(r.value):(a=n.attributes.map["data-mce-innertext"],a&&(n.attr("data-mce-innertext",null),r=new i("#text",3),r.value=a,r.raw=!0,n.append(r)))}))}function H(){function e(e,t){var n=i.createTextRange();try{n.moveToPoint(e,t)}catch(r){n=null}return n}function t(t){var r;t.button?(r=e(t.x,t.y),r&&(r.compareEndPoints("StartToStart",a)>0?r.setEndPoint("StartToStart",a):r.setEndPoint("EndToEnd",a),r.select())):n()}function n(){var e=r.selection.createRange();a&&!e.item&&0===e.compareEndPoints("StartToEnd",e)&&a.select(),X.unbind(r,"mouseup",n),X.unbind(r,"mousemove",t),a=o=0}var r=X.doc,i=r.body,o,a,s;r.documentElement.unselectable=!0,X.bind(r,"mousedown contextmenu",function(i){if("HTML"===i.target.nodeName){if(o&&n(),s=r.documentElement,s.scrollHeight>s.clientHeight)return;o=1,a=e(i.x,i.y),a&&(X.bind(r,"mouseup",n),X.bind(r,"mousemove",t),X.getRoot().focus(),a.select())}})}function P(){l.on("keyup focusin mouseup",function(t){65==t.keyCode&&e.metaKeyPressed(t)||J.normalize()},!0)}function O(){l.contentStyles.push("img:-moz-broken {-moz-force-broken-image-icon:1;min-width:24px;min-height:24px}")}function I(){l.inline||l.on("keydown",function(){document.activeElement==document.body&&l.getWin().focus()})}function F(){l.inline||(l.contentStyles.push("body {min-height: 150px}"),l.on("click",function(e){var t;if("HTML"==e.target.nodeName){if(a.ie>11)return void l.getBody().focus();t=l.selection.getRng(),l.getBody().focus(),l.selection.setRng(t),l.selection.normalize(),l.nodeChanged()}}))}function z(){a.mac&&l.on("keydown",function(t){!e.metaKeyPressed(t)||t.shiftKey||37!=t.keyCode&&39!=t.keyCode||(t.preventDefault(),l.selection.getSel().modify("move",37==t.keyCode?"backward":"forward","lineboundary"))})}function W(){c("AutoUrlDetect",!1)}function V(){l.on("click",function(e){var t=e.target;do if("A"===t.tagName)return void e.preventDefault();while(t=t.parentNode)}),l.contentStyles.push(".mce-content-body {-webkit-touch-callout: none}")}function U(){l.on("init",function(){l.dom.bind(l.getBody(),"submit",function(e){e.preventDefault()})})}function $(){Z.addNodeFilter("br",function(e){for(var t=e.length;t--;)"Apple-interchange-newline"==e[t].attr("class")&&e[t].remove()})}function q(){l.on("dragstart",function(e){f(e)}),l.on("drop",function(e){if(!d(e)){var n=h(e);if(n&&n.id!=l.id){e.preventDefault();var r=t.getCaretRangeFromPoint(e.x,e.y,l.getDoc());J.setRng(r),p(n.html)}}})}var j=s.each,K=l.$,Y=e.BACKSPACE,G=e.DELETE,X=l.dom,J=l.selection,Q=l.settings,Z=l.parser,ee=l.serializer,te=a.gecko,ne=a.ie,re=a.webkit,ie="data:text/mce-internal,",oe=ne?"Text":"URL";k(),g(),P(),re&&(m(),y(),C(),A(),U(),E(),$(),a.iOS?(I(),F(),V()):v()),ne&&a.ie<11&&(b(),_(),N(),S(),D(),L(),M(),H()),a.ie>=11&&(F(),E()),a.ie&&(v(),W(),q()),te&&(b(),x(),w(),T(),R(),B(),O(),z(),E())}}),r(ge,[K,b,f],function(e,t,n){function r(e,t){return"selectionchange"==t?e.getDoc():!e.inline&&/^mouse|click|contextmenu|drop|dragover|dragend/.test(t)?e.getDoc().documentElement:e.settings.event_root?(e.eventRoot||(e.eventRoot=o.select(e.settings.event_root)[0]),e.eventRoot):e.getBody()}function i(e,t){var n=r(e,t),i;if(e.delegates||(e.delegates={}),!e.delegates[t])if(e.settings.event_root){if(a||(a={},e.editorManager.on("removeEditor",function(){var t;if(!e.editorManager.activeEditor&&a){for(t in a)e.dom.unbind(r(e,t));a=null}})),a[t])return;i=function(n){for(var r=n.target,i=e.editorManager.editors,a=i.length;a--;){var s=i[a].getBody();(s===r||o.isChildOf(r,s))&&(i[a].hidden||i[a].fire(t,n))}},a[t]=i,o.bind(n,t,i)}else i=function(n){e.hidden||e.fire(t,n)},o.bind(n,t,i),e.delegates[t]=i}var o=t.DOM,a,s={bindPendingEventDelegates:function(){var e=this;n.each(e._pendingNativeEvents,function(t){i(e,t)})},toggleNativeEvent:function(e,t){var n=this;n.settings.readonly||"focus"!=e&&"blur"!=e&&(t?n.initialized?i(n,e):n._pendingNativeEvents?n._pendingNativeEvents.push(e):n._pendingNativeEvents=[e]:n.initialized&&(n.dom.unbind(r(n,e),e,n.delegates[e]),delete n.delegates[e]))},unbindAllNativeEvents:function(){var e=this,t;if(e.delegates){for(t in e.delegates)e.dom.unbind(r(e,t),t,e.delegates[t]);delete e.delegates}e.inline||(e.getBody().onload=null,e.dom.unbind(e.getWin()),e.dom.unbind(e.getDoc())),e.dom.unbind(e.getBody()),e.dom.unbind(e.getContainer())}};return s=n.extend({},e,s)}),r(ve,[f,u],function(e,t){var n=e.each,r=e.explode,i={f9:120,f10:121,f11:122},o=e.makeMap("alt,ctrl,shift,meta,access");return function(a){function s(e,s,l,c){var u,d,f;f={func:l,scope:c||a,desc:a.translate(s)},n(r(e,"+"),function(e){e in o?f[e]=!0:/^[0-9]{2,}$/.test(e)?f.keyCode=parseInt(e,10):(f.charCode=e.charCodeAt(0),f.keyCode=i[e]||e.toUpperCase().charCodeAt(0))}),u=[f.keyCode];for(d in o)f[d]?u.push(d):f[d]=!1;return f.id=u.join(","),f.access&&(f.alt=!0,t.mac?f.ctrl=!0:f.shift=!0),f.meta&&(t.mac?f.meta=!0:(f.ctrl=!0,f.meta=!1)),f}var l=this,c={};a.on("keyup keypress keydown",function(e){(e.altKey||e.ctrlKey||e.metaKey)&&!e.isDefaultPrevented()&&n(c,function(t){return t.ctrl==e.ctrlKey&&t.meta==e.metaKey&&t.alt==e.altKey&&t.shift==e.shiftKey&&(e.keyCode==t.keyCode||e.charCode&&e.charCode==t.charCode)?(e.preventDefault(),"keydown"==e.type&&t.func.call(t.scope),!0):void 0})}),l.add=function(t,i,o,l){var u;return u=o,"string"==typeof o?o=function(){a.execCommand(u,!1,null)}:e.isArray(u)&&(o=function(){a.execCommand(u[0],u[1],u[2])}),n(r(t.toLowerCase()),function(e){var t=s(e,i,o,l);c[t.id]=t}),!0},l.remove=function(e){var t=s(e);return c[t.id]?(delete c[t.id],!0):!1}}}),r(ye,[],function(){function e(e,t){return function(){e.apply(t,arguments)}}function t(t){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=null,this._value=null,this._deferreds=[],s(t,e(r,this),e(i,this))}function n(e){var t=this;return null===this._state?void this._deferreds.push(e):void l(function(){var n=t._state?e.onFulfilled:e.onRejected;if(null===n)return void(t._state?e.resolve:e.reject)(t._value);var r;try{r=n(t._value)}catch(i){return void e.reject(i)}e.resolve(r)})}function r(t){try{if(t===this)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var n=t.then;if("function"==typeof n)return void s(e(n,t),e(r,this),e(i,this))}this._state=!0,this._value=t,o.call(this)}catch(a){i.call(this,a)}}function i(e){this._state=!1,this._value=e,o.call(this)}function o(){for(var e=0,t=this._deferreds.length;t>e;e++)n.call(this,this._deferreds[e]);this._deferreds=null}function a(e,t,n,r){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.resolve=n,this.reject=r}function s(e,t,n){var r=!1;try{e(function(e){r||(r=!0,t(e))},function(e){r||(r=!0,n(e))})}catch(i){if(r)return;r=!0,n(i)}}if(window.Promise)return window.Promise;var l=t.immediateFn||"function"==typeof setImmediate&&setImmediate||function(e){setTimeout(e,1)},c=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};return t.prototype["catch"]=function(e){return this.then(null,e)},t.prototype.then=function(e,r){var i=this;return new t(function(t,o){n.call(i,new a(e,r,t,o))})},t.all=function(){var e=Array.prototype.slice.call(1===arguments.length&&c(arguments[0])?arguments[0]:arguments);return new t(function(t,n){function r(o,a){try{if(a&&("object"==typeof a||"function"==typeof a)){var s=a.then;if("function"==typeof s)return void s.call(a,function(e){r(o,e)},n)}e[o]=a,0===--i&&t(e)}catch(l){n(l)}}if(0===e.length)return t([]);for(var i=e.length,o=0;or;r++)e[r].then(t,n)})},t}),r(be,[],function(){function e(e){return function(){return e}}return{constant:e}}),r(xe,[ye,f,be],function(e,t,n){return function(r){function i(e){var t,n;return n={"image/jpeg":"jpg","image/jpg":"jpg","image/gif":"gif","image/png":"png"},t=n[e.blob().type.toLowerCase()]||"dat",e.id()+"."+t}function o(e,t){return e?e.replace(/\/$/,"")+"/"+t.replace(/^\//,""):t}function a(e){return{id:e.id,blob:e.blob,base64:e.base64,filename:n.constant(i(e))}}function s(e,t,n){var a,s;a=new XMLHttpRequest,a.open("POST",r.url),a.withCredentials=r.credentials,a.onload=function(){var e;return 200!=a.status?void n("HTTP Error: "+a.status):(e=JSON.parse(a.responseText),e&&"string"==typeof e.location?void t(o(r.basePath,e.location)):void n("Invalid JSON: "+a.responseText))},s=new FormData,s.append("file",e.blob(),i(e)),a.send(s)}function l(n){function i(t){return new e(function(e){var n=r.handler;n(a(t),function(n){e({url:n,blobInfo:t,status:!0})},function(n){e({url:"",blobInfo:t,status:!1,error:n})})})}var o;return r.url||r.handler!==s?(o=t.map(n,function(e){var t,n=e.id();return c[n]?c[n]:(t=i(e).then(function(e){return delete c[n],e})["catch"](function(e){return delete c[n],e}),c[n]=t,t)}),e.all(o)):new e(function(e){e([])})}var c={};return r=t.extend({credentials:!1,handler:s},r),{upload:l}}}),r(Ce,[ye],function(e){function t(t){return new e(function(e){var n=new XMLHttpRequest;n.open("GET",t,!0),n.responseType="blob",n.onload=function(){200==this.status&&e(this.response)},n.send()})}function n(e){var t,n;return e=decodeURIComponent(e).split(","),n=/data:([^;]+)/.exec(e[0]),n&&(t=n[1]),{type:t,data:e[1]}}function r(t){return new e(function(e){var r,i,o;t=n(t);try{r=atob(t.data)}catch(a){return void e(new Blob([]))}for(i=new Uint8Array(r.length),o=0;o",visual:!0,font_size_style_values:"xx-small,x-small,small,medium,large,x-large,xx-large",font_size_legacy_values:"xx-small,small,medium,large,x-large,xx-large,300%",forced_root_block:"p",hidden_input:!0,padd_empty_editor:!0,render_ui:!0,indentation:"30px",inline_styles:!0,convert_fonts_to_spans:!0,indent:"simple",indent_before:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,article,hgroup,aside,figure,option,optgroup,datalist",indent_after:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,article,hgroup,aside,figure,option,optgroup,datalist",validate:!0,entity_encoding:"named",url_converter:o.convertURL,url_converter_scope:o,ie7_compat:!0},t),r.language=t.language||"en",r.languageLoad=t.language_load,r.baseURL=i.baseURL,o.id=t.id=e,o.isNotDirty=!0,o.plugins={},o.documentBaseURI=new p(t.document_base_url||a,{base_uri:s}),o.baseURI=s,o.contentCSS=[],o.contentStyles=[],o.shortcuts=new E(o),o.loadedCSS={},o.editorCommands=new h(o),t.target&&(o.targetElm=t.target),o.suffix=i.suffix,o.editorManager=i,o.inline=t.inline,t.cache_suffix&&(C.cacheSuffix=t.cache_suffix.replace(/^[\?\&]+/,"")),t.override_viewport===!1&&(C.overrideViewPort=!1),i.fire("SetupEditor",o),o.execCallback("setup",o),o.$=n.overrideDefaults(function(){return{context:o.inline?o.getBody():o.getDoc(),element:o.getBody()}})}var k=e.DOM,T=r.ThemeManager,R=r.PluginManager,A=w.extend,B=w.each,D=w.explode,L=w.inArray,M=w.trim,H=w.resolve,P=g.Event,O=C.gecko,I=C.ie;return S.prototype={render:function(){function e(){k.unbind(window,"ready",e),n.render()}function t(){var e=m.ScriptLoader;if(r.language&&"en"!=r.language&&!r.language_url&&(r.language_url=n.editorManager.baseURL+"/langs/"+r.language+".js"),r.language_url&&e.add(r.language_url),r.theme&&"function"!=typeof r.theme&&"-"!=r.theme.charAt(0)&&!T.urls[r.theme]){var t=r.theme_url;t=t?n.documentBaseURI.toAbsolute(t):"themes/"+r.theme+"/theme"+o+".js",T.load(r.theme,t)}w.isArray(r.plugins)&&(r.plugins=r.plugins.join(" ")),B(r.external_plugins,function(e,t){R.load(t,e),r.plugins+=" "+t}),B(r.plugins.split(/[ ,]/),function(e){if(e=M(e),e&&!R.urls[e])if("-"==e.charAt(0)){e=e.substr(1,e.length);var t=R.dependencies(e);B(t,function(e){var t={prefix:"plugins/",resource:e,suffix:"/plugin"+o+".js"};e=R.createUrl(t,e),R.load(e.resource,e)})}else R.load(e,{prefix:"plugins/",resource:e,suffix:"/plugin"+o+".js"})}),e.loadQueue(function(){n.removed||n.init()})}var n=this,r=n.settings,i=n.id,o=n.suffix;if(!P.domLoaded)return void k.bind(window,"ready",e);if(n.getElement()&&C.contentEditable){r.inline?n.inline=!0:(n.orgVisibility=n.getElement().style.visibility,n.getElement().style.visibility="hidden");var a=n.getElement().form||k.getParent(i,"form");a&&(n.formElement=a,r.hidden_input&&!/TEXTAREA|INPUT/i.test(n.getElement().nodeName)&&(k.insertAfter(k.create("input",{type:"hidden",name:i}),i),n.hasHiddenInput=!0),n.formEventDelegate=function(e){n.fire(e.type,e)},k.bind(a,"submit reset",n.formEventDelegate),n.on("reset",function(){n.setContent(n.startContent,{format:"raw"})}),!r.submit_patch||a.submit.nodeType||a.submit.length||a._mceOldSubmit||(a._mceOldSubmit=a.submit,a.submit=function(){return n.editorManager.triggerSave(),n.isNotDirty=!0,a._mceOldSubmit(a)})),n.windowManager=new v(n),"xml"==r.encoding&&n.on("GetContent",function(e){e.save&&(e.content=k.encode(e.content))}),r.add_form_submit_trigger&&n.on("submit",function(){n.initialized&&n.save()}),r.add_unload_trigger&&(n._beforeUnload=function(){!n.initialized||n.destroyed||n.isHidden()||n.save({format:"raw",no_events:!0,set_dirty:!1})},n.editorManager.on("BeforeUnload",n._beforeUnload)),t()}},init:function(){function e(n){var r=R.get(n),i,o;i=R.urls[n]||t.documentBaseUrl.replace(/\/$/,""),n=M(n),r&&-1===L(m,n)&&(B(R.dependencies(n),function(t){e(t)}),o=new r(t,i,t.$),t.plugins[n]=o,o.init&&(o.init(t,i),m.push(n)))}var t=this,n=t.settings,r=t.getElement(),i,o,a,s,l,c,u,d,f,h,p,m=[];if(this.editorManager.i18n.setCode(n.language),t.rtl=n.rtl_ui||this.editorManager.i18n.rtl,t.editorManager.add(t),n.aria_label=n.aria_label||k.getAttrib(r,"aria-label",t.getLang("aria.rich_text_area")),n.theme&&("function"!=typeof n.theme?(n.theme=n.theme.replace(/-/,""),c=T.get(n.theme),t.theme=new c(t,T.urls[n.theme]),t.theme.init&&t.theme.init(t,T.urls[n.theme]||t.documentBaseUrl.replace(/\/$/,""),t.$)):t.theme=n.theme),B(n.plugins.replace(/\-/g,"").split(/[ ,]/),e),n.render_ui&&t.theme&&(t.orgDisplay=r.style.display,"function"!=typeof n.theme?(i=n.width||r.style.width||r.offsetWidth,o=n.height||r.style.height||r.offsetHeight,a=n.min_height||100,h=/^[0-9\.]+(|px)$/i,h.test(""+i)&&(i=Math.max(parseInt(i,10),100)),h.test(""+o)&&(o=Math.max(parseInt(o,10),a)),l=t.theme.renderUI({targetNode:r,width:i,height:o,deltaWidth:n.delta_width,deltaHeight:n.delta_height}),n.content_editable||(o=(l.iframeHeight||o)+("number"==typeof o?l.deltaHeight||0:""),a>o&&(o=a))):(l=n.theme(t,r),l.editorContainer.nodeType&&(l.editorContainer=l.editorContainer.id=l.editorContainer.id||t.id+"_parent"),l.iframeContainer.nodeType&&(l.iframeContainer=l.iframeContainer.id=l.iframeContainer.id||t.id+"_iframecontainer"),o=l.iframeHeight||r.offsetHeight),t.editorContainer=l.editorContainer),n.content_css&&B(D(n.content_css),function(e){t.contentCSS.push(t.documentBaseURI.toAbsolute(e))}),n.content_style&&t.contentStyles.push(n.content_style),n.content_editable)return r=s=l=null,t.initContentBody();for(t.iframeHTML=n.doctype+"",n.document_base_url!=t.documentBaseUrl&&(t.iframeHTML+=''),!C.caretAfter&&n.ie7_compat&&(t.iframeHTML+=''),t.iframeHTML+='',p=0;p',t.loadedCSS[g]=!0}d=n.body_id||"tinymce",-1!=d.indexOf("=")&&(d=t.getParam("body_id","","hash"),d=d[t.id]||d),f=n.body_class||"",-1!=f.indexOf("=")&&(f=t.getParam("body_class","","hash"),f=f[t.id]||""),n.content_security_policy&&(t.iframeHTML+=''),t.iframeHTML+='
                ';var v='javascript:(function(){document.open();document.domain="'+document.domain+'";var ed = window.parent.tinymce.get("'+t.id+'");document.write(ed.iframeHTML);document.close();ed.initContentBody(true);})()';document.domain!=location.hostname&&C.ie&&C.ie<12&&(u=v);var y=k.create("iframe",{id:t.id+"_ifr",frameBorder:"0",allowTransparency:"true",title:t.editorManager.translate("Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help"),style:{width:"100%",height:o,display:"block"}});if(y.onload=function(){y.onload=null,t.fire("load")},k.setAttrib(y,"src",u||'javascript:""'),t.contentAreaContainer=l.iframeContainer,t.iframeElement=y,s=k.add(l.iframeContainer,y),I)try{t.getDoc()}catch(b){s.src=u=v}l.editorContainer&&(k.get(l.editorContainer).style.display=t.orgDisplay,t.hidden=k.isHidden(l.editorContainer)),t.getElement().style.display="none",k.setAttrib(t.id,"aria-hidden",!0),u||t.initContentBody(),r=s=l=null},initContentBody:function(t){var n=this,r=n.settings,s=n.getElement(),h=n.getDoc(),p,m;r.inline||(n.getElement().style.visibility=n.orgVisibility),t||r.content_editable||(h.open(),h.write(n.iframeHTML),h.close()),r.content_editable&&(n.on("remove",function(){var e=this.getBody();k.removeClass(e,"mce-content-body"),k.removeClass(e,"mce-edit-focus"),k.setAttrib(e,"contentEditable",null)}),k.addClass(s,"mce-content-body"),n.contentDocument=h=r.content_document||document,n.contentWindow=r.content_window||window,n.bodyElement=s,r.content_document=r.content_window=null,r.root_name=s.nodeName.toLowerCase()),p=n.getBody(),p.disabled=!0,r.readonly||(n.inline&&"static"==k.getStyle(p,"position",!0)&&(p.style.position="relative"),p.contentEditable=n.getParam("content_editable_state",!0)),p.disabled=!1,n.editorUpload=new N(n),n.schema=new y(r),n.dom=new e(h,{keep_values:!0,url_converter:n.convertURL,url_converter_scope:n,hex_colors:r.force_hex_style_colors,class_filter:r.class_filter,update_styles:!0,root_element:n.inline?n.getBody():null,collect:r.content_editable,schema:n.schema,onSetAttrib:function(e){n.fire("SetAttrib",e)}}),n.parser=new b(r,n.schema),n.parser.addAttributeFilter("src,href,style,tabindex",function(e,t){for(var r=e.length,i,o=n.dom,a,s;r--;)if(i=e[r],a=i.attr(t),s="data-mce-"+t,!i.attributes.map[s]){if(0===a.indexOf("data:")||0===a.indexOf("blob:"))continue;"style"===t?(a=o.serializeStyle(o.parseStyle(a),i.name),a.length||(a=null),i.attr(s,a),i.attr(t,a)):"tabindex"===t?(i.attr(s,a),i.attr(t,null)):i.attr(s,n.convertURL(a,t,i.name))}}),n.parser.addNodeFilter("script",function(e){for(var t=e.length,n,r;t--;)n=e[t],r=n.attr("type")||"no/type",0!==r.indexOf("mce-")&&n.attr("type","mce-"+r)}),n.parser.addNodeFilter("#cdata",function(e){for(var t=e.length,n;t--;)n=e[t],n.type=8,n.name="#comment",n.value="[CDATA["+n.value+"]]"}),n.parser.addNodeFilter("p,h1,h2,h3,h4,h5,h6,div",function(e){for(var t=e.length,r,i=n.schema.getNonEmptyElements();t--;)r=e[t],r.isEmpty(i)&&(r.append(new o("br",1)).shortEnded=!0)}),n.serializer=new a(r,n),n.selection=new l(n.dom,n.getWin(),n.serializer,n),n.formatter=new c(n),n.undoManager=new u(n),n.forceBlocks=new f(n),n.enterKey=new d(n),n._nodeChangeDispatcher=new i(n),n.fire("PreInit"),r.browser_spellcheck||r.gecko_spellcheck||(h.body.spellcheck=!1,k.setAttrib(p,"spellcheck","false")),n.fire("PostRender"),n.quirks=new x(n),r.directionality&&(p.dir=r.directionality),r.nowrap&&(p.style.whiteSpace="nowrap"),r.protect&&n.on("BeforeSetContent",function(e){B(r.protect,function(t){e.content=e.content.replace(t,function(e){return""})})}),n.on("SetContent",function(){ +n.addVisual(n.getBody())}),r.padd_empty_editor&&n.on("PostProcess",function(e){e.content=e.content.replace(/^(]*>( | |\s|\u00a0|)<\/p>[\r\n]*|
                [\r\n]*)$/,"")}),n.load({initial:!0,format:"html"}),n.startContent=n.getContent({format:"raw"}),n.initialized=!0,n.bindPendingEventDelegates(),n.fire("init"),n.focus(!0),n.nodeChanged({initial:!0}),n.execCallback("init_instance_callback",n),n.contentStyles.length>0&&(m="",B(n.contentStyles,function(e){m+=e+"\r\n"}),n.dom.addStyle(m)),B(n.contentCSS,function(e){n.loadedCSS[e]||(n.dom.loadCSS(e),n.loadedCSS[e]=!0)}),r.auto_focus&&setTimeout(function(){var e;e=r.auto_focus===!0?n:n.editorManager.get(r.auto_focus),e.destroyed||e.focus()},100),s=h=p=null},focus:function(e){var t=this,n=t.selection,r=t.settings.content_editable,i,o,a=t.getDoc(),s;if(!e){if(i=n.getRng(),i.item&&(o=i.item(0)),t._refreshContentEditable(),r||(C.opera||t.getBody().focus(),t.getWin().focus()),O||r){if(s=t.getBody(),s.setActive)try{s.setActive()}catch(l){s.focus()}else s.focus();r&&n.normalize()}o&&o.ownerDocument==a&&(i=a.body.createControlRange(),i.addElement(o),i.select())}t.editorManager.setActive(t)},execCallback:function(e){var t=this,n=t.settings[e],r;if(n)return t.callbackLookup&&(r=t.callbackLookup[e])&&(n=r.func,r=r.scope),"string"==typeof n&&(r=n.replace(/\.\w+$/,""),r=r?H(r):0,n=H(n),t.callbackLookup=t.callbackLookup||{},t.callbackLookup[e]={func:n,scope:r}),n.apply(r||t,Array.prototype.slice.call(arguments,1))},translate:function(e){var t=this.settings.language||"en",n=this.editorManager.i18n;return e?n.data[t+"."+e]||e.replace(/\{\#([^\}]+)\}/g,function(e,r){return n.data[t+"."+r]||"{#"+r+"}"}):""},getLang:function(e,n){return this.editorManager.i18n.data[(this.settings.language||"en")+"."+e]||(n!==t?n:"{#"+e+"}")},getParam:function(e,t,n){var r=e in this.settings?this.settings[e]:t,i;return"hash"===n?(i={},"string"==typeof r?B(r.indexOf("=")>0?r.split(/[;,](?![^=;,]*(?:[;,]|$))/):r.split(","),function(e){e=e.split("="),e.length>1?i[M(e[0])]=M(e[1]):i[M(e[0])]=M(e)}):i=r,i):r},nodeChanged:function(e){this._nodeChangeDispatcher.nodeChanged(e)},addButton:function(e,t){var n=this;t.cmd&&(t.onclick=function(){n.execCommand(t.cmd)}),t.text||t.icon||(t.icon=e),n.buttons=n.buttons||{},t.tooltip=t.tooltip||t.title,n.buttons[e]=t},addMenuItem:function(e,t){var n=this;t.cmd&&(t.onclick=function(){n.execCommand(t.cmd)}),n.menuItems=n.menuItems||{},n.menuItems[e]=t},addContextToolbar:function(e,t){var n=this,r;n.contextToolbars=n.contextToolbars||[],"string"==typeof e&&(r=e,e=function(e){return n.dom.is(e,r)}),n.contextToolbars.push({predicate:e,items:t})},addCommand:function(e,t,n){this.editorCommands.addCommand(e,t,n)},addQueryStateHandler:function(e,t,n){this.editorCommands.addQueryStateHandler(e,t,n)},addQueryValueHandler:function(e,t,n){this.editorCommands.addQueryValueHandler(e,t,n)},addShortcut:function(e,t,n,r){this.shortcuts.add(e,t,n,r)},execCommand:function(e,t,n,r){return this.editorCommands.execCommand(e,t,n,r)},queryCommandState:function(e){return this.editorCommands.queryCommandState(e)},queryCommandValue:function(e){return this.editorCommands.queryCommandValue(e)},queryCommandSupported:function(e){return this.editorCommands.queryCommandSupported(e)},show:function(){var e=this;e.hidden&&(e.hidden=!1,e.inline?e.getBody().contentEditable=!0:(k.show(e.getContainer()),k.hide(e.id)),e.load(),e.fire("show"))},hide:function(){var e=this,t=e.getDoc();e.hidden||(I&&t&&!e.inline&&t.execCommand("SelectAll"),e.save(),e.inline?(e.getBody().contentEditable=!1,e==e.editorManager.focusedEditor&&(e.editorManager.focusedEditor=null)):(k.hide(e.getContainer()),k.setStyle(e.id,"display",e.orgDisplay)),e.hidden=!0,e.fire("hide"))},isHidden:function(){return!!this.hidden},setProgressState:function(e,t){this.fire("ProgressState",{state:e,time:t})},load:function(e){var n=this,r=n.getElement(),i;return r?(e=e||{},e.load=!0,i=n.setContent(r.value!==t?r.value:r.innerHTML,e),e.element=r,e.no_events||n.fire("LoadContent",e),e.element=r=null,i):void 0},save:function(e){var t=this,n=t.getElement(),r,i;if(n&&t.initialized)return e=e||{},e.save=!0,e.element=n,r=e.content=t.getContent(e),e.no_events||t.fire("SaveContent",e),"raw"==e.format&&t.fire("RawSaveContent",e),r=e.content,/TEXTAREA|INPUT/i.test(n.nodeName)?n.value=r:(t.inline||(n.innerHTML=r),(i=k.getParent(t.id,"form"))&&B(i.elements,function(e){return e.name==t.id?(e.value=r,!1):void 0})),e.element=n=null,e.set_dirty!==!1&&(t.isNotDirty=!0),r},setContent:function(e,t){var n=this,r=n.getBody(),i,o;return t=t||{},t.format=t.format||"html",t.set=!0,t.content=e,t.no_events||n.fire("BeforeSetContent",t),e=t.content,0===e.length||/^\s+$/.test(e)?(o=I&&11>I?"":'
                ',"TABLE"==r.nodeName?e=""+o+"":/^(UL|OL)$/.test(r.nodeName)&&(e="
              • "+o+"
              • "),i=n.settings.forced_root_block,i&&n.schema.isValidChild(r.nodeName.toLowerCase(),i.toLowerCase())?(e=o,e=n.dom.createHTML(i,n.settings.forced_root_block_attrs,e)):I||e||(e='
                '),n.dom.setHTML(r,e),n.fire("SetContent",t)):("raw"!==t.format&&(e=new s({validate:n.validate},n.schema).serialize(n.parser.parse(e,{isRootContent:!0}))),t.content=M(e),n.dom.setHTML(r,t.content),t.no_events||n.fire("SetContent",t)),t.content},getContent:function(e){var t=this,n,r=t.getBody();return e=e||{},e.format=e.format||"html",e.get=!0,e.getInner=!0,e.no_events||t.fire("BeforeGetContent",e),n="raw"==e.format?r.innerHTML:"text"==e.format?r.innerText||r.textContent:t.serializer.serialize(r,e),"text"!=e.format?e.content=M(n):e.content=n,e.no_events||t.fire("GetContent",e),e.content},insertContent:function(e,t){t&&(e=A({content:e},t)),this.execCommand("mceInsertContent",!1,e)},isDirty:function(){return!this.isNotDirty},getContainer:function(){var e=this;return e.container||(e.container=k.get(e.editorContainer||e.id+"_parent")),e.container},getContentAreaContainer:function(){return this.contentAreaContainer},getElement:function(){return this.targetElm||(this.targetElm=k.get(this.id)),this.targetElm},getWin:function(){var e=this,t;return e.contentWindow||(t=e.iframeElement,t&&(e.contentWindow=t.contentWindow)),e.contentWindow},getDoc:function(){var e=this,t;return e.contentDocument||(t=e.getWin(),t&&(e.contentDocument=t.document)),e.contentDocument},getBody:function(){return this.bodyElement||this.getDoc().body},convertURL:function(e,t,n){var r=this,i=r.settings;return i.urlconverter_callback?r.execCallback("urlconverter_callback",e,n,!0,t):!i.convert_urls||n&&"LINK"==n.nodeName||0===e.indexOf("file:")||0===e.length?e:i.relative_urls?r.documentBaseURI.toRelative(e):e=r.documentBaseURI.toAbsolute(e,i.remove_script_host)},addVisual:function(e){var n=this,r=n.settings,i=n.dom,o;e=e||n.getBody(),n.hasVisual===t&&(n.hasVisual=r.visual),B(i.select("table,a",e),function(e){var t;switch(e.nodeName){case"TABLE":return o=r.visual_table_class||"mce-item-table",t=i.getAttrib(e,"border"),void(t&&"0"!=t||!n.hasVisual?i.removeClass(e,o):i.addClass(e,o));case"A":return void(i.getAttrib(e,"href",!1)||(t=i.getAttrib(e,"name")||e.id,o=r.visual_anchor_class||"mce-item-anchor",t&&n.hasVisual?i.addClass(e,o):i.removeClass(e,o)))}}),n.fire("VisualAid",{element:e,hasVisual:n.hasVisual})},remove:function(){var e=this;e.removed||(e.save(),e.removed=1,e.unbindAllNativeEvents(),e.hasHiddenInput&&k.remove(e.getElement().nextSibling),e.inline||(I&&10>I&&e.getDoc().execCommand("SelectAll",!1,null),k.setStyle(e.id,"display",e.orgDisplay),e.getBody().onload=null),e.fire("remove"),e.editorManager.remove(e),k.remove(e.getContainer()),e.editorUpload.destroy(),e.destroy())},destroy:function(e){var t=this,n;if(!t.destroyed){if(!e&&!t.removed)return void t.remove();e||(t.editorManager.off("beforeunload",t._beforeUnload),t.theme&&t.theme.destroy&&t.theme.destroy(),t.selection.destroy(),t.dom.destroy()),n=t.formElement,n&&(n._mceOldSubmit&&(n.submit=n._mceOldSubmit,n._mceOldSubmit=null),k.unbind(n,"submit reset",t.formEventDelegate)),t.contentAreaContainer=t.formElement=t.container=t.editorContainer=null,t.bodyElement=t.contentDocument=t.contentWindow=null,t.iframeElement=t.targetElm=null,t.selection&&(t.selection=t.selection.win=t.selection.dom=t.selection.dom.doc=null),t.destroyed=1}},uploadImages:function(e){return this.editorUpload.uploadImages(e)},_scanForImages:function(){return this.editorUpload.scanForImages()},_refreshContentEditable:function(){var e=this,t,n;e._isHidden()&&(t=e.getBody(),n=t.parentNode,n.removeChild(t),n.appendChild(t),t.focus())},_isHidden:function(){var e;return O?(e=this.selection.getSel(),!e||!e.rangeCount||0===e.rangeCount):0}},A(S.prototype,_),S}),r(Se,[],function(){var e={},t="en";return{setCode:function(e){e&&(t=e,this.rtl=this.data[e]?"rtl"===this.data[e]._dir:!1)},getCode:function(){return t},rtl:!1,add:function(t,n){var r=e[t];r||(e[t]=r={});for(var i in n)r[i]=n[i];this.setCode(t)},translate:function(n){var r;if(r=e[t],r||(r={}),"undefined"==typeof n)return n;if("string"!=typeof n&&n.raw)return n.raw;if(n.push){var i=n.slice(1);n=(r[n[0]]||n[0]).replace(/\{([0-9]+)\}/g,function(e,t){return i[t]})}return(r[n]||n).replace(/{context:\w+}$/,"")},data:e}}),r(ke,[b,u],function(e,t){function n(e){function s(){try{return document.activeElement}catch(e){return document.body}}function l(e,t){if(t&&t.startContainer){if(!e.isChildOf(t.startContainer,e.getRoot())||!e.isChildOf(t.endContainer,e.getRoot()))return;return{startContainer:t.startContainer,startOffset:t.startOffset,endContainer:t.endContainer,endOffset:t.endOffset}}return t}function c(e,t){var n;return t.startContainer?(n=e.getDoc().createRange(),n.setStart(t.startContainer,t.startOffset),n.setEnd(t.endContainer,t.endOffset)):n=t,n}function u(e){return!!a.getParent(e,n.isEditorUIElement)}function d(n){var d=n.editor;d.on("init",function(){(d.inline||t.ie)&&("onbeforedeactivate"in document&&t.ie<9?d.dom.bind(d.getBody(),"beforedeactivate",function(e){if(e.target==d.getBody())try{d.lastRng=d.selection.getRng()}catch(t){}}):d.on("nodechange mouseup keyup",function(e){var t=s();"nodechange"==e.type&&e.selectionChange||(t&&t.id==d.id+"_ifr"&&(t=d.getBody()),d.dom.isChildOf(t,d.getBody())&&(d.lastRng=d.selection.getRng()))}),t.webkit&&!r&&(r=function(){var t=e.activeEditor;if(t&&t.selection){var n=t.selection.getRng();n&&!n.collapsed&&(d.lastRng=n)}},a.bind(document,"selectionchange",r)))}),d.on("setcontent",function(){d.lastRng=null}),d.on("mousedown",function(){d.selection.lastFocusBookmark=null}),d.on("focusin",function(){var t=e.focusedEditor;d.selection.lastFocusBookmark&&(d.selection.setRng(c(d,d.selection.lastFocusBookmark)),d.selection.lastFocusBookmark=null),t!=d&&(t&&t.fire("blur",{focusedEditor:d}),e.setActive(d),e.focusedEditor=d,d.fire("focus",{blurredEditor:t}),d.focus(!0)),d.lastRng=null}),d.on("focusout",function(){window.setTimeout(function(){var t=e.focusedEditor;u(s())||t!=d||(d.fire("blur",{focusedEditor:null}),e.focusedEditor=null,d.selection&&(d.selection.lastFocusBookmark=null))},0)}),i||(i=function(t){var n=e.activeEditor;n&&t.target.ownerDocument==document&&(n.selection&&t.target!=n.getBody()&&(n.selection.lastFocusBookmark=l(n.dom,n.lastRng)),t.target==document.body||u(t.target)||e.focusedEditor!=n||(n.fire("blur",{focusedEditor:null}),e.focusedEditor=null))},a.bind(document,"focusin",i)),d.inline&&!o&&(o=function(t){var n=e.activeEditor;if(n.inline&&!n.dom.isChildOf(t.target,n.getBody())){var r=n.selection.getRng();r.collapsed||(n.lastRng=r)}},a.bind(document,"mouseup",o))}function f(t){e.focusedEditor==t.editor&&(e.focusedEditor=null),e.activeEditor||(a.unbind(document,"selectionchange",r),a.unbind(document,"focusin",i),a.unbind(document,"mouseup",o),r=i=o=null)}e.on("AddEditor",d),e.on("RemoveEditor",f)}var r,i,o,a=e.DOM;return n.isEditorUIElement=function(e){return-1!==e.className.toString().indexOf("mce-")},n}),r(Te,[Ne,h,b,U,u,f,K,Se,ke],function(e,t,n,r,i,o,a,s,l){function c(e){m(b.editors,function(t){t.fire("ResizeWindow",e)})}function u(e,n){n!==x&&(n?t(window).on("resize",c):t(window).off("resize",c),x=n)}function d(e){var t=b.editors,n;delete t[e.id];for(var r=0;r0&&m(p(e),function(e){var n;(n=h.get(e))?r(e,t,n):m(document.forms,function(n){m(n.elements,function(n){n.name===e&&(e="mce_editor_"+v++,h.setAttrib(n,"id",e),r(e,t,n))})})});break;case"textareas":case"specific_textareas":m(h.select("textarea"),function(e){t.editor_deselector&&o(e,t.editor_deselector)||(!t.editor_selector||o(e,t.editor_selector))&&r(n(e),t,e)})}t.oninit&&(e=s=0,m(l,function(t){s++,t.initialized?e++:t.on("init",function(){e++,e==s&&i("oninit")}),e==s&&i("oninit")}))}var s=this,l=[];s.settings=t,h.bind(window,"ready",a)},get:function(e){return arguments.length?e in this.editors?this.editors[e]:null:this.editors},add:function(e){var t=this,n=t.editors;return n[e.id]=e,n.push(e),u(n,!0),t.activeEditor=e,t.fire("AddEditor",{editor:e}),y||(y=function(){t.fire("BeforeUnload")},h.bind(window,"beforeunload",y)),e},createEditor:function(t,n){return this.add(new e(t,n,this))},remove:function(e){var t=this,n,r=t.editors,i;{if(e)return"string"==typeof e?(e=e.selector||e,void m(h.select(e),function(e){i=r[e.id],i&&t.remove(i)})):(i=e,r[i.id]?(d(i)&&t.fire("RemoveEditor",{editor:i}),r.length||h.unbind(window,"beforeunload",y),i.remove(),u(r,r.length>0),i):null);for(n=r.length-1;n>=0;n--)t.remove(r[n])}},execCommand:function(t,n,r){var i=this,o=i.get(r);switch(t){case"mceAddEditor":return i.get(r)||new e(r,i.settings,i).render(),!0;case"mceRemoveEditor":return o&&o.remove(),!0;case"mceToggleEditor":return o?(o.isHidden()?o.show():o.hide(),!0):(i.execCommand("mceAddEditor",0,r),!0)}return i.activeEditor?i.activeEditor.execCommand(t,n,r):!1},triggerSave:function(){m(this.editors,function(e){e.save()})},addI18n:function(e,t){s.add(e,t)},translate:function(e){return s.translate(e)},setActive:function(e){var t=this.activeEditor;this.activeEditor!=e&&(t&&t.fire("deactivate",{relatedTarget:e}),e.fire("activate",{relatedTarget:t})),this.activeEditor=e}},g(b,a),b.setup(),window.tinymce=window.tinyMCE=b,b}),r(Re,[Te,f],function(e,t){var n=t.each,r=t.explode;e.on("AddEditor",function(e){var t=e.editor;t.on("preInit",function(){function e(e,t){n(t,function(t,n){t&&s.setStyle(e,n,t)}),s.rename(e,"span")}function i(e){s=t.dom,l.convert_fonts_to_spans&&n(s.select("font,u,strike",e.node),function(e){o[e.nodeName.toLowerCase()](s,e)})}var o,a,s,l=t.settings;l.inline_styles&&(a=r(l.font_size_legacy_values),o={font:function(t,n){e(n,{backgroundColor:n.style.backgroundColor,color:n.color,fontFamily:n.face,fontSize:a[parseInt(n.size,10)-1]})},u:function(n,r){"html4"===t.settings.schema&&e(r,{textDecoration:"underline"})},strike:function(t,n){e(n,{textDecoration:"line-through"})}},t.on("PreProcess SetContent",i))})})}),r(Ae,[K,f],function(e,t){var n={send:function(e){function r(){!e.async||4==i.readyState||o++>1e4?(e.success&&1e4>o&&200==i.status?e.success.call(e.success_scope,""+i.responseText,i,e):e.error&&e.error.call(e.error_scope,o>1e4?"TIMED_OUT":"GENERAL",i,e),i=null):setTimeout(r,10)}var i,o=0;if(e.scope=e.scope||this,e.success_scope=e.success_scope||e.scope,e.error_scope=e.error_scope||e.scope,e.async=e.async===!1?!1:!0,e.data=e.data||"",i=new XMLHttpRequest){if(i.overrideMimeType&&i.overrideMimeType(e.content_type),i.open(e.type||(e.data?"POST":"GET"),e.url,e.async),e.crossDomain&&(i.withCredentials=!0),e.content_type&&i.setRequestHeader("Content-Type",e.content_type),e.requestheaders&&t.each(e.requestheaders,function(e){i.setRequestHeader(e.key,e.value)}),i.setRequestHeader("X-Requested-With","XMLHttpRequest"),i=n.fire("beforeSend",{xhr:i,settings:e}).xhr,i.send(e.data),!e.async)return r();setTimeout(r,10)}}};return t.extend(n,e),n}),r(Be,[],function(){function e(t,n){var r,i,o,a;if(n=n||'"',null===t)return"null";if(o=typeof t,"string"==o)return i="\bb t\nn\ff\rr\"\"''\\\\",n+t.replace(/([\u0080-\uFFFF\x00-\x1f\"\'\\])/g,function(e,t){return'"'===n&&"'"===e?e:(r=i.indexOf(t),r+1?"\\"+i.charAt(r+1):(e=t.charCodeAt().toString(16),"\\u"+"0000".substring(e.length)+e))})+n;if("object"==o){if(t.hasOwnProperty&&"[object Array]"===Object.prototype.toString.call(t)){for(r=0,i="[";r0?",":"")+e(t[r],n);return i+"]"}i="{";for(a in t)t.hasOwnProperty(a)&&(i+="function"!=typeof t[a]?(i.length>1?","+n:n)+a+n+":"+e(t[a],n):"");return i+"}"}return""+t}return{serialize:e,parse:function(e){try{return window[String.fromCharCode(101)+"val"]("("+e+")")}catch(t){}}}}),r(De,[Be,Ae,f],function(e,t,n){function r(e){this.settings=i({},e),this.count=0}var i=n.extend;return r.sendRPC=function(e){return(new r).send(e)},r.prototype={send:function(n){var r=n.error,o=n.success;n=i(this.settings,n),n.success=function(t,i){t=e.parse(t),"undefined"==typeof t&&(t={error:"JSON Parse error."}),t.error?r.call(n.error_scope||n.scope,t.error,i):o.call(n.success_scope||n.scope,t.result)},n.error=function(e,t){r&&r.call(n.error_scope||n.scope,e,t)},n.data=e.serialize({id:n.id||"c"+this.count++,method:n.method,params:n.params}),n.content_type="application/json",t.send(n)}},r}),r(Le,[b],function(e){return{callbacks:{},count:0,send:function(n){var r=this,i=e.DOM,o=n.count!==t?n.count:r.count,a="tinymce_jsonp_"+o;r.callbacks[o]=function(e){i.remove(a),delete r.callbacks[o],n.callback(e)},i.add(i.doc.body,"script",{id:a,src:n.url,type:"text/javascript"}),r.count++}}}),r(Me,[],function(){function e(){s=[];for(var e in a)s.push(e);i.length=s.length}function n(){function n(e){var n,r;return r=e!==t?u+e:i.indexOf(",",u),-1===r||r>i.length?null:(n=i.substring(u,r),u=r+1,n)}var r,i,s,u=0;if(a={},c){o.load(l),i=o.getAttribute(l)||"";do{var d=n();if(null===d)break;if(r=n(parseInt(d,32)||0),null!==r){if(d=n(),null===d)break;s=n(parseInt(d,32)||0),r&&(a[r]=s)}}while(null!==r);e()}}function r(){var t,n="";if(c){for(var r in a)t=a[r],n+=(n?",":"")+r.length.toString(32)+","+r+","+t.length.toString(32)+","+t;o.setAttribute(l,n);try{o.save(l)}catch(i){}e()}}var i,o,a,s,l,c;try{if(window.localStorage)return localStorage}catch(u){}return l="tinymce",o=document.documentElement,c=!!o.addBehavior,c&&o.addBehavior("#default#userData"),i={key:function(e){return s[e]},getItem:function(e){return e in a?a[e]:null},setItem:function(e,t){a[e]=""+t,r()},removeItem:function(e){delete a[e],r()},clear:function(){a={},r()}},n(),i}),r(He,[b,l,x,C,f,u],function(e,t,n,r,i,o){var a=window.tinymce;return a.DOM=e.DOM,a.ScriptLoader=n.ScriptLoader,a.PluginManager=r.PluginManager,a.ThemeManager=r.ThemeManager,a.dom=a.dom||{},a.dom.Event=t.Event,i.each(i,function(e,t){a[t]=e}),i.each("isOpera isWebKit isIE isGecko isMac".split(" "),function(e){a[e]=o[e.substr(2).toLowerCase()]}),{}}),r(Pe,[$,f],function(e,t){return e.extend({Defaults:{firstControlClass:"first",lastControlClass:"last"},init:function(e){this.settings=t.extend({},this.Defaults,e)},preRender:function(e){e.bodyClasses.add(this.settings.containerClass)},applyClasses:function(e){var t=this,n=t.settings,r,i,o,a;r=n.firstControlClass,i=n.lastControlClass,e.each(function(e){e.classes.remove(r).remove(i).add(n.controlClass),e.visible()&&(o||(o=e),a=e)}),o&&o.classes.add(r),a&&a.classes.add(i)},renderHtml:function(e){var t=this,n="";return t.applyClasses(e.items()),e.items().each(function(e){n+=e.renderHtml()}),n},recalc:function(){},postRender:function(){},isNative:function(){return!1}})}),r(Oe,[Pe],function(e){return e.extend({Defaults:{containerClass:"abs-layout",controlClass:"abs-layout-item"},recalc:function(e){e.items().filter(":visible").each(function(e){var t=e.settings;e.layoutRect({x:t.x,y:t.y,w:t.w,h:t.h}),e.recalc&&e.recalc()})},renderHtml:function(e){return'
                '+this._super(e)}})}),r(Ie,[te,le],function(e,t){return e.extend({Mixins:[t],Defaults:{classes:"widget tooltip tooltip-n"},renderHtml:function(){var e=this,t=e.classPrefix;return'"},bindStates:function(){var e=this;return e.state.on("change:text",function(t){e.getEl().lastChild.innerHTML=e.encode(t.value)}),e._super()},repaint:function(){var e=this,t,n;t=e.getEl().style,n=e._layoutRect,t.left=n.x+"px",t.top=n.y+"px",t.zIndex=131070}})}),r(Fe,[te,Ie],function(e,t){var n,r=e.extend({init:function(e){var t=this;t._super(e),e=t.settings,t.canFocus=!0,e.tooltip&&r.tooltips!==!1&&(t.on("mouseenter",function(n){var r=t.tooltip().moveTo(-65535);if(n.control==t){var i=r.text(e.tooltip).show().testMoveRel(t.getEl(),["bc-tc","bc-tl","bc-tr"]);r.classes.toggle("tooltip-n","bc-tc"==i),r.classes.toggle("tooltip-nw","bc-tl"==i),r.classes.toggle("tooltip-ne","bc-tr"==i),r.moveRel(t.getEl(),i)}else r.hide()}),t.on("mouseleave mousedown click",function(){t.tooltip().hide()})),t.aria("label",e.ariaLabel||e.tooltip)},tooltip:function(){return n||(n=new t({type:"tooltip"}),n.renderTo()),n},postRender:function(){var e=this,t=e.settings;e._super(),e.parent()||!t.width&&!t.height||(e.initLayoutRect(),e.repaint()),t.autofocus&&e.focus()},bindStates:function(){function e(e){n.aria("disabled",e),n.classes.toggle("disabled",e)}function t(e){n.aria("pressed",e),n.classes.toggle("active",e)}var n=this;return n.state.on("change:disabled",function(t){e(t.value)}),n.state.on("change:active",function(e){t(e.value)}),n.state.get("disabled")&&e(!0),n.state.get("active")&&t(!0),n._super()},remove:function(){this._super(),n&&(n.remove(),n=null)}});return r}),r(ze,[Fe],function(e){return e.extend({Defaults:{classes:"widget btn",role:"button"},init:function(e){var t=this,n;t._super(e),e=t.settings,n=t.settings.size,t.on("click mousedown",function(e){e.preventDefault()}),t.on("touchstart",function(e){t.fire("click",e),e.preventDefault()}),e.subtype&&t.classes.add(e.subtype),n&&t.classes.add("btn-"+n),e.icon&&t.icon(e.icon)},icon:function(e){return arguments.length?(this.state.set("icon",e),this):this.state.get("icon")},repaint:function(){var e=this.getEl().firstChild,t;e&&(t=e.style,t.width=t.height="100%"),this._super()},renderHtml:function(){var e=this,t=e._id,n=e.classPrefix,r=e.state.get("icon"),i,o=e.state.get("text");return i=e.settings.image,i?(r="none","string"!=typeof i&&(i=window.getSelection?i[0]:i[1]),i=" style=\"background-image: url('"+i+"')\""):i="",o&&e.classes.add("btn-has-text"),r=e.settings.icon?n+"ico "+n+"i-"+r:"",'
                "},bindStates:function(){function e(e){for(var n=t.getEl().firstChild.firstChild;n;n=n.nextSibling)3==n.nodeType&&(n.data=t.translate(e));t.classes.toggle("btn-has-text",!!e)}var t=this;return t.state.on("change:text",function(t){e(t.value)}),t.state.on("change:icon",function(n){var r=n.value,i=t.classPrefix;t.settings.icon=r,r=r?i+"ico "+i+"i-"+t.settings.icon:"";var o=t.getEl().firstChild,a=o.getElementsByTagName("i")[0];r?(a&&a==o.firstChild||(a=document.createElement("i"),o.insertBefore(a,o.firstChild)),a.className=r):a&&o.removeChild(a),e(t.state.get("text"))}),t._super()}})}),r(We,[ie],function(e){return e.extend({Defaults:{defaultType:"button",role:"group"},renderHtml:function(){var e=this,t=e._layout;return e.classes.add("btn-group"),e.preRender(),t.preRender(e),'
                '+(e.settings.html||"")+t.renderHtml(e)+"
                "}})}),r(Ve,[Fe],function(e){return e.extend({Defaults:{classes:"checkbox",role:"checkbox",checked:!1},init:function(e){var t=this;t._super(e),t.on("click mousedown",function(e){e.preventDefault()}),t.on("click",function(e){e.preventDefault(),t.disabled()||t.checked(!t.checked())}),t.checked(t.settings.checked)},checked:function(e){return arguments.length?(this.state.set("checked",e),this):this.state.get("checked")},value:function(e){return arguments.length?this.checked(e):this.checked()},renderHtml:function(){var e=this,t=e._id,n=e.classPrefix;return'
                '+e.encode(e.state.get("text"))+"
                "},bindStates:function(){function e(e){t.classes.toggle("checked",e),t.aria("checked",e)}var t=this;return t.state.on("change:text",function(e){t.getEl("al").firstChild.data=t.translate(e.value)}),t.state.on("change:checked change:value",function(n){t.fire("change"),e(n.value)}),t.state.on("change:icon",function(e){var n=e.value,r=t.classPrefix;if("undefined"==typeof n)return t.settings.icon;t.settings.icon=n,n=n?r+"ico "+r+"i-"+t.settings.icon:"";var i=t.getEl().firstChild,o=i.getElementsByTagName("i")[0];n?(o&&o==i.firstChild||(o=document.createElement("i"),i.insertBefore(o,i.firstChild)),o.className=n):o&&i.removeChild(o)}),t.state.get("checked")&&e(!0),t._super()}})}),r(Ue,[Fe,ne,J,h],function(e,t,n,r){return e.extend({init:function(e){var t=this;t._super(e),e=t.settings,t.classes.add("combobox"),t.subinput=!0,t.ariaTarget="inp",e.menu=e.menu||e.values,e.menu&&(e.icon="caret"),t.on("click",function(n){var i=n.target,o=t.getEl();if(r.contains(o,i)||i==o)for(;i&&i!=o;)i.id&&-1!=i.id.indexOf("-open")&&(t.fire("action"),e.menu&&(t.showMenu(),n.aria&&t.menu.items()[0].focus())),i=i.parentNode}),t.on("keydown",function(e){"INPUT"==e.target.nodeName&&13==e.keyCode&&t.parents().reverse().each(function(n){var r=t.state.get("value"),i=t.getEl("inp").value;return e.preventDefault(),t.state.set("value",i),r!=i&&t.fire("change"),n.hasEventListeners("submit")&&n.toJSON?(n.fire("submit",{data:n.toJSON()}),!1):void 0})}),t.on("keyup",function(e){"INPUT"==e.target.nodeName&&t.state.set("value",e.target.value)})},showMenu:function(){var e=this,n=e.settings,r;e.menu||(r=n.menu||[],r.length?r={type:"menu",items:r}:r.type=r.type||"menu",e.menu=t.create(r).parent(e).renderTo(e.getContainerElm()),e.fire("createmenu"),e.menu.reflow(),e.menu.on("cancel",function(t){t.control===e.menu&&e.focus()}),e.menu.on("show hide",function(t){t.control.items().each(function(t){t.active(t.value()==e.value())})}).fire("show"),e.menu.on("select",function(t){e.value(t.control.value())}),e.on("focusin",function(t){"INPUT"==t.target.tagName.toUpperCase()&&e.menu.hide()}),e.aria("expanded",!0)),e.menu.show(),e.menu.layoutRect({w:e.layoutRect().w}),e.menu.moveRel(e.getEl(),e.isRtl()?["br-tr","tr-br"]:["bl-tl","tl-bl"])},focus:function(){this.getEl("inp").focus()},repaint:function(){var e=this,t=e.getEl(),i=e.getEl("open"),o=e.layoutRect(),a,s;a=i?o.w-n.getSize(i).width-10:o.w-10;var l=document;return l.all&&(!l.documentMode||l.documentMode<=8)&&(s=e.layoutRect().h-2+"px"),r(t.firstChild).css({width:a,lineHeight:s}),e._super(),e},postRender:function(){var e=this;return r(this.getEl("inp")).on("change",function(t){e.state.set("value",t.target.value),e.fire("change",t)}),e._super()},renderHtml:function(){var e=this,t=e._id,n=e.settings,r=e.classPrefix,i=e.state.get("value")||"",o,a,s="",l="";return"spellcheck"in n&&(l+=' spellcheck="'+n.spellcheck+'"'),n.maxLength&&(l+=' maxlength="'+n.maxLength+'"'),n.size&&(l+=' size="'+n.size+'"'),n.subtype&&(l+=' type="'+n.subtype+'"'),e.disabled()&&(l+=' disabled="disabled"'),o=n.icon,o&&"caret"!=o&&(o=r+"ico "+r+"i-"+n.icon),a=e.state.get("text"),(o||a)&&(s='
                ",e.classes.add("has-open")),'
                '+s+"
                "},value:function(e){return arguments.length?(this.state.set("value",e),this):(this.state.get("rendered")&&this.state.set("value",this.getEl("inp").value),this.state.get("value"))},bindStates:function(){var e=this;return e.state.on("change:value",function(t){e.getEl("inp").value!=t.value&&(e.getEl("inp").value=t.value)}),e.state.on("change:disabled",function(t){e.getEl("inp").disabled=t.value}),e._super()},remove:function(){r(this.getEl("inp")).off(),this._super()}})}),r($e,[Ue],function(e){return e.extend({init:function(e){var t=this;e.spellcheck=!1,e.onaction&&(e.icon="none"),t._super(e),t.classes.add("colorbox"),t.on("change keyup postrender",function(){t.repaintColor(t.value())})},repaintColor:function(e){var t=this.getEl().getElementsByTagName("i")[0];if(t)try{t.style.background=e}catch(n){}},bindStates:function(){var e=this;return e.state.on("change:value",function(t){e._rendered&&e.repaintColor(t.value)}),e._super()}})}),r(qe,[ze,ue],function(e,t){return e.extend({showPanel:function(){var e=this,n=e.settings;if(e.active(!0),e.panel)e.panel.show();else{var r=n.panel;r.type&&(r={layout:"grid",items:r}),r.role=r.role||"dialog",r.popover=!0,r.autohide=!0,r.ariaRoot=!0,e.panel=new t(r).on("hide",function(){e.active(!1)}).on("cancel",function(t){t.stopPropagation(),e.focus(),e.hidePanel()}).parent(e).renderTo(e.getContainerElm()),e.panel.fire("show"),e.panel.reflow()}e.panel.moveRel(e.getEl(),n.popoverAlign||(e.isRtl()?["bc-tr","bc-tc"]:["bc-tl","bc-tc"]))},hidePanel:function(){var e=this;e.panel&&e.panel.hide()},postRender:function(){var e=this;return e.aria("haspopup",!0),e.on("click",function(t){t.control===e&&(e.panel&&e.panel.visible()?e.hidePanel():(e.showPanel(),e.panel.focus(!!t.aria)))}),e._super()},remove:function(){return this.panel&&(this.panel.remove(),this.panel=null),this._super()}})}),r(je,[qe,b],function(e,t){var n=t.DOM;return e.extend({init:function(e){this._super(e),this.classes.add("colorbutton")},color:function(e){return e?(this._color=e,this.getEl("preview").style.backgroundColor=e,this):this._color},resetColor:function(){return this._color=null,this.getEl("preview").style.backgroundColor=null,this},renderHtml:function(){var e=this,t=e._id,n=e.classPrefix,r=e.state.get("text"),i=e.settings.icon?n+"ico "+n+"i-"+e.settings.icon:"",o=e.settings.image?" style=\"background-image: url('"+e.settings.image+"')\"":""; +return'
                '},postRender:function(){var e=this,t=e.settings.onclick;return e.on("click",function(r){r.aria&&"down"==r.aria.key||r.control!=e||n.getParent(r.target,"."+e.classPrefix+"open")||(r.stopImmediatePropagation(),t.call(e,r))}),delete e.settings.onclick,e._super()}})}),r(Ke,[],function(){function e(e){function i(e,i,o){var a,s,l,c,u,d;return a=0,s=0,l=0,e/=255,i/=255,o/=255,u=t(e,t(i,o)),d=n(e,n(i,o)),u==d?(l=u,{h:0,s:0,v:100*l}):(c=e==u?i-o:o==u?e-i:o-e,a=e==u?3:o==u?1:5,a=60*(a-c/(d-u)),s=(d-u)/d,l=d,{h:r(a),s:r(100*s),v:r(100*l)})}function o(e,i,o){var a,s,l,c;if(e=(parseInt(e,10)||0)%360,i=parseInt(i,10)/100,o=parseInt(o,10)/100,i=n(0,t(i,1)),o=n(0,t(o,1)),0===i)return void(d=f=h=r(255*o));switch(a=e/60,s=o*i,l=s*(1-Math.abs(a%2-1)),c=o-s,Math.floor(a)){case 0:d=s,f=l,h=0;break;case 1:d=l,f=s,h=0;break;case 2:d=0,f=s,h=l;break;case 3:d=0,f=l,h=s;break;case 4:d=l,f=0,h=s;break;case 5:d=s,f=0,h=l;break;default:d=f=h=0}d=r(255*(d+c)),f=r(255*(f+c)),h=r(255*(h+c))}function a(){function e(e){return e=parseInt(e,10).toString(16),e.length>1?e:"0"+e}return"#"+e(d)+e(f)+e(h)}function s(){return{r:d,g:f,b:h}}function l(){return i(d,f,h)}function c(e){var t;return"object"==typeof e?"r"in e?(d=e.r,f=e.g,h=e.b):"v"in e&&o(e.h,e.s,e.v):(t=/rgb\s*\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)[^\)]*\)/gi.exec(e))?(d=parseInt(t[1],10),f=parseInt(t[2],10),h=parseInt(t[3],10)):(t=/#([0-F]{2})([0-F]{2})([0-F]{2})/gi.exec(e))?(d=parseInt(t[1],16),f=parseInt(t[2],16),h=parseInt(t[3],16)):(t=/#([0-F])([0-F])([0-F])/gi.exec(e))&&(d=parseInt(t[1]+t[1],16),f=parseInt(t[2]+t[2],16),h=parseInt(t[3]+t[3],16)),d=0>d?0:d>255?255:d,f=0>f?0:f>255?255:f,h=0>h?0:h>255?255:h,u}var u=this,d=0,f=0,h=0;e&&c(e),u.toRgb=s,u.toHsv=l,u.toHex=a,u.parse=c}var t=Math.min,n=Math.max,r=Math.round;return e}),r(Ye,[Fe,oe,J,Ke],function(e,t,n,r){return e.extend({Defaults:{classes:"widget colorpicker"},init:function(e){this._super(e)},postRender:function(){function e(e,t){var r=n.getPos(e),i,o;return i=t.pageX-r.x,o=t.pageY-r.y,i=Math.max(0,Math.min(i/e.clientWidth,1)),o=Math.max(0,Math.min(o/e.clientHeight,1)),{x:i,y:o}}function i(e,t){var i=(360-e.h)/360;n.css(d,{top:100*i+"%"}),t||n.css(h,{left:e.s+"%",top:100-e.v+"%"}),f.style.background=new r({s:100,v:100,h:e.h}).toHex(),s.color().parse({s:e.s,v:e.v,h:e.h})}function o(t){var n;n=e(f,t),c.s=100*n.x,c.v=100*(1-n.y),i(c),s.fire("change")}function a(t){var n;n=e(u,t),c=l.toHsv(),c.h=360*(1-n.y),i(c,!0),s.fire("change")}var s=this,l=s.color(),c,u,d,f,h;u=s.getEl("h"),d=s.getEl("hp"),f=s.getEl("sv"),h=s.getEl("svp"),s._repaint=function(){c=l.toHsv(),i(c)},s._super(),s._svdraghelper=new t(s._id+"-sv",{start:o,drag:o}),s._hdraghelper=new t(s._id+"-h",{start:a,drag:a}),s._repaint()},rgb:function(){return this.color().toRgb()},value:function(e){var t=this;return arguments.length?(t.color().parse(e),void(t._rendered&&t._repaint())):t.color().toHex()},color:function(){return this._color||(this._color=new r),this._color},renderHtml:function(){function e(){var e,t,n="",i,a;for(i="filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=",a=o.split(","),e=0,t=a.length-1;t>e;e++)n+='
                ';return n}var t=this,n=t._id,r=t.classPrefix,i,o="#ff0000,#ff0080,#ff00ff,#8000ff,#0000ff,#0080ff,#00ffff,#00ff80,#00ff00,#80ff00,#ffff00,#ff8000,#ff0000",a="background: -ms-linear-gradient(top,"+o+");background: linear-gradient(to bottom,"+o+");";return i='
                '+e()+'
                ','
                '+i+"
                "}})}),r(Ge,[Fe],function(e){return e.extend({init:function(e){var t=this;e.delimiter||(e.delimiter="\xbb"),t._super(e),t.classes.add("path"),t.canFocus=!0,t.on("click",function(e){var n,r=e.target;(n=r.getAttribute("data-index"))&&t.fire("select",{value:t.row()[n],index:n})}),t.row(t.settings.row)},focus:function(){var e=this;return e.getEl().firstChild.focus(),e},row:function(e){return arguments.length?(this.state.set("row",e),this):this.state.get("row")},renderHtml:function(){var e=this;return'
                '+e._getDataPathHtml(e.state.get("row"))+"
                "},bindStates:function(){var e=this;return e.state.on("change:row",function(t){e.innerHtml(e._getDataPathHtml(t.value))}),e._super()},_getDataPathHtml:function(e){var t=this,n=e||[],r,i,o="",a=t.classPrefix;for(r=0,i=n.length;i>r;r++)o+=(r>0?'":"")+'
                '+n[r].name+"
                ";return o||(o='
                \xa0
                '),o}})}),r(Xe,[Ge,Te],function(e,t){return e.extend({postRender:function(){function e(e){if(1===e.nodeType){if("BR"==e.nodeName||e.getAttribute("data-mce-bogus"))return!0;if("bookmark"===e.getAttribute("data-mce-type"))return!0}return!1}var n=this,r=t.activeEditor;return r.settings.elementpath!==!1&&(n.on("select",function(e){r.focus(),r.selection.select(this.row()[e.index].element),r.nodeChanged()}),r.on("nodeChange",function(t){for(var i=[],o=t.parents,a=o.length;a--;)if(1==o[a].nodeType&&!e(o[a])){var s=r.fire("ResolveName",{name:o[a].nodeName.toLowerCase(),target:o[a]});if(s.isDefaultPrevented()||i.push({name:s.name,element:o[a]}),s.isPropagationStopped())break}n.row(i)})),n._super()}})}),r(Je,[ie],function(e){return e.extend({Defaults:{layout:"flex",align:"center",defaults:{flex:1}},renderHtml:function(){var e=this,t=e._layout,n=e.classPrefix;return e.classes.add("formitem"),t.preRender(e),'
                '+(e.settings.title?'
                '+e.settings.title+"
                ":"")+'
                '+(e.settings.html||"")+t.renderHtml(e)+"
                "}})}),r(Qe,[ie,Je,f],function(e,t,n){return e.extend({Defaults:{containerCls:"form",layout:"flex",direction:"column",align:"stretch",flex:1,padding:20,labelGap:30,spacing:10,callbacks:{submit:function(){this.submit()}}},preRender:function(){var e=this,r=e.items();e.settings.formItemDefaults||(e.settings.formItemDefaults={layout:"flex",autoResize:"overflow",defaults:{flex:1}}),r.each(function(r){var i,o=r.settings.label;o&&(i=new t(n.extend({items:{type:"label",id:r._id+"-l",text:o,flex:0,forId:r._id,disabled:r.disabled()}},e.settings.formItemDefaults)),i.type="formitem",r.aria("labelledby",r._id+"-l"),"undefined"==typeof r.settings.flex&&(r.settings.flex=1),e.replace(r,i),i.add(r))})},submit:function(){return this.fire("submit",{data:this.toJSON()})},postRender:function(){var e=this;e._super(),e.fromJSON(e.settings.data)},bindStates:function(){function e(){var e=0,n=[],r,i,o;if(t.settings.labelGapCalc!==!1)for(o="children"==t.settings.labelGapCalc?t.find("formitem"):t.items(),o.filter("formitem").each(function(t){var r=t.items()[0],i=r.getEl().clientWidth;e=i>e?i:e,n.push(r)}),i=t.settings.labelGap||0,r=n.length;r--;)n[r].settings.minWidth=e+i}var t=this;t._super(),t.on("show",e),e()}})}),r(Ze,[Qe],function(e){return e.extend({Defaults:{containerCls:"fieldset",layout:"flex",direction:"column",align:"stretch",flex:1,padding:"25 15 5 15",labelGap:30,spacing:10,border:1},renderHtml:function(){var e=this,t=e._layout,n=e.classPrefix;return e.preRender(),t.preRender(e),'
                '+(e.settings.title?''+e.settings.title+"":"")+'
                '+(e.settings.html||"")+t.renderHtml(e)+"
                "}})}),r(et,[Ue,f],function(e,t){return e.extend({init:function(e){var n=this,r=tinymce.activeEditor,i=r.settings,o,a,s;e.spellcheck=!1,s=i.file_picker_types||i.file_browser_callback_types,s&&(s=t.makeMap(s,/[, ]/)),(!s||s[e.filetype])&&(a=i.file_picker_callback,!a||s&&!s[e.filetype]?(a=i.file_browser_callback,!a||s&&!s[e.filetype]||(o=function(){a(n.getEl("inp").id,n.value(),e.filetype,window)})):o=function(){var i=n.fire("beforecall").meta;i=t.extend({filetype:e.filetype},i),a.call(r,function(e,t){n.value(e).fire("change",{meta:t})},n.value(),i)}),o&&(e.icon="browse",e.onaction=o),n._super(e)}})}),r(tt,[Oe],function(e){return e.extend({recalc:function(e){var t=e.layoutRect(),n=e.paddingBox;e.items().filter(":visible").each(function(e){e.layoutRect({x:n.left,y:n.top,w:t.innerW-n.right-n.left,h:t.innerH-n.top-n.bottom}),e.recalc&&e.recalc()})}})}),r(nt,[Oe],function(e){return e.extend({recalc:function(e){var t,n,r,i,o,a,s,l,c,u,d,f,h,p,m,g,v=[],y,b,x,C,w,_,E,N,S,k,T,R,A,B,D,L,M,H,P,O,I,F,z=Math.max,W=Math.min;for(r=e.items().filter(":visible"),i=e.layoutRect(),o=e.paddingBox,a=e.settings,f=e.isRtl()?a.direction||"row-reversed":a.direction,s=a.align,l=e.isRtl()?a.pack||"end":a.pack,c=a.spacing||0,("row-reversed"==f||"column-reverse"==f)&&(r=r.set(r.toArray().reverse()),f=f.split("-")[0]),"column"==f?(S="y",E="h",N="minH",k="maxH",R="innerH",T="top",A="deltaH",B="contentH",P="left",M="w",D="x",L="innerW",H="minW",O="right",I="deltaW",F="contentW"):(S="x",E="w",N="minW",k="maxW",R="innerW",T="left",A="deltaW",B="contentW",P="top",M="h",D="y",L="innerH",H="minH",O="bottom",I="deltaH",F="contentH"),d=i[R]-o[T]-o[T],_=u=0,t=0,n=r.length;n>t;t++)h=r[t],p=h.layoutRect(),m=h.settings,g=m.flex,d-=n-1>t?c:0,g>0&&(u+=g,p[k]&&v.push(h),p.flex=g),d-=p[N],y=o[P]+p[H]+o[O],y>_&&(_=y);if(C={},0>d?C[N]=i[N]-d+i[A]:C[N]=i[R]-d+i[A],C[H]=_+i[I],C[B]=i[R]-d,C[F]=_,C.minW=W(C.minW,i.maxW),C.minH=W(C.minH,i.maxH),C.minW=z(C.minW,i.startMinWidth),C.minH=z(C.minH,i.startMinHeight),!i.autoResize||C.minW==i.minW&&C.minH==i.minH){for(x=d/u,t=0,n=v.length;n>t;t++)h=v[t],p=h.layoutRect(),b=p[k],y=p[N]+p.flex*x,y>b?(d-=p[k]-p[N],u-=p.flex,p.flex=0,p.maxFlexSize=b):p.maxFlexSize=0;for(x=d/u,w=o[T],C={},0===u&&("end"==l?w=d+o[T]:"center"==l?(w=Math.round(i[R]/2-(i[R]-d)/2)+o[T],0>w&&(w=o[T])):"justify"==l&&(w=o[T],c=Math.floor(d/(r.length-1)))),C[D]=o[P],t=0,n=r.length;n>t;t++)h=r[t],p=h.layoutRect(),y=p.maxFlexSize||p[N],"center"===s?C[D]=Math.round(i[L]/2-p[M]/2):"stretch"===s?(C[M]=z(p[H]||0,i[L]-o[P]-o[O]),C[D]=o[P]):"end"===s&&(C[D]=i[L]-p[M]-o.top),p.flex>0&&(y+=p.flex*x),C[E]=y,C[S]=w,h.layoutRect(C),h.recalc&&h.recalc(),w+=y+c}else if(C.w=C.minW,C.h=C.minH,e.layoutRect(C),this.recalc(e),null===e._lastRect){var V=e.parent();V&&(V._lastRect=null,V.recalc())}}})}),r(rt,[Pe],function(e){return e.extend({Defaults:{containerClass:"flow-layout",controlClass:"flow-layout-item",endClass:"break"},recalc:function(e){e.items().filter(":visible").each(function(e){e.recalc&&e.recalc()})},isNative:function(){return!0}})}),r(it,[te,Fe,ue,f,Te,u],function(e,t,n,r,i,o){function a(e){function t(t,n){return function(){var r=this;e.on("nodeChange",function(i){var o=e.formatter,a=null;s(i.parents,function(e){return s(t,function(t){return n?o.matchNode(e,n,{value:t.value})&&(a=t.value):o.matchNode(e,t.value)&&(a=t.value),a?!1:void 0}),a?!1:void 0}),r.value(a)})}}function r(e){e=e.replace(/;$/,"").split(";");for(var t=e.length;t--;)e[t]=e[t].split("=");return e}function i(){function t(e){var n=[];if(e)return s(e,function(e){var o={text:e.title,icon:e.icon};if(e.items)o.menu=t(e.items);else{var a=e.format||"custom"+r++;e.format||(e.name=a,i.push(e)),o.format=a,o.cmd=e.cmd}n.push(o)}),n}function n(){var n;return n=t(e.settings.style_formats_merge?e.settings.style_formats?o.concat(e.settings.style_formats):o:e.settings.style_formats||o)}var r=0,i=[],o=[{title:"Headings",items:[{title:"Heading 1",format:"h1"},{title:"Heading 2",format:"h2"},{title:"Heading 3",format:"h3"},{title:"Heading 4",format:"h4"},{title:"Heading 5",format:"h5"},{title:"Heading 6",format:"h6"}]},{title:"Inline",items:[{title:"Bold",icon:"bold",format:"bold"},{title:"Italic",icon:"italic",format:"italic"},{title:"Underline",icon:"underline",format:"underline"},{title:"Strikethrough",icon:"strikethrough",format:"strikethrough"},{title:"Superscript",icon:"superscript",format:"superscript"},{title:"Subscript",icon:"subscript",format:"subscript"},{title:"Code",icon:"code",format:"code"}]},{title:"Blocks",items:[{title:"Paragraph",format:"p"},{title:"Blockquote",format:"blockquote"},{title:"Div",format:"div"},{title:"Pre",format:"pre"}]},{title:"Alignment",items:[{title:"Left",icon:"alignleft",format:"alignleft"},{title:"Center",icon:"aligncenter",format:"aligncenter"},{title:"Right",icon:"alignright",format:"alignright"},{title:"Justify",icon:"alignjustify",format:"alignjustify"}]}];return e.on("init",function(){s(i,function(t){e.formatter.register(t.name,t)})}),{type:"menu",items:n(),onPostRender:function(t){e.fire("renderFormatsMenu",{control:t.control})},itemDefaults:{preview:!0,textStyle:function(){return this.settings.format?e.formatter.getCssText(this.settings.format):void 0},onPostRender:function(){var t=this;t.parent().on("show",function(){var n,r;n=t.settings.format,n&&(t.disabled(!e.formatter.canApply(n)),t.active(e.formatter.match(n))),r=t.settings.cmd,r&&t.active(e.queryCommandState(r))})},onclick:function(){this.settings.format&&c(this.settings.format),this.settings.cmd&&e.execCommand(this.settings.cmd)}}}}function o(t){return function(){var n=this;e.formatter?e.formatter.formatChanged(t,function(e){n.active(e)}):e.on("init",function(){e.formatter.formatChanged(t,function(e){n.active(e)})})}}function a(t){return function(){function n(){return e.undoManager?e.undoManager[t]():!1}var r=this;t="redo"==t?"hasRedo":"hasUndo",r.disabled(!n()),e.on("Undo Redo AddUndo TypingUndo ClearUndos",function(){r.disabled(!n())})}}function l(){var t=this;e.on("VisualAid",function(e){t.active(e.hasVisual)}),t.active(e.hasVisual)}function c(t){t.control&&(t=t.control.value()),t&&e.execCommand("mceToggleFormat",!1,t)}var u;u=i(),s({bold:"Bold",italic:"Italic",underline:"Underline",strikethrough:"Strikethrough",subscript:"Subscript",superscript:"Superscript"},function(t,n){e.addButton(n,{tooltip:t,onPostRender:o(n),onclick:function(){c(n)}})}),s({outdent:["Decrease indent","Outdent"],indent:["Increase indent","Indent"],cut:["Cut","Cut"],copy:["Copy","Copy"],paste:["Paste","Paste"],help:["Help","mceHelp"],selectall:["Select all","SelectAll"],removeformat:["Clear formatting","RemoveFormat"],visualaid:["Visual aids","mceToggleVisualAid"],newdocument:["New document","mceNewDocument"]},function(t,n){e.addButton(n,{tooltip:t[0],cmd:t[1]})}),s({blockquote:["Blockquote","mceBlockQuote"],numlist:["Numbered list","InsertOrderedList"],bullist:["Bullet list","InsertUnorderedList"],subscript:["Subscript","Subscript"],superscript:["Superscript","Superscript"],alignleft:["Align left","JustifyLeft"],aligncenter:["Align center","JustifyCenter"],alignright:["Align right","JustifyRight"],alignjustify:["Justify","JustifyFull"],alignnone:["No alignment","JustifyNone"]},function(t,n){e.addButton(n,{tooltip:t[0],cmd:t[1],onPostRender:o(n)})}),e.addButton("undo",{tooltip:"Undo",onPostRender:a("undo"),cmd:"undo"}),e.addButton("redo",{tooltip:"Redo",onPostRender:a("redo"),cmd:"redo"}),e.addMenuItem("newdocument",{text:"New document",icon:"newdocument",cmd:"mceNewDocument"}),e.addMenuItem("undo",{text:"Undo",icon:"undo",shortcut:"Meta+Z",onPostRender:a("undo"),cmd:"undo"}),e.addMenuItem("redo",{text:"Redo",icon:"redo",shortcut:"Meta+Y",onPostRender:a("redo"),cmd:"redo"}),e.addMenuItem("visualaid",{text:"Visual aids",selectable:!0,onPostRender:l,cmd:"mceToggleVisualAid"}),e.addButton("remove",{tooltip:"Remove",icon:"remove",cmd:"Delete"}),s({cut:["Cut","Cut","Meta+X"],copy:["Copy","Copy","Meta+C"],paste:["Paste","Paste","Meta+V"],selectall:["Select all","SelectAll","Meta+A"],bold:["Bold","Bold","Meta+B"],italic:["Italic","Italic","Meta+I"],underline:["Underline","Underline"],strikethrough:["Strikethrough","Strikethrough"],subscript:["Subscript","Subscript"],superscript:["Superscript","Superscript"],removeformat:["Clear formatting","RemoveFormat"]},function(t,n){e.addMenuItem(n,{text:t[0],icon:n,shortcut:t[2],cmd:t[1]})}),e.on("mousedown",function(){n.hideAll()}),e.addButton("styleselect",{type:"menubutton",text:"Formats",menu:u}),e.addButton("formatselect",function(){var n=[],i=r(e.settings.block_formats||"Paragraph=p;Heading 1=h1;Heading 2=h2;Heading 3=h3;Heading 4=h4;Heading 5=h5;Heading 6=h6;Preformatted=pre");return s(i,function(t){n.push({text:t[0],value:t[1],textStyle:function(){return e.formatter.getCssText(t[1])}})}),{type:"listbox",text:i[0][0],values:n,fixedWidth:!0,onselect:c,onPostRender:t(n)}}),e.addButton("fontselect",function(){var n="Andale Mono=andale mono,monospace;Arial=arial,helvetica,sans-serif;Arial Black=arial black,sans-serif;Book Antiqua=book antiqua,palatino,serif;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,palatino,serif;Helvetica=helvetica,arial,sans-serif;Impact=impact,sans-serif;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco,monospace;Times New Roman=times new roman,times,serif;Trebuchet MS=trebuchet ms,geneva,sans-serif;Verdana=verdana,geneva,sans-serif;Webdings=webdings;Wingdings=wingdings,zapf dingbats",i=[],o=r(e.settings.font_formats||n);return s(o,function(e){i.push({text:{raw:e[0]},value:e[1],textStyle:-1==e[1].indexOf("dings")?"font-family:"+e[1]:""})}),{type:"listbox",text:"Font Family",tooltip:"Font Family",values:i,fixedWidth:!0,onPostRender:t(i,"fontname"),onselect:function(t){t.control.settings.value&&e.execCommand("FontName",!1,t.control.settings.value)}}}),e.addButton("fontsizeselect",function(){var n=[],r="8pt 10pt 12pt 14pt 18pt 24pt 36pt",i=e.settings.fontsize_formats||r;return s(i.split(" "),function(e){var t=e,r=e,i=e.split("=");i.length>1&&(t=i[0],r=i[1]),n.push({text:t,value:r})}),{type:"listbox",text:"Font Sizes",tooltip:"Font Sizes",values:n,fixedWidth:!0,onPostRender:t(n,"fontsize"),onclick:function(t){t.control.settings.value&&e.execCommand("FontSize",!1,t.control.settings.value)}}}),e.addMenuItem("formats",{text:"Formats",menu:u})}var s=r.each;i.on("AddEditor",function(t){t.editor.rtl&&(e.rtl=!0),a(t.editor)}),e.translate=function(e){return i.translate(e)},t.tooltips=!o.iOS}),r(ot,[Oe],function(e){return e.extend({recalc:function(e){var t,n,r,i,o,a,s,l,c,u,d,f,h,p,m,g,v,y,b,x,C,w,_,E=[],N=[],S,k,T,R,A,B;t=e.settings,i=e.items().filter(":visible"),o=e.layoutRect(),r=t.columns||Math.ceil(Math.sqrt(i.length)),n=Math.ceil(i.length/r),y=t.spacingH||t.spacing||0,b=t.spacingV||t.spacing||0,x=t.alignH||t.align,C=t.alignV||t.align,g=e.paddingBox,A="reverseRows"in t?t.reverseRows:e.isRtl(),x&&"string"==typeof x&&(x=[x]),C&&"string"==typeof C&&(C=[C]);for(d=0;r>d;d++)E.push(0);for(f=0;n>f;f++)N.push(0);for(f=0;n>f;f++)for(d=0;r>d&&(u=i[f*r+d],u);d++)c=u.layoutRect(),S=c.minW,k=c.minH,E[d]=S>E[d]?S:E[d],N[f]=k>N[f]?k:N[f];for(T=o.innerW-g.left-g.right,w=0,d=0;r>d;d++)w+=E[d]+(d>0?y:0),T-=(d>0?y:0)+E[d];for(R=o.innerH-g.top-g.bottom,_=0,f=0;n>f;f++)_+=N[f]+(f>0?b:0),R-=(f>0?b:0)+N[f];if(w+=g.left+g.right,_+=g.top+g.bottom,l={},l.minW=w+(o.w-o.innerW),l.minH=_+(o.h-o.innerH),l.contentW=l.minW-o.deltaW,l.contentH=l.minH-o.deltaH,l.minW=Math.min(l.minW,o.maxW),l.minH=Math.min(l.minH,o.maxH),l.minW=Math.max(l.minW,o.startMinWidth),l.minH=Math.max(l.minH,o.startMinHeight),!o.autoResize||l.minW==o.minW&&l.minH==o.minH){o.autoResize&&(l=e.layoutRect(l),l.contentW=l.minW-o.deltaW,l.contentH=l.minH-o.deltaH);var D;D="start"==t.packV?0:R>0?Math.floor(R/n):0;var L=0,M=t.flexWidths;if(M)for(d=0;dd;d++)E[d]+=M?M[d]*H:H;for(p=g.top,f=0;n>f;f++){for(h=g.left,s=N[f]+D,d=0;r>d&&(B=A?f*r+r-1-d:f*r+d,u=i[B],u);d++)m=u.settings,c=u.layoutRect(),a=Math.max(E[d],c.startMinWidth),c.x=h,c.y=p,v=m.alignH||(x?x[d]||x[0]:null),"center"==v?c.x=h+a/2-c.w/2:"right"==v?c.x=h+a-c.w:"stretch"==v&&(c.w=a),v=m.alignV||(C?C[d]||C[0]:null),"center"==v?c.y=p+s/2-c.h/2:"bottom"==v?c.y=p+s-c.h:"stretch"==v&&(c.h=s),u.layoutRect(c),h+=a+y,u.recalc&&u.recalc();p+=s+b}}else if(l.w=l.minW,l.h=l.minH,e.layoutRect(l),this.recalc(e),null===e._lastRect){var P=e.parent();P&&(P._lastRect=null,P.recalc())}}})}),r(at,[Fe],function(e){return e.extend({renderHtml:function(){var e=this;return e.classes.add("iframe"),e.canFocus=!1,''},src:function(e){this.getEl().src=e},html:function(e,t){var n=this,r=this.getEl().contentWindow.document.body;return r?(r.innerHTML=e,t&&t()):setTimeout(function(){n.html(e)},0),this}})}),r(st,[Fe,J],function(e,t){return e.extend({init:function(e){var t=this;t._super(e),t.classes.add("widget").add("label"),t.canFocus=!1,e.multiline&&t.classes.add("autoscroll"),e.strong&&t.classes.add("strong")},initLayoutRect:function(){var e=this,n=e._super();if(e.settings.multiline){var r=t.getSize(e.getEl());r.width>n.maxW&&(n.minW=n.maxW,e.classes.add("multiline")),e.getEl().style.width=n.minW+"px",n.startMinH=n.h=n.minH=Math.min(n.maxH,t.getSize(e.getEl()).height)}return n},repaint:function(){var e=this;return e.settings.multiline||(e.getEl().style.lineHeight=e.layoutRect().h+"px"),e._super()},renderHtml:function(){var e=this,t=e.settings.forId;return'"},bindStates:function(){var e=this;return e.state.on("change:text",function(t){e.innerHtml(e.encode(t.value))}),e._super()}})}),r(lt,[ie],function(e){return e.extend({Defaults:{role:"toolbar",layout:"flow"},init:function(e){var t=this;t._super(e),t.classes.add("toolbar")},postRender:function(){var e=this;return e.items().each(function(e){e.classes.add("toolbar-item")}),e._super()}})}),r(ct,[lt],function(e){return e.extend({Defaults:{role:"menubar",containerCls:"menubar",ariaRoot:!0,defaults:{type:"menubutton"}}})}),r(ut,[ze,ne,ct],function(e,t,n){function r(e,t){for(;e;){if(t===e)return!0;e=e.parentNode}return!1}var i=e.extend({init:function(e){var t=this;t._renderOpen=!0,t._super(e),e=t.settings,t.classes.add("menubtn"),e.fixedWidth&&t.classes.add("fixed-width"),t.aria("haspopup",!0),t.state.set("menu",e.menu||t.render())},showMenu:function(){var e=this,n;return e.menu&&e.menu.visible()?e.hideMenu():(e.menu||(n=e.state.get("menu")||[],n.length?n={type:"menu",items:n}:n.type=n.type||"menu",n.renderTo?e.menu=n.parent(e).show().renderTo():e.menu=t.create(n).parent(e).renderTo(),e.fire("createmenu"),e.menu.reflow(),e.menu.on("cancel",function(t){t.control.parent()===e.menu&&(t.stopPropagation(),e.focus(),e.hideMenu())}),e.menu.on("select",function(){e.focus()}),e.menu.on("show hide",function(t){t.control==e.menu&&e.activeMenu("show"==t.type),e.aria("expanded","show"==t.type)}).fire("show")),e.menu.show(),e.menu.layoutRect({w:e.layoutRect().w}),void e.menu.moveRel(e.getEl(),e.isRtl()?["br-tr","tr-br"]:["bl-tl","tl-bl"]))},hideMenu:function(){var e=this;e.menu&&(e.menu.items().each(function(e){e.hideMenu&&e.hideMenu()}),e.menu.hide())},activeMenu:function(e){this.classes.toggle("active",e)},renderHtml:function(){var e=this,t=e._id,r=e.classPrefix,i=e.settings.icon,o,a=e.state.get("text");return o=e.settings.image,o?(i="none","string"!=typeof o&&(o=window.getSelection?o[0]:o[1]),o=" style=\"background-image: url('"+o+"')\""):o="",i=e.settings.icon?r+"ico "+r+"i-"+i:"",e.aria("role",e.parent()instanceof n?"menuitem":"button"),'
                '},postRender:function(){var e=this;return e.on("click",function(t){t.control===e&&r(t.target,e.getEl())&&(e.showMenu(),t.aria&&e.menu.items()[0].focus())}),e.on("mouseenter",function(t){var n=t.control,r=e.parent(),o;n&&r&&n instanceof i&&n.parent()==r&&(r.items().filter("MenuButton").each(function(e){e.hideMenu&&e!=n&&(e.menu&&e.menu.visible()&&(o=!0),e.hideMenu())}),o&&(n.focus(),n.showMenu()))}),e._super()},bindStates:function(){var e=this;return e.state.on("change:menu",function(){e.menu&&e.menu.remove(),e.menu=null}),e._super()},remove:function(){this._super(),this.menu&&this.menu.remove()}});return i}),r(dt,[Fe,ne,u],function(e,t,n){return e.extend({Defaults:{border:0,role:"menuitem"},init:function(e){var t=this,n;t._super(e),e=t.settings,t.classes.add("menu-item"),e.menu&&t.classes.add("menu-item-expand"),e.preview&&t.classes.add("menu-item-preview"),n=t.state.get("text"),("-"===n||"|"===n)&&(t.classes.add("menu-item-sep"),t.aria("role","separator"),t.state.set("text","-")),e.selectable&&(t.aria("role","menuitemcheckbox"),t.classes.add("menu-item-checkbox"),e.icon="selected"),e.preview||e.selectable||t.classes.add("menu-item-normal"),t.on("mousedown",function(e){e.preventDefault()}),e.menu&&!e.ariaHideMenu&&t.aria("haspopup",!0)},hasMenus:function(){return!!this.settings.menu},showMenu:function(){var e=this,n=e.settings,r,i=e.parent();if(i.items().each(function(t){t!==e&&t.hideMenu()}),n.menu){r=e.menu,r?r.show():(r=n.menu,r.length?r={type:"menu",items:r}:r.type=r.type||"menu",i.settings.itemDefaults&&(r.itemDefaults=i.settings.itemDefaults),r=e.menu=t.create(r).parent(e).renderTo(),r.reflow(),r.on("cancel",function(t){t.stopPropagation(),e.focus(),r.hide()}),r.on("show hide",function(e){e.control.items().each(function(e){e.active(e.settings.selected)})}).fire("show"),r.on("hide",function(t){t.control===r&&e.classes.remove("selected")}),r.submenu=!0),r._parentMenu=i,r.classes.add("menu-sub");var o=r.testMoveRel(e.getEl(),e.isRtl()?["tl-tr","bl-br","tr-tl","br-bl"]:["tr-tl","br-bl","tl-tr","bl-br"]);r.moveRel(e.getEl(),o),r.rel=o,o="menu-sub-"+o,r.classes.remove(r._lastRel).add(o),r._lastRel=o,e.classes.add("selected"),e.aria("expanded",!0)}},hideMenu:function(){var e=this;return e.menu&&(e.menu.items().each(function(e){e.hideMenu&&e.hideMenu()}),e.menu.hide(),e.aria("expanded",!1)),e},renderHtml:function(){function e(e){var t,r,i={};for(i=n.mac?{alt:"⌥",ctrl:"⌘",shift:"⇧",meta:"⌘"}:{meta:"Ctrl"},e=e.split("+"),t=0;t'+("-"!==a?'\xa0":"")+("-"!==a?''+a+"":"")+(c?'
                '+c+"
                ":"")+(i.menu?'
                ':"")+"
                "},postRender:function(){var e=this,t=e.settings,n=t.textStyle;if("function"==typeof n&&(n=n.call(this)),n){var r=e.getEl("text");r&&r.setAttribute("style",n)}return e.on("mouseenter click",function(n){n.control===e&&(t.menu||"click"!==n.type?(e.showMenu(),n.aria&&e.menu.focus(!0)):(e.fire("select"),e.parent().hideAll()))}),e._super(),e},active:function(e){return"undefined"!=typeof e&&this.aria("checked",e),this._super(e)},remove:function(){this._super(),this.menu&&this.menu.remove()}})}),r(ft,[ue,dt,f],function(e,t,n){return e.extend({Defaults:{defaultType:"menuitem",border:1,layout:"stack",role:"application",bodyRole:"menu",ariaRoot:!0},init:function(e){var t=this;if(e.autohide=!0,e.constrainToViewport=!0,e.itemDefaults)for(var r=e.items,i=r.length;i--;)r[i]=n.extend({},e.itemDefaults,r[i]);t._super(e),t.classes.add("menu")},repaint:function(){return this.classes.toggle("menu-align",!0),this._super(),this.getEl().style.height="",this.getEl("body").style.height="",this},cancel:function(){var e=this;e.hideAll(),e.fire("select")},hideAll:function(){var e=this;return this.find("menuitem").exec("hideMenu"),e._super()},preRender:function(){var e=this;return e.items().each(function(t){var n=t.settings;return n.icon||n.image||n.selectable?(e._hasIcons=!0,!1):void 0}),e._super()}})}),r(ht,[ut,ft],function(e,t){return e.extend({init:function(e){function t(r){for(var a=0;a0&&(o=r[0].text,n.state.set("value",r[0].value)),n.state.set("menu",r)),n.state.set("text",e.text||o||r[0].text),n.classes.add("listbox"),n.on("select",function(t){var r=t.control;a&&(t.lastControl=a),e.multiple?r.active(!r.active()):n.value(t.control.value()),a=r})},bindStates:function(){function e(e,n){e instanceof t&&e.items().each(function(e){e.hasMenus()||e.active(e.value()===n)})}function n(e,t){var r;if(e)for(var i=0;i=r.x&&o.x+o.w<=r.w+r.x&&o.y>=r.y&&o.y+o.h<=r.h+r.y)return i[a]}function n(e,t,n){return{x:e.x-t,y:e.y-n,w:e.w+2*t,h:e.h+2*n}}function r(e,t){var n,r,i,s;return n=a(e.x,t.x),r=a(e.y,t.y),i=o(e.x+e.w,t.x+t.w),s=o(e.y+e.h,t.y+t.h),0>i-n||0>s-r?null:{x:n,y:r,w:i-n,h:s-r}}function i(e,t,n){var r,i,o,s,l,c,u,d,f,h;return l=e.x,c=e.y,u=e.x+e.w,d=e.y+e.h,f=t.x+t.w,h=t.y+t.h,r=a(0,t.x-l),i=a(0,t.y-c),o=a(0,u-f),s=a(0,d-h),l+=r,c+=i,n&&(u+=r,d+=i,l-=o,c-=s),u-=o,d-=s,{x:l,y:c,w:u-l,h:d-c}}var o=Math.min,a=Math.max,s=Math.round;return{inflate:n,relativePosition:e,findBestRelativePosition:t,intersect:r,clamp:i}}),r(gt,[Fe,oe],function(e,t){return e.extend({renderHtml:function(){var e=this,t=e.classPrefix;return e.classes.add("resizehandle"),"both"==e.settings.direction&&e.classes.add("resizehandle-both"),e.canFocus=!1,'
                '},postRender:function(){var e=this;e._super(),e.resizeDragHelper=new t(this._id,{start:function(){e.fire("ResizeStart")},drag:function(t){"both"!=e.settings.direction&&(t.deltaX=0),e.fire("Resize",t)},stop:function(){e.fire("ResizeEnd")}})},remove:function(){return this.resizeDragHelper&&this.resizeDragHelper.destroy(),this._super()}})}),r(vt,[Fe,oe,J],function(e,t,n){function r(e,t,n){return t>e&&(e=t),e>n&&(e=n),e}function i(e,t){var r,i,o,a,s;"v"==e.settings.orientation?(a="top",o="height",i="h"):(a="left",o="width",i="w"),r=(e.layoutRect()[i]||100)-n.getSize(e.getEl("handle"))[o],s=r*((t-e._minValue)/(e._maxValue-e._minValue))+"px",e.getEl("handle").style[a]=s, +e.getEl("handle").style.height=e.layoutRect().h+"px"}return e.extend({init:function(e){var t=this;e.previewFilter||(e.previewFilter=function(e){return Math.round(100*e)/100}),t._super(e),t.classes.add("slider"),"v"==e.orientation&&t.classes.add("vertical"),t._minValue=e.minValue||0,t._maxValue=e.maxValue||100,t._initValue=t.state.get("value")},renderHtml:function(){var e=this,t=e._id,n=e.classPrefix;return'
                '},reset:function(){this.value(this._initValue).repaint()},postRender:function(){var e=this,i,o,a=0,s,l,c,u,d,f,h,p;l=e._minValue,c=e._maxValue,s=e.value(),"v"==e.settings.orientation?(d="screenY",f="top",h="height",p="h"):(d="screenX",f="left",h="width",p="w"),e._super(),e._dragHelper=new t(e._id,{handle:e._id+"-handle",start:function(t){i=t[d],o=parseInt(e.getEl("handle").style[f],10),u=(e.layoutRect()[p]||100)-n.getSize(e.getEl("handle"))[h],e.fire("dragstart",{value:s})},drag:function(t){var n=t[d]-i,h=e.getEl("handle");a=r(o+n,0,u),h.style[f]=a+"px",s=l+a/u*(c-l),e.value(s),e.tooltip().text(""+e.settings.previewFilter(s)).show().moveRel(h,"bc tc"),e.fire("drag",{value:s})},stop:function(){e.tooltip().hide(),e.fire("dragend",{value:s})}})},repaint:function(){this._super(),i(this,this.value())},bindStates:function(){var e=this;return e.state.on("change:value",function(t){i(e,t.value)}),e._super()}})}),r(yt,[Fe],function(e){return e.extend({renderHtml:function(){var e=this;return e.classes.add("spacer"),e.canFocus=!1,'
                '}})}),r(bt,[ut,J,h],function(e,t,n){return e.extend({Defaults:{classes:"widget btn splitbtn",role:"button"},repaint:function(){var e=this,r=e.getEl(),i=e.layoutRect(),o,a;return e._super(),o=r.firstChild,a=r.lastChild,n(o).css({width:i.w-t.getSize(a).width,height:i.h-2}),n(a).css({height:i.h-2}),e},activeMenu:function(e){var t=this;n(t.getEl().lastChild).toggleClass(t.classPrefix+"active",e)},renderHtml:function(){var e=this,t=e._id,n=e.classPrefix,r,i=e.state.get("icon"),o=e.state.get("text");return r=e.settings.image,r?(i="none","string"!=typeof r&&(r=window.getSelection?r[0]:r[1]),r=" style=\"background-image: url('"+r+"')\""):r="",i=e.settings.icon?n+"ico "+n+"i-"+i:"",'
                '},postRender:function(){var e=this,t=e.settings.onclick;return e.on("click",function(e){var n=e.target;if(e.control==this)for(;n;){if(e.aria&&"down"!=e.aria.key||"BUTTON"==n.nodeName&&-1==n.className.indexOf("open"))return e.stopImmediatePropagation(),void(t&&t.call(this,e));n=n.parentNode}}),delete e.settings.onclick,e._super()}})}),r(xt,[rt],function(e){return e.extend({Defaults:{containerClass:"stack-layout",controlClass:"stack-layout-item",endClass:"break"},isNative:function(){return!0}})}),r(Ct,[se,h,J],function(e,t,n){return e.extend({Defaults:{layout:"absolute",defaults:{type:"panel"}},activateTab:function(e){var n;this.activeTabId&&(n=this.getEl(this.activeTabId),t(n).removeClass(this.classPrefix+"active"),n.setAttribute("aria-selected","false")),this.activeTabId="t"+e,n=this.getEl("t"+e),n.setAttribute("aria-selected","true"),t(n).addClass(this.classPrefix+"active"),this.items()[e].show().fire("showtab"),this.reflow(),this.items().each(function(t,n){e!=n&&t.hide()})},renderHtml:function(){var e=this,t=e._layout,n="",r=e.classPrefix;return e.preRender(),t.preRender(e),e.items().each(function(t,i){var o=e._id+"-t"+i;t.aria("role","tabpanel"),t.aria("labelledby",o),n+='"}),'
                '+n+'
                '+t.renderHtml(e)+"
                "},postRender:function(){var e=this;e._super(),e.settings.activeTab=e.settings.activeTab||0,e.activateTab(e.settings.activeTab),this.on("click",function(t){var n=t.target.parentNode;if(t.target.parentNode.id==e._id+"-head")for(var r=n.childNodes.length;r--;)n.childNodes[r]==t.target&&e.activateTab(r)})},initLayoutRect:function(){var e=this,t,r,i;r=n.getSize(e.getEl("head")).width,r=0>r?0:r,i=0,e.items().each(function(e){r=Math.max(r,e.layoutRect().minW),i=Math.max(i,e.layoutRect().minH)}),e.items().each(function(e){e.settings.x=0,e.settings.y=0,e.settings.w=r,e.settings.h=i,e.layoutRect({x:0,y:0,w:r,h:i})});var o=n.getSize(e.getEl("head")).height;return e.settings.minWidth=r,e.settings.minHeight=i+o,t=e._super(),t.deltaH+=o,t.innerH=t.h-t.deltaH,t}})}),r(wt,[Fe],function(e){return e.extend({init:function(e){var t=this;t._super(e),t.classes.add("textbox"),e.multiline?t.classes.add("multiline"):(t.on("keydown",function(e){var n;13==e.keyCode&&(e.preventDefault(),t.parents().reverse().each(function(e){return e.toJSON?(n=e,!1):void 0}),t.fire("submit",{data:n.toJSON()}))}),t.on("keyup",function(e){t.state.set("value",e.target.value)}))},repaint:function(){var e=this,t,n,r,i,o=0,a;t=e.getEl().style,n=e._layoutRect,a=e._lastRepaintRect||{};var s=document;return!e.settings.multiline&&s.all&&(!s.documentMode||s.documentMode<=8)&&(t.lineHeight=n.h-o+"px"),r=e.borderBox,i=r.left+r.right+8,o=r.top+r.bottom+(e.settings.multiline?8:0),n.x!==a.x&&(t.left=n.x+"px",a.x=n.x),n.y!==a.y&&(t.top=n.y+"px",a.y=n.y),n.w!==a.w&&(t.width=n.w-i+"px",a.w=n.w),n.h!==a.h&&(t.height=n.h-o+"px",a.h=n.h),e._lastRepaintRect=a,e.fire("repaint",{},!1),e},renderHtml:function(){var e=this,t=e._id,n=e.settings,r=e.encode(e.state.get("value"),!1),i="";return"spellcheck"in n&&(i+=' spellcheck="'+n.spellcheck+'"'),n.maxLength&&(i+=' maxlength="'+n.maxLength+'"'),n.size&&(i+=' size="'+n.size+'"'),n.subtype&&(i+=' type="'+n.subtype+'"'),e.disabled()&&(i+=' disabled="disabled"'),n.multiline?'":'"},value:function(e){return arguments.length?(this.state.set("value",e),this):(this.state.get("rendered")&&this.state.set("value",this.getEl().value),this.state.get("value"))},postRender:function(){var e=this;e._super(),e.$el.on("change",function(t){e.state.set("value",t.target.value),e.fire("change",t)})},bindStates:function(){var e=this;return e.state.on("change:value",function(t){e.getEl().value!=t.value&&(e.getEl().value=t.value)}),e.state.on("change:disabled",function(t){e.getEl().disabled=t.value}),e._super()},remove:function(){this.$el.off(),this._super()}})}),r(_t,[h,te],function(e,t){return function(n,r){var i=this,o,a=t.classPrefix;i.show=function(t,s){return i.hide(),o=!0,window.setTimeout(function(){o&&(e(n).append('
                '),s&&s())},t||0),i},i.hide=function(){var e=n.lastChild;return e&&-1!=e.className.indexOf("throbber")&&e.parentNode.removeChild(e),o=!1,i}}}),a([l,c,u,f,h,p,m,v,b,x,C,w,E,N,S,k,T,R,A,D,L,M,H,I,F,V,U,$,q,K,G,X,ee,te,ne,re,ie,oe,ae,se,le,ce,ue,de,fe,he,ge,ve,ye,Ne,Se,ke,Te,Ae,Be,De,Le,Me,He,Pe,Oe,Ie,Fe,ze,We,Ve,Ue,$e,qe,je,Ke,Ye,Ge,Xe,Je,Qe,Ze,et,tt,nt,rt,it,ot,at,st,lt,ct,ut,dt,ft,ht,pt,mt,gt,vt,yt,bt,xt,Ct,wt,_t])}(this); \ No newline at end of file diff --git a/wp-includes/js/tinymce/wp-tinymce.js.gz b/wp-includes/js/tinymce/wp-tinymce.js.gz index 57a42b5..7014f24 100644 Binary files a/wp-includes/js/tinymce/wp-tinymce.js.gz and b/wp-includes/js/tinymce/wp-tinymce.js.gz differ diff --git a/wp-includes/js/twemoji.js b/wp-includes/js/twemoji.js index 8922e13..6432308 100644 --- a/wp-includes/js/twemoji.js +++ b/wp-includes/js/twemoji.js @@ -233,7 +233,7 @@ var twemoji = (function ( // RegExp based on emoji's official Unicode standards // http://www.unicode.org/Public/UNIDATA/EmojiSources.txt - re = /((?:\ud83c\udde8\ud83c\uddf3|\ud83c\uddfa\ud83c\uddf8|\ud83c\uddf7\ud83c\uddfa|\ud83c\uddf0\ud83c\uddf7|\ud83c\uddef\ud83c\uddf5|\ud83c\uddee\ud83c\uddf9|\ud83c\uddec\ud83c\udde7|\ud83c\uddeb\ud83c\uddf7|\ud83c\uddea\ud83c\uddf8|\ud83c\udde9\ud83c\uddea|\u0039\ufe0f?\u20e3|\u0038\ufe0f?\u20e3|\u0037\ufe0f?\u20e3|\u0036\ufe0f?\u20e3|\u0035\ufe0f?\u20e3|\u0034\ufe0f?\u20e3|\u0033\ufe0f?\u20e3|\u0032\ufe0f?\u20e3|\u0031\ufe0f?\u20e3|\u0030\ufe0f?\u20e3|\u0023\ufe0f?\u20e3|\ud83d\udeb3|\ud83d\udeb1|\ud83d\udeb0|\ud83d\udeaf|\ud83d\udeae|\ud83d\udea6|\ud83d\udea3|\ud83d\udea1|\ud83d\udea0|\ud83d\ude9f|\ud83d\ude9e|\ud83d\ude9d|\ud83d\ude9c|\ud83d\ude9b|\ud83d\ude98|\ud83d\ude96|\ud83d\ude94|\ud83d\ude90|\ud83d\ude8e|\ud83d\ude8d|\ud83d\ude8b|\ud83d\ude8a|\ud83d\ude88|\ud83d\ude86|\ud83d\ude82|\ud83d\ude81|\ud83d\ude36|\ud83d\ude34|\ud83d\ude2f|\ud83d\ude2e|\ud83d\ude2c|\ud83d\ude27|\ud83d\ude26|\ud83d\ude1f|\ud83d\ude1b|\ud83d\ude19|\ud83d\ude17|\ud83d\ude15|\ud83d\ude11|\ud83d\ude10|\ud83d\ude0e|\ud83d\ude08|\ud83d\ude07|\ud83d\ude00|\ud83d\udd67|\ud83d\udd66|\ud83d\udd65|\ud83d\udd64|\ud83d\udd63|\ud83d\udd62|\ud83d\udd61|\ud83d\udd60|\ud83d\udd5f|\ud83d\udd5e|\ud83d\udd5d|\ud83d\udd5c|\ud83d\udd2d|\ud83d\udd2c|\ud83d\udd15|\ud83d\udd09|\ud83d\udd08|\ud83d\udd07|\ud83d\udd06|\ud83d\udd05|\ud83d\udd04|\ud83d\udd02|\ud83d\udd01|\ud83d\udd00|\ud83d\udcf5|\ud83d\udcef|\ud83d\udced|\ud83d\udcec|\ud83d\udcb7|\ud83d\udcb6|\ud83d\udcad|\ud83d\udc6d|\ud83d\udc6c|\ud83d\udc65|\ud83d\udc2a|\ud83d\udc16|\ud83d\udc15|\ud83d\udc13|\ud83d\udc10|\ud83d\udc0f|\ud83d\udc0b|\ud83d\udc0a|\ud83d\udc09|\ud83d\udc08|\ud83d\udc07|\ud83d\udc06|\ud83d\udc05|\ud83d\udc04|\ud83d\udc03|\ud83d\udc02|\ud83d\udc01|\ud83d\udc00|\ud83c\udfe4|\ud83c\udfc9|\ud83c\udfc7|\ud83c\udf7c|\ud83c\udf50|\ud83c\udf4b|\ud83c\udf33|\ud83c\udf32|\ud83c\udf1e|\ud83c\udf1d|\ud83c\udf1c|\ud83c\udf1a|\ud83c\udf18|\ud83c\udccf|\ud83c\udd70|\ud83c\udd71|\ud83c\udd7e|\ud83c\udd8e|\ud83c\udd91|\ud83c\udd92|\ud83c\udd93|\ud83c\udd94|\ud83c\udd95|\ud83c\udd96|\ud83c\udd97|\ud83c\udd98|\ud83c\udd99|\ud83c\udd9a|\ud83d\udc77|\ud83d\udec5|\ud83d\udec4|\ud83d\udec3|\ud83d\udec2|\ud83d\udec1|\ud83d\udebf|\ud83d\udeb8|\ud83d\udeb7|\ud83d\udeb5|\ud83c\ude01|\ud83c\ude02|\ud83c\ude32|\ud83c\ude33|\ud83c\ude34|\ud83c\ude35|\ud83c\ude36|\ud83c\ude37|\ud83c\ude38|\ud83c\ude39|\ud83c\ude3a|\ud83c\ude50|\ud83c\ude51|\ud83c\udf00|\ud83c\udf01|\ud83c\udf02|\ud83c\udf03|\ud83c\udf04|\ud83c\udf05|\ud83c\udf06|\ud83c\udf07|\ud83c\udf08|\ud83c\udf09|\ud83c\udf0a|\ud83c\udf0b|\ud83c\udf0c|\ud83c\udf0f|\ud83c\udf11|\ud83c\udf13|\ud83c\udf14|\ud83c\udf15|\ud83c\udf19|\ud83c\udf1b|\ud83c\udf1f|\ud83c\udf20|\ud83c\udf30|\ud83c\udf31|\ud83c\udf34|\ud83c\udf35|\ud83c\udf37|\ud83c\udf38|\ud83c\udf39|\ud83c\udf3a|\ud83c\udf3b|\ud83c\udf3c|\ud83c\udf3d|\ud83c\udf3e|\ud83c\udf3f|\ud83c\udf40|\ud83c\udf41|\ud83c\udf42|\ud83c\udf43|\ud83c\udf44|\ud83c\udf45|\ud83c\udf46|\ud83c\udf47|\ud83c\udf48|\ud83c\udf49|\ud83c\udf4a|\ud83c\udf4c|\ud83c\udf4d|\ud83c\udf4e|\ud83c\udf4f|\ud83c\udf51|\ud83c\udf52|\ud83c\udf53|\ud83c\udf54|\ud83c\udf55|\ud83c\udf56|\ud83c\udf57|\ud83c\udf58|\ud83c\udf59|\ud83c\udf5a|\ud83c\udf5b|\ud83c\udf5c|\ud83c\udf5d|\ud83c\udf5e|\ud83c\udf5f|\ud83c\udf60|\ud83c\udf61|\ud83c\udf62|\ud83c\udf63|\ud83c\udf64|\ud83c\udf65|\ud83c\udf66|\ud83c\udf67|\ud83c\udf68|\ud83c\udf69|\ud83c\udf6a|\ud83c\udf6b|\ud83c\udf6c|\ud83c\udf6d|\ud83c\udf6e|\ud83c\udf6f|\ud83c\udf70|\ud83c\udf71|\ud83c\udf72|\ud83c\udf73|\ud83c\udf74|\ud83c\udf75|\ud83c\udf76|\ud83c\udf77|\ud83c\udf78|\ud83c\udf79|\ud83c\udf7a|\ud83c\udf7b|\ud83c\udf80|\ud83c\udf81|\ud83c\udf82|\ud83c\udf83|\ud83c\udf84|\ud83c\udf85|\ud83c\udf86|\ud83c\udf87|\ud83c\udf88|\ud83c\udf89|\ud83c\udf8a|\ud83c\udf8b|\ud83c\udf8c|\ud83c\udf8d|\ud83c\udf8e|\ud83c\udf8f|\ud83c\udf90|\ud83c\udf91|\ud83c\udf92|\ud83c\udf93|\ud83c\udfa0|\ud83c\udfa1|\ud83c\udfa2|\ud83c\udfa3|\ud83c\udfa4|\ud83c\udfa5|\ud83c\udfa6|\ud83c\udfa7|\ud83c\udfa8|\ud83c\udfa9|\ud83c\udfaa|\ud83c\udfab|\ud83c\udfac|\ud83c\udfad|\ud83c\udfae|\ud83c\udfaf|\ud83c\udfb0|\ud83c\udfb1|\ud83c\udfb2|\ud83c\udfb3|\ud83c\udfb4|\ud83c\udfb5|\ud83c\udfb6|\ud83c\udfb7|\ud83c\udfb8|\ud83c\udfb9|\ud83c\udfba|\ud83c\udfbb|\ud83c\udfbc|\ud83c\udfbd|\ud83c\udfbe|\ud83c\udfbf|\ud83c\udfc0|\ud83c\udfc1|\ud83c\udfc2|\ud83c\udfc3|\ud83c\udfc4|\ud83c\udfc6|\ud83c\udfc8|\ud83c\udfca|\ud83c\udfe0|\ud83c\udfe1|\ud83c\udfe2|\ud83c\udfe3|\ud83c\udfe5|\ud83c\udfe6|\ud83c\udfe7|\ud83c\udfe8|\ud83c\udfe9|\ud83c\udfea|\ud83c\udfeb|\ud83c\udfec|\ud83c\udfed|\ud83c\udfee|\ud83c\udfef|\ud83c\udff0|\ud83d\udc0c|\ud83d\udc0d|\ud83d\udc0e|\ud83d\udc11|\ud83d\udc12|\ud83d\udc14|\ud83d\udc17|\ud83d\udc18|\ud83d\udc19|\ud83d\udc1a|\ud83d\udc1b|\ud83d\udc1c|\ud83d\udc1d|\ud83d\udc1e|\ud83d\udc1f|\ud83d\udc20|\ud83d\udc21|\ud83d\udc22|\ud83d\udc23|\ud83d\udc24|\ud83d\udc25|\ud83d\udc26|\ud83d\udc27|\ud83d\udc28|\ud83d\udc29|\ud83d\udc2b|\ud83d\udc2c|\ud83d\udc2d|\ud83d\udc2e|\ud83d\udc2f|\ud83d\udc30|\ud83d\udc31|\ud83d\udc32|\ud83d\udc33|\ud83d\udc34|\ud83d\udc35|\ud83d\udc36|\ud83d\udc37|\ud83d\udc38|\ud83d\udc39|\ud83d\udc3a|\ud83d\udc3b|\ud83d\udc3c|\ud83d\udc3d|\ud83d\udc3e|\ud83d\udc40|\ud83d\udc42|\ud83d\udc43|\ud83d\udc44|\ud83d\udc45|\ud83d\udc46|\ud83d\udc47|\ud83d\udc48|\ud83d\udc49|\ud83d\udc4a|\ud83d\udc4b|\ud83d\udc4c|\ud83d\udc4d|\ud83d\udc4e|\ud83d\udc4f|\ud83d\udc50|\ud83d\udc51|\ud83d\udc52|\ud83d\udc53|\ud83d\udc54|\ud83d\udc55|\ud83d\udc56|\ud83d\udc57|\ud83d\udc58|\ud83d\udc59|\ud83d\udc5a|\ud83d\udc5b|\ud83d\udc5c|\ud83d\udc5d|\ud83d\udc5e|\ud83d\udc5f|\ud83d\udc60|\ud83d\udc61|\ud83d\udc62|\ud83d\udc63|\ud83d\udc64|\ud83d\udc66|\ud83d\udc67|\ud83d\udc68|\ud83d\udc69|\ud83d\udc6a|\ud83d\udc6b|\ud83d\udc6e|\ud83d\udc6f|\ud83d\udc70|\ud83d\udc71|\ud83d\udc72|\ud83d\udc73|\ud83d\udc74|\ud83d\udc75|\ud83d\udc76|\ud83d\udeb4|\ud83d\udc78|\ud83d\udc79|\ud83d\udc7a|\ud83d\udc7b|\ud83d\udc7c|\ud83d\udc7d|\ud83d\udc7e|\ud83d\udc7f|\ud83d\udc80|\ud83d\udc81|\ud83d\udc82|\ud83d\udc83|\ud83d\udc84|\ud83d\udc85|\ud83d\udc86|\ud83d\udc87|\ud83d\udc88|\ud83d\udc89|\ud83d\udc8a|\ud83d\udc8b|\ud83d\udc8c|\ud83d\udc8d|\ud83d\udc8e|\ud83d\udc8f|\ud83d\udc90|\ud83d\udc91|\ud83d\udc92|\ud83d\udc93|\ud83d\udc94|\ud83d\udc95|\ud83d\udc96|\ud83d\udc97|\ud83d\udc98|\ud83d\udc99|\ud83d\udc9a|\ud83d\udc9b|\ud83d\udc9c|\ud83d\udc9d|\ud83d\udc9e|\ud83d\udc9f|\ud83d\udca0|\ud83d\udca1|\ud83d\udca2|\ud83d\udca3|\ud83d\udca4|\ud83d\udca5|\ud83d\udca6|\ud83d\udca7|\ud83d\udca8|\ud83d\udca9|\ud83d\udcaa|\ud83d\udcab|\ud83d\udcac|\ud83d\udcae|\ud83d\udcaf|\ud83d\udcb0|\ud83d\udcb1|\ud83d\udcb2|\ud83d\udcb3|\ud83d\udcb4|\ud83d\udcb5|\ud83d\udcb8|\ud83d\udcb9|\ud83d\udcba|\ud83d\udcbb|\ud83d\udcbc|\ud83d\udcbd|\ud83d\udcbe|\ud83d\udcbf|\ud83d\udcc0|\ud83d\udcc1|\ud83d\udcc2|\ud83d\udcc3|\ud83d\udcc4|\ud83d\udcc5|\ud83d\udcc6|\ud83d\udcc7|\ud83d\udcc8|\ud83d\udcc9|\ud83d\udcca|\ud83d\udccb|\ud83d\udccc|\ud83d\udccd|\ud83d\udcce|\ud83d\udccf|\ud83d\udcd0|\ud83d\udcd1|\ud83d\udcd2|\ud83d\udcd3|\ud83d\udcd4|\ud83d\udcd5|\ud83d\udcd6|\ud83d\udcd7|\ud83d\udcd8|\ud83d\udcd9|\ud83d\udcda|\ud83d\udcdb|\ud83d\udcdc|\ud83d\udcdd|\ud83d\udcde|\ud83d\udcdf|\ud83d\udce0|\ud83d\udce1|\ud83d\udce2|\ud83d\udce3|\ud83d\udce4|\ud83d\udce5|\ud83d\udce6|\ud83d\udce7|\ud83d\udce8|\ud83d\udce9|\ud83d\udcea|\ud83d\udceb|\ud83d\udcee|\ud83d\udcf0|\ud83d\udcf1|\ud83d\udcf2|\ud83d\udcf3|\ud83d\udcf4|\ud83d\udcf6|\ud83d\udcf7|\ud83d\udcf9|\ud83d\udcfa|\ud83d\udcfb|\ud83d\udcfc|\ud83d\udd03|\ud83d\udd0a|\ud83d\udd0b|\ud83d\udd0c|\ud83d\udd0d|\ud83d\udd0e|\ud83d\udd0f|\ud83d\udd10|\ud83d\udd11|\ud83d\udd12|\ud83d\udd13|\ud83d\udd14|\ud83d\udd16|\ud83d\udd17|\ud83d\udd18|\ud83d\udd19|\ud83d\udd1a|\ud83d\udd1b|\ud83d\udd1c|\ud83d\udd1d|\ud83d\udd1e|\ud83d\udd1f|\ud83d\udd20|\ud83d\udd21|\ud83d\udd22|\ud83d\udd23|\ud83d\udd24|\ud83d\udd25|\ud83d\udd26|\ud83d\udd27|\ud83d\udd28|\ud83d\udd29|\ud83d\udd2a|\ud83d\udd2b|\ud83d\udd2e|\ud83d\udd2f|\ud83d\udd30|\ud83d\udd31|\ud83d\udd32|\ud83d\udd33|\ud83d\udd34|\ud83d\udd35|\ud83d\udd36|\ud83d\udd37|\ud83d\udd38|\ud83d\udd39|\ud83d\udd3a|\ud83d\udd3b|\ud83d\udd3c|\ud83d\udd3d|\ud83d\udd50|\ud83d\udd51|\ud83d\udd52|\ud83d\udd53|\ud83d\udd54|\ud83d\udd55|\ud83d\udd56|\ud83d\udd57|\ud83d\udd58|\ud83d\udd59|\ud83d\udd5a|\ud83d\udd5b|\ud83d\uddfb|\ud83d\uddfc|\ud83d\uddfd|\ud83d\uddfe|\ud83d\uddff|\ud83d\ude01|\ud83d\ude02|\ud83d\ude03|\ud83d\ude04|\ud83d\ude05|\ud83d\ude06|\ud83d\ude09|\ud83d\ude0a|\ud83d\ude0b|\ud83d\ude0c|\ud83d\ude0d|\ud83d\ude0f|\ud83d\ude12|\ud83d\ude13|\ud83d\ude14|\ud83d\ude16|\ud83d\ude18|\ud83d\ude1a|\ud83d\ude1c|\ud83d\ude1d|\ud83d\ude1e|\ud83d\ude20|\ud83d\ude21|\ud83d\ude22|\ud83d\ude23|\ud83d\ude24|\ud83d\ude25|\ud83d\ude28|\ud83d\ude29|\ud83d\ude2a|\ud83d\ude2b|\ud83d\ude2d|\ud83d\ude30|\ud83d\ude31|\ud83d\ude32|\ud83d\ude33|\ud83d\ude35|\ud83d\ude37|\ud83d\ude38|\ud83d\ude39|\ud83d\ude3a|\ud83d\ude3b|\ud83d\ude3c|\ud83d\ude3d|\ud83d\ude3e|\ud83d\ude3f|\ud83d\ude40|\ud83d\ude45|\ud83d\ude46|\ud83d\ude47|\ud83d\ude48|\ud83d\ude49|\ud83d\ude4a|\ud83d\ude4b|\ud83d\ude4c|\ud83d\ude4d|\ud83d\ude4e|\ud83d\ude4f|\ud83d\ude80|\ud83d\ude83|\ud83d\ude84|\ud83d\ude85|\ud83d\ude87|\ud83d\ude89|\ud83d\ude8c|\ud83d\ude8f|\ud83d\ude91|\ud83d\ude92|\ud83d\ude93|\ud83d\ude95|\ud83d\ude97|\ud83d\ude99|\ud83d\ude9a|\ud83d\udea2|\ud83d\udea4|\ud83d\udea5|\ud83d\udea7|\ud83d\udea8|\ud83d\udea9|\ud83d\udeaa|\ud83d\udeab|\ud83d\udeac|\ud83d\udead|\ud83d\udeb2|\ud83d\udeb6|\ud83d\udeb9|\ud83d\udeba|\ud83d\udebb|\ud83d\udebc|\ud83d\udebd|\ud83d\udebe|\ud83d\udec0|\ud83c\udde6|\ud83c\udde7|\ud83c\udde8|\ud83c\udde9|\ud83c\uddea|\ud83c\uddeb|\ud83c\uddec|\ud83c\udded|\ud83c\uddee|\ud83c\uddef|\ud83c\uddf0|\ud83c\uddf1|\ud83c\uddf2|\ud83c\uddf3|\ud83c\uddf4|\ud83c\uddf5|\ud83c\uddf6|\ud83c\uddf7|\ud83c\uddf8|\ud83c\uddf9|\ud83c\uddfa|\ud83c\uddfb|\ud83c\uddfc|\ud83c\uddfd|\ud83c\uddfe|\ud83c\uddff|\ud83c\udf0d|\ud83c\udf0e|\ud83c\udf10|\ud83c\udf12|\ud83c\udf16|\ud83c\udf17|\ue50a|\u3030|\u27b0|\u2797|\u2796|\u2795|\u2755|\u2754|\u2753|\u274e|\u274c|\u2728|\u270b|\u270a|\u2705|\u26ce|\u23f3|\u23f0|\u23ec|\u23eb|\u23ea|\u23e9|\u2122|\u27bf|\u00a9|\u00ae)|(?:(?:\ud83c\udc04|\ud83c\udd7f|\ud83c\ude1a|\ud83c\ude2f|\u3299|\u303d|\u2b55|\u2b50|\u2b1c|\u2b1b|\u2b07|\u2b06|\u2b05|\u2935|\u2934|\u27a1|\u2764|\u2757|\u2747|\u2744|\u2734|\u2733|\u2716|\u2714|\u2712|\u270f|\u270c|\u2709|\u2708|\u2702|\u26fd|\u26fa|\u26f5|\u26f3|\u26f2|\u26ea|\u26d4|\u26c5|\u26c4|\u26be|\u26bd|\u26ab|\u26aa|\u26a1|\u26a0|\u2693|\u267f|\u267b|\u3297|\u2666|\u2665|\u2663|\u2660|\u2653|\u2652|\u2651|\u2650|\u264f|\u264e|\u264d|\u264c|\u264b|\u264a|\u2649|\u2648|\u263a|\u261d|\u2615|\u2614|\u2611|\u260e|\u2601|\u2600|\u25fe|\u25fd|\u25fc|\u25fb|\u25c0|\u25b6|\u25ab|\u25aa|\u24c2|\u231b|\u231a|\u21aa|\u21a9|\u2199|\u2198|\u2197|\u2196|\u2195|\u2194|\u2139|\u2049|\u203c|\u2668)([\uFE0E\uFE0F]?)))/g, + re = /((?:\u0039\ufe0f\u20e3|\u0038\ufe0f\u20e3|\u0037\ufe0f\u20e3|\u0036\ufe0f\u20e3|\u0035\ufe0f\u20e3|\u0034\ufe0f\u20e3|\u0033\ufe0f\u20e3|\u0032\ufe0f\u20e3|\u0031\ufe0f\u20e3|\u0030\ufe0f\u20e3|\u0023\ufe0f\u20e3|\ud83c\uddea\ud83c\uddf8|\ud83c\uddeb\ud83c\uddf7|\ud83c\uddec\ud83c\udde7|\ud83c\uddee\ud83c\uddf9|\ud83c\uddef\ud83c\uddf5|\ud83c\uddf0\ud83c\uddf7|\ud83c\uddf7\ud83c\uddfa|\ud83c\uddfa\ud83c\uddf8|\ud83c\uddea\ud83c\udde8|\ud83c\udde9\ud83c\uddff|\ud83c\uddf9\ud83c\uddf7|\ud83c\udde8\ud83c\uddf7|\ud83c\uddfa\ud83c\uddfe|\ud83c\udde8\ud83c\udde6|\ud83c\uddf8\ud83c\uddec|\ud83c\udde7\ud83c\uddf7|\ud83c\uddf8\ud83c\udde6|\ud83c\udde6\ud83c\uddfa|\ud83c\uddf5\ud83c\uddf9|\ud83c\uddf2\ud83c\uddfd|\ud83c\uddee\ud83c\uddf7|\ud83c\uddee\ud83c\uddf3|\ud83c\udded\ud83c\uddf7|\ud83c\udde8\ud83c\uddf3|\ud83c\udde9\ud83c\uddea|\ud83c\udde6\ud83c\uddf7|\u0039\ufe0f?\u20e3|\u0038\ufe0f?\u20e3|\u0037\ufe0f?\u20e3|\u0036\ufe0f?\u20e3|\u0035\ufe0f?\u20e3|\u0034\ufe0f?\u20e3|\u0033\ufe0f?\u20e3|\u0032\ufe0f?\u20e3|\u0031\ufe0f?\u20e3|\u0030\ufe0f?\u20e3|\u0023\ufe0f?\u20e3|\u0039\ufe0f?\u20e3|\u0038\ufe0f?\u20e3|\u0037\ufe0f?\u20e3|\u0036\ufe0f?\u20e3|\u0035\ufe0f?\u20e3|\u0034\ufe0f?\u20e3|\u0033\ufe0f?\u20e3|\u0032\ufe0f?\u20e3|\u0031\ufe0f?\u20e3|\u0030\ufe0f?\u20e3|\u0023\ufe0f?\u20e3|\ud83d\ude1b|\ud83d\ude19|\ud83d\ude17|\ud83d\ude15|\ud83d\ude11|\ud83d\ude10|\ud83d\ude0e|\ud83d\ude08|\ud83d\ude07|\ud83d\ude00|\ud83d\udd67|\ud83d\udd66|\ud83d\udd65|\ud83d\udd64|\ud83d\udd63|\ud83d\udd62|\ud83d\udd61|\ud83d\udd60|\ud83d\udd5f|\ud83d\udd5e|\ud83d\udd5d|\ud83d\udd5c|\ud83d\udd2d|\ud83d\udd2c|\ud83d\udd15|\ud83d\udd09|\ud83d\udd08|\ud83d\udd07|\ud83d\udd06|\ud83d\udd05|\ud83d\udd04|\ud83d\udd02|\ud83d\udd01|\ud83d\udd00|\ud83d\udcf5|\ud83d\udcef|\ud83d\udced|\ud83d\udcec|\ud83d\udcb7|\ud83d\udcb6|\ud83d\udcad|\ud83d\udc6d|\ud83d\udc6c|\ud83d\udc65|\ud83d\udc2a|\ud83d\udc16|\ud83d\udc15|\ud83d\udc13|\ud83d\udc10|\ud83d\udc0f|\ud83d\udc0b|\ud83d\udc0a|\ud83d\udc09|\ud83d\udc08|\ud83d\udc07|\ud83d\udc06|\ud83d\udc05|\ud83d\udc04|\ud83d\udc03|\ud83d\udc02|\ud83d\udc01|\ud83d\udc00|\ud83c\udfff|\ud83c\udffe|\ud83c\udffd|\ud83c\udffc|\ud83c\udffb|\ud83c\udfe4|\ud83c\udfd2|\ud83c\udfd0|\ud83c\udfcf|\ud83c\udccf|\ud83c\udd8e|\ud83c\udd91|\ud83c\udd92|\ud83c\udd93|\ud83c\udd94|\ud83c\udd95|\ud83c\udd96|\ud83c\udd97|\ud83c\udd98|\ud83c\udd99|\ud83c\udd9a|\ud83d\udc94|\ud83e\udd18|\ud83e\udd16|\ud83e\udd15|\ud83d\udecf|\ud83d\udec5|\ud83d\udec4|\ud83d\udec3|\ud83d\udec2|\ud83d\udec1|\ud83c\ude01|\ud83c\ude32|\ud83c\ude33|\ud83c\ude34|\ud83c\ude35|\ud83c\ude36|\ud83c\ude38|\ud83c\ude39|\ud83c\ude3a|\ud83c\ude50|\ud83c\ude51|\ud83c\udf00|\ud83c\udf01|\ud83c\udf02|\ud83c\udf03|\ud83c\udf04|\ud83c\udf05|\ud83c\udf06|\ud83c\udf07|\ud83c\udf08|\ud83c\udf09|\ud83c\udf0a|\ud83c\udf0b|\ud83c\udf0c|\ud83c\udf0f|\ud83c\udf11|\ud83c\udf13|\ud83c\udf14|\ud83c\udf15|\ud83c\udf19|\ud83c\udf1b|\ud83c\udf1f|\ud83c\udf20|\ud83c\udf30|\ud83c\udf31|\ud83c\udf34|\ud83c\udf35|\ud83c\udf37|\ud83c\udf38|\ud83c\udf39|\ud83c\udf3a|\ud83c\udf3b|\ud83c\udf3c|\ud83c\udf3d|\ud83c\udf3e|\ud83c\udf3f|\ud83c\udf40|\ud83c\udf41|\ud83c\udf42|\ud83c\udf43|\ud83c\udf44|\ud83c\udf45|\ud83c\udf46|\ud83c\udf47|\ud83c\udf48|\ud83c\udf49|\ud83c\udf4a|\ud83c\udf4c|\ud83c\udf4d|\ud83c\udf4e|\ud83c\udf4f|\ud83c\udf51|\ud83c\udf52|\ud83c\udf53|\ud83c\udf54|\ud83c\udf55|\ud83c\udf56|\ud83c\udf57|\ud83c\udf58|\ud83c\udf59|\ud83c\udf5a|\ud83c\udf5b|\ud83c\udf5c|\ud83c\udf5d|\ud83c\udf5e|\ud83c\udf5f|\ud83c\udf60|\ud83c\udf61|\ud83c\udf62|\ud83c\udf63|\ud83c\udf64|\ud83c\udf65|\ud83c\udf66|\ud83c\udf67|\ud83c\udf68|\ud83c\udf69|\ud83c\udf6a|\ud83c\udf6b|\ud83c\udf6c|\ud83c\udf6d|\ud83c\udf6e|\ud83c\udf6f|\ud83c\udf70|\ud83c\udf71|\ud83c\udf72|\ud83c\udf73|\ud83c\udf74|\ud83c\udf75|\ud83c\udf76|\ud83c\udf77|\ud83c\udf78|\ud83c\udf79|\ud83c\udf7a|\ud83c\udf7b|\ud83c\udf80|\ud83c\udf81|\ud83c\udf82|\ud83c\udf83|\ud83c\udf84|\ud83c\udf85|\ud83c\udf86|\ud83c\udf87|\ud83c\udf88|\ud83c\udf89|\ud83c\udf8a|\ud83c\udf8b|\ud83c\udf8c|\ud83c\udf8d|\ud83c\udf8e|\ud83c\udf8f|\ud83c\udf90|\ud83c\udf91|\ud83c\udf92|\ud83c\udf93|\ud83c\udfa0|\ud83c\udfa1|\ud83c\udfa2|\ud83c\udfa3|\ud83c\udfa4|\ud83c\udfa5|\ud83c\udfa6|\ud83c\udfa7|\ud83c\udfa8|\ud83c\udfa9|\ud83c\udfaa|\ud83c\udfab|\ud83c\udfac|\ud83c\udfad|\ud83c\udfae|\ud83c\udfaf|\ud83c\udfb0|\ud83c\udfb1|\ud83c\udfb2|\ud83c\udfb3|\ud83c\udfb4|\ud83c\udfb5|\ud83c\udfb6|\ud83c\udfb7|\ud83c\udfb8|\ud83c\udfb9|\ud83c\udfba|\ud83c\udfbb|\ud83c\udfbc|\ud83c\udfbd|\ud83c\udfbe|\ud83c\udfbf|\ud83c\udfc0|\ud83c\udfc1|\ud83c\udfc2|\ud83c\udfc3|\ud83c\udfc4|\ud83c\udfc6|\ud83c\udfc8|\ud83c\udfca|\ud83c\udfe0|\ud83c\udfe1|\ud83c\udfe2|\ud83c\udfe3|\ud83c\udfe5|\ud83c\udfe6|\ud83c\udfe7|\ud83c\udfe8|\ud83c\udfe9|\ud83c\udfea|\ud83c\udfeb|\ud83c\udfec|\ud83c\udfed|\ud83c\udfee|\ud83c\udfef|\ud83c\udff0|\ud83d\udc0c|\ud83d\udc0d|\ud83d\udc0e|\ud83d\udc11|\ud83d\udc12|\ud83d\udc14|\ud83d\udc17|\ud83d\udc18|\ud83d\udc19|\ud83d\udc1a|\ud83d\udc1b|\ud83d\udc1c|\ud83d\udc1d|\ud83d\udc1e|\ud83d\udc1f|\ud83d\udc20|\ud83d\udc21|\ud83d\udc22|\ud83d\udc23|\ud83d\udc24|\ud83d\udc25|\ud83d\udc26|\ud83d\udc27|\ud83d\udc28|\ud83d\udc29|\ud83d\udc2b|\ud83d\udc2c|\ud83d\udc2d|\ud83d\udc2e|\ud83d\udc2f|\ud83d\udc30|\ud83d\udc31|\ud83d\udc32|\ud83d\udc33|\ud83d\udc34|\ud83d\udc35|\ud83d\udc36|\ud83d\udc37|\ud83d\udc38|\ud83d\udc39|\ud83d\udc3a|\ud83d\udc3b|\ud83d\udc3c|\ud83d\udc3d|\ud83d\udc3e|\ud83d\udc40|\ud83d\udc42|\ud83d\udc43|\ud83d\udc44|\ud83d\udc45|\ud83d\udc46|\ud83d\udc47|\ud83d\udc48|\ud83d\udc49|\ud83d\udc4a|\ud83d\udc4b|\ud83d\udc4c|\ud83d\udc4d|\ud83d\udc4e|\ud83d\udc4f|\ud83d\udc50|\ud83d\udc51|\ud83d\udc52|\ud83d\udc53|\ud83d\udc54|\ud83d\udc55|\ud83d\udc56|\ud83d\udc57|\ud83d\udc58|\ud83d\udc59|\ud83d\udc5a|\ud83d\udc5b|\ud83d\udc5c|\ud83d\udc5d|\ud83d\udc5e|\ud83d\udc5f|\ud83d\udc60|\ud83d\udc61|\ud83d\udc62|\ud83d\udc63|\ud83d\udc64|\ud83d\udc66|\ud83d\udc67|\ud83d\udc68|\ud83d\udc69|\ud83d\udc6a|\ud83d\udc6b|\ud83d\udc6e|\ud83d\udc6f|\ud83d\udc70|\ud83d\udc71|\ud83d\udc72|\ud83d\udc73|\ud83d\udc74|\ud83d\udc75|\ud83d\udc76|\ud83d\udc77|\ud83d\udc78|\ud83d\udc79|\ud83d\udc7a|\ud83d\udc7b|\ud83d\udc7c|\ud83d\udc7d|\ud83d\udc7e|\ud83d\udc7f|\ud83d\udc80|\ud83d\udc81|\ud83d\udc82|\ud83d\udc83|\ud83d\udc84|\ud83d\udc85|\ud83d\udc86|\ud83d\udc87|\ud83d\udc88|\ud83d\udc89|\ud83d\udc8a|\ud83d\udc8b|\ud83d\udc8c|\ud83d\udc8d|\ud83d\udc8e|\ud83d\udc8f|\ud83d\udc90|\ud83d\udc91|\ud83d\udc92|\ud83d\udc93|\ud83d\udebf|\ud83d\udc95|\ud83d\udc96|\ud83d\udc97|\ud83d\udc98|\ud83d\udc99|\ud83d\udc9a|\ud83d\udc9b|\ud83d\udc9c|\ud83d\udc9d|\ud83d\udc9e|\ud83d\udc9f|\ud83d\udca0|\ud83d\udca1|\ud83d\udca2|\ud83d\udca3|\ud83d\udca4|\ud83d\udca5|\ud83d\udca6|\ud83d\udca7|\ud83d\udca8|\ud83d\udca9|\ud83d\udcaa|\ud83d\udcab|\ud83d\udcac|\ud83d\udcae|\ud83d\udcaf|\ud83d\udcb0|\ud83d\udcb1|\ud83d\udcb2|\ud83d\udcb3|\ud83d\udcb4|\ud83d\udcb5|\ud83d\udcb8|\ud83d\udcb9|\ud83d\udcba|\ud83d\udcbb|\ud83d\udcbc|\ud83d\udcbd|\ud83d\udcbe|\ud83d\udcbf|\ud83d\udcc0|\ud83d\udcc1|\ud83d\udcc2|\ud83d\udcc3|\ud83d\udcc4|\ud83d\udcc5|\ud83d\udcc6|\ud83d\udcc7|\ud83d\udcc8|\ud83d\udcc9|\ud83d\udcca|\ud83d\udccb|\ud83d\udccc|\ud83d\udccd|\ud83d\udcce|\ud83d\udccf|\ud83d\udcd0|\ud83d\udcd1|\ud83d\udcd2|\ud83d\udcd3|\ud83d\udcd4|\ud83d\udcd5|\ud83d\udcd6|\ud83d\udcd7|\ud83d\udcd8|\ud83d\udcd9|\ud83d\udcda|\ud83d\udcdb|\ud83d\udcdc|\ud83d\udcdd|\ud83d\udcde|\ud83d\udcdf|\ud83d\udce0|\ud83d\udce1|\ud83d\udce2|\ud83d\udce3|\ud83d\udce4|\ud83d\udce5|\ud83d\udce6|\ud83d\udce7|\ud83d\udce8|\ud83d\udce9|\ud83d\udcea|\ud83d\udceb|\ud83d\udcee|\ud83d\udcf0|\ud83d\udcf1|\ud83d\udcf2|\ud83d\udcf3|\ud83d\udcf4|\ud83d\udcf6|\ud83d\udcf7|\ud83d\udcf9|\ud83d\udcfa|\ud83d\udcfb|\ud83d\udcfc|\ud83d\udd03|\ud83d\udd0a|\ud83d\udd0b|\ud83d\udd0c|\ud83d\udd0d|\ud83d\udd0e|\ud83d\udd0f|\ud83d\udd10|\ud83d\udd11|\ud83d\udd12|\ud83d\udd13|\ud83d\udd14|\ud83d\udd16|\ud83d\udd17|\ud83d\udd18|\ud83d\udd19|\ud83d\udd1a|\ud83d\udd1b|\ud83d\udd1c|\ud83d\udd1d|\ud83d\udd1e|\ud83d\udd1f|\ud83d\udd20|\ud83d\udd21|\ud83d\udd22|\ud83d\udd23|\ud83d\udd24|\ud83d\udd25|\ud83d\udd26|\ud83d\udd27|\ud83d\udd28|\ud83d\udd29|\ud83d\udd2a|\ud83d\udd2b|\ud83d\udd2e|\ud83d\udd2f|\ud83d\udd30|\ud83d\udd31|\ud83d\udd32|\ud83d\udd33|\ud83d\udd34|\ud83d\udd35|\ud83d\udd36|\ud83d\udd37|\ud83d\udd38|\ud83d\udd39|\ud83d\udd3a|\ud83d\udd3b|\ud83d\udd3c|\ud83d\udd3d|\ud83d\udd50|\ud83d\udd51|\ud83d\udd52|\ud83d\udd53|\ud83d\udd54|\ud83d\udd55|\ud83d\udd56|\ud83d\udd57|\ud83d\udd58|\ud83d\udd59|\ud83d\udd5a|\ud83d\udd5b|\ud83d\uddfb|\ud83d\uddfc|\ud83d\uddfd|\ud83d\uddfe|\ud83d\uddff|\ud83d\ude01|\ud83d\ude02|\ud83d\ude03|\ud83d\ude04|\ud83d\ude05|\ud83d\ude06|\ud83d\ude09|\ud83d\ude0a|\ud83d\ude0b|\ud83d\ude0c|\ud83d\ude0d|\ud83d\ude0f|\ud83d\ude12|\ud83d\ude13|\ud83d\ude14|\ud83d\ude16|\ud83d\ude18|\ud83d\ude1a|\ud83d\ude1c|\ud83d\ude1d|\ud83d\ude1e|\ud83d\ude20|\ud83d\ude21|\ud83d\ude22|\ud83d\ude23|\ud83d\ude24|\ud83d\ude25|\ud83d\ude28|\ud83d\ude29|\ud83d\ude2a|\ud83d\ude2b|\ud83d\ude2d|\ud83d\ude30|\ud83d\ude31|\ud83d\ude32|\ud83d\ude33|\ud83d\ude35|\ud83d\ude37|\ud83d\ude38|\ud83d\ude39|\ud83d\ude3a|\ud83d\ude3b|\ud83d\ude3c|\ud83d\ude3d|\ud83d\ude3e|\ud83d\ude3f|\ud83d\ude40|\ud83d\ude45|\ud83d\ude46|\ud83d\ude47|\ud83d\ude48|\ud83d\ude49|\ud83d\ude4a|\ud83d\ude4b|\ud83d\ude4c|\ud83d\ude4d|\ud83d\ude4e|\ud83d\ude4f|\ud83d\ude80|\ud83d\ude83|\ud83d\ude84|\ud83d\ude85|\ud83d\ude87|\ud83d\ude89|\ud83d\ude8c|\ud83d\ude8f|\ud83d\ude91|\ud83d\ude92|\ud83d\ude93|\ud83d\ude95|\ud83d\ude97|\ud83d\ude99|\ud83d\ude9a|\ud83d\udea2|\ud83d\udea4|\ud83d\udea5|\ud83d\udea7|\ud83d\udea8|\ud83d\udea9|\ud83d\udeaa|\ud83d\udeab|\ud83d\udeac|\ud83d\udead|\ud83d\udeb2|\ud83d\udeb6|\ud83d\udeb9|\ud83d\udeba|\ud83d\udebb|\ud83d\udebc|\ud83d\udebd|\ud83d\udebe|\ud83d\udec0|\ud83c\udfce|\ud83d\udeb8|\ud83d\udeb7|\ud83d\udeb5|\ud83d\udeb4|\ud83d\udeb3|\ud83d\udeb1|\ud83d\udeb0|\ud83d\udeaf|\ud83d\udeae|\ud83d\udea6|\ud83d\udea3|\ud83d\udea1|\ud83d\udea0|\ud83d\ude9f|\ud83d\ude9e|\ud83d\ude9d|\ud83d\ude9c|\ud83d\ude9b|\ud83d\ude98|\ud83d\ude96|\ud83d\ude94|\ud83d\ude90|\ud83d\ude8e|\ud83d\ude8d|\ud83c\udde6|\ud83d\ude8b|\ud83c\udde7|\ud83d\ude8a|\ud83d\ude88|\ud83c\udde8|\ud83d\ude86|\ud83c\udde9|\ud83d\ude82|\ud83c\uddea|\ud83c\uddeb|\ud83c\uddec|\ud83d\ude81|\ud83c\udded|\ud83d\ude36|\ud83d\ude34|\ud83c\uddee|\ud83c\uddef|\ud83c\uddf0|\ud83c\uddf1|\ud83d\ude2f|\ud83c\uddf2|\ud83c\uddf3|\ud83c\uddf4|\ud83d\ude2e|\ud83c\uddf5|\ud83c\uddf6|\ud83c\uddf7|\ud83d\ude2c|\ud83d\ude27|\ud83c\uddf8|\ud83d\ude26|\ud83c\uddf9|\ud83d\ude1f|\ud83c\uddfa|\ud83c\uddfb|\ud83c\uddfc|\ud83c\uddfd|\ud83c\uddfe|\ud83c\uddff|\ud83c\udf0d|\ud83c\udf0e|\ud83c\udf10|\ud83c\udf12|\ud83c\udf16|\ud83c\udf17|\ud83c\udf18|\ud83c\udf1a|\ud83c\udf1c|\ud83c\udf1d|\ud83c\udf1e|\ud83c\udf2d|\ud83c\udf2e|\ud83c\udf2f|\ud83c\udf32|\ud83c\udf33|\ud83c\udf4b|\ud83c\udf50|\ud83c\udf7c|\ud83c\udfc7|\ud83c\udfc9|\ue50a|\u2797|\u2796|\u2795|\u2755|\u2754|\u2753|\u2728|\u2705|\u274c|\u274e|\u270a|\u270b|\u269c|\u27bf|\u27b0|\u26f8|\u26ce|\u23e9|\u23ea|\u23eb|\u23ec|\u23f0|\u23f3|\u00a9|\u00ae|\ud800\udc00)|(?:(?:\ud83c\udc04|\ud83c\udd70|\ud83c\udd71|\ud83c\udd7e|\ud83c\udd7f|\ud83c\ude02|\ud83c\ude1a|\ud83c\ude2f|\ud83c\ude37|\u3299|\u3297|\u3030|\u2935|\u2934|\u2764|\u2757|\u2747|\u2744|\u2734|\u2733|\u2716|\u2714|\u2712|\u2709|\u2708|\u2702|\u2693|\u2668|\u2666|\u2665|\u2663|\u2660|\u2653|\u2652|\u2651|\u2650|\u2649|\u2648|\u2615|\u2614|\u2611|\u2601|\u2600|\u2199|\u2198|\u2197|\u2196|\u2195|\u2194|\u2139|\u2122|\u2049|\u303d|\u270c|\u270f|\u267f|\u267b|\u264e|\u264d|\u264c|\u264b|\u264f|\u264a|\u263a|\u261d|\u260e|\u231b|\u231a|\u203c|\u27a1|\u26fd|\u26f5|\u26fa|\u26a1|\u26aa|\u26ab|\u26bd|\u26be|\u26d4|\u26c4|\u26c5|\u26a0|\u26f2|\u26f3|\u26ea|\u25ab|\u25aa|\u25fd|\u25b6|\u25fb|\u25c0|\u25fe|\u25fc|\u24c2|\u21a9|\u21aa|\u2b07|\u2b05|\u2b06|\u2b50|\u2b55|\u2b1c|\u2b1b)([\uFE0E\uFE0F]?)))/g, // used to find HTML special chars in attributes rescaper = /[&<>'"]/g, @@ -386,7 +386,7 @@ var twemoji = (function ( ); if (src) { img = new Image(); - img.onerror = twemoji.onerror; + img.onerror = options.onerror; img.setAttribute('draggable', 'false'); attrib = options.attributes(icon, variant); for (attrname in attrib) { @@ -550,7 +550,8 @@ var twemoji = (function ( base: typeof how.base === 'string' ? how.base : twemoji.base, ext: how.ext || twemoji.ext, size: how.folder || toSizeSquaredAsset(how.size || twemoji.size), - className: how.className || twemoji.className + className: how.className || twemoji.className, + onerror: how.onerror || twemoji.onerror }); } diff --git a/wp-includes/js/twemoji.min.js b/wp-includes/js/twemoji.min.js index b5d45c5..9423d35 100644 --- a/wp-includes/js/twemoji.min.js +++ b/wp-includes/js/twemoji.min.js @@ -1 +1 @@ -var twemoji=function(){"use strict";function a(a){return document.createTextNode(a)}function b(a){return a.replace(s,h)}function c(a,b){return"".concat(b.base,b.size,"/",a,b.ext)}function d(a,b){for(var c,e,f=a.childNodes,g=f.length;g--;)c=f[g],e=c.nodeType,3===e?b.push(c):1!==e||t.test(c.nodeName)||d(c,b);return b}function e(a,b){return o("\ufe0f"===b?a.slice(0,-1):3===a.length&&"\ufe0f"===a.charAt(1)?a.charAt(0)+a.charAt(2):a)}function f(b,c){for(var f,g,h,i,j,k,l,m,n,o,q,s,t,u,v=d(b,[]),w=v.length;w--;){for(h=!1,i=document.createDocumentFragment(),j=v[w],k=j.nodeValue,m=0;l=r.exec(k);){if(n=l.index,n!==m&&i.appendChild(a(k.slice(m,n))),q=l[0],s=l[1],t=l[2],m=n+q.length,"\ufe0e"!==t&&(u=c.callback(e(s,t),c,t))){o=new Image,o.onerror=p.onerror,o.setAttribute("draggable","false"),f=c.attributes(s,t);for(g in f)f.hasOwnProperty(g)&&0!==g.indexOf("on")&&!o.hasAttribute(g)&&o.setAttribute(g,f[g]);o.className=c.className,o.alt=q,o.src=u,h=!0,i.appendChild(o)}o||i.appendChild(a(q)),o=null}h&&(m")}return j})}function h(a){return q[a]}function i(){return null}function j(a){return"number"==typeof a?a+"x"+a:a}function k(a){var b="string"==typeof a?parseInt(a,16):a;return 65536>b?u(b):(b-=65536,u(55296+(b>>10),56320+(1023&b)))}function l(a,b){return b&&"function"!=typeof b||(b={callback:b}),("string"==typeof a?g:f)(a,{callback:b.callback||c,attributes:"function"==typeof b.attributes?b.attributes:i,base:"string"==typeof b.base?b.base:p.base,ext:b.ext||p.ext,size:b.folder||j(b.size||p.size),className:b.className||p.className})}function m(a,b){return String(a).replace(r,b)}function n(a){r.lastIndex=0;var b=r.test(a);return r.lastIndex=0,b}function o(a,b){for(var c=[],d=0,e=0,f=0;f=55296&&56319>=d?e=d:c.push(d.toString(16));return c.join(b||"-")}var p={base:("https:"===location.protocol?"https:":"http:")+"//twemoji.maxcdn.com/",ext:".png",size:"36x36",className:"emoji",convert:{fromCodePoint:k,toCodePoint:o},onerror:function(){this.parentNode&&this.parentNode.replaceChild(a(this.alt),this)},parse:l,replace:m,test:n},q={"&":"&","<":"<",">":">","'":"'",'"':"""},r=/((?:\ud83c\udde8\ud83c\uddf3|\ud83c\uddfa\ud83c\uddf8|\ud83c\uddf7\ud83c\uddfa|\ud83c\uddf0\ud83c\uddf7|\ud83c\uddef\ud83c\uddf5|\ud83c\uddee\ud83c\uddf9|\ud83c\uddec\ud83c\udde7|\ud83c\uddeb\ud83c\uddf7|\ud83c\uddea\ud83c\uddf8|\ud83c\udde9\ud83c\uddea|\u0039\ufe0f?\u20e3|\u0038\ufe0f?\u20e3|\u0037\ufe0f?\u20e3|\u0036\ufe0f?\u20e3|\u0035\ufe0f?\u20e3|\u0034\ufe0f?\u20e3|\u0033\ufe0f?\u20e3|\u0032\ufe0f?\u20e3|\u0031\ufe0f?\u20e3|\u0030\ufe0f?\u20e3|\u0023\ufe0f?\u20e3|\ud83d\udeb3|\ud83d\udeb1|\ud83d\udeb0|\ud83d\udeaf|\ud83d\udeae|\ud83d\udea6|\ud83d\udea3|\ud83d\udea1|\ud83d\udea0|\ud83d\ude9f|\ud83d\ude9e|\ud83d\ude9d|\ud83d\ude9c|\ud83d\ude9b|\ud83d\ude98|\ud83d\ude96|\ud83d\ude94|\ud83d\ude90|\ud83d\ude8e|\ud83d\ude8d|\ud83d\ude8b|\ud83d\ude8a|\ud83d\ude88|\ud83d\ude86|\ud83d\ude82|\ud83d\ude81|\ud83d\ude36|\ud83d\ude34|\ud83d\ude2f|\ud83d\ude2e|\ud83d\ude2c|\ud83d\ude27|\ud83d\ude26|\ud83d\ude1f|\ud83d\ude1b|\ud83d\ude19|\ud83d\ude17|\ud83d\ude15|\ud83d\ude11|\ud83d\ude10|\ud83d\ude0e|\ud83d\ude08|\ud83d\ude07|\ud83d\ude00|\ud83d\udd67|\ud83d\udd66|\ud83d\udd65|\ud83d\udd64|\ud83d\udd63|\ud83d\udd62|\ud83d\udd61|\ud83d\udd60|\ud83d\udd5f|\ud83d\udd5e|\ud83d\udd5d|\ud83d\udd5c|\ud83d\udd2d|\ud83d\udd2c|\ud83d\udd15|\ud83d\udd09|\ud83d\udd08|\ud83d\udd07|\ud83d\udd06|\ud83d\udd05|\ud83d\udd04|\ud83d\udd02|\ud83d\udd01|\ud83d\udd00|\ud83d\udcf5|\ud83d\udcef|\ud83d\udced|\ud83d\udcec|\ud83d\udcb7|\ud83d\udcb6|\ud83d\udcad|\ud83d\udc6d|\ud83d\udc6c|\ud83d\udc65|\ud83d\udc2a|\ud83d\udc16|\ud83d\udc15|\ud83d\udc13|\ud83d\udc10|\ud83d\udc0f|\ud83d\udc0b|\ud83d\udc0a|\ud83d\udc09|\ud83d\udc08|\ud83d\udc07|\ud83d\udc06|\ud83d\udc05|\ud83d\udc04|\ud83d\udc03|\ud83d\udc02|\ud83d\udc01|\ud83d\udc00|\ud83c\udfe4|\ud83c\udfc9|\ud83c\udfc7|\ud83c\udf7c|\ud83c\udf50|\ud83c\udf4b|\ud83c\udf33|\ud83c\udf32|\ud83c\udf1e|\ud83c\udf1d|\ud83c\udf1c|\ud83c\udf1a|\ud83c\udf18|\ud83c\udccf|\ud83c\udd70|\ud83c\udd71|\ud83c\udd7e|\ud83c\udd8e|\ud83c\udd91|\ud83c\udd92|\ud83c\udd93|\ud83c\udd94|\ud83c\udd95|\ud83c\udd96|\ud83c\udd97|\ud83c\udd98|\ud83c\udd99|\ud83c\udd9a|\ud83d\udc77|\ud83d\udec5|\ud83d\udec4|\ud83d\udec3|\ud83d\udec2|\ud83d\udec1|\ud83d\udebf|\ud83d\udeb8|\ud83d\udeb7|\ud83d\udeb5|\ud83c\ude01|\ud83c\ude02|\ud83c\ude32|\ud83c\ude33|\ud83c\ude34|\ud83c\ude35|\ud83c\ude36|\ud83c\ude37|\ud83c\ude38|\ud83c\ude39|\ud83c\ude3a|\ud83c\ude50|\ud83c\ude51|\ud83c\udf00|\ud83c\udf01|\ud83c\udf02|\ud83c\udf03|\ud83c\udf04|\ud83c\udf05|\ud83c\udf06|\ud83c\udf07|\ud83c\udf08|\ud83c\udf09|\ud83c\udf0a|\ud83c\udf0b|\ud83c\udf0c|\ud83c\udf0f|\ud83c\udf11|\ud83c\udf13|\ud83c\udf14|\ud83c\udf15|\ud83c\udf19|\ud83c\udf1b|\ud83c\udf1f|\ud83c\udf20|\ud83c\udf30|\ud83c\udf31|\ud83c\udf34|\ud83c\udf35|\ud83c\udf37|\ud83c\udf38|\ud83c\udf39|\ud83c\udf3a|\ud83c\udf3b|\ud83c\udf3c|\ud83c\udf3d|\ud83c\udf3e|\ud83c\udf3f|\ud83c\udf40|\ud83c\udf41|\ud83c\udf42|\ud83c\udf43|\ud83c\udf44|\ud83c\udf45|\ud83c\udf46|\ud83c\udf47|\ud83c\udf48|\ud83c\udf49|\ud83c\udf4a|\ud83c\udf4c|\ud83c\udf4d|\ud83c\udf4e|\ud83c\udf4f|\ud83c\udf51|\ud83c\udf52|\ud83c\udf53|\ud83c\udf54|\ud83c\udf55|\ud83c\udf56|\ud83c\udf57|\ud83c\udf58|\ud83c\udf59|\ud83c\udf5a|\ud83c\udf5b|\ud83c\udf5c|\ud83c\udf5d|\ud83c\udf5e|\ud83c\udf5f|\ud83c\udf60|\ud83c\udf61|\ud83c\udf62|\ud83c\udf63|\ud83c\udf64|\ud83c\udf65|\ud83c\udf66|\ud83c\udf67|\ud83c\udf68|\ud83c\udf69|\ud83c\udf6a|\ud83c\udf6b|\ud83c\udf6c|\ud83c\udf6d|\ud83c\udf6e|\ud83c\udf6f|\ud83c\udf70|\ud83c\udf71|\ud83c\udf72|\ud83c\udf73|\ud83c\udf74|\ud83c\udf75|\ud83c\udf76|\ud83c\udf77|\ud83c\udf78|\ud83c\udf79|\ud83c\udf7a|\ud83c\udf7b|\ud83c\udf80|\ud83c\udf81|\ud83c\udf82|\ud83c\udf83|\ud83c\udf84|\ud83c\udf85|\ud83c\udf86|\ud83c\udf87|\ud83c\udf88|\ud83c\udf89|\ud83c\udf8a|\ud83c\udf8b|\ud83c\udf8c|\ud83c\udf8d|\ud83c\udf8e|\ud83c\udf8f|\ud83c\udf90|\ud83c\udf91|\ud83c\udf92|\ud83c\udf93|\ud83c\udfa0|\ud83c\udfa1|\ud83c\udfa2|\ud83c\udfa3|\ud83c\udfa4|\ud83c\udfa5|\ud83c\udfa6|\ud83c\udfa7|\ud83c\udfa8|\ud83c\udfa9|\ud83c\udfaa|\ud83c\udfab|\ud83c\udfac|\ud83c\udfad|\ud83c\udfae|\ud83c\udfaf|\ud83c\udfb0|\ud83c\udfb1|\ud83c\udfb2|\ud83c\udfb3|\ud83c\udfb4|\ud83c\udfb5|\ud83c\udfb6|\ud83c\udfb7|\ud83c\udfb8|\ud83c\udfb9|\ud83c\udfba|\ud83c\udfbb|\ud83c\udfbc|\ud83c\udfbd|\ud83c\udfbe|\ud83c\udfbf|\ud83c\udfc0|\ud83c\udfc1|\ud83c\udfc2|\ud83c\udfc3|\ud83c\udfc4|\ud83c\udfc6|\ud83c\udfc8|\ud83c\udfca|\ud83c\udfe0|\ud83c\udfe1|\ud83c\udfe2|\ud83c\udfe3|\ud83c\udfe5|\ud83c\udfe6|\ud83c\udfe7|\ud83c\udfe8|\ud83c\udfe9|\ud83c\udfea|\ud83c\udfeb|\ud83c\udfec|\ud83c\udfed|\ud83c\udfee|\ud83c\udfef|\ud83c\udff0|\ud83d\udc0c|\ud83d\udc0d|\ud83d\udc0e|\ud83d\udc11|\ud83d\udc12|\ud83d\udc14|\ud83d\udc17|\ud83d\udc18|\ud83d\udc19|\ud83d\udc1a|\ud83d\udc1b|\ud83d\udc1c|\ud83d\udc1d|\ud83d\udc1e|\ud83d\udc1f|\ud83d\udc20|\ud83d\udc21|\ud83d\udc22|\ud83d\udc23|\ud83d\udc24|\ud83d\udc25|\ud83d\udc26|\ud83d\udc27|\ud83d\udc28|\ud83d\udc29|\ud83d\udc2b|\ud83d\udc2c|\ud83d\udc2d|\ud83d\udc2e|\ud83d\udc2f|\ud83d\udc30|\ud83d\udc31|\ud83d\udc32|\ud83d\udc33|\ud83d\udc34|\ud83d\udc35|\ud83d\udc36|\ud83d\udc37|\ud83d\udc38|\ud83d\udc39|\ud83d\udc3a|\ud83d\udc3b|\ud83d\udc3c|\ud83d\udc3d|\ud83d\udc3e|\ud83d\udc40|\ud83d\udc42|\ud83d\udc43|\ud83d\udc44|\ud83d\udc45|\ud83d\udc46|\ud83d\udc47|\ud83d\udc48|\ud83d\udc49|\ud83d\udc4a|\ud83d\udc4b|\ud83d\udc4c|\ud83d\udc4d|\ud83d\udc4e|\ud83d\udc4f|\ud83d\udc50|\ud83d\udc51|\ud83d\udc52|\ud83d\udc53|\ud83d\udc54|\ud83d\udc55|\ud83d\udc56|\ud83d\udc57|\ud83d\udc58|\ud83d\udc59|\ud83d\udc5a|\ud83d\udc5b|\ud83d\udc5c|\ud83d\udc5d|\ud83d\udc5e|\ud83d\udc5f|\ud83d\udc60|\ud83d\udc61|\ud83d\udc62|\ud83d\udc63|\ud83d\udc64|\ud83d\udc66|\ud83d\udc67|\ud83d\udc68|\ud83d\udc69|\ud83d\udc6a|\ud83d\udc6b|\ud83d\udc6e|\ud83d\udc6f|\ud83d\udc70|\ud83d\udc71|\ud83d\udc72|\ud83d\udc73|\ud83d\udc74|\ud83d\udc75|\ud83d\udc76|\ud83d\udeb4|\ud83d\udc78|\ud83d\udc79|\ud83d\udc7a|\ud83d\udc7b|\ud83d\udc7c|\ud83d\udc7d|\ud83d\udc7e|\ud83d\udc7f|\ud83d\udc80|\ud83d\udc81|\ud83d\udc82|\ud83d\udc83|\ud83d\udc84|\ud83d\udc85|\ud83d\udc86|\ud83d\udc87|\ud83d\udc88|\ud83d\udc89|\ud83d\udc8a|\ud83d\udc8b|\ud83d\udc8c|\ud83d\udc8d|\ud83d\udc8e|\ud83d\udc8f|\ud83d\udc90|\ud83d\udc91|\ud83d\udc92|\ud83d\udc93|\ud83d\udc94|\ud83d\udc95|\ud83d\udc96|\ud83d\udc97|\ud83d\udc98|\ud83d\udc99|\ud83d\udc9a|\ud83d\udc9b|\ud83d\udc9c|\ud83d\udc9d|\ud83d\udc9e|\ud83d\udc9f|\ud83d\udca0|\ud83d\udca1|\ud83d\udca2|\ud83d\udca3|\ud83d\udca4|\ud83d\udca5|\ud83d\udca6|\ud83d\udca7|\ud83d\udca8|\ud83d\udca9|\ud83d\udcaa|\ud83d\udcab|\ud83d\udcac|\ud83d\udcae|\ud83d\udcaf|\ud83d\udcb0|\ud83d\udcb1|\ud83d\udcb2|\ud83d\udcb3|\ud83d\udcb4|\ud83d\udcb5|\ud83d\udcb8|\ud83d\udcb9|\ud83d\udcba|\ud83d\udcbb|\ud83d\udcbc|\ud83d\udcbd|\ud83d\udcbe|\ud83d\udcbf|\ud83d\udcc0|\ud83d\udcc1|\ud83d\udcc2|\ud83d\udcc3|\ud83d\udcc4|\ud83d\udcc5|\ud83d\udcc6|\ud83d\udcc7|\ud83d\udcc8|\ud83d\udcc9|\ud83d\udcca|\ud83d\udccb|\ud83d\udccc|\ud83d\udccd|\ud83d\udcce|\ud83d\udccf|\ud83d\udcd0|\ud83d\udcd1|\ud83d\udcd2|\ud83d\udcd3|\ud83d\udcd4|\ud83d\udcd5|\ud83d\udcd6|\ud83d\udcd7|\ud83d\udcd8|\ud83d\udcd9|\ud83d\udcda|\ud83d\udcdb|\ud83d\udcdc|\ud83d\udcdd|\ud83d\udcde|\ud83d\udcdf|\ud83d\udce0|\ud83d\udce1|\ud83d\udce2|\ud83d\udce3|\ud83d\udce4|\ud83d\udce5|\ud83d\udce6|\ud83d\udce7|\ud83d\udce8|\ud83d\udce9|\ud83d\udcea|\ud83d\udceb|\ud83d\udcee|\ud83d\udcf0|\ud83d\udcf1|\ud83d\udcf2|\ud83d\udcf3|\ud83d\udcf4|\ud83d\udcf6|\ud83d\udcf7|\ud83d\udcf9|\ud83d\udcfa|\ud83d\udcfb|\ud83d\udcfc|\ud83d\udd03|\ud83d\udd0a|\ud83d\udd0b|\ud83d\udd0c|\ud83d\udd0d|\ud83d\udd0e|\ud83d\udd0f|\ud83d\udd10|\ud83d\udd11|\ud83d\udd12|\ud83d\udd13|\ud83d\udd14|\ud83d\udd16|\ud83d\udd17|\ud83d\udd18|\ud83d\udd19|\ud83d\udd1a|\ud83d\udd1b|\ud83d\udd1c|\ud83d\udd1d|\ud83d\udd1e|\ud83d\udd1f|\ud83d\udd20|\ud83d\udd21|\ud83d\udd22|\ud83d\udd23|\ud83d\udd24|\ud83d\udd25|\ud83d\udd26|\ud83d\udd27|\ud83d\udd28|\ud83d\udd29|\ud83d\udd2a|\ud83d\udd2b|\ud83d\udd2e|\ud83d\udd2f|\ud83d\udd30|\ud83d\udd31|\ud83d\udd32|\ud83d\udd33|\ud83d\udd34|\ud83d\udd35|\ud83d\udd36|\ud83d\udd37|\ud83d\udd38|\ud83d\udd39|\ud83d\udd3a|\ud83d\udd3b|\ud83d\udd3c|\ud83d\udd3d|\ud83d\udd50|\ud83d\udd51|\ud83d\udd52|\ud83d\udd53|\ud83d\udd54|\ud83d\udd55|\ud83d\udd56|\ud83d\udd57|\ud83d\udd58|\ud83d\udd59|\ud83d\udd5a|\ud83d\udd5b|\ud83d\uddfb|\ud83d\uddfc|\ud83d\uddfd|\ud83d\uddfe|\ud83d\uddff|\ud83d\ude01|\ud83d\ude02|\ud83d\ude03|\ud83d\ude04|\ud83d\ude05|\ud83d\ude06|\ud83d\ude09|\ud83d\ude0a|\ud83d\ude0b|\ud83d\ude0c|\ud83d\ude0d|\ud83d\ude0f|\ud83d\ude12|\ud83d\ude13|\ud83d\ude14|\ud83d\ude16|\ud83d\ude18|\ud83d\ude1a|\ud83d\ude1c|\ud83d\ude1d|\ud83d\ude1e|\ud83d\ude20|\ud83d\ude21|\ud83d\ude22|\ud83d\ude23|\ud83d\ude24|\ud83d\ude25|\ud83d\ude28|\ud83d\ude29|\ud83d\ude2a|\ud83d\ude2b|\ud83d\ude2d|\ud83d\ude30|\ud83d\ude31|\ud83d\ude32|\ud83d\ude33|\ud83d\ude35|\ud83d\ude37|\ud83d\ude38|\ud83d\ude39|\ud83d\ude3a|\ud83d\ude3b|\ud83d\ude3c|\ud83d\ude3d|\ud83d\ude3e|\ud83d\ude3f|\ud83d\ude40|\ud83d\ude45|\ud83d\ude46|\ud83d\ude47|\ud83d\ude48|\ud83d\ude49|\ud83d\ude4a|\ud83d\ude4b|\ud83d\ude4c|\ud83d\ude4d|\ud83d\ude4e|\ud83d\ude4f|\ud83d\ude80|\ud83d\ude83|\ud83d\ude84|\ud83d\ude85|\ud83d\ude87|\ud83d\ude89|\ud83d\ude8c|\ud83d\ude8f|\ud83d\ude91|\ud83d\ude92|\ud83d\ude93|\ud83d\ude95|\ud83d\ude97|\ud83d\ude99|\ud83d\ude9a|\ud83d\udea2|\ud83d\udea4|\ud83d\udea5|\ud83d\udea7|\ud83d\udea8|\ud83d\udea9|\ud83d\udeaa|\ud83d\udeab|\ud83d\udeac|\ud83d\udead|\ud83d\udeb2|\ud83d\udeb6|\ud83d\udeb9|\ud83d\udeba|\ud83d\udebb|\ud83d\udebc|\ud83d\udebd|\ud83d\udebe|\ud83d\udec0|\ud83c\udde6|\ud83c\udde7|\ud83c\udde8|\ud83c\udde9|\ud83c\uddea|\ud83c\uddeb|\ud83c\uddec|\ud83c\udded|\ud83c\uddee|\ud83c\uddef|\ud83c\uddf0|\ud83c\uddf1|\ud83c\uddf2|\ud83c\uddf3|\ud83c\uddf4|\ud83c\uddf5|\ud83c\uddf6|\ud83c\uddf7|\ud83c\uddf8|\ud83c\uddf9|\ud83c\uddfa|\ud83c\uddfb|\ud83c\uddfc|\ud83c\uddfd|\ud83c\uddfe|\ud83c\uddff|\ud83c\udf0d|\ud83c\udf0e|\ud83c\udf10|\ud83c\udf12|\ud83c\udf16|\ud83c\udf17|\ue50a|\u3030|\u27b0|\u2797|\u2796|\u2795|\u2755|\u2754|\u2753|\u274e|\u274c|\u2728|\u270b|\u270a|\u2705|\u26ce|\u23f3|\u23f0|\u23ec|\u23eb|\u23ea|\u23e9|\u2122|\u27bf|\u00a9|\u00ae)|(?:(?:\ud83c\udc04|\ud83c\udd7f|\ud83c\ude1a|\ud83c\ude2f|\u3299|\u303d|\u2b55|\u2b50|\u2b1c|\u2b1b|\u2b07|\u2b06|\u2b05|\u2935|\u2934|\u27a1|\u2764|\u2757|\u2747|\u2744|\u2734|\u2733|\u2716|\u2714|\u2712|\u270f|\u270c|\u2709|\u2708|\u2702|\u26fd|\u26fa|\u26f5|\u26f3|\u26f2|\u26ea|\u26d4|\u26c5|\u26c4|\u26be|\u26bd|\u26ab|\u26aa|\u26a1|\u26a0|\u2693|\u267f|\u267b|\u3297|\u2666|\u2665|\u2663|\u2660|\u2653|\u2652|\u2651|\u2650|\u264f|\u264e|\u264d|\u264c|\u264b|\u264a|\u2649|\u2648|\u263a|\u261d|\u2615|\u2614|\u2611|\u260e|\u2601|\u2600|\u25fe|\u25fd|\u25fc|\u25fb|\u25c0|\u25b6|\u25ab|\u25aa|\u24c2|\u231b|\u231a|\u21aa|\u21a9|\u2199|\u2198|\u2197|\u2196|\u2195|\u2194|\u2139|\u2049|\u203c|\u2668)([\uFE0E\uFE0F]?)))/g,s=/[&<>'"]/g,t=/IFRAME|NOFRAMES|NOSCRIPT|SCRIPT|SELECT|STYLE|TEXTAREA|[a-z]/,u=String.fromCharCode;return p}(); \ No newline at end of file +var twemoji=function(){"use strict";function a(a){return document.createTextNode(a)}function b(a){return a.replace(s,h)}function c(a,b){return"".concat(b.base,b.size,"/",a,b.ext)}function d(a,b){for(var c,e,f=a.childNodes,g=f.length;g--;)c=f[g],e=c.nodeType,3===e?b.push(c):1!==e||t.test(c.nodeName)||d(c,b);return b}function e(a,b){return o("\ufe0f"===b?a.slice(0,-1):3===a.length&&"\ufe0f"===a.charAt(1)?a.charAt(0)+a.charAt(2):a)}function f(b,c){for(var f,g,h,i,j,k,l,m,n,o,p,q,s,t,u=d(b,[]),v=u.length;v--;){for(h=!1,i=document.createDocumentFragment(),j=u[v],k=j.nodeValue,m=0;l=r.exec(k);){if(n=l.index,n!==m&&i.appendChild(a(k.slice(m,n))),p=l[0],q=l[1],s=l[2],m=n+p.length,"\ufe0e"!==s&&(t=c.callback(e(q,s),c,s))){o=new Image,o.onerror=c.onerror,o.setAttribute("draggable","false"),f=c.attributes(q,s);for(g in f)f.hasOwnProperty(g)&&0!==g.indexOf("on")&&!o.hasAttribute(g)&&o.setAttribute(g,f[g]);o.className=c.className,o.alt=p,o.src=t,h=!0,i.appendChild(o)}o||i.appendChild(a(p)),o=null}h&&(m")}return j})}function h(a){return q[a]}function i(){return null}function j(a){return"number"==typeof a?a+"x"+a:a}function k(a){var b="string"==typeof a?parseInt(a,16):a;return 65536>b?u(b):(b-=65536,u(55296+(b>>10),56320+(1023&b)))}function l(a,b){return b&&"function"!=typeof b||(b={callback:b}),("string"==typeof a?g:f)(a,{callback:b.callback||c,attributes:"function"==typeof b.attributes?b.attributes:i,base:"string"==typeof b.base?b.base:p.base,ext:b.ext||p.ext,size:b.folder||j(b.size||p.size),className:b.className||p.className,onerror:b.onerror||p.onerror})}function m(a,b){return String(a).replace(r,b)}function n(a){r.lastIndex=0;var b=r.test(a);return r.lastIndex=0,b}function o(a,b){for(var c=[],d=0,e=0,f=0;f=55296&&56319>=d?e=d:c.push(d.toString(16));return c.join(b||"-")}var p={base:("https:"===location.protocol?"https:":"http:")+"//twemoji.maxcdn.com/",ext:".png",size:"36x36",className:"emoji",convert:{fromCodePoint:k,toCodePoint:o},onerror:function(){this.parentNode&&this.parentNode.replaceChild(a(this.alt),this)},parse:l,replace:m,test:n},q={"&":"&","<":"<",">":">","'":"'",'"':"""},r=/((?:\u0039\ufe0f\u20e3|\u0038\ufe0f\u20e3|\u0037\ufe0f\u20e3|\u0036\ufe0f\u20e3|\u0035\ufe0f\u20e3|\u0034\ufe0f\u20e3|\u0033\ufe0f\u20e3|\u0032\ufe0f\u20e3|\u0031\ufe0f\u20e3|\u0030\ufe0f\u20e3|\u0023\ufe0f\u20e3|\ud83c\uddea\ud83c\uddf8|\ud83c\uddeb\ud83c\uddf7|\ud83c\uddec\ud83c\udde7|\ud83c\uddee\ud83c\uddf9|\ud83c\uddef\ud83c\uddf5|\ud83c\uddf0\ud83c\uddf7|\ud83c\uddf7\ud83c\uddfa|\ud83c\uddfa\ud83c\uddf8|\ud83c\uddea\ud83c\udde8|\ud83c\udde9\ud83c\uddff|\ud83c\uddf9\ud83c\uddf7|\ud83c\udde8\ud83c\uddf7|\ud83c\uddfa\ud83c\uddfe|\ud83c\udde8\ud83c\udde6|\ud83c\uddf8\ud83c\uddec|\ud83c\udde7\ud83c\uddf7|\ud83c\uddf8\ud83c\udde6|\ud83c\udde6\ud83c\uddfa|\ud83c\uddf5\ud83c\uddf9|\ud83c\uddf2\ud83c\uddfd|\ud83c\uddee\ud83c\uddf7|\ud83c\uddee\ud83c\uddf3|\ud83c\udded\ud83c\uddf7|\ud83c\udde8\ud83c\uddf3|\ud83c\udde9\ud83c\uddea|\ud83c\udde6\ud83c\uddf7|\u0039\ufe0f?\u20e3|\u0038\ufe0f?\u20e3|\u0037\ufe0f?\u20e3|\u0036\ufe0f?\u20e3|\u0035\ufe0f?\u20e3|\u0034\ufe0f?\u20e3|\u0033\ufe0f?\u20e3|\u0032\ufe0f?\u20e3|\u0031\ufe0f?\u20e3|\u0030\ufe0f?\u20e3|\u0023\ufe0f?\u20e3|\u0039\ufe0f?\u20e3|\u0038\ufe0f?\u20e3|\u0037\ufe0f?\u20e3|\u0036\ufe0f?\u20e3|\u0035\ufe0f?\u20e3|\u0034\ufe0f?\u20e3|\u0033\ufe0f?\u20e3|\u0032\ufe0f?\u20e3|\u0031\ufe0f?\u20e3|\u0030\ufe0f?\u20e3|\u0023\ufe0f?\u20e3|\ud83d\ude1b|\ud83d\ude19|\ud83d\ude17|\ud83d\ude15|\ud83d\ude11|\ud83d\ude10|\ud83d\ude0e|\ud83d\ude08|\ud83d\ude07|\ud83d\ude00|\ud83d\udd67|\ud83d\udd66|\ud83d\udd65|\ud83d\udd64|\ud83d\udd63|\ud83d\udd62|\ud83d\udd61|\ud83d\udd60|\ud83d\udd5f|\ud83d\udd5e|\ud83d\udd5d|\ud83d\udd5c|\ud83d\udd2d|\ud83d\udd2c|\ud83d\udd15|\ud83d\udd09|\ud83d\udd08|\ud83d\udd07|\ud83d\udd06|\ud83d\udd05|\ud83d\udd04|\ud83d\udd02|\ud83d\udd01|\ud83d\udd00|\ud83d\udcf5|\ud83d\udcef|\ud83d\udced|\ud83d\udcec|\ud83d\udcb7|\ud83d\udcb6|\ud83d\udcad|\ud83d\udc6d|\ud83d\udc6c|\ud83d\udc65|\ud83d\udc2a|\ud83d\udc16|\ud83d\udc15|\ud83d\udc13|\ud83d\udc10|\ud83d\udc0f|\ud83d\udc0b|\ud83d\udc0a|\ud83d\udc09|\ud83d\udc08|\ud83d\udc07|\ud83d\udc06|\ud83d\udc05|\ud83d\udc04|\ud83d\udc03|\ud83d\udc02|\ud83d\udc01|\ud83d\udc00|\ud83c\udfff|\ud83c\udffe|\ud83c\udffd|\ud83c\udffc|\ud83c\udffb|\ud83c\udfe4|\ud83c\udfd2|\ud83c\udfd0|\ud83c\udfcf|\ud83c\udccf|\ud83c\udd8e|\ud83c\udd91|\ud83c\udd92|\ud83c\udd93|\ud83c\udd94|\ud83c\udd95|\ud83c\udd96|\ud83c\udd97|\ud83c\udd98|\ud83c\udd99|\ud83c\udd9a|\ud83d\udc94|\ud83e\udd18|\ud83e\udd16|\ud83e\udd15|\ud83d\udecf|\ud83d\udec5|\ud83d\udec4|\ud83d\udec3|\ud83d\udec2|\ud83d\udec1|\ud83c\ude01|\ud83c\ude32|\ud83c\ude33|\ud83c\ude34|\ud83c\ude35|\ud83c\ude36|\ud83c\ude38|\ud83c\ude39|\ud83c\ude3a|\ud83c\ude50|\ud83c\ude51|\ud83c\udf00|\ud83c\udf01|\ud83c\udf02|\ud83c\udf03|\ud83c\udf04|\ud83c\udf05|\ud83c\udf06|\ud83c\udf07|\ud83c\udf08|\ud83c\udf09|\ud83c\udf0a|\ud83c\udf0b|\ud83c\udf0c|\ud83c\udf0f|\ud83c\udf11|\ud83c\udf13|\ud83c\udf14|\ud83c\udf15|\ud83c\udf19|\ud83c\udf1b|\ud83c\udf1f|\ud83c\udf20|\ud83c\udf30|\ud83c\udf31|\ud83c\udf34|\ud83c\udf35|\ud83c\udf37|\ud83c\udf38|\ud83c\udf39|\ud83c\udf3a|\ud83c\udf3b|\ud83c\udf3c|\ud83c\udf3d|\ud83c\udf3e|\ud83c\udf3f|\ud83c\udf40|\ud83c\udf41|\ud83c\udf42|\ud83c\udf43|\ud83c\udf44|\ud83c\udf45|\ud83c\udf46|\ud83c\udf47|\ud83c\udf48|\ud83c\udf49|\ud83c\udf4a|\ud83c\udf4c|\ud83c\udf4d|\ud83c\udf4e|\ud83c\udf4f|\ud83c\udf51|\ud83c\udf52|\ud83c\udf53|\ud83c\udf54|\ud83c\udf55|\ud83c\udf56|\ud83c\udf57|\ud83c\udf58|\ud83c\udf59|\ud83c\udf5a|\ud83c\udf5b|\ud83c\udf5c|\ud83c\udf5d|\ud83c\udf5e|\ud83c\udf5f|\ud83c\udf60|\ud83c\udf61|\ud83c\udf62|\ud83c\udf63|\ud83c\udf64|\ud83c\udf65|\ud83c\udf66|\ud83c\udf67|\ud83c\udf68|\ud83c\udf69|\ud83c\udf6a|\ud83c\udf6b|\ud83c\udf6c|\ud83c\udf6d|\ud83c\udf6e|\ud83c\udf6f|\ud83c\udf70|\ud83c\udf71|\ud83c\udf72|\ud83c\udf73|\ud83c\udf74|\ud83c\udf75|\ud83c\udf76|\ud83c\udf77|\ud83c\udf78|\ud83c\udf79|\ud83c\udf7a|\ud83c\udf7b|\ud83c\udf80|\ud83c\udf81|\ud83c\udf82|\ud83c\udf83|\ud83c\udf84|\ud83c\udf85|\ud83c\udf86|\ud83c\udf87|\ud83c\udf88|\ud83c\udf89|\ud83c\udf8a|\ud83c\udf8b|\ud83c\udf8c|\ud83c\udf8d|\ud83c\udf8e|\ud83c\udf8f|\ud83c\udf90|\ud83c\udf91|\ud83c\udf92|\ud83c\udf93|\ud83c\udfa0|\ud83c\udfa1|\ud83c\udfa2|\ud83c\udfa3|\ud83c\udfa4|\ud83c\udfa5|\ud83c\udfa6|\ud83c\udfa7|\ud83c\udfa8|\ud83c\udfa9|\ud83c\udfaa|\ud83c\udfab|\ud83c\udfac|\ud83c\udfad|\ud83c\udfae|\ud83c\udfaf|\ud83c\udfb0|\ud83c\udfb1|\ud83c\udfb2|\ud83c\udfb3|\ud83c\udfb4|\ud83c\udfb5|\ud83c\udfb6|\ud83c\udfb7|\ud83c\udfb8|\ud83c\udfb9|\ud83c\udfba|\ud83c\udfbb|\ud83c\udfbc|\ud83c\udfbd|\ud83c\udfbe|\ud83c\udfbf|\ud83c\udfc0|\ud83c\udfc1|\ud83c\udfc2|\ud83c\udfc3|\ud83c\udfc4|\ud83c\udfc6|\ud83c\udfc8|\ud83c\udfca|\ud83c\udfe0|\ud83c\udfe1|\ud83c\udfe2|\ud83c\udfe3|\ud83c\udfe5|\ud83c\udfe6|\ud83c\udfe7|\ud83c\udfe8|\ud83c\udfe9|\ud83c\udfea|\ud83c\udfeb|\ud83c\udfec|\ud83c\udfed|\ud83c\udfee|\ud83c\udfef|\ud83c\udff0|\ud83d\udc0c|\ud83d\udc0d|\ud83d\udc0e|\ud83d\udc11|\ud83d\udc12|\ud83d\udc14|\ud83d\udc17|\ud83d\udc18|\ud83d\udc19|\ud83d\udc1a|\ud83d\udc1b|\ud83d\udc1c|\ud83d\udc1d|\ud83d\udc1e|\ud83d\udc1f|\ud83d\udc20|\ud83d\udc21|\ud83d\udc22|\ud83d\udc23|\ud83d\udc24|\ud83d\udc25|\ud83d\udc26|\ud83d\udc27|\ud83d\udc28|\ud83d\udc29|\ud83d\udc2b|\ud83d\udc2c|\ud83d\udc2d|\ud83d\udc2e|\ud83d\udc2f|\ud83d\udc30|\ud83d\udc31|\ud83d\udc32|\ud83d\udc33|\ud83d\udc34|\ud83d\udc35|\ud83d\udc36|\ud83d\udc37|\ud83d\udc38|\ud83d\udc39|\ud83d\udc3a|\ud83d\udc3b|\ud83d\udc3c|\ud83d\udc3d|\ud83d\udc3e|\ud83d\udc40|\ud83d\udc42|\ud83d\udc43|\ud83d\udc44|\ud83d\udc45|\ud83d\udc46|\ud83d\udc47|\ud83d\udc48|\ud83d\udc49|\ud83d\udc4a|\ud83d\udc4b|\ud83d\udc4c|\ud83d\udc4d|\ud83d\udc4e|\ud83d\udc4f|\ud83d\udc50|\ud83d\udc51|\ud83d\udc52|\ud83d\udc53|\ud83d\udc54|\ud83d\udc55|\ud83d\udc56|\ud83d\udc57|\ud83d\udc58|\ud83d\udc59|\ud83d\udc5a|\ud83d\udc5b|\ud83d\udc5c|\ud83d\udc5d|\ud83d\udc5e|\ud83d\udc5f|\ud83d\udc60|\ud83d\udc61|\ud83d\udc62|\ud83d\udc63|\ud83d\udc64|\ud83d\udc66|\ud83d\udc67|\ud83d\udc68|\ud83d\udc69|\ud83d\udc6a|\ud83d\udc6b|\ud83d\udc6e|\ud83d\udc6f|\ud83d\udc70|\ud83d\udc71|\ud83d\udc72|\ud83d\udc73|\ud83d\udc74|\ud83d\udc75|\ud83d\udc76|\ud83d\udc77|\ud83d\udc78|\ud83d\udc79|\ud83d\udc7a|\ud83d\udc7b|\ud83d\udc7c|\ud83d\udc7d|\ud83d\udc7e|\ud83d\udc7f|\ud83d\udc80|\ud83d\udc81|\ud83d\udc82|\ud83d\udc83|\ud83d\udc84|\ud83d\udc85|\ud83d\udc86|\ud83d\udc87|\ud83d\udc88|\ud83d\udc89|\ud83d\udc8a|\ud83d\udc8b|\ud83d\udc8c|\ud83d\udc8d|\ud83d\udc8e|\ud83d\udc8f|\ud83d\udc90|\ud83d\udc91|\ud83d\udc92|\ud83d\udc93|\ud83d\udebf|\ud83d\udc95|\ud83d\udc96|\ud83d\udc97|\ud83d\udc98|\ud83d\udc99|\ud83d\udc9a|\ud83d\udc9b|\ud83d\udc9c|\ud83d\udc9d|\ud83d\udc9e|\ud83d\udc9f|\ud83d\udca0|\ud83d\udca1|\ud83d\udca2|\ud83d\udca3|\ud83d\udca4|\ud83d\udca5|\ud83d\udca6|\ud83d\udca7|\ud83d\udca8|\ud83d\udca9|\ud83d\udcaa|\ud83d\udcab|\ud83d\udcac|\ud83d\udcae|\ud83d\udcaf|\ud83d\udcb0|\ud83d\udcb1|\ud83d\udcb2|\ud83d\udcb3|\ud83d\udcb4|\ud83d\udcb5|\ud83d\udcb8|\ud83d\udcb9|\ud83d\udcba|\ud83d\udcbb|\ud83d\udcbc|\ud83d\udcbd|\ud83d\udcbe|\ud83d\udcbf|\ud83d\udcc0|\ud83d\udcc1|\ud83d\udcc2|\ud83d\udcc3|\ud83d\udcc4|\ud83d\udcc5|\ud83d\udcc6|\ud83d\udcc7|\ud83d\udcc8|\ud83d\udcc9|\ud83d\udcca|\ud83d\udccb|\ud83d\udccc|\ud83d\udccd|\ud83d\udcce|\ud83d\udccf|\ud83d\udcd0|\ud83d\udcd1|\ud83d\udcd2|\ud83d\udcd3|\ud83d\udcd4|\ud83d\udcd5|\ud83d\udcd6|\ud83d\udcd7|\ud83d\udcd8|\ud83d\udcd9|\ud83d\udcda|\ud83d\udcdb|\ud83d\udcdc|\ud83d\udcdd|\ud83d\udcde|\ud83d\udcdf|\ud83d\udce0|\ud83d\udce1|\ud83d\udce2|\ud83d\udce3|\ud83d\udce4|\ud83d\udce5|\ud83d\udce6|\ud83d\udce7|\ud83d\udce8|\ud83d\udce9|\ud83d\udcea|\ud83d\udceb|\ud83d\udcee|\ud83d\udcf0|\ud83d\udcf1|\ud83d\udcf2|\ud83d\udcf3|\ud83d\udcf4|\ud83d\udcf6|\ud83d\udcf7|\ud83d\udcf9|\ud83d\udcfa|\ud83d\udcfb|\ud83d\udcfc|\ud83d\udd03|\ud83d\udd0a|\ud83d\udd0b|\ud83d\udd0c|\ud83d\udd0d|\ud83d\udd0e|\ud83d\udd0f|\ud83d\udd10|\ud83d\udd11|\ud83d\udd12|\ud83d\udd13|\ud83d\udd14|\ud83d\udd16|\ud83d\udd17|\ud83d\udd18|\ud83d\udd19|\ud83d\udd1a|\ud83d\udd1b|\ud83d\udd1c|\ud83d\udd1d|\ud83d\udd1e|\ud83d\udd1f|\ud83d\udd20|\ud83d\udd21|\ud83d\udd22|\ud83d\udd23|\ud83d\udd24|\ud83d\udd25|\ud83d\udd26|\ud83d\udd27|\ud83d\udd28|\ud83d\udd29|\ud83d\udd2a|\ud83d\udd2b|\ud83d\udd2e|\ud83d\udd2f|\ud83d\udd30|\ud83d\udd31|\ud83d\udd32|\ud83d\udd33|\ud83d\udd34|\ud83d\udd35|\ud83d\udd36|\ud83d\udd37|\ud83d\udd38|\ud83d\udd39|\ud83d\udd3a|\ud83d\udd3b|\ud83d\udd3c|\ud83d\udd3d|\ud83d\udd50|\ud83d\udd51|\ud83d\udd52|\ud83d\udd53|\ud83d\udd54|\ud83d\udd55|\ud83d\udd56|\ud83d\udd57|\ud83d\udd58|\ud83d\udd59|\ud83d\udd5a|\ud83d\udd5b|\ud83d\uddfb|\ud83d\uddfc|\ud83d\uddfd|\ud83d\uddfe|\ud83d\uddff|\ud83d\ude01|\ud83d\ude02|\ud83d\ude03|\ud83d\ude04|\ud83d\ude05|\ud83d\ude06|\ud83d\ude09|\ud83d\ude0a|\ud83d\ude0b|\ud83d\ude0c|\ud83d\ude0d|\ud83d\ude0f|\ud83d\ude12|\ud83d\ude13|\ud83d\ude14|\ud83d\ude16|\ud83d\ude18|\ud83d\ude1a|\ud83d\ude1c|\ud83d\ude1d|\ud83d\ude1e|\ud83d\ude20|\ud83d\ude21|\ud83d\ude22|\ud83d\ude23|\ud83d\ude24|\ud83d\ude25|\ud83d\ude28|\ud83d\ude29|\ud83d\ude2a|\ud83d\ude2b|\ud83d\ude2d|\ud83d\ude30|\ud83d\ude31|\ud83d\ude32|\ud83d\ude33|\ud83d\ude35|\ud83d\ude37|\ud83d\ude38|\ud83d\ude39|\ud83d\ude3a|\ud83d\ude3b|\ud83d\ude3c|\ud83d\ude3d|\ud83d\ude3e|\ud83d\ude3f|\ud83d\ude40|\ud83d\ude45|\ud83d\ude46|\ud83d\ude47|\ud83d\ude48|\ud83d\ude49|\ud83d\ude4a|\ud83d\ude4b|\ud83d\ude4c|\ud83d\ude4d|\ud83d\ude4e|\ud83d\ude4f|\ud83d\ude80|\ud83d\ude83|\ud83d\ude84|\ud83d\ude85|\ud83d\ude87|\ud83d\ude89|\ud83d\ude8c|\ud83d\ude8f|\ud83d\ude91|\ud83d\ude92|\ud83d\ude93|\ud83d\ude95|\ud83d\ude97|\ud83d\ude99|\ud83d\ude9a|\ud83d\udea2|\ud83d\udea4|\ud83d\udea5|\ud83d\udea7|\ud83d\udea8|\ud83d\udea9|\ud83d\udeaa|\ud83d\udeab|\ud83d\udeac|\ud83d\udead|\ud83d\udeb2|\ud83d\udeb6|\ud83d\udeb9|\ud83d\udeba|\ud83d\udebb|\ud83d\udebc|\ud83d\udebd|\ud83d\udebe|\ud83d\udec0|\ud83c\udfce|\ud83d\udeb8|\ud83d\udeb7|\ud83d\udeb5|\ud83d\udeb4|\ud83d\udeb3|\ud83d\udeb1|\ud83d\udeb0|\ud83d\udeaf|\ud83d\udeae|\ud83d\udea6|\ud83d\udea3|\ud83d\udea1|\ud83d\udea0|\ud83d\ude9f|\ud83d\ude9e|\ud83d\ude9d|\ud83d\ude9c|\ud83d\ude9b|\ud83d\ude98|\ud83d\ude96|\ud83d\ude94|\ud83d\ude90|\ud83d\ude8e|\ud83d\ude8d|\ud83c\udde6|\ud83d\ude8b|\ud83c\udde7|\ud83d\ude8a|\ud83d\ude88|\ud83c\udde8|\ud83d\ude86|\ud83c\udde9|\ud83d\ude82|\ud83c\uddea|\ud83c\uddeb|\ud83c\uddec|\ud83d\ude81|\ud83c\udded|\ud83d\ude36|\ud83d\ude34|\ud83c\uddee|\ud83c\uddef|\ud83c\uddf0|\ud83c\uddf1|\ud83d\ude2f|\ud83c\uddf2|\ud83c\uddf3|\ud83c\uddf4|\ud83d\ude2e|\ud83c\uddf5|\ud83c\uddf6|\ud83c\uddf7|\ud83d\ude2c|\ud83d\ude27|\ud83c\uddf8|\ud83d\ude26|\ud83c\uddf9|\ud83d\ude1f|\ud83c\uddfa|\ud83c\uddfb|\ud83c\uddfc|\ud83c\uddfd|\ud83c\uddfe|\ud83c\uddff|\ud83c\udf0d|\ud83c\udf0e|\ud83c\udf10|\ud83c\udf12|\ud83c\udf16|\ud83c\udf17|\ud83c\udf18|\ud83c\udf1a|\ud83c\udf1c|\ud83c\udf1d|\ud83c\udf1e|\ud83c\udf2d|\ud83c\udf2e|\ud83c\udf2f|\ud83c\udf32|\ud83c\udf33|\ud83c\udf4b|\ud83c\udf50|\ud83c\udf7c|\ud83c\udfc7|\ud83c\udfc9|\ue50a|\u2797|\u2796|\u2795|\u2755|\u2754|\u2753|\u2728|\u2705|\u274c|\u274e|\u270a|\u270b|\u269c|\u27bf|\u27b0|\u26f8|\u26ce|\u23e9|\u23ea|\u23eb|\u23ec|\u23f0|\u23f3|\u00a9|\u00ae|\ud800\udc00)|(?:(?:\ud83c\udc04|\ud83c\udd70|\ud83c\udd71|\ud83c\udd7e|\ud83c\udd7f|\ud83c\ude02|\ud83c\ude1a|\ud83c\ude2f|\ud83c\ude37|\u3299|\u3297|\u3030|\u2935|\u2934|\u2764|\u2757|\u2747|\u2744|\u2734|\u2733|\u2716|\u2714|\u2712|\u2709|\u2708|\u2702|\u2693|\u2668|\u2666|\u2665|\u2663|\u2660|\u2653|\u2652|\u2651|\u2650|\u2649|\u2648|\u2615|\u2614|\u2611|\u2601|\u2600|\u2199|\u2198|\u2197|\u2196|\u2195|\u2194|\u2139|\u2122|\u2049|\u303d|\u270c|\u270f|\u267f|\u267b|\u264e|\u264d|\u264c|\u264b|\u264f|\u264a|\u263a|\u261d|\u260e|\u231b|\u231a|\u203c|\u27a1|\u26fd|\u26f5|\u26fa|\u26a1|\u26aa|\u26ab|\u26bd|\u26be|\u26d4|\u26c4|\u26c5|\u26a0|\u26f2|\u26f3|\u26ea|\u25ab|\u25aa|\u25fd|\u25b6|\u25fb|\u25c0|\u25fe|\u25fc|\u24c2|\u21a9|\u21aa|\u2b07|\u2b05|\u2b06|\u2b50|\u2b55|\u2b1c|\u2b1b)([\uFE0E\uFE0F]?)))/g,s=/[&<>'"]/g,t=/IFRAME|NOFRAMES|NOSCRIPT|SCRIPT|SELECT|STYLE|TEXTAREA|[a-z]/,u=String.fromCharCode;return p}(); \ No newline at end of file diff --git a/wp-includes/js/utils.js b/wp-includes/js/utils.js index d7d8f01..60c2746 100644 --- a/wp-includes/js/utils.js +++ b/wp-includes/js/utils.js @@ -161,12 +161,12 @@ function setUserSetting( name, value, _del ) { path = userSettings.url, secure = !! userSettings.secure; - name = name.toString().replace( /[^A-Za-z0-9_]/, '' ); + name = name.toString().replace( /[^A-Za-z0-9_-]/g, '' ); if ( typeof value === 'number' ) { value = parseInt( value, 10 ); } else { - value = value.toString().replace( /[^A-Za-z0-9_]/, '' ); + value = value.toString().replace( /[^A-Za-z0-9_-]/g, '' ); } settings = settings || {}; diff --git a/wp-includes/js/utils.min.js b/wp-includes/js/utils.min.js index 4bb7c9a..744c9fa 100644 --- a/wp-includes/js/utils.min.js +++ b/wp-includes/js/utils.min.js @@ -1 +1 @@ -function getUserSetting(a,b){var c=getAllUserSettings();return c.hasOwnProperty(a)?c[a]:"undefined"!=typeof b?b:""}function setUserSetting(a,b,c){if("object"!=typeof userSettings)return!1;var d=userSettings.uid,e=wpCookies.getHash("wp-settings-"+d),f=userSettings.url,g=!!userSettings.secure;return a=a.toString().replace(/[^A-Za-z0-9_]/,""),b="number"==typeof b?parseInt(b,10):b.toString().replace(/[^A-Za-z0-9_]/,""),e=e||{},c?delete e[a]:e[a]=b,wpCookies.setHash("wp-settings-"+d,e,31536e3,f,"",g),wpCookies.set("wp-settings-time-"+d,userSettings.time,31536e3,f,"",g),a}function deleteUserSetting(a){return setUserSetting(a,"",1)}function getAllUserSettings(){return"object"!=typeof userSettings?{}:wpCookies.getHash("wp-settings-"+userSettings.uid)||{}}var wpCookies={each:function(a,b,c){var d,e;if(!a)return 0;if(c=c||a,"undefined"!=typeof a.length){for(d=0,e=a.length;e>d;d++)if(b.call(c,a[d],d,a)===!1)return 0}else for(d in a)if(a.hasOwnProperty(d)&&b.call(c,a[d],d,a)===!1)return 0;return 1},getHash:function(a){var b,c=this.get(a);return c&&this.each(c.split("&"),function(a){a=a.split("="),b=b||{},b[a[0]]=a[1]}),b},setHash:function(a,b,c,d,e,f){var g="";this.each(b,function(a,b){g+=(g?"&":"")+b+"="+a}),this.set(a,g,c,d,e,f)},get:function(a){var b,c,d=document.cookie,e=a+"=";if(d){if(c=d.indexOf("; "+e),-1===c){if(c=d.indexOf(e),0!==c)return null}else c+=2;return b=d.indexOf(";",c),-1===b&&(b=d.length),decodeURIComponent(d.substring(c+e.length,b))}},set:function(a,b,c,d,e,f){var g=new Date;"object"==typeof c&&c.toGMTString?c=c.toGMTString():parseInt(c,10)?(g.setTime(g.getTime()+1e3*parseInt(c,10)),c=g.toGMTString()):c="",document.cookie=a+"="+encodeURIComponent(b)+(c?"; expires="+c:"")+(d?"; path="+d:"")+(e?"; domain="+e:"")+(f?"; secure":"")},remove:function(a,b,c,d){this.set(a,"",-1e3,b,c,d)}}; \ No newline at end of file +function getUserSetting(a,b){var c=getAllUserSettings();return c.hasOwnProperty(a)?c[a]:"undefined"!=typeof b?b:""}function setUserSetting(a,b,c){if("object"!=typeof userSettings)return!1;var d=userSettings.uid,e=wpCookies.getHash("wp-settings-"+d),f=userSettings.url,g=!!userSettings.secure;return a=a.toString().replace(/[^A-Za-z0-9_-]/g,""),b="number"==typeof b?parseInt(b,10):b.toString().replace(/[^A-Za-z0-9_-]/g,""),e=e||{},c?delete e[a]:e[a]=b,wpCookies.setHash("wp-settings-"+d,e,31536e3,f,"",g),wpCookies.set("wp-settings-time-"+d,userSettings.time,31536e3,f,"",g),a}function deleteUserSetting(a){return setUserSetting(a,"",1)}function getAllUserSettings(){return"object"!=typeof userSettings?{}:wpCookies.getHash("wp-settings-"+userSettings.uid)||{}}var wpCookies={each:function(a,b,c){var d,e;if(!a)return 0;if(c=c||a,"undefined"!=typeof a.length){for(d=0,e=a.length;e>d;d++)if(b.call(c,a[d],d,a)===!1)return 0}else for(d in a)if(a.hasOwnProperty(d)&&b.call(c,a[d],d,a)===!1)return 0;return 1},getHash:function(a){var b,c=this.get(a);return c&&this.each(c.split("&"),function(a){a=a.split("="),b=b||{},b[a[0]]=a[1]}),b},setHash:function(a,b,c,d,e,f){var g="";this.each(b,function(a,b){g+=(g?"&":"")+b+"="+a}),this.set(a,g,c,d,e,f)},get:function(a){var b,c,d=document.cookie,e=a+"=";if(d){if(c=d.indexOf("; "+e),-1===c){if(c=d.indexOf(e),0!==c)return null}else c+=2;return b=d.indexOf(";",c),-1===b&&(b=d.length),decodeURIComponent(d.substring(c+e.length,b))}},set:function(a,b,c,d,e,f){var g=new Date;"object"==typeof c&&c.toGMTString?c=c.toGMTString():parseInt(c,10)?(g.setTime(g.getTime()+1e3*parseInt(c,10)),c=g.toGMTString()):c="",document.cookie=a+"="+encodeURIComponent(b)+(c?"; expires="+c:"")+(d?"; path="+d:"")+(e?"; domain="+e:"")+(f?"; secure":"")},remove:function(a,b,c,d){this.set(a,"",-1e3,b,c,d)}}; \ No newline at end of file diff --git a/wp-includes/js/wp-auth-check.js b/wp-includes/js/wp-auth-check.js index 4c0b71d..8b78de9 100644 --- a/wp-includes/js/wp-auth-check.js +++ b/wp-includes/js/wp-auth-check.js @@ -75,6 +75,7 @@ if ( typeof adminpage !== 'undefined' && ( adminpage === 'post-php' || adminpage === 'post-new-php' ) && typeof wp !== 'undefined' && wp.heartbeat ) { + $(document).off( 'heartbeat-tick.wp-auth-check' ); wp.heartbeat.connectNow(); } diff --git a/wp-includes/js/wp-auth-check.min.js b/wp-includes/js/wp-auth-check.min.js index 41a1308..1ac98fd 100644 --- a/wp-includes/js/wp-auth-check.min.js +++ b/wp-includes/js/wp-auth-check.min.js @@ -1 +1 @@ -!function(a){function b(){var b,d=a("#wp-auth-check"),f=a("#wp-auth-check-form"),g=e.find(".wp-auth-fallback-expired"),h=!1;f.length&&(a(window).on("beforeunload.wp-auth-check",function(a){a.originalEvent.returnValue=window.authcheckL10n.beforeunload}),b=a('